From 7cc4a3a704c6defb98fe592e23ce7ade4d58469f Mon Sep 17 00:00:00 2001 From: Ran Vaknin Date: Tue, 5 Nov 2024 15:49:25 -0800 Subject: [PATCH 1/5] fix: handle error message field in structure deserializer --- .../aws/go/codegen/JsonShapeDeserVisitor.java | 20 ++ ...mithy.go.codegen.integration.GoIntegration | 1 + service/ecs/deserializers.go | 234 ++++++++++++++++++ 3 files changed, 255 insertions(+) diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java index 2bba51d5dd8..972ea36e575 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java @@ -39,6 +39,7 @@ import software.amazon.smithy.model.shapes.Shape; import software.amazon.smithy.model.shapes.StructureShape; import software.amazon.smithy.model.shapes.UnionShape; +import software.amazon.smithy.model.traits.ErrorTrait; import software.amazon.smithy.model.traits.JsonNameTrait; import software.amazon.smithy.model.traits.TimestampFormatTrait; import software.amazon.smithy.model.traits.TimestampFormatTrait.Format; @@ -180,8 +181,21 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh }); }); + boolean isErrorStructure = shape.hasTrait(ErrorTrait.class); + if (isErrorStructure) { + writer.write("var errorMessage string"); + } + // Iterate through the decoder. The member visitor will handle popping tokens. writer.openBlock("for key, value := range shape {", "}", () -> { + if (isErrorStructure) { + writer.write("keyLower := strings.ToLower(key)"); + writer.write("if keyLower == \"message\" {"); + writer.write(" errorMessage = value.(string)"); + writer.write(" continue"); + writer.write("}"); + } + writer.openBlock("switch key {", "}", () -> { Set members = new TreeSet<>(shape.members()); for (MemberShape member : members) { @@ -202,6 +216,12 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh }); }); + if (isErrorStructure) { + writer.write("if errorMessage != \"\" {"); + writer.write(" sv.Message = &errorMessage"); + writer.write("}"); + } + writer.write("*v = sv"); writer.write("return nil"); } diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration index 193e594ce79..14a12d710aa 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration +++ b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration @@ -88,3 +88,4 @@ software.amazon.smithy.aws.go.codegen.customization.s3.ExpressUserAgent software.amazon.smithy.aws.go.codegen.customization.BackfillRequiredTrait software.amazon.smithy.aws.go.codegen.customization.DeprecateService software.amazon.smithy.aws.go.codegen.customization.BasicUserAgentFeatures + diff --git a/service/ecs/deserializers.go b/service/ecs/deserializers.go index e776c5736a6..3d06354b187 100644 --- a/service/ecs/deserializers.go +++ b/service/ecs/deserializers.go @@ -8205,7 +8205,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8221,6 +8227,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8443,7 +8452,13 @@ func awsAwsjson11_deserializeDocumentAttributeLimitExceededException(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8459,6 +8474,9 @@ func awsAwsjson11_deserializeDocumentAttributeLimitExceededException(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8630,7 +8648,13 @@ func awsAwsjson11_deserializeDocumentBlockedException(v **types.BlockedException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8646,6 +8670,9 @@ func awsAwsjson11_deserializeDocumentBlockedException(v **types.BlockedException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8890,7 +8917,13 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8906,6 +8939,9 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9130,7 +9166,13 @@ func awsAwsjson11_deserializeDocumentClusterContainsContainerInstancesException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9146,6 +9188,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsContainerInstancesException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9170,7 +9215,13 @@ func awsAwsjson11_deserializeDocumentClusterContainsServicesException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9186,6 +9237,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsServicesException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9210,7 +9264,13 @@ func awsAwsjson11_deserializeDocumentClusterContainsTasksException(v **types.Clu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9226,6 +9286,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsTasksException(v **types.Clu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9250,7 +9313,13 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundException(v **types.ClusterN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9266,6 +9335,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundException(v **types.ClusterN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9483,7 +9555,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9504,6 +9582,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12794,7 +12875,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12810,6 +12897,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12924,7 +13014,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12940,6 +13036,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13498,7 +13597,13 @@ func awsAwsjson11_deserializeDocumentMissingVersionException(v **types.MissingVe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13514,6 +13619,9 @@ func awsAwsjson11_deserializeDocumentMissingVersionException(v **types.MissingVe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13630,7 +13738,13 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFoundException(v **types.Namesp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13646,6 +13760,9 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFoundException(v **types.Namesp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13925,7 +14042,13 @@ func awsAwsjson11_deserializeDocumentNoUpdateAvailableException(v **types.NoUpda sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13941,6 +14064,9 @@ func awsAwsjson11_deserializeDocumentNoUpdateAvailableException(v **types.NoUpda } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14131,7 +14257,13 @@ func awsAwsjson11_deserializeDocumentPlatformTaskDefinitionIncompatibilityExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14147,6 +14279,9 @@ func awsAwsjson11_deserializeDocumentPlatformTaskDefinitionIncompatibilityExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14171,7 +14306,13 @@ func awsAwsjson11_deserializeDocumentPlatformUnknownException(v **types.Platform sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14187,6 +14328,9 @@ func awsAwsjson11_deserializeDocumentPlatformUnknownException(v **types.Platform } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14749,7 +14893,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14765,6 +14915,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14789,7 +14942,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14805,6 +14964,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15217,7 +15379,13 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15233,6 +15401,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16707,7 +16878,13 @@ func awsAwsjson11_deserializeDocumentServiceNotActiveException(v **types.Service sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16723,6 +16900,9 @@ func awsAwsjson11_deserializeDocumentServiceNotActiveException(v **types.Service } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16747,7 +16927,13 @@ func awsAwsjson11_deserializeDocumentServiceNotFoundException(v **types.ServiceN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16763,6 +16949,9 @@ func awsAwsjson11_deserializeDocumentServiceNotFoundException(v **types.ServiceN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17746,7 +17935,13 @@ func awsAwsjson11_deserializeDocumentTargetNotConnectedException(v **types.Targe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17762,6 +17957,9 @@ func awsAwsjson11_deserializeDocumentTargetNotConnectedException(v **types.Targe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17786,7 +17984,13 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17802,6 +18006,9 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18990,7 +19197,13 @@ func awsAwsjson11_deserializeDocumentTaskSetNotFoundException(v **types.TaskSetN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19006,6 +19219,9 @@ func awsAwsjson11_deserializeDocumentTaskSetNotFoundException(v **types.TaskSetN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19313,7 +19529,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19329,6 +19551,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19353,7 +19578,13 @@ func awsAwsjson11_deserializeDocumentUpdateInProgressException(v **types.UpdateI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19369,6 +19600,9 @@ func awsAwsjson11_deserializeDocumentUpdateInProgressException(v **types.UpdateI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } From f01c2846621ed6c90df86c30478160a328d0847d Mon Sep 17 00:00:00 2001 From: Ran Vaknin Date: Tue, 5 Nov 2024 16:13:55 -0800 Subject: [PATCH 2/5] regenerating clients --- .../protocoltest/awsrestjson/deserializers.go | 27 + .../protocoltest/jsonrpc/deserializers.go | 45 + .../protocoltest/jsonrpc10/deserializers.go | 27 + service/accessanalyzer/deserializers.go | 81 + service/account/deserializers.go | 54 + service/acm/deserializers.go | 144 ++ service/acmpca/deserializers.go | 171 ++ service/amp/deserializers.go | 63 + service/amplify/deserializers.go | 63 + service/amplifybackend/deserializers.go | 36 + service/amplifyuibuilder/deserializers.go | 63 + service/apigateway/deserializers.go | 63 + .../apigatewaymanagementapi/deserializers.go | 36 + service/apigatewayv2/deserializers.go | 45 + service/appconfig/deserializers.go | 54 + service/appconfigdata/deserializers.go | 36 + service/appfabric/deserializers.go | 63 + service/appflow/deserializers.go | 90 + service/appintegrations/deserializers.go | 72 + .../applicationautoscaling/deserializers.go | 81 + .../applicationcostprofiler/deserializers.go | 45 + .../deserializers.go | 90 + service/applicationinsights/deserializers.go | 72 + service/applicationsignals/deserializers.go | 54 + service/appmesh/deserializers.go | 90 + service/apprunner/deserializers.go | 45 + service/appstream/deserializers.go | 126 ++ service/appsync/deserializers.go | 117 ++ service/apptest/deserializers.go | 63 + service/arczonalshift/deserializers.go | 54 + service/artifact/deserializers.go | 63 + service/athena/deserializers.go | 54 + service/auditmanager/deserializers.go | 54 + service/autoscalingplans/deserializers.go | 54 + service/b2bi/deserializers.go | 63 + service/backup/deserializers.go | 90 + service/backupgateway/deserializers.go | 54 + service/batch/deserializers.go | 18 + service/bcmdataexports/deserializers.go | 45 + service/bedrock/deserializers.go | 72 + service/bedrockagent/deserializers.go | 63 + service/bedrockagentruntime/deserializers.go | 81 + service/bedrockruntime/deserializers.go | 99 + service/billingconductor/deserializers.go | 63 + service/braket/deserializers.go | 81 + service/budgets/deserializers.go | 99 + service/chatbot/deserializers.go | 279 +++ service/chime/deserializers.go | 99 + service/chimesdkidentity/deserializers.go | 81 + .../chimesdkmediapipelines/deserializers.go | 81 + service/chimesdkmeetings/deserializers.go | 108 ++ service/chimesdkmessaging/deserializers.go | 81 + service/chimesdkvoice/deserializers.go | 108 ++ service/cleanrooms/deserializers.go | 63 + service/cleanroomsml/deserializers.go | 45 + service/cloud9/deserializers.go | 72 + service/cloudcontrol/deserializers.go | 189 ++ service/clouddirectory/deserializers.go | 315 +++ .../cloudfrontkeyvaluestore/deserializers.go | 54 + service/cloudhsm/deserializers.go | 27 + service/cloudhsmv2/deserializers.go | 54 + service/cloudsearchdomain/deserializers.go | 18 + service/cloudtrail/deserializers.go | 747 ++++++++ service/cloudtraildata/deserializers.go | 54 + service/cloudwatchevents/deserializers.go | 99 + service/cloudwatchlogs/deserializers.go | 171 ++ service/codeartifact/deserializers.go | 63 + service/codebuild/deserializers.go | 45 + service/codecatalyst/deserializers.go | 54 + service/codecommit/deserializers.go | 1701 +++++++++++++++++ service/codeconnections/deserializers.go | 153 ++ service/codedeploy/deserializers.go | 990 ++++++++++ service/codeguruprofiler/deserializers.go | 54 + service/codegurureviewer/deserializers.go | 63 + service/codegurusecurity/deserializers.go | 54 + service/codepipeline/deserializers.go | 360 ++++ service/codestarconnections/deserializers.go | 153 ++ .../codestarnotifications/deserializers.go | 72 + service/cognitoidentity/deserializers.go | 99 + .../cognitoidentityprovider/deserializers.go | 378 ++++ service/cognitosync/deserializers.go | 117 ++ service/comprehend/deserializers.go | 144 ++ service/comprehendmedical/deserializers.go | 72 + service/computeoptimizer/deserializers.go | 81 + service/configservice/deserializers.go | 486 +++++ service/connect/deserializers.go | 225 +++ service/connectcampaigns/deserializers.go | 81 + service/connectcases/deserializers.go | 63 + service/connectcontactlens/deserializers.go | 45 + service/connectparticipant/deserializers.go | 63 + service/controlcatalog/deserializers.go | 45 + service/controltower/deserializers.go | 63 + .../deserializers.go | 45 + service/costexplorer/deserializers.go | 117 ++ service/costoptimizationhub/deserializers.go | 45 + service/customerprofiles/deserializers.go | 45 + .../databasemigrationservice/deserializers.go | 234 +++ service/databrew/deserializers.go | 54 + service/dataexchange/deserializers.go | 63 + service/datapipeline/deserializers.go | 45 + service/datasync/deserializers.go | 18 + service/datazone/deserializers.go | 72 + service/dax/deserializers.go | 243 +++ service/deadline/deserializers.go | 63 + service/detective/deserializers.go | 63 + service/devicefarm/deserializers.go | 108 ++ service/devopsguru/deserializers.go | 63 + service/directconnect/deserializers.go | 36 + service/directoryservice/deserializers.go | 333 ++++ service/directoryservicedata/deserializers.go | 63 + service/dlm/deserializers.go | 36 + service/docdbelastic/deserializers.go | 63 + service/drs/deserializers.go | 72 + service/dynamodb/deserializers.go | 297 +++ service/dynamodbstreams/deserializers.go | 45 + service/ebs/deserializers.go | 72 + service/ec2instanceconnect/deserializers.go | 108 ++ service/ecr/deserializers.go | 360 ++++ service/ecrpublic/deserializers.go | 216 +++ service/efs/deserializers.go | 288 +++ service/eks/deserializers.go | 117 ++ service/eksauth/deserializers.go | 81 + service/elasticinference/deserializers.go | 27 + service/elasticsearchservice/deserializers.go | 99 + service/elastictranscoder/deserializers.go | 63 + service/emr/deserializers.go | 27 + service/emrcontainers/deserializers.go | 45 + service/emrserverless/deserializers.go | 45 + service/entityresolution/deserializers.go | 63 + service/eventbridge/deserializers.go | 99 + service/evidently/deserializers.go | 72 + service/finspace/deserializers.go | 90 + service/finspacedata/deserializers.go | 63 + service/firehose/deserializers.go | 72 + service/fis/deserializers.go | 36 + service/fms/deserializers.go | 54 + service/forecast/deserializers.go | 54 + service/forecastquery/deserializers.go | 45 + service/frauddetector/deserializers.go | 63 + service/freetier/deserializers.go | 27 + service/fsx/deserializers.go | 315 +++ service/gamelift/deserializers.go | 144 ++ service/geomaps/deserializers.go | 36 + service/geoplaces/deserializers.go | 36 + service/georoutes/deserializers.go | 36 + service/glacier/deserializers.go | 72 + service/globalaccelerator/deserializers.go | 180 ++ service/glue/deserializers.go | 333 ++++ service/grafana/deserializers.go | 63 + service/greengrass/deserializers.go | 18 + service/greengrassv2/deserializers.go | 72 + service/groundstation/deserializers.go | 36 + service/guardduty/deserializers.go | 45 + service/health/deserializers.go | 27 + service/healthlake/deserializers.go | 54 + service/identitystore/deserializers.go | 63 + service/imagebuilder/deserializers.go | 153 ++ service/inspector/deserializers.go | 99 + service/inspector2/deserializers.go | 72 + service/inspectorscan/deserializers.go | 36 + service/internetmonitor/deserializers.go | 99 + service/iot/deserializers.go | 297 +++ .../iot1clickdevicesservice/deserializers.go | 63 + service/iot1clickprojects/deserializers.go | 45 + service/iotanalytics/deserializers.go | 63 + service/iotdataplane/deserializers.go | 90 + service/iotdeviceadvisor/deserializers.go | 36 + service/iotevents/deserializers.go | 81 + service/ioteventsdata/deserializers.go | 45 + service/iotfleethub/deserializers.go | 54 + service/iotfleetwise/deserializers.go | 90 + service/iotjobsdataplane/deserializers.go | 63 + service/iotsecuretunneling/deserializers.go | 18 + service/iotsitewise/deserializers.go | 126 ++ service/iotthingsgraph/deserializers.go | 63 + service/iottwinmaker/deserializers.go | 99 + service/iotwireless/deserializers.go | 63 + service/ivs/deserializers.go | 90 + service/ivschat/deserializers.go | 72 + service/ivsrealtime/deserializers.go | 63 + service/kafka/deserializers.go | 72 + service/kafkaconnect/deserializers.go | 72 + service/kendra/deserializers.go | 108 ++ service/kendraranking/deserializers.go | 72 + service/keyspaces/deserializers.go | 54 + service/kinesis/deserializers.go | 144 ++ service/kinesisanalytics/deserializers.go | 108 ++ service/kinesisanalyticsv2/deserializers.go | 117 ++ service/kinesisvideo/deserializers.go | 135 ++ .../deserializers.go | 81 + service/kinesisvideomedia/deserializers.go | 54 + .../kinesisvideosignaling/deserializers.go | 54 + .../deserializers.go | 36 + service/kms/deserializers.go | 432 +++++ service/lakeformation/deserializers.go | 162 ++ service/lambda/deserializers.go | 342 ++++ service/launchwizard/deserializers.go | 36 + .../lexmodelbuildingservice/deserializers.go | 72 + service/lexmodelsv2/deserializers.go | 63 + service/lexruntimeservice/deserializers.go | 99 + service/lexruntimev2/deserializers.go | 72 + service/licensemanager/deserializers.go | 153 ++ .../deserializers.go | 36 + .../deserializers.go | 63 + service/lightsail/deserializers.go | 63 + service/location/deserializers.go | 63 + service/lookoutequipment/deserializers.go | 63 + service/lookoutmetrics/deserializers.go | 63 + service/lookoutvision/deserializers.go | 63 + service/m2/deserializers.go | 81 + service/machinelearning/deserializers.go | 72 + service/macie2/deserializers.go | 72 + service/mailmanager/deserializers.go | 54 + service/managedblockchain/deserializers.go | 90 + .../managedblockchainquery/deserializers.go | 54 + service/marketplaceagreement/deserializers.go | 45 + service/marketplacecatalog/deserializers.go | 72 + .../deserializers.go | 9 + .../marketplacedeployment/deserializers.go | 63 + .../deserializers.go | 27 + service/marketplacemetering/deserializers.go | 153 ++ service/marketplacereporting/deserializers.go | 36 + service/mediaconnect/deserializers.go | 108 ++ service/mediaconvert/deserializers.go | 54 + service/medialive/deserializers.go | 81 + service/mediapackage/deserializers.go | 54 + service/mediapackagev2/deserializers.go | 63 + service/mediapackagevod/deserializers.go | 54 + service/mediastore/deserializers.go | 54 + service/mediastoredata/deserializers.go | 36 + service/mediatailor/deserializers.go | 9 + service/medicalimaging/deserializers.go | 63 + service/memorydb/deserializers.go | 477 +++++ service/mgn/deserializers.go | 72 + service/migrationhub/deserializers.go | 90 + service/migrationhubconfig/deserializers.go | 54 + .../migrationhuborchestrator/deserializers.go | 54 + .../deserializers.go | 72 + service/migrationhubstrategy/deserializers.go | 81 + service/mq/deserializers.go | 54 + service/mturk/deserializers.go | 18 + service/mwaa/deserializers.go | 54 + service/neptunedata/deserializers.go | 306 +++ service/neptunegraph/deserializers.go | 72 + service/networkfirewall/deserializers.go | 108 ++ service/networkmanager/deserializers.go | 72 + service/networkmonitor/deserializers.go | 63 + service/oam/deserializers.go | 72 + service/omics/deserializers.go | 90 + service/opensearch/deserializers.go | 117 ++ service/opensearchserverless/deserializers.go | 54 + service/opsworks/deserializers.go | 18 + service/opsworkscm/deserializers.go | 54 + service/organizations/deserializers.go | 423 ++++ service/osis/deserializers.go | 81 + service/outposts/deserializers.go | 54 + service/panorama/deserializers.go | 54 + service/paymentcryptography/deserializers.go | 72 + .../paymentcryptographydata/deserializers.go | 54 + service/pcaconnectorad/deserializers.go | 63 + service/pcaconnectorscep/deserializers.go | 72 + service/pcs/deserializers.go | 63 + service/personalize/deserializers.go | 72 + service/personalizeevents/deserializers.go | 27 + service/personalizeruntime/deserializers.go | 18 + service/pi/deserializers.go | 27 + service/pinpoint/deserializers.go | 72 + service/pinpointemail/deserializers.go | 90 + service/pinpointsmsvoice/deserializers.go | 54 + service/pinpointsmsvoicev2/deserializers.go | 63 + service/pipes/deserializers.go | 54 + service/polly/deserializers.go | 189 ++ service/pricing/deserializers.go | 72 + service/privatenetworks/deserializers.go | 54 + service/proton/deserializers.go | 63 + service/qapps/deserializers.go | 81 + service/qbusiness/deserializers.go | 72 + service/qconnect/deserializers.go | 81 + service/qldb/deserializers.go | 54 + service/qldbsession/deserializers.go | 54 + service/quicksight/deserializers.go | 180 ++ service/ram/deserializers.go | 252 +++ service/rbin/deserializers.go | 45 + service/rdsdata/deserializers.go | 135 ++ service/redshiftdata/deserializers.go | 81 + service/redshiftserverless/deserializers.go | 99 + service/rekognition/deserializers.go | 207 ++ service/repostspace/deserializers.go | 63 + service/resiliencehub/deserializers.go | 63 + service/resourceexplorer2/deserializers.go | 72 + service/resourcegroups/deserializers.go | 63 + .../resourcegroupstaggingapi/deserializers.go | 54 + service/robomaker/deserializers.go | 81 + service/rolesanywhere/deserializers.go | 36 + service/route53domains/deserializers.go | 63 + service/route53profiles/deserializers.go | 90 + .../route53recoverycluster/deserializers.go | 72 + .../deserializers.go | 63 + .../route53recoveryreadiness/deserializers.go | 54 + service/route53resolver/deserializers.go | 153 ++ service/rum/deserializers.go | 63 + service/s3outposts/deserializers.go | 63 + service/sagemaker/deserializers.go | 36 + service/sagemakera2iruntime/deserializers.go | 54 + service/sagemakeredge/deserializers.go | 9 + .../deserializers.go | 45 + service/sagemakergeospatial/deserializers.go | 63 + service/sagemakerruntime/deserializers.go | 72 + service/savingsplans/deserializers.go | 36 + service/scheduler/deserializers.go | 54 + service/schemas/deserializers.go | 90 + service/secretsmanager/deserializers.go | 108 ++ service/securityhub/deserializers.go | 72 + service/securitylake/deserializers.go | 54 + .../deserializers.go | 54 + service/servicecatalog/deserializers.go | 72 + .../deserializers.go | 54 + service/servicediscovery/deserializers.go | 126 ++ service/servicequotas/deserializers.go | 153 ++ service/sesv2/deserializers.go | 117 ++ service/sfn/deserializers.go | 297 +++ service/shield/deserializers.go | 117 ++ service/signer/deserializers.go | 90 + service/simspaceweaver/deserializers.go | 63 + service/sms/deserializers.go | 108 ++ service/snowball/deserializers.go | 99 + service/snowdevicemanagement/deserializers.go | 54 + service/socialmessaging/deserializers.go | 72 + service/sqs/deserializers.go | 252 +++ service/ssm/deserializers.go | 1197 ++++++++++++ service/ssmcontacts/deserializers.go | 72 + service/ssmincidents/deserializers.go | 63 + service/ssmquicksetup/deserializers.go | 54 + service/ssmsap/deserializers.go | 45 + service/sso/deserializers.go | 36 + service/ssoadmin/deserializers.go | 63 + service/ssooidc/deserializers.go | 126 ++ service/storagegateway/deserializers.go | 27 + service/supplychain/deserializers.go | 63 + service/support/deserializers.go | 90 + service/supportapp/deserializers.go | 54 + service/swf/deserializers.go | 99 + service/synthetics/deserializers.go | 90 + service/taxsettings/deserializers.go | 36 + service/textract/deserializers.go | 162 ++ service/timestreaminfluxdb/deserializers.go | 63 + service/timestreamquery/deserializers.go | 81 + service/timestreamwrite/deserializers.go | 81 + service/tnb/deserializers.go | 54 + service/transcribe/deserializers.go | 45 + service/transcribestreaming/deserializers.go | 45 + service/transfer/deserializers.go | 81 + service/translate/deserializers.go | 135 ++ service/trustedadvisor/deserializers.go | 54 + service/verifiedpermissions/deserializers.go | 63 + service/voiceid/deserializers.go | 63 + service/vpclattice/deserializers.go | 63 + service/waf/deserializers.go | 171 ++ service/wafregional/deserializers.go | 180 ++ service/wafv2/deserializers.go | 171 ++ service/wellarchitected/deserializers.go | 63 + service/wisdom/deserializers.go | 72 + service/workdocs/deserializers.go | 225 +++ service/workmail/deserializers.go | 198 ++ service/workmailmessageflow/deserializers.go | 36 + service/workspaces/deserializers.go | 198 ++ service/workspacesthinclient/deserializers.go | 63 + service/workspacesweb/deserializers.go | 72 + service/xray/deserializers.go | 90 + 369 files changed, 37269 insertions(+) diff --git a/internal/protocoltest/awsrestjson/deserializers.go b/internal/protocoltest/awsrestjson/deserializers.go index 8451870ea9a..260307d2269 100644 --- a/internal/protocoltest/awsrestjson/deserializers.go +++ b/internal/protocoltest/awsrestjson/deserializers.go @@ -12792,7 +12792,13 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Header": if value != nil { @@ -12822,6 +12828,9 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13272,13 +13281,22 @@ func awsRestjson1_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13303,7 +13321,13 @@ func awsRestjson1_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13319,6 +13343,9 @@ func awsRestjson1_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/internal/protocoltest/jsonrpc/deserializers.go b/internal/protocoltest/jsonrpc/deserializers.go index 43ed4444b87..b240f607a81 100644 --- a/internal/protocoltest/jsonrpc/deserializers.go +++ b/internal/protocoltest/jsonrpc/deserializers.go @@ -2078,7 +2078,13 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Nested": if err := awsAwsjson11_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { @@ -2099,6 +2105,9 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2202,7 +2211,13 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -2264,6 +2279,9 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2288,13 +2306,22 @@ func awsAwsjson11_deserializeDocumentErrorWithoutMembers(v **types.ErrorWithoutM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2319,13 +2346,22 @@ func awsAwsjson11_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2350,7 +2386,13 @@ func awsAwsjson11_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2366,6 +2408,9 @@ func awsAwsjson11_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/internal/protocoltest/jsonrpc10/deserializers.go b/internal/protocoltest/jsonrpc10/deserializers.go index 1d8db7cdf66..b8e437046d5 100644 --- a/internal/protocoltest/jsonrpc10/deserializers.go +++ b/internal/protocoltest/jsonrpc10/deserializers.go @@ -1678,7 +1678,13 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Nested": if err := awsAwsjson10_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { @@ -1699,6 +1705,9 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1926,13 +1935,22 @@ func awsAwsjson10_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1957,7 +1975,13 @@ func awsAwsjson10_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1973,6 +1997,9 @@ func awsAwsjson10_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/accessanalyzer/deserializers.go b/service/accessanalyzer/deserializers.go index 6aec947f9bc..95eab892082 100644 --- a/service/accessanalyzer/deserializers.go +++ b/service/accessanalyzer/deserializers.go @@ -5838,7 +5838,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5854,6 +5860,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7211,7 +7220,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7245,6 +7260,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8657,7 +8675,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8686,6 +8710,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8741,7 +8768,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8757,6 +8790,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10222,7 +10258,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10256,6 +10298,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10637,7 +10682,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10671,6 +10722,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10985,7 +11039,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11014,6 +11074,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11126,7 +11189,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11142,6 +11211,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11673,7 +11745,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -11703,6 +11781,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/account/deserializers.go b/service/account/deserializers.go index f6a849f50ba..d28bdc14d50 100644 --- a/service/account/deserializers.go +++ b/service/account/deserializers.go @@ -1972,7 +1972,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1988,6 +1994,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2088,7 +2097,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2104,6 +2119,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2267,7 +2285,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2283,6 +2307,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2390,7 +2417,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2406,6 +2439,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2430,7 +2466,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2446,6 +2488,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2470,7 +2515,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -2500,6 +2551,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/acm/deserializers.go b/service/acm/deserializers.go index ae6412b2545..b2a592cf50c 100644 --- a/service/acm/deserializers.go +++ b/service/acm/deserializers.go @@ -2259,7 +2259,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2275,6 +2281,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2875,7 +2884,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2891,6 +2906,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3261,7 +3279,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3277,6 +3301,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3301,7 +3328,13 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3317,6 +3350,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3341,7 +3377,13 @@ func awsAwsjson11_deserializeDocumentInvalidDomainValidationOptionsException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3357,6 +3399,9 @@ func awsAwsjson11_deserializeDocumentInvalidDomainValidationOptionsException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3381,7 +3426,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3397,6 +3448,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3421,7 +3475,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3437,6 +3497,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3461,7 +3524,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3477,6 +3546,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3611,7 +3683,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3627,6 +3705,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3721,7 +3802,13 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3737,6 +3824,9 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3761,7 +3851,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3777,6 +3873,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3801,7 +3900,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3817,6 +3922,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3982,7 +4090,13 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3998,6 +4112,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4022,7 +4139,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4038,6 +4161,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4062,7 +4188,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4078,6 +4210,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4138,7 +4273,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4154,6 +4295,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/acmpca/deserializers.go b/service/acmpca/deserializers.go index 6775f2c70df..5cbeb667ac7 100644 --- a/service/acmpca/deserializers.go +++ b/service/acmpca/deserializers.go @@ -3895,7 +3895,13 @@ func awsAwsjson11_deserializeDocumentCertificateMismatchException(v **types.Cert sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3911,6 +3917,9 @@ func awsAwsjson11_deserializeDocumentCertificateMismatchException(v **types.Cert } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3935,7 +3944,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3951,6 +3966,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4364,7 +4382,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4380,6 +4404,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4404,7 +4431,13 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4420,6 +4453,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4444,7 +4480,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4460,6 +4502,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4484,7 +4529,13 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4500,6 +4551,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4524,7 +4578,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4540,6 +4600,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4564,7 +4627,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4580,6 +4649,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4604,7 +4676,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4620,6 +4698,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4756,7 +4837,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4772,6 +4859,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4796,7 +4886,13 @@ func awsAwsjson11_deserializeDocumentLockoutPreventedException(v **types.Lockout sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4812,6 +4908,9 @@ func awsAwsjson11_deserializeDocumentLockoutPreventedException(v **types.Lockout } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4836,7 +4935,13 @@ func awsAwsjson11_deserializeDocumentMalformedCertificateException(v **types.Mal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4852,6 +4957,9 @@ func awsAwsjson11_deserializeDocumentMalformedCertificateException(v **types.Mal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4876,7 +4984,13 @@ func awsAwsjson11_deserializeDocumentMalformedCSRException(v **types.MalformedCS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4892,6 +5006,9 @@ func awsAwsjson11_deserializeDocumentMalformedCSRException(v **types.MalformedCS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5102,7 +5219,13 @@ func awsAwsjson11_deserializeDocumentPermissionAlreadyExistsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5118,6 +5241,9 @@ func awsAwsjson11_deserializeDocumentPermissionAlreadyExistsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5176,7 +5302,13 @@ func awsAwsjson11_deserializeDocumentRequestAlreadyProcessedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5192,6 +5324,9 @@ func awsAwsjson11_deserializeDocumentRequestAlreadyProcessedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5216,7 +5351,13 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5232,6 +5373,9 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5256,7 +5400,13 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5272,6 +5422,9 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5296,7 +5449,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5312,6 +5471,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5460,7 +5622,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5476,6 +5644,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/amp/deserializers.go b/service/amp/deserializers.go index d44fdd27e72..aae8b8b470e 100644 --- a/service/amp/deserializers.go +++ b/service/amp/deserializers.go @@ -4561,7 +4561,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4577,6 +4583,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4771,7 +4780,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4805,6 +4820,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4919,7 +4937,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4948,6 +4972,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5107,7 +5134,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5141,6 +5174,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5860,7 +5896,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5912,6 +5954,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6048,7 +6093,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6095,6 +6146,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6119,7 +6173,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -6149,6 +6209,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/amplify/deserializers.go b/service/amplify/deserializers.go index 4bd3ffc58fa..6f5f575786c 100644 --- a/service/amplify/deserializers.go +++ b/service/amplify/deserializers.go @@ -7033,7 +7033,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7049,6 +7055,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7619,7 +7628,13 @@ func awsRestjson1_deserializeDocumentDependentServiceFailureException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7635,6 +7650,9 @@ func awsRestjson1_deserializeDocumentDependentServiceFailureException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7883,7 +7901,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7899,6 +7923,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8149,7 +8176,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8165,6 +8198,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8189,7 +8225,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8205,6 +8247,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8303,7 +8348,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -8328,6 +8379,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8735,7 +8789,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8751,6 +8811,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/amplifybackend/deserializers.go b/service/amplifybackend/deserializers.go index dba595054aa..df9fce305dd 100644 --- a/service/amplifybackend/deserializers.go +++ b/service/amplifybackend/deserializers.go @@ -6889,7 +6889,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6905,6 +6911,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7449,7 +7458,13 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7465,6 +7480,9 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7973,7 +7991,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7998,6 +8022,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8207,7 +8234,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "limitType": if value != nil { @@ -8232,6 +8265,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/amplifyuibuilder/deserializers.go b/service/amplifyuibuilder/deserializers.go index 42a9711cb70..557b02d2f1d 100644 --- a/service/amplifyuibuilder/deserializers.go +++ b/service/amplifyuibuilder/deserializers.go @@ -8652,7 +8652,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8668,6 +8674,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8692,7 +8701,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8708,6 +8723,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9126,7 +9144,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9142,6 +9166,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9166,7 +9193,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9182,6 +9215,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9326,7 +9362,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9342,6 +9384,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9888,7 +9933,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9904,6 +9955,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9928,7 +9982,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9944,6 +10004,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/apigateway/deserializers.go b/service/apigateway/deserializers.go index f78b1d2ac72..c6910c61f95 100644 --- a/service/apigateway/deserializers.go +++ b/service/apigateway/deserializers.go @@ -23268,7 +23268,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23284,6 +23290,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23549,7 +23558,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23565,6 +23580,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24360,7 +24378,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24385,6 +24409,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26112,7 +26139,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26128,6 +26161,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26682,7 +26718,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26707,6 +26749,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27027,7 +27072,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27052,6 +27103,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27076,7 +27130,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27092,6 +27152,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/apigatewaymanagementapi/deserializers.go b/service/apigatewaymanagementapi/deserializers.go index c9c94d411b6..9e8b40a4c4f 100644 --- a/service/apigatewaymanagementapi/deserializers.go +++ b/service/apigatewaymanagementapi/deserializers.go @@ -488,13 +488,22 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -519,13 +528,22 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -599,13 +617,22 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -630,7 +657,13 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -646,6 +679,9 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/apigatewayv2/deserializers.go b/service/apigatewayv2/deserializers.go index 2ee0ebe2b1d..d409ab0ea32 100644 --- a/service/apigatewayv2/deserializers.go +++ b/service/apigatewayv2/deserializers.go @@ -13906,7 +13906,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13922,6 +13928,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14387,7 +14396,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14403,6 +14418,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14427,7 +14445,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14443,6 +14467,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15483,7 +15510,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15508,6 +15541,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16386,7 +16422,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "limitType": if value != nil { @@ -16411,6 +16453,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appconfig/deserializers.go b/service/appconfig/deserializers.go index a0515a5bbc7..fb37cb1d4ae 100644 --- a/service/appconfig/deserializers.go +++ b/service/appconfig/deserializers.go @@ -9210,7 +9210,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Details": if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { @@ -9240,6 +9246,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9379,7 +9388,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9395,6 +9410,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10448,7 +10466,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10464,6 +10488,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10810,7 +10837,13 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Limit": if value != nil { @@ -10903,6 +10936,9 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10927,7 +10963,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10952,6 +10994,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10976,7 +11021,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10992,6 +11043,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appconfigdata/deserializers.go b/service/appconfigdata/deserializers.go index 7ba4a570625..5d1859cae2a 100644 --- a/service/appconfigdata/deserializers.go +++ b/service/appconfigdata/deserializers.go @@ -557,7 +557,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Details": if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { @@ -587,6 +593,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -611,7 +620,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -627,6 +642,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -726,7 +744,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -756,6 +780,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -816,7 +843,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -832,6 +865,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appfabric/deserializers.go b/service/appfabric/deserializers.go index b5b171653ac..9c086f09bf6 100644 --- a/service/appfabric/deserializers.go +++ b/service/appfabric/deserializers.go @@ -4154,7 +4154,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4170,6 +4176,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4646,7 +4655,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4680,6 +4695,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5223,7 +5241,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5252,6 +5276,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5316,7 +5343,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5350,6 +5383,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5423,7 +5459,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5475,6 +5517,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5680,7 +5725,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5727,6 +5778,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6017,7 +6071,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -6047,6 +6107,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index 673e6afa4e0..02a1c721ab3 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -4345,7 +4345,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4361,6 +4367,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4768,7 +4777,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4784,6 +4799,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4808,7 +4826,13 @@ func awsRestjson1_deserializeDocumentConnectorAuthenticationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4824,6 +4848,9 @@ func awsRestjson1_deserializeDocumentConnectorAuthenticationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6375,7 +6402,13 @@ func awsRestjson1_deserializeDocumentConnectorServerException(v **types.Connecto sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6391,6 +6424,9 @@ func awsRestjson1_deserializeDocumentConnectorServerException(v **types.Connecto } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8748,7 +8784,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8764,6 +8806,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10216,7 +10261,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10232,6 +10283,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11384,7 +11438,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11400,6 +11460,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12582,7 +12645,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12598,6 +12667,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12913,7 +12985,13 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12929,6 +13007,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13088,7 +13169,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13104,6 +13191,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appintegrations/deserializers.go b/service/appintegrations/deserializers.go index bbda280e5c4..14bb3ced787 100644 --- a/service/appintegrations/deserializers.go +++ b/service/appintegrations/deserializers.go @@ -3902,7 +3902,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3918,6 +3924,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4478,7 +4487,13 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4494,6 +4509,9 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5026,7 +5044,13 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5042,6 +5066,9 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5066,7 +5093,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5082,6 +5115,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5366,7 +5402,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5382,6 +5424,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5406,7 +5451,13 @@ func awsRestjson1_deserializeDocumentResourceQuotaExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5422,6 +5473,9 @@ func awsRestjson1_deserializeDocumentResourceQuotaExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5623,7 +5677,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5639,6 +5699,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5663,7 +5726,13 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5679,6 +5748,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/applicationautoscaling/deserializers.go b/service/applicationautoscaling/deserializers.go index 1de6fd049ce..503a767cae9 100644 --- a/service/applicationautoscaling/deserializers.go +++ b/service/applicationautoscaling/deserializers.go @@ -2002,7 +2002,13 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2018,6 +2024,9 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2119,7 +2128,13 @@ func awsAwsjson11_deserializeDocumentFailedResourceAccessException(v **types.Fai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2135,6 +2150,9 @@ func awsAwsjson11_deserializeDocumentFailedResourceAccessException(v **types.Fai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2159,7 +2177,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2175,6 +2199,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2199,7 +2226,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2215,6 +2248,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2239,7 +2275,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2255,6 +2297,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2475,7 +2520,13 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2491,6 +2542,9 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2564,7 +2618,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2589,6 +2649,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4068,7 +4131,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4093,6 +4162,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4117,7 +4189,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4133,6 +4211,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/applicationcostprofiler/deserializers.go b/service/applicationcostprofiler/deserializers.go index 592ce44c2df..d8bdac8f498 100644 --- a/service/applicationcostprofiler/deserializers.go +++ b/service/applicationcostprofiler/deserializers.go @@ -1291,7 +1291,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1307,6 +1313,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1331,7 +1340,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1347,6 +1362,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1558,7 +1576,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1574,6 +1598,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1598,7 +1625,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1614,6 +1647,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1638,7 +1674,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1654,6 +1696,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/applicationdiscoveryservice/deserializers.go b/service/applicationdiscoveryservice/deserializers.go index 4c8c68a7a58..c99c79253b7 100644 --- a/service/applicationdiscoveryservice/deserializers.go +++ b/service/applicationdiscoveryservice/deserializers.go @@ -4214,7 +4214,13 @@ func awsAwsjson11_deserializeDocumentAuthorizationErrorException(v **types.Autho sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4230,6 +4236,9 @@ func awsAwsjson11_deserializeDocumentAuthorizationErrorException(v **types.Autho } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4769,7 +4778,13 @@ func awsAwsjson11_deserializeDocumentConflictErrorException(v **types.ConflictEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4785,6 +4800,9 @@ func awsAwsjson11_deserializeDocumentConflictErrorException(v **types.ConflictEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5862,7 +5880,13 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5878,6 +5902,9 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6121,7 +6148,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6137,6 +6170,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6161,7 +6197,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6177,6 +6219,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6201,7 +6246,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6217,6 +6268,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6359,7 +6413,13 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6375,6 +6435,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6399,7 +6462,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6415,6 +6484,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6439,7 +6511,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6455,6 +6533,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6515,7 +6596,13 @@ func awsAwsjson11_deserializeDocumentServerInternalErrorException(v **types.Serv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6531,6 +6618,9 @@ func awsAwsjson11_deserializeDocumentServerInternalErrorException(v **types.Serv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/applicationinsights/deserializers.go b/service/applicationinsights/deserializers.go index d5a6ee03792..61e68bec5f4 100644 --- a/service/applicationinsights/deserializers.go +++ b/service/applicationinsights/deserializers.go @@ -4215,7 +4215,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4231,6 +4237,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4543,7 +4552,13 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4559,6 +4574,9 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4797,7 +4815,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4813,6 +4837,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5780,7 +5807,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5796,6 +5829,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5856,7 +5892,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5872,6 +5914,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5979,7 +6024,13 @@ func awsAwsjson11_deserializeDocumentTagsAlreadyExistException(v **types.TagsAlr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5995,6 +6046,9 @@ func awsAwsjson11_deserializeDocumentTagsAlreadyExistException(v **types.TagsAlr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6019,7 +6073,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6044,6 +6104,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6068,7 +6131,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6084,6 +6153,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/applicationsignals/deserializers.go b/service/applicationsignals/deserializers.go index 86dcfb6aa72..f7af3efa337 100644 --- a/service/applicationsignals/deserializers.go +++ b/service/applicationsignals/deserializers.go @@ -2590,7 +2590,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2606,6 +2612,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2803,7 +2812,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2819,6 +2834,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3647,7 +3665,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3681,6 +3705,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4742,7 +4769,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4758,6 +4791,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4945,7 +4981,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4961,6 +5003,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4985,7 +5030,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5001,6 +5052,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appmesh/deserializers.go b/service/appmesh/deserializers.go index 0c07d3a9d44..9792bbb2498 100644 --- a/service/appmesh/deserializers.go +++ b/service/appmesh/deserializers.go @@ -7098,7 +7098,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7114,6 +7120,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7315,7 +7324,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7331,6 +7346,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7551,7 +7569,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7567,6 +7591,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10047,7 +10074,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10063,6 +10096,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10170,7 +10206,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10186,6 +10228,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11170,7 +11215,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11186,6 +11237,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11410,7 +11464,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11426,6 +11486,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11953,7 +12016,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11969,6 +12038,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12599,7 +12671,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12615,6 +12693,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12639,7 +12720,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12655,6 +12742,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/apprunner/deserializers.go b/service/apprunner/deserializers.go index 07ed3cb9c2c..86bc7afd226 100644 --- a/service/apprunner/deserializers.go +++ b/service/apprunner/deserializers.go @@ -5954,7 +5954,13 @@ func awsAwsjson10_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5970,6 +5976,9 @@ func awsAwsjson10_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5994,7 +6003,13 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6010,6 +6025,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6034,7 +6052,13 @@ func awsAwsjson10_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6050,6 +6074,9 @@ func awsAwsjson10_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6486,7 +6513,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6502,6 +6535,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6842,7 +6878,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6858,6 +6900,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index 97ca38ac4f0..370ecf5f7a4 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -11012,7 +11012,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11028,6 +11034,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11456,7 +11465,13 @@ func awsAwsjson11_deserializeDocumentEntitlementAlreadyExistsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11472,6 +11487,9 @@ func awsAwsjson11_deserializeDocumentEntitlementAlreadyExistsException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11613,7 +11631,13 @@ func awsAwsjson11_deserializeDocumentEntitlementNotFoundException(v **types.Enti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11629,6 +11653,9 @@ func awsAwsjson11_deserializeDocumentEntitlementNotFoundException(v **types.Enti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12726,7 +12753,13 @@ func awsAwsjson11_deserializeDocumentIncompatibleImageException(v **types.Incomp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12742,6 +12775,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleImageException(v **types.Incomp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12766,7 +12802,13 @@ func awsAwsjson11_deserializeDocumentInvalidAccountStatusException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12782,6 +12824,9 @@ func awsAwsjson11_deserializeDocumentInvalidAccountStatusException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12806,7 +12851,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12822,6 +12873,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12846,7 +12900,13 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12862,6 +12922,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12969,7 +13032,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12985,6 +13054,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13094,7 +13166,13 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13110,6 +13188,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13206,7 +13287,13 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceededException(v **types.Req sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13222,6 +13309,9 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceededException(v **types.Req } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13246,7 +13336,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13262,6 +13358,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13385,7 +13484,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13401,6 +13506,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13425,7 +13533,13 @@ func awsAwsjson11_deserializeDocumentResourceNotAvailableException(v **types.Res sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13441,6 +13555,9 @@ func awsAwsjson11_deserializeDocumentResourceNotAvailableException(v **types.Res } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13465,7 +13582,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13481,6 +13604,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/appsync/deserializers.go b/service/appsync/deserializers.go index f82894cef2a..dfdcaa33f32 100644 --- a/service/appsync/deserializers.go +++ b/service/appsync/deserializers.go @@ -11889,7 +11889,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11905,6 +11911,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12374,7 +12383,13 @@ func awsRestjson1_deserializeDocumentApiKeyLimitExceededException(v **types.ApiK sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12390,6 +12405,9 @@ func awsRestjson1_deserializeDocumentApiKeyLimitExceededException(v **types.ApiK } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12448,7 +12466,13 @@ func awsRestjson1_deserializeDocumentApiKeyValidityOutOfBoundsException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12464,6 +12488,9 @@ func awsRestjson1_deserializeDocumentApiKeyValidityOutOfBoundsException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12488,7 +12515,13 @@ func awsRestjson1_deserializeDocumentApiLimitExceededException(v **types.ApiLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12504,6 +12537,9 @@ func awsRestjson1_deserializeDocumentApiLimitExceededException(v **types.ApiLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12904,7 +12940,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "detail": if err := awsRestjson1_deserializeDocumentBadRequestDetail(&sv.Detail, value); err != nil { @@ -12934,6 +12976,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13465,7 +13510,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13481,6 +13532,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13505,7 +13559,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13521,6 +13581,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15214,7 +15277,13 @@ func awsRestjson1_deserializeDocumentGraphQLSchemaException(v **types.GraphQLSch sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15230,6 +15299,9 @@ func awsRestjson1_deserializeDocumentGraphQLSchemaException(v **types.GraphQLSch } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15299,7 +15371,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15315,6 +15393,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15481,7 +15562,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15497,6 +15584,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15651,7 +15741,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15667,6 +15763,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16151,7 +16250,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16167,6 +16272,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16692,7 +16800,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16708,6 +16822,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/apptest/deserializers.go b/service/apptest/deserializers.go index 6010b355229..160d9feaf4c 100644 --- a/service/apptest/deserializers.go +++ b/service/apptest/deserializers.go @@ -4576,7 +4576,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4592,6 +4598,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5435,7 +5444,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5469,6 +5484,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6107,7 +6125,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6136,6 +6160,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7446,7 +7473,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7480,6 +7513,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7662,7 +7698,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7714,6 +7756,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9357,7 +9402,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9404,6 +9455,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9624,7 +9678,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -9654,6 +9714,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/arczonalshift/deserializers.go b/service/arczonalshift/deserializers.go index b3d30eca921..fbb1c92f24b 100644 --- a/service/arczonalshift/deserializers.go +++ b/service/arczonalshift/deserializers.go @@ -2783,7 +2783,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2799,6 +2805,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3206,7 +3215,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3240,6 +3255,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3347,7 +3365,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3363,6 +3387,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3559,7 +3586,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3575,6 +3608,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3599,7 +3635,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3615,6 +3657,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3639,7 +3684,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3664,6 +3715,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/artifact/deserializers.go b/service/artifact/deserializers.go index ca123154bb0..02f120c3931 100644 --- a/service/artifact/deserializers.go +++ b/service/artifact/deserializers.go @@ -1382,7 +1382,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1398,6 +1404,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1462,7 +1471,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1496,6 +1511,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1520,7 +1538,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1549,6 +1573,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2024,7 +2051,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2058,6 +2091,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2082,7 +2118,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2134,6 +2176,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2158,7 +2203,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2205,6 +2256,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2229,7 +2283,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -2259,6 +2319,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index a4964865846..055e46f4b85 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -9978,7 +9978,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9994,6 +10000,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10018,7 +10027,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "AthenaErrorCode": if value != nil { @@ -10043,6 +10058,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10067,7 +10085,13 @@ func awsAwsjson11_deserializeDocumentMetadataException(v **types.MetadataExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10083,6 +10107,9 @@ func awsAwsjson11_deserializeDocumentMetadataException(v **types.MetadataExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11736,7 +11763,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11761,6 +11794,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12120,7 +12156,13 @@ func awsAwsjson11_deserializeDocumentSessionAlreadyExistsException(v **types.Ses sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12136,6 +12178,9 @@ func awsAwsjson11_deserializeDocumentSessionAlreadyExistsException(v **types.Ses } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12775,7 +12820,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12800,6 +12851,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/auditmanager/deserializers.go b/service/auditmanager/deserializers.go index 270d402782a..d7b9754b6c0 100644 --- a/service/auditmanager/deserializers.go +++ b/service/auditmanager/deserializers.go @@ -9825,7 +9825,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9841,6 +9847,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14535,7 +14544,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14551,6 +14566,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14905,7 +14923,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14939,6 +14963,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15222,7 +15249,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15238,6 +15271,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15430,7 +15466,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15446,6 +15488,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15555,7 +15600,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -15585,6 +15636,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/autoscalingplans/deserializers.go b/service/autoscalingplans/deserializers.go index 8bad5885e15..60ed7c7922b 100644 --- a/service/autoscalingplans/deserializers.go +++ b/service/autoscalingplans/deserializers.go @@ -1019,7 +1019,13 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1035,6 +1041,9 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1318,7 +1327,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1334,6 +1349,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1358,7 +1376,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1374,6 +1398,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1398,7 +1425,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1414,6 +1447,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1521,7 +1557,13 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1537,6 +1579,9 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2498,7 +2543,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2514,6 +2565,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/b2bi/deserializers.go b/service/b2bi/deserializers.go index 74fee532002..49deb5e0293 100644 --- a/service/b2bi/deserializers.go +++ b/service/b2bi/deserializers.go @@ -3766,7 +3766,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3782,6 +3788,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4000,7 +4009,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4016,6 +4031,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4263,7 +4281,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4292,6 +4316,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4793,7 +4820,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4809,6 +4842,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5010,7 +5046,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5062,6 +5104,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5169,7 +5214,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5198,6 +5249,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5392,7 +5446,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5408,6 +5468,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/backup/deserializers.go b/service/backup/deserializers.go index 1a491328d60..19617102be5 100644 --- a/service/backup/deserializers.go +++ b/service/backup/deserializers.go @@ -16075,7 +16075,13 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Arn": if value != nil { @@ -16136,6 +16142,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17927,7 +17936,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17970,6 +17985,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18737,7 +18755,13 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -18780,6 +18804,9 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19090,7 +19117,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19133,6 +19166,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19157,7 +19193,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19200,6 +19242,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19224,7 +19269,13 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19267,6 +19318,9 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19582,7 +19636,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19625,6 +19685,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19719,7 +19782,13 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19762,6 +19831,9 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21177,7 +21249,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -21220,6 +21298,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22529,7 +22610,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -22572,6 +22659,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/backupgateway/deserializers.go b/service/backupgateway/deserializers.go index 686cb2d069c..344eb54010e 100644 --- a/service/backupgateway/deserializers.go +++ b/service/backupgateway/deserializers.go @@ -3283,7 +3283,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -3308,6 +3314,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3467,7 +3476,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -3492,6 +3507,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4015,7 +4033,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -4040,6 +4064,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4147,7 +4174,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -4172,6 +4205,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4279,7 +4315,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -4304,6 +4346,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4328,7 +4373,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -4353,6 +4404,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/batch/deserializers.go b/service/batch/deserializers.go index 4a6e97cfe94..c787b703c5b 100644 --- a/service/batch/deserializers.go +++ b/service/batch/deserializers.go @@ -4063,7 +4063,13 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4079,6 +4085,9 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10290,7 +10299,13 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10306,6 +10321,9 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/bcmdataexports/deserializers.go b/service/bcmdataexports/deserializers.go index 241d77d3620..e617e819dad 100644 --- a/service/bcmdataexports/deserializers.go +++ b/service/bcmdataexports/deserializers.go @@ -2280,7 +2280,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2296,6 +2302,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2360,7 +2369,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2394,6 +2409,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2631,7 +2649,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2683,6 +2707,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2962,7 +2989,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2996,6 +3029,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3020,7 +3056,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -3050,6 +3092,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/bedrock/deserializers.go b/service/bedrock/deserializers.go index 68388449ade..537d48a28b4 100644 --- a/service/bedrock/deserializers.go +++ b/service/bedrock/deserializers.go @@ -8790,7 +8790,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8806,6 +8812,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9095,7 +9104,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9111,6 +9126,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11864,7 +11882,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11880,6 +11904,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13237,7 +13264,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13253,6 +13286,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13402,7 +13438,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13418,6 +13460,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13561,7 +13606,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13577,6 +13628,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13601,7 +13655,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13626,6 +13686,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13791,7 +13854,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13807,6 +13876,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/bedrockagent/deserializers.go b/service/bedrockagent/deserializers.go index 85b19dbfe17..a849a5e7f37 100644 --- a/service/bedrockagent/deserializers.go +++ b/service/bedrockagent/deserializers.go @@ -11689,7 +11689,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11705,6 +11711,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13649,7 +13658,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13665,6 +13680,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16671,7 +16689,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16687,6 +16711,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19163,7 +19190,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19179,6 +19212,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19817,7 +19853,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19833,6 +19875,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20349,7 +20394,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20365,6 +20416,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20580,7 +20634,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -20601,6 +20661,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/bedrockagentruntime/deserializers.go b/service/bedrockagentruntime/deserializers.go index 01264bf46ac..c586ed71ab4 100644 --- a/service/bedrockagentruntime/deserializers.go +++ b/service/bedrockagentruntime/deserializers.go @@ -1574,7 +1574,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1590,6 +1596,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2025,7 +2034,13 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2050,6 +2065,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2257,7 +2275,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2273,6 +2297,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2331,7 +2358,13 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2356,6 +2389,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3712,7 +3748,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3728,6 +3770,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5093,7 +5138,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5109,6 +5160,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5605,7 +5659,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5621,6 +5681,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5783,7 +5846,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5799,6 +5868,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6026,7 +6098,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6042,6 +6120,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/bedrockruntime/deserializers.go b/service/bedrockruntime/deserializers.go index 8bd68281fe1..67a0a44fc92 100644 --- a/service/bedrockruntime/deserializers.go +++ b/service/bedrockruntime/deserializers.go @@ -1191,7 +1191,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1207,6 +1213,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1231,7 +1240,13 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1269,6 +1284,9 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1293,7 +1311,13 @@ func awsRestjson1_deserializeDocumentModelTimeoutException(v **types.ModelTimeou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1309,6 +1333,9 @@ func awsRestjson1_deserializeDocumentModelTimeoutException(v **types.ModelTimeou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1377,7 +1404,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1393,6 +1426,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1417,7 +1453,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1433,6 +1475,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1457,7 +1502,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1473,6 +1524,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4260,7 +4314,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4276,6 +4336,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4973,7 +5036,13 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5011,6 +5080,9 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5035,7 +5107,13 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5051,6 +5129,9 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5075,7 +5156,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5091,6 +5178,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5115,7 +5205,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5131,6 +5227,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/billingconductor/deserializers.go b/service/billingconductor/deserializers.go index 4673f51bf4f..99a3d3e8e67 100644 --- a/service/billingconductor/deserializers.go +++ b/service/billingconductor/deserializers.go @@ -6062,7 +6062,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6078,6 +6084,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6865,7 +6874,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6908,6 +6923,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7426,7 +7444,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7455,6 +7479,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8347,7 +8374,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8381,6 +8414,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8405,7 +8441,13 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "LimitCode": if value != nil { @@ -8457,6 +8499,9 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8517,7 +8562,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8546,6 +8597,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8722,7 +8776,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -8752,6 +8812,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/braket/deserializers.go b/service/braket/deserializers.go index bf28f153245..60ec752a69a 100644 --- a/service/braket/deserializers.go +++ b/service/braket/deserializers.go @@ -2759,7 +2759,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2775,6 +2781,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2923,7 +2932,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2939,6 +2954,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3079,7 +3097,13 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3095,6 +3119,9 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3211,7 +3238,13 @@ func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceReti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3227,6 +3260,9 @@ func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceReti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3609,7 +3645,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3625,6 +3667,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4253,7 +4298,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4269,6 +4320,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4391,7 +4445,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4407,6 +4467,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4467,7 +4530,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4483,6 +4552,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4507,7 +4579,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4523,6 +4601,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/budgets/deserializers.go b/service/budgets/deserializers.go index 4cd9fcbc2cb..8e79f7719c6 100644 --- a/service/budgets/deserializers.go +++ b/service/budgets/deserializers.go @@ -3714,7 +3714,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3730,6 +3736,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4761,7 +4770,13 @@ func awsAwsjson11_deserializeDocumentCreationLimitExceededException(v **types.Cr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4777,6 +4792,9 @@ func awsAwsjson11_deserializeDocumentCreationLimitExceededException(v **types.Cr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4883,7 +4901,13 @@ func awsAwsjson11_deserializeDocumentDuplicateRecordException(v **types.Duplicat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4899,6 +4923,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRecordException(v **types.Duplicat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4923,7 +4950,13 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4939,6 +4972,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5147,7 +5183,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5163,6 +5205,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5187,7 +5232,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5203,6 +5254,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5227,7 +5281,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5243,6 +5303,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5267,7 +5330,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5283,6 +5352,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5477,7 +5549,13 @@ func awsAwsjson11_deserializeDocumentResourceLockedException(v **types.ResourceL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5493,6 +5571,9 @@ func awsAwsjson11_deserializeDocumentResourceLockedException(v **types.ResourceL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5681,7 +5762,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5697,6 +5784,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5943,7 +6033,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5959,6 +6055,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chatbot/deserializers.go b/service/chatbot/deserializers.go index c3be23b26ae..1f07237ab23 100644 --- a/service/chatbot/deserializers.go +++ b/service/chatbot/deserializers.go @@ -5087,7 +5087,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5103,6 +5109,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5127,7 +5136,13 @@ func awsRestjson1_deserializeDocumentCreateChimeWebhookConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5143,6 +5158,9 @@ func awsRestjson1_deserializeDocumentCreateChimeWebhookConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5167,7 +5185,13 @@ func awsRestjson1_deserializeDocumentCreateSlackChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5183,6 +5207,9 @@ func awsRestjson1_deserializeDocumentCreateSlackChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5207,7 +5234,13 @@ func awsRestjson1_deserializeDocumentCreateTeamsChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5223,6 +5256,9 @@ func awsRestjson1_deserializeDocumentCreateTeamsChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5247,7 +5283,13 @@ func awsRestjson1_deserializeDocumentDeleteChimeWebhookConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5263,6 +5305,9 @@ func awsRestjson1_deserializeDocumentDeleteChimeWebhookConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5287,7 +5332,13 @@ func awsRestjson1_deserializeDocumentDeleteMicrosoftTeamsUserIdentityException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5303,6 +5354,9 @@ func awsRestjson1_deserializeDocumentDeleteMicrosoftTeamsUserIdentityException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5327,7 +5381,13 @@ func awsRestjson1_deserializeDocumentDeleteSlackChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5343,6 +5403,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5367,7 +5430,13 @@ func awsRestjson1_deserializeDocumentDeleteSlackUserIdentityException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5383,6 +5452,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackUserIdentityException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5407,7 +5479,13 @@ func awsRestjson1_deserializeDocumentDeleteSlackWorkspaceAuthorizationFault(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5423,6 +5501,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackWorkspaceAuthorizationFault(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5447,7 +5528,13 @@ func awsRestjson1_deserializeDocumentDeleteTeamsChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5463,6 +5550,9 @@ func awsRestjson1_deserializeDocumentDeleteTeamsChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5487,7 +5577,13 @@ func awsRestjson1_deserializeDocumentDeleteTeamsConfiguredTeamException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5503,6 +5599,9 @@ func awsRestjson1_deserializeDocumentDeleteTeamsConfiguredTeamException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5527,7 +5626,13 @@ func awsRestjson1_deserializeDocumentDescribeChimeWebhookConfigurationsException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5543,6 +5648,9 @@ func awsRestjson1_deserializeDocumentDescribeChimeWebhookConfigurationsException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5567,7 +5675,13 @@ func awsRestjson1_deserializeDocumentDescribeSlackChannelConfigurationsException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5583,6 +5697,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackChannelConfigurationsException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5607,7 +5724,13 @@ func awsRestjson1_deserializeDocumentDescribeSlackUserIdentitiesException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5623,6 +5746,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackUserIdentitiesException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5647,7 +5773,13 @@ func awsRestjson1_deserializeDocumentDescribeSlackWorkspacesException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5663,6 +5795,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackWorkspacesException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5687,7 +5822,13 @@ func awsRestjson1_deserializeDocumentGetAccountPreferencesException(v **types.Ge sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5703,6 +5844,9 @@ func awsRestjson1_deserializeDocumentGetAccountPreferencesException(v **types.Ge } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5727,7 +5871,13 @@ func awsRestjson1_deserializeDocumentGetTeamsChannelConfigurationException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5743,6 +5893,9 @@ func awsRestjson1_deserializeDocumentGetTeamsChannelConfigurationException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5803,7 +5956,13 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5819,6 +5978,9 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5843,7 +6005,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5859,6 +6027,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5883,7 +6054,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5899,6 +6076,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5923,7 +6103,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5939,6 +6125,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5963,7 +6152,13 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsConfiguredTeamsException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5979,6 +6174,9 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsConfiguredTeamsException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6003,7 +6201,13 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsUserIdentitiesException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6019,6 +6223,9 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsUserIdentitiesException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6043,7 +6250,13 @@ func awsRestjson1_deserializeDocumentListTeamsChannelConfigurationsException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6059,6 +6272,9 @@ func awsRestjson1_deserializeDocumentListTeamsChannelConfigurationsException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6083,7 +6299,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6099,6 +6321,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6123,7 +6348,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6139,6 +6370,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7022,7 +7256,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7038,6 +7278,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7062,7 +7305,13 @@ func awsRestjson1_deserializeDocumentUpdateAccountPreferencesException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7078,6 +7327,9 @@ func awsRestjson1_deserializeDocumentUpdateAccountPreferencesException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7102,7 +7354,13 @@ func awsRestjson1_deserializeDocumentUpdateChimeWebhookConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7118,6 +7376,9 @@ func awsRestjson1_deserializeDocumentUpdateChimeWebhookConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7142,7 +7403,13 @@ func awsRestjson1_deserializeDocumentUpdateSlackChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7158,6 +7425,9 @@ func awsRestjson1_deserializeDocumentUpdateSlackChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7182,7 +7452,13 @@ func awsRestjson1_deserializeDocumentUpdateTeamsChannelConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7198,6 +7474,9 @@ func awsRestjson1_deserializeDocumentUpdateTeamsChannelConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chime/deserializers.go b/service/chime/deserializers.go index 2f9900147bf..bbde7caa609 100644 --- a/service/chime/deserializers.go +++ b/service/chime/deserializers.go @@ -30609,7 +30609,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -30634,6 +30640,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31903,7 +31912,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -31928,6 +31943,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33759,7 +33777,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -33784,6 +33808,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34217,7 +34244,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -34242,6 +34275,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35142,7 +35178,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -35167,6 +35209,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36474,7 +36519,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -36499,6 +36550,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36922,7 +36976,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -36947,6 +37007,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36971,7 +37034,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -36996,6 +37065,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -38078,7 +38150,13 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -38103,6 +38181,9 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -38127,7 +38208,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -38152,6 +38239,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -38176,7 +38266,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -38201,6 +38297,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chimesdkidentity/deserializers.go b/service/chimesdkidentity/deserializers.go index ca18643f612..792c3aa2fef 100644 --- a/service/chimesdkidentity/deserializers.go +++ b/service/chimesdkidentity/deserializers.go @@ -6199,7 +6199,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6224,6 +6230,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6328,7 +6337,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6353,6 +6368,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6528,7 +6546,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6553,6 +6577,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6747,7 +6774,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6772,6 +6805,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6796,7 +6832,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6821,6 +6863,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6845,7 +6890,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6870,6 +6921,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6894,7 +6948,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6919,6 +6979,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7026,7 +7089,13 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -7051,6 +7120,9 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7075,7 +7147,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -7100,6 +7178,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chimesdkmediapipelines/deserializers.go b/service/chimesdkmediapipelines/deserializers.go index a4c071642fe..93eda972a20 100644 --- a/service/chimesdkmediapipelines/deserializers.go +++ b/service/chimesdkmediapipelines/deserializers.go @@ -5794,7 +5794,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -5828,6 +5834,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6363,7 +6372,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6397,6 +6412,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6586,7 +6604,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6620,6 +6644,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9055,7 +9082,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -9089,6 +9122,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9428,7 +9464,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -9462,6 +9504,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9727,7 +9772,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -9761,6 +9812,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9785,7 +9839,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -9819,6 +9879,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10254,7 +10317,13 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10288,6 +10357,9 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10415,7 +10487,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10449,6 +10527,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chimesdkmeetings/deserializers.go b/service/chimesdkmeetings/deserializers.go index ab381113f98..01da6760039 100644 --- a/service/chimesdkmeetings/deserializers.go +++ b/service/chimesdkmeetings/deserializers.go @@ -3108,7 +3108,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3142,6 +3148,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3200,7 +3209,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3234,6 +3249,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3356,7 +3374,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3390,6 +3414,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3414,7 +3441,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3448,6 +3481,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3726,7 +3762,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3760,6 +3802,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3784,7 +3829,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3827,6 +3878,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3851,7 +3905,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3885,6 +3945,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3909,7 +3972,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3952,6 +4021,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4095,7 +4167,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4129,6 +4207,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4153,7 +4234,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4196,6 +4283,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4220,7 +4310,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4254,6 +4350,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4278,7 +4377,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4312,6 +4417,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chimesdkmessaging/deserializers.go b/service/chimesdkmessaging/deserializers.go index 15ea9862fa6..e843cde66d6 100644 --- a/service/chimesdkmessaging/deserializers.go +++ b/service/chimesdkmessaging/deserializers.go @@ -8766,7 +8766,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8791,6 +8797,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10572,7 +10581,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10597,6 +10612,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10744,7 +10762,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10769,6 +10793,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11072,7 +11099,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11097,6 +11130,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11307,7 +11343,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11332,6 +11374,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11356,7 +11401,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11381,6 +11432,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11405,7 +11459,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11430,6 +11490,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11781,7 +11844,13 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11806,6 +11875,9 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11830,7 +11902,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -11855,6 +11933,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/chimesdkvoice/deserializers.go b/service/chimesdkvoice/deserializers.go index c864e48a836..ea7e91dda0c 100644 --- a/service/chimesdkvoice/deserializers.go +++ b/service/chimesdkvoice/deserializers.go @@ -15350,7 +15350,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15375,6 +15381,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15556,7 +15565,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15581,6 +15596,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15863,7 +15881,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15888,6 +15912,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16076,7 +16103,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16101,6 +16134,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16174,7 +16210,13 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16199,6 +16241,9 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16321,7 +16366,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16346,6 +16397,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17680,7 +17734,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17705,6 +17765,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17805,7 +17868,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17830,6 +17899,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17854,7 +17926,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17879,6 +17957,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19112,7 +19193,13 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19137,6 +19224,9 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19161,7 +19251,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19186,6 +19282,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19210,7 +19309,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19235,6 +19340,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cleanrooms/deserializers.go b/service/cleanrooms/deserializers.go index d85f920bb7d..c1d23d41c52 100644 --- a/service/cleanrooms/deserializers.go +++ b/service/cleanrooms/deserializers.go @@ -12763,7 +12763,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12788,6 +12794,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18125,7 +18134,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18168,6 +18183,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20050,7 +20068,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20066,6 +20090,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22561,7 +22588,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22595,6 +22628,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23291,7 +23327,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23350,6 +23392,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23450,7 +23495,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23466,6 +23517,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23490,7 +23544,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -23520,6 +23580,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cleanroomsml/deserializers.go b/service/cleanroomsml/deserializers.go index beb48d05fe1..6adfe99f83c 100644 --- a/service/cleanroomsml/deserializers.go +++ b/service/cleanroomsml/deserializers.go @@ -4246,7 +4246,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4262,6 +4268,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5283,7 +5292,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5299,6 +5314,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5801,7 +5819,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5817,6 +5841,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5881,7 +5908,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5897,6 +5930,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6133,7 +6169,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6149,6 +6191,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloud9/deserializers.go b/service/cloud9/deserializers.go index 7ab40f37450..46178df9080 100644 --- a/service/cloud9/deserializers.go +++ b/service/cloud9/deserializers.go @@ -1976,7 +1976,13 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2014,6 +2020,9 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2038,7 +2047,13 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2076,6 +2091,9 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2100,7 +2118,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2138,6 +2162,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2515,7 +2542,13 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2553,6 +2586,9 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2577,7 +2613,13 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2615,6 +2657,9 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2639,7 +2684,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2677,6 +2728,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2701,7 +2755,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2739,6 +2799,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2846,7 +2909,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "className": if value != nil { @@ -2884,6 +2953,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudcontrol/deserializers.go b/service/cloudcontrol/deserializers.go index a6522b5f8fe..76a01f37dbb 100644 --- a/service/cloudcontrol/deserializers.go +++ b/service/cloudcontrol/deserializers.go @@ -1930,7 +1930,13 @@ func awsAwsjson10_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1946,6 +1952,9 @@ func awsAwsjson10_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1970,7 +1979,13 @@ func awsAwsjson10_deserializeDocumentClientTokenConflictException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1986,6 +2001,9 @@ func awsAwsjson10_deserializeDocumentClientTokenConflictException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2010,7 +2028,13 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2026,6 +2050,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2050,7 +2077,13 @@ func awsAwsjson10_deserializeDocumentConcurrentOperationException(v **types.Conc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2066,6 +2099,9 @@ func awsAwsjson10_deserializeDocumentConcurrentOperationException(v **types.Conc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2090,7 +2126,13 @@ func awsAwsjson10_deserializeDocumentGeneralServiceException(v **types.GeneralSe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2106,6 +2148,9 @@ func awsAwsjson10_deserializeDocumentGeneralServiceException(v **types.GeneralSe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2130,7 +2175,13 @@ func awsAwsjson10_deserializeDocumentHandlerFailureException(v **types.HandlerFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2146,6 +2197,9 @@ func awsAwsjson10_deserializeDocumentHandlerFailureException(v **types.HandlerFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2170,7 +2224,13 @@ func awsAwsjson10_deserializeDocumentHandlerInternalFailureException(v **types.H sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2186,6 +2246,9 @@ func awsAwsjson10_deserializeDocumentHandlerInternalFailureException(v **types.H } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2210,7 +2273,13 @@ func awsAwsjson10_deserializeDocumentInvalidCredentialsException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2226,6 +2295,9 @@ func awsAwsjson10_deserializeDocumentInvalidCredentialsException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2250,7 +2322,13 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2266,6 +2344,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2290,7 +2371,13 @@ func awsAwsjson10_deserializeDocumentNetworkFailureException(v **types.NetworkFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2306,6 +2393,9 @@ func awsAwsjson10_deserializeDocumentNetworkFailureException(v **types.NetworkFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2330,7 +2420,13 @@ func awsAwsjson10_deserializeDocumentNotStabilizedException(v **types.NotStabili sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2346,6 +2442,9 @@ func awsAwsjson10_deserializeDocumentNotStabilizedException(v **types.NotStabili } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2370,7 +2469,13 @@ func awsAwsjson10_deserializeDocumentNotUpdatableException(v **types.NotUpdatabl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2386,6 +2491,9 @@ func awsAwsjson10_deserializeDocumentNotUpdatableException(v **types.NotUpdatabl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2410,7 +2518,13 @@ func awsAwsjson10_deserializeDocumentPrivateTypeException(v **types.PrivateTypeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2426,6 +2540,9 @@ func awsAwsjson10_deserializeDocumentPrivateTypeException(v **types.PrivateTypeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2585,7 +2702,13 @@ func awsAwsjson10_deserializeDocumentRequestTokenNotFoundException(v **types.Req sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2601,6 +2724,9 @@ func awsAwsjson10_deserializeDocumentRequestTokenNotFoundException(v **types.Req } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2625,7 +2751,13 @@ func awsAwsjson10_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2641,6 +2773,9 @@ func awsAwsjson10_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2748,7 +2883,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2764,6 +2905,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2822,7 +2966,13 @@ func awsAwsjson10_deserializeDocumentServiceInternalErrorException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2838,6 +2988,9 @@ func awsAwsjson10_deserializeDocumentServiceInternalErrorException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2862,7 +3015,13 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2878,6 +3037,9 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2902,7 +3064,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2918,6 +3086,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2942,7 +3113,13 @@ func awsAwsjson10_deserializeDocumentTypeNotFoundException(v **types.TypeNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2958,6 +3135,9 @@ func awsAwsjson10_deserializeDocumentTypeNotFoundException(v **types.TypeNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2982,7 +3162,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedActionException(v **types.Unsupp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2998,6 +3184,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedActionException(v **types.Unsupp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/clouddirectory/deserializers.go b/service/clouddirectory/deserializers.go index f9a20002a83..ab482b0ad73 100644 --- a/service/clouddirectory/deserializers.go +++ b/service/clouddirectory/deserializers.go @@ -12281,7 +12281,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12297,6 +12303,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13975,7 +13984,13 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Index": if value != nil { @@ -14013,6 +14028,9 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14177,7 +14195,13 @@ func awsRestjson1_deserializeDocumentCannotListParentOfRootException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14193,6 +14217,9 @@ func awsRestjson1_deserializeDocumentCannotListParentOfRootException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14291,7 +14318,13 @@ func awsRestjson1_deserializeDocumentDirectoryAlreadyExistsException(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14307,6 +14340,9 @@ func awsRestjson1_deserializeDocumentDirectoryAlreadyExistsException(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14331,7 +14367,13 @@ func awsRestjson1_deserializeDocumentDirectoryDeletedException(v **types.Directo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14347,6 +14389,9 @@ func awsRestjson1_deserializeDocumentDirectoryDeletedException(v **types.Directo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14405,7 +14450,13 @@ func awsRestjson1_deserializeDocumentDirectoryNotDisabledException(v **types.Dir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14421,6 +14472,9 @@ func awsRestjson1_deserializeDocumentDirectoryNotDisabledException(v **types.Dir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14445,7 +14499,13 @@ func awsRestjson1_deserializeDocumentDirectoryNotEnabledException(v **types.Dire sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14461,6 +14521,9 @@ func awsRestjson1_deserializeDocumentDirectoryNotEnabledException(v **types.Dire } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14543,7 +14606,13 @@ func awsRestjson1_deserializeDocumentFacetAlreadyExistsException(v **types.Facet sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14559,6 +14628,9 @@ func awsRestjson1_deserializeDocumentFacetAlreadyExistsException(v **types.Facet } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14784,7 +14856,13 @@ func awsRestjson1_deserializeDocumentFacetInUseException(v **types.FacetInUseExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14800,6 +14878,9 @@ func awsRestjson1_deserializeDocumentFacetInUseException(v **types.FacetInUseExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14860,7 +14941,13 @@ func awsRestjson1_deserializeDocumentFacetNotFoundException(v **types.FacetNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14876,6 +14963,9 @@ func awsRestjson1_deserializeDocumentFacetNotFoundException(v **types.FacetNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14900,7 +14990,13 @@ func awsRestjson1_deserializeDocumentFacetValidationException(v **types.FacetVal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14916,6 +15012,9 @@ func awsRestjson1_deserializeDocumentFacetValidationException(v **types.FacetVal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14940,7 +15039,13 @@ func awsRestjson1_deserializeDocumentIncompatibleSchemaException(v **types.Incom sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14956,6 +15061,9 @@ func awsRestjson1_deserializeDocumentIncompatibleSchemaException(v **types.Incom } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15059,7 +15167,13 @@ func awsRestjson1_deserializeDocumentIndexedAttributeMissingException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15075,6 +15189,9 @@ func awsRestjson1_deserializeDocumentIndexedAttributeMissingException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15099,7 +15216,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15115,6 +15238,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15139,7 +15265,13 @@ func awsRestjson1_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15155,6 +15287,9 @@ func awsRestjson1_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15179,7 +15314,13 @@ func awsRestjson1_deserializeDocumentInvalidAttachmentException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15195,6 +15336,9 @@ func awsRestjson1_deserializeDocumentInvalidAttachmentException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15219,7 +15363,13 @@ func awsRestjson1_deserializeDocumentInvalidFacetUpdateException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15235,6 +15385,9 @@ func awsRestjson1_deserializeDocumentInvalidFacetUpdateException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15259,7 +15412,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15275,6 +15434,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15299,7 +15461,13 @@ func awsRestjson1_deserializeDocumentInvalidRuleException(v **types.InvalidRuleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15315,6 +15483,9 @@ func awsRestjson1_deserializeDocumentInvalidRuleException(v **types.InvalidRuleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15339,7 +15510,13 @@ func awsRestjson1_deserializeDocumentInvalidSchemaDocException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15355,6 +15532,9 @@ func awsRestjson1_deserializeDocumentInvalidSchemaDocException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15379,7 +15559,13 @@ func awsRestjson1_deserializeDocumentInvalidTaggingRequestException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15395,6 +15581,9 @@ func awsRestjson1_deserializeDocumentInvalidTaggingRequestException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15419,7 +15608,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15435,6 +15630,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15459,7 +15657,13 @@ func awsRestjson1_deserializeDocumentLinkNameAlreadyInUseException(v **types.Lin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15475,6 +15679,9 @@ func awsRestjson1_deserializeDocumentLinkNameAlreadyInUseException(v **types.Lin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15535,7 +15742,13 @@ func awsRestjson1_deserializeDocumentNotIndexException(v **types.NotIndexExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15551,6 +15764,9 @@ func awsRestjson1_deserializeDocumentNotIndexException(v **types.NotIndexExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15575,7 +15791,13 @@ func awsRestjson1_deserializeDocumentNotNodeException(v **types.NotNodeException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15591,6 +15813,9 @@ func awsRestjson1_deserializeDocumentNotNodeException(v **types.NotNodeException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15615,7 +15840,13 @@ func awsRestjson1_deserializeDocumentNotPolicyException(v **types.NotPolicyExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15631,6 +15862,9 @@ func awsRestjson1_deserializeDocumentNotPolicyException(v **types.NotPolicyExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15655,7 +15889,13 @@ func awsRestjson1_deserializeDocumentObjectAlreadyDetachedException(v **types.Ob sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15671,6 +15911,9 @@ func awsRestjson1_deserializeDocumentObjectAlreadyDetachedException(v **types.Ob } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15850,7 +16093,13 @@ func awsRestjson1_deserializeDocumentObjectNotDetachedException(v **types.Object sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15866,6 +16115,9 @@ func awsRestjson1_deserializeDocumentObjectNotDetachedException(v **types.Object } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16180,7 +16432,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16196,6 +16454,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16220,7 +16481,13 @@ func awsRestjson1_deserializeDocumentRetryableConflictException(v **types.Retrya sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16236,6 +16503,9 @@ func awsRestjson1_deserializeDocumentRetryableConflictException(v **types.Retrya } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16376,7 +16646,13 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyExistsException(v **types.Sche sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16392,6 +16668,9 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyExistsException(v **types.Sche } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16416,7 +16695,13 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyPublishedException(v **types.S sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16432,6 +16717,9 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyPublishedException(v **types.S } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16539,7 +16827,13 @@ func awsRestjson1_deserializeDocumentStillContainsLinksException(v **types.Still sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16555,6 +16849,9 @@ func awsRestjson1_deserializeDocumentStillContainsLinksException(v **types.Still } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17044,7 +17341,13 @@ func awsRestjson1_deserializeDocumentUnsupportedIndexTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17060,6 +17363,9 @@ func awsRestjson1_deserializeDocumentUnsupportedIndexTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17084,7 +17390,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17100,6 +17412,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudfrontkeyvaluestore/deserializers.go b/service/cloudfrontkeyvaluestore/deserializers.go index fd5f060561d..3684351b67e 100644 --- a/service/cloudfrontkeyvaluestore/deserializers.go +++ b/service/cloudfrontkeyvaluestore/deserializers.go @@ -1511,7 +1511,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1527,6 +1533,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1551,7 +1560,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1567,6 +1582,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1591,7 +1609,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1607,6 +1631,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1714,7 +1741,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1730,6 +1763,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1754,7 +1790,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1770,6 +1812,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1794,7 +1839,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1810,6 +1861,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudhsm/deserializers.go b/service/cloudhsm/deserializers.go index dc5d1ab7410..421b3b60b02 100644 --- a/service/cloudhsm/deserializers.go +++ b/service/cloudhsm/deserializers.go @@ -2560,7 +2560,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2585,6 +2591,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2609,7 +2618,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2634,6 +2649,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2730,7 +2748,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2755,6 +2779,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudhsmv2/deserializers.go b/service/cloudhsmv2/deserializers.go index 515f311db80..853f865105e 100644 --- a/service/cloudhsmv2/deserializers.go +++ b/service/cloudhsmv2/deserializers.go @@ -2827,7 +2827,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmAccessDeniedException(v **types.Clo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2843,6 +2849,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmAccessDeniedException(v **types.Clo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2867,7 +2876,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalFailureException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2883,6 +2898,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalFailureException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2907,7 +2925,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmInvalidRequestException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2923,6 +2947,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInvalidRequestException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2947,7 +2974,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmResourceNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2963,6 +2996,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmResourceNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2987,7 +3023,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3003,6 +3045,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3027,7 +3072,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmTagException(v **types.CloudHsmTagE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3043,6 +3094,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmTagException(v **types.CloudHsmTagE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudsearchdomain/deserializers.go b/service/cloudsearchdomain/deserializers.go index 10b43afea13..7cf190485e6 100644 --- a/service/cloudsearchdomain/deserializers.go +++ b/service/cloudsearchdomain/deserializers.go @@ -756,7 +756,13 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -781,6 +787,9 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1402,7 +1411,13 @@ func awsRestjson1_deserializeDocumentSearchException(v **types.SearchException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1418,6 +1433,9 @@ func awsRestjson1_deserializeDocumentSearchException(v **types.SearchException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudtrail/deserializers.go b/service/cloudtrail/deserializers.go index 543c2c5e28f..0a646f93244 100644 --- a/service/cloudtrail/deserializers.go +++ b/service/cloudtrail/deserializers.go @@ -9745,7 +9745,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9761,6 +9767,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9785,7 +9794,13 @@ func awsAwsjson11_deserializeDocumentAccountHasOngoingImportException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9801,6 +9816,9 @@ func awsAwsjson11_deserializeDocumentAccountHasOngoingImportException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9825,7 +9843,13 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9841,6 +9865,9 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9865,7 +9892,13 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9881,6 +9914,9 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9905,7 +9941,13 @@ func awsAwsjson11_deserializeDocumentAccountRegisteredException(v **types.Accoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9921,6 +9963,9 @@ func awsAwsjson11_deserializeDocumentAccountRegisteredException(v **types.Accoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10128,7 +10173,13 @@ func awsAwsjson11_deserializeDocumentCannotDelegateManagementAccountException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10144,6 +10195,9 @@ func awsAwsjson11_deserializeDocumentCannotDelegateManagementAccountException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10217,7 +10271,13 @@ func awsAwsjson11_deserializeDocumentChannelAlreadyExistsException(v **types.Cha sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10233,6 +10293,9 @@ func awsAwsjson11_deserializeDocumentChannelAlreadyExistsException(v **types.Cha } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10257,7 +10320,13 @@ func awsAwsjson11_deserializeDocumentChannelARNInvalidException(v **types.Channe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10273,6 +10342,9 @@ func awsAwsjson11_deserializeDocumentChannelARNInvalidException(v **types.Channe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10297,7 +10369,13 @@ func awsAwsjson11_deserializeDocumentChannelExistsForEDSException(v **types.Chan sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10313,6 +10391,9 @@ func awsAwsjson11_deserializeDocumentChannelExistsForEDSException(v **types.Chan } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10337,7 +10418,13 @@ func awsAwsjson11_deserializeDocumentChannelMaxLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10353,6 +10440,9 @@ func awsAwsjson11_deserializeDocumentChannelMaxLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10377,7 +10467,13 @@ func awsAwsjson11_deserializeDocumentChannelNotFoundException(v **types.ChannelN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10393,6 +10489,9 @@ func awsAwsjson11_deserializeDocumentChannelNotFoundException(v **types.ChannelN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10451,7 +10550,13 @@ func awsAwsjson11_deserializeDocumentCloudTrailAccessNotEnabledException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10467,6 +10572,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailAccessNotEnabledException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10491,7 +10599,13 @@ func awsAwsjson11_deserializeDocumentCloudTrailARNInvalidException(v **types.Clo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10507,6 +10621,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailARNInvalidException(v **types.Clo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10531,7 +10648,13 @@ func awsAwsjson11_deserializeDocumentCloudTrailInvalidClientTokenIdException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10547,6 +10670,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailInvalidClientTokenIdException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10571,7 +10697,13 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsDeliveryUnavailableException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10587,6 +10719,9 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsDeliveryUnavailableException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10611,7 +10746,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10627,6 +10768,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10651,7 +10795,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10667,6 +10817,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10806,7 +10959,13 @@ func awsAwsjson11_deserializeDocumentDelegatedAdminAccountLimitExceededException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10822,6 +10981,9 @@ func awsAwsjson11_deserializeDocumentDelegatedAdminAccountLimitExceededException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11179,7 +11341,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreAlreadyExistsException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11195,6 +11363,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreAlreadyExistsException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11219,7 +11390,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreARNInvalidException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11235,6 +11412,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreARNInvalidException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11259,7 +11439,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreFederationEnabledException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11275,6 +11461,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreFederationEnabledException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11299,7 +11488,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreHasOngoingImportException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11315,6 +11510,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreHasOngoingImportException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11339,7 +11537,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreMaxLimitExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11355,6 +11559,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreMaxLimitExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11379,7 +11586,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreNotFoundException(v **types.E sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11395,6 +11608,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreNotFoundException(v **types.E } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11453,7 +11669,13 @@ func awsAwsjson11_deserializeDocumentEventDataStoreTerminationProtectedException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11469,6 +11691,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreTerminationProtectedException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11809,7 +12034,13 @@ func awsAwsjson11_deserializeDocumentImportNotFoundException(v **types.ImportNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11825,6 +12056,9 @@ func awsAwsjson11_deserializeDocumentImportNotFoundException(v **types.ImportNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12101,7 +12335,13 @@ func awsAwsjson11_deserializeDocumentInactiveEventDataStoreException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12117,6 +12357,9 @@ func awsAwsjson11_deserializeDocumentInactiveEventDataStoreException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12141,7 +12384,13 @@ func awsAwsjson11_deserializeDocumentInactiveQueryException(v **types.InactiveQu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12157,6 +12406,9 @@ func awsAwsjson11_deserializeDocumentInactiveQueryException(v **types.InactiveQu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12271,7 +12523,13 @@ func awsAwsjson11_deserializeDocumentInsightNotEnabledException(v **types.Insigh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12287,6 +12545,9 @@ func awsAwsjson11_deserializeDocumentInsightNotEnabledException(v **types.Insigh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12446,7 +12707,13 @@ func awsAwsjson11_deserializeDocumentInsufficientDependencyServiceAccessPermissi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12462,6 +12729,9 @@ func awsAwsjson11_deserializeDocumentInsufficientDependencyServiceAccessPermissi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12486,7 +12756,13 @@ func awsAwsjson11_deserializeDocumentInsufficientEncryptionPolicyException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12502,6 +12778,9 @@ func awsAwsjson11_deserializeDocumentInsufficientEncryptionPolicyException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12526,7 +12805,13 @@ func awsAwsjson11_deserializeDocumentInsufficientS3BucketPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12542,6 +12827,9 @@ func awsAwsjson11_deserializeDocumentInsufficientS3BucketPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12566,7 +12854,13 @@ func awsAwsjson11_deserializeDocumentInsufficientSnsTopicPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12582,6 +12876,9 @@ func awsAwsjson11_deserializeDocumentInsufficientSnsTopicPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12606,7 +12903,13 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsLogGroupArnException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12622,6 +12925,9 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsLogGroupArnException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12646,7 +12952,13 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsRoleArnException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12662,6 +12974,9 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsRoleArnException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12686,7 +13001,13 @@ func awsAwsjson11_deserializeDocumentInvalidDateRangeException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12702,6 +13023,9 @@ func awsAwsjson11_deserializeDocumentInvalidDateRangeException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12726,7 +13050,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventCategoryException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12742,6 +13072,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventCategoryException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12766,7 +13099,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreCategoryException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12782,6 +13121,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreCategoryException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12806,7 +13148,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreStatusException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12822,6 +13170,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreStatusException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12846,7 +13197,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventSelectorsException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12862,6 +13219,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventSelectorsException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12886,7 +13246,13 @@ func awsAwsjson11_deserializeDocumentInvalidHomeRegionException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12902,6 +13268,9 @@ func awsAwsjson11_deserializeDocumentInvalidHomeRegionException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12926,7 +13295,13 @@ func awsAwsjson11_deserializeDocumentInvalidImportSourceException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12942,6 +13317,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportSourceException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12966,7 +13344,13 @@ func awsAwsjson11_deserializeDocumentInvalidInsightSelectorsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12982,6 +13366,9 @@ func awsAwsjson11_deserializeDocumentInvalidInsightSelectorsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13006,7 +13393,13 @@ func awsAwsjson11_deserializeDocumentInvalidKmsKeyIdException(v **types.InvalidK sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13022,6 +13415,9 @@ func awsAwsjson11_deserializeDocumentInvalidKmsKeyIdException(v **types.InvalidK } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13046,7 +13442,13 @@ func awsAwsjson11_deserializeDocumentInvalidLookupAttributesException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13062,6 +13464,9 @@ func awsAwsjson11_deserializeDocumentInvalidLookupAttributesException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13086,7 +13491,13 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13102,6 +13513,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13126,7 +13540,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13142,6 +13562,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13166,7 +13589,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13182,6 +13611,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13206,7 +13638,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13222,6 +13660,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13246,7 +13687,13 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatementException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13262,6 +13709,9 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatementException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13286,7 +13736,13 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatusException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13302,6 +13758,9 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatusException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13326,7 +13785,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3BucketNameException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13342,6 +13807,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3BucketNameException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13366,7 +13834,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3PrefixException(v **types.InvalidS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13382,6 +13856,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3PrefixException(v **types.InvalidS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13406,7 +13883,13 @@ func awsAwsjson11_deserializeDocumentInvalidSnsTopicNameException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13422,6 +13905,9 @@ func awsAwsjson11_deserializeDocumentInvalidSnsTopicNameException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13446,7 +13932,13 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13462,6 +13954,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13486,7 +13981,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13502,6 +14003,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13526,7 +14030,13 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13542,6 +14052,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13566,7 +14079,13 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13582,6 +14101,9 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13606,7 +14128,13 @@ func awsAwsjson11_deserializeDocumentInvalidTrailNameException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13622,6 +14150,9 @@ func awsAwsjson11_deserializeDocumentInvalidTrailNameException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13646,7 +14177,13 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13662,6 +14199,9 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13686,7 +14226,13 @@ func awsAwsjson11_deserializeDocumentKmsKeyDisabledException(v **types.KmsKeyDis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13702,6 +14248,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyDisabledException(v **types.KmsKeyDis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13726,7 +14275,13 @@ func awsAwsjson11_deserializeDocumentKmsKeyNotFoundException(v **types.KmsKeyNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13742,6 +14297,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyNotFoundException(v **types.KmsKeyNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13766,7 +14324,13 @@ func awsAwsjson11_deserializeDocumentMaxConcurrentQueriesException(v **types.Max sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13782,6 +14346,9 @@ func awsAwsjson11_deserializeDocumentMaxConcurrentQueriesException(v **types.Max } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13806,7 +14373,13 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfTrailsExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13822,6 +14395,9 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfTrailsExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13846,7 +14422,13 @@ func awsAwsjson11_deserializeDocumentNoManagementAccountSLRExistsException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13862,6 +14444,9 @@ func awsAwsjson11_deserializeDocumentNoManagementAccountSLRExistsException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13886,7 +14471,13 @@ func awsAwsjson11_deserializeDocumentNotOrganizationManagementAccountException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13902,6 +14493,9 @@ func awsAwsjson11_deserializeDocumentNotOrganizationManagementAccountException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13926,7 +14520,13 @@ func awsAwsjson11_deserializeDocumentNotOrganizationMasterAccountException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13942,6 +14542,9 @@ func awsAwsjson11_deserializeDocumentNotOrganizationMasterAccountException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13966,7 +14569,13 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13982,6 +14591,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14042,7 +14654,13 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14058,6 +14676,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14082,7 +14703,13 @@ func awsAwsjson11_deserializeDocumentOrganizationsNotInUseException(v **types.Or sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14098,6 +14725,9 @@ func awsAwsjson11_deserializeDocumentOrganizationsNotInUseException(v **types.Or } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14423,7 +15053,13 @@ func awsAwsjson11_deserializeDocumentQueryIdNotFoundException(v **types.QueryIdN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14439,6 +15075,9 @@ func awsAwsjson11_deserializeDocumentQueryIdNotFoundException(v **types.QueryIdN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14781,7 +15420,13 @@ func awsAwsjson11_deserializeDocumentResourceARNNotValidException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14797,6 +15442,9 @@ func awsAwsjson11_deserializeDocumentResourceARNNotValidException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14855,7 +15503,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14871,6 +15525,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14895,7 +15552,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14911,6 +15574,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14935,7 +15601,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotValidException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14951,6 +15623,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotValidException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15054,7 +15729,13 @@ func awsAwsjson11_deserializeDocumentResourceTypeNotSupportedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15070,6 +15751,9 @@ func awsAwsjson11_deserializeDocumentResourceTypeNotSupportedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15094,7 +15778,13 @@ func awsAwsjson11_deserializeDocumentS3BucketDoesNotExistException(v **types.S3B sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15110,6 +15800,9 @@ func awsAwsjson11_deserializeDocumentS3BucketDoesNotExistException(v **types.S3B } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15286,7 +15979,13 @@ func awsAwsjson11_deserializeDocumentTagsLimitExceededException(v **types.TagsLi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15302,6 +16001,9 @@ func awsAwsjson11_deserializeDocumentTagsLimitExceededException(v **types.TagsLi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15360,7 +16062,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15376,6 +16084,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15618,7 +16329,13 @@ func awsAwsjson11_deserializeDocumentTrailAlreadyExistsException(v **types.Trail sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15634,6 +16351,9 @@ func awsAwsjson11_deserializeDocumentTrailAlreadyExistsException(v **types.Trail } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15750,7 +16470,13 @@ func awsAwsjson11_deserializeDocumentTrailNotFoundException(v **types.TrailNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15766,6 +16492,9 @@ func awsAwsjson11_deserializeDocumentTrailNotFoundException(v **types.TrailNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15790,7 +16519,13 @@ func awsAwsjson11_deserializeDocumentTrailNotProvidedException(v **types.TrailNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15806,6 +16541,9 @@ func awsAwsjson11_deserializeDocumentTrailNotProvidedException(v **types.TrailNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15864,7 +16602,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15880,6 +16624,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudtraildata/deserializers.go b/service/cloudtraildata/deserializers.go index c1c172d4271..febe2a980f7 100644 --- a/service/cloudtraildata/deserializers.go +++ b/service/cloudtraildata/deserializers.go @@ -520,7 +520,13 @@ func awsRestjson1_deserializeDocumentChannelInsufficientPermission(v **types.Cha sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -536,6 +542,9 @@ func awsRestjson1_deserializeDocumentChannelInsufficientPermission(v **types.Cha } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -560,7 +569,13 @@ func awsRestjson1_deserializeDocumentChannelNotFound(v **types.ChannelNotFound, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -576,6 +591,9 @@ func awsRestjson1_deserializeDocumentChannelNotFound(v **types.ChannelNotFound, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -600,7 +618,13 @@ func awsRestjson1_deserializeDocumentChannelUnsupportedSchema(v **types.ChannelU sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -616,6 +640,9 @@ func awsRestjson1_deserializeDocumentChannelUnsupportedSchema(v **types.ChannelU } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -640,7 +667,13 @@ func awsRestjson1_deserializeDocumentDuplicatedAuditEventId(v **types.Duplicated sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -656,6 +689,9 @@ func awsRestjson1_deserializeDocumentDuplicatedAuditEventId(v **types.Duplicated } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -680,7 +716,13 @@ func awsRestjson1_deserializeDocumentInvalidChannelARN(v **types.InvalidChannelA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -696,6 +738,9 @@ func awsRestjson1_deserializeDocumentInvalidChannelARN(v **types.InvalidChannelA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -812,7 +857,13 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -828,6 +879,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudwatchevents/deserializers.go b/service/cloudwatchevents/deserializers.go index 4628d6e56ea..3ab0a89d95f 100644 --- a/service/cloudwatchevents/deserializers.go +++ b/service/cloudwatchevents/deserializers.go @@ -6851,7 +6851,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6867,6 +6873,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8089,7 +8098,13 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8105,6 +8120,9 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8174,7 +8192,13 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8190,6 +8214,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8214,7 +8241,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8230,6 +8263,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8254,7 +8290,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8270,6 +8312,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8334,7 +8379,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8350,6 +8401,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8374,7 +8428,13 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8390,6 +8450,9 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8450,7 +8513,13 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8466,6 +8535,9 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8890,7 +8962,13 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8906,6 +8984,9 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9681,7 +9762,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9697,6 +9784,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9721,7 +9811,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9737,6 +9833,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cloudwatchlogs/deserializers.go b/service/cloudwatchlogs/deserializers.go index 0905c23b190..308ddeb50c9 100644 --- a/service/cloudwatchlogs/deserializers.go +++ b/service/cloudwatchlogs/deserializers.go @@ -9025,7 +9025,13 @@ func awsAwsjson11_deserializeDocumentSessionStreamingException(v **types.Session sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9041,6 +9047,9 @@ func awsAwsjson11_deserializeDocumentSessionStreamingException(v **types.Session } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9065,7 +9074,13 @@ func awsAwsjson11_deserializeDocumentSessionTimeoutException(v **types.SessionTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9081,6 +9096,9 @@ func awsAwsjson11_deserializeDocumentSessionTimeoutException(v **types.SessionTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9803,7 +9821,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9819,6 +9843,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10629,7 +10656,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10645,6 +10678,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10669,7 +10705,13 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "expectedSequenceToken": if value != nil { @@ -10694,6 +10736,9 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11795,7 +11840,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11811,6 +11862,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11835,7 +11889,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11851,6 +11911,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11875,7 +11938,13 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "expectedSequenceToken": if value != nil { @@ -11900,6 +11969,9 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11924,7 +11996,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11940,6 +12018,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12579,7 +12660,13 @@ func awsAwsjson11_deserializeDocumentMalformedQueryException(v **types.Malformed sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12600,6 +12687,9 @@ func awsAwsjson11_deserializeDocumentMalformedQueryException(v **types.Malformed } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12966,7 +13056,13 @@ func awsAwsjson11_deserializeDocumentOperationAbortedException(v **types.Operati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12982,6 +13078,9 @@ func awsAwsjson11_deserializeDocumentOperationAbortedException(v **types.Operati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13978,7 +14077,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13994,6 +14099,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14054,7 +14162,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14070,6 +14184,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14405,7 +14522,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14421,6 +14544,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14445,7 +14571,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14461,6 +14593,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14653,7 +14788,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14669,6 +14810,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14693,7 +14837,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14718,6 +14868,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14742,7 +14895,13 @@ func awsAwsjson11_deserializeDocumentUnrecognizedClientException(v **types.Unrec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14758,6 +14917,9 @@ func awsAwsjson11_deserializeDocumentUnrecognizedClientException(v **types.Unrec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14782,7 +14944,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14798,6 +14966,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codeartifact/deserializers.go b/service/codeartifact/deserializers.go index f519edb57ba..d3239a0b487 100644 --- a/service/codeartifact/deserializers.go +++ b/service/codeartifact/deserializers.go @@ -8513,7 +8513,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8529,6 +8535,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8782,7 +8791,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8816,6 +8831,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9142,7 +9160,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9158,6 +9182,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10869,7 +10896,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10903,6 +10936,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10985,7 +11021,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11019,6 +11061,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11210,7 +11255,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11239,6 +11290,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11337,7 +11391,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11362,6 +11422,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codebuild/deserializers.go b/service/codebuild/deserializers.go index 03fdd0f1f2e..4adf14db56d 100644 --- a/service/codebuild/deserializers.go +++ b/service/codebuild/deserializers.go @@ -5883,7 +5883,13 @@ func awsAwsjson11_deserializeDocumentAccountLimitExceededException(v **types.Acc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5899,6 +5905,9 @@ func awsAwsjson11_deserializeDocumentAccountLimitExceededException(v **types.Acc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9103,7 +9112,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9119,6 +9134,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9328,7 +9346,13 @@ func awsAwsjson11_deserializeDocumentOAuthProviderException(v **types.OAuthProvi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9344,6 +9368,9 @@ func awsAwsjson11_deserializeDocumentOAuthProviderException(v **types.OAuthProvi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11475,7 +11502,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11491,6 +11524,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11515,7 +11551,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11531,6 +11573,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codecatalyst/deserializers.go b/service/codecatalyst/deserializers.go index ac96b9c20b3..ecaf1bb9e13 100644 --- a/service/codecatalyst/deserializers.go +++ b/service/codecatalyst/deserializers.go @@ -7656,7 +7656,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7672,6 +7678,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7792,7 +7801,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7808,6 +7823,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9125,7 +9143,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9141,6 +9165,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9165,7 +9192,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9181,6 +9214,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9306,7 +9342,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9322,6 +9364,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9413,7 +9458,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9429,6 +9480,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codecommit/deserializers.go b/service/codecommit/deserializers.go index 485117f682b..5df80f4c7fe 100644 --- a/service/codecommit/deserializers.go +++ b/service/codecommit/deserializers.go @@ -18250,7 +18250,13 @@ func awsAwsjson11_deserializeDocumentActorDoesNotExistException(v **types.ActorD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18266,6 +18272,9 @@ func awsAwsjson11_deserializeDocumentActorDoesNotExistException(v **types.ActorD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18486,7 +18495,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleContentRequiredException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18502,6 +18517,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleContentRequiredException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18526,7 +18544,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleDoesNotExistException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18542,6 +18566,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleDoesNotExistException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18624,7 +18651,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameAlreadyExistsException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18640,6 +18673,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameAlreadyExistsException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18664,7 +18700,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameRequiredException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18680,6 +18722,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameRequiredException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18976,7 +19021,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateContentRequiredExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18992,6 +19043,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateContentRequiredExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19016,7 +19070,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateDoesNotExistException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19032,6 +19092,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateDoesNotExistException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19056,7 +19119,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateInUseException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19072,6 +19141,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateInUseException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19096,7 +19168,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameAlreadyExistsExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19112,6 +19190,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameAlreadyExistsExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19172,7 +19253,13 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameRequiredException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19188,6 +19275,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameRequiredException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19261,7 +19351,13 @@ func awsAwsjson11_deserializeDocumentApprovalStateRequiredException(v **types.Ap sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19277,6 +19373,9 @@ func awsAwsjson11_deserializeDocumentApprovalStateRequiredException(v **types.Ap } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19301,7 +19400,13 @@ func awsAwsjson11_deserializeDocumentAuthorDoesNotExistException(v **types.Autho sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19317,6 +19422,9 @@ func awsAwsjson11_deserializeDocumentAuthorDoesNotExistException(v **types.Autho } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19810,7 +19918,13 @@ func awsAwsjson11_deserializeDocumentBeforeCommitIdAndAfterCommitIdAreSameExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19826,6 +19940,9 @@ func awsAwsjson11_deserializeDocumentBeforeCommitIdAndAfterCommitIdAreSameExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19850,7 +19967,13 @@ func awsAwsjson11_deserializeDocumentBlobIdDoesNotExistException(v **types.BlobI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19866,6 +19989,9 @@ func awsAwsjson11_deserializeDocumentBlobIdDoesNotExistException(v **types.BlobI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19890,7 +20016,13 @@ func awsAwsjson11_deserializeDocumentBlobIdRequiredException(v **types.BlobIdReq sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19906,6 +20038,9 @@ func awsAwsjson11_deserializeDocumentBlobIdRequiredException(v **types.BlobIdReq } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19988,7 +20123,13 @@ func awsAwsjson11_deserializeDocumentBranchDoesNotExistException(v **types.Branc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20004,6 +20145,9 @@ func awsAwsjson11_deserializeDocumentBranchDoesNotExistException(v **types.Branc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20077,7 +20221,13 @@ func awsAwsjson11_deserializeDocumentBranchNameExistsException(v **types.BranchN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20093,6 +20243,9 @@ func awsAwsjson11_deserializeDocumentBranchNameExistsException(v **types.BranchN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20117,7 +20270,13 @@ func awsAwsjson11_deserializeDocumentBranchNameIsTagNameException(v **types.Bran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20133,6 +20292,9 @@ func awsAwsjson11_deserializeDocumentBranchNameIsTagNameException(v **types.Bran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20193,7 +20355,13 @@ func awsAwsjson11_deserializeDocumentBranchNameRequiredException(v **types.Branc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20209,6 +20377,9 @@ func awsAwsjson11_deserializeDocumentBranchNameRequiredException(v **types.Branc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20269,7 +20440,13 @@ func awsAwsjson11_deserializeDocumentCannotDeleteApprovalRuleFromTemplateExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20285,6 +20462,9 @@ func awsAwsjson11_deserializeDocumentCannotDeleteApprovalRuleFromTemplateExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20309,7 +20489,13 @@ func awsAwsjson11_deserializeDocumentCannotModifyApprovalRuleFromTemplateExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20325,6 +20511,9 @@ func awsAwsjson11_deserializeDocumentCannotModifyApprovalRuleFromTemplateExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20349,7 +20538,13 @@ func awsAwsjson11_deserializeDocumentClientRequestTokenRequiredException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20365,6 +20560,9 @@ func awsAwsjson11_deserializeDocumentClientRequestTokenRequiredException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20516,7 +20714,13 @@ func awsAwsjson11_deserializeDocumentCommentContentRequiredException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20532,6 +20736,9 @@ func awsAwsjson11_deserializeDocumentCommentContentRequiredException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20556,7 +20763,13 @@ func awsAwsjson11_deserializeDocumentCommentContentSizeLimitExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20572,6 +20785,9 @@ func awsAwsjson11_deserializeDocumentCommentContentSizeLimitExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20596,7 +20812,13 @@ func awsAwsjson11_deserializeDocumentCommentDeletedException(v **types.CommentDe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20612,6 +20834,9 @@ func awsAwsjson11_deserializeDocumentCommentDeletedException(v **types.CommentDe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20636,7 +20861,13 @@ func awsAwsjson11_deserializeDocumentCommentDoesNotExistException(v **types.Comm sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20652,6 +20883,9 @@ func awsAwsjson11_deserializeDocumentCommentDoesNotExistException(v **types.Comm } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20676,7 +20910,13 @@ func awsAwsjson11_deserializeDocumentCommentIdRequiredException(v **types.Commen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20692,6 +20932,9 @@ func awsAwsjson11_deserializeDocumentCommentIdRequiredException(v **types.Commen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20716,7 +20959,13 @@ func awsAwsjson11_deserializeDocumentCommentNotCreatedByCallerException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20732,6 +20981,9 @@ func awsAwsjson11_deserializeDocumentCommentNotCreatedByCallerException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21121,7 +21373,13 @@ func awsAwsjson11_deserializeDocumentCommitDoesNotExistException(v **types.Commi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21137,6 +21395,9 @@ func awsAwsjson11_deserializeDocumentCommitDoesNotExistException(v **types.Commi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21161,7 +21422,13 @@ func awsAwsjson11_deserializeDocumentCommitIdDoesNotExistException(v **types.Com sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21177,6 +21444,9 @@ func awsAwsjson11_deserializeDocumentCommitIdDoesNotExistException(v **types.Com } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21201,7 +21471,13 @@ func awsAwsjson11_deserializeDocumentCommitIdRequiredException(v **types.CommitI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21217,6 +21493,9 @@ func awsAwsjson11_deserializeDocumentCommitIdRequiredException(v **types.CommitI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21241,7 +21520,13 @@ func awsAwsjson11_deserializeDocumentCommitIdsLimitExceededException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21257,6 +21542,9 @@ func awsAwsjson11_deserializeDocumentCommitIdsLimitExceededException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21281,7 +21569,13 @@ func awsAwsjson11_deserializeDocumentCommitIdsListRequiredException(v **types.Co sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21297,6 +21591,9 @@ func awsAwsjson11_deserializeDocumentCommitIdsListRequiredException(v **types.Co } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21321,7 +21618,13 @@ func awsAwsjson11_deserializeDocumentCommitMessageLengthExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21337,6 +21640,9 @@ func awsAwsjson11_deserializeDocumentCommitMessageLengthExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21395,7 +21701,13 @@ func awsAwsjson11_deserializeDocumentCommitRequiredException(v **types.CommitReq sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21411,6 +21723,9 @@ func awsAwsjson11_deserializeDocumentCommitRequiredException(v **types.CommitReq } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21435,7 +21750,13 @@ func awsAwsjson11_deserializeDocumentConcurrentReferenceUpdateException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21451,6 +21772,9 @@ func awsAwsjson11_deserializeDocumentConcurrentReferenceUpdateException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21689,7 +22013,13 @@ func awsAwsjson11_deserializeDocumentDefaultBranchCannotBeDeletedException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21705,6 +22035,9 @@ func awsAwsjson11_deserializeDocumentDefaultBranchCannotBeDeletedException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21813,7 +22146,13 @@ func awsAwsjson11_deserializeDocumentDirectoryNameConflictsWithFileNameException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21829,6 +22168,9 @@ func awsAwsjson11_deserializeDocumentDirectoryNameConflictsWithFileNameException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21853,7 +22195,13 @@ func awsAwsjson11_deserializeDocumentEncryptionIntegrityChecksFailedException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21869,6 +22217,9 @@ func awsAwsjson11_deserializeDocumentEncryptionIntegrityChecksFailedException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21893,7 +22244,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyAccessDeniedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21909,6 +22266,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyAccessDeniedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21933,7 +22293,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyDisabledException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21949,6 +22315,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyDisabledException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21973,7 +22342,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidIdException(v **types.E sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21989,6 +22364,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidIdException(v **types.E } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22013,7 +22391,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidUsageException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22029,6 +22413,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidUsageException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22053,7 +22440,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyNotFoundException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22069,6 +22462,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyNotFoundException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22093,7 +22489,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyRequiredException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22109,6 +22511,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyRequiredException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22133,7 +22538,13 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyUnavailableException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22149,6 +22560,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyUnavailableException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22299,7 +22713,13 @@ func awsAwsjson11_deserializeDocumentFileContentAndSourceFileSpecifiedException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22315,6 +22735,9 @@ func awsAwsjson11_deserializeDocumentFileContentAndSourceFileSpecifiedException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22339,7 +22762,13 @@ func awsAwsjson11_deserializeDocumentFileContentRequiredException(v **types.File sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22355,6 +22784,9 @@ func awsAwsjson11_deserializeDocumentFileContentRequiredException(v **types.File } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22379,7 +22811,13 @@ func awsAwsjson11_deserializeDocumentFileContentSizeLimitExceededException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22395,6 +22833,9 @@ func awsAwsjson11_deserializeDocumentFileContentSizeLimitExceededException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22419,7 +22860,13 @@ func awsAwsjson11_deserializeDocumentFileDoesNotExistException(v **types.FileDoe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22435,6 +22882,9 @@ func awsAwsjson11_deserializeDocumentFileDoesNotExistException(v **types.FileDoe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22459,7 +22909,13 @@ func awsAwsjson11_deserializeDocumentFileEntryRequiredException(v **types.FileEn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22475,6 +22931,9 @@ func awsAwsjson11_deserializeDocumentFileEntryRequiredException(v **types.FileEn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22591,7 +23050,13 @@ func awsAwsjson11_deserializeDocumentFileModeRequiredException(v **types.FileMod sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22607,6 +23072,9 @@ func awsAwsjson11_deserializeDocumentFileModeRequiredException(v **types.FileMod } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22689,7 +23157,13 @@ func awsAwsjson11_deserializeDocumentFileNameConflictsWithDirectoryNameException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22705,6 +23179,9 @@ func awsAwsjson11_deserializeDocumentFileNameConflictsWithDirectoryNameException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22729,7 +23206,13 @@ func awsAwsjson11_deserializeDocumentFilePathConflictsWithSubmodulePathException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22745,6 +23228,9 @@ func awsAwsjson11_deserializeDocumentFilePathConflictsWithSubmodulePathException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22873,7 +23359,13 @@ func awsAwsjson11_deserializeDocumentFileTooLargeException(v **types.FileTooLarg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22889,6 +23381,9 @@ func awsAwsjson11_deserializeDocumentFileTooLargeException(v **types.FileTooLarg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23030,7 +23525,13 @@ func awsAwsjson11_deserializeDocumentFolderContentSizeLimitExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23046,6 +23547,9 @@ func awsAwsjson11_deserializeDocumentFolderContentSizeLimitExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23070,7 +23574,13 @@ func awsAwsjson11_deserializeDocumentFolderDoesNotExistException(v **types.Folde sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23086,6 +23596,9 @@ func awsAwsjson11_deserializeDocumentFolderDoesNotExistException(v **types.Folde } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23144,7 +23657,13 @@ func awsAwsjson11_deserializeDocumentIdempotencyParameterMismatchException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23160,6 +23679,9 @@ func awsAwsjson11_deserializeDocumentIdempotencyParameterMismatchException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23184,7 +23706,13 @@ func awsAwsjson11_deserializeDocumentInvalidActorArnException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23200,6 +23728,9 @@ func awsAwsjson11_deserializeDocumentInvalidActorArnException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23224,7 +23755,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleContentException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23240,6 +23777,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleContentException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23264,7 +23804,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleNameException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23280,6 +23826,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleNameException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23304,7 +23853,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateContentException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23320,6 +23875,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateContentException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23344,7 +23902,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateDescriptionExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23360,6 +23924,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateDescriptionExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23384,7 +23951,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateNameException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23400,6 +23973,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateNameException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23424,7 +24000,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23440,6 +24022,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23464,7 +24049,13 @@ func awsAwsjson11_deserializeDocumentInvalidAuthorArnException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23480,6 +24071,9 @@ func awsAwsjson11_deserializeDocumentInvalidAuthorArnException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23504,7 +24098,13 @@ func awsAwsjson11_deserializeDocumentInvalidBlobIdException(v **types.InvalidBlo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23520,6 +24120,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlobIdException(v **types.InvalidBlo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23544,7 +24147,13 @@ func awsAwsjson11_deserializeDocumentInvalidBranchNameException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23560,6 +24169,9 @@ func awsAwsjson11_deserializeDocumentInvalidBranchNameException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23584,7 +24196,13 @@ func awsAwsjson11_deserializeDocumentInvalidClientRequestTokenException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23600,6 +24218,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientRequestTokenException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23624,7 +24245,13 @@ func awsAwsjson11_deserializeDocumentInvalidCommentIdException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23640,6 +24267,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommentIdException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23664,7 +24294,13 @@ func awsAwsjson11_deserializeDocumentInvalidCommitException(v **types.InvalidCom sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23680,6 +24316,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommitException(v **types.InvalidCom } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23704,7 +24343,13 @@ func awsAwsjson11_deserializeDocumentInvalidCommitIdException(v **types.InvalidC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23720,6 +24365,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommitIdException(v **types.InvalidC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23744,7 +24392,13 @@ func awsAwsjson11_deserializeDocumentInvalidConflictDetailLevelException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23760,6 +24414,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictDetailLevelException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23784,7 +24441,13 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23800,6 +24463,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23824,7 +24490,13 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionStrategyException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23840,6 +24512,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionStrategyException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23864,7 +24539,13 @@ func awsAwsjson11_deserializeDocumentInvalidContinuationTokenException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23880,6 +24561,9 @@ func awsAwsjson11_deserializeDocumentInvalidContinuationTokenException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23904,7 +24588,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionParameterException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23920,6 +24610,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionParameterException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23944,7 +24637,13 @@ func awsAwsjson11_deserializeDocumentInvalidDescriptionException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23960,6 +24659,9 @@ func awsAwsjson11_deserializeDocumentInvalidDescriptionException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23984,7 +24686,13 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationCommitSpecifierException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24000,6 +24708,9 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationCommitSpecifierException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24024,7 +24735,13 @@ func awsAwsjson11_deserializeDocumentInvalidEmailException(v **types.InvalidEmai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24040,6 +24757,9 @@ func awsAwsjson11_deserializeDocumentInvalidEmailException(v **types.InvalidEmai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24064,7 +24784,13 @@ func awsAwsjson11_deserializeDocumentInvalidFileLocationException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24080,6 +24806,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileLocationException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24104,7 +24833,13 @@ func awsAwsjson11_deserializeDocumentInvalidFileModeException(v **types.InvalidF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24120,6 +24855,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileModeException(v **types.InvalidF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24144,7 +24882,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilePositionException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24160,6 +24904,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilePositionException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24184,7 +24931,13 @@ func awsAwsjson11_deserializeDocumentInvalidMaxConflictFilesException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24200,6 +24953,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxConflictFilesException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24224,7 +24980,13 @@ func awsAwsjson11_deserializeDocumentInvalidMaxMergeHunksException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24240,6 +25002,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxMergeHunksException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24264,7 +25029,13 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24280,6 +25051,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24304,7 +25078,13 @@ func awsAwsjson11_deserializeDocumentInvalidMergeOptionException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24320,6 +25100,9 @@ func awsAwsjson11_deserializeDocumentInvalidMergeOptionException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24344,7 +25127,13 @@ func awsAwsjson11_deserializeDocumentInvalidOrderException(v **types.InvalidOrde sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24360,6 +25149,9 @@ func awsAwsjson11_deserializeDocumentInvalidOrderException(v **types.InvalidOrde } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24384,7 +25176,13 @@ func awsAwsjson11_deserializeDocumentInvalidOverrideStatusException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24400,6 +25198,9 @@ func awsAwsjson11_deserializeDocumentInvalidOverrideStatusException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24424,7 +25225,13 @@ func awsAwsjson11_deserializeDocumentInvalidParentCommitIdException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24440,6 +25247,9 @@ func awsAwsjson11_deserializeDocumentInvalidParentCommitIdException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24464,7 +25274,13 @@ func awsAwsjson11_deserializeDocumentInvalidPathException(v **types.InvalidPathE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24480,6 +25296,9 @@ func awsAwsjson11_deserializeDocumentInvalidPathException(v **types.InvalidPathE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24504,7 +25323,13 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestEventTypeException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24520,6 +25345,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestEventTypeException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24544,7 +25372,13 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestIdException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24560,6 +25394,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestIdException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24584,7 +25421,13 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24600,6 +25443,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24624,7 +25470,13 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusUpdateException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24640,6 +25492,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusUpdateException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24664,7 +25519,13 @@ func awsAwsjson11_deserializeDocumentInvalidReactionUserArnException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24680,6 +25541,9 @@ func awsAwsjson11_deserializeDocumentInvalidReactionUserArnException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24704,7 +25568,13 @@ func awsAwsjson11_deserializeDocumentInvalidReactionValueException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24720,6 +25590,9 @@ func awsAwsjson11_deserializeDocumentInvalidReactionValueException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24744,7 +25617,13 @@ func awsAwsjson11_deserializeDocumentInvalidReferenceNameException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24760,6 +25639,9 @@ func awsAwsjson11_deserializeDocumentInvalidReferenceNameException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24784,7 +25666,13 @@ func awsAwsjson11_deserializeDocumentInvalidRelativeFileVersionEnumException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24800,6 +25688,9 @@ func awsAwsjson11_deserializeDocumentInvalidRelativeFileVersionEnumException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24824,7 +25715,13 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementContentException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24840,6 +25737,9 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementContentException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24864,7 +25764,13 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementTypeException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24880,6 +25786,9 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementTypeException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24904,7 +25813,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryDescriptionException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24920,6 +25835,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryDescriptionException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24944,7 +25862,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryNameException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24960,6 +25884,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryNameException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24984,7 +25911,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerBranchNameException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25000,6 +25933,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerBranchNameException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25024,7 +25960,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerCustomDataException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25040,6 +25982,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerCustomDataException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25064,7 +26009,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerDestinationArnExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25080,6 +26031,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerDestinationArnExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25104,7 +26058,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerEventsException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25120,6 +26080,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerEventsException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25144,7 +26107,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerNameException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25160,6 +26129,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerNameException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25184,7 +26156,13 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerRegionException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25200,6 +26178,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerRegionException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25224,7 +26205,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceArnException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25240,6 +26227,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceArnException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25264,7 +26254,13 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionIdException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25280,6 +26276,9 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionIdException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25304,7 +26303,13 @@ func awsAwsjson11_deserializeDocumentInvalidRuleContentSha256Exception(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25320,6 +26325,9 @@ func awsAwsjson11_deserializeDocumentInvalidRuleContentSha256Exception(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25344,7 +26352,13 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25360,6 +26374,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25384,7 +26401,13 @@ func awsAwsjson11_deserializeDocumentInvalidSourceCommitSpecifierException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25400,6 +26423,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceCommitSpecifierException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25424,7 +26450,13 @@ func awsAwsjson11_deserializeDocumentInvalidSystemTagUsageException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25440,6 +26472,9 @@ func awsAwsjson11_deserializeDocumentInvalidSystemTagUsageException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25464,7 +26499,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagKeysListException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25480,6 +26521,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagKeysListException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25504,7 +26548,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagsMapException(v **types.InvalidTa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25520,6 +26570,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsMapException(v **types.InvalidTa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25544,7 +26597,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetBranchException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25560,6 +26619,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetBranchException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25584,7 +26646,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25600,6 +26668,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25624,7 +26695,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetsException(v **types.InvalidTa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25640,6 +26717,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetsException(v **types.InvalidTa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25664,7 +26744,13 @@ func awsAwsjson11_deserializeDocumentInvalidTitleException(v **types.InvalidTitl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25680,6 +26766,9 @@ func awsAwsjson11_deserializeDocumentInvalidTitleException(v **types.InvalidTitl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25824,7 +26913,13 @@ func awsAwsjson11_deserializeDocumentManualMergeRequiredException(v **types.Manu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25840,6 +26935,9 @@ func awsAwsjson11_deserializeDocumentManualMergeRequiredException(v **types.Manu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25864,7 +26962,13 @@ func awsAwsjson11_deserializeDocumentMaximumBranchesExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25880,6 +26984,9 @@ func awsAwsjson11_deserializeDocumentMaximumBranchesExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25904,7 +27011,13 @@ func awsAwsjson11_deserializeDocumentMaximumConflictResolutionEntriesExceededExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25920,6 +27033,9 @@ func awsAwsjson11_deserializeDocumentMaximumConflictResolutionEntriesExceededExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25944,7 +27060,13 @@ func awsAwsjson11_deserializeDocumentMaximumFileContentToLoadExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25960,6 +27082,9 @@ func awsAwsjson11_deserializeDocumentMaximumFileContentToLoadExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25984,7 +27109,13 @@ func awsAwsjson11_deserializeDocumentMaximumFileEntriesExceededException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26000,6 +27131,9 @@ func awsAwsjson11_deserializeDocumentMaximumFileEntriesExceededException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26024,7 +27158,13 @@ func awsAwsjson11_deserializeDocumentMaximumItemsToCompareExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26040,6 +27180,9 @@ func awsAwsjson11_deserializeDocumentMaximumItemsToCompareExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26064,7 +27207,13 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfApprovalsExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26080,6 +27229,9 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfApprovalsExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26104,7 +27256,13 @@ func awsAwsjson11_deserializeDocumentMaximumOpenPullRequestsExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26120,6 +27278,9 @@ func awsAwsjson11_deserializeDocumentMaximumOpenPullRequestsExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26144,7 +27305,13 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryNamesExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26160,6 +27327,9 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryNamesExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26184,7 +27354,13 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryTriggersExceededException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26200,6 +27376,9 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryTriggersExceededException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26224,7 +27403,13 @@ func awsAwsjson11_deserializeDocumentMaximumRuleTemplatesAssociatedWithRepositor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26240,6 +27425,9 @@ func awsAwsjson11_deserializeDocumentMaximumRuleTemplatesAssociatedWithRepositor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26535,7 +27723,13 @@ func awsAwsjson11_deserializeDocumentMergeOptionRequiredException(v **types.Merg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26551,6 +27745,9 @@ func awsAwsjson11_deserializeDocumentMergeOptionRequiredException(v **types.Merg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26611,7 +27808,13 @@ func awsAwsjson11_deserializeDocumentMultipleConflictResolutionEntriesException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26627,6 +27830,9 @@ func awsAwsjson11_deserializeDocumentMultipleConflictResolutionEntriesException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26651,7 +27857,13 @@ func awsAwsjson11_deserializeDocumentMultipleRepositoriesInPullRequestException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26667,6 +27879,9 @@ func awsAwsjson11_deserializeDocumentMultipleRepositoriesInPullRequestException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26691,7 +27906,13 @@ func awsAwsjson11_deserializeDocumentNameLengthExceededException(v **types.NameL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26707,6 +27928,9 @@ func awsAwsjson11_deserializeDocumentNameLengthExceededException(v **types.NameL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26731,7 +27955,13 @@ func awsAwsjson11_deserializeDocumentNoChangeException(v **types.NoChangeExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26747,6 +27977,9 @@ func awsAwsjson11_deserializeDocumentNoChangeException(v **types.NoChangeExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26771,7 +28004,13 @@ func awsAwsjson11_deserializeDocumentNumberOfRulesExceededException(v **types.Nu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26787,6 +28026,9 @@ func awsAwsjson11_deserializeDocumentNumberOfRulesExceededException(v **types.Nu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26811,7 +28053,13 @@ func awsAwsjson11_deserializeDocumentNumberOfRuleTemplatesExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26827,6 +28075,9 @@ func awsAwsjson11_deserializeDocumentNumberOfRuleTemplatesExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26909,7 +28160,13 @@ func awsAwsjson11_deserializeDocumentOperationNotAllowedException(v **types.Oper sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26925,6 +28182,9 @@ func awsAwsjson11_deserializeDocumentOperationNotAllowedException(v **types.Oper } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26998,7 +28258,13 @@ func awsAwsjson11_deserializeDocumentOverrideAlreadySetException(v **types.Overr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27014,6 +28280,9 @@ func awsAwsjson11_deserializeDocumentOverrideAlreadySetException(v **types.Overr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27038,7 +28307,13 @@ func awsAwsjson11_deserializeDocumentOverrideStatusRequiredException(v **types.O sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27054,6 +28329,9 @@ func awsAwsjson11_deserializeDocumentOverrideStatusRequiredException(v **types.O } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27078,7 +28356,13 @@ func awsAwsjson11_deserializeDocumentParentCommitDoesNotExistException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27094,6 +28378,9 @@ func awsAwsjson11_deserializeDocumentParentCommitDoesNotExistException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27118,7 +28405,13 @@ func awsAwsjson11_deserializeDocumentParentCommitIdOutdatedException(v **types.P sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27134,6 +28427,9 @@ func awsAwsjson11_deserializeDocumentParentCommitIdOutdatedException(v **types.P } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27158,7 +28454,13 @@ func awsAwsjson11_deserializeDocumentParentCommitIdRequiredException(v **types.P sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27174,6 +28476,9 @@ func awsAwsjson11_deserializeDocumentParentCommitIdRequiredException(v **types.P } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27234,7 +28539,13 @@ func awsAwsjson11_deserializeDocumentPathDoesNotExistException(v **types.PathDoe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27250,6 +28561,9 @@ func awsAwsjson11_deserializeDocumentPathDoesNotExistException(v **types.PathDoe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27274,7 +28588,13 @@ func awsAwsjson11_deserializeDocumentPathRequiredException(v **types.PathRequire sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27290,6 +28610,9 @@ func awsAwsjson11_deserializeDocumentPathRequiredException(v **types.PathRequire } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27450,7 +28773,13 @@ func awsAwsjson11_deserializeDocumentPullRequestAlreadyClosedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27466,6 +28795,9 @@ func awsAwsjson11_deserializeDocumentPullRequestAlreadyClosedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27490,7 +28822,13 @@ func awsAwsjson11_deserializeDocumentPullRequestApprovalRulesNotSatisfiedExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27506,6 +28844,9 @@ func awsAwsjson11_deserializeDocumentPullRequestApprovalRulesNotSatisfiedExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27530,7 +28871,13 @@ func awsAwsjson11_deserializeDocumentPullRequestCannotBeApprovedByAuthorExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27546,6 +28893,9 @@ func awsAwsjson11_deserializeDocumentPullRequestCannotBeApprovedByAuthorExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27637,7 +28987,13 @@ func awsAwsjson11_deserializeDocumentPullRequestDoesNotExistException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27653,6 +29009,9 @@ func awsAwsjson11_deserializeDocumentPullRequestDoesNotExistException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27856,7 +29215,13 @@ func awsAwsjson11_deserializeDocumentPullRequestIdRequiredException(v **types.Pu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27872,6 +29237,9 @@ func awsAwsjson11_deserializeDocumentPullRequestIdRequiredException(v **types.Pu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28057,7 +29425,13 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusRequiredException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28073,6 +29447,9 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusRequiredException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28221,7 +29598,13 @@ func awsAwsjson11_deserializeDocumentPutFileEntryConflictException(v **types.Put sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28237,6 +29620,9 @@ func awsAwsjson11_deserializeDocumentPutFileEntryConflictException(v **types.Put } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28355,7 +29741,13 @@ func awsAwsjson11_deserializeDocumentReactionLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28371,6 +29763,9 @@ func awsAwsjson11_deserializeDocumentReactionLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28523,7 +29918,13 @@ func awsAwsjson11_deserializeDocumentReactionValueRequiredException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28539,6 +29940,9 @@ func awsAwsjson11_deserializeDocumentReactionValueRequiredException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28563,7 +29967,13 @@ func awsAwsjson11_deserializeDocumentReferenceDoesNotExistException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28579,6 +29989,9 @@ func awsAwsjson11_deserializeDocumentReferenceDoesNotExistException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28603,7 +30016,13 @@ func awsAwsjson11_deserializeDocumentReferenceNameRequiredException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28619,6 +30038,9 @@ func awsAwsjson11_deserializeDocumentReferenceNameRequiredException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28643,7 +30065,13 @@ func awsAwsjson11_deserializeDocumentReferenceTypeNotSupportedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28659,6 +30087,9 @@ func awsAwsjson11_deserializeDocumentReferenceTypeNotSupportedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28683,7 +30114,13 @@ func awsAwsjson11_deserializeDocumentReplacementContentRequiredException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28699,6 +30136,9 @@ func awsAwsjson11_deserializeDocumentReplacementContentRequiredException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28723,7 +30163,13 @@ func awsAwsjson11_deserializeDocumentReplacementTypeRequiredException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28739,6 +30185,9 @@ func awsAwsjson11_deserializeDocumentReplacementTypeRequiredException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28763,7 +30212,13 @@ func awsAwsjson11_deserializeDocumentRepositoryDoesNotExistException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28779,6 +30234,9 @@ func awsAwsjson11_deserializeDocumentRepositoryDoesNotExistException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28803,7 +30261,13 @@ func awsAwsjson11_deserializeDocumentRepositoryLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28819,6 +30283,9 @@ func awsAwsjson11_deserializeDocumentRepositoryLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29021,7 +30488,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNameExistsException(v **types.Rep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29037,6 +30510,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNameExistsException(v **types.Rep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29180,7 +30656,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNameRequiredException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29196,6 +30678,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNameRequiredException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29220,7 +30705,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNamesRequiredException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29236,6 +30727,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNamesRequiredException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29260,7 +30754,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNotAssociatedWithPullRequestExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29276,6 +30776,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotAssociatedWithPullRequestExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29404,7 +30907,13 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerBranchNameListRequiredExce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29420,6 +30929,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerBranchNameListRequiredExce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29444,7 +30956,13 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerDestinationArnRequiredExce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29460,6 +30978,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerDestinationArnRequiredExce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29520,7 +31041,13 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerEventsListRequiredExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29536,6 +31063,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerEventsListRequiredExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29679,7 +31209,13 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerNameRequiredException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29695,6 +31231,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerNameRequiredException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29753,7 +31292,13 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggersListRequiredException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29769,6 +31314,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggersListRequiredException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29793,7 +31341,13 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29809,6 +31363,9 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29833,7 +31390,13 @@ func awsAwsjson11_deserializeDocumentRestrictedSourceFileException(v **types.Res sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29849,6 +31412,9 @@ func awsAwsjson11_deserializeDocumentRestrictedSourceFileException(v **types.Res } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29943,7 +31509,13 @@ func awsAwsjson11_deserializeDocumentRevisionIdRequiredException(v **types.Revis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29959,6 +31531,9 @@ func awsAwsjson11_deserializeDocumentRevisionIdRequiredException(v **types.Revis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29983,7 +31558,13 @@ func awsAwsjson11_deserializeDocumentRevisionNotCurrentException(v **types.Revis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29999,6 +31580,9 @@ func awsAwsjson11_deserializeDocumentRevisionNotCurrentException(v **types.Revis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30023,7 +31607,13 @@ func awsAwsjson11_deserializeDocumentSameFileContentException(v **types.SameFile sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30039,6 +31629,9 @@ func awsAwsjson11_deserializeDocumentSameFileContentException(v **types.SameFile } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30063,7 +31656,13 @@ func awsAwsjson11_deserializeDocumentSamePathRequestException(v **types.SamePath sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30079,6 +31678,9 @@ func awsAwsjson11_deserializeDocumentSamePathRequestException(v **types.SamePath } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30103,7 +31705,13 @@ func awsAwsjson11_deserializeDocumentSourceAndDestinationAreSameException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30119,6 +31727,9 @@ func awsAwsjson11_deserializeDocumentSourceAndDestinationAreSameException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30143,7 +31754,13 @@ func awsAwsjson11_deserializeDocumentSourceFileOrContentRequiredException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30159,6 +31776,9 @@ func awsAwsjson11_deserializeDocumentSourceFileOrContentRequiredException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30376,7 +31996,13 @@ func awsAwsjson11_deserializeDocumentTagKeysListRequiredException(v **types.TagK sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30392,6 +32018,9 @@ func awsAwsjson11_deserializeDocumentTagKeysListRequiredException(v **types.TagK } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30416,7 +32045,13 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30432,6 +32067,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30492,7 +32130,13 @@ func awsAwsjson11_deserializeDocumentTagsMapRequiredException(v **types.TagsMapR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30508,6 +32152,9 @@ func awsAwsjson11_deserializeDocumentTagsMapRequiredException(v **types.TagsMapR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30532,7 +32179,13 @@ func awsAwsjson11_deserializeDocumentTargetRequiredException(v **types.TargetReq sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30548,6 +32201,9 @@ func awsAwsjson11_deserializeDocumentTargetRequiredException(v **types.TargetReq } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30572,7 +32228,13 @@ func awsAwsjson11_deserializeDocumentTargetsRequiredException(v **types.TargetsR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30588,6 +32250,9 @@ func awsAwsjson11_deserializeDocumentTargetsRequiredException(v **types.TargetsR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30612,7 +32277,13 @@ func awsAwsjson11_deserializeDocumentTipOfSourceReferenceIsDifferentException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30628,6 +32299,9 @@ func awsAwsjson11_deserializeDocumentTipOfSourceReferenceIsDifferentException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30652,7 +32326,13 @@ func awsAwsjson11_deserializeDocumentTipsDivergenceExceededException(v **types.T sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30668,6 +32348,9 @@ func awsAwsjson11_deserializeDocumentTipsDivergenceExceededException(v **types.T } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30692,7 +32375,13 @@ func awsAwsjson11_deserializeDocumentTitleRequiredException(v **types.TitleRequi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30708,6 +32397,9 @@ func awsAwsjson11_deserializeDocumentTitleRequiredException(v **types.TitleRequi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30732,7 +32424,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30748,6 +32446,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codeconnections/deserializers.go b/service/codeconnections/deserializers.go index 5f3fb852100..2824785ad21 100644 --- a/service/codeconnections/deserializers.go +++ b/service/codeconnections/deserializers.go @@ -3893,7 +3893,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3909,6 +3915,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3933,7 +3942,13 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3949,6 +3964,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3973,7 +3991,13 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3989,6 +4013,9 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4013,7 +4040,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4029,6 +4062,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4296,7 +4332,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4312,6 +4354,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4336,7 +4381,13 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4352,6 +4403,9 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4410,7 +4464,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4426,6 +4486,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4848,7 +4911,13 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4864,6 +4933,9 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4888,7 +4960,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4904,6 +4982,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5116,7 +5197,13 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5132,6 +5219,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5156,7 +5246,13 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5172,6 +5268,9 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5549,7 +5648,13 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5565,6 +5670,9 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5816,7 +5924,13 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5832,6 +5946,9 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5939,7 +6056,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5955,6 +6078,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5979,7 +6105,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5995,6 +6127,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6019,7 +6154,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6035,6 +6176,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6059,7 +6203,13 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6075,6 +6225,9 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codedeploy/deserializers.go b/service/codedeploy/deserializers.go index ef99a6a3132..7b0f3b6b7c4 100644 --- a/service/codedeploy/deserializers.go +++ b/service/codedeploy/deserializers.go @@ -9890,7 +9890,13 @@ func awsAwsjson11_deserializeDocumentAlarmsLimitExceededException(v **types.Alar sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9906,6 +9912,9 @@ func awsAwsjson11_deserializeDocumentAlarmsLimitExceededException(v **types.Alar } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9930,7 +9939,13 @@ func awsAwsjson11_deserializeDocumentApplicationAlreadyExistsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9946,6 +9961,9 @@ func awsAwsjson11_deserializeDocumentApplicationAlreadyExistsException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9970,7 +9988,13 @@ func awsAwsjson11_deserializeDocumentApplicationDoesNotExistException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9986,6 +10010,9 @@ func awsAwsjson11_deserializeDocumentApplicationDoesNotExistException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10102,7 +10129,13 @@ func awsAwsjson11_deserializeDocumentApplicationLimitExceededException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10118,6 +10151,9 @@ func awsAwsjson11_deserializeDocumentApplicationLimitExceededException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10142,7 +10178,13 @@ func awsAwsjson11_deserializeDocumentApplicationNameRequiredException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10158,6 +10200,9 @@ func awsAwsjson11_deserializeDocumentApplicationNameRequiredException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10301,7 +10346,13 @@ func awsAwsjson11_deserializeDocumentArnNotSupportedException(v **types.ArnNotSu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10317,6 +10368,9 @@ func awsAwsjson11_deserializeDocumentArnNotSupportedException(v **types.ArnNotSu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10550,7 +10604,13 @@ func awsAwsjson11_deserializeDocumentBatchLimitExceededException(v **types.Batch sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10566,6 +10626,9 @@ func awsAwsjson11_deserializeDocumentBatchLimitExceededException(v **types.Batch } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10689,7 +10752,13 @@ func awsAwsjson11_deserializeDocumentBucketNameFilterRequiredException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10705,6 +10774,9 @@ func awsAwsjson11_deserializeDocumentBucketNameFilterRequiredException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10851,7 +10923,13 @@ func awsAwsjson11_deserializeDocumentDeploymentAlreadyCompletedException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10867,6 +10945,9 @@ func awsAwsjson11_deserializeDocumentDeploymentAlreadyCompletedException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10891,7 +10972,13 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigAlreadyExistsException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10907,6 +10994,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigAlreadyExistsException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10931,7 +11021,13 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigDoesNotExistException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10947,6 +11043,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigDoesNotExistException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11060,7 +11159,13 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInUseException(v **types.De sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11076,6 +11181,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInUseException(v **types.De } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11100,7 +11208,13 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigLimitExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11116,6 +11230,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigLimitExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11140,7 +11257,13 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigNameRequiredException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11156,6 +11279,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigNameRequiredException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11216,7 +11342,13 @@ func awsAwsjson11_deserializeDocumentDeploymentDoesNotExistException(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11232,6 +11364,9 @@ func awsAwsjson11_deserializeDocumentDeploymentDoesNotExistException(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11256,7 +11391,13 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupAlreadyExistsException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11272,6 +11413,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupAlreadyExistsException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11296,7 +11440,13 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupDoesNotExistException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11312,6 +11462,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupDoesNotExistException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11548,7 +11701,13 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupLimitExceededException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11564,6 +11723,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupLimitExceededException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11588,7 +11750,13 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupNameRequiredException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11604,6 +11772,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupNameRequiredException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11664,7 +11835,13 @@ func awsAwsjson11_deserializeDocumentDeploymentIdRequiredException(v **types.Dep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11680,6 +11857,9 @@ func awsAwsjson11_deserializeDocumentDeploymentIdRequiredException(v **types.Dep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11974,7 +12154,13 @@ func awsAwsjson11_deserializeDocumentDeploymentIsNotInReadyStateException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11990,6 +12176,9 @@ func awsAwsjson11_deserializeDocumentDeploymentIsNotInReadyStateException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12014,7 +12203,13 @@ func awsAwsjson11_deserializeDocumentDeploymentLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12030,6 +12225,9 @@ func awsAwsjson11_deserializeDocumentDeploymentLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12054,7 +12252,13 @@ func awsAwsjson11_deserializeDocumentDeploymentNotStartedException(v **types.Dep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12070,6 +12274,9 @@ func awsAwsjson11_deserializeDocumentDeploymentNotStartedException(v **types.Dep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12471,7 +12678,13 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetDoesNotExistException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12487,6 +12700,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetDoesNotExistException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12511,7 +12727,13 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetIdRequiredException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12527,6 +12749,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetIdRequiredException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12585,7 +12810,13 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetListSizeExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12601,6 +12832,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetListSizeExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12625,7 +12859,13 @@ func awsAwsjson11_deserializeDocumentDescriptionTooLongException(v **types.Descr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12641,6 +12881,9 @@ func awsAwsjson11_deserializeDocumentDescriptionTooLongException(v **types.Descr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12975,7 +13218,13 @@ func awsAwsjson11_deserializeDocumentECSServiceMappingLimitExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12991,6 +13240,9 @@ func awsAwsjson11_deserializeDocumentECSServiceMappingLimitExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13494,7 +13746,13 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenDoesNotExistException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13510,6 +13768,9 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenDoesNotExistException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13570,7 +13831,13 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenNameRequiredException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13586,6 +13853,9 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenNameRequiredException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13699,7 +13969,13 @@ func awsAwsjson11_deserializeDocumentIamArnRequiredException(v **types.IamArnReq sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13715,6 +13991,9 @@ func awsAwsjson11_deserializeDocumentIamArnRequiredException(v **types.IamArnReq } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13739,7 +14018,13 @@ func awsAwsjson11_deserializeDocumentIamSessionArnAlreadyRegisteredException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13755,6 +14040,9 @@ func awsAwsjson11_deserializeDocumentIamSessionArnAlreadyRegisteredException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13779,7 +14067,13 @@ func awsAwsjson11_deserializeDocumentIamUserArnAlreadyRegisteredException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13795,6 +14089,9 @@ func awsAwsjson11_deserializeDocumentIamUserArnAlreadyRegisteredException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13819,7 +14116,13 @@ func awsAwsjson11_deserializeDocumentIamUserArnRequiredException(v **types.IamUs sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13835,6 +14138,9 @@ func awsAwsjson11_deserializeDocumentIamUserArnRequiredException(v **types.IamUs } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13859,7 +14165,13 @@ func awsAwsjson11_deserializeDocumentInstanceDoesNotExistException(v **types.Ins sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13875,6 +14187,9 @@ func awsAwsjson11_deserializeDocumentInstanceDoesNotExistException(v **types.Ins } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13899,7 +14214,13 @@ func awsAwsjson11_deserializeDocumentInstanceIdRequiredException(v **types.Insta sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13915,6 +14236,9 @@ func awsAwsjson11_deserializeDocumentInstanceIdRequiredException(v **types.Insta } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14077,7 +14401,13 @@ func awsAwsjson11_deserializeDocumentInstanceLimitExceededException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14093,6 +14423,9 @@ func awsAwsjson11_deserializeDocumentInstanceLimitExceededException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14117,7 +14450,13 @@ func awsAwsjson11_deserializeDocumentInstanceNameAlreadyRegisteredException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14133,6 +14472,9 @@ func awsAwsjson11_deserializeDocumentInstanceNameAlreadyRegisteredException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14193,7 +14535,13 @@ func awsAwsjson11_deserializeDocumentInstanceNameRequiredException(v **types.Ins sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14209,6 +14557,9 @@ func awsAwsjson11_deserializeDocumentInstanceNameRequiredException(v **types.Ins } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14233,7 +14584,13 @@ func awsAwsjson11_deserializeDocumentInstanceNotRegisteredException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14249,6 +14606,9 @@ func awsAwsjson11_deserializeDocumentInstanceNotRegisteredException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14528,7 +14888,13 @@ func awsAwsjson11_deserializeDocumentInvalidAlarmConfigException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14544,6 +14910,9 @@ func awsAwsjson11_deserializeDocumentInvalidAlarmConfigException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14568,7 +14937,13 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationNameException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14584,6 +14959,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationNameException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14608,7 +14986,13 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14624,6 +15008,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14648,7 +15035,13 @@ func awsAwsjson11_deserializeDocumentInvalidAutoRollbackConfigException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14664,6 +15057,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutoRollbackConfigException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14688,7 +15084,13 @@ func awsAwsjson11_deserializeDocumentInvalidAutoScalingGroupException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14704,6 +15106,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutoScalingGroupException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14728,7 +15133,13 @@ func awsAwsjson11_deserializeDocumentInvalidBlueGreenDeploymentConfigurationExce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14744,6 +15155,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlueGreenDeploymentConfigurationExce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14768,7 +15182,13 @@ func awsAwsjson11_deserializeDocumentInvalidBucketNameFilterException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14784,6 +15204,9 @@ func awsAwsjson11_deserializeDocumentInvalidBucketNameFilterException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14808,7 +15231,13 @@ func awsAwsjson11_deserializeDocumentInvalidComputePlatformException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14824,6 +15253,9 @@ func awsAwsjson11_deserializeDocumentInvalidComputePlatformException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14848,7 +15280,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeployedStateFilterException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14864,6 +15302,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeployedStateFilterException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14888,7 +15329,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentConfigNameException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14904,6 +15351,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentConfigNameException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14928,7 +15378,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentGroupNameException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14944,6 +15400,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentGroupNameException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14968,7 +15427,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentIdException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14984,6 +15449,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentIdException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15008,7 +15476,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentInstanceTypeException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15024,6 +15498,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentInstanceTypeException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15048,7 +15525,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStatusException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15064,6 +15547,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStatusException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15088,7 +15574,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStyleException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15104,6 +15596,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStyleException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15128,7 +15623,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentTargetIdException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15144,6 +15645,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentTargetIdException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15168,7 +15672,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentWaitTypeException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15184,6 +15694,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentWaitTypeException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15208,7 +15721,13 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagCombinationException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15224,6 +15743,9 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagCombinationException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15248,7 +15770,13 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagException(v **types.InvalidEC2 sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15264,6 +15792,9 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagException(v **types.InvalidEC2 } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15288,7 +15819,13 @@ func awsAwsjson11_deserializeDocumentInvalidECSServiceException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15304,6 +15841,9 @@ func awsAwsjson11_deserializeDocumentInvalidECSServiceException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15328,7 +15868,13 @@ func awsAwsjson11_deserializeDocumentInvalidExternalIdException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15344,6 +15890,9 @@ func awsAwsjson11_deserializeDocumentInvalidExternalIdException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15368,7 +15917,13 @@ func awsAwsjson11_deserializeDocumentInvalidFileExistsBehaviorException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15384,6 +15939,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileExistsBehaviorException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15408,7 +15966,13 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15424,6 +15988,9 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15448,7 +16015,13 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenNameException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15464,6 +16037,9 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenNameException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15488,7 +16064,13 @@ func awsAwsjson11_deserializeDocumentInvalidIamSessionArnException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15504,6 +16086,9 @@ func awsAwsjson11_deserializeDocumentInvalidIamSessionArnException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15528,7 +16113,13 @@ func awsAwsjson11_deserializeDocumentInvalidIamUserArnException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15544,6 +16135,9 @@ func awsAwsjson11_deserializeDocumentInvalidIamUserArnException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15568,7 +16162,13 @@ func awsAwsjson11_deserializeDocumentInvalidIgnoreApplicationStopFailuresValueEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15584,6 +16184,9 @@ func awsAwsjson11_deserializeDocumentInvalidIgnoreApplicationStopFailuresValueEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15608,7 +16211,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15624,6 +16233,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15648,7 +16260,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceNameException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15664,6 +16282,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceNameException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15688,7 +16309,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceStatusException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15704,6 +16331,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceStatusException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15728,7 +16358,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceTypeException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15744,6 +16380,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceTypeException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15768,7 +16407,13 @@ func awsAwsjson11_deserializeDocumentInvalidKeyPrefixFilterException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15784,6 +16429,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyPrefixFilterException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15808,7 +16456,13 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionIdExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15824,6 +16478,9 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionIdExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15848,7 +16505,13 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionStatusExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15864,6 +16527,9 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionStatusExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15888,7 +16554,13 @@ func awsAwsjson11_deserializeDocumentInvalidLoadBalancerInfoException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15904,6 +16576,9 @@ func awsAwsjson11_deserializeDocumentInvalidLoadBalancerInfoException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15928,7 +16603,13 @@ func awsAwsjson11_deserializeDocumentInvalidMinimumHealthyHostValueException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15944,6 +16625,9 @@ func awsAwsjson11_deserializeDocumentInvalidMinimumHealthyHostValueException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15968,7 +16652,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15984,6 +16674,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16008,7 +16701,13 @@ func awsAwsjson11_deserializeDocumentInvalidOnPremisesTagCombinationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16024,6 +16723,9 @@ func awsAwsjson11_deserializeDocumentInvalidOnPremisesTagCombinationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16048,7 +16750,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16064,6 +16772,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16088,7 +16799,13 @@ func awsAwsjson11_deserializeDocumentInvalidRegistrationStatusException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16104,6 +16821,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegistrationStatusException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16128,7 +16848,13 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionException(v **types.InvalidR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16144,6 +16870,9 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionException(v **types.InvalidR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16168,7 +16897,13 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16184,6 +16919,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16208,7 +16946,13 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16224,6 +16968,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16248,7 +16995,13 @@ func awsAwsjson11_deserializeDocumentInvalidSortOrderException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16264,6 +17017,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortOrderException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16288,7 +17044,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16304,6 +17066,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16328,7 +17093,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagFilterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16344,6 +17115,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagFilterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16368,7 +17142,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagsToAddException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16384,6 +17164,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsToAddException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16408,7 +17191,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetFilterNameException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16424,6 +17213,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetFilterNameException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16448,7 +17240,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetGroupPairException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16464,6 +17262,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetGroupPairException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16488,7 +17289,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetInstancesException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16504,6 +17311,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetInstancesException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16528,7 +17338,13 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16544,6 +17360,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16568,7 +17387,13 @@ func awsAwsjson11_deserializeDocumentInvalidTrafficRoutingConfigurationException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16584,6 +17409,9 @@ func awsAwsjson11_deserializeDocumentInvalidTrafficRoutingConfigurationException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16608,7 +17436,13 @@ func awsAwsjson11_deserializeDocumentInvalidTriggerConfigException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16624,6 +17458,9 @@ func awsAwsjson11_deserializeDocumentInvalidTriggerConfigException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16648,7 +17485,13 @@ func awsAwsjson11_deserializeDocumentInvalidUpdateOutdatedInstancesOnlyValueExce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16664,6 +17507,9 @@ func awsAwsjson11_deserializeDocumentInvalidUpdateOutdatedInstancesOnlyValueExce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16688,7 +17534,13 @@ func awsAwsjson11_deserializeDocumentInvalidZonalDeploymentConfigurationExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16704,6 +17556,9 @@ func awsAwsjson11_deserializeDocumentInvalidZonalDeploymentConfigurationExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17089,7 +17944,13 @@ func awsAwsjson11_deserializeDocumentLifecycleEventAlreadyCompletedException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17105,6 +17966,9 @@ func awsAwsjson11_deserializeDocumentLifecycleEventAlreadyCompletedException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17163,7 +18027,13 @@ func awsAwsjson11_deserializeDocumentLifecycleHookLimitExceededException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17179,6 +18049,9 @@ func awsAwsjson11_deserializeDocumentLifecycleHookLimitExceededException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17391,7 +18264,13 @@ func awsAwsjson11_deserializeDocumentMultipleIamArnsProvidedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17407,6 +18286,9 @@ func awsAwsjson11_deserializeDocumentMultipleIamArnsProvidedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17499,7 +18381,13 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17515,6 +18403,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17633,7 +18524,13 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17649,6 +18546,9 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17673,7 +18573,13 @@ func awsAwsjson11_deserializeDocumentResourceValidationException(v **types.Resou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17689,6 +18595,9 @@ func awsAwsjson11_deserializeDocumentResourceValidationException(v **types.Resou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17713,7 +18622,13 @@ func awsAwsjson11_deserializeDocumentRevisionDoesNotExistException(v **types.Rev sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17729,6 +18644,9 @@ func awsAwsjson11_deserializeDocumentRevisionDoesNotExistException(v **types.Rev } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17922,7 +18840,13 @@ func awsAwsjson11_deserializeDocumentRevisionRequiredException(v **types.Revisio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17938,6 +18862,9 @@ func awsAwsjson11_deserializeDocumentRevisionRequiredException(v **types.Revisio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17962,7 +18889,13 @@ func awsAwsjson11_deserializeDocumentRoleRequiredException(v **types.RoleRequire sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17978,6 +18911,9 @@ func awsAwsjson11_deserializeDocumentRoleRequiredException(v **types.RoleRequire } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18277,7 +19213,13 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18293,6 +19235,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18351,7 +19296,13 @@ func awsAwsjson11_deserializeDocumentTagRequiredException(v **types.TagRequiredE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18367,6 +19318,9 @@ func awsAwsjson11_deserializeDocumentTagRequiredException(v **types.TagRequiredE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18391,7 +19345,13 @@ func awsAwsjson11_deserializeDocumentTagSetListLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18407,6 +19367,9 @@ func awsAwsjson11_deserializeDocumentTagSetListLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18667,7 +19630,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18683,6 +19652,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19031,7 +20003,13 @@ func awsAwsjson11_deserializeDocumentTriggerTargetsLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19047,6 +20025,9 @@ func awsAwsjson11_deserializeDocumentTriggerTargetsLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19071,7 +20052,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedActionForDeploymentTypeException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19087,6 +20074,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedActionForDeploymentTypeException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codeguruprofiler/deserializers.go b/service/codeguruprofiler/deserializers.go index 8f40cccf1d4..d71619aad59 100644 --- a/service/codeguruprofiler/deserializers.go +++ b/service/codeguruprofiler/deserializers.go @@ -4263,7 +4263,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4279,6 +4285,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4651,7 +4660,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4667,6 +4682,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5504,7 +5522,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5520,6 +5544,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5544,7 +5571,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5560,6 +5593,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5760,7 +5796,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5776,6 +5818,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5918,7 +5963,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5934,6 +5985,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codegurureviewer/deserializers.go b/service/codegurureviewer/deserializers.go index 8dfc8060fe3..b777b58262c 100644 --- a/service/codegurureviewer/deserializers.go +++ b/service/codegurureviewer/deserializers.go @@ -2435,7 +2435,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2451,6 +2457,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3023,7 +3032,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3039,6 +3054,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3112,7 +3130,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3128,6 +3152,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3341,7 +3368,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3357,6 +3390,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4133,7 +4169,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4149,6 +4191,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4463,7 +4508,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4479,6 +4530,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4503,7 +4557,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4519,6 +4579,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codegurusecurity/deserializers.go b/service/codegurusecurity/deserializers.go index 5003a2c358f..77a7272577c 100644 --- a/service/codegurusecurity/deserializers.go +++ b/service/codegurusecurity/deserializers.go @@ -2447,7 +2447,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -2490,6 +2496,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2856,7 +2865,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -2899,6 +2914,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3521,7 +3539,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -3546,6 +3570,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3926,7 +3953,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3969,6 +4002,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4366,7 +4402,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -4409,6 +4451,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4433,7 +4478,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -4472,6 +4523,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codepipeline/deserializers.go b/service/codepipeline/deserializers.go index 166a6da86b0..211e866e2e1 100644 --- a/service/codepipeline/deserializers.go +++ b/service/codepipeline/deserializers.go @@ -7230,7 +7230,13 @@ func awsAwsjson11_deserializeDocumentActionNotFoundException(v **types.ActionNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7246,6 +7252,9 @@ func awsAwsjson11_deserializeDocumentActionNotFoundException(v **types.ActionNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7860,7 +7869,13 @@ func awsAwsjson11_deserializeDocumentActionTypeNotFoundException(v **types.Actio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7876,6 +7891,9 @@ func awsAwsjson11_deserializeDocumentActionTypeNotFoundException(v **types.Actio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8225,7 +8243,13 @@ func awsAwsjson11_deserializeDocumentApprovalAlreadyCompletedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8241,6 +8265,9 @@ func awsAwsjson11_deserializeDocumentApprovalAlreadyCompletedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8928,7 +8955,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8944,6 +8977,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8968,7 +9004,13 @@ func awsAwsjson11_deserializeDocumentConcurrentPipelineExecutionsLimitExceededEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8984,6 +9026,9 @@ func awsAwsjson11_deserializeDocumentConcurrentPipelineExecutionsLimitExceededEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9152,7 +9197,13 @@ func awsAwsjson11_deserializeDocumentConditionNotOverridableException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9168,6 +9219,9 @@ func awsAwsjson11_deserializeDocumentConditionNotOverridableException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9267,7 +9321,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9283,6 +9343,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9307,7 +9370,13 @@ func awsAwsjson11_deserializeDocumentDuplicatedStopRequestException(v **types.Du sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9323,6 +9392,9 @@ func awsAwsjson11_deserializeDocumentDuplicatedStopRequestException(v **types.Du } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10172,7 +10244,13 @@ func awsAwsjson11_deserializeDocumentInvalidActionDeclarationException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10188,6 +10266,9 @@ func awsAwsjson11_deserializeDocumentInvalidActionDeclarationException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10212,7 +10293,13 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalTokenException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10228,6 +10315,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalTokenException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10252,7 +10342,13 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10268,6 +10364,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10292,7 +10391,13 @@ func awsAwsjson11_deserializeDocumentInvalidBlockerDeclarationException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10308,6 +10413,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlockerDeclarationException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10332,7 +10440,13 @@ func awsAwsjson11_deserializeDocumentInvalidClientTokenException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10348,6 +10462,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientTokenException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10372,7 +10489,13 @@ func awsAwsjson11_deserializeDocumentInvalidJobException(v **types.InvalidJobExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10388,6 +10511,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobException(v **types.InvalidJobExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10412,7 +10538,13 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10428,6 +10560,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10452,7 +10587,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10468,6 +10609,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10492,7 +10636,13 @@ func awsAwsjson11_deserializeDocumentInvalidNonceException(v **types.InvalidNonc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10508,6 +10658,9 @@ func awsAwsjson11_deserializeDocumentInvalidNonceException(v **types.InvalidNonc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10532,7 +10685,13 @@ func awsAwsjson11_deserializeDocumentInvalidStageDeclarationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10548,6 +10707,9 @@ func awsAwsjson11_deserializeDocumentInvalidStageDeclarationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10572,7 +10734,13 @@ func awsAwsjson11_deserializeDocumentInvalidStructureException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10588,6 +10756,9 @@ func awsAwsjson11_deserializeDocumentInvalidStructureException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10612,7 +10783,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagsException(v **types.InvalidTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10628,6 +10805,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsException(v **types.InvalidTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10652,7 +10832,13 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookAuthenticationParametersExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10668,6 +10854,9 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookAuthenticationParametersExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10692,7 +10881,13 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookFilterPatternException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10708,6 +10903,9 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookFilterPatternException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10958,7 +11156,13 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10974,6 +11178,9 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11079,7 +11286,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11095,6 +11308,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11212,7 +11428,13 @@ func awsAwsjson11_deserializeDocumentNotLatestPipelineExecutionException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11228,6 +11450,9 @@ func awsAwsjson11_deserializeDocumentNotLatestPipelineExecutionException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11403,7 +11628,13 @@ func awsAwsjson11_deserializeDocumentOutputVariablesSizeExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11419,6 +11650,9 @@ func awsAwsjson11_deserializeDocumentOutputVariablesSizeExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11734,7 +11968,13 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotFoundException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11750,6 +11990,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotFoundException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11774,7 +12017,13 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotStoppableException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11790,6 +12039,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotStoppableException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11814,7 +12066,13 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionOutdatedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11830,6 +12088,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionOutdatedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12138,7 +12399,13 @@ func awsAwsjson11_deserializeDocumentPipelineNameInUseException(v **types.Pipeli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12154,6 +12421,9 @@ func awsAwsjson11_deserializeDocumentPipelineNameInUseException(v **types.Pipeli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12178,7 +12448,13 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12194,6 +12470,9 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12566,7 +12845,13 @@ func awsAwsjson11_deserializeDocumentPipelineVersionNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12582,6 +12867,9 @@ func awsAwsjson11_deserializeDocumentPipelineVersionNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12678,7 +12966,13 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12694,6 +12988,9 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12873,7 +13170,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12889,6 +13192,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14700,7 +15006,13 @@ func awsAwsjson11_deserializeDocumentStageNotFoundException(v **types.StageNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14716,6 +15028,9 @@ func awsAwsjson11_deserializeDocumentStageNotFoundException(v **types.StageNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14740,7 +15055,13 @@ func awsAwsjson11_deserializeDocumentStageNotRetryableException(v **types.StageN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14756,6 +15077,9 @@ func awsAwsjson11_deserializeDocumentStageNotRetryableException(v **types.StageN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15270,7 +15594,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15286,6 +15616,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15384,7 +15717,13 @@ func awsAwsjson11_deserializeDocumentUnableToRollbackStageException(v **types.Un sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15400,6 +15739,9 @@ func awsAwsjson11_deserializeDocumentUnableToRollbackStageException(v **types.Un } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15424,7 +15766,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15440,6 +15788,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15707,13 +16058,22 @@ func awsAwsjson11_deserializeDocumentWebhookNotFoundException(v **types.WebhookN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codestarconnections/deserializers.go b/service/codestarconnections/deserializers.go index a636a8de0a7..4c65a14a9e3 100644 --- a/service/codestarconnections/deserializers.go +++ b/service/codestarconnections/deserializers.go @@ -3893,7 +3893,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3909,6 +3915,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3933,7 +3942,13 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3949,6 +3964,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3973,7 +3991,13 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3989,6 +4013,9 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4013,7 +4040,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4029,6 +4062,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4296,7 +4332,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4312,6 +4354,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4336,7 +4381,13 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4352,6 +4403,9 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4410,7 +4464,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4426,6 +4486,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4848,7 +4911,13 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4864,6 +4933,9 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4888,7 +4960,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4904,6 +4982,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5116,7 +5197,13 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5132,6 +5219,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5156,7 +5246,13 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5172,6 +5268,9 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5549,7 +5648,13 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5565,6 +5670,9 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5807,7 +5915,13 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5823,6 +5937,9 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5930,7 +6047,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5946,6 +6069,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5970,7 +6096,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5986,6 +6118,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6010,7 +6145,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6026,6 +6167,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6050,7 +6194,13 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6066,6 +6216,9 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/codestarnotifications/deserializers.go b/service/codestarnotifications/deserializers.go index eea7113c5da..b70dadb62bc 100644 --- a/service/codestarnotifications/deserializers.go +++ b/service/codestarnotifications/deserializers.go @@ -2326,7 +2326,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2342,6 +2348,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2366,7 +2375,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2382,6 +2397,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2406,7 +2424,13 @@ func awsRestjson1_deserializeDocumentConfigurationException(v **types.Configurat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2422,6 +2446,9 @@ func awsRestjson1_deserializeDocumentConfigurationException(v **types.Configurat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2547,7 +2574,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2563,6 +2596,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2587,7 +2623,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2603,6 +2645,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2710,7 +2755,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2726,6 +2777,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2750,7 +2804,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2766,6 +2826,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2918,7 +2981,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2934,6 +3003,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cognitoidentity/deserializers.go b/service/cognitoidentity/deserializers.go index 40ef576c580..7a7763dbfc2 100644 --- a/service/cognitoidentity/deserializers.go +++ b/service/cognitoidentity/deserializers.go @@ -3328,7 +3328,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3344,6 +3350,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3442,7 +3451,13 @@ func awsAwsjson11_deserializeDocumentDeveloperUserAlreadyRegisteredException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3458,6 +3473,9 @@ func awsAwsjson11_deserializeDocumentDeveloperUserAlreadyRegisteredException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3518,7 +3536,13 @@ func awsAwsjson11_deserializeDocumentExternalServiceException(v **types.External sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3534,6 +3558,9 @@ func awsAwsjson11_deserializeDocumentExternalServiceException(v **types.External } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3824,7 +3851,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3840,6 +3873,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3864,7 +3900,13 @@ func awsAwsjson11_deserializeDocumentInvalidIdentityPoolConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3880,6 +3922,9 @@ func awsAwsjson11_deserializeDocumentInvalidIdentityPoolConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3904,7 +3949,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3920,6 +3971,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3944,7 +3998,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3960,6 +4020,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4121,7 +4184,13 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4137,6 +4206,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4233,7 +4305,13 @@ func awsAwsjson11_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4249,6 +4327,9 @@ func awsAwsjson11_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4273,7 +4354,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4289,6 +4376,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4510,7 +4600,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4526,6 +4622,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index cb2d2f87f68..b8bb4d06013 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -15186,7 +15186,13 @@ func awsAwsjson11_deserializeDocumentAliasExistsException(v **types.AliasExistsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15202,6 +15208,9 @@ func awsAwsjson11_deserializeDocumentAliasExistsException(v **types.AliasExistsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16029,7 +16038,13 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryFailureException(v **types.Code sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16045,6 +16060,9 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryFailureException(v **types.Code } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16069,7 +16087,13 @@ func awsAwsjson11_deserializeDocumentCodeMismatchException(v **types.CodeMismatc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16085,6 +16109,9 @@ func awsAwsjson11_deserializeDocumentCodeMismatchException(v **types.CodeMismatc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16190,7 +16217,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16206,6 +16239,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16643,7 +16679,13 @@ func awsAwsjson11_deserializeDocumentDuplicateProviderException(v **types.Duplic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16659,6 +16701,9 @@ func awsAwsjson11_deserializeDocumentDuplicateProviderException(v **types.Duplic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16808,7 +16853,13 @@ func awsAwsjson11_deserializeDocumentEnableSoftwareTokenMFAException(v **types.E sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16824,6 +16875,9 @@ func awsAwsjson11_deserializeDocumentEnableSoftwareTokenMFAException(v **types.E } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17083,7 +17137,13 @@ func awsAwsjson11_deserializeDocumentExpiredCodeException(v **types.ExpiredCodeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17099,6 +17159,9 @@ func awsAwsjson11_deserializeDocumentExpiredCodeException(v **types.ExpiredCodeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17199,7 +17262,13 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17215,6 +17284,9 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17239,7 +17311,13 @@ func awsAwsjson11_deserializeDocumentGroupExistsException(v **types.GroupExistsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17255,6 +17333,9 @@ func awsAwsjson11_deserializeDocumentGroupExistsException(v **types.GroupExistsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17566,7 +17647,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17582,6 +17669,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17606,7 +17696,13 @@ func awsAwsjson11_deserializeDocumentInvalidEmailRoleAccessPolicyException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17622,6 +17718,9 @@ func awsAwsjson11_deserializeDocumentInvalidEmailRoleAccessPolicyException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17646,7 +17745,13 @@ func awsAwsjson11_deserializeDocumentInvalidLambdaResponseException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17662,6 +17767,9 @@ func awsAwsjson11_deserializeDocumentInvalidLambdaResponseException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17686,7 +17794,13 @@ func awsAwsjson11_deserializeDocumentInvalidOAuthFlowException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17702,6 +17816,9 @@ func awsAwsjson11_deserializeDocumentInvalidOAuthFlowException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17726,7 +17843,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17742,6 +17865,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17766,7 +17892,13 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17782,6 +17914,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17806,7 +17941,13 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleAccessPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17822,6 +17963,9 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleAccessPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17846,7 +17990,13 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleTrustRelationshipException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17862,6 +18012,9 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleTrustRelationshipException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17886,7 +18039,13 @@ func awsAwsjson11_deserializeDocumentInvalidUserPoolConfigurationException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17902,6 +18061,9 @@ func awsAwsjson11_deserializeDocumentInvalidUserPoolConfigurationException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18071,7 +18233,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18087,6 +18255,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18384,7 +18555,13 @@ func awsAwsjson11_deserializeDocumentMFAMethodNotFoundException(v **types.MFAMet sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18400,6 +18577,9 @@ func awsAwsjson11_deserializeDocumentMFAMethodNotFoundException(v **types.MFAMet } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18556,7 +18736,13 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18572,6 +18758,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18812,7 +19001,13 @@ func awsAwsjson11_deserializeDocumentPasswordHistoryPolicyViolationException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18828,6 +19023,9 @@ func awsAwsjson11_deserializeDocumentPasswordHistoryPolicyViolationException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18958,7 +19156,13 @@ func awsAwsjson11_deserializeDocumentPasswordResetRequiredException(v **types.Pa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18974,6 +19178,9 @@ func awsAwsjson11_deserializeDocumentPasswordResetRequiredException(v **types.Pa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18998,7 +19205,13 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19014,6 +19227,9 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19325,7 +19541,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19341,6 +19563,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19826,7 +20051,13 @@ func awsAwsjson11_deserializeDocumentScopeDoesNotExistException(v **types.ScopeD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19842,6 +20073,9 @@ func awsAwsjson11_deserializeDocumentScopeDoesNotExistException(v **types.ScopeD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20081,7 +20315,13 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMFANotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20097,6 +20337,9 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMFANotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20264,7 +20507,13 @@ func awsAwsjson11_deserializeDocumentTooManyFailedAttemptsException(v **types.To sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20280,6 +20529,9 @@ func awsAwsjson11_deserializeDocumentTooManyFailedAttemptsException(v **types.To } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20304,7 +20556,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20320,6 +20578,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20452,7 +20713,13 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20468,6 +20735,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20492,7 +20762,13 @@ func awsAwsjson11_deserializeDocumentUnexpectedLambdaException(v **types.Unexpec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20508,6 +20784,9 @@ func awsAwsjson11_deserializeDocumentUnexpectedLambdaException(v **types.Unexpec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20532,7 +20811,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedIdentityProviderException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20548,6 +20833,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedIdentityProviderException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20572,7 +20860,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20588,6 +20882,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20612,7 +20909,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedTokenTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20628,6 +20931,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedTokenTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20652,7 +20958,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20668,6 +20980,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20728,7 +21043,13 @@ func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.Use sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20744,6 +21065,9 @@ func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.Use } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20983,7 +21307,13 @@ func awsAwsjson11_deserializeDocumentUserLambdaValidationException(v **types.Use sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20999,6 +21329,9 @@ func awsAwsjson11_deserializeDocumentUserLambdaValidationException(v **types.Use } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21135,7 +21468,13 @@ func awsAwsjson11_deserializeDocumentUsernameExistsException(v **types.UsernameE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21151,6 +21490,9 @@ func awsAwsjson11_deserializeDocumentUsernameExistsException(v **types.UsernameE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21175,7 +21517,13 @@ func awsAwsjson11_deserializeDocumentUserNotConfirmedException(v **types.UserNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21191,6 +21539,9 @@ func awsAwsjson11_deserializeDocumentUserNotConfirmedException(v **types.UserNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21215,7 +21566,13 @@ func awsAwsjson11_deserializeDocumentUserNotFoundException(v **types.UserNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21231,6 +21588,9 @@ func awsAwsjson11_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21255,7 +21615,13 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnNotEnabledException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21271,6 +21637,9 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnNotEnabledException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21843,7 +22212,13 @@ func awsAwsjson11_deserializeDocumentUserPoolTaggingException(v **types.UserPool sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21859,6 +22234,9 @@ func awsAwsjson11_deserializeDocumentUserPoolTaggingException(v **types.UserPool } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/cognitosync/deserializers.go b/service/cognitosync/deserializers.go index a48705d6052..badfb807697 100644 --- a/service/cognitosync/deserializers.go +++ b/service/cognitosync/deserializers.go @@ -3361,7 +3361,13 @@ func awsRestjson1_deserializeDocumentAlreadyStreamedException(v **types.AlreadyS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3377,6 +3383,9 @@ func awsRestjson1_deserializeDocumentAlreadyStreamedException(v **types.AlreadyS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3495,7 +3504,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3511,6 +3526,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3685,7 +3703,13 @@ func awsRestjson1_deserializeDocumentDuplicateRequestException(v **types.Duplica sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3701,6 +3725,9 @@ func awsRestjson1_deserializeDocumentDuplicateRequestException(v **types.Duplica } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3968,7 +3995,13 @@ func awsRestjson1_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3984,6 +4017,9 @@ func awsRestjson1_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4008,7 +4044,13 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4024,6 +4066,9 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4048,7 +4093,13 @@ func awsRestjson1_deserializeDocumentInvalidLambdaFunctionOutputException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4064,6 +4115,9 @@ func awsRestjson1_deserializeDocumentInvalidLambdaFunctionOutputException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4088,7 +4142,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4104,6 +4164,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4128,7 +4191,13 @@ func awsRestjson1_deserializeDocumentLambdaThrottledException(v **types.LambdaTh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4144,6 +4213,9 @@ func awsRestjson1_deserializeDocumentLambdaThrottledException(v **types.LambdaTh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4168,7 +4240,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4184,6 +4262,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4244,7 +4325,13 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4260,6 +4347,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4466,7 +4556,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4482,6 +4578,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4506,7 +4605,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4522,6 +4627,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4546,7 +4654,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4562,6 +4676,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/comprehend/deserializers.go b/service/comprehend/deserializers.go index 3c34ef1d190..cc5961d99da 100644 --- a/service/comprehend/deserializers.go +++ b/service/comprehend/deserializers.go @@ -11491,7 +11491,13 @@ func awsAwsjson11_deserializeDocumentBatchSizeLimitExceededException(v **types.B sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11507,6 +11513,9 @@ func awsAwsjson11_deserializeDocumentBatchSizeLimitExceededException(v **types.B } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12294,7 +12303,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12310,6 +12325,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16785,7 +16803,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16801,6 +16825,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16825,7 +16852,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16841,6 +16874,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16905,7 +16941,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Detail": if err := awsAwsjson11_deserializeDocumentInvalidRequestDetail(&sv.Detail, value); err != nil { @@ -16935,6 +16977,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16959,7 +17004,13 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16975,6 +17026,9 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17283,7 +17337,13 @@ func awsAwsjson11_deserializeDocumentKmsKeyValidationException(v **types.KmsKeyV sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17299,6 +17359,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyValidationException(v **types.KmsKeyV } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19088,7 +19151,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19104,6 +19173,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19128,7 +19200,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19144,6 +19222,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19168,7 +19249,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19184,6 +19271,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19208,7 +19298,13 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19224,6 +19320,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20333,7 +20432,13 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20349,6 +20454,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20373,7 +20481,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20389,6 +20503,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20413,7 +20530,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20429,6 +20552,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20453,7 +20579,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20469,6 +20601,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20825,7 +20960,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguageException(v **types.Unsu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20841,6 +20982,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguageException(v **types.Unsu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/comprehendmedical/deserializers.go b/service/comprehendmedical/deserializers.go index 1ba986ea03b..3c2e72cd419 100644 --- a/service/comprehendmedical/deserializers.go +++ b/service/comprehendmedical/deserializers.go @@ -4777,7 +4777,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4793,6 +4799,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4817,7 +4826,13 @@ func awsAwsjson11_deserializeDocumentInvalidEncodingException(v **types.InvalidE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4833,6 +4848,9 @@ func awsAwsjson11_deserializeDocumentInvalidEncodingException(v **types.InvalidE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4857,7 +4875,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4873,6 +4897,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4946,7 +4973,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4962,6 +4995,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5586,7 +5622,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5602,6 +5644,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6307,7 +6352,13 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6323,6 +6374,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6347,7 +6401,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6363,6 +6423,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6574,7 +6637,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6590,6 +6659,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/computeoptimizer/deserializers.go b/service/computeoptimizer/deserializers.go index fb70c6e4746..54f7cb7feae 100644 --- a/service/computeoptimizer/deserializers.go +++ b/service/computeoptimizer/deserializers.go @@ -3776,7 +3776,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3792,6 +3798,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7548,7 +7557,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7564,6 +7579,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7588,7 +7606,13 @@ func awsAwsjson10_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7604,6 +7628,9 @@ func awsAwsjson10_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8846,7 +8873,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8862,6 +8895,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9087,7 +9123,13 @@ func awsAwsjson10_deserializeDocumentMissingAuthenticationToken(v **types.Missin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9103,6 +9145,9 @@ func awsAwsjson10_deserializeDocumentMissingAuthenticationToken(v **types.Missin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9127,7 +9172,13 @@ func awsAwsjson10_deserializeDocumentOptInRequiredException(v **types.OptInRequi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9143,6 +9194,9 @@ func awsAwsjson10_deserializeDocumentOptInRequiredException(v **types.OptInRequi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11287,7 +11341,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11303,6 +11363,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11584,7 +11647,13 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11600,6 +11669,9 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11820,7 +11892,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11836,6 +11914,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/configservice/deserializers.go b/service/configservice/deserializers.go index 9bee86d2e24..91bd2f1f136 100644 --- a/service/configservice/deserializers.go +++ b/service/configservice/deserializers.go @@ -16066,7 +16066,13 @@ func awsAwsjson11_deserializeDocumentConformancePackTemplateValidationException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16082,6 +16088,9 @@ func awsAwsjson11_deserializeDocumentConformancePackTemplateValidationException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17517,7 +17526,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17533,6 +17548,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17557,7 +17575,13 @@ func awsAwsjson11_deserializeDocumentInsufficientDeliveryPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17573,6 +17597,9 @@ func awsAwsjson11_deserializeDocumentInsufficientDeliveryPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17597,7 +17624,13 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17613,6 +17646,9 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17637,7 +17673,13 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationRecorderNameException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17653,6 +17695,9 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationRecorderNameException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17677,7 +17722,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeliveryChannelNameException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17693,6 +17744,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeliveryChannelNameException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17717,7 +17771,13 @@ func awsAwsjson11_deserializeDocumentInvalidExpressionException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17733,6 +17793,9 @@ func awsAwsjson11_deserializeDocumentInvalidExpressionException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17757,7 +17820,13 @@ func awsAwsjson11_deserializeDocumentInvalidLimitException(v **types.InvalidLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17773,6 +17842,9 @@ func awsAwsjson11_deserializeDocumentInvalidLimitException(v **types.InvalidLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17797,7 +17869,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17813,6 +17891,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17837,7 +17918,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17853,6 +17940,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17877,7 +17967,13 @@ func awsAwsjson11_deserializeDocumentInvalidRecordingGroupException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17893,6 +17989,9 @@ func awsAwsjson11_deserializeDocumentInvalidRecordingGroupException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17917,7 +18016,13 @@ func awsAwsjson11_deserializeDocumentInvalidResultTokenException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17933,6 +18038,9 @@ func awsAwsjson11_deserializeDocumentInvalidResultTokenException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17957,7 +18065,13 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17973,6 +18087,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17997,7 +18114,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3KeyPrefixException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18013,6 +18136,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3KeyPrefixException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18037,7 +18163,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3KmsKeyArnException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18053,6 +18185,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3KmsKeyArnException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18077,7 +18212,13 @@ func awsAwsjson11_deserializeDocumentInvalidSNSTopicARNException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18093,6 +18234,9 @@ func awsAwsjson11_deserializeDocumentInvalidSNSTopicARNException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18117,7 +18261,13 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18133,6 +18283,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18157,7 +18310,13 @@ func awsAwsjson11_deserializeDocumentLastDeliveryChannelDeleteFailedException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18173,6 +18332,9 @@ func awsAwsjson11_deserializeDocumentLastDeliveryChannelDeleteFailedException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18197,7 +18359,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18213,6 +18381,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18237,7 +18408,13 @@ func awsAwsjson11_deserializeDocumentMaxActiveResourcesExceededException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18253,6 +18430,9 @@ func awsAwsjson11_deserializeDocumentMaxActiveResourcesExceededException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18277,7 +18457,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigRulesExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18293,6 +18479,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigRulesExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18317,7 +18506,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigurationRecordersExceededEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18333,6 +18528,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigurationRecordersExceededEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18357,7 +18555,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConformancePacksExceededExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18373,6 +18577,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConformancePacksExceededExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18397,7 +18604,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfDeliveryChannelsExceededExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18413,6 +18626,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfDeliveryChannelsExceededExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18437,7 +18653,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConfigRulesExceededE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18453,6 +18675,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConfigRulesExceededE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18477,7 +18702,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConformancePacksExce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18493,6 +18724,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConformancePacksExce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18517,7 +18751,13 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfRetentionConfigurationsExceededE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18533,6 +18773,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfRetentionConfigurationsExceededE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18649,7 +18892,13 @@ func awsAwsjson11_deserializeDocumentNoAvailableConfigurationRecorderException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18665,6 +18914,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableConfigurationRecorderException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18689,7 +18941,13 @@ func awsAwsjson11_deserializeDocumentNoAvailableDeliveryChannelException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18705,6 +18963,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableDeliveryChannelException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18729,7 +18990,13 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18745,6 +19012,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18769,7 +19039,13 @@ func awsAwsjson11_deserializeDocumentNoRunningConfigurationRecorderException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18785,6 +19061,9 @@ func awsAwsjson11_deserializeDocumentNoRunningConfigurationRecorderException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18809,7 +19088,13 @@ func awsAwsjson11_deserializeDocumentNoSuchBucketException(v **types.NoSuchBucke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18825,6 +19110,9 @@ func awsAwsjson11_deserializeDocumentNoSuchBucketException(v **types.NoSuchBucke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18849,7 +19137,13 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleException(v **types.NoSuchC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18865,6 +19159,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleException(v **types.NoSuchC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18889,7 +19186,13 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleInConformancePackException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18905,6 +19208,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleInConformancePackException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18929,7 +19235,13 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationAggregatorException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18945,6 +19257,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationAggregatorException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18969,7 +19284,13 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationRecorderException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18985,6 +19306,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationRecorderException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19009,7 +19333,13 @@ func awsAwsjson11_deserializeDocumentNoSuchConformancePackException(v **types.No sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19025,6 +19355,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConformancePackException(v **types.No } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19049,7 +19382,13 @@ func awsAwsjson11_deserializeDocumentNoSuchDeliveryChannelException(v **types.No sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19065,6 +19404,9 @@ func awsAwsjson11_deserializeDocumentNoSuchDeliveryChannelException(v **types.No } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19089,7 +19431,13 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConfigRuleException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19105,6 +19453,9 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConfigRuleException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19129,7 +19480,13 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConformancePackException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19145,6 +19502,9 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConformancePackException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19169,7 +19529,13 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationConfigurationException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19185,6 +19551,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationConfigurationException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19209,7 +19578,13 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationExceptionException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19225,6 +19600,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationExceptionException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19249,7 +19627,13 @@ func awsAwsjson11_deserializeDocumentNoSuchRetentionConfigurationException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19265,6 +19649,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRetentionConfigurationException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19289,7 +19676,13 @@ func awsAwsjson11_deserializeDocumentOrganizationAccessDeniedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19305,6 +19698,9 @@ func awsAwsjson11_deserializeDocumentOrganizationAccessDeniedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19383,7 +19779,13 @@ func awsAwsjson11_deserializeDocumentOrganizationAllFeaturesNotEnabledException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19399,6 +19801,9 @@ func awsAwsjson11_deserializeDocumentOrganizationAllFeaturesNotEnabledException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20135,7 +20540,13 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackTemplateValidati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20151,6 +20562,9 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackTemplateValidati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20487,7 +20901,13 @@ func awsAwsjson11_deserializeDocumentOversizedConfigurationItemException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20503,6 +20923,9 @@ func awsAwsjson11_deserializeDocumentOversizedConfigurationItemException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21669,7 +22092,13 @@ func awsAwsjson11_deserializeDocumentRemediationInProgressException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21685,6 +22114,9 @@ func awsAwsjson11_deserializeDocumentRemediationInProgressException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21785,7 +22217,13 @@ func awsAwsjson11_deserializeDocumentResourceConcurrentModificationException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21801,6 +22239,9 @@ func awsAwsjson11_deserializeDocumentResourceConcurrentModificationException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22186,7 +22627,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22202,6 +22649,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22309,7 +22759,13 @@ func awsAwsjson11_deserializeDocumentResourceNotDiscoveredException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22325,6 +22781,9 @@ func awsAwsjson11_deserializeDocumentResourceNotDiscoveredException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22349,7 +22808,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22365,6 +22830,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23348,7 +23816,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23364,6 +23838,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23422,7 +23899,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23438,6 +23921,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index 48d828da409..0bbde03e380 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -39141,7 +39141,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -39157,6 +39163,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41582,7 +41591,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -41598,6 +41613,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42345,7 +42363,13 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42361,6 +42385,9 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42538,7 +42565,13 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42554,6 +42587,9 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -43712,7 +43748,13 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -43728,6 +43770,9 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -44081,7 +44126,13 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -44097,6 +44148,9 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48376,7 +48430,13 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -48392,6 +48452,9 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48996,7 +49059,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49012,6 +49081,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49036,7 +49108,13 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "problems": if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { @@ -49048,6 +49126,9 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49072,7 +49153,13 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Problems": if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { @@ -49084,6 +49171,9 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49108,7 +49198,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49124,6 +49220,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49148,7 +49247,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49169,6 +49274,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49677,7 +49785,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49693,6 +49807,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49899,7 +50016,13 @@ func awsRestjson1_deserializeDocumentMaximumResultReturnedException(v **types.Ma sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49915,6 +50038,9 @@ func awsRestjson1_deserializeDocumentMaximumResultReturnedException(v **types.Ma } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -50856,7 +50982,13 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -50872,6 +51004,9 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -50896,7 +51031,13 @@ func awsRestjson1_deserializeDocumentOutputTypeNotFoundException(v **types.Outpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -50912,6 +51053,9 @@ func awsRestjson1_deserializeDocumentOutputTypeNotFoundException(v **types.Outpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -51904,7 +52048,13 @@ func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.Prope sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -51925,6 +52075,9 @@ func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.Prope } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -54469,7 +54622,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -54485,6 +54644,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -54509,7 +54671,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -54543,6 +54711,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -54567,7 +54738,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -54583,6 +54760,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -54607,7 +54787,13 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -54623,6 +54809,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -56348,7 +56537,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -56364,6 +56559,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -57729,7 +57927,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -57745,6 +57949,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -57769,7 +57976,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -57785,6 +57998,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58807,7 +59023,13 @@ func awsRestjson1_deserializeDocumentUserNotFoundException(v **types.UserNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -58823,6 +59045,9 @@ func awsRestjson1_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/connectcampaigns/deserializers.go b/service/connectcampaigns/deserializers.go index cfabd5fb0c3..2e149cc0dc5 100644 --- a/service/connectcampaigns/deserializers.go +++ b/service/connectcampaigns/deserializers.go @@ -3496,7 +3496,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3521,6 +3527,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3842,7 +3851,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3867,6 +3882,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4296,7 +4314,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4321,6 +4345,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4345,7 +4372,13 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4379,6 +4412,9 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4403,7 +4439,13 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4428,6 +4470,9 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4713,7 +4758,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4738,6 +4789,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4762,7 +4816,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4787,6 +4847,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5013,7 +5076,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5038,6 +5107,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5062,7 +5134,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5087,6 +5165,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/connectcases/deserializers.go b/service/connectcases/deserializers.go index 0046fd364b0..9b38add068e 100644 --- a/service/connectcases/deserializers.go +++ b/service/connectcases/deserializers.go @@ -5664,7 +5664,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5680,6 +5686,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6334,7 +6343,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6350,6 +6365,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7547,7 +7565,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7576,6 +7600,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7982,7 +8009,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8016,6 +8049,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8312,7 +8348,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8328,6 +8370,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8489,7 +8534,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8505,6 +8556,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8571,7 +8625,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8587,6 +8647,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/connectcontactlens/deserializers.go b/service/connectcontactlens/deserializers.go index b862bf05832..760d203c372 100644 --- a/service/connectcontactlens/deserializers.go +++ b/service/connectcontactlens/deserializers.go @@ -402,7 +402,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -418,6 +424,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -576,7 +585,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -592,6 +607,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -616,7 +634,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -632,6 +656,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1026,7 +1053,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1042,6 +1075,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1066,7 +1102,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1082,6 +1124,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/connectparticipant/deserializers.go b/service/connectparticipant/deserializers.go index 8aea00d7339..593fe771ba9 100644 --- a/service/connectparticipant/deserializers.go +++ b/service/connectparticipant/deserializers.go @@ -1708,7 +1708,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1724,6 +1730,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1849,7 +1858,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1865,6 +1880,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1938,7 +1956,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1954,6 +1978,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2246,7 +2273,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2280,6 +2313,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2304,7 +2340,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2320,6 +2362,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2344,7 +2389,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2360,6 +2411,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2508,7 +2562,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2524,6 +2584,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/controlcatalog/deserializers.go b/service/controlcatalog/deserializers.go index a612845a2d5..fe1531ae02b 100644 --- a/service/controlcatalog/deserializers.go +++ b/service/controlcatalog/deserializers.go @@ -1109,7 +1109,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1125,6 +1131,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1633,7 +1642,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1649,6 +1664,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1847,7 +1865,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1863,6 +1887,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1887,7 +1914,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1903,6 +1936,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1927,7 +1963,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1943,6 +1985,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/controltower/deserializers.go b/service/controltower/deserializers.go index 7b7967ac2f7..6386edf92f6 100644 --- a/service/controltower/deserializers.go +++ b/service/controltower/deserializers.go @@ -4789,7 +4789,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4805,6 +4811,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5014,7 +5023,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5030,6 +5045,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5946,7 +5964,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5962,6 +5986,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6410,7 +6437,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6426,6 +6459,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6450,7 +6486,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6466,6 +6508,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6560,7 +6605,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6607,6 +6658,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6631,7 +6685,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6647,6 +6707,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/costandusagereportservice/deserializers.go b/service/costandusagereportservice/deserializers.go index d22a028e0d9..a5c585c2774 100644 --- a/service/costandusagereportservice/deserializers.go +++ b/service/costandusagereportservice/deserializers.go @@ -1073,7 +1073,13 @@ func awsAwsjson11_deserializeDocumentDuplicateReportNameException(v **types.Dupl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1089,6 +1095,9 @@ func awsAwsjson11_deserializeDocumentDuplicateReportNameException(v **types.Dupl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1113,7 +1122,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1129,6 +1144,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1323,7 +1341,13 @@ func awsAwsjson11_deserializeDocumentReportLimitReachedException(v **types.Repor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1339,6 +1363,9 @@ func awsAwsjson11_deserializeDocumentReportLimitReachedException(v **types.Repor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1412,7 +1439,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1428,6 +1461,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1571,7 +1607,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1587,6 +1629,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/costexplorer/deserializers.go b/service/costexplorer/deserializers.go index 6b6d90a2c82..e87abc9cd17 100644 --- a/service/costexplorer/deserializers.go +++ b/service/costexplorer/deserializers.go @@ -5859,7 +5859,13 @@ func awsAwsjson11_deserializeDocumentBackfillLimitExceededException(v **types.Ba sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5875,6 +5881,9 @@ func awsAwsjson11_deserializeDocumentBackfillLimitExceededException(v **types.Ba } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5899,7 +5908,13 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5915,6 +5930,9 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7401,7 +7419,13 @@ func awsAwsjson11_deserializeDocumentDataUnavailableException(v **types.DataUnav sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7417,6 +7441,9 @@ func awsAwsjson11_deserializeDocumentDataUnavailableException(v **types.DataUnav } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8519,7 +8546,13 @@ func awsAwsjson11_deserializeDocumentGenerationExistsException(v **types.Generat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8535,6 +8568,9 @@ func awsAwsjson11_deserializeDocumentGenerationExistsException(v **types.Generat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9089,7 +9125,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9105,6 +9147,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9165,7 +9210,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9181,6 +9232,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10162,7 +10216,13 @@ func awsAwsjson11_deserializeDocumentRequestChangedException(v **types.RequestCh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10178,6 +10238,9 @@ func awsAwsjson11_deserializeDocumentRequestChangedException(v **types.RequestCh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11131,7 +11194,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11156,6 +11225,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12876,7 +12948,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12892,6 +12970,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13329,7 +13410,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13354,6 +13441,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13378,7 +13468,13 @@ func awsAwsjson11_deserializeDocumentUnknownMonitorException(v **types.UnknownMo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13394,6 +13490,9 @@ func awsAwsjson11_deserializeDocumentUnknownMonitorException(v **types.UnknownMo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13418,7 +13517,13 @@ func awsAwsjson11_deserializeDocumentUnknownSubscriptionException(v **types.Unkn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13434,6 +13539,9 @@ func awsAwsjson11_deserializeDocumentUnknownSubscriptionException(v **types.Unkn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13458,7 +13566,13 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13474,6 +13588,9 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/costoptimizationhub/deserializers.go b/service/costoptimizationhub/deserializers.go index 9ebcb108222..37000420ef5 100644 --- a/service/costoptimizationhub/deserializers.go +++ b/service/costoptimizationhub/deserializers.go @@ -1068,7 +1068,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1084,6 +1090,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2592,7 +2601,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2608,6 +2623,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4444,7 +4462,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4469,6 +4493,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5139,7 +5166,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5155,6 +5188,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5314,7 +5350,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionDetails(&sv.Fields, value); err != nil { @@ -5344,6 +5386,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index 064b6a3bd17..bd0b1c6383e 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -10052,7 +10052,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10068,6 +10074,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10792,7 +10801,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10808,6 +10823,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11941,7 +11959,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11957,6 +11981,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13903,7 +13930,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13919,6 +13952,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14257,7 +14293,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14273,6 +14315,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index de72637373e..3c48bba4849 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -14082,7 +14082,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedFault(v **types.AccessDeniedFau sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14098,6 +14104,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedFault(v **types.AccessDeniedFau } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14677,7 +14686,13 @@ func awsAwsjson11_deserializeDocumentCollectorNotFoundFault(v **types.CollectorN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14693,6 +14708,9 @@ func awsAwsjson11_deserializeDocumentCollectorNotFoundFault(v **types.CollectorN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17888,7 +17906,13 @@ func awsAwsjson11_deserializeDocumentFailedDependencyFault(v **types.FailedDepen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17904,6 +17928,9 @@ func awsAwsjson11_deserializeDocumentFailedDependencyFault(v **types.FailedDepen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18708,7 +18735,13 @@ func awsAwsjson11_deserializeDocumentInsufficientResourceCapacityFault(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18724,6 +18757,9 @@ func awsAwsjson11_deserializeDocumentInsufficientResourceCapacityFault(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18788,7 +18824,13 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateFault(v **types.InvalidCe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18804,6 +18846,9 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateFault(v **types.InvalidCe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18828,7 +18873,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationFault(v **types.InvalidOper sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18844,6 +18895,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationFault(v **types.InvalidOper } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18868,7 +18922,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateFault(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18884,6 +18944,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateFault(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18908,7 +18971,13 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18924,6 +18993,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19341,7 +19413,13 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedFault(v **types.KMSAccessDen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19357,6 +19435,9 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedFault(v **types.KMSAccessDen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19381,7 +19462,13 @@ func awsAwsjson11_deserializeDocumentKMSDisabledFault(v **types.KMSDisabledFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19397,6 +19484,9 @@ func awsAwsjson11_deserializeDocumentKMSDisabledFault(v **types.KMSDisabledFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19421,7 +19511,13 @@ func awsAwsjson11_deserializeDocumentKMSFault(v **types.KMSFault, value interfac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19437,6 +19533,9 @@ func awsAwsjson11_deserializeDocumentKMSFault(v **types.KMSFault, value interfac } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19461,7 +19560,13 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateFault(v **types.KMSInvalidSt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19477,6 +19582,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateFault(v **types.KMSInvalidSt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19501,7 +19609,13 @@ func awsAwsjson11_deserializeDocumentKMSKeyNotAccessibleFault(v **types.KMSKeyNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19517,6 +19631,9 @@ func awsAwsjson11_deserializeDocumentKMSKeyNotAccessibleFault(v **types.KMSKeyNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19541,7 +19658,13 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundFault(v **types.KMSNotFoundFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19557,6 +19680,9 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundFault(v **types.KMSNotFoundFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19581,7 +19707,13 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingFault(v **types.KMSThrottlingF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19597,6 +19729,9 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingFault(v **types.KMSThrottlingF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24680,7 +24815,13 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroupDoesNotCoverEnoughAZs sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -24696,6 +24837,9 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroupDoesNotCoverEnoughAZs } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25818,7 +25962,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25843,6 +25993,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25867,7 +26020,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundFault(v **types.ResourceNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25883,6 +26042,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundFault(v **types.ResourceNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25952,7 +26114,13 @@ func awsAwsjson11_deserializeDocumentResourceQuotaExceededFault(v **types.Resour sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -25968,6 +26136,9 @@ func awsAwsjson11_deserializeDocumentResourceQuotaExceededFault(v **types.Resour } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25992,7 +26163,13 @@ func awsAwsjson11_deserializeDocumentS3AccessDeniedFault(v **types.S3AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26008,6 +26185,9 @@ func awsAwsjson11_deserializeDocumentS3AccessDeniedFault(v **types.S3AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26032,7 +26212,13 @@ func awsAwsjson11_deserializeDocumentS3ResourceNotFoundFault(v **types.S3Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26048,6 +26234,9 @@ func awsAwsjson11_deserializeDocumentS3ResourceNotFoundFault(v **types.S3Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26954,7 +27143,13 @@ func awsAwsjson11_deserializeDocumentSNSInvalidTopicFault(v **types.SNSInvalidTo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26970,6 +27165,9 @@ func awsAwsjson11_deserializeDocumentSNSInvalidTopicFault(v **types.SNSInvalidTo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26994,7 +27192,13 @@ func awsAwsjson11_deserializeDocumentSNSNoAuthorizationFault(v **types.SNSNoAuth sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27010,6 +27214,9 @@ func awsAwsjson11_deserializeDocumentSNSNoAuthorizationFault(v **types.SNSNoAuth } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27179,7 +27386,13 @@ func awsAwsjson11_deserializeDocumentStorageQuotaExceededFault(v **types.Storage sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27195,6 +27408,9 @@ func awsAwsjson11_deserializeDocumentStorageQuotaExceededFault(v **types.Storage } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27309,7 +27525,13 @@ func awsAwsjson11_deserializeDocumentSubnetAlreadyInUse(v **types.SubnetAlreadyI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27325,6 +27547,9 @@ func awsAwsjson11_deserializeDocumentSubnetAlreadyInUse(v **types.SubnetAlreadyI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28116,7 +28341,13 @@ func awsAwsjson11_deserializeDocumentUpgradeDependencyFailureFault(v **types.Upg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28132,6 +28363,9 @@ func awsAwsjson11_deserializeDocumentUpgradeDependencyFailureFault(v **types.Upg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/databrew/deserializers.go b/service/databrew/deserializers.go index 388a1019163..55ba056286d 100644 --- a/service/databrew/deserializers.go +++ b/service/databrew/deserializers.go @@ -8171,7 +8171,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8187,6 +8193,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8567,7 +8576,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8583,6 +8598,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9703,7 +9721,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9719,6 +9743,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11400,7 +11427,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11416,6 +11449,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12033,7 +12069,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12049,6 +12091,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12507,7 +12552,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12523,6 +12574,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/dataexchange/deserializers.go b/service/dataexchange/deserializers.go index 1d88ec82599..13fb29dbec0 100644 --- a/service/dataexchange/deserializers.go +++ b/service/dataexchange/deserializers.go @@ -7492,7 +7492,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7508,6 +7514,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8062,7 +8071,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8096,6 +8111,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9388,7 +9406,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9404,6 +9428,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10888,7 +10915,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10922,6 +10955,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11455,7 +11491,13 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "LimitName": if value != nil { @@ -11514,6 +11556,9 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11615,7 +11660,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11631,6 +11682,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11655,7 +11709,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ExceptionCause": if value != nil { @@ -11680,6 +11740,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/datapipeline/deserializers.go b/service/datapipeline/deserializers.go index ff93e8253a8..869348faf88 100644 --- a/service/datapipeline/deserializers.go +++ b/service/datapipeline/deserializers.go @@ -2574,7 +2574,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2590,6 +2596,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2614,7 +2623,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2630,6 +2645,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2899,7 +2917,13 @@ func awsAwsjson11_deserializeDocumentPipelineDeletedException(v **types.Pipeline sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2915,6 +2939,9 @@ func awsAwsjson11_deserializeDocumentPipelineDeletedException(v **types.Pipeline } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3124,7 +3151,13 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3140,6 +3173,9 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3370,7 +3406,13 @@ func awsAwsjson11_deserializeDocumentTaskNotFoundException(v **types.TaskNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3386,6 +3428,9 @@ func awsAwsjson11_deserializeDocumentTaskNotFoundException(v **types.TaskNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/datasync/deserializers.go b/service/datasync/deserializers.go index 6ee2dcf3ba2..1e7834e031d 100644 --- a/service/datasync/deserializers.go +++ b/service/datasync/deserializers.go @@ -7812,7 +7812,13 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -7837,6 +7843,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7861,7 +7870,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "datasyncErrorCode": if value != nil { @@ -7895,6 +7910,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/datazone/deserializers.go b/service/datazone/deserializers.go index 28e06014b80..11c0fbea749 100644 --- a/service/datazone/deserializers.go +++ b/service/datazone/deserializers.go @@ -29543,7 +29543,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29559,6 +29565,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31307,7 +31316,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -31323,6 +31338,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36152,7 +36170,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36168,6 +36192,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39535,7 +39562,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -39551,6 +39584,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40464,7 +40500,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -40480,6 +40522,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42120,7 +42165,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -42136,6 +42187,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42466,7 +42520,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -42482,6 +42542,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42785,7 +42848,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -42801,6 +42870,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/dax/deserializers.go b/service/dax/deserializers.go index efffefd973e..0ae0677022e 100644 --- a/service/dax/deserializers.go +++ b/service/dax/deserializers.go @@ -3786,7 +3786,13 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3802,6 +3808,9 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3860,7 +3869,13 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3876,6 +3891,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3900,7 +3918,13 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3916,6 +3940,9 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4110,7 +4137,13 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4126,6 +4159,9 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4150,7 +4186,13 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4166,6 +4208,9 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4190,7 +4235,13 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4206,6 +4257,9 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4230,7 +4284,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4246,6 +4306,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4270,7 +4333,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4286,6 +4355,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4310,7 +4382,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4326,6 +4404,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4350,7 +4431,13 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4366,6 +4453,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4390,7 +4480,13 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4406,6 +4502,9 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4588,7 +4687,13 @@ func awsAwsjson11_deserializeDocumentNodeNotFoundFault(v **types.NodeNotFoundFau sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4604,6 +4709,9 @@ func awsAwsjson11_deserializeDocumentNodeNotFoundFault(v **types.NodeNotFoundFau } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4628,7 +4736,13 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4644,6 +4758,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4668,7 +4785,13 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4684,6 +4807,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5006,7 +5132,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5022,6 +5154,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5080,7 +5215,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5096,6 +5237,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5120,7 +5264,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5136,6 +5286,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5331,7 +5484,13 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5347,6 +5506,9 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5371,13 +5533,22 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5554,7 +5725,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5570,6 +5747,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5594,7 +5774,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5610,6 +5796,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5668,7 +5857,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5684,6 +5879,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5708,7 +5906,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5724,6 +5928,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5748,7 +5955,13 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5764,6 +5977,9 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5822,7 +6038,13 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5838,6 +6060,9 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5945,7 +6170,13 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5961,6 +6192,9 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5985,7 +6219,13 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6001,6 +6241,9 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/deadline/deserializers.go b/service/deadline/deserializers.go index a1070754164..5c3bea00090 100644 --- a/service/deadline/deserializers.go +++ b/service/deadline/deserializers.go @@ -17363,7 +17363,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -17384,6 +17390,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18340,7 +18349,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -18388,6 +18403,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20412,7 +20430,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20441,6 +20465,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23274,7 +23301,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -23313,6 +23346,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23655,7 +23691,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -23721,6 +23763,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26514,7 +26559,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -26566,6 +26617,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26632,7 +26686,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { @@ -26667,6 +26727,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/detective/deserializers.go b/service/detective/deserializers.go index 912a406310c..8b42d543673 100644 --- a/service/detective/deserializers.go +++ b/service/detective/deserializers.go @@ -4512,7 +4512,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -4564,6 +4570,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4720,7 +4729,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4736,6 +4751,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5333,7 +5351,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5349,6 +5373,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6164,7 +6191,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6180,6 +6213,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6204,7 +6240,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6225,6 +6267,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6329,7 +6374,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6345,6 +6396,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6637,7 +6691,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6671,6 +6731,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/devicefarm/deserializers.go b/service/devicefarm/deserializers.go index dbe20780614..993e4c3d81b 100644 --- a/service/devicefarm/deserializers.go +++ b/service/devicefarm/deserializers.go @@ -9823,7 +9823,13 @@ func awsAwsjson11_deserializeDocumentArgumentException(v **types.ArgumentExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9839,6 +9845,9 @@ func awsAwsjson11_deserializeDocumentArgumentException(v **types.ArgumentExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9973,7 +9982,13 @@ func awsAwsjson11_deserializeDocumentCannotDeleteException(v **types.CannotDelet sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9989,6 +10004,9 @@ func awsAwsjson11_deserializeDocumentCannotDeleteException(v **types.CannotDelet } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11183,7 +11201,13 @@ func awsAwsjson11_deserializeDocumentIdempotencyException(v **types.IdempotencyE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11199,6 +11223,9 @@ func awsAwsjson11_deserializeDocumentIdempotencyException(v **types.IdempotencyE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11457,7 +11484,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11473,6 +11506,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11497,7 +11533,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11513,6 +11555,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11782,7 +11827,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11798,6 +11849,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12240,7 +12294,13 @@ func awsAwsjson11_deserializeDocumentNotEligibleException(v **types.NotEligibleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12256,6 +12316,9 @@ func awsAwsjson11_deserializeDocumentNotEligibleException(v **types.NotEligibleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12280,7 +12343,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12296,6 +12365,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14134,7 +14206,13 @@ func awsAwsjson11_deserializeDocumentServiceAccountException(v **types.ServiceAc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14150,6 +14228,9 @@ func awsAwsjson11_deserializeDocumentServiceAccountException(v **types.ServiceAc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14470,7 +14551,13 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14495,6 +14582,9 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14519,7 +14609,13 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14544,6 +14640,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15279,7 +15378,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15304,6 +15409,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/devopsguru/deserializers.go b/service/devopsguru/deserializers.go index 5105c70d88e..d6a38da15ca 100644 --- a/service/devopsguru/deserializers.go +++ b/service/devopsguru/deserializers.go @@ -5369,7 +5369,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5385,6 +5391,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6539,7 +6548,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6573,6 +6588,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7255,7 +7273,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7284,6 +7308,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10651,7 +10678,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10685,6 +10718,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10976,7 +11012,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10992,6 +11034,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11630,7 +11675,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11677,6 +11728,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11816,7 +11870,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { @@ -11846,6 +11906,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/directconnect/deserializers.go b/service/directconnect/deserializers.go index 6184d013e83..e16831841ac 100644 --- a/service/directconnect/deserializers.go +++ b/service/directconnect/deserializers.go @@ -8121,7 +8121,13 @@ func awsAwsjson11_deserializeDocumentDirectConnectClientException(v **types.Dire sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8137,6 +8143,9 @@ func awsAwsjson11_deserializeDocumentDirectConnectClientException(v **types.Dire } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8675,7 +8684,13 @@ func awsAwsjson11_deserializeDocumentDirectConnectServerException(v **types.Dire sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8691,6 +8706,9 @@ func awsAwsjson11_deserializeDocumentDirectConnectServerException(v **types.Dire } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8715,7 +8733,13 @@ func awsAwsjson11_deserializeDocumentDuplicateTagKeysException(v **types.Duplica sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8731,6 +8755,9 @@ func awsAwsjson11_deserializeDocumentDuplicateTagKeysException(v **types.Duplica } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9826,7 +9853,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9842,6 +9875,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/directoryservice/deserializers.go b/service/directoryservice/deserializers.go index 60153fed938..c0a6674a664 100644 --- a/service/directoryservice/deserializers.go +++ b/service/directoryservice/deserializers.go @@ -10080,7 +10080,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10105,6 +10111,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10248,7 +10257,13 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10273,6 +10288,9 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10446,7 +10464,13 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10471,6 +10495,9 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10495,7 +10522,13 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10520,6 +10553,9 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10627,7 +10663,13 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10652,6 +10694,9 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10676,7 +10721,13 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10701,6 +10752,9 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10898,7 +10952,13 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10923,6 +10983,9 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11089,7 +11152,13 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11114,6 +11183,9 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11138,7 +11210,13 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11163,6 +11241,9 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11589,7 +11670,13 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11614,6 +11701,9 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11638,7 +11728,13 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11663,6 +11759,9 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11687,7 +11786,13 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11712,6 +11817,9 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11872,7 +11980,13 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11897,6 +12011,9 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11921,7 +12038,13 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11946,6 +12069,9 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12245,7 +12371,13 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12270,6 +12402,9 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12328,7 +12463,13 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12353,6 +12494,9 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12377,7 +12521,13 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12402,6 +12552,9 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12543,7 +12696,13 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12568,6 +12727,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12592,7 +12754,13 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12617,6 +12785,9 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12641,7 +12812,13 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12666,6 +12843,9 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12690,7 +12870,13 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12715,6 +12901,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12739,7 +12928,13 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12764,6 +12959,9 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12788,7 +12986,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12813,6 +13017,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12837,7 +13044,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12862,6 +13075,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12886,7 +13102,13 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12911,6 +13133,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12935,7 +13160,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12960,6 +13191,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13112,7 +13346,13 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13137,6 +13377,9 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13393,7 +13636,13 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13418,6 +13667,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13442,7 +13694,13 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13467,6 +13725,9 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13848,7 +14109,13 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13873,6 +14140,9 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14154,7 +14424,13 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14179,6 +14455,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14537,7 +14816,13 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14562,6 +14847,9 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14678,7 +14966,13 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14703,6 +14997,9 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14912,7 +15209,13 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14937,6 +15240,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15180,7 +15486,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15205,6 +15517,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15229,7 +15544,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15254,6 +15575,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15457,7 +15781,13 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15482,6 +15812,9 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/directoryservicedata/deserializers.go b/service/directoryservicedata/deserializers.go index 64f8fdc5dac..f96bd371caf 100644 --- a/service/directoryservicedata/deserializers.go +++ b/service/directoryservicedata/deserializers.go @@ -3099,7 +3099,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3124,6 +3130,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3260,7 +3269,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3276,6 +3291,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3300,7 +3318,13 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3325,6 +3349,9 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3565,7 +3592,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3581,6 +3614,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3697,7 +3733,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3713,6 +3755,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3773,7 +3818,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3802,6 +3853,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4078,7 +4132,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4103,6 +4163,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/dlm/deserializers.go b/service/dlm/deserializers.go index 8211cc22e96..49d231c7bdd 100644 --- a/service/dlm/deserializers.go +++ b/service/dlm/deserializers.go @@ -2302,7 +2302,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -2327,6 +2333,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2351,7 +2360,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -2386,6 +2401,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2655,7 +2673,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -2689,6 +2713,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3022,7 +3049,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -3061,6 +3094,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/docdbelastic/deserializers.go b/service/docdbelastic/deserializers.go index da3ba4c0158..6dd189f0e8a 100644 --- a/service/docdbelastic/deserializers.go +++ b/service/docdbelastic/deserializers.go @@ -3355,7 +3355,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3371,6 +3377,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3907,7 +3916,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3941,6 +3956,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3965,7 +3983,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3981,6 +4005,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4124,7 +4151,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4158,6 +4191,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4261,7 +4297,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4277,6 +4319,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4465,7 +4510,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4494,6 +4545,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4518,7 +4572,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -4548,6 +4608,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/drs/deserializers.go b/service/drs/deserializers.go index fa04ec3c086..e0fe77c7d4d 100644 --- a/service/drs/deserializers.go +++ b/service/drs/deserializers.go @@ -8956,7 +8956,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -8981,6 +8987,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9079,7 +9088,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -9122,6 +9137,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10018,7 +10036,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10047,6 +10071,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13152,7 +13179,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13195,6 +13228,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13219,7 +13255,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13280,6 +13322,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14048,7 +14093,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14091,6 +14142,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14115,7 +14169,13 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -14140,6 +14200,9 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14164,7 +14227,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -14203,6 +14272,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/dynamodb/deserializers.go b/service/dynamodb/deserializers.go index 2ef4bf22c1d..ebb0df9fb54 100644 --- a/service/dynamodb/deserializers.go +++ b/service/dynamodb/deserializers.go @@ -8838,7 +8838,13 @@ func awsAwsjson10_deserializeDocumentBackupInUseException(v **types.BackupInUseE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8854,6 +8860,9 @@ func awsAwsjson10_deserializeDocumentBackupInUseException(v **types.BackupInUseE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8878,7 +8887,13 @@ func awsAwsjson10_deserializeDocumentBackupNotFoundException(v **types.BackupNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8894,6 +8909,9 @@ func awsAwsjson10_deserializeDocumentBackupNotFoundException(v **types.BackupNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9615,7 +9633,13 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { @@ -9636,6 +9660,9 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9896,7 +9923,13 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsUnavailableException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9912,6 +9945,9 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsUnavailableException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10181,7 +10217,13 @@ func awsAwsjson10_deserializeDocumentDuplicateItemException(v **types.DuplicateI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10197,6 +10239,9 @@ func awsAwsjson10_deserializeDocumentDuplicateItemException(v **types.DuplicateI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10348,7 +10393,13 @@ func awsAwsjson10_deserializeDocumentExportConflictException(v **types.ExportCon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10364,6 +10415,9 @@ func awsAwsjson10_deserializeDocumentExportConflictException(v **types.ExportCon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10633,7 +10687,13 @@ func awsAwsjson10_deserializeDocumentExportNotFoundException(v **types.ExportNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10649,6 +10709,9 @@ func awsAwsjson10_deserializeDocumentExportNotFoundException(v **types.ExportNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11230,7 +11293,13 @@ func awsAwsjson10_deserializeDocumentGlobalTableAlreadyExistsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11246,6 +11315,9 @@ func awsAwsjson10_deserializeDocumentGlobalTableAlreadyExistsException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11383,7 +11455,13 @@ func awsAwsjson10_deserializeDocumentGlobalTableNotFoundException(v **types.Glob sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11399,6 +11477,9 @@ func awsAwsjson10_deserializeDocumentGlobalTableNotFoundException(v **types.Glob } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11423,7 +11504,13 @@ func awsAwsjson10_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11439,6 +11526,9 @@ func awsAwsjson10_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11463,7 +11553,13 @@ func awsAwsjson10_deserializeDocumentImportConflictException(v **types.ImportCon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11479,6 +11575,9 @@ func awsAwsjson10_deserializeDocumentImportConflictException(v **types.ImportCon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11503,7 +11602,13 @@ func awsAwsjson10_deserializeDocumentImportNotFoundException(v **types.ImportNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11519,6 +11624,9 @@ func awsAwsjson10_deserializeDocumentImportNotFoundException(v **types.ImportNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11982,7 +12090,13 @@ func awsAwsjson10_deserializeDocumentIndexNotFoundException(v **types.IndexNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11998,6 +12112,9 @@ func awsAwsjson10_deserializeDocumentIndexNotFoundException(v **types.IndexNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12058,7 +12175,13 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12074,6 +12197,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12098,7 +12224,13 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12114,6 +12246,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12138,7 +12273,13 @@ func awsAwsjson10_deserializeDocumentInvalidExportTimeException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12154,6 +12295,9 @@ func awsAwsjson10_deserializeDocumentInvalidExportTimeException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12178,7 +12322,13 @@ func awsAwsjson10_deserializeDocumentInvalidRestoreTimeException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12194,6 +12344,9 @@ func awsAwsjson10_deserializeDocumentInvalidRestoreTimeException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12422,7 +12575,13 @@ func awsAwsjson10_deserializeDocumentItemCollectionSizeLimitExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12438,6 +12597,9 @@ func awsAwsjson10_deserializeDocumentItemCollectionSizeLimitExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12878,7 +13040,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12894,6 +13062,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13466,7 +13637,13 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryUnavailableException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13482,6 +13659,9 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryUnavailableException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13506,7 +13686,13 @@ func awsAwsjson10_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13522,6 +13708,9 @@ func awsAwsjson10_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13750,7 +13939,13 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13766,6 +13961,9 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13944,7 +14142,13 @@ func awsAwsjson10_deserializeDocumentReplicaAlreadyExistsException(v **types.Rep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13960,6 +14164,9 @@ func awsAwsjson10_deserializeDocumentReplicaAlreadyExistsException(v **types.Rep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14558,7 +14765,13 @@ func awsAwsjson10_deserializeDocumentReplicaNotFoundException(v **types.ReplicaN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14574,6 +14787,9 @@ func awsAwsjson10_deserializeDocumentReplicaNotFoundException(v **types.ReplicaN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14732,7 +14948,13 @@ func awsAwsjson10_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14748,6 +14970,9 @@ func awsAwsjson10_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14772,7 +14997,13 @@ func awsAwsjson10_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14788,6 +15019,9 @@ func awsAwsjson10_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14812,7 +15046,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14828,6 +15068,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15416,7 +15659,13 @@ func awsAwsjson10_deserializeDocumentTableAlreadyExistsException(v **types.Table sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15432,6 +15681,9 @@ func awsAwsjson10_deserializeDocumentTableAlreadyExistsException(v **types.Table } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15855,7 +16107,13 @@ func awsAwsjson10_deserializeDocumentTableInUseException(v **types.TableInUseExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15871,6 +16129,9 @@ func awsAwsjson10_deserializeDocumentTableInUseException(v **types.TableInUseExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15931,7 +16192,13 @@ func awsAwsjson10_deserializeDocumentTableNotFoundException(v **types.TableNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15947,6 +16214,9 @@ func awsAwsjson10_deserializeDocumentTableNotFoundException(v **types.TableNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16152,7 +16422,13 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "CancellationReasons": if err := awsAwsjson10_deserializeDocumentCancellationReasonList(&sv.CancellationReasons, value); err != nil { @@ -16173,6 +16449,9 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16197,7 +16476,13 @@ func awsAwsjson10_deserializeDocumentTransactionConflictException(v **types.Tran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16213,6 +16498,9 @@ func awsAwsjson10_deserializeDocumentTransactionConflictException(v **types.Tran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16237,7 +16525,13 @@ func awsAwsjson10_deserializeDocumentTransactionInProgressException(v **types.Tr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16253,6 +16547,9 @@ func awsAwsjson10_deserializeDocumentTransactionInProgressException(v **types.Tr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/dynamodbstreams/deserializers.go b/service/dynamodbstreams/deserializers.go index 8cb3716edba..053158db9f2 100644 --- a/service/dynamodbstreams/deserializers.go +++ b/service/dynamodbstreams/deserializers.go @@ -901,7 +901,13 @@ func awsAwsjson10_deserializeDocumentExpiredIteratorException(v **types.ExpiredI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -917,6 +923,9 @@ func awsAwsjson10_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -990,7 +999,13 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1006,6 +1021,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1113,7 +1131,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1129,6 +1153,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1375,7 +1402,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1391,6 +1424,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1884,7 +1920,13 @@ func awsAwsjson10_deserializeDocumentTrimmedDataAccessException(v **types.Trimme sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1900,6 +1942,9 @@ func awsAwsjson10_deserializeDocumentTrimmedDataAccessException(v **types.Trimme } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ebs/deserializers.go b/service/ebs/deserializers.go index fd526d54cce..81530f5e043 100644 --- a/service/ebs/deserializers.go +++ b/service/ebs/deserializers.go @@ -1497,7 +1497,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1522,6 +1528,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1729,7 +1738,13 @@ func awsRestjson1_deserializeDocumentConcurrentLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1745,6 +1760,9 @@ func awsRestjson1_deserializeDocumentConcurrentLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1769,7 +1787,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1785,6 +1809,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1809,7 +1836,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1825,6 +1858,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1849,7 +1885,13 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1874,6 +1916,9 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1898,7 +1943,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1923,6 +1974,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1947,7 +2001,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1972,6 +2032,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2079,7 +2142,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2104,6 +2173,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ec2instanceconnect/deserializers.go b/service/ec2instanceconnect/deserializers.go index d88f05962c1..dfd8c51bbe1 100644 --- a/service/ec2instanceconnect/deserializers.go +++ b/service/ec2instanceconnect/deserializers.go @@ -742,7 +742,13 @@ func awsAwsjson11_deserializeDocumentAuthException(v **types.AuthException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -758,6 +764,9 @@ func awsAwsjson11_deserializeDocumentAuthException(v **types.AuthException, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -782,7 +791,13 @@ func awsAwsjson11_deserializeDocumentEC2InstanceNotFoundException(v **types.EC2I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -798,6 +813,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceNotFoundException(v **types.EC2I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -822,7 +840,13 @@ func awsAwsjson11_deserializeDocumentEC2InstanceStateInvalidException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -838,6 +862,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceStateInvalidException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -862,7 +889,13 @@ func awsAwsjson11_deserializeDocumentEC2InstanceTypeInvalidException(v **types.E sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -878,6 +911,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceTypeInvalidException(v **types.E } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -902,7 +938,13 @@ func awsAwsjson11_deserializeDocumentEC2InstanceUnavailableException(v **types.E sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -918,6 +960,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceUnavailableException(v **types.E } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -942,7 +987,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -958,6 +1009,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -982,7 +1036,13 @@ func awsAwsjson11_deserializeDocumentSerialConsoleAccessDisabledException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -998,6 +1058,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleAccessDisabledException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1022,7 +1085,13 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionLimitExceededException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1038,6 +1107,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionLimitExceededException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1062,7 +1134,13 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnavailableException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1078,6 +1156,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnavailableException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1102,7 +1183,13 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnsupportedException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1118,6 +1205,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnsupportedException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1142,7 +1232,13 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1158,6 +1254,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1182,7 +1281,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1198,6 +1303,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ecr/deserializers.go b/service/ecr/deserializers.go index fb92e5f4dbf..f46f19caae4 100644 --- a/service/ecr/deserializers.go +++ b/service/ecr/deserializers.go @@ -8005,7 +8005,13 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8021,6 +8027,9 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8503,7 +8512,13 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8519,6 +8534,9 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8713,7 +8731,13 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8729,6 +8753,9 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8958,7 +8985,13 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8974,6 +9007,9 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9440,7 +9476,13 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9456,6 +9498,9 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9552,7 +9597,13 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9568,6 +9619,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9592,7 +9646,13 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "lastValidByteReceived": if value != nil { @@ -9648,6 +9708,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9672,7 +9735,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9688,6 +9757,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9712,7 +9784,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9728,6 +9806,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9752,7 +9833,13 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "kmsError": if value != nil { @@ -9777,6 +9864,9 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9872,7 +9962,13 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9888,6 +9984,9 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10004,7 +10103,13 @@ func awsAwsjson11_deserializeDocumentLayerInaccessibleException(v **types.LayerI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10020,6 +10125,9 @@ func awsAwsjson11_deserializeDocumentLayerInaccessibleException(v **types.LayerI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10078,7 +10186,13 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10094,6 +10208,9 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10118,7 +10235,13 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10134,6 +10257,9 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10158,7 +10284,13 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10174,6 +10306,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10198,7 +10333,13 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewInProgressException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10214,6 +10355,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewInProgressException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10238,7 +10382,13 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewNotFoundException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10254,6 +10404,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewNotFoundException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10475,7 +10628,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10491,6 +10650,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10742,7 +10904,13 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleAlreadyExistsException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10758,6 +10926,9 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleAlreadyExistsException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10816,7 +10987,13 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleNotFoundException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10832,6 +11009,9 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleNotFoundException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10941,7 +11121,13 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10957,6 +11143,9 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11017,7 +11206,13 @@ func awsAwsjson11_deserializeDocumentRegistryPolicyNotFoundException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11033,6 +11228,9 @@ func awsAwsjson11_deserializeDocumentRegistryPolicyNotFoundException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11549,7 +11747,13 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11565,6 +11769,9 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11872,7 +12079,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11888,6 +12101,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11912,7 +12128,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11928,6 +12150,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11952,7 +12177,13 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11968,6 +12199,9 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12402,7 +12636,13 @@ func awsAwsjson11_deserializeDocumentScanNotFoundException(v **types.ScanNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12418,6 +12658,9 @@ func awsAwsjson11_deserializeDocumentScanNotFoundException(v **types.ScanNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12478,7 +12721,13 @@ func awsAwsjson11_deserializeDocumentSecretNotFoundException(v **types.SecretNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12494,6 +12743,9 @@ func awsAwsjson11_deserializeDocumentSecretNotFoundException(v **types.SecretNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12518,7 +12770,13 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12534,6 +12792,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12677,7 +12938,13 @@ func awsAwsjson11_deserializeDocumentTemplateAlreadyExistsException(v **types.Te sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12693,6 +12960,9 @@ func awsAwsjson11_deserializeDocumentTemplateAlreadyExistsException(v **types.Te } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12717,7 +12987,13 @@ func awsAwsjson11_deserializeDocumentTemplateNotFoundException(v **types.Templat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12733,6 +13009,9 @@ func awsAwsjson11_deserializeDocumentTemplateNotFoundException(v **types.Templat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12757,7 +13036,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12773,6 +13058,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12797,7 +13085,13 @@ func awsAwsjson11_deserializeDocumentUnableToAccessSecretException(v **types.Una sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12813,6 +13107,9 @@ func awsAwsjson11_deserializeDocumentUnableToAccessSecretException(v **types.Una } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12837,7 +13134,13 @@ func awsAwsjson11_deserializeDocumentUnableToDecryptSecretValueException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12853,6 +13156,9 @@ func awsAwsjson11_deserializeDocumentUnableToDecryptSecretValueException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12877,7 +13183,13 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamImageException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12893,6 +13205,9 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamImageException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12917,7 +13232,13 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamLayerException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12933,6 +13254,9 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamLayerException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12957,7 +13281,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedImageTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12973,6 +13303,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedImageTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12997,7 +13330,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedUpstreamRegistryException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13013,6 +13352,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedUpstreamRegistryException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13037,7 +13379,13 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13053,6 +13401,9 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13077,7 +13428,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13093,6 +13450,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ecrpublic/deserializers.go b/service/ecrpublic/deserializers.go index f352ab62dfe..33f85ea6823 100644 --- a/service/ecrpublic/deserializers.go +++ b/service/ecrpublic/deserializers.go @@ -3819,7 +3819,13 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3835,6 +3841,9 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3931,7 +3940,13 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3947,6 +3962,9 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4115,7 +4133,13 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4131,6 +4155,9 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4326,7 +4353,13 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4342,6 +4375,9 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4366,7 +4402,13 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4382,6 +4424,9 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4537,7 +4582,13 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4553,6 +4604,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4577,7 +4631,13 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "lastValidByteReceived": if value != nil { @@ -4633,6 +4693,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4657,7 +4720,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4673,6 +4742,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4697,7 +4769,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4713,6 +4791,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4808,7 +4889,13 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4824,6 +4911,9 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4974,7 +5064,13 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4990,6 +5086,9 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5014,7 +5113,13 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5030,6 +5135,9 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5054,7 +5162,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5070,6 +5184,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5217,7 +5334,13 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5233,6 +5356,9 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5504,7 +5630,13 @@ func awsAwsjson11_deserializeDocumentRegistryNotFoundException(v **types.Registr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5520,6 +5652,9 @@ func awsAwsjson11_deserializeDocumentRegistryNotFoundException(v **types.Registr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5627,7 +5762,13 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5643,6 +5784,9 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5753,7 +5897,13 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogDataNotFoundException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5769,6 +5919,9 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogDataNotFoundException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5827,7 +5980,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5843,6 +6002,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5867,7 +6029,13 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5883,6 +6051,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5907,7 +6078,13 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5923,6 +6100,9 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5947,7 +6127,13 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5963,6 +6149,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6070,7 +6259,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6086,6 +6281,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6110,7 +6308,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedCommandException(v **types.Unsup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6126,6 +6330,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedCommandException(v **types.Unsup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6150,7 +6357,13 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6166,6 +6379,9 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/efs/deserializers.go b/service/efs/deserializers.go index 083e9cf68d0..9ed3ce4230a 100644 --- a/service/efs/deserializers.go +++ b/service/efs/deserializers.go @@ -6381,7 +6381,13 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "AccessPointId": if value != nil { @@ -6415,6 +6421,9 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6582,7 +6591,13 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6607,6 +6622,9 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6631,7 +6649,13 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6656,6 +6680,9 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6680,7 +6707,13 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6705,6 +6738,9 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6769,7 +6805,13 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6794,6 +6836,9 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6818,7 +6863,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6843,6 +6894,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6933,7 +6987,13 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -6958,6 +7018,9 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7090,7 +7153,13 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7124,6 +7193,9 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7399,7 +7471,13 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7424,6 +7502,9 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7448,7 +7529,13 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7473,6 +7560,9 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7497,7 +7587,13 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7522,6 +7618,9 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7685,7 +7784,13 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7710,6 +7815,9 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7734,7 +7842,13 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7759,6 +7873,9 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7783,7 +7900,13 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7808,6 +7931,9 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7832,7 +7958,13 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7857,6 +7989,9 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7881,7 +8016,13 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7906,6 +8047,9 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7930,7 +8074,13 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7955,6 +8105,9 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8071,7 +8224,13 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8096,6 +8255,9 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8275,7 +8437,13 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8300,6 +8468,9 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8324,7 +8495,13 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8349,6 +8526,9 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8373,7 +8553,13 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8398,6 +8584,9 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8422,7 +8611,13 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8447,6 +8642,9 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8533,7 +8731,13 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8558,6 +8762,9 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8704,7 +8911,13 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8729,6 +8942,9 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8919,7 +9135,13 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8944,6 +9166,9 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8968,7 +9193,13 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -8993,6 +9224,9 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9053,7 +9287,13 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9078,6 +9318,9 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9185,7 +9428,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9210,6 +9459,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9234,7 +9486,13 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9259,6 +9517,9 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9283,7 +9544,13 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9308,6 +9575,9 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9332,7 +9602,13 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9357,6 +9633,9 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9381,7 +9660,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -9406,6 +9691,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/eks/deserializers.go b/service/eks/deserializers.go index f824a001390..44c54350bdd 100644 --- a/service/eks/deserializers.go +++ b/service/eks/deserializers.go @@ -9610,7 +9610,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9626,6 +9632,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10697,7 +10706,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10713,6 +10728,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10777,7 +10795,13 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -10829,6 +10853,9 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12955,7 +12982,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -13016,6 +13049,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13040,7 +13076,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -13092,6 +13134,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13976,7 +14021,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13992,6 +14043,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14608,7 +14662,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -14651,6 +14711,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14675,7 +14738,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "clusterName": if value != nil { @@ -14718,6 +14787,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14742,7 +14814,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -14803,6 +14881,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14827,7 +14908,13 @@ func awsRestjson1_deserializeDocumentResourcePropagationDelayException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14843,6 +14930,9 @@ func awsRestjson1_deserializeDocumentResourcePropagationDelayException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14867,7 +14957,13 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "addonName": if value != nil { @@ -14919,6 +15015,9 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14943,7 +15042,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14959,6 +15064,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15147,7 +15255,13 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "clusterName": if value != nil { @@ -15186,6 +15300,9 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/eksauth/deserializers.go b/service/eksauth/deserializers.go index 1f69fcb7c3e..04a5c815d72 100644 --- a/service/eksauth/deserializers.go +++ b/service/eksauth/deserializers.go @@ -573,7 +573,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -589,6 +595,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -736,7 +745,13 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -752,6 +767,9 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -776,7 +794,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -792,6 +816,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -816,7 +843,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -832,6 +865,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -856,7 +892,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -872,6 +914,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -896,7 +941,13 @@ func awsRestjson1_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -912,6 +963,9 @@ func awsRestjson1_deserializeDocumentInvalidTokenException(v **types.InvalidToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -985,7 +1039,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1001,6 +1061,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1025,7 +1088,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1041,6 +1110,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1114,7 +1186,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1130,6 +1208,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/elasticinference/deserializers.go b/service/elasticinference/deserializers.go index aa61a89e6a7..c2cadf79622 100644 --- a/service/elasticinference/deserializers.go +++ b/service/elasticinference/deserializers.go @@ -1156,7 +1156,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1172,6 +1178,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1342,7 +1351,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1358,6 +1373,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1479,7 +1497,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1495,6 +1519,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/elasticsearchservice/deserializers.go b/service/elasticsearchservice/deserializers.go index 65673436f41..aeb2774762e 100644 --- a/service/elasticsearchservice/deserializers.go +++ b/service/elasticsearchservice/deserializers.go @@ -8738,7 +8738,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8754,6 +8760,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9639,7 +9648,13 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9655,6 +9670,9 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10332,7 +10350,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10348,6 +10372,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10372,7 +10399,13 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10388,6 +10421,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12139,7 +12175,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12155,6 +12197,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12179,7 +12224,13 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12195,6 +12246,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12219,7 +12273,13 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12235,6 +12295,9 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12295,7 +12358,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12311,6 +12380,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13793,7 +13865,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13809,6 +13887,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13833,7 +13914,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13849,6 +13936,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14779,7 +14869,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14795,6 +14891,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/elastictranscoder/deserializers.go b/service/elastictranscoder/deserializers.go index 425accdf779..3a0ff31977f 100644 --- a/service/elastictranscoder/deserializers.go +++ b/service/elastictranscoder/deserializers.go @@ -3017,7 +3017,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3033,6 +3039,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3959,7 +3968,13 @@ func awsRestjson1_deserializeDocumentIncompatibleVersionException(v **types.Inco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3975,6 +3990,9 @@ func awsRestjson1_deserializeDocumentIncompatibleVersionException(v **types.Inco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4044,7 +4062,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4060,6 +4084,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4751,7 +4778,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4767,6 +4800,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5678,7 +5714,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5694,6 +5736,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5718,7 +5763,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5734,6 +5785,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6016,7 +6070,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6032,6 +6092,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index 6162f2791fe..359935dc072 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -10258,13 +10258,22 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10289,7 +10298,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10305,6 +10320,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10329,7 +10347,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -10354,6 +10378,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/emrcontainers/deserializers.go b/service/emrcontainers/deserializers.go index 6e75c8328b9..104e53074e1 100644 --- a/service/emrcontainers/deserializers.go +++ b/service/emrcontainers/deserializers.go @@ -4446,7 +4446,13 @@ func awsRestjson1_deserializeDocumentEKSRequestThrottledException(v **types.EKSR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4462,6 +4468,9 @@ func awsRestjson1_deserializeDocumentEKSRequestThrottledException(v **types.EKSR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4773,7 +4782,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4789,6 +4804,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5605,7 +5623,13 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5621,6 +5645,9 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5645,7 +5672,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5661,6 +5694,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6375,7 +6411,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6391,6 +6433,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/emrserverless/deserializers.go b/service/emrserverless/deserializers.go index 08f7f1a2063..d7d22b5814f 100644 --- a/service/emrserverless/deserializers.go +++ b/service/emrserverless/deserializers.go @@ -3183,7 +3183,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3199,6 +3205,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3499,7 +3508,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3515,6 +3530,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4668,7 +4686,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4684,6 +4708,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5076,7 +5103,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5092,6 +5125,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5375,7 +5411,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5391,6 +5433,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/entityresolution/deserializers.go b/service/entityresolution/deserializers.go index eb7d1d57af7..942a1f22199 100644 --- a/service/entityresolution/deserializers.go +++ b/service/entityresolution/deserializers.go @@ -7389,7 +7389,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7405,6 +7411,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7465,7 +7474,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7481,6 +7496,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7738,7 +7756,13 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7776,6 +7800,9 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8991,7 +9018,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9007,6 +9040,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10383,7 +10419,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10399,6 +10441,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10903,7 +10948,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10919,6 +10970,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10943,7 +10997,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10959,6 +11019,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/eventbridge/deserializers.go b/service/eventbridge/deserializers.go index 309e2432cc6..7208e231487 100644 --- a/service/eventbridge/deserializers.go +++ b/service/eventbridge/deserializers.go @@ -7587,7 +7587,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7603,6 +7609,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9165,7 +9174,13 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9181,6 +9196,9 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9250,7 +9268,13 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9266,6 +9290,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9290,7 +9317,13 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9306,6 +9339,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9330,7 +9366,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9346,6 +9388,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9410,7 +9455,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9426,6 +9477,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9450,7 +9504,13 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9466,6 +9526,9 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9526,7 +9589,13 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9542,6 +9611,9 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9966,7 +10038,13 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9982,6 +10060,9 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10842,7 +10923,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10858,6 +10945,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10882,7 +10972,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10898,6 +10994,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/evidently/deserializers.go b/service/evidently/deserializers.go index abbf93c2afb..8216b69aa03 100644 --- a/service/evidently/deserializers.go +++ b/service/evidently/deserializers.go @@ -6191,7 +6191,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6207,6 +6213,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6271,7 +6280,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6305,6 +6320,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7554,7 +7572,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7570,6 +7594,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8910,7 +8937,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8944,6 +8977,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9400,7 +9436,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9452,6 +9494,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9476,7 +9521,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9492,6 +9543,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9552,7 +9606,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9586,6 +9646,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9781,7 +9844,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -9811,6 +9880,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/finspace/deserializers.go b/service/finspace/deserializers.go index 354057c7d2d..0e9e13726e8 100644 --- a/service/finspace/deserializers.go +++ b/service/finspace/deserializers.go @@ -10213,7 +10213,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10229,6 +10235,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10732,7 +10741,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10757,6 +10772,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11256,7 +11274,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11272,6 +11296,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11296,7 +11323,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11312,6 +11345,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13702,7 +13738,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13718,6 +13760,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13914,7 +13959,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13930,6 +13981,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13954,7 +14008,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13970,6 +14030,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14066,7 +14129,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14082,6 +14151,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14178,7 +14250,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14194,6 +14272,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14344,7 +14425,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14360,6 +14447,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/finspacedata/deserializers.go b/service/finspacedata/deserializers.go index 52877ea885e..b2543a428b9 100644 --- a/service/finspacedata/deserializers.go +++ b/service/finspacedata/deserializers.go @@ -5943,7 +5943,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5959,6 +5965,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6449,7 +6458,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6474,6 +6489,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7077,7 +7095,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7093,6 +7117,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7117,7 +7144,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7133,6 +7166,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7417,7 +7453,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7442,6 +7484,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7700,13 +7745,22 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8079,7 +8133,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8104,6 +8164,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/firehose/deserializers.go b/service/firehose/deserializers.go index bf8328e0706..a9f09347787 100644 --- a/service/firehose/deserializers.go +++ b/service/firehose/deserializers.go @@ -2417,7 +2417,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2433,6 +2439,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4138,7 +4147,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4154,6 +4169,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4178,7 +4196,13 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4203,6 +4227,9 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4227,7 +4254,13 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4252,6 +4285,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4381,7 +4417,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4397,6 +4439,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5449,7 +5494,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5465,6 +5516,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5489,7 +5543,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5505,6 +5565,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5884,7 +5947,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5900,6 +5969,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/fis/deserializers.go b/service/fis/deserializers.go index 5413dbd6e63..c74516262af 100644 --- a/service/fis/deserializers.go +++ b/service/fis/deserializers.go @@ -4483,7 +4483,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4499,6 +4505,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7035,7 +7044,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7051,6 +7066,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7178,7 +7196,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7194,6 +7218,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7661,7 +7688,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7677,6 +7710,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/fms/deserializers.go b/service/fms/deserializers.go index 4e2322735e2..026e05f0378 100644 --- a/service/fms/deserializers.go +++ b/service/fms/deserializers.go @@ -7747,7 +7747,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7763,6 +7769,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7787,7 +7796,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7803,6 +7818,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7899,7 +7917,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7915,6 +7939,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7939,7 +7966,13 @@ func awsAwsjson11_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7955,6 +7988,9 @@ func awsAwsjson11_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8051,7 +8087,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8067,6 +8109,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11082,7 +11127,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11098,6 +11149,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/forecast/deserializers.go b/service/forecast/deserializers.go index 3346a3b2b75..ac8d8bf9e04 100644 --- a/service/forecast/deserializers.go +++ b/service/forecast/deserializers.go @@ -10053,7 +10053,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10069,6 +10075,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10093,7 +10102,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10109,6 +10124,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10133,7 +10151,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10149,6 +10173,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11473,7 +11500,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11489,6 +11522,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11513,7 +11549,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11529,6 +11571,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11553,7 +11598,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11569,6 +11620,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/forecastquery/deserializers.go b/service/forecastquery/deserializers.go index 5acca9b600f..bb8fedf4f6e 100644 --- a/service/forecastquery/deserializers.go +++ b/service/forecastquery/deserializers.go @@ -581,7 +581,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -597,6 +603,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -621,7 +630,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -637,6 +652,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -661,7 +679,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -677,6 +701,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -735,7 +762,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -751,6 +784,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -775,7 +811,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -791,6 +833,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/frauddetector/deserializers.go b/service/frauddetector/deserializers.go index 955cb6457d7..fff76771ced 100644 --- a/service/frauddetector/deserializers.go +++ b/service/frauddetector/deserializers.go @@ -9277,7 +9277,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9293,6 +9299,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10522,7 +10531,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10538,6 +10553,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12433,7 +12451,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12449,6 +12473,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14708,7 +14735,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14724,6 +14757,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14748,7 +14784,13 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14764,6 +14806,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15471,7 +15516,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15487,6 +15538,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15864,7 +15918,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15880,6 +15940,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/freetier/deserializers.go b/service/freetier/deserializers.go index e8ed95a9972..a60ab7157ff 100644 --- a/service/freetier/deserializers.go +++ b/service/freetier/deserializers.go @@ -502,7 +502,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -518,6 +524,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -542,7 +551,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -558,6 +573,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -582,7 +600,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -598,6 +622,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/fsx/deserializers.go b/service/fsx/deserializers.go index 1058d9d0da0..44e722d9d3f 100644 --- a/service/fsx/deserializers.go +++ b/service/fsx/deserializers.go @@ -6882,7 +6882,13 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ActiveDirectoryId": if value != nil { @@ -6916,6 +6922,9 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7597,7 +7606,13 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "BackupId": if value != nil { @@ -7622,6 +7637,9 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7686,7 +7704,13 @@ func awsAwsjson11_deserializeDocumentBackupInProgress(v **types.BackupInProgress sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7702,6 +7726,9 @@ func awsAwsjson11_deserializeDocumentBackupInProgress(v **types.BackupInProgress } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7726,7 +7753,13 @@ func awsAwsjson11_deserializeDocumentBackupNotFound(v **types.BackupNotFound, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7742,6 +7775,9 @@ func awsAwsjson11_deserializeDocumentBackupNotFound(v **types.BackupNotFound, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7766,7 +7802,13 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FileSystemId": if value != nil { @@ -7791,6 +7833,9 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7849,7 +7894,13 @@ func awsAwsjson11_deserializeDocumentBadRequest(v **types.BadRequest, value inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7865,6 +7916,9 @@ func awsAwsjson11_deserializeDocumentBadRequest(v **types.BadRequest, value inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8158,7 +8212,13 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociationNotFound(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8174,6 +8234,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociationNotFound(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8533,7 +8596,13 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskEnded(v **types.DataRepos sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8549,6 +8618,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskEnded(v **types.DataRepos } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8573,7 +8645,13 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskExecuting(v **types.DataR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8589,6 +8667,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskExecuting(v **types.DataR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8653,7 +8734,13 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskNotFound(v **types.DataRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8669,6 +8756,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskNotFound(v **types.DataRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9731,7 +9821,13 @@ func awsAwsjson11_deserializeDocumentFileCacheNotFound(v **types.FileCacheNotFou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9747,6 +9843,9 @@ func awsAwsjson11_deserializeDocumentFileCacheNotFound(v **types.FileCacheNotFou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10215,7 +10314,13 @@ func awsAwsjson11_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10231,6 +10336,9 @@ func awsAwsjson11_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10289,7 +10397,13 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10314,6 +10428,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10338,7 +10455,13 @@ func awsAwsjson11_deserializeDocumentIncompatibleRegionForMultiAZ(v **types.Inco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10354,6 +10477,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleRegionForMultiAZ(v **types.Inco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10378,7 +10504,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10394,6 +10526,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10418,7 +10553,13 @@ func awsAwsjson11_deserializeDocumentInvalidDataRepositoryType(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10434,6 +10575,9 @@ func awsAwsjson11_deserializeDocumentInvalidDataRepositoryType(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10458,7 +10602,13 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationKmsKey(v **types.InvalidD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10474,6 +10624,9 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationKmsKey(v **types.InvalidD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10498,7 +10651,13 @@ func awsAwsjson11_deserializeDocumentInvalidExportPath(v **types.InvalidExportPa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10514,6 +10673,9 @@ func awsAwsjson11_deserializeDocumentInvalidExportPath(v **types.InvalidExportPa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10538,7 +10700,13 @@ func awsAwsjson11_deserializeDocumentInvalidImportPath(v **types.InvalidImportPa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10554,6 +10722,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportPath(v **types.InvalidImportPa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10578,7 +10749,13 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "InvalidRouteTableId": if value != nil { @@ -10621,6 +10798,9 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10645,7 +10825,13 @@ func awsAwsjson11_deserializeDocumentInvalidPerUnitStorageThroughput(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10661,6 +10847,9 @@ func awsAwsjson11_deserializeDocumentInvalidPerUnitStorageThroughput(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10685,7 +10874,13 @@ func awsAwsjson11_deserializeDocumentInvalidRegion(v **types.InvalidRegion, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10701,6 +10896,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegion(v **types.InvalidRegion, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10725,7 +10923,13 @@ func awsAwsjson11_deserializeDocumentInvalidSourceKmsKey(v **types.InvalidSource sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10741,6 +10945,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceKmsKey(v **types.InvalidSource } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11075,7 +11282,13 @@ func awsAwsjson11_deserializeDocumentMissingFileCacheConfiguration(v **types.Mis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11091,6 +11304,9 @@ func awsAwsjson11_deserializeDocumentMissingFileCacheConfiguration(v **types.Mis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11115,7 +11331,13 @@ func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.Mi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11131,6 +11353,9 @@ func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.Mi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11155,7 +11380,13 @@ func awsAwsjson11_deserializeDocumentMissingVolumeConfiguration(v **types.Missin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11171,6 +11402,9 @@ func awsAwsjson11_deserializeDocumentMissingVolumeConfiguration(v **types.Missin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11281,7 +11515,13 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11306,6 +11546,9 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12436,7 +12679,13 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12461,6 +12710,9 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12485,7 +12737,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12510,6 +12768,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12736,7 +12997,13 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Limit": if value != nil { @@ -12761,6 +13028,9 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13015,7 +13285,13 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFound(v **types.SnapshotNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13031,6 +13307,9 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFound(v **types.SnapshotNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13089,7 +13368,13 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "BackupId": if value != nil { @@ -13114,6 +13399,9 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13277,7 +13565,13 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachineNotFound(v **types.Sto sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13293,6 +13587,9 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachineNotFound(v **types.Sto } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13700,7 +13997,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13716,6 +14019,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13866,7 +14172,13 @@ func awsAwsjson11_deserializeDocumentVolumeNotFound(v **types.VolumeNotFound, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13882,6 +14194,9 @@ func awsAwsjson11_deserializeDocumentVolumeNotFound(v **types.VolumeNotFound, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index 9ed2d3a3491..f7d585c6d8d 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -14356,7 +14356,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14372,6 +14378,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16431,7 +16440,13 @@ func awsAwsjson11_deserializeDocumentFleetCapacityExceededException(v **types.Fl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16447,6 +16462,9 @@ func awsAwsjson11_deserializeDocumentFleetCapacityExceededException(v **types.Fl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17648,7 +17666,13 @@ func awsAwsjson11_deserializeDocumentGameSessionFullException(v **types.GameSess sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17664,6 +17688,9 @@ func awsAwsjson11_deserializeDocumentGameSessionFullException(v **types.GameSess } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18133,7 +18160,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18149,6 +18182,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18539,7 +18575,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18555,6 +18597,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18579,7 +18624,13 @@ func awsAwsjson11_deserializeDocumentInvalidFleetStatusException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18595,6 +18646,9 @@ func awsAwsjson11_deserializeDocumentInvalidFleetStatusException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18619,7 +18673,13 @@ func awsAwsjson11_deserializeDocumentInvalidGameSessionStatusException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18635,6 +18695,9 @@ func awsAwsjson11_deserializeDocumentInvalidGameSessionStatusException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18659,7 +18722,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18675,6 +18744,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18848,7 +18920,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18864,6 +18942,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19804,7 +19885,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19820,6 +19907,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19844,7 +19934,13 @@ func awsAwsjson11_deserializeDocumentNotReadyException(v **types.NotReadyExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19860,6 +19956,9 @@ func awsAwsjson11_deserializeDocumentNotReadyException(v **types.NotReadyExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19884,7 +19983,13 @@ func awsAwsjson11_deserializeDocumentOutOfCapacityException(v **types.OutOfCapac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19900,6 +20005,9 @@ func awsAwsjson11_deserializeDocumentOutOfCapacityException(v **types.OutOfCapac } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21607,7 +21715,13 @@ func awsAwsjson11_deserializeDocumentTaggingFailedException(v **types.TaggingFai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21623,6 +21737,9 @@ func awsAwsjson11_deserializeDocumentTaggingFailedException(v **types.TaggingFai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21746,7 +21863,13 @@ func awsAwsjson11_deserializeDocumentTerminalRoutingStrategyException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21762,6 +21885,9 @@ func awsAwsjson11_deserializeDocumentTerminalRoutingStrategyException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21786,7 +21912,13 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21802,6 +21934,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21826,7 +21961,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedRegionException(v **types.Unsupp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21842,6 +21983,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedRegionException(v **types.Unsupp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/geomaps/deserializers.go b/service/geomaps/deserializers.go index 91167d15c64..be97997f302 100644 --- a/service/geomaps/deserializers.go +++ b/service/geomaps/deserializers.go @@ -922,7 +922,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -938,6 +944,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -962,7 +971,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -978,6 +993,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1002,7 +1020,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1018,6 +1042,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1042,7 +1069,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -1072,6 +1105,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/geoplaces/deserializers.go b/service/geoplaces/deserializers.go index 8f90988bed6..bcaf34605e5 100644 --- a/service/geoplaces/deserializers.go +++ b/service/geoplaces/deserializers.go @@ -1568,7 +1568,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1584,6 +1590,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3577,7 +3586,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3593,6 +3608,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5629,7 +5647,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5645,6 +5669,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5811,7 +5838,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -5841,6 +5874,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/georoutes/deserializers.go b/service/georoutes/deserializers.go index e569dc75333..1852e211ec1 100644 --- a/service/georoutes/deserializers.go +++ b/service/georoutes/deserializers.go @@ -1213,7 +1213,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1229,6 +1235,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1424,7 +1433,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1440,6 +1455,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9101,7 +9119,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9117,6 +9141,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9177,7 +9204,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -9207,6 +9240,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/glacier/deserializers.go b/service/glacier/deserializers.go index a418c329c8d..c3159312365 100644 --- a/service/glacier/deserializers.go +++ b/service/glacier/deserializers.go @@ -5847,7 +5847,13 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5881,6 +5887,9 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5905,7 +5914,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5939,6 +5954,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6073,7 +6091,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6107,6 +6131,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6131,7 +6158,13 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6165,6 +6198,9 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6380,7 +6416,13 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6414,6 +6456,9 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6530,7 +6575,13 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6564,6 +6615,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6588,7 +6642,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6622,6 +6682,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6792,7 +6855,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -6826,6 +6895,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/globalaccelerator/deserializers.go b/service/globalaccelerator/deserializers.go index 44b99058a64..2c35fb18d78 100644 --- a/service/globalaccelerator/deserializers.go +++ b/service/globalaccelerator/deserializers.go @@ -7588,7 +7588,13 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotDisabledException(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7604,6 +7610,9 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotDisabledException(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7628,7 +7637,13 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotFoundException(v **types.Acce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7644,6 +7659,9 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotFoundException(v **types.Acce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7702,7 +7720,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7718,6 +7742,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7742,7 +7769,13 @@ func awsAwsjson11_deserializeDocumentAssociatedEndpointGroupFoundException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7758,6 +7791,9 @@ func awsAwsjson11_deserializeDocumentAssociatedEndpointGroupFoundException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7782,7 +7818,13 @@ func awsAwsjson11_deserializeDocumentAssociatedListenerFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7798,6 +7840,9 @@ func awsAwsjson11_deserializeDocumentAssociatedListenerFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7913,7 +7958,13 @@ func awsAwsjson11_deserializeDocumentAttachmentNotFoundException(v **types.Attac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7929,6 +7980,9 @@ func awsAwsjson11_deserializeDocumentAttachmentNotFoundException(v **types.Attac } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8167,7 +8221,13 @@ func awsAwsjson11_deserializeDocumentByoipCidrNotFoundException(v **types.ByoipC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8183,6 +8243,9 @@ func awsAwsjson11_deserializeDocumentByoipCidrNotFoundException(v **types.ByoipC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8241,7 +8304,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8257,6 +8326,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9094,7 +9166,13 @@ func awsAwsjson11_deserializeDocumentEndpointAlreadyExistsException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9110,6 +9188,9 @@ func awsAwsjson11_deserializeDocumentEndpointAlreadyExistsException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9398,7 +9479,13 @@ func awsAwsjson11_deserializeDocumentEndpointGroupAlreadyExistsException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9414,6 +9501,9 @@ func awsAwsjson11_deserializeDocumentEndpointGroupAlreadyExistsException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9438,7 +9528,13 @@ func awsAwsjson11_deserializeDocumentEndpointGroupNotFoundException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9454,6 +9550,9 @@ func awsAwsjson11_deserializeDocumentEndpointGroupNotFoundException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9512,7 +9611,13 @@ func awsAwsjson11_deserializeDocumentEndpointNotFoundException(v **types.Endpoin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9528,6 +9633,9 @@ func awsAwsjson11_deserializeDocumentEndpointNotFoundException(v **types.Endpoin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9552,7 +9660,13 @@ func awsAwsjson11_deserializeDocumentIncorrectCidrStateException(v **types.Incor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9568,6 +9682,9 @@ func awsAwsjson11_deserializeDocumentIncorrectCidrStateException(v **types.Incor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9592,7 +9709,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9608,6 +9731,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9632,7 +9758,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9648,6 +9780,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9672,7 +9807,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9688,6 +9829,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9712,7 +9856,13 @@ func awsAwsjson11_deserializeDocumentInvalidPortRangeException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9728,6 +9878,9 @@ func awsAwsjson11_deserializeDocumentInvalidPortRangeException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9876,7 +10029,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9892,6 +10051,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9979,7 +10141,13 @@ func awsAwsjson11_deserializeDocumentListenerNotFoundException(v **types.Listene sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9995,6 +10163,9 @@ func awsAwsjson11_deserializeDocumentListenerNotFoundException(v **types.Listene } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10684,7 +10855,13 @@ func awsAwsjson11_deserializeDocumentTransactionInProgressException(v **types.Tr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10700,6 +10877,9 @@ func awsAwsjson11_deserializeDocumentTransactionInProgressException(v **types.Tr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/glue/deserializers.go b/service/glue/deserializers.go index c79bfc741ce..dbb07962885 100644 --- a/service/glue/deserializers.go +++ b/service/glue/deserializers.go @@ -29465,7 +29465,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29481,6 +29487,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29826,7 +29835,13 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29842,6 +29857,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33968,7 +33986,13 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskNotRunningException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -33984,6 +34008,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskNotRunningException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34324,7 +34351,13 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunningException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34340,6 +34373,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunningException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34518,7 +34554,13 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskStoppingException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34534,6 +34576,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskStoppingException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34630,7 +34675,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34646,6 +34697,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34670,7 +34724,13 @@ func awsAwsjson11_deserializeDocumentConcurrentRunsExceededException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34686,6 +34746,9 @@ func awsAwsjson11_deserializeDocumentConcurrentRunsExceededException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34786,7 +34849,13 @@ func awsAwsjson11_deserializeDocumentConditionCheckFailureException(v **types.Co sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34802,6 +34871,9 @@ func awsAwsjson11_deserializeDocumentConditionCheckFailureException(v **types.Co } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35050,7 +35122,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -35066,6 +35144,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36500,7 +36581,13 @@ func awsAwsjson11_deserializeDocumentCrawlerNotRunningException(v **types.Crawle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -36516,6 +36603,9 @@ func awsAwsjson11_deserializeDocumentCrawlerNotRunningException(v **types.Crawle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36540,7 +36630,13 @@ func awsAwsjson11_deserializeDocumentCrawlerRunningException(v **types.CrawlerRu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -36556,6 +36652,9 @@ func awsAwsjson11_deserializeDocumentCrawlerRunningException(v **types.CrawlerRu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36580,7 +36679,13 @@ func awsAwsjson11_deserializeDocumentCrawlerStoppingException(v **types.CrawlerS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -36596,6 +36701,9 @@ func awsAwsjson11_deserializeDocumentCrawlerStoppingException(v **types.CrawlerS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40936,7 +41044,13 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FromFederationSource": if value != nil { @@ -40961,6 +41075,9 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41561,7 +41678,13 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "AssociatedGlueResource": if value != nil { @@ -41586,6 +41709,9 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41668,7 +41794,13 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FederationSourceErrorCode": if value != nil { @@ -41693,6 +41825,9 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41717,7 +41852,13 @@ func awsAwsjson11_deserializeDocumentFederationSourceRetryableException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -41733,6 +41874,9 @@ func awsAwsjson11_deserializeDocumentFederationSourceRetryableException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42502,7 +42646,13 @@ func awsAwsjson11_deserializeDocumentGlueEncryptionException(v **types.GlueEncry sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42518,6 +42668,9 @@ func awsAwsjson11_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -43832,7 +43985,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -43848,6 +44007,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -43872,7 +44034,13 @@ func awsAwsjson11_deserializeDocumentIllegalBlueprintStateException(v **types.Il sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -43888,6 +44056,9 @@ func awsAwsjson11_deserializeDocumentIllegalBlueprintStateException(v **types.Il } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -43912,7 +44083,13 @@ func awsAwsjson11_deserializeDocumentIllegalSessionStateException(v **types.Ille sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -43928,6 +44105,9 @@ func awsAwsjson11_deserializeDocumentIllegalSessionStateException(v **types.Ille } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -43952,7 +44132,13 @@ func awsAwsjson11_deserializeDocumentIllegalWorkflowStateException(v **types.Ill sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -43968,6 +44154,9 @@ func awsAwsjson11_deserializeDocumentIllegalWorkflowStateException(v **types.Ill } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -44041,7 +44230,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -44057,6 +44252,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -44081,7 +44279,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FromFederationSource": if value != nil { @@ -44106,6 +44310,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -44130,7 +44337,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -44146,6 +44359,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -47849,7 +48065,13 @@ func awsAwsjson11_deserializeDocumentMLTransformNotReadyException(v **types.MLTr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -47865,6 +48087,9 @@ func awsAwsjson11_deserializeDocumentMLTransformNotReadyException(v **types.MLTr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48366,7 +48591,13 @@ func awsAwsjson11_deserializeDocumentNoScheduleException(v **types.NoScheduleExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -48382,6 +48613,9 @@ func awsAwsjson11_deserializeDocumentNoScheduleException(v **types.NoScheduleExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48731,7 +48965,13 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -48747,6 +48987,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48771,7 +49014,13 @@ func awsAwsjson11_deserializeDocumentOperationTimeoutException(v **types.Operati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -48787,6 +49036,9 @@ func awsAwsjson11_deserializeDocumentOperationTimeoutException(v **types.Operati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49841,7 +50093,13 @@ func awsAwsjson11_deserializeDocumentPermissionTypeMismatchException(v **types.P sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49857,6 +50115,9 @@ func awsAwsjson11_deserializeDocumentPermissionTypeMismatchException(v **types.P } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -51211,7 +51472,13 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -51227,6 +51494,9 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -51251,7 +51521,13 @@ func awsAwsjson11_deserializeDocumentResourceNumberLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -51267,6 +51543,9 @@ func awsAwsjson11_deserializeDocumentResourceNumberLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -53323,7 +53602,13 @@ func awsAwsjson11_deserializeDocumentSchedulerNotRunningException(v **types.Sche sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -53339,6 +53624,9 @@ func awsAwsjson11_deserializeDocumentSchedulerNotRunningException(v **types.Sche } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -53363,7 +53651,13 @@ func awsAwsjson11_deserializeDocumentSchedulerRunningException(v **types.Schedul sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -53379,6 +53673,9 @@ func awsAwsjson11_deserializeDocumentSchedulerRunningException(v **types.Schedul } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -53403,7 +53700,13 @@ func awsAwsjson11_deserializeDocumentSchedulerTransitioningException(v **types.S sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -53419,6 +53722,9 @@ func awsAwsjson11_deserializeDocumentSchedulerTransitioningException(v **types.S } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58024,7 +58330,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -58040,6 +58352,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -59172,7 +59487,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -59188,6 +59509,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -59248,7 +59572,13 @@ func awsAwsjson11_deserializeDocumentVersionMismatchException(v **types.VersionM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -59264,6 +59594,9 @@ func awsAwsjson11_deserializeDocumentVersionMismatchException(v **types.VersionM } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/grafana/deserializers.go b/service/grafana/deserializers.go index 0e8ccf8b77e..45ce42fc656 100644 --- a/service/grafana/deserializers.go +++ b/service/grafana/deserializers.go @@ -4496,7 +4496,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4512,6 +4518,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4824,7 +4833,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4858,6 +4873,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5008,7 +5026,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5037,6 +5061,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5289,7 +5316,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5323,6 +5356,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5859,7 +5895,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5911,6 +5953,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6007,7 +6052,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6054,6 +6105,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6307,7 +6361,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -6337,6 +6397,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/greengrass/deserializers.go b/service/greengrass/deserializers.go index 06698879bb8..ea0324c4c28 100644 --- a/service/greengrass/deserializers.go +++ b/service/greengrass/deserializers.go @@ -15358,7 +15358,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { @@ -15379,6 +15385,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17083,7 +17092,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { @@ -17104,6 +17119,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index 0405343e59d..4302665308b 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -5232,7 +5232,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5248,6 +5254,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6093,7 +6102,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6127,6 +6142,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7263,7 +7281,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7292,6 +7316,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7751,7 +7778,13 @@ func awsRestjson1_deserializeDocumentRequestAlreadyInProgressException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7767,6 +7800,9 @@ func awsRestjson1_deserializeDocumentRequestAlreadyInProgressException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7914,7 +7950,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7948,6 +7990,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7972,7 +8017,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8024,6 +8075,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8198,7 +8252,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8245,6 +8305,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8269,7 +8332,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -8299,6 +8368,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/groundstation/deserializers.go b/service/groundstation/deserializers.go index a575ed236ab..33ba5550793 100644 --- a/service/groundstation/deserializers.go +++ b/service/groundstation/deserializers.go @@ -7266,7 +7266,13 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7291,6 +7297,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8257,7 +8266,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8282,6 +8297,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8567,7 +8585,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8592,6 +8616,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8616,7 +8643,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8632,6 +8665,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/guardduty/deserializers.go b/service/guardduty/deserializers.go index c7236d0b3f9..e105afbeb3e 100644 --- a/service/guardduty/deserializers.go +++ b/service/guardduty/deserializers.go @@ -10707,7 +10707,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10732,6 +10738,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11736,7 +11745,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11761,6 +11776,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12216,7 +12234,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12241,6 +12265,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16024,7 +16051,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16049,6 +16082,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20753,7 +20789,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20778,6 +20820,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/health/deserializers.go b/service/health/deserializers.go index 411676317e3..a090fa26cd0 100644 --- a/service/health/deserializers.go +++ b/service/health/deserializers.go @@ -1905,7 +1905,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1921,6 +1927,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2825,7 +2834,13 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationToken(v **types.InvalidPag sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2841,6 +2856,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationToken(v **types.InvalidPag } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3363,7 +3381,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedLocale(v **types.UnsupportedLoca sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3379,6 +3403,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLocale(v **types.UnsupportedLoca } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/healthlake/deserializers.go b/service/healthlake/deserializers.go index 8792fd36a45..b5d19647484 100644 --- a/service/healthlake/deserializers.go +++ b/service/healthlake/deserializers.go @@ -1817,7 +1817,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1833,6 +1839,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1857,7 +1866,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1873,6 +1888,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2532,7 +2550,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2548,6 +2572,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2878,7 +2905,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2894,6 +2927,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3086,7 +3122,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3102,6 +3144,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3126,7 +3171,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3142,6 +3193,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/identitystore/deserializers.go b/service/identitystore/deserializers.go index 82cd0fe8ec0..78fb3c1496e 100644 --- a/service/identitystore/deserializers.go +++ b/service/identitystore/deserializers.go @@ -2670,7 +2670,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2695,6 +2701,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2856,7 +2865,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2890,6 +2905,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3380,7 +3398,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3418,6 +3442,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3661,7 +3688,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3704,6 +3737,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3728,7 +3764,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3753,6 +3795,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3777,7 +3822,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3815,6 +3866,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4028,7 +4082,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4053,6 +4113,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/imagebuilder/deserializers.go b/service/imagebuilder/deserializers.go index 58ae7a51758..482b834e45f 100644 --- a/service/imagebuilder/deserializers.go +++ b/service/imagebuilder/deserializers.go @@ -14660,7 +14660,13 @@ func awsRestjson1_deserializeDocumentCallRateLimitExceededException(v **types.Ca sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14676,6 +14682,9 @@ func awsRestjson1_deserializeDocumentCallRateLimitExceededException(v **types.Ca } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14700,7 +14709,13 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14716,6 +14731,9 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17014,7 +17032,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17030,6 +17054,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17054,7 +17081,13 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17070,6 +17103,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19396,7 +19432,13 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19412,6 +19454,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19436,7 +19481,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19452,6 +19503,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterCombinationException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19476,7 +19530,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19492,6 +19552,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19516,7 +19579,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19532,6 +19601,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19556,7 +19628,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19572,6 +19650,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19596,7 +19677,13 @@ func awsRestjson1_deserializeDocumentInvalidVersionNumberException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19612,6 +19699,9 @@ func awsRestjson1_deserializeDocumentInvalidVersionNumberException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21734,7 +21824,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21750,6 +21846,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21774,7 +21873,13 @@ func awsRestjson1_deserializeDocumentResourceDependencyException(v **types.Resou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21790,6 +21895,9 @@ func awsRestjson1_deserializeDocumentResourceDependencyException(v **types.Resou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21814,7 +21922,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21830,6 +21944,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21854,7 +21971,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21870,6 +21993,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22140,7 +22266,13 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22156,6 +22288,9 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22180,7 +22315,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22196,6 +22337,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22220,7 +22364,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22236,6 +22386,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/inspector/deserializers.go b/service/inspector/deserializers.go index 2144fc64e43..451eb98e844 100644 --- a/service/inspector/deserializers.go +++ b/service/inspector/deserializers.go @@ -4714,7 +4714,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -4748,6 +4754,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4992,7 +5001,13 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "agents": if err := awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessmentList(&sv.Agents, value); err != nil { @@ -5031,6 +5046,9 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5469,7 +5487,13 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "assessmentRunArns": if err := awsAwsjson11_deserializeDocumentAssessmentRunInProgressArnList(&sv.AssessmentRunArns, value); err != nil { @@ -5508,6 +5532,9 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6981,7 +7008,13 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -7006,6 +7039,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7030,7 +7066,13 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -7064,6 +7106,9 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7088,7 +7133,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -7122,6 +7173,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7218,7 +7272,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -7252,6 +7312,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7455,7 +7518,13 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -7489,6 +7558,9 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7513,7 +7585,13 @@ func awsAwsjson11_deserializeDocumentPreviewGenerationInProgressException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7529,6 +7607,9 @@ func awsAwsjson11_deserializeDocumentPreviewGenerationInProgressException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8090,7 +8171,13 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -8115,6 +8202,9 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8444,7 +8534,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "canRetry": if value != nil { @@ -8469,6 +8565,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/inspector2/deserializers.go b/service/inspector2/deserializers.go index 97aaa245dd1..414bb8f4434 100644 --- a/service/inspector2/deserializers.go +++ b/service/inspector2/deserializers.go @@ -9734,7 +9734,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9750,6 +9756,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10860,7 +10869,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10876,6 +10891,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12253,7 +12271,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12287,6 +12311,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15889,7 +15916,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15918,6 +15951,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18067,7 +18103,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18083,6 +18125,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18514,7 +18559,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18539,6 +18590,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19273,7 +19327,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19302,6 +19362,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19740,7 +19803,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { @@ -19770,6 +19839,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/inspectorscan/deserializers.go b/service/inspectorscan/deserializers.go index c91422e3dcf..6d505c8606f 100644 --- a/service/inspectorscan/deserializers.go +++ b/service/inspectorscan/deserializers.go @@ -397,7 +397,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -413,6 +419,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -437,7 +446,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -475,6 +490,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -507,7 +525,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -536,6 +560,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -560,7 +587,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { @@ -590,6 +623,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/internetmonitor/deserializers.go b/service/internetmonitor/deserializers.go index 79056467929..923d2f19008 100644 --- a/service/internetmonitor/deserializers.go +++ b/service/internetmonitor/deserializers.go @@ -3204,7 +3204,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3220,6 +3226,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3377,7 +3386,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3393,6 +3408,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3574,7 +3592,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3590,6 +3614,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4191,7 +4218,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4207,6 +4240,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4231,7 +4267,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4247,6 +4289,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4516,7 +4561,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4532,6 +4583,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4902,7 +4956,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4918,6 +4978,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5231,7 +5294,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5247,6 +5316,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5534,7 +5606,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5550,6 +5628,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5574,7 +5655,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5590,6 +5677,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5614,7 +5704,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5630,6 +5726,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iot/deserializers.go b/service/iot/deserializers.go index a71d45f6b27..c3a3c4cf408 100644 --- a/service/iot/deserializers.go +++ b/service/iot/deserializers.go @@ -45893,7 +45893,13 @@ func awsRestjson1_deserializeDocumentCertificateConflictException(v **types.Cert sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -45909,6 +45915,9 @@ func awsRestjson1_deserializeDocumentCertificateConflictException(v **types.Cert } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -46253,7 +46262,13 @@ func awsRestjson1_deserializeDocumentCertificateStateException(v **types.Certifi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -46269,6 +46284,9 @@ func awsRestjson1_deserializeDocumentCertificateStateException(v **types.Certifi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -46293,7 +46311,13 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -46309,6 +46333,9 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -46901,7 +46928,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -46926,6 +46959,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -46950,7 +46986,13 @@ func awsRestjson1_deserializeDocumentConflictingResourceUpdateException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -46966,6 +47008,9 @@ func awsRestjson1_deserializeDocumentConflictingResourceUpdateException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -47049,7 +47094,13 @@ func awsRestjson1_deserializeDocumentDeleteConflictException(v **types.DeleteCon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -47065,6 +47116,9 @@ func awsRestjson1_deserializeDocumentDeleteConflictException(v **types.DeleteCon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49384,7 +49438,13 @@ func awsRestjson1_deserializeDocumentIndexNotReadyException(v **types.IndexNotRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49400,6 +49460,9 @@ func awsRestjson1_deserializeDocumentIndexNotReadyException(v **types.IndexNotRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49424,7 +49487,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49440,6 +49509,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49464,7 +49536,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49480,6 +49558,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49504,7 +49585,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49520,6 +49607,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49544,7 +49634,13 @@ func awsRestjson1_deserializeDocumentInvalidAggregationException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49560,6 +49656,9 @@ func awsRestjson1_deserializeDocumentInvalidAggregationException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49584,7 +49683,13 @@ func awsRestjson1_deserializeDocumentInvalidQueryException(v **types.InvalidQuer sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49600,6 +49705,9 @@ func awsRestjson1_deserializeDocumentInvalidQueryException(v **types.InvalidQuer } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49624,7 +49732,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49640,6 +49754,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49664,7 +49781,13 @@ func awsRestjson1_deserializeDocumentInvalidResponseException(v **types.InvalidR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49680,6 +49803,9 @@ func awsRestjson1_deserializeDocumentInvalidResponseException(v **types.InvalidR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49704,7 +49830,13 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -49720,6 +49852,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -51524,7 +51659,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -51540,6 +51681,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -51949,7 +52093,13 @@ func awsRestjson1_deserializeDocumentMalformedPolicyException(v **types.Malforme sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -51965,6 +52115,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyException(v **types.Malforme } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -52963,7 +53116,13 @@ func awsRestjson1_deserializeDocumentNotConfiguredException(v **types.NotConfigu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -52979,6 +53138,9 @@ func awsRestjson1_deserializeDocumentNotConfiguredException(v **types.NotConfigu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -55201,7 +55363,13 @@ func awsRestjson1_deserializeDocumentRegistrationCodeValidationException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -55217,6 +55385,9 @@ func awsRestjson1_deserializeDocumentRegistrationCodeValidationException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -55490,7 +55661,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -55524,6 +55701,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -55733,7 +55913,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -55749,6 +55935,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -55773,7 +55962,13 @@ func awsRestjson1_deserializeDocumentResourceRegistrationFailureException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -55789,6 +55984,9 @@ func awsRestjson1_deserializeDocumentResourceRegistrationFailureException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -57163,7 +57361,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -57179,6 +57383,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -57203,7 +57410,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -57219,6 +57432,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -57417,7 +57633,13 @@ func awsRestjson1_deserializeDocumentSqlParseException(v **types.SqlParseExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -57433,6 +57655,9 @@ func awsRestjson1_deserializeDocumentSqlParseException(v **types.SqlParseExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58602,7 +58827,13 @@ func awsRestjson1_deserializeDocumentTaskAlreadyExistsException(v **types.TaskAl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -58618,6 +58849,9 @@ func awsRestjson1_deserializeDocumentTaskAlreadyExistsException(v **types.TaskAl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -59885,7 +60119,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -59901,6 +60141,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -60662,7 +60905,13 @@ func awsRestjson1_deserializeDocumentTransferAlreadyCompletedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -60678,6 +60927,9 @@ func awsRestjson1_deserializeDocumentTransferAlreadyCompletedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -60702,7 +60954,13 @@ func awsRestjson1_deserializeDocumentTransferConflictException(v **types.Transfe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -60718,6 +60976,9 @@ func awsRestjson1_deserializeDocumentTransferConflictException(v **types.Transfe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -60839,7 +61100,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -60855,6 +61122,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -61116,7 +61386,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -61132,6 +61408,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -61156,7 +61435,13 @@ func awsRestjson1_deserializeDocumentVersionConflictException(v **types.VersionC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -61172,6 +61457,9 @@ func awsRestjson1_deserializeDocumentVersionConflictException(v **types.VersionC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -61196,7 +61484,13 @@ func awsRestjson1_deserializeDocumentVersionsLimitExceededException(v **types.Ve sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -61212,6 +61506,9 @@ func awsRestjson1_deserializeDocumentVersionsLimitExceededException(v **types.Ve } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iot1clickdevicesservice/deserializers.go b/service/iot1clickdevicesservice/deserializers.go index c9ff5fe7b4b..0de6ea30601 100644 --- a/service/iot1clickdevicesservice/deserializers.go +++ b/service/iot1clickdevicesservice/deserializers.go @@ -2710,7 +2710,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2735,6 +2741,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2759,7 +2768,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2784,6 +2799,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2808,7 +2826,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2833,6 +2857,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2857,7 +2884,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2882,6 +2915,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2906,7 +2942,13 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2931,6 +2973,9 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2955,7 +3000,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2980,6 +3031,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3004,7 +3058,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3029,6 +3089,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iot1clickprojects/deserializers.go b/service/iot1clickprojects/deserializers.go index cac0a5bb466..9a04fdafe5d 100644 --- a/service/iot1clickprojects/deserializers.go +++ b/service/iot1clickprojects/deserializers.go @@ -2341,7 +2341,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2366,6 +2372,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2390,7 +2399,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2415,6 +2430,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2937,7 +2955,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -2962,6 +2986,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2986,7 +3013,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3011,6 +3044,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3071,7 +3107,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3096,6 +3138,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotanalytics/deserializers.go b/service/iotanalytics/deserializers.go index 31e50628026..cc7e36266c9 100644 --- a/service/iotanalytics/deserializers.go +++ b/service/iotanalytics/deserializers.go @@ -8297,7 +8297,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8313,6 +8319,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8337,7 +8346,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8353,6 +8368,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8741,7 +8759,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8757,6 +8781,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9636,7 +9663,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9670,6 +9703,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9747,7 +9783,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9763,6 +9805,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10157,7 +10202,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10173,6 +10224,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10325,7 +10379,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10341,6 +10401,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotdataplane/deserializers.go b/service/iotdataplane/deserializers.go index 14b939089a5..9ab026ab193 100644 --- a/service/iotdataplane/deserializers.go +++ b/service/iotdataplane/deserializers.go @@ -1522,7 +1522,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1538,6 +1544,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1562,7 +1571,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1578,6 +1593,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1602,7 +1620,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1618,6 +1642,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1642,7 +1669,13 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1658,6 +1691,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1718,7 +1754,13 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1734,6 +1776,9 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1758,7 +1803,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1774,6 +1825,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1911,7 +1965,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1927,6 +1987,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1951,7 +2014,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1967,6 +2036,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1991,7 +2063,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2007,6 +2085,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2031,7 +2112,13 @@ func awsRestjson1_deserializeDocumentUnsupportedDocumentEncodingException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2047,6 +2134,9 @@ func awsRestjson1_deserializeDocumentUnsupportedDocumentEncodingException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotdeviceadvisor/deserializers.go b/service/iotdeviceadvisor/deserializers.go index 7720b33f4f4..c4860e9f6c8 100644 --- a/service/iotdeviceadvisor/deserializers.go +++ b/service/iotdeviceadvisor/deserializers.go @@ -2468,7 +2468,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2484,6 +2490,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2688,7 +2697,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2704,6 +2719,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2728,7 +2746,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2744,6 +2768,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3606,7 +3633,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3622,6 +3655,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotevents/deserializers.go b/service/iotevents/deserializers.go index c703a1b6aab..44a1ea46dbe 100644 --- a/service/iotevents/deserializers.go +++ b/service/iotevents/deserializers.go @@ -7107,7 +7107,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7123,6 +7129,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7147,7 +7156,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7163,6 +7178,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7394,7 +7412,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7410,6 +7434,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7885,7 +7912,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7919,6 +7952,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7943,7 +7979,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7959,6 +8001,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7983,7 +8028,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7999,6 +8050,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8106,7 +8160,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8122,6 +8182,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8723,7 +8786,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8739,6 +8808,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8860,7 +8932,13 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8876,6 +8954,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ioteventsdata/deserializers.go b/service/ioteventsdata/deserializers.go index 9ea44f2350a..458ac9aaf30 100644 --- a/service/ioteventsdata/deserializers.go +++ b/service/ioteventsdata/deserializers.go @@ -3354,7 +3354,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3370,6 +3376,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3394,7 +3403,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3410,6 +3425,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3474,7 +3492,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3490,6 +3514,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3550,7 +3577,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3566,6 +3599,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3786,7 +3822,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3802,6 +3844,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotfleethub/deserializers.go b/service/iotfleethub/deserializers.go index 75dae949887..143b741639b 100644 --- a/service/iotfleethub/deserializers.go +++ b/service/iotfleethub/deserializers.go @@ -1553,7 +1553,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1569,6 +1575,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1593,7 +1602,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1609,6 +1624,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1633,7 +1651,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1649,6 +1673,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1673,7 +1700,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1689,6 +1722,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1713,7 +1749,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1729,6 +1771,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1789,7 +1834,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1805,6 +1856,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotfleetwise/deserializers.go b/service/iotfleetwise/deserializers.go index 7264ad76419..fb3771b32b2 100644 --- a/service/iotfleetwise/deserializers.go +++ b/service/iotfleetwise/deserializers.go @@ -6889,7 +6889,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6905,6 +6911,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7932,7 +7941,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7966,6 +7981,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8604,7 +8622,13 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidNetworkInterfaces": if err := awsAwsjson10_deserializeDocumentInvalidNetworkInterfaces(&sv.InvalidNetworkInterfaces, value); err != nil { @@ -8630,6 +8654,9 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8921,7 +8948,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8950,6 +8983,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9057,7 +9093,13 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidNodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.InvalidNodes, value); err != nil { @@ -9087,6 +9129,9 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9286,7 +9331,13 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidSignals": if err := awsAwsjson10_deserializeDocumentInvalidSignals(&sv.InvalidSignals, value); err != nil { @@ -9307,6 +9358,9 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9331,7 +9385,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9365,6 +9425,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10290,7 +10353,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10324,6 +10393,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11310,7 +11382,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11357,6 +11435,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11787,7 +11868,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -11817,6 +11904,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotjobsdataplane/deserializers.go b/service/iotjobsdataplane/deserializers.go index 686d50e8424..1c6c6dff09a 100644 --- a/service/iotjobsdataplane/deserializers.go +++ b/service/iotjobsdataplane/deserializers.go @@ -978,7 +978,13 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -994,6 +1000,9 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1054,7 +1063,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1070,6 +1085,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1094,7 +1112,13 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1110,6 +1134,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1481,7 +1508,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1497,6 +1530,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1521,7 +1557,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1537,6 +1579,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1561,7 +1606,13 @@ func awsRestjson1_deserializeDocumentTerminalStateException(v **types.TerminalSt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1577,6 +1628,9 @@ func awsRestjson1_deserializeDocumentTerminalStateException(v **types.TerminalSt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1601,7 +1655,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1630,6 +1690,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotsecuretunneling/deserializers.go b/service/iotsecuretunneling/deserializers.go index b0e07240b82..be465ebb840 100644 --- a/service/iotsecuretunneling/deserializers.go +++ b/service/iotsecuretunneling/deserializers.go @@ -1105,7 +1105,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1121,6 +1127,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1145,7 +1154,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1161,6 +1176,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotsitewise/deserializers.go b/service/iotsitewise/deserializers.go index 04ff4dfe6e7..528d6adf1ef 100644 --- a/service/iotsitewise/deserializers.go +++ b/service/iotsitewise/deserializers.go @@ -14906,7 +14906,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14922,6 +14928,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19806,7 +19815,13 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19840,6 +19855,9 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21158,7 +21176,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21174,6 +21198,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21273,7 +21300,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21289,6 +21322,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21441,7 +21477,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21457,6 +21499,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22072,7 +22117,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22106,6 +22157,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22494,7 +22548,13 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22510,6 +22570,9 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22575,7 +22638,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22609,6 +22678,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22633,7 +22705,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22649,6 +22727,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22796,7 +22877,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22812,6 +22899,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22952,7 +23042,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22968,6 +23064,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23243,7 +23342,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23268,6 +23373,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23436,7 +23544,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23452,6 +23566,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23516,7 +23633,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -23532,6 +23655,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotthingsgraph/deserializers.go b/service/iotthingsgraph/deserializers.go index e31b86b3f46..693b27301a4 100644 --- a/service/iotthingsgraph/deserializers.go +++ b/service/iotthingsgraph/deserializers.go @@ -5138,7 +5138,13 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5154,6 +5160,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5178,7 +5187,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5194,6 +5209,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5218,7 +5236,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5234,6 +5258,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5307,7 +5334,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5323,6 +5356,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5347,7 +5383,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5363,6 +5405,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5387,7 +5432,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5403,6 +5454,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6037,7 +6091,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6053,6 +6113,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iottwinmaker/deserializers.go b/service/iottwinmaker/deserializers.go index db3b8fb73ed..9efa9c12c21 100644 --- a/service/iottwinmaker/deserializers.go +++ b/service/iottwinmaker/deserializers.go @@ -7867,7 +7867,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7883,6 +7889,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8785,7 +8794,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8801,6 +8816,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8825,7 +8843,13 @@ func awsRestjson1_deserializeDocumentConnectorFailureException(v **types.Connect sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8841,6 +8865,9 @@ func awsRestjson1_deserializeDocumentConnectorFailureException(v **types.Connect } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8865,7 +8892,13 @@ func awsRestjson1_deserializeDocumentConnectorTimeoutException(v **types.Connect sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8881,6 +8914,9 @@ func awsRestjson1_deserializeDocumentConnectorTimeoutException(v **types.Connect } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10027,7 +10063,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10043,6 +10085,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11615,7 +11660,13 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11631,6 +11682,9 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11789,7 +11843,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11805,6 +11865,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12265,7 +12328,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12281,6 +12350,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12871,7 +12943,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12887,6 +12965,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12911,7 +12992,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12927,6 +13014,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12951,7 +13041,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12967,6 +13063,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/iotwireless/deserializers.go b/service/iotwireless/deserializers.go index f563648edb9..154cfeebc70 100644 --- a/service/iotwireless/deserializers.go +++ b/service/iotwireless/deserializers.go @@ -16746,7 +16746,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16762,6 +16768,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17119,7 +17128,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17153,6 +17168,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18511,7 +18529,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18527,6 +18551,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21722,7 +21749,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21756,6 +21789,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22951,7 +22987,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -22967,6 +23009,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22991,7 +23036,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23016,6 +23067,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23206,7 +23260,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23222,6 +23282,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ivs/deserializers.go b/service/ivs/deserializers.go index e993381288f..b4fae213b7c 100644 --- a/service/ivs/deserializers.go +++ b/service/ivs/deserializers.go @@ -5489,7 +5489,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -5505,6 +5511,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5975,7 +5984,13 @@ func awsRestjson1_deserializeDocumentChannelNotBroadcasting(v **types.ChannelNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -5991,6 +6006,9 @@ func awsRestjson1_deserializeDocumentChannelNotBroadcasting(v **types.ChannelNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6166,7 +6184,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -6182,6 +6206,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6283,7 +6310,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -6299,6 +6332,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6323,7 +6359,13 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -6339,6 +6381,9 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7040,7 +7085,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -7056,6 +7107,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7120,7 +7174,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -7136,6 +7196,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7923,7 +7986,13 @@ func awsRestjson1_deserializeDocumentStreamUnavailable(v **types.StreamUnavailab sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -7939,6 +8008,9 @@ func awsRestjson1_deserializeDocumentStreamUnavailable(v **types.StreamUnavailab } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7999,7 +8071,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -8015,6 +8093,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8142,7 +8223,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -8158,6 +8245,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ivschat/deserializers.go b/service/ivschat/deserializers.go index 8d572000261..cdfbba69cc8 100644 --- a/service/ivschat/deserializers.go +++ b/service/ivschat/deserializers.go @@ -3294,7 +3294,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3310,6 +3316,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3374,7 +3383,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3408,6 +3423,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3532,7 +3550,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3548,6 +3572,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3794,7 +3821,13 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3810,6 +3843,9 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3834,7 +3870,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3868,6 +3910,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4065,7 +4110,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "limit": if value != nil { @@ -4112,6 +4163,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4172,7 +4226,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "limit": if value != nil { @@ -4219,6 +4279,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4243,7 +4306,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -4273,6 +4342,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ivsrealtime/deserializers.go b/service/ivsrealtime/deserializers.go index a63de8a63f9..fbed3c3b3eb 100644 --- a/service/ivsrealtime/deserializers.go +++ b/service/ivsrealtime/deserializers.go @@ -5647,7 +5647,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -5663,6 +5669,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6008,7 +6017,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -6024,6 +6039,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6980,7 +6998,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -6996,6 +7020,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7631,7 +7658,13 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -7647,6 +7680,9 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8008,7 +8044,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -8024,6 +8066,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8178,7 +8223,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -8194,6 +8245,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8809,7 +8863,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exceptionMessage": if value != nil { @@ -8825,6 +8885,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kafka/deserializers.go b/service/kafka/deserializers.go index c939347bebe..fb230086b35 100644 --- a/service/kafka/deserializers.go +++ b/service/kafka/deserializers.go @@ -10516,7 +10516,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -10541,6 +10547,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12200,7 +12209,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -12225,6 +12240,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12662,7 +12680,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -12687,6 +12711,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12751,7 +12778,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -12776,6 +12809,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13383,7 +13419,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -13408,6 +13450,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14404,7 +14449,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -14429,6 +14480,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14583,7 +14637,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -14608,6 +14668,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14750,7 +14813,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "invalidParameter": if value != nil { @@ -14775,6 +14844,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kafkaconnect/deserializers.go b/service/kafkaconnect/deserializers.go index c4b2acb88d4..cd4df145d0f 100644 --- a/service/kafkaconnect/deserializers.go +++ b/service/kafkaconnect/deserializers.go @@ -3669,7 +3669,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3685,6 +3691,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3799,7 +3808,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3815,6 +3830,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4342,7 +4360,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4358,6 +4382,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4382,7 +4409,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4398,6 +4431,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4574,7 +4610,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4590,6 +4632,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4911,7 +4956,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4927,6 +4978,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5036,7 +5090,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5052,6 +5112,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5076,7 +5139,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5092,6 +5161,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kendra/deserializers.go b/service/kendra/deserializers.go index d9b1138f53d..942475fdfab 100644 --- a/service/kendra/deserializers.go +++ b/service/kendra/deserializers.go @@ -8512,7 +8512,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8528,6 +8534,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9733,7 +9742,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9749,6 +9764,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13480,7 +13498,13 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ConflictingItems": if err := awsAwsjson11_deserializeDocumentConflictingItems(&sv.ConflictingItems, value); err != nil { @@ -13501,6 +13525,9 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14979,7 +15006,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14995,6 +15028,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15019,7 +15055,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15035,6 +15077,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16607,7 +16652,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.Res sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16623,6 +16674,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.Res } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16647,7 +16701,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16663,6 +16723,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16687,7 +16750,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16703,6 +16772,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16727,7 +16799,13 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16743,6 +16821,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18104,7 +18185,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18120,6 +18207,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19908,7 +19998,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19924,6 +20020,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20207,7 +20306,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20223,6 +20328,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kendraranking/deserializers.go b/service/kendraranking/deserializers.go index ab0d52a5edc..9973b55ab01 100644 --- a/service/kendraranking/deserializers.go +++ b/service/kendraranking/deserializers.go @@ -1406,7 +1406,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1422,6 +1428,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1490,7 +1499,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1506,6 +1521,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1530,7 +1548,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1546,6 +1570,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1802,7 +1829,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1818,6 +1851,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1842,7 +1878,13 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1858,6 +1900,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1882,7 +1927,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1898,6 +1949,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2005,7 +2059,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2021,6 +2081,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2045,7 +2108,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2061,6 +2130,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/keyspaces/deserializers.go b/service/keyspaces/deserializers.go index e394aba8815..132c1d935d3 100644 --- a/service/keyspaces/deserializers.go +++ b/service/keyspaces/deserializers.go @@ -2501,7 +2501,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2517,6 +2523,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3017,7 +3026,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3033,6 +3048,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3189,7 +3207,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3205,6 +3229,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3659,7 +3686,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3684,6 +3717,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3759,7 +3795,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3775,6 +3817,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4260,7 +4305,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4276,6 +4327,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesis/deserializers.go b/service/kinesis/deserializers.go index 927565066fd..64c23978837 100644 --- a/service/kinesis/deserializers.go +++ b/service/kinesis/deserializers.go @@ -4258,7 +4258,13 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4274,6 +4280,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4298,7 +4307,13 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4314,6 +4329,9 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4338,7 +4356,13 @@ func awsAwsjson11_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4354,6 +4378,9 @@ func awsAwsjson11_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4378,7 +4405,13 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4394,6 +4427,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4418,7 +4454,13 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4434,6 +4476,9 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4458,7 +4503,13 @@ func awsAwsjson11_deserializeDocumentKMSOptInRequired(v **types.KMSOptInRequired sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4474,6 +4525,9 @@ func awsAwsjson11_deserializeDocumentKMSOptInRequired(v **types.KMSOptInRequired } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4498,7 +4552,13 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingException(v **types.KMSThrottl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4514,6 +4574,9 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingException(v **types.KMSThrottl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4659,7 +4722,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4675,6 +4744,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4699,7 +4771,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4715,6 +4793,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5430,7 +5511,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5446,6 +5533,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5731,7 +5821,13 @@ func awsAwsjson11_deserializeDocumentExpiredIteratorException(v **types.ExpiredI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5747,6 +5843,9 @@ func awsAwsjson11_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5771,7 +5870,13 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5787,6 +5892,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5811,7 +5919,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5827,6 +5941,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5851,7 +5968,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5867,6 +5990,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5927,7 +6053,13 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5943,6 +6075,9 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6761,7 +6896,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6777,6 +6918,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisanalytics/deserializers.go b/service/kinesisanalytics/deserializers.go index 5ab702e0e3b..6089882691f 100644 --- a/service/kinesisanalytics/deserializers.go +++ b/service/kinesisanalytics/deserializers.go @@ -3221,7 +3221,13 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3237,6 +3243,9 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3261,7 +3270,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3277,6 +3292,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3713,7 +3731,13 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3729,6 +3753,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3753,7 +3780,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3769,6 +3802,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4078,7 +4114,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4094,6 +4136,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4632,7 +4677,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4648,6 +4699,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4672,7 +4726,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4688,6 +4748,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4712,7 +4775,13 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4728,6 +4797,9 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4810,7 +4882,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4826,6 +4904,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4983,7 +5064,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4999,6 +5086,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5023,7 +5113,13 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5049,6 +5145,9 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5073,7 +5172,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5089,6 +5194,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisanalyticsv2/deserializers.go b/service/kinesisanalyticsv2/deserializers.go index 49c0dd3ad9c..65146cb59a4 100644 --- a/service/kinesisanalyticsv2/deserializers.go +++ b/service/kinesisanalyticsv2/deserializers.go @@ -5811,7 +5811,13 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5827,6 +5833,9 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5851,7 +5860,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5867,6 +5882,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6634,7 +6652,13 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6650,6 +6674,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6674,7 +6701,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6690,6 +6723,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6714,7 +6750,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6730,6 +6772,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7039,7 +7084,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7055,6 +7106,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7957,7 +8011,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7973,6 +8033,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7997,7 +8060,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8013,6 +8082,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8037,7 +8109,13 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8053,6 +8131,9 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8377,7 +8458,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8393,6 +8480,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8753,7 +8843,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8769,6 +8865,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8793,7 +8892,13 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8819,6 +8924,9 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8843,7 +8951,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8859,6 +8973,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisvideo/deserializers.go b/service/kinesisvideo/deserializers.go index 993ca72154f..de36e62cd8a 100644 --- a/service/kinesisvideo/deserializers.go +++ b/service/kinesisvideo/deserializers.go @@ -4875,7 +4875,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4891,6 +4897,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4915,7 +4924,13 @@ func awsRestjson1_deserializeDocumentAccountChannelLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4931,6 +4946,9 @@ func awsRestjson1_deserializeDocumentAccountChannelLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4955,7 +4973,13 @@ func awsRestjson1_deserializeDocumentAccountStreamLimitExceededException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4971,6 +4995,9 @@ func awsRestjson1_deserializeDocumentAccountStreamLimitExceededException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5126,7 +5153,13 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5142,6 +5175,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5224,7 +5260,13 @@ func awsRestjson1_deserializeDocumentDeviceStreamLimitExceededException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5240,6 +5282,9 @@ func awsRestjson1_deserializeDocumentDeviceStreamLimitExceededException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5552,7 +5597,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5568,6 +5619,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5592,7 +5646,13 @@ func awsRestjson1_deserializeDocumentInvalidDeviceException(v **types.InvalidDev sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5608,6 +5668,9 @@ func awsRestjson1_deserializeDocumentInvalidDeviceException(v **types.InvalidDev } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5632,7 +5695,13 @@ func awsRestjson1_deserializeDocumentInvalidResourceFormatException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5648,6 +5717,9 @@ func awsRestjson1_deserializeDocumentInvalidResourceFormatException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6206,7 +6278,13 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6222,6 +6300,9 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6246,7 +6327,13 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6262,6 +6349,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6495,7 +6585,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6511,6 +6607,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6535,7 +6634,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6551,6 +6656,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6708,7 +6816,13 @@ func awsRestjson1_deserializeDocumentStreamEdgeConfigurationNotFoundException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6724,6 +6838,9 @@ func awsRestjson1_deserializeDocumentStreamEdgeConfigurationNotFoundException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6905,7 +7022,13 @@ func awsRestjson1_deserializeDocumentTagsPerResourceExceededLimitException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6921,6 +7044,9 @@ func awsRestjson1_deserializeDocumentTagsPerResourceExceededLimitException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6981,7 +7107,13 @@ func awsRestjson1_deserializeDocumentVersionMismatchException(v **types.VersionM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6997,6 +7129,9 @@ func awsRestjson1_deserializeDocumentVersionMismatchException(v **types.VersionM } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisvideoarchivedmedia/deserializers.go b/service/kinesisvideoarchivedmedia/deserializers.go index 2c2d08316a0..cae6acd0405 100644 --- a/service/kinesisvideoarchivedmedia/deserializers.go +++ b/service/kinesisvideoarchivedmedia/deserializers.go @@ -1341,7 +1341,13 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1357,6 +1363,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1612,7 +1621,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1628,6 +1643,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1652,7 +1670,13 @@ func awsRestjson1_deserializeDocumentInvalidCodecPrivateDataException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1668,6 +1692,9 @@ func awsRestjson1_deserializeDocumentInvalidCodecPrivateDataException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1692,7 +1719,13 @@ func awsRestjson1_deserializeDocumentInvalidMediaFrameException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1708,6 +1741,9 @@ func awsRestjson1_deserializeDocumentInvalidMediaFrameException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1732,7 +1768,13 @@ func awsRestjson1_deserializeDocumentMissingCodecPrivateDataException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1748,6 +1790,9 @@ func awsRestjson1_deserializeDocumentMissingCodecPrivateDataException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1772,7 +1817,13 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1788,6 +1839,9 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1812,7 +1866,13 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1828,6 +1888,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1852,7 +1915,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1868,6 +1937,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1892,7 +1964,13 @@ func awsRestjson1_deserializeDocumentUnsupportedStreamMediaTypeException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1908,6 +1986,9 @@ func awsRestjson1_deserializeDocumentUnsupportedStreamMediaTypeException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisvideomedia/deserializers.go b/service/kinesisvideomedia/deserializers.go index 3370f89dfe8..9001f8c7c7a 100644 --- a/service/kinesisvideomedia/deserializers.go +++ b/service/kinesisvideomedia/deserializers.go @@ -399,7 +399,13 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -415,6 +421,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -439,7 +448,13 @@ func awsRestjson1_deserializeDocumentConnectionLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -455,6 +470,9 @@ func awsRestjson1_deserializeDocumentConnectionLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -479,7 +497,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -495,6 +519,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -519,7 +546,13 @@ func awsRestjson1_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -535,6 +568,9 @@ func awsRestjson1_deserializeDocumentInvalidEndpointException(v **types.InvalidE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -559,7 +595,13 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -575,6 +617,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -599,7 +644,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -615,6 +666,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisvideosignaling/deserializers.go b/service/kinesisvideosignaling/deserializers.go index 96fddb568c0..8a45f527721 100644 --- a/service/kinesisvideosignaling/deserializers.go +++ b/service/kinesisvideosignaling/deserializers.go @@ -597,7 +597,13 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -613,6 +619,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -738,7 +747,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -754,6 +769,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -778,7 +796,13 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -794,6 +818,9 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -818,7 +845,13 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -834,6 +867,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -858,7 +894,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -874,6 +916,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -898,7 +943,13 @@ func awsRestjson1_deserializeDocumentSessionExpiredException(v **types.SessionEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -914,6 +965,9 @@ func awsRestjson1_deserializeDocumentSessionExpiredException(v **types.SessionEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kinesisvideowebrtcstorage/deserializers.go b/service/kinesisvideowebrtcstorage/deserializers.go index c6930f6bebb..f6d6b901f2f 100644 --- a/service/kinesisvideowebrtcstorage/deserializers.go +++ b/service/kinesisvideowebrtcstorage/deserializers.go @@ -400,7 +400,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -416,6 +422,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -440,7 +449,13 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -456,6 +471,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -480,7 +498,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -496,6 +520,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -520,7 +547,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -536,6 +569,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/kms/deserializers.go b/service/kms/deserializers.go index acd0c603d07..d56d6410f7c 100644 --- a/service/kms/deserializers.go +++ b/service/kms/deserializers.go @@ -8410,7 +8410,13 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8426,6 +8432,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8450,7 +8459,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInUseException(v **types.Clo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8466,6 +8481,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInUseException(v **types.Clo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8490,7 +8508,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInvalidConfigurationExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8506,6 +8530,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInvalidConfigurationExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8530,7 +8557,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotActiveException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8546,6 +8579,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotActiveException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8570,7 +8606,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8586,6 +8628,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8610,7 +8655,13 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotRelatedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8626,6 +8677,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotRelatedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8650,7 +8704,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8666,6 +8726,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8690,7 +8753,13 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreHasCMKsException(v **types.Cu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8706,6 +8775,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreHasCMKsException(v **types.Cu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8730,7 +8802,13 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreInvalidStateException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8746,6 +8824,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreInvalidStateException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8770,7 +8851,13 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNameInUseException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8786,6 +8873,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNameInUseException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8810,7 +8900,13 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNotFoundException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8826,6 +8922,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNotFoundException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8999,7 +9098,13 @@ func awsAwsjson11_deserializeDocumentDependencyTimeoutException(v **types.Depend sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9015,6 +9120,9 @@ func awsAwsjson11_deserializeDocumentDependencyTimeoutException(v **types.Depend } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9039,7 +9147,13 @@ func awsAwsjson11_deserializeDocumentDisabledException(v **types.DisabledExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9055,6 +9169,9 @@ func awsAwsjson11_deserializeDocumentDisabledException(v **types.DisabledExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9079,7 +9196,13 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9095,6 +9218,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9191,7 +9317,13 @@ func awsAwsjson11_deserializeDocumentExpiredImportTokenException(v **types.Expir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9207,6 +9339,9 @@ func awsAwsjson11_deserializeDocumentExpiredImportTokenException(v **types.Expir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9453,7 +9588,13 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyException(v **types.IncorrectKe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9469,6 +9610,9 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyException(v **types.IncorrectKe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9493,7 +9637,13 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyMaterialException(v **types.Inc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9509,6 +9659,9 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyMaterialException(v **types.Inc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9533,7 +9686,13 @@ func awsAwsjson11_deserializeDocumentIncorrectTrustAnchorException(v **types.Inc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9549,6 +9708,9 @@ func awsAwsjson11_deserializeDocumentIncorrectTrustAnchorException(v **types.Inc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9573,7 +9735,13 @@ func awsAwsjson11_deserializeDocumentInvalidAliasNameException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9589,6 +9757,9 @@ func awsAwsjson11_deserializeDocumentInvalidAliasNameException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9613,7 +9784,13 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9629,6 +9806,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9653,7 +9833,13 @@ func awsAwsjson11_deserializeDocumentInvalidCiphertextException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9669,6 +9855,9 @@ func awsAwsjson11_deserializeDocumentInvalidCiphertextException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9693,7 +9882,13 @@ func awsAwsjson11_deserializeDocumentInvalidGrantIdException(v **types.InvalidGr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9709,6 +9904,9 @@ func awsAwsjson11_deserializeDocumentInvalidGrantIdException(v **types.InvalidGr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9733,7 +9931,13 @@ func awsAwsjson11_deserializeDocumentInvalidGrantTokenException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9749,6 +9953,9 @@ func awsAwsjson11_deserializeDocumentInvalidGrantTokenException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9773,7 +9980,13 @@ func awsAwsjson11_deserializeDocumentInvalidImportTokenException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9789,6 +10002,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportTokenException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9813,7 +10029,13 @@ func awsAwsjson11_deserializeDocumentInvalidKeyUsageException(v **types.InvalidK sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9829,6 +10051,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyUsageException(v **types.InvalidK } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9853,7 +10078,13 @@ func awsAwsjson11_deserializeDocumentInvalidMarkerException(v **types.InvalidMar sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9869,6 +10100,9 @@ func awsAwsjson11_deserializeDocumentInvalidMarkerException(v **types.InvalidMar } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10269,7 +10503,13 @@ func awsAwsjson11_deserializeDocumentKeyUnavailableException(v **types.KeyUnavai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10285,6 +10525,9 @@ func awsAwsjson11_deserializeDocumentKeyUnavailableException(v **types.KeyUnavai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10309,7 +10552,13 @@ func awsAwsjson11_deserializeDocumentKMSInternalException(v **types.KMSInternalE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10325,6 +10574,9 @@ func awsAwsjson11_deserializeDocumentKMSInternalException(v **types.KMSInternalE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10349,7 +10601,13 @@ func awsAwsjson11_deserializeDocumentKMSInvalidMacException(v **types.KMSInvalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10365,6 +10623,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidMacException(v **types.KMSInvalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10389,7 +10650,13 @@ func awsAwsjson11_deserializeDocumentKMSInvalidSignatureException(v **types.KMSI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10405,6 +10672,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidSignatureException(v **types.KMSI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10429,7 +10699,13 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10445,6 +10721,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10469,7 +10748,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10485,6 +10770,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10545,7 +10833,13 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10561,6 +10855,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10718,7 +11015,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10734,6 +11037,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10978,7 +11284,13 @@ func awsAwsjson11_deserializeDocumentTagException(v **types.TagException, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10994,6 +11306,9 @@ func awsAwsjson11_deserializeDocumentTagException(v **types.TagException, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11052,7 +11367,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11068,6 +11389,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11092,7 +11416,13 @@ func awsAwsjson11_deserializeDocumentXksKeyAlreadyInUseException(v **types.XksKe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11108,6 +11438,9 @@ func awsAwsjson11_deserializeDocumentXksKeyAlreadyInUseException(v **types.XksKe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11172,7 +11505,13 @@ func awsAwsjson11_deserializeDocumentXksKeyInvalidConfigurationException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11188,6 +11527,9 @@ func awsAwsjson11_deserializeDocumentXksKeyInvalidConfigurationException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11212,7 +11554,13 @@ func awsAwsjson11_deserializeDocumentXksKeyNotFoundException(v **types.XksKeyNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11228,6 +11576,9 @@ func awsAwsjson11_deserializeDocumentXksKeyNotFoundException(v **types.XksKeyNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11328,7 +11679,13 @@ func awsAwsjson11_deserializeDocumentXksProxyIncorrectAuthenticationCredentialEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11344,6 +11701,9 @@ func awsAwsjson11_deserializeDocumentXksProxyIncorrectAuthenticationCredentialEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11368,7 +11728,13 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidConfigurationException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11384,6 +11750,9 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidConfigurationException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11408,7 +11777,13 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidResponseException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11424,6 +11799,9 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidResponseException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11448,7 +11826,13 @@ func awsAwsjson11_deserializeDocumentXksProxyUriEndpointInUseException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11464,6 +11848,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriEndpointInUseException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11488,7 +11875,13 @@ func awsAwsjson11_deserializeDocumentXksProxyUriInUseException(v **types.XksProx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11504,6 +11897,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriInUseException(v **types.XksProx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11528,7 +11924,13 @@ func awsAwsjson11_deserializeDocumentXksProxyUriUnreachableException(v **types.X sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11544,6 +11946,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriUnreachableException(v **types.X } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11568,7 +11973,13 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInUseException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11584,6 +11995,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInUseException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11608,7 +12022,13 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInvalidConfigurat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11624,6 +12044,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInvalidConfigurat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11648,7 +12071,13 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceNotFoundException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11664,6 +12093,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceNotFoundException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lakeformation/deserializers.go b/service/lakeformation/deserializers.go index 47af61b1921..8cbd427d59e 100644 --- a/service/lakeformation/deserializers.go +++ b/service/lakeformation/deserializers.go @@ -8738,7 +8738,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8754,6 +8760,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8809,7 +8818,13 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8825,6 +8840,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9202,7 +9220,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9218,6 +9242,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9765,7 +9792,13 @@ func awsRestjson1_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9781,6 +9814,9 @@ func awsRestjson1_deserializeDocumentEntityNotFoundException(v **types.EntityNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9924,7 +9960,13 @@ func awsRestjson1_deserializeDocumentExpiredException(v **types.ExpiredException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9940,6 +9982,9 @@ func awsRestjson1_deserializeDocumentExpiredException(v **types.ExpiredException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10043,7 +10088,13 @@ func awsRestjson1_deserializeDocumentGlueEncryptionException(v **types.GlueEncry sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10059,6 +10110,9 @@ func awsRestjson1_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10083,7 +10137,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10099,6 +10159,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10123,7 +10186,13 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10139,6 +10208,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10579,7 +10651,13 @@ func awsRestjson1_deserializeDocumentOperationTimeoutException(v **types.Operati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10595,6 +10673,9 @@ func awsRestjson1_deserializeDocumentOperationTimeoutException(v **types.Operati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10838,7 +10919,13 @@ func awsRestjson1_deserializeDocumentPermissionTypeMismatchException(v **types.P sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10854,6 +10941,9 @@ func awsRestjson1_deserializeDocumentPermissionTypeMismatchException(v **types.P } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11339,7 +11429,13 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11355,6 +11451,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11379,7 +11478,13 @@ func awsRestjson1_deserializeDocumentResourceNumberLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11395,6 +11500,9 @@ func awsRestjson1_deserializeDocumentResourceNumberLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11536,7 +11644,13 @@ func awsRestjson1_deserializeDocumentStatisticsNotReadyYetException(v **types.St sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11552,6 +11666,9 @@ func awsRestjson1_deserializeDocumentStatisticsNotReadyYetException(v **types.St } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12138,7 +12255,13 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12154,6 +12277,9 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12178,7 +12304,13 @@ func awsRestjson1_deserializeDocumentTransactionCanceledException(v **types.Tran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12194,6 +12326,9 @@ func awsRestjson1_deserializeDocumentTransactionCanceledException(v **types.Tran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12218,7 +12353,13 @@ func awsRestjson1_deserializeDocumentTransactionCommitInProgressException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12234,6 +12375,9 @@ func awsRestjson1_deserializeDocumentTransactionCommitInProgressException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12258,7 +12402,13 @@ func awsRestjson1_deserializeDocumentTransactionCommittedException(v **types.Tra sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12274,6 +12424,9 @@ func awsRestjson1_deserializeDocumentTransactionCommittedException(v **types.Tra } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12549,7 +12702,13 @@ func awsRestjson1_deserializeDocumentWorkUnitsNotReadyYetException(v **types.Wor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12565,6 +12724,9 @@ func awsRestjson1_deserializeDocumentWorkUnitsNotReadyYetException(v **types.Wor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lambda/deserializers.go b/service/lambda/deserializers.go index 8df4b43d147..97f59de1e10 100644 --- a/service/lambda/deserializers.go +++ b/service/lambda/deserializers.go @@ -16123,7 +16123,13 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16148,6 +16154,9 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16212,7 +16221,13 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16237,6 +16252,9 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16261,7 +16279,13 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16286,6 +16310,9 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16638,7 +16665,13 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16663,6 +16696,9 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16687,7 +16723,13 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16712,6 +16754,9 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16736,7 +16781,13 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "EC2ErrorCode": if value != nil { @@ -16770,6 +16821,9 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16794,7 +16848,13 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16819,6 +16879,9 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16843,7 +16906,13 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16868,6 +16937,9 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16892,7 +16964,13 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16917,6 +16995,9 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16941,7 +17022,13 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16966,6 +17053,9 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17060,7 +17150,13 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17085,6 +17181,9 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18759,7 +18858,13 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18784,6 +18889,9 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18808,7 +18916,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18833,6 +18947,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18857,7 +18974,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18882,6 +19005,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18906,7 +19032,13 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18931,6 +19063,9 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18955,7 +19090,13 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -18980,6 +19121,9 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19004,7 +19148,13 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19029,6 +19179,9 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19053,7 +19206,13 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19078,6 +19237,9 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19102,7 +19264,13 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19127,6 +19295,9 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19151,7 +19322,13 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19176,6 +19353,9 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19200,7 +19380,13 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19225,6 +19411,9 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19249,7 +19438,13 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -19274,6 +19469,9 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19842,7 +20040,13 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19867,6 +20071,9 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19891,7 +20098,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19916,6 +20129,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20080,7 +20296,13 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20105,6 +20327,9 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20165,7 +20390,13 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20190,6 +20421,9 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20214,7 +20448,13 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20239,6 +20479,9 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20263,7 +20506,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20288,6 +20537,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20312,7 +20564,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20337,6 +20595,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20361,7 +20622,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20386,6 +20653,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20410,7 +20680,13 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20435,6 +20711,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20709,7 +20988,13 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20734,6 +21019,9 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20794,7 +21082,13 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20819,6 +21113,9 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20843,7 +21140,13 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20868,6 +21171,9 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20941,7 +21247,13 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20966,6 +21278,9 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21145,7 +21460,13 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21170,6 +21491,9 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21279,7 +21603,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21322,6 +21652,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21422,7 +21755,13 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21447,6 +21786,9 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/launchwizard/deserializers.go b/service/launchwizard/deserializers.go index 69004a95ab4..05f30730905 100644 --- a/service/launchwizard/deserializers.go +++ b/service/launchwizard/deserializers.go @@ -2625,7 +2625,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2641,6 +2647,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2665,7 +2674,13 @@ func awsRestjson1_deserializeDocumentResourceLimitException(v **types.ResourceLi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2681,6 +2696,9 @@ func awsRestjson1_deserializeDocumentResourceLimitException(v **types.ResourceLi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2705,7 +2723,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2721,6 +2745,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2815,7 +2842,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2831,6 +2864,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lexmodelbuildingservice/deserializers.go b/service/lexmodelbuildingservice/deserializers.go index 8c127c8c23f..edf657dfb89 100644 --- a/service/lexmodelbuildingservice/deserializers.go +++ b/service/lexmodelbuildingservice/deserializers.go @@ -8448,7 +8448,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8464,6 +8470,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8488,7 +8497,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8504,6 +8519,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9274,7 +9292,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9290,6 +9314,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9841,7 +9868,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9857,6 +9890,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9939,7 +9975,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9964,6 +10006,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10616,7 +10661,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10632,6 +10683,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10756,7 +10810,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10772,6 +10832,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10854,7 +10917,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "exampleReference": if err := awsRestjson1_deserializeDocumentResourceReference(&sv.ExampleReference, value); err != nil { @@ -10875,6 +10944,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lexmodelsv2/deserializers.go b/service/lexmodelsv2/deserializers.go index b0350b8ea36..f5a8ace4a8e 100644 --- a/service/lexmodelsv2/deserializers.go +++ b/service/lexmodelsv2/deserializers.go @@ -26546,7 +26546,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -26562,6 +26568,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30048,7 +30057,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30064,6 +30079,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31229,7 +31247,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -31245,6 +31269,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31724,7 +31751,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -31740,6 +31773,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32321,7 +32357,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -32337,6 +32379,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35633,7 +35678,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -35662,6 +35713,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36813,7 +36867,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36829,6 +36889,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lexruntimeservice/deserializers.go b/service/lexruntimeservice/deserializers.go index 38e2c2ffecd..51992c77883 100644 --- a/service/lexruntimeservice/deserializers.go +++ b/service/lexruntimeservice/deserializers.go @@ -1737,7 +1737,13 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1753,6 +1759,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1777,7 +1786,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1793,6 +1808,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1866,7 +1884,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1882,6 +1906,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1906,7 +1933,13 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1922,6 +1955,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2365,7 +2401,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2381,6 +2423,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2405,7 +2450,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2430,6 +2481,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2488,7 +2542,13 @@ func awsRestjson1_deserializeDocumentLoopDetectedException(v **types.LoopDetecte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2504,6 +2564,9 @@ func awsRestjson1_deserializeDocumentLoopDetectedException(v **types.LoopDetecte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2528,7 +2591,13 @@ func awsRestjson1_deserializeDocumentNotAcceptableException(v **types.NotAccepta sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2544,6 +2613,9 @@ func awsRestjson1_deserializeDocumentNotAcceptableException(v **types.NotAccepta } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2568,7 +2640,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2584,6 +2662,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2658,7 +2739,13 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2674,6 +2761,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2837,7 +2927,13 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2853,6 +2949,9 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lexruntimev2/deserializers.go b/service/lexruntimev2/deserializers.go index f071462b7a6..85f194b0e26 100644 --- a/service/lexruntimev2/deserializers.go +++ b/service/lexruntimev2/deserializers.go @@ -1713,7 +1713,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1729,6 +1735,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1992,7 +2001,13 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2008,6 +2023,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2180,7 +2198,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2196,6 +2220,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2220,7 +2247,13 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2236,6 +2269,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2612,7 +2648,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2628,6 +2670,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2936,7 +2981,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2952,6 +3003,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3680,7 +3734,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3696,6 +3756,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3769,7 +3832,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3785,6 +3854,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/licensemanager/deserializers.go b/service/licensemanager/deserializers.go index 96f94d96748..d7c91e8f6ab 100644 --- a/service/licensemanager/deserializers.go +++ b/service/licensemanager/deserializers.go @@ -7028,7 +7028,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7044,6 +7050,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7140,7 +7149,13 @@ func awsAwsjson11_deserializeDocumentAuthorizationException(v **types.Authorizat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7156,6 +7171,9 @@ func awsAwsjson11_deserializeDocumentAuthorizationException(v **types.Authorizat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7280,7 +7298,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7296,6 +7320,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7721,7 +7748,13 @@ func awsAwsjson11_deserializeDocumentEntitlementNotAllowedException(v **types.En sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7737,6 +7770,9 @@ func awsAwsjson11_deserializeDocumentEntitlementNotAllowedException(v **types.En } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7862,7 +7898,13 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -7887,6 +7929,9 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7911,7 +7956,13 @@ func awsAwsjson11_deserializeDocumentFilterLimitExceededException(v **types.Filt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7927,6 +7978,9 @@ func awsAwsjson11_deserializeDocumentFilterLimitExceededException(v **types.Filt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8283,7 +8337,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8299,6 +8359,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8323,7 +8386,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8339,6 +8408,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9494,7 +9566,13 @@ func awsAwsjson11_deserializeDocumentLicenseUsageException(v **types.LicenseUsag sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9510,6 +9588,9 @@ func awsAwsjson11_deserializeDocumentLicenseUsageException(v **types.LicenseUsag } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9740,7 +9821,13 @@ func awsAwsjson11_deserializeDocumentNoEntitlementsAllowedException(v **types.No sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9756,6 +9843,9 @@ func awsAwsjson11_deserializeDocumentNoEntitlementsAllowedException(v **types.No } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10071,7 +10161,13 @@ func awsAwsjson11_deserializeDocumentRateLimitExceededException(v **types.RateLi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10087,6 +10183,9 @@ func awsAwsjson11_deserializeDocumentRateLimitExceededException(v **types.RateLi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10165,7 +10264,13 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Location": if value != nil { @@ -10190,6 +10295,9 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10620,7 +10728,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10636,6 +10750,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10660,7 +10777,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10676,6 +10799,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10749,7 +10875,13 @@ func awsAwsjson11_deserializeDocumentServerInternalException(v **types.ServerInt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10765,6 +10897,9 @@ func awsAwsjson11_deserializeDocumentServerInternalException(v **types.ServerInt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11028,7 +11163,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedDigitalSignatureMethodException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11044,6 +11185,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedDigitalSignatureMethodException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11068,7 +11212,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11084,6 +11234,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/licensemanagerlinuxsubscriptions/deserializers.go b/service/licensemanagerlinuxsubscriptions/deserializers.go index 8dca85cf005..43ab57114e9 100644 --- a/service/licensemanagerlinuxsubscriptions/deserializers.go +++ b/service/licensemanagerlinuxsubscriptions/deserializers.go @@ -2092,7 +2092,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2108,6 +2114,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2332,7 +2341,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2348,6 +2363,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2576,7 +2594,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2592,6 +2616,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2616,7 +2643,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2632,6 +2665,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/licensemanagerusersubscriptions/deserializers.go b/service/licensemanagerusersubscriptions/deserializers.go index 6d9bf1ffd12..cccf947f601 100644 --- a/service/licensemanagerusersubscriptions/deserializers.go +++ b/service/licensemanagerusersubscriptions/deserializers.go @@ -2198,7 +2198,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2214,6 +2220,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2278,7 +2287,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2294,6 +2309,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2699,7 +2717,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2715,6 +2739,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2872,7 +2899,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2888,6 +2921,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2912,7 +2948,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2928,6 +2970,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3069,7 +3114,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3085,6 +3136,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3109,7 +3163,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3125,6 +3185,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index d3069548182..2a2fc61af32 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -20773,7 +20773,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -20816,6 +20822,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21175,7 +21184,13 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -21218,6 +21233,9 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28378,7 +28396,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -28421,6 +28445,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30358,7 +30385,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -30401,6 +30434,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30610,7 +30646,13 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -30653,6 +30695,9 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32941,7 +32986,13 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -32984,6 +33035,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33869,7 +33923,13 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -33912,6 +33972,9 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/location/deserializers.go b/service/location/deserializers.go index c5ff03e5f8e..81447e46c5e 100644 --- a/service/location/deserializers.go +++ b/service/location/deserializers.go @@ -10603,7 +10603,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10619,6 +10625,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11738,7 +11747,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11754,6 +11769,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12368,7 +12386,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12384,6 +12408,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14236,7 +14263,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14252,6 +14285,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15102,7 +15138,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15118,6 +15160,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15334,7 +15379,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15350,6 +15401,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15427,7 +15481,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -15457,6 +15517,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lookoutequipment/deserializers.go b/service/lookoutequipment/deserializers.go index fb79e7fcc62..d02570dabde 100644 --- a/service/lookoutequipment/deserializers.go +++ b/service/lookoutequipment/deserializers.go @@ -6162,7 +6162,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6178,6 +6184,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6255,7 +6264,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6271,6 +6286,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7684,7 +7702,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7700,6 +7724,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8914,7 +8941,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8930,6 +8963,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9337,7 +9373,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9353,6 +9395,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9460,7 +9505,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9476,6 +9527,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9544,7 +9598,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9560,6 +9620,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lookoutmetrics/deserializers.go b/service/lookoutmetrics/deserializers.go index 47a993811c1..dfe99f7c74e 100644 --- a/service/lookoutmetrics/deserializers.go +++ b/service/lookoutmetrics/deserializers.go @@ -5062,7 +5062,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5078,6 +5084,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6380,7 +6389,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6414,6 +6429,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7867,7 +7885,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7883,6 +7907,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8972,7 +8999,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9006,6 +9039,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9189,7 +9225,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9241,6 +9283,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9719,7 +9764,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9735,6 +9786,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9759,7 +9813,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -9789,6 +9849,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/lookoutvision/deserializers.go b/service/lookoutvision/deserializers.go index 3dda9d931d5..d66d2319604 100644 --- a/service/lookoutvision/deserializers.go +++ b/service/lookoutvision/deserializers.go @@ -3898,7 +3898,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3914,6 +3920,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4017,7 +4026,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4051,6 +4066,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4692,7 +4710,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4721,6 +4745,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5868,7 +5895,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5902,6 +5935,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5975,7 +6011,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6027,6 +6069,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6192,7 +6237,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6239,6 +6290,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6263,7 +6317,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6279,6 +6339,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/m2/deserializers.go b/service/m2/deserializers.go index 0d319139085..12dc9d5095b 100644 --- a/service/m2/deserializers.go +++ b/service/m2/deserializers.go @@ -6388,7 +6388,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6404,6 +6410,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7236,7 +7245,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7270,6 +7285,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8174,7 +8192,13 @@ func awsRestjson1_deserializeDocumentExecutionTimeoutException(v **types.Executi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8190,6 +8214,9 @@ func awsRestjson1_deserializeDocumentExecutionTimeoutException(v **types.Executi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8458,7 +8485,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8487,6 +8520,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9120,7 +9156,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9154,6 +9196,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9357,7 +9402,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9409,6 +9460,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9433,7 +9487,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9449,6 +9509,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9627,7 +9690,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9674,6 +9743,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9698,7 +9770,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -9728,6 +9806,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/machinelearning/deserializers.go b/service/machinelearning/deserializers.go index b4d7e697577..60fd15475fa 100644 --- a/service/machinelearning/deserializers.go +++ b/service/machinelearning/deserializers.go @@ -4372,7 +4372,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4401,6 +4407,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4425,7 +4434,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4454,6 +4469,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4478,7 +4496,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4507,6 +4531,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4531,7 +4558,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4547,6 +4580,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4571,7 +4607,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4600,6 +4642,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5076,7 +5121,13 @@ func awsAwsjson11_deserializeDocumentPredictorNotMountedException(v **types.Pred sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5092,6 +5143,9 @@ func awsAwsjson11_deserializeDocumentPredictorNotMountedException(v **types.Pred } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5427,7 +5481,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5456,6 +5516,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5590,7 +5653,13 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5606,6 +5675,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/macie2/deserializers.go b/service/macie2/deserializers.go index 97827c44733..1e3ac7746ce 100644 --- a/service/macie2/deserializers.go +++ b/service/macie2/deserializers.go @@ -14566,7 +14566,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14582,6 +14588,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16638,7 +16647,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16654,6 +16669,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17990,7 +18008,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18006,6 +18030,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19861,7 +19888,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19877,6 +19910,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21386,7 +21422,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -21402,6 +21444,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22185,7 +22230,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22201,6 +22252,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22225,7 +22279,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22241,6 +22301,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22709,7 +22772,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22725,6 +22794,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mailmanager/deserializers.go b/service/mailmanager/deserializers.go index 2d0f307b09f..3bff9703dc2 100644 --- a/service/mailmanager/deserializers.go +++ b/service/mailmanager/deserializers.go @@ -5744,7 +5744,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5760,6 +5766,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6608,7 +6617,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6624,6 +6639,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8358,7 +8376,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8374,6 +8398,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10096,7 +10123,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10112,6 +10145,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10291,7 +10327,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10307,6 +10349,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10423,7 +10468,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10439,6 +10490,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/managedblockchain/deserializers.go b/service/managedblockchain/deserializers.go index 4846832a96d..55b75df7478 100644 --- a/service/managedblockchain/deserializers.go +++ b/service/managedblockchain/deserializers.go @@ -4345,7 +4345,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4361,6 +4367,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4677,7 +4686,13 @@ func awsRestjson1_deserializeDocumentIllegalActionException(v **types.IllegalAct sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4693,6 +4708,9 @@ func awsRestjson1_deserializeDocumentIllegalActionException(v **types.IllegalAct } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4717,13 +4735,22 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4748,7 +4775,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4764,6 +4797,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6852,7 +6888,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6868,6 +6910,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6892,7 +6937,13 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6908,6 +6959,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6932,7 +6986,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6957,6 +7017,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6981,7 +7044,13 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6997,6 +7066,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7021,13 +7093,22 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7052,7 +7133,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7077,6 +7164,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/managedblockchainquery/deserializers.go b/service/managedblockchainquery/deserializers.go index 984603738da..22e84c8f615 100644 --- a/service/managedblockchainquery/deserializers.go +++ b/service/managedblockchainquery/deserializers.go @@ -1891,7 +1891,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1907,6 +1913,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2378,7 +2387,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2407,6 +2422,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2471,7 +2489,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2505,6 +2529,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2529,7 +2556,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2581,6 +2614,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2605,7 +2641,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2652,6 +2694,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3388,7 +3433,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -3418,6 +3469,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplaceagreement/deserializers.go b/service/marketplaceagreement/deserializers.go index 2a99064ceeb..1070bf44548 100644 --- a/service/marketplaceagreement/deserializers.go +++ b/service/marketplaceagreement/deserializers.go @@ -802,7 +802,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -827,6 +833,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1720,7 +1729,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1745,6 +1760,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2237,7 +2255,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2280,6 +2304,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2526,7 +2553,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2551,6 +2584,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2699,7 +2735,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -2738,6 +2780,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplacecatalog/deserializers.go b/service/marketplacecatalog/deserializers.go index 04172722199..349a97540a4 100644 --- a/service/marketplacecatalog/deserializers.go +++ b/service/marketplacecatalog/deserializers.go @@ -2409,7 +2409,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2425,6 +2431,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3308,7 +3317,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3324,6 +3339,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3689,7 +3707,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3705,6 +3729,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3729,7 +3756,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3745,6 +3778,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3769,7 +3805,13 @@ func awsRestjson1_deserializeDocumentResourceNotSupportedException(v **types.Res sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3785,6 +3827,9 @@ func awsRestjson1_deserializeDocumentResourceNotSupportedException(v **types.Res } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3858,7 +3903,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3874,6 +3925,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3981,7 +4035,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3997,6 +4057,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4021,7 +4084,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4037,6 +4106,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplacecommerceanalytics/deserializers.go b/service/marketplacecommerceanalytics/deserializers.go index 4611bee1f64..0c04210eee3 100644 --- a/service/marketplacecommerceanalytics/deserializers.go +++ b/service/marketplacecommerceanalytics/deserializers.go @@ -306,7 +306,13 @@ func awsAwsjson11_deserializeDocumentMarketplaceCommerceAnalyticsException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -322,6 +328,9 @@ func awsAwsjson11_deserializeDocumentMarketplaceCommerceAnalyticsException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplacedeployment/deserializers.go b/service/marketplacedeployment/deserializers.go index aedd7369f0e..8c785fac7b8 100644 --- a/service/marketplacedeployment/deserializers.go +++ b/service/marketplacedeployment/deserializers.go @@ -868,7 +868,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -884,6 +890,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -908,7 +917,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -933,6 +948,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -957,7 +975,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -973,6 +997,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -997,7 +1024,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1013,6 +1046,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1037,7 +1073,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1053,6 +1095,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1149,7 +1194,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1165,6 +1216,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1189,7 +1243,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldName": if value != nil { @@ -1214,6 +1274,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplaceentitlementservice/deserializers.go b/service/marketplaceentitlementservice/deserializers.go index 6896bd70f26..2aba4dd6e4d 100644 --- a/service/marketplaceentitlementservice/deserializers.go +++ b/service/marketplaceentitlementservice/deserializers.go @@ -481,7 +481,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -497,6 +503,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -521,7 +530,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -537,6 +552,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -561,7 +579,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -577,6 +601,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplacemetering/deserializers.go b/service/marketplacemetering/deserializers.go index a87f2835733..afeb01d04e3 100644 --- a/service/marketplacemetering/deserializers.go +++ b/service/marketplacemetering/deserializers.go @@ -1172,7 +1172,13 @@ func awsAwsjson11_deserializeDocumentCustomerNotEntitledException(v **types.Cust sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1188,6 +1194,9 @@ func awsAwsjson11_deserializeDocumentCustomerNotEntitledException(v **types.Cust } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1212,7 +1221,13 @@ func awsAwsjson11_deserializeDocumentDisabledApiException(v **types.DisabledApiE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1228,6 +1243,9 @@ func awsAwsjson11_deserializeDocumentDisabledApiException(v **types.DisabledApiE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1252,7 +1270,13 @@ func awsAwsjson11_deserializeDocumentDuplicateRequestException(v **types.Duplica sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1268,6 +1292,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRequestException(v **types.Duplica } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1292,7 +1319,13 @@ func awsAwsjson11_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1308,6 +1341,9 @@ func awsAwsjson11_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1332,7 +1368,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1348,6 +1390,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1372,7 +1417,13 @@ func awsAwsjson11_deserializeDocumentInvalidCustomerIdentifierException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1388,6 +1439,9 @@ func awsAwsjson11_deserializeDocumentInvalidCustomerIdentifierException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1412,7 +1466,13 @@ func awsAwsjson11_deserializeDocumentInvalidEndpointRegionException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1428,6 +1488,9 @@ func awsAwsjson11_deserializeDocumentInvalidEndpointRegionException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1452,7 +1515,13 @@ func awsAwsjson11_deserializeDocumentInvalidProductCodeException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1468,6 +1537,9 @@ func awsAwsjson11_deserializeDocumentInvalidProductCodeException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1492,7 +1564,13 @@ func awsAwsjson11_deserializeDocumentInvalidPublicKeyVersionException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1508,6 +1586,9 @@ func awsAwsjson11_deserializeDocumentInvalidPublicKeyVersionException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1532,7 +1613,13 @@ func awsAwsjson11_deserializeDocumentInvalidRegionException(v **types.InvalidReg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1548,6 +1635,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegionException(v **types.InvalidReg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1572,7 +1662,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1588,6 +1684,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1612,7 +1711,13 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1628,6 +1733,9 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1652,7 +1760,13 @@ func awsAwsjson11_deserializeDocumentInvalidUsageAllocationsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1668,6 +1782,9 @@ func awsAwsjson11_deserializeDocumentInvalidUsageAllocationsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1692,7 +1809,13 @@ func awsAwsjson11_deserializeDocumentInvalidUsageDimensionException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1708,6 +1831,9 @@ func awsAwsjson11_deserializeDocumentInvalidUsageDimensionException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1732,7 +1858,13 @@ func awsAwsjson11_deserializeDocumentPlatformNotSupportedException(v **types.Pla sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1748,6 +1880,9 @@ func awsAwsjson11_deserializeDocumentPlatformNotSupportedException(v **types.Pla } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1855,7 +1990,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1871,6 +2012,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1895,7 +2039,13 @@ func awsAwsjson11_deserializeDocumentTimestampOutOfBoundsException(v **types.Tim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1911,6 +2061,9 @@ func awsAwsjson11_deserializeDocumentTimestampOutOfBoundsException(v **types.Tim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/marketplacereporting/deserializers.go b/service/marketplacereporting/deserializers.go index 76999e59728..f22cc0e5ce2 100644 --- a/service/marketplacereporting/deserializers.go +++ b/service/marketplacereporting/deserializers.go @@ -372,7 +372,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -388,6 +394,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -412,7 +421,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -428,6 +443,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -488,7 +506,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -504,6 +528,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -528,7 +555,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -544,6 +577,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediaconnect/deserializers.go b/service/mediaconnect/deserializers.go index b98723b4d61..8c9ca84e9b9 100644 --- a/service/mediaconnect/deserializers.go +++ b/service/mediaconnect/deserializers.go @@ -10296,7 +10296,13 @@ func awsRestjson1_deserializeDocumentAddFlowOutputs420Exception(v **types.AddFlo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10312,6 +10318,9 @@ func awsRestjson1_deserializeDocumentAddFlowOutputs420Exception(v **types.AddFlo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10336,7 +10345,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10352,6 +10367,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10849,7 +10867,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10865,6 +10889,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10889,7 +10916,13 @@ func awsRestjson1_deserializeDocumentCreateBridge420Exception(v **types.CreateBr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10905,6 +10938,9 @@ func awsRestjson1_deserializeDocumentCreateBridge420Exception(v **types.CreateBr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10929,7 +10965,13 @@ func awsRestjson1_deserializeDocumentCreateFlow420Exception(v **types.CreateFlow sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10945,6 +10987,9 @@ func awsRestjson1_deserializeDocumentCreateFlow420Exception(v **types.CreateFlow } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10969,7 +11014,13 @@ func awsRestjson1_deserializeDocumentCreateGateway420Exception(v **types.CreateG sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10985,6 +11036,9 @@ func awsRestjson1_deserializeDocumentCreateGateway420Exception(v **types.CreateG } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11696,7 +11750,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11712,6 +11772,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12063,7 +12126,13 @@ func awsRestjson1_deserializeDocumentGrantFlowEntitlements420Exception(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12079,6 +12148,9 @@ func awsRestjson1_deserializeDocumentGrantFlowEntitlements420Exception(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12267,7 +12339,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12283,6 +12361,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13130,7 +13211,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13146,6 +13233,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13637,7 +13727,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13653,6 +13749,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13955,7 +14054,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13971,6 +14076,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index e71ab525f3e..4632313018d 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -8294,7 +8294,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8310,6 +8316,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10143,7 +10152,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10159,6 +10174,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12815,7 +12833,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12831,6 +12855,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16231,7 +16258,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16247,6 +16280,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20013,7 +20049,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20029,6 +20071,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22216,7 +22261,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -22232,6 +22283,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index ef614bd3d23..f51a8e5db3c 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -27974,7 +27974,13 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27990,6 +27996,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28014,7 +28023,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28030,6 +28045,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30153,7 +30171,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30169,6 +30193,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32723,7 +32750,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -32739,6 +32772,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33009,7 +33045,13 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -33025,6 +33067,9 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -37470,7 +37515,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -37486,6 +37537,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41465,7 +41519,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -41481,6 +41541,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -45781,7 +45844,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -45797,6 +45866,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -46085,7 +46157,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -46106,6 +46184,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediapackage/deserializers.go b/service/mediapackage/deserializers.go index 5cb9a806b79..128b6bd4356 100644 --- a/service/mediapackage/deserializers.go +++ b/service/mediapackage/deserializers.go @@ -4904,7 +4904,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4920,6 +4926,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5535,7 +5544,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5551,6 +5566,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5678,7 +5696,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5694,6 +5718,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5940,7 +5967,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5956,6 +5989,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6159,7 +6195,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6175,6 +6217,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6199,7 +6244,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6215,6 +6266,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediapackagev2/deserializers.go b/service/mediapackagev2/deserializers.go index af08f4ea784..d6c4fe6d4bb 100644 --- a/service/mediapackagev2/deserializers.go +++ b/service/mediapackagev2/deserializers.go @@ -5518,7 +5518,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5534,6 +5540,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5824,7 +5833,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ConflictExceptionType": if value != nil { @@ -5849,6 +5864,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7410,7 +7428,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7426,6 +7450,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7888,7 +7915,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7913,6 +7946,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8228,7 +8264,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8244,6 +8286,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8446,7 +8491,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8462,6 +8513,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8486,7 +8540,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8511,6 +8571,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediapackagevod/deserializers.go b/service/mediapackagevod/deserializers.go index 7595e0e3bc8..2e2f5d82df0 100644 --- a/service/mediapackagevod/deserializers.go +++ b/service/mediapackagevod/deserializers.go @@ -4184,7 +4184,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4200,6 +4206,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4435,7 +4444,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4451,6 +4466,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4610,7 +4628,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4626,6 +4650,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4837,7 +4864,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4853,6 +4886,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5038,7 +5074,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5054,6 +5096,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5078,7 +5123,13 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5094,6 +5145,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediastore/deserializers.go b/service/mediastore/deserializers.go index f67d92fb704..bdea5a22467 100644 --- a/service/mediastore/deserializers.go +++ b/service/mediastore/deserializers.go @@ -2931,7 +2931,13 @@ func awsAwsjson11_deserializeDocumentContainerInUseException(v **types.Container sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2947,6 +2953,9 @@ func awsAwsjson11_deserializeDocumentContainerInUseException(v **types.Container } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3005,7 +3014,13 @@ func awsAwsjson11_deserializeDocumentContainerNotFoundException(v **types.Contai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3021,6 +3036,9 @@ func awsAwsjson11_deserializeDocumentContainerNotFoundException(v **types.Contai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3079,7 +3097,13 @@ func awsAwsjson11_deserializeDocumentCorsPolicyNotFoundException(v **types.CorsP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3095,6 +3119,9 @@ func awsAwsjson11_deserializeDocumentCorsPolicyNotFoundException(v **types.CorsP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3219,7 +3246,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3235,6 +3268,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3259,7 +3295,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3275,6 +3317,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3427,7 +3472,13 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3443,6 +3494,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediastoredata/deserializers.go b/service/mediastoredata/deserializers.go index 1dd49a98b89..e86efe5270e 100644 --- a/service/mediastoredata/deserializers.go +++ b/service/mediastoredata/deserializers.go @@ -932,7 +932,13 @@ func awsRestjson1_deserializeDocumentContainerNotFoundException(v **types.Contai sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -948,6 +954,9 @@ func awsRestjson1_deserializeDocumentContainerNotFoundException(v **types.Contai } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -972,7 +981,13 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -988,6 +1003,9 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1142,7 +1160,13 @@ func awsRestjson1_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1158,6 +1182,9 @@ func awsRestjson1_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1182,7 +1209,13 @@ func awsRestjson1_deserializeDocumentRequestedRangeNotSatisfiableException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1198,6 +1231,9 @@ func awsRestjson1_deserializeDocumentRequestedRangeNotSatisfiableException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mediatailor/deserializers.go b/service/mediatailor/deserializers.go index 5ae2af8b57a..c9d81a04dee 100644 --- a/service/mediatailor/deserializers.go +++ b/service/mediatailor/deserializers.go @@ -8739,7 +8739,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8755,6 +8761,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/medicalimaging/deserializers.go b/service/medicalimaging/deserializers.go index 91c367dd1a1..fad413b952f 100644 --- a/service/medicalimaging/deserializers.go +++ b/service/medicalimaging/deserializers.go @@ -3451,7 +3451,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3467,6 +3473,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3491,7 +3500,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3507,6 +3522,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4748,7 +4766,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4764,6 +4788,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4828,7 +4855,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4844,6 +4877,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4868,7 +4904,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4884,6 +4926,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4993,7 +5038,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5009,6 +5060,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5033,7 +5087,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5049,6 +5109,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/memorydb/deserializers.go b/service/memorydb/deserializers.go index dee6ee0392f..48f96ad8c49 100644 --- a/service/memorydb/deserializers.go +++ b/service/memorydb/deserializers.go @@ -6736,7 +6736,13 @@ func awsAwsjson11_deserializeDocumentACLAlreadyExistsFault(v **types.ACLAlreadyE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6752,6 +6758,9 @@ func awsAwsjson11_deserializeDocumentACLAlreadyExistsFault(v **types.ACLAlreadyE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6882,7 +6891,13 @@ func awsAwsjson11_deserializeDocumentACLNotFoundFault(v **types.ACLNotFoundFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6898,6 +6913,9 @@ func awsAwsjson11_deserializeDocumentACLNotFoundFault(v **types.ACLNotFoundFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6963,7 +6981,13 @@ func awsAwsjson11_deserializeDocumentACLQuotaExceededFault(v **types.ACLQuotaExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6979,6 +7003,9 @@ func awsAwsjson11_deserializeDocumentACLQuotaExceededFault(v **types.ACLQuotaExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7043,7 +7070,13 @@ func awsAwsjson11_deserializeDocumentAPICallRateForCustomerExceededFault(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7059,6 +7092,9 @@ func awsAwsjson11_deserializeDocumentAPICallRateForCustomerExceededFault(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7442,7 +7478,13 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7458,6 +7500,9 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7690,7 +7735,13 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7706,6 +7757,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7776,7 +7830,13 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7792,6 +7852,9 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7816,7 +7879,13 @@ func awsAwsjson11_deserializeDocumentDefaultUserRequired(v **types.DefaultUserRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7832,6 +7901,9 @@ func awsAwsjson11_deserializeDocumentDefaultUserRequired(v **types.DefaultUserRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7856,7 +7928,13 @@ func awsAwsjson11_deserializeDocumentDuplicateUserNameFault(v **types.DuplicateU sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7872,6 +7950,9 @@ func awsAwsjson11_deserializeDocumentDuplicateUserNameFault(v **types.DuplicateU } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8158,7 +8239,13 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8174,6 +8261,9 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8198,7 +8288,13 @@ func awsAwsjson11_deserializeDocumentInvalidACLStateFault(v **types.InvalidACLSt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8214,6 +8310,9 @@ func awsAwsjson11_deserializeDocumentInvalidACLStateFault(v **types.InvalidACLSt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8238,7 +8337,13 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8254,6 +8359,9 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8278,7 +8386,13 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8294,6 +8408,9 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8318,7 +8435,13 @@ func awsAwsjson11_deserializeDocumentInvalidCredentialsException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8334,6 +8457,9 @@ func awsAwsjson11_deserializeDocumentInvalidCredentialsException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8358,7 +8484,13 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyFault(v **types.InvalidKMSKeyF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8374,6 +8506,9 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyFault(v **types.InvalidKMSKeyF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8398,7 +8533,13 @@ func awsAwsjson11_deserializeDocumentInvalidNodeStateFault(v **types.InvalidNode sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8414,6 +8555,9 @@ func awsAwsjson11_deserializeDocumentInvalidNodeStateFault(v **types.InvalidNode } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8438,7 +8582,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8454,6 +8604,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8478,7 +8631,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8494,6 +8653,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8518,7 +8680,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8534,6 +8702,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8558,7 +8729,13 @@ func awsAwsjson11_deserializeDocumentInvalidSnapshotStateFault(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8574,6 +8751,9 @@ func awsAwsjson11_deserializeDocumentInvalidSnapshotStateFault(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8598,7 +8778,13 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8614,6 +8800,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8638,7 +8827,13 @@ func awsAwsjson11_deserializeDocumentInvalidUserStateFault(v **types.InvalidUser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8654,6 +8849,9 @@ func awsAwsjson11_deserializeDocumentInvalidUserStateFault(v **types.InvalidUser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8678,7 +8876,13 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8694,6 +8898,9 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8831,7 +9038,13 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8847,6 +9060,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8871,7 +9087,13 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8887,6 +9109,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8947,7 +9172,13 @@ func awsAwsjson11_deserializeDocumentNoOperationFault(v **types.NoOperationFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8963,6 +9194,9 @@ func awsAwsjson11_deserializeDocumentNoOperationFault(v **types.NoOperationFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9139,7 +9373,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9155,6 +9395,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9213,7 +9456,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9229,6 +9478,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9253,7 +9505,13 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9269,6 +9527,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9684,7 +9945,13 @@ func awsAwsjson11_deserializeDocumentReservedNodeAlreadyExistsFault(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9700,6 +9967,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeAlreadyExistsFault(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9758,7 +10028,13 @@ func awsAwsjson11_deserializeDocumentReservedNodeNotFoundFault(v **types.Reserve sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9774,6 +10050,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeNotFoundFault(v **types.Reserve } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9798,7 +10077,13 @@ func awsAwsjson11_deserializeDocumentReservedNodeQuotaExceededFault(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9814,6 +10099,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeQuotaExceededFault(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9982,7 +10270,13 @@ func awsAwsjson11_deserializeDocumentReservedNodesOfferingNotFoundFault(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9998,6 +10292,9 @@ func awsAwsjson11_deserializeDocumentReservedNodesOfferingNotFoundFault(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10141,7 +10438,13 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10157,6 +10460,9 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10341,7 +10647,13 @@ func awsAwsjson11_deserializeDocumentServiceUpdateNotFoundFault(v **types.Servic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10357,6 +10669,9 @@ func awsAwsjson11_deserializeDocumentServiceUpdateNotFoundFault(v **types.Servic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10648,7 +10963,13 @@ func awsAwsjson11_deserializeDocumentShardNotFoundFault(v **types.ShardNotFoundF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10664,6 +10985,9 @@ func awsAwsjson11_deserializeDocumentShardNotFoundFault(v **types.ShardNotFoundF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10688,7 +11012,13 @@ func awsAwsjson11_deserializeDocumentShardsPerClusterQuotaExceededFault(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10704,6 +11034,9 @@ func awsAwsjson11_deserializeDocumentShardsPerClusterQuotaExceededFault(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10883,7 +11216,13 @@ func awsAwsjson11_deserializeDocumentSnapshotAlreadyExistsFault(v **types.Snapsh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10899,6 +11238,9 @@ func awsAwsjson11_deserializeDocumentSnapshotAlreadyExistsFault(v **types.Snapsh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10957,7 +11299,13 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFoundFault(v **types.SnapshotNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10973,6 +11321,9 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFoundFault(v **types.SnapshotNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10997,7 +11348,13 @@ func awsAwsjson11_deserializeDocumentSnapshotQuotaExceededFault(v **types.Snapsh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11013,6 +11370,9 @@ func awsAwsjson11_deserializeDocumentSnapshotQuotaExceededFault(v **types.Snapsh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11154,7 +11514,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11170,6 +11536,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11194,7 +11563,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11210,6 +11585,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11268,7 +11646,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11284,6 +11668,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11308,7 +11695,13 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11324,6 +11717,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11348,7 +11744,13 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11364,6 +11766,9 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11422,7 +11827,13 @@ func awsAwsjson11_deserializeDocumentSubnetNotAllowedFault(v **types.SubnetNotAl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11438,6 +11849,9 @@ func awsAwsjson11_deserializeDocumentSubnetNotAllowedFault(v **types.SubnetNotAl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11462,7 +11876,13 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11478,6 +11898,9 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11585,7 +12008,13 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11601,6 +12030,9 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11625,7 +12057,13 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11641,6 +12079,9 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11665,7 +12106,13 @@ func awsAwsjson11_deserializeDocumentTestFailoverNotAvailableFault(v **types.Tes sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11681,6 +12128,9 @@ func awsAwsjson11_deserializeDocumentTestFailoverNotAvailableFault(v **types.Tes } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11883,7 +12333,13 @@ func awsAwsjson11_deserializeDocumentUserAlreadyExistsFault(v **types.UserAlread sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11899,6 +12355,9 @@ func awsAwsjson11_deserializeDocumentUserAlreadyExistsFault(v **types.UserAlread } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11993,7 +12452,13 @@ func awsAwsjson11_deserializeDocumentUserNotFoundFault(v **types.UserNotFoundFau sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12009,6 +12474,9 @@ func awsAwsjson11_deserializeDocumentUserNotFoundFault(v **types.UserNotFoundFau } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12033,7 +12501,13 @@ func awsAwsjson11_deserializeDocumentUserQuotaExceededFault(v **types.UserQuotaE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12049,6 +12523,9 @@ func awsAwsjson11_deserializeDocumentUserQuotaExceededFault(v **types.UserQuotaE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mgn/deserializers.go b/service/mgn/deserializers.go index ccfa78610d8..49371f654a9 100644 --- a/service/mgn/deserializers.go +++ b/service/mgn/deserializers.go @@ -13468,7 +13468,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13493,6 +13499,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13735,7 +13744,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13783,6 +13798,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15634,7 +15652,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15663,6 +15687,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17695,7 +17722,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -17738,6 +17771,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17820,7 +17856,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -17894,6 +17936,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18920,7 +18965,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18963,6 +19014,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18987,7 +19041,13 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -19012,6 +19072,9 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19036,7 +19099,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -19075,6 +19144,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/migrationhub/deserializers.go b/service/migrationhub/deserializers.go index ba09741d759..a163f4f4b15 100644 --- a/service/migrationhub/deserializers.go +++ b/service/migrationhub/deserializers.go @@ -2655,7 +2655,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2671,6 +2677,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2960,7 +2969,13 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2976,6 +2991,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3000,7 +3018,13 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3016,6 +3040,9 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3040,7 +3067,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3056,6 +3089,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3080,7 +3116,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3096,6 +3138,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3359,7 +3404,13 @@ func awsAwsjson11_deserializeDocumentPolicyErrorException(v **types.PolicyErrorE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3375,6 +3426,9 @@ func awsAwsjson11_deserializeDocumentPolicyErrorException(v **types.PolicyErrorE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3522,7 +3576,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3538,6 +3598,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3562,7 +3625,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3578,6 +3647,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3664,7 +3736,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3693,6 +3771,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3717,7 +3798,13 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperation(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3733,6 +3820,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperation(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/migrationhubconfig/deserializers.go b/service/migrationhubconfig/deserializers.go index 272af32bdd4..05894657cf1 100644 --- a/service/migrationhubconfig/deserializers.go +++ b/service/migrationhubconfig/deserializers.go @@ -754,7 +754,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -770,6 +776,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -794,7 +803,13 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -810,6 +825,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -938,7 +956,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -954,6 +978,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -978,7 +1005,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -994,6 +1027,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1018,7 +1054,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1034,6 +1076,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1107,7 +1152,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1136,6 +1187,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/migrationhuborchestrator/deserializers.go b/service/migrationhuborchestrator/deserializers.go index c868f750a2c..7c4ab7d4980 100644 --- a/service/migrationhuborchestrator/deserializers.go +++ b/service/migrationhuborchestrator/deserializers.go @@ -6367,7 +6367,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6383,6 +6389,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6407,7 +6416,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6423,6 +6438,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6447,7 +6465,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6463,6 +6487,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6917,7 +6944,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6933,6 +6966,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7757,7 +7793,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7773,6 +7815,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7880,7 +7925,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7896,6 +7947,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/migrationhubrefactorspaces/deserializers.go b/service/migrationhubrefactorspaces/deserializers.go index f89a73b3f25..83cc307d345 100644 --- a/service/migrationhubrefactorspaces/deserializers.go +++ b/service/migrationhubrefactorspaces/deserializers.go @@ -5402,7 +5402,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5418,6 +5424,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5944,7 +5953,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5978,6 +5993,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6436,7 +6454,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6452,6 +6476,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6476,7 +6503,13 @@ func awsRestjson1_deserializeDocumentInvalidResourcePolicyException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6492,6 +6525,9 @@ func awsRestjson1_deserializeDocumentInvalidResourcePolicyException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6672,7 +6708,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6706,6 +6748,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6955,7 +7000,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7007,6 +7058,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7283,7 +7337,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7330,6 +7390,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7573,7 +7636,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7589,6 +7658,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/migrationhubstrategy/deserializers.go b/service/migrationhubstrategy/deserializers.go index ccb97218392..f929fcdcdd0 100644 --- a/service/migrationhubstrategy/deserializers.go +++ b/service/migrationhubstrategy/deserializers.go @@ -3923,7 +3923,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3939,6 +3945,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5543,7 +5552,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5559,6 +5574,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5861,7 +5879,13 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5877,6 +5901,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6197,7 +6224,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6213,6 +6246,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7193,7 +7229,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7209,6 +7251,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7904,7 +7949,13 @@ func awsRestjson1_deserializeDocumentServiceLinkedRoleLockClientException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7920,6 +7971,9 @@ func awsRestjson1_deserializeDocumentServiceLinkedRoleLockClientException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7944,7 +7998,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7960,6 +8020,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8233,7 +8296,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8249,6 +8318,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8331,7 +8403,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8347,6 +8425,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mq/deserializers.go b/service/mq/deserializers.go index 9403eae452e..2e4e5911691 100644 --- a/service/mq/deserializers.go +++ b/service/mq/deserializers.go @@ -4943,7 +4943,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -4968,6 +4974,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5553,7 +5562,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -5578,6 +5593,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5785,7 +5803,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -5810,6 +5834,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5834,7 +5861,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -5859,6 +5892,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6121,7 +6157,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -6146,6 +6188,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6277,7 +6322,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorAttribute": if value != nil { @@ -6302,6 +6353,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mturk/deserializers.go b/service/mturk/deserializers.go index ddd27d89542..10b0e04d353 100644 --- a/service/mturk/deserializers.go +++ b/service/mturk/deserializers.go @@ -6127,7 +6127,13 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6152,6 +6158,9 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6525,7 +6534,13 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6550,6 +6565,9 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/mwaa/deserializers.go b/service/mwaa/deserializers.go index 9caff0659e7..6f9532f3470 100644 --- a/service/mwaa/deserializers.go +++ b/service/mwaa/deserializers.go @@ -1978,7 +1978,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1994,6 +2000,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2434,7 +2443,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2450,6 +2465,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2699,7 +2717,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2715,6 +2739,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2739,7 +2766,13 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "RestApiResponse": if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { @@ -2764,6 +2797,9 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2796,7 +2832,13 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "RestApiResponse": if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { @@ -2821,6 +2863,9 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3002,7 +3047,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3018,6 +3069,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/neptunedata/deserializers.go b/service/neptunedata/deserializers.go index a59e1c12322..1fee35af674 100644 --- a/service/neptunedata/deserializers.go +++ b/service/neptunedata/deserializers.go @@ -9961,7 +9961,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -9995,6 +10001,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10019,7 +10028,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10053,6 +10068,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10077,7 +10095,13 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10111,6 +10135,9 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10135,7 +10162,13 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10169,6 +10202,9 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10229,7 +10265,13 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10263,6 +10305,9 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10287,7 +10332,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10321,6 +10372,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10345,7 +10399,13 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10379,6 +10439,9 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10641,7 +10704,13 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10675,6 +10744,9 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10699,7 +10771,13 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10733,6 +10811,9 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10943,7 +11024,13 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -10977,6 +11064,9 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11001,7 +11091,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11035,6 +11131,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11059,7 +11158,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11093,6 +11198,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11117,7 +11225,13 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11151,6 +11265,9 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11175,7 +11292,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11209,6 +11332,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11269,7 +11395,13 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11303,6 +11435,9 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11399,7 +11534,13 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11433,6 +11574,9 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11457,7 +11601,13 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11491,6 +11641,9 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11515,7 +11668,13 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11549,6 +11708,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11573,7 +11735,13 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11607,6 +11775,9 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11799,7 +11970,13 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -11833,6 +12010,9 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12121,7 +12301,13 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -12155,6 +12341,9 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12179,7 +12368,13 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -12213,6 +12408,9 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12794,7 +12992,13 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -12828,6 +13032,9 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12852,7 +13059,13 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -12886,6 +13099,9 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12910,7 +13126,13 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -12944,6 +13166,9 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13124,7 +13349,13 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13158,6 +13389,9 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13222,7 +13456,13 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13256,6 +13496,9 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13280,7 +13523,13 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13314,6 +13563,9 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13569,7 +13821,13 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13603,6 +13861,9 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13697,7 +13958,13 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13731,6 +13998,9 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13910,7 +14180,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -13944,6 +14220,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13968,7 +14247,13 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -14002,6 +14287,9 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14026,7 +14314,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -14060,6 +14354,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14084,7 +14381,13 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -14118,6 +14421,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/neptunegraph/deserializers.go b/service/neptunegraph/deserializers.go index 174a2e8c490..4145bea1691 100644 --- a/service/neptunegraph/deserializers.go +++ b/service/neptunegraph/deserializers.go @@ -6133,7 +6133,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6149,6 +6155,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6173,7 +6182,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6198,6 +6213,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7129,7 +7147,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7145,6 +7169,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7719,7 +7746,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7735,6 +7768,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7759,7 +7795,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7811,6 +7853,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7907,7 +7952,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7923,6 +7974,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7947,7 +8001,13 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7972,6 +8032,9 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7996,7 +8059,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8021,6 +8090,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/networkfirewall/deserializers.go b/service/networkfirewall/deserializers.go index 97edb3f1316..afca41250ab 100644 --- a/service/networkfirewall/deserializers.go +++ b/service/networkfirewall/deserializers.go @@ -6268,7 +6268,13 @@ func awsAwsjson10_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6284,6 +6290,9 @@ func awsAwsjson10_deserializeDocumentInsufficientCapacityException(v **types.Ins } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6308,7 +6317,13 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6324,6 +6339,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6348,7 +6366,13 @@ func awsAwsjson10_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6364,6 +6388,9 @@ func awsAwsjson10_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6388,7 +6415,13 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6404,6 +6437,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6428,7 +6464,13 @@ func awsAwsjson10_deserializeDocumentInvalidResourcePolicyException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6444,6 +6486,9 @@ func awsAwsjson10_deserializeDocumentInvalidResourcePolicyException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6468,7 +6513,13 @@ func awsAwsjson10_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6484,6 +6535,9 @@ func awsAwsjson10_deserializeDocumentInvalidTokenException(v **types.InvalidToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6733,7 +6787,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6749,6 +6809,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6897,7 +6960,13 @@ func awsAwsjson10_deserializeDocumentLogDestinationPermissionException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6913,6 +6982,9 @@ func awsAwsjson10_deserializeDocumentLogDestinationPermissionException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7393,7 +7465,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7409,6 +7487,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7433,7 +7514,13 @@ func awsAwsjson10_deserializeDocumentResourceOwnerCheckException(v **types.Resou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7449,6 +7536,9 @@ func awsAwsjson10_deserializeDocumentResourceOwnerCheckException(v **types.Resou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9433,7 +9523,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9449,6 +9545,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9784,7 +9883,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9800,6 +9905,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index 24300866b84..bb5d54fa4bb 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -14407,7 +14407,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14423,6 +14429,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14957,7 +14966,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14991,6 +15006,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16916,7 +16934,13 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Errors": if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyErrorList(&sv.Errors, value); err != nil { @@ -16937,6 +16961,9 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17960,7 +17987,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17989,6 +18022,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19855,7 +19891,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Context": if err := awsRestjson1_deserializeDocumentExceptionContextMap(&sv.Context, value); err != nil { @@ -19894,6 +19936,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20326,7 +20371,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "LimitCode": if value != nil { @@ -20378,6 +20429,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20702,7 +20756,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -20731,6 +20791,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21110,7 +21173,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -21140,6 +21209,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/networkmonitor/deserializers.go b/service/networkmonitor/deserializers.go index 66eff62c455..36e8b2d293a 100644 --- a/service/networkmonitor/deserializers.go +++ b/service/networkmonitor/deserializers.go @@ -2590,7 +2590,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2606,6 +2612,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2630,7 +2639,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2646,6 +2661,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2670,7 +2688,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2686,6 +2710,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3020,7 +3047,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3036,6 +3069,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3060,7 +3096,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3076,6 +3118,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3136,7 +3181,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3152,6 +3203,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3176,7 +3230,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3192,6 +3252,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/oam/deserializers.go b/service/oam/deserializers.go index e0da09f8058..34cdc1e3087 100644 --- a/service/oam/deserializers.go +++ b/service/oam/deserializers.go @@ -2870,7 +2870,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -2895,6 +2901,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2919,7 +2928,13 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -2944,6 +2959,9 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2968,7 +2986,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -2993,6 +3017,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3424,7 +3451,13 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -3449,6 +3482,9 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3473,7 +3509,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -3498,6 +3540,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3558,7 +3603,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "amznErrorType": if value != nil { @@ -3583,6 +3634,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3643,7 +3697,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3659,6 +3719,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3683,7 +3746,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3699,6 +3768,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/omics/deserializers.go b/service/omics/deserializers.go index f0cfaf894ad..afcf8afad8d 100644 --- a/service/omics/deserializers.go +++ b/service/omics/deserializers.go @@ -16232,7 +16232,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16248,6 +16254,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17117,7 +17126,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17133,6 +17148,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18138,7 +18156,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18154,6 +18178,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18342,7 +18369,13 @@ func awsRestjson1_deserializeDocumentNotSupportedOperationException(v **types.No sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18358,6 +18391,9 @@ func awsRestjson1_deserializeDocumentNotSupportedOperationException(v **types.No } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18382,7 +18418,13 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18398,6 +18440,9 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19399,7 +19444,13 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19415,6 +19466,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19439,7 +19493,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19455,6 +19515,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20242,7 +20305,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20258,6 +20327,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20798,7 +20870,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20814,6 +20892,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20974,7 +21055,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20990,6 +21077,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/opensearch/deserializers.go b/service/opensearch/deserializers.go index 158751d876b..293ae1487c6 100644 --- a/service/opensearch/deserializers.go +++ b/service/opensearch/deserializers.go @@ -12144,7 +12144,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12160,6 +12166,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13583,7 +13592,13 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13599,6 +13614,9 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14465,7 +14483,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14481,6 +14505,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14810,7 +14837,13 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14826,6 +14859,9 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14850,7 +14886,13 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14866,6 +14908,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17172,7 +17217,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17188,6 +17239,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17212,7 +17266,13 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17228,6 +17288,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17252,7 +17315,13 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17268,6 +17337,9 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17440,7 +17512,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17456,6 +17534,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19376,7 +19457,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19392,6 +19479,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19416,7 +19506,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19432,6 +19528,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19995,7 +20094,13 @@ func awsRestjson1_deserializeDocumentSlotNotAvailableException(v **types.SlotNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20016,6 +20121,9 @@ func awsRestjson1_deserializeDocumentSlotNotAvailableException(v **types.SlotNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20718,7 +20826,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -20734,6 +20848,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/opensearchserverless/deserializers.go b/service/opensearchserverless/deserializers.go index 5e778d3d007..a472cee5378 100644 --- a/service/opensearchserverless/deserializers.go +++ b/service/opensearchserverless/deserializers.go @@ -5377,7 +5377,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5393,6 +5399,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6025,7 +6034,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6041,6 +6056,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6469,7 +6487,13 @@ func awsAwsjson10_deserializeDocumentOcuLimitExceededException(v **types.OcuLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6485,6 +6509,9 @@ func awsAwsjson10_deserializeDocumentOcuLimitExceededException(v **types.OcuLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6509,7 +6536,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6525,6 +6558,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7212,7 +7248,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7264,6 +7306,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7599,7 +7644,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7615,6 +7666,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/opsworks/deserializers.go b/service/opsworks/deserializers.go index 6f11c1022eb..638de02cf7c 100644 --- a/service/opsworks/deserializers.go +++ b/service/opsworks/deserializers.go @@ -11500,7 +11500,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11516,6 +11522,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12675,7 +12684,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12691,6 +12706,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/opsworkscm/deserializers.go b/service/opsworkscm/deserializers.go index b9fc9f7c72f..820b6392aa5 100644 --- a/service/opsworkscm/deserializers.go +++ b/service/opsworkscm/deserializers.go @@ -2940,7 +2940,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2956,6 +2962,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2980,7 +2989,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2996,6 +3011,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3020,7 +3038,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3036,6 +3060,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3060,7 +3087,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3076,6 +3109,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3100,7 +3136,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3116,6 +3158,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3647,7 +3692,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3663,6 +3714,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/organizations/deserializers.go b/service/organizations/deserializers.go index 3a0af7f39a1..26f1d0057c9 100644 --- a/service/organizations/deserializers.go +++ b/service/organizations/deserializers.go @@ -8612,7 +8612,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8628,6 +8634,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8652,7 +8661,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8677,6 +8692,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8802,7 +8820,13 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyClosedException(v **types.Acc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8818,6 +8842,9 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyClosedException(v **types.Acc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8842,7 +8869,13 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyRegisteredException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8858,6 +8891,9 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyRegisteredException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8882,7 +8918,13 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8898,6 +8940,9 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8922,7 +8967,13 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8938,6 +8989,9 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8962,7 +9016,13 @@ func awsAwsjson11_deserializeDocumentAccountOwnerNotVerifiedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8978,6 +9038,9 @@ func awsAwsjson11_deserializeDocumentAccountOwnerNotVerifiedException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9036,7 +9099,13 @@ func awsAwsjson11_deserializeDocumentAlreadyInOrganizationException(v **types.Al sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9052,6 +9121,9 @@ func awsAwsjson11_deserializeDocumentAlreadyInOrganizationException(v **types.Al } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9076,7 +9148,13 @@ func awsAwsjson11_deserializeDocumentAWSOrganizationsNotInUseException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9092,6 +9170,9 @@ func awsAwsjson11_deserializeDocumentAWSOrganizationsNotInUseException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9165,7 +9246,13 @@ func awsAwsjson11_deserializeDocumentChildNotFoundException(v **types.ChildNotFo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9181,6 +9268,9 @@ func awsAwsjson11_deserializeDocumentChildNotFoundException(v **types.ChildNotFo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9239,7 +9329,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9255,6 +9351,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9279,7 +9378,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9295,6 +9400,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9319,7 +9427,13 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9344,6 +9458,9 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9519,7 +9636,13 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatusNotFoundException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9535,6 +9658,9 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatusNotFoundException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9800,7 +9926,13 @@ func awsAwsjson11_deserializeDocumentDestinationParentNotFoundException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9816,6 +9948,9 @@ func awsAwsjson11_deserializeDocumentDestinationParentNotFoundException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9840,7 +9975,13 @@ func awsAwsjson11_deserializeDocumentDuplicateAccountException(v **types.Duplica sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9856,6 +9997,9 @@ func awsAwsjson11_deserializeDocumentDuplicateAccountException(v **types.Duplica } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9880,7 +10024,13 @@ func awsAwsjson11_deserializeDocumentDuplicateHandshakeException(v **types.Dupli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9896,6 +10046,9 @@ func awsAwsjson11_deserializeDocumentDuplicateHandshakeException(v **types.Dupli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9920,7 +10073,13 @@ func awsAwsjson11_deserializeDocumentDuplicateOrganizationalUnitException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9936,6 +10095,9 @@ func awsAwsjson11_deserializeDocumentDuplicateOrganizationalUnitException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9960,7 +10122,13 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyAttachmentException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9976,6 +10144,9 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyAttachmentException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10000,7 +10171,13 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyException(v **types.Duplicat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10016,6 +10193,9 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyException(v **types.Duplicat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10114,7 +10294,13 @@ func awsAwsjson11_deserializeDocumentEffectivePolicyNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10130,6 +10316,9 @@ func awsAwsjson11_deserializeDocumentEffectivePolicyNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10244,7 +10433,13 @@ func awsAwsjson11_deserializeDocumentFinalizingOrganizationException(v **types.F sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10260,6 +10455,9 @@ func awsAwsjson11_deserializeDocumentFinalizingOrganizationException(v **types.F } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10393,7 +10591,13 @@ func awsAwsjson11_deserializeDocumentHandshakeAlreadyInStateException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10409,6 +10613,9 @@ func awsAwsjson11_deserializeDocumentHandshakeAlreadyInStateException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10433,7 +10640,13 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10458,6 +10671,9 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10482,7 +10698,13 @@ func awsAwsjson11_deserializeDocumentHandshakeNotFoundException(v **types.Handsh sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10498,6 +10720,9 @@ func awsAwsjson11_deserializeDocumentHandshakeNotFoundException(v **types.Handsh } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10727,7 +10952,13 @@ func awsAwsjson11_deserializeDocumentInvalidHandshakeTransitionException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10743,6 +10974,9 @@ func awsAwsjson11_deserializeDocumentInvalidHandshakeTransitionException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10767,7 +11001,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10792,6 +11032,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10816,7 +11059,13 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10832,6 +11081,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10856,7 +11108,13 @@ func awsAwsjson11_deserializeDocumentMasterCannotLeaveOrganizationException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10872,6 +11130,9 @@ func awsAwsjson11_deserializeDocumentMasterCannotLeaveOrganizationException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11044,7 +11305,13 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotEmptyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11060,6 +11327,9 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotEmptyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11084,7 +11354,13 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotFoundException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11100,6 +11376,9 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotFoundException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11158,7 +11437,13 @@ func awsAwsjson11_deserializeDocumentOrganizationNotEmptyException(v **types.Org sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11174,6 +11459,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotEmptyException(v **types.Org } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11247,7 +11535,13 @@ func awsAwsjson11_deserializeDocumentParentNotFoundException(v **types.ParentNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11263,6 +11557,9 @@ func awsAwsjson11_deserializeDocumentParentNotFoundException(v **types.ParentNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11400,7 +11697,13 @@ func awsAwsjson11_deserializeDocumentPolicyChangesInProgressException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11416,6 +11719,9 @@ func awsAwsjson11_deserializeDocumentPolicyChangesInProgressException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11440,7 +11746,13 @@ func awsAwsjson11_deserializeDocumentPolicyInUseException(v **types.PolicyInUseE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11456,6 +11768,9 @@ func awsAwsjson11_deserializeDocumentPolicyInUseException(v **types.PolicyInUseE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11480,7 +11795,13 @@ func awsAwsjson11_deserializeDocumentPolicyNotAttachedException(v **types.Policy sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11496,6 +11817,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotAttachedException(v **types.Policy } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11520,7 +11844,13 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11536,6 +11866,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11746,7 +12079,13 @@ func awsAwsjson11_deserializeDocumentPolicyTypeAlreadyEnabledException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11762,6 +12101,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeAlreadyEnabledException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11786,7 +12128,13 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotAvailableForOrganizationExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11802,6 +12150,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotAvailableForOrganizationExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11826,7 +12177,13 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotEnabledException(v **types.Pol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11842,6 +12199,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotEnabledException(v **types.Pol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11994,7 +12354,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12010,6 +12376,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12146,7 +12515,13 @@ func awsAwsjson11_deserializeDocumentRootNotFoundException(v **types.RootNotFoun sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12162,6 +12537,9 @@ func awsAwsjson11_deserializeDocumentRootNotFoundException(v **types.RootNotFoun } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12220,7 +12598,13 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12236,6 +12620,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12260,7 +12647,13 @@ func awsAwsjson11_deserializeDocumentSourceParentNotFoundException(v **types.Sou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12276,6 +12669,9 @@ func awsAwsjson11_deserializeDocumentSourceParentNotFoundException(v **types.Sou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12383,7 +12779,13 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12399,6 +12801,9 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12423,7 +12828,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12448,6 +12859,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12472,7 +12886,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedAPIEndpointException(v **types.U sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12488,6 +12908,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedAPIEndpointException(v **types.U } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/osis/deserializers.go b/service/osis/deserializers.go index 7c5490eb745..00c987a4047 100644 --- a/service/osis/deserializers.go +++ b/service/osis/deserializers.go @@ -2522,7 +2522,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2538,6 +2544,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2858,7 +2867,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2874,6 +2889,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2898,7 +2916,13 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2914,6 +2938,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3014,7 +3041,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3030,6 +3063,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3054,7 +3090,13 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3070,6 +3112,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3094,7 +3139,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3110,6 +3161,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3841,7 +3895,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3857,6 +3917,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3881,7 +3944,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3897,6 +3966,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4159,7 +4231,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4175,6 +4253,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index 91e4e4c9a3a..bdc2d518735 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -5226,7 +5226,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5242,6 +5248,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5996,7 +6005,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6030,6 +6045,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6403,7 +6421,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6419,6 +6443,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6731,7 +6758,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6747,6 +6780,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7346,7 +7382,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7362,6 +7404,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7703,7 +7748,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7719,6 +7770,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/panorama/deserializers.go b/service/panorama/deserializers.go index e9c7d033c7f..4039cdb124c 100644 --- a/service/panorama/deserializers.go +++ b/service/panorama/deserializers.go @@ -6495,7 +6495,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6511,6 +6517,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6781,7 +6790,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorArguments": if err := awsRestjson1_deserializeDocumentConflictExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { @@ -6829,6 +6844,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7421,7 +7439,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7450,6 +7474,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9414,7 +9441,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9448,6 +9481,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9530,7 +9566,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9582,6 +9624,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9817,7 +9862,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorArguments": if err := awsRestjson1_deserializeDocumentValidationExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { @@ -9861,6 +9912,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/paymentcryptography/deserializers.go b/service/paymentcryptography/deserializers.go index 04fa111db8f..48c8420a2d6 100644 --- a/service/paymentcryptography/deserializers.go +++ b/service/paymentcryptography/deserializers.go @@ -2918,7 +2918,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2934,6 +2940,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3041,7 +3050,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3057,6 +3072,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3081,7 +3099,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3097,6 +3121,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3590,7 +3617,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ResourceId": if value != nil { @@ -3606,6 +3639,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3630,7 +3666,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3646,6 +3688,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3670,7 +3715,13 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3686,6 +3737,9 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3793,7 +3847,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3809,6 +3869,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3833,7 +3896,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3849,6 +3918,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/paymentcryptographydata/deserializers.go b/service/paymentcryptographydata/deserializers.go index 65d9cfa7a3e..20da9e421b0 100644 --- a/service/paymentcryptographydata/deserializers.go +++ b/service/paymentcryptographydata/deserializers.go @@ -2573,7 +2573,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2589,6 +2595,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2613,7 +2622,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2629,6 +2644,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2707,7 +2725,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ResourceId": if value != nil { @@ -2723,6 +2747,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2747,7 +2774,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2763,6 +2796,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2787,7 +2823,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -2808,6 +2850,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2915,7 +2960,13 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2940,6 +2991,9 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pcaconnectorad/deserializers.go b/service/pcaconnectorad/deserializers.go index 04fb3d6041f..576f2f94f5b 100644 --- a/service/pcaconnectorad/deserializers.go +++ b/service/pcaconnectorad/deserializers.go @@ -4078,7 +4078,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4094,6 +4100,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4339,7 +4348,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4373,6 +4388,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5441,7 +5459,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5457,6 +5481,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6124,7 +6151,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6158,6 +6191,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6450,7 +6486,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6502,6 +6544,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7605,7 +7650,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7639,6 +7690,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7663,7 +7717,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7688,6 +7748,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pcaconnectorscep/deserializers.go b/service/pcaconnectorscep/deserializers.go index a99e3d9fc12..46f7ac96fa8 100644 --- a/service/pcaconnectorscep/deserializers.go +++ b/service/pcaconnectorscep/deserializers.go @@ -2118,7 +2118,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2134,6 +2140,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2158,7 +2167,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2174,6 +2189,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2484,7 +2502,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2518,6 +2542,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2830,7 +2857,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2846,6 +2879,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3017,7 +3053,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3051,6 +3093,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3075,7 +3120,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3118,6 +3169,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3178,7 +3232,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3194,6 +3254,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3218,7 +3281,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3243,6 +3312,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pcs/deserializers.go b/service/pcs/deserializers.go index 5850668ab77..e7e3c11fe75 100644 --- a/service/pcs/deserializers.go +++ b/service/pcs/deserializers.go @@ -2474,7 +2474,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2490,6 +2496,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3232,7 +3241,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3266,6 +3281,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3597,7 +3615,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3613,6 +3637,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3926,7 +3953,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3960,6 +3993,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4162,7 +4198,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4214,6 +4256,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4446,7 +4491,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4475,6 +4526,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4499,7 +4553,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -4529,6 +4589,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/personalize/deserializers.go b/service/personalize/deserializers.go index dd3b7f11d79..be87bcf1055 100644 --- a/service/personalize/deserializers.go +++ b/service/personalize/deserializers.go @@ -13457,7 +13457,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13473,6 +13479,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13497,7 +13506,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13513,6 +13528,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13537,7 +13555,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13553,6 +13577,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14757,7 +14784,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14773,6 +14806,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14833,7 +14869,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14849,6 +14891,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14873,7 +14918,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14889,6 +14940,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15975,7 +16029,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15991,6 +16051,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16015,7 +16078,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16031,6 +16100,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/personalizeevents/deserializers.go b/service/personalizeevents/deserializers.go index 24af7681919..80bc821963c 100644 --- a/service/personalizeevents/deserializers.go +++ b/service/personalizeevents/deserializers.go @@ -652,7 +652,13 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -668,6 +674,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -692,7 +701,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -708,6 +723,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -732,7 +750,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -748,6 +772,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/personalizeruntime/deserializers.go b/service/personalizeruntime/deserializers.go index b657ea9d8d8..cb21ca43fd8 100644 --- a/service/personalizeruntime/deserializers.go +++ b/service/personalizeruntime/deserializers.go @@ -648,7 +648,13 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -664,6 +670,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -961,7 +970,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -977,6 +992,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pi/deserializers.go b/service/pi/deserializers.go index fc08d149a25..97a5e40f401 100644 --- a/service/pi/deserializers.go +++ b/service/pi/deserializers.go @@ -2846,7 +2846,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2862,6 +2868,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2886,7 +2895,13 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2902,6 +2917,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3141,7 +3159,13 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3157,6 +3181,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pinpoint/deserializers.go b/service/pinpoint/deserializers.go index fe080cbdb91..0cedbfc8fea 100644 --- a/service/pinpoint/deserializers.go +++ b/service/pinpoint/deserializers.go @@ -22510,7 +22510,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -22535,6 +22541,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23969,7 +23978,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23994,6 +24009,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26036,7 +26054,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -26061,6 +26085,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27368,7 +27395,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27393,6 +27426,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30685,7 +30721,13 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30710,6 +30752,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30903,7 +30948,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30928,6 +30979,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31267,7 +31321,13 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31292,6 +31352,9 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33747,7 +33810,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -33772,6 +33841,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pinpointemail/deserializers.go b/service/pinpointemail/deserializers.go index 3b9a48486e0..5ea6ba1a4dc 100644 --- a/service/pinpointemail/deserializers.go +++ b/service/pinpointemail/deserializers.go @@ -5957,7 +5957,13 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5973,6 +5979,9 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5997,7 +6006,13 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6013,6 +6028,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6037,7 +6055,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6053,6 +6077,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6338,7 +6365,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6354,6 +6387,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7939,7 +7975,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7955,6 +7997,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8073,7 +8118,13 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8089,6 +8140,9 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8113,7 +8167,13 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8129,6 +8189,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8153,7 +8216,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8169,6 +8238,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8605,7 +8677,13 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8621,6 +8699,9 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8901,7 +8982,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8917,6 +9004,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pinpointsmsvoice/deserializers.go b/service/pinpointsmsvoice/deserializers.go index c66808fbc09..60531436798 100644 --- a/service/pinpointsmsvoice/deserializers.go +++ b/service/pinpointsmsvoice/deserializers.go @@ -1249,7 +1249,13 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1265,6 +1271,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1289,7 +1298,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1305,6 +1320,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1553,7 +1571,13 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1569,6 +1593,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1642,7 +1669,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1658,6 +1691,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1682,7 +1718,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1698,6 +1740,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1762,7 +1807,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1778,6 +1829,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pinpointsmsvoicev2/deserializers.go b/service/pinpointsmsvoicev2/deserializers.go index 6f91b71a7cc..f277a56b2df 100644 --- a/service/pinpointsmsvoicev2/deserializers.go +++ b/service/pinpointsmsvoicev2/deserializers.go @@ -10863,7 +10863,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10888,6 +10894,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11275,7 +11284,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11318,6 +11333,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11481,7 +11499,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11506,6 +11530,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14039,7 +14066,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14073,6 +14106,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14420,7 +14456,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14445,6 +14487,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14940,7 +14985,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14956,6 +15007,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14980,7 +15034,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -15010,6 +15070,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pipes/deserializers.go b/service/pipes/deserializers.go index ca022048d4e..ae859ca17ea 100644 --- a/service/pipes/deserializers.go +++ b/service/pipes/deserializers.go @@ -2887,7 +2887,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2921,6 +2927,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3926,7 +3935,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3955,6 +3970,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4318,7 +4336,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4334,6 +4358,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6851,7 +6878,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6903,6 +6936,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7282,7 +7318,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7329,6 +7371,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7353,7 +7398,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -7374,6 +7425,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/polly/deserializers.go b/service/polly/deserializers.go index def8cf7f96d..e0246aab0a2 100644 --- a/service/polly/deserializers.go +++ b/service/polly/deserializers.go @@ -2186,7 +2186,13 @@ func awsRestjson1_deserializeDocumentEngineNotSupportedException(v **types.Engin sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2202,6 +2208,9 @@ func awsRestjson1_deserializeDocumentEngineNotSupportedException(v **types.Engin } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2226,7 +2235,13 @@ func awsRestjson1_deserializeDocumentInvalidLexiconException(v **types.InvalidLe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2242,6 +2257,9 @@ func awsRestjson1_deserializeDocumentInvalidLexiconException(v **types.InvalidLe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2266,7 +2284,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2282,6 +2306,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2306,7 +2333,13 @@ func awsRestjson1_deserializeDocumentInvalidS3BucketException(v **types.InvalidS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2322,6 +2355,9 @@ func awsRestjson1_deserializeDocumentInvalidS3BucketException(v **types.InvalidS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2346,7 +2382,13 @@ func awsRestjson1_deserializeDocumentInvalidS3KeyException(v **types.InvalidS3Ke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2362,6 +2404,9 @@ func awsRestjson1_deserializeDocumentInvalidS3KeyException(v **types.InvalidS3Ke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2386,7 +2431,13 @@ func awsRestjson1_deserializeDocumentInvalidSampleRateException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2402,6 +2453,9 @@ func awsRestjson1_deserializeDocumentInvalidSampleRateException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2426,7 +2480,13 @@ func awsRestjson1_deserializeDocumentInvalidSnsTopicArnException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2442,6 +2502,9 @@ func awsRestjson1_deserializeDocumentInvalidSnsTopicArnException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2466,7 +2529,13 @@ func awsRestjson1_deserializeDocumentInvalidSsmlException(v **types.InvalidSsmlE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2482,6 +2551,9 @@ func awsRestjson1_deserializeDocumentInvalidSsmlException(v **types.InvalidSsmlE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2506,7 +2578,13 @@ func awsRestjson1_deserializeDocumentInvalidTaskIdException(v **types.InvalidTas sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2522,6 +2600,9 @@ func awsRestjson1_deserializeDocumentInvalidTaskIdException(v **types.InvalidTas } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2582,7 +2663,13 @@ func awsRestjson1_deserializeDocumentLanguageNotSupportedException(v **types.Lan sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2598,6 +2685,9 @@ func awsRestjson1_deserializeDocumentLanguageNotSupportedException(v **types.Lan } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2886,7 +2976,13 @@ func awsRestjson1_deserializeDocumentLexiconNotFoundException(v **types.LexiconN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2902,6 +2998,9 @@ func awsRestjson1_deserializeDocumentLexiconNotFoundException(v **types.LexiconN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2926,7 +3025,13 @@ func awsRestjson1_deserializeDocumentLexiconSizeExceededException(v **types.Lexi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2942,6 +3047,9 @@ func awsRestjson1_deserializeDocumentLexiconSizeExceededException(v **types.Lexi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2966,7 +3074,13 @@ func awsRestjson1_deserializeDocumentMarksNotSupportedForFormatException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2982,6 +3096,9 @@ func awsRestjson1_deserializeDocumentMarksNotSupportedForFormatException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3006,7 +3123,13 @@ func awsRestjson1_deserializeDocumentMaxLexemeLengthExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3022,6 +3145,9 @@ func awsRestjson1_deserializeDocumentMaxLexemeLengthExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3046,7 +3172,13 @@ func awsRestjson1_deserializeDocumentMaxLexiconsNumberExceededException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3062,6 +3194,9 @@ func awsRestjson1_deserializeDocumentMaxLexiconsNumberExceededException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3086,7 +3221,13 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3102,6 +3243,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3162,7 +3306,13 @@ func awsRestjson1_deserializeDocumentSsmlMarksNotSupportedForTextTypeException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3178,6 +3328,9 @@ func awsRestjson1_deserializeDocumentSsmlMarksNotSupportedForTextTypeException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3371,7 +3524,13 @@ func awsRestjson1_deserializeDocumentSynthesisTaskNotFoundException(v **types.Sy sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3387,6 +3546,9 @@ func awsRestjson1_deserializeDocumentSynthesisTaskNotFoundException(v **types.Sy } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3445,7 +3607,13 @@ func awsRestjson1_deserializeDocumentTextLengthExceededException(v **types.TextL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3461,6 +3629,9 @@ func awsRestjson1_deserializeDocumentTextLengthExceededException(v **types.TextL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3485,7 +3656,13 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsAlphabetException(v **types.U sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3501,6 +3678,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsAlphabetException(v **types.U } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3525,7 +3705,13 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsLanguageException(v **types.U sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3541,6 +3727,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsLanguageException(v **types.U } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/pricing/deserializers.go b/service/pricing/deserializers.go index eb4d6840812..fbf396fa61c 100644 --- a/service/pricing/deserializers.go +++ b/service/pricing/deserializers.go @@ -965,7 +965,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -981,6 +987,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1115,7 +1124,13 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1131,6 +1146,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1191,7 +1209,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1207,6 +1231,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1231,7 +1258,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1247,6 +1280,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1271,7 +1307,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1287,6 +1329,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1311,7 +1356,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1327,6 +1378,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1484,7 +1538,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1500,6 +1560,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1603,7 +1666,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1619,6 +1688,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/privatenetworks/deserializers.go b/service/privatenetworks/deserializers.go index a3add3e6489..3da9497afc3 100644 --- a/service/privatenetworks/deserializers.go +++ b/service/privatenetworks/deserializers.go @@ -4384,7 +4384,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4400,6 +4406,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4815,7 +4824,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4844,6 +4859,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4868,7 +4886,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4884,6 +4908,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5978,7 +6005,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6012,6 +6045,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6176,7 +6212,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6192,6 +6234,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6290,7 +6335,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -6320,6 +6371,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/proton/deserializers.go b/service/proton/deserializers.go index 5a42d020659..fa64dfb79e6 100644 --- a/service/proton/deserializers.go +++ b/service/proton/deserializers.go @@ -11133,7 +11133,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11149,6 +11155,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11826,7 +11835,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11842,6 +11857,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13898,7 +13916,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13914,6 +13938,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14757,7 +14784,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14773,6 +14806,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15944,7 +15980,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15960,6 +16002,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17265,7 +17310,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17281,6 +17332,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17305,7 +17359,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17321,6 +17381,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/qapps/deserializers.go b/service/qapps/deserializers.go index 9de943f0ad8..c6d9a7e5e3d 100644 --- a/service/qapps/deserializers.go +++ b/service/qapps/deserializers.go @@ -4630,7 +4630,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4646,6 +4652,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5291,7 +5300,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5325,6 +5340,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5349,7 +5367,13 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5383,6 +5407,9 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5784,7 +5811,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5813,6 +5846,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6422,7 +6458,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6456,6 +6498,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6480,7 +6525,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6532,6 +6583,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6749,7 +6803,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6796,6 +6856,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6820,7 +6883,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6836,6 +6905,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7001,7 +7073,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7017,6 +7095,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/qbusiness/deserializers.go b/service/qbusiness/deserializers.go index 4c57f9cb4f2..4c37b5fd2af 100644 --- a/service/qbusiness/deserializers.go +++ b/service/qbusiness/deserializers.go @@ -10379,7 +10379,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10395,6 +10401,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11161,7 +11170,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11195,6 +11210,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13301,7 +13319,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13317,6 +13341,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13381,7 +13408,13 @@ func awsRestjson1_deserializeDocumentLicenseNotFoundException(v **types.LicenseN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13397,6 +13430,9 @@ func awsRestjson1_deserializeDocumentLicenseNotFoundException(v **types.LicenseN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14063,7 +14099,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14097,6 +14139,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14612,7 +14657,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14646,6 +14697,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14967,7 +15021,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14983,6 +15043,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15305,7 +15368,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { @@ -15335,6 +15404,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/qconnect/deserializers.go b/service/qconnect/deserializers.go index ca0ccae5d1b..884642cba25 100644 --- a/service/qconnect/deserializers.go +++ b/service/qconnect/deserializers.go @@ -10265,7 +10265,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10281,6 +10287,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12464,7 +12473,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12480,6 +12495,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15405,7 +15423,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15421,6 +15445,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16653,7 +16680,13 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16669,6 +16702,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16693,7 +16729,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16718,6 +16760,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17140,7 +17185,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17156,6 +17207,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17742,7 +17796,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17758,6 +17818,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17782,7 +17845,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17807,6 +17876,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17903,7 +17975,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17919,6 +17997,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/qldb/deserializers.go b/service/qldb/deserializers.go index ab8601a8bb4..1be38d24649 100644 --- a/service/qldb/deserializers.go +++ b/service/qldb/deserializers.go @@ -3464,7 +3464,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3489,6 +3495,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4070,7 +4079,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4095,6 +4110,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4119,7 +4137,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4153,6 +4177,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4177,7 +4204,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4211,6 +4244,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4235,7 +4271,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4269,6 +4311,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4293,7 +4338,13 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4327,6 +4378,9 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/qldbsession/deserializers.go b/service/qldbsession/deserializers.go index abea8458a06..88230e71a58 100644 --- a/service/qldbsession/deserializers.go +++ b/service/qldbsession/deserializers.go @@ -422,7 +422,13 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -447,6 +453,9 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -471,7 +480,13 @@ func awsAwsjson10_deserializeDocumentCapacityExceededException(v **types.Capacit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -487,6 +502,9 @@ func awsAwsjson10_deserializeDocumentCapacityExceededException(v **types.Capacit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -702,7 +720,13 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -727,6 +751,9 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -808,7 +835,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -824,6 +857,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -848,7 +884,13 @@ func awsAwsjson10_deserializeDocumentOccConflictException(v **types.OccConflictE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -864,6 +906,9 @@ func awsAwsjson10_deserializeDocumentOccConflictException(v **types.OccConflictE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -933,7 +978,13 @@ func awsAwsjson10_deserializeDocumentRateExceededException(v **types.RateExceede sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -949,6 +1000,9 @@ func awsAwsjson10_deserializeDocumentRateExceededException(v **types.RateExceede } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index ef90b7f725b..bbd93d19adb 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -37840,7 +37840,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -37865,6 +37871,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -48999,7 +49008,13 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49024,6 +49039,9 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -49421,7 +49439,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -49446,6 +49470,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -50281,7 +50308,13 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -50306,6 +50339,9 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -56468,7 +56504,13 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -56493,6 +56535,9 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -64595,7 +64640,13 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -64620,6 +64671,9 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -65506,7 +65560,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -65531,6 +65591,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -65555,7 +65618,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -65580,6 +65649,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -65604,7 +65676,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -65629,6 +65707,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -65653,7 +65734,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -65678,6 +65765,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -67013,7 +67103,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -67047,6 +67143,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -74056,7 +74155,13 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -74081,6 +74186,9 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -74488,7 +74596,13 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -74513,6 +74627,9 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -76371,7 +76488,13 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -76405,6 +76528,9 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -76429,7 +76555,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -76463,6 +76595,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -76566,7 +76701,13 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -76600,6 +76741,9 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -78910,7 +79054,13 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -78935,6 +79085,9 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -85725,7 +85878,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -85750,6 +85909,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -90470,7 +90632,13 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -90495,6 +90663,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -90519,7 +90690,13 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -90544,6 +90721,9 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ram/deserializers.go b/service/ram/deserializers.go index 009d325dd3d..0e628d29294 100644 --- a/service/ram/deserializers.go +++ b/service/ram/deserializers.go @@ -7218,7 +7218,13 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7234,6 +7240,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7258,7 +7267,13 @@ func awsRestjson1_deserializeDocumentInvalidClientTokenException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7274,6 +7289,9 @@ func awsRestjson1_deserializeDocumentInvalidClientTokenException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7298,7 +7316,13 @@ func awsRestjson1_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7314,6 +7338,9 @@ func awsRestjson1_deserializeDocumentInvalidMaxResultsException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7338,7 +7365,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7354,6 +7387,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7378,7 +7414,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7394,6 +7436,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7418,7 +7463,13 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7434,6 +7485,9 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7458,7 +7512,13 @@ func awsRestjson1_deserializeDocumentInvalidResourceTypeException(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7474,6 +7534,9 @@ func awsRestjson1_deserializeDocumentInvalidResourceTypeException(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7498,7 +7561,13 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7514,6 +7583,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7538,7 +7610,13 @@ func awsRestjson1_deserializeDocumentMalformedArnException(v **types.MalformedAr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7554,6 +7632,9 @@ func awsRestjson1_deserializeDocumentMalformedArnException(v **types.MalformedAr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7578,7 +7659,13 @@ func awsRestjson1_deserializeDocumentMalformedPolicyTemplateException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7594,6 +7681,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyTemplateException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7618,7 +7708,13 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7634,6 +7730,9 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7658,7 +7757,13 @@ func awsRestjson1_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7674,6 +7779,9 @@ func awsRestjson1_deserializeDocumentOperationNotPermittedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7698,7 +7806,13 @@ func awsRestjson1_deserializeDocumentPermissionAlreadyExistsException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7714,6 +7828,9 @@ func awsRestjson1_deserializeDocumentPermissionAlreadyExistsException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7738,7 +7855,13 @@ func awsRestjson1_deserializeDocumentPermissionLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7754,6 +7877,9 @@ func awsRestjson1_deserializeDocumentPermissionLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7778,7 +7904,13 @@ func awsRestjson1_deserializeDocumentPermissionVersionsLimitExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7794,6 +7926,9 @@ func awsRestjson1_deserializeDocumentPermissionVersionsLimitExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8264,7 +8399,13 @@ func awsRestjson1_deserializeDocumentResourceArnNotFoundException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8280,6 +8421,9 @@ func awsRestjson1_deserializeDocumentResourceArnNotFoundException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8744,7 +8888,13 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyAcceptedExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8760,6 +8910,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyAcceptedExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8784,7 +8937,13 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyRejectedExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8800,6 +8959,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyRejectedExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8824,7 +8986,13 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationArnNotFoundException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8840,6 +9008,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationArnNotFoundException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8864,7 +9035,13 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationExpiredException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8880,6 +9057,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationExpiredException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8938,7 +9118,13 @@ func awsRestjson1_deserializeDocumentResourceShareLimitExceededException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8954,6 +9140,9 @@ func awsRestjson1_deserializeDocumentResourceShareLimitExceededException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9353,7 +9542,13 @@ func awsRestjson1_deserializeDocumentServerInternalException(v **types.ServerInt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9369,6 +9564,9 @@ func awsRestjson1_deserializeDocumentServerInternalException(v **types.ServerInt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9485,7 +9683,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9501,6 +9705,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9574,7 +9781,13 @@ func awsRestjson1_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9590,6 +9803,9 @@ func awsRestjson1_deserializeDocumentTagLimitExceededException(v **types.TagLimi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9648,7 +9864,13 @@ func awsRestjson1_deserializeDocumentTagPolicyViolationException(v **types.TagPo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9664,6 +9886,9 @@ func awsRestjson1_deserializeDocumentTagPolicyViolationException(v **types.TagPo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9688,7 +9913,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9704,6 +9935,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9728,7 +9962,13 @@ func awsRestjson1_deserializeDocumentUnknownResourceException(v **types.UnknownR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9744,6 +9984,9 @@ func awsRestjson1_deserializeDocumentUnknownResourceException(v **types.UnknownR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9768,7 +10011,13 @@ func awsRestjson1_deserializeDocumentUnmatchedPolicyPermissionException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9784,6 +10033,9 @@ func awsRestjson1_deserializeDocumentUnmatchedPolicyPermissionException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/rbin/deserializers.go b/service/rbin/deserializers.go index 93646abdb24..194d60cb461 100644 --- a/service/rbin/deserializers.go +++ b/service/rbin/deserializers.go @@ -2009,7 +2009,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2034,6 +2040,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2058,7 +2067,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2074,6 +2089,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2134,7 +2152,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2159,6 +2183,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2425,7 +2452,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2450,6 +2483,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2610,7 +2646,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2635,6 +2677,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/rdsdata/deserializers.go b/service/rdsdata/deserializers.go index 8e23dfa6624..8069544d57d 100644 --- a/service/rdsdata/deserializers.go +++ b/service/rdsdata/deserializers.go @@ -1655,7 +1655,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1671,6 +1677,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1829,7 +1838,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1845,6 +1860,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2082,7 +2100,13 @@ func awsRestjson1_deserializeDocumentDatabaseErrorException(v **types.DatabaseEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2098,6 +2122,9 @@ func awsRestjson1_deserializeDocumentDatabaseErrorException(v **types.DatabaseEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2122,7 +2149,13 @@ func awsRestjson1_deserializeDocumentDatabaseNotFoundException(v **types.Databas sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2138,6 +2171,9 @@ func awsRestjson1_deserializeDocumentDatabaseNotFoundException(v **types.Databas } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2162,13 +2198,22 @@ func awsRestjson1_deserializeDocumentDatabaseUnavailableException(v **types.Data sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2429,7 +2474,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2445,6 +2496,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2469,7 +2523,13 @@ func awsRestjson1_deserializeDocumentHttpEndpointNotEnabledException(v **types.H sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2485,6 +2545,9 @@ func awsRestjson1_deserializeDocumentHttpEndpointNotEnabledException(v **types.H } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2509,13 +2572,22 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2540,7 +2612,13 @@ func awsRestjson1_deserializeDocumentInvalidSecretException(v **types.InvalidSec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2556,6 +2634,9 @@ func awsRestjson1_deserializeDocumentInvalidSecretException(v **types.InvalidSec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2654,7 +2735,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2670,6 +2757,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2886,7 +2976,13 @@ func awsRestjson1_deserializeDocumentSecretsErrorException(v **types.SecretsErro sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2902,6 +2998,9 @@ func awsRestjson1_deserializeDocumentSecretsErrorException(v **types.SecretsErro } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2926,13 +3025,22 @@ func awsRestjson1_deserializeDocumentServiceUnavailableError(v **types.ServiceUn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3072,7 +3180,13 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "dbConnectionId": if value != nil { @@ -3101,6 +3215,9 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3197,7 +3314,13 @@ func awsRestjson1_deserializeDocumentTransactionNotFoundException(v **types.Tran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3213,6 +3336,9 @@ func awsRestjson1_deserializeDocumentTransactionNotFoundException(v **types.Tran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3237,7 +3363,13 @@ func awsRestjson1_deserializeDocumentUnsupportedResultException(v **types.Unsupp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3253,6 +3385,9 @@ func awsRestjson1_deserializeDocumentUnsupportedResultException(v **types.Unsupp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/redshiftdata/deserializers.go b/service/redshiftdata/deserializers.go index f7f4f0543db..dba401016fc 100644 --- a/service/redshiftdata/deserializers.go +++ b/service/redshiftdata/deserializers.go @@ -1677,7 +1677,13 @@ func awsAwsjson11_deserializeDocumentActiveSessionsExceededException(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1693,6 +1699,9 @@ func awsAwsjson11_deserializeDocumentActiveSessionsExceededException(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1717,7 +1726,13 @@ func awsAwsjson11_deserializeDocumentActiveStatementsExceededException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1733,6 +1748,9 @@ func awsAwsjson11_deserializeDocumentActiveStatementsExceededException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1757,7 +1775,13 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1782,6 +1806,9 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2038,7 +2065,13 @@ func awsAwsjson11_deserializeDocumentDatabaseConnectionException(v **types.Datab sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2054,6 +2087,9 @@ func awsAwsjson11_deserializeDocumentDatabaseConnectionException(v **types.Datab } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2150,7 +2186,13 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2175,6 +2217,9 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2398,7 +2443,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2414,6 +2465,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2480,7 +2534,13 @@ func awsAwsjson11_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2496,6 +2556,9 @@ func awsAwsjson11_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2520,7 +2583,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2545,6 +2614,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3221,7 +3293,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3237,6 +3315,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/redshiftserverless/deserializers.go b/service/redshiftserverless/deserializers.go index d93ca19a254..81a283d9cf5 100644 --- a/service/redshiftserverless/deserializers.go +++ b/service/redshiftserverless/deserializers.go @@ -7074,7 +7074,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -7099,6 +7105,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7347,7 +7356,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7363,6 +7378,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7699,7 +7717,13 @@ func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7715,6 +7739,9 @@ func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.Ins } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7739,7 +7766,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7755,6 +7788,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7779,7 +7815,13 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7795,6 +7837,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7819,7 +7864,13 @@ func awsAwsjson11_deserializeDocumentIpv6CidrBlockNotFoundException(v **types.Ip sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7835,6 +7886,9 @@ func awsAwsjson11_deserializeDocumentIpv6CidrBlockNotFoundException(v **types.Ip } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8427,7 +8481,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8452,6 +8512,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8837,7 +8900,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8853,6 +8922,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9762,7 +9834,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -9787,6 +9865,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9811,7 +9892,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9836,6 +9923,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9992,7 +10082,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10008,6 +10104,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/rekognition/deserializers.go b/service/rekognition/deserializers.go index 058d938fa41..b9dbf7d92aa 100644 --- a/service/rekognition/deserializers.go +++ b/service/rekognition/deserializers.go @@ -10678,7 +10678,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10712,6 +10718,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12104,7 +12113,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -12138,6 +12153,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15498,7 +15516,13 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15559,6 +15583,9 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15583,7 +15610,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15617,6 +15650,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15740,7 +15776,13 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15774,6 +15816,9 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15907,7 +15952,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15941,6 +15992,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15965,7 +16019,13 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -15999,6 +16059,9 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16023,7 +16086,13 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16057,6 +16126,9 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16081,7 +16153,13 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16115,6 +16193,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16139,7 +16220,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16173,6 +16260,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16197,7 +16287,13 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16231,6 +16327,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16255,7 +16354,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -16289,6 +16394,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16973,7 +17081,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17007,6 +17121,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17031,7 +17148,13 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -17065,6 +17188,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19334,7 +19460,13 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19368,6 +19500,9 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19503,7 +19638,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19537,6 +19678,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19561,7 +19705,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19595,6 +19745,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19619,7 +19772,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19653,6 +19812,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19677,7 +19839,13 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -19711,6 +19879,9 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20230,7 +20401,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -20264,6 +20441,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -20288,7 +20468,13 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -20322,6 +20508,9 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21321,7 +21510,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -21355,6 +21550,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22513,7 +22711,13 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -22547,6 +22751,9 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/repostspace/deserializers.go b/service/repostspace/deserializers.go index 4251b44640b..f0d99419cae 100644 --- a/service/repostspace/deserializers.go +++ b/service/repostspace/deserializers.go @@ -2278,7 +2278,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2294,6 +2300,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2450,7 +2459,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2484,6 +2499,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2544,7 +2562,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2573,6 +2597,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2597,7 +2624,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2631,6 +2664,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2725,7 +2761,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2777,6 +2819,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3066,7 +3111,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3113,6 +3164,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3173,7 +3227,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -3203,6 +3263,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/resiliencehub/deserializers.go b/service/resiliencehub/deserializers.go index 92e9b7973df..7011e34c841 100644 --- a/service/resiliencehub/deserializers.go +++ b/service/resiliencehub/deserializers.go @@ -10889,7 +10889,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10905,6 +10911,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13310,7 +13319,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13344,6 +13359,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14512,7 +14530,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14528,6 +14552,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16019,7 +16046,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16053,6 +16086,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16286,7 +16322,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16302,6 +16344,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16815,7 +16860,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16844,6 +16895,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17019,7 +17073,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17035,6 +17095,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/resourceexplorer2/deserializers.go b/service/resourceexplorer2/deserializers.go index 3681010d2b2..63192b4ee31 100644 --- a/service/resourceexplorer2/deserializers.go +++ b/service/resourceexplorer2/deserializers.go @@ -4032,7 +4032,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4048,6 +4054,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4155,7 +4164,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4171,6 +4186,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4361,7 +4379,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4377,6 +4401,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4768,7 +4795,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4784,6 +4817,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4974,7 +5010,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5008,6 +5050,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5117,7 +5162,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5133,6 +5184,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5157,7 +5211,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5173,6 +5233,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5197,7 +5260,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -5218,6 +5287,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/resourcegroups/deserializers.go b/service/resourcegroups/deserializers.go index 72cd54d4050..54564e8f945 100644 --- a/service/resourcegroups/deserializers.go +++ b/service/resourcegroups/deserializers.go @@ -4377,7 +4377,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4393,6 +4399,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4509,7 +4518,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4525,6 +4540,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5224,7 +5242,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5240,6 +5264,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5339,7 +5366,13 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5355,6 +5388,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5379,7 +5415,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5395,6 +5437,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6009,7 +6054,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6025,6 +6076,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6049,7 +6103,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6065,6 +6125,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/resourcegroupstaggingapi/deserializers.go b/service/resourcegroupstaggingapi/deserializers.go index aa00c8c3c21..a8db76ec0d5 100644 --- a/service/resourcegroupstaggingapi/deserializers.go +++ b/service/resourcegroupstaggingapi/deserializers.go @@ -1266,7 +1266,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1282,6 +1288,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1306,7 +1315,13 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1322,6 +1337,9 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1443,7 +1461,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1459,6 +1483,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1483,7 +1510,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1499,6 +1532,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1523,7 +1559,13 @@ func awsAwsjson11_deserializeDocumentPaginationTokenExpiredException(v **types.P sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1539,6 +1581,9 @@ func awsAwsjson11_deserializeDocumentPaginationTokenExpiredException(v **types.P } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1925,7 +1970,13 @@ func awsAwsjson11_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1941,6 +1992,9 @@ func awsAwsjson11_deserializeDocumentThrottledException(v **types.ThrottledExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/robomaker/deserializers.go b/service/robomaker/deserializers.go index 44ffb021873..51411b45cdc 100644 --- a/service/robomaker/deserializers.go +++ b/service/robomaker/deserializers.go @@ -11199,7 +11199,13 @@ func awsRestjson1_deserializeDocumentConcurrentDeploymentException(v **types.Con sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11215,6 +11221,9 @@ func awsRestjson1_deserializeDocumentConcurrentDeploymentException(v **types.Con } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12308,7 +12317,13 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12324,6 +12339,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12348,7 +12366,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12364,6 +12388,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12388,7 +12415,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12404,6 +12437,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12501,7 +12537,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12517,6 +12559,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12969,7 +13014,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12985,6 +13036,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13009,7 +13063,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13025,6 +13085,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13874,7 +13937,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13890,6 +13959,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15172,7 +15244,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15188,6 +15266,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/rolesanywhere/deserializers.go b/service/rolesanywhere/deserializers.go index a596b58ef38..4d8a2f626be 100644 --- a/service/rolesanywhere/deserializers.go +++ b/service/rolesanywhere/deserializers.go @@ -4785,7 +4785,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4801,6 +4807,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5719,7 +5728,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5735,6 +5750,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6233,7 +6251,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6249,6 +6273,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6410,7 +6437,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6426,6 +6459,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53domains/deserializers.go b/service/route53domains/deserializers.go index 2f498d9329c..08a8b6ccb0f 100644 --- a/service/route53domains/deserializers.go +++ b/service/route53domains/deserializers.go @@ -4696,7 +4696,13 @@ func awsAwsjson11_deserializeDocumentDnssecLimitExceeded(v **types.DnssecLimitEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4712,6 +4718,9 @@ func awsAwsjson11_deserializeDocumentDnssecLimitExceeded(v **types.DnssecLimitEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4736,7 +4745,13 @@ func awsAwsjson11_deserializeDocumentDomainLimitExceeded(v **types.DomainLimitEx sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4752,6 +4767,9 @@ func awsAwsjson11_deserializeDocumentDomainLimitExceeded(v **types.DomainLimitEx } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5142,7 +5160,13 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5167,6 +5191,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5310,7 +5337,13 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5326,6 +5359,9 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5429,7 +5465,13 @@ func awsAwsjson11_deserializeDocumentOperationLimitExceeded(v **types.OperationL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5445,6 +5487,9 @@ func awsAwsjson11_deserializeDocumentOperationLimitExceeded(v **types.OperationL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5777,7 +5822,13 @@ func awsAwsjson11_deserializeDocumentTLDRulesViolation(v **types.TLDRulesViolati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5793,6 +5844,9 @@ func awsAwsjson11_deserializeDocumentTLDRulesViolation(v **types.TLDRulesViolati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5817,7 +5871,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedTLD(v **types.UnsupportedTLD, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5833,6 +5893,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedTLD(v **types.UnsupportedTLD, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53profiles/deserializers.go b/service/route53profiles/deserializers.go index 2d75a58ca92..22618083bc4 100644 --- a/service/route53profiles/deserializers.go +++ b/service/route53profiles/deserializers.go @@ -2968,7 +2968,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2984,6 +2990,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3008,7 +3017,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3024,6 +3039,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3048,7 +3066,13 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3064,6 +3088,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3088,7 +3115,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3104,6 +3137,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3128,7 +3164,13 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FieldName": if value != nil { @@ -3153,6 +3195,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3177,7 +3222,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3202,6 +3253,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3800,7 +3854,13 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3825,6 +3885,9 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3849,7 +3912,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3874,6 +3943,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3934,7 +4006,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3950,6 +4028,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3974,7 +4055,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3990,6 +4077,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53recoverycluster/deserializers.go b/service/route53recoverycluster/deserializers.go index ef0ed59bc50..47c3a4ddfce 100644 --- a/service/route53recoverycluster/deserializers.go +++ b/service/route53recoverycluster/deserializers.go @@ -842,7 +842,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -858,6 +864,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -882,7 +891,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -916,6 +931,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -940,7 +958,13 @@ func awsAwsjson10_deserializeDocumentEndpointTemporarilyUnavailableException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -956,6 +980,9 @@ func awsAwsjson10_deserializeDocumentEndpointTemporarilyUnavailableException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -980,7 +1007,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1009,6 +1042,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1033,7 +1069,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1067,6 +1109,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1210,7 +1255,13 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "limitCode": if value != nil { @@ -1262,6 +1313,9 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1286,7 +1340,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1315,6 +1375,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1339,7 +1402,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -1369,6 +1438,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53recoverycontrolconfig/deserializers.go b/service/route53recoverycontrolconfig/deserializers.go index a3da806a045..5c40854f8d9 100644 --- a/service/route53recoverycontrolconfig/deserializers.go +++ b/service/route53recoverycontrolconfig/deserializers.go @@ -4174,7 +4174,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4190,6 +4196,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4434,7 +4443,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4450,6 +4465,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4676,7 +4694,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4692,6 +4716,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4716,7 +4743,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4732,6 +4765,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4935,7 +4971,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4951,6 +4993,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4975,7 +5020,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4991,6 +5042,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5015,7 +5069,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5031,6 +5091,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53recoveryreadiness/deserializers.go b/service/route53recoveryreadiness/deserializers.go index f8a6be12011..30b61b359d6 100644 --- a/service/route53recoveryreadiness/deserializers.go +++ b/service/route53recoveryreadiness/deserializers.go @@ -5990,7 +5990,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6006,6 +6012,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6094,7 +6103,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6110,6 +6125,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6206,7 +6224,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6222,6 +6246,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6703,7 +6730,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6719,6 +6752,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7026,7 +7062,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7042,6 +7084,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7066,7 +7111,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7082,6 +7133,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/route53resolver/deserializers.go b/service/route53resolver/deserializers.go index 718abd710a3..c86e8987e12 100644 --- a/service/route53resolver/deserializers.go +++ b/service/route53resolver/deserializers.go @@ -9143,7 +9143,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9159,6 +9165,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9183,7 +9192,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9199,6 +9214,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10233,7 +10251,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10249,6 +10273,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10273,7 +10300,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10289,6 +10322,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10313,7 +10349,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "FieldName": if value != nil { @@ -10338,6 +10380,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10362,7 +10407,13 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyDocument(v **types.InvalidPoli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10378,6 +10429,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyDocument(v **types.InvalidPoli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10402,7 +10456,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10418,6 +10478,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10442,7 +10505,13 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10458,6 +10527,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10619,7 +10691,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10644,6 +10722,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11872,7 +11953,13 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11897,6 +11984,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11921,7 +12011,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11946,6 +12042,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11970,7 +12069,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11995,6 +12100,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12019,7 +12127,13 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12044,6 +12158,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12104,7 +12221,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12120,6 +12243,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12341,7 +12467,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12357,6 +12489,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12381,7 +12516,13 @@ func awsAwsjson11_deserializeDocumentUnknownResourceException(v **types.UnknownR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12397,6 +12538,9 @@ func awsAwsjson11_deserializeDocumentUnknownResourceException(v **types.UnknownR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12421,7 +12565,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12437,6 +12587,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/rum/deserializers.go b/service/rum/deserializers.go index 4c8754b668d..bb98aac0415 100644 --- a/service/rum/deserializers.go +++ b/service/rum/deserializers.go @@ -2684,7 +2684,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2700,6 +2706,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3240,7 +3249,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3274,6 +3289,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3531,7 +3549,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3560,6 +3584,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3953,7 +3980,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3987,6 +4020,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4011,7 +4047,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4027,6 +4069,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4123,7 +4168,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4170,6 +4221,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4194,7 +4248,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4210,6 +4270,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/s3outposts/deserializers.go b/service/s3outposts/deserializers.go index 8f3db9990c7..a93dfa48489 100644 --- a/service/s3outposts/deserializers.go +++ b/service/s3outposts/deserializers.go @@ -1101,7 +1101,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1117,6 +1123,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1141,7 +1150,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1157,6 +1172,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1402,7 +1420,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1418,6 +1442,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1596,7 +1623,13 @@ func awsRestjson1_deserializeDocumentOutpostOfflineException(v **types.OutpostOf sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1612,6 +1645,9 @@ func awsRestjson1_deserializeDocumentOutpostOfflineException(v **types.OutpostOf } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1670,7 +1706,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1686,6 +1728,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1710,7 +1755,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1726,6 +1777,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1750,7 +1804,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1766,6 +1826,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index f2081b28a8a..f21ef0801d8 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -44433,7 +44433,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -44449,6 +44455,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -74665,7 +74674,13 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -74681,6 +74696,9 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -74705,7 +74723,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -74721,6 +74745,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -74815,7 +74842,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -74831,6 +74864,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemakera2iruntime/deserializers.go b/service/sagemakera2iruntime/deserializers.go index 0a294eb22a5..fb2a02e6f2e 100644 --- a/service/sagemakera2iruntime/deserializers.go +++ b/service/sagemakera2iruntime/deserializers.go @@ -1025,7 +1025,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1041,6 +1047,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1219,7 +1228,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1235,6 +1250,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1259,7 +1277,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1275,6 +1299,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1299,7 +1326,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1315,6 +1348,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1339,7 +1375,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1355,6 +1397,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1379,7 +1424,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1395,6 +1446,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemakeredge/deserializers.go b/service/sagemakeredge/deserializers.go index e680adcbd47..b8ebffaa023 100644 --- a/service/sagemakeredge/deserializers.go +++ b/service/sagemakeredge/deserializers.go @@ -740,7 +740,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -756,6 +762,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemakerfeaturestoreruntime/deserializers.go b/service/sagemakerfeaturestoreruntime/deserializers.go index f81457d2d71..ecde566cff7 100644 --- a/service/sagemakerfeaturestoreruntime/deserializers.go +++ b/service/sagemakerfeaturestoreruntime/deserializers.go @@ -780,7 +780,13 @@ func awsRestjson1_deserializeDocumentAccessForbidden(v **types.AccessForbidden, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -796,6 +802,9 @@ func awsRestjson1_deserializeDocumentAccessForbidden(v **types.AccessForbidden, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1158,7 +1167,13 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1174,6 +1189,9 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1268,7 +1286,13 @@ func awsRestjson1_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1284,6 +1308,9 @@ func awsRestjson1_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1308,7 +1335,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1324,6 +1357,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1382,7 +1418,13 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1398,6 +1440,9 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemakergeospatial/deserializers.go b/service/sagemakergeospatial/deserializers.go index a572eb4c41f..83d1be2b1bb 100644 --- a/service/sagemakergeospatial/deserializers.go +++ b/service/sagemakergeospatial/deserializers.go @@ -3598,7 +3598,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3614,6 +3620,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3927,7 +3936,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3952,6 +3967,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4759,7 +4777,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4784,6 +4808,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6577,7 +6604,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6602,6 +6635,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6675,7 +6711,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6700,6 +6742,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6923,7 +6968,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6948,6 +6999,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7103,7 +7157,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7128,6 +7188,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sagemakerruntime/deserializers.go b/service/sagemakerruntime/deserializers.go index 1549b2391db..50a4dc758e8 100644 --- a/service/sagemakerruntime/deserializers.go +++ b/service/sagemakerruntime/deserializers.go @@ -690,7 +690,13 @@ func awsRestjson1_deserializeDocumentInternalStreamFailure(v **types.InternalStr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -706,6 +712,9 @@ func awsRestjson1_deserializeDocumentInternalStreamFailure(v **types.InternalStr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -730,7 +739,13 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ErrorCode": if value != nil { @@ -755,6 +770,9 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1067,7 +1085,13 @@ func awsRestjson1_deserializeDocumentInternalDependencyException(v **types.Inter sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1083,6 +1107,9 @@ func awsRestjson1_deserializeDocumentInternalDependencyException(v **types.Inter } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1107,7 +1134,13 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1123,6 +1156,9 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1147,7 +1183,13 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "LogStreamArn": if value != nil { @@ -1194,6 +1236,9 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1218,7 +1263,13 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1234,6 +1285,9 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1258,7 +1312,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1274,6 +1334,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1298,7 +1361,13 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1314,6 +1383,9 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/savingsplans/deserializers.go b/service/savingsplans/deserializers.go index f534f25d242..20500451629 100644 --- a/service/savingsplans/deserializers.go +++ b/service/savingsplans/deserializers.go @@ -1634,7 +1634,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1650,6 +1656,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1763,7 +1772,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1779,6 +1794,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2742,7 +2760,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2758,6 +2782,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2818,7 +2845,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2834,6 +2867,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/scheduler/deserializers.go b/service/scheduler/deserializers.go index dc4805007aa..711bb1af752 100644 --- a/service/scheduler/deserializers.go +++ b/service/scheduler/deserializers.go @@ -2346,7 +2346,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2362,6 +2368,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2669,7 +2678,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2685,6 +2700,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2951,7 +2969,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2967,6 +2991,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3465,7 +3492,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3481,6 +3514,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3865,7 +3901,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3881,6 +3923,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3905,7 +3950,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3921,6 +3972,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/schemas/deserializers.go b/service/schemas/deserializers.go index b52378c64ef..6be0a671977 100644 --- a/service/schemas/deserializers.go +++ b/service/schemas/deserializers.go @@ -5999,7 +5999,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6024,6 +6030,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6048,7 +6057,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6073,6 +6088,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6178,7 +6196,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6203,6 +6227,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6227,7 +6254,13 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6252,6 +6285,9 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6276,7 +6312,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6301,6 +6343,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6325,7 +6370,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6350,6 +6401,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6374,7 +6428,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6399,6 +6459,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6749,7 +6812,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6774,6 +6843,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6834,7 +6906,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6859,6 +6937,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6883,7 +6964,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6908,6 +6995,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/secretsmanager/deserializers.go b/service/secretsmanager/deserializers.go index fb914b466ae..db7fb487980 100644 --- a/service/secretsmanager/deserializers.go +++ b/service/secretsmanager/deserializers.go @@ -3342,7 +3342,13 @@ func awsAwsjson11_deserializeDocumentDecryptionFailure(v **types.DecryptionFailu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3358,6 +3364,9 @@ func awsAwsjson11_deserializeDocumentDecryptionFailure(v **types.DecryptionFailu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3382,7 +3391,13 @@ func awsAwsjson11_deserializeDocumentEncryptionFailure(v **types.EncryptionFailu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3398,6 +3413,9 @@ func awsAwsjson11_deserializeDocumentEncryptionFailure(v **types.EncryptionFailu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3422,7 +3440,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3438,6 +3462,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3462,7 +3489,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3478,6 +3511,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3502,7 +3538,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3518,6 +3560,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3542,7 +3587,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3558,6 +3609,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3618,7 +3672,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3634,6 +3694,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3658,7 +3721,13 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3674,6 +3743,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3698,7 +3770,13 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3714,6 +3792,9 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3738,7 +3819,13 @@ func awsAwsjson11_deserializeDocumentPublicPolicyException(v **types.PublicPolic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3754,6 +3841,9 @@ func awsAwsjson11_deserializeDocumentPublicPolicyException(v **types.PublicPolic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3895,7 +3985,13 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3911,6 +4007,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3935,7 +4034,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3951,6 +4056,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/securityhub/deserializers.go b/service/securityhub/deserializers.go index f2ef7036068..3aa40432b71 100644 --- a/service/securityhub/deserializers.go +++ b/service/securityhub/deserializers.go @@ -12568,7 +12568,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -12593,6 +12599,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58731,7 +58740,13 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -58756,6 +58771,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58780,7 +58798,13 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -58805,6 +58829,9 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -58829,7 +58856,13 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -58854,6 +58887,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -59294,7 +59330,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -59319,6 +59361,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -62316,7 +62361,13 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -62341,6 +62392,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -62891,7 +62945,13 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -62916,6 +62976,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -62974,7 +63037,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -62999,6 +63068,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/securitylake/deserializers.go b/service/securitylake/deserializers.go index 0cadd9dd5f3..5d152226812 100644 --- a/service/securitylake/deserializers.go +++ b/service/securitylake/deserializers.go @@ -4710,7 +4710,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -4735,6 +4741,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4963,7 +4972,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4979,6 +4994,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5003,7 +5021,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5037,6 +5061,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6068,7 +6095,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6084,6 +6117,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6350,7 +6386,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6384,6 +6426,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6687,7 +6732,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6734,6 +6785,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/serverlessapplicationrepository/deserializers.go b/service/serverlessapplicationrepository/deserializers.go index b8f9bdaf735..751cb4ceb04 100644 --- a/service/serverlessapplicationrepository/deserializers.go +++ b/service/serverlessapplicationrepository/deserializers.go @@ -3445,7 +3445,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3470,6 +3476,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3494,7 +3503,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3519,6 +3534,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3543,7 +3561,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3568,6 +3592,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3592,7 +3619,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3617,6 +3650,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3641,7 +3677,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3666,6 +3708,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3846,7 +3891,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3871,6 +3922,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/servicecatalog/deserializers.go b/service/servicecatalog/deserializers.go index 02b4ef94365..023c67c2b53 100644 --- a/service/servicecatalog/deserializers.go +++ b/service/servicecatalog/deserializers.go @@ -11171,7 +11171,13 @@ func awsAwsjson11_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11187,6 +11193,9 @@ func awsAwsjson11_deserializeDocumentDuplicateResourceException(v **types.Duplic } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11445,7 +11454,13 @@ func awsAwsjson11_deserializeDocumentInvalidParametersException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11461,6 +11476,9 @@ func awsAwsjson11_deserializeDocumentInvalidParametersException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11485,7 +11503,13 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11501,6 +11525,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11791,7 +11818,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11807,6 +11840,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11903,7 +11939,13 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11919,6 +11961,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15093,7 +15138,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15109,6 +15160,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15133,7 +15187,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15149,6 +15209,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16019,7 +16082,13 @@ func awsAwsjson11_deserializeDocumentTagOptionNotMigratedException(v **types.Tag sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16035,6 +16104,9 @@ func awsAwsjson11_deserializeDocumentTagOptionNotMigratedException(v **types.Tag } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/servicecatalogappregistry/deserializers.go b/service/servicecatalogappregistry/deserializers.go index 920ce2bdc05..c85262aa298 100644 --- a/service/servicecatalogappregistry/deserializers.go +++ b/service/servicecatalogappregistry/deserializers.go @@ -4943,7 +4943,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4959,6 +4965,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5024,7 +5033,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5040,6 +5055,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5369,7 +5387,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5385,6 +5409,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5544,7 +5571,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5560,6 +5593,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5660,7 +5696,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5685,6 +5727,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5709,7 +5754,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5725,6 +5776,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/servicediscovery/deserializers.go b/service/servicediscovery/deserializers.go index 854172a1835..1e7b1608503 100644 --- a/service/servicediscovery/deserializers.go +++ b/service/servicediscovery/deserializers.go @@ -3734,7 +3734,13 @@ func awsAwsjson11_deserializeDocumentCustomHealthNotFound(v **types.CustomHealth sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3750,6 +3756,9 @@ func awsAwsjson11_deserializeDocumentCustomHealthNotFound(v **types.CustomHealth } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3960,7 +3969,13 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "DuplicateOperationId": if value != nil { @@ -3985,6 +4000,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4351,7 +4369,13 @@ func awsAwsjson11_deserializeDocumentInstanceNotFound(v **types.InstanceNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4367,6 +4391,9 @@ func awsAwsjson11_deserializeDocumentInstanceNotFound(v **types.InstanceNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4470,7 +4497,13 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4486,6 +4519,9 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4629,7 +4665,13 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "CreatorRequestId": if value != nil { @@ -4663,6 +4705,9 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4687,7 +4732,13 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFound(v **types.NamespaceNotFou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4703,6 +4754,9 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFound(v **types.NamespaceNotFou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5025,7 +5079,13 @@ func awsAwsjson11_deserializeDocumentOperationNotFound(v **types.OperationNotFou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5041,6 +5101,9 @@ func awsAwsjson11_deserializeDocumentOperationNotFound(v **types.OperationNotFou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5184,7 +5247,13 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5200,6 +5269,9 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5224,7 +5296,13 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5240,6 +5318,9 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5264,7 +5345,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5280,6 +5367,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5304,7 +5394,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5320,6 +5416,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5482,7 +5581,13 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "CreatorRequestId": if value != nil { @@ -5516,6 +5621,9 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5540,7 +5648,13 @@ func awsAwsjson11_deserializeDocumentServiceNotFound(v **types.ServiceNotFound, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5556,6 +5670,9 @@ func awsAwsjson11_deserializeDocumentServiceNotFound(v **types.ServiceNotFound, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5861,7 +5978,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5886,6 +6009,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/servicequotas/deserializers.go b/service/servicequotas/deserializers.go index 54b63910374..fdab6c6e4cf 100644 --- a/service/servicequotas/deserializers.go +++ b/service/servicequotas/deserializers.go @@ -3087,7 +3087,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3103,6 +3109,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3127,7 +3136,13 @@ func awsAwsjson11_deserializeDocumentAWSServiceAccessNotEnabledException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3143,6 +3158,9 @@ func awsAwsjson11_deserializeDocumentAWSServiceAccessNotEnabledException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3167,7 +3185,13 @@ func awsAwsjson11_deserializeDocumentDependencyAccessDeniedException(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3183,6 +3207,9 @@ func awsAwsjson11_deserializeDocumentDependencyAccessDeniedException(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3256,7 +3283,13 @@ func awsAwsjson11_deserializeDocumentIllegalArgumentException(v **types.IllegalA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3272,6 +3305,9 @@ func awsAwsjson11_deserializeDocumentIllegalArgumentException(v **types.IllegalA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3296,7 +3332,13 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3312,6 +3354,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3336,7 +3381,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3352,6 +3403,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3475,7 +3529,13 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3491,6 +3551,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3515,7 +3578,13 @@ func awsAwsjson11_deserializeDocumentNoSuchResourceException(v **types.NoSuchRes sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3531,6 +3600,9 @@ func awsAwsjson11_deserializeDocumentNoSuchResourceException(v **types.NoSuchRes } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3555,7 +3627,13 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3571,6 +3649,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3687,7 +3768,13 @@ func awsAwsjson11_deserializeDocumentQuotaExceededException(v **types.QuotaExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3703,6 +3790,9 @@ func awsAwsjson11_deserializeDocumentQuotaExceededException(v **types.QuotaExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4024,7 +4114,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4040,6 +4136,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4064,7 +4163,13 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4080,6 +4185,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4549,7 +4657,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaTemplateNotInUseException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4565,6 +4679,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaTemplateNotInUseException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4638,7 +4755,13 @@ func awsAwsjson11_deserializeDocumentTagPolicyViolationException(v **types.TagPo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4654,6 +4777,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyViolationException(v **types.TagPo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4678,7 +4804,13 @@ func awsAwsjson11_deserializeDocumentTemplatesNotAvailableInRegionException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4694,6 +4826,9 @@ func awsAwsjson11_deserializeDocumentTemplatesNotAvailableInRegionException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4718,7 +4853,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4734,6 +4875,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4758,7 +4902,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4774,6 +4924,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sesv2/deserializers.go b/service/sesv2/deserializers.go index 9bf681b2d15..60ef725411a 100644 --- a/service/sesv2/deserializers.go +++ b/service/sesv2/deserializers.go @@ -13023,7 +13023,13 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13039,6 +13045,9 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13099,7 +13108,13 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13115,6 +13130,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13139,7 +13157,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13155,6 +13179,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13639,7 +13666,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13655,6 +13688,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13715,7 +13751,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13731,6 +13773,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16826,7 +16871,13 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16842,6 +16893,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16866,7 +16920,13 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16882,6 +16942,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17214,7 +17277,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17230,6 +17299,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17416,7 +17488,13 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17432,6 +17510,9 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17603,7 +17684,13 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17619,6 +17706,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18024,7 +18114,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18040,6 +18136,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -18703,7 +18802,13 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -18719,6 +18824,9 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -19470,7 +19578,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -19486,6 +19600,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sfn/deserializers.go b/service/sfn/deserializers.go index 277e046e216..e60bf510df6 100644 --- a/service/sfn/deserializers.go +++ b/service/sfn/deserializers.go @@ -5735,7 +5735,13 @@ func awsAwsjson10_deserializeDocumentActivityAlreadyExists(v **types.ActivityAlr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5751,6 +5757,9 @@ func awsAwsjson10_deserializeDocumentActivityAlreadyExists(v **types.ActivityAlr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5775,7 +5784,13 @@ func awsAwsjson10_deserializeDocumentActivityDoesNotExist(v **types.ActivityDoes sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5791,6 +5806,9 @@ func awsAwsjson10_deserializeDocumentActivityDoesNotExist(v **types.ActivityDoes } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5864,7 +5882,13 @@ func awsAwsjson10_deserializeDocumentActivityLimitExceeded(v **types.ActivityLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5880,6 +5904,9 @@ func awsAwsjson10_deserializeDocumentActivityLimitExceeded(v **types.ActivityLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6266,7 +6293,13 @@ func awsAwsjson10_deserializeDocumentActivityWorkerLimitExceeded(v **types.Activ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6282,6 +6315,9 @@ func awsAwsjson10_deserializeDocumentActivityWorkerLimitExceeded(v **types.Activ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6443,7 +6479,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6459,6 +6501,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6594,7 +6639,13 @@ func awsAwsjson10_deserializeDocumentExecutionAlreadyExists(v **types.ExecutionA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6610,6 +6661,9 @@ func awsAwsjson10_deserializeDocumentExecutionAlreadyExists(v **types.ExecutionA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6634,7 +6688,13 @@ func awsAwsjson10_deserializeDocumentExecutionDoesNotExist(v **types.ExecutionDo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6650,6 +6710,9 @@ func awsAwsjson10_deserializeDocumentExecutionDoesNotExist(v **types.ExecutionDo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6723,7 +6786,13 @@ func awsAwsjson10_deserializeDocumentExecutionLimitExceeded(v **types.ExecutionL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6739,6 +6808,9 @@ func awsAwsjson10_deserializeDocumentExecutionLimitExceeded(v **types.ExecutionL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6965,7 +7037,13 @@ func awsAwsjson10_deserializeDocumentExecutionNotRedrivable(v **types.ExecutionN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6981,6 +7059,9 @@ func awsAwsjson10_deserializeDocumentExecutionNotRedrivable(v **types.ExecutionN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7798,7 +7879,13 @@ func awsAwsjson10_deserializeDocumentInvalidArn(v **types.InvalidArn, value inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7814,6 +7901,9 @@ func awsAwsjson10_deserializeDocumentInvalidArn(v **types.InvalidArn, value inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7838,7 +7928,13 @@ func awsAwsjson10_deserializeDocumentInvalidDefinition(v **types.InvalidDefiniti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7854,6 +7950,9 @@ func awsAwsjson10_deserializeDocumentInvalidDefinition(v **types.InvalidDefiniti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7878,7 +7977,13 @@ func awsAwsjson10_deserializeDocumentInvalidEncryptionConfiguration(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7894,6 +7999,9 @@ func awsAwsjson10_deserializeDocumentInvalidEncryptionConfiguration(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7918,7 +8026,13 @@ func awsAwsjson10_deserializeDocumentInvalidExecutionInput(v **types.InvalidExec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7934,6 +8048,9 @@ func awsAwsjson10_deserializeDocumentInvalidExecutionInput(v **types.InvalidExec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7958,7 +8075,13 @@ func awsAwsjson10_deserializeDocumentInvalidLoggingConfiguration(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7974,6 +8097,9 @@ func awsAwsjson10_deserializeDocumentInvalidLoggingConfiguration(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7998,7 +8124,13 @@ func awsAwsjson10_deserializeDocumentInvalidName(v **types.InvalidName, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8014,6 +8146,9 @@ func awsAwsjson10_deserializeDocumentInvalidName(v **types.InvalidName, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8038,7 +8173,13 @@ func awsAwsjson10_deserializeDocumentInvalidOutput(v **types.InvalidOutput, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8054,6 +8195,9 @@ func awsAwsjson10_deserializeDocumentInvalidOutput(v **types.InvalidOutput, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8078,7 +8222,13 @@ func awsAwsjson10_deserializeDocumentInvalidToken(v **types.InvalidToken, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8094,6 +8244,9 @@ func awsAwsjson10_deserializeDocumentInvalidToken(v **types.InvalidToken, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8118,7 +8271,13 @@ func awsAwsjson10_deserializeDocumentInvalidTracingConfiguration(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8134,6 +8293,9 @@ func awsAwsjson10_deserializeDocumentInvalidTracingConfiguration(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8158,7 +8320,13 @@ func awsAwsjson10_deserializeDocumentKmsAccessDeniedException(v **types.KmsAcces sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8174,6 +8342,9 @@ func awsAwsjson10_deserializeDocumentKmsAccessDeniedException(v **types.KmsAcces } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8198,7 +8369,13 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "kmsKeyState": if value != nil { @@ -8223,6 +8400,9 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8247,7 +8427,13 @@ func awsAwsjson10_deserializeDocumentKmsThrottlingException(v **types.KmsThrottl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8263,6 +8449,9 @@ func awsAwsjson10_deserializeDocumentKmsThrottlingException(v **types.KmsThrottl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9409,7 +9598,13 @@ func awsAwsjson10_deserializeDocumentMissingRequiredParameter(v **types.MissingR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9425,6 +9620,9 @@ func awsAwsjson10_deserializeDocumentMissingRequiredParameter(v **types.MissingR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9449,7 +9647,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9474,6 +9678,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9585,7 +9792,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9601,6 +9814,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9823,7 +10039,13 @@ func awsAwsjson10_deserializeDocumentStateMachineAlreadyExists(v **types.StateMa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9839,6 +10061,9 @@ func awsAwsjson10_deserializeDocumentStateMachineAlreadyExists(v **types.StateMa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9863,7 +10088,13 @@ func awsAwsjson10_deserializeDocumentStateMachineDeleting(v **types.StateMachine sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9879,6 +10110,9 @@ func awsAwsjson10_deserializeDocumentStateMachineDeleting(v **types.StateMachine } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9903,7 +10137,13 @@ func awsAwsjson10_deserializeDocumentStateMachineDoesNotExist(v **types.StateMac sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9919,6 +10159,9 @@ func awsAwsjson10_deserializeDocumentStateMachineDoesNotExist(v **types.StateMac } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9943,7 +10186,13 @@ func awsAwsjson10_deserializeDocumentStateMachineLimitExceeded(v **types.StateMa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9959,6 +10208,9 @@ func awsAwsjson10_deserializeDocumentStateMachineLimitExceeded(v **types.StateMa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10091,7 +10343,13 @@ func awsAwsjson10_deserializeDocumentStateMachineTypeNotSupported(v **types.Stat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10107,6 +10365,9 @@ func awsAwsjson10_deserializeDocumentStateMachineTypeNotSupported(v **types.Stat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10344,7 +10605,13 @@ func awsAwsjson10_deserializeDocumentTaskDoesNotExist(v **types.TaskDoesNotExist sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10360,6 +10627,9 @@ func awsAwsjson10_deserializeDocumentTaskDoesNotExist(v **types.TaskDoesNotExist } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10858,7 +11128,13 @@ func awsAwsjson10_deserializeDocumentTaskTimedOut(v **types.TaskTimedOut, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10874,6 +11150,9 @@ func awsAwsjson10_deserializeDocumentTaskTimedOut(v **types.TaskTimedOut, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10965,7 +11244,13 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10990,6 +11275,9 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11155,7 +11443,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11180,6 +11474,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/shield/deserializers.go b/service/shield/deserializers.go index 0a0f364362e..f1f09f29aec 100644 --- a/service/shield/deserializers.go +++ b/service/shield/deserializers.go @@ -4819,7 +4819,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4835,6 +4841,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4859,7 +4868,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4875,6 +4890,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5786,7 +5804,13 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5802,6 +5826,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5826,7 +5853,13 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5842,6 +5875,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5866,7 +5902,13 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5882,6 +5924,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5906,7 +5951,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -5936,6 +5987,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5960,7 +6014,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5976,6 +6036,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6087,7 +6150,13 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Limit": if value != nil { @@ -6125,6 +6194,9 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6149,7 +6221,13 @@ func awsAwsjson11_deserializeDocumentLockedSubscriptionException(v **types.Locke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6165,6 +6243,9 @@ func awsAwsjson11_deserializeDocumentLockedSubscriptionException(v **types.Locke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6299,7 +6380,13 @@ func awsAwsjson11_deserializeDocumentNoAssociatedRoleException(v **types.NoAssoc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6315,6 +6402,9 @@ func awsAwsjson11_deserializeDocumentNoAssociatedRoleException(v **types.NoAssoc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6339,7 +6429,13 @@ func awsAwsjson11_deserializeDocumentOptimisticLockException(v **types.Optimisti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6355,6 +6451,9 @@ func awsAwsjson11_deserializeDocumentOptimisticLockException(v **types.Optimisti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6806,7 +6905,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6831,6 +6936,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6891,7 +6999,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6916,6 +7030,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/signer/deserializers.go b/service/signer/deserializers.go index 55d69d1d3b6..8508f619081 100644 --- a/service/signer/deserializers.go +++ b/service/signer/deserializers.go @@ -3665,7 +3665,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3690,6 +3696,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3714,7 +3723,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3739,6 +3754,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3763,7 +3781,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -3788,6 +3812,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4010,7 +4037,13 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4035,6 +4068,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4095,7 +4131,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4120,6 +4162,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4245,7 +4290,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4270,6 +4321,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4437,7 +4491,13 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -4462,6 +4522,9 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5523,7 +5586,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5548,6 +5617,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5572,7 +5644,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5597,6 +5675,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5621,7 +5702,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "code": if value != nil { @@ -5646,6 +5733,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/simspaceweaver/deserializers.go b/service/simspaceweaver/deserializers.go index 501d4be4c68..39f387b8079 100644 --- a/service/simspaceweaver/deserializers.go +++ b/service/simspaceweaver/deserializers.go @@ -2559,7 +2559,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2575,6 +2581,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2673,7 +2682,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2689,6 +2704,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2796,7 +2814,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2812,6 +2836,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3055,7 +3082,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3071,6 +3104,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3144,7 +3180,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3160,6 +3202,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3632,7 +3677,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3648,6 +3699,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3672,7 +3726,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3688,6 +3748,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sms/deserializers.go b/service/sms/deserializers.go index 594520fa9f3..791603cd7fb 100644 --- a/service/sms/deserializers.go +++ b/service/sms/deserializers.go @@ -5353,7 +5353,13 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5369,6 +5375,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5393,7 +5402,13 @@ func awsAwsjson11_deserializeDocumentInternalError(v **types.InternalError, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5409,6 +5424,9 @@ func awsAwsjson11_deserializeDocumentInternalError(v **types.InternalError, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5433,7 +5451,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5449,6 +5473,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5538,7 +5565,13 @@ func awsAwsjson11_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5554,6 +5587,9 @@ func awsAwsjson11_deserializeDocumentMissingRequiredParameterException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5578,7 +5614,13 @@ func awsAwsjson11_deserializeDocumentNoConnectorsAvailableException(v **types.No sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5594,6 +5636,9 @@ func awsAwsjson11_deserializeDocumentNoConnectorsAvailableException(v **types.No } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5618,7 +5663,13 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5634,6 +5685,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5865,7 +5919,13 @@ func awsAwsjson11_deserializeDocumentReplicationJobAlreadyExistsException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5881,6 +5941,9 @@ func awsAwsjson11_deserializeDocumentReplicationJobAlreadyExistsException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5939,7 +6002,13 @@ func awsAwsjson11_deserializeDocumentReplicationJobNotFoundException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5955,6 +6024,9 @@ func awsAwsjson11_deserializeDocumentReplicationJobNotFoundException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6119,7 +6191,13 @@ func awsAwsjson11_deserializeDocumentReplicationRunLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6135,6 +6213,9 @@ func awsAwsjson11_deserializeDocumentReplicationRunLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6363,7 +6444,13 @@ func awsAwsjson11_deserializeDocumentServerCannotBeReplicatedException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6379,6 +6466,9 @@ func awsAwsjson11_deserializeDocumentServerCannotBeReplicatedException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7498,13 +7588,22 @@ func awsAwsjson11_deserializeDocumentTemporarilyUnavailableException(v **types.T sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7529,7 +7628,13 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperationException(v **types.Un sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7545,6 +7650,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperationException(v **types.Un } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/snowball/deserializers.go b/service/snowball/deserializers.go index 856d965dddf..80d06cc3a8d 100644 --- a/service/snowball/deserializers.go +++ b/service/snowball/deserializers.go @@ -3737,7 +3737,13 @@ func awsAwsjson11_deserializeDocumentClusterLimitExceededException(v **types.Clu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3753,6 +3759,9 @@ func awsAwsjson11_deserializeDocumentClusterLimitExceededException(v **types.Clu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4125,7 +4134,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ConflictResource": if value != nil { @@ -4150,6 +4165,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4455,7 +4473,13 @@ func awsAwsjson11_deserializeDocumentEc2RequestFailedException(v **types.Ec2Requ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4471,6 +4495,9 @@ func awsAwsjson11_deserializeDocumentEc2RequestFailedException(v **types.Ec2Requ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4658,7 +4685,13 @@ func awsAwsjson11_deserializeDocumentInvalidAddressException(v **types.InvalidAd sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4674,6 +4707,9 @@ func awsAwsjson11_deserializeDocumentInvalidAddressException(v **types.InvalidAd } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4698,7 +4734,13 @@ func awsAwsjson11_deserializeDocumentInvalidInputCombinationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4714,6 +4756,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputCombinationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4738,7 +4783,13 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4754,6 +4805,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4778,7 +4832,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4794,6 +4854,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4818,7 +4881,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4843,6 +4912,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5452,7 +5524,13 @@ func awsAwsjson11_deserializeDocumentKMSRequestFailedException(v **types.KMSRequ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5468,6 +5546,9 @@ func awsAwsjson11_deserializeDocumentKMSRequestFailedException(v **types.KMSRequ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6040,7 +6121,13 @@ func awsAwsjson11_deserializeDocumentReturnShippingLabelAlreadyExistsException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6056,6 +6143,9 @@ func awsAwsjson11_deserializeDocumentReturnShippingLabelAlreadyExistsException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6645,7 +6735,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedAddressException(v **types.Unsup sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6661,6 +6757,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedAddressException(v **types.Unsup } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/snowdevicemanagement/deserializers.go b/service/snowdevicemanagement/deserializers.go index b97b480c34b..361c0185d6b 100644 --- a/service/snowdevicemanagement/deserializers.go +++ b/service/snowdevicemanagement/deserializers.go @@ -2558,7 +2558,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2574,6 +2580,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3417,7 +3426,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3433,6 +3448,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3585,7 +3603,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3601,6 +3625,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3800,7 +3827,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3816,6 +3849,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4067,7 +4103,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4083,6 +4125,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4107,7 +4152,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4123,6 +4174,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/socialmessaging/deserializers.go b/service/socialmessaging/deserializers.go index 49ebeb58143..800cac6bb69 100644 --- a/service/socialmessaging/deserializers.go +++ b/service/socialmessaging/deserializers.go @@ -2481,7 +2481,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedByMetaException(v **types.Acces sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2497,6 +2503,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedByMetaException(v **types.Acces } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2521,7 +2530,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2537,6 +2552,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2561,7 +2579,13 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2577,6 +2601,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2601,7 +2628,13 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2617,6 +2650,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2641,7 +2677,13 @@ func awsRestjson1_deserializeDocumentInvalidParametersException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2657,6 +2699,9 @@ func awsRestjson1_deserializeDocumentInvalidParametersException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3003,7 +3048,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3019,6 +3070,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3126,7 +3180,13 @@ func awsRestjson1_deserializeDocumentThrottledRequestException(v **types.Throttl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3142,6 +3202,9 @@ func awsRestjson1_deserializeDocumentThrottledRequestException(v **types.Throttl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3166,7 +3229,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3182,6 +3251,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sqs/deserializers.go b/service/sqs/deserializers.go index cf56cbe3617..721b2186f62 100644 --- a/service/sqs/deserializers.go +++ b/service/sqs/deserializers.go @@ -4010,7 +4010,13 @@ func awsAwsjson10_deserializeDocumentBatchEntryIdsNotDistinct(v **types.BatchEnt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4026,6 +4032,9 @@ func awsAwsjson10_deserializeDocumentBatchEntryIdsNotDistinct(v **types.BatchEnt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4050,7 +4059,13 @@ func awsAwsjson10_deserializeDocumentBatchRequestTooLong(v **types.BatchRequestT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4066,6 +4081,9 @@ func awsAwsjson10_deserializeDocumentBatchRequestTooLong(v **types.BatchRequestT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4379,7 +4397,13 @@ func awsAwsjson10_deserializeDocumentEmptyBatchRequest(v **types.EmptyBatchReque sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4395,6 +4419,9 @@ func awsAwsjson10_deserializeDocumentEmptyBatchRequest(v **types.EmptyBatchReque } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4419,7 +4446,13 @@ func awsAwsjson10_deserializeDocumentInvalidAddress(v **types.InvalidAddress, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4435,6 +4468,9 @@ func awsAwsjson10_deserializeDocumentInvalidAddress(v **types.InvalidAddress, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4459,7 +4495,13 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeName(v **types.InvalidAttri sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4475,6 +4517,9 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeName(v **types.InvalidAttri } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4499,7 +4544,13 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeValue(v **types.InvalidAttr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4515,6 +4566,9 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeValue(v **types.InvalidAttr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4539,7 +4593,13 @@ func awsAwsjson10_deserializeDocumentInvalidBatchEntryId(v **types.InvalidBatchE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4555,6 +4615,9 @@ func awsAwsjson10_deserializeDocumentInvalidBatchEntryId(v **types.InvalidBatchE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4579,13 +4642,22 @@ func awsAwsjson10_deserializeDocumentInvalidIdFormat(v **types.InvalidIdFormat, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4610,7 +4682,13 @@ func awsAwsjson10_deserializeDocumentInvalidMessageContents(v **types.InvalidMes sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4626,6 +4704,9 @@ func awsAwsjson10_deserializeDocumentInvalidMessageContents(v **types.InvalidMes } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4650,7 +4731,13 @@ func awsAwsjson10_deserializeDocumentInvalidSecurity(v **types.InvalidSecurity, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4666,6 +4753,9 @@ func awsAwsjson10_deserializeDocumentInvalidSecurity(v **types.InvalidSecurity, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4690,7 +4780,13 @@ func awsAwsjson10_deserializeDocumentKmsAccessDenied(v **types.KmsAccessDenied, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4706,6 +4802,9 @@ func awsAwsjson10_deserializeDocumentKmsAccessDenied(v **types.KmsAccessDenied, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4730,7 +4829,13 @@ func awsAwsjson10_deserializeDocumentKmsDisabled(v **types.KmsDisabled, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4746,6 +4851,9 @@ func awsAwsjson10_deserializeDocumentKmsDisabled(v **types.KmsDisabled, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4770,7 +4878,13 @@ func awsAwsjson10_deserializeDocumentKmsInvalidKeyUsage(v **types.KmsInvalidKeyU sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4786,6 +4900,9 @@ func awsAwsjson10_deserializeDocumentKmsInvalidKeyUsage(v **types.KmsInvalidKeyU } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4810,7 +4927,13 @@ func awsAwsjson10_deserializeDocumentKmsInvalidState(v **types.KmsInvalidState, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4826,6 +4949,9 @@ func awsAwsjson10_deserializeDocumentKmsInvalidState(v **types.KmsInvalidState, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4850,7 +4976,13 @@ func awsAwsjson10_deserializeDocumentKmsNotFound(v **types.KmsNotFound, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4866,6 +4998,9 @@ func awsAwsjson10_deserializeDocumentKmsNotFound(v **types.KmsNotFound, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4890,7 +5025,13 @@ func awsAwsjson10_deserializeDocumentKmsOptInRequired(v **types.KmsOptInRequired sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4906,6 +5047,9 @@ func awsAwsjson10_deserializeDocumentKmsOptInRequired(v **types.KmsOptInRequired } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4930,7 +5074,13 @@ func awsAwsjson10_deserializeDocumentKmsThrottled(v **types.KmsThrottled, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4946,6 +5096,9 @@ func awsAwsjson10_deserializeDocumentKmsThrottled(v **types.KmsThrottled, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5359,13 +5512,22 @@ func awsAwsjson10_deserializeDocumentMessageNotInflight(v **types.MessageNotInfl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5426,7 +5588,13 @@ func awsAwsjson10_deserializeDocumentOverLimit(v **types.OverLimit, value interf sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5442,6 +5610,9 @@ func awsAwsjson10_deserializeDocumentOverLimit(v **types.OverLimit, value interf } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5466,7 +5637,13 @@ func awsAwsjson10_deserializeDocumentPurgeQueueInProgress(v **types.PurgeQueueIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5482,6 +5659,9 @@ func awsAwsjson10_deserializeDocumentPurgeQueueInProgress(v **types.PurgeQueueIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5542,7 +5722,13 @@ func awsAwsjson10_deserializeDocumentQueueDeletedRecently(v **types.QueueDeleted sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5558,6 +5744,9 @@ func awsAwsjson10_deserializeDocumentQueueDeletedRecently(v **types.QueueDeleted } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5582,7 +5771,13 @@ func awsAwsjson10_deserializeDocumentQueueDoesNotExist(v **types.QueueDoesNotExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5598,6 +5793,9 @@ func awsAwsjson10_deserializeDocumentQueueDoesNotExist(v **types.QueueDoesNotExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5622,7 +5820,13 @@ func awsAwsjson10_deserializeDocumentQueueNameExists(v **types.QueueNameExists, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5638,6 +5842,9 @@ func awsAwsjson10_deserializeDocumentQueueNameExists(v **types.QueueNameExists, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5698,7 +5905,13 @@ func awsAwsjson10_deserializeDocumentReceiptHandleIsInvalid(v **types.ReceiptHan sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5714,6 +5927,9 @@ func awsAwsjson10_deserializeDocumentReceiptHandleIsInvalid(v **types.ReceiptHan } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5738,7 +5954,13 @@ func awsAwsjson10_deserializeDocumentRequestThrottled(v **types.RequestThrottled sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5754,6 +5976,9 @@ func awsAwsjson10_deserializeDocumentRequestThrottled(v **types.RequestThrottled } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5778,7 +6003,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5794,6 +6025,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6009,7 +6243,13 @@ func awsAwsjson10_deserializeDocumentTooManyEntriesInBatchRequest(v **types.TooM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6025,6 +6265,9 @@ func awsAwsjson10_deserializeDocumentTooManyEntriesInBatchRequest(v **types.TooM } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6049,7 +6292,13 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6065,6 +6314,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssm/deserializers.go b/service/ssm/deserializers.go index 0acb68a5b04..a0619ab7918 100644 --- a/service/ssm/deserializers.go +++ b/service/ssm/deserializers.go @@ -21951,7 +21951,13 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -21967,6 +21973,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -21991,13 +22000,22 @@ func awsAwsjson11_deserializeDocumentAssociatedInstances(v **types.AssociatedIns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22173,13 +22191,22 @@ func awsAwsjson11_deserializeDocumentAssociationAlreadyExists(v **types.Associat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22526,7 +22553,13 @@ func awsAwsjson11_deserializeDocumentAssociationDoesNotExist(v **types.Associati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -22542,6 +22575,9 @@ func awsAwsjson11_deserializeDocumentAssociationDoesNotExist(v **types.Associati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22693,7 +22729,13 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionDoesNotExist(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -22709,6 +22751,9 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionDoesNotExist(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -22916,13 +22961,22 @@ func awsAwsjson11_deserializeDocumentAssociationLimitExceeded(v **types.Associat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23351,7 +23405,13 @@ func awsAwsjson11_deserializeDocumentAssociationVersionLimitExceeded(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23367,6 +23427,9 @@ func awsAwsjson11_deserializeDocumentAssociationVersionLimitExceeded(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23613,7 +23676,13 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotApprovedException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23629,6 +23698,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotApprovedException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23653,7 +23725,13 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotFoundException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23669,6 +23747,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotFoundException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -23693,7 +23774,13 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionVersionNotFoundExceptio sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -23709,6 +23796,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionVersionNotFoundExceptio } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24052,7 +24142,13 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionLimitExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -24068,6 +24164,9 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionLimitExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24429,7 +24528,13 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionNotFoundException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -24445,6 +24550,9 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionNotFoundException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -24539,7 +24647,13 @@ func awsAwsjson11_deserializeDocumentAutomationStepNotFoundException(v **types.A sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -24555,6 +24669,9 @@ func awsAwsjson11_deserializeDocumentAutomationStepNotFoundException(v **types.A } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -25759,7 +25876,13 @@ func awsAwsjson11_deserializeDocumentComplianceTypeCountLimitExceededException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -25775,6 +25898,9 @@ func awsAwsjson11_deserializeDocumentComplianceTypeCountLimitExceededException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26039,7 +26165,13 @@ func awsAwsjson11_deserializeDocumentCustomSchemaCountLimitExceededException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -26055,6 +26187,9 @@ func awsAwsjson11_deserializeDocumentCustomSchemaCountLimitExceededException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26079,7 +26214,13 @@ func awsAwsjson11_deserializeDocumentDocumentAlreadyExists(v **types.DocumentAlr sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -26095,6 +26236,9 @@ func awsAwsjson11_deserializeDocumentDocumentAlreadyExists(v **types.DocumentAlr } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26648,7 +26792,13 @@ func awsAwsjson11_deserializeDocumentDocumentLimitExceeded(v **types.DocumentLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -26664,6 +26814,9 @@ func awsAwsjson11_deserializeDocumentDocumentLimitExceeded(v **types.DocumentLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -26825,7 +26978,13 @@ func awsAwsjson11_deserializeDocumentDocumentPermissionLimit(v **types.DocumentP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -26841,6 +27000,9 @@ func awsAwsjson11_deserializeDocumentDocumentPermissionLimit(v **types.DocumentP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27297,7 +27459,13 @@ func awsAwsjson11_deserializeDocumentDocumentVersionLimitExceeded(v **types.Docu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27313,6 +27481,9 @@ func awsAwsjson11_deserializeDocumentDocumentVersionLimitExceeded(v **types.Docu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27371,7 +27542,13 @@ func awsAwsjson11_deserializeDocumentDoesNotExistException(v **types.DoesNotExis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27387,6 +27564,9 @@ func awsAwsjson11_deserializeDocumentDoesNotExistException(v **types.DoesNotExis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27411,7 +27591,13 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentContent(v **types.Duplicat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27427,6 +27613,9 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentContent(v **types.Duplicat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27451,7 +27640,13 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentVersionName(v **types.Dupl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27467,6 +27662,9 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentVersionName(v **types.Dupl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27491,13 +27689,22 @@ func awsAwsjson11_deserializeDocumentDuplicateInstanceId(v **types.DuplicateInst sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27775,7 +27982,13 @@ func awsAwsjson11_deserializeDocumentFeatureNotAvailableException(v **types.Feat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -27791,6 +28004,9 @@ func awsAwsjson11_deserializeDocumentFeatureNotAvailableException(v **types.Feat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27907,7 +28123,13 @@ func awsAwsjson11_deserializeDocumentHierarchyLevelLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27923,6 +28145,9 @@ func awsAwsjson11_deserializeDocumentHierarchyLevelLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27947,7 +28172,13 @@ func awsAwsjson11_deserializeDocumentHierarchyTypeMismatchException(v **types.Hi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -27963,6 +28194,9 @@ func awsAwsjson11_deserializeDocumentHierarchyTypeMismatchException(v **types.Hi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -27987,7 +28221,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -28003,6 +28243,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -28027,7 +28270,13 @@ func awsAwsjson11_deserializeDocumentIncompatiblePolicyException(v **types.Incom sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -28043,6 +28292,9 @@ func awsAwsjson11_deserializeDocumentIncompatiblePolicyException(v **types.Incom } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29507,7 +29759,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29523,6 +29781,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29547,7 +29808,13 @@ func awsAwsjson11_deserializeDocumentInvalidActivation(v **types.InvalidActivati sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29563,6 +29830,9 @@ func awsAwsjson11_deserializeDocumentInvalidActivation(v **types.InvalidActivati } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29587,7 +29857,13 @@ func awsAwsjson11_deserializeDocumentInvalidActivationId(v **types.InvalidActiva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29603,6 +29879,9 @@ func awsAwsjson11_deserializeDocumentInvalidActivationId(v **types.InvalidActiva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29627,7 +29906,13 @@ func awsAwsjson11_deserializeDocumentInvalidAggregatorException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29643,6 +29928,9 @@ func awsAwsjson11_deserializeDocumentInvalidAggregatorException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29667,7 +29955,13 @@ func awsAwsjson11_deserializeDocumentInvalidAllowedPatternException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -29683,6 +29977,9 @@ func awsAwsjson11_deserializeDocumentInvalidAllowedPatternException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29707,7 +30004,13 @@ func awsAwsjson11_deserializeDocumentInvalidAssociation(v **types.InvalidAssocia sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29723,6 +30026,9 @@ func awsAwsjson11_deserializeDocumentInvalidAssociation(v **types.InvalidAssocia } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29747,7 +30053,13 @@ func awsAwsjson11_deserializeDocumentInvalidAssociationVersion(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29763,6 +30075,9 @@ func awsAwsjson11_deserializeDocumentInvalidAssociationVersion(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29787,7 +30102,13 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationExecutionParametersExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29803,6 +30124,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationExecutionParametersExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29827,7 +30151,13 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationSignalException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29843,6 +30173,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationSignalException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29867,7 +30200,13 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationStatusUpdateException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29883,6 +30222,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationStatusUpdateException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29907,13 +30249,22 @@ func awsAwsjson11_deserializeDocumentInvalidCommandId(v **types.InvalidCommandId sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29938,7 +30289,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeleteInventoryParametersException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29954,6 +30311,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeleteInventoryParametersException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -29978,7 +30338,13 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionIdException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -29994,6 +30360,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionIdException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30018,7 +30387,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocument(v **types.InvalidDocument, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30034,6 +30409,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocument(v **types.InvalidDocument, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30058,7 +30436,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentContent(v **types.InvalidDoc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30074,6 +30458,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentContent(v **types.InvalidDoc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30098,7 +30485,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentOperation(v **types.InvalidD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30114,6 +30507,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentOperation(v **types.InvalidD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30138,7 +30534,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentSchemaVersion(v **types.Inva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30154,6 +30556,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentSchemaVersion(v **types.Inva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30178,7 +30583,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentType(v **types.InvalidDocume sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30194,6 +30605,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentType(v **types.InvalidDocume } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30218,7 +30632,13 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentVersion(v **types.InvalidDoc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30234,6 +30654,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentVersion(v **types.InvalidDoc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30258,7 +30681,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilter(v **types.InvalidFilter, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30274,6 +30703,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilter(v **types.InvalidFilter, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30298,13 +30730,22 @@ func awsAwsjson11_deserializeDocumentInvalidFilterKey(v **types.InvalidFilterKey sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30329,7 +30770,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilterOption(v **types.InvalidFilter sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30345,6 +30792,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterOption(v **types.InvalidFilter } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30369,7 +30819,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilterValue(v **types.InvalidFilterV sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30385,6 +30841,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterValue(v **types.InvalidFilterV } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30409,7 +30868,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceId(v **types.InvalidInstance sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30425,6 +30890,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceId(v **types.InvalidInstance } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30449,7 +30917,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceInformationFilterValue(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30465,6 +30939,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceInformationFilterValue(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30489,7 +30966,13 @@ func awsAwsjson11_deserializeDocumentInvalidInstancePropertyFilterValue(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30505,6 +30988,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstancePropertyFilterValue(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30529,7 +31015,13 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryGroupException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30545,6 +31037,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryGroupException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30569,7 +31064,13 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryItemContextException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30585,6 +31086,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryItemContextException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30609,7 +31113,13 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryRequestException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30625,6 +31135,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryRequestException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30649,7 +31162,13 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30674,6 +31193,9 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30698,7 +31220,13 @@ func awsAwsjson11_deserializeDocumentInvalidKeyId(v **types.InvalidKeyId, value sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -30714,6 +31242,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyId(v **types.InvalidKeyId, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30738,7 +31269,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextToken(v **types.InvalidNextToken sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30754,6 +31291,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextToken(v **types.InvalidNextToken } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30778,7 +31318,13 @@ func awsAwsjson11_deserializeDocumentInvalidNotificationConfig(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30794,6 +31340,9 @@ func awsAwsjson11_deserializeDocumentInvalidNotificationConfig(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30818,7 +31367,13 @@ func awsAwsjson11_deserializeDocumentInvalidOptionException(v **types.InvalidOpt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30834,6 +31389,9 @@ func awsAwsjson11_deserializeDocumentInvalidOptionException(v **types.InvalidOpt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30858,13 +31416,22 @@ func awsAwsjson11_deserializeDocumentInvalidOutputFolder(v **types.InvalidOutput sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30889,13 +31456,22 @@ func awsAwsjson11_deserializeDocumentInvalidOutputLocation(v **types.InvalidOutp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30920,7 +31496,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameters(v **types.InvalidParamete sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30936,6 +31518,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameters(v **types.InvalidParamete } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -30960,7 +31545,13 @@ func awsAwsjson11_deserializeDocumentInvalidPermissionType(v **types.InvalidPerm sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -30976,6 +31567,9 @@ func awsAwsjson11_deserializeDocumentInvalidPermissionType(v **types.InvalidPerm } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31000,13 +31594,22 @@ func awsAwsjson11_deserializeDocumentInvalidPluginName(v **types.InvalidPluginNa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31031,7 +31634,13 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyAttributeException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -31047,6 +31656,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyAttributeException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31071,7 +31683,13 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyTypeException(v **types.Invali sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -31087,6 +31705,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyTypeException(v **types.Invali } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31111,13 +31732,22 @@ func awsAwsjson11_deserializeDocumentInvalidResourceId(v **types.InvalidResource sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31142,13 +31772,22 @@ func awsAwsjson11_deserializeDocumentInvalidResourceType(v **types.InvalidResour sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31173,7 +31812,13 @@ func awsAwsjson11_deserializeDocumentInvalidResultAttributeException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31189,6 +31834,9 @@ func awsAwsjson11_deserializeDocumentInvalidResultAttributeException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31213,7 +31861,13 @@ func awsAwsjson11_deserializeDocumentInvalidRole(v **types.InvalidRole, value in sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31229,6 +31883,9 @@ func awsAwsjson11_deserializeDocumentInvalidRole(v **types.InvalidRole, value in } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31253,7 +31910,13 @@ func awsAwsjson11_deserializeDocumentInvalidSchedule(v **types.InvalidSchedule, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31269,6 +31932,9 @@ func awsAwsjson11_deserializeDocumentInvalidSchedule(v **types.InvalidSchedule, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31293,7 +31959,13 @@ func awsAwsjson11_deserializeDocumentInvalidTag(v **types.InvalidTag, value inte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31309,6 +31981,9 @@ func awsAwsjson11_deserializeDocumentInvalidTag(v **types.InvalidTag, value inte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31333,7 +32008,13 @@ func awsAwsjson11_deserializeDocumentInvalidTarget(v **types.InvalidTarget, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31349,6 +32030,9 @@ func awsAwsjson11_deserializeDocumentInvalidTarget(v **types.InvalidTarget, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31373,7 +32057,13 @@ func awsAwsjson11_deserializeDocumentInvalidTargetMaps(v **types.InvalidTargetMa sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31389,6 +32079,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetMaps(v **types.InvalidTargetMa } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31413,7 +32106,13 @@ func awsAwsjson11_deserializeDocumentInvalidTypeNameException(v **types.InvalidT sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31429,6 +32128,9 @@ func awsAwsjson11_deserializeDocumentInvalidTypeNameException(v **types.InvalidT } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -31453,7 +32155,13 @@ func awsAwsjson11_deserializeDocumentInvalidUpdate(v **types.InvalidUpdate, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -31469,6 +32177,9 @@ func awsAwsjson11_deserializeDocumentInvalidUpdate(v **types.InvalidUpdate, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32227,13 +32938,22 @@ func awsAwsjson11_deserializeDocumentInvocationDoesNotExist(v **types.Invocation sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32258,7 +32978,13 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -32283,6 +33009,9 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -32307,7 +33036,13 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -32332,6 +33067,9 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -33979,7 +34717,13 @@ func awsAwsjson11_deserializeDocumentMalformedResourcePolicyDocumentException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -33995,6 +34739,9 @@ func awsAwsjson11_deserializeDocumentMalformedResourcePolicyDocumentException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34019,7 +34766,13 @@ func awsAwsjson11_deserializeDocumentMaxDocumentSizeExceeded(v **types.MaxDocume sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34035,6 +34788,9 @@ func awsAwsjson11_deserializeDocumentMaxDocumentSizeExceeded(v **types.MaxDocume } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34799,7 +35555,13 @@ func awsAwsjson11_deserializeDocumentOpsItemAccessDeniedException(v **types.OpsI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34815,6 +35577,9 @@ func awsAwsjson11_deserializeDocumentOpsItemAccessDeniedException(v **types.OpsI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34839,7 +35604,13 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34864,6 +35635,9 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -34888,7 +35662,13 @@ func awsAwsjson11_deserializeDocumentOpsItemConflictException(v **types.OpsItemC sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -34904,6 +35684,9 @@ func awsAwsjson11_deserializeDocumentOpsItemConflictException(v **types.OpsItemC } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35148,7 +35931,13 @@ func awsAwsjson11_deserializeDocumentOpsItemInvalidParameterException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -35169,6 +35958,9 @@ func awsAwsjson11_deserializeDocumentOpsItemInvalidParameterException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35193,7 +35985,13 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Limit": if value != nil { @@ -35236,6 +36034,9 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35260,7 +36061,13 @@ func awsAwsjson11_deserializeDocumentOpsItemNotFoundException(v **types.OpsItemN sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -35276,6 +36083,9 @@ func awsAwsjson11_deserializeDocumentOpsItemNotFoundException(v **types.OpsItemN } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35445,7 +36255,13 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -35479,6 +36295,9 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -35503,7 +36322,13 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAssociationNotFoundExcept sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -35519,6 +36344,9 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAssociationNotFoundExcept } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36045,7 +36873,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataAlreadyExistsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36061,6 +36895,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataAlreadyExistsException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36085,7 +36922,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataInvalidArgumentException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36101,6 +36944,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataInvalidArgumentException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36125,7 +36971,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataKeyLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36141,6 +36993,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataKeyLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36165,7 +37020,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataLimitExceededException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36181,6 +37042,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataLimitExceededException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36239,7 +37103,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataNotFoundException(v **types.OpsM sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36255,6 +37125,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataNotFoundException(v **types.OpsM } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36279,7 +37152,13 @@ func awsAwsjson11_deserializeDocumentOpsMetadataTooManyUpdatesException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36295,6 +37174,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataTooManyUpdatesException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36491,7 +37373,13 @@ func awsAwsjson11_deserializeDocumentParameterAlreadyExists(v **types.ParameterA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36507,6 +37395,9 @@ func awsAwsjson11_deserializeDocumentParameterAlreadyExists(v **types.ParameterA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36810,7 +37701,13 @@ func awsAwsjson11_deserializeDocumentParameterLimitExceeded(v **types.ParameterL sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36826,6 +37723,9 @@ func awsAwsjson11_deserializeDocumentParameterLimitExceeded(v **types.ParameterL } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -36884,7 +37784,13 @@ func awsAwsjson11_deserializeDocumentParameterMaxVersionLimitExceeded(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -36900,6 +37806,9 @@ func awsAwsjson11_deserializeDocumentParameterMaxVersionLimitExceeded(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -37140,7 +38049,13 @@ func awsAwsjson11_deserializeDocumentParameterNotFound(v **types.ParameterNotFou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -37156,6 +38071,9 @@ func awsAwsjson11_deserializeDocumentParameterNotFound(v **types.ParameterNotFou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -37180,7 +38098,13 @@ func awsAwsjson11_deserializeDocumentParameterPatternMismatchException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -37196,6 +38120,9 @@ func awsAwsjson11_deserializeDocumentParameterPatternMismatchException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -37324,7 +38251,13 @@ func awsAwsjson11_deserializeDocumentParameterVersionLabelLimitExceeded(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -37340,6 +38273,9 @@ func awsAwsjson11_deserializeDocumentParameterVersionLabelLimitExceeded(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -37364,7 +38300,13 @@ func awsAwsjson11_deserializeDocumentParameterVersionNotFound(v **types.Paramete sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -37380,6 +38322,9 @@ func awsAwsjson11_deserializeDocumentParameterVersionNotFound(v **types.Paramete } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -38849,7 +39794,13 @@ func awsAwsjson11_deserializeDocumentPoliciesLimitExceededException(v **types.Po sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -38865,6 +39816,9 @@ func awsAwsjson11_deserializeDocumentPoliciesLimitExceededException(v **types.Po } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39265,7 +40219,13 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAlreadyExistsException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "SyncName": if value != nil { @@ -39281,6 +40241,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAlreadyExistsException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39350,7 +40313,13 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncConflictException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -39366,6 +40335,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncConflictException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39390,7 +40362,13 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncCountExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -39406,6 +40384,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncCountExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39470,7 +40451,13 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncInvalidConfigurationExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -39486,6 +40473,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncInvalidConfigurationExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -39685,7 +40675,13 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -39719,6 +40715,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40011,7 +41010,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40027,6 +41032,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40051,7 +41059,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40067,6 +41081,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40091,7 +41108,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40107,6 +41130,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40131,7 +41157,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyConflictException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40147,6 +41179,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyConflictException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40171,7 +41206,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyInvalidParameterException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40192,6 +41233,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyInvalidParameterException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40216,7 +41260,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Limit": if value != nil { @@ -40254,6 +41304,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40278,7 +41331,13 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40294,6 +41353,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -40865,7 +41927,13 @@ func awsAwsjson11_deserializeDocumentServiceSettingNotFound(v **types.ServiceSet sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -40881,6 +41949,9 @@ func awsAwsjson11_deserializeDocumentServiceSettingNotFound(v **types.ServiceSet } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41237,13 +42308,22 @@ func awsAwsjson11_deserializeDocumentStatusUnchanged(v **types.StatusUnchanged, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41535,7 +42615,13 @@ func awsAwsjson11_deserializeDocumentSubTypeCountLimitExceededException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -41551,6 +42637,9 @@ func awsAwsjson11_deserializeDocumentSubTypeCountLimitExceededException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41703,7 +42792,13 @@ func awsAwsjson11_deserializeDocumentTargetInUseException(v **types.TargetInUseE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -41719,6 +42814,9 @@ func awsAwsjson11_deserializeDocumentTargetInUseException(v **types.TargetInUseE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -41989,7 +43087,13 @@ func awsAwsjson11_deserializeDocumentTargetNotConnected(v **types.TargetNotConne sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42005,6 +43109,9 @@ func awsAwsjson11_deserializeDocumentTargetNotConnected(v **types.TargetNotConne } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42135,13 +43242,22 @@ func awsAwsjson11_deserializeDocumentTooManyTagsError(v **types.TooManyTagsError sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42166,7 +43282,13 @@ func awsAwsjson11_deserializeDocumentTooManyUpdates(v **types.TooManyUpdates, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42182,6 +43304,9 @@ func awsAwsjson11_deserializeDocumentTooManyUpdates(v **types.TooManyUpdates, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42206,7 +43331,13 @@ func awsAwsjson11_deserializeDocumentTotalSizeLimitExceededException(v **types.T sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42222,6 +43353,9 @@ func awsAwsjson11_deserializeDocumentTotalSizeLimitExceededException(v **types.T } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42246,7 +43380,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedCalendarException(v **types.Unsu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42262,6 +43402,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedCalendarException(v **types.Unsu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42286,7 +43429,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureRequiredException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42302,6 +43451,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureRequiredException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42326,7 +43478,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42351,6 +43509,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42375,7 +43536,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventorySchemaVersionException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42391,6 +43558,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventorySchemaVersionException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42415,7 +43585,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperatingSystem(v **types.Unsupp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42431,6 +43607,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperatingSystem(v **types.Unsupp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42455,7 +43634,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedParameterType(v **types.Unsuppor sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -42471,6 +43656,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedParameterType(v **types.Unsuppor } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -42495,7 +43683,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedPlatformType(v **types.Unsupport sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -42511,6 +43705,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedPlatformType(v **types.Unsupport } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssmcontacts/deserializers.go b/service/ssmcontacts/deserializers.go index 1a2d16afc30..880c9a333f7 100644 --- a/service/ssmcontacts/deserializers.go +++ b/service/ssmcontacts/deserializers.go @@ -5186,7 +5186,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5202,6 +5208,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5279,7 +5288,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "DependentEntities": if err := awsAwsjson11_deserializeDocumentDependentEntityList(&sv.DependentEntities, value); err != nil { @@ -5318,6 +5333,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5756,7 +5774,13 @@ func awsAwsjson11_deserializeDocumentDataEncryptionException(v **types.DataEncry sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5772,6 +5796,9 @@ func awsAwsjson11_deserializeDocumentDataEncryptionException(v **types.DataEncry } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6065,7 +6092,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6094,6 +6127,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6681,7 +6717,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6715,6 +6757,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7136,7 +7181,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7188,6 +7239,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7559,7 +7613,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7606,6 +7666,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7630,7 +7693,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -7660,6 +7729,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssmincidents/deserializers.go b/service/ssmincidents/deserializers.go index ea83767c4d8..4458f31bcd8 100644 --- a/service/ssmincidents/deserializers.go +++ b/service/ssmincidents/deserializers.go @@ -4709,7 +4709,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4725,6 +4731,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5224,7 +5233,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5274,6 +5289,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6435,7 +6453,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6451,6 +6475,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7168,7 +7195,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7202,6 +7235,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7410,7 +7446,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7462,6 +7504,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7669,7 +7714,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7703,6 +7754,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7831,7 +7885,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7847,6 +7907,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssmquicksetup/deserializers.go b/service/ssmquicksetup/deserializers.go index 41f2bec4720..99224de9760 100644 --- a/service/ssmquicksetup/deserializers.go +++ b/service/ssmquicksetup/deserializers.go @@ -1977,7 +1977,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1993,6 +1999,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2367,7 +2376,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2383,6 +2398,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2407,7 +2425,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2423,6 +2447,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2530,7 +2557,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2546,6 +2579,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2875,7 +2911,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2891,6 +2933,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2915,7 +2960,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2931,6 +2982,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssmsap/deserializers.go b/service/ssmsap/deserializers.go index 876da294d10..9b3597c12cb 100644 --- a/service/ssmsap/deserializers.go +++ b/service/ssmsap/deserializers.go @@ -4255,7 +4255,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4271,6 +4277,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4765,7 +4774,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4781,6 +4796,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5388,7 +5406,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5404,6 +5428,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5464,7 +5491,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5480,6 +5513,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5504,7 +5540,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5520,6 +5562,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/sso/deserializers.go b/service/sso/deserializers.go index 5f0cce2bf1e..2e3c800eb07 100644 --- a/service/sso/deserializers.go +++ b/service/sso/deserializers.go @@ -887,7 +887,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -903,6 +909,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -927,7 +936,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -943,6 +958,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1121,7 +1139,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1137,6 +1161,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1161,7 +1188,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1177,6 +1210,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssoadmin/deserializers.go b/service/ssoadmin/deserializers.go index 2e8a49bb31b..d78cbbab982 100644 --- a/service/ssoadmin/deserializers.go +++ b/service/ssoadmin/deserializers.go @@ -9409,7 +9409,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9425,6 +9431,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10656,7 +10665,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10672,6 +10687,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11184,7 +11202,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11200,6 +11224,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11803,7 +11830,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11819,6 +11852,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12078,7 +12114,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12094,6 +12136,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12250,7 +12295,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12266,6 +12317,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12489,7 +12543,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12505,6 +12565,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/ssooidc/deserializers.go b/service/ssooidc/deserializers.go index ae9f145e627..ef827dfcb2b 100644 --- a/service/ssooidc/deserializers.go +++ b/service/ssooidc/deserializers.go @@ -1467,7 +1467,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1492,6 +1498,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1516,7 +1525,13 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1541,6 +1556,9 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1565,7 +1583,13 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1590,6 +1614,9 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1614,7 +1641,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1639,6 +1672,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1663,7 +1699,13 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1688,6 +1730,9 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1712,7 +1757,13 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1737,6 +1788,9 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1761,7 +1815,13 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1786,6 +1846,9 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1810,7 +1873,13 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1835,6 +1904,9 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1859,7 +1931,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -1884,6 +1962,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1908,7 +1989,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "endpoint": if value != nil { @@ -1951,6 +2038,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1975,7 +2065,13 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -2000,6 +2096,9 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2060,7 +2159,13 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -2085,6 +2190,9 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2109,7 +2217,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -2134,6 +2248,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2158,7 +2275,13 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if value != nil { @@ -2183,6 +2306,9 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/storagegateway/deserializers.go b/service/storagegateway/deserializers.go index 4f7ada04635..626fedf4593 100644 --- a/service/storagegateway/deserializers.go +++ b/service/storagegateway/deserializers.go @@ -12206,7 +12206,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { @@ -12227,6 +12233,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12251,7 +12260,13 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { @@ -12272,6 +12287,9 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12862,7 +12880,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { @@ -12883,6 +12907,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/supplychain/deserializers.go b/service/supplychain/deserializers.go index c54d0200ffa..cacf7b19909 100644 --- a/service/supplychain/deserializers.go +++ b/service/supplychain/deserializers.go @@ -3827,7 +3827,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3843,6 +3849,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3943,7 +3952,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3959,6 +3974,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5115,7 +5133,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5131,6 +5155,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5155,7 +5182,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5171,6 +5204,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5195,7 +5231,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5211,6 +5253,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5271,7 +5316,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5287,6 +5338,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5311,7 +5365,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -5327,6 +5387,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/support/deserializers.go b/service/support/deserializers.go index f08e3566b73..df643319e27 100644 --- a/service/support/deserializers.go +++ b/service/support/deserializers.go @@ -2342,7 +2342,13 @@ func awsAwsjson11_deserializeDocumentAttachmentIdNotFound(v **types.AttachmentId sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2358,6 +2364,9 @@ func awsAwsjson11_deserializeDocumentAttachmentIdNotFound(v **types.AttachmentId } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2382,7 +2391,13 @@ func awsAwsjson11_deserializeDocumentAttachmentLimitExceeded(v **types.Attachmen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2398,6 +2413,9 @@ func awsAwsjson11_deserializeDocumentAttachmentLimitExceeded(v **types.Attachmen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2456,7 +2474,13 @@ func awsAwsjson11_deserializeDocumentAttachmentSetExpired(v **types.AttachmentSe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2472,6 +2496,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetExpired(v **types.AttachmentSe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2496,7 +2523,13 @@ func awsAwsjson11_deserializeDocumentAttachmentSetIdNotFound(v **types.Attachmen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2512,6 +2545,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetIdNotFound(v **types.Attachmen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2536,7 +2572,13 @@ func awsAwsjson11_deserializeDocumentAttachmentSetSizeLimitExceeded(v **types.At sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2552,6 +2594,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetSizeLimitExceeded(v **types.At } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2576,7 +2621,13 @@ func awsAwsjson11_deserializeDocumentCaseCreationLimitExceeded(v **types.CaseCre sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2592,6 +2643,9 @@ func awsAwsjson11_deserializeDocumentCaseCreationLimitExceeded(v **types.CaseCre } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2747,7 +2801,13 @@ func awsAwsjson11_deserializeDocumentCaseIdNotFound(v **types.CaseIdNotFound, va sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2763,6 +2823,9 @@ func awsAwsjson11_deserializeDocumentCaseIdNotFound(v **types.CaseIdNotFound, va } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3213,7 +3276,13 @@ func awsAwsjson11_deserializeDocumentDescribeAttachmentLimitExceeded(v **types.D sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3229,6 +3298,9 @@ func awsAwsjson11_deserializeDocumentDescribeAttachmentLimitExceeded(v **types.D } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3253,7 +3325,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3269,6 +3347,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3720,7 +3801,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3736,6 +3823,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/supportapp/deserializers.go b/service/supportapp/deserializers.go index c2c9e1f214e..0144f9e19a7 100644 --- a/service/supportapp/deserializers.go +++ b/service/supportapp/deserializers.go @@ -1654,7 +1654,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1670,6 +1676,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1694,7 +1703,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1710,6 +1725,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1734,7 +1752,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1750,6 +1774,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1774,7 +1801,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1790,6 +1823,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1814,7 +1850,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1830,6 +1872,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2083,7 +2128,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2099,6 +2150,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/swf/deserializers.go b/service/swf/deserializers.go index d7d8c4db123..103362c3799 100644 --- a/service/swf/deserializers.go +++ b/service/swf/deserializers.go @@ -6204,7 +6204,13 @@ func awsAwsjson10_deserializeDocumentDefaultUndefinedFault(v **types.DefaultUnde sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6220,6 +6226,9 @@ func awsAwsjson10_deserializeDocumentDefaultUndefinedFault(v **types.DefaultUnde } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6244,7 +6253,13 @@ func awsAwsjson10_deserializeDocumentDomainAlreadyExistsFault(v **types.DomainAl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6260,6 +6275,9 @@ func awsAwsjson10_deserializeDocumentDomainAlreadyExistsFault(v **types.DomainAl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6324,7 +6342,13 @@ func awsAwsjson10_deserializeDocumentDomainDeprecatedFault(v **types.DomainDepre sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6340,6 +6364,9 @@ func awsAwsjson10_deserializeDocumentDomainDeprecatedFault(v **types.DomainDepre } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7329,7 +7356,13 @@ func awsAwsjson10_deserializeDocumentLimitExceededFault(v **types.LimitExceededF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7345,6 +7378,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededFault(v **types.LimitExceededF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7431,7 +7467,13 @@ func awsAwsjson10_deserializeDocumentOperationNotPermittedFault(v **types.Operat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7447,6 +7489,9 @@ func awsAwsjson10_deserializeDocumentOperationNotPermittedFault(v **types.Operat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8772,7 +8817,13 @@ func awsAwsjson10_deserializeDocumentTooManyTagsFault(v **types.TooManyTagsFault sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8788,6 +8839,9 @@ func awsAwsjson10_deserializeDocumentTooManyTagsFault(v **types.TooManyTagsFault } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8812,7 +8866,13 @@ func awsAwsjson10_deserializeDocumentTypeAlreadyExistsFault(v **types.TypeAlread sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8828,6 +8888,9 @@ func awsAwsjson10_deserializeDocumentTypeAlreadyExistsFault(v **types.TypeAlread } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8852,7 +8915,13 @@ func awsAwsjson10_deserializeDocumentTypeDeprecatedFault(v **types.TypeDeprecate sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8868,6 +8937,9 @@ func awsAwsjson10_deserializeDocumentTypeDeprecatedFault(v **types.TypeDeprecate } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8892,7 +8964,13 @@ func awsAwsjson10_deserializeDocumentTypeNotDeprecatedFault(v **types.TypeNotDep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8908,6 +8986,9 @@ func awsAwsjson10_deserializeDocumentTypeNotDeprecatedFault(v **types.TypeNotDep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8932,7 +9013,13 @@ func awsAwsjson10_deserializeDocumentUnknownResourceFault(v **types.UnknownResou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8948,6 +9035,9 @@ func awsAwsjson10_deserializeDocumentUnknownResourceFault(v **types.UnknownResou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9021,7 +9111,13 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionAlreadyStartedFault(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9037,6 +9133,9 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionAlreadyStartedFault(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/synthetics/deserializers.go b/service/synthetics/deserializers.go index e57cad8a917..b1687b94ccd 100644 --- a/service/synthetics/deserializers.go +++ b/service/synthetics/deserializers.go @@ -3289,7 +3289,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3305,6 +3311,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4257,7 +4266,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4273,6 +4288,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4484,7 +4502,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4500,6 +4524,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4524,7 +4551,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4540,6 +4573,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4564,7 +4600,13 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4580,6 +4622,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4604,7 +4649,13 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4620,6 +4671,9 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4644,7 +4698,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4660,6 +4720,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4884,7 +4947,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4900,6 +4969,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5032,7 +5104,13 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5048,6 +5126,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5072,7 +5153,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5088,6 +5175,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/taxsettings/deserializers.go b/service/taxsettings/deserializers.go index e0a5cbabbbf..a99add8c09c 100644 --- a/service/taxsettings/deserializers.go +++ b/service/taxsettings/deserializers.go @@ -2402,7 +2402,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -2427,6 +2433,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2571,7 +2580,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -2596,6 +2611,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2964,7 +2982,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -2989,6 +3013,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3745,7 +3772,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "errorCode": if value != nil { @@ -3775,6 +3808,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/textract/deserializers.go b/service/textract/deserializers.go index 76837158f80..0f1bf2b2be3 100644 --- a/service/textract/deserializers.go +++ b/service/textract/deserializers.go @@ -4043,7 +4043,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4068,6 +4074,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4517,7 +4526,13 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4542,6 +4557,9 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4962,7 +4980,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -4987,6 +5011,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5222,7 +5249,13 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -5247,6 +5280,9 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6189,7 +6225,13 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6241,6 +6283,9 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6265,7 +6310,13 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6290,6 +6341,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6513,7 +6567,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6538,6 +6598,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6562,7 +6625,13 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6587,6 +6656,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6611,7 +6683,13 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6636,6 +6714,9 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6660,7 +6741,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6685,6 +6772,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6709,7 +6799,13 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -6734,6 +6830,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7134,7 +7233,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -7159,6 +7264,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7796,7 +7904,13 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -7821,6 +7935,9 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8014,7 +8131,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8039,6 +8162,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8121,7 +8247,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8146,6 +8278,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8429,7 +8564,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8454,6 +8595,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8592,7 +8736,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8617,6 +8767,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8641,7 +8794,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -8666,6 +8825,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/timestreaminfluxdb/deserializers.go b/service/timestreaminfluxdb/deserializers.go index e5856e5d939..0e92ba10a68 100644 --- a/service/timestreaminfluxdb/deserializers.go +++ b/service/timestreaminfluxdb/deserializers.go @@ -1586,7 +1586,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1602,6 +1608,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1626,7 +1635,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -1660,6 +1675,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2374,7 +2392,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2390,6 +2414,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2490,7 +2517,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2524,6 +2557,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2633,7 +2669,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2649,6 +2691,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2673,7 +2718,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2702,6 +2753,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2726,7 +2780,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2751,6 +2811,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/timestreamquery/deserializers.go b/service/timestreamquery/deserializers.go index c0d4c7aff25..894355c3e09 100644 --- a/service/timestreamquery/deserializers.go +++ b/service/timestreamquery/deserializers.go @@ -2154,7 +2154,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2170,6 +2176,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2273,7 +2282,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2289,6 +2304,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2762,7 +2780,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2778,6 +2802,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2802,7 +2829,13 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2818,6 +2851,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3236,7 +3272,13 @@ func awsAwsjson10_deserializeDocumentQueryExecutionException(v **types.QueryExec sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3252,6 +3294,9 @@ func awsAwsjson10_deserializeDocumentQueryExecutionException(v **types.QueryExec } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3690,7 +3735,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3715,6 +3766,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4594,7 +4648,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4610,6 +4670,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4829,7 +4892,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4845,6 +4914,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5134,7 +5206,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5150,6 +5228,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/timestreamwrite/deserializers.go b/service/timestreamwrite/deserializers.go index 5ad75c449f2..ee6eab7f648 100644 --- a/service/timestreamwrite/deserializers.go +++ b/service/timestreamwrite/deserializers.go @@ -2706,7 +2706,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2722,6 +2728,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3161,7 +3170,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3177,6 +3192,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3846,7 +3864,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3862,6 +3886,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3886,7 +3913,13 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3902,6 +3935,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4512,7 +4548,13 @@ func awsAwsjson10_deserializeDocumentRejectedRecordsException(v **types.Rejected sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4533,6 +4575,9 @@ func awsAwsjson10_deserializeDocumentRejectedRecordsException(v **types.Rejected } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4660,7 +4705,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4676,6 +4727,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4860,7 +4914,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4876,6 +4936,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5131,7 +5194,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5147,6 +5216,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5171,7 +5243,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5187,6 +5265,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/tnb/deserializers.go b/service/tnb/deserializers.go index 96fabff08ce..5e3fef605ea 100644 --- a/service/tnb/deserializers.go +++ b/service/tnb/deserializers.go @@ -6034,7 +6034,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6050,6 +6056,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6846,7 +6855,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6862,6 +6877,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8172,7 +8190,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8188,6 +8212,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8212,7 +8239,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8228,6 +8261,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8324,7 +8360,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8340,6 +8382,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8530,7 +8575,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8546,6 +8597,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/transcribe/deserializers.go b/service/transcribe/deserializers.go index 9ef52d8c36c..7c7022fd1f5 100644 --- a/service/transcribe/deserializers.go +++ b/service/transcribe/deserializers.go @@ -5288,7 +5288,13 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5304,6 +5310,9 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6109,7 +6118,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6125,6 +6140,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6261,7 +6279,13 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6277,6 +6301,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6781,7 +6808,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6797,6 +6830,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8032,7 +8068,13 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8048,6 +8090,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/transcribestreaming/deserializers.go b/service/transcribestreaming/deserializers.go index 8fda530948a..c701c107f40 100644 --- a/service/transcribestreaming/deserializers.go +++ b/service/transcribestreaming/deserializers.go @@ -1030,7 +1030,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1046,6 +1052,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1481,7 +1490,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1497,6 +1512,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1521,7 +1539,13 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1537,6 +1561,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1631,7 +1658,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1647,6 +1680,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -1742,7 +1778,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -1758,6 +1800,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/transfer/deserializers.go b/service/transfer/deserializers.go index 03f5691bcf8..d79a1cba639 100644 --- a/service/transfer/deserializers.go +++ b/service/transfer/deserializers.go @@ -7521,7 +7521,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7537,6 +7543,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7781,7 +7790,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7797,6 +7812,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9927,7 +9945,13 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9943,6 +9967,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9967,7 +9994,13 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9983,6 +10016,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10007,7 +10043,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10023,6 +10065,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11473,7 +11518,13 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11507,6 +11558,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11531,7 +11585,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11565,6 +11625,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12084,7 +12147,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12100,6 +12169,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12513,7 +12585,13 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "RetryAfterSeconds": if value != nil { @@ -12529,6 +12607,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/translate/deserializers.go b/service/translate/deserializers.go index 5dfd480723e..f5385f48c7d 100644 --- a/service/translate/deserializers.go +++ b/service/translate/deserializers.go @@ -2958,7 +2958,13 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -2974,6 +2980,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2998,7 +3007,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3014,6 +3029,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3038,7 +3056,13 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "DetectedLanguageCode": if value != nil { @@ -3063,6 +3087,9 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3185,7 +3212,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3201,6 +3234,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3225,7 +3261,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3241,6 +3283,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3265,7 +3310,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3281,6 +3332,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3305,7 +3359,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3321,6 +3381,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3534,7 +3597,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3550,6 +3619,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3996,7 +4068,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4012,6 +4090,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4036,7 +4117,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4052,6 +4139,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4536,7 +4626,13 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4552,6 +4648,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4762,7 +4861,13 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -4778,6 +4883,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4802,7 +4910,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4827,6 +4941,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4953,7 +5070,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "DisplayLanguageCode": if value != nil { @@ -4978,6 +5101,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5002,7 +5128,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5036,6 +5168,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/trustedadvisor/deserializers.go b/service/trustedadvisor/deserializers.go index a054ebd0c5c..0233f857fb6 100644 --- a/service/trustedadvisor/deserializers.go +++ b/service/trustedadvisor/deserializers.go @@ -2006,7 +2006,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2022,6 +2028,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2312,7 +2321,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2328,6 +2343,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2352,7 +2370,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2368,6 +2392,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3768,7 +3795,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3784,6 +3817,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3844,7 +3880,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3860,6 +3902,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3976,7 +4021,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3992,6 +4043,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/verifiedpermissions/deserializers.go b/service/verifiedpermissions/deserializers.go index 3dff04d8d47..4a2ff8cc065 100644 --- a/service/verifiedpermissions/deserializers.go +++ b/service/verifiedpermissions/deserializers.go @@ -3537,7 +3537,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3553,6 +3559,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4401,7 +4410,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4422,6 +4437,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4969,7 +4987,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4985,6 +5009,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6141,7 +6168,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6175,6 +6208,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6199,7 +6235,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6251,6 +6293,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6496,7 +6541,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6530,6 +6581,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6554,7 +6608,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -6575,6 +6635,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/voiceid/deserializers.go b/service/voiceid/deserializers.go index 89f8ebc7484..5f54ea352a1 100644 --- a/service/voiceid/deserializers.go +++ b/service/voiceid/deserializers.go @@ -3837,7 +3837,13 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -3853,6 +3859,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4038,7 +4047,13 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "ConflictType": if value != nil { @@ -4063,6 +4078,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5275,7 +5293,13 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5291,6 +5315,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5555,7 +5582,13 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5580,6 +5613,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -5738,7 +5774,13 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -5754,6 +5796,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6401,7 +6446,13 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6417,6 +6468,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -6441,7 +6495,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -6457,6 +6517,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/vpclattice/deserializers.go b/service/vpclattice/deserializers.go index ac29202382f..d25248383ee 100644 --- a/service/vpclattice/deserializers.go +++ b/service/vpclattice/deserializers.go @@ -10078,7 +10078,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10094,6 +10100,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10254,7 +10263,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10288,6 +10303,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10782,7 +10800,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10811,6 +10835,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11116,7 +11143,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11150,6 +11183,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12215,7 +12251,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12267,6 +12309,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13015,7 +13060,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13062,6 +13113,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13086,7 +13140,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -13116,6 +13176,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/waf/deserializers.go b/service/waf/deserializers.go index 590447522fb..5587f1213ff 100644 --- a/service/waf/deserializers.go +++ b/service/waf/deserializers.go @@ -13178,7 +13178,13 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13194,6 +13200,9 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13218,7 +13227,13 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13234,6 +13249,9 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13258,7 +13276,13 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13292,6 +13316,9 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13316,7 +13343,13 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13332,6 +13365,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13356,13 +13392,22 @@ func awsAwsjson11_deserializeDocumentWAFInvalidAccountException(v **types.WAFInv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13387,7 +13432,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13403,6 +13454,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13427,7 +13481,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "field": if value != nil { @@ -13461,6 +13521,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13485,7 +13548,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13501,6 +13570,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13525,7 +13597,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13541,6 +13619,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13565,7 +13646,13 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13581,6 +13668,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13605,7 +13695,13 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13621,6 +13717,9 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13645,7 +13744,13 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13661,6 +13766,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13685,7 +13793,13 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13701,6 +13815,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13765,7 +13882,13 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13781,6 +13904,9 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13805,7 +13931,13 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13821,6 +13953,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13845,7 +13980,13 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13861,6 +14002,9 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13885,7 +14029,13 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13901,6 +14051,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13925,7 +14078,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13941,6 +14100,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13965,7 +14127,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13981,6 +14149,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/wafregional/deserializers.go b/service/wafregional/deserializers.go index 9f2fd19d769..99dfa834596 100644 --- a/service/wafregional/deserializers.go +++ b/service/wafregional/deserializers.go @@ -13735,7 +13735,13 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13751,6 +13757,9 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13775,7 +13784,13 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13791,6 +13806,9 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13815,7 +13833,13 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13849,6 +13873,9 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13873,7 +13900,13 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13889,6 +13922,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13913,13 +13949,22 @@ func awsAwsjson11_deserializeDocumentWAFInvalidAccountException(v **types.WAFInv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13944,7 +13989,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -13960,6 +14011,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13984,7 +14038,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "field": if value != nil { @@ -14018,6 +14078,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14042,7 +14105,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14058,6 +14127,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14082,7 +14154,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14098,6 +14176,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14122,7 +14203,13 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14138,6 +14225,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14162,7 +14252,13 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14178,6 +14274,9 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14202,7 +14301,13 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14218,6 +14323,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14242,7 +14350,13 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14258,6 +14372,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14322,7 +14439,13 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14338,6 +14461,9 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14362,7 +14488,13 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14378,6 +14510,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14402,7 +14537,13 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14418,6 +14559,9 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14442,7 +14586,13 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14458,6 +14608,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14482,7 +14635,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14498,6 +14657,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14522,7 +14684,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14538,6 +14706,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14562,7 +14733,13 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14578,6 +14755,9 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/wafv2/deserializers.go b/service/wafv2/deserializers.go index 53d4bdf4ca8..e97db0d14bd 100644 --- a/service/wafv2/deserializers.go +++ b/service/wafv2/deserializers.go @@ -15469,7 +15469,13 @@ func awsAwsjson11_deserializeDocumentWAFAssociatedItemException(v **types.WAFAss sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15485,6 +15491,9 @@ func awsAwsjson11_deserializeDocumentWAFAssociatedItemException(v **types.WAFAss } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15509,7 +15518,13 @@ func awsAwsjson11_deserializeDocumentWAFConfigurationWarningException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15525,6 +15540,9 @@ func awsAwsjson11_deserializeDocumentWAFConfigurationWarningException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15549,7 +15567,13 @@ func awsAwsjson11_deserializeDocumentWAFDuplicateItemException(v **types.WAFDupl sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15565,6 +15589,9 @@ func awsAwsjson11_deserializeDocumentWAFDuplicateItemException(v **types.WAFDupl } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15589,7 +15616,13 @@ func awsAwsjson11_deserializeDocumentWAFExpiredManagedRuleGroupVersionException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15605,6 +15638,9 @@ func awsAwsjson11_deserializeDocumentWAFExpiredManagedRuleGroupVersionException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15629,7 +15665,13 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15645,6 +15687,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15669,7 +15714,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15685,6 +15736,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15709,7 +15763,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Field": if value != nil { @@ -15752,6 +15812,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15776,7 +15839,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15792,6 +15861,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15816,7 +15888,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidResourceException(v **types.WAFIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15832,6 +15910,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidResourceException(v **types.WAFIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15856,7 +15937,13 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15881,6 +15968,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15905,7 +15995,13 @@ func awsAwsjson11_deserializeDocumentWAFLogDestinationPermissionIssueException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15921,6 +16017,9 @@ func awsAwsjson11_deserializeDocumentWAFLogDestinationPermissionIssueException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15945,7 +16044,13 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15961,6 +16066,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15985,7 +16093,13 @@ func awsAwsjson11_deserializeDocumentWAFOptimisticLockException(v **types.WAFOpt sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16001,6 +16115,9 @@ func awsAwsjson11_deserializeDocumentWAFOptimisticLockException(v **types.WAFOpt } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16025,7 +16142,13 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16041,6 +16164,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16065,7 +16191,13 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16081,6 +16213,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16105,7 +16240,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16121,6 +16262,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16145,7 +16289,13 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16161,6 +16311,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16185,7 +16338,13 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16201,6 +16360,9 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16225,7 +16387,13 @@ func awsAwsjson11_deserializeDocumentWAFUnsupportedAggregateKeyTypeException(v * sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16241,6 +16409,9 @@ func awsAwsjson11_deserializeDocumentWAFUnsupportedAggregateKeyTypeException(v * } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/wellarchitected/deserializers.go b/service/wellarchitected/deserializers.go index 1afba73c81a..6573708aad1 100644 --- a/service/wellarchitected/deserializers.go +++ b/service/wellarchitected/deserializers.go @@ -11785,7 +11785,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -11801,6 +11807,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13211,7 +13220,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13245,6 +13260,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13529,7 +13547,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13545,6 +13569,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16282,7 +16309,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16316,6 +16349,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17364,7 +17400,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17416,6 +17458,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17887,7 +17932,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -17921,6 +17972,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17979,7 +18033,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { @@ -18009,6 +18069,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/wisdom/deserializers.go b/service/wisdom/deserializers.go index f625a703c65..d53dc6fe7a2 100644 --- a/service/wisdom/deserializers.go +++ b/service/wisdom/deserializers.go @@ -6401,7 +6401,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -6417,6 +6423,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7082,7 +7091,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -7098,6 +7113,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8707,7 +8725,13 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -8723,6 +8747,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9876,7 +9903,13 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9892,6 +9925,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9916,7 +9952,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9941,6 +9983,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10084,7 +10129,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10100,6 +10151,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10418,7 +10472,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10443,6 +10503,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10467,7 +10530,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10483,6 +10552,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workdocs/deserializers.go b/service/workdocs/deserializers.go index 77865a26c29..dbd542dc717 100644 --- a/service/workdocs/deserializers.go +++ b/service/workdocs/deserializers.go @@ -7710,7 +7710,13 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7726,6 +7732,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7750,7 +7759,13 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7766,6 +7781,9 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7790,7 +7808,13 @@ func awsRestjson1_deserializeDocumentCustomMetadataLimitExceededException(v **ty sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7806,6 +7830,9 @@ func awsRestjson1_deserializeDocumentCustomMetadataLimitExceededException(v **ty } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7866,7 +7893,13 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -7891,6 +7924,9 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7915,7 +7951,13 @@ func awsRestjson1_deserializeDocumentDocumentLockedForCommentsException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7931,6 +7973,9 @@ func awsRestjson1_deserializeDocumentDocumentLockedForCommentsException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8376,7 +8421,13 @@ func awsRestjson1_deserializeDocumentDraftUploadOutOfSyncException(v **types.Dra sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8392,6 +8443,9 @@ func awsRestjson1_deserializeDocumentDraftUploadOutOfSyncException(v **types.Dra } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8416,7 +8470,13 @@ func awsRestjson1_deserializeDocumentEntityAlreadyExistsException(v **types.Enti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8432,6 +8492,9 @@ func awsRestjson1_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8492,7 +8555,13 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "EntityIds": if err := awsRestjson1_deserializeDocumentEntityIdList(&sv.EntityIds, value); err != nil { @@ -8513,6 +8582,9 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8537,7 +8609,13 @@ func awsRestjson1_deserializeDocumentFailedDependencyException(v **types.FailedD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8553,6 +8631,9 @@ func awsRestjson1_deserializeDocumentFailedDependencyException(v **types.FailedD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8842,7 +8923,13 @@ func awsRestjson1_deserializeDocumentIllegalUserStateException(v **types.Illegal sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8858,6 +8945,9 @@ func awsRestjson1_deserializeDocumentIllegalUserStateException(v **types.Illegal } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8882,7 +8972,13 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8898,6 +8994,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8922,7 +9021,13 @@ func awsRestjson1_deserializeDocumentInvalidCommentOperationException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8938,6 +9043,9 @@ func awsRestjson1_deserializeDocumentInvalidCommentOperationException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8962,7 +9070,13 @@ func awsRestjson1_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8978,6 +9092,9 @@ func awsRestjson1_deserializeDocumentInvalidOperationException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9002,7 +9119,13 @@ func awsRestjson1_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9018,6 +9141,9 @@ func awsRestjson1_deserializeDocumentInvalidPasswordException(v **types.InvalidP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9042,7 +9168,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9058,6 +9190,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9328,7 +9463,13 @@ func awsRestjson1_deserializeDocumentProhibitedStateException(v **types.Prohibit sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9344,6 +9485,9 @@ func awsRestjson1_deserializeDocumentProhibitedStateException(v **types.Prohibit } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9368,7 +9512,13 @@ func awsRestjson1_deserializeDocumentRequestedEntityTooLargeException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9384,6 +9534,9 @@ func awsRestjson1_deserializeDocumentRequestedEntityTooLargeException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9408,7 +9561,13 @@ func awsRestjson1_deserializeDocumentResourceAlreadyCheckedOutException(v **type sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9424,6 +9583,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyCheckedOutException(v **type } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9760,7 +9922,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9776,6 +9944,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9991,7 +10162,13 @@ func awsRestjson1_deserializeDocumentStorageLimitExceededException(v **types.Sto sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10007,6 +10184,9 @@ func awsRestjson1_deserializeDocumentStorageLimitExceededException(v **types.Sto } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10031,7 +10211,13 @@ func awsRestjson1_deserializeDocumentStorageLimitWillExceedException(v **types.S sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10047,6 +10233,9 @@ func awsRestjson1_deserializeDocumentStorageLimitWillExceedException(v **types.S } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10216,7 +10405,13 @@ func awsRestjson1_deserializeDocumentTooManyLabelsException(v **types.TooManyLab sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10232,6 +10427,9 @@ func awsRestjson1_deserializeDocumentTooManyLabelsException(v **types.TooManyLab } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10256,7 +10454,13 @@ func awsRestjson1_deserializeDocumentTooManySubscriptionsException(v **types.Too sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10272,6 +10476,9 @@ func awsRestjson1_deserializeDocumentTooManySubscriptionsException(v **types.Too } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10296,7 +10503,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Code": if value != nil { @@ -10321,6 +10534,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10345,7 +10561,13 @@ func awsRestjson1_deserializeDocumentUnauthorizedResourceAccessException(v **typ sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -10361,6 +10583,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedResourceAccessException(v **typ } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workmail/deserializers.go b/service/workmail/deserializers.go index 621f5e65da5..8dc2df85260 100644 --- a/service/workmail/deserializers.go +++ b/service/workmail/deserializers.go @@ -12694,7 +12694,13 @@ func awsAwsjson11_deserializeDocumentDirectoryInUseException(v **types.Directory sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12710,6 +12716,9 @@ func awsAwsjson11_deserializeDocumentDirectoryInUseException(v **types.Directory } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12734,7 +12743,13 @@ func awsAwsjson11_deserializeDocumentDirectoryServiceAuthenticationFailedExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12750,6 +12765,9 @@ func awsAwsjson11_deserializeDocumentDirectoryServiceAuthenticationFailedExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12774,7 +12792,13 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12790,6 +12814,9 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12906,7 +12933,13 @@ func awsAwsjson11_deserializeDocumentEmailAddressInUseException(v **types.EmailA sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12922,6 +12955,9 @@ func awsAwsjson11_deserializeDocumentEmailAddressInUseException(v **types.EmailA } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12946,7 +12982,13 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyRegisteredException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -12962,6 +13004,9 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyRegisteredException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12986,7 +13031,13 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13002,6 +13053,9 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13026,7 +13080,13 @@ func awsAwsjson11_deserializeDocumentEntityStateException(v **types.EntityStateE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13042,6 +13102,9 @@ func awsAwsjson11_deserializeDocumentEntityStateException(v **types.EntityStateE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13781,7 +13844,13 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13797,6 +13866,9 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13821,7 +13893,13 @@ func awsAwsjson11_deserializeDocumentInvalidCustomSesConfigurationException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13837,6 +13915,9 @@ func awsAwsjson11_deserializeDocumentInvalidCustomSesConfigurationException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13861,7 +13942,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13877,6 +13964,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -13901,7 +13991,13 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -13917,6 +14013,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14051,7 +14150,13 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14067,6 +14172,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14221,7 +14329,13 @@ func awsAwsjson11_deserializeDocumentMailDomainInUseException(v **types.MailDoma sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14237,6 +14351,9 @@ func awsAwsjson11_deserializeDocumentMailDomainInUseException(v **types.MailDoma } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14261,7 +14378,13 @@ func awsAwsjson11_deserializeDocumentMailDomainNotFoundException(v **types.MailD sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14277,6 +14400,9 @@ func awsAwsjson11_deserializeDocumentMailDomainNotFoundException(v **types.MailD } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14335,7 +14461,13 @@ func awsAwsjson11_deserializeDocumentMailDomainStateException(v **types.MailDoma sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14351,6 +14483,9 @@ func awsAwsjson11_deserializeDocumentMailDomainStateException(v **types.MailDoma } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14946,7 +15081,13 @@ func awsAwsjson11_deserializeDocumentNameAvailabilityException(v **types.NameAva sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -14962,6 +15103,9 @@ func awsAwsjson11_deserializeDocumentNameAvailabilityException(v **types.NameAva } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14986,7 +15130,13 @@ func awsAwsjson11_deserializeDocumentOrganizationNotFoundException(v **types.Org sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15002,6 +15152,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotFoundException(v **types.Org } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15026,7 +15179,13 @@ func awsAwsjson11_deserializeDocumentOrganizationStateException(v **types.Organi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15042,6 +15201,9 @@ func awsAwsjson11_deserializeDocumentOrganizationStateException(v **types.Organi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15583,7 +15745,13 @@ func awsAwsjson11_deserializeDocumentReservedNameException(v **types.ReservedNam sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15599,6 +15767,9 @@ func awsAwsjson11_deserializeDocumentReservedNameException(v **types.ReservedNam } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15774,7 +15945,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15790,6 +15967,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15967,7 +16147,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -15983,6 +16169,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16007,7 +16196,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -16023,6 +16218,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workmailmessageflow/deserializers.go b/service/workmailmessageflow/deserializers.go index ba34f7cd2d7..41434120c6f 100644 --- a/service/workmailmessageflow/deserializers.go +++ b/service/workmailmessageflow/deserializers.go @@ -392,7 +392,13 @@ func awsRestjson1_deserializeDocumentInvalidContentLocation(v **types.InvalidCon sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -408,6 +414,9 @@ func awsRestjson1_deserializeDocumentInvalidContentLocation(v **types.InvalidCon } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -432,7 +441,13 @@ func awsRestjson1_deserializeDocumentMessageFrozen(v **types.MessageFrozen, valu sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -448,6 +463,9 @@ func awsRestjson1_deserializeDocumentMessageFrozen(v **types.MessageFrozen, valu } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -472,7 +490,13 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -488,6 +512,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -512,7 +539,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -528,6 +561,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workspaces/deserializers.go b/service/workspaces/deserializers.go index f6c00ab9338..e13f5c5a5a7 100644 --- a/service/workspaces/deserializers.go +++ b/service/workspaces/deserializers.go @@ -11388,7 +11388,13 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11404,6 +11410,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11704,13 +11713,22 @@ func awsAwsjson11_deserializeDocumentApplicationNotSupportedException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12448,13 +12466,22 @@ func awsAwsjson11_deserializeDocumentComputeNotCompatibleException(v **types.Com sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12519,7 +12546,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12535,6 +12568,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14026,13 +14062,22 @@ func awsAwsjson11_deserializeDocumentIncompatibleApplicationsException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14057,7 +14102,13 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14073,6 +14124,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14097,7 +14151,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValuesException(v **types.I sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14113,6 +14173,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValuesException(v **types.I } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14137,7 +14200,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14153,6 +14222,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14679,13 +14751,22 @@ func awsAwsjson11_deserializeDocumentOperatingSystemNotCompatibleException(v **t sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { default: _, _ = key, value } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14710,7 +14791,13 @@ func awsAwsjson11_deserializeDocumentOperationInProgressException(v **types.Oper sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14726,6 +14813,9 @@ func awsAwsjson11_deserializeDocumentOperationInProgressException(v **types.Oper } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -14750,7 +14840,13 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -14775,6 +14871,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15037,7 +15136,13 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15053,6 +15158,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15077,7 +15185,13 @@ func awsAwsjson11_deserializeDocumentResourceAssociatedException(v **types.Resou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15093,6 +15207,9 @@ func awsAwsjson11_deserializeDocumentResourceAssociatedException(v **types.Resou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15117,7 +15234,13 @@ func awsAwsjson11_deserializeDocumentResourceCreationFailedException(v **types.R sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15133,6 +15256,9 @@ func awsAwsjson11_deserializeDocumentResourceCreationFailedException(v **types.R } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15157,7 +15283,13 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15182,6 +15314,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15206,7 +15341,13 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15222,6 +15363,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15246,7 +15390,13 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15271,6 +15421,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -15295,7 +15448,13 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -15320,6 +15479,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16092,7 +16254,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedNetworkConfigurationException(v sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16108,6 +16276,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedNetworkConfigurationException(v } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16132,7 +16303,13 @@ func awsAwsjson11_deserializeDocumentUnsupportedWorkspaceConfigurationException( sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16148,6 +16325,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedWorkspaceConfigurationException( } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -16357,7 +16537,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -16373,6 +16559,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -17891,7 +18080,13 @@ func awsAwsjson11_deserializeDocumentWorkspacesDefaultRoleNotFoundException(v ** sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -17907,6 +18102,9 @@ func awsAwsjson11_deserializeDocumentWorkspacesDefaultRoleNotFoundException(v ** } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workspacesthinclient/deserializers.go b/service/workspacesthinclient/deserializers.go index ab789a5836a..55378c3e046 100644 --- a/service/workspacesthinclient/deserializers.go +++ b/service/workspacesthinclient/deserializers.go @@ -2621,7 +2621,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2637,6 +2643,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -2661,7 +2670,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -2695,6 +2710,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3681,7 +3699,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3710,6 +3734,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3840,7 +3867,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3874,6 +3907,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -3898,7 +3934,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -3950,6 +3992,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4335,7 +4380,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -4382,6 +4433,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -4406,7 +4460,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -4436,6 +4496,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/workspacesweb/deserializers.go b/service/workspacesweb/deserializers.go index e8b4fc92462..a0b1efedc18 100644 --- a/service/workspacesweb/deserializers.go +++ b/service/workspacesweb/deserializers.go @@ -9596,7 +9596,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -9612,6 +9618,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10041,7 +10050,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10075,6 +10090,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -10459,7 +10477,13 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -10488,6 +10512,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11413,7 +11440,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11447,6 +11480,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11507,7 +11543,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11559,6 +11601,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -11939,7 +11984,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -11986,6 +12037,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12010,7 +12064,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "message": if value != nil { @@ -12035,6 +12095,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -12618,7 +12681,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { @@ -12648,6 +12717,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } diff --git a/service/xray/deserializers.go b/service/xray/deserializers.go index 76f44976cf0..4c319f9555f 100644 --- a/service/xray/deserializers.go +++ b/service/xray/deserializers.go @@ -7589,7 +7589,13 @@ func awsRestjson1_deserializeDocumentInvalidPolicyRevisionIdException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7605,6 +7611,9 @@ func awsRestjson1_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7629,7 +7638,13 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7645,6 +7660,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7669,7 +7687,13 @@ func awsRestjson1_deserializeDocumentLockoutPreventionException(v **types.Lockou sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7685,6 +7709,9 @@ func awsRestjson1_deserializeDocumentLockoutPreventionException(v **types.Lockou } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7709,7 +7736,13 @@ func awsRestjson1_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7725,6 +7758,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyDocumentException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7749,7 +7785,13 @@ func awsRestjson1_deserializeDocumentPolicyCountLimitExceededException(v **types sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7765,6 +7807,9 @@ func awsRestjson1_deserializeDocumentPolicyCountLimitExceededException(v **types } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7789,7 +7834,13 @@ func awsRestjson1_deserializeDocumentPolicySizeLimitExceededException(v **types. sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7805,6 +7856,9 @@ func awsRestjson1_deserializeDocumentPolicySizeLimitExceededException(v **types. } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -7939,7 +7993,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -7964,6 +8024,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -8486,7 +8549,13 @@ func awsRestjson1_deserializeDocumentRuleLimitExceededException(v **types.RuleLi sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -8502,6 +8571,9 @@ func awsRestjson1_deserializeDocumentRuleLimitExceededException(v **types.RuleLi } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9668,7 +9740,13 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9684,6 +9762,9 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } @@ -9809,7 +9890,13 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } + var errorMessage string for key, value := range shape { + keyLower := strings.ToLower(key) + if keyLower == "message" { + errorMessage = value.(string) + continue + } switch key { case "Message": if value != nil { @@ -9834,6 +9921,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } } + if errorMessage != "" { + sv.Message = &errorMessage + } *v = sv return nil } From 7c4bde0ae1560a3b801d5a2374ddac3ceb1a34d2 Mon Sep 17 00:00:00 2001 From: Ran Vaknin Date: Tue, 5 Nov 2024 16:36:42 -0800 Subject: [PATCH 3/5] add changelog --- .../ab122d50fa92409c93e6ba4d5cbcbf28.json | 377 ++++++++++++++++++ 1 file changed, 377 insertions(+) create mode 100644 .changelog/ab122d50fa92409c93e6ba4d5cbcbf28.json diff --git a/.changelog/ab122d50fa92409c93e6ba4d5cbcbf28.json b/.changelog/ab122d50fa92409c93e6ba4d5cbcbf28.json new file mode 100644 index 00000000000..d887928e411 --- /dev/null +++ b/.changelog/ab122d50fa92409c93e6ba4d5cbcbf28.json @@ -0,0 +1,377 @@ +{ + "id": "ab122d50-fa92-409c-93e6-ba4d5cbcbf28", + "type": "bugfix", + "description": "Adds case-insensitive handling of error message fields in service responses", + "modules": [ + "internal/protocoltest/awsrestjson", + "internal/protocoltest/jsonrpc", + "internal/protocoltest/jsonrpc10", + "service/accessanalyzer", + "service/account", + "service/acm", + "service/acmpca", + "service/amp", + "service/amplify", + "service/amplifybackend", + "service/amplifyuibuilder", + "service/apigateway", + "service/apigatewaymanagementapi", + "service/apigatewayv2", + "service/appconfig", + "service/appconfigdata", + "service/appfabric", + "service/appflow", + "service/appintegrations", + "service/applicationautoscaling", + "service/applicationcostprofiler", + "service/applicationdiscoveryservice", + "service/applicationinsights", + "service/applicationsignals", + "service/appmesh", + "service/apprunner", + "service/appstream", + "service/appsync", + "service/apptest", + "service/arczonalshift", + "service/artifact", + "service/athena", + "service/auditmanager", + "service/autoscalingplans", + "service/b2bi", + "service/backup", + "service/backupgateway", + "service/batch", + "service/bcmdataexports", + "service/bedrock", + "service/bedrockagent", + "service/bedrockagentruntime", + "service/bedrockruntime", + "service/billingconductor", + "service/braket", + "service/budgets", + "service/chatbot", + "service/chime", + "service/chimesdkidentity", + "service/chimesdkmediapipelines", + "service/chimesdkmeetings", + "service/chimesdkmessaging", + "service/chimesdkvoice", + "service/cleanrooms", + "service/cleanroomsml", + "service/cloud9", + "service/cloudcontrol", + "service/clouddirectory", + "service/cloudfrontkeyvaluestore", + "service/cloudhsm", + "service/cloudhsmv2", + "service/cloudsearchdomain", + "service/cloudtrail", + "service/cloudtraildata", + "service/cloudwatchevents", + "service/cloudwatchlogs", + "service/codeartifact", + "service/codebuild", + "service/codecatalyst", + "service/codecommit", + "service/codeconnections", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codegurusecurity", + "service/codepipeline", + "service/codestarconnections", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitoidentityprovider", + "service/cognitosync", + "service/comprehend", + "service/comprehendmedical", + "service/computeoptimizer", + "service/configservice", + "service/connect", + "service/connectcampaigns", + "service/connectcases", + "service/connectcontactlens", + "service/connectparticipant", + "service/controlcatalog", + "service/controltower", + "service/costandusagereportservice", + "service/costexplorer", + "service/costoptimizationhub", + "service/customerprofiles", + "service/databasemigrationservice", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/datasync", + "service/datazone", + "service/dax", + "service/deadline", + "service/detective", + "service/devicefarm", + "service/devopsguru", + "service/directconnect", + "service/directoryservice", + "service/directoryservicedata", + "service/dlm", + "service/docdbelastic", + "service/drs", + "service/dynamodb", + "service/dynamodbstreams", + "service/ebs", + "service/ec2instanceconnect", + "service/ecr", + "service/ecrpublic", + "service/ecs", + "service/efs", + "service/eks", + "service/eksauth", + "service/elasticinference", + "service/elasticsearchservice", + "service/elastictranscoder", + "service/emr", + "service/emrcontainers", + "service/emrserverless", + "service/entityresolution", + "service/eventbridge", + "service/evidently", + "service/finspace", + "service/finspacedata", + "service/firehose", + "service/fis", + "service/fms", + "service/forecast", + "service/forecastquery", + "service/frauddetector", + "service/freetier", + "service/fsx", + "service/gamelift", + "service/geomaps", + "service/geoplaces", + "service/georoutes", + "service/glacier", + "service/globalaccelerator", + "service/glue", + "service/grafana", + "service/greengrass", + "service/greengrassv2", + "service/groundstation", + "service/guardduty", + "service/health", + "service/healthlake", + "service/identitystore", + "service/imagebuilder", + "service/inspector", + "service/inspector2", + "service/inspectorscan", + "service/internetmonitor", + "service/iot", + "service/iot1clickdevicesservice", + "service/iot1clickprojects", + "service/iotanalytics", + "service/iotdataplane", + "service/iotdeviceadvisor", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotfleetwise", + "service/iotjobsdataplane", + "service/iotsecuretunneling", + "service/iotsitewise", + "service/iotthingsgraph", + "service/iottwinmaker", + "service/iotwireless", + "service/ivs", + "service/ivschat", + "service/ivsrealtime", + "service/kafka", + "service/kafkaconnect", + "service/kendra", + "service/kendraranking", + "service/keyspaces", + "service/kinesis", + "service/kinesisanalytics", + "service/kinesisanalyticsv2", + "service/kinesisvideo", + "service/kinesisvideoarchivedmedia", + "service/kinesisvideomedia", + "service/kinesisvideosignaling", + "service/kinesisvideowebrtcstorage", + "service/kms", + "service/lakeformation", + "service/lambda", + "service/launchwizard", + "service/lexmodelbuildingservice", + "service/lexmodelsv2", + "service/lexruntimeservice", + "service/lexruntimev2", + "service/licensemanager", + "service/licensemanagerlinuxsubscriptions", + "service/licensemanagerusersubscriptions", + "service/lightsail", + "service/location", + "service/lookoutequipment", + "service/lookoutmetrics", + "service/lookoutvision", + "service/m2", + "service/machinelearning", + "service/macie2", + "service/mailmanager", + "service/managedblockchain", + "service/managedblockchainquery", + "service/marketplaceagreement", + "service/marketplacecatalog", + "service/marketplacecommerceanalytics", + "service/marketplacedeployment", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/marketplacereporting", + "service/mediaconnect", + "service/mediaconvert", + "service/medialive", + "service/mediapackage", + "service/mediapackagev2", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/mediatailor", + "service/medicalimaging", + "service/memorydb", + "service/mgn", + "service/migrationhub", + "service/migrationhubconfig", + "service/migrationhuborchestrator", + "service/migrationhubrefactorspaces", + "service/migrationhubstrategy", + "service/mq", + "service/mturk", + "service/mwaa", + "service/neptunedata", + "service/neptunegraph", + "service/networkfirewall", + "service/networkmanager", + "service/networkmonitor", + "service/oam", + "service/omics", + "service/opensearch", + "service/opensearchserverless", + "service/opsworks", + "service/opsworkscm", + "service/organizations", + "service/osis", + "service/outposts", + "service/panorama", + "service/paymentcryptography", + "service/paymentcryptographydata", + "service/pcaconnectorad", + "service/pcaconnectorscep", + "service/pcs", + "service/personalize", + "service/personalizeevents", + "service/personalizeruntime", + "service/pi", + "service/pinpoint", + "service/pinpointemail", + "service/pinpointsmsvoice", + "service/pinpointsmsvoicev2", + "service/pipes", + "service/polly", + "service/pricing", + "service/privatenetworks", + "service/proton", + "service/qapps", + "service/qbusiness", + "service/qconnect", + "service/qldb", + "service/qldbsession", + "service/quicksight", + "service/ram", + "service/rbin", + "service/rdsdata", + "service/redshiftdata", + "service/redshiftserverless", + "service/rekognition", + "service/repostspace", + "service/resiliencehub", + "service/resourceexplorer2", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/rolesanywhere", + "service/route53domains", + "service/route53profiles", + "service/route53recoverycluster", + "service/route53recoverycontrolconfig", + "service/route53recoveryreadiness", + "service/route53resolver", + "service/rum", + "service/s3outposts", + "service/sagemaker", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakerfeaturestoreruntime", + "service/sagemakergeospatial", + "service/sagemakerruntime", + "service/savingsplans", + "service/scheduler", + "service/schemas", + "service/secretsmanager", + "service/securityhub", + "service/securitylake", + "service/serverlessapplicationrepository", + "service/servicecatalog", + "service/servicecatalogappregistry", + "service/servicediscovery", + "service/servicequotas", + "service/sesv2", + "service/sfn", + "service/shield", + "service/signer", + "service/simspaceweaver", + "service/sms", + "service/snowball", + "service/snowdevicemanagement", + "service/socialmessaging", + "service/sqs", + "service/ssm", + "service/ssmcontacts", + "service/ssmincidents", + "service/ssmquicksetup", + "service/ssmsap", + "service/sso", + "service/ssoadmin", + "service/ssooidc", + "service/storagegateway", + "service/supplychain", + "service/support", + "service/supportapp", + "service/swf", + "service/synthetics", + "service/taxsettings", + "service/textract", + "service/timestreaminfluxdb", + "service/timestreamquery", + "service/timestreamwrite", + "service/tnb", + "service/transcribe", + "service/transcribestreaming", + "service/transfer", + "service/translate", + "service/trustedadvisor", + "service/verifiedpermissions", + "service/voiceid", + "service/vpclattice", + "service/waf", + "service/wafregional", + "service/wafv2", + "service/wellarchitected", + "service/wisdom", + "service/workdocs", + "service/workmail", + "service/workmailmessageflow", + "service/workspaces", + "service/workspacesthinclient", + "service/workspacesweb", + "service/xray" + ] +} \ No newline at end of file From 2ae3246d274979bdffefa47ab7d8d81fe8eb7e4d Mon Sep 17 00:00:00 2001 From: Ran Vaknin Date: Tue, 5 Nov 2024 18:51:24 -0800 Subject: [PATCH 4/5] refactor logic to use switch case --- .../aws/go/codegen/JsonShapeDeserVisitor.java | 31 +- .../protocoltest/awsrestjson/deserializers.go | 148 +- .../protocoltest/jsonrpc/deserializers.go | 138 +- .../protocoltest/jsonrpc10/deserializers.go | 99 +- service/accessanalyzer/deserializers.go | 380 +- service/account/deserializers.go | 104 +- service/acm/deserializers.go | 268 +- service/acmpca/deserializers.go | 331 +- service/amp/deserializers.go | 212 +- service/amplify/deserializers.go | 261 +- service/amplifybackend/deserializers.go | 281 +- service/amplifyuibuilder/deserializers.go | 369 +- service/apigateway/deserializers.go | 869 +--- .../apigatewaymanagementapi/deserializers.go | 44 +- service/apigatewayv2/deserializers.go | 606 +-- service/appconfig/deserializers.go | 367 +- service/appconfigdata/deserializers.go | 54 +- service/appfabric/deserializers.go | 190 +- service/appflow/deserializers.go | 595 +-- service/appintegrations/deserializers.go | 204 +- .../applicationautoscaling/deserializers.go | 212 +- .../applicationcostprofiler/deserializers.go | 82 +- .../deserializers.go | 266 +- service/applicationinsights/deserializers.go | 248 +- service/applicationsignals/deserializers.go | 195 +- service/appmesh/deserializers.go | 497 +-- service/apprunner/deserializers.go | 267 +- service/appstream/deserializers.go | 481 +-- service/appsync/deserializers.go | 465 +-- service/apptest/deserializers.go | 367 +- service/arczonalshift/deserializers.go | 161 +- service/artifact/deserializers.go | 144 +- service/athena/deserializers.go | 388 +- service/auditmanager/deserializers.go | 449 +-- service/autoscalingplans/deserializers.go | 140 +- service/b2bi/deserializers.go | 306 +- service/backup/deserializers.go | 726 +--- service/backupgateway/deserializers.go | 168 +- service/batch/deserializers.go | 473 +-- service/bcmdataexports/deserializers.go | 137 +- service/bedrock/deserializers.go | 464 +-- service/bedrockagent/deserializers.go | 680 +--- service/bedrockagentruntime/deserializers.go | 289 +- service/bedrockruntime/deserializers.go | 236 +- service/billingconductor/deserializers.go | 280 +- service/braket/deserializers.go | 220 +- service/budgets/deserializers.go | 250 +- service/chatbot/deserializers.go | 459 +-- service/chime/deserializers.go | 679 +--- service/chimesdkidentity/deserializers.go | 220 +- .../chimesdkmediapipelines/deserializers.go | 401 +- service/chimesdkmeetings/deserializers.go | 221 +- service/chimesdkmessaging/deserializers.go | 313 +- service/chimesdkvoice/deserializers.go | 435 +- service/cleanrooms/deserializers.go | 684 +--- service/cleanroomsml/deserializers.go | 199 +- service/cloud9/deserializers.go | 142 +- service/cloudcontrol/deserializers.go | 276 +- service/clouddirectory/deserializers.go | 623 +-- .../cloudfrontkeyvaluestore/deserializers.go | 93 +- service/cloudhsm/deserializers.go | 98 +- service/cloudhsmv2/deserializers.go | 145 +- service/cloudsearchdomain/deserializers.go | 65 +- service/cloudtrail/deserializers.go | 1306 +----- service/cloudtraildata/deserializers.go | 79 +- service/cloudwatchevents/deserializers.go | 440 +-- service/cloudwatchlogs/deserializers.go | 507 +-- service/codeartifact/deserializers.go | 294 +- service/codebuild/deserializers.go | 463 +-- service/codecatalyst/deserializers.go | 309 +- service/codecommit/deserializers.go | 2635 +------------ service/codeconnections/deserializers.go | 317 +- service/codedeploy/deserializers.go | 1606 +------- service/codeguruprofiler/deserializers.go | 166 +- service/codegurureviewer/deserializers.go | 203 +- service/codegurusecurity/deserializers.go | 185 +- service/codepipeline/deserializers.go | 899 +---- service/codestarconnections/deserializers.go | 316 +- .../codestarnotifications/deserializers.go | 128 +- service/cognitoidentity/deserializers.go | 218 +- .../cognitoidentityprovider/deserializers.go | 901 +---- service/cognitosync/deserializers.go | 218 +- service/comprehend/deserializers.go | 747 +--- service/comprehendmedical/deserializers.go | 262 +- service/computeoptimizer/deserializers.go | 506 +-- service/configservice/deserializers.go | 1162 +----- service/connect/deserializers.go | 1541 +------- service/connectcampaigns/deserializers.go | 173 +- service/connectcases/deserializers.go | 232 +- service/connectcontactlens/deserializers.go | 84 +- service/connectparticipant/deserializers.go | 136 +- service/controlcatalog/deserializers.go | 100 +- service/controltower/deserializers.go | 198 +- .../deserializers.go | 81 +- service/costexplorer/deserializers.go | 666 +--- service/costoptimizationhub/deserializers.go | 296 +- service/customerprofiles/deserializers.go | 441 +-- .../databasemigrationservice/deserializers.go | 1287 +----- service/databrew/deserializers.go | 429 +- service/dataexchange/deserializers.go | 491 +-- service/datapipeline/deserializers.go | 113 +- service/datasync/deserializers.go | 389 +- service/datazone/deserializers.go | 1562 +------- service/dax/deserializers.go | 410 +- service/deadline/deserializers.go | 786 +--- service/detective/deserializers.go | 206 +- service/devicefarm/deserializers.go | 516 +-- service/devopsguru/deserializers.go | 425 +- service/directconnect/deserializers.go | 676 +--- service/directoryservice/deserializers.go | 722 +--- service/directoryservicedata/deserializers.go | 166 +- service/dlm/deserializers.go | 167 +- service/docdbelastic/deserializers.go | 160 +- service/drs/deserializers.go | 537 +-- service/dynamodb/deserializers.go | 816 +--- service/dynamodbstreams/deserializers.go | 101 +- service/ebs/deserializers.go | 130 +- service/ec2instanceconnect/deserializers.go | 148 +- service/ecr/deserializers.go | 791 +--- service/ecrpublic/deserializers.go | 392 +- service/ecs/deserializers.go | 953 +---- service/efs/deserializers.go | 578 +-- service/eks/deserializers.go | 522 +-- service/eksauth/deserializers.go | 123 +- service/elasticinference/deserializers.go | 56 +- service/elasticsearchservice/deserializers.go | 498 +-- service/elastictranscoder/deserializers.go | 284 +- service/emr/deserializers.go | 526 +-- service/emrcontainers/deserializers.go | 221 +- service/emrserverless/deserializers.go | 223 +- service/entityresolution/deserializers.go | 365 +- service/eventbridge/deserializers.go | 510 +-- service/evidently/deserializers.go | 311 +- service/finspace/deserializers.go | 567 +-- service/finspacedata/deserializers.go | 264 +- service/firehose/deserializers.go | 372 +- service/fis/deserializers.go | 219 +- service/fms/deserializers.go | 541 +-- service/forecast/deserializers.go | 515 +-- service/forecastquery/deserializers.go | 65 +- service/frauddetector/deserializers.go | 447 +-- service/freetier/deserializers.go | 48 +- service/fsx/deserializers.go | 845 +--- service/gamelift/deserializers.go | 715 +--- service/geomaps/deserializers.go | 52 +- service/geoplaces/deserializers.go | 301 +- service/georoutes/deserializers.go | 453 +-- service/glacier/deserializers.go | 245 +- service/globalaccelerator/deserializers.go | 395 +- service/glue/deserializers.go | 2411 +----------- service/grafana/deserializers.go | 227 +- service/greengrass/deserializers.go | 439 +-- service/greengrassv2/deserializers.go | 283 +- service/groundstation/deserializers.go | 269 +- service/guardduty/deserializers.go | 786 +--- service/health/deserializers.go | 122 +- service/healthlake/deserializers.go | 149 +- service/identitystore/deserializers.go | 192 +- service/imagebuilder/deserializers.go | 912 +---- service/inspector/deserializers.go | 334 +- service/inspector2/deserializers.go | 671 +--- service/inspectorscan/deserializers.go | 56 +- service/internetmonitor/deserializers.go | 254 +- service/iot/deserializers.go | 1703 +------- .../iot1clickdevicesservice/deserializers.go | 118 +- service/iot1clickprojects/deserializers.go | 98 +- service/iotanalytics/deserializers.go | 336 +- service/iotdataplane/deserializers.go | 134 +- service/iotdeviceadvisor/deserializers.go | 137 +- service/iotevents/deserializers.go | 338 +- service/ioteventsdata/deserializers.go | 142 +- service/iotfleethub/deserializers.go | 96 +- service/iotfleetwise/deserializers.go | 483 +-- service/iotjobsdataplane/deserializers.go | 111 +- service/iotsecuretunneling/deserializers.go | 59 +- service/iotsitewise/deserializers.go | 748 +--- service/iotthingsgraph/deserializers.go | 191 +- service/iottwinmaker/deserializers.go | 453 +-- service/iotwireless/deserializers.go | 577 +-- service/ivs/deserializers.go | 256 -- service/ivschat/deserializers.go | 195 +- service/ivsrealtime/deserializers.go | 261 -- service/kafka/deserializers.go | 508 +-- service/kafkaconnect/deserializers.go | 235 +- service/kendra/deserializers.go | 873 +--- service/kendraranking/deserializers.go | 122 +- service/keyspaces/deserializers.go | 169 +- service/kinesis/deserializers.go | 299 +- service/kinesisanalytics/deserializers.go | 226 +- service/kinesisanalyticsv2/deserializers.go | 394 +- service/kinesisvideo/deserializers.go | 285 +- .../deserializers.go | 122 +- service/kinesisvideomedia/deserializers.go | 72 +- .../kinesisvideosignaling/deserializers.go | 78 +- .../deserializers.go | 48 +- service/kms/deserializers.go | 748 +--- service/lakeformation/deserializers.go | 407 +- service/lambda/deserializers.go | 1132 +----- service/launchwizard/deserializers.go | 117 +- .../lexmodelbuildingservice/deserializers.go | 439 +-- service/lexmodelsv2/deserializers.go | 1348 +------ service/lexruntimeservice/deserializers.go | 191 +- service/lexruntimev2/deserializers.go | 182 +- service/licensemanager/deserializers.go | 484 +-- .../deserializers.go | 100 +- .../deserializers.go | 128 +- service/lightsail/deserializers.go | 990 +---- service/location/deserializers.go | 422 +- service/lookoutequipment/deserializers.go | 452 +-- service/lookoutmetrics/deserializers.go | 328 +- service/lookoutvision/deserializers.go | 218 +- service/m2/deserializers.go | 348 +- service/machinelearning/deserializers.go | 299 +- service/macie2/deserializers.go | 690 +--- service/mailmanager/deserializers.go | 307 +- service/managedblockchain/deserializers.go | 275 +- .../managedblockchainquery/deserializers.go | 178 +- service/marketplaceagreement/deserializers.go | 157 +- service/marketplacecatalog/deserializers.go | 191 +- .../deserializers.go | 14 +- .../marketplacedeployment/deserializers.go | 91 +- .../deserializers.go | 47 +- service/marketplacemetering/deserializers.go | 224 +- service/marketplacereporting/deserializers.go | 51 +- service/mediaconnect/deserializers.go | 483 +-- service/mediaconvert/deserializers.go | 1324 +------ service/medialive/deserializers.go | 2025 +--------- service/mediapackage/deserializers.go | 312 +- service/mediapackagev2/deserializers.go | 355 +- service/mediapackagevod/deserializers.go | 225 +- service/mediastore/deserializers.go | 98 +- service/mediastoredata/deserializers.go | 59 +- service/mediatailor/deserializers.go | 395 +- service/medicalimaging/deserializers.go | 208 +- service/memorydb/deserializers.go | 842 +--- service/mgn/deserializers.go | 829 +--- service/migrationhub/deserializers.go | 158 +- service/migrationhubconfig/deserializers.go | 83 +- .../migrationhuborchestrator/deserializers.go | 321 +- .../deserializers.go | 365 +- service/migrationhubstrategy/deserializers.go | 323 +- service/mq/deserializers.go | 258 +- service/mturk/deserializers.go | 172 +- service/mwaa/deserializers.go | 134 +- service/neptunedata/deserializers.go | 596 --- service/neptunegraph/deserializers.go | 338 +- service/networkfirewall/deserializers.go | 407 +- service/networkmanager/deserializers.go | 551 +-- service/networkmonitor/deserializers.go | 162 +- service/oam/deserializers.go | 162 +- service/omics/deserializers.go | 743 +--- service/opensearch/deserializers.go | 727 +--- service/opensearchserverless/deserializers.go | 278 +- service/opsworks/deserializers.go | 382 +- service/opsworkscm/deserializers.go | 152 +- service/organizations/deserializers.go | 706 +--- service/osis/deserializers.go | 191 +- service/outposts/deserializers.go | 241 +- service/panorama/deserializers.go | 364 +- service/paymentcryptography/deserializers.go | 164 +- .../paymentcryptographydata/deserializers.go | 122 +- service/pcaconnectorad/deserializers.go | 318 +- service/pcaconnectorscep/deserializers.go | 152 +- service/pcs/deserializers.go | 198 +- service/personalize/deserializers.go | 564 +-- service/personalizeevents/deserializers.go | 36 +- service/personalizeruntime/deserializers.go | 37 +- service/pi/deserializers.go | 115 +- service/pinpoint/deserializers.go | 1018 +---- service/pinpointemail/deserializers.go | 261 +- service/pinpointsmsvoice/deserializers.go | 87 +- service/pinpointsmsvoicev2/deserializers.go | 645 +-- service/pipes/deserializers.go | 345 +- service/polly/deserializers.go | 294 +- service/pricing/deserializers.go | 114 +- service/privatenetworks/deserializers.go | 205 +- service/proton/deserializers.go | 564 +-- service/qapps/deserializers.go | 303 +- service/qbusiness/deserializers.go | 454 +-- service/qconnect/deserializers.go | 561 +-- service/qldb/deserializers.go | 159 +- service/qldbsession/deserializers.go | 104 +- service/quicksight/deserializers.go | 3497 +---------------- service/ram/deserializers.go | 488 +-- service/rbin/deserializers.go | 129 +- service/rdsdata/deserializers.go | 205 +- service/redshiftdata/deserializers.go | 212 +- service/redshiftserverless/deserializers.go | 357 +- service/rekognition/deserializers.go | 897 +---- service/repostspace/deserializers.go | 148 +- service/resiliencehub/deserializers.go | 513 +-- service/resourceexplorer2/deserializers.go | 178 +- service/resourcegroups/deserializers.go | 192 +- .../resourcegroupstaggingapi/deserializers.go | 103 +- service/robomaker/deserializers.go | 615 +-- service/rolesanywhere/deserializers.go | 147 +- service/route53domains/deserializers.go | 207 +- service/route53profiles/deserializers.go | 175 +- .../route53recoverycluster/deserializers.go | 121 +- .../deserializers.go | 151 +- .../route53recoveryreadiness/deserializers.go | 203 +- service/route53resolver/deserializers.go | 456 +-- service/rum/deserializers.go | 158 +- service/s3outposts/deserializers.go | 111 +- service/sagemaker/deserializers.go | 3431 +--------------- service/sagemakera2iruntime/deserializers.go | 89 +- service/sagemakeredge/deserializers.go | 25 +- .../deserializers.go | 79 +- service/sagemakergeospatial/deserializers.go | 287 +- service/sagemakermetrics/deserializers.go | 8 - service/sagemakerruntime/deserializers.go | 101 +- service/savingsplans/deserializers.go | 118 +- service/scheduler/deserializers.go | 162 +- service/schemas/deserializers.go | 246 +- service/secretsmanager/deserializers.go | 261 +- service/securityhub/deserializers.go | 3373 +--------------- service/securitylake/deserializers.go | 171 +- .../deserializers.go | 192 +- service/servicecatalog/deserializers.go | 470 +-- .../deserializers.go | 183 +- service/servicediscovery/deserializers.go | 279 +- service/servicequotas/deserializers.go | 277 +- service/sesv2/deserializers.go | 523 +-- service/sfn/deserializers.go | 741 +--- service/shield/deserializers.go | 264 +- service/signer/deserializers.go | 261 +- service/simspaceweaver/deserializers.go | 144 +- service/sms/deserializers.go | 314 +- service/snowball/deserializers.go | 308 +- service/snowdevicemanagement/deserializers.go | 168 +- service/socialmessaging/deserializers.go | 149 +- service/sqs/deserializers.go | 386 +- service/ssm/deserializers.go | 2783 +------------ service/ssmcontacts/deserializers.go | 265 +- service/ssmincidents/deserializers.go | 225 +- service/ssmquicksetup/deserializers.go | 111 +- service/ssmsap/deserializers.go | 188 +- service/sso/deserializers.go | 62 +- service/ssoadmin/deserializers.go | 271 +- service/ssooidc/deserializers.go | 180 - service/storagegateway/deserializers.go | 439 +-- service/supplychain/deserializers.go | 169 +- service/support/deserializers.go | 213 +- service/supportapp/deserializers.go | 99 +- service/swf/deserializers.go | 511 +-- service/synthetics/deserializers.go | 205 +- service/taxsettings/deserializers.go | 167 +- service/textract/deserializers.go | 438 +-- service/timestreaminfluxdb/deserializers.go | 230 +- service/timestreamquery/deserializers.go | 248 +- service/timestreamwrite/deserializers.go | 227 +- service/tnb/deserializers.go | 293 +- service/transcribe/deserializers.go | 366 +- service/transcribestreaming/deserializers.go | 142 +- service/transfer/deserializers.go | 449 +-- service/translate/deserializers.go | 300 +- service/trustedadvisor/deserializers.go | 201 +- service/verifiedpermissions/deserializers.go | 292 +- service/voiceid/deserializers.go | 260 +- service/vpclattice/deserializers.go | 442 +-- service/waf/deserializers.go | 453 +-- service/wafregional/deserializers.go | 467 +-- service/wafv2/deserializers.go | 677 +--- service/wellarchitected/deserializers.go | 594 +-- service/wisdom/deserializers.go | 350 +- service/workdocs/deserializers.go | 462 +-- service/workmail/deserializers.go | 555 +-- service/workmailmessageflow/deserializers.go | 48 +- service/workspaces/deserializers.go | 645 +-- service/workspacesthinclient/deserializers.go | 206 +- service/workspacesweb/deserializers.go | 308 +- service/xray/deserializers.go | 392 +- 372 files changed, 4059 insertions(+), 142110 deletions(-) diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java index 972ea36e575..2b11cad256f 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java @@ -181,20 +181,8 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh }); }); - boolean isErrorStructure = shape.hasTrait(ErrorTrait.class); - if (isErrorStructure) { - writer.write("var errorMessage string"); - } - // Iterate through the decoder. The member visitor will handle popping tokens. writer.openBlock("for key, value := range shape {", "}", () -> { - if (isErrorStructure) { - writer.write("keyLower := strings.ToLower(key)"); - writer.write("if keyLower == \"message\" {"); - writer.write(" errorMessage = value.(string)"); - writer.write(" continue"); - writer.write("}"); - } writer.openBlock("switch key {", "}", () -> { Set members = new TreeSet<>(shape.members()); @@ -204,10 +192,16 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh } String memberName = symbolProvider.toMemberName(member); String serializedMemberName = getSerializedMemberName(member); - writer.openBlock("case $S:", "", serializedMemberName, () -> { - String dest = "sv." + memberName; - context.getModel().expectShape(member.getTarget()).accept(getMemberDeserVisitor(member, dest)); - }); + + boolean isErrorStructure = shape.hasTrait(ErrorTrait.class); + + if(isErrorStructure && memberName.equals("Message")){ + writer.write("case \"message\", \"Message\":"); + } else { + writer.write("case $S:",serializedMemberName); + } + String dest = "sv." + memberName; + context.getModel().expectShape(member.getTarget()).accept(getMemberDeserVisitor(member, dest)); } writer.openBlock("default:", "", () -> { @@ -216,11 +210,6 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh }); }); - if (isErrorStructure) { - writer.write("if errorMessage != \"\" {"); - writer.write(" sv.Message = &errorMessage"); - writer.write("}"); - } writer.write("*v = sv"); writer.write("return nil"); diff --git a/internal/protocoltest/awsrestjson/deserializers.go b/internal/protocoltest/awsrestjson/deserializers.go index 260307d2269..309f1be5bb0 100644 --- a/internal/protocoltest/awsrestjson/deserializers.go +++ b/internal/protocoltest/awsrestjson/deserializers.go @@ -540,7 +540,6 @@ func awsRestjson1_deserializeOpDocumentDatetimeOffsetsOutput(v **DatetimeOffsets } sv.Datetime = ptr.Time(t) } - default: _, _ = key, value @@ -689,7 +688,6 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeOutput(v **DocumentTypeOutput if err := awsRestjson1_deserializeDocumentDocument(&sv.DocumentValue, value); err != nil { return err } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -698,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeOutput(v **DocumentTypeOutput } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -847,7 +844,6 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeAsMapValueOutput(v **Document if err := awsRestjson1_deserializeDocumentDocumentValuedMap(&sv.DocValuedMap, value); err != nil { return err } - default: _, _ = key, value @@ -996,7 +992,6 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeAsPayloadOutput(v **DocumentT if err := awsRestjson1_deserializeDocumentDocument(&sv.DocumentValue, value); err != nil { return err } - default: _, _ = key, value @@ -1420,7 +1415,6 @@ func awsRestjson1_deserializeOpDocumentFractionalSecondsOutput(v **FractionalSec } sv.Datetime = ptr.Time(t) } - default: _, _ = key, value @@ -1776,7 +1770,6 @@ func awsRestjson1_deserializeOpDocumentHttpChecksumRequiredOutput(v **HttpChecks } sv.Foo = ptr.String(jtv) } - default: _, _ = key, value @@ -2295,7 +2288,6 @@ func awsRestjson1_deserializeOpDocumentHttpPayloadWithStructureOutput(v **HttpPa if err := awsRestjson1_deserializeDocumentNestedPayload(&sv.Nested, value); err != nil { return err } - default: _, _ = key, value @@ -2444,7 +2436,6 @@ func awsRestjson1_deserializeOpDocumentHttpPayloadWithUnionOutput(v **HttpPayloa if err := awsRestjson1_deserializeDocumentUnionPayload(&sv.Nested, value); err != nil { return err } - default: _, _ = key, value @@ -3485,7 +3476,6 @@ func awsRestjson1_deserializeOpDocumentIgnoreQueryParamsInResponseOutput(v **Ign } sv.Baz = ptr.String(jtv) } - default: _, _ = key, value @@ -3959,7 +3949,6 @@ func awsRestjson1_deserializeOpDocumentJsonBlobsOutput(v **JsonBlobsOutput, valu } sv.Data = dv } - default: _, _ = key, value @@ -4112,7 +4101,6 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum1 = types.FooEnum(jtv) } - case "fooEnum2": if value != nil { jtv, ok := value.(string) @@ -4121,7 +4109,6 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum2 = types.FooEnum(jtv) } - case "fooEnum3": if value != nil { jtv, ok := value.(string) @@ -4130,22 +4117,18 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum3 = types.FooEnum(jtv) } - case "fooEnumList": if err := awsRestjson1_deserializeDocumentFooEnumList(&sv.FooEnumList, value); err != nil { return err } - case "fooEnumMap": if err := awsRestjson1_deserializeDocumentFooEnumMap(&sv.FooEnumMap, value); err != nil { return err } - case "fooEnumSet": if err := awsRestjson1_deserializeDocumentFooEnumSet(&sv.FooEnumSet, value); err != nil { return err } - default: _, _ = key, value @@ -4302,7 +4285,6 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum1 = int32(i64) } - case "integerEnum2": if value != nil { jtv, ok := value.(json.Number) @@ -4315,7 +4297,6 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum2 = int32(i64) } - case "integerEnum3": if value != nil { jtv, ok := value.(json.Number) @@ -4328,22 +4309,18 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum3 = int32(i64) } - case "integerEnumList": if err := awsRestjson1_deserializeDocumentIntegerEnumList(&sv.IntegerEnumList, value); err != nil { return err } - case "integerEnumMap": if err := awsRestjson1_deserializeDocumentIntegerEnumMap(&sv.IntegerEnumMap, value); err != nil { return err } - case "integerEnumSet": if err := awsRestjson1_deserializeDocumentIntegerEnumSet(&sv.IntegerEnumSet, value); err != nil { return err } - default: _, _ = key, value @@ -4492,47 +4469,38 @@ func awsRestjson1_deserializeOpDocumentJsonListsOutput(v **JsonListsOutput, valu if err := awsRestjson1_deserializeDocumentBooleanList(&sv.BooleanList, value); err != nil { return err } - case "enumList": if err := awsRestjson1_deserializeDocumentFooEnumList(&sv.EnumList, value); err != nil { return err } - case "integerList": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.IntegerList, value); err != nil { return err } - case "intEnumList": if err := awsRestjson1_deserializeDocumentIntegerEnumList(&sv.IntEnumList, value); err != nil { return err } - case "nestedStringList": if err := awsRestjson1_deserializeDocumentNestedStringList(&sv.NestedStringList, value); err != nil { return err } - case "stringList": if err := awsRestjson1_deserializeDocumentStringList(&sv.StringList, value); err != nil { return err } - case "stringSet": if err := awsRestjson1_deserializeDocumentStringSet(&sv.StringSet, value); err != nil { return err } - case "myStructureList": if err := awsRestjson1_deserializeDocumentStructureList(&sv.StructureList, value); err != nil { return err } - case "timestampList": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.TimestampList, value); err != nil { return err } - default: _, _ = key, value @@ -4681,27 +4649,22 @@ func awsRestjson1_deserializeOpDocumentJsonMapsOutput(v **JsonMapsOutput, value if err := awsRestjson1_deserializeDocumentDenseBooleanMap(&sv.DenseBooleanMap, value); err != nil { return err } - case "denseNumberMap": if err := awsRestjson1_deserializeDocumentDenseNumberMap(&sv.DenseNumberMap, value); err != nil { return err } - case "denseSetMap": if err := awsRestjson1_deserializeDocumentDenseSetMap(&sv.DenseSetMap, value); err != nil { return err } - case "denseStringMap": if err := awsRestjson1_deserializeDocumentDenseStringMap(&sv.DenseStringMap, value); err != nil { return err } - case "denseStructMap": if err := awsRestjson1_deserializeDocumentDenseStructMap(&sv.DenseStructMap, value); err != nil { return err } - default: _, _ = key, value @@ -4858,7 +4821,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.DateTime = ptr.Time(t) } - case "dateTimeOnTarget": if value != nil { jtv, ok := value.(string) @@ -4871,7 +4833,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.DateTimeOnTarget = ptr.Time(t) } - case "epochSeconds": if value != nil { switch jtv := value.(type) { @@ -4887,7 +4848,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } - case "epochSecondsOnTarget": if value != nil { switch jtv := value.(type) { @@ -4903,7 +4863,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } - case "httpDate": if value != nil { jtv, ok := value.(string) @@ -4916,7 +4875,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.HttpDate = ptr.Time(t) } - case "httpDateOnTarget": if value != nil { jtv, ok := value.(string) @@ -4929,7 +4887,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.HttpDateOnTarget = ptr.Time(t) } - case "normal": if value != nil { switch jtv := value.(type) { @@ -4945,7 +4902,6 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } - default: _, _ = key, value @@ -5094,7 +5050,6 @@ func awsRestjson1_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsRestjson1_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } - default: _, _ = key, value @@ -5247,7 +5202,6 @@ func awsRestjson1_deserializeOpDocumentMalformedAcceptWithBodyOutput(v **Malform } sv.Hi = ptr.String(jtv) } - default: _, _ = key, value @@ -9071,7 +9025,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBlob = dv } - case "defaultBoolean": if value != nil { jtv, ok := value.(bool) @@ -9080,7 +9033,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBoolean = ptr.Bool(jtv) } - case "defaultByte": if value != nil { jtv, ok := value.(json.Number) @@ -9093,27 +9045,22 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultByte = ptr.Int8(int8(i64)) } - case "defaultDocumentBoolean": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentBoolean, value); err != nil { return err } - case "defaultDocumentList": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentList, value); err != nil { return err } - case "defaultDocumentMap": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentMap, value); err != nil { return err } - case "defaultDocumentString": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentString, value); err != nil { return err } - case "defaultDouble": if value != nil { switch jtv := value.(type) { @@ -9147,7 +9094,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "defaultEnum": if value != nil { jtv, ok := value.(string) @@ -9156,7 +9102,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultEnum = types.TestEnum(jtv) } - case "defaultFloat": if value != nil { switch jtv := value.(type) { @@ -9190,7 +9135,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "defaultInteger": if value != nil { jtv, ok := value.(json.Number) @@ -9203,7 +9147,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultInteger = ptr.Int32(int32(i64)) } - case "defaultIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -9216,12 +9159,10 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultIntEnum = int32(i64) } - case "defaultList": if err := awsRestjson1_deserializeDocumentTestStringList(&sv.DefaultList, value); err != nil { return err } - case "defaultLong": if value != nil { jtv, ok := value.(json.Number) @@ -9234,17 +9175,14 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultLong = ptr.Int64(i64) } - case "defaultMap": if err := awsRestjson1_deserializeDocumentTestStringMap(&sv.DefaultMap, value); err != nil { return err } - case "defaultNullDocument": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultNullDocument, value); err != nil { return err } - case "defaultShort": if value != nil { jtv, ok := value.(json.Number) @@ -9257,7 +9195,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultShort = ptr.Int16(int16(i64)) } - case "defaultString": if value != nil { jtv, ok := value.(string) @@ -9266,7 +9203,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultString = ptr.String(jtv) } - case "defaultTimestamp": if value != nil { switch jtv := value.(type) { @@ -9282,7 +9218,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "emptyBlob": if value != nil { jtv, ok := value.(string) @@ -9295,7 +9230,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyBlob = dv } - case "emptyString": if value != nil { jtv, ok := value.(string) @@ -9304,7 +9238,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyString = ptr.String(jtv) } - case "falseBoolean": if value != nil { jtv, ok := value.(bool) @@ -9313,7 +9246,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.FalseBoolean = jtv } - case "zeroByte": if value != nil { jtv, ok := value.(json.Number) @@ -9326,7 +9258,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroByte = int8(i64) } - case "zeroDouble": if value != nil { switch jtv := value.(type) { @@ -9360,7 +9291,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "zeroFloat": if value != nil { switch jtv := value.(type) { @@ -9394,7 +9324,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "zeroInteger": if value != nil { jtv, ok := value.(json.Number) @@ -9407,7 +9336,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroInteger = int32(i64) } - case "zeroLong": if value != nil { jtv, ok := value.(json.Number) @@ -9420,7 +9348,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroLong = i64 } - case "zeroShort": if value != nil { jtv, ok := value.(json.Number) @@ -9433,7 +9360,6 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroShort = int16(i64) } - default: _, _ = key, value @@ -9582,17 +9508,14 @@ func awsRestjson1_deserializeOpDocumentOperationWithNestedStructureOutput(v **Op if err := awsRestjson1_deserializeDocumentDialog(&sv.Dialog, value); err != nil { return err } - case "dialogList": if err := awsRestjson1_deserializeDocumentDialogList(&sv.DialogList, value); err != nil { return err } - case "dialogMap": if err := awsRestjson1_deserializeDocumentDialogMap(&sv.DialogMap, value); err != nil { return err } - default: _, _ = key, value @@ -9741,7 +9664,6 @@ func awsRestjson1_deserializeOpDocumentPostPlayerActionOutput(v **PostPlayerActi if err := awsRestjson1_deserializeDocumentPlayerAction(&sv.Action, value); err != nil { return err } - default: _, _ = key, value @@ -9890,7 +9812,6 @@ func awsRestjson1_deserializeOpDocumentPostUnionWithJsonNameOutput(v **PostUnion if err := awsRestjson1_deserializeDocumentUnionWithJsonName(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -10403,7 +10324,6 @@ func awsRestjson1_deserializeOpDocumentRecursiveShapesOutput(v **RecursiveShapes if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(&sv.Nested, value); err != nil { return err } - default: _, _ = key, value @@ -10762,7 +10682,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.ByteValue = ptr.Int8(int8(i64)) } - case "DoubleDribble": if value != nil { switch jtv := value.(type) { @@ -10796,7 +10715,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - case "falseBooleanValue": if value != nil { jtv, ok := value.(bool) @@ -10805,7 +10723,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.FalseBooleanValue = ptr.Bool(jtv) } - case "floatValue": if value != nil { switch jtv := value.(type) { @@ -10839,7 +10756,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -10852,7 +10768,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.IntegerValue = ptr.Int32(int32(i64)) } - case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -10865,7 +10780,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.LongValue = ptr.Int64(i64) } - case "shortValue": if value != nil { jtv, ok := value.(json.Number) @@ -10878,7 +10792,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.ShortValue = ptr.Int16(int16(i64)) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -10887,7 +10800,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.StringValue = ptr.String(jtv) } - case "trueBooleanValue": if value != nil { jtv, ok := value.(bool) @@ -10896,7 +10808,6 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.TrueBooleanValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11045,12 +10956,10 @@ func awsRestjson1_deserializeOpDocumentSparseJsonListsOutput(v **SparseJsonLists if err := awsRestjson1_deserializeDocumentSparseShortList(&sv.SparseShortList, value); err != nil { return err } - case "sparseStringList": if err := awsRestjson1_deserializeDocumentSparseStringList(&sv.SparseStringList, value); err != nil { return err } - default: _, _ = key, value @@ -11199,27 +11108,22 @@ func awsRestjson1_deserializeOpDocumentSparseJsonMapsOutput(v **SparseJsonMapsOu if err := awsRestjson1_deserializeDocumentSparseBooleanMap(&sv.SparseBooleanMap, value); err != nil { return err } - case "sparseNumberMap": if err := awsRestjson1_deserializeDocumentSparseNumberMap(&sv.SparseNumberMap, value); err != nil { return err } - case "sparseSetMap": if err := awsRestjson1_deserializeDocumentSparseSetMap(&sv.SparseSetMap, value); err != nil { return err } - case "sparseStringMap": if err := awsRestjson1_deserializeDocumentSparseStringMap(&sv.SparseStringMap, value); err != nil { return err } - case "sparseStructMap": if err := awsRestjson1_deserializeDocumentSparseStructMap(&sv.SparseStructMap, value); err != nil { return err } - default: _, _ = key, value @@ -11708,7 +11612,6 @@ func awsRestjson1_deserializeOpDocumentTestBodyStructureOutput(v **TestBodyStruc if err := awsRestjson1_deserializeDocumentTestConfig(&sv.TestConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12209,7 +12112,6 @@ func awsRestjson1_deserializeOpDocumentTestPayloadStructureOutput(v **TestPayloa if err := awsRestjson1_deserializeDocumentPayloadConfig(&sv.PayloadConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12792,13 +12694,7 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Header": if value != nil { @@ -12808,12 +12704,10 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value } sv.Header = ptr.String(jtv) } - case "Nested": if err := awsRestjson1_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } - case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -12822,15 +12716,11 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12865,7 +12755,6 @@ func awsRestjson1_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } - default: _, _ = key, value @@ -13082,7 +12971,6 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) if err := awsRestjson1_deserializeDocumentFarewell(&sv.Farewell, value); err != nil { return err } - case "greeting": if value != nil { jtv, ok := value.(string) @@ -13091,7 +12979,6 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Greeting = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -13100,7 +12987,6 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Language = ptr.String(jtv) } - default: _, _ = key, value @@ -13251,7 +13137,6 @@ func awsRestjson1_deserializeDocumentFarewell(v **types.Farewell, value interfac } sv.Phrase = ptr.String(jtv) } - default: _, _ = key, value @@ -13281,22 +13166,13 @@ func awsRestjson1_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13321,15 +13197,9 @@ func awsRestjson1_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13337,15 +13207,11 @@ func awsRestjson1_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13533,7 +13399,6 @@ func awsRestjson1_deserializeDocumentNestedPayload(v **types.NestedPayload, valu } sv.Greeting = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13542,7 +13407,6 @@ func awsRestjson1_deserializeDocumentNestedPayload(v **types.NestedPayload, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13586,7 +13450,6 @@ func awsRestjson1_deserializeDocumentPayloadConfig(v **types.PayloadConfig, valu } sv.Data = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13666,12 +13529,10 @@ func awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(v **types } sv.Foo = ptr.String(jtv) } - case "nested": if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested2(&sv.Nested, value); err != nil { return err } - default: _, _ = key, value @@ -13711,12 +13572,10 @@ func awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested2(v **types } sv.Bar = ptr.String(jtv) } - case "recursiveMember": if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(&sv.RecursiveMember, value); err != nil { return err } - default: _, _ = key, value @@ -13934,7 +13793,6 @@ func awsRestjson1_deserializeDocumentStructureListMember(v **types.StructureList } sv.A = ptr.String(jtv) } - case "other": if value != nil { jtv, ok := value.(string) @@ -13943,7 +13801,6 @@ func awsRestjson1_deserializeDocumentStructureListMember(v **types.StructureList } sv.B = ptr.String(jtv) } - default: _, _ = key, value @@ -13987,7 +13844,6 @@ func awsRestjson1_deserializeDocumentTestConfig(v **types.TestConfig, value inte } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14207,7 +14063,6 @@ func awsRestjson1_deserializeDocumentRenamedGreeting(v **types.RenamedGreeting, } sv.Salutation = ptr.String(jtv) } - default: _, _ = key, value @@ -14391,7 +14246,6 @@ func awsRestjson1_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } - default: _, _ = key, value diff --git a/internal/protocoltest/jsonrpc/deserializers.go b/internal/protocoltest/jsonrpc/deserializers.go index b240f607a81..e5e41195723 100644 --- a/internal/protocoltest/jsonrpc/deserializers.go +++ b/internal/protocoltest/jsonrpc/deserializers.go @@ -2078,19 +2078,12 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Nested": if err := awsAwsjson11_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } - case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -2099,15 +2092,11 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2142,7 +2131,6 @@ func awsAwsjson11_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } - default: _, _ = key, value @@ -2211,13 +2199,7 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -2227,12 +2209,10 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.Code = ptr.String(jtv) } - case "ComplexData": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.ComplexData, value); err != nil { return err } - case "IntegerField": if value != nil { jtv, ok := value.(json.Number) @@ -2245,18 +2225,15 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.IntegerField = ptr.Int32(int32(i64)) } - case "ListField": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListField, value); err != nil { return err } - case "MapField": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapField, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2264,7 +2241,6 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.Message = ptr.String(jtv) } - case "StringField": if value != nil { jtv, ok := value.(string) @@ -2273,15 +2249,11 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.StringField = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2306,22 +2278,13 @@ func awsAwsjson11_deserializeDocumentErrorWithoutMembers(v **types.ErrorWithoutM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2346,22 +2309,13 @@ func awsAwsjson11_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2386,15 +2340,9 @@ func awsAwsjson11_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2402,15 +2350,11 @@ func awsAwsjson11_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2449,7 +2393,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Blob = dv } - case "Boolean": if value != nil { jtv, ok := value.(bool) @@ -2458,7 +2401,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Boolean = ptr.Bool(jtv) } - case "Double": if value != nil { switch jtv := value.(type) { @@ -2492,12 +2434,10 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } - case "EmptyStruct": if err := awsAwsjson11_deserializeDocumentEmptyStruct(&sv.EmptyStruct, value); err != nil { return err } - case "Float": if value != nil { switch jtv := value.(type) { @@ -2531,7 +2471,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } - case "HttpdateTimestamp": if value != nil { jtv, ok := value.(string) @@ -2544,7 +2483,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.HttpdateTimestamp = ptr.Time(t) } - case "Integer": if value != nil { jtv, ok := value.(json.Number) @@ -2557,7 +2495,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Integer = ptr.Int32(int32(i64)) } - case "Iso8601Timestamp": if value != nil { jtv, ok := value.(string) @@ -2570,7 +2507,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Iso8601Timestamp = ptr.Time(t) } - case "JsonValue": if value != nil { jtv, ok := value.(string) @@ -2579,27 +2515,22 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.JsonValue = ptr.String(jtv) } - case "ListOfLists": if err := awsAwsjson11_deserializeDocumentListOfListOfStrings(&sv.ListOfLists, value); err != nil { return err } - case "ListOfMapsOfStrings": if err := awsAwsjson11_deserializeDocumentListOfMapsOfStrings(&sv.ListOfMapsOfStrings, value); err != nil { return err } - case "ListOfStrings": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListOfStrings, value); err != nil { return err } - case "ListOfStructs": if err := awsAwsjson11_deserializeDocumentListOfStructs(&sv.ListOfStructs, value); err != nil { return err } - case "Long": if value != nil { jtv, ok := value.(json.Number) @@ -2612,47 +2543,38 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Long = ptr.Int64(i64) } - case "MapOfListsOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfListsOfStrings(&sv.MapOfListsOfStrings, value); err != nil { return err } - case "MapOfMaps": if err := awsAwsjson11_deserializeDocumentMapOfMapOfStrings(&sv.MapOfMaps, value); err != nil { return err } - case "MapOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapOfStrings, value); err != nil { return err } - case "MapOfStructs": if err := awsAwsjson11_deserializeDocumentMapOfStructs(&sv.MapOfStructs, value); err != nil { return err } - case "RecursiveList": if err := awsAwsjson11_deserializeDocumentListOfKitchenSinks(&sv.RecursiveList, value); err != nil { return err } - case "RecursiveMap": if err := awsAwsjson11_deserializeDocumentMapOfKitchenSinks(&sv.RecursiveMap, value); err != nil { return err } - case "RecursiveStruct": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.RecursiveStruct, value); err != nil { return err } - case "SimpleStruct": if err := awsAwsjson11_deserializeDocumentSimpleStruct(&sv.SimpleStruct, value); err != nil { return err } - case "String": if value != nil { jtv, ok := value.(string) @@ -2661,12 +2583,10 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.String_ = ptr.String(jtv) } - case "StructWithJsonName": if err := awsAwsjson11_deserializeDocumentStructWithJsonName(&sv.StructWithJsonName, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -2682,7 +2602,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } - case "UnixTimestamp": if value != nil { switch jtv := value.(type) { @@ -2698,7 +2617,6 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } - default: _, _ = key, value @@ -3223,7 +3141,6 @@ func awsAwsjson11_deserializeDocumentSimpleStruct(v **types.SimpleStruct, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3263,7 +3180,6 @@ func awsAwsjson11_deserializeDocumentStructWithJsonName(v **types.StructWithJson } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3411,7 +3327,6 @@ func awsAwsjson11_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } - default: _, _ = key, value @@ -3750,7 +3665,6 @@ func awsAwsjson11_deserializeOpDocumentDatetimeOffsetsOutput(v **DatetimeOffsets } sv.Datetime = ptr.Time(t) } - default: _, _ = key, value @@ -3794,7 +3708,6 @@ func awsAwsjson11_deserializeOpDocumentFractionalSecondsOutput(v **FractionalSec } sv.Datetime = ptr.Time(t) } - default: _, _ = key, value @@ -3834,7 +3747,6 @@ func awsAwsjson11_deserializeOpDocumentGreetingWithErrorsOutput(v **GreetingWith } sv.Greeting = ptr.String(jtv) } - default: _, _ = key, value @@ -3874,7 +3786,6 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum1 = types.FooEnum(jtv) } - case "fooEnum2": if value != nil { jtv, ok := value.(string) @@ -3883,7 +3794,6 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum2 = types.FooEnum(jtv) } - case "fooEnum3": if value != nil { jtv, ok := value.(string) @@ -3892,22 +3802,18 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum3 = types.FooEnum(jtv) } - case "fooEnumList": if err := awsAwsjson11_deserializeDocumentFooEnumList(&sv.FooEnumList, value); err != nil { return err } - case "fooEnumMap": if err := awsAwsjson11_deserializeDocumentFooEnumMap(&sv.FooEnumMap, value); err != nil { return err } - case "fooEnumSet": if err := awsAwsjson11_deserializeDocumentFooEnumSet(&sv.FooEnumSet, value); err != nil { return err } - default: _, _ = key, value @@ -3951,7 +3857,6 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum1 = int32(i64) } - case "intEnum2": if value != nil { jtv, ok := value.(json.Number) @@ -3964,7 +3869,6 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum2 = int32(i64) } - case "intEnum3": if value != nil { jtv, ok := value.(json.Number) @@ -3977,22 +3881,18 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum3 = int32(i64) } - case "intEnumList": if err := awsAwsjson11_deserializeDocumentIntegerEnumList(&sv.IntEnumList, value); err != nil { return err } - case "intEnumMap": if err := awsAwsjson11_deserializeDocumentIntegerEnumMap(&sv.IntEnumMap, value); err != nil { return err } - case "intEnumSet": if err := awsAwsjson11_deserializeDocumentIntegerEnumSet(&sv.IntEnumSet, value); err != nil { return err } - default: _, _ = key, value @@ -4028,7 +3928,6 @@ func awsAwsjson11_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsAwsjson11_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } - default: _, _ = key, value @@ -4072,7 +3971,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Blob = dv } - case "Boolean": if value != nil { jtv, ok := value.(bool) @@ -4081,7 +3979,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Boolean = ptr.Bool(jtv) } - case "Double": if value != nil { switch jtv := value.(type) { @@ -4115,12 +4012,10 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } - case "EmptyStruct": if err := awsAwsjson11_deserializeDocumentEmptyStruct(&sv.EmptyStruct, value); err != nil { return err } - case "Float": if value != nil { switch jtv := value.(type) { @@ -4154,7 +4049,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } - case "HttpdateTimestamp": if value != nil { jtv, ok := value.(string) @@ -4167,7 +4061,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.HttpdateTimestamp = ptr.Time(t) } - case "Integer": if value != nil { jtv, ok := value.(json.Number) @@ -4180,7 +4073,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Integer = ptr.Int32(int32(i64)) } - case "Iso8601Timestamp": if value != nil { jtv, ok := value.(string) @@ -4193,7 +4085,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Iso8601Timestamp = ptr.Time(t) } - case "JsonValue": if value != nil { jtv, ok := value.(string) @@ -4202,27 +4093,22 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.JsonValue = ptr.String(jtv) } - case "ListOfLists": if err := awsAwsjson11_deserializeDocumentListOfListOfStrings(&sv.ListOfLists, value); err != nil { return err } - case "ListOfMapsOfStrings": if err := awsAwsjson11_deserializeDocumentListOfMapsOfStrings(&sv.ListOfMapsOfStrings, value); err != nil { return err } - case "ListOfStrings": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListOfStrings, value); err != nil { return err } - case "ListOfStructs": if err := awsAwsjson11_deserializeDocumentListOfStructs(&sv.ListOfStructs, value); err != nil { return err } - case "Long": if value != nil { jtv, ok := value.(json.Number) @@ -4235,47 +4121,38 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Long = ptr.Int64(i64) } - case "MapOfListsOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfListsOfStrings(&sv.MapOfListsOfStrings, value); err != nil { return err } - case "MapOfMaps": if err := awsAwsjson11_deserializeDocumentMapOfMapOfStrings(&sv.MapOfMaps, value); err != nil { return err } - case "MapOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapOfStrings, value); err != nil { return err } - case "MapOfStructs": if err := awsAwsjson11_deserializeDocumentMapOfStructs(&sv.MapOfStructs, value); err != nil { return err } - case "RecursiveList": if err := awsAwsjson11_deserializeDocumentListOfKitchenSinks(&sv.RecursiveList, value); err != nil { return err } - case "RecursiveMap": if err := awsAwsjson11_deserializeDocumentMapOfKitchenSinks(&sv.RecursiveMap, value); err != nil { return err } - case "RecursiveStruct": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.RecursiveStruct, value); err != nil { return err } - case "SimpleStruct": if err := awsAwsjson11_deserializeDocumentSimpleStruct(&sv.SimpleStruct, value); err != nil { return err } - case "String": if value != nil { jtv, ok := value.(string) @@ -4284,12 +4161,10 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.String_ = ptr.String(jtv) } - case "StructWithJsonName": if err := awsAwsjson11_deserializeDocumentStructWithJsonName(&sv.StructWithJsonName, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -4305,7 +4180,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } - case "UnixTimestamp": if value != nil { switch jtv := value.(type) { @@ -4321,7 +4195,6 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } - default: _, _ = key, value @@ -4361,7 +4234,6 @@ func awsAwsjson11_deserializeOpDocumentNullOperationOutput(v **NullOperationOutp } sv.String_ = ptr.String(jtv) } - default: _, _ = key, value @@ -4401,7 +4273,6 @@ func awsAwsjson11_deserializeOpDocumentOperationWithOptionalInputOutputOutput(v } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4437,7 +4308,6 @@ func awsAwsjson11_deserializeOpDocumentPutAndGetInlineDocumentsOutput(v **PutAnd if err := awsAwsjson11_deserializeDocumentDocument(&sv.InlineDocument, value); err != nil { return err } - default: _, _ = key, value @@ -4502,7 +4372,6 @@ func awsAwsjson11_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - case "floatValue": if value != nil { switch jtv := value.(type) { @@ -4536,7 +4405,6 @@ func awsAwsjson11_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - default: _, _ = key, value @@ -4572,12 +4440,10 @@ func awsAwsjson11_deserializeOpDocumentSparseNullsOperationOutput(v **SparseNull if err := awsAwsjson11_deserializeDocumentSparseStringList(&sv.SparseStringList, value); err != nil { return err } - case "sparseStringMap": if err := awsAwsjson11_deserializeDocumentSparseStringMap(&sv.SparseStringMap, value); err != nil { return err } - default: _, _ = key, value diff --git a/internal/protocoltest/jsonrpc10/deserializers.go b/internal/protocoltest/jsonrpc10/deserializers.go index b8e437046d5..075e8624814 100644 --- a/internal/protocoltest/jsonrpc10/deserializers.go +++ b/internal/protocoltest/jsonrpc10/deserializers.go @@ -1678,19 +1678,12 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Nested": if err := awsAwsjson10_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } - case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -1699,15 +1692,11 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1742,7 +1731,6 @@ func awsAwsjson10_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } - default: _, _ = key, value @@ -1778,7 +1766,6 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) if err := awsAwsjson10_deserializeDocumentFarewell(&sv.Farewell, value); err != nil { return err } - case "greeting": if value != nil { jtv, ok := value.(string) @@ -1787,7 +1774,6 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Greeting = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -1796,7 +1782,6 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Language = ptr.String(jtv) } - default: _, _ = key, value @@ -1905,7 +1890,6 @@ func awsAwsjson10_deserializeDocumentFarewell(v **types.Farewell, value interfac } sv.Phrase = ptr.String(jtv) } - default: _, _ = key, value @@ -1935,22 +1919,13 @@ func awsAwsjson10_deserializeDocumentFooError(v **types.FooError, value interfac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1975,15 +1950,9 @@ func awsAwsjson10_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1991,15 +1960,11 @@ func awsAwsjson10_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2337,7 +2302,6 @@ func awsAwsjson10_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } - default: _, _ = key, value @@ -2519,7 +2483,6 @@ func awsAwsjson10_deserializeOpDocumentGreetingWithErrorsOutput(v **GreetingWith } sv.Greeting = ptr.String(jtv) } - default: _, _ = key, value @@ -2555,7 +2518,6 @@ func awsAwsjson10_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsAwsjson10_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } - default: _, _ = key, value @@ -2630,7 +2592,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBlob = dv } - case "defaultBoolean": if value != nil { jtv, ok := value.(bool) @@ -2639,7 +2600,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBoolean = ptr.Bool(jtv) } - case "defaultByte": if value != nil { jtv, ok := value.(json.Number) @@ -2652,27 +2612,22 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultByte = ptr.Int8(int8(i64)) } - case "defaultDocumentBoolean": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentBoolean, value); err != nil { return err } - case "defaultDocumentList": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentList, value); err != nil { return err } - case "defaultDocumentMap": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentMap, value); err != nil { return err } - case "defaultDocumentString": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentString, value); err != nil { return err } - case "defaultDouble": if value != nil { switch jtv := value.(type) { @@ -2706,7 +2661,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "defaultEnum": if value != nil { jtv, ok := value.(string) @@ -2715,7 +2669,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultEnum = types.TestEnum(jtv) } - case "defaultFloat": if value != nil { switch jtv := value.(type) { @@ -2749,7 +2702,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "defaultInteger": if value != nil { jtv, ok := value.(json.Number) @@ -2762,7 +2714,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultInteger = ptr.Int32(int32(i64)) } - case "defaultIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -2775,12 +2726,10 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultIntEnum = int32(i64) } - case "defaultList": if err := awsAwsjson10_deserializeDocumentTestStringList(&sv.DefaultList, value); err != nil { return err } - case "defaultLong": if value != nil { jtv, ok := value.(json.Number) @@ -2793,17 +2742,14 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultLong = ptr.Int64(i64) } - case "defaultMap": if err := awsAwsjson10_deserializeDocumentTestStringMap(&sv.DefaultMap, value); err != nil { return err } - case "defaultNullDocument": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultNullDocument, value); err != nil { return err } - case "defaultShort": if value != nil { jtv, ok := value.(json.Number) @@ -2816,7 +2762,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultShort = ptr.Int16(int16(i64)) } - case "defaultString": if value != nil { jtv, ok := value.(string) @@ -2825,7 +2770,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultString = ptr.String(jtv) } - case "defaultTimestamp": if value != nil { switch jtv := value.(type) { @@ -2841,7 +2785,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "emptyBlob": if value != nil { jtv, ok := value.(string) @@ -2854,7 +2797,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyBlob = dv } - case "emptyString": if value != nil { jtv, ok := value.(string) @@ -2863,7 +2805,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyString = ptr.String(jtv) } - case "falseBoolean": if value != nil { jtv, ok := value.(bool) @@ -2872,7 +2813,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.FalseBoolean = jtv } - case "zeroByte": if value != nil { jtv, ok := value.(json.Number) @@ -2885,7 +2825,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroByte = int8(i64) } - case "zeroDouble": if value != nil { switch jtv := value.(type) { @@ -2919,7 +2858,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "zeroFloat": if value != nil { switch jtv := value.(type) { @@ -2953,7 +2891,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } - case "zeroInteger": if value != nil { jtv, ok := value.(json.Number) @@ -2966,7 +2903,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroInteger = int32(i64) } - case "zeroLong": if value != nil { jtv, ok := value.(json.Number) @@ -2979,7 +2915,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroLong = i64 } - case "zeroShort": if value != nil { jtv, ok := value.(json.Number) @@ -2992,7 +2927,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroShort = int16(i64) } - default: _, _ = key, value @@ -3028,17 +2962,14 @@ func awsAwsjson10_deserializeOpDocumentOperationWithNestedStructureOutput(v **Op if err := awsAwsjson10_deserializeDocumentDialog(&sv.Dialog, value); err != nil { return err } - case "dialogList": if err := awsAwsjson10_deserializeDocumentDialogList(&sv.DialogList, value); err != nil { return err } - case "dialogMap": if err := awsAwsjson10_deserializeDocumentDialogMap(&sv.DialogMap, value); err != nil { return err } - default: _, _ = key, value @@ -3082,7 +3013,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredBlob = dv } - case "requiredBoolean": if value != nil { jtv, ok := value.(bool) @@ -3091,7 +3021,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredBoolean = ptr.Bool(jtv) } - case "requiredByte": if value != nil { jtv, ok := value.(json.Number) @@ -3104,7 +3033,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredByte = ptr.Int8(int8(i64)) } - case "requiredDouble": if value != nil { switch jtv := value.(type) { @@ -3138,7 +3066,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } - case "requiredFloat": if value != nil { switch jtv := value.(type) { @@ -3172,7 +3099,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } - case "requiredInteger": if value != nil { jtv, ok := value.(json.Number) @@ -3185,12 +3111,10 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredInteger = ptr.Int32(int32(i64)) } - case "requiredList": if err := awsAwsjson10_deserializeDocumentRequiredStringList(&sv.RequiredList, value); err != nil { return err } - case "requiredLong": if value != nil { jtv, ok := value.(json.Number) @@ -3203,12 +3127,10 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredLong = ptr.Int64(i64) } - case "requiredMap": if err := awsAwsjson10_deserializeDocumentRequiredStringMap(&sv.RequiredMap, value); err != nil { return err } - case "requiredShort": if value != nil { jtv, ok := value.(json.Number) @@ -3221,7 +3143,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredShort = ptr.Int16(int16(i64)) } - case "requiredString": if value != nil { jtv, ok := value.(string) @@ -3230,7 +3151,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredString = ptr.String(jtv) } - case "requiredTimestamp": if value != nil { switch jtv := value.(type) { @@ -3246,7 +3166,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } - default: _, _ = key, value @@ -3290,7 +3209,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredBlob = dv } - case "requiredBoolean": if value != nil { jtv, ok := value.(bool) @@ -3299,7 +3217,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredBoolean = ptr.Bool(jtv) } - case "requiredByte": if value != nil { jtv, ok := value.(json.Number) @@ -3312,7 +3229,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredByte = ptr.Int8(int8(i64)) } - case "requiredDouble": if value != nil { switch jtv := value.(type) { @@ -3346,7 +3262,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } - case "requiredEnum": if value != nil { jtv, ok := value.(string) @@ -3355,7 +3270,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredEnum = types.RequiredEnum(jtv) } - case "requiredFloat": if value != nil { switch jtv := value.(type) { @@ -3389,7 +3303,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } - case "requiredInteger": if value != nil { jtv, ok := value.(json.Number) @@ -3402,7 +3315,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredInteger = ptr.Int32(int32(i64)) } - case "requiredIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -3415,12 +3327,10 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredIntEnum = int32(i64) } - case "requiredList": if err := awsAwsjson10_deserializeDocumentRequiredStringList(&sv.RequiredList, value); err != nil { return err } - case "requiredLong": if value != nil { jtv, ok := value.(json.Number) @@ -3433,12 +3343,10 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredLong = ptr.Int64(i64) } - case "requiredMap": if err := awsAwsjson10_deserializeDocumentRequiredStringMap(&sv.RequiredMap, value); err != nil { return err } - case "requiredShort": if value != nil { jtv, ok := value.(json.Number) @@ -3451,7 +3359,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredShort = ptr.Int16(int16(i64)) } - case "requiredString": if value != nil { jtv, ok := value.(string) @@ -3460,7 +3367,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredString = ptr.String(jtv) } - case "requiredTimestamp": if value != nil { switch jtv := value.(type) { @@ -3476,7 +3382,6 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } - default: _, _ = key, value @@ -3541,7 +3446,6 @@ func awsAwsjson10_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - case "floatValue": if value != nil { switch jtv := value.(type) { @@ -3575,7 +3479,6 @@ func awsAwsjson10_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } - default: _, _ = key, value diff --git a/service/accessanalyzer/deserializers.go b/service/accessanalyzer/deserializers.go index 95eab892082..0fb3366945e 100644 --- a/service/accessanalyzer/deserializers.go +++ b/service/accessanalyzer/deserializers.go @@ -395,12 +395,10 @@ func awsRestjson1_deserializeOpDocumentCheckAccessNotGrantedOutput(v **CheckAcce } sv.Message = ptr.String(jtv) } - case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -409,7 +407,6 @@ func awsRestjson1_deserializeOpDocumentCheckAccessNotGrantedOutput(v **CheckAcce } sv.Result = types.CheckAccessNotGrantedResult(jtv) } - default: _, _ = key, value @@ -580,12 +577,10 @@ func awsRestjson1_deserializeOpDocumentCheckNoNewAccessOutput(v **CheckNoNewAcce } sv.Message = ptr.String(jtv) } - case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -594,7 +589,6 @@ func awsRestjson1_deserializeOpDocumentCheckNoNewAccessOutput(v **CheckNoNewAcce } sv.Result = types.CheckNoNewAccessResult(jtv) } - default: _, _ = key, value @@ -765,12 +759,10 @@ func awsRestjson1_deserializeOpDocumentCheckNoPublicAccessOutput(v **CheckNoPubl } sv.Message = ptr.String(jtv) } - case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -779,7 +771,6 @@ func awsRestjson1_deserializeOpDocumentCheckNoPublicAccessOutput(v **CheckNoPubl } sv.Result = types.CheckNoPublicAccessResult(jtv) } - default: _, _ = key, value @@ -953,7 +944,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPreviewOutput(v **CreateAcces } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1124,7 +1114,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalyzerOutput(v **CreateAnalyzerOu } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1715,7 +1704,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessPreviewOutput(v **GetAccessPrevi if err := awsRestjson1_deserializeDocumentAccessPreview(&sv.AccessPreview, value); err != nil { return err } - default: _, _ = key, value @@ -1879,7 +1867,6 @@ func awsRestjson1_deserializeOpDocumentGetAnalyzedResourceOutput(v **GetAnalyzed if err := awsRestjson1_deserializeDocumentAnalyzedResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -2043,7 +2030,6 @@ func awsRestjson1_deserializeOpDocumentGetAnalyzerOutput(v **GetAnalyzerOutput, if err := awsRestjson1_deserializeDocumentAnalyzerSummary(&sv.Analyzer, value); err != nil { return err } - default: _, _ = key, value @@ -2207,7 +2193,6 @@ func awsRestjson1_deserializeOpDocumentGetArchiveRuleOutput(v **GetArchiveRuleOu if err := awsRestjson1_deserializeDocumentArchiveRuleSummary(&sv.ArchiveRule, value); err != nil { return err } - default: _, _ = key, value @@ -2371,7 +2356,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingOutput(v **GetFindingOutput, va if err := awsRestjson1_deserializeDocumentFinding(&sv.Finding, value); err != nil { return err } - default: _, _ = key, value @@ -2543,12 +2527,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.CompletedAt = ptr.Time(t) } - case "error": if err := awsRestjson1_deserializeDocumentRecommendationError(&sv.Error, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2557,7 +2539,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.NextToken = ptr.String(jtv) } - case "recommendationType": if value != nil { jtv, ok := value.(string) @@ -2566,12 +2547,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.RecommendationType = types.RecommendationType(jtv) } - case "recommendedSteps": if err := awsRestjson1_deserializeDocumentRecommendedStepList(&sv.RecommendedSteps, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -2580,7 +2559,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.ResourceArn = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -2593,7 +2571,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2602,7 +2579,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -2774,7 +2750,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.AnalyzedAt = ptr.Time(t) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2787,7 +2762,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -2796,12 +2770,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Error = ptr.String(jtv) } - case "findingDetails": if err := awsRestjson1_deserializeDocumentFindingDetailsList(&sv.FindingDetails, value); err != nil { return err } - case "findingType": if value != nil { jtv, ok := value.(string) @@ -2810,7 +2782,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.FindingType = types.FindingType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2819,7 +2790,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Id = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2828,7 +2798,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.NextToken = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -2837,7 +2806,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Resource = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -2846,7 +2814,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2855,7 +2822,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2864,7 +2830,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Status = types.FindingStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -2877,7 +2842,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3038,12 +3002,10 @@ func awsRestjson1_deserializeOpDocumentGetGeneratedPolicyOutput(v **GetGenerated if err := awsRestjson1_deserializeDocumentGeneratedPolicyResult(&sv.GeneratedPolicyResult, value); err != nil { return err } - case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3210,7 +3172,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewFindingsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAccessPreviewFindingsList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3219,7 +3180,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewFindingsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3383,7 +3343,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewsOutput(v **ListAccessPr if err := awsRestjson1_deserializeDocumentAccessPreviewsList(&sv.AccessPreviews, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3392,7 +3351,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewsOutput(v **ListAccessPr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3556,7 +3514,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzedResourcesOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalyzedResourcesList(&sv.AnalyzedResources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3565,7 +3522,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzedResourcesOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3726,7 +3682,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzersOutput(v **ListAnalyzersOutp if err := awsRestjson1_deserializeDocumentAnalyzersList(&sv.Analyzers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3735,7 +3690,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzersOutput(v **ListAnalyzersOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3896,7 +3850,6 @@ func awsRestjson1_deserializeOpDocumentListArchiveRulesOutput(v **ListArchiveRul if err := awsRestjson1_deserializeDocumentArchiveRulesList(&sv.ArchiveRules, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3905,7 +3858,6 @@ func awsRestjson1_deserializeOpDocumentListArchiveRulesOutput(v **ListArchiveRul } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4069,7 +4021,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingsList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4078,7 +4029,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4242,7 +4192,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsV2Output(v **ListFindingsV2Ou if err := awsRestjson1_deserializeDocumentFindingsListV2(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4251,7 +4200,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsV2Output(v **ListFindingsV2Ou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4416,12 +4364,10 @@ func awsRestjson1_deserializeOpDocumentListPolicyGenerationsOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } - case "policyGenerations": if err := awsRestjson1_deserializeDocumentPolicyGenerationList(&sv.PolicyGenerations, value); err != nil { return err } - default: _, _ = key, value @@ -4585,7 +4531,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4756,7 +4701,6 @@ func awsRestjson1_deserializeOpDocumentStartPolicyGenerationOutput(v **StartPoli } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -5435,7 +5379,6 @@ func awsRestjson1_deserializeOpDocumentValidatePolicyOutput(v **ValidatePolicyOu if err := awsRestjson1_deserializeDocumentValidatePolicyFindingList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5444,7 +5387,6 @@ func awsRestjson1_deserializeOpDocumentValidatePolicyOutput(v **ValidatePolicyOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5838,15 +5780,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5854,15 +5790,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5897,12 +5829,10 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.AnalyzerArn = ptr.String(jtv) } - case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationsMap(&sv.Configurations, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5915,7 +5845,6 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5924,7 +5853,6 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5933,12 +5861,10 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.Status = types.AccessPreviewStatus(jtv) } - case "statusReason": if err := awsRestjson1_deserializeDocumentAccessPreviewStatusReason(&sv.StatusReason, value); err != nil { return err } - default: _, _ = key, value @@ -5974,7 +5900,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } - case "changeType": if value != nil { jtv, ok := value.(string) @@ -5983,12 +5908,10 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ChangeType = types.FindingChangeType(jtv) } - case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6001,7 +5924,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6010,7 +5932,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Error = ptr.String(jtv) } - case "existingFindingId": if value != nil { jtv, ok := value.(string) @@ -6019,7 +5940,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ExistingFindingId = ptr.String(jtv) } - case "existingFindingStatus": if value != nil { jtv, ok := value.(string) @@ -6028,7 +5948,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ExistingFindingStatus = types.FindingStatus(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6037,7 +5956,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Id = ptr.String(jtv) } - case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -6046,12 +5964,10 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.IsPublic = ptr.Bool(jtv) } - case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -6060,7 +5976,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Resource = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -6069,7 +5984,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6078,12 +5992,10 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ResourceType = types.ResourceType(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6092,7 +6004,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Status = types.FindingStatus(jtv) } - default: _, _ = key, value @@ -6200,7 +6111,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewStatusReason(v **types.AccessP } sv.Code = types.AccessPreviewStatusReasonCode(jtv) } - default: _, _ = key, value @@ -6240,7 +6150,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.AnalyzerArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6253,7 +6162,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6262,7 +6170,6 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6271,12 +6178,10 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.Status = types.AccessPreviewStatus(jtv) } - case "statusReason": if err := awsRestjson1_deserializeDocumentAccessPreviewStatusReason(&sv.StatusReason, value); err != nil { return err } - default: _, _ = key, value @@ -6402,7 +6307,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -6415,7 +6319,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.AnalyzedAt = ptr.Time(t) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6428,7 +6331,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6437,7 +6339,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.Error = ptr.String(jtv) } - case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -6446,7 +6347,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.IsPublic = ptr.Bool(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6455,7 +6355,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceArn = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -6464,7 +6363,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6473,12 +6371,10 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceType = types.ResourceType(jtv) } - case "sharedVia": if err := awsRestjson1_deserializeDocumentSharedViaList(&sv.SharedVia, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6487,7 +6383,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.Status = types.FindingStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6500,7 +6395,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6574,7 +6468,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceArn = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -6583,7 +6476,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6592,7 +6484,6 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -6706,12 +6597,10 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Arn = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAnalyzerConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6724,7 +6613,6 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.CreatedAt = ptr.Time(t) } - case "lastResourceAnalyzed": if value != nil { jtv, ok := value.(string) @@ -6733,7 +6621,6 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.LastResourceAnalyzed = ptr.String(jtv) } - case "lastResourceAnalyzedAt": if value != nil { jtv, ok := value.(string) @@ -6746,7 +6633,6 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.LastResourceAnalyzedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6755,7 +6641,6 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6764,17 +6649,14 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Status = types.AnalyzerStatus(jtv) } - case "statusReason": if err := awsRestjson1_deserializeDocumentStatusReason(&sv.StatusReason, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6783,7 +6665,6 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -6861,12 +6742,10 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.CreatedAt = ptr.Time(t) } - case "filter": if err := awsRestjson1_deserializeDocumentFilterCriteriaMap(&sv.Filter, value); err != nil { return err } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -6875,7 +6754,6 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.RuleName = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6888,7 +6766,6 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6932,7 +6809,6 @@ func awsRestjson1_deserializeDocumentCloudTrailProperties(v **types.CloudTrailPr } sv.EndTime = ptr.Time(t) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6945,12 +6821,10 @@ func awsRestjson1_deserializeDocumentCloudTrailProperties(v **types.CloudTrailPr } sv.StartTime = ptr.Time(t) } - case "trailProperties": if err := awsRestjson1_deserializeDocumentTrailPropertiesList(&sv.TrailProperties, value); err != nil { return err } - default: _, _ = key, value @@ -7220,15 +7094,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7236,7 +7104,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7245,7 +7112,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7254,15 +7120,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7293,12 +7155,10 @@ func awsRestjson1_deserializeDocumentCriterion(v **types.Criterion, value interf if err := awsRestjson1_deserializeDocumentValueList(&sv.Contains, value); err != nil { return err } - case "eq": if err := awsRestjson1_deserializeDocumentValueList(&sv.Eq, value); err != nil { return err } - case "exists": if value != nil { jtv, ok := value.(bool) @@ -7307,12 +7167,10 @@ func awsRestjson1_deserializeDocumentCriterion(v **types.Criterion, value interf } sv.Exists = ptr.Bool(jtv) } - case "neq": if err := awsRestjson1_deserializeDocumentValueList(&sv.Neq, value); err != nil { return err } - default: _, _ = key, value @@ -7352,7 +7210,6 @@ func awsRestjson1_deserializeDocumentDynamodbStreamConfiguration(v **types.Dynam } sv.StreamPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -7392,7 +7249,6 @@ func awsRestjson1_deserializeDocumentDynamodbTableConfiguration(v **types.Dynamo } sv.TablePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -7464,7 +7320,6 @@ func awsRestjson1_deserializeDocumentEbsSnapshotConfiguration(v **types.EbsSnaps if err := awsRestjson1_deserializeDocumentEbsGroupList(&sv.Groups, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7473,12 +7328,10 @@ func awsRestjson1_deserializeDocumentEbsSnapshotConfiguration(v **types.EbsSnaps } sv.KmsKeyId = ptr.String(jtv) } - case "userIds": if err := awsRestjson1_deserializeDocumentEbsUserIdList(&sv.UserIds, value); err != nil { return err } - default: _, _ = key, value @@ -7554,7 +7407,6 @@ func awsRestjson1_deserializeDocumentEcrRepositoryConfiguration(v **types.EcrRep } sv.RepositoryPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -7594,7 +7446,6 @@ func awsRestjson1_deserializeDocumentEfsFileSystemConfiguration(v **types.EfsFil } sv.FileSystemPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -7630,12 +7481,10 @@ func awsRestjson1_deserializeDocumentExternalAccessDetails(v **types.ExternalAcc if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } - case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } - case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -7644,17 +7493,14 @@ func awsRestjson1_deserializeDocumentExternalAccessDetails(v **types.ExternalAcc } sv.IsPublic = ptr.Bool(jtv) } - case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -7725,7 +7571,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } - case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -7738,12 +7583,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AnalyzedAt = ptr.Time(t) } - case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7756,7 +7599,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7607,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Error = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7774,7 +7615,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -7783,12 +7623,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.IsPublic = ptr.Bool(jtv) } - case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -7797,7 +7635,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Resource = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -7806,7 +7643,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7815,12 +7651,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ResourceType = types.ResourceType(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7829,7 +7663,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.FindingStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7842,7 +7675,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8058,7 +7890,6 @@ func awsRestjson1_deserializeDocumentFindingSource(v **types.FindingSource, valu if err := awsRestjson1_deserializeDocumentFindingSourceDetail(&sv.Detail, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8067,7 +7898,6 @@ func awsRestjson1_deserializeDocumentFindingSource(v **types.FindingSource, valu } sv.Type = types.FindingSourceType(jtv) } - default: _, _ = key, value @@ -8107,7 +7937,6 @@ func awsRestjson1_deserializeDocumentFindingSourceDetail(v **types.FindingSource } sv.AccessPointAccount = ptr.String(jtv) } - case "accessPointArn": if value != nil { jtv, ok := value.(string) @@ -8116,7 +7945,6 @@ func awsRestjson1_deserializeDocumentFindingSourceDetail(v **types.FindingSource } sv.AccessPointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8186,7 +8014,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } - case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -8199,12 +8026,10 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.AnalyzedAt = ptr.Time(t) } - case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -8217,7 +8042,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8226,7 +8050,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Error = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8235,7 +8058,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Id = ptr.String(jtv) } - case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -8244,12 +8066,10 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.IsPublic = ptr.Bool(jtv) } - case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -8258,7 +8078,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Resource = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8267,7 +8086,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8276,12 +8094,10 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.ResourceType = types.ResourceType(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8290,7 +8106,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Status = types.FindingStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8303,7 +8118,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8347,7 +8161,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.AnalyzedAt = ptr.Time(t) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -8360,7 +8173,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.CreatedAt = ptr.Time(t) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8369,7 +8181,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Error = ptr.String(jtv) } - case "findingType": if value != nil { jtv, ok := value.(string) @@ -8378,7 +8189,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.FindingType = types.FindingType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8387,7 +8197,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Id = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -8396,7 +8205,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Resource = ptr.String(jtv) } - case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8405,7 +8213,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.ResourceOwnerAccount = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8414,7 +8221,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8423,7 +8229,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Status = types.FindingStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8436,7 +8241,6 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8476,7 +8280,6 @@ func awsRestjson1_deserializeDocumentGeneratedPolicy(v **types.GeneratedPolicy, } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -8546,7 +8349,6 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat if err := awsRestjson1_deserializeDocumentCloudTrailProperties(&sv.CloudTrailProperties, value); err != nil { return err } - case "isComplete": if value != nil { jtv, ok := value.(bool) @@ -8555,7 +8357,6 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat } sv.IsComplete = ptr.Bool(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -8564,7 +8365,6 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat } sv.PrincipalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8600,12 +8400,10 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyResult(v **types.GeneratedPo if err := awsRestjson1_deserializeDocumentGeneratedPolicyList(&sv.GeneratedPolicies, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentGeneratedPolicyProperties(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -8645,7 +8443,6 @@ func awsRestjson1_deserializeDocumentIamRoleConfiguration(v **types.IamRoleConfi } sv.TrustPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -8675,15 +8472,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8691,7 +8482,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8704,15 +8494,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8768,15 +8554,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8784,15 +8564,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8831,12 +8607,10 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.CompletedOn = ptr.Time(t) } - case "jobError": if err := awsRestjson1_deserializeDocumentJobError(&sv.JobError, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -8845,7 +8619,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.JobId = ptr.String(jtv) } - case "startedOn": if value != nil { jtv, ok := value.(string) @@ -8858,7 +8631,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.StartedOn = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8867,7 +8639,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -8907,7 +8678,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Code = types.JobErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8916,7 +8686,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -8988,7 +8757,6 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon if err := awsRestjson1_deserializeDocumentKmsGrantConstraints(&sv.Constraints, value); err != nil { return err } - case "granteePrincipal": if value != nil { jtv, ok := value.(string) @@ -8997,7 +8765,6 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.GranteePrincipal = ptr.String(jtv) } - case "issuingAccount": if value != nil { jtv, ok := value.(string) @@ -9006,12 +8773,10 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.IssuingAccount = ptr.String(jtv) } - case "operations": if err := awsRestjson1_deserializeDocumentKmsGrantOperationsList(&sv.Operations, value); err != nil { return err } - case "retiringPrincipal": if value != nil { jtv, ok := value.(string) @@ -9020,7 +8785,6 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.RetiringPrincipal = ptr.String(jtv) } - default: _, _ = key, value @@ -9090,12 +8854,10 @@ func awsRestjson1_deserializeDocumentKmsGrantConstraints(v **types.KmsGrantConst if err := awsRestjson1_deserializeDocumentKmsConstraintsMap(&sv.EncryptionContextEquals, value); err != nil { return err } - case "encryptionContextSubset": if err := awsRestjson1_deserializeDocumentKmsConstraintsMap(&sv.EncryptionContextSubset, value); err != nil { return err } - default: _, _ = key, value @@ -9167,12 +8929,10 @@ func awsRestjson1_deserializeDocumentKmsKeyConfiguration(v **types.KmsKeyConfigu if err := awsRestjson1_deserializeDocumentKmsGrantConfigurationsList(&sv.Grants, value); err != nil { return err } - case "keyPolicies": if err := awsRestjson1_deserializeDocumentKmsKeyPoliciesMap(&sv.KeyPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -9244,12 +9004,10 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac if err := awsRestjson1_deserializeDocumentPathElementList(&sv.Path, value); err != nil { return err } - case "span": if err := awsRestjson1_deserializeDocumentSpan(&sv.Span, value); err != nil { return err } - default: _, _ = key, value @@ -9489,7 +9247,6 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.CompletedOn = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -9498,7 +9255,6 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.JobId = ptr.String(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -9507,7 +9263,6 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.PrincipalArn = ptr.String(jtv) } - case "startedOn": if value != nil { jtv, ok := value.(string) @@ -9520,7 +9275,6 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.StartedOn = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9529,7 +9283,6 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -9607,7 +9360,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Column = ptr.Int32(int32(i64)) } - case "line": if value != nil { jtv, ok := value.(json.Number) @@ -9620,7 +9372,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Line = ptr.Int32(int32(i64)) } - case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -9633,7 +9384,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Offset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9813,7 +9563,6 @@ func awsRestjson1_deserializeDocumentRdsDbClusterSnapshotConfiguration(v **types if err := awsRestjson1_deserializeDocumentRdsDbClusterSnapshotAttributesMap(&sv.Attributes, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9822,7 +9571,6 @@ func awsRestjson1_deserializeDocumentRdsDbClusterSnapshotConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -9966,7 +9714,6 @@ func awsRestjson1_deserializeDocumentRdsDbSnapshotConfiguration(v **types.RdsDbS if err := awsRestjson1_deserializeDocumentRdsDbSnapshotAttributesMap(&sv.Attributes, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9975,7 +9722,6 @@ func awsRestjson1_deserializeDocumentRdsDbSnapshotConfiguration(v **types.RdsDbS } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -10015,7 +9761,6 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.Description = ptr.String(jtv) } - case "statementId": if value != nil { jtv, ok := value.(string) @@ -10024,7 +9769,6 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.StatementId = ptr.String(jtv) } - case "statementIndex": if value != nil { jtv, ok := value.(json.Number) @@ -10037,7 +9781,6 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.StatementIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10111,7 +9854,6 @@ func awsRestjson1_deserializeDocumentRecommendationError(v **types.Recommendatio } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -10120,7 +9862,6 @@ func awsRestjson1_deserializeDocumentRecommendationError(v **types.Recommendatio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10258,15 +9999,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10274,7 +10009,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10283,7 +10017,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10292,15 +10025,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10335,17 +10064,14 @@ func awsRestjson1_deserializeDocumentS3AccessPointConfiguration(v **types.S3Acce } sv.AccessPointPolicy = ptr.String(jtv) } - case "networkOrigin": if err := awsRestjson1_deserializeDocumentNetworkOriginConfiguration(&sv.NetworkOrigin, value); err != nil { return err } - case "publicAccessBlock": if err := awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(&sv.PublicAccessBlock, value); err != nil { return err } - default: _, _ = key, value @@ -10416,7 +10142,6 @@ func awsRestjson1_deserializeDocumentS3BucketAclGrantConfiguration(v **types.S3B if err := awsRestjson1_deserializeDocumentAclGrantee(&sv.Grantee, value); err != nil { return err } - case "permission": if value != nil { jtv, ok := value.(string) @@ -10425,7 +10150,6 @@ func awsRestjson1_deserializeDocumentS3BucketAclGrantConfiguration(v **types.S3B } sv.Permission = types.AclPermission(jtv) } - default: _, _ = key, value @@ -10495,12 +10219,10 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon if err := awsRestjson1_deserializeDocumentS3AccessPointConfigurationsMap(&sv.AccessPoints, value); err != nil { return err } - case "bucketAclGrants": if err := awsRestjson1_deserializeDocumentS3BucketAclGrantConfigurationsList(&sv.BucketAclGrants, value); err != nil { return err } - case "bucketPolicy": if value != nil { jtv, ok := value.(string) @@ -10509,12 +10231,10 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketPolicy = ptr.String(jtv) } - case "bucketPublicAccessBlock": if err := awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(&sv.BucketPublicAccessBlock, value); err != nil { return err } - default: _, _ = key, value @@ -10554,7 +10274,6 @@ func awsRestjson1_deserializeDocumentS3ExpressDirectoryBucketConfiguration(v **t } sv.BucketPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -10594,7 +10313,6 @@ func awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(v **types. } sv.IgnorePublicAcls = ptr.Bool(jtv) } - case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -10603,7 +10321,6 @@ func awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(v **types. } sv.RestrictPublicBuckets = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10643,7 +10360,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - case "secretPolicy": if value != nil { jtv, ok := value.(string) @@ -10652,7 +10368,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretConfiguration(v **types } sv.SecretPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -10682,15 +10397,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10698,7 +10407,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10707,7 +10415,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10716,15 +10423,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10795,7 +10498,6 @@ func awsRestjson1_deserializeDocumentSnsTopicConfiguration(v **types.SnsTopicCon } sv.TopicPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -10831,12 +10533,10 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err if err := awsRestjson1_deserializeDocumentPosition(&sv.End, value); err != nil { return err } - case "start": if err := awsRestjson1_deserializeDocumentPosition(&sv.Start, value); err != nil { return err } - default: _, _ = key, value @@ -10876,7 +10576,6 @@ func awsRestjson1_deserializeDocumentSqsQueueConfiguration(v **types.SqsQueueCon } sv.QueuePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -10916,7 +10615,6 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.Code = types.ReasonCode(jtv) } - default: _, _ = key, value @@ -10960,7 +10658,6 @@ func awsRestjson1_deserializeDocumentSubstring(v **types.Substring, value interf } sv.Length = ptr.Int32(int32(i64)) } - case "start": if value != nil { jtv, ok := value.(json.Number) @@ -10973,7 +10670,6 @@ func awsRestjson1_deserializeDocumentSubstring(v **types.Substring, value interf } sv.Start = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11039,15 +10735,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11055,7 +10745,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11068,15 +10757,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11111,7 +10796,6 @@ func awsRestjson1_deserializeDocumentTrailProperties(v **types.TrailProperties, } sv.AllRegions = ptr.Bool(jtv) } - case "cloudTrailArn": if value != nil { jtv, ok := value.(string) @@ -11120,12 +10804,10 @@ func awsRestjson1_deserializeDocumentTrailProperties(v **types.TrailProperties, } sv.CloudTrailArn = ptr.String(jtv) } - case "regions": if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -11189,15 +10871,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11205,15 +10881,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11252,7 +10924,6 @@ func awsRestjson1_deserializeDocumentUnusedAccessConfiguration(v **types.UnusedA } sv.UnusedAccessAge = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11292,7 +10963,6 @@ func awsRestjson1_deserializeDocumentUnusedAction(v **types.UnusedAction, value } sv.Action = ptr.String(jtv) } - case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -11305,7 +10975,6 @@ func awsRestjson1_deserializeDocumentUnusedAction(v **types.UnusedAction, value } sv.LastAccessed = ptr.Time(t) } - default: _, _ = key, value @@ -11383,7 +11052,6 @@ func awsRestjson1_deserializeDocumentUnusedIamRoleDetails(v **types.UnusedIamRol } sv.LastAccessed = ptr.Time(t) } - default: _, _ = key, value @@ -11423,7 +11091,6 @@ func awsRestjson1_deserializeDocumentUnusedIamUserAccessKeyDetails(v **types.Unu } sv.AccessKeyId = ptr.String(jtv) } - case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -11436,7 +11103,6 @@ func awsRestjson1_deserializeDocumentUnusedIamUserAccessKeyDetails(v **types.Unu } sv.LastAccessed = ptr.Time(t) } - default: _, _ = key, value @@ -11480,7 +11146,6 @@ func awsRestjson1_deserializeDocumentUnusedIamUserPasswordDetails(v **types.Unus } sv.LastAccessed = ptr.Time(t) } - default: _, _ = key, value @@ -11516,7 +11181,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer if err := awsRestjson1_deserializeDocumentUnusedActionList(&sv.Actions, value); err != nil { return err } - case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -11529,7 +11193,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer } sv.LastAccessed = ptr.Time(t) } - case "serviceNamespace": if value != nil { jtv, ok := value.(string) @@ -11538,7 +11201,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer } sv.ServiceNamespace = ptr.String(jtv) } - default: _, _ = key, value @@ -11578,7 +11240,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.ExistingPolicyId = ptr.String(jtv) } - case "policyUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11591,7 +11252,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.PolicyUpdatedAt = ptr.Time(t) } - case "recommendedAction": if value != nil { jtv, ok := value.(string) @@ -11600,7 +11260,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.RecommendedAction = types.RecommendedRemediationAction(jtv) } - case "recommendedPolicy": if value != nil { jtv, ok := value.(string) @@ -11609,7 +11268,6 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.RecommendedPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -11649,7 +11307,6 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.FindingDetails = ptr.String(jtv) } - case "findingType": if value != nil { jtv, ok := value.(string) @@ -11658,7 +11315,6 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.FindingType = types.ValidatePolicyFindingType(jtv) } - case "issueCode": if value != nil { jtv, ok := value.(string) @@ -11667,7 +11323,6 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.IssueCode = ptr.String(jtv) } - case "learnMoreLink": if value != nil { jtv, ok := value.(string) @@ -11676,12 +11331,10 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.LearnMoreLink = ptr.String(jtv) } - case "locations": if err := awsRestjson1_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } - default: _, _ = key, value @@ -11745,20 +11398,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11766,7 +11412,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -11775,15 +11420,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11818,7 +11459,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11467,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11937,7 +11576,6 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/account/deserializers.go b/service/account/deserializers.go index d28bdc14d50..f8cd9c63d0e 100644 --- a/service/account/deserializers.go +++ b/service/account/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentAcceptPrimaryEmailUpdateOutput(v **Accept } sv.Status = types.PrimaryEmailUpdateStatus(jtv) } - default: _, _ = key, value @@ -673,7 +672,6 @@ func awsRestjson1_deserializeOpDocumentGetAlternateContactOutput(v **GetAlternat if err := awsRestjson1_deserializeDocumentAlternateContact(&sv.AlternateContact, value); err != nil { return err } - default: _, _ = key, value @@ -837,7 +835,6 @@ func awsRestjson1_deserializeOpDocumentGetContactInformationOutput(v **GetContac if err := awsRestjson1_deserializeDocumentContactInformation(&sv.ContactInformation, value); err != nil { return err } - default: _, _ = key, value @@ -1005,7 +1002,6 @@ func awsRestjson1_deserializeOpDocumentGetPrimaryEmailOutput(v **GetPrimaryEmail } sv.PrimaryEmail = ptr.String(jtv) } - default: _, _ = key, value @@ -1170,7 +1166,6 @@ func awsRestjson1_deserializeOpDocumentGetRegionOptStatusOutput(v **GetRegionOpt } sv.RegionName = ptr.String(jtv) } - case "RegionOptStatus": if value != nil { jtv, ok := value.(string) @@ -1179,7 +1174,6 @@ func awsRestjson1_deserializeOpDocumentGetRegionOptStatusOutput(v **GetRegionOpt } sv.RegionOptStatus = types.RegionOptStatus(jtv) } - default: _, _ = key, value @@ -1344,12 +1338,10 @@ func awsRestjson1_deserializeOpDocumentListRegionsOutput(v **ListRegionsOutput, } sv.NextToken = ptr.String(jtv) } - case "Regions": if err := awsRestjson1_deserializeDocumentRegionOptList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -1726,7 +1718,6 @@ func awsRestjson1_deserializeOpDocumentStartPrimaryEmailUpdateOutput(v **StartPr } sv.Status = types.PrimaryEmailUpdateStatus(jtv) } - default: _, _ = key, value @@ -1972,15 +1963,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1988,15 +1973,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2031,7 +2012,6 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.AlternateContactType = types.AlternateContactType(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -2040,7 +2020,6 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.EmailAddress = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2049,7 +2028,6 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.Name = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -2058,7 +2036,6 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.PhoneNumber = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -2067,7 +2044,6 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -2097,15 +2073,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2113,15 +2083,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2156,7 +2122,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine1 = ptr.String(jtv) } - case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -2165,7 +2130,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine2 = ptr.String(jtv) } - case "AddressLine3": if value != nil { jtv, ok := value.(string) @@ -2174,7 +2138,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine3 = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -2183,7 +2146,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.City = ptr.String(jtv) } - case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -2192,7 +2154,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.CompanyName = ptr.String(jtv) } - case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -2201,7 +2162,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.CountryCode = ptr.String(jtv) } - case "DistrictOrCounty": if value != nil { jtv, ok := value.(string) @@ -2210,7 +2170,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.DistrictOrCounty = ptr.String(jtv) } - case "FullName": if value != nil { jtv, ok := value.(string) @@ -2219,7 +2178,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.FullName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -2228,7 +2186,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.PhoneNumber = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -2237,7 +2194,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.PostalCode = ptr.String(jtv) } - case "StateOrRegion": if value != nil { jtv, ok := value.(string) @@ -2246,7 +2202,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.StateOrRegion = ptr.String(jtv) } - case "WebsiteUrl": if value != nil { jtv, ok := value.(string) @@ -2255,7 +2210,6 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.WebsiteUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -2285,15 +2239,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2301,15 +2249,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2344,7 +2288,6 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.RegionName = ptr.String(jtv) } - case "RegionOptStatus": if value != nil { jtv, ok := value.(string) @@ -2353,7 +2296,6 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.RegionOptStatus = types.RegionOptStatus(jtv) } - default: _, _ = key, value @@ -2417,15 +2359,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2433,15 +2369,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2466,15 +2398,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2482,15 +2408,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2515,20 +2437,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2536,7 +2451,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -2545,15 +2459,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2588,7 +2498,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2597,7 +2506,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/acm/deserializers.go b/service/acm/deserializers.go index b2a592cf50c..c176dace6c6 100644 --- a/service/acm/deserializers.go +++ b/service/acm/deserializers.go @@ -2259,15 +2259,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2275,15 +2269,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2318,7 +2308,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.CertificateArn = ptr.String(jtv) } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2327,7 +2316,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2343,7 +2331,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -2352,17 +2339,14 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.DomainName = ptr.String(jtv) } - case "DomainValidationOptions": if err := awsAwsjson11_deserializeDocumentDomainValidationList(&sv.DomainValidationOptions, value); err != nil { return err } - case "ExtendedKeyUsages": if err := awsAwsjson11_deserializeDocumentExtendedKeyUsageList(&sv.ExtendedKeyUsages, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -2371,7 +2355,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.FailureReason = types.FailureReason(jtv) } - case "ImportedAt": if value != nil { switch jtv := value.(type) { @@ -2387,12 +2370,10 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "InUseBy": if err := awsAwsjson11_deserializeDocumentInUseList(&sv.InUseBy, value); err != nil { return err } - case "IssuedAt": if value != nil { switch jtv := value.(type) { @@ -2408,7 +2389,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -2417,7 +2397,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Issuer = ptr.String(jtv) } - case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2426,12 +2405,10 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } - case "KeyUsages": if err := awsAwsjson11_deserializeDocumentKeyUsageList(&sv.KeyUsages, value); err != nil { return err } - case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -2447,7 +2424,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -2463,12 +2439,10 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "Options": if err := awsAwsjson11_deserializeDocumentCertificateOptions(&sv.Options, value); err != nil { return err } - case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -2477,12 +2451,10 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.RenewalEligibility = types.RenewalEligibility(jtv) } - case "RenewalSummary": if err := awsAwsjson11_deserializeDocumentRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } - case "RevocationReason": if value != nil { jtv, ok := value.(string) @@ -2491,7 +2463,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.RevocationReason = types.RevocationReason(jtv) } - case "RevokedAt": if value != nil { switch jtv := value.(type) { @@ -2507,7 +2478,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } - case "Serial": if value != nil { jtv, ok := value.(string) @@ -2516,7 +2486,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Serial = ptr.String(jtv) } - case "SignatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2525,7 +2494,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.SignatureAlgorithm = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2534,7 +2502,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Status = types.CertificateStatus(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -2543,12 +2510,10 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Subject = ptr.String(jtv) } - case "SubjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2557,7 +2522,6 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Type = types.CertificateType(jtv) } - default: _, _ = key, value @@ -2597,7 +2561,6 @@ func awsAwsjson11_deserializeDocumentCertificateOptions(v **types.CertificateOpt } sv.CertificateTransparencyLoggingPreference = types.CertificateTransparencyLoggingPreference(jtv) } - default: _, _ = key, value @@ -2637,7 +2600,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2653,7 +2615,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -2662,7 +2623,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.DomainName = ptr.String(jtv) } - case "Exported": if value != nil { jtv, ok := value.(bool) @@ -2671,12 +2631,10 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Exported = ptr.Bool(jtv) } - case "ExtendedKeyUsages": if err := awsAwsjson11_deserializeDocumentExtendedKeyUsageNames(&sv.ExtendedKeyUsages, value); err != nil { return err } - case "HasAdditionalSubjectAlternativeNames": if value != nil { jtv, ok := value.(bool) @@ -2685,7 +2643,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.HasAdditionalSubjectAlternativeNames = ptr.Bool(jtv) } - case "ImportedAt": if value != nil { switch jtv := value.(type) { @@ -2701,7 +2658,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "InUse": if value != nil { jtv, ok := value.(bool) @@ -2710,7 +2666,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.InUse = ptr.Bool(jtv) } - case "IssuedAt": if value != nil { switch jtv := value.(type) { @@ -2726,7 +2681,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2735,12 +2689,10 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } - case "KeyUsages": if err := awsAwsjson11_deserializeDocumentKeyUsageNames(&sv.KeyUsages, value); err != nil { return err } - case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -2756,7 +2708,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -2772,7 +2723,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -2781,7 +2731,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.RenewalEligibility = types.RenewalEligibility(jtv) } - case "RevokedAt": if value != nil { switch jtv := value.(type) { @@ -2797,7 +2746,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2806,12 +2754,10 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Status = types.CertificateStatus(jtv) } - case "SubjectAlternativeNameSummaries": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.SubjectAlternativeNameSummaries, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2820,7 +2766,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Type = types.CertificateType(jtv) } - default: _, _ = key, value @@ -2884,15 +2829,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2900,15 +2839,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2979,12 +2914,10 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.DomainName = ptr.String(jtv) } - case "ResourceRecord": if err := awsAwsjson11_deserializeDocumentResourceRecord(&sv.ResourceRecord, value); err != nil { return err } - case "ValidationDomain": if value != nil { jtv, ok := value.(string) @@ -2993,12 +2926,10 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationDomain = ptr.String(jtv) } - case "ValidationEmails": if err := awsAwsjson11_deserializeDocumentValidationEmailList(&sv.ValidationEmails, value); err != nil { return err } - case "ValidationMethod": if value != nil { jtv, ok := value.(string) @@ -3007,7 +2938,6 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationMethod = types.ValidationMethod(jtv) } - case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -3016,7 +2946,6 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationStatus = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -3094,7 +3023,6 @@ func awsAwsjson11_deserializeDocumentExpiryEventsConfiguration(v **types.ExpiryE } sv.DaysBeforeExpiry = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3134,7 +3062,6 @@ func awsAwsjson11_deserializeDocumentExtendedKeyUsage(v **types.ExtendedKeyUsage } sv.Name = types.ExtendedKeyUsageName(jtv) } - case "OID": if value != nil { jtv, ok := value.(string) @@ -3143,7 +3070,6 @@ func awsAwsjson11_deserializeDocumentExtendedKeyUsage(v **types.ExtendedKeyUsage } sv.OID = ptr.String(jtv) } - default: _, _ = key, value @@ -3279,15 +3205,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3295,15 +3215,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3328,15 +3244,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3344,15 +3254,11 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3377,15 +3283,9 @@ func awsAwsjson11_deserializeDocumentInvalidDomainValidationOptionsException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3393,15 +3293,11 @@ func awsAwsjson11_deserializeDocumentInvalidDomainValidationOptionsException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3426,15 +3322,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3442,15 +3332,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3475,15 +3361,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3491,15 +3371,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3524,15 +3400,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3540,15 +3410,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3583,7 +3449,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.Name = types.KeyUsageName(jtv) } - default: _, _ = key, value @@ -3683,15 +3548,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3699,15 +3558,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3738,7 +3593,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va if err := awsAwsjson11_deserializeDocumentDomainValidationList(&sv.DomainValidationOptions, value); err != nil { return err } - case "RenewalStatus": if value != nil { jtv, ok := value.(string) @@ -3747,7 +3601,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatus = types.RenewalStatus(jtv) } - case "RenewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -3756,7 +3609,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatusReason = types.FailureReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3772,7 +3624,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } } - default: _, _ = key, value @@ -3802,15 +3653,9 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3818,15 +3663,11 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3851,15 +3692,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3867,15 +3702,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3900,15 +3731,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3916,15 +3741,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3959,7 +3780,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3968,7 +3788,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Type = types.RecordType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3977,7 +3796,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4017,7 +3835,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4026,7 +3843,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4090,15 +3906,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4106,15 +3916,11 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4139,15 +3945,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4155,15 +3955,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4188,15 +3984,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4204,15 +3994,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4273,15 +4059,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4289,15 +4069,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4328,7 +4104,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentCertificateDetail(&sv.Certificate, value); err != nil { return err } - default: _, _ = key, value @@ -4368,7 +4143,6 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.Certificate = ptr.String(jtv) } - case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -4377,7 +4151,6 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.CertificateChain = ptr.String(jtv) } - case "PrivateKey": if value != nil { jtv, ok := value.(string) @@ -4386,7 +4159,6 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.PrivateKey = ptr.String(jtv) } - default: _, _ = key, value @@ -4422,7 +4194,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountConfigurationOutput(v **GetAcco if err := awsAwsjson11_deserializeDocumentExpiryEventsConfiguration(&sv.ExpiryEvents, value); err != nil { return err } - default: _, _ = key, value @@ -4462,7 +4233,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.Certificate = ptr.String(jtv) } - case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -4471,7 +4241,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.CertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -4511,7 +4280,6 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4547,7 +4315,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentCertificateSummaryList(&sv.CertificateSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4556,7 +4323,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4592,7 +4358,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForCertificateOutput(v **ListTags if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4632,7 +4397,6 @@ func awsAwsjson11_deserializeOpDocumentRequestCertificateOutput(v **RequestCerti } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/acmpca/deserializers.go b/service/acmpca/deserializers.go index 5cbeb667ac7..a55838c3d31 100644 --- a/service/acmpca/deserializers.go +++ b/service/acmpca/deserializers.go @@ -3293,12 +3293,10 @@ func awsAwsjson11_deserializeDocumentAccessDescription(v **types.AccessDescripti if err := awsAwsjson11_deserializeDocumentGeneralName(&sv.AccessLocation, value); err != nil { return err } - case "AccessMethod": if err := awsAwsjson11_deserializeDocumentAccessMethod(&sv.AccessMethod, value); err != nil { return err } - default: _, _ = key, value @@ -3372,7 +3370,6 @@ func awsAwsjson11_deserializeDocumentAccessMethod(v **types.AccessMethod, value } sv.AccessMethodType = types.AccessMethodType(jtv) } - case "CustomObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -3381,7 +3378,6 @@ func awsAwsjson11_deserializeDocumentAccessMethod(v **types.AccessMethod, value } sv.CustomObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -3457,7 +3453,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.CommonName = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -3466,12 +3461,10 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Country = ptr.String(jtv) } - case "CustomAttributes": if err := awsAwsjson11_deserializeDocumentCustomAttributeList(&sv.CustomAttributes, value); err != nil { return err } - case "DistinguishedNameQualifier": if value != nil { jtv, ok := value.(string) @@ -3480,7 +3473,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.DistinguishedNameQualifier = ptr.String(jtv) } - case "GenerationQualifier": if value != nil { jtv, ok := value.(string) @@ -3489,7 +3481,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.GenerationQualifier = ptr.String(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3498,7 +3489,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.GivenName = ptr.String(jtv) } - case "Initials": if value != nil { jtv, ok := value.(string) @@ -3507,7 +3497,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Initials = ptr.String(jtv) } - case "Locality": if value != nil { jtv, ok := value.(string) @@ -3516,7 +3505,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Locality = ptr.String(jtv) } - case "Organization": if value != nil { jtv, ok := value.(string) @@ -3525,7 +3513,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Organization = ptr.String(jtv) } - case "OrganizationalUnit": if value != nil { jtv, ok := value.(string) @@ -3534,7 +3521,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.OrganizationalUnit = ptr.String(jtv) } - case "Pseudonym": if value != nil { jtv, ok := value.(string) @@ -3543,7 +3529,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Pseudonym = ptr.String(jtv) } - case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -3552,7 +3537,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.SerialNumber = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3561,7 +3545,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.State = ptr.String(jtv) } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -3570,7 +3553,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Surname = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -3579,7 +3561,6 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -3653,12 +3634,10 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityConfiguration": if err := awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(&sv.CertificateAuthorityConfiguration, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3674,7 +3653,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -3683,7 +3661,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.FailureReason = types.FailureReason(jtv) } - case "KeyStorageSecurityStandard": if value != nil { jtv, ok := value.(string) @@ -3692,7 +3669,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.KeyStorageSecurityStandard = types.KeyStorageSecurityStandard(jtv) } - case "LastStateChangeAt": if value != nil { switch jtv := value.(type) { @@ -3708,7 +3684,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } - case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -3724,7 +3699,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } - case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -3740,7 +3714,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } - case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -3749,7 +3722,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.OwnerAccount = ptr.String(jtv) } - case "RestorableUntil": if value != nil { switch jtv := value.(type) { @@ -3765,12 +3737,10 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } - case "RevocationConfiguration": if err := awsAwsjson11_deserializeDocumentRevocationConfiguration(&sv.RevocationConfiguration, value); err != nil { return err } - case "Serial": if value != nil { jtv, ok := value.(string) @@ -3779,7 +3749,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Serial = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3788,7 +3757,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Status = types.CertificateAuthorityStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3797,7 +3765,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Type = types.CertificateAuthorityType(jtv) } - case "UsageMode": if value != nil { jtv, ok := value.(string) @@ -3806,7 +3773,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.UsageMode = types.CertificateAuthorityUsageMode(jtv) } - default: _, _ = key, value @@ -3842,7 +3808,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types if err := awsAwsjson11_deserializeDocumentCsrExtensions(&sv.CsrExtensions, value); err != nil { return err } - case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3851,7 +3816,6 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } - case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3860,12 +3824,10 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types } sv.SigningAlgorithm = types.SigningAlgorithm(jtv) } - case "Subject": if err := awsAwsjson11_deserializeDocumentASN1Subject(&sv.Subject, value); err != nil { return err } - default: _, _ = key, value @@ -3895,15 +3857,9 @@ func awsAwsjson11_deserializeDocumentCertificateMismatchException(v **types.Cert sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3911,15 +3867,11 @@ func awsAwsjson11_deserializeDocumentCertificateMismatchException(v **types.Cert } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3944,15 +3896,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3960,15 +3906,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3999,7 +3941,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration if err := awsAwsjson11_deserializeDocumentCrlDistributionPointExtensionConfiguration(&sv.CrlDistributionPointExtensionConfiguration, value); err != nil { return err } - case "CustomCname": if value != nil { jtv, ok := value.(string) @@ -4008,7 +3949,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.CustomCname = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -4017,7 +3957,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.Enabled = ptr.Bool(jtv) } - case "ExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -4030,7 +3969,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.ExpirationInDays = ptr.Int32(int32(i64)) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -4039,7 +3977,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.S3BucketName = ptr.String(jtv) } - case "S3ObjectAcl": if value != nil { jtv, ok := value.(string) @@ -4048,7 +3985,6 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.S3ObjectAcl = types.S3ObjectAcl(jtv) } - default: _, _ = key, value @@ -4088,7 +4024,6 @@ func awsAwsjson11_deserializeDocumentCrlDistributionPointExtensionConfiguration( } sv.OmitExtension = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4124,12 +4059,10 @@ func awsAwsjson11_deserializeDocumentCsrExtensions(v **types.CsrExtensions, valu if err := awsAwsjson11_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } - case "SubjectInformationAccess": if err := awsAwsjson11_deserializeDocumentAccessDescriptionList(&sv.SubjectInformationAccess, value); err != nil { return err } - default: _, _ = key, value @@ -4169,7 +4102,6 @@ func awsAwsjson11_deserializeDocumentCustomAttribute(v **types.CustomAttribute, } sv.ObjectIdentifier = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4178,7 +4110,6 @@ func awsAwsjson11_deserializeDocumentCustomAttribute(v **types.CustomAttribute, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4252,7 +4183,6 @@ func awsAwsjson11_deserializeDocumentEdiPartyName(v **types.EdiPartyName, value } sv.NameAssigner = ptr.String(jtv) } - case "PartyName": if value != nil { jtv, ok := value.(string) @@ -4261,7 +4191,6 @@ func awsAwsjson11_deserializeDocumentEdiPartyName(v **types.EdiPartyName, value } sv.PartyName = ptr.String(jtv) } - default: _, _ = key, value @@ -4297,7 +4226,6 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in if err := awsAwsjson11_deserializeDocumentASN1Subject(&sv.DirectoryName, value); err != nil { return err } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -4306,12 +4234,10 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.DnsName = ptr.String(jtv) } - case "EdiPartyName": if err := awsAwsjson11_deserializeDocumentEdiPartyName(&sv.EdiPartyName, value); err != nil { return err } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -4320,12 +4246,10 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.IpAddress = ptr.String(jtv) } - case "OtherName": if err := awsAwsjson11_deserializeDocumentOtherName(&sv.OtherName, value); err != nil { return err } - case "RegisteredId": if value != nil { jtv, ok := value.(string) @@ -4334,7 +4258,6 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.RegisteredId = ptr.String(jtv) } - case "Rfc822Name": if value != nil { jtv, ok := value.(string) @@ -4343,7 +4266,6 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.Rfc822Name = ptr.String(jtv) } - case "UniformResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -4352,7 +4274,6 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.UniformResourceIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -4382,15 +4303,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4398,15 +4313,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4431,15 +4342,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4447,15 +4352,11 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4480,15 +4381,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4496,15 +4391,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4529,15 +4420,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4545,15 +4430,11 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4578,15 +4459,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4594,15 +4469,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4627,15 +4498,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4643,15 +4508,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4676,15 +4537,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4692,15 +4547,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4735,7 +4586,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.CRLSign = jtv } - case "DataEncipherment": if value != nil { jtv, ok := value.(bool) @@ -4744,7 +4594,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DataEncipherment = jtv } - case "DecipherOnly": if value != nil { jtv, ok := value.(bool) @@ -4753,7 +4602,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DecipherOnly = jtv } - case "DigitalSignature": if value != nil { jtv, ok := value.(bool) @@ -4762,7 +4610,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DigitalSignature = jtv } - case "EncipherOnly": if value != nil { jtv, ok := value.(bool) @@ -4771,7 +4618,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.EncipherOnly = jtv } - case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -4780,7 +4626,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyAgreement = jtv } - case "KeyCertSign": if value != nil { jtv, ok := value.(bool) @@ -4789,7 +4634,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyCertSign = jtv } - case "KeyEncipherment": if value != nil { jtv, ok := value.(bool) @@ -4798,7 +4642,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyEncipherment = jtv } - case "NonRepudiation": if value != nil { jtv, ok := value.(bool) @@ -4807,7 +4650,6 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.NonRepudiation = jtv } - default: _, _ = key, value @@ -4837,15 +4679,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4853,15 +4689,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4886,15 +4718,9 @@ func awsAwsjson11_deserializeDocumentLockoutPreventedException(v **types.Lockout sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4902,15 +4728,11 @@ func awsAwsjson11_deserializeDocumentLockoutPreventedException(v **types.Lockout } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4935,15 +4757,9 @@ func awsAwsjson11_deserializeDocumentMalformedCertificateException(v **types.Mal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4951,15 +4767,11 @@ func awsAwsjson11_deserializeDocumentMalformedCertificateException(v **types.Mal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4984,15 +4796,9 @@ func awsAwsjson11_deserializeDocumentMalformedCSRException(v **types.MalformedCS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5000,15 +4806,11 @@ func awsAwsjson11_deserializeDocumentMalformedCSRException(v **types.MalformedCS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5043,7 +4845,6 @@ func awsAwsjson11_deserializeDocumentOcspConfiguration(v **types.OcspConfigurati } sv.Enabled = ptr.Bool(jtv) } - case "OcspCustomCname": if value != nil { jtv, ok := value.(string) @@ -5052,7 +4853,6 @@ func awsAwsjson11_deserializeDocumentOcspConfiguration(v **types.OcspConfigurati } sv.OcspCustomCname = ptr.String(jtv) } - default: _, _ = key, value @@ -5092,7 +4892,6 @@ func awsAwsjson11_deserializeDocumentOtherName(v **types.OtherName, value interf } sv.TypeId = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5101,7 +4900,6 @@ func awsAwsjson11_deserializeDocumentOtherName(v **types.OtherName, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5137,7 +4935,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte if err := awsAwsjson11_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -5146,7 +4943,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5162,7 +4958,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -5171,7 +4966,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Policy = ptr.String(jtv) } - case "Principal": if value != nil { jtv, ok := value.(string) @@ -5180,7 +4974,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Principal = ptr.String(jtv) } - case "SourceAccount": if value != nil { jtv, ok := value.(string) @@ -5189,7 +4982,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.SourceAccount = ptr.String(jtv) } - default: _, _ = key, value @@ -5219,15 +5011,9 @@ func awsAwsjson11_deserializeDocumentPermissionAlreadyExistsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5235,15 +5021,11 @@ func awsAwsjson11_deserializeDocumentPermissionAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5302,15 +5084,9 @@ func awsAwsjson11_deserializeDocumentRequestAlreadyProcessedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5318,15 +5094,11 @@ func awsAwsjson11_deserializeDocumentRequestAlreadyProcessedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5351,15 +5123,9 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5367,15 +5133,11 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5400,15 +5162,9 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5416,15 +5172,11 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5449,15 +5201,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5465,15 +5211,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5504,12 +5246,10 @@ func awsAwsjson11_deserializeDocumentRevocationConfiguration(v **types.Revocatio if err := awsAwsjson11_deserializeDocumentCrlConfiguration(&sv.CrlConfiguration, value); err != nil { return err } - case "OcspConfiguration": if err := awsAwsjson11_deserializeDocumentOcspConfiguration(&sv.OcspConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5549,7 +5289,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5558,7 +5297,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5622,15 +5360,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5638,15 +5370,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5681,7 +5409,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityAuditReportOutp } sv.AuditReportId = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -5690,7 +5417,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityAuditReportOutp } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -5730,7 +5456,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityOutput(v **Crea } sv.CertificateAuthorityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5770,7 +5495,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.AuditReportStatus = types.AuditReportStatus(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5786,7 +5510,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -5795,7 +5518,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.S3BucketName = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -5804,7 +5526,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -5840,7 +5561,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityOutput(v **De if err := awsAwsjson11_deserializeDocumentCertificateAuthority(&sv.CertificateAuthority, value); err != nil { return err } - default: _, _ = key, value @@ -5880,7 +5600,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCertificateOutput( } sv.Certificate = ptr.String(jtv) } - case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -5889,7 +5608,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCertificateOutput( } sv.CertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -5929,7 +5647,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCsrOutput(v **GetC } sv.Csr = ptr.String(jtv) } - default: _, _ = key, value @@ -5969,7 +5686,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.Certificate = ptr.String(jtv) } - case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -5978,7 +5694,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.CertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -6018,7 +5733,6 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -6058,7 +5772,6 @@ func awsAwsjson11_deserializeOpDocumentIssueCertificateOutput(v **IssueCertifica } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6094,7 +5807,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificateAuthoritiesOutput(v **List if err := awsAwsjson11_deserializeDocumentCertificateAuthorities(&sv.CertificateAuthorities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6103,7 +5815,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificateAuthoritiesOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6143,12 +5854,10 @@ func awsAwsjson11_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -6188,12 +5897,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/amp/deserializers.go b/service/amp/deserializers.go index aae8b8b470e..85fffdfd549 100644 --- a/service/amp/deserializers.go +++ b/service/amp/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlertManagerDefinitionOutput(v **Cr if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -353,7 +352,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -527,7 +525,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleGroupsNamespaceOutput(v **Creat } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -536,17 +533,14 @@ func awsRestjson1_deserializeOpDocumentCreateRuleGroupsNamespaceOutput(v **Creat } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -720,7 +714,6 @@ func awsRestjson1_deserializeOpDocumentCreateScraperOutput(v **CreateScraperOutp } sv.Arn = ptr.String(jtv) } - case "scraperId": if value != nil { jtv, ok := value.(string) @@ -729,17 +722,14 @@ func awsRestjson1_deserializeOpDocumentCreateScraperOutput(v **CreateScraperOutp } sv.ScraperId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -910,7 +900,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.Arn = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -919,17 +908,14 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.KmsKeyArn = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -938,7 +924,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1433,12 +1418,10 @@ func awsRestjson1_deserializeOpDocumentDeleteScraperOutput(v **DeleteScraperOutp } sv.ScraperId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -1711,7 +1694,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlertManagerDefinitionOutput(v ** if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(&sv.AlertManagerDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -1872,7 +1854,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2036,7 +2017,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRuleGroupsNamespaceOutput(v **Des if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(&sv.RuleGroupsNamespace, value); err != nil { return err } - default: _, _ = key, value @@ -2200,7 +2180,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScraperOutput(v **DescribeScraper if err := awsRestjson1_deserializeDocumentScraperDescription(&sv.Scraper, value); err != nil { return err } - default: _, _ = key, value @@ -2364,7 +2343,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceOutput(v **DescribeWorks if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -2530,7 +2508,6 @@ func awsRestjson1_deserializeOpDocumentGetDefaultScraperConfigurationOutput(v ** } sv.Configuration = dv } - default: _, _ = key, value @@ -2698,12 +2675,10 @@ func awsRestjson1_deserializeOpDocumentListRuleGroupsNamespacesOutput(v **ListRu } sv.NextToken = ptr.String(jtv) } - case "ruleGroupsNamespaces": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummaryList(&sv.RuleGroupsNamespaces, value); err != nil { return err } - default: _, _ = key, value @@ -2868,12 +2843,10 @@ func awsRestjson1_deserializeOpDocumentListScrapersOutput(v **ListScrapersOutput } sv.NextToken = ptr.String(jtv) } - case "scrapers": if err := awsRestjson1_deserializeDocumentScraperSummaryList(&sv.Scrapers, value); err != nil { return err } - default: _, _ = key, value @@ -3037,7 +3010,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3202,12 +3174,10 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } - case "workspaces": if err := awsRestjson1_deserializeDocumentWorkspaceSummaryList(&sv.Workspaces, value); err != nil { return err } - default: _, _ = key, value @@ -3377,7 +3347,6 @@ func awsRestjson1_deserializeOpDocumentPutAlertManagerDefinitionOutput(v **PutAl if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -3551,7 +3520,6 @@ func awsRestjson1_deserializeOpDocumentPutRuleGroupsNamespaceOutput(v **PutRuleG } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3560,17 +3528,14 @@ func awsRestjson1_deserializeOpDocumentPutRuleGroupsNamespaceOutput(v **PutRuleG } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3934,7 +3899,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -4108,7 +4072,6 @@ func awsRestjson1_deserializeOpDocumentUpdateScraperOutput(v **UpdateScraperOutp } sv.Arn = ptr.String(jtv) } - case "scraperId": if value != nil { jtv, ok := value.(string) @@ -4117,17 +4080,14 @@ func awsRestjson1_deserializeOpDocumentUpdateScraperOutput(v **UpdateScraperOutp } sv.ScraperId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4561,15 +4521,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4577,15 +4531,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4627,7 +4577,6 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } } - case "data": if value != nil { jtv, ok := value.(string) @@ -4640,7 +4589,6 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } sv.Data = dv } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -4656,12 +4604,10 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } } - case "status": if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -4701,7 +4647,6 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(v **types.Aler } sv.StatusCode = types.AlertManagerDefinitionStatusCode(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4710,7 +4655,6 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(v **types.Aler } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -4750,7 +4694,6 @@ func awsRestjson1_deserializeDocumentAmpConfiguration(v **types.AmpConfiguration } sv.WorkspaceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4780,15 +4723,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4796,7 +4733,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4805,7 +4741,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4814,15 +4749,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4897,17 +4828,14 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.ClusterArn = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -4937,15 +4865,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4953,7 +4875,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4966,15 +4887,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5016,7 +4933,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } } - case "logGroupArn": if value != nil { jtv, ok := value.(string) @@ -5025,7 +4941,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } sv.LogGroupArn = ptr.String(jtv) } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -5041,12 +4956,10 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } } - case "status": if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } - case "workspace": if value != nil { jtv, ok := value.(string) @@ -5055,7 +4968,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } sv.Workspace = ptr.String(jtv) } - default: _, _ = key, value @@ -5095,7 +5007,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationStatus(v **types.Loggin } sv.StatusCode = types.LoggingConfigurationStatusCode(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5104,7 +5015,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationStatus(v **types.Loggin } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5134,15 +5044,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5150,7 +5054,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5159,7 +5062,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5168,15 +5070,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5211,7 +5109,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5227,7 +5124,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } } - case "data": if value != nil { jtv, ok := value.(string) @@ -5240,7 +5136,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Data = dv } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -5256,7 +5151,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5265,17 +5159,14 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5315,7 +5206,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(v **types.RuleGro } sv.StatusCode = types.RuleGroupsNamespaceStatusCode(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5214,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(v **types.RuleGro } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5364,7 +5253,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5380,7 +5268,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -5396,7 +5283,6 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5405,17 +5291,14 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5535,7 +5418,6 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.Alias = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5544,7 +5426,6 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5560,12 +5441,10 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } } - case "destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5581,7 +5460,6 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5590,12 +5468,10 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.RoleArn = ptr.String(jtv) } - case "scrapeConfiguration": if err := awsRestjson1_deserializeDocumentScrapeConfiguration(&sv.ScrapeConfiguration, value); err != nil { return err } - case "scraperId": if value != nil { jtv, ok := value.(string) @@ -5604,17 +5480,14 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.ScraperId = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5623,12 +5496,10 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5668,7 +5539,6 @@ func awsRestjson1_deserializeDocumentScraperStatus(v **types.ScraperStatus, valu } sv.StatusCode = types.ScraperStatusCode(jtv) } - default: _, _ = key, value @@ -5708,7 +5578,6 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.Alias = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5717,7 +5586,6 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5733,12 +5601,10 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } } - case "destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5754,7 +5620,6 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5763,7 +5628,6 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.RoleArn = ptr.String(jtv) } - case "scraperId": if value != nil { jtv, ok := value.(string) @@ -5772,17 +5636,14 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.ScraperId = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5791,12 +5652,10 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5896,15 +5755,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5912,7 +5765,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5921,7 +5773,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5930,7 +5781,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5939,7 +5789,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5948,15 +5797,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6093,15 +5938,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6109,7 +5948,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6118,7 +5956,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6131,7 +5968,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6140,15 +5976,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6173,20 +6005,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6194,7 +6019,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6203,15 +6027,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6246,7 +6066,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6255,7 +6074,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6329,7 +6147,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Alias = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6338,7 +6155,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6354,7 +6170,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6363,7 +6178,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.KmsKeyArn = ptr.String(jtv) } - case "prometheusEndpoint": if value != nil { jtv, ok := value.(string) @@ -6372,17 +6186,14 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.PrometheusEndpoint = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6391,7 +6202,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6431,7 +6241,6 @@ func awsRestjson1_deserializeDocumentWorkspaceStatus(v **types.WorkspaceStatus, } sv.StatusCode = types.WorkspaceStatusCode(jtv) } - default: _, _ = key, value @@ -6471,7 +6280,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Alias = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6480,7 +6288,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6496,7 +6303,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6505,17 +6311,14 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.KmsKeyArn = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6524,7 +6327,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/amplify/deserializers.go b/service/amplify/deserializers.go index 6f5f575786c..db452baf0c8 100644 --- a/service/amplify/deserializers.go +++ b/service/amplify/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -347,7 +346,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendEnvironmentOutput(v **Create if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } - default: _, _ = key, value @@ -514,7 +512,6 @@ func awsRestjson1_deserializeOpDocumentCreateBranchOutput(v **CreateBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } - default: _, _ = key, value @@ -675,7 +672,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme if err := awsRestjson1_deserializeDocumentFileUploadUrls(&sv.FileUploadUrls, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -684,7 +680,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.JobId = ptr.String(jtv) } - case "zipUploadUrl": if value != nil { jtv, ok := value.(string) @@ -693,7 +688,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.ZipUploadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -860,7 +854,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainAssociationOutput(v **CreateD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1027,7 +1020,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebhookOutput(v **CreateWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -1191,7 +1183,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -1355,7 +1346,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendEnvironmentOutput(v **Delete if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } - default: _, _ = key, value @@ -1519,7 +1509,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBranchOutput(v **DeleteBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } - default: _, _ = key, value @@ -1683,7 +1672,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainAssociationOutput(v **DeleteD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1847,7 +1835,6 @@ func awsRestjson1_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } - default: _, _ = key, value @@ -2011,7 +1998,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWebhookOutput(v **DeleteWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -2176,7 +2162,6 @@ func awsRestjson1_deserializeOpDocumentGenerateAccessLogsOutput(v **GenerateAcce } sv.LogUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -2337,7 +2322,6 @@ func awsRestjson1_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -2505,7 +2489,6 @@ func awsRestjson1_deserializeOpDocumentGetArtifactUrlOutput(v **GetArtifactUrlOu } sv.ArtifactId = ptr.String(jtv) } - case "artifactUrl": if value != nil { jtv, ok := value.(string) @@ -2514,7 +2497,6 @@ func awsRestjson1_deserializeOpDocumentGetArtifactUrlOutput(v **GetArtifactUrlOu } sv.ArtifactUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -2675,7 +2657,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendEnvironmentOutput(v **GetBacken if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } - default: _, _ = key, value @@ -2836,7 +2817,6 @@ func awsRestjson1_deserializeOpDocumentGetBranchOutput(v **GetBranchOutput, valu if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } - default: _, _ = key, value @@ -2997,7 +2977,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainAssociationOutput(v **GetDomainA if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -3161,7 +3140,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -3325,7 +3303,6 @@ func awsRestjson1_deserializeOpDocumentGetWebhookOutput(v **GetWebhookOutput, va if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -3483,7 +3460,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3492,7 +3468,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3653,7 +3628,6 @@ func awsRestjson1_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsRestjson1_deserializeDocumentArtifacts(&sv.Artifacts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3662,7 +3636,6 @@ func awsRestjson1_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3820,7 +3793,6 @@ func awsRestjson1_deserializeOpDocumentListBackendEnvironmentsOutput(v **ListBac if err := awsRestjson1_deserializeDocumentBackendEnvironments(&sv.BackendEnvironments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3829,7 +3801,6 @@ func awsRestjson1_deserializeOpDocumentListBackendEnvironmentsOutput(v **ListBac } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3987,7 +3958,6 @@ func awsRestjson1_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput if err := awsRestjson1_deserializeDocumentBranches(&sv.Branches, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3996,7 +3966,6 @@ func awsRestjson1_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4154,7 +4123,6 @@ func awsRestjson1_deserializeOpDocumentListDomainAssociationsOutput(v **ListDoma if err := awsRestjson1_deserializeDocumentDomainAssociations(&sv.DomainAssociations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4163,7 +4131,6 @@ func awsRestjson1_deserializeOpDocumentListDomainAssociationsOutput(v **ListDoma } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4324,7 +4291,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.JobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4333,7 +4299,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4491,7 +4456,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4656,12 +4620,10 @@ func awsRestjson1_deserializeOpDocumentListWebhooksOutput(v **ListWebhooksOutput } sv.NextToken = ptr.String(jtv) } - case "webhooks": if err := awsRestjson1_deserializeDocumentWebhooks(&sv.Webhooks, value); err != nil { return err } - default: _, _ = key, value @@ -4825,7 +4787,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } - default: _, _ = key, value @@ -4989,7 +4950,6 @@ func awsRestjson1_deserializeOpDocumentStartJobOutput(v **StartJobOutput, value if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } - default: _, _ = key, value @@ -5153,7 +5113,6 @@ func awsRestjson1_deserializeOpDocumentStopJobOutput(v **StopJobOutput, value in if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } - default: _, _ = key, value @@ -5502,7 +5461,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -5666,7 +5624,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBranchOutput(v **UpdateBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } - default: _, _ = key, value @@ -5830,7 +5787,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainAssociationOutput(v **UpdateD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5994,7 +5950,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWebhookOutput(v **UpdateWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -6286,7 +6241,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppArn = ptr.String(jtv) } - case "appId": if value != nil { jtv, ok := value.(string) @@ -6295,17 +6249,14 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppId = ptr.String(jtv) } - case "autoBranchCreationConfig": if err := awsRestjson1_deserializeDocumentAutoBranchCreationConfig(&sv.AutoBranchCreationConfig, value); err != nil { return err } - case "autoBranchCreationPatterns": if err := awsRestjson1_deserializeDocumentAutoBranchCreationPatterns(&sv.AutoBranchCreationPatterns, value); err != nil { return err } - case "basicAuthCredentials": if value != nil { jtv, ok := value.(string) @@ -6314,7 +6265,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.BasicAuthCredentials = ptr.String(jtv) } - case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -6323,12 +6273,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.BuildSpec = ptr.String(jtv) } - case "cacheConfig": if err := awsRestjson1_deserializeDocumentCacheConfig(&sv.CacheConfig, value); err != nil { return err } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -6344,7 +6292,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "customHeaders": if value != nil { jtv, ok := value.(string) @@ -6353,12 +6300,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.CustomHeaders = ptr.String(jtv) } - case "customRules": if err := awsRestjson1_deserializeDocumentCustomRules(&sv.CustomRules, value); err != nil { return err } - case "defaultDomain": if value != nil { jtv, ok := value.(string) @@ -6367,7 +6312,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.DefaultDomain = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6376,7 +6320,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } - case "enableAutoBranchCreation": if value != nil { jtv, ok := value.(bool) @@ -6385,7 +6328,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableAutoBranchCreation = ptr.Bool(jtv) } - case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -6394,7 +6336,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBasicAuth = ptr.Bool(jtv) } - case "enableBranchAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -6403,7 +6344,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBranchAutoBuild = ptr.Bool(jtv) } - case "enableBranchAutoDeletion": if value != nil { jtv, ok := value.(bool) @@ -6412,12 +6352,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBranchAutoDeletion = ptr.Bool(jtv) } - case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } - case "iamServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -6426,7 +6364,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.IamServiceRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6435,7 +6372,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -6444,12 +6380,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Platform = types.Platform(jtv) } - case "productionBranch": if err := awsRestjson1_deserializeDocumentProductionBranch(&sv.ProductionBranch, value); err != nil { return err } - case "repository": if value != nil { jtv, ok := value.(string) @@ -6458,7 +6392,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Repository = ptr.String(jtv) } - case "repositoryCloneMethod": if value != nil { jtv, ok := value.(string) @@ -6467,12 +6400,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RepositoryCloneMethod = types.RepositoryCloneMethod(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -6488,7 +6419,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - default: _, _ = key, value @@ -6562,7 +6492,6 @@ func awsRestjson1_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.ArtifactFileName = ptr.String(jtv) } - case "artifactId": if value != nil { jtv, ok := value.(string) @@ -6571,7 +6500,6 @@ func awsRestjson1_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.ArtifactId = ptr.String(jtv) } - default: _, _ = key, value @@ -6681,7 +6609,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.BasicAuthCredentials = ptr.String(jtv) } - case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -6690,7 +6617,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.BuildSpec = ptr.String(jtv) } - case "enableAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -6699,7 +6625,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnableAutoBuild = ptr.Bool(jtv) } - case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -6708,7 +6633,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnableBasicAuth = ptr.Bool(jtv) } - case "enablePerformanceMode": if value != nil { jtv, ok := value.(bool) @@ -6717,7 +6641,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnablePerformanceMode = ptr.Bool(jtv) } - case "enablePullRequestPreview": if value != nil { jtv, ok := value.(bool) @@ -6726,12 +6649,10 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnablePullRequestPreview = ptr.Bool(jtv) } - case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } - case "framework": if value != nil { jtv, ok := value.(string) @@ -6740,7 +6661,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.Framework = ptr.String(jtv) } - case "pullRequestEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6749,7 +6669,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.PullRequestEnvironmentName = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -6758,7 +6677,6 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.Stage = types.Stage(jtv) } - default: _, _ = key, value @@ -6870,7 +6788,6 @@ func awsRestjson1_deserializeDocumentBackend(v **types.Backend, value interface{ } sv.StackArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6910,7 +6827,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.BackendEnvironmentArn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -6926,7 +6842,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } } - case "deploymentArtifacts": if value != nil { jtv, ok := value.(string) @@ -6935,7 +6850,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.DeploymentArtifacts = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -6944,7 +6858,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.EnvironmentName = ptr.String(jtv) } - case "stackName": if value != nil { jtv, ok := value.(string) @@ -6953,7 +6866,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.StackName = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -6969,7 +6881,6 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } } - default: _, _ = key, value @@ -7033,15 +6944,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7049,15 +6954,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7092,17 +6993,14 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.ActiveJobId = ptr.String(jtv) } - case "associatedResources": if err := awsRestjson1_deserializeDocumentAssociatedResources(&sv.AssociatedResources, value); err != nil { return err } - case "backend": if err := awsRestjson1_deserializeDocumentBackend(&sv.Backend, value); err != nil { return err } - case "backendEnvironmentArn": if value != nil { jtv, ok := value.(string) @@ -7111,7 +7009,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BackendEnvironmentArn = ptr.String(jtv) } - case "basicAuthCredentials": if value != nil { jtv, ok := value.(string) @@ -7120,7 +7017,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BasicAuthCredentials = ptr.String(jtv) } - case "branchArn": if value != nil { jtv, ok := value.(string) @@ -7129,7 +7025,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BranchArn = ptr.String(jtv) } - case "branchName": if value != nil { jtv, ok := value.(string) @@ -7138,7 +7033,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BranchName = ptr.String(jtv) } - case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -7147,7 +7041,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BuildSpec = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -7163,12 +7056,10 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } } - case "customDomains": if err := awsRestjson1_deserializeDocumentCustomDomains(&sv.CustomDomains, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -7177,7 +7068,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Description = ptr.String(jtv) } - case "destinationBranch": if value != nil { jtv, ok := value.(string) @@ -7186,7 +7076,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DestinationBranch = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -7195,7 +7084,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DisplayName = ptr.String(jtv) } - case "enableAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -7204,7 +7092,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableAutoBuild = ptr.Bool(jtv) } - case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -7213,7 +7100,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableBasicAuth = ptr.Bool(jtv) } - case "enableNotification": if value != nil { jtv, ok := value.(bool) @@ -7222,7 +7108,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableNotification = ptr.Bool(jtv) } - case "enablePerformanceMode": if value != nil { jtv, ok := value.(bool) @@ -7231,7 +7116,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnablePerformanceMode = ptr.Bool(jtv) } - case "enablePullRequestPreview": if value != nil { jtv, ok := value.(bool) @@ -7240,12 +7124,10 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnablePullRequestPreview = ptr.Bool(jtv) } - case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } - case "framework": if value != nil { jtv, ok := value.(string) @@ -7254,7 +7136,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Framework = ptr.String(jtv) } - case "pullRequestEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -7263,7 +7144,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.PullRequestEnvironmentName = ptr.String(jtv) } - case "sourceBranch": if value != nil { jtv, ok := value.(string) @@ -7272,7 +7152,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.SourceBranch = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -7281,12 +7160,10 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Stage = types.Stage(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "thumbnailUrl": if value != nil { jtv, ok := value.(string) @@ -7295,7 +7172,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.ThumbnailUrl = ptr.String(jtv) } - case "totalNumberOfJobs": if value != nil { jtv, ok := value.(string) @@ -7304,7 +7180,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.TotalNumberOfJobs = ptr.String(jtv) } - case "ttl": if value != nil { jtv, ok := value.(string) @@ -7313,7 +7188,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Ttl = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -7329,7 +7203,6 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } } - default: _, _ = key, value @@ -7403,7 +7276,6 @@ func awsRestjson1_deserializeDocumentCacheConfig(v **types.CacheConfig, value in } sv.Type = types.CacheConfigType(jtv) } - default: _, _ = key, value @@ -7443,7 +7315,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateVerificationDNSRecord = ptr.String(jtv) } - case "customCertificateArn": if value != nil { jtv, ok := value.(string) @@ -7452,7 +7323,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CustomCertificateArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7461,7 +7331,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Type = types.CertificateType(jtv) } - default: _, _ = key, value @@ -7537,7 +7406,6 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Condition = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -7546,7 +7414,6 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7555,7 +7422,6 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Status = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -7564,7 +7430,6 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -7628,15 +7493,9 @@ func awsRestjson1_deserializeDocumentDependentServiceFailureException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7644,15 +7503,11 @@ func awsRestjson1_deserializeDocumentDependentServiceFailureException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7683,7 +7538,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati if err := awsRestjson1_deserializeDocumentAutoSubDomainCreationPatterns(&sv.AutoSubDomainCreationPatterns, value); err != nil { return err } - case "autoSubDomainIAMRole": if value != nil { jtv, ok := value.(string) @@ -7692,12 +7546,10 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.AutoSubDomainIAMRole = ptr.String(jtv) } - case "certificate": if err := awsRestjson1_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } - case "certificateVerificationDNSRecord": if value != nil { jtv, ok := value.(string) @@ -7706,7 +7558,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.CertificateVerificationDNSRecord = ptr.String(jtv) } - case "domainAssociationArn": if value != nil { jtv, ok := value.(string) @@ -7715,7 +7566,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainAssociationArn = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -7724,7 +7574,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainName = ptr.String(jtv) } - case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -7733,7 +7582,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainStatus = types.DomainStatus(jtv) } - case "enableAutoSubDomain": if value != nil { jtv, ok := value.(bool) @@ -7742,7 +7590,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.EnableAutoSubDomain = ptr.Bool(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7751,12 +7598,10 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.StatusReason = ptr.String(jtv) } - case "subDomains": if err := awsRestjson1_deserializeDocumentSubDomains(&sv.SubDomains, value); err != nil { return err } - case "updateStatus": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7610,6 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.UpdateStatus = types.UpdateStatus(jtv) } - default: _, _ = key, value @@ -7901,15 +7745,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7917,15 +7755,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7956,12 +7790,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentSteps(&sv.Steps, value); err != nil { return err } - case "summary": if err := awsRestjson1_deserializeDocumentJobSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -8035,7 +7867,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CommitId = ptr.String(jtv) } - case "commitMessage": if value != nil { jtv, ok := value.(string) @@ -8044,7 +7875,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CommitMessage = ptr.String(jtv) } - case "commitTime": if value != nil { switch jtv := value.(type) { @@ -8060,7 +7890,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -8076,7 +7905,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -8085,7 +7913,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -8094,7 +7921,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -8103,7 +7929,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobType = types.JobType(jtv) } - case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -8112,7 +7937,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceUrl = ptr.String(jtv) } - case "sourceUrlType": if value != nil { jtv, ok := value.(string) @@ -8121,7 +7945,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceUrlType = types.SourceUrlType(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -8137,7 +7960,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8146,7 +7968,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -8176,15 +7997,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8192,15 +8007,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8225,15 +8036,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8241,15 +8046,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8284,7 +8085,6 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.BranchName = ptr.String(jtv) } - case "lastDeployTime": if value != nil { switch jtv := value.(type) { @@ -8300,7 +8100,6 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8309,7 +8108,6 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.Status = ptr.String(jtv) } - case "thumbnailUrl": if value != nil { jtv, ok := value.(string) @@ -8318,7 +8116,6 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.ThumbnailUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8348,13 +8145,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -8364,8 +8155,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8373,15 +8163,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8452,7 +8238,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ArtifactsUrl = ptr.String(jtv) } - case "context": if value != nil { jtv, ok := value.(string) @@ -8461,7 +8246,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Context = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -8477,7 +8261,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } - case "logUrl": if value != nil { jtv, ok := value.(string) @@ -8486,12 +8269,10 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.LogUrl = ptr.String(jtv) } - case "screenshots": if err := awsRestjson1_deserializeDocumentScreenshots(&sv.Screenshots, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -8507,7 +8288,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8516,7 +8296,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Status = types.JobStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8525,7 +8304,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.StatusReason = ptr.String(jtv) } - case "stepName": if value != nil { jtv, ok := value.(string) @@ -8534,7 +8312,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.StepName = ptr.String(jtv) } - case "testArtifactsUrl": if value != nil { jtv, ok := value.(string) @@ -8543,7 +8320,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.TestArtifactsUrl = ptr.String(jtv) } - case "testConfigUrl": if value != nil { jtv, ok := value.(string) @@ -8552,7 +8328,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.TestConfigUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8626,12 +8401,10 @@ func awsRestjson1_deserializeDocumentSubDomain(v **types.SubDomain, value interf } sv.DnsRecord = ptr.String(jtv) } - case "subDomainSetting": if err := awsRestjson1_deserializeDocumentSubDomainSetting(&sv.SubDomainSetting, value); err != nil { return err } - case "verified": if value != nil { jtv, ok := value.(bool) @@ -8640,7 +8413,6 @@ func awsRestjson1_deserializeDocumentSubDomain(v **types.SubDomain, value interf } sv.Verified = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8714,7 +8486,6 @@ func awsRestjson1_deserializeDocumentSubDomainSetting(v **types.SubDomainSetting } sv.BranchName = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -8723,7 +8494,6 @@ func awsRestjson1_deserializeDocumentSubDomainSetting(v **types.SubDomainSetting } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8789,15 +8559,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8805,15 +8569,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8848,7 +8608,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BranchName = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -8864,7 +8623,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8873,7 +8631,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Description = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -8889,7 +8646,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } - case "webhookArn": if value != nil { jtv, ok := value.(string) @@ -8898,7 +8654,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookArn = ptr.String(jtv) } - case "webhookId": if value != nil { jtv, ok := value.(string) @@ -8907,7 +8662,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookId = ptr.String(jtv) } - case "webhookUrl": if value != nil { jtv, ok := value.(string) @@ -8916,7 +8670,6 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookUrl = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/amplifybackend/deserializers.go b/service/amplifybackend/deserializers.go index df9fce305dd..624f7e38ee0 100644 --- a/service/amplifybackend/deserializers.go +++ b/service/amplifybackend/deserializers.go @@ -185,7 +185,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -194,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -203,7 +201,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -212,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -221,7 +217,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -230,7 +225,6 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -395,7 +389,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -404,7 +397,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -413,7 +405,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -422,7 +413,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -431,7 +421,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -440,7 +429,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -605,7 +593,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -614,7 +601,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -623,7 +609,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -632,7 +617,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -641,7 +625,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -650,7 +633,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -815,7 +797,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -824,7 +805,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -833,7 +813,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -842,7 +821,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -851,7 +829,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -860,7 +837,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1025,7 +1001,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1034,7 +1009,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.BackendEnvironmentName = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1043,7 +1017,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.JobId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1052,7 +1025,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1217,7 +1189,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1226,7 +1197,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.BackendEnvironmentName = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1235,7 +1205,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.JobId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1244,7 +1213,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1409,7 +1377,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.AppId = ptr.String(jtv) } - case "challengeCode": if value != nil { jtv, ok := value.(string) @@ -1418,7 +1385,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.ChallengeCode = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -1427,7 +1393,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.SessionId = ptr.String(jtv) } - case "ttl": if value != nil { jtv, ok := value.(string) @@ -1436,7 +1401,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.Ttl = ptr.String(jtv) } - default: _, _ = key, value @@ -1601,7 +1565,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1610,7 +1573,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -1619,7 +1581,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1628,7 +1589,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -1637,7 +1597,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1646,7 +1605,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1811,7 +1769,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1820,7 +1777,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -1829,7 +1785,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1838,7 +1793,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -1847,7 +1801,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1856,7 +1809,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2021,7 +1973,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2030,7 +1981,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -2039,7 +1989,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2048,7 +1997,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -2057,7 +2005,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2066,7 +2013,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2231,7 +2177,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2240,7 +2185,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.BackendEnvironmentName = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2249,7 +2193,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.JobId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2258,7 +2201,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2423,7 +2365,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTokenOutput(v **DeleteTokenOutput, } sv.IsSuccess = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2588,7 +2529,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2597,7 +2537,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -2606,7 +2545,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2615,7 +2553,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -2624,7 +2561,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2633,7 +2569,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2798,7 +2733,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AmplifyFeatureFlags = ptr.String(jtv) } - case "amplifyMetaConfig": if value != nil { jtv, ok := value.(string) @@ -2807,7 +2741,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AmplifyMetaConfig = ptr.String(jtv) } - case "appId": if value != nil { jtv, ok := value.(string) @@ -2816,7 +2749,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AppId = ptr.String(jtv) } - case "appName": if value != nil { jtv, ok := value.(string) @@ -2825,12 +2757,10 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AppName = ptr.String(jtv) } - case "backendEnvironmentList": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.BackendEnvironmentList, value); err != nil { return err } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2839,7 +2769,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -2848,7 +2777,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -3013,7 +2941,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3022,7 +2949,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -3031,12 +2957,10 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.Error = ptr.String(jtv) } - case "resourceConfig": if err := awsRestjson1_deserializeDocumentBackendAPIResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3045,7 +2969,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -3210,7 +3133,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.ModelIntrospectionSchema = ptr.String(jtv) } - case "models": if value != nil { jtv, ok := value.(string) @@ -3219,7 +3141,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.Models = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3228,7 +3149,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -3393,7 +3313,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3402,7 +3321,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -3411,12 +3329,10 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.Error = ptr.String(jtv) } - case "resourceConfig": if err := awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3425,7 +3341,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -3590,7 +3505,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3599,7 +3513,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.BackendEnvironmentName = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -3608,7 +3521,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.CreateTime = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -3617,7 +3529,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3537,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3545,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3644,7 +3553,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Status = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -3653,7 +3561,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.UpdateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -3818,7 +3725,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3827,12 +3733,10 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.BackendEnvironmentName = ptr.String(jtv) } - case "resourceConfig": if err := awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3841,7 +3745,6 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -4006,7 +3909,6 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.AppId = ptr.String(jtv) } - case "challengeCode": if value != nil { jtv, ok := value.(string) @@ -4015,7 +3917,6 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.ChallengeCode = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -4024,7 +3925,6 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.SessionId = ptr.String(jtv) } - case "ttl": if value != nil { jtv, ok := value.(string) @@ -4033,7 +3933,6 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.Ttl = ptr.String(jtv) } - default: _, _ = key, value @@ -4198,7 +4097,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4207,7 +4105,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -4216,7 +4113,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4225,7 +4121,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -4234,7 +4129,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4243,7 +4137,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4408,7 +4301,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4417,7 +4309,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.BackendEnvironmentName = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4426,7 +4317,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.JobId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4435,7 +4325,6 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4596,7 +4485,6 @@ func awsRestjson1_deserializeOpDocumentListBackendJobsOutput(v **ListBackendJobs if err := awsRestjson1_deserializeDocumentListOfBackendJobRespObj(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4605,7 +4493,6 @@ func awsRestjson1_deserializeOpDocumentListBackendJobsOutput(v **ListBackendJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4766,7 +4653,6 @@ func awsRestjson1_deserializeOpDocumentListS3BucketsOutput(v **ListS3BucketsOutp if err := awsRestjson1_deserializeDocumentListOfS3BucketInfo(&sv.Buckets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4775,7 +4661,6 @@ func awsRestjson1_deserializeOpDocumentListS3BucketsOutput(v **ListS3BucketsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4940,7 +4825,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.AppId = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -4949,7 +4833,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4841,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -4967,7 +4849,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4976,7 +4857,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5141,7 +5021,6 @@ func awsRestjson1_deserializeOpDocumentRemoveBackendConfigOutput(v **RemoveBacke } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -5306,7 +5185,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5193,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5201,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -5333,7 +5209,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -5342,7 +5217,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5351,7 +5225,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5516,7 +5389,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5525,7 +5397,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.BackendEnvironmentName = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -5534,7 +5405,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -5543,7 +5413,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -5552,7 +5421,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5561,7 +5429,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5726,7 +5593,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.AppId = ptr.String(jtv) } - case "backendManagerAppId": if value != nil { jtv, ok := value.(string) @@ -5735,7 +5601,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.BackendManagerAppId = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -5744,12 +5609,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.Error = ptr.String(jtv) } - case "loginAuthConfig": if err := awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(&sv.LoginAuthConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5914,7 +5777,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5923,7 +5785,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.BackendEnvironmentName = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -5932,7 +5793,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.CreateTime = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -5941,7 +5801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -5950,7 +5809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -5959,7 +5817,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5968,7 +5825,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Status = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5977,7 +5833,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.UpdateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -6142,7 +5997,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6151,7 +6005,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.BackendEnvironmentName = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -6160,7 +6013,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.JobId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6169,7 +6021,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -6353,7 +6204,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.CognitoUserPoolId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6362,7 +6212,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.Description = ptr.String(jtv) } - case "expirationTime": if value != nil { switch jtv := value.(type) { @@ -6396,7 +6245,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } } - case "openIDAuthTTL": if value != nil { jtv, ok := value.(string) @@ -6405,7 +6253,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDAuthTTL = ptr.String(jtv) } - case "openIDClientId": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6261,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDClientId = ptr.String(jtv) } - case "openIDIatTTL": if value != nil { jtv, ok := value.(string) @@ -6423,7 +6269,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDIatTTL = ptr.String(jtv) } - case "openIDIssueURL": if value != nil { jtv, ok := value.(string) @@ -6432,7 +6277,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDIssueURL = ptr.String(jtv) } - case "openIDProviderName": if value != nil { jtv, ok := value.(string) @@ -6441,7 +6285,6 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -6481,12 +6324,10 @@ func awsRestjson1_deserializeDocumentBackendAPIAuthType(v **types.BackendAPIAuth } sv.Mode = types.Mode(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -6526,7 +6367,6 @@ func awsRestjson1_deserializeDocumentBackendAPIConflictResolution(v **types.Back } sv.ResolutionStrategy = types.ResolutionStrategy(jtv) } - default: _, _ = key, value @@ -6562,7 +6402,6 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA if err := awsRestjson1_deserializeDocumentListOfBackendAPIAuthType(&sv.AdditionalAuthTypes, value); err != nil { return err } - case "apiName": if value != nil { jtv, ok := value.(string) @@ -6571,17 +6410,14 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.ApiName = ptr.String(jtv) } - case "conflictResolution": if err := awsRestjson1_deserializeDocumentBackendAPIConflictResolution(&sv.ConflictResolution, value); err != nil { return err } - case "defaultAuthType": if err := awsRestjson1_deserializeDocumentBackendAPIAuthType(&sv.DefaultAuthType, value); err != nil { return err } - case "service": if value != nil { jtv, ok := value.(string) @@ -6590,7 +6426,6 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.Service = ptr.String(jtv) } - case "transformSchema": if value != nil { jtv, ok := value.(string) @@ -6599,7 +6434,6 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.TransformSchema = ptr.String(jtv) } - default: _, _ = key, value @@ -6639,7 +6473,6 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.ClientId = ptr.String(jtv) } - case "key_id": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6481,6 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.KeyId = ptr.String(jtv) } - case "private_key": if value != nil { jtv, ok := value.(string) @@ -6657,7 +6489,6 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.PrivateKey = ptr.String(jtv) } - case "team_id": if value != nil { jtv, ok := value.(string) @@ -6666,7 +6497,6 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.TeamId = ptr.String(jtv) } - default: _, _ = key, value @@ -6706,7 +6536,6 @@ func awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(v **types.B } sv.ClientId = ptr.String(jtv) } - case "client_secret": if value != nil { jtv, ok := value.(string) @@ -6715,7 +6544,6 @@ func awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(v **types.B } sv.ClientSecret = ptr.String(jtv) } - default: _, _ = key, value @@ -6755,7 +6583,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.AppId = ptr.String(jtv) } - case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6591,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.BackendEnvironmentName = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -6773,7 +6599,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.CreateTime = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6782,7 +6607,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Error = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -6791,7 +6615,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.JobId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -6800,7 +6623,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Operation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6809,7 +6631,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Status = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -6818,7 +6639,6 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.UpdateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -6854,12 +6674,10 @@ func awsRestjson1_deserializeDocumentBackendStoragePermissions(v **types.Backend if err := awsRestjson1_deserializeDocumentListOfAuthenticatedElement(&sv.Authenticated, value); err != nil { return err } - case "unAuthenticated": if err := awsRestjson1_deserializeDocumentListOfUnAuthenticatedElement(&sv.UnAuthenticated, value); err != nil { return err } - default: _, _ = key, value @@ -6889,15 +6707,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6905,15 +6717,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6948,17 +6756,14 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthForgotPasswordConfig(v **t } sv.DeliveryMethod = types.DeliveryMethod(jtv) } - case "emailSettings": if err := awsRestjson1_deserializeDocumentEmailSettings(&sv.EmailSettings, value); err != nil { return err } - case "smsSettings": if err := awsRestjson1_deserializeDocumentSmsSettings(&sv.SmsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -6998,7 +6803,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(v **typ } sv.IdentityPoolName = ptr.String(jtv) } - case "unauthenticatedLogin": if value != nil { jtv, ok := value.(bool) @@ -7007,7 +6811,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(v **typ } sv.UnauthenticatedLogin = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7047,12 +6850,10 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthMFAConfig(v **types.Create } sv.MFAMode = types.MFAMode(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -7092,7 +6893,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(v **types.Crea } sv.DomainPrefix = ptr.String(jtv) } - case "oAuthGrantType": if value != nil { jtv, ok := value.(string) @@ -7101,27 +6901,22 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(v **types.Crea } sv.OAuthGrantType = types.OAuthGrantType(jtv) } - case "oAuthScopes": if err := awsRestjson1_deserializeDocumentListOfOAuthScopesElement(&sv.OAuthScopes, value); err != nil { return err } - case "redirectSignInURIs": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.RedirectSignInURIs, value); err != nil { return err } - case "redirectSignOutURIs": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.RedirectSignOutURIs, value); err != nil { return err } - case "socialProviderSettings": if err := awsRestjson1_deserializeDocumentSocialProviderSettings(&sv.SocialProviderSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7157,7 +6952,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(v **t if err := awsRestjson1_deserializeDocumentListOfAdditionalConstraintsElement(&sv.AdditionalConstraints, value); err != nil { return err } - case "minimumLength": if value != nil { switch jtv := value.(type) { @@ -7191,7 +6985,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(v **t } } - default: _, _ = key, value @@ -7231,12 +7024,10 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(v **types.C } sv.AuthResources = types.AuthResources(jtv) } - case "identityPoolConfigs": if err := awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(&sv.IdentityPoolConfigs, value); err != nil { return err } - case "service": if value != nil { jtv, ok := value.(string) @@ -7245,12 +7036,10 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(v **types.C } sv.Service = types.Service(jtv) } - case "userPoolConfigs": if err := awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(&sv.UserPoolConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -7286,27 +7075,22 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C if err := awsRestjson1_deserializeDocumentCreateBackendAuthForgotPasswordConfig(&sv.ForgotPassword, value); err != nil { return err } - case "mfa": if err := awsRestjson1_deserializeDocumentCreateBackendAuthMFAConfig(&sv.Mfa, value); err != nil { return err } - case "oAuth": if err := awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(&sv.OAuth, value); err != nil { return err } - case "passwordPolicy": if err := awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(&sv.PasswordPolicy, value); err != nil { return err } - case "requiredSignUpAttributes": if err := awsRestjson1_deserializeDocumentListOfRequiredSignUpAttributesElement(&sv.RequiredSignUpAttributes, value); err != nil { return err } - case "signInMethod": if value != nil { jtv, ok := value.(string) @@ -7315,7 +7099,6 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C } sv.SignInMethod = types.SignInMethod(jtv) } - case "userPoolName": if value != nil { jtv, ok := value.(string) @@ -7324,12 +7107,10 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C } sv.UserPoolName = ptr.String(jtv) } - case "verificationMessage": if err := awsRestjson1_deserializeDocumentCreateBackendAuthVerificationMessageConfig(&sv.VerificationMessage, value); err != nil { return err } - default: _, _ = key, value @@ -7369,17 +7150,14 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthVerificationMessageConfig( } sv.DeliveryMethod = types.DeliveryMethod(jtv) } - case "emailSettings": if err := awsRestjson1_deserializeDocumentEmailSettings(&sv.EmailSettings, value); err != nil { return err } - case "smsSettings": if err := awsRestjson1_deserializeDocumentSmsSettings(&sv.SmsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7419,7 +7197,6 @@ func awsRestjson1_deserializeDocumentEmailSettings(v **types.EmailSettings, valu } sv.EmailMessage = ptr.String(jtv) } - case "emailSubject": if value != nil { jtv, ok := value.(string) @@ -7428,7 +7205,6 @@ func awsRestjson1_deserializeDocumentEmailSettings(v **types.EmailSettings, valu } sv.EmailSubject = ptr.String(jtv) } - default: _, _ = key, value @@ -7458,15 +7234,9 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7474,15 +7244,11 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7517,7 +7283,6 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.BucketName = ptr.String(jtv) } - case "imported": if value != nil { jtv, ok := value.(bool) @@ -7526,12 +7291,10 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.Imported = ptr.Bool(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentBackendStoragePermissions(&sv.Permissions, value); err != nil { return err } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -7540,7 +7303,6 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.ServiceName = types.ServiceName(jtv) } - default: _, _ = key, value @@ -7934,7 +7696,6 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsCognitoIdentityPoolId = ptr.String(jtv) } - case "aws_cognito_region": if value != nil { jtv, ok := value.(string) @@ -7943,7 +7704,6 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsCognitoRegion = ptr.String(jtv) } - case "aws_user_pools_id": if value != nil { jtv, ok := value.(string) @@ -7952,7 +7712,6 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsUserPoolsId = ptr.String(jtv) } - case "aws_user_pools_web_client_id": if value != nil { jtv, ok := value.(string) @@ -7961,7 +7720,6 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsUserPoolsWebClientId = ptr.String(jtv) } - default: _, _ = key, value @@ -7991,15 +7749,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8007,7 +7759,6 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8016,15 +7767,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8059,7 +7806,6 @@ func awsRestjson1_deserializeDocumentS3BucketInfo(v **types.S3BucketInfo, value } sv.CreationDate = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8068,7 +7814,6 @@ func awsRestjson1_deserializeDocumentS3BucketInfo(v **types.S3BucketInfo, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8104,7 +7849,6 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac if err := awsRestjson1_deserializeDocumentListOfMfaTypesElement(&sv.MfaTypes, value); err != nil { return err } - case "smsMessage": if value != nil { jtv, ok := value.(string) @@ -8113,7 +7857,6 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SmsMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8153,7 +7896,6 @@ func awsRestjson1_deserializeDocumentSmsSettings(v **types.SmsSettings, value in } sv.SmsMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8189,22 +7931,18 @@ func awsRestjson1_deserializeDocumentSocialProviderSettings(v **types.SocialProv if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.Facebook, value); err != nil { return err } - case "Google": if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.Google, value); err != nil { return err } - case "LoginWithAmazon": if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.LoginWithAmazon, value); err != nil { return err } - case "SignInWithApple": if err := awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(&sv.SignInWithApple, value); err != nil { return err } - default: _, _ = key, value @@ -8234,13 +7972,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "limitType": if value != nil { @@ -8250,8 +7982,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.LimitType = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8259,15 +7990,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/amplifyuibuilder/deserializers.go b/service/amplifyuibuilder/deserializers.go index 557b02d2f1d..e45ff6a0fb5 100644 --- a/service/amplifyuibuilder/deserializers.go +++ b/service/amplifyuibuilder/deserializers.go @@ -182,7 +182,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent if err := awsRestjson1_deserializeDocumentComponent(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -343,7 +342,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormOutput(v **CreateFormOutput, va if err := awsRestjson1_deserializeDocumentForm(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -504,7 +502,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, if err := awsRestjson1_deserializeDocumentTheme(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -960,7 +957,6 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.AccessToken = ptr.String(jtv) } - case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -973,7 +969,6 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.ExpiresIn = ptr.Int32(int32(i64)) } - case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -982,7 +977,6 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.RefreshToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1137,7 +1131,6 @@ func awsRestjson1_deserializeOpDocumentExportComponentsOutput(v **ExportComponen if err := awsRestjson1_deserializeDocumentComponentList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1146,7 +1139,6 @@ func awsRestjson1_deserializeOpDocumentExportComponentsOutput(v **ExportComponen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1301,7 +1293,6 @@ func awsRestjson1_deserializeOpDocumentExportFormsOutput(v **ExportFormsOutput, if err := awsRestjson1_deserializeDocumentFormList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1310,7 +1301,6 @@ func awsRestjson1_deserializeOpDocumentExportFormsOutput(v **ExportFormsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1465,7 +1455,6 @@ func awsRestjson1_deserializeOpDocumentExportThemesOutput(v **ExportThemesOutput if err := awsRestjson1_deserializeDocumentThemeList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1474,7 +1463,6 @@ func awsRestjson1_deserializeOpDocumentExportThemesOutput(v **ExportThemesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1635,7 +1623,6 @@ func awsRestjson1_deserializeOpDocumentGetCodegenJobOutput(v **GetCodegenJobOutp if err := awsRestjson1_deserializeDocumentCodegenJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -1793,7 +1780,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -1951,7 +1937,6 @@ func awsRestjson1_deserializeOpDocumentGetFormOutput(v **GetFormOutput, value in if err := awsRestjson1_deserializeDocumentForm(&sv.Form, value); err != nil { return err } - default: _, _ = key, value @@ -2106,7 +2091,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataOutput(v **GetMetadataOutput, if err := awsRestjson1_deserializeDocumentFeaturesMap(&sv.Features, value); err != nil { return err } - default: _, _ = key, value @@ -2264,7 +2248,6 @@ func awsRestjson1_deserializeOpDocumentGetThemeOutput(v **GetThemeOutput, value if err := awsRestjson1_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } - default: _, _ = key, value @@ -2422,7 +2405,6 @@ func awsRestjson1_deserializeOpDocumentListCodegenJobsOutput(v **ListCodegenJobs if err := awsRestjson1_deserializeDocumentCodegenJobSummaryList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2431,7 +2413,6 @@ func awsRestjson1_deserializeOpDocumentListCodegenJobsOutput(v **ListCodegenJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2586,7 +2567,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2575,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2750,7 +2729,6 @@ func awsRestjson1_deserializeOpDocumentListFormsOutput(v **ListFormsOutput, valu if err := awsRestjson1_deserializeDocumentFormSummaryList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2759,7 +2737,6 @@ func awsRestjson1_deserializeOpDocumentListFormsOutput(v **ListFormsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2923,7 +2900,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3078,7 +3054,6 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va if err := awsRestjson1_deserializeDocumentThemeSummaryList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3087,7 +3062,6 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3340,7 +3314,6 @@ func awsRestjson1_deserializeOpDocumentRefreshTokenOutput(v **RefreshTokenOutput } sv.AccessToken = ptr.String(jtv) } - case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -3353,7 +3326,6 @@ func awsRestjson1_deserializeOpDocumentRefreshTokenOutput(v **RefreshTokenOutput } sv.ExpiresIn = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3511,7 +3483,6 @@ func awsRestjson1_deserializeOpDocumentStartCodegenJobOutput(v **StartCodegenJob if err := awsRestjson1_deserializeDocumentCodegenJob(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -3869,7 +3840,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentOutput(v **UpdateComponent if err := awsRestjson1_deserializeDocumentComponent(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -4027,7 +3997,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFormOutput(v **UpdateFormOutput, va if err := awsRestjson1_deserializeDocumentForm(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -4185,7 +4154,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, if err := awsRestjson1_deserializeDocumentTheme(&sv.Entity, value); err != nil { return err } - default: _, _ = key, value @@ -4473,22 +4441,18 @@ func awsRestjson1_deserializeDocumentActionParameters(v **types.ActionParameters if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Anchor, value); err != nil { return err } - case "fields": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Fields, value); err != nil { return err } - case "global": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Global, value); err != nil { return err } - case "id": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Id, value); err != nil { return err } - case "model": if value != nil { jtv, ok := value.(string) @@ -4497,27 +4461,22 @@ func awsRestjson1_deserializeDocumentActionParameters(v **types.ActionParameters } sv.Model = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentMutationActionSetStateParameter(&sv.State, value); err != nil { return err } - case "target": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Target, value); err != nil { return err } - case "type": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Type, value); err != nil { return err } - case "url": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Url, value); err != nil { return err } - default: _, _ = key, value @@ -4687,7 +4646,6 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.IsSemVer = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4696,7 +4654,6 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.Name = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4705,7 +4662,6 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.Reason = ptr.String(jtv) } - case "supportedVersion": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4670,6 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.SupportedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4754,7 +4709,6 @@ func awsRestjson1_deserializeDocumentCodegenFeatureFlags(v **types.CodegenFeatur } sv.IsNonModelSupported = ptr.Bool(jtv) } - case "isRelationshipSupported": if value != nil { jtv, ok := value.(bool) @@ -4763,7 +4717,6 @@ func awsRestjson1_deserializeDocumentCodegenFeatureFlags(v **types.CodegenFeatur } sv.IsRelationshipSupported = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4799,7 +4752,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataEnum(v **types.CodegenGen if err := awsRestjson1_deserializeDocumentCodegenGenericDataEnumValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -4910,7 +4862,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.DataType = types.CodegenGenericDataFieldDataType(jtv) } - case "dataTypeValue": if value != nil { jtv, ok := value.(string) @@ -4919,7 +4870,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.DataTypeValue = ptr.String(jtv) } - case "isArray": if value != nil { jtv, ok := value.(bool) @@ -4928,7 +4878,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.IsArray = ptr.Bool(jtv) } - case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -4937,12 +4886,10 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.ReadOnly = ptr.Bool(jtv) } - case "relationship": if err := awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(&sv.Relationship, value); err != nil { return err } - case "required": if value != nil { jtv, ok := value.(bool) @@ -4951,7 +4898,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5022,7 +4968,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataModel(v **types.CodegenGe if err := awsRestjson1_deserializeDocumentCodegenGenericDataFields(&sv.Fields, value); err != nil { return err } - case "isJoinTable": if value != nil { jtv, ok := value.(bool) @@ -5031,12 +4976,10 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataModel(v **types.CodegenGe } sv.IsJoinTable = ptr.Bool(jtv) } - case "primaryKeys": if err := awsRestjson1_deserializeDocumentCodegenPrimaryKeysList(&sv.PrimaryKeys, value); err != nil { return err } - default: _, _ = key, value @@ -5107,7 +5050,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataNonModel(v **types.Codege if err := awsRestjson1_deserializeDocumentCodegenGenericDataNonModelFields(&sv.Fields, value); err != nil { return err } - default: _, _ = key, value @@ -5213,7 +5155,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type if err := awsRestjson1_deserializeDocumentAssociatedFieldsList(&sv.AssociatedFields, value); err != nil { return err } - case "belongsToFieldOnRelatedModel": if value != nil { jtv, ok := value.(string) @@ -5222,7 +5163,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.BelongsToFieldOnRelatedModel = ptr.String(jtv) } - case "canUnlinkAssociatedModel": if value != nil { jtv, ok := value.(bool) @@ -5231,7 +5171,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.CanUnlinkAssociatedModel = ptr.Bool(jtv) } - case "isHasManyIndex": if value != nil { jtv, ok := value.(bool) @@ -5240,7 +5179,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.IsHasManyIndex = ptr.Bool(jtv) } - case "relatedJoinFieldName": if value != nil { jtv, ok := value.(string) @@ -5249,7 +5187,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedJoinFieldName = ptr.String(jtv) } - case "relatedJoinTableName": if value != nil { jtv, ok := value.(string) @@ -5258,12 +5195,10 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedJoinTableName = ptr.String(jtv) } - case "relatedModelFields": if err := awsRestjson1_deserializeDocumentRelatedModelFieldsList(&sv.RelatedModelFields, value); err != nil { return err } - case "relatedModelName": if value != nil { jtv, ok := value.(string) @@ -5272,7 +5207,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedModelName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5281,7 +5215,6 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.Type = types.GenericDataRelationshipType(jtv) } - default: _, _ = key, value @@ -5321,12 +5254,10 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.AppId = ptr.String(jtv) } - case "asset": if err := awsRestjson1_deserializeDocumentCodegenJobAsset(&sv.Asset, value); err != nil { return err } - case "autoGenerateForms": if value != nil { jtv, ok := value.(bool) @@ -5335,7 +5266,6 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.AutoGenerateForms = ptr.Bool(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5348,12 +5278,10 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.CreatedAt = ptr.Time(t) } - case "dependencies": if err := awsRestjson1_deserializeDocumentCodegenDependencies(&sv.Dependencies, value); err != nil { return err } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5362,17 +5290,14 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.EnvironmentName = ptr.String(jtv) } - case "features": if err := awsRestjson1_deserializeDocumentCodegenFeatureFlags(&sv.Features, value); err != nil { return err } - case "genericDataSchema": if err := awsRestjson1_deserializeDocumentCodegenJobGenericDataSchema(&sv.GenericDataSchema, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5381,7 +5306,6 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5394,12 +5318,10 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.ModifiedAt = ptr.Time(t) } - case "renderConfig": if err := awsRestjson1_deserializeDocumentCodegenJobRenderConfig(&sv.RenderConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5408,7 +5330,6 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.Status = types.CodegenJobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5417,12 +5338,10 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5462,7 +5381,6 @@ func awsRestjson1_deserializeDocumentCodegenJobAsset(v **types.CodegenJobAsset, } sv.DownloadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -5502,22 +5420,18 @@ func awsRestjson1_deserializeDocumentCodegenJobGenericDataSchema(v **types.Codeg } sv.DataSourceType = types.CodegenJobGenericDataSourceType(jtv) } - case "enums": if err := awsRestjson1_deserializeDocumentCodegenGenericDataEnums(&sv.Enums, value); err != nil { return err } - case "models": if err := awsRestjson1_deserializeDocumentCodegenGenericDataModels(&sv.Models, value); err != nil { return err } - case "nonModels": if err := awsRestjson1_deserializeDocumentCodegenGenericDataNonModels(&sv.NonModels, value); err != nil { return err } - default: _, _ = key, value @@ -5597,7 +5511,6 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.AppId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5610,7 +5523,6 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.CreatedAt = ptr.Time(t) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5619,7 +5531,6 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5628,7 +5539,6 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5641,7 +5551,6 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.ModifiedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5751,22 +5660,18 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.AppId = ptr.String(jtv) } - case "bindingProperties": if err := awsRestjson1_deserializeDocumentComponentBindingProperties(&sv.BindingProperties, value); err != nil { return err } - case "children": if err := awsRestjson1_deserializeDocumentComponentChildList(&sv.Children, value); err != nil { return err } - case "collectionProperties": if err := awsRestjson1_deserializeDocumentComponentCollectionProperties(&sv.CollectionProperties, value); err != nil { return err } - case "componentType": if value != nil { jtv, ok := value.(string) @@ -5775,7 +5680,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentType = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5788,7 +5692,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.CreatedAt = ptr.Time(t) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5797,12 +5700,10 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.EnvironmentName = ptr.String(jtv) } - case "events": if err := awsRestjson1_deserializeDocumentComponentEvents(&sv.Events, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5811,7 +5712,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5724,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5833,17 +5732,14 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentComponentOverrides(&sv.Overrides, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Properties, value); err != nil { return err } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -5852,7 +5748,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SchemaVersion = ptr.String(jtv) } - case "sourceId": if value != nil { jtv, ok := value.(string) @@ -5861,17 +5756,14 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "variants": if err := awsRestjson1_deserializeDocumentComponentVariants(&sv.Variants, value); err != nil { return err } - default: _, _ = key, value @@ -5942,7 +5834,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C if err := awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(&sv.BindingProperties, value); err != nil { return err } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -5951,7 +5842,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C } sv.DefaultValue = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5960,7 +5850,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6000,7 +5889,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Bucket = ptr.String(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -6009,7 +5897,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.DefaultValue = ptr.String(jtv) } - case "field": if value != nil { jtv, ok := value.(string) @@ -6018,7 +5905,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Field = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -6027,7 +5913,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Key = ptr.String(jtv) } - case "model": if value != nil { jtv, ok := value.(string) @@ -6036,12 +5921,10 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Model = ptr.String(jtv) } - case "predicates": if err := awsRestjson1_deserializeDocumentPredicateList(&sv.Predicates, value); err != nil { return err } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -6050,7 +5933,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.SlotName = ptr.String(jtv) } - case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6059,7 +5941,6 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.UserAttribute = ptr.String(jtv) } - default: _, _ = key, value @@ -6095,7 +5976,6 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va if err := awsRestjson1_deserializeDocumentComponentChildList(&sv.Children, value); err != nil { return err } - case "componentType": if value != nil { jtv, ok := value.(string) @@ -6104,12 +5984,10 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.ComponentType = ptr.String(jtv) } - case "events": if err := awsRestjson1_deserializeDocumentComponentEvents(&sv.Events, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6118,12 +5996,10 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.Name = ptr.String(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Properties, value); err != nil { return err } - case "sourceId": if value != nil { jtv, ok := value.(string) @@ -6132,7 +6008,6 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.SourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6237,7 +6112,6 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Else, value); err != nil { return err } - case "field": if value != nil { jtv, ok := value.(string) @@ -6246,7 +6120,6 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Field = ptr.String(jtv) } - case "operand": if value != nil { jtv, ok := value.(string) @@ -6255,7 +6128,6 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Operand = ptr.String(jtv) } - case "operandType": if value != nil { jtv, ok := value.(string) @@ -6264,7 +6136,6 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.OperandType = ptr.String(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -6273,7 +6144,6 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Operator = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -6282,12 +6152,10 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Property = ptr.String(jtv) } - case "then": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Then, value); err != nil { return err } - default: _, _ = key, value @@ -6323,7 +6191,6 @@ func awsRestjson1_deserializeDocumentComponentDataConfiguration(v **types.Compon if err := awsRestjson1_deserializeDocumentIdentifierList(&sv.Identifiers, value); err != nil { return err } - case "model": if value != nil { jtv, ok := value.(string) @@ -6332,17 +6199,14 @@ func awsRestjson1_deserializeDocumentComponentDataConfiguration(v **types.Compon } sv.Model = ptr.String(jtv) } - case "predicate": if err := awsRestjson1_deserializeDocumentPredicate(&sv.Predicate, value); err != nil { return err } - case "sort": if err := awsRestjson1_deserializeDocumentSortPropertyList(&sv.Sort, value); err != nil { return err } - default: _, _ = key, value @@ -6382,7 +6246,6 @@ func awsRestjson1_deserializeDocumentComponentEvent(v **types.ComponentEvent, va } sv.Action = ptr.String(jtv) } - case "bindingEvent": if value != nil { jtv, ok := value.(string) @@ -6391,12 +6254,10 @@ func awsRestjson1_deserializeDocumentComponentEvent(v **types.ComponentEvent, va } sv.BindingEvent = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -6606,17 +6467,14 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper if err := awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(&sv.BindingProperties, value); err != nil { return err } - case "bindings": if err := awsRestjson1_deserializeDocumentFormBindings(&sv.Bindings, value); err != nil { return err } - case "collectionBindingProperties": if err := awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(&sv.CollectionBindingProperties, value); err != nil { return err } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -6625,17 +6483,14 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.ComponentName = ptr.String(jtv) } - case "concat": if err := awsRestjson1_deserializeDocumentComponentPropertyList(&sv.Concat, value); err != nil { return err } - case "condition": if err := awsRestjson1_deserializeDocumentComponentConditionProperty(&sv.Condition, value); err != nil { return err } - case "configured": if value != nil { jtv, ok := value.(bool) @@ -6644,7 +6499,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Configured = ptr.Bool(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -6653,7 +6507,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.DefaultValue = ptr.String(jtv) } - case "event": if value != nil { jtv, ok := value.(string) @@ -6662,7 +6515,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Event = ptr.String(jtv) } - case "importedValue": if value != nil { jtv, ok := value.(string) @@ -6671,7 +6523,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.ImportedValue = ptr.String(jtv) } - case "model": if value != nil { jtv, ok := value.(string) @@ -6680,7 +6531,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Model = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -6689,7 +6539,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Property = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6698,7 +6547,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Type = ptr.String(jtv) } - case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6707,7 +6555,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.UserAttribute = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6716,7 +6563,6 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6756,7 +6602,6 @@ func awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(v **type } sv.Field = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -6765,7 +6610,6 @@ func awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(v **type } sv.Property = ptr.String(jtv) } - default: _, _ = key, value @@ -6839,7 +6683,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.AppId = ptr.String(jtv) } - case "componentType": if value != nil { jtv, ok := value.(string) @@ -6848,7 +6691,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentType = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -6857,7 +6699,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6866,7 +6707,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6875,7 +6715,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6945,12 +6784,10 @@ func awsRestjson1_deserializeDocumentComponentVariant(v **types.ComponentVariant if err := awsRestjson1_deserializeDocumentComponentOverrides(&sv.Overrides, value); err != nil { return err } - case "variantValues": if err := awsRestjson1_deserializeDocumentComponentVariantValues(&sv.VariantValues, value); err != nil { return err } - default: _, _ = key, value @@ -7127,12 +6964,10 @@ func awsRestjson1_deserializeDocumentFieldConfig(v **types.FieldConfig, value in } sv.Excluded = ptr.Bool(jtv) } - case "inputType": if err := awsRestjson1_deserializeDocumentFieldInputConfig(&sv.InputType, value); err != nil { return err } - case "label": if value != nil { jtv, ok := value.(string) @@ -7141,17 +6976,14 @@ func awsRestjson1_deserializeDocumentFieldConfig(v **types.FieldConfig, value in } sv.Label = ptr.String(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } - case "validations": if err := awsRestjson1_deserializeDocumentValidationsList(&sv.Validations, value); err != nil { return err } - default: _, _ = key, value @@ -7191,7 +7023,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultChecked = ptr.Bool(jtv) } - case "defaultCountryCode": if value != nil { jtv, ok := value.(string) @@ -7200,7 +7031,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultCountryCode = ptr.String(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -7209,7 +7039,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultValue = ptr.String(jtv) } - case "descriptiveText": if value != nil { jtv, ok := value.(string) @@ -7218,12 +7047,10 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DescriptiveText = ptr.String(jtv) } - case "fileUploaderConfig": if err := awsRestjson1_deserializeDocumentFileUploaderFieldConfig(&sv.FileUploaderConfig, value); err != nil { return err } - case "isArray": if value != nil { jtv, ok := value.(bool) @@ -7232,7 +7059,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.IsArray = ptr.Bool(jtv) } - case "maxValue": if value != nil { switch jtv := value.(type) { @@ -7266,7 +7092,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } - case "minValue": if value != nil { switch jtv := value.(type) { @@ -7300,7 +7125,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7309,7 +7133,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Name = ptr.String(jtv) } - case "placeholder": if value != nil { jtv, ok := value.(string) @@ -7318,7 +7141,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Placeholder = ptr.String(jtv) } - case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -7327,7 +7149,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.ReadOnly = ptr.Bool(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -7336,7 +7157,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Required = ptr.Bool(jtv) } - case "step": if value != nil { switch jtv := value.(type) { @@ -7370,7 +7190,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } - case "type": if value != nil { jtv, ok := value.(string) @@ -7379,7 +7198,6 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7388,12 +7206,10 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Value = ptr.String(jtv) } - case "valueMappings": if err := awsRestjson1_deserializeDocumentValueMappings(&sv.ValueMappings, value); err != nil { return err } - default: _, _ = key, value @@ -7530,12 +7346,10 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel if err := awsRestjson1_deserializeDocumentNumValues(&sv.NumValues, value); err != nil { return err } - case "strValues": if err := awsRestjson1_deserializeDocumentStrValues(&sv.StrValues, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -7544,7 +7358,6 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel } sv.Type = ptr.String(jtv) } - case "validationMessage": if value != nil { jtv, ok := value.(string) @@ -7553,7 +7366,6 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel } sv.ValidationMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7589,7 +7401,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa if err := awsRestjson1_deserializeDocumentStrValues(&sv.AcceptedFileTypes, value); err != nil { return err } - case "accessLevel": if value != nil { jtv, ok := value.(string) @@ -7598,7 +7409,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.AccessLevel = types.StorageAccessLevel(jtv) } - case "isResumable": if value != nil { jtv, ok := value.(bool) @@ -7607,7 +7417,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.IsResumable = ptr.Bool(jtv) } - case "maxFileCount": if value != nil { jtv, ok := value.(json.Number) @@ -7620,7 +7429,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.MaxFileCount = ptr.Int32(int32(i64)) } - case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -7633,7 +7441,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.MaxSize = ptr.Int32(int32(i64)) } - case "showThumbnails": if value != nil { jtv, ok := value.(bool) @@ -7642,7 +7449,6 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.ShowThumbnails = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7682,17 +7488,14 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.AppId = ptr.String(jtv) } - case "cta": if err := awsRestjson1_deserializeDocumentFormCTA(&sv.Cta, value); err != nil { return err } - case "dataType": if err := awsRestjson1_deserializeDocumentFormDataTypeConfig(&sv.DataType, value); err != nil { return err } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -7701,12 +7504,10 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.EnvironmentName = ptr.String(jtv) } - case "fields": if err := awsRestjson1_deserializeDocumentFieldsMap(&sv.Fields, value); err != nil { return err } - case "formActionType": if value != nil { jtv, ok := value.(string) @@ -7715,7 +7516,6 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.FormActionType = types.FormActionType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7724,7 +7524,6 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.Id = ptr.String(jtv) } - case "labelDecorator": if value != nil { jtv, ok := value.(string) @@ -7733,7 +7532,6 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.LabelDecorator = types.LabelDecorator(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7742,7 +7540,6 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.Name = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -7751,22 +7548,18 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.SchemaVersion = ptr.String(jtv) } - case "sectionalElements": if err := awsRestjson1_deserializeDocumentSectionalElementMap(&sv.SectionalElements, value); err != nil { return err } - case "style": if err := awsRestjson1_deserializeDocumentFormStyle(&sv.Style, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7806,7 +7599,6 @@ func awsRestjson1_deserializeDocumentFormBindingElement(v **types.FormBindingEle } sv.Element = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -7815,7 +7607,6 @@ func awsRestjson1_deserializeDocumentFormBindingElement(v **types.FormBindingEle } sv.Property = ptr.String(jtv) } - default: _, _ = key, value @@ -7890,7 +7681,6 @@ func awsRestjson1_deserializeDocumentFormButton(v **types.FormButton, value inte } sv.Children = ptr.String(jtv) } - case "excluded": if value != nil { jtv, ok := value.(bool) @@ -7899,12 +7689,10 @@ func awsRestjson1_deserializeDocumentFormButton(v **types.FormButton, value inte } sv.Excluded = ptr.Bool(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -7940,12 +7728,10 @@ func awsRestjson1_deserializeDocumentFormCTA(v **types.FormCTA, value interface{ if err := awsRestjson1_deserializeDocumentFormButton(&sv.Cancel, value); err != nil { return err } - case "clear": if err := awsRestjson1_deserializeDocumentFormButton(&sv.Clear, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -7954,12 +7740,10 @@ func awsRestjson1_deserializeDocumentFormCTA(v **types.FormCTA, value interface{ } sv.Position = types.FormButtonsPosition(jtv) } - case "submit": if err := awsRestjson1_deserializeDocumentFormButton(&sv.Submit, value); err != nil { return err } - default: _, _ = key, value @@ -7999,7 +7783,6 @@ func awsRestjson1_deserializeDocumentFormDataTypeConfig(v **types.FormDataTypeCo } sv.DataSourceType = types.FormDataSourceType(jtv) } - case "dataTypeName": if value != nil { jtv, ok := value.(string) @@ -8008,7 +7791,6 @@ func awsRestjson1_deserializeDocumentFormDataTypeConfig(v **types.FormDataTypeCo } sv.DataTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -8079,7 +7861,6 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValue(v **types.F if err := awsRestjson1_deserializeDocumentFormInputBindingPropertiesValueProperties(&sv.BindingProperties, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8088,7 +7869,6 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValue(v **types.F } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8128,7 +7908,6 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValueProperties(v } sv.Model = ptr.String(jtv) } - default: _, _ = key, value @@ -8164,12 +7943,10 @@ func awsRestjson1_deserializeDocumentFormInputValueProperty(v **types.FormInputV if err := awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(&sv.BindingProperties, value); err != nil { return err } - case "concat": if err := awsRestjson1_deserializeDocumentFormInputValuePropertyList(&sv.Concat, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -8178,7 +7955,6 @@ func awsRestjson1_deserializeDocumentFormInputValueProperty(v **types.FormInputV } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8218,7 +7994,6 @@ func awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(v * } sv.Field = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -8227,7 +8002,6 @@ func awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(v * } sv.Property = ptr.String(jtv) } - default: _, _ = key, value @@ -8331,17 +8105,14 @@ func awsRestjson1_deserializeDocumentFormStyle(v **types.FormStyle, value interf if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.HorizontalGap, value); err != nil { return err } - case "outerPadding": if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.OuterPadding, value); err != nil { return err } - case "verticalGap": if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.VerticalGap, value); err != nil { return err } - default: _, _ = key, value @@ -8435,12 +8206,10 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.AppId = ptr.String(jtv) } - case "dataType": if err := awsRestjson1_deserializeDocumentFormDataTypeConfig(&sv.DataType, value); err != nil { return err } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -8449,7 +8218,6 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.EnvironmentName = ptr.String(jtv) } - case "formActionType": if value != nil { jtv, ok := value.(string) @@ -8458,7 +8226,6 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.FormActionType = types.FormActionType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8467,7 +8234,6 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8476,7 +8242,6 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8550,7 +8315,6 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.FragmentsFilePath = ptr.String(jtv) } - case "mutationsFilePath": if value != nil { jtv, ok := value.(string) @@ -8559,7 +8323,6 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.MutationsFilePath = ptr.String(jtv) } - case "queriesFilePath": if value != nil { jtv, ok := value.(string) @@ -8568,7 +8331,6 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.QueriesFilePath = ptr.String(jtv) } - case "subscriptionsFilePath": if value != nil { jtv, ok := value.(string) @@ -8577,7 +8339,6 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.SubscriptionsFilePath = ptr.String(jtv) } - case "typesFilePath": if value != nil { jtv, ok := value.(string) @@ -8586,7 +8347,6 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.TypesFilePath = ptr.String(jtv) } - default: _, _ = key, value @@ -8652,15 +8412,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8668,15 +8422,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8701,15 +8451,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8717,15 +8461,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8760,7 +8500,6 @@ func awsRestjson1_deserializeDocumentMutationActionSetStateParameter(v **types.M } sv.ComponentName = ptr.String(jtv) } - case "property": if value != nil { jtv, ok := value.(string) @@ -8769,12 +8508,10 @@ func awsRestjson1_deserializeDocumentMutationActionSetStateParameter(v **types.M } sv.Property = ptr.String(jtv) } - case "set": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Set, value); err != nil { return err } - default: _, _ = key, value @@ -8881,7 +8618,6 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf if err := awsRestjson1_deserializeDocumentPredicateList(&sv.And, value); err != nil { return err } - case "field": if value != nil { jtv, ok := value.(string) @@ -8890,7 +8626,6 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Field = ptr.String(jtv) } - case "operand": if value != nil { jtv, ok := value.(string) @@ -8899,7 +8634,6 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Operand = ptr.String(jtv) } - case "operandType": if value != nil { jtv, ok := value.(string) @@ -8908,7 +8642,6 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.OperandType = ptr.String(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -8917,12 +8650,10 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Operator = ptr.String(jtv) } - case "or": if err := awsRestjson1_deserializeDocumentPredicateList(&sv.Or, value); err != nil { return err } - default: _, _ = key, value @@ -9028,12 +8759,10 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta if err := awsRestjson1_deserializeDocumentApiConfiguration(&sv.ApiConfiguration, value); err != nil { return err } - case "dependencies": if err := awsRestjson1_deserializeDocumentReactCodegenDependencies(&sv.Dependencies, value); err != nil { return err } - case "inlineSourceMap": if value != nil { jtv, ok := value.(bool) @@ -9042,7 +8771,6 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.InlineSourceMap = jtv } - case "module": if value != nil { jtv, ok := value.(string) @@ -9051,7 +8779,6 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Module = types.JSModule(jtv) } - case "renderTypeDeclarations": if value != nil { jtv, ok := value.(bool) @@ -9060,7 +8787,6 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.RenderTypeDeclarations = jtv } - case "script": if value != nil { jtv, ok := value.(string) @@ -9069,7 +8795,6 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Script = types.JSScript(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -9078,7 +8803,6 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Target = types.JSTarget(jtv) } - default: _, _ = key, value @@ -9144,15 +8868,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9160,15 +8878,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9193,15 +8907,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9209,15 +8917,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9252,7 +8956,6 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Excluded = ptr.Bool(jtv) } - case "level": if value != nil { jtv, ok := value.(json.Number) @@ -9265,7 +8968,6 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Level = ptr.Int32(int32(i64)) } - case "orientation": if value != nil { jtv, ok := value.(string) @@ -9274,12 +8976,10 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Orientation = ptr.String(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -9288,7 +8988,6 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Text = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9297,7 +8996,6 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -9362,15 +9060,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9378,15 +9070,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9421,7 +9109,6 @@ func awsRestjson1_deserializeDocumentSortProperty(v **types.SortProperty, value } sv.Direction = types.SortDirection(jtv) } - case "field": if value != nil { jtv, ok := value.(string) @@ -9430,7 +9117,6 @@ func awsRestjson1_deserializeDocumentSortProperty(v **types.SortProperty, value } sv.Field = ptr.String(jtv) } - default: _, _ = key, value @@ -9576,7 +9262,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.AppId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -9589,7 +9274,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.CreatedAt = ptr.Time(t) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9282,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9607,7 +9290,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -9620,7 +9302,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9629,22 +9310,18 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Name = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Overrides, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9718,7 +9395,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.AppId = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -9727,7 +9403,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9736,7 +9411,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9745,7 +9419,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9815,7 +9488,6 @@ func awsRestjson1_deserializeDocumentThemeValue(v **types.ThemeValue, value inte if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Children, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -9824,7 +9496,6 @@ func awsRestjson1_deserializeDocumentThemeValue(v **types.ThemeValue, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9864,12 +9535,10 @@ func awsRestjson1_deserializeDocumentThemeValues(v **types.ThemeValues, value in } sv.Key = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentThemeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -9933,15 +9602,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9949,15 +9612,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9982,15 +9641,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9998,15 +9651,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10071,12 +9720,10 @@ func awsRestjson1_deserializeDocumentValueMapping(v **types.ValueMapping, value if err := awsRestjson1_deserializeDocumentFormInputValueProperty(&sv.DisplayValue, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentFormInputValueProperty(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -10146,12 +9793,10 @@ func awsRestjson1_deserializeDocumentValueMappings(v **types.ValueMappings, valu if err := awsRestjson1_deserializeDocumentFormInputBindingProperties(&sv.BindingProperties, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentValueMappingList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/apigateway/deserializers.go b/service/apigateway/deserializers.go index c6910c61f95..df74c17c7bf 100644 --- a/service/apigateway/deserializers.go +++ b/service/apigateway/deserializers.go @@ -199,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } } - case "customerId": if value != nil { jtv, ok := value.(string) @@ -208,7 +207,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.CustomerId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -217,7 +215,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -226,7 +223,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Enabled = jtv } - case "id": if value != nil { jtv, ok := value.(string) @@ -235,7 +231,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Id = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -251,7 +246,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } } - case "name": if value != nil { jtv, ok := value.(string) @@ -260,17 +254,14 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Name = ptr.String(jtv) } - case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -279,7 +270,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -450,7 +440,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerCredentials = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -463,7 +452,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -472,7 +460,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -481,7 +468,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthType = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -490,7 +476,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Id = ptr.String(jtv) } - case "identitySource": if value != nil { jtv, ok := value.(string) @@ -499,7 +484,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentitySource = ptr.String(jtv) } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -508,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -517,12 +500,10 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Name = ptr.String(jtv) } - case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -531,7 +512,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Type = types.AuthorizerType(jtv) } - default: _, _ = key, value @@ -702,7 +682,6 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.BasePath = ptr.String(jtv) } - case "restApiId": if value != nil { jtv, ok := value.(string) @@ -711,7 +690,6 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.RestApiId = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -720,7 +698,6 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -890,7 +867,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -906,7 +882,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } } - case "description": if value != nil { jtv, ok := value.(string) @@ -915,7 +890,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -924,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1095,12 +1068,10 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationPartOutput(v **CreateD } sv.Id = ptr.String(jtv) } - case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } - case "properties": if value != nil { jtv, ok := value.(string) @@ -1109,7 +1080,6 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationPartOutput(v **CreateD } sv.Properties = ptr.String(jtv) } - default: _, _ = key, value @@ -1287,7 +1257,6 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1296,7 +1265,6 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } sv.Description = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -1305,7 +1273,6 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1473,7 +1440,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.CertificateArn = ptr.String(jtv) } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -1482,7 +1448,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.CertificateName = ptr.String(jtv) } - case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -1498,7 +1463,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } } - case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -1507,7 +1471,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DistributionDomainName = ptr.String(jtv) } - case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -1516,7 +1479,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DistributionHostedZoneId = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -1525,7 +1487,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainName = ptr.String(jtv) } - case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -1534,7 +1495,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainNameStatus = types.DomainNameStatus(jtv) } - case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -1543,17 +1503,14 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainNameStatusMessage = ptr.String(jtv) } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -1562,7 +1519,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } - case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -1571,7 +1527,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalCertificateArn = ptr.String(jtv) } - case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -1580,7 +1535,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalCertificateName = ptr.String(jtv) } - case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -1589,7 +1543,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalDomainName = ptr.String(jtv) } - case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -1598,7 +1551,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalHostedZoneId = ptr.String(jtv) } - case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -1607,12 +1559,10 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.SecurityPolicy = types.SecurityPolicy(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1783,7 +1733,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1792,7 +1741,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1801,7 +1749,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1810,7 +1757,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -1819,7 +1765,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -1990,7 +1935,6 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1999,7 +1943,6 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.Name = ptr.String(jtv) } - case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -2008,7 +1951,6 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.ValidateRequestBody = jtv } - case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -2017,7 +1959,6 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.ValidateRequestParameters = jtv } - default: _, _ = key, value @@ -2188,7 +2129,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.Id = ptr.String(jtv) } - case "parentId": if value != nil { jtv, ok := value.(string) @@ -2197,7 +2137,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.ParentId = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -2206,7 +2145,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.Path = ptr.String(jtv) } - case "pathPart": if value != nil { jtv, ok := value.(string) @@ -2215,12 +2153,10 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.PathPart = ptr.String(jtv) } - case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } - default: _, _ = key, value @@ -2388,12 +2324,10 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2409,7 +2343,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2418,7 +2351,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -2427,12 +2359,10 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2441,7 +2371,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -2454,7 +2383,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2463,7 +2391,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -2472,7 +2399,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -2481,12 +2407,10 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2495,12 +2419,10 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -2667,7 +2589,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -2676,7 +2597,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterEnabled = jtv } - case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -2685,7 +2605,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterSize = types.CacheClusterSize(jtv) } - case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -2694,12 +2613,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } - case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -2708,7 +2625,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2724,7 +2640,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2733,7 +2648,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2742,7 +2656,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.Description = ptr.String(jtv) } - case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -2751,7 +2664,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DocumentationVersion = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2767,12 +2679,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } } - case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -2781,12 +2691,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.StageName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -2795,12 +2703,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.TracingEnabled = jtv } - case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } - case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -2809,7 +2715,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.WebAclArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2976,7 +2881,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -2985,7 +2889,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2994,7 +2897,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3003,7 +2905,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Name = ptr.String(jtv) } - case "productCode": if value != nil { jtv, ok := value.(string) @@ -3012,22 +2913,18 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.ProductCode = ptr.String(jtv) } - case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } - default: _, _ = key, value @@ -3198,7 +3095,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3207,7 +3103,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3216,7 +3111,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3225,7 +3119,6 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3393,7 +3286,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3402,7 +3294,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3411,7 +3302,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3420,7 +3310,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Status = types.VpcLinkStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3429,17 +3318,14 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } - default: _, _ = key, value @@ -6054,7 +5940,6 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6070,7 +5955,6 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6079,7 +5963,6 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -6095,7 +5978,6 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } } - case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -6104,12 +5986,10 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.PemEncodedCertificate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6274,7 +6154,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ApiKeyVersion = ptr.String(jtv) } - case "cloudwatchRoleArn": if value != nil { jtv, ok := value.(string) @@ -6283,17 +6162,14 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.CloudwatchRoleArn = ptr.String(jtv) } - case "features": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Features, value); err != nil { return err } - case "throttleSettings": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.ThrottleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -6465,7 +6341,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } } - case "customerId": if value != nil { jtv, ok := value.(string) @@ -6474,7 +6349,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.CustomerId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6483,7 +6357,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -6492,7 +6365,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Enabled = jtv } - case "id": if value != nil { jtv, ok := value.(string) @@ -6501,7 +6373,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Id = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6517,7 +6388,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6526,17 +6396,14 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Name = ptr.String(jtv) } - case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -6545,7 +6412,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6706,7 +6572,6 @@ func awsRestjson1_deserializeOpDocumentGetApiKeysOutput(v **GetApiKeysOutput, va if err := awsRestjson1_deserializeDocumentListOfApiKey(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -6715,12 +6580,10 @@ func awsRestjson1_deserializeOpDocumentGetApiKeysOutput(v **GetApiKeysOutput, va } sv.Position = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -6885,7 +6748,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerCredentials = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6898,7 +6760,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -6907,7 +6768,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerUri = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -6916,7 +6776,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthType = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6925,7 +6784,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Id = ptr.String(jtv) } - case "identitySource": if value != nil { jtv, ok := value.(string) @@ -6934,7 +6792,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentitySource = ptr.String(jtv) } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -6943,7 +6800,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentityValidationExpression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6952,12 +6808,10 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Name = ptr.String(jtv) } - case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6966,7 +6820,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Type = types.AuthorizerType(jtv) } - default: _, _ = key, value @@ -7127,7 +6980,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu if err := awsRestjson1_deserializeDocumentListOfAuthorizer(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -7136,7 +6988,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -7301,7 +7152,6 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.BasePath = ptr.String(jtv) } - case "restApiId": if value != nil { jtv, ok := value.(string) @@ -7310,7 +7160,6 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.RestApiId = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -7319,7 +7168,6 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -7480,7 +7328,6 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingsOutput(v **GetBasePath if err := awsRestjson1_deserializeDocumentListOfBasePathMapping(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -7489,7 +7336,6 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingsOutput(v **GetBasePath } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -7654,7 +7500,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7670,7 +7515,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } } - case "description": if value != nil { jtv, ok := value.(string) @@ -7679,7 +7523,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -7695,7 +7538,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } } - case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -7704,12 +7546,10 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.PemEncodedCertificate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7870,7 +7710,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificatesOutput(v **GetClient if err := awsRestjson1_deserializeDocumentListOfClientCertificate(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -7879,7 +7718,6 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificatesOutput(v **GetClient } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -8043,7 +7881,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -8059,7 +7896,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8068,7 +7904,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8077,7 +7912,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -8241,7 +8075,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocumentListOfDeployment(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -8250,7 +8083,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -8415,12 +8247,10 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartOutput(v **GetDocumen } sv.Id = ptr.String(jtv) } - case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } - case "properties": if value != nil { jtv, ok := value.(string) @@ -8429,7 +8259,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartOutput(v **GetDocumen } sv.Properties = ptr.String(jtv) } - default: _, _ = key, value @@ -8590,7 +8419,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartsOutput(v **GetDocume if err := awsRestjson1_deserializeDocumentListOfDocumentationPart(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -8599,7 +8427,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartsOutput(v **GetDocume } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -8768,7 +8595,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8777,7 +8603,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } sv.Description = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -8786,7 +8611,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8947,7 +8771,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionsOutput(v **GetDoc if err := awsRestjson1_deserializeDocumentListOfDocumentationVersion(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -8956,7 +8779,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionsOutput(v **GetDoc } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -9121,7 +8943,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.CertificateArn = ptr.String(jtv) } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -9130,7 +8951,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.CertificateName = ptr.String(jtv) } - case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -9146,7 +8966,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } } - case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -9155,7 +8974,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DistributionDomainName = ptr.String(jtv) } - case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -9164,7 +8982,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DistributionHostedZoneId = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -9173,7 +8990,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainName = ptr.String(jtv) } - case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -9182,7 +8998,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainNameStatus = types.DomainNameStatus(jtv) } - case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -9191,17 +9006,14 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainNameStatusMessage = ptr.String(jtv) } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -9210,7 +9022,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } - case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -9219,7 +9030,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalCertificateArn = ptr.String(jtv) } - case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -9228,7 +9038,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalCertificateName = ptr.String(jtv) } - case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -9237,7 +9046,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalDomainName = ptr.String(jtv) } - case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -9246,7 +9054,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalHostedZoneId = ptr.String(jtv) } - case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -9255,12 +9062,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.SecurityPolicy = types.SecurityPolicy(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9421,7 +9226,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu if err := awsRestjson1_deserializeDocumentListOfDomainName(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -9430,7 +9234,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -9747,17 +9550,14 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.DefaultResponse = jtv } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "responseType": if value != nil { jtv, ok := value.(string) @@ -9766,7 +9566,6 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.ResponseType = types.GatewayResponseType(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -9775,7 +9574,6 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -9936,7 +9734,6 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponsesOutput(v **GetGatewayR if err := awsRestjson1_deserializeDocumentListOfGatewayResponse(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9742,6 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponsesOutput(v **GetGatewayR } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -10106,7 +9902,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } - case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -10115,7 +9910,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.CacheNamespace = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10124,7 +9918,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -10133,7 +9926,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -10142,7 +9934,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "credentials": if value != nil { jtv, ok := value.(string) @@ -10151,7 +9942,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Credentials = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -10160,12 +9950,10 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.HttpMethod = ptr.String(jtv) } - case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -10174,17 +9962,14 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PassthroughBehavior = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10197,12 +9982,10 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TimeoutInMillis = int32(i64) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10211,7 +9994,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Type = types.IntegrationType(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -10220,7 +10002,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -10385,17 +10166,14 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -10404,7 +10182,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.SelectionPattern = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -10413,7 +10190,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -10575,12 +10351,10 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -10589,7 +10363,6 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.AuthorizationType = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -10598,7 +10371,6 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.AuthorizerId = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -10607,17 +10379,14 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.HttpMethod = ptr.String(jtv) } - case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } - case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -10626,17 +10395,14 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } - case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -10645,7 +10411,6 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.RequestValidatorId = ptr.String(jtv) } - default: _, _ = key, value @@ -10803,12 +10568,10 @@ func awsRestjson1_deserializeOpDocumentGetMethodResponseOutput(v **GetMethodResp if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -10817,7 +10580,6 @@ func awsRestjson1_deserializeOpDocumentGetMethodResponseOutput(v **GetMethodResp } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -10982,7 +10744,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10991,7 +10752,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11000,7 +10760,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11009,7 +10768,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -11018,7 +10776,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -11179,7 +10936,6 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsRestjson1_deserializeDocumentListOfModel(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -11188,7 +10944,6 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -11353,7 +11108,6 @@ func awsRestjson1_deserializeOpDocumentGetModelTemplateOutput(v **GetModelTempla } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11518,7 +11272,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11527,7 +11280,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.Name = ptr.String(jtv) } - case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -11536,7 +11288,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.ValidateRequestBody = jtv } - case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -11545,7 +11296,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.ValidateRequestParameters = jtv } - default: _, _ = key, value @@ -11706,7 +11456,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorsOutput(v **GetRequest if err := awsRestjson1_deserializeDocumentListOfRequestValidator(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -11715,7 +11464,6 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorsOutput(v **GetRequest } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -11877,7 +11625,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.Id = ptr.String(jtv) } - case "parentId": if value != nil { jtv, ok := value.(string) @@ -11886,7 +11633,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.ParentId = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -11895,7 +11641,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.Path = ptr.String(jtv) } - case "pathPart": if value != nil { jtv, ok := value.(string) @@ -11904,12 +11649,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.PathPart = ptr.String(jtv) } - case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } - default: _, _ = key, value @@ -12070,7 +11813,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput if err := awsRestjson1_deserializeDocumentListOfResource(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -12079,7 +11821,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -12244,12 +11985,10 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -12265,7 +12004,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -12274,7 +12012,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -12283,12 +12020,10 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12297,7 +12032,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -12310,7 +12044,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12319,7 +12052,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -12328,7 +12060,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -12337,12 +12068,10 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -12351,12 +12080,10 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -12517,7 +12244,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApisOutput(v **GetRestApisOutput, if err := awsRestjson1_deserializeDocumentListOfRestApi(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -12526,7 +12252,6 @@ func awsRestjson1_deserializeOpDocumentGetRestApisOutput(v **GetRestApisOutput, } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -12839,7 +12564,6 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va if err := awsRestjson1_deserializeDocumentListOfSdkConfigurationProperty(&sv.ConfigurationProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -12848,7 +12572,6 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.Description = ptr.String(jtv) } - case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -12857,7 +12580,6 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.FriendlyName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12866,7 +12588,6 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -13027,7 +12748,6 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypesOutput(v **GetSdkTypesOutput, if err := awsRestjson1_deserializeDocumentListOfSdkType(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -13194,7 +12914,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -13203,7 +12922,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterEnabled = jtv } - case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -13212,7 +12930,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterSize = types.CacheClusterSize(jtv) } - case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -13221,12 +12938,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } - case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -13235,7 +12950,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -13251,7 +12965,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -13260,7 +12973,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13269,7 +12981,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.Description = ptr.String(jtv) } - case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -13278,7 +12989,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DocumentationVersion = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -13294,12 +13004,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } } - case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -13308,12 +13016,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.StageName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -13322,12 +13028,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.TracingEnabled = jtv } - case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } - case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -13336,7 +13040,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.WebAclArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13503,7 +13206,6 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu if err := awsRestjson1_deserializeDocumentListOfStage(&sv.Item, value); err != nil { return err } - default: _, _ = key, value @@ -13664,7 +13366,6 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13829,12 +13530,10 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.EndDate = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentMapOfKeyUsages(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -13843,7 +13542,6 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.Position = ptr.String(jtv) } - case "startDate": if value != nil { jtv, ok := value.(string) @@ -13852,7 +13550,6 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.StartDate = ptr.String(jtv) } - case "usagePlanId": if value != nil { jtv, ok := value.(string) @@ -13861,7 +13558,6 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.UsagePlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -14022,7 +13718,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -14031,7 +13726,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14040,7 +13734,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14049,7 +13742,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Name = ptr.String(jtv) } - case "productCode": if value != nil { jtv, ok := value.(string) @@ -14058,22 +13750,18 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.ProductCode = ptr.String(jtv) } - case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } - default: _, _ = key, value @@ -14238,7 +13926,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14247,7 +13934,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14256,7 +13942,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -14265,7 +13950,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14426,7 +14110,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeysOutput(v **GetUsagePlanKe if err := awsRestjson1_deserializeDocumentListOfUsagePlanKey(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -14435,7 +14118,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeysOutput(v **GetUsagePlanKe } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -14596,7 +14278,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlansOutput(v **GetUsagePlansOutp if err := awsRestjson1_deserializeDocumentListOfUsagePlan(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -14605,7 +14286,6 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlansOutput(v **GetUsagePlansOutp } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -14770,7 +14450,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14779,7 +14458,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14788,7 +14466,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14797,7 +14474,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Status = types.VpcLinkStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -14806,17 +14482,14 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } - default: _, _ = key, value @@ -14977,7 +14650,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, if err := awsRestjson1_deserializeDocumentListOfVpcLink(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -14986,7 +14658,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, } sv.Position = ptr.String(jtv) } - default: _, _ = key, value @@ -15153,12 +14824,10 @@ func awsRestjson1_deserializeOpDocumentImportApiKeysOutput(v **ImportApiKeysOutp if err := awsRestjson1_deserializeDocumentListOfString(&sv.Ids, value); err != nil { return err } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -15325,12 +14994,10 @@ func awsRestjson1_deserializeOpDocumentImportDocumentationPartsOutput(v **Import if err := awsRestjson1_deserializeDocumentListOfString(&sv.Ids, value); err != nil { return err } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -15501,12 +15168,10 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -15522,7 +15187,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -15531,7 +15195,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -15540,12 +15203,10 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -15554,7 +15215,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -15567,7 +15227,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15576,7 +15235,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -15585,7 +15243,6 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -15594,12 +15251,10 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -15608,12 +15263,10 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -15784,17 +15437,14 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.DefaultResponse = jtv } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "responseType": if value != nil { jtv, ok := value.(string) @@ -15803,7 +15453,6 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.ResponseType = types.GatewayResponseType(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -15812,7 +15461,6 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -15979,7 +15627,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } - case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -15988,7 +15635,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.CacheNamespace = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15997,7 +15643,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -16006,7 +15651,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -16015,7 +15659,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "credentials": if value != nil { jtv, ok := value.(string) @@ -16024,7 +15667,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Credentials = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -16033,12 +15675,10 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.HttpMethod = ptr.String(jtv) } - case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -16047,17 +15687,14 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.PassthroughBehavior = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -16070,12 +15707,10 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.TimeoutInMillis = int32(i64) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -16084,7 +15719,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Type = types.IntegrationType(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -16093,7 +15727,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -16264,17 +15897,14 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -16283,7 +15913,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.SelectionPattern = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -16292,7 +15921,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -16463,12 +16091,10 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -16477,7 +16103,6 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.AuthorizationType = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -16486,7 +16111,6 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.AuthorizerId = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -16495,17 +16119,14 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.HttpMethod = ptr.String(jtv) } - case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } - case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -16514,17 +16135,14 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } - case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -16533,7 +16151,6 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.RequestValidatorId = ptr.String(jtv) } - default: _, _ = key, value @@ -16700,12 +16317,10 @@ func awsRestjson1_deserializeOpDocumentPutMethodResponseOutput(v **PutMethodResp if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -16714,7 +16329,6 @@ func awsRestjson1_deserializeOpDocumentPutMethodResponseOutput(v **PutMethodResp } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -16885,12 +16499,10 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -16906,7 +16518,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16915,7 +16526,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -16924,12 +16534,10 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16938,7 +16546,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -16951,7 +16558,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16960,7 +16566,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -16969,7 +16574,6 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -16978,12 +16582,10 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -16992,12 +16594,10 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -17267,12 +16867,10 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke if err := awsRestjson1_deserializeDocumentMapOfStringToList(&sv.Authorization, value); err != nil { return err } - case "claims": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Claims, value); err != nil { return err } - case "clientStatus": if value != nil { jtv, ok := value.(json.Number) @@ -17285,7 +16883,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.ClientStatus = int32(i64) } - case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -17298,7 +16895,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Latency = i64 } - case "log": if value != nil { jtv, ok := value.(string) @@ -17307,7 +16903,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Log = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -17316,7 +16911,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Policy = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -17325,7 +16919,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.PrincipalId = ptr.String(jtv) } - default: _, _ = key, value @@ -17490,12 +17083,10 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Body = ptr.String(jtv) } - case "headers": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Headers, value); err != nil { return err } - case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -17508,7 +17099,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Latency = i64 } - case "log": if value != nil { jtv, ok := value.(string) @@ -17517,12 +17107,10 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Log = ptr.String(jtv) } - case "multiValueHeaders": if err := awsRestjson1_deserializeDocumentMapOfStringToList(&sv.MultiValueHeaders, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(json.Number) @@ -17535,7 +17123,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Status = int32(i64) } - default: _, _ = key, value @@ -17815,7 +17402,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp } sv.ApiKeyVersion = ptr.String(jtv) } - case "cloudwatchRoleArn": if value != nil { jtv, ok := value.(string) @@ -17824,17 +17410,14 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp } sv.CloudwatchRoleArn = ptr.String(jtv) } - case "features": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Features, value); err != nil { return err } - case "throttleSettings": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.ThrottleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -18012,7 +17595,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } } - case "customerId": if value != nil { jtv, ok := value.(string) @@ -18021,7 +17603,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.CustomerId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18030,7 +17611,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -18039,7 +17619,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Enabled = jtv } - case "id": if value != nil { jtv, ok := value.(string) @@ -18048,7 +17627,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Id = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -18064,7 +17642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } } - case "name": if value != nil { jtv, ok := value.(string) @@ -18073,17 +17650,14 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Name = ptr.String(jtv) } - case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -18092,7 +17666,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -18263,7 +17836,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerCredentials = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18276,7 +17848,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -18285,7 +17856,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -18294,7 +17864,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthType = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18303,7 +17872,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Id = ptr.String(jtv) } - case "identitySource": if value != nil { jtv, ok := value.(string) @@ -18312,7 +17880,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentitySource = ptr.String(jtv) } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -18321,7 +17888,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18330,12 +17896,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Name = ptr.String(jtv) } - case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -18344,7 +17908,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Type = types.AuthorizerType(jtv) } - default: _, _ = key, value @@ -18515,7 +18078,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.BasePath = ptr.String(jtv) } - case "restApiId": if value != nil { jtv, ok := value.(string) @@ -18524,7 +18086,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.RestApiId = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -18533,7 +18094,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -18704,7 +18264,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -18720,7 +18279,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } } - case "description": if value != nil { jtv, ok := value.(string) @@ -18729,7 +18287,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -18745,7 +18302,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } } - case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -18754,12 +18310,10 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.PemEncodedCertificate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18929,7 +18483,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -18945,7 +18498,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } } - case "description": if value != nil { jtv, ok := value.(string) @@ -18954,7 +18506,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18963,7 +18514,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -19134,12 +18684,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationPartOutput(v **UpdateD } sv.Id = ptr.String(jtv) } - case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } - case "properties": if value != nil { jtv, ok := value.(string) @@ -19148,7 +18696,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationPartOutput(v **UpdateD } sv.Properties = ptr.String(jtv) } - default: _, _ = key, value @@ -19326,7 +18873,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19335,7 +18881,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } sv.Description = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -19344,7 +18889,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -19515,7 +19059,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.CertificateArn = ptr.String(jtv) } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -19524,7 +19067,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.CertificateName = ptr.String(jtv) } - case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -19540,7 +19082,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } } - case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -19549,7 +19090,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DistributionDomainName = ptr.String(jtv) } - case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -19558,7 +19098,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DistributionHostedZoneId = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -19567,7 +19106,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainName = ptr.String(jtv) } - case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -19576,7 +19114,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainNameStatus = types.DomainNameStatus(jtv) } - case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -19585,17 +19122,14 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainNameStatusMessage = ptr.String(jtv) } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19604,7 +19138,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } - case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19613,7 +19146,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalCertificateArn = ptr.String(jtv) } - case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -19622,7 +19154,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalCertificateName = ptr.String(jtv) } - case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -19631,7 +19162,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalDomainName = ptr.String(jtv) } - case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -19640,7 +19170,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalHostedZoneId = ptr.String(jtv) } - case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -19649,12 +19178,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.SecurityPolicy = types.SecurityPolicy(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19825,17 +19352,14 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.DefaultResponse = jtv } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "responseType": if value != nil { jtv, ok := value.(string) @@ -19844,7 +19368,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.ResponseType = types.GatewayResponseType(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -19853,7 +19376,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -20020,7 +19542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } - case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -20029,7 +19550,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.CacheNamespace = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -20038,7 +19558,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -20047,7 +19566,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -20056,7 +19574,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "credentials": if value != nil { jtv, ok := value.(string) @@ -20065,7 +19582,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Credentials = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -20074,12 +19590,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.HttpMethod = ptr.String(jtv) } - case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -20088,17 +19602,14 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PassthroughBehavior = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -20111,12 +19622,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TimeoutInMillis = int32(i64) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -20125,7 +19634,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Type = types.IntegrationType(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -20134,7 +19642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -20305,17 +19812,14 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -20324,7 +19828,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.SelectionPattern = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -20333,7 +19836,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -20501,12 +20003,10 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -20515,7 +20015,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.AuthorizationType = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -20524,7 +20023,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.AuthorizerId = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -20533,17 +20031,14 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.HttpMethod = ptr.String(jtv) } - case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } - case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -20552,17 +20047,14 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } - case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -20571,7 +20063,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.RequestValidatorId = ptr.String(jtv) } - default: _, _ = key, value @@ -20738,12 +20229,10 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodResponseOutput(v **UpdateMeth if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -20752,7 +20241,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodResponseOutput(v **UpdateMeth } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -20923,7 +20411,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -20932,7 +20419,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20941,7 +20427,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20950,7 +20435,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -20959,7 +20443,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -21130,7 +20613,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21139,7 +20621,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.Name = ptr.String(jtv) } - case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -21148,7 +20629,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.ValidateRequestBody = jtv } - case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -21157,7 +20637,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.ValidateRequestParameters = jtv } - default: _, _ = key, value @@ -21325,7 +20804,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.Id = ptr.String(jtv) } - case "parentId": if value != nil { jtv, ok := value.(string) @@ -21334,7 +20812,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.ParentId = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -21343,7 +20820,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.Path = ptr.String(jtv) } - case "pathPart": if value != nil { jtv, ok := value.(string) @@ -21352,12 +20828,10 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.PathPart = ptr.String(jtv) } - case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } - default: _, _ = key, value @@ -21528,12 +21002,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -21549,7 +21021,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -21558,7 +21029,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -21567,12 +21037,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -21581,7 +21049,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -21594,7 +21061,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21603,7 +21069,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -21612,7 +21077,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -21621,12 +21085,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -21635,12 +21097,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -21807,7 +21267,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -21816,7 +21275,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterEnabled = jtv } - case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -21825,7 +21283,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterSize = types.CacheClusterSize(jtv) } - case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -21834,12 +21291,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } - case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -21848,7 +21303,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -21864,7 +21318,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -21873,7 +21326,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -21882,7 +21334,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.Description = ptr.String(jtv) } - case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -21891,7 +21342,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DocumentationVersion = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -21907,12 +21357,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } } - case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -21921,12 +21369,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.StageName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -21935,12 +21381,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.TracingEnabled = jtv } - case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } - case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -21949,7 +21393,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.WebAclArn = ptr.String(jtv) } - default: _, _ = key, value @@ -22120,12 +21563,10 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.EndDate = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentMapOfKeyUsages(&sv.Items, value); err != nil { return err } - case "position": if value != nil { jtv, ok := value.(string) @@ -22134,7 +21575,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.Position = ptr.String(jtv) } - case "startDate": if value != nil { jtv, ok := value.(string) @@ -22143,7 +21583,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.StartDate = ptr.String(jtv) } - case "usagePlanId": if value != nil { jtv, ok := value.(string) @@ -22152,7 +21591,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.UsagePlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -22319,7 +21757,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -22328,7 +21765,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22337,7 +21773,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22346,7 +21781,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Name = ptr.String(jtv) } - case "productCode": if value != nil { jtv, ok := value.(string) @@ -22355,22 +21789,18 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.ProductCode = ptr.String(jtv) } - case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } - default: _, _ = key, value @@ -22541,7 +21971,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22550,7 +21979,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22559,7 +21987,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -22568,7 +21995,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Status = types.VpcLinkStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -22577,17 +22003,14 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } - default: _, _ = key, value @@ -22927,7 +22350,6 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.DestinationArn = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -22936,7 +22358,6 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -22983,7 +22404,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } } - case "customerId": if value != nil { jtv, ok := value.(string) @@ -22992,7 +22412,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.CustomerId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -23001,7 +22420,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -23010,7 +22428,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Enabled = jtv } - case "id": if value != nil { jtv, ok := value.(string) @@ -23019,7 +22436,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Id = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -23035,7 +22451,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } } - case "name": if value != nil { jtv, ok := value.(string) @@ -23044,17 +22459,14 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Name = ptr.String(jtv) } - case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -23063,7 +22475,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -23103,7 +22514,6 @@ func awsRestjson1_deserializeDocumentApiStage(v **types.ApiStage, value interfac } sv.ApiId = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -23112,12 +22522,10 @@ func awsRestjson1_deserializeDocumentApiStage(v **types.ApiStage, value interfac } sv.Stage = ptr.String(jtv) } - case "throttle": if err := awsRestjson1_deserializeDocumentMapOfApiStageThrottleSettings(&sv.Throttle, value); err != nil { return err } - default: _, _ = key, value @@ -23157,7 +22565,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerCredentials = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -23170,7 +22577,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -23179,7 +22585,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerUri = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -23188,7 +22593,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthType = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -23197,7 +22601,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Id = ptr.String(jtv) } - case "identitySource": if value != nil { jtv, ok := value.(string) @@ -23206,7 +22609,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentitySource = ptr.String(jtv) } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -23215,7 +22617,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentityValidationExpression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23224,12 +22625,10 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Name = ptr.String(jtv) } - case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -23238,7 +22637,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Type = types.AuthorizerType(jtv) } - default: _, _ = key, value @@ -23268,15 +22666,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23284,15 +22676,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23327,7 +22715,6 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.BasePath = ptr.String(jtv) } - case "restApiId": if value != nil { jtv, ok := value.(string) @@ -23336,7 +22723,6 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.RestApiId = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -23345,7 +22731,6 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -23385,7 +22770,6 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } sv.DeploymentId = ptr.String(jtv) } - case "percentTraffic": if value != nil { switch jtv := value.(type) { @@ -23419,12 +22803,10 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } } - case "stageVariableOverrides": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.StageVariableOverrides, value); err != nil { return err } - case "useStageCache": if value != nil { jtv, ok := value.(bool) @@ -23433,7 +22815,6 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } sv.UseStageCache = jtv } - default: _, _ = key, value @@ -23473,7 +22854,6 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -23489,7 +22869,6 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } } - case "description": if value != nil { jtv, ok := value.(string) @@ -23498,7 +22877,6 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -23514,7 +22892,6 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } } - case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -23523,12 +22900,10 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.PemEncodedCertificate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -23558,15 +22933,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23574,15 +22943,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23613,7 +22978,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -23629,7 +22993,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -23638,7 +23001,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -23647,7 +23009,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -23687,12 +23048,10 @@ func awsRestjson1_deserializeDocumentDocumentationPart(v **types.DocumentationPa } sv.Id = ptr.String(jtv) } - case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } - case "properties": if value != nil { jtv, ok := value.(string) @@ -23701,7 +23060,6 @@ func awsRestjson1_deserializeDocumentDocumentationPart(v **types.DocumentationPa } sv.Properties = ptr.String(jtv) } - default: _, _ = key, value @@ -23741,7 +23099,6 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Method = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23750,7 +23107,6 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -23759,7 +23115,6 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Path = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -23768,7 +23123,6 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.StatusCode = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -23777,7 +23131,6 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Type = types.DocumentationPartType(jtv) } - default: _, _ = key, value @@ -23824,7 +23177,6 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } } - case "description": if value != nil { jtv, ok := value.(string) @@ -23833,7 +23185,6 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } sv.Description = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -23842,7 +23193,6 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -23882,7 +23232,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.CertificateArn = ptr.String(jtv) } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -23891,7 +23240,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.CertificateName = ptr.String(jtv) } - case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -23907,7 +23255,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } } - case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -23916,7 +23263,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DistributionDomainName = ptr.String(jtv) } - case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -23925,7 +23271,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DistributionHostedZoneId = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -23934,7 +23279,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainName = ptr.String(jtv) } - case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -23943,7 +23287,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainNameStatus = types.DomainNameStatus(jtv) } - case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -23952,17 +23295,14 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainNameStatusMessage = ptr.String(jtv) } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23971,7 +23311,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } - case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23980,7 +23319,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalCertificateArn = ptr.String(jtv) } - case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -23989,7 +23327,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalCertificateName = ptr.String(jtv) } - case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -23998,7 +23335,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalDomainName = ptr.String(jtv) } - case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -24007,7 +23343,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalHostedZoneId = ptr.String(jtv) } - case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -24016,12 +23351,10 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.SecurityPolicy = types.SecurityPolicy(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -24057,12 +23390,10 @@ func awsRestjson1_deserializeDocumentEndpointConfiguration(v **types.EndpointCon if err := awsRestjson1_deserializeDocumentListOfEndpointType(&sv.Types, value); err != nil { return err } - case "vpcEndpointIds": if err := awsRestjson1_deserializeDocumentListOfString(&sv.VpcEndpointIds, value); err != nil { return err } - default: _, _ = key, value @@ -24102,17 +23433,14 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.DefaultResponse = jtv } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "responseType": if value != nil { jtv, ok := value.(string) @@ -24121,7 +23449,6 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.ResponseType = types.GatewayResponseType(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -24130,7 +23457,6 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -24166,7 +23492,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } - case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -24175,7 +23500,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.CacheNamespace = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -24184,7 +23508,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -24193,7 +23516,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -24202,7 +23524,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "credentials": if value != nil { jtv, ok := value.(string) @@ -24211,7 +23532,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Credentials = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -24220,12 +23540,10 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.HttpMethod = ptr.String(jtv) } - case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -24234,17 +23552,14 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PassthroughBehavior = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -24257,12 +23572,10 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TimeoutInMillis = int32(i64) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -24271,7 +23584,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Type = types.IntegrationType(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -24280,7 +23592,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -24320,17 +23631,14 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } - case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -24339,7 +23647,6 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.SelectionPattern = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -24348,7 +23655,6 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -24378,15 +23684,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24394,7 +23694,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -24403,15 +23702,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25656,12 +24951,10 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -25670,7 +24963,6 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.AuthorizationType = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -25679,7 +24971,6 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.AuthorizerId = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -25688,17 +24979,14 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.HttpMethod = ptr.String(jtv) } - case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } - case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -25707,17 +24995,14 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } - case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -25726,7 +25011,6 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.RequestValidatorId = ptr.String(jtv) } - default: _, _ = key, value @@ -25762,12 +25046,10 @@ func awsRestjson1_deserializeDocumentMethodResponse(v **types.MethodResponse, va if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -25776,7 +25058,6 @@ func awsRestjson1_deserializeDocumentMethodResponse(v **types.MethodResponse, va } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -25816,7 +25097,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CacheDataEncrypted = jtv } - case "cacheTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -25829,7 +25109,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CacheTtlInSeconds = int32(i64) } - case "cachingEnabled": if value != nil { jtv, ok := value.(bool) @@ -25838,7 +25117,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CachingEnabled = jtv } - case "dataTraceEnabled": if value != nil { jtv, ok := value.(bool) @@ -25847,7 +25125,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.DataTraceEnabled = jtv } - case "loggingLevel": if value != nil { jtv, ok := value.(string) @@ -25856,7 +25133,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.LoggingLevel = ptr.String(jtv) } - case "metricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -25865,7 +25141,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.MetricsEnabled = jtv } - case "requireAuthorizationForCacheControl": if value != nil { jtv, ok := value.(bool) @@ -25874,7 +25149,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.RequireAuthorizationForCacheControl = jtv } - case "throttlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -25887,7 +25161,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.ThrottlingBurstLimit = int32(i64) } - case "throttlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -25921,7 +25194,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } } - case "unauthorizedCacheControlHeaderStrategy": if value != nil { jtv, ok := value.(string) @@ -25930,7 +25202,6 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.UnauthorizedCacheControlHeaderStrategy = types.UnauthorizedCacheControlHeaderStrategy(jtv) } - default: _, _ = key, value @@ -25970,7 +25241,6 @@ func awsRestjson1_deserializeDocumentMethodSnapshot(v **types.MethodSnapshot, va } sv.ApiKeyRequired = jtv } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -25979,7 +25249,6 @@ func awsRestjson1_deserializeDocumentMethodSnapshot(v **types.MethodSnapshot, va } sv.AuthorizationType = ptr.String(jtv) } - default: _, _ = key, value @@ -26019,7 +25288,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -26028,7 +25296,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -26037,7 +25304,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26046,7 +25312,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -26055,7 +25320,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -26095,7 +25359,6 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreUri = ptr.String(jtv) } - case "truststoreVersion": if value != nil { jtv, ok := value.(string) @@ -26104,12 +25367,10 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreVersion = ptr.String(jtv) } - case "truststoreWarnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TruststoreWarnings, value); err != nil { return err } - default: _, _ = key, value @@ -26139,15 +25400,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26155,15 +25410,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26236,7 +25487,6 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Limit = int32(i64) } - case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -26249,7 +25499,6 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Offset = int32(i64) } - case "period": if value != nil { jtv, ok := value.(string) @@ -26258,7 +25507,6 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Period = types.QuotaPeriodType(jtv) } - default: _, _ = key, value @@ -26298,7 +25546,6 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26307,7 +25554,6 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.Name = ptr.String(jtv) } - case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -26316,7 +25562,6 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.ValidateRequestBody = jtv } - case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -26325,7 +25570,6 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.ValidateRequestParameters = jtv } - default: _, _ = key, value @@ -26365,7 +25609,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "parentId": if value != nil { jtv, ok := value.(string) @@ -26374,7 +25617,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ParentId = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -26383,7 +25625,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Path = ptr.String(jtv) } - case "pathPart": if value != nil { jtv, ok := value.(string) @@ -26392,12 +25633,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.PathPart = ptr.String(jtv) } - case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } - default: _, _ = key, value @@ -26437,12 +25676,10 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.ApiKeySource = types.ApiKeySourceType(jtv) } - case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -26458,7 +25695,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -26467,7 +25703,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -26476,12 +25711,10 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.DisableExecuteApiEndpoint = jtv } - case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -26490,7 +25723,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Id = ptr.String(jtv) } - case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -26503,7 +25735,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26512,7 +25743,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Name = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -26521,7 +25751,6 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Policy = ptr.String(jtv) } - case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -26530,12 +25759,10 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.RootResourceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -26544,12 +25771,10 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -26589,7 +25814,6 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -26598,7 +25822,6 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Description = ptr.String(jtv) } - case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -26607,7 +25830,6 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.FriendlyName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26616,7 +25838,6 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Name = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -26625,7 +25846,6 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Required = jtv } - default: _, _ = key, value @@ -26661,7 +25881,6 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ if err := awsRestjson1_deserializeDocumentListOfSdkConfigurationProperty(&sv.ConfigurationProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -26670,7 +25889,6 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.Description = ptr.String(jtv) } - case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -26679,7 +25897,6 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.FriendlyName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -26688,7 +25905,6 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -26718,15 +25934,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26734,7 +25944,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -26743,15 +25952,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26782,7 +25987,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -26791,7 +25995,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterEnabled = jtv } - case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -26800,7 +26003,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterSize = types.CacheClusterSize(jtv) } - case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -26809,12 +26011,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } - case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -26823,7 +26023,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -26839,7 +26038,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -26848,7 +26046,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -26857,7 +26054,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Description = ptr.String(jtv) } - case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -26866,7 +26062,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DocumentationVersion = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -26882,12 +26077,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } } - case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -26896,12 +26089,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.StageName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -26910,12 +26101,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.TracingEnabled = jtv } - case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } - case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -26924,7 +26113,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.WebAclArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26968,7 +26156,6 @@ func awsRestjson1_deserializeDocumentThrottleSettings(v **types.ThrottleSettings } sv.BurstLimit = int32(i64) } - case "rateLimit": if value != nil { switch jtv := value.(type) { @@ -27002,7 +26189,6 @@ func awsRestjson1_deserializeDocumentThrottleSettings(v **types.ThrottleSettings } } - default: _, _ = key, value @@ -27042,7 +26228,6 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.InsecureSkipVerification = jtv } - default: _, _ = key, value @@ -27072,15 +26257,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27088,7 +26267,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -27097,15 +26275,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27130,15 +26304,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27146,15 +26314,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27185,7 +26349,6 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -27194,7 +26357,6 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27203,7 +26365,6 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27212,7 +26373,6 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Name = ptr.String(jtv) } - case "productCode": if value != nil { jtv, ok := value.(string) @@ -27221,22 +26381,18 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.ProductCode = ptr.String(jtv) } - case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } - default: _, _ = key, value @@ -27276,7 +26432,6 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27285,7 +26440,6 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -27294,7 +26448,6 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -27303,7 +26456,6 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -27343,7 +26495,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27352,7 +26503,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27361,7 +26511,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -27370,7 +26519,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Status = types.VpcLinkStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -27379,17 +26527,14 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } - case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/apigatewaymanagementapi/deserializers.go b/service/apigatewaymanagementapi/deserializers.go index 9e8b40a4c4f..30b43660497 100644 --- a/service/apigatewaymanagementapi/deserializers.go +++ b/service/apigatewaymanagementapi/deserializers.go @@ -286,12 +286,10 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.ConnectedAt = ptr.Time(t) } - case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } - case "lastActiveAt": if value != nil { jtv, ok := value.(string) @@ -304,7 +302,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.LastActiveAt = ptr.Time(t) } - default: _, _ = key, value @@ -488,22 +485,13 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -528,22 +516,13 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -578,7 +557,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.SourceIp = ptr.String(jtv) } - case "userAgent": if value != nil { jtv, ok := value.(string) @@ -587,7 +565,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.UserAgent = ptr.String(jtv) } - default: _, _ = key, value @@ -617,22 +594,13 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -657,15 +625,9 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -673,15 +635,11 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/apigatewayv2/deserializers.go b/service/apigatewayv2/deserializers.go index d409ab0ea32..0311f78c9af 100644 --- a/service/apigatewayv2/deserializers.go +++ b/service/apigatewayv2/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -195,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -204,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -213,12 +210,10 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -231,7 +226,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -240,7 +234,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -249,7 +242,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -258,12 +250,10 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -272,7 +262,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -281,7 +270,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -290,12 +278,10 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -304,12 +290,10 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -474,7 +458,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiId = ptr.String(jtv) } - case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -483,7 +466,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiMappingId = ptr.String(jtv) } - case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -492,7 +474,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiMappingKey = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -501,7 +482,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -666,7 +646,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerCredentialsArn = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -675,7 +654,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerId = ptr.String(jtv) } - case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -684,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -697,7 +674,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -706,7 +682,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerType = types.AuthorizerType(jtv) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -715,7 +690,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } - case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -724,12 +698,10 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.EnableSimpleResponses = ptr.Bool(jtv) } - case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -738,12 +710,10 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } - case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -752,7 +722,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -917,7 +886,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.AutoDeployed = ptr.Bool(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -930,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.CreatedDate = ptr.Time(t) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -939,7 +906,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -948,7 +914,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -957,7 +922,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -966,7 +930,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -1134,7 +1097,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.ApiMappingSelectionExpression = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -1143,22 +1105,18 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainName = ptr.String(jtv) } - case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1323,7 +1281,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -1332,7 +1289,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -1341,7 +1297,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -1350,7 +1305,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -1359,7 +1313,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.CredentialsArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1368,7 +1321,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.Description = ptr.String(jtv) } - case "integrationId": if value != nil { jtv, ok := value.(string) @@ -1377,7 +1329,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationId = ptr.String(jtv) } - case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -1386,7 +1337,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationMethod = ptr.String(jtv) } - case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1395,7 +1345,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } - case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -1404,7 +1353,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationSubtype = ptr.String(jtv) } - case "integrationType": if value != nil { jtv, ok := value.(string) @@ -1413,7 +1361,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationType = types.IntegrationType(jtv) } - case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -1422,7 +1369,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationUri = ptr.String(jtv) } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -1431,7 +1377,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } - case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -1440,22 +1385,18 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.PayloadFormatVersion = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1464,7 +1405,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.TemplateSelectionExpression = ptr.String(jtv) } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1477,12 +1417,10 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1647,7 +1585,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -1656,7 +1593,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.IntegrationResponseId = ptr.String(jtv) } - case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -1665,17 +1601,14 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.IntegrationResponseKey = ptr.String(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1684,7 +1617,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.TemplateSelectionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -1849,7 +1781,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1858,7 +1789,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -1867,7 +1797,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1876,7 +1805,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -1885,7 +1813,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -2050,7 +1977,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -2059,12 +1985,10 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -2073,7 +1997,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.AuthorizationType = types.AuthorizationType(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -2082,7 +2005,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.AuthorizerId = ptr.String(jtv) } - case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -2091,7 +2013,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ModelSelectionExpression = ptr.String(jtv) } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -2100,17 +2021,14 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } - case "routeId": if value != nil { jtv, ok := value.(string) @@ -2119,7 +2037,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteId = ptr.String(jtv) } - case "routeKey": if value != nil { jtv, ok := value.(string) @@ -2128,7 +2045,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteKey = ptr.String(jtv) } - case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -2137,7 +2053,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteResponseSelectionExpression = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -2146,7 +2061,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -2311,17 +2225,14 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.ModelSelectionExpression = ptr.String(jtv) } - case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } - case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -2330,7 +2241,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.RouteResponseId = ptr.String(jtv) } - case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -2339,7 +2249,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.RouteResponseKey = ptr.String(jtv) } - default: _, _ = key, value @@ -2500,7 +2409,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -2509,7 +2417,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -2518,7 +2425,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.AutoDeploy = ptr.Bool(jtv) } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -2527,7 +2433,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -2540,12 +2445,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CreatedDate = ptr.Time(t) } - case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2554,7 +2457,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2563,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.Description = ptr.String(jtv) } - case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2572,7 +2473,6 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.LastDeploymentStatusMessage = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -2585,12 +2485,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.LastUpdatedDate = ptr.Time(t) } - case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -2599,17 +2497,14 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.StageName = ptr.String(jtv) } - case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2772,7 +2667,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.CreatedDate = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2781,22 +2675,18 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -2805,7 +2695,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkId = ptr.String(jtv) } - case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -2814,7 +2703,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } - case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2823,7 +2711,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkStatusMessage = ptr.String(jtv) } - case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -2832,7 +2719,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } - default: _, _ = key, value @@ -4661,7 +4547,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -4670,7 +4555,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -4679,7 +4563,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -4688,12 +4571,10 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -4706,7 +4587,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4715,7 +4595,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -4724,7 +4603,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -4733,12 +4611,10 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4747,7 +4623,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -4756,7 +4631,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -4765,12 +4639,10 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -4779,12 +4651,10 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -4946,7 +4816,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiId = ptr.String(jtv) } - case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -4955,7 +4824,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiMappingId = ptr.String(jtv) } - case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -4964,7 +4832,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiMappingKey = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -4973,7 +4840,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -5131,7 +4997,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingsOutput(v **GetApiMappingsOu if err := awsRestjson1_deserializeDocument__listOfApiMapping(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5140,7 +5005,6 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingsOutput(v **GetApiMappingsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5298,7 +5162,6 @@ func awsRestjson1_deserializeOpDocumentGetApisOutput(v **GetApisOutput, value in if err := awsRestjson1_deserializeDocument__listOfApi(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5307,7 +5170,6 @@ func awsRestjson1_deserializeOpDocumentGetApisOutput(v **GetApisOutput, value in } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5466,7 +5328,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerCredentialsArn = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -5475,7 +5336,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerId = ptr.String(jtv) } - case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -5484,7 +5344,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5497,7 +5356,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -5506,7 +5364,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerType = types.AuthorizerType(jtv) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -5515,7 +5372,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerUri = ptr.String(jtv) } - case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -5524,12 +5380,10 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.EnableSimpleResponses = ptr.Bool(jtv) } - case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -5538,12 +5392,10 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentityValidationExpression = ptr.String(jtv) } - case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5552,7 +5404,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5710,7 +5561,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu if err := awsRestjson1_deserializeDocument__listOfAuthorizer(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5719,7 +5569,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5878,7 +5727,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.AutoDeployed = ptr.Bool(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5891,7 +5739,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.CreatedDate = ptr.Time(t) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -5900,7 +5747,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5909,7 +5755,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5918,7 +5763,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5927,7 +5771,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -6085,7 +5928,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocument__listOfDeployment(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6094,7 +5936,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6253,7 +6094,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.ApiMappingSelectionExpression = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -6262,22 +6102,18 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainName = ptr.String(jtv) } - case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6435,7 +6271,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu if err := awsRestjson1_deserializeDocument__listOfDomainName(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6444,7 +6279,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6603,7 +6437,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -6612,7 +6445,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -6621,7 +6453,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -6630,7 +6461,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -6639,7 +6469,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.CredentialsArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6477,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Description = ptr.String(jtv) } - case "integrationId": if value != nil { jtv, ok := value.(string) @@ -6657,7 +6485,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationId = ptr.String(jtv) } - case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -6666,7 +6493,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationMethod = ptr.String(jtv) } - case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6675,7 +6501,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } - case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -6684,7 +6509,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationSubtype = ptr.String(jtv) } - case "integrationType": if value != nil { jtv, ok := value.(string) @@ -6693,7 +6517,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationType = types.IntegrationType(jtv) } - case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -6702,7 +6525,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationUri = ptr.String(jtv) } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -6711,7 +6533,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } - case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -6720,22 +6541,18 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PayloadFormatVersion = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6744,7 +6561,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TemplateSelectionExpression = ptr.String(jtv) } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -6757,12 +6573,10 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6921,7 +6735,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -6930,7 +6743,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.IntegrationResponseId = ptr.String(jtv) } - case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -6939,17 +6751,14 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.IntegrationResponseKey = ptr.String(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6958,7 +6767,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.TemplateSelectionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -7116,7 +6924,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponsesOutput(v **GetInte if err := awsRestjson1_deserializeDocument__listOfIntegrationResponse(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7125,7 +6932,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponsesOutput(v **GetInte } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7283,7 +7089,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationsOutput(v **GetIntegrations if err := awsRestjson1_deserializeDocument__listOfIntegration(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7292,7 +7097,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationsOutput(v **GetIntegrations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7451,7 +7255,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7460,7 +7263,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -7469,7 +7271,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7478,7 +7279,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -7487,7 +7287,6 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -7645,7 +7444,6 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsRestjson1_deserializeDocument__listOfModel(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7654,7 +7452,6 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7813,7 +7610,6 @@ func awsRestjson1_deserializeOpDocumentGetModelTemplateOutput(v **GetModelTempla } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7972,7 +7768,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -7981,12 +7776,10 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -7995,7 +7788,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AuthorizationType = types.AuthorizationType(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -8004,7 +7796,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AuthorizerId = ptr.String(jtv) } - case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -8013,7 +7804,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ModelSelectionExpression = ptr.String(jtv) } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -8022,17 +7812,14 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } - case "routeId": if value != nil { jtv, ok := value.(string) @@ -8041,7 +7828,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteId = ptr.String(jtv) } - case "routeKey": if value != nil { jtv, ok := value.(string) @@ -8050,7 +7836,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteKey = ptr.String(jtv) } - case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -8059,7 +7844,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteResponseSelectionExpression = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -8068,7 +7852,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -8227,17 +8010,14 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.ModelSelectionExpression = ptr.String(jtv) } - case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } - case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -8246,7 +8026,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.RouteResponseId = ptr.String(jtv) } - case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -8255,7 +8034,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.RouteResponseKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8413,7 +8191,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponsesOutput(v **GetRouteRespo if err := awsRestjson1_deserializeDocument__listOfRouteResponse(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8422,7 +8199,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponsesOutput(v **GetRouteRespo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8580,7 +8356,6 @@ func awsRestjson1_deserializeOpDocumentGetRoutesOutput(v **GetRoutesOutput, valu if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8589,7 +8364,6 @@ func awsRestjson1_deserializeOpDocumentGetRoutesOutput(v **GetRoutesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8744,7 +8518,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -8753,7 +8526,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -8762,7 +8534,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.AutoDeploy = ptr.Bool(jtv) } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -8771,7 +8542,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -8784,12 +8554,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CreatedDate = ptr.Time(t) } - case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -8798,7 +8566,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8807,7 +8574,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.Description = ptr.String(jtv) } - case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -8816,7 +8582,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.LastDeploymentStatusMessage = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8829,12 +8594,10 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.LastUpdatedDate = ptr.Time(t) } - case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -8843,17 +8606,14 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.StageName = ptr.String(jtv) } - case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9011,7 +8771,6 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu if err := awsRestjson1_deserializeDocument__listOfStage(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9020,7 +8779,6 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9181,7 +8939,6 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9344,7 +9101,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.CreatedDate = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9353,22 +9109,18 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -9377,7 +9129,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkId = ptr.String(jtv) } - case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -9386,7 +9137,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } - case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -9395,7 +9145,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkStatusMessage = ptr.String(jtv) } - case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -9404,7 +9153,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } - default: _, _ = key, value @@ -9559,7 +9307,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, if err := awsRestjson1_deserializeDocument__listOfVpcLink(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9568,7 +9315,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9733,7 +9479,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -9742,7 +9487,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9495,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9760,12 +9503,10 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -9778,7 +9519,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -9787,7 +9527,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -9796,7 +9535,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -9805,12 +9543,10 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9819,7 +9555,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -9828,7 +9563,6 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9837,12 +9571,10 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -9851,12 +9583,10 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -10021,7 +9751,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -10030,7 +9759,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -10039,7 +9767,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10048,12 +9775,10 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -10066,7 +9791,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10075,7 +9799,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -10084,7 +9807,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -10093,12 +9815,10 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10107,7 +9827,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -10116,7 +9835,6 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10125,12 +9843,10 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -10139,12 +9855,10 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -10606,7 +10320,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -10615,7 +10328,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -10624,7 +10336,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10633,12 +10344,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -10651,7 +10360,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10660,7 +10368,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -10669,7 +10376,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -10678,12 +10384,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10692,7 +10396,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -10701,7 +10404,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10710,12 +10412,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -10724,12 +10424,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -10894,7 +10592,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiId = ptr.String(jtv) } - case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -10903,7 +10600,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiMappingId = ptr.String(jtv) } - case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -10912,7 +10608,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiMappingKey = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10616,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -11086,7 +10780,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerCredentialsArn = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -11095,7 +10788,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerId = ptr.String(jtv) } - case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -11104,7 +10796,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11117,7 +10808,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -11126,7 +10816,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerType = types.AuthorizerType(jtv) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -11135,7 +10824,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } - case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -11144,12 +10832,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.EnableSimpleResponses = ptr.Bool(jtv) } - case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -11158,12 +10844,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } - case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11172,7 +10856,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11337,7 +11020,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.AutoDeployed = ptr.Bool(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -11350,7 +11032,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.CreatedDate = ptr.Time(t) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -11359,7 +11040,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentId = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11368,7 +11048,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11377,7 +11056,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11386,7 +11064,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -11551,7 +11228,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.ApiMappingSelectionExpression = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -11560,22 +11236,18 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainName = ptr.String(jtv) } - case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11740,7 +11412,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11749,7 +11420,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -11758,7 +11428,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -11767,7 +11436,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -11776,7 +11444,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.CredentialsArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11785,7 +11452,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Description = ptr.String(jtv) } - case "integrationId": if value != nil { jtv, ok := value.(string) @@ -11794,7 +11460,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationId = ptr.String(jtv) } - case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -11803,7 +11468,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationMethod = ptr.String(jtv) } - case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -11812,7 +11476,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } - case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -11821,7 +11484,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationSubtype = ptr.String(jtv) } - case "integrationType": if value != nil { jtv, ok := value.(string) @@ -11830,7 +11492,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationType = types.IntegrationType(jtv) } - case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -11839,7 +11500,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationUri = ptr.String(jtv) } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -11848,7 +11508,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } - case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -11857,22 +11516,18 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PayloadFormatVersion = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -11881,7 +11536,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TemplateSelectionExpression = ptr.String(jtv) } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11894,12 +11548,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12064,7 +11716,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -12073,7 +11724,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.IntegrationResponseId = ptr.String(jtv) } - case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -12082,17 +11732,14 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.IntegrationResponseKey = ptr.String(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -12101,7 +11748,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.TemplateSelectionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -12266,7 +11912,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12275,7 +11920,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -12284,7 +11928,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12293,7 +11936,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -12302,7 +11944,6 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -12467,7 +12108,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -12476,12 +12116,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -12490,7 +12128,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.AuthorizationType = types.AuthorizationType(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -12499,7 +12136,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.AuthorizerId = ptr.String(jtv) } - case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -12508,7 +12144,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ModelSelectionExpression = ptr.String(jtv) } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -12517,17 +12152,14 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } - case "routeId": if value != nil { jtv, ok := value.(string) @@ -12536,7 +12168,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteId = ptr.String(jtv) } - case "routeKey": if value != nil { jtv, ok := value.(string) @@ -12545,7 +12176,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteKey = ptr.String(jtv) } - case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -12554,7 +12184,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteResponseSelectionExpression = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -12563,7 +12192,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -12728,17 +12356,14 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.ModelSelectionExpression = ptr.String(jtv) } - case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } - case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -12747,7 +12372,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.RouteResponseId = ptr.String(jtv) } - case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -12756,7 +12380,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.RouteResponseKey = ptr.String(jtv) } - default: _, _ = key, value @@ -12917,7 +12540,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -12926,7 +12548,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -12935,7 +12556,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.AutoDeploy = ptr.Bool(jtv) } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -12944,7 +12564,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -12957,12 +12576,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CreatedDate = ptr.Time(t) } - case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -12971,7 +12588,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12980,7 +12596,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.Description = ptr.String(jtv) } - case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12989,7 +12604,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.LastDeploymentStatusMessage = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -13002,12 +12616,10 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.LastUpdatedDate = ptr.Time(t) } - case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -13016,17 +12628,14 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.StageName = ptr.String(jtv) } - case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13192,7 +12801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.CreatedDate = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13201,22 +12809,18 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -13225,7 +12829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkId = ptr.String(jtv) } - case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -13234,7 +12837,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } - case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -13243,7 +12845,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkStatusMessage = ptr.String(jtv) } - case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -13252,7 +12853,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } - default: _, _ = key, value @@ -13906,15 +13506,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13922,15 +13516,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13965,7 +13555,6 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.DestinationArn = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -13974,7 +13563,6 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -14014,7 +13602,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiEndpoint = ptr.String(jtv) } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -14023,7 +13610,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -14032,7 +13618,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiId = ptr.String(jtv) } - case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -14041,12 +13626,10 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -14059,7 +13642,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14068,7 +13650,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Description = ptr.String(jtv) } - case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -14077,7 +13658,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } - case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -14086,12 +13666,10 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.DisableSchemaValidation = ptr.Bool(jtv) } - case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14100,7 +13678,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Name = ptr.String(jtv) } - case "protocolType": if value != nil { jtv, ok := value.(string) @@ -14109,7 +13686,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ProtocolType = types.ProtocolType(jtv) } - case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -14118,12 +13694,10 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.RouteSelectionExpression = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -14132,12 +13706,10 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Version = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -14177,7 +13749,6 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiId = ptr.String(jtv) } - case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -14186,7 +13757,6 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiMappingId = ptr.String(jtv) } - case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -14195,7 +13765,6 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiMappingKey = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -14204,7 +13773,6 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -14280,7 +13848,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerCredentialsArn = ptr.String(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -14289,7 +13856,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerId = ptr.String(jtv) } - case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -14298,7 +13864,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } - case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -14311,7 +13876,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -14320,7 +13884,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerType = types.AuthorizerType(jtv) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -14329,7 +13892,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerUri = ptr.String(jtv) } - case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -14338,12 +13900,10 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.EnableSimpleResponses = ptr.Bool(jtv) } - case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -14352,12 +13912,10 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentityValidationExpression = ptr.String(jtv) } - case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14366,7 +13924,6 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14396,15 +13953,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14412,15 +13963,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14445,15 +13992,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14461,15 +14002,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14504,27 +14041,22 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.AllowCredentials = ptr.Bool(jtv) } - case "allowHeaders": if err := awsRestjson1_deserializeDocumentCorsHeaderList(&sv.AllowHeaders, value); err != nil { return err } - case "allowMethods": if err := awsRestjson1_deserializeDocumentCorsMethodList(&sv.AllowMethods, value); err != nil { return err } - case "allowOrigins": if err := awsRestjson1_deserializeDocumentCorsOriginList(&sv.AllowOrigins, value); err != nil { return err } - case "exposeHeaders": if err := awsRestjson1_deserializeDocumentCorsHeaderList(&sv.ExposeHeaders, value); err != nil { return err } - case "maxAge": if value != nil { jtv, ok := value.(json.Number) @@ -14537,7 +14069,6 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.MaxAge = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14685,7 +14216,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.AutoDeployed = ptr.Bool(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -14698,7 +14228,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedDate = ptr.Time(t) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -14707,7 +14236,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -14716,7 +14244,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14725,7 +14252,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14734,7 +14260,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -14774,7 +14299,6 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.ApiMappingSelectionExpression = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -14783,22 +14307,18 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainName = ptr.String(jtv) } - case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } - case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14838,7 +14358,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.ApiGatewayDomainName = ptr.String(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -14847,7 +14366,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateArn = ptr.String(jtv) } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -14856,7 +14374,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateName = ptr.String(jtv) } - case "certificateUploadDate": if value != nil { jtv, ok := value.(string) @@ -14869,7 +14386,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateUploadDate = ptr.Time(t) } - case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -14878,7 +14394,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.DomainNameStatus = types.DomainNameStatus(jtv) } - case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14887,7 +14402,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.DomainNameStatusMessage = ptr.String(jtv) } - case "endpointType": if value != nil { jtv, ok := value.(string) @@ -14896,7 +14410,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.EndpointType = types.EndpointType(jtv) } - case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -14905,7 +14418,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.HostedZoneId = ptr.String(jtv) } - case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -14914,7 +14426,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } - case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -14923,7 +14434,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.SecurityPolicy = types.SecurityPolicy(jtv) } - default: _, _ = key, value @@ -15033,7 +14543,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15042,7 +14551,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionId = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -15051,7 +14559,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionType = types.ConnectionType(jtv) } - case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -15060,7 +14567,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -15069,7 +14575,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.CredentialsArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15078,7 +14583,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Description = ptr.String(jtv) } - case "integrationId": if value != nil { jtv, ok := value.(string) @@ -15087,7 +14591,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationId = ptr.String(jtv) } - case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -15096,7 +14599,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationMethod = ptr.String(jtv) } - case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15105,7 +14607,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } - case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -15114,7 +14615,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationSubtype = ptr.String(jtv) } - case "integrationType": if value != nil { jtv, ok := value.(string) @@ -15123,7 +14623,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationType = types.IntegrationType(jtv) } - case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -15132,7 +14631,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationUri = ptr.String(jtv) } - case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -15141,7 +14639,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } - case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -15150,22 +14647,18 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PayloadFormatVersion = ptr.String(jtv) } - case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } - case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15174,7 +14667,6 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TemplateSelectionExpression = ptr.String(jtv) } - case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -15187,12 +14679,10 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15268,7 +14758,6 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } - case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -15277,7 +14766,6 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.IntegrationResponseId = ptr.String(jtv) } - case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -15286,17 +14774,14 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.IntegrationResponseKey = ptr.String(jtv) } - case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } - case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } - case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15305,7 +14790,6 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.TemplateSelectionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -15341,7 +14825,6 @@ func awsRestjson1_deserializeDocumentJWTConfiguration(v **types.JWTConfiguration if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Audience, value); err != nil { return err } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -15350,7 +14833,6 @@ func awsRestjson1_deserializeDocumentJWTConfiguration(v **types.JWTConfiguration } sv.Issuer = ptr.String(jtv) } - default: _, _ = key, value @@ -15390,7 +14872,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ContentType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15399,7 +14880,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -15408,7 +14888,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15417,7 +14896,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -15426,7 +14904,6 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -15466,7 +14943,6 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreUri = ptr.String(jtv) } - case "truststoreVersion": if value != nil { jtv, ok := value.(string) @@ -15475,12 +14951,10 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreVersion = ptr.String(jtv) } - case "truststoreWarnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.TruststoreWarnings, value); err != nil { return err } - default: _, _ = key, value @@ -15510,15 +14984,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15526,7 +14994,6 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -15535,15 +15002,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15578,7 +15041,6 @@ func awsRestjson1_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15652,7 +15114,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -15661,12 +15122,10 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ApiKeyRequired = ptr.Bool(jtv) } - case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } - case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -15675,7 +15134,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.AuthorizationType = types.AuthorizationType(jtv) } - case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -15684,7 +15142,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.AuthorizerId = ptr.String(jtv) } - case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15693,7 +15150,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ModelSelectionExpression = ptr.String(jtv) } - case "operationName": if value != nil { jtv, ok := value.(string) @@ -15702,17 +15158,14 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.OperationName = ptr.String(jtv) } - case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } - case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } - case "routeId": if value != nil { jtv, ok := value.(string) @@ -15721,7 +15174,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteId = ptr.String(jtv) } - case "routeKey": if value != nil { jtv, ok := value.(string) @@ -15730,7 +15182,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteKey = ptr.String(jtv) } - case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15739,7 +15190,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteResponseSelectionExpression = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -15748,7 +15198,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -15859,17 +15308,14 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.ModelSelectionExpression = ptr.String(jtv) } - case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } - case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } - case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -15878,7 +15324,6 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.RouteResponseId = ptr.String(jtv) } - case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -15887,7 +15332,6 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.RouteResponseKey = ptr.String(jtv) } - default: _, _ = key, value @@ -15927,7 +15371,6 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.DataTraceEnabled = ptr.Bool(jtv) } - case "detailedMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15936,7 +15379,6 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.DetailedMetricsEnabled = ptr.Bool(jtv) } - case "loggingLevel": if value != nil { jtv, ok := value.(string) @@ -15945,7 +15387,6 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.LoggingLevel = types.LoggingLevel(jtv) } - case "throttlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15958,7 +15399,6 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } - case "throttlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -15992,7 +15432,6 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } } - default: _, _ = key, value @@ -16099,7 +15538,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -16108,7 +15546,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -16117,7 +15554,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.AutoDeploy = ptr.Bool(jtv) } - case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -16126,7 +15562,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ClientCertificateId = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -16139,12 +15574,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CreatedDate = ptr.Time(t) } - case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -16153,7 +15586,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DeploymentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16162,7 +15594,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Description = ptr.String(jtv) } - case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -16171,7 +15602,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.LastDeploymentStatusMessage = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -16184,12 +15614,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.LastUpdatedDate = ptr.Time(t) } - case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -16198,17 +15626,14 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.StageName = ptr.String(jtv) } - case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16392,7 +15817,6 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.ServerNameToVerify = ptr.String(jtv) } - default: _, _ = key, value @@ -16422,13 +15846,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "limitType": if value != nil { @@ -16438,8 +15856,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.LimitType = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16447,15 +15864,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16494,7 +15907,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.CreatedDate = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16503,22 +15915,18 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -16527,7 +15935,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkId = ptr.String(jtv) } - case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -16536,7 +15943,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } - case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -16545,7 +15951,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkStatusMessage = ptr.String(jtv) } - case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -16554,7 +15959,6 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } - default: _, _ = key, value diff --git a/service/appconfig/deserializers.go b/service/appconfig/deserializers.go index fb37cb1d4ae..78e3199a1c2 100644 --- a/service/appconfig/deserializers.go +++ b/service/appconfig/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -193,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -202,7 +200,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -367,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -376,7 +372,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -385,7 +380,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Id = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -394,7 +388,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -403,7 +396,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -412,7 +404,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.LocationUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -421,7 +412,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Name = ptr.String(jtv) } - case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -430,7 +420,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.RetrievalRoleArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -439,12 +428,10 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Type = ptr.String(jtv) } - case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } - default: _, _ = key, value @@ -610,7 +597,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.DeploymentDurationInMinutes = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -619,7 +605,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Description = ptr.String(jtv) } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -632,7 +617,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -666,7 +650,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -675,7 +658,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.GrowthType = types.GrowthType(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -684,7 +666,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -693,7 +674,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Name = ptr.String(jtv) } - case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -702,7 +682,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.ReplicateTo = types.ReplicateTo(jtv) } - default: _, _ = key, value @@ -867,7 +846,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -876,7 +854,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -885,12 +862,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Id = ptr.String(jtv) } - case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -899,7 +874,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -908,7 +882,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.State = types.EnvironmentState(jtv) } - default: _, _ = key, value @@ -1069,7 +1042,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1078,7 +1050,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1087,7 +1058,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1096,7 +1066,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1105,12 +1074,10 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1123,7 +1090,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -1288,7 +1254,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.Arn = ptr.String(jtv) } - case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -1297,7 +1262,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ExtensionArn = ptr.String(jtv) } - case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1310,7 +1274,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ExtensionVersionNumber = int32(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1319,12 +1282,10 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.Id = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -1333,7 +1294,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2375,7 +2335,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentDeletionProtectionSettings(&sv.DeletionProtection, value); err != nil { return err } - default: _, _ = key, value @@ -2537,7 +2496,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2546,7 +2504,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2555,7 +2512,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2860,7 +2816,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2869,7 +2824,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2878,7 +2832,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Id = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2887,7 +2840,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2896,7 +2848,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -2905,7 +2856,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.LocationUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2914,7 +2864,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Name = ptr.String(jtv) } - case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -2923,7 +2872,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.RetrievalRoleArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2932,12 +2880,10 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Type = ptr.String(jtv) } - case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } - default: _, _ = key, value @@ -3099,12 +3045,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationId = ptr.String(jtv) } - case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -3117,7 +3061,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.CompletedAt = ptr.Time(t) } - case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -3126,7 +3069,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationLocationUri = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -3135,7 +3077,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationName = ptr.String(jtv) } - case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -3144,7 +3085,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationProfileId = ptr.String(jtv) } - case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -3153,7 +3093,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationVersion = ptr.String(jtv) } - case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3166,7 +3105,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentDurationInMinutes = int32(i64) } - case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3179,7 +3117,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentNumber = int32(i64) } - case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -3188,7 +3125,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStrategyId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3197,7 +3133,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -3206,12 +3141,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.EnvironmentId = ptr.String(jtv) } - case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3224,7 +3157,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -3258,7 +3190,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -3267,7 +3198,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.GrowthType = types.GrowthType(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3276,7 +3206,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -3285,7 +3214,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -3319,7 +3247,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -3332,7 +3259,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.StartedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3341,7 +3267,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.State = types.DeploymentState(jtv) } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -3350,7 +3275,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.VersionLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -3516,7 +3440,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.DeploymentDurationInMinutes = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3525,7 +3448,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Description = ptr.String(jtv) } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3538,7 +3460,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -3572,7 +3493,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3501,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.GrowthType = types.GrowthType(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3590,7 +3509,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3599,7 +3517,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Name = ptr.String(jtv) } - case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -3608,7 +3525,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.ReplicateTo = types.ReplicateTo(jtv) } - default: _, _ = key, value @@ -3770,7 +3686,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3779,7 +3694,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3788,12 +3702,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Id = ptr.String(jtv) } - case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3802,7 +3714,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3811,7 +3722,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.State = types.EnvironmentState(jtv) } - default: _, _ = key, value @@ -3969,7 +3879,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3978,7 +3887,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3987,7 +3895,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3996,7 +3903,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4005,12 +3911,10 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4023,7 +3927,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -4185,7 +4088,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.Arn = ptr.String(jtv) } - case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -4194,7 +4096,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ExtensionArn = ptr.String(jtv) } - case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4207,7 +4108,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ExtensionVersionNumber = int32(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4216,12 +4116,10 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.Id = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4230,7 +4128,6 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4557,7 +4454,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4566,7 +4462,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4724,7 +4619,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationProfilesOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationProfileSummaryList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4733,7 +4627,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationProfilesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4891,7 +4784,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4900,7 +4792,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5055,7 +4946,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentStrategiesOutput(v **ListDe if err := awsRestjson1_deserializeDocumentDeploymentStrategyList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5064,7 +4954,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentStrategiesOutput(v **ListDe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5222,7 +5111,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5231,7 +5119,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5386,7 +5273,6 @@ func awsRestjson1_deserializeOpDocumentListExtensionAssociationsOutput(v **ListE if err := awsRestjson1_deserializeDocumentExtensionAssociationSummaries(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5395,7 +5281,6 @@ func awsRestjson1_deserializeOpDocumentListExtensionAssociationsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5550,7 +5435,6 @@ func awsRestjson1_deserializeOpDocumentListExtensionsOutput(v **ListExtensionsOu if err := awsRestjson1_deserializeDocumentExtensionSummaries(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5559,7 +5443,6 @@ func awsRestjson1_deserializeOpDocumentListExtensionsOutput(v **ListExtensionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5717,7 +5600,6 @@ func awsRestjson1_deserializeOpDocumentListHostedConfigurationVersionsOutput(v * if err := awsRestjson1_deserializeDocumentHostedConfigurationVersionSummaryList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5726,7 +5608,6 @@ func awsRestjson1_deserializeOpDocumentListHostedConfigurationVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5884,7 +5765,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6049,12 +5929,10 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ApplicationId = ptr.String(jtv) } - case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -6067,7 +5945,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.CompletedAt = ptr.Time(t) } - case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -6076,7 +5953,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationLocationUri = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6085,7 +5961,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationName = ptr.String(jtv) } - case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -6094,7 +5969,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationProfileId = ptr.String(jtv) } - case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -6103,7 +5977,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationVersion = ptr.String(jtv) } - case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6116,7 +5989,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentDurationInMinutes = int32(i64) } - case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6129,7 +6001,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentNumber = int32(i64) } - case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -6138,7 +6009,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentStrategyId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6147,7 +6017,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6156,12 +6025,10 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.EnvironmentId = ptr.String(jtv) } - case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6174,7 +6041,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -6208,7 +6074,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -6217,7 +6082,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.GrowthType = types.GrowthType(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6226,7 +6090,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6235,7 +6098,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -6269,7 +6131,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -6282,7 +6143,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.StartedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6291,7 +6151,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.State = types.DeploymentState(jtv) } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -6300,7 +6159,6 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.VersionLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -6462,12 +6320,10 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ApplicationId = ptr.String(jtv) } - case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -6480,7 +6336,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.CompletedAt = ptr.Time(t) } - case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -6489,7 +6344,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationLocationUri = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6498,7 +6352,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationName = ptr.String(jtv) } - case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -6507,7 +6360,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationProfileId = ptr.String(jtv) } - case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -6516,7 +6368,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationVersion = ptr.String(jtv) } - case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6529,7 +6380,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentDurationInMinutes = int32(i64) } - case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6542,7 +6392,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentNumber = int32(i64) } - case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -6551,7 +6400,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentStrategyId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6560,7 +6408,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6569,12 +6416,10 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.EnvironmentId = ptr.String(jtv) } - case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6587,7 +6432,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -6621,7 +6465,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -6630,7 +6473,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.GrowthType = types.GrowthType(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6639,7 +6481,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6489,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -6682,7 +6522,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -6695,7 +6534,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.StartedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6704,7 +6542,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.State = types.DeploymentState(jtv) } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -6713,7 +6550,6 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.VersionLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -7068,7 +6904,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsRestjson1_deserializeDocumentDeletionProtectionSettings(&sv.DeletionProtection, value); err != nil { return err } - default: _, _ = key, value @@ -7230,7 +7065,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7239,7 +7073,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7248,7 +7081,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7410,7 +7242,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7419,7 +7250,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7428,7 +7258,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Id = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -7437,7 +7266,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.KmsKeyArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -7446,7 +7274,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -7455,7 +7282,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.LocationUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7464,7 +7290,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Name = ptr.String(jtv) } - case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -7473,7 +7298,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.RetrievalRoleArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7482,12 +7306,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Type = ptr.String(jtv) } - case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } - default: _, _ = key, value @@ -7653,7 +7475,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.DeploymentDurationInMinutes = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7483,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Description = ptr.String(jtv) } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -7675,7 +7495,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -7709,7 +7528,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -7718,7 +7536,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.GrowthType = types.GrowthType(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7727,7 +7544,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7736,7 +7552,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Name = ptr.String(jtv) } - case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -7745,7 +7560,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.ReplicateTo = types.ReplicateTo(jtv) } - default: _, _ = key, value @@ -7907,7 +7721,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7916,7 +7729,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7925,12 +7737,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Id = ptr.String(jtv) } - case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7939,7 +7749,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -7948,7 +7757,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.State = types.EnvironmentState(jtv) } - default: _, _ = key, value @@ -8109,7 +7917,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8118,7 +7925,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8127,7 +7933,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8136,7 +7941,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8145,12 +7949,10 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8163,7 +7965,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -8325,7 +8126,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.Arn = ptr.String(jtv) } - case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -8334,7 +8134,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ExtensionArn = ptr.String(jtv) } - case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8347,7 +8146,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ExtensionVersionNumber = int32(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8356,12 +8154,10 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.Id = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8370,7 +8166,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8726,7 +8521,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8735,7 +8529,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8744,7 +8537,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.RoleArn = ptr.String(jtv) } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -8753,7 +8545,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -8793,7 +8584,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ActionName = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -8802,7 +8592,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8811,7 +8600,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ErrorMessage = ptr.String(jtv) } - case "ExtensionIdentifier": if value != nil { jtv, ok := value.(string) @@ -8820,7 +8608,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ExtensionIdentifier = ptr.String(jtv) } - case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -8829,7 +8616,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.InvocationId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8838,7 +8624,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.RoleArn = ptr.String(jtv) } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -8847,7 +8632,6 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -8989,7 +8773,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8998,7 +8781,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9007,7 +8789,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9081,7 +8862,6 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.ExtensionAssociationId = ptr.String(jtv) } - case "ExtensionId": if value != nil { jtv, ok := value.(string) @@ -9090,12 +8870,10 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.ExtensionId = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -9108,7 +8886,6 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -9210,20 +8987,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Details": if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9231,7 +9001,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -9240,15 +9009,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9283,7 +9048,6 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.ApplicationId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9292,7 +9056,6 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Id = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -9301,7 +9064,6 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.LocationUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9310,7 +9072,6 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9319,12 +9080,10 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Type = ptr.String(jtv) } - case "ValidatorTypes": if err := awsRestjson1_deserializeDocumentValidatorTypeList(&sv.ValidatorTypes, value); err != nil { return err } - default: _, _ = key, value @@ -9388,15 +9147,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9404,15 +9157,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9447,7 +9196,6 @@ func awsRestjson1_deserializeDocumentDeletionProtectionSettings(v **types.Deleti } sv.Enabled = ptr.Bool(jtv) } - case "ProtectionPeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9460,7 +9208,6 @@ func awsRestjson1_deserializeDocumentDeletionProtectionSettings(v **types.Deleti } sv.ProtectionPeriodInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9496,7 +9243,6 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, if err := awsRestjson1_deserializeDocumentActionInvocations(&sv.ActionInvocations, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9505,7 +9251,6 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.Description = ptr.String(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -9514,7 +9259,6 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.EventType = types.DeploymentEventType(jtv) } - case "OccurredAt": if value != nil { jtv, ok := value.(string) @@ -9527,7 +9271,6 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.OccurredAt = ptr.Time(t) } - case "TriggeredBy": if value != nil { jtv, ok := value.(string) @@ -9536,7 +9279,6 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.TriggeredBy = types.TriggeredBy(jtv) } - default: _, _ = key, value @@ -9648,7 +9390,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.DeploymentDurationInMinutes = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9657,7 +9398,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Description = ptr.String(jtv) } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9670,7 +9410,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -9704,7 +9443,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -9713,7 +9451,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.GrowthType = types.GrowthType(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9722,7 +9459,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9731,7 +9467,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Name = ptr.String(jtv) } - case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9475,6 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.ReplicateTo = types.ReplicateTo(jtv) } - default: _, _ = key, value @@ -9818,7 +9552,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.CompletedAt = ptr.Time(t) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -9827,7 +9560,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ConfigurationName = ptr.String(jtv) } - case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -9836,7 +9568,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ConfigurationVersion = ptr.String(jtv) } - case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9849,7 +9580,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentDurationInMinutes = int32(i64) } - case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -9862,7 +9592,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentNumber = int32(i64) } - case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9875,7 +9604,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.FinalBakeTimeInMinutes = int32(i64) } - case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -9909,7 +9637,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -9918,7 +9645,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.GrowthType = types.GrowthType(jtv) } - case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -9952,7 +9678,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9690,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.StartedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9974,7 +9698,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.State = types.DeploymentState(jtv) } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -9983,7 +9706,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.VersionLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -10023,7 +9745,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ApplicationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10032,7 +9753,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10041,12 +9761,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } - case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10055,7 +9773,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10064,7 +9781,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.State = types.EnvironmentState(jtv) } - default: _, _ = key, value @@ -10172,7 +9888,6 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.ExtensionArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10181,7 +9896,6 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.Id = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10190,7 +9904,6 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10264,7 +9977,6 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10273,7 +9985,6 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10282,7 +9993,6 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10291,7 +10001,6 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Name = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10304,7 +10013,6 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -10344,7 +10052,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ApplicationId = ptr.String(jtv) } - case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -10353,7 +10060,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ConfigurationProfileId = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -10362,7 +10068,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ContentType = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10371,7 +10076,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.Description = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -10380,7 +10084,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.KmsKeyArn = ptr.String(jtv) } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -10389,7 +10092,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.VersionLabel = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10402,7 +10104,6 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.VersionNumber = int32(i64) } - default: _, _ = key, value @@ -10466,15 +10167,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10482,15 +10177,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10525,7 +10216,6 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Constraint = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -10534,7 +10224,6 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Location = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -10543,7 +10232,6 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Reason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10552,7 +10240,6 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10248,6 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10635,7 +10321,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.AlarmArn = ptr.String(jtv) } - case "AlarmRoleArn": if value != nil { jtv, ok := value.(string) @@ -10644,7 +10329,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.AlarmRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10718,7 +10402,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } - case "Dynamic": if value != nil { jtv, ok := value.(bool) @@ -10727,7 +10410,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Dynamic = jtv } - case "Required": if value != nil { jtv, ok := value.(bool) @@ -10736,7 +10418,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Required = jtv } - default: _, _ = key, value @@ -10837,13 +10518,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Limit": if value != nil { @@ -10878,7 +10553,6 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } - case "Measure": if value != nil { jtv, ok := value.(string) @@ -10887,8 +10561,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Measure = types.BytesMeasure(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10896,7 +10569,6 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } - case "Size": if value != nil { switch jtv := value.(type) { @@ -10930,15 +10602,11 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10963,15 +10631,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10979,7 +10641,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -10988,15 +10649,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11021,15 +10678,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11037,15 +10688,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11116,7 +10763,6 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.Content = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11125,7 +10771,6 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.Type = types.ValidatorType(jtv) } - default: _, _ = key, value diff --git a/service/appconfigdata/deserializers.go b/service/appconfigdata/deserializers.go index 5d1859cae2a..996ee1f2534 100644 --- a/service/appconfigdata/deserializers.go +++ b/service/appconfigdata/deserializers.go @@ -345,7 +345,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationSessionOutput(v **Start } sv.InitialConfigurationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -557,20 +556,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Details": if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -578,7 +570,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -587,15 +578,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -620,15 +607,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -636,15 +617,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -679,7 +656,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterDetail(v **types.InvalidPar } sv.Problem = types.InvalidParameterProblem(jtv) } - default: _, _ = key, value @@ -744,15 +720,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -760,12 +730,10 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ReferencedBy": if err := awsRestjson1_deserializeDocumentStringMap(&sv.ReferencedBy, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -774,15 +742,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -843,15 +807,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -859,15 +817,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/appfabric/deserializers.go b/service/appfabric/deserializers.go index 9c086f09bf6..2a813f970d7 100644 --- a/service/appfabric/deserializers.go +++ b/service/appfabric/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetUserAccessTasksOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentUserAccessResultsList(&sv.UserAccessResultsList, value); err != nil { return err } - default: _, _ = key, value @@ -348,7 +347,6 @@ func awsRestjson1_deserializeOpDocumentConnectAppAuthorizationOutput(v **Connect if err := awsRestjson1_deserializeDocumentAppAuthorizationSummary(&sv.AppAuthorizationSummary, value); err != nil { return err } - default: _, _ = key, value @@ -518,7 +516,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppAuthorizationOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } - default: _, _ = key, value @@ -685,7 +682,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppBundleOutput(v **CreateAppBundle if err := awsRestjson1_deserializeDocumentAppBundle(&sv.AppBundle, value); err != nil { return err } - default: _, _ = key, value @@ -852,7 +848,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } - default: _, _ = key, value @@ -1019,7 +1014,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionDestinationOutput(v **Crea if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } - default: _, _ = key, value @@ -1583,7 +1577,6 @@ func awsRestjson1_deserializeOpDocumentGetAppAuthorizationOutput(v **GetAppAutho if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } - default: _, _ = key, value @@ -1747,7 +1740,6 @@ func awsRestjson1_deserializeOpDocumentGetAppBundleOutput(v **GetAppBundleOutput if err := awsRestjson1_deserializeDocumentAppBundle(&sv.AppBundle, value); err != nil { return err } - default: _, _ = key, value @@ -1911,7 +1903,6 @@ func awsRestjson1_deserializeOpDocumentGetIngestionOutput(v **GetIngestionOutput if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } - default: _, _ = key, value @@ -2075,7 +2066,6 @@ func awsRestjson1_deserializeOpDocumentGetIngestionDestinationOutput(v **GetInge if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } - default: _, _ = key, value @@ -2239,7 +2229,6 @@ func awsRestjson1_deserializeOpDocumentListAppAuthorizationsOutput(v **ListAppAu if err := awsRestjson1_deserializeDocumentAppAuthorizationSummaryList(&sv.AppAuthorizationSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2248,7 +2237,6 @@ func awsRestjson1_deserializeOpDocumentListAppAuthorizationsOutput(v **ListAppAu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2409,7 +2397,6 @@ func awsRestjson1_deserializeOpDocumentListAppBundlesOutput(v **ListAppBundlesOu if err := awsRestjson1_deserializeDocumentAppBundleSummaryList(&sv.AppBundleSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2418,7 +2405,6 @@ func awsRestjson1_deserializeOpDocumentListAppBundlesOutput(v **ListAppBundlesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2582,7 +2568,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionDestinationsOutput(v **ListI if err := awsRestjson1_deserializeDocumentIngestionDestinationList(&sv.IngestionDestinations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2591,7 +2576,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionDestinationsOutput(v **ListI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2755,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu if err := awsRestjson1_deserializeDocumentIngestionList(&sv.Ingestions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2764,7 +2747,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2928,7 +2910,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3195,7 +3176,6 @@ func awsRestjson1_deserializeOpDocumentStartUserAccessTasksOutput(v **StartUserA if err := awsRestjson1_deserializeDocumentUserAccessTasksList(&sv.UserAccessTasksList, value); err != nil { return err } - default: _, _ = key, value @@ -3662,7 +3642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppAuthorizationOutput(v **UpdateAp if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } - default: _, _ = key, value @@ -3832,7 +3811,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIngestionDestinationOutput(v **Upda if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } - default: _, _ = key, value @@ -4154,15 +4132,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4170,15 +4142,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4213,7 +4181,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.App = ptr.String(jtv) } - case "appAuthorizationArn": if value != nil { jtv, ok := value.(string) @@ -4222,7 +4189,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AppAuthorizationArn = ptr.String(jtv) } - case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4231,7 +4197,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AppBundleArn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -4240,7 +4205,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AuthType = types.AuthType(jtv) } - case "authUrl": if value != nil { jtv, ok := value.(string) @@ -4249,7 +4213,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AuthUrl = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4262,7 +4225,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.CreatedAt = ptr.Time(t) } - case "persona": if value != nil { jtv, ok := value.(string) @@ -4271,7 +4233,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.Persona = types.Persona(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4280,12 +4241,10 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.Status = types.AppAuthorizationStatus(jtv) } - case "tenant": if err := awsRestjson1_deserializeDocumentTenant(&sv.Tenant, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4298,7 +4257,6 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4338,7 +4296,6 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.App = ptr.String(jtv) } - case "appAuthorizationArn": if value != nil { jtv, ok := value.(string) @@ -4347,7 +4304,6 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.AppAuthorizationArn = ptr.String(jtv) } - case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4356,7 +4312,6 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.AppBundleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4365,12 +4320,10 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.Status = types.AppAuthorizationStatus(jtv) } - case "tenant": if err := awsRestjson1_deserializeDocumentTenant(&sv.Tenant, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4383,7 +4336,6 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4457,7 +4409,6 @@ func awsRestjson1_deserializeDocumentAppBundle(v **types.AppBundle, value interf } sv.Arn = ptr.String(jtv) } - case "customerManagedKeyArn": if value != nil { jtv, ok := value.(string) @@ -4466,7 +4417,6 @@ func awsRestjson1_deserializeDocumentAppBundle(v **types.AppBundle, value interf } sv.CustomerManagedKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4506,7 +4456,6 @@ func awsRestjson1_deserializeDocumentAppBundleSummary(v **types.AppBundleSummary } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -4576,7 +4525,6 @@ func awsRestjson1_deserializeDocumentAuditLogDestinationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - default: _, _ = key, value @@ -4616,7 +4564,6 @@ func awsRestjson1_deserializeDocumentAuditLogProcessingConfiguration(v **types.A } sv.Format = types.Format(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -4625,7 +4572,6 @@ func awsRestjson1_deserializeDocumentAuditLogProcessingConfiguration(v **types.A } sv.Schema = types.Schema(jtv) } - default: _, _ = key, value @@ -4655,15 +4601,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4671,7 +4611,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4680,7 +4619,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4689,15 +4627,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4822,7 +4756,6 @@ func awsRestjson1_deserializeDocumentFirehoseStream(v **types.FirehoseStream, va } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -4862,7 +4795,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.App = ptr.String(jtv) } - case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4871,7 +4803,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.AppBundleArn = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4880,7 +4811,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4893,7 +4823,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.CreatedAt = ptr.Time(t) } - case "ingestionType": if value != nil { jtv, ok := value.(string) @@ -4902,7 +4831,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionType = types.IngestionType(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4911,7 +4839,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.State = types.IngestionState(jtv) } - case "tenantId": if value != nil { jtv, ok := value.(string) @@ -4920,7 +4847,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.TenantId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4933,7 +4859,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4973,7 +4898,6 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4986,12 +4910,10 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.CreatedAt = ptr.Time(t) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "ingestionArn": if value != nil { jtv, ok := value.(string) @@ -5000,12 +4922,10 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.IngestionArn = ptr.String(jtv) } - case "processingConfiguration": if err := awsRestjson1_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4934,6 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.Status = types.IngestionDestinationStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5023,7 +4942,6 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.StatusReason = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5036,7 +4954,6 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5110,7 +5027,6 @@ func awsRestjson1_deserializeDocumentIngestionDestinationSummary(v **types.Inges } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -5184,7 +5100,6 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.App = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5193,7 +5108,6 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.Arn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -5202,7 +5116,6 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.State = types.IngestionState(jtv) } - case "tenantId": if value != nil { jtv, ok := value.(string) @@ -5211,7 +5124,6 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.TenantId = ptr.String(jtv) } - default: _, _ = key, value @@ -5241,15 +5153,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5257,7 +5163,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5270,15 +5175,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5343,15 +5244,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5359,7 +5254,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5368,7 +5262,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5377,15 +5270,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5420,7 +5309,6 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.BucketName = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -5429,7 +5317,6 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -5459,15 +5346,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5475,7 +5356,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5484,7 +5364,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5493,7 +5372,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5502,7 +5380,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5511,15 +5388,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5554,7 +5427,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -5563,7 +5435,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5637,7 +5508,6 @@ func awsRestjson1_deserializeDocumentTaskError(v **types.TaskError, value interf } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5646,7 +5516,6 @@ func awsRestjson1_deserializeDocumentTaskError(v **types.TaskError, value interf } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5686,7 +5555,6 @@ func awsRestjson1_deserializeDocumentTenant(v **types.Tenant, value interface{}) } sv.TenantDisplayName = ptr.String(jtv) } - case "tenantIdentifier": if value != nil { jtv, ok := value.(string) @@ -5695,7 +5563,6 @@ func awsRestjson1_deserializeDocumentTenant(v **types.Tenant, value interface{}) } sv.TenantIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5725,15 +5592,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5741,7 +5602,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5750,7 +5610,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5763,7 +5622,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5772,15 +5630,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5815,7 +5669,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.App = ptr.String(jtv) } - case "email": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5677,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.Email = ptr.String(jtv) } - case "resultStatus": if value != nil { jtv, ok := value.(string) @@ -5833,12 +5685,10 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.ResultStatus = types.ResultStatus(jtv) } - case "taskError": if err := awsRestjson1_deserializeDocumentTaskError(&sv.TaskError, value); err != nil { return err } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -5847,7 +5697,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TaskId = ptr.String(jtv) } - case "tenantDisplayName": if value != nil { jtv, ok := value.(string) @@ -5856,7 +5705,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TenantDisplayName = ptr.String(jtv) } - case "tenantId": if value != nil { jtv, ok := value.(string) @@ -5865,7 +5713,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TenantId = ptr.String(jtv) } - case "userFirstName": if value != nil { jtv, ok := value.(string) @@ -5874,7 +5721,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserFirstName = ptr.String(jtv) } - case "userFullName": if value != nil { jtv, ok := value.(string) @@ -5883,7 +5729,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserFullName = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -5892,7 +5737,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserId = ptr.String(jtv) } - case "userLastName": if value != nil { jtv, ok := value.(string) @@ -5901,7 +5745,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserLastName = ptr.String(jtv) } - case "userStatus": if value != nil { jtv, ok := value.(string) @@ -5910,7 +5753,6 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -5984,12 +5826,10 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.App = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentTaskError(&sv.Error, value); err != nil { return err } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -5998,7 +5838,6 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.TaskId = ptr.String(jtv) } - case "tenantId": if value != nil { jtv, ok := value.(string) @@ -6007,7 +5846,6 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.TenantId = ptr.String(jtv) } - default: _, _ = key, value @@ -6071,20 +5909,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6092,7 +5923,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6101,15 +5931,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6144,7 +5970,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6153,7 +5978,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index 02a1c721ab3..4d1733f7e12 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentCancelFlowExecutionsOutput(v **CancelFlow if err := awsRestjson1_deserializeDocumentExecutionIds(&sv.InvalidExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -352,7 +351,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorProfileOutput(v **CreateCo } sv.ConnectorProfileArn = ptr.String(jtv) } - default: _, _ = key, value @@ -529,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.FlowArn = ptr.String(jtv) } - case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -538,7 +535,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.FlowStatus = types.FlowStatus(jtv) } - default: _, _ = key, value @@ -884,7 +880,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsRestjson1_deserializeDocumentConnectorConfiguration(&sv.ConnectorConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1048,7 +1043,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorEntityOutput(v **Describ if err := awsRestjson1_deserializeDocumentConnectorEntityFieldList(&sv.ConnectorEntityFields, value); err != nil { return err } - default: _, _ = key, value @@ -1203,7 +1197,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorProfilesOutput(v **Descr if err := awsRestjson1_deserializeDocumentConnectorProfileDetailList(&sv.ConnectorProfileDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1212,7 +1205,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorProfilesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1367,12 +1359,10 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorsOutput(v **DescribeConn if err := awsRestjson1_deserializeDocumentConnectorConfigurationsMap(&sv.ConnectorConfigurations, value); err != nil { return err } - case "connectors": if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1381,7 +1371,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorsOutput(v **DescribeConn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1547,7 +1536,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1556,7 +1544,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1565,12 +1552,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.Description = ptr.String(jtv) } - case "destinationFlowConfigList": if err := awsRestjson1_deserializeDocumentDestinationFlowConfigList(&sv.DestinationFlowConfigList, value); err != nil { return err } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -1579,7 +1564,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowArn = ptr.String(jtv) } - case "flowName": if value != nil { jtv, ok := value.(string) @@ -1588,7 +1572,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowName = ptr.String(jtv) } - case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -1597,7 +1580,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowStatus = types.FlowStatus(jtv) } - case "flowStatusMessage": if value != nil { jtv, ok := value.(string) @@ -1606,7 +1588,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowStatusMessage = ptr.String(jtv) } - case "kmsArn": if value != nil { jtv, ok := value.(string) @@ -1615,17 +1596,14 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.KmsArn = ptr.String(jtv) } - case "lastRunExecutionDetails": if err := awsRestjson1_deserializeDocumentExecutionDetails(&sv.LastRunExecutionDetails, value); err != nil { return err } - case "lastRunMetadataCatalogDetails": if err := awsRestjson1_deserializeDocumentMetadataCatalogDetails(&sv.LastRunMetadataCatalogDetails, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1641,7 +1619,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -1650,12 +1627,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.LastUpdatedBy = ptr.String(jtv) } - case "metadataCatalogConfig": if err := awsRestjson1_deserializeDocumentMetadataCatalogConfig(&sv.MetadataCatalogConfig, value); err != nil { return err } - case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1668,27 +1643,22 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.SchemaVersion = ptr.Int64(i64) } - case "sourceFlowConfig": if err := awsRestjson1_deserializeDocumentSourceFlowConfig(&sv.SourceFlowConfig, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "tasks": if err := awsRestjson1_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } - case "triggerConfig": if err := awsRestjson1_deserializeDocumentTriggerConfig(&sv.TriggerConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1846,7 +1816,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowExecutionRecordsOutput(v **De if err := awsRestjson1_deserializeDocumentFlowExecutionList(&sv.FlowExecutions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1855,7 +1824,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowExecutionRecordsOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2019,7 +1987,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorEntitiesOutput(v **ListConne if err := awsRestjson1_deserializeDocumentConnectorEntityMap(&sv.ConnectorEntityMap, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2028,7 +1995,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorEntitiesOutput(v **ListConne } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2183,7 +2149,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2192,7 +2157,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2347,7 +2311,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocumentFlowList(&sv.Flows, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2356,7 +2319,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2514,7 +2476,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2694,7 +2655,6 @@ func awsRestjson1_deserializeOpDocumentRegisterConnectorOutput(v **RegisterConne } sv.ConnectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2956,7 +2916,6 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.ExecutionId = ptr.String(jtv) } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -2965,7 +2924,6 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowArn = ptr.String(jtv) } - case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -2974,7 +2932,6 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowStatus = types.FlowStatus(jtv) } - default: _, _ = key, value @@ -3139,7 +3096,6 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowArn = ptr.String(jtv) } - case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -3148,7 +3104,6 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowStatus = types.FlowStatus(jtv) } - default: _, _ = key, value @@ -3598,7 +3553,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorProfileOutput(v **UpdateCo } sv.ConnectorProfileArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3778,7 +3732,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorRegistrationOutput(v **Upd } sv.ConnectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3955,7 +3908,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.FlowStatus = types.FlowStatus(jtv) } - default: _, _ = key, value @@ -4345,15 +4297,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4361,15 +4307,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4404,7 +4346,6 @@ func awsRestjson1_deserializeDocumentAggregationConfig(v **types.AggregationConf } sv.AggregationType = types.AggregationType(jtv) } - case "targetFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -4417,7 +4358,6 @@ func awsRestjson1_deserializeDocumentAggregationConfig(v **types.AggregationConf } sv.TargetFileSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -4519,7 +4459,6 @@ func awsRestjson1_deserializeDocumentAmplitudeSourceProperties(v **types.Amplitu } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -4591,7 +4530,6 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati if err := awsRestjson1_deserializeDocumentCustomAuthConfigList(&sv.CustomAuthConfigs, value); err != nil { return err } - case "isApiKeyAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4600,7 +4538,6 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsApiKeyAuthSupported = jtv } - case "isBasicAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4609,7 +4546,6 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsBasicAuthSupported = jtv } - case "isCustomAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4618,7 +4554,6 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsCustomAuthSupported = jtv } - case "isOAuth2Supported": if value != nil { jtv, ok := value.(bool) @@ -4627,12 +4562,10 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsOAuth2Supported = jtv } - case "oAuth2Defaults": if err := awsRestjson1_deserializeDocumentOAuth2Defaults(&sv.OAuth2Defaults, value); err != nil { return err } - default: _, _ = key, value @@ -4668,7 +4601,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueList(&sv.ConnectorSuppliedValues, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -4677,7 +4609,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Description = ptr.String(jtv) } - case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -4686,7 +4617,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.IsRequired = jtv } - case "isSensitiveField": if value != nil { jtv, ok := value.(bool) @@ -4695,7 +4625,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.IsSensitiveField = jtv } - case "key": if value != nil { jtv, ok := value.(string) @@ -4704,7 +4633,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Key = ptr.String(jtv) } - case "label": if value != nil { jtv, ok := value.(string) @@ -4713,7 +4641,6 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Label = ptr.String(jtv) } - default: _, _ = key, value @@ -4777,15 +4704,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4793,15 +4714,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4826,15 +4743,9 @@ func awsRestjson1_deserializeDocumentConnectorAuthenticationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4842,15 +4753,11 @@ func awsRestjson1_deserializeDocumentConnectorAuthenticationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4881,7 +4788,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC if err := awsRestjson1_deserializeDocumentAuthenticationConfig(&sv.AuthenticationConfig, value); err != nil { return err } - case "canUseAsDestination": if value != nil { jtv, ok := value.(bool) @@ -4890,7 +4796,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.CanUseAsDestination = jtv } - case "canUseAsSource": if value != nil { jtv, ok := value.(bool) @@ -4899,7 +4804,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.CanUseAsSource = jtv } - case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -4908,7 +4812,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorArn = ptr.String(jtv) } - case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -4917,7 +4820,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorDescription = ptr.String(jtv) } - case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -4926,17 +4828,14 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorLabel = ptr.String(jtv) } - case "connectorMetadata": if err := awsRestjson1_deserializeDocumentConnectorMetadata(&sv.ConnectorMetadata, value); err != nil { return err } - case "connectorModes": if err := awsRestjson1_deserializeDocumentConnectorModeList(&sv.ConnectorModes, value); err != nil { return err } - case "connectorName": if value != nil { jtv, ok := value.(string) @@ -4945,7 +4844,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorName = ptr.String(jtv) } - case "connectorOwner": if value != nil { jtv, ok := value.(string) @@ -4954,12 +4852,10 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorOwner = ptr.String(jtv) } - case "connectorProvisioningConfig": if err := awsRestjson1_deserializeDocumentConnectorProvisioningConfig(&sv.ConnectorProvisioningConfig, value); err != nil { return err } - case "connectorProvisioningType": if value != nil { jtv, ok := value.(string) @@ -4968,12 +4864,10 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorProvisioningType = types.ConnectorProvisioningType(jtv) } - case "connectorRuntimeSettings": if err := awsRestjson1_deserializeDocumentConnectorRuntimeSettingList(&sv.ConnectorRuntimeSettings, value); err != nil { return err } - case "connectorType": if value != nil { jtv, ok := value.(string) @@ -4982,7 +4876,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorType = types.ConnectorType(jtv) } - case "connectorVersion": if value != nil { jtv, ok := value.(string) @@ -4991,7 +4884,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorVersion = ptr.String(jtv) } - case "isPrivateLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -5000,7 +4892,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.IsPrivateLinkEnabled = jtv } - case "isPrivateLinkEndpointUrlRequired": if value != nil { jtv, ok := value.(bool) @@ -5009,7 +4900,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.IsPrivateLinkEndpointUrlRequired = jtv } - case "logoURL": if value != nil { jtv, ok := value.(string) @@ -5018,7 +4908,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.LogoURL = ptr.String(jtv) } - case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -5034,7 +4923,6 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } } - case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -5043,47 +4931,38 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.RegisteredBy = ptr.String(jtv) } - case "supportedApiVersions": if err := awsRestjson1_deserializeDocumentSupportedApiVersionList(&sv.SupportedApiVersions, value); err != nil { return err } - case "supportedDataTransferApis": if err := awsRestjson1_deserializeDocumentSupportedDataTransferApis(&sv.SupportedDataTransferApis, value); err != nil { return err } - case "supportedDataTransferTypes": if err := awsRestjson1_deserializeDocumentSupportedDataTransferTypeList(&sv.SupportedDataTransferTypes, value); err != nil { return err } - case "supportedDestinationConnectors": if err := awsRestjson1_deserializeDocumentConnectorTypeList(&sv.SupportedDestinationConnectors, value); err != nil { return err } - case "supportedOperators": if err := awsRestjson1_deserializeDocumentSupportedOperatorList(&sv.SupportedOperators, value); err != nil { return err } - case "supportedSchedulingFrequencies": if err := awsRestjson1_deserializeDocumentSchedulingFrequencyTypeList(&sv.SupportedSchedulingFrequencies, value); err != nil { return err } - case "supportedTriggerTypes": if err := awsRestjson1_deserializeDocumentTriggerTypeList(&sv.SupportedTriggerTypes, value); err != nil { return err } - case "supportedWriteOperations": if err := awsRestjson1_deserializeDocumentSupportedWriteOperationList(&sv.SupportedWriteOperations, value); err != nil { return err } - default: _, _ = key, value @@ -5158,7 +5037,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ApplicationType = ptr.String(jtv) } - case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -5167,7 +5045,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorDescription = ptr.String(jtv) } - case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -5176,12 +5053,10 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorLabel = ptr.String(jtv) } - case "connectorModes": if err := awsRestjson1_deserializeDocumentConnectorModeList(&sv.ConnectorModes, value); err != nil { return err } - case "connectorName": if value != nil { jtv, ok := value.(string) @@ -5190,7 +5065,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorName = ptr.String(jtv) } - case "connectorOwner": if value != nil { jtv, ok := value.(string) @@ -5199,7 +5073,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorOwner = ptr.String(jtv) } - case "connectorProvisioningType": if value != nil { jtv, ok := value.(string) @@ -5208,7 +5081,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorProvisioningType = types.ConnectorProvisioningType(jtv) } - case "connectorType": if value != nil { jtv, ok := value.(string) @@ -5217,7 +5089,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorType = types.ConnectorType(jtv) } - case "connectorVersion": if value != nil { jtv, ok := value.(string) @@ -5226,7 +5097,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorVersion = ptr.String(jtv) } - case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -5242,7 +5112,6 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } } - case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -5251,12 +5120,10 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.RegisteredBy = ptr.String(jtv) } - case "supportedDataTransferTypes": if err := awsRestjson1_deserializeDocumentSupportedDataTransferTypeList(&sv.SupportedDataTransferTypes, value); err != nil { return err } - default: _, _ = key, value @@ -5296,7 +5163,6 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.HasNestedEntities = jtv } - case "label": if value != nil { jtv, ok := value.(string) @@ -5305,7 +5171,6 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.Label = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5314,7 +5179,6 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5350,7 +5214,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -5359,7 +5222,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5368,12 +5230,10 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Description = ptr.String(jtv) } - case "destinationProperties": if err := awsRestjson1_deserializeDocumentDestinationFieldProperties(&sv.DestinationProperties, value); err != nil { return err } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -5382,7 +5242,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Identifier = ptr.String(jtv) } - case "isDeprecated": if value != nil { jtv, ok := value.(bool) @@ -5391,7 +5250,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.IsDeprecated = jtv } - case "isPrimaryKey": if value != nil { jtv, ok := value.(bool) @@ -5400,7 +5258,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.IsPrimaryKey = jtv } - case "label": if value != nil { jtv, ok := value.(string) @@ -5409,7 +5266,6 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Label = ptr.String(jtv) } - case "parentIdentifier": if value != nil { jtv, ok := value.(string) @@ -5418,17 +5274,14 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.ParentIdentifier = ptr.String(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceFieldProperties(&sv.SourceProperties, value); err != nil { return err } - case "supportedFieldTypeDetails": if err := awsRestjson1_deserializeDocumentSupportedFieldTypeDetails(&sv.SupportedFieldTypeDetails, value); err != nil { return err } - default: _, _ = key, value @@ -5600,112 +5453,90 @@ func awsRestjson1_deserializeDocumentConnectorMetadata(v **types.ConnectorMetada if err := awsRestjson1_deserializeDocumentAmplitudeMetadata(&sv.Amplitude, value); err != nil { return err } - case "CustomerProfiles": if err := awsRestjson1_deserializeDocumentCustomerProfilesMetadata(&sv.CustomerProfiles, value); err != nil { return err } - case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogMetadata(&sv.Datadog, value); err != nil { return err } - case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceMetadata(&sv.Dynatrace, value); err != nil { return err } - case "EventBridge": if err := awsRestjson1_deserializeDocumentEventBridgeMetadata(&sv.EventBridge, value); err != nil { return err } - case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsMetadata(&sv.GoogleAnalytics, value); err != nil { return err } - case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeMetadata(&sv.Honeycode, value); err != nil { return err } - case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusMetadata(&sv.InforNexus, value); err != nil { return err } - case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoMetadata(&sv.Marketo, value); err != nil { return err } - case "Pardot": if err := awsRestjson1_deserializeDocumentPardotMetadata(&sv.Pardot, value); err != nil { return err } - case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftMetadata(&sv.Redshift, value); err != nil { return err } - case "S3": if err := awsRestjson1_deserializeDocumentS3Metadata(&sv.S3, value); err != nil { return err } - case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceMetadata(&sv.Salesforce, value); err != nil { return err } - case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataMetadata(&sv.SAPOData, value); err != nil { return err } - case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowMetadata(&sv.ServiceNow, value); err != nil { return err } - case "Singular": if err := awsRestjson1_deserializeDocumentSingularMetadata(&sv.Singular, value); err != nil { return err } - case "Slack": if err := awsRestjson1_deserializeDocumentSlackMetadata(&sv.Slack, value); err != nil { return err } - case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeMetadata(&sv.Snowflake, value); err != nil { return err } - case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroMetadata(&sv.Trendmicro, value); err != nil { return err } - case "Upsolver": if err := awsRestjson1_deserializeDocumentUpsolverMetadata(&sv.Upsolver, value); err != nil { return err } - case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaMetadata(&sv.Veeva, value); err != nil { return err } - case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskMetadata(&sv.Zendesk, value); err != nil { return err } - default: _, _ = key, value @@ -5781,7 +5612,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Amplitude = types.AmplitudeConnectorOperator(jtv) } - case "CustomConnector": if value != nil { jtv, ok := value.(string) @@ -5790,7 +5620,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.CustomConnector = types.Operator(jtv) } - case "Datadog": if value != nil { jtv, ok := value.(string) @@ -5799,7 +5628,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Datadog = types.DatadogConnectorOperator(jtv) } - case "Dynatrace": if value != nil { jtv, ok := value.(string) @@ -5808,7 +5636,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Dynatrace = types.DynatraceConnectorOperator(jtv) } - case "GoogleAnalytics": if value != nil { jtv, ok := value.(string) @@ -5817,7 +5644,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.GoogleAnalytics = types.GoogleAnalyticsConnectorOperator(jtv) } - case "InforNexus": if value != nil { jtv, ok := value.(string) @@ -5826,7 +5652,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.InforNexus = types.InforNexusConnectorOperator(jtv) } - case "Marketo": if value != nil { jtv, ok := value.(string) @@ -5835,7 +5660,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Marketo = types.MarketoConnectorOperator(jtv) } - case "Pardot": if value != nil { jtv, ok := value.(string) @@ -5844,7 +5668,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Pardot = types.PardotConnectorOperator(jtv) } - case "S3": if value != nil { jtv, ok := value.(string) @@ -5853,7 +5676,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.S3 = types.S3ConnectorOperator(jtv) } - case "Salesforce": if value != nil { jtv, ok := value.(string) @@ -5862,7 +5684,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Salesforce = types.SalesforceConnectorOperator(jtv) } - case "SAPOData": if value != nil { jtv, ok := value.(string) @@ -5871,7 +5692,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.SAPOData = types.SAPODataConnectorOperator(jtv) } - case "ServiceNow": if value != nil { jtv, ok := value.(string) @@ -5880,7 +5700,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.ServiceNow = types.ServiceNowConnectorOperator(jtv) } - case "Singular": if value != nil { jtv, ok := value.(string) @@ -5889,7 +5708,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Singular = types.SingularConnectorOperator(jtv) } - case "Slack": if value != nil { jtv, ok := value.(string) @@ -5898,7 +5716,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Slack = types.SlackConnectorOperator(jtv) } - case "Trendmicro": if value != nil { jtv, ok := value.(string) @@ -5907,7 +5724,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Trendmicro = types.TrendmicroConnectorOperator(jtv) } - case "Veeva": if value != nil { jtv, ok := value.(string) @@ -5916,7 +5732,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Veeva = types.VeevaConnectorOperator(jtv) } - case "Zendesk": if value != nil { jtv, ok := value.(string) @@ -5925,7 +5740,6 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Zendesk = types.ZendeskConnectorOperator(jtv) } - default: _, _ = key, value @@ -5965,7 +5779,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectionMode = types.ConnectionMode(jtv) } - case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -5974,7 +5787,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorLabel = ptr.String(jtv) } - case "connectorProfileArn": if value != nil { jtv, ok := value.(string) @@ -5983,7 +5795,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorProfileArn = ptr.String(jtv) } - case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -5992,12 +5803,10 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorProfileName = ptr.String(jtv) } - case "connectorProfileProperties": if err := awsRestjson1_deserializeDocumentConnectorProfileProperties(&sv.ConnectorProfileProperties, value); err != nil { return err } - case "connectorType": if value != nil { jtv, ok := value.(string) @@ -6006,7 +5815,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorType = types.ConnectorType(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6022,7 +5830,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } } - case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -6031,7 +5838,6 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.CredentialsArn = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6047,12 +5853,10 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } } - case "privateConnectionProvisioningState": if err := awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(&sv.PrivateConnectionProvisioningState, value); err != nil { return err } - default: _, _ = key, value @@ -6122,97 +5926,78 @@ func awsRestjson1_deserializeDocumentConnectorProfileProperties(v **types.Connec if err := awsRestjson1_deserializeDocumentAmplitudeConnectorProfileProperties(&sv.Amplitude, value); err != nil { return err } - case "CustomConnector": if err := awsRestjson1_deserializeDocumentCustomConnectorProfileProperties(&sv.CustomConnector, value); err != nil { return err } - case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogConnectorProfileProperties(&sv.Datadog, value); err != nil { return err } - case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceConnectorProfileProperties(&sv.Dynatrace, value); err != nil { return err } - case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsConnectorProfileProperties(&sv.GoogleAnalytics, value); err != nil { return err } - case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeConnectorProfileProperties(&sv.Honeycode, value); err != nil { return err } - case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusConnectorProfileProperties(&sv.InforNexus, value); err != nil { return err } - case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoConnectorProfileProperties(&sv.Marketo, value); err != nil { return err } - case "Pardot": if err := awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(&sv.Pardot, value); err != nil { return err } - case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(&sv.Redshift, value); err != nil { return err } - case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(&sv.Salesforce, value); err != nil { return err } - case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(&sv.SAPOData, value); err != nil { return err } - case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowConnectorProfileProperties(&sv.ServiceNow, value); err != nil { return err } - case "Singular": if err := awsRestjson1_deserializeDocumentSingularConnectorProfileProperties(&sv.Singular, value); err != nil { return err } - case "Slack": if err := awsRestjson1_deserializeDocumentSlackConnectorProfileProperties(&sv.Slack, value); err != nil { return err } - case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(&sv.Snowflake, value); err != nil { return err } - case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroConnectorProfileProperties(&sv.Trendmicro, value); err != nil { return err } - case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaConnectorProfileProperties(&sv.Veeva, value); err != nil { return err } - case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskConnectorProfileProperties(&sv.Zendesk, value); err != nil { return err } - default: _, _ = key, value @@ -6248,7 +6033,6 @@ func awsRestjson1_deserializeDocumentConnectorProvisioningConfig(v **types.Conne if err := awsRestjson1_deserializeDocumentLambdaConnectorProvisioningConfig(&sv.Lambda, value); err != nil { return err } - default: _, _ = key, value @@ -6284,7 +6068,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueOptionList(&sv.ConnectorSuppliedValueOptions, value); err != nil { return err } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -6293,7 +6076,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.DataType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6302,7 +6084,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Description = ptr.String(jtv) } - case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -6311,7 +6092,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.IsRequired = jtv } - case "key": if value != nil { jtv, ok := value.(string) @@ -6320,7 +6100,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Key = ptr.String(jtv) } - case "label": if value != nil { jtv, ok := value.(string) @@ -6329,7 +6108,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Label = ptr.String(jtv) } - case "scope": if value != nil { jtv, ok := value.(string) @@ -6338,7 +6116,6 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Scope = ptr.String(jtv) } - default: _, _ = key, value @@ -6402,15 +6179,9 @@ func awsRestjson1_deserializeDocumentConnectorServerException(v **types.Connecto sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6418,15 +6189,11 @@ func awsRestjson1_deserializeDocumentConnectorServerException(v **types.Connecto } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6565,7 +6332,6 @@ func awsRestjson1_deserializeDocumentCustomAuthConfig(v **types.CustomAuthConfig if err := awsRestjson1_deserializeDocumentAuthParameterList(&sv.AuthParameters, value); err != nil { return err } - case "customAuthenticationType": if value != nil { jtv, ok := value.(string) @@ -6574,7 +6340,6 @@ func awsRestjson1_deserializeDocumentCustomAuthConfig(v **types.CustomAuthConfig } sv.CustomAuthenticationType = ptr.String(jtv) } - default: _, _ = key, value @@ -6644,7 +6409,6 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } - case "entityName": if value != nil { jtv, ok := value.(string) @@ -6653,17 +6417,14 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty } sv.EntityName = ptr.String(jtv) } - case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } - case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6433,6 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty } sv.WriteOperationType = types.WriteOperationType(jtv) } - default: _, _ = key, value @@ -6708,12 +6468,10 @@ func awsRestjson1_deserializeDocumentCustomConnectorProfileProperties(v **types. if err := awsRestjson1_deserializeDocumentOAuth2Properties(&sv.OAuth2Properties, value); err != nil { return err } - case "profileProperties": if err := awsRestjson1_deserializeDocumentProfilePropertiesMap(&sv.ProfileProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6749,12 +6507,10 @@ func awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(v **types.C if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } - case "dataTransferApi": if err := awsRestjson1_deserializeDocumentDataTransferApi(&sv.DataTransferApi, value); err != nil { return err } - case "entityName": if value != nil { jtv, ok := value.(string) @@ -6763,7 +6519,6 @@ func awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(v **types.C } sv.EntityName = ptr.String(jtv) } - default: _, _ = key, value @@ -6803,7 +6558,6 @@ func awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(v **t } sv.DomainName = ptr.String(jtv) } - case "objectTypeName": if value != nil { jtv, ok := value.(string) @@ -6812,7 +6566,6 @@ func awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(v **t } sv.ObjectTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -6919,7 +6672,6 @@ func awsRestjson1_deserializeDocumentDatadogConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -6990,7 +6742,6 @@ func awsRestjson1_deserializeDocumentDatadogSourceProperties(v **types.DatadogSo } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -7030,7 +6781,6 @@ func awsRestjson1_deserializeDocumentDataTransferApi(v **types.DataTransferApi, } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7039,7 +6789,6 @@ func awsRestjson1_deserializeDocumentDataTransferApi(v **types.DataTransferApi, } sv.Type = types.DataTransferApiType(jtv) } - default: _, _ = key, value @@ -7075,67 +6824,54 @@ func awsRestjson1_deserializeDocumentDestinationConnectorProperties(v **types.De if err := awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(&sv.CustomConnector, value); err != nil { return err } - case "CustomerProfiles": if err := awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(&sv.CustomerProfiles, value); err != nil { return err } - case "EventBridge": if err := awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(&sv.EventBridge, value); err != nil { return err } - case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(&sv.Honeycode, value); err != nil { return err } - case "LookoutMetrics": if err := awsRestjson1_deserializeDocumentLookoutMetricsDestinationProperties(&sv.LookoutMetrics, value); err != nil { return err } - case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoDestinationProperties(&sv.Marketo, value); err != nil { return err } - case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftDestinationProperties(&sv.Redshift, value); err != nil { return err } - case "S3": if err := awsRestjson1_deserializeDocumentS3DestinationProperties(&sv.S3, value); err != nil { return err } - case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceDestinationProperties(&sv.Salesforce, value); err != nil { return err } - case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataDestinationProperties(&sv.SAPOData, value); err != nil { return err } - case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(&sv.Snowflake, value); err != nil { return err } - case "Upsolver": if err := awsRestjson1_deserializeDocumentUpsolverDestinationProperties(&sv.Upsolver, value); err != nil { return err } - case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskDestinationProperties(&sv.Zendesk, value); err != nil { return err } - default: _, _ = key, value @@ -7175,7 +6911,6 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsCreatable = jtv } - case "isDefaultedOnCreate": if value != nil { jtv, ok := value.(bool) @@ -7184,7 +6919,6 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsDefaultedOnCreate = jtv } - case "isNullable": if value != nil { jtv, ok := value.(bool) @@ -7193,7 +6927,6 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsNullable = jtv } - case "isUpdatable": if value != nil { jtv, ok := value.(bool) @@ -7202,7 +6935,6 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsUpdatable = jtv } - case "isUpsertable": if value != nil { jtv, ok := value.(bool) @@ -7211,12 +6943,10 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsUpsertable = jtv } - case "supportedWriteOperations": if err := awsRestjson1_deserializeDocumentSupportedWriteOperationList(&sv.SupportedWriteOperations, value); err != nil { return err } - default: _, _ = key, value @@ -7256,7 +6986,6 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ApiVersion = ptr.String(jtv) } - case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -7265,7 +6994,6 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ConnectorProfileName = ptr.String(jtv) } - case "connectorType": if value != nil { jtv, ok := value.(string) @@ -7274,12 +7002,10 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ConnectorType = types.ConnectorType(jtv) } - case "destinationConnectorProperties": if err := awsRestjson1_deserializeDocumentDestinationConnectorProperties(&sv.DestinationConnectorProperties, value); err != nil { return err } - default: _, _ = key, value @@ -7353,7 +7079,6 @@ func awsRestjson1_deserializeDocumentDynatraceConnectorProfileProperties(v **typ } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -7424,7 +7149,6 @@ func awsRestjson1_deserializeDocumentDynatraceSourceProperties(v **types.Dynatra } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -7464,7 +7188,6 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -7473,7 +7196,6 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.BucketPrefix = ptr.String(jtv) } - case "failOnFirstDestinationError": if value != nil { jtv, ok := value.(bool) @@ -7482,7 +7204,6 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.FailOnFirstDestinationError = jtv } - default: _, _ = key, value @@ -7522,7 +7243,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ExecutionMessage = ptr.String(jtv) } - case "putFailuresCount": if value != nil { jtv, ok := value.(json.Number) @@ -7535,7 +7255,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.PutFailuresCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -7571,7 +7290,6 @@ func awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(v **types. if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "object": if value != nil { jtv, ok := value.(string) @@ -7580,7 +7298,6 @@ func awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(v **types. } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -7651,7 +7368,6 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } sv.MostRecentExecutionMessage = ptr.String(jtv) } - case "mostRecentExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7376,6 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } sv.MostRecentExecutionStatus = types.ExecutionStatus(jtv) } - case "mostRecentExecutionTime": if value != nil { switch jtv := value.(type) { @@ -7676,7 +7391,6 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } } - default: _, _ = key, value @@ -7759,7 +7473,6 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } - case "dataPullStartTime": if value != nil { switch jtv := value.(type) { @@ -7775,7 +7488,6 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } - case "executionId": if value != nil { jtv, ok := value.(string) @@ -7784,12 +7496,10 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } sv.ExecutionId = ptr.String(jtv) } - case "executionResult": if err := awsRestjson1_deserializeDocumentExecutionResult(&sv.ExecutionResult, value); err != nil { return err } - case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -7798,7 +7508,6 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } sv.ExecutionStatus = types.ExecutionStatus(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7814,12 +7523,10 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } - case "metadataCatalogDetails": if err := awsRestjson1_deserializeDocumentMetadataCatalogDetails(&sv.MetadataCatalogDetails, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -7835,7 +7542,6 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } - default: _, _ = key, value @@ -7879,7 +7585,6 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.BytesProcessed = ptr.Int64(i64) } - case "bytesWritten": if value != nil { jtv, ok := value.(json.Number) @@ -7892,12 +7597,10 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.BytesWritten = ptr.Int64(i64) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "maxPageSize": if value != nil { jtv, ok := value.(json.Number) @@ -7910,7 +7613,6 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.MaxPageSize = ptr.Int64(i64) } - case "numParallelProcesses": if value != nil { jtv, ok := value.(json.Number) @@ -7923,7 +7625,6 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.NumParallelProcesses = ptr.Int64(i64) } - case "recordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7936,7 +7637,6 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.RecordsProcessed = ptr.Int64(i64) } - default: _, _ = key, value @@ -7972,7 +7672,6 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails if err := awsRestjson1_deserializeDocumentRange(&sv.FieldLengthRange, value); err != nil { return err } - case "fieldType": if value != nil { jtv, ok := value.(string) @@ -7981,17 +7680,14 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.FieldType = ptr.String(jtv) } - case "fieldValueRange": if err := awsRestjson1_deserializeDocumentRange(&sv.FieldValueRange, value); err != nil { return err } - case "filterOperators": if err := awsRestjson1_deserializeDocumentFilterOperatorList(&sv.FilterOperators, value); err != nil { return err } - case "supportedDateFormat": if value != nil { jtv, ok := value.(string) @@ -8000,12 +7696,10 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.SupportedDateFormat = ptr.String(jtv) } - case "supportedValues": if err := awsRestjson1_deserializeDocumentSupportedValueList(&sv.SupportedValues, value); err != nil { return err } - case "valueRegexPattern": if value != nil { jtv, ok := value.(string) @@ -8014,7 +7708,6 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.ValueRegexPattern = ptr.String(jtv) } - default: _, _ = key, value @@ -8097,7 +7790,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8106,7 +7798,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8115,7 +7806,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.Description = ptr.String(jtv) } - case "destinationConnectorLabel": if value != nil { jtv, ok := value.(string) @@ -8124,7 +7814,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.DestinationConnectorLabel = ptr.String(jtv) } - case "destinationConnectorType": if value != nil { jtv, ok := value.(string) @@ -8133,7 +7822,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.DestinationConnectorType = types.ConnectorType(jtv) } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -8142,7 +7830,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowArn = ptr.String(jtv) } - case "flowName": if value != nil { jtv, ok := value.(string) @@ -8151,7 +7838,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowName = ptr.String(jtv) } - case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -8160,12 +7846,10 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowStatus = types.FlowStatus(jtv) } - case "lastRunExecutionDetails": if err := awsRestjson1_deserializeDocumentExecutionDetails(&sv.LastRunExecutionDetails, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -8181,7 +7865,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -8190,7 +7873,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.LastUpdatedBy = ptr.String(jtv) } - case "sourceConnectorLabel": if value != nil { jtv, ok := value.(string) @@ -8199,7 +7881,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.SourceConnectorLabel = ptr.String(jtv) } - case "sourceConnectorType": if value != nil { jtv, ok := value.(string) @@ -8208,12 +7889,10 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.SourceConnectorType = types.ConnectorType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "triggerType": if value != nil { jtv, ok := value.(string) @@ -8222,7 +7901,6 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.TriggerType = types.TriggerType(jtv) } - default: _, _ = key, value @@ -8330,7 +8008,6 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.DatabaseName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8339,7 +8016,6 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.RoleArn = ptr.String(jtv) } - case "tablePrefix": if value != nil { jtv, ok := value.(string) @@ -8348,7 +8024,6 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.TablePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8415,7 +8090,6 @@ func awsRestjson1_deserializeDocumentGoogleAnalyticsMetadata(v **types.GoogleAna if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - default: _, _ = key, value @@ -8455,7 +8129,6 @@ func awsRestjson1_deserializeDocumentGoogleAnalyticsSourceProperties(v **types.G } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -8522,7 +8195,6 @@ func awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(v **types.Ho if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "object": if value != nil { jtv, ok := value.(string) @@ -8531,7 +8203,6 @@ func awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(v **types.Ho } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -8567,7 +8238,6 @@ func awsRestjson1_deserializeDocumentHoneycodeMetadata(v **types.HoneycodeMetada if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - default: _, _ = key, value @@ -8643,7 +8313,6 @@ func awsRestjson1_deserializeDocumentIncrementalPullConfig(v **types.Incremental } sv.DatetimeTypeFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -8683,7 +8352,6 @@ func awsRestjson1_deserializeDocumentInforNexusConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8754,7 +8422,6 @@ func awsRestjson1_deserializeDocumentInforNexusSourceProperties(v **types.InforN } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -8784,15 +8451,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8800,15 +8461,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8843,7 +8500,6 @@ func awsRestjson1_deserializeDocumentLambdaConnectorProvisioningConfig(v **types } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8914,7 +8570,6 @@ func awsRestjson1_deserializeDocumentMarketoConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8950,7 +8605,6 @@ func awsRestjson1_deserializeDocumentMarketoDestinationProperties(v **types.Mark if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "object": if value != nil { jtv, ok := value.(string) @@ -8959,7 +8613,6 @@ func awsRestjson1_deserializeDocumentMarketoDestinationProperties(v **types.Mark } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -9030,7 +8683,6 @@ func awsRestjson1_deserializeDocumentMarketoSourceProperties(v **types.MarketoSo } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -9066,7 +8718,6 @@ func awsRestjson1_deserializeDocumentMetadataCatalogConfig(v **types.MetadataCat if err := awsRestjson1_deserializeDocumentGlueDataCatalogConfig(&sv.GlueDataCatalog, value); err != nil { return err } - default: _, _ = key, value @@ -9106,12 +8757,10 @@ func awsRestjson1_deserializeDocumentMetadataCatalogDetail(v **types.MetadataCat } sv.CatalogType = types.CatalogType(jtv) } - case "partitionRegistrationOutput": if err := awsRestjson1_deserializeDocumentRegistrationOutput(&sv.PartitionRegistrationOutput, value); err != nil { return err } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -9120,12 +8769,10 @@ func awsRestjson1_deserializeDocumentMetadataCatalogDetail(v **types.MetadataCat } sv.TableName = ptr.String(jtv) } - case "tableRegistrationOutput": if err := awsRestjson1_deserializeDocumentRegistrationOutput(&sv.TableRegistrationOutput, value); err != nil { return err } - default: _, _ = key, value @@ -9195,7 +8842,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueList(&sv.ConnectorSuppliedValues, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -9204,7 +8850,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Description = ptr.String(jtv) } - case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -9213,7 +8858,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.IsRequired = jtv } - case "isSensitiveField": if value != nil { jtv, ok := value.(bool) @@ -9222,7 +8866,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.IsSensitiveField = jtv } - case "key": if value != nil { jtv, ok := value.(string) @@ -9231,7 +8874,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Key = ptr.String(jtv) } - case "label": if value != nil { jtv, ok := value.(string) @@ -9240,7 +8882,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Label = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9249,7 +8890,6 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Type = types.OAuth2CustomPropType(jtv) } - default: _, _ = key, value @@ -9319,27 +8959,22 @@ func awsRestjson1_deserializeDocumentOAuth2Defaults(v **types.OAuth2Defaults, va if err := awsRestjson1_deserializeDocumentAuthCodeUrlList(&sv.AuthCodeUrls, value); err != nil { return err } - case "oauth2CustomProperties": if err := awsRestjson1_deserializeDocumentOAuth2CustomPropertiesList(&sv.Oauth2CustomProperties, value); err != nil { return err } - case "oauth2GrantTypesSupported": if err := awsRestjson1_deserializeDocumentOAuth2GrantTypeSupportedList(&sv.Oauth2GrantTypesSupported, value); err != nil { return err } - case "oauthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OauthScopes, value); err != nil { return err } - case "tokenUrls": if err := awsRestjson1_deserializeDocumentTokenUrlList(&sv.TokenUrls, value); err != nil { return err } - default: _, _ = key, value @@ -9415,7 +9050,6 @@ func awsRestjson1_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.OAuth2GrantType = types.OAuth2GrantType(jtv) } - case "tokenUrl": if value != nil { jtv, ok := value.(string) @@ -9424,12 +9058,10 @@ func awsRestjson1_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.TokenUrl = ptr.String(jtv) } - case "tokenUrlCustomProperties": if err := awsRestjson1_deserializeDocumentTokenUrlCustomProperties(&sv.TokenUrlCustomProperties, value); err != nil { return err } - default: _, _ = key, value @@ -9469,12 +9101,10 @@ func awsRestjson1_deserializeDocumentOAuthProperties(v **types.OAuthProperties, } sv.AuthCodeUrl = ptr.String(jtv) } - case "oAuthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - case "tokenUrl": if value != nil { jtv, ok := value.(string) @@ -9483,7 +9113,6 @@ func awsRestjson1_deserializeDocumentOAuthProperties(v **types.OAuthProperties, } sv.TokenUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9559,7 +9188,6 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.BusinessUnitId = ptr.String(jtv) } - case "instanceUrl": if value != nil { jtv, ok := value.(string) @@ -9568,7 +9196,6 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.InstanceUrl = ptr.String(jtv) } - case "isSandboxEnvironment": if value != nil { jtv, ok := value.(bool) @@ -9577,7 +9204,6 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.IsSandboxEnvironment = jtv } - default: _, _ = key, value @@ -9648,7 +9274,6 @@ func awsRestjson1_deserializeDocumentPardotSourceProperties(v **types.PardotSour } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -9720,7 +9345,6 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value if err := awsRestjson1_deserializeDocumentPathPrefixHierarchy(&sv.PathPrefixHierarchy, value); err != nil { return err } - case "prefixFormat": if value != nil { jtv, ok := value.(string) @@ -9729,7 +9353,6 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value } sv.PrefixFormat = types.PrefixFormat(jtv) } - case "prefixType": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9361,6 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value } sv.PrefixType = types.PrefixType(jtv) } - default: _, _ = key, value @@ -9778,7 +9400,6 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.FailureCause = types.PrivateConnectionProvisioningFailureCause(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -9787,7 +9408,6 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.FailureMessage = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9796,7 +9416,6 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.Status = types.PrivateConnectionProvisioningStatus(jtv) } - default: _, _ = key, value @@ -9897,7 +9516,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } } - case "minimum": if value != nil { switch jtv := value.(type) { @@ -9931,7 +9549,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } } - default: _, _ = key, value @@ -9971,7 +9588,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -9980,7 +9596,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.BucketPrefix = ptr.String(jtv) } - case "clusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -9989,7 +9604,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.ClusterIdentifier = ptr.String(jtv) } - case "dataApiRoleArn": if value != nil { jtv, ok := value.(string) @@ -9998,7 +9612,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DataApiRoleArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -10007,7 +9620,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DatabaseName = ptr.String(jtv) } - case "databaseUrl": if value != nil { jtv, ok := value.(string) @@ -10016,7 +9628,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DatabaseUrl = ptr.String(jtv) } - case "isRedshiftServerless": if value != nil { jtv, ok := value.(bool) @@ -10025,7 +9636,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.IsRedshiftServerless = jtv } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9644,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.RoleArn = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -10043,7 +9652,6 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -10083,12 +9691,10 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.BucketPrefix = ptr.String(jtv) } - case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "intermediateBucketName": if value != nil { jtv, ok := value.(string) @@ -10097,7 +9703,6 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.IntermediateBucketName = ptr.String(jtv) } - case "object": if value != nil { jtv, ok := value.(string) @@ -10106,7 +9711,6 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -10213,7 +9817,6 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Message = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -10222,7 +9825,6 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Result = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10231,7 +9833,6 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Status = types.ExecutionStatus(jtv) } - default: _, _ = key, value @@ -10261,15 +9862,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10277,15 +9872,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10320,7 +9911,6 @@ func awsRestjson1_deserializeDocumentS3DestinationProperties(v **types.S3Destina } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -10329,12 +9919,10 @@ func awsRestjson1_deserializeDocumentS3DestinationProperties(v **types.S3Destina } sv.BucketPrefix = ptr.String(jtv) } - case "s3OutputFormatConfig": if err := awsRestjson1_deserializeDocumentS3OutputFormatConfig(&sv.S3OutputFormatConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10374,7 +9962,6 @@ func awsRestjson1_deserializeDocumentS3InputFormatConfig(v **types.S3InputFormat } sv.S3InputFileType = types.S3InputFileType(jtv) } - default: _, _ = key, value @@ -10441,7 +10028,6 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm if err := awsRestjson1_deserializeDocumentAggregationConfig(&sv.AggregationConfig, value); err != nil { return err } - case "fileType": if value != nil { jtv, ok := value.(string) @@ -10450,12 +10036,10 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm } sv.FileType = types.FileType(jtv) } - case "prefixConfig": if err := awsRestjson1_deserializeDocumentPrefixConfig(&sv.PrefixConfig, value); err != nil { return err } - case "preserveSourceDataTyping": if value != nil { jtv, ok := value.(bool) @@ -10464,7 +10048,6 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm } sv.PreserveSourceDataTyping = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10504,7 +10087,6 @@ func awsRestjson1_deserializeDocumentS3SourceProperties(v **types.S3SourceProper } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -10513,12 +10095,10 @@ func awsRestjson1_deserializeDocumentS3SourceProperties(v **types.S3SourceProper } sv.BucketPrefix = ptr.String(jtv) } - case "s3InputFormatConfig": if err := awsRestjson1_deserializeDocumentS3InputFormatConfig(&sv.S3InputFormatConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10558,7 +10138,6 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } - case "isSandboxEnvironment": if value != nil { jtv, ok := value.(bool) @@ -10567,7 +10146,6 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.IsSandboxEnvironment = jtv } - case "usePrivateLinkForMetadataAndAuthorization": if value != nil { jtv, ok := value.(bool) @@ -10576,7 +10154,6 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.UsePrivateLinkForMetadataAndAuthorization = jtv } - default: _, _ = key, value @@ -10652,17 +10229,14 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.DataTransferApi = types.SalesforceDataTransferApi(jtv) } - case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } - case "object": if value != nil { jtv, ok := value.(string) @@ -10671,7 +10245,6 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.Object = ptr.String(jtv) } - case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -10680,7 +10253,6 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.WriteOperationType = types.WriteOperationType(jtv) } - default: _, _ = key, value @@ -10716,17 +10288,14 @@ func awsRestjson1_deserializeDocumentSalesforceMetadata(v **types.SalesforceMeta if err := awsRestjson1_deserializeDocumentSalesforceDataTransferApiList(&sv.DataTransferApis, value); err != nil { return err } - case "oauth2GrantTypesSupported": if err := awsRestjson1_deserializeDocumentOAuth2GrantTypeSupportedList(&sv.Oauth2GrantTypesSupported, value); err != nil { return err } - case "oAuthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - default: _, _ = key, value @@ -10766,7 +10335,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.DataTransferApi = types.SalesforceDataTransferApi(jtv) } - case "enableDynamicFieldUpdate": if value != nil { jtv, ok := value.(bool) @@ -10775,7 +10343,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.EnableDynamicFieldUpdate = jtv } - case "includeDeletedRecords": if value != nil { jtv, ok := value.(bool) @@ -10784,7 +10351,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.IncludeDeletedRecords = jtv } - case "object": if value != nil { jtv, ok := value.(string) @@ -10793,7 +10359,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -10833,7 +10398,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ApplicationHostUrl = ptr.String(jtv) } - case "applicationServicePath": if value != nil { jtv, ok := value.(string) @@ -10842,7 +10406,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ApplicationServicePath = ptr.String(jtv) } - case "clientNumber": if value != nil { jtv, ok := value.(string) @@ -10851,7 +10414,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ClientNumber = ptr.String(jtv) } - case "disableSSO": if value != nil { jtv, ok := value.(bool) @@ -10860,7 +10422,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.DisableSSO = jtv } - case "logonLanguage": if value != nil { jtv, ok := value.(string) @@ -10869,12 +10430,10 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.LogonLanguage = ptr.String(jtv) } - case "oAuthProperties": if err := awsRestjson1_deserializeDocumentOAuthProperties(&sv.OAuthProperties, value); err != nil { return err } - case "portNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10887,7 +10446,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.PortNumber = ptr.Int32(int32(i64)) } - case "privateLinkServiceName": if value != nil { jtv, ok := value.(string) @@ -10896,7 +10454,6 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.PrivateLinkServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -10932,12 +10489,10 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } - case "objectPath": if value != nil { jtv, ok := value.(string) @@ -10946,12 +10501,10 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP } sv.ObjectPath = ptr.String(jtv) } - case "successResponseHandlingConfig": if err := awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(&sv.SuccessResponseHandlingConfig, value); err != nil { return err } - case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -10960,7 +10513,6 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP } sv.WriteOperationType = types.WriteOperationType(jtv) } - default: _, _ = key, value @@ -11035,7 +10587,6 @@ func awsRestjson1_deserializeDocumentSAPODataPaginationConfig(v **types.SAPOData } sv.MaxPageSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11079,7 +10630,6 @@ func awsRestjson1_deserializeDocumentSAPODataParallelismConfig(v **types.SAPODat } sv.MaxParallelism = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11119,17 +10669,14 @@ func awsRestjson1_deserializeDocumentSAPODataSourceProperties(v **types.SAPOData } sv.ObjectPath = ptr.String(jtv) } - case "paginationConfig": if err := awsRestjson1_deserializeDocumentSAPODataPaginationConfig(&sv.PaginationConfig, value); err != nil { return err } - case "parallelismConfig": if err := awsRestjson1_deserializeDocumentSAPODataParallelismConfig(&sv.ParallelismConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11169,7 +10716,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.DataPullMode = types.DataPullMode(jtv) } - case "firstExecutionFrom": if value != nil { switch jtv := value.(type) { @@ -11185,7 +10731,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } - case "flowErrorDeactivationThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -11198,7 +10743,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.FlowErrorDeactivationThreshold = ptr.Int32(int32(i64)) } - case "scheduleEndTime": if value != nil { switch jtv := value.(type) { @@ -11214,7 +10758,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } - case "scheduleExpression": if value != nil { jtv, ok := value.(string) @@ -11223,7 +10766,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.ScheduleExpression = ptr.String(jtv) } - case "scheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11236,7 +10778,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.ScheduleOffset = ptr.Int64(i64) } - case "scheduleStartTime": if value != nil { switch jtv := value.(type) { @@ -11252,7 +10793,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } - case "timezone": if value != nil { jtv, ok := value.(string) @@ -11261,7 +10801,6 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -11337,7 +10876,6 @@ func awsRestjson1_deserializeDocumentServiceNowConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -11408,7 +10946,6 @@ func awsRestjson1_deserializeDocumentServiceNowSourceProperties(v **types.Servic } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -11438,15 +10975,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11454,15 +10985,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11559,7 +11086,6 @@ func awsRestjson1_deserializeDocumentSingularSourceProperties(v **types.Singular } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -11599,7 +11125,6 @@ func awsRestjson1_deserializeDocumentSlackConnectorProfileProperties(v **types.S } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -11635,7 +11160,6 @@ func awsRestjson1_deserializeDocumentSlackMetadata(v **types.SlackMetadata, valu if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - default: _, _ = key, value @@ -11675,7 +11199,6 @@ func awsRestjson1_deserializeDocumentSlackSourceProperties(v **types.SlackSource } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -11715,7 +11238,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.AccountName = ptr.String(jtv) } - case "bucketName": if value != nil { jtv, ok := value.(string) @@ -11724,7 +11246,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -11733,7 +11254,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.BucketPrefix = ptr.String(jtv) } - case "privateLinkServiceName": if value != nil { jtv, ok := value.(string) @@ -11742,7 +11262,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.PrivateLinkServiceName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11751,7 +11270,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Region = ptr.String(jtv) } - case "stage": if value != nil { jtv, ok := value.(string) @@ -11760,7 +11278,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Stage = ptr.String(jtv) } - case "warehouse": if value != nil { jtv, ok := value.(string) @@ -11769,7 +11286,6 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Warehouse = ptr.String(jtv) } - default: _, _ = key, value @@ -11809,12 +11325,10 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.BucketPrefix = ptr.String(jtv) } - case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "intermediateBucketName": if value != nil { jtv, ok := value.(string) @@ -11823,7 +11337,6 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.IntermediateBucketName = ptr.String(jtv) } - case "object": if value != nil { jtv, ok := value.(string) @@ -11832,7 +11345,6 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -11868,7 +11380,6 @@ func awsRestjson1_deserializeDocumentSnowflakeMetadata(v **types.SnowflakeMetada if err := awsRestjson1_deserializeDocumentRegionList(&sv.SupportedRegions, value); err != nil { return err } - default: _, _ = key, value @@ -11904,87 +11415,70 @@ func awsRestjson1_deserializeDocumentSourceConnectorProperties(v **types.SourceC if err := awsRestjson1_deserializeDocumentAmplitudeSourceProperties(&sv.Amplitude, value); err != nil { return err } - case "CustomConnector": if err := awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(&sv.CustomConnector, value); err != nil { return err } - case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogSourceProperties(&sv.Datadog, value); err != nil { return err } - case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceSourceProperties(&sv.Dynatrace, value); err != nil { return err } - case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsSourceProperties(&sv.GoogleAnalytics, value); err != nil { return err } - case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusSourceProperties(&sv.InforNexus, value); err != nil { return err } - case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoSourceProperties(&sv.Marketo, value); err != nil { return err } - case "Pardot": if err := awsRestjson1_deserializeDocumentPardotSourceProperties(&sv.Pardot, value); err != nil { return err } - case "S3": if err := awsRestjson1_deserializeDocumentS3SourceProperties(&sv.S3, value); err != nil { return err } - case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceSourceProperties(&sv.Salesforce, value); err != nil { return err } - case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataSourceProperties(&sv.SAPOData, value); err != nil { return err } - case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowSourceProperties(&sv.ServiceNow, value); err != nil { return err } - case "Singular": if err := awsRestjson1_deserializeDocumentSingularSourceProperties(&sv.Singular, value); err != nil { return err } - case "Slack": if err := awsRestjson1_deserializeDocumentSlackSourceProperties(&sv.Slack, value); err != nil { return err } - case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroSourceProperties(&sv.Trendmicro, value); err != nil { return err } - case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaSourceProperties(&sv.Veeva, value); err != nil { return err } - case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskSourceProperties(&sv.Zendesk, value); err != nil { return err } - default: _, _ = key, value @@ -12024,7 +11518,6 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsQueryable = jtv } - case "isRetrievable": if value != nil { jtv, ok := value.(bool) @@ -12033,7 +11526,6 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsRetrievable = jtv } - case "isTimestampFieldForIncrementalQueries": if value != nil { jtv, ok := value.(bool) @@ -12042,7 +11534,6 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsTimestampFieldForIncrementalQueries = jtv } - default: _, _ = key, value @@ -12118,7 +11609,6 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ApiVersion = ptr.String(jtv) } - case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -12127,7 +11617,6 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ConnectorProfileName = ptr.String(jtv) } - case "connectorType": if value != nil { jtv, ok := value.(string) @@ -12136,17 +11625,14 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ConnectorType = types.ConnectorType(jtv) } - case "incrementalPullConfig": if err := awsRestjson1_deserializeDocumentIncrementalPullConfig(&sv.IncrementalPullConfig, value); err != nil { return err } - case "sourceConnectorProperties": if err := awsRestjson1_deserializeDocumentSourceConnectorProperties(&sv.SourceConnectorProperties, value); err != nil { return err } - default: _, _ = key, value @@ -12186,7 +11672,6 @@ func awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(v **types.Suc } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -12195,7 +11680,6 @@ func awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(v **types.Suc } sv.BucketPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -12337,7 +11821,6 @@ func awsRestjson1_deserializeDocumentSupportedFieldTypeDetails(v **types.Support if err := awsRestjson1_deserializeDocumentFieldTypeDetails(&sv.V1, value); err != nil { return err } - default: _, _ = key, value @@ -12517,7 +12000,6 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err if err := awsRestjson1_deserializeDocumentConnectorOperator(&sv.ConnectorOperator, value); err != nil { return err } - case "destinationField": if value != nil { jtv, ok := value.(string) @@ -12526,17 +12008,14 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.DestinationField = ptr.String(jtv) } - case "sourceFields": if err := awsRestjson1_deserializeDocumentSourceFields(&sv.SourceFields, value); err != nil { return err } - case "taskProperties": if err := awsRestjson1_deserializeDocumentTaskPropertiesMap(&sv.TaskProperties, value); err != nil { return err } - case "taskType": if value != nil { jtv, ok := value.(string) @@ -12545,7 +12024,6 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskType = types.TaskType(jtv) } - default: _, _ = key, value @@ -12645,15 +12123,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12661,15 +12133,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12838,7 +12306,6 @@ func awsRestjson1_deserializeDocumentTrendmicroSourceProperties(v **types.Trendm } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -12874,7 +12341,6 @@ func awsRestjson1_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu if err := awsRestjson1_deserializeDocumentTriggerProperties(&sv.TriggerProperties, value); err != nil { return err } - case "triggerType": if value != nil { jtv, ok := value.(string) @@ -12883,7 +12349,6 @@ func awsRestjson1_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerType = types.TriggerType(jtv) } - default: _, _ = key, value @@ -12919,7 +12384,6 @@ func awsRestjson1_deserializeDocumentTriggerProperties(v **types.TriggerProperti if err := awsRestjson1_deserializeDocumentScheduledTriggerProperties(&sv.Scheduled, value); err != nil { return err } - default: _, _ = key, value @@ -12985,15 +12449,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13001,15 +12459,11 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13044,7 +12498,6 @@ func awsRestjson1_deserializeDocumentUpsolverDestinationProperties(v **types.Ups } sv.BucketName = ptr.String(jtv) } - case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -13053,12 +12506,10 @@ func awsRestjson1_deserializeDocumentUpsolverDestinationProperties(v **types.Ups } sv.BucketPrefix = ptr.String(jtv) } - case "s3OutputFormatConfig": if err := awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(&sv.S3OutputFormatConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13125,7 +12576,6 @@ func awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(v **types.Upso if err := awsRestjson1_deserializeDocumentAggregationConfig(&sv.AggregationConfig, value); err != nil { return err } - case "fileType": if value != nil { jtv, ok := value.(string) @@ -13134,12 +12584,10 @@ func awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(v **types.Upso } sv.FileType = types.FileType(jtv) } - case "prefixConfig": if err := awsRestjson1_deserializeDocumentPrefixConfig(&sv.PrefixConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13169,15 +12617,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13185,15 +12627,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13228,7 +12666,6 @@ func awsRestjson1_deserializeDocumentVeevaConnectorProfileProperties(v **types.V } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13299,7 +12736,6 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.DocumentType = ptr.String(jtv) } - case "includeAllVersions": if value != nil { jtv, ok := value.(bool) @@ -13308,7 +12744,6 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeAllVersions = jtv } - case "includeRenditions": if value != nil { jtv, ok := value.(bool) @@ -13317,7 +12752,6 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeRenditions = jtv } - case "includeSourceFiles": if value != nil { jtv, ok := value.(bool) @@ -13326,7 +12760,6 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeSourceFiles = jtv } - case "object": if value != nil { jtv, ok := value.(string) @@ -13335,7 +12768,6 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.Object = ptr.String(jtv) } - default: _, _ = key, value @@ -13375,7 +12807,6 @@ func awsRestjson1_deserializeDocumentZendeskConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13411,12 +12842,10 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } - case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } - case "object": if value != nil { jtv, ok := value.(string) @@ -13425,7 +12854,6 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend } sv.Object = ptr.String(jtv) } - case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -13434,7 +12862,6 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend } sv.WriteOperationType = types.WriteOperationType(jtv) } - default: _, _ = key, value @@ -13470,7 +12897,6 @@ func awsRestjson1_deserializeDocumentZendeskMetadata(v **types.ZendeskMetadata, if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } - default: _, _ = key, value @@ -13510,7 +12936,6 @@ func awsRestjson1_deserializeDocumentZendeskSourceProperties(v **types.ZendeskSo } sv.Object = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/appintegrations/deserializers.go b/service/appintegrations/deserializers.go index 14bb3ced787..b5d950ff085 100644 --- a/service/appintegrations/deserializers.go +++ b/service/appintegrations/deserializers.go @@ -193,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -202,7 +201,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -373,7 +371,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Arn = ptr.String(jtv) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -382,7 +379,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.ClientToken = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -391,12 +387,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Description = ptr.String(jtv) } - case "FileConfiguration": if err := awsRestjson1_deserializeDocumentFileConfiguration(&sv.FileConfiguration, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -405,7 +399,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Id = ptr.String(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -414,7 +407,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.KmsKey = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -423,17 +415,14 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Name = ptr.String(jtv) } - case "ObjectConfiguration": if err := awsRestjson1_deserializeDocumentObjectConfiguration(&sv.ObjectConfiguration, value); err != nil { return err } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -442,12 +431,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.SourceURI = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -618,7 +605,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationAssociationOutput(v } sv.DataIntegrationArn = ptr.String(jtv) } - case "DataIntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -627,7 +613,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationAssociationOutput(v } sv.DataIntegrationAssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -798,7 +783,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventIntegrationOutput(v **CreateEv } sv.EventIntegrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1262,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplicationSourceConfig(&sv.ApplicationSourceConfig, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1271,7 +1254,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1287,7 +1269,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1296,7 +1277,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1305,7 +1285,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1321,7 +1300,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1330,7 +1308,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1339,27 +1316,22 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Namespace = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "Publications": if err := awsRestjson1_deserializeDocumentPublicationList(&sv.Publications, value); err != nil { return err } - case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1527,7 +1499,6 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1536,12 +1507,10 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Description = ptr.String(jtv) } - case "FileConfiguration": if err := awsRestjson1_deserializeDocumentFileConfiguration(&sv.FileConfiguration, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1550,7 +1519,6 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Id = ptr.String(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -1559,7 +1527,6 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.KmsKey = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1568,17 +1535,14 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Name = ptr.String(jtv) } - case "ObjectConfiguration": if err := awsRestjson1_deserializeDocumentObjectConfiguration(&sv.ObjectConfiguration, value); err != nil { return err } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -1587,12 +1551,10 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.SourceURI = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1760,7 +1722,6 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.Description = ptr.String(jtv) } - case "EventBridgeBus": if value != nil { jtv, ok := value.(string) @@ -1769,12 +1730,10 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.EventBridgeBus = ptr.String(jtv) } - case "EventFilter": if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } - case "EventIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -1783,7 +1742,6 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.EventIntegrationArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1792,12 +1750,10 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1961,7 +1917,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentApplicationAssociationsList(&sv.ApplicationAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1970,7 +1925,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2131,7 +2085,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationsList(&sv.Applications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2140,7 +2093,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2304,7 +2256,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationAssociationsOutput(v * if err := awsRestjson1_deserializeDocumentDataIntegrationAssociationsList(&sv.DataIntegrationAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2313,7 +2264,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2474,7 +2424,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationsOutput(v **ListDataIn if err := awsRestjson1_deserializeDocumentDataIntegrationsList(&sv.DataIntegrations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2483,7 +2432,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationsOutput(v **ListDataIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2647,7 +2595,6 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationAssociationsOutput(v if err := awsRestjson1_deserializeDocumentEventIntegrationAssociationsList(&sv.EventIntegrationAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2656,7 +2603,6 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2817,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationsOutput(v **ListEvent if err := awsRestjson1_deserializeDocumentEventIntegrationsList(&sv.EventIntegrations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2826,7 +2771,6 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationsOutput(v **ListEvent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2987,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3902,15 +3845,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3918,15 +3855,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4031,7 +3964,6 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ApplicationArn = ptr.String(jtv) } - case "ApplicationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3972,6 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ApplicationAssociationArn = ptr.String(jtv) } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -4049,7 +3980,6 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ClientId = ptr.String(jtv) } - default: _, _ = key, value @@ -4119,7 +4049,6 @@ func awsRestjson1_deserializeDocumentApplicationSourceConfig(v **types.Applicati if err := awsRestjson1_deserializeDocumentExternalUrlConfig(&sv.ExternalUrlConfig, value); err != nil { return err } - default: _, _ = key, value @@ -4159,7 +4088,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4175,7 +4103,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4184,7 +4111,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4200,7 +4126,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4209,7 +4134,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -4218,7 +4142,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -4328,7 +4251,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.ClientId = ptr.String(jtv) } - case "DataIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -4337,7 +4259,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DataIntegrationArn = ptr.String(jtv) } - case "DataIntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -4346,7 +4267,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DataIntegrationAssociationArn = ptr.String(jtv) } - case "DestinationURI": if value != nil { jtv, ok := value.(string) @@ -4355,17 +4275,14 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DestinationURI = ptr.String(jtv) } - case "ExecutionConfiguration": if err := awsRestjson1_deserializeDocumentExecutionConfiguration(&sv.ExecutionConfiguration, value); err != nil { return err } - case "LastExecutionStatus": if err := awsRestjson1_deserializeDocumentLastExecutionStatus(&sv.LastExecutionStatus, value); err != nil { return err } - default: _, _ = key, value @@ -4439,7 +4356,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4448,7 +4364,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.Name = ptr.String(jtv) } - case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -4457,7 +4372,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.SourceURI = ptr.String(jtv) } - default: _, _ = key, value @@ -4487,15 +4401,9 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4503,15 +4411,11 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4546,7 +4450,6 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -4586,7 +4489,6 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.Description = ptr.String(jtv) } - case "EventBridgeBus": if value != nil { jtv, ok := value.(string) @@ -4595,12 +4497,10 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.EventBridgeBus = ptr.String(jtv) } - case "EventFilter": if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } - case "EventIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -4609,7 +4509,6 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.EventIntegrationArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4618,12 +4517,10 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4659,7 +4556,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event if err := awsRestjson1_deserializeDocumentClientAssociationMetadata(&sv.ClientAssociationMetadata, value); err != nil { return err } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -4668,7 +4564,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.ClientId = ptr.String(jtv) } - case "EventBridgeRuleName": if value != nil { jtv, ok := value.(string) @@ -4677,7 +4572,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventBridgeRuleName = ptr.String(jtv) } - case "EventIntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -4686,7 +4580,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationAssociationArn = ptr.String(jtv) } - case "EventIntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -4695,7 +4588,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationAssociationId = ptr.String(jtv) } - case "EventIntegrationName": if value != nil { jtv, ok := value.(string) @@ -4704,7 +4596,6 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationName = ptr.String(jtv) } - default: _, _ = key, value @@ -4812,17 +4703,14 @@ func awsRestjson1_deserializeDocumentExecutionConfiguration(v **types.ExecutionC } sv.ExecutionMode = types.ExecutionMode(jtv) } - case "OnDemandConfiguration": if err := awsRestjson1_deserializeDocumentOnDemandConfiguration(&sv.OnDemandConfiguration, value); err != nil { return err } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4862,12 +4750,10 @@ func awsRestjson1_deserializeDocumentExternalUrlConfig(v **types.ExternalUrlConf } sv.AccessUrl = ptr.String(jtv) } - case "ApprovedOrigins": if err := awsRestjson1_deserializeDocumentApplicationApprovedOrigins(&sv.ApprovedOrigins, value); err != nil { return err } - default: _, _ = key, value @@ -4973,12 +4859,10 @@ func awsRestjson1_deserializeDocumentFileConfiguration(v **types.FileConfigurati if err := awsRestjson1_deserializeDocumentFieldsMap(&sv.Filters, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentFolderList(&sv.Folders, value); err != nil { return err } - default: _, _ = key, value @@ -5044,15 +4928,9 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5060,15 +4938,11 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5093,15 +4967,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5109,15 +4977,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5152,7 +5016,6 @@ func awsRestjson1_deserializeDocumentLastExecutionStatus(v **types.LastExecution } sv.ExecutionStatus = types.ExecutionStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5161,7 +5024,6 @@ func awsRestjson1_deserializeDocumentLastExecutionStatus(v **types.LastExecution } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,7 +5097,6 @@ func awsRestjson1_deserializeDocumentOnDemandConfiguration(v **types.OnDemandCon } sv.EndTime = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5244,7 +5105,6 @@ func awsRestjson1_deserializeDocumentOnDemandConfiguration(v **types.OnDemandCon } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -5320,7 +5180,6 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Description = ptr.String(jtv) } - case "Event": if value != nil { jtv, ok := value.(string) @@ -5329,7 +5188,6 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Event = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -5338,7 +5196,6 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -5402,15 +5259,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5418,15 +5269,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5451,15 +5298,9 @@ func awsRestjson1_deserializeDocumentResourceQuotaExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5467,15 +5308,11 @@ func awsRestjson1_deserializeDocumentResourceQuotaExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5510,7 +5347,6 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.FirstExecutionFrom = ptr.String(jtv) } - case "Object": if value != nil { jtv, ok := value.(string) @@ -5519,7 +5355,6 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Object = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -5528,7 +5363,6 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.ScheduleExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -5568,7 +5402,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Description = ptr.String(jtv) } - case "Event": if value != nil { jtv, ok := value.(string) @@ -5577,7 +5410,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Event = ptr.String(jtv) } - default: _, _ = key, value @@ -5677,15 +5509,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5693,15 +5519,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5726,15 +5548,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5742,15 +5558,11 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/applicationautoscaling/deserializers.go b/service/applicationautoscaling/deserializers.go index 503a767cae9..bdb6d40bd5b 100644 --- a/service/applicationautoscaling/deserializers.go +++ b/service/applicationautoscaling/deserializers.go @@ -1929,7 +1929,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmARN = ptr.String(jtv) } - case "AlarmName": if value != nil { jtv, ok := value.(string) @@ -1938,7 +1937,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmName = ptr.String(jtv) } - default: _, _ = key, value @@ -2002,15 +2000,9 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2018,15 +2010,11 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2057,7 +2045,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -2066,12 +2053,10 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.MetricName = ptr.String(jtv) } - case "Metrics": if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQueries(&sv.Metrics, value); err != nil { return err } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -2080,7 +2065,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Namespace = ptr.String(jtv) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -2089,7 +2073,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Statistic = types.MetricStatistic(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -2098,7 +2081,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -2128,15 +2110,9 @@ func awsAwsjson11_deserializeDocumentFailedResourceAccessException(v **types.Fai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2144,15 +2120,11 @@ func awsAwsjson11_deserializeDocumentFailedResourceAccessException(v **types.Fai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2177,15 +2149,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2193,15 +2159,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2226,15 +2188,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2242,15 +2198,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2275,15 +2227,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2291,15 +2237,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2334,7 +2276,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2343,7 +2284,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2417,7 +2357,6 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.Code = ptr.String(jtv) } - case "CurrentCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2430,7 +2369,6 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.CurrentCapacity = ptr.Int32(int32(i64)) } - case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2443,7 +2381,6 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2456,7 +2393,6 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.MinCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2520,15 +2456,9 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2536,15 +2466,11 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2579,7 +2505,6 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.PredefinedMetricType = types.MetricType(jtv) } - case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -2588,7 +2513,6 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.ResourceLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -2618,15 +2542,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2634,7 +2552,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -2643,15 +2560,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2693,7 +2606,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } } - case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2706,7 +2618,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2719,7 +2630,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.MinCapacity = ptr.Int32(int32(i64)) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2728,7 +2638,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ResourceId = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2737,7 +2646,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.RoleARN = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -2746,7 +2654,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ScalableTargetARN": if value != nil { jtv, ok := value.(string) @@ -2755,7 +2662,6 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ScalableTargetARN = ptr.String(jtv) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -2764,12 +2670,10 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - case "SuspendedState": if err := awsAwsjson11_deserializeDocumentSuspendedState(&sv.SuspendedState, value); err != nil { return err } - default: _, _ = key, value @@ -2813,7 +2717,6 @@ func awsAwsjson11_deserializeDocumentScalableTargetAction(v **types.ScalableTarg } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2826,7 +2729,6 @@ func awsAwsjson11_deserializeDocumentScalableTargetAction(v **types.ScalableTarg } sv.MinCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2934,7 +2836,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ActivityId = ptr.String(jtv) } - case "Cause": if value != nil { jtv, ok := value.(string) @@ -2943,7 +2844,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Cause = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2952,7 +2852,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Description = ptr.String(jtv) } - case "Details": if value != nil { jtv, ok := value.(string) @@ -2961,7 +2860,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Details = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2977,12 +2875,10 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } } - case "NotScaledReasons": if err := awsAwsjson11_deserializeDocumentNotScaledReasons(&sv.NotScaledReasons, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2991,7 +2887,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ResourceId = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -3000,7 +2895,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -3009,7 +2903,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3025,7 +2918,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -3034,7 +2926,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.StatusCode = types.ScalingActivityStatusCode(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3043,7 +2934,6 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3113,7 +3003,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu if err := awsAwsjson11_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3129,7 +3018,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } } - case "PolicyARN": if value != nil { jtv, ok := value.(string) @@ -3138,7 +3026,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyARN = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -3147,7 +3034,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyName = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -3156,7 +3042,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3165,7 +3050,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ResourceId = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -3174,7 +3058,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -3183,17 +3066,14 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - case "StepScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(&sv.StepScalingPolicyConfiguration, value); err != nil { return err } - case "TargetTrackingScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3240,7 +3120,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3256,7 +3135,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3265,7 +3143,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ResourceId = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -3274,12 +3151,10 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ScalableTargetAction": if err := awsAwsjson11_deserializeDocumentScalableTargetAction(&sv.ScalableTargetAction, value); err != nil { return err } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -3288,7 +3163,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Schedule = ptr.String(jtv) } - case "ScheduledActionARN": if value != nil { jtv, ok := value.(string) @@ -3297,7 +3171,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledActionARN = ptr.String(jtv) } - case "ScheduledActionName": if value != nil { jtv, ok := value.(string) @@ -3306,7 +3179,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledActionName = ptr.String(jtv) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3187,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3331,7 +3202,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -3340,7 +3210,6 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -3439,7 +3308,6 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } } - case "MetricIntervalUpperBound": if value != nil { switch jtv := value.(type) { @@ -3473,7 +3341,6 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } } - case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -3486,7 +3353,6 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3560,7 +3426,6 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.AdjustmentType = types.AdjustmentType(jtv) } - case "Cooldown": if value != nil { jtv, ok := value.(json.Number) @@ -3573,7 +3438,6 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.Cooldown = ptr.Int32(int32(i64)) } - case "MetricAggregationType": if value != nil { jtv, ok := value.(string) @@ -3582,7 +3446,6 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.MetricAggregationType = types.MetricAggregationType(jtv) } - case "MinAdjustmentMagnitude": if value != nil { jtv, ok := value.(json.Number) @@ -3595,12 +3458,10 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.MinAdjustmentMagnitude = ptr.Int32(int32(i64)) } - case "StepAdjustments": if err := awsAwsjson11_deserializeDocumentStepAdjustments(&sv.StepAdjustments, value); err != nil { return err } - default: _, _ = key, value @@ -3640,7 +3501,6 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.DynamicScalingInSuspended = ptr.Bool(jtv) } - case "DynamicScalingOutSuspended": if value != nil { jtv, ok := value.(bool) @@ -3649,7 +3509,6 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.DynamicScalingOutSuspended = ptr.Bool(jtv) } - case "ScheduledScalingSuspended": if value != nil { jtv, ok := value.(bool) @@ -3658,7 +3517,6 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.ScheduledScalingSuspended = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3730,7 +3588,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3739,7 +3596,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3748,7 +3604,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -3822,7 +3677,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Expression = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3831,7 +3685,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3840,12 +3693,10 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Label = ptr.String(jtv) } - case "MetricStat": if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(&sv.MetricStat, value); err != nil { return err } - case "ReturnData": if value != nil { jtv, ok := value.(bool) @@ -3854,7 +3705,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.ReturnData = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3894,7 +3744,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDimension(v **types.Tar } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3903,7 +3752,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDimension(v **types.Tar } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3973,7 +3821,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr if err := awsAwsjson11_deserializeDocumentTargetTrackingMetric(&sv.Metric, value); err != nil { return err } - case "Stat": if value != nil { jtv, ok := value.(string) @@ -3982,7 +3829,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr } sv.Stat = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -3991,7 +3837,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -4027,7 +3872,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v if err := awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(&sv.CustomizedMetricSpecification, value); err != nil { return err } - case "DisableScaleIn": if value != nil { jtv, ok := value.(bool) @@ -4036,12 +3880,10 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.DisableScaleIn = ptr.Bool(jtv) } - case "PredefinedMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(&sv.PredefinedMetricSpecification, value); err != nil { return err } - case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4054,7 +3896,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } - case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4067,7 +3908,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } - case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -4101,7 +3941,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } - default: _, _ = key, value @@ -4131,15 +3970,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4147,7 +3980,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4156,15 +3988,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4189,15 +4017,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4205,15 +4027,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4341,12 +4159,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalableTargetsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ScalableTargets": if err := awsAwsjson11_deserializeDocumentScalableTargets(&sv.ScalableTargets, value); err != nil { return err } - default: _, _ = key, value @@ -4386,12 +4202,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingActivitiesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "ScalingActivities": if err := awsAwsjson11_deserializeDocumentScalingActivities(&sv.ScalingActivities, value); err != nil { return err } - default: _, _ = key, value @@ -4431,12 +4245,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPoliciesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -4476,12 +4288,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScheduledActionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "ScheduledActions": if err := awsAwsjson11_deserializeDocumentScheduledActions(&sv.ScheduledActions, value); err != nil { return err } - default: _, _ = key, value @@ -4517,7 +4327,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4553,7 +4362,6 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli if err := awsAwsjson11_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } - case "PolicyARN": if value != nil { jtv, ok := value.(string) @@ -4562,7 +4370,6 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli } sv.PolicyARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4633,7 +4440,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterScalableTargetOutput(v **Register } sv.ScalableTargetARN = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/applicationcostprofiler/deserializers.go b/service/applicationcostprofiler/deserializers.go index d8bdac8f498..899b445ffc0 100644 --- a/service/applicationcostprofiler/deserializers.go +++ b/service/applicationcostprofiler/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReportDefinitionOutput(v **DeleteRe } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -356,12 +355,10 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } } - case "destinationS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.DestinationS3Location, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -370,7 +367,6 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.Format = types.Format(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -386,7 +382,6 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } } - case "reportDescription": if value != nil { jtv, ok := value.(string) @@ -395,7 +390,6 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportDescription = ptr.String(jtv) } - case "reportFrequency": if value != nil { jtv, ok := value.(string) @@ -404,7 +398,6 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportFrequency = types.ReportFrequency(jtv) } - case "reportId": if value != nil { jtv, ok := value.(string) @@ -413,7 +406,6 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -578,7 +570,6 @@ func awsRestjson1_deserializeOpDocumentImportApplicationUsageOutput(v **ImportAp } sv.ImportId = ptr.String(jtv) } - default: _, _ = key, value @@ -743,12 +734,10 @@ func awsRestjson1_deserializeOpDocumentListReportDefinitionsOutput(v **ListRepor } sv.NextToken = ptr.String(jtv) } - case "reportDefinitions": if err := awsRestjson1_deserializeDocumentReportDefinitionList(&sv.ReportDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -916,7 +905,6 @@ func awsRestjson1_deserializeOpDocumentPutReportDefinitionOutput(v **PutReportDe } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1081,7 +1069,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReportDefinitionOutput(v **UpdateRe } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1291,15 +1278,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1307,15 +1288,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1340,15 +1317,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1356,15 +1327,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1406,12 +1373,10 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } } - case "destinationS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.DestinationS3Location, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -1420,7 +1385,6 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Format = types.Format(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1436,7 +1400,6 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } } - case "reportDescription": if value != nil { jtv, ok := value.(string) @@ -1445,7 +1408,6 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportDescription = ptr.String(jtv) } - case "reportFrequency": if value != nil { jtv, ok := value.(string) @@ -1454,7 +1416,6 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportFrequency = types.ReportFrequency(jtv) } - case "reportId": if value != nil { jtv, ok := value.(string) @@ -1463,7 +1424,6 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1537,7 +1497,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -1546,7 +1505,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -1576,15 +1534,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1592,15 +1544,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1625,15 +1573,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1641,15 +1583,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1674,15 +1612,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1690,15 +1622,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/applicationdiscoveryservice/deserializers.go b/service/applicationdiscoveryservice/deserializers.go index c99c79253b7..548cfb087af 100644 --- a/service/applicationdiscoveryservice/deserializers.go +++ b/service/applicationdiscoveryservice/deserializers.go @@ -3898,7 +3898,6 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.AgentId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3907,7 +3906,6 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.Description = ptr.String(jtv) } - case "operationSucceeded": if value != nil { jtv, ok := value.(bool) @@ -3916,7 +3914,6 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.OperationSucceeded = jtv } - default: _, _ = key, value @@ -3990,12 +3987,10 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentId = ptr.String(jtv) } - case "agentNetworkInfoList": if err := awsAwsjson11_deserializeDocumentAgentNetworkInfoList(&sv.AgentNetworkInfoList, value); err != nil { return err } - case "agentType": if value != nil { jtv, ok := value.(string) @@ -4004,7 +3999,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentType = ptr.String(jtv) } - case "collectionStatus": if value != nil { jtv, ok := value.(string) @@ -4013,7 +4007,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.CollectionStatus = ptr.String(jtv) } - case "connectorId": if value != nil { jtv, ok := value.(string) @@ -4022,7 +4015,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.ConnectorId = ptr.String(jtv) } - case "health": if value != nil { jtv, ok := value.(string) @@ -4031,7 +4023,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Health = types.AgentStatus(jtv) } - case "hostName": if value != nil { jtv, ok := value.(string) @@ -4040,7 +4031,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.HostName = ptr.String(jtv) } - case "lastHealthPingTime": if value != nil { jtv, ok := value.(string) @@ -4049,7 +4039,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.LastHealthPingTime = ptr.String(jtv) } - case "registeredTime": if value != nil { jtv, ok := value.(string) @@ -4058,7 +4047,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.RegisteredTime = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4067,7 +4055,6 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4107,7 +4094,6 @@ func awsAwsjson11_deserializeDocumentAgentNetworkInfo(v **types.AgentNetworkInfo } sv.IpAddress = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -4116,7 +4102,6 @@ func awsAwsjson11_deserializeDocumentAgentNetworkInfo(v **types.AgentNetworkInfo } sv.MacAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -4214,15 +4199,9 @@ func awsAwsjson11_deserializeDocumentAuthorizationErrorException(v **types.Autho sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4230,15 +4209,11 @@ func awsAwsjson11_deserializeDocumentAuthorizationErrorException(v **types.Autho } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4273,7 +4248,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.AgentId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4282,7 +4256,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.ErrorCode = types.DeleteAgentErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4291,7 +4264,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4365,17 +4337,14 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.ConfigurationType = types.DeletionConfigurationItemType(jtv) } - case "deletedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationIdList(&sv.DeletedConfigurations, value); err != nil { return err } - case "deletionWarnings": if err := awsAwsjson11_deserializeDocumentDeletionWarningsList(&sv.DeletionWarnings, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -4391,17 +4360,14 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } } - case "failedConfigurations": if err := awsAwsjson11_deserializeDocumentFailedConfigurationList(&sv.FailedConfigurations, value); err != nil { return err } - case "requestedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationIdList(&sv.RequestedConfigurations, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -4417,7 +4383,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } } - case "status": if value != nil { jtv, ok := value.(string) @@ -4426,7 +4391,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.Status = types.BatchDeleteConfigurationTaskStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -4435,7 +4399,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -4475,7 +4438,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ErrorCode = types.BatchDeleteImportDataErrorCode(jtv) } - case "errorDescription": if value != nil { jtv, ok := value.(string) @@ -4484,7 +4446,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ErrorDescription = ptr.String(jtv) } - case "importTaskId": if value != nil { jtv, ok := value.(string) @@ -4493,7 +4454,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ImportTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -4671,7 +4631,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.ConfigurationId = ptr.String(jtv) } - case "configurationType": if value != nil { jtv, ok := value.(string) @@ -4680,7 +4639,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.ConfigurationType = types.ConfigurationItemType(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -4689,7 +4647,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.Key = ptr.String(jtv) } - case "timeOfCreation": if value != nil { switch jtv := value.(type) { @@ -4705,7 +4662,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } } - case "value": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4670,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4778,15 +4733,9 @@ func awsAwsjson11_deserializeDocumentConflictErrorException(v **types.ConflictEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4794,15 +4743,11 @@ func awsAwsjson11_deserializeDocumentConflictErrorException(v **types.ConflictEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4837,7 +4782,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.DataSource = types.DataSource(jtv) } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -4846,7 +4790,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.ExportId = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -4855,12 +4798,10 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.S3Bucket = ptr.String(jtv) } - case "schemaStorageConfig": if err := awsAwsjson11_deserializeDocumentSchemaStorageConfig(&sv.SchemaStorageConfig, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -4876,7 +4817,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } } - case "status": if value != nil { jtv, ok := value.(string) @@ -4885,7 +4825,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.Status = types.ContinuousExportStatus(jtv) } - case "statusDetail": if value != nil { jtv, ok := value.(string) @@ -4894,7 +4833,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.StatusDetail = ptr.String(jtv) } - case "stopTime": if value != nil { switch jtv := value.(type) { @@ -4910,7 +4848,6 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } } - default: _, _ = key, value @@ -4988,7 +4925,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.ActiveAgents = int32(i64) } - case "blackListedAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5001,7 +4937,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.BlackListedAgents = int32(i64) } - case "healthyAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5014,7 +4949,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.HealthyAgents = int32(i64) } - case "shutdownAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5027,7 +4961,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.ShutdownAgents = int32(i64) } - case "totalAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5040,7 +4973,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.TotalAgents = int32(i64) } - case "unhealthyAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5053,7 +4985,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.UnhealthyAgents = int32(i64) } - case "unknownAgents": if value != nil { jtv, ok := value.(json.Number) @@ -5066,7 +4997,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.UnknownAgents = int32(i64) } - default: _, _ = key, value @@ -5110,7 +5040,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.ActiveAgentlessCollectors = int32(i64) } - case "denyListedAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5123,7 +5052,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.DenyListedAgentlessCollectors = int32(i64) } - case "healthyAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5136,7 +5064,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.HealthyAgentlessCollectors = int32(i64) } - case "shutdownAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5149,7 +5076,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.ShutdownAgentlessCollectors = int32(i64) } - case "totalAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5162,7 +5088,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.TotalAgentlessCollectors = int32(i64) } - case "unhealthyAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5175,7 +5100,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.UnhealthyAgentlessCollectors = int32(i64) } - case "unknownAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5188,7 +5112,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.UnknownAgentlessCollectors = int32(i64) } - default: _, _ = key, value @@ -5232,7 +5155,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.ActiveConnectors = int32(i64) } - case "blackListedConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5245,7 +5167,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.BlackListedConnectors = int32(i64) } - case "healthyConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5258,7 +5179,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.HealthyConnectors = int32(i64) } - case "shutdownConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5271,7 +5191,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.ShutdownConnectors = int32(i64) } - case "totalConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5284,7 +5203,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.TotalConnectors = int32(i64) } - case "unhealthyConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5297,7 +5215,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.UnhealthyConnectors = int32(i64) } - case "unknownConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5310,7 +5227,6 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.UnknownConnectors = int32(i64) } - default: _, _ = key, value @@ -5354,7 +5270,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.ActiveMeCollectors = int32(i64) } - case "denyListedMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5367,7 +5282,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.DenyListedMeCollectors = int32(i64) } - case "healthyMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5380,7 +5294,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.HealthyMeCollectors = int32(i64) } - case "shutdownMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5393,7 +5306,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.ShutdownMeCollectors = int32(i64) } - case "totalMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5406,7 +5318,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.TotalMeCollectors = int32(i64) } - case "unhealthyMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5419,7 +5330,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.UnhealthyMeCollectors = int32(i64) } - case "unknownMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5432,7 +5342,6 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.UnknownMeCollectors = int32(i64) } - default: _, _ = key, value @@ -5472,7 +5381,6 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.ConfigurationId = ptr.String(jtv) } - case "warningCode": if value != nil { jtv, ok := value.(json.Number) @@ -5485,7 +5393,6 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.WarningCode = int32(i64) } - case "warningText": if value != nil { jtv, ok := value.(string) @@ -5494,7 +5401,6 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.WarningText = ptr.String(jtv) } - default: _, _ = key, value @@ -5636,7 +5542,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ConfigurationsDownloadUrl = ptr.String(jtv) } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -5645,7 +5550,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ExportId = ptr.String(jtv) } - case "exportRequestTime": if value != nil { switch jtv := value.(type) { @@ -5661,7 +5565,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -5670,7 +5573,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ExportStatus = types.ExportStatus(jtv) } - case "isTruncated": if value != nil { jtv, ok := value.(bool) @@ -5679,7 +5581,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.IsTruncated = jtv } - case "requestedEndTime": if value != nil { switch jtv := value.(type) { @@ -5695,7 +5596,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } - case "requestedStartTime": if value != nil { switch jtv := value.(type) { @@ -5711,7 +5611,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5720,7 +5619,6 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5794,7 +5692,6 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ConfigurationId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5803,7 +5700,6 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ErrorMessage = ptr.String(jtv) } - case "errorStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -5816,7 +5712,6 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ErrorStatusCode = int32(i64) } - default: _, _ = key, value @@ -5880,15 +5775,9 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5896,15 +5785,11 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5943,7 +5828,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ApplicationImportFailure = int32(i64) } - case "applicationImportSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -5956,7 +5840,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ApplicationImportSuccess = int32(i64) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5965,7 +5848,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ClientRequestToken = ptr.String(jtv) } - case "errorsAndFailedEntriesZip": if value != nil { jtv, ok := value.(string) @@ -5974,7 +5856,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ErrorsAndFailedEntriesZip = ptr.String(jtv) } - case "importCompletionTime": if value != nil { switch jtv := value.(type) { @@ -5990,7 +5871,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } - case "importDeletedTime": if value != nil { switch jtv := value.(type) { @@ -6006,7 +5886,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } - case "importRequestTime": if value != nil { switch jtv := value.(type) { @@ -6022,7 +5901,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } - case "importTaskId": if value != nil { jtv, ok := value.(string) @@ -6031,7 +5909,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportTaskId = ptr.String(jtv) } - case "importUrl": if value != nil { jtv, ok := value.(string) @@ -6040,7 +5917,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportUrl = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6049,7 +5925,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Name = ptr.String(jtv) } - case "serverImportFailure": if value != nil { jtv, ok := value.(json.Number) @@ -6062,7 +5937,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ServerImportFailure = int32(i64) } - case "serverImportSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -6075,7 +5949,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ServerImportSuccess = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6084,7 +5957,6 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Status = types.ImportStatus(jtv) } - default: _, _ = key, value @@ -6148,15 +6020,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6164,15 +6030,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6197,15 +6059,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6213,15 +6069,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6246,15 +6098,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6262,15 +6108,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6309,7 +6151,6 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.ConnectionsCount = i64 } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -6322,7 +6163,6 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "destinationServerId": if value != nil { jtv, ok := value.(string) @@ -6331,7 +6171,6 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.DestinationServerId = ptr.String(jtv) } - case "sourceServerId": if value != nil { jtv, ok := value.(string) @@ -6340,7 +6179,6 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.SourceServerId = ptr.String(jtv) } - case "transportProtocol": if value != nil { jtv, ok := value.(string) @@ -6349,7 +6187,6 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.TransportProtocol = ptr.String(jtv) } - default: _, _ = key, value @@ -6413,15 +6250,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6429,15 +6260,11 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6462,15 +6289,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6478,15 +6299,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6511,15 +6328,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6527,15 +6338,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6596,15 +6403,9 @@ func awsAwsjson11_deserializeDocumentServerInternalErrorException(v **types.Serv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6612,15 +6413,11 @@ func awsAwsjson11_deserializeDocumentServerInternalErrorException(v **types.Serv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6682,7 +6479,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteAgentsOutput(v **BatchDeleteAg if err := awsAwsjson11_deserializeDocumentBatchDeleteAgentErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -6718,7 +6514,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImportDataOutput(v **BatchDele if err := awsAwsjson11_deserializeDocumentBatchDeleteImportDataErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -6758,7 +6553,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6887,7 +6681,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentsOutput(v **DescribeAgentsOu if err := awsAwsjson11_deserializeDocumentAgentsInfo(&sv.AgentsInfo, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6896,7 +6689,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentsOutput(v **DescribeAgentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6932,7 +6724,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchDeleteConfigurationTaskOutpu if err := awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(&sv.Task, value); err != nil { return err } - default: _, _ = key, value @@ -6968,7 +6759,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDescribeConfigurationsAttributes(&sv.Configurations, value); err != nil { return err } - default: _, _ = key, value @@ -7004,7 +6794,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContinuousExportsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentContinuousExportDescriptions(&sv.Descriptions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7013,7 +6802,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContinuousExportsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7049,7 +6837,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportConfigurationsOutput(v **De if err := awsAwsjson11_deserializeDocumentExportsInfo(&sv.ExportsInfo, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7058,7 +6845,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportConfigurationsOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7094,7 +6880,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp if err := awsAwsjson11_deserializeDocumentExportsInfo(&sv.ExportsInfo, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7103,7 +6888,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7143,12 +6927,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeImportTasksOutput(v **DescribeImp } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsAwsjson11_deserializeDocumentImportTaskList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -7188,12 +6970,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentConfigurationTagSet(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7264,7 +7044,6 @@ func awsAwsjson11_deserializeOpDocumentExportConfigurationsOutput(v **ExportConf } sv.ExportId = ptr.String(jtv) } - default: _, _ = key, value @@ -7300,12 +7079,10 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover if err := awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(&sv.AgentlessCollectorSummary, value); err != nil { return err } - case "agentSummary": if err := awsAwsjson11_deserializeDocumentCustomerAgentInfo(&sv.AgentSummary, value); err != nil { return err } - case "applications": if value != nil { jtv, ok := value.(json.Number) @@ -7318,17 +7095,14 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.Applications = i64 } - case "connectorSummary": if err := awsAwsjson11_deserializeDocumentCustomerConnectorInfo(&sv.ConnectorSummary, value); err != nil { return err } - case "meCollectorSummary": if err := awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(&sv.MeCollectorSummary, value); err != nil { return err } - case "servers": if value != nil { jtv, ok := value.(json.Number) @@ -7341,7 +7115,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.Servers = i64 } - case "serversMappedToApplications": if value != nil { jtv, ok := value.(json.Number) @@ -7354,7 +7127,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.ServersMappedToApplications = i64 } - case "serversMappedtoTags": if value != nil { jtv, ok := value.(json.Number) @@ -7367,7 +7139,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.ServersMappedtoTags = i64 } - default: _, _ = key, value @@ -7403,7 +7174,6 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsAwsjson11_deserializeDocumentConfigurations(&sv.Configurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7412,7 +7182,6 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7456,12 +7225,10 @@ func awsAwsjson11_deserializeOpDocumentListServerNeighborsOutput(v **ListServerN } sv.KnownDependencyCount = i64 } - case "neighbors": if err := awsAwsjson11_deserializeDocumentNeighborDetailsList(&sv.Neighbors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7470,7 +7237,6 @@ func awsAwsjson11_deserializeOpDocumentListServerNeighborsOutput(v **ListServerN } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7510,7 +7276,6 @@ func awsAwsjson11_deserializeOpDocumentStartBatchDeleteConfigurationTaskOutput(v } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -7550,7 +7315,6 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.DataSource = types.DataSource(jtv) } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -7559,7 +7323,6 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.ExportId = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -7568,12 +7331,10 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.S3Bucket = ptr.String(jtv) } - case "schemaStorageConfig": if err := awsAwsjson11_deserializeDocumentSchemaStorageConfig(&sv.SchemaStorageConfig, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -7589,7 +7350,6 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } } - default: _, _ = key, value @@ -7625,7 +7385,6 @@ func awsAwsjson11_deserializeOpDocumentStartDataCollectionByAgentIdsOutput(v **S if err := awsAwsjson11_deserializeDocumentAgentConfigurationStatusList(&sv.AgentsConfigurationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -7665,7 +7424,6 @@ func awsAwsjson11_deserializeOpDocumentStartExportTaskOutput(v **StartExportTask } sv.ExportId = ptr.String(jtv) } - default: _, _ = key, value @@ -7701,7 +7459,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask if err := awsAwsjson11_deserializeDocumentImportTask(&sv.Task, value); err != nil { return err } - default: _, _ = key, value @@ -7748,7 +7505,6 @@ func awsAwsjson11_deserializeOpDocumentStopContinuousExportOutput(v **StopContin } } - case "stopTime": if value != nil { switch jtv := value.(type) { @@ -7764,7 +7520,6 @@ func awsAwsjson11_deserializeOpDocumentStopContinuousExportOutput(v **StopContin } } - default: _, _ = key, value @@ -7800,7 +7555,6 @@ func awsAwsjson11_deserializeOpDocumentStopDataCollectionByAgentIdsOutput(v **St if err := awsAwsjson11_deserializeDocumentAgentConfigurationStatusList(&sv.AgentsConfigurationStatus, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/applicationinsights/deserializers.go b/service/applicationinsights/deserializers.go index 61e68bec5f4..90c0f6c28b7 100644 --- a/service/applicationinsights/deserializers.go +++ b/service/applicationinsights/deserializers.go @@ -4215,15 +4215,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4231,15 +4225,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4274,7 +4264,6 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ComponentName = ptr.String(jtv) } - case "ComponentRemarks": if value != nil { jtv, ok := value.(string) @@ -4283,12 +4272,10 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ComponentRemarks = ptr.String(jtv) } - case "DetectedWorkload": if err := awsAwsjson11_deserializeDocumentDetectedWorkload(&sv.DetectedWorkload, value); err != nil { return err } - case "Monitor": if value != nil { jtv, ok := value.(bool) @@ -4297,7 +4284,6 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.Monitor = ptr.Bool(jtv) } - case "OsType": if value != nil { jtv, ok := value.(string) @@ -4306,7 +4292,6 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.OsType = types.OsType(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4315,7 +4300,6 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ResourceType = ptr.String(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -4324,7 +4308,6 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.Tier = types.Tier(jtv) } - default: _, _ = key, value @@ -4398,7 +4381,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AccountId = ptr.String(jtv) } - case "AttachMissingPermission": if value != nil { jtv, ok := value.(bool) @@ -4407,7 +4389,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AttachMissingPermission = ptr.Bool(jtv) } - case "AutoConfigEnabled": if value != nil { jtv, ok := value.(bool) @@ -4416,7 +4397,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AutoConfigEnabled = ptr.Bool(jtv) } - case "CWEMonitorEnabled": if value != nil { jtv, ok := value.(bool) @@ -4425,7 +4405,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.CWEMonitorEnabled = ptr.Bool(jtv) } - case "DiscoveryType": if value != nil { jtv, ok := value.(string) @@ -4434,7 +4413,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.DiscoveryType = types.DiscoveryType(jtv) } - case "LifeCycle": if value != nil { jtv, ok := value.(string) @@ -4443,7 +4421,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.LifeCycle = ptr.String(jtv) } - case "OpsCenterEnabled": if value != nil { jtv, ok := value.(bool) @@ -4452,7 +4429,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.OpsCenterEnabled = ptr.Bool(jtv) } - case "OpsItemSNSTopicArn": if value != nil { jtv, ok := value.(string) @@ -4461,7 +4437,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.OpsItemSNSTopicArn = ptr.String(jtv) } - case "Remarks": if value != nil { jtv, ok := value.(string) @@ -4470,7 +4445,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.Remarks = ptr.String(jtv) } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -4479,7 +4453,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ResourceGroupName = ptr.String(jtv) } - case "SNSNotificationArn": if value != nil { jtv, ok := value.(string) @@ -4488,7 +4461,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.SNSNotificationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4552,15 +4524,9 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4568,15 +4534,11 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4611,7 +4573,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.AccountId = ptr.String(jtv) } - case "EventDetail": if value != nil { jtv, ok := value.(string) @@ -4620,7 +4581,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventDetail = ptr.String(jtv) } - case "EventResourceName": if value != nil { jtv, ok := value.(string) @@ -4629,7 +4589,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventResourceName = ptr.String(jtv) } - case "EventResourceType": if value != nil { jtv, ok := value.(string) @@ -4638,7 +4597,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventResourceType = types.ConfigurationEventResourceType(jtv) } - case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -4647,7 +4605,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventStatus = types.ConfigurationEventStatus(jtv) } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -4663,7 +4620,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } } - case "MonitoredResourceARN": if value != nil { jtv, ok := value.(string) @@ -4672,7 +4628,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.MonitoredResourceARN = ptr.String(jtv) } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -4681,7 +4636,6 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -4815,15 +4769,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4831,15 +4779,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4874,7 +4818,6 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.Pattern = ptr.String(jtv) } - case "PatternName": if value != nil { jtv, ok := value.(string) @@ -4883,7 +4826,6 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.PatternName = ptr.String(jtv) } - case "PatternSetName": if value != nil { jtv, ok := value.(string) @@ -4892,7 +4834,6 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.PatternSetName = ptr.String(jtv) } - case "Rank": if value != nil { jtv, ok := value.(json.Number) @@ -4905,7 +4846,6 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.Rank = int32(i64) } - default: _, _ = key, value @@ -5015,7 +4955,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventDetailType = ptr.String(jtv) } - case "CloudWatchEventId": if value != nil { jtv, ok := value.(string) @@ -5024,7 +4963,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventId = ptr.String(jtv) } - case "CloudWatchEventSource": if value != nil { jtv, ok := value.(string) @@ -5033,7 +4971,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventSource = types.CloudWatchEventSource(jtv) } - case "CodeDeployApplication": if value != nil { jtv, ok := value.(string) @@ -5042,7 +4979,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployApplication = ptr.String(jtv) } - case "CodeDeployDeploymentGroup": if value != nil { jtv, ok := value.(string) @@ -5051,7 +4987,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployDeploymentGroup = ptr.String(jtv) } - case "CodeDeployDeploymentId": if value != nil { jtv, ok := value.(string) @@ -5060,7 +4995,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployDeploymentId = ptr.String(jtv) } - case "CodeDeployInstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -5069,7 +5003,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployInstanceGroupId = ptr.String(jtv) } - case "CodeDeployState": if value != nil { jtv, ok := value.(string) @@ -5078,7 +5011,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployState = ptr.String(jtv) } - case "EbsCause": if value != nil { jtv, ok := value.(string) @@ -5087,7 +5019,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsCause = ptr.String(jtv) } - case "EbsEvent": if value != nil { jtv, ok := value.(string) @@ -5096,7 +5027,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsEvent = ptr.String(jtv) } - case "EbsRequestId": if value != nil { jtv, ok := value.(string) @@ -5105,7 +5035,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsRequestId = ptr.String(jtv) } - case "EbsResult": if value != nil { jtv, ok := value.(string) @@ -5114,7 +5043,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsResult = ptr.String(jtv) } - case "Ec2State": if value != nil { jtv, ok := value.(string) @@ -5123,7 +5051,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Ec2State = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5139,7 +5066,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } - case "HealthEventArn": if value != nil { jtv, ok := value.(string) @@ -5148,7 +5074,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventArn = ptr.String(jtv) } - case "HealthEventDescription": if value != nil { jtv, ok := value.(string) @@ -5157,7 +5082,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventDescription = ptr.String(jtv) } - case "HealthEventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -5166,7 +5090,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventTypeCategory = ptr.String(jtv) } - case "HealthEventTypeCode": if value != nil { jtv, ok := value.(string) @@ -5175,7 +5098,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventTypeCode = ptr.String(jtv) } - case "HealthService": if value != nil { jtv, ok := value.(string) @@ -5184,7 +5106,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthService = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5193,7 +5114,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Id = ptr.String(jtv) } - case "LineTime": if value != nil { switch jtv := value.(type) { @@ -5209,7 +5129,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } - case "LogFilter": if value != nil { jtv, ok := value.(string) @@ -5218,7 +5137,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogFilter = types.LogFilter(jtv) } - case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -5227,7 +5145,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogGroup = ptr.String(jtv) } - case "LogText": if value != nil { jtv, ok := value.(string) @@ -5236,7 +5153,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogText = ptr.String(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -5245,7 +5161,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.MetricName = ptr.String(jtv) } - case "MetricNamespace": if value != nil { jtv, ok := value.(string) @@ -5254,7 +5169,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.MetricNamespace = ptr.String(jtv) } - case "RdsEventCategories": if value != nil { jtv, ok := value.(string) @@ -5263,7 +5177,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.RdsEventCategories = ptr.String(jtv) } - case "RdsEventMessage": if value != nil { jtv, ok := value.(string) @@ -5272,7 +5185,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.RdsEventMessage = ptr.String(jtv) } - case "S3EventName": if value != nil { jtv, ok := value.(string) @@ -5281,7 +5193,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.S3EventName = ptr.String(jtv) } - case "SourceARN": if value != nil { jtv, ok := value.(string) @@ -5290,7 +5201,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.SourceARN = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -5299,7 +5209,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.SourceType = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5315,7 +5224,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } - case "StatesArn": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5232,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesArn = ptr.String(jtv) } - case "StatesExecutionArn": if value != nil { jtv, ok := value.(string) @@ -5333,7 +5240,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesExecutionArn = ptr.String(jtv) } - case "StatesInput": if value != nil { jtv, ok := value.(string) @@ -5342,7 +5248,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesInput = ptr.String(jtv) } - case "StatesStatus": if value != nil { jtv, ok := value.(string) @@ -5351,7 +5256,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesStatus = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -5360,7 +5264,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Unit = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -5394,7 +5297,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } - case "XRayErrorPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5407,7 +5309,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayErrorPercent = ptr.Int32(int32(i64)) } - case "XRayFaultPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5420,7 +5321,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayFaultPercent = ptr.Int32(int32(i64)) } - case "XRayNodeName": if value != nil { jtv, ok := value.(string) @@ -5429,7 +5329,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayNodeName = ptr.String(jtv) } - case "XRayNodeType": if value != nil { jtv, ok := value.(string) @@ -5438,7 +5337,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayNodeType = ptr.String(jtv) } - case "XRayRequestAverageLatency": if value != nil { jtv, ok := value.(json.Number) @@ -5451,7 +5349,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayRequestAverageLatency = ptr.Int64(i64) } - case "XRayRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -5464,7 +5361,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayRequestCount = ptr.Int32(int32(i64)) } - case "XRayThrottlePercent": if value != nil { jtv, ok := value.(json.Number) @@ -5477,7 +5373,6 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayThrottlePercent = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5551,7 +5446,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.AccountId = ptr.String(jtv) } - case "AffectedResource": if value != nil { jtv, ok := value.(string) @@ -5560,7 +5454,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.AffectedResource = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5576,12 +5469,10 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } - case "Feedback": if err := awsAwsjson11_deserializeDocumentFeedback(&sv.Feedback, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5590,7 +5481,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Id = ptr.String(jtv) } - case "Insights": if value != nil { jtv, ok := value.(string) @@ -5599,7 +5489,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Insights = ptr.String(jtv) } - case "LastRecurrenceTime": if value != nil { switch jtv := value.(type) { @@ -5615,7 +5504,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } - case "RecurringCount": if value != nil { jtv, ok := value.(json.Number) @@ -5628,7 +5516,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.RecurringCount = ptr.Int64(i64) } - case "ResolutionMethod": if value != nil { jtv, ok := value.(string) @@ -5637,7 +5524,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ResolutionMethod = types.ResolutionMethod(jtv) } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -5646,7 +5532,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ResourceGroupName = ptr.String(jtv) } - case "SeverityLevel": if value != nil { jtv, ok := value.(string) @@ -5655,7 +5540,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.SeverityLevel = types.SeverityLevel(jtv) } - case "ShortName": if value != nil { jtv, ok := value.(string) @@ -5664,7 +5548,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ShortName = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5680,7 +5563,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5689,7 +5571,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Status = types.Status(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -5698,7 +5579,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Title = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -5707,7 +5587,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -5777,7 +5656,6 @@ func awsAwsjson11_deserializeDocumentRelatedObservations(v **types.RelatedObserv if err := awsAwsjson11_deserializeDocumentObservationList(&sv.ObservationList, value); err != nil { return err } - default: _, _ = key, value @@ -5807,15 +5685,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5823,15 +5695,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5892,15 +5760,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5908,15 +5770,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5951,7 +5809,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5960,7 +5817,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6024,15 +5880,9 @@ func awsAwsjson11_deserializeDocumentTagsAlreadyExistException(v **types.TagsAlr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6040,15 +5890,11 @@ func awsAwsjson11_deserializeDocumentTagsAlreadyExistException(v **types.TagsAlr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6073,15 +5919,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6089,7 +5929,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -6098,15 +5937,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6131,15 +5966,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6147,15 +5976,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6190,7 +6015,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ComponentName = ptr.String(jtv) } - case "MissingWorkloadConfig": if value != nil { jtv, ok := value.(bool) @@ -6199,7 +6023,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.MissingWorkloadConfig = ptr.Bool(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -6208,7 +6031,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Tier = types.Tier(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6217,7 +6039,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -6226,7 +6047,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadName = ptr.String(jtv) } - case "WorkloadRemarks": if value != nil { jtv, ok := value.(string) @@ -6235,7 +6055,6 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadRemarks = ptr.String(jtv) } - default: _, _ = key, value @@ -6275,7 +6094,6 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.Configuration = ptr.String(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -6284,7 +6102,6 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.Tier = types.Tier(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -6293,7 +6110,6 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -6399,7 +6215,6 @@ func awsAwsjson11_deserializeOpDocumentAddWorkloadOutput(v **AddWorkloadOutput, if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6408,7 +6223,6 @@ func awsAwsjson11_deserializeOpDocumentAddWorkloadOutput(v **AddWorkloadOutput, } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -6444,7 +6258,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6511,7 +6324,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLogPatternOutput(v **CreateLogPatte if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6332,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLogPatternOutput(v **CreateLogPatte } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -6649,7 +6460,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6689,7 +6499,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.ComponentConfiguration = ptr.String(jtv) } - case "Monitor": if value != nil { jtv, ok := value.(bool) @@ -6698,7 +6507,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.Monitor = ptr.Bool(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -6707,7 +6515,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.Tier = types.Tier(jtv) } - default: _, _ = key, value @@ -6747,7 +6554,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationRecommendat } sv.ComponentConfiguration = ptr.String(jtv) } - default: _, _ = key, value @@ -6783,12 +6589,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo if err := awsAwsjson11_deserializeDocumentApplicationComponent(&sv.ApplicationComponent, value); err != nil { return err } - case "ResourceList": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.ResourceList, value); err != nil { return err } - default: _, _ = key, value @@ -6828,12 +6632,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogPatternOutput(v **DescribeLogP } sv.AccountId = ptr.String(jtv) } - case "LogPattern": if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -6842,7 +6644,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogPatternOutput(v **DescribeLogP } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -6878,7 +6679,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeObservationOutput(v **DescribeObs if err := awsAwsjson11_deserializeDocumentObservation(&sv.Observation, value); err != nil { return err } - default: _, _ = key, value @@ -6914,7 +6714,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemObservationsOutput(v **Des if err := awsAwsjson11_deserializeDocumentRelatedObservations(&sv.RelatedObservations, value); err != nil { return err } - default: _, _ = key, value @@ -6950,7 +6749,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemOutput(v **DescribeProblem if err := awsAwsjson11_deserializeDocumentProblem(&sv.Problem, value); err != nil { return err } - case "SNSNotificationArn": if value != nil { jtv, ok := value.(string) @@ -6959,7 +6757,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemOutput(v **DescribeProblem } sv.SNSNotificationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6995,7 +6792,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -7004,7 +6800,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadRemarks": if value != nil { jtv, ok := value.(string) @@ -7013,7 +6808,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo } sv.WorkloadRemarks = ptr.String(jtv) } - default: _, _ = key, value @@ -7049,7 +6843,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationInfoList(&sv.ApplicationInfoList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7058,7 +6851,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7094,7 +6886,6 @@ func awsAwsjson11_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsAwsjson11_deserializeDocumentApplicationComponentList(&sv.ApplicationComponentList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7103,7 +6894,6 @@ func awsAwsjson11_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7139,7 +6929,6 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationHistoryOutput(v **ListCo if err := awsAwsjson11_deserializeDocumentConfigurationEventList(&sv.EventList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7148,7 +6937,6 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationHistoryOutput(v **ListCo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7188,12 +6976,10 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.AccountId = ptr.String(jtv) } - case "LogPatternSets": if err := awsAwsjson11_deserializeDocumentLogPatternSetList(&sv.LogPatternSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7202,7 +6988,6 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.NextToken = ptr.String(jtv) } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7211,7 +6996,6 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7251,12 +7035,10 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.AccountId = ptr.String(jtv) } - case "LogPatterns": if err := awsAwsjson11_deserializeDocumentLogPatternList(&sv.LogPatterns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7265,7 +7047,6 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.NextToken = ptr.String(jtv) } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7274,7 +7055,6 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7314,7 +7094,6 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.AccountId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7323,12 +7102,10 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.NextToken = ptr.String(jtv) } - case "ProblemList": if err := awsAwsjson11_deserializeDocumentProblemList(&sv.ProblemList, value); err != nil { return err } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7337,7 +7114,6 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7373,7 +7149,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7413,12 +7188,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } - case "WorkloadList": if err := awsAwsjson11_deserializeDocumentWorkloadList(&sv.WorkloadList, value); err != nil { return err } - default: _, _ = key, value @@ -7547,7 +7320,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7645,7 +7417,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLogPatternOutput(v **UpdateLogPatte if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } - case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7654,7 +7425,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLogPatternOutput(v **UpdateLogPatte } sv.ResourceGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7721,7 +7491,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -7730,7 +7499,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/applicationsignals/deserializers.go b/service/applicationsignals/deserializers.go index f7af3efa337..5ac2d275f93 100644 --- a/service/applicationsignals/deserializers.go +++ b/service/applicationsignals/deserializers.go @@ -175,12 +175,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetServiceLevelObjectiveBudgetReport if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportErrors(&sv.Errors, value); err != nil { return err } - case "Reports": if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReports(&sv.Reports, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -196,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetServiceLevelObjectiveBudgetReport } } - default: _, _ = key, value @@ -360,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceLevelObjectiveOutput(v **Cre if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } - default: _, _ = key, value @@ -620,17 +616,14 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } - case "LogGroupReferences": if err := awsRestjson1_deserializeDocumentLogGroupReferences(&sv.LogGroupReferences, value); err != nil { return err } - case "Service": if err := awsRestjson1_deserializeDocumentService(&sv.Service, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -646,7 +639,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } - default: _, _ = key, value @@ -804,7 +796,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceLevelObjectiveOutput(v **GetSer if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } - default: _, _ = key, value @@ -970,7 +961,6 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -979,12 +969,10 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } sv.NextToken = ptr.String(jtv) } - case "ServiceDependencies": if err := awsRestjson1_deserializeDocumentServiceDependencies(&sv.ServiceDependencies, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1000,7 +988,6 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } } - default: _, _ = key, value @@ -1166,7 +1153,6 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1175,12 +1161,10 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } sv.NextToken = ptr.String(jtv) } - case "ServiceDependents": if err := awsRestjson1_deserializeDocumentServiceDependents(&sv.ServiceDependents, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1196,7 +1180,6 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } } - default: _, _ = key, value @@ -1355,12 +1338,10 @@ func awsRestjson1_deserializeOpDocumentListServiceLevelObjectivesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "SloSummaries": if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveSummaries(&sv.SloSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1526,7 +1507,6 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1535,12 +1515,10 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } sv.NextToken = ptr.String(jtv) } - case "ServiceOperations": if err := awsRestjson1_deserializeDocumentServiceOperations(&sv.ServiceOperations, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1556,7 +1534,6 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } } - default: _, _ = key, value @@ -1722,7 +1699,6 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1731,12 +1707,10 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "ServiceSummaries": if err := awsRestjson1_deserializeDocumentServiceSummaries(&sv.ServiceSummaries, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1752,7 +1726,6 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } } - default: _, _ = key, value @@ -1907,7 +1880,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2344,7 +2316,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceLevelObjectiveOutput(v **Upd if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } - default: _, _ = key, value @@ -2590,15 +2561,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2606,15 +2571,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2757,7 +2718,6 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } sv.Duration = ptr.Int32(int32(i64)) } - case "DurationUnit": if value != nil { jtv, ok := value.(string) @@ -2766,7 +2726,6 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } sv.DurationUnit = types.DurationUnit(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2782,7 +2741,6 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } } - default: _, _ = key, value @@ -2812,15 +2770,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2828,15 +2780,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2871,7 +2819,6 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2880,7 +2827,6 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2979,12 +2925,10 @@ func awsRestjson1_deserializeDocumentGoal(v **types.Goal, value interface{}) err } } - case "Interval": if err := awsRestjson1_deserializeDocumentInterval(&sv.Interval, value); err != nil { return err } - case "WarningThreshold": if value != nil { switch jtv := value.(type) { @@ -3018,7 +2962,6 @@ func awsRestjson1_deserializeDocumentGoal(v **types.Goal, value interface{}) err } } - default: _, _ = key, value @@ -3136,7 +3079,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3145,7 +3087,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3095,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -3228,7 +3168,6 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.AccountId = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -3237,7 +3176,6 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Expression = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3246,7 +3184,6 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3255,12 +3192,10 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Label = ptr.String(jtv) } - case "MetricStat": if err := awsRestjson1_deserializeDocumentMetricStat(&sv.MetricStat, value); err != nil { return err } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -3273,7 +3208,6 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Period = ptr.Int32(int32(i64)) } - case "ReturnData": if value != nil { jtv, ok := value.(bool) @@ -3282,7 +3216,6 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.ReturnData = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3318,7 +3251,6 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3327,7 +3259,6 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.MetricName = ptr.String(jtv) } - case "MetricType": if value != nil { jtv, ok := value.(string) @@ -3336,7 +3267,6 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.MetricType = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3345,7 +3275,6 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -3415,7 +3344,6 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -3428,7 +3356,6 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Period = ptr.Int32(int32(i64)) } - case "Stat": if value != nil { jtv, ok := value.(string) @@ -3437,7 +3364,6 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Stat = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -3446,7 +3372,6 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Unit = types.StandardUnit(jtv) } - default: _, _ = key, value @@ -3532,7 +3457,6 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(v **types } sv.ComparisonOperator = types.ServiceLevelIndicatorComparisonOperator(jtv) } - case "MetricThreshold": if value != nil { switch jtv := value.(type) { @@ -3566,12 +3490,10 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(v **types } } - case "RequestBasedSliMetric": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(&sv.RequestBasedSliMetric, value); err != nil { return err } - default: _, _ = key, value @@ -3607,7 +3529,6 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "MetricType": if value != nil { jtv, ok := value.(string) @@ -3616,12 +3537,10 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * } sv.MetricType = types.ServiceLevelIndicatorMetricType(jtv) } - case "MonitoredRequestCountMetric": if err := awsRestjson1_deserializeDocumentMonitoredRequestCountMetricDataQueries(&sv.MonitoredRequestCountMetric, value); err != nil { return err } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3630,12 +3549,10 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * } sv.OperationName = ptr.String(jtv) } - case "TotalRequestCountMetric": if err := awsRestjson1_deserializeDocumentMetricDataQueries(&sv.TotalRequestCountMetric, value); err != nil { return err } - default: _, _ = key, value @@ -3665,15 +3582,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3681,7 +3592,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3690,7 +3600,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3699,15 +3608,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3746,7 +3651,6 @@ func awsRestjson1_deserializeDocumentRollingInterval(v **types.RollingInterval, } sv.Duration = ptr.Int32(int32(i64)) } - case "DurationUnit": if value != nil { jtv, ok := value.(string) @@ -3755,7 +3659,6 @@ func awsRestjson1_deserializeDocumentRollingInterval(v **types.RollingInterval, } sv.DurationUnit = types.DurationUnit(jtv) } - default: _, _ = key, value @@ -3791,22 +3694,18 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if err := awsRestjson1_deserializeDocumentAttributeMaps(&sv.AttributeMaps, value); err != nil { return err } - case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "LogGroupReferences": if err := awsRestjson1_deserializeDocumentLogGroupReferences(&sv.LogGroupReferences, value); err != nil { return err } - case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } - default: _, _ = key, value @@ -3876,7 +3775,6 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen if err := awsRestjson1_deserializeDocumentAttributes(&sv.DependencyKeyAttributes, value); err != nil { return err } - case "DependencyOperationName": if value != nil { jtv, ok := value.(string) @@ -3885,12 +3783,10 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen } sv.DependencyOperationName = ptr.String(jtv) } - case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3899,7 +3795,6 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen } sv.OperationName = ptr.String(jtv) } - default: _, _ = key, value @@ -3935,7 +3830,6 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent if err := awsRestjson1_deserializeDocumentAttributes(&sv.DependentKeyAttributes, value); err != nil { return err } - case "DependentOperationName": if value != nil { jtv, ok := value.(string) @@ -3944,12 +3838,10 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent } sv.DependentOperationName = ptr.String(jtv) } - case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3958,7 +3850,6 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent } sv.OperationName = ptr.String(jtv) } - default: _, _ = key, value @@ -4032,7 +3923,6 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicator(v **types.ServiceLeve } sv.ComparisonOperator = types.ServiceLevelIndicatorComparisonOperator(jtv) } - case "MetricThreshold": if value != nil { switch jtv := value.(type) { @@ -4066,12 +3956,10 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicator(v **types.ServiceLeve } } - case "SliMetric": if err := awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(&sv.SliMetric, value); err != nil { return err } - default: _, _ = key, value @@ -4107,12 +3995,10 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "MetricDataQueries": if err := awsRestjson1_deserializeDocumentMetricDataQueries(&sv.MetricDataQueries, value); err != nil { return err } - case "MetricType": if value != nil { jtv, ok := value.(string) @@ -4121,7 +4007,6 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi } sv.MetricType = types.ServiceLevelIndicatorMetricType(jtv) } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -4130,7 +4015,6 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi } sv.OperationName = ptr.String(jtv) } - default: _, _ = key, value @@ -4170,7 +4054,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4186,7 +4069,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4195,7 +4077,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Description = ptr.String(jtv) } - case "EvaluationType": if value != nil { jtv, ok := value.(string) @@ -4204,12 +4085,10 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.EvaluationType = types.EvaluationType(jtv) } - case "Goal": if err := awsRestjson1_deserializeDocumentGoal(&sv.Goal, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4225,7 +4104,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4234,17 +4112,14 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Name = ptr.String(jtv) } - case "RequestBasedSli": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(&sv.RequestBasedSli, value); err != nil { return err } - case "Sli": if err := awsRestjson1_deserializeDocumentServiceLevelIndicator(&sv.Sli, value); err != nil { return err } - default: _, _ = key, value @@ -4284,7 +4159,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.Arn = ptr.String(jtv) } - case "Attainment": if value != nil { switch jtv := value.(type) { @@ -4318,7 +4192,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } } - case "BudgetRequestsRemaining": if value != nil { jtv, ok := value.(json.Number) @@ -4331,7 +4204,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetRequestsRemaining = ptr.Int32(int32(i64)) } - case "BudgetSecondsRemaining": if value != nil { jtv, ok := value.(json.Number) @@ -4344,7 +4216,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetSecondsRemaining = ptr.Int32(int32(i64)) } - case "BudgetStatus": if value != nil { jtv, ok := value.(string) @@ -4353,7 +4224,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetStatus = types.ServiceLevelObjectiveBudgetStatus(jtv) } - case "EvaluationType": if value != nil { jtv, ok := value.(string) @@ -4362,12 +4232,10 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.EvaluationType = types.EvaluationType(jtv) } - case "Goal": if err := awsRestjson1_deserializeDocumentGoal(&sv.Goal, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4376,17 +4244,14 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.Name = ptr.String(jtv) } - case "RequestBasedSli": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(&sv.RequestBasedSli, value); err != nil { return err } - case "Sli": if err := awsRestjson1_deserializeDocumentServiceLevelIndicator(&sv.Sli, value); err != nil { return err } - case "TotalBudgetRequests": if value != nil { jtv, ok := value.(json.Number) @@ -4399,7 +4264,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.TotalBudgetRequests = ptr.Int32(int32(i64)) } - case "TotalBudgetSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4412,7 +4276,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.TotalBudgetSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4452,7 +4315,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.Arn = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -4461,7 +4323,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4470,7 +4331,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.ErrorMessage = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4479,7 +4339,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4621,7 +4480,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4637,12 +4495,10 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } } - case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4651,7 +4507,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.Name = ptr.String(jtv) } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -4660,7 +4515,6 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.OperationName = ptr.String(jtv) } - default: _, _ = key, value @@ -4696,7 +4550,6 @@ func awsRestjson1_deserializeDocumentServiceOperation(v **types.ServiceOperation if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4705,7 +4558,6 @@ func awsRestjson1_deserializeDocumentServiceOperation(v **types.ServiceOperation } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4769,15 +4621,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4785,15 +4631,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4858,17 +4700,14 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va if err := awsRestjson1_deserializeDocumentAttributeMaps(&sv.AttributeMaps, value); err != nil { return err } - case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } - default: _, _ = key, value @@ -4908,7 +4747,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4917,7 +4755,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4981,15 +4818,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4997,15 +4828,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5030,15 +4857,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5046,15 +4867,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/appmesh/deserializers.go b/service/appmesh/deserializers.go index 9792bbb2498..a8322587f9f 100644 --- a/service/appmesh/deserializers.go +++ b/service/appmesh/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayRouteOutput(v **CreateGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } - default: _, _ = key, value @@ -365,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentCreateMeshOutput(v **CreateMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } - default: _, _ = key, value @@ -538,7 +536,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } - default: _, _ = key, value @@ -711,7 +708,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualGatewayOutput(v **CreateVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } - default: _, _ = key, value @@ -884,7 +880,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualNodeOutput(v **CreateVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } - default: _, _ = key, value @@ -1057,7 +1052,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualRouterOutput(v **CreateVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } - default: _, _ = key, value @@ -1230,7 +1224,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualServiceOutput(v **CreateVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } - default: _, _ = key, value @@ -1400,7 +1393,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGatewayRouteOutput(v **DeleteGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } - default: _, _ = key, value @@ -1570,7 +1562,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMeshOutput(v **DeleteMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } - default: _, _ = key, value @@ -1740,7 +1731,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } - default: _, _ = key, value @@ -1910,7 +1900,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualGatewayOutput(v **DeleteVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } - default: _, _ = key, value @@ -2080,7 +2069,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualNodeOutput(v **DeleteVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } - default: _, _ = key, value @@ -2250,7 +2238,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualRouterOutput(v **DeleteVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } - default: _, _ = key, value @@ -2420,7 +2407,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualServiceOutput(v **DeleteVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } - default: _, _ = key, value @@ -2587,7 +2573,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayRouteOutput(v **DescribeGa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } - default: _, _ = key, value @@ -2754,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMeshOutput(v **DescribeMeshOutput if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } - default: _, _ = key, value @@ -2921,7 +2905,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteOutput(v **DescribeRouteOutp if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } - default: _, _ = key, value @@ -3088,7 +3071,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualGatewayOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } - default: _, _ = key, value @@ -3255,7 +3237,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualNodeOutput(v **DescribeVir if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } - default: _, _ = key, value @@ -3422,7 +3403,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualRouterOutput(v **DescribeV if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } - default: _, _ = key, value @@ -3589,7 +3569,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualServiceOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } - default: _, _ = key, value @@ -3756,7 +3735,6 @@ func awsRestjson1_deserializeOpDocumentListGatewayRoutesOutput(v **ListGatewayRo if err := awsRestjson1_deserializeDocumentGatewayRouteList(&sv.GatewayRoutes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3765,7 +3743,6 @@ func awsRestjson1_deserializeOpDocumentListGatewayRoutesOutput(v **ListGatewayRo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3932,7 +3909,6 @@ func awsRestjson1_deserializeOpDocumentListMeshesOutput(v **ListMeshesOutput, va if err := awsRestjson1_deserializeDocumentMeshList(&sv.Meshes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3941,7 +3917,6 @@ func awsRestjson1_deserializeOpDocumentListMeshesOutput(v **ListMeshesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4112,12 +4087,10 @@ func awsRestjson1_deserializeOpDocumentListRoutesOutput(v **ListRoutesOutput, va } sv.NextToken = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocumentRouteList(&sv.Routes, value); err != nil { return err } - default: _, _ = key, value @@ -4288,12 +4261,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4464,12 +4435,10 @@ func awsRestjson1_deserializeOpDocumentListVirtualGatewaysOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } - case "virtualGateways": if err := awsRestjson1_deserializeDocumentVirtualGatewayList(&sv.VirtualGateways, value); err != nil { return err } - default: _, _ = key, value @@ -4640,12 +4609,10 @@ func awsRestjson1_deserializeOpDocumentListVirtualNodesOutput(v **ListVirtualNod } sv.NextToken = ptr.String(jtv) } - case "virtualNodes": if err := awsRestjson1_deserializeDocumentVirtualNodeList(&sv.VirtualNodes, value); err != nil { return err } - default: _, _ = key, value @@ -4816,12 +4783,10 @@ func awsRestjson1_deserializeOpDocumentListVirtualRoutersOutput(v **ListVirtualR } sv.NextToken = ptr.String(jtv) } - case "virtualRouters": if err := awsRestjson1_deserializeDocumentVirtualRouterList(&sv.VirtualRouters, value); err != nil { return err } - default: _, _ = key, value @@ -4992,12 +4957,10 @@ func awsRestjson1_deserializeOpDocumentListVirtualServicesOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } - case "virtualServices": if err := awsRestjson1_deserializeDocumentVirtualServiceList(&sv.VirtualServices, value); err != nil { return err } - default: _, _ = key, value @@ -5379,7 +5342,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayRouteOutput(v **UpdateGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } - default: _, _ = key, value @@ -5549,7 +5511,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMeshOutput(v **UpdateMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } - default: _, _ = key, value @@ -5722,7 +5683,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } - default: _, _ = key, value @@ -5895,7 +5855,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualGatewayOutput(v **UpdateVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } - default: _, _ = key, value @@ -6068,7 +6027,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualNodeOutput(v **UpdateVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } - default: _, _ = key, value @@ -6241,7 +6199,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualRouterOutput(v **UpdateVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } - default: _, _ = key, value @@ -6414,7 +6371,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualServiceOutput(v **UpdateVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } - default: _, _ = key, value @@ -6854,7 +6810,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttribute(v **types.AwsC } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6863,7 +6818,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttribute(v **types.AwsC } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6933,7 +6887,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl if err := awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttributes(&sv.Attributes, value); err != nil { return err } - case "ipPreference": if value != nil { jtv, ok := value.(string) @@ -6942,7 +6895,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.IpPreference = types.IpPreference(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6951,7 +6903,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.NamespaceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -6960,7 +6911,6 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -7036,7 +6986,6 @@ func awsRestjson1_deserializeDocumentBackendDefaults(v **types.BackendDefaults, if err := awsRestjson1_deserializeDocumentClientPolicy(&sv.ClientPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -7098,15 +7047,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7114,15 +7057,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7189,7 +7128,6 @@ func awsRestjson1_deserializeDocumentClientPolicy(v **types.ClientPolicy, value if err := awsRestjson1_deserializeDocumentClientPolicyTls(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -7225,7 +7163,6 @@ func awsRestjson1_deserializeDocumentClientPolicyTls(v **types.ClientPolicyTls, if err := awsRestjson1_deserializeDocumentClientTlsCertificate(&sv.Certificate, value); err != nil { return err } - case "enforce": if value != nil { jtv, ok := value.(bool) @@ -7234,17 +7171,14 @@ func awsRestjson1_deserializeDocumentClientPolicyTls(v **types.ClientPolicyTls, } sv.Enforce = ptr.Bool(jtv) } - case "ports": if err := awsRestjson1_deserializeDocumentPortSet(&sv.Ports, value); err != nil { return err } - case "validation": if err := awsRestjson1_deserializeDocumentTlsValidationContext(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -7324,15 +7258,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7340,15 +7268,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7383,7 +7307,6 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.Hostname = ptr.String(jtv) } - case "ipPreference": if value != nil { jtv, ok := value.(string) @@ -7392,7 +7315,6 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.IpPreference = types.IpPreference(jtv) } - case "responseType": if value != nil { jtv, ok := value.(string) @@ -7401,7 +7323,6 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.ResponseType = types.DnsResponseType(jtv) } - default: _, _ = key, value @@ -7441,7 +7362,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.DurationUnit(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -7454,7 +7374,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -7494,7 +7413,6 @@ func awsRestjson1_deserializeDocumentEgressFilter(v **types.EgressFilter, value } sv.Type = types.EgressFilterType(jtv) } - default: _, _ = key, value @@ -7530,7 +7448,6 @@ func awsRestjson1_deserializeDocumentFileAccessLog(v **types.FileAccessLog, valu if err := awsRestjson1_deserializeDocumentLoggingFormat(&sv.Format, value); err != nil { return err } - case "path": if value != nil { jtv, ok := value.(string) @@ -7539,7 +7456,6 @@ func awsRestjson1_deserializeDocumentFileAccessLog(v **types.FileAccessLog, valu } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -7569,15 +7485,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7585,15 +7495,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7628,7 +7534,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.GatewayRouteName = ptr.String(jtv) } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -7637,22 +7542,18 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentGatewayRouteSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentGatewayRouteStatus(&sv.Status, value); err != nil { return err } - case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -7661,7 +7562,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.VirtualGatewayName = ptr.String(jtv) } - default: _, _ = key, value @@ -7701,7 +7601,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(v **types.Gateway } sv.Exact = ptr.String(jtv) } - case "suffix": if value != nil { jtv, ok := value.(string) @@ -7710,7 +7609,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(v **types.Gateway } sv.Suffix = ptr.String(jtv) } - default: _, _ = key, value @@ -7750,7 +7648,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(v **types.Gatew } sv.DefaultTargetHostname = types.DefaultGatewayRouteRewrite(jtv) } - default: _, _ = key, value @@ -7824,7 +7721,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -7840,7 +7736,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } } - case "gatewayRouteName": if value != nil { jtv, ok := value.(string) @@ -7849,7 +7744,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.GatewayRouteName = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7865,7 +7759,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -7874,7 +7767,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -7883,7 +7775,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -7892,7 +7783,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -7905,7 +7795,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.Version = ptr.Int64(i64) } - case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -7914,7 +7803,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.VirtualGatewayName = ptr.String(jtv) } - default: _, _ = key, value @@ -7950,17 +7838,14 @@ func awsRestjson1_deserializeDocumentGatewayRouteSpec(v **types.GatewayRouteSpec if err := awsRestjson1_deserializeDocumentGrpcGatewayRoute(&sv.GrpcRoute, value); err != nil { return err } - case "http2Route": if err := awsRestjson1_deserializeDocumentHttpGatewayRoute(&sv.Http2Route, value); err != nil { return err } - case "httpRoute": if err := awsRestjson1_deserializeDocumentHttpGatewayRoute(&sv.HttpRoute, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7973,7 +7858,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteSpec(v **types.GatewayRouteSpec } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8013,7 +7897,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteStatus(v **types.GatewayRouteSt } sv.Status = types.GatewayRouteStatusCode(jtv) } - default: _, _ = key, value @@ -8057,12 +7940,10 @@ func awsRestjson1_deserializeDocumentGatewayRouteTarget(v **types.GatewayRouteTa } sv.Port = ptr.Int32(int32(i64)) } - case "virtualService": if err := awsRestjson1_deserializeDocumentGatewayRouteVirtualService(&sv.VirtualService, value); err != nil { return err } - default: _, _ = key, value @@ -8102,7 +7983,6 @@ func awsRestjson1_deserializeDocumentGatewayRouteVirtualService(v **types.Gatewa } sv.VirtualServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -8138,12 +8018,10 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRoute(v **types.GrpcGatewayRoute if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteAction(&sv.Action, value); err != nil { return err } - case "match": if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(&sv.Match, value); err != nil { return err } - default: _, _ = key, value @@ -8179,12 +8057,10 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteAction(v **types.GrpcGatewa if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteRewrite(&sv.Rewrite, value); err != nil { return err } - case "target": if err := awsRestjson1_deserializeDocumentGatewayRouteTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -8220,12 +8096,10 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(&sv.Hostname, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadataList(&sv.Metadata, value); err != nil { return err } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8238,7 +8112,6 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway } sv.Port = ptr.Int32(int32(i64)) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -8247,7 +8120,6 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -8287,12 +8159,10 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadata(v **types.GrpcGate } sv.Invert = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentGrpcMetadataMatchMethod(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8301,7 +8171,6 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadata(v **types.GrpcGate } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8371,7 +8240,6 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteRewrite(v **types.GrpcGatew if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(&sv.Hostname, value); err != nil { return err } - default: _, _ = key, value @@ -8495,12 +8363,10 @@ func awsRestjson1_deserializeDocumentGrpcRetryPolicy(v **types.GrpcRetryPolicy, if err := awsRestjson1_deserializeDocumentGrpcRetryPolicyEvents(&sv.GrpcRetryEvents, value); err != nil { return err } - case "httpRetryEvents": if err := awsRestjson1_deserializeDocumentHttpRetryPolicyEvents(&sv.HttpRetryEvents, value); err != nil { return err } - case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -8513,17 +8379,14 @@ func awsRestjson1_deserializeDocumentGrpcRetryPolicy(v **types.GrpcRetryPolicy, } sv.MaxRetries = ptr.Int64(i64) } - case "perRetryTimeout": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRetryTimeout, value); err != nil { return err } - case "tcpRetryEvents": if err := awsRestjson1_deserializeDocumentTcpRetryPolicyEvents(&sv.TcpRetryEvents, value); err != nil { return err } - default: _, _ = key, value @@ -8595,22 +8458,18 @@ func awsRestjson1_deserializeDocumentGrpcRoute(v **types.GrpcRoute, value interf if err := awsRestjson1_deserializeDocumentGrpcRouteAction(&sv.Action, value); err != nil { return err } - case "match": if err := awsRestjson1_deserializeDocumentGrpcRouteMatch(&sv.Match, value); err != nil { return err } - case "retryPolicy": if err := awsRestjson1_deserializeDocumentGrpcRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentGrpcTimeout(&sv.Timeout, value); err != nil { return err } - default: _, _ = key, value @@ -8646,7 +8505,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteAction(v **types.GrpcRouteAction, if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } - default: _, _ = key, value @@ -8682,7 +8540,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va if err := awsRestjson1_deserializeDocumentGrpcRouteMetadataList(&sv.Metadata, value); err != nil { return err } - case "methodName": if value != nil { jtv, ok := value.(string) @@ -8691,7 +8548,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.MethodName = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8704,7 +8560,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.Port = ptr.Int32(int32(i64)) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -8713,7 +8568,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -8753,12 +8607,10 @@ func awsRestjson1_deserializeDocumentGrpcRouteMetadata(v **types.GrpcRouteMetada } sv.Invert = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentGrpcRouteMetadataMatchMethod(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8767,7 +8619,6 @@ func awsRestjson1_deserializeDocumentGrpcRouteMetadata(v **types.GrpcRouteMetada } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8925,12 +8776,10 @@ func awsRestjson1_deserializeDocumentGrpcTimeout(v **types.GrpcTimeout, value in if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } - case "perRequest": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRequest, value); err != nil { return err } - default: _, _ = key, value @@ -9062,7 +8911,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.HealthyThreshold = ptr.Int32(int32(i64)) } - case "intervalMillis": if value != nil { jtv, ok := value.(json.Number) @@ -9075,7 +8923,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.IntervalMillis = ptr.Int64(i64) } - case "path": if value != nil { jtv, ok := value.(string) @@ -9084,7 +8931,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Path = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9097,7 +8943,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -9106,7 +8951,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Protocol = types.PortProtocol(jtv) } - case "timeoutMillis": if value != nil { jtv, ok := value.(json.Number) @@ -9119,7 +8963,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.TimeoutMillis = ptr.Int64(i64) } - case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -9132,7 +8975,6 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9168,12 +9010,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoute(v **types.HttpGatewayRoute if err := awsRestjson1_deserializeDocumentHttpGatewayRouteAction(&sv.Action, value); err != nil { return err } - case "match": if err := awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(&sv.Match, value); err != nil { return err } - default: _, _ = key, value @@ -9209,12 +9049,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteAction(v **types.HttpGatewa if err := awsRestjson1_deserializeDocumentHttpGatewayRouteRewrite(&sv.Rewrite, value); err != nil { return err } - case "target": if err := awsRestjson1_deserializeDocumentGatewayRouteTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -9254,12 +9092,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteHeader(v **types.HttpGatewa } sv.Invert = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchMethod(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9268,7 +9104,6 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteHeader(v **types.HttpGatewa } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9338,12 +9173,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway if err := awsRestjson1_deserializeDocumentHttpGatewayRouteHeaders(&sv.Headers, value); err != nil { return err } - case "hostname": if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(&sv.Hostname, value); err != nil { return err } - case "method": if value != nil { jtv, ok := value.(string) @@ -9352,12 +9185,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Method = types.HttpMethod(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentHttpPathMatch(&sv.Path, value); err != nil { return err } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9370,7 +9201,6 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Port = ptr.Int32(int32(i64)) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -9379,12 +9209,10 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Prefix = ptr.String(jtv) } - case "queryParameters": if err := awsRestjson1_deserializeDocumentHttpQueryParameters(&sv.QueryParameters, value); err != nil { return err } - default: _, _ = key, value @@ -9424,7 +9252,6 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePathRewrite(v **types.HttpG } sv.Exact = ptr.String(jtv) } - default: _, _ = key, value @@ -9464,7 +9291,6 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(v **types.Htt } sv.DefaultPrefix = types.DefaultGatewayRouteRewrite(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9473,7 +9299,6 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(v **types.Htt } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9509,17 +9334,14 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteRewrite(v **types.HttpGatew if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(&sv.Hostname, value); err != nil { return err } - case "path": if err := awsRestjson1_deserializeDocumentHttpGatewayRoutePathRewrite(&sv.Path, value); err != nil { return err } - case "prefix": if err := awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(&sv.Prefix, value); err != nil { return err } - default: _, _ = key, value @@ -9559,7 +9381,6 @@ func awsRestjson1_deserializeDocumentHttpPathMatch(v **types.HttpPathMatch, valu } sv.Exact = ptr.String(jtv) } - case "regex": if value != nil { jtv, ok := value.(string) @@ -9568,7 +9389,6 @@ func awsRestjson1_deserializeDocumentHttpPathMatch(v **types.HttpPathMatch, valu } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -9604,7 +9424,6 @@ func awsRestjson1_deserializeDocumentHttpQueryParameter(v **types.HttpQueryParam if err := awsRestjson1_deserializeDocumentQueryParameterMatch(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9613,7 +9432,6 @@ func awsRestjson1_deserializeDocumentHttpQueryParameter(v **types.HttpQueryParam } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9683,7 +9501,6 @@ func awsRestjson1_deserializeDocumentHttpRetryPolicy(v **types.HttpRetryPolicy, if err := awsRestjson1_deserializeDocumentHttpRetryPolicyEvents(&sv.HttpRetryEvents, value); err != nil { return err } - case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -9696,17 +9513,14 @@ func awsRestjson1_deserializeDocumentHttpRetryPolicy(v **types.HttpRetryPolicy, } sv.MaxRetries = ptr.Int64(i64) } - case "perRetryTimeout": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRetryTimeout, value); err != nil { return err } - case "tcpRetryEvents": if err := awsRestjson1_deserializeDocumentTcpRetryPolicyEvents(&sv.TcpRetryEvents, value); err != nil { return err } - default: _, _ = key, value @@ -9778,22 +9592,18 @@ func awsRestjson1_deserializeDocumentHttpRoute(v **types.HttpRoute, value interf if err := awsRestjson1_deserializeDocumentHttpRouteAction(&sv.Action, value); err != nil { return err } - case "match": if err := awsRestjson1_deserializeDocumentHttpRouteMatch(&sv.Match, value); err != nil { return err } - case "retryPolicy": if err := awsRestjson1_deserializeDocumentHttpRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentHttpTimeout(&sv.Timeout, value); err != nil { return err } - default: _, _ = key, value @@ -9829,7 +9639,6 @@ func awsRestjson1_deserializeDocumentHttpRouteAction(v **types.HttpRouteAction, if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } - default: _, _ = key, value @@ -9869,12 +9678,10 @@ func awsRestjson1_deserializeDocumentHttpRouteHeader(v **types.HttpRouteHeader, } sv.Invert = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchMethod(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9883,7 +9690,6 @@ func awsRestjson1_deserializeDocumentHttpRouteHeader(v **types.HttpRouteHeader, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9953,7 +9759,6 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va if err := awsRestjson1_deserializeDocumentHttpRouteHeaders(&sv.Headers, value); err != nil { return err } - case "method": if value != nil { jtv, ok := value.(string) @@ -9962,12 +9767,10 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Method = types.HttpMethod(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentHttpPathMatch(&sv.Path, value); err != nil { return err } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9980,7 +9783,6 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Port = ptr.Int32(int32(i64)) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -9989,12 +9791,10 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Prefix = ptr.String(jtv) } - case "queryParameters": if err := awsRestjson1_deserializeDocumentHttpQueryParameters(&sv.QueryParameters, value); err != nil { return err } - case "scheme": if value != nil { jtv, ok := value.(string) @@ -10003,7 +9803,6 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Scheme = types.HttpScheme(jtv) } - default: _, _ = key, value @@ -10039,12 +9838,10 @@ func awsRestjson1_deserializeDocumentHttpTimeout(v **types.HttpTimeout, value in if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } - case "perRequest": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRequest, value); err != nil { return err } - default: _, _ = key, value @@ -10074,15 +9871,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10090,15 +9881,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10167,7 +9954,6 @@ func awsRestjson1_deserializeDocumentJsonFormatRef(v **types.JsonFormatRef, valu } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -10176,7 +9962,6 @@ func awsRestjson1_deserializeDocumentJsonFormatRef(v **types.JsonFormatRef, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10206,15 +9991,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10222,15 +10001,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10261,32 +10036,26 @@ func awsRestjson1_deserializeDocumentListener(v **types.Listener, value interfac if err := awsRestjson1_deserializeDocumentVirtualNodeConnectionPool(&sv.ConnectionPool, value); err != nil { return err } - case "healthCheck": if err := awsRestjson1_deserializeDocumentHealthCheckPolicy(&sv.HealthCheck, value); err != nil { return err } - case "outlierDetection": if err := awsRestjson1_deserializeDocumentOutlierDetection(&sv.OutlierDetection, value); err != nil { return err } - case "portMapping": if err := awsRestjson1_deserializeDocumentPortMapping(&sv.PortMapping, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentListenerTimeout(&sv.Timeout, value); err != nil { return err } - case "tls": if err := awsRestjson1_deserializeDocumentListenerTls(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -10426,7 +10195,6 @@ func awsRestjson1_deserializeDocumentListenerTls(v **types.ListenerTls, value in if err := awsRestjson1_deserializeDocumentListenerTlsCertificate(&sv.Certificate, value); err != nil { return err } - case "mode": if value != nil { jtv, ok := value.(string) @@ -10435,12 +10203,10 @@ func awsRestjson1_deserializeDocumentListenerTls(v **types.ListenerTls, value in } sv.Mode = types.ListenerTlsMode(jtv) } - case "validation": if err := awsRestjson1_deserializeDocumentListenerTlsValidationContext(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -10480,7 +10246,6 @@ func awsRestjson1_deserializeDocumentListenerTlsAcmCertificate(v **types.Listene } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10580,7 +10345,6 @@ func awsRestjson1_deserializeDocumentListenerTlsFileCertificate(v **types.Listen } sv.CertificateChain = ptr.String(jtv) } - case "privateKey": if value != nil { jtv, ok := value.(string) @@ -10589,7 +10353,6 @@ func awsRestjson1_deserializeDocumentListenerTlsFileCertificate(v **types.Listen } sv.PrivateKey = ptr.String(jtv) } - default: _, _ = key, value @@ -10629,7 +10392,6 @@ func awsRestjson1_deserializeDocumentListenerTlsSdsCertificate(v **types.Listene } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -10665,12 +10427,10 @@ func awsRestjson1_deserializeDocumentListenerTlsValidationContext(v **types.List if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "trust": if err := awsRestjson1_deserializeDocumentListenerTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } - default: _, _ = key, value @@ -10756,7 +10516,6 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentAccessLog(&sv.AccessLog, value); err != nil { return err } - default: _, _ = key, value @@ -10850,7 +10609,6 @@ func awsRestjson1_deserializeDocumentMatchRange(v **types.MatchRange, value inte } sv.End = ptr.Int64(i64) } - case "start": if value != nil { jtv, ok := value.(json.Number) @@ -10863,7 +10621,6 @@ func awsRestjson1_deserializeDocumentMatchRange(v **types.MatchRange, value inte } sv.Start = ptr.Int64(i64) } - default: _, _ = key, value @@ -10903,22 +10660,18 @@ func awsRestjson1_deserializeDocumentMeshData(v **types.MeshData, value interfac } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentMeshSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentMeshStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -10992,7 +10745,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11008,7 +10760,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11024,7 +10775,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -11033,7 +10783,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -11042,7 +10791,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -11051,7 +10799,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11064,7 +10811,6 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.Version = ptr.Int64(i64) } - default: _, _ = key, value @@ -11104,7 +10850,6 @@ func awsRestjson1_deserializeDocumentMeshServiceDiscovery(v **types.MeshServiceD } sv.IpPreference = types.IpPreference(jtv) } - default: _, _ = key, value @@ -11140,12 +10885,10 @@ func awsRestjson1_deserializeDocumentMeshSpec(v **types.MeshSpec, value interfac if err := awsRestjson1_deserializeDocumentEgressFilter(&sv.EgressFilter, value); err != nil { return err } - case "serviceDiscovery": if err := awsRestjson1_deserializeDocumentMeshServiceDiscovery(&sv.ServiceDiscovery, value); err != nil { return err } - default: _, _ = key, value @@ -11185,7 +10928,6 @@ func awsRestjson1_deserializeDocumentMeshStatus(v **types.MeshStatus, value inte } sv.Status = types.MeshStatusCode(jtv) } - default: _, _ = key, value @@ -11215,15 +10957,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11231,15 +10967,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11270,12 +11002,10 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection if err := awsRestjson1_deserializeDocumentDuration(&sv.BaseEjectionDuration, value); err != nil { return err } - case "interval": if err := awsRestjson1_deserializeDocumentDuration(&sv.Interval, value); err != nil { return err } - case "maxEjectionPercent": if value != nil { jtv, ok := value.(json.Number) @@ -11288,7 +11018,6 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection } sv.MaxEjectionPercent = ptr.Int32(int32(i64)) } - case "maxServerErrors": if value != nil { jtv, ok := value.(json.Number) @@ -11301,7 +11030,6 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection } sv.MaxServerErrors = ptr.Int64(i64) } - default: _, _ = key, value @@ -11345,7 +11073,6 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -11354,7 +11081,6 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Protocol = types.PortProtocol(jtv) } - default: _, _ = key, value @@ -11434,7 +11160,6 @@ func awsRestjson1_deserializeDocumentQueryParameterMatch(v **types.QueryParamete } sv.Exact = ptr.String(jtv) } - default: _, _ = key, value @@ -11464,15 +11189,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11480,15 +11199,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11523,7 +11238,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11539,7 +11253,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11555,7 +11268,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -11564,7 +11276,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -11573,7 +11284,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.ResourceOwner = ptr.String(jtv) } - case "uid": if value != nil { jtv, ok := value.(string) @@ -11582,7 +11292,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Uid = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11595,7 +11304,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Version = ptr.Int64(i64) } - default: _, _ = key, value @@ -11635,12 +11343,10 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "routeName": if value != nil { jtv, ok := value.(string) @@ -11649,17 +11355,14 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.RouteName = ptr.String(jtv) } - case "spec": if err := awsRestjson1_deserializeDocumentRouteSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentRouteStatus(&sv.Status, value); err != nil { return err } - case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -11668,7 +11371,6 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.VirtualRouterName = ptr.String(jtv) } - default: _, _ = key, value @@ -11742,7 +11444,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11758,7 +11459,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11774,7 +11474,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -11783,7 +11482,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -11792,7 +11490,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -11801,7 +11498,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.ResourceOwner = ptr.String(jtv) } - case "routeName": if value != nil { jtv, ok := value.(string) @@ -11810,7 +11506,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.RouteName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11823,7 +11518,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.Version = ptr.Int64(i64) } - case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -11832,7 +11526,6 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.VirtualRouterName = ptr.String(jtv) } - default: _, _ = key, value @@ -11868,17 +11561,14 @@ func awsRestjson1_deserializeDocumentRouteSpec(v **types.RouteSpec, value interf if err := awsRestjson1_deserializeDocumentGrpcRoute(&sv.GrpcRoute, value); err != nil { return err } - case "http2Route": if err := awsRestjson1_deserializeDocumentHttpRoute(&sv.Http2Route, value); err != nil { return err } - case "httpRoute": if err := awsRestjson1_deserializeDocumentHttpRoute(&sv.HttpRoute, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11891,12 +11581,10 @@ func awsRestjson1_deserializeDocumentRouteSpec(v **types.RouteSpec, value interf } sv.Priority = ptr.Int32(int32(i64)) } - case "tcpRoute": if err := awsRestjson1_deserializeDocumentTcpRoute(&sv.TcpRoute, value); err != nil { return err } - default: _, _ = key, value @@ -11936,7 +11624,6 @@ func awsRestjson1_deserializeDocumentRouteStatus(v **types.RouteStatus, value in } sv.Status = types.RouteStatusCode(jtv) } - default: _, _ = key, value @@ -12016,15 +11703,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12032,15 +11713,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12107,7 +11784,6 @@ func awsRestjson1_deserializeDocumentSubjectAlternativeNameMatchers(v **types.Su if err := awsRestjson1_deserializeDocumentSubjectAlternativeNameList(&sv.Exact, value); err != nil { return err } - default: _, _ = key, value @@ -12143,7 +11819,6 @@ func awsRestjson1_deserializeDocumentSubjectAlternativeNames(v **types.SubjectAl if err := awsRestjson1_deserializeDocumentSubjectAlternativeNameMatchers(&sv.Match, value); err != nil { return err } - default: _, _ = key, value @@ -12217,7 +11892,6 @@ func awsRestjson1_deserializeDocumentTagRef(v **types.TagRef, value interface{}) } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -12226,7 +11900,6 @@ func awsRestjson1_deserializeDocumentTagRef(v **types.TagRef, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12298,17 +11971,14 @@ func awsRestjson1_deserializeDocumentTcpRoute(v **types.TcpRoute, value interfac if err := awsRestjson1_deserializeDocumentTcpRouteAction(&sv.Action, value); err != nil { return err } - case "match": if err := awsRestjson1_deserializeDocumentTcpRouteMatch(&sv.Match, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentTcpTimeout(&sv.Timeout, value); err != nil { return err } - default: _, _ = key, value @@ -12344,7 +12014,6 @@ func awsRestjson1_deserializeDocumentTcpRouteAction(v **types.TcpRouteAction, va if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } - default: _, _ = key, value @@ -12388,7 +12057,6 @@ func awsRestjson1_deserializeDocumentTcpRouteMatch(v **types.TcpRouteMatch, valu } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12424,7 +12092,6 @@ func awsRestjson1_deserializeDocumentTcpTimeout(v **types.TcpTimeout, value inte if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } - default: _, _ = key, value @@ -12460,12 +12127,10 @@ func awsRestjson1_deserializeDocumentTlsValidationContext(v **types.TlsValidatio if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "trust": if err := awsRestjson1_deserializeDocumentTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } - default: _, _ = key, value @@ -12501,7 +12166,6 @@ func awsRestjson1_deserializeDocumentTlsValidationContextAcmTrust(v **types.TlsV if err := awsRestjson1_deserializeDocumentCertificateAuthorityArns(&sv.CertificateAuthorityArns, value); err != nil { return err } - default: _, _ = key, value @@ -12541,7 +12205,6 @@ func awsRestjson1_deserializeDocumentTlsValidationContextFileTrust(v **types.Tls } sv.CertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -12581,7 +12244,6 @@ func awsRestjson1_deserializeDocumentTlsValidationContextSdsTrust(v **types.TlsV } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -12671,15 +12333,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12687,15 +12343,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12720,15 +12372,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12736,15 +12382,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12815,7 +12457,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayBackendDefaults(v **types.Vir if err := awsRestjson1_deserializeDocumentVirtualGatewayClientPolicy(&sv.ClientPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -12887,7 +12528,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicy(v **types.Virtua if err := awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -12923,7 +12563,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(v **types.Vir if err := awsRestjson1_deserializeDocumentVirtualGatewayClientTlsCertificate(&sv.Certificate, value); err != nil { return err } - case "enforce": if value != nil { jtv, ok := value.(bool) @@ -12932,17 +12571,14 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(v **types.Vir } sv.Enforce = ptr.Bool(jtv) } - case "ports": if err := awsRestjson1_deserializeDocumentPortSet(&sv.Ports, value); err != nil { return err } - case "validation": if err := awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContext(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -13092,22 +12728,18 @@ func awsRestjson1_deserializeDocumentVirtualGatewayData(v **types.VirtualGateway } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentVirtualGatewaySpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentVirtualGatewayStatus(&sv.Status, value); err != nil { return err } - case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -13116,7 +12748,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayData(v **types.VirtualGateway } sv.VirtualGatewayName = ptr.String(jtv) } - default: _, _ = key, value @@ -13152,7 +12783,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayFileAccessLog(v **types.Virtu if err := awsRestjson1_deserializeDocumentLoggingFormat(&sv.Format, value); err != nil { return err } - case "path": if value != nil { jtv, ok := value.(string) @@ -13161,7 +12791,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayFileAccessLog(v **types.Virtu } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -13205,7 +12834,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayGrpcConnectionPool(v **types. } sv.MaxRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13249,7 +12877,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.HealthyThreshold = ptr.Int32(int32(i64)) } - case "intervalMillis": if value != nil { jtv, ok := value.(json.Number) @@ -13262,7 +12889,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.IntervalMillis = ptr.Int64(i64) } - case "path": if value != nil { jtv, ok := value.(string) @@ -13271,7 +12897,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Path = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -13284,7 +12909,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -13293,7 +12917,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Protocol = types.VirtualGatewayPortProtocol(jtv) } - case "timeoutMillis": if value != nil { jtv, ok := value.(json.Number) @@ -13306,7 +12929,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.TimeoutMillis = ptr.Int64(i64) } - case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -13319,7 +12941,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13363,7 +12984,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttp2ConnectionPool(v **types } sv.MaxRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13407,7 +13027,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttpConnectionPool(v **types. } sv.MaxConnections = ptr.Int32(int32(i64)) } - case "maxPendingRequests": if value != nil { jtv, ok := value.(json.Number) @@ -13420,7 +13039,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttpConnectionPool(v **types. } sv.MaxPendingRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13490,22 +13108,18 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListener(v **types.VirtualGat if err := awsRestjson1_deserializeDocumentVirtualGatewayConnectionPool(&sv.ConnectionPool, value); err != nil { return err } - case "healthCheck": if err := awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(&sv.HealthCheck, value); err != nil { return err } - case "portMapping": if err := awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(&sv.PortMapping, value); err != nil { return err } - case "tls": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -13575,7 +13189,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(v **types.Virtual if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsCertificate(&sv.Certificate, value); err != nil { return err } - case "mode": if value != nil { jtv, ok := value.(string) @@ -13584,12 +13197,10 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(v **types.Virtual } sv.Mode = types.VirtualGatewayListenerTlsMode(jtv) } - case "validation": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContext(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -13629,7 +13240,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsAcmCertificate(v * } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13729,7 +13339,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsFileCertificate(v } sv.CertificateChain = ptr.String(jtv) } - case "privateKey": if value != nil { jtv, ok := value.(string) @@ -13738,7 +13347,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsFileCertificate(v } sv.PrivateKey = ptr.String(jtv) } - default: _, _ = key, value @@ -13778,7 +13386,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsSdsCertificate(v * } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -13814,12 +13421,10 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContext( if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "trust": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } - default: _, _ = key, value @@ -13905,7 +13510,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayLogging(v **types.VirtualGate if err := awsRestjson1_deserializeDocumentVirtualGatewayAccessLog(&sv.AccessLog, value); err != nil { return err } - default: _, _ = key, value @@ -13949,7 +13553,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(v **types.Virtual } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -13958,7 +13561,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(v **types.Virtual } sv.Protocol = types.VirtualGatewayPortProtocol(jtv) } - default: _, _ = key, value @@ -13998,7 +13600,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14014,7 +13615,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14030,7 +13630,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -14039,7 +13638,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -14048,7 +13646,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -14057,7 +13654,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14070,7 +13666,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.Version = ptr.Int64(i64) } - case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -14079,7 +13674,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.VirtualGatewayName = ptr.String(jtv) } - default: _, _ = key, value @@ -14115,17 +13709,14 @@ func awsRestjson1_deserializeDocumentVirtualGatewaySpec(v **types.VirtualGateway if err := awsRestjson1_deserializeDocumentVirtualGatewayBackendDefaults(&sv.BackendDefaults, value); err != nil { return err } - case "listeners": if err := awsRestjson1_deserializeDocumentVirtualGatewayListeners(&sv.Listeners, value); err != nil { return err } - case "logging": if err := awsRestjson1_deserializeDocumentVirtualGatewayLogging(&sv.Logging, value); err != nil { return err } - default: _, _ = key, value @@ -14165,7 +13756,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayStatus(v **types.VirtualGatew } sv.Status = types.VirtualGatewayStatusCode(jtv) } - default: _, _ = key, value @@ -14201,12 +13791,10 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContext(v **type if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "trust": if err := awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } - default: _, _ = key, value @@ -14242,7 +13830,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextAcmTrust( if err := awsRestjson1_deserializeDocumentVirtualGatewayCertificateAuthorityArns(&sv.CertificateAuthorityArns, value); err != nil { return err } - default: _, _ = key, value @@ -14282,7 +13869,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextFileTrust } sv.CertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -14322,7 +13908,6 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextSdsTrust( } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -14492,22 +14077,18 @@ func awsRestjson1_deserializeDocumentVirtualNodeData(v **types.VirtualNodeData, } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentVirtualNodeSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentVirtualNodeStatus(&sv.Status, value); err != nil { return err } - case "virtualNodeName": if value != nil { jtv, ok := value.(string) @@ -14516,7 +14097,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeData(v **types.VirtualNodeData, } sv.VirtualNodeName = ptr.String(jtv) } - default: _, _ = key, value @@ -14560,7 +14140,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeGrpcConnectionPool(v **types.Vir } sv.MaxRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14604,7 +14183,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttp2ConnectionPool(v **types.Vi } sv.MaxRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14648,7 +14226,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttpConnectionPool(v **types.Vir } sv.MaxConnections = ptr.Int32(int32(i64)) } - case "maxPendingRequests": if value != nil { jtv, ok := value.(json.Number) @@ -14661,7 +14238,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttpConnectionPool(v **types.Vir } sv.MaxPendingRequests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14735,7 +14311,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14751,7 +14326,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14767,7 +14341,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -14776,7 +14349,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -14785,7 +14357,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -14794,7 +14365,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14807,7 +14377,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.Version = ptr.Int64(i64) } - case "virtualNodeName": if value != nil { jtv, ok := value.(string) @@ -14816,7 +14385,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.VirtualNodeName = ptr.String(jtv) } - default: _, _ = key, value @@ -14856,7 +14424,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeServiceProvider(v **types.Virtua } sv.VirtualNodeName = ptr.String(jtv) } - default: _, _ = key, value @@ -14892,27 +14459,22 @@ func awsRestjson1_deserializeDocumentVirtualNodeSpec(v **types.VirtualNodeSpec, if err := awsRestjson1_deserializeDocumentBackendDefaults(&sv.BackendDefaults, value); err != nil { return err } - case "backends": if err := awsRestjson1_deserializeDocumentBackends(&sv.Backends, value); err != nil { return err } - case "listeners": if err := awsRestjson1_deserializeDocumentListeners(&sv.Listeners, value); err != nil { return err } - case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } - case "serviceDiscovery": if err := awsRestjson1_deserializeDocumentServiceDiscovery(&sv.ServiceDiscovery, value); err != nil { return err } - default: _, _ = key, value @@ -14952,7 +14514,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeStatus(v **types.VirtualNodeStat } sv.Status = types.VirtualNodeStatusCode(jtv) } - default: _, _ = key, value @@ -14996,7 +14557,6 @@ func awsRestjson1_deserializeDocumentVirtualNodeTcpConnectionPool(v **types.Virt } sv.MaxConnections = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15036,22 +14596,18 @@ func awsRestjson1_deserializeDocumentVirtualRouterData(v **types.VirtualRouterDa } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentVirtualRouterSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentVirtualRouterStatus(&sv.Status, value); err != nil { return err } - case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -15060,7 +14616,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterData(v **types.VirtualRouterDa } sv.VirtualRouterName = ptr.String(jtv) } - default: _, _ = key, value @@ -15130,7 +14685,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterListener(v **types.VirtualRout if err := awsRestjson1_deserializeDocumentPortMapping(&sv.PortMapping, value); err != nil { return err } - default: _, _ = key, value @@ -15204,7 +14758,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15220,7 +14773,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15236,7 +14788,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -15245,7 +14796,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -15254,7 +14804,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -15263,7 +14812,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -15276,7 +14824,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.Version = ptr.Int64(i64) } - case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -15285,7 +14832,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.VirtualRouterName = ptr.String(jtv) } - default: _, _ = key, value @@ -15325,7 +14871,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterServiceProvider(v **types.Virt } sv.VirtualRouterName = ptr.String(jtv) } - default: _, _ = key, value @@ -15361,7 +14906,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterSpec(v **types.VirtualRouterSp if err := awsRestjson1_deserializeDocumentVirtualRouterListeners(&sv.Listeners, value); err != nil { return err } - default: _, _ = key, value @@ -15401,7 +14945,6 @@ func awsRestjson1_deserializeDocumentVirtualRouterStatus(v **types.VirtualRouter } sv.Status = types.VirtualRouterStatusCode(jtv) } - default: _, _ = key, value @@ -15437,7 +14980,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceBackend(v **types.VirtualServ if err := awsRestjson1_deserializeDocumentClientPolicy(&sv.ClientPolicy, value); err != nil { return err } - case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -15446,7 +14988,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceBackend(v **types.VirtualServ } sv.VirtualServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -15486,22 +15027,18 @@ func awsRestjson1_deserializeDocumentVirtualServiceData(v **types.VirtualService } sv.MeshName = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } - case "spec": if err := awsRestjson1_deserializeDocumentVirtualServiceSpec(&sv.Spec, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentVirtualServiceStatus(&sv.Status, value); err != nil { return err } - case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -15510,7 +15047,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceData(v **types.VirtualService } sv.VirtualServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -15634,7 +15170,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15650,7 +15185,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15666,7 +15200,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } } - case "meshName": if value != nil { jtv, ok := value.(string) @@ -15675,7 +15208,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.MeshName = ptr.String(jtv) } - case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -15684,7 +15216,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.MeshOwner = ptr.String(jtv) } - case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -15693,7 +15224,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.ResourceOwner = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -15706,7 +15236,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.Version = ptr.Int64(i64) } - case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -15715,7 +15244,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.VirtualServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -15751,7 +15279,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceSpec(v **types.VirtualService if err := awsRestjson1_deserializeDocumentVirtualServiceProvider(&sv.Provider, value); err != nil { return err } - default: _, _ = key, value @@ -15791,7 +15318,6 @@ func awsRestjson1_deserializeDocumentVirtualServiceStatus(v **types.VirtualServi } sv.Status = types.VirtualServiceStatusCode(jtv) } - default: _, _ = key, value @@ -15835,7 +15361,6 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.Port = ptr.Int32(int32(i64)) } - case "virtualNode": if value != nil { jtv, ok := value.(string) @@ -15844,7 +15369,6 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.VirtualNode = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -15857,7 +15381,6 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.Weight = int32(i64) } - default: _, _ = key, value diff --git a/service/apprunner/deserializers.go b/service/apprunner/deserializers.go index 86bc7afd226..b877f06b325 100644 --- a/service/apprunner/deserializers.go +++ b/service/apprunner/deserializers.go @@ -4578,7 +4578,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AccessRoleArn = ptr.String(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -4587,7 +4586,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.ConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4627,7 +4625,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationArn = ptr.String(jtv) } - case "AutoScalingConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4636,7 +4633,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationName = ptr.String(jtv) } - case "AutoScalingConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -4649,7 +4645,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationRevision = ptr.Int32(int32(i64)) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4665,7 +4660,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } - case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -4681,7 +4675,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } - case "HasAssociatedService": if value != nil { jtv, ok := value.(bool) @@ -4690,7 +4683,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.HasAssociatedService = ptr.Bool(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -4699,7 +4691,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.IsDefault = ptr.Bool(jtv) } - case "Latest": if value != nil { jtv, ok := value.(bool) @@ -4708,7 +4699,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.Latest = ptr.Bool(jtv) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -4721,7 +4711,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxConcurrency = ptr.Int32(int32(i64)) } - case "MaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -4734,7 +4723,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxSize = ptr.Int32(int32(i64)) } - case "MinSize": if value != nil { jtv, ok := value.(json.Number) @@ -4747,7 +4735,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MinSize = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4756,7 +4743,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.Status = types.AutoScalingConfigurationStatus(jtv) } - default: _, _ = key, value @@ -4796,7 +4782,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationArn = ptr.String(jtv) } - case "AutoScalingConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4805,7 +4790,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationName = ptr.String(jtv) } - case "AutoScalingConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -4818,7 +4802,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationRevision = int32(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4834,7 +4817,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } } - case "HasAssociatedService": if value != nil { jtv, ok := value.(bool) @@ -4843,7 +4825,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.HasAssociatedService = ptr.Bool(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -4852,7 +4833,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.IsDefault = ptr.Bool(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4861,7 +4841,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.Status = types.AutoScalingConfigurationStatus(jtv) } - default: _, _ = key, value @@ -4935,7 +4914,6 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4944,7 +4922,6 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Status = types.CertificateValidationRecordStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4953,7 +4930,6 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4962,7 +4938,6 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5032,7 +5007,6 @@ func awsAwsjson10_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati if err := awsAwsjson10_deserializeDocumentCodeConfigurationValues(&sv.CodeConfigurationValues, value); err != nil { return err } - case "ConfigurationSource": if value != nil { jtv, ok := value.(string) @@ -5041,7 +5015,6 @@ func awsAwsjson10_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.ConfigurationSource = types.ConfigurationSource(jtv) } - default: _, _ = key, value @@ -5081,7 +5054,6 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.BuildCommand = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(string) @@ -5090,7 +5062,6 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.Port = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -5099,17 +5070,14 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.Runtime = types.Runtime(jtv) } - case "RuntimeEnvironmentSecrets": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentSecrets(&sv.RuntimeEnvironmentSecrets, value); err != nil { return err } - case "RuntimeEnvironmentVariables": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentVariables(&sv.RuntimeEnvironmentVariables, value); err != nil { return err } - case "StartCommand": if value != nil { jtv, ok := value.(string) @@ -5118,7 +5086,6 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.StartCommand = ptr.String(jtv) } - default: _, _ = key, value @@ -5154,7 +5121,6 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va if err := awsAwsjson10_deserializeDocumentCodeConfiguration(&sv.CodeConfiguration, value); err != nil { return err } - case "RepositoryUrl": if value != nil { jtv, ok := value.(string) @@ -5163,12 +5129,10 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.RepositoryUrl = ptr.String(jtv) } - case "SourceCodeVersion": if err := awsAwsjson10_deserializeDocumentSourceCodeVersion(&sv.SourceCodeVersion, value); err != nil { return err } - case "SourceDirectory": if value != nil { jtv, ok := value.(string) @@ -5177,7 +5141,6 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.SourceDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -5217,7 +5180,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -5226,7 +5188,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5242,7 +5203,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5251,7 +5211,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5260,7 +5219,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = types.ConnectionStatus(jtv) } - default: _, _ = key, value @@ -5300,7 +5258,6 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5266,6 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ConnectionName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5325,7 +5281,6 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5334,7 +5289,6 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5343,7 +5297,6 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.Status = types.ConnectionStatus(jtv) } - default: _, _ = key, value @@ -5413,7 +5366,6 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value if err := awsAwsjson10_deserializeDocumentCertificateValidationRecordList(&sv.CertificateValidationRecords, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -5422,7 +5374,6 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.DomainName = ptr.String(jtv) } - case "EnableWWWSubdomain": if value != nil { jtv, ok := value.(bool) @@ -5431,7 +5382,6 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.EnableWWWSubdomain = ptr.Bool(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5440,7 +5390,6 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.Status = types.CustomDomainAssociationStatus(jtv) } - default: _, _ = key, value @@ -5514,7 +5463,6 @@ func awsAwsjson10_deserializeDocumentEgressConfiguration(v **types.EgressConfigu } sv.EgressType = types.EgressType(jtv) } - case "VpcConnectorArn": if value != nil { jtv, ok := value.(string) @@ -5523,7 +5471,6 @@ func awsAwsjson10_deserializeDocumentEgressConfiguration(v **types.EgressConfigu } sv.VpcConnectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5563,7 +5510,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -5607,7 +5553,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.HealthyThreshold = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -5620,7 +5565,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Interval = ptr.Int32(int32(i64)) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -5629,7 +5573,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Path = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -5638,7 +5581,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Protocol = types.HealthCheckProtocol(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -5651,7 +5593,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Timeout = ptr.Int32(int32(i64)) } - case "UnhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5664,7 +5605,6 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5704,17 +5644,14 @@ func awsAwsjson10_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.Port = ptr.String(jtv) } - case "RuntimeEnvironmentSecrets": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentSecrets(&sv.RuntimeEnvironmentSecrets, value); err != nil { return err } - case "RuntimeEnvironmentVariables": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentVariables(&sv.RuntimeEnvironmentVariables, value); err != nil { return err } - case "StartCommand": if value != nil { jtv, ok := value.(string) @@ -5723,7 +5660,6 @@ func awsAwsjson10_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.StartCommand = ptr.String(jtv) } - default: _, _ = key, value @@ -5759,7 +5695,6 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, if err := awsAwsjson10_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } - case "ImageIdentifier": if value != nil { jtv, ok := value.(string) @@ -5768,7 +5703,6 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, } sv.ImageIdentifier = ptr.String(jtv) } - case "ImageRepositoryType": if value != nil { jtv, ok := value.(string) @@ -5777,7 +5711,6 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, } sv.ImageRepositoryType = types.ImageRepositoryType(jtv) } - default: _, _ = key, value @@ -5817,7 +5750,6 @@ func awsAwsjson10_deserializeDocumentIngressConfiguration(v **types.IngressConfi } sv.IsPubliclyAccessible = jtv } - default: _, _ = key, value @@ -5857,7 +5789,6 @@ func awsAwsjson10_deserializeDocumentIngressVpcConfiguration(v **types.IngressVp } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5797,6 @@ func awsAwsjson10_deserializeDocumentIngressVpcConfiguration(v **types.IngressVp } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -5906,7 +5836,6 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Cpu = ptr.String(jtv) } - case "InstanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -5915,7 +5844,6 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.InstanceRoleArn = ptr.String(jtv) } - case "Memory": if value != nil { jtv, ok := value.(string) @@ -5924,7 +5852,6 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Memory = ptr.String(jtv) } - default: _, _ = key, value @@ -5954,15 +5881,9 @@ func awsAwsjson10_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5970,15 +5891,11 @@ func awsAwsjson10_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6003,15 +5920,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6019,15 +5930,11 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6052,15 +5959,9 @@ func awsAwsjson10_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6068,15 +5969,11 @@ func awsAwsjson10_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6107,12 +6004,10 @@ func awsAwsjson10_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson10_deserializeDocumentEgressConfiguration(&sv.EgressConfiguration, value); err != nil { return err } - case "IngressConfiguration": if err := awsAwsjson10_deserializeDocumentIngressConfiguration(&sv.IngressConfiguration, value); err != nil { return err } - case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -6121,7 +6016,6 @@ func awsAwsjson10_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi } sv.IpAddressType = types.IpAddressType(jtv) } - default: _, _ = key, value @@ -6168,7 +6062,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } } - case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -6184,7 +6077,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } } - case "Latest": if value != nil { jtv, ok := value.(bool) @@ -6193,7 +6085,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.Latest = jtv } - case "ObservabilityConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6202,7 +6093,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationArn = ptr.String(jtv) } - case "ObservabilityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6211,7 +6101,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationName = ptr.String(jtv) } - case "ObservabilityConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6224,7 +6113,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationRevision = int32(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6233,12 +6121,10 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.Status = types.ObservabilityConfigurationStatus(jtv) } - case "TraceConfiguration": if err := awsAwsjson10_deserializeDocumentTraceConfiguration(&sv.TraceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6278,7 +6164,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationArn = ptr.String(jtv) } - case "ObservabilityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6172,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationName = ptr.String(jtv) } - case "ObservabilityConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6300,7 +6184,6 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationRevision = int32(i64) } - default: _, _ = key, value @@ -6381,7 +6264,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6390,7 +6272,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Id = ptr.String(jtv) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6406,7 +6287,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6415,7 +6295,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } - case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -6424,7 +6303,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.TargetArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6433,7 +6311,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Type = types.OperationType(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6449,7 +6326,6 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } - default: _, _ = key, value @@ -6513,15 +6389,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6529,15 +6399,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6640,7 +6506,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(&sv.AutoScalingConfigurationSummary, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6656,7 +6521,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } - case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -6672,32 +6536,26 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } - case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "HealthCheckConfiguration": if err := awsAwsjson10_deserializeDocumentHealthCheckConfiguration(&sv.HealthCheckConfiguration, value); err != nil { return err } - case "InstanceConfiguration": if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.InstanceConfiguration, value); err != nil { return err } - case "NetworkConfiguration": if err := awsAwsjson10_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "ObservabilityConfiguration": if err := awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -6706,7 +6564,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceArn = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6715,7 +6572,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceId = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -6724,7 +6580,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } - case "ServiceUrl": if value != nil { jtv, ok := value.(string) @@ -6733,12 +6588,10 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceUrl = ptr.String(jtv) } - case "SourceConfiguration": if err := awsAwsjson10_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6747,7 +6600,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = types.ServiceStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6763,7 +6615,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } - default: _, _ = key, value @@ -6839,7 +6690,6 @@ func awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(v **types } sv.ObservabilityConfigurationArn = ptr.String(jtv) } - case "ObservabilityEnabled": if value != nil { jtv, ok := value.(bool) @@ -6848,7 +6698,6 @@ func awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(v **types } sv.ObservabilityEnabled = jtv } - default: _, _ = key, value @@ -6878,15 +6727,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6894,15 +6737,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6944,7 +6783,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -6953,7 +6791,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceArn = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6962,7 +6799,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceId = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -6971,7 +6807,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceName = ptr.String(jtv) } - case "ServiceUrl": if value != nil { jtv, ok := value.(string) @@ -6980,7 +6815,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6989,7 +6823,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7005,7 +6838,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - default: _, _ = key, value @@ -7079,7 +6911,6 @@ func awsAwsjson10_deserializeDocumentSourceCodeVersion(v **types.SourceCodeVersi } sv.Type = types.SourceCodeVersionType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7088,7 +6919,6 @@ func awsAwsjson10_deserializeDocumentSourceCodeVersion(v **types.SourceCodeVersi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7124,7 +6954,6 @@ func awsAwsjson10_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsAwsjson10_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "AutoDeploymentsEnabled": if value != nil { jtv, ok := value.(bool) @@ -7133,17 +6962,14 @@ func awsAwsjson10_deserializeDocumentSourceConfiguration(v **types.SourceConfigu } sv.AutoDeploymentsEnabled = ptr.Bool(jtv) } - case "CodeRepository": if err := awsAwsjson10_deserializeDocumentCodeRepository(&sv.CodeRepository, value); err != nil { return err } - case "ImageRepository": if err := awsAwsjson10_deserializeDocumentImageRepository(&sv.ImageRepository, value); err != nil { return err } - default: _, _ = key, value @@ -7219,7 +7045,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7228,7 +7053,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7302,7 +7126,6 @@ func awsAwsjson10_deserializeDocumentTraceConfiguration(v **types.TraceConfigura } sv.Vendor = types.TracingVendor(jtv) } - default: _, _ = key, value @@ -7349,7 +7172,6 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } } - case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -7365,12 +7187,10 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } } - case "SecurityGroups": if err := awsAwsjson10_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7379,12 +7199,10 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.Status = types.VpcConnectorStatus(jtv) } - case "Subnets": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - case "VpcConnectorArn": if value != nil { jtv, ok := value.(string) @@ -7393,7 +7211,6 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorArn = ptr.String(jtv) } - case "VpcConnectorName": if value != nil { jtv, ok := value.(string) @@ -7402,7 +7219,6 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorName = ptr.String(jtv) } - case "VpcConnectorRevision": if value != nil { jtv, ok := value.(json.Number) @@ -7415,7 +7231,6 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorRevision = int32(i64) } - default: _, _ = key, value @@ -7489,7 +7304,6 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.DomainName = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7498,7 +7312,6 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.VpcId = ptr.String(jtv) } - case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7507,7 +7320,6 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.VpcIngressConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7581,7 +7393,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.AccountId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7597,7 +7408,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } } - case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -7613,7 +7423,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -7622,12 +7431,10 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.DomainName = ptr.String(jtv) } - case "IngressVpcConfiguration": if err := awsAwsjson10_deserializeDocumentIngressVpcConfiguration(&sv.IngressVpcConfiguration, value); err != nil { return err } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -7636,7 +7443,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.ServiceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7645,7 +7451,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.Status = types.VpcIngressConnectionStatus(jtv) } - case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7654,7 +7459,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.VpcIngressConnectionArn = ptr.String(jtv) } - case "VpcIngressConnectionName": if value != nil { jtv, ok := value.(string) @@ -7663,7 +7467,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.VpcIngressConnectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -7703,7 +7506,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnectionSummary(v **types.VpcIn } sv.ServiceArn = ptr.String(jtv) } - case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7712,7 +7514,6 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnectionSummary(v **types.VpcIn } sv.VpcIngressConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7782,7 +7583,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate if err := awsAwsjson10_deserializeDocumentCustomDomain(&sv.CustomDomain, value); err != nil { return err } - case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -7791,7 +7591,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate } sv.DNSTarget = ptr.String(jtv) } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -7800,12 +7599,10 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate } sv.ServiceArn = ptr.String(jtv) } - case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } - default: _, _ = key, value @@ -7841,7 +7638,6 @@ func awsAwsjson10_deserializeOpDocumentCreateAutoScalingConfigurationOutput(v ** if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7877,7 +7673,6 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -7913,7 +7708,6 @@ func awsAwsjson10_deserializeOpDocumentCreateObservabilityConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7953,12 +7747,10 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.OperationId = ptr.String(jtv) } - case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -7994,7 +7786,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcConnectorOutput(v **CreateVpcCon if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } - default: _, _ = key, value @@ -8030,7 +7821,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcIngressConnectionOutput(v **Crea if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } - default: _, _ = key, value @@ -8066,7 +7856,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteAutoScalingConfigurationOutput(v ** if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8102,7 +7891,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -8138,7 +7926,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteObservabilityConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8178,12 +7965,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.OperationId = ptr.String(jtv) } - case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -8219,7 +8004,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcConnectorOutput(v **DeleteVpcCon if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } - default: _, _ = key, value @@ -8255,7 +8039,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcIngressConnectionOutput(v **Dele if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } - default: _, _ = key, value @@ -8291,7 +8074,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAutoScalingConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8327,7 +8109,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC if err := awsAwsjson10_deserializeDocumentCustomDomainList(&sv.CustomDomains, value); err != nil { return err } - case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -8336,7 +8117,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.DNSTarget = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8345,7 +8125,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.NextToken = ptr.String(jtv) } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -8354,12 +8133,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.ServiceArn = ptr.String(jtv) } - case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } - default: _, _ = key, value @@ -8395,7 +8172,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeObservabilityConfigurationOutput( if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8431,7 +8207,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeServiceOutput(v **DescribeService if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -8467,7 +8242,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeVpcConnectorOutput(v **DescribeVp if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } - default: _, _ = key, value @@ -8503,7 +8277,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeVpcIngressConnectionOutput(v **De if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } - default: _, _ = key, value @@ -8539,7 +8312,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass if err := awsAwsjson10_deserializeDocumentCustomDomain(&sv.CustomDomain, value); err != nil { return err } - case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -8548,7 +8320,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass } sv.DNSTarget = ptr.String(jtv) } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -8557,12 +8328,10 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass } sv.ServiceArn = ptr.String(jtv) } - case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } - default: _, _ = key, value @@ -8598,7 +8367,6 @@ func awsAwsjson10_deserializeOpDocumentListAutoScalingConfigurationsOutput(v **L if err := awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummaryList(&sv.AutoScalingConfigurationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8607,7 +8375,6 @@ func awsAwsjson10_deserializeOpDocumentListAutoScalingConfigurationsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8643,7 +8410,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionSummaryList(&sv.ConnectionSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8652,7 +8418,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8692,12 +8457,10 @@ func awsAwsjson10_deserializeOpDocumentListObservabilityConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "ObservabilityConfigurationSummaryList": if err := awsAwsjson10_deserializeDocumentObservabilityConfigurationSummaryList(&sv.ObservabilityConfigurationSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -8737,12 +8500,10 @@ func awsAwsjson10_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } - case "OperationSummaryList": if err := awsAwsjson10_deserializeDocumentOperationSummaryList(&sv.OperationSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -8782,12 +8543,10 @@ func awsAwsjson10_deserializeOpDocumentListServicesForAutoScalingConfigurationOu } sv.NextToken = ptr.String(jtv) } - case "ServiceArnList": if err := awsAwsjson10_deserializeDocumentServiceArnList(&sv.ServiceArnList, value); err != nil { return err } - default: _, _ = key, value @@ -8827,12 +8586,10 @@ func awsAwsjson10_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "ServiceSummaryList": if err := awsAwsjson10_deserializeDocumentServiceSummaryList(&sv.ServiceSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -8868,7 +8625,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8908,12 +8664,10 @@ func awsAwsjson10_deserializeOpDocumentListVpcConnectorsOutput(v **ListVpcConnec } sv.NextToken = ptr.String(jtv) } - case "VpcConnectors": if err := awsAwsjson10_deserializeDocumentVpcConnectors(&sv.VpcConnectors, value); err != nil { return err } - default: _, _ = key, value @@ -8953,12 +8707,10 @@ func awsAwsjson10_deserializeOpDocumentListVpcIngressConnectionsOutput(v **ListV } sv.NextToken = ptr.String(jtv) } - case "VpcIngressConnectionSummaryList": if err := awsAwsjson10_deserializeDocumentVpcIngressConnectionSummaryList(&sv.VpcIngressConnectionSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -8998,12 +8750,10 @@ func awsAwsjson10_deserializeOpDocumentPauseServiceOutput(v **PauseServiceOutput } sv.OperationId = ptr.String(jtv) } - case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -9043,12 +8793,10 @@ func awsAwsjson10_deserializeOpDocumentResumeServiceOutput(v **ResumeServiceOutp } sv.OperationId = ptr.String(jtv) } - case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -9088,7 +8836,6 @@ func awsAwsjson10_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -9186,7 +8933,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDefaultAutoScalingConfigurationOutp if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9226,12 +8972,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.OperationId = ptr.String(jtv) } - case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -9267,7 +9011,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateVpcIngressConnectionOutput(v **Upda if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index 370ecf5f7a4..b76969d76e1 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -9954,7 +9954,6 @@ func awsAwsjson11_deserializeDocumentAccessEndpoint(v **types.AccessEndpoint, va } sv.EndpointType = types.AccessEndpointType(jtv) } - case "VpceId": if value != nil { jtv, ok := value.(string) @@ -9963,7 +9962,6 @@ func awsAwsjson11_deserializeDocumentAccessEndpoint(v **types.AccessEndpoint, va } sv.VpceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10033,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac if err := awsAwsjson11_deserializeDocumentErrorDetailsList(&sv.AppBlockErrors, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10042,7 +10039,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10058,7 +10054,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10067,7 +10062,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10076,7 +10070,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.DisplayName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10085,7 +10078,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Name = ptr.String(jtv) } - case "PackagingType": if value != nil { jtv, ok := value.(string) @@ -10094,22 +10086,18 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.PackagingType = types.PackagingType(jtv) } - case "PostSetupScriptDetails": if err := awsAwsjson11_deserializeDocumentScriptDetails(&sv.PostSetupScriptDetails, value); err != nil { return err } - case "SetupScriptDetails": if err := awsAwsjson11_deserializeDocumentScriptDetails(&sv.SetupScriptDetails, value); err != nil { return err } - case "SourceS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.SourceS3Location, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -10118,7 +10106,6 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.State = types.AppBlockState(jtv) } - default: _, _ = key, value @@ -10154,12 +10141,10 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } - case "AppBlockBuilderErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.AppBlockBuilderErrors, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10168,7 +10153,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10184,7 +10168,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10193,7 +10176,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10202,7 +10184,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.DisplayName = ptr.String(jtv) } - case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -10211,7 +10192,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10220,7 +10200,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.IamRoleArn = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -10229,7 +10208,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.InstanceType = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10238,7 +10216,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Name = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -10247,7 +10224,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Platform = types.AppBlockBuilderPlatformType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10256,17 +10232,14 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.State = types.AppBlockBuilderState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10306,7 +10279,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(v **type } sv.AppBlockArn = ptr.String(jtv) } - case "AppBlockBuilderName": if value != nil { jtv, ok := value.(string) @@ -10315,7 +10287,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(v **type } sv.AppBlockBuilderName = ptr.String(jtv) } - default: _, _ = key, value @@ -10423,7 +10394,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(v **types. } sv.Code = types.AppBlockBuilderStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -10432,7 +10402,6 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10506,7 +10475,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.AppBlockArn = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10515,7 +10483,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10531,7 +10498,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10540,7 +10506,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10549,7 +10514,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.DisplayName = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10558,12 +10522,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Enabled = ptr.Bool(jtv) } - case "IconS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.IconS3Location, value); err != nil { return err } - case "IconURL": if value != nil { jtv, ok := value.(string) @@ -10572,12 +10534,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.IconURL = ptr.String(jtv) } - case "InstanceFamilies": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InstanceFamilies, value); err != nil { return err } - case "LaunchParameters": if value != nil { jtv, ok := value.(string) @@ -10586,7 +10546,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.LaunchParameters = ptr.String(jtv) } - case "LaunchPath": if value != nil { jtv, ok := value.(string) @@ -10595,12 +10554,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.LaunchPath = ptr.String(jtv) } - case "Metadata": if err := awsAwsjson11_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10609,12 +10566,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "Platforms": if err := awsAwsjson11_deserializeDocumentPlatforms(&sv.Platforms, value); err != nil { return err } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -10623,7 +10578,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -10663,7 +10617,6 @@ func awsAwsjson11_deserializeDocumentApplicationFleetAssociation(v **types.Appli } sv.ApplicationArn = ptr.String(jtv) } - case "FleetName": if value != nil { jtv, ok := value.(string) @@ -10672,7 +10625,6 @@ func awsAwsjson11_deserializeDocumentApplicationFleetAssociation(v **types.Appli } sv.FleetName = ptr.String(jtv) } - default: _, _ = key, value @@ -10780,7 +10732,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.Enabled = ptr.Bool(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -10789,7 +10740,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.S3BucketName = ptr.String(jtv) } - case "SettingsGroup": if value != nil { jtv, ok := value.(string) @@ -10798,7 +10748,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.SettingsGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -10838,7 +10787,6 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10847,7 +10795,6 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.Status = types.CertificateBasedAuthStatus(jtv) } - default: _, _ = key, value @@ -10891,7 +10838,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.ActiveUserSessions = ptr.Int32(int32(i64)) } - case "ActualUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10904,7 +10850,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.ActualUserSessions = ptr.Int32(int32(i64)) } - case "Available": if value != nil { jtv, ok := value.(json.Number) @@ -10917,7 +10862,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Available = ptr.Int32(int32(i64)) } - case "AvailableUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10930,7 +10874,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.AvailableUserSessions = ptr.Int32(int32(i64)) } - case "Desired": if value != nil { jtv, ok := value.(json.Number) @@ -10943,7 +10886,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Desired = ptr.Int32(int32(i64)) } - case "DesiredUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10956,7 +10898,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.DesiredUserSessions = ptr.Int32(int32(i64)) } - case "InUse": if value != nil { jtv, ok := value.(json.Number) @@ -10969,7 +10910,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.InUse = ptr.Int32(int32(i64)) } - case "Running": if value != nil { jtv, ok := value.(json.Number) @@ -10982,7 +10922,6 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Running = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11012,15 +10951,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11028,15 +10961,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11067,7 +10996,6 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, if err := awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(&sv.CertificateBasedAuthProperties, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11083,7 +11011,6 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, } } - case "DirectoryName": if value != nil { jtv, ok := value.(string) @@ -11092,17 +11019,14 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, } sv.DirectoryName = ptr.String(jtv) } - case "OrganizationalUnitDistinguishedNames": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitDistinguishedNamesList(&sv.OrganizationalUnitDistinguishedNames, value); err != nil { return err } - case "ServiceAccountCredentials": if err := awsAwsjson11_deserializeDocumentServiceAccountCredentials(&sv.ServiceAccountCredentials, value); err != nil { return err } - default: _, _ = key, value @@ -11176,7 +11100,6 @@ func awsAwsjson11_deserializeDocumentDomainJoinInfo(v **types.DomainJoinInfo, va } sv.DirectoryName = ptr.String(jtv) } - case "OrganizationalUnitDistinguishedName": if value != nil { jtv, ok := value.(string) @@ -11185,7 +11108,6 @@ func awsAwsjson11_deserializeDocumentDomainJoinInfo(v **types.DomainJoinInfo, va } sv.OrganizationalUnitDistinguishedName = ptr.String(jtv) } - default: _, _ = key, value @@ -11297,7 +11219,6 @@ func awsAwsjson11_deserializeDocumentEntitledApplication(v **types.EntitledAppli } sv.ApplicationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -11371,12 +11292,10 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.AppVisibility = types.AppVisibility(jtv) } - case "Attributes": if err := awsAwsjson11_deserializeDocumentEntitlementAttributeList(&sv.Attributes, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11392,7 +11311,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11319,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11417,7 +11334,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11426,7 +11342,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -11435,7 +11350,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.StackName = ptr.String(jtv) } - default: _, _ = key, value @@ -11465,15 +11379,9 @@ func awsAwsjson11_deserializeDocumentEntitlementAlreadyExistsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11481,15 +11389,11 @@ func awsAwsjson11_deserializeDocumentEntitlementAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11524,7 +11428,6 @@ func awsAwsjson11_deserializeDocumentEntitlementAttribute(v **types.EntitlementA } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11533,7 +11436,6 @@ func awsAwsjson11_deserializeDocumentEntitlementAttribute(v **types.EntitlementA } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11631,15 +11533,9 @@ func awsAwsjson11_deserializeDocumentEntitlementNotFoundException(v **types.Enti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11647,15 +11543,11 @@ func awsAwsjson11_deserializeDocumentEntitlementNotFoundException(v **types.Enti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11690,7 +11582,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11699,7 +11590,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -11773,12 +11663,10 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "ComputeCapacityStatus": if err := awsAwsjson11_deserializeDocumentComputeCapacityStatus(&sv.ComputeCapacityStatus, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11794,7 +11682,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11803,7 +11690,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11816,7 +11702,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.DisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -11825,12 +11710,10 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "DomainJoinInfo": if err := awsAwsjson11_deserializeDocumentDomainJoinInfo(&sv.DomainJoinInfo, value); err != nil { return err } - case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -11839,12 +11722,10 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } - case "FleetErrors": if err := awsAwsjson11_deserializeDocumentFleetErrors(&sv.FleetErrors, value); err != nil { return err } - case "FleetType": if value != nil { jtv, ok := value.(string) @@ -11853,7 +11734,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.FleetType = types.FleetType(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -11862,7 +11742,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.IamRoleArn = ptr.String(jtv) } - case "IdleDisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11875,7 +11754,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.IdleDisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -11884,7 +11762,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageArn = ptr.String(jtv) } - case "ImageName": if value != nil { jtv, ok := value.(string) @@ -11893,7 +11770,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageName = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -11902,7 +11778,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.InstanceType = ptr.String(jtv) } - case "MaxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -11915,7 +11790,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } - case "MaxSessionsPerInstance": if value != nil { jtv, ok := value.(json.Number) @@ -11928,7 +11802,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxSessionsPerInstance = ptr.Int32(int32(i64)) } - case "MaxUserDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11941,7 +11814,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxUserDurationInSeconds = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11950,7 +11822,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -11959,12 +11830,10 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Platform = types.PlatformType(jtv) } - case "SessionScriptS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.SessionScriptS3Location, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -11973,7 +11842,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.State = types.FleetState(jtv) } - case "StreamView": if value != nil { jtv, ok := value.(string) @@ -11982,17 +11850,14 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.StreamView = types.StreamView(jtv) } - case "UsbDeviceFilterStrings": if err := awsAwsjson11_deserializeDocumentUsbDeviceFilterStrings(&sv.UsbDeviceFilterStrings, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12032,7 +11897,6 @@ func awsAwsjson11_deserializeDocumentFleetError(v **types.FleetError, value inte } sv.ErrorCode = types.FleetErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12041,7 +11905,6 @@ func awsAwsjson11_deserializeDocumentFleetError(v **types.FleetError, value inte } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -12145,7 +12008,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } - case "AppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12154,7 +12016,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.AppstreamAgentVersion = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -12163,7 +12024,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "BaseImageArn": if value != nil { jtv, ok := value.(string) @@ -12172,7 +12032,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.BaseImageArn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12188,7 +12047,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12197,7 +12055,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12206,7 +12063,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "DynamicAppProvidersEnabled": if value != nil { jtv, ok := value.(string) @@ -12215,7 +12071,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DynamicAppProvidersEnabled = types.DynamicAppProvidersEnabled(jtv) } - case "ImageBuilderName": if value != nil { jtv, ok := value.(string) @@ -12224,7 +12079,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageBuilderName = ptr.String(jtv) } - case "ImageBuilderSupported": if value != nil { jtv, ok := value.(bool) @@ -12233,17 +12087,14 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageBuilderSupported = ptr.Bool(jtv) } - case "ImageErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.ImageErrors, value); err != nil { return err } - case "ImagePermissions": if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } - case "ImageSharedWithOthers": if value != nil { jtv, ok := value.(string) @@ -12252,7 +12103,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageSharedWithOthers = types.ImageSharedWithOthers(jtv) } - case "LatestAppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12261,7 +12111,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.LatestAppstreamAgentVersion = types.LatestAppstreamAgentVersion(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12270,7 +12119,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -12279,7 +12127,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Platform = types.PlatformType(jtv) } - case "PublicBaseImageReleasedDate": if value != nil { switch jtv := value.(type) { @@ -12295,7 +12142,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12304,17 +12150,14 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.State = types.ImageState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentImageStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "SupportedInstanceFamilies": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SupportedInstanceFamilies, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -12323,7 +12166,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Visibility = types.VisibilityType(jtv) } - default: _, _ = key, value @@ -12359,7 +12201,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } - case "AppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12368,7 +12209,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.AppstreamAgentVersion = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -12377,7 +12217,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12393,7 +12232,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12402,7 +12240,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12411,12 +12248,10 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.DisplayName = ptr.String(jtv) } - case "DomainJoinInfo": if err := awsAwsjson11_deserializeDocumentDomainJoinInfo(&sv.DomainJoinInfo, value); err != nil { return err } - case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -12425,7 +12260,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -12434,7 +12268,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.IamRoleArn = ptr.String(jtv) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -12443,12 +12276,10 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.ImageArn = ptr.String(jtv) } - case "ImageBuilderErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.ImageBuilderErrors, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -12457,7 +12288,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.InstanceType = ptr.String(jtv) } - case "LatestAppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12466,7 +12296,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.LatestAppstreamAgentVersion = types.LatestAppstreamAgentVersion(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12475,12 +12304,10 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Name = ptr.String(jtv) } - case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -12489,7 +12316,6 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Platform = types.PlatformType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -12498,17 +12324,14 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.State = types.ImageBuilderState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12582,7 +12405,6 @@ func awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(v **types.Ima } sv.Code = types.ImageBuilderStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -12591,7 +12413,6 @@ func awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(v **types.Ima } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -12665,7 +12486,6 @@ func awsAwsjson11_deserializeDocumentImagePermissions(v **types.ImagePermissions } sv.AllowFleet = ptr.Bool(jtv) } - case "allowImageBuilder": if value != nil { jtv, ok := value.(bool) @@ -12674,7 +12494,6 @@ func awsAwsjson11_deserializeDocumentImagePermissions(v **types.ImagePermissions } sv.AllowImageBuilder = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12714,7 +12533,6 @@ func awsAwsjson11_deserializeDocumentImageStateChangeReason(v **types.ImageState } sv.Code = types.ImageStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -12723,7 +12541,6 @@ func awsAwsjson11_deserializeDocumentImageStateChangeReason(v **types.ImageState } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -12753,15 +12570,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleImageException(v **types.Incomp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12769,15 +12580,11 @@ func awsAwsjson11_deserializeDocumentIncompatibleImageException(v **types.Incomp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12802,15 +12609,9 @@ func awsAwsjson11_deserializeDocumentInvalidAccountStatusException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12818,15 +12619,11 @@ func awsAwsjson11_deserializeDocumentInvalidAccountStatusException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12851,15 +12648,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12867,15 +12658,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12900,15 +12687,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12916,15 +12697,11 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12959,7 +12736,6 @@ func awsAwsjson11_deserializeDocumentLastReportGenerationExecutionError(v **type } sv.ErrorCode = types.UsageReportExecutionErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12968,7 +12744,6 @@ func awsAwsjson11_deserializeDocumentLastReportGenerationExecutionError(v **type } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -13032,15 +12807,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13048,15 +12817,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13127,7 +12892,6 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniId = ptr.String(jtv) } - case "EniPrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -13136,7 +12900,6 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniPrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -13166,15 +12929,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13182,15 +12939,11 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13287,15 +13040,9 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceededException(v **types.Req sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13303,15 +13050,11 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceededException(v **types.Req } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13336,15 +13079,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13352,15 +13089,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13395,7 +13128,6 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.ErrorCode = types.FleetErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13404,7 +13136,6 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorTimestamp": if value != nil { switch jtv := value.(type) { @@ -13420,7 +13151,6 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } } - default: _, _ = key, value @@ -13484,15 +13214,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13500,15 +13224,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13533,15 +13253,9 @@ func awsAwsjson11_deserializeDocumentResourceNotAvailableException(v **types.Res sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13549,15 +13263,11 @@ func awsAwsjson11_deserializeDocumentResourceNotAvailableException(v **types.Res } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13582,15 +13292,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13598,15 +13302,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13641,7 +13341,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.S3Bucket = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -13650,7 +13349,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -13690,7 +13388,6 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.ExecutableParameters = ptr.String(jtv) } - case "ExecutablePath": if value != nil { jtv, ok := value.(string) @@ -13699,12 +13396,10 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.ExecutablePath = ptr.String(jtv) } - case "ScriptS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.ScriptS3Location, value); err != nil { return err } - case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13717,7 +13412,6 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13793,7 +13487,6 @@ func awsAwsjson11_deserializeDocumentServiceAccountCredentials(v **types.Service } sv.AccountName = ptr.String(jtv) } - case "AccountPassword": if value != nil { jtv, ok := value.(string) @@ -13802,7 +13495,6 @@ func awsAwsjson11_deserializeDocumentServiceAccountCredentials(v **types.Service } sv.AccountPassword = ptr.String(jtv) } - default: _, _ = key, value @@ -13842,7 +13534,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -13851,7 +13542,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ConnectionState = types.SessionConnectionState(jtv) } - case "FleetName": if value != nil { jtv, ok := value.(string) @@ -13860,7 +13550,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.FleetName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13869,7 +13558,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Id = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -13878,7 +13566,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.InstanceId = ptr.String(jtv) } - case "MaxExpirationTime": if value != nil { switch jtv := value.(type) { @@ -13894,12 +13581,10 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -13908,7 +13593,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.StackName = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13924,7 +13608,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13933,7 +13616,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.State = types.SessionState(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -13942,7 +13624,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -14012,7 +13693,6 @@ func awsAwsjson11_deserializeDocumentSharedImagePermissions(v **types.SharedImag if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } - case "sharedAccountId": if value != nil { jtv, ok := value.(string) @@ -14021,7 +13701,6 @@ func awsAwsjson11_deserializeDocumentSharedImagePermissions(v **types.SharedImag } sv.SharedAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -14091,12 +13770,10 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } - case "ApplicationSettings": if err := awsAwsjson11_deserializeDocumentApplicationSettingsResponse(&sv.ApplicationSettings, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -14105,7 +13782,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -14121,7 +13797,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14130,7 +13805,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -14139,12 +13813,10 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "EmbedHostDomains": if err := awsAwsjson11_deserializeDocumentEmbedHostDomains(&sv.EmbedHostDomains, value); err != nil { return err } - case "FeedbackURL": if value != nil { jtv, ok := value.(string) @@ -14153,7 +13825,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.FeedbackURL = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14162,7 +13833,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Name = ptr.String(jtv) } - case "RedirectURL": if value != nil { jtv, ok := value.(string) @@ -14171,27 +13841,22 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.RedirectURL = ptr.String(jtv) } - case "StackErrors": if err := awsAwsjson11_deserializeDocumentStackErrors(&sv.StackErrors, value); err != nil { return err } - case "StorageConnectors": if err := awsAwsjson11_deserializeDocumentStorageConnectorList(&sv.StorageConnectors, value); err != nil { return err } - case "StreamingExperienceSettings": if err := awsAwsjson11_deserializeDocumentStreamingExperienceSettings(&sv.StreamingExperienceSettings, value); err != nil { return err } - case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettingList(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -14231,7 +13896,6 @@ func awsAwsjson11_deserializeDocumentStackError(v **types.StackError, value inte } sv.ErrorCode = types.StackErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14240,7 +13904,6 @@ func awsAwsjson11_deserializeDocumentStackError(v **types.StackError, value inte } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -14348,12 +14011,10 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ConnectorType = types.StorageConnectorType(jtv) } - case "Domains": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } - case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -14362,7 +14023,6 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ResourceIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -14436,7 +14096,6 @@ func awsAwsjson11_deserializeDocumentStreamingExperienceSettings(v **types.Strea } sv.PreferredProtocol = types.PreferredProtocol(jtv) } - default: _, _ = key, value @@ -14591,7 +14250,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -14600,7 +14258,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.StackName = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14609,7 +14266,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.State = types.ThemeState(jtv) } - case "ThemeFaviconURL": if value != nil { jtv, ok := value.(string) @@ -14618,12 +14274,10 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeFaviconURL = ptr.String(jtv) } - case "ThemeFooterLinks": if err := awsAwsjson11_deserializeDocumentThemeFooterLinks(&sv.ThemeFooterLinks, value); err != nil { return err } - case "ThemeOrganizationLogoURL": if value != nil { jtv, ok := value.(string) @@ -14632,7 +14286,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeOrganizationLogoURL = ptr.String(jtv) } - case "ThemeStyling": if value != nil { jtv, ok := value.(string) @@ -14641,7 +14294,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeStyling = types.ThemeStyling(jtv) } - case "ThemeTitleText": if value != nil { jtv, ok := value.(string) @@ -14650,7 +14302,6 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeTitleText = ptr.String(jtv) } - default: _, _ = key, value @@ -14690,7 +14341,6 @@ func awsAwsjson11_deserializeDocumentThemeFooterLink(v **types.ThemeFooterLink, } sv.DisplayName = ptr.String(jtv) } - case "FooterLinkURL": if value != nil { jtv, ok := value.(string) @@ -14699,7 +14349,6 @@ func awsAwsjson11_deserializeDocumentThemeFooterLink(v **types.ThemeFooterLink, } sv.FooterLinkURL = ptr.String(jtv) } - default: _, _ = key, value @@ -14780,7 +14429,6 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14789,7 +14437,6 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } sv.S3BucketName = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -14798,12 +14445,10 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } sv.Schedule = types.UsageReportSchedule(jtv) } - case "SubscriptionErrors": if err := awsAwsjson11_deserializeDocumentLastReportGenerationExecutionErrors(&sv.SubscriptionErrors, value); err != nil { return err } - default: _, _ = key, value @@ -14913,7 +14558,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -14922,7 +14566,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -14938,7 +14581,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -14947,7 +14589,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Enabled = ptr.Bool(jtv) } - case "FirstName": if value != nil { jtv, ok := value.(string) @@ -14956,7 +14597,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.FirstName = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -14965,7 +14605,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14974,7 +14613,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -14983,7 +14621,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -15057,7 +14694,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Action = types.Action(jtv) } - case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -15070,7 +14706,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.MaximumLength = ptr.Int32(int32(i64)) } - case "Permission": if value != nil { jtv, ok := value.(string) @@ -15079,7 +14714,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Permission = types.Permission(jtv) } - default: _, _ = key, value @@ -15153,7 +14787,6 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "SendEmailNotification": if value != nil { jtv, ok := value.(bool) @@ -15162,7 +14795,6 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.SendEmailNotification = ptr.Bool(jtv) } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -15171,7 +14803,6 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.StackName = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -15180,7 +14811,6 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -15220,7 +14850,6 @@ func awsAwsjson11_deserializeDocumentUserStackAssociationError(v **types.UserSta } sv.ErrorCode = types.UserStackAssociationErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15229,12 +14858,10 @@ func awsAwsjson11_deserializeDocumentUserStackAssociationError(v **types.UserSta } sv.ErrorMessage = ptr.String(jtv) } - case "UserStackAssociation": if err := awsAwsjson11_deserializeDocumentUserStackAssociation(&sv.UserStackAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -15338,12 +14965,10 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -15379,7 +15004,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateAppBlockBuilderAppBlockOutput(v if err := awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(&sv.AppBlockBuilderAppBlockAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -15415,7 +15039,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateApplicationFleetOutput(v **Assoc if err := awsAwsjson11_deserializeDocumentApplicationFleetAssociation(&sv.ApplicationFleetAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -15513,7 +15136,6 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateUserStackOutput(v **BatchAs if err := awsAwsjson11_deserializeDocumentUserStackAssociationErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -15549,7 +15171,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateUserStackOutput(v **Batc if err := awsAwsjson11_deserializeDocumentUserStackAssociationErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -15589,7 +15210,6 @@ func awsAwsjson11_deserializeOpDocumentCopyImageOutput(v **CopyImageOutput, valu } sv.DestinationImageName = ptr.String(jtv) } - default: _, _ = key, value @@ -15625,7 +15245,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderOutput(v **CreateApp if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -15672,7 +15291,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderStreamingURLOutput(v } } - case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -15681,7 +15299,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderStreamingURLOutput(v } sv.StreamingURL = ptr.String(jtv) } - default: _, _ = key, value @@ -15717,7 +15334,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockOutput(v **CreateAppBlockOu if err := awsAwsjson11_deserializeDocumentAppBlock(&sv.AppBlock, value); err != nil { return err } - default: _, _ = key, value @@ -15753,7 +15369,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -15789,7 +15404,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectoryConfigOutput(v **CreateDir if err := awsAwsjson11_deserializeDocumentDirectoryConfig(&sv.DirectoryConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15825,7 +15439,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEntitlementOutput(v **CreateEntitle if err := awsAwsjson11_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } - default: _, _ = key, value @@ -15861,7 +15474,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } - default: _, _ = key, value @@ -15897,7 +15509,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderOutput(v **CreateImageB if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -15944,7 +15555,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderStreamingURLOutput(v ** } } - case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -15953,7 +15563,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderStreamingURLOutput(v ** } sv.StreamingURL = ptr.String(jtv) } - default: _, _ = key, value @@ -15989,7 +15598,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStackOutput(v **CreateStackOutput, if err := awsAwsjson11_deserializeDocumentStack(&sv.Stack, value); err != nil { return err } - default: _, _ = key, value @@ -16036,7 +15644,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamingURLOutput(v **CreateStream } } - case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -16045,7 +15652,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamingURLOutput(v **CreateStream } sv.StreamingURL = ptr.String(jtv) } - default: _, _ = key, value @@ -16081,7 +15687,6 @@ func awsAwsjson11_deserializeOpDocumentCreateThemeForStackOutput(v **CreateTheme if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } - default: _, _ = key, value @@ -16121,12 +15726,10 @@ func awsAwsjson11_deserializeOpDocumentCreateUpdatedImageOutput(v **CreateUpdate } sv.CanUpdateImage = ptr.Bool(jtv) } - case "image": if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } - default: _, _ = key, value @@ -16166,7 +15769,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageReportSubscriptionOutput(v **C } sv.S3BucketName = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -16175,7 +15777,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageReportSubscriptionOutput(v **C } sv.Schedule = types.UsageReportSchedule(jtv) } - default: _, _ = key, value @@ -16428,7 +16029,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteImageBuilderOutput(v **DeleteImageB if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -16464,7 +16064,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } - default: _, _ = key, value @@ -16655,7 +16254,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuilderAppBlockAssociatio if err := awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociationsList(&sv.AppBlockBuilderAppBlockAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16664,7 +16262,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuilderAppBlockAssociatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16700,7 +16297,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuildersOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAppBlockBuilderList(&sv.AppBlockBuilders, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16709,7 +16305,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuildersOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16745,7 +16340,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlocksOutput(v **DescribeAppBl if err := awsAwsjson11_deserializeDocumentAppBlocks(&sv.AppBlocks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16754,7 +16348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlocksOutput(v **DescribeAppBl } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16790,7 +16383,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationFleetAssociationsOutpu if err := awsAwsjson11_deserializeDocumentApplicationFleetAssociationList(&sv.ApplicationFleetAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16799,7 +16391,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationFleetAssociationsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16835,7 +16426,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp if err := awsAwsjson11_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16844,7 +16434,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16880,7 +16469,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryConfigsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDirectoryConfigList(&sv.DirectoryConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16889,7 +16477,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryConfigsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16925,7 +16512,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitlementsOutput(v **DescribeEn if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16934,7 +16520,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitlementsOutput(v **DescribeEn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16970,7 +16555,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetsOutput(v **DescribeFleetsOu if err := awsAwsjson11_deserializeDocumentFleetList(&sv.Fleets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16979,7 +16563,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetsOutput(v **DescribeFleetsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17015,7 +16598,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageBuildersOutput(v **DescribeI if err := awsAwsjson11_deserializeDocumentImageBuilderList(&sv.ImageBuilders, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17024,7 +16606,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageBuildersOutput(v **DescribeI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17064,7 +16645,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagePermissionsOutput(v **Descri } sv.Name = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17073,12 +16653,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagePermissionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "SharedImagePermissionsList": if err := awsAwsjson11_deserializeDocumentSharedImagePermissionsList(&sv.SharedImagePermissionsList, value); err != nil { return err } - default: _, _ = key, value @@ -17114,7 +16692,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageList(&sv.Images, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17123,7 +16700,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17163,12 +16739,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSessionsOutput(v **DescribeSessio } sv.NextToken = ptr.String(jtv) } - case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -17208,12 +16782,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStacksOutput(v **DescribeStacksOu } sv.NextToken = ptr.String(jtv) } - case "Stacks": if err := awsAwsjson11_deserializeDocumentStackList(&sv.Stacks, value); err != nil { return err } - default: _, _ = key, value @@ -17249,7 +16821,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThemeForStackOutput(v **DescribeT if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } - default: _, _ = key, value @@ -17289,12 +16860,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsageReportSubscriptionsOutput(v } sv.NextToken = ptr.String(jtv) } - case "UsageReportSubscriptions": if err := awsAwsjson11_deserializeDocumentUsageReportSubscriptionList(&sv.UsageReportSubscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -17334,12 +16903,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -17379,12 +16946,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserStackAssociationsOutput(v **D } sv.NextToken = ptr.String(jtv) } - case "UserStackAssociations": if err := awsAwsjson11_deserializeDocumentUserStackAssociationList(&sv.UserStackAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -17637,7 +17202,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedFleetsOutput(v **ListAssoci if err := awsAwsjson11_deserializeDocumentStringList(&sv.Names, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17646,7 +17210,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedFleetsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17682,7 +17245,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedStacksOutput(v **ListAssoci if err := awsAwsjson11_deserializeDocumentStringList(&sv.Names, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17691,7 +17253,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedStacksOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17727,7 +17288,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitledApplicationsOutput(v **ListEn if err := awsAwsjson11_deserializeDocumentEntitledApplicationList(&sv.EntitledApplications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17736,7 +17296,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitledApplicationsOutput(v **ListEn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17772,7 +17331,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17808,7 +17366,6 @@ func awsAwsjson11_deserializeOpDocumentStartAppBlockBuilderOutput(v **StartAppBl if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -17875,7 +17432,6 @@ func awsAwsjson11_deserializeOpDocumentStartImageBuilderOutput(v **StartImageBui if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -17911,7 +17467,6 @@ func awsAwsjson11_deserializeOpDocumentStopAppBlockBuilderOutput(v **StopAppBloc if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -17978,7 +17533,6 @@ func awsAwsjson11_deserializeOpDocumentStopImageBuilderOutput(v **StopImageBuild if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -18076,7 +17630,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppBlockBuilderOutput(v **UpdateApp if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } - default: _, _ = key, value @@ -18112,7 +17665,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -18148,7 +17700,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectoryConfigOutput(v **UpdateDir if err := awsAwsjson11_deserializeDocumentDirectoryConfig(&sv.DirectoryConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18184,7 +17735,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEntitlementOutput(v **UpdateEntitle if err := awsAwsjson11_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } - default: _, _ = key, value @@ -18220,7 +17770,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } - default: _, _ = key, value @@ -18287,7 +17836,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateStackOutput(v **UpdateStackOutput, if err := awsAwsjson11_deserializeDocumentStack(&sv.Stack, value); err != nil { return err } - default: _, _ = key, value @@ -18323,7 +17871,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateThemeForStackOutput(v **UpdateTheme if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/appsync/deserializers.go b/service/appsync/deserializers.go index dfdcaa33f32..75443a91c04 100644 --- a/service/appsync/deserializers.go +++ b/service/appsync/deserializers.go @@ -180,7 +180,6 @@ func awsRestjson1_deserializeOpDocumentAssociateApiOutput(v **AssociateApiOutput if err := awsRestjson1_deserializeDocumentApiAssociation(&sv.ApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -347,7 +346,6 @@ func awsRestjson1_deserializeOpDocumentAssociateMergedGraphqlApiOutput(v **Assoc if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -514,7 +512,6 @@ func awsRestjson1_deserializeOpDocumentAssociateSourceGraphqlApiOutput(v **Assoc if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -678,7 +675,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } - default: _, _ = key, value @@ -842,7 +838,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiCacheOutput(v **CreateApiCacheOu if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } - default: _, _ = key, value @@ -1012,7 +1007,6 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput if err := awsRestjson1_deserializeDocumentApiKey(&sv.ApiKey, value); err != nil { return err } - default: _, _ = key, value @@ -1182,7 +1176,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelNamespaceOutput(v **CreateCh if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } - default: _, _ = key, value @@ -1346,7 +1339,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -1504,7 +1496,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1668,7 +1659,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1835,7 +1825,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphqlApiOutput(v **CreateGraphqlA if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } - default: _, _ = key, value @@ -1999,7 +1988,6 @@ func awsRestjson1_deserializeOpDocumentCreateResolverOutput(v **CreateResolverOu if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } - default: _, _ = key, value @@ -2163,7 +2151,6 @@ func awsRestjson1_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -3437,7 +3424,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateMergedGraphqlApiOutput(v **Di } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } - default: _, _ = key, value @@ -3605,7 +3591,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateSourceGraphqlApiOutput(v **Di } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } - default: _, _ = key, value @@ -3763,7 +3748,6 @@ func awsRestjson1_deserializeOpDocumentEvaluateCodeOutput(v **EvaluateCodeOutput if err := awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(&sv.Error, value); err != nil { return err } - case "evaluationResult": if value != nil { jtv, ok := value.(string) @@ -3772,12 +3756,10 @@ func awsRestjson1_deserializeOpDocumentEvaluateCodeOutput(v **EvaluateCodeOutput } sv.EvaluationResult = ptr.String(jtv) } - case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } - default: _, _ = key, value @@ -3935,7 +3917,6 @@ func awsRestjson1_deserializeOpDocumentEvaluateMappingTemplateOutput(v **Evaluat if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "evaluationResult": if value != nil { jtv, ok := value.(string) @@ -3944,12 +3925,10 @@ func awsRestjson1_deserializeOpDocumentEvaluateMappingTemplateOutput(v **Evaluat } sv.EvaluationResult = ptr.String(jtv) } - case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } - default: _, _ = key, value @@ -4213,7 +4192,6 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } - default: _, _ = key, value @@ -4374,7 +4352,6 @@ func awsRestjson1_deserializeOpDocumentGetApiAssociationOutput(v **GetApiAssocia if err := awsRestjson1_deserializeDocumentApiAssociation(&sv.ApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -4538,7 +4515,6 @@ func awsRestjson1_deserializeOpDocumentGetApiCacheOutput(v **GetApiCacheOutput, if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } - default: _, _ = key, value @@ -4702,7 +4678,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelNamespaceOutput(v **GetChannelN if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } - default: _, _ = key, value @@ -4866,7 +4841,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -5028,12 +5002,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionId = ptr.String(jtv) } - case "introspectionResult": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(&sv.IntrospectionResult, value); err != nil { return err } - case "introspectionStatus": if value != nil { jtv, ok := value.(string) @@ -5042,7 +5014,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionStatus = types.DataSourceIntrospectionStatus(jtv) } - case "introspectionStatusDetail": if value != nil { jtv, ok := value.(string) @@ -5051,7 +5022,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionStatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -5212,7 +5182,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5370,7 +5339,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionOutput(v **GetFunctionOutput, if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5534,7 +5502,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphqlApiOutput(v **GetGraphqlApiOutp if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } - default: _, _ = key, value @@ -5698,7 +5665,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphqlApiEnvironmentVariablesOutput(v if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } - default: _, _ = key, value @@ -5980,7 +5946,6 @@ func awsRestjson1_deserializeOpDocumentGetResolverOutput(v **GetResolverOutput, if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } - default: _, _ = key, value @@ -6145,7 +6110,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaCreationStatusOutput(v **GetSche } sv.Details = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6154,7 +6118,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaCreationStatusOutput(v **GetSche } sv.Status = types.SchemaStatus(jtv) } - default: _, _ = key, value @@ -6315,7 +6278,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceApiAssociationOutput(v **GetSour if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -6479,7 +6441,6 @@ func awsRestjson1_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -6640,7 +6601,6 @@ func awsRestjson1_deserializeOpDocumentListApiKeysOutput(v **ListApiKeysOutput, if err := awsRestjson1_deserializeDocumentApiKeys(&sv.ApiKeys, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6649,7 +6609,6 @@ func awsRestjson1_deserializeOpDocumentListApiKeysOutput(v **ListApiKeysOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6807,7 +6766,6 @@ func awsRestjson1_deserializeOpDocumentListApisOutput(v **ListApisOutput, value if err := awsRestjson1_deserializeDocumentApis(&sv.Apis, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6816,7 +6774,6 @@ func awsRestjson1_deserializeOpDocumentListApisOutput(v **ListApisOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6977,7 +6934,6 @@ func awsRestjson1_deserializeOpDocumentListChannelNamespacesOutput(v **ListChann if err := awsRestjson1_deserializeDocumentChannelNamespaces(&sv.ChannelNamespaces, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6986,7 +6942,6 @@ func awsRestjson1_deserializeOpDocumentListChannelNamespacesOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7147,7 +7102,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7156,7 +7110,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7314,7 +7267,6 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainNameConfigs(&sv.DomainNameConfigs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7323,7 +7275,6 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7484,7 +7435,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp if err := awsRestjson1_deserializeDocumentFunctions(&sv.Functions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7493,7 +7443,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7651,7 +7600,6 @@ func awsRestjson1_deserializeOpDocumentListGraphqlApisOutput(v **ListGraphqlApis if err := awsRestjson1_deserializeDocumentGraphqlApis(&sv.GraphqlApis, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7608,6 @@ func awsRestjson1_deserializeOpDocumentListGraphqlApisOutput(v **ListGraphqlApis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7825,12 +7772,10 @@ func awsRestjson1_deserializeOpDocumentListResolversOutput(v **ListResolversOutp } sv.NextToken = ptr.String(jtv) } - case "resolvers": if err := awsRestjson1_deserializeDocumentResolvers(&sv.Resolvers, value); err != nil { return err } - default: _, _ = key, value @@ -7995,12 +7940,10 @@ func awsRestjson1_deserializeOpDocumentListResolversByFunctionOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } - case "resolvers": if err := awsRestjson1_deserializeDocumentResolvers(&sv.Resolvers, value); err != nil { return err } - default: _, _ = key, value @@ -8165,12 +8108,10 @@ func awsRestjson1_deserializeOpDocumentListSourceApiAssociationsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - case "sourceApiAssociationSummaries": if err := awsRestjson1_deserializeDocumentSourceApiAssociationSummaryList(&sv.SourceApiAssociationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8337,7 +8278,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8505,12 +8445,10 @@ func awsRestjson1_deserializeOpDocumentListTypesOutput(v **ListTypesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -8678,12 +8616,10 @@ func awsRestjson1_deserializeOpDocumentListTypesByAssociationOutput(v **ListType } sv.NextToken = ptr.String(jtv) } - case "types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -8850,7 +8786,6 @@ func awsRestjson1_deserializeOpDocumentPutGraphqlApiEnvironmentVariablesOutput(v if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } - default: _, _ = key, value @@ -9015,7 +8950,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionId = ptr.String(jtv) } - case "introspectionStatus": if value != nil { jtv, ok := value.(string) @@ -9024,7 +8958,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionStatus = types.DataSourceIntrospectionStatus(jtv) } - case "introspectionStatusDetail": if value != nil { jtv, ok := value.(string) @@ -9033,7 +8966,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionStatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -9201,7 +9133,6 @@ func awsRestjson1_deserializeOpDocumentStartSchemaCreationOutput(v **StartSchema } sv.Status = types.SchemaStatus(jtv) } - default: _, _ = key, value @@ -9369,7 +9300,6 @@ func awsRestjson1_deserializeOpDocumentStartSchemaMergeOutput(v **StartSchemaMer } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } - default: _, _ = key, value @@ -9742,7 +9672,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } - default: _, _ = key, value @@ -9906,7 +9835,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiCacheOutput(v **UpdateApiCacheOu if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } - default: _, _ = key, value @@ -10073,7 +10001,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput if err := awsRestjson1_deserializeDocumentApiKey(&sv.ApiKey, value); err != nil { return err } - default: _, _ = key, value @@ -10240,7 +10167,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelNamespaceOutput(v **UpdateCh if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } - default: _, _ = key, value @@ -10404,7 +10330,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -10568,7 +10493,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10732,7 +10656,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOu if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10899,7 +10822,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphqlApiOutput(v **UpdateGraphqlA if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } - default: _, _ = key, value @@ -11063,7 +10985,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResolverOutput(v **UpdateResolverOu if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } - default: _, _ = key, value @@ -11227,7 +11148,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceApiAssociationOutput(v **Upda if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -11391,7 +11311,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTypeOutput(v **UpdateTypeOutput, va if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -11889,15 +11808,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11905,15 +11818,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11948,22 +11857,18 @@ func awsRestjson1_deserializeDocumentAdditionalAuthenticationProvider(v **types. } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } - case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } - case "userPoolConfig": if err := awsRestjson1_deserializeDocumentCognitoUserPoolConfig(&sv.UserPoolConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12037,7 +11942,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiArn = ptr.String(jtv) } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -12046,7 +11950,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiId = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -12062,17 +11965,14 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } } - case "dns": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Dns, value); err != nil { return err } - case "eventConfig": if err := awsRestjson1_deserializeDocumentEventConfig(&sv.EventConfig, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12081,7 +11981,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Name = ptr.String(jtv) } - case "ownerContact": if value != nil { jtv, ok := value.(string) @@ -12090,12 +11989,10 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.OwnerContact = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "wafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -12104,7 +12001,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.WafWebAclArn = ptr.String(jtv) } - case "xrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12113,7 +12009,6 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.XrayEnabled = jtv } - default: _, _ = key, value @@ -12153,7 +12048,6 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.ApiId = ptr.String(jtv) } - case "associationStatus": if value != nil { jtv, ok := value.(string) @@ -12162,7 +12056,6 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.AssociationStatus = types.AssociationStatus(jtv) } - case "deploymentDetail": if value != nil { jtv, ok := value.(string) @@ -12171,7 +12064,6 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.DeploymentDetail = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -12180,7 +12072,6 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.DomainName = ptr.String(jtv) } - default: _, _ = key, value @@ -12220,7 +12111,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.ApiCachingBehavior = types.ApiCachingBehavior(jtv) } - case "atRestEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12229,7 +12119,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.AtRestEncryptionEnabled = jtv } - case "healthMetricsConfig": if value != nil { jtv, ok := value.(string) @@ -12238,7 +12127,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.HealthMetricsConfig = types.CacheHealthMetricsConfig(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12247,7 +12135,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Status = types.ApiCacheStatus(jtv) } - case "transitEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12256,7 +12143,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.TransitEncryptionEnabled = jtv } - case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -12269,7 +12155,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Ttl = i64 } - case "type": if value != nil { jtv, ok := value.(string) @@ -12278,7 +12163,6 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Type = types.ApiCacheType(jtv) } - default: _, _ = key, value @@ -12322,7 +12206,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Deletes = i64 } - case "description": if value != nil { jtv, ok := value.(string) @@ -12331,7 +12214,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Description = ptr.String(jtv) } - case "expires": if value != nil { jtv, ok := value.(json.Number) @@ -12344,7 +12226,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Expires = i64 } - case "id": if value != nil { jtv, ok := value.(string) @@ -12353,7 +12234,6 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12383,15 +12263,9 @@ func awsRestjson1_deserializeDocumentApiKeyLimitExceededException(v **types.ApiK sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12399,15 +12273,11 @@ func awsRestjson1_deserializeDocumentApiKeyLimitExceededException(v **types.ApiK } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12466,15 +12336,9 @@ func awsRestjson1_deserializeDocumentApiKeyValidityOutOfBoundsException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12482,15 +12346,11 @@ func awsRestjson1_deserializeDocumentApiKeyValidityOutOfBoundsException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12515,15 +12375,9 @@ func awsRestjson1_deserializeDocumentApiLimitExceededException(v **types.ApiLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12531,15 +12385,11 @@ func awsRestjson1_deserializeDocumentApiLimitExceededException(v **types.ApiLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12608,7 +12458,6 @@ func awsRestjson1_deserializeDocumentAppSyncRuntime(v **types.AppSyncRuntime, va } sv.Name = types.RuntimeName(jtv) } - case "runtimeVersion": if value != nil { jtv, ok := value.(string) @@ -12617,7 +12466,6 @@ func awsRestjson1_deserializeDocumentAppSyncRuntime(v **types.AppSyncRuntime, va } sv.RuntimeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -12657,7 +12505,6 @@ func awsRestjson1_deserializeDocumentAuthMode(v **types.AuthMode, value interfac } sv.AuthType = types.AuthenticationType(jtv) } - default: _, _ = key, value @@ -12731,12 +12578,10 @@ func awsRestjson1_deserializeDocumentAuthorizationConfig(v **types.Authorization } sv.AuthorizationType = types.AuthorizationType(jtv) } - case "awsIamConfig": if err := awsRestjson1_deserializeDocumentAwsIamConfig(&sv.AwsIamConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12776,22 +12621,18 @@ func awsRestjson1_deserializeDocumentAuthProvider(v **types.AuthProvider, value } sv.AuthType = types.AuthenticationType(jtv) } - case "cognitoConfig": if err := awsRestjson1_deserializeDocumentCognitoConfig(&sv.CognitoConfig, value); err != nil { return err } - case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } - case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12865,7 +12706,6 @@ func awsRestjson1_deserializeDocumentAwsIamConfig(v **types.AwsIamConfig, value } sv.SigningRegion = ptr.String(jtv) } - case "signingServiceName": if value != nil { jtv, ok := value.(string) @@ -12874,7 +12714,6 @@ func awsRestjson1_deserializeDocumentAwsIamConfig(v **types.AwsIamConfig, value } sv.SigningServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -12910,7 +12749,6 @@ func awsRestjson1_deserializeDocumentBadRequestDetail(v **types.BadRequestDetail if err := awsRestjson1_deserializeDocumentCodeErrors(&sv.CodeErrors, value); err != nil { return err } - default: _, _ = key, value @@ -12940,20 +12778,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "detail": if err := awsRestjson1_deserializeDocumentBadRequestDetail(&sv.Detail, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12961,7 +12792,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -12970,15 +12800,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13009,7 +12835,6 @@ func awsRestjson1_deserializeDocumentCachingConfig(v **types.CachingConfig, valu if err := awsRestjson1_deserializeDocumentCachingKeys(&sv.CachingKeys, value); err != nil { return err } - case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -13022,7 +12847,6 @@ func awsRestjson1_deserializeDocumentCachingConfig(v **types.CachingConfig, valu } sv.Ttl = i64 } - default: _, _ = key, value @@ -13098,7 +12922,6 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.ApiId = ptr.String(jtv) } - case "channelNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -13107,7 +12930,6 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.ChannelNamespaceArn = ptr.String(jtv) } - case "codeHandlers": if value != nil { jtv, ok := value.(string) @@ -13116,7 +12938,6 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.CodeHandlers = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -13132,7 +12953,6 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } } - case "lastModified": if value != nil { switch jtv := value.(type) { @@ -13148,7 +12968,6 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13157,22 +12976,18 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.Name = ptr.String(jtv) } - case "publishAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.PublishAuthModes, value); err != nil { return err } - case "subscribeAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.SubscribeAuthModes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13246,12 +13061,10 @@ func awsRestjson1_deserializeDocumentCodeError(v **types.CodeError, value interf } sv.ErrorType = ptr.String(jtv) } - case "location": if err := awsRestjson1_deserializeDocumentCodeErrorLocation(&sv.Location, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -13260,7 +13073,6 @@ func awsRestjson1_deserializeDocumentCodeError(v **types.CodeError, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13304,7 +13116,6 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Column = int32(i64) } - case "line": if value != nil { jtv, ok := value.(json.Number) @@ -13317,7 +13128,6 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Line = int32(i64) } - case "span": if value != nil { jtv, ok := value.(json.Number) @@ -13330,7 +13140,6 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Span = int32(i64) } - default: _, _ = key, value @@ -13404,7 +13213,6 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.AppIdClientRegex = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13413,7 +13221,6 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.AwsRegion = ptr.String(jtv) } - case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -13422,7 +13229,6 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -13462,7 +13268,6 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.AppIdClientRegex = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13471,7 +13276,6 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.AwsRegion = ptr.String(jtv) } - case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -13480,7 +13284,6 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -13510,15 +13313,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13526,15 +13323,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13559,15 +13352,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13575,15 +13362,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13618,7 +13401,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13627,32 +13409,26 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Description = ptr.String(jtv) } - case "dynamodbConfig": if err := awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(&sv.DynamodbConfig, value); err != nil { return err } - case "elasticsearchConfig": if err := awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(&sv.ElasticsearchConfig, value); err != nil { return err } - case "eventBridgeConfig": if err := awsRestjson1_deserializeDocumentEventBridgeDataSourceConfig(&sv.EventBridgeConfig, value); err != nil { return err } - case "httpConfig": if err := awsRestjson1_deserializeDocumentHttpDataSourceConfig(&sv.HttpConfig, value); err != nil { return err } - case "lambdaConfig": if err := awsRestjson1_deserializeDocumentLambdaDataSourceConfig(&sv.LambdaConfig, value); err != nil { return err } - case "metricsConfig": if value != nil { jtv, ok := value.(string) @@ -13661,7 +13437,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.MetricsConfig = types.DataSourceLevelMetricsConfig(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13670,17 +13445,14 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } - case "openSearchServiceConfig": if err := awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(&sv.OpenSearchServiceConfig, value); err != nil { return err } - case "relationalDatabaseConfig": if err := awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(&sv.RelationalDatabaseConfig, value); err != nil { return err } - case "serviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -13689,7 +13461,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ServiceRoleArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -13698,7 +13469,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } - default: _, _ = key, value @@ -13734,12 +13504,10 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFields(&sv.Fields, value); err != nil { return err } - case "indexes": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndexes(&sv.Indexes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13748,12 +13516,10 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data } sv.Name = ptr.String(jtv) } - case "primaryKey": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(&sv.PrimaryKey, value); err != nil { return err } - case "sdl": if value != nil { jtv, ok := value.(string) @@ -13762,7 +13528,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data } sv.Sdl = ptr.String(jtv) } - default: _, _ = key, value @@ -13806,7 +13571,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelField(v **types } sv.Length = i64 } - case "name": if value != nil { jtv, ok := value.(string) @@ -13815,12 +13579,10 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelField(v **types } sv.Name = ptr.String(jtv) } - case "type": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -13894,7 +13656,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(v **t } sv.Kind = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13903,17 +13664,14 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(v **t } sv.Name = ptr.String(jtv) } - case "type": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(&sv.Type, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldTypeValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -13985,7 +13743,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(v **types if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndexFields(&sv.Fields, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13994,7 +13751,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14134,7 +13890,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(v **types.Dat if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModels(&sv.Models, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14143,7 +13898,6 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(v **types.Dat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14221,7 +13975,6 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.BaseTableTTL = i64 } - case "deltaSyncTableName": if value != nil { jtv, ok := value.(string) @@ -14230,7 +13983,6 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.DeltaSyncTableName = ptr.String(jtv) } - case "deltaSyncTableTTL": if value != nil { jtv, ok := value.(json.Number) @@ -14243,7 +13995,6 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.DeltaSyncTableTTL = i64 } - default: _, _ = key, value @@ -14283,7 +14034,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.AppsyncDomainName = ptr.String(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -14292,7 +14042,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.CertificateArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14301,7 +14050,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.Description = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -14310,7 +14058,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.DomainName = ptr.String(jtv) } - case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -14319,7 +14066,6 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.HostedZoneId = ptr.String(jtv) } - default: _, _ = key, value @@ -14393,12 +14139,10 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.AwsRegion = ptr.String(jtv) } - case "deltaSyncConfig": if err := awsRestjson1_deserializeDocumentDeltaSyncConfig(&sv.DeltaSyncConfig, value); err != nil { return err } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -14407,7 +14151,6 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.TableName = ptr.String(jtv) } - case "useCallerCredentials": if value != nil { jtv, ok := value.(bool) @@ -14416,7 +14159,6 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.UseCallerCredentials = jtv } - case "versioned": if value != nil { jtv, ok := value.(bool) @@ -14425,7 +14167,6 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.Versioned = jtv } - default: _, _ = key, value @@ -14465,7 +14206,6 @@ func awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(v **types.Ela } sv.AwsRegion = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -14474,7 +14214,6 @@ func awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(v **types.Ela } sv.Endpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -14514,7 +14253,6 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.DataSourceLevelMetricsBehavior = types.DataSourceLevelMetricsBehavior(jtv) } - case "operationLevelMetricsConfig": if value != nil { jtv, ok := value.(string) @@ -14523,7 +14261,6 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.OperationLevelMetricsConfig = types.OperationLevelMetricsConfig(jtv) } - case "resolverLevelMetricsBehavior": if value != nil { jtv, ok := value.(string) @@ -14532,7 +14269,6 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.ResolverLevelMetricsBehavior = types.ResolverLevelMetricsBehavior(jtv) } - default: _, _ = key, value @@ -14608,7 +14344,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14644,7 +14379,6 @@ func awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(v **types.EvaluateC if err := awsRestjson1_deserializeDocumentCodeErrors(&sv.CodeErrors, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -14653,7 +14387,6 @@ func awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(v **types.EvaluateC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14693,7 +14426,6 @@ func awsRestjson1_deserializeDocumentEventBridgeDataSourceConfig(v **types.Event } sv.EventBusArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14729,27 +14461,22 @@ func awsRestjson1_deserializeDocumentEventConfig(v **types.EventConfig, value in if err := awsRestjson1_deserializeDocumentAuthProviders(&sv.AuthProviders, value); err != nil { return err } - case "connectionAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.ConnectionAuthModes, value); err != nil { return err } - case "defaultPublishAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.DefaultPublishAuthModes, value); err != nil { return err } - case "defaultSubscribeAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.DefaultSubscribeAuthModes, value); err != nil { return err } - case "logConfig": if err := awsRestjson1_deserializeDocumentEventLogConfig(&sv.LogConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14789,7 +14516,6 @@ func awsRestjson1_deserializeDocumentEventLogConfig(v **types.EventLogConfig, va } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -14798,7 +14524,6 @@ func awsRestjson1_deserializeDocumentEventLogConfig(v **types.EventLogConfig, va } sv.LogLevel = types.EventLogLevel(jtv) } - default: _, _ = key, value @@ -14838,7 +14563,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Code = ptr.String(jtv) } - case "dataSourceName": if value != nil { jtv, ok := value.(string) @@ -14847,7 +14571,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.DataSourceName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14856,7 +14579,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Description = ptr.String(jtv) } - case "functionArn": if value != nil { jtv, ok := value.(string) @@ -14865,7 +14587,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionArn = ptr.String(jtv) } - case "functionId": if value != nil { jtv, ok := value.(string) @@ -14874,7 +14595,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionId = ptr.String(jtv) } - case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -14883,7 +14603,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionVersion = ptr.String(jtv) } - case "maxBatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -14896,7 +14615,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MaxBatchSize = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14905,7 +14623,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Name = ptr.String(jtv) } - case "requestMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -14914,7 +14631,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.RequestMappingTemplate = ptr.String(jtv) } - case "responseMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -14923,17 +14639,14 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.ResponseMappingTemplate = ptr.String(jtv) } - case "runtime": if err := awsRestjson1_deserializeDocumentAppSyncRuntime(&sv.Runtime, value); err != nil { return err } - case "syncConfig": if err := awsRestjson1_deserializeDocumentSyncConfig(&sv.SyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15039,7 +14752,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte if err := awsRestjson1_deserializeDocumentAdditionalAuthenticationProviders(&sv.AdditionalAuthenticationProviders, value); err != nil { return err } - case "apiId": if value != nil { jtv, ok := value.(string) @@ -15048,7 +14760,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ApiId = ptr.String(jtv) } - case "apiType": if value != nil { jtv, ok := value.(string) @@ -15057,7 +14768,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ApiType = types.GraphQLApiType(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -15066,7 +14776,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Arn = ptr.String(jtv) } - case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -15075,17 +14784,14 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "dns": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Dns, value); err != nil { return err } - case "enhancedMetricsConfig": if err := awsRestjson1_deserializeDocumentEnhancedMetricsConfig(&sv.EnhancedMetricsConfig, value); err != nil { return err } - case "introspectionConfig": if value != nil { jtv, ok := value.(string) @@ -15094,17 +14800,14 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.IntrospectionConfig = types.GraphQLApiIntrospectionConfig(jtv) } - case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } - case "logConfig": if err := awsRestjson1_deserializeDocumentLogConfig(&sv.LogConfig, value); err != nil { return err } - case "mergedApiExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -15113,7 +14816,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.MergedApiExecutionRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15122,12 +14824,10 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Name = ptr.String(jtv) } - case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15136,7 +14836,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Owner = ptr.String(jtv) } - case "ownerContact": if value != nil { jtv, ok := value.(string) @@ -15145,7 +14844,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.OwnerContact = ptr.String(jtv) } - case "queryDepthLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15158,7 +14856,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.QueryDepthLimit = int32(i64) } - case "resolverCountLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15171,22 +14868,18 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ResolverCountLimit = int32(i64) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "uris": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Uris, value); err != nil { return err } - case "userPoolConfig": if err := awsRestjson1_deserializeDocumentUserPoolConfig(&sv.UserPoolConfig, value); err != nil { return err } - case "visibility": if value != nil { jtv, ok := value.(string) @@ -15195,7 +14888,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Visibility = types.GraphQLApiVisibility(jtv) } - case "wafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -15204,7 +14896,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.WafWebAclArn = ptr.String(jtv) } - case "xrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -15213,7 +14904,6 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.XrayEnabled = jtv } - default: _, _ = key, value @@ -15277,15 +14967,9 @@ func awsRestjson1_deserializeDocumentGraphQLSchemaException(v **types.GraphQLSch sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15293,15 +14977,11 @@ func awsRestjson1_deserializeDocumentGraphQLSchemaException(v **types.GraphQLSch } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15332,7 +15012,6 @@ func awsRestjson1_deserializeDocumentHttpDataSourceConfig(v **types.HttpDataSour if err := awsRestjson1_deserializeDocumentAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -15341,7 +15020,6 @@ func awsRestjson1_deserializeDocumentHttpDataSourceConfig(v **types.HttpDataSour } sv.Endpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -15371,15 +15049,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15387,15 +15059,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15434,7 +15102,6 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.AuthorizerResultTtlInSeconds = int32(i64) } - case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -15443,7 +15110,6 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.AuthorizerUri = ptr.String(jtv) } - case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -15452,7 +15118,6 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.IdentityValidationExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -15492,7 +15157,6 @@ func awsRestjson1_deserializeDocumentLambdaConflictHandlerConfig(v **types.Lambd } sv.LambdaConflictHandlerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15532,7 +15196,6 @@ func awsRestjson1_deserializeDocumentLambdaDataSourceConfig(v **types.LambdaData } sv.LambdaFunctionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15562,15 +15225,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15578,15 +15235,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15621,7 +15274,6 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "excludeVerboseContent": if value != nil { jtv, ok := value.(bool) @@ -15630,7 +15282,6 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.ExcludeVerboseContent = jtv } - case "fieldLogLevel": if value != nil { jtv, ok := value.(string) @@ -15639,7 +15290,6 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.FieldLogLevel = types.FieldLogLevel(jtv) } - default: _, _ = key, value @@ -15741,15 +15391,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15757,15 +15401,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15804,7 +15444,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.AuthTTL = i64 } - case "clientId": if value != nil { jtv, ok := value.(string) @@ -15813,7 +15452,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.ClientId = ptr.String(jtv) } - case "iatTTL": if value != nil { jtv, ok := value.(json.Number) @@ -15826,7 +15464,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.IatTTL = i64 } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -15835,7 +15472,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.Issuer = ptr.String(jtv) } - default: _, _ = key, value @@ -15875,7 +15511,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(v **types } sv.AwsRegion = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -15884,7 +15519,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(v **types } sv.Endpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -15920,7 +15554,6 @@ func awsRestjson1_deserializeDocumentPipelineConfig(v **types.PipelineConfig, va if err := awsRestjson1_deserializeDocumentFunctionsIds(&sv.Functions, value); err != nil { return err } - default: _, _ = key, value @@ -15960,7 +15593,6 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.AwsRegion = ptr.String(jtv) } - case "awsSecretStoreArn": if value != nil { jtv, ok := value.(string) @@ -15969,7 +15601,6 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.AwsSecretStoreArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -15978,7 +15609,6 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.DatabaseName = ptr.String(jtv) } - case "dbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -15987,7 +15617,6 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.DbClusterIdentifier = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -15996,7 +15625,6 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -16032,7 +15660,6 @@ func awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(v **type if err := awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(&sv.RdsHttpEndpointConfig, value); err != nil { return err } - case "relationalDatabaseSourceType": if value != nil { jtv, ok := value.(string) @@ -16041,7 +15668,6 @@ func awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(v **type } sv.RelationalDatabaseSourceType = types.RelationalDatabaseSourceType(jtv) } - default: _, _ = key, value @@ -16077,7 +15703,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac if err := awsRestjson1_deserializeDocumentCachingConfig(&sv.CachingConfig, value); err != nil { return err } - case "code": if value != nil { jtv, ok := value.(string) @@ -16086,7 +15711,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.Code = ptr.String(jtv) } - case "dataSourceName": if value != nil { jtv, ok := value.(string) @@ -16095,7 +15719,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.DataSourceName = ptr.String(jtv) } - case "fieldName": if value != nil { jtv, ok := value.(string) @@ -16104,7 +15727,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.FieldName = ptr.String(jtv) } - case "kind": if value != nil { jtv, ok := value.(string) @@ -16113,7 +15735,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.Kind = types.ResolverKind(jtv) } - case "maxBatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -16126,7 +15747,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.MaxBatchSize = int32(i64) } - case "metricsConfig": if value != nil { jtv, ok := value.(string) @@ -16135,12 +15755,10 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.MetricsConfig = types.ResolverLevelMetricsConfig(jtv) } - case "pipelineConfig": if err := awsRestjson1_deserializeDocumentPipelineConfig(&sv.PipelineConfig, value); err != nil { return err } - case "requestMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -16149,7 +15767,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.RequestMappingTemplate = ptr.String(jtv) } - case "resolverArn": if value != nil { jtv, ok := value.(string) @@ -16158,7 +15775,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.ResolverArn = ptr.String(jtv) } - case "responseMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -16167,17 +15783,14 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.ResponseMappingTemplate = ptr.String(jtv) } - case "runtime": if err := awsRestjson1_deserializeDocumentAppSyncRuntime(&sv.Runtime, value); err != nil { return err } - case "syncConfig": if err := awsRestjson1_deserializeDocumentSyncConfig(&sv.SyncConfig, value); err != nil { return err } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -16186,7 +15799,6 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -16250,15 +15862,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16266,15 +15872,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16309,7 +15911,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.AssociationArn = ptr.String(jtv) } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -16318,7 +15919,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.AssociationId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16327,7 +15927,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.Description = ptr.String(jtv) } - case "lastSuccessfulMergeDate": if value != nil { switch jtv := value.(type) { @@ -16343,7 +15942,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } } - case "mergedApiArn": if value != nil { jtv, ok := value.(string) @@ -16352,7 +15950,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.MergedApiArn = ptr.String(jtv) } - case "mergedApiId": if value != nil { jtv, ok := value.(string) @@ -16361,7 +15958,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.MergedApiId = ptr.String(jtv) } - case "sourceApiArn": if value != nil { jtv, ok := value.(string) @@ -16370,12 +15966,10 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiArn = ptr.String(jtv) } - case "sourceApiAssociationConfig": if err := awsRestjson1_deserializeDocumentSourceApiAssociationConfig(&sv.SourceApiAssociationConfig, value); err != nil { return err } - case "sourceApiAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -16384,7 +15978,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } - case "sourceApiAssociationStatusDetail": if value != nil { jtv, ok := value.(string) @@ -16393,7 +15986,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiAssociationStatusDetail = ptr.String(jtv) } - case "sourceApiId": if value != nil { jtv, ok := value.(string) @@ -16402,7 +15994,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiId = ptr.String(jtv) } - default: _, _ = key, value @@ -16442,7 +16033,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationConfig(v **types.Source } sv.MergeType = types.MergeType(jtv) } - default: _, _ = key, value @@ -16482,7 +16072,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.AssociationArn = ptr.String(jtv) } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -16491,7 +16080,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.AssociationId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16500,7 +16088,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.Description = ptr.String(jtv) } - case "mergedApiArn": if value != nil { jtv, ok := value.(string) @@ -16509,7 +16096,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.MergedApiArn = ptr.String(jtv) } - case "mergedApiId": if value != nil { jtv, ok := value.(string) @@ -16518,7 +16104,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.MergedApiId = ptr.String(jtv) } - case "sourceApiArn": if value != nil { jtv, ok := value.(string) @@ -16527,7 +16112,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.SourceApiArn = ptr.String(jtv) } - case "sourceApiId": if value != nil { jtv, ok := value.(string) @@ -16536,7 +16120,6 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.SourceApiId = ptr.String(jtv) } - default: _, _ = key, value @@ -16610,7 +16193,6 @@ func awsRestjson1_deserializeDocumentSyncConfig(v **types.SyncConfig, value inte } sv.ConflictDetection = types.ConflictDetectionType(jtv) } - case "conflictHandler": if value != nil { jtv, ok := value.(string) @@ -16619,12 +16201,10 @@ func awsRestjson1_deserializeDocumentSyncConfig(v **types.SyncConfig, value inte } sv.ConflictHandler = types.ConflictHandlerType(jtv) } - case "lambdaConflictHandlerConfig": if err := awsRestjson1_deserializeDocumentLambdaConflictHandlerConfig(&sv.LambdaConflictHandlerConfig, value); err != nil { return err } - default: _, _ = key, value @@ -16700,7 +16280,6 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "definition": if value != nil { jtv, ok := value.(string) @@ -16709,7 +16288,6 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Definition = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16718,7 +16296,6 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Description = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -16727,7 +16304,6 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Format = types.TypeDefinitionFormat(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16736,7 +16312,6 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16800,15 +16375,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16816,15 +16385,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16859,7 +16424,6 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.AppIdClientRegex = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -16868,7 +16432,6 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.AwsRegion = ptr.String(jtv) } - case "defaultAction": if value != nil { jtv, ok := value.(string) @@ -16877,7 +16440,6 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.DefaultAction = types.DefaultAction(jtv) } - case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -16886,7 +16448,6 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/apptest/deserializers.go b/service/apptest/deserializers.go index 160d9feaf4c..b722e7b1df3 100644 --- a/service/apptest/deserializers.go +++ b/service/apptest/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestCaseOutput(v **CreateTestCaseOu } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -204,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestCaseOutput(v **CreateTestCaseOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -375,7 +373,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestConfigurationOutput(v **CreateT } sv.TestConfigurationId = ptr.String(jtv) } - case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -388,7 +385,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestConfigurationOutput(v **CreateT } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -559,7 +555,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestSuiteOutput(v **CreateTestSuite } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -572,7 +567,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestSuiteOutput(v **CreateTestSuite } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1156,7 +1150,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1165,7 +1158,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Description = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1181,12 +1173,10 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } } - case "latestVersion": if err := awsRestjson1_deserializeDocumentTestCaseLatestVersion(&sv.LatestVersion, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1195,7 +1185,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1204,7 +1193,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Status = types.TestCaseLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1213,17 +1201,14 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.StatusReason = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "testCaseArn": if value != nil { jtv, ok := value.(string) @@ -1232,7 +1217,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseArn = ptr.String(jtv) } - case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -1241,7 +1225,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1254,7 +1237,6 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1429,7 +1411,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1438,7 +1419,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Description = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1454,12 +1434,10 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } } - case "latestVersion": if err := awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(&sv.LatestVersion, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1468,22 +1446,18 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Name = ptr.String(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentProperties(&sv.Properties, value); err != nil { return err } - case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "serviceSettings": if err := awsRestjson1_deserializeDocumentServiceSettings(&sv.ServiceSettings, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1492,7 +1466,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Status = types.TestConfigurationLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1501,12 +1474,10 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "testConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1515,7 +1486,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationArn = ptr.String(jtv) } - case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -1524,7 +1494,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationId = ptr.String(jtv) } - case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1537,7 +1506,6 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1705,7 +1673,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.AfterStep = ptr.Bool(jtv) } - case "beforeStep": if value != nil { jtv, ok := value.(bool) @@ -1714,7 +1681,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.BeforeStep = ptr.Bool(jtv) } - case "runEndTime": if value != nil { switch jtv := value.(type) { @@ -1730,7 +1696,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } } - case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -1746,7 +1711,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1755,7 +1719,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.Status = types.StepRunStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1764,7 +1727,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.StatusReason = ptr.String(jtv) } - case "stepName": if value != nil { jtv, ok := value.(string) @@ -1773,12 +1735,10 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.StepName = ptr.String(jtv) } - case "stepRunSummary": if err := awsRestjson1_deserializeDocumentStepRunSummary(&sv.StepRunSummary, value); err != nil { return err } - case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -1787,7 +1747,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1800,7 +1759,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - case "testRunId": if value != nil { jtv, ok := value.(string) @@ -1809,7 +1767,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestRunId = ptr.String(jtv) } - case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -1818,7 +1775,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1831,7 +1787,6 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1995,12 +1950,10 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput if err := awsRestjson1_deserializeDocumentStepList(&sv.AfterSteps, value); err != nil { return err } - case "beforeSteps": if err := awsRestjson1_deserializeDocumentStepList(&sv.BeforeSteps, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2016,7 +1969,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2025,7 +1977,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Description = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2041,12 +1992,10 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } } - case "latestVersion": if err := awsRestjson1_deserializeDocumentTestSuiteLatestVersion(&sv.LatestVersion, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2055,7 +2004,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2064,7 +2012,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Status = types.TestSuiteLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2073,17 +2020,14 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "testCases": if err := awsRestjson1_deserializeDocumentTestCases(&sv.TestCases, value); err != nil { return err } - case "testSuiteArn": if value != nil { jtv, ok := value.(string) @@ -2092,7 +2036,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteArn = ptr.String(jtv) } - case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -2101,7 +2044,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -2114,7 +2056,6 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2278,7 +2219,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2446,12 +2386,10 @@ func awsRestjson1_deserializeOpDocumentListTestCasesOutput(v **ListTestCasesOutp } sv.NextToken = ptr.String(jtv) } - case "testCases": if err := awsRestjson1_deserializeDocumentTestCaseSummaryList(&sv.TestCases, value); err != nil { return err } - default: _, _ = key, value @@ -2619,12 +2557,10 @@ func awsRestjson1_deserializeOpDocumentListTestConfigurationsOutput(v **ListTest } sv.NextToken = ptr.String(jtv) } - case "testConfigurations": if err := awsRestjson1_deserializeDocumentTestConfigurationList(&sv.TestConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -2792,12 +2728,10 @@ func awsRestjson1_deserializeOpDocumentListTestRunsOutput(v **ListTestRunsOutput } sv.NextToken = ptr.String(jtv) } - case "testRuns": if err := awsRestjson1_deserializeDocumentTestRunSummaryList(&sv.TestRuns, value); err != nil { return err } - default: _, _ = key, value @@ -2965,12 +2899,10 @@ func awsRestjson1_deserializeOpDocumentListTestRunStepsOutput(v **ListTestRunSte } sv.NextToken = ptr.String(jtv) } - case "testRunSteps": if err := awsRestjson1_deserializeDocumentTestRunStepSummaryList(&sv.TestRunSteps, value); err != nil { return err } - default: _, _ = key, value @@ -3138,12 +3070,10 @@ func awsRestjson1_deserializeOpDocumentListTestRunTestCasesOutput(v **ListTestRu } sv.NextToken = ptr.String(jtv) } - case "testRunTestCases": if err := awsRestjson1_deserializeDocumentTestCaseRunSummaryList(&sv.TestRunTestCases, value); err != nil { return err } - default: _, _ = key, value @@ -3311,12 +3241,10 @@ func awsRestjson1_deserializeOpDocumentListTestSuitesOutput(v **ListTestSuitesOu } sv.NextToken = ptr.String(jtv) } - case "testSuites": if err := awsRestjson1_deserializeDocumentTestSuiteList(&sv.TestSuites, value); err != nil { return err } - default: _, _ = key, value @@ -3490,7 +3418,6 @@ func awsRestjson1_deserializeOpDocumentStartTestRunOutput(v **StartTestRunOutput } sv.TestRunId = ptr.String(jtv) } - case "testRunStatus": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3426,6 @@ func awsRestjson1_deserializeOpDocumentStartTestRunOutput(v **StartTestRunOutput } sv.TestRunStatus = types.TestRunStatus(jtv) } - default: _, _ = key, value @@ -3873,7 +3799,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestCaseOutput(v **UpdateTestCaseOu } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3886,7 +3811,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestCaseOutput(v **UpdateTestCaseOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4057,7 +3981,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestConfigurationOutput(v **UpdateT } sv.TestConfigurationId = ptr.String(jtv) } - case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -4070,7 +3993,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestConfigurationOutput(v **UpdateT } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4241,7 +4163,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSuiteOutput(v **UpdateTestSuite } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -4254,7 +4175,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSuiteOutput(v **UpdateTestSuite } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4576,15 +4496,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4592,15 +4506,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4635,17 +4545,14 @@ func awsRestjson1_deserializeDocumentBatch(v **types.Batch, value interface{}) e } sv.BatchJobName = ptr.String(jtv) } - case "batchJobParameters": if err := awsRestjson1_deserializeDocumentBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } - case "exportDataSetNames": if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } - default: _, _ = key, value @@ -4721,27 +4628,22 @@ func awsRestjson1_deserializeDocumentBatchStepInput(v **types.BatchStepInput, va } sv.BatchJobName = ptr.String(jtv) } - case "batchJobParameters": if err := awsRestjson1_deserializeDocumentBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } - case "exportDataSetNames": if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } - case "resource": if err := awsRestjson1_deserializeDocumentMainframeResourceSummary(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -4777,7 +4679,6 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, if err := awsRestjson1_deserializeDocumentDataSetList(&sv.DataSetDetails, value); err != nil { return err } - case "dataSetExportLocation": if value != nil { jtv, ok := value.(string) @@ -4786,7 +4687,6 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, } sv.DataSetExportLocation = ptr.String(jtv) } - case "dmsOutputLocation": if value != nil { jtv, ok := value.(string) @@ -4795,7 +4695,6 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, } sv.DmsOutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -4831,12 +4730,10 @@ func awsRestjson1_deserializeDocumentBatchSummary(v **types.BatchSummary, value if err := awsRestjson1_deserializeDocumentBatchStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentBatchStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -4872,7 +4769,6 @@ func awsRestjson1_deserializeDocumentCloudFormation(v **types.CloudFormation, va if err := awsRestjson1_deserializeDocumentProperties(&sv.Parameters, value); err != nil { return err } - case "templateLocation": if value != nil { jtv, ok := value.(string) @@ -4881,7 +4777,6 @@ func awsRestjson1_deserializeDocumentCloudFormation(v **types.CloudFormation, va } sv.TemplateLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -4921,7 +4816,6 @@ func awsRestjson1_deserializeDocumentCloudFormationAction(v **types.CloudFormati } sv.ActionType = types.CloudFormationActionType(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -4930,7 +4824,6 @@ func awsRestjson1_deserializeDocumentCloudFormationAction(v **types.CloudFormati } sv.Resource = ptr.String(jtv) } - default: _, _ = key, value @@ -5016,12 +4909,10 @@ func awsRestjson1_deserializeDocumentCompareAction(v **types.CompareAction, valu if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - case "output": if err := awsRestjson1_deserializeDocumentOutput(&sv.Output, value); err != nil { return err } - default: _, _ = key, value @@ -5057,7 +4948,6 @@ func awsRestjson1_deserializeDocumentCompareActionSummary(v **types.CompareActio if err := awsRestjson1_deserializeDocumentFile(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -5097,7 +4987,6 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.OutputLocation = ptr.String(jtv) } - case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -5106,12 +4995,10 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.SourceLocation = ptr.String(jtv) } - case "sourceMetadata": if err := awsRestjson1_deserializeDocumentSourceDatabaseMetadata(&sv.SourceMetadata, value); err != nil { return err } - case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -5120,12 +5007,10 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.TargetLocation = ptr.String(jtv) } - case "targetMetadata": if err := awsRestjson1_deserializeDocumentTargetDatabaseMetadata(&sv.TargetMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -5165,7 +5050,6 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(v **types.Comp } sv.ComparisonOutputLocation = ptr.String(jtv) } - case "comparisonStatus": if value != nil { jtv, ok := value.(string) @@ -5174,7 +5058,6 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(v **types.Comp } sv.ComparisonStatus = types.ComparisonStatusEnum(jtv) } - default: _, _ = key, value @@ -5210,12 +5093,10 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCSummary(v **types.Compare if err := awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -5251,7 +5132,6 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD if err := awsRestjson1_deserializeDocumentDataSetList(&sv.SourceDataSets, value); err != nil { return err } - case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -5260,12 +5140,10 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD } sv.SourceLocation = ptr.String(jtv) } - case "targetDataSets": if err := awsRestjson1_deserializeDocumentDataSetList(&sv.TargetDataSets, value); err != nil { return err } - case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -5274,7 +5152,6 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD } sv.TargetLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -5314,7 +5191,6 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(v **types.Compare } sv.ComparisonOutputLocation = ptr.String(jtv) } - case "comparisonStatus": if value != nil { jtv, ok := value.(string) @@ -5323,7 +5199,6 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(v **types.Compare } sv.ComparisonStatus = types.ComparisonStatusEnum(jtv) } - default: _, _ = key, value @@ -5359,12 +5234,10 @@ func awsRestjson1_deserializeDocumentCompareDataSetsSummary(v **types.CompareDat if err := awsRestjson1_deserializeDocumentCompareDataSetsStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -5444,15 +5317,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5460,7 +5327,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5469,7 +5335,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5478,15 +5343,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5517,7 +5378,6 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(v **types.Cre if err := awsRestjson1_deserializeDocumentProperties(&sv.Parameters, value); err != nil { return err } - case "templateLocation": if value != nil { jtv, ok := value.(string) @@ -5526,7 +5386,6 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(v **types.Cre } sv.TemplateLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -5562,7 +5421,6 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(v **types.Cr if err := awsRestjson1_deserializeDocumentProperties(&sv.Exports, value); err != nil { return err } - case "stackId": if value != nil { jtv, ok := value.(string) @@ -5571,7 +5429,6 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(v **types.Cr } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -5607,12 +5464,10 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationSummary(v **types.Creat if err := awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -5648,12 +5503,10 @@ func awsRestjson1_deserializeDocumentDatabaseCDC(v **types.DatabaseCDC, value in if err := awsRestjson1_deserializeDocumentSourceDatabaseMetadata(&sv.SourceMetadata, value); err != nil { return err } - case "targetMetadata": if err := awsRestjson1_deserializeDocumentTargetDatabaseMetadata(&sv.TargetMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -5693,7 +5546,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Ccsid = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -5702,7 +5554,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Format = types.Format(jtv) } - case "length": if value != nil { jtv, ok := value.(json.Number) @@ -5715,7 +5566,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Length = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5724,7 +5574,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5733,7 +5582,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Type = types.DataSetType(jtv) } - default: _, _ = key, value @@ -5807,7 +5655,6 @@ func awsRestjson1_deserializeDocumentDeleteCloudFormationStepInput(v **types.Del } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -5874,12 +5721,10 @@ func awsRestjson1_deserializeDocumentDeleteCloudFormationSummary(v **types.Delet if err := awsRestjson1_deserializeDocumentDeleteCloudFormationStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentDeleteCloudFormationStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -6077,7 +5922,6 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf if err := awsRestjson1_deserializeDocumentFileMetadata(&sv.FileMetadata, value); err != nil { return err } - case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -6086,7 +5930,6 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf } sv.SourceLocation = ptr.String(jtv) } - case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -6095,7 +5938,6 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf } sv.TargetLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -6125,15 +5967,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6141,7 +5977,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6154,15 +5989,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6197,7 +6028,6 @@ func awsRestjson1_deserializeDocumentM2ManagedActionProperties(v **types.M2Manag } sv.ForceStop = ptr.Bool(jtv) } - case "importDataSetLocation": if value != nil { jtv, ok := value.(string) @@ -6206,7 +6036,6 @@ func awsRestjson1_deserializeDocumentM2ManagedActionProperties(v **types.M2Manag } sv.ImportDataSetLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -6246,7 +6075,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.ApplicationId = ptr.String(jtv) } - case "listenerPort": if value != nil { jtv, ok := value.(string) @@ -6255,7 +6083,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.ListenerPort = ptr.String(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6264,7 +6091,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.Runtime = types.M2ManagedRuntime(jtv) } - case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6273,7 +6099,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.VpcEndpointServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6313,12 +6138,10 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationAction(v **types.M2Mana } sv.ActionType = types.M2ManagedActionType(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentM2ManagedActionProperties(&sv.Properties, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -6327,7 +6150,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationAction(v **types.M2Mana } sv.Resource = ptr.String(jtv) } - default: _, _ = key, value @@ -6367,7 +6189,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ActionType = types.M2ManagedActionType(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -6376,7 +6197,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ApplicationId = ptr.String(jtv) } - case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6389,12 +6209,10 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ListenerPort = ptr.Int32(int32(i64)) } - case "properties": if err := awsRestjson1_deserializeDocumentM2ManagedActionProperties(&sv.Properties, value); err != nil { return err } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6403,7 +6221,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.Runtime = ptr.String(jtv) } - case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6412,7 +6229,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.VpcEndpointServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6448,7 +6264,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepOutput(v **types.M2 if err := awsRestjson1_deserializeDocumentProperties(&sv.ImportDataSetSummary, value); err != nil { return err } - default: _, _ = key, value @@ -6484,12 +6299,10 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepSummary(v **types.M if err := awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentM2ManagedApplicationStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -6529,7 +6342,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.ApplicationId = ptr.String(jtv) } - case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6542,7 +6354,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.ListenerPort = ptr.Int32(int32(i64)) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6551,7 +6362,6 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.Runtime = types.M2ManagedRuntime(jtv) } - default: _, _ = key, value @@ -6591,7 +6401,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.ListenerPort = ptr.String(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6600,7 +6409,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.Runtime = types.M2NonManagedRuntime(jtv) } - case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6609,7 +6417,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.VpcEndpointServiceName = ptr.String(jtv) } - case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6618,7 +6425,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.WebAppName = ptr.String(jtv) } - default: _, _ = key, value @@ -6658,7 +6464,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationAction(v **types.M2N } sv.ActionType = types.M2NonManagedActionType(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -6667,7 +6472,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationAction(v **types.M2N } sv.Resource = ptr.String(jtv) } - default: _, _ = key, value @@ -6707,7 +6511,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.ActionType = types.M2NonManagedActionType(jtv) } - case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6720,7 +6523,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.ListenerPort = ptr.Int32(int32(i64)) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6729,7 +6531,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.Runtime = types.M2NonManagedRuntime(jtv) } - case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6738,7 +6539,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.VpcEndpointServiceName = ptr.String(jtv) } - case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6747,7 +6547,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.WebAppName = ptr.String(jtv) } - default: _, _ = key, value @@ -6814,12 +6613,10 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepSummary(v **type if err := awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentM2NonManagedApplicationStepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -6863,7 +6660,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.ListenerPort = ptr.Int32(int32(i64)) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -6872,7 +6668,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.Runtime = types.M2NonManagedRuntime(jtv) } - case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6881,7 +6676,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.VpcEndpointServiceName = ptr.String(jtv) } - case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6890,7 +6684,6 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.WebAppName = ptr.String(jtv) } - default: _, _ = key, value @@ -6926,12 +6719,10 @@ func awsRestjson1_deserializeDocumentMainframeAction(v **types.MainframeAction, if err := awsRestjson1_deserializeDocumentMainframeActionType(&sv.ActionType, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -6940,7 +6731,6 @@ func awsRestjson1_deserializeDocumentMainframeAction(v **types.MainframeAction, } sv.Resource = ptr.String(jtv) } - default: _, _ = key, value @@ -6980,7 +6770,6 @@ func awsRestjson1_deserializeDocumentMainframeActionProperties(v **types.Mainfra } sv.DmsTaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7210,7 +6999,6 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.FileLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -7286,12 +7074,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - case "type": if err := awsRestjson1_deserializeDocumentResourceType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -7473,15 +7259,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7489,7 +7269,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7498,7 +7277,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7507,15 +7285,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7610,7 +7384,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptLocation = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7619,7 +7392,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Type = types.ScriptType(jtv) } - default: _, _ = key, value @@ -7659,7 +7431,6 @@ func awsRestjson1_deserializeDocumentScriptSummary(v **types.ScriptSummary, valu } sv.ScriptLocation = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7668,7 +7439,6 @@ func awsRestjson1_deserializeDocumentScriptSummary(v **types.ScriptSummary, valu } sv.Type = types.ScriptType(jtv) } - default: _, _ = key, value @@ -7698,15 +7468,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7714,7 +7478,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7723,7 +7486,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7732,7 +7494,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7741,7 +7502,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7750,15 +7510,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7793,7 +7549,6 @@ func awsRestjson1_deserializeDocumentServiceSettings(v **types.ServiceSettings, } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -7833,7 +7588,6 @@ func awsRestjson1_deserializeDocumentSourceDatabaseMetadata(v **types.SourceData } sv.CaptureTool = types.CaptureTool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7842,7 +7596,6 @@ func awsRestjson1_deserializeDocumentSourceDatabaseMetadata(v **types.SourceData } sv.Type = types.SourceDatabase(jtv) } - default: _, _ = key, value @@ -7878,7 +7631,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err if err := awsRestjson1_deserializeDocumentStepAction(&sv.Action, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -7887,7 +7639,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7896,7 +7647,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8120,7 +7870,6 @@ func awsRestjson1_deserializeDocumentTargetDatabaseMetadata(v **types.TargetData } sv.CaptureTool = types.CaptureTool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8129,7 +7878,6 @@ func awsRestjson1_deserializeDocumentTargetDatabaseMetadata(v **types.TargetData } sv.Type = types.TargetDatabase(jtv) } - default: _, _ = key, value @@ -8169,7 +7917,6 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.Status = types.TestCaseLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8178,7 +7925,6 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.StatusReason = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -8191,7 +7937,6 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8274,7 +8019,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } } - case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -8290,7 +8034,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8299,7 +8042,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.Status = types.TestCaseRunStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8308,7 +8050,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.StatusReason = ptr.String(jtv) } - case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8317,7 +8058,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8330,7 +8070,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - case "testRunId": if value != nil { jtv, ok := value.(string) @@ -8339,7 +8078,6 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -8458,7 +8196,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -8474,7 +8211,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } } - case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8487,7 +8223,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.LatestVersion = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8496,7 +8231,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8505,7 +8239,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.Status = types.TestCaseLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8514,7 +8247,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.StatusReason = ptr.String(jtv) } - case "testCaseArn": if value != nil { jtv, ok := value.(string) @@ -8523,7 +8255,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.TestCaseArn = ptr.String(jtv) } - case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8532,7 +8263,6 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.TestCaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -8606,7 +8336,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.Status = types.TestConfigurationLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8615,7 +8344,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.StatusReason = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -8628,7 +8356,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8709,7 +8436,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -8725,7 +8451,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } } - case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8738,7 +8463,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.LatestVersion = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8747,7 +8471,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8756,7 +8479,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.Status = types.TestConfigurationLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8765,7 +8487,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.StatusReason = ptr.String(jtv) } - case "testConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8774,7 +8495,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.TestConfigurationArn = ptr.String(jtv) } - case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8783,7 +8503,6 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.TestConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -8823,7 +8542,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.AfterStep = ptr.Bool(jtv) } - case "beforeStep": if value != nil { jtv, ok := value.(bool) @@ -8832,7 +8550,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.BeforeStep = ptr.Bool(jtv) } - case "runEndTime": if value != nil { switch jtv := value.(type) { @@ -8848,7 +8565,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } } - case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -8864,7 +8580,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8873,7 +8588,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.Status = types.StepRunStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8882,7 +8596,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.StatusReason = ptr.String(jtv) } - case "stepName": if value != nil { jtv, ok := value.(string) @@ -8891,7 +8604,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.StepName = ptr.String(jtv) } - case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8900,7 +8612,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestCaseId = ptr.String(jtv) } - case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8913,7 +8624,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestCaseVersion = ptr.Int32(int32(i64)) } - case "testRunId": if value != nil { jtv, ok := value.(string) @@ -8922,7 +8632,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestRunId = ptr.String(jtv) } - case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -8931,7 +8640,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8944,7 +8652,6 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9025,7 +8732,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } } - case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -9041,7 +8747,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -9050,7 +8755,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.Status = types.TestRunStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9059,7 +8763,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.StatusReason = ptr.String(jtv) } - case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9068,7 +8771,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestConfigurationId = ptr.String(jtv) } - case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9081,7 +8783,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } - case "testRunArn": if value != nil { jtv, ok := value.(string) @@ -9090,7 +8791,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestRunArn = ptr.String(jtv) } - case "testRunId": if value != nil { jtv, ok := value.(string) @@ -9099,7 +8799,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestRunId = ptr.String(jtv) } - case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -9108,7 +8807,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestSuiteId = ptr.String(jtv) } - case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9121,7 +8819,6 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9195,7 +8892,6 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.Status = types.TestSuiteLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9204,7 +8900,6 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.StatusReason = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -9217,7 +8912,6 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9298,7 +8992,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -9314,7 +9007,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } } - case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9327,7 +9019,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.LatestVersion = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9336,7 +9027,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9345,7 +9035,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.Status = types.TestSuiteLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9354,7 +9043,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.StatusReason = ptr.String(jtv) } - case "testSuiteArn": if value != nil { jtv, ok := value.(string) @@ -9363,7 +9051,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.TestSuiteArn = ptr.String(jtv) } - case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -9372,7 +9059,6 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.TestSuiteId = ptr.String(jtv) } - default: _, _ = key, value @@ -9402,15 +9088,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9418,7 +9098,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9427,7 +9106,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9440,7 +9118,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9449,15 +9126,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9488,12 +9161,10 @@ func awsRestjson1_deserializeDocumentTN3270(v **types.TN3270, value interface{}) if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } - case "script": if err := awsRestjson1_deserializeDocumentScript(&sv.Script, value); err != nil { return err } - default: _, _ = key, value @@ -9529,22 +9200,18 @@ func awsRestjson1_deserializeDocumentTN3270StepInput(v **types.TN3270StepInput, if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } - case "resource": if err := awsRestjson1_deserializeDocumentMainframeResourceSummary(&sv.Resource, value); err != nil { return err } - case "script": if err := awsRestjson1_deserializeDocumentScriptSummary(&sv.Script, value); err != nil { return err } - default: _, _ = key, value @@ -9580,7 +9247,6 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput if err := awsRestjson1_deserializeDocumentDataSetList(&sv.DataSetDetails, value); err != nil { return err } - case "dataSetExportLocation": if value != nil { jtv, ok := value.(string) @@ -9589,7 +9255,6 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.DataSetExportLocation = ptr.String(jtv) } - case "dmsOutputLocation": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9263,6 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.DmsOutputLocation = ptr.String(jtv) } - case "scriptOutputLocation": if value != nil { jtv, ok := value.(string) @@ -9607,7 +9271,6 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.ScriptOutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -9643,12 +9306,10 @@ func awsRestjson1_deserializeDocumentTN3270Summary(v **types.TN3270Summary, valu if err := awsRestjson1_deserializeDocumentTN3270StepInput(&sv.StepInput, value); err != nil { return err } - case "stepOutput": if err := awsRestjson1_deserializeDocumentTN3270StepOutput(&sv.StepOutput, value); err != nil { return err } - default: _, _ = key, value @@ -9678,20 +9339,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9699,7 +9353,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9708,15 +9361,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9751,7 +9400,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9760,7 +9408,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/arczonalshift/deserializers.go b/service/arczonalshift/deserializers.go index fbb1c92f24b..2d2e5220f81 100644 --- a/service/arczonalshift/deserializers.go +++ b/service/arczonalshift/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.AwayFrom = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -200,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.Comment = ptr.String(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -216,7 +214,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -225,7 +222,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.ResourceIdentifier = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -241,7 +237,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } } - case "status": if value != nil { jtv, ok := value.(string) @@ -250,7 +245,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.Status = types.ZonalShiftStatus(jtv) } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -259,7 +253,6 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value @@ -430,7 +423,6 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -439,12 +431,10 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } - case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -453,7 +443,6 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - default: _, _ = key, value @@ -624,7 +613,6 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -633,7 +621,6 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -642,7 +629,6 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - default: _, _ = key, value @@ -804,7 +790,6 @@ func awsRestjson1_deserializeOpDocumentGetAutoshiftObserverNotificationStatusOut } sv.Status = types.AutoshiftObserverNotificationStatus(jtv) } - default: _, _ = key, value @@ -968,7 +953,6 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe if err := awsRestjson1_deserializeDocumentAppliedWeights(&sv.AppliedWeights, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -977,12 +961,10 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.Arn = ptr.String(jtv) } - case "autoshifts": if err := awsRestjson1_deserializeDocumentAutoshiftsInResource(&sv.Autoshifts, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -991,12 +973,10 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.Name = ptr.String(jtv) } - case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -1005,12 +985,10 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - case "zonalShifts": if err := awsRestjson1_deserializeDocumentZonalShiftsInResource(&sv.ZonalShifts, value); err != nil { return err } - default: _, _ = key, value @@ -1171,7 +1149,6 @@ func awsRestjson1_deserializeOpDocumentListAutoshiftsOutput(v **ListAutoshiftsOu if err := awsRestjson1_deserializeDocumentAutoshiftSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1180,7 +1157,6 @@ func awsRestjson1_deserializeOpDocumentListAutoshiftsOutput(v **ListAutoshiftsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1341,7 +1317,6 @@ func awsRestjson1_deserializeOpDocumentListManagedResourcesOutput(v **ListManage if err := awsRestjson1_deserializeDocumentManagedResourceSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1350,7 +1325,6 @@ func awsRestjson1_deserializeOpDocumentListManagedResourcesOutput(v **ListManage } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1511,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentListZonalShiftsOutput(v **ListZonalShifts if err := awsRestjson1_deserializeDocumentZonalShiftSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1520,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentListZonalShiftsOutput(v **ListZonalShifts } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1691,7 +1663,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.AwayFrom = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -1700,7 +1671,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.Comment = ptr.String(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -1716,7 +1686,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -1725,7 +1694,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.ResourceIdentifier = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -1741,7 +1709,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1750,7 +1717,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.Status = types.ZonalShiftStatus(jtv) } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -1759,7 +1725,6 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value @@ -1924,7 +1889,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAutoshiftObserverNotificationStatus } sv.Status = types.AutoshiftObserverNotificationStatus(jtv) } - default: _, _ = key, value @@ -2095,7 +2059,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2104,12 +2067,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } - case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -2118,7 +2079,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - default: _, _ = key, value @@ -2289,7 +2249,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalAutoshiftConfigurationOutput(v } sv.ResourceIdentifier = ptr.String(jtv) } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -2298,7 +2257,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalAutoshiftConfigurationOutput(v } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - default: _, _ = key, value @@ -2469,7 +2427,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.AwayFrom = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -2478,7 +2435,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.Comment = ptr.String(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -2494,7 +2450,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -2503,7 +2458,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.ResourceIdentifier = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -2519,7 +2473,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } } - case "status": if value != nil { jtv, ok := value.(string) @@ -2528,7 +2481,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.Status = types.ZonalShiftStatus(jtv) } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -2537,7 +2489,6 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value @@ -2783,15 +2734,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2799,15 +2744,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2903,7 +2844,6 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } sv.AppliedStatus = types.AutoshiftAppliedStatus(jtv) } - case "awayFrom": if value != nil { jtv, ok := value.(string) @@ -2912,7 +2852,6 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } sv.AwayFrom = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -2928,7 +2867,6 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } } - default: _, _ = key, value @@ -3036,7 +2974,6 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } sv.AwayFrom = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -3052,7 +2989,6 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3068,7 +3004,6 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3077,7 +3012,6 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } sv.Status = types.AutoshiftExecutionStatus(jtv) } - default: _, _ = key, value @@ -3215,15 +3149,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3231,7 +3159,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -3240,7 +3167,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -3249,15 +3175,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3292,7 +3214,6 @@ func awsRestjson1_deserializeDocumentControlCondition(v **types.ControlCondition } sv.AlarmIdentifier = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3301,7 +3222,6 @@ func awsRestjson1_deserializeDocumentControlCondition(v **types.ControlCondition } sv.Type = types.ControlConditionType(jtv) } - default: _, _ = key, value @@ -3365,15 +3285,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3381,15 +3295,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3454,7 +3364,6 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes if err := awsRestjson1_deserializeDocumentAppliedWeights(&sv.AppliedWeights, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3463,17 +3372,14 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.Arn = ptr.String(jtv) } - case "autoshifts": if err := awsRestjson1_deserializeDocumentAutoshiftsInResource(&sv.Autoshifts, value); err != nil { return err } - case "availabilityZones": if err := awsRestjson1_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3482,7 +3388,6 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.Name = ptr.String(jtv) } - case "practiceRunStatus": if value != nil { jtv, ok := value.(string) @@ -3491,7 +3396,6 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.PracticeRunStatus = types.ZonalAutoshiftStatus(jtv) } - case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -3500,12 +3404,10 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } - case "zonalShifts": if err := awsRestjson1_deserializeDocumentZonalShiftsInResource(&sv.ZonalShifts, value); err != nil { return err } - default: _, _ = key, value @@ -3541,22 +3443,18 @@ func awsRestjson1_deserializeDocumentPracticeRunConfiguration(v **types.Practice if err := awsRestjson1_deserializeDocumentBlockedDates(&sv.BlockedDates, value); err != nil { return err } - case "blockedWindows": if err := awsRestjson1_deserializeDocumentBlockedWindows(&sv.BlockedWindows, value); err != nil { return err } - case "blockingAlarms": if err := awsRestjson1_deserializeDocumentControlConditions(&sv.BlockingAlarms, value); err != nil { return err } - case "outcomeAlarms": if err := awsRestjson1_deserializeDocumentControlConditions(&sv.OutcomeAlarms, value); err != nil { return err } - default: _, _ = key, value @@ -3586,15 +3484,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3602,15 +3494,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3635,15 +3523,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3651,15 +3533,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3684,15 +3562,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3700,7 +3572,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -3709,15 +3580,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3752,7 +3619,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.AppliedStatus = types.AppliedStatus(jtv) } - case "awayFrom": if value != nil { jtv, ok := value.(string) @@ -3761,7 +3627,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.AwayFrom = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -3770,7 +3635,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.Comment = ptr.String(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -3786,7 +3650,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } } - case "practiceRunOutcome": if value != nil { jtv, ok := value.(string) @@ -3795,7 +3658,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.PracticeRunOutcome = types.PracticeRunOutcome(jtv) } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -3804,7 +3666,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.ResourceIdentifier = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3820,7 +3681,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -3829,7 +3689,6 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value @@ -3937,7 +3796,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.AwayFrom = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -3946,7 +3804,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.Comment = ptr.String(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -3962,7 +3819,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } } - case "practiceRunOutcome": if value != nil { jtv, ok := value.(string) @@ -3971,7 +3827,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.PracticeRunOutcome = types.PracticeRunOutcome(jtv) } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -3980,7 +3835,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.ResourceIdentifier = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3996,7 +3850,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } } - case "status": if value != nil { jtv, ok := value.(string) @@ -4005,7 +3858,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.Status = types.ZonalShiftStatus(jtv) } - case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -4014,7 +3866,6 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.ZonalShiftId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/artifact/deserializers.go b/service/artifact/deserializers.go index 02f120c3931..fa752c3c3bc 100644 --- a/service/artifact/deserializers.go +++ b/service/artifact/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -364,7 +363,6 @@ func awsRestjson1_deserializeOpDocumentGetReportOutput(v **GetReportOutput, valu } sv.DocumentPresignedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -531,7 +529,6 @@ func awsRestjson1_deserializeOpDocumentGetReportMetadataOutput(v **GetReportMeta if err := awsRestjson1_deserializeDocumentReportDetail(&sv.ReportDetails, value); err != nil { return err } - default: _, _ = key, value @@ -705,7 +702,6 @@ func awsRestjson1_deserializeOpDocumentGetTermForReportOutput(v **GetTermForRepo } sv.DocumentPresignedUrl = ptr.String(jtv) } - case "termToken": if value != nil { jtv, ok := value.(string) @@ -714,7 +710,6 @@ func awsRestjson1_deserializeOpDocumentGetTermForReportOutput(v **GetTermForRepo } sv.TermToken = ptr.String(jtv) } - default: _, _ = key, value @@ -885,12 +880,10 @@ func awsRestjson1_deserializeOpDocumentListReportsOutput(v **ListReportsOutput, } sv.NextToken = ptr.String(jtv) } - case "reports": if err := awsRestjson1_deserializeDocumentReportsList(&sv.Reports, value); err != nil { return err } - default: _, _ = key, value @@ -1060,7 +1053,6 @@ func awsRestjson1_deserializeOpDocumentPutAccountSettingsOutput(v **PutAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -1382,15 +1374,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1398,15 +1384,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1441,7 +1423,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.NotificationSubscriptionStatus = types.NotificationSubscriptionStatus(jtv) } - default: _, _ = key, value @@ -1471,15 +1452,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1487,7 +1462,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1496,7 +1470,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1505,15 +1478,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1538,15 +1507,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1554,7 +1517,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1567,15 +1529,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1610,7 +1568,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.AcceptanceType = types.AcceptanceType(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1619,7 +1576,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Arn = ptr.String(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -1628,7 +1584,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Category = ptr.String(jtv) } - case "companyName": if value != nil { jtv, ok := value.(string) @@ -1637,7 +1592,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.CompanyName = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1650,7 +1604,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.CreatedAt = ptr.Time(t) } - case "deletedAt": if value != nil { jtv, ok := value.(string) @@ -1663,7 +1616,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.DeletedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1672,7 +1624,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1681,7 +1632,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Id = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { jtv, ok := value.(string) @@ -1694,7 +1644,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.LastModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1703,7 +1652,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Name = ptr.String(jtv) } - case "periodEnd": if value != nil { jtv, ok := value.(string) @@ -1716,7 +1664,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.PeriodEnd = ptr.Time(t) } - case "periodStart": if value != nil { jtv, ok := value.(string) @@ -1729,7 +1676,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.PeriodStart = ptr.Time(t) } - case "productName": if value != nil { jtv, ok := value.(string) @@ -1738,7 +1684,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.ProductName = ptr.String(jtv) } - case "sequenceNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1751,7 +1696,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.SequenceNumber = ptr.Int64(i64) } - case "series": if value != nil { jtv, ok := value.(string) @@ -1760,7 +1704,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Series = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1769,7 +1712,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.State = types.PublishedState(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1778,7 +1720,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.StatusMessage = ptr.String(jtv) } - case "termArn": if value != nil { jtv, ok := value.(string) @@ -1787,7 +1728,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.TermArn = ptr.String(jtv) } - case "uploadState": if value != nil { jtv, ok := value.(string) @@ -1796,7 +1736,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.UploadState = types.UploadState(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -1809,7 +1748,6 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Version = ptr.Int64(i64) } - default: _, _ = key, value @@ -1883,7 +1821,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.AcceptanceType = types.AcceptanceType(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1892,7 +1829,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Arn = ptr.String(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -1901,7 +1837,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Category = ptr.String(jtv) } - case "companyName": if value != nil { jtv, ok := value.(string) @@ -1910,7 +1845,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.CompanyName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1919,7 +1853,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1928,7 +1861,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1937,7 +1869,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Name = ptr.String(jtv) } - case "periodEnd": if value != nil { jtv, ok := value.(string) @@ -1950,7 +1881,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.PeriodEnd = ptr.Time(t) } - case "periodStart": if value != nil { jtv, ok := value.(string) @@ -1963,7 +1893,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.PeriodStart = ptr.Time(t) } - case "productName": if value != nil { jtv, ok := value.(string) @@ -1972,7 +1901,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.ProductName = ptr.String(jtv) } - case "series": if value != nil { jtv, ok := value.(string) @@ -1981,7 +1909,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Series = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1990,7 +1917,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.State = types.PublishedState(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1999,7 +1925,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.StatusMessage = ptr.String(jtv) } - case "uploadState": if value != nil { jtv, ok := value.(string) @@ -2008,7 +1933,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.UploadState = types.UploadState(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -2021,7 +1945,6 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Version = ptr.Int64(i64) } - default: _, _ = key, value @@ -2051,15 +1974,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2067,7 +1984,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2076,7 +1992,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2085,15 +2000,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2118,15 +2029,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2134,7 +2039,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2143,7 +2047,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2152,7 +2055,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2161,7 +2063,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2170,15 +2071,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2203,15 +2100,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2219,7 +2110,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2228,7 +2118,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2241,7 +2130,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2250,15 +2138,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2283,20 +2167,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2304,7 +2181,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -2313,15 +2189,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2356,7 +2228,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2365,7 +2236,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index 055e46f4b85..476d5de8fb9 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -8132,7 +8132,6 @@ func awsAwsjson11_deserializeDocumentAclConfiguration(v **types.AclConfiguration } sv.S3AclOption = types.S3AclOption(jtv) } - default: _, _ = key, value @@ -8172,12 +8171,10 @@ func awsAwsjson11_deserializeDocumentApplicationDPUSizes(v **types.ApplicationDP } sv.ApplicationRuntimeId = ptr.String(jtv) } - case "SupportedDPUSizes": if err := awsAwsjson11_deserializeDocumentSupportedDPUSizeList(&sv.SupportedDPUSizes, value); err != nil { return err } - default: _, _ = key, value @@ -8255,7 +8252,6 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorCategory = ptr.Int32(int32(i64)) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8264,7 +8260,6 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(json.Number) @@ -8277,7 +8272,6 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorType = ptr.Int32(int32(i64)) } - case "Retryable": if value != nil { jtv, ok := value.(bool) @@ -8286,7 +8280,6 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.Retryable = jtv } - default: _, _ = key, value @@ -8326,7 +8319,6 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.ResultS3Uri = ptr.String(jtv) } - case "ResultType": if value != nil { jtv, ok := value.(string) @@ -8335,7 +8327,6 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.ResultType = ptr.String(jtv) } - case "StdErrorS3Uri": if value != nil { jtv, ok := value.(string) @@ -8344,7 +8335,6 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.StdErrorS3Uri = ptr.String(jtv) } - case "StdOutS3Uri": if value != nil { jtv, ok := value.(string) @@ -8353,7 +8343,6 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.StdOutS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -8431,7 +8420,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatistics(v **types.Calculation } sv.DpuExecutionInMillis = ptr.Int64(i64) } - case "Progress": if value != nil { jtv, ok := value.(string) @@ -8440,7 +8428,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatistics(v **types.Calculation } sv.Progress = ptr.String(jtv) } - default: _, _ = key, value @@ -8487,7 +8474,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } } - case "State": if value != nil { jtv, ok := value.(string) @@ -8496,7 +8482,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } sv.State = types.CalculationExecutionState(jtv) } - case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -8505,7 +8490,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } sv.StateChangeReason = ptr.String(jtv) } - case "SubmissionDateTime": if value != nil { switch jtv := value.(type) { @@ -8521,7 +8505,6 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } } - default: _, _ = key, value @@ -8561,7 +8544,6 @@ func awsAwsjson11_deserializeDocumentCalculationSummary(v **types.CalculationSum } sv.CalculationExecutionId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8570,12 +8552,10 @@ func awsAwsjson11_deserializeDocumentCalculationSummary(v **types.CalculationSum } sv.Description = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -8622,7 +8602,6 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } } - case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -8638,7 +8617,6 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8647,7 +8625,6 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } sv.Status = types.CapacityAllocationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -8656,7 +8633,6 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8692,7 +8668,6 @@ func awsAwsjson11_deserializeDocumentCapacityAssignment(v **types.CapacityAssign if err := awsAwsjson11_deserializeDocumentWorkGroupNamesList(&sv.WorkGroupNames, value); err != nil { return err } - default: _, _ = key, value @@ -8728,7 +8703,6 @@ func awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(v **types.C if err := awsAwsjson11_deserializeDocumentCapacityAssignmentsList(&sv.CapacityAssignments, value); err != nil { return err } - case "CapacityReservationName": if value != nil { jtv, ok := value.(string) @@ -8737,7 +8711,6 @@ func awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(v **types.C } sv.CapacityReservationName = ptr.String(jtv) } - default: _, _ = key, value @@ -8815,7 +8788,6 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.AllocatedDpus = ptr.Int32(int32(i64)) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8831,12 +8803,10 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } } - case "LastAllocation": if err := awsAwsjson11_deserializeDocumentCapacityAllocation(&sv.LastAllocation, value); err != nil { return err } - case "LastSuccessfulAllocationTime": if value != nil { switch jtv := value.(type) { @@ -8852,7 +8822,6 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8861,7 +8830,6 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8870,7 +8838,6 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.Status = types.CapacityReservationStatus(jtv) } - case "TargetDpus": if value != nil { jtv, ok := value.(json.Number) @@ -8883,7 +8850,6 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.TargetDpus = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8957,7 +8923,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Comment = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8966,7 +8931,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8975,7 +8939,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -9015,7 +8978,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.CaseSensitive = jtv } - case "CatalogName": if value != nil { jtv, ok := value.(string) @@ -9024,7 +8986,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.CatalogName = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -9033,7 +8994,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Label = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9042,7 +9002,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } - case "Nullable": if value != nil { jtv, ok := value.(string) @@ -9051,7 +9010,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Nullable = types.ColumnNullable(jtv) } - case "Precision": if value != nil { jtv, ok := value.(json.Number) @@ -9064,7 +9022,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Precision = int32(i64) } - case "Scale": if value != nil { jtv, ok := value.(json.Number) @@ -9077,7 +9034,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Scale = int32(i64) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -9086,7 +9042,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.SchemaName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9095,7 +9050,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.TableName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9104,7 +9058,6 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -9212,7 +9165,6 @@ func awsAwsjson11_deserializeDocumentCustomerContentEncryptionConfiguration(v ** } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -9252,7 +9204,6 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9261,12 +9212,10 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -9340,7 +9289,6 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9349,12 +9297,10 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9363,7 +9309,6 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Type = types.DataCatalogType(jtv) } - default: _, _ = key, value @@ -9403,7 +9348,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogSummary(v **types.DataCatalogSum } sv.CatalogName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9412,7 +9356,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogSummary(v **types.DataCatalogSum } sv.Type = types.DataCatalogType(jtv) } - default: _, _ = key, value @@ -9486,7 +9429,6 @@ func awsAwsjson11_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.VarCharValue = ptr.String(jtv) } - default: _, _ = key, value @@ -9560,7 +9502,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.EncryptionOption = types.EncryptionOption(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -9569,7 +9510,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -9605,7 +9545,6 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.AdditionalConfigs, value); err != nil { return err } - case "CoordinatorDpuSize": if value != nil { jtv, ok := value.(json.Number) @@ -9618,7 +9557,6 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.CoordinatorDpuSize = ptr.Int32(int32(i64)) } - case "DefaultExecutorDpuSize": if value != nil { jtv, ok := value.(json.Number) @@ -9631,7 +9569,6 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.DefaultExecutorDpuSize = ptr.Int32(int32(i64)) } - case "MaxConcurrentDpus": if value != nil { jtv, ok := value.(json.Number) @@ -9644,12 +9581,10 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.MaxConcurrentDpus = ptr.Int32(int32(i64)) } - case "SparkProperties": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.SparkProperties, value); err != nil { return err } - default: _, _ = key, value @@ -9689,7 +9624,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.EffectiveEngineVersion = ptr.String(jtv) } - case "SelectedEngineVersion": if value != nil { jtv, ok := value.(string) @@ -9698,7 +9632,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.SelectedEngineVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9808,7 +9741,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorId = ptr.String(jtv) } - case "ExecutorSize": if value != nil { jtv, ok := value.(json.Number) @@ -9821,7 +9753,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorSize = ptr.Int64(i64) } - case "ExecutorState": if value != nil { jtv, ok := value.(string) @@ -9830,7 +9761,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorState = types.ExecutorState(jtv) } - case "ExecutorType": if value != nil { jtv, ok := value.(string) @@ -9839,7 +9769,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorType = types.ExecutorType(jtv) } - case "StartDateTime": if value != nil { jtv, ok := value.(json.Number) @@ -9852,7 +9781,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.StartDateTime = ptr.Int64(i64) } - case "TerminationDateTime": if value != nil { jtv, ok := value.(json.Number) @@ -9865,7 +9793,6 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.TerminationDateTime = ptr.Int64(i64) } - default: _, _ = key, value @@ -9939,7 +9866,6 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.EnableIdentityCenter = ptr.Bool(jtv) } - case "IdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -9948,7 +9874,6 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.IdentityCenterInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9978,15 +9903,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9994,15 +9913,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10027,13 +9942,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "AthenaErrorCode": if value != nil { @@ -10043,8 +9952,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.AthenaErrorCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10052,15 +9960,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10085,15 +9989,9 @@ func awsAwsjson11_deserializeDocumentMetadataException(v **types.MetadataExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10101,15 +9999,11 @@ func awsAwsjson11_deserializeDocumentMetadataException(v **types.MetadataExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10144,7 +10038,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Database = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10153,7 +10046,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10162,7 +10054,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Name = ptr.String(jtv) } - case "NamedQueryId": if value != nil { jtv, ok := value.(string) @@ -10171,7 +10062,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.NamedQueryId = ptr.String(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -10180,7 +10070,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.QueryString = ptr.String(jtv) } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10189,7 +10078,6 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -10306,7 +10194,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10322,7 +10209,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10331,7 +10217,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.Name = ptr.String(jtv) } - case "NotebookId": if value != nil { jtv, ok := value.(string) @@ -10340,7 +10225,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.NotebookId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10349,7 +10233,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.Type = types.NotebookType(jtv) } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10358,7 +10241,6 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -10473,7 +10355,6 @@ func awsAwsjson11_deserializeDocumentNotebookSessionSummary(v **types.NotebookSe } } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -10482,7 +10363,6 @@ func awsAwsjson11_deserializeDocumentNotebookSessionSummary(v **types.NotebookSe } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10558,7 +10438,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10574,7 +10453,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } } - case "QueryStatement": if value != nil { jtv, ok := value.(string) @@ -10583,7 +10461,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.QueryStatement = ptr.String(jtv) } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10592,7 +10469,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.StatementName = ptr.String(jtv) } - case "WorkGroupName": if value != nil { jtv, ok := value.(string) @@ -10601,7 +10477,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.WorkGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -10716,7 +10591,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatementSummary(v **types.Prepared } } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10725,7 +10599,6 @@ func awsAwsjson11_deserializeDocumentPreparedStatementSummary(v **types.Prepared } sv.StatementName = ptr.String(jtv) } - default: _, _ = key, value @@ -10761,12 +10634,10 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } - case "ExecutionParameters": if err := awsAwsjson11_deserializeDocumentExecutionParameters(&sv.ExecutionParameters, value); err != nil { return err } - case "Query": if value != nil { jtv, ok := value.(string) @@ -10775,12 +10646,10 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.Query = ptr.String(jtv) } - case "QueryExecutionContext": if err := awsAwsjson11_deserializeDocumentQueryExecutionContext(&sv.QueryExecutionContext, value); err != nil { return err } - case "QueryExecutionId": if value != nil { jtv, ok := value.(string) @@ -10789,22 +10658,18 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.QueryExecutionId = ptr.String(jtv) } - case "QueryResultsS3AccessGrantsConfiguration": if err := awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(&sv.QueryResultsS3AccessGrantsConfiguration, value); err != nil { return err } - case "ResultConfiguration": if err := awsAwsjson11_deserializeDocumentResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } - case "ResultReuseConfiguration": if err := awsAwsjson11_deserializeDocumentResultReuseConfiguration(&sv.ResultReuseConfiguration, value); err != nil { return err } - case "StatementType": if value != nil { jtv, ok := value.(string) @@ -10813,17 +10678,14 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.StatementType = types.StatementType(jtv) } - case "Statistics": if err := awsAwsjson11_deserializeDocumentQueryExecutionStatistics(&sv.Statistics, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentQueryExecutionStatus(&sv.Status, value); err != nil { return err } - case "SubstatementType": if value != nil { jtv, ok := value.(string) @@ -10832,7 +10694,6 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.SubstatementType = ptr.String(jtv) } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10841,7 +10702,6 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -10881,7 +10741,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionContext(v **types.QueryExecut } sv.Catalog = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -10890,7 +10749,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionContext(v **types.QueryExecut } sv.Database = ptr.String(jtv) } - default: _, _ = key, value @@ -11000,7 +10858,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.DataManifestLocation = ptr.String(jtv) } - case "DataScannedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11013,7 +10870,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.DataScannedInBytes = ptr.Int64(i64) } - case "EngineExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11026,7 +10882,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.EngineExecutionTimeInMillis = ptr.Int64(i64) } - case "QueryPlanningTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11039,7 +10894,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.QueryPlanningTimeInMillis = ptr.Int64(i64) } - case "QueryQueueTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11052,12 +10906,10 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.QueryQueueTimeInMillis = ptr.Int64(i64) } - case "ResultReuseInformation": if err := awsAwsjson11_deserializeDocumentResultReuseInformation(&sv.ResultReuseInformation, value); err != nil { return err } - case "ServicePreProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11070,7 +10922,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.ServicePreProcessingTimeInMillis = ptr.Int64(i64) } - case "ServiceProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11083,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.ServiceProcessingTimeInMillis = ptr.Int64(i64) } - case "TotalExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11096,7 +10946,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.TotalExecutionTimeInMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -11132,7 +10981,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti if err := awsAwsjson11_deserializeDocumentAthenaError(&sv.AthenaError, value); err != nil { return err } - case "CompletionDateTime": if value != nil { switch jtv := value.(type) { @@ -11148,7 +10996,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } } - case "State": if value != nil { jtv, ok := value.(string) @@ -11157,7 +11004,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } sv.State = types.QueryExecutionState(jtv) } - case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -11166,7 +11012,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } sv.StateChangeReason = ptr.String(jtv) } - case "SubmissionDateTime": if value != nil { switch jtv := value.(type) { @@ -11182,7 +11027,6 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } } - default: _, _ = key, value @@ -11222,7 +11066,6 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "CreateUserLevelPrefix": if value != nil { jtv, ok := value.(bool) @@ -11231,7 +11074,6 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.CreateUserLevelPrefix = ptr.Bool(jtv) } - case "EnableS3AccessGrants": if value != nil { jtv, ok := value.(bool) @@ -11240,7 +11082,6 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.EnableS3AccessGrants = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11276,17 +11117,14 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatistics(v **types.QueryRunti if err := awsAwsjson11_deserializeDocumentQueryStage(&sv.OutputStage, value); err != nil { return err } - case "Rows": if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(&sv.Rows, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -11330,7 +11168,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.InputBytes = ptr.Int64(i64) } - case "InputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11343,7 +11180,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.InputRows = ptr.Int64(i64) } - case "OutputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11356,7 +11192,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.OutputBytes = ptr.Int64(i64) } - case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11369,7 +11204,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.OutputRows = ptr.Int64(i64) } - default: _, _ = key, value @@ -11413,7 +11247,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.EngineExecutionTimeInMillis = ptr.Int64(i64) } - case "QueryPlanningTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11426,7 +11259,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.QueryPlanningTimeInMillis = ptr.Int64(i64) } - case "QueryQueueTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11439,7 +11271,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.QueryQueueTimeInMillis = ptr.Int64(i64) } - case "ServicePreProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11452,7 +11283,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.ServicePreProcessingTimeInMillis = ptr.Int64(i64) } - case "ServiceProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11465,7 +11295,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.ServiceProcessingTimeInMillis = ptr.Int64(i64) } - case "TotalExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11478,7 +11307,6 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.TotalExecutionTimeInMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -11522,7 +11350,6 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.ExecutionTime = ptr.Int64(i64) } - case "InputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11535,7 +11362,6 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.InputBytes = ptr.Int64(i64) } - case "InputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11548,7 +11374,6 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.InputRows = ptr.Int64(i64) } - case "OutputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11561,7 +11386,6 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.OutputBytes = ptr.Int64(i64) } - case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11574,12 +11398,10 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.OutputRows = ptr.Int64(i64) } - case "QueryStagePlan": if err := awsAwsjson11_deserializeDocumentQueryStagePlanNode(&sv.QueryStagePlan, value); err != nil { return err } - case "StageId": if value != nil { jtv, ok := value.(json.Number) @@ -11592,7 +11414,6 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.StageId = ptr.Int64(i64) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11601,12 +11422,10 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.State = ptr.String(jtv) } - case "SubStages": if err := awsAwsjson11_deserializeDocumentQueryStages(&sv.SubStages, value); err != nil { return err } - default: _, _ = key, value @@ -11642,7 +11461,6 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan if err := awsAwsjson11_deserializeDocumentQueryStagePlanNodes(&sv.Children, value); err != nil { return err } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -11651,7 +11469,6 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan } sv.Identifier = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11660,12 +11477,10 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan } sv.Name = ptr.String(jtv) } - case "RemoteSources": if err := awsAwsjson11_deserializeDocumentStringList(&sv.RemoteSources, value); err != nil { return err } - default: _, _ = key, value @@ -11763,15 +11578,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11779,7 +11588,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -11788,15 +11596,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11827,12 +11631,10 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu if err := awsAwsjson11_deserializeDocumentAclConfiguration(&sv.AclConfiguration, value); err != nil { return err } - case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "ExpectedBucketOwner": if value != nil { jtv, ok := value.(string) @@ -11841,7 +11643,6 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu } sv.ExpectedBucketOwner = ptr.String(jtv) } - case "OutputLocation": if value != nil { jtv, ok := value.(string) @@ -11850,7 +11651,6 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu } sv.OutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -11890,7 +11690,6 @@ func awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(v **types.Res } sv.Enabled = jtv } - case "MaxAgeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -11903,7 +11702,6 @@ func awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(v **types.Res } sv.MaxAgeInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11939,7 +11737,6 @@ func awsAwsjson11_deserializeDocumentResultReuseConfiguration(v **types.ResultRe if err := awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(&sv.ResultReuseByAgeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11979,7 +11776,6 @@ func awsAwsjson11_deserializeDocumentResultReuseInformation(v **types.ResultReus } sv.ReusedPreviousResult = jtv } - default: _, _ = key, value @@ -12015,12 +11811,10 @@ func awsAwsjson11_deserializeDocumentResultSet(v **types.ResultSet, value interf if err := awsAwsjson11_deserializeDocumentResultSetMetadata(&sv.ResultSetMetadata, value); err != nil { return err } - case "Rows": if err := awsAwsjson11_deserializeDocumentRowList(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -12056,7 +11850,6 @@ func awsAwsjson11_deserializeDocumentResultSetMetadata(v **types.ResultSetMetada if err := awsAwsjson11_deserializeDocumentColumnInfoList(&sv.ColumnInfo, value); err != nil { return err } - default: _, _ = key, value @@ -12092,7 +11885,6 @@ func awsAwsjson11_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsAwsjson11_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } - default: _, _ = key, value @@ -12156,15 +11948,9 @@ func awsAwsjson11_deserializeDocumentSessionAlreadyExistsException(v **types.Ses sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12172,15 +11958,11 @@ func awsAwsjson11_deserializeDocumentSessionAlreadyExistsException(v **types.Ses } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12211,7 +11993,6 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -12220,7 +12001,6 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.ExecutionRole = ptr.String(jtv) } - case "IdleTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12233,7 +12013,6 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.IdleTimeoutSeconds = ptr.Int64(i64) } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -12242,7 +12021,6 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -12320,7 +12098,6 @@ func awsAwsjson11_deserializeDocumentSessionStatistics(v **types.SessionStatisti } sv.DpuExecutionInMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -12367,7 +12144,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } - case "IdleSinceDateTime": if value != nil { switch jtv := value.(type) { @@ -12383,7 +12159,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } - case "LastModifiedDateTime": if value != nil { switch jtv := value.(type) { @@ -12399,7 +12174,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -12415,7 +12189,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12424,7 +12197,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } sv.State = types.SessionState(jtv) } - case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -12433,7 +12205,6 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } sv.StateChangeReason = ptr.String(jtv) } - default: _, _ = key, value @@ -12473,12 +12244,10 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Description = ptr.String(jtv) } - case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } - case "NotebookVersion": if value != nil { jtv, ok := value.(string) @@ -12487,7 +12256,6 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.NotebookVersion = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -12496,12 +12264,10 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12613,7 +12379,6 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -12629,7 +12394,6 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } } - case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -12645,7 +12409,6 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12654,17 +12417,14 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } - case "TableType": if value != nil { jtv, ok := value.(string) @@ -12673,7 +12433,6 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } sv.TableType = ptr.String(jtv) } - default: _, _ = key, value @@ -12747,7 +12506,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12756,7 +12514,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12820,15 +12577,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12836,7 +12587,6 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12845,15 +12595,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Reason = types.ThrottleReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12888,7 +12634,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12897,7 +12642,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.ErrorMessage = ptr.String(jtv) } - case "NamedQueryId": if value != nil { jtv, ok := value.(string) @@ -12906,7 +12650,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.NamedQueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -12980,7 +12723,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12989,7 +12731,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.ErrorMessage = ptr.String(jtv) } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -12998,7 +12739,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.StatementName = ptr.String(jtv) } - default: _, _ = key, value @@ -13072,7 +12812,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13081,7 +12820,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.ErrorMessage = ptr.String(jtv) } - case "QueryExecutionId": if value != nil { jtv, ok := value.(string) @@ -13090,7 +12828,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.QueryExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -13160,7 +12897,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf if err := awsAwsjson11_deserializeDocumentWorkGroupConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13176,7 +12912,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13185,7 +12920,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.Description = ptr.String(jtv) } - case "IdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -13194,7 +12928,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13203,7 +12936,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13212,7 +12944,6 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.State = types.WorkGroupState(jtv) } - default: _, _ = key, value @@ -13252,7 +12983,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.AdditionalConfiguration = ptr.String(jtv) } - case "BytesScannedCutoffPerQuery": if value != nil { jtv, ok := value.(json.Number) @@ -13265,12 +12995,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.BytesScannedCutoffPerQuery = ptr.Int64(i64) } - case "CustomerContentEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentCustomerContentEncryptionConfiguration(&sv.CustomerContentEncryptionConfiguration, value); err != nil { return err } - case "EnableMinimumEncryptionConfiguration": if value != nil { jtv, ok := value.(bool) @@ -13279,7 +13007,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.EnableMinimumEncryptionConfiguration = ptr.Bool(jtv) } - case "EnforceWorkGroupConfiguration": if value != nil { jtv, ok := value.(bool) @@ -13288,12 +13015,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.EnforceWorkGroupConfiguration = ptr.Bool(jtv) } - case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -13302,12 +13027,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.ExecutionRole = ptr.String(jtv) } - case "IdentityCenterConfiguration": if err := awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } - case "PublishCloudWatchMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -13316,12 +13039,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.PublishCloudWatchMetricsEnabled = ptr.Bool(jtv) } - case "QueryResultsS3AccessGrantsConfiguration": if err := awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(&sv.QueryResultsS3AccessGrantsConfiguration, value); err != nil { return err } - case "RequesterPaysEnabled": if value != nil { jtv, ok := value.(bool) @@ -13330,12 +13051,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.RequesterPaysEnabled = ptr.Bool(jtv) } - case "ResultConfiguration": if err := awsAwsjson11_deserializeDocumentResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13452,7 +13171,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13461,12 +13179,10 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.Description = ptr.String(jtv) } - case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } - case "IdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -13475,7 +13191,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13484,7 +13199,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13493,7 +13207,6 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.State = types.WorkGroupState(jtv) } - default: _, _ = key, value @@ -13529,12 +13242,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetNamedQueryOutput(v **BatchGetName if err := awsAwsjson11_deserializeDocumentNamedQueryList(&sv.NamedQueries, value); err != nil { return err } - case "UnprocessedNamedQueryIds": if err := awsAwsjson11_deserializeDocumentUnprocessedNamedQueryIdList(&sv.UnprocessedNamedQueryIds, value); err != nil { return err } - default: _, _ = key, value @@ -13570,12 +13281,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetPreparedStatementOutput(v **Batch if err := awsAwsjson11_deserializeDocumentPreparedStatementDetailsList(&sv.PreparedStatements, value); err != nil { return err } - case "UnprocessedPreparedStatementNames": if err := awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementNameList(&sv.UnprocessedPreparedStatementNames, value); err != nil { return err } - default: _, _ = key, value @@ -13611,12 +13320,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetQueryExecutionOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentQueryExecutionList(&sv.QueryExecutions, value); err != nil { return err } - case "UnprocessedQueryExecutionIds": if err := awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionIdList(&sv.UnprocessedQueryExecutionIds, value); err != nil { return err } - default: _, _ = key, value @@ -13749,7 +13456,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNamedQueryOutput(v **CreateNamedQue } sv.NamedQueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -13789,7 +13495,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookOutput(v **CreateNotebookOu } sv.NotebookId = ptr.String(jtv) } - default: _, _ = key, value @@ -13860,7 +13565,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.AuthToken = ptr.String(jtv) } - case "AuthTokenExpirationTime": if value != nil { jtv, ok := value.(json.Number) @@ -13873,7 +13577,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.AuthTokenExpirationTime = ptr.Int64(i64) } - case "NotebookUrl": if value != nil { jtv, ok := value.(string) @@ -13882,7 +13585,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.NotebookUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14135,7 +13837,6 @@ func awsAwsjson11_deserializeOpDocumentExportNotebookOutput(v **ExportNotebookOu if err := awsAwsjson11_deserializeDocumentNotebookMetadata(&sv.NotebookMetadata, value); err != nil { return err } - case "Payload": if value != nil { jtv, ok := value.(string) @@ -14144,7 +13845,6 @@ func awsAwsjson11_deserializeOpDocumentExportNotebookOutput(v **ExportNotebookOu } sv.Payload = ptr.String(jtv) } - default: _, _ = key, value @@ -14184,7 +13884,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionCodeOutput(v **Get } sv.CodeBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -14224,7 +13923,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.CalculationExecutionId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14233,12 +13931,10 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.Description = ptr.String(jtv) } - case "Result": if err := awsAwsjson11_deserializeDocumentCalculationResult(&sv.Result, value); err != nil { return err } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -14247,17 +13943,14 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.SessionId = ptr.String(jtv) } - case "Statistics": if err := awsAwsjson11_deserializeDocumentCalculationStatistics(&sv.Statistics, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -14266,7 +13959,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -14302,12 +13994,10 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionStatusOutput(v **G if err := awsAwsjson11_deserializeDocumentCalculationStatistics(&sv.Statistics, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -14343,7 +14033,6 @@ func awsAwsjson11_deserializeOpDocumentGetCapacityAssignmentConfigurationOutput( if err := awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(&sv.CapacityAssignmentConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14379,7 +14068,6 @@ func awsAwsjson11_deserializeOpDocumentGetCapacityReservationOutput(v **GetCapac if err := awsAwsjson11_deserializeDocumentCapacityReservation(&sv.CapacityReservation, value); err != nil { return err } - default: _, _ = key, value @@ -14415,7 +14103,6 @@ func awsAwsjson11_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsAwsjson11_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - default: _, _ = key, value @@ -14451,7 +14138,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataCatalogOutput(v **GetDataCatalogOu if err := awsAwsjson11_deserializeDocumentDataCatalog(&sv.DataCatalog, value); err != nil { return err } - default: _, _ = key, value @@ -14487,7 +14173,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamedQueryOutput(v **GetNamedQueryOutp if err := awsAwsjson11_deserializeDocumentNamedQuery(&sv.NamedQuery, value); err != nil { return err } - default: _, _ = key, value @@ -14523,7 +14208,6 @@ func awsAwsjson11_deserializeOpDocumentGetNotebookMetadataOutput(v **GetNotebook if err := awsAwsjson11_deserializeDocumentNotebookMetadata(&sv.NotebookMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -14559,7 +14243,6 @@ func awsAwsjson11_deserializeOpDocumentGetPreparedStatementOutput(v **GetPrepare if err := awsAwsjson11_deserializeDocumentPreparedStatement(&sv.PreparedStatement, value); err != nil { return err } - default: _, _ = key, value @@ -14595,7 +14278,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryExecutionOutput(v **GetQueryExecu if err := awsAwsjson11_deserializeDocumentQueryExecution(&sv.QueryExecution, value); err != nil { return err } - default: _, _ = key, value @@ -14635,12 +14317,10 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } - case "ResultSet": if err := awsAwsjson11_deserializeDocumentResultSet(&sv.ResultSet, value); err != nil { return err } - case "UpdateCount": if value != nil { jtv, ok := value.(json.Number) @@ -14653,7 +14333,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.UpdateCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -14689,7 +14368,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryRuntimeStatisticsOutput(v **GetQu if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatistics(&sv.QueryRuntimeStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -14729,12 +14407,10 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.Description = ptr.String(jtv) } - case "EngineConfiguration": if err := awsAwsjson11_deserializeDocumentEngineConfiguration(&sv.EngineConfiguration, value); err != nil { return err } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -14743,7 +14419,6 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.EngineVersion = ptr.String(jtv) } - case "NotebookVersion": if value != nil { jtv, ok := value.(string) @@ -14752,12 +14427,10 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.NotebookVersion = ptr.String(jtv) } - case "SessionConfiguration": if err := awsAwsjson11_deserializeDocumentSessionConfiguration(&sv.SessionConfiguration, value); err != nil { return err } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -14766,17 +14439,14 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } - case "Statistics": if err := awsAwsjson11_deserializeDocumentSessionStatistics(&sv.Statistics, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -14785,7 +14455,6 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -14825,12 +14494,10 @@ func awsAwsjson11_deserializeOpDocumentGetSessionStatusOutput(v **GetSessionStat } sv.SessionId = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -14866,7 +14533,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableMetadataOutput(v **GetTableMetada if err := awsAwsjson11_deserializeDocumentTableMetadata(&sv.TableMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -14902,7 +14568,6 @@ func awsAwsjson11_deserializeOpDocumentGetWorkGroupOutput(v **GetWorkGroupOutput if err := awsAwsjson11_deserializeDocumentWorkGroup(&sv.WorkGroup, value); err != nil { return err } - default: _, _ = key, value @@ -14942,7 +14607,6 @@ func awsAwsjson11_deserializeOpDocumentImportNotebookOutput(v **ImportNotebookOu } sv.NotebookId = ptr.String(jtv) } - default: _, _ = key, value @@ -14978,7 +14642,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationDPUSizesOutput(v **ListApp if err := awsAwsjson11_deserializeDocumentApplicationDPUSizesList(&sv.ApplicationDPUSizes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14987,7 +14650,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationDPUSizesOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15023,7 +14685,6 @@ func awsAwsjson11_deserializeOpDocumentListCalculationExecutionsOutput(v **ListC if err := awsAwsjson11_deserializeDocumentCalculationsList(&sv.Calculations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15032,7 +14693,6 @@ func awsAwsjson11_deserializeOpDocumentListCalculationExecutionsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15068,7 +14728,6 @@ func awsAwsjson11_deserializeOpDocumentListCapacityReservationsOutput(v **ListCa if err := awsAwsjson11_deserializeDocumentCapacityReservationsList(&sv.CapacityReservations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15077,7 +14736,6 @@ func awsAwsjson11_deserializeOpDocumentListCapacityReservationsOutput(v **ListCa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15113,7 +14771,6 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.DatabaseList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15122,7 +14779,6 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15158,7 +14814,6 @@ func awsAwsjson11_deserializeOpDocumentListDataCatalogsOutput(v **ListDataCatalo if err := awsAwsjson11_deserializeDocumentDataCatalogSummaryList(&sv.DataCatalogsSummary, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15167,7 +14822,6 @@ func awsAwsjson11_deserializeOpDocumentListDataCatalogsOutput(v **ListDataCatalo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15203,7 +14857,6 @@ func awsAwsjson11_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe if err := awsAwsjson11_deserializeDocumentEngineVersionsList(&sv.EngineVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15212,7 +14865,6 @@ func awsAwsjson11_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15248,7 +14900,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp if err := awsAwsjson11_deserializeDocumentExecutorsSummaryList(&sv.ExecutorsSummary, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15257,7 +14908,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp } sv.NextToken = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -15266,7 +14916,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -15302,7 +14951,6 @@ func awsAwsjson11_deserializeOpDocumentListNamedQueriesOutput(v **ListNamedQueri if err := awsAwsjson11_deserializeDocumentNamedQueryIdList(&sv.NamedQueryIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15311,7 +14959,6 @@ func awsAwsjson11_deserializeOpDocumentListNamedQueriesOutput(v **ListNamedQueri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15351,12 +14998,10 @@ func awsAwsjson11_deserializeOpDocumentListNotebookMetadataOutput(v **ListNotebo } sv.NextToken = ptr.String(jtv) } - case "NotebookMetadataList": if err := awsAwsjson11_deserializeDocumentNotebookMetadataArray(&sv.NotebookMetadataList, value); err != nil { return err } - default: _, _ = key, value @@ -15396,12 +15041,10 @@ func awsAwsjson11_deserializeOpDocumentListNotebookSessionsOutput(v **ListNotebo } sv.NextToken = ptr.String(jtv) } - case "NotebookSessionsList": if err := awsAwsjson11_deserializeDocumentNotebookSessionsList(&sv.NotebookSessionsList, value); err != nil { return err } - default: _, _ = key, value @@ -15441,12 +15084,10 @@ func awsAwsjson11_deserializeOpDocumentListPreparedStatementsOutput(v **ListPrep } sv.NextToken = ptr.String(jtv) } - case "PreparedStatements": if err := awsAwsjson11_deserializeDocumentPreparedStatementsList(&sv.PreparedStatements, value); err != nil { return err } - default: _, _ = key, value @@ -15486,12 +15127,10 @@ func awsAwsjson11_deserializeOpDocumentListQueryExecutionsOutput(v **ListQueryEx } sv.NextToken = ptr.String(jtv) } - case "QueryExecutionIds": if err := awsAwsjson11_deserializeDocumentQueryExecutionIdList(&sv.QueryExecutionIds, value); err != nil { return err } - default: _, _ = key, value @@ -15531,12 +15170,10 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } - case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionsList(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -15576,12 +15213,10 @@ func awsAwsjson11_deserializeOpDocumentListTableMetadataOutput(v **ListTableMeta } sv.NextToken = ptr.String(jtv) } - case "TableMetadataList": if err := awsAwsjson11_deserializeDocumentTableMetadataList(&sv.TableMetadataList, value); err != nil { return err } - default: _, _ = key, value @@ -15621,12 +15256,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15666,12 +15299,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkGroupsOutput(v **ListWorkGroupsOu } sv.NextToken = ptr.String(jtv) } - case "WorkGroups": if err := awsAwsjson11_deserializeDocumentWorkGroupsList(&sv.WorkGroups, value); err != nil { return err } - default: _, _ = key, value @@ -15742,7 +15373,6 @@ func awsAwsjson11_deserializeOpDocumentStartCalculationExecutionOutput(v **Start } sv.CalculationExecutionId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15751,7 +15381,6 @@ func awsAwsjson11_deserializeOpDocumentStartCalculationExecutionOutput(v **Start } sv.State = types.CalculationExecutionState(jtv) } - default: _, _ = key, value @@ -15791,7 +15420,6 @@ func awsAwsjson11_deserializeOpDocumentStartQueryExecutionOutput(v **StartQueryE } sv.QueryExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -15831,7 +15459,6 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.SessionId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15840,7 +15467,6 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.State = types.SessionState(jtv) } - default: _, _ = key, value @@ -15880,7 +15506,6 @@ func awsAwsjson11_deserializeOpDocumentStopCalculationExecutionOutput(v **StopCa } sv.State = types.CalculationExecutionState(jtv) } - default: _, _ = key, value @@ -15982,7 +15607,6 @@ func awsAwsjson11_deserializeOpDocumentTerminateSessionOutput(v **TerminateSessi } sv.State = types.SessionState(jtv) } - default: _, _ = key, value diff --git a/service/auditmanager/deserializers.go b/service/auditmanager/deserializers.go index d7b9754b6c0..0097441c47b 100644 --- a/service/auditmanager/deserializers.go +++ b/service/auditmanager/deserializers.go @@ -277,12 +277,10 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateAssessmentReportEvidenceOut if err := awsRestjson1_deserializeDocumentAssessmentReportEvidenceErrors(&sv.Errors, value); err != nil { return err } - case "evidenceIds": if err := awsRestjson1_deserializeDocumentEvidenceIds(&sv.EvidenceIds, value); err != nil { return err } - default: _, _ = key, value @@ -443,12 +441,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateDelegationByAssessmentOutput(v if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -609,7 +605,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDelegationByAssessmentOutput(v if err := awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -770,12 +765,10 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateAssessmentReportEvidence if err := awsRestjson1_deserializeDocumentAssessmentReportEvidenceErrors(&sv.Errors, value); err != nil { return err } - case "evidenceIds": if err := awsRestjson1_deserializeDocumentEvidenceIds(&sv.EvidenceIds, value); err != nil { return err } - default: _, _ = key, value @@ -939,7 +932,6 @@ func awsRestjson1_deserializeOpDocumentBatchImportEvidenceToAssessmentControlOut if err := awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -1106,7 +1098,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentOutput(v **CreateAssessme if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } - default: _, _ = key, value @@ -1270,7 +1261,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentFrameworkOutput(v **Creat if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } - default: _, _ = key, value @@ -1431,7 +1421,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentReportOutput(v **CreateAs if err := awsRestjson1_deserializeDocumentAssessmentReport(&sv.AssessmentReport, value); err != nil { return err } - default: _, _ = key, value @@ -1595,7 +1584,6 @@ func awsRestjson1_deserializeOpDocumentCreateControlOutput(v **CreateControlOutp if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } - default: _, _ = key, value @@ -2245,7 +2233,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterAccountOutput(v **DeregisterAcc } sv.Status = types.AccountStatus(jtv) } - default: _, _ = key, value @@ -2595,7 +2582,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountStatusOutput(v **GetAccountStat } sv.Status = types.AccountStatus(jtv) } - default: _, _ = key, value @@ -2756,12 +2742,10 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } - case "userRole": if err := awsRestjson1_deserializeDocumentRole(&sv.UserRole, value); err != nil { return err } - default: _, _ = key, value @@ -2922,7 +2906,6 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentFrameworkOutput(v **GetAsses if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } - default: _, _ = key, value @@ -3083,7 +3066,6 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentReportUrlOutput(v **GetAsses if err := awsRestjson1_deserializeDocumentURL(&sv.PreSignedUrl, value); err != nil { return err } - default: _, _ = key, value @@ -3244,7 +3226,6 @@ func awsRestjson1_deserializeOpDocumentGetChangeLogsOutput(v **GetChangeLogsOutp if err := awsRestjson1_deserializeDocumentChangeLogs(&sv.ChangeLogs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3253,7 +3234,6 @@ func awsRestjson1_deserializeOpDocumentGetChangeLogsOutput(v **GetChangeLogsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3414,7 +3394,6 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } - default: _, _ = key, value @@ -3572,7 +3551,6 @@ func awsRestjson1_deserializeOpDocumentGetDelegationsOutput(v **GetDelegationsOu if err := awsRestjson1_deserializeDocumentDelegationMetadataList(&sv.Delegations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3559,6 @@ func awsRestjson1_deserializeOpDocumentGetDelegationsOutput(v **GetDelegationsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3742,7 +3719,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceOutput(v **GetEvidenceOutput, if err := awsRestjson1_deserializeDocumentEvidence(&sv.Evidence, value); err != nil { return err } - default: _, _ = key, value @@ -3903,7 +3879,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceByEvidenceFolderOutput(v **Get if err := awsRestjson1_deserializeDocumentEvidenceList(&sv.Evidence, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3912,7 +3887,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceByEvidenceFolderOutput(v **Get } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4077,7 +4051,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFileUploadUrlOutput(v **GetEvi } sv.EvidenceFileName = ptr.String(jtv) } - case "uploadUrl": if value != nil { jtv, ok := value.(string) @@ -4086,7 +4059,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFileUploadUrlOutput(v **GetEvi } sv.UploadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -4247,7 +4219,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFolderOutput(v **GetEvidenceFo if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(&sv.EvidenceFolder, value); err != nil { return err } - default: _, _ = key, value @@ -4408,7 +4379,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentOutput(v ** if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolders(&sv.EvidenceFolders, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4417,7 +4387,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4578,7 +4547,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentControlOutp if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolders(&sv.EvidenceFolders, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4587,7 +4555,6 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentControlOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4742,7 +4709,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, if err := awsRestjson1_deserializeDocumentInsights(&sv.Insights, value); err != nil { return err } - default: _, _ = key, value @@ -4903,7 +4869,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightsByAssessmentOutput(v **GetInsi if err := awsRestjson1_deserializeDocumentInsightsByAssessment(&sv.Insights, value); err != nil { return err } - default: _, _ = key, value @@ -5068,7 +5033,6 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationAdminAccountOutput(v **Get } sv.AdminAccountId = ptr.String(jtv) } - case "organizationId": if value != nil { jtv, ok := value.(string) @@ -5077,7 +5041,6 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationAdminAccountOutput(v **Get } sv.OrganizationId = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,7 +5198,6 @@ func awsRestjson1_deserializeOpDocumentGetServicesInScopeOutput(v **GetServicesI if err := awsRestjson1_deserializeDocumentServiceMetadataList(&sv.ServiceMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -5390,7 +5352,6 @@ func awsRestjson1_deserializeOpDocumentGetSettingsOutput(v **GetSettingsOutput, if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -5551,7 +5512,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentControlInsightsByControlDom if err := awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessment(&sv.ControlInsightsByAssessment, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5560,7 +5520,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentControlInsightsByControlDom } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5718,7 +5677,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworksOutput(v **ListAs if err := awsRestjson1_deserializeDocumentFrameworkMetadataList(&sv.FrameworkMetadataList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5727,7 +5685,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworksOutput(v **ListAs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5885,7 +5842,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworkShareRequestsOutpu if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequestList(&sv.AssessmentFrameworkShareRequests, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5894,7 +5850,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworkShareRequestsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6052,7 +6007,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentReportsOutput(v **ListAsses if err := awsRestjson1_deserializeDocumentAssessmentReportsMetadata(&sv.AssessmentReports, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6061,7 +6015,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentReportsOutput(v **ListAsses } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6219,7 +6172,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentsOutput(v **ListAssessments if err := awsRestjson1_deserializeDocumentListAssessmentMetadata(&sv.AssessmentMetadata, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6228,7 +6180,6 @@ func awsRestjson1_deserializeOpDocumentListAssessmentsOutput(v **ListAssessments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6389,7 +6340,6 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsOutput(v **ListC if err := awsRestjson1_deserializeDocumentControlDomainInsightsList(&sv.ControlDomainInsights, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6398,7 +6348,6 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6559,7 +6508,6 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsByAssessmentOutp if err := awsRestjson1_deserializeDocumentControlDomainInsightsList(&sv.ControlDomainInsights, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6568,7 +6516,6 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsByAssessmentOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6729,7 +6676,6 @@ func awsRestjson1_deserializeOpDocumentListControlInsightsByControlDomainOutput( if err := awsRestjson1_deserializeDocumentControlInsightsMetadata(&sv.ControlInsightsMetadata, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6738,7 +6684,6 @@ func awsRestjson1_deserializeOpDocumentListControlInsightsByControlDomainOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6896,7 +6841,6 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput if err := awsRestjson1_deserializeDocumentControlMetadataList(&sv.ControlMetadataList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6905,7 +6849,6 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7063,7 +7006,6 @@ func awsRestjson1_deserializeOpDocumentListKeywordsForDataSourceOutput(v **ListK if err := awsRestjson1_deserializeDocumentKeywords(&sv.Keywords, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7072,7 +7014,6 @@ func awsRestjson1_deserializeOpDocumentListKeywordsForDataSourceOutput(v **ListK } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7234,12 +7175,10 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } - case "notifications": if err := awsRestjson1_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } - default: _, _ = key, value @@ -7397,7 +7336,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7565,7 +7503,6 @@ func awsRestjson1_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } sv.Status = types.AccountStatus(jtv) } - default: _, _ = key, value @@ -7730,7 +7667,6 @@ func awsRestjson1_deserializeOpDocumentRegisterOrganizationAdminAccountOutput(v } sv.AdminAccountId = ptr.String(jtv) } - case "organizationId": if value != nil { jtv, ok := value.(string) @@ -7739,7 +7675,6 @@ func awsRestjson1_deserializeOpDocumentRegisterOrganizationAdminAccountOutput(v } sv.OrganizationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7900,7 +7835,6 @@ func awsRestjson1_deserializeOpDocumentStartAssessmentFrameworkShareOutput(v **S if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(&sv.AssessmentFrameworkShareRequest, value); err != nil { return err } - default: _, _ = key, value @@ -8252,7 +8186,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentOutput(v **UpdateAssessme if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } - default: _, _ = key, value @@ -8413,7 +8346,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentControlOutput(v **UpdateA if err := awsRestjson1_deserializeDocumentAssessmentControl(&sv.Control, value); err != nil { return err } - default: _, _ = key, value @@ -8574,7 +8506,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentControlSetStatusOutput(v if err := awsRestjson1_deserializeDocumentAssessmentControlSet(&sv.ControlSet, value); err != nil { return err } - default: _, _ = key, value @@ -8735,7 +8666,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentFrameworkOutput(v **Updat if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } - default: _, _ = key, value @@ -8899,7 +8829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentFrameworkShareOutput(v ** if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(&sv.AssessmentFrameworkShareRequest, value); err != nil { return err } - default: _, _ = key, value @@ -9063,7 +8992,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentStatusOutput(v **UpdateAs if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } - default: _, _ = key, value @@ -9224,7 +9152,6 @@ func awsRestjson1_deserializeOpDocumentUpdateControlOutput(v **UpdateControlOutp if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } - default: _, _ = key, value @@ -9382,7 +9309,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSettingsOutput(v **UpdateSettingsOu if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -9547,7 +9473,6 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureAlgorithm = ptr.String(jtv) } - case "signatureDateTime": if value != nil { jtv, ok := value.(string) @@ -9556,7 +9481,6 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureDateTime = ptr.String(jtv) } - case "signatureKeyId": if value != nil { jtv, ok := value.(string) @@ -9565,7 +9489,6 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureKeyId = ptr.String(jtv) } - case "signatureValid": if value != nil { jtv, ok := value.(bool) @@ -9574,12 +9497,10 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureValid = ptr.Bool(jtv) } - case "validationErrors": if err := awsRestjson1_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } - default: _, _ = key, value @@ -9825,15 +9746,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9841,15 +9756,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9884,27 +9795,22 @@ func awsRestjson1_deserializeDocumentAssessment(v **types.Assessment, value inte } sv.Arn = ptr.String(jtv) } - case "awsAccount": if err := awsRestjson1_deserializeDocumentAWSAccount(&sv.AwsAccount, value); err != nil { return err } - case "framework": if err := awsRestjson1_deserializeDocumentAssessmentFramework(&sv.Framework, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentAssessmentMetadata(&sv.Metadata, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9948,12 +9854,10 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.AssessmentReportEvidenceCount = int32(i64) } - case "comments": if err := awsRestjson1_deserializeDocumentControlComments(&sv.Comments, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -9962,7 +9866,6 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Description = ptr.String(jtv) } - case "evidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9975,12 +9878,10 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.EvidenceCount = int32(i64) } - case "evidenceSources": if err := awsRestjson1_deserializeDocumentEvidenceSources(&sv.EvidenceSources, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9989,7 +9890,6 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9998,7 +9898,6 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Name = ptr.String(jtv) } - case "response": if value != nil { jtv, ok := value.(string) @@ -10007,7 +9906,6 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Response = types.ControlResponse(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10016,7 +9914,6 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Status = types.ControlStatus(jtv) } - default: _, _ = key, value @@ -10086,12 +9983,10 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo if err := awsRestjson1_deserializeDocumentAssessmentControls(&sv.Controls, value); err != nil { return err } - case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -10100,7 +9995,6 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10109,7 +10003,6 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Id = ptr.String(jtv) } - case "manualEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10122,12 +10015,10 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.ManualEvidenceCount = int32(i64) } - case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -10136,7 +10027,6 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Status = types.ControlSetStatus(jtv) } - case "systemEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10149,7 +10039,6 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.SystemEvidenceCount = int32(i64) } - default: _, _ = key, value @@ -10223,7 +10112,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.AssessmentId = ptr.String(jtv) } - case "assessmentReportSelectionCount": if value != nil { jtv, ok := value.(json.Number) @@ -10236,7 +10124,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.AssessmentReportSelectionCount = int32(i64) } - case "author": if value != nil { jtv, ok := value.(string) @@ -10245,7 +10132,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Author = ptr.String(jtv) } - case "controlId": if value != nil { jtv, ok := value.(string) @@ -10254,7 +10140,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlId = ptr.String(jtv) } - case "controlName": if value != nil { jtv, ok := value.(string) @@ -10263,7 +10148,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlName = ptr.String(jtv) } - case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -10272,7 +10156,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlSetId = ptr.String(jtv) } - case "dataSource": if value != nil { jtv, ok := value.(string) @@ -10281,7 +10164,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.DataSource = ptr.String(jtv) } - case "date": if value != nil { switch jtv := value.(type) { @@ -10297,7 +10179,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } } - case "evidenceAwsServiceSourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10310,7 +10191,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceAwsServiceSourceCount = int32(i64) } - case "evidenceByTypeComplianceCheckCount": if value != nil { jtv, ok := value.(json.Number) @@ -10323,7 +10203,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeComplianceCheckCount = int32(i64) } - case "evidenceByTypeComplianceCheckIssuesCount": if value != nil { jtv, ok := value.(json.Number) @@ -10336,7 +10215,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeComplianceCheckIssuesCount = int32(i64) } - case "evidenceByTypeConfigurationDataCount": if value != nil { jtv, ok := value.(json.Number) @@ -10349,7 +10227,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeConfigurationDataCount = int32(i64) } - case "evidenceByTypeManualCount": if value != nil { jtv, ok := value.(json.Number) @@ -10362,7 +10239,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeManualCount = int32(i64) } - case "evidenceByTypeUserActivityCount": if value != nil { jtv, ok := value.(json.Number) @@ -10375,7 +10251,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeUserActivityCount = int32(i64) } - case "evidenceResourcesIncludedCount": if value != nil { jtv, ok := value.(json.Number) @@ -10388,7 +10263,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceResourcesIncludedCount = int32(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10397,7 +10271,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10406,7 +10279,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Name = ptr.String(jtv) } - case "totalEvidence": if value != nil { jtv, ok := value.(json.Number) @@ -10419,7 +10291,6 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.TotalEvidence = int32(i64) } - default: _, _ = key, value @@ -10493,12 +10364,10 @@ func awsRestjson1_deserializeDocumentAssessmentFramework(v **types.AssessmentFra } sv.Arn = ptr.String(jtv) } - case "controlSets": if err := awsRestjson1_deserializeDocumentAssessmentControlSets(&sv.ControlSets, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10507,12 +10376,10 @@ func awsRestjson1_deserializeDocumentAssessmentFramework(v **types.AssessmentFra } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentFrameworkMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -10552,7 +10419,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Arn = ptr.String(jtv) } - case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10427,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ComplianceType = ptr.String(jtv) } - case "controlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10574,7 +10439,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ControlsCount = int32(i64) } - case "controlSetsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10587,7 +10451,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ControlSetsCount = int32(i64) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10603,7 +10466,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10612,7 +10474,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10621,7 +10482,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10637,7 +10497,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } } - case "logo": if value != nil { jtv, ok := value.(string) @@ -10646,7 +10505,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Logo = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10655,7 +10513,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10664,7 +10521,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Type = types.FrameworkType(jtv) } - default: _, _ = key, value @@ -10704,7 +10560,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Comment = ptr.String(jtv) } - case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10713,7 +10568,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.ComplianceType = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10729,7 +10583,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } - case "customControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10742,7 +10595,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.CustomControlsCount = ptr.Int32(int32(i64)) } - case "destinationAccount": if value != nil { jtv, ok := value.(string) @@ -10751,7 +10603,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.DestinationAccount = ptr.String(jtv) } - case "destinationRegion": if value != nil { jtv, ok := value.(string) @@ -10760,7 +10611,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.DestinationRegion = ptr.String(jtv) } - case "expirationTime": if value != nil { switch jtv := value.(type) { @@ -10776,7 +10626,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } - case "frameworkDescription": if value != nil { jtv, ok := value.(string) @@ -10785,7 +10634,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkDescription = ptr.String(jtv) } - case "frameworkId": if value != nil { jtv, ok := value.(string) @@ -10794,7 +10642,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkId = ptr.String(jtv) } - case "frameworkName": if value != nil { jtv, ok := value.(string) @@ -10803,7 +10650,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10812,7 +10658,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -10828,7 +10673,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } - case "sourceAccount": if value != nil { jtv, ok := value.(string) @@ -10837,7 +10681,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.SourceAccount = ptr.String(jtv) } - case "standardControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10850,7 +10693,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.StandardControlsCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10859,7 +10701,6 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Status = types.ShareRequestStatus(jtv) } - default: _, _ = key, value @@ -10929,7 +10770,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta if err := awsRestjson1_deserializeDocumentAssessmentReportsDestination(&sv.AssessmentReportsDestination, value); err != nil { return err } - case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10938,7 +10778,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.ComplianceType = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10954,12 +10793,10 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } } - case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -10968,7 +10805,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10977,7 +10813,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -10993,7 +10828,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11002,17 +10836,14 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Name = ptr.String(jtv) } - case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } - case "scope": if err := awsRestjson1_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11021,7 +10852,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Status = types.AssessmentStatus(jtv) } - default: _, _ = key, value @@ -11061,7 +10891,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.ComplianceType = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11077,12 +10906,10 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } } - case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11091,7 +10918,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -11107,7 +10933,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11116,12 +10941,10 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Name = ptr.String(jtv) } - case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11130,7 +10953,6 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Status = types.AssessmentStatus(jtv) } - default: _, _ = key, value @@ -11170,7 +10992,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AssessmentId = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11179,7 +11000,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AssessmentName = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -11188,7 +11008,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Author = ptr.String(jtv) } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -11197,7 +11016,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AwsAccountId = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11213,7 +11031,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } } - case "description": if value != nil { jtv, ok := value.(string) @@ -11222,7 +11039,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11231,7 +11047,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11240,7 +11055,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11249,7 +11063,6 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Status = types.AssessmentReportStatus(jtv) } - default: _, _ = key, value @@ -11289,7 +11102,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11298,7 +11110,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.ErrorMessage = ptr.String(jtv) } - case "evidenceId": if value != nil { jtv, ok := value.(string) @@ -11307,7 +11118,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.EvidenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -11381,7 +11191,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.AssessmentId = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11390,7 +11199,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.AssessmentName = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -11399,7 +11207,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Author = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11415,7 +11222,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } } - case "description": if value != nil { jtv, ok := value.(string) @@ -11424,7 +11230,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11433,7 +11238,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11442,7 +11246,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11451,7 +11254,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Status = types.AssessmentReportStatus(jtv) } - default: _, _ = key, value @@ -11491,7 +11293,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportsDestination(v **types.Asse } sv.Destination = ptr.String(jtv) } - case "destinationType": if value != nil { jtv, ok := value.(string) @@ -11500,7 +11301,6 @@ func awsRestjson1_deserializeDocumentAssessmentReportsDestination(v **types.Asse } sv.DestinationType = types.AssessmentReportDestinationType(jtv) } - default: _, _ = key, value @@ -11574,7 +11374,6 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.EmailAddress = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11583,7 +11382,6 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11592,7 +11390,6 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11666,7 +11463,6 @@ func awsRestjson1_deserializeDocumentAWSService(v **types.AWSService, value inte } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -11736,7 +11532,6 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** if err := awsRestjson1_deserializeDocumentCreateDelegationRequest(&sv.CreateDelegationRequest, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11745,7 +11540,6 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11754,7 +11548,6 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -11828,7 +11621,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.DelegationId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11837,7 +11629,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11846,7 +11637,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -11920,7 +11710,6 @@ func awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlError } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11929,12 +11718,10 @@ func awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlError } sv.ErrorMessage = ptr.String(jtv) } - case "manualEvidence": if err := awsRestjson1_deserializeDocumentManualEvidence(&sv.ManualEvidence, value); err != nil { return err } - default: _, _ = key, value @@ -12008,7 +11795,6 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.Action = types.ActionEnum(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12024,7 +11810,6 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12033,7 +11818,6 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.CreatedBy = ptr.String(jtv) } - case "objectName": if value != nil { jtv, ok := value.(string) @@ -12042,7 +11826,6 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.ObjectName = ptr.String(jtv) } - case "objectType": if value != nil { jtv, ok := value.(string) @@ -12051,7 +11834,6 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.ObjectType = types.ObjectTypeEnum(jtv) } - default: _, _ = key, value @@ -12125,7 +11907,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ActionPlanInstructions = ptr.String(jtv) } - case "actionPlanTitle": if value != nil { jtv, ok := value.(string) @@ -12134,7 +11915,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ActionPlanTitle = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -12143,12 +11923,10 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Arn = ptr.String(jtv) } - case "controlMappingSources": if err := awsRestjson1_deserializeDocumentControlMappingSources(&sv.ControlMappingSources, value); err != nil { return err } - case "controlSources": if value != nil { jtv, ok := value.(string) @@ -12157,7 +11935,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ControlSources = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12173,7 +11950,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12182,7 +11958,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12191,7 +11966,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12200,7 +11974,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12216,7 +11989,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -12225,7 +11997,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.LastUpdatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12234,7 +12005,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -12243,12 +12013,10 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.State = types.ControlState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "testingInformation": if value != nil { jtv, ok := value.(string) @@ -12257,7 +12025,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.TestingInformation = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12266,7 +12033,6 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Type = types.ControlType(jtv) } - default: _, _ = key, value @@ -12306,7 +12072,6 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } sv.AuthorName = ptr.String(jtv) } - case "commentBody": if value != nil { jtv, ok := value.(string) @@ -12315,7 +12080,6 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } sv.CommentBody = ptr.String(jtv) } - case "postedDate": if value != nil { switch jtv := value.(type) { @@ -12331,7 +12095,6 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } } - default: _, _ = key, value @@ -12409,12 +12172,10 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.ControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } - case "evidenceInsights": if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12423,7 +12184,6 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12439,7 +12199,6 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12448,7 +12207,6 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.Name = ptr.String(jtv) } - case "totalControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -12461,7 +12219,6 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.TotalControlsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12603,12 +12360,10 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.ControlSetName = ptr.String(jtv) } - case "evidenceInsights": if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12617,7 +12372,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12633,7 +12387,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12642,7 +12395,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12678,7 +12430,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12687,7 +12438,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12703,7 +12453,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12712,7 +12461,6 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12752,7 +12500,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceDescription = ptr.String(jtv) } - case "sourceFrequency": if value != nil { jtv, ok := value.(string) @@ -12761,7 +12508,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceFrequency = types.SourceFrequency(jtv) } - case "sourceId": if value != nil { jtv, ok := value.(string) @@ -12770,12 +12516,10 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceId = ptr.String(jtv) } - case "sourceKeyword": if err := awsRestjson1_deserializeDocumentSourceKeyword(&sv.SourceKeyword, value); err != nil { return err } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -12784,7 +12528,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceName = ptr.String(jtv) } - case "sourceSetUpOption": if value != nil { jtv, ok := value.(string) @@ -12793,7 +12536,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceSetUpOption = types.SourceSetUpOption(jtv) } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -12802,7 +12544,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceType = types.SourceType(jtv) } - case "troubleshootingText": if value != nil { jtv, ok := value.(string) @@ -12811,7 +12552,6 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.TroubleshootingText = ptr.String(jtv) } - default: _, _ = key, value @@ -12885,7 +12625,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Arn = ptr.String(jtv) } - case "controlSources": if value != nil { jtv, ok := value.(string) @@ -12894,7 +12633,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.ControlSources = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12910,7 +12648,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } } - case "id": if value != nil { jtv, ok := value.(string) @@ -12919,7 +12656,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12935,7 +12671,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12944,7 +12679,6 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13048,7 +12782,6 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte if err := awsRestjson1_deserializeDocumentControls(&sv.Controls, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -13057,7 +12790,6 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13066,7 +12798,6 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13140,7 +12871,6 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.Comment = ptr.String(jtv) } - case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -13149,7 +12879,6 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.ControlSetId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13158,7 +12887,6 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.RoleArn = ptr.String(jtv) } - case "roleType": if value != nil { jtv, ok := value.(string) @@ -13167,7 +12895,6 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.RoleType = types.RoleType(jtv) } - default: _, _ = key, value @@ -13207,7 +12934,6 @@ func awsRestjson1_deserializeDocumentDefaultExportDestination(v **types.DefaultE } sv.Destination = ptr.String(jtv) } - case "destinationType": if value != nil { jtv, ok := value.(string) @@ -13216,7 +12942,6 @@ func awsRestjson1_deserializeDocumentDefaultExportDestination(v **types.DefaultE } sv.DestinationType = types.ExportDestinationType(jtv) } - default: _, _ = key, value @@ -13256,7 +12981,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.AssessmentId = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -13265,7 +12989,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.AssessmentName = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -13274,7 +12997,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Comment = ptr.String(jtv) } - case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -13283,7 +13005,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.ControlSetId = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13292,7 +13013,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.CreatedBy = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13308,7 +13028,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } } - case "id": if value != nil { jtv, ok := value.(string) @@ -13317,7 +13036,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Id = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -13333,7 +13051,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13342,7 +13059,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.RoleArn = ptr.String(jtv) } - case "roleType": if value != nil { jtv, ok := value.(string) @@ -13351,7 +13067,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.RoleType = types.RoleType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13360,7 +13075,6 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Status = types.DelegationStatus(jtv) } - default: _, _ = key, value @@ -13400,7 +13114,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.AssessmentId = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -13409,7 +13122,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.AssessmentName = ptr.String(jtv) } - case "controlSetName": if value != nil { jtv, ok := value.(string) @@ -13418,7 +13130,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.ControlSetName = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13434,7 +13145,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } } - case "id": if value != nil { jtv, ok := value.(string) @@ -13443,7 +13153,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13452,7 +13161,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13461,7 +13169,6 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.Status = types.DelegationStatus(jtv) } - default: _, _ = key, value @@ -13569,7 +13276,6 @@ func awsRestjson1_deserializeDocumentDeregistrationPolicy(v **types.Deregistrati } sv.DeleteResources = types.DeleteResources(jtv) } - default: _, _ = key, value @@ -13609,12 +13315,10 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AssessmentReportSelection = ptr.String(jtv) } - case "attributes": if err := awsRestjson1_deserializeDocumentEvidenceAttributes(&sv.Attributes, value); err != nil { return err } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -13623,7 +13327,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AwsAccountId = ptr.String(jtv) } - case "awsOrganization": if value != nil { jtv, ok := value.(string) @@ -13632,7 +13335,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AwsOrganization = ptr.String(jtv) } - case "complianceCheck": if value != nil { jtv, ok := value.(string) @@ -13641,7 +13343,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.ComplianceCheck = ptr.String(jtv) } - case "dataSource": if value != nil { jtv, ok := value.(string) @@ -13650,7 +13351,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.DataSource = ptr.String(jtv) } - case "eventName": if value != nil { jtv, ok := value.(string) @@ -13659,7 +13359,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EventName = ptr.String(jtv) } - case "eventSource": if value != nil { jtv, ok := value.(string) @@ -13668,7 +13367,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EventSource = ptr.String(jtv) } - case "evidenceAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -13677,7 +13375,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceAwsAccountId = ptr.String(jtv) } - case "evidenceByType": if value != nil { jtv, ok := value.(string) @@ -13686,7 +13383,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceByType = ptr.String(jtv) } - case "evidenceFolderId": if value != nil { jtv, ok := value.(string) @@ -13695,7 +13391,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceFolderId = ptr.String(jtv) } - case "iamId": if value != nil { jtv, ok := value.(string) @@ -13704,7 +13399,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.IamId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13713,12 +13407,10 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.Id = ptr.String(jtv) } - case "resourcesIncluded": if err := awsRestjson1_deserializeDocumentResources(&sv.ResourcesIncluded, value); err != nil { return err } - case "time": if value != nil { switch jtv := value.(type) { @@ -13734,7 +13426,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } } - default: _, _ = key, value @@ -13810,7 +13501,6 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.BackfillStatus = types.EvidenceFinderBackfillStatus(jtv) } - case "enablementStatus": if value != nil { jtv, ok := value.(string) @@ -13819,7 +13509,6 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.EnablementStatus = types.EvidenceFinderEnablementStatus(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -13828,7 +13517,6 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.Error = ptr.String(jtv) } - case "eventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -13837,7 +13525,6 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.EventDataStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13917,7 +13604,6 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } - case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13930,7 +13616,6 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } - case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13943,7 +13628,6 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14053,7 +13737,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Arn = ptr.String(jtv) } - case "complianceType": if value != nil { jtv, ok := value.(string) @@ -14062,12 +13745,10 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.ComplianceType = ptr.String(jtv) } - case "controlSets": if err := awsRestjson1_deserializeDocumentControlSets(&sv.ControlSets, value); err != nil { return err } - case "controlSources": if value != nil { jtv, ok := value.(string) @@ -14076,7 +13757,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.ControlSources = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14092,7 +13772,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14101,7 +13780,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14110,7 +13788,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14119,7 +13796,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14135,7 +13811,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -14144,7 +13819,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.LastUpdatedBy = ptr.String(jtv) } - case "logo": if value != nil { jtv, ok := value.(string) @@ -14153,7 +13827,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Logo = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14162,12 +13835,10 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14176,7 +13847,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Type = types.FrameworkType(jtv) } - default: _, _ = key, value @@ -14216,7 +13886,6 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.ComplianceType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14225,7 +13894,6 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Description = ptr.String(jtv) } - case "logo": if value != nil { jtv, ok := value.(string) @@ -14234,7 +13902,6 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Logo = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14243,7 +13910,6 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14321,7 +13987,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.ActiveAssessmentsCount = ptr.Int32(int32(i64)) } - case "assessmentControlsCountByNoncompliantEvidence": if value != nil { jtv, ok := value.(json.Number) @@ -14334,7 +13999,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.AssessmentControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } - case "compliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14347,7 +14011,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } - case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14360,7 +14023,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -14376,7 +14038,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } } - case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14389,7 +14050,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } - case "totalAssessmentControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14402,7 +14062,6 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.TotalAssessmentControlsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14446,7 +14105,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.AssessmentControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } - case "compliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14459,7 +14117,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } - case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14472,7 +14129,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -14488,7 +14144,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } } - case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14501,7 +14156,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } - case "totalAssessmentControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14514,7 +14168,6 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.TotalAssessmentControlsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14544,15 +14197,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14560,15 +14207,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14673,7 +14316,6 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.EvidenceFileName = ptr.String(jtv) } - case "s3ResourcePath": if value != nil { jtv, ok := value.(string) @@ -14682,7 +14324,6 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.S3ResourcePath = ptr.String(jtv) } - case "textResponse": if value != nil { jtv, ok := value.(string) @@ -14691,7 +14332,6 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.TextResponse = ptr.String(jtv) } - default: _, _ = key, value @@ -14731,7 +14371,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.AssessmentId = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -14740,7 +14379,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.AssessmentName = ptr.String(jtv) } - case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -14749,7 +14387,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.ControlSetId = ptr.String(jtv) } - case "controlSetName": if value != nil { jtv, ok := value.(string) @@ -14758,7 +14395,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.ControlSetName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14767,7 +14403,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Description = ptr.String(jtv) } - case "eventTime": if value != nil { switch jtv := value.(type) { @@ -14783,7 +14418,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } } - case "id": if value != nil { jtv, ok := value.(string) @@ -14792,7 +14426,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Id = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -14801,7 +14434,6 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -14875,7 +14507,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } - case "complianceCheck": if value != nil { jtv, ok := value.(string) @@ -14884,7 +14515,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ComplianceCheck = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -14893,7 +14523,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14923,15 +14552,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14939,7 +14562,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14948,7 +14570,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14957,15 +14578,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15034,7 +14651,6 @@ func awsRestjson1_deserializeDocumentRole(v **types.Role, value interface{}) err } sv.RoleArn = ptr.String(jtv) } - case "roleType": if value != nil { jtv, ok := value.(string) @@ -15043,7 +14659,6 @@ func awsRestjson1_deserializeDocumentRole(v **types.Role, value interface{}) err } sv.RoleType = types.RoleType(jtv) } - default: _, _ = key, value @@ -15113,12 +14728,10 @@ func awsRestjson1_deserializeDocumentScope(v **types.Scope, value interface{}) e if err := awsRestjson1_deserializeDocumentAWSAccounts(&sv.AwsAccounts, value); err != nil { return err } - case "awsServices": if err := awsRestjson1_deserializeDocumentAWSServices(&sv.AwsServices, value); err != nil { return err } - default: _, _ = key, value @@ -15158,7 +14771,6 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Category = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15167,7 +14779,6 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -15176,7 +14787,6 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15185,7 +14795,6 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15249,15 +14858,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15265,15 +14868,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15304,27 +14903,22 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac if err := awsRestjson1_deserializeDocumentAssessmentReportsDestination(&sv.DefaultAssessmentReportsDestination, value); err != nil { return err } - case "defaultExportDestination": if err := awsRestjson1_deserializeDocumentDefaultExportDestination(&sv.DefaultExportDestination, value); err != nil { return err } - case "defaultProcessOwners": if err := awsRestjson1_deserializeDocumentRoles(&sv.DefaultProcessOwners, value); err != nil { return err } - case "deregistrationPolicy": if err := awsRestjson1_deserializeDocumentDeregistrationPolicy(&sv.DeregistrationPolicy, value); err != nil { return err } - case "evidenceFinderEnablement": if err := awsRestjson1_deserializeDocumentEvidenceFinderEnablement(&sv.EvidenceFinderEnablement, value); err != nil { return err } - case "isAwsOrgEnabled": if value != nil { jtv, ok := value.(bool) @@ -15333,7 +14927,6 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.IsAwsOrgEnabled = ptr.Bool(jtv) } - case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -15342,7 +14935,6 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.KmsKey = ptr.String(jtv) } - case "snsTopic": if value != nil { jtv, ok := value.(string) @@ -15351,7 +14943,6 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SnsTopic = ptr.String(jtv) } - default: _, _ = key, value @@ -15391,7 +14982,6 @@ func awsRestjson1_deserializeDocumentSourceKeyword(v **types.SourceKeyword, valu } sv.KeywordInputType = types.KeywordInputType(jtv) } - case "keywordValue": if value != nil { jtv, ok := value.(string) @@ -15400,7 +14990,6 @@ func awsRestjson1_deserializeDocumentSourceKeyword(v **types.SourceKeyword, valu } sv.KeywordValue = ptr.String(jtv) } - default: _, _ = key, value @@ -15466,15 +15055,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15482,15 +15065,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15525,7 +15104,6 @@ func awsRestjson1_deserializeDocumentURL(v **types.URL, value interface{}) error } sv.HyperlinkName = ptr.String(jtv) } - case "link": if value != nil { jtv, ok := value.(string) @@ -15534,7 +15112,6 @@ func awsRestjson1_deserializeDocumentURL(v **types.URL, value interface{}) error } sv.Link = ptr.String(jtv) } - default: _, _ = key, value @@ -15600,20 +15177,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15621,7 +15191,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -15630,15 +15199,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15673,7 +15238,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15682,7 +15246,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/autoscalingplans/deserializers.go b/service/autoscalingplans/deserializers.go index 60ed7c7922b..158d6303da4 100644 --- a/service/autoscalingplans/deserializers.go +++ b/service/autoscalingplans/deserializers.go @@ -984,12 +984,10 @@ func awsAwsjson11_deserializeDocumentApplicationSource(v **types.ApplicationSour } sv.CloudFormationStackARN = ptr.String(jtv) } - case "TagFilters": if err := awsAwsjson11_deserializeDocumentTagFilters(&sv.TagFilters, value); err != nil { return err } - default: _, _ = key, value @@ -1019,15 +1017,9 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1035,15 +1027,11 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1074,7 +1062,6 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -1083,7 +1070,6 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1092,7 +1078,6 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Namespace = ptr.String(jtv) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -1101,7 +1086,6 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Statistic = types.MetricStatistic(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -1110,7 +1094,6 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -1146,7 +1129,6 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -1155,7 +1137,6 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1164,7 +1145,6 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Namespace = ptr.String(jtv) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -1173,7 +1153,6 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Statistic = types.MetricStatistic(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -1182,7 +1161,6 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -1229,7 +1207,6 @@ func awsAwsjson11_deserializeDocumentDatapoint(v **types.Datapoint, value interf } } - case "Value": if value != nil { switch jtv := value.(type) { @@ -1263,7 +1240,6 @@ func awsAwsjson11_deserializeDocumentDatapoint(v **types.Datapoint, value interf } } - default: _, _ = key, value @@ -1327,15 +1303,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1343,15 +1313,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1376,15 +1342,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1392,15 +1352,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1425,15 +1381,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1441,15 +1391,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1484,7 +1430,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1493,7 +1438,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1557,15 +1501,9 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1573,15 +1511,11 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1616,7 +1550,6 @@ func awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(v **types } sv.PredefinedLoadMetricType = types.LoadMetricType(jtv) } - case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -1625,7 +1558,6 @@ func awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(v **types } sv.ResourceLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -1665,7 +1597,6 @@ func awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(v **ty } sv.PredefinedScalingMetricType = types.ScalingMetricType(jtv) } - case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -1674,7 +1605,6 @@ func awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(v **ty } sv.ResourceLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -1710,7 +1640,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc if err := awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(&sv.CustomizedLoadMetricSpecification, value); err != nil { return err } - case "DisableDynamicScaling": if value != nil { jtv, ok := value.(bool) @@ -1719,7 +1648,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.DisableDynamicScaling = ptr.Bool(jtv) } - case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -1732,7 +1660,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -1745,12 +1672,10 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.MinCapacity = ptr.Int32(int32(i64)) } - case "PredefinedLoadMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(&sv.PredefinedLoadMetricSpecification, value); err != nil { return err } - case "PredictiveScalingMaxCapacityBehavior": if value != nil { jtv, ok := value.(string) @@ -1759,7 +1684,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMaxCapacityBehavior = types.PredictiveScalingMaxCapacityBehavior(jtv) } - case "PredictiveScalingMaxCapacityBuffer": if value != nil { jtv, ok := value.(json.Number) @@ -1772,7 +1696,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMaxCapacityBuffer = ptr.Int32(int32(i64)) } - case "PredictiveScalingMode": if value != nil { jtv, ok := value.(string) @@ -1781,7 +1704,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMode = types.PredictiveScalingMode(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -1790,7 +1712,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ResourceId = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -1799,7 +1720,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ScalingPolicyUpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -1808,7 +1728,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScalingPolicyUpdateBehavior = types.ScalingPolicyUpdateBehavior(jtv) } - case "ScheduledActionBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -1821,7 +1740,6 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScheduledActionBufferTime = ptr.Int32(int32(i64)) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -1830,12 +1748,10 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - case "TargetTrackingConfigurations": if err := awsAwsjson11_deserializeDocumentTargetTrackingConfigurations(&sv.TargetTrackingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -1905,7 +1821,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in if err := awsAwsjson11_deserializeDocumentApplicationSource(&sv.ApplicationSource, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1921,12 +1836,10 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } } - case "ScalingInstructions": if err := awsAwsjson11_deserializeDocumentScalingInstructions(&sv.ScalingInstructions, value); err != nil { return err } - case "ScalingPlanName": if value != nil { jtv, ok := value.(string) @@ -1935,7 +1848,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.ScalingPlanName = ptr.String(jtv) } - case "ScalingPlanVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1948,7 +1860,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.ScalingPlanVersion = ptr.Int64(i64) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1957,7 +1868,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.StatusCode = types.ScalingPlanStatusCode(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -1966,7 +1876,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.StatusMessage = ptr.String(jtv) } - case "StatusStartTime": if value != nil { switch jtv := value.(type) { @@ -1982,7 +1891,6 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } } - default: _, _ = key, value @@ -2022,7 +1930,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ResourceId = ptr.String(jtv) } - case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -2031,7 +1938,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalableDimension = types.ScalableDimension(jtv) } - case "ScalingPlanName": if value != nil { jtv, ok := value.(string) @@ -2040,7 +1946,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingPlanName = ptr.String(jtv) } - case "ScalingPlanVersion": if value != nil { jtv, ok := value.(json.Number) @@ -2053,12 +1958,10 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingPlanVersion = ptr.Int64(i64) } - case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } - case "ScalingStatusCode": if value != nil { jtv, ok := value.(string) @@ -2067,7 +1970,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingStatusCode = types.ScalingStatusCode(jtv) } - case "ScalingStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2076,7 +1978,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingStatusMessage = ptr.String(jtv) } - case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -2085,7 +1986,6 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ServiceNamespace = types.ServiceNamespace(jtv) } - default: _, _ = key, value @@ -2227,7 +2127,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyName = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2236,12 +2135,10 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } - case "TargetTrackingConfiguration": if err := awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(&sv.TargetTrackingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2281,12 +2178,10 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentTagValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -2392,7 +2287,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe if err := awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(&sv.CustomizedScalingMetricSpecification, value); err != nil { return err } - case "DisableScaleIn": if value != nil { jtv, ok := value.(bool) @@ -2401,7 +2295,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.DisableScaleIn = ptr.Bool(jtv) } - case "EstimatedInstanceWarmup": if value != nil { jtv, ok := value.(json.Number) @@ -2414,12 +2307,10 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.EstimatedInstanceWarmup = ptr.Int32(int32(i64)) } - case "PredefinedScalingMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(&sv.PredefinedScalingMetricSpecification, value); err != nil { return err } - case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -2432,7 +2323,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } - case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -2445,7 +2335,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } - case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -2479,7 +2368,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } } - default: _, _ = key, value @@ -2543,15 +2431,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2559,15 +2441,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2606,7 +2484,6 @@ func awsAwsjson11_deserializeOpDocumentCreateScalingPlanOutput(v **CreateScaling } sv.ScalingPlanVersion = ptr.Int64(i64) } - default: _, _ = key, value @@ -2677,12 +2554,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPlanResourcesOutput(v **De } sv.NextToken = ptr.String(jtv) } - case "ScalingPlanResources": if err := awsAwsjson11_deserializeDocumentScalingPlanResources(&sv.ScalingPlanResources, value); err != nil { return err } - default: _, _ = key, value @@ -2722,12 +2597,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPlansOutput(v **DescribeSc } sv.NextToken = ptr.String(jtv) } - case "ScalingPlans": if err := awsAwsjson11_deserializeDocumentScalingPlans(&sv.ScalingPlans, value); err != nil { return err } - default: _, _ = key, value @@ -2763,7 +2636,6 @@ func awsAwsjson11_deserializeOpDocumentGetScalingPlanResourceForecastDataOutput( if err := awsAwsjson11_deserializeDocumentDatapoints(&sv.Datapoints, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/b2bi/deserializers.go b/service/b2bi/deserializers.go index 49deb5e0293..720e5517161 100644 --- a/service/b2bi/deserializers.go +++ b/service/b2bi/deserializers.go @@ -3766,15 +3766,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3782,15 +3776,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3895,7 +3885,6 @@ func awsAwsjson10_deserializeDocumentCapabilityOptions(v **types.CapabilityOptio if err := awsAwsjson10_deserializeDocumentOutboundEdiOptions(&sv.OutboundEdi, value); err != nil { return err } - default: _, _ = key, value @@ -3935,7 +3924,6 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.CapabilityId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3948,7 +3936,6 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.CreatedAt = ptr.Time(t) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3961,7 +3948,6 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3970,7 +3956,6 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3979,7 +3964,6 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.Type = types.CapabilityType(jtv) } - default: _, _ = key, value @@ -4009,15 +3993,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4025,15 +4003,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4068,17 +4042,14 @@ func awsAwsjson10_deserializeDocumentEdiConfiguration(v **types.EdiConfiguration } sv.CapabilityDirection = types.CapabilityDirection(jtv) } - case "inputLocation": if err := awsAwsjson10_deserializeDocumentS3Location(&sv.InputLocation, value); err != nil { return err } - case "outputLocation": if err := awsAwsjson10_deserializeDocumentS3Location(&sv.OutputLocation, value); err != nil { return err } - case "transformerId": if value != nil { jtv, ok := value.(string) @@ -4087,12 +4058,10 @@ func awsAwsjson10_deserializeDocumentEdiConfiguration(v **types.EdiConfiguration } sv.TransformerId = ptr.String(jtv) } - case "type": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -4208,7 +4177,6 @@ func awsAwsjson10_deserializeDocumentInputConversion(v **types.InputConversion, if err := awsAwsjson10_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "fromFormat": if value != nil { jtv, ok := value.(string) @@ -4217,7 +4185,6 @@ func awsAwsjson10_deserializeDocumentInputConversion(v **types.InputConversion, } sv.FromFormat = types.FromFormat(jtv) } - default: _, _ = key, value @@ -4281,15 +4248,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4297,7 +4258,6 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4310,15 +4270,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4387,7 +4343,6 @@ func awsAwsjson10_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.Template = ptr.String(jtv) } - case "templateLanguage": if value != nil { jtv, ok := value.(string) @@ -4396,7 +4351,6 @@ func awsAwsjson10_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.TemplateLanguage = types.MappingTemplateLanguage(jtv) } - default: _, _ = key, value @@ -4472,7 +4426,6 @@ func awsAwsjson10_deserializeDocumentOutputConversion(v **types.OutputConversion if err := awsAwsjson10_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "toFormat": if value != nil { jtv, ok := value.(string) @@ -4481,7 +4434,6 @@ func awsAwsjson10_deserializeDocumentOutputConversion(v **types.OutputConversion } sv.ToFormat = types.ToFormat(jtv) } - default: _, _ = key, value @@ -4587,12 +4539,10 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } - case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4605,7 +4555,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.CreatedAt = ptr.Time(t) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4618,7 +4567,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4627,7 +4575,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.Name = ptr.String(jtv) } - case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -4636,7 +4583,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.PartnershipId = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -4645,7 +4591,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.ProfileId = ptr.String(jtv) } - case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -4654,7 +4599,6 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.TradingPartnerId = ptr.String(jtv) } - default: _, _ = key, value @@ -4728,7 +4672,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.BusinessName = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4741,7 +4684,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.CreatedAt = ptr.Time(t) } - case "logging": if value != nil { jtv, ok := value.(string) @@ -4750,7 +4692,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Logging = types.Logging(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -4759,7 +4700,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.LogGroupName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4772,7 +4712,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4781,7 +4720,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Name = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -4790,7 +4728,6 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -4820,15 +4757,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4836,15 +4767,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4879,7 +4806,6 @@ func awsAwsjson10_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -4888,7 +4814,6 @@ func awsAwsjson10_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -4962,7 +4887,6 @@ func awsAwsjson10_deserializeDocumentSampleDocumentKeys(v **types.SampleDocument } sv.Input = ptr.String(jtv) } - case "output": if value != nil { jtv, ok := value.(string) @@ -4971,7 +4895,6 @@ func awsAwsjson10_deserializeDocumentSampleDocumentKeys(v **types.SampleDocument } sv.Output = ptr.String(jtv) } - default: _, _ = key, value @@ -5011,12 +4934,10 @@ func awsAwsjson10_deserializeDocumentSampleDocuments(v **types.SampleDocuments, } sv.BucketName = ptr.String(jtv) } - case "keys": if err := awsAwsjson10_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } - default: _, _ = key, value @@ -5046,15 +4967,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5062,7 +4977,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5071,7 +4985,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5080,7 +4993,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5089,7 +5001,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5098,15 +5009,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5141,7 +5048,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5150,7 +5056,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5214,15 +5119,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5230,7 +5129,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5243,15 +5141,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5324,12 +5218,10 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.CreatedAt = ptr.Time(t) } - case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -5338,17 +5230,14 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.FileFormat = types.FileFormat(jtv) } - case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } - case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } - case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -5357,7 +5246,6 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.MappingTemplate = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5370,7 +5258,6 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5379,12 +5266,10 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.Name = ptr.String(jtv) } - case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } - case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -5393,12 +5278,10 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.SampleDocument = ptr.String(jtv) } - case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5290,6 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.Status = types.TransformerStatus(jtv) } - case "transformerId": if value != nil { jtv, ok := value.(string) @@ -5416,7 +5298,6 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.TransformerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5446,15 +5327,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5462,15 +5337,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5541,7 +5412,6 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.ComponentSeparator = ptr.String(jtv) } - case "dataElementSeparator": if value != nil { jtv, ok := value.(string) @@ -5550,7 +5420,6 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.DataElementSeparator = ptr.String(jtv) } - case "segmentTerminator": if value != nil { jtv, ok := value.(string) @@ -5559,7 +5428,6 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.SegmentTerminator = ptr.String(jtv) } - default: _, _ = key, value @@ -5599,7 +5467,6 @@ func awsAwsjson10_deserializeDocumentX12Details(v **types.X12Details, value inte } sv.TransactionSet = types.X12TransactionSet(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5608,7 +5475,6 @@ func awsAwsjson10_deserializeDocumentX12Details(v **types.X12Details, value inte } sv.Version = types.X12Version(jtv) } - default: _, _ = key, value @@ -5644,7 +5510,6 @@ func awsAwsjson10_deserializeDocumentX12Envelope(v **types.X12Envelope, value in if err := awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(&sv.Common, value); err != nil { return err } - default: _, _ = key, value @@ -5684,7 +5549,6 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ApplicationReceiverCode = ptr.String(jtv) } - case "applicationSenderCode": if value != nil { jtv, ok := value.(string) @@ -5693,7 +5557,6 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ApplicationSenderCode = ptr.String(jtv) } - case "responsibleAgencyCode": if value != nil { jtv, ok := value.(string) @@ -5702,7 +5565,6 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ResponsibleAgencyCode = ptr.String(jtv) } - default: _, _ = key, value @@ -5742,7 +5604,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.AcknowledgmentRequestedCode = ptr.String(jtv) } - case "receiverId": if value != nil { jtv, ok := value.(string) @@ -5751,7 +5612,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.ReceiverId = ptr.String(jtv) } - case "receiverIdQualifier": if value != nil { jtv, ok := value.(string) @@ -5760,7 +5620,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.ReceiverIdQualifier = ptr.String(jtv) } - case "repetitionSeparator": if value != nil { jtv, ok := value.(string) @@ -5769,7 +5628,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.RepetitionSeparator = ptr.String(jtv) } - case "senderId": if value != nil { jtv, ok := value.(string) @@ -5778,7 +5636,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.SenderId = ptr.String(jtv) } - case "senderIdQualifier": if value != nil { jtv, ok := value.(string) @@ -5787,7 +5644,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.SenderIdQualifier = ptr.String(jtv) } - case "usageIndicatorCode": if value != nil { jtv, ok := value.(string) @@ -5796,7 +5652,6 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.UsageIndicatorCode = ptr.String(jtv) } - default: _, _ = key, value @@ -5832,17 +5687,14 @@ func awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(v **types.X12Outbound if err := awsAwsjson10_deserializeDocumentX12Delimiters(&sv.Delimiters, value); err != nil { return err } - case "functionalGroupHeaders": if err := awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(&sv.FunctionalGroupHeaders, value); err != nil { return err } - case "interchangeControlHeaders": if err := awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(&sv.InterchangeControlHeaders, value); err != nil { return err } - case "validateEdi": if value != nil { jtv, ok := value.(bool) @@ -5851,7 +5703,6 @@ func awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(v **types.X12Outbound } sv.ValidateEdi = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5891,7 +5742,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CapabilityArn = ptr.String(jtv) } - case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -5900,12 +5750,10 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CapabilityId = ptr.String(jtv) } - case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5918,12 +5766,10 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CreatedAt = ptr.Time(t) } - case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5932,7 +5778,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5941,7 +5786,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.Type = types.CapabilityType(jtv) } - default: _, _ = key, value @@ -5977,12 +5821,10 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } - case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5995,7 +5837,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -6004,7 +5845,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Email = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6013,7 +5853,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Name = ptr.String(jtv) } - case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -6022,7 +5861,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.PartnershipArn = ptr.String(jtv) } - case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -6031,7 +5869,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.PartnershipId = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -6040,7 +5877,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Phone = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -6049,7 +5885,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.ProfileId = ptr.String(jtv) } - case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -6058,7 +5893,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.TradingPartnerId = ptr.String(jtv) } - default: _, _ = key, value @@ -6098,7 +5932,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.BusinessName = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6111,7 +5944,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -6120,7 +5952,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Email = ptr.String(jtv) } - case "logging": if value != nil { jtv, ok := value.(string) @@ -6129,7 +5960,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Logging = types.Logging(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -6138,7 +5968,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.LogGroupName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6147,7 +5976,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Name = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -6156,7 +5984,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Phone = ptr.String(jtv) } - case "profileArn": if value != nil { jtv, ok := value.(string) @@ -6165,7 +5992,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileArn = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -6174,7 +6000,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -6214,7 +6039,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStarterMappingTemplateOutput(v **Cr } sv.MappingTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -6258,12 +6082,10 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.CreatedAt = ptr.Time(t) } - case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -6272,17 +6094,14 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.FileFormat = types.FileFormat(jtv) } - case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } - case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } - case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -6291,7 +6110,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.MappingTemplate = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6300,12 +6118,10 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.Name = ptr.String(jtv) } - case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } - case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -6314,12 +6130,10 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.SampleDocument = ptr.String(jtv) } - case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6328,7 +6142,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.Status = types.TransformerStatus(jtv) } - case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -6337,7 +6150,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.TransformerArn = ptr.String(jtv) } - case "transformerId": if value != nil { jtv, ok := value.(string) @@ -6346,7 +6158,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.TransformerId = ptr.String(jtv) } - default: _, _ = key, value @@ -6386,7 +6197,6 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CapabilityArn = ptr.String(jtv) } - case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -6395,12 +6205,10 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CapabilityId = ptr.String(jtv) } - case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6413,12 +6221,10 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CreatedAt = ptr.Time(t) } - case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6431,7 +6237,6 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6440,7 +6245,6 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6449,7 +6253,6 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.Type = types.CapabilityType(jtv) } - default: _, _ = key, value @@ -6485,12 +6288,10 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } - case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6503,7 +6304,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -6512,7 +6312,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Email = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6525,7 +6324,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6534,7 +6332,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Name = ptr.String(jtv) } - case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -6543,7 +6340,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.PartnershipArn = ptr.String(jtv) } - case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -6552,7 +6348,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.PartnershipId = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -6561,7 +6356,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Phone = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -6570,7 +6364,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.ProfileId = ptr.String(jtv) } - case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6372,6 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.TradingPartnerId = ptr.String(jtv) } - default: _, _ = key, value @@ -6619,7 +6411,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.BusinessName = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6632,7 +6423,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -6641,7 +6431,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Email = ptr.String(jtv) } - case "logging": if value != nil { jtv, ok := value.(string) @@ -6650,7 +6439,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Logging = types.Logging(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -6659,7 +6447,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.LogGroupName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6459,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6467,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Name = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -6690,7 +6475,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Phone = ptr.String(jtv) } - case "profileArn": if value != nil { jtv, ok := value.(string) @@ -6699,7 +6483,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ProfileArn = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -6708,7 +6491,6 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -6748,12 +6530,10 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerJobOutput(v **GetTransforme } sv.Message = ptr.String(jtv) } - case "outputFiles": if err := awsAwsjson10_deserializeDocumentS3LocationList(&sv.OutputFiles, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6762,7 +6542,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerJobOutput(v **GetTransforme } sv.Status = types.TransformerJobStatus(jtv) } - default: _, _ = key, value @@ -6806,12 +6585,10 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.CreatedAt = ptr.Time(t) } - case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -6820,17 +6597,14 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.FileFormat = types.FileFormat(jtv) } - case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } - case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } - case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -6839,7 +6613,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.MappingTemplate = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6852,7 +6625,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6861,12 +6633,10 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.Name = ptr.String(jtv) } - case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } - case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -6875,12 +6645,10 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.SampleDocument = ptr.String(jtv) } - case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6889,7 +6657,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.Status = types.TransformerStatus(jtv) } - case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -6898,7 +6665,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.TransformerArn = ptr.String(jtv) } - case "transformerId": if value != nil { jtv, ok := value.(string) @@ -6907,7 +6673,6 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.TransformerId = ptr.String(jtv) } - default: _, _ = key, value @@ -6943,7 +6708,6 @@ func awsAwsjson10_deserializeOpDocumentListCapabilitiesOutput(v **ListCapabiliti if err := awsAwsjson10_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6952,7 +6716,6 @@ func awsAwsjson10_deserializeOpDocumentListCapabilitiesOutput(v **ListCapabiliti } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6992,12 +6755,10 @@ func awsAwsjson10_deserializeOpDocumentListPartnershipsOutput(v **ListPartnershi } sv.NextToken = ptr.String(jtv) } - case "partnerships": if err := awsAwsjson10_deserializeDocumentPartnershipList(&sv.Partnerships, value); err != nil { return err } - default: _, _ = key, value @@ -7037,12 +6798,10 @@ func awsAwsjson10_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } - case "profiles": if err := awsAwsjson10_deserializeDocumentProfileList(&sv.Profiles, value); err != nil { return err } - default: _, _ = key, value @@ -7078,7 +6837,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7118,12 +6876,10 @@ func awsAwsjson10_deserializeOpDocumentListTransformersOutput(v **ListTransforme } sv.NextToken = ptr.String(jtv) } - case "transformers": if err := awsAwsjson10_deserializeDocumentTransformerList(&sv.Transformers, value); err != nil { return err } - default: _, _ = key, value @@ -7163,7 +6919,6 @@ func awsAwsjson10_deserializeOpDocumentStartTransformerJobOutput(v **StartTransf } sv.TransformerJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7203,12 +6958,10 @@ func awsAwsjson10_deserializeOpDocumentTestConversionOutput(v **TestConversionOu } sv.ConvertedFileContent = ptr.String(jtv) } - case "validationMessages": if err := awsAwsjson10_deserializeDocumentValidationMessages(&sv.ValidationMessages, value); err != nil { return err } - default: _, _ = key, value @@ -7248,7 +7001,6 @@ func awsAwsjson10_deserializeOpDocumentTestMappingOutput(v **TestMappingOutput, } sv.MappedFileContent = ptr.String(jtv) } - default: _, _ = key, value @@ -7288,7 +7040,6 @@ func awsAwsjson10_deserializeOpDocumentTestParsingOutput(v **TestParsingOutput, } sv.ParsedFileContent = ptr.String(jtv) } - default: _, _ = key, value @@ -7328,7 +7079,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CapabilityArn = ptr.String(jtv) } - case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -7337,12 +7087,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CapabilityId = ptr.String(jtv) } - case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7355,12 +7103,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CreatedAt = ptr.Time(t) } - case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7373,7 +7119,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7382,7 +7127,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7391,7 +7135,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.Type = types.CapabilityType(jtv) } - default: _, _ = key, value @@ -7427,12 +7170,10 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } - case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7445,7 +7186,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -7454,7 +7194,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Email = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7467,7 +7206,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7476,7 +7214,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Name = ptr.String(jtv) } - case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -7485,7 +7222,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.PartnershipArn = ptr.String(jtv) } - case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -7494,7 +7230,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.PartnershipId = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7238,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Phone = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7246,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.ProfileId = ptr.String(jtv) } - case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -7521,7 +7254,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.TradingPartnerId = ptr.String(jtv) } - default: _, _ = key, value @@ -7561,7 +7293,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.BusinessName = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7574,7 +7305,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.CreatedAt = ptr.Time(t) } - case "email": if value != nil { jtv, ok := value.(string) @@ -7583,7 +7313,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Email = ptr.String(jtv) } - case "logging": if value != nil { jtv, ok := value.(string) @@ -7592,7 +7321,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Logging = types.Logging(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -7601,7 +7329,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.LogGroupName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7614,7 +7341,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7623,7 +7349,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Name = ptr.String(jtv) } - case "phone": if value != nil { jtv, ok := value.(string) @@ -7632,7 +7357,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Phone = ptr.String(jtv) } - case "profileArn": if value != nil { jtv, ok := value.(string) @@ -7641,7 +7365,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileArn = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -7650,7 +7373,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -7694,12 +7416,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.CreatedAt = ptr.Time(t) } - case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -7708,17 +7428,14 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.FileFormat = types.FileFormat(jtv) } - case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } - case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } - case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -7727,7 +7444,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.MappingTemplate = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7740,7 +7456,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7749,12 +7464,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.Name = ptr.String(jtv) } - case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } - case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -7763,12 +7476,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.SampleDocument = ptr.String(jtv) } - case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7777,7 +7488,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.Status = types.TransformerStatus(jtv) } - case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -7786,7 +7496,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.TransformerArn = ptr.String(jtv) } - case "transformerId": if value != nil { jtv, ok := value.(string) @@ -7795,7 +7504,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.TransformerId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/backup/deserializers.go b/service/backup/deserializers.go index 19617102be5..31edf14b313 100644 --- a/service/backup/deserializers.go +++ b/service/backup/deserializers.go @@ -284,7 +284,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -293,7 +292,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -302,7 +300,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.BackupPlanId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -318,7 +315,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -327,7 +323,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -495,7 +490,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } sv.BackupPlanId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -511,7 +505,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } } - case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -520,7 +513,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } sv.SelectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -688,7 +680,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -697,7 +688,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } sv.BackupVaultName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -713,7 +703,6 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } } - default: _, _ = key, value @@ -881,7 +870,6 @@ func awsRestjson1_deserializeOpDocumentCreateFrameworkOutput(v **CreateFramework } sv.FrameworkArn = ptr.String(jtv) } - case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -890,7 +878,6 @@ func awsRestjson1_deserializeOpDocumentCreateFrameworkOutput(v **CreateFramework } sv.FrameworkName = ptr.String(jtv) } - default: _, _ = key, value @@ -1062,7 +1049,6 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1071,7 +1057,6 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Description = ptr.String(jtv) } - case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -1080,7 +1065,6 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.LegalHoldArn = ptr.String(jtv) } - case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -1089,12 +1073,10 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.LegalHoldId = ptr.String(jtv) } - case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1103,7 +1085,6 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Status = types.LegalHoldStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -1112,7 +1093,6 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -1283,7 +1263,6 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -1292,7 +1271,6 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.BackupVaultName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1308,7 +1286,6 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } } - case "VaultState": if value != nil { jtv, ok := value.(string) @@ -1317,7 +1294,6 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.VaultState = types.VaultState(jtv) } - default: _, _ = key, value @@ -1492,7 +1468,6 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } } - case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -1501,7 +1476,6 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } sv.ReportPlanArn = ptr.String(jtv) } - case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -1510,7 +1484,6 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } sv.ReportPlanName = ptr.String(jtv) } - default: _, _ = key, value @@ -1688,7 +1661,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -1697,7 +1669,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -1706,7 +1677,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } sv.RestoreTestingPlanName = ptr.String(jtv) } - default: _, _ = key, value @@ -1884,7 +1854,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -1893,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -1902,7 +1870,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -1911,7 +1878,6 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingSelectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -2079,7 +2045,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -2088,7 +2053,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.BackupPlanId = ptr.String(jtv) } - case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -2104,7 +2068,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -2113,7 +2076,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -3317,7 +3279,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.AccountId = ptr.String(jtv) } - case "BackupJobId": if value != nil { jtv, ok := value.(string) @@ -3326,12 +3287,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupJobId = ptr.String(jtv) } - case "BackupOptions": if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } - case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3344,7 +3303,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "BackupType": if value != nil { jtv, ok := value.(string) @@ -3353,7 +3311,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupType = ptr.String(jtv) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -3362,7 +3319,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -3371,7 +3327,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupVaultName = ptr.String(jtv) } - case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -3384,12 +3339,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BytesTransferred = ptr.Int64(i64) } - case "ChildJobsInState": if err := awsRestjson1_deserializeDocumentBackupJobChildJobsInState(&sv.ChildJobsInState, value); err != nil { return err } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -3405,12 +3358,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3426,7 +3377,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } - case "ExpectedCompletionDate": if value != nil { switch jtv := value.(type) { @@ -3442,7 +3392,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3451,7 +3400,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.IamRoleArn = ptr.String(jtv) } - case "InitiationDate": if value != nil { switch jtv := value.(type) { @@ -3467,7 +3415,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -3476,7 +3423,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.IsParent = jtv } - case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -3485,7 +3431,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.MessageCategory = ptr.String(jtv) } - case "NumberOfChildJobs": if value != nil { jtv, ok := value.(json.Number) @@ -3498,7 +3443,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.NumberOfChildJobs = ptr.Int64(i64) } - case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -3507,7 +3451,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ParentJobId = ptr.String(jtv) } - case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -3516,7 +3459,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.PercentDone = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -3525,7 +3467,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3534,7 +3475,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -3543,7 +3483,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3552,7 +3491,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceType = ptr.String(jtv) } - case "StartBy": if value != nil { switch jtv := value.(type) { @@ -3568,7 +3506,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } - case "State": if value != nil { jtv, ok := value.(string) @@ -3577,7 +3514,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.State = types.BackupJobState(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3586,7 +3522,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3751,7 +3686,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -3760,7 +3694,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.BackupVaultName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3776,7 +3709,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -3785,7 +3717,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.CreatorRequestId = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -3794,7 +3725,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.EncryptionKeyArn = ptr.String(jtv) } - case "LockDate": if value != nil { switch jtv := value.(type) { @@ -3810,7 +3740,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } } - case "Locked": if value != nil { jtv, ok := value.(bool) @@ -3819,7 +3748,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.Locked = ptr.Bool(jtv) } - case "MaxRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -3832,7 +3760,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.MaxRetentionDays = ptr.Int64(i64) } - case "MinRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -3845,7 +3772,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.MinRetentionDays = ptr.Int64(i64) } - case "NumberOfRecoveryPoints": if value != nil { jtv, ok := value.(json.Number) @@ -3858,7 +3784,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.NumberOfRecoveryPoints = i64 } - case "VaultState": if value != nil { jtv, ok := value.(string) @@ -3867,7 +3792,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.VaultState = types.VaultState(jtv) } - case "VaultType": if value != nil { jtv, ok := value.(string) @@ -3876,7 +3800,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.VaultType = types.VaultType(jtv) } - default: _, _ = key, value @@ -4037,7 +3960,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCopyJobOutput(v **DescribeCopyJob if err := awsRestjson1_deserializeDocumentCopyJob(&sv.CopyJob, value); err != nil { return err } - default: _, _ = key, value @@ -4209,7 +4131,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } } - case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -4218,7 +4139,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.DeploymentStatus = ptr.String(jtv) } - case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -4227,12 +4147,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkArn = ptr.String(jtv) } - case "FrameworkControls": if err := awsRestjson1_deserializeDocumentFrameworkControls(&sv.FrameworkControls, value); err != nil { return err } - case "FrameworkDescription": if value != nil { jtv, ok := value.(string) @@ -4241,7 +4159,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkDescription = ptr.String(jtv) } - case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -4250,7 +4167,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkName = ptr.String(jtv) } - case "FrameworkStatus": if value != nil { jtv, ok := value.(string) @@ -4259,7 +4175,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkStatus = ptr.String(jtv) } - case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -4268,7 +4183,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.IdempotencyToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4423,7 +4337,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalSettingsOutput(v **Describe if err := awsRestjson1_deserializeDocumentGlobalSettings(&sv.GlobalSettings, value); err != nil { return err } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -4439,7 +4352,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalSettingsOutput(v **Describe } } - default: _, _ = key, value @@ -4611,7 +4523,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } - case "LastBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -4620,7 +4531,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LastBackupVaultArn = ptr.String(jtv) } - case "LastRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -4629,7 +4539,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LastRecoveryPointArn = ptr.String(jtv) } - case "LatestRestoreExecutionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -4642,7 +4551,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LatestRestoreExecutionTimeMinutes = ptr.Int64(i64) } - case "LatestRestoreJobCreationDate": if value != nil { switch jtv := value.(type) { @@ -4658,7 +4566,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } - case "LatestRestoreRecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -4674,7 +4581,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4683,7 +4589,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4692,7 +4597,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4605,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -4870,7 +4773,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -4879,7 +4781,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -4888,12 +4789,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupVaultName = ptr.String(jtv) } - case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -4909,7 +4808,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } - case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -4918,12 +4816,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.CompositeMemberIdentifier = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -4939,7 +4835,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4948,7 +4843,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.EncryptionKeyArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -4957,7 +4851,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IamRoleArn = ptr.String(jtv) } - case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -4966,7 +4859,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IsEncrypted = jtv } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -4975,7 +4867,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IsParent = jtv } - case "LastRestoreTime": if value != nil { switch jtv := value.(type) { @@ -4991,12 +4882,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } - case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -5005,7 +4894,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ParentRecoveryPointArn = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4902,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5023,7 +4910,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5032,7 +4918,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5041,7 +4926,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceType = ptr.String(jtv) } - case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -5050,7 +4934,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.SourceBackupVaultArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5059,7 +4942,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.Status = types.RecoveryPointStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5068,7 +4950,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.StatusMessage = ptr.String(jtv) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -5077,7 +4958,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.StorageClass = types.StorageClass(jtv) } - case "VaultType": if value != nil { jtv, ok := value.(string) @@ -5086,7 +4966,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.VaultType = types.VaultType(jtv) } - default: _, _ = key, value @@ -5238,12 +5117,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRegionSettingsOutput(v **Describe if err := awsRestjson1_deserializeDocumentResourceTypeManagementPreference(&sv.ResourceTypeManagementPreference, value); err != nil { return err } - case "ResourceTypeOptInPreference": if err := awsRestjson1_deserializeDocumentResourceTypeOptInPreference(&sv.ResourceTypeOptInPreference, value); err != nil { return err } - default: _, _ = key, value @@ -5401,7 +5278,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReportJobOutput(v **DescribeRepor if err := awsRestjson1_deserializeDocumentReportJob(&sv.ReportJob, value); err != nil { return err } - default: _, _ = key, value @@ -5562,7 +5438,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReportPlanOutput(v **DescribeRepo if err := awsRestjson1_deserializeDocumentReportPlan(&sv.ReportPlan, value); err != nil { return err } - default: _, _ = key, value @@ -5730,7 +5605,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.AccountId = ptr.String(jtv) } - case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5743,7 +5617,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -5759,12 +5632,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRestoreJobCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreatedResourceArn": if value != nil { jtv, ok := value.(string) @@ -5773,7 +5644,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.CreatedResourceArn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5789,7 +5659,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } - case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -5798,7 +5667,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.DeletionStatus = types.RestoreDeletionStatus(jtv) } - case "DeletionStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5807,7 +5675,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.DeletionStatusMessage = ptr.String(jtv) } - case "ExpectedCompletionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5820,7 +5687,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ExpectedCompletionTimeMinutes = ptr.Int64(i64) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -5829,7 +5695,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.IamRoleArn = ptr.String(jtv) } - case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -5838,7 +5703,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.PercentDone = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -5847,7 +5711,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.RecoveryPointArn = ptr.String(jtv) } - case "RecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -5863,7 +5726,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5872,7 +5734,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ResourceType = ptr.String(jtv) } - case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -5881,7 +5742,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.RestoreJobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5890,7 +5750,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.Status = types.RestoreJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5899,7 +5758,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.StatusMessage = ptr.String(jtv) } - case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -5908,7 +5766,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ValidationStatus = types.RestoreValidationStatus(jtv) } - case "ValidationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5917,7 +5774,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ValidationStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6297,7 +6153,6 @@ func awsRestjson1_deserializeOpDocumentExportBackupPlanTemplateOutput(v **Export } sv.BackupPlanTemplateJson = ptr.String(jtv) } - default: _, _ = key, value @@ -6458,12 +6313,10 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlan": if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlan, value); err != nil { return err } - case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -6472,7 +6325,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -6481,7 +6333,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.BackupPlanId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -6497,7 +6348,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -6506,7 +6356,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.CreatorRequestId = ptr.String(jtv) } - case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -6522,7 +6371,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -6538,7 +6386,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -6547,7 +6394,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6711,7 +6557,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanFromJSONOutput(v **GetBackup if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlan, value); err != nil { return err } - default: _, _ = key, value @@ -6872,7 +6717,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanFromTemplateOutput(v **GetBa if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlanDocument, value); err != nil { return err } - default: _, _ = key, value @@ -7037,12 +6881,10 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.BackupPlanId = ptr.String(jtv) } - case "BackupSelection": if err := awsRestjson1_deserializeDocumentBackupSelection(&sv.BackupSelection, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -7058,7 +6900,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -7067,7 +6908,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.CreatorRequestId = ptr.String(jtv) } - case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -7076,7 +6916,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.SelectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -7241,7 +7080,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -7250,7 +7088,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.BackupVaultName = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -7259,7 +7096,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -7424,12 +7260,10 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultEvents": if err := awsRestjson1_deserializeDocumentBackupVaultEvents(&sv.BackupVaultEvents, value); err != nil { return err } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -7438,7 +7272,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.BackupVaultName = ptr.String(jtv) } - case "SNSTopicArn": if value != nil { jtv, ok := value.(string) @@ -7447,7 +7280,6 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.SNSTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7612,7 +7444,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.CancelDescription = ptr.String(jtv) } - case "CancellationDate": if value != nil { switch jtv := value.(type) { @@ -7628,7 +7459,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -7644,7 +7474,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7653,7 +7482,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Description = ptr.String(jtv) } - case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7490,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.LegalHoldArn = ptr.String(jtv) } - case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -7671,12 +7498,10 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.LegalHoldId = ptr.String(jtv) } - case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } - case "RetainRecordUntil": if value != nil { switch jtv := value.(type) { @@ -7692,7 +7517,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7701,7 +7525,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Status = types.LegalHoldStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -7710,7 +7533,6 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -7875,7 +7697,6 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.BackupVaultArn = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -7884,7 +7705,6 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7893,12 +7713,10 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.ResourceType = ptr.String(jtv) } - case "RestoreMetadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.RestoreMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -8059,7 +7877,6 @@ func awsRestjson1_deserializeOpDocumentGetRestoreJobMetadataOutput(v **GetRestor if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -8068,7 +7885,6 @@ func awsRestjson1_deserializeOpDocumentGetRestoreJobMetadataOutput(v **GetRestor } sv.RestoreJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -8229,7 +8045,6 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingInferredMetadataOutput(v if err := awsRestjson1_deserializeDocumentStringMap(&sv.InferredMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -8384,7 +8199,6 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingPlanOutput(v **GetRestor if err := awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(&sv.RestoreTestingPlan, value); err != nil { return err } - default: _, _ = key, value @@ -8539,7 +8353,6 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingSelectionOutput(v **GetR if err := awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(&sv.RestoreTestingSelection, value); err != nil { return err } - default: _, _ = key, value @@ -8691,7 +8504,6 @@ func awsRestjson1_deserializeOpDocumentGetSupportedResourceTypesOutput(v **GetSu if err := awsRestjson1_deserializeDocumentResourceTypes(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -8846,7 +8658,6 @@ func awsRestjson1_deserializeOpDocumentListBackupJobsOutput(v **ListBackupJobsOu if err := awsRestjson1_deserializeDocumentBackupJobsList(&sv.BackupJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8855,7 +8666,6 @@ func awsRestjson1_deserializeOpDocumentListBackupJobsOutput(v **ListBackupJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9014,12 +8824,10 @@ func awsRestjson1_deserializeOpDocumentListBackupJobSummariesOutput(v **ListBack } sv.AggregationPeriod = ptr.String(jtv) } - case "BackupJobSummaries": if err := awsRestjson1_deserializeDocumentBackupJobSummaryList(&sv.BackupJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9028,7 +8836,6 @@ func awsRestjson1_deserializeOpDocumentListBackupJobSummariesOutput(v **ListBack } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9189,7 +8996,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlansOutput(v **ListBackupPlans if err := awsRestjson1_deserializeDocumentBackupPlansList(&sv.BackupPlansList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9198,7 +9004,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlansOutput(v **ListBackupPlans } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9359,7 +9164,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanTemplatesOutput(v **ListBac if err := awsRestjson1_deserializeDocumentBackupPlanTemplatesList(&sv.BackupPlanTemplatesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9368,7 +9172,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanTemplatesOutput(v **ListBac } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9529,7 +9332,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanVersionsOutput(v **ListBack if err := awsRestjson1_deserializeDocumentBackupPlanVersionsList(&sv.BackupPlanVersionsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9538,7 +9340,6 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanVersionsOutput(v **ListBack } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9699,7 +9500,6 @@ func awsRestjson1_deserializeOpDocumentListBackupSelectionsOutput(v **ListBackup if err := awsRestjson1_deserializeDocumentBackupSelectionsList(&sv.BackupSelectionsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9708,7 +9508,6 @@ func awsRestjson1_deserializeOpDocumentListBackupSelectionsOutput(v **ListBackup } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9869,7 +9668,6 @@ func awsRestjson1_deserializeOpDocumentListBackupVaultsOutput(v **ListBackupVaul if err := awsRestjson1_deserializeDocumentBackupVaultList(&sv.BackupVaultList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9878,7 +9676,6 @@ func awsRestjson1_deserializeOpDocumentListBackupVaultsOutput(v **ListBackupVaul } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10033,7 +9830,6 @@ func awsRestjson1_deserializeOpDocumentListCopyJobsOutput(v **ListCopyJobsOutput if err := awsRestjson1_deserializeDocumentCopyJobsList(&sv.CopyJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10042,7 +9838,6 @@ func awsRestjson1_deserializeOpDocumentListCopyJobsOutput(v **ListCopyJobsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10201,12 +9996,10 @@ func awsRestjson1_deserializeOpDocumentListCopyJobSummariesOutput(v **ListCopyJo } sv.AggregationPeriod = ptr.String(jtv) } - case "CopyJobSummaries": if err := awsRestjson1_deserializeDocumentCopyJobSummaryList(&sv.CopyJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10215,7 +10008,6 @@ func awsRestjson1_deserializeOpDocumentListCopyJobSummariesOutput(v **ListCopyJo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10370,7 +10162,6 @@ func awsRestjson1_deserializeOpDocumentListFrameworksOutput(v **ListFrameworksOu if err := awsRestjson1_deserializeDocumentFrameworkList(&sv.Frameworks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10379,7 +10170,6 @@ func awsRestjson1_deserializeOpDocumentListFrameworksOutput(v **ListFrameworksOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10534,7 +10324,6 @@ func awsRestjson1_deserializeOpDocumentListLegalHoldsOutput(v **ListLegalHoldsOu if err := awsRestjson1_deserializeDocumentLegalHoldsList(&sv.LegalHolds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10543,7 +10332,6 @@ func awsRestjson1_deserializeOpDocumentListLegalHoldsOutput(v **ListLegalHoldsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10702,12 +10490,10 @@ func awsRestjson1_deserializeOpDocumentListProtectedResourcesOutput(v **ListProt } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsRestjson1_deserializeDocumentProtectedResourcesList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -10869,12 +10655,10 @@ func awsRestjson1_deserializeOpDocumentListProtectedResourcesByBackupVaultOutput } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsRestjson1_deserializeDocumentProtectedResourcesList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -11039,12 +10823,10 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByBackupVaultOutput(v * } sv.NextToken = ptr.String(jtv) } - case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointByBackupVaultList(&sv.RecoveryPoints, value); err != nil { return err } - default: _, _ = key, value @@ -11206,12 +10988,10 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByLegalHoldOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointsList(&sv.RecoveryPoints, value); err != nil { return err } - default: _, _ = key, value @@ -11376,12 +11156,10 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByResourceOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointByResourceList(&sv.RecoveryPoints, value); err != nil { return err } - default: _, _ = key, value @@ -11543,12 +11321,10 @@ func awsRestjson1_deserializeOpDocumentListReportJobsOutput(v **ListReportJobsOu } sv.NextToken = ptr.String(jtv) } - case "ReportJobs": if err := awsRestjson1_deserializeDocumentReportJobList(&sv.ReportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -11707,12 +11483,10 @@ func awsRestjson1_deserializeOpDocumentListReportPlansOutput(v **ListReportPlans } sv.NextToken = ptr.String(jtv) } - case "ReportPlans": if err := awsRestjson1_deserializeDocumentReportPlanList(&sv.ReportPlans, value); err != nil { return err } - default: _, _ = key, value @@ -11877,12 +11651,10 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobsOutput(v **ListRestoreJobs } sv.NextToken = ptr.String(jtv) } - case "RestoreJobs": if err := awsRestjson1_deserializeDocumentRestoreJobsList(&sv.RestoreJobs, value); err != nil { return err } - default: _, _ = key, value @@ -12047,12 +11819,10 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobsByProtectedResourceOutput( } sv.NextToken = ptr.String(jtv) } - case "RestoreJobs": if err := awsRestjson1_deserializeDocumentRestoreJobsList(&sv.RestoreJobs, value); err != nil { return err } - default: _, _ = key, value @@ -12211,7 +11981,6 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobSummariesOutput(v **ListRes } sv.AggregationPeriod = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12220,12 +11989,10 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobSummariesOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } - case "RestoreJobSummaries": if err := awsRestjson1_deserializeDocumentRestoreJobSummaryList(&sv.RestoreJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -12384,12 +12151,10 @@ func awsRestjson1_deserializeOpDocumentListRestoreTestingPlansOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } - case "RestoreTestingPlans": if err := awsRestjson1_deserializeDocumentRestoreTestingPlans(&sv.RestoreTestingPlans, value); err != nil { return err } - default: _, _ = key, value @@ -12551,12 +12316,10 @@ func awsRestjson1_deserializeOpDocumentListRestoreTestingSelectionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "RestoreTestingSelections": if err := awsRestjson1_deserializeDocumentRestoreTestingSelections(&sv.RestoreTestingSelections, value); err != nil { return err } - default: _, _ = key, value @@ -12721,12 +12484,10 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13315,7 +13076,6 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.BackupJobId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -13331,7 +13091,6 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -13340,7 +13099,6 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.IsParent = jtv } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -13349,7 +13107,6 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.RecoveryPointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13520,7 +13277,6 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } sv.CopyJobId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -13536,7 +13292,6 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -13545,7 +13300,6 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } sv.IsParent = jtv } - default: _, _ = key, value @@ -13710,7 +13464,6 @@ func awsRestjson1_deserializeOpDocumentStartReportJobOutput(v **StartReportJobOu } sv.ReportJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -13878,7 +13631,6 @@ func awsRestjson1_deserializeOpDocumentStartRestoreJobOutput(v **StartRestoreJob } sv.RestoreJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -14354,7 +14106,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -14363,7 +14114,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -14372,7 +14122,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.BackupPlanId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -14388,7 +14137,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -14397,7 +14145,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -14578,7 +14325,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } } - case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -14587,7 +14333,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } sv.FrameworkArn = ptr.String(jtv) } - case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -14596,7 +14341,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } sv.FrameworkName = ptr.String(jtv) } - default: _, _ = key, value @@ -14867,17 +14611,14 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryPointLifecycleOutput(v **Up } sv.BackupVaultArn = ptr.String(jtv) } - case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -14886,7 +14627,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryPointLifecycleOutput(v **Up } sv.RecoveryPointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15161,7 +14901,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } } - case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -15170,7 +14909,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } sv.ReportPlanArn = ptr.String(jtv) } - case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -15179,7 +14917,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } sv.ReportPlanName = ptr.String(jtv) } - default: _, _ = key, value @@ -15354,7 +15091,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -15363,7 +15099,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -15372,7 +15107,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -15388,7 +15122,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } } - default: _, _ = key, value @@ -15563,7 +15296,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -15572,7 +15304,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -15581,7 +15312,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -15590,7 +15320,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingSelectionName = ptr.String(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -15606,7 +15335,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } } - default: _, _ = key, value @@ -16002,7 +15730,6 @@ func awsRestjson1_deserializeDocumentAdvancedBackupSetting(v **types.AdvancedBac if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16011,7 +15738,6 @@ func awsRestjson1_deserializeDocumentAdvancedBackupSetting(v **types.AdvancedBac } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -16075,13 +15801,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Arn": if value != nil { @@ -16091,7 +15811,6 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Arn = ptr.String(jtv) } - case "Code": if value != nil { jtv, ok := value.(string) @@ -16100,7 +15819,6 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -16109,7 +15827,6 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Context = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -16118,8 +15835,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.CreatorRequestId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16127,7 +15843,6 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16136,15 +15851,11 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16179,7 +15890,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.AccountId = ptr.String(jtv) } - case "BackupJobId": if value != nil { jtv, ok := value.(string) @@ -16188,12 +15898,10 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupJobId = ptr.String(jtv) } - case "BackupOptions": if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } - case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -16206,7 +15914,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "BackupType": if value != nil { jtv, ok := value.(string) @@ -16215,7 +15922,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupType = ptr.String(jtv) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -16224,7 +15930,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -16233,7 +15938,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupVaultName = ptr.String(jtv) } - case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -16246,7 +15950,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BytesTransferred = ptr.Int64(i64) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -16262,12 +15965,10 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -16283,7 +15984,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } - case "ExpectedCompletionDate": if value != nil { switch jtv := value.(type) { @@ -16299,7 +15999,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -16308,7 +16007,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.IamRoleArn = ptr.String(jtv) } - case "InitiationDate": if value != nil { switch jtv := value.(type) { @@ -16324,7 +16022,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -16333,7 +16030,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.IsParent = jtv } - case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -16342,7 +16038,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.MessageCategory = ptr.String(jtv) } - case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -16351,7 +16046,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ParentJobId = ptr.String(jtv) } - case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -16360,7 +16054,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.PercentDone = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -16369,7 +16062,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -16378,7 +16070,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -16387,7 +16078,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16396,7 +16086,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceType = ptr.String(jtv) } - case "StartBy": if value != nil { switch jtv := value.(type) { @@ -16412,7 +16101,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } - case "State": if value != nil { jtv, ok := value.(string) @@ -16421,7 +16109,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.State = types.BackupJobState(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -16430,7 +16117,6 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -16544,7 +16230,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.AccountId = ptr.String(jtv) } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -16557,7 +16242,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.Count = int32(i64) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -16573,7 +16257,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } } - case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -16582,7 +16265,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.MessageCategory = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -16591,7 +16273,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.Region = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16600,7 +16281,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.ResourceType = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -16616,7 +16296,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } } - case "State": if value != nil { jtv, ok := value.(string) @@ -16625,7 +16304,6 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.State = types.BackupJobStatus(jtv) } - default: _, _ = key, value @@ -16731,7 +16409,6 @@ func awsRestjson1_deserializeDocumentBackupPlan(v **types.BackupPlan, value inte if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -16740,12 +16417,10 @@ func awsRestjson1_deserializeDocumentBackupPlan(v **types.BackupPlan, value inte } sv.BackupPlanName = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentBackupRules(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -16815,7 +16490,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -16824,7 +16498,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -16833,7 +16506,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanId = ptr.String(jtv) } - case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -16842,7 +16514,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -16858,7 +16529,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -16867,7 +16537,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.CreatorRequestId = ptr.String(jtv) } - case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -16883,7 +16552,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -16899,7 +16567,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -16908,7 +16575,6 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -16982,7 +16648,6 @@ func awsRestjson1_deserializeDocumentBackupPlanTemplatesListMember(v **types.Bac } sv.BackupPlanTemplateId = ptr.String(jtv) } - case "BackupPlanTemplateName": if value != nil { jtv, ok := value.(string) @@ -16991,7 +16656,6 @@ func awsRestjson1_deserializeDocumentBackupPlanTemplatesListMember(v **types.Bac } sv.BackupPlanTemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -17069,12 +16733,10 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.CompletionWindowMinutes = ptr.Int64(i64) } - case "CopyActions": if err := awsRestjson1_deserializeDocumentCopyActions(&sv.CopyActions, value); err != nil { return err } - case "EnableContinuousBackup": if value != nil { jtv, ok := value.(bool) @@ -17083,17 +16745,14 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.EnableContinuousBackup = ptr.Bool(jtv) } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } - case "RecoveryPointTags": if err := awsRestjson1_deserializeDocumentTags(&sv.RecoveryPointTags, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -17102,7 +16761,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.RuleId = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -17111,7 +16769,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.RuleName = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -17120,7 +16777,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -17129,7 +16785,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.ScheduleExpressionTimezone = ptr.String(jtv) } - case "StartWindowMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17142,7 +16797,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.StartWindowMinutes = ptr.Int64(i64) } - case "TargetBackupVaultName": if value != nil { jtv, ok := value.(string) @@ -17151,7 +16805,6 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.TargetBackupVaultName = ptr.String(jtv) } - default: _, _ = key, value @@ -17221,7 +16874,6 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17230,22 +16882,18 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, } sv.IamRoleArn = ptr.String(jtv) } - case "ListOfTags": if err := awsRestjson1_deserializeDocumentListOfTags(&sv.ListOfTags, value); err != nil { return err } - case "NotResources": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.NotResources, value); err != nil { return err } - case "Resources": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.Resources, value); err != nil { return err } - case "SelectionName": if value != nil { jtv, ok := value.(string) @@ -17254,7 +16902,6 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, } sv.SelectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -17328,7 +16975,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.BackupPlanId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17344,7 +16990,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -17353,7 +16998,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.CreatorRequestId = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17362,7 +17006,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.IamRoleArn = ptr.String(jtv) } - case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -17371,7 +17014,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.SelectionId = ptr.String(jtv) } - case "SelectionName": if value != nil { jtv, ok := value.(string) @@ -17380,7 +17022,6 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.SelectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -17490,7 +17131,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -17499,7 +17139,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.BackupVaultName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17515,7 +17154,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -17524,7 +17162,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.CreatorRequestId = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -17533,7 +17170,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.EncryptionKeyArn = ptr.String(jtv) } - case "LockDate": if value != nil { switch jtv := value.(type) { @@ -17549,7 +17185,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } } - case "Locked": if value != nil { jtv, ok := value.(bool) @@ -17558,7 +17193,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.Locked = ptr.Bool(jtv) } - case "MaxRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -17571,7 +17205,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.MaxRetentionDays = ptr.Int64(i64) } - case "MinRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -17584,7 +17217,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.MinRetentionDays = ptr.Int64(i64) } - case "NumberOfRecoveryPoints": if value != nil { jtv, ok := value.(json.Number) @@ -17597,7 +17229,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.NumberOfRecoveryPoints = i64 } - case "VaultState": if value != nil { jtv, ok := value.(string) @@ -17606,7 +17237,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.VaultState = types.VaultState(jtv) } - case "VaultType": if value != nil { jtv, ok := value.(string) @@ -17615,7 +17245,6 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.VaultType = types.VaultType(jtv) } - default: _, _ = key, value @@ -17662,7 +17291,6 @@ func awsRestjson1_deserializeDocumentCalculatedLifecycle(v **types.CalculatedLif } } - case "MoveToColdStorageAt": if value != nil { switch jtv := value.(type) { @@ -17678,7 +17306,6 @@ func awsRestjson1_deserializeDocumentCalculatedLifecycle(v **types.CalculatedLif } } - default: _, _ = key, value @@ -17754,7 +17381,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionKey = ptr.String(jtv) } - case "ConditionType": if value != nil { jtv, ok := value.(string) @@ -17763,7 +17389,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionType = types.ConditionType(jtv) } - case "ConditionValue": if value != nil { jtv, ok := value.(string) @@ -17772,7 +17397,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionValue = ptr.String(jtv) } - default: _, _ = key, value @@ -17812,7 +17436,6 @@ func awsRestjson1_deserializeDocumentConditionParameter(v **types.ConditionParam } sv.ConditionKey = ptr.String(jtv) } - case "ConditionValue": if value != nil { jtv, ok := value.(string) @@ -17821,7 +17444,6 @@ func awsRestjson1_deserializeDocumentConditionParameter(v **types.ConditionParam } sv.ConditionValue = ptr.String(jtv) } - default: _, _ = key, value @@ -17891,22 +17513,18 @@ func awsRestjson1_deserializeDocumentConditions(v **types.Conditions, value inte if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringEquals, value); err != nil { return err } - case "StringLike": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringLike, value); err != nil { return err } - case "StringNotEquals": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringNotEquals, value); err != nil { return err } - case "StringNotLike": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringNotLike, value); err != nil { return err } - default: _, _ = key, value @@ -17936,13 +17554,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17952,7 +17564,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -17961,8 +17572,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17970,7 +17580,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17979,15 +17588,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18022,7 +17627,6 @@ func awsRestjson1_deserializeDocumentControlInputParameter(v **types.ControlInpu } sv.ParameterName = ptr.String(jtv) } - case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -18031,7 +17635,6 @@ func awsRestjson1_deserializeDocumentControlInputParameter(v **types.ControlInpu } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -18101,17 +17704,14 @@ func awsRestjson1_deserializeDocumentControlScope(v **types.ControlScope, value if err := awsRestjson1_deserializeDocumentComplianceResourceIdList(&sv.ComplianceResourceIds, value); err != nil { return err } - case "ComplianceResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeList(&sv.ComplianceResourceTypes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18151,12 +17751,10 @@ func awsRestjson1_deserializeDocumentCopyAction(v **types.CopyAction, value inte } sv.DestinationBackupVaultArn = ptr.String(jtv) } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } - default: _, _ = key, value @@ -18230,7 +17828,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.AccountId = ptr.String(jtv) } - case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18243,12 +17840,10 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "ChildJobsInState": if err := awsRestjson1_deserializeDocumentCopyJobChildJobsInState(&sv.ChildJobsInState, value); err != nil { return err } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -18264,7 +17859,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } } - case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -18273,7 +17867,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.CompositeMemberIdentifier = ptr.String(jtv) } - case "CopyJobId": if value != nil { jtv, ok := value.(string) @@ -18282,12 +17875,10 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.CopyJobId = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -18303,7 +17894,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } } - case "DestinationBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -18312,7 +17902,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.DestinationBackupVaultArn = ptr.String(jtv) } - case "DestinationRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -18321,7 +17910,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.DestinationRecoveryPointArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -18330,7 +17918,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.IamRoleArn = ptr.String(jtv) } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -18339,7 +17926,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.IsParent = jtv } - case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -18348,7 +17934,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.MessageCategory = ptr.String(jtv) } - case "NumberOfChildJobs": if value != nil { jtv, ok := value.(json.Number) @@ -18361,7 +17946,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.NumberOfChildJobs = ptr.Int64(i64) } - case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -18370,7 +17954,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ParentJobId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18379,7 +17962,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -18388,7 +17970,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18397,7 +17978,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceType = ptr.String(jtv) } - case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -18406,7 +17986,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.SourceBackupVaultArn = ptr.String(jtv) } - case "SourceRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -18415,7 +17994,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.SourceRecoveryPointArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18424,7 +18002,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.State = types.CopyJobState(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18433,7 +18010,6 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18547,7 +18123,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.AccountId = ptr.String(jtv) } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -18560,7 +18135,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.Count = int32(i64) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -18576,7 +18150,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } } - case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -18585,7 +18158,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.MessageCategory = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -18594,7 +18166,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.Region = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18603,7 +18174,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.ResourceType = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -18619,7 +18189,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } } - case "State": if value != nil { jtv, ok := value.(string) @@ -18628,7 +18197,6 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.State = types.CopyJobStatus(jtv) } - default: _, _ = key, value @@ -18709,7 +18277,6 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } } - case "ToDate": if value != nil { switch jtv := value.(type) { @@ -18725,7 +18292,6 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } } - default: _, _ = key, value @@ -18755,13 +18321,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -18771,7 +18331,6 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -18780,8 +18339,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18789,7 +18347,6 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18798,15 +18355,11 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18884,7 +18437,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } - case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -18893,7 +18445,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.DeploymentStatus = ptr.String(jtv) } - case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -18902,7 +18453,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkArn = ptr.String(jtv) } - case "FrameworkDescription": if value != nil { jtv, ok := value.(string) @@ -18911,7 +18461,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkDescription = ptr.String(jtv) } - case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -18920,7 +18469,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkName = ptr.String(jtv) } - case "NumberOfControls": if value != nil { jtv, ok := value.(json.Number) @@ -18933,7 +18481,6 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.NumberOfControls = int32(i64) } - default: _, _ = key, value @@ -18969,7 +18516,6 @@ func awsRestjson1_deserializeDocumentFrameworkControl(v **types.FrameworkControl if err := awsRestjson1_deserializeDocumentControlInputParameters(&sv.ControlInputParameters, value); err != nil { return err } - case "ControlName": if value != nil { jtv, ok := value.(string) @@ -18978,12 +18524,10 @@ func awsRestjson1_deserializeDocumentFrameworkControl(v **types.FrameworkControl } sv.ControlName = ptr.String(jtv) } - case "ControlScope": if err := awsRestjson1_deserializeDocumentControlScope(&sv.ControlScope, value); err != nil { return err } - default: _, _ = key, value @@ -19117,13 +18661,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19133,7 +18671,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -19142,8 +18679,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19151,7 +18687,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19160,15 +18695,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19193,13 +18724,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19209,7 +18734,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -19218,8 +18742,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19227,7 +18750,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19236,15 +18758,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19269,13 +18787,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19285,7 +18797,6 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -19294,8 +18805,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19303,7 +18813,6 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19312,15 +18821,11 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19355,7 +18860,6 @@ func awsRestjson1_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19364,7 +18868,6 @@ func awsRestjson1_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19445,7 +18948,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -19461,7 +18963,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19470,7 +18971,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Description = ptr.String(jtv) } - case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -19479,7 +18979,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.LegalHoldArn = ptr.String(jtv) } - case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -19488,7 +18987,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.LegalHoldId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19497,7 +18995,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Status = types.LegalHoldStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -19506,7 +19003,6 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -19584,7 +19080,6 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.DeleteAfterDays = ptr.Int64(i64) } - case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -19597,7 +19092,6 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } - case "OptInToArchiveForSupportedResources": if value != nil { jtv, ok := value.(bool) @@ -19606,7 +19100,6 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.OptInToArchiveForSupportedResources = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19636,13 +19129,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19652,7 +19139,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -19661,8 +19147,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19670,7 +19155,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19679,15 +19163,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19782,13 +19262,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19798,7 +19272,6 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -19807,8 +19280,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19816,7 +19288,6 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19825,15 +19296,11 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19875,7 +19342,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } } - case "LastBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -19884,7 +19350,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.LastBackupVaultArn = ptr.String(jtv) } - case "LastRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19893,7 +19358,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.LastRecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19902,7 +19366,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -19911,7 +19374,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19920,7 +19382,6 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -19956,12 +19417,10 @@ func awsRestjson1_deserializeDocumentProtectedResourceConditions(v **types.Prote if err := awsRestjson1_deserializeDocumentKeyValueList(&sv.StringEquals, value); err != nil { return err } - case "StringNotEquals": if err := awsRestjson1_deserializeDocumentKeyValueList(&sv.StringNotEquals, value); err != nil { return err } - default: _, _ = key, value @@ -20039,7 +19498,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -20048,7 +19506,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -20057,12 +19514,10 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupVaultName = ptr.String(jtv) } - case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -20078,7 +19533,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } - case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -20087,12 +19541,10 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.CompositeMemberIdentifier = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20108,7 +19560,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -20117,7 +19568,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.EncryptionKeyArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -20126,7 +19576,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IamRoleArn = ptr.String(jtv) } - case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -20135,7 +19584,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IsEncrypted = jtv } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -20144,7 +19592,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IsParent = jtv } - case "LastRestoreTime": if value != nil { switch jtv := value.(type) { @@ -20160,12 +19607,10 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } - case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -20174,7 +19619,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ParentRecoveryPointArn = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -20183,7 +19627,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -20192,7 +19635,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -20201,7 +19643,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20210,7 +19651,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceType = ptr.String(jtv) } - case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -20219,7 +19659,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.SourceBackupVaultArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20228,7 +19667,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.Status = types.RecoveryPointStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -20237,7 +19675,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.StatusMessage = ptr.String(jtv) } - case "VaultType": if value != nil { jtv, ok := value.(string) @@ -20246,7 +19683,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.VaultType = types.VaultType(jtv) } - default: _, _ = key, value @@ -20324,7 +19760,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.BackupSizeBytes = ptr.Int64(i64) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -20333,7 +19768,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.BackupVaultName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20349,7 +19783,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -20358,7 +19791,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.EncryptionKeyArn = ptr.String(jtv) } - case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -20367,7 +19799,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.IsParent = jtv } - case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -20376,7 +19807,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.ParentRecoveryPointArn = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -20385,7 +19815,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -20394,7 +19823,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.ResourceName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20403,7 +19831,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.Status = types.RecoveryPointStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -20412,7 +19839,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.StatusMessage = ptr.String(jtv) } - case "VaultType": if value != nil { jtv, ok := value.(string) @@ -20421,7 +19847,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.VaultType = types.VaultType(jtv) } - default: _, _ = key, value @@ -20495,7 +19920,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -20504,7 +19928,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanId = ptr.String(jtv) } - case "BackupPlanVersion": if value != nil { jtv, ok := value.(string) @@ -20513,7 +19936,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanVersion = ptr.String(jtv) } - case "BackupRuleId": if value != nil { jtv, ok := value.(string) @@ -20522,7 +19944,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupRuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -20562,7 +19983,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.BackupVaultName = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -20571,7 +19991,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -20580,7 +19999,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.ResourceArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20589,7 +20007,6 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -20625,17 +20042,14 @@ func awsRestjson1_deserializeDocumentRecoveryPointSelection(v **types.RecoveryPo if err := awsRestjson1_deserializeDocumentDateRange(&sv.DateRange, value); err != nil { return err } - case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifiers(&sv.ResourceIdentifiers, value); err != nil { return err } - case "VaultNames": if err := awsRestjson1_deserializeDocumentVaultNames(&sv.VaultNames, value); err != nil { return err } - default: _, _ = key, value @@ -20705,7 +20119,6 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv if err := awsRestjson1_deserializeDocumentFormatList(&sv.Formats, value); err != nil { return err } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -20714,7 +20127,6 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -20723,7 +20135,6 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -20763,12 +20174,10 @@ func awsRestjson1_deserializeDocumentReportDestination(v **types.ReportDestinati } sv.S3BucketName = ptr.String(jtv) } - case "S3Keys": if err := awsRestjson1_deserializeDocumentStringList(&sv.S3Keys, value); err != nil { return err } - default: _, _ = key, value @@ -20815,7 +20224,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -20831,12 +20239,10 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } } - case "ReportDestination": if err := awsRestjson1_deserializeDocumentReportDestination(&sv.ReportDestination, value); err != nil { return err } - case "ReportJobId": if value != nil { jtv, ok := value.(string) @@ -20845,7 +20251,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportJobId = ptr.String(jtv) } - case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -20854,7 +20259,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportPlanArn = ptr.String(jtv) } - case "ReportTemplate": if value != nil { jtv, ok := value.(string) @@ -20863,7 +20267,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportTemplate = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20872,7 +20275,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -20881,7 +20283,6 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -20962,7 +20363,6 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } - case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -20971,7 +20371,6 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.DeploymentStatus = ptr.String(jtv) } - case "LastAttemptedExecutionTime": if value != nil { switch jtv := value.(type) { @@ -20987,7 +20386,6 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } - case "LastSuccessfulExecutionTime": if value != nil { switch jtv := value.(type) { @@ -21003,12 +20401,10 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } - case "ReportDeliveryChannel": if err := awsRestjson1_deserializeDocumentReportDeliveryChannel(&sv.ReportDeliveryChannel, value); err != nil { return err } - case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -21017,7 +20413,6 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanArn = ptr.String(jtv) } - case "ReportPlanDescription": if value != nil { jtv, ok := value.(string) @@ -21026,7 +20421,6 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanDescription = ptr.String(jtv) } - case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -21035,12 +20429,10 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanName = ptr.String(jtv) } - case "ReportSetting": if err := awsRestjson1_deserializeDocumentReportSetting(&sv.ReportSetting, value); err != nil { return err } - default: _, _ = key, value @@ -21110,12 +20502,10 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu if err := awsRestjson1_deserializeDocumentStringList(&sv.Accounts, value); err != nil { return err } - case "FrameworkArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.FrameworkArns, value); err != nil { return err } - case "NumberOfFrameworks": if value != nil { jtv, ok := value.(json.Number) @@ -21128,17 +20518,14 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu } sv.NumberOfFrameworks = int32(i64) } - case "OrganizationUnits": if err := awsRestjson1_deserializeDocumentStringList(&sv.OrganizationUnits, value); err != nil { return err } - case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } - case "ReportTemplate": if value != nil { jtv, ok := value.(string) @@ -21147,7 +20534,6 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu } sv.ReportTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -21249,13 +20635,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -21265,7 +20645,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -21274,8 +20653,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21283,7 +20661,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21292,15 +20669,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21479,7 +20852,6 @@ func awsRestjson1_deserializeDocumentRestoreJobCreator(v **types.RestoreJobCreat } sv.RestoreTestingPlanArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21553,7 +20925,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.AccountId = ptr.String(jtv) } - case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21566,7 +20937,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -21582,12 +20952,10 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentRestoreJobCreator(&sv.CreatedBy, value); err != nil { return err } - case "CreatedResourceArn": if value != nil { jtv, ok := value.(string) @@ -21596,7 +20964,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.CreatedResourceArn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -21612,7 +20979,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } - case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -21621,7 +20987,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.DeletionStatus = types.RestoreDeletionStatus(jtv) } - case "DeletionStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21630,7 +20995,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.DeletionStatusMessage = ptr.String(jtv) } - case "ExpectedCompletionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -21643,7 +21007,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ExpectedCompletionTimeMinutes = ptr.Int64(i64) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -21652,7 +21015,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.IamRoleArn = ptr.String(jtv) } - case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -21661,7 +21023,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.PercentDone = ptr.String(jtv) } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -21670,7 +21031,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.RecoveryPointArn = ptr.String(jtv) } - case "RecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -21686,7 +21046,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21695,7 +21054,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ResourceType = ptr.String(jtv) } - case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -21704,7 +21062,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.RestoreJobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21713,7 +21070,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.Status = types.RestoreJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -21722,7 +21078,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.StatusMessage = ptr.String(jtv) } - case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -21731,7 +21086,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ValidationStatus = types.RestoreValidationStatus(jtv) } - case "ValidationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21740,7 +21094,6 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ValidationStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -21780,7 +21133,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.AccountId = ptr.String(jtv) } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -21793,7 +21145,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.Count = int32(i64) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -21809,7 +21160,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } } - case "Region": if value != nil { jtv, ok := value.(string) @@ -21818,7 +21168,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.Region = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21827,7 +21176,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.ResourceType = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -21843,7 +21191,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } } - case "State": if value != nil { jtv, ok := value.(string) @@ -21852,7 +21199,6 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.State = types.RestoreJobState(jtv) } - default: _, _ = key, value @@ -21933,7 +21279,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -21942,7 +21287,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.CreatorRequestId = ptr.String(jtv) } - case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -21958,7 +21302,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -21974,12 +21317,10 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } - case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -21988,7 +21329,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -21997,7 +21337,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22006,7 +21345,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -22015,7 +21353,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.ScheduleExpressionTimezone = ptr.String(jtv) } - case "StartWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -22028,7 +21365,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.StartWindowHours = int32(i64) } - default: _, _ = key, value @@ -22075,7 +21411,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } - case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -22091,7 +21426,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -22107,7 +21441,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } - case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -22116,7 +21449,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.RestoreTestingPlanArn = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -22125,7 +21457,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22134,7 +21465,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -22143,7 +21473,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.ScheduleExpressionTimezone = ptr.String(jtv) } - case "StartWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -22156,7 +21485,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.StartWindowHours = int32(i64) } - default: _, _ = key, value @@ -22230,22 +21558,18 @@ func awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(v **ty } sv.Algorithm = types.RestoreTestingRecoveryPointSelectionAlgorithm(jtv) } - case "ExcludeVaults": if err := awsRestjson1_deserializeDocumentStringList(&sv.ExcludeVaults, value); err != nil { return err } - case "IncludeVaults": if err := awsRestjson1_deserializeDocumentStringList(&sv.IncludeVaults, value); err != nil { return err } - case "RecoveryPointTypes": if err := awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointTypeList(&sv.RecoveryPointTypes, value); err != nil { return err } - case "SelectionWindowDays": if value != nil { jtv, ok := value.(json.Number) @@ -22258,7 +21582,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(v **ty } sv.SelectionWindowDays = int32(i64) } - default: _, _ = key, value @@ -22341,7 +21664,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -22350,7 +21672,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.CreatorRequestId = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -22359,17 +21680,14 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.IamRoleArn = ptr.String(jtv) } - case "ProtectedResourceArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.ProtectedResourceArns, value); err != nil { return err } - case "ProtectedResourceConditions": if err := awsRestjson1_deserializeDocumentProtectedResourceConditions(&sv.ProtectedResourceConditions, value); err != nil { return err } - case "ProtectedResourceType": if value != nil { jtv, ok := value.(string) @@ -22378,12 +21696,10 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.ProtectedResourceType = ptr.String(jtv) } - case "RestoreMetadataOverrides": if err := awsRestjson1_deserializeDocumentSensitiveStringMap(&sv.RestoreMetadataOverrides, value); err != nil { return err } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -22392,7 +21708,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -22401,7 +21716,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.RestoreTestingSelectionName = ptr.String(jtv) } - case "ValidationWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -22414,7 +21728,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.ValidationWindowHours = int32(i64) } - default: _, _ = key, value @@ -22461,7 +21774,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -22470,7 +21782,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.IamRoleArn = ptr.String(jtv) } - case "ProtectedResourceType": if value != nil { jtv, ok := value.(string) @@ -22479,7 +21790,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.ProtectedResourceType = ptr.String(jtv) } - case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -22488,7 +21798,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.RestoreTestingPlanName = ptr.String(jtv) } - case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -22497,7 +21806,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.RestoreTestingSelectionName = ptr.String(jtv) } - case "ValidationWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -22510,7 +21818,6 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.ValidationWindowHours = int32(i64) } - default: _, _ = key, value @@ -22610,13 +21917,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -22626,7 +21927,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } - case "Context": if value != nil { jtv, ok := value.(string) @@ -22635,8 +21935,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Context = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22644,7 +21943,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -22653,15 +21951,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/backupgateway/deserializers.go b/service/backupgateway/deserializers.go index 344eb54010e..53447627976 100644 --- a/service/backupgateway/deserializers.go +++ b/service/backupgateway/deserializers.go @@ -3283,13 +3283,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -3299,8 +3293,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3308,15 +3301,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3355,12 +3344,10 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } - case "DaysOfWeek": if err := awsAwsjson10_deserializeDocumentDaysOfWeek(&sv.DaysOfWeek, value); err != nil { return err } - case "EndHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -3373,7 +3360,6 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndHourOfDay = ptr.Int32(int32(i64)) } - case "EndMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -3386,7 +3372,6 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndMinuteOfHour = ptr.Int32(int32(i64)) } - case "StartHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -3399,7 +3384,6 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartHourOfDay = ptr.Int32(int32(i64)) } - case "StartMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -3412,7 +3396,6 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartMinuteOfHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3476,13 +3459,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -3492,8 +3469,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3501,15 +3477,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3584,7 +3556,6 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayArn = ptr.String(jtv) } - case "GatewayDisplayName": if value != nil { jtv, ok := value.(string) @@ -3593,7 +3564,6 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayDisplayName = ptr.String(jtv) } - case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3572,6 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayType = types.GatewayType(jtv) } - case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3580,6 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.HypervisorId = ptr.String(jtv) } - case "LastSeenTime": if value != nil { switch jtv := value.(type) { @@ -3627,7 +3595,6 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } } - default: _, _ = key, value @@ -3667,7 +3634,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayArn = ptr.String(jtv) } - case "GatewayDisplayName": if value != nil { jtv, ok := value.(string) @@ -3676,7 +3642,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayDisplayName = ptr.String(jtv) } - case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -3685,7 +3650,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayType = types.GatewayType(jtv) } - case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -3694,7 +3658,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.HypervisorId = ptr.String(jtv) } - case "LastSeenTime": if value != nil { switch jtv := value.(type) { @@ -3710,12 +3673,10 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } } - case "MaintenanceStartTime": if err := awsAwsjson10_deserializeDocumentMaintenanceStartTime(&sv.MaintenanceStartTime, value); err != nil { return err } - case "NextUpdateAvailabilityTime": if value != nil { switch jtv := value.(type) { @@ -3731,7 +3692,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } } - case "VpcEndpoint": if value != nil { jtv, ok := value.(string) @@ -3740,7 +3700,6 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.VpcEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -3814,7 +3773,6 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.Host = ptr.String(jtv) } - case "HypervisorArn": if value != nil { jtv, ok := value.(string) @@ -3823,7 +3781,6 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.HypervisorArn = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3832,7 +3789,6 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.KmsKeyArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3841,7 +3797,6 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3850,7 +3805,6 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.State = types.HypervisorState(jtv) } - default: _, _ = key, value @@ -3890,7 +3844,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.Host = ptr.String(jtv) } - case "HypervisorArn": if value != nil { jtv, ok := value.(string) @@ -3899,7 +3852,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.HypervisorArn = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3908,7 +3860,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.KmsKeyArn = ptr.String(jtv) } - case "LastSuccessfulMetadataSyncTime": if value != nil { switch jtv := value.(type) { @@ -3924,7 +3875,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } } - case "LatestMetadataSyncStatus": if value != nil { jtv, ok := value.(string) @@ -3933,7 +3883,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LatestMetadataSyncStatus = types.SyncMetadataStatus(jtv) } - case "LatestMetadataSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -3942,7 +3891,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LatestMetadataSyncStatusMessage = ptr.String(jtv) } - case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -3951,7 +3899,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LogGroupArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3960,7 +3907,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3969,7 +3915,6 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.State = types.HypervisorState(jtv) } - default: _, _ = key, value @@ -4033,13 +3978,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -4049,8 +3988,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4058,15 +3996,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4105,7 +4039,6 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.DayOfMonth = ptr.Int32(int32(i64)) } - case "DayOfWeek": if value != nil { jtv, ok := value.(json.Number) @@ -4118,7 +4051,6 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.DayOfWeek = ptr.Int32(int32(i64)) } - case "HourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -4131,7 +4063,6 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.HourOfDay = ptr.Int32(int32(i64)) } - case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -4144,7 +4075,6 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.MinuteOfHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4174,13 +4104,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -4190,8 +4114,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4199,15 +4122,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4242,7 +4161,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4251,7 +4169,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4315,13 +4232,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -4331,8 +4242,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4340,15 +4250,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4373,13 +4279,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -4389,8 +4289,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4398,15 +4297,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4441,7 +4336,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.HostName = ptr.String(jtv) } - case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -4450,7 +4344,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.HypervisorId = ptr.String(jtv) } - case "LastBackupDate": if value != nil { switch jtv := value.(type) { @@ -4466,7 +4359,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4475,7 +4367,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.Name = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -4484,7 +4375,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.Path = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4493,7 +4383,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4533,7 +4422,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.HostName = ptr.String(jtv) } - case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -4542,7 +4430,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.HypervisorId = ptr.String(jtv) } - case "LastBackupDate": if value != nil { switch jtv := value.(type) { @@ -4558,7 +4445,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4567,7 +4453,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.Name = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -4576,7 +4461,6 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.Path = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4585,12 +4469,10 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.ResourceArn = ptr.String(jtv) } - case "VmwareTags": if err := awsAwsjson10_deserializeDocumentVmwareTags(&sv.VmwareTags, value); err != nil { return err } - default: _, _ = key, value @@ -4664,7 +4546,6 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareCategory = ptr.String(jtv) } - case "VmwareTagDescription": if value != nil { jtv, ok := value.(string) @@ -4673,7 +4554,6 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareTagDescription = ptr.String(jtv) } - case "VmwareTagName": if value != nil { jtv, ok := value.(string) @@ -4682,7 +4562,6 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareTagName = ptr.String(jtv) } - default: _, _ = key, value @@ -4756,7 +4635,6 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.AwsTagKey = ptr.String(jtv) } - case "AwsTagValue": if value != nil { jtv, ok := value.(string) @@ -4765,7 +4643,6 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.AwsTagValue = ptr.String(jtv) } - case "VmwareCategory": if value != nil { jtv, ok := value.(string) @@ -4774,7 +4651,6 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.VmwareCategory = ptr.String(jtv) } - case "VmwareTagName": if value != nil { jtv, ok := value.(string) @@ -4783,7 +4659,6 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.VmwareTagName = ptr.String(jtv) } - default: _, _ = key, value @@ -4857,7 +4732,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateGatewayToServerOutput(v **Associ } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4897,7 +4771,6 @@ func awsAwsjson10_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4937,7 +4810,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4977,7 +4849,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteHypervisorOutput(v **DeleteHypervis } sv.HypervisorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5017,7 +4888,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateGatewayFromServerOutput(v **D } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5053,7 +4923,6 @@ func awsAwsjson10_deserializeOpDocumentGetBandwidthRateLimitScheduleOutput(v **G if err := awsAwsjson10_deserializeDocumentBandwidthRateLimitIntervals(&sv.BandwidthRateLimitIntervals, value); err != nil { return err } - case "GatewayArn": if value != nil { jtv, ok := value.(string) @@ -5062,7 +4931,6 @@ func awsAwsjson10_deserializeOpDocumentGetBandwidthRateLimitScheduleOutput(v **G } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5098,7 +4966,6 @@ func awsAwsjson10_deserializeOpDocumentGetGatewayOutput(v **GetGatewayOutput, va if err := awsAwsjson10_deserializeDocumentGatewayDetails(&sv.Gateway, value); err != nil { return err } - default: _, _ = key, value @@ -5134,7 +5001,6 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorOutput(v **GetHypervisorOutp if err := awsAwsjson10_deserializeDocumentHypervisorDetails(&sv.Hypervisor, value); err != nil { return err } - default: _, _ = key, value @@ -5174,7 +5040,6 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorPropertyMappingsOutput(v **G } sv.HypervisorArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -5183,12 +5048,10 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorPropertyMappingsOutput(v **G } sv.IamRoleArn = ptr.String(jtv) } - case "VmwareToAwsTagMappings": if err := awsAwsjson10_deserializeDocumentVmwareToAwsTagMappings(&sv.VmwareToAwsTagMappings, value); err != nil { return err } - default: _, _ = key, value @@ -5224,7 +5087,6 @@ func awsAwsjson10_deserializeOpDocumentGetVirtualMachineOutput(v **GetVirtualMac if err := awsAwsjson10_deserializeDocumentVirtualMachineDetails(&sv.VirtualMachine, value); err != nil { return err } - default: _, _ = key, value @@ -5264,7 +5126,6 @@ func awsAwsjson10_deserializeOpDocumentImportHypervisorConfigurationOutput(v **I } sv.HypervisorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5300,7 +5161,6 @@ func awsAwsjson10_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsAwsjson10_deserializeDocumentGateways(&sv.Gateways, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5169,6 @@ func awsAwsjson10_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5345,7 +5204,6 @@ func awsAwsjson10_deserializeOpDocumentListHypervisorsOutput(v **ListHypervisors if err := awsAwsjson10_deserializeDocumentHypervisors(&sv.Hypervisors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5354,7 +5212,6 @@ func awsAwsjson10_deserializeOpDocumentListHypervisorsOutput(v **ListHypervisors } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5394,12 +5251,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5439,12 +5294,10 @@ func awsAwsjson10_deserializeOpDocumentListVirtualMachinesOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } - case "VirtualMachines": if err := awsAwsjson10_deserializeDocumentVirtualMachines(&sv.VirtualMachines, value); err != nil { return err } - default: _, _ = key, value @@ -5484,7 +5337,6 @@ func awsAwsjson10_deserializeOpDocumentPutBandwidthRateLimitScheduleOutput(v **P } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5524,7 +5376,6 @@ func awsAwsjson10_deserializeOpDocumentPutHypervisorPropertyMappingsOutput(v **P } sv.HypervisorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5564,7 +5415,6 @@ func awsAwsjson10_deserializeOpDocumentPutMaintenanceStartTimeOutput(v **PutMain } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5604,7 +5454,6 @@ func awsAwsjson10_deserializeOpDocumentStartVirtualMachinesMetadataSyncOutput(v } sv.HypervisorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5644,7 +5493,6 @@ func awsAwsjson10_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5715,7 +5563,6 @@ func awsAwsjson10_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5755,7 +5602,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5795,7 +5641,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(v **Update } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5835,7 +5680,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateHypervisorOutput(v **UpdateHypervis } sv.HypervisorArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/batch/deserializers.go b/service/batch/deserializers.go index c787b703c5b..a0732de05b9 100644 --- a/service/batch/deserializers.go +++ b/service/batch/deserializers.go @@ -270,7 +270,6 @@ func awsRestjson1_deserializeOpDocumentCreateComputeEnvironmentOutput(v **Create } sv.ComputeEnvironmentArn = ptr.String(jtv) } - case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -279,7 +278,6 @@ func awsRestjson1_deserializeOpDocumentCreateComputeEnvironmentOutput(v **Create } sv.ComputeEnvironmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -438,7 +436,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobQueueOutput(v **CreateJobQueueOu } sv.JobQueueArn = ptr.String(jtv) } - case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -447,7 +444,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobQueueOutput(v **CreateJobQueueOu } sv.JobQueueName = ptr.String(jtv) } - default: _, _ = key, value @@ -606,7 +602,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchedulingPolicyOutput(v **CreateSc } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -615,7 +610,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchedulingPolicyOutput(v **CreateSc } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1134,7 +1128,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComputeEnvironmentsOutput(v **Des if err := awsRestjson1_deserializeDocumentComputeEnvironmentDetailList(&sv.ComputeEnvironments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1143,7 +1136,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComputeEnvironmentsOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1298,7 +1290,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobDefinitionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentJobDefinitionList(&sv.JobDefinitions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1307,7 +1298,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobDefinitionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1462,7 +1452,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobQueuesOutput(v **DescribeJobQu if err := awsRestjson1_deserializeDocumentJobQueueDetailList(&sv.JobQueues, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1471,7 +1460,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobQueuesOutput(v **DescribeJobQu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1626,7 +1614,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobDetailList(&sv.Jobs, value); err != nil { return err } - default: _, _ = key, value @@ -1781,7 +1768,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchedulingPoliciesOutput(v **Desc if err := awsRestjson1_deserializeDocumentSchedulingPolicyDetailList(&sv.SchedulingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -1936,7 +1922,6 @@ func awsRestjson1_deserializeOpDocumentGetJobQueueSnapshotOutput(v **GetJobQueue if err := awsRestjson1_deserializeDocumentFrontOfQueueDetail(&sv.FrontOfQueue, value); err != nil { return err } - default: _, _ = key, value @@ -2091,7 +2076,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.JobSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2100,7 +2084,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2259,12 +2242,10 @@ func awsRestjson1_deserializeOpDocumentListSchedulingPoliciesOutput(v **ListSche } sv.NextToken = ptr.String(jtv) } - case "schedulingPolicies": if err := awsRestjson1_deserializeDocumentSchedulingPolicyListingDetailList(&sv.SchedulingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -2419,7 +2400,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2578,7 +2558,6 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.JobDefinitionArn = ptr.String(jtv) } - case "jobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2587,7 +2566,6 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.JobDefinitionName = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -2600,7 +2578,6 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.Revision = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2759,7 +2736,6 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2768,7 +2744,6 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -2777,7 +2752,6 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -3209,7 +3183,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComputeEnvironmentOutput(v **Update } sv.ComputeEnvironmentArn = ptr.String(jtv) } - case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3191,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComputeEnvironmentOutput(v **Update } sv.ComputeEnvironmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -3377,7 +3349,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJobQueueOutput(v **UpdateJobQueueOu } sv.JobQueueArn = ptr.String(jtv) } - case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -3386,7 +3357,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJobQueueOutput(v **UpdateJobQueueOu } sv.JobQueueName = ptr.String(jtv) } - default: _, _ = key, value @@ -3633,7 +3603,6 @@ func awsRestjson1_deserializeDocumentArrayPropertiesDetail(v **types.ArrayProper } sv.Index = ptr.Int32(int32(i64)) } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -3646,12 +3615,10 @@ func awsRestjson1_deserializeDocumentArrayPropertiesDetail(v **types.ArrayProper } sv.Size = ptr.Int32(int32(i64)) } - case "statusSummary": if err := awsRestjson1_deserializeDocumentArrayJobStatusSummary(&sv.StatusSummary, value); err != nil { return err } - default: _, _ = key, value @@ -3695,7 +3662,6 @@ func awsRestjson1_deserializeDocumentArrayPropertiesSummary(v **types.ArrayPrope } sv.Index = ptr.Int32(int32(i64)) } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -3708,7 +3674,6 @@ func awsRestjson1_deserializeDocumentArrayPropertiesSummary(v **types.ArrayPrope } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3748,7 +3713,6 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.ContainerInstanceArn = ptr.String(jtv) } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -3761,7 +3725,6 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.ExitCode = ptr.Int32(int32(i64)) } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -3770,12 +3733,10 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.LogStreamName = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "reason": if value != nil { jtv, ok := value.(string) @@ -3784,7 +3745,6 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.Reason = ptr.String(jtv) } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -3793,7 +3753,6 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3829,7 +3788,6 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu if err := awsRestjson1_deserializeDocumentAttemptContainerDetail(&sv.Container, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -3842,7 +3800,6 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StartedAt = ptr.Int64(i64) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3851,7 +3808,6 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StatusReason = ptr.String(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -3864,12 +3820,10 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StoppedAt = ptr.Int64(i64) } - case "taskProperties": if err := awsRestjson1_deserializeDocumentListAttemptEcsTaskDetails(&sv.TaskProperties, value); err != nil { return err } - default: _, _ = key, value @@ -3943,12 +3897,10 @@ func awsRestjson1_deserializeDocumentAttemptEcsTaskDetails(v **types.AttemptEcsT } sv.ContainerInstanceArn = ptr.String(jtv) } - case "containers": if err := awsRestjson1_deserializeDocumentListAttemptTaskContainerDetails(&sv.Containers, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -3957,7 +3909,6 @@ func awsRestjson1_deserializeDocumentAttemptEcsTaskDetails(v **types.AttemptEcsT } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4001,7 +3952,6 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.ExitCode = ptr.Int32(int32(i64)) } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -4010,7 +3960,6 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.LogStreamName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4019,12 +3968,10 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.Name = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4033,7 +3980,6 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -4063,15 +4009,9 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4079,15 +4019,11 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4122,7 +4058,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ComputeEnvironmentArn = ptr.String(jtv) } - case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4131,12 +4066,10 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ComputeEnvironmentName = ptr.String(jtv) } - case "computeResources": if err := awsRestjson1_deserializeDocumentComputeResource(&sv.ComputeResources, value); err != nil { return err } - case "containerOrchestrationType": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4078,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ContainerOrchestrationType = types.OrchestrationType(jtv) } - case "context": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4086,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Context = ptr.String(jtv) } - case "ecsClusterArn": if value != nil { jtv, ok := value.(string) @@ -4163,12 +4094,10 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.EcsClusterArn = ptr.String(jtv) } - case "eksConfiguration": if err := awsRestjson1_deserializeDocumentEksConfiguration(&sv.EksConfiguration, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -4177,7 +4106,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ServiceRole = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4186,7 +4114,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.State = types.CEState(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4195,7 +4122,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Status = types.CEStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4204,12 +4130,10 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4218,7 +4142,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Type = types.CEType(jtv) } - case "unmanagedvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4231,12 +4154,10 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.UnmanagedvCpus = ptr.Int32(int32(i64)) } - case "updatePolicy": if err := awsRestjson1_deserializeDocumentUpdatePolicy(&sv.UpdatePolicy, value); err != nil { return err } - case "uuid": if value != nil { jtv, ok := value.(string) @@ -4245,7 +4166,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Uuid = ptr.String(jtv) } - default: _, _ = key, value @@ -4319,7 +4239,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentOrder(v **types.ComputeEn } sv.ComputeEnvironment = ptr.String(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -4332,7 +4251,6 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentOrder(v **types.ComputeEn } sv.Order = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4406,7 +4324,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.AllocationStrategy = types.CRAllocationStrategy(jtv) } - case "bidPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -4419,7 +4336,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.BidPercentage = ptr.Int32(int32(i64)) } - case "desiredvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4432,12 +4348,10 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.DesiredvCpus = ptr.Int32(int32(i64)) } - case "ec2Configuration": if err := awsRestjson1_deserializeDocumentEc2ConfigurationList(&sv.Ec2Configuration, value); err != nil { return err } - case "ec2KeyPair": if value != nil { jtv, ok := value.(string) @@ -4446,7 +4360,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.Ec2KeyPair = ptr.String(jtv) } - case "imageId": if value != nil { jtv, ok := value.(string) @@ -4455,7 +4368,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.ImageId = ptr.String(jtv) } - case "instanceRole": if value != nil { jtv, ok := value.(string) @@ -4464,17 +4376,14 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.InstanceRole = ptr.String(jtv) } - case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } - case "launchTemplate": if err := awsRestjson1_deserializeDocumentLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } - case "maxvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4487,7 +4396,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.MaxvCpus = ptr.Int32(int32(i64)) } - case "minvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4500,7 +4408,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.MinvCpus = ptr.Int32(int32(i64)) } - case "placementGroup": if value != nil { jtv, ok := value.(string) @@ -4509,12 +4416,10 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.PlacementGroup = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "spotIamFleetRole": if value != nil { jtv, ok := value.(string) @@ -4523,17 +4428,14 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.SpotIamFleetRole = ptr.String(jtv) } - case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4542,7 +4444,6 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.Type = types.CRType(jtv) } - default: _, _ = key, value @@ -4578,7 +4479,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -4587,17 +4487,14 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ContainerInstanceArn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4606,7 +4503,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ExecutionRoleArn = ptr.String(jtv) } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -4619,12 +4515,10 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ExitCode = ptr.Int32(int32(i64)) } - case "fargatePlatformConfiguration": if err := awsRestjson1_deserializeDocumentFargatePlatformConfiguration(&sv.FargatePlatformConfiguration, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -4633,7 +4527,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Image = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -4642,7 +4535,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.InstanceType = ptr.String(jtv) } - case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -4651,17 +4543,14 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.JobRoleArn = ptr.String(jtv) } - case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -4670,7 +4559,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.LogStreamName = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -4683,22 +4571,18 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Memory = ptr.Int32(int32(i64)) } - case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -4707,7 +4591,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Privileged = ptr.Bool(jtv) } - case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -4716,7 +4599,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4725,27 +4607,22 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Reason = ptr.String(jtv) } - case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } - case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } - case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -4754,12 +4631,10 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.TaskArn = ptr.String(jtv) } - case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } - case "user": if value != nil { jtv, ok := value.(string) @@ -4768,7 +4643,6 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.User = ptr.String(jtv) } - case "vcpus": if value != nil { jtv, ok := value.(json.Number) @@ -4781,12 +4655,10 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Vcpus = ptr.Int32(int32(i64)) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -4822,17 +4694,14 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4841,12 +4710,10 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.ExecutionRoleArn = ptr.String(jtv) } - case "fargatePlatformConfiguration": if err := awsRestjson1_deserializeDocumentFargatePlatformConfiguration(&sv.FargatePlatformConfiguration, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -4855,7 +4722,6 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Image = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -4864,7 +4730,6 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.InstanceType = ptr.String(jtv) } - case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -4873,17 +4738,14 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.JobRoleArn = ptr.String(jtv) } - case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -4896,17 +4758,14 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Memory = ptr.Int32(int32(i64)) } - case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -4915,7 +4774,6 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Privileged = ptr.Bool(jtv) } - case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -4924,32 +4782,26 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } - case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } - case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } - case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } - case "user": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4810,6 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.User = ptr.String(jtv) } - case "vcpus": if value != nil { jtv, ok := value.(json.Number) @@ -4971,12 +4822,10 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Vcpus = ptr.Int32(int32(i64)) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -5020,7 +4869,6 @@ func awsRestjson1_deserializeDocumentContainerSummary(v **types.ContainerSummary } sv.ExitCode = ptr.Int32(int32(i64)) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5029,7 +4877,6 @@ func awsRestjson1_deserializeDocumentContainerSummary(v **types.ContainerSummary } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -5069,7 +4916,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ContainerPath = ptr.String(jtv) } - case "hostPath": if value != nil { jtv, ok := value.(string) @@ -5078,12 +4924,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HostPath = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentDeviceCgroupPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -5193,7 +5037,6 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageIdOverride = ptr.String(jtv) } - case "imageKubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -5202,7 +5045,6 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageKubernetesVersion = ptr.String(jtv) } - case "imageType": if value != nil { jtv, ok := value.(string) @@ -5211,7 +5053,6 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageType = ptr.String(jtv) } - default: _, _ = key, value @@ -5281,7 +5122,6 @@ func awsRestjson1_deserializeDocumentEcsProperties(v **types.EcsProperties, valu if err := awsRestjson1_deserializeDocumentListEcsTaskProperties(&sv.TaskProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5317,7 +5157,6 @@ func awsRestjson1_deserializeDocumentEcsPropertiesDetail(v **types.EcsProperties if err := awsRestjson1_deserializeDocumentListEcsTaskDetails(&sv.TaskProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5357,17 +5196,14 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.ContainerInstanceArn = ptr.String(jtv) } - case "containers": if err := awsRestjson1_deserializeDocumentListTaskContainerDetails(&sv.Containers, value); err != nil { return err } - case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5376,7 +5212,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -5385,12 +5220,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.IpcMode = ptr.String(jtv) } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "pidMode": if value != nil { jtv, ok := value.(string) @@ -5399,7 +5232,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.PidMode = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -5408,12 +5240,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.PlatformVersion = ptr.String(jtv) } - case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -5422,7 +5252,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.TaskArn = ptr.String(jtv) } - case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -5431,12 +5260,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.TaskRoleArn = ptr.String(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -5472,12 +5299,10 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti if err := awsRestjson1_deserializeDocumentListTaskContainerProperties(&sv.Containers, value); err != nil { return err } - case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5486,7 +5311,6 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -5495,12 +5319,10 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.IpcMode = ptr.String(jtv) } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "pidMode": if value != nil { jtv, ok := value.(string) @@ -5509,7 +5331,6 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.PidMode = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -5518,12 +5339,10 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.PlatformVersion = ptr.String(jtv) } - case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } - case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -5532,12 +5351,10 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.TaskRoleArn = ptr.String(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -5577,7 +5394,6 @@ func awsRestjson1_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.AccessPointId = ptr.String(jtv) } - case "iam": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5402,6 @@ func awsRestjson1_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.Iam = types.EFSAuthorizationConfigIAM(jtv) } - default: _, _ = key, value @@ -5622,7 +5437,6 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC if err := awsRestjson1_deserializeDocumentEFSAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } - case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -5631,7 +5445,6 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.FileSystemId = ptr.String(jtv) } - case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -5640,7 +5453,6 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.RootDirectory = ptr.String(jtv) } - case "transitEncryption": if value != nil { jtv, ok := value.(string) @@ -5649,7 +5461,6 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryption = types.EFSTransitEncryption(jtv) } - case "transitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -5662,7 +5473,6 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5702,7 +5512,6 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.ContainerID = ptr.String(jtv) } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -5715,7 +5524,6 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.ExitCode = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5724,7 +5532,6 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.Name = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5733,7 +5540,6 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -5803,7 +5609,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail if err := awsRestjson1_deserializeDocumentEksAttemptContainerDetails(&sv.Containers, value); err != nil { return err } - case "eksClusterArn": if value != nil { jtv, ok := value.(string) @@ -5812,12 +5617,10 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.EksClusterArn = ptr.String(jtv) } - case "initContainers": if err := awsRestjson1_deserializeDocumentEksAttemptContainerDetails(&sv.InitContainers, value); err != nil { return err } - case "nodeName": if value != nil { jtv, ok := value.(string) @@ -5826,7 +5629,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.NodeName = ptr.String(jtv) } - case "podName": if value != nil { jtv, ok := value.(string) @@ -5835,7 +5637,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.PodName = ptr.String(jtv) } - case "podNamespace": if value != nil { jtv, ok := value.(string) @@ -5844,7 +5645,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.PodNamespace = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -5857,7 +5657,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StartedAt = ptr.Int64(i64) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5665,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StatusReason = ptr.String(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -5879,7 +5677,6 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StoppedAt = ptr.Int64(i64) } - default: _, _ = key, value @@ -5953,7 +5750,6 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.EksClusterArn = ptr.String(jtv) } - case "kubernetesNamespace": if value != nil { jtv, ok := value.(string) @@ -5962,7 +5758,6 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.KubernetesNamespace = ptr.String(jtv) } - default: _, _ = key, value @@ -5998,17 +5793,14 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value if err := awsRestjson1_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } - case "command": if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "env": if err := awsRestjson1_deserializeDocumentEksContainerEnvironmentVariables(&sv.Env, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -6017,7 +5809,6 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.Image = ptr.String(jtv) } - case "imagePullPolicy": if value != nil { jtv, ok := value.(string) @@ -6026,7 +5817,6 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.ImagePullPolicy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6035,22 +5825,18 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.Name = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentEksContainerResourceRequirements(&sv.Resources, value); err != nil { return err } - case "securityContext": if err := awsRestjson1_deserializeDocumentEksContainerSecurityContext(&sv.SecurityContext, value); err != nil { return err } - case "volumeMounts": if err := awsRestjson1_deserializeDocumentEksContainerVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } - default: _, _ = key, value @@ -6086,17 +5872,14 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe if err := awsRestjson1_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } - case "command": if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "env": if err := awsRestjson1_deserializeDocumentEksContainerEnvironmentVariables(&sv.Env, value); err != nil { return err } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -6109,7 +5892,6 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.ExitCode = ptr.Int32(int32(i64)) } - case "image": if value != nil { jtv, ok := value.(string) @@ -6118,7 +5900,6 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Image = ptr.String(jtv) } - case "imagePullPolicy": if value != nil { jtv, ok := value.(string) @@ -6127,7 +5908,6 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.ImagePullPolicy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6136,7 +5916,6 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Name = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6145,22 +5924,18 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Reason = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentEksContainerResourceRequirements(&sv.Resources, value); err != nil { return err } - case "securityContext": if err := awsRestjson1_deserializeDocumentEksContainerSecurityContext(&sv.SecurityContext, value); err != nil { return err } - case "volumeMounts": if err := awsRestjson1_deserializeDocumentEksContainerVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } - default: _, _ = key, value @@ -6234,7 +6009,6 @@ func awsRestjson1_deserializeDocumentEksContainerEnvironmentVariable(v **types.E } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6243,7 +6017,6 @@ func awsRestjson1_deserializeDocumentEksContainerEnvironmentVariable(v **types.E } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6313,12 +6086,10 @@ func awsRestjson1_deserializeDocumentEksContainerResourceRequirements(v **types. if err := awsRestjson1_deserializeDocumentEksLimits(&sv.Limits, value); err != nil { return err } - case "requests": if err := awsRestjson1_deserializeDocumentEksRequests(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -6392,7 +6163,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.AllowPrivilegeEscalation = ptr.Bool(jtv) } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -6401,7 +6171,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.Privileged = ptr.Bool(jtv) } - case "readOnlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -6410,7 +6179,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.ReadOnlyRootFilesystem = ptr.Bool(jtv) } - case "runAsGroup": if value != nil { jtv, ok := value.(json.Number) @@ -6423,7 +6191,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsGroup = ptr.Int64(i64) } - case "runAsNonRoot": if value != nil { jtv, ok := value.(bool) @@ -6432,7 +6199,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsNonRoot = ptr.Bool(jtv) } - case "runAsUser": if value != nil { jtv, ok := value.(json.Number) @@ -6445,7 +6211,6 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsUser = ptr.Int64(i64) } - default: _, _ = key, value @@ -6485,7 +6250,6 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.MountPath = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6258,6 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.Name = ptr.String(jtv) } - case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -6503,7 +6266,6 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.ReadOnly = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6577,7 +6339,6 @@ func awsRestjson1_deserializeDocumentEksEmptyDir(v **types.EksEmptyDir, value in } sv.Medium = ptr.String(jtv) } - case "sizeLimit": if value != nil { jtv, ok := value.(string) @@ -6586,7 +6347,6 @@ func awsRestjson1_deserializeDocumentEksEmptyDir(v **types.EksEmptyDir, value in } sv.SizeLimit = ptr.String(jtv) } - default: _, _ = key, value @@ -6626,7 +6386,6 @@ func awsRestjson1_deserializeDocumentEksHostPath(v **types.EksHostPath, value in } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -6734,7 +6493,6 @@ func awsRestjson1_deserializeDocumentEksMetadata(v **types.EksMetadata, value in if err := awsRestjson1_deserializeDocumentEksLabelsMap(&sv.Labels, value); err != nil { return err } - default: _, _ = key, value @@ -6770,7 +6528,6 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties if err := awsRestjson1_deserializeDocumentEksContainers(&sv.Containers, value); err != nil { return err } - case "dnsPolicy": if value != nil { jtv, ok := value.(string) @@ -6779,7 +6536,6 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.DnsPolicy = ptr.String(jtv) } - case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -6788,22 +6544,18 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.HostNetwork = ptr.Bool(jtv) } - case "imagePullSecrets": if err := awsRestjson1_deserializeDocumentImagePullSecrets(&sv.ImagePullSecrets, value); err != nil { return err } - case "initContainers": if err := awsRestjson1_deserializeDocumentEksContainers(&sv.InitContainers, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentEksMetadata(&sv.Metadata, value); err != nil { return err } - case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -6812,7 +6564,6 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.ServiceAccountName = ptr.String(jtv) } - case "shareProcessNamespace": if value != nil { jtv, ok := value.(bool) @@ -6821,12 +6572,10 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.ShareProcessNamespace = ptr.Bool(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentEksVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -6862,7 +6611,6 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp if err := awsRestjson1_deserializeDocumentEksContainerDetails(&sv.Containers, value); err != nil { return err } - case "dnsPolicy": if value != nil { jtv, ok := value.(string) @@ -6871,7 +6619,6 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.DnsPolicy = ptr.String(jtv) } - case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -6880,22 +6627,18 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.HostNetwork = ptr.Bool(jtv) } - case "imagePullSecrets": if err := awsRestjson1_deserializeDocumentImagePullSecrets(&sv.ImagePullSecrets, value); err != nil { return err } - case "initContainers": if err := awsRestjson1_deserializeDocumentEksContainerDetails(&sv.InitContainers, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentEksMetadata(&sv.Metadata, value); err != nil { return err } - case "nodeName": if value != nil { jtv, ok := value.(string) @@ -6904,7 +6647,6 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.NodeName = ptr.String(jtv) } - case "podName": if value != nil { jtv, ok := value.(string) @@ -6913,7 +6655,6 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.PodName = ptr.String(jtv) } - case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -6922,7 +6663,6 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.ServiceAccountName = ptr.String(jtv) } - case "shareProcessNamespace": if value != nil { jtv, ok := value.(bool) @@ -6931,12 +6671,10 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.ShareProcessNamespace = ptr.Bool(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentEksVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -6972,7 +6710,6 @@ func awsRestjson1_deserializeDocumentEksProperties(v **types.EksProperties, valu if err := awsRestjson1_deserializeDocumentEksPodProperties(&sv.PodProperties, value); err != nil { return err } - default: _, _ = key, value @@ -7008,7 +6745,6 @@ func awsRestjson1_deserializeDocumentEksPropertiesDetail(v **types.EksProperties if err := awsRestjson1_deserializeDocumentEksPodPropertiesDetail(&sv.PodProperties, value); err != nil { return err } - default: _, _ = key, value @@ -7084,7 +6820,6 @@ func awsRestjson1_deserializeDocumentEksSecret(v **types.EksSecret, value interf } sv.Optional = ptr.Bool(jtv) } - case "secretName": if value != nil { jtv, ok := value.(string) @@ -7093,7 +6828,6 @@ func awsRestjson1_deserializeDocumentEksSecret(v **types.EksSecret, value interf } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -7129,12 +6863,10 @@ func awsRestjson1_deserializeDocumentEksVolume(v **types.EksVolume, value interf if err := awsRestjson1_deserializeDocumentEksEmptyDir(&sv.EmptyDir, value); err != nil { return err } - case "hostPath": if err := awsRestjson1_deserializeDocumentEksHostPath(&sv.HostPath, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7143,12 +6875,10 @@ func awsRestjson1_deserializeDocumentEksVolume(v **types.EksVolume, value interf } sv.Name = ptr.String(jtv) } - case "secret": if err := awsRestjson1_deserializeDocumentEksSecret(&sv.Secret, value); err != nil { return err } - default: _, _ = key, value @@ -7260,7 +6990,6 @@ func awsRestjson1_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.SizeInGiB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7300,7 +7029,6 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.Action = types.RetryAction(jtv) } - case "onExitCode": if value != nil { jtv, ok := value.(string) @@ -7309,7 +7037,6 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnExitCode = ptr.String(jtv) } - case "onReason": if value != nil { jtv, ok := value.(string) @@ -7318,7 +7045,6 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnReason = ptr.String(jtv) } - case "onStatusReason": if value != nil { jtv, ok := value.(string) @@ -7327,7 +7053,6 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7405,7 +7130,6 @@ func awsRestjson1_deserializeDocumentFairsharePolicy(v **types.FairsharePolicy, } sv.ComputeReservation = ptr.Int32(int32(i64)) } - case "shareDecaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7418,12 +7142,10 @@ func awsRestjson1_deserializeDocumentFairsharePolicy(v **types.FairsharePolicy, } sv.ShareDecaySeconds = ptr.Int32(int32(i64)) } - case "shareDistribution": if err := awsRestjson1_deserializeDocumentShareAttributesList(&sv.ShareDistribution, value); err != nil { return err } - default: _, _ = key, value @@ -7463,7 +7185,6 @@ func awsRestjson1_deserializeDocumentFargatePlatformConfiguration(v **types.Farg } sv.PlatformVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -7499,7 +7220,6 @@ func awsRestjson1_deserializeDocumentFrontOfQueueDetail(v **types.FrontOfQueueDe if err := awsRestjson1_deserializeDocumentFrontOfQueueJobSummaryList(&sv.Jobs, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -7512,7 +7232,6 @@ func awsRestjson1_deserializeDocumentFrontOfQueueDetail(v **types.FrontOfQueueDe } sv.LastUpdatedAt = ptr.Int64(i64) } - default: _, _ = key, value @@ -7556,7 +7275,6 @@ func awsRestjson1_deserializeDocumentFrontOfQueueJobSummary(v **types.FrontOfQue } sv.EarliestTimeAtPosition = ptr.Int64(i64) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -7565,7 +7283,6 @@ func awsRestjson1_deserializeDocumentFrontOfQueueJobSummary(v **types.FrontOfQue } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7639,7 +7356,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -7679,7 +7395,6 @@ func awsRestjson1_deserializeDocumentImagePullSecret(v **types.ImagePullSecret, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7753,22 +7468,18 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.ContainerOrchestrationType = types.OrchestrationType(jtv) } - case "containerProperties": if err := awsRestjson1_deserializeDocumentContainerProperties(&sv.ContainerProperties, value); err != nil { return err } - case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsProperties(&sv.EcsProperties, value); err != nil { return err } - case "eksProperties": if err := awsRestjson1_deserializeDocumentEksProperties(&sv.EksProperties, value); err != nil { return err } - case "jobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -7777,7 +7488,6 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.JobDefinitionArn = ptr.String(jtv) } - case "jobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -7786,22 +7496,18 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.JobDefinitionName = ptr.String(jtv) } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "platformCapabilities": if err := awsRestjson1_deserializeDocumentPlatformCapabilityList(&sv.PlatformCapabilities, value); err != nil { return err } - case "propagateTags": if value != nil { jtv, ok := value.(bool) @@ -7810,12 +7516,10 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.PropagateTags = ptr.Bool(jtv) } - case "retryStrategy": if err := awsRestjson1_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -7828,7 +7532,6 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Revision = ptr.Int32(int32(i64)) } - case "schedulingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -7841,7 +7544,6 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.SchedulingPriority = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7850,17 +7552,14 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Status = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentJobTimeout(&sv.Timeout, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -7869,7 +7568,6 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -7943,7 +7641,6 @@ func awsRestjson1_deserializeDocumentJobDependency(v **types.JobDependency, valu } sv.JobId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7952,7 +7649,6 @@ func awsRestjson1_deserializeDocumentJobDependency(v **types.JobDependency, valu } sv.Type = types.ArrayJobDependency(jtv) } - default: _, _ = key, value @@ -8022,17 +7718,14 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf if err := awsRestjson1_deserializeDocumentArrayPropertiesDetail(&sv.ArrayProperties, value); err != nil { return err } - case "attempts": if err := awsRestjson1_deserializeDocumentAttemptDetails(&sv.Attempts, value); err != nil { return err } - case "container": if err := awsRestjson1_deserializeDocumentContainerDetail(&sv.Container, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(json.Number) @@ -8045,27 +7738,22 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.CreatedAt = ptr.Int64(i64) } - case "dependsOn": if err := awsRestjson1_deserializeDocumentJobDependencyList(&sv.DependsOn, value); err != nil { return err } - case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsPropertiesDetail(&sv.EcsProperties, value); err != nil { return err } - case "eksAttempts": if err := awsRestjson1_deserializeDocumentEksAttemptDetails(&sv.EksAttempts, value); err != nil { return err } - case "eksProperties": if err := awsRestjson1_deserializeDocumentEksPropertiesDetail(&sv.EksProperties, value); err != nil { return err } - case "isCancelled": if value != nil { jtv, ok := value.(bool) @@ -8074,7 +7762,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.IsCancelled = ptr.Bool(jtv) } - case "isTerminated": if value != nil { jtv, ok := value.(bool) @@ -8083,7 +7770,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.IsTerminated = ptr.Bool(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -8092,7 +7778,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobArn = ptr.String(jtv) } - case "jobDefinition": if value != nil { jtv, ok := value.(string) @@ -8101,7 +7786,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobDefinition = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -8110,7 +7794,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -8119,7 +7802,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobName = ptr.String(jtv) } - case "jobQueue": if value != nil { jtv, ok := value.(string) @@ -8128,27 +7810,22 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobQueue = ptr.String(jtv) } - case "nodeDetails": if err := awsRestjson1_deserializeDocumentNodeDetails(&sv.NodeDetails, value); err != nil { return err } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "platformCapabilities": if err := awsRestjson1_deserializeDocumentPlatformCapabilityList(&sv.PlatformCapabilities, value); err != nil { return err } - case "propagateTags": if value != nil { jtv, ok := value.(bool) @@ -8157,12 +7834,10 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.PropagateTags = ptr.Bool(jtv) } - case "retryStrategy": if err := awsRestjson1_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - case "schedulingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -8175,7 +7850,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.SchedulingPriority = ptr.Int32(int32(i64)) } - case "shareIdentifier": if value != nil { jtv, ok := value.(string) @@ -8184,7 +7858,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.ShareIdentifier = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8197,7 +7870,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StartedAt = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8206,7 +7878,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.Status = types.JobStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8215,7 +7886,6 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StatusReason = ptr.String(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8228,17 +7898,14 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StoppedAt = ptr.Int64(i64) } - case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - case "timeout": if err := awsRestjson1_deserializeDocumentJobTimeout(&sv.Timeout, value); err != nil { return err } - default: _, _ = key, value @@ -8308,7 +7975,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va if err := awsRestjson1_deserializeDocumentComputeEnvironmentOrders(&sv.ComputeEnvironmentOrder, value); err != nil { return err } - case "jobQueueArn": if value != nil { jtv, ok := value.(string) @@ -8317,7 +7983,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.JobQueueArn = ptr.String(jtv) } - case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -8326,12 +7991,10 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.JobQueueName = ptr.String(jtv) } - case "jobStateTimeLimitActions": if err := awsRestjson1_deserializeDocumentJobStateTimeLimitActions(&sv.JobStateTimeLimitActions, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -8344,7 +8007,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.Priority = ptr.Int32(int32(i64)) } - case "schedulingPolicyArn": if value != nil { jtv, ok := value.(string) @@ -8353,7 +8015,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.SchedulingPolicyArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -8362,7 +8023,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.State = types.JQState(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8371,7 +8031,6 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.Status = types.JQStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8380,12 +8039,10 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8459,7 +8116,6 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.Action = types.JobStateTimeLimitActionsAction(jtv) } - case "maxTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8472,7 +8128,6 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.MaxTimeSeconds = ptr.Int32(int32(i64)) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -8481,7 +8136,6 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.Reason = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -8490,7 +8144,6 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.State = types.JobStateTimeLimitActionsState(jtv) } - default: _, _ = key, value @@ -8560,12 +8213,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte if err := awsRestjson1_deserializeDocumentArrayPropertiesSummary(&sv.ArrayProperties, value); err != nil { return err } - case "container": if err := awsRestjson1_deserializeDocumentContainerSummary(&sv.Container, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(json.Number) @@ -8578,7 +8229,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Int64(i64) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -8587,7 +8237,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } - case "jobDefinition": if value != nil { jtv, ok := value.(string) @@ -8596,7 +8245,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobDefinition = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -8605,7 +8253,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -8614,12 +8261,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobName = ptr.String(jtv) } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodePropertiesSummary(&sv.NodeProperties, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8632,7 +8277,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8641,7 +8285,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8650,7 +8293,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StatusReason = ptr.String(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8663,7 +8305,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StoppedAt = ptr.Int64(i64) } - default: _, _ = key, value @@ -8741,7 +8382,6 @@ func awsRestjson1_deserializeDocumentJobTimeout(v **types.JobTimeout, value inte } sv.AttemptDurationSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8781,7 +8421,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8790,7 +8429,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8830,7 +8468,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.LaunchTemplateId = ptr.String(jtv) } - case "launchTemplateName": if value != nil { jtv, ok := value.(string) @@ -8839,7 +8476,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.LaunchTemplateName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -8848,7 +8484,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8884,7 +8519,6 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, if err := awsRestjson1_deserializeDocumentDevicesList(&sv.Devices, value); err != nil { return err } - case "initProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -8893,7 +8527,6 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.InitProcessEnabled = ptr.Bool(jtv) } - case "maxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -8906,7 +8539,6 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.MaxSwap = ptr.Int32(int32(i64)) } - case "sharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -8919,7 +8551,6 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.SharedMemorySize = ptr.Int32(int32(i64)) } - case "swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -8932,12 +8563,10 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.Swappiness = ptr.Int32(int32(i64)) } - case "tmpfs": if err := awsRestjson1_deserializeDocumentTmpfsList(&sv.Tmpfs, value); err != nil { return err } - default: _, _ = key, value @@ -9181,17 +8810,14 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = types.LogDriver(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentLogConfigurationOptionsMap(&sv.Options, value); err != nil { return err } - case "secretOptions": if err := awsRestjson1_deserializeDocumentSecretList(&sv.SecretOptions, value); err != nil { return err } - default: _, _ = key, value @@ -9267,7 +8893,6 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ContainerPath = ptr.String(jtv) } - case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -9276,7 +8901,6 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ReadOnly = ptr.Bool(jtv) } - case "sourceVolume": if value != nil { jtv, ok := value.(string) @@ -9285,7 +8909,6 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.SourceVolume = ptr.String(jtv) } - default: _, _ = key, value @@ -9359,7 +8982,6 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - default: _, _ = key, value @@ -9399,7 +9021,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AttachmentId = ptr.String(jtv) } - case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -9408,7 +9029,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } - case "privateIpv4Address": if value != nil { jtv, ok := value.(string) @@ -9417,7 +9037,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpv4Address = ptr.String(jtv) } - default: _, _ = key, value @@ -9491,7 +9110,6 @@ func awsRestjson1_deserializeDocumentNodeDetails(v **types.NodeDetails, value in } sv.IsMainNode = ptr.Bool(jtv) } - case "nodeIndex": if value != nil { jtv, ok := value.(json.Number) @@ -9504,7 +9122,6 @@ func awsRestjson1_deserializeDocumentNodeDetails(v **types.NodeDetails, value in } sv.NodeIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9548,12 +9165,10 @@ func awsRestjson1_deserializeDocumentNodeProperties(v **types.NodeProperties, va } sv.MainNode = ptr.Int32(int32(i64)) } - case "nodeRangeProperties": if err := awsRestjson1_deserializeDocumentNodeRangeProperties(&sv.NodeRangeProperties, value); err != nil { return err } - case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9566,7 +9181,6 @@ func awsRestjson1_deserializeDocumentNodeProperties(v **types.NodeProperties, va } sv.NumNodes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9606,7 +9220,6 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.IsMainNode = ptr.Bool(jtv) } - case "nodeIndex": if value != nil { jtv, ok := value.(json.Number) @@ -9619,7 +9232,6 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.NodeIndex = ptr.Int32(int32(i64)) } - case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9632,7 +9244,6 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.NumNodes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9702,22 +9313,18 @@ func awsRestjson1_deserializeDocumentNodeRangeProperty(v **types.NodeRangeProper if err := awsRestjson1_deserializeDocumentContainerProperties(&sv.Container, value); err != nil { return err } - case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsProperties(&sv.EcsProperties, value); err != nil { return err } - case "eksProperties": if err := awsRestjson1_deserializeDocumentEksProperties(&sv.EksProperties, value); err != nil { return err } - case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } - case "targetNodes": if value != nil { jtv, ok := value.(string) @@ -9726,7 +9333,6 @@ func awsRestjson1_deserializeDocumentNodeRangeProperty(v **types.NodeRangeProper } sv.TargetNodes = ptr.String(jtv) } - default: _, _ = key, value @@ -9838,7 +9444,6 @@ func awsRestjson1_deserializeDocumentRepositoryCredentials(v **types.RepositoryC } sv.CredentialsParameter = ptr.String(jtv) } - default: _, _ = key, value @@ -9878,7 +9483,6 @@ func awsRestjson1_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Type = types.ResourceType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9887,7 +9491,6 @@ func awsRestjson1_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9965,12 +9568,10 @@ func awsRestjson1_deserializeDocumentRetryStrategy(v **types.RetryStrategy, valu } sv.Attempts = ptr.Int32(int32(i64)) } - case "evaluateOnExit": if err := awsRestjson1_deserializeDocumentEvaluateOnExitList(&sv.EvaluateOnExit, value); err != nil { return err } - default: _, _ = key, value @@ -10010,7 +9611,6 @@ func awsRestjson1_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.CpuArchitecture = ptr.String(jtv) } - case "operatingSystemFamily": if value != nil { jtv, ok := value.(string) @@ -10019,7 +9619,6 @@ func awsRestjson1_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.OperatingSystemFamily = ptr.String(jtv) } - default: _, _ = key, value @@ -10059,12 +9658,10 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyDetail(v **types.Scheduling } sv.Arn = ptr.String(jtv) } - case "fairsharePolicy": if err := awsRestjson1_deserializeDocumentFairsharePolicy(&sv.FairsharePolicy, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10073,12 +9670,10 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyDetail(v **types.Scheduling } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10152,7 +9747,6 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyListingDetail(v **types.Sch } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -10226,7 +9820,6 @@ func awsRestjson1_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.Name = ptr.String(jtv) } - case "valueFrom": if value != nil { jtv, ok := value.(string) @@ -10235,7 +9828,6 @@ func awsRestjson1_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.ValueFrom = ptr.String(jtv) } - default: _, _ = key, value @@ -10299,15 +9891,9 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10315,15 +9901,11 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10358,7 +9940,6 @@ func awsRestjson1_deserializeDocumentShareAttributes(v **types.ShareAttributes, } sv.ShareIdentifier = ptr.String(jtv) } - case "weightFactor": if value != nil { switch jtv := value.(type) { @@ -10392,7 +9973,6 @@ func awsRestjson1_deserializeDocumentShareAttributes(v **types.ShareAttributes, } } - default: _, _ = key, value @@ -10574,7 +10154,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDependency(v **types.TaskConta } sv.Condition = ptr.String(jtv) } - case "containerName": if value != nil { jtv, ok := value.(string) @@ -10583,7 +10162,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDependency(v **types.TaskConta } sv.ContainerName = ptr.String(jtv) } - default: _, _ = key, value @@ -10653,17 +10231,14 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "dependsOn": if err := awsRestjson1_deserializeDocumentTaskContainerDependencyList(&sv.DependsOn, value); err != nil { return err } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "essential": if value != nil { jtv, ok := value.(bool) @@ -10672,7 +10247,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Essential = ptr.Bool(jtv) } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -10685,7 +10259,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.ExitCode = ptr.Int32(int32(i64)) } - case "image": if value != nil { jtv, ok := value.(string) @@ -10694,17 +10267,14 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Image = ptr.String(jtv) } - case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -10713,12 +10283,10 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.LogStreamName = ptr.String(jtv) } - case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10727,12 +10295,10 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Name = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -10741,7 +10307,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Privileged = ptr.Bool(jtv) } - case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -10750,7 +10315,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -10759,27 +10323,22 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Reason = ptr.String(jtv) } - case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } - case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } - case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } - case "user": if value != nil { jtv, ok := value.(string) @@ -10788,7 +10347,6 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -10824,17 +10382,14 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "dependsOn": if err := awsRestjson1_deserializeDocumentTaskContainerDependencyList(&sv.DependsOn, value); err != nil { return err } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "essential": if value != nil { jtv, ok := value.(bool) @@ -10843,7 +10398,6 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Essential = ptr.Bool(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -10852,22 +10406,18 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Image = ptr.String(jtv) } - case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10876,7 +10426,6 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Name = ptr.String(jtv) } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -10885,7 +10434,6 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Privileged = ptr.Bool(jtv) } - case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -10894,27 +10442,22 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } - case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } - case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } - case "user": if value != nil { jtv, ok := value.(string) @@ -10923,7 +10466,6 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -10963,12 +10505,10 @@ func awsRestjson1_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.ContainerPath = ptr.String(jtv) } - case "mountOptions": if err := awsRestjson1_deserializeDocumentStringList(&sv.MountOptions, value); err != nil { return err } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -10981,7 +10521,6 @@ func awsRestjson1_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11059,7 +10598,6 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.HardLimit = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11068,7 +10606,6 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.Name = ptr.String(jtv) } - case "softLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11081,7 +10618,6 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.SoftLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11159,7 +10695,6 @@ func awsRestjson1_deserializeDocumentUpdatePolicy(v **types.UpdatePolicy, value } sv.JobExecutionTimeoutMinutes = ptr.Int64(i64) } - case "terminateJobsOnUpdate": if value != nil { jtv, ok := value.(bool) @@ -11168,7 +10703,6 @@ func awsRestjson1_deserializeDocumentUpdatePolicy(v **types.UpdatePolicy, value } sv.TerminateJobsOnUpdate = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11204,12 +10738,10 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsRestjson1_deserializeDocumentEFSVolumeConfiguration(&sv.EfsVolumeConfiguration, value); err != nil { return err } - case "host": if err := awsRestjson1_deserializeDocumentHost(&sv.Host, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11218,7 +10750,6 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/bcmdataexports/deserializers.go b/service/bcmdataexports/deserializers.go index e617e819dad..ec4aa3842be 100644 --- a/service/bcmdataexports/deserializers.go +++ b/service/bcmdataexports/deserializers.go @@ -1665,7 +1665,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1674,7 +1673,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1683,7 +1681,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1757,12 +1754,10 @@ func awsAwsjson11_deserializeDocumentDataQuery(v **types.DataQuery, value interf } sv.QueryStatement = ptr.String(jtv) } - case "TableConfigurations": if err := awsAwsjson11_deserializeDocumentTableConfigurations(&sv.TableConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -1798,7 +1793,6 @@ func awsAwsjson11_deserializeDocumentDestinationConfigurations(v **types.Destina if err := awsAwsjson11_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -1838,12 +1832,10 @@ func awsAwsjson11_deserializeDocumentExecutionReference(v **types.ExecutionRefer } sv.ExecutionId = ptr.String(jtv) } - case "ExecutionStatus": if err := awsAwsjson11_deserializeDocumentExecutionStatus(&sv.ExecutionStatus, value); err != nil { return err } - default: _, _ = key, value @@ -1921,7 +1913,6 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.CompletedAt = ptr.Time(t) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1934,7 +1925,6 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.CreatedAt = ptr.Time(t) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1947,7 +1937,6 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.LastUpdatedAt = ptr.Time(t) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1956,7 +1945,6 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.StatusCode = types.ExecutionStatusCode(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -1965,7 +1953,6 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.StatusReason = types.ExecutionStatusReason(jtv) } - default: _, _ = key, value @@ -2001,7 +1988,6 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) if err := awsAwsjson11_deserializeDocumentDataQuery(&sv.DataQuery, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2010,12 +1996,10 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.Description = ptr.String(jtv) } - case "DestinationConfigurations": if err := awsAwsjson11_deserializeDocumentDestinationConfigurations(&sv.DestinationConfigurations, value); err != nil { return err } - case "ExportArn": if value != nil { jtv, ok := value.(string) @@ -2024,7 +2008,6 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.ExportArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2033,12 +2016,10 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.Name = ptr.String(jtv) } - case "RefreshCadence": if err := awsAwsjson11_deserializeDocumentRefreshCadence(&sv.RefreshCadence, value); err != nil { return err } - default: _, _ = key, value @@ -2078,7 +2059,6 @@ func awsAwsjson11_deserializeDocumentExportReference(v **types.ExportReference, } sv.ExportArn = ptr.String(jtv) } - case "ExportName": if value != nil { jtv, ok := value.(string) @@ -2087,12 +2067,10 @@ func awsAwsjson11_deserializeDocumentExportReference(v **types.ExportReference, } sv.ExportName = ptr.String(jtv) } - case "ExportStatus": if err := awsAwsjson11_deserializeDocumentExportStatus(&sv.ExportStatus, value); err != nil { return err } - default: _, _ = key, value @@ -2170,7 +2148,6 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.CreatedAt = ptr.Time(t) } - case "LastRefreshedAt": if value != nil { jtv, ok := value.(string) @@ -2183,7 +2160,6 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.LastRefreshedAt = ptr.Time(t) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2196,7 +2172,6 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.LastUpdatedAt = ptr.Time(t) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -2205,7 +2180,6 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.StatusCode = types.ExportStatusCode(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2214,7 +2188,6 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.StatusReason = types.ExecutionStatusReason(jtv) } - default: _, _ = key, value @@ -2280,15 +2253,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2296,15 +2263,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2339,7 +2302,6 @@ func awsAwsjson11_deserializeDocumentRefreshCadence(v **types.RefreshCadence, va } sv.Frequency = types.FrequencyOption(jtv) } - default: _, _ = key, value @@ -2369,15 +2331,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2385,7 +2341,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2394,7 +2349,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2403,15 +2357,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2446,7 +2396,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2455,7 +2404,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2529,12 +2477,10 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Bucket = ptr.String(jtv) } - case "S3OutputConfigurations": if err := awsAwsjson11_deserializeDocumentS3OutputConfigurations(&sv.S3OutputConfigurations, value); err != nil { return err } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -2543,7 +2489,6 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Prefix = ptr.String(jtv) } - case "S3Region": if value != nil { jtv, ok := value.(string) @@ -2552,7 +2497,6 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Region = ptr.String(jtv) } - default: _, _ = key, value @@ -2592,7 +2536,6 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Compression = types.CompressionOption(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -2601,7 +2544,6 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Format = types.FormatOption(jtv) } - case "OutputType": if value != nil { jtv, ok := value.(string) @@ -2610,7 +2552,6 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.OutputType = types.S3OutputType(jtv) } - case "Overwrite": if value != nil { jtv, ok := value.(string) @@ -2619,7 +2560,6 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Overwrite = types.OverwriteOption(jtv) } - default: _, _ = key, value @@ -2649,15 +2589,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2665,7 +2599,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -2674,7 +2607,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2683,7 +2615,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2692,7 +2623,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -2701,15 +2631,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2744,7 +2670,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Description = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -2753,12 +2678,10 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableName = ptr.String(jtv) } - case "TableProperties": if err := awsAwsjson11_deserializeDocumentTablePropertyDescriptionList(&sv.TableProperties, value); err != nil { return err } - default: _, _ = key, value @@ -2902,7 +2825,6 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.DefaultValue = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2911,7 +2833,6 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2920,12 +2841,10 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.Name = ptr.String(jtv) } - case "ValidValues": if err := awsAwsjson11_deserializeDocumentGenericStringList(&sv.ValidValues, value); err != nil { return err } - default: _, _ = key, value @@ -2989,15 +2908,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3005,7 +2918,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -3014,7 +2926,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -3023,15 +2934,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3056,20 +2963,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3077,7 +2977,6 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -3086,15 +2985,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3129,7 +3024,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3138,7 +3032,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3212,7 +3105,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3252,7 +3144,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3292,17 +3183,14 @@ func awsAwsjson11_deserializeOpDocumentGetExecutionOutput(v **GetExecutionOutput } sv.ExecutionId = ptr.String(jtv) } - case "ExecutionStatus": if err := awsAwsjson11_deserializeDocumentExecutionStatus(&sv.ExecutionStatus, value); err != nil { return err } - case "Export": if err := awsAwsjson11_deserializeDocumentExport(&sv.Export, value); err != nil { return err } - default: _, _ = key, value @@ -3338,12 +3226,10 @@ func awsAwsjson11_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu if err := awsAwsjson11_deserializeDocumentExport(&sv.Export, value); err != nil { return err } - case "ExportStatus": if err := awsAwsjson11_deserializeDocumentExportStatus(&sv.ExportStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3383,12 +3269,10 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.Description = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Schema, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -3397,12 +3281,10 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.TableName = ptr.String(jtv) } - case "TableProperties": if err := awsAwsjson11_deserializeDocumentTableProperties(&sv.TableProperties, value); err != nil { return err } - default: _, _ = key, value @@ -3438,7 +3320,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson11_deserializeDocumentExecutionReferenceList(&sv.Executions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3447,7 +3328,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3483,7 +3363,6 @@ func awsAwsjson11_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsAwsjson11_deserializeDocumentExportReferenceList(&sv.Exports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3492,7 +3371,6 @@ func awsAwsjson11_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3532,12 +3410,10 @@ func awsAwsjson11_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } - case "Tables": if err := awsAwsjson11_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } - default: _, _ = key, value @@ -3577,12 +3453,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "ResourceTags": if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -3684,7 +3558,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/bedrock/deserializers.go b/service/bedrock/deserializers.go index 537d48a28b4..ac7130d8141 100644 --- a/service/bedrock/deserializers.go +++ b/service/bedrock/deserializers.go @@ -187,12 +187,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteEvaluationJobOutput(v **BatchD if err := awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobErrors(&sv.Errors, value); err != nil { return err } - case "evaluationJobs": if err := awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItems(&sv.EvaluationJobs, value); err != nil { return err } - default: _, _ = key, value @@ -366,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationJobOutput(v **CreateEvalu } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -547,7 +544,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.CreatedAt = ptr.Time(t) } - case "guardrailArn": if value != nil { jtv, ok := value.(string) @@ -556,7 +552,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.GuardrailArn = ptr.String(jtv) } - case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -565,7 +560,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.GuardrailId = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -574,7 +568,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -748,7 +741,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailVersionOutput(v **CreateGu } sv.GuardrailId = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -757,7 +749,6 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailVersionOutput(v **CreateGu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -934,7 +925,6 @@ func awsRestjson1_deserializeOpDocumentCreateInferenceProfileOutput(v **CreateIn } sv.InferenceProfileArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -943,7 +933,6 @@ func awsRestjson1_deserializeOpDocumentCreateInferenceProfileOutput(v **CreateIn } sv.Status = types.InferenceProfileStatus(jtv) } - default: _, _ = key, value @@ -1108,7 +1097,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelCopyJobOutput(v **CreateModelC } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1285,7 +1273,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelCustomizationJobOutput(v **Cre } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1462,7 +1449,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelImportJobOutput(v **CreateMode } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1636,7 +1622,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelInvocationJobOutput(v **Create } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1810,7 +1795,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisionedModelThroughputOutput(v } sv.ProvisionedModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2587,7 +2571,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.BaseModelArn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2600,7 +2583,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.CreationTime = ptr.Time(t) } - case "customizationType": if value != nil { jtv, ok := value.(string) @@ -2609,12 +2591,10 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.CustomizationType = types.CustomizationType(jtv) } - case "hyperParameters": if err := awsRestjson1_deserializeDocumentModelCustomizationHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2623,7 +2603,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -2632,7 +2611,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.JobName = ptr.String(jtv) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -2641,7 +2619,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelArn = ptr.String(jtv) } - case "modelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2650,7 +2627,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelKmsKeyArn = ptr.String(jtv) } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -2659,32 +2635,26 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelName = ptr.String(jtv) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "trainingDataConfig": if err := awsRestjson1_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } - case "trainingMetrics": if err := awsRestjson1_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } - case "validationDataConfig": if err := awsRestjson1_deserializeDocumentValidationDataConfig(&sv.ValidationDataConfig, value); err != nil { return err } - case "validationMetrics": if err := awsRestjson1_deserializeDocumentValidationMetrics(&sv.ValidationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -2856,7 +2826,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.CreationTime = ptr.Time(t) } - case "customerEncryptionKeyId": if value != nil { jtv, ok := value.(string) @@ -2865,22 +2834,18 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.CustomerEncryptionKeyId = ptr.String(jtv) } - case "evaluationConfig": if err := awsRestjson1_deserializeDocumentEvaluationConfig(&sv.EvaluationConfig, value); err != nil { return err } - case "failureMessages": if err := awsRestjson1_deserializeDocumentErrorMessages(&sv.FailureMessages, value); err != nil { return err } - case "inferenceConfig": if err := awsRestjson1_deserializeDocumentEvaluationInferenceConfig(&sv.InferenceConfig, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2889,7 +2854,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobArn = ptr.String(jtv) } - case "jobDescription": if value != nil { jtv, ok := value.(string) @@ -2898,7 +2862,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobDescription = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -2907,7 +2870,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobName = ptr.String(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -2916,7 +2878,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobType = types.EvaluationJobType(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -2929,12 +2890,10 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.LastModifiedTime = ptr.Time(t) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentEvaluationOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2943,7 +2902,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2952,7 +2910,6 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.Status = types.EvaluationJobStatus(jtv) } - default: _, _ = key, value @@ -3116,7 +3073,6 @@ func awsRestjson1_deserializeOpDocumentGetFoundationModelOutput(v **GetFoundatio if err := awsRestjson1_deserializeDocumentFoundationModelDetails(&sv.ModelDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3284,7 +3240,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.BlockedInputMessaging = ptr.String(jtv) } - case "blockedOutputsMessaging": if value != nil { jtv, ok := value.(string) @@ -3293,17 +3248,14 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.BlockedOutputsMessaging = ptr.String(jtv) } - case "contentPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContentPolicy(&sv.ContentPolicy, value); err != nil { return err } - case "contextualGroundingPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicy(&sv.ContextualGroundingPolicy, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3316,7 +3268,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3325,12 +3276,10 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Description = ptr.String(jtv) } - case "failureRecommendations": if err := awsRestjson1_deserializeDocumentGuardrailFailureRecommendations(&sv.FailureRecommendations, value); err != nil { return err } - case "guardrailArn": if value != nil { jtv, ok := value.(string) @@ -3339,7 +3288,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.GuardrailArn = ptr.String(jtv) } - case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -3348,7 +3296,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.GuardrailId = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3357,7 +3304,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.KmsKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3366,12 +3312,10 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Name = ptr.String(jtv) } - case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicy(&sv.SensitiveInformationPolicy, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3380,17 +3324,14 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Status = types.GuardrailStatus(jtv) } - case "statusReasons": if err := awsRestjson1_deserializeDocumentGuardrailStatusReasons(&sv.StatusReasons, value); err != nil { return err } - case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicy(&sv.TopicPolicy, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3403,7 +3344,6 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -3412,12 +3352,10 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Version = ptr.String(jtv) } - case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicy(&sv.WordPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -3589,7 +3527,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.CreationTime = ptr.Time(t) } - case "instructSupported": if value != nil { jtv, ok := value.(bool) @@ -3598,7 +3535,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.InstructSupported = ptr.Bool(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -3607,7 +3543,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -3616,7 +3551,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.JobName = ptr.String(jtv) } - case "modelArchitecture": if value != nil { jtv, ok := value.(string) @@ -3625,7 +3559,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelArchitecture = ptr.String(jtv) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -3634,12 +3567,10 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelArn = ptr.String(jtv) } - case "modelDataSource": if err := awsRestjson1_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } - case "modelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3648,7 +3579,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelKmsKeyArn = ptr.String(jtv) } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -3657,7 +3587,6 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -3829,7 +3758,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3838,7 +3766,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Description = ptr.String(jtv) } - case "inferenceProfileArn": if value != nil { jtv, ok := value.(string) @@ -3847,7 +3774,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileArn = ptr.String(jtv) } - case "inferenceProfileId": if value != nil { jtv, ok := value.(string) @@ -3856,7 +3782,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileId = ptr.String(jtv) } - case "inferenceProfileName": if value != nil { jtv, ok := value.(string) @@ -3865,12 +3790,10 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileName = ptr.String(jtv) } - case "models": if err := awsRestjson1_deserializeDocumentInferenceProfileModels(&sv.Models, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3879,7 +3802,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Status = types.InferenceProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3888,7 +3810,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Type = types.InferenceProfileType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3901,7 +3822,6 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4073,7 +3993,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.CreationTime = ptr.Time(t) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4082,7 +4001,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.FailureMessage = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4091,7 +4009,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.JobArn = ptr.String(jtv) } - case "sourceAccountId": if value != nil { jtv, ok := value.(string) @@ -4100,7 +4017,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceAccountId = ptr.String(jtv) } - case "sourceModelArn": if value != nil { jtv, ok := value.(string) @@ -4109,7 +4025,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceModelArn = ptr.String(jtv) } - case "sourceModelName": if value != nil { jtv, ok := value.(string) @@ -4118,7 +4033,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceModelName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4127,7 +4041,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.Status = types.ModelCopyJobStatus(jtv) } - case "targetModelArn": if value != nil { jtv, ok := value.(string) @@ -4136,7 +4049,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelArn = ptr.String(jtv) } - case "targetModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4057,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelKmsKeyArn = ptr.String(jtv) } - case "targetModelName": if value != nil { jtv, ok := value.(string) @@ -4154,12 +4065,10 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelName = ptr.String(jtv) } - case "targetModelTags": if err := awsRestjson1_deserializeDocumentTagList(&sv.TargetModelTags, value); err != nil { return err } - default: _, _ = key, value @@ -4327,7 +4236,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.BaseModelArn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -4336,7 +4244,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.ClientRequestToken = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4349,7 +4256,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.CreationTime = ptr.Time(t) } - case "customizationType": if value != nil { jtv, ok := value.(string) @@ -4358,7 +4264,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.CustomizationType = types.CustomizationType(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -4371,7 +4276,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.EndTime = ptr.Time(t) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4380,12 +4284,10 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.FailureMessage = ptr.String(jtv) } - case "hyperParameters": if err := awsRestjson1_deserializeDocumentModelCustomizationHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4394,7 +4296,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -4403,7 +4304,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -4416,12 +4316,10 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.LastModifiedTime = ptr.Time(t) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "outputModelArn": if value != nil { jtv, ok := value.(string) @@ -4430,7 +4328,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelArn = ptr.String(jtv) } - case "outputModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4439,7 +4336,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelKmsKeyArn = ptr.String(jtv) } - case "outputModelName": if value != nil { jtv, ok := value.(string) @@ -4448,7 +4344,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4457,7 +4352,6 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4466,32 +4360,26 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.Status = types.ModelCustomizationJobStatus(jtv) } - case "trainingDataConfig": if err := awsRestjson1_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } - case "trainingMetrics": if err := awsRestjson1_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } - case "validationDataConfig": if err := awsRestjson1_deserializeDocumentValidationDataConfig(&sv.ValidationDataConfig, value); err != nil { return err } - case "validationMetrics": if err := awsRestjson1_deserializeDocumentValidationMetrics(&sv.ValidationMetrics, value); err != nil { return err } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -4663,7 +4551,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.CreationTime = ptr.Time(t) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -4676,7 +4563,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.EndTime = ptr.Time(t) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4685,7 +4571,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.FailureMessage = ptr.String(jtv) } - case "importedModelArn": if value != nil { jtv, ok := value.(string) @@ -4694,7 +4579,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelArn = ptr.String(jtv) } - case "importedModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4703,7 +4587,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelKmsKeyArn = ptr.String(jtv) } - case "importedModelName": if value != nil { jtv, ok := value.(string) @@ -4712,7 +4595,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelName = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4721,7 +4603,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -4730,7 +4611,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -4743,12 +4623,10 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.LastModifiedTime = ptr.Time(t) } - case "modelDataSource": if err := awsRestjson1_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4757,7 +4635,6 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4766,12 +4643,10 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.Status = types.ModelImportJobStatus(jtv) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -4939,7 +4814,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.ClientRequestToken = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -4952,12 +4826,10 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.EndTime = ptr.Time(t) } - case "inputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4966,7 +4838,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobArn = ptr.String(jtv) } - case "jobExpirationTime": if value != nil { jtv, ok := value.(string) @@ -4979,7 +4850,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobExpirationTime = ptr.Time(t) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -4988,7 +4858,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4870,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.LastModifiedTime = ptr.Time(t) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5010,7 +4878,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.Message = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -5019,12 +4886,10 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.ModelId = ptr.String(jtv) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5033,7 +4898,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5042,7 +4906,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.Status = types.ModelInvocationJobStatus(jtv) } - case "submitTime": if value != nil { jtv, ok := value.(string) @@ -5055,7 +4918,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.SubmitTime = ptr.Time(t) } - case "timeoutDurationInHours": if value != nil { jtv, ok := value.(json.Number) @@ -5068,12 +4930,10 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.TimeoutDurationInHours = ptr.Int32(int32(i64)) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5231,7 +5091,6 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationLoggingConfigurationOut if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5399,7 +5258,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CommitmentDuration = types.CommitmentDuration(jtv) } - case "commitmentExpirationTime": if value != nil { jtv, ok := value.(string) @@ -5412,7 +5270,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CommitmentExpirationTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5425,7 +5282,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CreationTime = ptr.Time(t) } - case "desiredModelArn": if value != nil { jtv, ok := value.(string) @@ -5434,7 +5290,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.DesiredModelArn = ptr.String(jtv) } - case "desiredModelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -5447,7 +5302,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.DesiredModelUnits = ptr.Int32(int32(i64)) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5456,7 +5310,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.FailureMessage = ptr.String(jtv) } - case "foundationModelArn": if value != nil { jtv, ok := value.(string) @@ -5465,7 +5318,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.FoundationModelArn = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -5478,7 +5330,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.LastModifiedTime = ptr.Time(t) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -5487,7 +5338,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ModelArn = ptr.String(jtv) } - case "modelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -5500,7 +5350,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ModelUnits = ptr.Int32(int32(i64)) } - case "provisionedModelArn": if value != nil { jtv, ok := value.(string) @@ -5509,7 +5358,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ProvisionedModelArn = ptr.String(jtv) } - case "provisionedModelName": if value != nil { jtv, ok := value.(string) @@ -5518,7 +5366,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ProvisionedModelName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5527,7 +5374,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.Status = types.ProvisionedModelStatus(jtv) } - default: _, _ = key, value @@ -5688,7 +5534,6 @@ func awsRestjson1_deserializeOpDocumentListCustomModelsOutput(v **ListCustomMode if err := awsRestjson1_deserializeDocumentCustomModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5697,7 +5542,6 @@ func awsRestjson1_deserializeOpDocumentListCustomModelsOutput(v **ListCustomMode } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5858,7 +5702,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationJobsOutput(v **ListEvaluati if err := awsRestjson1_deserializeDocumentEvaluationSummaries(&sv.JobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5867,7 +5710,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationJobsOutput(v **ListEvaluati } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6028,7 +5870,6 @@ func awsRestjson1_deserializeOpDocumentListFoundationModelsOutput(v **ListFounda if err := awsRestjson1_deserializeDocumentFoundationModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -6192,7 +6033,6 @@ func awsRestjson1_deserializeOpDocumentListGuardrailsOutput(v **ListGuardrailsOu if err := awsRestjson1_deserializeDocumentGuardrailSummaries(&sv.Guardrails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6201,7 +6041,6 @@ func awsRestjson1_deserializeOpDocumentListGuardrailsOutput(v **ListGuardrailsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6362,7 +6201,6 @@ func awsRestjson1_deserializeOpDocumentListImportedModelsOutput(v **ListImported if err := awsRestjson1_deserializeDocumentImportedModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6371,7 +6209,6 @@ func awsRestjson1_deserializeOpDocumentListImportedModelsOutput(v **ListImported } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6532,7 +6369,6 @@ func awsRestjson1_deserializeOpDocumentListInferenceProfilesOutput(v **ListInfer if err := awsRestjson1_deserializeDocumentInferenceProfileSummaries(&sv.InferenceProfileSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6541,7 +6377,6 @@ func awsRestjson1_deserializeOpDocumentListInferenceProfilesOutput(v **ListInfer } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6705,7 +6540,6 @@ func awsRestjson1_deserializeOpDocumentListModelCopyJobsOutput(v **ListModelCopy if err := awsRestjson1_deserializeDocumentModelCopyJobSummaries(&sv.ModelCopyJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6714,7 +6548,6 @@ func awsRestjson1_deserializeOpDocumentListModelCopyJobsOutput(v **ListModelCopy } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6875,7 +6708,6 @@ func awsRestjson1_deserializeOpDocumentListModelCustomizationJobsOutput(v **List if err := awsRestjson1_deserializeDocumentModelCustomizationJobSummaries(&sv.ModelCustomizationJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6884,7 +6716,6 @@ func awsRestjson1_deserializeOpDocumentListModelCustomizationJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7045,7 +6876,6 @@ func awsRestjson1_deserializeOpDocumentListModelImportJobsOutput(v **ListModelIm if err := awsRestjson1_deserializeDocumentModelImportJobSummaries(&sv.ModelImportJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7054,7 +6884,6 @@ func awsRestjson1_deserializeOpDocumentListModelImportJobsOutput(v **ListModelIm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7215,7 +7044,6 @@ func awsRestjson1_deserializeOpDocumentListModelInvocationJobsOutput(v **ListMod if err := awsRestjson1_deserializeDocumentModelInvocationJobSummaries(&sv.InvocationJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7224,7 +7052,6 @@ func awsRestjson1_deserializeOpDocumentListModelInvocationJobsOutput(v **ListMod } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7389,12 +7216,10 @@ func awsRestjson1_deserializeOpDocumentListProvisionedModelThroughputsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "provisionedModelSummaries": if err := awsRestjson1_deserializeDocumentProvisionedModelSummaries(&sv.ProvisionedModelSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7558,7 +7383,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8341,7 +8165,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.GuardrailArn = ptr.String(jtv) } - case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -8350,7 +8173,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.GuardrailId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8363,7 +8185,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -8372,7 +8193,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8790,15 +8610,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8806,15 +8620,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8845,7 +8655,6 @@ func awsRestjson1_deserializeDocumentAutomatedEvaluationConfig(v **types.Automat if err := awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfigs(&sv.DatasetMetricConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -8885,7 +8694,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.Code = ptr.String(jtv) } - case "jobIdentifier": if value != nil { jtv, ok := value.(string) @@ -8894,7 +8702,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.JobIdentifier = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8903,7 +8710,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -8977,7 +8783,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItem(v **types.Batc } sv.JobIdentifier = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -8986,7 +8791,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItem(v **types.Batc } sv.JobStatus = types.EvaluationJobStatus(jtv) } - default: _, _ = key, value @@ -9056,7 +8860,6 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig if err := awsRestjson1_deserializeDocumentS3Config(&sv.LargeDataDeliveryS3Config, value); err != nil { return err } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -9065,7 +8868,6 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.LogGroupName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9074,7 +8876,6 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9104,15 +8905,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9120,15 +8915,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9163,7 +8954,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.BaseModelArn = ptr.String(jtv) } - case "baseModelName": if value != nil { jtv, ok := value.(string) @@ -9172,7 +8962,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.BaseModelName = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -9185,7 +8974,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.CreationTime = ptr.Time(t) } - case "customizationType": if value != nil { jtv, ok := value.(string) @@ -9194,7 +8982,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.CustomizationType = types.CustomizationType(jtv) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -9203,7 +8990,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.ModelArn = ptr.String(jtv) } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -9212,7 +8998,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.ModelName = ptr.String(jtv) } - case "ownerAccountId": if value != nil { jtv, ok := value.(string) @@ -9221,7 +9006,6 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.OwnerAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -9331,7 +9115,6 @@ func awsRestjson1_deserializeDocumentEvaluationBedrockModel(v **types.Evaluation } sv.InferenceParams = ptr.String(jtv) } - case "modelIdentifier": if value != nil { jtv, ok := value.(string) @@ -9340,7 +9123,6 @@ func awsRestjson1_deserializeDocumentEvaluationBedrockModel(v **types.Evaluation } sv.ModelIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -9426,7 +9208,6 @@ func awsRestjson1_deserializeDocumentEvaluationDataset(v **types.EvaluationDatas if err := awsRestjson1_deserializeDocumentEvaluationDatasetLocation(&sv.DatasetLocation, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9435,7 +9216,6 @@ func awsRestjson1_deserializeDocumentEvaluationDataset(v **types.EvaluationDatas } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9513,12 +9293,10 @@ func awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfig(v **types.Eva if err := awsRestjson1_deserializeDocumentEvaluationDataset(&sv.Dataset, value); err != nil { return err } - case "metricNames": if err := awsRestjson1_deserializeDocumentEvaluationMetricNames(&sv.MetricNames, value); err != nil { return err } - case "taskType": if value != nil { jtv, ok := value.(string) @@ -9527,7 +9305,6 @@ func awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfig(v **types.Eva } sv.TaskType = types.EvaluationTaskType(jtv) } - default: _, _ = key, value @@ -9783,7 +9560,6 @@ func awsRestjson1_deserializeDocumentEvaluationOutputDataConfig(v **types.Evalua } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -9861,12 +9637,10 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.CreationTime = ptr.Time(t) } - case "evaluationTaskTypes": if err := awsRestjson1_deserializeDocumentEvaluationTaskTypes(&sv.EvaluationTaskTypes, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -9875,7 +9649,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -9884,7 +9657,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobName = ptr.String(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -9893,12 +9665,10 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobType = types.EvaluationJobType(jtv) } - case "modelIdentifiers": if err := awsRestjson1_deserializeDocumentEvaluationModelIdentifiers(&sv.ModelIdentifiers, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9907,7 +9677,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.Status = types.EvaluationJobStatus(jtv) } - default: _, _ = key, value @@ -9979,17 +9748,14 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation if err := awsRestjson1_deserializeDocumentModelCustomizationList(&sv.CustomizationsSupported, value); err != nil { return err } - case "inferenceTypesSupported": if err := awsRestjson1_deserializeDocumentInferenceTypeList(&sv.InferenceTypesSupported, value); err != nil { return err } - case "inputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.InputModalities, value); err != nil { return err } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -9998,7 +9764,6 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelArn = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -10007,12 +9772,10 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelId = ptr.String(jtv) } - case "modelLifecycle": if err := awsRestjson1_deserializeDocumentFoundationModelLifecycle(&sv.ModelLifecycle, value); err != nil { return err } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -10021,12 +9784,10 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelName = ptr.String(jtv) } - case "outputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.OutputModalities, value); err != nil { return err } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -10035,7 +9796,6 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ProviderName = ptr.String(jtv) } - case "responseStreamingSupported": if value != nil { jtv, ok := value.(bool) @@ -10044,7 +9804,6 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ResponseStreamingSupported = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10084,7 +9843,6 @@ func awsRestjson1_deserializeDocumentFoundationModelLifecycle(v **types.Foundati } sv.Status = types.FoundationModelLifecycleStatus(jtv) } - default: _, _ = key, value @@ -10120,17 +9878,14 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation if err := awsRestjson1_deserializeDocumentModelCustomizationList(&sv.CustomizationsSupported, value); err != nil { return err } - case "inferenceTypesSupported": if err := awsRestjson1_deserializeDocumentInferenceTypeList(&sv.InferenceTypesSupported, value); err != nil { return err } - case "inputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.InputModalities, value); err != nil { return err } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -10139,7 +9894,6 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelArn = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -10148,12 +9902,10 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelId = ptr.String(jtv) } - case "modelLifecycle": if err := awsRestjson1_deserializeDocumentFoundationModelLifecycle(&sv.ModelLifecycle, value); err != nil { return err } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -10162,12 +9914,10 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelName = ptr.String(jtv) } - case "outputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.OutputModalities, value); err != nil { return err } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -10176,7 +9926,6 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ProviderName = ptr.String(jtv) } - case "responseStreamingSupported": if value != nil { jtv, ok := value.(bool) @@ -10185,7 +9934,6 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ResponseStreamingSupported = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10259,7 +10007,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.InputStrength = types.GuardrailFilterStrength(jtv) } - case "outputStrength": if value != nil { jtv, ok := value.(string) @@ -10268,7 +10015,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.OutputStrength = types.GuardrailFilterStrength(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10277,7 +10023,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } - default: _, _ = key, value @@ -10347,7 +10092,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicy(v **types.GuardrailC if err := awsRestjson1_deserializeDocumentGuardrailContentFilters(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -10412,7 +10156,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } - case "type": if value != nil { jtv, ok := value.(string) @@ -10421,7 +10164,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Type = types.GuardrailContextualGroundingFilterType(jtv) } - default: _, _ = key, value @@ -10491,7 +10233,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicy(v **type if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilters(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -10601,7 +10342,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWords(v **types.GuardrailMa } sv.Type = types.GuardrailManagedWordsType(jtv) } - default: _, _ = key, value @@ -10675,7 +10415,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntity(v **types.GuardrailPiiEn } sv.Action = types.GuardrailSensitiveInformationAction(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10684,7 +10423,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntity(v **types.GuardrailPiiEn } sv.Type = types.GuardrailPiiEntityType(jtv) } - default: _, _ = key, value @@ -10724,7 +10462,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Action = types.GuardrailSensitiveInformationAction(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10470,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10742,7 +10478,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Name = ptr.String(jtv) } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -10751,7 +10486,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -10821,12 +10555,10 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicy(v **typ if err := awsRestjson1_deserializeDocumentGuardrailPiiEntities(&sv.PiiEntities, value); err != nil { return err } - case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexes(&sv.Regexes, value); err != nil { return err } - default: _, _ = key, value @@ -10936,7 +10668,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10949,7 +10680,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10958,7 +10688,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10967,7 +10696,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10976,7 +10704,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10985,7 +10712,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Status = types.GuardrailStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10998,7 +10724,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -11007,7 +10732,6 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11047,12 +10771,10 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Definition = ptr.String(jtv) } - case "examples": if err := awsRestjson1_deserializeDocumentGuardrailTopicExamples(&sv.Examples, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11061,7 +10783,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11070,7 +10791,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } - default: _, _ = key, value @@ -11142,7 +10862,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicy(v **types.GuardrailTop if err := awsRestjson1_deserializeDocumentGuardrailTopics(&sv.Topics, value); err != nil { return err } - default: _, _ = key, value @@ -11216,7 +10935,6 @@ func awsRestjson1_deserializeDocumentGuardrailWord(v **types.GuardrailWord, valu } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -11252,12 +10970,10 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicy(v **types.GuardrailWord if err := awsRestjson1_deserializeDocumentGuardrailManagedWordLists(&sv.ManagedWordLists, value); err != nil { return err } - case "words": if err := awsRestjson1_deserializeDocumentGuardrailWords(&sv.Words, value); err != nil { return err } - default: _, _ = key, value @@ -11327,17 +11043,14 @@ func awsRestjson1_deserializeDocumentHumanEvaluationConfig(v **types.HumanEvalua if err := awsRestjson1_deserializeDocumentHumanEvaluationCustomMetrics(&sv.CustomMetrics, value); err != nil { return err } - case "datasetMetricConfigs": if err := awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfigs(&sv.DatasetMetricConfigs, value); err != nil { return err } - case "humanWorkflowConfig": if err := awsRestjson1_deserializeDocumentHumanWorkflowConfig(&sv.HumanWorkflowConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11377,7 +11090,6 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11386,7 +11098,6 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.Name = ptr.String(jtv) } - case "ratingMethod": if value != nil { jtv, ok := value.(string) @@ -11395,7 +11106,6 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.RatingMethod = ptr.String(jtv) } - default: _, _ = key, value @@ -11469,7 +11179,6 @@ func awsRestjson1_deserializeDocumentHumanWorkflowConfig(v **types.HumanWorkflow } sv.FlowDefinitionArn = ptr.String(jtv) } - case "instructions": if value != nil { jtv, ok := value.(string) @@ -11478,7 +11187,6 @@ func awsRestjson1_deserializeDocumentHumanWorkflowConfig(v **types.HumanWorkflow } sv.Instructions = ptr.String(jtv) } - default: _, _ = key, value @@ -11522,7 +11230,6 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.CreationTime = ptr.Time(t) } - case "instructSupported": if value != nil { jtv, ok := value.(bool) @@ -11531,7 +11238,6 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.InstructSupported = ptr.Bool(jtv) } - case "modelArchitecture": if value != nil { jtv, ok := value.(string) @@ -11540,7 +11246,6 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelArchitecture = ptr.String(jtv) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -11549,7 +11254,6 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelArn = ptr.String(jtv) } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -11558,7 +11262,6 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -11632,7 +11335,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileModel(v **types.InferencePr } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11744,7 +11446,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11753,7 +11454,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Description = ptr.String(jtv) } - case "inferenceProfileArn": if value != nil { jtv, ok := value.(string) @@ -11762,7 +11462,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileArn = ptr.String(jtv) } - case "inferenceProfileId": if value != nil { jtv, ok := value.(string) @@ -11771,7 +11470,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileId = ptr.String(jtv) } - case "inferenceProfileName": if value != nil { jtv, ok := value.(string) @@ -11780,12 +11478,10 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileName = ptr.String(jtv) } - case "models": if err := awsRestjson1_deserializeDocumentInferenceProfileModels(&sv.Models, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11794,7 +11490,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Status = types.InferenceProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11803,7 +11498,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Type = types.InferenceProfileType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11816,7 +11510,6 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11882,15 +11575,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11898,15 +11585,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11937,7 +11620,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu if err := awsRestjson1_deserializeDocumentCloudWatchConfig(&sv.CloudWatchConfig, value); err != nil { return err } - case "embeddingDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11946,7 +11628,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.EmbeddingDataDeliveryEnabled = ptr.Bool(jtv) } - case "imageDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11955,12 +11636,10 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.ImageDataDeliveryEnabled = ptr.Bool(jtv) } - case "s3Config": if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - case "textDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11969,7 +11648,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.TextDataDeliveryEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12047,7 +11725,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.CreationTime = ptr.Time(t) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -12056,7 +11733,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.FailureMessage = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12065,7 +11741,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.JobArn = ptr.String(jtv) } - case "sourceAccountId": if value != nil { jtv, ok := value.(string) @@ -12074,7 +11749,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceAccountId = ptr.String(jtv) } - case "sourceModelArn": if value != nil { jtv, ok := value.(string) @@ -12083,7 +11757,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceModelArn = ptr.String(jtv) } - case "sourceModelName": if value != nil { jtv, ok := value.(string) @@ -12092,7 +11765,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceModelName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12101,7 +11773,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.Status = types.ModelCopyJobStatus(jtv) } - case "targetModelArn": if value != nil { jtv, ok := value.(string) @@ -12110,7 +11781,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelArn = ptr.String(jtv) } - case "targetModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -12119,7 +11789,6 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelKmsKeyArn = ptr.String(jtv) } - case "targetModelName": if value != nil { jtv, ok := value.(string) @@ -12128,12 +11797,10 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelName = ptr.String(jtv) } - case "targetModelTags": if err := awsRestjson1_deserializeDocumentTagList(&sv.TargetModelTags, value); err != nil { return err } - default: _, _ = key, value @@ -12243,7 +11910,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.BaseModelArn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -12256,7 +11922,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CreationTime = ptr.Time(t) } - case "customizationType": if value != nil { jtv, ok := value.(string) @@ -12265,7 +11930,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomizationType = types.CustomizationType(jtv) } - case "customModelArn": if value != nil { jtv, ok := value.(string) @@ -12274,7 +11938,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomModelArn = ptr.String(jtv) } - case "customModelName": if value != nil { jtv, ok := value.(string) @@ -12283,7 +11946,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomModelName = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -12296,7 +11958,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.EndTime = ptr.Time(t) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12305,7 +11966,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -12314,7 +11974,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12327,7 +11986,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.LastModifiedTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12336,7 +11994,6 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.Status = types.ModelCustomizationJobStatus(jtv) } - default: _, _ = key, value @@ -12490,7 +12147,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.CreationTime = ptr.Time(t) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -12503,7 +12159,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.EndTime = ptr.Time(t) } - case "importedModelArn": if value != nil { jtv, ok := value.(string) @@ -12512,7 +12167,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.ImportedModelArn = ptr.String(jtv) } - case "importedModelName": if value != nil { jtv, ok := value.(string) @@ -12521,7 +12175,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.ImportedModelName = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12530,7 +12183,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -12539,7 +12191,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12552,7 +12203,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.LastModifiedTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12561,7 +12211,6 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.Status = types.ModelImportJobStatus(jtv) } - default: _, _ = key, value @@ -12681,7 +12330,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3BucketOwner = ptr.String(jtv) } - case "s3InputFormat": if value != nil { jtv, ok := value.(string) @@ -12690,7 +12338,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3InputFormat = types.S3InputFormat(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -12699,7 +12346,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -12739,7 +12385,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3BucketOwner = ptr.String(jtv) } - case "s3EncryptionKeyId": if value != nil { jtv, ok := value.(string) @@ -12748,7 +12393,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3EncryptionKeyId = ptr.String(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -12757,7 +12401,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -12831,7 +12474,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.ClientRequestToken = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -12844,12 +12486,10 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.EndTime = ptr.Time(t) } - case "inputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12858,7 +12498,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobArn = ptr.String(jtv) } - case "jobExpirationTime": if value != nil { jtv, ok := value.(string) @@ -12871,7 +12510,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobExpirationTime = ptr.Time(t) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -12880,7 +12518,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobName = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12893,7 +12530,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.LastModifiedTime = ptr.Time(t) } - case "message": if value != nil { jtv, ok := value.(string) @@ -12902,7 +12538,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.Message = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -12911,12 +12546,10 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.ModelId = ptr.String(jtv) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12925,7 +12558,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12934,7 +12566,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.Status = types.ModelInvocationJobStatus(jtv) } - case "submitTime": if value != nil { jtv, ok := value.(string) @@ -12947,7 +12578,6 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.SubmitTime = ptr.Time(t) } - case "timeoutDurationInHours": if value != nil { jtv, ok := value.(json.Number) @@ -12960,12 +12590,10 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.TimeoutDurationInHours = ptr.Int32(int32(i64)) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13041,7 +12669,6 @@ func awsRestjson1_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13115,7 +12742,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CommitmentDuration = types.CommitmentDuration(jtv) } - case "commitmentExpirationTime": if value != nil { jtv, ok := value.(string) @@ -13128,7 +12754,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CommitmentExpirationTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -13141,7 +12766,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CreationTime = ptr.Time(t) } - case "desiredModelArn": if value != nil { jtv, ok := value.(string) @@ -13150,7 +12774,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.DesiredModelArn = ptr.String(jtv) } - case "desiredModelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13163,7 +12786,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.DesiredModelUnits = ptr.Int32(int32(i64)) } - case "foundationModelArn": if value != nil { jtv, ok := value.(string) @@ -13172,7 +12794,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.FoundationModelArn = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -13185,7 +12806,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.LastModifiedTime = ptr.Time(t) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -13194,7 +12814,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ModelArn = ptr.String(jtv) } - case "modelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13207,7 +12826,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ModelUnits = ptr.Int32(int32(i64)) } - case "provisionedModelArn": if value != nil { jtv, ok := value.(string) @@ -13216,7 +12834,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ProvisionedModelArn = ptr.String(jtv) } - case "provisionedModelName": if value != nil { jtv, ok := value.(string) @@ -13225,7 +12842,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ProvisionedModelName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13234,7 +12850,6 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.Status = types.ProvisionedModelStatus(jtv) } - default: _, _ = key, value @@ -13264,15 +12879,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13280,15 +12889,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13323,7 +12928,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -13332,7 +12936,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -13372,7 +12975,6 @@ func awsRestjson1_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13438,15 +13040,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13454,15 +13050,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13533,7 +13125,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -13542,7 +13133,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13606,15 +13196,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13622,15 +13206,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13655,15 +13235,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13671,7 +13245,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -13680,15 +13253,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13723,7 +13292,6 @@ func awsRestjson1_deserializeDocumentTrainingDataConfig(v **types.TrainingDataCo } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13788,7 +13356,6 @@ func awsRestjson1_deserializeDocumentTrainingMetrics(v **types.TrainingMetrics, } } - default: _, _ = key, value @@ -13824,7 +13391,6 @@ func awsRestjson1_deserializeDocumentValidationDataConfig(v **types.ValidationDa if err := awsRestjson1_deserializeDocumentValidators(&sv.Validators, value); err != nil { return err } - default: _, _ = key, value @@ -13854,15 +13420,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13870,15 +13430,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13947,7 +13503,6 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -14012,7 +13567,6 @@ func awsRestjson1_deserializeDocumentValidatorMetric(v **types.ValidatorMetric, } } - default: _, _ = key, value @@ -14082,12 +13636,10 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/bedrockagent/deserializers.go b/service/bedrockagent/deserializers.go index a849a5e7f37..de0e33b06eb 100644 --- a/service/bedrockagent/deserializers.go +++ b/service/bedrockagent/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAgentKnowledgeBaseOutput(v **Ass if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -359,7 +358,6 @@ func awsRestjson1_deserializeOpDocumentCreateAgentOutput(v **CreateAgentOutput, if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentCreateAgentActionGroupOutput(v **CreateAg if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -699,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentCreateAgentAliasOutput(v **CreateAgentAli if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } - default: _, _ = key, value @@ -869,7 +865,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -1040,7 +1035,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1053,7 +1047,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1062,12 +1055,10 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -1076,7 +1067,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Description = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1085,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.ExecutionRoleArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1094,7 +1083,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1103,7 +1091,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1112,7 +1099,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Status = types.FlowStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1125,7 +1111,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -1134,7 +1119,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1308,7 +1292,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1321,7 +1304,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1330,7 +1312,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Description = ptr.String(jtv) } - case "flowId": if value != nil { jtv, ok := value.(string) @@ -1339,7 +1320,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.FlowId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1348,7 +1328,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1357,12 +1336,10 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Name = ptr.String(jtv) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1375,7 +1352,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -1549,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1562,7 +1537,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1571,12 +1545,10 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -1585,7 +1557,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Description = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1594,7 +1565,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.ExecutionRoleArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1603,7 +1573,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1612,7 +1581,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1621,7 +1589,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Status = types.FlowStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -1630,7 +1597,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1797,7 +1763,6 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -1968,7 +1933,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1981,7 +1945,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1990,7 +1953,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -1999,7 +1961,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.DefaultVariant = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2008,7 +1969,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2017,7 +1977,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2026,7 +1985,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -2039,12 +1997,10 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.UpdatedAt = ptr.Time(t) } - case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2053,7 +2009,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2227,7 +2182,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2240,7 +2194,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -2249,7 +2202,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -2258,7 +2210,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.DefaultVariant = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2267,7 +2218,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2276,7 +2226,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2285,7 +2234,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -2298,12 +2246,10 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.UpdatedAt = ptr.Time(t) } - case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2312,7 +2258,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2483,7 +2428,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentOutput(v **DeleteAgentOutput, } sv.AgentId = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -2492,7 +2436,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentOutput(v **DeleteAgentOutput, } sv.AgentStatus = types.AgentStatus(jtv) } - default: _, _ = key, value @@ -2763,7 +2706,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentAliasId = ptr.String(jtv) } - case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -2772,7 +2714,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -2781,7 +2722,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentId = ptr.String(jtv) } - default: _, _ = key, value @@ -2952,7 +2892,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentId = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -2961,7 +2900,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentStatus = types.AgentStatus(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -2970,7 +2908,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3141,7 +3078,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -3150,7 +3086,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.KnowledgeBaseId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3159,7 +3094,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -3330,7 +3264,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3501,7 +3434,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowAliasOutput(v **DeleteFlowAlias } sv.FlowId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3510,7 +3442,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowAliasOutput(v **DeleteFlowAlias } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3681,7 +3612,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowVersionOutput(v **DeleteFlowVer } sv.Id = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -3690,7 +3620,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowVersionOutput(v **DeleteFlowVer } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3861,7 +3790,6 @@ func awsRestjson1_deserializeOpDocumentDeleteKnowledgeBaseOutput(v **DeleteKnowl } sv.KnowledgeBaseId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3870,7 +3798,6 @@ func awsRestjson1_deserializeOpDocumentDeleteKnowledgeBaseOutput(v **DeleteKnowl } sv.Status = types.KnowledgeBaseStatus(jtv) } - default: _, _ = key, value @@ -4041,7 +3968,6 @@ func awsRestjson1_deserializeOpDocumentDeletePromptOutput(v **DeletePromptOutput } sv.Id = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3976,6 @@ func awsRestjson1_deserializeOpDocumentDeletePromptOutput(v **DeletePromptOutput } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4317,7 +4242,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentOutput(v **GetAgentOutput, value if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } - default: _, _ = key, value @@ -4481,7 +4405,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentActionGroupOutput(v **GetAgentAct if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -4645,7 +4568,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentAliasOutput(v **GetAgentAliasOutp if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } - default: _, _ = key, value @@ -4809,7 +4731,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentKnowledgeBaseOutput(v **GetAgentK if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -4973,7 +4894,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentVersionOutput(v **GetAgentVersion if err := awsRestjson1_deserializeDocumentAgentVersion(&sv.AgentVersion, value); err != nil { return err } - default: _, _ = key, value @@ -5137,7 +5057,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -5305,7 +5224,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5318,7 +5236,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -5327,12 +5244,10 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5256,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Description = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5350,7 +5264,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.ExecutionRoleArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5359,7 +5272,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5368,7 +5280,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5377,7 +5288,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Status = types.FlowStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5390,12 +5300,10 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.UpdatedAt = ptr.Time(t) } - case "validations": if err := awsRestjson1_deserializeDocumentFlowValidations(&sv.Validations, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -5404,7 +5312,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5572,7 +5479,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5585,7 +5491,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5594,7 +5499,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Description = ptr.String(jtv) } - case "flowId": if value != nil { jtv, ok := value.(string) @@ -5603,7 +5507,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.FlowId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5612,7 +5515,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5621,12 +5523,10 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Name = ptr.String(jtv) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5639,7 +5539,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5807,7 +5706,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5820,7 +5718,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -5829,12 +5726,10 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5843,7 +5738,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Description = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5852,7 +5746,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.ExecutionRoleArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5861,7 +5754,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5870,7 +5762,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5879,7 +5770,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Status = types.FlowStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5888,7 +5778,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6052,7 +5941,6 @@ func awsRestjson1_deserializeOpDocumentGetIngestionJobOutput(v **GetIngestionJob if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } - default: _, _ = key, value @@ -6216,7 +6104,6 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -6384,7 +6271,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6397,7 +6283,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -6406,7 +6291,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -6415,7 +6299,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.DefaultVariant = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6424,7 +6307,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6433,7 +6315,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6442,7 +6323,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6455,12 +6335,10 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.UpdatedAt = ptr.Time(t) } - case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -6469,7 +6347,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6633,7 +6510,6 @@ func awsRestjson1_deserializeOpDocumentListAgentActionGroupsOutput(v **ListAgent if err := awsRestjson1_deserializeDocumentActionGroupSummaries(&sv.ActionGroupSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6642,7 +6518,6 @@ func awsRestjson1_deserializeOpDocumentListAgentActionGroupsOutput(v **ListAgent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6806,7 +6681,6 @@ func awsRestjson1_deserializeOpDocumentListAgentAliasesOutput(v **ListAgentAlias if err := awsRestjson1_deserializeDocumentAgentAliasSummaries(&sv.AgentAliasSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6815,7 +6689,6 @@ func awsRestjson1_deserializeOpDocumentListAgentAliasesOutput(v **ListAgentAlias } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6979,7 +6852,6 @@ func awsRestjson1_deserializeOpDocumentListAgentKnowledgeBasesOutput(v **ListAge if err := awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummaries(&sv.AgentKnowledgeBaseSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6988,7 +6860,6 @@ func awsRestjson1_deserializeOpDocumentListAgentKnowledgeBasesOutput(v **ListAge } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7149,7 +7020,6 @@ func awsRestjson1_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va if err := awsRestjson1_deserializeDocumentAgentSummaries(&sv.AgentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7158,7 +7028,6 @@ func awsRestjson1_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7322,7 +7191,6 @@ func awsRestjson1_deserializeOpDocumentListAgentVersionsOutput(v **ListAgentVers if err := awsRestjson1_deserializeDocumentAgentVersionSummaries(&sv.AgentVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7331,7 +7199,6 @@ func awsRestjson1_deserializeOpDocumentListAgentVersionsOutput(v **ListAgentVers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7495,7 +7362,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceSummaries(&sv.DataSourceSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7504,7 +7370,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7668,7 +7533,6 @@ func awsRestjson1_deserializeOpDocumentListFlowAliasesOutput(v **ListFlowAliases if err := awsRestjson1_deserializeDocumentFlowAliasSummaries(&sv.FlowAliasSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7677,7 +7541,6 @@ func awsRestjson1_deserializeOpDocumentListFlowAliasesOutput(v **ListFlowAliases } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7838,7 +7701,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocumentFlowSummaries(&sv.FlowSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7847,7 +7709,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8011,7 +7872,6 @@ func awsRestjson1_deserializeOpDocumentListFlowVersionsOutput(v **ListFlowVersio if err := awsRestjson1_deserializeDocumentFlowVersionSummaries(&sv.FlowVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8020,7 +7880,6 @@ func awsRestjson1_deserializeOpDocumentListFlowVersionsOutput(v **ListFlowVersio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8184,7 +8043,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionJobsOutput(v **ListIngestion if err := awsRestjson1_deserializeDocumentIngestionJobSummaries(&sv.IngestionJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8193,7 +8051,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionJobsOutput(v **ListIngestion } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8354,7 +8211,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseSummaries(&sv.KnowledgeBaseSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8363,7 +8219,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8531,12 +8386,10 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, } sv.NextToken = ptr.String(jtv) } - case "promptSummaries": if err := awsRestjson1_deserializeDocumentPromptSummaries(&sv.PromptSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8700,7 +8553,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8874,7 +8726,6 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentId = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -8883,7 +8734,6 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentStatus = types.AgentStatus(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -8892,7 +8742,6 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentVersion = ptr.String(jtv) } - case "preparedAt": if value != nil { jtv, ok := value.(string) @@ -8905,7 +8754,6 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.PreparedAt = ptr.Time(t) } - default: _, _ = key, value @@ -9079,7 +8927,6 @@ func awsRestjson1_deserializeOpDocumentPrepareFlowOutput(v **PrepareFlowOutput, } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9088,7 +8935,6 @@ func awsRestjson1_deserializeOpDocumentPrepareFlowOutput(v **PrepareFlowOutput, } sv.Status = types.FlowStatus(jtv) } - default: _, _ = key, value @@ -9258,7 +9104,6 @@ func awsRestjson1_deserializeOpDocumentStartIngestionJobOutput(v **StartIngestio if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } - default: _, _ = key, value @@ -9425,7 +9270,6 @@ func awsRestjson1_deserializeOpDocumentStopIngestionJobOutput(v **StopIngestionJ if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } - default: _, _ = key, value @@ -9798,7 +9642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentOutput(v **UpdateAgentOutput, if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } - default: _, _ = key, value @@ -9968,7 +9811,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentActionGroupOutput(v **UpdateAg if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -10138,7 +9980,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentAliasOutput(v **UpdateAgentAli if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } - default: _, _ = key, value @@ -10305,7 +10146,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentKnowledgeBaseOutput(v **Update if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -10472,7 +10312,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -10646,7 +10485,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10659,7 +10497,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -10668,12 +10505,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -10682,7 +10517,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Description = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -10691,7 +10525,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.ExecutionRoleArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10700,7 +10533,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10709,7 +10541,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10718,7 +10549,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Status = types.FlowStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10731,7 +10561,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10740,7 +10569,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10914,7 +10742,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10927,7 +10754,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10936,7 +10762,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Description = ptr.String(jtv) } - case "flowId": if value != nil { jtv, ok := value.(string) @@ -10945,7 +10770,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.FlowId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10954,7 +10778,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10963,12 +10786,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Name = ptr.String(jtv) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10981,7 +10802,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11148,7 +10968,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseOutput(v **UpdateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -11322,7 +11141,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11335,7 +11153,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11344,7 +11161,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -11353,7 +11169,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.DefaultVariant = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11362,7 +11177,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11371,7 +11185,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11380,7 +11193,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11393,12 +11205,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.UpdatedAt = ptr.Time(t) } - case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -11407,7 +11217,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11689,15 +11498,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11705,15 +11508,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11836,7 +11635,6 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupId = ptr.String(jtv) } - case "actionGroupName": if value != nil { jtv, ok := value.(string) @@ -11845,7 +11643,6 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupName = ptr.String(jtv) } - case "actionGroupState": if value != nil { jtv, ok := value.(string) @@ -11854,7 +11651,6 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupState = types.ActionGroupState(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11863,7 +11659,6 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.Description = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11876,7 +11671,6 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11916,7 +11710,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentArn = ptr.String(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -11925,7 +11718,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentId = ptr.String(jtv) } - case "agentName": if value != nil { jtv, ok := value.(string) @@ -11934,7 +11726,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentName = ptr.String(jtv) } - case "agentResourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11943,7 +11734,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentResourceRoleArn = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -11952,7 +11742,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentStatus = types.AgentStatus(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -11961,7 +11750,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentVersion = ptr.String(jtv) } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -11970,7 +11758,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.ClientToken = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11983,7 +11770,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11992,7 +11778,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12001,12 +11786,10 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "foundationModel": if value != nil { jtv, ok := value.(string) @@ -12015,12 +11798,10 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.FoundationModel = ptr.String(jtv) } - case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12033,7 +11814,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "instruction": if value != nil { jtv, ok := value.(string) @@ -12042,12 +11822,10 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.Instruction = ptr.String(jtv) } - case "memoryConfiguration": if err := awsRestjson1_deserializeDocumentMemoryConfiguration(&sv.MemoryConfiguration, value); err != nil { return err } - case "preparedAt": if value != nil { jtv, ok := value.(string) @@ -12060,17 +11838,14 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.PreparedAt = ptr.Time(t) } - case "promptOverrideConfiguration": if err := awsRestjson1_deserializeDocumentPromptOverrideConfiguration(&sv.PromptOverrideConfiguration, value); err != nil { return err } - case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12083,7 +11858,6 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12119,7 +11893,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup if err := awsRestjson1_deserializeDocumentActionGroupExecutor(&sv.ActionGroupExecutor, value); err != nil { return err } - case "actionGroupId": if value != nil { jtv, ok := value.(string) @@ -12128,7 +11901,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupId = ptr.String(jtv) } - case "actionGroupName": if value != nil { jtv, ok := value.(string) @@ -12137,7 +11909,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupName = ptr.String(jtv) } - case "actionGroupState": if value != nil { jtv, ok := value.(string) @@ -12146,7 +11917,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupState = types.ActionGroupState(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -12155,7 +11925,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.AgentId = ptr.String(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -12164,12 +11933,10 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.AgentVersion = ptr.String(jtv) } - case "apiSchema": if err := awsRestjson1_deserializeDocumentAPISchema(&sv.ApiSchema, value); err != nil { return err } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -12178,7 +11945,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ClientToken = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12191,7 +11957,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12200,12 +11965,10 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.Description = ptr.String(jtv) } - case "functionSchema": if err := awsRestjson1_deserializeDocumentFunctionSchema(&sv.FunctionSchema, value); err != nil { return err } - case "parentActionSignature": if value != nil { jtv, ok := value.(string) @@ -12214,7 +11977,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ParentActionSignature = types.ActionGroupSignature(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12227,7 +11989,6 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12267,12 +12028,10 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasArn = ptr.String(jtv) } - case "agentAliasHistoryEvents": if err := awsRestjson1_deserializeDocumentAgentAliasHistoryEvents(&sv.AgentAliasHistoryEvents, value); err != nil { return err } - case "agentAliasId": if value != nil { jtv, ok := value.(string) @@ -12281,7 +12040,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasId = ptr.String(jtv) } - case "agentAliasName": if value != nil { jtv, ok := value.(string) @@ -12290,7 +12048,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasName = ptr.String(jtv) } - case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -12299,7 +12056,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -12308,7 +12064,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentId = ptr.String(jtv) } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -12317,7 +12072,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.ClientToken = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12330,7 +12084,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12339,17 +12092,14 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12362,7 +12112,6 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12406,12 +12155,10 @@ func awsRestjson1_deserializeDocumentAgentAliasHistoryEvent(v **types.AgentAlias } sv.EndDate = ptr.Time(t) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "startDate": if value != nil { jtv, ok := value.(string) @@ -12424,7 +12171,6 @@ func awsRestjson1_deserializeDocumentAgentAliasHistoryEvent(v **types.AgentAlias } sv.StartDate = ptr.Time(t) } - default: _, _ = key, value @@ -12532,7 +12278,6 @@ func awsRestjson1_deserializeDocumentAgentAliasRoutingConfigurationListItem(v ** } sv.AgentVersion = ptr.String(jtv) } - case "provisionedThroughput": if value != nil { jtv, ok := value.(string) @@ -12541,7 +12286,6 @@ func awsRestjson1_deserializeDocumentAgentAliasRoutingConfigurationListItem(v ** } sv.ProvisionedThroughput = ptr.String(jtv) } - default: _, _ = key, value @@ -12615,7 +12359,6 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasId = ptr.String(jtv) } - case "agentAliasName": if value != nil { jtv, ok := value.(string) @@ -12624,7 +12367,6 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasName = ptr.String(jtv) } - case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -12633,7 +12375,6 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12646,7 +12387,6 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12655,12 +12395,10 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.Description = ptr.String(jtv) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12673,7 +12411,6 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12713,7 +12450,6 @@ func awsRestjson1_deserializeDocumentAgentFlowNodeConfiguration(v **types.AgentF } sv.AgentAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12753,7 +12489,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.AgentId = ptr.String(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -12762,7 +12497,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.AgentVersion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12775,7 +12509,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12784,7 +12517,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.Description = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12793,7 +12525,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseState": if value != nil { jtv, ok := value.(string) @@ -12802,7 +12533,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.KnowledgeBaseState = types.KnowledgeBaseState(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12815,7 +12545,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12889,7 +12618,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.Description = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12898,7 +12626,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseState": if value != nil { jtv, ok := value.(string) @@ -12907,7 +12634,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.KnowledgeBaseState = types.KnowledgeBaseState(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12920,7 +12646,6 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -12994,7 +12719,6 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentId = ptr.String(jtv) } - case "agentName": if value != nil { jtv, ok := value.(string) @@ -13003,7 +12727,6 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentName = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -13012,7 +12735,6 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentStatus = types.AgentStatus(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13021,12 +12743,10 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.Description = ptr.String(jtv) } - case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } - case "latestAgentVersion": if value != nil { jtv, ok := value.(string) @@ -13035,7 +12755,6 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.LatestAgentVersion = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13048,7 +12767,6 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -13088,7 +12806,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentArn = ptr.String(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -13097,7 +12814,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentId = ptr.String(jtv) } - case "agentName": if value != nil { jtv, ok := value.(string) @@ -13106,7 +12822,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentName = ptr.String(jtv) } - case "agentResourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -13115,7 +12830,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentResourceRoleArn = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -13124,7 +12838,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentStatus = types.AgentStatus(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -13137,7 +12850,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.CreatedAt = ptr.Time(t) } - case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -13146,7 +12858,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13155,12 +12866,10 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "foundationModel": if value != nil { jtv, ok := value.(string) @@ -13169,12 +12878,10 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.FoundationModel = ptr.String(jtv) } - case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13187,7 +12894,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "instruction": if value != nil { jtv, ok := value.(string) @@ -13196,22 +12902,18 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Instruction = ptr.String(jtv) } - case "memoryConfiguration": if err := awsRestjson1_deserializeDocumentMemoryConfiguration(&sv.MemoryConfiguration, value); err != nil { return err } - case "promptOverrideConfiguration": if err := awsRestjson1_deserializeDocumentPromptOverrideConfiguration(&sv.PromptOverrideConfiguration, value); err != nil { return err } - case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13224,7 +12926,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13233,7 +12934,6 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13307,7 +13007,6 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentName = ptr.String(jtv) } - case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -13316,7 +13015,6 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentStatus = types.AgentStatus(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -13325,7 +13023,6 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentVersion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -13338,7 +13035,6 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13347,12 +13043,10 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.Description = ptr.String(jtv) } - case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13365,7 +13059,6 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -13461,7 +13154,6 @@ func awsRestjson1_deserializeDocumentBedrockEmbeddingModelConfiguration(v **type } sv.Dimensions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13501,12 +13193,10 @@ func awsRestjson1_deserializeDocumentBedrockFoundationModelConfiguration(v **typ } sv.ModelArn = ptr.String(jtv) } - case "parsingPrompt": if err := awsRestjson1_deserializeDocumentParsingPrompt(&sv.ParsingPrompt, value); err != nil { return err } - default: _, _ = key, value @@ -13546,22 +13236,18 @@ func awsRestjson1_deserializeDocumentChunkingConfiguration(v **types.ChunkingCon } sv.ChunkingStrategy = types.ChunkingStrategy(jtv) } - case "fixedSizeChunkingConfiguration": if err := awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(&sv.FixedSizeChunkingConfiguration, value); err != nil { return err } - case "hierarchicalChunkingConfiguration": if err := awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(&sv.HierarchicalChunkingConfiguration, value); err != nil { return err } - case "semanticChunkingConfiguration": if err := awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(&sv.SemanticChunkingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13628,7 +13314,6 @@ func awsRestjson1_deserializeDocumentConditionFlowNodeConfiguration(v **types.Co if err := awsRestjson1_deserializeDocumentFlowConditions(&sv.Conditions, value); err != nil { return err } - default: _, _ = key, value @@ -13658,15 +13343,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13674,15 +13353,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13713,7 +13388,6 @@ func awsRestjson1_deserializeDocumentConfluenceCrawlerConfiguration(v **types.Co if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13749,12 +13423,10 @@ func awsRestjson1_deserializeDocumentConfluenceDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentConfluenceCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13794,7 +13466,6 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.AuthType = types.ConfluenceAuthType(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -13803,7 +13474,6 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.CredentialsSecretArn = ptr.String(jtv) } - case "hostType": if value != nil { jtv, ok := value.(string) @@ -13812,7 +13482,6 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.HostType = types.ConfluenceHostType(jtv) } - case "hostUrl": if value != nil { jtv, ok := value.(string) @@ -13821,7 +13490,6 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.HostUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13857,7 +13525,6 @@ func awsRestjson1_deserializeDocumentCrawlFilterConfiguration(v **types.CrawlFil if err := awsRestjson1_deserializeDocumentPatternObjectFilterConfiguration(&sv.PatternObjectFilter, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -13866,7 +13533,6 @@ func awsRestjson1_deserializeDocumentCrawlFilterConfiguration(v **types.CrawlFil } sv.Type = types.CrawlFilterConfigurationType(jtv) } - default: _, _ = key, value @@ -13902,12 +13568,10 @@ func awsRestjson1_deserializeDocumentCustomTransformationConfiguration(v **types if err := awsRestjson1_deserializeDocumentIntermediateStorage(&sv.IntermediateStorage, value); err != nil { return err } - case "transformations": if err := awsRestjson1_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { return err } - default: _, _ = key, value @@ -13951,7 +13615,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.CreatedAt = ptr.Time(t) } - case "dataDeletionPolicy": if value != nil { jtv, ok := value.(string) @@ -13960,12 +13623,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataDeletionPolicy = types.DataDeletionPolicy(jtv) } - case "dataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -13974,7 +13635,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13983,12 +13643,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13997,7 +13655,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.KnowledgeBaseId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14006,12 +13663,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14020,7 +13675,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.DataSourceStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14033,12 +13687,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.UpdatedAt = ptr.Time(t) } - case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14074,22 +13726,18 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsRestjson1_deserializeDocumentConfluenceDataSourceConfiguration(&sv.ConfluenceConfiguration, value); err != nil { return err } - case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3DataSourceConfiguration(&sv.S3Configuration, value); err != nil { return err } - case "salesforceConfiguration": if err := awsRestjson1_deserializeDocumentSalesforceDataSourceConfiguration(&sv.SalesforceConfiguration, value); err != nil { return err } - case "sharePointConfiguration": if err := awsRestjson1_deserializeDocumentSharePointDataSourceConfiguration(&sv.SharePointConfiguration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14098,12 +13746,10 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.Type = types.DataSourceType(jtv) } - case "webConfiguration": if err := awsRestjson1_deserializeDocumentWebDataSourceConfiguration(&sv.WebConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14177,7 +13823,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14186,7 +13831,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Description = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14195,7 +13839,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.KnowledgeBaseId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14204,7 +13847,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14213,7 +13855,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14226,7 +13867,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -14262,7 +13902,6 @@ func awsRestjson1_deserializeDocumentEmbeddingModelConfiguration(v **types.Embed if err := awsRestjson1_deserializeDocumentBedrockEmbeddingModelConfiguration(&sv.BedrockEmbeddingModelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14414,7 +14053,6 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.MaxTokens = ptr.Int32(int32(i64)) } - case "overlapPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -14427,7 +14065,6 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.OverlapPercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14501,7 +14138,6 @@ func awsRestjson1_deserializeDocumentFlowAliasRoutingConfigurationListItem(v **t } sv.FlowVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -14575,7 +14211,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14588,7 +14223,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14597,7 +14231,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Description = ptr.String(jtv) } - case "flowId": if value != nil { jtv, ok := value.(string) @@ -14606,7 +14239,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.FlowId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14615,7 +14247,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14624,12 +14255,10 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Name = ptr.String(jtv) } - case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14642,7 +14271,6 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -14682,7 +14310,6 @@ func awsRestjson1_deserializeDocumentFlowCondition(v **types.FlowCondition, valu } sv.Expression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14691,7 +14318,6 @@ func awsRestjson1_deserializeDocumentFlowCondition(v **types.FlowCondition, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14731,7 +14357,6 @@ func awsRestjson1_deserializeDocumentFlowConditionalConnectionConfiguration(v ** } sv.Condition = ptr.String(jtv) } - default: _, _ = key, value @@ -14801,7 +14426,6 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va if err := awsRestjson1_deserializeDocumentFlowConnectionConfiguration(&sv.Configuration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14810,7 +14434,6 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Name = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -14819,7 +14442,6 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Source = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -14828,7 +14450,6 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Target = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14837,7 +14458,6 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Type = types.FlowConnectionType(jtv) } - default: _, _ = key, value @@ -14961,7 +14581,6 @@ func awsRestjson1_deserializeDocumentFlowDataConnectionConfiguration(v **types.F } sv.SourceOutput = ptr.String(jtv) } - case "targetInput": if value != nil { jtv, ok := value.(string) @@ -14970,7 +14589,6 @@ func awsRestjson1_deserializeDocumentFlowDataConnectionConfiguration(v **types.F } sv.TargetInput = ptr.String(jtv) } - default: _, _ = key, value @@ -15006,12 +14624,10 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va if err := awsRestjson1_deserializeDocumentFlowConnections(&sv.Connections, value); err != nil { return err } - case "nodes": if err := awsRestjson1_deserializeDocumentFlowNodes(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -15047,12 +14663,10 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac if err := awsRestjson1_deserializeDocumentFlowNodeConfiguration(&sv.Configuration, value); err != nil { return err } - case "inputs": if err := awsRestjson1_deserializeDocumentFlowNodeInputs(&sv.Inputs, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15061,12 +14675,10 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac } sv.Name = ptr.String(jtv) } - case "outputs": if err := awsRestjson1_deserializeDocumentFlowNodeOutputs(&sv.Outputs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15075,7 +14687,6 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac } sv.Type = types.FlowNodeType(jtv) } - default: _, _ = key, value @@ -15265,7 +14876,6 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Expression = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15274,7 +14884,6 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15283,7 +14892,6 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Type = types.FlowNodeIODataType(jtv) } - default: _, _ = key, value @@ -15357,7 +14965,6 @@ func awsRestjson1_deserializeDocumentFlowNodeOutput(v **types.FlowNodeOutput, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15366,7 +14973,6 @@ func awsRestjson1_deserializeDocumentFlowNodeOutput(v **types.FlowNodeOutput, va } sv.Type = types.FlowNodeIODataType(jtv) } - default: _, _ = key, value @@ -15508,7 +15114,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15521,7 +15126,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15530,7 +15134,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15539,7 +15142,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15548,7 +15150,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15557,7 +15158,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Status = types.FlowStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -15570,7 +15170,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -15579,7 +15178,6 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15619,7 +15217,6 @@ func awsRestjson1_deserializeDocumentFlowValidation(v **types.FlowValidation, va } sv.Message = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -15628,7 +15225,6 @@ func awsRestjson1_deserializeDocumentFlowValidation(v **types.FlowValidation, va } sv.Severity = types.FlowValidationSeverity(jtv) } - default: _, _ = key, value @@ -15736,7 +15332,6 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15749,7 +15344,6 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15758,7 +15352,6 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15767,7 +15360,6 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Status = types.FlowStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -15776,7 +15368,6 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15816,7 +15407,6 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15825,12 +15415,10 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "requireConfirmation": if value != nil { jtv, ok := value.(string) @@ -15839,7 +15427,6 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.RequireConfirmation = types.RequireConfirmation(jtv) } - default: _, _ = key, value @@ -15951,7 +15538,6 @@ func awsRestjson1_deserializeDocumentGuardrailConfiguration(v **types.GuardrailC } sv.GuardrailIdentifier = ptr.String(jtv) } - case "guardrailVersion": if value != nil { jtv, ok := value.(string) @@ -15960,7 +15546,6 @@ func awsRestjson1_deserializeDocumentGuardrailConfiguration(v **types.GuardrailC } sv.GuardrailVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -15996,7 +15581,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types if err := awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfigurations(&sv.LevelConfigurations, value); err != nil { return err } - case "overlapTokens": if value != nil { jtv, ok := value.(json.Number) @@ -16009,7 +15593,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types } sv.OverlapTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16053,7 +15636,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfiguration(v ** } sv.MaxTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16131,12 +15713,10 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.MaximumLength = ptr.Int32(int32(i64)) } - case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } - case "temperature": if value != nil { switch jtv := value.(type) { @@ -16170,7 +15750,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } - case "topK": if value != nil { jtv, ok := value.(json.Number) @@ -16183,7 +15762,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.TopK = ptr.Int32(int32(i64)) } - case "topP": if value != nil { switch jtv := value.(type) { @@ -16217,7 +15795,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } - default: _, _ = key, value @@ -16257,7 +15834,6 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.DataSourceId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16266,12 +15842,10 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "ingestionJobId": if value != nil { jtv, ok := value.(string) @@ -16280,7 +15854,6 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.IngestionJobId = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16289,7 +15862,6 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.KnowledgeBaseId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -16302,12 +15874,10 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.StartedAt = ptr.Time(t) } - case "statistics": if err := awsRestjson1_deserializeDocumentIngestionJobStatistics(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -16316,7 +15886,6 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.Status = types.IngestionJobStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16329,7 +15898,6 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -16373,7 +15941,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsDeleted = i64 } - case "numberOfDocumentsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -16386,7 +15953,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsFailed = i64 } - case "numberOfDocumentsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -16399,7 +15965,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsScanned = i64 } - case "numberOfMetadataDocumentsModified": if value != nil { jtv, ok := value.(json.Number) @@ -16412,7 +15977,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfMetadataDocumentsModified = i64 } - case "numberOfMetadataDocumentsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -16425,7 +15989,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfMetadataDocumentsScanned = i64 } - case "numberOfModifiedDocumentsIndexed": if value != nil { jtv, ok := value.(json.Number) @@ -16438,7 +16001,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfModifiedDocumentsIndexed = i64 } - case "numberOfNewDocumentsIndexed": if value != nil { jtv, ok := value.(json.Number) @@ -16451,7 +16013,6 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfNewDocumentsIndexed = i64 } - default: _, _ = key, value @@ -16525,7 +16086,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.DataSourceId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16534,7 +16094,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.Description = ptr.String(jtv) } - case "ingestionJobId": if value != nil { jtv, ok := value.(string) @@ -16543,7 +16102,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.IngestionJobId = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16552,7 +16110,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.KnowledgeBaseId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -16565,12 +16122,10 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.StartedAt = ptr.Time(t) } - case "statistics": if err := awsRestjson1_deserializeDocumentIngestionJobStatistics(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -16579,7 +16134,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.Status = types.IngestionJobStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16592,7 +16146,6 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -16659,7 +16212,6 @@ func awsRestjson1_deserializeDocumentIntermediateStorage(v **types.IntermediateS if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -16689,15 +16241,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16705,15 +16251,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16783,7 +16325,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16792,12 +16333,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -16806,12 +16345,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseConfiguration": if err := awsRestjson1_deserializeDocumentKnowledgeBaseConfiguration(&sv.KnowledgeBaseConfiguration, value); err != nil { return err } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16820,7 +16357,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.KnowledgeBaseId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16829,7 +16365,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16838,7 +16373,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16847,12 +16381,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "storageConfiguration": if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16865,7 +16397,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -16905,12 +16436,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseConfiguration(v **types.Knowle } sv.Type = types.KnowledgeBaseType(jtv) } - case "vectorKnowledgeBaseConfiguration": if err := awsRestjson1_deserializeDocumentVectorKnowledgeBaseConfiguration(&sv.VectorKnowledgeBaseConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16950,7 +16479,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseFlowNodeConfiguration(v **type } sv.KnowledgeBaseId = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -16959,7 +16487,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseFlowNodeConfiguration(v **type } sv.ModelId = ptr.String(jtv) } - default: _, _ = key, value @@ -17033,7 +16560,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -17042,7 +16568,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17051,7 +16576,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17060,7 +16584,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -17073,7 +16596,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -17113,7 +16635,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionFlowNodeConfiguration(v **typ } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17153,7 +16674,6 @@ func awsRestjson1_deserializeDocumentLexFlowNodeConfiguration(v **types.LexFlowN } sv.BotAliasArn = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -17162,7 +16682,6 @@ func awsRestjson1_deserializeDocumentLexFlowNodeConfiguration(v **types.LexFlowN } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -17198,7 +16717,6 @@ func awsRestjson1_deserializeDocumentMemoryConfiguration(v **types.MemoryConfigu if err := awsRestjson1_deserializeDocumentEnabledMemoryTypes(&sv.EnabledMemoryTypes, value); err != nil { return err } - case "storageDays": if value != nil { jtv, ok := value.(json.Number) @@ -17211,7 +16729,6 @@ func awsRestjson1_deserializeDocumentMemoryConfiguration(v **types.MemoryConfigu } sv.StorageDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17251,7 +16768,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.CollectionName = ptr.String(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -17260,7 +16776,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.CredentialsSecretArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -17269,7 +16784,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.DatabaseName = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -17278,7 +16792,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.Endpoint = ptr.String(jtv) } - case "endpointServiceName": if value != nil { jtv, ok := value.(string) @@ -17287,12 +16800,10 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.EndpointServiceName = ptr.String(jtv) } - case "fieldMapping": if err := awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(&sv.FieldMapping, value); err != nil { return err } - case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -17301,7 +16812,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.VectorIndexName = ptr.String(jtv) } - default: _, _ = key, value @@ -17341,7 +16851,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.MetadataField = ptr.String(jtv) } - case "textField": if value != nil { jtv, ok := value.(string) @@ -17350,7 +16859,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.TextField = ptr.String(jtv) } - case "vectorField": if value != nil { jtv, ok := value.(string) @@ -17359,7 +16867,6 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.VectorField = ptr.String(jtv) } - default: _, _ = key, value @@ -17399,12 +16906,10 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(v **types } sv.CollectionArn = ptr.String(jtv) } - case "fieldMapping": if err := awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(&sv.FieldMapping, value); err != nil { return err } - case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -17413,7 +16918,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(v **types } sv.VectorIndexName = ptr.String(jtv) } - default: _, _ = key, value @@ -17453,7 +16957,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.MetadataField = ptr.String(jtv) } - case "textField": if value != nil { jtv, ok := value.(string) @@ -17462,7 +16965,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.TextField = ptr.String(jtv) } - case "vectorField": if value != nil { jtv, ok := value.(string) @@ -17471,7 +16973,6 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.VectorField = ptr.String(jtv) } - default: _, _ = key, value @@ -17542,7 +17043,6 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Description = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -17551,7 +17051,6 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Required = ptr.Bool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17560,7 +17059,6 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -17631,7 +17129,6 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi if err := awsRestjson1_deserializeDocumentBedrockFoundationModelConfiguration(&sv.BedrockFoundationModelConfiguration, value); err != nil { return err } - case "parsingStrategy": if value != nil { jtv, ok := value.(string) @@ -17640,7 +17137,6 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi } sv.ParsingStrategy = types.ParsingStrategy(jtv) } - default: _, _ = key, value @@ -17680,7 +17176,6 @@ func awsRestjson1_deserializeDocumentParsingPrompt(v **types.ParsingPrompt, valu } sv.ParsingPromptText = ptr.String(jtv) } - default: _, _ = key, value @@ -17716,12 +17211,10 @@ func awsRestjson1_deserializeDocumentPatternObjectFilter(v **types.PatternObject if err := awsRestjson1_deserializeDocumentFilterList(&sv.ExclusionFilters, value); err != nil { return err } - case "inclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.InclusionFilters, value); err != nil { return err } - case "objectType": if value != nil { jtv, ok := value.(string) @@ -17730,7 +17223,6 @@ func awsRestjson1_deserializeDocumentPatternObjectFilter(v **types.PatternObject } sv.ObjectType = ptr.String(jtv) } - default: _, _ = key, value @@ -17766,7 +17258,6 @@ func awsRestjson1_deserializeDocumentPatternObjectFilterConfiguration(v **types. if err := awsRestjson1_deserializeDocumentPatternObjectFilterList(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -17840,7 +17331,6 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.ConnectionString = ptr.String(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -17849,12 +17339,10 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.CredentialsSecretArn = ptr.String(jtv) } - case "fieldMapping": if err := awsRestjson1_deserializeDocumentPineconeFieldMapping(&sv.FieldMapping, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -17863,7 +17351,6 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -17903,7 +17390,6 @@ func awsRestjson1_deserializeDocumentPineconeFieldMapping(v **types.PineconeFiel } sv.MetadataField = ptr.String(jtv) } - case "textField": if value != nil { jtv, ok := value.(string) @@ -17912,7 +17398,6 @@ func awsRestjson1_deserializeDocumentPineconeFieldMapping(v **types.PineconeFiel } sv.TextField = ptr.String(jtv) } - default: _, _ = key, value @@ -17952,12 +17437,10 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.BasePromptTemplate = ptr.String(jtv) } - case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } - case "parserMode": if value != nil { jtv, ok := value.(string) @@ -17966,7 +17449,6 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.ParserMode = types.CreationMode(jtv) } - case "promptCreationMode": if value != nil { jtv, ok := value.(string) @@ -17975,7 +17457,6 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptCreationMode = types.CreationMode(jtv) } - case "promptState": if value != nil { jtv, ok := value.(string) @@ -17984,7 +17465,6 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptState = types.PromptState(jtv) } - case "promptType": if value != nil { jtv, ok := value.(string) @@ -17993,7 +17473,6 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptType = types.PromptType(jtv) } - default: _, _ = key, value @@ -18063,7 +17542,6 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeConfiguration(v **types.Promp if err := awsRestjson1_deserializeDocumentPromptFlowNodeSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18099,12 +17577,10 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelRequestFields, value); err != nil { return err } - case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentPromptInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -18113,12 +17589,10 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types } sv.ModelId = ptr.String(jtv) } - case "templateConfiguration": if err := awsRestjson1_deserializeDocumentPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -18127,7 +17601,6 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types } sv.TemplateType = types.PromptTemplateType(jtv) } - default: _, _ = key, value @@ -18167,7 +17640,6 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeResourceConfiguration(v **typ } sv.PromptArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18297,7 +17769,6 @@ func awsRestjson1_deserializeDocumentPromptInputVariable(v **types.PromptInputVa } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18371,7 +17842,6 @@ func awsRestjson1_deserializeDocumentPromptMetadataEntry(v **types.PromptMetadat } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -18380,7 +17850,6 @@ func awsRestjson1_deserializeDocumentPromptMetadataEntry(v **types.PromptMetadat } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -18458,12 +17927,10 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } sv.MaxTokens = ptr.Int32(int32(i64)) } - case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } - case "temperature": if value != nil { switch jtv := value.(type) { @@ -18497,7 +17964,6 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } } - case "topP": if value != nil { switch jtv := value.(type) { @@ -18531,7 +17997,6 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } } - default: _, _ = key, value @@ -18571,12 +18036,10 @@ func awsRestjson1_deserializeDocumentPromptOverrideConfiguration(v **types.Promp } sv.OverrideLambda = ptr.String(jtv) } - case "promptConfigurations": if err := awsRestjson1_deserializeDocumentPromptConfigurations(&sv.PromptConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -18650,7 +18113,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18663,7 +18125,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18672,7 +18133,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18681,7 +18141,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18690,7 +18149,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -18703,7 +18161,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.UpdatedAt = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -18712,7 +18169,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -18788,17 +18244,14 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelRequestFields, value); err != nil { return err } - case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentPromptInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentPromptMetadataList(&sv.Metadata, value); err != nil { return err } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -18807,7 +18260,6 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18816,12 +18268,10 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.Name = ptr.String(jtv) } - case "templateConfiguration": if err := awsRestjson1_deserializeDocumentPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -18830,7 +18280,6 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.TemplateType = types.PromptTemplateType(jtv) } - default: _, _ = key, value @@ -18904,7 +18353,6 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.CredentialsSecretArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -18913,12 +18361,10 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.DatabaseName = ptr.String(jtv) } - case "fieldMapping": if err := awsRestjson1_deserializeDocumentRdsFieldMapping(&sv.FieldMapping, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -18927,7 +18373,6 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.ResourceArn = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -18936,7 +18381,6 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -18976,7 +18420,6 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.MetadataField = ptr.String(jtv) } - case "primaryKeyField": if value != nil { jtv, ok := value.(string) @@ -18985,7 +18428,6 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.PrimaryKeyField = ptr.String(jtv) } - case "textField": if value != nil { jtv, ok := value.(string) @@ -18994,7 +18436,6 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.TextField = ptr.String(jtv) } - case "vectorField": if value != nil { jtv, ok := value.(string) @@ -19003,7 +18444,6 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.VectorField = ptr.String(jtv) } - default: _, _ = key, value @@ -19079,7 +18519,6 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.CredentialsSecretArn = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -19088,12 +18527,10 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.Endpoint = ptr.String(jtv) } - case "fieldMapping": if err := awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(&sv.FieldMapping, value); err != nil { return err } - case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -19102,7 +18539,6 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.VectorIndexName = ptr.String(jtv) } - default: _, _ = key, value @@ -19142,7 +18578,6 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.MetadataField = ptr.String(jtv) } - case "textField": if value != nil { jtv, ok := value.(string) @@ -19151,7 +18586,6 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.TextField = ptr.String(jtv) } - case "vectorField": if value != nil { jtv, ok := value.(string) @@ -19160,7 +18594,6 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.VectorField = ptr.String(jtv) } - default: _, _ = key, value @@ -19190,15 +18623,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19206,15 +18633,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19245,7 +18668,6 @@ func awsRestjson1_deserializeDocumentRetrievalFlowNodeConfiguration(v **types.Re if err := awsRestjson1_deserializeDocumentRetrievalFlowNodeServiceConfiguration(&sv.ServiceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19285,7 +18707,6 @@ func awsRestjson1_deserializeDocumentRetrievalFlowNodeS3Configuration(v **types. } sv.BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -19365,7 +18786,6 @@ func awsRestjson1_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketArn = ptr.String(jtv) } - case "bucketOwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -19374,12 +18794,10 @@ func awsRestjson1_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketOwnerAccountId = ptr.String(jtv) } - case "inclusionPrefixes": if err := awsRestjson1_deserializeDocumentS3Prefixes(&sv.InclusionPrefixes, value); err != nil { return err } - default: _, _ = key, value @@ -19419,7 +18837,6 @@ func awsRestjson1_deserializeDocumentS3Identifier(v **types.S3Identifier, value } sv.S3BucketName = ptr.String(jtv) } - case "s3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -19428,7 +18845,6 @@ func awsRestjson1_deserializeDocumentS3Identifier(v **types.S3Identifier, value } sv.S3ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -19468,7 +18884,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -19540,7 +18955,6 @@ func awsRestjson1_deserializeDocumentSalesforceCrawlerConfiguration(v **types.Sa if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19576,12 +18990,10 @@ func awsRestjson1_deserializeDocumentSalesforceDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentSalesforceCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19621,7 +19033,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.AuthType = types.SalesforceAuthType(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -19630,7 +19041,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.CredentialsSecretArn = ptr.String(jtv) } - case "hostUrl": if value != nil { jtv, ok := value.(string) @@ -19639,7 +19049,6 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.HostUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -19679,7 +19088,6 @@ func awsRestjson1_deserializeDocumentSeedUrl(v **types.SeedUrl, value interface{ } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -19757,7 +19165,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BreakpointPercentileThreshold = ptr.Int32(int32(i64)) } - case "bufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -19770,7 +19177,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BufferSize = ptr.Int32(int32(i64)) } - case "maxTokens": if value != nil { jtv, ok := value.(json.Number) @@ -19783,7 +19189,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.MaxTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19823,7 +19228,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19853,15 +19257,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19869,15 +19267,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19908,7 +19302,6 @@ func awsRestjson1_deserializeDocumentSharePointCrawlerConfiguration(v **types.Sh if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19944,12 +19337,10 @@ func awsRestjson1_deserializeDocumentSharePointDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentSharePointCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSharePointSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20025,7 +19416,6 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.AuthType = types.SharePointAuthType(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -20034,7 +19424,6 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.CredentialsSecretArn = ptr.String(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -20043,7 +19432,6 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.Domain = ptr.String(jtv) } - case "hostType": if value != nil { jtv, ok := value.(string) @@ -20052,12 +19440,10 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.HostType = types.SharePointHostType(jtv) } - case "siteUrls": if err := awsRestjson1_deserializeDocumentSharePointSiteUrls(&sv.SiteUrls, value); err != nil { return err } - case "tenantId": if value != nil { jtv, ok := value.(string) @@ -20066,7 +19452,6 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.TenantId = ptr.String(jtv) } - default: _, _ = key, value @@ -20138,27 +19523,22 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi if err := awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(&sv.MongoDbAtlasConfiguration, value); err != nil { return err } - case "opensearchServerlessConfiguration": if err := awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(&sv.OpensearchServerlessConfiguration, value); err != nil { return err } - case "pineconeConfiguration": if err := awsRestjson1_deserializeDocumentPineconeConfiguration(&sv.PineconeConfiguration, value); err != nil { return err } - case "rdsConfiguration": if err := awsRestjson1_deserializeDocumentRdsConfiguration(&sv.RdsConfiguration, value); err != nil { return err } - case "redisEnterpriseCloudConfiguration": if err := awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(&sv.RedisEnterpriseCloudConfiguration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -20167,7 +19547,6 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Type = types.KnowledgeBaseStorageType(jtv) } - default: _, _ = key, value @@ -20203,7 +19582,6 @@ func awsRestjson1_deserializeDocumentStorageFlowNodeConfiguration(v **types.Stor if err := awsRestjson1_deserializeDocumentStorageFlowNodeServiceConfiguration(&sv.ServiceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20243,7 +19621,6 @@ func awsRestjson1_deserializeDocumentStorageFlowNodeS3Configuration(v **types.St } sv.BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -20355,7 +19732,6 @@ func awsRestjson1_deserializeDocumentTextPromptTemplateConfiguration(v **types.T if err := awsRestjson1_deserializeDocumentPromptInputVariablesList(&sv.InputVariables, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -20364,7 +19740,6 @@ func awsRestjson1_deserializeDocumentTextPromptTemplateConfiguration(v **types.T } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -20394,15 +19769,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20410,15 +19779,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20453,12 +19818,10 @@ func awsRestjson1_deserializeDocumentTransformation(v **types.Transformation, va } sv.StepToApply = types.StepType(jtv) } - case "transformationFunction": if err := awsRestjson1_deserializeDocumentTransformationFunction(&sv.TransformationFunction, value); err != nil { return err } - default: _, _ = key, value @@ -20494,7 +19857,6 @@ func awsRestjson1_deserializeDocumentTransformationFunction(v **types.Transforma if err := awsRestjson1_deserializeDocumentTransformationLambdaConfiguration(&sv.TransformationLambdaConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20534,7 +19896,6 @@ func awsRestjson1_deserializeDocumentTransformationLambdaConfiguration(v **types } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20604,7 +19965,6 @@ func awsRestjson1_deserializeDocumentUrlConfiguration(v **types.UrlConfiguration if err := awsRestjson1_deserializeDocumentSeedUrls(&sv.SeedUrls, value); err != nil { return err } - default: _, _ = key, value @@ -20634,20 +19994,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20655,15 +20008,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20698,7 +20047,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20707,7 +20055,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -20777,17 +20124,14 @@ func awsRestjson1_deserializeDocumentVectorIngestionConfiguration(v **types.Vect if err := awsRestjson1_deserializeDocumentChunkingConfiguration(&sv.ChunkingConfiguration, value); err != nil { return err } - case "customTransformationConfiguration": if err := awsRestjson1_deserializeDocumentCustomTransformationConfiguration(&sv.CustomTransformationConfiguration, value); err != nil { return err } - case "parsingConfiguration": if err := awsRestjson1_deserializeDocumentParsingConfiguration(&sv.ParsingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20827,12 +20171,10 @@ func awsRestjson1_deserializeDocumentVectorKnowledgeBaseConfiguration(v **types. } sv.EmbeddingModelArn = ptr.String(jtv) } - case "embeddingModelConfiguration": if err := awsRestjson1_deserializeDocumentEmbeddingModelConfiguration(&sv.EmbeddingModelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20868,17 +20210,14 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsRestjson1_deserializeDocumentWebCrawlerLimits(&sv.CrawlerLimits, value); err != nil { return err } - case "exclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.ExclusionFilters, value); err != nil { return err } - case "inclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.InclusionFilters, value); err != nil { return err } - case "scope": if value != nil { jtv, ok := value.(string) @@ -20887,7 +20226,6 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.Scope = types.WebScopeType(jtv) } - default: _, _ = key, value @@ -20931,7 +20269,6 @@ func awsRestjson1_deserializeDocumentWebCrawlerLimits(v **types.WebCrawlerLimits } sv.RateLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20967,12 +20304,10 @@ func awsRestjson1_deserializeDocumentWebDataSourceConfiguration(v **types.WebDat if err := awsRestjson1_deserializeDocumentWebCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentWebSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -21008,7 +20343,6 @@ func awsRestjson1_deserializeDocumentWebSourceConfiguration(v **types.WebSourceC if err := awsRestjson1_deserializeDocumentUrlConfiguration(&sv.UrlConfiguration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/bedrockagentruntime/deserializers.go b/service/bedrockagentruntime/deserializers.go index c586ed71ab4..62c4766392d 100644 --- a/service/bedrockagentruntime/deserializers.go +++ b/service/bedrockagentruntime/deserializers.go @@ -313,7 +313,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentMemoryOutput(v **GetAgentMemoryOu if err := awsRestjson1_deserializeDocumentMemories(&sv.MemoryContents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -322,7 +321,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentMemoryOutput(v **GetAgentMemoryOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -754,12 +752,10 @@ func awsRestjson1_deserializeOpDocumentRetrieveOutput(v **RetrieveOutput, value } sv.NextToken = ptr.String(jtv) } - case "retrievalResults": if err := awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResults(&sv.RetrievalResults, value); err != nil { return err } - default: _, _ = key, value @@ -935,7 +931,6 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd if err := awsRestjson1_deserializeDocumentCitations(&sv.Citations, value); err != nil { return err } - case "guardrailAction": if value != nil { jtv, ok := value.(string) @@ -944,12 +939,10 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd } sv.GuardrailAction = types.GuadrailAction(jtv) } - case "output": if err := awsRestjson1_deserializeDocumentRetrieveAndGenerateOutput(&sv.Output, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -958,7 +951,6 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1574,15 +1566,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1590,15 +1576,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1633,7 +1615,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ActionGroupName = ptr.String(jtv) } - case "apiPath": if value != nil { jtv, ok := value.(string) @@ -1642,7 +1623,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ApiPath = ptr.String(jtv) } - case "executionType": if value != nil { jtv, ok := value.(string) @@ -1651,7 +1631,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ExecutionType = types.ExecutionType(jtv) } - case "function": if value != nil { jtv, ok := value.(string) @@ -1660,7 +1639,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.Function = ptr.String(jtv) } - case "invocationId": if value != nil { jtv, ok := value.(string) @@ -1669,17 +1647,14 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.InvocationId = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "requestBody": if err := awsRestjson1_deserializeDocumentRequestBody(&sv.RequestBody, value); err != nil { return err } - case "verb": if value != nil { jtv, ok := value.(string) @@ -1688,7 +1663,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.Verb = ptr.String(jtv) } - default: _, _ = key, value @@ -1728,7 +1702,6 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationOutput(v **types.Actio } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -1803,7 +1776,6 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ActionGroup = ptr.String(jtv) } - case "actionInvocationType": if value != nil { jtv, ok := value.(string) @@ -1812,7 +1784,6 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ActionInvocationType = types.ActionInvocationType(jtv) } - case "apiPath": if value != nil { jtv, ok := value.(string) @@ -1821,7 +1792,6 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ApiPath = ptr.String(jtv) } - case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -1830,17 +1800,14 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.HttpMethod = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentApiParameters(&sv.Parameters, value); err != nil { return err } - case "requestBody": if err := awsRestjson1_deserializeDocumentApiRequestBody(&sv.RequestBody, value); err != nil { return err } - default: _, _ = key, value @@ -1880,7 +1847,6 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -1889,7 +1855,6 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -1898,7 +1863,6 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1968,7 +1932,6 @@ func awsRestjson1_deserializeDocumentApiRequestBody(v **types.ApiRequestBody, va if err := awsRestjson1_deserializeDocumentApiContentMap(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -2004,7 +1967,6 @@ func awsRestjson1_deserializeDocumentAttribution(v **types.Attribution, value in if err := awsRestjson1_deserializeDocumentCitations(&sv.Citations, value); err != nil { return err } - default: _, _ = key, value @@ -2034,15 +1996,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2050,7 +2006,6 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -2059,15 +2014,11 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2098,12 +2049,10 @@ func awsRestjson1_deserializeDocumentCitation(v **types.Citation, value interfac if err := awsRestjson1_deserializeDocumentGeneratedResponsePart(&sv.GeneratedResponsePart, value); err != nil { return err } - case "retrievedReferences": if err := awsRestjson1_deserializeDocumentRetrievedReferences(&sv.RetrievedReferences, value); err != nil { return err } - default: _, _ = key, value @@ -2177,12 +2126,10 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationInput(v **types.Co } sv.Code = ptr.String(jtv) } - case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } - default: _, _ = key, value @@ -2222,7 +2169,6 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionError = ptr.String(jtv) } - case "executionOutput": if value != nil { jtv, ok := value.(string) @@ -2231,7 +2177,6 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionOutput = ptr.String(jtv) } - case "executionTimeout": if value != nil { jtv, ok := value.(bool) @@ -2240,12 +2185,10 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionTimeout = ptr.Bool(jtv) } - case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } - default: _, _ = key, value @@ -2275,15 +2218,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2291,15 +2228,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2358,15 +2291,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2374,7 +2301,6 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -2383,15 +2309,11 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2426,7 +2348,6 @@ func awsRestjson1_deserializeDocumentFailureTrace(v **types.FailureTrace, value } sv.FailureReason = ptr.String(jtv) } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -2435,7 +2356,6 @@ func awsRestjson1_deserializeDocumentFailureTrace(v **types.FailureTrace, value } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -2471,7 +2391,6 @@ func awsRestjson1_deserializeDocumentFilePart(v **types.FilePart, value interfac if err := awsRestjson1_deserializeDocumentOutputFiles(&sv.Files, value); err != nil { return err } - default: _, _ = key, value @@ -2547,7 +2466,6 @@ func awsRestjson1_deserializeDocumentFinalResponse(v **types.FinalResponse, valu } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -2587,7 +2505,6 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.ActionGroup = ptr.String(jtv) } - case "actionInvocationType": if value != nil { jtv, ok := value.(string) @@ -2596,7 +2513,6 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.ActionInvocationType = types.ActionInvocationType(jtv) } - case "function": if value != nil { jtv, ok := value.(string) @@ -2605,12 +2521,10 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.Function = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentFunctionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -2650,7 +2564,6 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2659,7 +2572,6 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2668,7 +2580,6 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2738,7 +2649,6 @@ func awsRestjson1_deserializeDocumentGeneratedResponsePart(v **types.GeneratedRe if err := awsRestjson1_deserializeDocumentTextResponsePart(&sv.TextResponsePart, value); err != nil { return err } - default: _, _ = key, value @@ -2774,22 +2684,18 @@ func awsRestjson1_deserializeDocumentGuardrailAssessment(v **types.GuardrailAsse if err := awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(&sv.ContentPolicy, value); err != nil { return err } - case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessment(&sv.SensitiveInformationPolicy, value); err != nil { return err } - case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(&sv.TopicPolicy, value); err != nil { return err } - case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(&sv.WordPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -2863,7 +2769,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Action = types.GuardrailContentPolicyAction(jtv) } - case "confidence": if value != nil { jtv, ok := value.(string) @@ -2872,7 +2777,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Confidence = types.GuardrailContentFilterConfidence(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2881,7 +2785,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } - default: _, _ = key, value @@ -2951,7 +2854,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(v **types. if err := awsRestjson1_deserializeDocumentGuardrailContentFilterList(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -2991,7 +2893,6 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Action = types.GuardrailWordPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3000,7 +2901,6 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Match = ptr.String(jtv) } - default: _, _ = key, value @@ -3074,7 +2974,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Action = types.GuardrailWordPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3083,7 +2982,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Match = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3092,7 +2990,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Type = types.GuardrailManagedWordType(jtv) } - default: _, _ = key, value @@ -3166,7 +3063,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3175,7 +3071,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Match = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3184,7 +3079,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Type = types.GuardrailPiiEntityType(jtv) } - default: _, _ = key, value @@ -3258,7 +3152,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3267,7 +3160,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Match = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3276,7 +3168,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Name = ptr.String(jtv) } - case "regex": if value != nil { jtv, ok := value.(string) @@ -3285,7 +3176,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -3355,12 +3245,10 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessme if err := awsRestjson1_deserializeDocumentGuardrailPiiEntityFilterList(&sv.PiiEntities, value); err != nil { return err } - case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexFilterList(&sv.Regexes, value); err != nil { return err } - default: _, _ = key, value @@ -3400,7 +3288,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Action = types.GuardrailTopicPolicyAction(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3409,7 +3296,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3418,7 +3304,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } - default: _, _ = key, value @@ -3488,7 +3373,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(v **types.Gu if err := awsRestjson1_deserializeDocumentGuardrailTopicList(&sv.Topics, value); err != nil { return err } - default: _, _ = key, value @@ -3528,17 +3412,14 @@ func awsRestjson1_deserializeDocumentGuardrailTrace(v **types.GuardrailTrace, va } sv.Action = types.GuardrailAction(jtv) } - case "inputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.InputAssessments, value); err != nil { return err } - case "outputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.OutputAssessments, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -3547,7 +3428,6 @@ func awsRestjson1_deserializeDocumentGuardrailTrace(v **types.GuardrailTrace, va } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3583,12 +3463,10 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(v **types.Gua if err := awsRestjson1_deserializeDocumentGuardrailCustomWordList(&sv.CustomWords, value); err != nil { return err } - case "managedWordLists": if err := awsRestjson1_deserializeDocumentGuardrailManagedWordList(&sv.ManagedWordLists, value); err != nil { return err } - default: _, _ = key, value @@ -3632,12 +3510,10 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.MaximumLength = ptr.Int32(int32(i64)) } - case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } - case "temperature": if value != nil { switch jtv := value.(type) { @@ -3671,7 +3547,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } - case "topK": if value != nil { jtv, ok := value.(json.Number) @@ -3684,7 +3559,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.TopK = ptr.Int32(int32(i64)) } - case "topP": if value != nil { switch jtv := value.(type) { @@ -3718,7 +3592,6 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } - default: _, _ = key, value @@ -3748,15 +3621,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3764,15 +3631,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3803,12 +3666,10 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, if err := awsRestjson1_deserializeDocumentActionGroupInvocationInput(&sv.ActionGroupInvocationInput, value); err != nil { return err } - case "codeInterpreterInvocationInput": if err := awsRestjson1_deserializeDocumentCodeInterpreterInvocationInput(&sv.CodeInterpreterInvocationInput, value); err != nil { return err } - case "invocationType": if value != nil { jtv, ok := value.(string) @@ -3817,12 +3678,10 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, } sv.InvocationType = types.InvocationType(jtv) } - case "knowledgeBaseLookupInput": if err := awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(&sv.KnowledgeBaseLookupInput, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -3831,7 +3690,6 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3953,7 +3811,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(v **types.Knowledg } sv.KnowledgeBaseId = ptr.String(jtv) } - case "text": if value != nil { jtv, ok := value.(string) @@ -3962,7 +3819,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(v **types.Knowledg } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -3998,7 +3854,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupOutput(v **types.Knowled if err := awsRestjson1_deserializeDocumentRetrievedReferences(&sv.RetrievedReferences, value); err != nil { return err } - default: _, _ = key, value @@ -4034,7 +3889,6 @@ func awsRestjson1_deserializeDocumentMetadata(v **types.Metadata, value interfac if err := awsRestjson1_deserializeDocumentUsage(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -4070,7 +3924,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat if err := awsRestjson1_deserializeDocumentInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } - case "overrideLambda": if value != nil { jtv, ok := value.(string) @@ -4079,7 +3932,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.OverrideLambda = ptr.String(jtv) } - case "parserMode": if value != nil { jtv, ok := value.(string) @@ -4088,7 +3940,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.ParserMode = types.CreationMode(jtv) } - case "promptCreationMode": if value != nil { jtv, ok := value.(string) @@ -4097,7 +3948,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.PromptCreationMode = types.CreationMode(jtv) } - case "text": if value != nil { jtv, ok := value.(string) @@ -4106,7 +3956,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.Text = ptr.String(jtv) } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4115,7 +3964,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.TraceId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4124,7 +3972,6 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.Type = types.PromptType(jtv) } - default: _, _ = key, value @@ -4160,27 +4007,22 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in if err := awsRestjson1_deserializeDocumentActionGroupInvocationOutput(&sv.ActionGroupInvocationOutput, value); err != nil { return err } - case "codeInterpreterInvocationOutput": if err := awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(&sv.CodeInterpreterInvocationOutput, value); err != nil { return err } - case "finalResponse": if err := awsRestjson1_deserializeDocumentFinalResponse(&sv.FinalResponse, value); err != nil { return err } - case "knowledgeBaseLookupOutput": if err := awsRestjson1_deserializeDocumentKnowledgeBaseLookupOutput(&sv.KnowledgeBaseLookupOutput, value); err != nil { return err } - case "repromptResponse": if err := awsRestjson1_deserializeDocumentRepromptResponse(&sv.RepromptResponse, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4189,7 +4031,6 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in } sv.TraceId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4198,7 +4039,6 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -4234,12 +4074,10 @@ func awsRestjson1_deserializeDocumentOrchestrationModelInvocationOutput(v **type if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4248,7 +4086,6 @@ func awsRestjson1_deserializeDocumentOrchestrationModelInvocationOutput(v **type } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4372,7 +4209,6 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Bytes = dv } - case "name": if value != nil { jtv, ok := value.(string) @@ -4381,7 +4217,6 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4390,7 +4225,6 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4464,7 +4298,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4473,7 +4306,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -4482,7 +4314,6 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4586,7 +4417,6 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in if err := awsRestjson1_deserializeDocumentAttribution(&sv.Attribution, value); err != nil { return err } - case "bytes": if value != nil { jtv, ok := value.(string) @@ -4599,7 +4429,6 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in } sv.Bytes = dv } - default: _, _ = key, value @@ -4635,17 +4464,14 @@ func awsRestjson1_deserializeDocumentPostProcessingModelInvocationOutput(v **typ if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "parsedResponse": if err := awsRestjson1_deserializeDocumentPostProcessingParsedResponse(&sv.ParsedResponse, value); err != nil { return err } - case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4654,7 +4480,6 @@ func awsRestjson1_deserializeDocumentPostProcessingModelInvocationOutput(v **typ } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4694,7 +4519,6 @@ func awsRestjson1_deserializeDocumentPostProcessingParsedResponse(v **types.Post } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -4780,17 +4604,14 @@ func awsRestjson1_deserializeDocumentPreProcessingModelInvocationOutput(v **type if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "parsedResponse": if err := awsRestjson1_deserializeDocumentPreProcessingParsedResponse(&sv.ParsedResponse, value); err != nil { return err } - case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4799,7 +4620,6 @@ func awsRestjson1_deserializeDocumentPreProcessingModelInvocationOutput(v **type } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4839,7 +4659,6 @@ func awsRestjson1_deserializeDocumentPreProcessingParsedResponse(v **types.PrePr } sv.IsValid = ptr.Bool(jtv) } - case "rationale": if value != nil { jtv, ok := value.(string) @@ -4848,7 +4667,6 @@ func awsRestjson1_deserializeDocumentPreProcessingParsedResponse(v **types.PrePr } sv.Rationale = ptr.String(jtv) } - default: _, _ = key, value @@ -4934,7 +4752,6 @@ func awsRestjson1_deserializeDocumentPropertyParameters(v **types.PropertyParame if err := awsRestjson1_deserializeDocumentParameterList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -4974,7 +4791,6 @@ func awsRestjson1_deserializeDocumentRationale(v **types.Rationale, value interf } sv.Text = ptr.String(jtv) } - case "traceId": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4799,6 @@ func awsRestjson1_deserializeDocumentRationale(v **types.Rationale, value interf } sv.TraceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5023,7 +4838,6 @@ func awsRestjson1_deserializeDocumentRawResponse(v **types.RawResponse, value in } sv.Content = ptr.String(jtv) } - default: _, _ = key, value @@ -5063,7 +4877,6 @@ func awsRestjson1_deserializeDocumentRepromptResponse(v **types.RepromptResponse } sv.Source = types.Source(jtv) } - case "text": if value != nil { jtv, ok := value.(string) @@ -5072,7 +4885,6 @@ func awsRestjson1_deserializeDocumentRepromptResponse(v **types.RepromptResponse } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -5108,7 +4920,6 @@ func awsRestjson1_deserializeDocumentRequestBody(v **types.RequestBody, value in if err := awsRestjson1_deserializeDocumentContentMap(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -5138,15 +4949,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5154,15 +4959,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5197,7 +4998,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultConfluenceLocation(v **types } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -5237,7 +5037,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultContent(v **types.RetrievalR } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -5273,22 +5072,18 @@ func awsRestjson1_deserializeDocumentRetrievalResultLocation(v **types.Retrieval if err := awsRestjson1_deserializeDocumentRetrievalResultConfluenceLocation(&sv.ConfluenceLocation, value); err != nil { return err } - case "s3Location": if err := awsRestjson1_deserializeDocumentRetrievalResultS3Location(&sv.S3Location, value); err != nil { return err } - case "salesforceLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultSalesforceLocation(&sv.SalesforceLocation, value); err != nil { return err } - case "sharePointLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultSharePointLocation(&sv.SharePointLocation, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -5297,12 +5092,10 @@ func awsRestjson1_deserializeDocumentRetrievalResultLocation(v **types.Retrieval } sv.Type = types.RetrievalResultLocationType(jtv) } - case "webLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultWebLocation(&sv.WebLocation, value); err != nil { return err } - default: _, _ = key, value @@ -5384,7 +5177,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultS3Location(v **types.Retriev } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -5424,7 +5216,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultSalesforceLocation(v **types } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -5464,7 +5255,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultSharePointLocation(v **types } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -5504,7 +5294,6 @@ func awsRestjson1_deserializeDocumentRetrievalResultWebLocation(v **types.Retrie } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -5540,17 +5329,14 @@ func awsRestjson1_deserializeDocumentRetrievedReference(v **types.RetrievedRefer if err := awsRestjson1_deserializeDocumentRetrievalResultContent(&sv.Content, value); err != nil { return err } - case "location": if err := awsRestjson1_deserializeDocumentRetrievalResultLocation(&sv.Location, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentRetrievalResultMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -5624,12 +5410,10 @@ func awsRestjson1_deserializeDocumentReturnControlPayload(v **types.ReturnContro } sv.InvocationId = ptr.String(jtv) } - case "invocationInputs": if err := awsRestjson1_deserializeDocumentInvocationInputs(&sv.InvocationInputs, value); err != nil { return err } - default: _, _ = key, value @@ -5659,15 +5443,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5675,15 +5453,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5722,7 +5496,6 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err } sv.End = ptr.Int32(int32(i64)) } - case "start": if value != nil { jtv, ok := value.(json.Number) @@ -5735,7 +5508,6 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err } sv.Start = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5807,7 +5579,6 @@ func awsRestjson1_deserializeDocumentTextResponsePart(v **types.TextResponsePart if err := awsRestjson1_deserializeDocumentSpan(&sv.Span, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -5816,7 +5587,6 @@ func awsRestjson1_deserializeDocumentTextResponsePart(v **types.TextResponsePart } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -5846,15 +5616,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5862,15 +5626,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5979,7 +5739,6 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentAliasId = ptr.String(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -5988,7 +5747,6 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentId = ptr.String(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5755,6 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentVersion = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -6006,12 +5763,10 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.SessionId = ptr.String(jtv) } - case "trace": if err := awsRestjson1_deserializeDocumentTrace(&sv.Trace, value); err != nil { return err } - default: _, _ = key, value @@ -6055,7 +5810,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.InputTokens = ptr.Int32(int32(i64)) } - case "outputTokens": if value != nil { jtv, ok := value.(json.Number) @@ -6068,7 +5822,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.OutputTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6098,15 +5851,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6114,15 +5861,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6336,7 +6079,6 @@ func awsRestjson1_deserializeDocumentFlowCompletionEvent(v **types.FlowCompletio } sv.CompletionReason = types.FlowCompletionReason(jtv) } - default: _, _ = key, value @@ -6410,7 +6152,6 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, if err := awsRestjson1_deserializeDocumentFlowOutputContent(&sv.Content, value); err != nil { return err } - case "nodeName": if value != nil { jtv, ok := value.(string) @@ -6419,7 +6160,6 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, } sv.NodeName = ptr.String(jtv) } - case "nodeType": if value != nil { jtv, ok := value.(string) @@ -6428,7 +6168,6 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, } sv.NodeType = types.NodeType(jtv) } - default: _, _ = key, value @@ -6796,17 +6535,14 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResult(v **types.Know if err := awsRestjson1_deserializeDocumentRetrievalResultContent(&sv.Content, value); err != nil { return err } - case "location": if err := awsRestjson1_deserializeDocumentRetrievalResultLocation(&sv.Location, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentRetrievalResultMetadata(&sv.Metadata, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -6840,7 +6576,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResult(v **types.Know } } - default: _, _ = key, value @@ -6986,7 +6721,6 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.MemoryId = ptr.String(jtv) } - case "sessionExpiryTime": if value != nil { jtv, ok := value.(string) @@ -6999,7 +6733,6 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionExpiryTime = ptr.Time(t) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -7008,7 +6741,6 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionId = ptr.String(jtv) } - case "sessionStartTime": if value != nil { jtv, ok := value.(string) @@ -7021,7 +6753,6 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionStartTime = ptr.Time(t) } - case "summaryText": if value != nil { jtv, ok := value.(string) @@ -7030,7 +6761,6 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SummaryText = ptr.String(jtv) } - default: _, _ = key, value @@ -7070,7 +6800,6 @@ func awsRestjson1_deserializeDocumentRetrieveAndGenerateOutput(v **types.Retriev } sv.Text = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/bedrockruntime/deserializers.go b/service/bedrockruntime/deserializers.go index 67a0a44fc92..2ce0194b6dc 100644 --- a/service/bedrockruntime/deserializers.go +++ b/service/bedrockruntime/deserializers.go @@ -196,27 +196,22 @@ func awsRestjson1_deserializeOpDocumentApplyGuardrailOutput(v **ApplyGuardrailOu } sv.Action = types.GuardrailAction(jtv) } - case "assessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.Assessments, value); err != nil { return err } - case "guardrailCoverage": if err := awsRestjson1_deserializeDocumentGuardrailCoverage(&sv.GuardrailCoverage, value); err != nil { return err } - case "outputs": if err := awsRestjson1_deserializeDocumentGuardrailOutputContentList(&sv.Outputs, value); err != nil { return err } - case "usage": if err := awsRestjson1_deserializeDocumentGuardrailUsage(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -392,17 +387,14 @@ func awsRestjson1_deserializeOpDocumentConverseOutput(v **ConverseOutput, value if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelResponseFields, value); err != nil { return err } - case "metrics": if err := awsRestjson1_deserializeDocumentConverseMetrics(&sv.Metrics, value); err != nil { return err } - case "output": if err := awsRestjson1_deserializeDocumentConverseOutput(&sv.Output, value); err != nil { return err } - case "stopReason": if value != nil { jtv, ok := value.(string) @@ -411,17 +403,14 @@ func awsRestjson1_deserializeOpDocumentConverseOutput(v **ConverseOutput, value } sv.StopReason = types.StopReason(jtv) } - case "trace": if err := awsRestjson1_deserializeDocumentConverseTrace(&sv.Trace, value); err != nil { return err } - case "usage": if err := awsRestjson1_deserializeDocumentTokenUsage(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -1191,15 +1180,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1207,15 +1190,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1240,15 +1219,9 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1256,7 +1229,6 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.Message = ptr.String(jtv) } - case "originalMessage": if value != nil { jtv, ok := value.(string) @@ -1265,7 +1237,6 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.OriginalMessage = ptr.String(jtv) } - case "originalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1278,15 +1249,11 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1311,15 +1278,9 @@ func awsRestjson1_deserializeDocumentModelTimeoutException(v **types.ModelTimeou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1327,15 +1288,11 @@ func awsRestjson1_deserializeDocumentModelTimeoutException(v **types.ModelTimeou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1374,7 +1331,6 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in } sv.Bytes = dv } - default: _, _ = key, value @@ -1404,15 +1360,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1420,15 +1370,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1453,15 +1399,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1469,15 +1409,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1502,15 +1438,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1518,15 +1448,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1968,12 +1894,10 @@ func awsRestjson1_deserializeDocumentContentBlockDeltaEvent(v **types.ContentBlo } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } - case "delta": if err := awsRestjson1_deserializeDocumentContentBlockDelta(&sv.Delta, value); err != nil { return err } - default: _, _ = key, value @@ -2057,12 +1981,10 @@ func awsRestjson1_deserializeDocumentContentBlockStartEvent(v **types.ContentBlo } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } - case "start": if err := awsRestjson1_deserializeDocumentContentBlockStart(&sv.Start, value); err != nil { return err } - default: _, _ = key, value @@ -2106,7 +2028,6 @@ func awsRestjson1_deserializeDocumentContentBlockStopEvent(v **types.ContentBloc } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2142,17 +2063,14 @@ func awsRestjson1_deserializeDocumentConverseStreamMetadataEvent(v **types.Conve if err := awsRestjson1_deserializeDocumentConverseStreamMetrics(&sv.Metrics, value); err != nil { return err } - case "trace": if err := awsRestjson1_deserializeDocumentConverseStreamTrace(&sv.Trace, value); err != nil { return err } - case "usage": if err := awsRestjson1_deserializeDocumentTokenUsage(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -2196,7 +2114,6 @@ func awsRestjson1_deserializeDocumentConverseStreamMetrics(v **types.ConverseStr } sv.LatencyMs = ptr.Int64(i64) } - default: _, _ = key, value @@ -2232,7 +2149,6 @@ func awsRestjson1_deserializeDocumentConverseStreamTrace(v **types.ConverseStrea if err := awsRestjson1_deserializeDocumentGuardrailTraceAssessment(&sv.Guardrail, value); err != nil { return err } - default: _, _ = key, value @@ -2268,32 +2184,26 @@ func awsRestjson1_deserializeDocumentGuardrailAssessment(v **types.GuardrailAsse if err := awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(&sv.ContentPolicy, value); err != nil { return err } - case "contextualGroundingPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicyAssessment(&sv.ContextualGroundingPolicy, value); err != nil { return err } - case "invocationMetrics": if err := awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(&sv.InvocationMetrics, value); err != nil { return err } - case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessment(&sv.SensitiveInformationPolicy, value); err != nil { return err } - case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(&sv.TopicPolicy, value); err != nil { return err } - case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(&sv.WordPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -2436,7 +2346,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Action = types.GuardrailContentPolicyAction(jtv) } - case "confidence": if value != nil { jtv, ok := value.(string) @@ -2445,7 +2354,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Confidence = types.GuardrailContentFilterConfidence(jtv) } - case "filterStrength": if value != nil { jtv, ok := value.(string) @@ -2454,7 +2362,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.FilterStrength = types.GuardrailContentFilterStrength(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2463,7 +2370,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } - default: _, _ = key, value @@ -2533,7 +2439,6 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(v **types. if err := awsRestjson1_deserializeDocumentGuardrailContentFilterList(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -2573,7 +2478,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Action = types.GuardrailContextualGroundingPolicyAction(jtv) } - case "score": if value != nil { switch jtv := value.(type) { @@ -2607,7 +2511,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -2641,7 +2544,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } - case "type": if value != nil { jtv, ok := value.(string) @@ -2650,7 +2552,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Type = types.GuardrailContextualGroundingFilterType(jtv) } - default: _, _ = key, value @@ -2720,7 +2621,6 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicyAssessmen if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilters(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -2756,7 +2656,6 @@ func awsRestjson1_deserializeDocumentGuardrailCoverage(v **types.GuardrailCovera if err := awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(&sv.TextCharacters, value); err != nil { return err } - default: _, _ = key, value @@ -2796,7 +2695,6 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Action = types.GuardrailWordPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -2805,7 +2703,6 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Match = ptr.String(jtv) } - default: _, _ = key, value @@ -2875,7 +2772,6 @@ func awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(v **types.Guardr if err := awsRestjson1_deserializeDocumentGuardrailCoverage(&sv.GuardrailCoverage, value); err != nil { return err } - case "guardrailProcessingLatency": if value != nil { jtv, ok := value.(json.Number) @@ -2888,12 +2784,10 @@ func awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(v **types.Guardr } sv.GuardrailProcessingLatency = ptr.Int64(i64) } - case "usage": if err := awsRestjson1_deserializeDocumentGuardrailUsage(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -2933,7 +2827,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Action = types.GuardrailWordPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2835,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Match = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2843,6 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Type = types.GuardrailManagedWordType(jtv) } - default: _, _ = key, value @@ -3025,7 +2916,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3034,7 +2924,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Match = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3043,7 +2932,6 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Type = types.GuardrailPiiEntityType(jtv) } - default: _, _ = key, value @@ -3117,7 +3005,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } - case "match": if value != nil { jtv, ok := value.(string) @@ -3126,7 +3013,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Match = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3135,7 +3021,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Name = ptr.String(jtv) } - case "regex": if value != nil { jtv, ok := value.(string) @@ -3144,7 +3029,6 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -3214,12 +3098,10 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessme if err := awsRestjson1_deserializeDocumentGuardrailPiiEntityFilterList(&sv.PiiEntities, value); err != nil { return err } - case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexFilterList(&sv.Regexes, value); err != nil { return err } - default: _, _ = key, value @@ -3263,7 +3145,6 @@ func awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(v **types.G } sv.Guarded = ptr.Int32(int32(i64)) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -3276,7 +3157,6 @@ func awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(v **types.G } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3316,7 +3196,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Action = types.GuardrailTopicPolicyAction(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3325,7 +3204,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3334,7 +3212,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } - default: _, _ = key, value @@ -3404,7 +3281,6 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(v **types.Gu if err := awsRestjson1_deserializeDocumentGuardrailTopicList(&sv.Topics, value); err != nil { return err } - default: _, _ = key, value @@ -3440,17 +3316,14 @@ func awsRestjson1_deserializeDocumentGuardrailTraceAssessment(v **types.Guardrai if err := awsRestjson1_deserializeDocumentGuardrailAssessmentMap(&sv.InputAssessment, value); err != nil { return err } - case "modelOutput": if err := awsRestjson1_deserializeDocumentModelOutputs(&sv.ModelOutput, value); err != nil { return err } - case "outputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentListMap(&sv.OutputAssessments, value); err != nil { return err } - default: _, _ = key, value @@ -3494,7 +3367,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.ContentPolicyUnits = ptr.Int32(int32(i64)) } - case "contextualGroundingPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3507,7 +3379,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.ContextualGroundingPolicyUnits = ptr.Int32(int32(i64)) } - case "sensitiveInformationPolicyFreeUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3520,7 +3391,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.SensitiveInformationPolicyFreeUnits = ptr.Int32(int32(i64)) } - case "sensitiveInformationPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3533,7 +3403,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.SensitiveInformationPolicyUnits = ptr.Int32(int32(i64)) } - case "topicPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3546,7 +3415,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.TopicPolicyUnits = ptr.Int32(int32(i64)) } - case "wordPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3559,7 +3427,6 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.WordPolicyUnits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3595,12 +3462,10 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(v **types.Gua if err := awsRestjson1_deserializeDocumentGuardrailCustomWordList(&sv.CustomWords, value); err != nil { return err } - case "managedWordLists": if err := awsRestjson1_deserializeDocumentGuardrailManagedWordList(&sv.ManagedWordLists, value); err != nil { return err } - default: _, _ = key, value @@ -3640,7 +3505,6 @@ func awsRestjson1_deserializeDocumentMessageStartEvent(v **types.MessageStartEve } sv.Role = types.ConversationRole(jtv) } - default: _, _ = key, value @@ -3676,7 +3540,6 @@ func awsRestjson1_deserializeDocumentMessageStopEvent(v **types.MessageStopEvent if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelResponseFields, value); err != nil { return err } - case "stopReason": if value != nil { jtv, ok := value.(string) @@ -3685,7 +3548,6 @@ func awsRestjson1_deserializeDocumentMessageStopEvent(v **types.MessageStopEvent } sv.StopReason = types.StopReason(jtv) } - default: _, _ = key, value @@ -3765,7 +3627,6 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.InputTokens = ptr.Int32(int32(i64)) } - case "outputTokens": if value != nil { jtv, ok := value.(json.Number) @@ -3778,7 +3639,6 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.OutputTokens = ptr.Int32(int32(i64)) } - case "totalTokens": if value != nil { jtv, ok := value.(json.Number) @@ -3791,7 +3651,6 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.TotalTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3831,7 +3690,6 @@ func awsRestjson1_deserializeDocumentToolUseBlockDelta(v **types.ToolUseBlockDel } sv.Input = ptr.String(jtv) } - default: _, _ = key, value @@ -3871,7 +3729,6 @@ func awsRestjson1_deserializeDocumentToolUseBlockStart(v **types.ToolUseBlockSta } sv.Name = ptr.String(jtv) } - case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -3880,7 +3737,6 @@ func awsRestjson1_deserializeDocumentToolUseBlockStart(v **types.ToolUseBlockSta } sv.ToolUseId = ptr.String(jtv) } - default: _, _ = key, value @@ -4314,15 +4170,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4330,15 +4180,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4499,7 +4345,6 @@ func awsRestjson1_deserializeDocumentConverseMetrics(v **types.ConverseMetrics, } sv.LatencyMs = ptr.Int64(i64) } - default: _, _ = key, value @@ -4575,7 +4420,6 @@ func awsRestjson1_deserializeDocumentConverseTrace(v **types.ConverseTrace, valu if err := awsRestjson1_deserializeDocumentGuardrailTraceAssessment(&sv.Guardrail, value); err != nil { return err } - default: _, _ = key, value @@ -4615,7 +4459,6 @@ func awsRestjson1_deserializeDocumentDocumentBlock(v **types.DocumentBlock, valu } sv.Format = types.DocumentFormat(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4624,12 +4467,10 @@ func awsRestjson1_deserializeDocumentDocumentBlock(v **types.DocumentBlock, valu } sv.Name = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -4787,7 +4628,6 @@ func awsRestjson1_deserializeDocumentGuardrailConverseTextBlock(v **types.Guardr if err := awsRestjson1_deserializeDocumentGuardrailConverseContentQualifierList(&sv.Qualifiers, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -4796,7 +4636,6 @@ func awsRestjson1_deserializeDocumentGuardrailConverseTextBlock(v **types.Guardr } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -4836,7 +4675,6 @@ func awsRestjson1_deserializeDocumentGuardrailOutputContent(v **types.GuardrailO } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -4910,12 +4748,10 @@ func awsRestjson1_deserializeDocumentImageBlock(v **types.ImageBlock, value inte } sv.Format = types.ImageFormat(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentImageSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -4997,7 +4833,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentContentBlocks(&sv.Content, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -5006,7 +4841,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Role = types.ConversationRole(jtv) } - default: _, _ = key, value @@ -5036,15 +4870,9 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5052,7 +4880,6 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.Message = ptr.String(jtv) } - case "originalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -5065,7 +4892,6 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -5074,15 +4900,11 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5107,15 +4929,9 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5123,15 +4939,11 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5156,15 +4968,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5172,15 +4978,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5205,15 +5007,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5221,15 +5017,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5260,7 +5052,6 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, if err := awsRestjson1_deserializeDocumentToolResultContentBlocks(&sv.Content, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5269,7 +5060,6 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, } sv.Status = types.ToolResultStatus(jtv) } - case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -5278,7 +5068,6 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, } sv.ToolUseId = ptr.String(jtv) } - default: _, _ = key, value @@ -5416,7 +5205,6 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value if err := awsRestjson1_deserializeDocumentDocument(&sv.Input, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5425,7 +5213,6 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value } sv.Name = ptr.String(jtv) } - case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -5434,7 +5221,6 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value } sv.ToolUseId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/billingconductor/deserializers.go b/service/billingconductor/deserializers.go index 99a3d3e8e67..43f34538572 100644 --- a/service/billingconductor/deserializers.go +++ b/service/billingconductor/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAccountsOutput(v **AssociateAcco } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -369,7 +368,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePricingRulesOutput(v **Associate } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -539,12 +537,10 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateResourcesToCustomLineItemOu if err := awsRestjson1_deserializeDocumentAssociateResourcesResponseList(&sv.FailedAssociatedResources, value); err != nil { return err } - case "SuccessfullyAssociatedResources": if err := awsRestjson1_deserializeDocumentAssociateResourcesResponseList(&sv.SuccessfullyAssociatedResources, value); err != nil { return err } - default: _, _ = key, value @@ -711,12 +707,10 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateResourcesFromCustomLineI if err := awsRestjson1_deserializeDocumentDisassociateResourcesResponseList(&sv.FailedDisassociatedResources, value); err != nil { return err } - case "SuccessfullyDisassociatedResources": if err := awsRestjson1_deserializeDocumentDisassociateResourcesResponseList(&sv.SuccessfullyDisassociatedResources, value); err != nil { return err } - default: _, _ = key, value @@ -887,7 +881,6 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1058,7 +1051,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomLineItemOutput(v **CreateCust } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1232,7 +1224,6 @@ func awsRestjson1_deserializeOpDocumentCreatePricingPlanOutput(v **CreatePricing } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1403,7 +1394,6 @@ func awsRestjson1_deserializeOpDocumentCreatePricingRuleOutput(v **CreatePricing } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1568,7 +1558,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBillingGroupOutput(v **DeleteBillin } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1736,7 +1725,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomLineItemOutput(v **DeleteCust } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1904,7 +1892,6 @@ func awsRestjson1_deserializeOpDocumentDeletePricingPlanOutput(v **DeletePricing } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2072,7 +2059,6 @@ func awsRestjson1_deserializeOpDocumentDeletePricingRuleOutput(v **DeletePricing } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2243,7 +2229,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateAccountsOutput(v **Disassocia } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2414,7 +2399,6 @@ func awsRestjson1_deserializeOpDocumentDisassociatePricingRulesOutput(v **Disass } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2578,7 +2562,6 @@ func awsRestjson1_deserializeOpDocumentGetBillingGroupCostReportOutput(v **GetBi if err := awsRestjson1_deserializeDocumentBillingGroupCostReportResultsList(&sv.BillingGroupCostReportResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2587,7 +2570,6 @@ func awsRestjson1_deserializeOpDocumentGetBillingGroupCostReportOutput(v **GetBi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2751,7 +2733,6 @@ func awsRestjson1_deserializeOpDocumentListAccountAssociationsOutput(v **ListAcc if err := awsRestjson1_deserializeDocumentAccountAssociationsList(&sv.LinkedAccounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2760,7 +2741,6 @@ func awsRestjson1_deserializeOpDocumentListAccountAssociationsOutput(v **ListAcc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2924,7 +2904,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupCostReportsOutput(v **Lis if err := awsRestjson1_deserializeDocumentBillingGroupCostReportList(&sv.BillingGroupCostReports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2933,7 +2912,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupCostReportsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3097,7 +3075,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr if err := awsRestjson1_deserializeDocumentBillingGroupList(&sv.BillingGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3106,7 +3083,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3270,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemsOutput(v **ListCustomL if err := awsRestjson1_deserializeDocumentCustomLineItemList(&sv.CustomLineItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3279,7 +3254,6 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemsOutput(v **ListCustomL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3440,7 +3414,6 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentCustomLineItemVersionList(&sv.CustomLineItemVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3449,7 +3422,6 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3614,7 +3586,6 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansOutput(v **ListPricingPla } sv.BillingPeriod = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3623,12 +3594,10 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansOutput(v **ListPricingPla } sv.NextToken = ptr.String(jtv) } - case "PricingPlans": if err := awsRestjson1_deserializeDocumentPricingPlanList(&sv.PricingPlans, value); err != nil { return err } - default: _, _ = key, value @@ -3796,7 +3765,6 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.BillingPeriod = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3805,12 +3773,10 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.NextToken = ptr.String(jtv) } - case "PricingPlanArns": if err := awsRestjson1_deserializeDocumentPricingPlanArns(&sv.PricingPlanArns, value); err != nil { return err } - case "PricingRuleArn": if value != nil { jtv, ok := value.(string) @@ -3819,7 +3785,6 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.PricingRuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3984,7 +3949,6 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesOutput(v **ListPricingRul } sv.BillingPeriod = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3993,12 +3957,10 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesOutput(v **ListPricingRul } sv.NextToken = ptr.String(jtv) } - case "PricingRules": if err := awsRestjson1_deserializeDocumentPricingRuleList(&sv.PricingRules, value); err != nil { return err } - default: _, _ = key, value @@ -4166,7 +4128,6 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.BillingPeriod = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4175,7 +4136,6 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.NextToken = ptr.String(jtv) } - case "PricingPlanArn": if value != nil { jtv, ok := value.(string) @@ -4184,12 +4144,10 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.PricingPlanArn = ptr.String(jtv) } - case "PricingRuleArns": if err := awsRestjson1_deserializeDocumentPricingRuleArns(&sv.PricingRuleArns, value); err != nil { return err } - default: _, _ = key, value @@ -4357,12 +4315,10 @@ func awsRestjson1_deserializeOpDocumentListResourcesAssociatedToCustomLineItemOu } sv.Arn = ptr.String(jtv) } - case "AssociatedResources": if err := awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResponseList(&sv.AssociatedResources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4371,7 +4327,6 @@ func awsRestjson1_deserializeOpDocumentListResourcesAssociatedToCustomLineItemOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4535,7 +4490,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4902,7 +4856,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin if err := awsRestjson1_deserializeDocumentUpdateBillingGroupAccountGrouping(&sv.AccountGrouping, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -4911,7 +4864,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4920,7 +4872,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -4933,7 +4884,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4942,7 +4892,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Name = ptr.String(jtv) } - case "PricingPlanArn": if value != nil { jtv, ok := value.(string) @@ -4951,7 +4900,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.PricingPlanArn = ptr.String(jtv) } - case "PrimaryAccountId": if value != nil { jtv, ok := value.(string) @@ -4960,7 +4908,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.PrimaryAccountId = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -4973,7 +4920,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Size = i64 } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4982,7 +4928,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Status = types.BillingGroupStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4991,7 +4936,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5159,7 +5103,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Arn = ptr.String(jtv) } - case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -5172,7 +5115,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.AssociationSize = i64 } - case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -5181,12 +5123,10 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.BillingGroupArn = ptr.String(jtv) } - case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5195,7 +5135,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5208,7 +5147,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5217,7 +5155,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5388,7 +5325,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5397,7 +5333,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5410,7 +5345,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5419,7 +5353,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Name = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -5432,7 +5365,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Size = i64 } - default: _, _ = key, value @@ -5603,7 +5535,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Arn = ptr.String(jtv) } - case "AssociatedPricingPlanCount": if value != nil { jtv, ok := value.(json.Number) @@ -5616,7 +5547,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.AssociatedPricingPlanCount = i64 } - case "BillingEntity": if value != nil { jtv, ok := value.(string) @@ -5625,7 +5555,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.BillingEntity = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5634,7 +5563,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5647,7 +5575,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.LastModifiedTime = i64 } - case "ModifierPercentage": if value != nil { switch jtv := value.(type) { @@ -5681,7 +5608,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5690,7 +5616,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Name = ptr.String(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -5699,7 +5624,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Operation = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -5708,7 +5632,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Scope = types.PricingRuleScope(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -5717,12 +5640,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Service = ptr.String(jtv) } - case "Tiering": if err := awsRestjson1_deserializeDocumentUpdateTieringInput(&sv.Tiering, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5731,7 +5652,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Type = types.PricingRuleType(jtv) } - case "UsageType": if value != nil { jtv, ok := value.(string) @@ -5740,7 +5660,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -6062,15 +5981,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6078,15 +5991,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6155,7 +6064,6 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountEmail = ptr.String(jtv) } - case "AccountId": if value != nil { jtv, ok := value.(string) @@ -6164,7 +6072,6 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountId = ptr.String(jtv) } - case "AccountName": if value != nil { jtv, ok := value.(string) @@ -6173,7 +6080,6 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountName = ptr.String(jtv) } - case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -6182,7 +6088,6 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.BillingGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6222,7 +6127,6 @@ func awsRestjson1_deserializeDocumentAssociateResourceError(v **types.AssociateR } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -6231,7 +6135,6 @@ func awsRestjson1_deserializeDocumentAssociateResourceError(v **types.AssociateR } sv.Reason = types.AssociateResourceErrorReason(jtv) } - default: _, _ = key, value @@ -6271,12 +6174,10 @@ func awsRestjson1_deserializeDocumentAssociateResourceResponseElement(v **types. } sv.Arn = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentAssociateResourceError(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -6350,7 +6251,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6359,7 +6259,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6433,7 +6332,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Arn = ptr.String(jtv) } - case "AWSCost": if value != nil { jtv, ok := value.(string) @@ -6442,7 +6340,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.AWSCost = ptr.String(jtv) } - case "Currency": if value != nil { jtv, ok := value.(string) @@ -6451,7 +6348,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Currency = ptr.String(jtv) } - case "Margin": if value != nil { jtv, ok := value.(string) @@ -6460,7 +6356,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Margin = ptr.String(jtv) } - case "MarginPercentage": if value != nil { jtv, ok := value.(string) @@ -6469,7 +6364,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.MarginPercentage = ptr.String(jtv) } - case "ProformaCost": if value != nil { jtv, ok := value.(string) @@ -6478,7 +6372,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.ProformaCost = ptr.String(jtv) } - default: _, _ = key, value @@ -6552,12 +6445,10 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Arn = ptr.String(jtv) } - case "Attributes": if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { return err } - case "AWSCost": if value != nil { jtv, ok := value.(string) @@ -6566,7 +6457,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.AWSCost = ptr.String(jtv) } - case "Currency": if value != nil { jtv, ok := value.(string) @@ -6575,7 +6465,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Currency = ptr.String(jtv) } - case "Margin": if value != nil { jtv, ok := value.(string) @@ -6584,7 +6473,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Margin = ptr.String(jtv) } - case "MarginPercentage": if value != nil { jtv, ok := value.(string) @@ -6593,7 +6481,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.MarginPercentage = ptr.String(jtv) } - case "ProformaCost": if value != nil { jtv, ok := value.(string) @@ -6602,7 +6489,6 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.ProformaCost = ptr.String(jtv) } - default: _, _ = key, value @@ -6706,7 +6592,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr if err := awsRestjson1_deserializeDocumentListBillingGroupAccountGrouping(&sv.AccountGrouping, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6715,12 +6600,10 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Arn = ptr.String(jtv) } - case "ComputationPreference": if err := awsRestjson1_deserializeDocumentComputationPreference(&sv.ComputationPreference, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -6733,7 +6616,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.CreationTime = i64 } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6742,7 +6624,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6755,7 +6636,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6644,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Name = ptr.String(jtv) } - case "PrimaryAccountId": if value != nil { jtv, ok := value.(string) @@ -6773,7 +6652,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.PrimaryAccountId = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -6786,7 +6664,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Size = i64 } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6795,7 +6672,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Status = types.BillingGroupStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6804,7 +6680,6 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6844,7 +6719,6 @@ func awsRestjson1_deserializeDocumentComputationPreference(v **types.Computation } sv.PricingPlanArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6874,15 +6748,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6890,7 +6758,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -6899,7 +6766,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6908,7 +6774,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6917,15 +6782,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6994,7 +6855,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.AccountId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -7003,7 +6863,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Arn = ptr.String(jtv) } - case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -7016,7 +6875,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.AssociationSize = i64 } - case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -7025,12 +6883,10 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.BillingGroupArn = ptr.String(jtv) } - case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -7043,7 +6899,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.CreationTime = i64 } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -7052,7 +6907,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.CurrencyCode = types.CurrencyCode(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7061,7 +6915,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7074,7 +6927,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7083,7 +6935,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Name = ptr.String(jtv) } - case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -7092,7 +6943,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.ProductCode = ptr.String(jtv) } - default: _, _ = key, value @@ -7166,7 +7016,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.AccountId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -7175,7 +7024,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Arn = ptr.String(jtv) } - case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -7188,7 +7036,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.AssociationSize = i64 } - case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -7197,12 +7044,10 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.BillingGroupArn = ptr.String(jtv) } - case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -7215,7 +7060,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.CreationTime = i64 } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -7224,7 +7068,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.CurrencyCode = types.CurrencyCode(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7233,7 +7076,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Description = ptr.String(jtv) } - case "EndBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7242,7 +7084,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.EndBillingPeriod = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7255,7 +7096,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7264,7 +7104,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Name = ptr.String(jtv) } - case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -7273,7 +7112,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.ProductCode = ptr.String(jtv) } - case "StartBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7282,7 +7120,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.StartBillingPeriod = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(json.Number) @@ -7295,7 +7132,6 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.StartTime = i64 } - default: _, _ = key, value @@ -7335,12 +7171,10 @@ func awsRestjson1_deserializeDocumentDisassociateResourceResponseElement(v **typ } sv.Arn = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentAssociateResourceError(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -7414,7 +7248,6 @@ func awsRestjson1_deserializeDocumentFreeTierConfig(v **types.FreeTierConfig, va } sv.Activated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7444,15 +7277,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7460,7 +7287,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7473,15 +7299,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7516,7 +7338,6 @@ func awsRestjson1_deserializeDocumentLineItemFilter(v **types.LineItemFilter, va } sv.Attribute = types.LineItemFilterAttributeName(jtv) } - case "MatchOption": if value != nil { jtv, ok := value.(string) @@ -7525,12 +7346,10 @@ func awsRestjson1_deserializeDocumentLineItemFilter(v **types.LineItemFilter, va } sv.MatchOption = types.MatchOption(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentLineItemFilterValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7640,7 +7459,6 @@ func awsRestjson1_deserializeDocumentListBillingGroupAccountGrouping(v **types.L } sv.AutoAssociate = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7676,17 +7494,14 @@ func awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(v **types.L if err := awsRestjson1_deserializeDocumentListCustomLineItemFlatChargeDetails(&sv.Flat, value); err != nil { return err } - case "LineItemFilters": if err := awsRestjson1_deserializeDocumentLineItemFiltersList(&sv.LineItemFilters, value); err != nil { return err } - case "Percentage": if err := awsRestjson1_deserializeDocumentListCustomLineItemPercentageChargeDetails(&sv.Percentage, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7695,7 +7510,6 @@ func awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(v **types.L } sv.Type = types.CustomLineItemType(jtv) } - default: _, _ = key, value @@ -7760,7 +7574,6 @@ func awsRestjson1_deserializeDocumentListCustomLineItemFlatChargeDetails(v **typ } } - default: _, _ = key, value @@ -7825,7 +7638,6 @@ func awsRestjson1_deserializeDocumentListCustomLineItemPercentageChargeDetails(v } } - default: _, _ = key, value @@ -7865,7 +7677,6 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.Arn = ptr.String(jtv) } - case "EndBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7874,7 +7685,6 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.EndBillingPeriod = ptr.String(jtv) } - case "Relationship": if value != nil { jtv, ok := value.(string) @@ -7883,7 +7693,6 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.Relationship = types.CustomLineItemRelationship(jtv) } - default: _, _ = key, value @@ -8027,7 +7836,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -8040,7 +7848,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.CreationTime = i64 } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8049,7 +7856,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -8062,7 +7868,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.LastModifiedTime = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8071,7 +7876,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Name = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -8084,7 +7888,6 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Size = i64 } - default: _, _ = key, value @@ -8194,7 +7997,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Arn = ptr.String(jtv) } - case "AssociatedPricingPlanCount": if value != nil { jtv, ok := value.(json.Number) @@ -8207,7 +8009,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.AssociatedPricingPlanCount = i64 } - case "BillingEntity": if value != nil { jtv, ok := value.(string) @@ -8216,7 +8017,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.BillingEntity = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -8229,7 +8029,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.CreationTime = i64 } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8238,7 +8037,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -8251,7 +8049,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.LastModifiedTime = i64 } - case "ModifierPercentage": if value != nil { switch jtv := value.(type) { @@ -8285,7 +8082,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8294,7 +8090,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Name = ptr.String(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -8303,7 +8098,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Operation = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -8312,7 +8106,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Scope = types.PricingRuleScope(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -8321,12 +8114,10 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Service = ptr.String(jtv) } - case "Tiering": if err := awsRestjson1_deserializeDocumentTiering(&sv.Tiering, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8335,7 +8126,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Type = types.PricingRuleType(jtv) } - case "UsageType": if value != nil { jtv, ok := value.(string) @@ -8344,7 +8134,6 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -8374,15 +8163,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8390,7 +8173,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8399,7 +8181,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8408,15 +8189,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8441,13 +8218,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "LimitCode": if value != nil { @@ -8457,8 +8228,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8466,7 +8236,6 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8475,7 +8244,6 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8484,7 +8252,6 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -8493,15 +8260,11 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8562,15 +8325,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8578,7 +8335,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8591,15 +8347,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8630,7 +8382,6 @@ func awsRestjson1_deserializeDocumentTiering(v **types.Tiering, value interface{ if err := awsRestjson1_deserializeDocumentFreeTierConfig(&sv.FreeTier, value); err != nil { return err } - default: _, _ = key, value @@ -8670,7 +8421,6 @@ func awsRestjson1_deserializeDocumentUpdateBillingGroupAccountGrouping(v **types } sv.AutoAssociate = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8710,7 +8460,6 @@ func awsRestjson1_deserializeDocumentUpdateFreeTierConfig(v **types.UpdateFreeTi } sv.Activated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8746,7 +8495,6 @@ func awsRestjson1_deserializeDocumentUpdateTieringInput(v **types.UpdateTieringI if err := awsRestjson1_deserializeDocumentUpdateFreeTierConfig(&sv.FreeTier, value); err != nil { return err } - default: _, _ = key, value @@ -8776,20 +8524,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8797,7 +8538,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -8806,15 +8546,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8849,7 +8585,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8858,7 +8593,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/braket/deserializers.go b/service/braket/deserializers.go index 60ec752a69a..7e20f56991c 100644 --- a/service/braket/deserializers.go +++ b/service/braket/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.CancellationStatus = types.CancellationStatus(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -199,7 +198,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -370,7 +368,6 @@ func awsRestjson1_deserializeOpDocumentCancelQuantumTaskOutput(v **CancelQuantum } sv.CancellationStatus = types.CancellationStatus(jtv) } - case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -379,7 +376,6 @@ func awsRestjson1_deserializeOpDocumentCancelQuantumTaskOutput(v **CancelQuantum } sv.QuantumTaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -556,7 +552,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -730,7 +725,6 @@ func awsRestjson1_deserializeOpDocumentCreateQuantumTaskOutput(v **CreateQuantum } sv.QuantumTaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -898,7 +892,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceArn = ptr.String(jtv) } - case "deviceCapabilities": if value != nil { jtv, ok := value.(string) @@ -907,7 +900,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceCapabilities = ptr.String(jtv) } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -916,12 +908,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceName = ptr.String(jtv) } - case "deviceQueueInfo": if err := awsRestjson1_deserializeDocumentDeviceQueueInfoList(&sv.DeviceQueueInfo, value); err != nil { return err } - case "deviceStatus": if value != nil { jtv, ok := value.(string) @@ -930,7 +920,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceStatus = types.DeviceStatus(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -939,7 +928,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceType = types.DeviceType(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -948,7 +936,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.ProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -1112,12 +1099,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } - case "associations": if err := awsRestjson1_deserializeDocumentAssociations(&sv.Associations, value); err != nil { return err } - case "billableDuration": if value != nil { jtv, ok := value.(json.Number) @@ -1130,12 +1115,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.BillableDuration = ptr.Int32(int32(i64)) } - case "checkpointConfig": if err := awsRestjson1_deserializeDocumentJobCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1148,12 +1131,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } - case "deviceConfig": if err := awsRestjson1_deserializeDocumentDeviceConfig(&sv.DeviceConfig, value); err != nil { return err } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -1166,12 +1147,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.EndedAt = ptr.Time(t) } - case "events": if err := awsRestjson1_deserializeDocumentJobEvents(&sv.Events, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1180,22 +1159,18 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.FailureReason = ptr.String(jtv) } - case "hyperParameters": if err := awsRestjson1_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "inputDataConfig": if err := awsRestjson1_deserializeDocumentInputConfigList(&sv.InputDataConfig, value); err != nil { return err } - case "instanceConfig": if err := awsRestjson1_deserializeDocumentInstanceConfig(&sv.InstanceConfig, value); err != nil { return err } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1204,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -1213,17 +1187,14 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobName = ptr.String(jtv) } - case "outputDataConfig": if err := awsRestjson1_deserializeDocumentJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "queueInfo": if err := awsRestjson1_deserializeDocumentHybridJobQueueInfo(&sv.QueueInfo, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1232,7 +1203,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.RoleArn = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -1245,7 +1215,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1254,17 +1223,14 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Status = types.JobPrimaryStatus(jtv) } - case "stoppingCondition": if err := awsRestjson1_deserializeDocumentJobStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1428,7 +1394,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu if err := awsRestjson1_deserializeDocumentAssociations(&sv.Associations, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1441,7 +1406,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.CreatedAt = ptr.Time(t) } - case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -1450,7 +1414,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.DeviceArn = ptr.String(jtv) } - case "deviceParameters": if value != nil { jtv, ok := value.(string) @@ -1459,7 +1422,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.DeviceParameters = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -1472,7 +1434,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.EndedAt = ptr.Time(t) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1481,7 +1442,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.FailureReason = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1490,7 +1450,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.JobArn = ptr.String(jtv) } - case "outputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1458,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.OutputS3Bucket = ptr.String(jtv) } - case "outputS3Directory": if value != nil { jtv, ok := value.(string) @@ -1508,7 +1466,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.OutputS3Directory = ptr.String(jtv) } - case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -1517,12 +1474,10 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.QuantumTaskArn = ptr.String(jtv) } - case "queueInfo": if err := awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(&sv.QueueInfo, value); err != nil { return err } - case "shots": if value != nil { jtv, ok := value.(json.Number) @@ -1535,7 +1490,6 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.Shots = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1544,12 +1498,10 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.Status = types.QuantumTaskStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1707,7 +1659,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1868,7 +1819,6 @@ func awsRestjson1_deserializeOpDocumentSearchDevicesOutput(v **SearchDevicesOutp if err := awsRestjson1_deserializeDocumentDeviceSummaryList(&sv.Devices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1877,7 +1827,6 @@ func awsRestjson1_deserializeOpDocumentSearchDevicesOutput(v **SearchDevicesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2038,7 +1987,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2047,7 +1995,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2212,12 +2159,10 @@ func awsRestjson1_deserializeOpDocumentSearchQuantumTasksOutput(v **SearchQuantu } sv.NextToken = ptr.String(jtv) } - case "quantumTasks": if err := awsRestjson1_deserializeDocumentQuantumTaskSummaryList(&sv.QuantumTasks, value); err != nil { return err } - default: _, _ = key, value @@ -2759,15 +2704,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2775,15 +2714,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2814,12 +2749,10 @@ func awsRestjson1_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS if err := awsRestjson1_deserializeDocumentContainerImage(&sv.ContainerImage, value); err != nil { return err } - case "scriptModeConfig": if err := awsRestjson1_deserializeDocumentScriptModeConfig(&sv.ScriptModeConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2859,7 +2792,6 @@ func awsRestjson1_deserializeDocumentAssociation(v **types.Association, value in } sv.Arn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2868,7 +2800,6 @@ func awsRestjson1_deserializeDocumentAssociation(v **types.Association, value in } sv.Type = types.AssociationType(jtv) } - default: _, _ = key, value @@ -2932,15 +2863,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2948,15 +2873,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2991,7 +2912,6 @@ func awsRestjson1_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3027,7 +2947,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentS3DataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -3067,7 +2986,6 @@ func awsRestjson1_deserializeDocumentDeviceConfig(v **types.DeviceConfig, value } sv.Device = ptr.String(jtv) } - default: _, _ = key, value @@ -3097,15 +3015,9 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3113,15 +3025,11 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3156,7 +3064,6 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.Queue = types.QueueName(jtv) } - case "queuePriority": if value != nil { jtv, ok := value.(string) @@ -3165,7 +3072,6 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.QueuePriority = types.QueuePriority(jtv) } - case "queueSize": if value != nil { jtv, ok := value.(string) @@ -3174,7 +3080,6 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.QueueSize = ptr.String(jtv) } - default: _, _ = key, value @@ -3238,15 +3143,9 @@ func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceReti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3254,15 +3153,11 @@ func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceReti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3297,7 +3192,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceArn = ptr.String(jtv) } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -3306,7 +3200,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceName = ptr.String(jtv) } - case "deviceStatus": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3208,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceStatus = types.DeviceStatus(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -3324,7 +3216,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceType = types.DeviceType(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -3333,7 +3224,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -3407,7 +3297,6 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Message = ptr.String(jtv) } - case "position": if value != nil { jtv, ok := value.(string) @@ -3416,7 +3305,6 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Position = ptr.String(jtv) } - case "queue": if value != nil { jtv, ok := value.(string) @@ -3425,7 +3313,6 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Queue = types.QueueName(jtv) } - default: _, _ = key, value @@ -3535,7 +3422,6 @@ func awsRestjson1_deserializeDocumentInputFileConfig(v **types.InputFileConfig, } sv.ChannelName = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -3544,12 +3430,10 @@ func awsRestjson1_deserializeDocumentInputFileConfig(v **types.InputFileConfig, } sv.ContentType = ptr.String(jtv) } - case "dataSource": if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -3593,7 +3477,6 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3485,6 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceType = types.InstanceType(jtv) } - case "volumeSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -3615,7 +3497,6 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.VolumeSizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3645,15 +3526,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3661,15 +3536,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3704,7 +3575,6 @@ func awsRestjson1_deserializeDocumentJobCheckpointConfig(v **types.JobCheckpoint } sv.LocalPath = ptr.String(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -3713,7 +3583,6 @@ func awsRestjson1_deserializeDocumentJobCheckpointConfig(v **types.JobCheckpoint } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3753,7 +3622,6 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.EventType = types.JobEventType(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -3762,7 +3630,6 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.Message = ptr.String(jtv) } - case "timeOfEvent": if value != nil { jtv, ok := value.(string) @@ -3775,7 +3642,6 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.TimeOfEvent = ptr.Time(t) } - default: _, _ = key, value @@ -3849,7 +3715,6 @@ func awsRestjson1_deserializeDocumentJobOutputDataConfig(v **types.JobOutputData } sv.KmsKeyId = ptr.String(jtv) } - case "s3Path": if value != nil { jtv, ok := value.(string) @@ -3858,7 +3723,6 @@ func awsRestjson1_deserializeDocumentJobOutputDataConfig(v **types.JobOutputData } sv.S3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -3902,7 +3766,6 @@ func awsRestjson1_deserializeDocumentJobStoppingCondition(v **types.JobStoppingC } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3946,7 +3809,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } - case "device": if value != nil { jtv, ok := value.(string) @@ -3955,7 +3817,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Device = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -3968,7 +3829,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.EndedAt = ptr.Time(t) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -3977,7 +3837,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -3986,7 +3845,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobName = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -3999,7 +3857,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4008,12 +3865,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobPrimaryStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4087,7 +3942,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Message = ptr.String(jtv) } - case "position": if value != nil { jtv, ok := value.(string) @@ -4096,7 +3950,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Position = ptr.String(jtv) } - case "queue": if value != nil { jtv, ok := value.(string) @@ -4105,7 +3958,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Queue = types.QueueName(jtv) } - case "queuePriority": if value != nil { jtv, ok := value.(string) @@ -4114,7 +3966,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.QueuePriority = types.QueuePriority(jtv) } - default: _, _ = key, value @@ -4158,7 +4009,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.CreatedAt = ptr.Time(t) } - case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -4167,7 +4017,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.DeviceArn = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -4180,7 +4029,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.EndedAt = ptr.Time(t) } - case "outputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -4189,7 +4037,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.OutputS3Bucket = ptr.String(jtv) } - case "outputS3Directory": if value != nil { jtv, ok := value.(string) @@ -4198,7 +4045,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.OutputS3Directory = ptr.String(jtv) } - case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -4207,7 +4053,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.QuantumTaskArn = ptr.String(jtv) } - case "shots": if value != nil { jtv, ok := value.(json.Number) @@ -4220,7 +4065,6 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.Shots = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4229,12 +4073,10 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.Status = types.QuantumTaskStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4298,15 +4140,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4314,15 +4150,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4357,7 +4189,6 @@ func awsRestjson1_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -4397,7 +4228,6 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.CompressionType = types.CompressionType(jtv) } - case "entryPoint": if value != nil { jtv, ok := value.(string) @@ -4406,7 +4236,6 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.EntryPoint = ptr.String(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -4415,7 +4244,6 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -4445,15 +4273,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4461,15 +4283,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4530,15 +4348,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4546,15 +4358,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4579,15 +4387,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4595,15 +4397,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/budgets/deserializers.go b/service/budgets/deserializers.go index 8e79f7719c6..540f9156d17 100644 --- a/service/budgets/deserializers.go +++ b/service/budgets/deserializers.go @@ -3714,15 +3714,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3730,15 +3724,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3773,12 +3763,10 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionId = ptr.String(jtv) } - case "ActionThreshold": if err := awsAwsjson11_deserializeDocumentActionThreshold(&sv.ActionThreshold, value); err != nil { return err } - case "ActionType": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3775,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = types.ActionType(jtv) } - case "ApprovalModel": if value != nil { jtv, ok := value.(string) @@ -3796,7 +3783,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ApprovalModel = types.ApprovalModel(jtv) } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -3805,12 +3791,10 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.BudgetName = ptr.String(jtv) } - case "Definition": if err := awsAwsjson11_deserializeDocumentDefinition(&sv.Definition, value); err != nil { return err } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3819,7 +3803,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } - case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -3828,7 +3811,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.NotificationType = types.NotificationType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3837,12 +3819,10 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Status = types.ActionStatus(jtv) } - case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } - default: _, _ = key, value @@ -3912,7 +3892,6 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu if err := awsAwsjson11_deserializeDocumentActionHistoryDetails(&sv.ActionHistoryDetails, value); err != nil { return err } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -3921,7 +3900,6 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } sv.EventType = types.EventType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3930,7 +3908,6 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } sv.Status = types.ActionStatus(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -3946,7 +3923,6 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } } - default: _, _ = key, value @@ -3982,7 +3958,6 @@ func awsAwsjson11_deserializeDocumentActionHistoryDetails(v **types.ActionHistor if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3991,7 +3966,6 @@ func awsAwsjson11_deserializeDocumentActionHistoryDetails(v **types.ActionHistor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -4065,7 +4039,6 @@ func awsAwsjson11_deserializeDocumentActionThreshold(v **types.ActionThreshold, } sv.ActionThresholdType = types.ThresholdType(jtv) } - case "ActionThresholdValue": if value != nil { switch jtv := value.(type) { @@ -4099,7 +4072,6 @@ func awsAwsjson11_deserializeDocumentActionThreshold(v **types.ActionThreshold, } } - default: _, _ = key, value @@ -4139,12 +4111,10 @@ func awsAwsjson11_deserializeDocumentAutoAdjustData(v **types.AutoAdjustData, va } sv.AutoAdjustType = types.AutoAdjustType(jtv) } - case "HistoricalOptions": if err := awsAwsjson11_deserializeDocumentHistoricalOptions(&sv.HistoricalOptions, value); err != nil { return err } - case "LastAutoAdjustTime": if value != nil { switch jtv := value.(type) { @@ -4160,7 +4130,6 @@ func awsAwsjson11_deserializeDocumentAutoAdjustData(v **types.AutoAdjustData, va } } - default: _, _ = key, value @@ -4196,12 +4165,10 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) if err := awsAwsjson11_deserializeDocumentAutoAdjustData(&sv.AutoAdjustData, value); err != nil { return err } - case "BudgetLimit": if err := awsAwsjson11_deserializeDocumentSpend(&sv.BudgetLimit, value); err != nil { return err } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -4210,7 +4177,6 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.BudgetName = ptr.String(jtv) } - case "BudgetType": if value != nil { jtv, ok := value.(string) @@ -4219,22 +4185,18 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.BudgetType = types.BudgetType(jtv) } - case "CalculatedSpend": if err := awsAwsjson11_deserializeDocumentCalculatedSpend(&sv.CalculatedSpend, value); err != nil { return err } - case "CostFilters": if err := awsAwsjson11_deserializeDocumentCostFilters(&sv.CostFilters, value); err != nil { return err } - case "CostTypes": if err := awsAwsjson11_deserializeDocumentCostTypes(&sv.CostTypes, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4250,17 +4212,14 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } } - case "PlannedBudgetLimits": if err := awsAwsjson11_deserializeDocumentPlannedBudgetLimits(&sv.PlannedBudgetLimits, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } - case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -4269,7 +4228,6 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.TimeUnit = types.TimeUnit(jtv) } - default: _, _ = key, value @@ -4305,17 +4263,14 @@ func awsAwsjson11_deserializeDocumentBudgetedAndActualAmounts(v **types.Budgeted if err := awsAwsjson11_deserializeDocumentSpend(&sv.ActualAmount, value); err != nil { return err } - case "BudgetedAmount": if err := awsAwsjson11_deserializeDocumentSpend(&sv.BudgetedAmount, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } - default: _, _ = key, value @@ -4389,12 +4344,10 @@ func awsAwsjson11_deserializeDocumentBudgetNotificationsForAccount(v **types.Bud } sv.BudgetName = ptr.String(jtv) } - case "Notifications": if err := awsAwsjson11_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } - default: _, _ = key, value @@ -4464,7 +4417,6 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe if err := awsAwsjson11_deserializeDocumentBudgetedAndActualAmountsList(&sv.BudgetedAndActualAmountsList, value); err != nil { return err } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -4473,7 +4425,6 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.BudgetName = ptr.String(jtv) } - case "BudgetType": if value != nil { jtv, ok := value.(string) @@ -4482,17 +4433,14 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.BudgetType = types.BudgetType(jtv) } - case "CostFilters": if err := awsAwsjson11_deserializeDocumentCostFilters(&sv.CostFilters, value); err != nil { return err } - case "CostTypes": if err := awsAwsjson11_deserializeDocumentCostTypes(&sv.CostTypes, value); err != nil { return err } - case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -4501,7 +4449,6 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.TimeUnit = types.TimeUnit(jtv) } - default: _, _ = key, value @@ -4571,12 +4518,10 @@ func awsAwsjson11_deserializeDocumentCalculatedSpend(v **types.CalculatedSpend, if err := awsAwsjson11_deserializeDocumentSpend(&sv.ActualSpend, value); err != nil { return err } - case "ForecastedSpend": if err := awsAwsjson11_deserializeDocumentSpend(&sv.ForecastedSpend, value); err != nil { return err } - default: _, _ = key, value @@ -4650,7 +4595,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeCredit = ptr.Bool(jtv) } - case "IncludeDiscount": if value != nil { jtv, ok := value.(bool) @@ -4659,7 +4603,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeDiscount = ptr.Bool(jtv) } - case "IncludeOtherSubscription": if value != nil { jtv, ok := value.(bool) @@ -4668,7 +4611,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeOtherSubscription = ptr.Bool(jtv) } - case "IncludeRecurring": if value != nil { jtv, ok := value.(bool) @@ -4677,7 +4619,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeRecurring = ptr.Bool(jtv) } - case "IncludeRefund": if value != nil { jtv, ok := value.(bool) @@ -4686,7 +4627,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeRefund = ptr.Bool(jtv) } - case "IncludeSubscription": if value != nil { jtv, ok := value.(bool) @@ -4695,7 +4635,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeSubscription = ptr.Bool(jtv) } - case "IncludeSupport": if value != nil { jtv, ok := value.(bool) @@ -4704,7 +4643,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeSupport = ptr.Bool(jtv) } - case "IncludeTax": if value != nil { jtv, ok := value.(bool) @@ -4713,7 +4651,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeTax = ptr.Bool(jtv) } - case "IncludeUpfront": if value != nil { jtv, ok := value.(bool) @@ -4722,7 +4659,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeUpfront = ptr.Bool(jtv) } - case "UseAmortized": if value != nil { jtv, ok := value.(bool) @@ -4731,7 +4667,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.UseAmortized = ptr.Bool(jtv) } - case "UseBlended": if value != nil { jtv, ok := value.(bool) @@ -4740,7 +4675,6 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.UseBlended = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4770,15 +4704,9 @@ func awsAwsjson11_deserializeDocumentCreationLimitExceededException(v **types.Cr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4786,15 +4714,11 @@ func awsAwsjson11_deserializeDocumentCreationLimitExceededException(v **types.Cr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4825,17 +4749,14 @@ func awsAwsjson11_deserializeDocumentDefinition(v **types.Definition, value inte if err := awsAwsjson11_deserializeDocumentIamActionDefinition(&sv.IamActionDefinition, value); err != nil { return err } - case "ScpActionDefinition": if err := awsAwsjson11_deserializeDocumentScpActionDefinition(&sv.ScpActionDefinition, value); err != nil { return err } - case "SsmActionDefinition": if err := awsAwsjson11_deserializeDocumentSsmActionDefinition(&sv.SsmActionDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -4901,15 +4822,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRecordException(v **types.Duplicat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4917,15 +4832,11 @@ func awsAwsjson11_deserializeDocumentDuplicateRecordException(v **types.Duplicat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4950,15 +4861,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4966,15 +4871,11 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5049,7 +4950,6 @@ func awsAwsjson11_deserializeDocumentHistoricalOptions(v **types.HistoricalOptio } sv.BudgetAdjustmentPeriod = ptr.Int32(int32(i64)) } - case "LookBackAvailablePeriods": if value != nil { jtv, ok := value.(json.Number) @@ -5062,7 +4962,6 @@ func awsAwsjson11_deserializeDocumentHistoricalOptions(v **types.HistoricalOptio } sv.LookBackAvailablePeriods = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5098,7 +4997,6 @@ func awsAwsjson11_deserializeDocumentIamActionDefinition(v **types.IamActionDefi if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -5107,17 +5005,14 @@ func awsAwsjson11_deserializeDocumentIamActionDefinition(v **types.IamActionDefi } sv.PolicyArn = ptr.String(jtv) } - case "Roles": if err := awsAwsjson11_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } - case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -5183,15 +5078,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5199,15 +5088,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5232,15 +5117,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5248,15 +5127,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5281,15 +5156,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5297,15 +5166,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5330,15 +5195,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5346,15 +5205,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5389,7 +5244,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "NotificationState": if value != nil { jtv, ok := value.(string) @@ -5398,7 +5252,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotificationState = types.NotificationState(jtv) } - case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5260,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotificationType = types.NotificationType(jtv) } - case "Threshold": if value != nil { switch jtv := value.(type) { @@ -5441,7 +5293,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } } - case "ThresholdType": if value != nil { jtv, ok := value.(string) @@ -5450,7 +5301,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.ThresholdType = types.ThresholdType(jtv) } - default: _, _ = key, value @@ -5549,15 +5399,9 @@ func awsAwsjson11_deserializeDocumentResourceLockedException(v **types.ResourceL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5565,15 +5409,11 @@ func awsAwsjson11_deserializeDocumentResourceLockedException(v **types.ResourceL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5608,7 +5448,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5617,7 +5456,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5727,12 +5565,10 @@ func awsAwsjson11_deserializeDocumentScpActionDefinition(v **types.ScpActionDefi } sv.PolicyId = ptr.String(jtv) } - case "TargetIds": if err := awsAwsjson11_deserializeDocumentTargetIds(&sv.TargetIds, value); err != nil { return err } - default: _, _ = key, value @@ -5762,15 +5598,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5778,15 +5608,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5821,7 +5647,6 @@ func awsAwsjson11_deserializeDocumentSpend(v **types.Spend, value interface{}) e } sv.Amount = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -5830,7 +5655,6 @@ func awsAwsjson11_deserializeDocumentSpend(v **types.Spend, value interface{}) e } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -5870,12 +5694,10 @@ func awsAwsjson11_deserializeDocumentSsmActionDefinition(v **types.SsmActionDefi } sv.ActionSubType = types.ActionSubType(jtv) } - case "InstanceIds": if err := awsAwsjson11_deserializeDocumentInstanceIds(&sv.InstanceIds, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -5884,7 +5706,6 @@ func awsAwsjson11_deserializeDocumentSsmActionDefinition(v **types.SsmActionDefi } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -5924,7 +5745,6 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Address = ptr.String(jtv) } - case "SubscriptionType": if value != nil { jtv, ok := value.(string) @@ -5933,7 +5753,6 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.SubscriptionType = types.SubscriptionType(jtv) } - default: _, _ = key, value @@ -6033,15 +5852,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6049,15 +5862,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6099,7 +5908,6 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } - case "Start": if value != nil { switch jtv := value.(type) { @@ -6115,7 +5923,6 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } - default: _, _ = key, value @@ -6191,7 +5998,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.AccountId = ptr.String(jtv) } - case "ActionId": if value != nil { jtv, ok := value.(string) @@ -6200,7 +6006,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.ActionId = ptr.String(jtv) } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6209,7 +6014,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.BudgetName = ptr.String(jtv) } - default: _, _ = key, value @@ -6342,12 +6146,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteBudgetActionOutput(v **DeleteBudget } sv.AccountId = ptr.String(jtv) } - case "Action": if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6356,7 +6158,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBudgetActionOutput(v **DeleteBudget } sv.BudgetName = ptr.String(jtv) } - default: _, _ = key, value @@ -6485,7 +6286,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionHistoriesOutput(v **D if err := awsAwsjson11_deserializeDocumentActionHistories(&sv.ActionHistories, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6294,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionHistoriesOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6534,12 +6333,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionOutput(v **DescribeBu } sv.AccountId = ptr.String(jtv) } - case "Action": if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6548,7 +6345,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionOutput(v **DescribeBu } sv.BudgetName = ptr.String(jtv) } - default: _, _ = key, value @@ -6584,7 +6380,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForAccountOutput(v * if err := awsAwsjson11_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6593,7 +6388,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForAccountOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6629,7 +6423,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForBudgetOutput(v ** if err := awsAwsjson11_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6638,7 +6431,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForBudgetOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6674,7 +6466,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetNotificationsForAccountOutp if err := awsAwsjson11_deserializeDocumentBudgetNotificationsForAccountList(&sv.BudgetNotificationsForAccount, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6683,7 +6474,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetNotificationsForAccountOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6719,7 +6509,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetOutput(v **DescribeBudgetOu if err := awsAwsjson11_deserializeDocumentBudget(&sv.Budget, value); err != nil { return err } - default: _, _ = key, value @@ -6755,7 +6544,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetPerformanceHistoryOutput(v if err := awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(&sv.BudgetPerformanceHistory, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6552,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetPerformanceHistoryOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6800,7 +6587,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetsOutput(v **DescribeBudgets if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6809,7 +6595,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetsOutput(v **DescribeBudgets } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6849,12 +6634,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotificationsForBudgetOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Notifications": if err := awsAwsjson11_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } - default: _, _ = key, value @@ -6894,12 +6677,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscribersForNotificationOutput( } sv.NextToken = ptr.String(jtv) } - case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } - default: _, _ = key, value @@ -6939,7 +6720,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.AccountId = ptr.String(jtv) } - case "ActionId": if value != nil { jtv, ok := value.(string) @@ -6948,7 +6728,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.ActionId = ptr.String(jtv) } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6957,7 +6736,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.BudgetName = ptr.String(jtv) } - case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -6966,7 +6744,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.ExecutionType = types.ExecutionType(jtv) } - default: _, _ = key, value @@ -7002,7 +6779,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -7104,7 +6880,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBudgetActionOutput(v **UpdateBudget } sv.AccountId = ptr.String(jtv) } - case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -7113,17 +6888,14 @@ func awsAwsjson11_deserializeOpDocumentUpdateBudgetActionOutput(v **UpdateBudget } sv.BudgetName = ptr.String(jtv) } - case "NewAction": if err := awsAwsjson11_deserializeDocumentAction(&sv.NewAction, value); err != nil { return err } - case "OldAction": if err := awsAwsjson11_deserializeDocumentAction(&sv.OldAction, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/chatbot/deserializers.go b/service/chatbot/deserializers.go index 1f07237ab23..16f6aaee9a4 100644 --- a/service/chatbot/deserializers.go +++ b/service/chatbot/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentCreateChimeWebhookConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentChimeWebhookConfiguration(&sv.WebhookConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -347,7 +346,6 @@ func awsRestjson1_deserializeOpDocumentCreateMicrosoftTeamsChannelConfigurationO if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -511,7 +509,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlackChannelConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentSlackChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1334,12 +1331,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChimeWebhookConfigurationsOutput( } sv.NextToken = ptr.String(jtv) } - case "WebhookConfigurations": if err := awsRestjson1_deserializeDocumentChimeWebhookConfigurationList(&sv.WebhookConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -1501,12 +1496,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackChannelConfigurationsOutput( } sv.NextToken = ptr.String(jtv) } - case "SlackChannelConfigurations": if err := awsRestjson1_deserializeDocumentSlackChannelConfigurationList(&sv.SlackChannelConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -1668,12 +1661,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackUserIdentitiesOutput(v **Des } sv.NextToken = ptr.String(jtv) } - case "SlackUserIdentities": if err := awsRestjson1_deserializeDocumentSlackUserIdentitiesList(&sv.SlackUserIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -1835,12 +1826,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackWorkspacesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "SlackWorkspaces": if err := awsRestjson1_deserializeDocumentSlackWorkspacesList(&sv.SlackWorkspaces, value); err != nil { return err } - default: _, _ = key, value @@ -1995,7 +1984,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountPreferencesOutput(v **GetAccoun if err := awsRestjson1_deserializeDocumentAccountPreferences(&sv.AccountPreferences, value); err != nil { return err } - default: _, _ = key, value @@ -2153,7 +2141,6 @@ func awsRestjson1_deserializeOpDocumentGetMicrosoftTeamsChannelConfigurationOutp if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2315,12 +2302,10 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsChannelConfigurationsOu } sv.NextToken = ptr.String(jtv) } - case "TeamChannelConfigurations": if err := awsRestjson1_deserializeDocumentTeamChannelConfigurationsList(&sv.TeamChannelConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -2478,7 +2463,6 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsConfiguredTeamsOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTeamsList(&sv.ConfiguredTeams, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2487,7 +2471,6 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsConfiguredTeamsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2649,12 +2632,10 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsUserIdentitiesOutput(v } sv.NextToken = ptr.String(jtv) } - case "TeamsUserIdentities": if err := awsRestjson1_deserializeDocumentTeamsUserIdentitiesList(&sv.TeamsUserIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -2812,7 +2793,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3161,7 +3141,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountPreferencesOutput(v **Update if err := awsRestjson1_deserializeDocumentAccountPreferences(&sv.AccountPreferences, value); err != nil { return err } - default: _, _ = key, value @@ -3322,7 +3301,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChimeWebhookConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentChimeWebhookConfiguration(&sv.WebhookConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3483,7 +3461,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMicrosoftTeamsChannelConfigurationO if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3644,7 +3621,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentSlackChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4800,7 +4776,6 @@ func awsRestjson1_deserializeDocumentAccountPreferences(v **types.AccountPrefere } sv.TrainingDataCollectionEnabled = ptr.Bool(jtv) } - case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -4809,7 +4784,6 @@ func awsRestjson1_deserializeDocumentAccountPreferences(v **types.AccountPrefere } sv.UserAuthorizationRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4849,7 +4823,6 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.ChatConfigurationArn = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4858,7 +4831,6 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.ConfigurationName = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -4867,7 +4839,6 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.IamRoleArn = ptr.String(jtv) } - case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -4876,12 +4847,10 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.LoggingLevel = ptr.String(jtv) } - case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -4890,7 +4859,6 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4899,12 +4867,10 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.StateReason = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "WebhookDescription": if value != nil { jtv, ok := value.(string) @@ -4913,7 +4879,6 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.WebhookDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -4987,7 +4952,6 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4996,7 +4960,6 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.StateReason = ptr.String(jtv) } - case "TeamId": if value != nil { jtv, ok := value.(string) @@ -5005,7 +4968,6 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TeamId = ptr.String(jtv) } - case "TeamName": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4976,6 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TeamName = ptr.String(jtv) } - case "TenantId": if value != nil { jtv, ok := value.(string) @@ -5023,7 +4984,6 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TenantId = ptr.String(jtv) } - default: _, _ = key, value @@ -5087,15 +5047,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5103,15 +5057,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5136,15 +5086,9 @@ func awsRestjson1_deserializeDocumentCreateChimeWebhookConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5152,15 +5096,11 @@ func awsRestjson1_deserializeDocumentCreateChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5185,15 +5125,9 @@ func awsRestjson1_deserializeDocumentCreateSlackChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5201,15 +5135,11 @@ func awsRestjson1_deserializeDocumentCreateSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5234,15 +5164,9 @@ func awsRestjson1_deserializeDocumentCreateTeamsChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5250,15 +5174,11 @@ func awsRestjson1_deserializeDocumentCreateTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5283,15 +5203,9 @@ func awsRestjson1_deserializeDocumentDeleteChimeWebhookConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5299,15 +5213,11 @@ func awsRestjson1_deserializeDocumentDeleteChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5332,15 +5242,9 @@ func awsRestjson1_deserializeDocumentDeleteMicrosoftTeamsUserIdentityException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5348,15 +5252,11 @@ func awsRestjson1_deserializeDocumentDeleteMicrosoftTeamsUserIdentityException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5381,15 +5281,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5397,15 +5291,11 @@ func awsRestjson1_deserializeDocumentDeleteSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5430,15 +5320,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackUserIdentityException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5446,15 +5330,11 @@ func awsRestjson1_deserializeDocumentDeleteSlackUserIdentityException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5479,15 +5359,9 @@ func awsRestjson1_deserializeDocumentDeleteSlackWorkspaceAuthorizationFault(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5495,15 +5369,11 @@ func awsRestjson1_deserializeDocumentDeleteSlackWorkspaceAuthorizationFault(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5528,15 +5398,9 @@ func awsRestjson1_deserializeDocumentDeleteTeamsChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5544,15 +5408,11 @@ func awsRestjson1_deserializeDocumentDeleteTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5577,15 +5437,9 @@ func awsRestjson1_deserializeDocumentDeleteTeamsConfiguredTeamException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5593,15 +5447,11 @@ func awsRestjson1_deserializeDocumentDeleteTeamsConfiguredTeamException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5626,15 +5476,9 @@ func awsRestjson1_deserializeDocumentDescribeChimeWebhookConfigurationsException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5642,15 +5486,11 @@ func awsRestjson1_deserializeDocumentDescribeChimeWebhookConfigurationsException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5675,15 +5515,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackChannelConfigurationsException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5691,15 +5525,11 @@ func awsRestjson1_deserializeDocumentDescribeSlackChannelConfigurationsException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5724,15 +5554,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackUserIdentitiesException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5740,15 +5564,11 @@ func awsRestjson1_deserializeDocumentDescribeSlackUserIdentitiesException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5773,15 +5593,9 @@ func awsRestjson1_deserializeDocumentDescribeSlackWorkspacesException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5789,15 +5603,11 @@ func awsRestjson1_deserializeDocumentDescribeSlackWorkspacesException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5822,15 +5632,9 @@ func awsRestjson1_deserializeDocumentGetAccountPreferencesException(v **types.Ge sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5838,15 +5642,11 @@ func awsRestjson1_deserializeDocumentGetAccountPreferencesException(v **types.Ge } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5871,15 +5671,9 @@ func awsRestjson1_deserializeDocumentGetTeamsChannelConfigurationException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5887,15 +5681,11 @@ func awsRestjson1_deserializeDocumentGetTeamsChannelConfigurationException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5956,15 +5746,9 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5972,15 +5756,11 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6005,15 +5785,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6021,15 +5795,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6054,15 +5824,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6070,15 +5834,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6103,15 +5863,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6119,15 +5873,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6152,15 +5902,9 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsConfiguredTeamsException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6168,15 +5912,11 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsConfiguredTeamsException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6201,15 +5941,9 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsUserIdentitiesException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6217,15 +5951,11 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsUserIdentitiesException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6250,15 +5980,9 @@ func awsRestjson1_deserializeDocumentListTeamsChannelConfigurationsException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6266,15 +5990,11 @@ func awsRestjson1_deserializeDocumentListTeamsChannelConfigurationsException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6299,15 +6019,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6315,15 +6029,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6348,15 +6058,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6364,15 +6068,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6407,7 +6107,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChatConfigurationArn = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6416,12 +6115,10 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ConfigurationName = ptr.String(jtv) } - case "GuardrailPolicyArns": if err := awsRestjson1_deserializeDocumentGuardrailPolicyArnList(&sv.GuardrailPolicyArns, value); err != nil { return err } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6430,7 +6127,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.IamRoleArn = ptr.String(jtv) } - case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -6439,7 +6135,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.LoggingLevel = ptr.String(jtv) } - case "SlackChannelId": if value != nil { jtv, ok := value.(string) @@ -6448,7 +6143,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackChannelId = ptr.String(jtv) } - case "SlackChannelName": if value != nil { jtv, ok := value.(string) @@ -6457,7 +6151,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackChannelName = ptr.String(jtv) } - case "SlackTeamId": if value != nil { jtv, ok := value.(string) @@ -6466,7 +6159,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackTeamId = ptr.String(jtv) } - case "SlackTeamName": if value != nil { jtv, ok := value.(string) @@ -6475,12 +6167,10 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackTeamName = ptr.String(jtv) } - case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -6489,7 +6179,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6498,12 +6187,10 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.StateReason = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -6512,7 +6199,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.UserAuthorizationRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6620,7 +6306,6 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.AwsUserIdentity = ptr.String(jtv) } - case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6629,7 +6314,6 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.ChatConfigurationArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6638,7 +6322,6 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.IamRoleArn = ptr.String(jtv) } - case "SlackTeamId": if value != nil { jtv, ok := value.(string) @@ -6647,7 +6330,6 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.SlackTeamId = ptr.String(jtv) } - case "SlackUserId": if value != nil { jtv, ok := value.(string) @@ -6656,7 +6338,6 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.SlackUserId = ptr.String(jtv) } - default: _, _ = key, value @@ -6696,7 +6377,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.SlackTeamId = ptr.String(jtv) } - case "SlackTeamName": if value != nil { jtv, ok := value.(string) @@ -6705,7 +6385,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.SlackTeamName = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6714,7 +6393,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6723,7 +6401,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6833,7 +6510,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -6842,7 +6518,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -6984,7 +6659,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChannelId = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6993,7 +6667,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChannelName = ptr.String(jtv) } - case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -7002,7 +6675,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChatConfigurationArn = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -7011,12 +6683,10 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ConfigurationName = ptr.String(jtv) } - case "GuardrailPolicyArns": if err := awsRestjson1_deserializeDocumentGuardrailPolicyArnList(&sv.GuardrailPolicyArns, value); err != nil { return err } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6695,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.IamRoleArn = ptr.String(jtv) } - case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -7034,12 +6703,10 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.LoggingLevel = ptr.String(jtv) } - case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -7048,7 +6715,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -7057,12 +6723,10 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.StateReason = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "TeamId": if value != nil { jtv, ok := value.(string) @@ -7071,7 +6735,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TeamId = ptr.String(jtv) } - case "TeamName": if value != nil { jtv, ok := value.(string) @@ -7080,7 +6743,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TeamName = ptr.String(jtv) } - case "TenantId": if value != nil { jtv, ok := value.(string) @@ -7089,7 +6751,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TenantId = ptr.String(jtv) } - case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -7098,7 +6759,6 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.UserAuthorizationRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7172,7 +6832,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.AwsUserIdentity = ptr.String(jtv) } - case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -7181,7 +6840,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.ChatConfigurationArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -7190,7 +6848,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.IamRoleArn = ptr.String(jtv) } - case "TeamId": if value != nil { jtv, ok := value.(string) @@ -7199,7 +6856,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamId = ptr.String(jtv) } - case "TeamsChannelId": if value != nil { jtv, ok := value.(string) @@ -7208,7 +6864,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamsChannelId = ptr.String(jtv) } - case "TeamsTenantId": if value != nil { jtv, ok := value.(string) @@ -7217,7 +6872,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamsTenantId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -7226,7 +6880,6 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -7256,15 +6909,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7272,15 +6919,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7305,15 +6948,9 @@ func awsRestjson1_deserializeDocumentUpdateAccountPreferencesException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7321,15 +6958,11 @@ func awsRestjson1_deserializeDocumentUpdateAccountPreferencesException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7354,15 +6987,9 @@ func awsRestjson1_deserializeDocumentUpdateChimeWebhookConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7370,15 +6997,11 @@ func awsRestjson1_deserializeDocumentUpdateChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7403,15 +7026,9 @@ func awsRestjson1_deserializeDocumentUpdateSlackChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7419,15 +7036,11 @@ func awsRestjson1_deserializeDocumentUpdateSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7452,15 +7065,9 @@ func awsRestjson1_deserializeDocumentUpdateTeamsChannelConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7468,15 +7075,11 @@ func awsRestjson1_deserializeDocumentUpdateTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/chime/deserializers.go b/service/chime/deserializers.go index bbde7caa609..e53a6d073c0 100644 --- a/service/chime/deserializers.go +++ b/service/chime/deserializers.go @@ -193,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorOu if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -366,7 +365,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorGr if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -754,12 +752,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateAttendeeOutput(v **BatchCreate if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -926,12 +922,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateChannelMembershipOutput(v **Ba if err := awsRestjson1_deserializeDocumentBatchChannelMemberships(&sv.BatchChannelMemberships, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateChannelMembershipErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -1101,7 +1095,6 @@ func awsRestjson1_deserializeOpDocumentBatchCreateRoomMembershipOutput(v **Batch if err := awsRestjson1_deserializeDocumentMemberErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -1271,7 +1264,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeletePhoneNumberOutput(v **BatchDel if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -1441,7 +1433,6 @@ func awsRestjson1_deserializeOpDocumentBatchSuspendUserOutput(v **BatchSuspendUs if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } - default: _, _ = key, value @@ -1611,7 +1602,6 @@ func awsRestjson1_deserializeOpDocumentBatchUnsuspendUserOutput(v **BatchUnsuspe if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } - default: _, _ = key, value @@ -1781,7 +1771,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdatePhoneNumberOutput(v **BatchUpd if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -1951,7 +1940,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateUserOutput(v **BatchUpdateUser if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } - default: _, _ = key, value @@ -2121,7 +2109,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountOutput(v **CreateAccountOutp if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } - default: _, _ = key, value @@ -2298,7 +2285,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceOutput(v **CreateAppInst } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2471,7 +2457,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentIdentity(&sv.AppInstanceAdmin, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -2480,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2657,7 +2641,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceUserOutput(v **CreateApp } sv.AppInstanceUserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2830,7 +2813,6 @@ func awsRestjson1_deserializeOpDocumentCreateAttendeeOutput(v **CreateAttendeeOu if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - default: _, _ = key, value @@ -3003,7 +2985,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } - default: _, _ = key, value @@ -3180,7 +3161,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3357,12 +3337,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelBanOutput(v **CreateChannelB } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -3539,12 +3517,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -3721,12 +3697,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelModeratorOutput(v **CreateCh } sv.ChannelArn = ptr.String(jtv) } - case "ChannelModerator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.ChannelModerator, value); err != nil { return err } - default: _, _ = key, value @@ -3896,7 +3870,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaCapturePipelineOutput(v **Crea if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } - default: _, _ = key, value @@ -4066,7 +4039,6 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingOutput(v **CreateMeetingOutp if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -4243,7 +4215,6 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingDialOutOutput(v **CreateMeet } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4413,17 +4384,14 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingWithAttendeesOutput(v **Crea if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } - case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -4596,7 +4564,6 @@ func awsRestjson1_deserializeOpDocumentCreatePhoneNumberOrderOutput(v **CreatePh if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } - default: _, _ = key, value @@ -4766,7 +4733,6 @@ func awsRestjson1_deserializeOpDocumentCreateProxySessionOutput(v **CreateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -4939,7 +4905,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } - default: _, _ = key, value @@ -5115,7 +5080,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomMembershipOutput(v **CreateRoom if err := awsRestjson1_deserializeDocumentRoomMembership(&sv.RoomMembership, value); err != nil { return err } - default: _, _ = key, value @@ -5291,7 +5255,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationOutput(v **Creat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -5464,7 +5427,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationCallOutput(v **C if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } - default: _, _ = key, value @@ -5640,7 +5602,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipRuleOutput(v **CreateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -5813,7 +5774,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -5986,7 +5946,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorOutput(v **CreateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -6159,7 +6118,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorGroupOutput(v **Creat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -9450,7 +9408,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceOutput(v **DescribeApp if err := awsRestjson1_deserializeDocumentAppInstance(&sv.AppInstance, value); err != nil { return err } - default: _, _ = key, value @@ -9617,7 +9574,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceAdminOutput(v **Descri if err := awsRestjson1_deserializeDocumentAppInstanceAdmin(&sv.AppInstanceAdmin, value); err != nil { return err } - default: _, _ = key, value @@ -9784,7 +9740,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserOutput(v **Describ if err := awsRestjson1_deserializeDocumentAppInstanceUser(&sv.AppInstanceUser, value); err != nil { return err } - default: _, _ = key, value @@ -9951,7 +9906,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -10121,7 +10075,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelBanOutput(v **DescribeChan if err := awsRestjson1_deserializeDocumentChannelBan(&sv.ChannelBan, value); err != nil { return err } - default: _, _ = key, value @@ -10291,7 +10244,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipOutput(v **Descr if err := awsRestjson1_deserializeDocumentChannelMembership(&sv.ChannelMembership, value); err != nil { return err } - default: _, _ = key, value @@ -10458,7 +10410,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipForAppInstanceUs if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary(&sv.ChannelMembership, value); err != nil { return err } - default: _, _ = key, value @@ -10625,7 +10576,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratedByAppInstanceUser if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -10795,7 +10745,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratorOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelModerator(&sv.ChannelModerator, value); err != nil { return err } - default: _, _ = key, value @@ -11071,7 +11020,6 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -11241,7 +11189,6 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -11517,7 +11464,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } - default: _, _ = key, value @@ -11687,7 +11633,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -11857,7 +11802,6 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } - case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -11873,7 +11817,6 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * } } - default: _, _ = key, value @@ -12043,7 +11986,6 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceStreamingConfigurationsOutp if err := awsRestjson1_deserializeDocumentAppInstanceStreamingConfigurationList(&sv.AppInstanceStreamingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -12213,7 +12155,6 @@ func awsRestjson1_deserializeOpDocumentGetAttendeeOutput(v **GetAttendeeOutput, if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - default: _, _ = key, value @@ -12383,7 +12324,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } - default: _, _ = key, value @@ -12553,7 +12493,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageOutput(v **GetChannelMes if err := awsRestjson1_deserializeDocumentChannelMessage(&sv.ChannelMessage, value); err != nil { return err } - default: _, _ = key, value @@ -12723,7 +12662,6 @@ func awsRestjson1_deserializeOpDocumentGetEventsConfigurationOutput(v **GetEvent if err := awsRestjson1_deserializeDocumentEventsConfiguration(&sv.EventsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12890,12 +12828,10 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett if err := awsRestjson1_deserializeDocumentBusinessCallingSettings(&sv.BusinessCalling, value); err != nil { return err } - case "VoiceConnector": if err := awsRestjson1_deserializeDocumentVoiceConnectorSettings(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -13065,7 +13001,6 @@ func awsRestjson1_deserializeOpDocumentGetMediaCapturePipelineOutput(v **GetMedi if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } - default: _, _ = key, value @@ -13235,7 +13170,6 @@ func awsRestjson1_deserializeOpDocumentGetMeetingOutput(v **GetMeetingOutput, va if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -13399,7 +13333,6 @@ func awsRestjson1_deserializeOpDocumentGetMessagingSessionEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentMessagingSessionEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -13569,7 +13502,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOutput(v **GetPhoneNumberOu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -13739,7 +13671,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOrderOutput(v **GetPhoneNum if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } - default: _, _ = key, value @@ -13910,7 +13841,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingName = ptr.String(jtv) } - case "CallingNameUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -13923,7 +13853,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingNameUpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -14093,7 +14022,6 @@ func awsRestjson1_deserializeOpDocumentGetProxySessionOutput(v **GetProxySession if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -14271,12 +14199,10 @@ func awsRestjson1_deserializeOpDocumentGetRetentionSettingsOutput(v **GetRetenti } sv.InitiateDeletionTimestamp = ptr.Time(t) } - case "RetentionSettings": if err := awsRestjson1_deserializeDocumentRetentionSettings(&sv.RetentionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -14446,7 +14372,6 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } - default: _, _ = key, value @@ -14616,7 +14541,6 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationOutput(v **GetSipMe if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -14786,7 +14710,6 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14956,7 +14879,6 @@ func awsRestjson1_deserializeOpDocumentGetSipRuleOutput(v **GetSipRuleOutput, va if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -15126,7 +15048,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -15296,7 +15217,6 @@ func awsRestjson1_deserializeOpDocumentGetUserSettingsOutput(v **GetUserSettings if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -15466,7 +15386,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOutput(v **GetVoiceConne if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -15636,7 +15555,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15806,7 +15724,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorGroupOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -15976,7 +15893,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16146,7 +16062,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOriginationOutput(v **Ge if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } - default: _, _ = key, value @@ -16316,7 +16231,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorProxyOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } - default: _, _ = key, value @@ -16486,7 +16400,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16656,7 +16569,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationOutput(v **Ge if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } - default: _, _ = key, value @@ -16826,7 +16738,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationHealthOutput( if err := awsRestjson1_deserializeDocumentTerminationHealth(&sv.TerminationHealth, value); err != nil { return err } - default: _, _ = key, value @@ -16996,7 +16907,6 @@ func awsRestjson1_deserializeOpDocumentInviteUsersOutput(v **InviteUsersOutput, if err := awsRestjson1_deserializeDocumentInviteList(&sv.Invites, value); err != nil { return err } - default: _, _ = key, value @@ -17166,7 +17076,6 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17175,7 +17084,6 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17342,7 +17250,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn if err := awsRestjson1_deserializeDocumentAppInstanceAdminList(&sv.AppInstanceAdmins, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -17351,7 +17258,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.AppInstanceArn = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17360,7 +17266,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17527,7 +17432,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc if err := awsRestjson1_deserializeDocumentAppInstanceList(&sv.AppInstances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17536,7 +17440,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17707,12 +17610,10 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.AppInstanceArn = ptr.String(jtv) } - case "AppInstanceUsers": if err := awsRestjson1_deserializeDocumentAppInstanceUserList(&sv.AppInstanceUsers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17721,7 +17622,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17891,7 +17791,6 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17900,7 +17799,6 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18070,7 +17968,6 @@ func awsRestjson1_deserializeOpDocumentListAttendeeTagsOutput(v **ListAttendeeTa if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18240,7 +18137,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentBotList(&sv.Bots, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18249,7 +18145,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18420,12 +18315,10 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.ChannelArn = ptr.String(jtv) } - case "ChannelBans": if err := awsRestjson1_deserializeDocumentChannelBanSummaryList(&sv.ChannelBans, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18434,7 +18327,6 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18605,12 +18497,10 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.ChannelArn = ptr.String(jtv) } - case "ChannelMemberships": if err := awsRestjson1_deserializeDocumentChannelMembershipSummaryList(&sv.ChannelMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18619,7 +18509,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18786,7 +18675,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummaryList(&sv.ChannelMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18795,7 +18683,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18966,12 +18853,10 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.ChannelArn = ptr.String(jtv) } - case "ChannelMessages": if err := awsRestjson1_deserializeDocumentChannelMessageSummaryList(&sv.ChannelMessages, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18980,7 +18865,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19151,12 +19035,10 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.ChannelArn = ptr.String(jtv) } - case "ChannelModerators": if err := awsRestjson1_deserializeDocumentChannelModeratorSummaryList(&sv.ChannelModerators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19165,7 +19047,6 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19332,7 +19213,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19341,7 +19221,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19508,7 +19387,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19517,7 +19395,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19684,7 +19561,6 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM if err := awsRestjson1_deserializeDocumentMediaCapturePipelineList(&sv.MediaCapturePipelines, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19693,7 +19569,6 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19860,7 +19735,6 @@ func awsRestjson1_deserializeOpDocumentListMeetingsOutput(v **ListMeetingsOutput if err := awsRestjson1_deserializeDocumentMeetingList(&sv.Meetings, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19869,7 +19743,6 @@ func awsRestjson1_deserializeOpDocumentListMeetingsOutput(v **ListMeetingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20039,7 +19912,6 @@ func awsRestjson1_deserializeOpDocumentListMeetingTagsOutput(v **ListMeetingTags if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20210,12 +20082,10 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumberOrdersOutput(v **ListPhone } sv.NextToken = ptr.String(jtv) } - case "PhoneNumberOrders": if err := awsRestjson1_deserializeDocumentPhoneNumberOrderList(&sv.PhoneNumberOrders, value); err != nil { return err } - default: _, _ = key, value @@ -20389,12 +20259,10 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } - case "PhoneNumbers": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumbers, value); err != nil { return err } - default: _, _ = key, value @@ -20568,12 +20436,10 @@ func awsRestjson1_deserializeOpDocumentListProxySessionsOutput(v **ListProxySess } sv.NextToken = ptr.String(jtv) } - case "ProxySessions": if err := awsRestjson1_deserializeDocumentProxySessions(&sv.ProxySessions, value); err != nil { return err } - default: _, _ = key, value @@ -20747,12 +20613,10 @@ func awsRestjson1_deserializeOpDocumentListRoomMembershipsOutput(v **ListRoomMem } sv.NextToken = ptr.String(jtv) } - case "RoomMemberships": if err := awsRestjson1_deserializeDocumentRoomMembershipList(&sv.RoomMemberships, value); err != nil { return err } - default: _, _ = key, value @@ -20926,12 +20790,10 @@ func awsRestjson1_deserializeOpDocumentListRoomsOutput(v **ListRoomsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Rooms": if err := awsRestjson1_deserializeDocumentRoomList(&sv.Rooms, value); err != nil { return err } - default: _, _ = key, value @@ -21102,12 +20964,10 @@ func awsRestjson1_deserializeOpDocumentListSipMediaApplicationsOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } - case "SipMediaApplications": if err := awsRestjson1_deserializeDocumentSipMediaApplicationList(&sv.SipMediaApplications, value); err != nil { return err } - default: _, _ = key, value @@ -21278,12 +21138,10 @@ func awsRestjson1_deserializeOpDocumentListSipRulesOutput(v **ListSipRulesOutput } sv.NextToken = ptr.String(jtv) } - case "SipRules": if err := awsRestjson1_deserializeDocumentSipRuleList(&sv.SipRules, value); err != nil { return err } - default: _, _ = key, value @@ -21453,7 +21311,6 @@ func awsRestjson1_deserializeOpDocumentListSupportedPhoneNumberCountriesOutput(v if err := awsRestjson1_deserializeDocumentPhoneNumberCountriesList(&sv.PhoneNumberCountries, value); err != nil { return err } - default: _, _ = key, value @@ -21620,7 +21477,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21794,12 +21650,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -21970,12 +21824,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorGroupsOutput(v **ListVo } sv.NextToken = ptr.String(jtv) } - case "VoiceConnectorGroups": if err := awsRestjson1_deserializeDocumentVoiceConnectorGroupList(&sv.VoiceConnectorGroups, value); err != nil { return err } - default: _, _ = key, value @@ -22146,12 +21998,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorsOutput(v **ListVoiceCo } sv.NextToken = ptr.String(jtv) } - case "VoiceConnectors": if err := awsRestjson1_deserializeDocumentVoiceConnectorList(&sv.VoiceConnectors, value); err != nil { return err } - default: _, _ = key, value @@ -22321,7 +22171,6 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorTerminationCredentialsO if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Usernames, value); err != nil { return err } - default: _, _ = key, value @@ -22600,7 +22449,6 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } - case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -22616,7 +22464,6 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * } } - default: _, _ = key, value @@ -22786,7 +22633,6 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceStreamingConfigurationsOutp if err := awsRestjson1_deserializeDocumentAppInstanceStreamingConfigurationList(&sv.AppInstanceStreamingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -22956,7 +22802,6 @@ func awsRestjson1_deserializeOpDocumentPutEventsConfigurationOutput(v **PutEvent if err := awsRestjson1_deserializeDocumentEventsConfiguration(&sv.EventsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -23137,12 +22982,10 @@ func awsRestjson1_deserializeOpDocumentPutRetentionSettingsOutput(v **PutRetenti } sv.InitiateDeletionTimestamp = ptr.Time(t) } - case "RetentionSettings": if err := awsRestjson1_deserializeDocumentRetentionSettings(&sv.RetentionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -23312,7 +23155,6 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -23482,7 +23324,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -23652,7 +23493,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -23822,7 +23662,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorOriginationOutput(v **Pu if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } - default: _, _ = key, value @@ -23995,7 +23834,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorProxyOutput(v **PutVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } - default: _, _ = key, value @@ -24165,7 +24003,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -24338,7 +24175,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorTerminationOutput(v **Pu if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } - default: _, _ = key, value @@ -24621,7 +24457,6 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -24630,7 +24465,6 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -25012,7 +24846,6 @@ func awsRestjson1_deserializeOpDocumentRegenerateSecurityTokenOutput(v **Regener if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } - default: _, _ = key, value @@ -25182,7 +25015,6 @@ func awsRestjson1_deserializeOpDocumentResetPersonalPINOutput(v **ResetPersonalP if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -25355,7 +25187,6 @@ func awsRestjson1_deserializeOpDocumentRestorePhoneNumberOutput(v **RestorePhone if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -25525,7 +25356,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentE164PhoneNumberList(&sv.E164PhoneNumbers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25534,7 +25364,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25708,7 +25537,6 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -25717,7 +25545,6 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -26780,7 +26607,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } - default: _, _ = key, value @@ -27063,7 +26889,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceOutput(v **UpdateAppInst } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -27237,7 +27062,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserOutput(v **UpdateApp } sv.AppInstanceUserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -27407,7 +27231,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } - default: _, _ = key, value @@ -27581,7 +27404,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -27755,7 +27577,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -27764,7 +27585,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -27938,7 +27758,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelReadMarkerOutput(v **UpdateC } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -28220,7 +28039,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -28499,7 +28317,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProxySessionOutput(v **UpdateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -28669,7 +28486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } - default: _, _ = key, value @@ -28839,7 +28655,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomMembershipOutput(v **UpdateRoom if err := awsRestjson1_deserializeDocumentRoomMembership(&sv.RoomMembership, value); err != nil { return err } - default: _, _ = key, value @@ -29012,7 +28827,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationOutput(v **Updat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -29185,7 +28999,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationCallOutput(v **U if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } - default: _, _ = key, value @@ -29361,7 +29174,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipRuleOutput(v **UpdateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -29531,7 +29343,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -29813,7 +29624,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorOutput(v **UpdateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -29986,7 +29796,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorGroupOutput(v **Updat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -30156,7 +29965,6 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressExternalId": if value != nil { jtv, ok := value.(string) @@ -30165,12 +29973,10 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.AddressExternalId = ptr.String(jtv) } - case "CandidateAddressList": if err := awsRestjson1_deserializeDocumentCandidateAddressList(&sv.CandidateAddressList, value); err != nil { return err } - case "ValidationResult": if value != nil { jtv, ok := value.(json.Number) @@ -30183,7 +29989,6 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.ValidationResult = int32(i64) } - default: _, _ = key, value @@ -30609,13 +30414,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -30625,8 +30424,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30634,15 +30432,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30677,7 +30471,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountId = ptr.String(jtv) } - case "AccountStatus": if value != nil { jtv, ok := value.(string) @@ -30686,7 +30479,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountStatus = types.AccountStatus(jtv) } - case "AccountType": if value != nil { jtv, ok := value.(string) @@ -30695,7 +30487,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountType = types.AccountType(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -30704,7 +30495,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AwsAccountId = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -30717,7 +30507,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } - case "DefaultLicense": if value != nil { jtv, ok := value.(string) @@ -30726,7 +30515,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.DefaultLicense = types.License(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30735,17 +30523,14 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Name = ptr.String(jtv) } - case "SigninDelegateGroups": if err := awsRestjson1_deserializeDocumentSigninDelegateGroupList(&sv.SigninDelegateGroups, value); err != nil { return err } - case "SupportedLicenses": if err := awsRestjson1_deserializeDocumentLicenseList(&sv.SupportedLicenses, value); err != nil { return err } - default: _, _ = key, value @@ -30819,7 +30604,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DisableRemoteControl = ptr.Bool(jtv) } - case "EnableDialOut": if value != nil { jtv, ok := value.(bool) @@ -30828,7 +30612,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.EnableDialOut = ptr.Bool(jtv) } - default: _, _ = key, value @@ -30868,7 +30651,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "country": if value != nil { jtv, ok := value.(string) @@ -30877,7 +30659,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -30886,7 +30667,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -30895,7 +30675,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCodePlus4 = ptr.String(jtv) } - case "postDirectional": if value != nil { jtv, ok := value.(string) @@ -30904,7 +30683,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostDirectional = ptr.String(jtv) } - case "preDirectional": if value != nil { jtv, ok := value.(string) @@ -30913,7 +30691,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PreDirectional = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -30922,7 +30699,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } - case "streetName": if value != nil { jtv, ok := value.(string) @@ -30931,7 +30707,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetName = ptr.String(jtv) } - case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -30940,7 +30715,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetNumber = ptr.String(jtv) } - case "streetSuffix": if value != nil { jtv, ok := value.(string) @@ -30949,7 +30723,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetSuffix = ptr.String(jtv) } - default: _, _ = key, value @@ -30989,7 +30762,6 @@ func awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(v **types.AlexaFor } sv.AlexaForBusinessRoomArn = ptr.String(jtv) } - case "IsAlexaForBusinessEnabled": if value != nil { jtv, ok := value.(bool) @@ -30998,7 +30770,6 @@ func awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(v **types.AlexaFor } sv.IsAlexaForBusinessEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31038,7 +30809,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.AppInstanceArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31054,7 +30824,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31070,7 +30839,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31079,7 +30847,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31088,7 +30855,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -31124,7 +30890,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -31133,7 +30898,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } sv.AppInstanceArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31149,7 +30913,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } } - default: _, _ = key, value @@ -31219,7 +30982,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdminSummary(v **types.AppInstan if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } - default: _, _ = key, value @@ -31289,7 +31051,6 @@ func awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(v **types.AppI if err := awsRestjson1_deserializeDocumentChannelRetentionSettings(&sv.ChannelRetentionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -31329,7 +31090,6 @@ func awsRestjson1_deserializeDocumentAppInstanceStreamingConfiguration(v **types } sv.AppInstanceDataType = types.AppInstanceDataType(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -31338,7 +31098,6 @@ func awsRestjson1_deserializeDocumentAppInstanceStreamingConfiguration(v **types } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -31412,7 +31171,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.AppInstanceArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31421,7 +31179,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31430,7 +31187,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -31470,7 +31226,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.AppInstanceUserArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31486,7 +31241,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31502,7 +31256,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31511,7 +31264,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31520,7 +31272,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -31601,7 +31352,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -31610,7 +31360,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -31650,7 +31399,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.AppInstanceUserArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31659,7 +31407,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31668,7 +31415,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -31704,17 +31450,14 @@ func awsRestjson1_deserializeDocumentArtifactsConfiguration(v **types.ArtifactsC if err := awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(&sv.Audio, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentContentArtifactsConfiguration(&sv.Content, value); err != nil { return err } - case "Video": if err := awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -31754,7 +31497,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } - case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -31763,7 +31505,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.ExternalUserId = ptr.String(jtv) } - case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -31772,7 +31513,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } - default: _, _ = key, value @@ -31882,7 +31622,6 @@ func awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(v **types.Audio } sv.MuxType = types.AudioMuxType(jtv) } - default: _, _ = key, value @@ -31912,13 +31651,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -31928,8 +31661,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31937,15 +31669,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31980,17 +31708,14 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.ChannelArn = ptr.String(jtv) } - case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } - case "Members": if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -31999,7 +31724,6 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -32073,7 +31797,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -32082,7 +31805,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "MemberArn": if value != nil { jtv, ok := value.(string) @@ -32091,7 +31813,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.MemberArn = ptr.String(jtv) } - default: _, _ = key, value @@ -32165,7 +31886,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotEmail = ptr.String(jtv) } - case "BotId": if value != nil { jtv, ok := value.(string) @@ -32174,7 +31894,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotId = ptr.String(jtv) } - case "BotType": if value != nil { jtv, ok := value.(string) @@ -32183,7 +31902,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotType = types.BotType(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -32196,7 +31914,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.CreatedTimestamp = ptr.Time(t) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -32205,7 +31922,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.Disabled = ptr.Bool(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -32214,7 +31930,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.DisplayName = ptr.String(jtv) } - case "SecurityToken": if value != nil { jtv, ok := value.(string) @@ -32223,7 +31938,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.SecurityToken = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -32236,7 +31950,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.UpdatedTimestamp = ptr.Time(t) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -32245,7 +31958,6 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -32319,7 +32031,6 @@ func awsRestjson1_deserializeDocumentBusinessCallingSettings(v **types.BusinessC } sv.CdrBucket = ptr.String(jtv) } - default: _, _ = key, value @@ -32395,7 +32106,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.City = ptr.String(jtv) } - case "country": if value != nil { jtv, ok := value.(string) @@ -32404,7 +32114,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.Country = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -32413,7 +32122,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCode = ptr.String(jtv) } - case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -32422,7 +32130,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCodePlus4 = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -32431,7 +32138,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.State = ptr.String(jtv) } - case "streetInfo": if value != nil { jtv, ok := value.(string) @@ -32440,7 +32146,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetInfo = ptr.String(jtv) } - case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -32449,7 +32154,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -32559,12 +32263,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32580,7 +32282,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -32596,7 +32297,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32612,7 +32312,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -32621,7 +32320,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Metadata = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -32630,7 +32328,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Mode = types.ChannelMode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32639,7 +32336,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - case "Privacy": if value != nil { jtv, ok := value.(string) @@ -32648,7 +32344,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Privacy = types.ChannelPrivacy(jtv) } - default: _, _ = key, value @@ -32688,12 +32383,10 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } sv.ChannelArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32709,12 +32402,10 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -32750,7 +32441,6 @@ func awsRestjson1_deserializeDocumentChannelBanSummary(v **types.ChannelBanSumma if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -32824,7 +32514,6 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.ChannelArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32840,12 +32529,10 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } - case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32861,12 +32548,10 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -32875,7 +32560,6 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -32911,12 +32595,10 @@ func awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary( if err := awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(&sv.AppInstanceUserMembershipSummary, value); err != nil { return err } - case "ChannelSummary": if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } - default: _, _ = key, value @@ -32986,7 +32668,6 @@ func awsRestjson1_deserializeDocumentChannelMembershipSummary(v **types.ChannelM if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -33060,7 +32741,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ChannelArn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -33069,7 +32749,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Content = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33085,7 +32764,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33101,7 +32779,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33117,7 +32794,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -33126,7 +32802,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.MessageId = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -33135,7 +32810,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Metadata = ptr.String(jtv) } - case "Persistence": if value != nil { jtv, ok := value.(string) @@ -33144,7 +32818,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Persistence = types.ChannelMessagePersistenceType(jtv) } - case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -33153,12 +32826,10 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Redacted = jtv } - case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -33167,7 +32838,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Type = types.ChannelMessageType(jtv) } - default: _, _ = key, value @@ -33207,7 +32877,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Content = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33223,7 +32892,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33239,7 +32907,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33255,7 +32922,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -33264,7 +32930,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.MessageId = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -33273,7 +32938,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Metadata = ptr.String(jtv) } - case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -33282,12 +32946,10 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Redacted = jtv } - case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -33296,7 +32958,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Type = types.ChannelMessageType(jtv) } - default: _, _ = key, value @@ -33366,7 +33027,6 @@ func awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(v if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } - default: _, _ = key, value @@ -33440,12 +33100,10 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } sv.ChannelArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33461,12 +33119,10 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } } - case "Moderator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } - default: _, _ = key, value @@ -33502,7 +33158,6 @@ func awsRestjson1_deserializeDocumentChannelModeratorSummary(v **types.ChannelMo if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } - default: _, _ = key, value @@ -33580,7 +33235,6 @@ func awsRestjson1_deserializeDocumentChannelRetentionSettings(v **types.ChannelR } sv.RetentionDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33620,7 +33274,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelArn = ptr.String(jtv) } - case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -33636,7 +33289,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -33645,7 +33297,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Metadata = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -33654,7 +33305,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Mode = types.ChannelMode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -33663,7 +33313,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } - case "Privacy": if value != nil { jtv, ok := value.(string) @@ -33672,7 +33321,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Privacy = types.ChannelPrivacy(jtv) } - default: _, _ = key, value @@ -33742,12 +33390,10 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(v **types.Chim if err := awsRestjson1_deserializeDocumentArtifactsConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } - case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -33777,13 +33423,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -33793,8 +33433,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33802,15 +33441,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33845,7 +33480,6 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.MuxType = types.ContentMuxType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -33854,7 +33488,6 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.State = types.ArtifactsState(jtv) } - default: _, _ = key, value @@ -33898,7 +33531,6 @@ func awsRestjson1_deserializeDocumentConversationRetentionSettings(v **types.Con } sv.RetentionDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33938,7 +33570,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -33947,7 +33578,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorMessage = ptr.String(jtv) } - case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -33956,7 +33586,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ExternalUserId = ptr.String(jtv) } - default: _, _ = key, value @@ -33996,7 +33625,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.CallingCountry = ptr.String(jtv) } - case "EmergencyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -34005,7 +33633,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.EmergencyPhoneNumber = ptr.String(jtv) } - case "TestPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -34014,7 +33641,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.TestPhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -34120,7 +33746,6 @@ func awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(v **types.Eme if err := awsRestjson1_deserializeDocumentDNISEmergencyCallingConfigurationList(&sv.DNIS, value); err != nil { return err } - default: _, _ = key, value @@ -34160,7 +33785,6 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.BotId = ptr.String(jtv) } - case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -34169,7 +33793,6 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.LambdaFunctionArn = ptr.String(jtv) } - case "OutboundEventsHTTPSEndpoint": if value != nil { jtv, ok := value.(string) @@ -34178,7 +33801,6 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.OutboundEventsHTTPSEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -34244,13 +33866,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -34260,8 +33876,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34269,15 +33884,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34312,7 +33923,6 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.AreaCode = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -34321,7 +33931,6 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.Country = ptr.String(jtv) } - default: _, _ = key, value @@ -34361,7 +33970,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34370,7 +33978,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -34410,7 +34017,6 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.EmailAddress = ptr.String(jtv) } - case "EmailStatus": if value != nil { jtv, ok := value.(string) @@ -34419,7 +34025,6 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.EmailStatus = types.EmailStatus(jtv) } - case "InviteId": if value != nil { jtv, ok := value.(string) @@ -34428,7 +34033,6 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.InviteId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -34437,7 +34041,6 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.Status = types.InviteStatus(jtv) } - default: _, _ = key, value @@ -34547,7 +34150,6 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableMediaMetricLogs = ptr.Bool(jtv) } - case "EnableSIPLogs": if value != nil { jtv, ok := value.(bool) @@ -34556,7 +34158,6 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableSIPLogs = ptr.Bool(jtv) } - default: _, _ = key, value @@ -34592,7 +34193,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -34605,7 +34205,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.CreatedTimestamp = ptr.Time(t) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -34614,7 +34213,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineId = ptr.String(jtv) } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -34623,7 +34221,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkArn = ptr.String(jtv) } - case "SinkType": if value != nil { jtv, ok := value.(string) @@ -34632,7 +34229,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkType = types.MediaPipelineSinkType(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -34641,7 +34237,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -34650,7 +34245,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceType = types.MediaPipelineSourceType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -34659,7 +34253,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.Status = types.MediaPipelineStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -34672,7 +34265,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -34746,7 +34338,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } - case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -34755,7 +34346,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } - case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -34764,7 +34354,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } - case "ScreenDataUrl": if value != nil { jtv, ok := value.(string) @@ -34773,7 +34362,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenDataUrl = ptr.String(jtv) } - case "ScreenSharingUrl": if value != nil { jtv, ok := value.(string) @@ -34782,7 +34370,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenSharingUrl = ptr.String(jtv) } - case "ScreenViewingUrl": if value != nil { jtv, ok := value.(string) @@ -34791,7 +34378,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenViewingUrl = ptr.String(jtv) } - case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -34800,7 +34386,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } - case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -34809,7 +34394,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -34849,12 +34433,10 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.ExternalMeetingId = ptr.String(jtv) } - case "MediaPlacement": if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } - case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -34863,7 +34445,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } - case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -34872,7 +34453,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } - default: _, _ = key, value @@ -34946,7 +34526,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -34955,7 +34534,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } - case "FullName": if value != nil { jtv, ok := value.(string) @@ -34964,7 +34542,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.FullName = ptr.String(jtv) } - case "MemberId": if value != nil { jtv, ok := value.(string) @@ -34973,7 +34550,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberId = ptr.String(jtv) } - case "MemberType": if value != nil { jtv, ok := value.(string) @@ -34982,7 +34558,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberType = types.MemberType(jtv) } - default: _, _ = key, value @@ -35022,7 +34597,6 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -35031,7 +34605,6 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.ErrorMessage = ptr.String(jtv) } - case "MemberId": if value != nil { jtv, ok := value.(string) @@ -35040,7 +34613,6 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.MemberId = ptr.String(jtv) } - default: _, _ = key, value @@ -35148,7 +34720,6 @@ func awsRestjson1_deserializeDocumentMessagingSessionEndpoint(v **types.Messagin } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -35178,13 +34749,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -35194,8 +34759,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35203,15 +34767,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35246,7 +34806,6 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.E164PhoneNumber = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -35255,7 +34814,6 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.Status = types.OrderedPhoneNumberStatus(jtv) } - default: _, _ = key, value @@ -35329,12 +34887,10 @@ func awsRestjson1_deserializeDocumentOrigination(v **types.Origination, value in } sv.Disabled = ptr.Bool(jtv) } - case "Routes": if err := awsRestjson1_deserializeDocumentOriginationRouteList(&sv.Routes, value); err != nil { return err } - default: _, _ = key, value @@ -35374,7 +34930,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -35387,7 +34942,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Port = ptr.Int32(int32(i64)) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -35400,7 +34954,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Priority = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -35409,7 +34962,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Protocol = types.OriginationRouteProtocol(jtv) } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -35422,7 +34974,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -35496,7 +35047,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.PhoneNumber = ptr.String(jtv) } - case "ProxyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -35505,7 +35055,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ProxyPhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -35575,7 +35124,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in if err := awsRestjson1_deserializeDocumentPhoneNumberAssociationList(&sv.Associations, value); err != nil { return err } - case "CallingName": if value != nil { jtv, ok := value.(string) @@ -35584,7 +35132,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingName = ptr.String(jtv) } - case "CallingNameStatus": if value != nil { jtv, ok := value.(string) @@ -35593,12 +35140,10 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingNameStatus = types.CallingNameStatus(jtv) } - case "Capabilities": if err := awsRestjson1_deserializeDocumentPhoneNumberCapabilities(&sv.Capabilities, value); err != nil { return err } - case "Country": if value != nil { jtv, ok := value.(string) @@ -35607,7 +35152,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Country = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35620,7 +35164,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CreatedTimestamp = ptr.Time(t) } - case "DeletionTimestamp": if value != nil { jtv, ok := value.(string) @@ -35633,7 +35176,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.DeletionTimestamp = ptr.Time(t) } - case "E164PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -35642,7 +35184,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.E164PhoneNumber = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -35651,7 +35192,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.PhoneNumberId = ptr.String(jtv) } - case "ProductType": if value != nil { jtv, ok := value.(string) @@ -35660,7 +35200,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.ProductType = types.PhoneNumberProductType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -35669,7 +35208,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Status = types.PhoneNumberStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -35678,7 +35216,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = types.PhoneNumberType(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35691,7 +35228,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -35735,7 +35271,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.AssociatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35744,7 +35279,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Name = types.PhoneNumberAssociationName(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -35753,7 +35287,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35827,7 +35360,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundCall = ptr.Bool(jtv) } - case "InboundMMS": if value != nil { jtv, ok := value.(bool) @@ -35836,7 +35368,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundMMS = ptr.Bool(jtv) } - case "InboundSMS": if value != nil { jtv, ok := value.(bool) @@ -35845,7 +35376,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundSMS = ptr.Bool(jtv) } - case "OutboundCall": if value != nil { jtv, ok := value.(bool) @@ -35854,7 +35384,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundCall = ptr.Bool(jtv) } - case "OutboundMMS": if value != nil { jtv, ok := value.(bool) @@ -35863,7 +35392,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundMMS = ptr.Bool(jtv) } - case "OutboundSMS": if value != nil { jtv, ok := value.(bool) @@ -35872,7 +35400,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundSMS = ptr.Bool(jtv) } - default: _, _ = key, value @@ -35946,12 +35473,10 @@ func awsRestjson1_deserializeDocumentPhoneNumberCountry(v **types.PhoneNumberCou } sv.CountryCode = ptr.String(jtv) } - case "SupportedPhoneNumberTypes": if err := awsRestjson1_deserializeDocumentPhoneNumberTypeList(&sv.SupportedPhoneNumberTypes, value); err != nil { return err } - default: _, _ = key, value @@ -35991,7 +35516,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -36000,7 +35524,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorMessage = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -36009,7 +35532,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.PhoneNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -36121,12 +35643,10 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.CreatedTimestamp = ptr.Time(t) } - case "OrderedPhoneNumbers": if err := awsRestjson1_deserializeDocumentOrderedPhoneNumberList(&sv.OrderedPhoneNumbers, value); err != nil { return err } - case "PhoneNumberOrderId": if value != nil { jtv, ok := value.(string) @@ -36135,7 +35655,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.PhoneNumberOrderId = ptr.String(jtv) } - case "ProductType": if value != nil { jtv, ok := value.(string) @@ -36144,7 +35663,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.ProductType = types.PhoneNumberProductType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -36153,7 +35671,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.Status = types.PhoneNumberOrderStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36166,7 +35683,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -36280,7 +35796,6 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.DefaultSessionExpiryMinutes = ptr.Int32(int32(i64)) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -36289,7 +35804,6 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.Disabled = ptr.Bool(jtv) } - case "FallBackPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -36298,12 +35812,10 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.FallBackPhoneNumber = ptr.String(jtv) } - case "PhoneNumberCountries": if err := awsRestjson1_deserializeDocumentStringList(&sv.PhoneNumberCountries, value); err != nil { return err } - default: _, _ = key, value @@ -36339,7 +35851,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value if err := awsRestjson1_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36352,7 +35863,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.CreatedTimestamp = ptr.Time(t) } - case "EndedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36365,7 +35875,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.EndedTimestamp = ptr.Time(t) } - case "ExpiryMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -36378,7 +35887,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ExpiryMinutes = ptr.Int32(int32(i64)) } - case "GeoMatchLevel": if value != nil { jtv, ok := value.(string) @@ -36387,12 +35895,10 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.GeoMatchLevel = types.GeoMatchLevel(jtv) } - case "GeoMatchParams": if err := awsRestjson1_deserializeDocumentGeoMatchParams(&sv.GeoMatchParams, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -36401,7 +35907,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Name = ptr.String(jtv) } - case "NumberSelectionBehavior": if value != nil { jtv, ok := value.(string) @@ -36410,12 +35915,10 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.NumberSelectionBehavior = types.NumberSelectionBehavior(jtv) } - case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } - case "ProxySessionId": if value != nil { jtv, ok := value.(string) @@ -36424,7 +35927,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ProxySessionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -36433,7 +35935,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Status = types.ProxySessionStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36446,7 +35947,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -36455,7 +35955,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -36519,13 +36018,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -36535,8 +36028,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36544,15 +36036,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36583,12 +36071,10 @@ func awsRestjson1_deserializeDocumentRetentionSettings(v **types.RetentionSettin if err := awsRestjson1_deserializeDocumentConversationRetentionSettings(&sv.ConversationRetentionSettings, value); err != nil { return err } - case "RoomRetentionSettings": if err := awsRestjson1_deserializeDocumentRoomRetentionSettings(&sv.RoomRetentionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -36628,7 +36114,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.AccountId = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -36637,7 +36122,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36650,7 +36134,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.CreatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -36659,7 +36142,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.Name = ptr.String(jtv) } - case "RoomId": if value != nil { jtv, ok := value.(string) @@ -36668,7 +36150,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.RoomId = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36681,7 +36162,6 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -36755,12 +36235,10 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.InvitedBy = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -36769,7 +36247,6 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.Role = types.RoomMembershipRole(jtv) } - case "RoomId": if value != nil { jtv, ok := value.(string) @@ -36778,7 +36255,6 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.RoomId = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36791,7 +36267,6 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -36869,7 +36344,6 @@ func awsRestjson1_deserializeDocumentRoomRetentionSettings(v **types.RoomRetenti } sv.RetentionDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36905,12 +36379,10 @@ func awsRestjson1_deserializeDocumentSelectedVideoStreams(v **types.SelectedVide if err := awsRestjson1_deserializeDocumentAttendeeIdList(&sv.AttendeeIds, value); err != nil { return err } - case "ExternalUserIds": if err := awsRestjson1_deserializeDocumentExternalUserIdList(&sv.ExternalUserIds, value); err != nil { return err } - default: _, _ = key, value @@ -36976,13 +36448,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -36992,8 +36458,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37001,15 +36466,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37034,13 +36495,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -37050,8 +36505,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37059,15 +36513,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37102,7 +36552,6 @@ func awsRestjson1_deserializeDocumentSigninDelegateGroup(v **types.SigninDelegat } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -37176,7 +36625,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.AwsRegion = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -37189,12 +36637,10 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.CreatedTimestamp = ptr.Time(t) } - case "Endpoints": if err := awsRestjson1_deserializeDocumentSipMediaApplicationEndpointList(&sv.Endpoints, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37203,7 +36649,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.Name = ptr.String(jtv) } - case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -37212,7 +36657,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationId = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -37225,7 +36669,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -37265,7 +36708,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationCall(v **types.SipMediaA } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -37305,7 +36747,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationEndpoint(v **types.SipMe } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -37413,7 +36854,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(v * } sv.EnableSipMediaApplicationMessageLogs = ptr.Bool(jtv) } - default: _, _ = key, value @@ -37457,7 +36897,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -37466,7 +36905,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Disabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37475,7 +36913,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Name = ptr.String(jtv) } - case "SipRuleId": if value != nil { jtv, ok := value.(string) @@ -37484,12 +36921,10 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.SipRuleId = ptr.String(jtv) } - case "TargetApplications": if err := awsRestjson1_deserializeDocumentSipRuleTargetApplicationList(&sv.TargetApplications, value); err != nil { return err } - case "TriggerType": if value != nil { jtv, ok := value.(string) @@ -37498,7 +36933,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerType = types.SipRuleTriggerType(jtv) } - case "TriggerValue": if value != nil { jtv, ok := value.(string) @@ -37507,7 +36941,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerValue = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -37520,7 +36953,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -37594,7 +37026,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.AwsRegion = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -37607,7 +37038,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.Priority = ptr.Int32(int32(i64)) } - case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -37616,7 +37046,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.SipMediaApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -37686,7 +37115,6 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentSelectedVideoStreams(&sv.SelectedVideoStreams, value); err != nil { return err } - default: _, _ = key, value @@ -37730,7 +37158,6 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -37739,12 +37166,10 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.Disabled = ptr.Bool(jtv) } - case "StreamingNotificationTargets": if err := awsRestjson1_deserializeDocumentStreamingNotificationTargetList(&sv.StreamingNotificationTargets, value); err != nil { return err } - default: _, _ = key, value @@ -37784,7 +37209,6 @@ func awsRestjson1_deserializeDocumentStreamingNotificationTarget(v **types.Strea } sv.NotificationTarget = types.NotificationTarget(jtv) } - default: _, _ = key, value @@ -37894,7 +37318,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -37903,7 +37326,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -37977,7 +37399,6 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.InboundCalling = ptr.Bool(jtv) } - case "OutboundCalling": if value != nil { jtv, ok := value.(bool) @@ -37986,7 +37407,6 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.OutboundCalling = ptr.Bool(jtv) } - case "SMS": if value != nil { jtv, ok := value.(bool) @@ -37995,7 +37415,6 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.SMS = ptr.Bool(jtv) } - default: _, _ = key, value @@ -38031,12 +37450,10 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in if err := awsRestjson1_deserializeDocumentCallingRegionList(&sv.CallingRegions, value); err != nil { return err } - case "CidrAllowedList": if err := awsRestjson1_deserializeDocumentStringList(&sv.CidrAllowedList, value); err != nil { return err } - case "CpsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -38049,7 +37466,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.CpsLimit = ptr.Int32(int32(i64)) } - case "DefaultPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -38058,7 +37474,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.DefaultPhoneNumber = ptr.String(jtv) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -38067,7 +37482,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.Disabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -38107,7 +37521,6 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Source = ptr.String(jtv) } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -38120,7 +37533,6 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Timestamp = ptr.Time(t) } - default: _, _ = key, value @@ -38150,13 +37562,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -38166,8 +37572,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38175,15 +37580,11 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38208,13 +37609,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -38224,8 +37619,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38233,15 +37627,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38266,13 +37656,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -38282,8 +37666,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38291,15 +37674,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38334,12 +37713,10 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AccountId = ptr.String(jtv) } - case "AlexaForBusinessMetadata": if err := awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(&sv.AlexaForBusinessMetadata, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -38348,7 +37725,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } - case "InvitedOn": if value != nil { jtv, ok := value.(string) @@ -38361,7 +37737,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.InvitedOn = ptr.Time(t) } - case "LicenseType": if value != nil { jtv, ok := value.(string) @@ -38370,7 +37745,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LicenseType = types.License(jtv) } - case "PersonalPIN": if value != nil { jtv, ok := value.(string) @@ -38379,7 +37753,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PersonalPIN = ptr.String(jtv) } - case "PrimaryEmail": if value != nil { jtv, ok := value.(string) @@ -38388,7 +37761,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrimaryEmail = ptr.String(jtv) } - case "PrimaryProvisionedNumber": if value != nil { jtv, ok := value.(string) @@ -38397,7 +37769,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrimaryProvisionedNumber = ptr.String(jtv) } - case "RegisteredOn": if value != nil { jtv, ok := value.(string) @@ -38410,7 +37781,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RegisteredOn = ptr.Time(t) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -38419,7 +37789,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } - case "UserInvitationStatus": if value != nil { jtv, ok := value.(string) @@ -38428,7 +37797,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserInvitationStatus = types.InviteStatus(jtv) } - case "UserRegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -38437,7 +37805,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserRegistrationStatus = types.RegistrationStatus(jtv) } - case "UserType": if value != nil { jtv, ok := value.(string) @@ -38446,7 +37813,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserType = types.UserType(jtv) } - default: _, _ = key, value @@ -38486,7 +37852,6 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -38495,7 +37860,6 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.ErrorMessage = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -38504,7 +37868,6 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -38608,7 +37971,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value if err := awsRestjson1_deserializeDocumentTelephonySettings(&sv.Telephony, value); err != nil { return err } - default: _, _ = key, value @@ -38648,7 +38010,6 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.MuxType = types.VideoMuxType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -38657,7 +38018,6 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.State = types.ArtifactsState(jtv) } - default: _, _ = key, value @@ -38697,7 +38057,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.AwsRegion = types.VoiceConnectorAwsRegion(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38710,7 +38069,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.CreatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38719,7 +38077,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.Name = ptr.String(jtv) } - case "OutboundHostName": if value != nil { jtv, ok := value.(string) @@ -38728,7 +38085,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.OutboundHostName = ptr.String(jtv) } - case "RequireEncryption": if value != nil { jtv, ok := value.(bool) @@ -38737,7 +38093,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.RequireEncryption = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38750,7 +38105,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorArn": if value != nil { jtv, ok := value.(string) @@ -38759,7 +38113,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorArn = ptr.String(jtv) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -38768,7 +38121,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -38812,7 +38164,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.CreatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38821,7 +38172,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.Name = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38834,7 +38184,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorGroupArn": if value != nil { jtv, ok := value.(string) @@ -38843,7 +38192,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupArn = ptr.String(jtv) } - case "VoiceConnectorGroupId": if value != nil { jtv, ok := value.(string) @@ -38852,12 +38200,10 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupId = ptr.String(jtv) } - case "VoiceConnectorItems": if err := awsRestjson1_deserializeDocumentVoiceConnectorItemList(&sv.VoiceConnectorItems, value); err != nil { return err } - default: _, _ = key, value @@ -38935,7 +38281,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.Priority = ptr.Int32(int32(i64)) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -38944,7 +38289,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -39052,7 +38396,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorSettings(v **types.VoiceConne } sv.CdrBucket = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/chimesdkidentity/deserializers.go b/service/chimesdkidentity/deserializers.go index 792c3aa2fef..25186982776 100644 --- a/service/chimesdkidentity/deserializers.go +++ b/service/chimesdkidentity/deserializers.go @@ -197,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceOutput(v **CreateAppInst } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -370,7 +369,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentIdentity(&sv.AppInstanceAdmin, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -379,7 +377,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -556,7 +553,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceBotOutput(v **CreateAppI } sv.AppInstanceBotArn = ptr.String(jtv) } - default: _, _ = key, value @@ -733,7 +729,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceUserOutput(v **CreateApp } sv.AppInstanceUserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1466,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceOutput(v **DescribeApp if err := awsRestjson1_deserializeDocumentAppInstance(&sv.AppInstance, value); err != nil { return err } - default: _, _ = key, value @@ -1633,7 +1627,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceAdminOutput(v **Descri if err := awsRestjson1_deserializeDocumentAppInstanceAdmin(&sv.AppInstanceAdmin, value); err != nil { return err } - default: _, _ = key, value @@ -1803,7 +1796,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceBotOutput(v **Describe if err := awsRestjson1_deserializeDocumentAppInstanceBot(&sv.AppInstanceBot, value); err != nil { return err } - default: _, _ = key, value @@ -1970,7 +1962,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserOutput(v **Describ if err := awsRestjson1_deserializeDocumentAppInstanceUser(&sv.AppInstanceUser, value); err != nil { return err } - default: _, _ = key, value @@ -2137,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserEndpointOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(&sv.AppInstanceUserEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -2304,7 +2294,6 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } - case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -2320,7 +2309,6 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * } } - default: _, _ = key, value @@ -2490,7 +2478,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn if err := awsRestjson1_deserializeDocumentAppInstanceAdminList(&sv.AppInstanceAdmins, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -2499,7 +2486,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.AppInstanceArn = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2508,7 +2494,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2682,12 +2667,10 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceBotsOutput(v **ListAppInst } sv.AppInstanceArn = ptr.String(jtv) } - case "AppInstanceBots": if err := awsRestjson1_deserializeDocumentAppInstanceBotList(&sv.AppInstanceBots, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2696,7 +2679,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceBotsOutput(v **ListAppInst } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2863,7 +2845,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc if err := awsRestjson1_deserializeDocumentAppInstanceList(&sv.AppInstances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2872,7 +2853,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3039,7 +3019,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUserEndpointsOutput(v **Li if err := awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummaryList(&sv.AppInstanceUserEndpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3048,7 +3027,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUserEndpointsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3219,12 +3197,10 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.AppInstanceArn = ptr.String(jtv) } - case "AppInstanceUsers": if err := awsRestjson1_deserializeDocumentAppInstanceUserList(&sv.AppInstanceUsers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3233,7 +3209,6 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3400,7 +3375,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3567,7 +3541,6 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } - case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3583,7 +3556,6 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * } } - default: _, _ = key, value @@ -3757,12 +3729,10 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceUserExpirationSettingsOutpu } sv.AppInstanceUserArn = ptr.String(jtv) } - case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -3939,7 +3909,6 @@ func awsRestjson1_deserializeOpDocumentRegisterAppInstanceUserEndpointOutput(v * } sv.AppInstanceUserArn = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -3948,7 +3917,6 @@ func awsRestjson1_deserializeOpDocumentRegisterAppInstanceUserEndpointOutput(v * } sv.EndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -4343,7 +4311,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceOutput(v **UpdateAppInst } sv.AppInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4520,7 +4487,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceBotOutput(v **UpdateAppI } sv.AppInstanceBotArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4697,7 +4663,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserOutput(v **UpdateApp } sv.AppInstanceUserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4871,7 +4836,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserEndpointOutput(v **U } sv.AppInstanceUserArn = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -4880,7 +4844,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserEndpointOutput(v **U } sv.EndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -5244,7 +5207,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.AppInstanceArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5260,7 +5222,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5276,7 +5237,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5285,7 +5245,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5294,7 +5253,6 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5330,7 +5288,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } - case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -5339,7 +5296,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } sv.AppInstanceArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5355,7 +5311,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } } - default: _, _ = key, value @@ -5425,7 +5380,6 @@ func awsRestjson1_deserializeDocumentAppInstanceAdminSummary(v **types.AppInstan if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } - default: _, _ = key, value @@ -5465,12 +5419,10 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.AppInstanceBotArn = ptr.String(jtv) } - case "Configuration": if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5486,7 +5438,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5502,7 +5453,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5511,7 +5461,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5520,7 +5469,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5594,7 +5542,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.AppInstanceBotArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5603,7 +5550,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5612,7 +5558,6 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5682,7 +5627,6 @@ func awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(v **types.AppI if err := awsRestjson1_deserializeDocumentChannelRetentionSettings(&sv.ChannelRetentionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -5722,7 +5666,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.AppInstanceArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5731,7 +5674,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5740,7 +5682,6 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5780,7 +5721,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.AppInstanceUserArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5796,12 +5736,10 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } - case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5817,7 +5755,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5826,7 +5763,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5835,7 +5771,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5875,7 +5810,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.AllowMessages = types.AllowMessages(jtv) } - case "AppInstanceUserArn": if value != nil { jtv, ok := value.(string) @@ -5884,7 +5818,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.AppInstanceUserArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5900,12 +5833,10 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } } - case "EndpointAttributes": if err := awsRestjson1_deserializeDocumentEndpointAttributes(&sv.EndpointAttributes, value); err != nil { return err } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -5914,12 +5845,10 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.EndpointId = ptr.String(jtv) } - case "EndpointState": if err := awsRestjson1_deserializeDocumentEndpointState(&sv.EndpointState, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5935,7 +5864,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5944,7 +5872,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.Name = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5953,7 +5880,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.ResourceArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5962,7 +5888,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.Type = types.AppInstanceUserEndpointType(jtv) } - default: _, _ = key, value @@ -6002,7 +5927,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.AllowMessages = types.AllowMessages(jtv) } - case "AppInstanceUserArn": if value != nil { jtv, ok := value.(string) @@ -6011,7 +5935,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.AppInstanceUserArn = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -6020,12 +5943,10 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.EndpointId = ptr.String(jtv) } - case "EndpointState": if err := awsRestjson1_deserializeDocumentEndpointState(&sv.EndpointState, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6034,7 +5955,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6043,7 +5963,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.Type = types.AppInstanceUserEndpointType(jtv) } - default: _, _ = key, value @@ -6151,7 +6070,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.AppInstanceUserArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -6160,7 +6078,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Metadata = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6169,7 +6086,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6199,13 +6115,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6215,8 +6125,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6224,15 +6133,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6271,7 +6176,6 @@ func awsRestjson1_deserializeDocumentChannelRetentionSettings(v **types.ChannelR } sv.RetentionDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6307,7 +6211,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu if err := awsRestjson1_deserializeDocumentLexConfiguration(&sv.Lex, value); err != nil { return err } - default: _, _ = key, value @@ -6337,13 +6240,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6353,8 +6250,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6362,15 +6258,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6405,7 +6297,6 @@ func awsRestjson1_deserializeDocumentEndpointAttributes(v **types.EndpointAttrib } sv.DeviceToken = ptr.String(jtv) } - case "VoipDeviceToken": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6305,6 @@ func awsRestjson1_deserializeDocumentEndpointAttributes(v **types.EndpointAttrib } sv.VoipDeviceToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6454,7 +6344,6 @@ func awsRestjson1_deserializeDocumentEndpointState(v **types.EndpointState, valu } sv.Status = types.EndpointStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6463,7 +6352,6 @@ func awsRestjson1_deserializeDocumentEndpointState(v **types.EndpointState, valu } sv.StatusReason = types.EndpointStatusReason(jtv) } - default: _, _ = key, value @@ -6503,7 +6391,6 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationCriterion = types.ExpirationCriterion(jtv) } - case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -6516,7 +6403,6 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6546,13 +6432,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6562,8 +6442,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6571,15 +6450,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6614,7 +6489,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6623,7 +6497,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6663,7 +6536,6 @@ func awsRestjson1_deserializeDocumentInvokedBy(v **types.InvokedBy, value interf } sv.StandardMessages = types.StandardMessages(jtv) } - case "TargetedMessages": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6544,6 @@ func awsRestjson1_deserializeDocumentInvokedBy(v **types.InvokedBy, value interf } sv.TargetedMessages = types.TargetedMessages(jtv) } - default: _, _ = key, value @@ -6708,7 +6579,6 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration if err := awsRestjson1_deserializeDocumentInvokedBy(&sv.InvokedBy, value); err != nil { return err } - case "LexBotAliasArn": if value != nil { jtv, ok := value.(string) @@ -6717,7 +6587,6 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.LexBotAliasArn = ptr.String(jtv) } - case "LocaleId": if value != nil { jtv, ok := value.(string) @@ -6726,7 +6595,6 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.LocaleId = ptr.String(jtv) } - case "RespondsTo": if value != nil { jtv, ok := value.(string) @@ -6735,7 +6603,6 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.RespondsTo = types.RespondsTo(jtv) } - case "WelcomeIntent": if value != nil { jtv, ok := value.(string) @@ -6744,7 +6611,6 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.WelcomeIntent = ptr.String(jtv) } - default: _, _ = key, value @@ -6774,13 +6640,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6790,8 +6650,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6799,15 +6658,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6832,13 +6687,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6848,8 +6697,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6857,15 +6705,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6890,13 +6734,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6906,8 +6744,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6915,15 +6752,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6948,13 +6781,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6964,8 +6791,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6973,15 +6799,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7016,7 +6838,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6846,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7089,13 +6909,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -7105,8 +6919,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7114,15 +6927,11 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7147,13 +6956,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -7163,8 +6966,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7172,15 +6974,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/chimesdkmediapipelines/deserializers.go b/service/chimesdkmediapipelines/deserializers.go index 93eda972a20..71d29b3eb74 100644 --- a/service/chimesdkmediapipelines/deserializers.go +++ b/service/chimesdkmediapipelines/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaCapturePipelineOutput(v **Crea if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } - default: _, _ = key, value @@ -360,7 +359,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaConcatenationPipelineOutput(v if err := awsRestjson1_deserializeDocumentMediaConcatenationPipeline(&sv.MediaConcatenationPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -533,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaInsightsPipelineOutput(v **Cre if err := awsRestjson1_deserializeDocumentMediaInsightsPipeline(&sv.MediaInsightsPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -706,7 +703,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaInsightsPipelineConfigurationO if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -876,7 +872,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaLiveConnectorPipelineOutput(v if err := awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(&sv.MediaLiveConnectorPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -1049,7 +1044,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaPipelineKinesisVideoStreamPool if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1222,7 +1216,6 @@ func awsRestjson1_deserializeOpDocumentCreateMediaStreamPipelineOutput(v **Creat if err := awsRestjson1_deserializeDocumentMediaStreamPipeline(&sv.MediaStreamPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -1849,7 +1842,6 @@ func awsRestjson1_deserializeOpDocumentGetMediaCapturePipelineOutput(v **GetMedi if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } - default: _, _ = key, value @@ -2019,7 +2011,6 @@ func awsRestjson1_deserializeOpDocumentGetMediaInsightsPipelineConfigurationOutp if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2189,7 +2180,6 @@ func awsRestjson1_deserializeOpDocumentGetMediaPipelineOutput(v **GetMediaPipeli if err := awsRestjson1_deserializeDocumentMediaPipeline(&sv.MediaPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -2359,7 +2349,6 @@ func awsRestjson1_deserializeOpDocumentGetMediaPipelineKinesisVideoStreamPoolOut if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2529,7 +2518,6 @@ func awsRestjson1_deserializeOpDocumentGetSpeakerSearchTaskOutput(v **GetSpeaker if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } - default: _, _ = key, value @@ -2699,7 +2687,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceToneAnalysisTaskOutput(v **GetVoi if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } - default: _, _ = key, value @@ -2869,7 +2856,6 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM if err := awsRestjson1_deserializeDocumentMediaCapturePipelineSummaryList(&sv.MediaCapturePipelines, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2878,7 +2864,6 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3048,7 +3033,6 @@ func awsRestjson1_deserializeOpDocumentListMediaInsightsPipelineConfigurationsOu if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummaryList(&sv.MediaInsightsPipelineConfigurations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3057,7 +3041,6 @@ func awsRestjson1_deserializeOpDocumentListMediaInsightsPipelineConfigurationsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3227,7 +3210,6 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelineKinesisVideoStreamPoolsO if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummaryList(&sv.KinesisVideoStreamPools, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3236,7 +3218,6 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelineKinesisVideoStreamPoolsO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3406,7 +3387,6 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelinesOutput(v **ListMediaPip if err := awsRestjson1_deserializeDocumentMediaPipelineList(&sv.MediaPipelines, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3415,7 +3395,6 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelinesOutput(v **ListMediaPip } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3585,7 +3564,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3758,7 +3736,6 @@ func awsRestjson1_deserializeOpDocumentStartSpeakerSearchTaskOutput(v **StartSpe if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } - default: _, _ = key, value @@ -3931,7 +3908,6 @@ func awsRestjson1_deserializeOpDocumentStartVoiceToneAnalysisTaskOutput(v **Star if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } - default: _, _ = key, value @@ -4546,7 +4522,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMediaInsightsPipelineConfigurationO if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4834,7 +4809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMediaPipelineKinesisVideoStreamPool if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5198,7 +5172,6 @@ func awsRestjson1_deserializeDocumentActiveSpeakerOnlyConfiguration(v **types.Ac } sv.ActiveSpeakerPosition = types.ActiveSpeakerPosition(jtv) } - default: _, _ = key, value @@ -5234,7 +5207,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi if err := awsRestjson1_deserializeDocumentCategoryNameList(&sv.CallAnalyticsStreamCategories, value); err != nil { return err } - case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -5243,7 +5215,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.ContentIdentificationType = types.ContentType(jtv) } - case "ContentRedactionType": if value != nil { jtv, ok := value.(string) @@ -5252,7 +5223,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.ContentRedactionType = types.ContentType(jtv) } - case "EnablePartialResultsStabilization": if value != nil { jtv, ok := value.(bool) @@ -5261,7 +5231,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.EnablePartialResultsStabilization = jtv } - case "FilterPartialResults": if value != nil { jtv, ok := value.(bool) @@ -5270,7 +5239,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.FilterPartialResults = jtv } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5279,7 +5247,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.LanguageCode = types.CallAnalyticsLanguageCode(jtv) } - case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5288,7 +5255,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.LanguageModelName = ptr.String(jtv) } - case "PartialResultsStability": if value != nil { jtv, ok := value.(string) @@ -5297,7 +5263,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.PartialResultsStability = types.PartialResultsStability(jtv) } - case "PiiEntityTypes": if value != nil { jtv, ok := value.(string) @@ -5306,12 +5271,10 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.PiiEntityTypes = ptr.String(jtv) } - case "PostCallAnalyticsSettings": if err := awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(&sv.PostCallAnalyticsSettings, value); err != nil { return err } - case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5320,7 +5283,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5329,7 +5291,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5338,7 +5299,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -5378,7 +5338,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ContentIdentificationType = types.ContentType(jtv) } - case "ContentRedactionType": if value != nil { jtv, ok := value.(string) @@ -5387,7 +5346,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ContentRedactionType = types.ContentType(jtv) } - case "EnablePartialResultsStabilization": if value != nil { jtv, ok := value.(bool) @@ -5396,7 +5354,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.EnablePartialResultsStabilization = jtv } - case "FilterPartialResults": if value != nil { jtv, ok := value.(bool) @@ -5405,7 +5362,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.FilterPartialResults = jtv } - case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -5414,7 +5370,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.IdentifyLanguage = jtv } - case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -5423,7 +5378,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.IdentifyMultipleLanguages = jtv } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5432,7 +5386,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageCode = types.CallAnalyticsLanguageCode(jtv) } - case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5441,7 +5394,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageModelName = ptr.String(jtv) } - case "LanguageOptions": if value != nil { jtv, ok := value.(string) @@ -5450,7 +5402,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageOptions = ptr.String(jtv) } - case "PartialResultsStability": if value != nil { jtv, ok := value.(string) @@ -5459,7 +5410,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PartialResultsStability = types.PartialResultsStability(jtv) } - case "PiiEntityTypes": if value != nil { jtv, ok := value.(string) @@ -5468,7 +5418,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PiiEntityTypes = ptr.String(jtv) } - case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -5477,7 +5426,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PreferredLanguage = types.CallAnalyticsLanguageCode(jtv) } - case "ShowSpeakerLabel": if value != nil { jtv, ok := value.(bool) @@ -5486,7 +5434,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ShowSpeakerLabel = jtv } - case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5495,7 +5442,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5504,7 +5450,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyFilterNames": if value != nil { jtv, ok := value.(string) @@ -5513,7 +5458,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterNames = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5522,7 +5466,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyNames": if value != nil { jtv, ok := value.(string) @@ -5531,7 +5474,6 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyNames = ptr.String(jtv) } - default: _, _ = key, value @@ -5567,37 +5509,30 @@ func awsRestjson1_deserializeDocumentArtifactsConcatenationConfiguration(v **typ if err := awsRestjson1_deserializeDocumentAudioConcatenationConfiguration(&sv.Audio, value); err != nil { return err } - case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoConcatenationConfiguration(&sv.CompositedVideo, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentContentConcatenationConfiguration(&sv.Content, value); err != nil { return err } - case "DataChannel": if err := awsRestjson1_deserializeDocumentDataChannelConcatenationConfiguration(&sv.DataChannel, value); err != nil { return err } - case "MeetingEvents": if err := awsRestjson1_deserializeDocumentMeetingEventsConcatenationConfiguration(&sv.MeetingEvents, value); err != nil { return err } - case "TranscriptionMessages": if err := awsRestjson1_deserializeDocumentTranscriptionMessagesConcatenationConfiguration(&sv.TranscriptionMessages, value); err != nil { return err } - case "Video": if err := awsRestjson1_deserializeDocumentVideoConcatenationConfiguration(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -5633,22 +5568,18 @@ func awsRestjson1_deserializeDocumentArtifactsConfiguration(v **types.ArtifactsC if err := awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(&sv.Audio, value); err != nil { return err } - case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(&sv.CompositedVideo, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentContentArtifactsConfiguration(&sv.Content, value); err != nil { return err } - case "Video": if err := awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -5724,7 +5655,6 @@ func awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(v **types.Audio } sv.MuxType = types.AudioMuxType(jtv) } - default: _, _ = key, value @@ -5764,7 +5694,6 @@ func awsRestjson1_deserializeDocumentAudioConcatenationConfiguration(v **types.A } sv.State = types.AudioArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -5794,13 +5723,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -5810,8 +5733,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5819,7 +5741,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5828,15 +5749,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5911,7 +5828,6 @@ func awsRestjson1_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ChannelId = int32(i64) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -5920,7 +5836,6 @@ func awsRestjson1_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ParticipantRole = types.ParticipantRole(jtv) } - default: _, _ = key, value @@ -5990,7 +5905,6 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConcatenationConfiguration(v if err := awsRestjson1_deserializeDocumentArtifactsConcatenationConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6026,12 +5940,10 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(v **types.Chim if err := awsRestjson1_deserializeDocumentArtifactsConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } - case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6071,12 +5983,10 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(v } sv.Arn = ptr.String(jtv) } - case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(&sv.CompositedVideo, value); err != nil { return err } - case "MuxType": if value != nil { jtv, ok := value.(string) @@ -6085,12 +5995,10 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(v } sv.MuxType = types.LiveConnectorMuxType(jtv) } - case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6126,7 +6034,6 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t if err := awsRestjson1_deserializeDocumentGridViewConfiguration(&sv.GridViewConfiguration, value); err != nil { return err } - case "Layout": if value != nil { jtv, ok := value.(string) @@ -6135,7 +6042,6 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t } sv.Layout = types.LayoutOption(jtv) } - case "Resolution": if value != nil { jtv, ok := value.(string) @@ -6144,7 +6050,6 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t } sv.Resolution = types.ResolutionOption(jtv) } - default: _, _ = key, value @@ -6184,7 +6089,6 @@ func awsRestjson1_deserializeDocumentCompositedVideoConcatenationConfiguration(v } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -6220,7 +6124,6 @@ func awsRestjson1_deserializeDocumentConcatenationSink(v **types.ConcatenationSi if err := awsRestjson1_deserializeDocumentS3BucketSinkConfiguration(&sv.S3BucketSinkConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6229,7 +6132,6 @@ func awsRestjson1_deserializeDocumentConcatenationSink(v **types.ConcatenationSi } sv.Type = types.ConcatenationSinkType(jtv) } - default: _, _ = key, value @@ -6299,7 +6201,6 @@ func awsRestjson1_deserializeDocumentConcatenationSource(v **types.Concatenation if err := awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(&sv.MediaCapturePipelineSourceConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6308,7 +6209,6 @@ func awsRestjson1_deserializeDocumentConcatenationSource(v **types.Concatenation } sv.Type = types.ConcatenationSourceType(jtv) } - default: _, _ = key, value @@ -6372,13 +6272,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6388,8 +6282,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6397,7 +6290,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6406,15 +6298,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6449,7 +6337,6 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.MuxType = types.ContentMuxType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6458,7 +6345,6 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.State = types.ArtifactsState(jtv) } - default: _, _ = key, value @@ -6498,7 +6384,6 @@ func awsRestjson1_deserializeDocumentContentConcatenationConfiguration(v **types } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -6538,7 +6423,6 @@ func awsRestjson1_deserializeDocumentDataChannelConcatenationConfiguration(v **t } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -6604,13 +6488,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6620,8 +6498,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6629,7 +6506,6 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6638,15 +6514,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6681,12 +6553,10 @@ func awsRestjson1_deserializeDocumentFragmentSelector(v **types.FragmentSelector } sv.FragmentSelectorType = types.FragmentSelectorType(jtv) } - case "TimestampRange": if err := awsRestjson1_deserializeDocumentTimestampRange(&sv.TimestampRange, value); err != nil { return err } - default: _, _ = key, value @@ -6722,7 +6592,6 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon if err := awsRestjson1_deserializeDocumentActiveSpeakerOnlyConfiguration(&sv.ActiveSpeakerOnlyConfiguration, value); err != nil { return err } - case "CanvasOrientation": if value != nil { jtv, ok := value.(string) @@ -6731,7 +6600,6 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon } sv.CanvasOrientation = types.CanvasOrientation(jtv) } - case "ContentShareLayout": if value != nil { jtv, ok := value.(string) @@ -6740,27 +6608,22 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon } sv.ContentShareLayout = types.ContentShareLayoutOption(jtv) } - case "HorizontalLayoutConfiguration": if err := awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(&sv.HorizontalLayoutConfiguration, value); err != nil { return err } - case "PresenterOnlyConfiguration": if err := awsRestjson1_deserializeDocumentPresenterOnlyConfiguration(&sv.PresenterOnlyConfiguration, value); err != nil { return err } - case "VerticalLayoutConfiguration": if err := awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(&sv.VerticalLayoutConfiguration, value); err != nil { return err } - case "VideoAttribute": if err := awsRestjson1_deserializeDocumentVideoAttribute(&sv.VideoAttribute, value); err != nil { return err } - default: _, _ = key, value @@ -6800,7 +6663,6 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileAspectRatio = ptr.String(jtv) } - case "TileCount": if value != nil { jtv, ok := value.(json.Number) @@ -6813,7 +6675,6 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileCount = ptr.Int32(int32(i64)) } - case "TileOrder": if value != nil { jtv, ok := value.(string) @@ -6822,7 +6683,6 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileOrder = types.TileOrder(jtv) } - case "TilePosition": if value != nil { jtv, ok := value.(string) @@ -6831,7 +6691,6 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TilePosition = types.HorizontalTilePosition(jtv) } - default: _, _ = key, value @@ -6871,7 +6730,6 @@ func awsRestjson1_deserializeDocumentIssueDetectionConfiguration(v **types.Issue } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -6907,7 +6765,6 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword if err := awsRestjson1_deserializeDocumentKeywordMatchWordList(&sv.Keywords, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -6916,7 +6773,6 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword } sv.Negate = jtv } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -6925,7 +6781,6 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -7001,7 +6856,6 @@ func awsRestjson1_deserializeDocumentKinesisDataStreamSinkConfiguration(v **type } sv.InsightsTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -7045,7 +6899,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(v **types.K } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -7054,7 +6907,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(v **types.K } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -7098,7 +6950,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.CreatedTimestamp = ptr.Time(t) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -7107,7 +6958,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -7116,7 +6966,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolId = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -7125,7 +6974,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolName = ptr.String(jtv) } - case "PoolSize": if value != nil { jtv, ok := value.(json.Number) @@ -7138,7 +6986,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolSize = ptr.Int32(int32(i64)) } - case "PoolStatus": if value != nil { jtv, ok := value.(string) @@ -7147,12 +6994,10 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolStatus = types.KinesisVideoStreamPoolStatus(jtv) } - case "StreamConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(&sv.StreamConfiguration, value); err != nil { return err } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7165,7 +7010,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -7205,7 +7049,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -7214,7 +7057,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolId = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -7223,7 +7065,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolName = ptr.String(jtv) } - default: _, _ = key, value @@ -7293,12 +7134,10 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamRecordingSourceRuntimeCon if err := awsRestjson1_deserializeDocumentFragmentSelector(&sv.FragmentSelector, value); err != nil { return err } - case "Streams": if err := awsRestjson1_deserializeDocumentRecordingStreamList(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -7338,7 +7177,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguratio } sv.MediaEncoding = types.MediaEncoding(jtv) } - case "MediaSampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -7351,12 +7189,10 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguratio } sv.MediaSampleRate = ptr.Int32(int32(i64)) } - case "Streams": if err := awsRestjson1_deserializeDocumentStreams(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -7396,7 +7232,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionSinkConfiguration(v **types.L } sv.InsightsTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -7436,7 +7271,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.AudioChannels = types.AudioChannelsOption(jtv) } - case "AudioSampleRate": if value != nil { jtv, ok := value.(string) @@ -7445,7 +7279,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.AudioSampleRate = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7454,7 +7287,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7490,7 +7322,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorSinkConfiguration(v **types.Li if err := awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(&sv.RTMPConfiguration, value); err != nil { return err } - case "SinkType": if value != nil { jtv, ok := value.(string) @@ -7499,7 +7330,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorSinkConfiguration(v **types.Li } sv.SinkType = types.LiveConnectorSinkType(jtv) } - default: _, _ = key, value @@ -7569,7 +7399,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorSourceConfiguration(v **types. if err := awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(&sv.ChimeSdkMeetingLiveConnectorConfiguration, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -7578,7 +7407,6 @@ func awsRestjson1_deserializeDocumentLiveConnectorSourceConfiguration(v **types. } sv.SourceType = types.LiveConnectorSourceType(jtv) } - default: _, _ = key, value @@ -7648,7 +7476,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7661,7 +7488,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.CreatedTimestamp = ptr.Time(t) } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7670,7 +7496,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7679,7 +7504,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineId = ptr.String(jtv) } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -7688,7 +7512,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkArn = ptr.String(jtv) } - case "SinkType": if value != nil { jtv, ok := value.(string) @@ -7697,7 +7520,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkType = types.MediaPipelineSinkType(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -7706,7 +7528,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -7715,7 +7536,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceType = types.MediaPipelineSourceType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7724,7 +7544,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.Status = types.MediaPipelineStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7737,7 +7556,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -7773,7 +7591,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(v * if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConcatenationConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7782,7 +7599,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(v * } sv.MediaPipelineArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7822,7 +7638,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSummary(v **types.Media } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7831,7 +7646,6 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSummary(v **types.Media } sv.MediaPipelineId = ptr.String(jtv) } - default: _, _ = key, value @@ -7909,7 +7723,6 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.CreatedTimestamp = ptr.Time(t) } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7918,7 +7731,6 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7927,17 +7739,14 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.MediaPipelineId = ptr.String(jtv) } - case "Sinks": if err := awsRestjson1_deserializeDocumentConcatenationSinkList(&sv.Sinks, value); err != nil { return err } - case "Sources": if err := awsRestjson1_deserializeDocumentConcatenationSourceList(&sv.Sources, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7946,7 +7755,6 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.Status = types.MediaPipelineStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7959,7 +7767,6 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -8003,22 +7810,18 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.CreatedTimestamp = ptr.Time(t) } - case "ElementStatuses": if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatuses(&sv.ElementStatuses, value); err != nil { return err } - case "KinesisVideoStreamRecordingSourceRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamRecordingSourceRuntimeConfiguration(&sv.KinesisVideoStreamRecordingSourceRuntimeConfiguration, value); err != nil { return err } - case "KinesisVideoStreamSourceRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguration(&sv.KinesisVideoStreamSourceRuntimeConfiguration, value); err != nil { return err } - case "MediaInsightsPipelineConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8027,12 +7830,10 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } - case "MediaInsightsRuntimeMetadata": if err := awsRestjson1_deserializeDocumentMediaInsightsRuntimeMetadata(&sv.MediaInsightsRuntimeMetadata, value); err != nil { return err } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -8041,7 +7842,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8050,12 +7850,10 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaPipelineId = ptr.String(jtv) } - case "S3RecordingSinkRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(&sv.S3RecordingSinkRuntimeConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8064,7 +7862,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.Status = types.MediaPipelineStatus(jtv) } - default: _, _ = key, value @@ -8108,12 +7905,10 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.CreatedTimestamp = ptr.Time(t) } - case "Elements": if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElements(&sv.Elements, value); err != nil { return err } - case "MediaInsightsPipelineConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8122,7 +7917,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } - case "MediaInsightsPipelineConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8131,7 +7925,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationId = ptr.String(jtv) } - case "MediaInsightsPipelineConfigurationName": if value != nil { jtv, ok := value.(string) @@ -8140,12 +7933,10 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationName = ptr.String(jtv) } - case "RealTimeAlertConfiguration": if err := awsRestjson1_deserializeDocumentRealTimeAlertConfiguration(&sv.RealTimeAlertConfiguration, value); err != nil { return err } - case "ResourceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -8154,7 +7945,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.ResourceAccessRoleArn = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8167,7 +7957,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -8203,37 +7992,30 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElement(v if err := awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfiguration(&sv.AmazonTranscribeCallAnalyticsProcessorConfiguration, value); err != nil { return err } - case "AmazonTranscribeProcessorConfiguration": if err := awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(&sv.AmazonTranscribeProcessorConfiguration, value); err != nil { return err } - case "KinesisDataStreamSinkConfiguration": if err := awsRestjson1_deserializeDocumentKinesisDataStreamSinkConfiguration(&sv.KinesisDataStreamSinkConfiguration, value); err != nil { return err } - case "LambdaFunctionSinkConfiguration": if err := awsRestjson1_deserializeDocumentLambdaFunctionSinkConfiguration(&sv.LambdaFunctionSinkConfiguration, value); err != nil { return err } - case "S3RecordingSinkConfiguration": if err := awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(&sv.S3RecordingSinkConfiguration, value); err != nil { return err } - case "SnsTopicSinkConfiguration": if err := awsRestjson1_deserializeDocumentSnsTopicSinkConfiguration(&sv.SnsTopicSinkConfiguration, value); err != nil { return err } - case "SqsQueueSinkConfiguration": if err := awsRestjson1_deserializeDocumentSqsQueueSinkConfiguration(&sv.SqsQueueSinkConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8242,17 +8024,14 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElement(v } sv.Type = types.MediaInsightsPipelineConfigurationElementType(jtv) } - case "VoiceAnalyticsProcessorConfiguration": if err := awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(&sv.VoiceAnalyticsProcessorConfiguration, value); err != nil { return err } - case "VoiceEnhancementSinkConfiguration": if err := awsRestjson1_deserializeDocumentVoiceEnhancementSinkConfiguration(&sv.VoiceEnhancementSinkConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8326,7 +8105,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } - case "MediaInsightsPipelineConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8335,7 +8113,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationId = ptr.String(jtv) } - case "MediaInsightsPipelineConfigurationName": if value != nil { jtv, ok := value.(string) @@ -8344,7 +8121,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationName = ptr.String(jtv) } - default: _, _ = key, value @@ -8418,7 +8194,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatus(v **type } sv.Status = types.MediaPipelineElementStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8427,7 +8202,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatus(v **type } sv.Type = types.MediaInsightsPipelineConfigurationElementType(jtv) } - default: _, _ = key, value @@ -8541,7 +8315,6 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.CreatedTimestamp = ptr.Time(t) } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -8550,7 +8323,6 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8559,17 +8331,14 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.MediaPipelineId = ptr.String(jtv) } - case "Sinks": if err := awsRestjson1_deserializeDocumentLiveConnectorSinkList(&sv.Sinks, value); err != nil { return err } - case "Sources": if err := awsRestjson1_deserializeDocumentLiveConnectorSourceList(&sv.Sources, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8578,7 +8347,6 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.Status = types.MediaPipelineStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8591,7 +8359,6 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -8627,27 +8394,22 @@ func awsRestjson1_deserializeDocumentMediaPipeline(v **types.MediaPipeline, valu if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } - case "MediaConcatenationPipeline": if err := awsRestjson1_deserializeDocumentMediaConcatenationPipeline(&sv.MediaConcatenationPipeline, value); err != nil { return err } - case "MediaInsightsPipeline": if err := awsRestjson1_deserializeDocumentMediaInsightsPipeline(&sv.MediaInsightsPipeline, value); err != nil { return err } - case "MediaLiveConnectorPipeline": if err := awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(&sv.MediaLiveConnectorPipeline, value); err != nil { return err } - case "MediaStreamPipeline": if err := awsRestjson1_deserializeDocumentMediaStreamPipeline(&sv.MediaStreamPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -8721,7 +8483,6 @@ func awsRestjson1_deserializeDocumentMediaPipelineSummary(v **types.MediaPipelin } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8730,7 +8491,6 @@ func awsRestjson1_deserializeDocumentMediaPipelineSummary(v **types.MediaPipelin } sv.MediaPipelineId = ptr.String(jtv) } - default: _, _ = key, value @@ -8774,7 +8534,6 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.CreatedTimestamp = ptr.Time(t) } - case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -8783,7 +8542,6 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.MediaPipelineArn = ptr.String(jtv) } - case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8792,17 +8550,14 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.MediaPipelineId = ptr.String(jtv) } - case "Sinks": if err := awsRestjson1_deserializeDocumentMediaStreamSinkList(&sv.Sinks, value); err != nil { return err } - case "Sources": if err := awsRestjson1_deserializeDocumentMediaStreamSourceList(&sv.Sources, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8811,7 +8566,6 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.Status = types.MediaPipelineStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8824,7 +8578,6 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -8864,7 +8617,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.MediaStreamType = types.MediaStreamType(jtv) } - case "ReservedStreamCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8877,7 +8629,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.ReservedStreamCapacity = ptr.Int32(int32(i64)) } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -8886,7 +8637,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.SinkArn = ptr.String(jtv) } - case "SinkType": if value != nil { jtv, ok := value.(string) @@ -8895,7 +8645,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.SinkType = types.MediaStreamPipelineSinkType(jtv) } - default: _, _ = key, value @@ -8969,7 +8718,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSource(v **types.MediaStreamSour } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8978,7 +8726,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSource(v **types.MediaStreamSour } sv.SourceType = types.MediaPipelineSourceType(jtv) } - default: _, _ = key, value @@ -9052,7 +8799,6 @@ func awsRestjson1_deserializeDocumentMeetingEventsConcatenationConfiguration(v * } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -9082,13 +8828,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -9098,8 +8838,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9107,7 +8846,6 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9116,15 +8854,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9159,7 +8893,6 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.ContentRedactionOutput = types.ContentRedactionOutput(jtv) } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -9168,7 +8901,6 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.DataAccessRoleArn = ptr.String(jtv) } - case "OutputEncryptionKMSKeyId": if value != nil { jtv, ok := value.(string) @@ -9177,7 +8909,6 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.OutputEncryptionKMSKeyId = ptr.String(jtv) } - case "OutputLocation": if value != nil { jtv, ok := value.(string) @@ -9186,7 +8917,6 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.OutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -9226,7 +8956,6 @@ func awsRestjson1_deserializeDocumentPresenterOnlyConfiguration(v **types.Presen } sv.PresenterPosition = types.PresenterPosition(jtv) } - default: _, _ = key, value @@ -9266,12 +8995,10 @@ func awsRestjson1_deserializeDocumentRealTimeAlertConfiguration(v **types.RealTi } sv.Disabled = jtv } - case "Rules": if err := awsRestjson1_deserializeDocumentRealTimeAlertRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -9307,17 +9034,14 @@ func awsRestjson1_deserializeDocumentRealTimeAlertRule(v **types.RealTimeAlertRu if err := awsRestjson1_deserializeDocumentIssueDetectionConfiguration(&sv.IssueDetectionConfiguration, value); err != nil { return err } - case "KeywordMatchConfiguration": if err := awsRestjson1_deserializeDocumentKeywordMatchConfiguration(&sv.KeywordMatchConfiguration, value); err != nil { return err } - case "SentimentConfiguration": if err := awsRestjson1_deserializeDocumentSentimentConfiguration(&sv.SentimentConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9326,7 +9050,6 @@ func awsRestjson1_deserializeDocumentRealTimeAlertRule(v **types.RealTimeAlertRu } sv.Type = types.RealTimeAlertRuleType(jtv) } - default: _, _ = key, value @@ -9400,7 +9123,6 @@ func awsRestjson1_deserializeDocumentRecordingStreamConfiguration(v **types.Reco } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9464,13 +9186,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -9480,8 +9196,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9489,7 +9204,6 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9498,15 +9212,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9541,7 +9251,6 @@ func awsRestjson1_deserializeDocumentS3BucketSinkConfiguration(v **types.S3Bucke } sv.Destination = ptr.String(jtv) } - default: _, _ = key, value @@ -9581,7 +9290,6 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(v **types.S3Re } sv.Destination = ptr.String(jtv) } - case "RecordingFileFormat": if value != nil { jtv, ok := value.(string) @@ -9590,7 +9298,6 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(v **types.S3Re } sv.RecordingFileFormat = types.RecordingFileFormat(jtv) } - default: _, _ = key, value @@ -9630,7 +9337,6 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(v **typ } sv.Destination = ptr.String(jtv) } - case "RecordingFileFormat": if value != nil { jtv, ok := value.(string) @@ -9639,7 +9345,6 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(v **typ } sv.RecordingFileFormat = types.RecordingFileFormat(jtv) } - default: _, _ = key, value @@ -9675,12 +9380,10 @@ func awsRestjson1_deserializeDocumentSelectedVideoStreams(v **types.SelectedVide if err := awsRestjson1_deserializeDocumentAttendeeIdList(&sv.AttendeeIds, value); err != nil { return err } - case "ExternalUserIds": if err := awsRestjson1_deserializeDocumentExternalUserIdList(&sv.ExternalUserIds, value); err != nil { return err } - default: _, _ = key, value @@ -9720,7 +9423,6 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.RuleName = ptr.String(jtv) } - case "SentimentType": if value != nil { jtv, ok := value.(string) @@ -9729,7 +9431,6 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.SentimentType = types.SentimentType(jtv) } - case "TimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9742,7 +9443,6 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.TimePeriod = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9772,13 +9472,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -9788,8 +9482,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9797,7 +9490,6 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9806,15 +9498,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9839,13 +9527,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -9855,8 +9537,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9864,7 +9545,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9873,15 +9553,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9916,7 +9592,6 @@ func awsRestjson1_deserializeDocumentSnsTopicSinkConfiguration(v **types.SnsTopi } sv.InsightsTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -9952,7 +9627,6 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentSelectedVideoStreams(&sv.SelectedVideoStreams, value); err != nil { return err } - default: _, _ = key, value @@ -9996,7 +9670,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.CreatedTimestamp = ptr.Time(t) } - case "SpeakerSearchTaskId": if value != nil { jtv, ok := value.(string) @@ -10005,7 +9678,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskId = ptr.String(jtv) } - case "SpeakerSearchTaskStatus": if value != nil { jtv, ok := value.(string) @@ -10014,7 +9686,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskStatus = types.MediaPipelineTaskStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -10027,7 +9698,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -10067,7 +9737,6 @@ func awsRestjson1_deserializeDocumentSqsQueueSinkConfiguration(v **types.SqsQueu } sv.InsightsTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -10103,7 +9772,6 @@ func awsRestjson1_deserializeDocumentStreamChannelDefinition(v **types.StreamCha if err := awsRestjson1_deserializeDocumentChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } - case "NumberOfChannels": if value != nil { jtv, ok := value.(json.Number) @@ -10116,7 +9784,6 @@ func awsRestjson1_deserializeDocumentStreamChannelDefinition(v **types.StreamCha } sv.NumberOfChannels = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10156,7 +9823,6 @@ func awsRestjson1_deserializeDocumentStreamConfiguration(v **types.StreamConfigu } sv.FragmentNumber = ptr.String(jtv) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -10165,12 +9831,10 @@ func awsRestjson1_deserializeDocumentStreamConfiguration(v **types.StreamConfigu } sv.StreamArn = ptr.String(jtv) } - case "StreamChannelDefinition": if err := awsRestjson1_deserializeDocumentStreamChannelDefinition(&sv.StreamChannelDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -10244,7 +9908,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10253,7 +9916,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10317,13 +9979,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10333,8 +9989,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10342,7 +9997,6 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10351,15 +10005,11 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10401,7 +10051,6 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } } - case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -10417,7 +10066,6 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } } - default: _, _ = key, value @@ -10457,7 +10105,6 @@ func awsRestjson1_deserializeDocumentTranscriptionMessagesConcatenationConfigura } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -10487,13 +10134,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10503,8 +10144,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10512,7 +10152,6 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10521,15 +10160,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10564,7 +10199,6 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileAspectRatio = ptr.String(jtv) } - case "TileCount": if value != nil { jtv, ok := value.(json.Number) @@ -10577,7 +10211,6 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileCount = ptr.Int32(int32(i64)) } - case "TileOrder": if value != nil { jtv, ok := value.(string) @@ -10586,7 +10219,6 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileOrder = types.TileOrder(jtv) } - case "TilePosition": if value != nil { jtv, ok := value.(string) @@ -10595,7 +10227,6 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TilePosition = types.VerticalTilePosition(jtv) } - default: _, _ = key, value @@ -10635,7 +10266,6 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.MuxType = types.VideoMuxType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10644,7 +10274,6 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.State = types.ArtifactsState(jtv) } - default: _, _ = key, value @@ -10684,7 +10313,6 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.BorderColor = types.BorderColor(jtv) } - case "BorderThickness": if value != nil { jtv, ok := value.(json.Number) @@ -10697,7 +10325,6 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.BorderThickness = ptr.Int32(int32(i64)) } - case "CornerRadius": if value != nil { jtv, ok := value.(json.Number) @@ -10710,7 +10337,6 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.CornerRadius = ptr.Int32(int32(i64)) } - case "HighlightColor": if value != nil { jtv, ok := value.(string) @@ -10719,7 +10345,6 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.HighlightColor = types.HighlightColor(jtv) } - default: _, _ = key, value @@ -10759,7 +10384,6 @@ func awsRestjson1_deserializeDocumentVideoConcatenationConfiguration(v **types.V } sv.State = types.ArtifactsConcatenationState(jtv) } - default: _, _ = key, value @@ -10799,7 +10423,6 @@ func awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(v **ty } sv.SpeakerSearchStatus = types.VoiceAnalyticsConfigurationStatus(jtv) } - case "VoiceToneAnalysisStatus": if value != nil { jtv, ok := value.(string) @@ -10808,7 +10431,6 @@ func awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(v **ty } sv.VoiceToneAnalysisStatus = types.VoiceAnalyticsConfigurationStatus(jtv) } - default: _, _ = key, value @@ -10848,7 +10470,6 @@ func awsRestjson1_deserializeDocumentVoiceEnhancementSinkConfiguration(v **types } sv.Disabled = jtv } - default: _, _ = key, value @@ -10892,7 +10513,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.CreatedTimestamp = ptr.Time(t) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10525,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceToneAnalysisTaskId": if value != nil { jtv, ok := value.(string) @@ -10914,7 +10533,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskId = ptr.String(jtv) } - case "VoiceToneAnalysisTaskStatus": if value != nil { jtv, ok := value.(string) @@ -10923,7 +10541,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskStatus = types.MediaPipelineTaskStatus(jtv) } - default: _, _ = key, value diff --git a/service/chimesdkmeetings/deserializers.go b/service/chimesdkmeetings/deserializers.go index 01da6760039..7d25622e720 100644 --- a/service/chimesdkmeetings/deserializers.go +++ b/service/chimesdkmeetings/deserializers.go @@ -196,12 +196,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateAttendeeOutput(v **BatchCreate if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -492,7 +490,6 @@ func awsRestjson1_deserializeOpDocumentCreateAttendeeOutput(v **CreateAttendeeOu if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - default: _, _ = key, value @@ -665,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingOutput(v **CreateMeetingOutp if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -838,17 +834,14 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingWithAttendeesOutput(v **Crea if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } - case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -1242,7 +1235,6 @@ func awsRestjson1_deserializeOpDocumentGetAttendeeOutput(v **GetAttendeeOutput, if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - default: _, _ = key, value @@ -1412,7 +1404,6 @@ func awsRestjson1_deserializeOpDocumentGetMeetingOutput(v **GetMeetingOutput, va if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -1582,7 +1573,6 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1591,7 +1581,6 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1764,7 +1753,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2391,7 +2379,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAttendeeCapabilitiesOutput(v **Upda if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - default: _, _ = key, value @@ -2879,12 +2866,10 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } - case "Capabilities": if err := awsRestjson1_deserializeDocumentAttendeeCapabilities(&sv.Capabilities, value); err != nil { return err } - case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -2893,7 +2878,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.ExternalUserId = ptr.String(jtv) } - case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -2902,7 +2886,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2942,7 +2925,6 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Audio = types.MediaCapabilities(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2933,6 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Content = types.MediaCapabilities(jtv) } - case "Video": if value != nil { jtv, ok := value.(string) @@ -2960,7 +2941,6 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Video = types.MediaCapabilities(jtv) } - default: _, _ = key, value @@ -3004,7 +2984,6 @@ func awsRestjson1_deserializeDocumentAttendeeFeatures(v **types.AttendeeFeatures } sv.MaxCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3078,7 +3057,6 @@ func awsRestjson1_deserializeDocumentAudioFeatures(v **types.AudioFeatures, valu } sv.EchoReduction = types.MeetingFeatureStatus(jtv) } - default: _, _ = key, value @@ -3108,13 +3086,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3124,8 +3096,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3133,7 +3104,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3142,15 +3112,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3209,13 +3175,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3225,8 +3185,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3234,7 +3193,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3243,15 +3201,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3286,7 +3240,6 @@ func awsRestjson1_deserializeDocumentContentFeatures(v **types.ContentFeatures, } sv.MaxResolution = types.ContentResolution(jtv) } - default: _, _ = key, value @@ -3326,7 +3279,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3335,7 +3287,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorMessage = ptr.String(jtv) } - case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -3344,7 +3295,6 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ExternalUserId = ptr.String(jtv) } - default: _, _ = key, value @@ -3374,13 +3324,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3390,8 +3334,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3399,7 +3342,6 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3408,15 +3350,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3441,13 +3379,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3457,8 +3389,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3466,7 +3397,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3475,15 +3405,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3518,7 +3444,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } - case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -3527,7 +3452,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } - case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -3536,7 +3460,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } - case "ScreenDataUrl": if value != nil { jtv, ok := value.(string) @@ -3545,7 +3468,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenDataUrl = ptr.String(jtv) } - case "ScreenSharingUrl": if value != nil { jtv, ok := value.(string) @@ -3554,7 +3476,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenSharingUrl = ptr.String(jtv) } - case "ScreenViewingUrl": if value != nil { jtv, ok := value.(string) @@ -3563,7 +3484,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenViewingUrl = ptr.String(jtv) } - case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -3572,7 +3492,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } - case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3500,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -3621,12 +3539,10 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.ExternalMeetingId = ptr.String(jtv) } - case "MediaPlacement": if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } - case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3551,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } - case "MeetingArn": if value != nil { jtv, ok := value.(string) @@ -3644,12 +3559,10 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingArn = ptr.String(jtv) } - case "MeetingFeatures": if err := awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(&sv.MeetingFeatures, value); err != nil { return err } - case "MeetingHostId": if value != nil { jtv, ok := value.(string) @@ -3658,7 +3571,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingHostId = ptr.String(jtv) } - case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -3667,7 +3579,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } - case "PrimaryMeetingId": if value != nil { jtv, ok := value.(string) @@ -3676,12 +3587,10 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.PrimaryMeetingId = ptr.String(jtv) } - case "TenantIds": if err := awsRestjson1_deserializeDocumentTenantIdList(&sv.TenantIds, value); err != nil { return err } - default: _, _ = key, value @@ -3717,22 +3626,18 @@ func awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(v **types.Meet if err := awsRestjson1_deserializeDocumentAttendeeFeatures(&sv.Attendee, value); err != nil { return err } - case "Audio": if err := awsRestjson1_deserializeDocumentAudioFeatures(&sv.Audio, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentContentFeatures(&sv.Content, value); err != nil { return err } - case "Video": if err := awsRestjson1_deserializeDocumentVideoFeatures(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -3762,13 +3667,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3778,8 +3677,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3787,7 +3685,6 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3796,15 +3693,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3829,13 +3722,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3845,8 +3732,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3854,7 +3740,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3863,7 +3748,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -3872,15 +3756,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3905,13 +3785,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3921,8 +3795,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3930,7 +3803,6 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3939,15 +3811,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3972,13 +3840,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3988,8 +3850,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3997,7 +3858,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4006,7 +3866,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RequestId = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -4015,15 +3874,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4058,7 +3913,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4067,7 +3921,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4167,13 +4020,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4183,8 +4030,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4192,7 +4038,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4201,15 +4046,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4234,13 +4075,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4250,8 +4085,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4259,7 +4093,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4268,7 +4101,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.RequestId = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4277,15 +4109,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4310,13 +4138,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4326,8 +4148,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4335,7 +4156,6 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4344,15 +4164,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4377,13 +4193,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4393,8 +4203,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4402,7 +4211,6 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4411,15 +4219,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4454,7 +4258,6 @@ func awsRestjson1_deserializeDocumentVideoFeatures(v **types.VideoFeatures, valu } sv.MaxResolution = types.VideoResolution(jtv) } - default: _, _ = key, value diff --git a/service/chimesdkmessaging/deserializers.go b/service/chimesdkmessaging/deserializers.go index e843cde66d6..e5f205e008e 100644 --- a/service/chimesdkmessaging/deserializers.go +++ b/service/chimesdkmessaging/deserializers.go @@ -308,12 +308,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateChannelMembershipOutput(v **Ba if err := awsRestjson1_deserializeDocumentBatchChannelMemberships(&sv.BatchChannelMemberships, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateChannelMembershipErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -487,7 +485,6 @@ func awsRestjson1_deserializeOpDocumentChannelFlowCallbackOutput(v **ChannelFlow } sv.CallbackId = ptr.String(jtv) } - case "ChannelArn": if value != nil { jtv, ok := value.(string) @@ -496,7 +493,6 @@ func awsRestjson1_deserializeOpDocumentChannelFlowCallbackOutput(v **ChannelFlow } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -673,7 +669,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -850,12 +845,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelBanOutput(v **CreateChannelB } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -1032,7 +1025,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelFlowOutput(v **CreateChannel } sv.ChannelFlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1212,12 +1204,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -1226,7 +1216,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -1403,12 +1392,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelModeratorOutput(v **CreateCh } sv.ChannelArn = ptr.String(jtv) } - case "ChannelModerator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.ChannelModerator, value); err != nil { return err } - default: _, _ = key, value @@ -2347,7 +2334,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -2517,7 +2503,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelBanOutput(v **DescribeChan if err := awsRestjson1_deserializeDocumentChannelBan(&sv.ChannelBan, value); err != nil { return err } - default: _, _ = key, value @@ -2684,7 +2669,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelFlowOutput(v **DescribeCha if err := awsRestjson1_deserializeDocumentChannelFlow(&sv.ChannelFlow, value); err != nil { return err } - default: _, _ = key, value @@ -2854,7 +2838,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipOutput(v **Descr if err := awsRestjson1_deserializeDocumentChannelMembership(&sv.ChannelMembership, value); err != nil { return err } - default: _, _ = key, value @@ -3021,7 +3004,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipForAppInstanceUs if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary(&sv.ChannelMembership, value); err != nil { return err } - default: _, _ = key, value @@ -3188,7 +3170,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratedByAppInstanceUser if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -3358,7 +3339,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratorOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelModerator(&sv.ChannelModerator, value); err != nil { return err } - default: _, _ = key, value @@ -3644,17 +3624,14 @@ func awsRestjson1_deserializeOpDocumentGetChannelMembershipPreferencesOutput(v * } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - case "Preferences": if err := awsRestjson1_deserializeDocumentChannelMembershipPreferences(&sv.Preferences, value); err != nil { return err } - default: _, _ = key, value @@ -3824,7 +3801,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageOutput(v **GetChannelMes if err := awsRestjson1_deserializeDocumentChannelMessage(&sv.ChannelMessage, value); err != nil { return err } - default: _, _ = key, value @@ -3991,7 +3967,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageStatusOutput(v **GetChan if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -4155,7 +4130,6 @@ func awsRestjson1_deserializeOpDocumentGetMessagingSessionEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentMessagingSessionEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -4325,7 +4299,6 @@ func awsRestjson1_deserializeOpDocumentGetMessagingStreamingConfigurationsOutput if err := awsRestjson1_deserializeDocumentStreamingConfigurationList(&sv.StreamingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -4496,12 +4469,10 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.ChannelArn = ptr.String(jtv) } - case "ChannelBans": if err := awsRestjson1_deserializeDocumentChannelBanSummaryList(&sv.ChannelBans, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4510,7 +4481,6 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4677,7 +4647,6 @@ func awsRestjson1_deserializeOpDocumentListChannelFlowsOutput(v **ListChannelFlo if err := awsRestjson1_deserializeDocumentChannelFlowSummaryList(&sv.ChannelFlows, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4686,7 +4655,6 @@ func awsRestjson1_deserializeOpDocumentListChannelFlowsOutput(v **ListChannelFlo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4857,12 +4825,10 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.ChannelArn = ptr.String(jtv) } - case "ChannelMemberships": if err := awsRestjson1_deserializeDocumentChannelMembershipSummaryList(&sv.ChannelMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4871,7 +4837,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5038,7 +5003,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummaryList(&sv.ChannelMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5047,7 +5011,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5218,12 +5181,10 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.ChannelArn = ptr.String(jtv) } - case "ChannelMessages": if err := awsRestjson1_deserializeDocumentChannelMessageSummaryList(&sv.ChannelMessages, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5232,7 +5193,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.NextToken = ptr.String(jtv) } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -5241,7 +5201,6 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -5412,12 +5371,10 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.ChannelArn = ptr.String(jtv) } - case "ChannelModerators": if err := awsRestjson1_deserializeDocumentChannelModeratorSummaryList(&sv.ChannelModerators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5426,7 +5383,6 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5593,7 +5549,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5602,7 +5557,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5769,7 +5723,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsAssociatedWithChannelFlowOutp if err := awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5778,7 +5731,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsAssociatedWithChannelFlowOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5945,7 +5897,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5954,7 +5905,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6125,7 +6075,6 @@ func awsRestjson1_deserializeOpDocumentListSubChannelsOutput(v **ListSubChannels } sv.ChannelArn = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6134,12 +6083,10 @@ func awsRestjson1_deserializeOpDocumentListSubChannelsOutput(v **ListSubChannels } sv.NextToken = ptr.String(jtv) } - case "SubChannels": if err := awsRestjson1_deserializeDocumentSubChannelSummaryList(&sv.SubChannels, value); err != nil { return err } - default: _, _ = key, value @@ -6306,7 +6253,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6480,12 +6426,10 @@ func awsRestjson1_deserializeOpDocumentPutChannelExpirationSettingsOutput(v **Pu } sv.ChannelArn = ptr.String(jtv) } - case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -6659,17 +6603,14 @@ func awsRestjson1_deserializeOpDocumentPutChannelMembershipPreferencesOutput(v * } sv.ChannelArn = ptr.String(jtv) } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - case "Preferences": if err := awsRestjson1_deserializeDocumentChannelMembershipPreferences(&sv.Preferences, value); err != nil { return err } - default: _, _ = key, value @@ -6842,7 +6783,6 @@ func awsRestjson1_deserializeOpDocumentPutMessagingStreamingConfigurationsOutput if err := awsRestjson1_deserializeDocumentStreamingConfigurationList(&sv.StreamingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -7016,7 +6956,6 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6964,6 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.MessageId = ptr.String(jtv) } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -7034,7 +6972,6 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -7201,7 +7138,6 @@ func awsRestjson1_deserializeOpDocumentSearchChannelsOutput(v **SearchChannelsOu if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7210,7 +7146,6 @@ func awsRestjson1_deserializeOpDocumentSearchChannelsOutput(v **SearchChannelsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7384,7 +7319,6 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -7393,12 +7327,10 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.MessageId = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -7407,7 +7339,6 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -7802,7 +7733,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7976,7 +7906,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelFlowOutput(v **UpdateChannel } sv.ChannelFlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8150,7 +8079,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.ChannelArn = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -8159,12 +8087,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.MessageId = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8173,7 +8099,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -8347,7 +8272,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelReadMarkerOutput(v **UpdateC } sv.ChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8718,7 +8642,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8727,7 +8650,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.SubChannelId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8736,7 +8658,6 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -8766,13 +8687,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8782,8 +8697,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8791,15 +8705,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8834,17 +8744,14 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.ChannelArn = ptr.String(jtv) } - case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } - case "Members": if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8853,7 +8760,6 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.SubChannelId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8862,7 +8768,6 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -8902,7 +8807,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8911,7 +8815,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "MemberArn": if value != nil { jtv, ok := value.(string) @@ -8920,7 +8823,6 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.MemberArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8994,7 +8896,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } - case "ChannelFlowArn": if value != nil { jtv, ok := value.(string) @@ -9003,12 +8904,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelFlowArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9024,17 +8923,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "ElasticChannelConfiguration": if err := awsRestjson1_deserializeDocumentElasticChannelConfiguration(&sv.ElasticChannelConfiguration, value); err != nil { return err } - case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } - case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -9050,7 +8946,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9066,7 +8961,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9075,7 +8969,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Metadata = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -9084,7 +8977,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Mode = types.ChannelMode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9093,7 +8985,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - case "Privacy": if value != nil { jtv, ok := value.(string) @@ -9102,7 +8993,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Privacy = types.ChannelPrivacy(jtv) } - default: _, _ = key, value @@ -9142,7 +9032,6 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.ChannelArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9151,7 +9040,6 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Metadata = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -9160,7 +9048,6 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Mode = types.ChannelMode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9169,7 +9056,6 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Name = ptr.String(jtv) } - case "Privacy": if value != nil { jtv, ok := value.(string) @@ -9178,7 +9064,6 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Privacy = types.ChannelPrivacy(jtv) } - default: _, _ = key, value @@ -9252,12 +9137,10 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } sv.ChannelArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9273,12 +9156,10 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -9314,7 +9195,6 @@ func awsRestjson1_deserializeDocumentChannelBanSummary(v **types.ChannelBanSumma if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -9388,7 +9268,6 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } sv.ChannelFlowArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9404,7 +9283,6 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9420,7 +9298,6 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9429,12 +9306,10 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } sv.Name = ptr.String(jtv) } - case "Processors": if err := awsRestjson1_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } - default: _, _ = key, value @@ -9474,7 +9349,6 @@ func awsRestjson1_deserializeDocumentChannelFlowSummary(v **types.ChannelFlowSum } sv.ChannelFlowArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9483,12 +9357,10 @@ func awsRestjson1_deserializeDocumentChannelFlowSummary(v **types.ChannelFlowSum } sv.Name = ptr.String(jtv) } - case "Processors": if err := awsRestjson1_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } - default: _, _ = key, value @@ -9562,7 +9434,6 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.ChannelArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9578,12 +9449,10 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } - case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9599,12 +9468,10 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } - case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -9613,7 +9480,6 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.SubChannelId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9622,7 +9488,6 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.Type = types.ChannelMembershipType(jtv) } - default: _, _ = key, value @@ -9658,12 +9523,10 @@ func awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary( if err := awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(&sv.AppInstanceUserMembershipSummary, value); err != nil { return err } - case "ChannelSummary": if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } - default: _, _ = key, value @@ -9733,7 +9596,6 @@ func awsRestjson1_deserializeDocumentChannelMembershipPreferences(v **types.Chan if err := awsRestjson1_deserializeDocumentPushNotificationPreferences(&sv.PushNotifications, value); err != nil { return err } - default: _, _ = key, value @@ -9769,7 +9631,6 @@ func awsRestjson1_deserializeDocumentChannelMembershipSummary(v **types.ChannelM if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -9843,7 +9704,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ChannelArn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -9852,7 +9712,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -9861,7 +9720,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ContentType = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9877,7 +9735,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9893,7 +9750,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9909,12 +9765,10 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } - case "MessageAttributes": if err := awsRestjson1_deserializeDocumentMessageAttributeMap(&sv.MessageAttributes, value); err != nil { return err } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -9923,7 +9777,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.MessageId = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9932,7 +9785,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Metadata = ptr.String(jtv) } - case "Persistence": if value != nil { jtv, ok := value.(string) @@ -9941,7 +9793,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Persistence = types.ChannelMessagePersistenceType(jtv) } - case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -9950,17 +9801,14 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Redacted = jtv } - case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -9969,12 +9817,10 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.SubChannelId = ptr.String(jtv) } - case "Target": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Target, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9983,7 +9829,6 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Type = types.ChannelMessageType(jtv) } - default: _, _ = key, value @@ -10023,7 +9868,6 @@ func awsRestjson1_deserializeDocumentChannelMessageStatusStructure(v **types.Cha } sv.Detail = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10032,7 +9876,6 @@ func awsRestjson1_deserializeDocumentChannelMessageStatusStructure(v **types.Cha } sv.Value = types.ChannelMessageStatus(jtv) } - default: _, _ = key, value @@ -10072,7 +9915,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -10081,7 +9923,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.ContentType = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10097,7 +9938,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10113,7 +9953,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10129,12 +9968,10 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } - case "MessageAttributes": if err := awsRestjson1_deserializeDocumentMessageAttributeMap(&sv.MessageAttributes, value); err != nil { return err } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -10143,7 +9980,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.MessageId = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -10152,7 +9988,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Metadata = ptr.String(jtv) } - case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -10161,22 +9996,18 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Redacted = jtv } - case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } - case "Target": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Target, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10185,7 +10016,6 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Type = types.ChannelMessageType(jtv) } - default: _, _ = key, value @@ -10255,7 +10085,6 @@ func awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(v if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } - default: _, _ = key, value @@ -10329,12 +10158,10 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } sv.ChannelArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10350,12 +10177,10 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } } - case "Moderator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } - default: _, _ = key, value @@ -10391,7 +10216,6 @@ func awsRestjson1_deserializeDocumentChannelModeratorSummary(v **types.ChannelMo if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } - default: _, _ = key, value @@ -10465,7 +10289,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelArn = ptr.String(jtv) } - case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -10481,7 +10304,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10312,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Metadata = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -10499,7 +10320,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Mode = types.ChannelMode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10508,7 +10328,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } - case "Privacy": if value != nil { jtv, ok := value.(string) @@ -10517,7 +10336,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Privacy = types.ChannelPrivacy(jtv) } - default: _, _ = key, value @@ -10581,13 +10399,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10597,8 +10409,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10606,15 +10417,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10653,7 +10460,6 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.MaximumSubChannels = ptr.Int32(int32(i64)) } - case "MinimumMembershipPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -10666,7 +10472,6 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.MinimumMembershipPercentage = ptr.Int32(int32(i64)) } - case "TargetMembershipsPerSubChannel": if value != nil { jtv, ok := value.(json.Number) @@ -10679,7 +10484,6 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.TargetMembershipsPerSubChannel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10719,7 +10523,6 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationCriterion = types.ExpirationCriterion(jtv) } - case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -10732,7 +10535,6 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10762,13 +10564,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10778,8 +10574,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10787,15 +10582,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10830,7 +10621,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10839,7 +10629,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10879,7 +10668,6 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.InvocationType = types.InvocationType(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10888,7 +10676,6 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11029,7 +10816,6 @@ func awsRestjson1_deserializeDocumentMessageAttributeValue(v **types.MessageAttr if err := awsRestjson1_deserializeDocumentMessageAttributeStringValues(&sv.StringValues, value); err != nil { return err } - default: _, _ = key, value @@ -11069,7 +10855,6 @@ func awsRestjson1_deserializeDocumentMessagingSessionEndpoint(v **types.Messagin } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -11099,13 +10884,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11115,8 +10894,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11124,15 +10902,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11163,7 +10937,6 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf if err := awsRestjson1_deserializeDocumentProcessorConfiguration(&sv.Configuration, value); err != nil { return err } - case "ExecutionOrder": if value != nil { jtv, ok := value.(json.Number) @@ -11176,7 +10949,6 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.ExecutionOrder = ptr.Int32(int32(i64)) } - case "FallbackAction": if value != nil { jtv, ok := value.(string) @@ -11185,7 +10957,6 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.FallbackAction = types.FallbackAction(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11194,7 +10965,6 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11230,7 +11000,6 @@ func awsRestjson1_deserializeDocumentProcessorConfiguration(v **types.ProcessorC if err := awsRestjson1_deserializeDocumentLambdaConfiguration(&sv.Lambda, value); err != nil { return err } - default: _, _ = key, value @@ -11304,7 +11073,6 @@ func awsRestjson1_deserializeDocumentPushNotificationPreferences(v **types.PushN } sv.AllowNotifications = types.AllowNotifications(jtv) } - case "FilterRule": if value != nil { jtv, ok := value.(string) @@ -11313,7 +11081,6 @@ func awsRestjson1_deserializeDocumentPushNotificationPreferences(v **types.PushN } sv.FilterRule = ptr.String(jtv) } - default: _, _ = key, value @@ -11343,13 +11110,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11359,8 +11120,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11368,15 +11128,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11401,13 +11157,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11417,8 +11167,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11426,15 +11175,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11459,13 +11204,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11475,8 +11214,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11484,15 +11222,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11527,7 +11261,6 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataType = types.MessagingDataType(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11536,7 +11269,6 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11614,7 +11346,6 @@ func awsRestjson1_deserializeDocumentSubChannelSummary(v **types.SubChannelSumma } sv.MembershipCount = ptr.Int32(int32(i64)) } - case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -11623,7 +11354,6 @@ func awsRestjson1_deserializeDocumentSubChannelSummary(v **types.SubChannelSumma } sv.SubChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -11697,7 +11427,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11706,7 +11435,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11780,7 +11508,6 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.MemberArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11844,13 +11571,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11860,8 +11581,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11869,15 +11589,11 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11902,13 +11618,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -11918,8 +11628,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11927,15 +11636,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/chimesdkvoice/deserializers.go b/service/chimesdkvoice/deserializers.go index ea7e91dda0c..3f879406d94 100644 --- a/service/chimesdkvoice/deserializers.go +++ b/service/chimesdkvoice/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorOu if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -367,7 +366,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorGr if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -537,7 +535,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeletePhoneNumberOutput(v **BatchDel if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -707,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdatePhoneNumberOutput(v **BatchUpd if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -880,7 +876,6 @@ func awsRestjson1_deserializeOpDocumentCreatePhoneNumberOrderOutput(v **CreatePh if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } - default: _, _ = key, value @@ -1050,7 +1045,6 @@ func awsRestjson1_deserializeOpDocumentCreateProxySessionOutput(v **CreateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -1226,7 +1220,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationOutput(v **Creat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -1399,7 +1392,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationCallOutput(v **C if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } - default: _, _ = key, value @@ -1575,7 +1567,6 @@ func awsRestjson1_deserializeOpDocumentCreateSipRuleOutput(v **CreateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -1748,7 +1739,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorOutput(v **CreateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -1921,7 +1911,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorGroupOutput(v **Creat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -2103,7 +2092,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceProfileOutput(v **CreateVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -2279,7 +2267,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceProfileDomainOutput(v **Create if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } - default: _, _ = key, value @@ -4041,7 +4028,6 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -4211,7 +4197,6 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } - default: _, _ = key, value @@ -4378,7 +4363,6 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett if err := awsRestjson1_deserializeDocumentVoiceConnectorSettings(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -4548,7 +4532,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOutput(v **GetPhoneNumberOu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -4718,7 +4701,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOrderOutput(v **GetPhoneNum if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } - default: _, _ = key, value @@ -4889,7 +4871,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingName = ptr.String(jtv) } - case "CallingNameUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -4902,7 +4883,6 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingNameUpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -5072,7 +5052,6 @@ func awsRestjson1_deserializeOpDocumentGetProxySessionOutput(v **GetProxySession if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -5242,7 +5221,6 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationOutput(v **GetSipMe if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -5412,7 +5390,6 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationAlexaSkillConfigura if err := awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration(&sv.SipMediaApplicationAlexaSkillConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5582,7 +5559,6 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5752,7 +5728,6 @@ func awsRestjson1_deserializeOpDocumentGetSipRuleOutput(v **GetSipRuleOutput, va if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -5928,7 +5903,6 @@ func awsRestjson1_deserializeOpDocumentGetSpeakerSearchTaskOutput(v **GetSpeaker if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } - default: _, _ = key, value @@ -6098,7 +6072,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOutput(v **GetVoiceConne if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -6268,7 +6241,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6438,7 +6410,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorGroupOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -6608,7 +6579,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6778,7 +6748,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOriginationOutput(v **Ge if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } - default: _, _ = key, value @@ -6948,7 +6917,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorProxyOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } - default: _, _ = key, value @@ -7118,7 +7086,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7288,7 +7255,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationOutput(v **Ge if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } - default: _, _ = key, value @@ -7458,7 +7424,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationHealthOutput( if err := awsRestjson1_deserializeDocumentTerminationHealth(&sv.TerminationHealth, value); err != nil { return err } - default: _, _ = key, value @@ -7631,7 +7596,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceProfileOutput(v **GetVoiceProfile if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -7804,7 +7768,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceProfileDomainOutput(v **GetVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } - default: _, _ = key, value @@ -7980,7 +7943,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceToneAnalysisTaskOutput(v **GetVoi if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } - default: _, _ = key, value @@ -8147,7 +8109,6 @@ func awsRestjson1_deserializeOpDocumentListAvailableVoiceConnectorRegionsOutput( if err := awsRestjson1_deserializeDocumentVoiceConnectorAwsRegionList(&sv.VoiceConnectorRegions, value); err != nil { return err } - default: _, _ = key, value @@ -8318,12 +8279,10 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumberOrdersOutput(v **ListPhone } sv.NextToken = ptr.String(jtv) } - case "PhoneNumberOrders": if err := awsRestjson1_deserializeDocumentPhoneNumberOrderList(&sv.PhoneNumberOrders, value); err != nil { return err } - default: _, _ = key, value @@ -8497,12 +8456,10 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } - case "PhoneNumbers": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumbers, value); err != nil { return err } - default: _, _ = key, value @@ -8676,12 +8633,10 @@ func awsRestjson1_deserializeOpDocumentListProxySessionsOutput(v **ListProxySess } sv.NextToken = ptr.String(jtv) } - case "ProxySessions": if err := awsRestjson1_deserializeDocumentProxySessions(&sv.ProxySessions, value); err != nil { return err } - default: _, _ = key, value @@ -8852,12 +8807,10 @@ func awsRestjson1_deserializeOpDocumentListSipMediaApplicationsOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } - case "SipMediaApplications": if err := awsRestjson1_deserializeDocumentSipMediaApplicationList(&sv.SipMediaApplications, value); err != nil { return err } - default: _, _ = key, value @@ -9028,12 +8981,10 @@ func awsRestjson1_deserializeOpDocumentListSipRulesOutput(v **ListSipRulesOutput } sv.NextToken = ptr.String(jtv) } - case "SipRules": if err := awsRestjson1_deserializeDocumentSipRuleList(&sv.SipRules, value); err != nil { return err } - default: _, _ = key, value @@ -9203,7 +9154,6 @@ func awsRestjson1_deserializeOpDocumentListSupportedPhoneNumberCountriesOutput(v if err := awsRestjson1_deserializeDocumentPhoneNumberCountriesList(&sv.PhoneNumberCountries, value); err != nil { return err } - default: _, _ = key, value @@ -9370,7 +9320,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9541,12 +9490,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorGroupsOutput(v **ListVo } sv.NextToken = ptr.String(jtv) } - case "VoiceConnectorGroups": if err := awsRestjson1_deserializeDocumentVoiceConnectorGroupList(&sv.VoiceConnectorGroups, value); err != nil { return err } - default: _, _ = key, value @@ -9717,12 +9664,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorsOutput(v **ListVoiceCo } sv.NextToken = ptr.String(jtv) } - case "VoiceConnectors": if err := awsRestjson1_deserializeDocumentVoiceConnectorList(&sv.VoiceConnectors, value); err != nil { return err } - default: _, _ = key, value @@ -9892,7 +9837,6 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorTerminationCredentialsO if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Usernames, value); err != nil { return err } - default: _, _ = key, value @@ -10066,12 +10010,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceProfileDomainsOutput(v **ListVoi } sv.NextToken = ptr.String(jtv) } - case "VoiceProfileDomains": if err := awsRestjson1_deserializeDocumentVoiceProfileDomainSummaryList(&sv.VoiceProfileDomains, value); err != nil { return err } - default: _, _ = key, value @@ -10245,12 +10187,10 @@ func awsRestjson1_deserializeOpDocumentListVoiceProfilesOutput(v **ListVoiceProf } sv.NextToken = ptr.String(jtv) } - case "VoiceProfiles": if err := awsRestjson1_deserializeDocumentVoiceProfileSummaryList(&sv.VoiceProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -10420,7 +10360,6 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationAlexaSkillConfigura if err := awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration(&sv.SipMediaApplicationAlexaSkillConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10590,7 +10529,6 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10760,7 +10698,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10930,7 +10867,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11100,7 +11036,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorOriginationOutput(v **Pu if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } - default: _, _ = key, value @@ -11273,7 +11208,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorProxyOutput(v **PutVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } - default: _, _ = key, value @@ -11443,7 +11377,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11616,7 +11549,6 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorTerminationOutput(v **Pu if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } - default: _, _ = key, value @@ -11901,7 +11833,6 @@ func awsRestjson1_deserializeOpDocumentRestorePhoneNumberOutput(v **RestorePhone if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -12071,7 +12002,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentE164PhoneNumberList(&sv.E164PhoneNumbers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12080,7 +12010,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12265,7 +12194,6 @@ func awsRestjson1_deserializeOpDocumentStartSpeakerSearchTaskOutput(v **StartSpe if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } - default: _, _ = key, value @@ -12450,7 +12378,6 @@ func awsRestjson1_deserializeOpDocumentStartVoiceToneAnalysisTaskOutput(v **Star if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } - default: _, _ = key, value @@ -13195,7 +13122,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -13474,7 +13400,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProxySessionOutput(v **UpdateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } - default: _, _ = key, value @@ -13647,7 +13572,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationOutput(v **Updat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } - default: _, _ = key, value @@ -13820,7 +13744,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationCallOutput(v **U if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } - default: _, _ = key, value @@ -13996,7 +13919,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSipRuleOutput(v **UpdateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } - default: _, _ = key, value @@ -14166,7 +14088,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorOutput(v **UpdateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } - default: _, _ = key, value @@ -14339,7 +14260,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorGroupOutput(v **Updat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } - default: _, _ = key, value @@ -14518,7 +14438,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceProfileOutput(v **UpdateVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -14691,7 +14610,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceProfileDomainOutput(v **Update if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } - default: _, _ = key, value @@ -14861,7 +14779,6 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressExternalId": if value != nil { jtv, ok := value.(string) @@ -14870,12 +14787,10 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.AddressExternalId = ptr.String(jtv) } - case "CandidateAddressList": if err := awsRestjson1_deserializeDocumentCandidateAddressList(&sv.CandidateAddressList, value); err != nil { return err } - case "ValidationResult": if value != nil { jtv, ok := value.(json.Number) @@ -14888,7 +14803,6 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.ValidationResult = int32(i64) } - default: _, _ = key, value @@ -15350,13 +15264,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15366,8 +15274,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15375,15 +15282,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15418,7 +15321,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "country": if value != nil { jtv, ok := value.(string) @@ -15427,7 +15329,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -15436,7 +15337,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -15445,7 +15345,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCodePlus4 = ptr.String(jtv) } - case "postDirectional": if value != nil { jtv, ok := value.(string) @@ -15454,7 +15353,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostDirectional = ptr.String(jtv) } - case "preDirectional": if value != nil { jtv, ok := value.(string) @@ -15463,7 +15361,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PreDirectional = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -15472,7 +15369,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } - case "streetName": if value != nil { jtv, ok := value.(string) @@ -15481,7 +15377,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetName = ptr.String(jtv) } - case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -15490,7 +15385,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetNumber = ptr.String(jtv) } - case "streetSuffix": if value != nil { jtv, ok := value.(string) @@ -15499,7 +15393,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetSuffix = ptr.String(jtv) } - default: _, _ = key, value @@ -15565,13 +15458,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15581,8 +15468,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15590,15 +15476,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15633,7 +15515,6 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.IsCaller = ptr.Bool(jtv) } - case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -15642,7 +15523,6 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.TransactionId = ptr.String(jtv) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -15651,7 +15531,6 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -15727,7 +15606,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.City = ptr.String(jtv) } - case "country": if value != nil { jtv, ok := value.(string) @@ -15736,7 +15614,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.Country = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -15745,7 +15622,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCode = ptr.String(jtv) } - case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -15754,7 +15630,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCodePlus4 = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -15763,7 +15638,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.State = ptr.String(jtv) } - case "streetInfo": if value != nil { jtv, ok := value.(string) @@ -15772,7 +15646,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetInfo = ptr.String(jtv) } - case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -15781,7 +15654,6 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -15881,13 +15753,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15897,8 +15763,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15906,15 +15771,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15949,7 +15810,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.CallingCountry = ptr.String(jtv) } - case "EmergencyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15958,7 +15818,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.EmergencyPhoneNumber = ptr.String(jtv) } - case "TestPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15967,7 +15826,6 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.TestPhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -16073,7 +15931,6 @@ func awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(v **types.Eme if err := awsRestjson1_deserializeDocumentDNISEmergencyCallingConfigurationList(&sv.DNIS, value); err != nil { return err } - default: _, _ = key, value @@ -16103,13 +15960,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16119,8 +15970,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16128,15 +15978,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16171,7 +16017,6 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.AreaCode = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -16180,7 +16025,6 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.Country = ptr.String(jtv) } - default: _, _ = key, value @@ -16210,13 +16054,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16226,8 +16064,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16235,15 +16072,11 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16278,7 +16111,6 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableMediaMetricLogs = ptr.Bool(jtv) } - case "EnableSIPLogs": if value != nil { jtv, ok := value.(bool) @@ -16287,7 +16119,6 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableSIPLogs = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16327,7 +16158,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsConfiguration(v **types.MediaI } sv.ConfigurationArn = ptr.String(jtv) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -16336,7 +16166,6 @@ func awsRestjson1_deserializeDocumentMediaInsightsConfiguration(v **types.MediaI } sv.Disabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16366,13 +16195,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16382,8 +16205,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16391,15 +16213,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16434,7 +16252,6 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.E164PhoneNumber = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16443,7 +16260,6 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.Status = types.OrderedPhoneNumberStatus(jtv) } - default: _, _ = key, value @@ -16517,12 +16333,10 @@ func awsRestjson1_deserializeDocumentOrigination(v **types.Origination, value in } sv.Disabled = ptr.Bool(jtv) } - case "Routes": if err := awsRestjson1_deserializeDocumentOriginationRouteList(&sv.Routes, value); err != nil { return err } - default: _, _ = key, value @@ -16562,7 +16376,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16575,7 +16388,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Port = ptr.Int32(int32(i64)) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -16588,7 +16400,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Priority = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -16597,7 +16408,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Protocol = types.OriginationRouteProtocol(jtv) } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -16610,7 +16420,6 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16684,7 +16493,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.PhoneNumber = ptr.String(jtv) } - case "ProxyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -16693,7 +16501,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ProxyPhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -16763,7 +16570,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in if err := awsRestjson1_deserializeDocumentPhoneNumberAssociationList(&sv.Associations, value); err != nil { return err } - case "CallingName": if value != nil { jtv, ok := value.(string) @@ -16772,7 +16578,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingName = ptr.String(jtv) } - case "CallingNameStatus": if value != nil { jtv, ok := value.(string) @@ -16781,12 +16586,10 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingNameStatus = types.CallingNameStatus(jtv) } - case "Capabilities": if err := awsRestjson1_deserializeDocumentPhoneNumberCapabilities(&sv.Capabilities, value); err != nil { return err } - case "Country": if value != nil { jtv, ok := value.(string) @@ -16795,7 +16598,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Country = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16808,7 +16610,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CreatedTimestamp = ptr.Time(t) } - case "DeletionTimestamp": if value != nil { jtv, ok := value.(string) @@ -16821,7 +16622,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.DeletionTimestamp = ptr.Time(t) } - case "E164PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -16830,7 +16630,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.E164PhoneNumber = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16839,7 +16638,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Name = ptr.String(jtv) } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -16848,7 +16646,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.OrderId = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -16857,7 +16654,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.PhoneNumberId = ptr.String(jtv) } - case "ProductType": if value != nil { jtv, ok := value.(string) @@ -16866,7 +16662,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.ProductType = types.PhoneNumberProductType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16875,7 +16670,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Status = types.PhoneNumberStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16884,7 +16678,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = types.PhoneNumberType(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16897,7 +16690,6 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -16941,7 +16733,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.AssociatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16950,7 +16741,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Name = types.PhoneNumberAssociationName(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16959,7 +16749,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17033,7 +16822,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundCall = ptr.Bool(jtv) } - case "InboundMMS": if value != nil { jtv, ok := value.(bool) @@ -17042,7 +16830,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundMMS = ptr.Bool(jtv) } - case "InboundSMS": if value != nil { jtv, ok := value.(bool) @@ -17051,7 +16838,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundSMS = ptr.Bool(jtv) } - case "OutboundCall": if value != nil { jtv, ok := value.(bool) @@ -17060,7 +16846,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundCall = ptr.Bool(jtv) } - case "OutboundMMS": if value != nil { jtv, ok := value.(bool) @@ -17069,7 +16854,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundMMS = ptr.Bool(jtv) } - case "OutboundSMS": if value != nil { jtv, ok := value.(bool) @@ -17078,7 +16862,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundSMS = ptr.Bool(jtv) } - default: _, _ = key, value @@ -17152,12 +16935,10 @@ func awsRestjson1_deserializeDocumentPhoneNumberCountry(v **types.PhoneNumberCou } sv.CountryCode = ptr.String(jtv) } - case "SupportedPhoneNumberTypes": if err := awsRestjson1_deserializeDocumentPhoneNumberTypeList(&sv.SupportedPhoneNumberTypes, value); err != nil { return err } - default: _, _ = key, value @@ -17197,7 +16978,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17206,7 +16986,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorMessage = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -17215,7 +16994,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.PhoneNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -17327,12 +17105,10 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.CreatedTimestamp = ptr.Time(t) } - case "OrderedPhoneNumbers": if err := awsRestjson1_deserializeDocumentOrderedPhoneNumberList(&sv.OrderedPhoneNumbers, value); err != nil { return err } - case "OrderType": if value != nil { jtv, ok := value.(string) @@ -17341,7 +17117,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.OrderType = types.PhoneNumberOrderType(jtv) } - case "PhoneNumberOrderId": if value != nil { jtv, ok := value.(string) @@ -17350,7 +17125,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.PhoneNumberOrderId = ptr.String(jtv) } - case "ProductType": if value != nil { jtv, ok := value.(string) @@ -17359,7 +17133,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.ProductType = types.PhoneNumberProductType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17368,7 +17141,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.Status = types.PhoneNumberOrderStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17381,7 +17153,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -17495,7 +17266,6 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.DefaultSessionExpiryMinutes = ptr.Int32(int32(i64)) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -17504,7 +17274,6 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.Disabled = ptr.Bool(jtv) } - case "FallBackPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -17513,12 +17282,10 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.FallBackPhoneNumber = ptr.String(jtv) } - case "PhoneNumberCountries": if err := awsRestjson1_deserializeDocumentStringList(&sv.PhoneNumberCountries, value); err != nil { return err } - default: _, _ = key, value @@ -17554,7 +17321,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value if err := awsRestjson1_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17567,7 +17333,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.CreatedTimestamp = ptr.Time(t) } - case "EndedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17580,7 +17345,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.EndedTimestamp = ptr.Time(t) } - case "ExpiryMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17593,7 +17357,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ExpiryMinutes = ptr.Int32(int32(i64)) } - case "GeoMatchLevel": if value != nil { jtv, ok := value.(string) @@ -17602,12 +17365,10 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.GeoMatchLevel = types.GeoMatchLevel(jtv) } - case "GeoMatchParams": if err := awsRestjson1_deserializeDocumentGeoMatchParams(&sv.GeoMatchParams, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17616,7 +17377,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Name = ptr.String(jtv) } - case "NumberSelectionBehavior": if value != nil { jtv, ok := value.(string) @@ -17625,12 +17385,10 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.NumberSelectionBehavior = types.NumberSelectionBehavior(jtv) } - case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } - case "ProxySessionId": if value != nil { jtv, ok := value.(string) @@ -17639,7 +17397,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ProxySessionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17648,7 +17405,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Status = types.ProxySessionStatus(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17661,7 +17417,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -17670,7 +17425,6 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -17734,13 +17488,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17750,8 +17498,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17759,15 +17506,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17838,7 +17581,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17868,13 +17610,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17884,8 +17620,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17893,15 +17628,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17926,13 +17657,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17942,8 +17667,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17951,15 +17675,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17994,7 +17714,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.AwsRegion = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18007,12 +17726,10 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.CreatedTimestamp = ptr.Time(t) } - case "Endpoints": if err := awsRestjson1_deserializeDocumentSipMediaApplicationEndpointList(&sv.Endpoints, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18021,7 +17738,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.Name = ptr.String(jtv) } - case "SipMediaApplicationArn": if value != nil { jtv, ok := value.(string) @@ -18030,7 +17746,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationArn = ptr.String(jtv) } - case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -18039,7 +17754,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationId = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18052,7 +17766,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -18088,7 +17801,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration( if err := awsRestjson1_deserializeDocumentAlexaSkillIdList(&sv.AlexaSkillIds, value); err != nil { return err } - case "AlexaSkillStatus": if value != nil { jtv, ok := value.(string) @@ -18097,7 +17809,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration( } sv.AlexaSkillStatus = types.AlexaSkillStatus(jtv) } - default: _, _ = key, value @@ -18137,7 +17848,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationCall(v **types.SipMediaA } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -18177,7 +17887,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationEndpoint(v **types.SipMe } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18285,7 +17994,6 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(v * } sv.EnableSipMediaApplicationMessageLogs = ptr.Bool(jtv) } - default: _, _ = key, value @@ -18329,7 +18037,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -18338,7 +18045,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Disabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18347,7 +18053,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Name = ptr.String(jtv) } - case "SipRuleId": if value != nil { jtv, ok := value.(string) @@ -18356,12 +18061,10 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.SipRuleId = ptr.String(jtv) } - case "TargetApplications": if err := awsRestjson1_deserializeDocumentSipRuleTargetApplicationList(&sv.TargetApplications, value); err != nil { return err } - case "TriggerType": if value != nil { jtv, ok := value.(string) @@ -18370,7 +18073,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerType = types.SipRuleTriggerType(jtv) } - case "TriggerValue": if value != nil { jtv, ok := value.(string) @@ -18379,7 +18081,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerValue = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18392,7 +18093,6 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -18466,7 +18166,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.AwsRegion = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -18479,7 +18178,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.Priority = ptr.Int32(int32(i64)) } - case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -18488,7 +18186,6 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.SipMediaApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -18558,7 +18255,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchDetails(v **types.SpeakerSearc if err := awsRestjson1_deserializeDocumentSpeakerSearchResultList(&sv.Results, value); err != nil { return err } - case "VoiceprintGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -18567,7 +18263,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchDetails(v **types.SpeakerSearc } sv.VoiceprintGenerationStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -18632,7 +18327,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchResult(v **types.SpeakerSearch } } - case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -18641,7 +18335,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchResult(v **types.SpeakerSearch } sv.VoiceProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -18711,7 +18404,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa if err := awsRestjson1_deserializeDocumentCallDetails(&sv.CallDetails, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18724,12 +18416,10 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.CreatedTimestamp = ptr.Time(t) } - case "SpeakerSearchDetails": if err := awsRestjson1_deserializeDocumentSpeakerSearchDetails(&sv.SpeakerSearchDetails, value); err != nil { return err } - case "SpeakerSearchTaskId": if value != nil { jtv, ok := value.(string) @@ -18738,7 +18428,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskId = ptr.String(jtv) } - case "SpeakerSearchTaskStatus": if value != nil { jtv, ok := value.(string) @@ -18747,7 +18436,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskStatus = ptr.String(jtv) } - case "StartedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18760,7 +18448,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.StartedTimestamp = ptr.Time(t) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18769,7 +18456,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18782,7 +18468,6 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.UpdatedTimestamp = ptr.Time(t) } - default: _, _ = key, value @@ -18826,7 +18511,6 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -18835,17 +18519,14 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.Disabled = ptr.Bool(jtv) } - case "MediaInsightsConfiguration": if err := awsRestjson1_deserializeDocumentMediaInsightsConfiguration(&sv.MediaInsightsConfiguration, value); err != nil { return err } - case "StreamingNotificationTargets": if err := awsRestjson1_deserializeDocumentStreamingNotificationTargetList(&sv.StreamingNotificationTargets, value); err != nil { return err } - default: _, _ = key, value @@ -18885,7 +18566,6 @@ func awsRestjson1_deserializeDocumentStreamingNotificationTarget(v **types.Strea } sv.NotificationTarget = types.NotificationTarget(jtv) } - default: _, _ = key, value @@ -18995,7 +18675,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19004,7 +18683,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19074,12 +18752,10 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in if err := awsRestjson1_deserializeDocumentCallingRegionList(&sv.CallingRegions, value); err != nil { return err } - case "CidrAllowedList": if err := awsRestjson1_deserializeDocumentStringList(&sv.CidrAllowedList, value); err != nil { return err } - case "CpsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -19092,7 +18768,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.CpsLimit = ptr.Int32(int32(i64)) } - case "DefaultPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -19101,7 +18776,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.DefaultPhoneNumber = ptr.String(jtv) } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -19110,7 +18784,6 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.Disabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19150,7 +18823,6 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Source = ptr.String(jtv) } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -19163,7 +18835,6 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Timestamp = ptr.Time(t) } - default: _, _ = key, value @@ -19193,13 +18864,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19209,8 +18874,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19218,15 +18882,11 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19251,13 +18911,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19267,8 +18921,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19276,15 +18929,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19309,13 +18958,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19325,8 +18968,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = types.ErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19334,15 +18976,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19377,7 +19015,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.AwsRegion = types.VoiceConnectorAwsRegion(jtv) } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19390,7 +19027,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.CreatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19399,7 +19035,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.Name = ptr.String(jtv) } - case "OutboundHostName": if value != nil { jtv, ok := value.(string) @@ -19408,7 +19043,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.OutboundHostName = ptr.String(jtv) } - case "RequireEncryption": if value != nil { jtv, ok := value.(bool) @@ -19417,7 +19051,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.RequireEncryption = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19430,7 +19063,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorArn": if value != nil { jtv, ok := value.(string) @@ -19439,7 +19071,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorArn = ptr.String(jtv) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -19448,7 +19079,6 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -19528,7 +19158,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.CreatedTimestamp = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19537,7 +19166,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.Name = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19550,7 +19178,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceConnectorGroupArn": if value != nil { jtv, ok := value.(string) @@ -19559,7 +19186,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupArn = ptr.String(jtv) } - case "VoiceConnectorGroupId": if value != nil { jtv, ok := value.(string) @@ -19568,12 +19194,10 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupId = ptr.String(jtv) } - case "VoiceConnectorItems": if err := awsRestjson1_deserializeDocumentVoiceConnectorItemList(&sv.VoiceConnectorItems, value); err != nil { return err } - default: _, _ = key, value @@ -19651,7 +19275,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.Priority = ptr.Int32(int32(i64)) } - case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -19660,7 +19283,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.VoiceConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -19768,7 +19390,6 @@ func awsRestjson1_deserializeDocumentVoiceConnectorSettings(v **types.VoiceConne } sv.CdrBucket = ptr.String(jtv) } - default: _, _ = key, value @@ -19812,7 +19433,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.CreatedTimestamp = ptr.Time(t) } - case "ExpirationTimestamp": if value != nil { jtv, ok := value.(string) @@ -19825,7 +19445,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.ExpirationTimestamp = ptr.Time(t) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19838,7 +19457,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceProfileArn": if value != nil { jtv, ok := value.(string) @@ -19847,7 +19465,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileArn = ptr.String(jtv) } - case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19856,7 +19473,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileDomainId = ptr.String(jtv) } - case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -19865,7 +19481,6 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -19909,7 +19524,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.CreatedTimestamp = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19918,7 +19532,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19927,12 +19540,10 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.Name = ptr.String(jtv) } - case "ServerSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19945,7 +19556,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceProfileDomainArn": if value != nil { jtv, ok := value.(string) @@ -19954,7 +19564,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.VoiceProfileDomainArn = ptr.String(jtv) } - case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19963,7 +19572,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.VoiceProfileDomainId = ptr.String(jtv) } - default: _, _ = key, value @@ -20007,7 +19615,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.CreatedTimestamp = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -20016,7 +19623,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -20025,7 +19631,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.Name = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20038,7 +19643,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceProfileDomainArn": if value != nil { jtv, ok := value.(string) @@ -20047,7 +19651,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.VoiceProfileDomainArn = ptr.String(jtv) } - case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -20056,7 +19659,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.VoiceProfileDomainId = ptr.String(jtv) } - default: _, _ = key, value @@ -20134,7 +19736,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.CreatedTimestamp = ptr.Time(t) } - case "ExpirationTimestamp": if value != nil { jtv, ok := value.(string) @@ -20147,7 +19748,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.ExpirationTimestamp = ptr.Time(t) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20160,7 +19760,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceProfileArn": if value != nil { jtv, ok := value.(string) @@ -20169,7 +19768,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileArn = ptr.String(jtv) } - case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -20178,7 +19776,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileDomainId = ptr.String(jtv) } - case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -20187,7 +19784,6 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -20257,7 +19853,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn if err := awsRestjson1_deserializeDocumentCallDetails(&sv.CallDetails, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20270,7 +19865,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.CreatedTimestamp = ptr.Time(t) } - case "StartedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20283,7 +19877,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.StartedTimestamp = ptr.Time(t) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -20292,7 +19885,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20305,7 +19897,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.UpdatedTimestamp = ptr.Time(t) } - case "VoiceToneAnalysisTaskId": if value != nil { jtv, ok := value.(string) @@ -20314,7 +19905,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskId = ptr.String(jtv) } - case "VoiceToneAnalysisTaskStatus": if value != nil { jtv, ok := value.(string) @@ -20323,7 +19913,6 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskStatus = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/cleanrooms/deserializers.go b/service/cleanrooms/deserializers.go index c1d23d41c52..2dfbdbf6248 100644 --- a/service/cleanrooms/deserializers.go +++ b/service/cleanrooms/deserializers.go @@ -186,12 +186,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetCollaborationAnalysisTemplateOutp if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateList(&sv.CollaborationAnalysisTemplates, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -355,12 +353,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetSchemaOutput(v **BatchGetSchemaOu if err := awsRestjson1_deserializeDocumentBatchGetSchemaErrorList(&sv.Errors, value); err != nil { return err } - case "schemas": if err := awsRestjson1_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -524,12 +520,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetSchemaAnalysisRuleOutput(v **Batc if err := awsRestjson1_deserializeDocumentSchemaAnalysisRuleList(&sv.AnalysisRules, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -699,7 +693,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisTemplateOutput(v **CreateAn if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -863,7 +856,6 @@ func awsRestjson1_deserializeOpDocumentCreateCollaborationOutput(v **CreateColla if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } - default: _, _ = key, value @@ -1033,7 +1025,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredAudienceModelAssociationO if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1203,7 +1194,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableOutput(v **CreateCon if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } - default: _, _ = key, value @@ -1370,7 +1360,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAnalysisRuleOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -1540,7 +1529,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAssociationOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1707,7 +1695,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAssociationAnalysisR if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -1877,7 +1864,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingTableOutput(v **CreateIdMa if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } - default: _, _ = key, value @@ -2047,7 +2033,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceAssociationOutput(v **Cr if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -2217,7 +2202,6 @@ func awsRestjson1_deserializeOpDocumentCreateMembershipOutput(v **CreateMembersh if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } - default: _, _ = key, value @@ -2384,7 +2368,6 @@ func awsRestjson1_deserializeOpDocumentCreatePrivacyBudgetTemplateOutput(v **Cre if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -3763,7 +3746,6 @@ func awsRestjson1_deserializeOpDocumentGetAnalysisTemplateOutput(v **GetAnalysis if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -3924,7 +3906,6 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationOutput(v **GetCollaborati if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } - default: _, _ = key, value @@ -4088,7 +4069,6 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationAnalysisTemplateOutput(v if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(&sv.CollaborationAnalysisTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -4252,7 +4232,6 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationConfiguredAudienceModelAs if err := awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssociation(&sv.CollaborationConfiguredAudienceModelAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -4416,7 +4395,6 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationIdNamespaceAssociationOut if err := awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(&sv.CollaborationIdNamespaceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -4580,7 +4558,6 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationPrivacyBudgetTemplateOutp if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(&sv.CollaborationPrivacyBudgetTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -4744,7 +4721,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelAssociationOutp if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -4908,7 +4884,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableOutput(v **GetConfigure if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } - default: _, _ = key, value @@ -5072,7 +5047,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAnalysisRuleOutput(v ** if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -5236,7 +5210,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAssociationOutput(v **G if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5400,7 +5373,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAssociationAnalysisRule if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -5564,7 +5536,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingTableOutput(v **GetIdMappingT if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } - default: _, _ = key, value @@ -5728,7 +5699,6 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceAssociationOutput(v **GetId if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5892,7 +5862,6 @@ func awsRestjson1_deserializeOpDocumentGetMembershipOutput(v **GetMembershipOutp if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } - default: _, _ = key, value @@ -6056,7 +6025,6 @@ func awsRestjson1_deserializeOpDocumentGetPrivacyBudgetTemplateOutput(v **GetPri if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -6220,7 +6188,6 @@ func awsRestjson1_deserializeOpDocumentGetProtectedQueryOutput(v **GetProtectedQ if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } - default: _, _ = key, value @@ -6384,7 +6351,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -6548,7 +6514,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAnalysisRuleOutput(v **GetSchema if err := awsRestjson1_deserializeDocumentAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -6712,7 +6677,6 @@ func awsRestjson1_deserializeOpDocumentListAnalysisTemplatesOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalysisTemplateSummaryList(&sv.AnalysisTemplateSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6721,7 +6685,6 @@ func awsRestjson1_deserializeOpDocumentListAnalysisTemplatesOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6885,7 +6848,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationAnalysisTemplatesOutput( if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummaryList(&sv.CollaborationAnalysisTemplateSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6894,7 +6856,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationAnalysisTemplatesOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7058,7 +7019,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationConfiguredAudienceModelA if err := awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssociationSummaryList(&sv.CollaborationConfiguredAudienceModelAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7067,7 +7027,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationConfiguredAudienceModelA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7231,7 +7190,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationIdNamespaceAssociationsO if err := awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummaryList(&sv.CollaborationIdNamespaceAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7240,7 +7198,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationIdNamespaceAssociationsO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7404,7 +7361,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetsOutput(v * if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummaryList(&sv.CollaborationPrivacyBudgetSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7413,7 +7369,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7577,7 +7532,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetTemplatesOu if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummaryList(&sv.CollaborationPrivacyBudgetTemplateSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7586,7 +7540,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetTemplatesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7747,7 +7700,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationsOutput(v **ListCollabor if err := awsRestjson1_deserializeDocumentCollaborationSummaryList(&sv.CollaborationList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7756,7 +7708,6 @@ func awsRestjson1_deserializeOpDocumentListCollaborationsOutput(v **ListCollabor } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7920,7 +7871,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelAssociationsOu if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummaryList(&sv.ConfiguredAudienceModelAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7929,7 +7879,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelAssociationsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8093,7 +8042,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTableAssociationsOutput(v * if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationSummaryList(&sv.ConfiguredTableAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8102,7 +8050,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTableAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8263,7 +8210,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTablesOutput(v **ListConfig if err := awsRestjson1_deserializeDocumentConfiguredTableSummaryList(&sv.ConfiguredTableSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8272,7 +8218,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTablesOutput(v **ListConfig } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8436,7 +8381,6 @@ func awsRestjson1_deserializeOpDocumentListIdMappingTablesOutput(v **ListIdMappi if err := awsRestjson1_deserializeDocumentIdMappingTableSummaryList(&sv.IdMappingTableSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8445,7 +8389,6 @@ func awsRestjson1_deserializeOpDocumentListIdMappingTablesOutput(v **ListIdMappi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8609,7 +8552,6 @@ func awsRestjson1_deserializeOpDocumentListIdNamespaceAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationSummaryList(&sv.IdNamespaceAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8618,7 +8560,6 @@ func awsRestjson1_deserializeOpDocumentListIdNamespaceAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8782,7 +8723,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberSummaryList(&sv.MemberSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8791,7 +8731,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8952,7 +8891,6 @@ func awsRestjson1_deserializeOpDocumentListMembershipsOutput(v **ListMemberships if err := awsRestjson1_deserializeDocumentMembershipSummaryList(&sv.MembershipSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8961,7 +8899,6 @@ func awsRestjson1_deserializeOpDocumentListMembershipsOutput(v **ListMemberships } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9129,12 +9066,10 @@ func awsRestjson1_deserializeOpDocumentListPrivacyBudgetsOutput(v **ListPrivacyB } sv.NextToken = ptr.String(jtv) } - case "privacyBudgetSummaries": if err := awsRestjson1_deserializeDocumentPrivacyBudgetSummaryList(&sv.PrivacyBudgetSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9302,12 +9237,10 @@ func awsRestjson1_deserializeOpDocumentListPrivacyBudgetTemplatesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "privacyBudgetTemplateSummaries": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummaryList(&sv.PrivacyBudgetTemplateSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9475,12 +9408,10 @@ func awsRestjson1_deserializeOpDocumentListProtectedQueriesOutput(v **ListProtec } sv.NextToken = ptr.String(jtv) } - case "protectedQueries": if err := awsRestjson1_deserializeDocumentProtectedQuerySummaryList(&sv.ProtectedQueries, value); err != nil { return err } - default: _, _ = key, value @@ -9648,12 +9579,10 @@ func awsRestjson1_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } - case "schemaSummaries": if err := awsRestjson1_deserializeDocumentSchemaSummaryList(&sv.SchemaSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9808,7 +9737,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9982,7 +9910,6 @@ func awsRestjson1_deserializeOpDocumentPopulateIdMappingTableOutput(v **Populate } sv.IdMappingJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -10146,7 +10073,6 @@ func awsRestjson1_deserializeOpDocumentPreviewPrivacyImpactOutput(v **PreviewPri if err := awsRestjson1_deserializeDocumentPrivacyImpact(&sv.PrivacyImpact, value); err != nil { return err } - default: _, _ = key, value @@ -10313,7 +10239,6 @@ func awsRestjson1_deserializeOpDocumentStartProtectedQueryOutput(v **StartProtec if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } - default: _, _ = key, value @@ -10659,7 +10584,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisTemplateOutput(v **UpdateAn if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -10820,7 +10744,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCollaborationOutput(v **UpdateColla if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } - default: _, _ = key, value @@ -10984,7 +10907,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredAudienceModelAssociationO if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -11151,7 +11073,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableOutput(v **UpdateCon if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } - default: _, _ = key, value @@ -11318,7 +11239,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAnalysisRuleOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -11485,7 +11405,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAssociationOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -11652,7 +11571,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAssociationAnalysisR if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } - default: _, _ = key, value @@ -11816,7 +11734,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingTableOutput(v **UpdateIdMa if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } - default: _, _ = key, value @@ -11980,7 +11897,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceAssociationOutput(v **Up if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -12147,7 +12063,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMembershipOutput(v **UpdateMembersh if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } - default: _, _ = key, value @@ -12314,7 +12229,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePrivacyBudgetTemplateOutput(v **Upd if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -12481,7 +12395,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProtectedQueryOutput(v **UpdateProt if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } - default: _, _ = key, value @@ -12763,15 +12676,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12779,7 +12686,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -12788,15 +12694,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12827,7 +12729,6 @@ func awsRestjson1_deserializeDocumentAggregateColumn(v **types.AggregateColumn, if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnNameList(&sv.ColumnNames, value); err != nil { return err } - case "function": if value != nil { jtv, ok := value.(string) @@ -12836,7 +12737,6 @@ func awsRestjson1_deserializeDocumentAggregateColumn(v **types.AggregateColumn, } sv.Function = types.AggregateFunctionName(jtv) } - default: _, _ = key, value @@ -12910,7 +12810,6 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.ColumnName = ptr.String(jtv) } - case "minimum": if value != nil { jtv, ok := value.(json.Number) @@ -12923,7 +12822,6 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.Minimum = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12932,7 +12830,6 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.Type = types.AggregationType(jtv) } - default: _, _ = key, value @@ -13186,7 +13083,6 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.DefaultValue = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13195,7 +13091,6 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -13204,7 +13099,6 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.Type = types.ParameterType(jtv) } - default: _, _ = key, value @@ -13278,7 +13172,6 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -13294,7 +13187,6 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13303,12 +13195,10 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.Name = ptr.String(jtv) } - case "policy": if err := awsRestjson1_deserializeDocumentAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -13317,7 +13207,6 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.Type = types.AnalysisRuleType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -13333,7 +13222,6 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } } - default: _, _ = key, value @@ -13373,27 +13261,22 @@ func awsRestjson1_deserializeDocumentAnalysisRuleAggregation(v **types.AnalysisR } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } - case "aggregateColumns": if err := awsRestjson1_deserializeDocumentAggregateColumnList(&sv.AggregateColumns, value); err != nil { return err } - case "allowedJoinOperators": if err := awsRestjson1_deserializeDocumentJoinOperatorsList(&sv.AllowedJoinOperators, value); err != nil { return err } - case "dimensionColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DimensionColumns, value); err != nil { return err } - case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } - case "joinRequired": if value != nil { jtv, ok := value.(string) @@ -13402,17 +13285,14 @@ func awsRestjson1_deserializeDocumentAnalysisRuleAggregation(v **types.AnalysisR } sv.JoinRequired = types.JoinRequiredOption(jtv) } - case "outputConstraints": if err := awsRestjson1_deserializeDocumentAggregationConstraints(&sv.OutputConstraints, value); err != nil { return err } - case "scalarFunctions": if err := awsRestjson1_deserializeDocumentScalarFunctionsList(&sv.ScalarFunctions, value); err != nil { return err } - default: _, _ = key, value @@ -13524,27 +13404,22 @@ func awsRestjson1_deserializeDocumentAnalysisRuleCustom(v **types.AnalysisRuleCu } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } - case "allowedAnalyses": if err := awsRestjson1_deserializeDocumentAllowedAnalysesList(&sv.AllowedAnalyses, value); err != nil { return err } - case "allowedAnalysisProviders": if err := awsRestjson1_deserializeDocumentAllowedAnalysisProviderList(&sv.AllowedAnalysisProviders, value); err != nil { return err } - case "differentialPrivacy": if err := awsRestjson1_deserializeDocumentDifferentialPrivacyConfiguration(&sv.DifferentialPrivacy, value); err != nil { return err } - case "disallowedOutputColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DisallowedOutputColumns, value); err != nil { return err } - default: _, _ = key, value @@ -13580,17 +13455,14 @@ func awsRestjson1_deserializeDocumentAnalysisRuleIdMappingTable(v **types.Analys if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DimensionColumns, value); err != nil { return err } - case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } - case "queryConstraints": if err := awsRestjson1_deserializeDocumentQueryConstraintList(&sv.QueryConstraints, value); err != nil { return err } - default: _, _ = key, value @@ -13630,22 +13502,18 @@ func awsRestjson1_deserializeDocumentAnalysisRuleList(v **types.AnalysisRuleList } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } - case "allowedJoinOperators": if err := awsRestjson1_deserializeDocumentJoinOperatorsList(&sv.AllowedJoinOperators, value); err != nil { return err } - case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } - case "listColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.ListColumns, value); err != nil { return err } - default: _, _ = key, value @@ -13825,7 +13693,6 @@ func awsRestjson1_deserializeDocumentAnalysisSchema(v **types.AnalysisSchema, va if err := awsRestjson1_deserializeDocumentQueryTables(&sv.ReferencedTables, value); err != nil { return err } - default: _, _ = key, value @@ -13903,7 +13770,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate if err := awsRestjson1_deserializeDocumentAnalysisParameterList(&sv.AnalysisParameters, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13912,7 +13778,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -13921,7 +13786,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -13930,7 +13794,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -13946,7 +13809,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13955,7 +13817,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Description = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -13964,7 +13825,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Format = types.AnalysisFormat(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13973,7 +13833,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -13982,7 +13841,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -13991,7 +13849,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14000,17 +13857,14 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Name = ptr.String(jtv) } - case "schema": if err := awsRestjson1_deserializeDocumentAnalysisSchema(&sv.Schema, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentAnalysisSource(&sv.Source, value); err != nil { return err } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14026,12 +13880,10 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } } - case "validations": if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetailList(&sv.Validations, value); err != nil { return err } - default: _, _ = key, value @@ -14071,7 +13923,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -14080,7 +13931,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -14089,7 +13939,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -14105,7 +13954,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } } - case "description": if value != nil { jtv, ok := value.(string) @@ -14114,7 +13962,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14123,7 +13970,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -14132,7 +13978,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -14141,7 +13986,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14150,7 +13994,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14166,7 +14009,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } } - default: _, _ = key, value @@ -14236,7 +14078,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusReasonList(&sv.Reasons, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14245,7 +14086,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** } sv.Status = types.AnalysisTemplateValidationStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14254,7 +14094,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** } sv.Type = types.AnalysisTemplateValidationType(jtv) } - default: _, _ = key, value @@ -14328,7 +14167,6 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusReason(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14402,7 +14240,6 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Arn = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -14411,7 +14248,6 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14420,7 +14256,6 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14494,7 +14329,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14503,7 +14337,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14512,7 +14345,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14521,7 +14353,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Type = types.AnalysisRuleType(jtv) } - default: _, _ = key, value @@ -14595,7 +14426,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14604,7 +14434,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14613,7 +14442,6 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14712,7 +14540,6 @@ func awsRestjson1_deserializeDocumentBilledResourceUtilization(v **types.BilledR } } - default: _, _ = key, value @@ -14752,7 +14579,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.AnalyticsEngine = types.AnalyticsEngine(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14761,7 +14587,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -14777,7 +14602,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -14786,7 +14610,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.CreatorAccountId = ptr.String(jtv) } - case "creatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -14795,12 +14618,10 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.CreatorDisplayName = ptr.String(jtv) } - case "dataEncryptionMetadata": if err := awsRestjson1_deserializeDocumentDataEncryptionMetadata(&sv.DataEncryptionMetadata, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -14809,7 +14630,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14818,7 +14638,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -14827,7 +14646,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -14836,7 +14654,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MembershipId = ptr.String(jtv) } - case "memberStatus": if value != nil { jtv, ok := value.(string) @@ -14845,7 +14662,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MemberStatus = types.MemberStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14854,7 +14670,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Name = ptr.String(jtv) } - case "queryLogStatus": if value != nil { jtv, ok := value.(string) @@ -14863,7 +14678,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.QueryLogStatus = types.CollaborationQueryLogStatus(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14879,7 +14693,6 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } } - default: _, _ = key, value @@ -14915,7 +14728,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col if err := awsRestjson1_deserializeDocumentAnalysisParameterList(&sv.AnalysisParameters, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14924,7 +14736,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -14933,7 +14744,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -14942,7 +14752,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -14958,7 +14767,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -14967,7 +14775,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14976,7 +14783,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Description = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -14985,7 +14791,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Format = types.AnalysisFormat(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14994,7 +14799,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15003,17 +14807,14 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Name = ptr.String(jtv) } - case "schema": if err := awsRestjson1_deserializeDocumentAnalysisSchema(&sv.Schema, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentAnalysisSource(&sv.Source, value); err != nil { return err } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15029,12 +14830,10 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } } - case "validations": if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetailList(&sv.Validations, value); err != nil { return err } - default: _, _ = key, value @@ -15108,7 +14907,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15117,7 +14915,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15126,7 +14923,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15142,7 +14938,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15151,7 +14946,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15160,7 +14954,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15169,7 +14962,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15178,7 +14970,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15194,7 +14985,6 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } } - default: _, _ = key, value @@ -15268,7 +15058,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15277,7 +15066,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15286,7 +15074,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationId = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -15295,7 +15082,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15311,7 +15097,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15320,7 +15105,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15329,7 +15113,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15338,7 +15121,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15347,7 +15129,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15363,7 +15144,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } - default: _, _ = key, value @@ -15403,7 +15183,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15412,7 +15191,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15421,7 +15199,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15437,7 +15214,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15446,7 +15222,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15455,7 +15230,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15464,7 +15238,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15473,7 +15246,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15489,7 +15261,6 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } - default: _, _ = key, value @@ -15563,7 +15334,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15572,7 +15342,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15581,7 +15350,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15597,7 +15365,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15606,7 +15373,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15615,7 +15381,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15624,22 +15389,18 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Id = ptr.String(jtv) } - case "idMappingConfig": if err := awsRestjson1_deserializeDocumentIdMappingConfig(&sv.IdMappingConfig, value); err != nil { return err } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15648,7 +15409,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15664,7 +15424,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } } - default: _, _ = key, value @@ -15704,7 +15463,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15713,7 +15471,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15722,7 +15479,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15738,7 +15494,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15747,7 +15502,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15756,7 +15510,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15765,17 +15518,14 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Id = ptr.String(jtv) } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropertiesSummary(&sv.InputReferenceProperties, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15784,7 +15534,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15800,7 +15549,6 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } } - default: _, _ = key, value @@ -15870,7 +15618,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types if err := awsRestjson1_deserializeDocumentPrivacyBudget(&sv.Budget, value); err != nil { return err } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15879,7 +15626,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15888,7 +15634,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -15904,7 +15649,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15913,7 +15657,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CreatorAccountId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15922,7 +15665,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.Id = ptr.String(jtv) } - case "privacyBudgetTemplateArn": if value != nil { jtv, ok := value.(string) @@ -15931,7 +15673,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.PrivacyBudgetTemplateArn = ptr.String(jtv) } - case "privacyBudgetTemplateId": if value != nil { jtv, ok := value.(string) @@ -15940,7 +15681,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.PrivacyBudgetTemplateId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15949,7 +15689,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.Type = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15965,7 +15704,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } } - default: _, _ = key, value @@ -16039,7 +15777,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.Arn = ptr.String(jtv) } - case "autoRefresh": if value != nil { jtv, ok := value.(string) @@ -16048,7 +15785,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.AutoRefresh = types.PrivacyBudgetTemplateAutoRefresh(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16057,7 +15793,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16066,7 +15801,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -16082,7 +15816,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -16091,7 +15824,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CreatorAccountId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16100,12 +15832,10 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.Id = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateParametersOutput(&sv.Parameters, value); err != nil { return err } - case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -16114,7 +15844,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16130,7 +15859,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } } - default: _, _ = key, value @@ -16170,7 +15898,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16179,7 +15906,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16188,7 +15914,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -16204,7 +15929,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -16213,7 +15937,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CreatorAccountId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16222,7 +15945,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.Id = ptr.String(jtv) } - case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -16231,7 +15953,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16247,7 +15968,6 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } } - default: _, _ = key, value @@ -16321,7 +16041,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.AnalyticsEngine = types.AnalyticsEngine(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -16330,7 +16049,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -16346,7 +16064,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -16355,7 +16072,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.CreatorAccountId = ptr.String(jtv) } - case "creatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -16364,7 +16080,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.CreatorDisplayName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16373,7 +16088,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16382,7 +16096,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16391,7 +16104,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MembershipId = ptr.String(jtv) } - case "memberStatus": if value != nil { jtv, ok := value.(string) @@ -16400,7 +16112,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MemberStatus = types.MemberStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16409,7 +16120,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16425,7 +16135,6 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } } - default: _, _ = key, value @@ -16499,7 +16208,6 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16508,7 +16216,6 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -16662,7 +16369,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16671,7 +16377,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16680,7 +16385,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.CollaborationId = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -16689,7 +16393,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -16705,7 +16408,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16714,7 +16416,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16723,7 +16424,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Id = ptr.String(jtv) } - case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -16732,7 +16432,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.ManageResourcePolicies = ptr.Bool(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16741,7 +16440,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16750,7 +16448,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16759,7 +16456,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16775,7 +16471,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } } - default: _, _ = key, value @@ -16815,7 +16510,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16824,7 +16518,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16833,7 +16526,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.CollaborationId = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -16842,7 +16534,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -16858,7 +16549,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16867,7 +16557,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16876,7 +16565,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16885,7 +16573,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16894,7 +16581,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16903,7 +16589,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16919,7 +16604,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } } - default: _, _ = key, value @@ -16989,7 +16673,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, if err := awsRestjson1_deserializeDocumentAllowedColumnList(&sv.AllowedColumns, value); err != nil { return err } - case "analysisMethod": if value != nil { jtv, ok := value.(string) @@ -16998,12 +16681,10 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.AnalysisMethod = types.AnalysisMethod(jtv) } - case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17012,7 +16693,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -17028,7 +16708,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -17037,7 +16716,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17046,7 +16724,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17055,12 +16732,10 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Name = ptr.String(jtv) } - case "tableReference": if err := awsRestjson1_deserializeDocumentTableReference(&sv.TableReference, value); err != nil { return err } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17076,7 +16751,6 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } } - default: _, _ = key, value @@ -17116,7 +16790,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.ConfiguredTableArn = ptr.String(jtv) } - case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -17125,7 +16798,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.ConfiguredTableId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -17141,12 +16813,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } } - case "policy": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17155,7 +16825,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.Type = types.ConfiguredTableAnalysisRuleType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17171,7 +16840,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } } - default: _, _ = key, value @@ -17341,7 +17009,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17350,7 +17017,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Arn = ptr.String(jtv) } - case "configuredTableArn": if value != nil { jtv, ok := value.(string) @@ -17359,7 +17025,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.ConfiguredTableArn = ptr.String(jtv) } - case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -17368,7 +17033,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.ConfiguredTableId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -17384,7 +17048,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } } - case "description": if value != nil { jtv, ok := value.(string) @@ -17393,7 +17056,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17402,7 +17064,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -17411,7 +17072,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -17420,7 +17080,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17429,7 +17088,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17438,7 +17096,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.RoleArn = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17454,7 +17111,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } } - default: _, _ = key, value @@ -17494,7 +17150,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.ConfiguredTableAssociationArn = ptr.String(jtv) } - case "configuredTableAssociationId": if value != nil { jtv, ok := value.(string) @@ -17503,7 +17158,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.ConfiguredTableAssociationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -17519,7 +17173,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } } - case "membershipIdentifier": if value != nil { jtv, ok := value.(string) @@ -17528,12 +17181,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.MembershipIdentifier = ptr.String(jtv) } - case "policy": if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17542,7 +17193,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.Type = types.ConfiguredTableAssociationAnalysisRuleType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17558,7 +17208,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } } - default: _, _ = key, value @@ -17594,12 +17243,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleAggre if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } - case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } - default: _, _ = key, value @@ -17635,12 +17282,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleCusto if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } - case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } - default: _, _ = key, value @@ -17676,12 +17321,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleList( if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } - case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } - default: _, _ = key, value @@ -17855,7 +17498,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Arn = ptr.String(jtv) } - case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -17864,7 +17506,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.ConfiguredTableId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -17880,7 +17521,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } } - case "id": if value != nil { jtv, ok := value.(string) @@ -17889,7 +17529,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -17898,7 +17537,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -17907,7 +17545,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17916,7 +17553,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17932,7 +17568,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } } - default: _, _ = key, value @@ -18006,12 +17641,10 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.AnalysisMethod = types.AnalysisMethod(jtv) } - case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -18020,7 +17653,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -18036,7 +17668,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } } - case "id": if value != nil { jtv, ok := value.(string) @@ -18045,7 +17676,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18054,7 +17684,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -18070,7 +17699,6 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } } - default: _, _ = key, value @@ -18134,15 +17762,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18150,7 +17772,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -18159,7 +17780,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -18168,7 +17788,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -18177,15 +17796,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18220,7 +17835,6 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowCleartext = ptr.Bool(jtv) } - case "allowDuplicates": if value != nil { jtv, ok := value.(bool) @@ -18229,7 +17843,6 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowDuplicates = ptr.Bool(jtv) } - case "allowJoinsOnColumnsWithDifferentNames": if value != nil { jtv, ok := value.(bool) @@ -18238,7 +17851,6 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowJoinsOnColumnsWithDifferentNames = ptr.Bool(jtv) } - case "preserveNulls": if value != nil { jtv, ok := value.(bool) @@ -18247,7 +17859,6 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.PreserveNulls = ptr.Bool(jtv) } - default: _, _ = key, value @@ -18287,7 +17898,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyColumn(v **types.Differe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18357,7 +17967,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyColumnList(&sv.Columns, value); err != nil { return err } - default: _, _ = key, value @@ -18393,7 +18002,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyParameters(v **types.Dif if err := awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParametersList(&sv.SensitivityParameters, value); err != nil { return err } - default: _, _ = key, value @@ -18437,7 +18045,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregation(v **t } sv.MaxCount = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -18446,7 +18053,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregation(v **t } sv.Type = types.DifferentialPrivacyAggregationType(jtv) } - default: _, _ = key, value @@ -18516,7 +18122,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudget(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregationList(&sv.Aggregations, value); err != nil { return err } - case "epsilon": if value != nil { jtv, ok := value.(json.Number) @@ -18529,7 +18134,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudget(v **types. } sv.Epsilon = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18573,7 +18177,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.MaxCount = ptr.Int32(int32(i64)) } - case "remainingCount": if value != nil { jtv, ok := value.(json.Number) @@ -18586,7 +18189,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.RemainingCount = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -18595,7 +18197,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.Type = types.DifferentialPrivacyAggregationType(jtv) } - default: _, _ = key, value @@ -18665,7 +18266,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyImpact(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregationList(&sv.Aggregations, value); err != nil { return err } - default: _, _ = key, value @@ -18705,7 +18305,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.AggregationExpression = ptr.String(jtv) } - case "aggregationType": if value != nil { jtv, ok := value.(string) @@ -18714,7 +18313,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.AggregationType = types.DifferentialPrivacyAggregationType(jtv) } - case "maxColumnValue": if value != nil { switch jtv := value.(type) { @@ -18748,7 +18346,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } } - case "minColumnValue": if value != nil { switch jtv := value.(type) { @@ -18782,7 +18379,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } } - case "userContributionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -18795,7 +18391,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.UserContributionLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18873,7 +18468,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyTemplateParametersOutput } sv.Epsilon = ptr.Int32(int32(i64)) } - case "usersNoisePerQuery": if value != nil { jtv, ok := value.(json.Number) @@ -18886,7 +18480,6 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyTemplateParametersOutput } sv.UsersNoisePerQuery = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18922,7 +18515,6 @@ func awsRestjson1_deserializeDocumentDirectAnalysisConfigurationDetails(v **type if err := awsRestjson1_deserializeDocumentReceiverAccountIds(&sv.ReceiverAccountIds, value); err != nil { return err } - default: _, _ = key, value @@ -18962,7 +18554,6 @@ func awsRestjson1_deserializeDocumentGlueTableReference(v **types.GlueTableRefer } sv.DatabaseName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -18971,7 +18562,6 @@ func awsRestjson1_deserializeDocumentGlueTableReference(v **types.GlueTableRefer } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -19011,7 +18601,6 @@ func awsRestjson1_deserializeDocumentIdMappingConfig(v **types.IdMappingConfig, } sv.AllowUseAsDimensionColumn = jtv } - default: _, _ = key, value @@ -19051,7 +18640,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19060,7 +18648,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19069,7 +18656,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -19085,7 +18671,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19094,7 +18679,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19103,17 +18687,14 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Id = ptr.String(jtv) } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -19122,7 +18703,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.KmsKeyArn = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19131,7 +18711,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19140,7 +18719,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19149,7 +18727,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19165,7 +18742,6 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } } - default: _, _ = key, value @@ -19205,7 +18781,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(v **type } sv.InputReferenceArn = ptr.String(jtv) } - case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -19214,7 +18789,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(v **type } sv.ManageResourcePolicies = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19250,7 +18824,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceProperties(v ** if err := awsRestjson1_deserializeDocumentIdMappingTableInputSourceList(&sv.IdMappingTableInputSource, value); err != nil { return err } - default: _, _ = key, value @@ -19290,7 +18863,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputSource(v **types.IdMappi } sv.IdNamespaceAssociationId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -19299,7 +18871,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputSource(v **types.IdMappi } sv.Type = types.IdNamespaceType(jtv) } - default: _, _ = key, value @@ -19369,7 +18940,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSchemaTypeProperties(v **type if err := awsRestjson1_deserializeDocumentIdMappingTableInputSourceList(&sv.IdMappingTableInputSource, value); err != nil { return err } - default: _, _ = key, value @@ -19409,7 +18979,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19418,7 +18987,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19427,7 +18995,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -19443,7 +19010,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19452,7 +19018,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19461,12 +19026,10 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Id = ptr.String(jtv) } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19475,7 +19038,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19484,7 +19046,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19493,7 +19054,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19509,7 +19069,6 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } } - default: _, _ = key, value @@ -19615,7 +19174,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19624,7 +19182,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19633,7 +19190,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -19649,7 +19205,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19658,7 +19213,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19667,22 +19221,18 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Id = ptr.String(jtv) } - case "idMappingConfig": if err := awsRestjson1_deserializeDocumentIdMappingConfig(&sv.IdMappingConfig, value); err != nil { return err } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19691,7 +19241,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19700,7 +19249,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19709,7 +19257,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19725,7 +19272,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } } - default: _, _ = key, value @@ -19765,7 +19311,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig( } sv.InputReferenceArn = ptr.String(jtv) } - case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -19774,7 +19319,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig( } sv.ManageResourcePolicies = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19810,7 +19354,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert if err := awsRestjson1_deserializeDocumentIdMappingWorkflowsSupported(&sv.IdMappingWorkflowsSupported, value); err != nil { return err } - case "idNamespaceType": if value != nil { jtv, ok := value.(string) @@ -19819,7 +19362,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert } sv.IdNamespaceType = types.IdNamespaceType(jtv) } - default: _, _ = key, value @@ -19859,7 +19401,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert } sv.IdNamespaceType = types.IdNamespaceType(jtv) } - default: _, _ = key, value @@ -19899,7 +19440,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19908,7 +19448,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19917,7 +19456,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -19933,7 +19471,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19942,7 +19479,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19951,17 +19487,14 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Id = ptr.String(jtv) } - case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } - case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropertiesSummary(&sv.InputReferenceProperties, value); err != nil { return err } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19970,7 +19503,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19979,7 +19511,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.MembershipId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19988,7 +19519,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Name = ptr.String(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20004,7 +19534,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } } - default: _, _ = key, value @@ -20068,15 +19597,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20084,15 +19607,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20199,7 +19718,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20208,7 +19726,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationCreatorAccountId": if value != nil { jtv, ok := value.(string) @@ -20217,7 +19734,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationCreatorAccountId = ptr.String(jtv) } - case "collaborationCreatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -20226,7 +19742,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationCreatorDisplayName = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20235,7 +19750,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationId = ptr.String(jtv) } - case "collaborationName": if value != nil { jtv, ok := value.(string) @@ -20244,7 +19758,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationName = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -20260,12 +19773,10 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } } - case "defaultResultConfiguration": if err := awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration(&sv.DefaultResultConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -20274,17 +19785,14 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Id = ptr.String(jtv) } - case "memberAbilities": if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.MemberAbilities, value); err != nil { return err } - case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } - case "queryLogStatus": if value != nil { jtv, ok := value.(string) @@ -20293,7 +19801,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.QueryLogStatus = types.MembershipQueryLogStatus(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20302,7 +19809,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Status = types.MembershipStatus(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20318,7 +19824,6 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } } - default: _, _ = key, value @@ -20354,7 +19859,6 @@ func awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(v **types.Me if err := awsRestjson1_deserializeDocumentMembershipQueryComputePaymentConfig(&sv.QueryCompute, value); err != nil { return err } - default: _, _ = key, value @@ -20430,7 +19934,6 @@ func awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration if err := awsRestjson1_deserializeDocumentMembershipProtectedQueryOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -20439,7 +19942,6 @@ func awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20479,7 +19981,6 @@ func awsRestjson1_deserializeDocumentMembershipQueryComputePaymentConfig(v **typ } sv.IsResponsible = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20519,7 +20020,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20528,7 +20028,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationCreatorAccountId": if value != nil { jtv, ok := value.(string) @@ -20537,7 +20036,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationCreatorAccountId = ptr.String(jtv) } - case "collaborationCreatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -20546,7 +20044,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationCreatorDisplayName = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20555,7 +20052,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationId = ptr.String(jtv) } - case "collaborationName": if value != nil { jtv, ok := value.(string) @@ -20564,7 +20060,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationName = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -20580,7 +20075,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } } - case "id": if value != nil { jtv, ok := value.(string) @@ -20589,17 +20083,14 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Id = ptr.String(jtv) } - case "memberAbilities": if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.MemberAbilities, value); err != nil { return err } - case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -20608,7 +20099,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Status = types.MembershipStatus(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20624,7 +20114,6 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } } - default: _, _ = key, value @@ -20694,7 +20183,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.Abilities, value); err != nil { return err } - case "accountId": if value != nil { jtv, ok := value.(string) @@ -20703,7 +20191,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.AccountId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -20719,7 +20206,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -20728,7 +20214,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.DisplayName = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20737,7 +20222,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -20746,12 +20230,10 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.MembershipId = ptr.String(jtv) } - case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -20760,7 +20242,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Status = types.MemberStatus(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20776,7 +20257,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } } - default: _, _ = key, value @@ -20882,7 +20362,6 @@ func awsRestjson1_deserializeDocumentPaymentConfiguration(v **types.PaymentConfi if err := awsRestjson1_deserializeDocumentQueryComputePaymentConfig(&sv.QueryCompute, value); err != nil { return err } - default: _, _ = key, value @@ -20958,7 +20437,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge if err := awsRestjson1_deserializeDocumentPrivacyBudget(&sv.Budget, value); err != nil { return err } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20967,7 +20445,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20976,7 +20453,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -20992,7 +20468,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } } - case "id": if value != nil { jtv, ok := value.(string) @@ -21001,7 +20476,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -21010,7 +20484,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21019,7 +20492,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.MembershipId = ptr.String(jtv) } - case "privacyBudgetTemplateArn": if value != nil { jtv, ok := value.(string) @@ -21028,7 +20500,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.PrivacyBudgetTemplateArn = ptr.String(jtv) } - case "privacyBudgetTemplateId": if value != nil { jtv, ok := value.(string) @@ -21037,7 +20508,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.PrivacyBudgetTemplateId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -21046,7 +20516,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.Type = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -21062,7 +20531,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } } - default: _, _ = key, value @@ -21136,7 +20604,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.Arn = ptr.String(jtv) } - case "autoRefresh": if value != nil { jtv, ok := value.(string) @@ -21145,7 +20612,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.AutoRefresh = types.PrivacyBudgetTemplateAutoRefresh(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -21154,7 +20620,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -21163,7 +20628,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -21179,7 +20643,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } } - case "id": if value != nil { jtv, ok := value.(string) @@ -21188,7 +20651,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -21197,7 +20659,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21206,12 +20667,10 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.MembershipId = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateParametersOutput(&sv.Parameters, value); err != nil { return err } - case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -21220,7 +20679,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -21236,7 +20694,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } } - default: _, _ = key, value @@ -21316,7 +20773,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.Arn = ptr.String(jtv) } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -21325,7 +20781,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -21334,7 +20789,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -21350,7 +20804,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } } - case "id": if value != nil { jtv, ok := value.(string) @@ -21359,7 +20812,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -21368,7 +20820,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21377,7 +20828,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.MembershipId = ptr.String(jtv) } - case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -21386,7 +20836,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -21402,7 +20851,6 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } } - default: _, _ = key, value @@ -21512,7 +20960,6 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va if err := awsRestjson1_deserializeDocumentComputeConfiguration(&sv.ComputeConfiguration, value); err != nil { return err } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -21528,17 +20975,14 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } } - case "differentialPrivacy": if err := awsRestjson1_deserializeDocumentDifferentialPrivacyParameters(&sv.DifferentialPrivacy, value); err != nil { return err } - case "error": if err := awsRestjson1_deserializeDocumentProtectedQueryError(&sv.Error, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -21547,7 +20991,6 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -21556,7 +20999,6 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21565,27 +21007,22 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.MembershipId = ptr.String(jtv) } - case "result": if err := awsRestjson1_deserializeDocumentProtectedQueryResult(&sv.Result, value); err != nil { return err } - case "resultConfiguration": if err := awsRestjson1_deserializeDocumentProtectedQueryResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } - case "sqlParameters": if err := awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(&sv.SqlParameters, value); err != nil { return err } - case "statistics": if err := awsRestjson1_deserializeDocumentProtectedQueryStatistics(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -21594,7 +21031,6 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.Status = types.ProtectedQueryStatus(jtv) } - default: _, _ = key, value @@ -21634,7 +21070,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryError(v **types.ProtectedQuer } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -21643,7 +21078,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryError(v **types.ProtectedQuer } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -21683,7 +21117,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryMemberOutputConfiguration(v * } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -21851,7 +21284,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryResult(v **types.ProtectedQue if err := awsRestjson1_deserializeDocumentProtectedQueryOutput(&sv.Output, value); err != nil { return err } - default: _, _ = key, value @@ -21887,7 +21319,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryResultConfiguration(v **types if err := awsRestjson1_deserializeDocumentProtectedQueryOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -21927,7 +21358,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3Output(v **types.ProtectedQ } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -21967,7 +21397,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -21976,7 +21405,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.KeyPrefix = ptr.String(jtv) } - case "resultFormat": if value != nil { jtv, ok := value.(string) @@ -21985,7 +21413,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.ResultFormat = types.ResultFormat(jtv) } - case "singleFileOutput": if value != nil { jtv, ok := value.(bool) @@ -21994,7 +21421,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.SingleFileOutput = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22034,7 +21460,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySingleMemberOutput(v **types. } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -22074,12 +21499,10 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.AnalysisTemplateArn = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -22088,7 +21511,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -22124,7 +21546,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryStatistics(v **types.Protecte if err := awsRestjson1_deserializeDocumentBilledResourceUtilization(&sv.BilledResourceUtilization, value); err != nil { return err } - case "totalDurationInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -22137,7 +21558,6 @@ func awsRestjson1_deserializeDocumentProtectedQueryStatistics(v **types.Protecte } sv.TotalDurationInMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -22184,7 +21604,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } } - case "id": if value != nil { jtv, ok := value.(string) @@ -22193,7 +21612,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.Id = ptr.String(jtv) } - case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -22202,7 +21620,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.MembershipArn = ptr.String(jtv) } - case "membershipId": if value != nil { jtv, ok := value.(string) @@ -22211,12 +21628,10 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.MembershipId = ptr.String(jtv) } - case "receiverConfigurations": if err := awsRestjson1_deserializeDocumentReceiverConfigurationsList(&sv.ReceiverConfigurations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -22225,7 +21640,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.Status = types.ProtectedQueryStatus(jtv) } - default: _, _ = key, value @@ -22299,7 +21713,6 @@ func awsRestjson1_deserializeDocumentQueryComputePaymentConfig(v **types.QueryCo } sv.IsResponsible = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22407,7 +21820,6 @@ func awsRestjson1_deserializeDocumentQueryConstraintRequireOverlap(v **types.Que if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.Columns, value); err != nil { return err } - default: _, _ = key, value @@ -22519,12 +21931,10 @@ func awsRestjson1_deserializeDocumentReceiverConfiguration(v **types.ReceiverCon } sv.AnalysisType = types.AnalysisType(jtv) } - case "configurationDetails": if err := awsRestjson1_deserializeDocumentConfigurationDetails(&sv.ConfigurationDetails, value); err != nil { return err } - default: _, _ = key, value @@ -22588,15 +21998,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22604,7 +22008,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22613,7 +22016,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22622,15 +22024,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22701,12 +22099,10 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.AnalysisMethod = types.AnalysisMethod(jtv) } - case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -22715,7 +22111,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -22724,12 +22119,10 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CollaborationId = ptr.String(jtv) } - case "columns": if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -22745,7 +22138,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -22754,7 +22146,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CreatorAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -22763,7 +22154,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22772,22 +22162,18 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Name = ptr.String(jtv) } - case "partitionKeys": if err := awsRestjson1_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } - case "schemaStatusDetails": if err := awsRestjson1_deserializeDocumentSchemaStatusDetailList(&sv.SchemaStatusDetails, value); err != nil { return err } - case "schemaTypeProperties": if err := awsRestjson1_deserializeDocumentSchemaTypeProperties(&sv.SchemaTypeProperties, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -22796,7 +22182,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Type = types.SchemaType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -22812,7 +22197,6 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } } - default: _, _ = key, value @@ -22956,7 +22340,6 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.AnalysisRuleType = types.AnalysisRuleType(jtv) } - case "analysisType": if value != nil { jtv, ok := value.(string) @@ -22965,17 +22348,14 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.AnalysisType = types.AnalysisType(jtv) } - case "configurations": if err := awsRestjson1_deserializeDocumentSchemaConfigurationList(&sv.Configurations, value); err != nil { return err } - case "reasons": if err := awsRestjson1_deserializeDocumentSchemaStatusReasonList(&sv.Reasons, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -22984,7 +22364,6 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.Status = types.SchemaStatus(jtv) } - default: _, _ = key, value @@ -23058,7 +22437,6 @@ func awsRestjson1_deserializeDocumentSchemaStatusReason(v **types.SchemaStatusRe } sv.Code = types.SchemaStatusReasonCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -23067,7 +22445,6 @@ func awsRestjson1_deserializeDocumentSchemaStatusReason(v **types.SchemaStatusRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -23141,12 +22518,10 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.AnalysisMethod = types.AnalysisMethod(jtv) } - case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } - case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -23155,7 +22530,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CollaborationArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -23164,7 +22538,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CollaborationId = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -23180,7 +22553,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } } - case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -23189,7 +22561,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CreatorAccountId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23198,7 +22569,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -23207,7 +22577,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.Type = types.SchemaType(jtv) } - case "updateTime": if value != nil { switch jtv := value.(type) { @@ -23223,7 +22592,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } } - default: _, _ = key, value @@ -23327,15 +22695,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23343,7 +22705,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaName": if value != nil { jtv, ok := value.(string) @@ -23352,7 +22713,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaName = ptr.String(jtv) } - case "quotaValue": if value != nil { switch jtv := value.(type) { @@ -23386,15 +22746,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23495,15 +22851,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23511,15 +22861,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23544,20 +22890,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23565,7 +22904,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -23574,15 +22912,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23617,7 +22951,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23626,7 +22959,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -23704,7 +23036,6 @@ func awsRestjson1_deserializeDocumentWorkerComputeConfiguration(v **types.Worker } sv.Number = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -23713,7 +23044,6 @@ func awsRestjson1_deserializeDocumentWorkerComputeConfiguration(v **types.Worker } sv.Type = types.WorkerComputeType(jtv) } - default: _, _ = key, value diff --git a/service/cleanroomsml/deserializers.go b/service/cleanroomsml/deserializers.go index 6adfe99f83c..2332c0c2b7b 100644 --- a/service/cleanroomsml/deserializers.go +++ b/service/cleanroomsml/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentCreateAudienceModelOutput(v **CreateAudie } sv.AudienceModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -357,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredAudienceModelOutput(v **C } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -519,7 +517,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrainingDatasetOutput(v **CreateTra } sv.TrainingDatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1193,7 +1190,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.AudienceGenerationJobArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -1202,7 +1198,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.CollaborationId = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -1211,7 +1206,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -1224,7 +1218,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1233,7 +1226,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Description = ptr.String(jtv) } - case "includeSeedInOutput": if value != nil { jtv, ok := value.(bool) @@ -1242,12 +1234,10 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.IncludeSeedInOutput = ptr.Bool(jtv) } - case "metrics": if err := awsRestjson1_deserializeDocumentAudienceQualityMetrics(&sv.Metrics, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1256,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Name = ptr.String(jtv) } - case "protectedQueryIdentifier": if value != nil { jtv, ok := value.(string) @@ -1265,12 +1254,10 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.ProtectedQueryIdentifier = ptr.String(jtv) } - case "seedAudience": if err := awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(&sv.SeedAudience, value); err != nil { return err } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -1279,7 +1266,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.StartedBy = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1288,17 +1274,14 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Status = types.AudienceGenerationJobStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1311,7 +1294,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -1473,7 +1455,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.AudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -1486,7 +1467,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1495,7 +1475,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Description = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1504,7 +1483,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.KmsKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1513,7 +1491,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1522,17 +1499,14 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Status = types.AudienceModelStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "trainingDataEndTime": if value != nil { jtv, ok := value.(string) @@ -1545,7 +1519,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDataEndTime = ptr.Time(t) } - case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -1554,7 +1527,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDatasetArn = ptr.String(jtv) } - case "trainingDataStartTime": if value != nil { jtv, ok := value.(string) @@ -1567,7 +1539,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDataStartTime = ptr.Time(t) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1580,7 +1551,6 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -1742,12 +1712,10 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.AudienceModelArn = ptr.String(jtv) } - case "audienceSizeConfig": if err := awsRestjson1_deserializeDocumentAudienceSizeConfig(&sv.AudienceSizeConfig, value); err != nil { return err } - case "childResourceTagOnCreatePolicy": if value != nil { jtv, ok := value.(string) @@ -1756,7 +1724,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.ChildResourceTagOnCreatePolicy = types.TagOnCreatePolicy(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -1765,7 +1732,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -1778,7 +1744,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1787,7 +1752,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Description = ptr.String(jtv) } - case "minMatchingSeedSize": if value != nil { jtv, ok := value.(json.Number) @@ -1800,7 +1764,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.MinMatchingSeedSize = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1809,17 +1772,14 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Name = ptr.String(jtv) } - case "outputConfig": if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "sharedAudienceMetrics": if err := awsRestjson1_deserializeDocumentMetricsList(&sv.SharedAudienceMetrics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1828,12 +1788,10 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Status = types.ConfiguredAudienceModelStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1846,7 +1804,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -2008,7 +1965,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "configuredAudienceModelPolicy": if value != nil { jtv, ok := value.(string) @@ -2017,7 +1973,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelPolicy = ptr.String(jtv) } - case "policyHash": if value != nil { jtv, ok := value.(string) @@ -2026,7 +1981,6 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.PolicyHash = ptr.String(jtv) } - default: _, _ = key, value @@ -2192,7 +2146,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2201,7 +2154,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2210,7 +2162,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2219,7 +2170,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2228,17 +2178,14 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Status = types.TrainingDatasetStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "trainingData": if err := awsRestjson1_deserializeDocumentDatasetList(&sv.TrainingData, value); err != nil { return err } - case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -2247,7 +2194,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.TrainingDatasetArn = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2260,7 +2206,6 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -2415,7 +2360,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceExportJobsOutput(v **ListAudi if err := awsRestjson1_deserializeDocumentAudienceExportJobList(&sv.AudienceExportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2424,7 +2368,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceExportJobsOutput(v **ListAudi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2579,7 +2522,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceGenerationJobsOutput(v **List if err := awsRestjson1_deserializeDocumentAudienceGenerationJobList(&sv.AudienceGenerationJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2588,7 +2530,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceGenerationJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2743,7 +2684,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceModelsOutput(v **ListAudience if err := awsRestjson1_deserializeDocumentAudienceModelList(&sv.AudienceModels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2752,7 +2692,6 @@ func awsRestjson1_deserializeOpDocumentListAudienceModelsOutput(v **ListAudience } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2907,7 +2846,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelsOutput(v **Li if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelList(&sv.ConfiguredAudienceModels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2916,7 +2854,6 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3074,7 +3011,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3233,12 +3169,10 @@ func awsRestjson1_deserializeOpDocumentListTrainingDatasetsOutput(v **ListTraini } sv.NextToken = ptr.String(jtv) } - case "trainingDatasets": if err := awsRestjson1_deserializeDocumentTrainingDatasetList(&sv.TrainingDatasets, value); err != nil { return err } - default: _, _ = key, value @@ -3400,7 +3334,6 @@ func awsRestjson1_deserializeOpDocumentPutConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelPolicy = ptr.String(jtv) } - case "policyHash": if value != nil { jtv, ok := value.(string) @@ -3409,7 +3342,6 @@ func awsRestjson1_deserializeOpDocumentPutConfiguredAudienceModelPolicyOutput(v } sv.PolicyHash = ptr.String(jtv) } - default: _, _ = key, value @@ -3683,7 +3615,6 @@ func awsRestjson1_deserializeOpDocumentStartAudienceGenerationJobOutput(v **Star } sv.AudienceGenerationJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4036,7 +3967,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredAudienceModelOutput(v **U } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4246,15 +4176,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4262,15 +4186,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4301,7 +4221,6 @@ func awsRestjson1_deserializeDocumentAudienceDestination(v **types.AudienceDesti if err := awsRestjson1_deserializeDocumentS3ConfigMap(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -4375,12 +4294,10 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.AudienceGenerationJobArn = ptr.String(jtv) } - case "audienceSize": if err := awsRestjson1_deserializeDocumentAudienceSize(&sv.AudienceSize, value); err != nil { return err } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -4393,7 +4310,6 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4402,7 +4318,6 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4411,7 +4326,6 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Name = ptr.String(jtv) } - case "outputLocation": if value != nil { jtv, ok := value.(string) @@ -4420,7 +4334,6 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.OutputLocation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4429,12 +4342,10 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Status = types.AudienceExportJobStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4447,7 +4358,6 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4483,7 +4393,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(v **types.A if err := awsRestjson1_deserializeDocumentS3ConfigMap(&sv.DataSource, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4492,12 +4401,10 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(v **types.A } sv.RoleArn = ptr.String(jtv) } - case "sqlParameters": if err := awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(&sv.SqlParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4571,7 +4478,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.AudienceGenerationJobArn = ptr.String(jtv) } - case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -4580,7 +4486,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.CollaborationId = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -4589,7 +4494,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -4602,7 +4506,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4611,7 +4514,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4620,7 +4522,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Name = ptr.String(jtv) } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -4629,7 +4530,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.StartedBy = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4638,7 +4538,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Status = types.AudienceGenerationJobStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4651,7 +4550,6 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4725,7 +4623,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.AudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -4738,7 +4635,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4747,7 +4643,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4756,7 +4651,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4765,7 +4659,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Status = types.AudienceModelStatus(jtv) } - case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -4774,7 +4667,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.TrainingDatasetArn = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4787,7 +4679,6 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4852,12 +4743,10 @@ func awsRestjson1_deserializeDocumentAudienceQualityMetrics(v **types.AudienceQu } } - case "relevanceMetrics": if err := awsRestjson1_deserializeDocumentRelevanceMetrics(&sv.RelevanceMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -4897,7 +4786,6 @@ func awsRestjson1_deserializeDocumentAudienceSize(v **types.AudienceSize, value } sv.Type = types.AudienceSizeType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -4910,7 +4798,6 @@ func awsRestjson1_deserializeDocumentAudienceSize(v **types.AudienceSize, value } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4986,7 +4873,6 @@ func awsRestjson1_deserializeDocumentAudienceSizeConfig(v **types.AudienceSizeCo if err := awsRestjson1_deserializeDocumentAudienceSizeBins(&sv.AudienceSizeBins, value); err != nil { return err } - case "audienceSizeType": if value != nil { jtv, ok := value.(string) @@ -4995,7 +4881,6 @@ func awsRestjson1_deserializeDocumentAudienceSizeConfig(v **types.AudienceSizeCo } sv.AudienceSizeType = types.AudienceSizeType(jtv) } - default: _, _ = key, value @@ -5035,12 +4920,10 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.ColumnName = ptr.String(jtv) } - case "columnTypes": if err := awsRestjson1_deserializeDocumentColumnTypeList(&sv.ColumnTypes, value); err != nil { return err } - default: _, _ = key, value @@ -5146,7 +5029,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(v **typ if err := awsRestjson1_deserializeDocumentAudienceDestination(&sv.Destination, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5155,7 +5037,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(v **typ } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5195,7 +5076,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.AudienceModelArn = ptr.String(jtv) } - case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -5204,7 +5084,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -5217,7 +5096,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5226,7 +5104,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5235,12 +5112,10 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Name = ptr.String(jtv) } - case "outputConfig": if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5249,7 +5124,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Status = types.ConfiguredAudienceModelStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5262,7 +5136,6 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -5292,15 +5165,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5308,15 +5175,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5347,7 +5210,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ if err := awsRestjson1_deserializeDocumentDatasetInputConfig(&sv.InputConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -5356,7 +5218,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Type = types.DatasetType(jtv) } - default: _, _ = key, value @@ -5392,12 +5253,10 @@ func awsRestjson1_deserializeDocumentDatasetInputConfig(v **types.DatasetInputCo if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "schema": if err := awsRestjson1_deserializeDocumentDatasetSchemaList(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -5501,7 +5360,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentGlueDataSource(&sv.GlueDataSource, value); err != nil { return err } - default: _, _ = key, value @@ -5541,7 +5399,6 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.CatalogId = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -5550,7 +5407,6 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.DatabaseName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -5559,7 +5415,6 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -5671,12 +5526,10 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.AnalysisTemplateArn = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -5685,7 +5538,6 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -5721,7 +5573,6 @@ func awsRestjson1_deserializeDocumentRelevanceMetric(v **types.RelevanceMetric, if err := awsRestjson1_deserializeDocumentAudienceSize(&sv.AudienceSize, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -5755,7 +5606,6 @@ func awsRestjson1_deserializeDocumentRelevanceMetric(v **types.RelevanceMetric, } } - default: _, _ = key, value @@ -5819,15 +5669,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5835,15 +5679,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5878,7 +5718,6 @@ func awsRestjson1_deserializeDocumentS3ConfigMap(v **types.S3ConfigMap, value in } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -5908,15 +5747,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5924,15 +5757,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5967,7 +5796,6 @@ func awsRestjson1_deserializeDocumentStatusDetails(v **types.StatusDetails, valu } sv.Message = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -5976,7 +5804,6 @@ func awsRestjson1_deserializeDocumentStatusDetails(v **types.StatusDetails, valu } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -6090,7 +5917,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.CreateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6099,7 +5925,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6108,7 +5933,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6117,7 +5941,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Status = types.TrainingDatasetStatus(jtv) } - case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -6126,7 +5949,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.TrainingDatasetArn = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -6139,7 +5961,6 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -6169,15 +5990,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6185,15 +6000,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/cloud9/deserializers.go b/service/cloud9/deserializers.go index 46178df9080..c1673458561 100644 --- a/service/cloud9/deserializers.go +++ b/service/cloud9/deserializers.go @@ -1976,13 +1976,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -1992,7 +1986,6 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2005,8 +1998,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2014,15 +2006,11 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2047,13 +2035,7 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2063,7 +2045,6 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2076,8 +2057,7 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2085,15 +2065,11 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2118,13 +2094,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2134,7 +2104,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2147,8 +2116,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2156,15 +2124,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2199,7 +2163,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } - case "connectionType": if value != nil { jtv, ok := value.(string) @@ -2208,7 +2171,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ConnectionType = types.ConnectionType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2217,7 +2179,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2226,12 +2187,10 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } - case "lifecycle": if err := awsAwsjson11_deserializeDocumentEnvironmentLifecycle(&sv.Lifecycle, value); err != nil { return err } - case "managedCredentialsStatus": if value != nil { jtv, ok := value.(string) @@ -2240,7 +2199,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ManagedCredentialsStatus = types.ManagedCredentialsStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2249,7 +2207,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -2258,7 +2215,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.OwnerArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2267,7 +2223,6 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Type = types.EnvironmentType(jtv) } - default: _, _ = key, value @@ -2343,7 +2298,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.FailureResource = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -2352,7 +2306,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2361,7 +2314,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.Status = types.EnvironmentLifecycleStatus(jtv) } - default: _, _ = key, value @@ -2435,7 +2387,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.EnvironmentId = ptr.String(jtv) } - case "lastAccess": if value != nil { switch jtv := value.(type) { @@ -2451,7 +2402,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } } - case "permissions": if value != nil { jtv, ok := value.(string) @@ -2460,7 +2410,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.Permissions = types.Permissions(jtv) } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -2469,7 +2418,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.UserArn = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -2478,7 +2426,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -2542,13 +2489,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2558,7 +2499,6 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2571,8 +2511,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2580,15 +2519,11 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2613,13 +2548,7 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2629,7 +2558,6 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2642,8 +2570,7 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2651,15 +2578,11 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2684,13 +2607,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2700,7 +2617,6 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2713,8 +2629,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2722,15 +2637,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2755,13 +2666,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2771,7 +2676,6 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2784,8 +2688,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2793,15 +2696,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2836,7 +2735,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2845,7 +2743,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2909,13 +2806,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "className": if value != nil { @@ -2925,7 +2816,6 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.ClassName = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2938,8 +2828,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2947,15 +2836,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2990,7 +2875,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEnvironmentEC2Output(v **CreateEnvi } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -3026,7 +2910,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEnvironmentMembershipOutput(v **Cre if err := awsAwsjson11_deserializeDocumentEnvironmentMember(&sv.Membership, value); err != nil { return err } - default: _, _ = key, value @@ -3124,7 +3007,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentMembershipsOutput(v ** if err := awsAwsjson11_deserializeDocumentEnvironmentMembersList(&sv.Memberships, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3133,7 +3015,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentMembershipsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3169,7 +3050,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentsOutput(v **DescribeEn if err := awsAwsjson11_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } - default: _, _ = key, value @@ -3209,7 +3089,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentStatusOutput(v **Descr } sv.Message = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3097,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentStatusOutput(v **Descr } sv.Status = types.EnvironmentStatus(jtv) } - default: _, _ = key, value @@ -3254,7 +3132,6 @@ func awsAwsjson11_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsAwsjson11_deserializeDocumentEnvironmentIdList(&sv.EnvironmentIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3263,7 +3140,6 @@ func awsAwsjson11_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3299,7 +3175,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3397,7 +3272,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEnvironmentMembershipOutput(v **Upd if err := awsAwsjson11_deserializeDocumentEnvironmentMember(&sv.Membership, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/cloudcontrol/deserializers.go b/service/cloudcontrol/deserializers.go index 76a01f37dbb..23e890104e6 100644 --- a/service/cloudcontrol/deserializers.go +++ b/service/cloudcontrol/deserializers.go @@ -1930,15 +1930,9 @@ func awsAwsjson10_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1946,15 +1940,11 @@ func awsAwsjson10_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1979,15 +1969,9 @@ func awsAwsjson10_deserializeDocumentClientTokenConflictException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1995,15 +1979,11 @@ func awsAwsjson10_deserializeDocumentClientTokenConflictException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2028,15 +2008,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2044,15 +2018,11 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2077,15 +2047,9 @@ func awsAwsjson10_deserializeDocumentConcurrentOperationException(v **types.Conc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2093,15 +2057,11 @@ func awsAwsjson10_deserializeDocumentConcurrentOperationException(v **types.Conc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2126,15 +2086,9 @@ func awsAwsjson10_deserializeDocumentGeneralServiceException(v **types.GeneralSe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2142,15 +2096,11 @@ func awsAwsjson10_deserializeDocumentGeneralServiceException(v **types.GeneralSe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2175,15 +2125,9 @@ func awsAwsjson10_deserializeDocumentHandlerFailureException(v **types.HandlerFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2191,15 +2135,11 @@ func awsAwsjson10_deserializeDocumentHandlerFailureException(v **types.HandlerFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2224,15 +2164,9 @@ func awsAwsjson10_deserializeDocumentHandlerInternalFailureException(v **types.H sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2240,15 +2174,11 @@ func awsAwsjson10_deserializeDocumentHandlerInternalFailureException(v **types.H } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2273,15 +2203,9 @@ func awsAwsjson10_deserializeDocumentInvalidCredentialsException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2289,15 +2213,11 @@ func awsAwsjson10_deserializeDocumentInvalidCredentialsException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2322,15 +2242,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2338,15 +2252,11 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2371,15 +2281,9 @@ func awsAwsjson10_deserializeDocumentNetworkFailureException(v **types.NetworkFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2387,15 +2291,11 @@ func awsAwsjson10_deserializeDocumentNetworkFailureException(v **types.NetworkFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2420,15 +2320,9 @@ func awsAwsjson10_deserializeDocumentNotStabilizedException(v **types.NotStabili sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2436,15 +2330,11 @@ func awsAwsjson10_deserializeDocumentNotStabilizedException(v **types.NotStabili } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2469,15 +2359,9 @@ func awsAwsjson10_deserializeDocumentNotUpdatableException(v **types.NotUpdatabl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2485,15 +2369,11 @@ func awsAwsjson10_deserializeDocumentNotUpdatableException(v **types.NotUpdatabl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2518,15 +2398,9 @@ func awsAwsjson10_deserializeDocumentPrivateTypeException(v **types.PrivateTypeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2534,15 +2408,11 @@ func awsAwsjson10_deserializeDocumentPrivateTypeException(v **types.PrivateTypeE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2577,7 +2447,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.ErrorCode = types.HandlerErrorCode(jtv) } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -2593,7 +2462,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -2602,7 +2470,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.Identifier = ptr.String(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -2611,7 +2478,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.Operation = types.Operation(jtv) } - case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -2620,7 +2486,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.OperationStatus = types.OperationStatus(jtv) } - case "RequestToken": if value != nil { jtv, ok := value.(string) @@ -2629,7 +2494,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.RequestToken = ptr.String(jtv) } - case "ResourceModel": if value != nil { jtv, ok := value.(string) @@ -2638,7 +2502,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.ResourceModel = ptr.String(jtv) } - case "RetryAfter": if value != nil { switch jtv := value.(type) { @@ -2654,7 +2517,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2663,7 +2525,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.StatusMessage = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -2672,7 +2533,6 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -2702,15 +2562,9 @@ func awsAwsjson10_deserializeDocumentRequestTokenNotFoundException(v **types.Req sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2718,15 +2572,11 @@ func awsAwsjson10_deserializeDocumentRequestTokenNotFoundException(v **types.Req } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2751,15 +2601,9 @@ func awsAwsjson10_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2767,15 +2611,11 @@ func awsAwsjson10_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2810,7 +2650,6 @@ func awsAwsjson10_deserializeDocumentResourceDescription(v **types.ResourceDescr } sv.Identifier = ptr.String(jtv) } - case "Properties": if value != nil { jtv, ok := value.(string) @@ -2819,7 +2658,6 @@ func awsAwsjson10_deserializeDocumentResourceDescription(v **types.ResourceDescr } sv.Properties = ptr.String(jtv) } - default: _, _ = key, value @@ -2883,15 +2721,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2899,15 +2731,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2966,15 +2794,9 @@ func awsAwsjson10_deserializeDocumentServiceInternalErrorException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2982,15 +2804,11 @@ func awsAwsjson10_deserializeDocumentServiceInternalErrorException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3015,15 +2833,9 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3031,15 +2843,11 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3064,15 +2872,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3080,15 +2882,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3113,15 +2911,9 @@ func awsAwsjson10_deserializeDocumentTypeNotFoundException(v **types.TypeNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3129,15 +2921,11 @@ func awsAwsjson10_deserializeDocumentTypeNotFoundException(v **types.TypeNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3162,15 +2950,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedActionException(v **types.Unsupp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3178,15 +2960,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedActionException(v **types.Unsupp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3217,7 +2995,6 @@ func awsAwsjson10_deserializeOpDocumentCancelResourceRequestOutput(v **CancelRes if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } - default: _, _ = key, value @@ -3253,7 +3030,6 @@ func awsAwsjson10_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } - default: _, _ = key, value @@ -3289,7 +3065,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourceOutput(v **DeleteResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } - default: _, _ = key, value @@ -3325,7 +3100,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, if err := awsAwsjson10_deserializeDocumentResourceDescription(&sv.ResourceDescription, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3334,7 +3108,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -3370,7 +3143,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourceRequestStatusOutput(v **GetRes if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } - default: _, _ = key, value @@ -3410,12 +3182,10 @@ func awsAwsjson10_deserializeOpDocumentListResourceRequestsOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } - case "ResourceRequestStatusSummaries": if err := awsAwsjson10_deserializeDocumentResourceRequestStatusSummaries(&sv.ResourceRequestStatusSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -3455,12 +3225,10 @@ func awsAwsjson10_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } - case "ResourceDescriptions": if err := awsAwsjson10_deserializeDocumentResourceDescriptions(&sv.ResourceDescriptions, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3469,7 +3237,6 @@ func awsAwsjson10_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -3505,7 +3272,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/clouddirectory/deserializers.go b/service/clouddirectory/deserializers.go index ab482b0ad73..7eb0f35d93b 100644 --- a/service/clouddirectory/deserializers.go +++ b/service/clouddirectory/deserializers.go @@ -313,7 +313,6 @@ func awsRestjson1_deserializeOpDocumentApplySchemaOutput(v **ApplySchemaOutput, } sv.AppliedSchemaArn = ptr.String(jtv) } - case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -322,7 +321,6 @@ func awsRestjson1_deserializeOpDocumentApplySchemaOutput(v **ApplySchemaOutput, } sv.DirectoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -508,7 +506,6 @@ func awsRestjson1_deserializeOpDocumentAttachObjectOutput(v **AttachObjectOutput } sv.AttachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -809,7 +806,6 @@ func awsRestjson1_deserializeOpDocumentAttachToIndexOutput(v **AttachToIndexOutp } sv.AttachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -988,7 +984,6 @@ func awsRestjson1_deserializeOpDocumentAttachTypedLinkOutput(v **AttachTypedLink if err := awsRestjson1_deserializeDocumentTypedLinkSpecifier(&sv.TypedLinkSpecifier, value); err != nil { return err } - default: _, _ = key, value @@ -1158,7 +1153,6 @@ func awsRestjson1_deserializeOpDocumentBatchReadOutput(v **BatchReadOutput, valu if err := awsRestjson1_deserializeDocumentBatchReadOperationResponseList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -1331,7 +1325,6 @@ func awsRestjson1_deserializeOpDocumentBatchWriteOutput(v **BatchWriteOutput, va if err := awsRestjson1_deserializeDocumentBatchWriteOperationResponseList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -1508,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.AppliedSchemaArn = ptr.String(jtv) } - case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -1517,7 +1509,6 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.DirectoryArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1526,7 +1517,6 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.Name = ptr.String(jtv) } - case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -1535,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -1836,7 +1825,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -2022,7 +2010,6 @@ func awsRestjson1_deserializeOpDocumentCreateObjectOutput(v **CreateObjectOutput } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -2196,7 +2183,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2491,7 +2477,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDirectoryOutput(v **DeleteDirectory } sv.DirectoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2892,7 +2877,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3184,7 +3168,6 @@ func awsRestjson1_deserializeOpDocumentDetachFromIndexOutput(v **DetachFromIndex } sv.DetachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -3364,7 +3347,6 @@ func awsRestjson1_deserializeOpDocumentDetachObjectOutput(v **DetachObjectOutput } sv.DetachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -3771,7 +3753,6 @@ func awsRestjson1_deserializeOpDocumentDisableDirectoryOutput(v **DisableDirecto } sv.DirectoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3948,7 +3929,6 @@ func awsRestjson1_deserializeOpDocumentEnableDirectoryOutput(v **EnableDirectory } sv.DirectoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4122,7 +4102,6 @@ func awsRestjson1_deserializeOpDocumentGetAppliedSchemaVersionOutput(v **GetAppl } sv.AppliedSchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4289,7 +4268,6 @@ func awsRestjson1_deserializeOpDocumentGetDirectoryOutput(v **GetDirectoryOutput if err := awsRestjson1_deserializeDocumentDirectory(&sv.Directory, value); err != nil { return err } - default: _, _ = key, value @@ -4462,7 +4440,6 @@ func awsRestjson1_deserializeOpDocumentGetFacetOutput(v **GetFacetOutput, value if err := awsRestjson1_deserializeDocumentFacet(&sv.Facet, value); err != nil { return err } - default: _, _ = key, value @@ -4638,7 +4615,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkAttributesOutput(v **GetLinkAttrib if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -4814,7 +4790,6 @@ func awsRestjson1_deserializeOpDocumentGetObjectAttributesOutput(v **GetObjectAt if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -4991,12 +4966,10 @@ func awsRestjson1_deserializeOpDocumentGetObjectInformationOutput(v **GetObjectI } sv.ObjectIdentifier = ptr.String(jtv) } - case "SchemaFacets": if err := awsRestjson1_deserializeDocumentSchemaFacetList(&sv.SchemaFacets, value); err != nil { return err } - default: _, _ = key, value @@ -5170,7 +5143,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAsJsonOutput(v **GetSchemaAsJson } sv.Document = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5179,7 +5151,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAsJsonOutput(v **GetSchemaAsJson } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5355,7 +5326,6 @@ func awsRestjson1_deserializeOpDocumentGetTypedLinkFacetInformationOutput(v **Ge if err := awsRestjson1_deserializeDocumentAttributeNameList(&sv.IdentityAttributeOrder, value); err != nil { return err } - default: _, _ = key, value @@ -5532,12 +5502,10 @@ func awsRestjson1_deserializeOpDocumentListAppliedSchemaArnsOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } - case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } - default: _, _ = key, value @@ -5710,7 +5678,6 @@ func awsRestjson1_deserializeOpDocumentListAttachedIndicesOutput(v **ListAttache if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5719,7 +5686,6 @@ func awsRestjson1_deserializeOpDocumentListAttachedIndicesOutput(v **ListAttache } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5896,12 +5862,10 @@ func awsRestjson1_deserializeOpDocumentListDevelopmentSchemaArnsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } - case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } - default: _, _ = key, value @@ -6071,7 +6035,6 @@ func awsRestjson1_deserializeOpDocumentListDirectoriesOutput(v **ListDirectories if err := awsRestjson1_deserializeDocumentDirectoryList(&sv.Directories, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6080,7 +6043,6 @@ func awsRestjson1_deserializeOpDocumentListDirectoriesOutput(v **ListDirectories } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6256,7 +6218,6 @@ func awsRestjson1_deserializeOpDocumentListFacetAttributesOutput(v **ListFacetAt if err := awsRestjson1_deserializeDocumentFacetAttributeList(&sv.Attributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6265,7 +6226,6 @@ func awsRestjson1_deserializeOpDocumentListFacetAttributesOutput(v **ListFacetAt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6438,7 +6398,6 @@ func awsRestjson1_deserializeOpDocumentListFacetNamesOutput(v **ListFacetNamesOu if err := awsRestjson1_deserializeDocumentFacetNameList(&sv.FacetNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6447,7 +6406,6 @@ func awsRestjson1_deserializeOpDocumentListFacetNamesOutput(v **ListFacetNamesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6626,7 +6584,6 @@ func awsRestjson1_deserializeOpDocumentListIncomingTypedLinksOutput(v **ListInco if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.LinkSpecifiers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6635,7 +6592,6 @@ func awsRestjson1_deserializeOpDocumentListIncomingTypedLinksOutput(v **ListInco } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6817,7 +6773,6 @@ func awsRestjson1_deserializeOpDocumentListIndexOutput(v **ListIndexOutput, valu if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6826,7 +6781,6 @@ func awsRestjson1_deserializeOpDocumentListIndexOutput(v **ListIndexOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6997,12 +6951,10 @@ func awsRestjson1_deserializeOpDocumentListManagedSchemaArnsOutput(v **ListManag } sv.NextToken = ptr.String(jtv) } - case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } - default: _, _ = key, value @@ -7181,7 +7133,6 @@ func awsRestjson1_deserializeOpDocumentListObjectAttributesOutput(v **ListObject if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7190,7 +7141,6 @@ func awsRestjson1_deserializeOpDocumentListObjectAttributesOutput(v **ListObject } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7369,7 +7319,6 @@ func awsRestjson1_deserializeOpDocumentListObjectChildrenOutput(v **ListObjectCh if err := awsRestjson1_deserializeDocumentLinkNameToObjectIdentifierMap(&sv.Children, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7378,7 +7327,6 @@ func awsRestjson1_deserializeOpDocumentListObjectChildrenOutput(v **ListObjectCh } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7558,12 +7506,10 @@ func awsRestjson1_deserializeOpDocumentListObjectParentPathsOutput(v **ListObjec } sv.NextToken = ptr.String(jtv) } - case "PathToObjectIdentifiersList": if err := awsRestjson1_deserializeDocumentPathToObjectIdentifiersList(&sv.PathToObjectIdentifiersList, value); err != nil { return err } - default: _, _ = key, value @@ -7746,17 +7692,14 @@ func awsRestjson1_deserializeOpDocumentListObjectParentsOutput(v **ListObjectPar } sv.NextToken = ptr.String(jtv) } - case "ParentLinks": if err := awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameList(&sv.ParentLinks, value); err != nil { return err } - case "Parents": if err := awsRestjson1_deserializeDocumentObjectIdentifierToLinkNameMap(&sv.Parents, value); err != nil { return err } - default: _, _ = key, value @@ -7932,7 +7875,6 @@ func awsRestjson1_deserializeOpDocumentListObjectPoliciesOutput(v **ListObjectPo if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.AttachedPolicyIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7941,7 +7883,6 @@ func awsRestjson1_deserializeOpDocumentListObjectPoliciesOutput(v **ListObjectPo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8124,12 +8065,10 @@ func awsRestjson1_deserializeOpDocumentListOutgoingTypedLinksOutput(v **ListOutg } sv.NextToken = ptr.String(jtv) } - case "TypedLinkSpecifiers": if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.TypedLinkSpecifiers, value); err != nil { return err } - default: _, _ = key, value @@ -8312,12 +8251,10 @@ func awsRestjson1_deserializeOpDocumentListPolicyAttachmentsOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } - case "ObjectIdentifiers": if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -8494,12 +8431,10 @@ func awsRestjson1_deserializeOpDocumentListPublishedSchemaArnsOutput(v **ListPub } sv.NextToken = ptr.String(jtv) } - case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } - default: _, _ = key, value @@ -8676,12 +8611,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8857,7 +8790,6 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetAttributesOutput(v **Li if err := awsRestjson1_deserializeDocumentTypedLinkAttributeDefinitionList(&sv.Attributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8866,7 +8798,6 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetAttributesOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9039,7 +8970,6 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetNamesOutput(v **ListTyp if err := awsRestjson1_deserializeDocumentTypedLinkNameList(&sv.FacetNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9048,7 +8978,6 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetNamesOutput(v **ListTyp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9228,12 +9157,10 @@ func awsRestjson1_deserializeOpDocumentLookupPolicyOutput(v **LookupPolicyOutput } sv.NextToken = ptr.String(jtv) } - case "PolicyToPathList": if err := awsRestjson1_deserializeDocumentPolicyToPathList(&sv.PolicyToPathList, value); err != nil { return err } - default: _, _ = key, value @@ -9410,7 +9337,6 @@ func awsRestjson1_deserializeOpDocumentPublishSchemaOutput(v **PublishSchemaOutp } sv.PublishedSchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9587,7 +9513,6 @@ func awsRestjson1_deserializeOpDocumentPutSchemaFromJsonOutput(v **PutSchemaFrom } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -10330,7 +10255,6 @@ func awsRestjson1_deserializeOpDocumentUpdateObjectAttributesOutput(v **UpdateOb } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -10504,7 +10428,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10802,7 +10725,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeAppliedSchemaOutput(v **UpgradeApp } sv.DirectoryArn = ptr.String(jtv) } - case "UpgradedSchemaArn": if value != nil { jtv, ok := value.(string) @@ -10811,7 +10733,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeAppliedSchemaOutput(v **UpgradeApp } sv.UpgradedSchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10991,7 +10912,6 @@ func awsRestjson1_deserializeOpDocumentUpgradePublishedSchemaOutput(v **UpgradeP } sv.UpgradedSchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12281,15 +12201,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12297,15 +12211,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12376,7 +12286,6 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.FacetName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12385,7 +12294,6 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.Name = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -12394,7 +12302,6 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12430,12 +12337,10 @@ func awsRestjson1_deserializeDocumentAttributeKeyAndValue(v **types.AttributeKey if err := awsRestjson1_deserializeDocumentAttributeKey(&sv.Key, value); err != nil { return err } - case "Value": if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -12509,12 +12414,10 @@ func awsRestjson1_deserializeDocumentAttributeNameAndValue(v **types.AttributeNa } sv.AttributeName = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -12655,7 +12558,6 @@ func awsRestjson1_deserializeDocumentBatchAttachObjectResponse(v **types.BatchAt } sv.AttachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12726,7 +12628,6 @@ func awsRestjson1_deserializeDocumentBatchAttachToIndexResponse(v **types.BatchA } sv.AttachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12762,7 +12663,6 @@ func awsRestjson1_deserializeDocumentBatchAttachTypedLinkResponse(v **types.Batc if err := awsRestjson1_deserializeDocumentTypedLinkSpecifier(&sv.TypedLinkSpecifier, value); err != nil { return err } - default: _, _ = key, value @@ -12802,7 +12702,6 @@ func awsRestjson1_deserializeDocumentBatchCreateIndexResponse(v **types.BatchCre } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12842,7 +12741,6 @@ func awsRestjson1_deserializeDocumentBatchCreateObjectResponse(v **types.BatchCr } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12913,7 +12811,6 @@ func awsRestjson1_deserializeDocumentBatchDetachFromIndexResponse(v **types.Batc } sv.DetachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12953,7 +12850,6 @@ func awsRestjson1_deserializeDocumentBatchDetachObjectResponse(v **types.BatchDe } sv.DetachedObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -13051,7 +12947,6 @@ func awsRestjson1_deserializeDocumentBatchGetLinkAttributesResponse(v **types.Ba if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -13087,7 +12982,6 @@ func awsRestjson1_deserializeDocumentBatchGetObjectAttributesResponse(v **types. if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -13127,12 +13021,10 @@ func awsRestjson1_deserializeDocumentBatchGetObjectInformationResponse(v **types } sv.ObjectIdentifier = ptr.String(jtv) } - case "SchemaFacets": if err := awsRestjson1_deserializeDocumentSchemaFacetList(&sv.SchemaFacets, value); err != nil { return err } - default: _, _ = key, value @@ -13168,7 +13060,6 @@ func awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(v **types. if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13177,7 +13068,6 @@ func awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(v **types. } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13213,7 +13103,6 @@ func awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(v **typ if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.LinkSpecifiers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13222,7 +13111,6 @@ func awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(v **typ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13258,7 +13146,6 @@ func awsRestjson1_deserializeDocumentBatchListIndexResponse(v **types.BatchListI if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13267,7 +13154,6 @@ func awsRestjson1_deserializeDocumentBatchListIndexResponse(v **types.BatchListI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13303,7 +13189,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(v **types if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13312,7 +13197,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(v **types } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13348,7 +13232,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(v **types.B if err := awsRestjson1_deserializeDocumentLinkNameToObjectIdentifierMap(&sv.Children, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13357,7 +13240,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(v **types.B } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13397,12 +13279,10 @@ func awsRestjson1_deserializeDocumentBatchListObjectParentPathsResponse(v **type } sv.NextToken = ptr.String(jtv) } - case "PathToObjectIdentifiersList": if err := awsRestjson1_deserializeDocumentPathToObjectIdentifiersList(&sv.PathToObjectIdentifiersList, value); err != nil { return err } - default: _, _ = key, value @@ -13442,12 +13322,10 @@ func awsRestjson1_deserializeDocumentBatchListObjectParentsResponse(v **types.Ba } sv.NextToken = ptr.String(jtv) } - case "ParentLinks": if err := awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameList(&sv.ParentLinks, value); err != nil { return err } - default: _, _ = key, value @@ -13483,7 +13361,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(v **types.B if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.AttachedPolicyIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13492,7 +13369,6 @@ func awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(v **types.B } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13532,12 +13408,10 @@ func awsRestjson1_deserializeDocumentBatchListOutgoingTypedLinksResponse(v **typ } sv.NextToken = ptr.String(jtv) } - case "TypedLinkSpecifiers": if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.TypedLinkSpecifiers, value); err != nil { return err } - default: _, _ = key, value @@ -13577,12 +13451,10 @@ func awsRestjson1_deserializeDocumentBatchListPolicyAttachmentsResponse(v **type } sv.NextToken = ptr.String(jtv) } - case "ObjectIdentifiers": if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -13622,12 +13494,10 @@ func awsRestjson1_deserializeDocumentBatchLookupPolicyResponse(v **types.BatchLo } sv.NextToken = ptr.String(jtv) } - case "PolicyToPathList": if err := awsRestjson1_deserializeDocumentPolicyToPathList(&sv.PolicyToPathList, value); err != nil { return err } - default: _, _ = key, value @@ -13667,7 +13537,6 @@ func awsRestjson1_deserializeDocumentBatchReadException(v **types.BatchReadExcep } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13676,7 +13545,6 @@ func awsRestjson1_deserializeDocumentBatchReadException(v **types.BatchReadExcep } sv.Type = types.BatchReadExceptionType(jtv) } - default: _, _ = key, value @@ -13712,12 +13580,10 @@ func awsRestjson1_deserializeDocumentBatchReadOperationResponse(v **types.BatchR if err := awsRestjson1_deserializeDocumentBatchReadException(&sv.ExceptionResponse, value); err != nil { return err } - case "SuccessfulResponse": if err := awsRestjson1_deserializeDocumentBatchReadSuccessfulResponse(&sv.SuccessfulResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13787,72 +13653,58 @@ func awsRestjson1_deserializeDocumentBatchReadSuccessfulResponse(v **types.Batch if err := awsRestjson1_deserializeDocumentBatchGetLinkAttributesResponse(&sv.GetLinkAttributes, value); err != nil { return err } - case "GetObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchGetObjectAttributesResponse(&sv.GetObjectAttributes, value); err != nil { return err } - case "GetObjectInformation": if err := awsRestjson1_deserializeDocumentBatchGetObjectInformationResponse(&sv.GetObjectInformation, value); err != nil { return err } - case "ListAttachedIndices": if err := awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(&sv.ListAttachedIndices, value); err != nil { return err } - case "ListIncomingTypedLinks": if err := awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(&sv.ListIncomingTypedLinks, value); err != nil { return err } - case "ListIndex": if err := awsRestjson1_deserializeDocumentBatchListIndexResponse(&sv.ListIndex, value); err != nil { return err } - case "ListObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(&sv.ListObjectAttributes, value); err != nil { return err } - case "ListObjectChildren": if err := awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(&sv.ListObjectChildren, value); err != nil { return err } - case "ListObjectParentPaths": if err := awsRestjson1_deserializeDocumentBatchListObjectParentPathsResponse(&sv.ListObjectParentPaths, value); err != nil { return err } - case "ListObjectParents": if err := awsRestjson1_deserializeDocumentBatchListObjectParentsResponse(&sv.ListObjectParents, value); err != nil { return err } - case "ListObjectPolicies": if err := awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(&sv.ListObjectPolicies, value); err != nil { return err } - case "ListOutgoingTypedLinks": if err := awsRestjson1_deserializeDocumentBatchListOutgoingTypedLinksResponse(&sv.ListOutgoingTypedLinks, value); err != nil { return err } - case "ListPolicyAttachments": if err := awsRestjson1_deserializeDocumentBatchListPolicyAttachmentsResponse(&sv.ListPolicyAttachments, value); err != nil { return err } - case "LookupPolicy": if err := awsRestjson1_deserializeDocumentBatchLookupPolicyResponse(&sv.LookupPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -13954,7 +13806,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateObjectAttributesResponse(v **typ } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -13984,13 +13835,7 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Index": if value != nil { @@ -14004,8 +13849,7 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Index = int32(i64) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14013,7 +13857,6 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14022,15 +13865,11 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Type = types.BatchWriteExceptionType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14061,77 +13900,62 @@ func awsRestjson1_deserializeDocumentBatchWriteOperationResponse(v **types.Batch if err := awsRestjson1_deserializeDocumentBatchAddFacetToObjectResponse(&sv.AddFacetToObject, value); err != nil { return err } - case "AttachObject": if err := awsRestjson1_deserializeDocumentBatchAttachObjectResponse(&sv.AttachObject, value); err != nil { return err } - case "AttachPolicy": if err := awsRestjson1_deserializeDocumentBatchAttachPolicyResponse(&sv.AttachPolicy, value); err != nil { return err } - case "AttachToIndex": if err := awsRestjson1_deserializeDocumentBatchAttachToIndexResponse(&sv.AttachToIndex, value); err != nil { return err } - case "AttachTypedLink": if err := awsRestjson1_deserializeDocumentBatchAttachTypedLinkResponse(&sv.AttachTypedLink, value); err != nil { return err } - case "CreateIndex": if err := awsRestjson1_deserializeDocumentBatchCreateIndexResponse(&sv.CreateIndex, value); err != nil { return err } - case "CreateObject": if err := awsRestjson1_deserializeDocumentBatchCreateObjectResponse(&sv.CreateObject, value); err != nil { return err } - case "DeleteObject": if err := awsRestjson1_deserializeDocumentBatchDeleteObjectResponse(&sv.DeleteObject, value); err != nil { return err } - case "DetachFromIndex": if err := awsRestjson1_deserializeDocumentBatchDetachFromIndexResponse(&sv.DetachFromIndex, value); err != nil { return err } - case "DetachObject": if err := awsRestjson1_deserializeDocumentBatchDetachObjectResponse(&sv.DetachObject, value); err != nil { return err } - case "DetachPolicy": if err := awsRestjson1_deserializeDocumentBatchDetachPolicyResponse(&sv.DetachPolicy, value); err != nil { return err } - case "DetachTypedLink": if err := awsRestjson1_deserializeDocumentBatchDetachTypedLinkResponse(&sv.DetachTypedLink, value); err != nil { return err } - case "RemoveFacetFromObject": if err := awsRestjson1_deserializeDocumentBatchRemoveFacetFromObjectResponse(&sv.RemoveFacetFromObject, value); err != nil { return err } - case "UpdateLinkAttributes": if err := awsRestjson1_deserializeDocumentBatchUpdateLinkAttributesResponse(&sv.UpdateLinkAttributes, value); err != nil { return err } - case "UpdateObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchUpdateObjectAttributesResponse(&sv.UpdateObjectAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -14195,15 +14019,9 @@ func awsRestjson1_deserializeDocumentCannotListParentOfRootException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14211,15 +14029,11 @@ func awsRestjson1_deserializeDocumentCannotListParentOfRootException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14261,7 +14075,6 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } } - case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -14270,7 +14083,6 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.DirectoryArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14279,7 +14091,6 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14288,7 +14099,6 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.State = types.DirectoryState(jtv) } - default: _, _ = key, value @@ -14318,15 +14128,9 @@ func awsRestjson1_deserializeDocumentDirectoryAlreadyExistsException(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14334,15 +14138,11 @@ func awsRestjson1_deserializeDocumentDirectoryAlreadyExistsException(v **types.D } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14367,15 +14167,9 @@ func awsRestjson1_deserializeDocumentDirectoryDeletedException(v **types.Directo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14383,15 +14177,11 @@ func awsRestjson1_deserializeDocumentDirectoryDeletedException(v **types.Directo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14450,15 +14240,9 @@ func awsRestjson1_deserializeDocumentDirectoryNotDisabledException(v **types.Dir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14466,15 +14250,11 @@ func awsRestjson1_deserializeDocumentDirectoryNotDisabledException(v **types.Dir } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14499,15 +14279,9 @@ func awsRestjson1_deserializeDocumentDirectoryNotEnabledException(v **types.Dire sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14515,15 +14289,11 @@ func awsRestjson1_deserializeDocumentDirectoryNotEnabledException(v **types.Dire } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14558,7 +14328,6 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.FacetStyle = types.FacetStyle(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14567,7 +14336,6 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.Name = ptr.String(jtv) } - case "ObjectType": if value != nil { jtv, ok := value.(string) @@ -14576,7 +14344,6 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.ObjectType = types.ObjectType(jtv) } - default: _, _ = key, value @@ -14606,15 +14373,9 @@ func awsRestjson1_deserializeDocumentFacetAlreadyExistsException(v **types.Facet sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14622,15 +14383,11 @@ func awsRestjson1_deserializeDocumentFacetAlreadyExistsException(v **types.Facet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14661,12 +14418,10 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va if err := awsRestjson1_deserializeDocumentFacetAttributeDefinition(&sv.AttributeDefinition, value); err != nil { return err } - case "AttributeReference": if err := awsRestjson1_deserializeDocumentFacetAttributeReference(&sv.AttributeReference, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14675,7 +14430,6 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va } sv.Name = ptr.String(jtv) } - case "RequiredBehavior": if value != nil { jtv, ok := value.(string) @@ -14684,7 +14438,6 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va } sv.RequiredBehavior = types.RequiredAttributeBehavior(jtv) } - default: _, _ = key, value @@ -14720,7 +14473,6 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.DefaultValue, value); err != nil { return err } - case "IsImmutable": if value != nil { jtv, ok := value.(bool) @@ -14729,12 +14481,10 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt } sv.IsImmutable = jtv } - case "Rules": if err := awsRestjson1_deserializeDocumentRuleMap(&sv.Rules, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14743,7 +14493,6 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt } sv.Type = types.FacetAttributeType(jtv) } - default: _, _ = key, value @@ -14817,7 +14566,6 @@ func awsRestjson1_deserializeDocumentFacetAttributeReference(v **types.FacetAttr } sv.TargetAttributeName = ptr.String(jtv) } - case "TargetFacetName": if value != nil { jtv, ok := value.(string) @@ -14826,7 +14574,6 @@ func awsRestjson1_deserializeDocumentFacetAttributeReference(v **types.FacetAttr } sv.TargetFacetName = ptr.String(jtv) } - default: _, _ = key, value @@ -14856,15 +14603,9 @@ func awsRestjson1_deserializeDocumentFacetInUseException(v **types.FacetInUseExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14872,15 +14613,11 @@ func awsRestjson1_deserializeDocumentFacetInUseException(v **types.FacetInUseExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14941,15 +14678,9 @@ func awsRestjson1_deserializeDocumentFacetNotFoundException(v **types.FacetNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14957,15 +14688,11 @@ func awsRestjson1_deserializeDocumentFacetNotFoundException(v **types.FacetNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14990,15 +14717,9 @@ func awsRestjson1_deserializeDocumentFacetValidationException(v **types.FacetVal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15006,15 +14727,11 @@ func awsRestjson1_deserializeDocumentFacetValidationException(v **types.FacetVal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15039,15 +14756,9 @@ func awsRestjson1_deserializeDocumentIncompatibleSchemaException(v **types.Incom sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15055,15 +14766,11 @@ func awsRestjson1_deserializeDocumentIncompatibleSchemaException(v **types.Incom } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15094,7 +14801,6 @@ func awsRestjson1_deserializeDocumentIndexAttachment(v **types.IndexAttachment, if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.IndexedAttributes, value); err != nil { return err } - case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -15103,7 +14809,6 @@ func awsRestjson1_deserializeDocumentIndexAttachment(v **types.IndexAttachment, } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -15167,15 +14872,9 @@ func awsRestjson1_deserializeDocumentIndexedAttributeMissingException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15183,15 +14882,11 @@ func awsRestjson1_deserializeDocumentIndexedAttributeMissingException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15216,15 +14911,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15232,15 +14921,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15265,15 +14950,9 @@ func awsRestjson1_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15281,15 +14960,11 @@ func awsRestjson1_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15314,15 +14989,9 @@ func awsRestjson1_deserializeDocumentInvalidAttachmentException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15330,15 +14999,11 @@ func awsRestjson1_deserializeDocumentInvalidAttachmentException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15363,15 +15028,9 @@ func awsRestjson1_deserializeDocumentInvalidFacetUpdateException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15379,15 +15038,11 @@ func awsRestjson1_deserializeDocumentInvalidFacetUpdateException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15412,15 +15067,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15428,15 +15077,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15461,15 +15106,9 @@ func awsRestjson1_deserializeDocumentInvalidRuleException(v **types.InvalidRuleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15477,15 +15116,11 @@ func awsRestjson1_deserializeDocumentInvalidRuleException(v **types.InvalidRuleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15510,15 +15145,9 @@ func awsRestjson1_deserializeDocumentInvalidSchemaDocException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15526,15 +15155,11 @@ func awsRestjson1_deserializeDocumentInvalidSchemaDocException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15559,15 +15184,9 @@ func awsRestjson1_deserializeDocumentInvalidTaggingRequestException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15575,15 +15194,11 @@ func awsRestjson1_deserializeDocumentInvalidTaggingRequestException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15608,15 +15223,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15624,15 +15233,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15657,15 +15262,9 @@ func awsRestjson1_deserializeDocumentLinkNameAlreadyInUseException(v **types.Lin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15673,15 +15272,11 @@ func awsRestjson1_deserializeDocumentLinkNameAlreadyInUseException(v **types.Lin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15742,15 +15337,9 @@ func awsRestjson1_deserializeDocumentNotIndexException(v **types.NotIndexExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15758,15 +15347,11 @@ func awsRestjson1_deserializeDocumentNotIndexException(v **types.NotIndexExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15791,15 +15376,9 @@ func awsRestjson1_deserializeDocumentNotNodeException(v **types.NotNodeException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15807,15 +15386,11 @@ func awsRestjson1_deserializeDocumentNotNodeException(v **types.NotNodeException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15840,15 +15415,9 @@ func awsRestjson1_deserializeDocumentNotPolicyException(v **types.NotPolicyExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15856,15 +15425,11 @@ func awsRestjson1_deserializeDocumentNotPolicyException(v **types.NotPolicyExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15889,15 +15454,9 @@ func awsRestjson1_deserializeDocumentObjectAlreadyDetachedException(v **types.Ob sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15905,15 +15464,11 @@ func awsRestjson1_deserializeDocumentObjectAlreadyDetachedException(v **types.Ob } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15982,7 +15537,6 @@ func awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameTuple(v **types. } sv.LinkName = ptr.String(jtv) } - case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -15991,7 +15545,6 @@ func awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameTuple(v **types. } sv.ObjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -16093,15 +15646,9 @@ func awsRestjson1_deserializeDocumentObjectNotDetachedException(v **types.Object sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16109,15 +15656,11 @@ func awsRestjson1_deserializeDocumentObjectNotDetachedException(v **types.Object } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16152,7 +15695,6 @@ func awsRestjson1_deserializeDocumentObjectReference(v **types.ObjectReference, } sv.Selector = ptr.String(jtv) } - default: _, _ = key, value @@ -16188,7 +15730,6 @@ func awsRestjson1_deserializeDocumentPathToObjectIdentifiers(v **types.PathToObj if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -16197,7 +15738,6 @@ func awsRestjson1_deserializeDocumentPathToObjectIdentifiers(v **types.PathToObj } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -16271,7 +15811,6 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.ObjectIdentifier = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -16280,7 +15819,6 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.PolicyId = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -16289,7 +15827,6 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.PolicyType = ptr.String(jtv) } - default: _, _ = key, value @@ -16363,12 +15900,10 @@ func awsRestjson1_deserializeDocumentPolicyToPath(v **types.PolicyToPath, value } sv.Path = ptr.String(jtv) } - case "Policies": if err := awsRestjson1_deserializeDocumentPolicyAttachmentList(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -16432,15 +15967,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16448,15 +15977,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16481,15 +16006,9 @@ func awsRestjson1_deserializeDocumentRetryableConflictException(v **types.Retrya sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16497,15 +16016,11 @@ func awsRestjson1_deserializeDocumentRetryableConflictException(v **types.Retrya } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16536,7 +16051,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentRuleParameterMap(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16545,7 +16059,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Type = types.RuleType(jtv) } - default: _, _ = key, value @@ -16646,15 +16159,9 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyExistsException(v **types.Sche sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16662,15 +16169,11 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyExistsException(v **types.Sche } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16695,15 +16198,9 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyPublishedException(v **types.S sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16711,15 +16208,11 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyPublishedException(v **types.S } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16754,7 +16247,6 @@ func awsRestjson1_deserializeDocumentSchemaFacet(v **types.SchemaFacet, value in } sv.FacetName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -16763,7 +16255,6 @@ func awsRestjson1_deserializeDocumentSchemaFacet(v **types.SchemaFacet, value in } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16827,15 +16318,9 @@ func awsRestjson1_deserializeDocumentStillContainsLinksException(v **types.Still sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16843,15 +16328,11 @@ func awsRestjson1_deserializeDocumentStillContainsLinksException(v **types.Still } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16886,7 +16367,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16895,7 +16375,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17066,7 +16545,6 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.DefaultValue, value); err != nil { return err } - case "IsImmutable": if value != nil { jtv, ok := value.(bool) @@ -17075,7 +16553,6 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.IsImmutable = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17084,7 +16561,6 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.Name = ptr.String(jtv) } - case "RequiredBehavior": if value != nil { jtv, ok := value.(string) @@ -17093,12 +16569,10 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.RequiredBehavior = types.RequiredAttributeBehavior(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentRuleMap(&sv.Rules, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17107,7 +16581,6 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.Type = types.FacetAttributeType(jtv) } - default: _, _ = key, value @@ -17217,7 +16690,6 @@ func awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(v **types.Typed } sv.SchemaArn = ptr.String(jtv) } - case "TypedLinkName": if value != nil { jtv, ok := value.(string) @@ -17226,7 +16698,6 @@ func awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(v **types.Typed } sv.TypedLinkName = ptr.String(jtv) } - default: _, _ = key, value @@ -17262,22 +16733,18 @@ func awsRestjson1_deserializeDocumentTypedLinkSpecifier(v **types.TypedLinkSpeci if err := awsRestjson1_deserializeDocumentAttributeNameAndValueList(&sv.IdentityAttributeValues, value); err != nil { return err } - case "SourceObjectReference": if err := awsRestjson1_deserializeDocumentObjectReference(&sv.SourceObjectReference, value); err != nil { return err } - case "TargetObjectReference": if err := awsRestjson1_deserializeDocumentObjectReference(&sv.TargetObjectReference, value); err != nil { return err } - case "TypedLinkFacet": if err := awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(&sv.TypedLinkFacet, value); err != nil { return err } - default: _, _ = key, value @@ -17341,15 +16808,9 @@ func awsRestjson1_deserializeDocumentUnsupportedIndexTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17357,15 +16818,11 @@ func awsRestjson1_deserializeDocumentUnsupportedIndexTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17390,15 +16847,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17406,15 +16857,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/cloudfrontkeyvaluestore/deserializers.go b/service/cloudfrontkeyvaluestore/deserializers.go index 3684351b67e..f5e4a3da229 100644 --- a/service/cloudfrontkeyvaluestore/deserializers.go +++ b/service/cloudfrontkeyvaluestore/deserializers.go @@ -211,7 +211,6 @@ func awsRestjson1_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu } sv.ItemCount = ptr.Int32(int32(i64)) } - case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -224,7 +223,6 @@ func awsRestjson1_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu } sv.TotalSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -413,7 +411,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -422,7 +419,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.FailureReason = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -435,7 +431,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.ItemCount = ptr.Int32(int32(i64)) } - case "KvsARN": if value != nil { jtv, ok := value.(string) @@ -444,7 +439,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.KvsARN = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -460,7 +454,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -469,7 +462,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.Status = ptr.String(jtv) } - case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -482,7 +474,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.TotalSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -651,7 +642,6 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.ItemCount = ptr.Int32(int32(i64)) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -660,7 +650,6 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.Key = ptr.String(jtv) } - case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -673,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.TotalSizeInBytes = ptr.Int64(i64) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -682,7 +670,6 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -846,7 +833,6 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsRestjson1_deserializeDocumentListKeysResponseList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -855,7 +841,6 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1047,7 +1032,6 @@ func awsRestjson1_deserializeOpDocumentPutKeyOutput(v **PutKeyOutput, value inte } sv.ItemCount = ptr.Int32(int32(i64)) } - case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1060,7 +1044,6 @@ func awsRestjson1_deserializeOpDocumentPutKeyOutput(v **PutKeyOutput, value inte } sv.TotalSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -1252,7 +1235,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeysOutput(v **UpdateKeysOutput, va } sv.ItemCount = ptr.Int32(int32(i64)) } - case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1265,7 +1247,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeysOutput(v **UpdateKeysOutput, va } sv.TotalSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -1511,15 +1492,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1527,15 +1502,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1560,15 +1531,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1576,15 +1541,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1609,15 +1570,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1625,15 +1580,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1702,7 +1653,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseListItem(v **types.ListKeys } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1711,7 +1661,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseListItem(v **types.ListKeys } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1741,15 +1690,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1757,15 +1700,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1790,15 +1729,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1806,15 +1739,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1839,15 +1768,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1855,15 +1778,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/cloudhsm/deserializers.go b/service/cloudhsm/deserializers.go index 421b3b60b02..22094b31dcd 100644 --- a/service/cloudhsm/deserializers.go +++ b/service/cloudhsm/deserializers.go @@ -2560,15 +2560,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2576,7 +2570,6 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs } sv.Message = ptr.String(jtv) } - case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2585,15 +2578,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs } sv.Retryable = jtv } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2618,15 +2607,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2634,7 +2617,6 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Message = ptr.String(jtv) } - case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2643,15 +2625,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Retryable = jtv } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2748,15 +2726,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2764,7 +2736,6 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2773,15 +2744,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Retryable = jtv } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2888,7 +2855,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2897,7 +2863,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2971,7 +2936,6 @@ func awsAwsjson11_deserializeOpDocumentAddTagsToResourceOutput(v **AddTagsToReso } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3011,7 +2975,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHapgOutput(v **CreateHapgOutput, va } sv.HapgArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3051,7 +3014,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHsmOutput(v **CreateHsmOutput, valu } sv.HsmArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3091,7 +3053,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLunaClientOutput(v **CreateLunaClie } sv.ClientArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3131,7 +3092,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteHapgOutput(v **DeleteHapgOutput, va } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3171,7 +3131,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteHsmOutput(v **DeleteHsmOutput, valu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3211,7 +3170,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLunaClientOutput(v **DeleteLunaClie } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3251,7 +3209,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.HapgArn = ptr.String(jtv) } - case "HapgSerial": if value != nil { jtv, ok := value.(string) @@ -3260,22 +3217,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.HapgSerial = ptr.String(jtv) } - case "HsmsLastActionFailed": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsLastActionFailed, value); err != nil { return err } - case "HsmsPendingDeletion": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsPendingDeletion, value); err != nil { return err } - case "HsmsPendingRegistration": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsPendingRegistration, value); err != nil { return err } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3284,7 +3237,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.Label = ptr.String(jtv) } - case "LastModifiedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3293,12 +3245,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.LastModifiedTimestamp = ptr.String(jtv) } - case "PartitionSerialList": if err := awsAwsjson11_deserializeDocumentPartitionSerialList(&sv.PartitionSerialList, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -3307,7 +3257,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.State = types.CloudHsmObjectState(jtv) } - default: _, _ = key, value @@ -3347,7 +3296,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.AvailabilityZone = ptr.String(jtv) } - case "EniId": if value != nil { jtv, ok := value.(string) @@ -3356,7 +3304,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.EniId = ptr.String(jtv) } - case "EniIp": if value != nil { jtv, ok := value.(string) @@ -3365,7 +3312,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.EniIp = ptr.String(jtv) } - case "HsmArn": if value != nil { jtv, ok := value.(string) @@ -3374,7 +3320,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.HsmArn = ptr.String(jtv) } - case "HsmType": if value != nil { jtv, ok := value.(string) @@ -3383,7 +3328,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.HsmType = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3392,12 +3336,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.IamRoleArn = ptr.String(jtv) } - case "Partitions": if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } - case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -3406,7 +3348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SerialNumber = ptr.String(jtv) } - case "ServerCertLastUpdated": if value != nil { jtv, ok := value.(string) @@ -3415,7 +3356,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.ServerCertLastUpdated = ptr.String(jtv) } - case "ServerCertUri": if value != nil { jtv, ok := value.(string) @@ -3424,7 +3364,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.ServerCertUri = ptr.String(jtv) } - case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -3433,7 +3372,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SoftwareVersion = ptr.String(jtv) } - case "SshKeyLastUpdated": if value != nil { jtv, ok := value.(string) @@ -3442,7 +3380,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SshKeyLastUpdated = ptr.String(jtv) } - case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -3451,7 +3388,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SshPublicKey = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3460,7 +3396,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.Status = types.HsmStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -3469,7 +3404,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.StatusDetails = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -3478,7 +3412,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubnetId = ptr.String(jtv) } - case "SubscriptionEndDate": if value != nil { jtv, ok := value.(string) @@ -3487,7 +3420,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionEndDate = ptr.String(jtv) } - case "SubscriptionStartDate": if value != nil { jtv, ok := value.(string) @@ -3496,7 +3428,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionStartDate = ptr.String(jtv) } - case "SubscriptionType": if value != nil { jtv, ok := value.(string) @@ -3505,7 +3436,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionType = types.SubscriptionType(jtv) } - case "VendorName": if value != nil { jtv, ok := value.(string) @@ -3514,7 +3444,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.VendorName = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3523,7 +3452,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3563,7 +3491,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.Certificate = ptr.String(jtv) } - case "CertificateFingerprint": if value != nil { jtv, ok := value.(string) @@ -3572,7 +3499,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.CertificateFingerprint = ptr.String(jtv) } - case "ClientArn": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3507,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.ClientArn = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3590,7 +3515,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.Label = ptr.String(jtv) } - case "LastModifiedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3599,7 +3523,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.LastModifiedTimestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -3639,7 +3562,6 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigCred = ptr.String(jtv) } - case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -3648,7 +3570,6 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigFile = ptr.String(jtv) } - case "ConfigType": if value != nil { jtv, ok := value.(string) @@ -3657,7 +3578,6 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigType = ptr.String(jtv) } - default: _, _ = key, value @@ -3693,7 +3613,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableZonesOutput(v **ListAvailabl if err := awsAwsjson11_deserializeDocumentAZList(&sv.AZList, value); err != nil { return err } - default: _, _ = key, value @@ -3729,7 +3648,6 @@ func awsAwsjson11_deserializeOpDocumentListHapgsOutput(v **ListHapgsOutput, valu if err := awsAwsjson11_deserializeDocumentHapgList(&sv.HapgList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3738,7 +3656,6 @@ func awsAwsjson11_deserializeOpDocumentListHapgsOutput(v **ListHapgsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3774,7 +3691,6 @@ func awsAwsjson11_deserializeOpDocumentListHsmsOutput(v **ListHsmsOutput, value if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3783,7 +3699,6 @@ func awsAwsjson11_deserializeOpDocumentListHsmsOutput(v **ListHsmsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3819,7 +3734,6 @@ func awsAwsjson11_deserializeOpDocumentListLunaClientsOutput(v **ListLunaClients if err := awsAwsjson11_deserializeDocumentClientList(&sv.ClientList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3828,7 +3742,6 @@ func awsAwsjson11_deserializeOpDocumentListLunaClientsOutput(v **ListLunaClients } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3864,7 +3777,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -3904,7 +3816,6 @@ func awsAwsjson11_deserializeOpDocumentModifyHapgOutput(v **ModifyHapgOutput, va } sv.HapgArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3944,7 +3855,6 @@ func awsAwsjson11_deserializeOpDocumentModifyHsmOutput(v **ModifyHsmOutput, valu } sv.HsmArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3984,7 +3894,6 @@ func awsAwsjson11_deserializeOpDocumentModifyLunaClientOutput(v **ModifyLunaClie } sv.ClientArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4024,7 +3933,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTagsFromResourceOutput(v **RemoveTa } sv.Status = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/cloudhsmv2/deserializers.go b/service/cloudhsmv2/deserializers.go index 853f865105e..e8db2de5b9e 100644 --- a/service/cloudhsmv2/deserializers.go +++ b/service/cloudhsmv2/deserializers.go @@ -2504,7 +2504,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupArn = ptr.String(jtv) } - case "BackupId": if value != nil { jtv, ok := value.(string) @@ -2513,7 +2512,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } - case "BackupState": if value != nil { jtv, ok := value.(string) @@ -2522,7 +2520,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupState = types.BackupState(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -2531,7 +2528,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ClusterId = ptr.String(jtv) } - case "CopyTimestamp": if value != nil { switch jtv := value.(type) { @@ -2547,7 +2543,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } - case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2563,7 +2558,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } - case "DeleteTimestamp": if value != nil { switch jtv := value.(type) { @@ -2579,7 +2573,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } - case "HsmType": if value != nil { jtv, ok := value.(string) @@ -2588,7 +2581,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.HsmType = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -2597,7 +2589,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Mode = types.ClusterMode(jtv) } - case "NeverExpires": if value != nil { jtv, ok := value.(bool) @@ -2606,7 +2597,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.NeverExpires = ptr.Bool(jtv) } - case "SourceBackup": if value != nil { jtv, ok := value.(string) @@ -2615,7 +2605,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackup = ptr.String(jtv) } - case "SourceCluster": if value != nil { jtv, ok := value.(string) @@ -2624,7 +2613,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceCluster = ptr.String(jtv) } - case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -2633,12 +2621,10 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceRegion = ptr.String(jtv) } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -2678,7 +2664,6 @@ func awsAwsjson11_deserializeDocumentBackupRetentionPolicy(v **types.BackupReten } sv.Type = types.BackupRetentionType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2687,7 +2672,6 @@ func awsAwsjson11_deserializeDocumentBackupRetentionPolicy(v **types.BackupReten } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2761,7 +2745,6 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.AwsHardwareCertificate = ptr.String(jtv) } - case "ClusterCertificate": if value != nil { jtv, ok := value.(string) @@ -2770,7 +2753,6 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ClusterCertificate = ptr.String(jtv) } - case "ClusterCsr": if value != nil { jtv, ok := value.(string) @@ -2779,7 +2761,6 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ClusterCsr = ptr.String(jtv) } - case "HsmCertificate": if value != nil { jtv, ok := value.(string) @@ -2788,7 +2769,6 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.HsmCertificate = ptr.String(jtv) } - case "ManufacturerHardwareCertificate": if value != nil { jtv, ok := value.(string) @@ -2797,7 +2777,6 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ManufacturerHardwareCertificate = ptr.String(jtv) } - default: _, _ = key, value @@ -2827,15 +2806,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmAccessDeniedException(v **types.Clo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2843,15 +2816,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmAccessDeniedException(v **types.Clo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2876,15 +2845,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalFailureException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2892,15 +2855,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalFailureException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2925,15 +2884,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmInvalidRequestException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2941,15 +2894,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmInvalidRequestException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2974,15 +2923,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmResourceNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2990,15 +2933,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmResourceNotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3023,15 +2962,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3039,15 +2972,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3072,15 +3001,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmTagException(v **types.CloudHsmTagE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3088,15 +3011,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmTagException(v **types.CloudHsmTagE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3131,17 +3050,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.BackupPolicy = types.BackupPolicy(jtv) } - case "BackupRetentionPolicy": if err := awsAwsjson11_deserializeDocumentBackupRetentionPolicy(&sv.BackupRetentionPolicy, value); err != nil { return err } - case "Certificates": if err := awsAwsjson11_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3150,7 +3066,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterId = ptr.String(jtv) } - case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -3166,12 +3081,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } } - case "Hsms": if err := awsAwsjson11_deserializeDocumentHsms(&sv.Hsms, value); err != nil { return err } - case "HsmType": if value != nil { jtv, ok := value.(string) @@ -3180,7 +3093,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.HsmType = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -3189,7 +3101,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Mode = types.ClusterMode(jtv) } - case "PreCoPassword": if value != nil { jtv, ok := value.(string) @@ -3198,7 +3109,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreCoPassword = ptr.String(jtv) } - case "SecurityGroup": if value != nil { jtv, ok := value.(string) @@ -3207,7 +3117,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SecurityGroup = ptr.String(jtv) } - case "SourceBackupId": if value != nil { jtv, ok := value.(string) @@ -3216,7 +3125,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SourceBackupId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3225,7 +3133,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.State = types.ClusterState(jtv) } - case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -3234,17 +3141,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.StateMessage = ptr.String(jtv) } - case "SubnetMapping": if err := awsAwsjson11_deserializeDocumentExternalSubnetMapping(&sv.SubnetMapping, value); err != nil { return err } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3253,7 +3157,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3334,7 +3237,6 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } } - case "SourceBackup": if value != nil { jtv, ok := value.(string) @@ -3343,7 +3245,6 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceBackup = ptr.String(jtv) } - case "SourceCluster": if value != nil { jtv, ok := value.(string) @@ -3352,7 +3253,6 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceCluster = ptr.String(jtv) } - case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -3361,7 +3261,6 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -3437,7 +3336,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.AvailabilityZone = ptr.String(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3446,7 +3344,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.ClusterId = ptr.String(jtv) } - case "EniId": if value != nil { jtv, ok := value.(string) @@ -3455,7 +3352,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.EniId = ptr.String(jtv) } - case "EniIp": if value != nil { jtv, ok := value.(string) @@ -3464,7 +3360,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.EniIp = ptr.String(jtv) } - case "HsmId": if value != nil { jtv, ok := value.(string) @@ -3473,7 +3368,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.HsmId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3482,7 +3376,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.State = types.HsmState(jtv) } - case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -3491,7 +3384,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.StateMessage = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -3500,7 +3392,6 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -3574,7 +3465,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3583,7 +3473,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3653,7 +3542,6 @@ func awsAwsjson11_deserializeOpDocumentCopyBackupToRegionOutput(v **CopyBackupTo if err := awsAwsjson11_deserializeDocumentDestinationBackup(&sv.DestinationBackup, value); err != nil { return err } - default: _, _ = key, value @@ -3689,7 +3577,6 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3725,7 +3612,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHsmOutput(v **CreateHsmOutput, valu if err := awsAwsjson11_deserializeDocumentHsm(&sv.Hsm, value); err != nil { return err } - default: _, _ = key, value @@ -3761,7 +3647,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value @@ -3797,7 +3682,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3837,7 +3721,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteHsmOutput(v **DeleteHsmOutput, valu } sv.HsmId = ptr.String(jtv) } - default: _, _ = key, value @@ -3877,7 +3760,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Policy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3886,7 +3768,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3922,7 +3803,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3931,7 +3811,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3967,7 +3846,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusters(&sv.Clusters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3976,7 +3854,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4016,7 +3893,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -4056,7 +3932,6 @@ func awsAwsjson11_deserializeOpDocumentInitializeClusterOutput(v **InitializeClu } sv.State = types.ClusterState(jtv) } - case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -4065,7 +3940,6 @@ func awsAwsjson11_deserializeOpDocumentInitializeClusterOutput(v **InitializeClu } sv.StateMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4105,12 +3979,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -4146,7 +4018,6 @@ func awsAwsjson11_deserializeOpDocumentModifyBackupAttributesOutput(v **ModifyBa if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value @@ -4182,7 +4053,6 @@ func awsAwsjson11_deserializeOpDocumentModifyClusterOutput(v **ModifyClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -4222,7 +4092,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4231,7 +4100,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4267,7 +4135,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreBackupOutput(v **RestoreBackupOutp if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/cloudsearchdomain/deserializers.go b/service/cloudsearchdomain/deserializers.go index 7cf190485e6..514872512be 100644 --- a/service/cloudsearchdomain/deserializers.go +++ b/service/cloudsearchdomain/deserializers.go @@ -172,22 +172,18 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentFacets(&sv.Facets, value); err != nil { return err } - case "hits": if err := awsRestjson1_deserializeDocumentHits(&sv.Hits, value); err != nil { return err } - case "stats": if err := awsRestjson1_deserializeDocumentStats(&sv.Stats, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -339,12 +335,10 @@ func awsRestjson1_deserializeOpDocumentSuggestOutput(v **SuggestOutput, value in if err := awsRestjson1_deserializeDocumentSuggestStatus(&sv.Status, value); err != nil { return err } - case "suggest": if err := awsRestjson1_deserializeDocumentSuggestModel(&sv.Suggest, value); err != nil { return err } - default: _, _ = key, value @@ -504,7 +498,6 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Adds = i64 } - case "deletes": if value != nil { jtv, ok := value.(json.Number) @@ -517,7 +510,6 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Deletes = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -526,12 +518,10 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Status = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocumentDocumentServiceWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -647,7 +637,6 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Count = i64 } - case "value": if value != nil { jtv, ok := value.(string) @@ -656,7 +645,6 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -692,7 +680,6 @@ func awsRestjson1_deserializeDocumentBucketInfo(v **types.BucketInfo, value inte if err := awsRestjson1_deserializeDocumentBucketList(&sv.Buckets, value); err != nil { return err } - default: _, _ = key, value @@ -756,15 +743,9 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -772,7 +753,6 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document } sv.Message = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -781,15 +761,11 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document } sv.Status = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -824,7 +800,6 @@ func awsRestjson1_deserializeDocumentDocumentServiceWarning(v **types.DocumentSe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1007,7 +982,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Count = i64 } - case "max": if value != nil { jtv, ok := value.(string) @@ -1016,7 +990,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Max = ptr.String(jtv) } - case "mean": if value != nil { jtv, ok := value.(string) @@ -1025,7 +998,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Mean = ptr.String(jtv) } - case "min": if value != nil { jtv, ok := value.(string) @@ -1034,7 +1006,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Min = ptr.String(jtv) } - case "missing": if value != nil { jtv, ok := value.(json.Number) @@ -1047,7 +1018,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Missing = i64 } - case "stddev": if value != nil { switch jtv := value.(type) { @@ -1081,7 +1051,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } - case "sum": if value != nil { switch jtv := value.(type) { @@ -1115,7 +1084,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } - case "sumOfSquares": if value != nil { switch jtv := value.(type) { @@ -1149,7 +1117,6 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } - default: _, _ = key, value @@ -1257,17 +1224,14 @@ func awsRestjson1_deserializeDocumentHit(v **types.Hit, value interface{}) error if err := awsRestjson1_deserializeDocumentExprs(&sv.Exprs, value); err != nil { return err } - case "fields": if err := awsRestjson1_deserializeDocumentFields(&sv.Fields, value); err != nil { return err } - case "highlights": if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1276,7 +1240,6 @@ func awsRestjson1_deserializeDocumentHit(v **types.Hit, value interface{}) error } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1350,7 +1313,6 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Cursor = ptr.String(jtv) } - case "found": if value != nil { jtv, ok := value.(json.Number) @@ -1363,12 +1325,10 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Found = i64 } - case "hit": if err := awsRestjson1_deserializeDocumentHitList(&sv.Hit, value); err != nil { return err } - case "start": if value != nil { jtv, ok := value.(json.Number) @@ -1381,7 +1341,6 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Start = i64 } - default: _, _ = key, value @@ -1411,15 +1370,9 @@ func awsRestjson1_deserializeDocumentSearchException(v **types.SearchException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1427,15 +1380,11 @@ func awsRestjson1_deserializeDocumentSearchException(v **types.SearchException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1470,7 +1419,6 @@ func awsRestjson1_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.Rid = ptr.String(jtv) } - case "timems": if value != nil { jtv, ok := value.(json.Number) @@ -1483,7 +1431,6 @@ func awsRestjson1_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.Timems = i64 } - default: _, _ = key, value @@ -1558,7 +1505,6 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Id = ptr.String(jtv) } - case "score": if value != nil { jtv, ok := value.(json.Number) @@ -1571,7 +1517,6 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Score = i64 } - case "suggestion": if value != nil { jtv, ok := value.(string) @@ -1580,7 +1525,6 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Suggestion = ptr.String(jtv) } - default: _, _ = key, value @@ -1658,7 +1602,6 @@ func awsRestjson1_deserializeDocumentSuggestModel(v **types.SuggestModel, value } sv.Found = i64 } - case "query": if value != nil { jtv, ok := value.(string) @@ -1667,12 +1610,10 @@ func awsRestjson1_deserializeDocumentSuggestModel(v **types.SuggestModel, value } sv.Query = ptr.String(jtv) } - case "suggestions": if err := awsRestjson1_deserializeDocumentSuggestions(&sv.Suggestions, value); err != nil { return err } - default: _, _ = key, value @@ -1712,7 +1653,6 @@ func awsRestjson1_deserializeDocumentSuggestStatus(v **types.SuggestStatus, valu } sv.Rid = ptr.String(jtv) } - case "timems": if value != nil { jtv, ok := value.(json.Number) @@ -1725,7 +1665,6 @@ func awsRestjson1_deserializeDocumentSuggestStatus(v **types.SuggestStatus, valu } sv.Timems = i64 } - default: _, _ = key, value diff --git a/service/cloudtrail/deserializers.go b/service/cloudtrail/deserializers.go index 0a646f93244..918aed6a6d6 100644 --- a/service/cloudtrail/deserializers.go +++ b/service/cloudtrail/deserializers.go @@ -9745,15 +9745,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9761,15 +9755,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9794,15 +9784,9 @@ func awsAwsjson11_deserializeDocumentAccountHasOngoingImportException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9810,15 +9794,11 @@ func awsAwsjson11_deserializeDocumentAccountHasOngoingImportException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9843,15 +9823,9 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9859,15 +9833,11 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9892,15 +9862,9 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9908,15 +9872,11 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9941,15 +9901,9 @@ func awsAwsjson11_deserializeDocumentAccountRegisteredException(v **types.Accoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9957,15 +9911,11 @@ func awsAwsjson11_deserializeDocumentAccountRegisteredException(v **types.Accoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9996,7 +9946,6 @@ func awsAwsjson11_deserializeDocumentAdvancedEventSelector(v **types.AdvancedEve if err := awsAwsjson11_deserializeDocumentAdvancedFieldSelectors(&sv.FieldSelectors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10005,7 +9954,6 @@ func awsAwsjson11_deserializeDocumentAdvancedEventSelector(v **types.AdvancedEve } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10075,12 +10023,10 @@ func awsAwsjson11_deserializeDocumentAdvancedFieldSelector(v **types.AdvancedFie if err := awsAwsjson11_deserializeDocumentOperator(&sv.EndsWith, value); err != nil { return err } - case "Equals": if err := awsAwsjson11_deserializeDocumentOperator(&sv.Equals, value); err != nil { return err } - case "Field": if value != nil { jtv, ok := value.(string) @@ -10089,27 +10035,22 @@ func awsAwsjson11_deserializeDocumentAdvancedFieldSelector(v **types.AdvancedFie } sv.Field = ptr.String(jtv) } - case "NotEndsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotEndsWith, value); err != nil { return err } - case "NotEquals": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotEquals, value); err != nil { return err } - case "NotStartsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotStartsWith, value); err != nil { return err } - case "StartsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.StartsWith, value); err != nil { return err } - default: _, _ = key, value @@ -10173,15 +10114,9 @@ func awsAwsjson11_deserializeDocumentCannotDelegateManagementAccountException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10189,15 +10124,11 @@ func awsAwsjson11_deserializeDocumentCannotDelegateManagementAccountException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10232,7 +10163,6 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10241,7 +10171,6 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10271,15 +10200,9 @@ func awsAwsjson11_deserializeDocumentChannelAlreadyExistsException(v **types.Cha sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10287,15 +10210,11 @@ func awsAwsjson11_deserializeDocumentChannelAlreadyExistsException(v **types.Cha } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10320,15 +10239,9 @@ func awsAwsjson11_deserializeDocumentChannelARNInvalidException(v **types.Channe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10336,15 +10249,11 @@ func awsAwsjson11_deserializeDocumentChannelARNInvalidException(v **types.Channe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10369,15 +10278,9 @@ func awsAwsjson11_deserializeDocumentChannelExistsForEDSException(v **types.Chan sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10385,15 +10288,11 @@ func awsAwsjson11_deserializeDocumentChannelExistsForEDSException(v **types.Chan } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10418,15 +10317,9 @@ func awsAwsjson11_deserializeDocumentChannelMaxLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10434,15 +10327,11 @@ func awsAwsjson11_deserializeDocumentChannelMaxLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10467,15 +10356,9 @@ func awsAwsjson11_deserializeDocumentChannelNotFoundException(v **types.ChannelN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10483,15 +10366,11 @@ func awsAwsjson11_deserializeDocumentChannelNotFoundException(v **types.ChannelN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10550,15 +10429,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailAccessNotEnabledException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10566,15 +10439,11 @@ func awsAwsjson11_deserializeDocumentCloudTrailAccessNotEnabledException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10599,15 +10468,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailARNInvalidException(v **types.Clo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10615,15 +10478,11 @@ func awsAwsjson11_deserializeDocumentCloudTrailARNInvalidException(v **types.Clo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10648,15 +10507,9 @@ func awsAwsjson11_deserializeDocumentCloudTrailInvalidClientTokenIdException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10664,15 +10517,11 @@ func awsAwsjson11_deserializeDocumentCloudTrailInvalidClientTokenIdException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10697,15 +10546,9 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsDeliveryUnavailableException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10713,15 +10556,11 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsDeliveryUnavailableException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10746,15 +10585,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10762,15 +10595,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10795,15 +10624,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10811,15 +10634,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10854,12 +10673,10 @@ func awsAwsjson11_deserializeDocumentDataResource(v **types.DataResource, value } sv.Type = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentDataResourceValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -10959,15 +10776,9 @@ func awsAwsjson11_deserializeDocumentDelegatedAdminAccountLimitExceededException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10975,15 +10786,11 @@ func awsAwsjson11_deserializeDocumentDelegatedAdminAccountLimitExceededException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11018,7 +10825,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Location = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11027,7 +10833,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Type = types.DestinationType(jtv) } - default: _, _ = key, value @@ -11101,7 +10906,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.AccessKeyId = ptr.String(jtv) } - case "CloudTrailEvent": if value != nil { jtv, ok := value.(string) @@ -11110,7 +10914,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.CloudTrailEvent = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -11119,7 +10922,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } - case "EventName": if value != nil { jtv, ok := value.(string) @@ -11128,7 +10930,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventName = ptr.String(jtv) } - case "EventSource": if value != nil { jtv, ok := value.(string) @@ -11137,7 +10938,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventSource = ptr.String(jtv) } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -11153,7 +10953,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "ReadOnly": if value != nil { jtv, ok := value.(string) @@ -11162,12 +10961,10 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ReadOnly = ptr.String(jtv) } - case "Resources": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -11176,7 +10973,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -11212,7 +11008,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11228,7 +11023,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } } - case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -11237,7 +11031,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.EventDataStoreArn = ptr.String(jtv) } - case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11246,7 +11039,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.MultiRegionEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11255,7 +11047,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.Name = ptr.String(jtv) } - case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -11264,7 +11055,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.OrganizationEnabled = ptr.Bool(jtv) } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -11277,7 +11067,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11286,7 +11075,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.Status = types.EventDataStoreStatus(jtv) } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11295,7 +11083,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11311,7 +11098,6 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } } - default: _, _ = key, value @@ -11341,15 +11127,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreAlreadyExistsException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11357,15 +11137,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreAlreadyExistsException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11390,15 +11166,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreARNInvalidException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11406,15 +11176,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreARNInvalidException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11439,15 +11205,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreFederationEnabledException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11455,15 +11215,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreFederationEnabledException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11488,15 +11244,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreHasOngoingImportException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11504,15 +11254,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreHasOngoingImportException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11537,15 +11283,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreMaxLimitExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11553,15 +11293,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreMaxLimitExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11586,15 +11322,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreNotFoundException(v **types.E sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11602,15 +11332,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreNotFoundException(v **types.E } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11669,15 +11395,9 @@ func awsAwsjson11_deserializeDocumentEventDataStoreTerminationProtectedException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11685,15 +11405,11 @@ func awsAwsjson11_deserializeDocumentEventDataStoreTerminationProtectedException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11724,12 +11440,10 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu if err := awsAwsjson11_deserializeDocumentDataResources(&sv.DataResources, value); err != nil { return err } - case "ExcludeManagementEventSources": if err := awsAwsjson11_deserializeDocumentExcludeManagementEventSources(&sv.ExcludeManagementEventSources, value); err != nil { return err } - case "IncludeManagementEvents": if value != nil { jtv, ok := value.(bool) @@ -11738,7 +11452,6 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu } sv.IncludeManagementEvents = ptr.Bool(jtv) } - case "ReadWriteType": if value != nil { jtv, ok := value.(string) @@ -11747,7 +11460,6 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu } sv.ReadWriteType = types.ReadWriteType(jtv) } - default: _, _ = key, value @@ -11961,7 +11673,6 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -11970,7 +11681,6 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.ErrorType = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11986,7 +11696,6 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } } - case "Location": if value != nil { jtv, ok := value.(string) @@ -11995,7 +11704,6 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.Location = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12004,7 +11712,6 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.Status = types.ImportFailureStatus(jtv) } - default: _, _ = key, value @@ -12034,15 +11741,9 @@ func awsAwsjson11_deserializeDocumentImportNotFoundException(v **types.ImportNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12050,15 +11751,11 @@ func awsAwsjson11_deserializeDocumentImportNotFoundException(v **types.ImportNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12134,12 +11831,10 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } } - case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } - case "ImportId": if value != nil { jtv, ok := value.(string) @@ -12148,7 +11843,6 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } sv.ImportId = ptr.String(jtv) } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -12157,7 +11851,6 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } sv.ImportStatus = types.ImportStatus(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12173,7 +11866,6 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } } - default: _, _ = key, value @@ -12209,7 +11901,6 @@ func awsAwsjson11_deserializeDocumentImportSource(v **types.ImportSource, value if err := awsAwsjson11_deserializeDocumentS3ImportSource(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -12253,7 +11944,6 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.EventsCompleted = ptr.Int64(i64) } - case "FailedEntries": if value != nil { jtv, ok := value.(json.Number) @@ -12266,7 +11956,6 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.FailedEntries = ptr.Int64(i64) } - case "FilesCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -12279,7 +11968,6 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.FilesCompleted = ptr.Int64(i64) } - case "PrefixesCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -12292,7 +11980,6 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.PrefixesCompleted = ptr.Int64(i64) } - case "PrefixesFound": if value != nil { jtv, ok := value.(json.Number) @@ -12305,7 +11992,6 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.PrefixesFound = ptr.Int64(i64) } - default: _, _ = key, value @@ -12335,15 +12021,9 @@ func awsAwsjson11_deserializeDocumentInactiveEventDataStoreException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12351,15 +12031,11 @@ func awsAwsjson11_deserializeDocumentInactiveEventDataStoreException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12384,15 +12060,9 @@ func awsAwsjson11_deserializeDocumentInactiveQueryException(v **types.InactiveQu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12400,15 +12070,11 @@ func awsAwsjson11_deserializeDocumentInactiveQueryException(v **types.InactiveQu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12443,7 +12109,6 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionAttemptEventID = ptr.String(jtv) } - case "LatestIngestionAttemptTime": if value != nil { switch jtv := value.(type) { @@ -12459,7 +12124,6 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } } - case "LatestIngestionErrorCode": if value != nil { jtv, ok := value.(string) @@ -12468,7 +12132,6 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionErrorCode = ptr.String(jtv) } - case "LatestIngestionSuccessEventID": if value != nil { jtv, ok := value.(string) @@ -12477,7 +12140,6 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionSuccessEventID = ptr.String(jtv) } - case "LatestIngestionSuccessTime": if value != nil { switch jtv := value.(type) { @@ -12493,7 +12155,6 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } } - default: _, _ = key, value @@ -12523,15 +12184,9 @@ func awsAwsjson11_deserializeDocumentInsightNotEnabledException(v **types.Insigh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12539,15 +12194,11 @@ func awsAwsjson11_deserializeDocumentInsightNotEnabledException(v **types.Insigh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12582,7 +12233,6 @@ func awsAwsjson11_deserializeDocumentInsightSelector(v **types.InsightSelector, } sv.InsightType = types.InsightType(jtv) } - default: _, _ = key, value @@ -12707,15 +12357,9 @@ func awsAwsjson11_deserializeDocumentInsufficientDependencyServiceAccessPermissi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12723,15 +12367,11 @@ func awsAwsjson11_deserializeDocumentInsufficientDependencyServiceAccessPermissi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12756,15 +12396,9 @@ func awsAwsjson11_deserializeDocumentInsufficientEncryptionPolicyException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12772,15 +12406,11 @@ func awsAwsjson11_deserializeDocumentInsufficientEncryptionPolicyException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12805,15 +12435,9 @@ func awsAwsjson11_deserializeDocumentInsufficientS3BucketPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12821,15 +12445,11 @@ func awsAwsjson11_deserializeDocumentInsufficientS3BucketPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12854,15 +12474,9 @@ func awsAwsjson11_deserializeDocumentInsufficientSnsTopicPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12870,15 +12484,11 @@ func awsAwsjson11_deserializeDocumentInsufficientSnsTopicPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12903,15 +12513,9 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsLogGroupArnException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12919,15 +12523,11 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsLogGroupArnException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12952,15 +12552,9 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsRoleArnException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12968,15 +12562,11 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsRoleArnException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13001,15 +12591,9 @@ func awsAwsjson11_deserializeDocumentInvalidDateRangeException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13017,15 +12601,11 @@ func awsAwsjson11_deserializeDocumentInvalidDateRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13050,15 +12630,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventCategoryException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13066,15 +12640,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventCategoryException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13099,15 +12669,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreCategoryException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13115,15 +12679,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreCategoryException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13148,15 +12708,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreStatusException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13164,15 +12718,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreStatusException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13197,15 +12747,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventSelectorsException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13213,15 +12757,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventSelectorsException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13246,15 +12786,9 @@ func awsAwsjson11_deserializeDocumentInvalidHomeRegionException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13262,15 +12796,11 @@ func awsAwsjson11_deserializeDocumentInvalidHomeRegionException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13295,15 +12825,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportSourceException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13311,15 +12835,11 @@ func awsAwsjson11_deserializeDocumentInvalidImportSourceException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13344,15 +12864,9 @@ func awsAwsjson11_deserializeDocumentInvalidInsightSelectorsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13360,15 +12874,11 @@ func awsAwsjson11_deserializeDocumentInvalidInsightSelectorsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13393,15 +12903,9 @@ func awsAwsjson11_deserializeDocumentInvalidKmsKeyIdException(v **types.InvalidK sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13409,15 +12913,11 @@ func awsAwsjson11_deserializeDocumentInvalidKmsKeyIdException(v **types.InvalidK } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13442,15 +12942,9 @@ func awsAwsjson11_deserializeDocumentInvalidLookupAttributesException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13458,15 +12952,11 @@ func awsAwsjson11_deserializeDocumentInvalidLookupAttributesException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13491,15 +12981,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13507,15 +12991,11 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13540,15 +13020,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13556,15 +13030,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13589,15 +13059,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13605,15 +13069,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13638,15 +13098,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13654,15 +13108,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13687,15 +13137,9 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatementException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13703,15 +13147,11 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatementException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13736,15 +13176,9 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatusException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13752,15 +13186,11 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13785,15 +13215,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3BucketNameException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13801,15 +13225,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3BucketNameException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13834,15 +13254,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3PrefixException(v **types.InvalidS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13850,15 +13264,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3PrefixException(v **types.InvalidS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13883,15 +13293,9 @@ func awsAwsjson11_deserializeDocumentInvalidSnsTopicNameException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13899,15 +13303,11 @@ func awsAwsjson11_deserializeDocumentInvalidSnsTopicNameException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13932,15 +13332,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13948,15 +13342,11 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13981,15 +13371,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13997,15 +13381,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14030,15 +13410,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14046,15 +13420,11 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14079,15 +13449,9 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14095,15 +13459,11 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14128,15 +13488,9 @@ func awsAwsjson11_deserializeDocumentInvalidTrailNameException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14144,15 +13498,11 @@ func awsAwsjson11_deserializeDocumentInvalidTrailNameException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14177,15 +13527,9 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14193,15 +13537,11 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14226,15 +13566,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyDisabledException(v **types.KmsKeyDis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14242,15 +13576,11 @@ func awsAwsjson11_deserializeDocumentKmsKeyDisabledException(v **types.KmsKeyDis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14275,15 +13605,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyNotFoundException(v **types.KmsKeyNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14291,15 +13615,11 @@ func awsAwsjson11_deserializeDocumentKmsKeyNotFoundException(v **types.KmsKeyNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14324,15 +13644,9 @@ func awsAwsjson11_deserializeDocumentMaxConcurrentQueriesException(v **types.Max sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14340,15 +13654,11 @@ func awsAwsjson11_deserializeDocumentMaxConcurrentQueriesException(v **types.Max } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14373,15 +13683,9 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfTrailsExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14389,15 +13693,11 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfTrailsExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14422,15 +13722,9 @@ func awsAwsjson11_deserializeDocumentNoManagementAccountSLRExistsException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14438,15 +13732,11 @@ func awsAwsjson11_deserializeDocumentNoManagementAccountSLRExistsException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14471,15 +13761,9 @@ func awsAwsjson11_deserializeDocumentNotOrganizationManagementAccountException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14487,15 +13771,11 @@ func awsAwsjson11_deserializeDocumentNotOrganizationManagementAccountException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14520,15 +13800,9 @@ func awsAwsjson11_deserializeDocumentNotOrganizationMasterAccountException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14536,15 +13810,11 @@ func awsAwsjson11_deserializeDocumentNotOrganizationMasterAccountException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14569,15 +13839,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14585,15 +13849,11 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14654,15 +13914,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14670,15 +13924,11 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14703,15 +13953,9 @@ func awsAwsjson11_deserializeDocumentOrganizationsNotInUseException(v **types.Or sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14719,15 +13963,11 @@ func awsAwsjson11_deserializeDocumentOrganizationsNotInUseException(v **types.Or } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14762,7 +14002,6 @@ func awsAwsjson11_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14771,7 +14010,6 @@ func awsAwsjson11_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -14845,7 +14083,6 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Fingerprint = ptr.String(jtv) } - case "ValidityEndTime": if value != nil { switch jtv := value.(type) { @@ -14861,7 +14098,6 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } } - case "ValidityStartTime": if value != nil { switch jtv := value.(type) { @@ -14877,7 +14113,6 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14890,7 +14125,6 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Value = dv } - default: _, _ = key, value @@ -15005,7 +14239,6 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -15014,7 +14247,6 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.QueryId = ptr.String(jtv) } - case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -15023,7 +14255,6 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.QueryStatus = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -15053,15 +14284,9 @@ func awsAwsjson11_deserializeDocumentQueryIdNotFoundException(v **types.QueryIdN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15069,15 +14294,11 @@ func awsAwsjson11_deserializeDocumentQueryIdNotFoundException(v **types.QueryIdN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15216,7 +14437,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.BytesScanned = ptr.Int64(i64) } - case "ResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -15229,7 +14449,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.ResultsCount = ptr.Int32(int32(i64)) } - case "TotalResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -15242,7 +14461,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.TotalResultsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15286,7 +14504,6 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.BytesScanned = ptr.Int64(i64) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15302,7 +14519,6 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } } - case "EventsMatched": if value != nil { jtv, ok := value.(json.Number) @@ -15315,7 +14531,6 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.EventsMatched = ptr.Int64(i64) } - case "EventsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -15328,7 +14543,6 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.EventsScanned = ptr.Int64(i64) } - case "ExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -15341,7 +14555,6 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.ExecutionTimeInMillis = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15381,7 +14594,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15390,7 +14602,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -15420,15 +14631,9 @@ func awsAwsjson11_deserializeDocumentResourceARNNotValidException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15436,15 +14641,11 @@ func awsAwsjson11_deserializeDocumentResourceARNNotValidException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15503,15 +14704,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15519,15 +14714,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15552,15 +14743,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15568,15 +14753,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15601,15 +14782,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotValidException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15617,15 +14792,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotValidException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15660,12 +14831,10 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceId = ptr.String(jtv) } - case "TagsList": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.TagsList, value); err != nil { return err } - default: _, _ = key, value @@ -15729,15 +14898,9 @@ func awsAwsjson11_deserializeDocumentResourceTypeNotSupportedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15745,15 +14908,11 @@ func awsAwsjson11_deserializeDocumentResourceTypeNotSupportedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15778,15 +14937,9 @@ func awsAwsjson11_deserializeDocumentS3BucketDoesNotExistException(v **types.S3B sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15794,15 +14947,11 @@ func awsAwsjson11_deserializeDocumentS3BucketDoesNotExistException(v **types.S3B } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15837,7 +14986,6 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3BucketAccessRoleArn = ptr.String(jtv) } - case "S3BucketRegion": if value != nil { jtv, ok := value.(string) @@ -15846,7 +14994,6 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3BucketRegion = ptr.String(jtv) } - case "S3LocationUri": if value != nil { jtv, ok := value.(string) @@ -15855,7 +15002,6 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3LocationUri = ptr.String(jtv) } - default: _, _ = key, value @@ -15891,7 +15037,6 @@ func awsAwsjson11_deserializeDocumentSourceConfig(v **types.SourceConfig, value if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "ApplyToAllRegions": if value != nil { jtv, ok := value.(bool) @@ -15900,7 +15045,6 @@ func awsAwsjson11_deserializeDocumentSourceConfig(v **types.SourceConfig, value } sv.ApplyToAllRegions = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15940,7 +15084,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15949,7 +15092,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15979,15 +15121,9 @@ func awsAwsjson11_deserializeDocumentTagsLimitExceededException(v **types.TagsLi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15995,15 +15131,11 @@ func awsAwsjson11_deserializeDocumentTagsLimitExceededException(v **types.TagsLi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16062,15 +15194,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16078,15 +15204,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16164,7 +15286,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -16173,7 +15294,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "HasCustomEventSelectors": if value != nil { jtv, ok := value.(bool) @@ -16182,7 +15302,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HasCustomEventSelectors = ptr.Bool(jtv) } - case "HasInsightSelectors": if value != nil { jtv, ok := value.(bool) @@ -16191,7 +15310,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HasInsightSelectors = ptr.Bool(jtv) } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -16200,7 +15318,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HomeRegion = ptr.String(jtv) } - case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -16209,7 +15326,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } - case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -16218,7 +15334,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IsMultiRegionTrail = ptr.Bool(jtv) } - case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -16227,7 +15342,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IsOrganizationTrail = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16236,7 +15350,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.KmsKeyId = ptr.String(jtv) } - case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -16245,7 +15358,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.LogFileValidationEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16254,7 +15366,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.Name = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -16263,7 +15374,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -16272,7 +15382,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.S3KeyPrefix = ptr.String(jtv) } - case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -16281,7 +15390,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.SnsTopicARN = ptr.String(jtv) } - case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -16290,7 +15398,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.SnsTopicName = ptr.String(jtv) } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -16299,7 +15406,6 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16329,15 +15435,9 @@ func awsAwsjson11_deserializeDocumentTrailAlreadyExistsException(v **types.Trail sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16345,15 +15445,11 @@ func awsAwsjson11_deserializeDocumentTrailAlreadyExistsException(v **types.Trail } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16388,7 +15484,6 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.HomeRegion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16397,7 +15492,6 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.Name = ptr.String(jtv) } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -16406,7 +15500,6 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16470,15 +15563,9 @@ func awsAwsjson11_deserializeDocumentTrailNotFoundException(v **types.TrailNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16486,15 +15573,11 @@ func awsAwsjson11_deserializeDocumentTrailNotFoundException(v **types.TrailNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16519,15 +15602,9 @@ func awsAwsjson11_deserializeDocumentTrailNotProvidedException(v **types.TrailNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16535,15 +15612,11 @@ func awsAwsjson11_deserializeDocumentTrailNotProvidedException(v **types.TrailNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16602,15 +15675,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16618,15 +15685,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16692,7 +15755,6 @@ func awsAwsjson11_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.QueryId = ptr.String(jtv) } - case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -16701,7 +15763,6 @@ func awsAwsjson11_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.QueryStatus = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -16741,12 +15802,10 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16755,7 +15814,6 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Name = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -16764,12 +15822,10 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Source = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16805,7 +15861,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -16814,7 +15869,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.BillingMode = types.BillingMode(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16830,7 +15884,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } } - case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -16839,7 +15892,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.EventDataStoreArn = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16848,7 +15900,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.KmsKeyId = ptr.String(jtv) } - case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16857,7 +15908,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.MultiRegionEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16866,7 +15916,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.Name = ptr.String(jtv) } - case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -16875,7 +15924,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.OrganizationEnabled = ptr.Bool(jtv) } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -16888,7 +15936,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16897,12 +15944,10 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.Status = types.EventDataStoreStatus(jtv) } - case "TagsList": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.TagsList, value); err != nil { return err } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16911,7 +15956,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16927,7 +15971,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } } - default: _, _ = key, value @@ -16967,7 +16010,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -16976,7 +16018,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -16985,7 +16026,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } - case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -16994,7 +16034,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IsMultiRegionTrail = ptr.Bool(jtv) } - case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -17003,7 +16042,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IsOrganizationTrail = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -17012,7 +16050,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.KmsKeyId = ptr.String(jtv) } - case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -17021,7 +16058,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.LogFileValidationEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17030,7 +16066,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.Name = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -17039,7 +16074,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -17048,7 +16082,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.S3KeyPrefix = ptr.String(jtv) } - case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -17057,7 +16090,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.SnsTopicARN = ptr.String(jtv) } - case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -17066,7 +16098,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.SnsTopicName = ptr.String(jtv) } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -17075,7 +16106,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17270,7 +16300,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.DeliveryS3Uri = ptr.String(jtv) } - case "DeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -17279,7 +16308,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.DeliveryStatus = types.DeliveryStatus(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17288,7 +16316,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.ErrorMessage = ptr.String(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -17297,12 +16324,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryId = ptr.String(jtv) } - case "QueryStatistics": if err := awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(&sv.QueryStatistics, value); err != nil { return err } - case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -17311,7 +16336,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryStatus = types.QueryStatus(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -17320,7 +16344,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -17356,7 +16379,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrailsOutput(v **DescribeTrailsOu if err := awsAwsjson11_deserializeDocumentTrailList(&sv.TrailList, value); err != nil { return err } - default: _, _ = key, value @@ -17396,7 +16418,6 @@ func awsAwsjson11_deserializeOpDocumentDisableFederationOutput(v **DisableFedera } sv.EventDataStoreArn = ptr.String(jtv) } - case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -17405,7 +16426,6 @@ func awsAwsjson11_deserializeOpDocumentDisableFederationOutput(v **DisableFedera } sv.FederationStatus = types.FederationStatus(jtv) } - default: _, _ = key, value @@ -17445,7 +16465,6 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.EventDataStoreArn = ptr.String(jtv) } - case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -17454,7 +16473,6 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.FederationRoleArn = ptr.String(jtv) } - case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -17463,7 +16481,6 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.FederationStatus = types.FederationStatus(jtv) } - default: _, _ = key, value @@ -17503,17 +16520,14 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelArn = ptr.String(jtv) } - case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "IngestionStatus": if err := awsAwsjson11_deserializeDocumentIngestionStatus(&sv.IngestionStatus, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17522,7 +16536,6 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Name = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -17531,12 +16544,10 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Source = ptr.String(jtv) } - case "SourceConfig": if err := awsAwsjson11_deserializeDocumentSourceConfig(&sv.SourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -17572,7 +16583,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -17581,7 +16591,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.BillingMode = types.BillingMode(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17597,7 +16606,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } } - case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -17606,7 +16614,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.EventDataStoreArn = ptr.String(jtv) } - case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -17615,7 +16622,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.FederationRoleArn = ptr.String(jtv) } - case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -17624,7 +16630,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.FederationStatus = types.FederationStatus(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -17633,7 +16638,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.KmsKeyId = ptr.String(jtv) } - case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17642,7 +16646,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.MultiRegionEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17651,7 +16654,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.Name = ptr.String(jtv) } - case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -17660,12 +16662,10 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.OrganizationEnabled = ptr.Bool(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentPartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -17678,7 +16678,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17687,7 +16686,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.Status = types.EventDataStoreStatus(jtv) } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17696,7 +16694,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17712,7 +16709,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } } - default: _, _ = key, value @@ -17748,12 +16744,10 @@ func awsAwsjson11_deserializeOpDocumentGetEventSelectorsOutput(v **GetEventSelec if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "EventSelectors": if err := awsAwsjson11_deserializeDocumentEventSelectors(&sv.EventSelectors, value); err != nil { return err } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -17762,7 +16756,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventSelectorsOutput(v **GetEventSelec } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17809,12 +16802,10 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } - case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } - case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -17830,7 +16821,6 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } - case "ImportId": if value != nil { jtv, ok := value.(string) @@ -17839,17 +16829,14 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportId = ptr.String(jtv) } - case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } - case "ImportStatistics": if err := awsAwsjson11_deserializeDocumentImportStatistics(&sv.ImportStatistics, value); err != nil { return err } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -17858,7 +16845,6 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportStatus = types.ImportStatus(jtv) } - case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -17874,7 +16860,6 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17890,7 +16875,6 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } - default: _, _ = key, value @@ -17930,7 +16914,6 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.EventDataStoreArn = ptr.String(jtv) } - case "InsightsDestination": if value != nil { jtv, ok := value.(string) @@ -17939,12 +16922,10 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.InsightsDestination = ptr.String(jtv) } - case "InsightSelectors": if err := awsAwsjson11_deserializeDocumentInsightSelectors(&sv.InsightSelectors, value); err != nil { return err } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -17953,7 +16934,6 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17993,7 +16973,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.ErrorMessage = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18002,17 +16981,14 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } - case "QueryResultRows": if err := awsAwsjson11_deserializeDocumentQueryResultRows(&sv.QueryResultRows, value); err != nil { return err } - case "QueryStatistics": if err := awsAwsjson11_deserializeDocumentQueryStatistics(&sv.QueryStatistics, value); err != nil { return err } - case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -18021,7 +16997,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.QueryStatus = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -18061,7 +17036,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourceArn = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -18070,7 +17044,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -18106,7 +17079,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailOutput(v **GetTrailOutput, value if err := awsAwsjson11_deserializeDocumentTrail(&sv.Trail, value); err != nil { return err } - default: _, _ = key, value @@ -18146,7 +17118,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.IsLogging = ptr.Bool(jtv) } - case "LatestCloudWatchLogsDeliveryError": if value != nil { jtv, ok := value.(string) @@ -18155,7 +17126,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestCloudWatchLogsDeliveryError = ptr.String(jtv) } - case "LatestCloudWatchLogsDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -18171,7 +17141,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "LatestDeliveryAttemptSucceeded": if value != nil { jtv, ok := value.(string) @@ -18180,7 +17149,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryAttemptSucceeded = ptr.String(jtv) } - case "LatestDeliveryAttemptTime": if value != nil { jtv, ok := value.(string) @@ -18189,7 +17157,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryAttemptTime = ptr.String(jtv) } - case "LatestDeliveryError": if value != nil { jtv, ok := value.(string) @@ -18198,7 +17165,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryError = ptr.String(jtv) } - case "LatestDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -18214,7 +17180,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "LatestDigestDeliveryError": if value != nil { jtv, ok := value.(string) @@ -18223,7 +17188,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDigestDeliveryError = ptr.String(jtv) } - case "LatestDigestDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -18239,7 +17203,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "LatestNotificationAttemptSucceeded": if value != nil { jtv, ok := value.(string) @@ -18248,7 +17211,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationAttemptSucceeded = ptr.String(jtv) } - case "LatestNotificationAttemptTime": if value != nil { jtv, ok := value.(string) @@ -18257,7 +17219,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationAttemptTime = ptr.String(jtv) } - case "LatestNotificationError": if value != nil { jtv, ok := value.(string) @@ -18266,7 +17227,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationError = ptr.String(jtv) } - case "LatestNotificationTime": if value != nil { switch jtv := value.(type) { @@ -18282,7 +17242,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "StartLoggingTime": if value != nil { switch jtv := value.(type) { @@ -18298,7 +17257,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "StopLoggingTime": if value != nil { switch jtv := value.(type) { @@ -18314,7 +17272,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } - case "TimeLoggingStarted": if value != nil { jtv, ok := value.(string) @@ -18323,7 +17280,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.TimeLoggingStarted = ptr.String(jtv) } - case "TimeLoggingStopped": if value != nil { jtv, ok := value.(string) @@ -18332,7 +17288,6 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.TimeLoggingStopped = ptr.String(jtv) } - default: _, _ = key, value @@ -18368,7 +17323,6 @@ func awsAwsjson11_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsAwsjson11_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18377,7 +17331,6 @@ func awsAwsjson11_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18413,7 +17366,6 @@ func awsAwsjson11_deserializeOpDocumentListEventDataStoresOutput(v **ListEventDa if err := awsAwsjson11_deserializeDocumentEventDataStores(&sv.EventDataStores, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18422,7 +17374,6 @@ func awsAwsjson11_deserializeOpDocumentListEventDataStoresOutput(v **ListEventDa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18458,7 +17409,6 @@ func awsAwsjson11_deserializeOpDocumentListImportFailuresOutput(v **ListImportFa if err := awsAwsjson11_deserializeDocumentImportFailureList(&sv.Failures, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18467,7 +17417,6 @@ func awsAwsjson11_deserializeOpDocumentListImportFailuresOutput(v **ListImportFa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18503,7 +17452,6 @@ func awsAwsjson11_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsAwsjson11_deserializeDocumentImportsList(&sv.Imports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18512,7 +17460,6 @@ func awsAwsjson11_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18552,7 +17499,6 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.ErrorCode = ptr.String(jtv) } - case "EventName": if value != nil { jtv, ok := value.(string) @@ -18561,7 +17507,6 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.EventName = ptr.String(jtv) } - case "EventSource": if value != nil { jtv, ok := value.(string) @@ -18570,7 +17515,6 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.EventSource = ptr.String(jtv) } - case "InsightType": if value != nil { jtv, ok := value.(string) @@ -18579,7 +17523,6 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.InsightType = types.InsightType(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18588,17 +17531,14 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.NextToken = ptr.String(jtv) } - case "Timestamps": if err := awsAwsjson11_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentInsightsMetricValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -18638,12 +17578,10 @@ func awsAwsjson11_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOu } sv.NextToken = ptr.String(jtv) } - case "PublicKeyList": if err := awsAwsjson11_deserializeDocumentPublicKeyList(&sv.PublicKeyList, value); err != nil { return err } - default: _, _ = key, value @@ -18683,12 +17621,10 @@ func awsAwsjson11_deserializeOpDocumentListQueriesOutput(v **ListQueriesOutput, } sv.NextToken = ptr.String(jtv) } - case "Queries": if err := awsAwsjson11_deserializeDocumentQueries(&sv.Queries, value); err != nil { return err } - default: _, _ = key, value @@ -18728,12 +17664,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "ResourceTagList": if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTagList, value); err != nil { return err } - default: _, _ = key, value @@ -18773,12 +17707,10 @@ func awsAwsjson11_deserializeOpDocumentListTrailsOutput(v **ListTrailsOutput, va } sv.NextToken = ptr.String(jtv) } - case "Trails": if err := awsAwsjson11_deserializeDocumentTrails(&sv.Trails, value); err != nil { return err } - default: _, _ = key, value @@ -18814,7 +17746,6 @@ func awsAwsjson11_deserializeOpDocumentLookupEventsOutput(v **LookupEventsOutput if err := awsAwsjson11_deserializeDocumentEventsList(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18823,7 +17754,6 @@ func awsAwsjson11_deserializeOpDocumentLookupEventsOutput(v **LookupEventsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18859,12 +17789,10 @@ func awsAwsjson11_deserializeOpDocumentPutEventSelectorsOutput(v **PutEventSelec if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "EventSelectors": if err := awsAwsjson11_deserializeDocumentEventSelectors(&sv.EventSelectors, value); err != nil { return err } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -18873,7 +17801,6 @@ func awsAwsjson11_deserializeOpDocumentPutEventSelectorsOutput(v **PutEventSelec } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18913,7 +17840,6 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.EventDataStoreArn = ptr.String(jtv) } - case "InsightsDestination": if value != nil { jtv, ok := value.(string) @@ -18922,12 +17848,10 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.InsightsDestination = ptr.String(jtv) } - case "InsightSelectors": if err := awsAwsjson11_deserializeDocumentInsightSelectors(&sv.InsightSelectors, value); err != nil { return err } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -18936,7 +17860,6 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18976,7 +17899,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -18985,7 +17907,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -19083,7 +18004,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -19092,7 +18012,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.BillingMode = types.BillingMode(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19108,7 +18027,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } } - case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -19117,7 +18035,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.EventDataStoreArn = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19126,7 +18043,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.KmsKeyId = ptr.String(jtv) } - case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19135,7 +18051,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.MultiRegionEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19144,7 +18059,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.Name = ptr.String(jtv) } - case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -19153,7 +18067,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.OrganizationEnabled = ptr.Bool(jtv) } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -19166,7 +18079,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19175,7 +18087,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.Status = types.EventDataStoreStatus(jtv) } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19184,7 +18095,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19200,7 +18110,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } } - default: _, _ = key, value @@ -19278,12 +18187,10 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } - case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -19299,7 +18206,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - case "ImportId": if value != nil { jtv, ok := value.(string) @@ -19308,12 +18214,10 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } - case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -19322,7 +18226,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } - case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -19338,7 +18241,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19354,7 +18256,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - default: _, _ = key, value @@ -19425,7 +18326,6 @@ func awsAwsjson11_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -19503,12 +18403,10 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } - case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } - case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -19524,7 +18422,6 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } - case "ImportId": if value != nil { jtv, ok := value.(string) @@ -19533,17 +18430,14 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } sv.ImportId = ptr.String(jtv) } - case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } - case "ImportStatistics": if err := awsAwsjson11_deserializeDocumentImportStatistics(&sv.ImportStatistics, value); err != nil { return err } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -19552,7 +18446,6 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } sv.ImportStatus = types.ImportStatus(jtv) } - case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -19568,7 +18461,6 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19584,7 +18476,6 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } - default: _, _ = key, value @@ -19655,12 +18546,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19669,7 +18558,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Name = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -19678,7 +18566,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -19714,7 +18601,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } - case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -19723,7 +18609,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.BillingMode = types.BillingMode(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19739,7 +18624,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } } - case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -19748,7 +18632,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.EventDataStoreArn = ptr.String(jtv) } - case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -19757,7 +18640,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.FederationRoleArn = ptr.String(jtv) } - case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -19766,7 +18648,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.FederationStatus = types.FederationStatus(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19775,7 +18656,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.KmsKeyId = ptr.String(jtv) } - case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19784,7 +18664,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.MultiRegionEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19793,7 +18672,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.Name = ptr.String(jtv) } - case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -19802,7 +18680,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.OrganizationEnabled = ptr.Bool(jtv) } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -19815,7 +18692,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19824,7 +18700,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.Status = types.EventDataStoreStatus(jtv) } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19833,7 +18708,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } - case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19849,7 +18723,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } } - default: _, _ = key, value @@ -19889,7 +18762,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -19898,7 +18770,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -19907,7 +18778,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } - case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -19916,7 +18786,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IsMultiRegionTrail = ptr.Bool(jtv) } - case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -19925,7 +18794,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IsOrganizationTrail = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19934,7 +18802,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.KmsKeyId = ptr.String(jtv) } - case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -19943,7 +18810,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.LogFileValidationEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19952,7 +18818,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.Name = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -19961,7 +18826,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -19970,7 +18834,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.S3KeyPrefix = ptr.String(jtv) } - case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -19979,7 +18842,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.SnsTopicARN = ptr.String(jtv) } - case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -19988,7 +18850,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.SnsTopicName = ptr.String(jtv) } - case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -19997,7 +18858,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.TrailARN = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/cloudtraildata/deserializers.go b/service/cloudtraildata/deserializers.go index febe2a980f7..044ac3afc2e 100644 --- a/service/cloudtraildata/deserializers.go +++ b/service/cloudtraildata/deserializers.go @@ -186,12 +186,10 @@ func awsRestjson1_deserializeOpDocumentPutAuditEventsOutput(v **PutAuditEventsOu if err := awsRestjson1_deserializeDocumentResultErrorEntries(&sv.Failed, value); err != nil { return err } - case "successful": if err := awsRestjson1_deserializeDocumentAuditEventResultEntries(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -481,7 +479,6 @@ func awsRestjson1_deserializeDocumentAuditEventResultEntry(v **types.AuditEventR } sv.EventID = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -490,7 +487,6 @@ func awsRestjson1_deserializeDocumentAuditEventResultEntry(v **types.AuditEventR } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -520,15 +516,9 @@ func awsRestjson1_deserializeDocumentChannelInsufficientPermission(v **types.Cha sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -536,15 +526,11 @@ func awsRestjson1_deserializeDocumentChannelInsufficientPermission(v **types.Cha } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -569,15 +555,9 @@ func awsRestjson1_deserializeDocumentChannelNotFound(v **types.ChannelNotFound, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -585,15 +565,11 @@ func awsRestjson1_deserializeDocumentChannelNotFound(v **types.ChannelNotFound, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -618,15 +594,9 @@ func awsRestjson1_deserializeDocumentChannelUnsupportedSchema(v **types.ChannelU sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -634,15 +604,11 @@ func awsRestjson1_deserializeDocumentChannelUnsupportedSchema(v **types.ChannelU } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -667,15 +633,9 @@ func awsRestjson1_deserializeDocumentDuplicatedAuditEventId(v **types.Duplicated sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -683,15 +643,11 @@ func awsRestjson1_deserializeDocumentDuplicatedAuditEventId(v **types.Duplicated } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -716,15 +672,9 @@ func awsRestjson1_deserializeDocumentInvalidChannelARN(v **types.InvalidChannelA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -732,15 +682,11 @@ func awsRestjson1_deserializeDocumentInvalidChannelARN(v **types.InvalidChannelA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -809,7 +755,6 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -818,7 +763,6 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -827,7 +771,6 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -857,15 +800,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -873,15 +810,11 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/cloudwatchevents/deserializers.go b/service/cloudwatchevents/deserializers.go index 3ab0a89d95f..70987fb3eb8 100644 --- a/service/cloudwatchevents/deserializers.go +++ b/service/cloudwatchevents/deserializers.go @@ -6244,7 +6244,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -6253,7 +6252,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6262,7 +6260,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ConnectionArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6278,7 +6275,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6283,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } - case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -6296,7 +6291,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationEndpoint = ptr.String(jtv) } - case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -6309,7 +6303,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6325,7 +6318,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6334,7 +6326,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6408,7 +6399,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6424,7 +6414,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } } - case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -6437,7 +6426,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventCount = i64 } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -6446,7 +6434,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventSourceArn = ptr.String(jtv) } - case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -6459,7 +6446,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.RetentionDays = ptr.Int32(int32(i64)) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6472,7 +6458,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.SizeBytes = i64 } - case "State": if value != nil { jtv, ok := value.(string) @@ -6481,7 +6466,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6490,7 +6474,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6564,17 +6547,14 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -6618,7 +6598,6 @@ func awsAwsjson11_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = int32(i64) } - default: _, _ = key, value @@ -6654,7 +6633,6 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, if err := awsAwsjson11_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } - case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -6663,7 +6641,6 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobDefinition = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -6672,12 +6649,10 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobName = ptr.String(jtv) } - case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - default: _, _ = key, value @@ -6721,7 +6696,6 @@ func awsAwsjson11_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = int32(i64) } - default: _, _ = key, value @@ -6799,7 +6773,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } - case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -6808,7 +6781,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -6821,7 +6793,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -6851,15 +6822,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6867,15 +6832,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6910,7 +6871,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6919,7 +6879,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -6928,7 +6887,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6944,7 +6902,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -6960,7 +6917,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6976,7 +6932,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6985,7 +6940,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6994,7 +6948,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7034,7 +6987,6 @@ func awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(v ** } sv.ApiKeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -7070,22 +7022,18 @@ func awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(v **types. if err := awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(&sv.ApiKeyAuthParameters, value); err != nil { return err } - case "BasicAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(&sv.BasicAuthParameters, value); err != nil { return err } - case "InvocationHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.InvocationHttpParameters, value); err != nil { return err } - case "OAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(&sv.OAuthParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7125,7 +7073,6 @@ func awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(v **t } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -7165,7 +7112,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7174,7 +7120,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7183,7 +7128,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7257,7 +7201,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7266,7 +7209,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7275,7 +7217,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7345,17 +7286,14 @@ func awsAwsjson11_deserializeDocumentConnectionHttpParameters(v **types.Connecti if err := awsAwsjson11_deserializeDocumentConnectionBodyParametersList(&sv.BodyParameters, value); err != nil { return err } - case "HeaderParameters": if err := awsAwsjson11_deserializeDocumentConnectionHeaderParametersList(&sv.HeaderParameters, value); err != nil { return err } - case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentConnectionQueryStringParametersList(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7395,7 +7333,6 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(v * } sv.ClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -7435,12 +7372,10 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.AuthorizationEndpoint = ptr.String(jtv) } - case "ClientParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(&sv.ClientParameters, value); err != nil { return err } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -7449,12 +7384,10 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.HttpMethod = types.ConnectionOAuthHttpMethod(jtv) } - case "OAuthHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.OAuthHttpParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7494,7 +7427,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7435,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7443,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7620,7 +7550,6 @@ func awsAwsjson11_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -7656,7 +7585,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -7665,7 +7593,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = jtv } - case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -7674,7 +7601,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = jtv } - case "Group": if value != nil { jtv, ok := value.(string) @@ -7683,7 +7609,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } - case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -7692,22 +7617,18 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } - case "NetworkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "PlacementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "PlacementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -7716,7 +7637,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } - case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -7725,7 +7645,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } - case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -7734,12 +7653,10 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -7752,7 +7669,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } - case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -7761,7 +7677,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7801,7 +7716,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7810,7 +7724,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Name = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -7819,7 +7732,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -7893,7 +7805,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -7902,7 +7813,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.CreatedBy = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7918,7 +7828,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -7934,7 +7843,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7943,7 +7851,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -7952,7 +7859,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -8058,17 +7964,14 @@ func awsAwsjson11_deserializeDocumentHttpParameters(v **types.HttpParameters, va if err := awsAwsjson11_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } - case "PathParameterValues": if err := awsAwsjson11_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } - case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -8098,15 +8001,9 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8114,15 +8011,11 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8153,7 +8046,6 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer if err := awsAwsjson11_deserializeDocumentTransformerPaths(&sv.InputPathsMap, value); err != nil { return err } - case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -8162,7 +8054,6 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer } sv.InputTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -8192,15 +8083,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8208,15 +8093,11 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8241,15 +8122,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8257,15 +8132,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8290,15 +8161,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8306,15 +8171,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8349,7 +8210,6 @@ func awsAwsjson11_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKeyPath = ptr.String(jtv) } - default: _, _ = key, value @@ -8379,15 +8239,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8395,15 +8249,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8428,15 +8278,9 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8444,15 +8288,11 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8483,7 +8323,6 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8513,15 +8352,9 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8529,15 +8362,11 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8572,7 +8401,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8581,7 +8409,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8621,7 +8448,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.Account = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8637,7 +8463,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -8653,7 +8478,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } - case "State": if value != nil { jtv, ok := value.(string) @@ -8662,7 +8486,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -8806,7 +8629,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8815,7 +8637,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } - default: _, _ = key, value @@ -8923,7 +8744,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8932,7 +8752,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } - default: _, _ = key, value @@ -8962,15 +8781,9 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8978,15 +8791,11 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9021,7 +8830,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9030,7 +8838,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorMessage = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -9039,7 +8846,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -9113,7 +8919,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9122,7 +8927,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorMessage = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -9131,7 +8935,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -9205,7 +9008,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9214,7 +9016,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorMessage = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9223,7 +9024,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -9333,7 +9133,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Database = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -9342,7 +9141,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.DbUser = ptr.String(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -9351,7 +9149,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.SecretManagerArn = ptr.String(jtv) } - case "Sql": if value != nil { jtv, ok := value.(string) @@ -9360,7 +9157,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Sql = ptr.String(jtv) } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -9369,7 +9165,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.StatementName = ptr.String(jtv) } - case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -9378,7 +9173,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.WithEvent = jtv } - default: _, _ = key, value @@ -9418,7 +9212,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9427,7 +9220,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorMessage = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9436,7 +9228,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -9517,7 +9308,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -9533,7 +9323,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -9542,7 +9331,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.EventSourceArn = ptr.String(jtv) } - case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -9558,7 +9346,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -9574,7 +9361,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -9583,7 +9369,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.ReplayName = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -9599,7 +9384,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9608,7 +9392,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -9617,7 +9400,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -9657,12 +9439,10 @@ func awsAwsjson11_deserializeDocumentReplayDestination(v **types.ReplayDestinati } sv.Arn = ptr.String(jtv) } - case "FilterArns": if err := awsAwsjson11_deserializeDocumentReplayDestinationFilters(&sv.FilterArns, value); err != nil { return err } - default: _, _ = key, value @@ -9762,15 +9542,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9778,15 +9552,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9811,15 +9581,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9827,15 +9591,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9874,7 +9634,6 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -9887,7 +9646,6 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9927,7 +9685,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9936,7 +9693,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Description = ptr.String(jtv) } - case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9701,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventBusName = ptr.String(jtv) } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -9954,7 +9709,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventPattern = ptr.String(jtv) } - case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -9963,7 +9717,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ManagedBy = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9972,7 +9725,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9981,7 +9733,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RoleArn = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -9990,7 +9741,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ScheduleExpression = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9999,7 +9749,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.State = types.RuleState(jtv) } - default: _, _ = key, value @@ -10105,7 +9854,6 @@ func awsAwsjson11_deserializeDocumentRunCommandParameters(v **types.RunCommandPa if err := awsAwsjson11_deserializeDocumentRunCommandTargets(&sv.RunCommandTargets, value); err != nil { return err } - default: _, _ = key, value @@ -10145,12 +9893,10 @@ func awsAwsjson11_deserializeDocumentRunCommandTarget(v **types.RunCommandTarget } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentRunCommandTargetValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -10260,7 +10006,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10269,7 +10014,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10339,7 +10083,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } - default: _, _ = key, value @@ -10379,7 +10122,6 @@ func awsAwsjson11_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -10455,7 +10197,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10464,7 +10205,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10538,27 +10278,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } - case "BatchParameters": if err := awsAwsjson11_deserializeDocumentBatchParameters(&sv.BatchParameters, value); err != nil { return err } - case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "EcsParameters": if err := awsAwsjson11_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } - case "HttpParameters": if err := awsAwsjson11_deserializeDocumentHttpParameters(&sv.HttpParameters, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10567,7 +10302,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } - case "Input": if value != nil { jtv, ok := value.(string) @@ -10576,7 +10310,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } - case "InputPath": if value != nil { jtv, ok := value.(string) @@ -10585,27 +10318,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.InputPath = ptr.String(jtv) } - case "InputTransformer": if err := awsAwsjson11_deserializeDocumentInputTransformer(&sv.InputTransformer, value); err != nil { return err } - case "KinesisParameters": if err := awsAwsjson11_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } - case "RedshiftDataParameters": if err := awsAwsjson11_deserializeDocumentRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } - case "RetryPolicy": if err := awsAwsjson11_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10614,22 +10342,18 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } - case "RunCommandParameters": if err := awsAwsjson11_deserializeDocumentRunCommandParameters(&sv.RunCommandParameters, value); err != nil { return err } - case "SageMakerPipelineParameters": if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } - case "SqsParameters": if err := awsAwsjson11_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } - default: _, _ = key, value @@ -10739,7 +10463,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.ReplayArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10748,7 +10471,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10757,7 +10479,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -10797,7 +10518,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -10806,7 +10526,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10822,7 +10541,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10838,7 +10556,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } - default: _, _ = key, value @@ -10878,7 +10595,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10894,7 +10610,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10903,7 +10618,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10912,7 +10626,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -10952,7 +10665,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -10961,7 +10673,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10977,7 +10688,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10993,7 +10703,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } - default: _, _ = key, value @@ -11033,7 +10742,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.EventBusArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11073,7 +10781,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePartnerEventSourceOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11113,7 +10820,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -11122,7 +10828,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11138,7 +10843,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -11154,7 +10858,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11170,7 +10873,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - default: _, _ = key, value @@ -11272,7 +10974,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -11281,7 +10982,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11297,7 +10997,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -11313,7 +11012,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11329,7 +11027,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - default: _, _ = key, value @@ -11369,7 +11066,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -11378,7 +11074,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -11387,7 +11082,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ConnectionArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11403,7 +11097,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11412,7 +11105,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Description = ptr.String(jtv) } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -11421,7 +11113,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } - case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -11430,7 +11121,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationEndpoint = ptr.String(jtv) } - case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -11443,7 +11133,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11459,7 +11148,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11468,7 +11156,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11508,7 +11195,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveArn = ptr.String(jtv) } - case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -11517,7 +11203,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11533,7 +11218,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11542,7 +11226,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.Description = ptr.String(jtv) } - case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -11555,7 +11238,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventCount = i64 } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -11564,7 +11246,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventPattern = ptr.String(jtv) } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -11573,7 +11254,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventSourceArn = ptr.String(jtv) } - case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -11586,7 +11266,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.RetentionDays = ptr.Int32(int32(i64)) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11599,7 +11278,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.SizeBytes = i64 } - case "State": if value != nil { jtv, ok := value.(string) @@ -11608,7 +11286,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11617,7 +11294,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -11657,12 +11333,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } - case "AuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(&sv.AuthParameters, value); err != nil { return err } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -11671,7 +11345,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -11680,7 +11353,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11696,7 +11368,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11705,7 +11376,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Description = ptr.String(jtv) } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -11721,7 +11391,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11737,7 +11406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11746,7 +11414,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Name = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -11755,7 +11422,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.SecretArn = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11764,7 +11430,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -11804,7 +11469,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11813,7 +11477,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Name = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -11822,7 +11485,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -11862,7 +11524,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11871,7 +11532,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.CreatedBy = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11887,7 +11547,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -11903,7 +11562,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11912,7 +11570,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11921,7 +11578,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -11961,7 +11617,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11970,7 +11625,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12010,12 +11664,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.Description = ptr.String(jtv) } - case "Destination": if err := awsAwsjson11_deserializeDocumentReplayDestination(&sv.Destination, value); err != nil { return err } - case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -12031,7 +11683,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -12047,7 +11698,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -12056,7 +11706,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.EventSourceArn = ptr.String(jtv) } - case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -12072,7 +11721,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "ReplayArn": if value != nil { jtv, ok := value.(string) @@ -12081,7 +11729,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayArn = ptr.String(jtv) } - case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -12097,7 +11744,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -12106,7 +11752,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayName = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -12122,7 +11767,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12131,7 +11775,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12140,7 +11783,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -12180,7 +11822,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -12189,7 +11830,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12198,7 +11838,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Description = ptr.String(jtv) } - case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -12207,7 +11846,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventBusName = ptr.String(jtv) } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -12216,7 +11854,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventPattern = ptr.String(jtv) } - case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -12225,7 +11862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ManagedBy = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12234,7 +11870,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12243,7 +11878,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.RoleArn = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -12252,7 +11886,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ScheduleExpression = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -12261,7 +11894,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.State = types.RuleState(jtv) } - default: _, _ = key, value @@ -12297,7 +11929,6 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest if err := awsAwsjson11_deserializeDocumentApiDestinationResponseList(&sv.ApiDestinations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12306,7 +11937,6 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12342,7 +11972,6 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson11_deserializeDocumentArchiveResponseList(&sv.Archives, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12351,7 +11980,6 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12387,7 +12015,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson11_deserializeDocumentConnectionResponseList(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12396,7 +12023,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12432,7 +12058,6 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu if err := awsAwsjson11_deserializeDocumentEventBusList(&sv.EventBuses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12441,7 +12066,6 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12477,7 +12101,6 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc if err := awsAwsjson11_deserializeDocumentEventSourceList(&sv.EventSources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12486,7 +12109,6 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12526,12 +12148,10 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourceAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "PartnerEventSourceAccounts": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceAccountList(&sv.PartnerEventSourceAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -12571,12 +12191,10 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourcesOutput(v **ListPar } sv.NextToken = ptr.String(jtv) } - case "PartnerEventSources": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceList(&sv.PartnerEventSources, value); err != nil { return err } - default: _, _ = key, value @@ -12616,12 +12234,10 @@ func awsAwsjson11_deserializeOpDocumentListReplaysOutput(v **ListReplaysOutput, } sv.NextToken = ptr.String(jtv) } - case "Replays": if err := awsAwsjson11_deserializeDocumentReplayList(&sv.Replays, value); err != nil { return err } - default: _, _ = key, value @@ -12661,12 +12277,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleNamesByTargetOutput(v **ListRuleN } sv.NextToken = ptr.String(jtv) } - case "RuleNames": if err := awsAwsjson11_deserializeDocumentRuleNameList(&sv.RuleNames, value); err != nil { return err } - default: _, _ = key, value @@ -12706,12 +12320,10 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleResponseList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -12747,7 +12359,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12787,12 +12398,10 @@ func awsAwsjson11_deserializeOpDocumentListTargetsByRuleOutput(v **ListTargetsBy } sv.NextToken = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -12828,7 +12437,6 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsAwsjson11_deserializeDocumentPutEventsResultEntryList(&sv.Entries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12841,7 +12449,6 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -12877,7 +12484,6 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven if err := awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntryList(&sv.Entries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12890,7 +12496,6 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -12930,7 +12535,6 @@ func awsAwsjson11_deserializeOpDocumentPutRuleOutput(v **PutRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12966,7 +12570,6 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va if err := awsAwsjson11_deserializeDocumentPutTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12979,7 +12582,6 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -13015,7 +12617,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp if err := awsAwsjson11_deserializeDocumentRemoveTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -13028,7 +12629,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -13068,7 +12668,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.ReplayArn = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -13084,7 +12683,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13093,7 +12691,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13102,7 +12699,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13173,7 +12769,6 @@ func awsAwsjson11_deserializeOpDocumentTestEventPatternOutput(v **TestEventPatte } sv.Result = jtv } - default: _, _ = key, value @@ -13244,7 +12839,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -13253,7 +12847,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13269,7 +12862,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13285,7 +12877,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } - default: _, _ = key, value @@ -13325,7 +12916,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13341,7 +12931,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13350,7 +12939,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13359,7 +12947,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13399,7 +12986,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -13408,7 +12994,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13424,7 +13009,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -13440,7 +13024,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13456,7 +13039,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - default: _, _ = key, value diff --git a/service/cloudwatchlogs/deserializers.go b/service/cloudwatchlogs/deserializers.go index 308ddeb50c9..40f1df92fae 100644 --- a/service/cloudwatchlogs/deserializers.go +++ b/service/cloudwatchlogs/deserializers.go @@ -8767,7 +8767,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.IngestionTime = ptr.Int64(i64) } - case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -8776,7 +8775,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.LogGroupIdentifier = ptr.String(jtv) } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -8785,7 +8783,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.LogStreamName = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8794,7 +8791,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.Message = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8807,7 +8803,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.Timestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -8847,7 +8842,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionMetadata(v **types.LiveTailS } sv.Sampled = jtv } - default: _, _ = key, value @@ -8921,22 +8915,18 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.LogEventFilterPattern = ptr.String(jtv) } - case "logGroupIdentifiers": if err := awsAwsjson11_deserializeDocumentStartLiveTailLogGroupIdentifiers(&sv.LogGroupIdentifiers, value); err != nil { return err } - case "logStreamNamePrefixes": if err := awsAwsjson11_deserializeDocumentInputLogStreamNames(&sv.LogStreamNamePrefixes, value); err != nil { return err } - case "logStreamNames": if err := awsAwsjson11_deserializeDocumentInputLogStreamNames(&sv.LogStreamNames, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8945,7 +8935,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.RequestId = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8954,7 +8943,6 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8990,12 +8978,10 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionUpdate(v **types.LiveTailSes if err := awsAwsjson11_deserializeDocumentLiveTailSessionMetadata(&sv.SessionMetadata, value); err != nil { return err } - case "sessionResults": if err := awsAwsjson11_deserializeDocumentLiveTailSessionResults(&sv.SessionResults, value); err != nil { return err } - default: _, _ = key, value @@ -9025,15 +9011,9 @@ func awsAwsjson11_deserializeDocumentSessionStreamingException(v **types.Session sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9041,15 +9021,11 @@ func awsAwsjson11_deserializeDocumentSessionStreamingException(v **types.Session } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9074,15 +9050,9 @@ func awsAwsjson11_deserializeDocumentSessionTimeoutException(v **types.SessionTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9090,15 +9060,11 @@ func awsAwsjson11_deserializeDocumentSessionTimeoutException(v **types.SessionTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9821,15 +9787,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9837,15 +9797,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9914,7 +9870,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.AccountId = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(json.Number) @@ -9927,7 +9882,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.LastUpdatedTime = ptr.Int64(i64) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -9936,7 +9890,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9898,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyName = ptr.String(jtv) } - case "policyType": if value != nil { jtv, ok := value.(string) @@ -9954,7 +9906,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } - case "scope": if value != nil { jtv, ok := value.(string) @@ -9963,7 +9914,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.Scope = types.Scope(jtv) } - case "selectionCriteria": if value != nil { jtv, ok := value.(string) @@ -9972,7 +9922,6 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.SelectionCriteria = ptr.String(jtv) } - default: _, _ = key, value @@ -10116,7 +10065,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Active = ptr.Bool(jtv) } - case "anomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -10125,7 +10073,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "anomalyId": if value != nil { jtv, ok := value.(string) @@ -10134,7 +10081,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10143,7 +10089,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Description = ptr.String(jtv) } - case "firstSeen": if value != nil { jtv, ok := value.(json.Number) @@ -10156,12 +10101,10 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.FirstSeen = i64 } - case "histogram": if err := awsAwsjson11_deserializeDocumentHistogram(&sv.Histogram, value); err != nil { return err } - case "isPatternLevelSuppression": if value != nil { jtv, ok := value.(bool) @@ -10170,7 +10113,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.IsPatternLevelSuppression = ptr.Bool(jtv) } - case "lastSeen": if value != nil { jtv, ok := value.(json.Number) @@ -10183,17 +10125,14 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.LastSeen = i64 } - case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } - case "logSamples": if err := awsAwsjson11_deserializeDocumentLogSamples(&sv.LogSamples, value); err != nil { return err } - case "patternId": if value != nil { jtv, ok := value.(string) @@ -10202,7 +10141,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternId = ptr.String(jtv) } - case "patternRegex": if value != nil { jtv, ok := value.(string) @@ -10211,7 +10149,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternRegex = ptr.String(jtv) } - case "patternString": if value != nil { jtv, ok := value.(string) @@ -10220,12 +10157,10 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternString = ptr.String(jtv) } - case "patternTokens": if err := awsAwsjson11_deserializeDocumentPatternTokens(&sv.PatternTokens, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(string) @@ -10234,7 +10169,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Priority = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -10243,7 +10177,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.State = types.State(jtv) } - case "suppressed": if value != nil { jtv, ok := value.(bool) @@ -10252,7 +10185,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Suppressed = ptr.Bool(jtv) } - case "suppressedDate": if value != nil { jtv, ok := value.(json.Number) @@ -10265,7 +10197,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.SuppressedDate = i64 } - case "suppressedUntil": if value != nil { jtv, ok := value.(json.Number) @@ -10278,7 +10209,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.SuppressedUntil = i64 } - default: _, _ = key, value @@ -10318,7 +10248,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "anomalyDetectorStatus": if value != nil { jtv, ok := value.(string) @@ -10327,7 +10256,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyDetectorStatus = types.AnomalyDetectorStatus(jtv) } - case "anomalyVisibilityTime": if value != nil { jtv, ok := value.(json.Number) @@ -10340,7 +10268,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyVisibilityTime = ptr.Int64(i64) } - case "creationTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -10353,7 +10280,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.CreationTimeStamp = i64 } - case "detectorName": if value != nil { jtv, ok := value.(string) @@ -10362,7 +10288,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.DetectorName = ptr.String(jtv) } - case "evaluationFrequency": if value != nil { jtv, ok := value.(string) @@ -10371,7 +10296,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.EvaluationFrequency = types.EvaluationFrequency(jtv) } - case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -10380,7 +10304,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.FilterPattern = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10389,7 +10312,6 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.KmsKeyId = ptr.String(jtv) } - case "lastModifiedTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -10402,12 +10324,10 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.LastModifiedTimeStamp = i64 } - case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } - default: _, _ = key, value @@ -10481,32 +10401,26 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.AllowedActionForAllowVendedLogsDeliveryForResource = ptr.String(jtv) } - case "allowedFieldDelimiters": if err := awsAwsjson11_deserializeDocumentAllowedFieldDelimiters(&sv.AllowedFieldDelimiters, value); err != nil { return err } - case "allowedFields": if err := awsAwsjson11_deserializeDocumentAllowedFields(&sv.AllowedFields, value); err != nil { return err } - case "allowedOutputFormats": if err := awsAwsjson11_deserializeDocumentOutputFormats(&sv.AllowedOutputFormats, value); err != nil { return err } - case "allowedSuffixPathFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.AllowedSuffixPathFields, value); err != nil { return err } - case "defaultDeliveryConfigValues": if err := awsAwsjson11_deserializeDocumentConfigurationTemplateDeliveryConfigValues(&sv.DefaultDeliveryConfigValues, value); err != nil { return err } - case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10515,7 +10429,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } - case "logType": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10437,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.LogType = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10533,7 +10445,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.ResourceType = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -10542,7 +10453,6 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.Service = ptr.String(jtv) } - default: _, _ = key, value @@ -10582,17 +10492,14 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplateDeliveryConfigValues(v } sv.FieldDelimiter = ptr.String(jtv) } - case "recordFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.RecordFields, value); err != nil { return err } - case "s3DeliveryConfiguration": if err := awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(&sv.S3DeliveryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10656,15 +10563,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10672,15 +10573,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10705,13 +10602,7 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "expectedSequenceToken": if value != nil { @@ -10721,8 +10612,7 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data } sv.ExpectedSequenceToken = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10730,15 +10620,11 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10807,7 +10693,6 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.Arn = ptr.String(jtv) } - case "deliveryDestinationArn": if value != nil { jtv, ok := value.(string) @@ -10816,7 +10701,6 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliveryDestinationArn = ptr.String(jtv) } - case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10825,7 +10709,6 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } - case "deliverySourceName": if value != nil { jtv, ok := value.(string) @@ -10834,7 +10717,6 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliverySourceName = ptr.String(jtv) } - case "fieldDelimiter": if value != nil { jtv, ok := value.(string) @@ -10843,7 +10725,6 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.FieldDelimiter = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10852,22 +10733,18 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.Id = ptr.String(jtv) } - case "recordFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.RecordFields, value); err != nil { return err } - case "s3DeliveryConfiguration": if err := awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(&sv.S3DeliveryConfiguration, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10907,12 +10784,10 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.Arn = ptr.String(jtv) } - case "deliveryDestinationConfiguration": if err := awsAwsjson11_deserializeDocumentDeliveryDestinationConfiguration(&sv.DeliveryDestinationConfiguration, value); err != nil { return err } - case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10796,6 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10930,7 +10804,6 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.Name = ptr.String(jtv) } - case "outputFormat": if value != nil { jtv, ok := value.(string) @@ -10939,12 +10812,10 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.OutputFormat = types.OutputFormat(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10984,7 +10855,6 @@ func awsAwsjson11_deserializeDocumentDeliveryDestinationConfiguration(v **types. } sv.DestinationResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11058,7 +10928,6 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Arn = ptr.String(jtv) } - case "logType": if value != nil { jtv, ok := value.(string) @@ -11067,7 +10936,6 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.LogType = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11076,12 +10944,10 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Name = ptr.String(jtv) } - case "resourceArns": if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } - case "service": if value != nil { jtv, ok := value.(string) @@ -11090,12 +10956,10 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Service = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11169,7 +11033,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.AccessPolicy = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -11178,7 +11041,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -11191,7 +11053,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.CreationTime = ptr.Int64(i64) } - case "destinationName": if value != nil { jtv, ok := value.(string) @@ -11200,7 +11061,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11209,7 +11069,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.RoleArn = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -11218,7 +11077,6 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11368,7 +11226,6 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.Destination = ptr.String(jtv) } - case "destinationPrefix": if value != nil { jtv, ok := value.(string) @@ -11377,12 +11234,10 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.DestinationPrefix = ptr.String(jtv) } - case "executionInfo": if err := awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(&sv.ExecutionInfo, value); err != nil { return err } - case "from": if value != nil { jtv, ok := value.(json.Number) @@ -11395,7 +11250,6 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.From = ptr.Int64(i64) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -11404,12 +11258,10 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.LogGroupName = ptr.String(jtv) } - case "status": if err := awsAwsjson11_deserializeDocumentExportTaskStatus(&sv.Status, value); err != nil { return err } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -11418,7 +11270,6 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.TaskId = ptr.String(jtv) } - case "taskName": if value != nil { jtv, ok := value.(string) @@ -11427,7 +11278,6 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.TaskName = ptr.String(jtv) } - case "to": if value != nil { jtv, ok := value.(json.Number) @@ -11440,7 +11290,6 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.To = ptr.Int64(i64) } - default: _, _ = key, value @@ -11484,7 +11333,6 @@ func awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(v **types.ExportTas } sv.CompletionTime = ptr.Int64(i64) } - case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -11497,7 +11345,6 @@ func awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(v **types.ExportTas } sv.CreationTime = ptr.Int64(i64) } - default: _, _ = key, value @@ -11571,7 +11418,6 @@ func awsAwsjson11_deserializeDocumentExportTaskStatus(v **types.ExportTaskStatus } sv.Code = types.ExportTaskStatusCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11580,7 +11426,6 @@ func awsAwsjson11_deserializeDocumentExportTaskStatus(v **types.ExportTaskStatus } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -11656,7 +11501,6 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.EventId = ptr.String(jtv) } - case "ingestionTime": if value != nil { jtv, ok := value.(json.Number) @@ -11669,7 +11513,6 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.IngestionTime = ptr.Int64(i64) } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -11678,7 +11521,6 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.LogStreamName = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11687,7 +11529,6 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.Message = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -11700,7 +11541,6 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.Timestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -11840,15 +11680,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11856,15 +11690,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11889,15 +11719,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11905,15 +11729,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11938,13 +11758,7 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "expectedSequenceToken": if value != nil { @@ -11954,8 +11768,7 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv } sv.ExpectedSequenceToken = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11963,15 +11776,11 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11996,15 +11805,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12012,15 +11815,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12055,7 +11854,6 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Message = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12068,7 +11866,6 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Timestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -12108,7 +11905,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -12121,7 +11917,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.CreationTime = ptr.Int64(i64) } - case "dataProtectionStatus": if value != nil { jtv, ok := value.(string) @@ -12130,12 +11925,10 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.DataProtectionStatus = types.DataProtectionStatus(jtv) } - case "inheritedProperties": if err := awsAwsjson11_deserializeDocumentInheritedProperties(&sv.InheritedProperties, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12144,7 +11937,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "logGroupArn": if value != nil { jtv, ok := value.(string) @@ -12153,7 +11945,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupArn = ptr.String(jtv) } - case "logGroupClass": if value != nil { jtv, ok := value.(string) @@ -12162,7 +11953,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupClass = types.LogGroupClass(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -12171,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupName = ptr.String(jtv) } - case "metricFilterCount": if value != nil { jtv, ok := value.(json.Number) @@ -12184,7 +11973,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.MetricFilterCount = ptr.Int32(int32(i64)) } - case "retentionInDays": if value != nil { jtv, ok := value.(json.Number) @@ -12197,7 +11985,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.RetentionInDays = ptr.Int32(int32(i64)) } - case "storedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12210,7 +11997,6 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.StoredBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -12286,7 +12072,6 @@ func awsAwsjson11_deserializeDocumentLogGroupField(v **types.LogGroupField, valu } sv.Name = ptr.String(jtv) } - case "percent": if value != nil { jtv, ok := value.(json.Number) @@ -12299,7 +12084,6 @@ func awsAwsjson11_deserializeDocumentLogGroupField(v **types.LogGroupField, valu } sv.Percent = int32(i64) } - default: _, _ = key, value @@ -12513,7 +12297,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -12526,7 +12309,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.CreationTime = ptr.Int64(i64) } - case "firstEventTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12539,7 +12321,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.FirstEventTimestamp = ptr.Int64(i64) } - case "lastEventTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12552,7 +12333,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LastEventTimestamp = ptr.Int64(i64) } - case "lastIngestionTime": if value != nil { jtv, ok := value.(json.Number) @@ -12565,7 +12345,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LastIngestionTime = ptr.Int64(i64) } - case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -12574,7 +12353,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LogStreamName = ptr.String(jtv) } - case "storedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12587,7 +12365,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.StoredBytes = ptr.Int64(i64) } - case "uploadSequenceToken": if value != nil { jtv, ok := value.(string) @@ -12596,7 +12373,6 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.UploadSequenceToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12660,15 +12436,9 @@ func awsAwsjson11_deserializeDocumentMalformedQueryException(v **types.Malformed sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12676,20 +12446,15 @@ func awsAwsjson11_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.Message = ptr.String(jtv) } - case "queryCompileError": if err := awsAwsjson11_deserializeDocumentQueryCompileError(&sv.QueryCompileError, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12728,7 +12493,6 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.CreationTime = ptr.Int64(i64) } - case "filterName": if value != nil { jtv, ok := value.(string) @@ -12737,7 +12501,6 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.FilterName = ptr.String(jtv) } - case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -12746,7 +12509,6 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.FilterPattern = ptr.String(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -12755,12 +12517,10 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.LogGroupName = ptr.String(jtv) } - case "metricTransformations": if err := awsAwsjson11_deserializeDocumentMetricTransformations(&sv.MetricTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12834,7 +12594,6 @@ func awsAwsjson11_deserializeDocumentMetricFilterMatchRecord(v **types.MetricFil } sv.EventMessage = ptr.String(jtv) } - case "eventNumber": if value != nil { jtv, ok := value.(json.Number) @@ -12847,12 +12606,10 @@ func awsAwsjson11_deserializeDocumentMetricFilterMatchRecord(v **types.MetricFil } sv.EventNumber = i64 } - case "extractedValues": if err := awsAwsjson11_deserializeDocumentExtractedValues(&sv.ExtractedValues, value); err != nil { return err } - default: _, _ = key, value @@ -12951,12 +12708,10 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } } - case "dimensions": if err := awsAwsjson11_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -12965,7 +12720,6 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricName = ptr.String(jtv) } - case "metricNamespace": if value != nil { jtv, ok := value.(string) @@ -12974,7 +12728,6 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricNamespace = ptr.String(jtv) } - case "metricValue": if value != nil { jtv, ok := value.(string) @@ -12983,7 +12736,6 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricValue = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -12992,7 +12744,6 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.Unit = types.StandardUnit(jtv) } - default: _, _ = key, value @@ -13056,15 +12807,9 @@ func awsAwsjson11_deserializeDocumentOperationAbortedException(v **types.Operati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13072,15 +12817,11 @@ func awsAwsjson11_deserializeDocumentOperationAbortedException(v **types.Operati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13155,7 +12896,6 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.IngestionTime = ptr.Int64(i64) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13164,7 +12904,6 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.Message = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -13177,7 +12916,6 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.Timestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -13255,12 +12993,10 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.DynamicTokenPosition = int32(i64) } - case "enumerations": if err := awsAwsjson11_deserializeDocumentEnumerations(&sv.Enumerations, value); err != nil { return err } - case "inferredTokenName": if value != nil { jtv, ok := value.(string) @@ -13269,7 +13005,6 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.InferredTokenName = ptr.String(jtv) } - case "isDynamic": if value != nil { jtv, ok := value.(bool) @@ -13278,7 +13013,6 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.IsDynamic = ptr.Bool(jtv) } - case "tokenString": if value != nil { jtv, ok := value.(string) @@ -13287,7 +13021,6 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.TokenString = ptr.String(jtv) } - default: _, _ = key, value @@ -13361,7 +13094,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.DeliveryDestinationPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -13397,7 +13129,6 @@ func awsAwsjson11_deserializeDocumentQueryCompileError(v **types.QueryCompileErr if err := awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(&sv.Location, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -13406,7 +13137,6 @@ func awsAwsjson11_deserializeDocumentQueryCompileError(v **types.QueryCompileErr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -13450,7 +13180,6 @@ func awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(v **types.QueryCo } sv.EndCharOffset = ptr.Int32(int32(i64)) } - case "startCharOffset": if value != nil { jtv, ok := value.(json.Number) @@ -13463,7 +13192,6 @@ func awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(v **types.QueryCo } sv.StartCharOffset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13507,12 +13235,10 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.LastModified = ptr.Int64(i64) } - case "logGroupNames": if err := awsAwsjson11_deserializeDocumentLogGroupNames(&sv.LogGroupNames, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13521,7 +13247,6 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.Name = ptr.String(jtv) } - case "queryDefinitionId": if value != nil { jtv, ok := value.(string) @@ -13530,7 +13255,6 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.QueryDefinitionId = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -13539,7 +13263,6 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -13617,7 +13340,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.CreateTime = ptr.Int64(i64) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -13626,7 +13348,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.LogGroupName = ptr.String(jtv) } - case "queryId": if value != nil { jtv, ok := value.(string) @@ -13635,7 +13356,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.QueryId = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -13644,7 +13364,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.QueryString = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13653,7 +13372,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.Status = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -13784,7 +13502,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } - case "recordsMatched": if value != nil { switch jtv := value.(type) { @@ -13818,7 +13535,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } - case "recordsScanned": if value != nil { switch jtv := value.(type) { @@ -13852,7 +13568,6 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } - default: _, _ = key, value @@ -13892,7 +13607,6 @@ func awsAwsjson11_deserializeDocumentRecordField(v **types.RecordField, value in } sv.Mandatory = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13901,7 +13615,6 @@ func awsAwsjson11_deserializeDocumentRecordField(v **types.RecordField, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13977,7 +13690,6 @@ func awsAwsjson11_deserializeDocumentRejectedEntityInfo(v **types.RejectedEntity } sv.ErrorType = types.EntityRejectionErrorType(jtv) } - default: _, _ = key, value @@ -14021,7 +13733,6 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.ExpiredLogEventEndIndex = ptr.Int32(int32(i64)) } - case "tooNewLogEventStartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -14034,7 +13745,6 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.TooNewLogEventStartIndex = ptr.Int32(int32(i64)) } - case "tooOldLogEventEndIndex": if value != nil { jtv, ok := value.(json.Number) @@ -14047,7 +13757,6 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.TooOldLogEventEndIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14077,15 +13786,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14093,15 +13796,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14162,15 +13861,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14178,15 +13871,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14259,7 +13948,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.LastUpdatedTime = ptr.Int64(i64) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -14268,7 +13956,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -14277,7 +13964,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -14317,7 +14003,6 @@ func awsAwsjson11_deserializeDocumentResultField(v **types.ResultField, value in } sv.Field = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -14326,7 +14011,6 @@ func awsAwsjson11_deserializeDocumentResultField(v **types.ResultField, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14400,7 +14084,6 @@ func awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(v **types.S3Deliver } sv.EnableHiveCompatiblePath = ptr.Bool(jtv) } - case "suffixPath": if value != nil { jtv, ok := value.(string) @@ -14409,7 +14092,6 @@ func awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(v **types.S3Deliver } sv.SuffixPath = ptr.String(jtv) } - default: _, _ = key, value @@ -14449,7 +14131,6 @@ func awsAwsjson11_deserializeDocumentSearchedLogStream(v **types.SearchedLogStre } sv.LogStreamName = ptr.String(jtv) } - case "searchedCompletely": if value != nil { jtv, ok := value.(bool) @@ -14458,7 +14139,6 @@ func awsAwsjson11_deserializeDocumentSearchedLogStream(v **types.SearchedLogStre } sv.SearchedCompletely = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14522,15 +14202,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14538,15 +14212,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14571,15 +14241,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14587,15 +14251,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14634,7 +14294,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.CreationTime = ptr.Int64(i64) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -14643,7 +14302,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.DestinationArn = ptr.String(jtv) } - case "distribution": if value != nil { jtv, ok := value.(string) @@ -14652,7 +14310,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.Distribution = types.Distribution(jtv) } - case "filterName": if value != nil { jtv, ok := value.(string) @@ -14661,7 +14318,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.FilterName = ptr.String(jtv) } - case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -14670,7 +14326,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.FilterPattern = ptr.String(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -14679,7 +14334,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.LogGroupName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14688,7 +14342,6 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14788,15 +14441,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14804,15 +14451,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14837,15 +14480,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14853,7 +14490,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14862,15 +14498,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14895,15 +14527,9 @@ func awsAwsjson11_deserializeDocumentUnrecognizedClientException(v **types.Unrec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14911,15 +14537,11 @@ func awsAwsjson11_deserializeDocumentUnrecognizedClientException(v **types.Unrec } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14944,15 +14566,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14960,15 +14576,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14999,7 +14611,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeliveryOutput(v **CreateDeliveryOu if err := awsAwsjson11_deserializeDocumentDelivery(&sv.Delivery, value); err != nil { return err } - default: _, _ = key, value @@ -15039,7 +14650,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExportTaskOutput(v **CreateExportTa } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -15079,7 +14689,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLogAnomalyDetectorOutput(v **Create } sv.AnomalyDetectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15119,7 +14728,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteQueryDefinitionOutput(v **DeleteQue } sv.Success = jtv } - default: _, _ = key, value @@ -15155,7 +14763,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountPoliciesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentAccountPolicies(&sv.AccountPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -15191,7 +14798,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationTemplatesOutput(v ** if err := awsAwsjson11_deserializeDocumentConfigurationTemplates(&sv.ConfigurationTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15200,7 +14806,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationTemplatesOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15236,7 +14841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveriesOutput(v **DescribeDeli if err := awsAwsjson11_deserializeDocumentDeliveries(&sv.Deliveries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15245,7 +14849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveriesOutput(v **DescribeDeli } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15281,7 +14884,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryDestinationsOutput(v **De if err := awsAwsjson11_deserializeDocumentDeliveryDestinations(&sv.DeliveryDestinations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15290,7 +14892,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryDestinationsOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15326,7 +14927,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliverySourcesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentDeliverySources(&sv.DeliverySources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15335,7 +14935,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliverySourcesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15371,7 +14970,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDestinationsOutput(v **DescribeDe if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15380,7 +14978,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDestinationsOutput(v **DescribeDe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15416,7 +15013,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp if err := awsAwsjson11_deserializeDocumentExportTasks(&sv.ExportTasks, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15425,7 +15021,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15461,7 +15056,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogGroupsOutput(v **DescribeLogGr if err := awsAwsjson11_deserializeDocumentLogGroups(&sv.LogGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15470,7 +15064,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogGroupsOutput(v **DescribeLogGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15506,7 +15099,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogStreamsOutput(v **DescribeLogS if err := awsAwsjson11_deserializeDocumentLogStreams(&sv.LogStreams, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15515,7 +15107,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogStreamsOutput(v **DescribeLogS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15551,7 +15142,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricFiltersOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentMetricFilters(&sv.MetricFilters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15560,7 +15150,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricFiltersOutput(v **DescribeM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15600,12 +15189,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueriesOutput(v **DescribeQueries } sv.NextToken = ptr.String(jtv) } - case "queries": if err := awsAwsjson11_deserializeDocumentQueryInfoList(&sv.Queries, value); err != nil { return err } - default: _, _ = key, value @@ -15645,12 +15232,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryDefinitionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "queryDefinitions": if err := awsAwsjson11_deserializeDocumentQueryDefinitionList(&sv.QueryDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -15690,12 +15275,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePoliciesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "resourcePolicies": if err := awsAwsjson11_deserializeDocumentResourcePolicies(&sv.ResourcePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -15735,12 +15318,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscriptionFiltersOutput(v **Des } sv.NextToken = ptr.String(jtv) } - case "subscriptionFilters": if err := awsAwsjson11_deserializeDocumentSubscriptionFilters(&sv.SubscriptionFilters, value); err != nil { return err } - default: _, _ = key, value @@ -15776,7 +15357,6 @@ func awsAwsjson11_deserializeOpDocumentFilterLogEventsOutput(v **FilterLogEvents if err := awsAwsjson11_deserializeDocumentFilteredLogEvents(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15785,12 +15365,10 @@ func awsAwsjson11_deserializeOpDocumentFilterLogEventsOutput(v **FilterLogEvents } sv.NextToken = ptr.String(jtv) } - case "searchedLogStreams": if err := awsAwsjson11_deserializeDocumentSearchedLogStreams(&sv.SearchedLogStreams, value); err != nil { return err } - default: _, _ = key, value @@ -15834,7 +15412,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.LastUpdatedTime = ptr.Int64(i64) } - case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -15843,7 +15420,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.LogGroupIdentifier = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -15852,7 +15428,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.PolicyDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -15888,7 +15463,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryDestinationOutput(v **GetDeliv if err := awsAwsjson11_deserializeDocumentDeliveryDestination(&sv.DeliveryDestination, value); err != nil { return err } - default: _, _ = key, value @@ -15924,7 +15498,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryDestinationPolicyOutput(v **Ge if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -15960,7 +15533,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryOutput(v **GetDeliveryOutput, if err := awsAwsjson11_deserializeDocumentDelivery(&sv.Delivery, value); err != nil { return err } - default: _, _ = key, value @@ -15996,7 +15568,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeliverySourceOutput(v **GetDeliverySo if err := awsAwsjson11_deserializeDocumentDeliverySource(&sv.DeliverySource, value); err != nil { return err } - default: _, _ = key, value @@ -16036,7 +15607,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.AnomalyDetectorStatus = types.AnomalyDetectorStatus(jtv) } - case "anomalyVisibilityTime": if value != nil { jtv, ok := value.(json.Number) @@ -16049,7 +15619,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.AnomalyVisibilityTime = ptr.Int64(i64) } - case "creationTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -16062,7 +15631,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.CreationTimeStamp = i64 } - case "detectorName": if value != nil { jtv, ok := value.(string) @@ -16071,7 +15639,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.DetectorName = ptr.String(jtv) } - case "evaluationFrequency": if value != nil { jtv, ok := value.(string) @@ -16080,7 +15647,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.EvaluationFrequency = types.EvaluationFrequency(jtv) } - case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -16089,7 +15655,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.FilterPattern = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16098,7 +15663,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.KmsKeyId = ptr.String(jtv) } - case "lastModifiedTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -16111,12 +15675,10 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.LastModifiedTimeStamp = i64 } - case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } - default: _, _ = key, value @@ -16152,7 +15714,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput if err := awsAwsjson11_deserializeDocumentOutputLogEvents(&sv.Events, value); err != nil { return err } - case "nextBackwardToken": if value != nil { jtv, ok := value.(string) @@ -16161,7 +15722,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput } sv.NextBackwardToken = ptr.String(jtv) } - case "nextForwardToken": if value != nil { jtv, ok := value.(string) @@ -16170,7 +15730,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput } sv.NextForwardToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16206,7 +15765,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogGroupFieldsOutput(v **GetLogGroupFi if err := awsAwsjson11_deserializeDocumentLogGroupFieldList(&sv.LogGroupFields, value); err != nil { return err } - default: _, _ = key, value @@ -16242,7 +15800,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogRecordOutput(v **GetLogRecordOutput if err := awsAwsjson11_deserializeDocumentLogRecord(&sv.LogRecord, value); err != nil { return err } - default: _, _ = key, value @@ -16282,17 +15839,14 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.EncryptionKey = ptr.String(jtv) } - case "results": if err := awsAwsjson11_deserializeDocumentQueryResults(&sv.Results, value); err != nil { return err } - case "statistics": if err := awsAwsjson11_deserializeDocumentQueryStatistics(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -16301,7 +15855,6 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.Status = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -16337,7 +15890,6 @@ func awsAwsjson11_deserializeOpDocumentListAnomaliesOutput(v **ListAnomaliesOutp if err := awsAwsjson11_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16346,7 +15898,6 @@ func awsAwsjson11_deserializeOpDocumentListAnomaliesOutput(v **ListAnomaliesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16382,7 +15933,6 @@ func awsAwsjson11_deserializeOpDocumentListLogAnomalyDetectorsOutput(v **ListLog if err := awsAwsjson11_deserializeDocumentAnomalyDetectors(&sv.AnomalyDetectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16391,7 +15941,6 @@ func awsAwsjson11_deserializeOpDocumentListLogAnomalyDetectorsOutput(v **ListLog } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16427,7 +15976,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16463,7 +16011,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsLogGroupOutput(v **ListTagsLogGro if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16499,7 +16046,6 @@ func awsAwsjson11_deserializeOpDocumentPutAccountPolicyOutput(v **PutAccountPoli if err := awsAwsjson11_deserializeDocumentAccountPolicy(&sv.AccountPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -16543,7 +16089,6 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.LastUpdatedTime = ptr.Int64(i64) } - case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -16552,7 +16097,6 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.LogGroupIdentifier = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -16561,7 +16105,6 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.PolicyDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -16597,7 +16140,6 @@ func awsAwsjson11_deserializeOpDocumentPutDeliveryDestinationOutput(v **PutDeliv if err := awsAwsjson11_deserializeDocumentDeliveryDestination(&sv.DeliveryDestination, value); err != nil { return err } - default: _, _ = key, value @@ -16633,7 +16175,6 @@ func awsAwsjson11_deserializeOpDocumentPutDeliveryDestinationPolicyOutput(v **Pu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -16669,7 +16210,6 @@ func awsAwsjson11_deserializeOpDocumentPutDeliverySourceOutput(v **PutDeliverySo if err := awsAwsjson11_deserializeDocumentDeliverySource(&sv.DeliverySource, value); err != nil { return err } - default: _, _ = key, value @@ -16705,7 +16245,6 @@ func awsAwsjson11_deserializeOpDocumentPutDestinationOutput(v **PutDestinationOu if err := awsAwsjson11_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - default: _, _ = key, value @@ -16745,17 +16284,14 @@ func awsAwsjson11_deserializeOpDocumentPutLogEventsOutput(v **PutLogEventsOutput } sv.NextSequenceToken = ptr.String(jtv) } - case "rejectedEntityInfo": if err := awsAwsjson11_deserializeDocumentRejectedEntityInfo(&sv.RejectedEntityInfo, value); err != nil { return err } - case "rejectedLogEventsInfo": if err := awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(&sv.RejectedLogEventsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -16795,7 +16331,6 @@ func awsAwsjson11_deserializeOpDocumentPutQueryDefinitionOutput(v **PutQueryDefi } sv.QueryDefinitionId = ptr.String(jtv) } - default: _, _ = key, value @@ -16831,7 +16366,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -16871,7 +16405,6 @@ func awsAwsjson11_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16911,7 +16444,6 @@ func awsAwsjson11_deserializeOpDocumentStopQueryOutput(v **StopQueryOutput, valu } sv.Success = jtv } - default: _, _ = key, value @@ -16947,7 +16479,6 @@ func awsAwsjson11_deserializeOpDocumentTestMetricFilterOutput(v **TestMetricFilt if err := awsAwsjson11_deserializeDocumentMetricFilterMatches(&sv.Matches, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codeartifact/deserializers.go b/service/codeartifact/deserializers.go index d3239a0b487..1cb31a5de14 100644 --- a/service/codeartifact/deserializers.go +++ b/service/codeartifact/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentAssociateExternalConnectionOutput(v **Ass if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -360,12 +359,10 @@ func awsRestjson1_deserializeOpDocumentCopyPackageVersionsOutput(v **CopyPackage if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } - case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } - default: _, _ = key, value @@ -535,7 +532,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -705,7 +701,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageGroupOutput(v **CreatePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -875,7 +870,6 @@ func awsRestjson1_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -1039,7 +1033,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -1206,7 +1199,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainPermissionsPolicyOutput(v **D if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -1373,7 +1365,6 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageSummary(&sv.DeletedPackage, value); err != nil { return err } - default: _, _ = key, value @@ -1543,7 +1534,6 @@ func awsRestjson1_deserializeOpDocumentDeletePackageGroupOutput(v **DeletePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -1710,12 +1700,10 @@ func awsRestjson1_deserializeOpDocumentDeletePackageVersionsOutput(v **DeletePac if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } - case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } - default: _, _ = key, value @@ -1882,7 +1870,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -2049,7 +2036,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRepositoryPermissionsPolicyOutput(v if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -2213,7 +2199,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -2377,7 +2362,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage if err := awsRestjson1_deserializeDocumentPackageDescription(&sv.Package, value); err != nil { return err } - default: _, _ = key, value @@ -2541,7 +2525,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageGroupOutput(v **DescribePa if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -2708,7 +2691,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe if err := awsRestjson1_deserializeDocumentPackageVersionDescription(&sv.PackageVersion, value); err != nil { return err } - default: _, _ = key, value @@ -2872,7 +2854,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRepositoryOutput(v **DescribeRepo if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -3042,7 +3023,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateExternalConnectionOutput(v ** if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -3209,12 +3189,10 @@ func awsRestjson1_deserializeOpDocumentDisposePackageVersionsOutput(v **DisposeP if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } - case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } - default: _, _ = key, value @@ -3379,12 +3357,10 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedPackageGroupOutput(v **GetAs } sv.AssociationType = types.PackageGroupAssociationType(jtv) } - case "packageGroup": if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -3552,7 +3528,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor } sv.AuthorizationToken = ptr.String(jtv) } - case "expiration": if value != nil { switch jtv := value.(type) { @@ -3568,7 +3543,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor } } - default: _, _ = key, value @@ -3732,7 +3706,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainPermissionsPolicyOutput(v **GetD if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -4044,7 +4017,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -4053,7 +4025,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Namespace = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -4062,7 +4033,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Package = ptr.String(jtv) } - case "readme": if value != nil { jtv, ok := value.(string) @@ -4071,7 +4041,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Readme = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4080,7 +4049,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Version = ptr.String(jtv) } - case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -4089,7 +4057,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.VersionRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -4257,7 +4224,6 @@ func awsRestjson1_deserializeOpDocumentGetRepositoryEndpointOutput(v **GetReposi } sv.RepositoryEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -4421,7 +4387,6 @@ func awsRestjson1_deserializeOpDocumentGetRepositoryPermissionsPolicyOutput(v ** if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -4588,7 +4553,6 @@ func awsRestjson1_deserializeOpDocumentListAllowedRepositoriesForGroupOutput(v * if err := awsRestjson1_deserializeDocumentRepositoryNameList(&sv.AllowedRepositories, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4597,7 +4561,6 @@ func awsRestjson1_deserializeOpDocumentListAllowedRepositoriesForGroupOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4762,12 +4725,10 @@ func awsRestjson1_deserializeOpDocumentListAssociatedPackagesOutput(v **ListAsso } sv.NextToken = ptr.String(jtv) } - case "packages": if err := awsRestjson1_deserializeDocumentAssociatedPackageList(&sv.Packages, value); err != nil { return err } - default: _, _ = key, value @@ -4928,7 +4889,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4937,7 +4897,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5105,12 +5064,10 @@ func awsRestjson1_deserializeOpDocumentListPackageGroupsOutput(v **ListPackageGr } sv.NextToken = ptr.String(jtv) } - case "packageGroups": if err := awsRestjson1_deserializeDocumentPackageGroupSummaryList(&sv.PackageGroups, value); err != nil { return err } - default: _, _ = key, value @@ -5278,12 +5235,10 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } - case "packages": if err := awsRestjson1_deserializeDocumentPackageSummaryList(&sv.Packages, value); err != nil { return err } - default: _, _ = key, value @@ -5447,7 +5402,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa if err := awsRestjson1_deserializeDocumentAssetSummaryList(&sv.Assets, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -5456,7 +5410,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -5465,7 +5418,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Namespace = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5474,7 +5426,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.NextToken = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -5483,7 +5434,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Package = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5492,7 +5442,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Version = ptr.String(jtv) } - case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -5501,7 +5450,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.VersionRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -5665,7 +5613,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** if err := awsRestjson1_deserializeDocumentPackageDependencyList(&sv.Dependencies, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -5674,7 +5621,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -5683,7 +5629,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Namespace = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5692,7 +5637,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -5701,7 +5645,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Package = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5710,7 +5653,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Version = ptr.String(jtv) } - case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -5719,7 +5661,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.VersionRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -5887,7 +5828,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.DefaultDisplayVersion = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -5896,7 +5836,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -5905,7 +5844,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Namespace = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5914,7 +5852,6 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.NextToken = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -5923,12 +5860,10 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Package = ptr.String(jtv) } - case "versions": if err := awsRestjson1_deserializeDocumentPackageVersionSummaryList(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -6093,12 +6028,10 @@ func awsRestjson1_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsRestjson1_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -6266,12 +6199,10 @@ func awsRestjson1_deserializeOpDocumentListRepositoriesInDomainOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsRestjson1_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -6439,12 +6370,10 @@ func awsRestjson1_deserializeOpDocumentListSubPackageGroupsOutput(v **ListSubPac } sv.NextToken = ptr.String(jtv) } - case "packageGroups": if err := awsRestjson1_deserializeDocumentPackageGroupSummaryList(&sv.PackageGroups, value); err != nil { return err } - default: _, _ = key, value @@ -6605,7 +6534,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6775,7 +6703,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa if err := awsRestjson1_deserializeDocumentAssetSummary(&sv.Asset, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -6784,7 +6711,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -6793,7 +6719,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Namespace = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -6802,7 +6727,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Package = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6811,7 +6735,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Status = types.PackageVersionStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -6820,7 +6743,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Version = ptr.String(jtv) } - case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -6829,7 +6751,6 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.VersionRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -6999,7 +6920,6 @@ func awsRestjson1_deserializeOpDocumentPutDomainPermissionsPolicyOutput(v **PutD if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -7163,7 +7083,6 @@ func awsRestjson1_deserializeOpDocumentPutPackageOriginConfigurationOutput(v **P if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7333,7 +7252,6 @@ func awsRestjson1_deserializeOpDocumentPutRepositoryPermissionsPolicyOutput(v ** if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -7697,7 +7615,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageGroupOutput(v **UpdatePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -7864,12 +7781,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageGroupOriginConfigurationOutp if err := awsRestjson1_deserializeDocumentPackageGroupAllowedRepositoryUpdates(&sv.AllowedRepositoryUpdates, value); err != nil { return err } - case "packageGroup": if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } - default: _, _ = key, value @@ -8036,12 +7951,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageVersionsStatusOutput(v **Upd if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } - case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } - default: _, _ = key, value @@ -8211,7 +8124,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRepositoryOutput(v **UpdateReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -8513,15 +8425,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8529,15 +8435,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8604,7 +8506,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value if err := awsRestjson1_deserializeDocumentAssetHashes(&sv.Hashes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8613,7 +8514,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Name = ptr.String(jtv) } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -8626,7 +8526,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Size = ptr.Int64(i64) } - default: _, _ = key, value @@ -8700,7 +8599,6 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.AssociationType = types.PackageGroupAssociationType(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -8709,7 +8607,6 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -8718,7 +8615,6 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Namespace = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -8727,7 +8623,6 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Package = ptr.String(jtv) } - default: _, _ = key, value @@ -8791,15 +8686,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8807,7 +8696,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8816,7 +8704,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8825,15 +8712,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8868,7 +8751,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Arn = ptr.String(jtv) } - case "assetSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8881,7 +8763,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.AssetSizeBytes = i64 } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8897,7 +8778,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -8906,7 +8786,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.EncryptionKey = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8915,7 +8794,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -8924,7 +8802,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Owner = ptr.String(jtv) } - case "repositoryCount": if value != nil { jtv, ok := value.(json.Number) @@ -8937,7 +8814,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.RepositoryCount = int32(i64) } - case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -8946,7 +8822,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.S3BucketArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8955,7 +8830,6 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Status = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -8995,7 +8869,6 @@ func awsRestjson1_deserializeDocumentDomainEntryPoint(v **types.DomainEntryPoint } sv.ExternalConnectionName = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -9004,7 +8877,6 @@ func awsRestjson1_deserializeDocumentDomainEntryPoint(v **types.DomainEntryPoint } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -9044,7 +8916,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9060,7 +8931,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -9069,7 +8939,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.EncryptionKey = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9078,7 +8947,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -9087,7 +8955,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Owner = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9096,7 +8963,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Status = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -9160,15 +9026,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9176,15 +9036,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9219,7 +9075,6 @@ func awsRestjson1_deserializeDocumentLicenseInfo(v **types.LicenseInfo, value in } sv.Name = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -9228,7 +9083,6 @@ func awsRestjson1_deserializeDocumentLicenseInfo(v **types.LicenseInfo, value in } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -9302,7 +9156,6 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.DependencyType = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -9311,7 +9164,6 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.Namespace = ptr.String(jtv) } - case "package": if value != nil { jtv, ok := value.(string) @@ -9320,7 +9172,6 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.Package = ptr.String(jtv) } - case "versionRequirement": if value != nil { jtv, ok := value.(string) @@ -9329,7 +9180,6 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.VersionRequirement = ptr.String(jtv) } - default: _, _ = key, value @@ -9403,7 +9253,6 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Format = types.PackageFormat(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9412,7 +9261,6 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -9421,12 +9269,10 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Namespace = ptr.String(jtv) } - case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9534,7 +9380,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Arn = ptr.String(jtv) } - case "contactInfo": if value != nil { jtv, ok := value.(string) @@ -9543,7 +9388,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.ContactInfo = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9559,7 +9403,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9568,7 +9411,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Description = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -9577,7 +9419,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.DomainName = ptr.String(jtv) } - case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -9586,17 +9427,14 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.DomainOwner = ptr.String(jtv) } - case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } - case "parent": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.Parent, value); err != nil { return err } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -9605,7 +9443,6 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -9641,7 +9478,6 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(v **types.P if err := awsRestjson1_deserializeDocumentPackageGroupOriginRestrictions(&sv.Restrictions, value); err != nil { return err } - default: _, _ = key, value @@ -9681,12 +9517,10 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.EffectiveMode = types.PackageGroupOriginRestrictionMode(jtv) } - case "inheritedFrom": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.InheritedFrom, value); err != nil { return err } - case "mode": if value != nil { jtv, ok := value.(string) @@ -9695,7 +9529,6 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.Mode = types.PackageGroupOriginRestrictionMode(jtv) } - case "repositoriesCount": if value != nil { jtv, ok := value.(json.Number) @@ -9708,7 +9541,6 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.RepositoriesCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -9783,7 +9615,6 @@ func awsRestjson1_deserializeDocumentPackageGroupReference(v **types.PackageGrou } sv.Arn = ptr.String(jtv) } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -9792,7 +9623,6 @@ func awsRestjson1_deserializeDocumentPackageGroupReference(v **types.PackageGrou } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -9832,7 +9662,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Arn = ptr.String(jtv) } - case "contactInfo": if value != nil { jtv, ok := value.(string) @@ -9841,7 +9670,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.ContactInfo = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9857,7 +9685,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9866,7 +9693,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Description = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -9875,7 +9701,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.DomainName = ptr.String(jtv) } - case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -9884,17 +9709,14 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.DomainOwner = ptr.String(jtv) } - case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } - case "parent": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.Parent, value); err != nil { return err } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -9903,7 +9725,6 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -9973,7 +9794,6 @@ func awsRestjson1_deserializeDocumentPackageOriginConfiguration(v **types.Packag if err := awsRestjson1_deserializeDocumentPackageOriginRestrictions(&sv.Restrictions, value); err != nil { return err } - default: _, _ = key, value @@ -10013,7 +9833,6 @@ func awsRestjson1_deserializeDocumentPackageOriginRestrictions(v **types.Package } sv.Publish = types.AllowPublish(jtv) } - case "upstream": if value != nil { jtv, ok := value.(string) @@ -10022,7 +9841,6 @@ func awsRestjson1_deserializeDocumentPackageOriginRestrictions(v **types.Package } sv.Upstream = types.AllowUpstream(jtv) } - default: _, _ = key, value @@ -10062,7 +9880,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Format = types.PackageFormat(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -10071,12 +9888,10 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Namespace = ptr.String(jtv) } - case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } - case "package": if value != nil { jtv, ok := value.(string) @@ -10085,7 +9900,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Package = ptr.String(jtv) } - default: _, _ = key, value @@ -10159,7 +9973,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.DisplayName = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -10168,7 +9981,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Format = types.PackageFormat(jtv) } - case "homePage": if value != nil { jtv, ok := value.(string) @@ -10177,12 +9989,10 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.HomePage = ptr.String(jtv) } - case "licenses": if err := awsRestjson1_deserializeDocumentLicenseInfoList(&sv.Licenses, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -10191,12 +10001,10 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Namespace = ptr.String(jtv) } - case "origin": if err := awsRestjson1_deserializeDocumentPackageVersionOrigin(&sv.Origin, value); err != nil { return err } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -10205,7 +10013,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.PackageName = ptr.String(jtv) } - case "publishedTime": if value != nil { switch jtv := value.(type) { @@ -10221,7 +10028,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } } - case "revision": if value != nil { jtv, ok := value.(string) @@ -10230,7 +10036,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Revision = ptr.String(jtv) } - case "sourceCodeRepository": if value != nil { jtv, ok := value.(string) @@ -10239,7 +10044,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.SourceCodeRepository = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10248,7 +10052,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Status = types.PackageVersionStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -10257,7 +10060,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Summary = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10266,7 +10068,6 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10306,7 +10107,6 @@ func awsRestjson1_deserializeDocumentPackageVersionError(v **types.PackageVersio } sv.ErrorCode = types.PackageVersionErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -10315,7 +10115,6 @@ func awsRestjson1_deserializeDocumentPackageVersionError(v **types.PackageVersio } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -10386,7 +10185,6 @@ func awsRestjson1_deserializeDocumentPackageVersionOrigin(v **types.PackageVersi if err := awsRestjson1_deserializeDocumentDomainEntryPoint(&sv.DomainEntryPoint, value); err != nil { return err } - case "originType": if value != nil { jtv, ok := value.(string) @@ -10395,7 +10193,6 @@ func awsRestjson1_deserializeDocumentPackageVersionOrigin(v **types.PackageVersi } sv.OriginType = types.PackageVersionOriginType(jtv) } - default: _, _ = key, value @@ -10431,7 +10228,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers if err := awsRestjson1_deserializeDocumentPackageVersionOrigin(&sv.Origin, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(string) @@ -10440,7 +10236,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10449,7 +10244,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Status = types.PackageVersionStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10458,7 +10252,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10532,7 +10325,6 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.AdministratorAccount = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10541,7 +10333,6 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -10557,7 +10348,6 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10566,7 +10356,6 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Description = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -10575,7 +10364,6 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.DomainName = ptr.String(jtv) } - case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -10584,12 +10372,10 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.DomainOwner = ptr.String(jtv) } - case "externalConnections": if err := awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfoList(&sv.ExternalConnections, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10598,12 +10384,10 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Name = ptr.String(jtv) } - case "upstreams": if err := awsRestjson1_deserializeDocumentUpstreamRepositoryInfoList(&sv.Upstreams, value); err != nil { return err } - default: _, _ = key, value @@ -10643,7 +10427,6 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.ExternalConnectionName = ptr.String(jtv) } - case "packageFormat": if value != nil { jtv, ok := value.(string) @@ -10652,7 +10435,6 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.PackageFormat = types.PackageFormat(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10661,7 +10443,6 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.Status = types.ExternalConnectionStatus(jtv) } - default: _, _ = key, value @@ -10771,7 +10552,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.AdministratorAccount = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10780,7 +10560,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -10796,7 +10575,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10805,7 +10583,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Description = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -10814,7 +10591,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.DomainName = ptr.String(jtv) } - case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -10823,7 +10599,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.DomainOwner = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10832,7 +10607,6 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10896,15 +10670,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10912,7 +10680,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10688,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10930,15 +10696,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10973,7 +10735,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Document = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -10982,7 +10743,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.ResourceArn = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -10991,7 +10751,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -11021,15 +10780,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11037,7 +10790,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11046,7 +10798,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11055,15 +10806,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11098,7 +10845,6 @@ func awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfo(v **types.Succ } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11107,7 +10853,6 @@ func awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfo(v **types.Succ } sv.Status = types.PackageVersionStatus(jtv) } - default: _, _ = key, value @@ -11182,7 +10927,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11191,7 +10935,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11255,15 +10998,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11271,7 +11008,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11284,15 +11020,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11327,7 +11059,6 @@ func awsRestjson1_deserializeDocumentUpstreamRepositoryInfo(v **types.UpstreamRe } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -11391,15 +11122,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11407,7 +11132,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -11416,15 +11140,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/codebuild/deserializers.go b/service/codebuild/deserializers.go index 4adf14db56d..561e8714cea 100644 --- a/service/codebuild/deserializers.go +++ b/service/codebuild/deserializers.go @@ -5883,15 +5883,9 @@ func awsAwsjson11_deserializeDocumentAccountLimitExceededException(v **types.Acc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5899,15 +5893,11 @@ func awsAwsjson11_deserializeDocumentAccountLimitExceededException(v **types.Acc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5946,7 +5936,6 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.AutoRetryLimit = ptr.Int32(int32(i64)) } - case "autoRetryNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5959,7 +5948,6 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.AutoRetryNumber = ptr.Int32(int32(i64)) } - case "nextAutoRetry": if value != nil { jtv, ok := value.(string) @@ -5968,7 +5956,6 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.NextAutoRetry = ptr.String(jtv) } - case "previousAutoRetry": if value != nil { jtv, ok := value.(string) @@ -5977,7 +5964,6 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.PreviousAutoRetry = ptr.String(jtv) } - default: _, _ = key, value @@ -6013,7 +5999,6 @@ func awsAwsjson11_deserializeDocumentBatchRestrictions(v **types.BatchRestrictio if err := awsAwsjson11_deserializeDocumentComputeTypesAllowed(&sv.ComputeTypesAllowed, value); err != nil { return err } - case "maximumBuildsAllowed": if value != nil { jtv, ok := value.(json.Number) @@ -6026,7 +6011,6 @@ func awsAwsjson11_deserializeDocumentBatchRestrictions(v **types.BatchRestrictio } sv.MaximumBuildsAllowed = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6066,17 +6050,14 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "artifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifacts(&sv.Artifacts, value); err != nil { return err } - case "autoRetryConfig": if err := awsAwsjson11_deserializeDocumentAutoRetryConfig(&sv.AutoRetryConfig, value); err != nil { return err } - case "buildBatchArn": if value != nil { jtv, ok := value.(string) @@ -6085,7 +6066,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildBatchArn = ptr.String(jtv) } - case "buildComplete": if value != nil { jtv, ok := value.(bool) @@ -6094,7 +6074,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildComplete = jtv } - case "buildNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6107,7 +6086,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildNumber = ptr.Int64(i64) } - case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -6116,12 +6094,10 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildStatus = types.StatusType(jtv) } - case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } - case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -6130,12 +6106,10 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.CurrentPhase = ptr.String(jtv) } - case "debugSession": if err := awsAwsjson11_deserializeDocumentDebugSession(&sv.DebugSession, value); err != nil { return err } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -6144,7 +6118,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.EncryptionKey = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -6160,22 +6133,18 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } - case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } - case "exportedEnvironmentVariables": if err := awsAwsjson11_deserializeDocumentExportedEnvironmentVariables(&sv.ExportedEnvironmentVariables, value); err != nil { return err } - case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6184,7 +6153,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Id = ptr.String(jtv) } - case "initiator": if value != nil { jtv, ok := value.(string) @@ -6193,22 +6161,18 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Initiator = ptr.String(jtv) } - case "logs": if err := awsAwsjson11_deserializeDocumentLogsLocation(&sv.Logs, value); err != nil { return err } - case "networkInterface": if err := awsAwsjson11_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } - case "phases": if err := awsAwsjson11_deserializeDocumentBuildPhases(&sv.Phases, value); err != nil { return err } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6217,7 +6181,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ProjectName = ptr.String(jtv) } - case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6230,12 +6193,10 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "reportArns": if err := awsAwsjson11_deserializeDocumentBuildReportArns(&sv.ReportArns, value); err != nil { return err } - case "resolvedSourceVersion": if value != nil { jtv, ok := value.(string) @@ -6244,22 +6205,18 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ResolvedSourceVersion = ptr.String(jtv) } - case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } - case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } - case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6268,12 +6225,10 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ServiceRole = ptr.String(jtv) } - case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -6282,7 +6237,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.SourceVersion = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6298,7 +6252,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } - case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6311,12 +6264,10 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6356,7 +6307,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.ArtifactIdentifier = ptr.String(jtv) } - case "bucketOwnerAccess": if value != nil { jtv, ok := value.(string) @@ -6365,7 +6315,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } - case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -6374,7 +6323,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -6383,7 +6331,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Location = ptr.String(jtv) } - case "md5sum": if value != nil { jtv, ok := value.(string) @@ -6392,7 +6339,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Md5sum = ptr.String(jtv) } - case "overrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -6401,7 +6347,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.OverrideArtifactName = ptr.Bool(jtv) } - case "sha256sum": if value != nil { jtv, ok := value.(string) @@ -6410,7 +6355,6 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Sha256sum = ptr.String(jtv) } - default: _, _ = key, value @@ -6484,17 +6428,14 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Arn = ptr.String(jtv) } - case "artifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifacts(&sv.Artifacts, value); err != nil { return err } - case "buildBatchConfig": if err := awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(&sv.BuildBatchConfig, value); err != nil { return err } - case "buildBatchNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6507,7 +6448,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildBatchNumber = ptr.Int64(i64) } - case "buildBatchStatus": if value != nil { jtv, ok := value.(string) @@ -6516,12 +6456,10 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildBatchStatus = types.StatusType(jtv) } - case "buildGroups": if err := awsAwsjson11_deserializeDocumentBuildGroups(&sv.BuildGroups, value); err != nil { return err } - case "buildTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6534,12 +6472,10 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } - case "complete": if value != nil { jtv, ok := value.(bool) @@ -6548,7 +6484,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Complete = jtv } - case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -6557,7 +6492,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.CurrentPhase = ptr.String(jtv) } - case "debugSessionEnabled": if value != nil { jtv, ok := value.(bool) @@ -6566,7 +6500,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.DebugSessionEnabled = ptr.Bool(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -6575,7 +6508,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.EncryptionKey = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -6591,17 +6523,14 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } } - case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } - case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6610,7 +6539,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Id = ptr.String(jtv) } - case "initiator": if value != nil { jtv, ok := value.(string) @@ -6619,17 +6547,14 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Initiator = ptr.String(jtv) } - case "logConfig": if err := awsAwsjson11_deserializeDocumentLogsConfig(&sv.LogConfig, value); err != nil { return err } - case "phases": if err := awsAwsjson11_deserializeDocumentBuildBatchPhases(&sv.Phases, value); err != nil { return err } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6638,7 +6563,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ProjectName = ptr.String(jtv) } - case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6651,7 +6575,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "resolvedSourceVersion": if value != nil { jtv, ok := value.(string) @@ -6660,22 +6583,18 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ResolvedSourceVersion = ptr.String(jtv) } - case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } - case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } - case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6684,12 +6603,10 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ServiceRole = ptr.String(jtv) } - case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -6698,7 +6615,6 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.SourceVersion = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6714,12 +6630,10 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6825,7 +6739,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, if err := awsAwsjson11_deserializeDocumentPhaseContexts(&sv.Contexts, value); err != nil { return err } - case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6838,7 +6751,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.DurationInSeconds = ptr.Int64(i64) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -6854,7 +6766,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } } - case "phaseStatus": if value != nil { jtv, ok := value.(string) @@ -6863,7 +6774,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.PhaseStatus = types.StatusType(jtv) } - case "phaseType": if value != nil { jtv, ok := value.(string) @@ -6872,7 +6782,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.PhaseType = types.BuildBatchPhaseType(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6888,7 +6797,6 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } } - default: _, _ = key, value @@ -6958,12 +6866,10 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte if err := awsAwsjson11_deserializeDocumentBuildSummary(&sv.CurrentBuildSummary, value); err != nil { return err } - case "dependsOn": if err := awsAwsjson11_deserializeDocumentIdentifiers(&sv.DependsOn, value); err != nil { return err } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -6972,7 +6878,6 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte } sv.Identifier = ptr.String(jtv) } - case "ignoreFailure": if value != nil { jtv, ok := value.(bool) @@ -6981,12 +6886,10 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte } sv.IgnoreFailure = jtv } - case "priorBuildSummaryList": if err := awsAwsjson11_deserializeDocumentBuildSummaries(&sv.PriorBuildSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -7096,7 +6999,6 @@ func awsAwsjson11_deserializeDocumentBuildNotDeleted(v **types.BuildNotDeleted, } sv.Id = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -7105,7 +7007,6 @@ func awsAwsjson11_deserializeDocumentBuildNotDeleted(v **types.BuildNotDeleted, } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -7141,7 +7042,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte if err := awsAwsjson11_deserializeDocumentPhaseContexts(&sv.Contexts, value); err != nil { return err } - case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7154,7 +7054,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.DurationInSeconds = ptr.Int64(i64) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -7170,7 +7069,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } } - case "phaseStatus": if value != nil { jtv, ok := value.(string) @@ -7179,7 +7077,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.PhaseStatus = types.StatusType(jtv) } - case "phaseType": if value != nil { jtv, ok := value.(string) @@ -7188,7 +7085,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.PhaseType = types.BuildPhaseType(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -7204,7 +7100,6 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } } - default: _, _ = key, value @@ -7382,7 +7277,6 @@ func awsAwsjson11_deserializeDocumentBuildStatusConfig(v **types.BuildStatusConf } sv.Context = ptr.String(jtv) } - case "targetUrl": if value != nil { jtv, ok := value.(string) @@ -7391,7 +7285,6 @@ func awsAwsjson11_deserializeDocumentBuildStatusConfig(v **types.BuildStatusConf } sv.TargetUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -7465,7 +7358,6 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } sv.Arn = ptr.String(jtv) } - case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -7474,12 +7366,10 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } sv.BuildStatus = types.StatusType(jtv) } - case "primaryArtifact": if err := awsAwsjson11_deserializeDocumentResolvedArtifact(&sv.PrimaryArtifact, value); err != nil { return err } - case "requestedOn": if value != nil { switch jtv := value.(type) { @@ -7495,12 +7385,10 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } } - case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentResolvedSecondaryArtifacts(&sv.SecondaryArtifacts, value); err != nil { return err } - default: _, _ = key, value @@ -7540,7 +7428,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.GroupName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7549,7 +7436,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.Status = types.LogsConfigStatusType(jtv) } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7444,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -7623,7 +7508,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } - case "branchesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7636,7 +7520,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.BranchesCovered = ptr.Int32(int32(i64)) } - case "branchesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7649,7 +7532,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.BranchesMissed = ptr.Int32(int32(i64)) } - case "expired": if value != nil { switch jtv := value.(type) { @@ -7665,7 +7547,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -7674,7 +7555,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.FilePath = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7683,7 +7563,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.Id = ptr.String(jtv) } - case "lineCoveragePercentage": if value != nil { switch jtv := value.(type) { @@ -7717,7 +7596,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } - case "linesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7730,7 +7608,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.LinesCovered = ptr.Int32(int32(i64)) } - case "linesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7743,7 +7620,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.LinesMissed = ptr.Int32(int32(i64)) } - case "reportARN": if value != nil { jtv, ok := value.(string) @@ -7752,7 +7628,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.ReportARN = ptr.String(jtv) } - default: _, _ = key, value @@ -7817,7 +7692,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } } - case "branchesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7830,7 +7704,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.BranchesCovered = ptr.Int32(int32(i64)) } - case "branchesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7843,7 +7716,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.BranchesMissed = ptr.Int32(int32(i64)) } - case "lineCoveragePercentage": if value != nil { switch jtv := value.(type) { @@ -7877,7 +7749,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } } - case "linesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7890,7 +7761,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.LinesCovered = ptr.Int32(int32(i64)) } - case "linesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7903,7 +7773,6 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.LinesMissed = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8013,7 +7882,6 @@ func awsAwsjson11_deserializeDocumentDebugSession(v **types.DebugSession, value } sv.SessionEnabled = ptr.Bool(jtv) } - case "sessionTarget": if value != nil { jtv, ok := value.(string) @@ -8022,7 +7890,6 @@ func awsAwsjson11_deserializeDocumentDebugSession(v **types.DebugSession, value } sv.SessionTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -8062,7 +7929,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentImage(v **types.EnvironmentImage } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8071,12 +7937,10 @@ func awsAwsjson11_deserializeDocumentEnvironmentImage(v **types.EnvironmentImage } sv.Name = ptr.String(jtv) } - case "versions": if err := awsAwsjson11_deserializeDocumentImageVersions(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -8146,7 +8010,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentLanguage(v **types.EnvironmentLa if err := awsAwsjson11_deserializeDocumentEnvironmentImages(&sv.Images, value); err != nil { return err } - case "language": if value != nil { jtv, ok := value.(string) @@ -8155,7 +8018,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentLanguage(v **types.EnvironmentLa } sv.Language = types.LanguageType(jtv) } - default: _, _ = key, value @@ -8225,7 +8087,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentPlatform(v **types.EnvironmentPl if err := awsAwsjson11_deserializeDocumentEnvironmentLanguages(&sv.Languages, value); err != nil { return err } - case "platform": if value != nil { jtv, ok := value.(string) @@ -8234,7 +8095,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentPlatform(v **types.EnvironmentPl } sv.Platform = types.PlatformType(jtv) } - default: _, _ = key, value @@ -8308,7 +8168,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8317,7 +8176,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Type = types.EnvironmentVariableType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8326,7 +8184,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8400,7 +8257,6 @@ func awsAwsjson11_deserializeDocumentExportedEnvironmentVariable(v **types.Expor } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8409,7 +8265,6 @@ func awsAwsjson11_deserializeDocumentExportedEnvironmentVariable(v **types.Expor } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8549,7 +8404,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "baseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8562,7 +8416,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.BaseCapacity = ptr.Int32(int32(i64)) } - case "computeType": if value != nil { jtv, ok := value.(string) @@ -8571,7 +8424,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ComputeType = types.ComputeType(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -8587,7 +8439,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } - case "environmentType": if value != nil { jtv, ok := value.(string) @@ -8596,7 +8447,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.EnvironmentType = types.EnvironmentType(jtv) } - case "fleetServiceRole": if value != nil { jtv, ok := value.(string) @@ -8605,7 +8455,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.FleetServiceRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8614,7 +8463,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Id = ptr.String(jtv) } - case "imageId": if value != nil { jtv, ok := value.(string) @@ -8623,7 +8471,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageId = ptr.String(jtv) } - case "lastModified": if value != nil { switch jtv := value.(type) { @@ -8639,7 +8486,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8648,7 +8494,6 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } - case "overflowBehavior": if value != nil { jtv, ok := value.(string) @@ -8657,32 +8502,26 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.OverflowBehavior = types.FleetOverflowBehavior(jtv) } - case "proxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } - case "scalingConfiguration": if err := awsAwsjson11_deserializeDocumentScalingConfigurationOutput(&sv.ScalingConfiguration, value); err != nil { return err } - case "status": if err := awsAwsjson11_deserializeDocumentFleetStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8794,12 +8633,10 @@ func awsAwsjson11_deserializeDocumentFleetProxyRule(v **types.FleetProxyRule, va } sv.Effect = types.FleetProxyRuleEffectType(jtv) } - case "entities": if err := awsAwsjson11_deserializeDocumentFleetProxyRuleEntities(&sv.Entities, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8808,7 +8645,6 @@ func awsAwsjson11_deserializeDocumentFleetProxyRule(v **types.FleetProxyRule, va } sv.Type = types.FleetProxyRuleType(jtv) } - default: _, _ = key, value @@ -8952,7 +8788,6 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.Context = types.FleetContextCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8961,7 +8796,6 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.Message = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -8970,7 +8804,6 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.StatusCode = types.FleetStatusCode(jtv) } - default: _, _ = key, value @@ -9010,7 +8843,6 @@ func awsAwsjson11_deserializeDocumentGitSubmodulesConfig(v **types.GitSubmodules } sv.FetchSubmodules = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9112,15 +8944,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9128,15 +8954,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9167,12 +8989,10 @@ func awsAwsjson11_deserializeDocumentLogsConfig(v **types.LogsConfig, value inte if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(&sv.CloudWatchLogs, value); err != nil { return err } - case "s3Logs": if err := awsAwsjson11_deserializeDocumentS3LogsConfig(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -9208,7 +9028,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(&sv.CloudWatchLogs, value); err != nil { return err } - case "cloudWatchLogsArn": if value != nil { jtv, ok := value.(string) @@ -9217,7 +9036,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.CloudWatchLogsArn = ptr.String(jtv) } - case "deepLink": if value != nil { jtv, ok := value.(string) @@ -9226,7 +9044,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.DeepLink = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -9235,7 +9052,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.GroupName = ptr.String(jtv) } - case "s3DeepLink": if value != nil { jtv, ok := value.(string) @@ -9244,12 +9060,10 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.S3DeepLink = ptr.String(jtv) } - case "s3Logs": if err := awsAwsjson11_deserializeDocumentS3LogsConfig(&sv.S3Logs, value); err != nil { return err } - case "s3LogsArn": if value != nil { jtv, ok := value.(string) @@ -9258,7 +9072,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.S3LogsArn = ptr.String(jtv) } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -9267,7 +9080,6 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -9307,7 +9119,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -9316,7 +9127,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -9346,15 +9156,9 @@ func awsAwsjson11_deserializeDocumentOAuthProviderException(v **types.OAuthProvi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9362,15 +9166,11 @@ func awsAwsjson11_deserializeDocumentOAuthProviderException(v **types.OAuthProvi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9405,7 +9205,6 @@ func awsAwsjson11_deserializeDocumentPhaseContext(v **types.PhaseContext, value } sv.Message = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -9414,7 +9213,6 @@ func awsAwsjson11_deserializeDocumentPhaseContext(v **types.PhaseContext, value } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -9488,12 +9286,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } - case "artifacts": if err := awsAwsjson11_deserializeDocumentProjectArtifacts(&sv.Artifacts, value); err != nil { return err } - case "autoRetryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -9506,22 +9302,18 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.AutoRetryLimit = ptr.Int32(int32(i64)) } - case "badge": if err := awsAwsjson11_deserializeDocumentProjectBadge(&sv.Badge, value); err != nil { return err } - case "buildBatchConfig": if err := awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(&sv.BuildBatchConfig, value); err != nil { return err } - case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } - case "concurrentBuildLimit": if value != nil { jtv, ok := value.(json.Number) @@ -9534,7 +9326,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ConcurrentBuildLimit = ptr.Int32(int32(i64)) } - case "created": if value != nil { switch jtv := value.(type) { @@ -9550,7 +9341,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9559,7 +9349,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Description = ptr.String(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -9568,17 +9357,14 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.EncryptionKey = ptr.String(jtv) } - case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } - case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } - case "lastModified": if value != nil { switch jtv := value.(type) { @@ -9594,12 +9380,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } - case "logsConfig": if err := awsAwsjson11_deserializeDocumentLogsConfig(&sv.LogsConfig, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9608,7 +9392,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } - case "projectVisibility": if value != nil { jtv, ok := value.(string) @@ -9617,7 +9400,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectVisibility = types.ProjectVisibilityType(jtv) } - case "publicProjectAlias": if value != nil { jtv, ok := value.(string) @@ -9626,7 +9408,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.PublicProjectAlias = ptr.String(jtv) } - case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9639,7 +9420,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "resourceAccessRole": if value != nil { jtv, ok := value.(string) @@ -9648,22 +9428,18 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ResourceAccessRole = ptr.String(jtv) } - case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentProjectArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } - case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } - case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -9672,12 +9448,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ServiceRole = ptr.String(jtv) } - case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -9686,12 +9460,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.SourceVersion = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9704,17 +9476,14 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - case "webhook": if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -9790,7 +9559,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.ArtifactIdentifier = ptr.String(jtv) } - case "bucketOwnerAccess": if value != nil { jtv, ok := value.(string) @@ -9799,7 +9567,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } - case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -9808,7 +9575,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -9817,7 +9583,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Location = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9826,7 +9591,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Name = ptr.String(jtv) } - case "namespaceType": if value != nil { jtv, ok := value.(string) @@ -9835,7 +9599,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.NamespaceType = types.ArtifactNamespace(jtv) } - case "overrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -9844,7 +9607,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.OverrideArtifactName = ptr.Bool(jtv) } - case "packaging": if value != nil { jtv, ok := value.(string) @@ -9853,7 +9615,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Packaging = types.ArtifactPackaging(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -9862,7 +9623,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Path = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9871,7 +9631,6 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Type = types.ArtifactsType(jtv) } - default: _, _ = key, value @@ -9945,7 +9704,6 @@ func awsAwsjson11_deserializeDocumentProjectBadge(v **types.ProjectBadge, value } sv.BadgeEnabled = jtv } - case "badgeRequestUrl": if value != nil { jtv, ok := value.(string) @@ -9954,7 +9712,6 @@ func awsAwsjson11_deserializeDocumentProjectBadge(v **types.ProjectBadge, value } sv.BadgeRequestUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9994,7 +9751,6 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.BatchReportMode = types.BatchReportModeType(jtv) } - case "combineArtifacts": if value != nil { jtv, ok := value.(bool) @@ -10003,12 +9759,10 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.CombineArtifacts = ptr.Bool(jtv) } - case "restrictions": if err := awsAwsjson11_deserializeDocumentBatchRestrictions(&sv.Restrictions, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -10017,7 +9771,6 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.ServiceRole = ptr.String(jtv) } - case "timeoutInMins": if value != nil { jtv, ok := value.(json.Number) @@ -10030,7 +9783,6 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.TimeoutInMins = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10070,12 +9822,10 @@ func awsAwsjson11_deserializeDocumentProjectCache(v **types.ProjectCache, value } sv.Location = ptr.String(jtv) } - case "modes": if err := awsAwsjson11_deserializeDocumentProjectCacheModes(&sv.Modes, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10084,7 +9834,6 @@ func awsAwsjson11_deserializeDocumentProjectCache(v **types.ProjectCache, value } sv.Type = types.CacheType(jtv) } - default: _, _ = key, value @@ -10160,7 +9909,6 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Certificate = ptr.String(jtv) } - case "computeType": if value != nil { jtv, ok := value.(string) @@ -10169,17 +9917,14 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.ComputeType = types.ComputeType(jtv) } - case "environmentVariables": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } - case "fleet": if err := awsAwsjson11_deserializeDocumentProjectFleet(&sv.Fleet, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -10188,7 +9933,6 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Image = ptr.String(jtv) } - case "imagePullCredentialsType": if value != nil { jtv, ok := value.(string) @@ -10197,7 +9941,6 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.ImagePullCredentialsType = types.ImagePullCredentialsType(jtv) } - case "privilegedMode": if value != nil { jtv, ok := value.(bool) @@ -10206,12 +9949,10 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.PrivilegedMode = ptr.Bool(jtv) } - case "registryCredential": if err := awsAwsjson11_deserializeDocumentRegistryCredential(&sv.RegistryCredential, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10220,7 +9961,6 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Type = types.EnvironmentType(jtv) } - default: _, _ = key, value @@ -10260,7 +10000,6 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Identifier = ptr.String(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -10269,7 +10008,6 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Location = ptr.String(jtv) } - case "mountOptions": if value != nil { jtv, ok := value.(string) @@ -10278,7 +10016,6 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.MountOptions = ptr.String(jtv) } - case "mountPoint": if value != nil { jtv, ok := value.(string) @@ -10287,7 +10024,6 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.MountPoint = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10296,7 +10032,6 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Type = types.FileSystemType(jtv) } - default: _, _ = key, value @@ -10370,7 +10105,6 @@ func awsAwsjson11_deserializeDocumentProjectFleet(v **types.ProjectFleet, value } sv.FleetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10510,7 +10244,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu if err := awsAwsjson11_deserializeDocumentSourceAuth(&sv.Auth, value); err != nil { return err } - case "buildspec": if value != nil { jtv, ok := value.(string) @@ -10519,12 +10252,10 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Buildspec = ptr.String(jtv) } - case "buildStatusConfig": if err := awsAwsjson11_deserializeDocumentBuildStatusConfig(&sv.BuildStatusConfig, value); err != nil { return err } - case "gitCloneDepth": if value != nil { jtv, ok := value.(json.Number) @@ -10537,12 +10268,10 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.GitCloneDepth = ptr.Int32(int32(i64)) } - case "gitSubmodulesConfig": if err := awsAwsjson11_deserializeDocumentGitSubmodulesConfig(&sv.GitSubmodulesConfig, value); err != nil { return err } - case "insecureSsl": if value != nil { jtv, ok := value.(bool) @@ -10551,7 +10280,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.InsecureSsl = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -10560,7 +10288,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Location = ptr.String(jtv) } - case "reportBuildStatus": if value != nil { jtv, ok := value.(bool) @@ -10569,7 +10296,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.ReportBuildStatus = ptr.Bool(jtv) } - case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -10578,7 +10304,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.SourceIdentifier = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10587,7 +10312,6 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Type = types.SourceType(jtv) } - default: _, _ = key, value @@ -10661,7 +10385,6 @@ func awsAwsjson11_deserializeDocumentProjectSourceVersion(v **types.ProjectSourc } sv.SourceIdentifier = ptr.String(jtv) } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -10670,7 +10393,6 @@ func awsAwsjson11_deserializeDocumentProjectSourceVersion(v **types.ProjectSourc } sv.SourceVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10710,12 +10432,10 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.DefaultBehavior = types.FleetProxyRuleBehavior(jtv) } - case "orderedProxyRules": if err := awsAwsjson11_deserializeDocumentFleetProxyRules(&sv.OrderedProxyRules, value); err != nil { return err } - default: _, _ = key, value @@ -10755,7 +10475,6 @@ func awsAwsjson11_deserializeDocumentRegistryCredential(v **types.RegistryCreden } sv.Credential = ptr.String(jtv) } - case "credentialProvider": if value != nil { jtv, ok := value.(string) @@ -10764,7 +10483,6 @@ func awsAwsjson11_deserializeDocumentRegistryCredential(v **types.RegistryCreden } sv.CredentialProvider = types.CredentialProviderType(jtv) } - default: _, _ = key, value @@ -10804,12 +10522,10 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Arn = ptr.String(jtv) } - case "codeCoverageSummary": if err := awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(&sv.CodeCoverageSummary, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -10825,7 +10541,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } } - case "executionId": if value != nil { jtv, ok := value.(string) @@ -10834,7 +10549,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.ExecutionId = ptr.String(jtv) } - case "expired": if value != nil { switch jtv := value.(type) { @@ -10850,12 +10564,10 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } } - case "exportConfig": if err := awsAwsjson11_deserializeDocumentReportExportConfig(&sv.ExportConfig, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10864,7 +10576,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Name = ptr.String(jtv) } - case "reportGroupArn": if value != nil { jtv, ok := value.(string) @@ -10873,7 +10584,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.ReportGroupArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10882,12 +10592,10 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Status = types.ReportStatusType(jtv) } - case "testSummary": if err := awsAwsjson11_deserializeDocumentTestReportSummary(&sv.TestSummary, value); err != nil { return err } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10896,7 +10604,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Truncated = ptr.Bool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10612,6 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Type = types.ReportType(jtv) } - default: _, _ = key, value @@ -10981,12 +10687,10 @@ func awsAwsjson11_deserializeDocumentReportExportConfig(v **types.ReportExportCo } sv.ExportConfigType = types.ReportExportConfigType(jtv) } - case "s3Destination": if err := awsAwsjson11_deserializeDocumentS3ReportExportConfig(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -11026,7 +10730,6 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Arn = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -11042,12 +10745,10 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } } - case "exportConfig": if err := awsAwsjson11_deserializeDocumentReportExportConfig(&sv.ExportConfig, value); err != nil { return err } - case "lastModified": if value != nil { switch jtv := value.(type) { @@ -11063,7 +10764,6 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11072,7 +10772,6 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11081,12 +10780,10 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Status = types.ReportGroupStatusType(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -11095,7 +10792,6 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Type = types.ReportType(jtv) } - default: _, _ = key, value @@ -11239,7 +10935,6 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Average = ptr.String(jtv) } - case "max": if value != nil { jtv, ok := value.(string) @@ -11248,7 +10943,6 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Max = ptr.String(jtv) } - case "min": if value != nil { jtv, ok := value.(string) @@ -11257,7 +10951,6 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Min = ptr.String(jtv) } - default: _, _ = key, value @@ -11371,7 +11064,6 @@ func awsAwsjson11_deserializeDocumentReportWithRawData(v **types.ReportWithRawDa } sv.Data = ptr.String(jtv) } - case "reportArn": if value != nil { jtv, ok := value.(string) @@ -11380,7 +11072,6 @@ func awsAwsjson11_deserializeDocumentReportWithRawData(v **types.ReportWithRawDa } sv.ReportArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11420,7 +11111,6 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Identifier = ptr.String(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -11429,7 +11119,6 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Location = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11438,7 +11127,6 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Type = types.ArtifactsType(jtv) } - default: _, _ = key, value @@ -11502,15 +11190,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11518,15 +11200,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11551,15 +11229,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11567,15 +11239,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11610,7 +11278,6 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } - case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -11619,7 +11286,6 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -11628,7 +11294,6 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.Location = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11637,7 +11302,6 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.Status = types.LogsConfigStatusType(jtv) } - default: _, _ = key, value @@ -11677,7 +11341,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Bucket = ptr.String(jtv) } - case "bucketOwner": if value != nil { jtv, ok := value.(string) @@ -11686,7 +11349,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.BucketOwner = ptr.String(jtv) } - case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -11695,7 +11357,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -11704,7 +11365,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.EncryptionKey = ptr.String(jtv) } - case "packaging": if value != nil { jtv, ok := value.(string) @@ -11713,7 +11373,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Packaging = types.ReportPackagingType(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -11722,7 +11381,6 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -11766,7 +11424,6 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.DesiredCapacity = ptr.Int32(int32(i64)) } - case "maxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11779,7 +11436,6 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "scalingType": if value != nil { jtv, ok := value.(string) @@ -11788,12 +11444,10 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.ScalingType = types.FleetScalingType(jtv) } - case "targetTrackingScalingConfigs": if err := awsAwsjson11_deserializeDocumentTargetTrackingScalingConfigurations(&sv.TargetTrackingScalingConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -11833,7 +11487,6 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Domain = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11842,7 +11495,6 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Name = ptr.String(jtv) } - case "scope": if value != nil { jtv, ok := value.(string) @@ -11851,7 +11503,6 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Scope = types.WebhookScopeType(jtv) } - default: _, _ = key, value @@ -11927,7 +11578,6 @@ func awsAwsjson11_deserializeDocumentSourceAuth(v **types.SourceAuth, value inte } sv.Resource = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11936,7 +11586,6 @@ func awsAwsjson11_deserializeDocumentSourceAuth(v **types.SourceAuth, value inte } sv.Type = types.SourceAuthType(jtv) } - default: _, _ = key, value @@ -11976,7 +11625,6 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -11985,7 +11633,6 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.AuthType = types.AuthType(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -11994,7 +11641,6 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.Resource = ptr.String(jtv) } - case "serverType": if value != nil { jtv, ok := value.(string) @@ -12003,7 +11649,6 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.ServerType = types.ServerType(jtv) } - default: _, _ = key, value @@ -12113,7 +11758,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -12122,7 +11766,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12196,7 +11839,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingConfiguration(v **type } sv.MetricType = types.FleetScalingMetricType(jtv) } - case "targetValue": if value != nil { switch jtv := value.(type) { @@ -12230,7 +11872,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingConfiguration(v **type } } - default: _, _ = key, value @@ -12308,7 +11949,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.DurationInNanoSeconds = ptr.Int64(i64) } - case "expired": if value != nil { switch jtv := value.(type) { @@ -12324,7 +11964,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } } - case "message": if value != nil { jtv, ok := value.(string) @@ -12333,7 +11972,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12342,7 +11980,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Name = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -12351,7 +11988,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Prefix = ptr.String(jtv) } - case "reportArn": if value != nil { jtv, ok := value.(string) @@ -12360,7 +11996,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.ReportArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12369,7 +12004,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Status = ptr.String(jtv) } - case "testRawDataPath": if value != nil { jtv, ok := value.(string) @@ -12378,7 +12012,6 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.TestRawDataPath = ptr.String(jtv) } - default: _, _ = key, value @@ -12456,12 +12089,10 @@ func awsAwsjson11_deserializeDocumentTestReportSummary(v **types.TestReportSumma } sv.DurationInNanoSeconds = ptr.Int64(i64) } - case "statusCounts": if err := awsAwsjson11_deserializeDocumentReportStatusCounts(&sv.StatusCounts, value); err != nil { return err } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -12474,7 +12105,6 @@ func awsAwsjson11_deserializeDocumentTestReportSummary(v **types.TestReportSumma } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12510,12 +12140,10 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -12524,7 +12152,6 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12564,7 +12191,6 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BranchFilter = ptr.String(jtv) } - case "buildType": if value != nil { jtv, ok := value.(string) @@ -12573,12 +12199,10 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BuildType = types.WebhookBuildType(jtv) } - case "filterGroups": if err := awsAwsjson11_deserializeDocumentFilterGroups(&sv.FilterGroups, value); err != nil { return err } - case "lastModifiedSecret": if value != nil { switch jtv := value.(type) { @@ -12594,7 +12218,6 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } - case "manualCreation": if value != nil { jtv, ok := value.(bool) @@ -12603,7 +12226,6 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.ManualCreation = ptr.Bool(jtv) } - case "payloadUrl": if value != nil { jtv, ok := value.(string) @@ -12612,12 +12234,10 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.PayloadUrl = ptr.String(jtv) } - case "scopeConfiguration": if err := awsAwsjson11_deserializeDocumentScopeConfiguration(&sv.ScopeConfiguration, value); err != nil { return err } - case "secret": if value != nil { jtv, ok := value.(string) @@ -12626,7 +12246,6 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Secret = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -12635,7 +12254,6 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -12675,7 +12293,6 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.ExcludeMatchedPattern = ptr.Bool(jtv) } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -12684,7 +12301,6 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.Pattern = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12693,7 +12309,6 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.Type = types.WebhookFilterType(jtv) } - default: _, _ = key, value @@ -12729,12 +12344,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteBuildsOutput(v **BatchDeleteBu if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsDeleted, value); err != nil { return err } - case "buildsNotDeleted": if err := awsAwsjson11_deserializeDocumentBuildsNotDeleted(&sv.BuildsNotDeleted, value); err != nil { return err } - default: _, _ = key, value @@ -12770,12 +12383,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBuildBatchesOutput(v **BatchGetBu if err := awsAwsjson11_deserializeDocumentBuildBatches(&sv.BuildBatches, value); err != nil { return err } - case "buildBatchesNotFound": if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.BuildBatchesNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -12811,12 +12422,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBuildsOutput(v **BatchGetBuildsOu if err := awsAwsjson11_deserializeDocumentBuilds(&sv.Builds, value); err != nil { return err } - case "buildsNotFound": if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -12852,12 +12461,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetFleetsOutput(v **BatchGetFleetsOu if err := awsAwsjson11_deserializeDocumentFleets(&sv.Fleets, value); err != nil { return err } - case "fleetsNotFound": if err := awsAwsjson11_deserializeDocumentFleetNames(&sv.FleetsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -12893,12 +12500,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetProjectsOutput(v **BatchGetProjec if err := awsAwsjson11_deserializeDocumentProjects(&sv.Projects, value); err != nil { return err } - case "projectsNotFound": if err := awsAwsjson11_deserializeDocumentProjectNames(&sv.ProjectsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -12934,12 +12539,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetReportGroupsOutput(v **BatchGetRe if err := awsAwsjson11_deserializeDocumentReportGroups(&sv.ReportGroups, value); err != nil { return err } - case "reportGroupsNotFound": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroupsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -12975,12 +12578,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetReportsOutput(v **BatchGetReports if err := awsAwsjson11_deserializeDocumentReports(&sv.Reports, value); err != nil { return err } - case "reportsNotFound": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.ReportsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -13016,7 +12617,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } - default: _, _ = key, value @@ -13052,7 +12652,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -13088,7 +12687,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReportGroupOutput(v **CreateReportG if err := awsAwsjson11_deserializeDocumentReportGroup(&sv.ReportGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13124,7 +12722,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWebhookOutput(v **CreateWebhookOutp if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -13160,12 +12757,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteBuildBatchOutput(v **DeleteBuildBat if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsDeleted, value); err != nil { return err } - case "buildsNotDeleted": if err := awsAwsjson11_deserializeDocumentBuildsNotDeleted(&sv.BuildsNotDeleted, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -13174,7 +12769,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBuildBatchOutput(v **DeleteBuildBat } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -13369,7 +12963,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSourceCredentialsOutput(v **DeleteS } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -13436,7 +13029,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeCoveragesOutput(v **DescribeC if err := awsAwsjson11_deserializeDocumentCodeCoverages(&sv.CodeCoverages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13445,7 +13037,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeCoveragesOutput(v **DescribeC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13485,12 +13076,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTestCasesOutput(v **DescribeTestC } sv.NextToken = ptr.String(jtv) } - case "testCases": if err := awsAwsjson11_deserializeDocumentTestCases(&sv.TestCases, value); err != nil { return err } - default: _, _ = key, value @@ -13526,12 +13115,10 @@ func awsAwsjson11_deserializeOpDocumentGetReportGroupTrendOutput(v **GetReportGr if err := awsAwsjson11_deserializeDocumentReportGroupTrendRawDataList(&sv.RawData, value); err != nil { return err } - case "stats": if err := awsAwsjson11_deserializeDocumentReportGroupTrendStats(&sv.Stats, value); err != nil { return err } - default: _, _ = key, value @@ -13571,7 +13158,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -13611,7 +13197,6 @@ func awsAwsjson11_deserializeOpDocumentImportSourceCredentialsOutput(v **ImportS } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -13678,7 +13263,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesForProjectOutput(v **List if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.Ids, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13687,7 +13271,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesForProjectOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13723,7 +13306,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesOutput(v **ListBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.Ids, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13732,7 +13314,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesOutput(v **ListBuildBatch } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13768,7 +13349,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsForProjectOutput(v **ListBuilds if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.Ids, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13777,7 +13357,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsForProjectOutput(v **ListBuilds } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13813,7 +13392,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.Ids, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13822,7 +13400,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13858,7 +13435,6 @@ func awsAwsjson11_deserializeOpDocumentListCuratedEnvironmentImagesOutput(v **Li if err := awsAwsjson11_deserializeDocumentEnvironmentPlatforms(&sv.Platforms, value); err != nil { return err } - default: _, _ = key, value @@ -13894,7 +13470,6 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson11_deserializeDocumentFleetArns(&sv.Fleets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13903,7 +13478,6 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13943,12 +13517,10 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "projects": if err := awsAwsjson11_deserializeDocumentProjectNames(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -13988,12 +13560,10 @@ func awsAwsjson11_deserializeOpDocumentListReportGroupsOutput(v **ListReportGrou } sv.NextToken = ptr.String(jtv) } - case "reportGroups": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroups, value); err != nil { return err } - default: _, _ = key, value @@ -14033,12 +13603,10 @@ func awsAwsjson11_deserializeOpDocumentListReportsForReportGroupOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - case "reports": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.Reports, value); err != nil { return err } - default: _, _ = key, value @@ -14078,12 +13646,10 @@ func awsAwsjson11_deserializeOpDocumentListReportsOutput(v **ListReportsOutput, } sv.NextToken = ptr.String(jtv) } - case "reports": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.Reports, value); err != nil { return err } - default: _, _ = key, value @@ -14123,12 +13689,10 @@ func awsAwsjson11_deserializeOpDocumentListSharedProjectsOutput(v **ListSharedPr } sv.NextToken = ptr.String(jtv) } - case "projects": if err := awsAwsjson11_deserializeDocumentProjectArns(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -14168,12 +13732,10 @@ func awsAwsjson11_deserializeOpDocumentListSharedReportGroupsOutput(v **ListShar } sv.NextToken = ptr.String(jtv) } - case "reportGroups": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroups, value); err != nil { return err } - default: _, _ = key, value @@ -14209,7 +13771,6 @@ func awsAwsjson11_deserializeOpDocumentListSourceCredentialsOutput(v **ListSourc if err := awsAwsjson11_deserializeDocumentSourceCredentialsInfos(&sv.SourceCredentialsInfos, value); err != nil { return err } - default: _, _ = key, value @@ -14249,7 +13810,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14285,7 +13845,6 @@ func awsAwsjson11_deserializeOpDocumentRetryBuildBatchOutput(v **RetryBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } - default: _, _ = key, value @@ -14321,7 +13880,6 @@ func awsAwsjson11_deserializeOpDocumentRetryBuildOutput(v **RetryBuildOutput, va if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - default: _, _ = key, value @@ -14357,7 +13915,6 @@ func awsAwsjson11_deserializeOpDocumentStartBuildBatchOutput(v **StartBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } - default: _, _ = key, value @@ -14393,7 +13950,6 @@ func awsAwsjson11_deserializeOpDocumentStartBuildOutput(v **StartBuildOutput, va if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - default: _, _ = key, value @@ -14429,7 +13985,6 @@ func awsAwsjson11_deserializeOpDocumentStopBuildBatchOutput(v **StopBuildBatchOu if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } - default: _, _ = key, value @@ -14465,7 +14020,6 @@ func awsAwsjson11_deserializeOpDocumentStopBuildOutput(v **StopBuildOutput, valu if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - default: _, _ = key, value @@ -14501,7 +14055,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } - default: _, _ = key, value @@ -14537,7 +14090,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -14577,7 +14129,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.ProjectArn = ptr.String(jtv) } - case "projectVisibility": if value != nil { jtv, ok := value.(string) @@ -14586,7 +14137,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.ProjectVisibility = types.ProjectVisibilityType(jtv) } - case "publicProjectAlias": if value != nil { jtv, ok := value.(string) @@ -14595,7 +14145,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.PublicProjectAlias = ptr.String(jtv) } - default: _, _ = key, value @@ -14631,7 +14180,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateReportGroupOutput(v **UpdateReportG if err := awsAwsjson11_deserializeDocumentReportGroup(&sv.ReportGroup, value); err != nil { return err } - default: _, _ = key, value @@ -14667,7 +14215,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebhookOutput(v **UpdateWebhookOutp if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codecatalyst/deserializers.go b/service/codecatalyst/deserializers.go index ecaf1bb9e13..52ec7927c0b 100644 --- a/service/codecatalyst/deserializers.go +++ b/service/codecatalyst/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.AccessTokenId = ptr.String(jtv) } - case "expiresTime": if value != nil { jtv, ok := value.(string) @@ -203,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.ExpiresTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -212,7 +210,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.Name = ptr.String(jtv) } - case "secret": if value != nil { jtv, ok := value.(string) @@ -221,7 +218,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.Secret = ptr.String(jtv) } - default: _, _ = key, value @@ -392,7 +388,6 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -401,7 +396,6 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -410,7 +404,6 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.SpaceName = ptr.String(jtv) } - case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -419,7 +412,6 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.VpcConnectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -590,7 +582,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -599,7 +590,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -608,7 +598,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -617,7 +606,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -788,7 +776,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -797,7 +784,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.Name = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -806,7 +792,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -815,7 +800,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -986,7 +970,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.HeadCommitId = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -999,7 +982,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1008,7 +990,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.Name = ptr.String(jtv) } - case "ref": if value != nil { jtv, ok := value.(string) @@ -1017,7 +998,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.Ref = ptr.String(jtv) } - default: _, _ = key, value @@ -1291,7 +1271,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -1300,7 +1279,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1309,7 +1287,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -1480,7 +1457,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1489,7 +1465,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Name = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1498,7 +1473,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -1669,7 +1643,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.Name = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -1678,7 +1651,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1687,7 +1659,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -1858,7 +1829,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSpaceOutput(v **DeleteSpaceOutput, } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1867,7 +1837,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSpaceOutput(v **DeleteSpaceOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2038,7 +2007,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Alias = ptr.String(jtv) } - case "creatorId": if value != nil { jtv, ok := value.(string) @@ -2047,7 +2015,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.CreatorId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2056,12 +2023,10 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Id = ptr.String(jtv) } - case "ides": if err := awsRestjson1_deserializeDocumentIdes(&sv.Ides, value); err != nil { return err } - case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2074,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.InactivityTimeoutMinutes = int32(i64) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2083,7 +2047,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.InstanceType = types.InstanceType(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -2096,12 +2059,10 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.LastUpdatedTime = ptr.Time(t) } - case "persistentStorage": if err := awsRestjson1_deserializeDocumentPersistentStorage(&sv.PersistentStorage, value); err != nil { return err } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2110,12 +2071,10 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.ProjectName = ptr.String(jtv) } - case "repositories": if err := awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummaries(&sv.Repositories, value); err != nil { return err } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2124,7 +2083,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.SpaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2133,7 +2091,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Status = types.DevEnvironmentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2142,7 +2099,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.StatusReason = ptr.String(jtv) } - case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -2151,7 +2107,6 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.VpcConnectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -2322,7 +2277,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -2331,7 +2285,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2340,7 +2293,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Name = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2349,7 +2301,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -2524,7 +2475,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.CreatedTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2533,7 +2483,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.Description = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -2546,7 +2495,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2555,7 +2503,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.Name = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2564,7 +2511,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2573,7 +2519,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -2744,7 +2689,6 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryCloneUrlsOutput(v **Ge } sv.Https = ptr.String(jtv) } - default: _, _ = key, value @@ -2915,7 +2859,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -2924,7 +2867,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2933,7 +2875,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Name = ptr.String(jtv) } - case "regionName": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2883,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.RegionName = ptr.String(jtv) } - default: _, _ = key, value @@ -3113,7 +3053,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.AwsAccountName = ptr.String(jtv) } - case "pendingSubscriptionStartTime": if value != nil { jtv, ok := value.(string) @@ -3126,7 +3065,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.PendingSubscriptionStartTime = ptr.Time(t) } - case "pendingSubscriptionType": if value != nil { jtv, ok := value.(string) @@ -3135,7 +3073,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.PendingSubscriptionType = ptr.String(jtv) } - case "subscriptionType": if value != nil { jtv, ok := value.(string) @@ -3144,7 +3081,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.SubscriptionType = ptr.String(jtv) } - default: _, _ = key, value @@ -3315,12 +3251,10 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.DisplayName = ptr.String(jtv) } - case "primaryEmail": if err := awsRestjson1_deserializeDocumentEmailAddress(&sv.PrimaryEmail, value); err != nil { return err } - case "userId": if value != nil { jtv, ok := value.(string) @@ -3329,7 +3263,6 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.UserId = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -3338,7 +3271,6 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.UserName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -3347,7 +3279,6 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3522,12 +3453,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CreatedTime = ptr.Time(t) } - case "definition": if err := awsRestjson1_deserializeDocumentWorkflowDefinition(&sv.Definition, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3536,7 +3465,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -3549,7 +3477,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3558,7 +3485,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -3567,7 +3493,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.ProjectName = ptr.String(jtv) } - case "runMode": if value != nil { jtv, ok := value.(string) @@ -3576,7 +3501,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.RunMode = types.WorkflowRunMode(jtv) } - case "sourceBranchName": if value != nil { jtv, ok := value.(string) @@ -3585,7 +3509,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SourceBranchName = ptr.String(jtv) } - case "sourceRepositoryName": if value != nil { jtv, ok := value.(string) @@ -3594,7 +3517,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SourceRepositoryName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3525,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SpaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3612,7 +3533,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.WorkflowStatus(jtv) } - default: _, _ = key, value @@ -3787,7 +3707,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.EndTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3796,7 +3715,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -3809,7 +3727,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.LastUpdatedTime = ptr.Time(t) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -3818,7 +3735,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -3827,7 +3743,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.SpaceName = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -3840,7 +3755,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3849,12 +3763,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.Status = types.WorkflowRunStatus(jtv) } - case "statusReasons": if err := awsRestjson1_deserializeDocumentWorkflowRunStatusReasons(&sv.StatusReasons, value); err != nil { return err } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -3863,7 +3775,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -4030,7 +3941,6 @@ func awsRestjson1_deserializeOpDocumentListAccessTokensOutput(v **ListAccessToke if err := awsRestjson1_deserializeDocumentAccessTokenSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4039,7 +3949,6 @@ func awsRestjson1_deserializeOpDocumentListAccessTokensOutput(v **ListAccessToke } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4206,7 +4115,6 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentsOutput(v **ListDevEnvi if err := awsRestjson1_deserializeDocumentDevEnvironmentSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4215,7 +4123,6 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentsOutput(v **ListDevEnvi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4382,7 +4289,6 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentSessionsOutput(v **List if err := awsRestjson1_deserializeDocumentDevEnvironmentSessionsSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4391,7 +4297,6 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentSessionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4558,7 +4463,6 @@ func awsRestjson1_deserializeOpDocumentListEventLogsOutput(v **ListEventLogsOutp if err := awsRestjson1_deserializeDocumentEventLogEntries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4567,7 +4471,6 @@ func awsRestjson1_deserializeOpDocumentListEventLogsOutput(v **ListEventLogsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4734,7 +4637,6 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4743,7 +4645,6 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4910,7 +4811,6 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoriesOutput(v **ListSour if err := awsRestjson1_deserializeDocumentListSourceRepositoriesItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4919,7 +4819,6 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoriesOutput(v **ListSour } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5086,7 +4985,6 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoryBranchesOutput(v **Li if err := awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5095,7 +4993,6 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoryBranchesOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5262,7 +5159,6 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va if err := awsRestjson1_deserializeDocumentSpaceSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5271,7 +5167,6 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5438,7 +5333,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowRunsOutput(v **ListWorkflowRu if err := awsRestjson1_deserializeDocumentWorkflowRunSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5447,7 +5341,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowRunsOutput(v **ListWorkflowRu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5614,7 +5507,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5623,7 +5515,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5794,7 +5685,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -5803,7 +5693,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -5812,7 +5701,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.SpaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5821,7 +5709,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.Status = types.DevEnvironmentStatus(jtv) } - default: _, _ = key, value @@ -5988,7 +5875,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star if err := awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(&sv.AccessDetails, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5883,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6006,7 +5891,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.ProjectName = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -6015,7 +5899,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.SessionId = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6024,7 +5907,6 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6195,7 +6077,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6204,7 +6085,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6213,7 +6093,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.SpaceName = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -6222,7 +6101,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -6393,7 +6271,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6402,7 +6279,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6411,7 +6287,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.SpaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6420,7 +6295,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.Status = types.DevEnvironmentStatus(jtv) } - default: _, _ = key, value @@ -6591,7 +6465,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6600,7 +6473,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.ProjectName = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -6609,7 +6481,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.SessionId = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6618,7 +6489,6 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6789,7 +6659,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.Alias = ptr.String(jtv) } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -6798,7 +6667,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.ClientToken = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6807,12 +6675,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.Id = ptr.String(jtv) } - case "ides": if err := awsRestjson1_deserializeDocumentIdeConfigurationList(&sv.Ides, value); err != nil { return err } - case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6825,7 +6691,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.InactivityTimeoutMinutes = int32(i64) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -6834,7 +6699,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.InstanceType = types.InstanceType(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -6843,7 +6707,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6852,7 +6715,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -7023,7 +6885,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -7032,7 +6893,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7041,7 +6901,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -7050,7 +6909,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.SpaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -7221,7 +7079,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -7230,7 +7087,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7239,7 +7095,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7410,7 +7265,6 @@ func awsRestjson1_deserializeOpDocumentVerifySessionOutput(v **VerifySessionOutp } sv.Identity = ptr.String(jtv) } - default: _, _ = key, value @@ -7656,15 +7510,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7672,15 +7520,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7753,7 +7597,6 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.ExpiresTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7762,7 +7605,6 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7771,7 +7613,6 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7801,15 +7642,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7817,15 +7652,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7860,7 +7691,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(v **types.DevEn } sv.StreamUrl = ptr.String(jtv) } - case "tokenValue": if value != nil { jtv, ok := value.(string) @@ -7869,7 +7699,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(v **types.DevEn } sv.TokenValue = ptr.String(jtv) } - default: _, _ = key, value @@ -7943,7 +7772,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummary(v **types.D } sv.BranchName = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7952,7 +7780,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummary(v **types.D } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -8026,7 +7853,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.DevEnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8035,7 +7861,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.Id = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -8044,7 +7869,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.ProjectName = ptr.String(jtv) } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -8053,7 +7877,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.SpaceName = ptr.String(jtv) } - case "startedTime": if value != nil { jtv, ok := value.(string) @@ -8066,7 +7889,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.StartedTime = ptr.Time(t) } - default: _, _ = key, value @@ -8106,7 +7928,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Alias = ptr.String(jtv) } - case "creatorId": if value != nil { jtv, ok := value.(string) @@ -8115,7 +7936,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.CreatorId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8124,12 +7944,10 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Id = ptr.String(jtv) } - case "ides": if err := awsRestjson1_deserializeDocumentIdes(&sv.Ides, value); err != nil { return err } - case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -8142,7 +7960,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.InactivityTimeoutMinutes = int32(i64) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -8151,7 +7968,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.InstanceType = types.InstanceType(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -8164,12 +7980,10 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.LastUpdatedTime = ptr.Time(t) } - case "persistentStorage": if err := awsRestjson1_deserializeDocumentPersistentStorage(&sv.PersistentStorage, value); err != nil { return err } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -8178,12 +7992,10 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.ProjectName = ptr.String(jtv) } - case "repositories": if err := awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummaries(&sv.Repositories, value); err != nil { return err } - case "spaceName": if value != nil { jtv, ok := value.(string) @@ -8192,7 +8004,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.SpaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8201,7 +8012,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Status = types.DevEnvironmentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8210,7 +8020,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.StatusReason = ptr.String(jtv) } - case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -8219,7 +8028,6 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.VpcConnectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -8293,7 +8101,6 @@ func awsRestjson1_deserializeDocumentEmailAddress(v **types.EmailAddress, value } sv.Email = ptr.String(jtv) } - case "verified": if value != nil { jtv, ok := value.(bool) @@ -8302,7 +8109,6 @@ func awsRestjson1_deserializeDocumentEmailAddress(v **types.EmailAddress, value } sv.Verified = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8376,7 +8182,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.ErrorCode = ptr.String(jtv) } - case "eventCategory": if value != nil { jtv, ok := value.(string) @@ -8385,7 +8190,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventCategory = ptr.String(jtv) } - case "eventName": if value != nil { jtv, ok := value.(string) @@ -8394,7 +8198,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventName = ptr.String(jtv) } - case "eventSource": if value != nil { jtv, ok := value.(string) @@ -8403,7 +8206,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventSource = ptr.String(jtv) } - case "eventTime": if value != nil { jtv, ok := value.(string) @@ -8416,7 +8218,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventTime = ptr.Time(t) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -8425,7 +8226,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventType = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8434,7 +8234,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.Id = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -8443,12 +8242,10 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.OperationType = types.OperationType(jtv) } - case "projectInformation": if err := awsRestjson1_deserializeDocumentProjectInformation(&sv.ProjectInformation, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8457,17 +8254,14 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.RequestId = ptr.String(jtv) } - case "requestPayload": if err := awsRestjson1_deserializeDocumentEventPayload(&sv.RequestPayload, value); err != nil { return err } - case "responsePayload": if err := awsRestjson1_deserializeDocumentEventPayload(&sv.ResponsePayload, value); err != nil { return err } - case "sourceIpAddress": if value != nil { jtv, ok := value.(string) @@ -8476,7 +8270,6 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.SourceIpAddress = ptr.String(jtv) } - case "userAgent": if value != nil { jtv, ok := value.(string) @@ -8485,12 +8278,10 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.UserAgent = ptr.String(jtv) } - case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } - default: _, _ = key, value @@ -8530,7 +8321,6 @@ func awsRestjson1_deserializeDocumentEventPayload(v **types.EventPayload, value } sv.ContentType = ptr.String(jtv) } - case "data": if value != nil { jtv, ok := value.(string) @@ -8539,7 +8329,6 @@ func awsRestjson1_deserializeDocumentEventPayload(v **types.EventPayload, value } sv.Data = ptr.String(jtv) } - default: _, _ = key, value @@ -8579,7 +8368,6 @@ func awsRestjson1_deserializeDocumentIde(v **types.Ide, value interface{}) error } sv.Name = ptr.String(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -8588,7 +8376,6 @@ func awsRestjson1_deserializeDocumentIde(v **types.Ide, value interface{}) error } sv.Runtime = ptr.String(jtv) } - default: _, _ = key, value @@ -8628,7 +8415,6 @@ func awsRestjson1_deserializeDocumentIdeConfiguration(v **types.IdeConfiguration } sv.Name = ptr.String(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -8637,7 +8423,6 @@ func awsRestjson1_deserializeDocumentIdeConfiguration(v **types.IdeConfiguration } sv.Runtime = ptr.String(jtv) } - default: _, _ = key, value @@ -8749,7 +8534,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.CreatedTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8758,7 +8542,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8767,7 +8550,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -8780,7 +8562,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8789,7 +8570,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8863,7 +8643,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.HeadCommitId = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -8876,7 +8655,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8885,7 +8663,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.Name = ptr.String(jtv) } - case "ref": if value != nil { jtv, ok := value.(string) @@ -8894,7 +8671,6 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.Ref = ptr.String(jtv) } - default: _, _ = key, value @@ -8972,7 +8748,6 @@ func awsRestjson1_deserializeDocumentPersistentStorage(v **types.PersistentStora } sv.SizeInGiB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9012,7 +8787,6 @@ func awsRestjson1_deserializeDocumentProjectInformation(v **types.ProjectInforma } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -9021,7 +8795,6 @@ func awsRestjson1_deserializeDocumentProjectInformation(v **types.ProjectInforma } sv.ProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -9095,7 +8868,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -9104,7 +8876,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9113,7 +8884,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9143,15 +8913,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9159,15 +8923,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9192,15 +8952,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9208,15 +8962,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9285,7 +9035,6 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -9294,7 +9043,6 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9303,7 +9051,6 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.Name = ptr.String(jtv) } - case "regionName": if value != nil { jtv, ok := value.(string) @@ -9312,7 +9059,6 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.RegionName = ptr.String(jtv) } - default: _, _ = key, value @@ -9342,15 +9088,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9358,15 +9098,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9401,7 +9137,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.AwsAccountId = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -9410,7 +9145,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.PrincipalId = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -9419,7 +9153,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.UserName = ptr.String(jtv) } - case "userType": if value != nil { jtv, ok := value.(string) @@ -9428,7 +9161,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.UserType = types.UserType(jtv) } - default: _, _ = key, value @@ -9458,15 +9190,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9474,15 +9200,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9517,7 +9239,6 @@ func awsRestjson1_deserializeDocumentWorkflowDefinition(v **types.WorkflowDefini } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9557,7 +9278,6 @@ func awsRestjson1_deserializeDocumentWorkflowDefinitionSummary(v **types.Workflo } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9700,7 +9420,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.EndTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9709,7 +9428,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -9722,7 +9440,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.LastUpdatedTime = ptr.Time(t) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -9735,7 +9452,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9744,12 +9460,10 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.Status = types.WorkflowRunStatus(jtv) } - case "statusReasons": if err := awsRestjson1_deserializeDocumentWorkflowRunStatusReasons(&sv.StatusReasons, value); err != nil { return err } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -9758,7 +9472,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.WorkflowId = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -9767,7 +9480,6 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -9845,12 +9557,10 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.CreatedTime = ptr.Time(t) } - case "definition": if err := awsRestjson1_deserializeDocumentWorkflowDefinitionSummary(&sv.Definition, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9859,7 +9569,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -9872,7 +9581,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.LastUpdatedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9881,7 +9589,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Name = ptr.String(jtv) } - case "runMode": if value != nil { jtv, ok := value.(string) @@ -9890,7 +9597,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.RunMode = types.WorkflowRunMode(jtv) } - case "sourceBranchName": if value != nil { jtv, ok := value.(string) @@ -9899,7 +9605,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.SourceBranchName = ptr.String(jtv) } - case "sourceRepositoryName": if value != nil { jtv, ok := value.(string) @@ -9908,7 +9613,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.SourceRepositoryName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9917,7 +9621,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Status = types.WorkflowStatus(jtv) } - default: _, _ = key, value diff --git a/service/codecommit/deserializers.go b/service/codecommit/deserializers.go index 5df80f4c7fe..c5184ad2d40 100644 --- a/service/codecommit/deserializers.go +++ b/service/codecommit/deserializers.go @@ -18250,15 +18250,9 @@ func awsAwsjson11_deserializeDocumentActorDoesNotExistException(v **types.ActorD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18266,15 +18260,11 @@ func awsAwsjson11_deserializeDocumentActorDoesNotExistException(v **types.ActorD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18309,7 +18299,6 @@ func awsAwsjson11_deserializeDocumentApproval(v **types.Approval, value interfac } sv.ApprovalState = types.ApprovalState(jtv) } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -18318,7 +18307,6 @@ func awsAwsjson11_deserializeDocumentApproval(v **types.Approval, value interfac } sv.UserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18392,7 +18380,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleContent = ptr.String(jtv) } - case "approvalRuleId": if value != nil { jtv, ok := value.(string) @@ -18401,7 +18388,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleId = ptr.String(jtv) } - case "approvalRuleName": if value != nil { jtv, ok := value.(string) @@ -18410,7 +18396,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleName = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -18426,7 +18411,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18442,7 +18426,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } } - case "lastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -18451,12 +18434,10 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.LastModifiedUser = ptr.String(jtv) } - case "originApprovalRuleTemplate": if err := awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(&sv.OriginApprovalRuleTemplate, value); err != nil { return err } - case "ruleContentSha256": if value != nil { jtv, ok := value.(string) @@ -18465,7 +18446,6 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.RuleContentSha256 = ptr.String(jtv) } - default: _, _ = key, value @@ -18495,15 +18475,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleContentRequiredException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18511,15 +18485,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleContentRequiredException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18544,15 +18514,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleDoesNotExistException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18560,15 +18524,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleDoesNotExistException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18603,7 +18563,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleContent = ptr.String(jtv) } - case "approvalRuleId": if value != nil { jtv, ok := value.(string) @@ -18612,7 +18571,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleId = ptr.String(jtv) } - case "approvalRuleName": if value != nil { jtv, ok := value.(string) @@ -18621,7 +18579,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -18651,15 +18608,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameAlreadyExistsException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18667,15 +18618,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameAlreadyExistsException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18700,15 +18647,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameRequiredException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18716,15 +18657,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameRequiredException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18759,7 +18696,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(v **typ } sv.OverrideStatus = types.OverrideStatus(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -18768,7 +18704,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(v **typ } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -18914,7 +18849,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateContent = ptr.String(jtv) } - case "approvalRuleTemplateDescription": if value != nil { jtv, ok := value.(string) @@ -18923,7 +18857,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateDescription = ptr.String(jtv) } - case "approvalRuleTemplateId": if value != nil { jtv, ok := value.(string) @@ -18932,7 +18865,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateId = ptr.String(jtv) } - case "approvalRuleTemplateName": if value != nil { jtv, ok := value.(string) @@ -18941,7 +18873,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateName = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -18957,7 +18888,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18973,7 +18903,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } } - case "lastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -18982,7 +18911,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.LastModifiedUser = ptr.String(jtv) } - case "ruleContentSha256": if value != nil { jtv, ok := value.(string) @@ -18991,7 +18919,6 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.RuleContentSha256 = ptr.String(jtv) } - default: _, _ = key, value @@ -19021,15 +18948,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateContentRequiredExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19037,15 +18958,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateContentRequiredExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19070,15 +18987,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateDoesNotExistException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19086,15 +18997,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateDoesNotExistException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19119,15 +19026,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateInUseException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19135,15 +19036,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateInUseException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19168,15 +19065,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameAlreadyExistsExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19184,15 +19075,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameAlreadyExistsExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19253,15 +19140,9 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameRequiredException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19269,15 +19150,11 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameRequiredException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19312,7 +19189,6 @@ func awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(v **types } sv.ApprovalStatus = types.ApprovalState(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -19321,7 +19197,6 @@ func awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(v **types } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -19351,15 +19226,9 @@ func awsAwsjson11_deserializeDocumentApprovalStateRequiredException(v **types.Ap sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19367,15 +19236,11 @@ func awsAwsjson11_deserializeDocumentApprovalStateRequiredException(v **types.Ap } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19400,15 +19265,9 @@ func awsAwsjson11_deserializeDocumentAuthorDoesNotExistException(v **types.Autho sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19416,15 +19275,11 @@ func awsAwsjson11_deserializeDocumentAuthorDoesNotExistException(v **types.Autho } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19459,7 +19314,6 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19468,7 +19322,6 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.ErrorMessage = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19477,7 +19330,6 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -19551,7 +19403,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.ExceptionName = ptr.String(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -19560,7 +19411,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.FilePath = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -19569,7 +19419,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -19643,7 +19492,6 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19652,7 +19500,6 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.ErrorMessage = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19661,7 +19508,6 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -19735,7 +19581,6 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.CommitId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -19744,7 +19589,6 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19753,7 +19597,6 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -19827,7 +19670,6 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.ErrorCode = types.BatchGetRepositoriesErrorCodeEnum(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19836,7 +19678,6 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.ErrorMessage = ptr.String(jtv) } - case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -19845,7 +19686,6 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.RepositoryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19854,7 +19694,6 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -19918,15 +19757,9 @@ func awsAwsjson11_deserializeDocumentBeforeCommitIdAndAfterCommitIdAreSameExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19934,15 +19767,11 @@ func awsAwsjson11_deserializeDocumentBeforeCommitIdAndAfterCommitIdAreSameExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19967,15 +19796,9 @@ func awsAwsjson11_deserializeDocumentBlobIdDoesNotExistException(v **types.BlobI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19983,15 +19806,11 @@ func awsAwsjson11_deserializeDocumentBlobIdDoesNotExistException(v **types.BlobI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20016,15 +19835,9 @@ func awsAwsjson11_deserializeDocumentBlobIdRequiredException(v **types.BlobIdReq sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20032,15 +19845,11 @@ func awsAwsjson11_deserializeDocumentBlobIdRequiredException(v **types.BlobIdReq } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20075,7 +19884,6 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.BlobId = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -20084,7 +19892,6 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.Mode = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -20093,7 +19900,6 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -20123,15 +19929,9 @@ func awsAwsjson11_deserializeDocumentBranchDoesNotExistException(v **types.Branc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20139,15 +19939,11 @@ func awsAwsjson11_deserializeDocumentBranchDoesNotExistException(v **types.Branc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20182,7 +19978,6 @@ func awsAwsjson11_deserializeDocumentBranchInfo(v **types.BranchInfo, value inte } sv.BranchName = ptr.String(jtv) } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -20191,7 +19986,6 @@ func awsAwsjson11_deserializeDocumentBranchInfo(v **types.BranchInfo, value inte } sv.CommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -20221,15 +20015,9 @@ func awsAwsjson11_deserializeDocumentBranchNameExistsException(v **types.BranchN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20237,15 +20025,11 @@ func awsAwsjson11_deserializeDocumentBranchNameExistsException(v **types.BranchN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20270,15 +20054,9 @@ func awsAwsjson11_deserializeDocumentBranchNameIsTagNameException(v **types.Bran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20286,15 +20064,11 @@ func awsAwsjson11_deserializeDocumentBranchNameIsTagNameException(v **types.Bran } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20355,15 +20129,9 @@ func awsAwsjson11_deserializeDocumentBranchNameRequiredException(v **types.Branc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20371,15 +20139,11 @@ func awsAwsjson11_deserializeDocumentBranchNameRequiredException(v **types.Branc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20440,15 +20204,9 @@ func awsAwsjson11_deserializeDocumentCannotDeleteApprovalRuleFromTemplateExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20456,15 +20214,11 @@ func awsAwsjson11_deserializeDocumentCannotDeleteApprovalRuleFromTemplateExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20489,15 +20243,9 @@ func awsAwsjson11_deserializeDocumentCannotModifyApprovalRuleFromTemplateExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20505,15 +20253,11 @@ func awsAwsjson11_deserializeDocumentCannotModifyApprovalRuleFromTemplateExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20538,15 +20282,9 @@ func awsAwsjson11_deserializeDocumentClientRequestTokenRequiredException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20554,15 +20292,11 @@ func awsAwsjson11_deserializeDocumentClientRequestTokenRequiredException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20597,12 +20331,10 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.AuthorArn = ptr.String(jtv) } - case "callerReactions": if err := awsAwsjson11_deserializeDocumentCallerReactions(&sv.CallerReactions, value); err != nil { return err } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -20611,7 +20343,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ClientRequestToken = ptr.String(jtv) } - case "commentId": if value != nil { jtv, ok := value.(string) @@ -20620,7 +20351,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.CommentId = ptr.String(jtv) } - case "content": if value != nil { jtv, ok := value.(string) @@ -20629,7 +20359,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Content = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -20645,7 +20374,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -20654,7 +20382,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Deleted = jtv } - case "inReplyTo": if value != nil { jtv, ok := value.(string) @@ -20663,7 +20390,6 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.InReplyTo = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20679,12 +20405,10 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } } - case "reactionCounts": if err := awsAwsjson11_deserializeDocumentReactionCountsMap(&sv.ReactionCounts, value); err != nil { return err } - default: _, _ = key, value @@ -20714,15 +20438,9 @@ func awsAwsjson11_deserializeDocumentCommentContentRequiredException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20730,15 +20448,11 @@ func awsAwsjson11_deserializeDocumentCommentContentRequiredException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20763,15 +20477,9 @@ func awsAwsjson11_deserializeDocumentCommentContentSizeLimitExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20779,15 +20487,11 @@ func awsAwsjson11_deserializeDocumentCommentContentSizeLimitExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20812,15 +20516,9 @@ func awsAwsjson11_deserializeDocumentCommentDeletedException(v **types.CommentDe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20828,15 +20526,11 @@ func awsAwsjson11_deserializeDocumentCommentDeletedException(v **types.CommentDe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20861,15 +20555,9 @@ func awsAwsjson11_deserializeDocumentCommentDoesNotExistException(v **types.Comm sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20877,15 +20565,11 @@ func awsAwsjson11_deserializeDocumentCommentDoesNotExistException(v **types.Comm } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20910,15 +20594,9 @@ func awsAwsjson11_deserializeDocumentCommentIdRequiredException(v **types.Commen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20926,15 +20604,11 @@ func awsAwsjson11_deserializeDocumentCommentIdRequiredException(v **types.Commen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20959,15 +20633,9 @@ func awsAwsjson11_deserializeDocumentCommentNotCreatedByCallerException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20975,15 +20643,11 @@ func awsAwsjson11_deserializeDocumentCommentNotCreatedByCallerException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21052,7 +20716,6 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.AfterBlobId = ptr.String(jtv) } - case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -21061,7 +20724,6 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.AfterCommitId = ptr.String(jtv) } - case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -21070,7 +20732,6 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.BeforeBlobId = ptr.String(jtv) } - case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -21079,17 +20740,14 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.BeforeCommitId = ptr.String(jtv) } - case "comments": if err := awsAwsjson11_deserializeDocumentComments(&sv.Comments, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -21098,7 +20756,6 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -21172,7 +20829,6 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.AfterBlobId = ptr.String(jtv) } - case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -21181,7 +20837,6 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.AfterCommitId = ptr.String(jtv) } - case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -21190,7 +20845,6 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.BeforeBlobId = ptr.String(jtv) } - case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -21199,17 +20853,14 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.BeforeCommitId = ptr.String(jtv) } - case "comments": if err := awsAwsjson11_deserializeDocumentComments(&sv.Comments, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -21218,7 +20869,6 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.PullRequestId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -21227,7 +20877,6 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -21301,12 +20950,10 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.AdditionalData = ptr.String(jtv) } - case "author": if err := awsAwsjson11_deserializeDocumentUserInfo(&sv.Author, value); err != nil { return err } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -21315,12 +20962,10 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.CommitId = ptr.String(jtv) } - case "committer": if err := awsAwsjson11_deserializeDocumentUserInfo(&sv.Committer, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -21329,12 +20974,10 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.Message = ptr.String(jtv) } - case "parents": if err := awsAwsjson11_deserializeDocumentParentList(&sv.Parents, value); err != nil { return err } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -21343,7 +20986,6 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -21373,15 +21015,9 @@ func awsAwsjson11_deserializeDocumentCommitDoesNotExistException(v **types.Commi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21389,15 +21025,11 @@ func awsAwsjson11_deserializeDocumentCommitDoesNotExistException(v **types.Commi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21422,15 +21054,9 @@ func awsAwsjson11_deserializeDocumentCommitIdDoesNotExistException(v **types.Com sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21438,15 +21064,11 @@ func awsAwsjson11_deserializeDocumentCommitIdDoesNotExistException(v **types.Com } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21471,15 +21093,9 @@ func awsAwsjson11_deserializeDocumentCommitIdRequiredException(v **types.CommitI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21487,15 +21103,11 @@ func awsAwsjson11_deserializeDocumentCommitIdRequiredException(v **types.CommitI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21520,15 +21132,9 @@ func awsAwsjson11_deserializeDocumentCommitIdsLimitExceededException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21536,15 +21142,11 @@ func awsAwsjson11_deserializeDocumentCommitIdsLimitExceededException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21569,15 +21171,9 @@ func awsAwsjson11_deserializeDocumentCommitIdsListRequiredException(v **types.Co sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21585,15 +21181,11 @@ func awsAwsjson11_deserializeDocumentCommitIdsListRequiredException(v **types.Co } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21618,15 +21210,9 @@ func awsAwsjson11_deserializeDocumentCommitMessageLengthExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21634,15 +21220,11 @@ func awsAwsjson11_deserializeDocumentCommitMessageLengthExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21701,15 +21283,9 @@ func awsAwsjson11_deserializeDocumentCommitRequiredException(v **types.CommitReq sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21717,15 +21293,11 @@ func awsAwsjson11_deserializeDocumentCommitRequiredException(v **types.CommitReq } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21750,15 +21322,9 @@ func awsAwsjson11_deserializeDocumentConcurrentReferenceUpdateException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21766,15 +21332,11 @@ func awsAwsjson11_deserializeDocumentConcurrentReferenceUpdateException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21805,12 +21367,10 @@ func awsAwsjson11_deserializeDocumentConflict(v **types.Conflict, value interfac if err := awsAwsjson11_deserializeDocumentConflictMetadata(&sv.ConflictMetadata, value); err != nil { return err } - case "mergeHunks": if err := awsAwsjson11_deserializeDocumentMergeHunks(&sv.MergeHunks, value); err != nil { return err } - default: _, _ = key, value @@ -21850,7 +21410,6 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.ContentConflict = jtv } - case "fileModeConflict": if value != nil { jtv, ok := value.(bool) @@ -21859,12 +21418,10 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.FileModeConflict = jtv } - case "fileModes": if err := awsAwsjson11_deserializeDocumentFileModes(&sv.FileModes, value); err != nil { return err } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -21873,22 +21430,18 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.FilePath = ptr.String(jtv) } - case "fileSizes": if err := awsAwsjson11_deserializeDocumentFileSizes(&sv.FileSizes, value); err != nil { return err } - case "isBinaryFile": if err := awsAwsjson11_deserializeDocumentIsBinaryFile(&sv.IsBinaryFile, value); err != nil { return err } - case "mergeOperations": if err := awsAwsjson11_deserializeDocumentMergeOperations(&sv.MergeOperations, value); err != nil { return err } - case "numberOfConflicts": if value != nil { jtv, ok := value.(json.Number) @@ -21901,7 +21454,6 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.NumberOfConflicts = int32(i64) } - case "objectTypeConflict": if value != nil { jtv, ok := value.(bool) @@ -21910,12 +21462,10 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.ObjectTypeConflict = jtv } - case "objectTypes": if err := awsAwsjson11_deserializeDocumentObjectTypes(&sv.ObjectTypes, value); err != nil { return err } - default: _, _ = key, value @@ -22013,15 +21563,9 @@ func awsAwsjson11_deserializeDocumentDefaultBranchCannotBeDeletedException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22029,15 +21573,11 @@ func awsAwsjson11_deserializeDocumentDefaultBranchCannotBeDeletedException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22068,12 +21608,10 @@ func awsAwsjson11_deserializeDocumentDifference(v **types.Difference, value inte if err := awsAwsjson11_deserializeDocumentBlobMetadata(&sv.AfterBlob, value); err != nil { return err } - case "beforeBlob": if err := awsAwsjson11_deserializeDocumentBlobMetadata(&sv.BeforeBlob, value); err != nil { return err } - case "changeType": if value != nil { jtv, ok := value.(string) @@ -22082,7 +21620,6 @@ func awsAwsjson11_deserializeDocumentDifference(v **types.Difference, value inte } sv.ChangeType = types.ChangeTypeEnum(jtv) } - default: _, _ = key, value @@ -22146,15 +21683,9 @@ func awsAwsjson11_deserializeDocumentDirectoryNameConflictsWithFileNameException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22162,15 +21693,11 @@ func awsAwsjson11_deserializeDocumentDirectoryNameConflictsWithFileNameException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22195,15 +21722,9 @@ func awsAwsjson11_deserializeDocumentEncryptionIntegrityChecksFailedException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22211,15 +21732,11 @@ func awsAwsjson11_deserializeDocumentEncryptionIntegrityChecksFailedException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22244,15 +21761,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyAccessDeniedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22260,15 +21771,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyAccessDeniedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22293,15 +21800,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyDisabledException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22309,15 +21810,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyDisabledException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22342,15 +21839,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidIdException(v **types.E sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22358,15 +21849,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidIdException(v **types.E } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22391,15 +21878,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidUsageException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22407,15 +21888,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidUsageException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22440,15 +21917,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyNotFoundException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22456,15 +21927,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyNotFoundException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22489,15 +21956,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyRequiredException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22505,15 +21966,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyRequiredException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22538,15 +21995,9 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyUnavailableException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22554,15 +22005,11 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyUnavailableException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22593,12 +22040,10 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte if err := awsAwsjson11_deserializeDocumentApprovalRulesNotSatisfiedList(&sv.ApprovalRulesNotSatisfied, value); err != nil { return err } - case "approvalRulesSatisfied": if err := awsAwsjson11_deserializeDocumentApprovalRulesSatisfiedList(&sv.ApprovalRulesSatisfied, value); err != nil { return err } - case "approved": if value != nil { jtv, ok := value.(bool) @@ -22607,7 +22052,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Approved = jtv } - case "overridden": if value != nil { jtv, ok := value.(bool) @@ -22616,7 +22060,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Overridden = jtv } - default: _, _ = key, value @@ -22656,7 +22099,6 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.AbsolutePath = ptr.String(jtv) } - case "blobId": if value != nil { jtv, ok := value.(string) @@ -22665,7 +22107,6 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.BlobId = ptr.String(jtv) } - case "fileMode": if value != nil { jtv, ok := value.(string) @@ -22674,7 +22115,6 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.FileMode = types.FileModeTypeEnum(jtv) } - case "relativePath": if value != nil { jtv, ok := value.(string) @@ -22683,7 +22123,6 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.RelativePath = ptr.String(jtv) } - default: _, _ = key, value @@ -22713,15 +22152,9 @@ func awsAwsjson11_deserializeDocumentFileContentAndSourceFileSpecifiedException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22729,15 +22162,11 @@ func awsAwsjson11_deserializeDocumentFileContentAndSourceFileSpecifiedException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22762,15 +22191,9 @@ func awsAwsjson11_deserializeDocumentFileContentRequiredException(v **types.File sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22778,15 +22201,11 @@ func awsAwsjson11_deserializeDocumentFileContentRequiredException(v **types.File } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22811,15 +22230,9 @@ func awsAwsjson11_deserializeDocumentFileContentSizeLimitExceededException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22827,15 +22240,11 @@ func awsAwsjson11_deserializeDocumentFileContentSizeLimitExceededException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22860,15 +22269,9 @@ func awsAwsjson11_deserializeDocumentFileDoesNotExistException(v **types.FileDoe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22876,15 +22279,11 @@ func awsAwsjson11_deserializeDocumentFileDoesNotExistException(v **types.FileDoe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22909,15 +22308,9 @@ func awsAwsjson11_deserializeDocumentFileEntryRequiredException(v **types.FileEn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22925,15 +22318,11 @@ func awsAwsjson11_deserializeDocumentFileEntryRequiredException(v **types.FileEn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23002,7 +22391,6 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.AbsolutePath = ptr.String(jtv) } - case "blobId": if value != nil { jtv, ok := value.(string) @@ -23011,7 +22399,6 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.BlobId = ptr.String(jtv) } - case "fileMode": if value != nil { jtv, ok := value.(string) @@ -23020,7 +22407,6 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.FileMode = types.FileModeTypeEnum(jtv) } - default: _, _ = key, value @@ -23050,15 +22436,9 @@ func awsAwsjson11_deserializeDocumentFileModeRequiredException(v **types.FileMod sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23066,15 +22446,11 @@ func awsAwsjson11_deserializeDocumentFileModeRequiredException(v **types.FileMod } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23109,7 +22485,6 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Base = types.FileModeTypeEnum(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -23118,7 +22493,6 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Destination = types.FileModeTypeEnum(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -23127,7 +22501,6 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Source = types.FileModeTypeEnum(jtv) } - default: _, _ = key, value @@ -23157,15 +22530,9 @@ func awsAwsjson11_deserializeDocumentFileNameConflictsWithDirectoryNameException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23173,15 +22540,11 @@ func awsAwsjson11_deserializeDocumentFileNameConflictsWithDirectoryNameException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23206,15 +22569,9 @@ func awsAwsjson11_deserializeDocumentFilePathConflictsWithSubmodulePathException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23222,15 +22579,11 @@ func awsAwsjson11_deserializeDocumentFilePathConflictsWithSubmodulePathException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23269,7 +22622,6 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Base = i64 } - case "destination": if value != nil { jtv, ok := value.(json.Number) @@ -23282,7 +22634,6 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Destination = i64 } - case "source": if value != nil { jtv, ok := value.(json.Number) @@ -23295,7 +22646,6 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Source = i64 } - default: _, _ = key, value @@ -23359,15 +22709,9 @@ func awsAwsjson11_deserializeDocumentFileTooLargeException(v **types.FileTooLarg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23375,15 +22719,11 @@ func awsAwsjson11_deserializeDocumentFileTooLargeException(v **types.FileTooLarg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23418,12 +22758,10 @@ func awsAwsjson11_deserializeDocumentFileVersion(v **types.FileVersion, value in } sv.BlobId = ptr.String(jtv) } - case "commit": if err := awsAwsjson11_deserializeDocumentCommit(&sv.Commit, value); err != nil { return err } - case "path": if value != nil { jtv, ok := value.(string) @@ -23432,12 +22770,10 @@ func awsAwsjson11_deserializeDocumentFileVersion(v **types.FileVersion, value in } sv.Path = ptr.String(jtv) } - case "revisionChildren": if err := awsAwsjson11_deserializeDocumentRevisionChildren(&sv.RevisionChildren, value); err != nil { return err } - default: _, _ = key, value @@ -23477,7 +22813,6 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.AbsolutePath = ptr.String(jtv) } - case "relativePath": if value != nil { jtv, ok := value.(string) @@ -23486,7 +22821,6 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.RelativePath = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -23495,7 +22829,6 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -23525,15 +22858,9 @@ func awsAwsjson11_deserializeDocumentFolderContentSizeLimitExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23541,15 +22868,11 @@ func awsAwsjson11_deserializeDocumentFolderContentSizeLimitExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23574,15 +22897,9 @@ func awsAwsjson11_deserializeDocumentFolderDoesNotExistException(v **types.Folde sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23590,15 +22907,11 @@ func awsAwsjson11_deserializeDocumentFolderDoesNotExistException(v **types.Folde } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23657,15 +22970,9 @@ func awsAwsjson11_deserializeDocumentIdempotencyParameterMismatchException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23673,15 +22980,11 @@ func awsAwsjson11_deserializeDocumentIdempotencyParameterMismatchException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23706,15 +23009,9 @@ func awsAwsjson11_deserializeDocumentInvalidActorArnException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23722,15 +23019,11 @@ func awsAwsjson11_deserializeDocumentInvalidActorArnException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23755,15 +23048,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleContentException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23771,15 +23058,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleContentException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23804,15 +23087,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleNameException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23820,15 +23097,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleNameException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23853,15 +23126,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateContentException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23869,15 +23136,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateContentException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23902,15 +23165,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateDescriptionExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23918,15 +23175,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateDescriptionExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23951,15 +23204,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateNameException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23967,15 +23214,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateNameException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24000,15 +23243,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24016,15 +23253,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24049,15 +23282,9 @@ func awsAwsjson11_deserializeDocumentInvalidAuthorArnException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24065,15 +23292,11 @@ func awsAwsjson11_deserializeDocumentInvalidAuthorArnException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24098,15 +23321,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlobIdException(v **types.InvalidBlo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24114,15 +23331,11 @@ func awsAwsjson11_deserializeDocumentInvalidBlobIdException(v **types.InvalidBlo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24147,15 +23360,9 @@ func awsAwsjson11_deserializeDocumentInvalidBranchNameException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24163,15 +23370,11 @@ func awsAwsjson11_deserializeDocumentInvalidBranchNameException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24196,15 +23399,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientRequestTokenException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24212,15 +23409,11 @@ func awsAwsjson11_deserializeDocumentInvalidClientRequestTokenException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24245,15 +23438,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommentIdException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24261,15 +23448,11 @@ func awsAwsjson11_deserializeDocumentInvalidCommentIdException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24294,15 +23477,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommitException(v **types.InvalidCom sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24310,15 +23487,11 @@ func awsAwsjson11_deserializeDocumentInvalidCommitException(v **types.InvalidCom } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24343,15 +23516,9 @@ func awsAwsjson11_deserializeDocumentInvalidCommitIdException(v **types.InvalidC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24359,15 +23526,11 @@ func awsAwsjson11_deserializeDocumentInvalidCommitIdException(v **types.InvalidC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24392,15 +23555,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictDetailLevelException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24408,15 +23565,11 @@ func awsAwsjson11_deserializeDocumentInvalidConflictDetailLevelException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24441,15 +23594,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24457,15 +23604,11 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24490,15 +23633,9 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionStrategyException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24506,15 +23643,11 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionStrategyException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24539,15 +23672,9 @@ func awsAwsjson11_deserializeDocumentInvalidContinuationTokenException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24555,15 +23682,11 @@ func awsAwsjson11_deserializeDocumentInvalidContinuationTokenException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24588,15 +23711,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionParameterException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24604,15 +23721,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionParameterException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24637,15 +23750,9 @@ func awsAwsjson11_deserializeDocumentInvalidDescriptionException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24653,15 +23760,11 @@ func awsAwsjson11_deserializeDocumentInvalidDescriptionException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24686,15 +23789,9 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationCommitSpecifierException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24702,15 +23799,11 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationCommitSpecifierException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24735,15 +23828,9 @@ func awsAwsjson11_deserializeDocumentInvalidEmailException(v **types.InvalidEmai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24751,15 +23838,11 @@ func awsAwsjson11_deserializeDocumentInvalidEmailException(v **types.InvalidEmai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24784,15 +23867,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileLocationException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24800,15 +23877,11 @@ func awsAwsjson11_deserializeDocumentInvalidFileLocationException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24833,15 +23906,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileModeException(v **types.InvalidF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24849,15 +23916,11 @@ func awsAwsjson11_deserializeDocumentInvalidFileModeException(v **types.InvalidF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24882,15 +23945,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilePositionException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24898,15 +23955,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilePositionException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24931,15 +23984,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxConflictFilesException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24947,15 +23994,11 @@ func awsAwsjson11_deserializeDocumentInvalidMaxConflictFilesException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24980,15 +24023,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxMergeHunksException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24996,15 +24033,11 @@ func awsAwsjson11_deserializeDocumentInvalidMaxMergeHunksException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25029,15 +24062,9 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25045,15 +24072,11 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25078,15 +24101,9 @@ func awsAwsjson11_deserializeDocumentInvalidMergeOptionException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25094,15 +24111,11 @@ func awsAwsjson11_deserializeDocumentInvalidMergeOptionException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25127,15 +24140,9 @@ func awsAwsjson11_deserializeDocumentInvalidOrderException(v **types.InvalidOrde sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25143,15 +24150,11 @@ func awsAwsjson11_deserializeDocumentInvalidOrderException(v **types.InvalidOrde } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25176,15 +24179,9 @@ func awsAwsjson11_deserializeDocumentInvalidOverrideStatusException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25192,15 +24189,11 @@ func awsAwsjson11_deserializeDocumentInvalidOverrideStatusException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25225,15 +24218,9 @@ func awsAwsjson11_deserializeDocumentInvalidParentCommitIdException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25241,15 +24228,11 @@ func awsAwsjson11_deserializeDocumentInvalidParentCommitIdException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25274,15 +24257,9 @@ func awsAwsjson11_deserializeDocumentInvalidPathException(v **types.InvalidPathE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25290,15 +24267,11 @@ func awsAwsjson11_deserializeDocumentInvalidPathException(v **types.InvalidPathE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25323,15 +24296,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestEventTypeException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25339,15 +24306,11 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestEventTypeException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25372,15 +24335,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestIdException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25388,15 +24345,11 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestIdException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25421,15 +24374,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25437,15 +24384,11 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25470,15 +24413,9 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusUpdateException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25486,15 +24423,11 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusUpdateException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25519,15 +24452,9 @@ func awsAwsjson11_deserializeDocumentInvalidReactionUserArnException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25535,15 +24462,11 @@ func awsAwsjson11_deserializeDocumentInvalidReactionUserArnException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25568,15 +24491,9 @@ func awsAwsjson11_deserializeDocumentInvalidReactionValueException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25584,15 +24501,11 @@ func awsAwsjson11_deserializeDocumentInvalidReactionValueException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25617,15 +24530,9 @@ func awsAwsjson11_deserializeDocumentInvalidReferenceNameException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25633,15 +24540,11 @@ func awsAwsjson11_deserializeDocumentInvalidReferenceNameException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25666,15 +24569,9 @@ func awsAwsjson11_deserializeDocumentInvalidRelativeFileVersionEnumException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25682,15 +24579,11 @@ func awsAwsjson11_deserializeDocumentInvalidRelativeFileVersionEnumException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25715,15 +24608,9 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementContentException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25731,15 +24618,11 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementContentException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25764,15 +24647,9 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementTypeException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25780,15 +24657,11 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementTypeException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25813,15 +24686,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryDescriptionException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25829,15 +24696,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryDescriptionException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25862,15 +24725,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryNameException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25878,15 +24735,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryNameException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25911,15 +24764,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerBranchNameException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25927,15 +24774,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerBranchNameException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25960,15 +24803,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerCustomDataException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25976,15 +24813,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerCustomDataException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26009,15 +24842,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerDestinationArnExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26025,15 +24852,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerDestinationArnExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26058,15 +24881,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerEventsException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26074,15 +24891,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerEventsException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26107,15 +24920,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerNameException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26123,15 +24930,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerNameException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26156,15 +24959,9 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerRegionException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26172,15 +24969,11 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerRegionException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26205,15 +24998,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceArnException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26221,15 +25008,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceArnException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26254,15 +25037,9 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionIdException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26270,15 +25047,11 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionIdException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26303,15 +25076,9 @@ func awsAwsjson11_deserializeDocumentInvalidRuleContentSha256Exception(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26319,15 +25086,11 @@ func awsAwsjson11_deserializeDocumentInvalidRuleContentSha256Exception(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26352,15 +25115,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26368,15 +25125,11 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26401,15 +25154,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceCommitSpecifierException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26417,15 +25164,11 @@ func awsAwsjson11_deserializeDocumentInvalidSourceCommitSpecifierException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26450,15 +25193,9 @@ func awsAwsjson11_deserializeDocumentInvalidSystemTagUsageException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26466,15 +25203,11 @@ func awsAwsjson11_deserializeDocumentInvalidSystemTagUsageException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26499,15 +25232,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagKeysListException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26515,15 +25242,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagKeysListException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26548,15 +25271,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsMapException(v **types.InvalidTa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26564,15 +25281,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagsMapException(v **types.InvalidTa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26597,15 +25310,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetBranchException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26613,15 +25320,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetBranchException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26646,15 +25349,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26662,15 +25359,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26695,15 +25388,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetsException(v **types.InvalidTa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26711,15 +25398,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetsException(v **types.InvalidTa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26744,15 +25427,9 @@ func awsAwsjson11_deserializeDocumentInvalidTitleException(v **types.InvalidTitl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26760,15 +25437,11 @@ func awsAwsjson11_deserializeDocumentInvalidTitleException(v **types.InvalidTitl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26803,7 +25476,6 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Base = ptr.Bool(jtv) } - case "destination": if value != nil { jtv, ok := value.(bool) @@ -26812,7 +25484,6 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Destination = ptr.Bool(jtv) } - case "source": if value != nil { jtv, ok := value.(bool) @@ -26821,7 +25492,6 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Source = ptr.Bool(jtv) } - default: _, _ = key, value @@ -26861,7 +25531,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.FilePath = ptr.String(jtv) } - case "filePosition": if value != nil { jtv, ok := value.(json.Number) @@ -26874,7 +25543,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.FilePosition = ptr.Int64(i64) } - case "relativeFileVersion": if value != nil { jtv, ok := value.(string) @@ -26883,7 +25551,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.RelativeFileVersion = types.RelativeFileVersionEnum(jtv) } - default: _, _ = key, value @@ -26913,15 +25580,9 @@ func awsAwsjson11_deserializeDocumentManualMergeRequiredException(v **types.Manu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26929,15 +25590,11 @@ func awsAwsjson11_deserializeDocumentManualMergeRequiredException(v **types.Manu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26962,15 +25619,9 @@ func awsAwsjson11_deserializeDocumentMaximumBranchesExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26978,15 +25629,11 @@ func awsAwsjson11_deserializeDocumentMaximumBranchesExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27011,15 +25658,9 @@ func awsAwsjson11_deserializeDocumentMaximumConflictResolutionEntriesExceededExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27027,15 +25668,11 @@ func awsAwsjson11_deserializeDocumentMaximumConflictResolutionEntriesExceededExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27060,15 +25697,9 @@ func awsAwsjson11_deserializeDocumentMaximumFileContentToLoadExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27076,15 +25707,11 @@ func awsAwsjson11_deserializeDocumentMaximumFileContentToLoadExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27109,15 +25736,9 @@ func awsAwsjson11_deserializeDocumentMaximumFileEntriesExceededException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27125,15 +25746,11 @@ func awsAwsjson11_deserializeDocumentMaximumFileEntriesExceededException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27158,15 +25775,9 @@ func awsAwsjson11_deserializeDocumentMaximumItemsToCompareExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27174,15 +25785,11 @@ func awsAwsjson11_deserializeDocumentMaximumItemsToCompareExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27207,15 +25814,9 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfApprovalsExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27223,15 +25824,11 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfApprovalsExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27256,15 +25853,9 @@ func awsAwsjson11_deserializeDocumentMaximumOpenPullRequestsExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27272,15 +25863,11 @@ func awsAwsjson11_deserializeDocumentMaximumOpenPullRequestsExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27305,15 +25892,9 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryNamesExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27321,15 +25902,11 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryNamesExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27354,15 +25931,9 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryTriggersExceededException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27370,15 +25941,11 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryTriggersExceededException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27403,15 +25970,9 @@ func awsAwsjson11_deserializeDocumentMaximumRuleTemplatesAssociatedWithRepositor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27419,15 +25980,11 @@ func awsAwsjson11_deserializeDocumentMaximumRuleTemplatesAssociatedWithRepositor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27458,12 +26015,10 @@ func awsAwsjson11_deserializeDocumentMergeHunk(v **types.MergeHunk, value interf if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Base, value); err != nil { return err } - case "destination": if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Destination, value); err != nil { return err } - case "isConflict": if value != nil { jtv, ok := value.(bool) @@ -27472,12 +26027,10 @@ func awsAwsjson11_deserializeDocumentMergeHunk(v **types.MergeHunk, value interf } sv.IsConflict = jtv } - case "source": if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -27521,7 +26074,6 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.EndLine = ptr.Int32(int32(i64)) } - case "hunkContent": if value != nil { jtv, ok := value.(string) @@ -27530,7 +26082,6 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.HunkContent = ptr.String(jtv) } - case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -27543,7 +26094,6 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.StartLine = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27617,7 +26167,6 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.IsMerged = jtv } - case "mergeCommitId": if value != nil { jtv, ok := value.(string) @@ -27626,7 +26175,6 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergeCommitId = ptr.String(jtv) } - case "mergedBy": if value != nil { jtv, ok := value.(string) @@ -27635,7 +26183,6 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergedBy = ptr.String(jtv) } - case "mergeOption": if value != nil { jtv, ok := value.(string) @@ -27644,7 +26191,6 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergeOption = types.MergeOptionTypeEnum(jtv) } - default: _, _ = key, value @@ -27684,7 +26230,6 @@ func awsAwsjson11_deserializeDocumentMergeOperations(v **types.MergeOperations, } sv.Destination = types.ChangeTypeEnum(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -27693,7 +26238,6 @@ func awsAwsjson11_deserializeDocumentMergeOperations(v **types.MergeOperations, } sv.Source = types.ChangeTypeEnum(jtv) } - default: _, _ = key, value @@ -27723,15 +26267,9 @@ func awsAwsjson11_deserializeDocumentMergeOptionRequiredException(v **types.Merg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27739,15 +26277,11 @@ func awsAwsjson11_deserializeDocumentMergeOptionRequiredException(v **types.Merg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27808,15 +26342,9 @@ func awsAwsjson11_deserializeDocumentMultipleConflictResolutionEntriesException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27824,15 +26352,11 @@ func awsAwsjson11_deserializeDocumentMultipleConflictResolutionEntriesException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27857,15 +26381,9 @@ func awsAwsjson11_deserializeDocumentMultipleRepositoriesInPullRequestException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27873,15 +26391,11 @@ func awsAwsjson11_deserializeDocumentMultipleRepositoriesInPullRequestException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27906,15 +26420,9 @@ func awsAwsjson11_deserializeDocumentNameLengthExceededException(v **types.NameL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27922,15 +26430,11 @@ func awsAwsjson11_deserializeDocumentNameLengthExceededException(v **types.NameL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27955,15 +26459,9 @@ func awsAwsjson11_deserializeDocumentNoChangeException(v **types.NoChangeExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27971,15 +26469,11 @@ func awsAwsjson11_deserializeDocumentNoChangeException(v **types.NoChangeExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28004,15 +26498,9 @@ func awsAwsjson11_deserializeDocumentNumberOfRulesExceededException(v **types.Nu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28020,15 +26508,11 @@ func awsAwsjson11_deserializeDocumentNumberOfRulesExceededException(v **types.Nu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28053,15 +26537,9 @@ func awsAwsjson11_deserializeDocumentNumberOfRuleTemplatesExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28069,15 +26547,11 @@ func awsAwsjson11_deserializeDocumentNumberOfRuleTemplatesExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28112,7 +26586,6 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Base = types.ObjectTypeEnum(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -28121,7 +26594,6 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Destination = types.ObjectTypeEnum(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -28130,7 +26602,6 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Source = types.ObjectTypeEnum(jtv) } - default: _, _ = key, value @@ -28160,15 +26631,9 @@ func awsAwsjson11_deserializeDocumentOperationNotAllowedException(v **types.Oper sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28176,15 +26641,11 @@ func awsAwsjson11_deserializeDocumentOperationNotAllowedException(v **types.Oper } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28219,7 +26680,6 @@ func awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(v **types.Origin } sv.ApprovalRuleTemplateId = ptr.String(jtv) } - case "approvalRuleTemplateName": if value != nil { jtv, ok := value.(string) @@ -28228,7 +26688,6 @@ func awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(v **types.Origin } sv.ApprovalRuleTemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -28258,15 +26717,9 @@ func awsAwsjson11_deserializeDocumentOverrideAlreadySetException(v **types.Overr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28274,15 +26727,11 @@ func awsAwsjson11_deserializeDocumentOverrideAlreadySetException(v **types.Overr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28307,15 +26756,9 @@ func awsAwsjson11_deserializeDocumentOverrideStatusRequiredException(v **types.O sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28323,15 +26766,11 @@ func awsAwsjson11_deserializeDocumentOverrideStatusRequiredException(v **types.O } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28356,15 +26795,9 @@ func awsAwsjson11_deserializeDocumentParentCommitDoesNotExistException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28372,15 +26805,11 @@ func awsAwsjson11_deserializeDocumentParentCommitDoesNotExistException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28405,15 +26834,9 @@ func awsAwsjson11_deserializeDocumentParentCommitIdOutdatedException(v **types.P sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28421,15 +26844,11 @@ func awsAwsjson11_deserializeDocumentParentCommitIdOutdatedException(v **types.P } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28454,15 +26873,9 @@ func awsAwsjson11_deserializeDocumentParentCommitIdRequiredException(v **types.P sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28470,15 +26883,11 @@ func awsAwsjson11_deserializeDocumentParentCommitIdRequiredException(v **types.P } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28539,15 +26948,9 @@ func awsAwsjson11_deserializeDocumentPathDoesNotExistException(v **types.PathDoe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28555,15 +26958,11 @@ func awsAwsjson11_deserializeDocumentPathDoesNotExistException(v **types.PathDoe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28588,15 +26987,9 @@ func awsAwsjson11_deserializeDocumentPathRequiredException(v **types.PathRequire sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28604,15 +26997,11 @@ func awsAwsjson11_deserializeDocumentPathRequiredException(v **types.PathRequire } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28643,7 +27032,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in if err := awsAwsjson11_deserializeDocumentApprovalRulesList(&sv.ApprovalRules, value); err != nil { return err } - case "authorArn": if value != nil { jtv, ok := value.(string) @@ -28652,7 +27040,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.AuthorArn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -28661,7 +27048,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.ClientRequestToken = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -28677,7 +27063,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } } - case "description": if value != nil { jtv, ok := value.(string) @@ -28686,7 +27071,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.Description = ptr.String(jtv) } - case "lastActivityDate": if value != nil { switch jtv := value.(type) { @@ -28702,7 +27086,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } } - case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -28711,7 +27094,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.PullRequestId = ptr.String(jtv) } - case "pullRequestStatus": if value != nil { jtv, ok := value.(string) @@ -28720,12 +27102,10 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.PullRequestStatus = types.PullRequestStatusEnum(jtv) } - case "pullRequestTargets": if err := awsAwsjson11_deserializeDocumentPullRequestTargetList(&sv.PullRequestTargets, value); err != nil { return err } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -28734,7 +27114,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.RevisionId = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -28743,7 +27122,6 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -28773,15 +27151,9 @@ func awsAwsjson11_deserializeDocumentPullRequestAlreadyClosedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28789,15 +27161,11 @@ func awsAwsjson11_deserializeDocumentPullRequestAlreadyClosedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28822,15 +27190,9 @@ func awsAwsjson11_deserializeDocumentPullRequestApprovalRulesNotSatisfiedExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28838,15 +27200,11 @@ func awsAwsjson11_deserializeDocumentPullRequestApprovalRulesNotSatisfiedExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28871,15 +27229,9 @@ func awsAwsjson11_deserializeDocumentPullRequestCannotBeApprovedByAuthorExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28887,15 +27239,11 @@ func awsAwsjson11_deserializeDocumentPullRequestCannotBeApprovedByAuthorExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28930,7 +27278,6 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.DestinationCommitId = ptr.String(jtv) } - case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -28939,7 +27286,6 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.MergeBase = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -28948,7 +27294,6 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.RepositoryName = ptr.String(jtv) } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -28957,7 +27302,6 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -28987,15 +27331,9 @@ func awsAwsjson11_deserializeDocumentPullRequestDoesNotExistException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29003,15 +27341,11 @@ func awsAwsjson11_deserializeDocumentPullRequestDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29046,22 +27380,18 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.ActorArn = ptr.String(jtv) } - case "approvalRuleEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(&sv.ApprovalRuleEventMetadata, value); err != nil { return err } - case "approvalRuleOverriddenEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(&sv.ApprovalRuleOverriddenEventMetadata, value); err != nil { return err } - case "approvalStateChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(&sv.ApprovalStateChangedEventMetadata, value); err != nil { return err } - case "eventDate": if value != nil { switch jtv := value.(type) { @@ -29077,12 +27407,10 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } } - case "pullRequestCreatedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(&sv.PullRequestCreatedEventMetadata, value); err != nil { return err } - case "pullRequestEventType": if value != nil { jtv, ok := value.(string) @@ -29091,7 +27419,6 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.PullRequestEventType = types.PullRequestEventType(jtv) } - case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -29100,22 +27427,18 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.PullRequestId = ptr.String(jtv) } - case "pullRequestMergedStateChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata(&sv.PullRequestMergedStateChangedEventMetadata, value); err != nil { return err } - case "pullRequestSourceReferenceUpdatedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetadata(&sv.PullRequestSourceReferenceUpdatedEventMetadata, value); err != nil { return err } - case "pullRequestStatusChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestStatusChangedEventMetadata(&sv.PullRequestStatusChangedEventMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -29215,15 +27538,9 @@ func awsAwsjson11_deserializeDocumentPullRequestIdRequiredException(v **types.Pu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29231,15 +27548,11 @@ func awsAwsjson11_deserializeDocumentPullRequestIdRequiredException(v **types.Pu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29274,12 +27587,10 @@ func awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata( } sv.DestinationReference = ptr.String(jtv) } - case "mergeMetadata": if err := awsAwsjson11_deserializeDocumentMergeMetadata(&sv.MergeMetadata, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -29288,7 +27599,6 @@ func awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata( } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -29328,7 +27638,6 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.AfterCommitId = ptr.String(jtv) } - case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -29337,7 +27646,6 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.BeforeCommitId = ptr.String(jtv) } - case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -29346,7 +27654,6 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.MergeBase = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -29355,7 +27662,6 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -29395,7 +27701,6 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusChangedEventMetadata(v **t } sv.PullRequestStatus = types.PullRequestStatusEnum(jtv) } - default: _, _ = key, value @@ -29425,15 +27730,9 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusRequiredException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29441,15 +27740,11 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusRequiredException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29484,7 +27779,6 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.DestinationCommit = ptr.String(jtv) } - case "destinationReference": if value != nil { jtv, ok := value.(string) @@ -29493,7 +27787,6 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.DestinationReference = ptr.String(jtv) } - case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -29502,12 +27795,10 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.MergeBase = ptr.String(jtv) } - case "mergeMetadata": if err := awsAwsjson11_deserializeDocumentMergeMetadata(&sv.MergeMetadata, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -29516,7 +27807,6 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.RepositoryName = ptr.String(jtv) } - case "sourceCommit": if value != nil { jtv, ok := value.(string) @@ -29525,7 +27815,6 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.SourceCommit = ptr.String(jtv) } - case "sourceReference": if value != nil { jtv, ok := value.(string) @@ -29534,7 +27823,6 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.SourceReference = ptr.String(jtv) } - default: _, _ = key, value @@ -29598,15 +27886,9 @@ func awsAwsjson11_deserializeDocumentPutFileEntryConflictException(v **types.Put sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29614,15 +27896,11 @@ func awsAwsjson11_deserializeDocumentPutFileEntryConflictException(v **types.Put } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29693,7 +27971,6 @@ func awsAwsjson11_deserializeDocumentReactionForComment(v **types.ReactionForCom if err := awsAwsjson11_deserializeDocumentReactionValueFormats(&sv.Reaction, value); err != nil { return err } - case "reactionsFromDeletedUsersCount": if value != nil { jtv, ok := value.(json.Number) @@ -29706,12 +27983,10 @@ func awsAwsjson11_deserializeDocumentReactionForComment(v **types.ReactionForCom } sv.ReactionsFromDeletedUsersCount = ptr.Int32(int32(i64)) } - case "reactionUsers": if err := awsAwsjson11_deserializeDocumentReactionUsersList(&sv.ReactionUsers, value); err != nil { return err } - default: _, _ = key, value @@ -29741,15 +28016,9 @@ func awsAwsjson11_deserializeDocumentReactionLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29757,15 +28026,11 @@ func awsAwsjson11_deserializeDocumentReactionLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29870,7 +28135,6 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.Emoji = ptr.String(jtv) } - case "shortCode": if value != nil { jtv, ok := value.(string) @@ -29879,7 +28143,6 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.ShortCode = ptr.String(jtv) } - case "unicode": if value != nil { jtv, ok := value.(string) @@ -29888,7 +28151,6 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.Unicode = ptr.String(jtv) } - default: _, _ = key, value @@ -29918,15 +28180,9 @@ func awsAwsjson11_deserializeDocumentReactionValueRequiredException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29934,15 +28190,11 @@ func awsAwsjson11_deserializeDocumentReactionValueRequiredException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29967,15 +28219,9 @@ func awsAwsjson11_deserializeDocumentReferenceDoesNotExistException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29983,15 +28229,11 @@ func awsAwsjson11_deserializeDocumentReferenceDoesNotExistException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30016,15 +28258,9 @@ func awsAwsjson11_deserializeDocumentReferenceNameRequiredException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30032,15 +28268,11 @@ func awsAwsjson11_deserializeDocumentReferenceNameRequiredException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30065,15 +28297,9 @@ func awsAwsjson11_deserializeDocumentReferenceTypeNotSupportedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30081,15 +28307,11 @@ func awsAwsjson11_deserializeDocumentReferenceTypeNotSupportedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30114,15 +28336,9 @@ func awsAwsjson11_deserializeDocumentReplacementContentRequiredException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30130,15 +28346,11 @@ func awsAwsjson11_deserializeDocumentReplacementContentRequiredException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30163,15 +28375,9 @@ func awsAwsjson11_deserializeDocumentReplacementTypeRequiredException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30179,15 +28385,11 @@ func awsAwsjson11_deserializeDocumentReplacementTypeRequiredException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30212,15 +28414,9 @@ func awsAwsjson11_deserializeDocumentRepositoryDoesNotExistException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30228,15 +28424,11 @@ func awsAwsjson11_deserializeDocumentRepositoryDoesNotExistException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30261,15 +28453,9 @@ func awsAwsjson11_deserializeDocumentRepositoryLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30277,15 +28463,11 @@ func awsAwsjson11_deserializeDocumentRepositoryLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30320,7 +28502,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.AccountId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -30329,7 +28510,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.Arn = ptr.String(jtv) } - case "cloneUrlHttp": if value != nil { jtv, ok := value.(string) @@ -30338,7 +28518,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.CloneUrlHttp = ptr.String(jtv) } - case "cloneUrlSsh": if value != nil { jtv, ok := value.(string) @@ -30347,7 +28526,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.CloneUrlSsh = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -30363,7 +28541,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } } - case "defaultBranch": if value != nil { jtv, ok := value.(string) @@ -30372,7 +28549,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.DefaultBranch = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -30381,7 +28557,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.KmsKeyId = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -30397,7 +28572,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } } - case "repositoryDescription": if value != nil { jtv, ok := value.(string) @@ -30406,7 +28580,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryDescription = ptr.String(jtv) } - case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -30415,7 +28588,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -30424,7 +28596,6 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -30488,15 +28659,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNameExistsException(v **types.Rep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30504,15 +28669,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNameExistsException(v **types.Rep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30547,7 +28708,6 @@ func awsAwsjson11_deserializeDocumentRepositoryNameIdPair(v **types.RepositoryNa } sv.RepositoryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -30556,7 +28716,6 @@ func awsAwsjson11_deserializeDocumentRepositoryNameIdPair(v **types.RepositoryNa } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -30656,15 +28815,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNameRequiredException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30672,15 +28825,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNameRequiredException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30705,15 +28854,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNamesRequiredException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30721,15 +28864,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNamesRequiredException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30754,15 +28893,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotAssociatedWithPullRequestExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30770,15 +28903,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNotAssociatedWithPullRequestExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30845,7 +28974,6 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg if err := awsAwsjson11_deserializeDocumentBranchNameList(&sv.Branches, value); err != nil { return err } - case "customData": if value != nil { jtv, ok := value.(string) @@ -30854,7 +28982,6 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.CustomData = ptr.String(jtv) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -30863,12 +28990,10 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.DestinationArn = ptr.String(jtv) } - case "events": if err := awsAwsjson11_deserializeDocumentRepositoryTriggerEventList(&sv.Events, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -30877,7 +29002,6 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -30907,15 +29031,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerBranchNameListRequiredExce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30923,15 +29041,11 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerBranchNameListRequiredExce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30956,15 +29070,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerDestinationArnRequiredExce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30972,15 +29080,11 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerDestinationArnRequiredExce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31041,15 +29145,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerEventsListRequiredExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31057,15 +29155,11 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerEventsListRequiredExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31100,7 +29194,6 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailure(v **types } sv.FailureMessage = ptr.String(jtv) } - case "trigger": if value != nil { jtv, ok := value.(string) @@ -31109,7 +29202,6 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailure(v **types } sv.Trigger = ptr.String(jtv) } - default: _, _ = key, value @@ -31209,15 +29301,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerNameRequiredException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31225,15 +29311,11 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerNameRequiredException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31292,15 +29374,9 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggersListRequiredException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31308,15 +29384,11 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggersListRequiredException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31341,15 +29413,9 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31357,15 +29423,11 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31390,15 +29452,9 @@ func awsAwsjson11_deserializeDocumentRestrictedSourceFileException(v **types.Res sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31406,15 +29462,11 @@ func awsAwsjson11_deserializeDocumentRestrictedSourceFileException(v **types.Res } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31509,15 +29561,9 @@ func awsAwsjson11_deserializeDocumentRevisionIdRequiredException(v **types.Revis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31525,15 +29571,11 @@ func awsAwsjson11_deserializeDocumentRevisionIdRequiredException(v **types.Revis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31558,15 +29600,9 @@ func awsAwsjson11_deserializeDocumentRevisionNotCurrentException(v **types.Revis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31574,15 +29610,11 @@ func awsAwsjson11_deserializeDocumentRevisionNotCurrentException(v **types.Revis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31607,15 +29639,9 @@ func awsAwsjson11_deserializeDocumentSameFileContentException(v **types.SameFile sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31623,15 +29649,11 @@ func awsAwsjson11_deserializeDocumentSameFileContentException(v **types.SameFile } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31656,15 +29678,9 @@ func awsAwsjson11_deserializeDocumentSamePathRequestException(v **types.SamePath sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31672,15 +29688,11 @@ func awsAwsjson11_deserializeDocumentSamePathRequestException(v **types.SamePath } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31705,15 +29717,9 @@ func awsAwsjson11_deserializeDocumentSourceAndDestinationAreSameException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31721,15 +29727,11 @@ func awsAwsjson11_deserializeDocumentSourceAndDestinationAreSameException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31754,15 +29756,9 @@ func awsAwsjson11_deserializeDocumentSourceFileOrContentRequiredException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31770,15 +29766,11 @@ func awsAwsjson11_deserializeDocumentSourceFileOrContentRequiredException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31813,7 +29805,6 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.AbsolutePath = ptr.String(jtv) } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -31822,7 +29813,6 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.CommitId = ptr.String(jtv) } - case "relativePath": if value != nil { jtv, ok := value.(string) @@ -31831,7 +29821,6 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.RelativePath = ptr.String(jtv) } - default: _, _ = key, value @@ -31905,7 +29894,6 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.AbsolutePath = ptr.String(jtv) } - case "blobId": if value != nil { jtv, ok := value.(string) @@ -31914,7 +29902,6 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.BlobId = ptr.String(jtv) } - case "fileMode": if value != nil { jtv, ok := value.(string) @@ -31923,7 +29910,6 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.FileMode = types.FileModeTypeEnum(jtv) } - case "relativePath": if value != nil { jtv, ok := value.(string) @@ -31932,7 +29918,6 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.RelativePath = ptr.String(jtv) } - default: _, _ = key, value @@ -31996,15 +29981,9 @@ func awsAwsjson11_deserializeDocumentTagKeysListRequiredException(v **types.TagK sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32012,15 +29991,11 @@ func awsAwsjson11_deserializeDocumentTagKeysListRequiredException(v **types.TagK } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32045,15 +30020,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32061,15 +30030,11 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32130,15 +30095,9 @@ func awsAwsjson11_deserializeDocumentTagsMapRequiredException(v **types.TagsMapR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32146,15 +30105,11 @@ func awsAwsjson11_deserializeDocumentTagsMapRequiredException(v **types.TagsMapR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32179,15 +30134,9 @@ func awsAwsjson11_deserializeDocumentTargetRequiredException(v **types.TargetReq sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32195,15 +30144,11 @@ func awsAwsjson11_deserializeDocumentTargetRequiredException(v **types.TargetReq } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32228,15 +30173,9 @@ func awsAwsjson11_deserializeDocumentTargetsRequiredException(v **types.TargetsR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32244,15 +30183,11 @@ func awsAwsjson11_deserializeDocumentTargetsRequiredException(v **types.TargetsR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32277,15 +30212,9 @@ func awsAwsjson11_deserializeDocumentTipOfSourceReferenceIsDifferentException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32293,15 +30222,11 @@ func awsAwsjson11_deserializeDocumentTipOfSourceReferenceIsDifferentException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32326,15 +30251,9 @@ func awsAwsjson11_deserializeDocumentTipsDivergenceExceededException(v **types.T sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32342,15 +30261,11 @@ func awsAwsjson11_deserializeDocumentTipsDivergenceExceededException(v **types.T } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32375,15 +30290,9 @@ func awsAwsjson11_deserializeDocumentTitleRequiredException(v **types.TitleRequi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32391,15 +30300,11 @@ func awsAwsjson11_deserializeDocumentTitleRequiredException(v **types.TitleRequi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32424,15 +30329,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32440,15 +30339,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32483,7 +30378,6 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Date = ptr.String(jtv) } - case "email": if value != nil { jtv, ok := value.(string) @@ -32492,7 +30386,6 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Email = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32501,7 +30394,6 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -32537,12 +30429,10 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateApprovalRuleTemplateWithRep if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.AssociatedRepositoryNames, value); err != nil { return err } - case "errors": if err := awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -32582,12 +30472,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.BaseCommitId = ptr.String(jtv) } - case "conflicts": if err := awsAwsjson11_deserializeDocumentConflicts(&sv.Conflicts, value); err != nil { return err } - case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -32596,12 +30484,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.DestinationCommitId = ptr.String(jtv) } - case "errors": if err := awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsErrors(&sv.Errors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32610,7 +30496,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.NextToken = ptr.String(jtv) } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -32619,7 +30504,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -32655,12 +30539,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateApprovalRuleTemplateFrom if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.DisassociatedRepositoryNames, value); err != nil { return err } - case "errors": if err := awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -32696,12 +30578,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCommitsOutput(v **BatchGetCommits if err := awsAwsjson11_deserializeDocumentCommitObjectsList(&sv.Commits, value); err != nil { return err } - case "errors": if err := awsAwsjson11_deserializeDocumentBatchGetCommitsErrorsList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -32737,17 +30617,14 @@ func awsAwsjson11_deserializeOpDocumentBatchGetRepositoriesOutput(v **BatchGetRe if err := awsAwsjson11_deserializeDocumentBatchGetRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } - case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryMetadataList(&sv.Repositories, value); err != nil { return err } - case "repositoriesNotFound": if err := awsAwsjson11_deserializeDocumentRepositoryNotFoundList(&sv.RepositoriesNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -32783,7 +30660,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApprovalRuleTemplateOutput(v **Crea if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -32823,22 +30699,18 @@ func awsAwsjson11_deserializeOpDocumentCreateCommitOutput(v **CreateCommitOutput } sv.CommitId = ptr.String(jtv) } - case "filesAdded": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesAdded, value); err != nil { return err } - case "filesDeleted": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesDeleted, value); err != nil { return err } - case "filesUpdated": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesUpdated, value); err != nil { return err } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -32847,7 +30719,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCommitOutput(v **CreateCommitOutput } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -32883,7 +30754,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullRequestApprovalRuleOutput(v **C if err := awsAwsjson11_deserializeDocumentApprovalRule(&sv.ApprovalRule, value); err != nil { return err } - default: _, _ = key, value @@ -32919,7 +30789,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullRequestOutput(v **CreatePullReq if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -32955,7 +30824,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepositoryMetadata(&sv.RepositoryMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -32995,7 +30863,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUnreferencedMergeCommitOutput(v **C } sv.CommitId = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -33004,7 +30871,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUnreferencedMergeCommitOutput(v **C } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -33044,7 +30910,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApprovalRuleTemplateOutput(v **Dele } sv.ApprovalRuleTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -33080,7 +30945,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBranchOutput(v **DeleteBranchOutput if err := awsAwsjson11_deserializeDocumentBranchInfo(&sv.DeletedBranch, value); err != nil { return err } - default: _, _ = key, value @@ -33116,7 +30980,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCommentContentOutput(v **DeleteComm if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - default: _, _ = key, value @@ -33156,7 +31019,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.BlobId = ptr.String(jtv) } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -33165,7 +31027,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.CommitId = ptr.String(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -33174,7 +31035,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.FilePath = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -33183,7 +31043,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -33223,7 +31082,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullRequestApprovalRuleOutput(v **D } sv.ApprovalRuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -33263,7 +31121,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito } sv.RepositoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -33303,12 +31160,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.BaseCommitId = ptr.String(jtv) } - case "conflictMetadata": if err := awsAwsjson11_deserializeDocumentConflictMetadata(&sv.ConflictMetadata, value); err != nil { return err } - case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -33317,12 +31172,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.DestinationCommitId = ptr.String(jtv) } - case "mergeHunks": if err := awsAwsjson11_deserializeDocumentMergeHunks(&sv.MergeHunks, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -33331,7 +31184,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -33340,7 +31192,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -33380,12 +31231,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePullRequestEventsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "pullRequestEvents": if err := awsAwsjson11_deserializeDocumentPullRequestEventList(&sv.PullRequestEvents, value); err != nil { return err } - default: _, _ = key, value @@ -33421,7 +31270,6 @@ func awsAwsjson11_deserializeOpDocumentEvaluatePullRequestApprovalRulesOutput(v if err := awsAwsjson11_deserializeDocumentEvaluation(&sv.Evaluation, value); err != nil { return err } - default: _, _ = key, value @@ -33457,7 +31305,6 @@ func awsAwsjson11_deserializeOpDocumentGetApprovalRuleTemplateOutput(v **GetAppr if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -33501,7 +31348,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlobOutput(v **GetBlobOutput, value in } sv.Content = dv } - default: _, _ = key, value @@ -33537,7 +31383,6 @@ func awsAwsjson11_deserializeOpDocumentGetBranchOutput(v **GetBranchOutput, valu if err := awsAwsjson11_deserializeDocumentBranchInfo(&sv.Branch, value); err != nil { return err } - default: _, _ = key, value @@ -33573,7 +31418,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommentOutput(v **GetCommentOutput, va if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - default: _, _ = key, value @@ -33613,12 +31457,10 @@ func awsAwsjson11_deserializeOpDocumentGetCommentReactionsOutput(v **GetCommentR } sv.NextToken = ptr.String(jtv) } - case "reactionsForComment": if err := awsAwsjson11_deserializeDocumentReactionsForCommentList(&sv.ReactionsForComment, value); err != nil { return err } - default: _, _ = key, value @@ -33654,7 +31496,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForComparedCommitOutput(v **Ge if err := awsAwsjson11_deserializeDocumentCommentsForComparedCommitData(&sv.CommentsForComparedCommitData, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -33663,7 +31504,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForComparedCommitOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -33699,7 +31539,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForPullRequestOutput(v **GetCo if err := awsAwsjson11_deserializeDocumentCommentsForPullRequestData(&sv.CommentsForPullRequestData, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -33708,7 +31547,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForPullRequestOutput(v **GetCo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -33744,7 +31582,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommitOutput(v **GetCommitOutput, valu if err := awsAwsjson11_deserializeDocumentCommit(&sv.Commit, value); err != nil { return err } - default: _, _ = key, value @@ -33780,7 +31617,6 @@ func awsAwsjson11_deserializeOpDocumentGetDifferencesOutput(v **GetDifferencesOu if err := awsAwsjson11_deserializeDocumentDifferenceList(&sv.Differences, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -33789,7 +31625,6 @@ func awsAwsjson11_deserializeOpDocumentGetDifferencesOutput(v **GetDifferencesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -33829,7 +31664,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.BlobId = ptr.String(jtv) } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -33838,7 +31672,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.CommitId = ptr.String(jtv) } - case "fileContent": if value != nil { jtv, ok := value.(string) @@ -33851,7 +31684,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileContent = dv } - case "fileMode": if value != nil { jtv, ok := value.(string) @@ -33860,7 +31692,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileMode = types.FileModeTypeEnum(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -33869,7 +31700,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FilePath = ptr.String(jtv) } - case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -33882,7 +31712,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileSize = i64 } - default: _, _ = key, value @@ -33922,12 +31751,10 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.CommitId = ptr.String(jtv) } - case "files": if err := awsAwsjson11_deserializeDocumentFileList(&sv.Files, value); err != nil { return err } - case "folderPath": if value != nil { jtv, ok := value.(string) @@ -33936,22 +31763,18 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.FolderPath = ptr.String(jtv) } - case "subFolders": if err := awsAwsjson11_deserializeDocumentFolderList(&sv.SubFolders, value); err != nil { return err } - case "subModules": if err := awsAwsjson11_deserializeDocumentSubModuleList(&sv.SubModules, value); err != nil { return err } - case "symbolicLinks": if err := awsAwsjson11_deserializeDocumentSymbolicLinkList(&sv.SymbolicLinks, value); err != nil { return err } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -33960,7 +31783,6 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -34000,7 +31822,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.BaseCommitId = ptr.String(jtv) } - case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -34009,7 +31830,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.DestinationCommitId = ptr.String(jtv) } - case "mergedCommitId": if value != nil { jtv, ok := value.(string) @@ -34018,7 +31838,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.MergedCommitId = ptr.String(jtv) } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -34027,7 +31846,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -34067,12 +31885,10 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.BaseCommitId = ptr.String(jtv) } - case "conflictMetadataList": if err := awsAwsjson11_deserializeDocumentConflictMetadataList(&sv.ConflictMetadataList, value); err != nil { return err } - case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -34081,7 +31897,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.DestinationCommitId = ptr.String(jtv) } - case "mergeable": if value != nil { jtv, ok := value.(bool) @@ -34090,7 +31905,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.Mergeable = jtv } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -34099,7 +31913,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.NextToken = ptr.String(jtv) } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -34108,7 +31921,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -34148,7 +31960,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.BaseCommitId = ptr.String(jtv) } - case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -34157,12 +31968,10 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.DestinationCommitId = ptr.String(jtv) } - case "mergeOptions": if err := awsAwsjson11_deserializeDocumentMergeOptions(&sv.MergeOptions, value); err != nil { return err } - case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -34171,7 +31980,6 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.SourceCommitId = ptr.String(jtv) } - default: _, _ = key, value @@ -34207,7 +32015,6 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestApprovalStatesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentApprovalList(&sv.Approvals, value); err != nil { return err } - default: _, _ = key, value @@ -34243,7 +32050,6 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOutput(v **GetPullRequestOu if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -34283,7 +32089,6 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOverrideStateOutput(v **Get } sv.Overridden = jtv } - case "overrider": if value != nil { jtv, ok := value.(string) @@ -34292,7 +32097,6 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOverrideStateOutput(v **Get } sv.Overrider = ptr.String(jtv) } - default: _, _ = key, value @@ -34328,7 +32132,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryOutput(v **GetRepositoryOutp if err := awsAwsjson11_deserializeDocumentRepositoryMetadata(&sv.RepositoryMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -34368,12 +32171,10 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryTriggersOutput(v **GetReposi } sv.ConfigurationId = ptr.String(jtv) } - case "triggers": if err := awsAwsjson11_deserializeDocumentRepositoryTriggersList(&sv.Triggers, value); err != nil { return err } - default: _, _ = key, value @@ -34409,7 +32210,6 @@ func awsAwsjson11_deserializeOpDocumentListApprovalRuleTemplatesOutput(v **ListA if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameList(&sv.ApprovalRuleTemplateNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -34418,7 +32218,6 @@ func awsAwsjson11_deserializeOpDocumentListApprovalRuleTemplatesOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -34454,7 +32253,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedApprovalRuleTemplatesForRep if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameList(&sv.ApprovalRuleTemplateNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -34463,7 +32261,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedApprovalRuleTemplatesForRep } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -34499,7 +32296,6 @@ func awsAwsjson11_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput if err := awsAwsjson11_deserializeDocumentBranchNameList(&sv.Branches, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -34508,7 +32304,6 @@ func awsAwsjson11_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -34548,12 +32343,10 @@ func awsAwsjson11_deserializeOpDocumentListFileCommitHistoryOutput(v **ListFileC } sv.NextToken = ptr.String(jtv) } - case "revisionDag": if err := awsAwsjson11_deserializeDocumentRevisionDag(&sv.RevisionDag, value); err != nil { return err } - default: _, _ = key, value @@ -34593,12 +32386,10 @@ func awsAwsjson11_deserializeOpDocumentListPullRequestsOutput(v **ListPullReques } sv.NextToken = ptr.String(jtv) } - case "pullRequestIds": if err := awsAwsjson11_deserializeDocumentPullRequestIdList(&sv.PullRequestIds, value); err != nil { return err } - default: _, _ = key, value @@ -34638,12 +32429,10 @@ func awsAwsjson11_deserializeOpDocumentListRepositoriesForApprovalRuleTemplateOu } sv.NextToken = ptr.String(jtv) } - case "repositoryNames": if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.RepositoryNames, value); err != nil { return err } - default: _, _ = key, value @@ -34683,12 +32472,10 @@ func awsAwsjson11_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryNameIdPairList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -34728,12 +32515,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -34773,7 +32558,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByFastForwardOutput(v **Merg } sv.CommitId = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -34782,7 +32566,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByFastForwardOutput(v **Merg } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -34822,7 +32605,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesBySquashOutput(v **MergeBran } sv.CommitId = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -34831,7 +32613,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesBySquashOutput(v **MergeBran } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -34871,7 +32652,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByThreeWayOutput(v **MergeBr } sv.CommitId = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -34880,7 +32660,6 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByThreeWayOutput(v **MergeBr } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -34916,7 +32695,6 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestByFastForwardOutput(v **M if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -34952,7 +32730,6 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestBySquashOutput(v **MergeP if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -34988,7 +32765,6 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestByThreeWayOutput(v **Merg if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -35028,7 +32804,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.AfterBlobId = ptr.String(jtv) } - case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -35037,7 +32812,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.AfterCommitId = ptr.String(jtv) } - case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -35046,7 +32820,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.BeforeBlobId = ptr.String(jtv) } - case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -35055,17 +32828,14 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.BeforeCommitId = ptr.String(jtv) } - case "comment": if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -35074,7 +32844,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -35114,7 +32883,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.AfterBlobId = ptr.String(jtv) } - case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -35123,7 +32891,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.AfterCommitId = ptr.String(jtv) } - case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -35132,7 +32899,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.BeforeBlobId = ptr.String(jtv) } - case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -35141,17 +32907,14 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.BeforeCommitId = ptr.String(jtv) } - case "comment": if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -35160,7 +32923,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.PullRequestId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -35169,7 +32931,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -35205,7 +32966,6 @@ func awsAwsjson11_deserializeOpDocumentPostCommentReplyOutput(v **PostCommentRep if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - default: _, _ = key, value @@ -35245,7 +33005,6 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.BlobId = ptr.String(jtv) } - case "commitId": if value != nil { jtv, ok := value.(string) @@ -35254,7 +33013,6 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.CommitId = ptr.String(jtv) } - case "treeId": if value != nil { jtv, ok := value.(string) @@ -35263,7 +33021,6 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.TreeId = ptr.String(jtv) } - default: _, _ = key, value @@ -35303,7 +33060,6 @@ func awsAwsjson11_deserializeOpDocumentPutRepositoryTriggersOutput(v **PutReposi } sv.ConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -35339,12 +33095,10 @@ func awsAwsjson11_deserializeOpDocumentTestRepositoryTriggersOutput(v **TestRepo if err := awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailureList(&sv.FailedExecutions, value); err != nil { return err } - case "successfulExecutions": if err := awsAwsjson11_deserializeDocumentRepositoryTriggerNameList(&sv.SuccessfulExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -35380,7 +33134,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateContentOutput(v if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -35416,7 +33169,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateDescriptionOutp if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -35452,7 +33204,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateNameOutput(v ** if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -35488,7 +33239,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCommentOutput(v **UpdateCommentOutp if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - default: _, _ = key, value @@ -35524,7 +33274,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestApprovalRuleContentOutpu if err := awsAwsjson11_deserializeDocumentApprovalRule(&sv.ApprovalRule, value); err != nil { return err } - default: _, _ = key, value @@ -35560,7 +33309,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestDescriptionOutput(v **Up if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -35596,7 +33344,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestStatusOutput(v **UpdateP if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -35632,7 +33379,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestTitleOutput(v **UpdatePu if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } - default: _, _ = key, value @@ -35672,7 +33418,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.KmsKeyId = ptr.String(jtv) } - case "originalKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -35681,7 +33426,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.OriginalKmsKeyId = ptr.String(jtv) } - case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -35690,7 +33434,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.RepositoryId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/codeconnections/deserializers.go b/service/codeconnections/deserializers.go index 2824785ad21..79a801d66af 100644 --- a/service/codeconnections/deserializers.go +++ b/service/codeconnections/deserializers.go @@ -3893,15 +3893,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3909,15 +3903,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3942,15 +3932,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3958,15 +3942,11 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3991,15 +3971,9 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4007,15 +3981,11 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4040,15 +4010,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4056,15 +4020,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4099,7 +4059,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -4108,7 +4067,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -4117,7 +4075,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionStatus = types.ConnectionStatus(jtv) } - case "HostArn": if value != nil { jtv, ok := value.(string) @@ -4126,7 +4083,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.HostArn = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -4135,7 +4091,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccountId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4144,7 +4099,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } - default: _, _ = key, value @@ -4218,7 +4172,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4227,7 +4180,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Name = ptr.String(jtv) } - case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4188,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderEndpoint = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4245,7 +4196,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4254,7 +4204,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4263,12 +4212,10 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.StatusMessage = ptr.String(jtv) } - case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4332,15 +4279,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4348,15 +4289,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4381,15 +4318,9 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4397,15 +4328,11 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4464,15 +4391,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4480,15 +4401,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4523,7 +4440,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ConnectionArn = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4532,7 +4448,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.EncryptionKeyArn = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4541,7 +4456,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4550,7 +4464,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ProviderType = types.ProviderType(jtv) } - case "RepositoryLinkArn": if value != nil { jtv, ok := value.(string) @@ -4559,7 +4472,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkArn = ptr.String(jtv) } - case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -4568,7 +4480,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -4577,7 +4488,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -4647,7 +4557,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEventList(&sv.Events, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4663,7 +4572,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4672,7 +4580,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } - default: _, _ = key, value @@ -4712,7 +4619,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } - case "Directory": if value != nil { jtv, ok := value.(string) @@ -4721,7 +4627,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } - case "Parent": if value != nil { jtv, ok := value.(string) @@ -4730,7 +4635,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -4739,7 +4643,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -4813,7 +4716,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4822,7 +4724,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } - case "Time": if value != nil { switch jtv := value.(type) { @@ -4838,7 +4739,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4847,7 +4747,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4911,15 +4810,9 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4927,15 +4820,11 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4960,15 +4849,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4976,15 +4859,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5015,12 +4894,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEventList(&sv.Events, value); err != nil { return err } - case "InitialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -5036,7 +4913,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5045,7 +4921,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -5054,12 +4929,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } - case "TargetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } - default: _, _ = key, value @@ -5099,7 +4972,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -5108,7 +4980,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } - case "Time": if value != nil { switch jtv := value.(type) { @@ -5124,7 +4995,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5133,7 +5003,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5197,15 +5066,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5213,15 +5076,11 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5246,15 +5105,9 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5262,15 +5115,11 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5305,7 +5154,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } - case "Directory": if value != nil { jtv, ok := value.(string) @@ -5314,7 +5162,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5323,7 +5170,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5332,7 +5178,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.ProviderType = types.ProviderType(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5186,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } - case "Sha": if value != nil { jtv, ok := value.(string) @@ -5350,7 +5194,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } - default: _, _ = key, value @@ -5458,7 +5301,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContextList(&sv.Contexts, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5474,7 +5316,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "CreatedReason": if value != nil { jtv, ok := value.(string) @@ -5483,7 +5324,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5492,7 +5332,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } - case "ResolvedAt": if value != nil { switch jtv := value.(type) { @@ -5508,7 +5347,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "ResolvedReason": if value != nil { jtv, ok := value.(string) @@ -5517,7 +5355,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5526,7 +5363,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5535,7 +5371,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } - default: _, _ = key, value @@ -5575,7 +5410,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5584,7 +5418,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5648,15 +5481,9 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5664,15 +5491,11 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5703,7 +5526,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum if err := awsAwsjson10_deserializeDocumentLatestSyncBlockerList(&sv.LatestBlockers, value); err != nil { return err } - case "ParentResourceName": if value != nil { jtv, ok := value.(string) @@ -5712,7 +5534,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ParentResourceName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5721,7 +5542,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -5761,7 +5581,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.Branch = ptr.String(jtv) } - case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -5770,7 +5589,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ConfigFile = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5779,7 +5597,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5788,7 +5605,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ProviderType = types.ProviderType(jtv) } - case "PublishDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5797,7 +5613,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PublishDeploymentStatus = types.PublishDeploymentStatus(jtv) } - case "PullRequestComment": if value != nil { jtv, ok := value.(string) @@ -5806,7 +5621,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PullRequestComment = types.PullRequestComment(jtv) } - case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -5815,7 +5629,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryLinkId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5637,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5833,7 +5645,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ResourceName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5842,7 +5653,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RoleArn = ptr.String(jtv) } - case "SyncType": if value != nil { jtv, ok := value.(string) @@ -5851,7 +5661,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.SyncType = types.SyncConfigurationType(jtv) } - case "TriggerResourceUpdateOn": if value != nil { jtv, ok := value.(string) @@ -5860,7 +5669,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.TriggerResourceUpdateOn = types.TriggerResourceUpdateOn(jtv) } - default: _, _ = key, value @@ -5924,15 +5732,9 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5940,15 +5742,11 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5983,7 +5781,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5992,7 +5789,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6056,15 +5852,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6072,15 +5862,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6105,15 +5891,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6121,15 +5901,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6154,15 +5930,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6170,15 +5940,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6203,15 +5969,9 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6219,15 +5979,11 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6258,12 +6014,10 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "TlsCertificate": if value != nil { jtv, ok := value.(string) @@ -6272,7 +6026,6 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.TlsCertificate = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6281,7 +6034,6 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -6321,12 +6073,10 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6366,12 +6116,10 @@ func awsAwsjson10_deserializeOpDocumentCreateHostOutput(v **CreateHostOutput, va } sv.HostArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6407,7 +6155,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryLinkOutput(v **CreateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6443,7 +6190,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSyncConfigurationOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6603,7 +6349,6 @@ func awsAwsjson10_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -6643,7 +6388,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Name = ptr.String(jtv) } - case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -6652,7 +6396,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderEndpoint = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -6661,7 +6404,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6670,12 +6412,10 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Status = ptr.String(jtv) } - case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6711,7 +6451,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryLinkOutput(v **GetRepository if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6747,7 +6486,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -6783,17 +6521,14 @@ func awsAwsjson10_deserializeOpDocumentGetResourceSyncStatusOutput(v **GetResour if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } - case "LatestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } - case "LatestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -6829,7 +6564,6 @@ func awsAwsjson10_deserializeOpDocumentGetSyncBlockerSummaryOutput(v **GetSyncBl if err := awsAwsjson10_deserializeDocumentSyncBlockerSummary(&sv.SyncBlockerSummary, value); err != nil { return err } - default: _, _ = key, value @@ -6865,7 +6599,6 @@ func awsAwsjson10_deserializeOpDocumentGetSyncConfigurationOutput(v **GetSyncCon if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6901,7 +6634,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6910,7 +6642,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6946,7 +6677,6 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu if err := awsAwsjson10_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6955,7 +6685,6 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6995,12 +6724,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositoryLinksOutput(v **ListReposit } sv.NextToken = ptr.String(jtv) } - case "RepositoryLinks": if err := awsAwsjson10_deserializeDocumentRepositoryLinkList(&sv.RepositoryLinks, value); err != nil { return err } - default: _, _ = key, value @@ -7040,12 +6767,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "RepositorySyncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.RepositorySyncDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -7085,12 +6810,10 @@ func awsAwsjson10_deserializeOpDocumentListSyncConfigurationsOutput(v **ListSync } sv.NextToken = ptr.String(jtv) } - case "SyncConfigurations": if err := awsAwsjson10_deserializeDocumentSyncConfigurationList(&sv.SyncConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -7126,7 +6849,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7255,7 +6977,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateRepositoryLinkOutput(v **UpdateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7295,7 +7016,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ParentResourceName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7304,12 +7024,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ResourceName = ptr.String(jtv) } - case "SyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.SyncBlocker, value); err != nil { return err } - default: _, _ = key, value @@ -7345,7 +7063,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncConfigurationOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codedeploy/deserializers.go b/service/codedeploy/deserializers.go index 7b0f3b6b7c4..34bb08a433a 100644 --- a/service/codedeploy/deserializers.go +++ b/service/codedeploy/deserializers.go @@ -9772,7 +9772,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9808,7 +9807,6 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -9817,7 +9815,6 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.Enabled = jtv } - case "ignorePollAlarmFailure": if value != nil { jtv, ok := value.(bool) @@ -9826,7 +9823,6 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.IgnorePollAlarmFailure = jtv } - default: _, _ = key, value @@ -9890,15 +9886,9 @@ func awsAwsjson11_deserializeDocumentAlarmsLimitExceededException(v **types.Alar sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9906,15 +9896,11 @@ func awsAwsjson11_deserializeDocumentAlarmsLimitExceededException(v **types.Alar } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9939,15 +9925,9 @@ func awsAwsjson11_deserializeDocumentApplicationAlreadyExistsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9955,15 +9935,11 @@ func awsAwsjson11_deserializeDocumentApplicationAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9988,15 +9964,9 @@ func awsAwsjson11_deserializeDocumentApplicationDoesNotExistException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10004,15 +9974,11 @@ func awsAwsjson11_deserializeDocumentApplicationDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10047,7 +10013,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ApplicationId = ptr.String(jtv) } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -10056,7 +10021,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ApplicationName = ptr.String(jtv) } - case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -10065,7 +10029,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ComputePlatform = types.ComputePlatform(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -10081,7 +10044,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } } - case "gitHubAccountName": if value != nil { jtv, ok := value.(string) @@ -10090,7 +10052,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.GitHubAccountName = ptr.String(jtv) } - case "linkedToGitHub": if value != nil { jtv, ok := value.(bool) @@ -10099,7 +10060,6 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.LinkedToGitHub = jtv } - default: _, _ = key, value @@ -10129,15 +10089,9 @@ func awsAwsjson11_deserializeDocumentApplicationLimitExceededException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10145,15 +10099,11 @@ func awsAwsjson11_deserializeDocumentApplicationLimitExceededException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10178,15 +10128,9 @@ func awsAwsjson11_deserializeDocumentApplicationNameRequiredException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10194,15 +10138,11 @@ func awsAwsjson11_deserializeDocumentApplicationNameRequiredException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10307,7 +10247,6 @@ func awsAwsjson11_deserializeDocumentAppSpecContent(v **types.AppSpecContent, va } sv.Content = ptr.String(jtv) } - case "sha256": if value != nil { jtv, ok := value.(string) @@ -10316,7 +10255,6 @@ func awsAwsjson11_deserializeDocumentAppSpecContent(v **types.AppSpecContent, va } sv.Sha256 = ptr.String(jtv) } - default: _, _ = key, value @@ -10346,15 +10284,9 @@ func awsAwsjson11_deserializeDocumentArnNotSupportedException(v **types.ArnNotSu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10362,15 +10294,11 @@ func awsAwsjson11_deserializeDocumentArnNotSupportedException(v **types.ArnNotSu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10405,12 +10333,10 @@ func awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(v **types.AutoRol } sv.Enabled = jtv } - case "events": if err := awsAwsjson11_deserializeDocumentAutoRollbackEventsList(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -10486,7 +10412,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Hook = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10495,7 +10420,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Name = ptr.String(jtv) } - case "terminationHook": if value != nil { jtv, ok := value.(string) @@ -10504,7 +10428,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.TerminationHook = ptr.String(jtv) } - default: _, _ = key, value @@ -10604,15 +10527,9 @@ func awsAwsjson11_deserializeDocumentBatchLimitExceededException(v **types.Batch sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10620,15 +10537,11 @@ func awsAwsjson11_deserializeDocumentBatchLimitExceededException(v **types.Batch } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10659,17 +10572,14 @@ func awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(v **types. if err := awsAwsjson11_deserializeDocumentDeploymentReadyOption(&sv.DeploymentReadyOption, value); err != nil { return err } - case "greenFleetProvisioningOption": if err := awsAwsjson11_deserializeDocumentGreenFleetProvisioningOption(&sv.GreenFleetProvisioningOption, value); err != nil { return err } - case "terminateBlueInstancesOnDeploymentSuccess": if err := awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(&sv.TerminateBlueInstancesOnDeploymentSuccess, value); err != nil { return err } - default: _, _ = key, value @@ -10709,7 +10619,6 @@ func awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(v **types.Blu } sv.Action = types.InstanceAction(jtv) } - case "terminationWaitTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10722,7 +10631,6 @@ func awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(v **types.Blu } sv.TerminationWaitTimeInMinutes = int32(i64) } - default: _, _ = key, value @@ -10752,15 +10660,9 @@ func awsAwsjson11_deserializeDocumentBucketNameFilterRequiredException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10768,15 +10670,11 @@ func awsAwsjson11_deserializeDocumentBucketNameFilterRequiredException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10811,7 +10709,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.DeploymentId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10827,12 +10724,10 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } } - case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10841,7 +10736,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.ResourceType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10850,7 +10744,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.Status = types.TargetStatus(jtv) } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -10859,7 +10752,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.TargetId = ptr.String(jtv) } - case "targetVersionWeight": if value != nil { switch jtv := value.(type) { @@ -10893,7 +10785,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } } - default: _, _ = key, value @@ -10923,15 +10814,9 @@ func awsAwsjson11_deserializeDocumentDeploymentAlreadyCompletedException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10939,15 +10824,11 @@ func awsAwsjson11_deserializeDocumentDeploymentAlreadyCompletedException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10972,15 +10853,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigAlreadyExistsException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10988,15 +10863,11 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigAlreadyExistsException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11021,15 +10892,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigDoesNotExistException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11037,15 +10902,11 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigDoesNotExistException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11080,7 +10941,6 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.ComputePlatform = types.ComputePlatform(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -11096,7 +10956,6 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } } - case "deploymentConfigId": if value != nil { jtv, ok := value.(string) @@ -11105,7 +10964,6 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.DeploymentConfigId = ptr.String(jtv) } - case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -11114,22 +10972,18 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.DeploymentConfigName = ptr.String(jtv) } - case "minimumHealthyHosts": if err := awsAwsjson11_deserializeDocumentMinimumHealthyHosts(&sv.MinimumHealthyHosts, value); err != nil { return err } - case "trafficRoutingConfig": if err := awsAwsjson11_deserializeDocumentTrafficRoutingConfig(&sv.TrafficRoutingConfig, value); err != nil { return err } - case "zonalConfig": if err := awsAwsjson11_deserializeDocumentZonalConfig(&sv.ZonalConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11159,15 +11013,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInUseException(v **types.De sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11175,15 +11023,11 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInUseException(v **types.De } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11208,15 +11052,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigLimitExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11224,15 +11062,11 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigLimitExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11257,15 +11091,9 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigNameRequiredException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11273,15 +11101,11 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigNameRequiredException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11342,15 +11166,9 @@ func awsAwsjson11_deserializeDocumentDeploymentDoesNotExistException(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11358,15 +11176,11 @@ func awsAwsjson11_deserializeDocumentDeploymentDoesNotExistException(v **types.D } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11391,15 +11205,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupAlreadyExistsException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11407,15 +11215,11 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupAlreadyExistsException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11440,15 +11244,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupDoesNotExistException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11456,15 +11254,11 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupDoesNotExistException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11495,7 +11289,6 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -11504,22 +11297,18 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ApplicationName = ptr.String(jtv) } - case "autoRollbackConfiguration": if err := awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(&sv.AutoRollbackConfiguration, value); err != nil { return err } - case "autoScalingGroups": if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.AutoScalingGroups, value); err != nil { return err } - case "blueGreenDeploymentConfiguration": if err := awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(&sv.BlueGreenDeploymentConfiguration, value); err != nil { return err } - case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -11528,7 +11317,6 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ComputePlatform = types.ComputePlatform(jtv) } - case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -11537,7 +11325,6 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentConfigName = ptr.String(jtv) } - case "deploymentGroupId": if value != nil { jtv, ok := value.(string) @@ -11546,7 +11333,6 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentGroupId = ptr.String(jtv) } - case "deploymentGroupName": if value != nil { jtv, ok := value.(string) @@ -11555,52 +11341,42 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentGroupName = ptr.String(jtv) } - case "deploymentStyle": if err := awsAwsjson11_deserializeDocumentDeploymentStyle(&sv.DeploymentStyle, value); err != nil { return err } - case "ec2TagFilters": if err := awsAwsjson11_deserializeDocumentEC2TagFilterList(&sv.Ec2TagFilters, value); err != nil { return err } - case "ec2TagSet": if err := awsAwsjson11_deserializeDocumentEC2TagSet(&sv.Ec2TagSet, value); err != nil { return err } - case "ecsServices": if err := awsAwsjson11_deserializeDocumentECSServiceList(&sv.EcsServices, value); err != nil { return err } - case "lastAttemptedDeployment": if err := awsAwsjson11_deserializeDocumentLastDeploymentInfo(&sv.LastAttemptedDeployment, value); err != nil { return err } - case "lastSuccessfulDeployment": if err := awsAwsjson11_deserializeDocumentLastDeploymentInfo(&sv.LastSuccessfulDeployment, value); err != nil { return err } - case "loadBalancerInfo": if err := awsAwsjson11_deserializeDocumentLoadBalancerInfo(&sv.LoadBalancerInfo, value); err != nil { return err } - case "onPremisesInstanceTagFilters": if err := awsAwsjson11_deserializeDocumentTagFilterList(&sv.OnPremisesInstanceTagFilters, value); err != nil { return err } - case "onPremisesTagSet": if err := awsAwsjson11_deserializeDocumentOnPremisesTagSet(&sv.OnPremisesTagSet, value); err != nil { return err } - case "outdatedInstancesStrategy": if value != nil { jtv, ok := value.(string) @@ -11609,7 +11385,6 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.OutdatedInstancesStrategy = types.OutdatedInstancesStrategy(jtv) } - case "serviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11618,12 +11393,10 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ServiceRoleArn = ptr.String(jtv) } - case "targetRevision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.TargetRevision, value); err != nil { return err } - case "terminationHookEnabled": if value != nil { jtv, ok := value.(bool) @@ -11632,12 +11405,10 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.TerminationHookEnabled = jtv } - case "triggerConfigurations": if err := awsAwsjson11_deserializeDocumentTriggerConfigList(&sv.TriggerConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -11701,15 +11472,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupLimitExceededException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11717,15 +11482,11 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupLimitExceededException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11750,15 +11511,9 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupNameRequiredException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11766,15 +11521,11 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupNameRequiredException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11835,15 +11586,9 @@ func awsAwsjson11_deserializeDocumentDeploymentIdRequiredException(v **types.Dep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11851,15 +11596,11 @@ func awsAwsjson11_deserializeDocumentDeploymentIdRequiredException(v **types.Dep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11894,7 +11635,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.AdditionalDeploymentStatusInfo = ptr.String(jtv) } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -11903,17 +11643,14 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ApplicationName = ptr.String(jtv) } - case "autoRollbackConfiguration": if err := awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(&sv.AutoRollbackConfiguration, value); err != nil { return err } - case "blueGreenDeploymentConfiguration": if err := awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(&sv.BlueGreenDeploymentConfiguration, value); err != nil { return err } - case "completeTime": if value != nil { switch jtv := value.(type) { @@ -11929,7 +11666,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } - case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -11938,7 +11674,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ComputePlatform = types.ComputePlatform(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -11954,7 +11689,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } - case "creator": if value != nil { jtv, ok := value.(string) @@ -11963,7 +11697,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Creator = types.DeploymentCreator(jtv) } - case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -11972,7 +11705,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentConfigName = ptr.String(jtv) } - case "deploymentGroupName": if value != nil { jtv, ok := value.(string) @@ -11981,7 +11713,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentGroupName = ptr.String(jtv) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -11990,22 +11721,18 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentId = ptr.String(jtv) } - case "deploymentOverview": if err := awsAwsjson11_deserializeDocumentDeploymentOverview(&sv.DeploymentOverview, value); err != nil { return err } - case "deploymentStatusMessages": if err := awsAwsjson11_deserializeDocumentDeploymentStatusMessageList(&sv.DeploymentStatusMessages, value); err != nil { return err } - case "deploymentStyle": if err := awsAwsjson11_deserializeDocumentDeploymentStyle(&sv.DeploymentStyle, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -12014,12 +11741,10 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Description = ptr.String(jtv) } - case "errorInformation": if err := awsAwsjson11_deserializeDocumentErrorInformation(&sv.ErrorInformation, value); err != nil { return err } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -12028,7 +11753,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ExternalId = ptr.String(jtv) } - case "fileExistsBehavior": if value != nil { jtv, ok := value.(string) @@ -12037,7 +11761,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.FileExistsBehavior = types.FileExistsBehavior(jtv) } - case "ignoreApplicationStopFailures": if value != nil { jtv, ok := value.(bool) @@ -12046,7 +11769,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.IgnoreApplicationStopFailures = jtv } - case "instanceTerminationWaitTimeStarted": if value != nil { jtv, ok := value.(bool) @@ -12055,37 +11777,30 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.InstanceTerminationWaitTimeStarted = jtv } - case "loadBalancerInfo": if err := awsAwsjson11_deserializeDocumentLoadBalancerInfo(&sv.LoadBalancerInfo, value); err != nil { return err } - case "overrideAlarmConfiguration": if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.OverrideAlarmConfiguration, value); err != nil { return err } - case "previousRevision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.PreviousRevision, value); err != nil { return err } - case "relatedDeployments": if err := awsAwsjson11_deserializeDocumentRelatedDeployments(&sv.RelatedDeployments, value); err != nil { return err } - case "revision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.Revision, value); err != nil { return err } - case "rollbackInfo": if err := awsAwsjson11_deserializeDocumentRollbackInfo(&sv.RollbackInfo, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -12101,7 +11816,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -12110,12 +11824,10 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Status = types.DeploymentStatus(jtv) } - case "targetInstances": if err := awsAwsjson11_deserializeDocumentTargetInstances(&sv.TargetInstances, value); err != nil { return err } - case "updateOutdatedInstancesOnly": if value != nil { jtv, ok := value.(bool) @@ -12124,7 +11836,6 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.UpdateOutdatedInstancesOnly = jtv } - default: _, _ = key, value @@ -12154,15 +11865,9 @@ func awsAwsjson11_deserializeDocumentDeploymentIsNotInReadyStateException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12170,15 +11875,11 @@ func awsAwsjson11_deserializeDocumentDeploymentIsNotInReadyStateException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12203,15 +11904,9 @@ func awsAwsjson11_deserializeDocumentDeploymentLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12219,15 +11914,11 @@ func awsAwsjson11_deserializeDocumentDeploymentLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12252,15 +11943,9 @@ func awsAwsjson11_deserializeDocumentDeploymentNotStartedException(v **types.Dep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12268,15 +11953,11 @@ func awsAwsjson11_deserializeDocumentDeploymentNotStartedException(v **types.Dep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12315,7 +11996,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Failed = i64 } - case "InProgress": if value != nil { jtv, ok := value.(json.Number) @@ -12328,7 +12008,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.InProgress = i64 } - case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -12341,7 +12020,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Pending = i64 } - case "Ready": if value != nil { jtv, ok := value.(json.Number) @@ -12354,7 +12032,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Ready = i64 } - case "Skipped": if value != nil { jtv, ok := value.(json.Number) @@ -12367,7 +12044,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Skipped = i64 } - case "Succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -12380,7 +12056,6 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Succeeded = i64 } - default: _, _ = key, value @@ -12420,7 +12095,6 @@ func awsAwsjson11_deserializeDocumentDeploymentReadyOption(v **types.DeploymentR } sv.ActionOnTimeout = types.DeploymentReadyAction(jtv) } - case "waitTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12433,7 +12107,6 @@ func awsAwsjson11_deserializeDocumentDeploymentReadyOption(v **types.DeploymentR } sv.WaitTimeInMinutes = int32(i64) } - default: _, _ = key, value @@ -12579,7 +12252,6 @@ func awsAwsjson11_deserializeDocumentDeploymentStyle(v **types.DeploymentStyle, } sv.DeploymentOption = types.DeploymentOption(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -12588,7 +12260,6 @@ func awsAwsjson11_deserializeDocumentDeploymentStyle(v **types.DeploymentStyle, } sv.DeploymentType = types.DeploymentType(jtv) } - default: _, _ = key, value @@ -12624,7 +12295,6 @@ func awsAwsjson11_deserializeDocumentDeploymentTarget(v **types.DeploymentTarget if err := awsAwsjson11_deserializeDocumentCloudFormationTarget(&sv.CloudFormationTarget, value); err != nil { return err } - case "deploymentTargetType": if value != nil { jtv, ok := value.(string) @@ -12633,22 +12303,18 @@ func awsAwsjson11_deserializeDocumentDeploymentTarget(v **types.DeploymentTarget } sv.DeploymentTargetType = types.DeploymentTargetType(jtv) } - case "ecsTarget": if err := awsAwsjson11_deserializeDocumentECSTarget(&sv.EcsTarget, value); err != nil { return err } - case "instanceTarget": if err := awsAwsjson11_deserializeDocumentInstanceTarget(&sv.InstanceTarget, value); err != nil { return err } - case "lambdaTarget": if err := awsAwsjson11_deserializeDocumentLambdaTarget(&sv.LambdaTarget, value); err != nil { return err } - default: _, _ = key, value @@ -12678,15 +12344,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetDoesNotExistException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12694,15 +12354,11 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetDoesNotExistException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12727,15 +12383,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetIdRequiredException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12743,15 +12393,11 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetIdRequiredException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12810,15 +12456,9 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetListSizeExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12826,15 +12466,11 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetListSizeExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12859,15 +12495,9 @@ func awsAwsjson11_deserializeDocumentDescriptionTooLongException(v **types.Descr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12875,15 +12505,11 @@ func awsAwsjson11_deserializeDocumentDescriptionTooLongException(v **types.Descr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12918,7 +12544,6 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.ErrorCode = types.LifecycleErrorCode(jtv) } - case "logTail": if value != nil { jtv, ok := value.(string) @@ -12927,7 +12552,6 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.LogTail = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -12936,7 +12560,6 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.Message = ptr.String(jtv) } - case "scriptName": if value != nil { jtv, ok := value.(string) @@ -12945,7 +12568,6 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.ScriptName = ptr.String(jtv) } - default: _, _ = key, value @@ -12985,7 +12607,6 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Key = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12994,7 +12615,6 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Type = types.EC2TagFilterType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -13003,7 +12623,6 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13073,7 +12692,6 @@ func awsAwsjson11_deserializeDocumentEC2TagSet(v **types.EC2TagSet, value interf if err := awsAwsjson11_deserializeDocumentEC2TagSetList(&sv.Ec2TagSetList, value); err != nil { return err } - default: _, _ = key, value @@ -13145,7 +12763,6 @@ func awsAwsjson11_deserializeDocumentECSService(v **types.ECSService, value inte } sv.ClusterName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -13154,7 +12771,6 @@ func awsAwsjson11_deserializeDocumentECSService(v **types.ECSService, value inte } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -13218,15 +12834,9 @@ func awsAwsjson11_deserializeDocumentECSServiceMappingLimitExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13234,15 +12844,11 @@ func awsAwsjson11_deserializeDocumentECSServiceMappingLimitExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13277,7 +12883,6 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.DeploymentId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13293,12 +12898,10 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } } - case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -13307,7 +12910,6 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.Status = types.TargetStatus(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -13316,7 +12918,6 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.TargetArn = ptr.String(jtv) } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -13325,12 +12926,10 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.TargetId = ptr.String(jtv) } - case "taskSetsInfo": if err := awsAwsjson11_deserializeDocumentECSTaskSetList(&sv.TaskSetsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -13374,7 +12973,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.DesiredCount = i64 } - case "identifer": if value != nil { jtv, ok := value.(string) @@ -13383,7 +12981,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.Identifer = ptr.String(jtv) } - case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -13396,7 +12993,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.PendingCount = i64 } - case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -13409,7 +13005,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.RunningCount = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -13418,12 +13013,10 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.Status = ptr.String(jtv) } - case "targetGroup": if err := awsAwsjson11_deserializeDocumentTargetGroupInfo(&sv.TargetGroup, value); err != nil { return err } - case "taskSetLabel": if value != nil { jtv, ok := value.(string) @@ -13432,7 +13025,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.TaskSetLabel = types.TargetLabel(jtv) } - case "trafficWeight": if value != nil { switch jtv := value.(type) { @@ -13466,7 +13058,6 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } } - default: _, _ = key, value @@ -13540,7 +13131,6 @@ func awsAwsjson11_deserializeDocumentELBInfo(v **types.ELBInfo, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13614,7 +13204,6 @@ func awsAwsjson11_deserializeDocumentErrorInformation(v **types.ErrorInformation } sv.Code = types.ErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13623,7 +13212,6 @@ func awsAwsjson11_deserializeDocumentErrorInformation(v **types.ErrorInformation } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -13659,7 +13247,6 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi if err := awsAwsjson11_deserializeDocumentDeploymentGroupsList(&sv.DeploymentGroups, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -13668,7 +13255,6 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } sv.Description = ptr.String(jtv) } - case "firstUsedTime": if value != nil { switch jtv := value.(type) { @@ -13684,7 +13270,6 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } - case "lastUsedTime": if value != nil { switch jtv := value.(type) { @@ -13700,7 +13285,6 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } - case "registerTime": if value != nil { switch jtv := value.(type) { @@ -13716,7 +13300,6 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } - default: _, _ = key, value @@ -13746,15 +13329,9 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenDoesNotExistException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13762,15 +13339,11 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenDoesNotExistException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13831,15 +13404,9 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenNameRequiredException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13847,15 +13414,11 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenNameRequiredException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13890,7 +13453,6 @@ func awsAwsjson11_deserializeDocumentGitHubLocation(v **types.GitHubLocation, va } sv.CommitId = ptr.String(jtv) } - case "repository": if value != nil { jtv, ok := value.(string) @@ -13899,7 +13461,6 @@ func awsAwsjson11_deserializeDocumentGitHubLocation(v **types.GitHubLocation, va } sv.Repository = ptr.String(jtv) } - default: _, _ = key, value @@ -13939,7 +13500,6 @@ func awsAwsjson11_deserializeDocumentGreenFleetProvisioningOption(v **types.Gree } sv.Action = types.GreenFleetProvisioningAction(jtv) } - default: _, _ = key, value @@ -13969,15 +13529,9 @@ func awsAwsjson11_deserializeDocumentIamArnRequiredException(v **types.IamArnReq sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13985,15 +13539,11 @@ func awsAwsjson11_deserializeDocumentIamArnRequiredException(v **types.IamArnReq } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14018,15 +13568,9 @@ func awsAwsjson11_deserializeDocumentIamSessionArnAlreadyRegisteredException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14034,15 +13578,11 @@ func awsAwsjson11_deserializeDocumentIamSessionArnAlreadyRegisteredException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14067,15 +13607,9 @@ func awsAwsjson11_deserializeDocumentIamUserArnAlreadyRegisteredException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14083,15 +13617,11 @@ func awsAwsjson11_deserializeDocumentIamUserArnAlreadyRegisteredException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14116,15 +13646,9 @@ func awsAwsjson11_deserializeDocumentIamUserArnRequiredException(v **types.IamUs sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14132,15 +13656,11 @@ func awsAwsjson11_deserializeDocumentIamUserArnRequiredException(v **types.IamUs } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14165,15 +13685,9 @@ func awsAwsjson11_deserializeDocumentInstanceDoesNotExistException(v **types.Ins sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14181,15 +13695,11 @@ func awsAwsjson11_deserializeDocumentInstanceDoesNotExistException(v **types.Ins } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14214,15 +13724,9 @@ func awsAwsjson11_deserializeDocumentInstanceIdRequiredException(v **types.Insta sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14230,15 +13734,11 @@ func awsAwsjson11_deserializeDocumentInstanceIdRequiredException(v **types.Insta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14280,7 +13780,6 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } } - case "iamSessionArn": if value != nil { jtv, ok := value.(string) @@ -14289,7 +13788,6 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.IamSessionArn = ptr.String(jtv) } - case "iamUserArn": if value != nil { jtv, ok := value.(string) @@ -14298,7 +13796,6 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.IamUserArn = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -14307,7 +13804,6 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.InstanceArn = ptr.String(jtv) } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -14316,7 +13812,6 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.InstanceName = ptr.String(jtv) } - case "registerTime": if value != nil { switch jtv := value.(type) { @@ -14332,12 +13827,10 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14401,15 +13894,9 @@ func awsAwsjson11_deserializeDocumentInstanceLimitExceededException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14417,15 +13904,11 @@ func awsAwsjson11_deserializeDocumentInstanceLimitExceededException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14450,15 +13933,9 @@ func awsAwsjson11_deserializeDocumentInstanceNameAlreadyRegisteredException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14466,15 +13943,11 @@ func awsAwsjson11_deserializeDocumentInstanceNameAlreadyRegisteredException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14535,15 +14008,9 @@ func awsAwsjson11_deserializeDocumentInstanceNameRequiredException(v **types.Ins sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14551,15 +14018,11 @@ func awsAwsjson11_deserializeDocumentInstanceNameRequiredException(v **types.Ins } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14584,15 +14047,9 @@ func awsAwsjson11_deserializeDocumentInstanceNotRegisteredException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14600,15 +14057,11 @@ func awsAwsjson11_deserializeDocumentInstanceNotRegisteredException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14679,7 +14132,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.DeploymentId = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -14688,7 +14140,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceId = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -14697,7 +14148,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceType = types.InstanceType(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14713,12 +14163,10 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } - case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14727,7 +14175,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Status = types.InstanceStatus(jtv) } - default: _, _ = key, value @@ -14801,7 +14248,6 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.DeploymentId = ptr.String(jtv) } - case "instanceLabel": if value != nil { jtv, ok := value.(string) @@ -14810,7 +14256,6 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.InstanceLabel = types.TargetLabel(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14826,12 +14271,10 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } } - case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14840,7 +14283,6 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.Status = types.TargetStatus(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -14849,7 +14291,6 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.TargetArn = ptr.String(jtv) } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -14858,7 +14299,6 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -14888,15 +14328,9 @@ func awsAwsjson11_deserializeDocumentInvalidAlarmConfigException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14904,15 +14338,11 @@ func awsAwsjson11_deserializeDocumentInvalidAlarmConfigException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14937,15 +14367,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationNameException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14953,15 +14377,11 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationNameException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14986,15 +14406,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15002,15 +14416,11 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15035,15 +14445,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutoRollbackConfigException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15051,15 +14455,11 @@ func awsAwsjson11_deserializeDocumentInvalidAutoRollbackConfigException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15084,15 +14484,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutoScalingGroupException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15100,15 +14494,11 @@ func awsAwsjson11_deserializeDocumentInvalidAutoScalingGroupException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15133,15 +14523,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlueGreenDeploymentConfigurationExce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15149,15 +14533,11 @@ func awsAwsjson11_deserializeDocumentInvalidBlueGreenDeploymentConfigurationExce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15182,15 +14562,9 @@ func awsAwsjson11_deserializeDocumentInvalidBucketNameFilterException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15198,15 +14572,11 @@ func awsAwsjson11_deserializeDocumentInvalidBucketNameFilterException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15231,15 +14601,9 @@ func awsAwsjson11_deserializeDocumentInvalidComputePlatformException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15247,15 +14611,11 @@ func awsAwsjson11_deserializeDocumentInvalidComputePlatformException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15280,15 +14640,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeployedStateFilterException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15296,15 +14650,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeployedStateFilterException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15329,15 +14679,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentConfigNameException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15345,15 +14689,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentConfigNameException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15378,15 +14718,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentGroupNameException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15394,15 +14728,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentGroupNameException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15427,15 +14757,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentIdException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15443,15 +14767,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentIdException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15476,15 +14796,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentInstanceTypeException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15492,15 +14806,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentInstanceTypeException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15525,15 +14835,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStatusException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15541,15 +14845,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStatusException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15574,15 +14874,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStyleException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15590,15 +14884,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStyleException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15623,15 +14913,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentTargetIdException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15639,15 +14923,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentTargetIdException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15672,15 +14952,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentWaitTypeException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15688,15 +14962,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentWaitTypeException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15721,15 +14991,9 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagCombinationException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15737,15 +15001,11 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagCombinationException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15770,15 +15030,9 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagException(v **types.InvalidEC2 sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15786,15 +15040,11 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagException(v **types.InvalidEC2 } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15819,15 +15069,9 @@ func awsAwsjson11_deserializeDocumentInvalidECSServiceException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15835,15 +15079,11 @@ func awsAwsjson11_deserializeDocumentInvalidECSServiceException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15868,15 +15108,9 @@ func awsAwsjson11_deserializeDocumentInvalidExternalIdException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15884,15 +15118,11 @@ func awsAwsjson11_deserializeDocumentInvalidExternalIdException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15917,15 +15147,9 @@ func awsAwsjson11_deserializeDocumentInvalidFileExistsBehaviorException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15933,15 +15157,11 @@ func awsAwsjson11_deserializeDocumentInvalidFileExistsBehaviorException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15966,15 +15186,9 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15982,15 +15196,11 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16015,15 +15225,9 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenNameException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16031,15 +15235,11 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenNameException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16064,15 +15264,9 @@ func awsAwsjson11_deserializeDocumentInvalidIamSessionArnException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16080,15 +15274,11 @@ func awsAwsjson11_deserializeDocumentInvalidIamSessionArnException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16113,15 +15303,9 @@ func awsAwsjson11_deserializeDocumentInvalidIamUserArnException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16129,15 +15313,11 @@ func awsAwsjson11_deserializeDocumentInvalidIamUserArnException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16162,15 +15342,9 @@ func awsAwsjson11_deserializeDocumentInvalidIgnoreApplicationStopFailuresValueEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16178,15 +15352,11 @@ func awsAwsjson11_deserializeDocumentInvalidIgnoreApplicationStopFailuresValueEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16211,15 +15381,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16227,15 +15391,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16260,15 +15420,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceNameException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16276,15 +15430,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceNameException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16309,15 +15459,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceStatusException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16325,15 +15469,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceStatusException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16358,15 +15498,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceTypeException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16374,15 +15508,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceTypeException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16407,15 +15537,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyPrefixFilterException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16423,15 +15547,11 @@ func awsAwsjson11_deserializeDocumentInvalidKeyPrefixFilterException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16456,15 +15576,9 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionIdExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16472,15 +15586,11 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionIdExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16505,15 +15615,9 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionStatusExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16521,15 +15625,11 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionStatusExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16554,15 +15654,9 @@ func awsAwsjson11_deserializeDocumentInvalidLoadBalancerInfoException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16570,15 +15664,11 @@ func awsAwsjson11_deserializeDocumentInvalidLoadBalancerInfoException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16603,15 +15693,9 @@ func awsAwsjson11_deserializeDocumentInvalidMinimumHealthyHostValueException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16619,15 +15703,11 @@ func awsAwsjson11_deserializeDocumentInvalidMinimumHealthyHostValueException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16652,15 +15732,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16668,15 +15742,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16701,15 +15771,9 @@ func awsAwsjson11_deserializeDocumentInvalidOnPremisesTagCombinationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16717,15 +15781,11 @@ func awsAwsjson11_deserializeDocumentInvalidOnPremisesTagCombinationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16750,15 +15810,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16766,15 +15820,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16799,15 +15849,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegistrationStatusException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16815,15 +15859,11 @@ func awsAwsjson11_deserializeDocumentInvalidRegistrationStatusException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16848,15 +15888,9 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionException(v **types.InvalidR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16864,15 +15898,11 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionException(v **types.InvalidR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16897,15 +15927,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16913,15 +15937,11 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16946,15 +15966,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16962,15 +15976,11 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16995,15 +16005,9 @@ func awsAwsjson11_deserializeDocumentInvalidSortOrderException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17011,15 +16015,11 @@ func awsAwsjson11_deserializeDocumentInvalidSortOrderException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17044,15 +16044,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17060,15 +16054,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17093,15 +16083,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagFilterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17109,15 +16093,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagFilterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17142,15 +16122,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsToAddException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17158,15 +16132,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagsToAddException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17191,15 +16161,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetFilterNameException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17207,15 +16171,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetFilterNameException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17240,15 +16200,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetGroupPairException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17256,15 +16210,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetGroupPairException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17289,15 +16239,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetInstancesException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17305,15 +16249,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetInstancesException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17338,15 +16278,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17354,15 +16288,11 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17387,15 +16317,9 @@ func awsAwsjson11_deserializeDocumentInvalidTrafficRoutingConfigurationException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17403,15 +16327,11 @@ func awsAwsjson11_deserializeDocumentInvalidTrafficRoutingConfigurationException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17436,15 +16356,9 @@ func awsAwsjson11_deserializeDocumentInvalidTriggerConfigException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17452,15 +16366,11 @@ func awsAwsjson11_deserializeDocumentInvalidTriggerConfigException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17485,15 +16395,9 @@ func awsAwsjson11_deserializeDocumentInvalidUpdateOutdatedInstancesOnlyValueExce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17501,15 +16405,11 @@ func awsAwsjson11_deserializeDocumentInvalidUpdateOutdatedInstancesOnlyValueExce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17534,15 +16434,9 @@ func awsAwsjson11_deserializeDocumentInvalidZonalDeploymentConfigurationExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17550,15 +16444,11 @@ func awsAwsjson11_deserializeDocumentInvalidZonalDeploymentConfigurationExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17593,7 +16483,6 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.CurrentVersion = ptr.String(jtv) } - case "functionAlias": if value != nil { jtv, ok := value.(string) @@ -17602,7 +16491,6 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.FunctionAlias = ptr.String(jtv) } - case "functionName": if value != nil { jtv, ok := value.(string) @@ -17611,7 +16499,6 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.FunctionName = ptr.String(jtv) } - case "targetVersion": if value != nil { jtv, ok := value.(string) @@ -17620,7 +16507,6 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.TargetVersion = ptr.String(jtv) } - case "targetVersionWeight": if value != nil { switch jtv := value.(type) { @@ -17654,7 +16540,6 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } } - default: _, _ = key, value @@ -17694,12 +16579,10 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.DeploymentId = ptr.String(jtv) } - case "lambdaFunctionInfo": if err := awsAwsjson11_deserializeDocumentLambdaFunctionInfo(&sv.LambdaFunctionInfo, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -17715,12 +16598,10 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } } - case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -17729,7 +16610,6 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.Status = types.TargetStatus(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -17738,7 +16618,6 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.TargetArn = ptr.String(jtv) } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -17747,7 +16626,6 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -17794,7 +16672,6 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -17803,7 +16680,6 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } sv.DeploymentId = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -17819,7 +16695,6 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } } - case "status": if value != nil { jtv, ok := value.(string) @@ -17828,7 +16703,6 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } sv.Status = types.DeploymentStatus(jtv) } - default: _, _ = key, value @@ -17864,7 +16738,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va if err := awsAwsjson11_deserializeDocumentDiagnostics(&sv.Diagnostics, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -17880,7 +16753,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } } - case "lifecycleEventName": if value != nil { jtv, ok := value.(string) @@ -17889,7 +16761,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } sv.LifecycleEventName = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -17905,7 +16776,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -17914,7 +16784,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } sv.Status = types.LifecycleEventStatus(jtv) } - default: _, _ = key, value @@ -17944,15 +16813,9 @@ func awsAwsjson11_deserializeDocumentLifecycleEventAlreadyCompletedException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17960,15 +16823,11 @@ func awsAwsjson11_deserializeDocumentLifecycleEventAlreadyCompletedException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18027,15 +16886,9 @@ func awsAwsjson11_deserializeDocumentLifecycleHookLimitExceededException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18043,15 +16896,11 @@ func awsAwsjson11_deserializeDocumentLifecycleHookLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18118,17 +16967,14 @@ func awsAwsjson11_deserializeDocumentLoadBalancerInfo(v **types.LoadBalancerInfo if err := awsAwsjson11_deserializeDocumentELBInfoList(&sv.ElbInfoList, value); err != nil { return err } - case "targetGroupInfoList": if err := awsAwsjson11_deserializeDocumentTargetGroupInfoList(&sv.TargetGroupInfoList, value); err != nil { return err } - case "targetGroupPairInfoList": if err := awsAwsjson11_deserializeDocumentTargetGroupPairInfoList(&sv.TargetGroupPairInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -18168,7 +17014,6 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHosts(v **types.MinimumHealth } sv.Type = types.MinimumHealthyHostsType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -18181,7 +17026,6 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHosts(v **types.MinimumHealth } sv.Value = int32(i64) } - default: _, _ = key, value @@ -18221,7 +17065,6 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(v **types.Minimu } sv.Type = types.MinimumHealthyHostsPerZoneType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -18234,7 +17077,6 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(v **types.Minimu } sv.Value = int32(i64) } - default: _, _ = key, value @@ -18264,15 +17106,9 @@ func awsAwsjson11_deserializeDocumentMultipleIamArnsProvidedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18280,15 +17116,11 @@ func awsAwsjson11_deserializeDocumentMultipleIamArnsProvidedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18319,7 +17151,6 @@ func awsAwsjson11_deserializeDocumentOnPremisesTagSet(v **types.OnPremisesTagSet if err := awsAwsjson11_deserializeDocumentOnPremisesTagSetList(&sv.OnPremisesTagSetList, value); err != nil { return err } - default: _, _ = key, value @@ -18381,15 +17212,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18397,15 +17222,11 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18440,7 +17261,6 @@ func awsAwsjson11_deserializeDocumentRawString(v **types.RawString, value interf } sv.Content = ptr.String(jtv) } - case "sha256": if value != nil { jtv, ok := value.(string) @@ -18449,7 +17269,6 @@ func awsAwsjson11_deserializeDocumentRawString(v **types.RawString, value interf } sv.Sha256 = ptr.String(jtv) } - default: _, _ = key, value @@ -18485,7 +17304,6 @@ func awsAwsjson11_deserializeDocumentRelatedDeployments(v **types.RelatedDeploym if err := awsAwsjson11_deserializeDocumentDeploymentsList(&sv.AutoUpdateOutdatedInstancesDeploymentIds, value); err != nil { return err } - case "autoUpdateOutdatedInstancesRootDeploymentId": if value != nil { jtv, ok := value.(string) @@ -18494,7 +17312,6 @@ func awsAwsjson11_deserializeDocumentRelatedDeployments(v **types.RelatedDeploym } sv.AutoUpdateOutdatedInstancesRootDeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -18524,15 +17341,9 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18540,15 +17351,11 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18573,15 +17380,9 @@ func awsAwsjson11_deserializeDocumentResourceValidationException(v **types.Resou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18589,15 +17390,11 @@ func awsAwsjson11_deserializeDocumentResourceValidationException(v **types.Resou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18622,15 +17419,9 @@ func awsAwsjson11_deserializeDocumentRevisionDoesNotExistException(v **types.Rev sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18638,15 +17429,11 @@ func awsAwsjson11_deserializeDocumentRevisionDoesNotExistException(v **types.Rev } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18677,12 +17464,10 @@ func awsAwsjson11_deserializeDocumentRevisionInfo(v **types.RevisionInfo, value if err := awsAwsjson11_deserializeDocumentGenericRevisionInfo(&sv.GenericRevisionInfo, value); err != nil { return err } - case "revisionLocation": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.RevisionLocation, value); err != nil { return err } - default: _, _ = key, value @@ -18752,12 +17537,10 @@ func awsAwsjson11_deserializeDocumentRevisionLocation(v **types.RevisionLocation if err := awsAwsjson11_deserializeDocumentAppSpecContent(&sv.AppSpecContent, value); err != nil { return err } - case "gitHubLocation": if err := awsAwsjson11_deserializeDocumentGitHubLocation(&sv.GitHubLocation, value); err != nil { return err } - case "revisionType": if value != nil { jtv, ok := value.(string) @@ -18766,17 +17549,14 @@ func awsAwsjson11_deserializeDocumentRevisionLocation(v **types.RevisionLocation } sv.RevisionType = types.RevisionLocationType(jtv) } - case "s3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - case "string": if err := awsAwsjson11_deserializeDocumentRawString(&sv.String_, value); err != nil { return err } - default: _, _ = key, value @@ -18840,15 +17620,9 @@ func awsAwsjson11_deserializeDocumentRevisionRequiredException(v **types.Revisio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18856,15 +17630,11 @@ func awsAwsjson11_deserializeDocumentRevisionRequiredException(v **types.Revisio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18889,15 +17659,9 @@ func awsAwsjson11_deserializeDocumentRoleRequiredException(v **types.RoleRequire sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18905,15 +17669,11 @@ func awsAwsjson11_deserializeDocumentRoleRequiredException(v **types.RoleRequire } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18948,7 +17708,6 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackDeploymentId = ptr.String(jtv) } - case "rollbackMessage": if value != nil { jtv, ok := value.(string) @@ -18957,7 +17716,6 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackMessage = ptr.String(jtv) } - case "rollbackTriggeringDeploymentId": if value != nil { jtv, ok := value.(string) @@ -18966,7 +17724,6 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackTriggeringDeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19006,7 +17763,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "bundleType": if value != nil { jtv, ok := value.(string) @@ -19015,7 +17771,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BundleType = types.BundleType(jtv) } - case "eTag": if value != nil { jtv, ok := value.(string) @@ -19024,7 +17779,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ETag = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -19033,7 +17787,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -19042,7 +17795,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -19082,7 +17834,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19091,7 +17842,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19131,7 +17881,6 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Key = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19140,7 +17889,6 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Type = types.TagFilterType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19149,7 +17897,6 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19213,15 +17960,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19229,15 +17970,11 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19296,15 +18033,9 @@ func awsAwsjson11_deserializeDocumentTagRequiredException(v **types.TagRequiredE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19312,15 +18043,11 @@ func awsAwsjson11_deserializeDocumentTagRequiredException(v **types.TagRequiredE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19345,15 +18072,9 @@ func awsAwsjson11_deserializeDocumentTagSetListLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19361,15 +18082,11 @@ func awsAwsjson11_deserializeDocumentTagSetListLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19404,7 +18121,6 @@ func awsAwsjson11_deserializeDocumentTargetGroupInfo(v **types.TargetGroupInfo, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19474,17 +18190,14 @@ func awsAwsjson11_deserializeDocumentTargetGroupPairInfo(v **types.TargetGroupPa if err := awsAwsjson11_deserializeDocumentTrafficRoute(&sv.ProdTrafficRoute, value); err != nil { return err } - case "targetGroups": if err := awsAwsjson11_deserializeDocumentTargetGroupInfoList(&sv.TargetGroups, value); err != nil { return err } - case "testTrafficRoute": if err := awsAwsjson11_deserializeDocumentTrafficRoute(&sv.TestTrafficRoute, value); err != nil { return err } - default: _, _ = key, value @@ -19590,17 +18303,14 @@ func awsAwsjson11_deserializeDocumentTargetInstances(v **types.TargetInstances, if err := awsAwsjson11_deserializeDocumentAutoScalingGroupNameList(&sv.AutoScalingGroups, value); err != nil { return err } - case "ec2TagSet": if err := awsAwsjson11_deserializeDocumentEC2TagSet(&sv.Ec2TagSet, value); err != nil { return err } - case "tagFilters": if err := awsAwsjson11_deserializeDocumentEC2TagFilterList(&sv.TagFilters, value); err != nil { return err } - default: _, _ = key, value @@ -19630,15 +18340,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19646,15 +18350,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19693,7 +18393,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedCanary(v **types.TimeBasedCanary, } sv.CanaryInterval = int32(i64) } - case "canaryPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -19706,7 +18405,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedCanary(v **types.TimeBasedCanary, } sv.CanaryPercentage = int32(i64) } - default: _, _ = key, value @@ -19750,7 +18448,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedLinear(v **types.TimeBasedLinear, } sv.LinearInterval = int32(i64) } - case "linearPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -19763,7 +18460,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedLinear(v **types.TimeBasedLinear, } sv.LinearPercentage = int32(i64) } - default: _, _ = key, value @@ -19799,7 +18495,6 @@ func awsAwsjson11_deserializeDocumentTrafficRoute(v **types.TrafficRoute, value if err := awsAwsjson11_deserializeDocumentListenerArnList(&sv.ListenerArns, value); err != nil { return err } - default: _, _ = key, value @@ -19835,12 +18530,10 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti if err := awsAwsjson11_deserializeDocumentTimeBasedCanary(&sv.TimeBasedCanary, value); err != nil { return err } - case "timeBasedLinear": if err := awsAwsjson11_deserializeDocumentTimeBasedLinear(&sv.TimeBasedLinear, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -19849,7 +18542,6 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.Type = types.TrafficRoutingType(jtv) } - default: _, _ = key, value @@ -19885,7 +18577,6 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu if err := awsAwsjson11_deserializeDocumentTriggerEventTypeList(&sv.TriggerEvents, value); err != nil { return err } - case "triggerName": if value != nil { jtv, ok := value.(string) @@ -19894,7 +18585,6 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerName = ptr.String(jtv) } - case "triggerTargetArn": if value != nil { jtv, ok := value.(string) @@ -19903,7 +18593,6 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerTargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20003,15 +18692,9 @@ func awsAwsjson11_deserializeDocumentTriggerTargetsLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20019,15 +18702,11 @@ func awsAwsjson11_deserializeDocumentTriggerTargetsLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20052,15 +18731,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedActionForDeploymentTypeException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20068,15 +18741,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedActionForDeploymentTypeException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20115,12 +18784,10 @@ func awsAwsjson11_deserializeDocumentZonalConfig(v **types.ZonalConfig, value in } sv.FirstZoneMonitorDurationInSeconds = ptr.Int64(i64) } - case "minimumHealthyHostsPerZone": if err := awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(&sv.MinimumHealthyHostsPerZone, value); err != nil { return err } - case "monitorDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20133,7 +18800,6 @@ func awsAwsjson11_deserializeDocumentZonalConfig(v **types.ZonalConfig, value in } sv.MonitorDurationInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -20173,7 +18839,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationRevisionsOutput(v **Ba } sv.ApplicationName = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -20182,12 +18847,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationRevisionsOutput(v **Ba } sv.ErrorMessage = ptr.String(jtv) } - case "revisions": if err := awsAwsjson11_deserializeDocumentRevisionInfoList(&sv.Revisions, value); err != nil { return err } - default: _, _ = key, value @@ -20223,7 +18886,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationsOutput(v **BatchGetAp if err := awsAwsjson11_deserializeDocumentApplicationsInfoList(&sv.ApplicationsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20259,7 +18921,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentGroupsOutput(v **BatchG if err := awsAwsjson11_deserializeDocumentDeploymentGroupInfoList(&sv.DeploymentGroupsInfo, value); err != nil { return err } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -20268,7 +18929,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentGroupsOutput(v **BatchG } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -20308,12 +18968,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentInstancesOutput(v **Bat } sv.ErrorMessage = ptr.String(jtv) } - case "instancesSummary": if err := awsAwsjson11_deserializeDocumentInstanceSummaryList(&sv.InstancesSummary, value); err != nil { return err } - default: _, _ = key, value @@ -20349,7 +19007,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentsOutput(v **BatchGetDep if err := awsAwsjson11_deserializeDocumentDeploymentsInfoList(&sv.DeploymentsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20385,7 +19042,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentTargetsOutput(v **Batch if err := awsAwsjson11_deserializeDocumentDeploymentTargetList(&sv.DeploymentTargets, value); err != nil { return err } - default: _, _ = key, value @@ -20421,7 +19077,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetOnPremisesInstancesOutput(v **Bat if err := awsAwsjson11_deserializeDocumentInstanceInfoList(&sv.InstanceInfos, value); err != nil { return err } - default: _, _ = key, value @@ -20461,7 +19116,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -20501,7 +19155,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentConfigOutput(v **CreateDe } sv.DeploymentConfigId = ptr.String(jtv) } - default: _, _ = key, value @@ -20541,7 +19194,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentGroupOutput(v **CreateDep } sv.DeploymentGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -20581,7 +19233,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -20617,7 +19268,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDeploymentGroupOutput(v **DeleteDep if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.HooksNotCleanedUp, value); err != nil { return err } - default: _, _ = key, value @@ -20657,7 +19307,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGitHubAccountTokenOutput(v **Delete } sv.TokenName = ptr.String(jtv) } - default: _, _ = key, value @@ -20724,7 +19373,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -20764,17 +19412,14 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationRevisionOutput(v **GetAppli } sv.ApplicationName = ptr.String(jtv) } - case "revision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.Revision, value); err != nil { return err } - case "revisionInfo": if err := awsAwsjson11_deserializeDocumentGenericRevisionInfo(&sv.RevisionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20810,7 +19455,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentConfigOutput(v **GetDeployme if err := awsAwsjson11_deserializeDocumentDeploymentConfigInfo(&sv.DeploymentConfigInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20846,7 +19490,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentGroupOutput(v **GetDeploymen if err := awsAwsjson11_deserializeDocumentDeploymentGroupInfo(&sv.DeploymentGroupInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20882,7 +19525,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentInstanceOutput(v **GetDeploy if err := awsAwsjson11_deserializeDocumentInstanceSummary(&sv.InstanceSummary, value); err != nil { return err } - default: _, _ = key, value @@ -20918,7 +19560,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsAwsjson11_deserializeDocumentDeploymentInfo(&sv.DeploymentInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20954,7 +19595,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentTargetOutput(v **GetDeployme if err := awsAwsjson11_deserializeDocumentDeploymentTarget(&sv.DeploymentTarget, value); err != nil { return err } - default: _, _ = key, value @@ -20990,7 +19630,6 @@ func awsAwsjson11_deserializeOpDocumentGetOnPremisesInstanceOutput(v **GetOnPrem if err := awsAwsjson11_deserializeDocumentInstanceInfo(&sv.InstanceInfo, value); err != nil { return err } - default: _, _ = key, value @@ -21030,12 +19669,10 @@ func awsAwsjson11_deserializeOpDocumentListApplicationRevisionsOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } - case "revisions": if err := awsAwsjson11_deserializeDocumentRevisionLocationList(&sv.Revisions, value); err != nil { return err } - default: _, _ = key, value @@ -21071,7 +19708,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationsList(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21080,7 +19716,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21116,7 +19751,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentConfigsOutput(v **ListDeplo if err := awsAwsjson11_deserializeDocumentDeploymentConfigsList(&sv.DeploymentConfigsList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21125,7 +19759,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentConfigsOutput(v **ListDeplo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21165,12 +19798,10 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentGroupsOutput(v **ListDeploy } sv.ApplicationName = ptr.String(jtv) } - case "deploymentGroups": if err := awsAwsjson11_deserializeDocumentDeploymentGroupsList(&sv.DeploymentGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21179,7 +19810,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentGroupsOutput(v **ListDeploy } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21215,7 +19845,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentInstancesOutput(v **ListDep if err := awsAwsjson11_deserializeDocumentInstancesList(&sv.InstancesList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21224,7 +19853,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentInstancesOutput(v **ListDep } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21260,7 +19888,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsAwsjson11_deserializeDocumentDeploymentsList(&sv.Deployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21269,7 +19896,6 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21309,12 +19935,10 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentTargetsOutput(v **ListDeplo } sv.NextToken = ptr.String(jtv) } - case "targetIds": if err := awsAwsjson11_deserializeDocumentTargetIdList(&sv.TargetIds, value); err != nil { return err } - default: _, _ = key, value @@ -21354,12 +19978,10 @@ func awsAwsjson11_deserializeOpDocumentListGitHubAccountTokenNamesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "tokenNameList": if err := awsAwsjson11_deserializeDocumentGitHubAccountTokenNameList(&sv.TokenNameList, value); err != nil { return err } - default: _, _ = key, value @@ -21395,7 +20017,6 @@ func awsAwsjson11_deserializeOpDocumentListOnPremisesInstancesOutput(v **ListOnP if err := awsAwsjson11_deserializeDocumentInstanceNameList(&sv.InstanceNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21404,7 +20025,6 @@ func awsAwsjson11_deserializeOpDocumentListOnPremisesInstancesOutput(v **ListOnP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21444,12 +20064,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21489,7 +20107,6 @@ func awsAwsjson11_deserializeOpDocumentPutLifecycleEventHookExecutionStatusOutpu } sv.LifecycleEventHookExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -21529,7 +20146,6 @@ func awsAwsjson11_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.Status = types.StopStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -21538,7 +20154,6 @@ func awsAwsjson11_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -21636,7 +20251,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDeploymentGroupOutput(v **UpdateDep if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.HooksNotCleanedUp, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codeguruprofiler/deserializers.go b/service/codeguruprofiler/deserializers.go index d71619aad59..90033e932d6 100644 --- a/service/codeguruprofiler/deserializers.go +++ b/service/codeguruprofiler/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentAddNotificationChannelsOutput(v **AddNoti if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -356,17 +355,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.EndTime = ptr.Time(t) } - case "endTimes": if err := awsRestjson1_deserializeDocumentListOfTimestamps(&sv.EndTimes, value); err != nil { return err } - case "frameMetricData": if err := awsRestjson1_deserializeDocumentFrameMetricData(&sv.FrameMetricData, value); err != nil { return err } - case "resolution": if value != nil { jtv, ok := value.(string) @@ -375,7 +371,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.Resolution = types.AggregationPeriod(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -388,12 +383,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.StartTime = ptr.Time(t) } - case "unprocessedEndTimes": if err := awsRestjson1_deserializeDocumentUnprocessedEndTimeMap(&sv.UnprocessedEndTimes, value); err != nil { return err } - default: _, _ = key, value @@ -554,7 +547,6 @@ func awsRestjson1_deserializeOpDocumentConfigureAgentOutput(v **ConfigureAgentOu if err := awsRestjson1_deserializeDocumentAgentConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -718,7 +710,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfilingGroupOutput(v **CreateProf if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } - default: _, _ = key, value @@ -979,7 +970,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProfilingGroupOutput(v **Describe if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } - default: _, _ = key, value @@ -1141,12 +1131,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportAccountSummaryOutput(v * } sv.NextToken = ptr.String(jtv) } - case "reportSummaries": if err := awsRestjson1_deserializeDocumentFindingsReportSummaries(&sv.ReportSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1307,7 +1295,6 @@ func awsRestjson1_deserializeOpDocumentGetNotificationConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1469,7 +1456,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1478,7 +1464,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1785,7 +1770,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } - case "profileEndTime": if value != nil { jtv, ok := value.(string) @@ -1798,7 +1782,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfileEndTime = ptr.Time(t) } - case "profileStartTime": if value != nil { jtv, ok := value.(string) @@ -1811,7 +1794,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfileStartTime = ptr.Time(t) } - case "profilingGroupName": if value != nil { jtv, ok := value.(string) @@ -1820,12 +1802,10 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfilingGroupName = ptr.String(jtv) } - case "recommendations": if err := awsRestjson1_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -1986,7 +1966,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsReportsOutput(v **ListFinding if err := awsRestjson1_deserializeDocumentFindingsReportSummaries(&sv.FindingsReportSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1995,7 +1974,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsReportsOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2160,12 +2138,10 @@ func awsRestjson1_deserializeOpDocumentListProfileTimesOutput(v **ListProfileTim } sv.NextToken = ptr.String(jtv) } - case "profileTimes": if err := awsRestjson1_deserializeDocumentProfileTimes(&sv.ProfileTimes, value); err != nil { return err } - default: _, _ = key, value @@ -2324,17 +2300,14 @@ func awsRestjson1_deserializeOpDocumentListProfilingGroupsOutput(v **ListProfili } sv.NextToken = ptr.String(jtv) } - case "profilingGroupNames": if err := awsRestjson1_deserializeDocumentProfilingGroupNames(&sv.ProfilingGroupNames, value); err != nil { return err } - case "profilingGroups": if err := awsRestjson1_deserializeDocumentProfilingGroupDescriptions(&sv.ProfilingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -2492,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2757,7 +2729,6 @@ func awsRestjson1_deserializeOpDocumentPutPermissionOutput(v **PutPermissionOutp } sv.Policy = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2766,7 +2737,6 @@ func awsRestjson1_deserializeOpDocumentPutPermissionOutput(v **PutPermissionOutp } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2927,7 +2897,6 @@ func awsRestjson1_deserializeOpDocumentRemoveNotificationChannelOutput(v **Remov if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3095,7 +3064,6 @@ func awsRestjson1_deserializeOpDocumentRemovePermissionOutput(v **RemovePermissi } sv.Policy = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -3104,7 +3072,6 @@ func awsRestjson1_deserializeOpDocumentRemovePermissionOutput(v **RemovePermissi } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -3553,7 +3520,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfilingGroupOutput(v **UpdateProf if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } - default: _, _ = key, value @@ -3805,7 +3771,6 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura if err := awsRestjson1_deserializeDocumentAgentParameters(&sv.AgentParameters, value); err != nil { return err } - case "periodInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3818,7 +3783,6 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura } sv.PeriodInSeconds = ptr.Int32(int32(i64)) } - case "shouldProfile": if value != nil { jtv, ok := value.(bool) @@ -3827,7 +3791,6 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura } sv.ShouldProfile = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3867,7 +3830,6 @@ func awsRestjson1_deserializeDocumentAgentOrchestrationConfig(v **types.AgentOrc } sv.ProfilingEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3943,7 +3905,6 @@ func awsRestjson1_deserializeDocumentAggregatedProfileTime(v **types.AggregatedP } sv.Period = types.AggregationPeriod(jtv) } - case "start": if value != nil { jtv, ok := value.(string) @@ -3956,7 +3917,6 @@ func awsRestjson1_deserializeDocumentAggregatedProfileTime(v **types.AggregatedP } sv.Start = ptr.Time(t) } - default: _, _ = key, value @@ -4026,12 +3986,10 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ if err := awsRestjson1_deserializeDocumentAnomalyInstances(&sv.Instances, value); err != nil { return err } - case "metric": if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3998,6 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -4084,7 +4041,6 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.EndTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4093,7 +4049,6 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.Id = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -4106,12 +4061,10 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.StartTime = ptr.Time(t) } - case "userFeedback": if err := awsRestjson1_deserializeDocumentUserFeedback(&sv.UserFeedback, value); err != nil { return err } - default: _, _ = key, value @@ -4181,7 +4134,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ if err := awsRestjson1_deserializeDocumentEventPublishers(&sv.EventPublishers, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4190,7 +4142,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -4199,7 +4150,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -4263,15 +4213,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4279,15 +4223,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4392,7 +4332,6 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.Id = ptr.String(jtv) } - case "profileEndTime": if value != nil { jtv, ok := value.(string) @@ -4405,7 +4344,6 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfileEndTime = ptr.Time(t) } - case "profileStartTime": if value != nil { jtv, ok := value.(string) @@ -4418,7 +4356,6 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfileStartTime = ptr.Time(t) } - case "profilingGroupName": if value != nil { jtv, ok := value.(string) @@ -4427,7 +4364,6 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfilingGroupName = ptr.String(jtv) } - case "totalNumberOfFindings": if value != nil { jtv, ok := value.(json.Number) @@ -4440,7 +4376,6 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.TotalNumberOfFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4480,12 +4415,10 @@ func awsRestjson1_deserializeDocumentFrameMetric(v **types.FrameMetric, value in } sv.FrameName = ptr.String(jtv) } - case "threadStates": if err := awsRestjson1_deserializeDocumentThreadStates(&sv.ThreadStates, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4494,7 +4427,6 @@ func awsRestjson1_deserializeDocumentFrameMetric(v **types.FrameMetric, value in } sv.Type = types.MetricType(jtv) } - default: _, _ = key, value @@ -4564,12 +4496,10 @@ func awsRestjson1_deserializeDocumentFrameMetricDatum(v **types.FrameMetricDatum if err := awsRestjson1_deserializeDocumentFrameMetric(&sv.FrameMetric, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentFrameMetricValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -4660,15 +4590,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4676,15 +4600,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4753,7 +4673,6 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } sv.FrameAddress = ptr.String(jtv) } - case "targetFramesIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4766,7 +4685,6 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } sv.TargetFramesIndex = ptr.Int32(int32(i64)) } - case "thresholdBreachValue": if value != nil { switch jtv := value.(type) { @@ -4800,7 +4718,6 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } } - default: _, _ = key, value @@ -4874,12 +4791,10 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.FrameName = ptr.String(jtv) } - case "threadStates": if err := awsRestjson1_deserializeDocumentStrings(&sv.ThreadStates, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4888,7 +4803,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Type = types.MetricType(jtv) } - default: _, _ = key, value @@ -4924,7 +4838,6 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - default: _, _ = key, value @@ -4960,7 +4873,6 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ if err := awsRestjson1_deserializeDocumentStrings(&sv.CountersToAggregate, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -4969,7 +4881,6 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4978,7 +4889,6 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4987,7 +4897,6 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Name = ptr.String(jtv) } - case "resolutionSteps": if value != nil { jtv, ok := value.(string) @@ -4996,12 +4905,10 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.ResolutionSteps = ptr.String(jtv) } - case "targetFrames": if err := awsRestjson1_deserializeDocumentTargetFrames(&sv.TargetFrames, value); err != nil { return err } - case "thresholdPercent": if value != nil { switch jtv := value.(type) { @@ -5035,7 +4942,6 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } } - default: _, _ = key, value @@ -5079,7 +4985,6 @@ func awsRestjson1_deserializeDocumentProfileTime(v **types.ProfileTime, value in } sv.Start = ptr.Time(t) } - default: _, _ = key, value @@ -5149,7 +5054,6 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili if err := awsRestjson1_deserializeDocumentAgentOrchestrationConfig(&sv.AgentOrchestrationConfig, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5158,7 +5062,6 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.Arn = ptr.String(jtv) } - case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -5167,7 +5070,6 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.ComputePlatform = types.ComputePlatform(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5180,7 +5082,6 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.CreatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5189,17 +5090,14 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.Name = ptr.String(jtv) } - case "profilingStatus": if err := awsRestjson1_deserializeDocumentProfilingStatus(&sv.ProfilingStatus, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5212,7 +5110,6 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5326,7 +5223,6 @@ func awsRestjson1_deserializeDocumentProfilingStatus(v **types.ProfilingStatus, } sv.LatestAgentOrchestratedAt = ptr.Time(t) } - case "latestAgentProfileReportedAt": if value != nil { jtv, ok := value.(string) @@ -5339,12 +5235,10 @@ func awsRestjson1_deserializeDocumentProfilingStatus(v **types.ProfilingStatus, } sv.LatestAgentProfileReportedAt = ptr.Time(t) } - case "latestAggregatedProfile": if err := awsRestjson1_deserializeDocumentAggregatedProfileTime(&sv.LatestAggregatedProfile, value); err != nil { return err } - default: _, _ = key, value @@ -5388,7 +5282,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.AllMatchesCount = ptr.Int32(int32(i64)) } - case "allMatchesSum": if value != nil { switch jtv := value.(type) { @@ -5422,7 +5315,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -5435,12 +5327,10 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EndTime = ptr.Time(t) } - case "pattern": if err := awsRestjson1_deserializeDocumentPattern(&sv.Pattern, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5453,12 +5343,10 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.StartTime = ptr.Time(t) } - case "topMatches": if err := awsRestjson1_deserializeDocumentMatches(&sv.TopMatches, value); err != nil { return err } - default: _, _ = key, value @@ -5522,15 +5410,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5538,15 +5420,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5571,15 +5449,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5587,15 +5459,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5796,15 +5664,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5812,15 +5674,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5859,7 +5717,6 @@ func awsRestjson1_deserializeDocumentTimestampStructure(v **types.TimestampStruc } sv.Value = ptr.Time(t) } - default: _, _ = key, value @@ -5933,7 +5790,6 @@ func awsRestjson1_deserializeDocumentUserFeedback(v **types.UserFeedback, value } sv.Type = types.FeedbackType(jtv) } - default: _, _ = key, value @@ -5963,15 +5819,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5979,15 +5829,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/codegurureviewer/deserializers.go b/service/codegurureviewer/deserializers.go index b777b58262c..0ced6b009e2 100644 --- a/service/codegurureviewer/deserializers.go +++ b/service/codegurureviewer/deserializers.go @@ -183,12 +183,10 @@ func awsRestjson1_deserializeOpDocumentAssociateRepositoryOutput(v **AssociateRe if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -355,7 +353,6 @@ func awsRestjson1_deserializeOpDocumentCreateCodeReviewOutput(v **CreateCodeRevi if err := awsRestjson1_deserializeDocumentCodeReview(&sv.CodeReview, value); err != nil { return err } - default: _, _ = key, value @@ -519,7 +516,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeReviewOutput(v **DescribeCode if err := awsRestjson1_deserializeDocumentCodeReview(&sv.CodeReview, value); err != nil { return err } - default: _, _ = key, value @@ -683,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecommendationFeedbackOutput(v ** if err := awsRestjson1_deserializeDocumentRecommendationFeedback(&sv.RecommendationFeedback, value); err != nil { return err } - default: _, _ = key, value @@ -847,12 +842,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRepositoryAssociationOutput(v **D if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1019,12 +1012,10 @@ func awsRestjson1_deserializeOpDocumentDisassociateRepositoryOutput(v **Disassoc if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1185,7 +1176,6 @@ func awsRestjson1_deserializeOpDocumentListCodeReviewsOutput(v **ListCodeReviews if err := awsRestjson1_deserializeDocumentCodeReviewSummaries(&sv.CodeReviewSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1194,7 +1184,6 @@ func awsRestjson1_deserializeOpDocumentListCodeReviewsOutput(v **ListCodeReviews } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1362,12 +1351,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationFeedbackOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "RecommendationFeedbackSummaries": if err := awsRestjson1_deserializeDocumentRecommendationFeedbackSummaries(&sv.RecommendationFeedbackSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1535,12 +1522,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } - case "RecommendationSummaries": if err := awsRestjson1_deserializeDocumentRecommendationSummaries(&sv.RecommendationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1702,12 +1687,10 @@ func awsRestjson1_deserializeOpDocumentListRepositoryAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "RepositoryAssociationSummaries": if err := awsRestjson1_deserializeDocumentRepositoryAssociationSummaries(&sv.RepositoryAssociationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1865,7 +1848,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2435,15 +2417,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2451,15 +2427,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2530,7 +2502,6 @@ func awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(v **types.BranchDi } sv.DestinationBranchName = ptr.String(jtv) } - case "SourceBranchName": if value != nil { jtv, ok := value.(string) @@ -2539,7 +2510,6 @@ func awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(v **types.BranchDi } sv.SourceBranchName = ptr.String(jtv) } - default: _, _ = key, value @@ -2579,7 +2549,6 @@ func awsRestjson1_deserializeDocumentCodeArtifacts(v **types.CodeArtifacts, valu } sv.BuildArtifactsObjectKey = ptr.String(jtv) } - case "SourceCodeArtifactsObjectKey": if value != nil { jtv, ok := value.(string) @@ -2588,7 +2557,6 @@ func awsRestjson1_deserializeDocumentCodeArtifacts(v **types.CodeArtifacts, valu } sv.SourceCodeArtifactsObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -2624,7 +2592,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte if err := awsRestjson1_deserializeDocumentAnalysisTypes(&sv.AnalysisTypes, value); err != nil { return err } - case "AssociationArn": if value != nil { jtv, ok := value.(string) @@ -2633,7 +2600,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.AssociationArn = ptr.String(jtv) } - case "CodeReviewArn": if value != nil { jtv, ok := value.(string) @@ -2642,7 +2608,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.CodeReviewArn = ptr.String(jtv) } - case "ConfigFileState": if value != nil { jtv, ok := value.(string) @@ -2651,7 +2616,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.ConfigFileState = types.ConfigFileState(jtv) } - case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2667,7 +2631,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } } - case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2683,12 +2646,10 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } } - case "Metrics": if err := awsRestjson1_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2697,7 +2658,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -2706,7 +2666,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Owner = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -2715,7 +2674,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.ProviderType = types.ProviderType(jtv) } - case "PullRequestId": if value != nil { jtv, ok := value.(string) @@ -2724,7 +2682,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.PullRequestId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -2733,12 +2690,10 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.RepositoryName = ptr.String(jtv) } - case "SourceCodeType": if err := awsRestjson1_deserializeDocumentSourceCodeType(&sv.SourceCodeType, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -2747,7 +2702,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.State = types.JobState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -2756,7 +2710,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.StateReason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2765,7 +2718,6 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -2839,7 +2791,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.CodeReviewArn = ptr.String(jtv) } - case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2855,7 +2806,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } } - case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2871,12 +2821,10 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } } - case "MetricsSummary": if err := awsRestjson1_deserializeDocumentMetricsSummary(&sv.MetricsSummary, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2885,7 +2833,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -2894,7 +2841,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Owner = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -2903,7 +2849,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.ProviderType = types.ProviderType(jtv) } - case "PullRequestId": if value != nil { jtv, ok := value.(string) @@ -2912,7 +2857,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.PullRequestId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -2921,12 +2865,10 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.RepositoryName = ptr.String(jtv) } - case "SourceCodeType": if err := awsRestjson1_deserializeDocumentSourceCodeType(&sv.SourceCodeType, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -2935,7 +2877,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.State = types.JobState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2944,7 +2885,6 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -2984,7 +2924,6 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.DestinationCommit = ptr.String(jtv) } - case "MergeBaseCommit": if value != nil { jtv, ok := value.(string) @@ -2993,7 +2932,6 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.MergeBaseCommit = ptr.String(jtv) } - case "SourceCommit": if value != nil { jtv, ok := value.(string) @@ -3002,7 +2940,6 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.SourceCommit = ptr.String(jtv) } - default: _, _ = key, value @@ -3032,15 +2969,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3048,15 +2979,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3091,7 +3018,6 @@ func awsRestjson1_deserializeDocumentEventInfo(v **types.EventInfo, value interf } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3100,7 +3026,6 @@ func awsRestjson1_deserializeDocumentEventInfo(v **types.EventInfo, value interf } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -3130,15 +3055,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3146,15 +3065,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3189,7 +3104,6 @@ func awsRestjson1_deserializeDocumentKMSKeyDetails(v **types.KMSKeyDetails, valu } sv.EncryptionOption = types.EncryptionOption(jtv) } - case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -3198,7 +3112,6 @@ func awsRestjson1_deserializeDocumentKMSKeyDetails(v **types.KMSKeyDetails, valu } sv.KMSKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -3242,7 +3155,6 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.FindingsCount = ptr.Int64(i64) } - case "MeteredLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3255,7 +3167,6 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.MeteredLinesOfCodeCount = ptr.Int64(i64) } - case "SuppressedLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3268,7 +3179,6 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.SuppressedLinesOfCodeCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3312,7 +3222,6 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.FindingsCount = ptr.Int64(i64) } - case "MeteredLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3325,7 +3234,6 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.MeteredLinesOfCodeCount = ptr.Int64(i64) } - case "SuppressedLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3338,7 +3246,6 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.SuppressedLinesOfCodeCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3368,15 +3275,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3384,15 +3285,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3463,7 +3360,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.CodeReviewArn = ptr.String(jtv) } - case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3479,7 +3375,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } } - case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3495,12 +3390,10 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } } - case "Reactions": if err := awsRestjson1_deserializeDocumentReactions(&sv.Reactions, value); err != nil { return err } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3509,7 +3402,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.RecommendationId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -3518,7 +3410,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -3588,7 +3479,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec if err := awsRestjson1_deserializeDocumentReactions(&sv.Reactions, value); err != nil { return err } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3597,7 +3487,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec } sv.RecommendationId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -3606,7 +3495,6 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -3680,7 +3568,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Description = ptr.String(jtv) } - case "EndLine": if value != nil { jtv, ok := value.(json.Number) @@ -3693,7 +3580,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.EndLine = ptr.Int32(int32(i64)) } - case "FilePath": if value != nil { jtv, ok := value.(string) @@ -3702,7 +3588,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.FilePath = ptr.String(jtv) } - case "RecommendationCategory": if value != nil { jtv, ok := value.(string) @@ -3711,7 +3596,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationCategory = types.RecommendationCategory(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3720,12 +3604,10 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationId = ptr.String(jtv) } - case "RuleMetadata": if err := awsRestjson1_deserializeDocumentRuleMetadata(&sv.RuleMetadata, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -3734,7 +3616,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Severity = types.Severity(jtv) } - case "StartLine": if value != nil { jtv, ok := value.(json.Number) @@ -3747,7 +3628,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.StartLine = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3787,7 +3667,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.AssociationArn = ptr.String(jtv) } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -3796,7 +3675,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.AssociationId = ptr.String(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3805,7 +3683,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.ConnectionArn = ptr.String(jtv) } - case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3821,12 +3698,10 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } } - case "KMSKeyDetails": if err := awsRestjson1_deserializeDocumentKMSKeyDetails(&sv.KMSKeyDetails, value); err != nil { return err } - case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3842,7 +3717,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3851,7 +3725,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -3860,7 +3733,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.Owner = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -3869,12 +3741,10 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.ProviderType = types.ProviderType(jtv) } - case "S3RepositoryDetails": if err := awsRestjson1_deserializeDocumentS3RepositoryDetails(&sv.S3RepositoryDetails, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -3883,7 +3753,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.State = types.RepositoryAssociationState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -3892,7 +3761,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -3966,7 +3834,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.AssociationArn = ptr.String(jtv) } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -3975,7 +3842,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.AssociationId = ptr.String(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3984,7 +3850,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.ConnectionArn = ptr.String(jtv) } - case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -4000,7 +3865,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4009,7 +3873,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4018,7 +3881,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.Owner = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4027,7 +3889,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.ProviderType = types.ProviderType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4036,7 +3897,6 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.State = types.RepositoryAssociationState(jtv) } - default: _, _ = key, value @@ -4076,7 +3936,6 @@ func awsRestjson1_deserializeDocumentRepositoryHeadSourceCodeType(v **types.Repo } sv.BranchName = ptr.String(jtv) } - default: _, _ = key, value @@ -4112,7 +3971,6 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, if err := awsRestjson1_deserializeDocumentEventInfo(&sv.EventInfo, value); err != nil { return err } - case "Requester": if value != nil { jtv, ok := value.(string) @@ -4121,7 +3979,6 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.Requester = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4130,7 +3987,6 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.RequestId = ptr.String(jtv) } - case "VendorName": if value != nil { jtv, ok := value.(string) @@ -4139,7 +3995,6 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.VendorName = types.VendorName(jtv) } - default: _, _ = key, value @@ -4169,15 +4024,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4185,15 +4034,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4228,7 +4073,6 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.LongDescription = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -4237,7 +4081,6 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.RuleId = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -4246,12 +4089,10 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.RuleName = ptr.String(jtv) } - case "RuleTags": if err := awsRestjson1_deserializeDocumentRuleTags(&sv.RuleTags, value); err != nil { return err } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -4260,7 +4101,6 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.ShortDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -4332,7 +4172,6 @@ func awsRestjson1_deserializeDocumentS3BucketRepository(v **types.S3BucketReposi if err := awsRestjson1_deserializeDocumentS3RepositoryDetails(&sv.Details, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4341,7 +4180,6 @@ func awsRestjson1_deserializeDocumentS3BucketRepository(v **types.S3BucketReposi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4381,12 +4219,10 @@ func awsRestjson1_deserializeDocumentS3RepositoryDetails(v **types.S3RepositoryD } sv.BucketName = ptr.String(jtv) } - case "CodeArtifacts": if err := awsRestjson1_deserializeDocumentCodeArtifacts(&sv.CodeArtifacts, value); err != nil { return err } - default: _, _ = key, value @@ -4422,27 +4258,22 @@ func awsRestjson1_deserializeDocumentSourceCodeType(v **types.SourceCodeType, va if err := awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(&sv.BranchDiff, value); err != nil { return err } - case "CommitDiff": if err := awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(&sv.CommitDiff, value); err != nil { return err } - case "RepositoryHead": if err := awsRestjson1_deserializeDocumentRepositoryHeadSourceCodeType(&sv.RepositoryHead, value); err != nil { return err } - case "RequestMetadata": if err := awsRestjson1_deserializeDocumentRequestMetadata(&sv.RequestMetadata, value); err != nil { return err } - case "S3BucketRepository": if err := awsRestjson1_deserializeDocumentS3BucketRepository(&sv.S3BucketRepository, value); err != nil { return err } - default: _, _ = key, value @@ -4508,15 +4339,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4524,15 +4349,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4557,15 +4378,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4573,15 +4388,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/codegurusecurity/deserializers.go b/service/codegurusecurity/deserializers.go index 77a7272577c..136c9ea63e4 100644 --- a/service/codegurusecurity/deserializers.go +++ b/service/codegurusecurity/deserializers.go @@ -181,12 +181,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetFindingsOutput(v **BatchGetFindin if err := awsRestjson1_deserializeDocumentBatchGetFindingsErrors(&sv.FailedFindings, value); err != nil { return err } - case "findings": if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } - default: _, _ = key, value @@ -353,7 +351,6 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va if err := awsRestjson1_deserializeDocumentResourceId(&sv.ResourceId, value); err != nil { return err } - case "runId": if value != nil { jtv, ok := value.(string) @@ -362,7 +359,6 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.RunId = ptr.String(jtv) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -371,7 +367,6 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanName = ptr.String(jtv) } - case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -380,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanNameArn = ptr.String(jtv) } - case "scanState": if value != nil { jtv, ok := value.(string) @@ -389,7 +383,6 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanState = types.ScanState(jtv) } - default: _, _ = key, value @@ -554,12 +547,10 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.CodeArtifactId = ptr.String(jtv) } - case "requestHeaders": if err := awsRestjson1_deserializeDocumentRequestHeaderMap(&sv.RequestHeaders, value); err != nil { return err } - case "s3Url": if value != nil { jtv, ok := value.(string) @@ -568,7 +559,6 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.S3Url = ptr.String(jtv) } - default: _, _ = key, value @@ -729,7 +719,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountConfigurationOutput(v **GetAcco if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -896,7 +885,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -905,7 +893,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1066,7 +1053,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricsSummaryOutput(v **GetMetricsSum if err := awsRestjson1_deserializeDocumentMetricsSummary(&sv.MetricsSummary, value); err != nil { return err } - default: _, _ = key, value @@ -1234,7 +1220,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.AnalysisType = types.AnalysisType(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1250,7 +1235,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1259,7 +1243,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ErrorMessage = ptr.String(jtv) } - case "numberOfRevisions": if value != nil { jtv, ok := value.(json.Number) @@ -1272,7 +1255,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.NumberOfRevisions = ptr.Int64(i64) } - case "runId": if value != nil { jtv, ok := value.(string) @@ -1281,7 +1263,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.RunId = ptr.String(jtv) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -1290,7 +1271,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanName = ptr.String(jtv) } - case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -1299,7 +1279,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanNameArn = ptr.String(jtv) } - case "scanState": if value != nil { jtv, ok := value.(string) @@ -1308,7 +1287,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanState = types.ScanState(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1324,7 +1302,6 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } } - default: _, _ = key, value @@ -1485,7 +1462,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsMetricsOutput(v **ListFinding if err := awsRestjson1_deserializeDocumentFindingsMetricList(&sv.FindingsMetrics, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1494,7 +1470,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsMetricsOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1659,12 +1634,10 @@ func awsRestjson1_deserializeOpDocumentListScansOutput(v **ListScansOutput, valu } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsRestjson1_deserializeDocumentScanSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -1831,7 +1804,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2201,7 +2173,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2447,13 +2418,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -2463,8 +2428,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2472,7 +2436,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2481,7 +2444,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2490,15 +2452,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2529,7 +2487,6 @@ func awsRestjson1_deserializeDocumentAccountFindingsMetric(v **types.AccountFind if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.ClosedFindings, value); err != nil { return err } - case "date": if value != nil { switch jtv := value.(type) { @@ -2545,22 +2502,18 @@ func awsRestjson1_deserializeDocumentAccountFindingsMetric(v **types.AccountFind } } - case "meanTimeToClose": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.MeanTimeToClose, value); err != nil { return err } - case "newFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.NewFindings, value); err != nil { return err } - case "openFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.OpenFindings, value); err != nil { return err } - default: _, _ = key, value @@ -2600,7 +2553,6 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.ErrorCode = types.ErrorCode(jtv) } - case "findingId": if value != nil { jtv, ok := value.(string) @@ -2609,7 +2561,6 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.FindingId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -2618,7 +2569,6 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.Message = ptr.String(jtv) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -2627,7 +2577,6 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.ScanName = ptr.String(jtv) } - default: _, _ = key, value @@ -2735,7 +2684,6 @@ func awsRestjson1_deserializeDocumentCategoryWithFindingNum(v **types.CategoryWi } sv.CategoryName = ptr.String(jtv) } - case "findingNumber": if value != nil { jtv, ok := value.(json.Number) @@ -2748,7 +2696,6 @@ func awsRestjson1_deserializeDocumentCategoryWithFindingNum(v **types.CategoryWi } sv.FindingNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2788,7 +2735,6 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Content = ptr.String(jtv) } - case "number": if value != nil { jtv, ok := value.(json.Number) @@ -2801,7 +2747,6 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Number = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2865,13 +2810,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -2881,8 +2820,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2890,7 +2828,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2899,7 +2836,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2908,15 +2844,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2987,7 +2919,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3023,7 +2954,6 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac if err := awsRestjson1_deserializeDocumentCodeSnippet(&sv.CodeSnippet, value); err != nil { return err } - case "endLine": if value != nil { jtv, ok := value.(json.Number) @@ -3036,7 +2966,6 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.EndLine = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3045,7 +2974,6 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -3054,7 +2982,6 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.Path = ptr.String(jtv) } - case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -3067,7 +2994,6 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.StartLine = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3114,7 +3040,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3123,7 +3048,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -3132,7 +3056,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.DetectorId = ptr.String(jtv) } - case "detectorName": if value != nil { jtv, ok := value.(string) @@ -3141,12 +3064,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.DetectorName = ptr.String(jtv) } - case "detectorTags": if err := awsRestjson1_deserializeDocumentDetectorTags(&sv.DetectorTags, value); err != nil { return err } - case "generatorId": if value != nil { jtv, ok := value.(string) @@ -3155,7 +3076,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.GeneratorId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3164,17 +3084,14 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } - case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -3183,7 +3100,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.RuleId = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -3192,7 +3108,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3201,7 +3116,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.Status(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -3210,7 +3124,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3219,7 +3132,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3235,12 +3147,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "vulnerability": if err := awsRestjson1_deserializeDocumentVulnerability(&sv.Vulnerability, value); err != nil { return err } - default: _, _ = key, value @@ -3305,7 +3215,6 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } - case "high": if value != nil { switch jtv := value.(type) { @@ -3339,7 +3248,6 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } - case "info": if value != nil { switch jtv := value.(type) { @@ -3373,7 +3281,6 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } - case "low": if value != nil { switch jtv := value.(type) { @@ -3407,7 +3314,6 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } - case "medium": if value != nil { switch jtv := value.(type) { @@ -3441,7 +3347,6 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } - default: _, _ = key, value @@ -3539,13 +3444,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -3555,8 +3454,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3564,15 +3462,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3603,7 +3497,6 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va if err := awsRestjson1_deserializeDocumentCategoriesWithMostFindings(&sv.CategoriesWithMostFindings, value); err != nil { return err } - case "date": if value != nil { switch jtv := value.(type) { @@ -3619,22 +3512,18 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } } - case "openFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.OpenFindings, value); err != nil { return err } - case "scansWithMostOpenCriticalFindings": if err := awsRestjson1_deserializeDocumentScansWithMostOpenCriticalFindings(&sv.ScansWithMostOpenCriticalFindings, value); err != nil { return err } - case "scansWithMostOpenFindings": if err := awsRestjson1_deserializeDocumentScansWithMostOpenFindings(&sv.ScansWithMostOpenFindings, value); err != nil { return err } - default: _, _ = key, value @@ -3674,7 +3563,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -3683,7 +3571,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -3791,12 +3678,10 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } - case "suggestedFixes": if err := awsRestjson1_deserializeDocumentSuggestedFixes(&sv.SuggestedFixes, value); err != nil { return err } - default: _, _ = key, value @@ -3872,7 +3757,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "subResourceId": if value != nil { jtv, ok := value.(string) @@ -3881,7 +3765,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.SubResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3953,13 +3836,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3969,8 +3846,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3978,7 +3854,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3987,7 +3862,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3996,15 +3870,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4043,7 +3913,6 @@ func awsRestjson1_deserializeDocumentScanNameWithFindingNum(v **types.ScanNameWi } sv.FindingNumber = ptr.Int32(int32(i64)) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -4052,7 +3921,6 @@ func awsRestjson1_deserializeDocumentScanNameWithFindingNum(v **types.ScanNameWi } sv.ScanName = ptr.String(jtv) } - default: _, _ = key, value @@ -4133,7 +4001,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } } - case "runId": if value != nil { jtv, ok := value.(string) @@ -4142,7 +4009,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.RunId = ptr.String(jtv) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -4151,7 +4017,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanName = ptr.String(jtv) } - case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -4160,7 +4025,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanNameArn = ptr.String(jtv) } - case "scanState": if value != nil { jtv, ok := value.(string) @@ -4169,7 +4033,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanState = types.ScanState(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4185,7 +4048,6 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } } - default: _, _ = key, value @@ -4293,7 +4155,6 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Code = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4302,7 +4163,6 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -4402,13 +4262,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -4418,8 +4272,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4427,7 +4280,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4436,7 +4288,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4445,15 +4296,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4478,13 +4325,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -4494,13 +4335,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } - case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4508,7 +4347,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4517,15 +4355,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4560,7 +4394,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4569,7 +4402,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4639,7 +4471,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentFilePath(&sv.FilePath, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4648,7 +4479,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } - case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -4661,17 +4491,14 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.ItemCount = ptr.Int32(int32(i64)) } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentRelatedVulnerabilities(&sv.RelatedVulnerabilities, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codepipeline/deserializers.go b/service/codepipeline/deserializers.go index 211e866e2e1..c46c7b69e88 100644 --- a/service/codepipeline/deserializers.go +++ b/service/codepipeline/deserializers.go @@ -6375,7 +6375,6 @@ func awsAwsjson11_deserializeDocumentActionConfiguration(v **types.ActionConfigu if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -6451,7 +6450,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Description = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(bool) @@ -6460,7 +6458,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Key = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -6469,7 +6466,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Name = ptr.String(jtv) } - case "queryable": if value != nil { jtv, ok := value.(bool) @@ -6478,7 +6474,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Queryable = jtv } - case "required": if value != nil { jtv, ok := value.(bool) @@ -6487,7 +6482,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Required = jtv } - case "secret": if value != nil { jtv, ok := value.(bool) @@ -6496,7 +6490,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Secret = jtv } - case "type": if value != nil { jtv, ok := value.(string) @@ -6505,7 +6498,6 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Type = types.ActionConfigurationPropertyType(jtv) } - default: _, _ = key, value @@ -6579,7 +6571,6 @@ func awsAwsjson11_deserializeDocumentActionContext(v **types.ActionContext, valu } sv.ActionExecutionId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6588,7 +6579,6 @@ func awsAwsjson11_deserializeDocumentActionContext(v **types.ActionContext, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6624,22 +6614,18 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } - case "commands": if err := awsAwsjson11_deserializeDocumentCommandList(&sv.Commands, value); err != nil { return err } - case "configuration": if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentInputArtifactList(&sv.InputArtifacts, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6634,6 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -6657,17 +6642,14 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Namespace = ptr.String(jtv) } - case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentOutputArtifactList(&sv.OutputArtifacts, value); err != nil { return err } - case "outputVariables": if err := awsAwsjson11_deserializeDocumentOutputVariableList(&sv.OutputVariables, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -6676,7 +6658,6 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Region = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6685,7 +6666,6 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.RoleArn = ptr.String(jtv) } - case "runOrder": if value != nil { jtv, ok := value.(json.Number) @@ -6698,7 +6678,6 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.RunOrder = ptr.Int32(int32(i64)) } - case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6711,7 +6690,6 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6751,12 +6729,10 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ActionExecutionId = ptr.String(jtv) } - case "errorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -6765,7 +6741,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ExternalExecutionId = ptr.String(jtv) } - case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -6774,7 +6749,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ExternalExecutionUrl = ptr.String(jtv) } - case "lastStatusChange": if value != nil { switch jtv := value.(type) { @@ -6790,7 +6764,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -6799,7 +6772,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.LastUpdatedBy = ptr.String(jtv) } - case "percentComplete": if value != nil { jtv, ok := value.(json.Number) @@ -6812,7 +6784,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PercentComplete = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6821,7 +6792,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Status = types.ActionExecutionStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -6830,7 +6800,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Summary = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -6839,7 +6808,6 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -6879,7 +6847,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.ActionExecutionId = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -6888,12 +6855,10 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.ActionName = ptr.String(jtv) } - case "input": if err := awsAwsjson11_deserializeDocumentActionExecutionInput(&sv.Input, value); err != nil { return err } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6909,12 +6874,10 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } } - case "output": if err := awsAwsjson11_deserializeDocumentActionExecutionOutput(&sv.Output, value); err != nil { return err } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -6923,7 +6886,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.PipelineExecutionId = ptr.String(jtv) } - case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6936,7 +6898,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.PipelineVersion = ptr.Int32(int32(i64)) } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -6945,7 +6906,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.StageName = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6961,7 +6921,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6970,7 +6929,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.Status = types.ActionExecutionStatus(jtv) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6979,7 +6937,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -7049,17 +7006,14 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } - case "configuration": if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.InputArtifacts, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -7068,7 +7022,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.Namespace = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -7077,12 +7030,10 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.Region = ptr.String(jtv) } - case "resolvedConfiguration": if err := awsAwsjson11_deserializeDocumentResolvedActionConfigurationMap(&sv.ResolvedConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7091,7 +7042,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7127,17 +7077,14 @@ func awsAwsjson11_deserializeDocumentActionExecutionOutput(v **types.ActionExecu if err := awsAwsjson11_deserializeDocumentActionExecutionResult(&sv.ExecutionResult, value); err != nil { return err } - case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.OutputArtifacts, value); err != nil { return err } - case "outputVariables": if err := awsAwsjson11_deserializeDocumentOutputVariablesMap(&sv.OutputVariables, value); err != nil { return err } - default: _, _ = key, value @@ -7173,7 +7120,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -7182,7 +7128,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionId = ptr.String(jtv) } - case "externalExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -7191,7 +7136,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionSummary = ptr.String(jtv) } - case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -7200,7 +7144,6 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -7230,15 +7173,9 @@ func awsAwsjson11_deserializeDocumentActionNotFoundException(v **types.ActionNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7246,15 +7183,11 @@ func awsAwsjson11_deserializeDocumentActionNotFoundException(v **types.ActionNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7296,7 +7229,6 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } } - case "revisionChangeId": if value != nil { jtv, ok := value.(string) @@ -7305,7 +7237,6 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } sv.RevisionChangeId = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7314,7 +7245,6 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -7354,12 +7284,10 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.ActionName = ptr.String(jtv) } - case "currentRevision": if err := awsAwsjson11_deserializeDocumentActionRevision(&sv.CurrentRevision, value); err != nil { return err } - case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -7368,12 +7296,10 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.EntityUrl = ptr.String(jtv) } - case "latestExecution": if err := awsAwsjson11_deserializeDocumentActionExecution(&sv.LatestExecution, value); err != nil { return err } - case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -7382,7 +7308,6 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.RevisionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -7452,27 +7377,22 @@ func awsAwsjson11_deserializeDocumentActionType(v **types.ActionType, value inte if err := awsAwsjson11_deserializeDocumentActionConfigurationPropertyList(&sv.ActionConfigurationProperties, value); err != nil { return err } - case "id": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.Id, value); err != nil { return err } - case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } - case "outputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.OutputArtifactDetails, value); err != nil { return err } - case "settings": if err := awsAwsjson11_deserializeDocumentActionTypeSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -7516,7 +7436,6 @@ func awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(v **types.ActionT } sv.MaximumCount = int32(i64) } - case "minimumCount": if value != nil { jtv, ok := value.(json.Number) @@ -7529,7 +7448,6 @@ func awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(v **types.ActionT } sv.MinimumCount = int32(i64) } - default: _, _ = key, value @@ -7569,42 +7487,34 @@ func awsAwsjson11_deserializeDocumentActionTypeDeclaration(v **types.ActionTypeD } sv.Description = ptr.String(jtv) } - case "executor": if err := awsAwsjson11_deserializeDocumentActionTypeExecutor(&sv.Executor, value); err != nil { return err } - case "id": if err := awsAwsjson11_deserializeDocumentActionTypeIdentifier(&sv.Id, value); err != nil { return err } - case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } - case "outputArtifactDetails": if err := awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(&sv.OutputArtifactDetails, value); err != nil { return err } - case "permissions": if err := awsAwsjson11_deserializeDocumentActionTypePermissions(&sv.Permissions, value); err != nil { return err } - case "properties": if err := awsAwsjson11_deserializeDocumentActionTypeProperties(&sv.Properties, value); err != nil { return err } - case "urls": if err := awsAwsjson11_deserializeDocumentActionTypeUrls(&sv.Urls, value); err != nil { return err } - default: _, _ = key, value @@ -7640,7 +7550,6 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec if err := awsAwsjson11_deserializeDocumentExecutorConfiguration(&sv.Configuration, value); err != nil { return err } - case "jobTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -7653,7 +7562,6 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.JobTimeout = ptr.Int32(int32(i64)) } - case "policyStatementsTemplate": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7570,6 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.PolicyStatementsTemplate = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7671,7 +7578,6 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.Type = types.ExecutorType(jtv) } - default: _, _ = key, value @@ -7711,7 +7617,6 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Category = types.ActionCategory(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -7720,7 +7625,6 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Owner = types.ActionOwner(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -7729,7 +7633,6 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Provider = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7738,7 +7641,6 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7778,7 +7680,6 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Category = types.ActionCategory(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -7787,7 +7688,6 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Owner = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -7796,7 +7696,6 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Provider = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7805,7 +7704,6 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7869,15 +7767,9 @@ func awsAwsjson11_deserializeDocumentActionTypeNotFoundException(v **types.Actio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7885,15 +7777,11 @@ func awsAwsjson11_deserializeDocumentActionTypeNotFoundException(v **types.Actio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7924,7 +7812,6 @@ func awsAwsjson11_deserializeDocumentActionTypePermissions(v **types.ActionTypeP if err := awsAwsjson11_deserializeDocumentAllowedAccounts(&sv.AllowedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -7998,7 +7885,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Description = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(bool) @@ -8007,7 +7893,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Key = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -8016,7 +7901,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Name = ptr.String(jtv) } - case "noEcho": if value != nil { jtv, ok := value.(bool) @@ -8025,7 +7909,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.NoEcho = jtv } - case "optional": if value != nil { jtv, ok := value.(bool) @@ -8034,7 +7917,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Optional = jtv } - case "queryable": if value != nil { jtv, ok := value.(bool) @@ -8043,7 +7925,6 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Queryable = jtv } - default: _, _ = key, value @@ -8083,7 +7964,6 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.EntityUrlTemplate = ptr.String(jtv) } - case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8092,7 +7972,6 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.ExecutionUrlTemplate = ptr.String(jtv) } - case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8101,7 +7980,6 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.RevisionUrlTemplate = ptr.String(jtv) } - case "thirdPartyConfigurationUrl": if value != nil { jtv, ok := value.(string) @@ -8110,7 +7988,6 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.ThirdPartyConfigurationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8150,7 +8027,6 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.ConfigurationUrl = ptr.String(jtv) } - case "entityUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8159,7 +8035,6 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.EntityUrlTemplate = ptr.String(jtv) } - case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8168,7 +8043,6 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.ExecutionUrlTemplate = ptr.String(jtv) } - case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8177,7 +8051,6 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.RevisionUrlTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -8243,15 +8116,9 @@ func awsAwsjson11_deserializeDocumentApprovalAlreadyCompletedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8259,15 +8126,11 @@ func awsAwsjson11_deserializeDocumentApprovalAlreadyCompletedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8298,7 +8161,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac if err := awsAwsjson11_deserializeDocumentArtifactLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8307,7 +8169,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Name = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -8316,7 +8177,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -8356,12 +8216,10 @@ func awsAwsjson11_deserializeDocumentArtifactDetail(v **types.ArtifactDetail, va } sv.Name = ptr.String(jtv) } - case "s3location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3location, value); err != nil { return err } - default: _, _ = key, value @@ -8439,7 +8297,6 @@ func awsAwsjson11_deserializeDocumentArtifactDetails(v **types.ArtifactDetails, } sv.MaximumCount = int32(i64) } - case "minimumCount": if value != nil { jtv, ok := value.(json.Number) @@ -8452,7 +8309,6 @@ func awsAwsjson11_deserializeDocumentArtifactDetails(v **types.ArtifactDetails, } sv.MinimumCount = int32(i64) } - default: _, _ = key, value @@ -8522,7 +8378,6 @@ func awsAwsjson11_deserializeDocumentArtifactLocation(v **types.ArtifactLocation if err := awsAwsjson11_deserializeDocumentS3ArtifactLocation(&sv.S3Location, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8531,7 +8386,6 @@ func awsAwsjson11_deserializeDocumentArtifactLocation(v **types.ArtifactLocation } sv.Type = types.ArtifactLocationType(jtv) } - default: _, _ = key, value @@ -8578,7 +8432,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8587,7 +8440,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.Name = ptr.String(jtv) } - case "revisionChangeIdentifier": if value != nil { jtv, ok := value.(string) @@ -8596,7 +8448,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionChangeIdentifier = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -8605,7 +8456,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionId = ptr.String(jtv) } - case "revisionSummary": if value != nil { jtv, ok := value.(string) @@ -8614,7 +8464,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionSummary = ptr.String(jtv) } - case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -8623,7 +8472,6 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8693,7 +8541,6 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "location": if value != nil { jtv, ok := value.(string) @@ -8702,7 +8549,6 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu } sv.Location = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8711,7 +8557,6 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu } sv.Type = types.ArtifactStoreType(jtv) } - default: _, _ = key, value @@ -8786,7 +8631,6 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.AccessKeyId = ptr.String(jtv) } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -8795,7 +8639,6 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -8804,7 +8647,6 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8840,7 +8682,6 @@ func awsAwsjson11_deserializeDocumentBeforeEntryConditions(v **types.BeforeEntry if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } - default: _, _ = key, value @@ -8880,7 +8721,6 @@ func awsAwsjson11_deserializeDocumentBlockerDeclaration(v **types.BlockerDeclara } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8889,7 +8729,6 @@ func awsAwsjson11_deserializeDocumentBlockerDeclaration(v **types.BlockerDeclara } sv.Type = types.BlockerType(jtv) } - default: _, _ = key, value @@ -8955,15 +8794,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8971,15 +8804,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9004,15 +8833,9 @@ func awsAwsjson11_deserializeDocumentConcurrentPipelineExecutionsLimitExceededEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9020,15 +8843,11 @@ func awsAwsjson11_deserializeDocumentConcurrentPipelineExecutionsLimitExceededEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9063,12 +8882,10 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.Result = types.Result(jtv) } - case "rules": if err := awsAwsjson11_deserializeDocumentRuleDeclarationList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -9115,7 +8932,6 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -9124,7 +8940,6 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } sv.Status = types.ConditionExecutionStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -9133,7 +8948,6 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } sv.Summary = ptr.String(jtv) } - default: _, _ = key, value @@ -9197,15 +9011,9 @@ func awsAwsjson11_deserializeDocumentConditionNotOverridableException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9213,15 +9021,11 @@ func awsAwsjson11_deserializeDocumentConditionNotOverridableException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9252,12 +9056,10 @@ func awsAwsjson11_deserializeDocumentConditionState(v **types.ConditionState, va if err := awsAwsjson11_deserializeDocumentConditionExecution(&sv.LatestExecution, value); err != nil { return err } - case "ruleStates": if err := awsAwsjson11_deserializeDocumentRuleStateList(&sv.RuleStates, value); err != nil { return err } - default: _, _ = key, value @@ -9321,15 +9123,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9337,15 +9133,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9370,15 +9162,9 @@ func awsAwsjson11_deserializeDocumentDuplicatedStopRequestException(v **types.Du sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9386,15 +9172,11 @@ func awsAwsjson11_deserializeDocumentDuplicatedStopRequestException(v **types.Du } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9429,7 +9211,6 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Id = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9438,7 +9219,6 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Type = types.EncryptionKeyType(jtv) } - default: _, _ = key, value @@ -9478,7 +9258,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -9487,7 +9266,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9527,7 +9305,6 @@ func awsAwsjson11_deserializeDocumentExecutionTrigger(v **types.ExecutionTrigger } sv.TriggerDetail = ptr.String(jtv) } - case "triggerType": if value != nil { jtv, ok := value.(string) @@ -9536,7 +9313,6 @@ func awsAwsjson11_deserializeDocumentExecutionTrigger(v **types.ExecutionTrigger } sv.TriggerType = types.TriggerType(jtv) } - default: _, _ = key, value @@ -9572,12 +9348,10 @@ func awsAwsjson11_deserializeDocumentExecutorConfiguration(v **types.ExecutorCon if err := awsAwsjson11_deserializeDocumentJobWorkerExecutorConfiguration(&sv.JobWorkerExecutorConfiguration, value); err != nil { return err } - case "lambdaExecutorConfiguration": if err := awsAwsjson11_deserializeDocumentLambdaExecutorConfiguration(&sv.LambdaExecutorConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9613,7 +9387,6 @@ func awsAwsjson11_deserializeDocumentFailureConditions(v **types.FailureConditio if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -9622,12 +9395,10 @@ func awsAwsjson11_deserializeDocumentFailureConditions(v **types.FailureConditio } sv.Result = types.Result(jtv) } - case "retryConfiguration": if err := awsAwsjson11_deserializeDocumentRetryConfiguration(&sv.RetryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9699,12 +9470,10 @@ func awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(v **types.GitBranch if err := awsAwsjson11_deserializeDocumentGitBranchPatternList(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsAwsjson11_deserializeDocumentGitBranchPatternList(&sv.Includes, value); err != nil { return err } - default: _, _ = key, value @@ -9776,12 +9545,10 @@ func awsAwsjson11_deserializeDocumentGitConfiguration(v **types.GitConfiguration if err := awsAwsjson11_deserializeDocumentGitPullRequestFilterList(&sv.PullRequest, value); err != nil { return err } - case "push": if err := awsAwsjson11_deserializeDocumentGitPushFilterList(&sv.Push, value); err != nil { return err } - case "sourceActionName": if value != nil { jtv, ok := value.(string) @@ -9790,7 +9557,6 @@ func awsAwsjson11_deserializeDocumentGitConfiguration(v **types.GitConfiguration } sv.SourceActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -9826,12 +9592,10 @@ func awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(v **types.GitFile if err := awsAwsjson11_deserializeDocumentGitFilePathPatternList(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsAwsjson11_deserializeDocumentGitFilePathPatternList(&sv.Includes, value); err != nil { return err } - default: _, _ = key, value @@ -9939,17 +9703,14 @@ func awsAwsjson11_deserializeDocumentGitPullRequestFilter(v **types.GitPullReque if err := awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(&sv.Branches, value); err != nil { return err } - case "events": if err := awsAwsjson11_deserializeDocumentGitPullRequestEventTypeList(&sv.Events, value); err != nil { return err } - case "filePaths": if err := awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(&sv.FilePaths, value); err != nil { return err } - default: _, _ = key, value @@ -10019,17 +9780,14 @@ func awsAwsjson11_deserializeDocumentGitPushFilter(v **types.GitPushFilter, valu if err := awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(&sv.Branches, value); err != nil { return err } - case "filePaths": if err := awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(&sv.FilePaths, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentGitTagFilterCriteria(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10099,12 +9857,10 @@ func awsAwsjson11_deserializeDocumentGitTagFilterCriteria(v **types.GitTagFilter if err := awsAwsjson11_deserializeDocumentGitTagPatternList(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsAwsjson11_deserializeDocumentGitTagPatternList(&sv.Includes, value); err != nil { return err } - default: _, _ = key, value @@ -10180,7 +9936,6 @@ func awsAwsjson11_deserializeDocumentInputArtifact(v **types.InputArtifact, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10244,15 +9999,9 @@ func awsAwsjson11_deserializeDocumentInvalidActionDeclarationException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10260,15 +10009,11 @@ func awsAwsjson11_deserializeDocumentInvalidActionDeclarationException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10293,15 +10038,9 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalTokenException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10309,15 +10048,11 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalTokenException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10342,15 +10077,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10358,15 +10087,11 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10391,15 +10116,9 @@ func awsAwsjson11_deserializeDocumentInvalidBlockerDeclarationException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10407,15 +10126,11 @@ func awsAwsjson11_deserializeDocumentInvalidBlockerDeclarationException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10440,15 +10155,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientTokenException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10456,15 +10165,11 @@ func awsAwsjson11_deserializeDocumentInvalidClientTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10489,15 +10194,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobException(v **types.InvalidJobExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10505,15 +10204,11 @@ func awsAwsjson11_deserializeDocumentInvalidJobException(v **types.InvalidJobExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10538,15 +10233,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10554,15 +10243,11 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10587,15 +10272,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10603,15 +10282,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10636,15 +10311,9 @@ func awsAwsjson11_deserializeDocumentInvalidNonceException(v **types.InvalidNonc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10652,15 +10321,11 @@ func awsAwsjson11_deserializeDocumentInvalidNonceException(v **types.InvalidNonc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10685,15 +10350,9 @@ func awsAwsjson11_deserializeDocumentInvalidStageDeclarationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10701,15 +10360,11 @@ func awsAwsjson11_deserializeDocumentInvalidStageDeclarationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10734,15 +10389,9 @@ func awsAwsjson11_deserializeDocumentInvalidStructureException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10750,15 +10399,11 @@ func awsAwsjson11_deserializeDocumentInvalidStructureException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10783,15 +10428,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagsException(v **types.InvalidTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10799,15 +10438,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagsException(v **types.InvalidTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10832,15 +10467,9 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookAuthenticationParametersExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10848,15 +10477,11 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookAuthenticationParametersExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10881,15 +10506,9 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookFilterPatternException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10897,15 +10516,11 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookFilterPatternException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10940,12 +10555,10 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccountId = ptr.String(jtv) } - case "data": if err := awsAwsjson11_deserializeDocumentJobData(&sv.Data, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10954,7 +10567,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } - case "nonce": if value != nil { jtv, ok := value.(string) @@ -10963,7 +10575,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Nonce = ptr.String(jtv) } - default: _, _ = key, value @@ -10999,17 +10610,14 @@ func awsAwsjson11_deserializeDocumentJobData(v **types.JobData, value interface{ if err := awsAwsjson11_deserializeDocumentActionConfiguration(&sv.ActionConfiguration, value); err != nil { return err } - case "actionTypeId": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } - case "artifactCredentials": if err := awsAwsjson11_deserializeDocumentAWSSessionCredentials(&sv.ArtifactCredentials, value); err != nil { return err } - case "continuationToken": if value != nil { jtv, ok := value.(string) @@ -11018,27 +10626,22 @@ func awsAwsjson11_deserializeDocumentJobData(v **types.JobData, value interface{ } sv.ContinuationToken = ptr.String(jtv) } - case "encryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.InputArtifacts, value); err != nil { return err } - case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.OutputArtifacts, value); err != nil { return err } - case "pipelineContext": if err := awsAwsjson11_deserializeDocumentPipelineContext(&sv.PipelineContext, value); err != nil { return err } - default: _, _ = key, value @@ -11078,12 +10681,10 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.AccountId = ptr.String(jtv) } - case "data": if err := awsAwsjson11_deserializeDocumentJobData(&sv.Data, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11092,7 +10693,6 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -11156,15 +10756,9 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11172,15 +10766,11 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11211,12 +10801,10 @@ func awsAwsjson11_deserializeDocumentJobWorkerExecutorConfiguration(v **types.Jo if err := awsAwsjson11_deserializeDocumentPollingAccountList(&sv.PollingAccounts, value); err != nil { return err } - case "pollingServicePrincipals": if err := awsAwsjson11_deserializeDocumentPollingServicePrincipalList(&sv.PollingServicePrincipals, value); err != nil { return err } - default: _, _ = key, value @@ -11256,7 +10844,6 @@ func awsAwsjson11_deserializeDocumentLambdaExecutorConfiguration(v **types.Lambd } sv.LambdaFunctionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11286,15 +10873,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11302,15 +10883,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11345,12 +10922,10 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.Arn = ptr.String(jtv) } - case "definition": if err := awsAwsjson11_deserializeDocumentWebhookDefinition(&sv.Definition, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11359,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11368,7 +10942,6 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.ErrorMessage = ptr.String(jtv) } - case "lastTriggered": if value != nil { switch jtv := value.(type) { @@ -11384,12 +10957,10 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -11398,7 +10969,6 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -11428,15 +10998,9 @@ func awsAwsjson11_deserializeDocumentNotLatestPipelineExecutionException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11444,15 +11008,11 @@ func awsAwsjson11_deserializeDocumentNotLatestPipelineExecutionException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11483,7 +11043,6 @@ func awsAwsjson11_deserializeDocumentOutputArtifact(v **types.OutputArtifact, va if err := awsAwsjson11_deserializeDocumentFilePathList(&sv.Files, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11492,7 +11051,6 @@ func awsAwsjson11_deserializeDocumentOutputArtifact(v **types.OutputArtifact, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11628,15 +11186,9 @@ func awsAwsjson11_deserializeDocumentOutputVariablesSizeExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11644,15 +11196,11 @@ func awsAwsjson11_deserializeDocumentOutputVariablesSizeExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11683,7 +11231,6 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, if err := awsAwsjson11_deserializeDocumentActionContext(&sv.Action, value); err != nil { return err } - case "pipelineArn": if value != nil { jtv, ok := value.(string) @@ -11692,7 +11239,6 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineArn = ptr.String(jtv) } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -11701,7 +11247,6 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineExecutionId = ptr.String(jtv) } - case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -11710,12 +11255,10 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineName = ptr.String(jtv) } - case "stage": if err := awsAwsjson11_deserializeDocumentStageContext(&sv.Stage, value); err != nil { return err } - default: _, _ = key, value @@ -11751,12 +11294,10 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla if err := awsAwsjson11_deserializeDocumentArtifactStore(&sv.ArtifactStore, value); err != nil { return err } - case "artifactStores": if err := awsAwsjson11_deserializeDocumentArtifactStoreMap(&sv.ArtifactStores, value); err != nil { return err } - case "executionMode": if value != nil { jtv, ok := value.(string) @@ -11765,7 +11306,6 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.ExecutionMode = types.ExecutionMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11774,7 +11314,6 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.Name = ptr.String(jtv) } - case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -11783,7 +11322,6 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.PipelineType = types.PipelineType(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11792,22 +11330,18 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.RoleArn = ptr.String(jtv) } - case "stages": if err := awsAwsjson11_deserializeDocumentPipelineStageDeclarationList(&sv.Stages, value); err != nil { return err } - case "triggers": if err := awsAwsjson11_deserializeDocumentPipelineTriggerDeclarationList(&sv.Triggers, value); err != nil { return err } - case "variables": if err := awsAwsjson11_deserializeDocumentPipelineVariableDeclarationList(&sv.Variables, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11820,7 +11354,6 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11856,7 +11389,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti if err := awsAwsjson11_deserializeDocumentArtifactRevisionList(&sv.ArtifactRevisions, value); err != nil { return err } - case "executionMode": if value != nil { jtv, ok := value.(string) @@ -11865,7 +11397,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.ExecutionMode = types.ExecutionMode(jtv) } - case "executionType": if value != nil { jtv, ok := value.(string) @@ -11874,7 +11405,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.ExecutionType = types.ExecutionType(jtv) } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -11883,7 +11413,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionId = ptr.String(jtv) } - case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -11892,7 +11421,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineName = ptr.String(jtv) } - case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11905,12 +11433,10 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineVersion = ptr.Int32(int32(i64)) } - case "rollbackMetadata": if err := awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(&sv.RollbackMetadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11919,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.Status = types.PipelineExecutionStatus(jtv) } - case "statusSummary": if value != nil { jtv, ok := value.(string) @@ -11928,17 +11453,14 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.StatusSummary = ptr.String(jtv) } - case "trigger": if err := awsAwsjson11_deserializeDocumentExecutionTrigger(&sv.Trigger, value); err != nil { return err } - case "variables": if err := awsAwsjson11_deserializeDocumentResolvedPipelineVariableList(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -11968,15 +11490,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotFoundException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11984,15 +11500,11 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotFoundException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12017,15 +11529,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotStoppableException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12033,15 +11539,11 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotStoppableException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12066,15 +11568,9 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionOutdatedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12082,15 +11578,11 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionOutdatedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12125,7 +11617,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.ExecutionMode = types.ExecutionMode(jtv) } - case "executionType": if value != nil { jtv, ok := value.(string) @@ -12134,7 +11625,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.ExecutionType = types.ExecutionType(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -12150,7 +11640,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -12159,17 +11648,14 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionId = ptr.String(jtv) } - case "rollbackMetadata": if err := awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(&sv.RollbackMetadata, value); err != nil { return err } - case "sourceRevisions": if err := awsAwsjson11_deserializeDocumentSourceRevisionList(&sv.SourceRevisions, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -12185,7 +11671,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } - case "status": if value != nil { jtv, ok := value.(string) @@ -12194,7 +11679,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.Status = types.PipelineExecutionStatus(jtv) } - case "statusSummary": if value != nil { jtv, ok := value.(string) @@ -12203,17 +11687,14 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.StatusSummary = ptr.String(jtv) } - case "stopTrigger": if err := awsAwsjson11_deserializeDocumentStopExecutionTrigger(&sv.StopTrigger, value); err != nil { return err } - case "trigger": if err := awsAwsjson11_deserializeDocumentExecutionTrigger(&sv.Trigger, value); err != nil { return err } - default: _, _ = key, value @@ -12328,7 +11809,6 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } - case "pipelineArn": if value != nil { jtv, ok := value.(string) @@ -12337,7 +11817,6 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } sv.PipelineArn = ptr.String(jtv) } - case "pollingDisabledAt": if value != nil { switch jtv := value.(type) { @@ -12353,7 +11832,6 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } - case "updated": if value != nil { switch jtv := value.(type) { @@ -12369,7 +11847,6 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } - default: _, _ = key, value @@ -12399,15 +11876,9 @@ func awsAwsjson11_deserializeDocumentPipelineNameInUseException(v **types.Pipeli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12415,15 +11886,11 @@ func awsAwsjson11_deserializeDocumentPipelineNameInUseException(v **types.Pipeli } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12448,15 +11915,9 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12464,15 +11925,11 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12507,7 +11964,6 @@ func awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(v **types.Pipeline } sv.RollbackTargetPipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -12588,7 +12044,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "executionMode": if value != nil { jtv, ok := value.(string) @@ -12597,7 +12052,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.ExecutionMode = types.ExecutionMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12606,7 +12060,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Name = ptr.String(jtv) } - case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -12615,7 +12068,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineType = types.PipelineType(jtv) } - case "updated": if value != nil { switch jtv := value.(type) { @@ -12631,7 +12083,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -12644,7 +12095,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12680,7 +12130,6 @@ func awsAwsjson11_deserializeDocumentPipelineTriggerDeclaration(v **types.Pipeli if err := awsAwsjson11_deserializeDocumentGitConfiguration(&sv.GitConfiguration, value); err != nil { return err } - case "providerType": if value != nil { jtv, ok := value.(string) @@ -12689,7 +12138,6 @@ func awsAwsjson11_deserializeDocumentPipelineTriggerDeclaration(v **types.Pipeli } sv.ProviderType = types.PipelineTriggerProviderType(jtv) } - default: _, _ = key, value @@ -12763,7 +12211,6 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12772,7 +12219,6 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12781,7 +12227,6 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12845,15 +12290,9 @@ func awsAwsjson11_deserializeDocumentPipelineVersionNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12861,15 +12300,11 @@ func awsAwsjson11_deserializeDocumentPipelineVersionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12966,15 +12401,9 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12982,15 +12411,11 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13061,7 +12486,6 @@ func awsAwsjson11_deserializeDocumentResolvedPipelineVariable(v **types.Resolved } sv.Name = ptr.String(jtv) } - case "resolvedValue": if value != nil { jtv, ok := value.(string) @@ -13070,7 +12494,6 @@ func awsAwsjson11_deserializeDocumentResolvedPipelineVariable(v **types.Resolved } sv.ResolvedValue = ptr.String(jtv) } - default: _, _ = key, value @@ -13170,15 +12593,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13186,15 +12603,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13229,7 +12642,6 @@ func awsAwsjson11_deserializeDocumentRetryConfiguration(v **types.RetryConfigura } sv.RetryMode = types.StageRetryMode(jtv) } - default: _, _ = key, value @@ -13273,7 +12685,6 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.AutoStageRetryAttempt = ptr.Int32(int32(i64)) } - case "latestRetryTrigger": if value != nil { jtv, ok := value.(string) @@ -13282,7 +12693,6 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.LatestRetryTrigger = types.RetryTrigger(jtv) } - case "manualStageRetryAttempt": if value != nil { jtv, ok := value.(json.Number) @@ -13295,7 +12705,6 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.ManualStageRetryAttempt = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13371,7 +12780,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Description = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(bool) @@ -13380,7 +12788,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Key = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -13389,7 +12796,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Name = ptr.String(jtv) } - case "queryable": if value != nil { jtv, ok := value.(bool) @@ -13398,7 +12804,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Queryable = jtv } - case "required": if value != nil { jtv, ok := value.(bool) @@ -13407,7 +12812,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Required = jtv } - case "secret": if value != nil { jtv, ok := value.(bool) @@ -13416,7 +12820,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Secret = jtv } - case "type": if value != nil { jtv, ok := value.(string) @@ -13425,7 +12828,6 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Type = types.RuleConfigurationPropertyType(jtv) } - default: _, _ = key, value @@ -13495,12 +12897,10 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, if err := awsAwsjson11_deserializeDocumentRuleConfigurationMap(&sv.Configuration, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentInputArtifactList(&sv.InputArtifacts, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13509,7 +12909,6 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.Name = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -13518,7 +12917,6 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.Region = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13527,12 +12925,10 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.RoleArn = ptr.String(jtv) } - case "ruleTypeId": if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.RuleTypeId, value); err != nil { return err } - case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13545,7 +12941,6 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13615,7 +13010,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -13624,7 +13018,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.ExternalExecutionId = ptr.String(jtv) } - case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -13633,7 +13026,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.ExternalExecutionUrl = ptr.String(jtv) } - case "lastStatusChange": if value != nil { switch jtv := value.(type) { @@ -13649,7 +13041,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -13658,7 +13049,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.LastUpdatedBy = ptr.String(jtv) } - case "ruleExecutionId": if value != nil { jtv, ok := value.(string) @@ -13667,7 +13057,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.RuleExecutionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13676,7 +13065,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Status = types.RuleExecutionStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -13685,7 +13073,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Summary = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -13694,7 +13081,6 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -13730,7 +13116,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentRuleExecutionInput(&sv.Input, value); err != nil { return err } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -13746,12 +13131,10 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } } - case "output": if err := awsAwsjson11_deserializeDocumentRuleExecutionOutput(&sv.Output, value); err != nil { return err } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -13760,7 +13143,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.PipelineExecutionId = ptr.String(jtv) } - case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -13773,7 +13155,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.PipelineVersion = ptr.Int32(int32(i64)) } - case "ruleExecutionId": if value != nil { jtv, ok := value.(string) @@ -13782,7 +13163,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.RuleExecutionId = ptr.String(jtv) } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -13791,7 +13171,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.RuleName = ptr.String(jtv) } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -13800,7 +13179,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.StageName = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -13816,7 +13194,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } } - case "status": if value != nil { jtv, ok := value.(string) @@ -13825,7 +13202,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.Status = types.RuleExecutionStatus(jtv) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -13834,7 +13210,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -13904,12 +13279,10 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI if err := awsAwsjson11_deserializeDocumentRuleConfigurationMap(&sv.Configuration, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.InputArtifacts, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -13918,12 +13291,10 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI } sv.Region = ptr.String(jtv) } - case "resolvedConfiguration": if err := awsAwsjson11_deserializeDocumentResolvedRuleConfigurationMap(&sv.ResolvedConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13932,12 +13303,10 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI } sv.RoleArn = ptr.String(jtv) } - case "ruleTypeId": if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.RuleTypeId, value); err != nil { return err } - default: _, _ = key, value @@ -13973,7 +13342,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionOutput(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentRuleExecutionResult(&sv.ExecutionResult, value); err != nil { return err } - default: _, _ = key, value @@ -14009,7 +13377,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -14018,7 +13385,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionId = ptr.String(jtv) } - case "externalExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -14027,7 +13393,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionSummary = ptr.String(jtv) } - case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -14036,7 +13401,6 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14083,7 +13447,6 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } } - case "revisionChangeId": if value != nil { jtv, ok := value.(string) @@ -14092,7 +13455,6 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } sv.RevisionChangeId = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -14101,7 +13463,6 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -14137,7 +13498,6 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf if err := awsAwsjson11_deserializeDocumentRuleRevision(&sv.CurrentRevision, value); err != nil { return err } - case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -14146,12 +13506,10 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.EntityUrl = ptr.String(jtv) } - case "latestExecution": if err := awsAwsjson11_deserializeDocumentRuleExecution(&sv.LatestExecution, value); err != nil { return err } - case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -14160,7 +13518,6 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.RevisionUrl = ptr.String(jtv) } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -14169,7 +13526,6 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -14239,22 +13595,18 @@ func awsAwsjson11_deserializeDocumentRuleType(v **types.RuleType, value interfac if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.Id, value); err != nil { return err } - case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } - case "ruleConfigurationProperties": if err := awsAwsjson11_deserializeDocumentRuleConfigurationPropertyList(&sv.RuleConfigurationProperties, value); err != nil { return err } - case "settings": if err := awsAwsjson11_deserializeDocumentRuleTypeSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -14294,7 +13646,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Category = types.RuleCategory(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -14303,7 +13654,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Owner = types.RuleOwner(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -14312,7 +13662,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Provider = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -14321,7 +13670,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14395,7 +13743,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.EntityUrlTemplate = ptr.String(jtv) } - case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -14404,7 +13751,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.ExecutionUrlTemplate = ptr.String(jtv) } - case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -14413,7 +13759,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.RevisionUrlTemplate = ptr.String(jtv) } - case "thirdPartyConfigurationUrl": if value != nil { jtv, ok := value.(string) @@ -14422,7 +13767,6 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.ThirdPartyConfigurationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14462,7 +13806,6 @@ func awsAwsjson11_deserializeDocumentS3ArtifactLocation(v **types.S3ArtifactLoca } sv.BucketName = ptr.String(jtv) } - case "objectKey": if value != nil { jtv, ok := value.(string) @@ -14471,7 +13814,6 @@ func awsAwsjson11_deserializeDocumentS3ArtifactLocation(v **types.S3ArtifactLoca } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -14511,7 +13853,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -14520,7 +13861,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -14560,7 +13900,6 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.ActionName = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -14569,7 +13908,6 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionId = ptr.String(jtv) } - case "revisionSummary": if value != nil { jtv, ok := value.(string) @@ -14578,7 +13916,6 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionSummary = ptr.String(jtv) } - case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -14587,7 +13924,6 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14729,7 +14065,6 @@ func awsAwsjson11_deserializeDocumentStageConditionsExecution(v **types.StageCon } sv.Status = types.ConditionExecutionStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -14738,7 +14073,6 @@ func awsAwsjson11_deserializeDocumentStageConditionsExecution(v **types.StageCon } sv.Summary = ptr.String(jtv) } - default: _, _ = key, value @@ -14774,12 +14108,10 @@ func awsAwsjson11_deserializeDocumentStageConditionState(v **types.StageConditio if err := awsAwsjson11_deserializeDocumentConditionStateList(&sv.ConditionStates, value); err != nil { return err } - case "latestExecution": if err := awsAwsjson11_deserializeDocumentStageConditionsExecution(&sv.LatestExecution, value); err != nil { return err } - default: _, _ = key, value @@ -14819,7 +14151,6 @@ func awsAwsjson11_deserializeDocumentStageContext(v **types.StageContext, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14855,17 +14186,14 @@ func awsAwsjson11_deserializeDocumentStageDeclaration(v **types.StageDeclaration if err := awsAwsjson11_deserializeDocumentStageActionDeclarationList(&sv.Actions, value); err != nil { return err } - case "beforeEntry": if err := awsAwsjson11_deserializeDocumentBeforeEntryConditions(&sv.BeforeEntry, value); err != nil { return err } - case "blockers": if err := awsAwsjson11_deserializeDocumentStageBlockerDeclarationList(&sv.Blockers, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14874,17 +14202,14 @@ func awsAwsjson11_deserializeDocumentStageDeclaration(v **types.StageDeclaration } sv.Name = ptr.String(jtv) } - case "onFailure": if err := awsAwsjson11_deserializeDocumentFailureConditions(&sv.OnFailure, value); err != nil { return err } - case "onSuccess": if err := awsAwsjson11_deserializeDocumentSuccessConditions(&sv.OnSuccess, value); err != nil { return err } - default: _, _ = key, value @@ -14924,7 +14249,6 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.PipelineExecutionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14933,7 +14257,6 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.Status = types.StageExecutionStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14942,7 +14265,6 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.Type = types.ExecutionType(jtv) } - default: _, _ = key, value @@ -15006,15 +14328,9 @@ func awsAwsjson11_deserializeDocumentStageNotFoundException(v **types.StageNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15022,15 +14338,11 @@ func awsAwsjson11_deserializeDocumentStageNotFoundException(v **types.StageNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15055,15 +14367,9 @@ func awsAwsjson11_deserializeDocumentStageNotRetryableException(v **types.StageN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15071,15 +14377,11 @@ func awsAwsjson11_deserializeDocumentStageNotRetryableException(v **types.StageN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15110,47 +14412,38 @@ func awsAwsjson11_deserializeDocumentStageState(v **types.StageState, value inte if err := awsAwsjson11_deserializeDocumentActionStateList(&sv.ActionStates, value); err != nil { return err } - case "beforeEntryConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.BeforeEntryConditionState, value); err != nil { return err } - case "inboundExecution": if err := awsAwsjson11_deserializeDocumentStageExecution(&sv.InboundExecution, value); err != nil { return err } - case "inboundExecutions": if err := awsAwsjson11_deserializeDocumentStageExecutionList(&sv.InboundExecutions, value); err != nil { return err } - case "inboundTransitionState": if err := awsAwsjson11_deserializeDocumentTransitionState(&sv.InboundTransitionState, value); err != nil { return err } - case "latestExecution": if err := awsAwsjson11_deserializeDocumentStageExecution(&sv.LatestExecution, value); err != nil { return err } - case "onFailureConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.OnFailureConditionState, value); err != nil { return err } - case "onSuccessConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.OnSuccessConditionState, value); err != nil { return err } - case "retryStageMetadata": if err := awsAwsjson11_deserializeDocumentRetryStageMetadata(&sv.RetryStageMetadata, value); err != nil { return err } - case "stageName": if value != nil { jtv, ok := value.(string) @@ -15159,7 +14452,6 @@ func awsAwsjson11_deserializeDocumentStageState(v **types.StageState, value inte } sv.StageName = ptr.String(jtv) } - default: _, _ = key, value @@ -15233,7 +14525,6 @@ func awsAwsjson11_deserializeDocumentStopExecutionTrigger(v **types.StopExecutio } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -15269,7 +14560,6 @@ func awsAwsjson11_deserializeDocumentSuccessConditions(v **types.SuccessConditio if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } - default: _, _ = key, value @@ -15309,7 +14599,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15318,7 +14607,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15392,7 +14680,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyJob(v **types.ThirdPartyJob, valu } sv.ClientId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -15401,7 +14688,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyJob(v **types.ThirdPartyJob, valu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -15437,17 +14723,14 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobData(v **types.ThirdPartyJobDa if err := awsAwsjson11_deserializeDocumentActionConfiguration(&sv.ActionConfiguration, value); err != nil { return err } - case "actionTypeId": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } - case "artifactCredentials": if err := awsAwsjson11_deserializeDocumentAWSSessionCredentials(&sv.ArtifactCredentials, value); err != nil { return err } - case "continuationToken": if value != nil { jtv, ok := value.(string) @@ -15456,27 +14739,22 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobData(v **types.ThirdPartyJobDa } sv.ContinuationToken = ptr.String(jtv) } - case "encryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.InputArtifacts, value); err != nil { return err } - case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.OutputArtifacts, value); err != nil { return err } - case "pipelineContext": if err := awsAwsjson11_deserializeDocumentPipelineContext(&sv.PipelineContext, value); err != nil { return err } - default: _, _ = key, value @@ -15512,7 +14790,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo if err := awsAwsjson11_deserializeDocumentThirdPartyJobData(&sv.Data, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -15521,7 +14798,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo } sv.Id = ptr.String(jtv) } - case "nonce": if value != nil { jtv, ok := value.(string) @@ -15530,7 +14806,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo } sv.Nonce = ptr.String(jtv) } - default: _, _ = key, value @@ -15594,15 +14869,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15610,15 +14879,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15653,7 +14918,6 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.DisabledReason = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -15662,7 +14926,6 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.Enabled = jtv } - case "lastChangedAt": if value != nil { switch jtv := value.(type) { @@ -15678,7 +14941,6 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } } - case "lastChangedBy": if value != nil { jtv, ok := value.(string) @@ -15687,7 +14949,6 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.LastChangedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -15717,15 +14978,9 @@ func awsAwsjson11_deserializeDocumentUnableToRollbackStageException(v **types.Un sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15733,15 +14988,11 @@ func awsAwsjson11_deserializeDocumentUnableToRollbackStageException(v **types.Un } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15766,15 +15017,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15782,15 +15027,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15825,7 +15066,6 @@ func awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(v **types.WebhookA } sv.AllowedIPRange = ptr.String(jtv) } - case "SecretToken": if value != nil { jtv, ok := value.(string) @@ -15834,7 +15074,6 @@ func awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(v **types.WebhookA } sv.SecretToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15874,17 +15113,14 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.Authentication = types.WebhookAuthenticationType(jtv) } - case "authenticationConfiguration": if err := awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "filters": if err := awsAwsjson11_deserializeDocumentWebhookFilters(&sv.Filters, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15893,7 +15129,6 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.Name = ptr.String(jtv) } - case "targetAction": if value != nil { jtv, ok := value.(string) @@ -15902,7 +15137,6 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.TargetAction = ptr.String(jtv) } - case "targetPipeline": if value != nil { jtv, ok := value.(string) @@ -15911,7 +15145,6 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.TargetPipeline = ptr.String(jtv) } - default: _, _ = key, value @@ -15951,7 +15184,6 @@ func awsAwsjson11_deserializeDocumentWebhookFilterRule(v **types.WebhookFilterRu } sv.JsonPath = ptr.String(jtv) } - case "matchEquals": if value != nil { jtv, ok := value.(string) @@ -15960,7 +15192,6 @@ func awsAwsjson11_deserializeDocumentWebhookFilterRule(v **types.WebhookFilterRu } sv.MatchEquals = ptr.String(jtv) } - default: _, _ = key, value @@ -16058,22 +15289,13 @@ func awsAwsjson11_deserializeDocumentWebhookNotFoundException(v **types.WebhookN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16108,7 +15330,6 @@ func awsAwsjson11_deserializeOpDocumentAcknowledgeJobOutput(v **AcknowledgeJobOu } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -16148,7 +15369,6 @@ func awsAwsjson11_deserializeOpDocumentAcknowledgeThirdPartyJobOutput(v **Acknow } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -16184,12 +15404,10 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomActionTypeOutput(v **CreateCu if err := awsAwsjson11_deserializeDocumentActionType(&sv.ActionType, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16225,12 +15443,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16328,7 +15544,6 @@ func awsAwsjson11_deserializeOpDocumentGetActionTypeOutput(v **GetActionTypeOutp if err := awsAwsjson11_deserializeDocumentActionTypeDeclaration(&sv.ActionType, value); err != nil { return err } - default: _, _ = key, value @@ -16364,7 +15579,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobDetailsOutput(v **GetJobDetailsOutp if err := awsAwsjson11_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } - default: _, _ = key, value @@ -16400,7 +15614,6 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineExecutionOutput(v **GetPipelin if err := awsAwsjson11_deserializeDocumentPipelineExecution(&sv.PipelineExecution, value); err != nil { return err } - default: _, _ = key, value @@ -16436,12 +15649,10 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineOutput(v **GetPipelineOutput, if err := awsAwsjson11_deserializeDocumentPipelineMetadata(&sv.Metadata, value); err != nil { return err } - case "pipeline": if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -16488,7 +15699,6 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } } - case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -16497,7 +15707,6 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } sv.PipelineName = ptr.String(jtv) } - case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -16510,12 +15719,10 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } sv.PipelineVersion = ptr.Int32(int32(i64)) } - case "stageStates": if err := awsAwsjson11_deserializeDocumentStageStateList(&sv.StageStates, value); err != nil { return err } - case "updated": if value != nil { switch jtv := value.(type) { @@ -16531,7 +15738,6 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } } - default: _, _ = key, value @@ -16567,7 +15773,6 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyJobDetailsOutput(v **GetThir if err := awsAwsjson11_deserializeDocumentThirdPartyJobDetails(&sv.JobDetails, value); err != nil { return err } - default: _, _ = key, value @@ -16603,7 +15808,6 @@ func awsAwsjson11_deserializeOpDocumentListActionExecutionsOutput(v **ListAction if err := awsAwsjson11_deserializeDocumentActionExecutionDetailList(&sv.ActionExecutionDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16612,7 +15816,6 @@ func awsAwsjson11_deserializeOpDocumentListActionExecutionsOutput(v **ListAction } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16648,7 +15851,6 @@ func awsAwsjson11_deserializeOpDocumentListActionTypesOutput(v **ListActionTypes if err := awsAwsjson11_deserializeDocumentActionTypeList(&sv.ActionTypes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16657,7 +15859,6 @@ func awsAwsjson11_deserializeOpDocumentListActionTypesOutput(v **ListActionTypes } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16697,12 +15898,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionsOutput(v **ListPipe } sv.NextToken = ptr.String(jtv) } - case "pipelineExecutionSummaries": if err := awsAwsjson11_deserializeDocumentPipelineExecutionSummaryList(&sv.PipelineExecutionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -16742,12 +15941,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } - case "pipelines": if err := awsAwsjson11_deserializeDocumentPipelineList(&sv.Pipelines, value); err != nil { return err } - default: _, _ = key, value @@ -16787,12 +15984,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleExecutionsOutput(v **ListRuleExec } sv.NextToken = ptr.String(jtv) } - case "ruleExecutionDetails": if err := awsAwsjson11_deserializeDocumentRuleExecutionDetailList(&sv.RuleExecutionDetails, value); err != nil { return err } - default: _, _ = key, value @@ -16828,7 +16023,6 @@ func awsAwsjson11_deserializeOpDocumentListRuleTypesOutput(v **ListRuleTypesOutp if err := awsAwsjson11_deserializeDocumentRuleTypeList(&sv.RuleTypes, value); err != nil { return err } - default: _, _ = key, value @@ -16868,12 +16062,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16913,12 +16105,10 @@ func awsAwsjson11_deserializeOpDocumentListWebhooksOutput(v **ListWebhooksOutput } sv.NextToken = ptr.String(jtv) } - case "webhooks": if err := awsAwsjson11_deserializeDocumentWebhookList(&sv.Webhooks, value); err != nil { return err } - default: _, _ = key, value @@ -16954,7 +16144,6 @@ func awsAwsjson11_deserializeOpDocumentPollForJobsOutput(v **PollForJobsOutput, if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - default: _, _ = key, value @@ -16990,7 +16179,6 @@ func awsAwsjson11_deserializeOpDocumentPollForThirdPartyJobsOutput(v **PollForTh if err := awsAwsjson11_deserializeDocumentThirdPartyJobList(&sv.Jobs, value); err != nil { return err } - default: _, _ = key, value @@ -17030,7 +16218,6 @@ func awsAwsjson11_deserializeOpDocumentPutActionRevisionOutput(v **PutActionRevi } sv.NewRevision = jtv } - case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -17039,7 +16226,6 @@ func awsAwsjson11_deserializeOpDocumentPutActionRevisionOutput(v **PutActionRevi } sv.PipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17086,7 +16272,6 @@ func awsAwsjson11_deserializeOpDocumentPutApprovalResultOutput(v **PutApprovalRe } } - default: _, _ = key, value @@ -17122,7 +16307,6 @@ func awsAwsjson11_deserializeOpDocumentPutWebhookOutput(v **PutWebhookOutput, va if err := awsAwsjson11_deserializeDocumentListWebhookItem(&sv.Webhook, value); err != nil { return err } - default: _, _ = key, value @@ -17193,7 +16377,6 @@ func awsAwsjson11_deserializeOpDocumentRetryStageExecutionOutput(v **RetryStageE } sv.PipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17233,7 +16416,6 @@ func awsAwsjson11_deserializeOpDocumentRollbackStageOutput(v **RollbackStageOutp } sv.PipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17273,7 +16455,6 @@ func awsAwsjson11_deserializeOpDocumentStartPipelineExecutionOutput(v **StartPip } sv.PipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17313,7 +16494,6 @@ func awsAwsjson11_deserializeOpDocumentStopPipelineExecutionOutput(v **StopPipel } sv.PipelineExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17411,7 +16591,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codestarconnections/deserializers.go b/service/codestarconnections/deserializers.go index 4c65a14a9e3..6046653ad26 100644 --- a/service/codestarconnections/deserializers.go +++ b/service/codestarconnections/deserializers.go @@ -3893,15 +3893,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3909,15 +3903,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3942,15 +3932,9 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3958,15 +3942,11 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3991,15 +3971,9 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4007,15 +3981,11 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4040,15 +4010,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4056,15 +4020,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4099,7 +4059,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -4108,7 +4067,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -4117,7 +4075,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionStatus = types.ConnectionStatus(jtv) } - case "HostArn": if value != nil { jtv, ok := value.(string) @@ -4126,7 +4083,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.HostArn = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -4135,7 +4091,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccountId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4144,7 +4099,6 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } - default: _, _ = key, value @@ -4218,7 +4172,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4227,7 +4180,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Name = ptr.String(jtv) } - case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4188,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderEndpoint = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4245,7 +4196,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4254,7 +4204,6 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4263,12 +4212,10 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.StatusMessage = ptr.String(jtv) } - case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4332,15 +4279,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4348,15 +4289,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4381,15 +4318,9 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4397,15 +4328,11 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4464,15 +4391,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4480,15 +4401,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4523,7 +4440,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ConnectionArn = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4532,7 +4448,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.EncryptionKeyArn = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4541,7 +4456,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4550,7 +4464,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ProviderType = types.ProviderType(jtv) } - case "RepositoryLinkArn": if value != nil { jtv, ok := value.(string) @@ -4559,7 +4472,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkArn = ptr.String(jtv) } - case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -4568,7 +4480,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -4577,7 +4488,6 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -4647,7 +4557,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEventList(&sv.Events, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4663,7 +4572,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4672,7 +4580,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } - default: _, _ = key, value @@ -4712,7 +4619,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } - case "Directory": if value != nil { jtv, ok := value.(string) @@ -4721,7 +4627,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } - case "Parent": if value != nil { jtv, ok := value.(string) @@ -4730,7 +4635,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -4739,7 +4643,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -4813,7 +4716,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4822,7 +4724,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } - case "Time": if value != nil { switch jtv := value.(type) { @@ -4838,7 +4739,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4847,7 +4747,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4911,15 +4810,9 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4927,15 +4820,11 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4960,15 +4849,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4976,15 +4859,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5015,12 +4894,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEventList(&sv.Events, value); err != nil { return err } - case "InitialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -5036,7 +4913,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5045,7 +4921,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -5054,12 +4929,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } - case "TargetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } - default: _, _ = key, value @@ -5099,7 +4972,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -5108,7 +4980,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } - case "Time": if value != nil { switch jtv := value.(type) { @@ -5124,7 +4995,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5133,7 +5003,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5197,15 +5066,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5213,15 +5076,11 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5246,15 +5105,9 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5262,15 +5115,11 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5305,7 +5154,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } - case "Directory": if value != nil { jtv, ok := value.(string) @@ -5314,7 +5162,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5323,7 +5170,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5332,7 +5178,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.ProviderType = types.ProviderType(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5186,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } - case "Sha": if value != nil { jtv, ok := value.(string) @@ -5350,7 +5194,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } - default: _, _ = key, value @@ -5458,7 +5301,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContextList(&sv.Contexts, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5474,7 +5316,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "CreatedReason": if value != nil { jtv, ok := value.(string) @@ -5483,7 +5324,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5492,7 +5332,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } - case "ResolvedAt": if value != nil { switch jtv := value.(type) { @@ -5508,7 +5347,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "ResolvedReason": if value != nil { jtv, ok := value.(string) @@ -5517,7 +5355,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5526,7 +5363,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5535,7 +5371,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } - default: _, _ = key, value @@ -5575,7 +5410,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5584,7 +5418,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5648,15 +5481,9 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5664,15 +5491,11 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5703,7 +5526,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum if err := awsAwsjson10_deserializeDocumentLatestSyncBlockerList(&sv.LatestBlockers, value); err != nil { return err } - case "ParentResourceName": if value != nil { jtv, ok := value.(string) @@ -5712,7 +5534,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ParentResourceName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5721,7 +5542,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -5761,7 +5581,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.Branch = ptr.String(jtv) } - case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -5770,7 +5589,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ConfigFile = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5779,7 +5597,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.OwnerId = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5788,7 +5605,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ProviderType = types.ProviderType(jtv) } - case "PublishDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5797,7 +5613,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PublishDeploymentStatus = types.PublishDeploymentStatus(jtv) } - case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -5806,7 +5621,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryLinkId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5815,7 +5629,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5637,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ResourceName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5833,7 +5645,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RoleArn = ptr.String(jtv) } - case "SyncType": if value != nil { jtv, ok := value.(string) @@ -5842,7 +5653,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.SyncType = types.SyncConfigurationType(jtv) } - case "TriggerResourceUpdateOn": if value != nil { jtv, ok := value.(string) @@ -5851,7 +5661,6 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.TriggerResourceUpdateOn = types.TriggerResourceUpdateOn(jtv) } - default: _, _ = key, value @@ -5915,15 +5724,9 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5931,15 +5734,11 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5974,7 +5773,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5983,7 +5781,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6047,15 +5844,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6063,15 +5854,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6096,15 +5883,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6112,15 +5893,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6145,15 +5922,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6161,15 +5932,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6194,15 +5961,9 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6210,15 +5971,11 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6249,12 +6006,10 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "TlsCertificate": if value != nil { jtv, ok := value.(string) @@ -6263,7 +6018,6 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.TlsCertificate = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6272,7 +6026,6 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -6312,12 +6065,10 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6357,12 +6108,10 @@ func awsAwsjson10_deserializeOpDocumentCreateHostOutput(v **CreateHostOutput, va } sv.HostArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6398,7 +6147,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryLinkOutput(v **CreateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6434,7 +6182,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSyncConfigurationOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6594,7 +6341,6 @@ func awsAwsjson10_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -6634,7 +6380,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Name = ptr.String(jtv) } - case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -6643,7 +6388,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderEndpoint = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -6652,7 +6396,6 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderType = types.ProviderType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6661,12 +6404,10 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Status = ptr.String(jtv) } - case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6702,7 +6443,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryLinkOutput(v **GetRepository if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6738,7 +6478,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -6774,17 +6513,14 @@ func awsAwsjson10_deserializeOpDocumentGetResourceSyncStatusOutput(v **GetResour if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } - case "LatestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } - case "LatestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -6820,7 +6556,6 @@ func awsAwsjson10_deserializeOpDocumentGetSyncBlockerSummaryOutput(v **GetSyncBl if err := awsAwsjson10_deserializeDocumentSyncBlockerSummary(&sv.SyncBlockerSummary, value); err != nil { return err } - default: _, _ = key, value @@ -6856,7 +6591,6 @@ func awsAwsjson10_deserializeOpDocumentGetSyncConfigurationOutput(v **GetSyncCon if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6892,7 +6626,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6901,7 +6634,6 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6937,7 +6669,6 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu if err := awsAwsjson10_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6946,7 +6677,6 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6986,12 +6716,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositoryLinksOutput(v **ListReposit } sv.NextToken = ptr.String(jtv) } - case "RepositoryLinks": if err := awsAwsjson10_deserializeDocumentRepositoryLinkList(&sv.RepositoryLinks, value); err != nil { return err } - default: _, _ = key, value @@ -7031,12 +6759,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "RepositorySyncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.RepositorySyncDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -7076,12 +6802,10 @@ func awsAwsjson10_deserializeOpDocumentListSyncConfigurationsOutput(v **ListSync } sv.NextToken = ptr.String(jtv) } - case "SyncConfigurations": if err := awsAwsjson10_deserializeDocumentSyncConfigurationList(&sv.SyncConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -7117,7 +6841,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7246,7 +6969,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateRepositoryLinkOutput(v **UpdateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7286,7 +7008,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ParentResourceName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7295,12 +7016,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ResourceName = ptr.String(jtv) } - case "SyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.SyncBlocker, value); err != nil { return err } - default: _, _ = key, value @@ -7336,7 +7055,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncConfigurationOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/codestarnotifications/deserializers.go b/service/codestarnotifications/deserializers.go index b70dadb62bc..3d0916e7be0 100644 --- a/service/codestarnotifications/deserializers.go +++ b/service/codestarnotifications/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateNotificationRuleOutput(v **CreateNo } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -352,7 +351,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNotificationRuleOutput(v **DeleteNo } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -599,7 +597,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -608,7 +605,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -624,7 +620,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } } - case "DetailType": if value != nil { jtv, ok := value.(string) @@ -633,12 +628,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.DetailType = types.DetailType(jtv) } - case "EventTypes": if err := awsRestjson1_deserializeDocumentEventTypeBatch(&sv.EventTypes, value); err != nil { return err } - case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -654,7 +647,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -663,7 +655,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Name = ptr.String(jtv) } - case "Resource": if value != nil { jtv, ok := value.(string) @@ -672,7 +663,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Resource = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -681,17 +671,14 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Status = types.NotificationRuleStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Targets": if err := awsRestjson1_deserializeDocumentTargetsBatch(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -846,7 +833,6 @@ func awsRestjson1_deserializeOpDocumentListEventTypesOutput(v **ListEventTypesOu if err := awsRestjson1_deserializeDocumentEventTypeBatch(&sv.EventTypes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -855,7 +841,6 @@ func awsRestjson1_deserializeOpDocumentListEventTypesOutput(v **ListEventTypesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1014,12 +999,10 @@ func awsRestjson1_deserializeOpDocumentListNotificationRulesOutput(v **ListNotif } sv.NextToken = ptr.String(jtv) } - case "NotificationRules": if err := awsRestjson1_deserializeDocumentNotificationRuleBatch(&sv.NotificationRules, value); err != nil { return err } - default: _, _ = key, value @@ -1174,7 +1157,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1333,12 +1315,10 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, } sv.NextToken = ptr.String(jtv) } - case "Targets": if err := awsRestjson1_deserializeDocumentTargetsBatch(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -1500,7 +1480,6 @@ func awsRestjson1_deserializeOpDocumentSubscribeOutput(v **SubscribeOutput, valu } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1661,7 +1640,6 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1817,7 +1795,6 @@ func awsRestjson1_deserializeOpDocumentUnsubscribeOutput(v **UnsubscribeOutput, } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2326,15 +2303,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2342,15 +2313,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2375,15 +2342,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2391,15 +2352,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2424,15 +2381,9 @@ func awsRestjson1_deserializeDocumentConfigurationException(v **types.Configurat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2440,15 +2391,11 @@ func awsRestjson1_deserializeDocumentConfigurationException(v **types.Configurat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2517,7 +2464,6 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.EventTypeId = ptr.String(jtv) } - case "EventTypeName": if value != nil { jtv, ok := value.(string) @@ -2526,7 +2472,6 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.EventTypeName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2535,7 +2480,6 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.ResourceType = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -2544,7 +2488,6 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -2574,15 +2517,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2590,15 +2527,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2623,15 +2556,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2639,15 +2566,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2716,7 +2639,6 @@ func awsRestjson1_deserializeDocumentNotificationRuleSummary(v **types.Notificat } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2725,7 +2647,6 @@ func awsRestjson1_deserializeDocumentNotificationRuleSummary(v **types.Notificat } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2755,15 +2676,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2771,15 +2686,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2804,15 +2715,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2820,15 +2725,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2933,7 +2834,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetAddress = ptr.String(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2842,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetStatus = types.TargetStatus(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2850,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetType = ptr.String(jtv) } - default: _, _ = key, value @@ -2981,15 +2879,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2997,15 +2889,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/cognitoidentity/deserializers.go b/service/cognitoidentity/deserializers.go index 7a7763dbfc2..bb2957a4d07 100644 --- a/service/cognitoidentity/deserializers.go +++ b/service/cognitoidentity/deserializers.go @@ -3246,7 +3246,6 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ClientId = ptr.String(jtv) } - case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -3255,7 +3254,6 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ProviderName = ptr.String(jtv) } - case "ServerSideTokenCheck": if value != nil { jtv, ok := value.(bool) @@ -3264,7 +3262,6 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ServerSideTokenCheck = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3328,15 +3325,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3344,15 +3335,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3387,7 +3374,6 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } - case "Expiration": if value != nil { switch jtv := value.(type) { @@ -3403,7 +3389,6 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } } - case "SecretKey": if value != nil { jtv, ok := value.(string) @@ -3412,7 +3397,6 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretKey = ptr.String(jtv) } - case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -3421,7 +3405,6 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3451,15 +3434,9 @@ func awsAwsjson11_deserializeDocumentDeveloperUserAlreadyRegisteredException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3467,15 +3444,11 @@ func awsAwsjson11_deserializeDocumentDeveloperUserAlreadyRegisteredException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3536,15 +3509,9 @@ func awsAwsjson11_deserializeDocumentExternalServiceException(v **types.External sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3552,15 +3519,11 @@ func awsAwsjson11_deserializeDocumentExternalServiceException(v **types.External } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3636,7 +3599,6 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3645,7 +3607,6 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } sv.IdentityId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3661,12 +3622,10 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } } - case "Logins": if err := awsAwsjson11_deserializeDocumentLoginsList(&sv.Logins, value); err != nil { return err } - default: _, _ = key, value @@ -3706,7 +3665,6 @@ func awsAwsjson11_deserializeDocumentIdentityPoolShortDescription(v **types.Iden } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -3715,7 +3673,6 @@ func awsAwsjson11_deserializeDocumentIdentityPoolShortDescription(v **types.Iden } sv.IdentityPoolName = ptr.String(jtv) } - default: _, _ = key, value @@ -3851,15 +3808,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3867,15 +3818,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3900,15 +3847,9 @@ func awsAwsjson11_deserializeDocumentInvalidIdentityPoolConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3916,15 +3857,11 @@ func awsAwsjson11_deserializeDocumentInvalidIdentityPoolConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3949,15 +3886,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3965,15 +3896,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3998,15 +3925,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4014,15 +3935,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4093,7 +4010,6 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Claim = ptr.String(jtv) } - case "MatchType": if value != nil { jtv, ok := value.(string) @@ -4102,7 +4018,6 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.MatchType = types.MappingRuleMatchType(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4111,7 +4026,6 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.RoleARN = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4120,7 +4034,6 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4184,15 +4097,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4200,15 +4107,11 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4305,15 +4208,9 @@ func awsAwsjson11_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4321,15 +4218,11 @@ func awsAwsjson11_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4354,15 +4247,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4370,15 +4257,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4413,12 +4296,10 @@ func awsAwsjson11_deserializeDocumentRoleMapping(v **types.RoleMapping, value in } sv.AmbiguousRoleResolution = types.AmbiguousRoleResolutionType(jtv) } - case "RulesConfiguration": if err := awsAwsjson11_deserializeDocumentRulesConfigurationType(&sv.RulesConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4427,7 +4308,6 @@ func awsAwsjson11_deserializeDocumentRoleMapping(v **types.RoleMapping, value in } sv.Type = types.RoleMappingType(jtv) } - default: _, _ = key, value @@ -4534,7 +4414,6 @@ func awsAwsjson11_deserializeDocumentRulesConfigurationType(v **types.RulesConfi if err := awsAwsjson11_deserializeDocumentMappingRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -4600,15 +4479,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4616,15 +4489,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4659,7 +4528,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedIdentityId(v **types.Unprocessed } sv.ErrorCode = types.ErrorCode(jtv) } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -4668,7 +4536,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedIdentityId(v **types.Unprocessed } sv.IdentityId = ptr.String(jtv) } - default: _, _ = key, value @@ -4742,7 +4609,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.AllowClassicFlow = ptr.Bool(jtv) } - case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -4751,12 +4617,10 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.AllowUnauthenticatedIdentities = jtv } - case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } - case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -4765,7 +4629,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.DeveloperProviderName = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -4774,7 +4637,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -4783,27 +4645,22 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.IdentityPoolName = ptr.String(jtv) } - case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } - case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } - case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } - case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } - default: _, _ = key, value @@ -4839,7 +4696,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteIdentitiesOutput(v **DeleteIdentiti if err := awsAwsjson11_deserializeDocumentUnprocessedIdentityIdList(&sv.UnprocessedIdentityIds, value); err != nil { return err } - default: _, _ = key, value @@ -4886,7 +4742,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -4895,7 +4750,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } sv.IdentityId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4911,12 +4765,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } } - case "Logins": if err := awsAwsjson11_deserializeDocumentLoginsList(&sv.Logins, value); err != nil { return err } - default: _, _ = key, value @@ -4956,7 +4808,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.AllowClassicFlow = ptr.Bool(jtv) } - case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -4965,12 +4816,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.AllowUnauthenticatedIdentities = jtv } - case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } - case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -4979,7 +4828,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.DeveloperProviderName = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -4988,7 +4836,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -4997,27 +4844,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.IdentityPoolName = ptr.String(jtv) } - case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } - case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } - case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } - case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } - default: _, _ = key, value @@ -5053,7 +4895,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsForIdentityOutput(v **GetCr if err := awsAwsjson11_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -5062,7 +4903,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsForIdentityOutput(v **GetCr } sv.IdentityId = ptr.String(jtv) } - default: _, _ = key, value @@ -5102,17 +4942,14 @@ func awsAwsjson11_deserializeOpDocumentGetIdentityPoolRolesOutput(v **GetIdentit } sv.IdentityPoolId = ptr.String(jtv) } - case "RoleMappings": if err := awsAwsjson11_deserializeDocumentRoleMappingMap(&sv.RoleMappings, value); err != nil { return err } - case "Roles": if err := awsAwsjson11_deserializeDocumentRolesMap(&sv.Roles, value); err != nil { return err } - default: _, _ = key, value @@ -5152,7 +4989,6 @@ func awsAwsjson11_deserializeOpDocumentGetIdOutput(v **GetIdOutput, value interf } sv.IdentityId = ptr.String(jtv) } - default: _, _ = key, value @@ -5192,7 +5028,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenForDeveloperIdentityOutput( } sv.IdentityId = ptr.String(jtv) } - case "Token": if value != nil { jtv, ok := value.(string) @@ -5201,7 +5036,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenForDeveloperIdentityOutput( } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -5241,7 +5075,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenOutput(v **GetOpenIdTokenOu } sv.IdentityId = ptr.String(jtv) } - case "Token": if value != nil { jtv, ok := value.(string) @@ -5250,7 +5083,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenOutput(v **GetOpenIdTokenOu } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -5290,7 +5122,6 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityProviderName": if value != nil { jtv, ok := value.(string) @@ -5299,12 +5130,10 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.IdentityProviderName = ptr.String(jtv) } - case "PrincipalTags": if err := awsAwsjson11_deserializeDocumentPrincipalTags(&sv.PrincipalTags, value); err != nil { return err } - case "UseDefaults": if value != nil { jtv, ok := value.(bool) @@ -5313,7 +5142,6 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.UseDefaults = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5349,7 +5177,6 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu if err := awsAwsjson11_deserializeDocumentIdentitiesList(&sv.Identities, value); err != nil { return err } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -5358,7 +5185,6 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu } sv.IdentityPoolId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5367,7 +5193,6 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5403,7 +5228,6 @@ func awsAwsjson11_deserializeOpDocumentListIdentityPoolsOutput(v **ListIdentityP if err := awsAwsjson11_deserializeDocumentIdentityPoolsList(&sv.IdentityPools, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5412,7 +5236,6 @@ func awsAwsjson11_deserializeOpDocumentListIdentityPoolsOutput(v **ListIdentityP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5448,7 +5271,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5484,7 +5306,6 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD if err := awsAwsjson11_deserializeDocumentDeveloperUserIdentifierList(&sv.DeveloperUserIdentifierList, value); err != nil { return err } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -5493,7 +5314,6 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD } sv.IdentityId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5502,7 +5322,6 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5542,7 +5361,6 @@ func awsAwsjson11_deserializeOpDocumentMergeDeveloperIdentitiesOutput(v **MergeD } sv.IdentityId = ptr.String(jtv) } - default: _, _ = key, value @@ -5582,7 +5400,6 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityProviderName": if value != nil { jtv, ok := value.(string) @@ -5591,12 +5408,10 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.IdentityProviderName = ptr.String(jtv) } - case "PrincipalTags": if err := awsAwsjson11_deserializeDocumentPrincipalTags(&sv.PrincipalTags, value); err != nil { return err } - case "UseDefaults": if value != nil { jtv, ok := value.(bool) @@ -5605,7 +5420,6 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.UseDefaults = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5707,7 +5521,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.AllowClassicFlow = ptr.Bool(jtv) } - case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -5716,12 +5529,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.AllowUnauthenticatedIdentities = jtv } - case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } - case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -5730,7 +5541,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.DeveloperProviderName = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -5739,7 +5549,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.IdentityPoolId = ptr.String(jtv) } - case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -5748,27 +5557,22 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.IdentityPoolName = ptr.String(jtv) } - case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } - case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } - case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } - case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index b8bb4d06013..99da0623c78 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -14886,7 +14886,6 @@ func awsAwsjson11_deserializeDocumentAccountRecoverySettingType(v **types.Accoun if err := awsAwsjson11_deserializeDocumentRecoveryMechanismsType(&sv.RecoveryMechanisms, value); err != nil { return err } - default: _, _ = key, value @@ -14922,17 +14921,14 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionsType(v **types.Accoun if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.HighAction, value); err != nil { return err } - case "LowAction": if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.LowAction, value); err != nil { return err } - case "MediumAction": if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.MediumAction, value); err != nil { return err } - default: _, _ = key, value @@ -14972,7 +14968,6 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionType(v **types.Account } sv.EventAction = types.AccountTakeoverEventActionType(jtv) } - case "Notify": if value != nil { jtv, ok := value.(bool) @@ -14981,7 +14976,6 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionType(v **types.Account } sv.Notify = jtv } - default: _, _ = key, value @@ -15017,12 +15011,10 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverRiskConfigurationType(v **ty if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionsType(&sv.Actions, value); err != nil { return err } - case "NotifyConfiguration": if err := awsAwsjson11_deserializeDocumentNotifyConfigurationType(&sv.NotifyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15062,12 +15054,10 @@ func awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(v **types.AdminCr } sv.AllowAdminCreateUserOnly = jtv } - case "InviteMessageTemplate": if err := awsAwsjson11_deserializeDocumentMessageTemplateType(&sv.InviteMessageTemplate, value); err != nil { return err } - case "UnusedAccountValidityDays": if value != nil { jtv, ok := value.(json.Number) @@ -15080,7 +15070,6 @@ func awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(v **types.AdminCr } sv.UnusedAccountValidityDays = int32(i64) } - default: _, _ = key, value @@ -15120,7 +15109,6 @@ func awsAwsjson11_deserializeDocumentAdvancedSecurityAdditionalFlowsType(v **typ } sv.CustomAuthMode = types.AdvancedSecurityEnabledModeType(jtv) } - default: _, _ = key, value @@ -15186,15 +15174,9 @@ func awsAwsjson11_deserializeDocumentAliasExistsException(v **types.AliasExistsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15202,15 +15184,11 @@ func awsAwsjson11_deserializeDocumentAliasExistsException(v **types.AliasExistsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15245,7 +15223,6 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ApplicationArn = ptr.String(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -15254,7 +15231,6 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ApplicationId = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -15263,7 +15239,6 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ExternalId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -15272,7 +15247,6 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.RoleArn = ptr.String(jtv) } - case "UserDataShared": if value != nil { jtv, ok := value.(bool) @@ -15281,7 +15255,6 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.UserDataShared = jtv } - default: _, _ = key, value @@ -15427,7 +15400,6 @@ func awsAwsjson11_deserializeDocumentAttributeType(v **types.AttributeType, valu } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15436,7 +15408,6 @@ func awsAwsjson11_deserializeDocumentAttributeType(v **types.AttributeType, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15476,7 +15447,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.AccessToken = ptr.String(jtv) } - case "ExpiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -15489,7 +15459,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.ExpiresIn = int32(i64) } - case "IdToken": if value != nil { jtv, ok := value.(string) @@ -15498,12 +15467,10 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.IdToken = ptr.String(jtv) } - case "NewDeviceMetadata": if err := awsAwsjson11_deserializeDocumentNewDeviceMetadataType(&sv.NewDeviceMetadata, value); err != nil { return err } - case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -15512,7 +15479,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.RefreshToken = ptr.String(jtv) } - case "TokenType": if value != nil { jtv, ok := value.(string) @@ -15521,7 +15487,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.TokenType = ptr.String(jtv) } - default: _, _ = key, value @@ -15591,7 +15556,6 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu if err := awsAwsjson11_deserializeDocumentChallengeResponseListType(&sv.ChallengeResponses, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -15607,17 +15571,14 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } } - case "EventContextData": if err := awsAwsjson11_deserializeDocumentEventContextDataType(&sv.EventContextData, value); err != nil { return err } - case "EventFeedback": if err := awsAwsjson11_deserializeDocumentEventFeedbackType(&sv.EventFeedback, value); err != nil { return err } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -15626,7 +15587,6 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventId = ptr.String(jtv) } - case "EventResponse": if value != nil { jtv, ok := value.(string) @@ -15635,12 +15595,10 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventResponse = types.EventResponseType(jtv) } - case "EventRisk": if err := awsAwsjson11_deserializeDocumentEventRiskType(&sv.EventRisk, value); err != nil { return err } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -15649,7 +15607,6 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventType = types.EventType(jtv) } - default: _, _ = key, value @@ -15831,7 +15788,6 @@ func awsAwsjson11_deserializeDocumentChallengeResponseType(v **types.ChallengeRe } sv.ChallengeName = types.ChallengeName(jtv) } - case "ChallengeResponse": if value != nil { jtv, ok := value.(string) @@ -15840,7 +15796,6 @@ func awsAwsjson11_deserializeDocumentChallengeResponseType(v **types.ChallengeRe } sv.ChallengeResponse = types.ChallengeResponse(jtv) } - default: _, _ = key, value @@ -15916,7 +15871,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfigurationType(v **types.C } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15990,7 +15944,6 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.AttributeName = ptr.String(jtv) } - case "DeliveryMedium": if value != nil { jtv, ok := value.(string) @@ -15999,7 +15952,6 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.DeliveryMedium = types.DeliveryMediumType(jtv) } - case "Destination": if value != nil { jtv, ok := value.(string) @@ -16008,7 +15960,6 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.Destination = ptr.String(jtv) } - default: _, _ = key, value @@ -16038,15 +15989,9 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryFailureException(v **types.Code sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16054,15 +15999,11 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryFailureException(v **types.Code } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16087,15 +16028,9 @@ func awsAwsjson11_deserializeDocumentCodeMismatchException(v **types.CodeMismatc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16103,15 +16038,11 @@ func awsAwsjson11_deserializeDocumentCodeMismatchException(v **types.CodeMismatc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16146,7 +16077,6 @@ func awsAwsjson11_deserializeDocumentCompromisedCredentialsActionsType(v **types } sv.EventAction = types.CompromisedCredentialsEventActionType(jtv) } - default: _, _ = key, value @@ -16182,12 +16112,10 @@ func awsAwsjson11_deserializeDocumentCompromisedCredentialsRiskConfigurationType if err := awsAwsjson11_deserializeDocumentCompromisedCredentialsActionsType(&sv.Actions, value); err != nil { return err } - case "EventFilter": if err := awsAwsjson11_deserializeDocumentEventFiltersType(&sv.EventFilter, value); err != nil { return err } - default: _, _ = key, value @@ -16217,15 +16145,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16233,15 +16155,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16276,7 +16194,6 @@ func awsAwsjson11_deserializeDocumentCustomDomainConfigType(v **types.CustomDoma } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16316,7 +16233,6 @@ func awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(v **type } sv.LambdaArn = ptr.String(jtv) } - case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -16325,7 +16241,6 @@ func awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(v **type } sv.LambdaVersion = types.CustomEmailSenderLambdaVersionType(jtv) } - default: _, _ = key, value @@ -16365,7 +16280,6 @@ func awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(v **types. } sv.LambdaArn = ptr.String(jtv) } - case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -16374,7 +16288,6 @@ func awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(v **types. } sv.LambdaVersion = types.CustomSMSSenderLambdaVersionType(jtv) } - default: _, _ = key, value @@ -16414,7 +16327,6 @@ func awsAwsjson11_deserializeDocumentDeviceConfigurationType(v **types.DeviceCon } sv.ChallengeRequiredOnNewDevice = jtv } - case "DeviceOnlyRememberedOnUserPrompt": if value != nil { jtv, ok := value.(bool) @@ -16423,7 +16335,6 @@ func awsAwsjson11_deserializeDocumentDeviceConfigurationType(v **types.DeviceCon } sv.DeviceOnlyRememberedOnUserPrompt = jtv } - default: _, _ = key, value @@ -16493,7 +16404,6 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.DeviceAttributes, value); err != nil { return err } - case "DeviceCreateDate": if value != nil { switch jtv := value.(type) { @@ -16509,7 +16419,6 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } - case "DeviceKey": if value != nil { jtv, ok := value.(string) @@ -16518,7 +16427,6 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } sv.DeviceKey = ptr.String(jtv) } - case "DeviceLastAuthenticatedDate": if value != nil { switch jtv := value.(type) { @@ -16534,7 +16442,6 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } - case "DeviceLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16550,7 +16457,6 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } - default: _, _ = key, value @@ -16590,7 +16496,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.AWSAccountId = ptr.String(jtv) } - case "CloudFrontDistribution": if value != nil { jtv, ok := value.(string) @@ -16599,12 +16504,10 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.CloudFrontDistribution = ptr.String(jtv) } - case "CustomDomainConfig": if err := awsAwsjson11_deserializeDocumentCustomDomainConfigType(&sv.CustomDomainConfig, value); err != nil { return err } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -16613,7 +16516,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Domain = ptr.String(jtv) } - case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -16622,7 +16524,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.S3Bucket = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16631,7 +16532,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Status = types.DomainStatusType(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -16640,7 +16540,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.UserPoolId = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -16649,7 +16548,6 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -16679,15 +16577,9 @@ func awsAwsjson11_deserializeDocumentDuplicateProviderException(v **types.Duplic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16695,15 +16587,11 @@ func awsAwsjson11_deserializeDocumentDuplicateProviderException(v **types.Duplic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16738,7 +16626,6 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.ConfigurationSet = ptr.String(jtv) } - case "EmailSendingAccount": if value != nil { jtv, ok := value.(string) @@ -16747,7 +16634,6 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.EmailSendingAccount = types.EmailSendingAccountType(jtv) } - case "From": if value != nil { jtv, ok := value.(string) @@ -16756,7 +16642,6 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.From = ptr.String(jtv) } - case "ReplyToEmailAddress": if value != nil { jtv, ok := value.(string) @@ -16765,7 +16650,6 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.ReplyToEmailAddress = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -16774,7 +16658,6 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16814,7 +16697,6 @@ func awsAwsjson11_deserializeDocumentEmailMfaConfigType(v **types.EmailMfaConfig } sv.Message = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -16823,7 +16705,6 @@ func awsAwsjson11_deserializeDocumentEmailMfaConfigType(v **types.EmailMfaConfig } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -16853,15 +16734,9 @@ func awsAwsjson11_deserializeDocumentEnableSoftwareTokenMFAException(v **types.E sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16869,15 +16744,11 @@ func awsAwsjson11_deserializeDocumentEnableSoftwareTokenMFAException(v **types.E } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16912,7 +16783,6 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.City = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -16921,7 +16791,6 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.Country = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -16930,7 +16799,6 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.DeviceName = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -16939,7 +16807,6 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.IpAddress = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -16948,7 +16815,6 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -16995,7 +16861,6 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } } - case "FeedbackValue": if value != nil { jtv, ok := value.(string) @@ -17004,7 +16869,6 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } sv.FeedbackValue = types.FeedbackValueType(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -17013,7 +16877,6 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } sv.Provider = ptr.String(jtv) } - default: _, _ = key, value @@ -17089,7 +16952,6 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.CompromisedCredentialsDetected = ptr.Bool(jtv) } - case "RiskDecision": if value != nil { jtv, ok := value.(string) @@ -17098,7 +16960,6 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.RiskDecision = types.RiskDecisionType(jtv) } - case "RiskLevel": if value != nil { jtv, ok := value.(string) @@ -17107,7 +16968,6 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.RiskLevel = types.RiskLevelType(jtv) } - default: _, _ = key, value @@ -17137,15 +16997,9 @@ func awsAwsjson11_deserializeDocumentExpiredCodeException(v **types.ExpiredCodeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17153,15 +17007,11 @@ func awsAwsjson11_deserializeDocumentExpiredCodeException(v **types.ExpiredCodeE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17232,7 +17082,6 @@ func awsAwsjson11_deserializeDocumentFirehoseConfigurationType(v **types.Firehos } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17262,15 +17111,9 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17278,15 +17121,11 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17311,15 +17150,9 @@ func awsAwsjson11_deserializeDocumentGroupExistsException(v **types.GroupExistsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17327,15 +17160,11 @@ func awsAwsjson11_deserializeDocumentGroupExistsException(v **types.GroupExistsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17411,7 +17240,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17420,7 +17248,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.Description = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -17429,7 +17256,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.GroupName = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17445,7 +17271,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } } - case "Precedence": if value != nil { jtv, ok := value.(json.Number) @@ -17458,7 +17283,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.Precedence = ptr.Int32(int32(i64)) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17467,7 +17291,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.RoleArn = ptr.String(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -17476,7 +17299,6 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -17512,7 +17334,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv if err := awsAwsjson11_deserializeDocumentAttributeMappingType(&sv.AttributeMapping, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17528,12 +17349,10 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } } - case "IdpIdentifiers": if err := awsAwsjson11_deserializeDocumentIdpIdentifiersListType(&sv.IdpIdentifiers, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17549,12 +17368,10 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } } - case "ProviderDetails": if err := awsAwsjson11_deserializeDocumentProviderDetailsType(&sv.ProviderDetails, value); err != nil { return err } - case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -17563,7 +17380,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.ProviderName = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -17572,7 +17388,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.ProviderType = types.IdentityProviderTypeType(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -17581,7 +17396,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -17647,15 +17461,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17663,15 +17471,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17696,15 +17500,9 @@ func awsAwsjson11_deserializeDocumentInvalidEmailRoleAccessPolicyException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17712,15 +17510,11 @@ func awsAwsjson11_deserializeDocumentInvalidEmailRoleAccessPolicyException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17745,15 +17539,9 @@ func awsAwsjson11_deserializeDocumentInvalidLambdaResponseException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17761,15 +17549,11 @@ func awsAwsjson11_deserializeDocumentInvalidLambdaResponseException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17794,15 +17578,9 @@ func awsAwsjson11_deserializeDocumentInvalidOAuthFlowException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17810,15 +17588,11 @@ func awsAwsjson11_deserializeDocumentInvalidOAuthFlowException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17843,15 +17617,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17859,15 +17627,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17892,15 +17656,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17908,15 +17666,11 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17941,15 +17695,9 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleAccessPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17957,15 +17705,11 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleAccessPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17990,15 +17734,9 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleTrustRelationshipException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18006,15 +17744,11 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleTrustRelationshipException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18039,15 +17773,9 @@ func awsAwsjson11_deserializeDocumentInvalidUserPoolConfigurationException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18055,15 +17783,11 @@ func awsAwsjson11_deserializeDocumentInvalidUserPoolConfigurationException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18098,12 +17822,10 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.CreateAuthChallenge = ptr.String(jtv) } - case "CustomEmailSender": if err := awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(&sv.CustomEmailSender, value); err != nil { return err } - case "CustomMessage": if value != nil { jtv, ok := value.(string) @@ -18112,12 +17834,10 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.CustomMessage = ptr.String(jtv) } - case "CustomSMSSender": if err := awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(&sv.CustomSMSSender, value); err != nil { return err } - case "DefineAuthChallenge": if value != nil { jtv, ok := value.(string) @@ -18126,7 +17846,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.DefineAuthChallenge = ptr.String(jtv) } - case "KMSKeyID": if value != nil { jtv, ok := value.(string) @@ -18135,7 +17854,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.KMSKeyID = ptr.String(jtv) } - case "PostAuthentication": if value != nil { jtv, ok := value.(string) @@ -18144,7 +17862,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PostAuthentication = ptr.String(jtv) } - case "PostConfirmation": if value != nil { jtv, ok := value.(string) @@ -18153,7 +17870,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PostConfirmation = ptr.String(jtv) } - case "PreAuthentication": if value != nil { jtv, ok := value.(string) @@ -18162,7 +17878,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreAuthentication = ptr.String(jtv) } - case "PreSignUp": if value != nil { jtv, ok := value.(string) @@ -18171,7 +17886,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreSignUp = ptr.String(jtv) } - case "PreTokenGeneration": if value != nil { jtv, ok := value.(string) @@ -18180,12 +17894,10 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreTokenGeneration = ptr.String(jtv) } - case "PreTokenGenerationConfig": if err := awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(&sv.PreTokenGenerationConfig, value); err != nil { return err } - case "UserMigration": if value != nil { jtv, ok := value.(string) @@ -18194,7 +17906,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.UserMigration = ptr.String(jtv) } - case "VerifyAuthChallengeResponse": if value != nil { jtv, ok := value.(string) @@ -18203,7 +17914,6 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.VerifyAuthChallengeResponse = ptr.String(jtv) } - default: _, _ = key, value @@ -18233,15 +17943,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18249,15 +17953,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18358,7 +18058,6 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfigurationType(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } - case "EventSource": if value != nil { jtv, ok := value.(string) @@ -18367,12 +18066,10 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura } sv.EventSource = types.EventSourceName(jtv) } - case "FirehoseConfiguration": if err := awsAwsjson11_deserializeDocumentFirehoseConfigurationType(&sv.FirehoseConfiguration, value); err != nil { return err } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -18381,12 +18078,10 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura } sv.LogLevel = types.LogLevel(jtv) } - case "S3Configuration": if err := awsAwsjson11_deserializeDocumentS3ConfigurationType(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -18422,7 +18117,6 @@ func awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(v **types.LogD if err := awsAwsjson11_deserializeDocumentLogConfigurationListType(&sv.LogConfigurations, value); err != nil { return err } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -18431,7 +18125,6 @@ func awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(v **types.LogD } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -18507,7 +18200,6 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.EmailMessage = ptr.String(jtv) } - case "EmailSubject": if value != nil { jtv, ok := value.(string) @@ -18516,7 +18208,6 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.EmailSubject = ptr.String(jtv) } - case "SMSMessage": if value != nil { jtv, ok := value.(string) @@ -18525,7 +18216,6 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.SMSMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18555,15 +18245,9 @@ func awsAwsjson11_deserializeDocumentMFAMethodNotFoundException(v **types.MFAMet sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18571,15 +18255,11 @@ func awsAwsjson11_deserializeDocumentMFAMethodNotFoundException(v **types.MFAMet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18648,7 +18328,6 @@ func awsAwsjson11_deserializeDocumentMFAOptionType(v **types.MFAOptionType, valu } sv.AttributeName = ptr.String(jtv) } - case "DeliveryMedium": if value != nil { jtv, ok := value.(string) @@ -18657,7 +18336,6 @@ func awsAwsjson11_deserializeDocumentMFAOptionType(v **types.MFAOptionType, valu } sv.DeliveryMedium = types.DeliveryMediumType(jtv) } - default: _, _ = key, value @@ -18697,7 +18375,6 @@ func awsAwsjson11_deserializeDocumentNewDeviceMetadataType(v **types.NewDeviceMe } sv.DeviceGroupKey = ptr.String(jtv) } - case "DeviceKey": if value != nil { jtv, ok := value.(string) @@ -18706,7 +18383,6 @@ func awsAwsjson11_deserializeDocumentNewDeviceMetadataType(v **types.NewDeviceMe } sv.DeviceKey = ptr.String(jtv) } - default: _, _ = key, value @@ -18736,15 +18412,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18752,15 +18422,11 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18791,7 +18457,6 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.BlockEmail, value); err != nil { return err } - case "From": if value != nil { jtv, ok := value.(string) @@ -18800,17 +18465,14 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.From = ptr.String(jtv) } - case "MfaEmail": if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.MfaEmail, value); err != nil { return err } - case "NoActionEmail": if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.NoActionEmail, value); err != nil { return err } - case "ReplyTo": if value != nil { jtv, ok := value.(string) @@ -18819,7 +18481,6 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.ReplyTo = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -18828,7 +18489,6 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18868,7 +18528,6 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.HtmlBody = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -18877,7 +18536,6 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.Subject = ptr.String(jtv) } - case "TextBody": if value != nil { jtv, ok := value.(string) @@ -18886,7 +18544,6 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.TextBody = ptr.String(jtv) } - default: _, _ = key, value @@ -18926,7 +18583,6 @@ func awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(v **types.Nu } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -18935,7 +18591,6 @@ func awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(v **types.Nu } sv.MinValue = ptr.String(jtv) } - default: _, _ = key, value @@ -19001,15 +18656,9 @@ func awsAwsjson11_deserializeDocumentPasswordHistoryPolicyViolationException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19017,15 +18666,11 @@ func awsAwsjson11_deserializeDocumentPasswordHistoryPolicyViolationException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19064,7 +18709,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.MinimumLength = ptr.Int32(int32(i64)) } - case "PasswordHistorySize": if value != nil { jtv, ok := value.(json.Number) @@ -19077,7 +18721,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.PasswordHistorySize = ptr.Int32(int32(i64)) } - case "RequireLowercase": if value != nil { jtv, ok := value.(bool) @@ -19086,7 +18729,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireLowercase = jtv } - case "RequireNumbers": if value != nil { jtv, ok := value.(bool) @@ -19095,7 +18737,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireNumbers = jtv } - case "RequireSymbols": if value != nil { jtv, ok := value.(bool) @@ -19104,7 +18745,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireSymbols = jtv } - case "RequireUppercase": if value != nil { jtv, ok := value.(bool) @@ -19113,7 +18753,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireUppercase = jtv } - case "TemporaryPasswordValidityDays": if value != nil { jtv, ok := value.(json.Number) @@ -19126,7 +18765,6 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.TemporaryPasswordValidityDays = int32(i64) } - default: _, _ = key, value @@ -19156,15 +18794,9 @@ func awsAwsjson11_deserializeDocumentPasswordResetRequiredException(v **types.Pa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19172,15 +18804,11 @@ func awsAwsjson11_deserializeDocumentPasswordResetRequiredException(v **types.Pa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19205,15 +18833,9 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19221,15 +18843,11 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19264,7 +18882,6 @@ func awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(v **typ } sv.LambdaArn = ptr.String(jtv) } - case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -19273,7 +18890,6 @@ func awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(v **typ } sv.LambdaVersion = types.PreTokenGenerationLambdaVersionType(jtv) } - default: _, _ = key, value @@ -19320,7 +18936,6 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -19336,7 +18951,6 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } } - case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -19345,7 +18959,6 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } sv.ProviderName = ptr.String(jtv) } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -19354,7 +18967,6 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } sv.ProviderType = types.IdentityProviderTypeType(jtv) } - default: _, _ = key, value @@ -19498,7 +19110,6 @@ func awsAwsjson11_deserializeDocumentRecoveryOptionType(v **types.RecoveryOption } sv.Name = types.RecoveryOptionNameType(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -19511,7 +19122,6 @@ func awsAwsjson11_deserializeDocumentRecoveryOptionType(v **types.RecoveryOption } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19541,15 +19151,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19557,15 +19161,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19634,7 +19234,6 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeType(v **types.ResourceS } sv.ScopeDescription = ptr.String(jtv) } - case "ScopeName": if value != nil { jtv, ok := value.(string) @@ -19643,7 +19242,6 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeType(v **types.ResourceS } sv.ScopeName = ptr.String(jtv) } - default: _, _ = key, value @@ -19717,7 +19315,6 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.Identifier = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19726,12 +19323,10 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.Name = ptr.String(jtv) } - case "Scopes": if err := awsAwsjson11_deserializeDocumentResourceServerScopeListType(&sv.Scopes, value); err != nil { return err } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -19740,7 +19335,6 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -19776,7 +19370,6 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu if err := awsAwsjson11_deserializeDocumentAccountTakeoverRiskConfigurationType(&sv.AccountTakeoverRiskConfiguration, value); err != nil { return err } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -19785,12 +19378,10 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } sv.ClientId = ptr.String(jtv) } - case "CompromisedCredentialsRiskConfiguration": if err := awsAwsjson11_deserializeDocumentCompromisedCredentialsRiskConfigurationType(&sv.CompromisedCredentialsRiskConfiguration, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -19806,12 +19397,10 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } } - case "RiskExceptionConfiguration": if err := awsAwsjson11_deserializeDocumentRiskExceptionConfigurationType(&sv.RiskExceptionConfiguration, value); err != nil { return err } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -19820,7 +19409,6 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -19856,12 +19444,10 @@ func awsAwsjson11_deserializeDocumentRiskExceptionConfigurationType(v **types.Ri if err := awsAwsjson11_deserializeDocumentBlockedIPRangeListType(&sv.BlockedIPRangeList, value); err != nil { return err } - case "SkippedIPRangeList": if err := awsAwsjson11_deserializeDocumentSkippedIPRangeListType(&sv.SkippedIPRangeList, value); err != nil { return err } - default: _, _ = key, value @@ -19901,7 +19487,6 @@ func awsAwsjson11_deserializeDocumentS3ConfigurationType(v **types.S3Configurati } sv.BucketArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19975,7 +19560,6 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.AttributeDataType = types.AttributeDataType(jtv) } - case "DeveloperOnlyAttribute": if value != nil { jtv, ok := value.(bool) @@ -19984,7 +19568,6 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.DeveloperOnlyAttribute = ptr.Bool(jtv) } - case "Mutable": if value != nil { jtv, ok := value.(bool) @@ -19993,7 +19576,6 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Mutable = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -20002,12 +19584,10 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Name = ptr.String(jtv) } - case "NumberAttributeConstraints": if err := awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(&sv.NumberAttributeConstraints, value); err != nil { return err } - case "Required": if value != nil { jtv, ok := value.(bool) @@ -20016,12 +19596,10 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Required = ptr.Bool(jtv) } - case "StringAttributeConstraints": if err := awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(&sv.StringAttributeConstraints, value); err != nil { return err } - default: _, _ = key, value @@ -20051,15 +19629,9 @@ func awsAwsjson11_deserializeDocumentScopeDoesNotExistException(v **types.ScopeD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20067,15 +19639,11 @@ func awsAwsjson11_deserializeDocumentScopeDoesNotExistException(v **types.ScopeD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20182,7 +19750,6 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.ExternalId = ptr.String(jtv) } - case "SnsCallerArn": if value != nil { jtv, ok := value.(string) @@ -20191,7 +19758,6 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.SnsCallerArn = ptr.String(jtv) } - case "SnsRegion": if value != nil { jtv, ok := value.(string) @@ -20200,7 +19766,6 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.SnsRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -20240,12 +19805,10 @@ func awsAwsjson11_deserializeDocumentSmsMfaConfigType(v **types.SmsMfaConfigType } sv.SmsAuthenticationMessage = ptr.String(jtv) } - case "SmsConfiguration": if err := awsAwsjson11_deserializeDocumentSmsConfigurationType(&sv.SmsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20285,7 +19848,6 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(v **types.Softwa } sv.Enabled = jtv } - default: _, _ = key, value @@ -20315,15 +19877,9 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMFANotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20331,15 +19887,11 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMFANotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20374,7 +19926,6 @@ func awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(v **types.St } sv.MaxLength = ptr.String(jtv) } - case "MinLength": if value != nil { jtv, ok := value.(string) @@ -20383,7 +19934,6 @@ func awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(v **types.St } sv.MinLength = ptr.String(jtv) } - default: _, _ = key, value @@ -20459,7 +20009,6 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.AccessToken = types.TimeUnitsType(jtv) } - case "IdToken": if value != nil { jtv, ok := value.(string) @@ -20468,7 +20017,6 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.IdToken = types.TimeUnitsType(jtv) } - case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -20477,7 +20025,6 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.RefreshToken = types.TimeUnitsType(jtv) } - default: _, _ = key, value @@ -20507,15 +20054,9 @@ func awsAwsjson11_deserializeDocumentTooManyFailedAttemptsException(v **types.To sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20523,15 +20064,11 @@ func awsAwsjson11_deserializeDocumentTooManyFailedAttemptsException(v **types.To } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20556,15 +20093,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20572,15 +20103,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20615,7 +20142,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.ClientId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20631,7 +20157,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } } - case "CSS": if value != nil { jtv, ok := value.(string) @@ -20640,7 +20165,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.CSS = ptr.String(jtv) } - case "CSSVersion": if value != nil { jtv, ok := value.(string) @@ -20649,7 +20173,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.CSSVersion = ptr.String(jtv) } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -20658,7 +20181,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.ImageUrl = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20674,7 +20196,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -20683,7 +20204,6 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -20713,15 +20233,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20729,15 +20243,11 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20762,15 +20272,9 @@ func awsAwsjson11_deserializeDocumentUnexpectedLambdaException(v **types.Unexpec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20778,15 +20282,11 @@ func awsAwsjson11_deserializeDocumentUnexpectedLambdaException(v **types.Unexpec } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20811,15 +20311,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedIdentityProviderException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20827,15 +20321,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedIdentityProviderException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20860,15 +20350,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20876,15 +20360,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20909,15 +20389,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedTokenTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20925,15 +20399,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedTokenTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20958,15 +20428,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20974,15 +20438,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21013,7 +20473,6 @@ func awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(v **types.U if err := awsAwsjson11_deserializeDocumentAttributesRequireVerificationBeforeUpdateType(&sv.AttributesRequireVerificationBeforeUpdate, value); err != nil { return err } - default: _, _ = key, value @@ -21043,15 +20502,9 @@ func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.Use sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21059,15 +20512,11 @@ func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.Use } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21136,7 +20585,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -21152,7 +20600,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } - case "CompletionMessage": if value != nil { jtv, ok := value.(string) @@ -21161,7 +20608,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.CompletionMessage = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -21177,7 +20623,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } - case "FailedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -21190,7 +20635,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.FailedUsers = i64 } - case "ImportedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -21203,7 +20647,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.ImportedUsers = i64 } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -21212,7 +20655,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -21221,7 +20663,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.JobName = ptr.String(jtv) } - case "PreSignedUrl": if value != nil { jtv, ok := value.(string) @@ -21230,7 +20671,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.PreSignedUrl = ptr.String(jtv) } - case "SkippedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -21243,7 +20683,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.SkippedUsers = i64 } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -21259,7 +20698,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21268,7 +20706,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.Status = types.UserImportJobStatusType(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -21277,7 +20714,6 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -21307,15 +20743,9 @@ func awsAwsjson11_deserializeDocumentUserLambdaValidationException(v **types.Use sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21323,15 +20753,11 @@ func awsAwsjson11_deserializeDocumentUserLambdaValidationException(v **types.Use } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21438,7 +20864,6 @@ func awsAwsjson11_deserializeDocumentUsernameConfigurationType(v **types.Usernam } sv.CaseSensitive = ptr.Bool(jtv) } - default: _, _ = key, value @@ -21468,15 +20893,9 @@ func awsAwsjson11_deserializeDocumentUsernameExistsException(v **types.UsernameE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21484,15 +20903,11 @@ func awsAwsjson11_deserializeDocumentUsernameExistsException(v **types.UsernameE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21517,15 +20932,9 @@ func awsAwsjson11_deserializeDocumentUserNotConfirmedException(v **types.UserNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21533,15 +20942,11 @@ func awsAwsjson11_deserializeDocumentUserNotConfirmedException(v **types.UserNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21566,15 +20971,9 @@ func awsAwsjson11_deserializeDocumentUserNotFoundException(v **types.UserNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21582,15 +20981,11 @@ func awsAwsjson11_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21615,15 +21010,9 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnNotEnabledException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21631,15 +21020,11 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnNotEnabledException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21670,7 +21055,6 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnsType(v **types.UserPoolAddOns if err := awsAwsjson11_deserializeDocumentAdvancedSecurityAdditionalFlowsType(&sv.AdvancedSecurityAdditionalFlows, value); err != nil { return err } - case "AdvancedSecurityMode": if value != nil { jtv, ok := value.(string) @@ -21679,7 +21063,6 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnsType(v **types.UserPoolAddOns } sv.AdvancedSecurityMode = types.AdvancedSecurityModeType(jtv) } - default: _, _ = key, value @@ -21719,7 +21102,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.ClientId = ptr.String(jtv) } - case "ClientName": if value != nil { jtv, ok := value.(string) @@ -21728,7 +21110,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.ClientName = ptr.String(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -21737,7 +21118,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -21815,12 +21195,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AccessTokenValidity = ptr.Int32(int32(i64)) } - case "AllowedOAuthFlows": if err := awsAwsjson11_deserializeDocumentOAuthFlowsType(&sv.AllowedOAuthFlows, value); err != nil { return err } - case "AllowedOAuthFlowsUserPoolClient": if value != nil { jtv, ok := value.(bool) @@ -21829,17 +21207,14 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AllowedOAuthFlowsUserPoolClient = ptr.Bool(jtv) } - case "AllowedOAuthScopes": if err := awsAwsjson11_deserializeDocumentScopeListType(&sv.AllowedOAuthScopes, value); err != nil { return err } - case "AnalyticsConfiguration": if err := awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(&sv.AnalyticsConfiguration, value); err != nil { return err } - case "AuthSessionValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21852,12 +21227,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AuthSessionValidity = ptr.Int32(int32(i64)) } - case "CallbackURLs": if err := awsAwsjson11_deserializeDocumentCallbackURLsListType(&sv.CallbackURLs, value); err != nil { return err } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -21866,7 +21239,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientId = ptr.String(jtv) } - case "ClientName": if value != nil { jtv, ok := value.(string) @@ -21875,7 +21247,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientName = ptr.String(jtv) } - case "ClientSecret": if value != nil { jtv, ok := value.(string) @@ -21884,7 +21255,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientSecret = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -21900,7 +21270,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } } - case "DefaultRedirectURI": if value != nil { jtv, ok := value.(string) @@ -21909,7 +21278,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.DefaultRedirectURI = ptr.String(jtv) } - case "EnablePropagateAdditionalUserContextData": if value != nil { jtv, ok := value.(bool) @@ -21918,7 +21286,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.EnablePropagateAdditionalUserContextData = ptr.Bool(jtv) } - case "EnableTokenRevocation": if value != nil { jtv, ok := value.(bool) @@ -21927,12 +21294,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.EnableTokenRevocation = ptr.Bool(jtv) } - case "ExplicitAuthFlows": if err := awsAwsjson11_deserializeDocumentExplicitAuthFlowsListType(&sv.ExplicitAuthFlows, value); err != nil { return err } - case "IdTokenValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21945,7 +21310,6 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.IdTokenValidity = ptr.Int32(int32(i64)) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21961,12 +21325,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } } - case "LogoutURLs": if err := awsAwsjson11_deserializeDocumentLogoutURLsListType(&sv.LogoutURLs, value); err != nil { return err } - case "PreventUserExistenceErrors": if value != nil { jtv, ok := value.(string) @@ -21975,12 +21337,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.PreventUserExistenceErrors = types.PreventUserExistenceErrorTypes(jtv) } - case "ReadAttributes": if err := awsAwsjson11_deserializeDocumentClientPermissionListType(&sv.ReadAttributes, value); err != nil { return err } - case "RefreshTokenValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21993,17 +21353,14 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.RefreshTokenValidity = int32(i64) } - case "SupportedIdentityProviders": if err := awsAwsjson11_deserializeDocumentSupportedIdentityProvidersListType(&sv.SupportedIdentityProviders, value); err != nil { return err } - case "TokenValidityUnits": if err := awsAwsjson11_deserializeDocumentTokenValidityUnitsType(&sv.TokenValidityUnits, value); err != nil { return err } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -22012,12 +21369,10 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.UserPoolId = ptr.String(jtv) } - case "WriteAttributes": if err := awsAwsjson11_deserializeDocumentClientPermissionListType(&sv.WriteAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -22064,7 +21419,6 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22073,12 +21427,10 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Id = ptr.String(jtv) } - case "LambdaConfig": if err := awsAwsjson11_deserializeDocumentLambdaConfigType(&sv.LambdaConfig, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -22094,7 +21446,6 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22103,7 +21454,6 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22112,7 +21462,6 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Status = types.StatusType(jtv) } - default: _, _ = key, value @@ -22182,7 +21531,6 @@ func awsAwsjson11_deserializeDocumentUserPoolPolicyType(v **types.UserPoolPolicy if err := awsAwsjson11_deserializeDocumentPasswordPolicyType(&sv.PasswordPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -22212,15 +21560,9 @@ func awsAwsjson11_deserializeDocumentUserPoolTaggingException(v **types.UserPool sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22228,15 +21570,11 @@ func awsAwsjson11_deserializeDocumentUserPoolTaggingException(v **types.UserPool } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22303,17 +21641,14 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value if err := awsAwsjson11_deserializeDocumentAccountRecoverySettingType(&sv.AccountRecoverySetting, value); err != nil { return err } - case "AdminCreateUserConfig": if err := awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(&sv.AdminCreateUserConfig, value); err != nil { return err } - case "AliasAttributes": if err := awsAwsjson11_deserializeDocumentAliasAttributesListType(&sv.AliasAttributes, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -22322,12 +21657,10 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Arn = ptr.String(jtv) } - case "AutoVerifiedAttributes": if err := awsAwsjson11_deserializeDocumentVerifiedAttributesListType(&sv.AutoVerifiedAttributes, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -22343,7 +21676,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } } - case "CustomDomain": if value != nil { jtv, ok := value.(string) @@ -22352,7 +21684,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.CustomDomain = ptr.String(jtv) } - case "DeletionProtection": if value != nil { jtv, ok := value.(string) @@ -22361,12 +21692,10 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.DeletionProtection = types.DeletionProtectionType(jtv) } - case "DeviceConfiguration": if err := awsAwsjson11_deserializeDocumentDeviceConfigurationType(&sv.DeviceConfiguration, value); err != nil { return err } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -22375,12 +21704,10 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Domain = ptr.String(jtv) } - case "EmailConfiguration": if err := awsAwsjson11_deserializeDocumentEmailConfigurationType(&sv.EmailConfiguration, value); err != nil { return err } - case "EmailConfigurationFailure": if value != nil { jtv, ok := value.(string) @@ -22389,7 +21716,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailConfigurationFailure = ptr.String(jtv) } - case "EmailVerificationMessage": if value != nil { jtv, ok := value.(string) @@ -22398,7 +21724,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailVerificationMessage = ptr.String(jtv) } - case "EmailVerificationSubject": if value != nil { jtv, ok := value.(string) @@ -22407,7 +21732,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailVerificationSubject = ptr.String(jtv) } - case "EstimatedNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -22420,7 +21744,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EstimatedNumberOfUsers = int32(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22429,12 +21752,10 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Id = ptr.String(jtv) } - case "LambdaConfig": if err := awsAwsjson11_deserializeDocumentLambdaConfigType(&sv.LambdaConfig, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -22450,7 +21771,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } } - case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -22459,7 +21779,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22468,17 +21787,14 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Name = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentUserPoolPolicyType(&sv.Policies, value); err != nil { return err } - case "SchemaAttributes": if err := awsAwsjson11_deserializeDocumentSchemaAttributesListType(&sv.SchemaAttributes, value); err != nil { return err } - case "SmsAuthenticationMessage": if value != nil { jtv, ok := value.(string) @@ -22487,12 +21803,10 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsAuthenticationMessage = ptr.String(jtv) } - case "SmsConfiguration": if err := awsAwsjson11_deserializeDocumentSmsConfigurationType(&sv.SmsConfiguration, value); err != nil { return err } - case "SmsConfigurationFailure": if value != nil { jtv, ok := value.(string) @@ -22501,7 +21815,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsConfigurationFailure = ptr.String(jtv) } - case "SmsVerificationMessage": if value != nil { jtv, ok := value.(string) @@ -22510,7 +21823,6 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsVerificationMessage = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22519,37 +21831,30 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Status = types.StatusType(jtv) } - case "UserAttributeUpdateSettings": if err := awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(&sv.UserAttributeUpdateSettings, value); err != nil { return err } - case "UsernameAttributes": if err := awsAwsjson11_deserializeDocumentUsernameAttributesListType(&sv.UsernameAttributes, value); err != nil { return err } - case "UsernameConfiguration": if err := awsAwsjson11_deserializeDocumentUsernameConfigurationType(&sv.UsernameConfiguration, value); err != nil { return err } - case "UserPoolAddOns": if err := awsAwsjson11_deserializeDocumentUserPoolAddOnsType(&sv.UserPoolAddOns, value); err != nil { return err } - case "UserPoolTags": if err := awsAwsjson11_deserializeDocumentUserPoolTagsType(&sv.UserPoolTags, value); err != nil { return err } - case "VerificationMessageTemplate": if err := awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(&sv.VerificationMessageTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -22619,7 +21924,6 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.Attributes, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -22628,12 +21932,10 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.Enabled = jtv } - case "MFAOptions": if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } - case "UserCreateDate": if value != nil { switch jtv := value.(type) { @@ -22649,7 +21951,6 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } } - case "UserLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -22665,7 +21966,6 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } } - case "Username": if value != nil { jtv, ok := value.(string) @@ -22674,7 +21974,6 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.Username = ptr.String(jtv) } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -22683,7 +21982,6 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.UserStatus = types.UserStatusType(jtv) } - default: _, _ = key, value @@ -22723,7 +22021,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.DefaultEmailOption = types.DefaultEmailOptionType(jtv) } - case "EmailMessage": if value != nil { jtv, ok := value.(string) @@ -22732,7 +22029,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailMessage = ptr.String(jtv) } - case "EmailMessageByLink": if value != nil { jtv, ok := value.(string) @@ -22741,7 +22037,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailMessageByLink = ptr.String(jtv) } - case "EmailSubject": if value != nil { jtv, ok := value.(string) @@ -22750,7 +22045,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailSubject = ptr.String(jtv) } - case "EmailSubjectByLink": if value != nil { jtv, ok := value.(string) @@ -22759,7 +22053,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailSubjectByLink = ptr.String(jtv) } - case "SmsMessage": if value != nil { jtv, ok := value.(string) @@ -22768,7 +22061,6 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.SmsMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -22902,7 +22194,6 @@ func awsAwsjson11_deserializeOpDocumentAdminCreateUserOutput(v **AdminCreateUser if err := awsAwsjson11_deserializeDocumentUserType(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -23062,7 +22353,6 @@ func awsAwsjson11_deserializeOpDocumentAdminGetDeviceOutput(v **AdminGetDeviceOu if err := awsAwsjson11_deserializeDocumentDeviceType(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -23102,12 +22392,10 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.Enabled = jtv } - case "MFAOptions": if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } - case "PreferredMfaSetting": if value != nil { jtv, ok := value.(string) @@ -23116,12 +22404,10 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.PreferredMfaSetting = ptr.String(jtv) } - case "UserAttributes": if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.UserAttributes, value); err != nil { return err } - case "UserCreateDate": if value != nil { switch jtv := value.(type) { @@ -23137,7 +22423,6 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } } - case "UserLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -23153,12 +22438,10 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } } - case "UserMFASettingList": if err := awsAwsjson11_deserializeDocumentUserMFASettingListType(&sv.UserMFASettingList, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -23167,7 +22450,6 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.Username = ptr.String(jtv) } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -23176,7 +22458,6 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.UserStatus = types.UserStatusType(jtv) } - default: _, _ = key, value @@ -23212,7 +22493,6 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } - case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -23221,12 +22501,10 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate } sv.ChallengeName = types.ChallengeNameType(jtv) } - case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } - case "Session": if value != nil { jtv, ok := value.(string) @@ -23235,7 +22513,6 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate } sv.Session = ptr.String(jtv) } - default: _, _ = key, value @@ -23302,7 +22579,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListDevicesOutput(v **AdminListDevic if err := awsAwsjson11_deserializeDocumentDeviceListType(&sv.Devices, value); err != nil { return err } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -23311,7 +22587,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListDevicesOutput(v **AdminListDevic } sv.PaginationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23347,7 +22622,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListGroupsForUserOutput(v **AdminLis if err := awsAwsjson11_deserializeDocumentGroupListType(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23356,7 +22630,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListGroupsForUserOutput(v **AdminLis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23392,7 +22665,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListUserAuthEventsOutput(v **AdminLi if err := awsAwsjson11_deserializeDocumentAuthEventsType(&sv.AuthEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23401,7 +22673,6 @@ func awsAwsjson11_deserializeOpDocumentAdminListUserAuthEventsOutput(v **AdminLi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23468,7 +22739,6 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } - case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -23477,12 +22747,10 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm } sv.ChallengeName = types.ChallengeNameType(jtv) } - case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } - case "Session": if value != nil { jtv, ok := value.(string) @@ -23491,7 +22759,6 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm } sv.Session = ptr.String(jtv) } - default: _, _ = key, value @@ -23748,7 +23015,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateSoftwareTokenOutput(v **Associat } sv.SecretCode = ptr.String(jtv) } - case "Session": if value != nil { jtv, ok := value.(string) @@ -23757,7 +23023,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateSoftwareTokenOutput(v **Associat } sv.Session = ptr.String(jtv) } - default: _, _ = key, value @@ -23828,7 +23093,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmDeviceOutput(v **ConfirmDeviceOutp } sv.UserConfirmationNecessary = jtv } - default: _, _ = key, value @@ -23926,7 +23190,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -23962,7 +23225,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityProviderOutput(v **CreateId if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -23998,7 +23260,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceServerOutput(v **CreateReso if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -24034,7 +23295,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserImportJobOutput(v **CreateUserI if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -24070,7 +23330,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolClientOutput(v **CreateUser if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } - default: _, _ = key, value @@ -24110,7 +23369,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolDomainOutput(v **CreateUser } sv.CloudFrontDomain = ptr.String(jtv) } - default: _, _ = key, value @@ -24146,7 +23404,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolOutput(v **CreateUserPoolOu if err := awsAwsjson11_deserializeDocumentUserPoolType(&sv.UserPool, value); err != nil { return err } - default: _, _ = key, value @@ -24244,7 +23501,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityProviderOutput(v **Descri if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -24280,7 +23536,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceServerOutput(v **Describe if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -24316,7 +23571,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRiskConfigurationOutput(v **Descr if err := awsAwsjson11_deserializeDocumentRiskConfigurationType(&sv.RiskConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -24352,7 +23606,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserImportJobOutput(v **DescribeU if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -24388,7 +23641,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolClientOutput(v **Describe if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } - default: _, _ = key, value @@ -24424,7 +23676,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolDomainOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDomainDescriptionType(&sv.DomainDescription, value); err != nil { return err } - default: _, _ = key, value @@ -24460,7 +23711,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolOutput(v **DescribeUserPo if err := awsAwsjson11_deserializeDocumentUserPoolType(&sv.UserPool, value); err != nil { return err } - default: _, _ = key, value @@ -24496,7 +23746,6 @@ func awsAwsjson11_deserializeOpDocumentForgotPasswordOutput(v **ForgotPasswordOu if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } - default: _, _ = key, value @@ -24532,7 +23781,6 @@ func awsAwsjson11_deserializeOpDocumentGetCSVHeaderOutput(v **GetCSVHeaderOutput if err := awsAwsjson11_deserializeDocumentListOfStringTypes(&sv.CSVHeader, value); err != nil { return err } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -24541,7 +23789,6 @@ func awsAwsjson11_deserializeOpDocumentGetCSVHeaderOutput(v **GetCSVHeaderOutput } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -24577,7 +23824,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsAwsjson11_deserializeDocumentDeviceType(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -24613,7 +23859,6 @@ func awsAwsjson11_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -24649,7 +23894,6 @@ func awsAwsjson11_deserializeOpDocumentGetIdentityProviderByIdentifierOutput(v * if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -24685,7 +23929,6 @@ func awsAwsjson11_deserializeOpDocumentGetLogDeliveryConfigurationOutput(v **Get if err := awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(&sv.LogDeliveryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -24725,7 +23968,6 @@ func awsAwsjson11_deserializeOpDocumentGetSigningCertificateOutput(v **GetSignin } sv.Certificate = ptr.String(jtv) } - default: _, _ = key, value @@ -24761,7 +24003,6 @@ func awsAwsjson11_deserializeOpDocumentGetUICustomizationOutput(v **GetUICustomi if err := awsAwsjson11_deserializeDocumentUICustomizationType(&sv.UICustomization, value); err != nil { return err } - default: _, _ = key, value @@ -24797,7 +24038,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserAttributeVerificationCodeOutput(v if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } - default: _, _ = key, value @@ -24833,7 +24073,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } - case "PreferredMfaSetting": if value != nil { jtv, ok := value.(string) @@ -24842,17 +24081,14 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.PreferredMfaSetting = ptr.String(jtv) } - case "UserAttributes": if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.UserAttributes, value); err != nil { return err } - case "UserMFASettingList": if err := awsAwsjson11_deserializeDocumentUserMFASettingListType(&sv.UserMFASettingList, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -24861,7 +24097,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -24897,7 +24132,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserPoolMfaConfigOutput(v **GetUserPoo if err := awsAwsjson11_deserializeDocumentEmailMfaConfigType(&sv.EmailMfaConfiguration, value); err != nil { return err } - case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -24906,17 +24140,14 @@ func awsAwsjson11_deserializeOpDocumentGetUserPoolMfaConfigOutput(v **GetUserPoo } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } - case "SmsMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSmsMfaConfigType(&sv.SmsMfaConfiguration, value); err != nil { return err } - case "SoftwareTokenMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(&sv.SoftwareTokenMfaConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -24983,7 +24214,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } - case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -24992,12 +24222,10 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput } sv.ChallengeName = types.ChallengeNameType(jtv) } - case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } - case "Session": if value != nil { jtv, ok := value.(string) @@ -25006,7 +24234,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput } sv.Session = ptr.String(jtv) } - default: _, _ = key, value @@ -25042,7 +24269,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDeviceListType(&sv.Devices, value); err != nil { return err } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -25051,7 +24277,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.PaginationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25087,7 +24312,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroupListType(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25096,7 +24320,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25136,12 +24359,10 @@ func awsAwsjson11_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } - case "Providers": if err := awsAwsjson11_deserializeDocumentProvidersListType(&sv.Providers, value); err != nil { return err } - default: _, _ = key, value @@ -25181,12 +24402,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceServersOutput(v **ListResourc } sv.NextToken = ptr.String(jtv) } - case "ResourceServers": if err := awsAwsjson11_deserializeDocumentResourceServersListType(&sv.ResourceServers, value); err != nil { return err } - default: _, _ = key, value @@ -25222,7 +24441,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentUserPoolTagsType(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -25262,12 +24480,10 @@ func awsAwsjson11_deserializeOpDocumentListUserImportJobsOutput(v **ListUserImpo } sv.PaginationToken = ptr.String(jtv) } - case "UserImportJobs": if err := awsAwsjson11_deserializeDocumentUserImportJobsListType(&sv.UserImportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -25307,12 +24523,10 @@ func awsAwsjson11_deserializeOpDocumentListUserPoolClientsOutput(v **ListUserPoo } sv.NextToken = ptr.String(jtv) } - case "UserPoolClients": if err := awsAwsjson11_deserializeDocumentUserPoolClientListType(&sv.UserPoolClients, value); err != nil { return err } - default: _, _ = key, value @@ -25352,12 +24566,10 @@ func awsAwsjson11_deserializeOpDocumentListUserPoolsOutput(v **ListUserPoolsOutp } sv.NextToken = ptr.String(jtv) } - case "UserPools": if err := awsAwsjson11_deserializeDocumentUserPoolListType(&sv.UserPools, value); err != nil { return err } - default: _, _ = key, value @@ -25397,12 +24609,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersInGroupOutput(v **ListUsersInGro } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUsersListType(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -25442,12 +24652,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.PaginationToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUsersListType(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -25483,7 +24691,6 @@ func awsAwsjson11_deserializeOpDocumentResendConfirmationCodeOutput(v **ResendCo if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } - default: _, _ = key, value @@ -25519,7 +24726,6 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } - case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -25528,12 +24734,10 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT } sv.ChallengeName = types.ChallengeNameType(jtv) } - case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } - case "Session": if value != nil { jtv, ok := value.(string) @@ -25542,7 +24746,6 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT } sv.Session = ptr.String(jtv) } - default: _, _ = key, value @@ -25609,7 +24812,6 @@ func awsAwsjson11_deserializeOpDocumentSetLogDeliveryConfigurationOutput(v **Set if err := awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(&sv.LogDeliveryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -25645,7 +24847,6 @@ func awsAwsjson11_deserializeOpDocumentSetRiskConfigurationOutput(v **SetRiskCon if err := awsAwsjson11_deserializeDocumentRiskConfigurationType(&sv.RiskConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -25681,7 +24882,6 @@ func awsAwsjson11_deserializeOpDocumentSetUICustomizationOutput(v **SetUICustomi if err := awsAwsjson11_deserializeDocumentUICustomizationType(&sv.UICustomization, value); err != nil { return err } - default: _, _ = key, value @@ -25748,7 +24948,6 @@ func awsAwsjson11_deserializeOpDocumentSetUserPoolMfaConfigOutput(v **SetUserPoo if err := awsAwsjson11_deserializeDocumentEmailMfaConfigType(&sv.EmailMfaConfiguration, value); err != nil { return err } - case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -25757,17 +24956,14 @@ func awsAwsjson11_deserializeOpDocumentSetUserPoolMfaConfigOutput(v **SetUserPoo } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } - case "SmsMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSmsMfaConfigType(&sv.SmsMfaConfiguration, value); err != nil { return err } - case "SoftwareTokenMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(&sv.SoftwareTokenMfaConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -25834,7 +25030,6 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } - case "UserConfirmed": if value != nil { jtv, ok := value.(bool) @@ -25843,7 +25038,6 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte } sv.UserConfirmed = jtv } - case "UserSub": if value != nil { jtv, ok := value.(string) @@ -25852,7 +25046,6 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte } sv.UserSub = ptr.String(jtv) } - default: _, _ = key, value @@ -25888,7 +25081,6 @@ func awsAwsjson11_deserializeOpDocumentStartUserImportJobOutput(v **StartUserImp if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -25924,7 +25116,6 @@ func awsAwsjson11_deserializeOpDocumentStopUserImportJobOutput(v **StopUserImpor if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -26084,7 +25275,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -26120,7 +25310,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityProviderOutput(v **UpdateId if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -26156,7 +25345,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateResourceServerOutput(v **UpdateReso if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -26192,7 +25380,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserAttributesOutput(v **UpdateUser if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsListType(&sv.CodeDeliveryDetailsList, value); err != nil { return err } - default: _, _ = key, value @@ -26228,7 +25415,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserPoolClientOutput(v **UpdateUser if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } - default: _, _ = key, value @@ -26268,7 +25454,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserPoolDomainOutput(v **UpdateUser } sv.CloudFrontDomain = ptr.String(jtv) } - default: _, _ = key, value @@ -26339,7 +25524,6 @@ func awsAwsjson11_deserializeOpDocumentVerifySoftwareTokenOutput(v **VerifySoftw } sv.Session = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -26348,7 +25532,6 @@ func awsAwsjson11_deserializeOpDocumentVerifySoftwareTokenOutput(v **VerifySoftw } sv.Status = types.VerifySoftwareTokenResponseType(jtv) } - default: _, _ = key, value diff --git a/service/cognitosync/deserializers.go b/service/cognitosync/deserializers.go index badfb807697..0ac5d813c65 100644 --- a/service/cognitosync/deserializers.go +++ b/service/cognitosync/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentBulkPublishOutput(v **BulkPublishOutput, } sv.IdentityPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -358,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -522,7 +520,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -686,7 +683,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityPoolUsageOutput(v **Descr if err := awsRestjson1_deserializeDocumentIdentityPoolUsage(&sv.IdentityPoolUsage, value); err != nil { return err } - default: _, _ = key, value @@ -850,7 +846,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityUsageOutput(v **DescribeI if err := awsRestjson1_deserializeDocumentIdentityUsage(&sv.IdentityUsage, value); err != nil { return err } - default: _, _ = key, value @@ -1022,7 +1017,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } } - case "BulkPublishStartTime": if value != nil { switch jtv := value.(type) { @@ -1038,7 +1032,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } } - case "BulkPublishStatus": if value != nil { jtv, ok := value.(string) @@ -1047,7 +1040,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.BulkPublishStatus = types.BulkPublishStatus(jtv) } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -1056,7 +1048,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.FailureMessage = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -1065,7 +1056,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.IdentityPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -1229,7 +1219,6 @@ func awsRestjson1_deserializeOpDocumentGetCognitoEventsOutput(v **GetCognitoEven if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -1393,7 +1382,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityPoolConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentCognitoStreams(&sv.CognitoStreams, value); err != nil { return err } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -1402,12 +1390,10 @@ func awsRestjson1_deserializeOpDocumentGetIdentityPoolConfigurationOutput(v **Ge } sv.IdentityPoolId = ptr.String(jtv) } - case "PushSync": if err := awsRestjson1_deserializeDocumentPushSync(&sv.PushSync, value); err != nil { return err } - default: _, _ = key, value @@ -1576,12 +1562,10 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.Count = int32(i64) } - case "Datasets": if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1590,7 +1574,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1759,12 +1742,10 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.Count = int32(i64) } - case "IdentityPoolUsages": if err := awsRestjson1_deserializeDocumentIdentityPoolUsageList(&sv.IdentityPoolUsages, value); err != nil { return err } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1777,7 +1758,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.MaxResults = int32(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1786,7 +1766,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1955,7 +1934,6 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.Count = int32(i64) } - case "DatasetDeletedAfterRequestedSyncCount": if value != nil { jtv, ok := value.(bool) @@ -1964,7 +1942,6 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetDeletedAfterRequestedSyncCount = jtv } - case "DatasetExists": if value != nil { jtv, ok := value.(bool) @@ -1973,7 +1950,6 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetExists = jtv } - case "DatasetSyncCount": if value != nil { jtv, ok := value.(json.Number) @@ -1986,7 +1962,6 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetSyncCount = ptr.Int64(i64) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -1995,12 +1970,10 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.LastModifiedBy = ptr.String(jtv) } - case "MergedDatasetNames": if err := awsRestjson1_deserializeDocumentMergedDatasetNameList(&sv.MergedDatasetNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2009,12 +1982,10 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.NextToken = ptr.String(jtv) } - case "Records": if err := awsRestjson1_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } - case "SyncSessionToken": if value != nil { jtv, ok := value.(string) @@ -2023,7 +1994,6 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.SyncSessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2194,7 +2164,6 @@ func awsRestjson1_deserializeOpDocumentRegisterDeviceOutput(v **RegisterDeviceOu } sv.DeviceId = ptr.String(jtv) } - default: _, _ = key, value @@ -2467,7 +2436,6 @@ func awsRestjson1_deserializeOpDocumentSetIdentityPoolConfigurationOutput(v **Se if err := awsRestjson1_deserializeDocumentCognitoStreams(&sv.CognitoStreams, value); err != nil { return err } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -2476,12 +2444,10 @@ func awsRestjson1_deserializeOpDocumentSetIdentityPoolConfigurationOutput(v **Se } sv.IdentityPoolId = ptr.String(jtv) } - case "PushSync": if err := awsRestjson1_deserializeDocumentPushSync(&sv.PushSync, value); err != nil { return err } - default: _, _ = key, value @@ -2863,7 +2829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecordsOutput(v **UpdateRecordsOutp if err := awsRestjson1_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -3361,15 +3326,9 @@ func awsRestjson1_deserializeDocumentAlreadyStreamedException(v **types.AlreadyS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3377,15 +3336,11 @@ func awsRestjson1_deserializeDocumentAlreadyStreamedException(v **types.AlreadyS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3456,7 +3411,6 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.RoleArn = ptr.String(jtv) } - case "StreamingStatus": if value != nil { jtv, ok := value.(string) @@ -3465,7 +3419,6 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.StreamingStatus = types.StreamingStatus(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3474,7 +3427,6 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -3504,15 +3456,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3520,15 +3466,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3570,7 +3512,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3579,7 +3520,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetName = ptr.String(jtv) } - case "DataStorage": if value != nil { jtv, ok := value.(json.Number) @@ -3592,7 +3532,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DataStorage = ptr.Int64(i64) } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3601,7 +3540,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.IdentityId = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3610,7 +3548,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3626,7 +3563,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "NumRecords": if value != nil { jtv, ok := value.(json.Number) @@ -3639,7 +3575,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.NumRecords = ptr.Int64(i64) } - default: _, _ = key, value @@ -3703,15 +3638,9 @@ func awsRestjson1_deserializeDocumentDuplicateRequestException(v **types.Duplica sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3719,15 +3648,11 @@ func awsRestjson1_deserializeDocumentDuplicateRequestException(v **types.Duplica } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3802,7 +3727,6 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.DataStorage = ptr.Int64(i64) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -3811,7 +3735,6 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.IdentityPoolId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3827,7 +3750,6 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } } - case "SyncSessionsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3840,7 +3762,6 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.SyncSessionsCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3918,7 +3839,6 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.DatasetCount = int32(i64) } - case "DataStorage": if value != nil { jtv, ok := value.(json.Number) @@ -3931,7 +3851,6 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.DataStorage = ptr.Int64(i64) } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3940,7 +3859,6 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.IdentityId = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -3949,7 +3867,6 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.IdentityPoolId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3965,7 +3882,6 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } } - default: _, _ = key, value @@ -3995,15 +3911,9 @@ func awsRestjson1_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4011,15 +3921,11 @@ func awsRestjson1_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4044,15 +3950,9 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4060,15 +3960,11 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4093,15 +3989,9 @@ func awsRestjson1_deserializeDocumentInvalidLambdaFunctionOutputException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4109,15 +3999,11 @@ func awsRestjson1_deserializeDocumentInvalidLambdaFunctionOutputException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4142,15 +4028,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4158,15 +4038,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4191,15 +4067,9 @@ func awsRestjson1_deserializeDocumentLambdaThrottledException(v **types.LambdaTh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4207,15 +4077,11 @@ func awsRestjson1_deserializeDocumentLambdaThrottledException(v **types.LambdaTh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4240,15 +4106,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4256,15 +4116,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4325,15 +4181,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4341,15 +4191,11 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4380,7 +4226,6 @@ func awsRestjson1_deserializeDocumentPushSync(v **types.PushSync, value interfac if err := awsRestjson1_deserializeDocumentApplicationArnList(&sv.ApplicationArns, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -4389,7 +4234,6 @@ func awsRestjson1_deserializeDocumentPushSync(v **types.PushSync, value interfac } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4436,7 +4280,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } } - case "Key": if value != nil { jtv, ok := value.(string) @@ -4445,7 +4288,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Key = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -4454,7 +4296,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4470,7 +4311,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } } - case "SyncCount": if value != nil { jtv, ok := value.(json.Number) @@ -4483,7 +4323,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.SyncCount = ptr.Int64(i64) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4492,7 +4331,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4556,15 +4394,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4572,15 +4404,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4605,15 +4433,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4621,15 +4443,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4654,15 +4472,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4670,15 +4482,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/comprehend/deserializers.go b/service/comprehend/deserializers.go index cc5961d99da..001913e381a 100644 --- a/service/comprehend/deserializers.go +++ b/service/comprehend/deserializers.go @@ -11021,12 +11021,10 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.AnnotationDataS3Uri = ptr.String(jtv) } - case "AttributeNames": if err := awsAwsjson11_deserializeDocumentAttributeNamesList(&sv.AttributeNames, value); err != nil { return err } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -11035,7 +11033,6 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.DocumentType = types.AugmentedManifestsDocumentTypeFormat(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -11044,7 +11041,6 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.S3Uri = ptr.String(jtv) } - case "SourceDocumentsS3Uri": if value != nil { jtv, ok := value.(string) @@ -11053,7 +11049,6 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.SourceDocumentsS3Uri = ptr.String(jtv) } - case "Split": if value != nil { jtv, ok := value.(string) @@ -11062,7 +11057,6 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.Split = types.Split(jtv) } - default: _, _ = key, value @@ -11106,12 +11100,10 @@ func awsAwsjson11_deserializeDocumentBatchDetectDominantLanguageItemResult(v **t } sv.Index = ptr.Int32(int32(i64)) } - case "Languages": if err := awsAwsjson11_deserializeDocumentListOfDominantLanguages(&sv.Languages, value); err != nil { return err } - default: _, _ = key, value @@ -11147,7 +11139,6 @@ func awsAwsjson11_deserializeDocumentBatchDetectEntitiesItemResult(v **types.Bat if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11160,7 +11151,6 @@ func awsAwsjson11_deserializeDocumentBatchDetectEntitiesItemResult(v **types.Bat } sv.Index = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11204,12 +11194,10 @@ func awsAwsjson11_deserializeDocumentBatchDetectKeyPhrasesItemResult(v **types.B } sv.Index = ptr.Int32(int32(i64)) } - case "KeyPhrases": if err := awsAwsjson11_deserializeDocumentListOfKeyPhrases(&sv.KeyPhrases, value); err != nil { return err } - default: _, _ = key, value @@ -11253,7 +11241,6 @@ func awsAwsjson11_deserializeDocumentBatchDetectSentimentItemResult(v **types.Ba } sv.Index = ptr.Int32(int32(i64)) } - case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -11262,12 +11249,10 @@ func awsAwsjson11_deserializeDocumentBatchDetectSentimentItemResult(v **types.Ba } sv.Sentiment = types.SentimentType(jtv) } - case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } - default: _, _ = key, value @@ -11311,12 +11296,10 @@ func awsAwsjson11_deserializeDocumentBatchDetectSyntaxItemResult(v **types.Batch } sv.Index = ptr.Int32(int32(i64)) } - case "SyntaxTokens": if err := awsAwsjson11_deserializeDocumentListOfSyntaxTokens(&sv.SyntaxTokens, value); err != nil { return err } - default: _, _ = key, value @@ -11352,7 +11335,6 @@ func awsAwsjson11_deserializeDocumentBatchDetectTargetedSentimentItemResult(v ** if err := awsAwsjson11_deserializeDocumentListOfTargetedSentimentEntities(&sv.Entities, value); err != nil { return err } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11365,7 +11347,6 @@ func awsAwsjson11_deserializeDocumentBatchDetectTargetedSentimentItemResult(v ** } sv.Index = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11405,7 +11386,6 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11414,7 +11394,6 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.ErrorMessage = ptr.String(jtv) } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11427,7 +11406,6 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Index = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11491,15 +11469,9 @@ func awsAwsjson11_deserializeDocumentBatchSizeLimitExceededException(v **types.B sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11507,15 +11479,11 @@ func awsAwsjson11_deserializeDocumentBatchSizeLimitExceededException(v **types.B } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11550,12 +11518,10 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockType = types.BlockType(jtv) } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11564,7 +11530,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Id = ptr.String(jtv) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -11577,12 +11542,10 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Page = ptr.Int32(int32(i64)) } - case "Relationships": if err := awsAwsjson11_deserializeDocumentListOfRelationships(&sv.Relationships, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -11591,7 +11554,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -11635,7 +11597,6 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "BlockId": if value != nil { jtv, ok := value.(string) @@ -11644,12 +11605,10 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.BlockId = ptr.String(jtv) } - case "ChildBlocks": if err := awsAwsjson11_deserializeDocumentListOfChildBlocks(&sv.ChildBlocks, value); err != nil { return err } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11662,7 +11621,6 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.EndOffset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11727,7 +11685,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Left": if value != nil { switch jtv := value.(type) { @@ -11761,7 +11718,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Top": if value != nil { switch jtv := value.(type) { @@ -11795,7 +11751,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Width": if value != nil { switch jtv := value.(type) { @@ -11829,7 +11784,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - default: _, _ = key, value @@ -11873,7 +11827,6 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "ChildBlockId": if value != nil { jtv, ok := value.(string) @@ -11882,7 +11835,6 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.ChildBlockId = ptr.String(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11895,7 +11847,6 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.EndOffset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11960,7 +11911,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "F1Score": if value != nil { switch jtv := value.(type) { @@ -11994,7 +11944,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "HammingLoss": if value != nil { switch jtv := value.(type) { @@ -12028,7 +11977,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "MicroF1Score": if value != nil { switch jtv := value.(type) { @@ -12062,7 +12010,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "MicroPrecision": if value != nil { switch jtv := value.(type) { @@ -12096,7 +12043,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "MicroRecall": if value != nil { switch jtv := value.(type) { @@ -12130,7 +12076,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -12164,7 +12109,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -12198,7 +12142,6 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } - default: _, _ = key, value @@ -12234,7 +12177,6 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta if err := awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "NumberOfLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12247,7 +12189,6 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfLabels = ptr.Int32(int32(i64)) } - case "NumberOfTestDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12260,7 +12201,6 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfTestDocuments = ptr.Int32(int32(i64)) } - case "NumberOfTrainedDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12273,7 +12213,6 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfTrainedDocuments = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12303,15 +12242,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12319,15 +12252,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12362,7 +12291,6 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.DataLakeKmsKeyId = ptr.String(jtv) } - case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12371,7 +12299,6 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.ModelKmsKeyId = ptr.String(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12380,12 +12307,10 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12432,7 +12357,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -12441,7 +12365,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -12450,7 +12373,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetName = ptr.String(jtv) } - case "DatasetS3Uri": if value != nil { jtv, ok := value.(string) @@ -12459,7 +12381,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetS3Uri = ptr.String(jtv) } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -12468,7 +12389,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetType = types.DatasetType(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12477,7 +12397,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Description = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12493,7 +12412,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -12502,7 +12420,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Message = ptr.String(jtv) } - case "NumberOfDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12515,7 +12432,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.NumberOfDocuments = ptr.Int64(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12524,7 +12440,6 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -12598,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } sv.Name = ptr.String(jtv) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -12611,7 +12525,6 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } sv.Page = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -12645,7 +12558,6 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } } - default: _, _ = key, value @@ -12681,7 +12593,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationConfig(v **types.Docu if err := awsAwsjson11_deserializeDocumentLabelsList(&sv.Labels, value); err != nil { return err } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -12690,7 +12601,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationConfig(v **types.Docu } sv.Mode = types.DocumentClassifierMode(jtv) } - default: _, _ = key, value @@ -12730,7 +12640,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DocumentClassifierArn": if value != nil { jtv, ok := value.(string) @@ -12739,7 +12648,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.DocumentClassifierArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12755,7 +12663,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -12764,12 +12671,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.FlywheelArn = ptr.String(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -12778,7 +12683,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -12787,7 +12691,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -12796,7 +12699,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12805,7 +12707,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -12814,12 +12715,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -12835,7 +12734,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12844,12 +12742,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12957,7 +12853,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(v **types.Docum } sv.S3Uri = ptr.String(jtv) } - case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -12966,7 +12861,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(v **types.Docum } sv.TestS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13002,7 +12896,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types if err := awsAwsjson11_deserializeDocumentDocumentClassifierAugmentedManifestsList(&sv.AugmentedManifests, value); err != nil { return err } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -13011,17 +12904,14 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.DataFormat = types.DocumentClassifierDataFormat(jtv) } - case "DocumentReaderConfig": if err := awsAwsjson11_deserializeDocumentDocumentReaderConfig(&sv.DocumentReaderConfig, value); err != nil { return err } - case "Documents": if err := awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(&sv.Documents, value); err != nil { return err } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -13030,7 +12920,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.DocumentType = types.DocumentClassifierDocumentTypeFormat(jtv) } - case "LabelDelimiter": if value != nil { jtv, ok := value.(string) @@ -13039,7 +12928,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.LabelDelimiter = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -13048,7 +12936,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.S3Uri = ptr.String(jtv) } - case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -13057,7 +12944,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.TestS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13097,7 +12983,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.FlywheelStatsS3Prefix = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13106,7 +12991,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -13115,7 +12999,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -13151,7 +13034,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu if err := awsAwsjson11_deserializeDocumentClassifierMetadata(&sv.ClassifierMetadata, value); err != nil { return err } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -13160,7 +13042,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DocumentClassifierArn": if value != nil { jtv, ok := value.(string) @@ -13169,7 +13050,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.DocumentClassifierArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -13185,7 +13065,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -13194,12 +13073,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.FlywheelArn = ptr.String(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -13208,7 +13085,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13217,7 +13093,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Message = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -13226,7 +13101,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Mode = types.DocumentClassifierMode(jtv) } - case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13235,12 +13109,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.ModelKmsKeyId = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SourceModelArn": if value != nil { jtv, ok := value.(string) @@ -13249,7 +13121,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.SourceModelArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13258,7 +13129,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Status = types.ModelStatus(jtv) } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -13274,7 +13144,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -13290,7 +13159,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } - case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -13306,7 +13174,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -13315,7 +13182,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.VersionName = ptr.String(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13324,12 +13190,10 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13437,7 +13301,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.DocumentClassifierName = ptr.String(jtv) } - case "LatestVersionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -13453,7 +13316,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } } - case "LatestVersionName": if value != nil { jtv, ok := value.(string) @@ -13462,7 +13324,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.LatestVersionName = ptr.String(jtv) } - case "LatestVersionStatus": if value != nil { jtv, ok := value.(string) @@ -13471,7 +13332,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.LatestVersionStatus = types.ModelStatus(jtv) } - case "NumberOfVersions": if value != nil { jtv, ok := value.(json.Number) @@ -13484,7 +13344,6 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.NumberOfVersions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13524,7 +13383,6 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } sv.Name = ptr.String(jtv) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -13537,7 +13395,6 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } sv.Page = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -13571,7 +13428,6 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } } - default: _, _ = key, value @@ -13607,7 +13463,6 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata if err := awsAwsjson11_deserializeDocumentListOfExtractedCharacters(&sv.ExtractedCharacters, value); err != nil { return err } - case "Pages": if value != nil { jtv, ok := value.(json.Number) @@ -13620,7 +13475,6 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Pages = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13660,7 +13514,6 @@ func awsAwsjson11_deserializeDocumentDocumentReaderConfig(v **types.DocumentRead } sv.DocumentReadAction = types.DocumentReadAction(jtv) } - case "DocumentReadMode": if value != nil { jtv, ok := value.(string) @@ -13669,12 +13522,10 @@ func awsAwsjson11_deserializeDocumentDocumentReaderConfig(v **types.DocumentRead } sv.DocumentReadMode = types.DocumentReadMode(jtv) } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentListOfDocumentReadFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - default: _, _ = key, value @@ -13718,7 +13569,6 @@ func awsAwsjson11_deserializeDocumentDocumentTypeListItem(v **types.DocumentType } sv.Page = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13727,7 +13577,6 @@ func awsAwsjson11_deserializeDocumentDocumentTypeListItem(v **types.DocumentType } sv.Type = types.DocumentType(jtv) } - default: _, _ = key, value @@ -13767,7 +13616,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguage(v **types.DominantLanguage } sv.LanguageCode = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -13801,7 +13649,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguage(v **types.DominantLanguage } } - default: _, _ = key, value @@ -13841,7 +13688,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -13857,12 +13703,10 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -13871,7 +13715,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -13880,7 +13723,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -13889,7 +13731,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -13898,7 +13739,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13907,12 +13747,10 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -13928,7 +13766,6 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13937,12 +13774,10 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14023,7 +13858,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } } - case "CurrentInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14036,7 +13870,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.CurrentInferenceUnits = ptr.Int32(int32(i64)) } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -14045,7 +13878,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DesiredDataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -14054,7 +13886,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredDataAccessRoleArn = ptr.String(jtv) } - case "DesiredInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14067,7 +13898,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredInferenceUnits = ptr.Int32(int32(i64)) } - case "DesiredModelArn": if value != nil { jtv, ok := value.(string) @@ -14076,7 +13906,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredModelArn = ptr.String(jtv) } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -14085,7 +13914,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.EndpointArn = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -14094,7 +13922,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.FlywheelArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14110,7 +13937,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14119,7 +13945,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.Message = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -14128,7 +13953,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.ModelArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14137,7 +13961,6 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.Status = types.EndpointStatus(jtv) } - default: _, _ = key, value @@ -14211,7 +14034,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -14227,7 +14049,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } } - case "EntityRecognizerArn": if value != nil { jtv, ok := value.(string) @@ -14236,7 +14057,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.EntityRecognizerArn = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -14245,12 +14065,10 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.FlywheelArn = ptr.String(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -14259,7 +14077,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -14268,7 +14085,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -14277,7 +14093,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -14286,7 +14101,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -14295,7 +14109,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14304,12 +14117,10 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -14325,7 +14136,6 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14334,12 +14144,10 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14417,12 +14225,10 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "BlockReferences": if err := awsAwsjson11_deserializeDocumentListOfBlockReferences(&sv.BlockReferences, value); err != nil { return err } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14435,7 +14241,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -14469,7 +14274,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -14478,7 +14282,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Text = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14487,7 +14290,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = types.EntityType(jtv) } - default: _, _ = key, value @@ -14527,7 +14329,6 @@ func awsAwsjson11_deserializeDocumentEntityLabel(v **types.EntityLabel, value in } sv.Name = types.PiiEntityType(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -14561,7 +14362,6 @@ func awsAwsjson11_deserializeDocumentEntityLabel(v **types.EntityLabel, value in } } - default: _, _ = key, value @@ -14597,7 +14397,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognitionConfig(v **types.EntityRec if err := awsAwsjson11_deserializeDocumentEntityTypesList(&sv.EntityTypes, value); err != nil { return err } - default: _, _ = key, value @@ -14637,7 +14436,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(v **types.Entit } sv.S3Uri = ptr.String(jtv) } - case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -14646,7 +14444,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(v **types.Entit } sv.TestS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -14720,7 +14517,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.InputFormat = types.InputFormat(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -14729,7 +14525,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.S3Uri = ptr.String(jtv) } - case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -14738,7 +14533,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.TestS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -14778,7 +14572,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEntityList(v **types.Entity } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -14843,7 +14636,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -14877,7 +14669,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -14911,7 +14702,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } - default: _, _ = key, value @@ -14947,12 +14737,10 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(v **types.E if err := awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(&sv.Annotations, value); err != nil { return err } - case "AugmentedManifests": if err := awsAwsjson11_deserializeDocumentEntityRecognizerAugmentedManifestsList(&sv.AugmentedManifests, value); err != nil { return err } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -14961,22 +14749,18 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(v **types.E } sv.DataFormat = types.EntityRecognizerDataFormat(jtv) } - case "Documents": if err := awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(&sv.Documents, value); err != nil { return err } - case "EntityList": if err := awsAwsjson11_deserializeDocumentEntityRecognizerEntityList(&sv.EntityList, value); err != nil { return err } - case "EntityTypes": if err := awsAwsjson11_deserializeDocumentEntityTypesList(&sv.EntityTypes, value); err != nil { return err } - default: _, _ = key, value @@ -15012,12 +14796,10 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe if err := awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesList(&sv.EntityTypes, value); err != nil { return err } - case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "NumberOfTestDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -15030,7 +14812,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe } sv.NumberOfTestDocuments = ptr.Int32(int32(i64)) } - case "NumberOfTrainedDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -15043,7 +14824,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe } sv.NumberOfTrainedDocuments = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15113,7 +14893,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem if err := awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "NumberOfTrainMentions": if value != nil { jtv, ok := value.(json.Number) @@ -15126,7 +14905,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem } sv.NumberOfTrainMentions = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15135,7 +14913,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -15175,7 +14952,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerOutputDataConfig(v **types. } sv.FlywheelStatsS3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -15215,7 +14991,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -15231,7 +15006,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } - case "EntityRecognizerArn": if value != nil { jtv, ok := value.(string) @@ -15240,7 +15014,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.EntityRecognizerArn = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -15249,12 +15022,10 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.FlywheelArn = ptr.String(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -15263,7 +15034,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15272,7 +15042,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.Message = ptr.String(jtv) } - case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15281,17 +15050,14 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.ModelKmsKeyId = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognizerOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "RecognizerMetadata": if err := awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(&sv.RecognizerMetadata, value); err != nil { return err } - case "SourceModelArn": if value != nil { jtv, ok := value.(string) @@ -15300,7 +15066,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.SourceModelArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15309,7 +15074,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.Status = types.ModelStatus(jtv) } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -15325,7 +15089,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -15341,7 +15104,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } - case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -15357,7 +15119,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -15366,7 +15127,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.VersionName = ptr.String(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15375,12 +15135,10 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15495,7 +15253,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } } - case "LatestVersionName": if value != nil { jtv, ok := value.(string) @@ -15504,7 +15261,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.LatestVersionName = ptr.String(jtv) } - case "LatestVersionStatus": if value != nil { jtv, ok := value.(string) @@ -15513,7 +15269,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.LatestVersionStatus = types.ModelStatus(jtv) } - case "NumberOfVersions": if value != nil { jtv, ok := value.(json.Number) @@ -15526,7 +15281,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.NumberOfVersions = ptr.Int32(int32(i64)) } - case "RecognizerName": if value != nil { jtv, ok := value.(string) @@ -15535,7 +15289,6 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.RecognizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -15600,7 +15353,6 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -15634,7 +15386,6 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -15668,7 +15419,6 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } - default: _, _ = key, value @@ -15742,7 +15492,6 @@ func awsAwsjson11_deserializeDocumentEntityTypesListItem(v **types.EntityTypesLi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -15782,7 +15531,6 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.ErrorCode = types.PageBasedErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15791,7 +15539,6 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.ErrorMessage = ptr.String(jtv) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -15804,7 +15551,6 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.Page = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15844,7 +15590,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -15860,12 +15605,10 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -15874,7 +15617,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -15883,7 +15625,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -15892,7 +15633,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -15901,7 +15641,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -15910,7 +15649,6 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15919,12 +15657,10 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -15940,12 +15676,10 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } } - case "TargetEventTypes": if err := awsAwsjson11_deserializeDocumentTargetEventTypes(&sv.TargetEventTypes, value); err != nil { return err } - default: _, _ = key, value @@ -16023,7 +15757,6 @@ func awsAwsjson11_deserializeDocumentExtractedCharactersListItem(v **types.Extra } sv.Count = ptr.Int32(int32(i64)) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -16036,7 +15769,6 @@ func awsAwsjson11_deserializeDocumentExtractedCharactersListItem(v **types.Extra } sv.Page = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16083,7 +15815,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -16099,7 +15830,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } } - case "EvaluatedModelArn": if value != nil { jtv, ok := value.(string) @@ -16108,12 +15838,10 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.EvaluatedModelArn = ptr.String(jtv) } - case "EvaluatedModelMetrics": if err := awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(&sv.EvaluatedModelMetrics, value); err != nil { return err } - case "EvaluationManifestS3Prefix": if value != nil { jtv, ok := value.(string) @@ -16122,7 +15850,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.EvaluationManifestS3Prefix = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -16131,7 +15858,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.FlywheelArn = ptr.String(jtv) } - case "FlywheelIterationId": if value != nil { jtv, ok := value.(string) @@ -16140,7 +15866,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.FlywheelIterationId = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16149,7 +15874,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16158,7 +15882,6 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.Status = types.FlywheelIterationStatus(jtv) } - case "TrainedModelArn": if value != nil { jtv, ok := value.(string) @@ -16167,12 +15890,10 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.TrainedModelArn = ptr.String(jtv) } - case "TrainedModelMetrics": if err := awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(&sv.TrainedModelMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -16271,7 +15992,6 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } - case "AverageF1Score": if value != nil { switch jtv := value.(type) { @@ -16305,7 +16025,6 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } - case "AveragePrecision": if value != nil { switch jtv := value.(type) { @@ -16339,7 +16058,6 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } - case "AverageRecall": if value != nil { switch jtv := value.(type) { @@ -16373,7 +16091,6 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } - default: _, _ = key, value @@ -16413,7 +16130,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.ActiveModelArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16429,7 +16145,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16438,7 +16153,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DataLakeS3Uri": if value != nil { jtv, ok := value.(string) @@ -16447,12 +16161,10 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.DataLakeS3Uri = ptr.String(jtv) } - case "DataSecurityConfig": if err := awsAwsjson11_deserializeDocumentDataSecurityConfig(&sv.DataSecurityConfig, value); err != nil { return err } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -16461,7 +16173,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.FlywheelArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -16477,7 +16188,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } } - case "LatestFlywheelIteration": if value != nil { jtv, ok := value.(string) @@ -16486,7 +16196,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.LatestFlywheelIteration = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16495,7 +16204,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.Message = ptr.String(jtv) } - case "ModelType": if value != nil { jtv, ok := value.(string) @@ -16504,7 +16212,6 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.ModelType = types.ModelType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16513,12 +16220,10 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.Status = types.FlywheelStatus(jtv) } - case "TaskConfig": if err := awsAwsjson11_deserializeDocumentTaskConfig(&sv.TaskConfig, value); err != nil { return err } - default: _, _ = key, value @@ -16558,7 +16263,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.ActiveModelArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16574,7 +16278,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } } - case "DataLakeS3Uri": if value != nil { jtv, ok := value.(string) @@ -16583,7 +16286,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.DataLakeS3Uri = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -16592,7 +16294,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.FlywheelArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -16608,7 +16309,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } } - case "LatestFlywheelIteration": if value != nil { jtv, ok := value.(string) @@ -16617,7 +16317,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.LatestFlywheelIteration = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16626,7 +16325,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.Message = ptr.String(jtv) } - case "ModelType": if value != nil { jtv, ok := value.(string) @@ -16635,7 +16333,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.ModelType = types.ModelType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16644,7 +16341,6 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.Status = types.FlywheelStatus(jtv) } - default: _, _ = key, value @@ -16714,12 +16410,10 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -16755,7 +16449,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, if err := awsAwsjson11_deserializeDocumentDocumentReaderConfig(&sv.DocumentReaderConfig, value); err != nil { return err } - case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -16764,7 +16457,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.InputFormat = types.InputFormat(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -16773,7 +16465,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -16803,15 +16494,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16819,15 +16504,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16852,15 +16533,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16868,15 +16543,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16911,7 +16582,6 @@ func awsAwsjson11_deserializeDocumentInvalidRequestDetail(v **types.InvalidReque } sv.Reason = types.InvalidRequestDetailReason(jtv) } - default: _, _ = key, value @@ -16941,20 +16611,13 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Detail": if err := awsAwsjson11_deserializeDocumentInvalidRequestDetail(&sv.Detail, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16962,7 +16625,6 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -16971,15 +16633,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Reason = types.InvalidRequestReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17004,15 +16662,9 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17020,15 +16672,11 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17067,7 +16715,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -17080,7 +16727,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -17114,7 +16760,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -17123,7 +16768,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -17163,7 +16807,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -17179,12 +16822,10 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -17193,7 +16834,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -17202,7 +16842,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -17211,7 +16850,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -17220,7 +16858,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -17229,7 +16866,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17238,12 +16874,10 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -17259,7 +16893,6 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -17268,12 +16901,10 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -17337,15 +16968,9 @@ func awsAwsjson11_deserializeDocumentKmsKeyValidationException(v **types.KmsKeyV sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17353,15 +16978,11 @@ func awsAwsjson11_deserializeDocumentKmsKeyValidationException(v **types.KmsKeyV } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18428,12 +18049,10 @@ func awsAwsjson11_deserializeDocumentMentionSentiment(v **types.MentionSentiment } sv.Sentiment = types.SentimentType(jtv) } - case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } - default: _, _ = key, value @@ -18473,7 +18092,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -18482,7 +18100,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -18547,7 +18164,6 @@ func awsAwsjson11_deserializeDocumentPartOfSpeechTag(v **types.PartOfSpeechTag, } } - case "Tag": if value != nil { jtv, ok := value.(string) @@ -18556,7 +18172,6 @@ func awsAwsjson11_deserializeDocumentPartOfSpeechTag(v **types.PartOfSpeechTag, } sv.Tag = types.PartOfSpeechTagType(jtv) } - default: _, _ = key, value @@ -18596,7 +18211,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -18612,12 +18226,10 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -18626,7 +18238,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -18635,7 +18246,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -18644,7 +18254,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -18653,7 +18262,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -18662,7 +18270,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -18671,7 +18278,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.Message = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -18680,17 +18286,14 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.Mode = types.PiiEntitiesDetectionMode(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentPiiOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "RedactionConfig": if err := awsAwsjson11_deserializeDocumentRedactionConfig(&sv.RedactionConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -18706,7 +18309,6 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } } - default: _, _ = key, value @@ -18784,7 +18386,6 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -18797,7 +18398,6 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -18831,7 +18431,6 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18840,7 +18439,6 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.Type = types.PiiEntityType(jtv) } - default: _, _ = key, value @@ -18880,7 +18478,6 @@ func awsAwsjson11_deserializeDocumentPiiOutputDataConfig(v **types.PiiOutputData } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -18889,7 +18486,6 @@ func awsAwsjson11_deserializeDocumentPiiOutputDataConfig(v **types.PiiOutputData } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -18954,7 +18550,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - case "Y": if value != nil { switch jtv := value.(type) { @@ -18988,7 +18583,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - default: _, _ = key, value @@ -19062,7 +18656,6 @@ func awsAwsjson11_deserializeDocumentRedactionConfig(v **types.RedactionConfig, } sv.MaskCharacter = ptr.String(jtv) } - case "MaskMode": if value != nil { jtv, ok := value.(string) @@ -19071,12 +18664,10 @@ func awsAwsjson11_deserializeDocumentRedactionConfig(v **types.RedactionConfig, } sv.MaskMode = types.PiiEntitiesDetectionMaskMode(jtv) } - case "PiiEntityTypes": if err := awsAwsjson11_deserializeDocumentListOfPiiEntityTypes(&sv.PiiEntityTypes, value); err != nil { return err } - default: _, _ = key, value @@ -19112,7 +18703,6 @@ func awsAwsjson11_deserializeDocumentRelationshipsListItem(v **types.Relationshi if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19121,7 +18711,6 @@ func awsAwsjson11_deserializeDocumentRelationshipsListItem(v **types.Relationshi } sv.Type = types.RelationshipType(jtv) } - default: _, _ = key, value @@ -19151,15 +18740,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19167,15 +18750,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19200,15 +18779,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19216,15 +18789,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19249,15 +18818,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19265,15 +18828,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19298,15 +18857,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19314,15 +18867,11 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19393,7 +18942,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -19409,12 +18957,10 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -19423,7 +18969,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -19432,7 +18977,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -19441,7 +18985,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -19450,7 +18993,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -19459,7 +19001,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -19468,12 +19009,10 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -19489,7 +19028,6 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19498,12 +19036,10 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -19602,7 +19138,6 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "Negative": if value != nil { switch jtv := value.(type) { @@ -19636,7 +19171,6 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "Neutral": if value != nil { switch jtv := value.(type) { @@ -19670,7 +19204,6 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "Positive": if value != nil { switch jtv := value.(type) { @@ -19704,7 +19237,6 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - default: _, _ = key, value @@ -19820,7 +19352,6 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -19833,12 +19364,10 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.EndOffset = ptr.Int32(int32(i64)) } - case "PartOfSpeech": if err := awsAwsjson11_deserializeDocumentPartOfSpeechTag(&sv.PartOfSpeech, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -19847,7 +19376,6 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.Text = ptr.String(jtv) } - case "TokenId": if value != nil { jtv, ok := value.(json.Number) @@ -19860,7 +19388,6 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.TokenId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19900,7 +19427,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19909,7 +19435,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19983,7 +19508,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -19999,12 +19523,10 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -20013,7 +19535,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -20022,7 +19543,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -20031,7 +19551,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -20040,7 +19559,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobStatus = types.JobStatus(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -20049,7 +19567,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.LanguageCode = types.LanguageCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -20058,12 +19575,10 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -20079,7 +19594,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20088,12 +19602,10 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -20163,12 +19675,10 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentEntity(v **types.TargetedS if err := awsAwsjson11_deserializeDocumentListOfDescriptiveMentionIndices(&sv.DescriptiveMentionIndex, value); err != nil { return err } - case "Mentions": if err := awsAwsjson11_deserializeDocumentListOfMentions(&sv.Mentions, value); err != nil { return err } - default: _, _ = key, value @@ -20212,7 +19722,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -20225,7 +19734,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.EndOffset = ptr.Int32(int32(i64)) } - case "GroupScore": if value != nil { switch jtv := value.(type) { @@ -20259,12 +19767,10 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } } - case "MentionSentiment": if err := awsAwsjson11_deserializeDocumentMentionSentiment(&sv.MentionSentiment, value); err != nil { return err } - case "Score": if value != nil { switch jtv := value.(type) { @@ -20298,7 +19804,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -20307,7 +19812,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.Text = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20316,7 +19820,6 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.Type = types.TargetedSentimentEntityType(jtv) } - default: _, _ = key, value @@ -20388,12 +19891,10 @@ func awsAwsjson11_deserializeDocumentTaskConfig(v **types.TaskConfig, value inte if err := awsAwsjson11_deserializeDocumentDocumentClassificationConfig(&sv.DocumentClassificationConfig, value); err != nil { return err } - case "EntityRecognitionConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognitionConfig(&sv.EntityRecognitionConfig, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -20402,7 +19903,6 @@ func awsAwsjson11_deserializeDocumentTaskConfig(v **types.TaskConfig, value inte } sv.LanguageCode = types.LanguageCode(jtv) } - default: _, _ = key, value @@ -20432,15 +19932,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20448,15 +19942,11 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20481,15 +19971,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20497,15 +19981,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20530,15 +20010,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20546,15 +20020,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20579,15 +20049,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20595,15 +20059,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20638,7 +20098,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -20654,12 +20113,10 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -20668,7 +20125,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -20677,7 +20133,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -20686,7 +20141,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -20695,7 +20149,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -20704,7 +20157,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.Message = ptr.String(jtv) } - case "NumberOfTopics": if value != nil { jtv, ok := value.(json.Number) @@ -20717,12 +20169,10 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.NumberOfTopics = ptr.Int32(int32(i64)) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -20738,7 +20188,6 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20747,12 +20196,10 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -20826,7 +20273,6 @@ func awsAwsjson11_deserializeDocumentToxicContent(v **types.ToxicContent, value } sv.Name = types.ToxicContentType(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -20860,7 +20306,6 @@ func awsAwsjson11_deserializeDocumentToxicContent(v **types.ToxicContent, value } } - default: _, _ = key, value @@ -20896,7 +20341,6 @@ func awsAwsjson11_deserializeDocumentToxicLabels(v **types.ToxicLabels, value in if err := awsAwsjson11_deserializeDocumentListOfToxicContent(&sv.Labels, value); err != nil { return err } - case "Toxicity": if value != nil { switch jtv := value.(type) { @@ -20930,7 +20374,6 @@ func awsAwsjson11_deserializeDocumentToxicLabels(v **types.ToxicLabels, value in } } - default: _, _ = key, value @@ -20960,15 +20403,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguageException(v **types.Unsu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20976,15 +20413,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguageException(v **types.Unsu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21015,12 +20448,10 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -21064,7 +20495,6 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.Page = ptr.Int32(int32(i64)) } - case "WarnCode": if value != nil { jtv, ok := value.(string) @@ -21073,7 +20503,6 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.WarnCode = types.PageBasedWarningCode(jtv) } - case "WarnMessage": if value != nil { jtv, ok := value.(string) @@ -21082,7 +20511,6 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.WarnMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -21118,12 +20546,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectDominantLanguageOutput(v **Bat if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectDominantLanguageResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21159,12 +20585,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectEntitiesOutput(v **BatchDetect if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectEntitiesResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21200,12 +20624,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectKeyPhrasesOutput(v **BatchDete if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectKeyPhrasesResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21241,12 +20663,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectSentimentOutput(v **BatchDetec if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectSentimentResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21282,12 +20702,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectSyntaxOutput(v **BatchDetectSy if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectSyntaxResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21323,12 +20741,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectTargetedSentimentOutput(v **Ba if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } - case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectTargetedSentimentResult(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -21364,32 +20780,26 @@ func awsAwsjson11_deserializeOpDocumentClassifyDocumentOutput(v **ClassifyDocume if err := awsAwsjson11_deserializeDocumentListOfClasses(&sv.Classes, value); err != nil { return err } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "DocumentType": if err := awsAwsjson11_deserializeDocumentListOfDocumentType(&sv.DocumentType, value); err != nil { return err } - case "Errors": if err := awsAwsjson11_deserializeDocumentListOfErrors(&sv.Errors, value); err != nil { return err } - case "Labels": if err := awsAwsjson11_deserializeDocumentListOfLabels(&sv.Labels, value); err != nil { return err } - case "Warnings": if err := awsAwsjson11_deserializeDocumentListOfWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -21425,7 +20835,6 @@ func awsAwsjson11_deserializeOpDocumentContainsPiiEntitiesOutput(v **ContainsPii if err := awsAwsjson11_deserializeDocumentListOfEntityLabels(&sv.Labels, value); err != nil { return err } - default: _, _ = key, value @@ -21465,7 +20874,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21505,7 +20913,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDocumentClassifierOutput(v **Create } sv.DocumentClassifierArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21545,7 +20952,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -21554,7 +20960,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21594,7 +20999,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEntityRecognizerOutput(v **CreateEn } sv.EntityRecognizerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21634,7 +21038,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFlywheelOutput(v **CreateFlywheelOu } sv.ActiveModelArn = ptr.String(jtv) } - case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -21643,7 +21046,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFlywheelOutput(v **CreateFlywheelOu } sv.FlywheelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21834,7 +21236,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDatasetProperties(&sv.DatasetProperties, value); err != nil { return err } - default: _, _ = key, value @@ -21870,7 +21271,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentClassificationJobOutput(v if err := awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(&sv.DocumentClassificationJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -21906,7 +21306,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentClassifierOutput(v **Desc if err := awsAwsjson11_deserializeDocumentDocumentClassifierProperties(&sv.DocumentClassifierProperties, value); err != nil { return err } - default: _, _ = key, value @@ -21942,7 +21341,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDominantLanguageDetectionJobOutpu if err := awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(&sv.DominantLanguageDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -21978,7 +21376,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi if err := awsAwsjson11_deserializeDocumentEndpointProperties(&sv.EndpointProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22014,7 +21411,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitiesDetectionJobOutput(v **De if err := awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(&sv.EntitiesDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22050,7 +21446,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityRecognizerOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityRecognizerProperties(&sv.EntityRecognizerProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22086,7 +21481,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsDetectionJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(&sv.EventsDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22122,7 +21516,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlywheelIterationOutput(v **Descr if err := awsAwsjson11_deserializeDocumentFlywheelIterationProperties(&sv.FlywheelIterationProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22158,7 +21551,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlywheelOutput(v **DescribeFlywhe if err := awsAwsjson11_deserializeDocumentFlywheelProperties(&sv.FlywheelProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22194,7 +21586,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeKeyPhrasesDetectionJobOutput(v ** if err := awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(&sv.KeyPhrasesDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22230,7 +21621,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePiiEntitiesDetectionJobOutput(v * if err := awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(&sv.PiiEntitiesDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22277,7 +21667,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -22293,7 +21682,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } - case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -22302,7 +21690,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.PolicyRevisionId = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -22311,7 +21698,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -22347,7 +21733,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSentimentDetectionJobOutput(v **D if err := awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(&sv.SentimentDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22383,7 +21768,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTargetedSentimentDetectionJobOutp if err := awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(&sv.TargetedSentimentDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22419,7 +21803,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTopicsDetectionJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(&sv.TopicsDetectionJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -22455,7 +21838,6 @@ func awsAwsjson11_deserializeOpDocumentDetectDominantLanguageOutput(v **DetectDo if err := awsAwsjson11_deserializeDocumentListOfDominantLanguages(&sv.Languages, value); err != nil { return err } - default: _, _ = key, value @@ -22491,27 +21873,22 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu if err := awsAwsjson11_deserializeDocumentListOfBlocks(&sv.Blocks, value); err != nil { return err } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "DocumentType": if err := awsAwsjson11_deserializeDocumentListOfDocumentType(&sv.DocumentType, value); err != nil { return err } - case "Entities": if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } - case "Errors": if err := awsAwsjson11_deserializeDocumentListOfErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -22547,7 +21924,6 @@ func awsAwsjson11_deserializeOpDocumentDetectKeyPhrasesOutput(v **DetectKeyPhras if err := awsAwsjson11_deserializeDocumentListOfKeyPhrases(&sv.KeyPhrases, value); err != nil { return err } - default: _, _ = key, value @@ -22583,7 +21959,6 @@ func awsAwsjson11_deserializeOpDocumentDetectPiiEntitiesOutput(v **DetectPiiEnti if err := awsAwsjson11_deserializeDocumentListOfPiiEntities(&sv.Entities, value); err != nil { return err } - default: _, _ = key, value @@ -22623,12 +21998,10 @@ func awsAwsjson11_deserializeOpDocumentDetectSentimentOutput(v **DetectSentiment } sv.Sentiment = types.SentimentType(jtv) } - case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } - default: _, _ = key, value @@ -22664,7 +22037,6 @@ func awsAwsjson11_deserializeOpDocumentDetectSyntaxOutput(v **DetectSyntaxOutput if err := awsAwsjson11_deserializeDocumentListOfSyntaxTokens(&sv.SyntaxTokens, value); err != nil { return err } - default: _, _ = key, value @@ -22700,7 +22072,6 @@ func awsAwsjson11_deserializeOpDocumentDetectTargetedSentimentOutput(v **DetectT if err := awsAwsjson11_deserializeDocumentListOfTargetedSentimentEntities(&sv.Entities, value); err != nil { return err } - default: _, _ = key, value @@ -22736,7 +22107,6 @@ func awsAwsjson11_deserializeOpDocumentDetectToxicContentOutput(v **DetectToxicC if err := awsAwsjson11_deserializeDocumentListOfToxicLabels(&sv.ResultList, value); err != nil { return err } - default: _, _ = key, value @@ -22776,7 +22146,6 @@ func awsAwsjson11_deserializeOpDocumentImportModelOutput(v **ImportModelOutput, } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -22812,7 +22181,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasetPropertiesList(&sv.DatasetPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22821,7 +22189,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22857,7 +22224,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassificationJobsOutput(v ** if err := awsAwsjson11_deserializeDocumentDocumentClassificationJobPropertiesList(&sv.DocumentClassificationJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22866,7 +22232,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassificationJobsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22902,7 +22267,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifiersOutput(v **ListDoc if err := awsAwsjson11_deserializeDocumentDocumentClassifierPropertiesList(&sv.DocumentClassifierPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22911,7 +22275,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifiersOutput(v **ListDoc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22947,7 +22310,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifierSummariesOutput(v * if err := awsAwsjson11_deserializeDocumentDocumentClassifierSummariesList(&sv.DocumentClassifierSummariesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22956,7 +22318,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifierSummariesOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22992,7 +22353,6 @@ func awsAwsjson11_deserializeOpDocumentListDominantLanguageDetectionJobsOutput(v if err := awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobPropertiesList(&sv.DominantLanguageDetectionJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23001,7 +22361,6 @@ func awsAwsjson11_deserializeOpDocumentListDominantLanguageDetectionJobsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23037,7 +22396,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointPropertiesList(&sv.EndpointPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23046,7 +22404,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23082,7 +22439,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionJobsOutput(v **ListE if err := awsAwsjson11_deserializeDocumentEntitiesDetectionJobPropertiesList(&sv.EntitiesDetectionJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23091,7 +22447,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionJobsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23127,7 +22482,6 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizersOutput(v **ListEntit if err := awsAwsjson11_deserializeDocumentEntityRecognizerPropertiesList(&sv.EntityRecognizerPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23136,7 +22490,6 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizersOutput(v **ListEntit } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23172,7 +22525,6 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizerSummariesOutput(v **L if err := awsAwsjson11_deserializeDocumentEntityRecognizerSummariesList(&sv.EntityRecognizerSummariesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23181,7 +22533,6 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizerSummariesOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23217,7 +22568,6 @@ func awsAwsjson11_deserializeOpDocumentListEventsDetectionJobsOutput(v **ListEve if err := awsAwsjson11_deserializeDocumentEventsDetectionJobPropertiesList(&sv.EventsDetectionJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23226,7 +22576,6 @@ func awsAwsjson11_deserializeOpDocumentListEventsDetectionJobsOutput(v **ListEve } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23262,7 +22611,6 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelIterationHistoryOutput(v **Li if err := awsAwsjson11_deserializeDocumentFlywheelIterationPropertiesList(&sv.FlywheelIterationPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23271,7 +22619,6 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelIterationHistoryOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23307,7 +22654,6 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelsOutput(v **ListFlywheelsOutp if err := awsAwsjson11_deserializeDocumentFlywheelSummaryList(&sv.FlywheelSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23316,7 +22662,6 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelsOutput(v **ListFlywheelsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23352,7 +22697,6 @@ func awsAwsjson11_deserializeOpDocumentListKeyPhrasesDetectionJobsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobPropertiesList(&sv.KeyPhrasesDetectionJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23361,7 +22705,6 @@ func awsAwsjson11_deserializeOpDocumentListKeyPhrasesDetectionJobsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23401,12 +22744,10 @@ func awsAwsjson11_deserializeOpDocumentListPiiEntitiesDetectionJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "PiiEntitiesDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobPropertiesList(&sv.PiiEntitiesDetectionJobPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -23446,12 +22787,10 @@ func awsAwsjson11_deserializeOpDocumentListSentimentDetectionJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "SentimentDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentSentimentDetectionJobPropertiesList(&sv.SentimentDetectionJobPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -23491,12 +22830,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -23536,12 +22873,10 @@ func awsAwsjson11_deserializeOpDocumentListTargetedSentimentDetectionJobsOutput( } sv.NextToken = ptr.String(jtv) } - case "TargetedSentimentDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobPropertiesList(&sv.TargetedSentimentDetectionJobPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -23581,12 +22916,10 @@ func awsAwsjson11_deserializeOpDocumentListTopicsDetectionJobsOutput(v **ListTop } sv.NextToken = ptr.String(jtv) } - case "TopicsDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTopicsDetectionJobPropertiesList(&sv.TopicsDetectionJobPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -23626,7 +22959,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyRevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23666,7 +22998,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.DocumentClassifierArn = ptr.String(jtv) } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -23675,7 +23006,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -23684,7 +23014,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23693,7 +23022,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -23733,7 +23061,6 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -23742,7 +23069,6 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23751,7 +23077,6 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -23791,7 +23116,6 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.EntityRecognizerArn = ptr.String(jtv) } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -23800,7 +23124,6 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -23809,7 +23132,6 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23818,7 +23140,6 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -23858,7 +23179,6 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -23867,7 +23187,6 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23876,7 +23195,6 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -23916,7 +23234,6 @@ func awsAwsjson11_deserializeOpDocumentStartFlywheelIterationOutput(v **StartFly } sv.FlywheelArn = ptr.String(jtv) } - case "FlywheelIterationId": if value != nil { jtv, ok := value.(string) @@ -23925,7 +23242,6 @@ func awsAwsjson11_deserializeOpDocumentStartFlywheelIterationOutput(v **StartFly } sv.FlywheelIterationId = ptr.String(jtv) } - default: _, _ = key, value @@ -23965,7 +23281,6 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -23974,7 +23289,6 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23983,7 +23297,6 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24023,7 +23336,6 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24032,7 +23344,6 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24041,7 +23352,6 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24081,7 +23391,6 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24090,7 +23399,6 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24099,7 +23407,6 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24139,7 +23446,6 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24148,7 +23454,6 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24157,7 +23462,6 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24197,7 +23501,6 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobArn = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24206,7 +23509,6 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24215,7 +23517,6 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24255,7 +23556,6 @@ func awsAwsjson11_deserializeOpDocumentStopDominantLanguageDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24264,7 +23564,6 @@ func awsAwsjson11_deserializeOpDocumentStopDominantLanguageDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24304,7 +23603,6 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionJobOutput(v **StopEn } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24313,7 +23611,6 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionJobOutput(v **StopEn } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24353,7 +23650,6 @@ func awsAwsjson11_deserializeOpDocumentStopEventsDetectionJobOutput(v **StopEven } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24362,7 +23658,6 @@ func awsAwsjson11_deserializeOpDocumentStopEventsDetectionJobOutput(v **StopEven } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24402,7 +23697,6 @@ func awsAwsjson11_deserializeOpDocumentStopKeyPhrasesDetectionJobOutput(v **Stop } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24411,7 +23705,6 @@ func awsAwsjson11_deserializeOpDocumentStopKeyPhrasesDetectionJobOutput(v **Stop } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24451,7 +23744,6 @@ func awsAwsjson11_deserializeOpDocumentStopPiiEntitiesDetectionJobOutput(v **Sto } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24460,7 +23752,6 @@ func awsAwsjson11_deserializeOpDocumentStopPiiEntitiesDetectionJobOutput(v **Sto } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24500,7 +23791,6 @@ func awsAwsjson11_deserializeOpDocumentStopSentimentDetectionJobOutput(v **StopS } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24509,7 +23799,6 @@ func awsAwsjson11_deserializeOpDocumentStopSentimentDetectionJobOutput(v **StopS } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24549,7 +23838,6 @@ func awsAwsjson11_deserializeOpDocumentStopTargetedSentimentDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24558,7 +23846,6 @@ func awsAwsjson11_deserializeOpDocumentStopTargetedSentimentDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -24722,7 +24009,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.DesiredModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -24758,7 +24044,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFlywheelOutput(v **UpdateFlywheelOu if err := awsAwsjson11_deserializeDocumentFlywheelProperties(&sv.FlywheelProperties, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/comprehendmedical/deserializers.go b/service/comprehendmedical/deserializers.go index 3c2e72cd419..cefc110347c 100644 --- a/service/comprehendmedical/deserializers.go +++ b/service/comprehendmedical/deserializers.go @@ -3488,7 +3488,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -3497,7 +3496,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Category = types.EntityType(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3510,7 +3508,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -3523,7 +3520,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Id = ptr.Int32(int32(i64)) } - case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -3557,7 +3553,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } } - case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -3566,7 +3561,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.RelationshipType = types.RelationshipType(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -3600,7 +3594,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -3609,12 +3602,10 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3623,7 +3614,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Type = types.EntitySubType(jtv) } - default: _, _ = key, value @@ -3701,7 +3691,6 @@ func awsAwsjson11_deserializeDocumentCharacters(v **types.Characters, value inte } sv.OriginalTextCharacters = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3741,7 +3730,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3757,7 +3745,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -3773,12 +3760,10 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3772,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -3796,7 +3780,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3805,7 +3788,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobStatus = types.JobStatus(jtv) } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -3814,7 +3796,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.KMSKey = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3823,7 +3804,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.LanguageCode = types.LanguageCode(jtv) } - case "ManifestFilePath": if value != nil { jtv, ok := value.(string) @@ -3832,7 +3812,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.ManifestFilePath = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3841,7 +3820,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.Message = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -3850,12 +3828,10 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.ModelVersion = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -3871,7 +3847,6 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } - default: _, _ = key, value @@ -3941,7 +3916,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3954,7 +3928,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -3963,7 +3936,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Category = types.EntityType(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3976,7 +3948,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -3989,7 +3960,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Id = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -4023,7 +3993,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -4032,12 +4001,10 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4046,7 +4013,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = types.EntitySubType(jtv) } - default: _, _ = key, value @@ -4124,7 +4090,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -4133,7 +4098,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Category = types.ICD10CMEntityType(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4146,7 +4110,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -4159,7 +4122,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Id = ptr.Int32(int32(i64)) } - case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -4193,7 +4155,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } } - case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -4202,7 +4163,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.RelationshipType = types.ICD10CMRelationshipType(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -4236,7 +4196,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -4245,12 +4204,10 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentICD10CMTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4259,7 +4216,6 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Type = types.ICD10CMAttributeType(jtv) } - default: _, _ = key, value @@ -4333,7 +4289,6 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } sv.Code = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4342,7 +4297,6 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } sv.Description = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -4376,7 +4330,6 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } } - default: _, _ = key, value @@ -4446,7 +4399,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu if err := awsAwsjson11_deserializeDocumentICD10CMAttributeList(&sv.Attributes, value); err != nil { return err } - case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4459,7 +4411,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -4468,7 +4419,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Category = types.ICD10CMEntityCategory(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4481,12 +4431,10 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.EndOffset = ptr.Int32(int32(i64)) } - case "ICD10CMConcepts": if err := awsAwsjson11_deserializeDocumentICD10CMConceptList(&sv.ICD10CMConcepts, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -4499,7 +4447,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Id = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -4533,7 +4480,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -4542,12 +4488,10 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentICD10CMTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4556,7 +4500,6 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Type = types.ICD10CMEntityType(jtv) } - default: _, _ = key, value @@ -4630,7 +4573,6 @@ func awsAwsjson11_deserializeDocumentICD10CMTrait(v **types.ICD10CMTrait, value } sv.Name = types.ICD10CMTraitName(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -4664,7 +4606,6 @@ func awsAwsjson11_deserializeDocumentICD10CMTrait(v **types.ICD10CMTrait, value } } - default: _, _ = key, value @@ -4738,7 +4679,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Bucket = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -4747,7 +4687,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -4777,15 +4716,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4793,15 +4726,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4826,15 +4755,9 @@ func awsAwsjson11_deserializeDocumentInvalidEncodingException(v **types.InvalidE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4842,15 +4765,11 @@ func awsAwsjson11_deserializeDocumentInvalidEncodingException(v **types.InvalidE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4875,15 +4794,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4891,15 +4804,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4934,7 +4843,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Bucket = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -4943,7 +4851,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -4973,15 +4880,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4989,15 +4890,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5036,7 +4933,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5049,7 +4945,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5062,7 +4957,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Id = ptr.Int32(int32(i64)) } - case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -5096,7 +4990,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5130,7 +5023,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -5139,12 +5031,10 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentRxNormTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5153,7 +5043,6 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Type = types.RxNormAttributeType(jtv) } - default: _, _ = key, value @@ -5227,7 +5116,6 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } sv.Code = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5236,7 +5124,6 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } sv.Description = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5270,7 +5157,6 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } } - default: _, _ = key, value @@ -5340,7 +5226,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value if err := awsAwsjson11_deserializeDocumentRxNormAttributeList(&sv.Attributes, value); err != nil { return err } - case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5353,7 +5238,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -5362,7 +5246,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Category = types.RxNormEntityCategory(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5375,7 +5258,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5388,12 +5270,10 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Id = ptr.Int32(int32(i64)) } - case "RxNormConcepts": if err := awsAwsjson11_deserializeDocumentRxNormConceptList(&sv.RxNormConcepts, value); err != nil { return err } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5427,7 +5307,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -5436,12 +5315,10 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentRxNormTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5450,7 +5327,6 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Type = types.RxNormEntityType(jtv) } - default: _, _ = key, value @@ -5524,7 +5400,6 @@ func awsAwsjson11_deserializeDocumentRxNormTrait(v **types.RxNormTrait, value in } sv.Name = types.RxNormTraitName(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5558,7 +5433,6 @@ func awsAwsjson11_deserializeDocumentRxNormTrait(v **types.RxNormTrait, value in } } - default: _, _ = key, value @@ -5622,15 +5496,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5638,15 +5506,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5685,7 +5549,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -5694,7 +5557,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Category = types.SNOMEDCTEntityCategory(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5707,7 +5569,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5720,7 +5581,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Id = ptr.Int32(int32(i64)) } - case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -5754,7 +5614,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } } - case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -5763,7 +5622,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.RelationshipType = types.SNOMEDCTRelationshipType(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5797,12 +5655,10 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } } - case "SNOMEDCTConcepts": if err := awsAwsjson11_deserializeDocumentSNOMEDCTConceptList(&sv.SNOMEDCTConcepts, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -5811,12 +5667,10 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentSNOMEDCTTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5825,7 +5679,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Type = types.SNOMEDCTAttributeType(jtv) } - default: _, _ = key, value @@ -5899,7 +5752,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } sv.Code = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5908,7 +5760,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } sv.Description = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -5942,7 +5793,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } } - default: _, _ = key, value @@ -6016,7 +5866,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.Edition = ptr.String(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -6025,7 +5874,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.Language = ptr.String(jtv) } - case "VersionDate": if value != nil { jtv, ok := value.(string) @@ -6034,7 +5882,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.VersionDate = ptr.String(jtv) } - default: _, _ = key, value @@ -6070,7 +5917,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va if err := awsAwsjson11_deserializeDocumentSNOMEDCTAttributeList(&sv.Attributes, value); err != nil { return err } - case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -6083,7 +5929,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -6092,7 +5937,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Category = types.SNOMEDCTEntityCategory(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -6105,7 +5949,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -6118,7 +5961,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Id = ptr.Int32(int32(i64)) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -6152,12 +5994,10 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } } - case "SNOMEDCTConcepts": if err := awsAwsjson11_deserializeDocumentSNOMEDCTConceptList(&sv.SNOMEDCTConcepts, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -6166,12 +6006,10 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Text = ptr.String(jtv) } - case "Traits": if err := awsAwsjson11_deserializeDocumentSNOMEDCTTraitList(&sv.Traits, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6180,7 +6018,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Type = types.SNOMEDCTEntityType(jtv) } - default: _, _ = key, value @@ -6254,7 +6091,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTTrait(v **types.SNOMEDCTTrait, valu } sv.Name = types.SNOMEDCTTraitName(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -6288,7 +6124,6 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTTrait(v **types.SNOMEDCTTrait, valu } } - default: _, _ = key, value @@ -6352,15 +6187,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6368,15 +6197,11 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6401,15 +6226,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6417,15 +6236,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6460,7 +6275,6 @@ func awsAwsjson11_deserializeDocumentTrait(v **types.Trait, value interface{}) e } sv.Name = types.AttributeName(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -6494,7 +6308,6 @@ func awsAwsjson11_deserializeDocumentTrait(v **types.Trait, value interface{}) e } } - default: _, _ = key, value @@ -6564,7 +6377,6 @@ func awsAwsjson11_deserializeDocumentUnmappedAttribute(v **types.UnmappedAttribu if err := awsAwsjson11_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6573,7 +6385,6 @@ func awsAwsjson11_deserializeDocumentUnmappedAttribute(v **types.UnmappedAttribu } sv.Type = types.EntityType(jtv) } - default: _, _ = key, value @@ -6637,15 +6448,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6653,15 +6458,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6692,7 +6493,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitiesDetectionV2JobOutput(v ** if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6728,7 +6528,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeICD10CMInferenceJobOutput(v **Des if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6764,7 +6563,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePHIDetectionJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6800,7 +6598,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRxNormInferenceJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6836,7 +6633,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSNOMEDCTInferenceJobOutput(v **De if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6872,7 +6668,6 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6881,7 +6676,6 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6890,12 +6684,10 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu } sv.PaginationToken = ptr.String(jtv) } - case "UnmappedAttributes": if err := awsAwsjson11_deserializeDocumentUnmappedAttributeList(&sv.UnmappedAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -6931,7 +6723,6 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6940,7 +6731,6 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6949,12 +6739,10 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities } sv.PaginationToken = ptr.String(jtv) } - case "UnmappedAttributes": if err := awsAwsjson11_deserializeDocumentUnmappedAttributeList(&sv.UnmappedAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -6990,7 +6778,6 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6999,7 +6786,6 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -7008,7 +6794,6 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu } sv.PaginationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7044,7 +6829,6 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput if err := awsAwsjson11_deserializeDocumentICD10CMEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -7053,7 +6837,6 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -7062,7 +6845,6 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput } sv.PaginationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7098,7 +6880,6 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, if err := awsAwsjson11_deserializeDocumentRxNormEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -7107,7 +6888,6 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -7116,7 +6896,6 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, } sv.PaginationToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7152,12 +6931,10 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp if err := awsAwsjson11_deserializeDocumentCharacters(&sv.Characters, value); err != nil { return err } - case "Entities": if err := awsAwsjson11_deserializeDocumentSNOMEDCTEntityList(&sv.Entities, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -7166,7 +6943,6 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp } sv.ModelVersion = ptr.String(jtv) } - case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -7175,12 +6951,10 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp } sv.PaginationToken = ptr.String(jtv) } - case "SNOMEDCTDetails": if err := awsAwsjson11_deserializeDocumentSNOMEDCTDetails(&sv.SNOMEDCTDetails, value); err != nil { return err } - default: _, _ = key, value @@ -7216,7 +6990,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionV2JobsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7225,7 +6998,6 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionV2JobsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7261,7 +7033,6 @@ func awsAwsjson11_deserializeOpDocumentListICD10CMInferenceJobsOutput(v **ListIC if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7270,7 +7041,6 @@ func awsAwsjson11_deserializeOpDocumentListICD10CMInferenceJobsOutput(v **ListIC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7306,7 +7076,6 @@ func awsAwsjson11_deserializeOpDocumentListPHIDetectionJobsOutput(v **ListPHIDet if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7315,7 +7084,6 @@ func awsAwsjson11_deserializeOpDocumentListPHIDetectionJobsOutput(v **ListPHIDet } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7351,7 +7119,6 @@ func awsAwsjson11_deserializeOpDocumentListRxNormInferenceJobsOutput(v **ListRxN if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7360,7 +7127,6 @@ func awsAwsjson11_deserializeOpDocumentListRxNormInferenceJobsOutput(v **ListRxN } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7396,7 +7162,6 @@ func awsAwsjson11_deserializeOpDocumentListSNOMEDCTInferenceJobsOutput(v **ListS if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7405,7 +7170,6 @@ func awsAwsjson11_deserializeOpDocumentListSNOMEDCTInferenceJobsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7445,7 +7209,6 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionV2JobOutput(v **Sta } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7485,7 +7248,6 @@ func awsAwsjson11_deserializeOpDocumentStartICD10CMInferenceJobOutput(v **StartI } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7525,7 +7287,6 @@ func awsAwsjson11_deserializeOpDocumentStartPHIDetectionJobOutput(v **StartPHIDe } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7565,7 +7326,6 @@ func awsAwsjson11_deserializeOpDocumentStartRxNormInferenceJobOutput(v **StartRx } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7605,7 +7365,6 @@ func awsAwsjson11_deserializeOpDocumentStartSNOMEDCTInferenceJobOutput(v **Start } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7645,7 +7404,6 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionV2JobOutput(v **Stop } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7685,7 +7443,6 @@ func awsAwsjson11_deserializeOpDocumentStopICD10CMInferenceJobOutput(v **StopICD } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7725,7 +7482,6 @@ func awsAwsjson11_deserializeOpDocumentStopPHIDetectionJobOutput(v **StopPHIDete } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7765,7 +7521,6 @@ func awsAwsjson11_deserializeOpDocumentStopRxNormInferenceJobOutput(v **StopRxNo } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7805,7 +7560,6 @@ func awsAwsjson11_deserializeOpDocumentStopSNOMEDCTInferenceJobOutput(v **StopSN } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/computeoptimizer/deserializers.go b/service/computeoptimizer/deserializers.go index 54f7cb7feae..26cbdedabc3 100644 --- a/service/computeoptimizer/deserializers.go +++ b/service/computeoptimizer/deserializers.go @@ -3776,15 +3776,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3792,15 +3786,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3835,7 +3825,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.AccountId = ptr.String(jtv) } - case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3851,7 +3840,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3860,7 +3848,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.Status = types.Status(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3869,7 +3856,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -3947,7 +3933,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.DesiredCapacity = int32(i64) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3956,7 +3941,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.InstanceType = ptr.String(jtv) } - case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -3969,7 +3953,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.MaxSize = int32(i64) } - case "minSize": if value != nil { jtv, ok := value.(json.Number) @@ -3982,7 +3965,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.MinSize = int32(i64) } - default: _, _ = key, value @@ -4022,7 +4004,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(v * } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -4056,7 +4037,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(v * } } - default: _, _ = key, value @@ -4096,7 +4076,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AccountId = ptr.String(jtv) } - case "autoScalingGroupArn": if value != nil { jtv, ok := value.(string) @@ -4105,7 +4084,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AutoScalingGroupArn = ptr.String(jtv) } - case "autoScalingGroupName": if value != nil { jtv, ok := value.(string) @@ -4114,17 +4092,14 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AutoScalingGroupName = ptr.String(jtv) } - case "currentConfiguration": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(&sv.CurrentConfiguration, value); err != nil { return err } - case "currentInstanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.CurrentInstanceGpuInfo, value); err != nil { return err } - case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -4133,12 +4108,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -4147,12 +4120,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.Finding = types.Finding(jtv) } - case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -4168,7 +4139,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } } - case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -4202,17 +4172,14 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } } - case "recommendationOptions": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOptions(&sv.RecommendationOptions, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -4248,12 +4215,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty if err := awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(&sv.Configuration, value); err != nil { return err } - case "instanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.InstanceGpuInfo, value); err != nil { return err } - case "migrationEffort": if value != nil { jtv, ok := value.(string) @@ -4262,7 +4227,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } sv.MigrationEffort = types.MigrationEffort(jtv) } - case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -4296,12 +4260,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } } - case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -4314,17 +4276,14 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -4428,7 +4387,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDisc if err := awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -4462,7 +4420,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDisc } } - default: _, _ = key, value @@ -4502,7 +4459,6 @@ func awsAwsjson10_deserializeDocumentContainerConfiguration(v **types.ContainerC } sv.ContainerName = ptr.String(jtv) } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -4515,12 +4471,10 @@ func awsAwsjson10_deserializeDocumentContainerConfiguration(v **types.ContainerC } sv.Cpu = ptr.Int32(int32(i64)) } - case "memorySizeConfiguration": if err := awsAwsjson10_deserializeDocumentMemorySizeConfiguration(&sv.MemorySizeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4594,7 +4548,6 @@ func awsAwsjson10_deserializeDocumentContainerRecommendation(v **types.Container } sv.ContainerName = ptr.String(jtv) } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -4607,12 +4560,10 @@ func awsAwsjson10_deserializeDocumentContainerRecommendation(v **types.Container } sv.Cpu = ptr.Int32(int32(i64)) } - case "memorySizeConfiguration": if err := awsAwsjson10_deserializeDocumentMemorySizeConfiguration(&sv.MemorySizeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4726,7 +4677,6 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.High = i64 } - case "low": if value != nil { jtv, ok := value.(json.Number) @@ -4739,7 +4689,6 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.Low = i64 } - case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -4752,7 +4701,6 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.Medium = i64 } - case "veryLow": if value != nil { jtv, ok := value.(json.Number) @@ -4765,7 +4713,6 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.VeryLow = i64 } - default: _, _ = key, value @@ -4805,7 +4752,6 @@ func awsAwsjson10_deserializeDocumentCustomizableMetricParameters(v **types.Cust } sv.Headroom = types.CustomizableMetricHeadroom(jtv) } - case "threshold": if value != nil { jtv, ok := value.(string) @@ -4814,7 +4760,6 @@ func awsAwsjson10_deserializeDocumentCustomizableMetricParameters(v **types.Cust } sv.Threshold = types.CustomizableMetricThreshold(jtv) } - default: _, _ = key, value @@ -4858,7 +4803,6 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.AllocatedStorage = int32(i64) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -4871,7 +4815,6 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.Iops = ptr.Int32(int32(i64)) } - case "maxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -4884,7 +4827,6 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.MaxAllocatedStorage = ptr.Int32(int32(i64)) } - case "storageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -4897,7 +4839,6 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.StorageThroughput = ptr.Int32(int32(i64)) } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -4906,7 +4847,6 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -4942,7 +4882,6 @@ func awsAwsjson10_deserializeDocumentEBSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentEBSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } - default: _, _ = key, value @@ -4982,7 +4921,6 @@ func awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(v **types.EBSEst } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -5016,7 +4954,6 @@ func awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(v **types.EBSEst } } - default: _, _ = key, value @@ -5056,7 +4993,6 @@ func awsAwsjson10_deserializeDocumentEBSSavingsEstimationMode(v **types.EBSSavin } sv.Source = types.EBSSavingsEstimationModeSource(jtv) } - default: _, _ = key, value @@ -5092,7 +5028,6 @@ func awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(v **typ if err := awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -5126,7 +5061,6 @@ func awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(v **typ } } - default: _, _ = key, value @@ -5166,7 +5100,6 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } sv.Name = types.EBSMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -5175,7 +5108,6 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } sv.Statistic = types.MetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -5209,7 +5141,6 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } } - default: _, _ = key, value @@ -5279,7 +5210,6 @@ func awsAwsjson10_deserializeDocumentECSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentECSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } - default: _, _ = key, value @@ -5319,7 +5249,6 @@ func awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(v **types.ECSEst } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -5353,7 +5282,6 @@ func awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(v **types.ECSEst } } - default: _, _ = key, value @@ -5393,7 +5321,6 @@ func awsAwsjson10_deserializeDocumentECSSavingsEstimationMode(v **types.ECSSavin } sv.Source = types.ECSSavingsEstimationModeSource(jtv) } - default: _, _ = key, value @@ -5429,7 +5356,6 @@ func awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(v **typ if err := awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -5463,7 +5389,6 @@ func awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(v **typ } } - default: _, _ = key, value @@ -5499,7 +5424,6 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedMetric(v **types.ECSServ if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.LowerBoundValues, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5508,17 +5432,14 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedMetric(v **types.ECSServ } sv.Name = types.ECSServiceMetricName(jtv) } - case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } - case "upperBoundValues": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.UpperBoundValues, value); err != nil { return err } - default: _, _ = key, value @@ -5617,7 +5538,6 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5626,7 +5546,6 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } sv.Name = types.ECSServiceMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -5635,7 +5554,6 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } sv.Statistic = types.ECSServiceMetricStatistic(jtv) } - case "upperBoundValue": if value != nil { switch jtv := value.(type) { @@ -5669,7 +5587,6 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } } - default: _, _ = key, value @@ -5743,7 +5660,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.AccountId = ptr.String(jtv) } - case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -5752,17 +5668,14 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } - case "currentServiceConfiguration": if err := awsAwsjson10_deserializeDocumentServiceConfiguration(&sv.CurrentServiceConfiguration, value); err != nil { return err } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentECSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -5771,12 +5684,10 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.Finding = types.ECSServiceRecommendationFinding(jtv) } - case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentECSServiceRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -5792,7 +5703,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -5801,7 +5711,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.LaunchType = types.ECSServiceLaunchType(jtv) } - case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -5835,7 +5744,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -5844,22 +5752,18 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.ServiceArn = ptr.String(jtv) } - case "serviceRecommendationOptions": if err := awsAwsjson10_deserializeDocumentECSServiceRecommendationOptions(&sv.ServiceRecommendationOptions, value); err != nil { return err } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentECSServiceUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -5931,7 +5835,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC if err := awsAwsjson10_deserializeDocumentContainerRecommendations(&sv.ContainerRecommendations, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -5944,7 +5847,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC } sv.Cpu = ptr.Int32(int32(i64)) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -5957,22 +5859,18 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC } sv.Memory = ptr.Int32(int32(i64)) } - case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -6076,7 +5974,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( if err := awsAwsjson10_deserializeDocumentECSServiceProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } - case "recommendedCpuUnits": if value != nil { jtv, ok := value.(json.Number) @@ -6089,7 +5986,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( } sv.RecommendedCpuUnits = int32(i64) } - case "recommendedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -6102,7 +5998,6 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( } sv.RecommendedMemorySize = int32(i64) } - default: _, _ = key, value @@ -6176,7 +6071,6 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } sv.Name = types.ECSServiceMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -6185,7 +6079,6 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } sv.Statistic = types.ECSServiceMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -6219,7 +6112,6 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } } - default: _, _ = key, value @@ -6289,17 +6181,14 @@ func awsAwsjson10_deserializeDocumentEffectivePreferredResource(v **types.Effect if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.EffectiveIncludeList, value); err != nil { return err } - case "excludeList": if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.ExcludeList, value); err != nil { return err } - case "includeList": if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.IncludeList, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6308,7 +6197,6 @@ func awsAwsjson10_deserializeDocumentEffectivePreferredResource(v **types.Effect } sv.Name = types.PreferredResourceName(jtv) } - default: _, _ = key, value @@ -6378,7 +6266,6 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type if err := awsAwsjson10_deserializeDocumentCpuVendorArchitectures(&sv.CpuVendorArchitectures, value); err != nil { return err } - case "enhancedInfrastructureMetrics": if value != nil { jtv, ok := value.(string) @@ -6387,12 +6274,10 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } - case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } - case "inferredWorkloadTypes": if value != nil { jtv, ok := value.(string) @@ -6401,7 +6286,6 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.InferredWorkloadTypes = types.InferredWorkloadTypesPreference(jtv) } - case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -6410,22 +6294,18 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } - case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } - case "savingsEstimationMode": if err := awsAwsjson10_deserializeDocumentInstanceSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } - case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } - default: _, _ = key, value @@ -6465,7 +6345,6 @@ func awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(v **types.Estimated } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -6499,7 +6378,6 @@ func awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(v **types.Estimated } } - default: _, _ = key, value @@ -6535,7 +6413,6 @@ func awsAwsjson10_deserializeDocumentExportDestination(v **types.ExportDestinati if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -6575,7 +6452,6 @@ func awsAwsjson10_deserializeDocumentExternalMetricsPreference(v **types.Externa } sv.Source = types.ExternalMetricsSource(jtv) } - default: _, _ = key, value @@ -6615,7 +6491,6 @@ func awsAwsjson10_deserializeDocumentExternalMetricStatus(v **types.ExternalMetr } sv.StatusCode = types.ExternalMetricStatusCode(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6624,7 +6499,6 @@ func awsAwsjson10_deserializeDocumentExternalMetricStatus(v **types.ExternalMetr } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6664,7 +6538,6 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Code = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -6673,7 +6546,6 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Identifier = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6682,7 +6554,6 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -6760,7 +6631,6 @@ func awsAwsjson10_deserializeDocumentGpu(v **types.Gpu, value interface{}) error } sv.GpuCount = int32(i64) } - case "gpuMemorySizeInMiB": if value != nil { jtv, ok := value.(json.Number) @@ -6773,7 +6643,6 @@ func awsAwsjson10_deserializeDocumentGpu(v **types.Gpu, value interface{}) error } sv.GpuMemorySizeInMiB = int32(i64) } - default: _, _ = key, value @@ -6809,7 +6678,6 @@ func awsAwsjson10_deserializeDocumentGpuInfo(v **types.GpuInfo, value interface{ if err := awsAwsjson10_deserializeDocumentGpus(&sv.Gpus, value); err != nil { return err } - default: _, _ = key, value @@ -6879,12 +6747,10 @@ func awsAwsjson10_deserializeDocumentInferredWorkloadSaving(v **types.InferredWo if err := awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } - default: _, _ = key, value @@ -6994,7 +6860,6 @@ func awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(v **types.I } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7028,7 +6893,6 @@ func awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(v **types.I } } - default: _, _ = key, value @@ -7068,12 +6932,10 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.AccountId = ptr.String(jtv) } - case "currentInstanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.CurrentInstanceGpuInfo, value); err != nil { return err } - case "currentInstanceType": if value != nil { jtv, ok := value.(string) @@ -7082,7 +6944,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.CurrentInstanceType = ptr.String(jtv) } - case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -7091,17 +6952,14 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "externalMetricStatus": if err := awsAwsjson10_deserializeDocumentExternalMetricStatus(&sv.ExternalMetricStatus, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -7110,12 +6968,10 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.Finding = types.Finding(jtv) } - case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentInstanceRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } - case "idle": if value != nil { jtv, ok := value.(string) @@ -7124,12 +6980,10 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.Idle = types.InstanceIdle(jtv) } - case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -7138,7 +6992,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceArn = ptr.String(jtv) } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -7147,7 +7000,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceName = ptr.String(jtv) } - case "instanceState": if value != nil { jtv, ok := value.(string) @@ -7156,7 +7008,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceState = types.InstanceState(jtv) } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -7172,7 +7023,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } } - case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -7206,27 +7056,22 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } } - case "recommendationOptions": if err := awsAwsjson10_deserializeDocumentRecommendationOptions(&sv.RecommendationOptions, value); err != nil { return err } - case "recommendationSources": if err := awsAwsjson10_deserializeDocumentRecommendationSources(&sv.RecommendationSources, value); err != nil { return err } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -7298,7 +7143,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.InstanceGpuInfo, value); err != nil { return err } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -7307,7 +7151,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.InstanceType = ptr.String(jtv) } - case "migrationEffort": if value != nil { jtv, ok := value.(string) @@ -7316,7 +7159,6 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.MigrationEffort = types.MigrationEffort(jtv) } - case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -7350,17 +7192,14 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } } - case "platformDifferences": if err := awsAwsjson10_deserializeDocumentPlatformDifferences(&sv.PlatformDifferences, value); err != nil { return err } - case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -7373,17 +7212,14 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -7457,7 +7293,6 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsEstimationMode(v **types.Ins } sv.Source = types.InstanceSavingsEstimationModeSource(jtv) } - default: _, _ = key, value @@ -7493,7 +7328,6 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(v if err := awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -7527,7 +7361,6 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(v } } - default: _, _ = key, value @@ -7557,15 +7390,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7573,15 +7400,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7606,15 +7429,9 @@ func awsAwsjson10_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7622,15 +7439,11 @@ func awsAwsjson10_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7661,7 +7474,6 @@ func awsAwsjson10_deserializeDocumentLambdaEffectiveRecommendationPreferences(v if err := awsAwsjson10_deserializeDocumentLambdaSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } - default: _, _ = key, value @@ -7701,7 +7513,6 @@ func awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(v **types.Lam } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7735,7 +7546,6 @@ func awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(v **types.Lam } } - default: _, _ = key, value @@ -7775,7 +7585,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } sv.Name = types.LambdaFunctionMemoryMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -7784,7 +7593,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } sv.Statistic = types.LambdaFunctionMemoryMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7818,7 +7626,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } } - default: _, _ = key, value @@ -7896,12 +7703,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOption(v } sv.MemorySize = int32(i64) } - case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -7914,17 +7719,14 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOption(v } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -7998,7 +7800,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.AccountId = ptr.String(jtv) } - case "currentMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -8011,7 +7812,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.CurrentMemorySize = int32(i64) } - case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -8020,12 +7820,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentLambdaEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -8034,12 +7832,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.Finding = types.LambdaFunctionRecommendationFinding(jtv) } - case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } - case "functionArn": if value != nil { jtv, ok := value.(string) @@ -8048,7 +7844,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.FunctionArn = ptr.String(jtv) } - case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -8057,7 +7852,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.FunctionVersion = ptr.String(jtv) } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -8073,7 +7867,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } } - case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -8107,12 +7900,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } } - case "memorySizeRecommendationOptions": if err := awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOptions(&sv.MemorySizeRecommendationOptions, value); err != nil { return err } - case "numberOfInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -8125,17 +7916,14 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.NumberOfInvocations = i64 } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -8245,7 +8033,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } sv.Name = types.LambdaFunctionMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -8254,7 +8041,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } sv.Statistic = types.LambdaFunctionMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -8288,7 +8074,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } } - default: _, _ = key, value @@ -8362,7 +8147,6 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsEstimationMode(v **types.Lambd } sv.Source = types.LambdaSavingsEstimationModeSource(jtv) } - default: _, _ = key, value @@ -8398,7 +8182,6 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(v ** if err := awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -8432,7 +8215,6 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(v ** } } - default: _, _ = key, value @@ -8472,7 +8254,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.InstanceType = ptr.String(jtv) } - case "licenseEdition": if value != nil { jtv, ok := value.(string) @@ -8481,7 +8262,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseEdition = types.LicenseEdition(jtv) } - case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -8490,7 +8270,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseModel = types.LicenseModel(jtv) } - case "licenseName": if value != nil { jtv, ok := value.(string) @@ -8499,7 +8278,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseName = types.LicenseName(jtv) } - case "licenseVersion": if value != nil { jtv, ok := value.(string) @@ -8508,12 +8286,10 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseVersion = ptr.String(jtv) } - case "metricsSource": if err := awsAwsjson10_deserializeDocumentMetricsSource(&sv.MetricsSource, value); err != nil { return err } - case "numberOfCores": if value != nil { jtv, ok := value.(json.Number) @@ -8526,7 +8302,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.NumberOfCores = int32(i64) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -8535,7 +8310,6 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.OperatingSystem = ptr.String(jtv) } - default: _, _ = key, value @@ -8611,12 +8385,10 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.AccountId = ptr.String(jtv) } - case "currentLicenseConfiguration": if err := awsAwsjson10_deserializeDocumentLicenseConfiguration(&sv.CurrentLicenseConfiguration, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -8625,12 +8397,10 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.Finding = types.LicenseFinding(jtv) } - case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentLicenseFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -8646,12 +8416,10 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } } - case "licenseRecommendationOptions": if err := awsAwsjson10_deserializeDocumentLicenseRecommendationOptions(&sv.LicenseRecommendationOptions, value); err != nil { return err } - case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -8685,7 +8453,6 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8694,12 +8461,10 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.ResourceArn = ptr.String(jtv) } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8739,7 +8504,6 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.LicenseEdition = types.LicenseEdition(jtv) } - case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -8748,7 +8512,6 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.LicenseModel = types.LicenseModel(jtv) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -8757,7 +8520,6 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.OperatingSystem = ptr.String(jtv) } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -8770,12 +8532,10 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - default: _, _ = key, value @@ -8873,15 +8633,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8889,15 +8643,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8936,7 +8686,6 @@ func awsAwsjson10_deserializeDocumentMemorySizeConfiguration(v **types.MemorySiz } sv.Memory = ptr.Int32(int32(i64)) } - case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -8949,7 +8698,6 @@ func awsAwsjson10_deserializeDocumentMemorySizeConfiguration(v **types.MemorySiz } sv.MemoryReservation = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8989,7 +8737,6 @@ func awsAwsjson10_deserializeDocumentMetricSource(v **types.MetricSource, value } sv.Provider = types.MetricSourceProvider(jtv) } - case "providerArn": if value != nil { jtv, ok := value.(string) @@ -8998,7 +8745,6 @@ func awsAwsjson10_deserializeDocumentMetricSource(v **types.MetricSource, value } sv.ProviderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9123,15 +8869,9 @@ func awsAwsjson10_deserializeDocumentMissingAuthenticationToken(v **types.Missin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9139,15 +8879,11 @@ func awsAwsjson10_deserializeDocumentMissingAuthenticationToken(v **types.Missin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9172,15 +8908,9 @@ func awsAwsjson10_deserializeDocumentOptInRequiredException(v **types.OptInRequi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9188,15 +8918,11 @@ func awsAwsjson10_deserializeDocumentOptInRequiredException(v **types.OptInRequi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9303,17 +9029,14 @@ func awsAwsjson10_deserializeDocumentProjectedMetric(v **types.ProjectedMetric, } sv.Name = types.MetricName(jtv) } - case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } - case "values": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9421,17 +9144,14 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseProjectedMetric(v **types.RDSDat } sv.Name = types.RDSDBMetricName(jtv) } - case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } - case "values": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9501,7 +9221,6 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric if err := awsAwsjson10_deserializeDocumentRDSDatabaseProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -9514,7 +9233,6 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric } sv.Rank = int32(i64) } - case "recommendedDBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -9523,7 +9241,6 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric } sv.RecommendedDBInstanceClass = ptr.String(jtv) } - default: _, _ = key, value @@ -9597,7 +9314,6 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } sv.DbInstanceClass = ptr.String(jtv) } - case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -9631,12 +9347,10 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } } - case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentRDSDBProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -9649,17 +9363,14 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -9767,7 +9478,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.AccountId = ptr.String(jtv) } - case "currentDBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -9776,17 +9486,14 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.CurrentDBInstanceClass = ptr.String(jtv) } - case "currentStorageConfiguration": if err := awsAwsjson10_deserializeDocumentDBStorageConfiguration(&sv.CurrentStorageConfiguration, value); err != nil { return err } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "engine": if value != nil { jtv, ok := value.(string) @@ -9795,7 +9502,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.Engine = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -9804,7 +9510,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.EngineVersion = ptr.String(jtv) } - case "idle": if value != nil { jtv, ok := value.(string) @@ -9813,7 +9518,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.Idle = types.Idle(jtv) } - case "instanceFinding": if value != nil { jtv, ok := value.(string) @@ -9822,17 +9526,14 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.InstanceFinding = types.RDSInstanceFinding(jtv) } - case "instanceFindingReasonCodes": if err := awsAwsjson10_deserializeDocumentRDSInstanceFindingReasonCodes(&sv.InstanceFindingReasonCodes, value); err != nil { return err } - case "instanceRecommendationOptions": if err := awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOptions(&sv.InstanceRecommendationOptions, value); err != nil { return err } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -9848,7 +9549,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } } - case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -9882,7 +9582,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9891,7 +9590,6 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.ResourceArn = ptr.String(jtv) } - case "storageFinding": if value != nil { jtv, ok := value.(string) @@ -9900,27 +9598,22 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.StorageFinding = types.RDSStorageFinding(jtv) } - case "storageFindingReasonCodes": if err := awsAwsjson10_deserializeDocumentRDSStorageFindingReasonCodes(&sv.StorageFindingReasonCodes, value); err != nil { return err } - case "storageRecommendationOptions": if err := awsAwsjson10_deserializeDocumentRDSDBStorageRecommendationOptions(&sv.StorageRecommendationOptions, value); err != nil { return err } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentRDSDBUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -9998,22 +9691,18 @@ func awsAwsjson10_deserializeDocumentRDSDBStorageRecommendationOption(v **types. } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - case "storageConfiguration": if err := awsAwsjson10_deserializeDocumentDBStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10087,7 +9776,6 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } sv.Name = types.RDSDBMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -10096,7 +9784,6 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } sv.Statistic = types.RDSDBMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -10130,7 +9817,6 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } } - default: _, _ = key, value @@ -10200,7 +9886,6 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentCpuVendorArchitectures(&sv.CpuVendorArchitectures, value); err != nil { return err } - case "enhancedInfrastructureMetrics": if value != nil { jtv, ok := value.(string) @@ -10209,7 +9894,6 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } - case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -10218,12 +9902,10 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } - case "savingsEstimationMode": if err := awsAwsjson10_deserializeDocumentRDSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } - default: _, _ = key, value @@ -10263,7 +9945,6 @@ func awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(v **type } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -10297,7 +9978,6 @@ func awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(v **type } } - default: _, _ = key, value @@ -10369,7 +10049,6 @@ func awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts if err := awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -10403,7 +10082,6 @@ func awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts } } - default: _, _ = key, value @@ -10443,7 +10121,6 @@ func awsAwsjson10_deserializeDocumentRDSSavingsEstimationMode(v **types.RDSSavin } sv.Source = types.RDSSavingsEstimationModeSource(jtv) } - default: _, _ = key, value @@ -10483,7 +10160,6 @@ func awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(v **types } sv.Currency = types.Currency(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -10517,7 +10193,6 @@ func awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(v **types } } - default: _, _ = key, value @@ -10589,7 +10264,6 @@ func awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts( if err := awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -10623,7 +10297,6 @@ func awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts( } } - default: _, _ = key, value @@ -10697,7 +10370,6 @@ func awsAwsjson10_deserializeDocumentReasonCodeSummary(v **types.ReasonCodeSumma } sv.Name = types.FindingReasonCode(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -10731,7 +10403,6 @@ func awsAwsjson10_deserializeDocumentReasonCodeSummary(v **types.ReasonCodeSumma } } - default: _, _ = key, value @@ -10778,12 +10449,10 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } } - case "destination": if err := awsAwsjson10_deserializeDocumentExportDestination(&sv.Destination, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10792,7 +10461,6 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.FailureReason = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -10801,7 +10469,6 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.JobId = ptr.String(jtv) } - case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10817,7 +10484,6 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10826,7 +10492,6 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10835,7 +10500,6 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -10943,12 +10607,10 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } - case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } - case "inferredWorkloadTypes": if value != nil { jtv, ok := value.(string) @@ -10957,7 +10619,6 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.InferredWorkloadTypes = types.InferredWorkloadTypesPreference(jtv) } - case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -10966,12 +10627,10 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } - case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10980,7 +10639,6 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.ResourceType = types.ResourceType(jtv) } - case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -10989,17 +10647,14 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } - case "scope": if err := awsAwsjson10_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } - case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } - default: _, _ = key, value @@ -11073,7 +10728,6 @@ func awsAwsjson10_deserializeDocumentRecommendationSource(v **types.Recommendati } sv.RecommendationSourceArn = ptr.String(jtv) } - case "recommendationSourceType": if value != nil { jtv, ok := value.(string) @@ -11082,7 +10736,6 @@ func awsAwsjson10_deserializeDocumentRecommendationSource(v **types.Recommendati } sv.RecommendationSourceType = types.RecommendationSourceType(jtv) } - default: _, _ = key, value @@ -11190,17 +10843,14 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.AccountId = ptr.String(jtv) } - case "currentPerformanceRiskRatings": if err := awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(&sv.CurrentPerformanceRiskRatings, value); err != nil { return err } - case "inferredWorkloadSavings": if err := awsAwsjson10_deserializeDocumentInferredWorkloadSavings(&sv.InferredWorkloadSavings, value); err != nil { return err } - case "recommendationResourceType": if value != nil { jtv, ok := value.(string) @@ -11209,17 +10859,14 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationResourceType = types.RecommendationSourceType(jtv) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "summaries": if err := awsAwsjson10_deserializeDocumentSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -11255,7 +10902,6 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. if err := awsAwsjson10_deserializeDocumentProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -11268,7 +10914,6 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. } sv.Rank = int32(i64) } - case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -11277,7 +10922,6 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. } sv.RecommendedInstanceType = ptr.String(jtv) } - default: _, _ = key, value @@ -11341,15 +10985,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11357,15 +10995,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11400,7 +11034,6 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -11409,7 +11042,6 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Key = ptr.String(jtv) } - case "metadataKey": if value != nil { jtv, ok := value.(string) @@ -11418,7 +11050,6 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.MetadataKey = ptr.String(jtv) } - default: _, _ = key, value @@ -11454,7 +11085,6 @@ func awsAwsjson10_deserializeDocumentSavingsOpportunity(v **types.SavingsOpportu if err := awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } - case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -11488,7 +11118,6 @@ func awsAwsjson10_deserializeDocumentSavingsOpportunity(v **types.SavingsOpportu } } - default: _, _ = key, value @@ -11528,7 +11157,6 @@ func awsAwsjson10_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Name = types.ScopeName(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11537,7 +11165,6 @@ func awsAwsjson10_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11577,12 +11204,10 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.AutoScalingConfiguration = types.AutoScalingConfiguration(jtv) } - case "containerConfigurations": if err := awsAwsjson10_deserializeDocumentContainerConfigurations(&sv.ContainerConfigurations, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -11595,7 +11220,6 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.Cpu = ptr.Int32(int32(i64)) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -11608,7 +11232,6 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.Memory = ptr.Int32(int32(i64)) } - case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -11617,7 +11240,6 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.TaskDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11647,15 +11269,9 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11663,15 +11279,11 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11740,12 +11352,10 @@ func awsAwsjson10_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.Name = types.Finding(jtv) } - case "reasonCodeSummaries": if err := awsAwsjson10_deserializeDocumentReasonCodeSummaries(&sv.ReasonCodeSummaries, value); err != nil { return err } - case "value": if value != nil { switch jtv := value.(type) { @@ -11779,7 +11389,6 @@ func awsAwsjson10_deserializeDocumentSummary(v **types.Summary, value interface{ } } - default: _, _ = key, value @@ -11819,7 +11428,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11828,7 +11436,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11892,15 +11499,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11908,15 +11509,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11994,7 +11591,6 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } sv.Name = types.MetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -12003,7 +11599,6 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } sv.Statistic = types.MetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -12037,7 +11632,6 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } } - default: _, _ = key, value @@ -12111,12 +11705,10 @@ func awsAwsjson10_deserializeDocumentUtilizationPreference(v **types.Utilization } sv.MetricName = types.CustomizableMetricName(jtv) } - case "metricParameters": if err := awsAwsjson10_deserializeDocumentCustomizableMetricParameters(&sv.MetricParameters, value); err != nil { return err } - default: _, _ = key, value @@ -12190,7 +11782,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.RootVolume = ptr.Bool(jtv) } - case "volumeBaselineIOPS": if value != nil { jtv, ok := value.(json.Number) @@ -12203,7 +11794,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBaselineIOPS = int32(i64) } - case "volumeBaselineThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -12216,7 +11806,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBaselineThroughput = int32(i64) } - case "volumeBurstIOPS": if value != nil { jtv, ok := value.(json.Number) @@ -12229,7 +11818,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBurstIOPS = int32(i64) } - case "volumeBurstThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -12242,7 +11830,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBurstThroughput = int32(i64) } - case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12255,7 +11842,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeSize = int32(i64) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -12264,7 +11850,6 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -12304,12 +11889,10 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.AccountId = ptr.String(jtv) } - case "currentConfiguration": if err := awsAwsjson10_deserializeDocumentVolumeConfiguration(&sv.CurrentConfiguration, value); err != nil { return err } - case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -12318,12 +11901,10 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } - case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEBSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } - case "finding": if value != nil { jtv, ok := value.(string) @@ -12332,7 +11913,6 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.Finding = types.EBSFinding(jtv) } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -12348,7 +11928,6 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } } - case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -12382,17 +11961,14 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } } - case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentEBSUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -12401,12 +11977,10 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.VolumeArn = ptr.String(jtv) } - case "volumeRecommendationOptions": if err := awsAwsjson10_deserializeDocumentVolumeRecommendationOptions(&sv.VolumeRecommendationOptions, value); err != nil { return err } - default: _, _ = key, value @@ -12442,7 +12016,6 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume if err := awsAwsjson10_deserializeDocumentVolumeConfiguration(&sv.Configuration, value); err != nil { return err } - case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -12476,7 +12049,6 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume } } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -12489,17 +12061,14 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume } sv.Rank = int32(i64) } - case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } - case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } - default: _, _ = key, value @@ -12638,12 +12207,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRecommendationExportJobsOutput(v } sv.NextToken = ptr.String(jtv) } - case "recommendationExportJobs": if err := awsAwsjson10_deserializeDocumentRecommendationExportJobs(&sv.RecommendationExportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -12683,12 +12250,10 @@ func awsAwsjson10_deserializeOpDocumentExportAutoScalingGroupRecommendationsOutp } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12728,12 +12293,10 @@ func awsAwsjson10_deserializeOpDocumentExportEBSVolumeRecommendationsOutput(v ** } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12773,12 +12336,10 @@ func awsAwsjson10_deserializeOpDocumentExportEC2InstanceRecommendationsOutput(v } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12818,12 +12379,10 @@ func awsAwsjson10_deserializeOpDocumentExportECSServiceRecommendationsOutput(v * } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12863,12 +12422,10 @@ func awsAwsjson10_deserializeOpDocumentExportLambdaFunctionRecommendationsOutput } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12908,12 +12465,10 @@ func awsAwsjson10_deserializeOpDocumentExportLicenseRecommendationsOutput(v **Ex } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12953,12 +12508,10 @@ func awsAwsjson10_deserializeOpDocumentExportRDSDatabaseRecommendationsOutput(v } sv.JobId = ptr.String(jtv) } - case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -12994,12 +12547,10 @@ func awsAwsjson10_deserializeOpDocumentGetAutoScalingGroupRecommendationsOutput( if err := awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendations(&sv.AutoScalingGroupRecommendations, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13008,7 +12559,6 @@ func awsAwsjson10_deserializeOpDocumentGetAutoScalingGroupRecommendationsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13044,7 +12594,6 @@ func awsAwsjson10_deserializeOpDocumentGetEBSVolumeRecommendationsOutput(v **Get if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13053,12 +12602,10 @@ func awsAwsjson10_deserializeOpDocumentGetEBSVolumeRecommendationsOutput(v **Get } sv.NextToken = ptr.String(jtv) } - case "volumeRecommendations": if err := awsAwsjson10_deserializeDocumentVolumeRecommendations(&sv.VolumeRecommendations, value); err != nil { return err } - default: _, _ = key, value @@ -13094,12 +12641,10 @@ func awsAwsjson10_deserializeOpDocumentGetEC2InstanceRecommendationsOutput(v **G if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "instanceRecommendations": if err := awsAwsjson10_deserializeDocumentInstanceRecommendations(&sv.InstanceRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13108,7 +12653,6 @@ func awsAwsjson10_deserializeOpDocumentGetEC2InstanceRecommendationsOutput(v **G } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13144,7 +12688,6 @@ func awsAwsjson10_deserializeOpDocumentGetEC2RecommendationProjectedMetricsOutpu if err := awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -13180,7 +12723,6 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationProjectedMetri if err := awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -13216,12 +12758,10 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationsOutput(v **Ge if err := awsAwsjson10_deserializeDocumentECSServiceRecommendations(&sv.EcsServiceRecommendations, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13230,7 +12770,6 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationsOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13270,12 +12809,10 @@ func awsAwsjson10_deserializeOpDocumentGetEffectiveRecommendationPreferencesOutp } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } - case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } - case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -13284,17 +12821,14 @@ func awsAwsjson10_deserializeOpDocumentGetEffectiveRecommendationPreferencesOutp } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } - case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } - case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } - default: _, _ = key, value @@ -13330,7 +12864,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusesForOrganizationOutpu if err := awsAwsjson10_deserializeDocumentAccountEnrollmentStatuses(&sv.AccountEnrollmentStatuses, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13339,7 +12872,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusesForOrganizationOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13386,7 +12918,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } } - case "memberAccountsEnrolled": if value != nil { jtv, ok := value.(bool) @@ -13395,7 +12926,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.MemberAccountsEnrolled = jtv } - case "numberOfMemberAccountsOptedIn": if value != nil { jtv, ok := value.(json.Number) @@ -13408,7 +12938,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.NumberOfMemberAccountsOptedIn = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13417,7 +12946,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.Status = types.Status(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13426,7 +12954,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13462,7 +12989,6 @@ func awsAwsjson10_deserializeOpDocumentGetLambdaFunctionRecommendationsOutput(v if err := awsAwsjson10_deserializeDocumentLambdaFunctionRecommendations(&sv.LambdaFunctionRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13471,7 +12997,6 @@ func awsAwsjson10_deserializeOpDocumentGetLambdaFunctionRecommendationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13507,12 +13032,10 @@ func awsAwsjson10_deserializeOpDocumentGetLicenseRecommendationsOutput(v **GetLi if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "licenseRecommendations": if err := awsAwsjson10_deserializeDocumentLicenseRecommendations(&sv.LicenseRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13521,7 +13044,6 @@ func awsAwsjson10_deserializeOpDocumentGetLicenseRecommendationsOutput(v **GetLi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13557,7 +13079,6 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationProjectedMetr if err := awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -13593,7 +13114,6 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationsOutput(v **G if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13602,12 +13122,10 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationsOutput(v **G } sv.NextToken = ptr.String(jtv) } - case "rdsDBRecommendations": if err := awsAwsjson10_deserializeDocumentRDSDBRecommendations(&sv.RdsDBRecommendations, value); err != nil { return err } - default: _, _ = key, value @@ -13647,12 +13165,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationPreferencesOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - case "recommendationPreferencesDetails": if err := awsAwsjson10_deserializeDocumentRecommendationPreferencesDetails(&sv.RecommendationPreferencesDetails, value); err != nil { return err } - default: _, _ = key, value @@ -13692,12 +13208,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationSummariesOutput(v **GetR } sv.NextToken = ptr.String(jtv) } - case "recommendationSummaries": if err := awsAwsjson10_deserializeDocumentRecommendationSummaries(&sv.RecommendationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -13768,7 +13282,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.Status = types.Status(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13777,7 +13290,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/configservice/deserializers.go b/service/configservice/deserializers.go index 91bd2f1f136..5294a011311 100644 --- a/service/configservice/deserializers.go +++ b/service/configservice/deserializers.go @@ -12283,7 +12283,6 @@ func awsAwsjson11_deserializeDocumentAccountAggregationSource(v **types.AccountA if err := awsAwsjson11_deserializeDocumentAccountAggregationSourceAccountList(&sv.AccountIds, value); err != nil { return err } - case "AllAwsRegions": if value != nil { jtv, ok := value.(bool) @@ -12292,12 +12291,10 @@ func awsAwsjson11_deserializeDocumentAccountAggregationSource(v **types.AccountA } sv.AllAwsRegions = jtv } - case "AwsRegions": if err := awsAwsjson11_deserializeDocumentAggregatorRegionList(&sv.AwsRegions, value); err != nil { return err } - default: _, _ = key, value @@ -12407,7 +12404,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.AccountId = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -12416,12 +12412,10 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.AwsRegion = ptr.String(jtv) } - case "Compliance": if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -12430,7 +12424,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.ConfigRuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -12504,7 +12497,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.AccountId = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -12513,12 +12505,10 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.AwsRegion = ptr.String(jtv) } - case "Compliance": if err := awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(&sv.Compliance, value); err != nil { return err } - case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -12527,7 +12517,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.ConformancePackName = ptr.String(jtv) } - default: _, _ = key, value @@ -12597,7 +12586,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceCount(v **types.Aggregat if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12606,7 +12594,6 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceCount(v **types.Aggregat } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12680,7 +12667,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } - case "CompliantRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12693,7 +12679,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.CompliantRuleCount = int32(i64) } - case "NonCompliantRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12706,7 +12691,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.NonCompliantRuleCount = int32(i64) } - case "TotalRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12719,7 +12703,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.TotalRuleCount = int32(i64) } - default: _, _ = key, value @@ -12763,7 +12746,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(v * } sv.CompliantConformancePackCount = int32(i64) } - case "NonCompliantConformancePackCount": if value != nil { jtv, ok := value.(json.Number) @@ -12776,7 +12758,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(v * } sv.NonCompliantConformancePackCount = int32(i64) } - default: _, _ = key, value @@ -12812,7 +12793,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummary(v if err := awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(&sv.ComplianceSummary, value); err != nil { return err } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12821,7 +12801,6 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummary(v } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12895,7 +12874,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.AwsRegion = ptr.String(jtv) } - case "LastErrorCode": if value != nil { jtv, ok := value.(string) @@ -12904,7 +12882,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastErrorCode = ptr.String(jtv) } - case "LastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12913,7 +12890,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastErrorMessage = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -12922,7 +12898,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastUpdateStatus = types.AggregatedSourceStatusType(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -12938,7 +12913,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -12947,7 +12921,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.SourceId = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -12956,7 +12929,6 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.SourceType = types.AggregatedSourceType(jtv) } - default: _, _ = key, value @@ -13030,7 +13002,6 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.AccountId = ptr.String(jtv) } - case "Annotation": if value != nil { jtv, ok := value.(string) @@ -13039,7 +13010,6 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.Annotation = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -13048,7 +13018,6 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.AwsRegion = ptr.String(jtv) } - case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -13057,7 +13026,6 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.ComplianceType = types.ComplianceType(jtv) } - case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -13073,12 +13041,10 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } } - case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } - case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -13094,7 +13060,6 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } } - default: _, _ = key, value @@ -13168,7 +13133,6 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceId = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -13177,7 +13141,6 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13186,7 +13149,6 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceType = types.ResourceType(jtv) } - case "SourceAccountId": if value != nil { jtv, ok := value.(string) @@ -13195,7 +13157,6 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.SourceAccountId = ptr.String(jtv) } - case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -13204,7 +13165,6 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -13244,7 +13204,6 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AggregationAuthorizationArn = ptr.String(jtv) } - case "AuthorizedAccountId": if value != nil { jtv, ok := value.(string) @@ -13253,7 +13212,6 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AuthorizedAccountId = ptr.String(jtv) } - case "AuthorizedAwsRegion": if value != nil { jtv, ok := value.(string) @@ -13262,7 +13220,6 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AuthorizedAwsRegion = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13278,7 +13235,6 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } } - default: _, _ = key, value @@ -13388,7 +13344,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13397,7 +13352,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -13406,7 +13360,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AvailabilityZone = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13415,7 +13368,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AwsRegion = ptr.String(jtv) } - case "configuration": if value != nil { jtv, ok := value.(string) @@ -13424,7 +13376,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Configuration = ptr.String(jtv) } - case "configurationItemCaptureTime": if value != nil { switch jtv := value.(type) { @@ -13440,7 +13391,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } - case "configurationItemDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -13456,7 +13406,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } - case "configurationItemStatus": if value != nil { jtv, ok := value.(string) @@ -13465,7 +13414,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ConfigurationItemStatus = types.ConfigurationItemStatus(jtv) } - case "configurationStateId": if value != nil { jtv, ok := value.(string) @@ -13474,7 +13422,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ConfigurationStateId = ptr.String(jtv) } - case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -13483,7 +13430,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.RecordingFrequency = types.RecordingFrequency(jtv) } - case "resourceCreationTime": if value != nil { switch jtv := value.(type) { @@ -13499,7 +13445,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13508,7 +13453,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceId = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -13517,7 +13461,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13526,12 +13469,10 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceType = types.ResourceType(jtv) } - case "supplementaryConfiguration": if err := awsAwsjson11_deserializeDocumentSupplementaryConfiguration(&sv.SupplementaryConfiguration, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -13540,7 +13481,6 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13610,7 +13550,6 @@ func awsAwsjson11_deserializeDocumentCompliance(v **types.Compliance, value inte if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.ComplianceContributorCount, value); err != nil { return err } - case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -13619,7 +13558,6 @@ func awsAwsjson11_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.ComplianceType = types.ComplianceType(jtv) } - default: _, _ = key, value @@ -13655,7 +13593,6 @@ func awsAwsjson11_deserializeDocumentComplianceByConfigRule(v **types.Compliance if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -13664,7 +13601,6 @@ func awsAwsjson11_deserializeDocumentComplianceByConfigRule(v **types.Compliance } sv.ConfigRuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -13734,7 +13670,6 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -13743,7 +13678,6 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13752,7 +13686,6 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -13826,7 +13759,6 @@ func awsAwsjson11_deserializeDocumentComplianceContributorCount(v **types.Compli } sv.CapExceeded = jtv } - case "CappedCount": if value != nil { jtv, ok := value.(json.Number) @@ -13839,7 +13771,6 @@ func awsAwsjson11_deserializeDocumentComplianceContributorCount(v **types.Compli } sv.CappedCount = int32(i64) } - default: _, _ = key, value @@ -13956,17 +13887,14 @@ func awsAwsjson11_deserializeDocumentComplianceSummary(v **types.ComplianceSumma } } - case "CompliantResourceCount": if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.CompliantResourceCount, value); err != nil { return err } - case "NonCompliantResourceCount": if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.NonCompliantResourceCount, value); err != nil { return err } - default: _, _ = key, value @@ -14002,7 +13930,6 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryByResourceType(v **types.C if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14011,7 +13938,6 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryByResourceType(v **types.C } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -14058,7 +13984,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } - case "lastErrorCode": if value != nil { jtv, ok := value.(string) @@ -14067,7 +13992,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastErrorCode = ptr.String(jtv) } - case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14076,7 +14000,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastErrorMessage = ptr.String(jtv) } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -14085,7 +14008,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastStatus = types.DeliveryStatus(jtv) } - case "lastSuccessfulTime": if value != nil { switch jtv := value.(type) { @@ -14101,7 +14023,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } - case "nextDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14117,7 +14038,6 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } - default: _, _ = key, value @@ -14157,7 +14077,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleArn = ptr.String(jtv) } - case "ConfigRuleId": if value != nil { jtv, ok := value.(string) @@ -14166,7 +14085,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleId = ptr.String(jtv) } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -14175,7 +14093,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleName = ptr.String(jtv) } - case "ConfigRuleState": if value != nil { jtv, ok := value.(string) @@ -14184,7 +14101,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleState = types.ConfigRuleState(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -14193,7 +14109,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14202,12 +14117,10 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.Description = ptr.String(jtv) } - case "EvaluationModes": if err := awsAwsjson11_deserializeDocumentEvaluationModes(&sv.EvaluationModes, value); err != nil { return err } - case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -14216,7 +14129,6 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.InputParameters = ptr.String(jtv) } - case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -14225,17 +14137,14 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } - case "Scope": if err := awsAwsjson11_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -14275,7 +14184,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleArn = ptr.String(jtv) } - case "ConfigRuleId": if value != nil { jtv, ok := value.(string) @@ -14284,7 +14192,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleId = ptr.String(jtv) } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -14293,7 +14200,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleName = ptr.String(jtv) } - case "FirstActivatedTime": if value != nil { switch jtv := value.(type) { @@ -14309,7 +14215,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "FirstEvaluationStarted": if value != nil { jtv, ok := value.(bool) @@ -14318,7 +14223,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.FirstEvaluationStarted = jtv } - case "LastDeactivatedTime": if value != nil { switch jtv := value.(type) { @@ -14334,7 +14238,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "LastDebugLogDeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -14343,7 +14246,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastDebugLogDeliveryStatus = ptr.String(jtv) } - case "LastDebugLogDeliveryStatusReason": if value != nil { jtv, ok := value.(string) @@ -14352,7 +14254,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastDebugLogDeliveryStatusReason = ptr.String(jtv) } - case "LastDebugLogDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14368,7 +14269,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "LastErrorCode": if value != nil { jtv, ok := value.(string) @@ -14377,7 +14277,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastErrorCode = ptr.String(jtv) } - case "LastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14386,7 +14285,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastErrorMessage = ptr.String(jtv) } - case "LastFailedEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -14402,7 +14300,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "LastFailedInvocationTime": if value != nil { switch jtv := value.(type) { @@ -14418,7 +14315,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "LastSuccessfulEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -14434,7 +14330,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - case "LastSuccessfulInvocationTime": if value != nil { switch jtv := value.(type) { @@ -14450,7 +14345,6 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } - default: _, _ = key, value @@ -14558,7 +14452,6 @@ func awsAwsjson11_deserializeDocumentConfigSnapshotDeliveryProperties(v **types. } sv.DeliveryFrequency = types.MaximumExecutionFrequency(jtv) } - default: _, _ = key, value @@ -14598,7 +14491,6 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastErrorCode = ptr.String(jtv) } - case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14607,7 +14499,6 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastErrorMessage = ptr.String(jtv) } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -14616,7 +14507,6 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastStatus = types.DeliveryStatus(jtv) } - case "lastStatusChangeTime": if value != nil { switch jtv := value.(type) { @@ -14632,7 +14522,6 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } } - default: _, _ = key, value @@ -14668,7 +14557,6 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura if err := awsAwsjson11_deserializeDocumentAccountAggregationSourceList(&sv.AccountAggregationSources, value); err != nil { return err } - case "ConfigurationAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -14677,7 +14565,6 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.ConfigurationAggregatorArn = ptr.String(jtv) } - case "ConfigurationAggregatorName": if value != nil { jtv, ok := value.(string) @@ -14686,7 +14573,6 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.ConfigurationAggregatorName = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -14695,7 +14581,6 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.CreatedBy = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14711,7 +14596,6 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -14727,12 +14611,10 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } } - case "OrganizationAggregationSource": if err := awsAwsjson11_deserializeDocumentOrganizationAggregationSource(&sv.OrganizationAggregationSource, value); err != nil { return err } - default: _, _ = key, value @@ -14806,7 +14688,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14815,7 +14696,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -14824,7 +14704,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AvailabilityZone = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -14833,7 +14712,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AwsRegion = ptr.String(jtv) } - case "configuration": if value != nil { jtv, ok := value.(string) @@ -14842,7 +14720,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Configuration = ptr.String(jtv) } - case "configurationItemCaptureTime": if value != nil { switch jtv := value.(type) { @@ -14858,7 +14735,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } - case "configurationItemDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14874,7 +14750,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } - case "configurationItemMD5Hash": if value != nil { jtv, ok := value.(string) @@ -14883,7 +14758,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationItemMD5Hash = ptr.String(jtv) } - case "configurationItemStatus": if value != nil { jtv, ok := value.(string) @@ -14892,7 +14766,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationItemStatus = types.ConfigurationItemStatus(jtv) } - case "configurationStateId": if value != nil { jtv, ok := value.(string) @@ -14901,7 +14774,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationStateId = ptr.String(jtv) } - case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -14910,17 +14782,14 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.RecordingFrequency = types.RecordingFrequency(jtv) } - case "relatedEvents": if err := awsAwsjson11_deserializeDocumentRelatedEventList(&sv.RelatedEvents, value); err != nil { return err } - case "relationships": if err := awsAwsjson11_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } - case "resourceCreationTime": if value != nil { switch jtv := value.(type) { @@ -14936,7 +14805,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14945,7 +14813,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceId = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14954,7 +14821,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14963,17 +14829,14 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceType = types.ResourceType(jtv) } - case "supplementaryConfiguration": if err := awsAwsjson11_deserializeDocumentSupplementaryConfiguration(&sv.SupplementaryConfiguration, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -14982,7 +14845,6 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15056,17 +14918,14 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorder(v **types.Configurati } sv.Name = ptr.String(jtv) } - case "recordingGroup": if err := awsAwsjson11_deserializeDocumentRecordingGroup(&sv.RecordingGroup, value); err != nil { return err } - case "recordingMode": if err := awsAwsjson11_deserializeDocumentRecordingMode(&sv.RecordingMode, value); err != nil { return err } - case "roleARN": if value != nil { jtv, ok := value.(string) @@ -15075,7 +14934,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorder(v **types.Configurati } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15149,7 +15007,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastErrorCode = ptr.String(jtv) } - case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15158,7 +15015,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastErrorMessage = ptr.String(jtv) } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -15174,7 +15030,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -15183,7 +15038,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastStatus = types.RecorderStatus(jtv) } - case "lastStatusChangeTime": if value != nil { switch jtv := value.(type) { @@ -15199,7 +15053,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } - case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -15215,7 +15068,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15224,7 +15076,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.Name = ptr.String(jtv) } - case "recording": if value != nil { jtv, ok := value.(bool) @@ -15233,7 +15084,6 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.Recording = jtv } - default: _, _ = key, value @@ -15307,7 +15157,6 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } sv.ConformancePackName = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -15323,7 +15172,6 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } } - case "Score": if value != nil { jtv, ok := value.(string) @@ -15332,7 +15180,6 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } sv.Score = ptr.String(jtv) } - default: _, _ = key, value @@ -15406,7 +15253,6 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceSummary(v **types. } sv.ConformancePackComplianceStatus = types.ConformancePackComplianceType(jtv) } - case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15415,7 +15261,6 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceSummary(v **types. } sv.ConformancePackName = ptr.String(jtv) } - default: _, _ = key, value @@ -15489,7 +15334,6 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackArn = ptr.String(jtv) } - case "ConformancePackId": if value != nil { jtv, ok := value.(string) @@ -15498,12 +15342,10 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackId = ptr.String(jtv) } - case "ConformancePackInputParameters": if err := awsAwsjson11_deserializeDocumentConformancePackInputParameters(&sv.ConformancePackInputParameters, value); err != nil { return err } - case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15512,7 +15354,6 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackName = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -15521,7 +15362,6 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.CreatedBy = ptr.String(jtv) } - case "DeliveryS3Bucket": if value != nil { jtv, ok := value.(string) @@ -15530,7 +15370,6 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.DeliveryS3Bucket = ptr.String(jtv) } - case "DeliveryS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -15539,7 +15378,6 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.DeliveryS3KeyPrefix = ptr.String(jtv) } - case "LastUpdateRequestedTime": if value != nil { switch jtv := value.(type) { @@ -15555,12 +15393,10 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } } - case "TemplateSSMDocumentDetails": if err := awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(&sv.TemplateSSMDocumentDetails, value); err != nil { return err } - default: _, _ = key, value @@ -15634,7 +15470,6 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } sv.Annotation = ptr.String(jtv) } - case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -15643,7 +15478,6 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } - case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -15659,12 +15493,10 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } } - case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } - case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -15680,7 +15512,6 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } } - default: _, _ = key, value @@ -15720,7 +15551,6 @@ func awsAwsjson11_deserializeDocumentConformancePackInputParameter(v **types.Con } sv.ParameterName = ptr.String(jtv) } - case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -15729,7 +15559,6 @@ func awsAwsjson11_deserializeDocumentConformancePackInputParameter(v **types.Con } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -15803,7 +15632,6 @@ func awsAwsjson11_deserializeDocumentConformancePackRuleCompliance(v **types.Con } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -15812,12 +15640,10 @@ func awsAwsjson11_deserializeDocumentConformancePackRuleCompliance(v **types.Con } sv.ConfigRuleName = ptr.String(jtv) } - case "Controls": if err := awsAwsjson11_deserializeDocumentControlsList(&sv.Controls, value); err != nil { return err } - default: _, _ = key, value @@ -15925,7 +15751,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackArn = ptr.String(jtv) } - case "ConformancePackId": if value != nil { jtv, ok := value.(string) @@ -15934,7 +15759,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackId = ptr.String(jtv) } - case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15943,7 +15767,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackName = ptr.String(jtv) } - case "ConformancePackState": if value != nil { jtv, ok := value.(string) @@ -15952,7 +15775,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackState = types.ConformancePackState(jtv) } - case "ConformancePackStatusReason": if value != nil { jtv, ok := value.(string) @@ -15961,7 +15783,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackStatusReason = ptr.String(jtv) } - case "LastUpdateCompletedTime": if value != nil { switch jtv := value.(type) { @@ -15977,7 +15798,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } } - case "LastUpdateRequestedTime": if value != nil { switch jtv := value.(type) { @@ -15993,7 +15813,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } } - case "StackArn": if value != nil { jtv, ok := value.(string) @@ -16002,7 +15821,6 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.StackArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16066,15 +15884,9 @@ func awsAwsjson11_deserializeDocumentConformancePackTemplateValidationException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16082,15 +15894,11 @@ func awsAwsjson11_deserializeDocumentConformancePackTemplateValidationException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16161,7 +15969,6 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.EnableDebugLogDelivery = jtv } - case "PolicyRuntime": if value != nil { jtv, ok := value.(string) @@ -16170,7 +15977,6 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.PolicyRuntime = ptr.String(jtv) } - case "PolicyText": if value != nil { jtv, ok := value.(string) @@ -16179,7 +15985,6 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.PolicyText = ptr.String(jtv) } - default: _, _ = key, value @@ -16251,7 +16056,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, if err := awsAwsjson11_deserializeDocumentConfigSnapshotDeliveryProperties(&sv.ConfigSnapshotDeliveryProperties, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -16260,7 +16064,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.Name = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -16269,7 +16072,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3BucketName = ptr.String(jtv) } - case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -16278,7 +16080,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3KeyPrefix = ptr.String(jtv) } - case "s3KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -16287,7 +16088,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3KmsKeyArn = ptr.String(jtv) } - case "snsTopicARN": if value != nil { jtv, ok := value.(string) @@ -16296,7 +16096,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.SnsTopicARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16366,17 +16165,14 @@ func awsAwsjson11_deserializeDocumentDeliveryChannelStatus(v **types.DeliveryCha if err := awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(&sv.ConfigHistoryDeliveryInfo, value); err != nil { return err } - case "configSnapshotDeliveryInfo": if err := awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(&sv.ConfigSnapshotDeliveryInfo, value); err != nil { return err } - case "configStreamDeliveryInfo": if err := awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(&sv.ConfigStreamDeliveryInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -16385,7 +16181,6 @@ func awsAwsjson11_deserializeDocumentDeliveryChannelStatus(v **types.DeliveryCha } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16493,7 +16288,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Annotation = ptr.String(jtv) } - case "ComplianceResourceId": if value != nil { jtv, ok := value.(string) @@ -16502,7 +16296,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceResourceId = ptr.String(jtv) } - case "ComplianceResourceType": if value != nil { jtv, ok := value.(string) @@ -16511,7 +16304,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceResourceType = ptr.String(jtv) } - case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -16520,7 +16312,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceType = types.ComplianceType(jtv) } - case "OrderingTimestamp": if value != nil { switch jtv := value.(type) { @@ -16536,7 +16327,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - default: _, _ = key, value @@ -16576,7 +16366,6 @@ func awsAwsjson11_deserializeDocumentEvaluationContext(v **types.EvaluationConte } sv.EvaluationContextIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -16616,7 +16405,6 @@ func awsAwsjson11_deserializeDocumentEvaluationModeConfiguration(v **types.Evalu } sv.Mode = types.EvaluationMode(jtv) } - default: _, _ = key, value @@ -16690,7 +16478,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Annotation = ptr.String(jtv) } - case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -16699,7 +16486,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ComplianceType = types.ComplianceType(jtv) } - case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -16715,12 +16501,10 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } - case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } - case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -16736,7 +16520,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } - case "ResultToken": if value != nil { jtv, ok := value.(string) @@ -16745,7 +16528,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ResultToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16781,7 +16563,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua if err := awsAwsjson11_deserializeDocumentEvaluationResultQualifier(&sv.EvaluationResultQualifier, value); err != nil { return err } - case "OrderingTimestamp": if value != nil { switch jtv := value.(type) { @@ -16797,7 +16578,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua } } - case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -16806,7 +16586,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua } sv.ResourceEvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -16846,7 +16625,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ConfigRuleName = ptr.String(jtv) } - case "EvaluationMode": if value != nil { jtv, ok := value.(string) @@ -16855,7 +16633,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.EvaluationMode = types.EvaluationMode(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16864,7 +16641,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16873,7 +16649,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -16981,7 +16756,6 @@ func awsAwsjson11_deserializeDocumentEvaluationStatus(v **types.EvaluationStatus } sv.FailureReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16990,7 +16764,6 @@ func awsAwsjson11_deserializeDocumentEvaluationStatus(v **types.EvaluationStatus } sv.Status = types.ResourceEvaluationStatus(jtv) } - default: _, _ = key, value @@ -17062,7 +16835,6 @@ func awsAwsjson11_deserializeDocumentExclusionByResourceTypes(v **types.Exclusio if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -17098,7 +16870,6 @@ func awsAwsjson11_deserializeDocumentExecutionControls(v **types.ExecutionContro if err := awsAwsjson11_deserializeDocumentSsmControls(&sv.SsmControls, value); err != nil { return err } - default: _, _ = key, value @@ -17134,7 +16905,6 @@ func awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatch(v ** if err := awsAwsjson11_deserializeDocumentRemediationExceptionResourceKeys(&sv.FailedItems, value); err != nil { return err } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -17143,7 +16913,6 @@ func awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatch(v ** } sv.FailureMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -17213,7 +16982,6 @@ func awsAwsjson11_deserializeDocumentFailedRemediationBatch(v **types.FailedReme if err := awsAwsjson11_deserializeDocumentRemediationConfigurations(&sv.FailedItems, value); err != nil { return err } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -17222,7 +16990,6 @@ func awsAwsjson11_deserializeDocumentFailedRemediationBatch(v **types.FailedReme } sv.FailureMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -17292,7 +17059,6 @@ func awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatch(v **types.F if err := awsAwsjson11_deserializeDocumentRemediationExceptions(&sv.FailedItems, value); err != nil { return err } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -17301,7 +17067,6 @@ func awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatch(v **types.F } sv.FailureMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -17375,7 +17140,6 @@ func awsAwsjson11_deserializeDocumentFieldInfo(v **types.FieldInfo, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17449,7 +17213,6 @@ func awsAwsjson11_deserializeDocumentGroupedResourceCount(v **types.GroupedResou } sv.GroupName = ptr.String(jtv) } - case "ResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -17462,7 +17225,6 @@ func awsAwsjson11_deserializeDocumentGroupedResourceCount(v **types.GroupedResou } sv.ResourceCount = i64 } - default: _, _ = key, value @@ -17526,15 +17288,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17542,15 +17298,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17575,15 +17327,9 @@ func awsAwsjson11_deserializeDocumentInsufficientDeliveryPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17591,15 +17337,11 @@ func awsAwsjson11_deserializeDocumentInsufficientDeliveryPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17624,15 +17366,9 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17640,15 +17376,11 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17673,15 +17405,9 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationRecorderNameException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17689,15 +17415,11 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationRecorderNameException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17722,15 +17444,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeliveryChannelNameException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17738,15 +17454,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeliveryChannelNameException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17771,15 +17483,9 @@ func awsAwsjson11_deserializeDocumentInvalidExpressionException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17787,15 +17493,11 @@ func awsAwsjson11_deserializeDocumentInvalidExpressionException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17820,15 +17522,9 @@ func awsAwsjson11_deserializeDocumentInvalidLimitException(v **types.InvalidLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17836,15 +17532,11 @@ func awsAwsjson11_deserializeDocumentInvalidLimitException(v **types.InvalidLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17869,15 +17561,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17885,15 +17571,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17918,15 +17600,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17934,15 +17610,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17967,15 +17639,9 @@ func awsAwsjson11_deserializeDocumentInvalidRecordingGroupException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17983,15 +17649,11 @@ func awsAwsjson11_deserializeDocumentInvalidRecordingGroupException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18016,15 +17678,9 @@ func awsAwsjson11_deserializeDocumentInvalidResultTokenException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18032,15 +17688,11 @@ func awsAwsjson11_deserializeDocumentInvalidResultTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18065,15 +17717,9 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18081,15 +17727,11 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18114,15 +17756,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3KeyPrefixException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18130,15 +17766,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3KeyPrefixException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18163,15 +17795,9 @@ func awsAwsjson11_deserializeDocumentInvalidS3KmsKeyArnException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18179,15 +17805,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3KmsKeyArnException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18212,15 +17834,9 @@ func awsAwsjson11_deserializeDocumentInvalidSNSTopicARNException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18228,15 +17844,11 @@ func awsAwsjson11_deserializeDocumentInvalidSNSTopicARNException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18261,15 +17873,9 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18277,15 +17883,11 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18310,15 +17912,9 @@ func awsAwsjson11_deserializeDocumentLastDeliveryChannelDeleteFailedException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18326,15 +17922,11 @@ func awsAwsjson11_deserializeDocumentLastDeliveryChannelDeleteFailedException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18359,15 +17951,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18375,15 +17961,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18408,15 +17990,9 @@ func awsAwsjson11_deserializeDocumentMaxActiveResourcesExceededException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18424,15 +18000,11 @@ func awsAwsjson11_deserializeDocumentMaxActiveResourcesExceededException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18457,15 +18029,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigRulesExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18473,15 +18039,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigRulesExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18506,15 +18068,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigurationRecordersExceededEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18522,15 +18078,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigurationRecordersExceededEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18555,15 +18107,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConformancePacksExceededExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18571,15 +18117,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConformancePacksExceededExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18604,15 +18146,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfDeliveryChannelsExceededExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18620,15 +18156,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfDeliveryChannelsExceededExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18653,15 +18185,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConfigRulesExceededE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18669,15 +18195,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConfigRulesExceededE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18702,15 +18224,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConformancePacksExce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18718,15 +18234,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConformancePacksExce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18751,15 +18263,9 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfRetentionConfigurationsExceededE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18767,15 +18273,11 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfRetentionConfigurationsExceededE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18810,7 +18312,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.AccountId = ptr.String(jtv) } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -18819,7 +18320,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ConfigRuleName = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -18828,7 +18328,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -18837,7 +18336,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -18853,7 +18351,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } } - case "MemberAccountRuleStatus": if value != nil { jtv, ok := value.(string) @@ -18862,7 +18359,6 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.MemberAccountRuleStatus = types.MemberAccountRuleStatus(jtv) } - default: _, _ = key, value @@ -18892,15 +18388,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableConfigurationRecorderException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18908,15 +18398,11 @@ func awsAwsjson11_deserializeDocumentNoAvailableConfigurationRecorderException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18941,15 +18427,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableDeliveryChannelException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18957,15 +18437,11 @@ func awsAwsjson11_deserializeDocumentNoAvailableDeliveryChannelException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18990,15 +18466,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19006,15 +18476,11 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19039,15 +18505,9 @@ func awsAwsjson11_deserializeDocumentNoRunningConfigurationRecorderException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19055,15 +18515,11 @@ func awsAwsjson11_deserializeDocumentNoRunningConfigurationRecorderException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19088,15 +18544,9 @@ func awsAwsjson11_deserializeDocumentNoSuchBucketException(v **types.NoSuchBucke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19104,15 +18554,11 @@ func awsAwsjson11_deserializeDocumentNoSuchBucketException(v **types.NoSuchBucke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19137,15 +18583,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleException(v **types.NoSuchC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19153,15 +18593,11 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleException(v **types.NoSuchC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19186,15 +18622,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleInConformancePackException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19202,15 +18632,11 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleInConformancePackException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19235,15 +18661,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationAggregatorException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19251,15 +18671,11 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationAggregatorException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19284,15 +18700,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationRecorderException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19300,15 +18710,11 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationRecorderException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19333,15 +18739,9 @@ func awsAwsjson11_deserializeDocumentNoSuchConformancePackException(v **types.No sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19349,15 +18749,11 @@ func awsAwsjson11_deserializeDocumentNoSuchConformancePackException(v **types.No } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19382,15 +18778,9 @@ func awsAwsjson11_deserializeDocumentNoSuchDeliveryChannelException(v **types.No sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19398,15 +18788,11 @@ func awsAwsjson11_deserializeDocumentNoSuchDeliveryChannelException(v **types.No } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19431,15 +18817,9 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConfigRuleException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19447,15 +18827,11 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConfigRuleException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19480,15 +18856,9 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConformancePackException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19496,15 +18866,11 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConformancePackException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19529,15 +18895,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationConfigurationException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19545,15 +18905,11 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationConfigurationException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19578,15 +18934,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationExceptionException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19594,15 +18944,11 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationExceptionException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19627,15 +18973,9 @@ func awsAwsjson11_deserializeDocumentNoSuchRetentionConfigurationException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19643,15 +18983,11 @@ func awsAwsjson11_deserializeDocumentNoSuchRetentionConfigurationException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19676,15 +19012,9 @@ func awsAwsjson11_deserializeDocumentOrganizationAccessDeniedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19692,15 +19022,11 @@ func awsAwsjson11_deserializeDocumentOrganizationAccessDeniedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19735,12 +19061,10 @@ func awsAwsjson11_deserializeDocumentOrganizationAggregationSource(v **types.Org } sv.AllAwsRegions = jtv } - case "AwsRegions": if err := awsAwsjson11_deserializeDocumentAggregatorRegionList(&sv.AwsRegions, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -19749,7 +19073,6 @@ func awsAwsjson11_deserializeDocumentOrganizationAggregationSource(v **types.Org } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19779,15 +19102,9 @@ func awsAwsjson11_deserializeDocumentOrganizationAllFeaturesNotEnabledException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19795,15 +19112,11 @@ func awsAwsjson11_deserializeDocumentOrganizationAllFeaturesNotEnabledException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19834,7 +19147,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati if err := awsAwsjson11_deserializeDocumentExcludedAccounts(&sv.ExcludedAccounts, value); err != nil { return err } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19850,7 +19162,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } } - case "OrganizationConfigRuleArn": if value != nil { jtv, ok := value.(string) @@ -19859,7 +19170,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } sv.OrganizationConfigRuleArn = ptr.String(jtv) } - case "OrganizationConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -19868,22 +19178,18 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } sv.OrganizationConfigRuleName = ptr.String(jtv) } - case "OrganizationCustomPolicyRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolicy(&sv.OrganizationCustomPolicyRuleMetadata, value); err != nil { return err } - case "OrganizationCustomRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(&sv.OrganizationCustomRuleMetadata, value); err != nil { return err } - case "OrganizationManagedRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(&sv.OrganizationManagedRuleMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -19991,7 +19297,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20000,7 +19305,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -20016,7 +19320,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } } - case "OrganizationConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -20025,7 +19328,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.OrganizationConfigRuleName = ptr.String(jtv) } - case "OrganizationRuleStatus": if value != nil { jtv, ok := value.(string) @@ -20034,7 +19336,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.OrganizationRuleStatus = types.OrganizationRuleStatus(jtv) } - default: _, _ = key, value @@ -20176,7 +19477,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ if err := awsAwsjson11_deserializeDocumentConformancePackInputParameters(&sv.ConformancePackInputParameters, value); err != nil { return err } - case "DeliveryS3Bucket": if value != nil { jtv, ok := value.(string) @@ -20185,7 +19485,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.DeliveryS3Bucket = ptr.String(jtv) } - case "DeliveryS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -20194,12 +19493,10 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.DeliveryS3KeyPrefix = ptr.String(jtv) } - case "ExcludedAccounts": if err := awsAwsjson11_deserializeDocumentExcludedAccounts(&sv.ExcludedAccounts, value); err != nil { return err } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -20215,7 +19512,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } } - case "OrganizationConformancePackArn": if value != nil { jtv, ok := value.(string) @@ -20224,7 +19520,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.OrganizationConformancePackArn = ptr.String(jtv) } - case "OrganizationConformancePackName": if value != nil { jtv, ok := value.(string) @@ -20233,7 +19528,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.OrganizationConformancePackName = ptr.String(jtv) } - default: _, _ = key, value @@ -20273,7 +19567,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.AccountId = ptr.String(jtv) } - case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -20282,7 +19575,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ConformancePackName = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -20291,7 +19583,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20300,7 +19591,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -20316,7 +19606,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20325,7 +19614,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.Status = types.OrganizationResourceDetailedStatus(jtv) } - default: _, _ = key, value @@ -20433,7 +19721,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20442,7 +19729,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -20458,7 +19744,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } } - case "OrganizationConformancePackName": if value != nil { jtv, ok := value.(string) @@ -20467,7 +19752,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.OrganizationConformancePackName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20476,7 +19760,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.Status = types.OrganizationResourceStatus(jtv) } - default: _, _ = key, value @@ -20540,15 +19823,9 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackTemplateValidati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20556,15 +19833,11 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackTemplateValidati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20595,7 +19868,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic if err := awsAwsjson11_deserializeDocumentDebugLogDeliveryAccounts(&sv.DebugLogDeliveryAccounts, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -20604,7 +19876,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.Description = ptr.String(jtv) } - case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -20613,7 +19884,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.InputParameters = ptr.String(jtv) } - case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -20622,12 +19892,10 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } - case "OrganizationConfigRuleTriggerTypes": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleTriggerTypeNoSNs(&sv.OrganizationConfigRuleTriggerTypes, value); err != nil { return err } - case "PolicyRuntime": if value != nil { jtv, ok := value.(string) @@ -20636,7 +19904,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.PolicyRuntime = ptr.String(jtv) } - case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -20645,12 +19912,10 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.ResourceIdScope = ptr.String(jtv) } - case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } - case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -20659,7 +19924,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.TagKeyScope = ptr.String(jtv) } - case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -20668,7 +19932,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.TagValueScope = ptr.String(jtv) } - default: _, _ = key, value @@ -20708,7 +19971,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.Description = ptr.String(jtv) } - case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -20717,7 +19979,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.InputParameters = ptr.String(jtv) } - case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -20726,7 +19987,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.LambdaFunctionArn = ptr.String(jtv) } - case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -20735,12 +19995,10 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } - case "OrganizationConfigRuleTriggerTypes": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleTriggerTypes(&sv.OrganizationConfigRuleTriggerTypes, value); err != nil { return err } - case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -20749,12 +20007,10 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.ResourceIdScope = ptr.String(jtv) } - case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } - case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -20763,7 +20019,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.TagKeyScope = ptr.String(jtv) } - case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -20772,7 +20027,6 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.TagValueScope = ptr.String(jtv) } - default: _, _ = key, value @@ -20812,7 +20066,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.Description = ptr.String(jtv) } - case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -20821,7 +20074,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.InputParameters = ptr.String(jtv) } - case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -20830,7 +20082,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } - case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -20839,12 +20090,10 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.ResourceIdScope = ptr.String(jtv) } - case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } - case "RuleIdentifier": if value != nil { jtv, ok := value.(string) @@ -20853,7 +20102,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.RuleIdentifier = ptr.String(jtv) } - case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -20862,7 +20110,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.TagKeyScope = ptr.String(jtv) } - case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -20871,7 +20118,6 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.TagValueScope = ptr.String(jtv) } - default: _, _ = key, value @@ -20901,15 +20147,9 @@ func awsAwsjson11_deserializeDocumentOversizedConfigurationItemException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20917,15 +20157,11 @@ func awsAwsjson11_deserializeDocumentOversizedConfigurationItemException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20960,7 +20196,6 @@ func awsAwsjson11_deserializeDocumentPendingAggregationRequest(v **types.Pending } sv.RequesterAccountId = ptr.String(jtv) } - case "RequesterAwsRegion": if value != nil { jtv, ok := value.(string) @@ -20969,7 +20204,6 @@ func awsAwsjson11_deserializeDocumentPendingAggregationRequest(v **types.Pending } sv.RequesterAwsRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -21039,7 +20273,6 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf if err := awsAwsjson11_deserializeDocumentFieldInfoList(&sv.SelectFields, value); err != nil { return err } - default: _, _ = key, value @@ -21079,12 +20312,10 @@ func awsAwsjson11_deserializeDocumentRecordingGroup(v **types.RecordingGroup, va } sv.AllSupported = jtv } - case "exclusionByResourceTypes": if err := awsAwsjson11_deserializeDocumentExclusionByResourceTypes(&sv.ExclusionByResourceTypes, value); err != nil { return err } - case "includeGlobalResourceTypes": if value != nil { jtv, ok := value.(bool) @@ -21093,17 +20324,14 @@ func awsAwsjson11_deserializeDocumentRecordingGroup(v **types.RecordingGroup, va } sv.IncludeGlobalResourceTypes = jtv } - case "recordingStrategy": if err := awsAwsjson11_deserializeDocumentRecordingStrategy(&sv.RecordingStrategy, value); err != nil { return err } - case "resourceTypes": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -21143,12 +20371,10 @@ func awsAwsjson11_deserializeDocumentRecordingMode(v **types.RecordingMode, valu } sv.RecordingFrequency = types.RecordingFrequency(jtv) } - case "recordingModeOverrides": if err := awsAwsjson11_deserializeDocumentRecordingModeOverrides(&sv.RecordingModeOverrides, value); err != nil { return err } - default: _, _ = key, value @@ -21188,7 +20414,6 @@ func awsAwsjson11_deserializeDocumentRecordingModeOverride(v **types.RecordingMo } sv.Description = ptr.String(jtv) } - case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -21197,12 +20422,10 @@ func awsAwsjson11_deserializeDocumentRecordingModeOverride(v **types.RecordingMo } sv.RecordingFrequency = types.RecordingFrequency(jtv) } - case "resourceTypes": if err := awsAwsjson11_deserializeDocumentRecordingModeResourceTypesList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -21312,7 +20535,6 @@ func awsAwsjson11_deserializeDocumentRecordingStrategy(v **types.RecordingStrate } sv.UseOnly = types.RecordingStrategyType(jtv) } - default: _, _ = key, value @@ -21388,7 +20610,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.RelationshipName = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -21397,7 +20618,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceId = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -21406,7 +20626,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21415,7 +20634,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -21489,7 +20707,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.Arn = ptr.String(jtv) } - case "Automatic": if value != nil { jtv, ok := value.(bool) @@ -21498,7 +20715,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.Automatic = jtv } - case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -21507,7 +20723,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.ConfigRuleName = ptr.String(jtv) } - case "CreatedByService": if value != nil { jtv, ok := value.(string) @@ -21516,12 +20731,10 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.CreatedByService = ptr.String(jtv) } - case "ExecutionControls": if err := awsAwsjson11_deserializeDocumentExecutionControls(&sv.ExecutionControls, value); err != nil { return err } - case "MaximumAutomaticAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -21534,12 +20747,10 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.MaximumAutomaticAttempts = ptr.Int32(int32(i64)) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentRemediationParameters(&sv.Parameters, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21548,7 +20759,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.ResourceType = ptr.String(jtv) } - case "RetryAttemptSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -21561,7 +20771,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.RetryAttemptSeconds = ptr.Int64(i64) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -21570,7 +20779,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -21579,7 +20787,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetType = types.RemediationTargetType(jtv) } - case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -21588,7 +20795,6 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -21662,7 +20868,6 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ConfigRuleName = ptr.String(jtv) } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -21678,7 +20883,6 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -21687,7 +20891,6 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -21696,7 +20899,6 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21705,7 +20907,6 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -21745,7 +20946,6 @@ func awsAwsjson11_deserializeDocumentRemediationExceptionResourceKey(v **types.R } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21754,7 +20954,6 @@ func awsAwsjson11_deserializeDocumentRemediationExceptionResourceKey(v **types.R } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -21869,7 +21068,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -21885,12 +21083,10 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } } - case "ResourceKey": if err := awsAwsjson11_deserializeDocumentResourceKey(&sv.ResourceKey, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -21899,12 +21095,10 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } sv.State = types.RemediationExecutionState(jtv) } - case "StepDetails": if err := awsAwsjson11_deserializeDocumentRemediationExecutionSteps(&sv.StepDetails, value); err != nil { return err } - default: _, _ = key, value @@ -21978,7 +21172,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.ErrorMessage = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21987,7 +21180,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.Name = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -22003,7 +21195,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } } - case "State": if value != nil { jtv, ok := value.(string) @@ -22012,7 +21203,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.State = types.RemediationExecutionStepState(jtv) } - case "StopTime": if value != nil { switch jtv := value.(type) { @@ -22028,7 +21218,6 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } } - default: _, _ = key, value @@ -22092,15 +21281,9 @@ func awsAwsjson11_deserializeDocumentRemediationInProgressException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22108,15 +21291,11 @@ func awsAwsjson11_deserializeDocumentRemediationInProgressException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22182,12 +21361,10 @@ func awsAwsjson11_deserializeDocumentRemediationParameterValue(v **types.Remedia if err := awsAwsjson11_deserializeDocumentResourceValue(&sv.ResourceValue, value); err != nil { return err } - case "StaticValue": if err := awsAwsjson11_deserializeDocumentStaticValue(&sv.StaticValue, value); err != nil { return err } - default: _, _ = key, value @@ -22217,15 +21394,9 @@ func awsAwsjson11_deserializeDocumentResourceConcurrentModificationException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22233,15 +21404,11 @@ func awsAwsjson11_deserializeDocumentResourceConcurrentModificationException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22280,7 +21447,6 @@ func awsAwsjson11_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.Count = i64 } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22289,7 +21455,6 @@ func awsAwsjson11_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -22363,7 +21528,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceConfiguration = ptr.String(jtv) } - case "ResourceConfigurationSchemaType": if value != nil { jtv, ok := value.(string) @@ -22372,7 +21536,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceConfigurationSchemaType = types.ResourceConfigurationSchemaType(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -22381,7 +21544,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -22390,7 +21552,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -22430,7 +21591,6 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } sv.EvaluationMode = types.EvaluationMode(jtv) } - case "EvaluationStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -22446,7 +21606,6 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } } - case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -22455,7 +21614,6 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } sv.ResourceEvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -22536,7 +21694,6 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22545,7 +21702,6 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceId = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -22554,7 +21710,6 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22563,7 +21718,6 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -22627,15 +21781,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22643,15 +21791,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22686,7 +21830,6 @@ func awsAwsjson11_deserializeDocumentResourceKey(v **types.ResourceKey, value in } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22695,7 +21838,6 @@ func awsAwsjson11_deserializeDocumentResourceKey(v **types.ResourceKey, value in } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -22759,15 +21901,9 @@ func awsAwsjson11_deserializeDocumentResourceNotDiscoveredException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22775,15 +21911,11 @@ func awsAwsjson11_deserializeDocumentResourceNotDiscoveredException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22808,15 +21940,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22824,15 +21950,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22939,7 +22061,6 @@ func awsAwsjson11_deserializeDocumentResourceValue(v **types.ResourceValue, valu } sv.Value = types.ResourceValueType(jtv) } - default: _, _ = key, value @@ -23015,7 +22136,6 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC } sv.Name = ptr.String(jtv) } - case "RetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -23028,7 +22148,6 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC } sv.RetentionPeriodInDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23102,12 +22221,10 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.ComplianceResourceId = ptr.String(jtv) } - case "ComplianceResourceTypes": if err := awsAwsjson11_deserializeDocumentComplianceResourceTypes(&sv.ComplianceResourceTypes, value); err != nil { return err } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -23116,7 +22233,6 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -23125,7 +22241,6 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -23161,7 +22276,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsAwsjson11_deserializeDocumentCustomPolicyDetails(&sv.CustomPolicyDetails, value); err != nil { return err } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -23170,12 +22284,10 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Owner = types.Owner(jtv) } - case "SourceDetails": if err := awsAwsjson11_deserializeDocumentSourceDetails(&sv.SourceDetails, value); err != nil { return err } - case "SourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -23184,7 +22296,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -23224,7 +22335,6 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.EventSource = types.EventSource(jtv) } - case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -23233,7 +22343,6 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -23242,7 +22351,6 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.MessageType = types.MessageType(jtv) } - default: _, _ = key, value @@ -23320,7 +22428,6 @@ func awsAwsjson11_deserializeDocumentSsmControls(v **types.SsmControls, value in } sv.ConcurrentExecutionRatePercentage = ptr.Int32(int32(i64)) } - case "ErrorPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -23333,7 +22440,6 @@ func awsAwsjson11_deserializeDocumentSsmControls(v **types.SsmControls, value in } sv.ErrorPercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23405,7 +22511,6 @@ func awsAwsjson11_deserializeDocumentStaticValue(v **types.StaticValue, value in if err := awsAwsjson11_deserializeDocumentStaticParameterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -23445,7 +22550,6 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.Description = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -23454,7 +22558,6 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.Expression = ptr.String(jtv) } - case "QueryArn": if value != nil { jtv, ok := value.(string) @@ -23463,7 +22566,6 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryArn = ptr.String(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -23472,7 +22574,6 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryId = ptr.String(jtv) } - case "QueryName": if value != nil { jtv, ok := value.(string) @@ -23481,7 +22582,6 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryName = ptr.String(jtv) } - default: _, _ = key, value @@ -23521,7 +22621,6 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.Description = ptr.String(jtv) } - case "QueryArn": if value != nil { jtv, ok := value.(string) @@ -23530,7 +22629,6 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryArn = ptr.String(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -23539,7 +22637,6 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryId = ptr.String(jtv) } - case "QueryName": if value != nil { jtv, ok := value.(string) @@ -23548,7 +22645,6 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryName = ptr.String(jtv) } - default: _, _ = key, value @@ -23658,7 +22754,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -23667,7 +22762,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -23777,7 +22871,6 @@ func awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(v **types.Templa } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -23786,7 +22879,6 @@ func awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(v **types.Templa } sv.DocumentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -23816,15 +22908,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23832,15 +22918,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23899,15 +22981,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23915,15 +22991,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23954,12 +23026,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetAggregateResourceConfigOutput(v * if err := awsAwsjson11_deserializeDocumentBaseConfigurationItems(&sv.BaseConfigurationItems, value); err != nil { return err } - case "UnprocessedResourceIdentifiers": if err := awsAwsjson11_deserializeDocumentUnprocessedResourceIdentifierList(&sv.UnprocessedResourceIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -23995,12 +23065,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetResourceConfigOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentBaseConfigurationItems(&sv.BaseConfigurationItems, value); err != nil { return err } - case "unprocessedResourceKeys": if err := awsAwsjson11_deserializeDocumentResourceKeys(&sv.UnprocessedResourceKeys, value); err != nil { return err } - default: _, _ = key, value @@ -24098,7 +23166,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRemediationExceptionsOutput(v **Del if err := awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatches(&sv.FailedBatches, value); err != nil { return err } - default: _, _ = key, value @@ -24169,7 +23236,6 @@ func awsAwsjson11_deserializeOpDocumentDeliverConfigSnapshotOutput(v **DeliverCo } sv.ConfigSnapshotId = ptr.String(jtv) } - default: _, _ = key, value @@ -24205,7 +23271,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConfigRulesO if err := awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRuleList(&sv.AggregateComplianceByConfigRules, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24214,7 +23279,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConfigRulesO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24250,7 +23314,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConformanceP if err := awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePackList(&sv.AggregateComplianceByConformancePacks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24259,7 +23322,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConformanceP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24295,7 +23357,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregationAuthorizationsOutput(v if err := awsAwsjson11_deserializeDocumentAggregationAuthorizationList(&sv.AggregationAuthorizations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24304,7 +23365,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregationAuthorizationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24340,7 +23400,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByConfigRuleOutput(v ** if err := awsAwsjson11_deserializeDocumentComplianceByConfigRules(&sv.ComplianceByConfigRules, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24349,7 +23408,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByConfigRuleOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24385,7 +23443,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByResourceOutput(v **De if err := awsAwsjson11_deserializeDocumentComplianceByResources(&sv.ComplianceByResources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24394,7 +23451,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByResourceOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24430,7 +23486,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRuleEvaluationStatusOutput( if err := awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatusList(&sv.ConfigRulesEvaluationStatus, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24439,7 +23494,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRuleEvaluationStatusOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24475,7 +23529,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRulesOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConfigRules(&sv.ConfigRules, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24484,7 +23537,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRulesOutput(v **DescribeCon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24520,7 +23572,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorSourcesSta if err := awsAwsjson11_deserializeDocumentAggregatedSourceStatusList(&sv.AggregatedSourceStatusList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24529,7 +23580,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorSourcesSta } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24565,7 +23615,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorsOutput(v if err := awsAwsjson11_deserializeDocumentConfigurationAggregatorList(&sv.ConfigurationAggregators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24574,7 +23623,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24610,7 +23658,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationRecordersOutput(v ** if err := awsAwsjson11_deserializeDocumentConfigurationRecorderList(&sv.ConfigurationRecorders, value); err != nil { return err } - default: _, _ = key, value @@ -24646,7 +23693,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationRecorderStatusOutput if err := awsAwsjson11_deserializeDocumentConfigurationRecorderStatusList(&sv.ConfigurationRecordersStatus, value); err != nil { return err } - default: _, _ = key, value @@ -24686,12 +23732,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackComplianceOutput(v } sv.ConformancePackName = ptr.String(jtv) } - case "ConformancePackRuleComplianceList": if err := awsAwsjson11_deserializeDocumentConformancePackRuleComplianceList(&sv.ConformancePackRuleComplianceList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24700,7 +23744,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackComplianceOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24736,7 +23779,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePacksOutput(v **Descri if err := awsAwsjson11_deserializeDocumentConformancePackDetailList(&sv.ConformancePackDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24745,7 +23787,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePacksOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24781,7 +23822,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentConformancePackStatusDetailsList(&sv.ConformancePackStatusDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24790,7 +23830,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackStatusOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24826,7 +23865,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryChannelsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDeliveryChannelList(&sv.DeliveryChannels, value); err != nil { return err } - default: _, _ = key, value @@ -24862,7 +23900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryChannelStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentDeliveryChannelStatusList(&sv.DeliveryChannelsStatus, value); err != nil { return err } - default: _, _ = key, value @@ -24902,12 +23939,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConfigRulesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "OrganizationConfigRules": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRules(&sv.OrganizationConfigRules, value); err != nil { return err } - default: _, _ = key, value @@ -24947,12 +23982,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConfigRuleStatusesOut } sv.NextToken = ptr.String(jtv) } - case "OrganizationConfigRuleStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatuses(&sv.OrganizationConfigRuleStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -24992,12 +24025,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConformancePacksOutpu } sv.NextToken = ptr.String(jtv) } - case "OrganizationConformancePacks": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePacks(&sv.OrganizationConformancePacks, value); err != nil { return err } - default: _, _ = key, value @@ -25037,12 +24068,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConformancePackStatus } sv.NextToken = ptr.String(jtv) } - case "OrganizationConformancePackStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePackStatuses(&sv.OrganizationConformancePackStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -25082,12 +24111,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePendingAggregationRequestsOutput( } sv.NextToken = ptr.String(jtv) } - case "PendingAggregationRequests": if err := awsAwsjson11_deserializeDocumentPendingAggregationRequestList(&sv.PendingAggregationRequests, value); err != nil { return err } - default: _, _ = key, value @@ -25123,7 +24150,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationConfigurationsOutput(v if err := awsAwsjson11_deserializeDocumentRemediationConfigurations(&sv.RemediationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -25163,12 +24189,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationExceptionsOutput(v **D } sv.NextToken = ptr.String(jtv) } - case "RemediationExceptions": if err := awsAwsjson11_deserializeDocumentRemediationExceptions(&sv.RemediationExceptions, value); err != nil { return err } - default: _, _ = key, value @@ -25208,12 +24232,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationExecutionStatusOutput( } sv.NextToken = ptr.String(jtv) } - case "RemediationExecutionStatuses": if err := awsAwsjson11_deserializeDocumentRemediationExecutionStatuses(&sv.RemediationExecutionStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -25253,12 +24275,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRetentionConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "RetentionConfigurations": if err := awsAwsjson11_deserializeDocumentRetentionConfigurationList(&sv.RetentionConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -25294,7 +24314,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateComplianceDetailsByConfigRule if err := awsAwsjson11_deserializeDocumentAggregateEvaluationResultList(&sv.AggregateEvaluationResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25303,7 +24322,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateComplianceDetailsByConfigRule } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25339,7 +24357,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu if err := awsAwsjson11_deserializeDocumentAggregateComplianceCountList(&sv.AggregateComplianceCounts, value); err != nil { return err } - case "GroupByKey": if value != nil { jtv, ok := value.(string) @@ -25348,7 +24365,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu } sv.GroupByKey = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25357,7 +24373,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25393,7 +24408,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm if err := awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummaryList(&sv.AggregateConformancePackComplianceSummaries, value); err != nil { return err } - case "GroupByKey": if value != nil { jtv, ok := value.(string) @@ -25402,7 +24416,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm } sv.GroupByKey = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25411,7 +24424,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25451,12 +24463,10 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.GroupByKey = ptr.String(jtv) } - case "GroupedResourceCounts": if err := awsAwsjson11_deserializeDocumentGroupedResourceCountList(&sv.GroupedResourceCounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25465,7 +24475,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.NextToken = ptr.String(jtv) } - case "TotalDiscoveredResources": if value != nil { jtv, ok := value.(json.Number) @@ -25478,7 +24487,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.TotalDiscoveredResources = i64 } - default: _, _ = key, value @@ -25514,7 +24522,6 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateResourceConfigOutput(v **GetA if err := awsAwsjson11_deserializeDocumentConfigurationItem(&sv.ConfigurationItem, value); err != nil { return err } - default: _, _ = key, value @@ -25550,7 +24557,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByConfigRuleOutput(v if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25559,7 +24565,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByConfigRuleOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25595,7 +24600,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByResourceOutput(v ** if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25604,7 +24608,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByResourceOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25640,7 +24643,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryByConfigRuleOutput(v if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } - default: _, _ = key, value @@ -25676,7 +24678,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryByResourceTypeOutput( if err := awsAwsjson11_deserializeDocumentComplianceSummariesByResourceType(&sv.ComplianceSummariesByResourceType, value); err != nil { return err } - default: _, _ = key, value @@ -25716,12 +24717,10 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceDetailsOutput } sv.ConformancePackName = ptr.String(jtv) } - case "ConformancePackRuleEvaluationResults": if err := awsAwsjson11_deserializeDocumentConformancePackRuleEvaluationResultsList(&sv.ConformancePackRuleEvaluationResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25730,7 +24729,6 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceDetailsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25766,7 +24764,6 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceSummaryOutput if err := awsAwsjson11_deserializeDocumentConformancePackComplianceSummaryList(&sv.ConformancePackComplianceSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25775,7 +24772,6 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceSummaryOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25815,7 +24811,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomRulePolicyOutput(v **GetCustomRu } sv.PolicyText = ptr.String(jtv) } - default: _, _ = key, value @@ -25855,12 +24850,10 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoveredResourceCountsOutput(v **Get } sv.NextToken = ptr.String(jtv) } - case "resourceCounts": if err := awsAwsjson11_deserializeDocumentResourceCounts(&sv.ResourceCounts, value); err != nil { return err } - case "totalDiscoveredResources": if value != nil { jtv, ok := value.(json.Number) @@ -25873,7 +24866,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoveredResourceCountsOutput(v **Get } sv.TotalDiscoveredResources = i64 } - default: _, _ = key, value @@ -25913,12 +24905,10 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationConfigRuleDetailedStatusOu } sv.NextToken = ptr.String(jtv) } - case "OrganizationConfigRuleDetailedStatus": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleDetailedStatus(&sv.OrganizationConfigRuleDetailedStatus, value); err != nil { return err } - default: _, _ = key, value @@ -25958,12 +24948,10 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationConformancePackDetailedSta } sv.NextToken = ptr.String(jtv) } - case "OrganizationConformancePackDetailedStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatuses(&sv.OrganizationConformancePackDetailedStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -26003,7 +24991,6 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationCustomRulePolicyOutput(v * } sv.PolicyText = ptr.String(jtv) } - default: _, _ = key, value @@ -26039,7 +25026,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceConfigHistoryOutput(v **GetRes if err := awsAwsjson11_deserializeDocumentConfigurationItemList(&sv.ConfigurationItems, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26048,7 +25034,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceConfigHistoryOutput(v **GetRes } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26088,12 +25073,10 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.Compliance = types.ComplianceType(jtv) } - case "EvaluationContext": if err := awsAwsjson11_deserializeDocumentEvaluationContext(&sv.EvaluationContext, value); err != nil { return err } - case "EvaluationMode": if value != nil { jtv, ok := value.(string) @@ -26102,7 +25085,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.EvaluationMode = types.EvaluationMode(jtv) } - case "EvaluationStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -26118,17 +25100,14 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } } - case "EvaluationStatus": if err := awsAwsjson11_deserializeDocumentEvaluationStatus(&sv.EvaluationStatus, value); err != nil { return err } - case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -26137,7 +25116,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.ResourceEvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -26173,7 +25151,6 @@ func awsAwsjson11_deserializeOpDocumentGetStoredQueryOutput(v **GetStoredQueryOu if err := awsAwsjson11_deserializeDocumentStoredQuery(&sv.StoredQuery, value); err != nil { return err } - default: _, _ = key, value @@ -26213,12 +25190,10 @@ func awsAwsjson11_deserializeOpDocumentListAggregateDiscoveredResourcesOutput(v } sv.NextToken = ptr.String(jtv) } - case "ResourceIdentifiers": if err := awsAwsjson11_deserializeDocumentDiscoveredResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -26254,7 +25229,6 @@ func awsAwsjson11_deserializeOpDocumentListConformancePackComplianceScoresOutput if err := awsAwsjson11_deserializeDocumentConformancePackComplianceScores(&sv.ConformancePackComplianceScores, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26263,7 +25237,6 @@ func awsAwsjson11_deserializeOpDocumentListConformancePackComplianceScoresOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26303,12 +25276,10 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } - case "resourceIdentifiers": if err := awsAwsjson11_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -26348,12 +25319,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceEvaluationsOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } - case "ResourceEvaluations": if err := awsAwsjson11_deserializeDocumentResourceEvaluations(&sv.ResourceEvaluations, value); err != nil { return err } - default: _, _ = key, value @@ -26393,12 +25362,10 @@ func awsAwsjson11_deserializeOpDocumentListStoredQueriesOutput(v **ListStoredQue } sv.NextToken = ptr.String(jtv) } - case "StoredQueryMetadata": if err := awsAwsjson11_deserializeDocumentStoredQueryMetadataList(&sv.StoredQueryMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -26438,12 +25405,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -26479,7 +25444,6 @@ func awsAwsjson11_deserializeOpDocumentPutAggregationAuthorizationOutput(v **Put if err := awsAwsjson11_deserializeDocumentAggregationAuthorization(&sv.AggregationAuthorization, value); err != nil { return err } - default: _, _ = key, value @@ -26515,7 +25479,6 @@ func awsAwsjson11_deserializeOpDocumentPutConfigurationAggregatorOutput(v **PutC if err := awsAwsjson11_deserializeDocumentConfigurationAggregator(&sv.ConfigurationAggregator, value); err != nil { return err } - default: _, _ = key, value @@ -26555,7 +25518,6 @@ func awsAwsjson11_deserializeOpDocumentPutConformancePackOutput(v **PutConforman } sv.ConformancePackArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26591,7 +25553,6 @@ func awsAwsjson11_deserializeOpDocumentPutEvaluationsOutput(v **PutEvaluationsOu if err := awsAwsjson11_deserializeDocumentEvaluations(&sv.FailedEvaluations, value); err != nil { return err } - default: _, _ = key, value @@ -26662,7 +25623,6 @@ func awsAwsjson11_deserializeOpDocumentPutOrganizationConfigRuleOutput(v **PutOr } sv.OrganizationConfigRuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26702,7 +25662,6 @@ func awsAwsjson11_deserializeOpDocumentPutOrganizationConformancePackOutput(v ** } sv.OrganizationConformancePackArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26738,7 +25697,6 @@ func awsAwsjson11_deserializeOpDocumentPutRemediationConfigurationsOutput(v **Pu if err := awsAwsjson11_deserializeDocumentFailedRemediationBatches(&sv.FailedBatches, value); err != nil { return err } - default: _, _ = key, value @@ -26774,7 +25732,6 @@ func awsAwsjson11_deserializeOpDocumentPutRemediationExceptionsOutput(v **PutRem if err := awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatches(&sv.FailedBatches, value); err != nil { return err } - default: _, _ = key, value @@ -26810,7 +25767,6 @@ func awsAwsjson11_deserializeOpDocumentPutRetentionConfigurationOutput(v **PutRe if err := awsAwsjson11_deserializeDocumentRetentionConfiguration(&sv.RetentionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -26850,7 +25806,6 @@ func awsAwsjson11_deserializeOpDocumentPutStoredQueryOutput(v **PutStoredQueryOu } sv.QueryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26890,17 +25845,14 @@ func awsAwsjson11_deserializeOpDocumentSelectAggregateResourceConfigOutput(v **S } sv.NextToken = ptr.String(jtv) } - case "QueryInfo": if err := awsAwsjson11_deserializeDocumentQueryInfo(&sv.QueryInfo, value); err != nil { return err } - case "Results": if err := awsAwsjson11_deserializeDocumentResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -26940,17 +25892,14 @@ func awsAwsjson11_deserializeOpDocumentSelectResourceConfigOutput(v **SelectReso } sv.NextToken = ptr.String(jtv) } - case "QueryInfo": if err := awsAwsjson11_deserializeDocumentQueryInfo(&sv.QueryInfo, value); err != nil { return err } - case "Results": if err := awsAwsjson11_deserializeDocumentResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -27017,7 +25966,6 @@ func awsAwsjson11_deserializeOpDocumentStartRemediationExecutionOutput(v **Start if err := awsAwsjson11_deserializeDocumentResourceKeys(&sv.FailedItems, value); err != nil { return err } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -27026,7 +25974,6 @@ func awsAwsjson11_deserializeOpDocumentStartRemediationExecutionOutput(v **Start } sv.FailureMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -27066,7 +26013,6 @@ func awsAwsjson11_deserializeOpDocumentStartResourceEvaluationOutput(v **StartRe } sv.ResourceEvaluationId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index 0bbde03e380..229367d3d29 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -198,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -211,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormVersion = int32(i64) } - default: _, _ = key, value @@ -379,7 +376,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.DataSetId = ptr.String(jtv) } - case "ResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -388,7 +384,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.ResourceShareArn = ptr.String(jtv) } - case "ResourceShareId": if value != nil { jtv, ok := value.(string) @@ -397,7 +392,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.ResourceShareId = ptr.String(jtv) } - case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -406,7 +400,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.TargetAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -1004,7 +997,6 @@ func awsRestjson1_deserializeOpDocumentAssociateInstanceStorageConfigOutput(v ** } sv.AssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -1723,7 +1715,6 @@ func awsRestjson1_deserializeOpDocumentAssociateSecurityKeyOutput(v **AssociateS } sv.AssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -2096,12 +2087,10 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateAnalyticsDataSetOutput(v ** if err := awsRestjson1_deserializeDocumentAnalyticsDataAssociationResults(&sv.Created, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentErrorResults(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -2265,12 +2254,10 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateAnalyticsDataSetOutput(v if err := awsRestjson1_deserializeDocumentDataSetIds(&sv.Deleted, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentErrorResults(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -2434,12 +2421,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetAttachedFileMetadataOutput(v **Ba if err := awsRestjson1_deserializeDocumentAttachedFileErrorsList(&sv.Errors, value); err != nil { return err } - case "Files": if err := awsRestjson1_deserializeDocumentAttachedFilesList(&sv.Files, value); err != nil { return err } - default: _, _ = key, value @@ -2606,7 +2591,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetFlowAssociationOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentFlowAssociationSummaryList(&sv.FlowAssociationSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -2773,12 +2757,10 @@ func awsRestjson1_deserializeOpDocumentBatchPutContactOutput(v **BatchPutContact if err := awsRestjson1_deserializeDocumentFailedRequestList(&sv.FailedRequestList, value); err != nil { return err } - case "SuccessfulRequestList": if err := awsRestjson1_deserializeDocumentSuccessfulRequestList(&sv.SuccessfulRequestList, value); err != nil { return err } - default: _, _ = key, value @@ -2949,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentClaimPhoneNumberOutput(v **ClaimPhoneNumb } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -2958,7 +2939,6 @@ func awsRestjson1_deserializeOpDocumentClaimPhoneNumberOutput(v **ClaimPhoneNumb } sv.PhoneNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -3232,7 +3212,6 @@ func awsRestjson1_deserializeOpDocumentCreateAgentStatusOutput(v **CreateAgentSt } sv.AgentStatusARN = ptr.String(jtv) } - case "AgentStatusId": if value != nil { jtv, ok := value.(string) @@ -3241,7 +3220,6 @@ func awsRestjson1_deserializeOpDocumentCreateAgentStatusOutput(v **CreateAgentSt } sv.AgentStatusId = ptr.String(jtv) } - default: _, _ = key, value @@ -3418,7 +3396,6 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowOutput(v **CreateContact } sv.ContactFlowArn = ptr.String(jtv) } - case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -3427,7 +3404,6 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowOutput(v **CreateContact } sv.ContactFlowId = ptr.String(jtv) } - default: _, _ = key, value @@ -3610,7 +3586,6 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowModuleOutput(v **CreateC } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3619,7 +3594,6 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowModuleOutput(v **CreateC } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3790,7 +3764,6 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationFormOutput(v **CreateEval } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -3799,7 +3772,6 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationFormOutput(v **CreateEval } sv.EvaluationFormId = ptr.String(jtv) } - default: _, _ = key, value @@ -3973,7 +3945,6 @@ func awsRestjson1_deserializeOpDocumentCreateHoursOfOperationOutput(v **CreateHo } sv.HoursOfOperationArn = ptr.String(jtv) } - case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -3982,7 +3953,6 @@ func awsRestjson1_deserializeOpDocumentCreateHoursOfOperationOutput(v **CreateHo } sv.HoursOfOperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -4150,7 +4120,6 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4159,7 +4128,6 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4327,7 +4295,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationAssociationOutput(v **Cr } sv.IntegrationAssociationArn = ptr.String(jtv) } - case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -4336,7 +4303,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationAssociationOutput(v **Cr } sv.IntegrationAssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -4500,7 +4466,6 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantOutput(v **CreatePartici if err := awsRestjson1_deserializeDocumentParticipantTokenCredentials(&sv.ParticipantCredentials, value); err != nil { return err } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -4509,7 +4474,6 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantOutput(v **CreatePartici } sv.ParticipantId = ptr.String(jtv) } - default: _, _ = key, value @@ -4680,7 +4644,6 @@ func awsRestjson1_deserializeOpDocumentCreatePersistentContactAssociationOutput( } sv.ContinuedFromContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -4963,7 +4926,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.PromptARN = ptr.String(jtv) } - case "PromptId": if value != nil { jtv, ok := value.(string) @@ -4972,7 +4934,6 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.PromptId = ptr.String(jtv) } - default: _, _ = key, value @@ -5146,7 +5107,6 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueArn = ptr.String(jtv) } - case "QueueId": if value != nil { jtv, ok := value.(string) @@ -5155,7 +5115,6 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueId = ptr.String(jtv) } - default: _, _ = key, value @@ -5329,7 +5288,6 @@ func awsRestjson1_deserializeOpDocumentCreateQuickConnectOutput(v **CreateQuickC } sv.QuickConnectARN = ptr.String(jtv) } - case "QuickConnectId": if value != nil { jtv, ok := value.(string) @@ -5338,7 +5296,6 @@ func awsRestjson1_deserializeOpDocumentCreateQuickConnectOutput(v **CreateQuickC } sv.QuickConnectId = ptr.String(jtv) } - default: _, _ = key, value @@ -5512,7 +5469,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingProfileOutput(v **CreateRout } sv.RoutingProfileArn = ptr.String(jtv) } - case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -5521,7 +5477,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingProfileOutput(v **CreateRout } sv.RoutingProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -5695,7 +5650,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5658,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -5878,7 +5831,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileArn = ptr.String(jtv) } - case "SecurityProfileId": if value != nil { jtv, ok := value.(string) @@ -5887,7 +5839,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -6058,7 +6009,6 @@ func awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(v **CreateTaskTe } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6067,7 +6017,6 @@ func awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(v **CreateTaskTe } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -6244,7 +6193,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrafficDistributionGroupOutput(v ** } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6253,7 +6201,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrafficDistributionGroupOutput(v ** } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -6421,7 +6368,6 @@ func awsRestjson1_deserializeOpDocumentCreateUseCaseOutput(v **CreateUseCaseOutp } sv.UseCaseArn = ptr.String(jtv) } - case "UseCaseId": if value != nil { jtv, ok := value.(string) @@ -6430,7 +6376,6 @@ func awsRestjson1_deserializeOpDocumentCreateUseCaseOutput(v **CreateUseCaseOutp } sv.UseCaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -6604,7 +6549,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserArn = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -6613,7 +6557,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -6787,7 +6730,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserHierarchyGroupOutput(v **Create } sv.HierarchyGroupArn = ptr.String(jtv) } - case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -6796,7 +6738,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserHierarchyGroupOutput(v **Create } sv.HierarchyGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -6972,7 +6913,6 @@ func awsRestjson1_deserializeOpDocumentCreateViewOutput(v **CreateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -7145,7 +7085,6 @@ func awsRestjson1_deserializeOpDocumentCreateViewVersionOutput(v **CreateViewVer if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -7319,7 +7258,6 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.State = types.VocabularyState(jtv) } - case "VocabularyArn": if value != nil { jtv, ok := value.(string) @@ -7328,7 +7266,6 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyArn = ptr.String(jtv) } - case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -7337,7 +7274,6 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyId = ptr.String(jtv) } - default: _, _ = key, value @@ -7505,7 +7441,6 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -7514,7 +7449,6 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7527,7 +7461,6 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormVersion = int32(i64) } - default: _, _ = key, value @@ -10012,7 +9945,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.State = types.VocabularyState(jtv) } - case "VocabularyArn": if value != nil { jtv, ok := value.(string) @@ -10021,7 +9953,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.VocabularyArn = ptr.String(jtv) } - case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -10030,7 +9961,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.VocabularyId = ptr.String(jtv) } - default: _, _ = key, value @@ -10194,7 +10124,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAgentStatusOutput(v **DescribeAge if err := awsRestjson1_deserializeDocumentAgentStatus(&sv.AgentStatus, value); err != nil { return err } - default: _, _ = key, value @@ -10358,7 +10287,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuthenticationProfileOutput(v **D if err := awsRestjson1_deserializeDocumentAuthenticationProfile(&sv.AuthenticationProfile, value); err != nil { return err } - default: _, _ = key, value @@ -10522,7 +10450,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact if err := awsRestjson1_deserializeDocumentContact(&sv.Contact, value); err != nil { return err } - default: _, _ = key, value @@ -10683,12 +10610,10 @@ func awsRestjson1_deserializeOpDocumentDescribeContactEvaluationOutput(v **Descr if err := awsRestjson1_deserializeDocumentEvaluation(&sv.Evaluation, value); err != nil { return err } - case "EvaluationForm": if err := awsRestjson1_deserializeDocumentEvaluationFormContent(&sv.EvaluationForm, value); err != nil { return err } - default: _, _ = key, value @@ -10855,7 +10780,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactFlowOutput(v **DescribeCon if err := awsRestjson1_deserializeDocumentContactFlow(&sv.ContactFlow, value); err != nil { return err } - default: _, _ = key, value @@ -11022,7 +10946,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactFlowModuleOutput(v **Descr if err := awsRestjson1_deserializeDocumentContactFlowModule(&sv.ContactFlowModule, value); err != nil { return err } - default: _, _ = key, value @@ -11183,7 +11106,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEvaluationFormOutput(v **Describe if err := awsRestjson1_deserializeDocumentEvaluationForm(&sv.EvaluationForm, value); err != nil { return err } - default: _, _ = key, value @@ -11347,7 +11269,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHoursOfOperationOutput(v **Descri if err := awsRestjson1_deserializeDocumentHoursOfOperation(&sv.HoursOfOperation, value); err != nil { return err } - default: _, _ = key, value @@ -11505,12 +11426,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - case "ReplicationConfiguration": if err := awsRestjson1_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11674,7 +11593,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceAttributeOutput(v **Descr if err := awsRestjson1_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } - default: _, _ = key, value @@ -11838,7 +11756,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceStorageConfigOutput(v **D if err := awsRestjson1_deserializeDocumentInstanceStorageConfig(&sv.StorageConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12002,7 +11919,6 @@ func awsRestjson1_deserializeOpDocumentDescribePhoneNumberOutput(v **DescribePho if err := awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(&sv.ClaimedPhoneNumberSummary, value); err != nil { return err } - default: _, _ = key, value @@ -12166,7 +12082,6 @@ func awsRestjson1_deserializeOpDocumentDescribePredefinedAttributeOutput(v **Des if err := awsRestjson1_deserializeDocumentPredefinedAttribute(&sv.PredefinedAttribute, value); err != nil { return err } - default: _, _ = key, value @@ -12330,7 +12245,6 @@ func awsRestjson1_deserializeOpDocumentDescribePromptOutput(v **DescribePromptOu if err := awsRestjson1_deserializeDocumentPrompt(&sv.Prompt, value); err != nil { return err } - default: _, _ = key, value @@ -12494,7 +12408,6 @@ func awsRestjson1_deserializeOpDocumentDescribeQueueOutput(v **DescribeQueueOutp if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -12658,7 +12571,6 @@ func awsRestjson1_deserializeOpDocumentDescribeQuickConnectOutput(v **DescribeQu if err := awsRestjson1_deserializeDocumentQuickConnect(&sv.QuickConnect, value); err != nil { return err } - default: _, _ = key, value @@ -12822,7 +12734,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoutingProfileOutput(v **Describe if err := awsRestjson1_deserializeDocumentRoutingProfile(&sv.RoutingProfile, value); err != nil { return err } - default: _, _ = key, value @@ -12986,7 +12897,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput if err := awsRestjson1_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -13150,7 +13060,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ if err := awsRestjson1_deserializeDocumentSecurityProfile(&sv.SecurityProfile, value); err != nil { return err } - default: _, _ = key, value @@ -13314,7 +13223,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrafficDistributionGroupOutput(v if err := awsRestjson1_deserializeDocumentTrafficDistributionGroup(&sv.TrafficDistributionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13478,7 +13386,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -13642,7 +13549,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserHierarchyGroupOutput(v **Desc if err := awsRestjson1_deserializeDocumentHierarchyGroup(&sv.HierarchyGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13806,7 +13712,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserHierarchyStructureOutput(v ** if err := awsRestjson1_deserializeDocumentHierarchyStructure(&sv.HierarchyStructure, value); err != nil { return err } - default: _, _ = key, value @@ -13973,7 +13878,6 @@ func awsRestjson1_deserializeOpDocumentDescribeViewOutput(v **DescribeViewOutput if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -14137,7 +14041,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVocabularyOutput(v **DescribeVoca if err := awsRestjson1_deserializeDocumentVocabulary(&sv.Vocabulary, value); err != nil { return err } - default: _, _ = key, value @@ -15777,12 +15680,10 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.AssociatedResourceArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -15791,12 +15692,10 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.CreationTime = ptr.String(jtv) } - case "DownloadUrlMetadata": if err := awsRestjson1_deserializeDocumentDownloadUrlMetadata(&sv.DownloadUrlMetadata, value); err != nil { return err } - case "FileArn": if value != nil { jtv, ok := value.(string) @@ -15805,7 +15704,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileArn = ptr.String(jtv) } - case "FileId": if value != nil { jtv, ok := value.(string) @@ -15814,7 +15712,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileId = ptr.String(jtv) } - case "FileName": if value != nil { jtv, ok := value.(string) @@ -15823,7 +15720,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileName = ptr.String(jtv) } - case "FileSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15836,7 +15732,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileSizeInBytes = ptr.Int64(i64) } - case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -15845,7 +15740,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileStatus = types.FileStatusType(jtv) } - case "FileUseCaseType": if value != nil { jtv, ok := value.(string) @@ -15854,12 +15748,10 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileUseCaseType = types.FileUseCaseType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16017,7 +15909,6 @@ func awsRestjson1_deserializeOpDocumentGetContactAttributesOutput(v **GetContact if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -16189,7 +16080,6 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "DataSnapshotTime": if value != nil { switch jtv := value.(type) { @@ -16205,12 +16095,10 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } } - case "MetricResults": if err := awsRestjson1_deserializeDocumentCurrentMetricResults(&sv.MetricResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16219,7 +16107,6 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16391,7 +16278,6 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(v **GetCurrentUs } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16400,12 +16286,10 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(v **GetCurrentUs } sv.NextToken = ptr.String(jtv) } - case "UserDataList": if err := awsRestjson1_deserializeDocumentUserDataList(&sv.UserDataList, value); err != nil { return err } - default: _, _ = key, value @@ -16572,7 +16456,6 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "SignInUrl": if value != nil { jtv, ok := value.(string) @@ -16581,7 +16464,6 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.SignInUrl = ptr.String(jtv) } - case "UserArn": if value != nil { jtv, ok := value.(string) @@ -16590,7 +16472,6 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.UserArn = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -16599,7 +16480,6 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -16770,7 +16650,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.FlowId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16779,7 +16658,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16788,7 +16666,6 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.ResourceType = types.FlowAssociationResourceType(jtv) } - default: _, _ = key, value @@ -16952,7 +16829,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp if err := awsRestjson1_deserializeDocumentHistoricalMetricResults(&sv.MetricResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16961,7 +16837,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17125,7 +17000,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataV2Output(v **GetMetricDataV2 if err := awsRestjson1_deserializeDocumentMetricResultsV2(&sv.MetricResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17134,7 +17008,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataV2Output(v **GetMetricDataV2 } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17302,7 +17175,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -17318,7 +17190,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } } - case "PromptPresignedUrl": if value != nil { jtv, ok := value.(string) @@ -17327,7 +17198,6 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } sv.PromptPresignedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -17495,12 +17365,10 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Arn = ptr.String(jtv) } - case "Constraints": if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { return err } - case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -17509,7 +17377,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.ContactFlowId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -17525,12 +17392,10 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } } - case "Defaults": if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17539,12 +17404,10 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Description = ptr.String(jtv) } - case "Fields": if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -17553,7 +17416,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Id = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -17562,7 +17424,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.InstanceId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -17578,7 +17439,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17587,7 +17447,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17596,12 +17455,10 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Status = types.TaskTemplateStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17765,7 +17622,6 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff if err := awsRestjson1_deserializeDocumentAgentConfig(&sv.AgentConfig, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -17774,7 +17630,6 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -17783,17 +17638,14 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff } sv.Id = ptr.String(jtv) } - case "SignInConfig": if err := awsRestjson1_deserializeDocumentSignInConfig(&sv.SignInConfig, value); err != nil { return err } - case "TelephonyConfig": if err := awsRestjson1_deserializeDocumentTelephonyConfig(&sv.TelephonyConfig, value); err != nil { return err } - default: _, _ = key, value @@ -17964,7 +17816,6 @@ func awsRestjson1_deserializeOpDocumentImportPhoneNumberOutput(v **ImportPhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -17973,7 +17824,6 @@ func awsRestjson1_deserializeOpDocumentImportPhoneNumberOutput(v **ImportPhoneNu } sv.PhoneNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -18137,7 +17987,6 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat if err := awsRestjson1_deserializeDocumentAgentStatusSummaryList(&sv.AgentStatusSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18146,7 +17995,6 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18314,12 +18162,10 @@ func awsRestjson1_deserializeOpDocumentListAnalyticsDataAssociationsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsRestjson1_deserializeDocumentAnalyticsDataAssociationResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -18487,12 +18333,10 @@ func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprove } sv.NextToken = ptr.String(jtv) } - case "Origins": if err := awsRestjson1_deserializeDocumentOriginsList(&sv.Origins, value); err != nil { return err } - default: _, _ = key, value @@ -18656,7 +18500,6 @@ func awsRestjson1_deserializeOpDocumentListAuthenticationProfilesOutput(v **List if err := awsRestjson1_deserializeDocumentAuthenticationProfileSummaryList(&sv.AuthenticationProfileSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18665,7 +18508,6 @@ func awsRestjson1_deserializeOpDocumentListAuthenticationProfilesOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18826,7 +18668,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentLexBotConfigList(&sv.LexBots, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18835,7 +18676,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18996,7 +18836,6 @@ func awsRestjson1_deserializeOpDocumentListContactEvaluationsOutput(v **ListCont if err := awsRestjson1_deserializeDocumentEvaluationSummaryList(&sv.EvaluationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19005,7 +18844,6 @@ func awsRestjson1_deserializeOpDocumentListContactEvaluationsOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19172,7 +19010,6 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont if err := awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(&sv.ContactFlowModulesSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19181,7 +19018,6 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19345,7 +19181,6 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo if err := awsRestjson1_deserializeDocumentContactFlowSummaryList(&sv.ContactFlowSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19354,7 +19189,6 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19522,12 +19356,10 @@ func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListConta } sv.NextToken = ptr.String(jtv) } - case "ReferenceSummaryList": if err := awsRestjson1_deserializeDocumentReferenceSummaryList(&sv.ReferenceSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -19688,7 +19520,6 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef if err := awsRestjson1_deserializeDocumentDefaultVocabularyList(&sv.DefaultVocabularyList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19697,7 +19528,6 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19858,7 +19688,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormsOutput(v **ListEvaluat if err := awsRestjson1_deserializeDocumentEvaluationFormSummaryList(&sv.EvaluationFormSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19867,7 +19696,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormsOutput(v **ListEvaluat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20028,7 +19856,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentEvaluationFormVersionSummaryList(&sv.EvaluationFormVersionSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20037,7 +19864,6 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20204,7 +20030,6 @@ func awsRestjson1_deserializeOpDocumentListFlowAssociationsOutput(v **ListFlowAs if err := awsRestjson1_deserializeDocumentFlowAssociationSummaryList(&sv.FlowAssociationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20213,7 +20038,6 @@ func awsRestjson1_deserializeOpDocumentListFlowAssociationsOutput(v **ListFlowAs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20377,7 +20201,6 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours if err := awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(&sv.HoursOfOperationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20386,7 +20209,6 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20550,7 +20372,6 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20559,7 +20380,6 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20714,7 +20534,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20723,7 +20542,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20891,12 +20709,10 @@ func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "StorageConfigs": if err := awsRestjson1_deserializeDocumentInstanceStorageConfigs(&sv.StorageConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -21057,7 +20873,6 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(&sv.IntegrationAssociationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21066,7 +20881,6 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21230,7 +21044,6 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF if err := awsRestjson1_deserializeDocumentFunctionArnsList(&sv.LambdaFunctions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21239,7 +21052,6 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21403,7 +21215,6 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, if err := awsRestjson1_deserializeDocumentLexBotsList(&sv.LexBots, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21412,7 +21223,6 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21580,12 +21390,10 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } - case "PhoneNumberSummaryList": if err := awsRestjson1_deserializeDocumentPhoneNumberSummaryList(&sv.PhoneNumberSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -21749,7 +21557,6 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(&sv.ListPhoneNumbersSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21758,7 +21565,6 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21926,12 +21732,10 @@ func awsRestjson1_deserializeOpDocumentListPredefinedAttributesOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } - case "PredefinedAttributeSummaryList": if err := awsRestjson1_deserializeDocumentPredefinedAttributeSummaryList(&sv.PredefinedAttributeSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -22099,12 +21903,10 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, } sv.NextToken = ptr.String(jtv) } - case "PromptSummaryList": if err := awsRestjson1_deserializeDocumentPromptSummaryList(&sv.PromptSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -22272,7 +22074,6 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -22288,7 +22089,6 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22297,12 +22097,10 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } sv.NextToken = ptr.String(jtv) } - case "QuickConnectSummaryList": if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -22470,12 +22268,10 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } - case "QueueSummaryList": if err := awsRestjson1_deserializeDocumentQueueSummaryList(&sv.QueueSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -22643,12 +22439,10 @@ func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConn } sv.NextToken = ptr.String(jtv) } - case "QuickConnectSummaryList": if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -22819,7 +22613,6 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.Channel = types.RealTimeContactAnalysisSupportedChannel(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22828,12 +22621,10 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.NextToken = ptr.String(jtv) } - case "Segments": if err := awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegments(&sv.Segments, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22842,7 +22633,6 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.Status = types.RealTimeContactAnalysisStatus(jtv) } - default: _, _ = key, value @@ -23010,7 +22800,6 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -23026,7 +22815,6 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23035,12 +22823,10 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } sv.NextToken = ptr.String(jtv) } - case "RoutingProfileQueueConfigSummaryList": if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(&sv.RoutingProfileQueueConfigSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -23208,12 +22994,10 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } - case "RoutingProfileSummaryList": if err := awsRestjson1_deserializeDocumentRoutingProfileSummaryList(&sv.RoutingProfileSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -23381,12 +23165,10 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "RuleSummaryList": if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.RuleSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -23554,12 +23336,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKe } sv.NextToken = ptr.String(jtv) } - case "SecurityKeys": if err := awsRestjson1_deserializeDocumentSecurityKeysList(&sv.SecurityKeys, value); err != nil { return err } - default: _, _ = key, value @@ -23723,7 +23503,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -23732,7 +23511,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -23748,7 +23526,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23757,7 +23534,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23925,7 +23701,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -23941,7 +23716,6 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23950,12 +23724,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionsList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -24123,12 +23895,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } - case "SecurityProfileSummaryList": if err := awsRestjson1_deserializeDocumentSecurityProfileSummaryList(&sv.SecurityProfileSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -24292,7 +24062,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -24460,12 +24229,10 @@ func awsRestjson1_deserializeOpDocumentListTaskTemplatesOutput(v **ListTaskTempl } sv.NextToken = ptr.String(jtv) } - case "TaskTemplates": if err := awsRestjson1_deserializeDocumentTaskTemplateList(&sv.TaskTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -24630,12 +24397,10 @@ func awsRestjson1_deserializeOpDocumentListTrafficDistributionGroupsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "TrafficDistributionGroupSummaryList": if err := awsRestjson1_deserializeDocumentTrafficDistributionGroupSummaryList(&sv.TrafficDistributionGroupSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -24803,12 +24568,10 @@ func awsRestjson1_deserializeOpDocumentListTrafficDistributionGroupUsersOutput(v } sv.NextToken = ptr.String(jtv) } - case "TrafficDistributionGroupUserSummaryList": if err := awsRestjson1_deserializeDocumentTrafficDistributionGroupUserSummaryList(&sv.TrafficDistributionGroupUserSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -24973,12 +24736,10 @@ func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput } sv.NextToken = ptr.String(jtv) } - case "UseCaseSummaryList": if err := awsRestjson1_deserializeDocumentUseCaseSummaryList(&sv.UseCaseSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25146,12 +24907,10 @@ func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUse } sv.NextToken = ptr.String(jtv) } - case "UserHierarchyGroupSummaryList": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(&sv.UserHierarchyGroupSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25319,7 +25078,6 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -25335,7 +25093,6 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25344,12 +25101,10 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } sv.NextToken = ptr.String(jtv) } - case "UserProficiencyList": if err := awsRestjson1_deserializeDocumentUserProficiencyList(&sv.UserProficiencyList, value); err != nil { return err } - default: _, _ = key, value @@ -25517,12 +25272,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "UserSummaryList": if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.UserSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25693,12 +25446,10 @@ func awsRestjson1_deserializeOpDocumentListViewsOutput(v **ListViewsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "ViewsSummaryList": if err := awsRestjson1_deserializeDocumentViewsSummaryList(&sv.ViewsSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25869,12 +25620,10 @@ func awsRestjson1_deserializeOpDocumentListViewVersionsOutput(v **ListViewVersio } sv.NextToken = ptr.String(jtv) } - case "ViewVersionSummaryList": if err := awsRestjson1_deserializeDocumentViewVersionSummaryList(&sv.ViewVersionSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -26048,7 +25797,6 @@ func awsRestjson1_deserializeOpDocumentMonitorContactOutput(v **MonitorContactOu } sv.ContactArn = ptr.String(jtv) } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -26057,7 +25805,6 @@ func awsRestjson1_deserializeOpDocumentMonitorContactOutput(v **MonitorContactOu } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -26558,7 +26305,6 @@ func awsRestjson1_deserializeOpDocumentReplicateInstanceOutput(v **ReplicateInst } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -26567,7 +26313,6 @@ func awsRestjson1_deserializeOpDocumentReplicateInstanceOutput(v **ReplicateInst } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -26931,7 +26676,6 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent if err := awsRestjson1_deserializeDocumentAgentStatusList(&sv.AgentStatuses, value); err != nil { return err } - case "ApproximateTotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -26944,7 +26688,6 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26953,7 +26696,6 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27114,7 +26856,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentAvailableNumbersList(&sv.AvailableNumbersList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27123,7 +26864,6 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27295,12 +27035,10 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowModulesOutput(v **Search } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "ContactFlowModules": if err := awsRestjson1_deserializeDocumentContactFlowModuleSearchSummaryList(&sv.ContactFlowModules, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27309,7 +27047,6 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowModulesOutput(v **Search } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27481,12 +27218,10 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowsOutput(v **SearchContac } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "ContactFlows": if err := awsRestjson1_deserializeDocumentContactFlowSearchSummaryList(&sv.ContactFlows, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27495,7 +27230,6 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowsOutput(v **SearchContac } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27659,7 +27393,6 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27668,7 +27401,6 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu } sv.NextToken = ptr.String(jtv) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -27681,7 +27413,6 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -27853,12 +27584,10 @@ func awsRestjson1_deserializeOpDocumentSearchHoursOfOperationsOutput(v **SearchH } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "HoursOfOperations": if err := awsRestjson1_deserializeDocumentHoursOfOperationList(&sv.HoursOfOperations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27867,7 +27596,6 @@ func awsRestjson1_deserializeOpDocumentSearchHoursOfOperationsOutput(v **SearchH } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -28039,7 +27767,6 @@ func awsRestjson1_deserializeOpDocumentSearchPredefinedAttributesOutput(v **Sear } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28048,12 +27775,10 @@ func awsRestjson1_deserializeOpDocumentSearchPredefinedAttributesOutput(v **Sear } sv.NextToken = ptr.String(jtv) } - case "PredefinedAttributes": if err := awsRestjson1_deserializeDocumentPredefinedAttributeSearchSummaryList(&sv.PredefinedAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -28225,7 +27950,6 @@ func awsRestjson1_deserializeOpDocumentSearchPromptsOutput(v **SearchPromptsOutp } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28234,12 +27958,10 @@ func awsRestjson1_deserializeOpDocumentSearchPromptsOutput(v **SearchPromptsOutp } sv.NextToken = ptr.String(jtv) } - case "Prompts": if err := awsRestjson1_deserializeDocumentPromptList(&sv.Prompts, value); err != nil { return err } - default: _, _ = key, value @@ -28411,7 +28133,6 @@ func awsRestjson1_deserializeOpDocumentSearchQueuesOutput(v **SearchQueuesOutput } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28420,12 +28141,10 @@ func awsRestjson1_deserializeOpDocumentSearchQueuesOutput(v **SearchQueuesOutput } sv.NextToken = ptr.String(jtv) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueueSearchSummaryList(&sv.Queues, value); err != nil { return err } - default: _, _ = key, value @@ -28597,7 +28316,6 @@ func awsRestjson1_deserializeOpDocumentSearchQuickConnectsOutput(v **SearchQuick } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28606,12 +28324,10 @@ func awsRestjson1_deserializeOpDocumentSearchQuickConnectsOutput(v **SearchQuick } sv.NextToken = ptr.String(jtv) } - case "QuickConnects": if err := awsRestjson1_deserializeDocumentQuickConnectSearchSummaryList(&sv.QuickConnects, value); err != nil { return err } - default: _, _ = key, value @@ -28782,12 +28498,10 @@ func awsRestjson1_deserializeOpDocumentSearchResourceTagsOutput(v **SearchResour } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -28959,7 +28673,6 @@ func awsRestjson1_deserializeOpDocumentSearchRoutingProfilesOutput(v **SearchRou } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28968,12 +28681,10 @@ func awsRestjson1_deserializeOpDocumentSearchRoutingProfilesOutput(v **SearchRou } sv.NextToken = ptr.String(jtv) } - case "RoutingProfiles": if err := awsRestjson1_deserializeDocumentRoutingProfileList(&sv.RoutingProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -29145,7 +28856,6 @@ func awsRestjson1_deserializeOpDocumentSearchSecurityProfilesOutput(v **SearchSe } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29154,12 +28864,10 @@ func awsRestjson1_deserializeOpDocumentSearchSecurityProfilesOutput(v **SearchSe } sv.NextToken = ptr.String(jtv) } - case "SecurityProfiles": if err := awsRestjson1_deserializeDocumentSecurityProfilesSearchSummaryList(&sv.SecurityProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -29331,7 +29039,6 @@ func awsRestjson1_deserializeOpDocumentSearchUserHierarchyGroupsOutput(v **Searc } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29340,12 +29047,10 @@ func awsRestjson1_deserializeOpDocumentSearchUserHierarchyGroupsOutput(v **Searc } sv.NextToken = ptr.String(jtv) } - case "UserHierarchyGroups": if err := awsRestjson1_deserializeDocumentUserHierarchyGroupList(&sv.UserHierarchyGroups, value); err != nil { return err } - default: _, _ = key, value @@ -29517,7 +29222,6 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.ApproximateTotalCount = ptr.Int64(i64) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29526,12 +29230,10 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsRestjson1_deserializeDocumentUserSearchSummaryList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -29696,12 +29398,10 @@ func awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(v **SearchVocabu } sv.NextToken = ptr.String(jtv) } - case "VocabularySummaryList": if err := awsRestjson1_deserializeDocumentVocabularySummaryList(&sv.VocabularySummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -29869,7 +29569,6 @@ func awsRestjson1_deserializeOpDocumentSendChatIntegrationEventOutput(v **SendCh } sv.InitialContactId = ptr.String(jtv) } - case "NewChatCreated": if value != nil { jtv, ok := value.(bool) @@ -29878,7 +29577,6 @@ func awsRestjson1_deserializeOpDocumentSendChatIntegrationEventOutput(v **SendCh } sv.NewChatCreated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -30045,7 +29743,6 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -30054,7 +29751,6 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.CreationTime = ptr.String(jtv) } - case "FileArn": if value != nil { jtv, ok := value.(string) @@ -30063,7 +29759,6 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileArn = ptr.String(jtv) } - case "FileId": if value != nil { jtv, ok := value.(string) @@ -30072,7 +29767,6 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileId = ptr.String(jtv) } - case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -30081,12 +29775,10 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileStatus = types.FileStatusType(jtv) } - case "UploadUrlMetadata": if err := awsRestjson1_deserializeDocumentUploadUrlMetadata(&sv.UploadUrlMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -30254,7 +29946,6 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ContactId = ptr.String(jtv) } - case "ContinuedFromContactId": if value != nil { jtv, ok := value.(string) @@ -30263,7 +29954,6 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ContinuedFromContactId = ptr.String(jtv) } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -30272,7 +29962,6 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -30281,7 +29970,6 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ParticipantToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30452,7 +30140,6 @@ func awsRestjson1_deserializeOpDocumentStartContactEvaluationOutput(v **StartCon } sv.EvaluationArn = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -30461,7 +30148,6 @@ func awsRestjson1_deserializeOpDocumentStartContactEvaluationOutput(v **StartCon } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -30726,7 +30412,6 @@ func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartCont } sv.StreamingId = ptr.String(jtv) } - default: _, _ = key, value @@ -30900,7 +30585,6 @@ func awsRestjson1_deserializeOpDocumentStartOutboundChatContactOutput(v **StartO } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -31074,7 +30758,6 @@ func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **Start } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -31348,7 +31031,6 @@ func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskConta } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -31512,7 +31194,6 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC if err := awsRestjson1_deserializeDocumentConnectionData(&sv.ConnectionData, value); err != nil { return err } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -31521,7 +31202,6 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ContactId = ptr.String(jtv) } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -31530,7 +31210,6 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -31539,7 +31218,6 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ParticipantToken = ptr.String(jtv) } - default: _, _ = key, value @@ -31998,7 +31676,6 @@ func awsRestjson1_deserializeOpDocumentSubmitContactEvaluationOutput(v **SubmitC } sv.EvaluationArn = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -32007,7 +31684,6 @@ func awsRestjson1_deserializeOpDocumentSubmitContactEvaluationOutput(v **SubmitC } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -32481,7 +32157,6 @@ func awsRestjson1_deserializeOpDocumentTransferContactOutput(v **TransferContact } sv.ContactArn = ptr.String(jtv) } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -32490,7 +32165,6 @@ func awsRestjson1_deserializeOpDocumentTransferContactOutput(v **TransferContact } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -33279,7 +32953,6 @@ func awsRestjson1_deserializeOpDocumentUpdateContactEvaluationOutput(v **UpdateC } sv.EvaluationArn = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -33288,7 +32961,6 @@ func awsRestjson1_deserializeOpDocumentUpdateContactEvaluationOutput(v **UpdateC } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -34183,7 +33855,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -34192,7 +33863,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -34205,7 +33875,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormVersion = int32(i64) } - default: _, _ = key, value @@ -34803,7 +34472,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -34812,7 +34480,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -35201,7 +34868,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.PromptARN = ptr.String(jtv) } - case "PromptId": if value != nil { jtv, ok := value.(string) @@ -35210,7 +34876,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.PromptId = ptr.String(jtv) } - default: _, _ = key, value @@ -36874,12 +36539,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Arn = ptr.String(jtv) } - case "Constraints": if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { return err } - case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -36888,7 +36551,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.ContactFlowId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -36904,12 +36566,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } } - case "Defaults": if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -36918,12 +36578,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Description = ptr.String(jtv) } - case "Fields": if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -36932,7 +36590,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Id = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -36941,7 +36598,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.InstanceId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36957,7 +36613,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -36966,7 +36621,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -36975,7 +36629,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Status = types.TaskTemplateStatus(jtv) } - default: _, _ = key, value @@ -38102,7 +37755,6 @@ func awsRestjson1_deserializeOpDocumentUpdateViewContentOutput(v **UpdateViewCon if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -39141,15 +38793,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -39157,15 +38803,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -39234,7 +38876,6 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionType = types.ActionType(jtv) } - default: _, _ = key, value @@ -39270,7 +38911,6 @@ func awsRestjson1_deserializeDocumentAgentConfig(v **types.AgentConfig, value in if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } - default: _, _ = key, value @@ -39310,7 +38950,6 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.AgentContactState = types.ContactState(jtv) } - case "Channel": if value != nil { jtv, ok := value.(string) @@ -39319,7 +38958,6 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.Channel = types.Channel(jtv) } - case "ConnectedToAgentTimestamp": if value != nil { switch jtv := value.(type) { @@ -39335,7 +38973,6 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -39344,7 +38981,6 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.ContactId = ptr.String(jtv) } - case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -39353,12 +38989,10 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } - case "Queue": if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { return err } - case "StateStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -39374,7 +39008,6 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } } - default: _, _ = key, value @@ -39448,7 +39081,6 @@ func awsRestjson1_deserializeDocumentAgentHierarchyGroup(v **types.AgentHierarch } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -39528,12 +39160,10 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentPauseDurationInSeconds = ptr.Int32(int32(i64)) } - case "Capabilities": if err := awsRestjson1_deserializeDocumentParticipantCapabilities(&sv.Capabilities, value); err != nil { return err } - case "ConnectedToAgentTimestamp": if value != nil { switch jtv := value.(type) { @@ -39549,17 +39179,14 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } } - case "DeviceInfo": if err := awsRestjson1_deserializeDocumentDeviceInfo(&sv.DeviceInfo, value); err != nil { return err } - case "HierarchyGroups": if err := awsRestjson1_deserializeDocumentHierarchyGroups(&sv.HierarchyGroups, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -39568,7 +39195,6 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -39604,7 +39230,6 @@ func awsRestjson1_deserializeDocumentAgentQualityMetrics(v **types.AgentQualityM if err := awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(&sv.Audio, value); err != nil { return err } - default: _, _ = key, value @@ -39640,7 +39265,6 @@ func awsRestjson1_deserializeDocumentAgentsCriteria(v **types.AgentsCriteria, va if err := awsRestjson1_deserializeDocumentAgentIds(&sv.AgentIds, value); err != nil { return err } - default: _, _ = key, value @@ -39680,7 +39304,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.AgentStatusARN = ptr.String(jtv) } - case "AgentStatusId": if value != nil { jtv, ok := value.(string) @@ -39689,7 +39312,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.AgentStatusId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -39698,7 +39320,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Description = ptr.String(jtv) } - case "DisplayOrder": if value != nil { jtv, ok := value.(json.Number) @@ -39711,7 +39332,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.DisplayOrder = ptr.Int32(int32(i64)) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -39720,7 +39340,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39736,7 +39355,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39745,7 +39363,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -39754,12 +39371,10 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.State = types.AgentStatusState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -39768,7 +39383,6 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Type = types.AgentStatusType(jtv) } - default: _, _ = key, value @@ -39842,7 +39456,6 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } sv.StatusArn = ptr.String(jtv) } - case "StatusName": if value != nil { jtv, ok := value.(string) @@ -39851,7 +39464,6 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } sv.StatusName = ptr.String(jtv) } - case "StatusStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -39867,7 +39479,6 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } } - default: _, _ = key, value @@ -39907,7 +39518,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -39916,7 +39526,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -39925,7 +39534,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39941,7 +39549,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39950,7 +39557,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -39959,7 +39565,6 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Type = types.AgentStatusType(jtv) } - default: _, _ = key, value @@ -40069,7 +39674,6 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.DataSetId = ptr.String(jtv) } - case "ResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -40078,7 +39682,6 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.ResourceShareArn = ptr.String(jtv) } - case "ResourceShareId": if value != nil { jtv, ok := value.(string) @@ -40087,7 +39690,6 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.ResourceShareId = ptr.String(jtv) } - case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -40096,7 +39698,6 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.TargetAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -40166,7 +39767,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationPermissions(&sv.ApplicationPermissions, value); err != nil { return err } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -40175,7 +39775,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -40352,12 +39951,10 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.AssociatedResourceArn = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -40366,7 +39963,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.CreationTime = ptr.String(jtv) } - case "FileArn": if value != nil { jtv, ok := value.(string) @@ -40375,7 +39971,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileArn = ptr.String(jtv) } - case "FileId": if value != nil { jtv, ok := value.(string) @@ -40384,7 +39979,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileId = ptr.String(jtv) } - case "FileName": if value != nil { jtv, ok := value.(string) @@ -40393,7 +39987,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileName = ptr.String(jtv) } - case "FileSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -40406,7 +39999,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileSizeInBytes = ptr.Int64(i64) } - case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -40415,7 +40007,6 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileStatus = types.FileStatusType(jtv) } - case "FileUseCaseType": if value != nil { jtv, ok := value.(string) @@ -40424,12 +40015,10 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileUseCaseType = types.FileUseCaseType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -40469,7 +40058,6 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -40478,7 +40066,6 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.ErrorMessage = ptr.String(jtv) } - case "FileId": if value != nil { jtv, ok := value.(string) @@ -40487,7 +40074,6 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.FileId = ptr.String(jtv) } - default: _, _ = key, value @@ -40595,7 +40181,6 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -40604,7 +40189,6 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Status = types.ReferenceStatus(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -40613,7 +40197,6 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -40653,7 +40236,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } - case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -40662,7 +40244,6 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } - default: _, _ = key, value @@ -40702,7 +40283,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.AttributeType = types.InstanceAttributeType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -40711,7 +40291,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -40751,12 +40330,10 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.ComparisonOperator = ptr.String(jtv) } - case "MatchCriteria": if err := awsRestjson1_deserializeDocumentMatchCriteria(&sv.MatchCriteria, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40765,7 +40342,6 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.Name = ptr.String(jtv) } - case "ProficiencyLevel": if value != nil { switch jtv := value.(type) { @@ -40799,7 +40375,6 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } } - case "Value": if value != nil { jtv, ok := value.(string) @@ -40808,7 +40383,6 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -40918,7 +40492,6 @@ func awsRestjson1_deserializeDocumentAudioFeatures(v **types.AudioFeatures, valu } sv.EchoReduction = types.MeetingFeatureStatus(jtv) } - default: _, _ = key, value @@ -40954,7 +40527,6 @@ func awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(v **types.AudioQual if err := awsRestjson1_deserializeDocumentPotentialAudioQualityIssues(&sv.PotentialQualityIssues, value); err != nil { return err } - case "QualityScore": if value != nil { switch jtv := value.(type) { @@ -40988,7 +40560,6 @@ func awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(v **types.AudioQual } } - default: _, _ = key, value @@ -41024,7 +40595,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat if err := awsRestjson1_deserializeDocumentIpCidrList(&sv.AllowedIps, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -41033,12 +40603,10 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Arn = ptr.String(jtv) } - case "BlockedIps": if err := awsRestjson1_deserializeDocumentIpCidrList(&sv.BlockedIps, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -41054,7 +40622,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -41063,7 +40630,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -41072,7 +40638,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Id = ptr.String(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -41081,7 +40646,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.IsDefault = jtv } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -41090,7 +40654,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -41106,7 +40669,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } } - case "MaxSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -41119,7 +40681,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.MaxSessionDuration = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41128,7 +40689,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Name = ptr.String(jtv) } - case "PeriodicSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -41141,7 +40701,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.PeriodicSessionDuration = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41181,7 +40740,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -41190,7 +40748,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Id = ptr.String(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -41199,7 +40756,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.IsDefault = jtv } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -41208,7 +40764,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -41224,7 +40779,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41233,7 +40787,6 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41341,7 +40894,6 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -41350,7 +40902,6 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } - case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -41359,7 +40910,6 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumberType = types.PhoneNumberType(jtv) } - default: _, _ = key, value @@ -41399,7 +40949,6 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.CampaignId = ptr.String(jtv) } - default: _, _ = key, value @@ -41479,7 +41028,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.InstanceId = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -41488,7 +41036,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -41497,7 +41044,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -41506,7 +41052,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } - case "PhoneNumberDescription": if value != nil { jtv, ok := value.(string) @@ -41515,7 +41060,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberDescription = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -41524,12 +41068,10 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberId = ptr.String(jtv) } - case "PhoneNumberStatus": if err := awsRestjson1_deserializeDocumentPhoneNumberStatus(&sv.PhoneNumberStatus, value); err != nil { return err } - case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -41538,7 +41080,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberType = types.PhoneNumberType(jtv) } - case "SourcePhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -41547,12 +41088,10 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.SourcePhoneNumberArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -41561,7 +41100,6 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -41591,15 +41129,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41607,15 +41139,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41646,12 +41174,10 @@ func awsRestjson1_deserializeDocumentConnectionData(v **types.ConnectionData, va if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } - case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } - default: _, _ = key, value @@ -41687,7 +41213,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ if err := awsRestjson1_deserializeDocumentAgentInfo(&sv.AgentInfo, value); err != nil { return err } - case "AnsweringMachineDetectionStatus": if value != nil { jtv, ok := value.(string) @@ -41696,7 +41221,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.AnsweringMachineDetectionStatus = types.AnsweringMachineDetectionStatus(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -41705,12 +41229,10 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Arn = ptr.String(jtv) } - case "Campaign": if err := awsRestjson1_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } - case "Channel": if value != nil { jtv, ok := value.(string) @@ -41719,7 +41241,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Channel = types.Channel(jtv) } - case "ConnectedToSystemTimestamp": if value != nil { switch jtv := value.(type) { @@ -41735,17 +41256,14 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "Customer": if err := awsRestjson1_deserializeDocumentCustomer(&sv.Customer, value); err != nil { return err } - case "CustomerVoiceActivity": if err := awsRestjson1_deserializeDocumentCustomerVoiceActivity(&sv.CustomerVoiceActivity, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -41754,12 +41272,10 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Description = ptr.String(jtv) } - case "DisconnectDetails": if err := awsRestjson1_deserializeDocumentDisconnectDetails(&sv.DisconnectDetails, value); err != nil { return err } - case "DisconnectTimestamp": if value != nil { switch jtv := value.(type) { @@ -41775,7 +41291,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -41784,7 +41299,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Id = ptr.String(jtv) } - case "InitialContactId": if value != nil { jtv, ok := value.(string) @@ -41793,7 +41307,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.InitialContactId = ptr.String(jtv) } - case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -41802,7 +41315,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } - case "InitiationTimestamp": if value != nil { switch jtv := value.(type) { @@ -41818,7 +41330,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "LastPausedTimestamp": if value != nil { switch jtv := value.(type) { @@ -41834,7 +41345,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "LastResumedTimestamp": if value != nil { switch jtv := value.(type) { @@ -41850,7 +41360,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -41866,7 +41375,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41875,7 +41383,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Name = ptr.String(jtv) } - case "PreviousContactId": if value != nil { jtv, ok := value.(string) @@ -41884,17 +41391,14 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.PreviousContactId = ptr.String(jtv) } - case "QualityMetrics": if err := awsRestjson1_deserializeDocumentQualityMetrics(&sv.QualityMetrics, value); err != nil { return err } - case "QueueInfo": if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { return err } - case "QueuePriority": if value != nil { jtv, ok := value.(json.Number) @@ -41907,7 +41411,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.QueuePriority = ptr.Int64(i64) } - case "QueueTimeAdjustmentSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -41920,7 +41423,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.QueueTimeAdjustmentSeconds = ptr.Int32(int32(i64)) } - case "RelatedContactId": if value != nil { jtv, ok := value.(string) @@ -41929,12 +41431,10 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.RelatedContactId = ptr.String(jtv) } - case "RoutingCriteria": if err := awsRestjson1_deserializeDocumentRoutingCriteria(&sv.RoutingCriteria, value); err != nil { return err } - case "ScheduledTimestamp": if value != nil { switch jtv := value.(type) { @@ -41950,17 +41450,14 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "SegmentAttributes": if err := awsRestjson1_deserializeDocumentSegmentAttributes(&sv.SegmentAttributes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentContactTagMap(&sv.Tags, value); err != nil { return err } - case "TotalPauseCount": if value != nil { jtv, ok := value.(json.Number) @@ -41973,7 +41470,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.TotalPauseCount = ptr.Int32(int32(i64)) } - case "TotalPauseDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -41986,12 +41482,10 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.TotalPauseDurationInSeconds = ptr.Int32(int32(i64)) } - case "WisdomInfo": if err := awsRestjson1_deserializeDocumentWisdomInfo(&sv.WisdomInfo, value); err != nil { return err } - default: _, _ = key, value @@ -42031,7 +41525,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Arn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -42040,7 +41533,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Content = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -42049,7 +41541,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42058,7 +41549,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -42067,7 +41557,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -42076,7 +41565,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.State = types.ContactFlowState(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -42085,12 +41573,10 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Status = types.ContactFlowStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -42099,7 +41585,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Type = types.ContactFlowType(jtv) } - default: _, _ = key, value @@ -42139,7 +41624,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Arn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -42148,7 +41632,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Content = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -42157,7 +41640,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42166,7 +41648,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -42175,7 +41656,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -42184,7 +41664,6 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.State = types.ContactFlowModuleState(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -42193,12 +41672,10 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Status = types.ContactFlowModuleStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -42306,7 +41783,6 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42315,7 +41791,6 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -42324,7 +41799,6 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -42333,7 +41807,6 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.State = types.ContactFlowModuleState(jtv) } - default: _, _ = key, value @@ -42363,15 +41836,9 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42379,15 +41846,11 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42456,7 +41919,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Arn = ptr.String(jtv) } - case "ContactFlowState": if value != nil { jtv, ok := value.(string) @@ -42465,7 +41927,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowState = types.ContactFlowState(jtv) } - case "ContactFlowStatus": if value != nil { jtv, ok := value.(string) @@ -42474,7 +41935,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowStatus = types.ContactFlowStatus(jtv) } - case "ContactFlowType": if value != nil { jtv, ok := value.(string) @@ -42483,7 +41943,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowType = types.ContactFlowType(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42492,7 +41951,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -42501,7 +41959,6 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -42565,15 +42022,9 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42581,15 +42032,11 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42689,7 +42136,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc if err := awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(&sv.AgentInfo, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -42698,7 +42144,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Arn = ptr.String(jtv) } - case "Channel": if value != nil { jtv, ok := value.(string) @@ -42707,7 +42152,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Channel = types.Channel(jtv) } - case "DisconnectTimestamp": if value != nil { switch jtv := value.(type) { @@ -42723,7 +42167,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42732,7 +42175,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Id = ptr.String(jtv) } - case "InitialContactId": if value != nil { jtv, ok := value.(string) @@ -42741,7 +42183,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.InitialContactId = ptr.String(jtv) } - case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -42750,7 +42191,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } - case "InitiationTimestamp": if value != nil { switch jtv := value.(type) { @@ -42766,7 +42206,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } - case "PreviousContactId": if value != nil { jtv, ok := value.(string) @@ -42775,12 +42214,10 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.PreviousContactId = ptr.String(jtv) } - case "QueueInfo": if err := awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(&sv.QueueInfo, value); err != nil { return err } - case "ScheduledTimestamp": if value != nil { switch jtv := value.(type) { @@ -42796,7 +42233,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } - default: _, _ = key, value @@ -42843,7 +42279,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(v **types.Con } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42852,7 +42287,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(v **types.Con } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -42899,7 +42333,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(v **types.Con } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42908,7 +42341,6 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(v **types.Con } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -42980,7 +42412,6 @@ func awsRestjson1_deserializeDocumentCreateCaseActionDefinition(v **types.Create if err := awsRestjson1_deserializeDocumentFieldValues(&sv.Fields, value); err != nil { return err } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -42989,7 +42420,6 @@ func awsRestjson1_deserializeDocumentCreateCaseActionDefinition(v **types.Create } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -43083,7 +42513,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessToken = ptr.String(jtv) } - case "AccessTokenExpiration": if value != nil { switch jtv := value.(type) { @@ -43099,7 +42528,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } - case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -43108,7 +42536,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.RefreshToken = ptr.String(jtv) } - case "RefreshTokenExpiration": if value != nil { switch jtv := value.(type) { @@ -43124,7 +42551,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } - default: _, _ = key, value @@ -43164,7 +42590,6 @@ func awsRestjson1_deserializeDocumentCrossChannelBehavior(v **types.CrossChannel } sv.BehaviorType = types.BehaviorType(jtv) } - default: _, _ = key, value @@ -43204,7 +42629,6 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu } sv.Name = types.CurrentMetricName(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -43213,7 +42637,6 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu } sv.Unit = types.Unit(jtv) } - default: _, _ = key, value @@ -43249,7 +42672,6 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa if err := awsRestjson1_deserializeDocumentCurrentMetric(&sv.Metric, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -43283,7 +42705,6 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa } } - default: _, _ = key, value @@ -43353,12 +42774,10 @@ func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetric if err := awsRestjson1_deserializeDocumentCurrentMetricDataCollections(&sv.Collections, value); err != nil { return err } - case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -43428,12 +42847,10 @@ func awsRestjson1_deserializeDocumentCustomer(v **types.Customer, value interfac if err := awsRestjson1_deserializeDocumentParticipantCapabilities(&sv.Capabilities, value); err != nil { return err } - case "DeviceInfo": if err := awsRestjson1_deserializeDocumentDeviceInfo(&sv.DeviceInfo, value); err != nil { return err } - default: _, _ = key, value @@ -43469,7 +42886,6 @@ func awsRestjson1_deserializeDocumentCustomerQualityMetrics(v **types.CustomerQu if err := awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(&sv.Audio, value); err != nil { return err } - default: _, _ = key, value @@ -43516,7 +42932,6 @@ func awsRestjson1_deserializeDocumentCustomerVoiceActivity(v **types.CustomerVoi } } - case "GreetingStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -43532,7 +42947,6 @@ func awsRestjson1_deserializeDocumentCustomerVoiceActivity(v **types.CustomerVoi } } - default: _, _ = key, value @@ -43608,7 +43022,6 @@ func awsRestjson1_deserializeDocumentDateReference(v **types.DateReference, valu } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -43617,7 +43030,6 @@ func awsRestjson1_deserializeDocumentDateReference(v **types.DateReference, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -43657,7 +43069,6 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.InstanceId = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -43666,7 +43077,6 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } - case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -43675,7 +43085,6 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.VocabularyId = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -43684,7 +43093,6 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -43748,15 +43156,9 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43764,15 +43166,11 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43807,7 +43205,6 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.OperatingSystem = ptr.String(jtv) } - case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -43816,7 +43213,6 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.PlatformName = ptr.String(jtv) } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -43825,7 +43221,6 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.PlatformVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -43865,17 +43260,14 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte } sv.Channel = types.Channel(jtv) } - case "Queue": if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { return err } - case "RoutingProfile": if err := awsRestjson1_deserializeDocumentRoutingProfileReference(&sv.RoutingProfile, value); err != nil { return err } - case "RoutingStepExpression": if value != nil { jtv, ok := value.(string) @@ -43884,7 +43276,6 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte } sv.RoutingStepExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -43960,7 +43351,6 @@ func awsRestjson1_deserializeDocumentDisconnectDetails(v **types.DisconnectDetai } sv.PotentialDisconnectIssue = ptr.String(jtv) } - default: _, _ = key, value @@ -44004,7 +43394,6 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Percentage = int32(i64) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -44013,7 +43402,6 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -44087,7 +43475,6 @@ func awsRestjson1_deserializeDocumentDownloadUrlMetadata(v **types.DownloadUrlMe } sv.Url = ptr.String(jtv) } - case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -44096,7 +43483,6 @@ func awsRestjson1_deserializeDocumentDownloadUrlMetadata(v **types.DownloadUrlMe } sv.UrlExpiry = ptr.String(jtv) } - default: _, _ = key, value @@ -44126,15 +43512,9 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44142,15 +43522,11 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44185,7 +43561,6 @@ func awsRestjson1_deserializeDocumentEmailReference(v **types.EmailReference, va } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -44194,7 +43569,6 @@ func awsRestjson1_deserializeDocumentEmailReference(v **types.EmailReference, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -44265,7 +43639,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.EncryptionType = types.EncryptionType(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -44274,7 +43647,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -44345,7 +43717,6 @@ func awsRestjson1_deserializeDocumentErrorResult(v **types.ErrorResult, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -44354,7 +43725,6 @@ func awsRestjson1_deserializeDocumentErrorResult(v **types.ErrorResult, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -44424,7 +43794,6 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte if err := awsRestjson1_deserializeDocumentEvaluationAnswersOutputMap(&sv.Answers, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -44440,7 +43809,6 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "EvaluationArn": if value != nil { jtv, ok := value.(string) @@ -44449,7 +43817,6 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationArn = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -44458,7 +43825,6 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44474,22 +43840,18 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "Metadata": if err := awsRestjson1_deserializeDocumentEvaluationMetadata(&sv.Metadata, value); err != nil { return err } - case "Notes": if err := awsRestjson1_deserializeDocumentEvaluationNotesMap(&sv.Notes, value); err != nil { return err } - case "Scores": if err := awsRestjson1_deserializeDocumentEvaluationScoresMap(&sv.Scores, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -44498,12 +43860,10 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Status = types.EvaluationStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -44630,12 +43990,10 @@ func awsRestjson1_deserializeDocumentEvaluationAnswerOutput(v **types.Evaluation if err := awsRestjson1_deserializeDocumentEvaluationAnswerData(&sv.SystemSuggestedValue, value); err != nil { return err } - case "Value": if err := awsRestjson1_deserializeDocumentEvaluationAnswerData(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -44710,7 +44068,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -44726,7 +44083,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -44735,7 +44091,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Description = ptr.String(jtv) } - case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -44744,7 +44099,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -44753,7 +44107,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -44766,12 +44119,10 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormVersion = int32(i64) } - case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -44780,7 +44131,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44796,7 +44146,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } } - case "Locked": if value != nil { jtv, ok := value.(bool) @@ -44805,12 +44154,10 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Locked = jtv } - case "ScoringStrategy": if err := awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(&sv.ScoringStrategy, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -44819,12 +44166,10 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Status = types.EvaluationFormVersionStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -44833,7 +44178,6 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -44873,7 +44217,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.Description = ptr.String(jtv) } - case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -44882,7 +44225,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -44891,7 +44233,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -44904,17 +44245,14 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormVersion = int32(i64) } - case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } - case "ScoringStrategy": if err := awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(&sv.ScoringStrategy, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -44923,7 +44261,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -45085,7 +44422,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.AutomaticFail = jtv } - case "MaxValue": if value != nil { jtv, ok := value.(json.Number) @@ -45098,7 +44434,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.MaxValue = int32(i64) } - case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -45111,7 +44446,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.MinValue = int32(i64) } - case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -45124,7 +44458,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.Score = int32(i64) } - default: _, _ = key, value @@ -45194,7 +44527,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * if err := awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionAutomation(&sv.Automation, value); err != nil { return err } - case "MaxValue": if value != nil { jtv, ok := value.(json.Number) @@ -45207,7 +44539,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * } sv.MaxValue = int32(i64) } - case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -45220,12 +44551,10 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * } sv.MinValue = int32(i64) } - case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOptionList(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -45265,7 +44594,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.Instructions = ptr.String(jtv) } - case "NotApplicableEnabled": if value != nil { jtv, ok := value.(bool) @@ -45274,7 +44602,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.NotApplicableEnabled = jtv } - case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -45283,12 +44610,10 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.QuestionType = types.EvaluationFormQuestionType(jtv) } - case "QuestionTypeProperties": if err := awsRestjson1_deserializeDocumentEvaluationFormQuestionTypeProperties(&sv.QuestionTypeProperties, value); err != nil { return err } - case "RefId": if value != nil { jtv, ok := value.(string) @@ -45297,7 +44622,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.RefId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -45306,7 +44630,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.Title = ptr.String(jtv) } - case "Weight": if value != nil { switch jtv := value.(type) { @@ -45340,7 +44663,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } } - default: _, _ = key, value @@ -45430,7 +44752,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(v **types.Eva } sv.Mode = types.EvaluationFormScoringMode(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45439,7 +44760,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(v **types.Eva } sv.Status = types.EvaluationFormScoringStatus(jtv) } - default: _, _ = key, value @@ -45479,12 +44799,10 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.Instructions = ptr.String(jtv) } - case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } - case "RefId": if value != nil { jtv, ok := value.(string) @@ -45493,7 +44811,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.RefId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -45502,7 +44819,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.Title = ptr.String(jtv) } - case "Weight": if value != nil { switch jtv := value.(type) { @@ -45536,7 +44852,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } } - default: _, _ = key, value @@ -45576,12 +44891,10 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomatio } sv.DefaultOptionRefId = ptr.String(jtv) } - case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomationOptionList(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -45693,7 +45006,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.AutomaticFail = jtv } - case "RefId": if value != nil { jtv, ok := value.(string) @@ -45702,7 +45014,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.RefId = ptr.String(jtv) } - case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -45715,7 +45026,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.Score = int32(i64) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -45724,7 +45034,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -45794,7 +45103,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionPropertie if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomation(&sv.Automation, value); err != nil { return err } - case "DisplayAs": if value != nil { jtv, ok := value.(string) @@ -45803,12 +45111,10 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionPropertie } sv.DisplayAs = types.EvaluationFormSingleSelectQuestionDisplayMode(jtv) } - case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOptionList(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -45852,7 +45158,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.ActiveVersion = ptr.Int32(int32(i64)) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -45861,7 +45166,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -45877,7 +45181,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } - case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -45886,7 +45189,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -45895,7 +45197,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.EvaluationFormId = ptr.String(jtv) } - case "LastActivatedBy": if value != nil { jtv, ok := value.(string) @@ -45904,7 +45205,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LastActivatedBy = ptr.String(jtv) } - case "LastActivatedTime": if value != nil { switch jtv := value.(type) { @@ -45920,7 +45220,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -45929,7 +45228,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -45945,7 +45243,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } - case "LatestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45958,7 +45255,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LatestVersion = int32(i64) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -45967,7 +45263,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -46041,7 +45336,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -46057,7 +45351,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } } - case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -46066,7 +45359,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -46075,7 +45367,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -46088,7 +45379,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormVersion = int32(i64) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -46097,7 +45387,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46113,7 +45402,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } } - case "Locked": if value != nil { jtv, ok := value.(bool) @@ -46122,7 +45410,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.Locked = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46131,7 +45418,6 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.Status = types.EvaluationFormVersionStatus(jtv) } - default: _, _ = key, value @@ -46205,7 +45491,6 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.ContactAgentId = ptr.String(jtv) } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -46214,7 +45499,6 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.ContactId = ptr.String(jtv) } - case "EvaluatorArn": if value != nil { jtv, ok := value.(string) @@ -46223,12 +45507,10 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.EvaluatorArn = ptr.String(jtv) } - case "Score": if err := awsRestjson1_deserializeDocumentEvaluationScore(&sv.Score, value); err != nil { return err } - default: _, _ = key, value @@ -46268,7 +45550,6 @@ func awsRestjson1_deserializeDocumentEvaluationNote(v **types.EvaluationNote, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -46343,7 +45624,6 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } sv.AutomaticFail = jtv } - case "NotApplicable": if value != nil { jtv, ok := value.(bool) @@ -46352,7 +45632,6 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } sv.NotApplicable = jtv } - case "Percentage": if value != nil { switch jtv := value.(type) { @@ -46386,7 +45665,6 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } } - default: _, _ = key, value @@ -46468,7 +45746,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } } - case "EvaluationArn": if value != nil { jtv, ok := value.(string) @@ -46477,7 +45754,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationArn = ptr.String(jtv) } - case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -46486,7 +45762,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationFormId = ptr.String(jtv) } - case "EvaluationFormTitle": if value != nil { jtv, ok := value.(string) @@ -46495,7 +45770,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationFormTitle = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -46504,7 +45778,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationId = ptr.String(jtv) } - case "EvaluatorArn": if value != nil { jtv, ok := value.(string) @@ -46513,7 +45786,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluatorArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46529,12 +45801,10 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } } - case "Score": if err := awsRestjson1_deserializeDocumentEvaluationScore(&sv.Score, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46543,7 +45813,6 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.Status = types.EvaluationStatus(jtv) } - default: _, _ = key, value @@ -46617,7 +45886,6 @@ func awsRestjson1_deserializeDocumentEventBridgeActionDefinition(v **types.Event } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -46661,7 +45929,6 @@ func awsRestjson1_deserializeDocumentExpiry(v **types.Expiry, value interface{}) } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -46677,7 +45944,6 @@ func awsRestjson1_deserializeDocumentExpiry(v **types.Expiry, value interface{}) } } - default: _, _ = key, value @@ -46713,17 +45979,14 @@ func awsRestjson1_deserializeDocumentExpression(v **types.Expression, value inte if err := awsRestjson1_deserializeDocumentExpressions(&sv.AndExpression, value); err != nil { return err } - case "AttributeCondition": if err := awsRestjson1_deserializeDocumentAttributeCondition(&sv.AttributeCondition, value); err != nil { return err } - case "OrExpression": if err := awsRestjson1_deserializeDocumentExpressions(&sv.OrExpression, value); err != nil { return err } - default: _, _ = key, value @@ -46797,7 +46060,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureReasonCode = types.FailureReasonCode(jtv) } - case "FailureReasonMessage": if value != nil { jtv, ok := value.(string) @@ -46806,7 +46068,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureReasonMessage = ptr.String(jtv) } - case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -46815,7 +46076,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -46889,12 +46149,10 @@ func awsRestjson1_deserializeDocumentFieldValue(v **types.FieldValue, value inte } sv.Id = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentFieldValueUnion(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -46968,7 +46226,6 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } sv.BooleanValue = jtv } - case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -47002,12 +46259,10 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } } - case "EmptyValue": if err := awsRestjson1_deserializeDocumentEmptyFieldValue(&sv.EmptyValue, value); err != nil { return err } - case "StringValue": if value != nil { jtv, ok := value.(string) @@ -47016,7 +46271,6 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -47056,7 +46310,6 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.FlowId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -47065,7 +46318,6 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -47074,7 +46326,6 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.ResourceType = types.ListFlowAssociationResourceType(jtv) } - default: _, _ = key, value @@ -47184,12 +46435,10 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Arn = ptr.String(jtv) } - case "HierarchyPath": if err := awsRestjson1_deserializeDocumentHierarchyPath(&sv.HierarchyPath, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -47198,7 +46447,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -47207,7 +46455,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47223,7 +46470,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } } - case "LevelId": if value != nil { jtv, ok := value.(string) @@ -47232,7 +46478,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.LevelId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47241,12 +46486,10 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -47282,27 +46525,22 @@ func awsRestjson1_deserializeDocumentHierarchyGroups(v **types.HierarchyGroups, if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level1, value); err != nil { return err } - case "Level2": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level2, value); err != nil { return err } - case "Level3": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level3, value); err != nil { return err } - case "Level4": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level4, value); err != nil { return err } - case "Level5": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level5, value); err != nil { return err } - default: _, _ = key, value @@ -47342,7 +46580,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -47351,7 +46588,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -47360,7 +46596,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47376,7 +46611,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47385,7 +46619,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -47459,7 +46692,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(v **types.Hi } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -47468,7 +46700,6 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(v **types.Hi } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -47508,7 +46739,6 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -47517,7 +46747,6 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -47526,7 +46755,6 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47542,7 +46770,6 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47551,7 +46778,6 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -47587,27 +46813,22 @@ func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, valu if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFive, value); err != nil { return err } - case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFour, value); err != nil { return err } - case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelOne, value); err != nil { return err } - case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelThree, value); err != nil { return err } - case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelTwo, value); err != nil { return err } - default: _, _ = key, value @@ -47643,27 +46864,22 @@ func awsRestjson1_deserializeDocumentHierarchyPathReference(v **types.HierarchyP if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFive, value); err != nil { return err } - case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFour, value); err != nil { return err } - case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelOne, value); err != nil { return err } - case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelThree, value); err != nil { return err } - case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelTwo, value); err != nil { return err } - default: _, _ = key, value @@ -47735,27 +46951,22 @@ func awsRestjson1_deserializeDocumentHierarchyStructure(v **types.HierarchyStruc if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFive, value); err != nil { return err } - case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFour, value); err != nil { return err } - case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelOne, value); err != nil { return err } - case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelThree, value); err != nil { return err } - case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelTwo, value); err != nil { return err } - default: _, _ = key, value @@ -47795,7 +47006,6 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Name = types.HistoricalMetricName(jtv) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -47804,12 +47014,10 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Statistic = types.Statistic(jtv) } - case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -47818,7 +47026,6 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Unit = types.Unit(jtv) } - default: _, _ = key, value @@ -47854,7 +47061,6 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe if err := awsRestjson1_deserializeDocumentHistoricalMetric(&sv.Metric, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -47888,7 +47094,6 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe } } - default: _, _ = key, value @@ -47958,12 +47163,10 @@ func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.Historical if err := awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(&sv.Collections, value); err != nil { return err } - case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -48033,7 +47236,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation if err := awsRestjson1_deserializeDocumentHoursOfOperationConfigList(&sv.Config, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -48042,7 +47244,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.Description = ptr.String(jtv) } - case "HoursOfOperationArn": if value != nil { jtv, ok := value.(string) @@ -48051,7 +47252,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.HoursOfOperationArn = ptr.String(jtv) } - case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -48060,7 +47260,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.HoursOfOperationId = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -48069,7 +47268,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -48085,7 +47283,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48094,12 +47291,10 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -48108,7 +47303,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.TimeZone = ptr.String(jtv) } - default: _, _ = key, value @@ -48148,17 +47342,14 @@ func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOpe } sv.Day = types.HoursOfOperationDays(jtv) } - case "EndTime": if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.EndTime, value); err != nil { return err } - case "StartTime": if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.StartTime, value); err != nil { return err } - default: _, _ = key, value @@ -48266,7 +47457,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -48275,7 +47465,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -48284,7 +47473,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -48300,7 +47488,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48309,7 +47496,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -48387,7 +47573,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf } sv.Hours = ptr.Int32(int32(i64)) } - case "Minutes": if value != nil { jtv, ok := value.(json.Number) @@ -48400,7 +47585,6 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf } sv.Minutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -48430,15 +47614,9 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -48446,15 +47624,11 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -48489,7 +47663,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -48505,7 +47678,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -48514,7 +47686,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } - case "IdentityManagementType": if value != nil { jtv, ok := value.(string) @@ -48523,7 +47694,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IdentityManagementType = types.DirectoryType(jtv) } - case "InboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -48532,7 +47702,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InboundCallsEnabled = ptr.Bool(jtv) } - case "InstanceAccessUrl": if value != nil { jtv, ok := value.(string) @@ -48541,7 +47710,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceAccessUrl = ptr.String(jtv) } - case "InstanceAlias": if value != nil { jtv, ok := value.(string) @@ -48550,7 +47718,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceAlias = ptr.String(jtv) } - case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -48559,7 +47726,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceStatus = types.InstanceStatus(jtv) } - case "OutboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -48568,7 +47734,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OutboundCallsEnabled = ptr.Bool(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -48577,17 +47742,14 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ServiceRole = ptr.String(jtv) } - case "StatusReason": if err := awsRestjson1_deserializeDocumentInstanceStatusReason(&sv.StatusReason, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -48627,7 +47789,6 @@ func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -48667,27 +47828,22 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceSto } sv.AssociationId = ptr.String(jtv) } - case "KinesisFirehoseConfig": if err := awsRestjson1_deserializeDocumentKinesisFirehoseConfig(&sv.KinesisFirehoseConfig, value); err != nil { return err } - case "KinesisStreamConfig": if err := awsRestjson1_deserializeDocumentKinesisStreamConfig(&sv.KinesisStreamConfig, value); err != nil { return err } - case "KinesisVideoStreamConfig": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(&sv.KinesisVideoStreamConfig, value); err != nil { return err } - case "S3Config": if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -48696,7 +47852,6 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceSto } sv.StorageType = types.StorageType(jtv) } - default: _, _ = key, value @@ -48770,7 +47925,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -48786,7 +47940,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -48795,7 +47948,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Id = ptr.String(jtv) } - case "IdentityManagementType": if value != nil { jtv, ok := value.(string) @@ -48804,7 +47956,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.IdentityManagementType = types.DirectoryType(jtv) } - case "InboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -48813,7 +47964,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InboundCallsEnabled = ptr.Bool(jtv) } - case "InstanceAccessUrl": if value != nil { jtv, ok := value.(string) @@ -48822,7 +47972,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceAccessUrl = ptr.String(jtv) } - case "InstanceAlias": if value != nil { jtv, ok := value.(string) @@ -48831,7 +47980,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceAlias = ptr.String(jtv) } - case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -48840,7 +47988,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceStatus = types.InstanceStatus(jtv) } - case "OutboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -48849,7 +47996,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.OutboundCallsEnabled = ptr.Bool(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -48858,7 +48004,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.ServiceRole = ptr.String(jtv) } - default: _, _ = key, value @@ -48932,7 +48077,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.InstanceId = ptr.String(jtv) } - case "IntegrationArn": if value != nil { jtv, ok := value.(string) @@ -48941,7 +48085,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationArn = ptr.String(jtv) } - case "IntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -48950,7 +48093,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationAssociationArn = ptr.String(jtv) } - case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -48959,7 +48101,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationAssociationId = ptr.String(jtv) } - case "IntegrationType": if value != nil { jtv, ok := value.(string) @@ -48968,7 +48109,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationType = types.IntegrationType(jtv) } - case "SourceApplicationName": if value != nil { jtv, ok := value.(string) @@ -48977,7 +48117,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceApplicationName = ptr.String(jtv) } - case "SourceApplicationUrl": if value != nil { jtv, ok := value.(string) @@ -48986,7 +48125,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceApplicationUrl = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -48995,7 +48133,6 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -49059,15 +48196,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49075,15 +48206,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49108,27 +48235,17 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "problems": if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49153,27 +48270,17 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Problems": if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49198,15 +48305,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49214,15 +48315,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49247,15 +48344,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49263,20 +48354,15 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "Reason": if err := awsRestjson1_deserializeDocumentInvalidRequestExceptionReason(&sv.Reason, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49349,7 +48435,6 @@ func awsRestjson1_deserializeDocumentInvisibleFieldInfo(v **types.InvisibleField if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } - default: _, _ = key, value @@ -49459,7 +48544,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFire } sv.FirehoseArn = ptr.String(jtv) } - default: _, _ = key, value @@ -49499,7 +48583,6 @@ func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStream } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -49535,7 +48618,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -49544,7 +48626,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV } sv.Prefix = ptr.String(jtv) } - case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -49557,7 +48638,6 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV } sv.RetentionPeriodHours = int32(i64) } - default: _, _ = key, value @@ -49597,7 +48677,6 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) } sv.LexRegion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -49606,7 +48685,6 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -49642,12 +48720,10 @@ func awsRestjson1_deserializeDocumentLexBotConfig(v **types.LexBotConfig, value if err := awsRestjson1_deserializeDocumentLexBot(&sv.LexBot, value); err != nil { return err } - case "LexV2Bot": if err := awsRestjson1_deserializeDocumentLexV2Bot(&sv.LexV2Bot, value); err != nil { return err } - default: _, _ = key, value @@ -49755,7 +48831,6 @@ func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interfac } sv.AliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -49785,15 +48860,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49801,15 +48870,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49844,7 +48909,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.InstanceId = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -49853,7 +48917,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -49862,7 +48925,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -49871,7 +48933,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } - case "PhoneNumberDescription": if value != nil { jtv, ok := value.(string) @@ -49880,7 +48941,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberDescription = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -49889,7 +48949,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberId = ptr.String(jtv) } - case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -49898,7 +48957,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberType = types.PhoneNumberType(jtv) } - case "SourcePhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -49907,7 +48965,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.SourcePhoneNumberArn = ptr.String(jtv) } - case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -49916,7 +48973,6 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -49986,7 +49042,6 @@ func awsRestjson1_deserializeDocumentMatchCriteria(v **types.MatchCriteria, valu if err := awsRestjson1_deserializeDocumentAgentsCriteria(&sv.AgentsCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -50016,15 +49071,9 @@ func awsRestjson1_deserializeDocumentMaximumResultReturnedException(v **types.Ma sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -50032,15 +49081,11 @@ func awsRestjson1_deserializeDocumentMaximumResultReturnedException(v **types.Ma } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -50109,7 +49154,6 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency } sv.Channel = types.Channel(jtv) } - case "Concurrency": if value != nil { jtv, ok := value.(json.Number) @@ -50122,12 +49166,10 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency } sv.Concurrency = ptr.Int32(int32(i64)) } - case "CrossChannelBehavior": if err := awsRestjson1_deserializeDocumentCrossChannelBehavior(&sv.CrossChannelBehavior, value); err != nil { return err } - default: _, _ = key, value @@ -50167,7 +49209,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } - case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -50176,7 +49217,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } - case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -50185,7 +49225,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } - case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -50194,7 +49233,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } - case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -50203,7 +49241,6 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -50239,7 +49276,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } - case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -50248,12 +49284,10 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } - case "MeetingFeatures": if err := awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(&sv.MeetingFeatures, value); err != nil { return err } - case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -50262,7 +49296,6 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } - default: _, _ = key, value @@ -50298,7 +49331,6 @@ func awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(v **types.Meet if err := awsRestjson1_deserializeDocumentAudioFeatures(&sv.Audio, value); err != nil { return err } - default: _, _ = key, value @@ -50368,7 +49400,6 @@ func awsRestjson1_deserializeDocumentMetricDataV2(v **types.MetricDataV2, value if err := awsRestjson1_deserializeDocumentMetricV2(&sv.Metric, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -50402,7 +49433,6 @@ func awsRestjson1_deserializeDocumentMetricDataV2(v **types.MetricDataV2, value } } - default: _, _ = key, value @@ -50476,12 +49506,10 @@ func awsRestjson1_deserializeDocumentMetricFilterV2(v **types.MetricFilterV2, va } sv.MetricFilterKey = ptr.String(jtv) } - case "MetricFilterValues": if err := awsRestjson1_deserializeDocumentMetricFilterValueList(&sv.MetricFilterValues, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -50490,7 +49518,6 @@ func awsRestjson1_deserializeDocumentMetricFilterV2(v **types.MetricFilterV2, va } sv.Negate = jtv } - default: _, _ = key, value @@ -50573,7 +49600,6 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } } - case "Interval": if value != nil { jtv, ok := value.(string) @@ -50582,7 +49608,6 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } sv.Interval = types.IntervalPeriod(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -50598,7 +49623,6 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } } - default: _, _ = key, value @@ -50668,17 +49692,14 @@ func awsRestjson1_deserializeDocumentMetricResultV2(v **types.MetricResultV2, va if err := awsRestjson1_deserializeDocumentMetricDataCollectionsV2(&sv.Collections, value); err != nil { return err } - case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensionsV2Map(&sv.Dimensions, value); err != nil { return err } - case "MetricInterval": if err := awsRestjson1_deserializeDocumentMetricInterval(&sv.MetricInterval, value); err != nil { return err } - default: _, _ = key, value @@ -50714,7 +49735,6 @@ func awsRestjson1_deserializeDocumentMetricV2(v **types.MetricV2, value interfac if err := awsRestjson1_deserializeDocumentMetricFiltersV2List(&sv.MetricFilters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50723,12 +49743,10 @@ func awsRestjson1_deserializeDocumentMetricV2(v **types.MetricV2, value interfac } sv.Name = ptr.String(jtv) } - case "Threshold": if err := awsRestjson1_deserializeDocumentThresholdCollections(&sv.Threshold, value); err != nil { return err } - default: _, _ = key, value @@ -50764,12 +49782,10 @@ func awsRestjson1_deserializeDocumentNotificationRecipientType(v **types.Notific if err := awsRestjson1_deserializeDocumentUserIdList(&sv.UserIds, value); err != nil { return err } - case "UserTags": if err := awsRestjson1_deserializeDocumentUserTagMap(&sv.UserTags, value); err != nil { return err } - default: _, _ = key, value @@ -50809,7 +49825,6 @@ func awsRestjson1_deserializeDocumentNumberReference(v **types.NumberReference, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -50818,7 +49833,6 @@ func awsRestjson1_deserializeDocumentNumberReference(v **types.NumberReference, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -50858,7 +49872,6 @@ func awsRestjson1_deserializeDocumentNumericQuestionPropertyValueAutomation(v ** } sv.Label = types.NumericQuestionPropertyAutomationLabel(jtv) } - default: _, _ = key, value @@ -50934,7 +49947,6 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundCallerIdName = ptr.String(jtv) } - case "OutboundCallerIdNumberId": if value != nil { jtv, ok := value.(string) @@ -50943,7 +49955,6 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundCallerIdNumberId = ptr.String(jtv) } - case "OutboundFlowId": if value != nil { jtv, ok := value.(string) @@ -50952,7 +49963,6 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundFlowId = ptr.String(jtv) } - default: _, _ = key, value @@ -50982,15 +49992,9 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -50998,15 +50002,11 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -51031,15 +50031,9 @@ func awsRestjson1_deserializeDocumentOutputTypeNotFoundException(v **types.Outpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -51047,15 +50041,11 @@ func awsRestjson1_deserializeDocumentOutputTypeNotFoundException(v **types.Outpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -51090,7 +50080,6 @@ func awsRestjson1_deserializeDocumentParticipantCapabilities(v **types.Participa } sv.ScreenShare = types.ScreenShareCapability(jtv) } - case "Video": if value != nil { jtv, ok := value.(string) @@ -51099,7 +50088,6 @@ func awsRestjson1_deserializeDocumentParticipantCapabilities(v **types.Participa } sv.Video = types.VideoCapability(jtv) } - default: _, _ = key, value @@ -51139,7 +50127,6 @@ func awsRestjson1_deserializeDocumentParticipantTokenCredentials(v **types.Parti } sv.Expiry = ptr.String(jtv) } - case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -51148,7 +50135,6 @@ func awsRestjson1_deserializeDocumentParticipantTokenCredentials(v **types.Parti } sv.ParticipantToken = ptr.String(jtv) } - default: _, _ = key, value @@ -51224,7 +50210,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.Pho } sv.PhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -51264,7 +50249,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -51273,7 +50257,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat } sv.Status = types.PhoneNumberWorkflowStatus(jtv) } - default: _, _ = key, value @@ -51313,7 +50296,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -51322,7 +50304,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.Id = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -51331,7 +50312,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -51340,7 +50320,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } - case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -51349,7 +50328,6 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumberType = types.PhoneNumberType(jtv) } - default: _, _ = key, value @@ -51459,7 +50437,6 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51475,7 +50452,6 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51484,12 +50460,10 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentPredefinedAttributeValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -51599,7 +50573,6 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51615,7 +50588,6 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51624,7 +50596,6 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -51736,7 +50707,6 @@ func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -51810,7 +50780,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.Description = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51819,7 +50788,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51835,7 +50803,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51844,7 +50811,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.Name = ptr.String(jtv) } - case "PromptARN": if value != nil { jtv, ok := value.(string) @@ -51853,7 +50819,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.PromptARN = ptr.String(jtv) } - case "PromptId": if value != nil { jtv, ok := value.(string) @@ -51862,12 +50827,10 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.PromptId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -51941,7 +50904,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -51950,7 +50912,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51959,7 +50920,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51975,7 +50935,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51984,7 +50943,6 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -52048,15 +51006,9 @@ func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.Prope sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -52064,20 +51016,15 @@ func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.Prope } sv.Message = ptr.String(jtv) } - case "PropertyList": if err := awsRestjson1_deserializeDocumentPropertyValidationExceptionPropertyList(&sv.PropertyList, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -52112,7 +51059,6 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.Message = ptr.String(jtv) } - case "PropertyPath": if value != nil { jtv, ok := value.(string) @@ -52121,7 +51067,6 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.PropertyPath = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -52130,7 +51075,6 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.Reason = types.PropertyValidationExceptionReason(jtv) } - default: _, _ = key, value @@ -52200,12 +51144,10 @@ func awsRestjson1_deserializeDocumentQualityMetrics(v **types.QualityMetrics, va if err := awsRestjson1_deserializeDocumentAgentQualityMetrics(&sv.Agent, value); err != nil { return err } - case "Customer": if err := awsRestjson1_deserializeDocumentCustomerQualityMetrics(&sv.Customer, value); err != nil { return err } - default: _, _ = key, value @@ -52245,7 +51187,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Description = ptr.String(jtv) } - case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -52254,7 +51195,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.HoursOfOperationId = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -52263,7 +51203,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -52279,7 +51218,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } - case "MaxContacts": if value != nil { jtv, ok := value.(json.Number) @@ -52292,7 +51230,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.MaxContacts = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52301,12 +51238,10 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } - case "OutboundCallerConfig": if err := awsRestjson1_deserializeDocumentOutboundCallerConfig(&sv.OutboundCallerConfig, value); err != nil { return err } - case "QueueArn": if value != nil { jtv, ok := value.(string) @@ -52315,7 +51250,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.QueueArn = ptr.String(jtv) } - case "QueueId": if value != nil { jtv, ok := value.(string) @@ -52324,7 +51258,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.QueueId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -52333,12 +51266,10 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -52385,7 +51316,6 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -52394,7 +51324,6 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -52434,7 +51363,6 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic } sv.ContactFlowId = ptr.String(jtv) } - case "QueueId": if value != nil { jtv, ok := value.(string) @@ -52443,7 +51371,6 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic } sv.QueueId = ptr.String(jtv) } - default: _, _ = key, value @@ -52483,7 +51410,6 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -52492,7 +51418,6 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -52566,7 +51491,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -52575,7 +51499,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -52584,7 +51507,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -52600,7 +51522,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52609,7 +51530,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Name = ptr.String(jtv) } - case "QueueType": if value != nil { jtv, ok := value.(string) @@ -52618,7 +51538,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.QueueType = types.QueueType(jtv) } - default: _, _ = key, value @@ -52692,7 +51611,6 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.Description = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -52701,7 +51619,6 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -52717,7 +51634,6 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52726,7 +51642,6 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.Name = ptr.String(jtv) } - case "QuickConnectARN": if value != nil { jtv, ok := value.(string) @@ -52735,12 +51650,10 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.QuickConnectARN = ptr.String(jtv) } - case "QuickConnectConfig": if err := awsRestjson1_deserializeDocumentQuickConnectConfig(&sv.QuickConnectConfig, value); err != nil { return err } - case "QuickConnectId": if value != nil { jtv, ok := value.(string) @@ -52749,12 +51662,10 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.QuickConnectId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -52790,12 +51701,10 @@ func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectCo if err := awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(&sv.PhoneConfig, value); err != nil { return err } - case "QueueConfig": if err := awsRestjson1_deserializeDocumentQueueQuickConnectConfig(&sv.QueueConfig, value); err != nil { return err } - case "QuickConnectType": if value != nil { jtv, ok := value.(string) @@ -52804,12 +51713,10 @@ func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectCo } sv.QuickConnectType = types.QuickConnectType(jtv) } - case "UserConfig": if err := awsRestjson1_deserializeDocumentUserQuickConnectConfig(&sv.UserConfig, value); err != nil { return err } - default: _, _ = key, value @@ -52883,7 +51790,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -52892,7 +51798,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -52901,7 +51806,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -52917,7 +51821,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52926,7 +51829,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Name = ptr.String(jtv) } - case "QuickConnectType": if value != nil { jtv, ok := value.(string) @@ -52935,7 +51837,6 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.QuickConnectType = types.QuickConnectType(jtv) } - default: _, _ = key, value @@ -53005,7 +51906,6 @@ func awsRestjson1_deserializeDocumentReadOnlyFieldInfo(v **types.ReadOnlyFieldIn if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } - default: _, _ = key, value @@ -53079,7 +51979,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.AttachmentId = ptr.String(jtv) } - case "AttachmentName": if value != nil { jtv, ok := value.(string) @@ -53088,7 +51987,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.AttachmentName = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -53097,7 +51995,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.ContentType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -53106,7 +52003,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.Status = types.ArtifactStatus(jtv) } - default: _, _ = key, value @@ -53176,7 +52072,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCategoryDetails(v ** if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisPointsOfInterest(&sv.PointsOfInterest, value); err != nil { return err } - default: _, _ = key, value @@ -53220,7 +52115,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(v } sv.BeginOffsetChar = int32(i64) } - case "EndOffsetChar": if value != nil { jtv, ok := value.(json.Number) @@ -53233,7 +52127,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(v } sv.EndOffsetChar = int32(i64) } - default: _, _ = key, value @@ -53303,7 +52196,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisIssueDetected(v **ty if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemsWithContent(&sv.TranscriptItems, value); err != nil { return err } - default: _, _ = key, value @@ -53408,7 +52300,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisPointOfInterest(v ** if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemsWithCharacterOffsets(&sv.TranscriptItems, value); err != nil { return err } - default: _, _ = key, value @@ -53568,7 +52459,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachments(&sv.Attachments, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -53577,7 +52467,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.DisplayName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -53586,7 +52475,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.Id = ptr.String(jtv) } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -53595,7 +52483,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -53604,12 +52491,10 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } - default: _, _ = key, value @@ -53645,7 +52530,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentCategories(v if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisMatchedDetails(&sv.MatchedDetails, value); err != nil { return err } - default: _, _ = key, value @@ -53685,7 +52569,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.DisplayName = ptr.String(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -53694,7 +52577,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.EventType = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -53703,7 +52585,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.Id = ptr.String(jtv) } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -53712,7 +52593,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -53721,12 +52601,10 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } - default: _, _ = key, value @@ -53762,7 +52640,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentIssues(v **ty if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } - default: _, _ = key, value @@ -53802,7 +52679,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.Content = ptr.String(jtv) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -53811,7 +52687,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.FailureCode = types.RealTimeContactAnalysisPostContactSummaryFailureCode(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -53820,7 +52695,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.Status = types.RealTimeContactAnalysisPostContactSummaryStatus(jtv) } - default: _, _ = key, value @@ -53892,7 +52766,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -53901,7 +52774,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ContentType = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -53910,7 +52782,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.DisplayName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -53919,7 +52790,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Id = ptr.String(jtv) } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -53928,7 +52798,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -53937,12 +52806,10 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "Redaction": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemRedaction(&sv.Redaction, value); err != nil { return err } - case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -53951,12 +52818,10 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Sentiment = types.RealTimeContactAnalysisSentimentLabel(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } - default: _, _ = key, value @@ -54038,7 +52903,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemRedact if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterIntervals(&sv.CharacterOffsets, value); err != nil { return err } - default: _, _ = key, value @@ -54142,7 +53006,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCh if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(&sv.CharacterOffsets, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54151,7 +53014,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCh } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -54187,7 +53049,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(&sv.CharacterOffsets, value); err != nil { return err } - case "Content": if value != nil { jtv, ok := value.(string) @@ -54196,7 +53057,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo } sv.Content = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54205,7 +53065,6 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -54245,7 +53104,6 @@ func awsRestjson1_deserializeDocumentReference(v **types.Reference, value interf } sv.Type = types.ReferenceType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -54254,7 +53112,6 @@ func awsRestjson1_deserializeDocumentReference(v **types.Reference, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -54416,12 +53273,10 @@ func awsRestjson1_deserializeDocumentReplicationConfiguration(v **types.Replicat } sv.GlobalSignInEndpoint = ptr.String(jtv) } - case "ReplicationStatusSummaryList": if err := awsRestjson1_deserializeDocumentReplicationStatusSummaryList(&sv.ReplicationStatusSummaryList, value); err != nil { return err } - case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -54430,7 +53285,6 @@ func awsRestjson1_deserializeDocumentReplicationConfiguration(v **types.Replicat } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -54470,7 +53324,6 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.Region = ptr.String(jtv) } - case "ReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -54479,7 +53332,6 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.ReplicationStatus = types.InstanceReplicationStatus(jtv) } - case "ReplicationStatusReason": if value != nil { jtv, ok := value.(string) @@ -54488,7 +53340,6 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.ReplicationStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -54558,7 +53409,6 @@ func awsRestjson1_deserializeDocumentRequiredFieldInfo(v **types.RequiredFieldIn if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } - default: _, _ = key, value @@ -54622,15 +53472,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -54638,15 +53482,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -54671,15 +53511,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -54687,7 +53521,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -54696,7 +53529,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -54705,15 +53537,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -54738,15 +53566,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -54754,15 +53576,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -54787,15 +53605,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -54803,15 +53615,11 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -54853,7 +53661,6 @@ func awsRestjson1_deserializeDocumentRoutingCriteria(v **types.RoutingCriteria, } } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -54866,12 +53673,10 @@ func awsRestjson1_deserializeDocumentRoutingCriteria(v **types.RoutingCriteria, } sv.Index = ptr.Int32(int32(i64)) } - case "Steps": if err := awsRestjson1_deserializeDocumentSteps(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -54911,12 +53716,10 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.AgentAvailabilityTimer = types.AgentAvailabilityTimer(jtv) } - case "AssociatedQueueIds": if err := awsRestjson1_deserializeDocumentAssociatedQueueIdList(&sv.AssociatedQueueIds, value); err != nil { return err } - case "DefaultOutboundQueueId": if value != nil { jtv, ok := value.(string) @@ -54925,7 +53728,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.DefaultOutboundQueueId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -54934,7 +53736,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.Description = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -54943,7 +53744,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.InstanceId = ptr.String(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -54952,7 +53752,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.IsDefault = jtv } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -54961,7 +53760,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -54977,12 +53775,10 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } } - case "MediaConcurrencies": if err := awsRestjson1_deserializeDocumentMediaConcurrencies(&sv.MediaConcurrencies, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54991,7 +53787,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.Name = ptr.String(jtv) } - case "NumberOfAssociatedQueues": if value != nil { jtv, ok := value.(json.Number) @@ -55004,7 +53799,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.NumberOfAssociatedQueues = ptr.Int64(i64) } - case "NumberOfAssociatedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -55017,7 +53811,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.NumberOfAssociatedUsers = ptr.Int64(i64) } - case "RoutingProfileArn": if value != nil { jtv, ok := value.(string) @@ -55026,7 +53819,6 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.RoutingProfileArn = ptr.String(jtv) } - case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -55035,12 +53827,10 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.RoutingProfileId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -55114,7 +53904,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Channel = types.Channel(jtv) } - case "Delay": if value != nil { jtv, ok := value.(json.Number) @@ -55127,7 +53916,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Delay = int32(i64) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -55140,7 +53928,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Priority = ptr.Int32(int32(i64)) } - case "QueueArn": if value != nil { jtv, ok := value.(string) @@ -55149,7 +53936,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueArn = ptr.String(jtv) } - case "QueueId": if value != nil { jtv, ok := value.(string) @@ -55158,7 +53944,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueId = ptr.String(jtv) } - case "QueueName": if value != nil { jtv, ok := value.(string) @@ -55167,7 +53952,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueName = ptr.String(jtv) } - default: _, _ = key, value @@ -55241,7 +54025,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileReference(v **types.RoutingPr } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -55250,7 +54033,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileReference(v **types.RoutingPr } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -55290,7 +54072,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -55299,7 +54080,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -55308,7 +54088,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55324,7 +54103,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55333,7 +54111,6 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -55403,7 +54180,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentRuleActions(&sv.Actions, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -55419,7 +54195,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } } - case "Function": if value != nil { jtv, ok := value.(string) @@ -55428,7 +54203,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Function = ptr.String(jtv) } - case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -55437,7 +54211,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.LastUpdatedBy = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -55453,7 +54226,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55462,7 +54234,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "PublishStatus": if value != nil { jtv, ok := value.(string) @@ -55471,7 +54242,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.PublishStatus = types.RulePublishStatus(jtv) } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -55480,7 +54250,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleArn = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -55489,17 +54258,14 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TriggerEventSource": if err := awsRestjson1_deserializeDocumentRuleTriggerEventSource(&sv.TriggerEventSource, value); err != nil { return err } - default: _, _ = key, value @@ -55539,47 +54305,38 @@ func awsRestjson1_deserializeDocumentRuleAction(v **types.RuleAction, value inte } sv.ActionType = types.ActionType(jtv) } - case "AssignContactCategoryAction": if err := awsRestjson1_deserializeDocumentAssignContactCategoryActionDefinition(&sv.AssignContactCategoryAction, value); err != nil { return err } - case "CreateCaseAction": if err := awsRestjson1_deserializeDocumentCreateCaseActionDefinition(&sv.CreateCaseAction, value); err != nil { return err } - case "EndAssociatedTasksAction": if err := awsRestjson1_deserializeDocumentEndAssociatedTasksActionDefinition(&sv.EndAssociatedTasksAction, value); err != nil { return err } - case "EventBridgeAction": if err := awsRestjson1_deserializeDocumentEventBridgeActionDefinition(&sv.EventBridgeAction, value); err != nil { return err } - case "SendNotificationAction": if err := awsRestjson1_deserializeDocumentSendNotificationActionDefinition(&sv.SendNotificationAction, value); err != nil { return err } - case "SubmitAutoEvaluationAction": if err := awsRestjson1_deserializeDocumentSubmitAutoEvaluationActionDefinition(&sv.SubmitAutoEvaluationAction, value); err != nil { return err } - case "TaskAction": if err := awsRestjson1_deserializeDocumentTaskActionDefinition(&sv.TaskAction, value); err != nil { return err } - case "UpdateCaseAction": if err := awsRestjson1_deserializeDocumentUpdateCaseActionDefinition(&sv.UpdateCaseAction, value); err != nil { return err } - default: _, _ = key, value @@ -55649,7 +54406,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in if err := awsRestjson1_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -55665,7 +54421,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } } - case "EventSourceName": if value != nil { jtv, ok := value.(string) @@ -55674,7 +54429,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.EventSourceName = types.EventSourceName(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -55690,7 +54444,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55699,7 +54452,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } - case "PublishStatus": if value != nil { jtv, ok := value.(string) @@ -55708,7 +54460,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.PublishStatus = types.RulePublishStatus(jtv) } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -55717,7 +54468,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleArn = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -55726,7 +54476,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -55800,7 +54549,6 @@ func awsRestjson1_deserializeDocumentRuleTriggerEventSource(v **types.RuleTrigge } sv.EventSourceName = types.EventSourceName(jtv) } - case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -55809,7 +54557,6 @@ func awsRestjson1_deserializeDocumentRuleTriggerEventSource(v **types.RuleTrigge } sv.IntegrationAssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -55849,7 +54596,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } - case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -55858,12 +54604,10 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketPrefix = ptr.String(jtv) } - case "EncryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -55903,7 +54647,6 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } sv.AssociationId = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -55919,7 +54662,6 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } } - case "Key": if value != nil { jtv, ok := value.(string) @@ -55928,7 +54670,6 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -56002,12 +54743,10 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.AllowedAccessControlHierarchyGroupId = ptr.String(jtv) } - case "AllowedAccessControlTags": if err := awsRestjson1_deserializeDocumentAllowedAccessControlTags(&sv.AllowedAccessControlTags, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -56016,7 +54755,6 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -56025,12 +54763,10 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Description = ptr.String(jtv) } - case "HierarchyRestrictedResources": if err := awsRestjson1_deserializeDocumentHierarchyRestrictedResourceList(&sv.HierarchyRestrictedResources, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -56039,7 +54775,6 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -56048,7 +54783,6 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56064,7 +54798,6 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } } - case "OrganizationResourceId": if value != nil { jtv, ok := value.(string) @@ -56073,7 +54806,6 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.OrganizationResourceId = ptr.String(jtv) } - case "SecurityProfileName": if value != nil { jtv, ok := value.(string) @@ -56082,17 +54814,14 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.SecurityProfileName = ptr.String(jtv) } - case "TagRestrictedResources": if err := awsRestjson1_deserializeDocumentTagRestrictedResourceList(&sv.TagRestrictedResources, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -56168,7 +54897,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -56177,7 +54905,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -56186,7 +54913,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Id = ptr.String(jtv) } - case "OrganizationResourceId": if value != nil { jtv, ok := value.(string) @@ -56195,7 +54921,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.OrganizationResourceId = ptr.String(jtv) } - case "SecurityProfileName": if value != nil { jtv, ok := value.(string) @@ -56204,12 +54929,10 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.SecurityProfileName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -56283,7 +55006,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -56292,7 +55014,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -56301,7 +55022,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56317,7 +55037,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -56326,7 +55045,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -56435,7 +55153,6 @@ func awsRestjson1_deserializeDocumentSegmentAttributeValue(v **types.SegmentAttr } sv.ValueString = ptr.String(jtv) } - default: _, _ = key, value @@ -56475,7 +55192,6 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -56484,7 +55200,6 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.ContentType = types.NotificationContentType(jtv) } - case "DeliveryMethod": if value != nil { jtv, ok := value.(string) @@ -56493,12 +55208,10 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.DeliveryMethod = types.NotificationDeliveryType(jtv) } - case "Recipient": if err := awsRestjson1_deserializeDocumentNotificationRecipientType(&sv.Recipient, value); err != nil { return err } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -56507,7 +55220,6 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -56537,15 +55249,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -56553,15 +55259,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -56592,7 +55294,6 @@ func awsRestjson1_deserializeDocumentSignInConfig(v **types.SignInConfig, value if err := awsRestjson1_deserializeDocumentSignInDistributionList(&sv.Distributions, value); err != nil { return err } - default: _, _ = key, value @@ -56632,7 +55333,6 @@ func awsRestjson1_deserializeDocumentSignInDistribution(v **types.SignInDistribu } sv.Enabled = jtv } - case "Region": if value != nil { jtv, ok := value.(string) @@ -56641,7 +55341,6 @@ func awsRestjson1_deserializeDocumentSignInDistribution(v **types.SignInDistribu } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -56751,7 +55450,6 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.Category = ptr.String(jtv) } - case "Condition": if value != nil { jtv, ok := value.(string) @@ -56760,7 +55458,6 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.Condition = types.SingleSelectQuestionRuleCategoryAutomationCondition(jtv) } - case "OptionRefId": if value != nil { jtv, ok := value.(string) @@ -56769,7 +55466,6 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.OptionRefId = ptr.String(jtv) } - default: _, _ = key, value @@ -56805,12 +55501,10 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err if err := awsRestjson1_deserializeDocumentExpiry(&sv.Expiry, value); err != nil { return err } - case "Expression": if err := awsRestjson1_deserializeDocumentExpression(&sv.Expression, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -56819,7 +55513,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Status = types.RoutingCriteriaStepStatus(jtv) } - default: _, _ = key, value @@ -56893,7 +55586,6 @@ func awsRestjson1_deserializeDocumentStringReference(v **types.StringReference, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -56902,7 +55594,6 @@ func awsRestjson1_deserializeDocumentStringReference(v **types.StringReference, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -56942,7 +55633,6 @@ func awsRestjson1_deserializeDocumentSubmitAutoEvaluationActionDefinition(v **ty } sv.EvaluationFormId = ptr.String(jtv) } - default: _, _ = key, value @@ -56982,7 +55672,6 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.ContactId = ptr.String(jtv) } - case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -56991,7 +55680,6 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -57137,7 +55825,6 @@ func awsRestjson1_deserializeDocumentTagSet(v **types.TagSet, value interface{}) } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -57146,7 +55833,6 @@ func awsRestjson1_deserializeDocumentTagSet(v **types.TagSet, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -57220,7 +55906,6 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.ContactFlowId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -57229,7 +55914,6 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -57238,12 +55922,10 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.Name = ptr.String(jtv) } - case "References": if err := awsRestjson1_deserializeDocumentContactReferences(&sv.References, value); err != nil { return err } - default: _, _ = key, value @@ -57279,17 +55961,14 @@ func awsRestjson1_deserializeDocumentTaskTemplateConstraints(v **types.TaskTempl if err := awsRestjson1_deserializeDocumentInvisibleTaskTemplateFields(&sv.InvisibleFields, value); err != nil { return err } - case "ReadOnlyFields": if err := awsRestjson1_deserializeDocumentReadOnlyTaskTemplateFields(&sv.ReadOnlyFields, value); err != nil { return err } - case "RequiredFields": if err := awsRestjson1_deserializeDocumentRequiredTaskTemplateFields(&sv.RequiredFields, value); err != nil { return err } - default: _, _ = key, value @@ -57329,12 +56008,10 @@ func awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValue(v **types.Tas } sv.DefaultValue = ptr.String(jtv) } - case "Id": if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } - default: _, _ = key, value @@ -57404,7 +56081,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateDefaults(v **types.TaskTemplate if err := awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValueList(&sv.DefaultFieldValues, value); err != nil { return err } - default: _, _ = key, value @@ -57444,17 +56120,14 @@ func awsRestjson1_deserializeDocumentTaskTemplateField(v **types.TaskTemplateFie } sv.Description = ptr.String(jtv) } - case "Id": if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } - case "SingleSelectOptions": if err := awsRestjson1_deserializeDocumentSingleSelectOptions(&sv.SingleSelectOptions, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -57463,7 +56136,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateField(v **types.TaskTemplateFie } sv.Type = types.TaskTemplateFieldType(jtv) } - default: _, _ = key, value @@ -57503,7 +56175,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(v **types.TaskT } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -57611,7 +56282,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -57627,7 +56297,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -57636,7 +56305,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -57645,7 +56313,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Id = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -57661,7 +56328,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -57670,7 +56336,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -57679,7 +56344,6 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Status = types.TaskTemplateStatus(jtv) } - default: _, _ = key, value @@ -57715,7 +56379,6 @@ func awsRestjson1_deserializeDocumentTelephonyConfig(v **types.TelephonyConfig, if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } - default: _, _ = key, value @@ -57755,7 +56418,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Comparison = types.Comparison(jtv) } - case "ThresholdValue": if value != nil { switch jtv := value.(type) { @@ -57789,7 +56451,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } } - default: _, _ = key, value @@ -57863,7 +56524,6 @@ func awsRestjson1_deserializeDocumentThresholdV2(v **types.ThresholdV2, value in } sv.Comparison = ptr.String(jtv) } - case "ThresholdValue": if value != nil { switch jtv := value.(type) { @@ -57897,7 +56557,6 @@ func awsRestjson1_deserializeDocumentThresholdV2(v **types.ThresholdV2, value in } } - default: _, _ = key, value @@ -57927,15 +56586,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -57943,15 +56596,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -57976,15 +56625,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -57992,15 +56635,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58035,7 +56674,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -58044,7 +56682,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -58053,7 +56690,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Id = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -58062,7 +56698,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.InstanceArn = ptr.String(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -58071,7 +56706,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.IsDefault = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58080,7 +56714,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -58089,12 +56722,10 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Status = types.TrafficDistributionGroupStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -58134,7 +56765,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -58143,7 +56773,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Id = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -58152,7 +56781,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.InstanceArn = ptr.String(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -58161,7 +56789,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.IsDefault = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58170,7 +56797,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -58179,7 +56805,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Status = types.TrafficDistributionGroupStatus(jtv) } - default: _, _ = key, value @@ -58253,7 +56878,6 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupUserSummary(v **typ } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -58323,7 +56947,6 @@ func awsRestjson1_deserializeDocumentUpdateCaseActionDefinition(v **types.Update if err := awsRestjson1_deserializeDocumentFieldValues(&sv.Fields, value); err != nil { return err } - default: _, _ = key, value @@ -58359,7 +56982,6 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada if err := awsRestjson1_deserializeDocumentUrlMetadataSignedHeaders(&sv.HeadersToInclude, value); err != nil { return err } - case "Url": if value != nil { jtv, ok := value.(string) @@ -58368,7 +56990,6 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada } sv.Url = ptr.String(jtv) } - case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -58377,7 +56998,6 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada } sv.UrlExpiry = ptr.String(jtv) } - default: _, _ = key, value @@ -58453,7 +57073,6 @@ func awsRestjson1_deserializeDocumentUrlReference(v **types.UrlReference, value } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -58462,7 +57081,6 @@ func awsRestjson1_deserializeDocumentUrlReference(v **types.UrlReference, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -58502,7 +57120,6 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseArn = ptr.String(jtv) } - case "UseCaseId": if value != nil { jtv, ok := value.(string) @@ -58511,7 +57128,6 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseId = ptr.String(jtv) } - case "UseCaseType": if value != nil { jtv, ok := value.(string) @@ -58520,7 +57136,6 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseType = types.UseCaseType(jtv) } - default: _, _ = key, value @@ -58594,7 +57209,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "DirectoryUserId": if value != nil { jtv, ok := value.(string) @@ -58603,7 +57217,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DirectoryUserId = ptr.String(jtv) } - case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -58612,7 +57225,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.HierarchyGroupId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -58621,12 +57233,10 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } - case "IdentityInfo": if err := awsRestjson1_deserializeDocumentUserIdentityInfo(&sv.IdentityInfo, value); err != nil { return err } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -58635,7 +57245,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58651,12 +57260,10 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "PhoneConfig": if err := awsRestjson1_deserializeDocumentUserPhoneConfig(&sv.PhoneConfig, value); err != nil { return err } - case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -58665,17 +57272,14 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RoutingProfileId = ptr.String(jtv) } - case "SecurityProfileIds": if err := awsRestjson1_deserializeDocumentSecurityProfileIds(&sv.SecurityProfileIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -58684,7 +57288,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -58720,27 +57323,22 @@ func awsRestjson1_deserializeDocumentUserData(v **types.UserData, value interfac if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.ActiveSlotsByChannel, value); err != nil { return err } - case "AvailableSlotsByChannel": if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.AvailableSlotsByChannel, value); err != nil { return err } - case "Contacts": if err := awsRestjson1_deserializeDocumentAgentContactReferenceList(&sv.Contacts, value); err != nil { return err } - case "HierarchyPath": if err := awsRestjson1_deserializeDocumentHierarchyPathReference(&sv.HierarchyPath, value); err != nil { return err } - case "MaxSlotsByChannel": if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.MaxSlotsByChannel, value); err != nil { return err } - case "NextStatus": if value != nil { jtv, ok := value.(string) @@ -58749,22 +57347,18 @@ func awsRestjson1_deserializeDocumentUserData(v **types.UserData, value interfac } sv.NextStatus = ptr.String(jtv) } - case "RoutingProfile": if err := awsRestjson1_deserializeDocumentRoutingProfileReference(&sv.RoutingProfile, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentAgentStatusReference(&sv.Status, value); err != nil { return err } - case "User": if err := awsRestjson1_deserializeDocumentUserReference(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -58872,7 +57466,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.Email = ptr.String(jtv) } - case "FirstName": if value != nil { jtv, ok := value.(string) @@ -58881,7 +57474,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.FirstName = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -58890,7 +57482,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.LastName = ptr.String(jtv) } - case "Mobile": if value != nil { jtv, ok := value.(string) @@ -58899,7 +57490,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.Mobile = ptr.String(jtv) } - case "SecondaryEmail": if value != nil { jtv, ok := value.(string) @@ -58908,7 +57498,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.SecondaryEmail = ptr.String(jtv) } - default: _, _ = key, value @@ -58948,7 +57537,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfoLite(v **types.UserIdentity } sv.FirstName = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -58957,7 +57545,6 @@ func awsRestjson1_deserializeDocumentUserIdentityInfoLite(v **types.UserIdentity } sv.LastName = ptr.String(jtv) } - default: _, _ = key, value @@ -59023,15 +57610,9 @@ func awsRestjson1_deserializeDocumentUserNotFoundException(v **types.UserNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -59039,15 +57620,11 @@ func awsRestjson1_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -59086,7 +57663,6 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.AfterContactWorkTimeLimit = int32(i64) } - case "AutoAccept": if value != nil { jtv, ok := value.(bool) @@ -59095,7 +57671,6 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.AutoAccept = jtv } - case "DeskPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -59104,7 +57679,6 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.DeskPhoneNumber = ptr.String(jtv) } - case "PhoneType": if value != nil { jtv, ok := value.(string) @@ -59113,7 +57687,6 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.PhoneType = types.PhoneType(jtv) } - default: _, _ = key, value @@ -59153,7 +57726,6 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } sv.AttributeName = ptr.String(jtv) } - case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -59162,7 +57734,6 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } sv.AttributeValue = ptr.String(jtv) } - case "Level": if value != nil { switch jtv := value.(type) { @@ -59196,7 +57767,6 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } } - default: _, _ = key, value @@ -59270,7 +57840,6 @@ func awsRestjson1_deserializeDocumentUserQuickConnectConfig(v **types.UserQuickC } sv.ContactFlowId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -59279,7 +57848,6 @@ func awsRestjson1_deserializeDocumentUserQuickConnectConfig(v **types.UserQuickC } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -59319,7 +57887,6 @@ func awsRestjson1_deserializeDocumentUserReference(v **types.UserReference, valu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -59328,7 +57895,6 @@ func awsRestjson1_deserializeDocumentUserReference(v **types.UserReference, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -59368,7 +57934,6 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Arn = ptr.String(jtv) } - case "DirectoryUserId": if value != nil { jtv, ok := value.(string) @@ -59377,7 +57942,6 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.DirectoryUserId = ptr.String(jtv) } - case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -59386,7 +57950,6 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.HierarchyGroupId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -59395,17 +57958,14 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Id = ptr.String(jtv) } - case "IdentityInfo": if err := awsRestjson1_deserializeDocumentUserIdentityInfoLite(&sv.IdentityInfo, value); err != nil { return err } - case "PhoneConfig": if err := awsRestjson1_deserializeDocumentUserPhoneConfig(&sv.PhoneConfig, value); err != nil { return err } - case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -59414,17 +57974,14 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.RoutingProfileId = ptr.String(jtv) } - case "SecurityProfileIds": if err := awsRestjson1_deserializeDocumentSecurityProfileIds(&sv.SecurityProfileIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -59433,7 +57990,6 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -59507,7 +58063,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -59516,7 +58071,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Id = ptr.String(jtv) } - case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -59525,7 +58079,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.LastModifiedRegion = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -59541,7 +58094,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } } - case "Username": if value != nil { jtv, ok := value.(string) @@ -59550,7 +58102,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -59660,12 +58211,10 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "Content": if err := awsRestjson1_deserializeDocumentViewContent(&sv.Content, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -59681,7 +58230,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -59690,7 +58238,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -59699,7 +58246,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Id = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -59715,7 +58261,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -59724,7 +58269,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -59733,12 +58277,10 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Status = types.ViewStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -59747,7 +58289,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Type = types.ViewType(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -59760,7 +58301,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Version = int32(i64) } - case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -59769,7 +58309,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.VersionDescription = ptr.String(jtv) } - case "ViewContentSha256": if value != nil { jtv, ok := value.(string) @@ -59778,7 +58317,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.ViewContentSha256 = ptr.String(jtv) } - default: _, _ = key, value @@ -59850,7 +58388,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in if err := awsRestjson1_deserializeDocumentViewActions(&sv.Actions, value); err != nil { return err } - case "InputSchema": if value != nil { jtv, ok := value.(string) @@ -59859,7 +58396,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.InputSchema = ptr.String(jtv) } - case "Template": if value != nil { jtv, ok := value.(string) @@ -59868,7 +58404,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.Template = ptr.String(jtv) } - default: _, _ = key, value @@ -59942,7 +58477,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -59951,7 +58485,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -59960,7 +58493,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -59969,7 +58501,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -59978,7 +58509,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Status = types.ViewStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -59987,7 +58517,6 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Type = types.ViewType(jtv) } - default: _, _ = key, value @@ -60027,7 +58556,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -60036,7 +58564,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -60045,7 +58572,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60054,7 +58580,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -60063,7 +58588,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Type = types.ViewType(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -60076,7 +58600,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Version = int32(i64) } - case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -60085,7 +58608,6 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.VersionDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -60159,7 +58681,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Arn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -60168,7 +58689,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Content = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -60177,7 +58697,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.FailureReason = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -60186,7 +58705,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Id = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -60195,7 +58713,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60211,7 +58728,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60220,7 +58736,6 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -60229,12 +58744,10 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.State = types.VocabularyState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -60274,7 +58787,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Arn = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -60283,7 +58795,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.FailureReason = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -60292,7 +58803,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Id = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -60301,7 +58811,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60317,7 +58826,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60326,7 +58834,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -60335,7 +58842,6 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.State = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -60409,7 +58915,6 @@ func awsRestjson1_deserializeDocumentWisdomInfo(v **types.WisdomInfo, value inte } sv.SessionArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/connectcampaigns/deserializers.go b/service/connectcampaigns/deserializers.go index 2e149cc0dc5..bf13066a841 100644 --- a/service/connectcampaigns/deserializers.go +++ b/service/connectcampaigns/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -204,12 +203,10 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -688,7 +685,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCampaignOutput(v **DescribeCampai if err := awsRestjson1_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } - default: _, _ = key, value @@ -856,7 +852,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignStateOutput(v **GetCampaignSta } sv.State = types.CampaignState(jtv) } - default: _, _ = key, value @@ -1017,12 +1012,10 @@ func awsRestjson1_deserializeOpDocumentGetCampaignStateBatchOutput(v **GetCampai if err := awsRestjson1_deserializeDocumentFailedCampaignStateResponseList(&sv.FailedRequests, value); err != nil { return err } - case "successfulRequests": if err := awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponseList(&sv.SuccessfulRequests, value); err != nil { return err } - default: _, _ = key, value @@ -1183,7 +1176,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectInstanceConfigOutput(v **GetCon if err := awsRestjson1_deserializeDocumentInstanceConfig(&sv.ConnectInstanceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1344,7 +1336,6 @@ func awsRestjson1_deserializeOpDocumentGetInstanceOnboardingJobStatusOutput(v ** if err := awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(&sv.ConnectInstanceOnboardingJobStatus, value); err != nil { return err } - default: _, _ = key, value @@ -1502,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsRestjson1_deserializeDocumentCampaignSummaryList(&sv.CampaignSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1511,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1675,7 +1664,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1957,12 +1945,10 @@ func awsRestjson1_deserializeOpDocumentPutDialRequestBatchOutput(v **PutDialRequ if err := awsRestjson1_deserializeDocumentFailedRequestList(&sv.FailedRequests, value); err != nil { return err } - case "successfulRequests": if err := awsRestjson1_deserializeDocumentSuccessfulRequestList(&sv.SuccessfulRequests, value); err != nil { return err } - default: _, _ = key, value @@ -2353,7 +2339,6 @@ func awsRestjson1_deserializeOpDocumentStartInstanceOnboardingJobOutput(v **Star if err := awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(&sv.ConnectInstanceOnboardingJobStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3496,15 +3481,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3512,7 +3491,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -3521,15 +3499,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3589,7 +3563,6 @@ func awsRestjson1_deserializeDocumentAgentlessDialerConfig(v **types.AgentlessDi } } - default: _, _ = key, value @@ -3629,7 +3602,6 @@ func awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(v **types.Answ } sv.AwaitAnswerMachinePrompt = ptr.Bool(jtv) } - case "enableAnswerMachineDetection": if value != nil { jtv, ok := value.(bool) @@ -3638,7 +3610,6 @@ func awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(v **types.Answ } sv.EnableAnswerMachineDetection = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3678,7 +3649,6 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Arn = ptr.String(jtv) } - case "connectInstanceId": if value != nil { jtv, ok := value.(string) @@ -3687,12 +3657,10 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.ConnectInstanceId = ptr.String(jtv) } - case "dialerConfig": if err := awsRestjson1_deserializeDocumentDialerConfig(&sv.DialerConfig, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3701,7 +3669,6 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3710,17 +3677,14 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Name = ptr.String(jtv) } - case "outboundCallConfig": if err := awsRestjson1_deserializeDocumentOutboundCallConfig(&sv.OutboundCallConfig, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3760,7 +3724,6 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Arn = ptr.String(jtv) } - case "connectInstanceId": if value != nil { jtv, ok := value.(string) @@ -3769,7 +3732,6 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.ConnectInstanceId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3778,7 +3740,6 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3748,6 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3851,15 +3811,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3867,7 +3821,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -3876,15 +3829,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3979,7 +3928,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Enabled = jtv } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -3988,7 +3936,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.EncryptionType = types.EncryptionType(jtv) } - case "keyArn": if value != nil { jtv, ok := value.(string) @@ -3997,7 +3944,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4037,7 +3983,6 @@ func awsRestjson1_deserializeDocumentFailedCampaignStateResponse(v **types.Faile } sv.CampaignId = ptr.String(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4046,7 +3991,6 @@ func awsRestjson1_deserializeDocumentFailedCampaignStateResponse(v **types.Faile } sv.FailureCode = types.GetCampaignStateBatchFailureCode(jtv) } - default: _, _ = key, value @@ -4120,7 +4064,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.ClientToken = ptr.String(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4129,7 +4072,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureCode = types.FailureCode(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4138,7 +4080,6 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4212,12 +4153,10 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.ConnectInstanceId = ptr.String(jtv) } - case "encryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - case "serviceLinkedRoleArn": if value != nil { jtv, ok := value.(string) @@ -4226,7 +4165,6 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.ServiceLinkedRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4266,7 +4204,6 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.ConnectInstanceId = ptr.String(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4275,7 +4212,6 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.FailureCode = types.InstanceOnboardingJobFailureCode(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4284,7 +4220,6 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.Status = types.InstanceOnboardingJobStatusCode(jtv) } - default: _, _ = key, value @@ -4314,15 +4249,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4330,7 +4259,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4339,15 +4267,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4372,15 +4296,9 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4388,7 +4306,6 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4397,7 +4314,6 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.State = types.CampaignState(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4406,15 +4322,11 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4439,15 +4351,9 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4455,7 +4361,6 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4464,15 +4369,11 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4503,7 +4404,6 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo if err := awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(&sv.AnswerMachineDetectionConfig, value); err != nil { return err } - case "connectContactFlowId": if value != nil { jtv, ok := value.(string) @@ -4512,7 +4412,6 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectContactFlowId = ptr.String(jtv) } - case "connectQueueId": if value != nil { jtv, ok := value.(string) @@ -4521,7 +4420,6 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectQueueId = ptr.String(jtv) } - case "connectSourcePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -4530,7 +4428,6 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectSourcePhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -4595,7 +4492,6 @@ func awsRestjson1_deserializeDocumentPredictiveDialerConfig(v **types.Predictive } } - case "dialingCapacity": if value != nil { switch jtv := value.(type) { @@ -4629,7 +4525,6 @@ func awsRestjson1_deserializeDocumentPredictiveDialerConfig(v **types.Predictive } } - default: _, _ = key, value @@ -4694,7 +4589,6 @@ func awsRestjson1_deserializeDocumentProgressiveDialerConfig(v **types.Progressi } } - case "dialingCapacity": if value != nil { switch jtv := value.(type) { @@ -4728,7 +4622,6 @@ func awsRestjson1_deserializeDocumentProgressiveDialerConfig(v **types.Progressi } } - default: _, _ = key, value @@ -4758,15 +4651,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4774,7 +4661,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4783,15 +4669,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4816,15 +4698,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4832,7 +4708,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4841,15 +4716,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4884,7 +4755,6 @@ func awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponse(v **types.S } sv.CampaignId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4893,7 +4763,6 @@ func awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponse(v **types.S } sv.State = types.CampaignState(jtv) } - default: _, _ = key, value @@ -4967,7 +4836,6 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.ClientToken = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4976,7 +4844,6 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -5076,15 +4943,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5092,7 +4953,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -5101,15 +4961,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5134,15 +4990,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5150,7 +5000,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -5159,15 +5008,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.XAmzErrorType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/connectcases/deserializers.go b/service/connectcases/deserializers.go index 9b38add068e..96a50bc2e28 100644 --- a/service/connectcases/deserializers.go +++ b/service/connectcases/deserializers.go @@ -186,12 +186,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetFieldOutput(v **BatchGetFieldOutp if err := awsRestjson1_deserializeDocumentBatchGetFieldErrorList(&sv.Errors, value); err != nil { return err } - case "fields": if err := awsRestjson1_deserializeDocumentBatchGetFieldList(&sv.Fields, value); err != nil { return err } - default: _, _ = key, value @@ -358,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutFieldOptionsOutput(v **BatchPutFi if err := awsRestjson1_deserializeDocumentFieldOptionErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +526,6 @@ func awsRestjson1_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseArn = ptr.String(jtv) } - case "caseId": if value != nil { jtv, ok := value.(string) @@ -538,7 +534,6 @@ func awsRestjson1_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -709,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainArn = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -718,7 +712,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainId = ptr.String(jtv) } - case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -727,7 +720,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainStatus = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -901,7 +893,6 @@ func awsRestjson1_deserializeOpDocumentCreateFieldOutput(v **CreateFieldOutput, } sv.FieldArn = ptr.String(jtv) } - case "fieldId": if value != nil { jtv, ok := value.(string) @@ -910,7 +901,6 @@ func awsRestjson1_deserializeOpDocumentCreateFieldOutput(v **CreateFieldOutput, } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -1084,7 +1074,6 @@ func awsRestjson1_deserializeOpDocumentCreateLayoutOutput(v **CreateLayoutOutput } sv.LayoutArn = ptr.String(jtv) } - case "layoutId": if value != nil { jtv, ok := value.(string) @@ -1093,7 +1082,6 @@ func awsRestjson1_deserializeOpDocumentCreateLayoutOutput(v **CreateLayoutOutput } sv.LayoutId = ptr.String(jtv) } - default: _, _ = key, value @@ -1264,7 +1252,6 @@ func awsRestjson1_deserializeOpDocumentCreateRelatedItemOutput(v **CreateRelated } sv.RelatedItemArn = ptr.String(jtv) } - case "relatedItemId": if value != nil { jtv, ok := value.(string) @@ -1273,7 +1260,6 @@ func awsRestjson1_deserializeOpDocumentCreateRelatedItemOutput(v **CreateRelated } sv.RelatedItemId = ptr.String(jtv) } - default: _, _ = key, value @@ -1447,7 +1433,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -1456,7 +1441,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -2035,7 +2019,6 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in if err := awsRestjson1_deserializeDocumentFieldValueList(&sv.Fields, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2044,12 +2027,10 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -2058,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -2222,7 +2202,6 @@ func awsRestjson1_deserializeOpDocumentGetCaseAuditEventsOutput(v **GetCaseAudit if err := awsRestjson1_deserializeDocumentAuditEventsList(&sv.AuditEvents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2231,7 +2210,6 @@ func awsRestjson1_deserializeOpDocumentGetCaseAuditEventsOutput(v **GetCaseAudit } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2395,7 +2373,6 @@ func awsRestjson1_deserializeOpDocumentGetCaseEventConfigurationOutput(v **GetCa if err := awsRestjson1_deserializeDocumentEventBridgeConfiguration(&sv.EventBridge, value); err != nil { return err } - default: _, _ = key, value @@ -2567,7 +2544,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.CreatedTime = ptr.Time(t) } - case "domainArn": if value != nil { jtv, ok := value.(string) @@ -2576,7 +2552,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainArn = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -2585,7 +2560,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainId = ptr.String(jtv) } - case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -2594,7 +2568,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainStatus = types.DomainStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2603,12 +2576,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2772,7 +2743,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu if err := awsRestjson1_deserializeDocumentLayoutContent(&sv.Content, value); err != nil { return err } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -2785,7 +2755,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.CreatedTime = ptr.Time(t) } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -2794,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.Deleted = jtv } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -2807,7 +2775,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LastModifiedTime = ptr.Time(t) } - case "layoutArn": if value != nil { jtv, ok := value.(string) @@ -2816,7 +2783,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LayoutArn = ptr.String(jtv) } - case "layoutId": if value != nil { jtv, ok := value.(string) @@ -2825,7 +2791,6 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LayoutId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2834,12 +2799,10 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3011,7 +2974,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.CreatedTime = ptr.Time(t) } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -3020,7 +2982,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Deleted = jtv } - case "description": if value != nil { jtv, ok := value.(string) @@ -3029,7 +2990,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Description = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -3042,12 +3002,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.LastModifiedTime = ptr.Time(t) } - case "layoutConfiguration": if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.LayoutConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3056,12 +3014,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Name = ptr.String(jtv) } - case "requiredFields": if err := awsRestjson1_deserializeDocumentRequiredFieldList(&sv.RequiredFields, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3070,12 +3026,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Status = types.TemplateStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -3084,7 +3038,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateArn = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -3093,7 +3046,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -3257,7 +3209,6 @@ func awsRestjson1_deserializeOpDocumentListCasesForContactOutput(v **ListCasesFo if err := awsRestjson1_deserializeDocumentCaseSummaryList(&sv.Cases, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3266,7 +3217,6 @@ func awsRestjson1_deserializeOpDocumentListCasesForContactOutput(v **ListCasesFo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3427,7 +3377,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3436,7 +3385,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3604,12 +3552,10 @@ func awsRestjson1_deserializeOpDocumentListFieldOptionsOutput(v **ListFieldOptio } sv.NextToken = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentFieldOptionsList(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -3773,7 +3719,6 @@ func awsRestjson1_deserializeOpDocumentListFieldsOutput(v **ListFieldsOutput, va if err := awsRestjson1_deserializeDocumentFieldSummaryList(&sv.Fields, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3782,7 +3727,6 @@ func awsRestjson1_deserializeOpDocumentListFieldsOutput(v **ListFieldsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3946,7 +3890,6 @@ func awsRestjson1_deserializeOpDocumentListLayoutsOutput(v **ListLayoutsOutput, if err := awsRestjson1_deserializeDocumentLayoutSummaryList(&sv.Layouts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3955,7 +3898,6 @@ func awsRestjson1_deserializeOpDocumentListLayoutsOutput(v **ListLayoutsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4119,7 +4061,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4287,12 +4228,10 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } - case "templates": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -4556,7 +4495,6 @@ func awsRestjson1_deserializeOpDocumentSearchCasesOutput(v **SearchCasesOutput, if err := awsRestjson1_deserializeDocumentSearchCasesResponseItemList(&sv.Cases, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4565,7 +4503,6 @@ func awsRestjson1_deserializeOpDocumentSearchCasesOutput(v **SearchCasesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4733,12 +4670,10 @@ func awsRestjson1_deserializeOpDocumentSearchRelatedItemsOutput(v **SearchRelate } sv.NextToken = ptr.String(jtv) } - case "relatedItems": if err := awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItemList(&sv.RelatedItems, value); err != nil { return err } - default: _, _ = key, value @@ -5664,15 +5599,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5680,15 +5609,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5723,17 +5648,14 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.EventId = ptr.String(jtv) } - case "fields": if err := awsRestjson1_deserializeDocumentAuditEventFieldList(&sv.Fields, value); err != nil { return err } - case "performedBy": if err := awsRestjson1_deserializeDocumentAuditEventPerformedBy(&sv.PerformedBy, value); err != nil { return err } - case "performedTime": if value != nil { jtv, ok := value.(string) @@ -5746,7 +5668,6 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.PerformedTime = ptr.Time(t) } - case "relatedItemType": if value != nil { jtv, ok := value.(string) @@ -5755,7 +5676,6 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.RelatedItemType = types.RelatedItemType(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5764,7 +5684,6 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.Type = types.AuditEventType(jtv) } - default: _, _ = key, value @@ -5804,17 +5723,14 @@ func awsRestjson1_deserializeDocumentAuditEventField(v **types.AuditEventField, } sv.EventFieldId = ptr.String(jtv) } - case "newValue": if err := awsRestjson1_deserializeDocumentAuditEventFieldValueUnion(&sv.NewValue, value); err != nil { return err } - case "oldValue": if err := awsRestjson1_deserializeDocumentAuditEventFieldValueUnion(&sv.OldValue, value); err != nil { return err } - default: _, _ = key, value @@ -5999,12 +5915,10 @@ func awsRestjson1_deserializeDocumentAuditEventPerformedBy(v **types.AuditEventP } sv.IamPrincipalArn = ptr.String(jtv) } - case "user": if err := awsRestjson1_deserializeDocumentUserUnion(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -6072,12 +5986,10 @@ func awsRestjson1_deserializeDocumentBasicLayout(v **types.BasicLayout, value in if err := awsRestjson1_deserializeDocumentLayoutSections(&sv.MoreInfo, value); err != nil { return err } - case "topPanel": if err := awsRestjson1_deserializeDocumentLayoutSections(&sv.TopPanel, value); err != nil { return err } - default: _, _ = key, value @@ -6181,7 +6093,6 @@ func awsRestjson1_deserializeDocumentCaseEventIncludedData(v **types.CaseEventIn if err := awsRestjson1_deserializeDocumentFieldIdentifierList(&sv.Fields, value); err != nil { return err } - default: _, _ = key, value @@ -6221,7 +6132,6 @@ func awsRestjson1_deserializeDocumentCaseSummary(v **types.CaseSummary, value in } sv.CaseId = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -6230,7 +6140,6 @@ func awsRestjson1_deserializeDocumentCaseSummary(v **types.CaseSummary, value in } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -6304,7 +6213,6 @@ func awsRestjson1_deserializeDocumentCommentContent(v **types.CommentContent, va } sv.Body = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -6313,7 +6221,6 @@ func awsRestjson1_deserializeDocumentCommentContent(v **types.CommentContent, va } sv.ContentType = types.CommentBodyTextType(jtv) } - default: _, _ = key, value @@ -6343,15 +6250,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6359,15 +6260,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6402,7 +6299,6 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.Channel = ptr.String(jtv) } - case "connectedToSystemTime": if value != nil { jtv, ok := value.(string) @@ -6415,7 +6311,6 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.ConnectedToSystemTime = ptr.Time(t) } - case "contactArn": if value != nil { jtv, ok := value.(string) @@ -6424,7 +6319,6 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.ContactArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6464,7 +6358,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainArn = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -6473,7 +6366,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6482,7 +6374,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6587,12 +6478,10 @@ func awsRestjson1_deserializeDocumentEventBridgeConfiguration(v **types.EventBri } sv.Enabled = ptr.Bool(jtv) } - case "includedData": if err := awsRestjson1_deserializeDocumentEventIncludedData(&sv.IncludedData, value); err != nil { return err } - default: _, _ = key, value @@ -6628,12 +6517,10 @@ func awsRestjson1_deserializeDocumentEventIncludedData(v **types.EventIncludedDa if err := awsRestjson1_deserializeDocumentCaseEventIncludedData(&sv.CaseData, value); err != nil { return err } - case "relatedItemData": if err := awsRestjson1_deserializeDocumentRelatedItemEventIncludedData(&sv.RelatedItemData, value); err != nil { return err } - default: _, _ = key, value @@ -6673,7 +6560,6 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.ErrorCode = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6682,7 +6568,6 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.Id = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6691,7 +6576,6 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -6727,7 +6611,6 @@ func awsRestjson1_deserializeDocumentFieldGroup(v **types.FieldGroup, value inte if err := awsRestjson1_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6736,7 +6619,6 @@ func awsRestjson1_deserializeDocumentFieldGroup(v **types.FieldGroup, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6776,7 +6658,6 @@ func awsRestjson1_deserializeDocumentFieldIdentifier(v **types.FieldIdentifier, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -6850,7 +6731,6 @@ func awsRestjson1_deserializeDocumentFieldItem(v **types.FieldItem, value interf } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -6924,7 +6804,6 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Active = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6933,7 +6812,6 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6942,7 +6820,6 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6982,7 +6859,6 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.ErrorCode = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6991,7 +6867,6 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.Message = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7000,7 +6875,6 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7108,7 +6982,6 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.FieldArn = ptr.String(jtv) } - case "fieldId": if value != nil { jtv, ok := value.(string) @@ -7117,7 +6990,6 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.FieldId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7126,7 +6998,6 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -7135,7 +7006,6 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Namespace = types.FieldNamespace(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7144,7 +7014,6 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Type = types.FieldType(jtv) } - default: _, _ = key, value @@ -7218,12 +7087,10 @@ func awsRestjson1_deserializeDocumentFieldValue(v **types.FieldValue, value inte } sv.Id = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentFieldValueUnion(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -7410,7 +7277,6 @@ func awsRestjson1_deserializeDocumentFileContent(v **types.FileContent, value in } sv.FileArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7454,7 +7320,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.CreatedTime = ptr.Time(t) } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -7463,7 +7328,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Deleted = jtv } - case "description": if value != nil { jtv, ok := value.(string) @@ -7472,7 +7336,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Description = ptr.String(jtv) } - case "fieldArn": if value != nil { jtv, ok := value.(string) @@ -7481,7 +7344,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.FieldArn = ptr.String(jtv) } - case "fieldId": if value != nil { jtv, ok := value.(string) @@ -7490,7 +7352,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.FieldId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7364,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.LastModifiedTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7372,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -7521,12 +7380,10 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Namespace = types.FieldNamespace(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -7535,7 +7392,6 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Type = types.FieldType(jtv) } - default: _, _ = key, value @@ -7565,15 +7421,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7581,7 +7431,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7594,15 +7443,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7637,7 +7482,6 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu } sv.DefaultLayout = ptr.String(jtv) } - default: _, _ = key, value @@ -7713,7 +7557,6 @@ func awsRestjson1_deserializeDocumentLayoutSections(v **types.LayoutSections, va if err := awsRestjson1_deserializeDocumentSectionsList(&sv.Sections, value); err != nil { return err } - default: _, _ = key, value @@ -7753,7 +7596,6 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.LayoutArn = ptr.String(jtv) } - case "layoutId": if value != nil { jtv, ok := value.(string) @@ -7762,7 +7604,6 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.LayoutId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7771,7 +7612,6 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7905,7 +7745,6 @@ func awsRestjson1_deserializeDocumentRelatedItemEventIncludedData(v **types.Rela } sv.IncludeContent = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7945,7 +7784,6 @@ func awsRestjson1_deserializeDocumentRequiredField(v **types.RequiredField, valu } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -8009,15 +7847,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8025,7 +7857,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8034,7 +7865,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8043,15 +7873,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8086,17 +7912,14 @@ func awsRestjson1_deserializeDocumentSearchCasesResponseItem(v **types.SearchCas } sv.CaseId = ptr.String(jtv) } - case "fields": if err := awsRestjson1_deserializeDocumentFieldValueList(&sv.Fields, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -8105,7 +7928,6 @@ func awsRestjson1_deserializeDocumentSearchCasesResponseItem(v **types.SearchCas } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -8181,17 +8003,14 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.AssociationTime = ptr.Time(t) } - case "content": if err := awsRestjson1_deserializeDocumentRelatedItemContent(&sv.Content, value); err != nil { return err } - case "performedBy": if err := awsRestjson1_deserializeDocumentUserUnion(&sv.PerformedBy, value); err != nil { return err } - case "relatedItemId": if value != nil { jtv, ok := value.(string) @@ -8200,12 +8019,10 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.RelatedItemId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8214,7 +8031,6 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.Type = types.RelatedItemType(jtv) } - default: _, _ = key, value @@ -8348,15 +8164,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8364,15 +8174,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8443,7 +8249,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8452,7 +8257,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Status = types.TemplateStatus(jtv) } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -8461,7 +8265,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateArn = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -8470,7 +8273,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -8534,15 +8336,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8550,15 +8346,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8625,15 +8417,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8641,15 +8427,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/connectcontactlens/deserializers.go b/service/connectcontactlens/deserializers.go index 760d203c372..cd39c33ab51 100644 --- a/service/connectcontactlens/deserializers.go +++ b/service/connectcontactlens/deserializers.go @@ -187,12 +187,10 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsOutput } sv.NextToken = ptr.String(jtv) } - case "Segments": if err := awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegments(&sv.Segments, value); err != nil { return err } - default: _, _ = key, value @@ -402,15 +400,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -418,15 +410,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -457,12 +445,10 @@ func awsRestjson1_deserializeDocumentCategories(v **types.Categories, value inte if err := awsRestjson1_deserializeDocumentMatchedCategories(&sv.MatchedCategories, value); err != nil { return err } - case "MatchedDetails": if err := awsRestjson1_deserializeDocumentMatchedDetails(&sv.MatchedDetails, value); err != nil { return err } - default: _, _ = key, value @@ -498,7 +484,6 @@ func awsRestjson1_deserializeDocumentCategoryDetails(v **types.CategoryDetails, if err := awsRestjson1_deserializeDocumentPointsOfInterest(&sv.PointsOfInterest, value); err != nil { return err } - default: _, _ = key, value @@ -542,7 +527,6 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.BeginOffsetChar = ptr.Int32(int32(i64)) } - case "EndOffsetChar": if value != nil { jtv, ok := value.(json.Number) @@ -555,7 +539,6 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.EndOffsetChar = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -585,15 +568,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -601,15 +578,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -634,15 +607,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -650,15 +617,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -689,7 +652,6 @@ func awsRestjson1_deserializeDocumentIssueDetected(v **types.IssueDetected, valu if err := awsRestjson1_deserializeDocumentCharacterOffsets(&sv.CharacterOffsets, value); err != nil { return err } - default: _, _ = key, value @@ -838,7 +800,6 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, } sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -851,7 +812,6 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, } sv.EndOffsetMillis = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -925,7 +885,6 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.Content = ptr.String(jtv) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -934,7 +893,6 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.FailureCode = types.PostContactSummaryFailureCode(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -943,7 +901,6 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.Status = types.PostContactSummaryStatus(jtv) } - default: _, _ = key, value @@ -979,17 +936,14 @@ func awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegment(v **types.Re if err := awsRestjson1_deserializeDocumentCategories(&sv.Categories, value); err != nil { return err } - case "PostContactSummary": if err := awsRestjson1_deserializeDocumentPostContactSummary(&sv.PostContactSummary, value); err != nil { return err } - case "Transcript": if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } - default: _, _ = key, value @@ -1053,15 +1007,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1069,15 +1017,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1102,15 +1046,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1118,15 +1056,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1165,7 +1099,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -1174,7 +1107,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Content = ptr.String(jtv) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1187,7 +1119,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.EndOffsetMillis = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1196,12 +1127,10 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Id = ptr.String(jtv) } - case "IssuesDetected": if err := awsRestjson1_deserializeDocumentIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -1210,7 +1139,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -1219,7 +1147,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.ParticipantRole = ptr.String(jtv) } - case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -1228,7 +1155,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Sentiment = types.SentimentValue(jtv) } - default: _, _ = key, value diff --git a/service/connectparticipant/deserializers.go b/service/connectparticipant/deserializers.go index 593fe771ba9..b2ea493154e 100644 --- a/service/connectparticipant/deserializers.go +++ b/service/connectparticipant/deserializers.go @@ -283,12 +283,10 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantConnectionOutput(v **Cre if err := awsRestjson1_deserializeDocumentConnectionCredentials(&sv.ConnectionCredentials, value); err != nil { return err } - case "Websocket": if err := awsRestjson1_deserializeDocumentWebsocket(&sv.Websocket, value); err != nil { return err } - default: _, _ = key, value @@ -452,7 +450,6 @@ func awsRestjson1_deserializeOpDocumentDescribeViewOutput(v **DescribeViewOutput if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -714,7 +711,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachmentOutput(v **GetAttachmentOutp } sv.Url = ptr.String(jtv) } - case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -723,7 +719,6 @@ func awsRestjson1_deserializeOpDocumentGetAttachmentOutput(v **GetAttachmentOutp } sv.UrlExpiry = ptr.String(jtv) } - default: _, _ = key, value @@ -888,7 +883,6 @@ func awsRestjson1_deserializeOpDocumentGetTranscriptOutput(v **GetTranscriptOutp } sv.InitialContactId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -897,12 +891,10 @@ func awsRestjson1_deserializeOpDocumentGetTranscriptOutput(v **GetTranscriptOutp } sv.NextToken = ptr.String(jtv) } - case "Transcript": if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } - default: _, _ = key, value @@ -1070,7 +1062,6 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.AbsoluteTime = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1079,7 +1070,6 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1244,7 +1234,6 @@ func awsRestjson1_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.AbsoluteTime = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1253,7 +1242,6 @@ func awsRestjson1_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1421,12 +1409,10 @@ func awsRestjson1_deserializeOpDocumentStartAttachmentUploadOutput(v **StartAtta } sv.AttachmentId = ptr.String(jtv) } - case "UploadMetadata": if err := awsRestjson1_deserializeDocumentUploadMetadata(&sv.UploadMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -1708,15 +1694,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1724,15 +1704,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1767,7 +1743,6 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.AttachmentId = ptr.String(jtv) } - case "AttachmentName": if value != nil { jtv, ok := value.(string) @@ -1776,7 +1751,6 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.AttachmentName = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -1785,7 +1759,6 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.ContentType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1794,7 +1767,6 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.Status = types.ArtifactStatus(jtv) } - default: _, _ = key, value @@ -1858,15 +1830,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1874,15 +1840,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1917,7 +1879,6 @@ func awsRestjson1_deserializeDocumentConnectionCredentials(v **types.ConnectionC } sv.ConnectionToken = ptr.String(jtv) } - case "Expiry": if value != nil { jtv, ok := value.(string) @@ -1926,7 +1887,6 @@ func awsRestjson1_deserializeDocumentConnectionCredentials(v **types.ConnectionC } sv.Expiry = ptr.String(jtv) } - default: _, _ = key, value @@ -1956,15 +1916,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1972,15 +1926,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2015,12 +1965,10 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.AbsoluteTime = ptr.String(jtv) } - case "Attachments": if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "ContactId": if value != nil { jtv, ok := value.(string) @@ -2029,7 +1977,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContactId = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -2038,7 +1985,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -2047,7 +1993,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentType = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -2056,7 +2001,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.DisplayName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2065,12 +2009,10 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Id = ptr.String(jtv) } - case "MessageMetadata": if err := awsRestjson1_deserializeDocumentMessageMetadata(&sv.MessageMetadata, value); err != nil { return err } - case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -2079,7 +2021,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ParticipantId = ptr.String(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -2088,7 +2029,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "RelatedContactId": if value != nil { jtv, ok := value.(string) @@ -2097,7 +2037,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.RelatedContactId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2106,7 +2045,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ChatItemType(jtv) } - default: _, _ = key, value @@ -2146,12 +2084,10 @@ func awsRestjson1_deserializeDocumentMessageMetadata(v **types.MessageMetadata, } sv.MessageId = ptr.String(jtv) } - case "Receipts": if err := awsRestjson1_deserializeDocumentReceipts(&sv.Receipts, value); err != nil { return err } - default: _, _ = key, value @@ -2191,7 +2127,6 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.DeliveredTimestamp = ptr.String(jtv) } - case "ReadTimestamp": if value != nil { jtv, ok := value.(string) @@ -2200,7 +2135,6 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReadTimestamp = ptr.String(jtv) } - case "RecipientParticipantId": if value != nil { jtv, ok := value.(string) @@ -2209,7 +2143,6 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.RecipientParticipantId = ptr.String(jtv) } - default: _, _ = key, value @@ -2273,15 +2206,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2289,7 +2216,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2298,7 +2224,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2307,15 +2232,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2340,15 +2261,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2356,15 +2271,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2389,15 +2300,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2405,15 +2310,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2478,7 +2379,6 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va if err := awsRestjson1_deserializeDocumentUploadMetadataSignedHeaders(&sv.HeadersToInclude, value); err != nil { return err } - case "Url": if value != nil { jtv, ok := value.(string) @@ -2487,7 +2387,6 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.Url = ptr.String(jtv) } - case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -2496,7 +2395,6 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.UrlExpiry = ptr.String(jtv) } - default: _, _ = key, value @@ -2562,15 +2460,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2578,15 +2470,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2621,12 +2509,10 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "Content": if err := awsRestjson1_deserializeDocumentViewContent(&sv.Content, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2635,7 +2521,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2644,7 +2529,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -2657,7 +2541,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2729,7 +2612,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in if err := awsRestjson1_deserializeDocumentViewActions(&sv.Actions, value); err != nil { return err } - case "InputSchema": if value != nil { jtv, ok := value.(string) @@ -2738,7 +2620,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.InputSchema = ptr.String(jtv) } - case "Template": if value != nil { jtv, ok := value.(string) @@ -2747,7 +2628,6 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.Template = ptr.String(jtv) } - default: _, _ = key, value @@ -2787,7 +2667,6 @@ func awsRestjson1_deserializeDocumentWebsocket(v **types.Websocket, value interf } sv.ConnectionExpiry = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -2796,7 +2675,6 @@ func awsRestjson1_deserializeDocumentWebsocket(v **types.Websocket, value interf } sv.Url = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/controlcatalog/deserializers.go b/service/controlcatalog/deserializers.go index fe1531ae02b..e12ab329e33 100644 --- a/service/controlcatalog/deserializers.go +++ b/service/controlcatalog/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Arn = ptr.String(jtv) } - case "Behavior": if value != nil { jtv, ok := value.(string) @@ -196,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Behavior = types.ControlBehavior(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -205,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -214,12 +211,10 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Name = ptr.String(jtv) } - case "RegionConfiguration": if err := awsRestjson1_deserializeDocumentRegionConfiguration(&sv.RegionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -380,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentListCommonControlsOutput(v **ListCommonCo if err := awsRestjson1_deserializeDocumentCommonControlSummaryList(&sv.CommonControls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -389,7 +383,6 @@ func awsRestjson1_deserializeOpDocumentListCommonControlsOutput(v **ListCommonCo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -550,7 +543,6 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput if err := awsRestjson1_deserializeDocumentControls(&sv.Controls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -559,7 +551,6 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -720,7 +711,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -729,7 +719,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -894,12 +883,10 @@ func awsRestjson1_deserializeOpDocumentListObjectivesOutput(v **ListObjectivesOu } sv.NextToken = ptr.String(jtv) } - case "Objectives": if err := awsRestjson1_deserializeDocumentObjectiveSummaryList(&sv.Objectives, value); err != nil { return err } - default: _, _ = key, value @@ -1109,15 +1096,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1125,15 +1106,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1168,7 +1145,6 @@ func awsRestjson1_deserializeDocumentAssociatedDomainSummary(v **types.Associate } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1177,7 +1153,6 @@ func awsRestjson1_deserializeDocumentAssociatedDomainSummary(v **types.Associate } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1217,7 +1192,6 @@ func awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(v **types.Associ } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1226,7 +1200,6 @@ func awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(v **types.Associ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1266,7 +1239,6 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Arn = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1282,7 +1254,6 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1291,12 +1262,10 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Description = ptr.String(jtv) } - case "Domain": if err := awsRestjson1_deserializeDocumentAssociatedDomainSummary(&sv.Domain, value); err != nil { return err } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1312,7 +1281,6 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1321,12 +1289,10 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Name = ptr.String(jtv) } - case "Objective": if err := awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(&sv.Objective, value); err != nil { return err } - default: _, _ = key, value @@ -1434,7 +1400,6 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1443,7 +1408,6 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1452,7 +1416,6 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1528,7 +1491,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1544,7 +1506,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1553,7 +1514,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1569,7 +1529,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1578,7 +1537,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1642,15 +1600,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1658,15 +1610,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1701,7 +1649,6 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Arn = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1717,7 +1664,6 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1726,12 +1672,10 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Description = ptr.String(jtv) } - case "Domain": if err := awsRestjson1_deserializeDocumentAssociatedDomainSummary(&sv.Domain, value); err != nil { return err } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1747,7 +1691,6 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1756,7 +1699,6 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1826,7 +1768,6 @@ func awsRestjson1_deserializeDocumentRegionConfiguration(v **types.RegionConfigu if err := awsRestjson1_deserializeDocumentDeployableRegions(&sv.DeployableRegions, value); err != nil { return err } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -1835,7 +1776,6 @@ func awsRestjson1_deserializeDocumentRegionConfiguration(v **types.RegionConfigu } sv.Scope = types.ControlScope(jtv) } - default: _, _ = key, value @@ -1865,15 +1805,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1881,15 +1815,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1914,15 +1844,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1930,15 +1854,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1963,15 +1883,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1979,15 +1893,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/controltower/deserializers.go b/service/controltower/deserializers.go index 6386edf92f6..23c0a74f873 100644 --- a/service/controltower/deserializers.go +++ b/service/controltower/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateLandingZoneOutput(v **CreateLanding } sv.Arn = ptr.String(jtv) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -199,7 +198,6 @@ func awsRestjson1_deserializeOpDocumentCreateLandingZoneOutput(v **CreateLanding } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -370,7 +368,6 @@ func awsRestjson1_deserializeOpDocumentDeleteLandingZoneOutput(v **DeleteLanding } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -544,7 +541,6 @@ func awsRestjson1_deserializeOpDocumentDisableBaselineOutput(v **DisableBaseline } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -718,7 +714,6 @@ func awsRestjson1_deserializeOpDocumentDisableControlOutput(v **DisableControlOu } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -892,7 +887,6 @@ func awsRestjson1_deserializeOpDocumentEnableBaselineOutput(v **EnableBaselineOu } sv.Arn = ptr.String(jtv) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -901,7 +895,6 @@ func awsRestjson1_deserializeOpDocumentEnableBaselineOutput(v **EnableBaselineOu } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -1075,7 +1068,6 @@ func awsRestjson1_deserializeOpDocumentEnableControlOutput(v **EnableControlOutp } sv.Arn = ptr.String(jtv) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -1084,7 +1076,6 @@ func awsRestjson1_deserializeOpDocumentEnableControlOutput(v **EnableControlOutp } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -1252,7 +1243,6 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1261,7 +1251,6 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1270,7 +1259,6 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1434,7 +1422,6 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOperationOutput(v **GetBaselin if err := awsRestjson1_deserializeDocumentBaselineOperation(&sv.BaselineOperation, value); err != nil { return err } - default: _, _ = key, value @@ -1598,7 +1585,6 @@ func awsRestjson1_deserializeOpDocumentGetControlOperationOutput(v **GetControlO if err := awsRestjson1_deserializeDocumentControlOperation(&sv.ControlOperation, value); err != nil { return err } - default: _, _ = key, value @@ -1762,7 +1748,6 @@ func awsRestjson1_deserializeOpDocumentGetEnabledBaselineOutput(v **GetEnabledBa if err := awsRestjson1_deserializeDocumentEnabledBaselineDetails(&sv.EnabledBaselineDetails, value); err != nil { return err } - default: _, _ = key, value @@ -1926,7 +1911,6 @@ func awsRestjson1_deserializeOpDocumentGetEnabledControlOutput(v **GetEnabledCon if err := awsRestjson1_deserializeDocumentEnabledControlDetails(&sv.EnabledControlDetails, value); err != nil { return err } - default: _, _ = key, value @@ -2090,7 +2074,6 @@ func awsRestjson1_deserializeOpDocumentGetLandingZoneOutput(v **GetLandingZoneOu if err := awsRestjson1_deserializeDocumentLandingZoneDetail(&sv.LandingZone, value); err != nil { return err } - default: _, _ = key, value @@ -2254,7 +2237,6 @@ func awsRestjson1_deserializeOpDocumentGetLandingZoneOperationOutput(v **GetLand if err := awsRestjson1_deserializeDocumentLandingZoneOperationDetail(&sv.OperationDetails, value); err != nil { return err } - default: _, _ = key, value @@ -2415,7 +2397,6 @@ func awsRestjson1_deserializeOpDocumentListBaselinesOutput(v **ListBaselinesOutp if err := awsRestjson1_deserializeDocumentBaselines(&sv.Baselines, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2424,7 +2405,6 @@ func awsRestjson1_deserializeOpDocumentListBaselinesOutput(v **ListBaselinesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2585,7 +2565,6 @@ func awsRestjson1_deserializeOpDocumentListControlOperationsOutput(v **ListContr if err := awsRestjson1_deserializeDocumentControlOperations(&sv.ControlOperations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2594,7 +2573,6 @@ func awsRestjson1_deserializeOpDocumentListControlOperationsOutput(v **ListContr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2755,7 +2733,6 @@ func awsRestjson1_deserializeOpDocumentListEnabledBaselinesOutput(v **ListEnable if err := awsRestjson1_deserializeDocumentEnabledBaselines(&sv.EnabledBaselines, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2764,7 +2741,6 @@ func awsRestjson1_deserializeOpDocumentListEnabledBaselinesOutput(v **ListEnable } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2928,7 +2904,6 @@ func awsRestjson1_deserializeOpDocumentListEnabledControlsOutput(v **ListEnabled if err := awsRestjson1_deserializeDocumentEnabledControls(&sv.EnabledControls, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2937,7 +2912,6 @@ func awsRestjson1_deserializeOpDocumentListEnabledControlsOutput(v **ListEnabled } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3098,7 +3072,6 @@ func awsRestjson1_deserializeOpDocumentListLandingZoneOperationsOutput(v **ListL if err := awsRestjson1_deserializeDocumentLandingZoneOperations(&sv.LandingZoneOperations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3107,7 +3080,6 @@ func awsRestjson1_deserializeOpDocumentListLandingZoneOperationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3268,7 +3240,6 @@ func awsRestjson1_deserializeOpDocumentListLandingZonesOutput(v **ListLandingZon if err := awsRestjson1_deserializeDocumentLandingZoneSummaries(&sv.LandingZones, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3277,7 +3248,6 @@ func awsRestjson1_deserializeOpDocumentListLandingZonesOutput(v **ListLandingZon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3435,7 +3405,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3609,7 +3578,6 @@ func awsRestjson1_deserializeOpDocumentResetEnabledBaselineOutput(v **ResetEnabl } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -3780,7 +3748,6 @@ func awsRestjson1_deserializeOpDocumentResetLandingZoneOutput(v **ResetLandingZo } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -4142,7 +4109,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnabledBaselineOutput(v **UpdateEna } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -4316,7 +4282,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnabledControlOutput(v **UpdateEnab } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -4487,7 +4452,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLandingZoneOutput(v **UpdateLanding } sv.OperationIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -4789,15 +4753,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4805,15 +4763,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4852,7 +4806,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.EndTime = ptr.Time(t) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -4861,7 +4814,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.OperationIdentifier = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -4870,7 +4822,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.OperationType = types.BaselineOperationType(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -4883,7 +4834,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4892,7 +4842,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.Status = types.BaselineOperationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4850,6 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4975,7 +4923,6 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4984,7 +4931,6 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4993,7 +4939,6 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5023,15 +4968,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5039,15 +4978,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5082,7 +5017,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.ControlIdentifier = ptr.String(jtv) } - case "enabledControlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5091,7 +5025,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.EnabledControlIdentifier = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -5104,7 +5037,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.EndTime = ptr.Time(t) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -5113,7 +5045,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.OperationIdentifier = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -5122,7 +5053,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.OperationType = types.ControlOperationType(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5135,7 +5065,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5144,7 +5073,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.Status = types.ControlOperationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5153,7 +5081,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.StatusMessage = ptr.String(jtv) } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5162,7 +5089,6 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.TargetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5236,7 +5162,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.ControlIdentifier = ptr.String(jtv) } - case "enabledControlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5245,7 +5170,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.EnabledControlIdentifier = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -5258,7 +5182,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.EndTime = ptr.Time(t) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -5267,7 +5190,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.OperationIdentifier = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -5276,7 +5198,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.OperationType = types.ControlOperationType(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5289,7 +5210,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5298,7 +5218,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.Status = types.ControlOperationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5307,7 +5226,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.StatusMessage = ptr.String(jtv) } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5316,7 +5234,6 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.TargetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5356,7 +5273,6 @@ func awsRestjson1_deserializeDocumentDriftStatusSummary(v **types.DriftStatusSum } sv.DriftStatus = types.DriftStatus(jtv) } - default: _, _ = key, value @@ -5396,7 +5312,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.Arn = ptr.String(jtv) } - case "baselineIdentifier": if value != nil { jtv, ok := value.(string) @@ -5405,7 +5320,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.BaselineIdentifier = ptr.String(jtv) } - case "baselineVersion": if value != nil { jtv, ok := value.(string) @@ -5414,17 +5328,14 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.BaselineVersion = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentEnabledBaselineParameterSummaries(&sv.Parameters, value); err != nil { return err } - case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5433,7 +5344,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.TargetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5515,12 +5425,10 @@ func awsRestjson1_deserializeDocumentEnabledBaselineParameterSummary(v **types.E } sv.Key = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentEnabledBaselineParameterDocument(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -5594,7 +5502,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.Arn = ptr.String(jtv) } - case "baselineIdentifier": if value != nil { jtv, ok := value.(string) @@ -5603,7 +5510,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.BaselineIdentifier = ptr.String(jtv) } - case "baselineVersion": if value != nil { jtv, ok := value.(string) @@ -5612,12 +5518,10 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.BaselineVersion = ptr.String(jtv) } - case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5626,7 +5530,6 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.TargetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5666,7 +5569,6 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.Arn = ptr.String(jtv) } - case "controlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5675,22 +5577,18 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.ControlIdentifier = ptr.String(jtv) } - case "driftStatusSummary": if err := awsRestjson1_deserializeDocumentDriftStatusSummary(&sv.DriftStatusSummary, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentEnabledControlParameterSummaries(&sv.Parameters, value); err != nil { return err } - case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5699,12 +5597,10 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.TargetIdentifier = ptr.String(jtv) } - case "targetRegions": if err := awsRestjson1_deserializeDocumentTargetRegions(&sv.TargetRegions, value); err != nil { return err } - default: _, _ = key, value @@ -5778,12 +5674,10 @@ func awsRestjson1_deserializeDocumentEnabledControlParameterSummary(v **types.En } sv.Key = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDocument(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -5857,7 +5751,6 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.Arn = ptr.String(jtv) } - case "controlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5866,17 +5759,14 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.ControlIdentifier = ptr.String(jtv) } - case "driftStatusSummary": if err := awsRestjson1_deserializeDocumentDriftStatusSummary(&sv.DriftStatusSummary, value); err != nil { return err } - case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } - case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5885,7 +5775,6 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.TargetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5925,7 +5814,6 @@ func awsRestjson1_deserializeDocumentEnablementStatusSummary(v **types.Enablemen } sv.LastOperationIdentifier = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5934,7 +5822,6 @@ func awsRestjson1_deserializeDocumentEnablementStatusSummary(v **types.Enablemen } sv.Status = types.EnablementStatus(jtv) } - default: _, _ = key, value @@ -5964,15 +5851,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5980,15 +5861,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6023,12 +5900,10 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Arn = ptr.String(jtv) } - case "driftStatus": if err := awsRestjson1_deserializeDocumentLandingZoneDriftStatusSummary(&sv.DriftStatus, value); err != nil { return err } - case "latestAvailableVersion": if value != nil { jtv, ok := value.(string) @@ -6037,12 +5912,10 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.LatestAvailableVersion = ptr.String(jtv) } - case "manifest": if err := awsRestjson1_deserializeDocumentManifest(&sv.Manifest, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6051,7 +5924,6 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Status = types.LandingZoneStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -6060,7 +5932,6 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6100,7 +5971,6 @@ func awsRestjson1_deserializeDocumentLandingZoneDriftStatusSummary(v **types.Lan } sv.Status = types.LandingZoneDriftStatus(jtv) } - default: _, _ = key, value @@ -6144,7 +6014,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.EndTime = ptr.Time(t) } - case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -6153,7 +6022,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.OperationIdentifier = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -6162,7 +6030,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.OperationType = types.LandingZoneOperationType(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6175,7 +6042,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6184,7 +6050,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.Status = types.LandingZoneOperationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6193,7 +6058,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6267,7 +6131,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.OperationIdentifier = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -6276,7 +6139,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.OperationType = types.LandingZoneOperationType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6285,7 +6147,6 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.Status = types.LandingZoneOperationStatus(jtv) } - default: _, _ = key, value @@ -6359,7 +6220,6 @@ func awsRestjson1_deserializeDocumentLandingZoneSummary(v **types.LandingZoneSum } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -6407,7 +6267,6 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6437,15 +6296,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6453,15 +6306,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6486,15 +6335,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6502,15 +6345,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6605,15 +6444,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6621,7 +6454,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6630,7 +6462,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6643,7 +6474,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6652,15 +6482,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6685,15 +6511,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6701,15 +6521,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/costandusagereportservice/deserializers.go b/service/costandusagereportservice/deserializers.go index a5c585c2774..1b1a515359b 100644 --- a/service/costandusagereportservice/deserializers.go +++ b/service/costandusagereportservice/deserializers.go @@ -1073,15 +1073,9 @@ func awsAwsjson11_deserializeDocumentDuplicateReportNameException(v **types.Dupl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1089,15 +1083,11 @@ func awsAwsjson11_deserializeDocumentDuplicateReportNameException(v **types.Dupl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1122,15 +1112,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1138,15 +1122,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1177,12 +1157,10 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition if err := awsAwsjson11_deserializeDocumentAdditionalArtifactList(&sv.AdditionalArtifacts, value); err != nil { return err } - case "AdditionalSchemaElements": if err := awsAwsjson11_deserializeDocumentSchemaElementList(&sv.AdditionalSchemaElements, value); err != nil { return err } - case "BillingViewArn": if value != nil { jtv, ok := value.(string) @@ -1191,7 +1169,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.BillingViewArn = ptr.String(jtv) } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -1200,7 +1177,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Compression = types.CompressionFormat(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -1209,7 +1185,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Format = types.ReportFormat(jtv) } - case "RefreshClosedReports": if value != nil { jtv, ok := value.(bool) @@ -1218,7 +1193,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.RefreshClosedReports = ptr.Bool(jtv) } - case "ReportName": if value != nil { jtv, ok := value.(string) @@ -1227,12 +1201,10 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportName = ptr.String(jtv) } - case "ReportStatus": if err := awsAwsjson11_deserializeDocumentReportStatus(&sv.ReportStatus, value); err != nil { return err } - case "ReportVersioning": if value != nil { jtv, ok := value.(string) @@ -1241,7 +1213,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportVersioning = types.ReportVersioning(jtv) } - case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -1250,7 +1221,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Bucket = ptr.String(jtv) } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -1259,7 +1229,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Prefix = ptr.String(jtv) } - case "S3Region": if value != nil { jtv, ok := value.(string) @@ -1268,7 +1237,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Region = types.AWSRegion(jtv) } - case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -1277,7 +1245,6 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.TimeUnit = types.TimeUnit(jtv) } - default: _, _ = key, value @@ -1341,15 +1308,9 @@ func awsAwsjson11_deserializeDocumentReportLimitReachedException(v **types.Repor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1357,15 +1318,11 @@ func awsAwsjson11_deserializeDocumentReportLimitReachedException(v **types.Repor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1400,7 +1357,6 @@ func awsAwsjson11_deserializeDocumentReportStatus(v **types.ReportStatus, value } sv.LastDelivery = ptr.String(jtv) } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -1409,7 +1365,6 @@ func awsAwsjson11_deserializeDocumentReportStatus(v **types.ReportStatus, value } sv.LastStatus = types.LastStatus(jtv) } - default: _, _ = key, value @@ -1439,15 +1394,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1455,15 +1404,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1534,7 +1479,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1543,7 +1487,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1607,15 +1550,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1623,15 +1560,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1666,7 +1599,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteReportDefinitionOutput(v **DeleteRe } sv.ResponseMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -1706,12 +1638,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportDefinitionsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "ReportDefinitions": if err := awsAwsjson11_deserializeDocumentReportDefinitionList(&sv.ReportDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -1747,7 +1677,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/costexplorer/deserializers.go b/service/costexplorer/deserializers.go index e87abc9cd17..1e7c70f7c31 100644 --- a/service/costexplorer/deserializers.go +++ b/service/costexplorer/deserializers.go @@ -5298,7 +5298,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyEndDate = ptr.String(jtv) } - case "AnomalyId": if value != nil { jtv, ok := value.(string) @@ -5307,12 +5306,10 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyId = ptr.String(jtv) } - case "AnomalyScore": if err := awsAwsjson11_deserializeDocumentAnomalyScore(&sv.AnomalyScore, value); err != nil { return err } - case "AnomalyStartDate": if value != nil { jtv, ok := value.(string) @@ -5321,7 +5318,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyStartDate = ptr.String(jtv) } - case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -5330,7 +5326,6 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.DimensionValue = ptr.String(jtv) } - case "Feedback": if value != nil { jtv, ok := value.(string) @@ -5339,12 +5334,10 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Feedback = types.AnomalyFeedbackType(jtv) } - case "Impact": if err := awsAwsjson11_deserializeDocumentImpact(&sv.Impact, value); err != nil { return err } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -5353,12 +5346,10 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.MonitorArn = ptr.String(jtv) } - case "RootCauses": if err := awsAwsjson11_deserializeDocumentRootCauses(&sv.RootCauses, value); err != nil { return err } - default: _, _ = key, value @@ -5398,7 +5389,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.CreationDate = ptr.String(jtv) } - case "DimensionalValueCount": if value != nil { jtv, ok := value.(json.Number) @@ -5411,7 +5401,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.DimensionalValueCount = int32(i64) } - case "LastEvaluatedDate": if value != nil { jtv, ok := value.(string) @@ -5420,7 +5409,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.LastEvaluatedDate = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5429,7 +5417,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.LastUpdatedDate = ptr.String(jtv) } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -5438,7 +5425,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorArn = ptr.String(jtv) } - case "MonitorDimension": if value != nil { jtv, ok := value.(string) @@ -5447,7 +5433,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorDimension = types.MonitorDimension(jtv) } - case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -5456,12 +5441,10 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorName = ptr.String(jtv) } - case "MonitorSpecification": if err := awsAwsjson11_deserializeDocumentExpression(&sv.MonitorSpecification, value); err != nil { return err } - case "MonitorType": if value != nil { jtv, ok := value.(string) @@ -5470,7 +5453,6 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorType = types.MonitorType(jtv) } - default: _, _ = key, value @@ -5569,7 +5551,6 @@ func awsAwsjson11_deserializeDocumentAnomalyScore(v **types.AnomalyScore, value } } - case "MaxScore": if value != nil { switch jtv := value.(type) { @@ -5603,7 +5584,6 @@ func awsAwsjson11_deserializeDocumentAnomalyScore(v **types.AnomalyScore, value } } - default: _, _ = key, value @@ -5643,7 +5623,6 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.AccountId = ptr.String(jtv) } - case "Frequency": if value != nil { jtv, ok := value.(string) @@ -5652,17 +5631,14 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.Frequency = types.AnomalySubscriptionFrequency(jtv) } - case "MonitorArnList": if err := awsAwsjson11_deserializeDocumentMonitorArnList(&sv.MonitorArnList, value); err != nil { return err } - case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } - case "SubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -5671,7 +5647,6 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.SubscriptionArn = ptr.String(jtv) } - case "SubscriptionName": if value != nil { jtv, ok := value.(string) @@ -5680,7 +5655,6 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.SubscriptionName = ptr.String(jtv) } - case "Threshold": if value != nil { switch jtv := value.(type) { @@ -5714,12 +5688,10 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } } - case "ThresholdExpression": if err := awsAwsjson11_deserializeDocumentExpression(&sv.ThresholdExpression, value); err != nil { return err } - default: _, _ = key, value @@ -5859,15 +5831,9 @@ func awsAwsjson11_deserializeDocumentBackfillLimitExceededException(v **types.Ba sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5875,15 +5841,11 @@ func awsAwsjson11_deserializeDocumentBackfillLimitExceededException(v **types.Ba } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5908,15 +5870,9 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5924,15 +5880,11 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5967,7 +5919,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.LastUpdatedDate = ptr.String(jtv) } - case "LastUsedDate": if value != nil { jtv, ok := value.(string) @@ -5976,7 +5927,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.LastUsedDate = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5985,7 +5935,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.Status = types.CostAllocationTagStatus(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -5994,7 +5943,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.TagKey = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6003,7 +5951,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.Type = types.CostAllocationTagType(jtv) } - default: _, _ = key, value @@ -6043,7 +5990,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.BackfillFrom = ptr.String(jtv) } - case "BackfillStatus": if value != nil { jtv, ok := value.(string) @@ -6052,7 +5998,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.BackfillStatus = types.CostAllocationTagBackfillStatus(jtv) } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -6061,7 +6006,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.CompletedAt = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6070,7 +6014,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.LastUpdatedAt = ptr.String(jtv) } - case "RequestedAt": if value != nil { jtv, ok := value.(string) @@ -6079,7 +6022,6 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.RequestedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -6187,7 +6129,6 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.CostCategoryArn = ptr.String(jtv) } - case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -6196,7 +6137,6 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.DefaultValue = ptr.String(jtv) } - case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -6205,7 +6145,6 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.EffectiveEnd = ptr.String(jtv) } - case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -6214,7 +6153,6 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.EffectiveStart = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6223,17 +6161,14 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.Name = ptr.String(jtv) } - case "ProcessingStatus": if err := awsAwsjson11_deserializeDocumentCostCategoryProcessingStatusList(&sv.ProcessingStatus, value); err != nil { return err } - case "Rules": if err := awsAwsjson11_deserializeDocumentCostCategoryRulesList(&sv.Rules, value); err != nil { return err } - case "RuleVersion": if value != nil { jtv, ok := value.(string) @@ -6242,12 +6177,10 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.RuleVersion = types.CostCategoryRuleVersion(jtv) } - case "SplitChargeRules": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRulesList(&sv.SplitChargeRules, value); err != nil { return err } - default: _, _ = key, value @@ -6287,7 +6220,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(v **typ } sv.DimensionKey = ptr.String(jtv) } - case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -6296,7 +6228,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(v **typ } sv.DimensionName = types.CostCategoryInheritedValueDimensionName(jtv) } - default: _, _ = key, value @@ -6372,7 +6303,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryProcessingStatus(v **types.Cost } sv.Component = types.CostCategoryStatusComponent(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6381,7 +6311,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryProcessingStatus(v **types.Cost } sv.Status = types.CostCategoryStatus(jtv) } - default: _, _ = key, value @@ -6455,7 +6384,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.CostCategoryArn = ptr.String(jtv) } - case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -6464,7 +6392,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.DefaultValue = ptr.String(jtv) } - case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -6473,7 +6400,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.EffectiveEnd = ptr.String(jtv) } - case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -6482,7 +6408,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.EffectiveStart = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6491,7 +6416,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.Name = ptr.String(jtv) } - case "NumberOfRules": if value != nil { jtv, ok := value.(json.Number) @@ -6504,17 +6428,14 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.NumberOfRules = int32(i64) } - case "ProcessingStatus": if err := awsAwsjson11_deserializeDocumentCostCategoryProcessingStatusList(&sv.ProcessingStatus, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentCostCategoryValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -6584,12 +6505,10 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule if err := awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(&sv.InheritedValue, value); err != nil { return err } - case "Rule": if err := awsAwsjson11_deserializeDocumentExpression(&sv.Rule, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6598,7 +6517,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule } sv.Type = types.CostCategoryRuleType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6607,7 +6525,6 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6681,12 +6598,10 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRule(v **types.CostC } sv.Method = types.CostCategorySplitChargeMethod(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParametersList(&sv.Parameters, value); err != nil { return err } - case "Source": if value != nil { jtv, ok := value.(string) @@ -6695,12 +6610,10 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRule(v **types.CostC } sv.Source = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleTargetsList(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -6740,12 +6653,10 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParameter(v **ty } sv.Type = types.CostCategorySplitChargeRuleParameterType(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParameterValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -6925,17 +6836,14 @@ func awsAwsjson11_deserializeDocumentCostCategoryValues(v **types.CostCategoryVa } sv.Key = ptr.String(jtv) } - case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7007,17 +6915,14 @@ func awsAwsjson11_deserializeDocumentCoverage(v **types.Coverage, value interfac if err := awsAwsjson11_deserializeDocumentCoverageCost(&sv.CoverageCost, value); err != nil { return err } - case "CoverageHours": if err := awsAwsjson11_deserializeDocumentCoverageHours(&sv.CoverageHours, value); err != nil { return err } - case "CoverageNormalizedUnits": if err := awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(&sv.CoverageNormalizedUnits, value); err != nil { return err } - default: _, _ = key, value @@ -7053,17 +6958,14 @@ func awsAwsjson11_deserializeDocumentCoverageByTime(v **types.CoverageByTime, va if err := awsAwsjson11_deserializeDocumentReservationCoverageGroups(&sv.Groups, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -7103,7 +7005,6 @@ func awsAwsjson11_deserializeDocumentCoverageCost(v **types.CoverageCost, value } sv.OnDemandCost = ptr.String(jtv) } - default: _, _ = key, value @@ -7143,7 +7044,6 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.CoverageHoursPercentage = ptr.String(jtv) } - case "OnDemandHours": if value != nil { jtv, ok := value.(string) @@ -7152,7 +7052,6 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.OnDemandHours = ptr.String(jtv) } - case "ReservedHours": if value != nil { jtv, ok := value.(string) @@ -7161,7 +7060,6 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.ReservedHours = ptr.String(jtv) } - case "TotalRunningHours": if value != nil { jtv, ok := value.(string) @@ -7170,7 +7068,6 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.TotalRunningHours = ptr.String(jtv) } - default: _, _ = key, value @@ -7210,7 +7107,6 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.CoverageNormalizedUnitsPercentage = ptr.String(jtv) } - case "OnDemandNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7219,7 +7115,6 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.OnDemandNormalizedUnits = ptr.String(jtv) } - case "ReservedNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7228,7 +7123,6 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.ReservedNormalizedUnits = ptr.String(jtv) } - case "TotalRunningNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7237,7 +7131,6 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.TotalRunningNormalizedUnits = ptr.String(jtv) } - default: _, _ = key, value @@ -7311,7 +7204,6 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.CurrencyCode = ptr.String(jtv) } - case "InstanceName": if value != nil { jtv, ok := value.(string) @@ -7320,7 +7212,6 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.InstanceName = ptr.String(jtv) } - case "MonthlyCost": if value != nil { jtv, ok := value.(string) @@ -7329,7 +7220,6 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.MonthlyCost = ptr.String(jtv) } - case "OnDemandHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7338,7 +7228,6 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.OnDemandHoursInLookbackPeriod = ptr.String(jtv) } - case "ReservationCoveredHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7347,12 +7236,10 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.ReservationCoveredHoursInLookbackPeriod = ptr.String(jtv) } - case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7361,12 +7248,10 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.ResourceId = ptr.String(jtv) } - case "ResourceUtilization": if err := awsAwsjson11_deserializeDocumentResourceUtilization(&sv.ResourceUtilization, value); err != nil { return err } - case "SavingsPlansCoveredHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7375,12 +7260,10 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.SavingsPlansCoveredHoursInLookbackPeriod = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagValuesList(&sv.Tags, value); err != nil { return err } - case "TotalRunningHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7389,7 +7272,6 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.TotalRunningHoursInLookbackPeriod = ptr.String(jtv) } - default: _, _ = key, value @@ -7419,15 +7301,9 @@ func awsAwsjson11_deserializeDocumentDataUnavailableException(v **types.DataUnav sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7435,15 +7311,11 @@ func awsAwsjson11_deserializeDocumentDataUnavailableException(v **types.DataUnav } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7478,7 +7350,6 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.End = ptr.String(jtv) } - case "Start": if value != nil { jtv, ok := value.(string) @@ -7487,7 +7358,6 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.Start = ptr.String(jtv) } - default: _, _ = key, value @@ -7527,17 +7397,14 @@ func awsAwsjson11_deserializeDocumentDimensionValues(v **types.DimensionValues, } sv.Key = types.Dimension(jtv) } - case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7573,7 +7440,6 @@ func awsAwsjson11_deserializeDocumentDimensionValuesWithAttributes(v **types.Dim if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7582,7 +7448,6 @@ func awsAwsjson11_deserializeDocumentDimensionValuesWithAttributes(v **types.Dim } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7656,7 +7521,6 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskReadBytesPerSecond = ptr.String(jtv) } - case "DiskReadOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7665,7 +7529,6 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskReadOpsPerSecond = ptr.String(jtv) } - case "DiskWriteBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -7674,7 +7537,6 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskWriteBytesPerSecond = ptr.String(jtv) } - case "DiskWriteOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7683,7 +7545,6 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskWriteOpsPerSecond = ptr.String(jtv) } - default: _, _ = key, value @@ -7723,7 +7584,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(v **types.DynamoDBC } sv.CapacityUnits = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -7732,7 +7592,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(v **types.DynamoDBC } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -7772,7 +7631,6 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsReadBytesPerSecond = ptr.String(jtv) } - case "EbsReadOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7781,7 +7639,6 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsReadOpsPerSecond = ptr.String(jtv) } - case "EbsWriteBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -7790,7 +7647,6 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsWriteBytesPerSecond = ptr.String(jtv) } - case "EbsWriteOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7799,7 +7655,6 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsWriteOpsPerSecond = ptr.String(jtv) } - default: _, _ = key, value @@ -7839,7 +7694,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.AvailabilityZone = ptr.String(jtv) } - case "CurrentGeneration": if value != nil { jtv, ok := value.(bool) @@ -7848,7 +7702,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.CurrentGeneration = jtv } - case "Family": if value != nil { jtv, ok := value.(string) @@ -7857,7 +7710,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Family = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -7866,7 +7718,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.InstanceType = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -7875,7 +7726,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Platform = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -7884,7 +7734,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -7893,7 +7742,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.SizeFlexEligible = jtv } - case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -7902,7 +7750,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Tenancy = ptr.String(jtv) } - default: _, _ = key, value @@ -7942,7 +7789,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.HourlyOnDemandRate = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -7951,7 +7797,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.InstanceType = ptr.String(jtv) } - case "Memory": if value != nil { jtv, ok := value.(string) @@ -7960,7 +7805,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Memory = ptr.String(jtv) } - case "NetworkPerformance": if value != nil { jtv, ok := value.(string) @@ -7969,7 +7813,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.NetworkPerformance = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -7978,7 +7821,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Platform = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -7987,7 +7829,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Region = ptr.String(jtv) } - case "Sku": if value != nil { jtv, ok := value.(string) @@ -7996,7 +7837,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Sku = ptr.String(jtv) } - case "Storage": if value != nil { jtv, ok := value.(string) @@ -8005,7 +7845,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Storage = ptr.String(jtv) } - case "Vcpu": if value != nil { jtv, ok := value.(string) @@ -8014,7 +7853,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Vcpu = ptr.String(jtv) } - default: _, _ = key, value @@ -8050,12 +7888,10 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc if err := awsAwsjson11_deserializeDocumentDiskResourceUtilization(&sv.DiskResourceUtilization, value); err != nil { return err } - case "EBSResourceUtilization": if err := awsAwsjson11_deserializeDocumentEBSResourceUtilization(&sv.EBSResourceUtilization, value); err != nil { return err } - case "MaxCpuUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -8064,7 +7900,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxCpuUtilizationPercentage = ptr.String(jtv) } - case "MaxMemoryUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -8073,7 +7908,6 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxMemoryUtilizationPercentage = ptr.String(jtv) } - case "MaxStorageUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -8082,12 +7916,10 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxStorageUtilizationPercentage = ptr.String(jtv) } - case "NetworkResourceUtilization": if err := awsAwsjson11_deserializeDocumentNetworkResourceUtilization(&sv.NetworkResourceUtilization, value); err != nil { return err } - default: _, _ = key, value @@ -8127,7 +7959,6 @@ func awsAwsjson11_deserializeDocumentEC2Specification(v **types.EC2Specification } sv.OfferingClass = types.OfferingClass(jtv) } - default: _, _ = key, value @@ -8167,7 +7998,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.CurrentGeneration = jtv } - case "Family": if value != nil { jtv, ok := value.(string) @@ -8176,7 +8006,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.Family = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -8185,7 +8014,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.NodeType = ptr.String(jtv) } - case "ProductDescription": if value != nil { jtv, ok := value.(string) @@ -8194,7 +8022,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.ProductDescription = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -8203,7 +8030,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -8212,7 +8038,6 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.SizeFlexEligible = jtv } - default: _, _ = key, value @@ -8252,7 +8077,6 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.CurrentGeneration = jtv } - case "InstanceClass": if value != nil { jtv, ok := value.(string) @@ -8261,7 +8085,6 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.InstanceClass = ptr.String(jtv) } - case "InstanceSize": if value != nil { jtv, ok := value.(string) @@ -8270,7 +8093,6 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.InstanceSize = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -8279,7 +8101,6 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -8288,7 +8109,6 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.SizeFlexEligible = jtv } - default: _, _ = key, value @@ -8324,32 +8144,26 @@ func awsAwsjson11_deserializeDocumentExpression(v **types.Expression, value inte if err := awsAwsjson11_deserializeDocumentExpressions(&sv.And, value); err != nil { return err } - case "CostCategories": if err := awsAwsjson11_deserializeDocumentCostCategoryValues(&sv.CostCategories, value); err != nil { return err } - case "Dimensions": if err := awsAwsjson11_deserializeDocumentDimensionValues(&sv.Dimensions, value); err != nil { return err } - case "Not": if err := awsAwsjson11_deserializeDocumentExpression(&sv.Not, value); err != nil { return err } - case "Or": if err := awsAwsjson11_deserializeDocumentExpressions(&sv.Or, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagValues(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8459,7 +8273,6 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.MeanValue = ptr.String(jtv) } - case "PredictionIntervalLowerBound": if value != nil { jtv, ok := value.(string) @@ -8468,7 +8281,6 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.PredictionIntervalLowerBound = ptr.String(jtv) } - case "PredictionIntervalUpperBound": if value != nil { jtv, ok := value.(string) @@ -8477,12 +8289,10 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.PredictionIntervalUpperBound = ptr.String(jtv) } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - default: _, _ = key, value @@ -8546,15 +8356,9 @@ func awsAwsjson11_deserializeDocumentGenerationExistsException(v **types.Generat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8562,15 +8366,11 @@ func awsAwsjson11_deserializeDocumentGenerationExistsException(v **types.Generat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8605,7 +8405,6 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.EstimatedCompletionTime = ptr.String(jtv) } - case "GenerationCompletionTime": if value != nil { jtv, ok := value.(string) @@ -8614,7 +8413,6 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationCompletionTime = ptr.String(jtv) } - case "GenerationStartedTime": if value != nil { jtv, ok := value.(string) @@ -8623,7 +8421,6 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStartedTime = ptr.String(jtv) } - case "GenerationStatus": if value != nil { jtv, ok := value.(string) @@ -8632,7 +8429,6 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStatus = types.GenerationStatus(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -8641,7 +8437,6 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -8711,12 +8506,10 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e if err := awsAwsjson11_deserializeDocumentKeys(&sv.Keys, value); err != nil { return err } - case "Metrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } - default: _, _ = key, value @@ -8756,7 +8549,6 @@ func awsAwsjson11_deserializeDocumentGroupDefinition(v **types.GroupDefinition, } sv.Key = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8765,7 +8557,6 @@ func awsAwsjson11_deserializeDocumentGroupDefinition(v **types.GroupDefinition, } sv.Type = types.GroupDefinitionType(jtv) } - default: _, _ = key, value @@ -8898,7 +8689,6 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } - case "TotalActualSpend": if value != nil { switch jtv := value.(type) { @@ -8932,7 +8722,6 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } - case "TotalExpectedSpend": if value != nil { switch jtv := value.(type) { @@ -8966,7 +8755,6 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } - case "TotalImpact": if value != nil { switch jtv := value.(type) { @@ -9000,7 +8788,6 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } - case "TotalImpactPercentage": if value != nil { switch jtv := value.(type) { @@ -9034,7 +8821,6 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } - default: _, _ = key, value @@ -9070,32 +8856,26 @@ func awsAwsjson11_deserializeDocumentInstanceDetails(v **types.InstanceDetails, if err := awsAwsjson11_deserializeDocumentEC2InstanceDetails(&sv.EC2InstanceDetails, value); err != nil { return err } - case "ElastiCacheInstanceDetails": if err := awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(&sv.ElastiCacheInstanceDetails, value); err != nil { return err } - case "ESInstanceDetails": if err := awsAwsjson11_deserializeDocumentESInstanceDetails(&sv.ESInstanceDetails, value); err != nil { return err } - case "MemoryDBInstanceDetails": if err := awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(&sv.MemoryDBInstanceDetails, value); err != nil { return err } - case "RDSInstanceDetails": if err := awsAwsjson11_deserializeDocumentRDSInstanceDetails(&sv.RDSInstanceDetails, value); err != nil { return err } - case "RedshiftInstanceDetails": if err := awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(&sv.RedshiftInstanceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -9125,15 +8905,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9141,15 +8915,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9210,15 +8980,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9226,15 +8990,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9305,7 +9065,6 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.CurrentGeneration = jtv } - case "Family": if value != nil { jtv, ok := value.(string) @@ -9314,7 +9073,6 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.Family = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9323,7 +9081,6 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.NodeType = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -9332,7 +9089,6 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -9341,7 +9097,6 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.SizeFlexEligible = jtv } - default: _, _ = key, value @@ -9450,7 +9205,6 @@ func awsAwsjson11_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Amount = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -9459,7 +9213,6 @@ func awsAwsjson11_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -9495,7 +9248,6 @@ func awsAwsjson11_deserializeDocumentModifyRecommendationDetail(v **types.Modify if err := awsAwsjson11_deserializeDocumentTargetInstancesList(&sv.TargetInstances, value); err != nil { return err } - default: _, _ = key, value @@ -9571,7 +9323,6 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkInBytesPerSecond = ptr.String(jtv) } - case "NetworkOutBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -9580,7 +9331,6 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkOutBytesPerSecond = ptr.String(jtv) } - case "NetworkPacketsInPerSecond": if value != nil { jtv, ok := value.(string) @@ -9589,7 +9339,6 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkPacketsInPerSecond = ptr.String(jtv) } - case "NetworkPacketsOutPerSecond": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9347,6 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkPacketsOutPerSecond = ptr.String(jtv) } - default: _, _ = key, value @@ -9674,7 +9422,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.CurrentGeneration = jtv } - case "DatabaseEdition": if value != nil { jtv, ok := value.(string) @@ -9683,7 +9430,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DatabaseEdition = ptr.String(jtv) } - case "DatabaseEngine": if value != nil { jtv, ok := value.(string) @@ -9692,7 +9438,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DatabaseEngine = ptr.String(jtv) } - case "DeploymentOption": if value != nil { jtv, ok := value.(string) @@ -9701,7 +9446,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DeploymentOption = ptr.String(jtv) } - case "Family": if value != nil { jtv, ok := value.(string) @@ -9710,7 +9454,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.Family = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9719,7 +9462,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.InstanceType = ptr.String(jtv) } - case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -9728,7 +9470,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.LicenseModel = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -9737,7 +9478,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -9746,7 +9486,6 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.SizeFlexEligible = jtv } - default: _, _ = key, value @@ -9786,7 +9525,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.AccountId = ptr.String(jtv) } - case "AccountScope": if value != nil { jtv, ok := value.(string) @@ -9795,7 +9533,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.AccountScope = types.AccountScope(jtv) } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -9804,7 +9541,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrencyCode = ptr.String(jtv) } - case "CurrentAverageCoverage": if value != nil { jtv, ok := value.(string) @@ -9813,7 +9549,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentAverageCoverage = ptr.String(jtv) } - case "CurrentAverageHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9822,7 +9557,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentAverageHourlyOnDemandSpend = ptr.String(jtv) } - case "CurrentMaximumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9831,7 +9565,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentMaximumHourlyOnDemandSpend = ptr.String(jtv) } - case "CurrentMinimumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9840,7 +9573,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentMinimumHourlyOnDemandSpend = ptr.String(jtv) } - case "EstimatedAverageCoverage": if value != nil { jtv, ok := value.(string) @@ -9849,7 +9581,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedAverageCoverage = ptr.String(jtv) } - case "EstimatedAverageUtilization": if value != nil { jtv, ok := value.(string) @@ -9858,7 +9589,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedAverageUtilization = ptr.String(jtv) } - case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -9867,7 +9597,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } - case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -9876,7 +9605,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedOnDemandCost = ptr.String(jtv) } - case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -9885,7 +9613,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } - case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -9894,7 +9621,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedROI = ptr.String(jtv) } - case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -9903,7 +9629,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSavingsAmount = ptr.String(jtv) } - case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -9912,7 +9637,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSavingsPercentage = ptr.String(jtv) } - case "EstimatedSPCost": if value != nil { jtv, ok := value.(string) @@ -9921,7 +9645,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSPCost = ptr.String(jtv) } - case "ExistingHourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -9930,7 +9653,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.ExistingHourlyCommitment = ptr.String(jtv) } - case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9939,7 +9661,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.GenerationTimestamp = ptr.String(jtv) } - case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -9948,7 +9669,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } - case "InstanceFamily": if value != nil { jtv, ok := value.(string) @@ -9957,7 +9677,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.InstanceFamily = ptr.String(jtv) } - case "LatestUsageTimestamp": if value != nil { jtv, ok := value.(string) @@ -9966,7 +9685,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.LatestUsageTimestamp = ptr.String(jtv) } - case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -9975,12 +9693,10 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } - case "MetricsOverLookbackPeriod": if err := awsAwsjson11_deserializeDocumentMetricsOverLookbackPeriod(&sv.MetricsOverLookbackPeriod, value); err != nil { return err } - case "OfferingId": if value != nil { jtv, ok := value.(string) @@ -9989,7 +9705,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.OfferingId = ptr.String(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -9998,7 +9713,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.PaymentOption = types.PaymentOption(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -10007,7 +9721,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.Region = ptr.String(jtv) } - case "SavingsPlansType": if value != nil { jtv, ok := value.(string) @@ -10016,7 +9729,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.SavingsPlansType = types.SupportedSavingsPlansType(jtv) } - case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -10025,7 +9737,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.TermInYears = types.TermInYears(jtv) } - case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9745,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -10074,7 +9784,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.CurrentCoverage = ptr.String(jtv) } - case "EstimatedCoverage": if value != nil { jtv, ok := value.(string) @@ -10083,7 +9792,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedCoverage = ptr.String(jtv) } - case "EstimatedNewCommitmentUtilization": if value != nil { jtv, ok := value.(string) @@ -10092,7 +9800,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedNewCommitmentUtilization = ptr.String(jtv) } - case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -10101,7 +9808,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedOnDemandCost = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -10110,7 +9816,6 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -10150,7 +9855,6 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.CurrentGeneration = jtv } - case "Family": if value != nil { jtv, ok := value.(string) @@ -10159,7 +9863,6 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.Family = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -10168,7 +9871,6 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.NodeType = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -10177,7 +9879,6 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.Region = ptr.String(jtv) } - case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -10186,7 +9887,6 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.SizeFlexEligible = jtv } - default: _, _ = key, value @@ -10216,15 +9916,9 @@ func awsAwsjson11_deserializeDocumentRequestChangedException(v **types.RequestCh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10232,15 +9926,11 @@ func awsAwsjson11_deserializeDocumentRequestChangedException(v **types.RequestCh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10275,7 +9965,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.AmortizedRecurringFee = ptr.String(jtv) } - case "AmortizedUpfrontFee": if value != nil { jtv, ok := value.(string) @@ -10284,7 +9973,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.AmortizedUpfrontFee = ptr.String(jtv) } - case "NetRISavings": if value != nil { jtv, ok := value.(string) @@ -10293,7 +9981,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.NetRISavings = ptr.String(jtv) } - case "OnDemandCostOfRIHoursUsed": if value != nil { jtv, ok := value.(string) @@ -10302,7 +9989,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.OnDemandCostOfRIHoursUsed = ptr.String(jtv) } - case "PurchasedHours": if value != nil { jtv, ok := value.(string) @@ -10311,7 +9997,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.PurchasedHours = ptr.String(jtv) } - case "PurchasedUnits": if value != nil { jtv, ok := value.(string) @@ -10320,7 +10005,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.PurchasedUnits = ptr.String(jtv) } - case "RealizedSavings": if value != nil { jtv, ok := value.(string) @@ -10329,7 +10013,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.RealizedSavings = ptr.String(jtv) } - case "RICostForUnusedHours": if value != nil { jtv, ok := value.(string) @@ -10338,7 +10021,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.RICostForUnusedHours = ptr.String(jtv) } - case "TotalActualHours": if value != nil { jtv, ok := value.(string) @@ -10347,7 +10029,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalActualHours = ptr.String(jtv) } - case "TotalActualUnits": if value != nil { jtv, ok := value.(string) @@ -10356,7 +10037,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalActualUnits = ptr.String(jtv) } - case "TotalAmortizedFee": if value != nil { jtv, ok := value.(string) @@ -10365,7 +10045,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalAmortizedFee = ptr.String(jtv) } - case "TotalPotentialRISavings": if value != nil { jtv, ok := value.(string) @@ -10374,7 +10053,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalPotentialRISavings = ptr.String(jtv) } - case "UnrealizedSavings": if value != nil { jtv, ok := value.(string) @@ -10383,7 +10061,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnrealizedSavings = ptr.String(jtv) } - case "UnusedHours": if value != nil { jtv, ok := value.(string) @@ -10392,7 +10069,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnusedHours = ptr.String(jtv) } - case "UnusedUnits": if value != nil { jtv, ok := value.(string) @@ -10401,7 +10077,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnusedUnits = ptr.String(jtv) } - case "UtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -10410,7 +10085,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UtilizationPercentage = ptr.String(jtv) } - case "UtilizationPercentageInUnits": if value != nil { jtv, ok := value.(string) @@ -10419,7 +10093,6 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UtilizationPercentageInUnits = ptr.String(jtv) } - default: _, _ = key, value @@ -10455,12 +10128,10 @@ func awsAwsjson11_deserializeDocumentReservationCoverageGroup(v **types.Reservat if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Coverage": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Coverage, value); err != nil { return err } - default: _, _ = key, value @@ -10534,7 +10205,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.AccountScope = types.AccountScope(jtv) } - case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -10543,7 +10213,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -10552,22 +10221,18 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.PaymentOption = types.PaymentOption(jtv) } - case "RecommendationDetails": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetails(&sv.RecommendationDetails, value); err != nil { return err } - case "RecommendationSummary": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(&sv.RecommendationSummary, value); err != nil { return err } - case "ServiceSpecification": if err := awsAwsjson11_deserializeDocumentServiceSpecification(&sv.ServiceSpecification, value); err != nil { return err } - case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -10576,7 +10241,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.TermInYears = types.TermInYears(jtv) } - default: _, _ = key, value @@ -10616,7 +10280,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AccountId = ptr.String(jtv) } - case "AverageNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10625,7 +10288,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNormalizedUnitsUsedPerHour = ptr.String(jtv) } - case "AverageNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10634,7 +10296,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } - case "AverageNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10643,7 +10304,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNumberOfInstancesUsedPerHour = ptr.String(jtv) } - case "AverageUtilization": if value != nil { jtv, ok := value.(string) @@ -10652,7 +10312,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageUtilization = ptr.String(jtv) } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -10661,7 +10320,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.CurrencyCode = ptr.String(jtv) } - case "EstimatedBreakEvenInMonths": if value != nil { jtv, ok := value.(string) @@ -10670,7 +10328,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedBreakEvenInMonths = ptr.String(jtv) } - case "EstimatedMonthlyOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -10679,7 +10336,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlyOnDemandCost = ptr.String(jtv) } - case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -10688,7 +10344,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } - case "EstimatedMonthlySavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -10697,7 +10352,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlySavingsPercentage = ptr.String(jtv) } - case "EstimatedReservationCostForLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -10706,12 +10360,10 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedReservationCostForLookbackPeriod = ptr.String(jtv) } - case "InstanceDetails": if err := awsAwsjson11_deserializeDocumentInstanceDetails(&sv.InstanceDetails, value); err != nil { return err } - case "MaximumNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10720,7 +10372,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNormalizedUnitsUsedPerHour = ptr.String(jtv) } - case "MaximumNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10729,7 +10380,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } - case "MaximumNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10738,7 +10388,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNumberOfInstancesUsedPerHour = ptr.String(jtv) } - case "MinimumNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10747,7 +10396,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNormalizedUnitsUsedPerHour = ptr.String(jtv) } - case "MinimumNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10756,7 +10404,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } - case "MinimumNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10765,7 +10412,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNumberOfInstancesUsedPerHour = ptr.String(jtv) } - case "RecommendedNormalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -10774,7 +10420,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNormalizedUnitsToPurchase = ptr.String(jtv) } - case "RecommendedNumberOfCapacityUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -10783,7 +10428,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNumberOfCapacityUnitsToPurchase = ptr.String(jtv) } - case "RecommendedNumberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -10792,7 +10436,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNumberOfInstancesToPurchase = ptr.String(jtv) } - case "RecurringStandardMonthlyCost": if value != nil { jtv, ok := value.(string) @@ -10801,12 +10444,10 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecurringStandardMonthlyCost = ptr.String(jtv) } - case "ReservedCapacityDetails": if err := awsAwsjson11_deserializeDocumentReservedCapacityDetails(&sv.ReservedCapacityDetails, value); err != nil { return err } - case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -10815,7 +10456,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -10889,7 +10529,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.AdditionalMetadata = ptr.String(jtv) } - case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -10898,7 +10537,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.GenerationTimestamp = ptr.String(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -10907,7 +10545,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -10981,7 +10618,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.CurrencyCode = ptr.String(jtv) } - case "TotalEstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10626,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.TotalEstimatedMonthlySavingsAmount = ptr.String(jtv) } - case "TotalEstimatedMonthlySavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -10999,7 +10634,6 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.TotalEstimatedMonthlySavingsPercentage = ptr.String(jtv) } - default: _, _ = key, value @@ -11035,7 +10669,6 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11044,12 +10677,10 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser } sv.Key = ptr.String(jtv) } - case "Utilization": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Utilization, value); err != nil { return err } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11058,7 +10689,6 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11128,7 +10758,6 @@ func awsAwsjson11_deserializeDocumentReservedCapacityDetails(v **types.ReservedC if err := awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(&sv.DynamoDBCapacityDetails, value); err != nil { return err } - default: _, _ = key, value @@ -11164,7 +10793,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentEC2ResourceDetails(&sv.EC2ResourceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -11194,15 +10822,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11210,7 +10832,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -11219,15 +10840,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11262,7 +10879,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11271,7 +10887,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11341,7 +10956,6 @@ func awsAwsjson11_deserializeDocumentResourceUtilization(v **types.ResourceUtili if err := awsAwsjson11_deserializeDocumentEC2ResourceUtilization(&sv.EC2ResourceUtilization, value); err != nil { return err } - default: _, _ = key, value @@ -11381,22 +10995,18 @@ func awsAwsjson11_deserializeDocumentResultByTime(v **types.ResultByTime, value } sv.Estimated = jtv } - case "Groups": if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -11470,22 +11080,18 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendation(v **types.Rightsi } sv.AccountId = ptr.String(jtv) } - case "CurrentInstance": if err := awsAwsjson11_deserializeDocumentCurrentInstance(&sv.CurrentInstance, value); err != nil { return err } - case "FindingReasonCodes": if err := awsAwsjson11_deserializeDocumentFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } - case "ModifyRecommendationDetail": if err := awsAwsjson11_deserializeDocumentModifyRecommendationDetail(&sv.ModifyRecommendationDetail, value); err != nil { return err } - case "RightsizingType": if value != nil { jtv, ok := value.(string) @@ -11494,12 +11100,10 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendation(v **types.Rightsi } sv.RightsizingType = types.RightsizingType(jtv) } - case "TerminateRecommendationDetail": if err := awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(&sv.TerminateRecommendationDetail, value); err != nil { return err } - default: _, _ = key, value @@ -11539,7 +11143,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(v ** } sv.BenefitsConsidered = jtv } - case "RecommendationTarget": if value != nil { jtv, ok := value.(string) @@ -11548,7 +11151,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(v ** } sv.RecommendationTarget = types.RecommendationTarget(jtv) } - default: _, _ = key, value @@ -11622,7 +11224,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.AdditionalMetadata = ptr.String(jtv) } - case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -11631,7 +11232,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.GenerationTimestamp = ptr.String(jtv) } - case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -11640,7 +11240,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -11649,7 +11248,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -11689,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.EstimatedTotalMonthlySavingsAmount = ptr.String(jtv) } - case "SavingsCurrencyCode": if value != nil { jtv, ok := value.(string) @@ -11698,7 +11295,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.SavingsCurrencyCode = ptr.String(jtv) } - case "SavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -11707,7 +11303,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.SavingsPercentage = ptr.String(jtv) } - case "TotalRecommendationCount": if value != nil { jtv, ok := value.(string) @@ -11716,7 +11311,6 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.TotalRecommendationCount = ptr.String(jtv) } - default: _, _ = key, value @@ -11756,7 +11350,6 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.LinkedAccount = ptr.String(jtv) } - case "LinkedAccountName": if value != nil { jtv, ok := value.(string) @@ -11765,7 +11358,6 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.LinkedAccountName = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -11774,7 +11366,6 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.Region = ptr.String(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -11783,7 +11374,6 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.Service = ptr.String(jtv) } - case "UsageType": if value != nil { jtv, ok := value.(string) @@ -11792,7 +11382,6 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -11866,7 +11455,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.AmortizedRecurringCommitment = ptr.String(jtv) } - case "AmortizedUpfrontCommitment": if value != nil { jtv, ok := value.(string) @@ -11875,7 +11463,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.AmortizedUpfrontCommitment = ptr.String(jtv) } - case "TotalAmortizedCommitment": if value != nil { jtv, ok := value.(string) @@ -11884,7 +11471,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.TotalAmortizedCommitment = ptr.String(jtv) } - default: _, _ = key, value @@ -11920,17 +11506,14 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverage(v **types.SavingsPlans if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Coverage": if err := awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(&sv.Coverage, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - default: _, _ = key, value @@ -11970,7 +11553,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.CoveragePercentage = ptr.String(jtv) } - case "OnDemandCost": if value != nil { jtv, ok := value.(string) @@ -11979,7 +11561,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.OnDemandCost = ptr.String(jtv) } - case "SpendCoveredBySavingsPlans": if value != nil { jtv, ok := value.(string) @@ -11988,7 +11569,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.SpendCoveredBySavingsPlans = ptr.String(jtv) } - case "TotalCost": if value != nil { jtv, ok := value.(string) @@ -11997,7 +11577,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.TotalCost = ptr.String(jtv) } - default: _, _ = key, value @@ -12071,7 +11650,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.InstanceFamily = ptr.String(jtv) } - case "OfferingId": if value != nil { jtv, ok := value.(string) @@ -12080,7 +11658,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.OfferingId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -12089,7 +11666,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -12129,7 +11705,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.AccountScope = types.AccountScope(jtv) } - case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -12138,7 +11713,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -12147,17 +11721,14 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.PaymentOption = types.PaymentOption(jtv) } - case "SavingsPlansPurchaseRecommendationDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetailList(&sv.SavingsPlansPurchaseRecommendationDetails, value); err != nil { return err } - case "SavingsPlansPurchaseRecommendationSummary": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(&sv.SavingsPlansPurchaseRecommendationSummary, value); err != nil { return err } - case "SavingsPlansType": if value != nil { jtv, ok := value.(string) @@ -12166,7 +11737,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.SavingsPlansType = types.SupportedSavingsPlansType(jtv) } - case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -12175,7 +11745,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.TermInYears = types.TermInYears(jtv) } - default: _, _ = key, value @@ -12215,7 +11784,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.AccountId = ptr.String(jtv) } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -12224,7 +11792,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrencyCode = ptr.String(jtv) } - case "CurrentAverageHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -12233,7 +11800,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentAverageHourlyOnDemandSpend = ptr.String(jtv) } - case "CurrentMaximumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -12242,7 +11808,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentMaximumHourlyOnDemandSpend = ptr.String(jtv) } - case "CurrentMinimumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -12251,7 +11816,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentMinimumHourlyOnDemandSpend = ptr.String(jtv) } - case "EstimatedAverageUtilization": if value != nil { jtv, ok := value.(string) @@ -12260,7 +11824,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedAverageUtilization = ptr.String(jtv) } - case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12269,7 +11832,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } - case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -12278,7 +11840,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedOnDemandCost = ptr.String(jtv) } - case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -12287,7 +11848,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } - case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -12296,7 +11856,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedROI = ptr.String(jtv) } - case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12305,7 +11864,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSavingsAmount = ptr.String(jtv) } - case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -12314,7 +11872,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSavingsPercentage = ptr.String(jtv) } - case "EstimatedSPCost": if value != nil { jtv, ok := value.(string) @@ -12323,7 +11880,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSPCost = ptr.String(jtv) } - case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -12332,7 +11888,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } - case "RecommendationDetailId": if value != nil { jtv, ok := value.(string) @@ -12341,12 +11896,10 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.RecommendationDetailId = ptr.String(jtv) } - case "SavingsPlansDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansDetails(&sv.SavingsPlansDetails, value); err != nil { return err } - case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -12355,7 +11908,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -12429,7 +11981,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.AdditionalMetadata = ptr.String(jtv) } - case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -12438,7 +11989,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.GenerationTimestamp = ptr.String(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -12447,7 +11997,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -12487,7 +12036,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.CurrencyCode = ptr.String(jtv) } - case "CurrentOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -12496,7 +12044,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.CurrentOnDemandSpend = ptr.String(jtv) } - case "DailyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -12505,7 +12052,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.DailyCommitmentToPurchase = ptr.String(jtv) } - case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12514,7 +12060,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } - case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -12523,7 +12068,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } - case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -12532,7 +12076,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedROI = ptr.String(jtv) } - case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12541,7 +12084,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedSavingsAmount = ptr.String(jtv) } - case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -12550,7 +12092,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedSavingsPercentage = ptr.String(jtv) } - case "EstimatedTotalCost": if value != nil { jtv, ok := value.(string) @@ -12559,7 +12100,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedTotalCost = ptr.String(jtv) } - case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -12568,7 +12108,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } - case "TotalRecommendationCount": if value != nil { jtv, ok := value.(string) @@ -12577,7 +12116,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.TotalRecommendationCount = ptr.String(jtv) } - default: _, _ = key, value @@ -12617,7 +12155,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansSavings(v **types.SavingsPlansS } sv.NetSavings = ptr.String(jtv) } - case "OnDemandCostEquivalent": if value != nil { jtv, ok := value.(string) @@ -12626,7 +12163,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansSavings(v **types.SavingsPlansS } sv.OnDemandCostEquivalent = ptr.String(jtv) } - default: _, _ = key, value @@ -12666,7 +12202,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.TotalCommitment = ptr.String(jtv) } - case "UnusedCommitment": if value != nil { jtv, ok := value.(string) @@ -12675,7 +12210,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UnusedCommitment = ptr.String(jtv) } - case "UsedCommitment": if value != nil { jtv, ok := value.(string) @@ -12684,7 +12218,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UsedCommitment = ptr.String(jtv) } - case "UtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -12693,7 +12226,6 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UtilizationPercentage = ptr.String(jtv) } - default: _, _ = key, value @@ -12729,17 +12261,14 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(v **types if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } - case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } - case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } - default: _, _ = key, value @@ -12775,22 +12304,18 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationByTime(v **types.Sav if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } - case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } - default: _, _ = key, value @@ -12826,17 +12351,14 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetail(v **types.Sav if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } - case "Attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } - case "SavingsPlanArn": if value != nil { jtv, ok := value.(string) @@ -12845,12 +12367,10 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetail(v **types.Sav } sv.SavingsPlanArn = ptr.String(jtv) } - case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } - default: _, _ = key, value @@ -12948,15 +12468,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12964,15 +12478,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13003,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentServiceSpecification(v **types.ServiceSpeci if err := awsAwsjson11_deserializeDocumentEC2Specification(&sv.EC2Specification, value); err != nil { return err } - default: _, _ = key, value @@ -13043,7 +12552,6 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Address = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13052,7 +12560,6 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Status = types.SubscriberStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13061,7 +12568,6 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Type = types.SubscriberType(jtv) } - default: _, _ = key, value @@ -13171,17 +12677,14 @@ func awsAwsjson11_deserializeDocumentTagValues(v **types.TagValues, value interf } sv.Key = ptr.String(jtv) } - case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -13255,7 +12758,6 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.CurrencyCode = ptr.String(jtv) } - case "DefaultTargetInstance": if value != nil { jtv, ok := value.(bool) @@ -13264,7 +12766,6 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.DefaultTargetInstance = jtv } - case "EstimatedMonthlyCost": if value != nil { jtv, ok := value.(string) @@ -13273,7 +12774,6 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.EstimatedMonthlyCost = ptr.String(jtv) } - case "EstimatedMonthlySavings": if value != nil { jtv, ok := value.(string) @@ -13282,22 +12782,18 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.EstimatedMonthlySavings = ptr.String(jtv) } - case "ExpectedResourceUtilization": if err := awsAwsjson11_deserializeDocumentResourceUtilization(&sv.ExpectedResourceUtilization, value); err != nil { return err } - case "PlatformDifferences": if err := awsAwsjson11_deserializeDocumentPlatformDifferences(&sv.PlatformDifferences, value); err != nil { return err } - case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -13371,7 +12867,6 @@ func awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(v **types.Ter } sv.CurrencyCode = ptr.String(jtv) } - case "EstimatedMonthlySavings": if value != nil { jtv, ok := value.(string) @@ -13380,7 +12875,6 @@ func awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(v **types.Ter } sv.EstimatedMonthlySavings = ptr.String(jtv) } - default: _, _ = key, value @@ -13410,15 +12904,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13426,7 +12914,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -13435,15 +12922,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13468,15 +12951,9 @@ func awsAwsjson11_deserializeDocumentUnknownMonitorException(v **types.UnknownMo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13484,15 +12961,11 @@ func awsAwsjson11_deserializeDocumentUnknownMonitorException(v **types.UnknownMo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13517,15 +12990,9 @@ func awsAwsjson11_deserializeDocumentUnknownSubscriptionException(v **types.Unkn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13533,15 +13000,11 @@ func awsAwsjson11_deserializeDocumentUnknownSubscriptionException(v **types.Unkn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13566,15 +13029,9 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13582,15 +13039,11 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13625,7 +13078,6 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13634,7 +13086,6 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.Message = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -13643,7 +13094,6 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.TagKey = ptr.String(jtv) } - default: _, _ = key, value @@ -13713,17 +13163,14 @@ func awsAwsjson11_deserializeDocumentUtilizationByTime(v **types.UtilizationByTi if err := awsAwsjson11_deserializeDocumentReservationUtilizationGroups(&sv.Groups, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -13833,7 +13280,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAnomalyMonitorOutput(v **CreateAnom } sv.MonitorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13873,7 +13319,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAnomalySubscriptionOutput(v **Creat } sv.SubscriptionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13913,7 +13358,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCostCategoryDefinitionOutput(v **Cr } sv.CostCategoryArn = ptr.String(jtv) } - case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -13922,7 +13366,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCostCategoryDefinitionOutput(v **Cr } sv.EffectiveStart = ptr.String(jtv) } - default: _, _ = key, value @@ -14024,7 +13467,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCostCategoryDefinitionOutput(v **De } sv.CostCategoryArn = ptr.String(jtv) } - case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -14033,7 +13475,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCostCategoryDefinitionOutput(v **De } sv.EffectiveEnd = ptr.String(jtv) } - default: _, _ = key, value @@ -14069,7 +13510,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCostCategoryDefinitionOutput(v ** if err := awsAwsjson11_deserializeDocumentCostCategory(&sv.CostCategory, value); err != nil { return err } - default: _, _ = key, value @@ -14105,7 +13545,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomaliesOutput(v **GetAnomaliesOutput if err := awsAwsjson11_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14114,7 +13553,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomaliesOutput(v **GetAnomaliesOutput } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14150,7 +13588,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalyMonitorsOutput(v **GetAnomalyMo if err := awsAwsjson11_deserializeDocumentAnomalyMonitors(&sv.AnomalyMonitors, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14159,7 +13596,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalyMonitorsOutput(v **GetAnomalyMo } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14195,7 +13631,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalySubscriptionsOutput(v **GetAnom if err := awsAwsjson11_deserializeDocumentAnomalySubscriptions(&sv.AnomalySubscriptions, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14204,7 +13639,6 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalySubscriptionsOutput(v **GetAnom } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14240,12 +13674,10 @@ func awsAwsjson11_deserializeOpDocumentGetApproximateUsageRecordsOutput(v **GetA if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.LookbackPeriod, value); err != nil { return err } - case "Services": if err := awsAwsjson11_deserializeDocumentApproximateUsageRecordsPerService(&sv.Services, value); err != nil { return err } - case "TotalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -14258,7 +13690,6 @@ func awsAwsjson11_deserializeOpDocumentGetApproximateUsageRecordsOutput(v **GetA } sv.TotalRecords = i64 } - default: _, _ = key, value @@ -14294,12 +13725,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageOutput(v **GetCostAndUsage if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValueAttributes, value); err != nil { return err } - case "GroupDefinitions": if err := awsAwsjson11_deserializeDocumentGroupDefinitions(&sv.GroupDefinitions, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14308,12 +13737,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageOutput(v **GetCostAndUsage } sv.NextPageToken = ptr.String(jtv) } - case "ResultsByTime": if err := awsAwsjson11_deserializeDocumentResultsByTime(&sv.ResultsByTime, value); err != nil { return err } - default: _, _ = key, value @@ -14349,12 +13776,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageWithResourcesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValueAttributes, value); err != nil { return err } - case "GroupDefinitions": if err := awsAwsjson11_deserializeDocumentGroupDefinitions(&sv.GroupDefinitions, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14363,12 +13788,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageWithResourcesOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } - case "ResultsByTime": if err := awsAwsjson11_deserializeDocumentResultsByTime(&sv.ResultsByTime, value); err != nil { return err } - default: _, _ = key, value @@ -14404,12 +13827,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego if err := awsAwsjson11_deserializeDocumentCostCategoryNamesList(&sv.CostCategoryNames, value); err != nil { return err } - case "CostCategoryValues": if err := awsAwsjson11_deserializeDocumentCostCategoryValuesList(&sv.CostCategoryValues, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14418,7 +13839,6 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.NextPageToken = ptr.String(jtv) } - case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -14431,7 +13851,6 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.ReturnSize = ptr.Int32(int32(i64)) } - case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -14444,7 +13863,6 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.TotalSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14480,12 +13898,10 @@ func awsAwsjson11_deserializeOpDocumentGetCostForecastOutput(v **GetCostForecast if err := awsAwsjson11_deserializeDocumentForecastResultsByTime(&sv.ForecastResultsByTime, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentMetricValue(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -14521,7 +13937,6 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValues, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14530,7 +13945,6 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.NextPageToken = ptr.String(jtv) } - case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -14543,7 +13957,6 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.ReturnSize = ptr.Int32(int32(i64)) } - case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -14556,7 +13969,6 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.TotalSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14592,7 +14004,6 @@ func awsAwsjson11_deserializeOpDocumentGetReservationCoverageOutput(v **GetReser if err := awsAwsjson11_deserializeDocumentCoveragesByTime(&sv.CoveragesByTime, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14601,12 +14012,10 @@ func awsAwsjson11_deserializeOpDocumentGetReservationCoverageOutput(v **GetReser } sv.NextPageToken = ptr.String(jtv) } - case "Total": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -14642,7 +14051,6 @@ func awsAwsjson11_deserializeOpDocumentGetReservationPurchaseRecommendationOutpu if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(&sv.Metadata, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14651,12 +14059,10 @@ func awsAwsjson11_deserializeOpDocumentGetReservationPurchaseRecommendationOutpu } sv.NextPageToken = ptr.String(jtv) } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendations(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -14696,17 +14102,14 @@ func awsAwsjson11_deserializeOpDocumentGetReservationUtilizationOutput(v **GetRe } sv.NextPageToken = ptr.String(jtv) } - case "Total": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Total, value); err != nil { return err } - case "UtilizationsByTime": if err := awsAwsjson11_deserializeDocumentUtilizationsByTime(&sv.UtilizationsByTime, value); err != nil { return err } - default: _, _ = key, value @@ -14742,12 +14145,10 @@ func awsAwsjson11_deserializeOpDocumentGetRightsizingRecommendationOutput(v **Ge if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(&sv.Configuration, value); err != nil { return err } - case "Metadata": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(&sv.Metadata, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14756,17 +14157,14 @@ func awsAwsjson11_deserializeOpDocumentGetRightsizingRecommendationOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } - case "RightsizingRecommendations": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationList(&sv.RightsizingRecommendations, value); err != nil { return err } - case "Summary": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -14802,7 +14200,6 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlanPurchaseRecommendationDetai if err := awsAwsjson11_deserializeDocumentRecommendationDetailData(&sv.RecommendationDetailData, value); err != nil { return err } - case "RecommendationDetailId": if value != nil { jtv, ok := value.(string) @@ -14811,7 +14208,6 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlanPurchaseRecommendationDetai } sv.RecommendationDetailId = ptr.String(jtv) } - default: _, _ = key, value @@ -14851,12 +14247,10 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansCoverageOutput(v **GetSavi } sv.NextToken = ptr.String(jtv) } - case "SavingsPlansCoverages": if err := awsAwsjson11_deserializeDocumentSavingsPlansCoverages(&sv.SavingsPlansCoverages, value); err != nil { return err } - default: _, _ = key, value @@ -14892,7 +14286,6 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansPurchaseRecommendationOutp if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata(&sv.Metadata, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14901,12 +14294,10 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansPurchaseRecommendationOutp } sv.NextPageToken = ptr.String(jtv) } - case "SavingsPlansPurchaseRecommendation": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(&sv.SavingsPlansPurchaseRecommendation, value); err != nil { return err } - default: _, _ = key, value @@ -14946,22 +14337,18 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansUtilizationDetailsOutput(v } sv.NextToken = ptr.String(jtv) } - case "SavingsPlansUtilizationDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetails(&sv.SavingsPlansUtilizationDetails, value); err != nil { return err } - case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -14997,12 +14384,10 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansUtilizationOutput(v **GetS if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationsByTime(&sv.SavingsPlansUtilizationsByTime, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -15042,7 +14427,6 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.NextPageToken = ptr.String(jtv) } - case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -15055,12 +14439,10 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.ReturnSize = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -15073,7 +14455,6 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.TotalSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15109,12 +14490,10 @@ func awsAwsjson11_deserializeOpDocumentGetUsageForecastOutput(v **GetUsageForeca if err := awsAwsjson11_deserializeDocumentForecastResultsByTime(&sv.ForecastResultsByTime, value); err != nil { return err } - case "Total": if err := awsAwsjson11_deserializeDocumentMetricValue(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -15150,7 +14529,6 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagBackfillHistoryOutpu if err := awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequestList(&sv.BackfillRequests, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15159,7 +14537,6 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagBackfillHistoryOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15195,7 +14572,6 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(v **ListCost if err := awsAwsjson11_deserializeDocumentCostAllocationTagList(&sv.CostAllocationTags, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15204,7 +14580,6 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(v **ListCost } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15240,7 +14615,6 @@ func awsAwsjson11_deserializeOpDocumentListCostCategoryDefinitionsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentCostCategoryReferencesList(&sv.CostCategoryReferences, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15249,7 +14623,6 @@ func awsAwsjson11_deserializeOpDocumentListCostCategoryDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15285,7 +14658,6 @@ func awsAwsjson11_deserializeOpDocumentListSavingsPlansPurchaseRecommendationGen if err := awsAwsjson11_deserializeDocumentGenerationSummaryList(&sv.GenerationSummaryList, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -15294,7 +14666,6 @@ func awsAwsjson11_deserializeOpDocumentListSavingsPlansPurchaseRecommendationGen } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15330,7 +14701,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -15370,7 +14740,6 @@ func awsAwsjson11_deserializeOpDocumentProvideAnomalyFeedbackOutput(v **ProvideA } sv.AnomalyId = ptr.String(jtv) } - default: _, _ = key, value @@ -15406,7 +14775,6 @@ func awsAwsjson11_deserializeOpDocumentStartCostAllocationTagBackfillOutput(v ** if err := awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(&sv.BackfillRequest, value); err != nil { return err } - default: _, _ = key, value @@ -15446,7 +14814,6 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.EstimatedCompletionTime = ptr.String(jtv) } - case "GenerationStartedTime": if value != nil { jtv, ok := value.(string) @@ -15455,7 +14822,6 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.GenerationStartedTime = ptr.String(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -15464,7 +14830,6 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -15566,7 +14931,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAnomalyMonitorOutput(v **UpdateAnom } sv.MonitorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15606,7 +14970,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAnomalySubscriptionOutput(v **Updat } sv.SubscriptionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15642,7 +15005,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostAllocationTagsStatusOutput(v ** if err := awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -15682,7 +15044,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostCategoryDefinitionOutput(v **Up } sv.CostCategoryArn = ptr.String(jtv) } - case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -15691,7 +15052,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostCategoryDefinitionOutput(v **Up } sv.EffectiveStart = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/costoptimizationhub/deserializers.go b/service/costoptimizationhub/deserializers.go index 37000420ef5..d55550301b1 100644 --- a/service/costoptimizationhub/deserializers.go +++ b/service/costoptimizationhub/deserializers.go @@ -1068,15 +1068,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1084,15 +1078,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1127,7 +1117,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.AccountId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1143,7 +1132,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } - case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1159,7 +1147,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1168,7 +1155,6 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.Status = types.EnrollmentStatus(jtv) } - default: _, _ = key, value @@ -1267,7 +1253,6 @@ func awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(v **ty } } - case "throughput": if value != nil { switch jtv := value.(type) { @@ -1301,7 +1286,6 @@ func awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(v **ty } } - default: _, _ = key, value @@ -1341,7 +1325,6 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.Architecture = ptr.String(jtv) } - case "memorySizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -1354,7 +1337,6 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.MemorySizeInMB = ptr.Int32(int32(i64)) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -1363,7 +1345,6 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.Platform = ptr.String(jtv) } - case "vCpu": if value != nil { switch jtv := value.(type) { @@ -1397,7 +1378,6 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } } - default: _, _ = key, value @@ -1433,12 +1413,10 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlans(v **types.ComputeSaving if err := awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1478,7 +1456,6 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.AccountScope = ptr.String(jtv) } - case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -1487,7 +1464,6 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.HourlyCommitment = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1496,7 +1472,6 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.PaymentOption = ptr.String(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -1505,7 +1480,6 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.Term = ptr.String(jtv) } - default: _, _ = key, value @@ -1545,7 +1519,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceConfiguration(v **types.DbInstanc } sv.DbInstanceClass = ptr.String(jtv) } - default: _, _ = key, value @@ -1581,12 +1554,10 @@ func awsAwsjson10_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf if err := awsAwsjson10_deserializeDocumentEbsVolumeConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1626,17 +1597,14 @@ func awsAwsjson10_deserializeDocumentEbsVolumeConfiguration(v **types.EbsVolumeC } sv.AttachmentState = ptr.String(jtv) } - case "performance": if err := awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(&sv.Performance, value); err != nil { return err } - case "storage": if err := awsAwsjson10_deserializeDocumentStorageConfiguration(&sv.Storage, value); err != nil { return err } - default: _, _ = key, value @@ -1672,12 +1640,10 @@ func awsAwsjson10_deserializeDocumentEc2AutoScalingGroup(v **types.Ec2AutoScalin if err := awsAwsjson10_deserializeDocumentEc2AutoScalingGroupConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1713,7 +1679,6 @@ func awsAwsjson10_deserializeDocumentEc2AutoScalingGroupConfiguration(v **types. if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -1749,12 +1714,10 @@ func awsAwsjson10_deserializeDocumentEc2Instance(v **types.Ec2Instance, value in if err := awsAwsjson10_deserializeDocumentEc2InstanceConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1790,7 +1753,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceConfiguration(v **types.Ec2Insta if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -1826,12 +1788,10 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlans(v **types.Ec2Instan if err := awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1871,7 +1831,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.AccountScope = ptr.String(jtv) } - case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -1880,7 +1839,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.HourlyCommitment = ptr.String(jtv) } - case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -1889,7 +1847,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.InstanceFamily = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1898,7 +1855,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.PaymentOption = ptr.String(jtv) } - case "savingsPlansRegion": if value != nil { jtv, ok := value.(string) @@ -1907,7 +1863,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.SavingsPlansRegion = ptr.String(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -1916,7 +1871,6 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.Term = ptr.String(jtv) } - default: _, _ = key, value @@ -1952,12 +1906,10 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstances(v **types.Ec2ReservedI if err := awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -1997,7 +1949,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.AccountScope = ptr.String(jtv) } - case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -2006,7 +1957,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.CurrentGeneration = ptr.String(jtv) } - case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -2015,7 +1965,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.InstanceFamily = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2024,7 +1973,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.InstanceType = ptr.String(jtv) } - case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -2033,7 +1981,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.MonthlyRecurringCost = ptr.String(jtv) } - case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -2042,7 +1989,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } - case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -2051,7 +1997,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } - case "offeringClass": if value != nil { jtv, ok := value.(string) @@ -2060,7 +2005,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.OfferingClass = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2069,7 +2013,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.PaymentOption = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -2078,7 +2021,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Platform = ptr.String(jtv) } - case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2087,7 +2029,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.ReservedInstancesRegion = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -2096,7 +2037,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Service = ptr.String(jtv) } - case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2105,7 +2045,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.SizeFlexEligible = ptr.Bool(jtv) } - case "tenancy": if value != nil { jtv, ok := value.(string) @@ -2114,7 +2053,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Tenancy = ptr.String(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -2123,7 +2061,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Term = ptr.String(jtv) } - case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2132,7 +2069,6 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -2168,12 +2104,10 @@ func awsAwsjson10_deserializeDocumentEcsService(v **types.EcsService, value inte if err := awsAwsjson10_deserializeDocumentEcsServiceConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -2209,7 +2143,6 @@ func awsAwsjson10_deserializeDocumentEcsServiceConfiguration(v **types.EcsServic if err := awsAwsjson10_deserializeDocumentComputeConfiguration(&sv.Compute, value); err != nil { return err } - default: _, _ = key, value @@ -2245,12 +2178,10 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstances(v **types.Elas if err := awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -2290,7 +2221,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.AccountScope = ptr.String(jtv) } - case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -2299,7 +2229,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.CurrentGeneration = ptr.String(jtv) } - case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -2308,7 +2237,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.InstanceFamily = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2317,7 +2245,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.InstanceType = ptr.String(jtv) } - case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -2326,7 +2253,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.MonthlyRecurringCost = ptr.String(jtv) } - case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -2335,7 +2261,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } - case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -2344,7 +2269,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2353,7 +2277,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.PaymentOption = ptr.String(jtv) } - case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2362,7 +2285,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.ReservedInstancesRegion = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -2371,7 +2293,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.Service = ptr.String(jtv) } - case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2380,7 +2301,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.SizeFlexEligible = ptr.Bool(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -2389,7 +2309,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.Term = ptr.String(jtv) } - case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2398,7 +2317,6 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -2463,7 +2381,6 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } - case "reservedInstancesDiscount": if value != nil { switch jtv := value.(type) { @@ -2497,7 +2414,6 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } - case "savingsPlansDiscount": if value != nil { switch jtv := value.(type) { @@ -2531,7 +2447,6 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } - default: _, _ = key, value @@ -2571,7 +2486,6 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2601,15 +2515,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2617,15 +2525,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2656,12 +2560,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunction(v **types.LambdaFunction, va if err := awsAwsjson10_deserializeDocumentLambdaFunctionConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -2697,7 +2599,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionConfiguration(v **types.Lambd if err := awsAwsjson10_deserializeDocumentComputeConfiguration(&sv.Compute, value); err != nil { return err } - default: _, _ = key, value @@ -2733,12 +2634,10 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstances(v **types.OpenS if err := awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -2778,7 +2677,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.AccountScope = ptr.String(jtv) } - case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -2787,7 +2685,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.CurrentGeneration = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2796,7 +2693,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.InstanceType = ptr.String(jtv) } - case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -2805,7 +2701,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.MonthlyRecurringCost = ptr.String(jtv) } - case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -2814,7 +2709,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } - case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -2823,7 +2717,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2832,7 +2725,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.PaymentOption = ptr.String(jtv) } - case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2841,7 +2733,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.ReservedInstancesRegion = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -2850,7 +2741,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.Service = ptr.String(jtv) } - case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2859,7 +2749,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.SizeFlexEligible = ptr.Bool(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -2868,7 +2757,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.Term = ptr.String(jtv) } - case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2877,7 +2765,6 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -2913,12 +2800,10 @@ func awsAwsjson10_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu if err := awsAwsjson10_deserializeDocumentRdsDbInstanceConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -2954,7 +2839,6 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceConfiguration(v **types.RdsDbI if err := awsAwsjson10_deserializeDocumentDbInstanceConfiguration(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -2990,12 +2874,10 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorage(v **types.RdsDbInstanc if err := awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -3060,7 +2942,6 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } - case "iops": if value != nil { switch jtv := value.(type) { @@ -3094,7 +2975,6 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } - case "storageThroughput": if value != nil { switch jtv := value.(type) { @@ -3128,7 +3008,6 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -3137,7 +3016,6 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -3173,12 +3051,10 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstances(v **types.RdsReservedI if err := awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -3218,7 +3094,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.AccountScope = ptr.String(jtv) } - case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -3227,7 +3102,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.CurrentGeneration = ptr.String(jtv) } - case "databaseEdition": if value != nil { jtv, ok := value.(string) @@ -3236,7 +3110,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DatabaseEdition = ptr.String(jtv) } - case "databaseEngine": if value != nil { jtv, ok := value.(string) @@ -3245,7 +3118,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DatabaseEngine = ptr.String(jtv) } - case "deploymentOption": if value != nil { jtv, ok := value.(string) @@ -3254,7 +3126,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DeploymentOption = ptr.String(jtv) } - case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -3263,7 +3134,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.InstanceFamily = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3272,7 +3142,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.InstanceType = ptr.String(jtv) } - case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -3281,7 +3150,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.LicenseModel = ptr.String(jtv) } - case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -3290,7 +3158,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.MonthlyRecurringCost = ptr.String(jtv) } - case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -3299,7 +3166,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } - case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -3308,7 +3174,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -3317,7 +3182,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.PaymentOption = ptr.String(jtv) } - case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -3326,7 +3190,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.ReservedInstancesRegion = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -3335,7 +3198,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.Service = ptr.String(jtv) } - case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -3344,7 +3206,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.SizeFlexEligible = ptr.Bool(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -3353,7 +3214,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.Term = ptr.String(jtv) } - case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -3362,7 +3222,6 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -3402,7 +3261,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.AccountId = ptr.String(jtv) } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -3411,7 +3269,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ActionType = ptr.String(jtv) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -3420,7 +3277,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrencyCode = ptr.String(jtv) } - case "currentResourceSummary": if value != nil { jtv, ok := value.(string) @@ -3429,7 +3285,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrentResourceSummary = ptr.String(jtv) } - case "currentResourceType": if value != nil { jtv, ok := value.(string) @@ -3438,7 +3293,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrentResourceType = ptr.String(jtv) } - case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -3472,7 +3326,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "estimatedMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -3506,7 +3359,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "estimatedSavingsPercentage": if value != nil { switch jtv := value.(type) { @@ -3540,7 +3392,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "implementationEffort": if value != nil { jtv, ok := value.(string) @@ -3549,7 +3400,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ImplementationEffort = ptr.String(jtv) } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -3565,7 +3415,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -3574,7 +3423,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationId = ptr.String(jtv) } - case "recommendationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3587,7 +3435,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationLookbackPeriodInDays = ptr.Int32(int32(i64)) } - case "recommendedResourceSummary": if value != nil { jtv, ok := value.(string) @@ -3596,7 +3443,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendedResourceSummary = ptr.String(jtv) } - case "recommendedResourceType": if value != nil { jtv, ok := value.(string) @@ -3605,7 +3451,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendedResourceType = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -3614,7 +3459,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Region = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3623,7 +3467,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3632,7 +3475,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceId = ptr.String(jtv) } - case "restartNeeded": if value != nil { jtv, ok := value.(bool) @@ -3641,7 +3483,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RestartNeeded = ptr.Bool(jtv) } - case "rollbackPossible": if value != nil { jtv, ok := value.(bool) @@ -3650,7 +3491,6 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RollbackPossible = ptr.Bool(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -3659,12 +3499,10 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Source = types.Source(jtv) } - case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3797,7 +3635,6 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } } - case "group": if value != nil { jtv, ok := value.(string) @@ -3806,7 +3643,6 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Group = ptr.String(jtv) } - case "recommendationCount": if value != nil { jtv, ok := value.(json.Number) @@ -3819,7 +3655,6 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3855,12 +3690,10 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstances(v **types.Redshif if err := awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -3900,7 +3733,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.AccountScope = ptr.String(jtv) } - case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -3909,7 +3741,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.CurrentGeneration = ptr.String(jtv) } - case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -3918,7 +3749,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.InstanceFamily = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3927,7 +3757,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.InstanceType = ptr.String(jtv) } - case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -3936,7 +3765,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.MonthlyRecurringCost = ptr.String(jtv) } - case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -3945,7 +3773,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } - case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -3954,7 +3781,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -3963,7 +3789,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.PaymentOption = ptr.String(jtv) } - case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -3972,7 +3797,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.ReservedInstancesRegion = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -3981,7 +3805,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.Service = ptr.String(jtv) } - case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -3990,7 +3813,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.SizeFlexEligible = ptr.Bool(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -3999,7 +3821,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.Term = ptr.String(jtv) } - case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -4008,7 +3829,6 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.UpfrontCost = ptr.String(jtv) } - default: _, _ = key, value @@ -4044,7 +3864,6 @@ func awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(v **types. if err := awsAwsjson10_deserializeDocumentReservedInstancesPricing(&sv.Pricing, value); err != nil { return err } - default: _, _ = key, value @@ -4109,7 +3928,6 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } - case "estimatedOnDemandCost": if value != nil { switch jtv := value.(type) { @@ -4143,7 +3961,6 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } - case "monthlyReservationEligibleCost": if value != nil { switch jtv := value.(type) { @@ -4177,7 +3994,6 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } - case "savingsPercentage": if value != nil { switch jtv := value.(type) { @@ -4211,7 +4027,6 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } - default: _, _ = key, value @@ -4247,12 +4062,10 @@ func awsAwsjson10_deserializeDocumentResourceCostCalculation(v **types.ResourceC if err := awsAwsjson10_deserializeDocumentResourcePricing(&sv.Pricing, value); err != nil { return err } - case "usages": if err := awsAwsjson10_deserializeDocumentUsageList(&sv.Usages, value); err != nil { return err } - default: _, _ = key, value @@ -4462,15 +4275,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4478,7 +4285,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4487,15 +4293,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4555,7 +4357,6 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } - case "estimatedCostBeforeDiscounts": if value != nil { switch jtv := value.(type) { @@ -4589,12 +4390,10 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } - case "estimatedDiscounts": if err := awsAwsjson10_deserializeDocumentEstimatedDiscounts(&sv.EstimatedDiscounts, value); err != nil { return err } - case "estimatedNetUnusedAmortizedCommitments": if value != nil { switch jtv := value.(type) { @@ -4628,7 +4427,6 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } - default: _, _ = key, value @@ -4664,12 +4462,10 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlans(v **types.SageMakerSa if err := awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } - case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } - default: _, _ = key, value @@ -4709,7 +4505,6 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.AccountScope = ptr.String(jtv) } - case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -4718,7 +4513,6 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.HourlyCommitment = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -4727,7 +4521,6 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.PaymentOption = ptr.String(jtv) } - case "term": if value != nil { jtv, ok := value.(string) @@ -4736,7 +4529,6 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.Term = ptr.String(jtv) } - default: _, _ = key, value @@ -4772,7 +4564,6 @@ func awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(v **types.Savin if err := awsAwsjson10_deserializeDocumentSavingsPlansPricing(&sv.Pricing, value); err != nil { return err } - default: _, _ = key, value @@ -4837,7 +4628,6 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } - case "estimatedOnDemandCost": if value != nil { switch jtv := value.(type) { @@ -4871,7 +4661,6 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } - case "monthlySavingsPlansEligibleCost": if value != nil { switch jtv := value.(type) { @@ -4905,7 +4694,6 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } - case "savingsPercentage": if value != nil { switch jtv := value.(type) { @@ -4939,7 +4727,6 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } - default: _, _ = key, value @@ -5004,7 +4791,6 @@ func awsAwsjson10_deserializeDocumentStorageConfiguration(v **types.StorageConfi } } - case "type": if value != nil { jtv, ok := value.(string) @@ -5013,7 +4799,6 @@ func awsAwsjson10_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5053,7 +4838,6 @@ func awsAwsjson10_deserializeDocumentSummaryMetricsResult(v **types.SummaryMetri } sv.SavingsPercentage = ptr.String(jtv) } - default: _, _ = key, value @@ -5093,7 +4877,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -5102,7 +4885,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5166,15 +4948,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5182,15 +4958,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5225,7 +4997,6 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Operation = ptr.String(jtv) } - case "productCode": if value != nil { jtv, ok := value.(string) @@ -5234,7 +5005,6 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.ProductCode = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -5243,7 +5013,6 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Unit = ptr.String(jtv) } - case "usageAmount": if value != nil { switch jtv := value.(type) { @@ -5277,7 +5046,6 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -5286,7 +5054,6 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -5350,20 +5117,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionDetails(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5371,7 +5131,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5380,15 +5139,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5423,7 +5178,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionDetail(v **types.Validat } sv.FieldName = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5432,7 +5186,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionDetail(v **types.Validat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5506,7 +5259,6 @@ func awsAwsjson10_deserializeOpDocumentGetPreferencesOutput(v **GetPreferencesOu } sv.MemberAccountDiscountVisibility = types.MemberAccountDiscountVisibility(jtv) } - case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -5515,7 +5267,6 @@ func awsAwsjson10_deserializeOpDocumentGetPreferencesOutput(v **GetPreferencesOu } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } - default: _, _ = key, value @@ -5555,7 +5306,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.AccountId = ptr.String(jtv) } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -5564,7 +5314,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ActionType = types.ActionType(jtv) } - case "costCalculationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -5577,7 +5326,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CostCalculationLookbackPeriodInDays = ptr.Int32(int32(i64)) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -5586,12 +5334,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CurrencyCode = ptr.String(jtv) } - case "currentResourceDetails": if err := awsAwsjson10_deserializeDocumentResourceDetails(&sv.CurrentResourceDetails, value); err != nil { return err } - case "currentResourceType": if value != nil { jtv, ok := value.(string) @@ -5600,7 +5346,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CurrentResourceType = types.ResourceType(jtv) } - case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -5634,7 +5379,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } - case "estimatedMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -5668,7 +5412,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } - case "estimatedSavingsOverCostCalculationLookbackPeriod": if value != nil { switch jtv := value.(type) { @@ -5702,7 +5445,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } - case "estimatedSavingsPercentage": if value != nil { switch jtv := value.(type) { @@ -5736,7 +5478,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } - case "implementationEffort": if value != nil { jtv, ok := value.(string) @@ -5745,7 +5486,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ImplementationEffort = types.ImplementationEffort(jtv) } - case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -5761,7 +5501,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -5770,7 +5509,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendationId = ptr.String(jtv) } - case "recommendationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -5783,12 +5521,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendationLookbackPeriodInDays = ptr.Int32(int32(i64)) } - case "recommendedResourceDetails": if err := awsAwsjson10_deserializeDocumentResourceDetails(&sv.RecommendedResourceDetails, value); err != nil { return err } - case "recommendedResourceType": if value != nil { jtv, ok := value.(string) @@ -5797,7 +5533,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendedResourceType = types.ResourceType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -5806,7 +5541,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.Region = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -5815,7 +5549,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5557,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ResourceId = ptr.String(jtv) } - case "restartNeeded": if value != nil { jtv, ok := value.(bool) @@ -5833,7 +5565,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RestartNeeded = ptr.Bool(jtv) } - case "rollbackPossible": if value != nil { jtv, ok := value.(bool) @@ -5842,7 +5573,6 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RollbackPossible = ptr.Bool(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -5851,12 +5581,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.Source = types.Source(jtv) } - case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5896,12 +5624,10 @@ func awsAwsjson10_deserializeOpDocumentListEnrollmentStatusesOutput(v **ListEnro } sv.IncludeMemberAccounts = ptr.Bool(jtv) } - case "items": if err := awsAwsjson10_deserializeDocumentAccountEnrollmentStatuses(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5910,7 +5636,6 @@ func awsAwsjson10_deserializeOpDocumentListEnrollmentStatusesOutput(v **ListEnro } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5946,7 +5671,6 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme if err := awsAwsjson10_deserializeDocumentRecommendationList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5955,7 +5679,6 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5995,7 +5718,6 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.CurrencyCode = ptr.String(jtv) } - case "estimatedTotalDedupedSavings": if value != nil { switch jtv := value.(type) { @@ -6029,7 +5751,6 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } } - case "groupBy": if value != nil { jtv, ok := value.(string) @@ -6038,17 +5759,14 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.GroupBy = ptr.String(jtv) } - case "items": if err := awsAwsjson10_deserializeDocumentRecommendationSummariesList(&sv.Items, value); err != nil { return err } - case "metrics": if err := awsAwsjson10_deserializeDocumentSummaryMetricsResult(&sv.Metrics, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6057,7 +5775,6 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6097,7 +5814,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -6137,7 +5853,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePreferencesOutput(v **UpdatePrefere } sv.MemberAccountDiscountVisibility = types.MemberAccountDiscountVisibility(jtv) } - case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -6146,7 +5861,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePreferencesOutput(v **UpdatePrefere } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } - default: _, _ = key, value diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index bd0b1c6383e..fcc41ba30ce 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -188,12 +188,10 @@ func awsRestjson1_deserializeOpDocumentAddProfileKeyOutput(v **AddProfileKeyOutp } sv.KeyName = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentRequestValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -357,7 +355,6 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } - case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -366,12 +363,10 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.CalculatedAttributeName = ptr.String(jtv) } - case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -387,7 +382,6 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -396,7 +390,6 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -405,7 +398,6 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.DisplayName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -421,7 +413,6 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -430,12 +421,10 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.Statistic = types.Statistic(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -610,7 +599,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } } - case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -619,7 +607,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DeadLetterQueueUrl = ptr.String(jtv) } - case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -628,7 +615,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DefaultEncryptionKey = ptr.String(jtv) } - case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -641,7 +627,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -650,7 +635,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -666,22 +650,18 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } } - case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } - case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -849,12 +829,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventStreamOutput(v **CreateEventSt } sv.EventStreamArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1022,7 +1000,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationWorkflowOutput(v **Creat } sv.Message = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -1031,7 +1008,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationWorkflowOutput(v **Creat } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -1199,7 +1175,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -1467,7 +1442,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1735,7 +1709,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIntegrationOutput(v **DeleteIntegra } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1903,7 +1876,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2071,7 +2043,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileKeyOutput(v **DeleteProfileK } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2239,7 +2210,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileObjectOutput(v **DeleteProfi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2407,7 +2377,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileObjectTypeOutput(v **DeleteP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2671,7 +2640,6 @@ func awsRestjson1_deserializeOpDocumentDetectProfileObjectTypeOutput(v **DetectP if err := awsRestjson1_deserializeDocumentDetectedProfileObjectTypes(&sv.DetectedProfileObjectTypes, value); err != nil { return err } - default: _, _ = key, value @@ -2839,7 +2807,6 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.DomainName = ptr.String(jtv) } - case "NumberOfMatchesInSample": if value != nil { jtv, ok := value.(json.Number) @@ -2852,7 +2819,6 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfMatchesInSample = i64 } - case "NumberOfProfilesInSample": if value != nil { jtv, ok := value.(json.Number) @@ -2865,7 +2831,6 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfProfilesInSample = i64 } - case "NumberOfProfilesWillBeMerged": if value != nil { jtv, ok := value.(json.Number) @@ -2878,7 +2843,6 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfProfilesWillBeMerged = i64 } - default: _, _ = key, value @@ -3042,7 +3006,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } - case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -3051,12 +3014,10 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.CalculatedAttributeName = ptr.String(jtv) } - case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3072,7 +3033,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3081,7 +3041,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3090,7 +3049,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.DisplayName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3106,7 +3064,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -3115,12 +3072,10 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.Statistic = types.Statistic(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3288,7 +3243,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.CalculatedAttributeName = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3297,7 +3251,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.DisplayName = ptr.String(jtv) } - case "IsDataPartial": if value != nil { jtv, ok := value.(string) @@ -3306,7 +3259,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.IsDataPartial = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3267,6 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3490,7 +3441,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } - case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3449,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DeadLetterQueueUrl = ptr.String(jtv) } - case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -3508,7 +3457,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DefaultEncryptionKey = ptr.String(jtv) } - case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -3521,7 +3469,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3530,7 +3477,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3546,27 +3492,22 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } - case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } - case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } - case "Stats": if err := awsRestjson1_deserializeDocumentDomainStats(&sv.Stats, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3741,12 +3682,10 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } } - case "DestinationDetails": if err := awsRestjson1_deserializeDocumentEventStreamDestinationDetails(&sv.DestinationDetails, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3755,7 +3694,6 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.DomainName = ptr.String(jtv) } - case "EventStreamArn": if value != nil { jtv, ok := value.(string) @@ -3764,7 +3702,6 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.EventStreamArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3773,7 +3710,6 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.State = types.EventStreamState(jtv) } - case "StoppedSince": if value != nil { switch jtv := value.(type) { @@ -3789,12 +3725,10 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3958,7 +3892,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde if err := awsRestjson1_deserializeDocumentAutoMerging(&sv.AutoMerging, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3967,12 +3900,10 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.DomainName = ptr.String(jtv) } - case "ExportingLocation": if err := awsRestjson1_deserializeDocumentExportingLocation(&sv.ExportingLocation, value); err != nil { return err } - case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -3988,7 +3919,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } - case "JobExpirationTime": if value != nil { switch jtv := value.(type) { @@ -4004,7 +3934,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -4013,7 +3942,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.JobId = ptr.String(jtv) } - case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -4029,12 +3957,10 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } - case "JobStats": if err := awsRestjson1_deserializeDocumentJobStats(&sv.JobStats, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4050,7 +3976,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4059,7 +3984,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4068,7 +3992,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.Status = types.IdentityResolutionJobStatus(jtv) } - default: _, _ = key, value @@ -4243,7 +4166,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4252,7 +4174,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.DomainName = ptr.String(jtv) } - case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -4261,7 +4182,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IsUnstructured = ptr.Bool(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4277,7 +4197,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -4286,12 +4205,10 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ObjectTypeName = ptr.String(jtv) } - case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -4300,12 +4217,10 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -4314,7 +4229,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Uri = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -4323,7 +4237,6 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -4487,7 +4400,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va if err := awsRestjson1_deserializeDocumentMatchesList(&sv.Matches, value); err != nil { return err } - case "MatchGenerationDate": if value != nil { switch jtv := value.(type) { @@ -4503,7 +4415,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4512,7 +4423,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } sv.NextToken = ptr.String(jtv) } - case "PotentialMatches": if value != nil { jtv, ok := value.(json.Number) @@ -4525,7 +4435,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } sv.PotentialMatches = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4693,7 +4602,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.AllowProfileCreation = jtv } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4709,7 +4617,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4718,7 +4625,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.Description = ptr.String(jtv) } - case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -4727,7 +4633,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.EncryptionKey = ptr.String(jtv) } - case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -4740,17 +4645,14 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.ExpirationDays = ptr.Int32(int32(i64)) } - case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4766,7 +4668,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } } - case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4779,7 +4680,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } - case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4792,7 +4692,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -4801,7 +4700,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.ObjectTypeName = ptr.String(jtv) } - case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -4810,12 +4708,10 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -4824,7 +4720,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -4992,17 +4887,14 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.AllowProfileCreation = jtv } - case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } - case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -5011,7 +4903,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } - case "SourceName": if value != nil { jtv, ok := value.(string) @@ -5020,7 +4911,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceName = ptr.String(jtv) } - case "SourceObject": if value != nil { jtv, ok := value.(string) @@ -5029,7 +4919,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceObject = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -5038,7 +4927,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -5231,7 +5119,6 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } } - case "MatchId": if value != nil { jtv, ok := value.(string) @@ -5240,7 +5127,6 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.MatchId = ptr.String(jtv) } - case "MatchType": if value != nil { jtv, ok := value.(string) @@ -5249,7 +5135,6 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.MatchType = types.MatchType(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5258,12 +5143,10 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.NextToken = ptr.String(jtv) } - case "ProfileIds": if err := awsRestjson1_deserializeDocumentProfileIdList(&sv.ProfileIds, value); err != nil { return err } - case "RuleLevel": if value != nil { jtv, ok := value.(json.Number) @@ -5276,7 +5159,6 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.RuleLevel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5440,7 +5322,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsRestjson1_deserializeDocumentWorkflowAttributes(&sv.Attributes, value); err != nil { return err } - case "ErrorDescription": if value != nil { jtv, ok := value.(string) @@ -5449,7 +5330,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.ErrorDescription = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5465,12 +5345,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "Metrics": if err := awsRestjson1_deserializeDocumentWorkflowMetrics(&sv.Metrics, value); err != nil { return err } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -5486,7 +5364,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5495,7 +5372,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.Status(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -5504,7 +5380,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowId = ptr.String(jtv) } - case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -5513,7 +5388,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowType = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -5677,7 +5551,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte if err := awsRestjson1_deserializeDocumentWorkflowStepsList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5686,7 +5559,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.NextToken = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -5695,7 +5567,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.WorkflowId = ptr.String(jtv) } - case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5575,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.WorkflowType = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -5868,7 +5738,6 @@ func awsRestjson1_deserializeOpDocumentListAccountIntegrationsOutput(v **ListAcc if err := awsRestjson1_deserializeDocumentIntegrationList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5877,7 +5746,6 @@ func awsRestjson1_deserializeOpDocumentListAccountIntegrationsOutput(v **ListAcc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6041,7 +5909,6 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributeDefinitionsOutput( if err := awsRestjson1_deserializeDocumentCalculatedAttributeDefinitionsList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6050,7 +5917,6 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributeDefinitionsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6214,7 +6080,6 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributesForProfileOutput( if err := awsRestjson1_deserializeDocumentCalculatedAttributesForProfileList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6223,7 +6088,6 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributesForProfileOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6387,7 +6251,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6396,7 +6259,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6560,7 +6422,6 @@ func awsRestjson1_deserializeOpDocumentListEventStreamsOutput(v **ListEventStrea if err := awsRestjson1_deserializeDocumentEventStreamSummaryList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6569,7 +6430,6 @@ func awsRestjson1_deserializeOpDocumentListEventStreamsOutput(v **ListEventStrea } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6733,7 +6593,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityResolutionJobsOutput(v **List if err := awsRestjson1_deserializeDocumentIdentityResolutionJobsList(&sv.IdentityResolutionJobsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6742,7 +6601,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityResolutionJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6906,7 +6764,6 @@ func awsRestjson1_deserializeOpDocumentListIntegrationsOutput(v **ListIntegratio if err := awsRestjson1_deserializeDocumentIntegrationList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6915,7 +6772,6 @@ func awsRestjson1_deserializeOpDocumentListIntegrationsOutput(v **ListIntegratio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7079,7 +6935,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectsOutput(v **ListProfileO if err := awsRestjson1_deserializeDocumentProfileObjectList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7088,7 +6943,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectsOutput(v **ListProfileO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7252,7 +7106,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypesOutput(v **ListProf if err := awsRestjson1_deserializeDocumentProfileObjectTypeList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7261,7 +7114,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypesOutput(v **ListProf } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7425,7 +7277,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypeTemplatesOutput(v ** if err := awsRestjson1_deserializeDocumentProfileObjectTypeTemplateList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7434,7 +7285,6 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypeTemplatesOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7598,7 +7448,6 @@ func awsRestjson1_deserializeOpDocumentListRuleBasedMatchesOutput(v **ListRuleBa if err := awsRestjson1_deserializeDocumentMatchIdList(&sv.MatchIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7607,7 +7456,6 @@ func awsRestjson1_deserializeOpDocumentListRuleBasedMatchesOutput(v **ListRuleBa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7765,7 +7613,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7929,7 +7776,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7938,7 +7784,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8103,7 +7948,6 @@ func awsRestjson1_deserializeOpDocumentMergeProfilesOutput(v **MergeProfilesOutp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -8278,7 +8122,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -8287,7 +8130,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.DomainName = ptr.String(jtv) } - case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -8296,7 +8138,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.IsUnstructured = ptr.Bool(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -8312,7 +8153,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -8321,12 +8161,10 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ObjectTypeName = ptr.String(jtv) } - case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8335,12 +8173,10 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -8349,7 +8185,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Uri = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -8358,7 +8193,6 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -8526,7 +8360,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectOutput(v **PutProfileObje } sv.ProfileObjectUniqueKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8694,7 +8527,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.AllowProfileCreation = jtv } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -8710,7 +8542,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8719,7 +8550,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.Description = ptr.String(jtv) } - case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -8728,7 +8558,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.EncryptionKey = ptr.String(jtv) } - case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -8741,17 +8570,14 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.ExpirationDays = ptr.Int32(int32(i64)) } - case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -8767,7 +8593,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } } - case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -8780,7 +8605,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } - case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -8793,7 +8617,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -8802,7 +8625,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.ObjectTypeName = ptr.String(jtv) } - case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -8811,12 +8633,10 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -8825,7 +8645,6 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -8989,7 +8808,6 @@ func awsRestjson1_deserializeOpDocumentSearchProfilesOutput(v **SearchProfilesOu if err := awsRestjson1_deserializeDocumentProfileList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8998,7 +8816,6 @@ func awsRestjson1_deserializeOpDocumentSearchProfilesOutput(v **SearchProfilesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9350,7 +9167,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } - case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -9359,12 +9175,10 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.CalculatedAttributeName = ptr.String(jtv) } - case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -9380,7 +9194,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9389,7 +9202,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -9398,7 +9210,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.DisplayName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9414,7 +9225,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -9423,12 +9233,10 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.Statistic = types.Statistic(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9603,7 +9411,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } - case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -9612,7 +9419,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DeadLetterQueueUrl = ptr.String(jtv) } - case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -9621,7 +9427,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DefaultEncryptionKey = ptr.String(jtv) } - case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -9634,7 +9439,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -9643,7 +9447,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9659,22 +9462,18 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } - case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } - case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9842,7 +9641,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -10052,15 +9850,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10068,15 +9860,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10111,7 +9899,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address1 = ptr.String(jtv) } - case "Address2": if value != nil { jtv, ok := value.(string) @@ -10120,7 +9907,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address2 = ptr.String(jtv) } - case "Address3": if value != nil { jtv, ok := value.(string) @@ -10129,7 +9915,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address3 = ptr.String(jtv) } - case "Address4": if value != nil { jtv, ok := value.(string) @@ -10138,7 +9923,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address4 = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -10147,7 +9931,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -10156,7 +9939,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "County": if value != nil { jtv, ok := value.(string) @@ -10165,7 +9947,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.County = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -10174,7 +9955,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "Province": if value != nil { jtv, ok := value.(string) @@ -10183,7 +9963,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Province = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10192,7 +9971,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -10268,7 +10046,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.ConnectorProfileName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10277,7 +10054,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.RoleArn = ptr.String(jtv) } - case "SourceConnectorType": if value != nil { jtv, ok := value.(string) @@ -10286,7 +10062,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.SourceConnectorType = types.SourceConnectorType(jtv) } - default: _, _ = key, value @@ -10330,7 +10105,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.RecordsProcessed = i64 } - case "StepsCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -10343,7 +10117,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.StepsCompleted = i64 } - case "TotalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -10356,7 +10129,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.TotalSteps = i64 } - default: _, _ = key, value @@ -10396,7 +10168,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.BatchRecordsEndTime = ptr.String(jtv) } - case "BatchRecordsStartTime": if value != nil { jtv, ok := value.(string) @@ -10405,7 +10176,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.BatchRecordsStartTime = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -10421,7 +10191,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } } - case "ExecutionMessage": if value != nil { jtv, ok := value.(string) @@ -10430,7 +10199,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.ExecutionMessage = ptr.String(jtv) } - case "FlowName": if value != nil { jtv, ok := value.(string) @@ -10439,7 +10207,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.FlowName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10455,7 +10222,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } } - case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -10468,7 +10234,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.RecordsProcessed = i64 } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10477,7 +10242,6 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -10513,7 +10277,6 @@ func awsRestjson1_deserializeDocumentAttributeDetails(v **types.AttributeDetails if err := awsRestjson1_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -10522,7 +10285,6 @@ func awsRestjson1_deserializeDocumentAttributeDetails(v **types.AttributeDetails } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -10562,7 +10324,6 @@ func awsRestjson1_deserializeDocumentAttributeItem(v **types.AttributeItem, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10668,7 +10429,6 @@ func awsRestjson1_deserializeDocumentAttributeTypesSelector(v **types.AttributeT if err := awsRestjson1_deserializeDocumentAddressList(&sv.Address, value); err != nil { return err } - case "AttributeMatchingModel": if value != nil { jtv, ok := value.(string) @@ -10677,17 +10437,14 @@ func awsRestjson1_deserializeDocumentAttributeTypesSelector(v **types.AttributeT } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } - case "EmailAddress": if err := awsRestjson1_deserializeDocumentEmailList(&sv.EmailAddress, value); err != nil { return err } - case "PhoneNumber": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -10723,12 +10480,10 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in if err := awsRestjson1_deserializeDocumentConflictResolution(&sv.ConflictResolution, value); err != nil { return err } - case "Consolidation": if err := awsRestjson1_deserializeDocumentConsolidation(&sv.Consolidation, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10737,7 +10492,6 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in } sv.Enabled = ptr.Bool(jtv) } - case "MinAllowedConfidenceScoreForMerging": if value != nil { switch jtv := value.(type) { @@ -10771,7 +10525,6 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in } } - default: _, _ = key, value @@ -10801,15 +10554,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10817,15 +10564,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10932,17 +10675,14 @@ func awsRestjson1_deserializeDocumentConditions(v **types.Conditions, value inte } sv.ObjectCount = ptr.Int32(int32(i64)) } - case "Range": if err := awsRestjson1_deserializeDocumentRange(&sv.Range, value); err != nil { return err } - case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } - default: _, _ = key, value @@ -10982,7 +10722,6 @@ func awsRestjson1_deserializeDocumentConflictResolution(v **types.ConflictResolu } sv.ConflictResolvingModel = types.ConflictResolvingModel(jtv) } - case "SourceName": if value != nil { jtv, ok := value.(string) @@ -10991,7 +10730,6 @@ func awsRestjson1_deserializeDocumentConflictResolution(v **types.ConflictResolu } sv.SourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -11027,7 +10765,6 @@ func awsRestjson1_deserializeDocumentConsolidation(v **types.Consolidation, valu if err := awsRestjson1_deserializeDocumentMatchingAttributesList(&sv.MatchingAttributesList, value); err != nil { return err } - default: _, _ = key, value @@ -11067,7 +10804,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Status = types.EventStreamDestinationStatus(jtv) } - case "UnhealthySince": if value != nil { switch jtv := value.(type) { @@ -11083,7 +10819,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -11092,7 +10827,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -11128,12 +10862,10 @@ func awsRestjson1_deserializeDocumentDetectedProfileObjectType(v **types.Detecte if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } - case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -11142,7 +10874,6 @@ func awsRestjson1_deserializeDocumentDetectedProfileObjectType(v **types.Detecte } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } - default: _, _ = key, value @@ -11254,7 +10985,6 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.MeteringProfileCount = i64 } - case "ObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -11267,7 +10997,6 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.ObjectCount = i64 } - case "ProfileCount": if value != nil { jtv, ok := value.(json.Number) @@ -11280,7 +11009,6 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.ProfileCount = i64 } - case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -11293,7 +11021,6 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.TotalSize = i64 } - default: _, _ = key, value @@ -11369,7 +11096,6 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11378,7 +11104,6 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Status = types.EventStreamDestinationStatus(jtv) } - case "UnhealthySince": if value != nil { switch jtv := value.(type) { @@ -11394,7 +11119,6 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -11403,7 +11127,6 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -11439,7 +11162,6 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum if err := awsRestjson1_deserializeDocumentDestinationSummary(&sv.DestinationSummary, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11448,7 +11170,6 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.DomainName = ptr.String(jtv) } - case "EventStreamArn": if value != nil { jtv, ok := value.(string) @@ -11457,7 +11178,6 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.EventStreamArn = ptr.String(jtv) } - case "EventStreamName": if value != nil { jtv, ok := value.(string) @@ -11466,7 +11186,6 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.EventStreamName = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11475,7 +11194,6 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.State = types.EventStreamState(jtv) } - case "StoppedSince": if value != nil { switch jtv := value.(type) { @@ -11491,12 +11209,10 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11566,7 +11282,6 @@ func awsRestjson1_deserializeDocumentExportingConfig(v **types.ExportingConfig, if err := awsRestjson1_deserializeDocumentS3ExportingConfig(&sv.S3Exporting, value); err != nil { return err } - default: _, _ = key, value @@ -11602,7 +11317,6 @@ func awsRestjson1_deserializeDocumentExportingLocation(v **types.ExportingLocati if err := awsRestjson1_deserializeDocumentS3ExportingLocation(&sv.S3Exporting, value); err != nil { return err } - default: _, _ = key, value @@ -11713,12 +11427,10 @@ func awsRestjson1_deserializeDocumentFoundByKeyValue(v **types.FoundByKeyValue, } sv.KeyName = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentRequestValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -11792,12 +11504,10 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.DomainName = ptr.String(jtv) } - case "ExportingLocation": if err := awsRestjson1_deserializeDocumentExportingLocation(&sv.ExportingLocation, value); err != nil { return err } - case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -11813,7 +11523,6 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -11822,7 +11531,6 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.JobId = ptr.String(jtv) } - case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -11838,12 +11546,10 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } } - case "JobStats": if err := awsRestjson1_deserializeDocumentJobStats(&sv.JobStats, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -11852,7 +11558,6 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11861,7 +11566,6 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.Status = types.IdentityResolutionJobStatus(jtv) } - default: _, _ = key, value @@ -11959,15 +11663,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11975,15 +11673,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12018,7 +11712,6 @@ func awsRestjson1_deserializeDocumentJobSchedule(v **types.JobSchedule, value in } sv.DayOfTheWeek = types.JobScheduleDayOfTheWeek(jtv) } - case "Time": if value != nil { jtv, ok := value.(string) @@ -12027,7 +11720,6 @@ func awsRestjson1_deserializeDocumentJobSchedule(v **types.JobSchedule, value in } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -12071,7 +11763,6 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfMatchesFound = i64 } - case "NumberOfMergesDone": if value != nil { jtv, ok := value.(json.Number) @@ -12084,7 +11775,6 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfMergesDone = i64 } - case "NumberOfProfilesReviewed": if value != nil { jtv, ok := value.(json.Number) @@ -12097,7 +11787,6 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfProfilesReviewed = i64 } - default: _, _ = key, value @@ -12171,7 +11860,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.CalculatedAttributeName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -12187,7 +11875,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12196,7 +11883,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12205,7 +11891,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.DisplayName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12221,12 +11906,10 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12266,7 +11949,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.CalculatedAttributeName = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12275,7 +11957,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.DisplayName = ptr.String(jtv) } - case "IsDataPartial": if value != nil { jtv, ok := value.(string) @@ -12284,7 +11965,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.IsDataPartial = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12293,7 +11973,6 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12340,7 +12019,6 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12349,7 +12027,6 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12365,12 +12042,10 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12417,7 +12092,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12426,7 +12100,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.DomainName = ptr.String(jtv) } - case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -12435,7 +12108,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.IsUnstructured = ptr.Bool(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12451,7 +12123,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12460,12 +12131,10 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.ObjectTypeName = ptr.String(jtv) } - case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12474,12 +12143,10 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -12488,7 +12155,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.Uri = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12497,7 +12163,6 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -12537,7 +12202,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.Object = ptr.String(jtv) } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12546,7 +12210,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.ObjectTypeName = ptr.String(jtv) } - case "ProfileObjectUniqueKey": if value != nil { jtv, ok := value.(string) @@ -12555,7 +12218,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.ProfileObjectUniqueKey = ptr.String(jtv) } - default: _, _ = key, value @@ -12602,7 +12264,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12611,7 +12272,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.Description = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12627,7 +12287,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } } - case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -12640,7 +12299,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } - case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -12653,7 +12311,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } - case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12662,12 +12319,10 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.ObjectTypeName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12707,7 +12362,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.SourceName = ptr.String(jtv) } - case "SourceObject": if value != nil { jtv, ok := value.(string) @@ -12716,7 +12370,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.SourceObject = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -12725,7 +12378,6 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -12772,7 +12424,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12788,7 +12439,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12797,7 +12447,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.Status = types.Status(jtv) } - case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -12806,7 +12455,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.StatusDescription = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12815,7 +12463,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.WorkflowId = ptr.String(jtv) } - case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -12824,7 +12471,6 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.WorkflowType = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -12998,7 +12644,6 @@ func awsRestjson1_deserializeDocumentMatchingResponse(v **types.MatchingResponse if err := awsRestjson1_deserializeDocumentAutoMerging(&sv.AutoMerging, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -13007,17 +12652,14 @@ func awsRestjson1_deserializeDocumentMatchingResponse(v **types.MatchingResponse } sv.Enabled = ptr.Bool(jtv) } - case "ExportingConfig": if err := awsRestjson1_deserializeDocumentExportingConfig(&sv.ExportingConfig, value); err != nil { return err } - case "JobSchedule": if err := awsRestjson1_deserializeDocumentJobSchedule(&sv.JobSchedule, value); err != nil { return err } - default: _, _ = key, value @@ -13053,7 +12695,6 @@ func awsRestjson1_deserializeDocumentMatchingRule(v **types.MatchingRule, value if err := awsRestjson1_deserializeDocumentMatchingRuleAttributeList(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -13188,7 +12829,6 @@ func awsRestjson1_deserializeDocumentMatchItem(v **types.MatchItem, value interf } } - case "MatchId": if value != nil { jtv, ok := value.(string) @@ -13197,12 +12837,10 @@ func awsRestjson1_deserializeDocumentMatchItem(v **types.MatchItem, value interf } sv.MatchId = ptr.String(jtv) } - case "ProfileIds": if err := awsRestjson1_deserializeDocumentProfileIdList(&sv.ProfileIds, value); err != nil { return err } - default: _, _ = key, value @@ -13242,7 +12880,6 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.ContentType = types.FieldContentType(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -13251,7 +12888,6 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.Source = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -13260,7 +12896,6 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -13296,12 +12931,10 @@ func awsRestjson1_deserializeDocumentObjectTypeKey(v **types.ObjectTypeKey, valu if err := awsRestjson1_deserializeDocumentFieldNameList(&sv.FieldNames, value); err != nil { return err } - case "StandardIdentifiers": if err := awsRestjson1_deserializeDocumentStandardIdentifierList(&sv.StandardIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -13447,7 +13080,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.AccountNumber = ptr.String(jtv) } - case "AdditionalInformation": if value != nil { jtv, ok := value.(string) @@ -13456,22 +13088,18 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.AdditionalInformation = ptr.String(jtv) } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "Attributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "BillingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.BillingAddress, value); err != nil { return err } - case "BirthDate": if value != nil { jtv, ok := value.(string) @@ -13480,7 +13108,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BirthDate = ptr.String(jtv) } - case "BusinessEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13489,7 +13116,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessEmailAddress = ptr.String(jtv) } - case "BusinessName": if value != nil { jtv, ok := value.(string) @@ -13498,7 +13124,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessName = ptr.String(jtv) } - case "BusinessPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13507,7 +13132,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessPhoneNumber = ptr.String(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -13516,7 +13140,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.EmailAddress = ptr.String(jtv) } - case "FirstName": if value != nil { jtv, ok := value.(string) @@ -13525,12 +13148,10 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.FirstName = ptr.String(jtv) } - case "FoundByItems": if err := awsRestjson1_deserializeDocumentFoundByList(&sv.FoundByItems, value); err != nil { return err } - case "Gender": if value != nil { jtv, ok := value.(string) @@ -13539,7 +13160,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Gender = types.Gender(jtv) } - case "GenderString": if value != nil { jtv, ok := value.(string) @@ -13548,7 +13168,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.GenderString = ptr.String(jtv) } - case "HomePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13557,7 +13176,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.HomePhoneNumber = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -13566,12 +13184,10 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.LastName = ptr.String(jtv) } - case "MailingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.MailingAddress, value); err != nil { return err } - case "MiddleName": if value != nil { jtv, ok := value.(string) @@ -13580,7 +13196,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.MiddleName = ptr.String(jtv) } - case "MobilePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13589,7 +13204,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.MobilePhoneNumber = ptr.String(jtv) } - case "PartyType": if value != nil { jtv, ok := value.(string) @@ -13598,7 +13212,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PartyType = types.PartyType(jtv) } - case "PartyTypeString": if value != nil { jtv, ok := value.(string) @@ -13607,7 +13220,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PartyTypeString = ptr.String(jtv) } - case "PersonalEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13616,7 +13228,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PersonalEmailAddress = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13625,7 +13236,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PhoneNumber = ptr.String(jtv) } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -13634,12 +13244,10 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileId = ptr.String(jtv) } - case "ShippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } - default: _, _ = key, value @@ -13851,7 +13459,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Unit = types.Unit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -13864,7 +13471,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13930,15 +13536,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13946,15 +13546,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13985,12 +13581,10 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas if err := awsRestjson1_deserializeDocumentAttributeTypesSelector(&sv.AttributeTypesSelector, value); err != nil { return err } - case "ConflictResolution": if err := awsRestjson1_deserializeDocumentConflictResolution(&sv.ConflictResolution, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -13999,17 +13593,14 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.Enabled = ptr.Bool(jtv) } - case "ExportingConfig": if err := awsRestjson1_deserializeDocumentExportingConfig(&sv.ExportingConfig, value); err != nil { return err } - case "MatchingRules": if err := awsRestjson1_deserializeDocumentMatchingRules(&sv.MatchingRules, value); err != nil { return err } - case "MaxAllowedRuleLevelForMatching": if value != nil { jtv, ok := value.(json.Number) @@ -14022,7 +13613,6 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.MaxAllowedRuleLevelForMatching = ptr.Int32(int32(i64)) } - case "MaxAllowedRuleLevelForMerging": if value != nil { jtv, ok := value.(json.Number) @@ -14035,7 +13625,6 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.MaxAllowedRuleLevelForMerging = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14044,7 +13633,6 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.Status = types.RuleBasedMatchingStatus(jtv) } - default: _, _ = key, value @@ -14084,7 +13672,6 @@ func awsRestjson1_deserializeDocumentS3ExportingConfig(v **types.S3ExportingConf } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyName": if value != nil { jtv, ok := value.(string) @@ -14093,7 +13680,6 @@ func awsRestjson1_deserializeDocumentS3ExportingConfig(v **types.S3ExportingConf } sv.S3KeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -14133,7 +13719,6 @@ func awsRestjson1_deserializeDocumentS3ExportingLocation(v **types.S3ExportingLo } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyName": if value != nil { jtv, ok := value.(string) @@ -14142,7 +13727,6 @@ func awsRestjson1_deserializeDocumentS3ExportingLocation(v **types.S3ExportingLo } sv.S3KeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -14254,7 +13838,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Operator = types.Operator(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14263,7 +13846,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14293,15 +13875,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14309,15 +13885,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14348,7 +13920,6 @@ func awsRestjson1_deserializeDocumentWorkflowAttributes(v **types.WorkflowAttrib if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(&sv.AppflowIntegration, value); err != nil { return err } - default: _, _ = key, value @@ -14418,7 +13989,6 @@ func awsRestjson1_deserializeDocumentWorkflowMetrics(v **types.WorkflowMetrics, if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(&sv.AppflowIntegration, value); err != nil { return err } - default: _, _ = key, value @@ -14454,7 +14024,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepItem(v **types.WorkflowStepItem if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(&sv.AppflowIntegration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index 3c48bba4849..654472143d8 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -14082,15 +14082,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedFault(v **types.AccessDeniedFau sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14098,15 +14092,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedFault(v **types.AccessDeniedFau } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14141,7 +14131,6 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.AccountQuotaName = ptr.String(jtv) } - case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -14154,7 +14143,6 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.Max = i64 } - case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -14167,7 +14155,6 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.Used = i64 } - default: _, _ = key, value @@ -14241,7 +14228,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14353,7 +14339,6 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.Code = ptr.String(jtv) } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -14362,7 +14347,6 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.DatabaseId = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14371,7 +14355,6 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14445,7 +14428,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } - case "CertificateCreationDate": if value != nil { switch jtv := value.(type) { @@ -14461,7 +14443,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "CertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -14470,7 +14451,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateIdentifier = ptr.String(jtv) } - case "CertificateOwner": if value != nil { jtv, ok := value.(string) @@ -14479,7 +14459,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateOwner = ptr.String(jtv) } - case "CertificatePem": if value != nil { jtv, ok := value.(string) @@ -14488,7 +14467,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificatePem = ptr.String(jtv) } - case "CertificateWallet": if value != nil { jtv, ok := value.(string) @@ -14501,7 +14479,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateWallet = dv } - case "KeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -14514,7 +14491,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.KeyLength = ptr.Int32(int32(i64)) } - case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -14523,7 +14499,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SigningAlgorithm = ptr.String(jtv) } - case "ValidFromDate": if value != nil { switch jtv := value.(type) { @@ -14539,7 +14514,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "ValidToDate": if value != nil { switch jtv := value.(type) { @@ -14555,7 +14529,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - default: _, _ = key, value @@ -14629,7 +14602,6 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.CollectorStatus = types.CollectorStatus(jtv) } - case "LocalCollectorS3Access": if value != nil { jtv, ok := value.(bool) @@ -14638,7 +14610,6 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.LocalCollectorS3Access = ptr.Bool(jtv) } - case "WebCollectorGrantedRoleBasedAccess": if value != nil { jtv, ok := value.(bool) @@ -14647,7 +14618,6 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.WebCollectorGrantedRoleBasedAccess = ptr.Bool(jtv) } - case "WebCollectorS3Access": if value != nil { jtv, ok := value.(bool) @@ -14656,7 +14626,6 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.WebCollectorS3Access = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14686,15 +14655,9 @@ func awsAwsjson11_deserializeDocumentCollectorNotFoundFault(v **types.CollectorN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14702,15 +14665,11 @@ func awsAwsjson11_deserializeDocumentCollectorNotFoundFault(v **types.CollectorN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14741,7 +14700,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon if err := awsAwsjson11_deserializeDocumentCollectorHealthCheck(&sv.CollectorHealthCheck, value); err != nil { return err } - case "CollectorName": if value != nil { jtv, ok := value.(string) @@ -14750,7 +14708,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorName = ptr.String(jtv) } - case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -14759,7 +14716,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorReferencedId = ptr.String(jtv) } - case "CollectorVersion": if value != nil { jtv, ok := value.(string) @@ -14768,7 +14724,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorVersion = ptr.String(jtv) } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -14777,7 +14732,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14786,12 +14740,10 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.Description = ptr.String(jtv) } - case "InventoryData": if err := awsAwsjson11_deserializeDocumentInventoryData(&sv.InventoryData, value); err != nil { return err } - case "LastDataReceived": if value != nil { jtv, ok := value.(string) @@ -14800,7 +14752,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.LastDataReceived = ptr.String(jtv) } - case "ModifiedDate": if value != nil { jtv, ok := value.(string) @@ -14809,7 +14760,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.ModifiedDate = ptr.String(jtv) } - case "RegisteredDate": if value != nil { jtv, ok := value.(string) @@ -14818,7 +14768,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.RegisteredDate = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14827,7 +14776,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.S3BucketName = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -14836,7 +14784,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "VersionStatus": if value != nil { jtv, ok := value.(string) @@ -14845,7 +14792,6 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.VersionStatus = types.VersionStatus(jtv) } - default: _, _ = key, value @@ -14919,7 +14865,6 @@ func awsAwsjson11_deserializeDocumentCollectorShortInfoResponse(v **types.Collec } sv.CollectorName = ptr.String(jtv) } - case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -14928,7 +14873,6 @@ func awsAwsjson11_deserializeDocumentCollectorShortInfoResponse(v **types.Collec } sv.CollectorReferencedId = ptr.String(jtv) } - default: _, _ = key, value @@ -15002,7 +14946,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.AvailabilityZone = ptr.String(jtv) } - case "DnsNameServers": if value != nil { jtv, ok := value.(string) @@ -15011,7 +14954,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.DnsNameServers = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15020,7 +14962,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.KmsKeyId = ptr.String(jtv) } - case "MaxCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -15033,7 +14974,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MaxCapacityUnits = ptr.Int32(int32(i64)) } - case "MinCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -15046,7 +14986,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MinCapacityUnits = ptr.Int32(int32(i64)) } - case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -15055,7 +14994,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MultiAZ = ptr.Bool(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -15064,7 +15002,6 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "ReplicationSubnetGroupId": if value != nil { jtv, ok := value.(string) @@ -15073,12 +15010,10 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.ReplicationSubnetGroupId = ptr.String(jtv) } - case "VpcSecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - default: _, _ = key, value @@ -15118,7 +15053,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EndpointArn = ptr.String(jtv) } - case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -15127,7 +15061,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EndpointIdentifier = ptr.String(jtv) } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -15136,7 +15069,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LastFailureMessage = ptr.String(jtv) } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -15145,7 +15077,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -15154,7 +15085,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15163,7 +15093,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15237,7 +15166,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.Engine = ptr.String(jtv) } - case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -15246,7 +15174,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.EngineEdition = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -15255,7 +15182,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.EngineVersion = ptr.String(jtv) } - case "OsArchitecture": if value != nil { jtv, ok := value.(json.Number) @@ -15268,7 +15194,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.OsArchitecture = ptr.Int32(int32(i64)) } - case "ServicePack": if value != nil { jtv, ok := value.(string) @@ -15277,7 +15202,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.ServicePack = ptr.String(jtv) } - case "SupportLevel": if value != nil { jtv, ok := value.(string) @@ -15286,7 +15210,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.SupportLevel = ptr.String(jtv) } - case "Tooltip": if value != nil { jtv, ok := value.(string) @@ -15295,7 +15218,6 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.Tooltip = ptr.String(jtv) } - default: _, _ = key, value @@ -15365,7 +15287,6 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse if err := awsAwsjson11_deserializeDocumentCollectorsList(&sv.Collectors, value); err != nil { return err } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -15374,7 +15295,6 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.DatabaseId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -15383,7 +15303,6 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.DatabaseName = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -15392,7 +15311,6 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.IpAddress = ptr.String(jtv) } - case "NumberOfSchemas": if value != nil { jtv, ok := value.(json.Number) @@ -15405,17 +15323,14 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.NumberOfSchemas = ptr.Int64(i64) } - case "Server": if err := awsAwsjson11_deserializeDocumentServerShortInfoResponse(&sv.Server, value); err != nil { return err } - case "SoftwareDetails": if err := awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(&sv.SoftwareDetails, value); err != nil { return err } - default: _, _ = key, value @@ -15455,7 +15370,6 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseEngine = ptr.String(jtv) } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -15464,7 +15378,6 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseId = ptr.String(jtv) } - case "DatabaseIpAddress": if value != nil { jtv, ok := value.(string) @@ -15473,7 +15386,6 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseIpAddress = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -15482,7 +15394,6 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseName = ptr.String(jtv) } - default: _, _ = key, value @@ -15522,12 +15433,10 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationArn = ptr.String(jtv) } - case "DataMigrationCidrBlocks": if err := awsAwsjson11_deserializeDocumentDataMigrationCidrBlock(&sv.DataMigrationCidrBlocks, value); err != nil { return err } - case "DataMigrationCreateTime": if value != nil { jtv, ok := value.(string) @@ -15540,7 +15449,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationCreateTime = ptr.Time(t) } - case "DataMigrationEndTime": if value != nil { jtv, ok := value.(string) @@ -15553,7 +15461,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationEndTime = ptr.Time(t) } - case "DataMigrationName": if value != nil { jtv, ok := value.(string) @@ -15562,12 +15469,10 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationName = ptr.String(jtv) } - case "DataMigrationSettings": if err := awsAwsjson11_deserializeDocumentDataMigrationSettings(&sv.DataMigrationSettings, value); err != nil { return err } - case "DataMigrationStartTime": if value != nil { jtv, ok := value.(string) @@ -15580,12 +15485,10 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationStartTime = ptr.Time(t) } - case "DataMigrationStatistics": if err := awsAwsjson11_deserializeDocumentDataMigrationStatistics(&sv.DataMigrationStatistics, value); err != nil { return err } - case "DataMigrationStatus": if value != nil { jtv, ok := value.(string) @@ -15594,7 +15497,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationStatus = ptr.String(jtv) } - case "DataMigrationType": if value != nil { jtv, ok := value.(string) @@ -15603,7 +15505,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationType = types.MigrationTypeValue(jtv) } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -15612,7 +15513,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.LastFailureMessage = ptr.String(jtv) } - case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -15621,12 +15521,10 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.MigrationProjectArn = ptr.String(jtv) } - case "PublicIpAddresses": if err := awsAwsjson11_deserializeDocumentPublicIpAddressList(&sv.PublicIpAddresses, value); err != nil { return err } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -15635,12 +15533,10 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "SourceDataSettings": if err := awsAwsjson11_deserializeDocumentSourceDataSettings(&sv.SourceDataSettings, value); err != nil { return err } - case "StopReason": if value != nil { jtv, ok := value.(string) @@ -15649,7 +15545,6 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.StopReason = ptr.String(jtv) } - default: _, _ = key, value @@ -15759,7 +15654,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.CloudwatchLogsEnabled = ptr.Bool(jtv) } - case "NumberOfJobs": if value != nil { jtv, ok := value.(json.Number) @@ -15772,7 +15666,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.NumberOfJobs = ptr.Int32(int32(i64)) } - case "SelectionRules": if value != nil { jtv, ok := value.(string) @@ -15781,7 +15674,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.SelectionRules = ptr.String(jtv) } - default: _, _ = key, value @@ -15825,7 +15717,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.CDCLatency = int32(i64) } - case "ElapsedTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -15838,7 +15729,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.ElapsedTimeMillis = i64 } - case "FullLoadPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -15851,7 +15741,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.FullLoadPercentage = int32(i64) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -15864,7 +15753,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.StartTime = ptr.Time(t) } - case "StopTime": if value != nil { jtv, ok := value.(string) @@ -15877,7 +15765,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.StopTime = ptr.Time(t) } - case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -15890,7 +15777,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesErrored = int32(i64) } - case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -15903,7 +15789,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesLoaded = int32(i64) } - case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -15916,7 +15801,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesLoading = int32(i64) } - case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -15929,7 +15813,6 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesQueued = int32(i64) } - default: _, _ = key, value @@ -15969,7 +15852,6 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderArn = ptr.String(jtv) } - case "DataProviderCreationTime": if value != nil { jtv, ok := value.(string) @@ -15982,7 +15864,6 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderCreationTime = ptr.Time(t) } - case "DataProviderName": if value != nil { jtv, ok := value.(string) @@ -15991,7 +15872,6 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16000,7 +15880,6 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.Description = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -16009,12 +15888,10 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.Engine = ptr.String(jtv) } - case "Settings": if err := awsAwsjson11_deserializeDocumentDataProviderSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -16054,7 +15931,6 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.DataProviderArn = ptr.String(jtv) } - case "DataProviderName": if value != nil { jtv, ok := value.(string) @@ -16063,7 +15939,6 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.DataProviderName = ptr.String(jtv) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16072,7 +15947,6 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -16081,7 +15955,6 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.SecretsManagerSecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -16299,7 +16172,6 @@ func awsAwsjson11_deserializeDocumentDefaultErrorDetails(v **types.DefaultErrorD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -16339,7 +16211,6 @@ func awsAwsjson11_deserializeDocumentDmsTransferSettings(v **types.DmsTransferSe } sv.BucketName = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16348,7 +16219,6 @@ func awsAwsjson11_deserializeDocumentDmsTransferSettings(v **types.DmsTransferSe } sv.ServiceAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16388,7 +16258,6 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16397,7 +16266,6 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16410,7 +16278,6 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16419,7 +16286,6 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -16428,7 +16294,6 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -16468,7 +16333,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.DatabaseName = ptr.String(jtv) } - case "DocsToInvestigate": if value != nil { jtv, ok := value.(json.Number) @@ -16481,7 +16345,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.DocsToInvestigate = ptr.Int32(int32(i64)) } - case "ExtractDocId": if value != nil { jtv, ok := value.(bool) @@ -16490,7 +16353,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ExtractDocId = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16499,7 +16361,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.KmsKeyId = ptr.String(jtv) } - case "NestingLevel": if value != nil { jtv, ok := value.(string) @@ -16508,7 +16369,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.NestingLevel = types.NestingLevelValue(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -16517,7 +16377,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16530,7 +16389,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Port = ptr.Int32(int32(i64)) } - case "ReplicateShardCollections": if value != nil { jtv, ok := value.(bool) @@ -16539,7 +16397,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ReplicateShardCollections = ptr.Bool(jtv) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16548,7 +16405,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -16557,7 +16413,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16566,7 +16421,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ServerName = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -16575,7 +16429,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Username = ptr.String(jtv) } - case "UseUpdateLookUp": if value != nil { jtv, ok := value.(bool) @@ -16584,7 +16437,6 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.UseUpdateLookUp = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16624,7 +16476,6 @@ func awsAwsjson11_deserializeDocumentDynamoDbSettings(v **types.DynamoDbSettings } sv.ServiceAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16664,7 +16515,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.EndpointUri = ptr.String(jtv) } - case "ErrorRetryDuration": if value != nil { jtv, ok := value.(json.Number) @@ -16677,7 +16527,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.ErrorRetryDuration = ptr.Int32(int32(i64)) } - case "FullLoadErrorPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -16690,7 +16539,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.FullLoadErrorPercentage = ptr.Int32(int32(i64)) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16699,7 +16547,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "UseNewMappingType": if value != nil { jtv, ok := value.(bool) @@ -16708,7 +16555,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.UseNewMappingType = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16748,7 +16594,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16757,27 +16602,22 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.DatabaseName = ptr.String(jtv) } - case "DmsTransferSettings": if err := awsAwsjson11_deserializeDocumentDmsTransferSettings(&sv.DmsTransferSettings, value); err != nil { return err } - case "DocDbSettings": if err := awsAwsjson11_deserializeDocumentDocDbSettings(&sv.DocDbSettings, value); err != nil { return err } - case "DynamoDbSettings": if err := awsAwsjson11_deserializeDocumentDynamoDbSettings(&sv.DynamoDbSettings, value); err != nil { return err } - case "ElasticsearchSettings": if err := awsAwsjson11_deserializeDocumentElasticsearchSettings(&sv.ElasticsearchSettings, value); err != nil { return err } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -16786,7 +16626,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } - case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -16795,7 +16634,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointIdentifier = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -16804,7 +16642,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointType = types.ReplicationEndpointTypeValue(jtv) } - case "EngineDisplayName": if value != nil { jtv, ok := value.(string) @@ -16813,7 +16650,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EngineDisplayName = ptr.String(jtv) } - case "EngineName": if value != nil { jtv, ok := value.(string) @@ -16822,7 +16658,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EngineName = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -16831,7 +16666,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExternalId = ptr.String(jtv) } - case "ExternalTableDefinition": if value != nil { jtv, ok := value.(string) @@ -16840,7 +16674,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExternalTableDefinition = ptr.String(jtv) } - case "ExtraConnectionAttributes": if value != nil { jtv, ok := value.(string) @@ -16849,27 +16682,22 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExtraConnectionAttributes = ptr.String(jtv) } - case "GcpMySQLSettings": if err := awsAwsjson11_deserializeDocumentGcpMySQLSettings(&sv.GcpMySQLSettings, value); err != nil { return err } - case "IBMDb2Settings": if err := awsAwsjson11_deserializeDocumentIBMDb2Settings(&sv.IBMDb2Settings, value); err != nil { return err } - case "KafkaSettings": if err := awsAwsjson11_deserializeDocumentKafkaSettings(&sv.KafkaSettings, value); err != nil { return err } - case "KinesisSettings": if err := awsAwsjson11_deserializeDocumentKinesisSettings(&sv.KinesisSettings, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16878,32 +16706,26 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "MicrosoftSQLServerSettings": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(&sv.MicrosoftSQLServerSettings, value); err != nil { return err } - case "MongoDbSettings": if err := awsAwsjson11_deserializeDocumentMongoDbSettings(&sv.MongoDbSettings, value); err != nil { return err } - case "MySQLSettings": if err := awsAwsjson11_deserializeDocumentMySQLSettings(&sv.MySQLSettings, value); err != nil { return err } - case "NeptuneSettings": if err := awsAwsjson11_deserializeDocumentNeptuneSettings(&sv.NeptuneSettings, value); err != nil { return err } - case "OracleSettings": if err := awsAwsjson11_deserializeDocumentOracleSettings(&sv.OracleSettings, value); err != nil { return err } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16916,27 +16738,22 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.Int32(int32(i64)) } - case "PostgreSQLSettings": if err := awsAwsjson11_deserializeDocumentPostgreSQLSettings(&sv.PostgreSQLSettings, value); err != nil { return err } - case "RedisSettings": if err := awsAwsjson11_deserializeDocumentRedisSettings(&sv.RedisSettings, value); err != nil { return err } - case "RedshiftSettings": if err := awsAwsjson11_deserializeDocumentRedshiftSettings(&sv.RedshiftSettings, value); err != nil { return err } - case "S3Settings": if err := awsAwsjson11_deserializeDocumentS3Settings(&sv.S3Settings, value); err != nil { return err } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16945,7 +16762,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServerName = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16954,7 +16770,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -16963,7 +16778,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SslMode = types.DmsSslModeValue(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16972,17 +16786,14 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Status = ptr.String(jtv) } - case "SybaseSettings": if err := awsAwsjson11_deserializeDocumentSybaseSettings(&sv.SybaseSettings, value); err != nil { return err } - case "TimestreamSettings": if err := awsAwsjson11_deserializeDocumentTimestreamSettings(&sv.TimestreamSettings, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -16991,7 +16802,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -17065,7 +16875,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Applicability = ptr.String(jtv) } - case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -17074,12 +16883,10 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.DefaultValue = ptr.String(jtv) } - case "EnumValues": if err := awsAwsjson11_deserializeDocumentEndpointSettingEnumValues(&sv.EnumValues, value); err != nil { return err } - case "IntValueMax": if value != nil { jtv, ok := value.(json.Number) @@ -17092,7 +16899,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.IntValueMax = ptr.Int32(int32(i64)) } - case "IntValueMin": if value != nil { jtv, ok := value.(json.Number) @@ -17105,7 +16911,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.IntValueMin = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17114,7 +16919,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Name = ptr.String(jtv) } - case "Sensitive": if value != nil { jtv, ok := value.(bool) @@ -17123,7 +16927,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Sensitive = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17132,7 +16935,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Type = types.EndpointSettingTypeValue(jtv) } - case "Units": if value != nil { jtv, ok := value.(string) @@ -17141,7 +16943,6 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Units = ptr.String(jtv) } - default: _, _ = key, value @@ -17258,12 +17059,10 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } - case "AvailableUpgrades": if err := awsAwsjson11_deserializeDocumentAvailableUpgradesList(&sv.AvailableUpgrades, value); err != nil { return err } - case "DeprecationDate": if value != nil { switch jtv := value.(type) { @@ -17279,7 +17078,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } - case "ForceUpgradeDate": if value != nil { switch jtv := value.(type) { @@ -17295,7 +17093,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } - case "LaunchDate": if value != nil { switch jtv := value.(type) { @@ -17311,7 +17108,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -17320,7 +17116,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Lifecycle = ptr.String(jtv) } - case "ReleaseStatus": if value != nil { jtv, ok := value.(string) @@ -17329,7 +17124,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.ReleaseStatus = types.ReleaseStatusValues(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -17338,7 +17132,6 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -17459,12 +17252,10 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "EventCategories": if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategories, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17473,7 +17264,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } - case "SourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -17482,7 +17272,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceIdentifier = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17491,7 +17280,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -17563,7 +17351,6 @@ func awsAwsjson11_deserializeDocumentEventCategoryGroup(v **types.EventCategoryG if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategories, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17572,7 +17359,6 @@ func awsAwsjson11_deserializeDocumentEventCategoryGroup(v **types.EventCategoryG } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -17680,7 +17466,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.CustomerAwsId = ptr.String(jtv) } - case "CustSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -17689,7 +17474,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.CustSubscriptionId = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17698,12 +17482,10 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Enabled = jtv } - case "EventCategoriesList": if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategoriesList, value); err != nil { return err } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -17712,12 +17494,10 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SnsTopicArn = ptr.String(jtv) } - case "SourceIdsList": if err := awsAwsjson11_deserializeDocumentSourceIdsList(&sv.SourceIdsList, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17726,7 +17506,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SourceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17735,7 +17514,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Status = ptr.String(jtv) } - case "SubscriptionCreationTime": if value != nil { jtv, ok := value.(string) @@ -17744,7 +17522,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SubscriptionCreationTime = ptr.String(jtv) } - default: _, _ = key, value @@ -17818,7 +17595,6 @@ func awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(v } sv.ObjectURL = ptr.String(jtv) } - case "S3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -17827,7 +17603,6 @@ func awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(v } sv.S3ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -17867,7 +17642,6 @@ func awsAwsjson11_deserializeDocumentExportSqlDetails(v **types.ExportSqlDetails } sv.ObjectURL = ptr.String(jtv) } - case "S3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -17876,7 +17650,6 @@ func awsAwsjson11_deserializeDocumentExportSqlDetails(v **types.ExportSqlDetails } sv.S3ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -17906,15 +17679,9 @@ func awsAwsjson11_deserializeDocumentFailedDependencyFault(v **types.FailedDepen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17922,15 +17689,11 @@ func awsAwsjson11_deserializeDocumentFailedDependencyFault(v **types.FailedDepen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17965,7 +17728,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponse(v **types.F } sv.LsaAnalysisId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17974,7 +17736,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponse(v **types.F } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -18120,7 +17881,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.CodeLineCount = ptr.Int64(i64) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -18133,7 +17893,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.CodeSize = ptr.Int64(i64) } - case "NumberOfObjects": if value != nil { jtv, ok := value.(json.Number) @@ -18146,7 +17905,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.NumberOfObjects = ptr.Int64(i64) } - case "ObjectType": if value != nil { jtv, ok := value.(string) @@ -18155,7 +17913,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.ObjectType = ptr.String(jtv) } - case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -18164,7 +17921,6 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.SchemaId = ptr.String(jtv) } - default: _, _ = key, value @@ -18204,7 +17960,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.AfterConnectScript = ptr.String(jtv) } - case "CleanSourceMetadataOnMismatch": if value != nil { jtv, ok := value.(bool) @@ -18213,7 +17968,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.CleanSourceMetadataOnMismatch = ptr.Bool(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -18222,7 +17976,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.DatabaseName = ptr.String(jtv) } - case "EventsPollInterval": if value != nil { jtv, ok := value.(json.Number) @@ -18235,7 +17988,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.EventsPollInterval = ptr.Int32(int32(i64)) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -18248,7 +18000,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "ParallelLoadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -18261,7 +18012,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ParallelLoadThreads = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -18270,7 +18020,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -18283,7 +18032,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -18292,7 +18040,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -18301,7 +18048,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -18310,7 +18056,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ServerName = ptr.String(jtv) } - case "ServerTimezone": if value != nil { jtv, ok := value.(string) @@ -18319,7 +18064,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ServerTimezone = ptr.String(jtv) } - case "TargetDbType": if value != nil { jtv, ok := value.(string) @@ -18328,7 +18072,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.TargetDbType = types.TargetDbType(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -18337,7 +18080,6 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -18377,7 +18119,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.CurrentLsn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -18386,7 +18127,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.DatabaseName = ptr.String(jtv) } - case "KeepCsvFiles": if value != nil { jtv, ok := value.(bool) @@ -18395,7 +18135,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.KeepCsvFiles = ptr.Bool(jtv) } - case "LoadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -18408,7 +18147,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.LoadTimeout = ptr.Int32(int32(i64)) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -18421,7 +18159,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "MaxKBytesPerRead": if value != nil { jtv, ok := value.(json.Number) @@ -18434,7 +18171,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.MaxKBytesPerRead = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -18443,7 +18179,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -18456,7 +18191,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -18465,7 +18199,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -18474,7 +18207,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -18483,7 +18215,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.ServerName = ptr.String(jtv) } - case "SetDataCaptureChanges": if value != nil { jtv, ok := value.(bool) @@ -18492,7 +18223,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SetDataCaptureChanges = ptr.Bool(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -18501,7 +18231,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Username = ptr.String(jtv) } - case "WriteBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -18514,7 +18243,6 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.WriteBufferSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18590,7 +18318,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.AvailabilityZone = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18599,7 +18326,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Description = ptr.String(jtv) } - case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -18608,7 +18334,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileArn = ptr.String(jtv) } - case "InstanceProfileCreationTime": if value != nil { jtv, ok := value.(string) @@ -18621,7 +18346,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileCreationTime = ptr.Time(t) } - case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -18630,7 +18354,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileName = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -18639,7 +18362,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.KmsKeyArn = ptr.String(jtv) } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -18648,7 +18370,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.NetworkType = ptr.String(jtv) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -18657,7 +18378,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "SubnetGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -18666,12 +18386,10 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.SubnetGroupIdentifier = ptr.String(jtv) } - case "VpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -18735,15 +18453,9 @@ func awsAwsjson11_deserializeDocumentInsufficientResourceCapacityFault(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18751,15 +18463,11 @@ func awsAwsjson11_deserializeDocumentInsufficientResourceCapacityFault(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18824,15 +18532,9 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateFault(v **types.InvalidCe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18840,15 +18542,11 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateFault(v **types.InvalidCe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18873,15 +18571,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationFault(v **types.InvalidOper sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18889,15 +18581,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationFault(v **types.InvalidOper } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18922,15 +18610,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateFault(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18938,15 +18620,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateFault(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18971,15 +18649,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18987,15 +18659,11 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19034,7 +18702,6 @@ func awsAwsjson11_deserializeDocumentInventoryData(v **types.InventoryData, valu } sv.NumberOfDatabases = ptr.Int32(int32(i64)) } - case "NumberOfSchemas": if value != nil { jtv, ok := value.(json.Number) @@ -19047,7 +18714,6 @@ func awsAwsjson11_deserializeDocumentInventoryData(v **types.InventoryData, valu } sv.NumberOfSchemas = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19087,7 +18753,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.Broker = ptr.String(jtv) } - case "IncludeControlDetails": if value != nil { jtv, ok := value.(bool) @@ -19096,7 +18761,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeControlDetails = ptr.Bool(jtv) } - case "IncludeNullAndEmpty": if value != nil { jtv, ok := value.(bool) @@ -19105,7 +18769,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeNullAndEmpty = ptr.Bool(jtv) } - case "IncludePartitionValue": if value != nil { jtv, ok := value.(bool) @@ -19114,7 +18777,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludePartitionValue = ptr.Bool(jtv) } - case "IncludeTableAlterOperations": if value != nil { jtv, ok := value.(bool) @@ -19123,7 +18785,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeTableAlterOperations = ptr.Bool(jtv) } - case "IncludeTransactionDetails": if value != nil { jtv, ok := value.(bool) @@ -19132,7 +18793,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeTransactionDetails = ptr.Bool(jtv) } - case "MessageFormat": if value != nil { jtv, ok := value.(string) @@ -19141,7 +18801,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.MessageFormat = types.MessageFormatValue(jtv) } - case "MessageMaxBytes": if value != nil { jtv, ok := value.(json.Number) @@ -19154,7 +18813,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.MessageMaxBytes = ptr.Int32(int32(i64)) } - case "NoHexPrefix": if value != nil { jtv, ok := value.(bool) @@ -19163,7 +18821,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.NoHexPrefix = ptr.Bool(jtv) } - case "PartitionIncludeSchemaTable": if value != nil { jtv, ok := value.(bool) @@ -19172,7 +18829,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.PartitionIncludeSchemaTable = ptr.Bool(jtv) } - case "SaslMechanism": if value != nil { jtv, ok := value.(string) @@ -19181,7 +18837,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslMechanism = types.KafkaSaslMechanism(jtv) } - case "SaslPassword": if value != nil { jtv, ok := value.(string) @@ -19190,7 +18845,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslPassword = ptr.String(jtv) } - case "SaslUsername": if value != nil { jtv, ok := value.(string) @@ -19199,7 +18853,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslUsername = ptr.String(jtv) } - case "SecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -19208,7 +18861,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SecurityProtocol = types.KafkaSecurityProtocol(jtv) } - case "SslCaCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19217,7 +18869,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslCaCertificateArn = ptr.String(jtv) } - case "SslClientCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19226,7 +18877,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientCertificateArn = ptr.String(jtv) } - case "SslClientKeyArn": if value != nil { jtv, ok := value.(string) @@ -19235,7 +18885,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientKeyArn = ptr.String(jtv) } - case "SslClientKeyPassword": if value != nil { jtv, ok := value.(string) @@ -19244,7 +18893,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientKeyPassword = ptr.String(jtv) } - case "SslEndpointIdentificationAlgorithm": if value != nil { jtv, ok := value.(string) @@ -19253,7 +18901,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslEndpointIdentificationAlgorithm = types.KafkaSslEndpointIdentificationAlgorithm(jtv) } - case "Topic": if value != nil { jtv, ok := value.(string) @@ -19262,7 +18909,6 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.Topic = ptr.String(jtv) } - default: _, _ = key, value @@ -19302,7 +18948,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeControlDetails = ptr.Bool(jtv) } - case "IncludeNullAndEmpty": if value != nil { jtv, ok := value.(bool) @@ -19311,7 +18956,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeNullAndEmpty = ptr.Bool(jtv) } - case "IncludePartitionValue": if value != nil { jtv, ok := value.(bool) @@ -19320,7 +18964,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludePartitionValue = ptr.Bool(jtv) } - case "IncludeTableAlterOperations": if value != nil { jtv, ok := value.(bool) @@ -19329,7 +18972,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeTableAlterOperations = ptr.Bool(jtv) } - case "IncludeTransactionDetails": if value != nil { jtv, ok := value.(bool) @@ -19338,7 +18980,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeTransactionDetails = ptr.Bool(jtv) } - case "MessageFormat": if value != nil { jtv, ok := value.(string) @@ -19347,7 +18988,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.MessageFormat = types.MessageFormatValue(jtv) } - case "NoHexPrefix": if value != nil { jtv, ok := value.(bool) @@ -19356,7 +18996,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.NoHexPrefix = ptr.Bool(jtv) } - case "PartitionIncludeSchemaTable": if value != nil { jtv, ok := value.(bool) @@ -19365,7 +19004,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.PartitionIncludeSchemaTable = ptr.Bool(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -19374,7 +19012,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -19383,7 +19020,6 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19413,15 +19049,9 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedFault(v **types.KMSAccessDen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19429,15 +19059,11 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedFault(v **types.KMSAccessDen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19462,15 +19088,9 @@ func awsAwsjson11_deserializeDocumentKMSDisabledFault(v **types.KMSDisabledFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19478,15 +19098,11 @@ func awsAwsjson11_deserializeDocumentKMSDisabledFault(v **types.KMSDisabledFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19511,15 +19127,9 @@ func awsAwsjson11_deserializeDocumentKMSFault(v **types.KMSFault, value interfac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19527,15 +19137,11 @@ func awsAwsjson11_deserializeDocumentKMSFault(v **types.KMSFault, value interfac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19560,15 +19166,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateFault(v **types.KMSInvalidSt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19576,15 +19176,11 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateFault(v **types.KMSInvalidSt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19609,15 +19205,9 @@ func awsAwsjson11_deserializeDocumentKMSKeyNotAccessibleFault(v **types.KMSKeyNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19625,15 +19215,11 @@ func awsAwsjson11_deserializeDocumentKMSKeyNotAccessibleFault(v **types.KMSKeyNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19658,15 +19244,9 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundFault(v **types.KMSNotFoundFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19674,15 +19254,11 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundFault(v **types.KMSNotFoundFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19707,15 +19283,9 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingFault(v **types.KMSThrottlingF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19723,15 +19293,11 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingFault(v **types.KMSThrottlingF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19766,7 +19332,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.DatabaseId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19775,7 +19340,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Description = ptr.String(jtv) } - case "EngineName": if value != nil { jtv, ok := value.(string) @@ -19784,7 +19348,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.EngineName = ptr.String(jtv) } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -19793,7 +19356,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Impact = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19802,7 +19364,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19811,7 +19372,6 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -19885,7 +19445,6 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.CertificateArn = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19898,7 +19457,6 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19907,7 +19465,6 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -19916,7 +19473,6 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -19956,7 +19512,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -19965,7 +19520,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19978,7 +19532,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19987,7 +19540,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -19996,7 +19548,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -20040,7 +19591,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.BcpPacketSize = ptr.Int32(int32(i64)) } - case "ControlTablesFileGroup": if value != nil { jtv, ok := value.(string) @@ -20049,7 +19599,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ControlTablesFileGroup = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20058,7 +19607,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.DatabaseName = ptr.String(jtv) } - case "ForceLobLookup": if value != nil { jtv, ok := value.(bool) @@ -20067,7 +19615,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ForceLobLookup = ptr.Bool(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -20076,7 +19623,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20089,7 +19635,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Port = ptr.Int32(int32(i64)) } - case "QuerySingleAlwaysOnNode": if value != nil { jtv, ok := value.(bool) @@ -20098,7 +19643,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.QuerySingleAlwaysOnNode = ptr.Bool(jtv) } - case "ReadBackupOnly": if value != nil { jtv, ok := value.(bool) @@ -20107,7 +19651,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ReadBackupOnly = ptr.Bool(jtv) } - case "SafeguardPolicy": if value != nil { jtv, ok := value.(string) @@ -20116,7 +19659,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SafeguardPolicy = types.SafeguardPolicy(jtv) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20125,7 +19667,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20134,7 +19675,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20143,7 +19683,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ServerName = ptr.String(jtv) } - case "TlogAccessMode": if value != nil { jtv, ok := value.(string) @@ -20152,7 +19691,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.TlogAccessMode = types.TlogAccessMode(jtv) } - case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -20161,7 +19699,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.TrimSpaceInChar = ptr.Bool(jtv) } - case "UseBcpFullLoad": if value != nil { jtv, ok := value.(bool) @@ -20170,7 +19707,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.UseBcpFullLoad = ptr.Bool(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -20179,7 +19715,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Username = ptr.String(jtv) } - case "UseThirdPartyBackupDevice": if value != nil { jtv, ok := value.(bool) @@ -20188,7 +19723,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.UseThirdPartyBackupDevice = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20228,7 +19762,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.Description = ptr.String(jtv) } - case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -20237,7 +19770,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.InstanceProfileArn = ptr.String(jtv) } - case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -20246,7 +19778,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.InstanceProfileName = ptr.String(jtv) } - case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -20255,7 +19786,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectArn = ptr.String(jtv) } - case "MigrationProjectCreationTime": if value != nil { jtv, ok := value.(string) @@ -20268,7 +19798,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectCreationTime = ptr.Time(t) } - case "MigrationProjectName": if value != nil { jtv, ok := value.(string) @@ -20277,22 +19806,18 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectName = ptr.String(jtv) } - case "SchemaConversionApplicationAttributes": if err := awsAwsjson11_deserializeDocumentSCApplicationAttributes(&sv.SchemaConversionApplicationAttributes, value); err != nil { return err } - case "SourceDataProviderDescriptors": if err := awsAwsjson11_deserializeDocumentDataProviderDescriptorList(&sv.SourceDataProviderDescriptors, value); err != nil { return err } - case "TargetDataProviderDescriptors": if err := awsAwsjson11_deserializeDocumentDataProviderDescriptorList(&sv.TargetDataProviderDescriptors, value); err != nil { return err } - case "TransformationRules": if value != nil { jtv, ok := value.(string) @@ -20301,7 +19826,6 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.TransformationRules = ptr.String(jtv) } - default: _, _ = key, value @@ -20375,7 +19899,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthMechanism = types.AuthMechanismValue(jtv) } - case "AuthSource": if value != nil { jtv, ok := value.(string) @@ -20384,7 +19907,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthSource = ptr.String(jtv) } - case "AuthType": if value != nil { jtv, ok := value.(string) @@ -20393,7 +19915,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthType = types.AuthTypeValue(jtv) } - case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -20402,7 +19923,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20411,7 +19931,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20424,7 +19943,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20433,7 +19951,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -20442,7 +19959,6 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -20482,7 +19998,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthMechanism = types.AuthMechanismValue(jtv) } - case "AuthSource": if value != nil { jtv, ok := value.(string) @@ -20491,7 +20006,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthSource = ptr.String(jtv) } - case "AuthType": if value != nil { jtv, ok := value.(string) @@ -20500,7 +20014,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthType = types.AuthTypeValue(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20509,7 +20022,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.DatabaseName = ptr.String(jtv) } - case "DocsToInvestigate": if value != nil { jtv, ok := value.(string) @@ -20518,7 +20030,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.DocsToInvestigate = ptr.String(jtv) } - case "ExtractDocId": if value != nil { jtv, ok := value.(string) @@ -20527,7 +20038,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ExtractDocId = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20536,7 +20046,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.KmsKeyId = ptr.String(jtv) } - case "NestingLevel": if value != nil { jtv, ok := value.(string) @@ -20545,7 +20054,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.NestingLevel = types.NestingLevelValue(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -20554,7 +20062,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20567,7 +20074,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Port = ptr.Int32(int32(i64)) } - case "ReplicateShardCollections": if value != nil { jtv, ok := value.(bool) @@ -20576,7 +20082,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ReplicateShardCollections = ptr.Bool(jtv) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20585,7 +20090,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20594,7 +20098,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20603,7 +20106,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ServerName = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -20612,7 +20114,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Username = ptr.String(jtv) } - case "UseUpdateLookUp": if value != nil { jtv, ok := value.(bool) @@ -20621,7 +20122,6 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.UseUpdateLookUp = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20661,7 +20161,6 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.CertificateArn = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20674,7 +20173,6 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20683,7 +20181,6 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -20692,7 +20189,6 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -20732,7 +20228,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.AfterConnectScript = ptr.String(jtv) } - case "CleanSourceMetadataOnMismatch": if value != nil { jtv, ok := value.(bool) @@ -20741,7 +20236,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.CleanSourceMetadataOnMismatch = ptr.Bool(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20750,7 +20244,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.DatabaseName = ptr.String(jtv) } - case "EventsPollInterval": if value != nil { jtv, ok := value.(json.Number) @@ -20763,7 +20256,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.EventsPollInterval = ptr.Int32(int32(i64)) } - case "ExecuteTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -20776,7 +20268,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ExecuteTimeout = ptr.Int32(int32(i64)) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -20789,7 +20280,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "ParallelLoadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -20802,7 +20292,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ParallelLoadThreads = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -20811,7 +20300,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20824,7 +20312,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20833,7 +20320,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20842,7 +20328,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20851,7 +20336,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ServerName = ptr.String(jtv) } - case "ServerTimezone": if value != nil { jtv, ok := value.(string) @@ -20860,7 +20344,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ServerTimezone = ptr.String(jtv) } - case "TargetDbType": if value != nil { jtv, ok := value.(string) @@ -20869,7 +20352,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.TargetDbType = types.TargetDbType(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -20878,7 +20360,6 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -20922,7 +20403,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.ErrorRetryDuration = ptr.Int32(int32(i64)) } - case "IamAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -20931,7 +20411,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.IamAuthEnabled = ptr.Bool(jtv) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -20944,7 +20423,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "MaxRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -20957,7 +20435,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.MaxRetryCount = ptr.Int32(int32(i64)) } - case "S3BucketFolder": if value != nil { jtv, ok := value.(string) @@ -20966,7 +20443,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.S3BucketFolder = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -20975,7 +20451,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.S3BucketName = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20984,7 +20459,6 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.ServiceAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21024,7 +20498,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.AsmServer = ptr.String(jtv) } - case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -21033,7 +20506,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21042,7 +20514,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21055,7 +20526,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerOracleAsmAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -21064,7 +20534,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerOracleAsmAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerOracleAsmSecretId": if value != nil { jtv, ok := value.(string) @@ -21073,7 +20542,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerOracleAsmSecretId = ptr.String(jtv) } - case "SecretsManagerSecurityDbEncryptionAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -21082,7 +20550,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerSecurityDbEncryptionAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecurityDbEncryptionSecretId": if value != nil { jtv, ok := value.(string) @@ -21091,7 +20558,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerSecurityDbEncryptionSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21100,7 +20566,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -21109,7 +20574,6 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -21149,7 +20613,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AccessAlternateDirectly = ptr.Bool(jtv) } - case "AdditionalArchivedLogDestId": if value != nil { jtv, ok := value.(json.Number) @@ -21162,7 +20625,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AdditionalArchivedLogDestId = ptr.Int32(int32(i64)) } - case "AddSupplementalLogging": if value != nil { jtv, ok := value.(bool) @@ -21171,7 +20633,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AddSupplementalLogging = ptr.Bool(jtv) } - case "AllowSelectNestedTables": if value != nil { jtv, ok := value.(bool) @@ -21180,7 +20641,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AllowSelectNestedTables = ptr.Bool(jtv) } - case "ArchivedLogDestId": if value != nil { jtv, ok := value.(json.Number) @@ -21193,7 +20653,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ArchivedLogDestId = ptr.Int32(int32(i64)) } - case "ArchivedLogsOnly": if value != nil { jtv, ok := value.(bool) @@ -21202,7 +20661,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ArchivedLogsOnly = ptr.Bool(jtv) } - case "AsmPassword": if value != nil { jtv, ok := value.(string) @@ -21211,7 +20669,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmPassword = ptr.String(jtv) } - case "AsmServer": if value != nil { jtv, ok := value.(string) @@ -21220,7 +20677,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmServer = ptr.String(jtv) } - case "AsmUser": if value != nil { jtv, ok := value.(string) @@ -21229,7 +20685,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmUser = ptr.String(jtv) } - case "CharLengthSemantics": if value != nil { jtv, ok := value.(string) @@ -21238,7 +20693,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.CharLengthSemantics = types.CharLengthSemantics(jtv) } - case "ConvertTimestampWithZoneToUTC": if value != nil { jtv, ok := value.(bool) @@ -21247,7 +20701,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ConvertTimestampWithZoneToUTC = ptr.Bool(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21256,7 +20709,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DatabaseName = ptr.String(jtv) } - case "DirectPathNoLog": if value != nil { jtv, ok := value.(bool) @@ -21265,7 +20717,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DirectPathNoLog = ptr.Bool(jtv) } - case "DirectPathParallelLoad": if value != nil { jtv, ok := value.(bool) @@ -21274,7 +20725,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DirectPathParallelLoad = ptr.Bool(jtv) } - case "EnableHomogenousTablespace": if value != nil { jtv, ok := value.(bool) @@ -21283,12 +20733,10 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.EnableHomogenousTablespace = ptr.Bool(jtv) } - case "ExtraArchivedLogDestIds": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.ExtraArchivedLogDestIds, value); err != nil { return err } - case "FailTasksOnLobTruncation": if value != nil { jtv, ok := value.(bool) @@ -21297,7 +20745,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.FailTasksOnLobTruncation = ptr.Bool(jtv) } - case "NumberDatatypeScale": if value != nil { jtv, ok := value.(json.Number) @@ -21310,7 +20757,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.NumberDatatypeScale = ptr.Int32(int32(i64)) } - case "OpenTransactionWindow": if value != nil { jtv, ok := value.(json.Number) @@ -21323,7 +20769,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.OpenTransactionWindow = ptr.Int32(int32(i64)) } - case "OraclePathPrefix": if value != nil { jtv, ok := value.(string) @@ -21332,7 +20777,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.OraclePathPrefix = ptr.String(jtv) } - case "ParallelAsmReadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -21345,7 +20789,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ParallelAsmReadThreads = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -21354,7 +20797,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21367,7 +20809,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Port = ptr.Int32(int32(i64)) } - case "ReadAheadBlocks": if value != nil { jtv, ok := value.(json.Number) @@ -21380,7 +20821,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReadAheadBlocks = ptr.Int32(int32(i64)) } - case "ReadTableSpaceName": if value != nil { jtv, ok := value.(bool) @@ -21389,7 +20829,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReadTableSpaceName = ptr.Bool(jtv) } - case "ReplacePathPrefix": if value != nil { jtv, ok := value.(bool) @@ -21398,7 +20837,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReplacePathPrefix = ptr.Bool(jtv) } - case "RetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -21411,7 +20849,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.RetryInterval = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -21420,7 +20857,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerOracleAsmAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -21429,7 +20865,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerOracleAsmAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerOracleAsmSecretId": if value != nil { jtv, ok := value.(string) @@ -21438,7 +20873,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerOracleAsmSecretId = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -21447,7 +20881,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "SecurityDbEncryption": if value != nil { jtv, ok := value.(string) @@ -21456,7 +20889,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecurityDbEncryption = ptr.String(jtv) } - case "SecurityDbEncryptionName": if value != nil { jtv, ok := value.(string) @@ -21465,7 +20897,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecurityDbEncryptionName = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21474,7 +20905,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ServerName = ptr.String(jtv) } - case "SpatialDataOptionToGeoJsonFunctionName": if value != nil { jtv, ok := value.(string) @@ -21483,7 +20913,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SpatialDataOptionToGeoJsonFunctionName = ptr.String(jtv) } - case "StandbyDelayTime": if value != nil { jtv, ok := value.(json.Number) @@ -21496,7 +20925,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.StandbyDelayTime = ptr.Int32(int32(i64)) } - case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -21505,7 +20933,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.TrimSpaceInChar = ptr.Bool(jtv) } - case "UseAlternateFolderForOnline": if value != nil { jtv, ok := value.(bool) @@ -21514,7 +20941,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseAlternateFolderForOnline = ptr.Bool(jtv) } - case "UseBFile": if value != nil { jtv, ok := value.(bool) @@ -21523,7 +20949,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseBFile = ptr.Bool(jtv) } - case "UseDirectPathFullLoad": if value != nil { jtv, ok := value.(bool) @@ -21532,7 +20957,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseDirectPathFullLoad = ptr.Bool(jtv) } - case "UseLogminerReader": if value != nil { jtv, ok := value.(bool) @@ -21541,7 +20965,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseLogminerReader = ptr.Bool(jtv) } - case "UsePathPrefix": if value != nil { jtv, ok := value.(string) @@ -21550,7 +20973,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UsePathPrefix = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -21559,7 +20981,6 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -21595,7 +21016,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde if err := awsAwsjson11_deserializeDocumentAvailabilityZonesList(&sv.AvailabilityZones, value); err != nil { return err } - case "DefaultAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21608,7 +21028,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.DefaultAllocatedStorage = int32(i64) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -21617,7 +21036,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.EngineVersion = ptr.String(jtv) } - case "IncludedAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21630,7 +21048,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.IncludedAllocatedStorage = int32(i64) } - case "MaxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21643,7 +21060,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.MaxAllocatedStorage = int32(i64) } - case "MinAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21656,7 +21072,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.MinAllocatedStorage = int32(i64) } - case "ReleaseStatus": if value != nil { jtv, ok := value.(string) @@ -21665,7 +21080,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.ReleaseStatus = types.ReleaseStatusValues(jtv) } - case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -21674,7 +21088,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.ReplicationInstanceClass = ptr.String(jtv) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -21683,7 +21096,6 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -21757,7 +21169,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Action = ptr.String(jtv) } - case "AutoAppliedAfterDate": if value != nil { switch jtv := value.(type) { @@ -21773,7 +21184,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } - case "CurrentApplyDate": if value != nil { switch jtv := value.(type) { @@ -21789,7 +21199,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21798,7 +21207,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Description = ptr.String(jtv) } - case "ForcedApplyDate": if value != nil { switch jtv := value.(type) { @@ -21814,7 +21222,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } - case "OptInStatus": if value != nil { jtv, ok := value.(string) @@ -21823,7 +21230,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.OptInStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -21931,7 +21337,6 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21940,7 +21345,6 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21953,7 +21357,6 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21962,7 +21365,6 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -21971,7 +21373,6 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.SslMode = types.DmsSslModeValue(jtv) } - default: _, _ = key, value @@ -22011,7 +21412,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.AfterConnectScript = ptr.String(jtv) } - case "BabelfishDatabaseName": if value != nil { jtv, ok := value.(string) @@ -22020,7 +21420,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.BabelfishDatabaseName = ptr.String(jtv) } - case "CaptureDdls": if value != nil { jtv, ok := value.(bool) @@ -22029,7 +21428,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.CaptureDdls = ptr.Bool(jtv) } - case "DatabaseMode": if value != nil { jtv, ok := value.(string) @@ -22038,7 +21436,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DatabaseMode = types.DatabaseMode(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -22047,7 +21444,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DatabaseName = ptr.String(jtv) } - case "DdlArtifactsSchema": if value != nil { jtv, ok := value.(string) @@ -22056,7 +21452,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DdlArtifactsSchema = ptr.String(jtv) } - case "ExecuteTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -22069,7 +21464,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.ExecuteTimeout = ptr.Int32(int32(i64)) } - case "FailTasksOnLobTruncation": if value != nil { jtv, ok := value.(bool) @@ -22078,7 +21472,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.FailTasksOnLobTruncation = ptr.Bool(jtv) } - case "HeartbeatEnable": if value != nil { jtv, ok := value.(bool) @@ -22087,7 +21480,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatEnable = ptr.Bool(jtv) } - case "HeartbeatFrequency": if value != nil { jtv, ok := value.(json.Number) @@ -22100,7 +21492,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatFrequency = ptr.Int32(int32(i64)) } - case "HeartbeatSchema": if value != nil { jtv, ok := value.(string) @@ -22109,7 +21500,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatSchema = ptr.String(jtv) } - case "MapBooleanAsBoolean": if value != nil { jtv, ok := value.(bool) @@ -22118,7 +21508,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapBooleanAsBoolean = ptr.Bool(jtv) } - case "MapJsonbAsClob": if value != nil { jtv, ok := value.(bool) @@ -22127,7 +21516,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapJsonbAsClob = ptr.Bool(jtv) } - case "MapLongVarcharAs": if value != nil { jtv, ok := value.(string) @@ -22136,7 +21524,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapLongVarcharAs = types.LongVarcharMappingType(jtv) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -22149,7 +21536,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -22158,7 +21544,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Password = ptr.String(jtv) } - case "PluginName": if value != nil { jtv, ok := value.(string) @@ -22167,7 +21552,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.PluginName = types.PluginNameValue(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -22180,7 +21564,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -22189,7 +21572,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -22198,7 +21580,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -22207,7 +21588,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.ServerName = ptr.String(jtv) } - case "SlotName": if value != nil { jtv, ok := value.(string) @@ -22216,7 +21596,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SlotName = ptr.String(jtv) } - case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -22225,7 +21604,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.TrimSpaceInChar = ptr.Bool(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -22234,7 +21612,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -22281,7 +21658,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } } - case "DateProvisioned": if value != nil { switch jtv := value.(type) { @@ -22297,7 +21673,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } } - case "IsNewProvisioningAvailable": if value != nil { jtv, ok := value.(bool) @@ -22306,7 +21681,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.IsNewProvisioningAvailable = jtv } - case "ProvisionedCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -22319,7 +21693,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ProvisionedCapacityUnits = int32(i64) } - case "ProvisionState": if value != nil { jtv, ok := value.(string) @@ -22328,7 +21701,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ProvisionState = ptr.String(jtv) } - case "ReasonForNewProvisioningData": if value != nil { jtv, ok := value.(string) @@ -22337,7 +21709,6 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ReasonForNewProvisioningData = ptr.String(jtv) } - default: _, _ = key, value @@ -22413,7 +21784,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.DeploymentOption = ptr.String(jtv) } - case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -22422,7 +21792,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.EngineEdition = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -22431,7 +21800,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.EngineVersion = ptr.String(jtv) } - case "InstanceMemory": if value != nil { switch jtv := value.(type) { @@ -22465,7 +21833,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -22474,7 +21841,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.InstanceType = ptr.String(jtv) } - case "InstanceVcpu": if value != nil { switch jtv := value.(type) { @@ -22508,7 +21874,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } } - case "StorageIops": if value != nil { jtv, ok := value.(json.Number) @@ -22521,7 +21886,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageIops = ptr.Int32(int32(i64)) } - case "StorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -22534,7 +21898,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageSize = ptr.Int32(int32(i64)) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -22543,7 +21906,6 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -22579,12 +21941,10 @@ func awsAwsjson11_deserializeDocumentRdsRecommendation(v **types.RdsRecommendati if err := awsAwsjson11_deserializeDocumentRdsRequirements(&sv.RequirementsToTarget, value); err != nil { return err } - case "TargetConfiguration": if err := awsAwsjson11_deserializeDocumentRdsConfiguration(&sv.TargetConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -22624,7 +21984,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.DeploymentOption = ptr.String(jtv) } - case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -22633,7 +21992,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.EngineEdition = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -22642,7 +22000,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.EngineVersion = ptr.String(jtv) } - case "InstanceMemory": if value != nil { switch jtv := value.(type) { @@ -22676,7 +22033,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } } - case "InstanceVcpu": if value != nil { switch jtv := value.(type) { @@ -22710,7 +22066,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } } - case "StorageIops": if value != nil { jtv, ok := value.(json.Number) @@ -22723,7 +22078,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.StorageIops = ptr.Int32(int32(i64)) } - case "StorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -22736,7 +22090,6 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.StorageSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22776,12 +22129,10 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedDate = ptr.String(jtv) } - case "Data": if err := awsAwsjson11_deserializeDocumentRecommendationData(&sv.Data, value); err != nil { return err } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -22790,7 +22141,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.DatabaseId = ptr.String(jtv) } - case "EngineName": if value != nil { jtv, ok := value.(string) @@ -22799,7 +22149,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EngineName = ptr.String(jtv) } - case "Preferred": if value != nil { jtv, ok := value.(bool) @@ -22808,12 +22157,10 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Preferred = ptr.Bool(jtv) } - case "Settings": if err := awsAwsjson11_deserializeDocumentRecommendationSettings(&sv.Settings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22822,7 +22169,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -22858,7 +22204,6 @@ func awsAwsjson11_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsAwsjson11_deserializeDocumentRdsRecommendation(&sv.RdsEngine, value); err != nil { return err } - default: _, _ = key, value @@ -22932,7 +22277,6 @@ func awsAwsjson11_deserializeDocumentRecommendationSettings(v **types.Recommenda } sv.InstanceSizingType = ptr.String(jtv) } - case "WorkloadType": if value != nil { jtv, ok := value.(string) @@ -22941,7 +22285,6 @@ func awsAwsjson11_deserializeDocumentRecommendationSettings(v **types.Recommenda } sv.WorkloadType = ptr.String(jtv) } - default: _, _ = key, value @@ -22981,7 +22324,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthPassword = ptr.String(jtv) } - case "AuthType": if value != nil { jtv, ok := value.(string) @@ -22990,7 +22332,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthType = types.RedisAuthTypeValue(jtv) } - case "AuthUserName": if value != nil { jtv, ok := value.(string) @@ -22999,7 +22340,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthUserName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -23012,7 +22352,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.Port = int32(i64) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -23021,7 +22360,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.ServerName = ptr.String(jtv) } - case "SslCaCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23030,7 +22368,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.SslCaCertificateArn = ptr.String(jtv) } - case "SslSecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -23039,7 +22376,6 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.SslSecurityProtocol = types.SslSecurityProtocolValue(jtv) } - default: _, _ = key, value @@ -23079,7 +22415,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.DatabaseName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -23092,7 +22427,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -23101,7 +22435,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.ServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -23141,7 +22474,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.AcceptAnyDate = ptr.Bool(jtv) } - case "AfterConnectScript": if value != nil { jtv, ok := value.(string) @@ -23150,7 +22482,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.AfterConnectScript = ptr.String(jtv) } - case "BucketFolder": if value != nil { jtv, ok := value.(string) @@ -23159,7 +22490,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.BucketFolder = ptr.String(jtv) } - case "BucketName": if value != nil { jtv, ok := value.(string) @@ -23168,7 +22498,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.BucketName = ptr.String(jtv) } - case "CaseSensitiveNames": if value != nil { jtv, ok := value.(bool) @@ -23177,7 +22506,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.CaseSensitiveNames = ptr.Bool(jtv) } - case "CompUpdate": if value != nil { jtv, ok := value.(bool) @@ -23186,7 +22514,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.CompUpdate = ptr.Bool(jtv) } - case "ConnectionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -23199,7 +22526,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ConnectionTimeout = ptr.Int32(int32(i64)) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -23208,7 +22534,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.DatabaseName = ptr.String(jtv) } - case "DateFormat": if value != nil { jtv, ok := value.(string) @@ -23217,7 +22542,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.DateFormat = ptr.String(jtv) } - case "EmptyAsNull": if value != nil { jtv, ok := value.(bool) @@ -23226,7 +22550,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.EmptyAsNull = ptr.Bool(jtv) } - case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -23235,7 +22558,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.EncryptionMode = types.EncryptionModeValue(jtv) } - case "ExplicitIds": if value != nil { jtv, ok := value.(bool) @@ -23244,7 +22566,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ExplicitIds = ptr.Bool(jtv) } - case "FileTransferUploadStreams": if value != nil { jtv, ok := value.(json.Number) @@ -23257,7 +22578,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.FileTransferUploadStreams = ptr.Int32(int32(i64)) } - case "LoadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -23270,7 +22590,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.LoadTimeout = ptr.Int32(int32(i64)) } - case "MapBooleanAsBoolean": if value != nil { jtv, ok := value.(bool) @@ -23279,7 +22598,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.MapBooleanAsBoolean = ptr.Bool(jtv) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -23292,7 +22610,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -23301,7 +22618,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -23314,7 +22630,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Port = ptr.Int32(int32(i64)) } - case "RemoveQuotes": if value != nil { jtv, ok := value.(bool) @@ -23323,7 +22638,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.RemoveQuotes = ptr.Bool(jtv) } - case "ReplaceChars": if value != nil { jtv, ok := value.(string) @@ -23332,7 +22646,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ReplaceChars = ptr.String(jtv) } - case "ReplaceInvalidChars": if value != nil { jtv, ok := value.(string) @@ -23341,7 +22654,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ReplaceInvalidChars = ptr.String(jtv) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -23350,7 +22662,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -23359,7 +22670,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -23368,7 +22678,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServerName = ptr.String(jtv) } - case "ServerSideEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -23377,7 +22686,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServerSideEncryptionKmsKeyId = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -23386,7 +22694,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "TimeFormat": if value != nil { jtv, ok := value.(string) @@ -23395,7 +22702,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TimeFormat = ptr.String(jtv) } - case "TrimBlanks": if value != nil { jtv, ok := value.(bool) @@ -23404,7 +22710,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TrimBlanks = ptr.Bool(jtv) } - case "TruncateColumns": if value != nil { jtv, ok := value.(bool) @@ -23413,7 +22718,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TruncateColumns = ptr.Bool(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -23422,7 +22726,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Username = ptr.String(jtv) } - case "WriteBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -23435,7 +22738,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.WriteBufferSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23475,7 +22777,6 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.EndpointArn = ptr.String(jtv) } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -23484,7 +22785,6 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.LastFailureMessage = ptr.String(jtv) } - case "LastRefreshDate": if value != nil { switch jtv := value.(type) { @@ -23500,7 +22800,6 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -23509,7 +22808,6 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23518,7 +22816,6 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.Status = types.RefreshSchemasStatusTypeValue(jtv) } - default: _, _ = key, value @@ -23558,7 +22855,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.CdcStartPosition = ptr.String(jtv) } - case "CdcStartTime": if value != nil { switch jtv := value.(type) { @@ -23574,7 +22870,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } - case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -23583,17 +22878,14 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.CdcStopPosition = ptr.String(jtv) } - case "FailureMessages": if err := awsAwsjson11_deserializeDocumentStringList(&sv.FailureMessages, value); err != nil { return err } - case "ProvisionData": if err := awsAwsjson11_deserializeDocumentProvisionData(&sv.ProvisionData, value); err != nil { return err } - case "RecoveryCheckpoint": if value != nil { jtv, ok := value.(string) @@ -23602,7 +22894,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.RecoveryCheckpoint = ptr.String(jtv) } - case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -23611,7 +22902,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationConfigArn = ptr.String(jtv) } - case "ReplicationConfigIdentifier": if value != nil { jtv, ok := value.(string) @@ -23620,7 +22910,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationConfigIdentifier = ptr.String(jtv) } - case "ReplicationCreateTime": if value != nil { switch jtv := value.(type) { @@ -23636,7 +22925,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } - case "ReplicationDeprovisionTime": if value != nil { switch jtv := value.(type) { @@ -23652,7 +22940,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } - case "ReplicationLastStopTime": if value != nil { switch jtv := value.(type) { @@ -23668,12 +22955,10 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } - case "ReplicationStats": if err := awsAwsjson11_deserializeDocumentReplicationStats(&sv.ReplicationStats, value); err != nil { return err } - case "ReplicationType": if value != nil { jtv, ok := value.(string) @@ -23682,7 +22967,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationType = types.MigrationTypeValue(jtv) } - case "ReplicationUpdateTime": if value != nil { switch jtv := value.(type) { @@ -23698,7 +22982,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } - case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23707,7 +22990,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.SourceEndpointArn = ptr.String(jtv) } - case "StartReplicationType": if value != nil { jtv, ok := value.(string) @@ -23716,7 +22998,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.StartReplicationType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23725,7 +23006,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.Status = ptr.String(jtv) } - case "StopReason": if value != nil { jtv, ok := value.(string) @@ -23734,7 +23014,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.StopReason = ptr.String(jtv) } - case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23743,7 +23022,6 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.TargetEndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23779,7 +23057,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf if err := awsAwsjson11_deserializeDocumentComputeConfig(&sv.ComputeConfig, value); err != nil { return err } - case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -23788,7 +23065,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationConfigArn = ptr.String(jtv) } - case "ReplicationConfigCreateTime": if value != nil { switch jtv := value.(type) { @@ -23804,7 +23080,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } } - case "ReplicationConfigIdentifier": if value != nil { jtv, ok := value.(string) @@ -23813,7 +23088,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationConfigIdentifier = ptr.String(jtv) } - case "ReplicationConfigUpdateTime": if value != nil { switch jtv := value.(type) { @@ -23829,7 +23103,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } } - case "ReplicationSettings": if value != nil { jtv, ok := value.(string) @@ -23838,7 +23111,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationSettings = ptr.String(jtv) } - case "ReplicationType": if value != nil { jtv, ok := value.(string) @@ -23847,7 +23119,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationType = types.MigrationTypeValue(jtv) } - case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23856,7 +23127,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.SourceEndpointArn = ptr.String(jtv) } - case "SupplementalSettings": if value != nil { jtv, ok := value.(string) @@ -23865,7 +23135,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.SupplementalSettings = ptr.String(jtv) } - case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -23874,7 +23143,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.TableMappings = ptr.String(jtv) } - case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23883,7 +23151,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.TargetEndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23961,7 +23228,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AllocatedStorage = int32(i64) } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -23970,7 +23236,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AutoMinorVersionUpgrade = jtv } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -23979,7 +23244,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AvailabilityZone = ptr.String(jtv) } - case "DnsNameServers": if value != nil { jtv, ok := value.(string) @@ -23988,7 +23252,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.DnsNameServers = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -23997,7 +23260,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.EngineVersion = ptr.String(jtv) } - case "FreeUntil": if value != nil { switch jtv := value.(type) { @@ -24013,7 +23275,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } } - case "InstanceCreateTime": if value != nil { switch jtv := value.(type) { @@ -24029,7 +23290,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -24038,7 +23298,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.KmsKeyId = ptr.String(jtv) } - case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -24047,7 +23306,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.MultiAZ = jtv } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -24056,12 +23314,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.NetworkType = ptr.String(jtv) } - case "PendingModifiedValues": if err := awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -24070,7 +23326,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -24079,7 +23334,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.PubliclyAccessible = jtv } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -24088,7 +23342,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -24097,7 +23350,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceClass = ptr.String(jtv) } - case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -24106,12 +23358,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } - case "ReplicationInstanceIpv6Addresses": if err := awsAwsjson11_deserializeDocumentReplicationInstanceIpv6AddressList(&sv.ReplicationInstanceIpv6Addresses, value); err != nil { return err } - case "ReplicationInstancePrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -24120,12 +23370,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstancePrivateIpAddress = ptr.String(jtv) } - case "ReplicationInstancePrivateIpAddresses": if err := awsAwsjson11_deserializeDocumentReplicationInstancePrivateIpAddressList(&sv.ReplicationInstancePrivateIpAddresses, value); err != nil { return err } - case "ReplicationInstancePublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -24134,12 +23382,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstancePublicIpAddress = ptr.String(jtv) } - case "ReplicationInstancePublicIpAddresses": if err := awsAwsjson11_deserializeDocumentReplicationInstancePublicIpAddressList(&sv.ReplicationInstancePublicIpAddresses, value); err != nil { return err } - case "ReplicationInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -24148,12 +23394,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceStatus = ptr.String(jtv) } - case "ReplicationSubnetGroup": if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } - case "SecondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -24162,12 +23406,10 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "VpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -24353,7 +23595,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationInstanceTaskLogSize = i64 } - case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -24362,7 +23603,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationTaskArn = ptr.String(jtv) } - case "ReplicationTaskName": if value != nil { jtv, ok := value.(string) @@ -24371,7 +23611,6 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationTaskName = ptr.String(jtv) } - default: _, _ = key, value @@ -24483,7 +23722,6 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -24492,7 +23730,6 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.EngineVersion = ptr.String(jtv) } - case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -24501,7 +23738,6 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.MultiAZ = ptr.Bool(jtv) } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -24510,7 +23746,6 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.NetworkType = ptr.String(jtv) } - case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -24519,7 +23754,6 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.ReplicationInstanceClass = ptr.String(jtv) } - default: _, _ = key, value @@ -24563,7 +23797,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.ElapsedTimeMillis = i64 } - case "FreshStartDate": if value != nil { switch jtv := value.(type) { @@ -24579,7 +23812,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } - case "FullLoadFinishDate": if value != nil { switch jtv := value.(type) { @@ -24595,7 +23827,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } - case "FullLoadProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -24608,7 +23839,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.FullLoadProgressPercent = int32(i64) } - case "FullLoadStartDate": if value != nil { switch jtv := value.(type) { @@ -24624,7 +23854,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -24640,7 +23869,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } - case "StopDate": if value != nil { switch jtv := value.(type) { @@ -24656,7 +23884,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } - case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -24669,7 +23896,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesErrored = int32(i64) } - case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -24682,7 +23908,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesLoaded = int32(i64) } - case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -24695,7 +23920,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesLoading = int32(i64) } - case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -24708,7 +23932,6 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesQueued = int32(i64) } - default: _, _ = key, value @@ -24748,7 +23971,6 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.ReplicationSubnetGroupDescription = ptr.String(jtv) } - case "ReplicationSubnetGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -24757,7 +23979,6 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.ReplicationSubnetGroupIdentifier = ptr.String(jtv) } - case "SubnetGroupStatus": if value != nil { jtv, ok := value.(string) @@ -24766,17 +23987,14 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.SubnetGroupStatus = ptr.String(jtv) } - case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } - case "SupportedNetworkTypes": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SupportedNetworkTypes, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -24785,7 +24003,6 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -24815,15 +24032,9 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroupDoesNotCoverEnoughAZs sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24831,15 +24042,11 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroupDoesNotCoverEnoughAZs } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24942,7 +24149,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.CdcStartPosition = ptr.String(jtv) } - case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -24951,7 +24157,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.CdcStopPosition = ptr.String(jtv) } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -24960,7 +24165,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.LastFailureMessage = ptr.String(jtv) } - case "MigrationType": if value != nil { jtv, ok := value.(string) @@ -24969,7 +24173,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.MigrationType = types.MigrationTypeValue(jtv) } - case "RecoveryCheckpoint": if value != nil { jtv, ok := value.(string) @@ -24978,7 +24181,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.RecoveryCheckpoint = ptr.String(jtv) } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -24987,7 +24189,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -24996,7 +24197,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskArn = ptr.String(jtv) } - case "ReplicationTaskCreationDate": if value != nil { switch jtv := value.(type) { @@ -25012,7 +24212,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } } - case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -25021,7 +24220,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskIdentifier = ptr.String(jtv) } - case "ReplicationTaskSettings": if value != nil { jtv, ok := value.(string) @@ -25030,7 +24228,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskSettings = ptr.String(jtv) } - case "ReplicationTaskStartDate": if value != nil { switch jtv := value.(type) { @@ -25046,12 +24243,10 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } } - case "ReplicationTaskStats": if err := awsAwsjson11_deserializeDocumentReplicationTaskStats(&sv.ReplicationTaskStats, value); err != nil { return err } - case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -25060,7 +24255,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.SourceEndpointArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25069,7 +24263,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.Status = ptr.String(jtv) } - case "StopReason": if value != nil { jtv, ok := value.(string) @@ -25078,7 +24271,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.StopReason = ptr.String(jtv) } - case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -25087,7 +24279,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TableMappings = ptr.String(jtv) } - case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -25096,7 +24287,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TargetEndpointArn = ptr.String(jtv) } - case "TargetReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -25105,7 +24295,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TargetReplicationInstanceArn = ptr.String(jtv) } - case "TaskData": if value != nil { jtv, ok := value.(string) @@ -25114,7 +24303,6 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TaskData = ptr.String(jtv) } - default: _, _ = key, value @@ -25154,7 +24342,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentResults = ptr.String(jtv) } - case "AssessmentResultsFile": if value != nil { jtv, ok := value.(string) @@ -25163,7 +24350,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentResultsFile = ptr.String(jtv) } - case "AssessmentStatus": if value != nil { jtv, ok := value.(string) @@ -25172,7 +24358,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentStatus = ptr.String(jtv) } - case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -25181,7 +24366,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.ReplicationTaskArn = ptr.String(jtv) } - case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -25190,7 +24374,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.ReplicationTaskIdentifier = ptr.String(jtv) } - case "ReplicationTaskLastAssessmentDate": if value != nil { switch jtv := value.(type) { @@ -25206,7 +24389,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } } - case "S3ObjectUrl": if value != nil { jtv, ok := value.(string) @@ -25215,7 +24397,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.S3ObjectUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -25285,7 +24466,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(&sv.AssessmentProgress, value); err != nil { return err } - case "AssessmentRunName": if value != nil { jtv, ok := value.(string) @@ -25294,7 +24474,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.AssessmentRunName = ptr.String(jtv) } - case "IsLatestTaskAssessmentRun": if value != nil { jtv, ok := value.(bool) @@ -25303,7 +24482,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.IsLatestTaskAssessmentRun = jtv } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -25312,7 +24490,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.LastFailureMessage = ptr.String(jtv) } - case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -25321,7 +24498,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ReplicationTaskArn = ptr.String(jtv) } - case "ReplicationTaskAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -25330,7 +24506,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ReplicationTaskAssessmentRunArn = ptr.String(jtv) } - case "ReplicationTaskAssessmentRunCreationDate": if value != nil { switch jtv := value.(type) { @@ -25346,7 +24521,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } } - case "ResultEncryptionMode": if value != nil { jtv, ok := value.(string) @@ -25355,7 +24529,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultEncryptionMode = ptr.String(jtv) } - case "ResultKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -25364,7 +24537,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultKmsKeyArn = ptr.String(jtv) } - case "ResultLocationBucket": if value != nil { jtv, ok := value.(string) @@ -25373,7 +24545,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultLocationBucket = ptr.String(jtv) } - case "ResultLocationFolder": if value != nil { jtv, ok := value.(string) @@ -25382,12 +24553,10 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultLocationFolder = ptr.String(jtv) } - case "ResultStatistic": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic(&sv.ResultStatistic, value); err != nil { return err } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -25396,7 +24565,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25405,7 +24573,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -25483,7 +24650,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(v **ty } sv.IndividualAssessmentCompletedCount = int32(i64) } - case "IndividualAssessmentCount": if value != nil { jtv, ok := value.(json.Number) @@ -25496,7 +24662,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(v **ty } sv.IndividualAssessmentCount = int32(i64) } - default: _, _ = key, value @@ -25540,7 +24705,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Cancelled = int32(i64) } - case "Error": if value != nil { jtv, ok := value.(json.Number) @@ -25553,7 +24717,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Error = int32(i64) } - case "Failed": if value != nil { jtv, ok := value.(json.Number) @@ -25566,7 +24729,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Failed = int32(i64) } - case "Passed": if value != nil { jtv, ok := value.(json.Number) @@ -25579,7 +24741,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Passed = int32(i64) } - case "Warning": if value != nil { jtv, ok := value.(json.Number) @@ -25592,7 +24753,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Warning = int32(i64) } - default: _, _ = key, value @@ -25632,7 +24792,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.IndividualAssessmentName = ptr.String(jtv) } - case "ReplicationTaskAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -25641,7 +24800,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.ReplicationTaskAssessmentRunArn = ptr.String(jtv) } - case "ReplicationTaskIndividualAssessmentArn": if value != nil { jtv, ok := value.(string) @@ -25650,7 +24808,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.ReplicationTaskIndividualAssessmentArn = ptr.String(jtv) } - case "ReplicationTaskIndividualAssessmentStartDate": if value != nil { switch jtv := value.(type) { @@ -25666,7 +24823,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25675,7 +24831,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -25787,7 +24942,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.ElapsedTimeMillis = i64 } - case "FreshStartDate": if value != nil { switch jtv := value.(type) { @@ -25803,7 +24957,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } - case "FullLoadFinishDate": if value != nil { switch jtv := value.(type) { @@ -25819,7 +24972,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } - case "FullLoadProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -25832,7 +24984,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.FullLoadProgressPercent = int32(i64) } - case "FullLoadStartDate": if value != nil { switch jtv := value.(type) { @@ -25848,7 +24999,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -25864,7 +25014,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } - case "StopDate": if value != nil { switch jtv := value.(type) { @@ -25880,7 +25029,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } - case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -25893,7 +25041,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesErrored = int32(i64) } - case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -25906,7 +25053,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesLoaded = int32(i64) } - case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -25919,7 +25065,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesLoading = int32(i64) } - case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -25932,7 +25077,6 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesQueued = int32(i64) } - default: _, _ = key, value @@ -25962,15 +25106,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25978,7 +25116,6 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -25987,15 +25124,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26020,15 +25153,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundFault(v **types.ResourceNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26036,15 +25163,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundFault(v **types.ResourceNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26075,7 +25198,6 @@ func awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(v **types if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActionDetails(&sv.PendingMaintenanceActionDetails, value); err != nil { return err } - case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -26084,7 +25206,6 @@ func awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(v **types } sv.ResourceIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -26114,15 +25235,9 @@ func awsAwsjson11_deserializeDocumentResourceQuotaExceededFault(v **types.Resour sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26130,15 +25245,11 @@ func awsAwsjson11_deserializeDocumentResourceQuotaExceededFault(v **types.Resour } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26163,15 +25274,9 @@ func awsAwsjson11_deserializeDocumentS3AccessDeniedFault(v **types.S3AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26179,15 +25284,11 @@ func awsAwsjson11_deserializeDocumentS3AccessDeniedFault(v **types.S3AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26212,15 +25313,9 @@ func awsAwsjson11_deserializeDocumentS3ResourceNotFoundFault(v **types.S3Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26228,15 +25323,11 @@ func awsAwsjson11_deserializeDocumentS3ResourceNotFoundFault(v **types.S3Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26271,7 +25362,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.AddColumnName = ptr.Bool(jtv) } - case "AddTrailingPaddingCharacter": if value != nil { jtv, ok := value.(bool) @@ -26280,7 +25370,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.AddTrailingPaddingCharacter = ptr.Bool(jtv) } - case "BucketFolder": if value != nil { jtv, ok := value.(string) @@ -26289,7 +25378,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.BucketFolder = ptr.String(jtv) } - case "BucketName": if value != nil { jtv, ok := value.(string) @@ -26298,7 +25386,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.BucketName = ptr.String(jtv) } - case "CannedAclForObjects": if value != nil { jtv, ok := value.(string) @@ -26307,7 +25394,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CannedAclForObjects = types.CannedAclForObjectsValue(jtv) } - case "CdcInsertsAndUpdates": if value != nil { jtv, ok := value.(bool) @@ -26316,7 +25402,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcInsertsAndUpdates = ptr.Bool(jtv) } - case "CdcInsertsOnly": if value != nil { jtv, ok := value.(bool) @@ -26325,7 +25410,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcInsertsOnly = ptr.Bool(jtv) } - case "CdcMaxBatchInterval": if value != nil { jtv, ok := value.(json.Number) @@ -26338,7 +25422,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcMaxBatchInterval = ptr.Int32(int32(i64)) } - case "CdcMinFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -26351,7 +25434,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcMinFileSize = ptr.Int32(int32(i64)) } - case "CdcPath": if value != nil { jtv, ok := value.(string) @@ -26360,7 +25442,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcPath = ptr.String(jtv) } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -26369,7 +25450,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CompressionType = types.CompressionTypeValue(jtv) } - case "CsvDelimiter": if value != nil { jtv, ok := value.(string) @@ -26378,7 +25458,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvDelimiter = ptr.String(jtv) } - case "CsvNoSupValue": if value != nil { jtv, ok := value.(string) @@ -26387,7 +25466,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvNoSupValue = ptr.String(jtv) } - case "CsvNullValue": if value != nil { jtv, ok := value.(string) @@ -26396,7 +25474,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvNullValue = ptr.String(jtv) } - case "CsvRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -26405,7 +25482,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvRowDelimiter = ptr.String(jtv) } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -26414,7 +25490,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DataFormat = types.DataFormatValue(jtv) } - case "DataPageSize": if value != nil { jtv, ok := value.(json.Number) @@ -26427,7 +25502,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DataPageSize = ptr.Int32(int32(i64)) } - case "DatePartitionDelimiter": if value != nil { jtv, ok := value.(string) @@ -26436,7 +25510,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionDelimiter = types.DatePartitionDelimiterValue(jtv) } - case "DatePartitionEnabled": if value != nil { jtv, ok := value.(bool) @@ -26445,7 +25518,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionEnabled = ptr.Bool(jtv) } - case "DatePartitionSequence": if value != nil { jtv, ok := value.(string) @@ -26454,7 +25526,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionSequence = types.DatePartitionSequenceValue(jtv) } - case "DatePartitionTimezone": if value != nil { jtv, ok := value.(string) @@ -26463,7 +25534,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionTimezone = ptr.String(jtv) } - case "DictPageSizeLimit": if value != nil { jtv, ok := value.(json.Number) @@ -26476,7 +25546,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DictPageSizeLimit = ptr.Int32(int32(i64)) } - case "EnableStatistics": if value != nil { jtv, ok := value.(bool) @@ -26485,7 +25554,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EnableStatistics = ptr.Bool(jtv) } - case "EncodingType": if value != nil { jtv, ok := value.(string) @@ -26494,7 +25562,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EncodingType = types.EncodingTypeValue(jtv) } - case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -26503,7 +25570,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EncryptionMode = types.EncryptionModeValue(jtv) } - case "ExpectedBucketOwner": if value != nil { jtv, ok := value.(string) @@ -26512,7 +25578,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ExpectedBucketOwner = ptr.String(jtv) } - case "ExternalTableDefinition": if value != nil { jtv, ok := value.(string) @@ -26521,7 +25586,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ExternalTableDefinition = ptr.String(jtv) } - case "GlueCatalogGeneration": if value != nil { jtv, ok := value.(bool) @@ -26530,7 +25594,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.GlueCatalogGeneration = ptr.Bool(jtv) } - case "IgnoreHeaderRows": if value != nil { jtv, ok := value.(json.Number) @@ -26543,7 +25606,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.IgnoreHeaderRows = ptr.Int32(int32(i64)) } - case "IncludeOpForFullLoad": if value != nil { jtv, ok := value.(bool) @@ -26552,7 +25614,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.IncludeOpForFullLoad = ptr.Bool(jtv) } - case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -26565,7 +25626,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.MaxFileSize = ptr.Int32(int32(i64)) } - case "ParquetTimestampInMillisecond": if value != nil { jtv, ok := value.(bool) @@ -26574,7 +25634,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ParquetTimestampInMillisecond = ptr.Bool(jtv) } - case "ParquetVersion": if value != nil { jtv, ok := value.(string) @@ -26583,7 +25642,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ParquetVersion = types.ParquetVersionValue(jtv) } - case "PreserveTransactions": if value != nil { jtv, ok := value.(bool) @@ -26592,7 +25650,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.PreserveTransactions = ptr.Bool(jtv) } - case "Rfc4180": if value != nil { jtv, ok := value.(bool) @@ -26601,7 +25658,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.Rfc4180 = ptr.Bool(jtv) } - case "RowGroupLength": if value != nil { jtv, ok := value.(json.Number) @@ -26614,7 +25670,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.RowGroupLength = ptr.Int32(int32(i64)) } - case "ServerSideEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -26623,7 +25678,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ServerSideEncryptionKmsKeyId = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -26632,7 +25686,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ServiceAccessRoleArn = ptr.String(jtv) } - case "TimestampColumnName": if value != nil { jtv, ok := value.(string) @@ -26641,7 +25694,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.TimestampColumnName = ptr.String(jtv) } - case "UseCsvNoSupValue": if value != nil { jtv, ok := value.(bool) @@ -26650,7 +25702,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.UseCsvNoSupValue = ptr.Bool(jtv) } - case "UseTaskStartTimeForFullLoadTimestamp": if value != nil { jtv, ok := value.(bool) @@ -26659,7 +25710,6 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.UseTaskStartTimeForFullLoadTimestamp = ptr.Bool(jtv) } - default: _, _ = key, value @@ -26699,7 +25749,6 @@ func awsAwsjson11_deserializeDocumentSCApplicationAttributes(v **types.SCApplica } sv.S3BucketPath = ptr.String(jtv) } - case "S3BucketRoleArn": if value != nil { jtv, ok := value.(string) @@ -26708,7 +25757,6 @@ func awsAwsjson11_deserializeDocumentSCApplicationAttributes(v **types.SCApplica } sv.S3BucketRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26744,12 +25792,10 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "ExportSqlDetails": if err := awsAwsjson11_deserializeDocumentExportSqlDetails(&sv.ExportSqlDetails, value); err != nil { return err } - case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -26758,7 +25804,6 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.MigrationProjectArn = ptr.String(jtv) } - case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -26767,7 +25812,6 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.RequestIdentifier = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -26776,7 +25820,6 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -26890,7 +25933,6 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.CodeLineCount = ptr.Int64(i64) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -26903,7 +25945,6 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.CodeSize = ptr.Int64(i64) } - case "Complexity": if value != nil { jtv, ok := value.(string) @@ -26912,17 +25953,14 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.Complexity = ptr.String(jtv) } - case "DatabaseInstance": if err := awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(&sv.DatabaseInstance, value); err != nil { return err } - case "OriginalSchema": if err := awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(&sv.OriginalSchema, value); err != nil { return err } - case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -26931,7 +25969,6 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.SchemaId = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -26940,12 +25977,10 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.SchemaName = ptr.String(jtv) } - case "Server": if err := awsAwsjson11_deserializeDocumentServerShortInfoResponse(&sv.Server, value); err != nil { return err } - case "Similarity": if value != nil { switch jtv := value.(type) { @@ -26979,7 +26014,6 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } } - default: _, _ = key, value @@ -27019,7 +26053,6 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseId = ptr.String(jtv) } - case "DatabaseIpAddress": if value != nil { jtv, ok := value.(string) @@ -27028,7 +26061,6 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseIpAddress = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -27037,7 +26069,6 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseName = ptr.String(jtv) } - case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -27046,7 +26077,6 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.SchemaId = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -27055,7 +26085,6 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -27095,7 +26124,6 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.IpAddress = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -27104,7 +26132,6 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.ServerId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -27113,7 +26140,6 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.ServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -27143,15 +26169,9 @@ func awsAwsjson11_deserializeDocumentSNSInvalidTopicFault(v **types.SNSInvalidTo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27159,15 +26179,11 @@ func awsAwsjson11_deserializeDocumentSNSInvalidTopicFault(v **types.SNSInvalidTo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27192,15 +26208,9 @@ func awsAwsjson11_deserializeDocumentSNSNoAuthorizationFault(v **types.SNSNoAuth sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27208,15 +26218,11 @@ func awsAwsjson11_deserializeDocumentSNSNoAuthorizationFault(v **types.SNSNoAuth } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27251,7 +26257,6 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStartPosition = ptr.String(jtv) } - case "CDCStartTime": if value != nil { jtv, ok := value.(string) @@ -27264,7 +26269,6 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStartTime = ptr.Time(t) } - case "CDCStopTime": if value != nil { jtv, ok := value.(string) @@ -27277,7 +26281,6 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStopTime = ptr.Time(t) } - case "SlotName": if value != nil { jtv, ok := value.(string) @@ -27286,7 +26289,6 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.SlotName = ptr.String(jtv) } - default: _, _ = key, value @@ -27386,15 +26388,9 @@ func awsAwsjson11_deserializeDocumentStorageQuotaExceededFault(v **types.Storage sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27402,15 +26398,11 @@ func awsAwsjson11_deserializeDocumentStorageQuotaExceededFault(v **types.Storage } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27477,7 +26469,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZone(&sv.SubnetAvailabilityZone, value); err != nil { return err } - case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -27486,7 +26477,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetIdentifier = ptr.String(jtv) } - case "SubnetStatus": if value != nil { jtv, ok := value.(string) @@ -27495,7 +26485,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -27525,15 +26514,9 @@ func awsAwsjson11_deserializeDocumentSubnetAlreadyInUse(v **types.SubnetAlreadyI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27541,15 +26524,11 @@ func awsAwsjson11_deserializeDocumentSubnetAlreadyInUse(v **types.SubnetAlreadyI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27618,7 +26597,6 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EndpointType = types.ReplicationEndpointTypeValue(jtv) } - case "EngineDisplayName": if value != nil { jtv, ok := value.(string) @@ -27627,7 +26605,6 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EngineDisplayName = ptr.String(jtv) } - case "EngineName": if value != nil { jtv, ok := value.(string) @@ -27636,7 +26613,6 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EngineName = ptr.String(jtv) } - case "ReplicationInstanceEngineMinimumVersion": if value != nil { jtv, ok := value.(string) @@ -27645,7 +26621,6 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.ReplicationInstanceEngineMinimumVersion = ptr.String(jtv) } - case "SupportsCDC": if value != nil { jtv, ok := value.(bool) @@ -27654,7 +26629,6 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.SupportsCDC = jtv } - default: _, _ = key, value @@ -27728,7 +26702,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.DatabaseName = ptr.String(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -27737,7 +26710,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Password = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -27750,7 +26722,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Port = ptr.Int32(int32(i64)) } - case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -27759,7 +26730,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } - case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -27768,7 +26738,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -27777,7 +26746,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.ServerName = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -27786,7 +26754,6 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -27830,7 +26797,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedDdls = ptr.Int64(i64) } - case "AppliedDeletes": if value != nil { jtv, ok := value.(json.Number) @@ -27843,7 +26809,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedDeletes = ptr.Int64(i64) } - case "AppliedInserts": if value != nil { jtv, ok := value.(json.Number) @@ -27856,7 +26821,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedInserts = ptr.Int64(i64) } - case "AppliedUpdates": if value != nil { jtv, ok := value.(json.Number) @@ -27869,7 +26833,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedUpdates = ptr.Int64(i64) } - case "Ddls": if value != nil { jtv, ok := value.(json.Number) @@ -27882,7 +26845,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Ddls = i64 } - case "Deletes": if value != nil { jtv, ok := value.(json.Number) @@ -27895,7 +26857,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Deletes = i64 } - case "FullLoadCondtnlChkFailedRows": if value != nil { jtv, ok := value.(json.Number) @@ -27908,7 +26869,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadCondtnlChkFailedRows = i64 } - case "FullLoadEndTime": if value != nil { switch jtv := value.(type) { @@ -27924,7 +26884,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } - case "FullLoadErrorRows": if value != nil { jtv, ok := value.(json.Number) @@ -27937,7 +26896,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadErrorRows = i64 } - case "FullLoadReloaded": if value != nil { jtv, ok := value.(bool) @@ -27946,7 +26904,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadReloaded = ptr.Bool(jtv) } - case "FullLoadRows": if value != nil { jtv, ok := value.(json.Number) @@ -27959,7 +26916,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadRows = i64 } - case "FullLoadStartTime": if value != nil { switch jtv := value.(type) { @@ -27975,7 +26931,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } - case "Inserts": if value != nil { jtv, ok := value.(json.Number) @@ -27988,7 +26943,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Inserts = i64 } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -28004,7 +26958,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -28013,7 +26966,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.SchemaName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -28022,7 +26974,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.TableName = ptr.String(jtv) } - case "TableState": if value != nil { jtv, ok := value.(string) @@ -28031,7 +26982,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.TableState = ptr.String(jtv) } - case "Updates": if value != nil { jtv, ok := value.(json.Number) @@ -28044,7 +26994,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Updates = i64 } - case "ValidationFailedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -28057,7 +27006,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationFailedRecords = i64 } - case "ValidationPendingRecords": if value != nil { jtv, ok := value.(json.Number) @@ -28070,7 +27018,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationPendingRecords = i64 } - case "ValidationState": if value != nil { jtv, ok := value.(string) @@ -28079,7 +27026,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationState = ptr.String(jtv) } - case "ValidationStateDetails": if value != nil { jtv, ok := value.(string) @@ -28088,7 +27034,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationStateDetails = ptr.String(jtv) } - case "ValidationSuspendedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -28101,7 +27046,6 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationSuspendedRecords = i64 } - default: _, _ = key, value @@ -28175,7 +27119,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -28184,7 +27127,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.ResourceArn = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -28193,7 +27135,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -28267,7 +27208,6 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.CdcInsertsAndUpdates = ptr.Bool(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -28276,7 +27216,6 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.DatabaseName = ptr.String(jtv) } - case "EnableMagneticStoreWrites": if value != nil { jtv, ok := value.(bool) @@ -28285,7 +27224,6 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.EnableMagneticStoreWrites = ptr.Bool(jtv) } - case "MagneticDuration": if value != nil { jtv, ok := value.(json.Number) @@ -28298,7 +27236,6 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.MagneticDuration = ptr.Int32(int32(i64)) } - case "MemoryDuration": if value != nil { jtv, ok := value.(json.Number) @@ -28311,7 +27248,6 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.MemoryDuration = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -28341,15 +27277,9 @@ func awsAwsjson11_deserializeDocumentUpgradeDependencyFailureFault(v **types.Upg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28357,15 +27287,11 @@ func awsAwsjson11_deserializeDocumentUpgradeDependencyFailureFault(v **types.Upg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28400,7 +27326,6 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.Status = ptr.String(jtv) } - case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -28409,7 +27334,6 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.VpcSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -28510,7 +27434,6 @@ func awsAwsjson11_deserializeOpDocumentApplyPendingMaintenanceActionOutput(v **A if err := awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(&sv.ResourcePendingMaintenanceActions, value); err != nil { return err } - default: _, _ = key, value @@ -28546,7 +27469,6 @@ func awsAwsjson11_deserializeOpDocumentBatchStartRecommendationsOutput(v **Batch if err := awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntryList(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -28582,7 +27504,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplicationTaskAssessmentRunOutput( if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } - default: _, _ = key, value @@ -28618,7 +27539,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataMigrationOutput(v **CreateDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } - default: _, _ = key, value @@ -28654,7 +27574,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataProviderOutput(v **CreateDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } - default: _, _ = key, value @@ -28690,7 +27609,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -28726,7 +27644,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventSubscriptionOutput(v **CreateE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } - default: _, _ = key, value @@ -28766,7 +27683,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.CollectorName = ptr.String(jtv) } - case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -28775,7 +27691,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.CollectorReferencedId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -28784,7 +27699,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.Description = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -28793,7 +27707,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.S3BucketName = ptr.String(jtv) } - case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -28802,7 +27715,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.ServiceAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -28838,7 +27750,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceProfileOutput(v **CreateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -28874,7 +27785,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMigrationProjectOutput(v **CreateMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } - default: _, _ = key, value @@ -28910,7 +27820,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationConfigOutput(v **CreateR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -28946,7 +27855,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationInstanceOutput(v **Creat if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } - default: _, _ = key, value @@ -28982,7 +27890,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationSubnetGroupOutput(v **Cr if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -29018,7 +27925,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationTaskOutput(v **CreateRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -29054,7 +27960,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCertificateOutput(v **DeleteCertifi if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } - default: _, _ = key, value @@ -29090,7 +27995,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -29126,7 +28030,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataMigrationOutput(v **DeleteDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } - default: _, _ = key, value @@ -29162,7 +28065,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataProviderOutput(v **DeleteDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } - default: _, _ = key, value @@ -29198,7 +28100,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEndpointOutput(v **DeleteEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -29234,7 +28135,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventSubscriptionOutput(v **DeleteE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } - default: _, _ = key, value @@ -29270,7 +28170,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetAdvisorDatabasesOutput(v **Del if err := awsAwsjson11_deserializeDocumentStringList(&sv.DatabaseIds, value); err != nil { return err } - default: _, _ = key, value @@ -29306,7 +28205,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceProfileOutput(v **DeleteIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -29342,7 +28240,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteMigrationProjectOutput(v **DeleteMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } - default: _, _ = key, value @@ -29378,7 +28275,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationConfigOutput(v **DeleteR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -29414,7 +28310,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationInstanceOutput(v **Delet if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } - default: _, _ = key, value @@ -29481,7 +28376,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationTaskAssessmentRunOutput( if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } - default: _, _ = key, value @@ -29517,7 +28411,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationTaskOutput(v **DeleteRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -29553,7 +28446,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAccountQuotaList(&sv.AccountQuotas, value); err != nil { return err } - case "UniqueAccountIdentifier": if value != nil { jtv, ok := value.(string) @@ -29562,7 +28454,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr } sv.UniqueAccountIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -29598,7 +28489,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicableIndividualAssessmentsOu if err := awsAwsjson11_deserializeDocumentIndividualAssessmentNameList(&sv.IndividualAssessmentNames, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29607,7 +28497,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicableIndividualAssessmentsOu } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29643,7 +28532,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificatesOutput(v **DescribeCe if err := awsAwsjson11_deserializeDocumentCertificateList(&sv.Certificates, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29652,7 +28540,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificatesOutput(v **DescribeCe } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29688,7 +28575,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29697,7 +28583,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29737,7 +28622,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConversionConfigurationOutput(v * } sv.ConversionConfiguration = ptr.String(jtv) } - case "MigrationProjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -29746,7 +28630,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConversionConfigurationOutput(v * } sv.MigrationProjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -29782,7 +28665,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataMigrationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDataMigrations(&sv.DataMigrations, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29791,7 +28673,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataMigrationsOutput(v **Describe } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29827,7 +28708,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataProvidersOutput(v **DescribeD if err := awsAwsjson11_deserializeDocumentDataProviderList(&sv.DataProviders, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29836,7 +28716,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataProvidersOutput(v **DescribeD } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29872,7 +28751,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointSettingsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEndpointSettingsList(&sv.EndpointSettings, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29881,7 +28759,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointSettingsOutput(v **Descri } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29917,7 +28794,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson11_deserializeDocumentEndpointList(&sv.Endpoints, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -29926,7 +28802,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -29966,12 +28841,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointTypesOutput(v **DescribeE } sv.Marker = ptr.String(jtv) } - case "SupportedEndpointTypes": if err := awsAwsjson11_deserializeDocumentSupportedEndpointTypeList(&sv.SupportedEndpointTypes, value); err != nil { return err } - default: _, _ = key, value @@ -30007,7 +28880,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentEngineVersionList(&sv.EngineVersions, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -30016,7 +28888,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -30052,7 +28923,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventCategoriesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEventCategoryGroupList(&sv.EventCategoryGroupList, value); err != nil { return err } - default: _, _ = key, value @@ -30088,7 +28958,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -30097,7 +28966,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -30133,7 +29001,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSubscriptionsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentEventSubscriptionsList(&sv.EventSubscriptionsList, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -30142,7 +29009,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSubscriptionsOutput(v **Desc } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -30182,12 +29048,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExtensionPackAssociationsOutput(v } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30223,7 +29087,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorCollectorsOutput(v ** if err := awsAwsjson11_deserializeDocumentCollectorResponses(&sv.Collectors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30232,7 +29095,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorCollectorsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30268,7 +29130,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorDatabasesOutput(v **D if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30277,7 +29138,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorDatabasesOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30313,7 +29173,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorLsaAnalysisOutput(v * if err := awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponseList(&sv.Analysis, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30322,7 +29181,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorLsaAnalysisOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30358,7 +29216,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemaObjectSummaryOu if err := awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectList(&sv.FleetAdvisorSchemaObjects, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30367,7 +29224,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemaObjectSummaryOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30403,7 +29259,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemasOutput(v **Des if err := awsAwsjson11_deserializeDocumentFleetAdvisorSchemaList(&sv.FleetAdvisorSchemas, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30412,7 +29267,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemasOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30448,7 +29302,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceProfilesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentInstanceProfileList(&sv.InstanceProfiles, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -30457,7 +29310,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceProfilesOutput(v **Descri } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -30497,12 +29349,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelAssessmentsOutput(v } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30542,12 +29392,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelConversionsOutput(v } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30587,12 +29435,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelExportsAsScriptOutpu } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30632,12 +29478,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelExportsToTargetOutpu } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30677,12 +29521,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelImportsOutput(v **De } sv.Marker = ptr.String(jtv) } - case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } - default: _, _ = key, value @@ -30722,12 +29564,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMigrationProjectsOutput(v **Descr } sv.Marker = ptr.String(jtv) } - case "MigrationProjects": if err := awsAwsjson11_deserializeDocumentMigrationProjectList(&sv.MigrationProjects, value); err != nil { return err } - default: _, _ = key, value @@ -30767,12 +29607,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrderableReplicationInstancesOutp } sv.Marker = ptr.String(jtv) } - case "OrderableReplicationInstances": if err := awsAwsjson11_deserializeDocumentOrderableReplicationInstanceList(&sv.OrderableReplicationInstances, value); err != nil { return err } - default: _, _ = key, value @@ -30812,12 +29650,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePendingMaintenanceActionsOutput(v } sv.Marker = ptr.String(jtv) } - case "PendingMaintenanceActions": if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActions(&sv.PendingMaintenanceActions, value); err != nil { return err } - default: _, _ = key, value @@ -30853,7 +29689,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationLimitationsOutput(v if err := awsAwsjson11_deserializeDocumentLimitationList(&sv.Limitations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -30862,7 +29697,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationLimitationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30902,12 +29736,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -30943,7 +29775,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRefreshSchemasStatusOutput(v **De if err := awsAwsjson11_deserializeDocumentRefreshSchemasStatus(&sv.RefreshSchemasStatus, value); err != nil { return err } - default: _, _ = key, value @@ -30983,12 +29814,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationConfigsOutput(v **Desc } sv.Marker = ptr.String(jtv) } - case "ReplicationConfigs": if err := awsAwsjson11_deserializeDocumentReplicationConfigList(&sv.ReplicationConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -31028,12 +29857,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstancesOutput(v **De } sv.Marker = ptr.String(jtv) } - case "ReplicationInstances": if err := awsAwsjson11_deserializeDocumentReplicationInstanceList(&sv.ReplicationInstances, value); err != nil { return err } - default: _, _ = key, value @@ -31073,7 +29900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstanceTaskLogsOutput } sv.Marker = ptr.String(jtv) } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -31082,12 +29908,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstanceTaskLogsOutput } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "ReplicationInstanceTaskLogs": if err := awsAwsjson11_deserializeDocumentReplicationInstanceTaskLogsList(&sv.ReplicationInstanceTaskLogs, value); err != nil { return err } - default: _, _ = key, value @@ -31127,12 +29951,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationsOutput(v **DescribeRe } sv.Marker = ptr.String(jtv) } - case "Replications": if err := awsAwsjson11_deserializeDocumentReplicationList(&sv.Replications, value); err != nil { return err } - default: _, _ = key, value @@ -31172,12 +29994,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationSubnetGroupsOutput(v * } sv.Marker = ptr.String(jtv) } - case "ReplicationSubnetGroups": if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroups(&sv.ReplicationSubnetGroups, value); err != nil { return err } - default: _, _ = key, value @@ -31217,7 +30037,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTableStatisticsOutput( } sv.Marker = ptr.String(jtv) } - case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -31226,12 +30045,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTableStatisticsOutput( } sv.ReplicationConfigArn = ptr.String(jtv) } - case "ReplicationTableStatistics": if err := awsAwsjson11_deserializeDocumentReplicationTableStatisticsList(&sv.ReplicationTableStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -31271,7 +30088,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentResultsO } sv.BucketName = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -31280,12 +30096,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentResultsO } sv.Marker = ptr.String(jtv) } - case "ReplicationTaskAssessmentResults": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResultList(&sv.ReplicationTaskAssessmentResults, value); err != nil { return err } - default: _, _ = key, value @@ -31325,12 +30139,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentRunsOutp } sv.Marker = ptr.String(jtv) } - case "ReplicationTaskAssessmentRuns": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunList(&sv.ReplicationTaskAssessmentRuns, value); err != nil { return err } - default: _, _ = key, value @@ -31370,12 +30182,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskIndividualAssessme } sv.Marker = ptr.String(jtv) } - case "ReplicationTaskIndividualAssessments": if err := awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessmentList(&sv.ReplicationTaskIndividualAssessments, value); err != nil { return err } - default: _, _ = key, value @@ -31415,12 +30225,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTasksOutput(v **Descri } sv.Marker = ptr.String(jtv) } - case "ReplicationTasks": if err := awsAwsjson11_deserializeDocumentReplicationTaskList(&sv.ReplicationTasks, value); err != nil { return err } - default: _, _ = key, value @@ -31460,12 +30268,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSchemasOutput(v **DescribeSchemas } sv.Marker = ptr.String(jtv) } - case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -31505,7 +30311,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableStatisticsOutput(v **Describ } sv.Marker = ptr.String(jtv) } - case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -31514,12 +30319,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableStatisticsOutput(v **Describ } sv.ReplicationTaskArn = ptr.String(jtv) } - case "TableStatistics": if err := awsAwsjson11_deserializeDocumentTableStatisticsList(&sv.TableStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -31555,12 +30358,10 @@ func awsAwsjson11_deserializeOpDocumentExportMetadataModelAssessmentOutput(v **E if err := awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(&sv.CsvReport, value); err != nil { return err } - case "PdfReport": if err := awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(&sv.PdfReport, value); err != nil { return err } - default: _, _ = key, value @@ -31596,7 +30397,6 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } - default: _, _ = key, value @@ -31632,7 +30432,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -31672,7 +30471,6 @@ func awsAwsjson11_deserializeOpDocumentModifyConversionConfigurationOutput(v **M } sv.MigrationProjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -31708,7 +30506,6 @@ func awsAwsjson11_deserializeOpDocumentModifyDataMigrationOutput(v **ModifyDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } - default: _, _ = key, value @@ -31744,7 +30541,6 @@ func awsAwsjson11_deserializeOpDocumentModifyDataProviderOutput(v **ModifyDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } - default: _, _ = key, value @@ -31780,7 +30576,6 @@ func awsAwsjson11_deserializeOpDocumentModifyEndpointOutput(v **ModifyEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -31816,7 +30611,6 @@ func awsAwsjson11_deserializeOpDocumentModifyEventSubscriptionOutput(v **ModifyE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } - default: _, _ = key, value @@ -31852,7 +30646,6 @@ func awsAwsjson11_deserializeOpDocumentModifyInstanceProfileOutput(v **ModifyIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -31888,7 +30681,6 @@ func awsAwsjson11_deserializeOpDocumentModifyMigrationProjectOutput(v **ModifyMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } - default: _, _ = key, value @@ -31924,7 +30716,6 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationConfigOutput(v **ModifyR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -31960,7 +30751,6 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationInstanceOutput(v **Modif if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } - default: _, _ = key, value @@ -31996,7 +30786,6 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationSubnetGroupOutput(v **Mo if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -32032,7 +30821,6 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationTaskOutput(v **ModifyRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -32068,7 +30856,6 @@ func awsAwsjson11_deserializeOpDocumentMoveReplicationTaskOutput(v **MoveReplica if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -32104,7 +30891,6 @@ func awsAwsjson11_deserializeOpDocumentRebootReplicationInstanceOutput(v **Reboo if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } - default: _, _ = key, value @@ -32140,7 +30926,6 @@ func awsAwsjson11_deserializeOpDocumentRefreshSchemasOutput(v **RefreshSchemasOu if err := awsAwsjson11_deserializeDocumentRefreshSchemasStatus(&sv.RefreshSchemasStatus, value); err != nil { return err } - default: _, _ = key, value @@ -32180,7 +30965,6 @@ func awsAwsjson11_deserializeOpDocumentReloadReplicationTablesOutput(v **ReloadR } sv.ReplicationConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -32220,7 +31004,6 @@ func awsAwsjson11_deserializeOpDocumentReloadTablesOutput(v **ReloadTablesOutput } sv.ReplicationTaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -32291,7 +31074,6 @@ func awsAwsjson11_deserializeOpDocumentRunFleetAdvisorLsaAnalysisOutput(v **RunF } sv.LsaAnalysisId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -32300,7 +31082,6 @@ func awsAwsjson11_deserializeOpDocumentRunFleetAdvisorLsaAnalysisOutput(v **RunF } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -32336,7 +31117,6 @@ func awsAwsjson11_deserializeOpDocumentStartDataMigrationOutput(v **StartDataMig if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } - default: _, _ = key, value @@ -32376,7 +31156,6 @@ func awsAwsjson11_deserializeOpDocumentStartExtensionPackAssociationOutput(v **S } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32416,7 +31195,6 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelAssessmentOutput(v **St } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32456,7 +31234,6 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelConversionOutput(v **St } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32496,7 +31273,6 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelExportAsScriptOutput(v } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32536,7 +31312,6 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelExportToTargetOutput(v } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32576,7 +31351,6 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelImportOutput(v **StartM } sv.RequestIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32612,7 +31386,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationOutput(v **StartReplicati if err := awsAwsjson11_deserializeDocumentReplication(&sv.Replication, value); err != nil { return err } - default: _, _ = key, value @@ -32648,7 +31421,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskAssessmentOutput(v ** if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -32684,7 +31456,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskAssessmentRunOutput(v if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } - default: _, _ = key, value @@ -32720,7 +31491,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskOutput(v **StartRepli if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -32756,7 +31526,6 @@ func awsAwsjson11_deserializeOpDocumentStopDataMigrationOutput(v **StopDataMigra if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } - default: _, _ = key, value @@ -32792,7 +31561,6 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationOutput(v **StopReplication if err := awsAwsjson11_deserializeDocumentReplication(&sv.Replication, value); err != nil { return err } - default: _, _ = key, value @@ -32828,7 +31596,6 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationTaskOutput(v **StopReplica if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } - default: _, _ = key, value @@ -32864,7 +31631,6 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -32904,7 +31670,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubscriptionsToEventBridgeOutput(v } sv.Result = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/databrew/deserializers.go b/service/databrew/deserializers.go index 55ba056286d..40ce82f7610 100644 --- a/service/databrew/deserializers.go +++ b/service/databrew/deserializers.go @@ -178,7 +178,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRecipeVersionOutput(v **BatchD if err := awsRestjson1_deserializeDocumentRecipeErrorList(&sv.Errors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -187,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRecipeVersionOutput(v **BatchD } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -352,7 +350,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -520,7 +517,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileJobOutput(v **CreateProfileJ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -685,7 +681,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -847,7 +842,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecipeOutput(v **CreateRecipeOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1015,7 +1009,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecipeJobOutput(v **CreateRecipeJob } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1177,7 +1170,6 @@ func awsRestjson1_deserializeOpDocumentCreateRulesetOutput(v **CreateRulesetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1339,7 +1331,6 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleOutput(v **CreateScheduleOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1501,7 +1492,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1663,7 +1653,6 @@ func awsRestjson1_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1825,7 +1814,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1987,7 +1975,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRecipeVersionOutput(v **DeleteRecip } sv.Name = ptr.String(jtv) } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -1996,7 +1983,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRecipeVersionOutput(v **DeleteRecip } sv.RecipeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2158,7 +2144,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRulesetOutput(v **DeleteRulesetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2317,7 +2302,6 @@ func awsRestjson1_deserializeOpDocumentDeleteScheduleOutput(v **DeleteScheduleOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2483,7 +2467,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -2492,7 +2475,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.CreatedBy = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -2501,17 +2483,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Format = types.InputFormat(jtv) } - case "FormatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "Input": if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -2520,7 +2499,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -2536,7 +2514,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2545,12 +2522,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Name = ptr.String(jtv) } - case "PathOptions": if err := awsRestjson1_deserializeDocumentPathOptions(&sv.PathOptions, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -2559,7 +2534,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.ResourceArn = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -2568,12 +2542,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Source = types.Source(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2739,7 +2711,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -2748,17 +2719,14 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CreatedBy = ptr.String(jtv) } - case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } - case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -2767,7 +2735,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.DatasetName = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -2776,7 +2743,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.EncryptionKeyArn = ptr.String(jtv) } - case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -2785,12 +2751,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.EncryptionMode = types.EncryptionMode(jtv) } - case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -2799,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -2815,7 +2778,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } } - case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -2824,7 +2786,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.LogSubscription = types.LogSubscription(jtv) } - case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2837,7 +2798,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.MaxCapacity = int32(i64) } - case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -2850,7 +2810,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.MaxRetries = int32(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2859,17 +2818,14 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Name = ptr.String(jtv) } - case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } - case "ProfileConfiguration": if err := awsRestjson1_deserializeDocumentProfileConfiguration(&sv.ProfileConfiguration, value); err != nil { return err } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -2878,12 +2834,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ProjectName = ptr.String(jtv) } - case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -2892,7 +2846,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ResourceArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2901,12 +2854,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -2919,7 +2870,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Timeout = int32(i64) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2928,12 +2878,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Type = types.JobType(jtv) } - case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3096,7 +3044,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.Attempt = int32(i64) } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -3112,17 +3059,14 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } } - case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } - case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3131,7 +3075,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.DatasetName = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3140,7 +3083,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.ErrorMessage = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -3153,7 +3095,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.ExecutionTime = int32(i64) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -3162,12 +3103,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.JobName = ptr.String(jtv) } - case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -3176,7 +3115,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.LogGroupName = ptr.String(jtv) } - case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -3185,22 +3123,18 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.LogSubscription = types.LogSubscription(jtv) } - case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } - case "ProfileConfiguration": if err := awsRestjson1_deserializeDocumentProfileConfiguration(&sv.ProfileConfiguration, value); err != nil { return err } - case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -3209,7 +3143,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.RunId = ptr.String(jtv) } - case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3151,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.StartedBy = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -3234,7 +3166,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } } - case "State": if value != nil { jtv, ok := value.(string) @@ -3243,12 +3174,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.State = types.JobRunState(jtv) } - case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3414,7 +3343,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3423,7 +3351,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.CreatedBy = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3432,7 +3359,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.DatasetName = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3441,7 +3367,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3457,7 +3382,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3390,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.Name = ptr.String(jtv) } - case "OpenDate": if value != nil { switch jtv := value.(type) { @@ -3482,7 +3405,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "OpenedBy": if value != nil { jtv, ok := value.(string) @@ -3491,7 +3413,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.OpenedBy = ptr.String(jtv) } - case "RecipeName": if value != nil { jtv, ok := value.(string) @@ -3500,7 +3421,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.RecipeName = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3509,7 +3429,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ResourceArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3518,12 +3437,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.RoleArn = ptr.String(jtv) } - case "Sample": if err := awsRestjson1_deserializeDocumentSample(&sv.Sample, value); err != nil { return err } - case "SessionStatus": if value != nil { jtv, ok := value.(string) @@ -3532,12 +3449,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.SessionStatus = types.SessionStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3703,7 +3618,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3712,7 +3626,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3721,7 +3634,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3730,7 +3642,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3746,7 +3657,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3755,7 +3665,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.Name = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -3764,7 +3673,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.ProjectName = ptr.String(jtv) } - case "PublishedBy": if value != nil { jtv, ok := value.(string) @@ -3773,7 +3681,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.PublishedBy = ptr.String(jtv) } - case "PublishedDate": if value != nil { switch jtv := value.(type) { @@ -3789,7 +3696,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -3798,7 +3704,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.RecipeVersion = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3807,17 +3712,14 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.ResourceArn = ptr.String(jtv) } - case "Steps": if err := awsRestjson1_deserializeDocumentRecipeStepList(&sv.Steps, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3983,7 +3885,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3992,7 +3893,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4001,7 +3901,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -4010,7 +3909,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4026,7 +3924,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4035,7 +3932,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.Name = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4044,17 +3940,14 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.ResourceArn = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -4063,7 +3956,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4229,7 +4121,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -4238,7 +4129,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.CreatedBy = ptr.String(jtv) } - case "CronExpression": if value != nil { jtv, ok := value.(string) @@ -4247,12 +4137,10 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.CronExpression = ptr.String(jtv) } - case "JobNames": if err := awsRestjson1_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -4261,7 +4149,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4277,7 +4164,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4286,7 +4172,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.Name = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4295,12 +4180,10 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4452,7 +4335,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4461,7 +4343,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4616,7 +4497,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4625,7 +4505,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4777,7 +4656,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4786,7 +4664,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4942,12 +4819,10 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "Projects": if err := awsRestjson1_deserializeDocumentProjectList(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -5103,12 +4978,10 @@ func awsRestjson1_deserializeOpDocumentListRecipesOutput(v **ListRecipesOutput, } sv.NextToken = ptr.String(jtv) } - case "Recipes": if err := awsRestjson1_deserializeDocumentRecipeList(&sv.Recipes, value); err != nil { return err } - default: _, _ = key, value @@ -5264,12 +5137,10 @@ func awsRestjson1_deserializeOpDocumentListRecipeVersionsOutput(v **ListRecipeVe } sv.NextToken = ptr.String(jtv) } - case "Recipes": if err := awsRestjson1_deserializeDocumentRecipeList(&sv.Recipes, value); err != nil { return err } - default: _, _ = key, value @@ -5428,12 +5299,10 @@ func awsRestjson1_deserializeOpDocumentListRulesetsOutput(v **ListRulesetsOutput } sv.NextToken = ptr.String(jtv) } - case "Rulesets": if err := awsRestjson1_deserializeDocumentRulesetItemList(&sv.Rulesets, value); err != nil { return err } - default: _, _ = key, value @@ -5589,12 +5458,10 @@ func awsRestjson1_deserializeOpDocumentListSchedulesOutput(v **ListSchedulesOutp } sv.NextToken = ptr.String(jtv) } - case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } - default: _, _ = key, value @@ -5752,7 +5619,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5914,7 +5780,6 @@ func awsRestjson1_deserializeOpDocumentPublishRecipeOutput(v **PublishRecipeOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6080,7 +5945,6 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.ActionId = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6089,7 +5953,6 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.Name = ptr.String(jtv) } - case "Result": if value != nil { jtv, ok := value.(string) @@ -6098,7 +5961,6 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -6263,7 +6125,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -6428,7 +6289,6 @@ func awsRestjson1_deserializeOpDocumentStartProjectSessionOutput(v **StartProjec } sv.ClientSessionId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6437,7 +6297,6 @@ func awsRestjson1_deserializeOpDocumentStartProjectSessionOutput(v **StartProjec } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6596,7 +6455,6 @@ func awsRestjson1_deserializeOpDocumentStopJobRunOutput(v **StopJobRunOutput, va } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -6946,7 +6804,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7108,7 +6965,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileJobOutput(v **UpdateProfileJ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7274,7 +7130,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7283,7 +7138,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7442,7 +7296,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecipeOutput(v **UpdateRecipeOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7604,7 +7457,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecipeJobOutput(v **UpdateRecipeJob } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7763,7 +7615,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRulesetOutput(v **UpdateRulesetOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7925,7 +7776,6 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduleOutput(v **UpdateScheduleOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8171,15 +8021,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8187,15 +8031,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8260,7 +8100,6 @@ func awsRestjson1_deserializeDocumentAllowedStatistics(v **types.AllowedStatisti if err := awsRestjson1_deserializeDocumentStatisticList(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -8336,7 +8175,6 @@ func awsRestjson1_deserializeDocumentColumnSelector(v **types.ColumnSelector, va } sv.Name = ptr.String(jtv) } - case "Regex": if value != nil { jtv, ok := value.(string) @@ -8345,7 +8183,6 @@ func awsRestjson1_deserializeDocumentColumnSelector(v **types.ColumnSelector, va } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -8415,12 +8252,10 @@ func awsRestjson1_deserializeDocumentColumnStatisticsConfiguration(v **types.Col if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.Selectors, value); err != nil { return err } - case "Statistics": if err := awsRestjson1_deserializeDocumentStatisticsConfiguration(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -8494,7 +8329,6 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Condition = ptr.String(jtv) } - case "TargetColumn": if value != nil { jtv, ok := value.(string) @@ -8503,7 +8337,6 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.TargetColumn = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8512,7 +8345,6 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8576,15 +8408,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8592,15 +8418,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8635,7 +8457,6 @@ func awsRestjson1_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.Delimiter = ptr.String(jtv) } - case "HeaderRow": if value != nil { jtv, ok := value.(bool) @@ -8644,7 +8465,6 @@ func awsRestjson1_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.HeaderRow = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8684,7 +8504,6 @@ func awsRestjson1_deserializeDocumentCsvOutputOptions(v **types.CsvOutputOptions } sv.Delimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -8724,7 +8543,6 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.DatabaseTableName = ptr.String(jtv) } - case "GlueConnectionName": if value != nil { jtv, ok := value.(string) @@ -8733,7 +8551,6 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.GlueConnectionName = ptr.String(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -8742,12 +8559,10 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.QueryString = ptr.String(jtv) } - case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } - default: _, _ = key, value @@ -8783,7 +8598,6 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va if err := awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(&sv.DatabaseOptions, value); err != nil { return err } - case "DatabaseOutputMode": if value != nil { jtv, ok := value.(string) @@ -8792,7 +8606,6 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va } sv.DatabaseOutputMode = types.DatabaseOutputMode(jtv) } - case "GlueConnectionName": if value != nil { jtv, ok := value.(string) @@ -8801,7 +8614,6 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va } sv.GlueConnectionName = ptr.String(jtv) } - default: _, _ = key, value @@ -8875,12 +8687,10 @@ func awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(v **types.Databa } sv.TableName = ptr.String(jtv) } - case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } - default: _, _ = key, value @@ -8920,7 +8730,6 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8929,7 +8738,6 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.DatabaseName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -8938,12 +8746,10 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.TableName = ptr.String(jtv) } - case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } - default: _, _ = key, value @@ -8983,7 +8789,6 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8992,12 +8797,10 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.DatabaseName = ptr.String(jtv) } - case "DatabaseOptions": if err := awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(&sv.DatabaseOptions, value); err != nil { return err } - case "Overwrite": if value != nil { jtv, ok := value.(bool) @@ -9006,12 +8809,10 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.Overwrite = jtv } - case "S3Options": if err := awsRestjson1_deserializeDocumentS3TableOutputOptions(&sv.S3Options, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9020,7 +8821,6 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -9094,7 +8894,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.AccountId = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -9110,7 +8909,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -9119,7 +8917,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.CreatedBy = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -9128,17 +8925,14 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Format = types.InputFormat(jtv) } - case "FormatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "Input": if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9147,7 +8941,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -9163,7 +8956,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9172,12 +8964,10 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } - case "PathOptions": if err := awsRestjson1_deserializeDocumentPathOptions(&sv.PathOptions, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9186,7 +8976,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.ResourceArn = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -9195,12 +8984,10 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Source = types.Source(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9274,17 +9061,14 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.CreateColumn = jtv } - case "DatetimeOptions": if err := awsRestjson1_deserializeDocumentDatetimeOptions(&sv.DatetimeOptions, value); err != nil { return err } - case "Filter": if err := awsRestjson1_deserializeDocumentFilterExpression(&sv.Filter, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9293,7 +9077,6 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9302,7 +9085,6 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.Type = types.ParameterType(jtv) } - default: _, _ = key, value @@ -9342,7 +9124,6 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.Format = ptr.String(jtv) } - case "LocaleCode": if value != nil { jtv, ok := value.(string) @@ -9351,7 +9132,6 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.LocaleCode = ptr.String(jtv) } - case "TimezoneOffset": if value != nil { jtv, ok := value.(string) @@ -9360,7 +9140,6 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.TimezoneOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -9396,12 +9175,10 @@ func awsRestjson1_deserializeDocumentEntityDetectorConfiguration(v **types.Entit if err := awsRestjson1_deserializeDocumentAllowedStatisticList(&sv.AllowedStatistics, value); err != nil { return err } - case "EntityTypes": if err := awsRestjson1_deserializeDocumentEntityTypeList(&sv.EntityTypes, value); err != nil { return err } - default: _, _ = key, value @@ -9477,17 +9254,14 @@ func awsRestjson1_deserializeDocumentExcelOptions(v **types.ExcelOptions, value } sv.HeaderRow = ptr.Bool(jtv) } - case "SheetIndexes": if err := awsRestjson1_deserializeDocumentSheetIndexList(&sv.SheetIndexes, value); err != nil { return err } - case "SheetNames": if err := awsRestjson1_deserializeDocumentSheetNameList(&sv.SheetNames, value); err != nil { return err } - default: _, _ = key, value @@ -9531,7 +9305,6 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.MaxFiles = ptr.Int32(int32(i64)) } - case "Order": if value != nil { jtv, ok := value.(string) @@ -9540,7 +9313,6 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.Order = types.Order(jtv) } - case "OrderedBy": if value != nil { jtv, ok := value.(string) @@ -9549,7 +9321,6 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.OrderedBy = types.OrderedBy(jtv) } - default: _, _ = key, value @@ -9589,12 +9360,10 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Expression = ptr.String(jtv) } - case "ValuesMap": if err := awsRestjson1_deserializeDocumentValuesMap(&sv.ValuesMap, value); err != nil { return err } - default: _, _ = key, value @@ -9630,17 +9399,14 @@ func awsRestjson1_deserializeDocumentFormatOptions(v **types.FormatOptions, valu if err := awsRestjson1_deserializeDocumentCsvOptions(&sv.Csv, value); err != nil { return err } - case "Excel": if err := awsRestjson1_deserializeDocumentExcelOptions(&sv.Excel, value); err != nil { return err } - case "Json": if err := awsRestjson1_deserializeDocumentJsonOptions(&sv.Json, value); err != nil { return err } - default: _, _ = key, value @@ -9676,22 +9442,18 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e if err := awsRestjson1_deserializeDocumentDatabaseInputDefinition(&sv.DatabaseInputDefinition, value); err != nil { return err } - case "DataCatalogInputDefinition": if err := awsRestjson1_deserializeDocumentDataCatalogInputDefinition(&sv.DataCatalogInputDefinition, value); err != nil { return err } - case "Metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "S3InputDefinition": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3InputDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -9721,15 +9483,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9737,15 +9493,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9780,7 +9532,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccountId = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -9796,7 +9547,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -9805,17 +9555,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreatedBy = ptr.String(jtv) } - case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } - case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9824,7 +9571,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.DatasetName = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -9833,7 +9579,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EncryptionKeyArn = ptr.String(jtv) } - case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -9842,12 +9587,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EncryptionMode = types.EncryptionMode(jtv) } - case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9856,7 +9599,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -9872,7 +9614,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -9881,7 +9622,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LogSubscription = types.LogSubscription(jtv) } - case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9894,7 +9634,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxCapacity = int32(i64) } - case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -9907,7 +9646,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxRetries = int32(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9916,12 +9654,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } - case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -9930,12 +9666,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ProjectName = ptr.String(jtv) } - case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9944,7 +9678,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ResourceArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9953,12 +9686,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -9971,7 +9702,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Timeout = int32(i64) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9980,12 +9710,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } - case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -10099,7 +9827,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = int32(i64) } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -10115,17 +9842,14 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } - case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10134,7 +9858,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.DatasetName = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10143,7 +9866,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ErrorMessage = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -10156,7 +9878,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTime = int32(i64) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -10165,12 +9886,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobName = ptr.String(jtv) } - case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -10179,7 +9898,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogGroupName = ptr.String(jtv) } - case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -10188,17 +9906,14 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogSubscription = types.LogSubscription(jtv) } - case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } - case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -10207,7 +9922,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.RunId = ptr.String(jtv) } - case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -10216,7 +9930,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StartedBy = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -10232,7 +9945,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10241,12 +9953,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } - case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -10320,7 +10030,6 @@ func awsRestjson1_deserializeDocumentJobSample(v **types.JobSample, value interf } sv.Mode = types.SampleMode(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -10333,7 +10042,6 @@ func awsRestjson1_deserializeDocumentJobSample(v **types.JobSample, value interf } sv.Size = ptr.Int64(i64) } - default: _, _ = key, value @@ -10373,7 +10081,6 @@ func awsRestjson1_deserializeDocumentJsonOptions(v **types.JsonOptions, value in } sv.MultiLine = jtv } - default: _, _ = key, value @@ -10413,7 +10120,6 @@ func awsRestjson1_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10453,7 +10159,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.CompressionFormat = types.CompressionFormat(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -10462,17 +10167,14 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Format = types.OutputFormat(jtv) } - case "FormatOptions": if err := awsRestjson1_deserializeDocumentOutputFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.Location, value); err != nil { return err } - case "MaxOutputFiles": if value != nil { jtv, ok := value.(json.Number) @@ -10485,7 +10187,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.MaxOutputFiles = ptr.Int32(int32(i64)) } - case "Overwrite": if value != nil { jtv, ok := value.(bool) @@ -10494,12 +10195,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Overwrite = jtv } - case "PartitionColumns": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.PartitionColumns, value); err != nil { return err } - default: _, _ = key, value @@ -10535,7 +10234,6 @@ func awsRestjson1_deserializeDocumentOutputFormatOptions(v **types.OutputFormatO if err := awsRestjson1_deserializeDocumentCsvOutputOptions(&sv.Csv, value); err != nil { return err } - default: _, _ = key, value @@ -10641,17 +10339,14 @@ func awsRestjson1_deserializeDocumentPathOptions(v **types.PathOptions, value in if err := awsRestjson1_deserializeDocumentFilesLimit(&sv.FilesLimit, value); err != nil { return err } - case "LastModifiedDateCondition": if err := awsRestjson1_deserializeDocumentFilterExpression(&sv.LastModifiedDateCondition, value); err != nil { return err } - case "Parameters": if err := awsRestjson1_deserializeDocumentPathParametersMap(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -10722,22 +10417,18 @@ func awsRestjson1_deserializeDocumentProfileConfiguration(v **types.ProfileConfi if err := awsRestjson1_deserializeDocumentColumnStatisticsConfigurationList(&sv.ColumnStatisticsConfigurations, value); err != nil { return err } - case "DatasetStatisticsConfiguration": if err := awsRestjson1_deserializeDocumentStatisticsConfiguration(&sv.DatasetStatisticsConfiguration, value); err != nil { return err } - case "EntityDetectorConfiguration": if err := awsRestjson1_deserializeDocumentEntityDetectorConfiguration(&sv.EntityDetectorConfiguration, value); err != nil { return err } - case "ProfileColumns": if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.ProfileColumns, value); err != nil { return err } - default: _, _ = key, value @@ -10777,7 +10468,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.AccountId = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -10793,7 +10483,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -10802,7 +10491,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.CreatedBy = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10811,7 +10499,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.DatasetName = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -10820,7 +10507,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -10836,7 +10522,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10845,7 +10530,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } - case "OpenDate": if value != nil { switch jtv := value.(type) { @@ -10861,7 +10545,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } - case "OpenedBy": if value != nil { jtv, ok := value.(string) @@ -10870,7 +10553,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.OpenedBy = ptr.String(jtv) } - case "RecipeName": if value != nil { jtv, ok := value.(string) @@ -10879,7 +10561,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.RecipeName = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10888,7 +10569,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ResourceArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10897,17 +10577,14 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.RoleArn = ptr.String(jtv) } - case "Sample": if err := awsRestjson1_deserializeDocumentSample(&sv.Sample, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10988,7 +10665,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -10997,7 +10673,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11006,7 +10681,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -11015,7 +10689,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -11031,7 +10704,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11040,7 +10712,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -11049,7 +10720,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.ProjectName = ptr.String(jtv) } - case "PublishedBy": if value != nil { jtv, ok := value.(string) @@ -11058,7 +10728,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.PublishedBy = ptr.String(jtv) } - case "PublishedDate": if value != nil { switch jtv := value.(type) { @@ -11074,7 +10743,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -11083,7 +10751,6 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeVersion = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11092,17 +10759,14 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.ResourceArn = ptr.String(jtv) } - case "Steps": if err := awsRestjson1_deserializeDocumentRecipeStepList(&sv.Steps, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11142,12 +10806,10 @@ func awsRestjson1_deserializeDocumentRecipeAction(v **types.RecipeAction, value } sv.Operation = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -11255,7 +10917,6 @@ func awsRestjson1_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.Name = ptr.String(jtv) } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -11264,7 +10925,6 @@ func awsRestjson1_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11300,12 +10960,10 @@ func awsRestjson1_deserializeDocumentRecipeStep(v **types.RecipeStep, value inte if err := awsRestjson1_deserializeDocumentRecipeAction(&sv.Action, value); err != nil { return err } - case "ConditionExpressions": if err := awsRestjson1_deserializeDocumentConditionExpressionList(&sv.ConditionExpressions, value); err != nil { return err } - default: _, _ = key, value @@ -11379,7 +11037,6 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11388,7 +11045,6 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.ErrorMessage = ptr.String(jtv) } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -11397,7 +11053,6 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.RecipeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11427,15 +11082,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11443,15 +11092,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11486,12 +11131,10 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.CheckExpression = ptr.String(jtv) } - case "ColumnSelectors": if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.ColumnSelectors, value); err != nil { return err } - case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -11500,7 +11143,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Disabled = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11509,17 +11151,14 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "SubstitutionMap": if err := awsRestjson1_deserializeDocumentValuesMap(&sv.SubstitutionMap, value); err != nil { return err } - case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } - default: _, _ = key, value @@ -11593,7 +11232,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.AccountId = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -11609,7 +11247,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11618,7 +11255,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11627,7 +11263,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -11636,7 +11271,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -11652,7 +11286,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11661,7 +11294,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.Name = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11670,7 +11302,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.ResourceArn = ptr.String(jtv) } - case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -11683,12 +11314,10 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.RuleCount = int32(i64) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -11697,7 +11326,6 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11771,7 +11399,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "BucketOwner": if value != nil { jtv, ok := value.(string) @@ -11780,7 +11407,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketOwner = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11789,7 +11415,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -11825,7 +11450,6 @@ func awsRestjson1_deserializeDocumentS3TableOutputOptions(v **types.S3TableOutpu if err := awsRestjson1_deserializeDocumentS3Location(&sv.Location, value); err != nil { return err } - default: _, _ = key, value @@ -11869,7 +11493,6 @@ func awsRestjson1_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Size = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11878,7 +11501,6 @@ func awsRestjson1_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Type = types.SampleType(jtv) } - default: _, _ = key, value @@ -11918,7 +11540,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.AccountId = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -11934,7 +11555,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11943,7 +11563,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CreatedBy = ptr.String(jtv) } - case "CronExpression": if value != nil { jtv, ok := value.(string) @@ -11952,12 +11571,10 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CronExpression = ptr.String(jtv) } - case "JobNames": if err := awsRestjson1_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -11966,7 +11583,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -11982,7 +11598,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11991,7 +11606,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Name = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12000,12 +11614,10 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12069,15 +11681,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12085,15 +11691,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12236,7 +11838,6 @@ func awsRestjson1_deserializeDocumentStatisticOverride(v **types.StatisticOverri if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -12245,7 +11846,6 @@ func awsRestjson1_deserializeDocumentStatisticOverride(v **types.StatisticOverri } sv.Statistic = ptr.String(jtv) } - default: _, _ = key, value @@ -12315,12 +11915,10 @@ func awsRestjson1_deserializeDocumentStatisticsConfiguration(v **types.Statistic if err := awsRestjson1_deserializeDocumentStatisticList(&sv.IncludedStatistics, value); err != nil { return err } - case "Overrides": if err := awsRestjson1_deserializeDocumentStatisticOverrideList(&sv.Overrides, value); err != nil { return err } - default: _, _ = key, value @@ -12396,7 +11994,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Type = types.ThresholdType(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -12405,7 +12002,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Unit = types.ThresholdUnit(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -12439,7 +12035,6 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } } - default: _, _ = key, value @@ -12479,7 +12074,6 @@ func awsRestjson1_deserializeDocumentValidationConfiguration(v **types.Validatio } sv.RulesetArn = ptr.String(jtv) } - case "ValidationMode": if value != nil { jtv, ok := value.(string) @@ -12488,7 +12082,6 @@ func awsRestjson1_deserializeDocumentValidationConfiguration(v **types.Validatio } sv.ValidationMode = types.ValidationMode(jtv) } - default: _, _ = key, value @@ -12552,15 +12145,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12568,15 +12155,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/dataexchange/deserializers.go b/service/dataexchange/deserializers.go index 13fb29dbec0..379ecf626ae 100644 --- a/service/dataexchange/deserializers.go +++ b/service/dataexchange/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -205,7 +204,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -214,7 +212,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -227,7 +224,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -236,7 +232,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.DataSetId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -245,7 +240,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Description = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -258,7 +252,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.EndsAt = ptr.Time(t) } - case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -267,7 +260,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -276,7 +268,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -285,7 +276,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -294,7 +284,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -303,7 +292,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.SenderPrincipal = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -316,7 +304,6 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -593,7 +580,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -606,7 +592,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -615,7 +600,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -628,7 +612,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -637,7 +620,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.DataSetId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -646,7 +628,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Description = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -659,7 +640,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.EndsAt = ptr.Time(t) } - case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -668,7 +648,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -677,7 +656,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -686,7 +664,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -695,7 +672,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -704,7 +680,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.SenderPrincipal = ptr.String(jtv) } - case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -713,12 +688,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.SourceDataSetId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -731,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -899,7 +871,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Arn = ptr.String(jtv) } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -908,7 +879,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -921,7 +891,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -930,7 +899,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -939,7 +907,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -948,7 +915,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Name = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -957,12 +923,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Origin = types.Origin(jtv) } - case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -971,12 +935,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.SourceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -989,7 +951,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -1153,7 +1114,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1162,7 +1122,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1175,12 +1134,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.CreatedAt = ptr.Time(t) } - case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1189,7 +1146,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.Id = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1202,7 +1158,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -1373,7 +1328,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1386,17 +1340,14 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.CreatedAt = ptr.Time(t) } - case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1405,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Id = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1414,7 +1364,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.State = types.State(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1423,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Type = types.Type(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1436,7 +1384,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -1604,7 +1551,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Arn = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -1613,7 +1559,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Comment = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1626,7 +1571,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -1635,7 +1579,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.DataSetId = ptr.String(jtv) } - case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -1644,7 +1587,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Finalized = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1653,7 +1595,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Id = ptr.String(jtv) } - case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -1662,7 +1603,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.RevocationComment = ptr.String(jtv) } - case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -1671,7 +1611,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Revoked = jtv } - case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -1684,7 +1623,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.RevokedAt = ptr.Time(t) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -1693,12 +1631,10 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.SourceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1711,7 +1647,6 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -2412,12 +2347,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Arn = ptr.String(jtv) } - case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -2426,7 +2359,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2439,7 +2371,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -2448,7 +2379,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.DataSetId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2457,7 +2387,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2466,7 +2395,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -2475,7 +2403,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.RevisionId = ptr.String(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -2484,7 +2411,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2497,7 +2423,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -2665,7 +2590,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -2678,7 +2602,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -2687,7 +2610,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2700,7 +2622,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -2709,7 +2630,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.DataSetId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2718,7 +2638,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Description = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -2731,7 +2650,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.EndsAt = ptr.Time(t) } - case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -2740,7 +2658,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2749,7 +2666,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2758,7 +2674,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -2767,7 +2682,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -2776,7 +2690,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.SenderPrincipal = ptr.String(jtv) } - case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -2785,12 +2698,10 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.SourceDataSetId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2803,7 +2714,6 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -2968,7 +2878,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Arn = ptr.String(jtv) } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -2977,7 +2886,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2990,7 +2898,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2999,7 +2906,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3008,7 +2914,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3017,7 +2922,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Name = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -3026,12 +2930,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Origin = types.Origin(jtv) } - case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -3040,12 +2942,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.SourceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3058,7 +2958,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3219,7 +3118,6 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3228,7 +3126,6 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3241,12 +3138,10 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.CreatedAt = ptr.Time(t) } - case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3255,7 +3150,6 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.Id = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3268,7 +3162,6 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3433,7 +3326,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3446,17 +3338,14 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } - case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3465,7 +3354,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Id = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3474,7 +3362,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.State = types.State(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3483,7 +3370,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Type = types.Type(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3496,7 +3382,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3664,7 +3549,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -3677,7 +3561,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3686,7 +3569,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3699,7 +3581,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -3708,7 +3589,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.DataSetId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3717,7 +3597,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Description = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -3730,7 +3609,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.EndsAt = ptr.Time(t) } - case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -3739,7 +3617,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3748,7 +3625,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3757,7 +3633,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -3766,7 +3641,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -3775,7 +3649,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.SenderPrincipal = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3788,7 +3661,6 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3953,7 +3825,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Arn = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -3962,7 +3833,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Comment = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3975,7 +3845,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -3984,7 +3853,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.DataSetId = ptr.String(jtv) } - case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -3993,7 +3861,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Finalized = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4002,7 +3869,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Id = ptr.String(jtv) } - case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -4011,7 +3877,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.RevocationComment = ptr.String(jtv) } - case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -4020,7 +3885,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Revoked = jtv } - case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -4033,7 +3897,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.RevokedAt = ptr.Time(t) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -4042,12 +3905,10 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.SourceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4060,7 +3921,6 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4224,7 +4084,6 @@ func awsRestjson1_deserializeOpDocumentListDataGrantsOutput(v **ListDataGrantsOu if err := awsRestjson1_deserializeDocumentListOfDataGrantSummaryEntry(&sv.DataGrantSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4233,7 +4092,6 @@ func awsRestjson1_deserializeOpDocumentListDataGrantsOutput(v **ListDataGrantsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4398,12 +4256,10 @@ func awsRestjson1_deserializeOpDocumentListDataSetRevisionsOutput(v **ListDataSe } sv.NextToken = ptr.String(jtv) } - case "Revisions": if err := awsRestjson1_deserializeDocumentListOfRevisionEntry(&sv.Revisions, value); err != nil { return err } - default: _, _ = key, value @@ -4564,7 +4420,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentListOfDataSetEntry(&sv.DataSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4573,7 +4428,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4734,7 +4588,6 @@ func awsRestjson1_deserializeOpDocumentListEventActionsOutput(v **ListEventActio if err := awsRestjson1_deserializeDocumentListOfEventActionEntry(&sv.EventActions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4743,7 +4596,6 @@ func awsRestjson1_deserializeOpDocumentListEventActionsOutput(v **ListEventActio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4904,7 +4756,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentListOfJobEntry(&sv.Jobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4913,7 +4764,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5077,7 +4927,6 @@ func awsRestjson1_deserializeOpDocumentListReceivedDataGrantsOutput(v **ListRece if err := awsRestjson1_deserializeDocumentListOfReceivedDataGrantSummariesEntry(&sv.DataGrantSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5086,7 +4935,6 @@ func awsRestjson1_deserializeOpDocumentListReceivedDataGrantsOutput(v **ListRece } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5247,7 +5095,6 @@ func awsRestjson1_deserializeOpDocumentListRevisionAssetsOutput(v **ListRevision if err := awsRestjson1_deserializeDocumentListOfAssetEntry(&sv.Assets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5256,7 +5103,6 @@ func awsRestjson1_deserializeOpDocumentListRevisionAssetsOutput(v **ListRevision } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5405,7 +5251,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5576,7 +5421,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Arn = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -5585,7 +5429,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Comment = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -5598,7 +5441,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -5607,7 +5449,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.DataSetId = ptr.String(jtv) } - case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -5616,7 +5457,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Finalized = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5625,7 +5465,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Id = ptr.String(jtv) } - case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -5634,7 +5473,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.RevocationComment = ptr.String(jtv) } - case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -5643,7 +5481,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Revoked = jtv } - case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -5656,7 +5493,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.RevokedAt = ptr.Time(t) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -5665,7 +5501,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5678,7 +5513,6 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6386,12 +6220,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Arn = ptr.String(jtv) } - case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -6400,7 +6232,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6413,7 +6244,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -6422,7 +6252,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.DataSetId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6431,7 +6260,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6440,7 +6268,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6449,7 +6276,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.RevisionId = ptr.String(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -6458,7 +6284,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6471,7 +6296,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6639,7 +6463,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Arn = ptr.String(jtv) } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6471,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6661,7 +6483,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6670,7 +6491,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6679,7 +6499,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6688,7 +6507,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Name = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -6697,12 +6515,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Origin = types.Origin(jtv) } - case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -6711,7 +6527,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6724,7 +6539,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6888,7 +6702,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6897,7 +6710,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6910,12 +6722,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.CreatedAt = ptr.Time(t) } - case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6924,7 +6734,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.Id = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6937,7 +6746,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -7108,7 +6916,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Arn = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -7117,7 +6924,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Comment = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -7130,7 +6936,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -7139,7 +6944,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.DataSetId = ptr.String(jtv) } - case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -7148,7 +6952,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Finalized = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7157,7 +6960,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Id = ptr.String(jtv) } - case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -7166,7 +6968,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.RevocationComment = ptr.String(jtv) } - case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -7175,7 +6976,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Revoked = jtv } - case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -7188,7 +6988,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.RevokedAt = ptr.Time(t) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -7197,7 +6996,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7210,7 +7008,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -7492,15 +7289,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7508,15 +7299,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7547,7 +7334,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentAutoExportRevisionToS3RequestDetails(&sv.ExportRevisionToS3, value); err != nil { return err } - default: _, _ = key, value @@ -7587,7 +7373,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiDescription = ptr.String(jtv) } - case "ApiEndpoint": if value != nil { jtv, ok := value.(string) @@ -7596,7 +7381,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiEndpoint = ptr.String(jtv) } - case "ApiId": if value != nil { jtv, ok := value.(string) @@ -7605,7 +7389,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiId = ptr.String(jtv) } - case "ApiKey": if value != nil { jtv, ok := value.(string) @@ -7614,7 +7397,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiKey = ptr.String(jtv) } - case "ApiName": if value != nil { jtv, ok := value.(string) @@ -7623,7 +7405,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiName = ptr.String(jtv) } - case "ApiSpecificationDownloadUrl": if value != nil { jtv, ok := value.(string) @@ -7632,7 +7413,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiSpecificationDownloadUrl = ptr.String(jtv) } - case "ApiSpecificationDownloadUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -7645,7 +7425,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiSpecificationDownloadUrlExpiresAt = ptr.Time(t) } - case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -7654,7 +7433,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ProtocolType = types.ProtocolType(jtv) } - case "Stage": if value != nil { jtv, ok := value.(string) @@ -7663,7 +7441,6 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -7703,7 +7480,6 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.AssetId = ptr.String(jtv) } - case "Bucket": if value != nil { jtv, ok := value.(string) @@ -7712,7 +7488,6 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7721,7 +7496,6 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -7757,27 +7531,22 @@ func awsRestjson1_deserializeDocumentAssetDetails(v **types.AssetDetails, value if err := awsRestjson1_deserializeDocumentApiGatewayApiAsset(&sv.ApiGatewayApiAsset, value); err != nil { return err } - case "LakeFormationDataPermissionAsset": if err := awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(&sv.LakeFormationDataPermissionAsset, value); err != nil { return err } - case "RedshiftDataShareAsset": if err := awsRestjson1_deserializeDocumentRedshiftDataShareAsset(&sv.RedshiftDataShareAsset, value); err != nil { return err } - case "S3DataAccessAsset": if err := awsRestjson1_deserializeDocumentS3DataAccessAsset(&sv.S3DataAccessAsset, value); err != nil { return err } - case "S3SnapshotAsset": if err := awsRestjson1_deserializeDocumentS3SnapshotAsset(&sv.S3SnapshotAsset, value); err != nil { return err } - default: _, _ = key, value @@ -7817,12 +7586,10 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Arn = ptr.String(jtv) } - case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -7831,7 +7598,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -7844,7 +7610,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -7853,7 +7618,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.DataSetId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7862,7 +7626,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7871,7 +7634,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -7880,7 +7642,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.RevisionId = ptr.String(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -7889,7 +7650,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7902,7 +7662,6 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -7942,7 +7701,6 @@ func awsRestjson1_deserializeDocumentAssetSourceEntry(v **types.AssetSourceEntry } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7951,7 +7709,6 @@ func awsRestjson1_deserializeDocumentAssetSourceEntry(v **types.AssetSourceEntry } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -7991,7 +7748,6 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(v **type } sv.Bucket = ptr.String(jtv) } - case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -8000,7 +7756,6 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(v **type } sv.KeyPattern = ptr.String(jtv) } - default: _, _ = key, value @@ -8036,12 +7791,10 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionToS3RequestDetails(v **ty if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } - case "RevisionDestination": if err := awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(&sv.RevisionDestination, value); err != nil { return err } - default: _, _ = key, value @@ -8071,15 +7824,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8087,7 +7834,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8096,7 +7842,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8105,15 +7850,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8144,7 +7885,6 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai if err := awsRestjson1_deserializeDocumentS3DataAccessAssetSourceEntry(&sv.AssetSource, value); err != nil { return err } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8153,7 +7893,6 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai } sv.DataSetId = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8162,7 +7901,6 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8198,7 +7936,6 @@ func awsRestjson1_deserializeDocumentDatabaseLFTagPolicy(v **types.DatabaseLFTag if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } - default: _, _ = key, value @@ -8234,12 +7971,10 @@ func awsRestjson1_deserializeDocumentDatabaseLFTagPolicyAndPermissions(v **types if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentListOfDatabaseLFTagPolicyPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -8279,7 +8014,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -8292,7 +8026,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8301,7 +8034,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8314,7 +8046,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8323,7 +8054,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.DataSetId = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -8336,7 +8066,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.EndsAt = ptr.Time(t) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8345,7 +8074,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8354,7 +8082,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -8363,7 +8090,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -8372,7 +8098,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.SenderPrincipal = ptr.String(jtv) } - case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -8381,7 +8106,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.SourceDataSetId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8394,7 +8118,6 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8434,7 +8157,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Arn = ptr.String(jtv) } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -8443,7 +8165,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.AssetType = types.AssetType(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8456,7 +8177,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8465,7 +8185,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8474,7 +8193,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8483,7 +8201,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Name = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -8492,12 +8209,10 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Origin = types.Origin(jtv) } - case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -8506,7 +8221,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8233,6 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8555,12 +8268,10 @@ func awsRestjson1_deserializeDocumentDetails(v **types.Details, value interface{ if err := awsRestjson1_deserializeDocumentImportAssetFromSignedUrlJobErrorDetails(&sv.ImportAssetFromSignedUrlJobErrorDetails, value); err != nil { return err } - case "ImportAssetsFromS3JobErrorDetails": if err := awsRestjson1_deserializeDocumentListOfAssetSourceEntry(&sv.ImportAssetsFromS3JobErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8596,7 +8307,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e if err := awsRestjson1_deserializeDocumentRevisionPublished(&sv.RevisionPublished, value); err != nil { return err } - default: _, _ = key, value @@ -8632,7 +8342,6 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8641,7 +8350,6 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8654,12 +8362,10 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.CreatedAt = ptr.Time(t) } - case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8668,7 +8374,6 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.Id = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8681,7 +8386,6 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8717,7 +8421,6 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E if err := awsRestjson1_deserializeDocumentListOfAssetDestinationEntry(&sv.AssetDestinations, value); err != nil { return err } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8726,12 +8429,10 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E } sv.DataSetId = ptr.String(jtv) } - case "Encryption": if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8740,7 +8441,6 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8780,7 +8480,6 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.AssetId = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8789,7 +8488,6 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.DataSetId = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8798,7 +8496,6 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.RevisionId = ptr.String(jtv) } - case "SignedUrl": if value != nil { jtv, ok := value.(string) @@ -8807,7 +8504,6 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.SignedUrl = ptr.String(jtv) } - case "SignedUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -8820,7 +8516,6 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.SignedUrlExpiresAt = ptr.Time(t) } - default: _, _ = key, value @@ -8860,12 +8555,10 @@ func awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(v **type } sv.DataSetId = ptr.String(jtv) } - case "Encryption": if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } - case "EventActionArn": if value != nil { jtv, ok := value.(string) @@ -8874,12 +8567,10 @@ func awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(v **type } sv.EventActionArn = ptr.String(jtv) } - case "RevisionDestinations": if err := awsRestjson1_deserializeDocumentListOfRevisionDestinationEntry(&sv.RevisionDestinations, value); err != nil { return err } - default: _, _ = key, value @@ -8919,7 +8610,6 @@ func awsRestjson1_deserializeDocumentExportServerSideEncryption(v **types.Export } sv.KmsKeyArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8928,7 +8618,6 @@ func awsRestjson1_deserializeDocumentExportServerSideEncryption(v **types.Export } sv.Type = types.ServerSideEncryptionTypes(jtv) } - default: _, _ = key, value @@ -8968,7 +8657,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiDescription = ptr.String(jtv) } - case "ApiId": if value != nil { jtv, ok := value.(string) @@ -8977,7 +8665,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiId = ptr.String(jtv) } - case "ApiKey": if value != nil { jtv, ok := value.(string) @@ -8986,7 +8673,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiKey = ptr.String(jtv) } - case "ApiName": if value != nil { jtv, ok := value.(string) @@ -8995,7 +8681,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiName = ptr.String(jtv) } - case "ApiSpecificationMd5Hash": if value != nil { jtv, ok := value.(string) @@ -9004,7 +8689,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationMd5Hash = ptr.String(jtv) } - case "ApiSpecificationUploadUrl": if value != nil { jtv, ok := value.(string) @@ -9013,7 +8697,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationUploadUrl = ptr.String(jtv) } - case "ApiSpecificationUploadUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -9026,7 +8709,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationUploadUrlExpiresAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9035,7 +8717,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.DataSetId = ptr.String(jtv) } - case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -9044,7 +8725,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ProtocolType = types.ProtocolType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9053,7 +8733,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.RevisionId = ptr.String(jtv) } - case "Stage": if value != nil { jtv, ok := value.(string) @@ -9062,7 +8741,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.Stage = ptr.String(jtv) } - default: _, _ = key, value @@ -9102,7 +8780,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlJobErrorDetails(v * } sv.AssetName = ptr.String(jtv) } - default: _, _ = key, value @@ -9142,7 +8819,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.AssetName = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9151,7 +8827,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.DataSetId = ptr.String(jtv) } - case "Md5Hash": if value != nil { jtv, ok := value.(string) @@ -9160,7 +8835,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.Md5Hash = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9169,7 +8843,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.RevisionId = ptr.String(jtv) } - case "SignedUrl": if value != nil { jtv, ok := value.(string) @@ -9178,7 +8851,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.SignedUrl = ptr.String(jtv) } - case "SignedUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -9191,7 +8863,6 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.SignedUrlExpiresAt = ptr.Time(t) } - default: _, _ = key, value @@ -9231,12 +8902,10 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.CatalogId = ptr.String(jtv) } - case "Database": if err := awsRestjson1_deserializeDocumentDatabaseLFTagPolicyAndPermissions(&sv.Database, value); err != nil { return err } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9245,7 +8914,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.DataSetId = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9254,7 +8922,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.RevisionId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9263,12 +8930,10 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.RoleArn = ptr.String(jtv) } - case "Table": if err := awsRestjson1_deserializeDocumentTableLFTagPolicyAndPermissions(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -9304,7 +8969,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD if err := awsRestjson1_deserializeDocumentListOfRedshiftDataShareAssetSourceEntry(&sv.AssetSources, value); err != nil { return err } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9313,7 +8977,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD } sv.DataSetId = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9322,7 +8985,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -9358,7 +9020,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types if err := awsRestjson1_deserializeDocumentListOfAssetSourceEntry(&sv.AssetSources, value); err != nil { return err } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9367,7 +9028,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types } sv.DataSetId = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9376,7 +9036,6 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -9406,15 +9065,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9422,15 +9075,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9465,7 +9114,6 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -9478,17 +9126,14 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.CreatedAt = ptr.Time(t) } - case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9497,7 +9142,6 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Id = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9506,7 +9150,6 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.State = types.State(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9515,7 +9158,6 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Type = types.Type(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -9528,7 +9170,6 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -9568,12 +9209,10 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Code = types.Code(jtv) } - case "Details": if err := awsRestjson1_deserializeDocumentDetails(&sv.Details, value); err != nil { return err } - case "LimitName": if value != nil { jtv, ok := value.(string) @@ -9582,7 +9221,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.LimitName = types.JobErrorLimitName(jtv) } - case "LimitValue": if value != nil { switch jtv := value.(type) { @@ -9616,7 +9254,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9625,7 +9262,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9634,7 +9270,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9643,7 +9278,6 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.ResourceType = types.JobErrorResourceTypes(jtv) } - default: _, _ = key, value @@ -9683,7 +9317,6 @@ func awsRestjson1_deserializeDocumentKmsKeyToGrant(v **types.KmsKeyToGrant, valu } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9719,7 +9352,6 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. if err := awsRestjson1_deserializeDocumentLakeFormationDataPermissionDetails(&sv.LakeFormationDataPermissionDetails, value); err != nil { return err } - case "LakeFormationDataPermissionType": if value != nil { jtv, ok := value.(string) @@ -9728,12 +9360,10 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. } sv.LakeFormationDataPermissionType = types.LakeFormationDataPermissionType(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentListOfLFPermissions(&sv.Permissions, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9742,7 +9372,6 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9778,7 +9407,6 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionDetails(v **type if err := awsRestjson1_deserializeDocumentLFTagPolicyDetails(&sv.LFTagPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -9814,12 +9442,10 @@ func awsRestjson1_deserializeDocumentLFResourceDetails(v **types.LFResourceDetai if err := awsRestjson1_deserializeDocumentDatabaseLFTagPolicy(&sv.Database, value); err != nil { return err } - case "Table": if err := awsRestjson1_deserializeDocumentTableLFTagPolicy(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -9859,12 +9485,10 @@ func awsRestjson1_deserializeDocumentLFTag(v **types.LFTag, value interface{}) e } sv.TagKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentListOfLFTagValues(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -9904,12 +9528,10 @@ func awsRestjson1_deserializeDocumentLFTagPolicyDetails(v **types.LFTagPolicyDet } sv.CatalogId = ptr.String(jtv) } - case "ResourceDetails": if err := awsRestjson1_deserializeDocumentLFResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9918,7 +9540,6 @@ func awsRestjson1_deserializeDocumentLFTagPolicyDetails(v **types.LFTagPolicyDet } sv.ResourceType = types.LFResourceType(jtv) } - default: _, _ = key, value @@ -10650,7 +10271,6 @@ func awsRestjson1_deserializeDocumentOriginDetails(v **types.OriginDetails, valu } sv.DataGrantId = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -10659,7 +10279,6 @@ func awsRestjson1_deserializeDocumentOriginDetails(v **types.OriginDetails, valu } sv.ProductId = ptr.String(jtv) } - default: _, _ = key, value @@ -10699,7 +10318,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } - case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -10712,7 +10330,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.AcceptedAt = ptr.Time(t) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10721,7 +10338,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10734,7 +10350,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -10743,7 +10358,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.DataSetId = ptr.String(jtv) } - case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -10756,7 +10370,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.EndsAt = ptr.Time(t) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10765,7 +10378,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10774,7 +10386,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Name = ptr.String(jtv) } - case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -10783,7 +10394,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.ReceiverPrincipal = ptr.String(jtv) } - case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -10792,7 +10402,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.SenderPrincipal = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10805,7 +10414,6 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -10845,7 +10453,6 @@ func awsRestjson1_deserializeDocumentRedshiftDataShareAsset(v **types.RedshiftDa } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -10885,7 +10492,6 @@ func awsRestjson1_deserializeDocumentRedshiftDataShareAssetSourceEntry(v **types } sv.DataShareArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10915,15 +10521,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10931,7 +10531,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10940,7 +10539,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10949,15 +10547,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10988,47 +10582,38 @@ func awsRestjson1_deserializeDocumentResponseDetails(v **types.ResponseDetails, if err := awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetails(&sv.CreateS3DataAccessFromS3Bucket, value); err != nil { return err } - case "ExportAssetsToS3": if err := awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(&sv.ExportAssetsToS3, value); err != nil { return err } - case "ExportAssetToSignedUrl": if err := awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(&sv.ExportAssetToSignedUrl, value); err != nil { return err } - case "ExportRevisionsToS3": if err := awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(&sv.ExportRevisionsToS3, value); err != nil { return err } - case "ImportAssetFromApiGatewayApi": if err := awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails(&sv.ImportAssetFromApiGatewayApi, value); err != nil { return err } - case "ImportAssetFromSignedUrl": if err := awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(&sv.ImportAssetFromSignedUrl, value); err != nil { return err } - case "ImportAssetsFromLakeFormationTagPolicy": if err := awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyResponseDetails(&sv.ImportAssetsFromLakeFormationTagPolicy, value); err != nil { return err } - case "ImportAssetsFromRedshiftDataShares": if err := awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseDetails(&sv.ImportAssetsFromRedshiftDataShares, value); err != nil { return err } - case "ImportAssetsFromS3": if err := awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(&sv.ImportAssetsFromS3, value); err != nil { return err } - default: _, _ = key, value @@ -11068,7 +10653,6 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.Bucket = ptr.String(jtv) } - case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -11077,7 +10661,6 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.KeyPattern = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -11086,7 +10669,6 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -11126,7 +10708,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Arn = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -11135,7 +10716,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Comment = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11148,7 +10728,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.CreatedAt = ptr.Time(t) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -11157,7 +10736,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.DataSetId = ptr.String(jtv) } - case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -11166,7 +10744,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Finalized = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11175,7 +10752,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Id = ptr.String(jtv) } - case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -11184,7 +10760,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.RevocationComment = ptr.String(jtv) } - case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -11193,7 +10768,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Revoked = jtv } - case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -11206,7 +10780,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.RevokedAt = ptr.Time(t) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -11215,7 +10788,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.SourceId = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11228,7 +10800,6 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11268,7 +10839,6 @@ func awsRestjson1_deserializeDocumentRevisionPublished(v **types.RevisionPublish } sv.DataSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -11308,22 +10878,18 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.Bucket = ptr.String(jtv) } - case "KeyPrefixes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.KeyPrefixes, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Keys, value); err != nil { return err } - case "KmsKeysToGrant": if err := awsRestjson1_deserializeDocumentListOfKmsKeysToGrant(&sv.KmsKeysToGrant, value); err != nil { return err } - case "S3AccessPointAlias": if value != nil { jtv, ok := value.(string) @@ -11332,7 +10898,6 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.S3AccessPointAlias = ptr.String(jtv) } - case "S3AccessPointArn": if value != nil { jtv, ok := value.(string) @@ -11341,7 +10906,6 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.S3AccessPointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11381,22 +10945,18 @@ func awsRestjson1_deserializeDocumentS3DataAccessAssetSourceEntry(v **types.S3Da } sv.Bucket = ptr.String(jtv) } - case "KeyPrefixes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.KeyPrefixes, value); err != nil { return err } - case "Keys": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Keys, value); err != nil { return err } - case "KmsKeysToGrant": if err := awsRestjson1_deserializeDocumentListOfKmsKeysToGrant(&sv.KmsKeysToGrant, value); err != nil { return err } - default: _, _ = key, value @@ -11461,7 +11021,6 @@ func awsRestjson1_deserializeDocumentS3SnapshotAsset(v **types.S3SnapshotAsset, } } - default: _, _ = key, value @@ -11491,13 +11050,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "LimitName": if value != nil { @@ -11507,7 +11060,6 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitName = types.LimitName(jtv) } - case "LimitValue": if value != nil { switch jtv := value.(type) { @@ -11541,8 +11093,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11550,15 +11101,11 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11589,7 +11136,6 @@ func awsRestjson1_deserializeDocumentTableLFTagPolicy(v **types.TableLFTagPolicy if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } - default: _, _ = key, value @@ -11625,12 +11171,10 @@ func awsRestjson1_deserializeDocumentTableLFTagPolicyAndPermissions(v **types.Ta if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentListOfTableTagPolicyLFPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -11660,15 +11204,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11676,15 +11214,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11709,13 +11243,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ExceptionCause": if value != nil { @@ -11725,8 +11253,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionCause = types.ExceptionCause(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11734,15 +11261,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/datapipeline/deserializers.go b/service/datapipeline/deserializers.go index 869348faf88..e1cc5e1d80b 100644 --- a/service/datapipeline/deserializers.go +++ b/service/datapipeline/deserializers.go @@ -2456,7 +2456,6 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Key = ptr.String(jtv) } - case "refValue": if value != nil { jtv, ok := value.(string) @@ -2465,7 +2464,6 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.RefValue = ptr.String(jtv) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2474,7 +2472,6 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2574,15 +2571,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2590,15 +2581,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2623,15 +2610,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2639,15 +2620,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2682,7 +2659,6 @@ func awsAwsjson11_deserializeDocumentParameterAttribute(v **types.ParameterAttri } sv.Key = ptr.String(jtv) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2691,7 +2667,6 @@ func awsAwsjson11_deserializeDocumentParameterAttribute(v **types.ParameterAttri } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2761,7 +2736,6 @@ func awsAwsjson11_deserializeDocumentParameterObject(v **types.ParameterObject, if err := awsAwsjson11_deserializeDocumentParameterAttributeList(&sv.Attributes, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2770,7 +2744,6 @@ func awsAwsjson11_deserializeDocumentParameterObject(v **types.ParameterObject, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2844,7 +2817,6 @@ func awsAwsjson11_deserializeDocumentParameterValue(v **types.ParameterValue, va } sv.Id = ptr.String(jtv) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2853,7 +2825,6 @@ func awsAwsjson11_deserializeDocumentParameterValue(v **types.ParameterValue, va } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2917,15 +2888,9 @@ func awsAwsjson11_deserializeDocumentPipelineDeletedException(v **types.Pipeline sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2933,15 +2898,11 @@ func awsAwsjson11_deserializeDocumentPipelineDeletedException(v **types.Pipeline } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2976,12 +2937,10 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.Description = ptr.String(jtv) } - case "fields": if err := awsAwsjson11_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2990,7 +2949,6 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.Name = ptr.String(jtv) } - case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -2999,12 +2957,10 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.PipelineId = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3078,7 +3034,6 @@ func awsAwsjson11_deserializeDocumentPipelineIdName(v **types.PipelineIdName, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3087,7 +3042,6 @@ func awsAwsjson11_deserializeDocumentPipelineIdName(v **types.PipelineIdName, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3151,15 +3105,9 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3167,15 +3115,11 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3206,7 +3150,6 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va if err := awsAwsjson11_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3215,7 +3158,6 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3224,7 +3166,6 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3333,7 +3274,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3342,7 +3282,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3406,15 +3345,9 @@ func awsAwsjson11_deserializeDocumentTaskNotFoundException(v **types.TaskNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3422,15 +3355,11 @@ func awsAwsjson11_deserializeDocumentTaskNotFoundException(v **types.TaskNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3465,12 +3394,10 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.AttemptId = ptr.String(jtv) } - case "objects": if err := awsAwsjson11_deserializeDocumentPipelineObjectMap(&sv.Objects, value); err != nil { return err } - case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -3479,7 +3406,6 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.PipelineId = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -3488,7 +3414,6 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -3524,7 +3449,6 @@ func awsAwsjson11_deserializeDocumentValidationError(v **types.ValidationError, if err := awsAwsjson11_deserializeDocumentValidationMessages(&sv.Errors, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3533,7 +3457,6 @@ func awsAwsjson11_deserializeDocumentValidationError(v **types.ValidationError, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3643,12 +3566,10 @@ func awsAwsjson11_deserializeDocumentValidationWarning(v **types.ValidationWarni } sv.Id = ptr.String(jtv) } - case "warnings": if err := awsAwsjson11_deserializeDocumentValidationMessages(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -3784,7 +3705,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineId = ptr.String(jtv) } - default: _, _ = key, value @@ -3855,7 +3775,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeObjectsOutput(v **DescribeObjects } sv.HasMoreResults = jtv } - case "marker": if value != nil { jtv, ok := value.(string) @@ -3864,12 +3783,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeObjectsOutput(v **DescribeObjects } sv.Marker = ptr.String(jtv) } - case "pipelineObjects": if err := awsAwsjson11_deserializeDocumentPipelineObjectList(&sv.PipelineObjects, value); err != nil { return err } - default: _, _ = key, value @@ -3905,7 +3822,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelinesOutput(v **DescribePipel if err := awsAwsjson11_deserializeDocumentPipelineDescriptionList(&sv.PipelineDescriptionList, value); err != nil { return err } - default: _, _ = key, value @@ -3945,7 +3861,6 @@ func awsAwsjson11_deserializeOpDocumentEvaluateExpressionOutput(v **EvaluateExpr } sv.EvaluatedExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -3981,17 +3896,14 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineDefinitionOutput(v **GetPipeli if err := awsAwsjson11_deserializeDocumentParameterObjectList(&sv.ParameterObjects, value); err != nil { return err } - case "parameterValues": if err := awsAwsjson11_deserializeDocumentParameterValueList(&sv.ParameterValues, value); err != nil { return err } - case "pipelineObjects": if err := awsAwsjson11_deserializeDocumentPipelineObjectList(&sv.PipelineObjects, value); err != nil { return err } - default: _, _ = key, value @@ -4031,7 +3943,6 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.HasMoreResults = jtv } - case "marker": if value != nil { jtv, ok := value.(string) @@ -4040,12 +3951,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.Marker = ptr.String(jtv) } - case "pipelineIdList": if err := awsAwsjson11_deserializeDocumentPipelineList(&sv.PipelineIdList, value); err != nil { return err } - default: _, _ = key, value @@ -4081,7 +3990,6 @@ func awsAwsjson11_deserializeOpDocumentPollForTaskOutput(v **PollForTaskOutput, if err := awsAwsjson11_deserializeDocumentTaskObject(&sv.TaskObject, value); err != nil { return err } - default: _, _ = key, value @@ -4121,17 +4029,14 @@ func awsAwsjson11_deserializeOpDocumentPutPipelineDefinitionOutput(v **PutPipeli } sv.Errored = jtv } - case "validationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } - case "validationWarnings": if err := awsAwsjson11_deserializeDocumentValidationWarnings(&sv.ValidationWarnings, value); err != nil { return err } - default: _, _ = key, value @@ -4171,12 +4076,10 @@ func awsAwsjson11_deserializeOpDocumentQueryObjectsOutput(v **QueryObjectsOutput } sv.HasMoreResults = jtv } - case "ids": if err := awsAwsjson11_deserializeDocumentIdList(&sv.Ids, value); err != nil { return err } - case "marker": if value != nil { jtv, ok := value.(string) @@ -4185,7 +4088,6 @@ func awsAwsjson11_deserializeOpDocumentQueryObjectsOutput(v **QueryObjectsOutput } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -4256,7 +4158,6 @@ func awsAwsjson11_deserializeOpDocumentReportTaskProgressOutput(v **ReportTaskPr } sv.Canceled = jtv } - default: _, _ = key, value @@ -4296,7 +4197,6 @@ func awsAwsjson11_deserializeOpDocumentReportTaskRunnerHeartbeatOutput(v **Repor } sv.Terminate = jtv } - default: _, _ = key, value @@ -4367,17 +4267,14 @@ func awsAwsjson11_deserializeOpDocumentValidatePipelineDefinitionOutput(v **Vali } sv.Errored = jtv } - case "validationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } - case "validationWarnings": if err := awsAwsjson11_deserializeDocumentValidationWarnings(&sv.ValidationWarnings, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/datasync/deserializers.go b/service/datasync/deserializers.go index 1e7834e031d..7e0df58aae4 100644 --- a/service/datasync/deserializers.go +++ b/service/datasync/deserializers.go @@ -7041,7 +7041,6 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.AgentArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7050,12 +7049,10 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.Name = ptr.String(jtv) } - case "Platform": if err := awsAwsjson11_deserializeDocumentPlatform(&sv.Platform, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7064,7 +7061,6 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.Status = types.AgentStatus(jtv) } - default: _, _ = key, value @@ -7108,7 +7104,6 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.ClusterCloudStorageUsed = ptr.Int64(i64) } - case "LogicalUsed": if value != nil { jtv, ok := value.(json.Number) @@ -7121,7 +7116,6 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.LogicalUsed = ptr.Int64(i64) } - case "Provisioned": if value != nil { jtv, ok := value.(json.Number) @@ -7134,7 +7128,6 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Provisioned = ptr.Int64(i64) } - case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -7147,7 +7140,6 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Used = ptr.Int64(i64) } - default: _, _ = key, value @@ -7293,7 +7285,6 @@ func awsAwsjson11_deserializeDocumentDiscoveryJobListEntry(v **types.DiscoveryJo } sv.DiscoveryJobArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7302,7 +7293,6 @@ func awsAwsjson11_deserializeDocumentDiscoveryJobListEntry(v **types.DiscoveryJo } sv.Status = types.DiscoveryJobStatus(jtv) } - default: _, _ = key, value @@ -7342,7 +7332,6 @@ func awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(v **types.Disc } sv.ServerHostname = ptr.String(jtv) } - case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -7355,7 +7344,6 @@ func awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(v **types.Disc } sv.ServerPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7391,7 +7379,6 @@ func awsAwsjson11_deserializeDocumentEc2Config(v **types.Ec2Config, value interf if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -7400,7 +7387,6 @@ func awsAwsjson11_deserializeDocumentEc2Config(v **types.Ec2Config, value interf } sv.SubnetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7546,7 +7532,6 @@ func awsAwsjson11_deserializeDocumentFilterRule(v **types.FilterRule, value inte } sv.FilterType = types.FilterType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7555,7 +7540,6 @@ func awsAwsjson11_deserializeDocumentFilterRule(v **types.FilterRule, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7591,12 +7575,10 @@ func awsAwsjson11_deserializeDocumentFsxProtocol(v **types.FsxProtocol, value in if err := awsAwsjson11_deserializeDocumentFsxProtocolNfs(&sv.NFS, value); err != nil { return err } - case "SMB": if err := awsAwsjson11_deserializeDocumentFsxProtocolSmb(&sv.SMB, value); err != nil { return err } - default: _, _ = key, value @@ -7632,7 +7614,6 @@ func awsAwsjson11_deserializeDocumentFsxProtocolNfs(v **types.FsxProtocolNfs, va if err := awsAwsjson11_deserializeDocumentNfsMountOptions(&sv.MountOptions, value); err != nil { return err } - default: _, _ = key, value @@ -7672,12 +7653,10 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.Domain = ptr.String(jtv) } - case "MountOptions": if err := awsAwsjson11_deserializeDocumentSmbMountOptions(&sv.MountOptions, value); err != nil { return err } - case "Password": if value != nil { jtv, ok := value.(string) @@ -7686,7 +7665,6 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.Password = ptr.String(jtv) } - case "User": if value != nil { jtv, ok := value.(string) @@ -7695,7 +7673,6 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -7735,7 +7712,6 @@ func awsAwsjson11_deserializeDocumentHdfsNameNode(v **types.HdfsNameNode, value } sv.Hostname = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -7748,7 +7724,6 @@ func awsAwsjson11_deserializeDocumentHdfsNameNode(v **types.HdfsNameNode, value } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7812,13 +7787,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -7828,8 +7797,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7837,15 +7805,11 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7870,13 +7834,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "datasyncErrorCode": if value != nil { @@ -7886,7 +7844,6 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.DatasyncErrorCode = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7895,8 +7852,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7904,15 +7860,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7972,7 +7924,6 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } - case "Read": if value != nil { switch jtv := value.(type) { @@ -8006,7 +7957,6 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } - case "Total": if value != nil { switch jtv := value.(type) { @@ -8040,7 +7990,6 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } - case "Write": if value != nil { switch jtv := value.(type) { @@ -8074,7 +8023,6 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } - default: _, _ = key, value @@ -8139,7 +8087,6 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } - case "Read": if value != nil { switch jtv := value.(type) { @@ -8173,7 +8120,6 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } - case "Write": if value != nil { switch jtv := value.(type) { @@ -8207,7 +8153,6 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } - default: _, _ = key, value @@ -8281,7 +8226,6 @@ func awsAwsjson11_deserializeDocumentLocationListEntry(v **types.LocationListEnt } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -8290,7 +8234,6 @@ func awsAwsjson11_deserializeDocumentLocationListEntry(v **types.LocationListEnt } sv.LocationUri = ptr.String(jtv) } - default: _, _ = key, value @@ -8330,7 +8273,6 @@ func awsAwsjson11_deserializeDocumentManifestConfig(v **types.ManifestConfig, va } sv.Action = types.ManifestAction(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -8339,12 +8281,10 @@ func awsAwsjson11_deserializeDocumentManifestConfig(v **types.ManifestConfig, va } sv.Format = types.ManifestFormat(jtv) } - case "Source": if err := awsAwsjson11_deserializeDocumentSourceManifestConfig(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -8409,7 +8349,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "IopsRead": if value != nil { switch jtv := value.(type) { @@ -8443,7 +8382,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "IopsTotal": if value != nil { switch jtv := value.(type) { @@ -8477,7 +8415,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "IopsWrite": if value != nil { switch jtv := value.(type) { @@ -8511,7 +8448,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "LatencyOther": if value != nil { switch jtv := value.(type) { @@ -8545,7 +8481,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "LatencyRead": if value != nil { switch jtv := value.(type) { @@ -8579,7 +8514,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "LatencyWrite": if value != nil { switch jtv := value.(type) { @@ -8613,7 +8547,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "ThroughputOther": if value != nil { switch jtv := value.(type) { @@ -8647,7 +8580,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "ThroughputRead": if value != nil { switch jtv := value.(type) { @@ -8681,7 +8613,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "ThroughputTotal": if value != nil { switch jtv := value.(type) { @@ -8715,7 +8646,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - case "ThroughputWrite": if value != nil { switch jtv := value.(type) { @@ -8749,7 +8679,6 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } - default: _, _ = key, value @@ -8827,7 +8756,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.CifsShareCount = ptr.Int64(i64) } - case "ClusterBlockStorageLogicalUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8840,7 +8768,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageLogicalUsed = ptr.Int64(i64) } - case "ClusterBlockStorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -8853,7 +8780,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageSize = ptr.Int64(i64) } - case "ClusterBlockStorageUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8866,7 +8792,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageUsed = ptr.Int64(i64) } - case "ClusterCloudStorageUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8879,7 +8804,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterCloudStorageUsed = ptr.Int64(i64) } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -8888,7 +8812,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterName = ptr.String(jtv) } - case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -8901,12 +8824,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.LunCount = ptr.Int64(i64) } - case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } - case "NfsExportedVolumes": if value != nil { jtv, ok := value.(json.Number) @@ -8919,12 +8840,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.NfsExportedVolumes = ptr.Int64(i64) } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } - case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -8933,7 +8852,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8942,7 +8860,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -9020,7 +8937,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.CifsShareCount = ptr.Int64(i64) } - case "ClusterUuid": if value != nil { jtv, ok := value.(string) @@ -9029,12 +8945,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.ClusterUuid = ptr.String(jtv) } - case "EnabledProtocols": if err := awsAwsjson11_deserializeDocumentEnabledProtocols(&sv.EnabledProtocols, value); err != nil { return err } - case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -9047,12 +8961,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.LunCount = ptr.Int64(i64) } - case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } - case "NfsExportedVolumes": if value != nil { jtv, ok := value.(json.Number) @@ -9065,12 +8977,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.NfsExportedVolumes = ptr.Int64(i64) } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } - case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -9079,7 +8989,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9088,7 +8997,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.ResourceId = ptr.String(jtv) } - case "SvmName": if value != nil { jtv, ok := value.(string) @@ -9097,7 +9005,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.SvmName = ptr.String(jtv) } - case "TotalCapacityProvisioned": if value != nil { jtv, ok := value.(json.Number) @@ -9110,7 +9017,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalCapacityProvisioned = ptr.Int64(i64) } - case "TotalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9123,7 +9029,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalCapacityUsed = ptr.Int64(i64) } - case "TotalLogicalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9136,7 +9041,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalLogicalCapacityUsed = ptr.Int64(i64) } - case "TotalSnapshotCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9149,7 +9053,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalSnapshotCapacityUsed = ptr.Int64(i64) } - default: _, _ = key, value @@ -9227,7 +9130,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CapacityProvisioned = ptr.Int64(i64) } - case "CapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9240,7 +9142,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CapacityUsed = ptr.Int64(i64) } - case "CifsShareCount": if value != nil { jtv, ok := value.(json.Number) @@ -9253,7 +9154,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CifsShareCount = ptr.Int64(i64) } - case "LogicalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9266,7 +9166,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.LogicalCapacityUsed = ptr.Int64(i64) } - case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -9279,12 +9178,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.LunCount = ptr.Int64(i64) } - case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } - case "NfsExported": if value != nil { jtv, ok := value.(bool) @@ -9293,12 +9190,10 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.NfsExported = jtv } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } - case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -9307,7 +9202,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9316,7 +9210,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.ResourceId = ptr.String(jtv) } - case "SecurityStyle": if value != nil { jtv, ok := value.(string) @@ -9325,7 +9218,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SecurityStyle = ptr.String(jtv) } - case "SnapshotCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9338,7 +9230,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SnapshotCapacityUsed = ptr.Int64(i64) } - case "SvmName": if value != nil { jtv, ok := value.(string) @@ -9347,7 +9238,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SvmName = ptr.String(jtv) } - case "SvmUuid": if value != nil { jtv, ok := value.(string) @@ -9356,7 +9246,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SvmUuid = ptr.String(jtv) } - case "VolumeName": if value != nil { jtv, ok := value.(string) @@ -9365,7 +9254,6 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.VolumeName = ptr.String(jtv) } - default: _, _ = key, value @@ -9439,7 +9327,6 @@ func awsAwsjson11_deserializeDocumentNfsMountOptions(v **types.NfsMountOptions, } sv.Version = types.NfsVersion(jtv) } - default: _, _ = key, value @@ -9475,7 +9362,6 @@ func awsAwsjson11_deserializeDocumentOnPremConfig(v **types.OnPremConfig, value if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - default: _, _ = key, value @@ -9515,7 +9401,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Atime = types.Atime(jtv) } - case "BytesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -9528,7 +9413,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.BytesPerSecond = ptr.Int64(i64) } - case "Gid": if value != nil { jtv, ok := value.(string) @@ -9537,7 +9421,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Gid = types.Gid(jtv) } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -9546,7 +9429,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.LogLevel = types.LogLevel(jtv) } - case "Mtime": if value != nil { jtv, ok := value.(string) @@ -9555,7 +9437,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Mtime = types.Mtime(jtv) } - case "ObjectTags": if value != nil { jtv, ok := value.(string) @@ -9564,7 +9445,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.ObjectTags = types.ObjectTags(jtv) } - case "OverwriteMode": if value != nil { jtv, ok := value.(string) @@ -9573,7 +9453,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.OverwriteMode = types.OverwriteMode(jtv) } - case "PosixPermissions": if value != nil { jtv, ok := value.(string) @@ -9582,7 +9461,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PosixPermissions = types.PosixPermissions(jtv) } - case "PreserveDeletedFiles": if value != nil { jtv, ok := value.(string) @@ -9591,7 +9469,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PreserveDeletedFiles = types.PreserveDeletedFiles(jtv) } - case "PreserveDevices": if value != nil { jtv, ok := value.(string) @@ -9600,7 +9477,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PreserveDevices = types.PreserveDevices(jtv) } - case "SecurityDescriptorCopyFlags": if value != nil { jtv, ok := value.(string) @@ -9609,7 +9485,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.SecurityDescriptorCopyFlags = types.SmbSecurityDescriptorCopyFlags(jtv) } - case "TaskQueueing": if value != nil { jtv, ok := value.(string) @@ -9618,7 +9493,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.TaskQueueing = types.TaskQueueing(jtv) } - case "TransferMode": if value != nil { jtv, ok := value.(string) @@ -9627,7 +9501,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.TransferMode = types.TransferMode(jtv) } - case "Uid": if value != nil { jtv, ok := value.(string) @@ -9636,7 +9509,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Uid = types.Uid(jtv) } - case "VerifyMode": if value != nil { jtv, ok := value.(string) @@ -9645,7 +9517,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.VerifyMode = types.VerifyMode(jtv) } - default: _, _ = key, value @@ -9715,17 +9586,14 @@ func awsAwsjson11_deserializeDocumentP95Metrics(v **types.P95Metrics, value inte if err := awsAwsjson11_deserializeDocumentIOPS(&sv.IOPS, value); err != nil { return err } - case "Latency": if err := awsAwsjson11_deserializeDocumentLatency(&sv.Latency, value); err != nil { return err } - case "Throughput": if err := awsAwsjson11_deserializeDocumentThroughput(&sv.Throughput, value); err != nil { return err } - default: _, _ = key, value @@ -9765,7 +9633,6 @@ func awsAwsjson11_deserializeDocumentPlatform(v **types.Platform, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9877,17 +9744,14 @@ func awsAwsjson11_deserializeDocumentPrivateLinkConfig(v **types.PrivateLinkConf } sv.PrivateLinkEndpoint = ptr.String(jtv) } - case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentPLSecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - case "SubnetArns": if err := awsAwsjson11_deserializeDocumentPLSubnetArnList(&sv.SubnetArns, value); err != nil { return err } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -9896,7 +9760,6 @@ func awsAwsjson11_deserializeDocumentPrivateLinkConfig(v **types.PrivateLinkConf } sv.VpcEndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -9936,7 +9799,6 @@ func awsAwsjson11_deserializeDocumentQopConfiguration(v **types.QopConfiguration } sv.DataTransferProtection = types.HdfsDataTransferProtection(jtv) } - case "RpcProtection": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9807,6 @@ func awsAwsjson11_deserializeDocumentQopConfiguration(v **types.QopConfiguration } sv.RpcProtection = types.HdfsRpcProtection(jtv) } - default: _, _ = key, value @@ -9985,12 +9846,10 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EstimatedMonthlyStorageCost = ptr.String(jtv) } - case "StorageConfiguration": if err := awsAwsjson11_deserializeDocumentRecommendationsConfigMap(&sv.StorageConfiguration, value); err != nil { return err } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -9999,7 +9858,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -10105,7 +9963,6 @@ func awsAwsjson11_deserializeDocumentReportDestination(v **types.ReportDestinati if err := awsAwsjson11_deserializeDocumentReportDestinationS3(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -10145,7 +10002,6 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.BucketAccessRoleArn = ptr.String(jtv) } - case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -10154,7 +10010,6 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.S3BucketArn = ptr.String(jtv) } - case "Subdirectory": if value != nil { jtv, ok := value.(string) @@ -10163,7 +10018,6 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.Subdirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -10203,7 +10057,6 @@ func awsAwsjson11_deserializeDocumentReportOverride(v **types.ReportOverride, va } sv.ReportLevel = types.ReportLevel(jtv) } - default: _, _ = key, value @@ -10239,22 +10092,18 @@ func awsAwsjson11_deserializeDocumentReportOverrides(v **types.ReportOverrides, if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Deleted, value); err != nil { return err } - case "Skipped": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Skipped, value); err != nil { return err } - case "Transferred": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Transferred, value); err != nil { return err } - case "Verified": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Verified, value); err != nil { return err } - default: _, _ = key, value @@ -10294,7 +10143,6 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.ErrorCode = ptr.String(jtv) } - case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -10303,7 +10151,6 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.ErrorDetail = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10312,7 +10159,6 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.Status = types.PhaseStatus(jtv) } - default: _, _ = key, value @@ -10348,17 +10194,14 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentNetAppONTAPClusters(&sv.NetAppONTAPClusters, value); err != nil { return err } - case "NetAppONTAPSVMs": if err := awsAwsjson11_deserializeDocumentNetAppONTAPSVMs(&sv.NetAppONTAPSVMs, value); err != nil { return err } - case "NetAppONTAPVolumes": if err := awsAwsjson11_deserializeDocumentNetAppONTAPVolumes(&sv.NetAppONTAPVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -10394,12 +10237,10 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, if err := awsAwsjson11_deserializeDocumentCapacity(&sv.Capacity, value); err != nil { return err } - case "P95Metrics": if err := awsAwsjson11_deserializeDocumentP95Metrics(&sv.P95Metrics, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10408,7 +10249,6 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10417,7 +10257,6 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } sv.ResourceType = types.DiscoveryResourceType(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -10433,7 +10272,6 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } } - default: _, _ = key, value @@ -10473,7 +10311,6 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10513,7 +10350,6 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.BucketAccessRoleArn = ptr.String(jtv) } - case "ManifestObjectPath": if value != nil { jtv, ok := value.(string) @@ -10522,7 +10358,6 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.ManifestObjectPath = ptr.String(jtv) } - case "ManifestObjectVersionId": if value != nil { jtv, ok := value.(string) @@ -10531,7 +10366,6 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.ManifestObjectVersionId = ptr.String(jtv) } - case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -10540,7 +10374,6 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.S3BucketArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10580,7 +10413,6 @@ func awsAwsjson11_deserializeDocumentSmbMountOptions(v **types.SmbMountOptions, } sv.Version = types.SmbVersion(jtv) } - default: _, _ = key, value @@ -10616,7 +10448,6 @@ func awsAwsjson11_deserializeDocumentSourceManifestConfig(v **types.SourceManife if err := awsAwsjson11_deserializeDocumentS3ManifestConfig(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -10726,7 +10557,6 @@ func awsAwsjson11_deserializeDocumentStorageSystemListEntry(v **types.StorageSys } sv.Name = ptr.String(jtv) } - case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -10735,7 +10565,6 @@ func awsAwsjson11_deserializeDocumentStorageSystemListEntry(v **types.StorageSys } sv.StorageSystemArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10775,7 +10604,6 @@ func awsAwsjson11_deserializeDocumentTagListEntry(v **types.TagListEntry, value } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10784,7 +10612,6 @@ func awsAwsjson11_deserializeDocumentTagListEntry(v **types.TagListEntry, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10828,7 +10655,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Delete = i64 } - case "Prepare": if value != nil { jtv, ok := value.(json.Number) @@ -10841,7 +10667,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Prepare = i64 } - case "Transfer": if value != nil { jtv, ok := value.(json.Number) @@ -10854,7 +10679,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Transfer = i64 } - case "Verify": if value != nil { jtv, ok := value.(json.Number) @@ -10867,7 +10691,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Verify = i64 } - default: _, _ = key, value @@ -10911,7 +10734,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(v **types.Ta } sv.AtDestinationForDelete = i64 } - case "AtSource": if value != nil { jtv, ok := value.(json.Number) @@ -10924,7 +10746,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(v **types.Ta } sv.AtSource = i64 } - default: _, _ = key, value @@ -10998,7 +10819,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.Status = types.TaskExecutionStatus(jtv) } - case "TaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -11007,7 +10827,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.TaskExecutionArn = ptr.String(jtv) } - case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -11016,7 +10835,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.TaskMode = types.TaskMode(jtv) } - default: _, _ = key, value @@ -11056,7 +10874,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.ErrorCode = ptr.String(jtv) } - case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -11065,7 +10882,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.ErrorDetail = ptr.String(jtv) } - case "PrepareDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11078,7 +10894,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.PrepareDuration = ptr.Int64(i64) } - case "PrepareStatus": if value != nil { jtv, ok := value.(string) @@ -11087,7 +10902,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.PrepareStatus = types.PhaseStatus(jtv) } - case "TotalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11100,7 +10914,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TotalDuration = ptr.Int64(i64) } - case "TransferDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11113,7 +10926,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TransferDuration = ptr.Int64(i64) } - case "TransferStatus": if value != nil { jtv, ok := value.(string) @@ -11122,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TransferStatus = types.PhaseStatus(jtv) } - case "VerifyDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11135,7 +10946,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.VerifyDuration = ptr.Int64(i64) } - case "VerifyStatus": if value != nil { jtv, ok := value.(string) @@ -11144,7 +10954,6 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.VerifyStatus = types.PhaseStatus(jtv) } - default: _, _ = key, value @@ -11218,7 +11027,6 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11227,7 +11035,6 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.Status = types.TaskStatus(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -11236,7 +11043,6 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.TaskArn = ptr.String(jtv) } - case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -11245,7 +11051,6 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.TaskMode = types.TaskMode(jtv) } - default: _, _ = key, value @@ -11281,7 +11086,6 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig if err := awsAwsjson11_deserializeDocumentReportDestination(&sv.Destination, value); err != nil { return err } - case "ObjectVersionIds": if value != nil { jtv, ok := value.(string) @@ -11290,7 +11094,6 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.ObjectVersionIds = types.ObjectVersionIds(jtv) } - case "OutputType": if value != nil { jtv, ok := value.(string) @@ -11299,12 +11102,10 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.OutputType = types.ReportOutputType(jtv) } - case "Overrides": if err := awsAwsjson11_deserializeDocumentReportOverrides(&sv.Overrides, value); err != nil { return err } - case "ReportLevel": if value != nil { jtv, ok := value.(string) @@ -11313,7 +11114,6 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.ReportLevel = types.ReportLevel(jtv) } - default: _, _ = key, value @@ -11353,7 +11153,6 @@ func awsAwsjson11_deserializeDocumentTaskSchedule(v **types.TaskSchedule, value } sv.ScheduleExpression = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11362,7 +11161,6 @@ func awsAwsjson11_deserializeDocumentTaskSchedule(v **types.TaskSchedule, value } sv.Status = types.ScheduleStatus(jtv) } - default: _, _ = key, value @@ -11402,7 +11200,6 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } sv.DisabledBy = types.ScheduleDisabledBy(jtv) } - case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -11411,7 +11208,6 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } sv.DisabledReason = ptr.String(jtv) } - case "StatusUpdateTime": if value != nil { switch jtv := value.(type) { @@ -11427,7 +11223,6 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } } - default: _, _ = key, value @@ -11492,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } - case "Read": if value != nil { switch jtv := value.(type) { @@ -11526,7 +11320,6 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } - case "Total": if value != nil { switch jtv := value.(type) { @@ -11560,7 +11353,6 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } - case "Write": if value != nil { switch jtv := value.(type) { @@ -11594,7 +11386,6 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } - default: _, _ = key, value @@ -11634,7 +11425,6 @@ func awsAwsjson11_deserializeOpDocumentAddStorageSystemOutput(v **AddStorageSyst } sv.StorageSystemArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11705,7 +11495,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAgentOutput(v **CreateAgentOutput, } sv.AgentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11745,7 +11534,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationAzureBlobOutput(v **CreateL } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11785,7 +11573,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationEfsOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11825,7 +11612,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxLustreOutput(v **CreateL } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11865,7 +11651,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxOntapOutput(v **CreateLo } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11905,7 +11690,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxOpenZfsOutput(v **Create } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11945,7 +11729,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxWindowsOutput(v **Create } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11985,7 +11768,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationHdfsOutput(v **CreateLocati } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12025,7 +11807,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationNfsOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12065,7 +11846,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationObjectStorageOutput(v **Cre } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12105,7 +11885,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationS3Output(v **CreateLocation } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12145,7 +11924,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationSmbOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12185,7 +11963,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12318,7 +12095,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.AgentArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12334,7 +12110,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -12343,7 +12118,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.EndpointType = types.EndpointType(jtv) } - case "LastConnectionTime": if value != nil { switch jtv := value.(type) { @@ -12359,7 +12133,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12368,17 +12141,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.Name = ptr.String(jtv) } - case "Platform": if err := awsAwsjson11_deserializeDocumentPlatform(&sv.Platform, value); err != nil { return err } - case "PrivateLinkConfig": if err := awsAwsjson11_deserializeDocumentPrivateLinkConfig(&sv.PrivateLinkConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12387,7 +12157,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.Status = types.AgentStatus(jtv) } - default: _, _ = key, value @@ -12431,7 +12200,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.CollectionDurationMinutes = ptr.Int32(int32(i64)) } - case "DiscoveryJobArn": if value != nil { jtv, ok := value.(string) @@ -12440,7 +12208,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.DiscoveryJobArn = ptr.String(jtv) } - case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -12456,7 +12223,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } } - case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -12472,7 +12238,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12481,7 +12246,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.Status = types.DiscoveryJobStatus(jtv) } - case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -12490,7 +12254,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.StorageSystemArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12530,12 +12293,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.AccessTier = types.AzureAccessTier(jtv) } - case "AgentArns": if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -12544,7 +12305,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.AuthenticationType = types.AzureBlobAuthenticationType(jtv) } - case "BlobType": if value != nil { jtv, ok := value.(string) @@ -12553,7 +12313,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.BlobType = types.AzureBlobType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12569,7 +12328,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12578,7 +12336,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12587,7 +12344,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.LocationUri = ptr.String(jtv) } - default: _, _ = key, value @@ -12627,7 +12383,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.AccessPointArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12643,12 +12398,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } } - case "Ec2Config": if err := awsAwsjson11_deserializeDocumentEc2Config(&sv.Ec2Config, value); err != nil { return err } - case "FileSystemAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -12657,7 +12410,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.FileSystemAccessRoleArn = ptr.String(jtv) } - case "InTransitEncryption": if value != nil { jtv, ok := value.(string) @@ -12666,7 +12418,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.InTransitEncryption = types.EfsInTransitEncryption(jtv) } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12675,7 +12426,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12684,7 +12434,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } - default: _, _ = key, value @@ -12731,7 +12480,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12740,7 +12488,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12749,12 +12496,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } sv.LocationUri = ptr.String(jtv) } - case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - default: _, _ = key, value @@ -12801,7 +12546,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } } - case "FsxFilesystemArn": if value != nil { jtv, ok := value.(string) @@ -12810,7 +12554,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.FsxFilesystemArn = ptr.String(jtv) } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12819,7 +12562,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12828,17 +12570,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.LocationUri = ptr.String(jtv) } - case "Protocol": if err := awsAwsjson11_deserializeDocumentFsxProtocol(&sv.Protocol, value); err != nil { return err } - case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - case "StorageVirtualMachineArn": if value != nil { jtv, ok := value.(string) @@ -12847,7 +12586,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.StorageVirtualMachineArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12894,7 +12632,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12903,7 +12640,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12912,17 +12648,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } sv.LocationUri = ptr.String(jtv) } - case "Protocol": if err := awsAwsjson11_deserializeDocumentFsxProtocol(&sv.Protocol, value); err != nil { return err } - case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - default: _, _ = key, value @@ -12969,7 +12702,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -12978,7 +12710,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.Domain = ptr.String(jtv) } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12987,7 +12718,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12996,12 +12726,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.LocationUri = ptr.String(jtv) } - case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } - case "User": if value != nil { jtv, ok := value.(string) @@ -13010,7 +12738,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -13046,7 +12773,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -13055,7 +12781,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.AuthenticationType = types.HdfsAuthenticationType(jtv) } - case "BlockSize": if value != nil { jtv, ok := value.(json.Number) @@ -13068,7 +12793,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.BlockSize = ptr.Int32(int32(i64)) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13084,7 +12808,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } } - case "KerberosPrincipal": if value != nil { jtv, ok := value.(string) @@ -13093,7 +12816,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.KerberosPrincipal = ptr.String(jtv) } - case "KmsKeyProviderUri": if value != nil { jtv, ok := value.(string) @@ -13102,7 +12824,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.KmsKeyProviderUri = ptr.String(jtv) } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13111,7 +12832,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13120,17 +12840,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.LocationUri = ptr.String(jtv) } - case "NameNodes": if err := awsAwsjson11_deserializeDocumentHdfsNameNodeList(&sv.NameNodes, value); err != nil { return err } - case "QopConfiguration": if err := awsAwsjson11_deserializeDocumentQopConfiguration(&sv.QopConfiguration, value); err != nil { return err } - case "ReplicationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -13143,7 +12860,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.ReplicationFactor = ptr.Int32(int32(i64)) } - case "SimpleUser": if value != nil { jtv, ok := value.(string) @@ -13152,7 +12868,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.SimpleUser = ptr.String(jtv) } - default: _, _ = key, value @@ -13199,7 +12914,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13208,7 +12922,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13217,17 +12930,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } - case "MountOptions": if err := awsAwsjson11_deserializeDocumentNfsMountOptions(&sv.MountOptions, value); err != nil { return err } - case "OnPremConfig": if err := awsAwsjson11_deserializeDocumentOnPremConfig(&sv.OnPremConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13267,12 +12977,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.AccessKey = ptr.String(jtv) } - case "AgentArns": if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13288,7 +12996,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13297,7 +13004,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13306,7 +13012,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.LocationUri = ptr.String(jtv) } - case "ServerCertificate": if value != nil { jtv, ok := value.(string) @@ -13319,7 +13024,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerCertificate = dv } - case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13332,7 +13036,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerPort = ptr.Int32(int32(i64)) } - case "ServerProtocol": if value != nil { jtv, ok := value.(string) @@ -13341,7 +13044,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerProtocol = types.ObjectStorageServerProtocol(jtv) } - default: _, _ = key, value @@ -13377,7 +13079,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13393,7 +13094,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13402,7 +13102,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13411,12 +13110,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.LocationUri = ptr.String(jtv) } - case "S3Config": if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - case "S3StorageClass": if value != nil { jtv, ok := value.(string) @@ -13425,7 +13122,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.S3StorageClass = types.S3StorageClass(jtv) } - default: _, _ = key, value @@ -13461,7 +13157,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13477,7 +13172,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -13486,7 +13180,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.Domain = ptr.String(jtv) } - case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13495,7 +13188,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13504,12 +13196,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } - case "MountOptions": if err := awsAwsjson11_deserializeDocumentSmbMountOptions(&sv.MountOptions, value); err != nil { return err } - case "User": if value != nil { jtv, ok := value.(string) @@ -13518,7 +13208,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -13554,7 +13243,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentDiscoveryAgentArnList(&sv.AgentArns, value); err != nil { return err } - case "CloudWatchLogGroupArn": if value != nil { jtv, ok := value.(string) @@ -13563,7 +13251,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "ConnectivityStatus": if value != nil { jtv, ok := value.(string) @@ -13572,7 +13259,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.ConnectivityStatus = types.StorageSystemConnectivityStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13588,7 +13274,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13597,7 +13282,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.ErrorMessage = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13606,7 +13290,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.Name = ptr.String(jtv) } - case "SecretsManagerArn": if value != nil { jtv, ok := value.(string) @@ -13615,12 +13298,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.SecretsManagerArn = ptr.String(jtv) } - case "ServerConfiguration": if err := awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(&sv.ServerConfiguration, value); err != nil { return err } - case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -13629,7 +13310,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.StorageSystemArn = ptr.String(jtv) } - case "SystemType": if value != nil { jtv, ok := value.(string) @@ -13638,7 +13318,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.SystemType = types.DiscoverySystemType(jtv) } - default: _, _ = key, value @@ -13674,7 +13353,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourceMetricsOutpu if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13683,7 +13361,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourceMetricsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13723,12 +13400,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourcesOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -13772,7 +13447,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesCompressed = i64 } - case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -13785,7 +13459,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesTransferred = i64 } - case "BytesWritten": if value != nil { jtv, ok := value.(json.Number) @@ -13798,7 +13471,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesWritten = i64 } - case "EstimatedBytesToTransfer": if value != nil { jtv, ok := value.(json.Number) @@ -13811,7 +13483,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedBytesToTransfer = i64 } - case "EstimatedFilesToDelete": if value != nil { jtv, ok := value.(json.Number) @@ -13824,7 +13495,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedFilesToDelete = i64 } - case "EstimatedFilesToTransfer": if value != nil { jtv, ok := value.(json.Number) @@ -13837,12 +13507,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedFilesToTransfer = i64 } - case "Excludes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Excludes, value); err != nil { return err } - case "FilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -13855,17 +13523,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesDeleted = i64 } - case "FilesFailed": if err := awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(&sv.FilesFailed, value); err != nil { return err } - case "FilesListed": if err := awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(&sv.FilesListed, value); err != nil { return err } - case "FilesPrepared": if value != nil { jtv, ok := value.(json.Number) @@ -13878,7 +13543,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesPrepared = i64 } - case "FilesSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -13891,7 +13555,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesSkipped = i64 } - case "FilesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -13904,7 +13567,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesTransferred = i64 } - case "FilesVerified": if value != nil { jtv, ok := value.(json.Number) @@ -13917,32 +13579,26 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesVerified = i64 } - case "Includes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Includes, value); err != nil { return err } - case "ManifestConfig": if err := awsAwsjson11_deserializeDocumentManifestConfig(&sv.ManifestConfig, value); err != nil { return err } - case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "ReportResult": if err := awsAwsjson11_deserializeDocumentReportResult(&sv.ReportResult, value); err != nil { return err } - case "Result": if err := awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(&sv.Result, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13958,7 +13614,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13967,7 +13622,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.Status = types.TaskExecutionStatus(jtv) } - case "TaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -13976,7 +13630,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.TaskExecutionArn = ptr.String(jtv) } - case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -13985,12 +13638,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.TaskMode = types.TaskMode(jtv) } - case "TaskReportConfig": if err := awsAwsjson11_deserializeDocumentTaskReportConfig(&sv.TaskReportConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14030,7 +13681,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14046,7 +13696,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } - case "CurrentTaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -14055,7 +13704,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.CurrentTaskExecutionArn = ptr.String(jtv) } - case "DestinationLocationArn": if value != nil { jtv, ok := value.(string) @@ -14064,12 +13712,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.DestinationLocationArn = ptr.String(jtv) } - case "DestinationNetworkInterfaceArns": if err := awsAwsjson11_deserializeDocumentDestinationNetworkInterfaceArns(&sv.DestinationNetworkInterfaceArns, value); err != nil { return err } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -14078,7 +13724,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.ErrorCode = ptr.String(jtv) } - case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -14087,22 +13732,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.ErrorDetail = ptr.String(jtv) } - case "Excludes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Excludes, value); err != nil { return err } - case "Includes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Includes, value); err != nil { return err } - case "ManifestConfig": if err := awsAwsjson11_deserializeDocumentManifestConfig(&sv.ManifestConfig, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14111,22 +13752,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Name = ptr.String(jtv) } - case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "Schedule": if err := awsAwsjson11_deserializeDocumentTaskSchedule(&sv.Schedule, value); err != nil { return err } - case "ScheduleDetails": if err := awsAwsjson11_deserializeDocumentTaskScheduleDetails(&sv.ScheduleDetails, value); err != nil { return err } - case "SourceLocationArn": if value != nil { jtv, ok := value.(string) @@ -14135,12 +13772,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.SourceLocationArn = ptr.String(jtv) } - case "SourceNetworkInterfaceArns": if err := awsAwsjson11_deserializeDocumentSourceNetworkInterfaceArns(&sv.SourceNetworkInterfaceArns, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14149,7 +13784,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Status = types.TaskStatus(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -14158,7 +13792,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskArn = ptr.String(jtv) } - case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -14167,12 +13800,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskMode = types.TaskMode(jtv) } - case "TaskReportConfig": if err := awsAwsjson11_deserializeDocumentTaskReportConfig(&sv.TaskReportConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14239,7 +13870,6 @@ func awsAwsjson11_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va if err := awsAwsjson11_deserializeDocumentAgentList(&sv.Agents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14248,7 +13878,6 @@ func awsAwsjson11_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14284,7 +13913,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveryJobsOutput(v **ListDiscovery if err := awsAwsjson11_deserializeDocumentDiscoveryJobList(&sv.DiscoveryJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14293,7 +13921,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveryJobsOutput(v **ListDiscovery } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14329,7 +13956,6 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp if err := awsAwsjson11_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14338,7 +13964,6 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14378,12 +14003,10 @@ func awsAwsjson11_deserializeOpDocumentListStorageSystemsOutput(v **ListStorageS } sv.NextToken = ptr.String(jtv) } - case "StorageSystems": if err := awsAwsjson11_deserializeDocumentStorageSystemList(&sv.StorageSystems, value); err != nil { return err } - default: _, _ = key, value @@ -14423,12 +14046,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentOutputTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14468,12 +14089,10 @@ func awsAwsjson11_deserializeOpDocumentListTaskExecutionsOutput(v **ListTaskExec } sv.NextToken = ptr.String(jtv) } - case "TaskExecutions": if err := awsAwsjson11_deserializeDocumentTaskExecutionList(&sv.TaskExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -14513,12 +14132,10 @@ func awsAwsjson11_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Tasks": if err := awsAwsjson11_deserializeDocumentTaskList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -14589,7 +14206,6 @@ func awsAwsjson11_deserializeOpDocumentStartDiscoveryJobOutput(v **StartDiscover } sv.DiscoveryJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14629,7 +14245,6 @@ func awsAwsjson11_deserializeOpDocumentStartTaskExecutionOutput(v **StartTaskExe } sv.TaskExecutionArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/datazone/deserializers.go b/service/datazone/deserializers.go index 11c0fbea749..6a17c27b298 100644 --- a/service/datazone/deserializers.go +++ b/service/datazone/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.AssetId = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -203,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.DomainId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -212,7 +210,6 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -393,7 +390,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -402,7 +398,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -411,7 +406,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -420,7 +414,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -429,7 +422,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -438,7 +430,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -447,7 +438,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -456,17 +446,14 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -482,7 +469,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -491,7 +477,6 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -1099,7 +1084,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1108,7 +1092,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -1117,7 +1100,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1126,7 +1108,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.Id = ptr.String(jtv) } - case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -1135,7 +1116,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.RetainPermissions = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1144,17 +1124,14 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.Status = types.SubscriptionStatus(jtv) } - case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } - case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } - case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1140,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.SubscriptionRequestId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1179,7 +1155,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1188,7 +1163,6 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -1372,7 +1346,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1381,7 +1354,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1390,7 +1362,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -1399,7 +1370,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.DomainId = ptr.String(jtv) } - case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -1408,7 +1378,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.ExternalIdentifier = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -1424,7 +1393,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -1433,17 +1401,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1452,17 +1417,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Id = ptr.String(jtv) } - case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } - case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1471,7 +1433,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -1480,17 +1441,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.OwningProjectId = ptr.String(jtv) } - case "predictionConfiguration": if err := awsRestjson1_deserializeDocumentPredictionConfiguration(&sv.PredictionConfiguration, value); err != nil { return err } - case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1457,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Revision = ptr.String(jtv) } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -1508,7 +1465,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -1517,7 +1473,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -1694,12 +1649,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.AssetId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1715,7 +1668,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1724,7 +1676,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -1733,12 +1684,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.DomainId = ptr.String(jtv) } - case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } - case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -1747,7 +1696,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.EffectiveRowFilter = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1756,7 +1704,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1765,7 +1712,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1774,7 +1720,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1783,7 +1728,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Status = types.FilterStatus(jtv) } - default: _, _ = key, value @@ -1964,7 +1908,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1973,7 +1916,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1982,7 +1924,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -1991,7 +1932,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.DomainId = ptr.String(jtv) } - case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -2000,7 +1940,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.ExternalIdentifier = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -2016,7 +1955,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -2025,17 +1963,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2044,17 +1979,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Id = ptr.String(jtv) } - case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } - case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2063,7 +1995,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2072,17 +2003,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.OwningProjectId = ptr.String(jtv) } - case "predictionConfiguration": if err := awsRestjson1_deserializeDocumentPredictionConfiguration(&sv.PredictionConfiguration, value); err != nil { return err } - case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(string) @@ -2091,7 +2019,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Revision = ptr.String(jtv) } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -2100,7 +2027,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -2109,7 +2035,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -2290,7 +2215,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2299,7 +2223,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2308,7 +2231,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -2317,12 +2239,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.DomainId = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2331,7 +2251,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -2340,7 +2259,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -2349,7 +2267,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2358,7 +2275,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -2367,7 +2283,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Revision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2383,7 +2298,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -2392,7 +2306,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -2576,7 +2489,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2585,7 +2497,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2594,7 +2505,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -2603,7 +2513,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.DomainId = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -2619,7 +2528,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -2628,17 +2536,14 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2647,12 +2552,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Id = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2661,7 +2564,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2670,7 +2572,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -2679,7 +2580,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2688,7 +2588,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Status = types.DataProductStatus(jtv) } - default: _, _ = key, value @@ -2869,7 +2768,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2878,7 +2776,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2887,7 +2784,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -2896,7 +2792,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.DomainId = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -2912,7 +2807,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -2921,17 +2815,14 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2940,12 +2831,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Id = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2954,7 +2843,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2963,7 +2851,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -2972,7 +2859,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2981,7 +2867,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Status = types.DataProductStatus(jtv) } - default: _, _ = key, value @@ -3154,12 +3039,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } - case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3172,7 +3055,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3181,7 +3063,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -3190,7 +3071,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DomainId = ptr.String(jtv) } - case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -3199,7 +3079,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.EnableSetting = types.EnableSetting(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3208,12 +3087,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3222,7 +3099,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Id = ptr.String(jtv) } - case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -3235,12 +3111,10 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.LastRunAt = ptr.Time(t) } - case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } - case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -3249,7 +3123,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3258,7 +3131,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -3267,7 +3139,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.ProjectId = ptr.String(jtv) } - case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -3276,17 +3147,14 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.PublishOnImport = ptr.Bool(jtv) } - case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } - case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3295,7 +3163,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3304,7 +3171,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3317,7 +3183,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -3494,7 +3359,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3503,7 +3367,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Description = ptr.String(jtv) } - case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -3512,7 +3375,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainExecutionRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3521,7 +3383,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -3530,7 +3391,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3539,7 +3399,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Name = ptr.String(jtv) } - case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -3548,7 +3407,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.PortalUrl = ptr.String(jtv) } - case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -3557,12 +3415,10 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.RootDomainUnitId = ptr.String(jtv) } - case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3571,12 +3427,10 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Status = types.DomainStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3746,7 +3600,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn if err := awsRestjson1_deserializeDocumentDomainUnitIds(&sv.AncestorDomainUnitIds, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3762,7 +3615,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3771,7 +3623,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3780,7 +3631,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -3789,7 +3639,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3798,7 +3647,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3807,12 +3655,10 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Name = ptr.String(jtv) } - case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } - case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -3821,7 +3667,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.ParentDomainUnitId = ptr.String(jtv) } - default: _, _ = key, value @@ -3995,7 +3840,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -4004,7 +3848,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4017,7 +3860,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4026,12 +3868,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.CreatedBy = ptr.String(jtv) } - case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3880,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -4049,12 +3888,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.DomainId = ptr.String(jtv) } - case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -4063,7 +3900,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -4072,12 +3908,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentProfileId = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4086,12 +3920,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Id = ptr.String(jtv) } - case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4100,7 +3932,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -4109,7 +3940,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -4118,17 +3948,14 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Provider = ptr.String(jtv) } - case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } - case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4137,7 +3964,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Status = types.EnvironmentStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4150,12 +3976,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4329,7 +4153,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -4338,7 +4161,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4347,7 +4169,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4356,7 +4177,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4365,12 +4185,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -4547,7 +4365,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -4556,7 +4373,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4569,7 +4385,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4578,7 +4393,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4587,7 +4401,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -4596,7 +4409,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.DomainId = ptr.String(jtv) } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -4605,7 +4417,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4614,7 +4425,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4623,7 +4433,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -4632,7 +4441,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.ProjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4645,12 +4453,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4824,7 +4630,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -4833,7 +4638,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.DomainId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4842,7 +4646,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -4851,7 +4654,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -4860,7 +4662,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -4869,7 +4670,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -4878,7 +4678,6 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -5052,7 +4851,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -5061,7 +4859,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5070,7 +4867,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5079,7 +4875,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -5088,7 +4883,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5097,7 +4891,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Status = types.GlossaryStatus(jtv) } - default: _, _ = key, value @@ -5274,7 +5067,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.DomainId = ptr.String(jtv) } - case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -5283,7 +5075,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.GlossaryId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5292,7 +5083,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Id = ptr.String(jtv) } - case "longDescription": if value != nil { jtv, ok := value.(string) @@ -5301,7 +5091,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.LongDescription = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5310,7 +5099,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Name = ptr.String(jtv) } - case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -5319,7 +5107,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.ShortDescription = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5328,12 +5115,10 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Status = types.GlossaryTermStatus(jtv) } - case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } - default: _, _ = key, value @@ -5504,7 +5289,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.DomainId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -5513,7 +5297,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.GroupName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5522,7 +5305,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5531,7 +5313,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.Status = types.GroupProfileStatus(jtv) } - default: _, _ = key, value @@ -5708,7 +5489,6 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.ListingId = ptr.String(jtv) } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -5717,7 +5497,6 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.ListingRevision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5726,7 +5505,6 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.Status = types.ListingStatus(jtv) } - default: _, _ = key, value @@ -5907,7 +5685,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5916,7 +5693,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5925,7 +5701,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -5934,7 +5709,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DomainId = ptr.String(jtv) } - case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -5943,17 +5717,14 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DomainUnitId = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5962,7 +5733,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5975,7 +5745,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5984,7 +5753,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } - case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -5993,7 +5761,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectStatus = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -6266,7 +6033,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6282,7 +6048,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6291,7 +6056,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -6300,12 +6064,10 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.DomainId = ptr.String(jtv) } - case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6314,7 +6076,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6323,7 +6084,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -6332,7 +6092,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.SubscriptionId = ptr.String(jtv) } - case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -6341,7 +6100,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.SubscriptionTargetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6357,7 +6115,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6366,7 +6123,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -6547,7 +6303,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6556,7 +6311,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -6565,7 +6319,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -6574,7 +6327,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6583,7 +6335,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -6592,7 +6343,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -6601,7 +6351,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6610,17 +6359,14 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6636,7 +6382,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6645,7 +6390,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -6815,12 +6559,10 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } - case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6836,7 +6578,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6845,7 +6586,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -6854,7 +6594,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -6863,7 +6602,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6872,7 +6610,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Id = ptr.String(jtv) } - case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -6881,7 +6618,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.ManageAccessRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6890,7 +6626,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -6899,7 +6634,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -6908,12 +6642,10 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Provider = ptr.String(jtv) } - case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6922,7 +6654,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6938,7 +6669,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6947,7 +6677,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -7114,7 +6843,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -7123,7 +6851,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7132,7 +6859,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7141,7 +6867,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Status = types.UserProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7150,7 +6875,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Type = types.UserProfileType(jtv) } - default: _, _ = key, value @@ -7753,12 +7477,10 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } - case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7771,7 +7493,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7780,7 +7501,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -7789,7 +7509,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DomainId = ptr.String(jtv) } - case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -7798,7 +7517,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.EnableSetting = types.EnableSetting(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -7807,12 +7525,10 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7537,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Id = ptr.String(jtv) } - case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -7834,12 +7549,10 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.LastRunAt = ptr.Time(t) } - case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } - case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -7848,7 +7561,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7857,7 +7569,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -7866,7 +7577,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.ProjectId = ptr.String(jtv) } - case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -7875,7 +7585,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.PublishOnImport = ptr.Bool(jtv) } - case "retainPermissionsOnRevokeFailure": if value != nil { jtv, ok := value.(bool) @@ -7884,17 +7593,14 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.RetainPermissionsOnRevokeFailure = ptr.Bool(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } - case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7903,7 +7609,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7912,7 +7617,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7925,7 +7629,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8099,7 +7802,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.Status = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -9438,7 +9140,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9454,7 +9155,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9463,7 +9163,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -9472,12 +9171,10 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.DomainId = ptr.String(jtv) } - case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9486,7 +9183,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9495,7 +9191,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -9504,7 +9199,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.SubscriptionId = ptr.String(jtv) } - case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -9513,7 +9207,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.SubscriptionTargetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9529,7 +9222,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -9538,7 +9230,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -10149,7 +9840,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -10158,7 +9848,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10167,7 +9856,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -10176,7 +9864,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.DomainId = ptr.String(jtv) } - case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -10185,7 +9872,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.ExternalIdentifier = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -10201,7 +9887,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -10210,17 +9895,14 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10229,17 +9911,14 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Id = ptr.String(jtv) } - case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } - case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10248,7 +9927,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -10257,12 +9935,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.OwningProjectId = ptr.String(jtv) } - case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(string) @@ -10271,7 +9947,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Revision = ptr.String(jtv) } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -10280,7 +9955,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -10289,7 +9963,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -10460,12 +10133,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.AssetId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10481,7 +10152,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10160,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -10499,12 +10168,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.DomainId = ptr.String(jtv) } - case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } - case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -10513,7 +10180,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.EffectiveRowFilter = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -10522,7 +10188,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10531,7 +10196,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10540,7 +10204,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10549,7 +10212,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Status = types.FilterStatus(jtv) } - default: _, _ = key, value @@ -10727,7 +10389,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -10736,7 +10397,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10745,7 +10405,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -10754,12 +10413,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.DomainId = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10768,7 +10425,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -10777,7 +10433,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -10786,7 +10441,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -10795,7 +10449,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -10804,7 +10457,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Revision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10820,7 +10472,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -10829,7 +10480,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -11007,7 +10657,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11016,7 +10665,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11025,7 +10673,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -11034,7 +10681,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.DomainId = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -11050,7 +10696,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -11059,17 +10704,14 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11078,12 +10720,10 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Id = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11092,7 +10732,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -11101,7 +10740,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -11110,7 +10748,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11119,7 +10756,6 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Status = types.DataProductStatus(jtv) } - default: _, _ = key, value @@ -11292,12 +10928,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } - case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11310,7 +10944,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11319,7 +10952,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -11328,7 +10960,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DomainId = ptr.String(jtv) } - case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -11337,7 +10968,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.EnableSetting = types.EnableSetting(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -11346,12 +10976,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11360,7 +10988,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Id = ptr.String(jtv) } - case "lastRunAssetCount": if value != nil { jtv, ok := value.(json.Number) @@ -11373,7 +11000,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunAssetCount = ptr.Int32(int32(i64)) } - case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -11386,12 +11012,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunAt = ptr.Time(t) } - case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } - case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -11400,7 +11024,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11409,7 +11032,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -11418,7 +11040,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ProjectId = ptr.String(jtv) } - case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -11427,22 +11048,18 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.PublishOnImport = ptr.Bool(jtv) } - case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } - case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } - case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11451,7 +11068,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11460,7 +11076,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11473,7 +11088,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11654,7 +11268,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.CreatedAt = ptr.Time(t) } - case "dataSourceConfigurationSnapshot": if value != nil { jtv, ok := value.(string) @@ -11663,7 +11276,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DataSourceConfigurationSnapshot = ptr.String(jtv) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -11672,7 +11284,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DataSourceId = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -11681,12 +11292,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DomainId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11695,7 +11304,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Id = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -11704,12 +11312,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.ProjectId = ptr.String(jtv) } - case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -11722,7 +11328,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11731,7 +11336,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Status = types.DataSourceRunStatus(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -11744,7 +11348,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.StoppedAt = ptr.Time(t) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11753,7 +11356,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Type = types.DataSourceRunType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11766,7 +11368,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11940,7 +11541,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11956,7 +11556,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -11965,7 +11564,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Description = ptr.String(jtv) } - case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -11974,7 +11572,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainExecutionRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11983,7 +11580,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -11992,7 +11588,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12008,7 +11603,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12017,7 +11611,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Name = ptr.String(jtv) } - case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -12026,7 +11619,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.PortalUrl = ptr.String(jtv) } - case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -12035,12 +11627,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.RootDomainUnitId = ptr.String(jtv) } - case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12049,12 +11639,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Status = types.DomainStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12232,7 +11820,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12241,7 +11828,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12250,7 +11836,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -12259,7 +11844,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12268,7 +11852,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12284,7 +11867,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -12293,7 +11875,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.LastUpdatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12302,12 +11883,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Name = ptr.String(jtv) } - case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } - case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -12316,7 +11895,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.ParentDomainUnitId = ptr.String(jtv) } - default: _, _ = key, value @@ -12487,7 +12065,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -12496,7 +12073,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12509,7 +12085,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12518,12 +12093,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.CreatedBy = ptr.String(jtv) } - case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -12532,7 +12105,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -12541,12 +12113,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.DomainId = ptr.String(jtv) } - case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -12555,7 +12125,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -12564,12 +12133,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentProfileId = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12578,12 +12145,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Id = ptr.String(jtv) } - case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12592,7 +12157,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -12601,7 +12165,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -12610,17 +12173,14 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Provider = ptr.String(jtv) } - case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } - case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12629,7 +12189,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Status = types.EnvironmentStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12642,12 +12201,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -12818,7 +12375,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -12827,7 +12383,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12836,7 +12391,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12845,7 +12399,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12854,12 +12407,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -13034,12 +12585,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.CreatedAt = ptr.Time(t) } - case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -13048,12 +12597,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Description = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -13062,7 +12609,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13071,7 +12617,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -13080,12 +12625,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Provider = ptr.String(jtv) } - case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13098,12 +12641,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -13278,7 +12819,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.CreatedAt = ptr.Time(t) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -13287,12 +12827,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.DomainId = ptr.String(jtv) } - case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -13301,7 +12839,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -13310,12 +12847,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.ManageAccessRoleArn = ptr.String(jtv) } - case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } - case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -13324,12 +12859,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.ProvisioningRoleArn = ptr.String(jtv) } - case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13342,7 +12875,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -13513,7 +13045,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.AccessKeyId = ptr.String(jtv) } - case "expiration": if value != nil { jtv, ok := value.(string) @@ -13526,7 +13057,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.Expiration = ptr.Time(t) } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -13535,7 +13065,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -13544,7 +13073,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13715,7 +13243,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -13724,7 +13251,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -13737,7 +13263,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13746,7 +13271,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13755,7 +13279,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -13764,7 +13287,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.DomainId = ptr.String(jtv) } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -13773,7 +13295,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13782,7 +13303,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13791,7 +13311,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -13800,7 +13319,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.ProjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13813,12 +13331,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -13996,7 +13512,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14005,7 +13520,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14014,7 +13528,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -14023,17 +13536,14 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.DomainId = ptr.String(jtv) } - case "imports": if err := awsRestjson1_deserializeDocumentImportList(&sv.Imports, value); err != nil { return err } - case "model": if err := awsRestjson1_deserializeDocumentModel(&sv.Model, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14042,7 +13552,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -14051,7 +13560,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -14060,7 +13568,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -14069,7 +13576,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -14078,7 +13584,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14087,7 +13592,6 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Status = types.FormTypeStatus(jtv) } - default: _, _ = key, value @@ -14265,7 +13769,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14274,7 +13777,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14283,7 +13785,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -14292,7 +13793,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14301,7 +13801,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14310,7 +13809,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -14319,7 +13817,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14328,7 +13825,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Status = types.GlossaryStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14344,7 +13840,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -14353,7 +13848,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -14531,7 +14025,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14540,7 +14033,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -14549,7 +14041,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.DomainId = ptr.String(jtv) } - case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -14558,7 +14049,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.GlossaryId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14567,7 +14057,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Id = ptr.String(jtv) } - case "longDescription": if value != nil { jtv, ok := value.(string) @@ -14576,7 +14065,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.LongDescription = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14585,7 +14073,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Name = ptr.String(jtv) } - case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -14594,7 +14081,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.ShortDescription = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14603,12 +14089,10 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Status = types.GlossaryTermStatus(jtv) } - case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14624,7 +14108,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -14633,7 +14116,6 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -14804,7 +14286,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.DomainId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -14813,7 +14294,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.GroupName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14822,7 +14302,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14831,7 +14310,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.Status = types.GroupProfileStatus(jtv) } - default: _, _ = key, value @@ -15005,7 +14483,6 @@ func awsRestjson1_deserializeOpDocumentGetIamPortalLoginUrlOutput(v **GetIamPort } sv.AuthCodeUrl = ptr.String(jtv) } - case "userProfileId": if value != nil { jtv, ok := value.(string) @@ -15014,7 +14491,6 @@ func awsRestjson1_deserializeOpDocumentGetIamPortalLoginUrlOutput(v **GetIamPort } sv.UserProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -15192,7 +14668,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15201,7 +14676,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15210,7 +14684,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -15219,12 +14692,10 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.DomainId = ptr.String(jtv) } - case "downstreamNodes": if err := awsRestjson1_deserializeDocumentLineageNodeReferenceList(&sv.DownstreamNodes, value); err != nil { return err } - case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -15240,12 +14711,10 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -15254,7 +14723,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15263,7 +14731,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Name = ptr.String(jtv) } - case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -15272,7 +14739,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.SourceIdentifier = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -15281,7 +14747,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.TypeName = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -15290,7 +14755,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.TypeRevision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15306,7 +14770,6 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -15315,12 +14778,10 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.UpdatedBy = ptr.String(jtv) } - case "upstreamNodes": if err := awsRestjson1_deserializeDocumentLineageNodeReferenceList(&sv.UpstreamNodes, value); err != nil { return err } - default: _, _ = key, value @@ -15498,7 +14959,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15507,7 +14967,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15516,7 +14975,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -15525,7 +14983,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15534,12 +14991,10 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Id = ptr.String(jtv) } - case "item": if err := awsRestjson1_deserializeDocumentListingItem(&sv.Item, value); err != nil { return err } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -15548,7 +15003,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.ListingRevision = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15557,7 +15011,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15566,7 +15019,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Status = types.ListingStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15582,7 +15034,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -15591,7 +15042,6 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -15769,7 +15219,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15778,7 +15227,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -15787,7 +15235,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15796,7 +15243,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Id = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -15805,7 +15251,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15814,12 +15259,10 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Status = types.MetadataGenerationRunStatus(jtv) } - case "target": if err := awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(&sv.Target, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15828,7 +15271,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Type = types.MetadataGenerationRunType(jtv) } - default: _, _ = key, value @@ -16003,7 +15445,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16012,7 +15453,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16021,7 +15461,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -16030,7 +15469,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DomainId = ptr.String(jtv) } - case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -16039,17 +15477,14 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DomainUnitId = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16058,7 +15493,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -16071,7 +15505,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16080,7 +15513,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Name = ptr.String(jtv) } - case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -16089,7 +15521,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.ProjectStatus = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -16267,7 +15698,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16276,7 +15706,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -16285,7 +15714,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16294,7 +15722,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.Id = ptr.String(jtv) } - case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -16303,7 +15730,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.RetainPermissions = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16312,17 +15738,14 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.Status = types.SubscriptionStatus(jtv) } - case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } - case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } - case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -16331,7 +15754,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.SubscriptionRequestId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16347,7 +15769,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16356,7 +15777,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -16523,7 +15943,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16539,7 +15958,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16548,7 +15966,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -16557,12 +15974,10 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.DomainId = ptr.String(jtv) } - case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16571,7 +15986,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16580,7 +15994,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -16589,7 +16002,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.SubscriptionId = ptr.String(jtv) } - case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -16598,7 +16010,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.SubscriptionTargetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16614,7 +16025,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16623,7 +16033,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -16801,7 +16210,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16810,7 +16218,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -16819,7 +16226,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -16828,7 +16234,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16837,7 +16242,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -16846,7 +16250,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -16855,7 +16258,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16864,17 +16266,14 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16890,7 +16289,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16899,7 +16297,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -17066,12 +16463,10 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } - case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -17087,7 +16482,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -17096,7 +16490,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -17105,7 +16498,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -17114,7 +16506,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17123,7 +16514,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Id = ptr.String(jtv) } - case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -17132,7 +16522,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.ManageAccessRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17141,7 +16530,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -17150,7 +16538,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -17159,12 +16546,10 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Provider = ptr.String(jtv) } - case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17173,7 +16558,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -17189,7 +16573,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -17198,7 +16581,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -17369,7 +16751,6 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.DomainId = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -17378,7 +16759,6 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -17387,12 +16767,10 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.EntityType = types.TimeSeriesEntityType(jtv) } - case "form": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(&sv.Form, value); err != nil { return err } - case "formName": if value != nil { jtv, ok := value.(string) @@ -17401,7 +16779,6 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.FormName = ptr.String(jtv) } - default: _, _ = key, value @@ -17568,7 +16945,6 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -17577,7 +16953,6 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17586,7 +16961,6 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17595,7 +16969,6 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Status = types.UserProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17604,7 +16977,6 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Type = types.UserProfileType(jtv) } - default: _, _ = key, value @@ -17771,7 +17143,6 @@ func awsRestjson1_deserializeOpDocumentListAssetFiltersOutput(v **ListAssetFilte if err := awsRestjson1_deserializeDocumentAssetFilters(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17780,7 +17151,6 @@ func awsRestjson1_deserializeOpDocumentListAssetFiltersOutput(v **ListAssetFilte } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17947,7 +17317,6 @@ func awsRestjson1_deserializeOpDocumentListAssetRevisionsOutput(v **ListAssetRev if err := awsRestjson1_deserializeDocumentAssetRevisions(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17956,7 +17325,6 @@ func awsRestjson1_deserializeOpDocumentListAssetRevisionsOutput(v **ListAssetRev } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18123,7 +17491,6 @@ func awsRestjson1_deserializeOpDocumentListDataProductRevisionsOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataProductRevisions(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18132,7 +17499,6 @@ func awsRestjson1_deserializeOpDocumentListDataProductRevisionsOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18305,7 +17671,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunActivitiesOutput(v **Lis if err := awsRestjson1_deserializeDocumentDataSourceRunActivities(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18314,7 +17679,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunActivitiesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18487,7 +17851,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunsOutput(v **ListDataSour if err := awsRestjson1_deserializeDocumentDataSourceRunSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18496,7 +17859,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunsOutput(v **ListDataSour } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18669,7 +18031,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18678,7 +18039,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18851,7 +18211,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18860,7 +18219,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19024,7 +18382,6 @@ func awsRestjson1_deserializeOpDocumentListDomainUnitsForParentOutput(v **ListDo if err := awsRestjson1_deserializeDocumentDomainUnitSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19033,7 +18390,6 @@ func awsRestjson1_deserializeOpDocumentListDomainUnitsForParentOutput(v **ListDo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19201,12 +18557,10 @@ func awsRestjson1_deserializeOpDocumentListEntityOwnersOutput(v **ListEntityOwne } sv.NextToken = ptr.String(jtv) } - case "owners": if err := awsRestjson1_deserializeDocumentEntityOwners(&sv.Owners, value); err != nil { return err } - default: _, _ = key, value @@ -19370,7 +18724,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentActionsOutput(v **ListEnvi if err := awsRestjson1_deserializeDocumentListEnvironmentActionSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19379,7 +18732,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentActionsOutput(v **ListEnvi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19546,7 +18898,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintConfigurationsOut if err := awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurations(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19555,7 +18906,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintConfigurationsOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19722,7 +19072,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintsOutput(v **ListE if err := awsRestjson1_deserializeDocumentEnvironmentBlueprintSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19731,7 +19080,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19895,7 +19243,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentProfilesOutput(v **ListEnv if err := awsRestjson1_deserializeDocumentEnvironmentProfileSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19904,7 +19251,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentProfilesOutput(v **ListEnv } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20068,7 +19414,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20077,7 +19422,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20248,12 +19592,10 @@ func awsRestjson1_deserializeOpDocumentListLineageNodeHistoryOutput(v **ListLine } sv.NextToken = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocumentLineageNodeSummaries(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -20420,7 +19762,6 @@ func awsRestjson1_deserializeOpDocumentListMetadataGenerationRunsOutput(v **List if err := awsRestjson1_deserializeDocumentMetadataGenerationRuns(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20429,7 +19770,6 @@ func awsRestjson1_deserializeOpDocumentListMetadataGenerationRunsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20600,12 +19940,10 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } - case "notifications": if err := awsRestjson1_deserializeDocumentNotificationsList(&sv.Notifications, value); err != nil { return err } - default: _, _ = key, value @@ -20769,7 +20107,6 @@ func awsRestjson1_deserializeOpDocumentListPolicyGrantsOutput(v **ListPolicyGran if err := awsRestjson1_deserializeDocumentPolicyGrantList(&sv.GrantList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20778,7 +20115,6 @@ func awsRestjson1_deserializeOpDocumentListPolicyGrantsOutput(v **ListPolicyGran } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20945,7 +20281,6 @@ func awsRestjson1_deserializeOpDocumentListProjectMembershipsOutput(v **ListProj if err := awsRestjson1_deserializeDocumentProjectMembers(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20954,7 +20289,6 @@ func awsRestjson1_deserializeOpDocumentListProjectMembershipsOutput(v **ListProj } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21118,7 +20452,6 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21127,7 +20460,6 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21294,7 +20626,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionGrantsOutput(v **ListSubs if err := awsRestjson1_deserializeDocumentSubscriptionGrants(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21303,7 +20634,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionGrantsOutput(v **ListSubs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21470,7 +20800,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionRequestsOutput(v **ListSu if err := awsRestjson1_deserializeDocumentSubscriptionRequests(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21479,7 +20808,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionRequestsOutput(v **ListSu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21646,7 +20974,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionsOutput(v **ListSubscript if err := awsRestjson1_deserializeDocumentSubscriptions(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21655,7 +20982,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionsOutput(v **ListSubscript } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21822,7 +21148,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionTargetsOutput(v **ListSub if err := awsRestjson1_deserializeDocumentSubscriptionTargets(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21831,7 +21156,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionTargetsOutput(v **ListSub } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21998,7 +21322,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -22165,7 +21488,6 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesDataPointsOutput(v **ListTi if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -22174,7 +21496,6 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesDataPointsOutput(v **ListTi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22460,7 +21781,6 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.DomainId = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -22469,7 +21789,6 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -22478,12 +21797,10 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.EntityType = types.TimeSeriesEntityType(jtv) } - case "forms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutputList(&sv.Forms, value); err != nil { return err } - default: _, _ = key, value @@ -22661,7 +21978,6 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.CreatedAt = ptr.Time(t) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -22670,12 +21986,10 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.DomainId = ptr.String(jtv) } - case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -22684,7 +21998,6 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -22693,12 +22006,10 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.ManageAccessRoleArn = ptr.String(jtv) } - case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } - case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -22707,12 +22018,10 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.ProvisioningRoleArn = ptr.String(jtv) } - case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22725,7 +22034,6 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -22899,7 +22207,6 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.AssetId = ptr.String(jtv) } - case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -22908,7 +22215,6 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.AssetRevision = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -22917,7 +22223,6 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.DomainId = ptr.String(jtv) } - default: _, _ = key, value @@ -23098,7 +22403,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -23107,7 +22411,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -23116,7 +22419,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -23125,7 +22427,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -23134,7 +22435,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -23143,7 +22443,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -23152,7 +22451,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23161,17 +22459,14 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -23187,7 +22482,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -23196,7 +22490,6 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -23580,7 +22873,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -23589,7 +22881,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -23598,7 +22889,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -23607,7 +22897,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.Id = ptr.String(jtv) } - case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -23616,7 +22905,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.RetainPermissions = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23625,17 +22913,14 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.Status = types.SubscriptionStatus(jtv) } - case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } - case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } - case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -23644,7 +22929,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.SubscriptionRequestId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -23660,7 +22944,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -23669,7 +22952,6 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -23833,7 +23115,6 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentSearchInventoryResultItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23842,7 +23123,6 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } - case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -23855,7 +23135,6 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.TotalMatchCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24022,7 +23301,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupProfilesOutput(v **SearchGroup if err := awsRestjson1_deserializeDocumentGroupProfileSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24031,7 +23309,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupProfilesOutput(v **SearchGroup } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24195,7 +23472,6 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu if err := awsRestjson1_deserializeDocumentSearchResultItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24204,7 +23480,6 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu } sv.NextToken = ptr.String(jtv) } - case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -24217,7 +23492,6 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu } sv.TotalMatchCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24381,7 +23655,6 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, if err := awsRestjson1_deserializeDocumentSearchTypesResultItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24390,7 +23663,6 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, } sv.NextToken = ptr.String(jtv) } - case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -24403,7 +23675,6 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, } sv.TotalMatchCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24570,7 +23841,6 @@ func awsRestjson1_deserializeOpDocumentSearchUserProfilesOutput(v **SearchUserPr if err := awsRestjson1_deserializeDocumentUserProfileSummaries(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24579,7 +23849,6 @@ func awsRestjson1_deserializeOpDocumentSearchUserProfilesOutput(v **SearchUserPr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24760,7 +24029,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.CreatedAt = ptr.Time(t) } - case "dataSourceConfigurationSnapshot": if value != nil { jtv, ok := value.(string) @@ -24769,7 +24037,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DataSourceConfigurationSnapshot = ptr.String(jtv) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -24778,7 +24045,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DataSourceId = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -24787,12 +24053,10 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DomainId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -24801,7 +24065,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Id = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -24810,12 +24073,10 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.ProjectId = ptr.String(jtv) } - case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24828,7 +24089,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -24837,7 +24097,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Status = types.DataSourceRunStatus(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -24850,7 +24109,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.StoppedAt = ptr.Time(t) } - case "type": if value != nil { jtv, ok := value.(string) @@ -24859,7 +24117,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Type = types.DataSourceRunType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -24872,7 +24129,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -25056,7 +24312,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -25065,7 +24320,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -25074,7 +24328,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -25083,7 +24336,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Id = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -25092,7 +24344,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -25101,7 +24352,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Status = types.MetadataGenerationRunStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -25110,7 +24360,6 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Type = types.MetadataGenerationRunType(jtv) } - default: _, _ = key, value @@ -25487,12 +24736,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.AssetId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25508,7 +24755,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -25517,7 +24763,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -25526,12 +24771,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.DomainId = ptr.String(jtv) } - case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } - case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -25540,7 +24783,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.EffectiveRowFilter = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -25549,7 +24791,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -25558,7 +24799,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25567,7 +24807,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -25576,7 +24815,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Status = types.FilterStatus(jtv) } - default: _, _ = key, value @@ -25749,12 +24987,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } - case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -25767,7 +25003,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -25776,7 +25011,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -25785,7 +25019,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DomainId = ptr.String(jtv) } - case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -25794,7 +25027,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.EnableSetting = types.EnableSetting(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -25803,12 +25035,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -25817,7 +25047,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Id = ptr.String(jtv) } - case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -25830,12 +25059,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.LastRunAt = ptr.Time(t) } - case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } - case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -25844,7 +25071,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25853,7 +25079,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -25862,7 +25087,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.ProjectId = ptr.String(jtv) } - case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -25871,12 +25095,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.PublishOnImport = ptr.Bool(jtv) } - case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } - case "retainPermissionsOnRevokeFailure": if value != nil { jtv, ok := value.(bool) @@ -25885,17 +25107,14 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.RetainPermissionsOnRevokeFailure = ptr.Bool(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } - case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -25904,7 +25123,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -25913,7 +25131,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -25926,7 +25143,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -26103,7 +25319,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Description = ptr.String(jtv) } - case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -26112,7 +25327,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainExecutionRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -26121,7 +25335,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -26137,7 +25350,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } - case "name": if value != nil { jtv, ok := value.(string) @@ -26146,7 +25358,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Name = ptr.String(jtv) } - case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -26155,12 +25366,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.RootDomainUnitId = ptr.String(jtv) } - case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } - default: _, _ = key, value @@ -26341,7 +25550,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26350,7 +25558,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -26359,7 +25566,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -26368,7 +25574,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -26377,7 +25582,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -26393,7 +25597,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } } - case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -26402,7 +25605,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.LastUpdatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26411,12 +25613,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Name = ptr.String(jtv) } - case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } - case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -26425,7 +25625,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.ParentDomainUnitId = ptr.String(jtv) } - default: _, _ = key, value @@ -26599,7 +25798,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -26608,7 +25806,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -26621,7 +25818,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26630,12 +25826,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.CreatedBy = ptr.String(jtv) } - case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -26644,7 +25838,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -26653,12 +25846,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.DomainId = ptr.String(jtv) } - case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -26667,7 +25858,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -26676,12 +25866,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentProfileId = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -26690,12 +25878,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Id = ptr.String(jtv) } - case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -26704,7 +25890,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -26713,7 +25898,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -26722,17 +25906,14 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Provider = ptr.String(jtv) } - case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } - case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -26741,7 +25922,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Status = types.EnvironmentStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -26754,12 +25934,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -26933,7 +26111,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -26942,7 +26119,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -26951,7 +26127,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -26960,7 +26135,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26969,12 +26143,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -27151,7 +26323,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -27160,7 +26331,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -27173,7 +26343,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27182,7 +26351,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -27191,7 +26359,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -27200,7 +26367,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.DomainId = ptr.String(jtv) } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -27209,7 +26375,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27218,7 +26383,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27227,7 +26391,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -27236,7 +26399,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.ProjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -27249,12 +26411,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.UpdatedAt = ptr.Time(t) } - case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } - default: _, _ = key, value @@ -27428,7 +26588,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -27437,7 +26596,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27446,7 +26604,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27455,7 +26612,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -27464,7 +26620,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -27473,7 +26628,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Status = types.GlossaryStatus(jtv) } - default: _, _ = key, value @@ -27647,7 +26801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.DomainId = ptr.String(jtv) } - case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -27656,7 +26809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.GlossaryId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27665,7 +26817,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Id = ptr.String(jtv) } - case "longDescription": if value != nil { jtv, ok := value.(string) @@ -27674,7 +26825,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.LongDescription = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -27683,7 +26833,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Name = ptr.String(jtv) } - case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -27692,7 +26841,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.ShortDescription = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -27701,12 +26849,10 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Status = types.GlossaryTermStatus(jtv) } - case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } - default: _, _ = key, value @@ -27877,7 +27023,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.DomainId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -27886,7 +27031,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.GroupName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -27895,7 +27039,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -27904,7 +27047,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.Status = types.GroupProfileStatus(jtv) } - default: _, _ = key, value @@ -28085,7 +27227,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -28094,7 +27235,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -28103,7 +27243,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -28112,7 +27251,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DomainId = ptr.String(jtv) } - case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -28121,17 +27259,14 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DomainUnitId = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -28140,7 +27275,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -28153,7 +27287,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -28162,7 +27295,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } - case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -28171,7 +27303,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.ProjectStatus = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -28341,7 +27472,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28357,7 +27487,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -28366,7 +27495,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -28375,12 +27503,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.DomainId = ptr.String(jtv) } - case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -28389,7 +27515,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -28398,7 +27523,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -28407,7 +27531,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.SubscriptionId = ptr.String(jtv) } - case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -28416,7 +27539,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.SubscriptionTargetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -28432,7 +27554,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -28441,7 +27562,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -28622,7 +27742,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -28631,7 +27750,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -28640,7 +27758,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -28649,7 +27766,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -28658,7 +27774,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -28667,7 +27782,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -28676,7 +27790,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -28685,17 +27798,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -28711,7 +27821,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -28720,7 +27829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -28890,12 +27998,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } - case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28911,7 +28017,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -28920,7 +28025,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -28929,7 +28033,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -28938,7 +28041,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -28947,7 +28049,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Id = ptr.String(jtv) } - case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -28956,7 +28057,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.ManageAccessRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -28965,7 +28065,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -28974,7 +28073,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -28983,12 +28081,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Provider = ptr.String(jtv) } - case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -28997,7 +28093,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -29013,7 +28108,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -29022,7 +28116,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -29189,7 +28282,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -29198,7 +28290,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -29207,7 +28298,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -29216,7 +28306,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Status = types.UserProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -29225,7 +28314,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Type = types.UserProfileType(jtv) } - default: _, _ = key, value @@ -29543,15 +28631,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29559,15 +28641,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29642,7 +28720,6 @@ func awsRestjson1_deserializeDocumentAddToProjectMemberPoolPolicyGrantDetail(v * } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -29864,7 +28941,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.AssetId = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -29880,7 +28956,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } } - case "description": if value != nil { jtv, ok := value.(string) @@ -29889,7 +28964,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -29898,12 +28972,10 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.DomainId = ptr.String(jtv) } - case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } - case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -29912,7 +28984,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.EffectiveRowFilter = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -29921,7 +28992,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -29930,7 +29000,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29939,7 +29008,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -29948,7 +29016,6 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Status = types.FilterStatus(jtv) } - default: _, _ = key, value @@ -29988,7 +29055,6 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityId = ptr.String(jtv) } - case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -29997,7 +29063,6 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityRevision = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -30006,7 +29071,6 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -30076,7 +29140,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf if err := awsRestjson1_deserializeDocumentAssetItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -30092,7 +29155,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -30101,7 +29163,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -30110,7 +29171,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -30119,7 +29179,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.DomainId = ptr.String(jtv) } - case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -30128,7 +29187,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.ExternalIdentifier = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -30144,7 +29202,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -30153,12 +29210,10 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -30167,7 +29222,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Identifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30176,7 +29230,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30185,7 +29238,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.OwningProjectId = ptr.String(jtv) } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -30194,7 +29246,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -30203,7 +29254,6 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -30239,17 +29289,14 @@ func awsRestjson1_deserializeDocumentAssetItemAdditionalAttributes(v **types.Ass if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } - case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } - case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } - default: _, _ = key, value @@ -30289,7 +29336,6 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetId = ptr.String(jtv) } - case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -30298,7 +29344,6 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetRevision = ptr.String(jtv) } - case "assetType": if value != nil { jtv, ok := value.(string) @@ -30307,7 +29352,6 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetType = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -30323,7 +29367,6 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } } - case "forms": if value != nil { jtv, ok := value.(string) @@ -30332,17 +29375,14 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.Forms = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "latestTimeSeriesDataPointForms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointForms, value); err != nil { return err } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30351,7 +29391,6 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.OwningProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -30391,7 +29430,6 @@ func awsRestjson1_deserializeDocumentAssetListingDetails(v **types.AssetListingD } sv.ListingId = ptr.String(jtv) } - case "listingStatus": if value != nil { jtv, ok := value.(string) @@ -30400,7 +29438,6 @@ func awsRestjson1_deserializeDocumentAssetListingDetails(v **types.AssetListingD } sv.ListingStatus = types.ListingStatus(jtv) } - default: _, _ = key, value @@ -30436,7 +29473,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem if err := awsRestjson1_deserializeDocumentAssetListingItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -30452,7 +29488,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } } - case "description": if value != nil { jtv, ok := value.(string) @@ -30461,7 +29496,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.Description = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -30470,7 +29504,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityId = ptr.String(jtv) } - case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -30479,7 +29512,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityRevision = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -30488,12 +29520,10 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityType = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "listingCreatedBy": if value != nil { jtv, ok := value.(string) @@ -30502,7 +29532,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingCreatedBy = ptr.String(jtv) } - case "listingId": if value != nil { jtv, ok := value.(string) @@ -30511,7 +29540,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingId = ptr.String(jtv) } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -30520,7 +29548,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingRevision = ptr.String(jtv) } - case "listingUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -30529,7 +29556,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingUpdatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30538,7 +29564,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30547,7 +29572,6 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.OwningProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -30587,12 +29611,10 @@ func awsRestjson1_deserializeDocumentAssetListingItemAdditionalAttributes(v **ty } sv.Forms = ptr.String(jtv) } - case "latestTimeSeriesDataPointForms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointForms, value); err != nil { return err } - default: _, _ = key, value @@ -30639,7 +29661,6 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -30648,7 +29669,6 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -30657,7 +29677,6 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -30666,7 +29685,6 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.Id = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -30675,7 +29693,6 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -30749,7 +29766,6 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.AssetId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -30758,12 +29774,10 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.ErrorMessage = ptr.String(jtv) } - case "filterIds": if err := awsRestjson1_deserializeDocumentFilterIds(&sv.FilterIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -30772,7 +29786,6 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -30819,7 +29832,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -30828,7 +29840,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -30837,7 +29848,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -30846,12 +29856,10 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.DomainId = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -30860,7 +29868,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -30869,7 +29876,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -30878,7 +29884,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30887,7 +29892,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -30896,7 +29900,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Revision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -30912,7 +29915,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -30921,7 +29923,6 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -30997,7 +29998,6 @@ func awsRestjson1_deserializeDocumentAwsConsoleLinkParameters(v **types.AwsConso } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -31037,7 +30037,6 @@ func awsRestjson1_deserializeDocumentBusinessNameGenerationConfiguration(v **typ } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31077,7 +30076,6 @@ func awsRestjson1_deserializeDocumentCloudFormationProperties(v **types.CloudFor } sv.TemplateUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -31113,7 +30111,6 @@ func awsRestjson1_deserializeDocumentColumnFilterConfiguration(v **types.ColumnF if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.IncludedColumnNames, value); err != nil { return err } - default: _, _ = key, value @@ -31189,7 +30186,6 @@ func awsRestjson1_deserializeDocumentConfigurableActionParameter(v **types.Confi } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -31198,7 +30194,6 @@ func awsRestjson1_deserializeDocumentConfigurableActionParameter(v **types.Confi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -31272,12 +30267,10 @@ func awsRestjson1_deserializeDocumentConfigurableEnvironmentAction(v **types.Con } sv.Auth = types.ConfigurableActionTypeAuthorization(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentConfigurableActionParameterList(&sv.Parameters, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -31286,7 +30279,6 @@ func awsRestjson1_deserializeDocumentConfigurableEnvironmentAction(v **types.Con } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -31316,15 +30308,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31332,15 +30318,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31375,7 +30357,6 @@ func awsRestjson1_deserializeDocumentCreateAssetTypePolicyGrantDetail(v **types. } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31415,7 +30396,6 @@ func awsRestjson1_deserializeDocumentCreateDomainUnitPolicyGrantDetail(v **types } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31455,7 +30435,6 @@ func awsRestjson1_deserializeDocumentCreateEnvironmentProfilePolicyGrantDetail(v } sv.DomainUnitId = ptr.String(jtv) } - default: _, _ = key, value @@ -31495,7 +30474,6 @@ func awsRestjson1_deserializeDocumentCreateFormTypePolicyGrantDetail(v **types.C } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31535,7 +30513,6 @@ func awsRestjson1_deserializeDocumentCreateGlossaryPolicyGrantDetail(v **types.C } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31575,7 +30552,6 @@ func awsRestjson1_deserializeDocumentCreateProjectPolicyGrantDetail(v **types.Cr } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31615,7 +30591,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -31624,7 +30599,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.Description = ptr.String(jtv) } - case "fieldType": if value != nil { jtv, ok := value.(string) @@ -31633,7 +30607,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.FieldType = ptr.String(jtv) } - case "isEditable": if value != nil { jtv, ok := value.(bool) @@ -31642,7 +30615,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.IsEditable = ptr.Bool(jtv) } - case "isOptional": if value != nil { jtv, ok := value.(bool) @@ -31651,7 +30623,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.IsOptional = ptr.Bool(jtv) } - case "keyName": if value != nil { jtv, ok := value.(string) @@ -31660,7 +30631,6 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.KeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -31730,7 +30700,6 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, if err := awsRestjson1_deserializeDocumentItemGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -31739,7 +30708,6 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.Identifier = ptr.String(jtv) } - case "itemType": if value != nil { jtv, ok := value.(string) @@ -31748,7 +30716,6 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.ItemType = types.DataProductItemType(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -31757,7 +30724,6 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -31838,7 +30804,6 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } } - case "dataProductId": if value != nil { jtv, ok := value.(string) @@ -31847,7 +30812,6 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.DataProductId = ptr.String(jtv) } - case "dataProductRevision": if value != nil { jtv, ok := value.(string) @@ -31856,7 +30820,6 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.DataProductRevision = ptr.String(jtv) } - case "forms": if value != nil { jtv, ok := value.(string) @@ -31865,17 +30828,14 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.Forms = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "items": if err := awsRestjson1_deserializeDocumentListingSummaries(&sv.Items, value); err != nil { return err } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -31884,7 +30844,6 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.OwningProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -31920,7 +30879,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc if err := awsRestjson1_deserializeDocumentDataProductListingItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -31936,7 +30894,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } } - case "description": if value != nil { jtv, ok := value.(string) @@ -31945,7 +30902,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.Description = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -31954,7 +30910,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.EntityId = ptr.String(jtv) } - case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -31963,17 +30918,14 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.EntityRevision = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "items": if err := awsRestjson1_deserializeDocumentListingSummaryItems(&sv.Items, value); err != nil { return err } - case "listingCreatedBy": if value != nil { jtv, ok := value.(string) @@ -31982,7 +30934,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingCreatedBy = ptr.String(jtv) } - case "listingId": if value != nil { jtv, ok := value.(string) @@ -31991,7 +30942,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingId = ptr.String(jtv) } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -32000,7 +30950,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingRevision = ptr.String(jtv) } - case "listingUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -32009,7 +30958,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingUpdatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32018,7 +30966,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -32027,7 +30974,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.OwningProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -32067,7 +31013,6 @@ func awsRestjson1_deserializeDocumentDataProductListingItemAdditionalAttributes( } sv.Forms = ptr.String(jtv) } - default: _, _ = key, value @@ -32114,7 +31059,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -32123,7 +31067,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -32132,7 +31075,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -32141,7 +31083,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.DomainId = ptr.String(jtv) } - case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -32157,7 +31098,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } } - case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -32166,12 +31106,10 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.FirstRevisionCreatedBy = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -32180,7 +31118,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32189,7 +31126,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -32198,7 +31134,6 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.OwningProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -32245,7 +31180,6 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -32254,7 +31188,6 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -32263,7 +31196,6 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -32272,7 +31204,6 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.Id = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -32281,7 +31212,6 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -32405,7 +31335,6 @@ func awsRestjson1_deserializeDocumentDataSourceErrorMessage(v **types.DataSource } sv.ErrorDetail = ptr.String(jtv) } - case "errorType": if value != nil { jtv, ok := value.(string) @@ -32414,7 +31343,6 @@ func awsRestjson1_deserializeDocumentDataSourceErrorMessage(v **types.DataSource } sv.ErrorType = types.DataSourceErrorType(jtv) } - default: _, _ = key, value @@ -32492,7 +31420,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.CreatedAt = ptr.Time(t) } - case "dataAssetId": if value != nil { jtv, ok := value.(string) @@ -32501,7 +31428,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataAssetId = ptr.String(jtv) } - case "dataAssetStatus": if value != nil { jtv, ok := value.(string) @@ -32510,7 +31436,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataAssetStatus = types.DataAssetActivityStatus(jtv) } - case "database": if value != nil { jtv, ok := value.(string) @@ -32519,7 +31444,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.Database = ptr.String(jtv) } - case "dataSourceRunId": if value != nil { jtv, ok := value.(string) @@ -32528,12 +31452,10 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataSourceRunId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -32542,7 +31464,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.ProjectId = ptr.String(jtv) } - case "technicalDescription": if value != nil { jtv, ok := value.(string) @@ -32551,7 +31472,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.TechnicalDescription = ptr.String(jtv) } - case "technicalName": if value != nil { jtv, ok := value.(string) @@ -32560,7 +31480,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.TechnicalName = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -32573,7 +31492,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -32651,7 +31569,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.CreatedAt = ptr.Time(t) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -32660,12 +31577,10 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.DataSourceId = ptr.String(jtv) } - case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -32674,7 +31589,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Id = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -32683,12 +31597,10 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.ProjectId = ptr.String(jtv) } - case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -32701,7 +31613,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -32710,7 +31621,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Status = types.DataSourceRunStatus(jtv) } - case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -32723,7 +31633,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.StoppedAt = ptr.Time(t) } - case "type": if value != nil { jtv, ok := value.(string) @@ -32732,7 +31641,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Type = types.DataSourceRunType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -32745,7 +31653,6 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -32823,7 +31730,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.CreatedAt = ptr.Time(t) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -32832,7 +31738,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -32841,7 +31746,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DomainId = ptr.String(jtv) } - case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -32850,7 +31754,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.EnableSetting = types.EnableSetting(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -32859,7 +31762,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.EnvironmentId = ptr.String(jtv) } - case "lastRunAssetCount": if value != nil { jtv, ok := value.(json.Number) @@ -32872,7 +31774,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunAssetCount = ptr.Int32(int32(i64)) } - case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -32885,12 +31786,10 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunAt = ptr.Time(t) } - case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } - case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -32899,7 +31798,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32908,12 +31806,10 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -32922,7 +31818,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -32931,7 +31826,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -32944,7 +31838,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -32984,7 +31877,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -32993,7 +31885,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -33002,12 +31893,10 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentType = types.DeploymentType(jtv) } - case "failureReason": if err := awsRestjson1_deserializeDocumentEnvironmentError(&sv.FailureReason, value); err != nil { return err } - case "isDeploymentComplete": if value != nil { jtv, ok := value.(bool) @@ -33016,12 +31905,10 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IsDeploymentComplete = ptr.Bool(jtv) } - case "messages": if err := awsRestjson1_deserializeDocumentDeploymentMessagesList(&sv.Messages, value); err != nil { return err } - default: _, _ = key, value @@ -33101,7 +31988,6 @@ func awsRestjson1_deserializeDocumentDeploymentProperties(v **types.DeploymentPr } sv.EndTimeoutMinutes = ptr.Int32(int32(i64)) } - case "startTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -33114,7 +32000,6 @@ func awsRestjson1_deserializeDocumentDeploymentProperties(v **types.DeploymentPr } sv.StartTimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33154,7 +32039,6 @@ func awsRestjson1_deserializeDocumentDetailedGlossaryTerm(v **types.DetailedGlos } sv.Name = ptr.String(jtv) } - case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -33163,7 +32047,6 @@ func awsRestjson1_deserializeDocumentDetailedGlossaryTerm(v **types.DetailedGlos } sv.ShortDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -33271,7 +32154,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -33287,7 +32169,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -33296,7 +32177,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -33305,7 +32185,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -33321,7 +32200,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "managedAccountId": if value != nil { jtv, ok := value.(string) @@ -33330,7 +32208,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.ManagedAccountId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -33339,7 +32216,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } - case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -33348,7 +32224,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.PortalUrl = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -33357,7 +32232,6 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Status = types.DomainStatus(jtv) } - default: _, _ = key, value @@ -33397,7 +32271,6 @@ func awsRestjson1_deserializeDocumentDomainUnitFilterForProject(v **types.Domain } sv.DomainUnit = ptr.String(jtv) } - case "includeChildDomainUnits": if value != nil { jtv, ok := value.(bool) @@ -33406,7 +32279,6 @@ func awsRestjson1_deserializeDocumentDomainUnitFilterForProject(v **types.Domain } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -33486,7 +32358,6 @@ func awsRestjson1_deserializeDocumentDomainUnitGroupProperties(v **types.DomainU } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -33644,12 +32515,10 @@ func awsRestjson1_deserializeDocumentDomainUnitPolicyGrantPrincipal(v **types.Do } sv.DomainUnitDesignation = types.DomainUnitDesignation(jtv) } - case "domainUnitGrantFilter": if err := awsRestjson1_deserializeDocumentDomainUnitGrantFilter(&sv.DomainUnitGrantFilter, value); err != nil { return err } - case "domainUnitIdentifier": if value != nil { jtv, ok := value.(string) @@ -33658,7 +32527,6 @@ func awsRestjson1_deserializeDocumentDomainUnitPolicyGrantPrincipal(v **types.Do } sv.DomainUnitIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -33732,7 +32600,6 @@ func awsRestjson1_deserializeDocumentDomainUnitSummary(v **types.DomainUnitSumma } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -33741,7 +32608,6 @@ func awsRestjson1_deserializeDocumentDomainUnitSummary(v **types.DomainUnitSumma } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -33781,7 +32647,6 @@ func awsRestjson1_deserializeDocumentDomainUnitUserProperties(v **types.DomainUn } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -33923,7 +32788,6 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -33932,7 +32796,6 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -33941,7 +32804,6 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -33950,7 +32812,6 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -33959,12 +32820,10 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -34008,7 +32867,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.CreatedAt = ptr.Time(t) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -34017,12 +32875,10 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.DomainId = ptr.String(jtv) } - case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -34031,7 +32887,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -34040,12 +32895,10 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.ManageAccessRoleArn = ptr.String(jtv) } - case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } - case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -34054,12 +32907,10 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.ProvisioningRoleArn = ptr.String(jtv) } - case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -34072,7 +32923,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -34184,7 +33034,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -34193,7 +33042,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -34202,7 +33050,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -34211,7 +33058,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -34220,12 +33066,10 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Provider = ptr.String(jtv) } - case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -34238,7 +33082,6 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -34278,7 +33121,6 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -34287,7 +33129,6 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -34361,7 +33202,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -34370,7 +33210,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -34383,7 +33222,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -34392,7 +33230,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -34401,7 +33238,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -34410,7 +33246,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.DomainId = ptr.String(jtv) } - case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -34419,7 +33254,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.EnvironmentBlueprintId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -34428,7 +33262,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -34437,7 +33270,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -34446,7 +33278,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.ProjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -34459,7 +33290,6 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -34533,7 +33363,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.AwsAccountId = ptr.String(jtv) } - case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -34542,7 +33371,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.AwsAccountRegion = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -34555,7 +33383,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -34564,7 +33391,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -34573,7 +33399,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -34582,7 +33407,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DomainId = ptr.String(jtv) } - case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -34591,7 +33415,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentProfileId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -34600,7 +33423,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -34609,7 +33431,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -34618,7 +33439,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -34627,7 +33447,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Provider = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -34636,7 +33455,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Status = types.EnvironmentStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -34649,7 +33467,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -34689,7 +33506,6 @@ func awsRestjson1_deserializeDocumentEqualToExpression(v **types.EqualToExpressi } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -34698,7 +33514,6 @@ func awsRestjson1_deserializeDocumentEqualToExpression(v **types.EqualToExpressi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -34738,7 +33553,6 @@ func awsRestjson1_deserializeDocumentFailureCause(v **types.FailureCause, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -34812,7 +33626,6 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -34821,7 +33634,6 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Type = types.FilterExpressionType(jtv) } - default: _, _ = key, value @@ -34931,7 +33743,6 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.Required = ptr.Bool(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -34940,7 +33751,6 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.TypeName = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -34949,7 +33759,6 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -34989,7 +33798,6 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.Content = ptr.String(jtv) } - case "formName": if value != nil { jtv, ok := value.(string) @@ -34998,7 +33806,6 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.FormName = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -35007,7 +33814,6 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.TypeName = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -35016,7 +33822,6 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -35132,7 +33937,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -35141,7 +33945,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -35150,7 +33953,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -35159,17 +33961,14 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.DomainId = ptr.String(jtv) } - case "imports": if err := awsRestjson1_deserializeDocumentImportList(&sv.Imports, value); err != nil { return err } - case "model": if err := awsRestjson1_deserializeDocumentModel(&sv.Model, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -35178,7 +33977,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Name = ptr.String(jtv) } - case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -35187,7 +33985,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OriginDomainId = ptr.String(jtv) } - case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -35196,7 +33993,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OriginProjectId = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -35205,7 +34001,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OwningProjectId = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -35214,7 +34009,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Revision = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -35223,7 +34017,6 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Status = types.FormTypeStatus(jtv) } - default: _, _ = key, value @@ -35270,7 +34063,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -35279,7 +34071,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -35288,7 +34079,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -35297,7 +34087,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -35306,7 +34095,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -35315,7 +34103,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Name = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -35324,7 +34111,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -35333,7 +34119,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Status = types.GlossaryStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -35349,7 +34134,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -35358,7 +34142,6 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -35405,7 +34188,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -35414,7 +34196,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -35423,7 +34204,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.DomainId = ptr.String(jtv) } - case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -35432,7 +34212,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.GlossaryId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -35441,7 +34220,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Id = ptr.String(jtv) } - case "longDescription": if value != nil { jtv, ok := value.(string) @@ -35450,7 +34228,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.LongDescription = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -35459,7 +34236,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Name = ptr.String(jtv) } - case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -35468,7 +34244,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.ShortDescription = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -35477,12 +34252,10 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Status = types.GlossaryTermStatus(jtv) } - case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -35498,7 +34271,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -35507,7 +34279,6 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -35583,7 +34354,6 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.AccountId = ptr.String(jtv) } - case "autoImportDataQualityResult": if value != nil { jtv, ok := value.(bool) @@ -35592,7 +34362,6 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.AutoImportDataQualityResult = ptr.Bool(jtv) } - case "dataAccessRole": if value != nil { jtv, ok := value.(string) @@ -35601,7 +34370,6 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.DataAccessRole = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -35610,12 +34378,10 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.Region = ptr.String(jtv) } - case "relationalFilterConfigurations": if err := awsRestjson1_deserializeDocumentRelationalFilterConfigurations(&sv.RelationalFilterConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -35651,7 +34417,6 @@ func awsRestjson1_deserializeDocumentGlueSelfGrantStatusOutput(v **types.GlueSel if err := awsRestjson1_deserializeDocumentSelfGrantStatusDetails(&sv.SelfGrantStatusDetails, value); err != nil { return err } - default: _, _ = key, value @@ -35731,7 +34496,6 @@ func awsRestjson1_deserializeDocumentGreaterThanExpression(v **types.GreaterThan } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -35740,7 +34504,6 @@ func awsRestjson1_deserializeDocumentGreaterThanExpression(v **types.GreaterThan } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35780,7 +34543,6 @@ func awsRestjson1_deserializeDocumentGreaterThanOrEqualToExpression(v **types.Gr } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -35789,7 +34551,6 @@ func awsRestjson1_deserializeDocumentGreaterThanOrEqualToExpression(v **types.Gr } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35829,7 +34590,6 @@ func awsRestjson1_deserializeDocumentGroupDetails(v **types.GroupDetails, value } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -35945,7 +34705,6 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.DomainId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -35954,7 +34713,6 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.GroupName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -35963,7 +34721,6 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -35972,7 +34729,6 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.Status = types.GroupProfileStatus(jtv) } - default: _, _ = key, value @@ -36012,7 +34768,6 @@ func awsRestjson1_deserializeDocumentIamUserProfileDetails(v **types.IamUserProf } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -36052,7 +34807,6 @@ func awsRestjson1_deserializeDocumentImport(v **types.Import, value interface{}) } sv.Name = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -36061,7 +34815,6 @@ func awsRestjson1_deserializeDocumentImport(v **types.Import, value interface{}) } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -36135,12 +34888,10 @@ func awsRestjson1_deserializeDocumentInExpression(v **types.InExpression, value } sv.ColumnName = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -36170,15 +34921,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36186,15 +34931,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36229,7 +34970,6 @@ func awsRestjson1_deserializeDocumentIsNotNullExpression(v **types.IsNotNullExpr } sv.ColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -36269,7 +35009,6 @@ func awsRestjson1_deserializeDocumentIsNullExpression(v **types.IsNullExpression } sv.ColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -36341,7 +35080,6 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo if err := awsRestjson1_deserializeDocumentS3LocationList(&sv.LocationRegistrationExcludeS3Locations, value); err != nil { return err } - case "locationRegistrationRole": if value != nil { jtv, ok := value.(string) @@ -36350,7 +35088,6 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.LocationRegistrationRole = ptr.String(jtv) } - default: _, _ = key, value @@ -36390,7 +35127,6 @@ func awsRestjson1_deserializeDocumentLessThanExpression(v **types.LessThanExpres } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -36399,7 +35135,6 @@ func awsRestjson1_deserializeDocumentLessThanExpression(v **types.LessThanExpres } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -36439,7 +35174,6 @@ func awsRestjson1_deserializeDocumentLessThanOrEqualToExpression(v **types.LessT } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -36448,7 +35182,6 @@ func awsRestjson1_deserializeDocumentLessThanOrEqualToExpression(v **types.LessT } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -36488,7 +35221,6 @@ func awsRestjson1_deserializeDocumentLikeExpression(v **types.LikeExpression, va } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -36497,7 +35229,6 @@ func awsRestjson1_deserializeDocumentLikeExpression(v **types.LikeExpression, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -36544,7 +35275,6 @@ func awsRestjson1_deserializeDocumentLineageNodeReference(v **types.LineageNodeR } } - case "id": if value != nil { jtv, ok := value.(string) @@ -36553,7 +35283,6 @@ func awsRestjson1_deserializeDocumentLineageNodeReference(v **types.LineageNodeR } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -36668,7 +35397,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -36677,7 +35405,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -36686,7 +35413,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -36695,7 +35421,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.DomainId = ptr.String(jtv) } - case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -36711,7 +35436,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } - case "id": if value != nil { jtv, ok := value.(string) @@ -36720,7 +35444,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -36729,7 +35452,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Name = ptr.String(jtv) } - case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -36738,7 +35460,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.SourceIdentifier = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -36747,7 +35468,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.TypeName = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -36756,7 +35476,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.TypeRevision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -36772,7 +35491,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -36781,7 +35499,6 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -36828,7 +35545,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -36837,7 +35553,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -36846,7 +35561,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -36855,12 +35569,10 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.DomainId = ptr.String(jtv) } - case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -36869,7 +35581,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Name = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -36878,7 +35589,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Revision = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -36894,7 +35604,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -36903,7 +35612,6 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -37027,7 +35735,6 @@ func awsRestjson1_deserializeDocumentListingRevision(v **types.ListingRevision, } sv.Id = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -37036,7 +35743,6 @@ func awsRestjson1_deserializeDocumentListingRevision(v **types.ListingRevision, } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -37106,7 +35812,6 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "listingId": if value != nil { jtv, ok := value.(string) @@ -37115,7 +35820,6 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va } sv.ListingId = ptr.String(jtv) } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -37124,7 +35828,6 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va } sv.ListingRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -37160,7 +35863,6 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "listingId": if value != nil { jtv, ok := value.(string) @@ -37169,7 +35871,6 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary } sv.ListingId = ptr.String(jtv) } - case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -37178,7 +35879,6 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary } sv.ListingRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -37309,7 +36009,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -37318,7 +36017,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -37327,7 +36025,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -37336,7 +36033,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Id = ptr.String(jtv) } - case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -37345,7 +36041,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.OwningProjectId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -37354,12 +36049,10 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Status = types.MetadataGenerationRunStatus(jtv) } - case "target": if err := awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(&sv.Target, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -37368,7 +36061,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Type = types.MetadataGenerationRunType(jtv) } - default: _, _ = key, value @@ -37442,7 +36134,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Identifier = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -37451,7 +36142,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Revision = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -37460,7 +36150,6 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Type = types.MetadataGenerationTargetType(jtv) } - default: _, _ = key, value @@ -37578,7 +36267,6 @@ func awsRestjson1_deserializeDocumentNotEqualToExpression(v **types.NotEqualToEx } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -37587,7 +36275,6 @@ func awsRestjson1_deserializeDocumentNotEqualToExpression(v **types.NotEqualToEx } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -37627,7 +36314,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.ActionLink = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -37643,7 +36329,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } } - case "domainIdentifier": if value != nil { jtv, ok := value.(string) @@ -37652,7 +36337,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.DomainIdentifier = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -37661,7 +36345,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Identifier = ptr.String(jtv) } - case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -37677,7 +36360,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } } - case "message": if value != nil { jtv, ok := value.(string) @@ -37686,12 +36368,10 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Message = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentMetadataMap(&sv.Metadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -37700,7 +36380,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Status = types.TaskStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -37709,12 +36388,10 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Title = ptr.String(jtv) } - case "topic": if err := awsRestjson1_deserializeDocumentTopic(&sv.Topic, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -37723,7 +36400,6 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Type = types.NotificationType(jtv) } - default: _, _ = key, value @@ -37763,7 +36439,6 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -37772,7 +36447,6 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -37781,7 +36455,6 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Type = types.NotificationResourceType(jtv) } - default: _, _ = key, value @@ -37855,12 +36528,10 @@ func awsRestjson1_deserializeDocumentNotInExpression(v **types.NotInExpression, } sv.ColumnName = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -37900,7 +36571,6 @@ func awsRestjson1_deserializeDocumentNotLikeExpression(v **types.NotLikeExpressi } sv.ColumnName = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -37909,7 +36579,6 @@ func awsRestjson1_deserializeDocumentNotLikeExpression(v **types.NotLikeExpressi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -37949,7 +36618,6 @@ func awsRestjson1_deserializeDocumentOverrideDomainUnitOwnersPolicyGrantDetail(v } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -37989,7 +36657,6 @@ func awsRestjson1_deserializeDocumentOverrideProjectOwnersPolicyGrantDetail(v ** } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } - default: _, _ = key, value @@ -38029,7 +36696,6 @@ func awsRestjson1_deserializeDocumentOwnerGroupPropertiesOutput(v **types.OwnerG } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -38119,7 +36785,6 @@ func awsRestjson1_deserializeDocumentOwnerUserPropertiesOutput(v **types.OwnerUs } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -38340,7 +37005,6 @@ func awsRestjson1_deserializeDocumentPolicyGrantMember(v **types.PolicyGrantMemb } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -38349,17 +37013,14 @@ func awsRestjson1_deserializeDocumentPolicyGrantMember(v **types.PolicyGrantMemb } sv.CreatedBy = ptr.String(jtv) } - case "detail": if err := awsRestjson1_deserializeDocumentPolicyGrantDetail(&sv.Detail, value); err != nil { return err } - case "principal": if err := awsRestjson1_deserializeDocumentPolicyGrantPrincipal(&sv.Principal, value); err != nil { return err } - default: _, _ = key, value @@ -38461,7 +37122,6 @@ func awsRestjson1_deserializeDocumentPredictionConfiguration(v **types.Predictio if err := awsRestjson1_deserializeDocumentBusinessNameGenerationConfiguration(&sv.BusinessNameGeneration, value); err != nil { return err } - default: _, _ = key, value @@ -38501,7 +37161,6 @@ func awsRestjson1_deserializeDocumentProjectDeletionError(v **types.ProjectDelet } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -38510,7 +37169,6 @@ func awsRestjson1_deserializeDocumentProjectDeletionError(v **types.ProjectDelet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -38590,12 +37248,10 @@ func awsRestjson1_deserializeDocumentProjectMember(v **types.ProjectMember, valu } sv.Designation = types.UserDesignation(jtv) } - case "memberDetails": if err := awsRestjson1_deserializeDocumentMemberDetails(&sv.MemberDetails, value); err != nil { return err } - default: _, _ = key, value @@ -38669,12 +37325,10 @@ func awsRestjson1_deserializeDocumentProjectPolicyGrantPrincipal(v **types.Proje } sv.ProjectDesignation = types.ProjectDesignation(jtv) } - case "projectGrantFilter": if err := awsRestjson1_deserializeDocumentProjectGrantFilter(&sv.ProjectGrantFilter, value); err != nil { return err } - case "projectIdentifier": if value != nil { jtv, ok := value.(string) @@ -38683,7 +37337,6 @@ func awsRestjson1_deserializeDocumentProjectPolicyGrantPrincipal(v **types.Proje } sv.ProjectIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -38761,7 +37414,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -38770,7 +37422,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -38779,7 +37430,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -38788,7 +37438,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DomainId = ptr.String(jtv) } - case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -38797,12 +37446,10 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DomainUnitId = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -38811,7 +37458,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -38820,7 +37466,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } - case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -38829,7 +37474,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectStatus = types.ProjectStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -38842,7 +37486,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -38994,7 +37637,6 @@ func awsRestjson1_deserializeDocumentRecommendationConfiguration(v **types.Recom } sv.EnableBusinessNameGeneration = ptr.Bool(jtv) } - default: _, _ = key, value @@ -39034,7 +37676,6 @@ func awsRestjson1_deserializeDocumentRedshiftClusterStorage(v **types.RedshiftCl } sv.ClusterName = ptr.String(jtv) } - default: _, _ = key, value @@ -39074,7 +37715,6 @@ func awsRestjson1_deserializeDocumentRedshiftCredentialConfiguration(v **types.R } sv.SecretManagerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -39114,7 +37754,6 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.AccountId = ptr.String(jtv) } - case "dataAccessRole": if value != nil { jtv, ok := value.(string) @@ -39123,17 +37762,14 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.DataAccessRole = ptr.String(jtv) } - case "redshiftCredentialConfiguration": if err := awsRestjson1_deserializeDocumentRedshiftCredentialConfiguration(&sv.RedshiftCredentialConfiguration, value); err != nil { return err } - case "redshiftStorage": if err := awsRestjson1_deserializeDocumentRedshiftStorage(&sv.RedshiftStorage, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -39142,12 +37778,10 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.Region = ptr.String(jtv) } - case "relationalFilterConfigurations": if err := awsRestjson1_deserializeDocumentRelationalFilterConfigurations(&sv.RelationalFilterConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -39183,7 +37817,6 @@ func awsRestjson1_deserializeDocumentRedshiftSelfGrantStatusOutput(v **types.Red if err := awsRestjson1_deserializeDocumentSelfGrantStatusDetails(&sv.SelfGrantStatusDetails, value); err != nil { return err } - default: _, _ = key, value @@ -39223,7 +37856,6 @@ func awsRestjson1_deserializeDocumentRedshiftServerlessStorage(v **types.Redshif } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -39383,12 +38015,10 @@ func awsRestjson1_deserializeDocumentRelationalFilterConfiguration(v **types.Rel } sv.DatabaseName = ptr.String(jtv) } - case "filterExpressions": if err := awsRestjson1_deserializeDocumentFilterExpressions(&sv.FilterExpressions, value); err != nil { return err } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -39397,7 +38027,6 @@ func awsRestjson1_deserializeDocumentRelationalFilterConfiguration(v **types.Rel } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -39471,7 +38100,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -39480,7 +38108,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Provider = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -39489,7 +38116,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -39498,7 +38124,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -39562,15 +38187,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -39578,15 +38197,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -39671,7 +38286,6 @@ func awsRestjson1_deserializeDocumentRowFilterConfiguration(v **types.RowFilterC if err := awsRestjson1_deserializeDocumentRowFilter(&sv.RowFilter, value); err != nil { return err } - case "sensitive": if value != nil { jtv, ok := value.(bool) @@ -39680,7 +38294,6 @@ func awsRestjson1_deserializeDocumentRowFilterConfiguration(v **types.RowFilterC } sv.Sensitive = ptr.Bool(jtv) } - default: _, _ = key, value @@ -39906,7 +38519,6 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Added = ptr.Int32(int32(i64)) } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -39919,7 +38531,6 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Failed = ptr.Int32(int32(i64)) } - case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -39932,7 +38543,6 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Skipped = ptr.Int32(int32(i64)) } - case "unchanged": if value != nil { jtv, ok := value.(json.Number) @@ -39945,7 +38555,6 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Unchanged = ptr.Int32(int32(i64)) } - case "updated": if value != nil { jtv, ok := value.(json.Number) @@ -39958,7 +38567,6 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Updated = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40034,7 +38642,6 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Schedule = ptr.String(jtv) } - case "timezone": if value != nil { jtv, ok := value.(string) @@ -40043,7 +38650,6 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Timezone = types.Timezone(jtv) } - default: _, _ = key, value @@ -40359,7 +38965,6 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.DatabaseName = ptr.String(jtv) } - case "failureCause": if value != nil { jtv, ok := value.(string) @@ -40368,7 +38973,6 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.FailureCause = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -40377,7 +38981,6 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.SchemaName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -40386,7 +38989,6 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.Status = types.SelfGrantStatus(jtv) } - default: _, _ = key, value @@ -40500,15 +39102,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -40516,15 +39112,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40559,7 +39151,6 @@ func awsRestjson1_deserializeDocumentSingleSignOn(v **types.SingleSignOn, value } sv.Type = types.AuthType(jtv) } - case "userAssignment": if value != nil { jtv, ok := value.(string) @@ -40568,7 +39159,6 @@ func awsRestjson1_deserializeDocumentSingleSignOn(v **types.SingleSignOn, value } sv.UserAssignment = types.UserAssignment(jtv) } - default: _, _ = key, value @@ -40608,7 +39198,6 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.FirstName = ptr.String(jtv) } - case "lastName": if value != nil { jtv, ok := value.(string) @@ -40617,7 +39206,6 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.LastName = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -40626,7 +39214,6 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -40702,7 +39289,6 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.AssetId = ptr.String(jtv) } - case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -40711,17 +39297,14 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.AssetRevision = ptr.String(jtv) } - case "assetScope": if err := awsRestjson1_deserializeDocumentAssetScope(&sv.AssetScope, value); err != nil { return err } - case "failureCause": if err := awsRestjson1_deserializeDocumentFailureCause(&sv.FailureCause, value); err != nil { return err } - case "failureTimestamp": if value != nil { switch jtv := value.(type) { @@ -40737,7 +39320,6 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } } - case "grantedTimestamp": if value != nil { switch jtv := value.(type) { @@ -40753,7 +39335,6 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } } - case "status": if value != nil { jtv, ok := value.(string) @@ -40762,7 +39343,6 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.Status = types.SubscriptionGrantStatus(jtv) } - case "targetName": if value != nil { jtv, ok := value.(string) @@ -40771,7 +39351,6 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.TargetName = ptr.String(jtv) } - default: _, _ = key, value @@ -40807,7 +39386,6 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed if err := awsRestjson1_deserializeDocumentAssetScope(&sv.AssetScope, value); err != nil { return err } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -40816,7 +39394,6 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityId = ptr.String(jtv) } - case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -40825,7 +39402,6 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityRevision = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -40834,7 +39410,6 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityType = ptr.String(jtv) } - case "forms": if value != nil { jtv, ok := value.(string) @@ -40843,12 +39418,10 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.Forms = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - default: _, _ = key, value @@ -40922,7 +39495,6 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -40931,12 +39503,10 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Id = ptr.String(jtv) } - case "item": if err := awsRestjson1_deserializeDocumentSubscribedListingItem(&sv.Item, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -40945,7 +39515,6 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Name = ptr.String(jtv) } - case "ownerProjectId": if value != nil { jtv, ok := value.(string) @@ -40954,7 +39523,6 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.OwnerProjectId = ptr.String(jtv) } - case "ownerProjectName": if value != nil { jtv, ok := value.(string) @@ -40963,7 +39531,6 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.OwnerProjectName = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(string) @@ -40972,7 +39539,6 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Revision = ptr.String(jtv) } - default: _, _ = key, value @@ -41164,7 +39730,6 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib if err := awsRestjson1_deserializeDocumentAssetInDataProductListingItems(&sv.AssetListings, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -41173,7 +39738,6 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.Description = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -41182,7 +39746,6 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.EntityId = ptr.String(jtv) } - case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -41191,12 +39754,10 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.EntityRevision = ptr.String(jtv) } - case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -41205,7 +39766,6 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41245,7 +39805,6 @@ func awsRestjson1_deserializeDocumentSubscribedProject(v **types.SubscribedProje } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -41254,7 +39813,6 @@ func awsRestjson1_deserializeDocumentSubscribedProject(v **types.SubscribedProje } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41324,7 +39882,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -41340,7 +39897,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -41349,7 +39905,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -41358,12 +39913,10 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.DomainId = ptr.String(jtv) } - case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -41372,7 +39925,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -41381,7 +39933,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -41390,7 +39941,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.SubscriptionId = ptr.String(jtv) } - case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -41399,7 +39949,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.SubscriptionTargetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -41415,7 +39964,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -41424,7 +39972,6 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -41505,7 +40052,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -41514,7 +40060,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.CreatedBy = ptr.String(jtv) } - case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -41523,7 +40068,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.DecisionComment = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -41532,7 +40076,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -41541,7 +40084,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.Id = ptr.String(jtv) } - case "requestReason": if value != nil { jtv, ok := value.(string) @@ -41550,7 +40092,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.RequestReason = ptr.String(jtv) } - case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -41559,7 +40100,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.ReviewerId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -41568,17 +40108,14 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.Status = types.SubscriptionRequestStatus(jtv) } - case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } - case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -41594,7 +40131,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -41603,7 +40139,6 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -41684,7 +40219,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -41693,7 +40227,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -41702,7 +40235,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -41711,7 +40243,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.Id = ptr.String(jtv) } - case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -41720,7 +40251,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.RetainPermissions = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -41729,17 +40259,14 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.Status = types.SubscriptionStatus(jtv) } - case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } - case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } - case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -41748,7 +40275,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.SubscriptionRequestId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -41764,7 +40290,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -41773,7 +40298,6 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -41813,7 +40337,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetForm(v **types.Subscripti } sv.Content = ptr.String(jtv) } - case "formName": if value != nil { jtv, ok := value.(string) @@ -41822,7 +40345,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetForm(v **types.Subscripti } sv.FormName = ptr.String(jtv) } - default: _, _ = key, value @@ -41926,12 +40448,10 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } - case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -41947,7 +40467,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -41956,7 +40475,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.CreatedBy = ptr.String(jtv) } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -41965,7 +40483,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.DomainId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -41974,7 +40491,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -41983,7 +40499,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Id = ptr.String(jtv) } - case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -41992,7 +40507,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.ManageAccessRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -42001,7 +40515,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Name = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -42010,7 +40523,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.ProjectId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -42019,12 +40531,10 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Provider = ptr.String(jtv) } - case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -42033,7 +40543,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -42049,7 +40558,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -42058,7 +40566,6 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -42130,12 +40637,10 @@ func awsRestjson1_deserializeDocumentTermRelations(v **types.TermRelations, valu if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.Classifies, value); err != nil { return err } - case "isA": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.IsA, value); err != nil { return err } - default: _, _ = key, value @@ -42165,15 +40670,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42181,15 +40680,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42224,7 +40719,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.Content = ptr.String(jtv) } - case "formName": if value != nil { jtv, ok := value.(string) @@ -42233,7 +40727,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.FormName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -42242,7 +40735,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.Id = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -42258,7 +40750,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -42267,7 +40758,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -42276,7 +40766,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -42350,7 +40839,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.ContentSummary = ptr.String(jtv) } - case "formName": if value != nil { jtv, ok := value.(string) @@ -42359,7 +40847,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.FormName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -42368,7 +40855,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.Id = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -42384,7 +40870,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } } - case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -42393,7 +40878,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.TypeIdentifier = ptr.String(jtv) } - case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -42402,7 +40886,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.TypeRevision = ptr.String(jtv) } - default: _, _ = key, value @@ -42472,7 +40955,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e if err := awsRestjson1_deserializeDocumentNotificationResource(&sv.Resource, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -42481,7 +40963,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Role = types.NotificationRole(jtv) } - case "subject": if value != nil { jtv, ok := value.(string) @@ -42490,7 +40971,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -42520,15 +41000,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42536,15 +41010,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42610,7 +41080,6 @@ func awsRestjson1_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -42782,7 +41251,6 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } - case "domainId": if value != nil { jtv, ok := value.(string) @@ -42791,7 +41259,6 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.DomainId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -42800,7 +41267,6 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -42809,7 +41275,6 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Status = types.UserProfileStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -42818,7 +41283,6 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Type = types.UserProfileType(jtv) } - default: _, _ = key, value @@ -42848,15 +41312,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42864,15 +41322,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/dax/deserializers.go b/service/dax/deserializers.go index 0ae0677022e..de4df28ae40 100644 --- a/service/dax/deserializers.go +++ b/service/dax/deserializers.go @@ -3627,7 +3627,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveNodes = ptr.Int32(int32(i64)) } - case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -3636,12 +3635,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "ClusterDiscoveryEndpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.ClusterDiscoveryEndpoint, value); err != nil { return err } - case "ClusterEndpointEncryptionType": if value != nil { jtv, ok := value.(string) @@ -3650,7 +3647,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterEndpointEncryptionType = types.ClusterEndpointEncryptionType(jtv) } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -3659,7 +3655,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3668,7 +3663,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Description = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3677,17 +3671,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.IamRoleArn = ptr.String(jtv) } - case "NodeIdsToRemove": if err := awsAwsjson11_deserializeDocumentNodeIdentifierList(&sv.NodeIdsToRemove, value); err != nil { return err } - case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -3696,17 +3687,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NodeType = ptr.String(jtv) } - case "NotificationConfiguration": if err := awsAwsjson11_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - case "ParameterGroup": if err := awsAwsjson11_deserializeDocumentParameterGroupStatus(&sv.ParameterGroup, value); err != nil { return err } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3715,17 +3703,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupMembershipList(&sv.SecurityGroups, value); err != nil { return err } - case "SSEDescription": if err := awsAwsjson11_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3734,7 +3719,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } - case "SubnetGroup": if value != nil { jtv, ok := value.(string) @@ -3743,7 +3727,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SubnetGroup = ptr.String(jtv) } - case "TotalNodes": if value != nil { jtv, ok := value.(json.Number) @@ -3756,7 +3739,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TotalNodes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3786,15 +3768,9 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3802,15 +3778,11 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3869,15 +3841,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3885,15 +3851,11 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3918,15 +3880,9 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3934,15 +3890,11 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3977,7 +3929,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -3990,7 +3941,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = int32(i64) } - case "URL": if value != nil { jtv, ok := value.(string) @@ -3999,7 +3949,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.URL = ptr.String(jtv) } - default: _, _ = key, value @@ -4046,7 +3995,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4055,7 +4003,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } - case "SourceName": if value != nil { jtv, ok := value.(string) @@ -4064,7 +4011,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceName = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -4073,7 +4019,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -4137,15 +4082,9 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4153,15 +4092,11 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4186,15 +4121,9 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4202,15 +4131,11 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4235,15 +4160,9 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4251,15 +4170,11 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4284,15 +4199,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4300,15 +4209,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4333,15 +4238,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4349,15 +4248,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4382,15 +4277,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4398,15 +4287,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4431,15 +4316,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4447,15 +4326,11 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4480,15 +4355,9 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4496,15 +4365,11 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4539,12 +4404,10 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } - case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - case "NodeCreateTime": if value != nil { switch jtv := value.(type) { @@ -4560,7 +4423,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -4569,7 +4431,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeId = ptr.String(jtv) } - case "NodeStatus": if value != nil { jtv, ok := value.(string) @@ -4578,7 +4439,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeStatus = ptr.String(jtv) } - case "ParameterGroupStatus": if value != nil { jtv, ok := value.(string) @@ -4587,7 +4447,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.ParameterGroupStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -4687,15 +4546,9 @@ func awsAwsjson11_deserializeDocumentNodeNotFoundFault(v **types.NodeNotFoundFau sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4703,15 +4556,11 @@ func awsAwsjson11_deserializeDocumentNodeNotFoundFault(v **types.NodeNotFoundFau } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4736,15 +4585,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4752,15 +4595,11 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4785,15 +4624,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4801,15 +4634,11 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4844,7 +4673,6 @@ func awsAwsjson11_deserializeDocumentNodeTypeSpecificValue(v **types.NodeTypeSpe } sv.NodeType = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4853,7 +4681,6 @@ func awsAwsjson11_deserializeDocumentNodeTypeSpecificValue(v **types.NodeTypeSpe } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4927,7 +4754,6 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.TopicArn = ptr.String(jtv) } - case "TopicStatus": if value != nil { jtv, ok := value.(string) @@ -4936,7 +4762,6 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.TopicStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -4976,7 +4801,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.AllowedValues = ptr.String(jtv) } - case "ChangeType": if value != nil { jtv, ok := value.(string) @@ -4985,7 +4809,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ChangeType = types.ChangeType(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -4994,7 +4817,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5003,7 +4825,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } - case "IsModifiable": if value != nil { jtv, ok := value.(string) @@ -5012,12 +4833,10 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.IsModifiable = types.IsModifiable(jtv) } - case "NodeTypeSpecificValues": if err := awsAwsjson11_deserializeDocumentNodeTypeSpecificValueList(&sv.NodeTypeSpecificValues, value); err != nil { return err } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -5026,7 +4845,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterName = ptr.String(jtv) } - case "ParameterType": if value != nil { jtv, ok := value.(string) @@ -5035,7 +4853,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterType = types.ParameterType(jtv) } - case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -5044,7 +4861,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterValue = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -5053,7 +4869,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -5093,7 +4908,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Description = ptr.String(jtv) } - case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -5102,7 +4916,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.ParameterGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -5132,15 +4945,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5148,15 +4955,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5215,15 +5018,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5231,15 +5028,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5264,15 +5057,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5280,15 +5067,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5319,7 +5102,6 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro if err := awsAwsjson11_deserializeDocumentNodeIdentifierList(&sv.NodeIdsToReboot, value); err != nil { return err } - case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -5328,7 +5110,6 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro } sv.ParameterApplyStatus = ptr.String(jtv) } - case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -5337,7 +5118,6 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro } sv.ParameterGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -5411,7 +5191,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.SecurityGroupIdentifier = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5420,7 +5199,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5484,15 +5262,9 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5500,15 +5272,11 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5533,22 +5301,13 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5583,7 +5342,6 @@ func awsAwsjson11_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.Status = types.SSEStatus(jtv) } - default: _, _ = key, value @@ -5623,7 +5381,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5632,7 +5389,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5672,7 +5428,6 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Description = ptr.String(jtv) } - case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -5681,12 +5436,10 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.SubnetGroupName = ptr.String(jtv) } - case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5695,7 +5448,6 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -5725,15 +5477,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5741,15 +5487,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5774,15 +5516,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5790,15 +5526,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5857,15 +5589,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5873,15 +5599,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5906,15 +5628,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5922,15 +5638,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5955,15 +5667,9 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5971,15 +5677,11 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6038,15 +5740,9 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6054,15 +5750,11 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6097,7 +5789,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6106,7 +5797,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6170,15 +5860,9 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6186,15 +5870,11 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6219,15 +5899,9 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6235,15 +5909,11 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6274,7 +5944,6 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -6310,7 +5979,6 @@ func awsAwsjson11_deserializeOpDocumentCreateParameterGroupOutput(v **CreatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -6346,7 +6014,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSubnetGroupOutput(v **CreateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -6382,7 +6049,6 @@ func awsAwsjson11_deserializeOpDocumentDecreaseReplicationFactorOutput(v **Decre if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -6418,7 +6084,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -6458,7 +6123,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteParameterGroupOutput(v **DeletePara } sv.DeletionMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6498,7 +6162,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSubnetGroupOutput(v **DeleteSubnetG } sv.DeletionMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6534,7 +6197,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6543,7 +6205,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6583,12 +6244,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDefaultParametersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -6624,7 +6283,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6633,7 +6291,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6673,12 +6330,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeParameterGroupsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ParameterGroups": if err := awsAwsjson11_deserializeDocumentParameterGroupList(&sv.ParameterGroups, value); err != nil { return err } - default: _, _ = key, value @@ -6718,12 +6373,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -6763,12 +6416,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubnetGroupsOutput(v **DescribeSu } sv.NextToken = ptr.String(jtv) } - case "SubnetGroups": if err := awsAwsjson11_deserializeDocumentSubnetGroupList(&sv.SubnetGroups, value); err != nil { return err } - default: _, _ = key, value @@ -6804,7 +6455,6 @@ func awsAwsjson11_deserializeOpDocumentIncreaseReplicationFactorOutput(v **Incre if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -6844,12 +6494,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6885,7 +6533,6 @@ func awsAwsjson11_deserializeOpDocumentRebootNodeOutput(v **RebootNodeOutput, va if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -6921,7 +6568,6 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6957,7 +6603,6 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6993,7 +6638,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -7029,7 +6673,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParameterGroupOutput(v **UpdatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -7065,7 +6708,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubnetGroupOutput(v **UpdateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/deadline/deserializers.go b/service/deadline/deserializers.go index 5c3bea00090..0b687c8f4b7 100644 --- a/service/deadline/deserializers.go +++ b/service/deadline/deserializers.go @@ -599,7 +599,6 @@ func awsRestjson1_deserializeOpDocumentAssumeFleetRoleForReadOutput(v **AssumeFl if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - default: _, _ = key, value @@ -766,7 +765,6 @@ func awsRestjson1_deserializeOpDocumentAssumeFleetRoleForWorkerOutput(v **Assume if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - default: _, _ = key, value @@ -930,7 +928,6 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForReadOutput(v **AssumeQu if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - default: _, _ = key, value @@ -1094,7 +1091,6 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForUserOutput(v **AssumeQu if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - default: _, _ = key, value @@ -1261,7 +1257,6 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForWorkerOutput(v **Assume if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - default: _, _ = key, value @@ -1425,12 +1420,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetJobEntityOutput(v **BatchGetJobEn if err := awsRestjson1_deserializeDocumentBatchGetJobEntityList(&sv.Entities, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchGetJobEntityErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -1598,7 +1591,6 @@ func awsRestjson1_deserializeOpDocumentCopyJobTemplateOutput(v **CopyJobTemplate } sv.TemplateType = types.JobTemplateType(jtv) } - default: _, _ = key, value @@ -1769,7 +1761,6 @@ func awsRestjson1_deserializeOpDocumentCreateBudgetOutput(v **CreateBudgetOutput } sv.BudgetId = ptr.String(jtv) } - default: _, _ = key, value @@ -1940,7 +1931,6 @@ func awsRestjson1_deserializeOpDocumentCreateFarmOutput(v **CreateFarmOutput, va } sv.FarmId = ptr.String(jtv) } - default: _, _ = key, value @@ -2111,7 +2101,6 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -2282,7 +2271,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -2453,7 +2441,6 @@ func awsRestjson1_deserializeOpDocumentCreateLicenseEndpointOutput(v **CreateLic } sv.LicenseEndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -2621,7 +2608,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "monitorId": if value != nil { jtv, ok := value.(string) @@ -2630,7 +2616,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorId = ptr.String(jtv) } - default: _, _ = key, value @@ -2801,7 +2786,6 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueId = ptr.String(jtv) } - default: _, _ = key, value @@ -2972,7 +2956,6 @@ func awsRestjson1_deserializeOpDocumentCreateQueueEnvironmentOutput(v **CreateQu } sv.QueueEnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -3243,7 +3226,6 @@ func awsRestjson1_deserializeOpDocumentCreateStorageProfileOutput(v **CreateStor } sv.StorageProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -3414,7 +3396,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerOutput(v **CreateWorkerOutput } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5093,7 +5074,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu if err := awsRestjson1_deserializeDocumentResponseBudgetActionList(&sv.Actions, value); err != nil { return err } - case "approximateDollarLimit": if value != nil { switch jtv := value.(type) { @@ -5127,7 +5107,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } } - case "budgetId": if value != nil { jtv, ok := value.(string) @@ -5136,7 +5115,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.BudgetId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5149,7 +5127,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5158,7 +5135,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5167,7 +5143,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -5176,7 +5151,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.DisplayName = ptr.String(jtv) } - case "queueStoppedAt": if value != nil { jtv, ok := value.(string) @@ -5189,12 +5163,10 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.QueueStoppedAt = ptr.Time(t) } - case "schedule": if err := awsRestjson1_deserializeDocumentBudgetSchedule(&sv.Schedule, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5203,7 +5175,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.Status = types.BudgetStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5216,7 +5187,6 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5225,17 +5195,14 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.UpdatedBy = ptr.String(jtv) } - case "usages": if err := awsRestjson1_deserializeDocumentConsumedUsages(&sv.Usages, value); err != nil { return err } - case "usageTrackingResource": if err := awsRestjson1_deserializeDocumentUsageTrackingResource(&sv.UsageTrackingResource, value); err != nil { return err } - default: _, _ = key, value @@ -5407,7 +5374,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5416,7 +5382,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5425,7 +5390,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -5434,7 +5398,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -5443,7 +5406,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.FarmId = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5452,7 +5414,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.KmsKeyArn = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5465,7 +5426,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5474,7 +5434,6 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -5642,17 +5601,14 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.AutoScalingStatus = types.AutoScalingStatus(jtv) } - case "capabilities": if err := awsRestjson1_deserializeDocumentFleetCapabilities(&sv.Capabilities, value); err != nil { return err } - case "configuration": if err := awsRestjson1_deserializeDocumentFleetConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5665,7 +5621,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5674,7 +5629,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5683,7 +5637,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -5692,7 +5645,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -5701,7 +5653,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.FarmId = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -5710,7 +5661,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.FleetId = ptr.String(jtv) } - case "maxWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5723,7 +5673,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.MaxWorkerCount = ptr.Int32(int32(i64)) } - case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5736,7 +5685,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.MinWorkerCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5745,7 +5693,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5754,7 +5701,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Status = types.FleetStatus(jtv) } - case "targetWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5767,7 +5713,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.TargetWorkerCount = ptr.Int32(int32(i64)) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5780,7 +5725,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5789,7 +5733,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.UpdatedBy = ptr.String(jtv) } - case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5802,7 +5745,6 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.WorkerCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5966,7 +5908,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5979,7 +5920,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5988,7 +5928,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5936,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Description = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -6010,7 +5948,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.EndedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -6019,7 +5956,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobId = ptr.String(jtv) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -6028,7 +5964,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -6037,7 +5972,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -6050,7 +5984,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } - case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -6063,7 +5996,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6072,12 +6004,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.Parameters, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -6090,7 +6020,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Priority = ptr.Int32(int32(i64)) } - case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -6099,7 +6028,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.SourceJobId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -6112,7 +6040,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StartedAt = ptr.Time(t) } - case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -6121,7 +6048,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StorageProfileId = ptr.String(jtv) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -6130,7 +6056,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -6139,12 +6064,10 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6157,7 +6080,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6166,7 +6088,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -6334,7 +6255,6 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.DnsName = ptr.String(jtv) } - case "licenseEndpointId": if value != nil { jtv, ok := value.(string) @@ -6343,12 +6263,10 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.LicenseEndpointId = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6357,7 +6275,6 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.Status = types.LicenseEndpointStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6366,12 +6283,10 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.StatusMessage = ptr.String(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -6380,7 +6295,6 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -6552,7 +6466,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6561,7 +6474,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedBy = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -6570,7 +6482,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.DisplayName = ptr.String(jtv) } - case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6490,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "identityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -6588,7 +6498,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.IdentityCenterInstanceArn = ptr.String(jtv) } - case "monitorId": if value != nil { jtv, ok := value.(string) @@ -6597,7 +6506,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6606,7 +6514,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.RoleArn = ptr.String(jtv) } - case "subdomain": if value != nil { jtv, ok := value.(string) @@ -6615,7 +6522,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Subdomain = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6628,7 +6534,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6637,7 +6542,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.UpdatedBy = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -6646,7 +6550,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -6810,7 +6713,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsRestjson1_deserializeDocumentAllowedStorageProfileIds(&sv.AllowedStorageProfileIds, value); err != nil { return err } - case "blockedReason": if value != nil { jtv, ok := value.(string) @@ -6819,7 +6721,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.BlockedReason = types.QueueBlockedReason(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6832,7 +6733,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6841,7 +6741,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.CreatedBy = ptr.String(jtv) } - case "defaultBudgetAction": if value != nil { jtv, ok := value.(string) @@ -6850,7 +6749,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.DefaultBudgetAction = types.DefaultQueueBudgetAction(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6859,7 +6757,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -6868,7 +6765,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -6877,17 +6773,14 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.FarmId = ptr.String(jtv) } - case "jobAttachmentSettings": if err := awsRestjson1_deserializeDocumentJobAttachmentSettings(&sv.JobAttachmentSettings, value); err != nil { return err } - case "jobRunAsUser": if err := awsRestjson1_deserializeDocumentJobRunAsUser(&sv.JobRunAsUser, value); err != nil { return err } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -6896,12 +6789,10 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.QueueId = ptr.String(jtv) } - case "requiredFileSystemLocationNames": if err := awsRestjson1_deserializeDocumentRequiredFileSystemLocationNames(&sv.RequiredFileSystemLocationNames, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6910,7 +6801,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6919,7 +6809,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.Status = types.QueueStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6932,7 +6821,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6941,7 +6829,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -7113,7 +7000,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7122,7 +7008,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.CreatedBy = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7131,7 +7016,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7144,7 +7028,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Priority = ptr.Int32(int32(i64)) } - case "queueEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -7153,7 +7036,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.QueueEnvironmentId = ptr.String(jtv) } - case "template": if value != nil { jtv, ok := value.(string) @@ -7162,7 +7044,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Template = ptr.String(jtv) } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -7171,7 +7052,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.TemplateType = types.EnvironmentTemplateType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7184,7 +7064,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7193,7 +7072,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -7365,7 +7243,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7374,7 +7251,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.CreatedBy = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -7383,7 +7259,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.FleetId = ptr.String(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -7392,7 +7267,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.QueueId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7401,7 +7275,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.Status = types.QueueFleetAssociationStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7414,7 +7287,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7423,7 +7295,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -7595,7 +7466,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.EndedAt = ptr.Time(t) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -7604,12 +7474,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.FleetId = ptr.String(jtv) } - case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -7618,12 +7486,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } - case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -7632,7 +7498,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -7645,7 +7510,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.StartedAt = ptr.Time(t) } - case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -7654,7 +7518,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7667,7 +7530,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7676,7 +7538,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.UpdatedBy = ptr.String(jtv) } - case "workerId": if value != nil { jtv, ok := value.(string) @@ -7685,12 +7546,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.WorkerId = ptr.String(jtv) } - case "workerLog": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.WorkerLog, value); err != nil { return err } - default: _, _ = key, value @@ -7854,7 +7713,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi if err := awsRestjson1_deserializeDocumentSessionActionDefinition(&sv.Definition, value); err != nil { return err } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -7867,7 +7725,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.EndedAt = ptr.Time(t) } - case "processExitCode": if value != nil { jtv, ok := value.(json.Number) @@ -7880,7 +7737,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.ProcessExitCode = ptr.Int32(int32(i64)) } - case "progressMessage": if value != nil { jtv, ok := value.(string) @@ -7889,7 +7745,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.ProgressMessage = ptr.String(jtv) } - case "progressPercent": if value != nil { switch jtv := value.(type) { @@ -7923,7 +7778,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } } - case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -7932,7 +7786,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.SessionActionId = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -7941,7 +7794,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.SessionId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -7954,7 +7806,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7963,7 +7814,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.Status = types.SessionActionStatus(jtv) } - case "workerUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7976,7 +7826,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.WorkerUpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -8144,12 +7993,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.NextToken = ptr.String(jtv) } - case "statistics": if err := awsRestjson1_deserializeDocumentStatisticsList(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8158,7 +8005,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.Status = types.SessionsStatisticsAggregationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8167,7 +8013,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8339,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8348,12 +8192,10 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.CreatedBy = ptr.String(jtv) } - case "dependencyCounts": if err := awsRestjson1_deserializeDocumentDependencyCounts(&sv.DependencyCounts, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -8362,7 +8204,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.Description = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -8375,7 +8216,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.EndedAt = ptr.Time(t) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -8384,7 +8224,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -8393,7 +8232,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8402,17 +8240,14 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.Name = ptr.String(jtv) } - case "parameterSpace": if err := awsRestjson1_deserializeDocumentParameterSpace(&sv.ParameterSpace, value); err != nil { return err } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentStepRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -8425,7 +8260,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.StartedAt = ptr.Time(t) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -8434,7 +8268,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.StepId = ptr.String(jtv) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -8443,7 +8276,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -8452,12 +8284,10 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8470,7 +8300,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -8479,7 +8308,6 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -8651,7 +8479,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8660,7 +8487,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.CreatedBy = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -8669,12 +8495,10 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.DisplayName = ptr.String(jtv) } - case "fileSystemLocations": if err := awsRestjson1_deserializeDocumentFileSystemLocationsList(&sv.FileSystemLocations, value); err != nil { return err } - case "osFamily": if value != nil { jtv, ok := value.(string) @@ -8683,7 +8507,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } - case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -8692,7 +8515,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.StorageProfileId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8705,7 +8527,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -8714,7 +8535,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -8882,12 +8702,10 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.DisplayName = ptr.String(jtv) } - case "fileSystemLocations": if err := awsRestjson1_deserializeDocumentFileSystemLocationsList(&sv.FileSystemLocations, value); err != nil { return err } - case "osFamily": if value != nil { jtv, ok := value.(string) @@ -8896,7 +8714,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } - case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -8905,7 +8722,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.StorageProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -9077,7 +8893,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9086,7 +8901,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.CreatedBy = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -9099,7 +8913,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.EndedAt = ptr.Time(t) } - case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -9112,7 +8925,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.FailureRetryCount = ptr.Int32(int32(i64)) } - case "latestSessionActionId": if value != nil { jtv, ok := value.(string) @@ -9121,12 +8933,10 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.LatestSessionActionId = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } - case "runStatus": if value != nil { jtv, ok := value.(string) @@ -9135,7 +8945,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.RunStatus = types.TaskRunStatus(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -9148,7 +8957,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.StartedAt = ptr.Time(t) } - case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -9157,7 +8965,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -9166,7 +8973,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.TaskId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -9179,7 +8985,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -9188,7 +8993,6 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -9360,7 +9164,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9369,7 +9172,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.CreatedBy = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -9378,7 +9180,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.FarmId = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -9387,17 +9188,14 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.FleetId = ptr.String(jtv) } - case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } - case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9406,7 +9204,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.Status = types.WorkerStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -9419,7 +9216,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -9428,7 +9224,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.UpdatedBy = ptr.String(jtv) } - case "workerId": if value != nil { jtv, ok := value.(string) @@ -9437,7 +9232,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -9592,7 +9386,6 @@ func awsRestjson1_deserializeOpDocumentListAvailableMeteredProductsOutput(v **Li if err := awsRestjson1_deserializeDocumentMeteredProductSummaryList(&sv.MeteredProducts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9601,7 +9394,6 @@ func awsRestjson1_deserializeOpDocumentListAvailableMeteredProductsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9765,7 +9557,6 @@ func awsRestjson1_deserializeOpDocumentListBudgetsOutput(v **ListBudgetsOutput, if err := awsRestjson1_deserializeDocumentBudgetSummaries(&sv.Budgets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9774,7 +9565,6 @@ func awsRestjson1_deserializeOpDocumentListBudgetsOutput(v **ListBudgetsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9938,7 +9728,6 @@ func awsRestjson1_deserializeOpDocumentListFarmMembersOutput(v **ListFarmMembers if err := awsRestjson1_deserializeDocumentFarmMembers(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9947,7 +9736,6 @@ func awsRestjson1_deserializeOpDocumentListFarmMembersOutput(v **ListFarmMembers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10108,7 +9896,6 @@ func awsRestjson1_deserializeOpDocumentListFarmsOutput(v **ListFarmsOutput, valu if err := awsRestjson1_deserializeDocumentFarmSummaries(&sv.Farms, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10117,7 +9904,6 @@ func awsRestjson1_deserializeOpDocumentListFarmsOutput(v **ListFarmsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10281,7 +10067,6 @@ func awsRestjson1_deserializeOpDocumentListFleetMembersOutput(v **ListFleetMembe if err := awsRestjson1_deserializeDocumentFleetMembers(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10290,7 +10075,6 @@ func awsRestjson1_deserializeOpDocumentListFleetMembersOutput(v **ListFleetMembe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10454,7 +10238,6 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsRestjson1_deserializeDocumentFleetSummaries(&sv.Fleets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10463,7 +10246,6 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10627,7 +10409,6 @@ func awsRestjson1_deserializeOpDocumentListJobMembersOutput(v **ListJobMembersOu if err := awsRestjson1_deserializeDocumentJobMembers(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10636,7 +10417,6 @@ func awsRestjson1_deserializeOpDocumentListJobMembersOutput(v **ListJobMembersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10800,7 +10580,6 @@ func awsRestjson1_deserializeOpDocumentListJobParameterDefinitionsOutput(v **Lis if err := awsRestjson1_deserializeDocumentJobParameterDefinitions(&sv.JobParameterDefinitions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10809,7 +10588,6 @@ func awsRestjson1_deserializeOpDocumentListJobParameterDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10973,7 +10751,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10982,7 +10759,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11146,7 +10922,6 @@ func awsRestjson1_deserializeOpDocumentListLicenseEndpointsOutput(v **ListLicens if err := awsRestjson1_deserializeDocumentLicenseEndpointSummaries(&sv.LicenseEndpoints, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11155,7 +10930,6 @@ func awsRestjson1_deserializeOpDocumentListLicenseEndpointsOutput(v **ListLicens } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11319,7 +11093,6 @@ func awsRestjson1_deserializeOpDocumentListMeteredProductsOutput(v **ListMetered if err := awsRestjson1_deserializeDocumentMeteredProductSummaryList(&sv.MeteredProducts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11328,7 +11101,6 @@ func awsRestjson1_deserializeOpDocumentListMeteredProductsOutput(v **ListMetered } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11489,7 +11261,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorSummaries(&sv.Monitors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11498,7 +11269,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11662,7 +11432,6 @@ func awsRestjson1_deserializeOpDocumentListQueueEnvironmentsOutput(v **ListQueue if err := awsRestjson1_deserializeDocumentQueueEnvironmentSummaries(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11671,7 +11440,6 @@ func awsRestjson1_deserializeOpDocumentListQueueEnvironmentsOutput(v **ListQueue } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11836,12 +11604,10 @@ func awsRestjson1_deserializeOpDocumentListQueueFleetAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "queueFleetAssociations": if err := awsRestjson1_deserializeDocumentQueueFleetAssociationSummaries(&sv.QueueFleetAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -12005,7 +11771,6 @@ func awsRestjson1_deserializeOpDocumentListQueueMembersOutput(v **ListQueueMembe if err := awsRestjson1_deserializeDocumentQueueMemberList(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12014,7 +11779,6 @@ func awsRestjson1_deserializeOpDocumentListQueueMembersOutput(v **ListQueueMembe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12182,12 +11946,10 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } - case "queues": if err := awsRestjson1_deserializeDocumentQueueSummaries(&sv.Queues, value); err != nil { return err } - default: _, _ = key, value @@ -12355,12 +12117,10 @@ func awsRestjson1_deserializeOpDocumentListSessionActionsOutput(v **ListSessionA } sv.NextToken = ptr.String(jtv) } - case "sessionActions": if err := awsRestjson1_deserializeDocumentSessionActionSummaries(&sv.SessionActions, value); err != nil { return err } - default: _, _ = key, value @@ -12528,12 +12288,10 @@ func awsRestjson1_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } - case "sessions": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -12701,12 +12459,10 @@ func awsRestjson1_deserializeOpDocumentListSessionsForWorkerOutput(v **ListSessi } sv.NextToken = ptr.String(jtv) } - case "sessions": if err := awsRestjson1_deserializeDocumentListSessionsForWorkerSummaries(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -12870,7 +12626,6 @@ func awsRestjson1_deserializeOpDocumentListStepConsumersOutput(v **ListStepConsu if err := awsRestjson1_deserializeDocumentStepConsumers(&sv.Consumers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12879,7 +12634,6 @@ func awsRestjson1_deserializeOpDocumentListStepConsumersOutput(v **ListStepConsu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13043,7 +12797,6 @@ func awsRestjson1_deserializeOpDocumentListStepDependenciesOutput(v **ListStepDe if err := awsRestjson1_deserializeDocumentStepDependencies(&sv.Dependencies, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13052,7 +12805,6 @@ func awsRestjson1_deserializeOpDocumentListStepDependenciesOutput(v **ListStepDe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13220,12 +12972,10 @@ func awsRestjson1_deserializeOpDocumentListStepsOutput(v **ListStepsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentStepSummaries(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -13393,12 +13143,10 @@ func awsRestjson1_deserializeOpDocumentListStorageProfilesOutput(v **ListStorage } sv.NextToken = ptr.String(jtv) } - case "storageProfiles": if err := awsRestjson1_deserializeDocumentStorageProfileSummaries(&sv.StorageProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -13566,12 +13314,10 @@ func awsRestjson1_deserializeOpDocumentListStorageProfilesForQueueOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "storageProfiles": if err := awsRestjson1_deserializeDocumentStorageProfileSummaries(&sv.StorageProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -13735,7 +13481,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13903,12 +13648,10 @@ func awsRestjson1_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentTaskSummaries(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -14076,12 +13819,10 @@ func awsRestjson1_deserializeOpDocumentListWorkersOutput(v **ListWorkersOutput, } sv.NextToken = ptr.String(jtv) } - case "workers": if err := awsRestjson1_deserializeDocumentWorkerSummaries(&sv.Workers, value); err != nil { return err } - default: _, _ = key, value @@ -14345,7 +14086,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocumentJobSearchSummaries(&sv.Jobs, value); err != nil { return err } - case "nextItemOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14358,7 +14098,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextItemOffset = ptr.Int32(int32(i64)) } - case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14371,7 +14110,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.TotalResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14543,12 +14281,10 @@ func awsRestjson1_deserializeOpDocumentSearchStepsOutput(v **SearchStepsOutput, } sv.NextItemOffset = ptr.Int32(int32(i64)) } - case "steps": if err := awsRestjson1_deserializeDocumentStepSearchSummaries(&sv.Steps, value); err != nil { return err } - case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14561,7 +14297,6 @@ func awsRestjson1_deserializeOpDocumentSearchStepsOutput(v **SearchStepsOutput, } sv.TotalResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14733,12 +14468,10 @@ func awsRestjson1_deserializeOpDocumentSearchTasksOutput(v **SearchTasksOutput, } sv.NextItemOffset = ptr.Int32(int32(i64)) } - case "tasks": if err := awsRestjson1_deserializeDocumentTaskSearchSummaries(&sv.Tasks, value); err != nil { return err } - case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14751,7 +14484,6 @@ func awsRestjson1_deserializeOpDocumentSearchTasksOutput(v **SearchTasksOutput, } sv.TotalResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14923,7 +14655,6 @@ func awsRestjson1_deserializeOpDocumentSearchWorkersOutput(v **SearchWorkersOutp } sv.NextItemOffset = ptr.Int32(int32(i64)) } - case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14936,12 +14667,10 @@ func awsRestjson1_deserializeOpDocumentSearchWorkersOutput(v **SearchWorkersOutp } sv.TotalResults = ptr.Int32(int32(i64)) } - case "workers": if err := awsRestjson1_deserializeDocumentWorkerSearchSummaries(&sv.Workers, value); err != nil { return err } - default: _, _ = key, value @@ -15109,7 +14838,6 @@ func awsRestjson1_deserializeOpDocumentStartSessionsStatisticsAggregationOutput( } sv.AggregationId = ptr.String(jtv) } - default: _, _ = key, value @@ -16697,7 +16425,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerOutput(v **UpdateWorkerOutput if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } - default: _, _ = key, value @@ -16864,12 +16591,10 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork if err := awsRestjson1_deserializeDocumentAssignedSessions(&sv.AssignedSessions, value); err != nil { return err } - case "cancelSessionActions": if err := awsRestjson1_deserializeDocumentCancelSessionActions(&sv.CancelSessionActions, value); err != nil { return err } - case "desiredWorkerStatus": if value != nil { jtv, ok := value.(string) @@ -16878,7 +16603,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork } sv.DesiredWorkerStatus = types.DesiredWorkerStatus(jtv) } - case "updateIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16891,7 +16615,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork } sv.UpdateIntervalSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17227,7 +16950,6 @@ func awsRestjson1_deserializeDocumentAcceleratorCountRange(v **types.Accelerator } sv.Max = ptr.Int32(int32(i64)) } - case "min": if value != nil { jtv, ok := value.(json.Number) @@ -17240,7 +16962,6 @@ func awsRestjson1_deserializeDocumentAcceleratorCountRange(v **types.Accelerator } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17284,7 +17005,6 @@ func awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(v **types.Ac } sv.Max = ptr.Int32(int32(i64)) } - case "min": if value != nil { jtv, ok := value.(json.Number) @@ -17297,7 +17017,6 @@ func awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(v **types.Ac } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17363,20 +17082,13 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17384,15 +17096,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17463,7 +17171,6 @@ func awsRestjson1_deserializeDocumentAssignedEnvironmentEnterSessionActionDefini } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -17503,7 +17210,6 @@ func awsRestjson1_deserializeDocumentAssignedEnvironmentExitSessionActionDefinit } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -17543,12 +17249,10 @@ func awsRestjson1_deserializeDocumentAssignedSession(v **types.AssignedSession, } sv.JobId = ptr.String(jtv) } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -17557,12 +17261,10 @@ func awsRestjson1_deserializeDocumentAssignedSession(v **types.AssignedSession, } sv.QueueId = ptr.String(jtv) } - case "sessionActions": if err := awsRestjson1_deserializeDocumentAssignedSessionActions(&sv.SessionActions, value); err != nil { return err } - default: _, _ = key, value @@ -17598,7 +17300,6 @@ func awsRestjson1_deserializeDocumentAssignedSessionAction(v **types.AssignedSes if err := awsRestjson1_deserializeDocumentAssignedSessionActionDefinition(&sv.Definition, value); err != nil { return err } - case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -17607,7 +17308,6 @@ func awsRestjson1_deserializeDocumentAssignedSessionAction(v **types.AssignedSes } sv.SessionActionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17786,7 +17486,6 @@ func awsRestjson1_deserializeDocumentAssignedSyncInputJobAttachmentsSessionActio } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -17822,7 +17521,6 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -17831,7 +17529,6 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** } sv.StepId = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -17840,7 +17537,6 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -17880,12 +17576,10 @@ func awsRestjson1_deserializeDocumentAttachments(v **types.Attachments, value in } sv.FileSystem = types.JobAttachmentsFileSystem(jtv) } - case "manifests": if err := awsRestjson1_deserializeDocumentManifestPropertiesList(&sv.Manifests, value); err != nil { return err } - default: _, _ = key, value @@ -17961,7 +17655,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } - case "expiration": if value != nil { jtv, ok := value.(string) @@ -17974,7 +17667,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.Expiration = ptr.Time(t) } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -17983,7 +17675,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -17992,7 +17683,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18195,7 +17885,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } } - case "budgetId": if value != nil { jtv, ok := value.(string) @@ -18204,7 +17893,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.BudgetId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18217,7 +17905,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -18226,7 +17913,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18235,7 +17921,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -18244,7 +17929,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.DisplayName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18253,7 +17937,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.Status = types.BudgetStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -18266,7 +17949,6 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -18275,17 +17957,14 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.UpdatedBy = ptr.String(jtv) } - case "usages": if err := awsRestjson1_deserializeDocumentConsumedUsages(&sv.Usages, value); err != nil { return err } - case "usageTrackingResource": if err := awsRestjson1_deserializeDocumentUsageTrackingResource(&sv.UsageTrackingResource, value); err != nil { return err } - default: _, _ = key, value @@ -18349,20 +18028,13 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18370,7 +18042,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -18379,7 +18050,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -18388,7 +18058,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -18397,15 +18066,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18465,7 +18130,6 @@ func awsRestjson1_deserializeDocumentConsumedUsages(v **types.ConsumedUsages, va } } - default: _, _ = key, value @@ -18505,7 +18169,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedFleetConfiguration(v **types } sv.Mode = types.AutoScalingMode(jtv) } - case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -18514,12 +18177,10 @@ func awsRestjson1_deserializeDocumentCustomerManagedFleetConfiguration(v **types } sv.StorageProfileId = ptr.String(jtv) } - case "workerCapabilities": if err := awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(&sv.WorkerCapabilities, value); err != nil { return err } - default: _, _ = key, value @@ -18555,17 +18216,14 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types if err := awsRestjson1_deserializeDocumentAcceleratorCountRange(&sv.AcceleratorCount, value); err != nil { return err } - case "acceleratorTotalMemoryMiB": if err := awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(&sv.AcceleratorTotalMemoryMiB, value); err != nil { return err } - case "acceleratorTypes": if err := awsRestjson1_deserializeDocumentAcceleratorTypes(&sv.AcceleratorTypes, value); err != nil { return err } - case "cpuArchitectureType": if value != nil { jtv, ok := value.(string) @@ -18574,22 +18232,18 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types } sv.CpuArchitectureType = types.CpuArchitectureType(jtv) } - case "customAmounts": if err := awsRestjson1_deserializeDocumentCustomFleetAmountCapabilities(&sv.CustomAmounts, value); err != nil { return err } - case "customAttributes": if err := awsRestjson1_deserializeDocumentCustomFleetAttributeCapabilities(&sv.CustomAttributes, value); err != nil { return err } - case "memoryMiB": if err := awsRestjson1_deserializeDocumentMemoryMiBRange(&sv.MemoryMiB, value); err != nil { return err } - case "osFamily": if value != nil { jtv, ok := value.(string) @@ -18598,12 +18252,10 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types } sv.OsFamily = types.CustomerManagedFleetOperatingSystemFamily(jtv) } - case "vCpuCount": if err := awsRestjson1_deserializeDocumentVCpuCountRange(&sv.VCpuCount, value); err != nil { return err } - default: _, _ = key, value @@ -18751,7 +18403,6 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.ConsumersResolved = ptr.Int32(int32(i64)) } - case "consumersUnresolved": if value != nil { jtv, ok := value.(json.Number) @@ -18764,7 +18415,6 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.ConsumersUnresolved = ptr.Int32(int32(i64)) } - case "dependenciesResolved": if value != nil { jtv, ok := value.(json.Number) @@ -18777,7 +18427,6 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.DependenciesResolved = ptr.Int32(int32(i64)) } - case "dependenciesUnresolved": if value != nil { jtv, ok := value.(json.Number) @@ -18790,7 +18439,6 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.DependenciesUnresolved = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18842,7 +18490,6 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.Iops = ptr.Int32(int32(i64)) } - case "sizeGiB": if value != nil { jtv, ok := value.(json.Number) @@ -18855,7 +18502,6 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.SizeGiB = ptr.Int32(int32(i64)) } - case "throughputMiB": if value != nil { jtv, ok := value.(json.Number) @@ -18868,7 +18514,6 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.ThroughputMiB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18908,7 +18553,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.EnvironmentId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -18917,7 +18561,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.JobId = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -18926,12 +18569,10 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.SchemaVersion = ptr.String(jtv) } - case "template": if err := awsRestjson1_deserializeDocumentDocument(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -18971,7 +18612,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.Code = types.JobEntityErrorCode(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -18980,7 +18620,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.EnvironmentId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -18989,7 +18628,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.JobId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -18998,7 +18636,6 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -19038,7 +18675,6 @@ func awsRestjson1_deserializeDocumentEnvironmentEnterSessionActionDefinition(v * } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19078,7 +18714,6 @@ func awsRestjson1_deserializeDocumentEnvironmentEnterSessionActionDefinitionSumm } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19118,7 +18753,6 @@ func awsRestjson1_deserializeDocumentEnvironmentExitSessionActionDefinition(v ** } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19158,7 +18792,6 @@ func awsRestjson1_deserializeDocumentEnvironmentExitSessionActionDefinitionSumma } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19234,7 +18867,6 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.FarmId = ptr.String(jtv) } - case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -19243,7 +18875,6 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.IdentityStoreId = ptr.String(jtv) } - case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -19252,7 +18883,6 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.MembershipLevel = types.MembershipLevel(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -19261,7 +18891,6 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.PrincipalId = ptr.String(jtv) } - case "principalType": if value != nil { jtv, ok := value.(string) @@ -19270,7 +18899,6 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } - default: _, _ = key, value @@ -19382,7 +19010,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -19391,7 +19018,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.CreatedBy = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -19400,7 +19026,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -19409,7 +19034,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.FarmId = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -19418,7 +19042,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.KmsKeyArn = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -19431,7 +19054,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -19440,7 +19062,6 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -19480,7 +19101,6 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -19489,7 +19109,6 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Path = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -19498,7 +19117,6 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Type = types.FileSystemLocationType(jtv) } - default: _, _ = key, value @@ -19576,7 +19194,6 @@ func awsRestjson1_deserializeDocumentFixedBudgetSchedule(v **types.FixedBudgetSc } sv.EndTime = ptr.Time(t) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -19589,7 +19206,6 @@ func awsRestjson1_deserializeDocumentFixedBudgetSchedule(v **types.FixedBudgetSc } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -19688,7 +19304,6 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } } - case "min": if value != nil { switch jtv := value.(type) { @@ -19722,7 +19337,6 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } } - case "name": if value != nil { jtv, ok := value.(string) @@ -19731,7 +19345,6 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19805,12 +19418,10 @@ func awsRestjson1_deserializeDocumentFleetAttributeCapability(v **types.FleetAtt } sv.Name = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentAttributeCapabilityValuesList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -19846,12 +19457,10 @@ func awsRestjson1_deserializeDocumentFleetCapabilities(v **types.FleetCapabiliti if err := awsRestjson1_deserializeDocumentFleetAmountCapabilities(&sv.Amounts, value); err != nil { return err } - case "attributes": if err := awsRestjson1_deserializeDocumentFleetAttributeCapabilities(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -19941,7 +19550,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.FarmId = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -19950,7 +19558,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.FleetId = ptr.String(jtv) } - case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -19959,7 +19566,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.IdentityStoreId = ptr.String(jtv) } - case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -19968,7 +19574,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.MembershipLevel = types.MembershipLevel(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -19977,7 +19582,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.PrincipalId = ptr.String(jtv) } - case "principalType": if value != nil { jtv, ok := value.(string) @@ -19986,7 +19590,6 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } - default: _, _ = key, value @@ -20094,12 +19697,10 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.AutoScalingStatus = types.AutoScalingStatus(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentFleetConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20112,7 +19713,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -20121,7 +19721,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.CreatedBy = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -20130,7 +19729,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -20139,7 +19737,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.FarmId = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -20148,7 +19745,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.FleetId = ptr.String(jtv) } - case "maxWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -20161,7 +19757,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.MaxWorkerCount = ptr.Int32(int32(i64)) } - case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -20174,7 +19769,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.MinWorkerCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20183,7 +19777,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Status = types.FleetStatus(jtv) } - case "targetWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -20196,7 +19789,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.TargetWorkerCount = ptr.Int32(int32(i64)) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -20209,7 +19801,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -20218,7 +19809,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.UpdatedBy = ptr.String(jtv) } - case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -20231,7 +19821,6 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.WorkerCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20341,7 +19930,6 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.Ec2InstanceArn = ptr.String(jtv) } - case "ec2InstanceType": if value != nil { jtv, ok := value.(string) @@ -20350,7 +19938,6 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.Ec2InstanceType = ptr.String(jtv) } - case "hostName": if value != nil { jtv, ok := value.(string) @@ -20359,12 +19946,10 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.HostName = ptr.String(jtv) } - case "ipAddresses": if err := awsRestjson1_deserializeDocumentIpAddresses(&sv.IpAddresses, value); err != nil { return err } - default: _, _ = key, value @@ -20430,15 +20015,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20446,7 +20025,6 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20459,15 +20037,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20498,12 +20072,10 @@ func awsRestjson1_deserializeDocumentIpAddresses(v **types.IpAddresses, value in if err := awsRestjson1_deserializeDocumentIpV4Addresses(&sv.IpV4Addresses, value); err != nil { return err } - case "ipV6Addresses": if err := awsRestjson1_deserializeDocumentIpV6Addresses(&sv.IpV6Addresses, value); err != nil { return err } - default: _, _ = key, value @@ -20611,7 +20183,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsEntity(v **types.JobAtt if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -20620,7 +20191,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsEntity(v **types.JobAtt } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -20660,7 +20230,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.Code = types.JobEntityErrorCode(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -20669,7 +20238,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.JobId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -20678,7 +20246,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20718,7 +20285,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentSettings(v **types.JobAttachme } sv.RootPrefix = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -20727,7 +20293,6 @@ func awsRestjson1_deserializeDocumentJobAttachmentSettings(v **types.JobAttachme } sv.S3BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -20763,7 +20328,6 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity if err := awsRestjson1_deserializeDocumentJobAttachmentSettings(&sv.JobAttachmentSettings, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -20772,12 +20336,10 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.JobId = ptr.String(jtv) } - case "jobRunAsUser": if err := awsRestjson1_deserializeDocumentJobRunAsUser(&sv.JobRunAsUser, value); err != nil { return err } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -20786,17 +20348,14 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.LogGroupName = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.Parameters, value); err != nil { return err } - case "pathMappingRules": if err := awsRestjson1_deserializeDocumentPathMappingRules(&sv.PathMappingRules, value); err != nil { return err } - case "queueRoleArn": if value != nil { jtv, ok := value.(string) @@ -20805,7 +20364,6 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.QueueRoleArn = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -20814,7 +20372,6 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.SchemaVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -20854,7 +20411,6 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.Code = types.JobEntityErrorCode(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -20863,7 +20419,6 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.JobId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -20872,7 +20427,6 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20982,7 +20536,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.FarmId = ptr.String(jtv) } - case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -20991,7 +20544,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.IdentityStoreId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -21000,7 +20552,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.JobId = ptr.String(jtv) } - case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -21009,7 +20560,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.MembershipLevel = types.MembershipLevel(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -21018,7 +20568,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.PrincipalId = ptr.String(jtv) } - case "principalType": if value != nil { jtv, ok := value.(string) @@ -21027,7 +20576,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -21036,7 +20584,6 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.QueueId = ptr.String(jtv) } - default: _, _ = key, value @@ -21258,7 +20805,6 @@ func awsRestjson1_deserializeDocumentJobRunAsUser(v **types.JobRunAsUser, value if err := awsRestjson1_deserializeDocumentPosixUser(&sv.Posix, value); err != nil { return err } - case "runAs": if value != nil { jtv, ok := value.(string) @@ -21267,12 +20813,10 @@ func awsRestjson1_deserializeDocumentJobRunAsUser(v **types.JobRunAsUser, value } sv.RunAs = types.RunAs(jtv) } - case "windows": if err := awsRestjson1_deserializeDocumentWindowsUser(&sv.Windows, value); err != nil { return err } - default: _, _ = key, value @@ -21350,7 +20894,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -21359,7 +20902,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.CreatedBy = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -21372,7 +20914,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.EndedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -21381,12 +20922,10 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.JobId = ptr.String(jtv) } - case "jobParameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.JobParameters, value); err != nil { return err } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -21395,7 +20934,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21404,7 +20942,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -21417,7 +20954,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } - case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -21430,7 +20966,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21439,7 +20974,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -21452,7 +20986,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.Priority = ptr.Int32(int32(i64)) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -21461,7 +20994,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.QueueId = ptr.String(jtv) } - case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -21470,7 +21002,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.SourceJobId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -21483,7 +21014,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.StartedAt = ptr.Time(t) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21492,7 +21022,6 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21501,12 +21030,10 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - default: _, _ = key, value @@ -21584,7 +21111,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -21593,7 +21119,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedBy = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -21606,7 +21131,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.EndedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -21615,7 +21139,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -21624,7 +21147,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21633,7 +21155,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -21646,7 +21167,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } - case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -21659,7 +21179,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21668,7 +21187,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -21681,7 +21199,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Priority = ptr.Int32(int32(i64)) } - case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -21690,7 +21207,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceJobId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -21703,7 +21219,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Time(t) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21712,7 +21227,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21721,12 +21235,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -21739,7 +21251,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -21748,7 +21259,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -21822,7 +21332,6 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.LicenseEndpointId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21831,7 +21340,6 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.Status = types.LicenseEndpointStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -21840,7 +21348,6 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.StatusMessage = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -21849,7 +21356,6 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -21959,7 +21465,6 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.Error = ptr.String(jtv) } - case "logDriver": if value != nil { jtv, ok := value.(string) @@ -21968,17 +21473,14 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentLogOptions(&sv.Options, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentLogParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -22090,7 +21592,6 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.FileSystemLocationName = ptr.String(jtv) } - case "inputManifestHash": if value != nil { jtv, ok := value.(string) @@ -22099,7 +21600,6 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.InputManifestHash = ptr.String(jtv) } - case "inputManifestPath": if value != nil { jtv, ok := value.(string) @@ -22108,12 +21608,10 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.InputManifestPath = ptr.String(jtv) } - case "outputRelativeDirectories": if err := awsRestjson1_deserializeDocumentOutputRelativeDirectoriesList(&sv.OutputRelativeDirectories, value); err != nil { return err } - case "rootPath": if value != nil { jtv, ok := value.(string) @@ -22122,7 +21620,6 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.RootPath = ptr.String(jtv) } - case "rootPathFormat": if value != nil { jtv, ok := value.(string) @@ -22131,7 +21628,6 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.RootPathFormat = types.PathFormat(jtv) } - default: _, _ = key, value @@ -22209,7 +21705,6 @@ func awsRestjson1_deserializeDocumentMemoryMiBRange(v **types.MemoryMiBRange, va } sv.Max = ptr.Int32(int32(i64)) } - case "min": if value != nil { jtv, ok := value.(json.Number) @@ -22222,7 +21717,6 @@ func awsRestjson1_deserializeDocumentMemoryMiBRange(v **types.MemoryMiBRange, va } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22262,7 +21756,6 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Family = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -22275,7 +21768,6 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Port = ptr.Int32(int32(i64)) } - case "productId": if value != nil { jtv, ok := value.(string) @@ -22284,7 +21776,6 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.ProductId = ptr.String(jtv) } - case "vendor": if value != nil { jtv, ok := value.(string) @@ -22293,7 +21784,6 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Vendor = ptr.String(jtv) } - default: _, _ = key, value @@ -22405,7 +21895,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22414,7 +21903,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.CreatedBy = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -22423,7 +21911,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.DisplayName = ptr.String(jtv) } - case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -22432,7 +21919,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "identityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -22441,7 +21927,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.IdentityCenterInstanceArn = ptr.String(jtv) } - case "monitorId": if value != nil { jtv, ok := value.(string) @@ -22450,7 +21935,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -22459,7 +21943,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.RoleArn = ptr.String(jtv) } - case "subdomain": if value != nil { jtv, ok := value.(string) @@ -22468,7 +21951,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Subdomain = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22481,7 +21963,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22490,7 +21971,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.UpdatedBy = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -22499,7 +21979,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -22575,12 +22054,10 @@ func awsRestjson1_deserializeDocumentParameterSpace(v **types.ParameterSpace, va } sv.Combination = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentStepParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -22620,7 +22097,6 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.DestinationPath = ptr.String(jtv) } - case "sourcePath": if value != nil { jtv, ok := value.(string) @@ -22629,7 +22105,6 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.SourcePath = ptr.String(jtv) } - case "sourcePathFormat": if value != nil { jtv, ok := value.(string) @@ -22638,7 +22113,6 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.SourcePathFormat = types.PathFormat(jtv) } - default: _, _ = key, value @@ -22712,7 +22186,6 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Group = ptr.String(jtv) } - case "user": if value != nil { jtv, ok := value.(string) @@ -22721,7 +22194,6 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -22795,7 +22267,6 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -22808,7 +22279,6 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.Priority = ptr.Int32(int32(i64)) } - case "queueEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -22817,7 +22287,6 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.QueueEnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -22895,7 +22364,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22904,7 +22372,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.CreatedBy = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -22913,7 +22380,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.FleetId = ptr.String(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -22922,7 +22388,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.QueueId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -22931,7 +22396,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.Status = types.QueueFleetAssociationStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22944,7 +22408,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22953,7 +22416,6 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -22993,7 +22455,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.FarmId = ptr.String(jtv) } - case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -23002,7 +22463,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.IdentityStoreId = ptr.String(jtv) } - case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -23011,7 +22471,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.MembershipLevel = types.MembershipLevel(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -23020,7 +22479,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.PrincipalId = ptr.String(jtv) } - case "principalType": if value != nil { jtv, ok := value.(string) @@ -23029,7 +22487,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -23038,7 +22495,6 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.QueueId = ptr.String(jtv) } - default: _, _ = key, value @@ -23146,7 +22602,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.BlockedReason = types.QueueBlockedReason(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -23159,7 +22614,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -23168,7 +22622,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedBy = ptr.String(jtv) } - case "defaultBudgetAction": if value != nil { jtv, ok := value.(string) @@ -23177,7 +22630,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.DefaultBudgetAction = types.DefaultQueueBudgetAction(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -23186,7 +22638,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.DisplayName = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -23195,7 +22646,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.FarmId = ptr.String(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -23204,7 +22654,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.QueueId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23213,7 +22662,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Status = types.QueueStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -23226,7 +22674,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -23235,7 +22682,6 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -23301,20 +22747,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23322,7 +22761,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -23331,7 +22769,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23340,15 +22777,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23383,7 +22816,6 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } sv.Description = ptr.String(jtv) } - case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -23417,7 +22849,6 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } } - case "type": if value != nil { jtv, ok := value.(string) @@ -23426,7 +22857,6 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } sv.Type = types.BudgetActionType(jtv) } - default: _, _ = key, value @@ -23532,12 +22962,10 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2FleetConfiguration(v **typ if err := awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(&sv.InstanceCapabilities, value); err != nil { return err } - case "instanceMarketOptions": if err := awsRestjson1_deserializeDocumentServiceManagedEc2InstanceMarketOptions(&sv.InstanceMarketOptions, value); err != nil { return err } - default: _, _ = key, value @@ -23573,7 +23001,6 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t if err := awsRestjson1_deserializeDocumentInstanceTypes(&sv.AllowedInstanceTypes, value); err != nil { return err } - case "cpuArchitectureType": if value != nil { jtv, ok := value.(string) @@ -23582,27 +23009,22 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t } sv.CpuArchitectureType = types.CpuArchitectureType(jtv) } - case "customAmounts": if err := awsRestjson1_deserializeDocumentCustomFleetAmountCapabilities(&sv.CustomAmounts, value); err != nil { return err } - case "customAttributes": if err := awsRestjson1_deserializeDocumentCustomFleetAttributeCapabilities(&sv.CustomAttributes, value); err != nil { return err } - case "excludedInstanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypes(&sv.ExcludedInstanceTypes, value); err != nil { return err } - case "memoryMiB": if err := awsRestjson1_deserializeDocumentMemoryMiBRange(&sv.MemoryMiB, value); err != nil { return err } - case "osFamily": if value != nil { jtv, ok := value.(string) @@ -23611,17 +23033,14 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t } sv.OsFamily = types.ServiceManagedFleetOperatingSystemFamily(jtv) } - case "rootEbsVolume": if err := awsRestjson1_deserializeDocumentEc2EbsVolume(&sv.RootEbsVolume, value); err != nil { return err } - case "vCpuCount": if err := awsRestjson1_deserializeDocumentVCpuCountRange(&sv.VCpuCount, value); err != nil { return err } - default: _, _ = key, value @@ -23661,7 +23080,6 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceMarketOptions(v ** } sv.Type = types.Ec2MarketType(jtv) } - default: _, _ = key, value @@ -23691,20 +23109,13 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23712,7 +23123,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -23721,7 +23131,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -23730,7 +23139,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -23739,7 +23147,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23748,7 +23155,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -23757,15 +23163,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24006,7 +23408,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio if err := awsRestjson1_deserializeDocumentSessionActionDefinitionSummary(&sv.Definition, value); err != nil { return err } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -24019,7 +23420,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.EndedAt = ptr.Time(t) } - case "progressPercent": if value != nil { switch jtv := value.(type) { @@ -24053,7 +23453,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } } - case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -24062,7 +23461,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.SessionActionId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24075,7 +23473,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.StartedAt = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -24084,7 +23481,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.Status = types.SessionActionStatus(jtv) } - case "workerUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -24097,7 +23493,6 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.WorkerUpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -24175,7 +23570,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.EndedAt = ptr.Time(t) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -24184,7 +23578,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.FleetId = ptr.String(jtv) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -24193,7 +23586,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -24202,7 +23594,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24215,7 +23606,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.StartedAt = ptr.Time(t) } - case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -24224,7 +23614,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -24237,7 +23626,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -24246,7 +23634,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.UpdatedBy = ptr.String(jtv) } - case "workerId": if value != nil { jtv, ok := value.(string) @@ -24255,7 +23642,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -24299,7 +23685,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AggregationEndTime = ptr.Time(t) } - case "aggregationStartTime": if value != nil { jtv, ok := value.(string) @@ -24312,12 +23697,10 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AggregationStartTime = ptr.Time(t) } - case "costInUsd": if err := awsRestjson1_deserializeDocumentStats(&sv.CostInUsd, value); err != nil { return err } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -24330,7 +23713,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = ptr.Int32(int32(i64)) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -24339,7 +23721,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.FleetId = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -24348,7 +23729,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.InstanceType = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -24357,7 +23737,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -24366,7 +23745,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.JobName = ptr.String(jtv) } - case "licenseProduct": if value != nil { jtv, ok := value.(string) @@ -24375,7 +23753,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.LicenseProduct = ptr.String(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -24384,12 +23761,10 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.QueueId = ptr.String(jtv) } - case "runtimeInSeconds": if err := awsRestjson1_deserializeDocumentStats(&sv.RuntimeInSeconds, value); err != nil { return err } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -24398,7 +23773,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.UsageType = types.UsageType(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -24407,7 +23781,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -24506,7 +23879,6 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } - case "max": if value != nil { switch jtv := value.(type) { @@ -24540,7 +23912,6 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } - case "min": if value != nil { switch jtv := value.(type) { @@ -24574,7 +23945,6 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } - case "sum": if value != nil { switch jtv := value.(type) { @@ -24608,7 +23978,6 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } - default: _, _ = key, value @@ -24707,7 +24076,6 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } - case "min": if value != nil { switch jtv := value.(type) { @@ -24741,7 +24109,6 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -24750,7 +24117,6 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } sv.Name = ptr.String(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -24784,7 +24150,6 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } - default: _, _ = key, value @@ -24854,12 +24219,10 @@ func awsRestjson1_deserializeDocumentStepAttributeCapability(v **types.StepAttri if err := awsRestjson1_deserializeDocumentListAttributeCapabilityValue(&sv.AllOf, value); err != nil { return err } - case "anyOf": if err := awsRestjson1_deserializeDocumentListAttributeCapabilityValue(&sv.AnyOf, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -24868,7 +24231,6 @@ func awsRestjson1_deserializeDocumentStepAttributeCapability(v **types.StepAttri } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -24908,7 +24270,6 @@ func awsRestjson1_deserializeDocumentStepConsumer(v **types.StepConsumer, value } sv.Status = types.DependencyConsumerResolutionStatus(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -24917,7 +24278,6 @@ func awsRestjson1_deserializeDocumentStepConsumer(v **types.StepConsumer, value } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -25025,7 +24385,6 @@ func awsRestjson1_deserializeDocumentStepDependency(v **types.StepDependency, va } sv.Status = types.DependencyConsumerResolutionStatus(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -25034,7 +24393,6 @@ func awsRestjson1_deserializeDocumentStepDependency(v **types.StepDependency, va } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -25070,7 +24428,6 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti if err := awsRestjson1_deserializeDocumentDependenciesList(&sv.Dependencies, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -25079,7 +24436,6 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.JobId = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -25088,7 +24444,6 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.SchemaVersion = ptr.String(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -25097,12 +24452,10 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.StepId = ptr.String(jtv) } - case "template": if err := awsRestjson1_deserializeDocumentDocument(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -25142,7 +24495,6 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.Code = types.JobEntityErrorCode(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -25151,7 +24503,6 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.JobId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -25160,7 +24511,6 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.Message = ptr.String(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -25169,7 +24519,6 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -25209,7 +24558,6 @@ func awsRestjson1_deserializeDocumentStepParameter(v **types.StepParameter, valu } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -25218,7 +24566,6 @@ func awsRestjson1_deserializeDocumentStepParameter(v **types.StepParameter, valu } sv.Type = types.StepParameterType(jtv) } - default: _, _ = key, value @@ -25288,12 +24635,10 @@ func awsRestjson1_deserializeDocumentStepRequiredCapabilities(v **types.StepRequ if err := awsRestjson1_deserializeDocumentStepAmountCapabilities(&sv.Amounts, value); err != nil { return err } - case "attributes": if err := awsRestjson1_deserializeDocumentStepAttributeCapabilities(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -25371,7 +24716,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.CreatedAt = ptr.Time(t) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -25384,7 +24728,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.EndedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -25393,7 +24736,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.JobId = ptr.String(jtv) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -25402,7 +24744,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -25411,7 +24752,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25420,12 +24760,10 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.Name = ptr.String(jtv) } - case "parameterSpace": if err := awsRestjson1_deserializeDocumentParameterSpace(&sv.ParameterSpace, value); err != nil { return err } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -25434,7 +24772,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.QueueId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -25447,7 +24784,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.StartedAt = ptr.Time(t) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -25456,7 +24792,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.StepId = ptr.String(jtv) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -25465,7 +24800,6 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -25474,12 +24808,10 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - default: _, _ = key, value @@ -25557,7 +24889,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -25566,12 +24897,10 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.CreatedBy = ptr.String(jtv) } - case "dependencyCounts": if err := awsRestjson1_deserializeDocumentDependencyCounts(&sv.DependencyCounts, value); err != nil { return err } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -25584,7 +24913,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.EndedAt = ptr.Time(t) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -25593,7 +24921,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } - case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -25602,7 +24929,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.LifecycleStatusMessage = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25611,7 +24937,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Name = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -25624,7 +24949,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.StartedAt = ptr.Time(t) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -25633,7 +24957,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.StepId = ptr.String(jtv) } - case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -25642,7 +24965,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } - case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -25651,12 +24973,10 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.TaskRunStatus = types.TaskRunStatus(jtv) } - case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -25669,7 +24989,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -25678,7 +24997,6 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -25752,7 +25070,6 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.DisplayName = ptr.String(jtv) } - case "osFamily": if value != nil { jtv, ok := value.(string) @@ -25761,7 +25078,6 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } - case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -25770,7 +25086,6 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.StorageProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -25846,7 +25161,6 @@ func awsRestjson1_deserializeDocumentSyncInputJobAttachmentsSessionActionDefinit } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -25886,7 +25200,6 @@ func awsRestjson1_deserializeDocumentSyncInputJobAttachmentsSessionActionDefinit } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -26070,7 +25383,6 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -26079,7 +25391,6 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta } sv.StepId = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -26088,7 +25399,6 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -26128,7 +25438,6 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinitionSummary(v **t } sv.StepId = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -26137,7 +25446,6 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinitionSummary(v **t } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -26255,7 +25563,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.EndedAt = ptr.Time(t) } - case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -26268,7 +25575,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.FailureRetryCount = ptr.Int32(int32(i64)) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -26277,12 +25583,10 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.JobId = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -26291,7 +25595,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.QueueId = ptr.String(jtv) } - case "runStatus": if value != nil { jtv, ok := value.(string) @@ -26300,7 +25603,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.RunStatus = types.TaskRunStatus(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -26313,7 +25615,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.StartedAt = ptr.Time(t) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -26322,7 +25623,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.StepId = ptr.String(jtv) } - case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -26331,7 +25631,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -26340,7 +25639,6 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -26418,7 +25716,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26427,7 +25724,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.CreatedBy = ptr.String(jtv) } - case "endedAt": if value != nil { jtv, ok := value.(string) @@ -26440,7 +25736,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.EndedAt = ptr.Time(t) } - case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -26453,7 +25748,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.FailureRetryCount = ptr.Int32(int32(i64)) } - case "latestSessionActionId": if value != nil { jtv, ok := value.(string) @@ -26462,12 +25756,10 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.LatestSessionActionId = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } - case "runStatus": if value != nil { jtv, ok := value.(string) @@ -26476,7 +25768,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.RunStatus = types.TaskRunStatus(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -26489,7 +25780,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.StartedAt = ptr.Time(t) } - case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -26498,7 +25788,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -26507,7 +25796,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -26520,7 +25808,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -26529,7 +25816,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -26559,20 +25845,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26580,7 +25859,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -26589,7 +25867,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -26602,7 +25879,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -26611,15 +25887,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26686,25 +25958,17 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "context": if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } - case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26712,7 +25976,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -26721,15 +25984,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26764,7 +26023,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26773,7 +26031,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -26851,7 +26108,6 @@ func awsRestjson1_deserializeDocumentVCpuCountRange(v **types.VCpuCountRange, va } sv.Max = ptr.Int32(int32(i64)) } - case "min": if value != nil { jtv, ok := value.(json.Number) @@ -26864,7 +26120,6 @@ func awsRestjson1_deserializeDocumentVCpuCountRange(v **types.VCpuCountRange, va } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26904,7 +26159,6 @@ func awsRestjson1_deserializeDocumentWindowsUser(v **types.WindowsUser, value in } sv.PasswordArn = ptr.String(jtv) } - case "user": if value != nil { jtv, ok := value.(string) @@ -26913,7 +26167,6 @@ func awsRestjson1_deserializeDocumentWindowsUser(v **types.WindowsUser, value in } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -26991,7 +26244,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27000,7 +26252,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.CreatedBy = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -27009,12 +26260,10 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.FleetId = ptr.String(jtv) } - case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -27023,7 +26272,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.Status = types.WorkerStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -27036,7 +26284,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -27045,7 +26292,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.UpdatedBy = ptr.String(jtv) } - case "workerId": if value != nil { jtv, ok := value.(string) @@ -27054,7 +26300,6 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -27098,7 +26343,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.EndedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -27107,7 +26351,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.JobId = ptr.String(jtv) } - case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -27116,7 +26359,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } - case "queueId": if value != nil { jtv, ok := value.(string) @@ -27125,7 +26367,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.QueueId = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -27134,7 +26375,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.SessionId = ptr.String(jtv) } - case "startedAt": if value != nil { jtv, ok := value.(string) @@ -27147,7 +26387,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.StartedAt = ptr.Time(t) } - case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -27156,7 +26395,6 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } - default: _, _ = key, value @@ -27234,7 +26472,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27243,7 +26480,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.CreatedBy = ptr.String(jtv) } - case "farmId": if value != nil { jtv, ok := value.(string) @@ -27252,7 +26488,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.FarmId = ptr.String(jtv) } - case "fleetId": if value != nil { jtv, ok := value.(string) @@ -27261,17 +26496,14 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.FleetId = ptr.String(jtv) } - case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } - case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -27280,7 +26512,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.Status = types.WorkerStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -27293,7 +26524,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -27302,7 +26532,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.UpdatedBy = ptr.String(jtv) } - case "workerId": if value != nil { jtv, ok := value.(string) @@ -27311,7 +26540,6 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/detective/deserializers.go b/service/detective/deserializers.go index 8b42d543673..4548dd914a5 100644 --- a/service/detective/deserializers.go +++ b/service/detective/deserializers.go @@ -288,12 +288,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetGraphMemberDatasourcesOutput(v ** if err := awsRestjson1_deserializeDocumentMembershipDatasourcesList(&sv.MemberDatasources, value); err != nil { return err } - case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -454,12 +452,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetMembershipDatasourcesOutput(v **B if err := awsRestjson1_deserializeDocumentMembershipDatasourcesList(&sv.MembershipDatasources, value); err != nil { return err } - case "UnprocessedGraphs": if err := awsRestjson1_deserializeDocumentUnprocessedGraphList(&sv.UnprocessedGraphs, value); err != nil { return err } - default: _, _ = key, value @@ -624,7 +620,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.GraphArn = ptr.String(jtv) } - default: _, _ = key, value @@ -788,12 +783,10 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.Members, value); err != nil { return err } - case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1060,12 +1053,10 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentAccountIdList(&sv.AccountIds, value); err != nil { return err } - case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1230,7 +1221,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = jtv } - default: _, _ = key, value @@ -1714,7 +1704,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.CreatedTime = ptr.Time(t) } - case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -1723,7 +1712,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.EntityArn = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -1732,7 +1720,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.EntityType = types.EntityType(jtv) } - case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -1741,7 +1728,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.GraphArn = ptr.String(jtv) } - case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -1750,7 +1736,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.InvestigationId = ptr.String(jtv) } - case "ScopeEndTime": if value != nil { jtv, ok := value.(string) @@ -1763,7 +1748,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.ScopeEndTime = ptr.Time(t) } - case "ScopeStartTime": if value != nil { jtv, ok := value.(string) @@ -1776,7 +1760,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.ScopeStartTime = ptr.Time(t) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -1785,7 +1768,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.Severity = types.Severity(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1794,7 +1776,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.State = types.State(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1803,7 +1784,6 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -1964,12 +1944,10 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.MemberDetails, value); err != nil { return err } - case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -2130,7 +2108,6 @@ func awsRestjson1_deserializeOpDocumentListDatasourcePackagesOutput(v **ListData if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestDetails(&sv.DatasourcePackages, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2139,7 +2116,6 @@ func awsRestjson1_deserializeOpDocumentListDatasourcePackagesOutput(v **ListData } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2297,7 +2273,6 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va if err := awsRestjson1_deserializeDocumentGraphList(&sv.GraphList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2306,7 +2281,6 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2474,12 +2448,10 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.GraphArn = ptr.String(jtv) } - case "Indicators": if err := awsRestjson1_deserializeDocumentIndicators(&sv.Indicators, value); err != nil { return err } - case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -2488,7 +2460,6 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.InvestigationId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2497,7 +2468,6 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2661,7 +2631,6 @@ func awsRestjson1_deserializeOpDocumentListInvestigationsOutput(v **ListInvestig if err := awsRestjson1_deserializeDocumentInvestigationDetails(&sv.InvestigationDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2670,7 +2639,6 @@ func awsRestjson1_deserializeOpDocumentListInvestigationsOutput(v **ListInvestig } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2828,7 +2796,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.Invitations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2837,7 +2804,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2998,7 +2964,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.MemberDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3007,7 +2972,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3168,7 +3132,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdministratorList(&sv.Administrators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3177,7 +3140,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3338,7 +3300,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3612,7 +3573,6 @@ func awsRestjson1_deserializeOpDocumentStartInvestigationOutput(v **StartInvesti } sv.InvestigationId = ptr.String(jtv) } - default: _, _ = key, value @@ -4512,13 +4472,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -4528,7 +4482,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = types.ErrorCode(jtv) } - case "ErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -4537,8 +4490,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCodeReason = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4546,7 +4498,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "SubErrorCode": if value != nil { jtv, ok := value.(string) @@ -4555,7 +4506,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.SubErrorCode = types.ErrorCode(jtv) } - case "SubErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -4564,15 +4514,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.SubErrorCodeReason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4643,7 +4589,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.AccountId = ptr.String(jtv) } - case "DelegationTime": if value != nil { jtv, ok := value.(string) @@ -4656,7 +4601,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.DelegationTime = ptr.Time(t) } - case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -4665,7 +4609,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.GraphArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4729,15 +4672,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4745,15 +4682,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4788,12 +4721,10 @@ func awsRestjson1_deserializeDocumentDatasourcePackageIngestDetail(v **types.Dat } sv.DatasourcePackageIngestState = types.DatasourcePackageIngestState(jtv) } - case "LastIngestStateChange": if err := awsRestjson1_deserializeDocumentLastIngestStateChangeDates(&sv.LastIngestStateChange, value); err != nil { return err } - default: _, _ = key, value @@ -4942,7 +4873,6 @@ func awsRestjson1_deserializeDocumentDatasourcePackageUsageInfo(v **types.Dataso } sv.VolumeUsageInBytes = ptr.Int64(i64) } - case "VolumeUsageUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4955,7 +4885,6 @@ func awsRestjson1_deserializeDocumentDatasourcePackageUsageInfo(v **types.Dataso } sv.VolumeUsageUpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4995,7 +4924,6 @@ func awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(v **types.FlaggedIpA } sv.IpAddress = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -5004,7 +4932,6 @@ func awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(v **types.FlaggedIpA } sv.Reason = types.Reason(jtv) } - default: _, _ = key, value @@ -5044,7 +4971,6 @@ func awsRestjson1_deserializeDocumentGraph(v **types.Graph, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -5057,7 +4983,6 @@ func awsRestjson1_deserializeDocumentGraph(v **types.Graph, value interface{}) e } sv.CreatedTime = ptr.Time(t) } - default: _, _ = key, value @@ -5131,7 +5056,6 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.EndingIpAddress = ptr.String(jtv) } - case "EndingLocation": if value != nil { jtv, ok := value.(string) @@ -5140,7 +5064,6 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.EndingLocation = ptr.String(jtv) } - case "HourlyTimeDelta": if value != nil { jtv, ok := value.(json.Number) @@ -5153,7 +5076,6 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.HourlyTimeDelta = ptr.Int32(int32(i64)) } - case "StartingIpAddress": if value != nil { jtv, ok := value.(string) @@ -5162,7 +5084,6 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.StartingIpAddress = ptr.String(jtv) } - case "StartingLocation": if value != nil { jtv, ok := value.(string) @@ -5171,7 +5092,6 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.StartingLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -5207,7 +5127,6 @@ func awsRestjson1_deserializeDocumentIndicator(v **types.Indicator, value interf if err := awsRestjson1_deserializeDocumentIndicatorDetail(&sv.IndicatorDetail, value); err != nil { return err } - case "IndicatorType": if value != nil { jtv, ok := value.(string) @@ -5216,7 +5135,6 @@ func awsRestjson1_deserializeDocumentIndicator(v **types.Indicator, value interf } sv.IndicatorType = types.IndicatorType(jtv) } - default: _, _ = key, value @@ -5252,42 +5170,34 @@ func awsRestjson1_deserializeDocumentIndicatorDetail(v **types.IndicatorDetail, if err := awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(&sv.FlaggedIpAddressDetail, value); err != nil { return err } - case "ImpossibleTravelDetail": if err := awsRestjson1_deserializeDocumentImpossibleTravelDetail(&sv.ImpossibleTravelDetail, value); err != nil { return err } - case "NewAsoDetail": if err := awsRestjson1_deserializeDocumentNewAsoDetail(&sv.NewAsoDetail, value); err != nil { return err } - case "NewGeolocationDetail": if err := awsRestjson1_deserializeDocumentNewGeolocationDetail(&sv.NewGeolocationDetail, value); err != nil { return err } - case "NewUserAgentDetail": if err := awsRestjson1_deserializeDocumentNewUserAgentDetail(&sv.NewUserAgentDetail, value); err != nil { return err } - case "RelatedFindingDetail": if err := awsRestjson1_deserializeDocumentRelatedFindingDetail(&sv.RelatedFindingDetail, value); err != nil { return err } - case "RelatedFindingGroupDetail": if err := awsRestjson1_deserializeDocumentRelatedFindingGroupDetail(&sv.RelatedFindingGroupDetail, value); err != nil { return err } - case "TTPsObservedDetail": if err := awsRestjson1_deserializeDocumentTTPsObservedDetail(&sv.TTPsObservedDetail, value); err != nil { return err } - default: _, _ = key, value @@ -5351,15 +5261,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5367,15 +5271,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5414,7 +5314,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.CreatedTime = ptr.Time(t) } - case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -5423,7 +5322,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.EntityArn = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -5432,7 +5330,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.EntityType = types.EntityType(jtv) } - case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -5441,7 +5338,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.InvestigationId = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -5450,7 +5346,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.Severity = types.Severity(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -5459,7 +5354,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.State = types.State(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5468,7 +5362,6 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -5577,7 +5470,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.AccountId = ptr.String(jtv) } - case "AdministratorId": if value != nil { jtv, ok := value.(string) @@ -5586,12 +5478,10 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.AdministratorId = ptr.String(jtv) } - case "DatasourcePackageIngestStates": if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestStates(&sv.DatasourcePackageIngestStates, value); err != nil { return err } - case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -5600,7 +5490,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.DisabledReason = types.MemberDisabledReason(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5609,7 +5498,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.EmailAddress = ptr.String(jtv) } - case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -5618,7 +5506,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.GraphArn = ptr.String(jtv) } - case "InvitationType": if value != nil { jtv, ok := value.(string) @@ -5627,7 +5514,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.InvitationType = types.InvitationType(jtv) } - case "InvitedTime": if value != nil { jtv, ok := value.(string) @@ -5640,7 +5526,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.InvitedTime = ptr.Time(t) } - case "MasterId": if value != nil { jtv, ok := value.(string) @@ -5649,7 +5534,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.MasterId = ptr.String(jtv) } - case "PercentOfGraphUtilization": if value != nil { switch jtv := value.(type) { @@ -5683,7 +5567,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } } - case "PercentOfGraphUtilizationUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5696,7 +5579,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.PercentOfGraphUtilizationUpdatedTime = ptr.Time(t) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5705,7 +5587,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.Status = types.MemberStatus(jtv) } - case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5718,12 +5599,10 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.UpdatedTime = ptr.Time(t) } - case "VolumeUsageByDatasourcePackage": if err := awsRestjson1_deserializeDocumentVolumeUsageByDatasourcePackage(&sv.VolumeUsageByDatasourcePackage, value); err != nil { return err } - case "VolumeUsageInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5736,7 +5615,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.VolumeUsageInBytes = ptr.Int64(i64) } - case "VolumeUsageUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5749,7 +5627,6 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.VolumeUsageUpdatedTime = ptr.Time(t) } - default: _, _ = key, value @@ -5823,12 +5700,10 @@ func awsRestjson1_deserializeDocumentMembershipDatasources(v **types.MembershipD } sv.AccountId = ptr.String(jtv) } - case "DatasourcePackageIngestHistory": if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestHistory(&sv.DatasourcePackageIngestHistory, value); err != nil { return err } - case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -5837,7 +5712,6 @@ func awsRestjson1_deserializeDocumentMembershipDatasources(v **types.MembershipD } sv.GraphArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5911,7 +5785,6 @@ func awsRestjson1_deserializeDocumentNewAsoDetail(v **types.NewAsoDetail, value } sv.Aso = ptr.String(jtv) } - case "IsNewForEntireAccount": if value != nil { jtv, ok := value.(bool) @@ -5920,7 +5793,6 @@ func awsRestjson1_deserializeDocumentNewAsoDetail(v **types.NewAsoDetail, value } sv.IsNewForEntireAccount = jtv } - default: _, _ = key, value @@ -5960,7 +5832,6 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.IpAddress = ptr.String(jtv) } - case "IsNewForEntireAccount": if value != nil { jtv, ok := value.(bool) @@ -5969,7 +5840,6 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.IsNewForEntireAccount = jtv } - case "Location": if value != nil { jtv, ok := value.(string) @@ -5978,7 +5848,6 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -6018,7 +5887,6 @@ func awsRestjson1_deserializeDocumentNewUserAgentDetail(v **types.NewUserAgentDe } sv.IsNewForEntireAccount = jtv } - case "UserAgent": if value != nil { jtv, ok := value.(string) @@ -6027,7 +5895,6 @@ func awsRestjson1_deserializeDocumentNewUserAgentDetail(v **types.NewUserAgentDe } sv.UserAgent = ptr.String(jtv) } - default: _, _ = key, value @@ -6067,7 +5934,6 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.Arn = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -6076,7 +5942,6 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.IpAddress = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6085,7 +5950,6 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6125,7 +5989,6 @@ func awsRestjson1_deserializeDocumentRelatedFindingGroupDetail(v **types.Related } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -6191,15 +6054,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6207,15 +6064,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6240,15 +6093,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6256,20 +6103,15 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6344,7 +6186,6 @@ func awsRestjson1_deserializeDocumentTimestampForCollection(v **types.TimestampF } sv.Timestamp = ptr.Time(t) } - default: _, _ = key, value @@ -6374,15 +6215,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6390,15 +6225,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6437,7 +6268,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APIFailureCount = i64 } - case "APIName": if value != nil { jtv, ok := value.(string) @@ -6446,7 +6276,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APIName = ptr.String(jtv) } - case "APISuccessCount": if value != nil { jtv, ok := value.(json.Number) @@ -6459,7 +6288,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APISuccessCount = i64 } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -6468,7 +6296,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.IpAddress = ptr.String(jtv) } - case "Procedure": if value != nil { jtv, ok := value.(string) @@ -6477,7 +6304,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Procedure = ptr.String(jtv) } - case "Tactic": if value != nil { jtv, ok := value.(string) @@ -6486,7 +6312,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Tactic = ptr.String(jtv) } - case "Technique": if value != nil { jtv, ok := value.(string) @@ -6495,7 +6320,6 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Technique = ptr.String(jtv) } - default: _, _ = key, value @@ -6535,7 +6359,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -6544,7 +6367,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -6618,7 +6440,6 @@ func awsRestjson1_deserializeDocumentUnprocessedGraph(v **types.UnprocessedGraph } sv.GraphArn = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -6627,7 +6448,6 @@ func awsRestjson1_deserializeDocumentUnprocessedGraph(v **types.UnprocessedGraph } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -6691,13 +6511,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6707,7 +6521,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = types.ErrorCode(jtv) } - case "ErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -6716,8 +6529,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCodeReason = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6725,15 +6537,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/devicefarm/deserializers.go b/service/devicefarm/deserializers.go index 993e4c3d81b..ea23ca28e9f 100644 --- a/service/devicefarm/deserializers.go +++ b/service/devicefarm/deserializers.go @@ -9702,7 +9702,6 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.AwsAccountNumber = ptr.String(jtv) } - case "defaultJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9715,7 +9714,6 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DefaultJobTimeoutMinutes = ptr.Int32(int32(i64)) } - case "maxJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9728,12 +9726,10 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.MaxJobTimeoutMinutes = ptr.Int32(int32(i64)) } - case "maxSlots": if err := awsAwsjson11_deserializeDocumentMaxSlotMap(&sv.MaxSlots, value); err != nil { return err } - case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -9742,22 +9738,18 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.SkipAppResign = ptr.Bool(jtv) } - case "trialMinutes": if err := awsAwsjson11_deserializeDocumentTrialMinutes(&sv.TrialMinutes, value); err != nil { return err } - case "unmeteredDevices": if err := awsAwsjson11_deserializeDocumentPurchasedDevicesMap(&sv.UnmeteredDevices, value); err != nil { return err } - case "unmeteredRemoteAccessDevices": if err := awsAwsjson11_deserializeDocumentPurchasedDevicesMap(&sv.UnmeteredRemoteAccessDevices, value); err != nil { return err } - default: _, _ = key, value @@ -9823,15 +9815,9 @@ func awsAwsjson11_deserializeDocumentArgumentException(v **types.ArgumentExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9839,15 +9825,11 @@ func awsAwsjson11_deserializeDocumentArgumentException(v **types.ArgumentExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9882,7 +9864,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Arn = ptr.String(jtv) } - case "extension": if value != nil { jtv, ok := value.(string) @@ -9891,7 +9872,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Extension = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9900,7 +9880,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9909,7 +9888,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Type = types.ArtifactType(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -9918,7 +9896,6 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -9982,15 +9959,9 @@ func awsAwsjson11_deserializeDocumentCannotDeleteException(v **types.CannotDelet sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9998,15 +9969,11 @@ func awsAwsjson11_deserializeDocumentCannotDeleteException(v **types.CannotDelet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10045,7 +10012,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Errored = ptr.Int32(int32(i64)) } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -10058,7 +10024,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Failed = ptr.Int32(int32(i64)) } - case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -10071,7 +10036,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Passed = ptr.Int32(int32(i64)) } - case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -10084,7 +10048,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Skipped = ptr.Int32(int32(i64)) } - case "stopped": if value != nil { jtv, ok := value.(json.Number) @@ -10097,7 +10060,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Stopped = ptr.Int32(int32(i64)) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -10110,7 +10072,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Total = ptr.Int32(int32(i64)) } - case "warned": if value != nil { jtv, ok := value.(json.Number) @@ -10123,7 +10084,6 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Warned = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10163,7 +10123,6 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Architecture = ptr.String(jtv) } - case "clock": if value != nil { switch jtv := value.(type) { @@ -10197,7 +10156,6 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } } - case "frequency": if value != nil { jtv, ok := value.(string) @@ -10206,7 +10164,6 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Frequency = ptr.String(jtv) } - default: _, _ = key, value @@ -10242,17 +10199,14 @@ func awsAwsjson11_deserializeDocumentCustomerArtifactPaths(v **types.CustomerArt if err := awsAwsjson11_deserializeDocumentAndroidPaths(&sv.AndroidPaths, value); err != nil { return err } - case "deviceHostPaths": if err := awsAwsjson11_deserializeDocumentDeviceHostPaths(&sv.DeviceHostPaths, value); err != nil { return err } - case "iosPaths": if err := awsAwsjson11_deserializeDocumentIosPaths(&sv.IosPaths, value); err != nil { return err } - default: _, _ = key, value @@ -10292,7 +10246,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Arn = ptr.String(jtv) } - case "availability": if value != nil { jtv, ok := value.(string) @@ -10301,7 +10254,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Availability = types.DeviceAvailability(jtv) } - case "carrier": if value != nil { jtv, ok := value.(string) @@ -10310,12 +10262,10 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Carrier = ptr.String(jtv) } - case "cpu": if err := awsAwsjson11_deserializeDocumentCPU(&sv.Cpu, value); err != nil { return err } - case "fleetName": if value != nil { jtv, ok := value.(string) @@ -10324,7 +10274,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FleetName = ptr.String(jtv) } - case "fleetType": if value != nil { jtv, ok := value.(string) @@ -10333,7 +10282,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FleetType = ptr.String(jtv) } - case "formFactor": if value != nil { jtv, ok := value.(string) @@ -10342,7 +10290,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FormFactor = types.DeviceFormFactor(jtv) } - case "heapSize": if value != nil { jtv, ok := value.(json.Number) @@ -10355,7 +10302,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HeapSize = ptr.Int64(i64) } - case "image": if value != nil { jtv, ok := value.(string) @@ -10364,12 +10310,10 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Image = ptr.String(jtv) } - case "instances": if err := awsAwsjson11_deserializeDocumentDeviceInstances(&sv.Instances, value); err != nil { return err } - case "manufacturer": if value != nil { jtv, ok := value.(string) @@ -10378,7 +10322,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Manufacturer = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -10391,7 +10334,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Memory = ptr.Int64(i64) } - case "model": if value != nil { jtv, ok := value.(string) @@ -10400,7 +10342,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -10409,7 +10350,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ModelId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10418,7 +10358,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } - case "os": if value != nil { jtv, ok := value.(string) @@ -10427,7 +10366,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Os = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -10436,7 +10374,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Platform = types.DevicePlatform(jtv) } - case "radio": if value != nil { jtv, ok := value.(string) @@ -10445,7 +10382,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Radio = ptr.String(jtv) } - case "remoteAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -10454,7 +10390,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.RemoteAccessEnabled = ptr.Bool(jtv) } - case "remoteDebugEnabled": if value != nil { jtv, ok := value.(bool) @@ -10463,12 +10398,10 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.RemoteDebugEnabled = ptr.Bool(jtv) } - case "resolution": if err := awsAwsjson11_deserializeDocumentResolution(&sv.Resolution, value); err != nil { return err } - default: _, _ = key, value @@ -10508,7 +10441,6 @@ func awsAwsjson11_deserializeDocumentDeviceFilter(v **types.DeviceFilter, value } sv.Attribute = types.DeviceFilterAttribute(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -10517,12 +10449,10 @@ func awsAwsjson11_deserializeDocumentDeviceFilter(v **types.DeviceFilter, value } sv.Operator = types.RuleOperator(jtv) } - case "values": if err := awsAwsjson11_deserializeDocumentDeviceFilterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -10668,7 +10598,6 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Arn = ptr.String(jtv) } - case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -10677,17 +10606,14 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.DeviceArn = ptr.String(jtv) } - case "instanceProfile": if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - case "labels": if err := awsAwsjson11_deserializeDocumentInstanceLabels(&sv.Labels, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -10696,7 +10622,6 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Status = types.InstanceStatus(jtv) } - case "udid": if value != nil { jtv, ok := value.(string) @@ -10705,7 +10630,6 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Udid = ptr.String(jtv) } - default: _, _ = key, value @@ -10804,7 +10728,6 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } - case "total": if value != nil { switch jtv := value.(type) { @@ -10838,7 +10761,6 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } - case "unmetered": if value != nil { switch jtv := value.(type) { @@ -10872,7 +10794,6 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } - default: _, _ = key, value @@ -10912,7 +10833,6 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10841,6 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Description = ptr.String(jtv) } - case "maxDevices": if value != nil { jtv, ok := value.(json.Number) @@ -10934,7 +10853,6 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.MaxDevices = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10943,12 +10861,10 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Name = ptr.String(jtv) } - case "rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10957,7 +10873,6 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Type = types.DevicePoolType(jtv) } - default: _, _ = key, value @@ -10997,17 +10912,14 @@ func awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResult(v **types.Dev } sv.Compatible = ptr.Bool(jtv) } - case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - case "incompatibilityMessages": if err := awsAwsjson11_deserializeDocumentIncompatibilityMessages(&sv.IncompatibilityMessages, value); err != nil { return err } - default: _, _ = key, value @@ -11145,7 +11057,6 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec if err := awsAwsjson11_deserializeDocumentDeviceFilters(&sv.Filters, value); err != nil { return err } - case "matchedDevicesCount": if value != nil { jtv, ok := value.(json.Number) @@ -11158,7 +11069,6 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec } sv.MatchedDevicesCount = ptr.Int32(int32(i64)) } - case "maxDevices": if value != nil { jtv, ok := value.(json.Number) @@ -11171,7 +11081,6 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec } sv.MaxDevices = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11201,15 +11110,9 @@ func awsAwsjson11_deserializeDocumentIdempotencyException(v **types.IdempotencyE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11217,15 +11120,11 @@ func awsAwsjson11_deserializeDocumentIdempotencyException(v **types.IdempotencyE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11260,7 +11159,6 @@ func awsAwsjson11_deserializeDocumentIncompatibilityMessage(v **types.Incompatib } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11269,7 +11167,6 @@ func awsAwsjson11_deserializeDocumentIncompatibilityMessage(v **types.Incompatib } sv.Type = types.DeviceAttribute(jtv) } - default: _, _ = key, value @@ -11379,7 +11276,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11388,12 +11284,10 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Description = ptr.String(jtv) } - case "excludeAppPackagesFromCleanup": if err := awsAwsjson11_deserializeDocumentPackageIds(&sv.ExcludeAppPackagesFromCleanup, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11402,7 +11296,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Name = ptr.String(jtv) } - case "packageCleanup": if value != nil { jtv, ok := value.(bool) @@ -11411,7 +11304,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.PackageCleanup = ptr.Bool(jtv) } - case "rebootAfterUse": if value != nil { jtv, ok := value.(bool) @@ -11420,7 +11312,6 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.RebootAfterUse = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11484,15 +11375,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11500,15 +11385,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11533,15 +11414,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11549,15 +11424,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11628,12 +11499,10 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -11649,17 +11518,14 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -11668,7 +11534,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InstanceArn = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11677,7 +11542,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11686,7 +11550,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -11695,7 +11558,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Result = types.ExecutionResult(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -11711,7 +11573,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11720,7 +11581,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.ExecutionStatus(jtv) } - case "stopped": if value != nil { switch jtv := value.(type) { @@ -11736,7 +11596,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "type": if value != nil { jtv, ok := value.(string) @@ -11745,7 +11604,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.TestType(jtv) } - case "videoCapture": if value != nil { jtv, ok := value.(bool) @@ -11754,7 +11612,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.VideoCapture = ptr.Bool(jtv) } - case "videoEndpoint": if value != nil { jtv, ok := value.(string) @@ -11763,7 +11620,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.VideoEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -11827,15 +11683,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11843,15 +11693,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11911,7 +11757,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } } - case "longitude": if value != nil { switch jtv := value.(type) { @@ -11945,7 +11790,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } } - default: _, _ = key, value @@ -12050,7 +11894,6 @@ func awsAwsjson11_deserializeDocumentMonetaryAmount(v **types.MonetaryAmount, va } } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -12059,7 +11902,6 @@ func awsAwsjson11_deserializeDocumentMonetaryAmount(v **types.MonetaryAmount, va } sv.CurrencyCode = types.CurrencyCode(jtv) } - default: _, _ = key, value @@ -12099,7 +11941,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12108,7 +11949,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Description = ptr.String(jtv) } - case "downlinkBandwidthBits": if value != nil { jtv, ok := value.(json.Number) @@ -12121,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkBandwidthBits = ptr.Int64(i64) } - case "downlinkDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -12134,7 +11973,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkDelayMs = ptr.Int64(i64) } - case "downlinkJitterMs": if value != nil { jtv, ok := value.(json.Number) @@ -12147,7 +11985,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkJitterMs = ptr.Int64(i64) } - case "downlinkLossPercent": if value != nil { jtv, ok := value.(json.Number) @@ -12160,7 +11997,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkLossPercent = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12169,7 +12005,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12178,7 +12013,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Type = types.NetworkProfileType(jtv) } - case "uplinkBandwidthBits": if value != nil { jtv, ok := value.(json.Number) @@ -12191,7 +12025,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkBandwidthBits = ptr.Int64(i64) } - case "uplinkDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -12204,7 +12037,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkDelayMs = ptr.Int64(i64) } - case "uplinkJitterMs": if value != nil { jtv, ok := value.(json.Number) @@ -12217,7 +12049,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkJitterMs = ptr.Int64(i64) } - case "uplinkLossPercent": if value != nil { jtv, ok := value.(json.Number) @@ -12230,7 +12061,6 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkLossPercent = int32(i64) } - default: _, _ = key, value @@ -12294,15 +12124,9 @@ func awsAwsjson11_deserializeDocumentNotEligibleException(v **types.NotEligibleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12310,15 +12134,11 @@ func awsAwsjson11_deserializeDocumentNotEligibleException(v **types.NotEligibleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12343,15 +12163,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12359,15 +12173,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12402,7 +12212,6 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12411,7 +12220,6 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Id = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -12420,12 +12228,10 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Platform = types.DevicePlatform(jtv) } - case "recurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringCharges(&sv.RecurringCharges, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12434,7 +12240,6 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Type = types.OfferingType(jtv) } - default: _, _ = key, value @@ -12474,7 +12279,6 @@ func awsAwsjson11_deserializeDocumentOfferingPromotion(v **types.OfferingPromoti } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12483,7 +12287,6 @@ func awsAwsjson11_deserializeDocumentOfferingPromotion(v **types.OfferingPromoti } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12598,12 +12401,10 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } } - case "offering": if err := awsAwsjson11_deserializeDocumentOffering(&sv.Offering, value); err != nil { return err } - case "quantity": if value != nil { jtv, ok := value.(json.Number) @@ -12616,7 +12417,6 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } sv.Quantity = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12625,7 +12425,6 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } sv.Type = types.OfferingTransactionType(jtv) } - default: _, _ = key, value @@ -12696,7 +12495,6 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans if err := awsAwsjson11_deserializeDocumentMonetaryAmount(&sv.Cost, value); err != nil { return err } - case "createdOn": if value != nil { switch jtv := value.(type) { @@ -12712,7 +12510,6 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } } - case "offeringPromotionId": if value != nil { jtv, ok := value.(string) @@ -12721,12 +12518,10 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } sv.OfferingPromotionId = ptr.String(jtv) } - case "offeringStatus": if err := awsAwsjson11_deserializeDocumentOfferingStatus(&sv.OfferingStatus, value); err != nil { return err } - case "transactionId": if value != nil { jtv, ok := value.(string) @@ -12735,7 +12530,6 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -12841,12 +12635,10 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - case "job": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Job, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -12855,7 +12647,6 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Message = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -12864,22 +12655,18 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Result = types.ExecutionResult(jtv) } - case "run": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Run, value); err != nil { return err } - case "suite": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Suite, value); err != nil { return err } - case "test": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Test, value); err != nil { return err } - default: _, _ = key, value @@ -12919,7 +12706,6 @@ func awsAwsjson11_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12928,7 +12714,6 @@ func awsAwsjson11_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13002,7 +12787,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -13018,7 +12802,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } - case "defaultJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13031,7 +12814,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.DefaultJobTimeoutMinutes = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13040,12 +12822,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13159,7 +12939,6 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Bluetooth = ptr.Bool(jtv) } - case "gps": if value != nil { jtv, ok := value.(bool) @@ -13168,7 +12947,6 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Gps = ptr.Bool(jtv) } - case "nfc": if value != nil { jtv, ok := value.(bool) @@ -13177,7 +12955,6 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Nfc = ptr.Bool(jtv) } - case "wifi": if value != nil { jtv, ok := value.(bool) @@ -13186,7 +12963,6 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Wifi = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13222,7 +12998,6 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, if err := awsAwsjson11_deserializeDocumentMonetaryAmount(&sv.Cost, value); err != nil { return err } - case "frequency": if value != nil { jtv, ok := value.(string) @@ -13231,7 +13006,6 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.Frequency = types.RecurringChargeFrequency(jtv) } - default: _, _ = key, value @@ -13305,7 +13079,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Arn = ptr.String(jtv) } - case "billingMethod": if value != nil { jtv, ok := value.(string) @@ -13314,7 +13087,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.BillingMethod = types.BillingMethod(jtv) } - case "clientId": if value != nil { jtv, ok := value.(string) @@ -13323,7 +13095,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.ClientId = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -13339,17 +13110,14 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } - case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } - case "deviceUdid": if value != nil { jtv, ok := value.(string) @@ -13358,7 +13126,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.DeviceUdid = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -13367,7 +13134,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Endpoint = ptr.String(jtv) } - case "hostAddress": if value != nil { jtv, ok := value.(string) @@ -13376,7 +13142,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.HostAddress = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -13385,7 +13150,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.InstanceArn = ptr.String(jtv) } - case "interactionMode": if value != nil { jtv, ok := value.(string) @@ -13394,7 +13158,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.InteractionMode = types.InteractionMode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13403,7 +13166,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13412,7 +13174,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Name = ptr.String(jtv) } - case "remoteDebugEnabled": if value != nil { jtv, ok := value.(bool) @@ -13421,7 +13182,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteDebugEnabled = ptr.Bool(jtv) } - case "remoteRecordAppArn": if value != nil { jtv, ok := value.(string) @@ -13430,7 +13190,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteRecordAppArn = ptr.String(jtv) } - case "remoteRecordEnabled": if value != nil { jtv, ok := value.(bool) @@ -13439,7 +13198,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteRecordEnabled = ptr.Bool(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -13448,7 +13206,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Result = types.ExecutionResult(jtv) } - case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -13457,7 +13214,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.SkipAppResign = ptr.Bool(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -13473,7 +13229,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } - case "status": if value != nil { jtv, ok := value.(string) @@ -13482,7 +13237,6 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Status = types.ExecutionStatus(jtv) } - case "stopped": if value != nil { switch jtv := value.(type) { @@ -13498,12 +13252,10 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13581,7 +13333,6 @@ func awsAwsjson11_deserializeDocumentResolution(v **types.Resolution, value inte } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -13594,7 +13345,6 @@ func awsAwsjson11_deserializeDocumentResolution(v **types.Resolution, value inte } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13634,7 +13384,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Attribute = types.DeviceAttribute(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -13643,7 +13392,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Operator = types.RuleOperator(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -13652,7 +13400,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13726,7 +13473,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.AppUpload = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13735,7 +13481,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "billingMethod": if value != nil { jtv, ok := value.(string) @@ -13744,7 +13489,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.BillingMethod = types.BillingMethod(jtv) } - case "completedJobs": if value != nil { jtv, ok := value.(json.Number) @@ -13757,12 +13501,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.CompletedJobs = ptr.Int32(int32(i64)) } - case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -13778,17 +13520,14 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } - case "customerArtifactPaths": if err := awsAwsjson11_deserializeDocumentCustomerArtifactPaths(&sv.CustomerArtifactPaths, value); err != nil { return err } - case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } - case "devicePoolArn": if value != nil { jtv, ok := value.(string) @@ -13797,12 +13536,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.DevicePoolArn = ptr.String(jtv) } - case "deviceSelectionResult": if err := awsAwsjson11_deserializeDocumentDeviceSelectionResult(&sv.DeviceSelectionResult, value); err != nil { return err } - case "eventCount": if value != nil { jtv, ok := value.(json.Number) @@ -13815,7 +13552,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.EventCount = ptr.Int32(int32(i64)) } - case "jobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13828,7 +13564,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.JobTimeoutMinutes = ptr.Int32(int32(i64)) } - case "locale": if value != nil { jtv, ok := value.(string) @@ -13837,12 +13572,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Locale = ptr.String(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -13851,7 +13584,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13860,12 +13592,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Name = ptr.String(jtv) } - case "networkProfile": if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } - case "parsingResultUrl": if value != nil { jtv, ok := value.(string) @@ -13874,7 +13604,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.ParsingResultUrl = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -13883,12 +13612,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Platform = types.DevicePlatform(jtv) } - case "radios": if err := awsAwsjson11_deserializeDocumentRadios(&sv.Radios, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -13897,7 +13624,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Result = types.ExecutionResult(jtv) } - case "resultCode": if value != nil { jtv, ok := value.(string) @@ -13906,7 +13632,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.ResultCode = types.ExecutionResultCode(jtv) } - case "seed": if value != nil { jtv, ok := value.(json.Number) @@ -13919,7 +13644,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Seed = ptr.Int32(int32(i64)) } - case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -13928,7 +13652,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.SkipAppResign = ptr.Bool(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -13944,7 +13667,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } - case "status": if value != nil { jtv, ok := value.(string) @@ -13953,7 +13675,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Status = types.ExecutionStatus(jtv) } - case "stopped": if value != nil { switch jtv := value.(type) { @@ -13969,7 +13690,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } - case "testSpecArn": if value != nil { jtv, ok := value.(string) @@ -13978,7 +13698,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.TestSpecArn = ptr.String(jtv) } - case "totalJobs": if value != nil { jtv, ok := value.(json.Number) @@ -13991,7 +13710,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.TotalJobs = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14000,12 +13718,10 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Type = types.TestType(jtv) } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - case "webUrl": if value != nil { jtv, ok := value.(string) @@ -14014,7 +13730,6 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.WebUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14088,7 +13803,6 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Arn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14097,7 +13811,6 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Type = types.SampleType(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -14106,7 +13819,6 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -14206,15 +13918,9 @@ func awsAwsjson11_deserializeDocumentServiceAccountException(v **types.ServiceAc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14222,15 +13928,11 @@ func awsAwsjson11_deserializeDocumentServiceAccountException(v **types.ServiceAc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14301,12 +14003,10 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -14322,12 +14022,10 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } - case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -14336,7 +14034,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14345,7 +14042,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Name = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -14354,7 +14050,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Result = types.ExecutionResult(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -14370,7 +14065,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } - case "status": if value != nil { jtv, ok := value.(string) @@ -14379,7 +14073,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Status = types.ExecutionStatus(jtv) } - case "stopped": if value != nil { switch jtv := value.(type) { @@ -14395,7 +14088,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } - case "type": if value != nil { jtv, ok := value.(string) @@ -14404,7 +14096,6 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Type = types.TestType(jtv) } - default: _, _ = key, value @@ -14478,7 +14169,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14487,7 +14177,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14551,15 +14240,9 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14567,7 +14250,6 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14576,15 +14258,11 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14609,15 +14287,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14625,7 +14297,6 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14634,15 +14305,11 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14677,12 +14344,10 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -14698,12 +14363,10 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } - case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -14712,7 +14375,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14721,7 +14383,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Name = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -14730,7 +14391,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Result = types.ExecutionResult(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -14746,7 +14406,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } - case "status": if value != nil { jtv, ok := value.(string) @@ -14755,7 +14414,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Status = types.ExecutionStatus(jtv) } - case "stopped": if value != nil { switch jtv := value.(type) { @@ -14771,7 +14429,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } - case "type": if value != nil { jtv, ok := value.(string) @@ -14780,7 +14437,6 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Type = types.TestType(jtv) } - default: _, _ = key, value @@ -14820,7 +14476,6 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Arn = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -14836,7 +14491,6 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -14845,7 +14499,6 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14854,12 +14507,10 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Name = ptr.String(jtv) } - case "vpcConfig": if err := awsAwsjson11_deserializeDocumentTestGridVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14933,7 +14584,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.Arn = ptr.String(jtv) } - case "billingMinutes": if value != nil { switch jtv := value.(type) { @@ -14967,7 +14617,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } - case "created": if value != nil { switch jtv := value.(type) { @@ -14983,7 +14632,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } - case "ended": if value != nil { switch jtv := value.(type) { @@ -14999,7 +14647,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } - case "seleniumProperties": if value != nil { jtv, ok := value.(string) @@ -15008,7 +14655,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.SeleniumProperties = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15017,7 +14663,6 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.Status = types.TestGridSessionStatus(jtv) } - default: _, _ = key, value @@ -15057,7 +14702,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.Action = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -15070,7 +14714,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.Duration = ptr.Int64(i64) } - case "requestMethod": if value != nil { jtv, ok := value.(string) @@ -15079,7 +14722,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.RequestMethod = ptr.String(jtv) } - case "started": if value != nil { switch jtv := value.(type) { @@ -15095,7 +14737,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -15104,7 +14745,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.StatusCode = ptr.String(jtv) } - default: _, _ = key, value @@ -15178,7 +14818,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Filename = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15187,7 +14826,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Type = types.TestGridSessionArtifactType(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -15196,7 +14834,6 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -15300,12 +14937,10 @@ func awsAwsjson11_deserializeDocumentTestGridVpcConfig(v **types.TestGridVpcConf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15314,7 +14949,6 @@ func awsAwsjson11_deserializeDocumentTestGridVpcConfig(v **types.TestGridVpcConf } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -15378,15 +15012,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15394,7 +15022,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -15403,15 +15030,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15471,7 +15094,6 @@ func awsAwsjson11_deserializeDocumentTrialMinutes(v **types.TrialMinutes, value } } - case "total": if value != nil { switch jtv := value.(type) { @@ -15505,7 +15127,6 @@ func awsAwsjson11_deserializeDocumentTrialMinutes(v **types.TrialMinutes, value } } - default: _, _ = key, value @@ -15545,12 +15166,10 @@ func awsAwsjson11_deserializeDocumentUniqueProblem(v **types.UniqueProblem, valu } sv.Message = ptr.String(jtv) } - case "problems": if err := awsAwsjson11_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } - default: _, _ = key, value @@ -15658,7 +15277,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Arn = ptr.String(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -15667,7 +15285,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Category = types.UploadCategory(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -15676,7 +15293,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.ContentType = ptr.String(jtv) } - case "created": if value != nil { switch jtv := value.(type) { @@ -15692,7 +15308,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } } - case "message": if value != nil { jtv, ok := value.(string) @@ -15701,7 +15316,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Message = ptr.String(jtv) } - case "metadata": if value != nil { jtv, ok := value.(string) @@ -15710,7 +15324,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Metadata = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15719,7 +15332,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15728,7 +15340,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Status = types.UploadStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15737,7 +15348,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Type = types.UploadType(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -15746,7 +15356,6 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -15816,12 +15425,10 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsAwsjson11_deserializeDocumentVpcSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15830,7 +15437,6 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -15870,7 +15476,6 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.Arn = ptr.String(jtv) } - case "serviceDnsName": if value != nil { jtv, ok := value.(string) @@ -15879,7 +15484,6 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.ServiceDnsName = ptr.String(jtv) } - case "vpceConfigurationDescription": if value != nil { jtv, ok := value.(string) @@ -15888,7 +15492,6 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceConfigurationDescription = ptr.String(jtv) } - case "vpceConfigurationName": if value != nil { jtv, ok := value.(string) @@ -15897,7 +15500,6 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceConfigurationName = ptr.String(jtv) } - case "vpceServiceName": if value != nil { jtv, ok := value.(string) @@ -15906,7 +15508,6 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -16048,7 +15649,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevicePoolOutput(v **CreateDevicePo if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } - default: _, _ = key, value @@ -16084,7 +15684,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceProfileOutput(v **CreateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -16120,7 +15719,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNetworkProfileOutput(v **CreateNetw if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } - default: _, _ = key, value @@ -16156,7 +15754,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -16192,7 +15789,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRemoteAccessSessionOutput(v **Creat if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } - default: _, _ = key, value @@ -16228,7 +15824,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridProjectOutput(v **CreateTes if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } - default: _, _ = key, value @@ -16275,7 +15870,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridUrlOutput(v **CreateTestGri } } - case "url": if value != nil { jtv, ok := value.(string) @@ -16284,7 +15878,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridUrlOutput(v **CreateTestGri } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -16320,7 +15913,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUploadOutput(v **CreateUploadOutput if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } - default: _, _ = key, value @@ -16356,7 +15948,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVPCEConfigurationOutput(v **CreateV if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16671,7 +16262,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson11_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -16707,7 +16297,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceInstanceOutput(v **GetDeviceInst if err := awsAwsjson11_deserializeDocumentDeviceInstance(&sv.DeviceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -16743,7 +16332,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -16779,12 +16367,10 @@ func awsAwsjson11_deserializeOpDocumentGetDevicePoolCompatibilityOutput(v **GetD if err := awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResults(&sv.CompatibleDevices, value); err != nil { return err } - case "incompatibleDevices": if err := awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResults(&sv.IncompatibleDevices, value); err != nil { return err } - default: _, _ = key, value @@ -16820,7 +16406,6 @@ func awsAwsjson11_deserializeOpDocumentGetDevicePoolOutput(v **GetDevicePoolOutp if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } - default: _, _ = key, value @@ -16856,7 +16441,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceProfileOutput(v **GetInstanceP if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -16892,7 +16476,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -16928,7 +16511,6 @@ func awsAwsjson11_deserializeOpDocumentGetNetworkProfileOutput(v **GetNetworkPro if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } - default: _, _ = key, value @@ -16964,12 +16546,10 @@ func awsAwsjson11_deserializeOpDocumentGetOfferingStatusOutput(v **GetOfferingSt if err := awsAwsjson11_deserializeDocumentOfferingStatusMap(&sv.Current, value); err != nil { return err } - case "nextPeriod": if err := awsAwsjson11_deserializeDocumentOfferingStatusMap(&sv.NextPeriod, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16978,7 +16558,6 @@ func awsAwsjson11_deserializeOpDocumentGetOfferingStatusOutput(v **GetOfferingSt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17014,7 +16593,6 @@ func awsAwsjson11_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -17050,7 +16628,6 @@ func awsAwsjson11_deserializeOpDocumentGetRemoteAccessSessionOutput(v **GetRemot if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } - default: _, _ = key, value @@ -17086,7 +16663,6 @@ func awsAwsjson11_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } - default: _, _ = key, value @@ -17122,7 +16698,6 @@ func awsAwsjson11_deserializeOpDocumentGetSuiteOutput(v **GetSuiteOutput, value if err := awsAwsjson11_deserializeDocumentSuite(&sv.Suite, value); err != nil { return err } - default: _, _ = key, value @@ -17158,7 +16733,6 @@ func awsAwsjson11_deserializeOpDocumentGetTestGridProjectOutput(v **GetTestGridP if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } - default: _, _ = key, value @@ -17194,7 +16768,6 @@ func awsAwsjson11_deserializeOpDocumentGetTestGridSessionOutput(v **GetTestGridS if err := awsAwsjson11_deserializeDocumentTestGridSession(&sv.TestGridSession, value); err != nil { return err } - default: _, _ = key, value @@ -17230,7 +16803,6 @@ func awsAwsjson11_deserializeOpDocumentGetTestOutput(v **GetTestOutput, value in if err := awsAwsjson11_deserializeDocumentTest(&sv.Test, value); err != nil { return err } - default: _, _ = key, value @@ -17266,7 +16838,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadOutput(v **GetUploadOutput, valu if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } - default: _, _ = key, value @@ -17302,7 +16873,6 @@ func awsAwsjson11_deserializeOpDocumentGetVPCEConfigurationOutput(v **GetVPCECon if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17338,7 +16908,6 @@ func awsAwsjson11_deserializeOpDocumentInstallToRemoteAccessSessionOutput(v **In if err := awsAwsjson11_deserializeDocumentUpload(&sv.AppUpload, value); err != nil { return err } - default: _, _ = key, value @@ -17374,7 +16943,6 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsAwsjson11_deserializeDocumentArtifacts(&sv.Artifacts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17383,7 +16951,6 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17419,7 +16986,6 @@ func awsAwsjson11_deserializeOpDocumentListDeviceInstancesOutput(v **ListDeviceI if err := awsAwsjson11_deserializeDocumentDeviceInstances(&sv.DeviceInstances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17428,7 +16994,6 @@ func awsAwsjson11_deserializeOpDocumentListDeviceInstancesOutput(v **ListDeviceI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17464,7 +17029,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicePoolsOutput(v **ListDevicePools if err := awsAwsjson11_deserializeDocumentDevicePools(&sv.DevicePools, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17473,7 +17037,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicePoolsOutput(v **ListDevicePools } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17509,7 +17072,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDevices(&sv.Devices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17518,7 +17080,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17554,7 +17115,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceProfilesOutput(v **ListInstan if err := awsAwsjson11_deserializeDocumentInstanceProfiles(&sv.InstanceProfiles, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17563,7 +17123,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceProfilesOutput(v **ListInstan } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17599,7 +17158,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17608,7 +17166,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17644,7 +17201,6 @@ func awsAwsjson11_deserializeOpDocumentListNetworkProfilesOutput(v **ListNetwork if err := awsAwsjson11_deserializeDocumentNetworkProfiles(&sv.NetworkProfiles, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17653,7 +17209,6 @@ func awsAwsjson11_deserializeOpDocumentListNetworkProfilesOutput(v **ListNetwork } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17693,12 +17248,10 @@ func awsAwsjson11_deserializeOpDocumentListOfferingPromotionsOutput(v **ListOffe } sv.NextToken = ptr.String(jtv) } - case "offeringPromotions": if err := awsAwsjson11_deserializeDocumentOfferingPromotions(&sv.OfferingPromotions, value); err != nil { return err } - default: _, _ = key, value @@ -17738,12 +17291,10 @@ func awsAwsjson11_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } - case "offerings": if err := awsAwsjson11_deserializeDocumentOfferings(&sv.Offerings, value); err != nil { return err } - default: _, _ = key, value @@ -17783,12 +17334,10 @@ func awsAwsjson11_deserializeOpDocumentListOfferingTransactionsOutput(v **ListOf } sv.NextToken = ptr.String(jtv) } - case "offeringTransactions": if err := awsAwsjson11_deserializeDocumentOfferingTransactions(&sv.OfferingTransactions, value); err != nil { return err } - default: _, _ = key, value @@ -17828,12 +17377,10 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "projects": if err := awsAwsjson11_deserializeDocumentProjects(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -17873,12 +17420,10 @@ func awsAwsjson11_deserializeOpDocumentListRemoteAccessSessionsOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } - case "remoteAccessSessions": if err := awsAwsjson11_deserializeDocumentRemoteAccessSessions(&sv.RemoteAccessSessions, value); err != nil { return err } - default: _, _ = key, value @@ -17918,12 +17463,10 @@ func awsAwsjson11_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value } sv.NextToken = ptr.String(jtv) } - case "runs": if err := awsAwsjson11_deserializeDocumentRuns(&sv.Runs, value); err != nil { return err } - default: _, _ = key, value @@ -17963,12 +17506,10 @@ func awsAwsjson11_deserializeOpDocumentListSamplesOutput(v **ListSamplesOutput, } sv.NextToken = ptr.String(jtv) } - case "samples": if err := awsAwsjson11_deserializeDocumentSamples(&sv.Samples, value); err != nil { return err } - default: _, _ = key, value @@ -18008,12 +17549,10 @@ func awsAwsjson11_deserializeOpDocumentListSuitesOutput(v **ListSuitesOutput, va } sv.NextToken = ptr.String(jtv) } - case "suites": if err := awsAwsjson11_deserializeDocumentSuites(&sv.Suites, value); err != nil { return err } - default: _, _ = key, value @@ -18049,7 +17588,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18089,12 +17627,10 @@ func awsAwsjson11_deserializeOpDocumentListTestGridProjectsOutput(v **ListTestGr } sv.NextToken = ptr.String(jtv) } - case "testGridProjects": if err := awsAwsjson11_deserializeDocumentTestGridProjects(&sv.TestGridProjects, value); err != nil { return err } - default: _, _ = key, value @@ -18130,7 +17666,6 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionActionsOutput(v **List if err := awsAwsjson11_deserializeDocumentTestGridSessionActions(&sv.Actions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18139,7 +17674,6 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionActionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18175,7 +17709,6 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionArtifactsOutput(v **Li if err := awsAwsjson11_deserializeDocumentTestGridSessionArtifacts(&sv.Artifacts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18184,7 +17717,6 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionArtifactsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18224,12 +17756,10 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionsOutput(v **ListTestGr } sv.NextToken = ptr.String(jtv) } - case "testGridSessions": if err := awsAwsjson11_deserializeDocumentTestGridSessions(&sv.TestGridSessions, value); err != nil { return err } - default: _, _ = key, value @@ -18269,12 +17799,10 @@ func awsAwsjson11_deserializeOpDocumentListTestsOutput(v **ListTestsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "tests": if err := awsAwsjson11_deserializeDocumentTests(&sv.Tests, value); err != nil { return err } - default: _, _ = key, value @@ -18314,12 +17842,10 @@ func awsAwsjson11_deserializeOpDocumentListUniqueProblemsOutput(v **ListUniquePr } sv.NextToken = ptr.String(jtv) } - case "uniqueProblems": if err := awsAwsjson11_deserializeDocumentUniqueProblemsByExecutionResultMap(&sv.UniqueProblems, value); err != nil { return err } - default: _, _ = key, value @@ -18359,12 +17885,10 @@ func awsAwsjson11_deserializeOpDocumentListUploadsOutput(v **ListUploadsOutput, } sv.NextToken = ptr.String(jtv) } - case "uploads": if err := awsAwsjson11_deserializeDocumentUploads(&sv.Uploads, value); err != nil { return err } - default: _, _ = key, value @@ -18404,12 +17928,10 @@ func awsAwsjson11_deserializeOpDocumentListVPCEConfigurationsOutput(v **ListVPCE } sv.NextToken = ptr.String(jtv) } - case "vpceConfigurations": if err := awsAwsjson11_deserializeDocumentVPCEConfigurations(&sv.VpceConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -18445,7 +17967,6 @@ func awsAwsjson11_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsAwsjson11_deserializeDocumentOfferingTransaction(&sv.OfferingTransaction, value); err != nil { return err } - default: _, _ = key, value @@ -18481,7 +18002,6 @@ func awsAwsjson11_deserializeOpDocumentRenewOfferingOutput(v **RenewOfferingOutp if err := awsAwsjson11_deserializeDocumentOfferingTransaction(&sv.OfferingTransaction, value); err != nil { return err } - default: _, _ = key, value @@ -18517,7 +18037,6 @@ func awsAwsjson11_deserializeOpDocumentScheduleRunOutput(v **ScheduleRunOutput, if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } - default: _, _ = key, value @@ -18553,7 +18072,6 @@ func awsAwsjson11_deserializeOpDocumentStopJobOutput(v **StopJobOutput, value in if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -18589,7 +18107,6 @@ func awsAwsjson11_deserializeOpDocumentStopRemoteAccessSessionOutput(v **StopRem if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } - default: _, _ = key, value @@ -18625,7 +18142,6 @@ func awsAwsjson11_deserializeOpDocumentStopRunOutput(v **StopRunOutput, value in if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } - default: _, _ = key, value @@ -18723,7 +18239,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDeviceInstanceOutput(v **UpdateDevi if err := awsAwsjson11_deserializeDocumentDeviceInstance(&sv.DeviceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -18759,7 +18274,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDevicePoolOutput(v **UpdateDevicePo if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } - default: _, _ = key, value @@ -18795,7 +18309,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateInstanceProfileOutput(v **UpdateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } - default: _, _ = key, value @@ -18831,7 +18344,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateNetworkProfileOutput(v **UpdateNetw if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } - default: _, _ = key, value @@ -18867,7 +18379,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -18903,7 +18414,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTestGridProjectOutput(v **UpdateTes if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } - default: _, _ = key, value @@ -18939,7 +18449,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUploadOutput(v **UpdateUploadOutput if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } - default: _, _ = key, value @@ -18975,7 +18484,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVPCEConfigurationOutput(v **UpdateV if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/devopsguru/deserializers.go b/service/devopsguru/deserializers.go index d6a38da15ca..02166b33572 100644 --- a/service/devopsguru/deserializers.go +++ b/service/devopsguru/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentAddNotificationChannelOutput(v **AddNotif } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -467,7 +466,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.AnalyzedResourceCount = ptr.Int64(i64) } - case "MetricsAnalyzed": if value != nil { jtv, ok := value.(json.Number) @@ -480,7 +478,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.MetricsAnalyzed = int32(i64) } - case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -493,7 +490,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.OpenProactiveInsights = int32(i64) } - case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -506,7 +502,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.OpenReactiveInsights = int32(i64) } - case "ResourceHours": if value != nil { jtv, ok := value.(json.Number) @@ -519,7 +514,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.ResourceHours = ptr.Int64(i64) } - default: _, _ = key, value @@ -688,7 +682,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.MeanTimeToRecoverInMilliseconds = ptr.Int64(i64) } - case "ProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -701,7 +694,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.ProactiveInsights = int32(i64) } - case "ReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -714,7 +706,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.ReactiveInsights = int32(i64) } - default: _, _ = key, value @@ -878,12 +869,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyOutput(v **DescribeAnomaly if err := awsRestjson1_deserializeDocumentProactiveAnomaly(&sv.ProactiveAnomaly, value); err != nil { return err } - case "ReactiveAnomaly": if err := awsRestjson1_deserializeDocumentReactiveAnomaly(&sv.ReactiveAnomaly, value); err != nil { return err } - default: _, _ = key, value @@ -1044,7 +1033,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEventSourcesConfigOutput(v **Desc if err := awsRestjson1_deserializeDocumentEventSourcesConfig(&sv.EventSources, value); err != nil { return err } - default: _, _ = key, value @@ -1208,7 +1196,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFeedbackOutput(v **DescribeFeedba if err := awsRestjson1_deserializeDocumentInsightFeedback(&sv.InsightFeedback, value); err != nil { return err } - default: _, _ = key, value @@ -1372,12 +1359,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInsightOutput(v **DescribeInsight if err := awsRestjson1_deserializeDocumentProactiveInsight(&sv.ProactiveInsight, value); err != nil { return err } - case "ReactiveInsight": if err := awsRestjson1_deserializeDocumentReactiveInsight(&sv.ReactiveInsight, value); err != nil { return err } - default: _, _ = key, value @@ -1546,7 +1531,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.MetricsAnalyzed = int32(i64) } - case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1559,7 +1543,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.OpenProactiveInsights = int32(i64) } - case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1572,7 +1555,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.OpenReactiveInsights = int32(i64) } - case "ResourceHours": if value != nil { jtv, ok := value.(json.Number) @@ -1585,7 +1567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.ResourceHours = ptr.Int64(i64) } - default: _, _ = key, value @@ -1754,7 +1735,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationOverviewOutput(v **De } sv.ProactiveInsights = int32(i64) } - case "ReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1767,7 +1747,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationOverviewOutput(v **De } sv.ReactiveInsights = int32(i64) } - default: _, _ = key, value @@ -1928,12 +1907,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationResourceCollectionHea if err := awsRestjson1_deserializeDocumentAccountHealths(&sv.Account, value); err != nil { return err } - case "CloudFormation": if err := awsRestjson1_deserializeDocumentCloudFormationHealths(&sv.CloudFormation, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1942,17 +1919,14 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationResourceCollectionHea } sv.NextToken = ptr.String(jtv) } - case "Service": if err := awsRestjson1_deserializeDocumentServiceHealths(&sv.Service, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagHealths(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2113,7 +2087,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceCollectionHealthOutput(v if err := awsRestjson1_deserializeDocumentCloudFormationHealths(&sv.CloudFormation, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2122,17 +2095,14 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceCollectionHealthOutput(v } sv.NextToken = ptr.String(jtv) } - case "Service": if err := awsRestjson1_deserializeDocumentServiceHealths(&sv.Service, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagHealths(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2296,7 +2266,6 @@ func awsRestjson1_deserializeOpDocumentDescribeServiceIntegrationOutput(v **Desc if err := awsRestjson1_deserializeDocumentServiceIntegrationConfig(&sv.ServiceIntegration, value); err != nil { return err } - default: _, _ = key, value @@ -2460,7 +2429,6 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima if err := awsRestjson1_deserializeDocumentServiceResourceCosts(&sv.Costs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2469,12 +2437,10 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } sv.NextToken = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentCostEstimationResourceCollectionFilter(&sv.ResourceCollection, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2483,12 +2449,10 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } sv.Status = types.CostEstimationStatus(jtv) } - case "TimeRange": if err := awsRestjson1_deserializeDocumentCostEstimationTimeRange(&sv.TimeRange, value); err != nil { return err } - case "TotalCost": if value != nil { switch jtv := value.(type) { @@ -2522,7 +2486,6 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } } - default: _, _ = key, value @@ -2690,12 +2653,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceCollectionOutput(v **GetResour } sv.NextToken = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollectionFilter(&sv.ResourceCollection, value); err != nil { return err } - default: _, _ = key, value @@ -2863,17 +2824,14 @@ func awsRestjson1_deserializeOpDocumentListAnomaliesForInsightOutput(v **ListAno } sv.NextToken = ptr.String(jtv) } - case "ProactiveAnomalies": if err := awsRestjson1_deserializeDocumentProactiveAnomalies(&sv.ProactiveAnomalies, value); err != nil { return err } - case "ReactiveAnomalies": if err := awsRestjson1_deserializeDocumentReactiveAnomalies(&sv.ReactiveAnomalies, value); err != nil { return err } - default: _, _ = key, value @@ -3037,7 +2995,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom if err := awsRestjson1_deserializeDocumentAnomalousLogGroups(&sv.AnomalousLogGroups, value); err != nil { return err } - case "InsightId": if value != nil { jtv, ok := value.(string) @@ -3046,7 +3003,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom } sv.InsightId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3055,7 +3011,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3219,7 +3174,6 @@ func awsRestjson1_deserializeOpDocumentListEventsOutput(v **ListEventsOutput, va if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3228,7 +3182,6 @@ func awsRestjson1_deserializeOpDocumentListEventsOutput(v **ListEventsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3393,17 +3346,14 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput } sv.NextToken = ptr.String(jtv) } - case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } - case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } - default: _, _ = key, value @@ -3564,7 +3514,6 @@ func awsRestjson1_deserializeOpDocumentListMonitoredResourcesOutput(v **ListMoni if err := awsRestjson1_deserializeDocumentMonitoredResourceIdentifiers(&sv.MonitoredResourceIdentifiers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3573,7 +3522,6 @@ func awsRestjson1_deserializeOpDocumentListMonitoredResourcesOutput(v **ListMoni } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3734,7 +3682,6 @@ func awsRestjson1_deserializeOpDocumentListNotificationChannelsOutput(v **ListNo if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3743,7 +3690,6 @@ func awsRestjson1_deserializeOpDocumentListNotificationChannelsOutput(v **ListNo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3908,17 +3854,14 @@ func awsRestjson1_deserializeOpDocumentListOrganizationInsightsOutput(v **ListOr } sv.NextToken = ptr.String(jtv) } - case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveOrganizationInsights(&sv.ProactiveInsights, value); err != nil { return err } - case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveOrganizationInsights(&sv.ReactiveInsights, value); err != nil { return err } - default: _, _ = key, value @@ -4086,12 +4029,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } - case "Recommendations": if err := awsRestjson1_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -4462,17 +4403,14 @@ func awsRestjson1_deserializeOpDocumentSearchInsightsOutput(v **SearchInsightsOu } sv.NextToken = ptr.String(jtv) } - case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } - case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } - default: _, _ = key, value @@ -4637,17 +4575,14 @@ func awsRestjson1_deserializeOpDocumentSearchOrganizationInsightsOutput(v **Sear } sv.NextToken = ptr.String(jtv) } - case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } - case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } - default: _, _ = key, value @@ -5369,15 +5304,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5385,15 +5314,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5428,12 +5353,10 @@ func awsRestjson1_deserializeDocumentAccountHealth(v **types.AccountHealth, valu } sv.AccountId = ptr.String(jtv) } - case "Insight": if err := awsRestjson1_deserializeDocumentAccountInsightHealth(&sv.Insight, value); err != nil { return err } - default: _, _ = key, value @@ -5511,7 +5434,6 @@ func awsRestjson1_deserializeDocumentAccountInsightHealth(v **types.AccountInsig } sv.OpenProactiveInsights = int32(i64) } - case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -5524,7 +5446,6 @@ func awsRestjson1_deserializeDocumentAccountInsightHealth(v **types.AccountInsig } sv.OpenReactiveInsights = int32(i64) } - default: _, _ = key, value @@ -5564,7 +5485,6 @@ func awsRestjson1_deserializeDocumentAmazonCodeGuruProfilerIntegration(v **types } sv.Status = types.EventSourceOptInStatus(jtv) } - default: _, _ = key, value @@ -5611,7 +5531,6 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } } - case "ImpactStartTime": if value != nil { switch jtv := value.(type) { @@ -5627,12 +5546,10 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } } - case "LogAnomalyShowcases": if err := awsRestjson1_deserializeDocumentLogAnomalyShowcases(&sv.LogAnomalyShowcases, value); err != nil { return err } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -5641,7 +5558,6 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } sv.LogGroupName = ptr.String(jtv) } - case "NumberOfLogLinesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -5654,7 +5570,6 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } sv.NumberOfLogLinesScanned = int32(i64) } - default: _, _ = key, value @@ -5735,7 +5650,6 @@ func awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(v **types.AnomalyR } } - case "OpenTime": if value != nil { switch jtv := value.(type) { @@ -5751,7 +5665,6 @@ func awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(v **types.AnomalyR } } - default: _, _ = key, value @@ -5791,7 +5704,6 @@ func awsRestjson1_deserializeDocumentAnomalyResource(v **types.AnomalyResource, } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5800,7 +5712,6 @@ func awsRestjson1_deserializeDocumentAnomalyResource(v **types.AnomalyResource, } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5870,12 +5781,10 @@ func awsRestjson1_deserializeDocumentAnomalySourceDetails(v **types.AnomalySourc if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDetails(&sv.CloudWatchMetrics, value); err != nil { return err } - case "PerformanceInsightsMetrics": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetails(&sv.PerformanceInsightsMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -5915,7 +5824,6 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.Source = ptr.String(jtv) } - case "SourceResourceName": if value != nil { jtv, ok := value.(string) @@ -5924,7 +5832,6 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.SourceResourceName = ptr.String(jtv) } - case "SourceResourceType": if value != nil { jtv, ok := value.(string) @@ -5933,7 +5840,6 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.SourceResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -5980,7 +5886,6 @@ func awsRestjson1_deserializeDocumentAnomalyTimeRange(v **types.AnomalyTimeRange } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5996,7 +5901,6 @@ func awsRestjson1_deserializeDocumentAnomalyTimeRange(v **types.AnomalyTimeRange } } - default: _, _ = key, value @@ -6102,7 +6006,6 @@ func awsRestjson1_deserializeDocumentCloudFormationCollection(v **types.CloudFor if err := awsRestjson1_deserializeDocumentStackNames(&sv.StackNames, value); err != nil { return err } - default: _, _ = key, value @@ -6138,7 +6041,6 @@ func awsRestjson1_deserializeDocumentCloudFormationCollectionFilter(v **types.Cl if err := awsRestjson1_deserializeDocumentStackNames(&sv.StackNames, value); err != nil { return err } - default: _, _ = key, value @@ -6174,7 +6076,6 @@ func awsRestjson1_deserializeDocumentCloudFormationCostEstimationResourceCollect if err := awsRestjson1_deserializeDocumentCostEstimationStackNames(&sv.StackNames, value); err != nil { return err } - default: _, _ = key, value @@ -6218,12 +6119,10 @@ func awsRestjson1_deserializeDocumentCloudFormationHealth(v **types.CloudFormati } sv.AnalyzedResourceCount = ptr.Int64(i64) } - case "Insight": if err := awsRestjson1_deserializeDocumentInsightHealth(&sv.Insight, value); err != nil { return err } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -6232,7 +6131,6 @@ func awsRestjson1_deserializeDocumentCloudFormationHealth(v **types.CloudFormati } sv.StackName = ptr.String(jtv) } - default: _, _ = key, value @@ -6306,12 +6204,10 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDataSummary(v **types.Clou } sv.StatusCode = types.CloudWatchMetricDataStatusCode(jtv) } - case "TimestampMetricValuePairList": if err := awsRestjson1_deserializeDocumentTimestampMetricValuePairList(&sv.TimestampMetricValuePairList, value); err != nil { return err } - default: _, _ = key, value @@ -6347,12 +6243,10 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDimensions(&sv.Dimensions, value); err != nil { return err } - case "MetricDataSummary": if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDataSummary(&sv.MetricDataSummary, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -6361,7 +6255,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -6370,7 +6263,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Namespace = ptr.String(jtv) } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -6383,7 +6275,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Period = int32(i64) } - case "Stat": if value != nil { jtv, ok := value.(string) @@ -6392,7 +6283,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Stat = types.CloudWatchMetricsStat(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -6401,7 +6291,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -6475,7 +6364,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDimension(v **types.CloudW } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6484,7 +6372,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDimension(v **types.CloudW } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6548,15 +6435,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6564,7 +6445,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6573,7 +6453,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6582,15 +6461,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6621,12 +6496,10 @@ func awsRestjson1_deserializeDocumentCostEstimationResourceCollectionFilter(v ** if err := awsRestjson1_deserializeDocumentCloudFormationCostEstimationResourceCollectionFilter(&sv.CloudFormation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagCostEstimationResourceCollectionFilters(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6745,7 +6618,6 @@ func awsRestjson1_deserializeDocumentCostEstimationTimeRange(v **types.CostEstim } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6761,7 +6633,6 @@ func awsRestjson1_deserializeDocumentCostEstimationTimeRange(v **types.CostEstim } } - default: _, _ = key, value @@ -6801,7 +6672,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.DataSource = types.EventDataSource(jtv) } - case "EventClass": if value != nil { jtv, ok := value.(string) @@ -6810,7 +6680,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventClass = types.EventClass(jtv) } - case "EventSource": if value != nil { jtv, ok := value.(string) @@ -6819,7 +6688,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventSource = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6828,7 +6696,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6837,17 +6704,14 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Name = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Resources": if err := awsRestjson1_deserializeDocumentEventResources(&sv.Resources, value); err != nil { return err } - case "Time": if value != nil { switch jtv := value.(type) { @@ -6863,7 +6727,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - default: _, _ = key, value @@ -6903,7 +6766,6 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6912,7 +6774,6 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6921,7 +6782,6 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -7025,7 +6885,6 @@ func awsRestjson1_deserializeDocumentEventSourcesConfig(v **types.EventSourcesCo if err := awsRestjson1_deserializeDocumentAmazonCodeGuruProfilerIntegration(&sv.AmazonCodeGuruProfiler, value); err != nil { return err } - default: _, _ = key, value @@ -7065,7 +6924,6 @@ func awsRestjson1_deserializeDocumentInsightFeedback(v **types.InsightFeedback, } sv.Feedback = types.InsightFeedbackOption(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7074,7 +6932,6 @@ func awsRestjson1_deserializeDocumentInsightFeedback(v **types.InsightFeedback, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -7118,7 +6975,6 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.MeanTimeToRecoverInMilliseconds = ptr.Int64(i64) } - case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -7131,7 +6987,6 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.OpenProactiveInsights = int32(i64) } - case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -7144,7 +6999,6 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.OpenReactiveInsights = int32(i64) } - default: _, _ = key, value @@ -7227,7 +7081,6 @@ func awsRestjson1_deserializeDocumentInsightTimeRange(v **types.InsightTimeRange } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7243,7 +7096,6 @@ func awsRestjson1_deserializeDocumentInsightTimeRange(v **types.InsightTimeRange } } - default: _, _ = key, value @@ -7273,15 +7125,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7289,7 +7135,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7302,15 +7147,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7345,7 +7186,6 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.KMSKeyId = ptr.String(jtv) } - case "OptInStatus": if value != nil { jtv, ok := value.(string) @@ -7354,7 +7194,6 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.OptInStatus = types.OptInStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7363,7 +7202,6 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.Type = types.ServerSideEncryptionType(jtv) } - default: _, _ = key, value @@ -7403,7 +7241,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.Explanation = ptr.String(jtv) } - case "LogAnomalyToken": if value != nil { jtv, ok := value.(string) @@ -7412,7 +7249,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogAnomalyToken = ptr.String(jtv) } - case "LogAnomalyType": if value != nil { jtv, ok := value.(string) @@ -7421,7 +7257,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogAnomalyType = types.LogAnomalyType(jtv) } - case "LogEventId": if value != nil { jtv, ok := value.(string) @@ -7430,7 +7265,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogEventId = ptr.String(jtv) } - case "LogEventTimestamp": if value != nil { switch jtv := value.(type) { @@ -7446,7 +7280,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } } - case "LogStreamName": if value != nil { jtv, ok := value.(string) @@ -7455,7 +7288,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogStreamName = ptr.String(jtv) } - case "NumberOfLogLinesOccurrences": if value != nil { jtv, ok := value.(json.Number) @@ -7468,7 +7300,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.NumberOfLogLinesOccurrences = int32(i64) } - default: _, _ = key, value @@ -7538,7 +7369,6 @@ func awsRestjson1_deserializeDocumentLogAnomalyShowcase(v **types.LogAnomalyShow if err := awsRestjson1_deserializeDocumentLogAnomalyClasses(&sv.LogAnomalyClasses, value); err != nil { return err } - default: _, _ = key, value @@ -7612,7 +7442,6 @@ func awsRestjson1_deserializeDocumentLogsAnomalyDetectionIntegration(v **types.L } sv.OptInStatus = types.OptInStatus(jtv) } - default: _, _ = key, value @@ -7659,7 +7488,6 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } } - case "MonitoredResourceName": if value != nil { jtv, ok := value.(string) @@ -7668,12 +7496,10 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.MonitoredResourceName = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "ResourcePermission": if value != nil { jtv, ok := value.(string) @@ -7682,7 +7508,6 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.ResourcePermission = types.ResourcePermission(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7691,7 +7516,6 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -7761,7 +7585,6 @@ func awsRestjson1_deserializeDocumentNotificationChannel(v **types.NotificationC if err := awsRestjson1_deserializeDocumentNotificationChannelConfig(&sv.Config, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7770,7 +7593,6 @@ func awsRestjson1_deserializeDocumentNotificationChannel(v **types.NotificationC } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -7806,12 +7628,10 @@ func awsRestjson1_deserializeDocumentNotificationChannelConfig(v **types.Notific if err := awsRestjson1_deserializeDocumentNotificationFilterConfig(&sv.Filters, value); err != nil { return err } - case "Sns": if err := awsRestjson1_deserializeDocumentSnsChannelConfig(&sv.Sns, value); err != nil { return err } - default: _, _ = key, value @@ -7847,12 +7667,10 @@ func awsRestjson1_deserializeDocumentNotificationFilterConfig(v **types.Notifica if err := awsRestjson1_deserializeDocumentNotificationMessageTypes(&sv.MessageTypes, value); err != nil { return err } - case "Severities": if err := awsRestjson1_deserializeDocumentInsightSeverities(&sv.Severities, value); err != nil { return err } - default: _, _ = key, value @@ -7928,7 +7746,6 @@ func awsRestjson1_deserializeDocumentOpsCenterIntegration(v **types.OpsCenterInt } sv.OptInStatus = types.OptInStatus(jtv) } - default: _, _ = key, value @@ -7964,7 +7781,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensions(&sv.Dimensions, value); err != nil { return err } - case "Group": if value != nil { jtv, ok := value.(string) @@ -7973,7 +7789,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * } sv.Group = ptr.String(jtv) } - case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -7986,7 +7801,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * } sv.Limit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8094,12 +7908,10 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(v **types.Pe if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricFilterMap(&sv.Filter, value); err != nil { return err } - case "GroupBy": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(&sv.GroupBy, value); err != nil { return err } - case "Metric": if value != nil { jtv, ok := value.(string) @@ -8108,7 +7920,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(v **types.Pe } sv.Metric = ptr.String(jtv) } - default: _, _ = key, value @@ -8148,27 +7959,22 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetail(v **types. } sv.MetricDisplayName = ptr.String(jtv) } - case "MetricQuery": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(&sv.MetricQuery, value); err != nil { return err } - case "ReferenceData": if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceDataList(&sv.ReferenceData, value); err != nil { return err } - case "StatsAtAnomaly": if err := awsRestjson1_deserializeDocumentPerformanceInsightsStats(&sv.StatsAtAnomaly, value); err != nil { return err } - case "StatsAtBaseline": if err := awsRestjson1_deserializeDocumentPerformanceInsightsStats(&sv.StatsAtBaseline, value); err != nil { return err } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -8177,7 +7983,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetail(v **types. } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -8247,12 +8052,10 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceComparisonValue if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceMetric(&sv.ReferenceMetric, value); err != nil { return err } - case "ReferenceScalar": if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceScalar(&sv.ReferenceScalar, value); err != nil { return err } - default: _, _ = key, value @@ -8288,7 +8091,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceData(v **types. if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceComparisonValues(&sv.ComparisonValues, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8297,7 +8099,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceData(v **types. } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8367,7 +8168,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceMetric(v **type if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(&sv.MetricQuery, value); err != nil { return err } - default: _, _ = key, value @@ -8432,7 +8232,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceScalar(v **type } } - default: _, _ = key, value @@ -8472,7 +8271,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsStat(v **types.Performan } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -8506,7 +8304,6 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsStat(v **types.Performan } } - default: _, _ = key, value @@ -8587,7 +8384,6 @@ func awsRestjson1_deserializeDocumentPredictionTimeRange(v **types.PredictionTim } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8603,7 +8399,6 @@ func awsRestjson1_deserializeDocumentPredictionTimeRange(v **types.PredictionTim } } - default: _, _ = key, value @@ -8673,17 +8468,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } - case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } - case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } - case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -8692,7 +8484,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.AssociatedInsightId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8701,7 +8492,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8710,7 +8500,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Id = ptr.String(jtv) } - case "Limit": if value != nil { switch jtv := value.(type) { @@ -8744,17 +8533,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } } - case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -8763,17 +8549,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Severity = types.AnomalySeverity(jtv) } - case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } - case "SourceMetadata": if err := awsRestjson1_deserializeDocumentAnomalySourceMetadata(&sv.SourceMetadata, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8782,7 +8565,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Status = types.AnomalyStatus(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -8798,7 +8580,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } } - default: _, _ = key, value @@ -8834,17 +8615,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } - case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } - case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } - case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -8853,7 +8631,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.AssociatedInsightId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8862,7 +8639,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8871,7 +8647,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Id = ptr.String(jtv) } - case "Limit": if value != nil { switch jtv := value.(type) { @@ -8905,17 +8680,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } } - case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -8924,17 +8696,14 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Severity = types.AnomalySeverity(jtv) } - case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } - case "SourceMetadata": if err := awsRestjson1_deserializeDocumentAnomalySourceMetadata(&sv.SourceMetadata, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8943,7 +8712,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Status = types.AnomalyStatus(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -8959,7 +8727,6 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } } - default: _, _ = key, value @@ -8999,7 +8766,6 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9008,12 +8774,10 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9022,17 +8786,14 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Name = ptr.String(jtv) } - case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9041,7 +8802,6 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Severity = types.InsightSeverity(jtv) } - case "SsmOpsItemId": if value != nil { jtv, ok := value.(string) @@ -9050,7 +8810,6 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.SsmOpsItemId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9059,7 +8818,6 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -9129,7 +8887,6 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive if err := awsRestjson1_deserializeDocumentAssociatedResourceArns(&sv.AssociatedResourceArns, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9138,12 +8895,10 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9152,22 +8907,18 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Name = ptr.String(jtv) } - case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9176,7 +8927,6 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Severity = types.InsightSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9185,7 +8935,6 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -9259,7 +9008,6 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.AccountId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9268,12 +9016,10 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9282,7 +9028,6 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Name = ptr.String(jtv) } - case "OrganizationalUnitId": if value != nil { jtv, ok := value.(string) @@ -9291,22 +9036,18 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.OrganizationalUnitId = ptr.String(jtv) } - case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9315,7 +9056,6 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Severity = types.InsightSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9324,7 +9064,6 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -9394,17 +9133,14 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } - case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } - case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } - case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -9413,7 +9149,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.AssociatedInsightId = ptr.String(jtv) } - case "CausalAnomalyId": if value != nil { jtv, ok := value.(string) @@ -9422,7 +9157,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.CausalAnomalyId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9431,7 +9165,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9440,7 +9173,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9449,12 +9181,10 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Name = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9463,12 +9193,10 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Severity = types.AnomalySeverity(jtv) } - case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9477,7 +9205,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Status = types.AnomalyStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9486,7 +9213,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Type = types.AnomalyType(jtv) } - default: _, _ = key, value @@ -9522,17 +9248,14 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } - case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } - case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } - case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -9541,7 +9264,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.AssociatedInsightId = ptr.String(jtv) } - case "CausalAnomalyId": if value != nil { jtv, ok := value.(string) @@ -9550,7 +9272,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.CausalAnomalyId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9559,7 +9280,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9568,7 +9288,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9577,12 +9296,10 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Name = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9591,12 +9308,10 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Severity = types.AnomalySeverity(jtv) } - case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9605,7 +9320,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Status = types.AnomalyStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9614,7 +9328,6 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Type = types.AnomalyType(jtv) } - default: _, _ = key, value @@ -9654,7 +9367,6 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9663,12 +9375,10 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9677,12 +9387,10 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Name = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9691,7 +9399,6 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Severity = types.InsightSeverity(jtv) } - case "SsmOpsItemId": if value != nil { jtv, ok := value.(string) @@ -9700,7 +9407,6 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.SsmOpsItemId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9709,7 +9415,6 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -9779,7 +9484,6 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn if err := awsRestjson1_deserializeDocumentAssociatedResourceArns(&sv.AssociatedResourceArns, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9788,12 +9492,10 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9802,17 +9504,14 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Name = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9821,7 +9520,6 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Severity = types.InsightSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9830,7 +9528,6 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -9904,7 +9601,6 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.AccountId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9913,12 +9609,10 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Id = ptr.String(jtv) } - case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9927,7 +9621,6 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Name = ptr.String(jtv) } - case "OrganizationalUnitId": if value != nil { jtv, ok := value.(string) @@ -9936,17 +9629,14 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.OrganizationalUnitId = ptr.String(jtv) } - case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } - case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -9955,7 +9645,6 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Severity = types.InsightSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9964,7 +9653,6 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Status = types.InsightStatus(jtv) } - default: _, _ = key, value @@ -10004,7 +9692,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Category = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10013,7 +9700,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } - case "Link": if value != nil { jtv, ok := value.(string) @@ -10022,7 +9708,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Link = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10031,7 +9716,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Name = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -10040,17 +9724,14 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Reason = ptr.String(jtv) } - case "RelatedAnomalies": if err := awsRestjson1_deserializeDocumentRecommendationRelatedAnomalies(&sv.RelatedAnomalies, value); err != nil { return err } - case "RelatedEvents": if err := awsRestjson1_deserializeDocumentRecommendationRelatedEvents(&sv.RelatedEvents, value); err != nil { return err } - default: _, _ = key, value @@ -10124,17 +9805,14 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomaly(v **types.Reco } sv.AnomalyId = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResources(&sv.Resources, value); err != nil { return err } - case "SourceDetails": if err := awsRestjson1_deserializeDocumentRelatedAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -10174,7 +9852,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResource(v **ty } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10183,7 +9860,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResource(v **ty } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -10253,7 +9929,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalySourceDetail(v if err := awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourceDetails(&sv.CloudWatchMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -10293,7 +9968,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourc } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -10302,7 +9976,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourc } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -10376,12 +10049,10 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEvent(v **types.Recomm } sv.Name = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentRecommendationRelatedEventResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -10421,7 +10092,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEventResource(v **type } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10430,7 +10100,6 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEventResource(v **type } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -10602,12 +10271,10 @@ func awsRestjson1_deserializeDocumentResourceCollection(v **types.ResourceCollec if err := awsRestjson1_deserializeDocumentCloudFormationCollection(&sv.CloudFormation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagCollections(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10643,12 +10310,10 @@ func awsRestjson1_deserializeDocumentResourceCollectionFilter(v **types.Resource if err := awsRestjson1_deserializeDocumentCloudFormationCollectionFilter(&sv.CloudFormation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagCollectionFilters(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10678,15 +10343,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10694,7 +10353,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10703,7 +10361,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10712,15 +10369,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10751,7 +10404,6 @@ func awsRestjson1_deserializeDocumentServiceCollection(v **types.ServiceCollecti if err := awsRestjson1_deserializeDocumentServiceNames(&sv.ServiceNames, value); err != nil { return err } - default: _, _ = key, value @@ -10795,12 +10447,10 @@ func awsRestjson1_deserializeDocumentServiceHealth(v **types.ServiceHealth, valu } sv.AnalyzedResourceCount = ptr.Int64(i64) } - case "Insight": if err := awsRestjson1_deserializeDocumentServiceInsightHealth(&sv.Insight, value); err != nil { return err } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -10809,7 +10459,6 @@ func awsRestjson1_deserializeDocumentServiceHealth(v **types.ServiceHealth, valu } sv.ServiceName = types.ServiceName(jtv) } - default: _, _ = key, value @@ -10887,7 +10536,6 @@ func awsRestjson1_deserializeDocumentServiceInsightHealth(v **types.ServiceInsig } sv.OpenProactiveInsights = int32(i64) } - case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -10900,7 +10548,6 @@ func awsRestjson1_deserializeDocumentServiceInsightHealth(v **types.ServiceInsig } sv.OpenReactiveInsights = int32(i64) } - default: _, _ = key, value @@ -10936,17 +10583,14 @@ func awsRestjson1_deserializeDocumentServiceIntegrationConfig(v **types.ServiceI if err := awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(&sv.KMSServerSideEncryption, value); err != nil { return err } - case "LogsAnomalyDetection": if err := awsRestjson1_deserializeDocumentLogsAnomalyDetectionIntegration(&sv.LogsAnomalyDetection, value); err != nil { return err } - case "OpsCenter": if err := awsRestjson1_deserializeDocumentOpsCenterIntegration(&sv.OpsCenter, value); err != nil { return err } - default: _, _ = key, value @@ -11012,15 +10656,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11028,15 +10666,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11096,7 +10730,6 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -11109,7 +10742,6 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.Count = int32(i64) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11118,7 +10750,6 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.State = types.CostEstimationServiceResourceState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11127,7 +10758,6 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.Type = ptr.String(jtv) } - case "UnitCost": if value != nil { switch jtv := value.(type) { @@ -11161,7 +10791,6 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } } - default: _, _ = key, value @@ -11235,7 +10864,6 @@ func awsRestjson1_deserializeDocumentSnsChannelConfig(v **types.SnsChannelConfig } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11311,12 +10939,10 @@ func awsRestjson1_deserializeDocumentTagCollection(v **types.TagCollection, valu } sv.AppBoundaryKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValues(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -11356,12 +10982,10 @@ func awsRestjson1_deserializeDocumentTagCollectionFilter(v **types.TagCollection } sv.AppBoundaryKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValues(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -11469,12 +11093,10 @@ func awsRestjson1_deserializeDocumentTagCostEstimationResourceCollectionFilter(v } sv.AppBoundaryKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentCostEstimationTagValues(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -11552,7 +11174,6 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.AnalyzedResourceCount = ptr.Int64(i64) } - case "AppBoundaryKey": if value != nil { jtv, ok := value.(string) @@ -11561,12 +11182,10 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.AppBoundaryKey = ptr.String(jtv) } - case "Insight": if err := awsRestjson1_deserializeDocumentInsightHealth(&sv.Insight, value); err != nil { return err } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -11575,7 +11194,6 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -11675,15 +11293,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11691,7 +11303,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -11700,7 +11311,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11713,7 +11323,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -11722,15 +11331,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11790,7 +11395,6 @@ func awsRestjson1_deserializeDocumentTimestampMetricValuePair(v **types.Timestam } } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -11806,7 +11410,6 @@ func awsRestjson1_deserializeDocumentTimestampMetricValuePair(v **types.Timestam } } - default: _, _ = key, value @@ -11870,20 +11473,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11891,7 +11487,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -11900,15 +11495,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11943,7 +11534,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11952,7 +11542,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/directconnect/deserializers.go b/service/directconnect/deserializers.go index e16831841ac..3a32638e68c 100644 --- a/service/directconnect/deserializers.go +++ b/service/directconnect/deserializers.go @@ -7482,7 +7482,6 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Id = ptr.String(jtv) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -7491,7 +7490,6 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -7500,7 +7498,6 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Region = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7509,7 +7506,6 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Type = types.GatewayType(jtv) } - default: _, _ = key, value @@ -7621,7 +7617,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -7630,7 +7625,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AmazonAddress = ptr.String(jtv) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -7643,7 +7637,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -7652,7 +7645,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -7661,7 +7653,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -7670,7 +7661,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeerId": if value != nil { jtv, ok := value.(string) @@ -7679,7 +7669,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpPeerId = ptr.String(jtv) } - case "bgpPeerState": if value != nil { jtv, ok := value.(string) @@ -7688,7 +7677,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpPeerState = types.BGPPeerState(jtv) } - case "bgpStatus": if value != nil { jtv, ok := value.(string) @@ -7697,7 +7685,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpStatus = types.BGPStatus(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -7706,7 +7693,6 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.CustomerAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -7816,7 +7802,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -7825,7 +7810,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -7834,7 +7818,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -7843,7 +7826,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -7852,7 +7834,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -7861,7 +7842,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -7870,7 +7850,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -7879,7 +7858,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -7888,7 +7866,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -7897,7 +7874,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -7906,7 +7882,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -7922,7 +7897,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "location": if value != nil { jtv, ok := value.(string) @@ -7931,7 +7905,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -7940,12 +7913,10 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -7954,7 +7925,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -7963,7 +7933,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -7972,7 +7941,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -7981,7 +7949,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -7990,12 +7957,10 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -8008,7 +7973,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -8082,7 +8046,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgreement(v **types.CustomerAgreeme } sv.AgreementName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8091,7 +8054,6 @@ func awsAwsjson11_deserializeDocumentCustomerAgreement(v **types.CustomerAgreeme } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8121,15 +8083,9 @@ func awsAwsjson11_deserializeDocumentDirectConnectClientException(v **types.Dire sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8137,15 +8093,11 @@ func awsAwsjson11_deserializeDocumentDirectConnectClientException(v **types.Dire } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8184,7 +8136,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.AmazonSideAsn = ptr.Int64(i64) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8193,7 +8144,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "directConnectGatewayName": if value != nil { jtv, ok := value.(string) @@ -8202,7 +8152,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayName = ptr.String(jtv) } - case "directConnectGatewayState": if value != nil { jtv, ok := value.(string) @@ -8211,7 +8160,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayState = types.DirectConnectGatewayState(jtv) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -8220,7 +8168,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.OwnerAccount = ptr.String(jtv) } - case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8229,7 +8176,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.StateChangeError = ptr.String(jtv) } - default: _, _ = key, value @@ -8265,12 +8211,10 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.AllowedPrefixesToDirectConnectGateway, value); err != nil { return err } - case "associatedGateway": if err := awsAwsjson11_deserializeDocumentAssociatedGateway(&sv.AssociatedGateway, value); err != nil { return err } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -8279,7 +8223,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.AssociationId = ptr.String(jtv) } - case "associationState": if value != nil { jtv, ok := value.(string) @@ -8288,7 +8231,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.AssociationState = types.DirectConnectGatewayAssociationState(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8297,7 +8239,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "directConnectGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8306,7 +8247,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.DirectConnectGatewayOwnerAccount = ptr.String(jtv) } - case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8315,7 +8255,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.StateChangeError = ptr.String(jtv) } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -8324,7 +8263,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8333,7 +8271,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayOwnerAccount = ptr.String(jtv) } - case "virtualGatewayRegion": if value != nil { jtv, ok := value.(string) @@ -8342,7 +8279,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -8412,7 +8348,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * if err := awsAwsjson11_deserializeDocumentAssociatedGateway(&sv.AssociatedGateway, value); err != nil { return err } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8421,7 +8356,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "directConnectGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8430,12 +8364,10 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.DirectConnectGatewayOwnerAccount = ptr.String(jtv) } - case "existingAllowedPrefixesToDirectConnectGateway": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.ExistingAllowedPrefixesToDirectConnectGateway, value); err != nil { return err } - case "proposalId": if value != nil { jtv, ok := value.(string) @@ -8444,7 +8376,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.ProposalId = ptr.String(jtv) } - case "proposalState": if value != nil { jtv, ok := value.(string) @@ -8453,12 +8384,10 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.ProposalState = types.DirectConnectGatewayAssociationProposalState(jtv) } - case "requestedAllowedPrefixesToDirectConnectGateway": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RequestedAllowedPrefixesToDirectConnectGateway, value); err != nil { return err } - default: _, _ = key, value @@ -8532,7 +8461,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.AttachmentState = types.DirectConnectGatewayAttachmentState(jtv) } - case "attachmentType": if value != nil { jtv, ok := value.(string) @@ -8541,7 +8469,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.AttachmentType = types.DirectConnectGatewayAttachmentType(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8550,7 +8477,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8559,7 +8485,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.StateChangeError = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8568,7 +8493,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8577,7 +8501,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceOwnerAccount = ptr.String(jtv) } - case "virtualInterfaceRegion": if value != nil { jtv, ok := value.(string) @@ -8586,7 +8509,6 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -8684,15 +8606,9 @@ func awsAwsjson11_deserializeDocumentDirectConnectServerException(v **types.Dire sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8700,15 +8616,11 @@ func awsAwsjson11_deserializeDocumentDirectConnectServerException(v **types.Dire } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8733,15 +8645,9 @@ func awsAwsjson11_deserializeDocumentDuplicateTagKeysException(v **types.Duplica sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8749,15 +8655,11 @@ func awsAwsjson11_deserializeDocumentDuplicateTagKeysException(v **types.Duplica } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8792,7 +8694,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -8801,7 +8702,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -8810,7 +8710,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -8819,7 +8718,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Bandwidth = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -8828,7 +8726,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "interconnectId": if value != nil { jtv, ok := value.(string) @@ -8837,7 +8734,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectId = ptr.String(jtv) } - case "interconnectName": if value != nil { jtv, ok := value.(string) @@ -8846,7 +8742,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectName = ptr.String(jtv) } - case "interconnectState": if value != nil { jtv, ok := value.(string) @@ -8855,7 +8750,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectState = types.InterconnectState(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -8864,7 +8758,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -8873,7 +8766,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -8889,7 +8781,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } } - case "location": if value != nil { jtv, ok := value.(string) @@ -8898,7 +8789,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Location = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -8907,7 +8797,6 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -8916,12 +8805,10 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8995,7 +8882,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AllowsHostedConnections = jtv } - case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -9004,7 +8890,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -9013,7 +8898,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -9022,12 +8906,10 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -9036,7 +8918,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.ConnectionsBandwidth = ptr.String(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -9045,7 +8926,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -9054,7 +8934,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -9063,7 +8942,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -9072,7 +8950,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagId = ptr.String(jtv) } - case "lagName": if value != nil { jtv, ok := value.(string) @@ -9081,7 +8958,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagName = ptr.String(jtv) } - case "lagState": if value != nil { jtv, ok := value.(string) @@ -9090,7 +8966,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagState = types.LagState(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -9099,7 +8974,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -9108,12 +8982,10 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -9126,7 +8998,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.MinimumLinks = int32(i64) } - case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -9139,7 +9010,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.NumberOfConnections = int32(i64) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -9148,7 +9018,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.OwnerAccount = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -9157,7 +9026,6 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -9166,12 +9034,10 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9249,7 +9115,6 @@ func awsAwsjson11_deserializeDocumentLoa(v **types.Loa, value interface{}) error } sv.LoaContent = dv } - case "loaContentType": if value != nil { jtv, ok := value.(string) @@ -9258,7 +9123,6 @@ func awsAwsjson11_deserializeDocumentLoa(v **types.Loa, value interface{}) error } sv.LoaContentType = types.LoaContentType(jtv) } - default: _, _ = key, value @@ -9294,17 +9158,14 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac if err := awsAwsjson11_deserializeDocumentAvailableMacSecPortSpeeds(&sv.AvailableMacSecPortSpeeds, value); err != nil { return err } - case "availablePortSpeeds": if err := awsAwsjson11_deserializeDocumentAvailablePortSpeeds(&sv.AvailablePortSpeeds, value); err != nil { return err } - case "availableProviders": if err := awsAwsjson11_deserializeDocumentProviderList(&sv.AvailableProviders, value); err != nil { return err } - case "locationCode": if value != nil { jtv, ok := value.(string) @@ -9313,7 +9174,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.LocationCode = ptr.String(jtv) } - case "locationName": if value != nil { jtv, ok := value.(string) @@ -9322,7 +9182,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.LocationName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -9331,7 +9190,6 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -9405,7 +9263,6 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.Ckn = ptr.String(jtv) } - case "secretARN": if value != nil { jtv, ok := value.(string) @@ -9414,7 +9271,6 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.SecretARN = ptr.String(jtv) } - case "startOn": if value != nil { jtv, ok := value.(string) @@ -9423,7 +9279,6 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.StartOn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -9432,7 +9287,6 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -9542,12 +9396,10 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceArn = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9621,7 +9473,6 @@ func awsAwsjson11_deserializeDocumentRouteFilterPrefix(v **types.RouteFilterPref } sv.Cidr = ptr.String(jtv) } - default: _, _ = key, value @@ -9695,7 +9546,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Platform = ptr.String(jtv) } - case "routerTypeIdentifier": if value != nil { jtv, ok := value.(string) @@ -9704,7 +9554,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.RouterTypeIdentifier = ptr.String(jtv) } - case "software": if value != nil { jtv, ok := value.(string) @@ -9713,7 +9562,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Software = ptr.String(jtv) } - case "vendor": if value != nil { jtv, ok := value.(string) @@ -9722,7 +9570,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Vendor = ptr.String(jtv) } - case "xsltTemplateName": if value != nil { jtv, ok := value.(string) @@ -9731,7 +9578,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.XsltTemplateName = ptr.String(jtv) } - case "xsltTemplateNameForMacSec": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9586,6 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.XsltTemplateNameForMacSec = ptr.String(jtv) } - default: _, _ = key, value @@ -9780,7 +9625,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9789,7 +9633,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9853,15 +9696,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9869,15 +9706,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9912,7 +9745,6 @@ func awsAwsjson11_deserializeDocumentVirtualGateway(v **types.VirtualGateway, va } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualGatewayState": if value != nil { jtv, ok := value.(string) @@ -9921,7 +9753,6 @@ func awsAwsjson11_deserializeDocumentVirtualGateway(v **types.VirtualGateway, va } sv.VirtualGatewayState = ptr.String(jtv) } - default: _, _ = key, value @@ -9995,7 +9826,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -10004,7 +9834,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -10017,7 +9846,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -10030,7 +9858,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -10039,7 +9866,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10048,7 +9874,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10057,12 +9882,10 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10071,7 +9894,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -10080,7 +9902,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -10089,7 +9910,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -10098,7 +9918,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10107,7 +9926,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -10116,7 +9934,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -10129,7 +9946,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10138,7 +9954,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -10147,12 +9962,10 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -10161,12 +9974,10 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -10175,7 +9986,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -10184,7 +9994,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -10193,7 +10002,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -10202,7 +10010,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -10211,7 +10018,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10224,7 +10030,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -10294,7 +10099,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu if err := awsAwsjson11_deserializeDocumentBGPPeerIdList(&sv.BgpPeers, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -10310,7 +10114,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10319,7 +10122,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.OwnerAccount = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -10335,7 +10137,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -10344,7 +10145,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.Status = ptr.String(jtv) } - case "testDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10357,7 +10157,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.TestDurationInMinutes = ptr.Int32(int32(i64)) } - case "testId": if value != nil { jtv, ok := value.(string) @@ -10366,7 +10165,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.TestId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -10375,7 +10173,6 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.VirtualInterfaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10445,7 +10242,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -10485,7 +10281,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10494,7 +10289,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10503,7 +10297,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -10512,7 +10305,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10521,7 +10313,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -10530,7 +10321,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10539,7 +10329,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -10548,7 +10337,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -10557,7 +10345,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10566,7 +10353,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -10575,7 +10361,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -10591,7 +10376,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } } - case "location": if value != nil { jtv, ok := value.(string) @@ -10600,7 +10384,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -10609,12 +10392,10 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10623,7 +10404,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -10632,7 +10412,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -10641,7 +10420,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -10650,7 +10428,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -10659,12 +10436,10 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10677,7 +10452,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -10717,7 +10491,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10726,7 +10499,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10735,7 +10507,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -10744,7 +10515,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10753,7 +10523,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -10762,7 +10531,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10771,7 +10539,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -10780,7 +10547,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -10789,7 +10555,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10798,7 +10563,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -10807,7 +10571,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -10823,7 +10586,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } } - case "location": if value != nil { jtv, ok := value.(string) @@ -10832,7 +10594,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -10841,12 +10602,10 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10855,7 +10614,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -10864,7 +10622,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -10873,7 +10630,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -10882,7 +10638,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -10891,12 +10646,10 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10909,7 +10662,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -10949,7 +10701,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -10958,7 +10709,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -10971,7 +10721,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -10984,7 +10733,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -10993,7 +10741,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11002,7 +10749,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11011,12 +10757,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11025,7 +10769,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -11034,7 +10777,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -11043,7 +10785,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -11052,7 +10793,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11061,7 +10801,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -11070,7 +10809,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -11083,7 +10821,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11092,7 +10829,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11101,12 +10837,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -11115,12 +10849,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -11129,7 +10861,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11138,7 +10869,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -11147,7 +10877,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -11156,7 +10885,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -11165,7 +10893,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11178,7 +10905,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -11218,7 +10944,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -11227,7 +10952,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -11240,7 +10964,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -11253,7 +10976,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -11262,7 +10984,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11271,7 +10992,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11280,12 +11000,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11294,7 +11012,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -11303,7 +11020,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -11312,7 +11028,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -11321,7 +11036,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11330,7 +11044,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -11339,7 +11052,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -11352,7 +11064,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11361,7 +11072,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11370,12 +11080,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -11384,12 +11092,10 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -11398,7 +11104,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11407,7 +11112,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -11416,7 +11120,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -11425,7 +11128,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -11434,7 +11136,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11447,7 +11148,6 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -11483,7 +11183,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateTransitVirtualInterfaceOutput(v * if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } - default: _, _ = key, value @@ -11523,7 +11222,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11532,7 +11230,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11541,7 +11238,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -11550,7 +11246,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11559,7 +11254,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -11568,7 +11262,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -11577,7 +11270,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -11586,7 +11278,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -11595,7 +11286,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11604,7 +11294,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -11613,7 +11302,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -11629,7 +11317,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } } - case "location": if value != nil { jtv, ok := value.(string) @@ -11638,7 +11325,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -11647,12 +11333,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11661,7 +11345,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -11670,7 +11353,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -11679,7 +11361,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -11688,7 +11369,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11697,12 +11377,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11715,7 +11393,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -11755,7 +11432,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11764,7 +11440,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11773,7 +11448,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -11782,7 +11456,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11791,7 +11464,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -11800,7 +11472,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -11809,7 +11480,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -11818,7 +11488,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11496,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11836,7 +11504,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -11845,7 +11512,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -11861,7 +11527,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } } - case "location": if value != nil { jtv, ok := value.(string) @@ -11870,7 +11535,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -11879,12 +11543,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11893,7 +11555,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -11902,7 +11563,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -11911,7 +11571,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -11920,7 +11579,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11929,12 +11587,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11947,7 +11603,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -11987,12 +11642,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateMacSecKeyOutput(v **AssociateMac } sv.ConnectionId = ptr.String(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - default: _, _ = key, value @@ -12032,7 +11685,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -12041,7 +11693,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -12054,7 +11705,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -12067,7 +11717,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -12076,7 +11725,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12085,7 +11733,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12094,12 +11741,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -12108,7 +11753,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -12117,7 +11761,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -12126,7 +11769,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -12135,7 +11777,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12144,7 +11785,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -12153,7 +11793,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -12166,7 +11805,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12175,7 +11813,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -12184,12 +11821,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -12198,12 +11833,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -12212,7 +11845,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -12221,7 +11853,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -12230,7 +11861,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -12239,7 +11869,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -12248,7 +11877,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -12261,7 +11889,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -12301,7 +11928,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmConnectionOutput(v **ConfirmConnec } sv.ConnectionState = types.ConnectionState(jtv) } - default: _, _ = key, value @@ -12341,7 +11967,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmCustomerAgreementOutput(v **Confir } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -12381,7 +12006,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmPrivateVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - default: _, _ = key, value @@ -12421,7 +12045,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmPublicVirtualInterfaceOutput(v **C } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - default: _, _ = key, value @@ -12461,7 +12084,6 @@ func awsAwsjson11_deserializeOpDocumentConfirmTransitVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - default: _, _ = key, value @@ -12497,7 +12119,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBGPPeerOutput(v **CreateBGPPeerOutp if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } - default: _, _ = key, value @@ -12537,7 +12158,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12546,7 +12166,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12555,7 +12174,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -12564,7 +12182,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -12573,7 +12190,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -12582,7 +12198,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -12591,7 +12206,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -12600,7 +12214,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -12609,7 +12222,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12618,7 +12230,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -12627,7 +12238,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -12643,7 +12253,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } - case "location": if value != nil { jtv, ok := value.(string) @@ -12652,7 +12261,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -12661,12 +12269,10 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12675,7 +12281,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -12684,7 +12289,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -12693,7 +12297,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -12702,7 +12305,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -12711,12 +12313,10 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -12729,7 +12329,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -12765,7 +12364,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -12801,7 +12399,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(&sv.DirectConnectGatewayAssociationProposal, value); err != nil { return err } - default: _, _ = key, value @@ -12837,7 +12434,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayOutput(v **Crea if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } - default: _, _ = key, value @@ -12877,7 +12473,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12886,7 +12481,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12895,7 +12489,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -12904,7 +12497,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Bandwidth = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -12913,7 +12505,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "interconnectId": if value != nil { jtv, ok := value.(string) @@ -12922,7 +12513,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectId = ptr.String(jtv) } - case "interconnectName": if value != nil { jtv, ok := value.(string) @@ -12931,7 +12521,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectName = ptr.String(jtv) } - case "interconnectState": if value != nil { jtv, ok := value.(string) @@ -12940,7 +12529,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectState = types.InterconnectState(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12949,7 +12537,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -12958,7 +12545,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -12974,7 +12560,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } } - case "location": if value != nil { jtv, ok := value.(string) @@ -12983,7 +12568,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Location = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -12992,7 +12576,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -13001,12 +12584,10 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13046,7 +12627,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AllowsHostedConnections = jtv } - case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -13055,7 +12635,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13064,7 +12643,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13073,12 +12651,10 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -13087,7 +12663,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -13096,7 +12671,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -13105,7 +12679,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13114,7 +12687,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -13123,7 +12695,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagId = ptr.String(jtv) } - case "lagName": if value != nil { jtv, ok := value.(string) @@ -13132,7 +12703,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagName = ptr.String(jtv) } - case "lagState": if value != nil { jtv, ok := value.(string) @@ -13141,7 +12711,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagState = types.LagState(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -13150,7 +12719,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -13159,12 +12727,10 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -13177,7 +12743,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.MinimumLinks = int32(i64) } - case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -13190,7 +12755,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.NumberOfConnections = int32(i64) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13199,7 +12763,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -13208,7 +12771,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -13217,12 +12779,10 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13262,7 +12822,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -13271,7 +12830,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -13284,7 +12842,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -13297,7 +12854,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -13306,7 +12862,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13315,7 +12870,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13324,12 +12878,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -13338,7 +12890,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -13347,7 +12898,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -13356,7 +12906,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -13365,7 +12914,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13374,7 +12922,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -13383,7 +12930,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -13396,7 +12942,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13405,7 +12950,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -13414,12 +12958,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -13428,12 +12970,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -13442,7 +12982,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -13451,7 +12990,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -13460,7 +12998,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -13469,7 +13006,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -13478,7 +13014,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -13491,7 +13026,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -13531,7 +13065,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -13540,7 +13073,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -13553,7 +13085,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -13566,7 +13097,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -13575,7 +13105,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13584,7 +13113,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13593,12 +13121,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -13607,7 +13133,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -13616,7 +13141,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -13625,7 +13149,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -13634,7 +13157,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13643,7 +13165,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -13652,7 +13173,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -13665,7 +13185,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13674,7 +13193,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -13683,12 +13201,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -13697,12 +13213,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -13711,7 +13225,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -13720,7 +13233,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -13729,7 +13241,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -13738,7 +13249,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -13747,7 +13257,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -13760,7 +13269,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -13796,7 +13304,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTransitVirtualInterfaceOutput(v **C if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } - default: _, _ = key, value @@ -13832,7 +13339,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBGPPeerOutput(v **DeleteBGPPeerOutp if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } - default: _, _ = key, value @@ -13872,7 +13378,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13881,7 +13386,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13890,7 +13394,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -13899,7 +13402,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -13908,7 +13410,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -13917,7 +13418,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -13926,7 +13426,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -13935,7 +13434,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -13944,7 +13442,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13953,7 +13450,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -13962,7 +13458,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -13978,7 +13473,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - case "location": if value != nil { jtv, ok := value.(string) @@ -13987,7 +13481,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -13996,12 +13489,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -14010,7 +13501,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -14019,7 +13509,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -14028,7 +13517,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -14037,7 +13525,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -14046,12 +13533,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -14064,7 +13549,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -14100,7 +13584,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -14136,7 +13619,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(&sv.DirectConnectGatewayAssociationProposal, value); err != nil { return err } - default: _, _ = key, value @@ -14172,7 +13654,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayOutput(v **Dele if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } - default: _, _ = key, value @@ -14212,7 +13693,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInterconnectOutput(v **DeleteInterc } sv.InterconnectState = types.InterconnectState(jtv) } - default: _, _ = key, value @@ -14252,7 +13732,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AllowsHostedConnections = jtv } - case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -14261,7 +13740,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -14270,7 +13748,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -14279,12 +13756,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -14293,7 +13768,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -14302,7 +13776,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -14311,7 +13784,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -14320,7 +13792,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -14329,7 +13800,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagId = ptr.String(jtv) } - case "lagName": if value != nil { jtv, ok := value.(string) @@ -14338,7 +13808,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagName = ptr.String(jtv) } - case "lagState": if value != nil { jtv, ok := value.(string) @@ -14347,7 +13816,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagState = types.LagState(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -14356,7 +13824,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -14365,12 +13832,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -14383,7 +13848,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.MinimumLinks = int32(i64) } - case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -14396,7 +13860,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.NumberOfConnections = int32(i64) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -14405,7 +13868,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -14414,7 +13876,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -14423,12 +13884,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14468,7 +13927,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteVirtualInterfaceOutput(v **DeleteVi } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - default: _, _ = key, value @@ -14504,7 +13962,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionLoaOutput(v **DescribeC if err := awsAwsjson11_deserializeDocumentLoa(&sv.Loa, value); err != nil { return err } - default: _, _ = key, value @@ -14540,7 +13997,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOnInterconnectOutput(v if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - default: _, _ = key, value @@ -14576,7 +14032,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - default: _, _ = key, value @@ -14612,7 +14067,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomerMetadataOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAgreementList(&sv.Agreements, value); err != nil { return err } - case "nniPartnerType": if value != nil { jtv, ok := value.(string) @@ -14621,7 +14075,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomerMetadataOutput(v **Descri } sv.NniPartnerType = types.NniPartnerType(jtv) } - default: _, _ = key, value @@ -14657,7 +14110,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationPr if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposalList(&sv.DirectConnectGatewayAssociationProposals, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14666,7 +14118,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationPr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14702,7 +14153,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationsO if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationList(&sv.DirectConnectGatewayAssociations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14711,7 +14161,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationsO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14747,7 +14196,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAttachmentsOu if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachmentList(&sv.DirectConnectGatewayAttachments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14756,7 +14204,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAttachmentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14792,7 +14239,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewaysOutput(v **D if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayList(&sv.DirectConnectGateways, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14801,7 +14247,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewaysOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14837,7 +14282,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHostedConnectionsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - default: _, _ = key, value @@ -14873,7 +14317,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInterconnectLoaOutput(v **Describ if err := awsAwsjson11_deserializeDocumentLoa(&sv.Loa, value); err != nil { return err } - default: _, _ = key, value @@ -14909,7 +14352,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInterconnectsOutput(v **DescribeI if err := awsAwsjson11_deserializeDocumentInterconnectList(&sv.Interconnects, value); err != nil { return err } - default: _, _ = key, value @@ -14945,7 +14387,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLagsOutput(v **DescribeLagsOutput if err := awsAwsjson11_deserializeDocumentLagList(&sv.Lags, value); err != nil { return err } - default: _, _ = key, value @@ -14989,7 +14430,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoaOutput(v **DescribeLoaOutput, } sv.LoaContent = dv } - case "loaContentType": if value != nil { jtv, ok := value.(string) @@ -14998,7 +14438,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoaOutput(v **DescribeLoaOutput, } sv.LoaContentType = types.LoaContentType(jtv) } - default: _, _ = key, value @@ -15034,7 +14473,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationsOutput(v **DescribeLocat if err := awsAwsjson11_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } - default: _, _ = key, value @@ -15074,12 +14512,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.CustomerRouterConfig = ptr.String(jtv) } - case "router": if err := awsAwsjson11_deserializeDocumentRouterType(&sv.Router, value); err != nil { return err } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -15088,7 +14524,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -15097,7 +14532,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.VirtualInterfaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -15133,7 +14567,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -15169,7 +14602,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVirtualGatewaysOutput(v **Describ if err := awsAwsjson11_deserializeDocumentVirtualGatewayList(&sv.VirtualGateways, value); err != nil { return err } - default: _, _ = key, value @@ -15205,7 +14637,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVirtualInterfacesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentVirtualInterfaceList(&sv.VirtualInterfaces, value); err != nil { return err } - default: _, _ = key, value @@ -15245,7 +14676,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -15254,7 +14684,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -15263,7 +14692,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -15272,7 +14700,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15281,7 +14708,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -15290,7 +14716,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -15299,7 +14724,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -15308,7 +14732,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -15317,7 +14740,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -15326,7 +14748,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -15335,7 +14756,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -15351,7 +14771,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } } - case "location": if value != nil { jtv, ok := value.(string) @@ -15360,7 +14779,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -15369,12 +14787,10 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -15383,7 +14799,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -15392,7 +14807,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -15401,7 +14815,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -15410,7 +14823,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -15419,12 +14831,10 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -15437,7 +14847,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -15477,12 +14886,10 @@ func awsAwsjson11_deserializeOpDocumentDisassociateMacSecKeyOutput(v **Disassoci } sv.ConnectionId = ptr.String(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - default: _, _ = key, value @@ -15522,12 +14929,10 @@ func awsAwsjson11_deserializeOpDocumentListVirtualInterfaceTestHistoryOutput(v * } sv.NextToken = ptr.String(jtv) } - case "virtualInterfaceTestHistory": if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistoryList(&sv.VirtualInterfaceTestHistory, value); err != nil { return err } - default: _, _ = key, value @@ -15563,7 +14968,6 @@ func awsAwsjson11_deserializeOpDocumentStartBgpFailoverTestOutput(v **StartBgpFa if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(&sv.VirtualInterfaceTest, value); err != nil { return err } - default: _, _ = key, value @@ -15599,7 +15003,6 @@ func awsAwsjson11_deserializeOpDocumentStopBgpFailoverTestOutput(v **StopBgpFail if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(&sv.VirtualInterfaceTest, value); err != nil { return err } - default: _, _ = key, value @@ -15701,7 +15104,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -15710,7 +15112,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -15719,7 +15120,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -15728,7 +15128,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Bandwidth = ptr.String(jtv) } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15737,7 +15136,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionId = ptr.String(jtv) } - case "connectionName": if value != nil { jtv, ok := value.(string) @@ -15746,7 +15144,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionName = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -15755,7 +15152,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -15764,7 +15160,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -15773,7 +15168,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -15782,7 +15176,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -15791,7 +15184,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.LagId = ptr.String(jtv) } - case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -15807,7 +15199,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - case "location": if value != nil { jtv, ok := value.(string) @@ -15816,7 +15207,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -15825,12 +15215,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -15839,7 +15227,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.OwnerAccount = ptr.String(jtv) } - case "partnerName": if value != nil { jtv, ok := value.(string) @@ -15848,7 +15235,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.PartnerName = ptr.String(jtv) } - case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -15857,7 +15243,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -15866,7 +15251,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -15875,12 +15259,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -15893,7 +15275,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Vlan = int32(i64) } - default: _, _ = key, value @@ -15929,7 +15310,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -15965,7 +15345,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectConnectGatewayOutput(v **Upda if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } - default: _, _ = key, value @@ -16005,7 +15384,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AllowsHostedConnections = jtv } - case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -16014,7 +15392,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -16023,7 +15400,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -16032,12 +15408,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -16046,7 +15420,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } - case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -16055,7 +15428,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } - case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -16064,7 +15436,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -16073,7 +15444,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "lagId": if value != nil { jtv, ok := value.(string) @@ -16082,7 +15452,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagId = ptr.String(jtv) } - case "lagName": if value != nil { jtv, ok := value.(string) @@ -16091,7 +15460,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagName = ptr.String(jtv) } - case "lagState": if value != nil { jtv, ok := value.(string) @@ -16100,7 +15468,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagState = types.LagState(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -16109,7 +15476,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.Location = ptr.String(jtv) } - case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -16118,12 +15484,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } - case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } - case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -16136,7 +15500,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.MinimumLinks = int32(i64) } - case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -16149,7 +15512,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.NumberOfConnections = int32(i64) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -16158,7 +15520,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -16167,7 +15528,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.ProviderName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -16176,12 +15536,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.Region = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16221,7 +15579,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AddressFamily = types.AddressFamily(jtv) } - case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -16230,7 +15587,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AmazonAddress = ptr.String(jtv) } - case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -16243,7 +15599,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AmazonSideAsn = ptr.Int64(i64) } - case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -16256,7 +15611,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Asn = int32(i64) } - case "authKey": if value != nil { jtv, ok := value.(string) @@ -16265,7 +15619,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AuthKey = ptr.String(jtv) } - case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -16274,7 +15627,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AwsDeviceV2 = ptr.String(jtv) } - case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -16283,12 +15635,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AwsLogicalDeviceId = ptr.String(jtv) } - case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } - case "connectionId": if value != nil { jtv, ok := value.(string) @@ -16297,7 +15647,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.ConnectionId = ptr.String(jtv) } - case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -16306,7 +15655,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.CustomerAddress = ptr.String(jtv) } - case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -16315,7 +15663,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.CustomerRouterConfig = ptr.String(jtv) } - case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -16324,7 +15671,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.DirectConnectGatewayId = ptr.String(jtv) } - case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -16333,7 +15679,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.JumboFrameCapable = ptr.Bool(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -16342,7 +15687,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Location = ptr.String(jtv) } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -16355,7 +15699,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Mtu = ptr.Int32(int32(i64)) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -16364,7 +15707,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.OwnerAccount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -16373,12 +15715,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Region = ptr.String(jtv) } - case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } - case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -16387,12 +15727,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.SiteLinkEnabled = ptr.Bool(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -16401,7 +15739,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualGatewayId = ptr.String(jtv) } - case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -16410,7 +15747,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceId = ptr.String(jtv) } - case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -16419,7 +15755,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceName = ptr.String(jtv) } - case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -16428,7 +15763,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } - case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -16437,7 +15771,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceType = ptr.String(jtv) } - case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -16450,7 +15783,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Vlan = int32(i64) } - default: _, _ = key, value diff --git a/service/directoryservice/deserializers.go b/service/directoryservice/deserializers.go index c0a6674a664..a9f99cd7d75 100644 --- a/service/directoryservice/deserializers.go +++ b/service/directoryservice/deserializers.go @@ -10080,15 +10080,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10096,7 +10090,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10105,15 +10098,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10184,7 +10173,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10193,7 +10181,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10257,15 +10244,9 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10273,7 +10254,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10282,15 +10262,11 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10361,12 +10337,10 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateId = ptr.String(jtv) } - case "ClientCertAuthSettings": if err := awsAwsjson11_deserializeDocumentClientCertAuthSettings(&sv.ClientCertAuthSettings, value); err != nil { return err } - case "CommonName": if value != nil { jtv, ok := value.(string) @@ -10375,7 +10349,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CommonName = ptr.String(jtv) } - case "ExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -10391,7 +10364,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "RegisteredDateTime": if value != nil { switch jtv := value.(type) { @@ -10407,7 +10379,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10416,7 +10387,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.State = types.CertificateState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10425,7 +10395,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.StateReason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10434,7 +10403,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Type = types.CertificateType(jtv) } - default: _, _ = key, value @@ -10464,15 +10432,9 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10480,7 +10442,6 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10489,15 +10450,11 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10522,15 +10479,9 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10538,7 +10489,6 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10547,15 +10497,11 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10590,7 +10536,6 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.CertificateId = ptr.String(jtv) } - case "CommonName": if value != nil { jtv, ok := value.(string) @@ -10599,7 +10544,6 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.CommonName = ptr.String(jtv) } - case "ExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -10615,7 +10559,6 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10624,7 +10567,6 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.State = types.CertificateState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10633,7 +10575,6 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.Type = types.CertificateType(jtv) } - default: _, _ = key, value @@ -10663,15 +10604,9 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10679,7 +10614,6 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10688,15 +10622,11 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10721,15 +10651,9 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10737,7 +10661,6 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10746,15 +10669,11 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10830,7 +10749,6 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10839,7 +10757,6 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } sv.Status = types.ClientAuthenticationStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10848,7 +10765,6 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } sv.Type = types.ClientAuthenticationType(jtv) } - default: _, _ = key, value @@ -10922,7 +10838,6 @@ func awsAwsjson11_deserializeDocumentClientCertAuthSettings(v **types.ClientCert } sv.OCSPUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10952,15 +10867,9 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10968,7 +10877,6 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10977,15 +10885,11 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11016,7 +10920,6 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac if err := awsAwsjson11_deserializeDocumentAttributes(&sv.ComputerAttributes, value); err != nil { return err } - case "ComputerId": if value != nil { jtv, ok := value.(string) @@ -11025,7 +10928,6 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac } sv.ComputerId = ptr.String(jtv) } - case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -11034,7 +10936,6 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac } sv.ComputerName = ptr.String(jtv) } - default: _, _ = key, value @@ -11070,7 +10971,6 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } - case "RemoteDomainName": if value != nil { jtv, ok := value.(string) @@ -11079,7 +10979,6 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF } sv.RemoteDomainName = ptr.String(jtv) } - case "ReplicationScope": if value != nil { jtv, ok := value.(string) @@ -11088,7 +10987,6 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF } sv.ReplicationScope = types.ReplicationScope(jtv) } - default: _, _ = key, value @@ -11152,15 +11050,9 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11168,7 +11060,6 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11177,15 +11068,11 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11210,15 +11097,9 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11226,7 +11107,6 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11235,15 +11115,11 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11310,12 +11186,10 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ if err := awsAwsjson11_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } - case "ConnectIps": if err := awsAwsjson11_deserializeDocumentIpAddrs(&sv.ConnectIps, value); err != nil { return err } - case "CustomerUserName": if value != nil { jtv, ok := value.(string) @@ -11324,7 +11198,6 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.CustomerUserName = ptr.String(jtv) } - case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -11333,12 +11206,10 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.SecurityGroupId = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11347,7 +11218,6 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -11387,7 +11257,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.AccessUrl = ptr.String(jtv) } - case "Alias": if value != nil { jtv, ok := value.(string) @@ -11396,12 +11265,10 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Alias = ptr.String(jtv) } - case "ConnectSettings": if err := awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(&sv.ConnectSettings, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11410,7 +11277,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Description = ptr.String(jtv) } - case "DesiredNumberOfDomainControllers": if value != nil { jtv, ok := value.(json.Number) @@ -11423,7 +11289,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -11432,12 +11297,10 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.DirectoryId = ptr.String(jtv) } - case "DnsIpAddrs": if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } - case "Edition": if value != nil { jtv, ok := value.(string) @@ -11446,7 +11309,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Edition = types.DirectoryEdition(jtv) } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -11462,7 +11324,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11471,7 +11332,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Name = ptr.String(jtv) } - case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -11480,17 +11340,14 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.OsVersion = types.OSVersion(jtv) } - case "OwnerDirectoryDescription": if err := awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(&sv.OwnerDirectoryDescription, value); err != nil { return err } - case "RadiusSettings": if err := awsAwsjson11_deserializeDocumentRadiusSettings(&sv.RadiusSettings, value); err != nil { return err } - case "RadiusStatus": if value != nil { jtv, ok := value.(string) @@ -11499,12 +11356,10 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.RadiusStatus = types.RadiusStatus(jtv) } - case "RegionsInfo": if err := awsAwsjson11_deserializeDocumentRegionsInfo(&sv.RegionsInfo, value); err != nil { return err } - case "ShareMethod": if value != nil { jtv, ok := value.(string) @@ -11513,7 +11368,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareMethod = types.ShareMethod(jtv) } - case "ShareNotes": if value != nil { jtv, ok := value.(string) @@ -11522,7 +11376,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareNotes = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11531,7 +11384,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareStatus = types.ShareStatus(jtv) } - case "ShortName": if value != nil { jtv, ok := value.(string) @@ -11540,7 +11392,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShortName = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(string) @@ -11549,7 +11400,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Size = types.DirectorySize(jtv) } - case "SsoEnabled": if value != nil { jtv, ok := value.(bool) @@ -11558,7 +11408,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.SsoEnabled = jtv } - case "Stage": if value != nil { jtv, ok := value.(string) @@ -11567,7 +11416,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Stage = types.DirectoryStage(jtv) } - case "StageLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11583,7 +11431,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } } - case "StageReason": if value != nil { jtv, ok := value.(string) @@ -11592,7 +11439,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.StageReason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11601,12 +11447,10 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Type = types.DirectoryType(jtv) } - case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(&sv.VpcSettings, value); err != nil { return err } - default: _, _ = key, value @@ -11670,15 +11514,9 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11686,7 +11524,6 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11695,15 +11532,11 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11728,15 +11561,9 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11744,7 +11571,6 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11753,15 +11579,11 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11786,15 +11608,9 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11802,7 +11618,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11811,15 +11626,11 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11858,7 +11669,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesCurrentCount = ptr.Int32(int32(i64)) } - case "CloudOnlyDirectoriesLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11871,7 +11681,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesLimit = ptr.Int32(int32(i64)) } - case "CloudOnlyDirectoriesLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11880,7 +11689,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesLimitReached = jtv } - case "CloudOnlyMicrosoftADCurrentCount": if value != nil { jtv, ok := value.(json.Number) @@ -11893,7 +11701,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADCurrentCount = ptr.Int32(int32(i64)) } - case "CloudOnlyMicrosoftADLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11906,7 +11713,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADLimit = ptr.Int32(int32(i64)) } - case "CloudOnlyMicrosoftADLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11915,7 +11721,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADLimitReached = jtv } - case "ConnectedDirectoriesCurrentCount": if value != nil { jtv, ok := value.(json.Number) @@ -11928,7 +11733,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesCurrentCount = ptr.Int32(int32(i64)) } - case "ConnectedDirectoriesLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11941,7 +11745,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesLimit = ptr.Int32(int32(i64)) } - case "ConnectedDirectoriesLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11950,7 +11753,6 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesLimitReached = jtv } - default: _, _ = key, value @@ -11980,15 +11782,9 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11996,7 +11792,6 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12005,15 +11800,11 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12038,15 +11829,9 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12054,7 +11839,6 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12063,15 +11847,11 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12102,7 +11882,6 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettings(v **types.DirectoryVpc if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -12111,7 +11890,6 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettings(v **types.DirectoryVpc } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12147,7 +11925,6 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D if err := awsAwsjson11_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } - case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -12156,12 +11933,10 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D } sv.SecurityGroupId = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -12170,7 +11945,6 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12246,7 +12020,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.AvailabilityZone = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -12255,7 +12028,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DirectoryId = ptr.String(jtv) } - case "DnsIpAddr": if value != nil { jtv, ok := value.(string) @@ -12264,7 +12036,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DnsIpAddr = ptr.String(jtv) } - case "DomainControllerId": if value != nil { jtv, ok := value.(string) @@ -12273,7 +12044,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DomainControllerId = ptr.String(jtv) } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -12289,7 +12059,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12298,7 +12067,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.Status = types.DomainControllerStatus(jtv) } - case "StatusLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12314,7 +12082,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -12323,7 +12090,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.StatusReason = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -12332,7 +12098,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -12341,7 +12106,6 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12371,15 +12135,9 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12387,7 +12145,6 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12396,15 +12153,11 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12463,15 +12216,9 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12479,7 +12226,6 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12488,15 +12234,11 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12521,15 +12263,9 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12537,7 +12273,6 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12546,15 +12281,11 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12596,7 +12327,6 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -12605,7 +12335,6 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.DirectoryId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12614,7 +12343,6 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.Status = types.TopicStatus(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -12623,7 +12351,6 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.TopicArn = ptr.String(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -12632,7 +12359,6 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -12696,15 +12422,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12712,7 +12432,6 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12721,15 +12440,11 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12754,15 +12469,9 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12770,7 +12479,6 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12779,15 +12487,11 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12812,15 +12516,9 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12828,7 +12526,6 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12837,15 +12534,11 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12870,15 +12563,9 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12886,7 +12573,6 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12895,15 +12581,11 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12928,15 +12610,9 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12944,7 +12620,6 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12953,15 +12628,11 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12986,15 +12657,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13002,7 +12667,6 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13011,15 +12675,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13044,15 +12704,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13060,7 +12714,6 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13069,15 +12722,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13102,15 +12751,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13118,7 +12761,6 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13127,15 +12769,11 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13160,15 +12798,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13176,7 +12808,6 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13185,15 +12816,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13271,7 +12898,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } } - case "CidrIp": if value != nil { jtv, ok := value.(string) @@ -13280,7 +12906,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.CidrIp = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13289,7 +12914,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.Description = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13298,7 +12922,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.DirectoryId = ptr.String(jtv) } - case "IpRouteStatusMsg": if value != nil { jtv, ok := value.(string) @@ -13307,7 +12930,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.IpRouteStatusMsg = types.IpRouteStatusMsg(jtv) } - case "IpRouteStatusReason": if value != nil { jtv, ok := value.(string) @@ -13316,7 +12938,6 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.IpRouteStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13346,15 +12967,9 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13362,7 +12977,6 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13371,15 +12985,11 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13455,7 +13065,6 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } } - case "LDAPSStatus": if value != nil { jtv, ok := value.(string) @@ -13464,7 +13073,6 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } sv.LDAPSStatus = types.LDAPSStatus(jtv) } - case "LDAPSStatusReason": if value != nil { jtv, ok := value.(string) @@ -13473,7 +13081,6 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } sv.LDAPSStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13547,7 +13154,6 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } sv.DirectoryId = ptr.String(jtv) } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -13556,7 +13162,6 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } sv.LogGroupName = ptr.String(jtv) } - case "SubscriptionCreatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13572,7 +13177,6 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } } - default: _, _ = key, value @@ -13636,15 +13240,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13652,7 +13250,6 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13661,15 +13258,11 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13694,15 +13287,9 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13710,7 +13297,6 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13719,15 +13305,11 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13762,7 +13344,6 @@ func awsAwsjson11_deserializeDocumentOSUpdateSettings(v **types.OSUpdateSettings } sv.OSVersion = types.OSVersion(jtv) } - default: _, _ = key, value @@ -13802,7 +13383,6 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.AccountId = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13811,17 +13391,14 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.DirectoryId = ptr.String(jtv) } - case "DnsIpAddrs": if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } - case "RadiusSettings": if err := awsAwsjson11_deserializeDocumentRadiusSettings(&sv.RadiusSettings, value); err != nil { return err } - case "RadiusStatus": if value != nil { jtv, ok := value.(string) @@ -13830,12 +13407,10 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.RadiusStatus = types.RadiusStatus(jtv) } - case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(&sv.VpcSettings, value); err != nil { return err } - default: _, _ = key, value @@ -13875,7 +13450,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.AuthenticationProtocol = types.RadiusAuthenticationProtocol(jtv) } - case "DisplayLabel": if value != nil { jtv, ok := value.(string) @@ -13884,7 +13458,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.DisplayLabel = ptr.String(jtv) } - case "RadiusPort": if value != nil { jtv, ok := value.(json.Number) @@ -13897,7 +13470,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusPort = ptr.Int32(int32(i64)) } - case "RadiusRetries": if value != nil { jtv, ok := value.(json.Number) @@ -13910,12 +13482,10 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusRetries = int32(i64) } - case "RadiusServers": if err := awsAwsjson11_deserializeDocumentServers(&sv.RadiusServers, value); err != nil { return err } - case "RadiusTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -13928,7 +13498,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusTimeout = ptr.Int32(int32(i64)) } - case "SharedSecret": if value != nil { jtv, ok := value.(string) @@ -13937,7 +13506,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.SharedSecret = ptr.String(jtv) } - case "UseSameUsername": if value != nil { jtv, ok := value.(bool) @@ -13946,7 +13514,6 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.UseSameUsername = jtv } - default: _, _ = key, value @@ -13990,7 +13557,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13999,7 +13565,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.DirectoryId = ptr.String(jtv) } - case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14015,7 +13580,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -14031,7 +13595,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } - case "RegionName": if value != nil { jtv, ok := value.(string) @@ -14040,7 +13603,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.RegionName = ptr.String(jtv) } - case "RegionType": if value != nil { jtv, ok := value.(string) @@ -14049,7 +13611,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.RegionType = types.RegionType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14058,7 +13619,6 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.Status = types.DirectoryStage(jtv) } - case "StatusLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14074,12 +13634,10 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } - case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettings(&sv.VpcSettings, value); err != nil { return err } - default: _, _ = key, value @@ -14109,15 +13667,9 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14125,7 +13677,6 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14134,15 +13685,11 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14207,7 +13754,6 @@ func awsAwsjson11_deserializeDocumentRegionsInfo(v **types.RegionsInfo, value in if err := awsAwsjson11_deserializeDocumentAdditionalRegions(&sv.AdditionalRegions, value); err != nil { return err } - case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -14216,7 +13762,6 @@ func awsAwsjson11_deserializeDocumentRegionsInfo(v **types.RegionsInfo, value in } sv.PrimaryRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -14256,7 +13801,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.Description = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -14265,7 +13809,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.DirectoryId = ptr.String(jtv) } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -14281,7 +13824,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } } - case "SchemaExtensionId": if value != nil { jtv, ok := value.(string) @@ -14290,7 +13832,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionId = ptr.String(jtv) } - case "SchemaExtensionStatus": if value != nil { jtv, ok := value.(string) @@ -14299,7 +13840,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionStatus = types.SchemaExtensionStatus(jtv) } - case "SchemaExtensionStatusReason": if value != nil { jtv, ok := value.(string) @@ -14308,7 +13848,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionStatusReason = ptr.String(jtv) } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -14324,7 +13863,6 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } } - default: _, _ = key, value @@ -14424,15 +13962,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14440,7 +13972,6 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14449,15 +13980,11 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14526,7 +14053,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.AllowedValues = ptr.String(jtv) } - case "AppliedValue": if value != nil { jtv, ok := value.(string) @@ -14535,7 +14061,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.AppliedValue = ptr.String(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -14544,7 +14069,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.DataType = ptr.String(jtv) } - case "LastRequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -14560,7 +14084,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } } - case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14576,7 +14099,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14585,12 +14107,10 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.Name = ptr.String(jtv) } - case "RequestDetailedStatus": if err := awsAwsjson11_deserializeDocumentDirectoryConfigurationSettingRequestDetailedStatus(&sv.RequestDetailedStatus, value); err != nil { return err } - case "RequestedValue": if value != nil { jtv, ok := value.(string) @@ -14599,7 +14119,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestedValue = ptr.String(jtv) } - case "RequestStatus": if value != nil { jtv, ok := value.(string) @@ -14608,7 +14127,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestStatus = types.DirectoryConfigurationStatus(jtv) } - case "RequestStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14617,7 +14135,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestStatusMessage = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14626,7 +14143,6 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -14707,7 +14223,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } } - case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14723,7 +14238,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -14732,7 +14246,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.OwnerAccountId = ptr.String(jtv) } - case "OwnerDirectoryId": if value != nil { jtv, ok := value.(string) @@ -14741,7 +14254,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.OwnerDirectoryId = ptr.String(jtv) } - case "SharedAccountId": if value != nil { jtv, ok := value.(string) @@ -14750,7 +14262,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.SharedAccountId = ptr.String(jtv) } - case "SharedDirectoryId": if value != nil { jtv, ok := value.(string) @@ -14759,7 +14270,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.SharedDirectoryId = ptr.String(jtv) } - case "ShareMethod": if value != nil { jtv, ok := value.(string) @@ -14768,7 +14278,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareMethod = types.ShareMethod(jtv) } - case "ShareNotes": if value != nil { jtv, ok := value.(string) @@ -14777,7 +14286,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareNotes = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -14786,7 +14294,6 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareStatus = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -14816,15 +14323,9 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14832,7 +14333,6 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14841,15 +14341,11 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14884,7 +14380,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.DirectoryId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14893,7 +14388,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -14902,7 +14396,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14918,7 +14411,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14927,7 +14419,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = types.SnapshotStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14936,7 +14427,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Type = types.SnapshotType(jtv) } - default: _, _ = key, value @@ -14966,15 +14456,9 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14982,7 +14466,6 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14991,15 +14474,11 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15038,7 +14517,6 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsCurrentCount = ptr.Int32(int32(i64)) } - case "ManualSnapshotsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15051,7 +14529,6 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsLimit = ptr.Int32(int32(i64)) } - case "ManualSnapshotsLimitReached": if value != nil { jtv, ok := value.(bool) @@ -15060,7 +14537,6 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsLimitReached = jtv } - default: _, _ = key, value @@ -15170,7 +14646,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15179,7 +14654,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15209,15 +14683,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15225,7 +14693,6 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15234,15 +14701,11 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15318,7 +14781,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -15327,7 +14789,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.DirectoryId = ptr.String(jtv) } - case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15343,7 +14804,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } - case "RemoteDomainName": if value != nil { jtv, ok := value.(string) @@ -15352,7 +14812,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.RemoteDomainName = ptr.String(jtv) } - case "SelectiveAuth": if value != nil { jtv, ok := value.(string) @@ -15361,7 +14820,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.SelectiveAuth = types.SelectiveAuth(jtv) } - case "StateLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15377,7 +14835,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } - case "TrustDirection": if value != nil { jtv, ok := value.(string) @@ -15386,7 +14843,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustDirection = types.TrustDirection(jtv) } - case "TrustId": if value != nil { jtv, ok := value.(string) @@ -15395,7 +14851,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustId = ptr.String(jtv) } - case "TrustState": if value != nil { jtv, ok := value.(string) @@ -15404,7 +14859,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustState = types.TrustState(jtv) } - case "TrustStateReason": if value != nil { jtv, ok := value.(string) @@ -15413,7 +14867,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustStateReason = ptr.String(jtv) } - case "TrustType": if value != nil { jtv, ok := value.(string) @@ -15422,7 +14875,6 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustType = types.TrustType(jtv) } - default: _, _ = key, value @@ -15486,15 +14938,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15502,7 +14948,6 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15511,15 +14956,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15544,15 +14985,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15560,7 +14995,6 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15569,15 +15003,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15646,7 +15076,6 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.InitiatedBy = ptr.String(jtv) } - case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15662,17 +15091,14 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } } - case "NewValue": if err := awsAwsjson11_deserializeDocumentUpdateValue(&sv.NewValue, value); err != nil { return err } - case "PreviousValue": if err := awsAwsjson11_deserializeDocumentUpdateValue(&sv.PreviousValue, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -15681,7 +15107,6 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.Region = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -15697,7 +15122,6 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15706,7 +15130,6 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.Status = types.UpdateStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -15715,7 +15138,6 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -15751,7 +15173,6 @@ func awsAwsjson11_deserializeDocumentUpdateValue(v **types.UpdateValue, value in if err := awsAwsjson11_deserializeDocumentOSUpdateSettings(&sv.OSUpdateSettings, value); err != nil { return err } - default: _, _ = key, value @@ -15781,15 +15202,9 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15797,7 +15212,6 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15806,15 +15220,11 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15845,7 +15255,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptSharedDirectoryOutput(v **AcceptSha if err := awsAwsjson11_deserializeDocumentSharedDirectory(&sv.SharedDirectory, value); err != nil { return err } - default: _, _ = key, value @@ -16009,7 +15418,6 @@ func awsAwsjson11_deserializeOpDocumentConnectDirectoryOutput(v **ConnectDirecto } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16049,7 +15457,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Alias = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -16058,7 +15465,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16094,7 +15500,6 @@ func awsAwsjson11_deserializeOpDocumentCreateComputerOutput(v **CreateComputerOu if err := awsAwsjson11_deserializeDocumentComputer(&sv.Computer, value); err != nil { return err } - default: _, _ = key, value @@ -16165,7 +15570,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16236,7 +15640,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMicrosoftADOutput(v **CreateMicroso } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16276,7 +15679,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.SnapshotId = ptr.String(jtv) } - default: _, _ = key, value @@ -16316,7 +15718,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrustOutput(v **CreateTrustOutput, } sv.TrustId = ptr.String(jtv) } - default: _, _ = key, value @@ -16387,7 +15788,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectoryOutput(v **DeleteDirectory } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -16458,7 +15858,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.SnapshotId = ptr.String(jtv) } - default: _, _ = key, value @@ -16498,7 +15897,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrustOutput(v **DeleteTrustOutput, } sv.TrustId = ptr.String(jtv) } - default: _, _ = key, value @@ -16596,7 +15994,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } - default: _, _ = key, value @@ -16632,7 +16029,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientAuthenticationSettingsOutpu if err := awsAwsjson11_deserializeDocumentClientAuthenticationSettingsInfo(&sv.ClientAuthenticationSettingsInfo, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16641,7 +16037,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientAuthenticationSettingsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16677,7 +16072,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConditionalForwardersOutput(v **D if err := awsAwsjson11_deserializeDocumentConditionalForwarders(&sv.ConditionalForwarders, value); err != nil { return err } - default: _, _ = key, value @@ -16713,7 +16107,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoriesOutput(v **DescribeDir if err := awsAwsjson11_deserializeDocumentDirectoryDescriptions(&sv.DirectoryDescriptions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16722,7 +16115,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoriesOutput(v **DescribeDir } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16762,7 +16154,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryDataAccessOutput(v **Des } sv.DataAccessStatus = types.DataAccessStatus(jtv) } - default: _, _ = key, value @@ -16798,7 +16189,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainControllersOutput(v **Descr if err := awsAwsjson11_deserializeDocumentDomainControllers(&sv.DomainControllers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16807,7 +16197,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainControllersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16843,7 +16232,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTopicsOutput(v **DescribeEve if err := awsAwsjson11_deserializeDocumentEventTopics(&sv.EventTopics, value); err != nil { return err } - default: _, _ = key, value @@ -16879,7 +16267,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLDAPSSettingsOutput(v **DescribeL if err := awsAwsjson11_deserializeDocumentLDAPSSettingsInfo(&sv.LDAPSSettingsInfo, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16888,7 +16275,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLDAPSSettingsOutput(v **DescribeL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16928,12 +16314,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegionsOutput(v **DescribeRegions } sv.NextToken = ptr.String(jtv) } - case "RegionsDescription": if err := awsAwsjson11_deserializeDocumentRegionsDescription(&sv.RegionsDescription, value); err != nil { return err } - default: _, _ = key, value @@ -16973,7 +16357,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSettingsOutput(v **DescribeSettin } sv.DirectoryId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16982,12 +16365,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSettingsOutput(v **DescribeSettin } sv.NextToken = ptr.String(jtv) } - case "SettingEntries": if err := awsAwsjson11_deserializeDocumentSettingEntries(&sv.SettingEntries, value); err != nil { return err } - default: _, _ = key, value @@ -17027,12 +16408,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSharedDirectoriesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "SharedDirectories": if err := awsAwsjson11_deserializeDocumentSharedDirectories(&sv.SharedDirectories, value); err != nil { return err } - default: _, _ = key, value @@ -17072,12 +16451,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } - case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshots(&sv.Snapshots, value); err != nil { return err } - default: _, _ = key, value @@ -17117,12 +16494,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustsOutput(v **DescribeTrustsOu } sv.NextToken = ptr.String(jtv) } - case "Trusts": if err := awsAwsjson11_deserializeDocumentTrusts(&sv.Trusts, value); err != nil { return err } - default: _, _ = key, value @@ -17162,12 +16537,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUpdateDirectoryOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "UpdateActivities": if err := awsAwsjson11_deserializeDocumentUpdateActivities(&sv.UpdateActivities, value); err != nil { return err } - default: _, _ = key, value @@ -17513,7 +16886,6 @@ func awsAwsjson11_deserializeOpDocumentGetDirectoryLimitsOutput(v **GetDirectory if err := awsAwsjson11_deserializeDocumentDirectoryLimits(&sv.DirectoryLimits, value); err != nil { return err } - default: _, _ = key, value @@ -17549,7 +16921,6 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotLimitsOutput(v **GetSnapshotLi if err := awsAwsjson11_deserializeDocumentSnapshotLimits(&sv.SnapshotLimits, value); err != nil { return err } - default: _, _ = key, value @@ -17585,7 +16956,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentCertificatesInfo(&sv.CertificatesInfo, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17594,7 +16964,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17630,7 +16999,6 @@ func awsAwsjson11_deserializeOpDocumentListIpRoutesOutput(v **ListIpRoutesOutput if err := awsAwsjson11_deserializeDocumentIpRoutesInfo(&sv.IpRoutesInfo, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17639,7 +17007,6 @@ func awsAwsjson11_deserializeOpDocumentListIpRoutesOutput(v **ListIpRoutesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17675,7 +17042,6 @@ func awsAwsjson11_deserializeOpDocumentListLogSubscriptionsOutput(v **ListLogSub if err := awsAwsjson11_deserializeDocumentLogSubscriptions(&sv.LogSubscriptions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17684,7 +17050,6 @@ func awsAwsjson11_deserializeOpDocumentListLogSubscriptionsOutput(v **ListLogSub } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17724,12 +17089,10 @@ func awsAwsjson11_deserializeOpDocumentListSchemaExtensionsOutput(v **ListSchema } sv.NextToken = ptr.String(jtv) } - case "SchemaExtensionsInfo": if err := awsAwsjson11_deserializeDocumentSchemaExtensionsInfo(&sv.SchemaExtensionsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -17769,12 +17132,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17814,7 +17175,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -17885,7 +17245,6 @@ func awsAwsjson11_deserializeOpDocumentRejectSharedDirectoryOutput(v **RejectSha } sv.SharedDirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -18080,7 +17439,6 @@ func awsAwsjson11_deserializeOpDocumentShareDirectoryOutput(v **ShareDirectoryOu } sv.SharedDirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -18120,7 +17478,6 @@ func awsAwsjson11_deserializeOpDocumentStartSchemaExtensionOutput(v **StartSchem } sv.SchemaExtensionId = ptr.String(jtv) } - default: _, _ = key, value @@ -18160,7 +17517,6 @@ func awsAwsjson11_deserializeOpDocumentUnshareDirectoryOutput(v **UnshareDirecto } sv.SharedDirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -18324,7 +17680,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSettingsOutput(v **UpdateSettingsOu } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -18364,7 +17719,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrustOutput(v **UpdateTrustOutput, } sv.RequestId = ptr.String(jtv) } - case "TrustId": if value != nil { jtv, ok := value.(string) @@ -18373,7 +17727,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrustOutput(v **UpdateTrustOutput, } sv.TrustId = ptr.String(jtv) } - default: _, _ = key, value @@ -18413,7 +17766,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyTrustOutput(v **VerifyTrustOutput, } sv.TrustId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/directoryservicedata/deserializers.go b/service/directoryservicedata/deserializers.go index f96bd371caf..fb4678f22ee 100644 --- a/service/directoryservicedata/deserializers.go +++ b/service/directoryservicedata/deserializers.go @@ -297,7 +297,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.DirectoryId = ptr.String(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -306,7 +305,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -315,7 +313,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -486,7 +483,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.DirectoryId = ptr.String(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -495,7 +491,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -504,7 +499,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -887,7 +881,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DirectoryId = ptr.String(jtv) } - case "DistinguishedName": if value != nil { jtv, ok := value.(string) @@ -896,7 +889,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DistinguishedName = ptr.String(jtv) } - case "GroupScope": if value != nil { jtv, ok := value.(string) @@ -905,7 +897,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupScope = types.GroupScope(jtv) } - case "GroupType": if value != nil { jtv, ok := value.(string) @@ -914,12 +905,10 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupType = types.GroupType(jtv) } - case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -928,7 +917,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Realm = ptr.String(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -937,7 +925,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -946,7 +933,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -1117,7 +1103,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DirectoryId = ptr.String(jtv) } - case "DistinguishedName": if value != nil { jtv, ok := value.(string) @@ -1126,7 +1111,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DistinguishedName = ptr.String(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -1135,7 +1119,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.EmailAddress = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -1144,7 +1127,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Enabled = ptr.Bool(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -1153,12 +1135,10 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.GivenName = ptr.String(jtv) } - case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -1167,7 +1147,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Realm = ptr.String(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -1176,7 +1155,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -1185,7 +1163,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.SID = ptr.String(jtv) } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -1194,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Surname = ptr.String(jtv) } - case "UserPrincipalName": if value != nil { jtv, ok := value.(string) @@ -1203,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserPrincipalName = ptr.String(jtv) } - default: _, _ = key, value @@ -1480,7 +1455,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.DirectoryId = ptr.String(jtv) } - case "MemberRealm": if value != nil { jtv, ok := value.(string) @@ -1489,12 +1463,10 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.MemberRealm = ptr.String(jtv) } - case "Members": if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1503,7 +1475,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -1512,7 +1483,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.Realm = ptr.String(jtv) } - default: _, _ = key, value @@ -1680,12 +1650,10 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.DirectoryId = ptr.String(jtv) } - case "Groups": if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1694,7 +1662,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -1703,7 +1670,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.Realm = ptr.String(jtv) } - default: _, _ = key, value @@ -1874,12 +1840,10 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.DirectoryId = ptr.String(jtv) } - case "Groups": if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } - case "MemberRealm": if value != nil { jtv, ok := value.(string) @@ -1888,7 +1852,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.MemberRealm = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1897,7 +1860,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -1906,7 +1868,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.Realm = ptr.String(jtv) } - default: _, _ = key, value @@ -2074,7 +2035,6 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.DirectoryId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2083,7 +2043,6 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -2092,12 +2051,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.Realm = ptr.String(jtv) } - case "Users": if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -2371,12 +2328,10 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.DirectoryId = ptr.String(jtv) } - case "Groups": if err := awsRestjson1_deserializeDocumentGroupList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2385,7 +2340,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -2394,7 +2348,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.Realm = ptr.String(jtv) } - default: _, _ = key, value @@ -2562,7 +2515,6 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.DirectoryId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2571,7 +2523,6 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.NextToken = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -2580,12 +2531,10 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.Realm = ptr.String(jtv) } - case "Users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -3099,15 +3048,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3115,7 +3058,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -3124,15 +3066,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3269,15 +3207,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3285,15 +3217,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3318,15 +3246,9 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3334,7 +3256,6 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -3343,15 +3264,11 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Reason = types.DirectoryUnavailableReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3386,7 +3303,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DistinguishedName = ptr.String(jtv) } - case "GroupScope": if value != nil { jtv, ok := value.(string) @@ -3395,7 +3311,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupScope = types.GroupScope(jtv) } - case "GroupType": if value != nil { jtv, ok := value.(string) @@ -3404,12 +3319,10 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupType = types.GroupType(jtv) } - case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3418,7 +3331,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -3427,7 +3339,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -3501,7 +3412,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupScope = types.GroupScope(jtv) } - case "GroupType": if value != nil { jtv, ok := value.(string) @@ -3510,7 +3420,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupType = types.GroupType(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3519,7 +3428,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -3528,7 +3436,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -3592,15 +3499,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3608,15 +3509,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3651,7 +3548,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberType = types.MemberType(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3660,7 +3556,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -3669,7 +3564,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.SID = ptr.String(jtv) } - default: _, _ = key, value @@ -3733,15 +3627,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3749,15 +3637,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3818,15 +3702,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3834,7 +3712,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3847,15 +3724,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3890,7 +3763,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DistinguishedName = ptr.String(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -3899,7 +3771,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -3908,7 +3779,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Enabled = ptr.Bool(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3917,12 +3787,10 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.GivenName = ptr.String(jtv) } - case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3931,7 +3799,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -3940,7 +3807,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.SID = ptr.String(jtv) } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -3949,7 +3815,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Surname = ptr.String(jtv) } - case "UserPrincipalName": if value != nil { jtv, ok := value.(string) @@ -3958,7 +3823,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserPrincipalName = ptr.String(jtv) } - default: _, _ = key, value @@ -4032,7 +3896,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Enabled = ptr.Bool(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -4041,7 +3904,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.GivenName = ptr.String(jtv) } - case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3912,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.SAMAccountName = ptr.String(jtv) } - case "SID": if value != nil { jtv, ok := value.(string) @@ -4059,7 +3920,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.SID = ptr.String(jtv) } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -4068,7 +3928,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Surname = ptr.String(jtv) } - default: _, _ = key, value @@ -4132,15 +3991,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4148,7 +4001,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -4157,15 +4009,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/dlm/deserializers.go b/service/dlm/deserializers.go index 49d231c7bdd..4509cdd3195 100644 --- a/service/dlm/deserializers.go +++ b/service/dlm/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.PolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -436,7 +435,6 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePoliciesOutput(v **GetLifecyc if err := awsRestjson1_deserializeDocumentLifecyclePolicySummaryList(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -594,7 +592,6 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle if err := awsRestjson1_deserializeDocumentLifecyclePolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -752,7 +749,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1217,7 +1213,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentCrossRegionCopyActionList(&sv.CrossRegionCopy, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1226,7 +1221,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1296,7 +1290,6 @@ func awsRestjson1_deserializeDocumentArchiveRetainRule(v **types.ArchiveRetainRu if err := awsRestjson1_deserializeDocumentRetentionArchiveTier(&sv.RetentionArchiveTier, value); err != nil { return err } - default: _, _ = key, value @@ -1332,7 +1325,6 @@ func awsRestjson1_deserializeDocumentArchiveRule(v **types.ArchiveRule, value in if err := awsRestjson1_deserializeDocumentArchiveRetainRule(&sv.RetainRule, value); err != nil { return err } - default: _, _ = key, value @@ -1408,7 +1400,6 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.CronExpression = ptr.String(jtv) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -1421,7 +1412,6 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1430,7 +1420,6 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.IntervalUnit = types.IntervalUnitValues(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -1439,17 +1428,14 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.Location = types.LocationValues(jtv) } - case "Scripts": if err := awsRestjson1_deserializeDocumentScriptsList(&sv.Scripts, value); err != nil { return err } - case "Times": if err := awsRestjson1_deserializeDocumentTimesList(&sv.Times, value); err != nil { return err } - default: _, _ = key, value @@ -1485,12 +1471,10 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyAction(v **types.CrossRegion if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "RetainRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(&sv.RetainRule, value); err != nil { return err } - case "Target": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1483,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyAction(v **types.CrossRegion } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -1577,7 +1560,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(v **types.Cros } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1586,7 +1568,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(v **types.Cros } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -1630,7 +1611,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(v **types.CrossRe } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1639,7 +1619,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(v **types.CrossRe } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -1679,7 +1658,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.CmkArn = ptr.String(jtv) } - case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -1688,12 +1666,10 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.CopyTags = ptr.Bool(jtv) } - case "DeprecateRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(&sv.DeprecateRule, value); err != nil { return err } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -1702,12 +1678,10 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.Encrypted = ptr.Bool(jtv) } - case "RetainRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(&sv.RetainRule, value); err != nil { return err } - case "Target": if value != nil { jtv, ok := value.(string) @@ -1716,7 +1690,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.Target = ptr.String(jtv) } - case "TargetRegion": if value != nil { jtv, ok := value.(string) @@ -1725,7 +1698,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.TargetRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -1799,7 +1771,6 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyTarget(v **types.CrossRegion } sv.TargetRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -1877,7 +1848,6 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.Count = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -1890,7 +1860,6 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1899,7 +1868,6 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -1939,7 +1907,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.CmkArn = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -1948,7 +1915,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Encrypted = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1988,7 +1954,6 @@ func awsRestjson1_deserializeDocumentEventParameters(v **types.EventParameters, } sv.DescriptionRegex = ptr.String(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -1997,12 +1962,10 @@ func awsRestjson1_deserializeDocumentEventParameters(v **types.EventParameters, } sv.EventType = types.EventTypeValues(jtv) } - case "SnapshotOwner": if err := awsRestjson1_deserializeDocumentSnapshotOwnerList(&sv.SnapshotOwner, value); err != nil { return err } - default: _, _ = key, value @@ -2038,7 +2001,6 @@ func awsRestjson1_deserializeDocumentEventSource(v **types.EventSource, value in if err := awsRestjson1_deserializeDocumentEventParameters(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2047,7 +2009,6 @@ func awsRestjson1_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Type = types.EventSourceValues(jtv) } - default: _, _ = key, value @@ -2191,17 +2152,14 @@ func awsRestjson1_deserializeDocumentExclusions(v **types.Exclusions, value inte } sv.ExcludeBootVolumes = ptr.Bool(jtv) } - case "ExcludeTags": if err := awsRestjson1_deserializeDocumentExcludeTagsList(&sv.ExcludeTags, value); err != nil { return err } - case "ExcludeVolumeTypes": if err := awsRestjson1_deserializeDocumentExcludeVolumeTypesList(&sv.ExcludeVolumeTypes, value); err != nil { return err } - default: _, _ = key, value @@ -2237,7 +2195,6 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, if err := awsRestjson1_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -2250,7 +2207,6 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.Count = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -2263,7 +2219,6 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -2272,7 +2227,6 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -2302,13 +2256,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -2318,8 +2266,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2327,15 +2274,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2360,13 +2303,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -2376,8 +2313,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2385,25 +2321,19 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "MutuallyExclusiveParameters": if err := awsRestjson1_deserializeDocumentParameterList(&sv.MutuallyExclusiveParameters, value); err != nil { return err } - case "RequiredParameters": if err := awsRestjson1_deserializeDocumentParameterList(&sv.RequiredParameters, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2442,7 +2372,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DateCreated = ptr.Time(t) } - case "DateModified": if value != nil { jtv, ok := value.(string) @@ -2455,7 +2384,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DateModified = ptr.Time(t) } - case "DefaultPolicy": if value != nil { jtv, ok := value.(bool) @@ -2464,7 +2392,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DefaultPolicy = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2473,7 +2400,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Description = ptr.String(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2482,7 +2408,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ExecutionRoleArn = ptr.String(jtv) } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -2491,12 +2416,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.PolicyArn = ptr.String(jtv) } - case "PolicyDetails": if err := awsRestjson1_deserializeDocumentPolicyDetails(&sv.PolicyDetails, value); err != nil { return err } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -2505,7 +2428,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.PolicyId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2514,7 +2436,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.State = types.GettablePolicyStateValues(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2523,12 +2444,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.StatusMessage = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2568,7 +2487,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.DefaultPolicy = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2577,7 +2495,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2503,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyId = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2511,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyType = types.PolicyTypeValues(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2604,12 +2519,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.State = types.GettablePolicyStateValues(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2673,13 +2586,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -2689,8 +2596,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2698,7 +2604,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2707,15 +2612,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2786,12 +2687,10 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte } sv.ExcludeBootVolume = ptr.Bool(jtv) } - case "ExcludeDataVolumeTags": if err := awsRestjson1_deserializeDocumentExcludeDataVolumeTagList(&sv.ExcludeDataVolumeTags, value); err != nil { return err } - case "NoReboot": if value != nil { jtv, ok := value.(bool) @@ -2800,7 +2699,6 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte } sv.NoReboot = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2836,7 +2734,6 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -2845,7 +2742,6 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.CopyTags = ptr.Bool(jtv) } - case "CreateInterval": if value != nil { jtv, ok := value.(json.Number) @@ -2858,22 +2754,18 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.CreateInterval = ptr.Int32(int32(i64)) } - case "CrossRegionCopyTargets": if err := awsRestjson1_deserializeDocumentCrossRegionCopyTargetList(&sv.CrossRegionCopyTargets, value); err != nil { return err } - case "EventSource": if err := awsRestjson1_deserializeDocumentEventSource(&sv.EventSource, value); err != nil { return err } - case "Exclusions": if err := awsRestjson1_deserializeDocumentExclusions(&sv.Exclusions, value); err != nil { return err } - case "ExtendDeletion": if value != nil { jtv, ok := value.(bool) @@ -2882,12 +2774,10 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.ExtendDeletion = ptr.Bool(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "PolicyLanguage": if value != nil { jtv, ok := value.(string) @@ -2896,7 +2786,6 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.PolicyLanguage = types.PolicyLanguageValues(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2905,12 +2794,10 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.PolicyType = types.PolicyTypeValues(jtv) } - case "ResourceLocations": if err := awsRestjson1_deserializeDocumentResourceLocationList(&sv.ResourceLocations, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2919,12 +2806,10 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.ResourceType = types.ResourceTypeValues(jtv) } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeValuesList(&sv.ResourceTypes, value); err != nil { return err } - case "RetainInterval": if value != nil { jtv, ok := value.(json.Number) @@ -2937,17 +2822,14 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.RetainInterval = ptr.Int32(int32(i64)) } - case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } - case "TargetTags": if err := awsRestjson1_deserializeDocumentTargetTagList(&sv.TargetTags, value); err != nil { return err } - default: _, _ = key, value @@ -3049,13 +2931,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -3065,8 +2941,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3074,12 +2949,10 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceIds": if err := awsRestjson1_deserializeDocumentPolicyIdList(&sv.ResourceIds, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3088,15 +2961,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3171,7 +3040,6 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.Count = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -3184,7 +3052,6 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3193,7 +3060,6 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -3237,7 +3103,6 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.Count = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -3250,7 +3115,6 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.Interval = ptr.Int32(int32(i64)) } - case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3259,7 +3123,6 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -3295,7 +3158,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac if err := awsRestjson1_deserializeDocumentArchiveRule(&sv.ArchiveRule, value); err != nil { return err } - case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -3304,27 +3166,22 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CopyTags = ptr.Bool(jtv) } - case "CreateRule": if err := awsRestjson1_deserializeDocumentCreateRule(&sv.CreateRule, value); err != nil { return err } - case "CrossRegionCopyRules": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRules(&sv.CrossRegionCopyRules, value); err != nil { return err } - case "DeprecateRule": if err := awsRestjson1_deserializeDocumentDeprecateRule(&sv.DeprecateRule, value); err != nil { return err } - case "FastRestoreRule": if err := awsRestjson1_deserializeDocumentFastRestoreRule(&sv.FastRestoreRule, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3333,27 +3190,22 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Name = ptr.String(jtv) } - case "RetainRule": if err := awsRestjson1_deserializeDocumentRetainRule(&sv.RetainRule, value); err != nil { return err } - case "ShareRules": if err := awsRestjson1_deserializeDocumentShareRules(&sv.ShareRules, value); err != nil { return err } - case "TagsToAdd": if err := awsRestjson1_deserializeDocumentTagsToAddList(&sv.TagsToAdd, value); err != nil { return err } - case "VariableTags": if err := awsRestjson1_deserializeDocumentVariableTagsList(&sv.VariableTags, value); err != nil { return err } - default: _, _ = key, value @@ -3427,7 +3279,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecuteOperationOnScriptFailure = ptr.Bool(jtv) } - case "ExecutionHandler": if value != nil { jtv, ok := value.(string) @@ -3436,7 +3287,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionHandler = ptr.String(jtv) } - case "ExecutionHandlerService": if value != nil { jtv, ok := value.(string) @@ -3445,7 +3295,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionHandlerService = types.ExecutionHandlerServiceValues(jtv) } - case "ExecutionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -3458,7 +3307,6 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionTimeout = ptr.Int32(int32(i64)) } - case "MaximumRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -3471,12 +3319,10 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.MaximumRetryCount = ptr.Int32(int32(i64)) } - case "Stages": if err := awsRestjson1_deserializeDocumentStagesList(&sv.Stages, value); err != nil { return err } - default: _, _ = key, value @@ -3546,7 +3392,6 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf if err := awsRestjson1_deserializeDocumentShareTargetAccountList(&sv.TargetAccounts, value); err != nil { return err } - case "UnshareInterval": if value != nil { jtv, ok := value.(json.Number) @@ -3559,7 +3404,6 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf } sv.UnshareInterval = ptr.Int32(int32(i64)) } - case "UnshareIntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3568,7 +3412,6 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf } sv.UnshareIntervalUnit = types.RetentionIntervalUnitValues(jtv) } - default: _, _ = key, value @@ -3750,7 +3593,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3759,7 +3601,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/docdbelastic/deserializers.go b/service/docdbelastic/deserializers.go index 6dd189f0e8a..d33e4dc5f4a 100644 --- a/service/docdbelastic/deserializers.go +++ b/service/docdbelastic/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentApplyPendingMaintenanceActionOutput(v **A if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(&sv.ResourcePendingMaintenanceAction, value); err != nil { return err } - default: _, _ = key, value @@ -357,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentCopyClusterSnapshotOutput(v **CopyCluster if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -524,7 +522,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -694,7 +691,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterSnapshotOutput(v **CreateClu if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -861,7 +857,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -1028,7 +1023,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterSnapshotOutput(v **DeleteClu if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -1192,7 +1186,6 @@ func awsRestjson1_deserializeOpDocumentGetClusterOutput(v **GetClusterOutput, va if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -1356,7 +1349,6 @@ func awsRestjson1_deserializeOpDocumentGetClusterSnapshotOutput(v **GetClusterSn if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -1523,7 +1515,6 @@ func awsRestjson1_deserializeOpDocumentGetPendingMaintenanceActionOutput(v **Get if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(&sv.ResourcePendingMaintenanceAction, value); err != nil { return err } - default: _, _ = key, value @@ -1684,7 +1675,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1693,7 +1683,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1858,12 +1847,10 @@ func awsRestjson1_deserializeOpDocumentListClusterSnapshotsOutput(v **ListCluste } sv.NextToken = ptr.String(jtv) } - case "snapshots": if err := awsRestjson1_deserializeDocumentClusterSnapshotList(&sv.Snapshots, value); err != nil { return err } - default: _, _ = key, value @@ -2028,12 +2015,10 @@ func awsRestjson1_deserializeOpDocumentListPendingMaintenanceActionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "resourcePendingMaintenanceActions": if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceActionList(&sv.ResourcePendingMaintenanceActions, value); err != nil { return err } - default: _, _ = key, value @@ -2194,7 +2179,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2364,7 +2348,6 @@ func awsRestjson1_deserializeOpDocumentRestoreClusterFromSnapshotOutput(v **Rest if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -2528,7 +2511,6 @@ func awsRestjson1_deserializeOpDocumentStartClusterOutput(v **StartClusterOutput if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -2692,7 +2674,6 @@ func awsRestjson1_deserializeOpDocumentStopClusterOutput(v **StopClusterOutput, if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3053,7 +3034,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3355,15 +3335,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3371,15 +3345,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3414,7 +3384,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AdminUserName = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -3423,7 +3392,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AuthType = types.Auth(jtv) } - case "backupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -3436,7 +3404,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -3445,7 +3412,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "clusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -3454,7 +3420,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterEndpoint = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3463,7 +3428,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -3472,7 +3436,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreateTime = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3481,7 +3444,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.KmsKeyId = ptr.String(jtv) } - case "preferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -3490,7 +3452,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredBackupWindow = ptr.String(jtv) } - case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3460,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "shardCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -3512,7 +3472,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardCapacity = ptr.Int32(int32(i64)) } - case "shardCount": if value != nil { jtv, ok := value.(json.Number) @@ -3525,7 +3484,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardCount = ptr.Int32(int32(i64)) } - case "shardInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -3538,12 +3496,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardInstanceCount = ptr.Int32(int32(i64)) } - case "shards": if err := awsRestjson1_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3552,17 +3508,14 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.Status(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "vpcSecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - default: _, _ = key, value @@ -3602,7 +3555,6 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3563,6 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.ClusterName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3620,7 +3571,6 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -3694,7 +3644,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.AdminUserName = ptr.String(jtv) } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -3703,7 +3652,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.ClusterArn = ptr.String(jtv) } - case "clusterCreationTime": if value != nil { jtv, ok := value.(string) @@ -3712,7 +3660,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.ClusterCreationTime = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3721,7 +3668,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.KmsKeyId = ptr.String(jtv) } - case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -3730,7 +3676,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotArn = ptr.String(jtv) } - case "snapshotCreationTime": if value != nil { jtv, ok := value.(string) @@ -3739,7 +3684,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotCreationTime = ptr.String(jtv) } - case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -3748,7 +3692,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotName = ptr.String(jtv) } - case "snapshotType": if value != nil { jtv, ok := value.(string) @@ -3757,7 +3700,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotType = types.SnapshotType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3766,17 +3708,14 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.Status = types.Status(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "vpcSecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - default: _, _ = key, value @@ -3816,7 +3755,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.ClusterArn = ptr.String(jtv) } - case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -3825,7 +3763,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotArn = ptr.String(jtv) } - case "snapshotCreationTime": if value != nil { jtv, ok := value.(string) @@ -3834,7 +3771,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotCreationTime = ptr.String(jtv) } - case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -3843,7 +3779,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3852,7 +3787,6 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -3916,15 +3850,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3932,7 +3860,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3941,7 +3868,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3950,15 +3876,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3983,15 +3905,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3999,15 +3915,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4042,7 +3954,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.Action = ptr.String(jtv) } - case "autoAppliedAfterDate": if value != nil { jtv, ok := value.(string) @@ -4051,7 +3962,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.AutoAppliedAfterDate = ptr.String(jtv) } - case "currentApplyDate": if value != nil { jtv, ok := value.(string) @@ -4060,7 +3970,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.CurrentApplyDate = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4069,7 +3978,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.Description = ptr.String(jtv) } - case "forcedApplyDate": if value != nil { jtv, ok := value.(string) @@ -4078,7 +3986,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.ForcedApplyDate = ptr.String(jtv) } - case "optInStatus": if value != nil { jtv, ok := value.(string) @@ -4087,7 +3994,6 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.OptInStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -4151,15 +4057,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4167,7 +4067,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4176,7 +4075,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4185,15 +4083,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4224,7 +4118,6 @@ func awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(v **types. if err := awsRestjson1_deserializeDocumentPendingMaintenanceActionDetailsList(&sv.PendingMaintenanceActionDetails, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4233,7 +4126,6 @@ func awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(v **types. } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4297,15 +4189,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4313,15 +4199,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4356,7 +4238,6 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.CreateTime = ptr.String(jtv) } - case "shardId": if value != nil { jtv, ok := value.(string) @@ -4365,7 +4246,6 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4374,7 +4254,6 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -4510,15 +4389,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4526,7 +4399,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4539,15 +4411,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4572,20 +4440,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4593,7 +4454,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4602,15 +4462,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4645,7 +4501,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4654,7 +4509,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/drs/deserializers.go b/service/drs/deserializers.go index e0fe77c7d4d..177ee0d3a0a 100644 --- a/service/drs/deserializers.go +++ b/service/drs/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentAssociateSourceNetworkStackOutput(v **Ass if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -361,7 +360,6 @@ func awsRestjson1_deserializeOpDocumentCreateExtendedSourceServerOutput(v **Crea if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -528,7 +526,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(&sv.LaunchConfigurationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -699,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -708,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -717,7 +712,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -730,7 +724,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -739,7 +732,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -748,7 +740,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -757,7 +748,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -766,7 +756,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -775,12 +764,10 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -789,7 +776,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -798,12 +784,10 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -812,17 +796,14 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -831,7 +812,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1005,7 +985,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceNetworkOutput(v **CreateSourc } sv.SourceNetworkID = ptr.String(jtv) } - default: _, _ = key, value @@ -1872,7 +1851,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobLogs(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1881,7 +1859,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2042,7 +2019,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2051,7 +2027,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2215,7 +2190,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplates(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2224,7 +2198,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2385,7 +2358,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryInstancesOutput(v **Descr if err := awsRestjson1_deserializeDocumentDescribeRecoveryInstancesItems(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2394,7 +2366,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryInstancesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2558,7 +2529,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoverySnapshotsOutput(v **Descr if err := awsRestjson1_deserializeDocumentRecoverySnapshotsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2567,7 +2537,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoverySnapshotsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2731,7 +2700,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates if err := awsRestjson1_deserializeDocumentReplicationConfigurationTemplates(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2740,7 +2708,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2901,7 +2868,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceNetworksOutput(v **Describe if err := awsRestjson1_deserializeDocumentSourceNetworksList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2910,7 +2876,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceNetworksOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3071,7 +3036,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS if err := awsRestjson1_deserializeDocumentSourceServersList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3080,7 +3044,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3357,7 +3320,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.AgentVersion = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3366,12 +3328,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.Arn = ptr.String(jtv) } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -3380,12 +3340,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.LastLaunchResult = types.LastLaunchResult(jtv) } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -3394,7 +3352,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.RecoveryInstanceId = ptr.String(jtv) } - case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -3403,7 +3360,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.ReplicationDirection = types.ReplicationDirection(jtv) } - case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -3412,12 +3368,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } - case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } - case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -3426,12 +3380,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.SourceNetworkID = ptr.String(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -3440,17 +3392,14 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.SourceServerID = ptr.String(jtv) } - case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3621,7 +3570,6 @@ func awsRestjson1_deserializeOpDocumentExportSourceNetworkCfnTemplateOutput(v ** } sv.S3DestinationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -3790,7 +3738,6 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.BandwidthThrottling = i64 } - case "name": if value != nil { jtv, ok := value.(string) @@ -3799,7 +3746,6 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.Name = ptr.String(jtv) } - case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -3808,7 +3754,6 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.RecoveryInstanceID = ptr.String(jtv) } - case "usePrivateIP": if value != nil { jtv, ok := value.(bool) @@ -3817,7 +3762,6 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.UsePrivateIP = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3982,7 +3926,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -3991,7 +3934,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -4000,7 +3942,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -4009,17 +3950,14 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "launchIntoInstanceProperties": if err := awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(&sv.LaunchIntoInstanceProperties, value); err != nil { return err } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4028,7 +3966,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Name = ptr.String(jtv) } - case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -4037,7 +3974,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.PostLaunchEnabled = ptr.Bool(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4046,7 +3982,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -4055,7 +3990,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -4223,7 +4157,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -4232,7 +4165,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -4245,7 +4177,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -4254,7 +4185,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -4263,7 +4193,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -4272,7 +4201,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -4281,7 +4209,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4290,7 +4217,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4299,17 +4225,14 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.Name = ptr.String(jtv) } - case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -4318,12 +4241,10 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4332,7 +4253,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.SourceServerID = ptr.String(jtv) } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -4341,12 +4261,10 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -4355,7 +4273,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4616,7 +4533,6 @@ func awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(v **Lis if err := awsRestjson1_deserializeDocumentStagingSourceServersList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4625,7 +4541,6 @@ func awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4789,7 +4704,6 @@ func awsRestjson1_deserializeOpDocumentListLaunchActionsOutput(v **ListLaunchAct if err := awsRestjson1_deserializeDocumentLaunchActions(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4798,7 +4712,6 @@ func awsRestjson1_deserializeOpDocumentListLaunchActionsOutput(v **ListLaunchAct } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4962,7 +4875,6 @@ func awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(v **ListStaging if err := awsRestjson1_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4971,7 +4883,6 @@ func awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(v **ListStaging } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5135,7 +5046,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5306,7 +5216,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionCode = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5224,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionId = ptr.String(jtv) } - case "actionVersion": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5232,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionVersion = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -5333,7 +5240,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -5342,7 +5248,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Category = types.LaunchActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5351,7 +5256,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5360,7 +5264,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Name = ptr.String(jtv) } - case "optional": if value != nil { jtv, ok := value.(bool) @@ -5369,7 +5272,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Optional = ptr.Bool(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -5382,12 +5284,10 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentLaunchActionParameters(&sv.Parameters, value); err != nil { return err } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5396,7 +5296,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ResourceId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5405,7 +5304,6 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Type = types.LaunchActionType(jtv) } - default: _, _ = key, value @@ -5573,7 +5471,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.AgentVersion = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5582,12 +5479,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.Arn = ptr.String(jtv) } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -5596,12 +5491,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.LastLaunchResult = types.LastLaunchResult(jtv) } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -5610,7 +5503,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.RecoveryInstanceId = ptr.String(jtv) } - case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -5619,7 +5511,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReplicationDirection = types.ReplicationDirection(jtv) } - case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -5628,12 +5519,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } - case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } - case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -5642,12 +5531,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceNetworkID = ptr.String(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -5656,17 +5543,14 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceServerID = ptr.String(jtv) } - case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5840,7 +5724,6 @@ func awsRestjson1_deserializeOpDocumentReverseReplicationOutput(v **ReverseRepli } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6007,7 +5890,6 @@ func awsRestjson1_deserializeOpDocumentStartFailbackLaunchOutput(v **StartFailba if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -6171,7 +6053,6 @@ func awsRestjson1_deserializeOpDocumentStartRecoveryOutput(v **StartRecoveryOutp if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -6335,7 +6216,6 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -6502,7 +6382,6 @@ func awsRestjson1_deserializeOpDocumentStartSourceNetworkRecoveryOutput(v **Star if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -6666,7 +6545,6 @@ func awsRestjson1_deserializeOpDocumentStartSourceNetworkReplicationOutput(v **S if err := awsRestjson1_deserializeDocumentSourceNetwork(&sv.SourceNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -6933,7 +6811,6 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } - default: _, _ = key, value @@ -7100,7 +6977,6 @@ func awsRestjson1_deserializeOpDocumentStopSourceNetworkReplicationOutput(v **St if err := awsRestjson1_deserializeDocumentSourceNetwork(&sv.SourceNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -7370,7 +7246,6 @@ func awsRestjson1_deserializeOpDocumentTerminateRecoveryInstancesOutput(v **Term if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -7753,7 +7628,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -7762,7 +7636,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -7771,7 +7644,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -7780,17 +7652,14 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "launchIntoInstanceProperties": if err := awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(&sv.LaunchIntoInstanceProperties, value); err != nil { return err } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7799,7 +7668,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Name = ptr.String(jtv) } - case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -7808,7 +7676,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.PostLaunchEnabled = ptr.Bool(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7817,7 +7684,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -7826,7 +7692,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -7993,7 +7858,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(&sv.LaunchConfigurationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -8167,7 +8031,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -8176,7 +8039,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -8189,7 +8051,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -8198,7 +8059,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -8207,7 +8067,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -8216,7 +8075,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -8225,7 +8083,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -8234,7 +8091,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8243,17 +8099,14 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } - case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -8262,12 +8115,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8276,7 +8127,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.SourceServerID = ptr.String(jtv) } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -8285,12 +8135,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -8299,7 +8147,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8470,7 +8317,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -8479,7 +8325,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -8488,7 +8333,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -8501,7 +8345,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -8510,7 +8353,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8361,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -8528,7 +8369,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -8537,7 +8377,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -8546,12 +8385,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -8560,7 +8397,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -8569,12 +8405,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -8583,17 +8417,14 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -8602,7 +8433,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8956,13 +8786,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -8972,8 +8796,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8981,15 +8804,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9024,7 +8843,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountID = ptr.String(jtv) } - default: _, _ = key, value @@ -9088,13 +8906,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -9104,8 +8916,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9113,7 +8924,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9122,7 +8932,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9131,15 +8940,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9210,7 +9015,6 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.DataTimestamp = ptr.String(jtv) } - case "forceUefi": if value != nil { jtv, ok := value.(bool) @@ -9219,7 +9023,6 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.ForceUefi = ptr.Bool(jtv) } - case "rootVolumeName": if value != nil { jtv, ok := value.(string) @@ -9228,22 +9031,18 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.RootVolumeName = ptr.String(jtv) } - case "volumeToConversionMap": if err := awsRestjson1_deserializeDocumentVolumeToConversionMap(&sv.VolumeToConversionMap, value); err != nil { return err } - case "volumeToProductCodes": if err := awsRestjson1_deserializeDocumentVolumeToProductCodes(&sv.VolumeToProductCodes, value); err != nil { return err } - case "volumeToVolumeSize": if err := awsRestjson1_deserializeDocumentVolumeToSizeMap(&sv.VolumeToVolumeSize, value); err != nil { return err } - default: _, _ = key, value @@ -9287,7 +9086,6 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Cores = i64 } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -9296,7 +9094,6 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.ModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -9370,7 +9167,6 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.Error = types.DataReplicationErrorString(jtv) } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -9379,7 +9175,6 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.RawError = ptr.String(jtv) } - default: _, _ = key, value @@ -9415,12 +9210,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati if err := awsRestjson1_deserializeDocumentDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } - case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } - case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -9429,7 +9222,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.DataReplicationState = types.DataReplicationState(jtv) } - case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -9438,7 +9230,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.EtaDateTime = ptr.String(jtv) } - case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -9447,12 +9238,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LagDuration = ptr.String(jtv) } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "stagingAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -9461,7 +9250,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.StagingAvailabilityZone = ptr.String(jtv) } - case "stagingOutpostArn": if value != nil { jtv, ok := value.(string) @@ -9470,7 +9258,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.StagingOutpostArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9514,7 +9301,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.BackloggedStorageBytes = i64 } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -9523,7 +9309,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.DeviceName = ptr.String(jtv) } - case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9536,7 +9321,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.ReplicatedStorageBytes = i64 } - case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9549,7 +9333,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.RescannedStorageBytes = i64 } - case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9562,7 +9345,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.TotalStorageBytes = i64 } - case "volumeStatus": if value != nil { jtv, ok := value.(string) @@ -9571,7 +9353,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.VolumeStatus = types.VolumeStatus(jtv) } - default: _, _ = key, value @@ -9645,7 +9426,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.NextAttemptDateTime = ptr.String(jtv) } - case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -9654,12 +9434,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.StartDateTime = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -9699,7 +9477,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Name = types.DataReplicationInitiationStepName(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9708,7 +9485,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Status = types.DataReplicationInitiationStepStatus(jtv) } - default: _, _ = key, value @@ -9820,7 +9596,6 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Bytes = i64 } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -9829,7 +9604,6 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DeviceName = ptr.String(jtv) } - default: _, _ = key, value @@ -9979,7 +9753,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.AwsInstanceID = ptr.String(jtv) } - case "fqdn": if value != nil { jtv, ok := value.(string) @@ -9988,7 +9761,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Fqdn = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -9997,7 +9769,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Hostname = ptr.String(jtv) } - case "vmWareUuid": if value != nil { jtv, ok := value.(string) @@ -10006,7 +9777,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmWareUuid = ptr.String(jtv) } - default: _, _ = key, value @@ -10036,15 +9806,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10052,7 +9816,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10065,15 +9828,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = i64 } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10144,7 +9903,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10153,7 +9911,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreationDateTime = ptr.String(jtv) } - case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -10162,7 +9919,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EndDateTime = ptr.String(jtv) } - case "initiatedBy": if value != nil { jtv, ok := value.(string) @@ -10171,7 +9927,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -10180,17 +9935,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobID = ptr.String(jtv) } - case "participatingResources": if err := awsRestjson1_deserializeDocumentParticipatingResources(&sv.ParticipatingResources, value); err != nil { return err } - case "participatingServers": if err := awsRestjson1_deserializeDocumentParticipatingServers(&sv.ParticipatingServers, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -10199,12 +9951,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10213,7 +9963,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } - default: _, _ = key, value @@ -10253,12 +10002,10 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.Event = types.JobLogEvent(jtv) } - case "eventData": if err := awsRestjson1_deserializeDocumentJobLogEventData(&sv.EventData, value); err != nil { return err } - case "logDateTime": if value != nil { jtv, ok := value.(string) @@ -10267,7 +10014,6 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.LogDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -10303,7 +10049,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, if err := awsRestjson1_deserializeDocumentConversionProperties(&sv.ConversionProperties, value); err != nil { return err } - case "conversionServerID": if value != nil { jtv, ok := value.(string) @@ -10312,12 +10057,10 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.ConversionServerID = ptr.String(jtv) } - case "eventResourceData": if err := awsRestjson1_deserializeDocumentEventResourceData(&sv.EventResourceData, value); err != nil { return err } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -10326,7 +10069,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.RawError = ptr.String(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -10335,7 +10077,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceID": if value != nil { jtv, ok := value.(string) @@ -10344,7 +10085,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.TargetInstanceID = ptr.String(jtv) } - default: _, _ = key, value @@ -10452,7 +10192,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionCode = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -10461,7 +10200,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionId = ptr.String(jtv) } - case "actionVersion": if value != nil { jtv, ok := value.(string) @@ -10470,7 +10208,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionVersion = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -10479,7 +10216,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -10488,7 +10224,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Category = types.LaunchActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10497,7 +10232,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10506,7 +10240,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Name = ptr.String(jtv) } - case "optional": if value != nil { jtv, ok := value.(bool) @@ -10515,7 +10248,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Optional = ptr.Bool(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -10528,12 +10260,10 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentLaunchActionParameters(&sv.Parameters, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10542,7 +10272,6 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Type = types.LaunchActionType(jtv) } - default: _, _ = key, value @@ -10582,7 +10311,6 @@ func awsRestjson1_deserializeDocumentLaunchActionParameter(v **types.LaunchActio } sv.Type = types.LaunchActionParameterType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -10591,7 +10319,6 @@ func awsRestjson1_deserializeDocumentLaunchActionParameter(v **types.LaunchActio } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10662,7 +10389,6 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, if err := awsRestjson1_deserializeDocumentLaunchAction(&sv.Action, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10671,7 +10397,6 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.FailureReason = ptr.String(jtv) } - case "runId": if value != nil { jtv, ok := value.(string) @@ -10680,7 +10405,6 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.RunId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10689,7 +10413,6 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.Status = types.LaunchActionRunStatus(jtv) } - default: _, _ = key, value @@ -10793,7 +10516,6 @@ func awsRestjson1_deserializeDocumentLaunchActionsStatus(v **types.LaunchActions if err := awsRestjson1_deserializeDocumentLaunchActionRuns(&sv.Runs, value); err != nil { return err } - case "ssmAgentDiscoveryDatetime": if value != nil { jtv, ok := value.(string) @@ -10802,7 +10524,6 @@ func awsRestjson1_deserializeDocumentLaunchActionsStatus(v **types.LaunchActions } sv.SsmAgentDiscoveryDatetime = ptr.String(jtv) } - default: _, _ = key, value @@ -10842,7 +10563,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Arn = ptr.String(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -10851,7 +10571,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -10860,7 +10579,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyTags = ptr.Bool(jtv) } - case "exportBucketArn": if value != nil { jtv, ok := value.(string) @@ -10869,7 +10587,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.ExportBucketArn = ptr.String(jtv) } - case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -10878,7 +10595,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -10887,7 +10603,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "launchIntoSourceInstance": if value != nil { jtv, ok := value.(bool) @@ -10896,12 +10611,10 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchIntoSourceInstance = ptr.Bool(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -10910,12 +10623,10 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.PostLaunchEnabled = ptr.Bool(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -10924,7 +10635,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -10998,7 +10708,6 @@ func awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(v **types.Laun } sv.LaunchIntoEC2InstanceID = ptr.String(jtv) } - default: _, _ = key, value @@ -11038,7 +10747,6 @@ func awsRestjson1_deserializeDocumentLicensing(v **types.Licensing, value interf } sv.OsByol = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11078,7 +10786,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.AddedToServiceDateTime = ptr.String(jtv) } - case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -11087,7 +10794,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.ElapsedReplicationDuration = ptr.String(jtv) } - case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -11096,12 +10802,10 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.FirstByteDateTime = ptr.String(jtv) } - case "lastLaunch": if err := awsRestjson1_deserializeDocumentLifeCycleLastLaunch(&sv.LastLaunch, value); err != nil { return err } - case "lastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -11110,7 +10814,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.LastSeenByServiceDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -11146,7 +10849,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunch(v **types.LifeCycleLast if err := awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(&sv.Initiated, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11155,7 +10857,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunch(v **types.LifeCycleLast } sv.Status = types.LaunchStatus(jtv) } - default: _, _ = key, value @@ -11195,7 +10896,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.ApiCallDateTime = ptr.String(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -11204,7 +10904,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.JobID = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11213,7 +10912,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.Type = types.LastLaunchType(jtv) } - default: _, _ = key, value @@ -11249,7 +10947,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIPsList(&sv.Ips, value); err != nil { return err } - case "isPrimary": if value != nil { jtv, ok := value.(bool) @@ -11258,7 +10955,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.IsPrimary = ptr.Bool(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -11267,7 +10963,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -11341,7 +11036,6 @@ func awsRestjson1_deserializeDocumentOS(v **types.OS, value interface{}) error { } sv.FullString = ptr.String(jtv) } - default: _, _ = key, value @@ -11381,12 +11075,10 @@ func awsRestjson1_deserializeDocumentParticipatingResource(v **types.Participati } sv.LaunchStatus = types.LaunchStatus(jtv) } - case "participatingResourceID": if err := awsRestjson1_deserializeDocumentParticipatingResourceID(&sv.ParticipatingResourceID, value); err != nil { return err } - default: _, _ = key, value @@ -11498,7 +11190,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating if err := awsRestjson1_deserializeDocumentLaunchActionsStatus(&sv.LaunchActionsStatus, value); err != nil { return err } - case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -11507,7 +11198,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchStatus = types.LaunchStatus(jtv) } - case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -11516,7 +11206,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.RecoveryInstanceID = ptr.String(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11525,7 +11214,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.SourceServerID = ptr.String(jtv) } - default: _, _ = key, value @@ -11633,7 +11321,6 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Enabled = ptr.Bool(jtv) } - case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -11646,7 +11333,6 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Interval = ptr.Int32(int32(i64)) } - case "retentionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11659,7 +11345,6 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.RetentionDuration = ptr.Int32(int32(i64)) } - case "ruleID": if value != nil { jtv, ok := value.(json.Number) @@ -11672,7 +11357,6 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.RuleID = i64 } - case "units": if value != nil { jtv, ok := value.(string) @@ -11681,7 +11365,6 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Units = types.PITPolicyRuleUnits(jtv) } - default: _, _ = key, value @@ -11721,7 +11404,6 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductCodeId = ptr.String(jtv) } - case "productCodeMode": if value != nil { jtv, ok := value.(string) @@ -11730,7 +11412,6 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductCodeMode = types.ProductCodeMode(jtv) } - default: _, _ = key, value @@ -11804,7 +11485,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.AgentVersion = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -11813,12 +11493,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Arn = ptr.String(jtv) } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "ec2InstanceID": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11505,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Ec2InstanceID = ptr.String(jtv) } - case "ec2InstanceState": if value != nil { jtv, ok := value.(string) @@ -11836,12 +11513,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Ec2InstanceState = types.EC2InstanceState(jtv) } - case "failback": if err := awsRestjson1_deserializeDocumentRecoveryInstanceFailback(&sv.Failback, value); err != nil { return err } - case "isDrill": if value != nil { jtv, ok := value.(bool) @@ -11850,7 +11525,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.IsDrill = ptr.Bool(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -11859,7 +11533,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.JobID = ptr.String(jtv) } - case "originAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11868,7 +11541,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.OriginAvailabilityZone = ptr.String(jtv) } - case "originEnvironment": if value != nil { jtv, ok := value.(string) @@ -11877,7 +11549,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.OriginEnvironment = types.OriginEnvironment(jtv) } - case "pointInTimeSnapshotDateTime": if value != nil { jtv, ok := value.(string) @@ -11886,7 +11557,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.PointInTimeSnapshotDateTime = ptr.String(jtv) } - case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -11895,12 +11565,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.RecoveryInstanceID = ptr.String(jtv) } - case "recoveryInstanceProperties": if err := awsRestjson1_deserializeDocumentRecoveryInstanceProperties(&sv.RecoveryInstanceProperties, value); err != nil { return err } - case "sourceOutpostArn": if value != nil { jtv, ok := value.(string) @@ -11909,7 +11577,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.SourceOutpostArn = ptr.String(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11918,12 +11585,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11963,7 +11628,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(v **ty } sv.Error = types.FailbackReplicationError(jtv) } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -11972,7 +11636,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(v **ty } sv.RawError = ptr.String(jtv) } - default: _, _ = key, value @@ -12008,12 +11671,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } - case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } - case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -12022,7 +11683,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.DataReplicationState = types.RecoveryInstanceDataReplicationState(jtv) } - case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -12031,7 +11691,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.EtaDateTime = ptr.String(jtv) } - case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -12040,12 +11699,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.LagDuration = ptr.String(jtv) } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "stagingAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -12054,7 +11711,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.StagingAvailabilityZone = ptr.String(jtv) } - case "stagingOutpostArn": if value != nil { jtv, ok := value.(string) @@ -12063,7 +11719,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.StagingOutpostArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12107,7 +11762,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.BackloggedStorageBytes = i64 } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -12116,7 +11770,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.DeviceName = ptr.String(jtv) } - case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12129,7 +11782,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.ReplicatedStorageBytes = i64 } - case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12142,7 +11794,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.RescannedStorageBytes = i64 } - case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12155,7 +11806,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.TotalStorageBytes = i64 } - default: _, _ = key, value @@ -12229,12 +11879,10 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiation(v } sv.StartDateTime = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -12274,7 +11922,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSt } sv.Name = types.RecoveryInstanceDataReplicationInitiationStepName(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12283,7 +11930,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSt } sv.Status = types.RecoveryInstanceDataReplicationInitiationStepStatus(jtv) } - default: _, _ = key, value @@ -12361,7 +12007,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.Bytes = i64 } - case "ebsVolumeID": if value != nil { jtv, ok := value.(string) @@ -12370,7 +12015,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.EbsVolumeID = ptr.String(jtv) } - case "internalDeviceName": if value != nil { jtv, ok := value.(string) @@ -12379,7 +12023,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.InternalDeviceName = ptr.String(jtv) } - default: _, _ = key, value @@ -12453,7 +12096,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.AgentLastSeenByServiceDateTime = ptr.String(jtv) } - case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -12462,7 +12104,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.ElapsedReplicationDuration = ptr.String(jtv) } - case "failbackClientID": if value != nil { jtv, ok := value.(string) @@ -12471,7 +12112,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackClientID = ptr.String(jtv) } - case "failbackClientLastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -12480,7 +12120,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackClientLastSeenByServiceDateTime = ptr.String(jtv) } - case "failbackInitiationTime": if value != nil { jtv, ok := value.(string) @@ -12489,7 +12128,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackInitiationTime = ptr.String(jtv) } - case "failbackJobID": if value != nil { jtv, ok := value.(string) @@ -12498,7 +12136,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackJobID = ptr.String(jtv) } - case "failbackLaunchType": if value != nil { jtv, ok := value.(string) @@ -12507,7 +12144,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackLaunchType = types.FailbackLaunchType(jtv) } - case "failbackToOriginalServer": if value != nil { jtv, ok := value.(bool) @@ -12516,7 +12152,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackToOriginalServer = ptr.Bool(jtv) } - case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -12525,7 +12160,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FirstByteDateTime = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -12534,7 +12168,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.State = types.FailbackState(jtv) } - default: _, _ = key, value @@ -12570,17 +12203,14 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } - case "disks": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDisks(&sv.Disks, value); err != nil { return err } - case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -12589,17 +12219,14 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove } sv.LastUpdatedDateTime = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } - case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12612,7 +12239,6 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove } sv.RamBytes = i64 } - default: _, _ = key, value @@ -12656,7 +12282,6 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.ApiCallDateTime = ptr.Time(t) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -12665,7 +12290,6 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.JobID = ptr.String(jtv) } - case "lastRecoveryResult": if value != nil { jtv, ok := value.(string) @@ -12674,7 +12298,6 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.LastRecoveryResult = types.RecoveryResult(jtv) } - default: _, _ = key, value @@ -12710,7 +12333,6 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot if err := awsRestjson1_deserializeDocumentEbsSnapshotsList(&sv.EbsSnapshots, value); err != nil { return err } - case "expectedTimestamp": if value != nil { jtv, ok := value.(string) @@ -12719,7 +12341,6 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.ExpectedTimestamp = ptr.String(jtv) } - case "snapshotID": if value != nil { jtv, ok := value.(string) @@ -12728,7 +12349,6 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.SnapshotID = ptr.String(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12737,7 +12357,6 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.SourceServerID = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -12746,7 +12365,6 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -12820,7 +12438,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.DeviceName = ptr.String(jtv) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -12833,7 +12450,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Iops = i64 } - case "isBootDisk": if value != nil { jtv, ok := value.(bool) @@ -12842,7 +12458,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.IsBootDisk = ptr.Bool(jtv) } - case "optimizedStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12851,7 +12466,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.OptimizedStagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } - case "stagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12860,7 +12474,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.StagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } - case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -12873,7 +12486,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Throughput = i64 } - default: _, _ = key, value @@ -12947,7 +12559,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -12956,7 +12567,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -12965,7 +12575,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -12978,7 +12587,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -12987,7 +12595,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -12996,7 +12603,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -13005,7 +12611,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -13014,7 +12619,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -13023,12 +12627,10 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -13037,7 +12639,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -13046,12 +12647,10 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -13060,17 +12659,14 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -13079,7 +12675,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13179,13 +12774,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13195,8 +12784,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13204,7 +12792,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13213,7 +12800,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13222,15 +12808,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13255,13 +12837,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13271,8 +12847,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13280,7 +12855,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -13289,7 +12863,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13298,7 +12871,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13307,7 +12879,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -13316,15 +12887,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13359,7 +12926,6 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginAccountID = ptr.String(jtv) } - case "originAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -13368,7 +12934,6 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginAvailabilityZone = ptr.String(jtv) } - case "originRegion": if value != nil { jtv, ok := value.(string) @@ -13377,7 +12942,6 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginRegion = ptr.String(jtv) } - case "sourceOutpostArn": if value != nil { jtv, ok := value.(string) @@ -13386,7 +12950,6 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.SourceOutpostArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13426,7 +12989,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.Arn = ptr.String(jtv) } - case "cfnStackName": if value != nil { jtv, ok := value.(string) @@ -13435,12 +12997,10 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.CfnStackName = ptr.String(jtv) } - case "lastRecovery": if err := awsRestjson1_deserializeDocumentRecoveryLifeCycle(&sv.LastRecovery, value); err != nil { return err } - case "launchedVpcID": if value != nil { jtv, ok := value.(string) @@ -13449,7 +13009,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.LaunchedVpcID = ptr.String(jtv) } - case "replicationStatus": if value != nil { jtv, ok := value.(string) @@ -13458,7 +13017,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.ReplicationStatus = types.ReplicationStatus(jtv) } - case "replicationStatusDetails": if value != nil { jtv, ok := value.(string) @@ -13467,7 +13025,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.ReplicationStatusDetails = ptr.String(jtv) } - case "sourceAccountID": if value != nil { jtv, ok := value.(string) @@ -13476,7 +13033,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceAccountID = ptr.String(jtv) } - case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -13485,7 +13041,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceNetworkID = ptr.String(jtv) } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -13494,7 +13049,6 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceRegion = ptr.String(jtv) } - case "sourceVpcID": if value != nil { jtv, ok := value.(string) @@ -13503,12 +13057,10 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceVpcID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13548,7 +13100,6 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.SourceNetworkID = ptr.String(jtv) } - case "sourceVpc": if value != nil { jtv, ok := value.(string) @@ -13557,7 +13108,6 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.SourceVpc = ptr.String(jtv) } - case "stackName": if value != nil { jtv, ok := value.(string) @@ -13566,7 +13116,6 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.StackName = ptr.String(jtv) } - case "targetVpc": if value != nil { jtv, ok := value.(string) @@ -13575,7 +13124,6 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.TargetVpc = ptr.String(jtv) } - default: _, _ = key, value @@ -13645,17 +13193,14 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } - case "disks": if err := awsRestjson1_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } - case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -13664,17 +13209,14 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.LastUpdatedDateTime = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } - case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13687,7 +13229,6 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RamBytes = i64 } - case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -13696,7 +13237,6 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RecommendedInstanceType = ptr.String(jtv) } - case "supportsNitroInstances": if value != nil { jtv, ok := value.(bool) @@ -13705,7 +13245,6 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.SupportsNitroInstances = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13745,7 +13284,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.AgentVersion = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13754,12 +13292,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.Arn = ptr.String(jtv) } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -13768,12 +13304,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.LastLaunchResult = types.LastLaunchResult(jtv) } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -13782,7 +13316,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.RecoveryInstanceId = ptr.String(jtv) } - case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -13791,7 +13324,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReplicationDirection = types.ReplicationDirection(jtv) } - case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -13800,12 +13332,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } - case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } - case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -13814,12 +13344,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceNetworkID = ptr.String(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -13828,17 +13356,14 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceServerID = ptr.String(jtv) } - case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13912,7 +13437,6 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.ErrorMessage = ptr.String(jtv) } - case "stagingAccountID": if value != nil { jtv, ok := value.(string) @@ -13921,7 +13445,6 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.StagingAccountID = ptr.String(jtv) } - case "stagingSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -13930,7 +13453,6 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.StagingSourceServerArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13939,7 +13461,6 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.Status = types.ExtensionStatus(jtv) } - default: _, _ = key, value @@ -13979,7 +13500,6 @@ func awsRestjson1_deserializeDocumentStagingSourceServer(v **types.StagingSource } sv.Arn = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -13988,12 +13508,10 @@ func awsRestjson1_deserializeDocumentStagingSourceServer(v **types.StagingSource } sv.Hostname = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14093,15 +13611,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14109,7 +13621,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -14118,7 +13629,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -14127,7 +13637,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -14136,15 +13645,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14169,13 +13674,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14185,8 +13684,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14194,15 +13692,11 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14227,13 +13721,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14243,13 +13731,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } - case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14257,7 +13743,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -14266,15 +13751,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14309,7 +13790,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14318,7 +13798,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/dynamodb/deserializers.go b/service/dynamodb/deserializers.go index ebb0df9fb54..b57ed717bc2 100644 --- a/service/dynamodb/deserializers.go +++ b/service/dynamodb/deserializers.go @@ -8079,7 +8079,6 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } sv.ArchivalBackupArn = ptr.String(jtv) } - case "ArchivalDateTime": if value != nil { switch jtv := value.(type) { @@ -8095,7 +8094,6 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } } - case "ArchivalReason": if value != nil { jtv, ok := value.(string) @@ -8104,7 +8102,6 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } sv.ArchivalReason = ptr.String(jtv) } - default: _, _ = key, value @@ -8144,7 +8141,6 @@ func awsAwsjson10_deserializeDocumentAttributeDefinition(v **types.AttributeDefi } sv.AttributeName = ptr.String(jtv) } - case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -8153,7 +8149,6 @@ func awsAwsjson10_deserializeDocumentAttributeDefinition(v **types.AttributeDefi } sv.AttributeType = types.ScalarAttributeType(jtv) } - default: _, _ = key, value @@ -8431,12 +8426,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingPolicyDescription(v **types.Auto } sv.PolicyName = ptr.String(jtv) } - case "TargetTrackingScalingPolicyConfiguration": if err := awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfigurationDescription(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8510,7 +8503,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.AutoScalingDisabled = ptr.Bool(jtv) } - case "AutoScalingRoleArn": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8511,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.AutoScalingRoleArn = ptr.String(jtv) } - case "MaximumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -8532,7 +8523,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.MaximumUnits = ptr.Int64(i64) } - case "MinimumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -8545,12 +8535,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.MinimumUnits = ptr.Int64(i64) } - case "ScalingPolicies": if err := awsAwsjson10_deserializeDocumentAutoScalingPolicyDescriptionList(&sv.ScalingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -8590,7 +8578,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.DisableScaleIn = ptr.Bool(jtv) } - case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -8603,7 +8590,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } - case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -8616,7 +8602,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } - case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -8650,7 +8635,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } } - default: _, _ = key, value @@ -8686,17 +8670,14 @@ func awsAwsjson10_deserializeDocumentBackupDescription(v **types.BackupDescripti if err := awsAwsjson10_deserializeDocumentBackupDetails(&sv.BackupDetails, value); err != nil { return err } - case "SourceTableDetails": if err := awsAwsjson10_deserializeDocumentSourceTableDetails(&sv.SourceTableDetails, value); err != nil { return err } - case "SourceTableFeatureDetails": if err := awsAwsjson10_deserializeDocumentSourceTableFeatureDetails(&sv.SourceTableFeatureDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8736,7 +8717,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupArn = ptr.String(jtv) } - case "BackupCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -8752,7 +8732,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } } - case "BackupExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -8768,7 +8747,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } } - case "BackupName": if value != nil { jtv, ok := value.(string) @@ -8777,7 +8755,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupName = ptr.String(jtv) } - case "BackupSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8790,7 +8767,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupSizeBytes = ptr.Int64(i64) } - case "BackupStatus": if value != nil { jtv, ok := value.(string) @@ -8799,7 +8775,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupStatus = types.BackupStatus(jtv) } - case "BackupType": if value != nil { jtv, ok := value.(string) @@ -8808,7 +8783,6 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupType = types.BackupType(jtv) } - default: _, _ = key, value @@ -8838,15 +8812,9 @@ func awsAwsjson10_deserializeDocumentBackupInUseException(v **types.BackupInUseE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8854,15 +8822,11 @@ func awsAwsjson10_deserializeDocumentBackupInUseException(v **types.BackupInUseE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8887,15 +8851,9 @@ func awsAwsjson10_deserializeDocumentBackupNotFoundException(v **types.BackupNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8903,15 +8861,11 @@ func awsAwsjson10_deserializeDocumentBackupNotFoundException(v **types.BackupNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8980,7 +8934,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupArn = ptr.String(jtv) } - case "BackupCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -8996,7 +8949,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } } - case "BackupExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -9012,7 +8964,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } } - case "BackupName": if value != nil { jtv, ok := value.(string) @@ -9021,7 +8972,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupName = ptr.String(jtv) } - case "BackupSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9034,7 +8984,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupSizeBytes = ptr.Int64(i64) } - case "BackupStatus": if value != nil { jtv, ok := value.(string) @@ -9043,7 +8992,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupStatus = types.BackupStatus(jtv) } - case "BackupType": if value != nil { jtv, ok := value.(string) @@ -9052,7 +9000,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupType = types.BackupType(jtv) } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -9061,7 +9008,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableArn = ptr.String(jtv) } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -9070,7 +9016,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9079,7 +9024,6 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -9188,12 +9132,10 @@ func awsAwsjson10_deserializeDocumentBatchStatementError(v **types.BatchStatemen } sv.Code = types.BatchStatementErrorCodeEnum(jtv) } - case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9202,7 +9144,6 @@ func awsAwsjson10_deserializeDocumentBatchStatementError(v **types.BatchStatemen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9238,12 +9179,10 @@ func awsAwsjson10_deserializeDocumentBatchStatementResponse(v **types.BatchState if err := awsAwsjson10_deserializeDocumentBatchStatementError(&sv.Error, value); err != nil { return err } - case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9252,7 +9191,6 @@ func awsAwsjson10_deserializeDocumentBatchStatementResponse(v **types.BatchState } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -9326,7 +9264,6 @@ func awsAwsjson10_deserializeDocumentBillingModeSummary(v **types.BillingModeSum } sv.BillingMode = types.BillingMode(jtv) } - case "LastUpdateToPayPerRequestDateTime": if value != nil { switch jtv := value.(type) { @@ -9342,7 +9279,6 @@ func awsAwsjson10_deserializeDocumentBillingModeSummary(v **types.BillingModeSum } } - default: _, _ = key, value @@ -9422,12 +9358,10 @@ func awsAwsjson10_deserializeDocumentCancellationReason(v **types.CancellationRe } sv.Code = ptr.String(jtv) } - case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9436,7 +9370,6 @@ func awsAwsjson10_deserializeDocumentCancellationReason(v **types.CancellationRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9535,7 +9468,6 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } - case "ReadCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9569,7 +9501,6 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } - case "WriteCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9603,7 +9534,6 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } - default: _, _ = key, value @@ -9633,20 +9563,13 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9654,15 +9577,11 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9722,17 +9641,14 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } - case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentSecondaryIndexesCapacityMap(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentSecondaryIndexesCapacityMap(&sv.LocalSecondaryIndexes, value); err != nil { return err } - case "ReadCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9766,12 +9682,10 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } - case "Table": if err := awsAwsjson10_deserializeDocumentCapacity(&sv.Table, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9780,7 +9694,6 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } sv.TableName = ptr.String(jtv) } - case "WriteCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9814,7 +9727,6 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } - default: _, _ = key, value @@ -9888,12 +9800,10 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsDescription(v **types.Cont } sv.ContinuousBackupsStatus = types.ContinuousBackupsStatus(jtv) } - case "PointInTimeRecoveryDescription": if err := awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(&sv.PointInTimeRecoveryDescription, value); err != nil { return err } - default: _, _ = key, value @@ -9923,15 +9833,9 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsUnavailableException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9939,15 +9843,11 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsUnavailableException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10052,7 +9952,6 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -10061,7 +9960,6 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.IndexName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -10070,7 +9968,6 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -10146,12 +10043,10 @@ func awsAwsjson10_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.Delimiter = ptr.String(jtv) } - case "HeaderList": if err := awsAwsjson10_deserializeDocumentCsvHeaderList(&sv.HeaderList, value); err != nil { return err } - default: _, _ = key, value @@ -10187,7 +10082,6 @@ func awsAwsjson10_deserializeDocumentDeleteRequest(v **types.DeleteRequest, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -10217,15 +10111,9 @@ func awsAwsjson10_deserializeDocumentDuplicateItemException(v **types.DuplicateI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10233,15 +10121,11 @@ func awsAwsjson10_deserializeDocumentDuplicateItemException(v **types.DuplicateI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10276,7 +10160,6 @@ func awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(v **typ } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } - default: _, _ = key, value @@ -10316,7 +10199,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10329,7 +10211,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } - default: _, _ = key, value @@ -10393,15 +10274,9 @@ func awsAwsjson10_deserializeDocumentExportConflictException(v **types.ExportCon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10409,15 +10284,11 @@ func awsAwsjson10_deserializeDocumentExportConflictException(v **types.ExportCon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10456,7 +10327,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.BilledSizeBytes = ptr.Int64(i64) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -10465,7 +10335,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ClientToken = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10481,7 +10350,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } - case "ExportArn": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10358,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportArn = ptr.String(jtv) } - case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -10499,7 +10366,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportFormat = types.ExportFormat(jtv) } - case "ExportManifest": if value != nil { jtv, ok := value.(string) @@ -10508,7 +10374,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportManifest = ptr.String(jtv) } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -10517,7 +10382,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportStatus = types.ExportStatus(jtv) } - case "ExportTime": if value != nil { switch jtv := value.(type) { @@ -10533,7 +10397,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } - case "ExportType": if value != nil { jtv, ok := value.(string) @@ -10542,7 +10405,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportType = types.ExportType(jtv) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -10551,7 +10413,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.FailureCode = ptr.String(jtv) } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -10560,12 +10421,10 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.FailureMessage = ptr.String(jtv) } - case "IncrementalExportSpecification": if err := awsAwsjson10_deserializeDocumentIncrementalExportSpecification(&sv.IncrementalExportSpecification, value); err != nil { return err } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -10578,7 +10437,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ItemCount = ptr.Int64(i64) } - case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -10587,7 +10445,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3Bucket = ptr.String(jtv) } - case "S3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -10596,7 +10453,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3BucketOwner = ptr.String(jtv) } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -10605,7 +10461,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3Prefix = ptr.String(jtv) } - case "S3SseAlgorithm": if value != nil { jtv, ok := value.(string) @@ -10614,7 +10469,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3SseAlgorithm = types.S3SseAlgorithm(jtv) } - case "S3SseKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10623,7 +10477,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3SseKmsKeyId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10639,7 +10492,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -10648,7 +10500,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.TableArn = ptr.String(jtv) } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -10657,7 +10508,6 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.TableId = ptr.String(jtv) } - default: _, _ = key, value @@ -10687,15 +10537,9 @@ func awsAwsjson10_deserializeDocumentExportNotFoundException(v **types.ExportNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10703,15 +10547,11 @@ func awsAwsjson10_deserializeDocumentExportNotFoundException(v **types.ExportNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10780,7 +10620,6 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportArn = ptr.String(jtv) } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -10789,7 +10628,6 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportStatus = types.ExportStatus(jtv) } - case "ExportType": if value != nil { jtv, ok := value.(string) @@ -10798,7 +10636,6 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportType = types.ExportType(jtv) } - default: _, _ = key, value @@ -10874,7 +10711,6 @@ func awsAwsjson10_deserializeDocumentFailureException(v **types.FailureException } sv.ExceptionDescription = ptr.String(jtv) } - case "ExceptionName": if value != nil { jtv, ok := value.(string) @@ -10883,7 +10719,6 @@ func awsAwsjson10_deserializeDocumentFailureException(v **types.FailureException } sv.ExceptionName = ptr.String(jtv) } - default: _, _ = key, value @@ -10923,27 +10758,22 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndex(v **types.GlobalSecond } sv.IndexName = ptr.String(jtv) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - default: _, _ = key, value @@ -10983,7 +10813,6 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.Backfilling = ptr.Bool(jtv) } - case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -10992,7 +10821,6 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -11001,7 +10829,6 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexName = ptr.String(jtv) } - case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11014,7 +10841,6 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexSizeBytes = ptr.Int64(i64) } - case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -11023,7 +10849,6 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexStatus = types.IndexStatus(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -11036,27 +10861,22 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.ItemCount = ptr.Int64(i64) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(&sv.ProvisionedThroughput, value); err != nil { return err } - default: _, _ = key, value @@ -11164,27 +10984,22 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexInfo(v **types.GlobalSe } sv.IndexName = ptr.String(jtv) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - default: _, _ = key, value @@ -11258,12 +11073,10 @@ func awsAwsjson10_deserializeDocumentGlobalTable(v **types.GlobalTable, value in } sv.GlobalTableName = ptr.String(jtv) } - case "ReplicationGroup": if err := awsAwsjson10_deserializeDocumentReplicaList(&sv.ReplicationGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11293,15 +11106,9 @@ func awsAwsjson10_deserializeDocumentGlobalTableAlreadyExistsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11309,15 +11116,11 @@ func awsAwsjson10_deserializeDocumentGlobalTableAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11359,7 +11162,6 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } } - case "GlobalTableArn": if value != nil { jtv, ok := value.(string) @@ -11368,7 +11170,6 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableArn = ptr.String(jtv) } - case "GlobalTableName": if value != nil { jtv, ok := value.(string) @@ -11377,7 +11178,6 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableName = ptr.String(jtv) } - case "GlobalTableStatus": if value != nil { jtv, ok := value.(string) @@ -11386,12 +11186,10 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableStatus = types.GlobalTableStatus(jtv) } - case "ReplicationGroup": if err := awsAwsjson10_deserializeDocumentReplicaDescriptionList(&sv.ReplicationGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11455,15 +11253,9 @@ func awsAwsjson10_deserializeDocumentGlobalTableNotFoundException(v **types.Glob sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11471,15 +11263,11 @@ func awsAwsjson10_deserializeDocumentGlobalTableNotFoundException(v **types.Glob } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11504,15 +11292,9 @@ func awsAwsjson10_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11520,15 +11302,11 @@ func awsAwsjson10_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11553,15 +11331,9 @@ func awsAwsjson10_deserializeDocumentImportConflictException(v **types.ImportCon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11569,15 +11341,11 @@ func awsAwsjson10_deserializeDocumentImportConflictException(v **types.ImportCon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11602,15 +11370,9 @@ func awsAwsjson10_deserializeDocumentImportNotFoundException(v **types.ImportNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11618,15 +11380,11 @@ func awsAwsjson10_deserializeDocumentImportNotFoundException(v **types.ImportNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11661,7 +11419,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11677,7 +11434,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } - case "ImportArn": if value != nil { jtv, ok := value.(string) @@ -11686,7 +11442,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportArn = ptr.String(jtv) } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -11695,7 +11450,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportStatus = types.ImportStatus(jtv) } - case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -11704,12 +11458,10 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.InputFormat = types.InputFormat(jtv) } - case "S3BucketSource": if err := awsAwsjson10_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11725,7 +11477,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -11734,7 +11485,6 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.TableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11808,7 +11558,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ClientToken = ptr.String(jtv) } - case "CloudWatchLogGroupArn": if value != nil { jtv, ok := value.(string) @@ -11817,7 +11566,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11833,7 +11581,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } } - case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -11846,7 +11593,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ErrorCount = i64 } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -11855,7 +11601,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.FailureCode = ptr.String(jtv) } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -11864,7 +11609,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.FailureMessage = ptr.String(jtv) } - case "ImportArn": if value != nil { jtv, ok := value.(string) @@ -11873,7 +11617,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportArn = ptr.String(jtv) } - case "ImportedItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -11886,7 +11629,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportedItemCount = i64 } - case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -11895,7 +11637,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportStatus = types.ImportStatus(jtv) } - case "InputCompressionType": if value != nil { jtv, ok := value.(string) @@ -11904,7 +11645,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.InputCompressionType = types.InputCompressionType(jtv) } - case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -11913,12 +11653,10 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.InputFormat = types.InputFormat(jtv) } - case "InputFormatOptions": if err := awsAwsjson10_deserializeDocumentInputFormatOptions(&sv.InputFormatOptions, value); err != nil { return err } - case "ProcessedItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -11931,7 +11669,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ProcessedItemCount = i64 } - case "ProcessedSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11944,12 +11681,10 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ProcessedSizeBytes = ptr.Int64(i64) } - case "S3BucketSource": if err := awsAwsjson10_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11965,7 +11700,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -11974,12 +11708,10 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.TableArn = ptr.String(jtv) } - case "TableCreationParameters": if err := awsAwsjson10_deserializeDocumentTableCreationParameters(&sv.TableCreationParameters, value); err != nil { return err } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -11988,7 +11720,6 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.TableId = ptr.String(jtv) } - default: _, _ = key, value @@ -12035,7 +11766,6 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } } - case "ExportToTime": if value != nil { switch jtv := value.(type) { @@ -12051,7 +11781,6 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } } - case "ExportViewType": if value != nil { jtv, ok := value.(string) @@ -12060,7 +11789,6 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } sv.ExportViewType = types.ExportViewType(jtv) } - default: _, _ = key, value @@ -12090,15 +11818,9 @@ func awsAwsjson10_deserializeDocumentIndexNotFoundException(v **types.IndexNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12106,15 +11828,11 @@ func awsAwsjson10_deserializeDocumentIndexNotFoundException(v **types.IndexNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12145,7 +11863,6 @@ func awsAwsjson10_deserializeDocumentInputFormatOptions(v **types.InputFormatOpt if err := awsAwsjson10_deserializeDocumentCsvOptions(&sv.Csv, value); err != nil { return err } - default: _, _ = key, value @@ -12175,15 +11892,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12191,15 +11902,11 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12224,15 +11931,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12240,15 +11941,11 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12273,15 +11970,9 @@ func awsAwsjson10_deserializeDocumentInvalidExportTimeException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12289,15 +11980,11 @@ func awsAwsjson10_deserializeDocumentInvalidExportTimeException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12322,15 +12009,9 @@ func awsAwsjson10_deserializeDocumentInvalidRestoreTimeException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12338,15 +12019,11 @@ func awsAwsjson10_deserializeDocumentInvalidRestoreTimeException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12411,12 +12088,10 @@ func awsAwsjson10_deserializeDocumentItemCollectionMetrics(v **types.ItemCollect if err := awsAwsjson10_deserializeDocumentItemCollectionKeyAttributeMap(&sv.ItemCollectionKey, value); err != nil { return err } - case "SizeEstimateRangeGB": if err := awsAwsjson10_deserializeDocumentItemCollectionSizeEstimateRange(&sv.SizeEstimateRangeGB, value); err != nil { return err } - default: _, _ = key, value @@ -12575,15 +12250,9 @@ func awsAwsjson10_deserializeDocumentItemCollectionSizeLimitExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12591,15 +12260,11 @@ func awsAwsjson10_deserializeDocumentItemCollectionSizeLimitExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12662,7 +12327,6 @@ func awsAwsjson10_deserializeDocumentItemResponse(v **types.ItemResponse, value if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - default: _, _ = key, value @@ -12798,7 +12462,6 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut if err := awsAwsjson10_deserializeDocumentAttributeNameList(&sv.AttributesToGet, value); err != nil { return err } - case "ConsistentRead": if value != nil { jtv, ok := value.(bool) @@ -12807,17 +12470,14 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut } sv.ConsistentRead = ptr.Bool(jtv) } - case "ExpressionAttributeNames": if err := awsAwsjson10_deserializeDocumentExpressionAttributeNameMap(&sv.ExpressionAttributeNames, value); err != nil { return err } - case "Keys": if err := awsAwsjson10_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } - case "ProjectionExpression": if value != nil { jtv, ok := value.(string) @@ -12826,7 +12486,6 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut } sv.ProjectionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -12900,7 +12559,6 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.AttributeName = ptr.String(jtv) } - case "KeyType": if value != nil { jtv, ok := value.(string) @@ -12909,7 +12567,6 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.KeyType = types.KeyType(jtv) } - default: _, _ = key, value @@ -12949,7 +12606,6 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } - case "DestinationStatus": if value != nil { jtv, ok := value.(string) @@ -12958,7 +12614,6 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.DestinationStatus = types.DestinationStatus(jtv) } - case "DestinationStatusDescription": if value != nil { jtv, ok := value.(string) @@ -12967,7 +12622,6 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.DestinationStatusDescription = ptr.String(jtv) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -12976,7 +12630,6 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13040,15 +12693,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13056,15 +12703,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13131,7 +12774,6 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -13140,7 +12782,6 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexName = ptr.String(jtv) } - case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13153,7 +12794,6 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexSizeBytes = ptr.Int64(i64) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -13166,17 +12806,14 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.ItemCount = ptr.Int64(i64) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } - default: _, _ = key, value @@ -13284,17 +12921,14 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexInfo(v **types.LocalSeco } sv.IndexName = ptr.String(jtv) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } - default: _, _ = key, value @@ -13444,7 +13078,6 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughput(v **types.OnDemandThroug } sv.MaxReadRequestUnits = ptr.Int64(i64) } - case "MaxWriteRequestUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13457,7 +13090,6 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughput(v **types.OnDemandThroug } sv.MaxWriteRequestUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -13501,7 +13133,6 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(v **types.OnDema } sv.MaxReadRequestUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -13582,7 +13213,6 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } } - case "LatestRestorableDateTime": if value != nil { switch jtv := value.(type) { @@ -13598,7 +13228,6 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } } - case "PointInTimeRecoveryStatus": if value != nil { jtv, ok := value.(string) @@ -13607,7 +13236,6 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } sv.PointInTimeRecoveryStatus = types.PointInTimeRecoveryStatus(jtv) } - default: _, _ = key, value @@ -13637,15 +13265,9 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryUnavailableException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13653,15 +13275,11 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryUnavailableException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13686,15 +13304,9 @@ func awsAwsjson10_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13702,15 +13314,11 @@ func awsAwsjson10_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13741,7 +13349,6 @@ func awsAwsjson10_deserializeDocumentProjection(v **types.Projection, value inte if err := awsAwsjson10_deserializeDocumentNonKeyAttributeNameList(&sv.NonKeyAttributes, value); err != nil { return err } - case "ProjectionType": if value != nil { jtv, ok := value.(string) @@ -13750,7 +13357,6 @@ func awsAwsjson10_deserializeDocumentProjection(v **types.Projection, value inte } sv.ProjectionType = types.ProjectionType(jtv) } - default: _, _ = key, value @@ -13794,7 +13400,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.ReadCapacityUnits = ptr.Int64(i64) } - case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13807,7 +13412,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.WriteCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -13854,7 +13458,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } } - case "LastIncreaseDateTime": if value != nil { switch jtv := value.(type) { @@ -13870,7 +13473,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } } - case "NumberOfDecreasesToday": if value != nil { jtv, ok := value.(json.Number) @@ -13883,7 +13485,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.NumberOfDecreasesToday = ptr.Int64(i64) } - case "ReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13896,7 +13497,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.ReadCapacityUnits = ptr.Int64(i64) } - case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13909,7 +13509,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.WriteCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -13939,15 +13538,9 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13955,15 +13548,11 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14002,7 +13591,6 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(v **types.Pro } sv.ReadCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -14072,7 +13660,6 @@ func awsAwsjson10_deserializeDocumentPutRequest(v **types.PutRequest, value inte if err := awsAwsjson10_deserializeDocumentPutItemInputAttributeMap(&sv.Item, value); err != nil { return err } - default: _, _ = key, value @@ -14112,7 +13699,6 @@ func awsAwsjson10_deserializeDocumentReplica(v **types.Replica, value interface{ } sv.RegionName = ptr.String(jtv) } - default: _, _ = key, value @@ -14142,15 +13728,9 @@ func awsAwsjson10_deserializeDocumentReplicaAlreadyExistsException(v **types.Rep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14158,15 +13738,11 @@ func awsAwsjson10_deserializeDocumentReplicaAlreadyExistsException(v **types.Rep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14197,7 +13773,6 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "RegionName": if value != nil { jtv, ok := value.(string) @@ -14206,17 +13781,14 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep } sv.RegionName = ptr.String(jtv) } - case "ReplicaProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } - case "ReplicaProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } - case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -14225,7 +13797,6 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep } sv.ReplicaStatus = types.ReplicaStatus(jtv) } - default: _, _ = key, value @@ -14295,7 +13866,6 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "KMSMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -14304,17 +13874,14 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.KMSMasterKeyId = ptr.String(jtv) } - case "OnDemandThroughputOverride": if err := awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(&sv.OnDemandThroughputOverride, value); err != nil { return err } - case "ProvisionedThroughputOverride": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } - case "RegionName": if value != nil { jtv, ok := value.(string) @@ -14323,7 +13890,6 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.RegionName = ptr.String(jtv) } - case "ReplicaInaccessibleDateTime": if value != nil { switch jtv := value.(type) { @@ -14339,7 +13905,6 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } } - case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -14348,7 +13913,6 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatus = types.ReplicaStatus(jtv) } - case "ReplicaStatusDescription": if value != nil { jtv, ok := value.(string) @@ -14357,7 +13921,6 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatusDescription = ptr.String(jtv) } - case "ReplicaStatusPercentProgress": if value != nil { jtv, ok := value.(string) @@ -14366,12 +13929,10 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatusPercentProgress = ptr.String(jtv) } - case "ReplicaTableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.ReplicaTableClassSummary, value); err != nil { return err } - default: _, _ = key, value @@ -14445,7 +14006,6 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescr } sv.IndexName = ptr.String(jtv) } - case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -14454,17 +14014,14 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescr } sv.IndexStatus = types.IndexStatus(jtv) } - case "ProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } - case "ProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } - default: _, _ = key, value @@ -14538,17 +14095,14 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexDescription(v ** } sv.IndexName = ptr.String(jtv) } - case "OnDemandThroughputOverride": if err := awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(&sv.OnDemandThroughputOverride, value); err != nil { return err } - case "ProvisionedThroughputOverride": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } - default: _, _ = key, value @@ -14622,7 +14176,6 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.IndexName = ptr.String(jtv) } - case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -14631,12 +14184,10 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.IndexStatus = types.IndexStatus(jtv) } - case "ProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } - case "ProvisionedReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14649,12 +14200,10 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.ProvisionedReadCapacityUnits = ptr.Int64(i64) } - case "ProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } - case "ProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14667,7 +14216,6 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.ProvisionedWriteCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -14765,15 +14313,9 @@ func awsAwsjson10_deserializeDocumentReplicaNotFoundException(v **types.ReplicaN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14781,15 +14323,11 @@ func awsAwsjson10_deserializeDocumentReplicaNotFoundException(v **types.ReplicaN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14824,22 +14362,18 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.RegionName = ptr.String(jtv) } - case "ReplicaBillingModeSummary": if err := awsAwsjson10_deserializeDocumentBillingModeSummary(&sv.ReplicaBillingModeSummary, value); err != nil { return err } - case "ReplicaGlobalSecondaryIndexSettings": if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescriptionList(&sv.ReplicaGlobalSecondaryIndexSettings, value); err != nil { return err } - case "ReplicaProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } - case "ReplicaProvisionedReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14852,12 +14386,10 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaProvisionedReadCapacityUnits = ptr.Int64(i64) } - case "ReplicaProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } - case "ReplicaProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14870,7 +14402,6 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaProvisionedWriteCapacityUnits = ptr.Int64(i64) } - case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -14879,12 +14410,10 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaStatus = types.ReplicaStatus(jtv) } - case "ReplicaTableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.ReplicaTableClassSummary, value); err != nil { return err } - default: _, _ = key, value @@ -14948,15 +14477,9 @@ func awsAwsjson10_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14964,15 +14487,11 @@ func awsAwsjson10_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14997,15 +14516,9 @@ func awsAwsjson10_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15013,15 +14526,11 @@ func awsAwsjson10_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15046,15 +14555,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15062,15 +14565,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15112,7 +14611,6 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } } - case "RestoreInProgress": if value != nil { jtv, ok := value.(bool) @@ -15121,7 +14619,6 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.RestoreInProgress = ptr.Bool(jtv) } - case "SourceBackupArn": if value != nil { jtv, ok := value.(string) @@ -15130,7 +14627,6 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.SourceBackupArn = ptr.String(jtv) } - case "SourceTableArn": if value != nil { jtv, ok := value.(string) @@ -15139,7 +14635,6 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.SourceTableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15179,7 +14674,6 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Bucket = ptr.String(jtv) } - case "S3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -15188,7 +14682,6 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3BucketOwner = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -15197,7 +14690,6 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -15272,7 +14764,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.BillingMode = types.BillingMode(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -15285,22 +14776,18 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.ItemCount = ptr.Int64(i64) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -15309,7 +14796,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableArn = ptr.String(jtv) } - case "TableCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -15325,7 +14811,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -15334,7 +14819,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -15343,7 +14827,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableName = ptr.String(jtv) } - case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15356,7 +14839,6 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableSizeBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -15392,27 +14874,22 @@ func awsAwsjson10_deserializeDocumentSourceTableFeatureDetails(v **types.SourceT if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexes(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentLocalSecondaryIndexes(&sv.LocalSecondaryIndexes, value); err != nil { return err } - case "SSEDescription": if err := awsAwsjson10_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } - case "StreamDescription": if err := awsAwsjson10_deserializeDocumentStreamSpecification(&sv.StreamDescription, value); err != nil { return err } - case "TimeToLiveDescription": if err := awsAwsjson10_deserializeDocumentTimeToLiveDescription(&sv.TimeToLiveDescription, value); err != nil { return err } - default: _, _ = key, value @@ -15459,7 +14936,6 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } } - case "KMSMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -15468,7 +14944,6 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.KMSMasterKeyArn = ptr.String(jtv) } - case "SSEType": if value != nil { jtv, ok := value.(string) @@ -15477,7 +14952,6 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.SSEType = types.SSEType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15486,7 +14960,6 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.Status = types.SSEStatus(jtv) } - default: _, _ = key, value @@ -15526,7 +14999,6 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.Enabled = ptr.Bool(jtv) } - case "KMSMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -15535,7 +15007,6 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.KMSMasterKeyId = ptr.String(jtv) } - case "SSEType": if value != nil { jtv, ok := value.(string) @@ -15544,7 +15015,6 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.SSEType = types.SSEType(jtv) } - default: _, _ = key, value @@ -15584,7 +15054,6 @@ func awsAwsjson10_deserializeDocumentStreamSpecification(v **types.StreamSpecifi } sv.StreamEnabled = ptr.Bool(jtv) } - case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -15593,7 +15062,6 @@ func awsAwsjson10_deserializeDocumentStreamSpecification(v **types.StreamSpecifi } sv.StreamViewType = types.StreamViewType(jtv) } - default: _, _ = key, value @@ -15659,15 +15127,9 @@ func awsAwsjson10_deserializeDocumentTableAlreadyExistsException(v **types.Table sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15675,15 +15137,11 @@ func awsAwsjson10_deserializeDocumentTableAlreadyExistsException(v **types.Table } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15714,7 +15172,6 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table if err := awsAwsjson10_deserializeDocumentReplicaAutoScalingDescriptionList(&sv.Replicas, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -15723,7 +15180,6 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table } sv.TableName = ptr.String(jtv) } - case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -15732,7 +15188,6 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table } sv.TableStatus = types.TableStatus(jtv) } - default: _, _ = key, value @@ -15779,7 +15234,6 @@ func awsAwsjson10_deserializeDocumentTableClassSummary(v **types.TableClassSumma } } - case "TableClass": if value != nil { jtv, ok := value.(string) @@ -15788,7 +15242,6 @@ func awsAwsjson10_deserializeDocumentTableClassSummary(v **types.TableClassSumma } sv.TableClass = types.TableClass(jtv) } - default: _, _ = key, value @@ -15824,7 +15277,6 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea if err := awsAwsjson10_deserializeDocumentAttributeDefinitions(&sv.AttributeDefinitions, value); err != nil { return err } - case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -15833,32 +15285,26 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea } sv.BillingMode = types.BillingMode(jtv) } - case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - case "SSESpecification": if err := awsAwsjson10_deserializeDocumentSSESpecification(&sv.SSESpecification, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -15867,7 +15313,6 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -15903,17 +15348,14 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription if err := awsAwsjson10_deserializeDocumentArchivalSummary(&sv.ArchivalSummary, value); err != nil { return err } - case "AttributeDefinitions": if err := awsAwsjson10_deserializeDocumentAttributeDefinitions(&sv.AttributeDefinitions, value); err != nil { return err } - case "BillingModeSummary": if err := awsAwsjson10_deserializeDocumentBillingModeSummary(&sv.BillingModeSummary, value); err != nil { return err } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -15929,7 +15371,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15938,12 +15379,10 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.DeletionProtectionEnabled = ptr.Bool(jtv) } - case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "GlobalTableVersion": if value != nil { jtv, ok := value.(string) @@ -15952,7 +15391,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.GlobalTableVersion = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -15965,12 +15403,10 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.ItemCount = ptr.Int64(i64) } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "LatestStreamArn": if value != nil { jtv, ok := value.(string) @@ -15979,7 +15415,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.LatestStreamArn = ptr.String(jtv) } - case "LatestStreamLabel": if value != nil { jtv, ok := value.(string) @@ -15988,42 +15423,34 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.LatestStreamLabel = ptr.String(jtv) } - case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescriptionList(&sv.LocalSecondaryIndexes, value); err != nil { return err } - case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(&sv.ProvisionedThroughput, value); err != nil { return err } - case "Replicas": if err := awsAwsjson10_deserializeDocumentReplicaDescriptionList(&sv.Replicas, value); err != nil { return err } - case "RestoreSummary": if err := awsAwsjson10_deserializeDocumentRestoreSummary(&sv.RestoreSummary, value); err != nil { return err } - case "SSEDescription": if err := awsAwsjson10_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } - case "StreamSpecification": if err := awsAwsjson10_deserializeDocumentStreamSpecification(&sv.StreamSpecification, value); err != nil { return err } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -16032,12 +15459,10 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableArn = ptr.String(jtv) } - case "TableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.TableClassSummary, value); err != nil { return err } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -16046,7 +15471,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -16055,7 +15479,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableName = ptr.String(jtv) } - case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -16068,7 +15491,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableSizeBytes = ptr.Int64(i64) } - case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -16077,7 +15499,6 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableStatus = types.TableStatus(jtv) } - default: _, _ = key, value @@ -16107,15 +15528,9 @@ func awsAwsjson10_deserializeDocumentTableInUseException(v **types.TableInUseExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16123,15 +15538,11 @@ func awsAwsjson10_deserializeDocumentTableInUseException(v **types.TableInUseExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16192,15 +15603,9 @@ func awsAwsjson10_deserializeDocumentTableNotFoundException(v **types.TableNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16208,15 +15613,11 @@ func awsAwsjson10_deserializeDocumentTableNotFoundException(v **types.TableNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16251,7 +15652,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16260,7 +15660,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16334,7 +15733,6 @@ func awsAwsjson10_deserializeDocumentTimeToLiveDescription(v **types.TimeToLiveD } sv.AttributeName = ptr.String(jtv) } - case "TimeToLiveStatus": if value != nil { jtv, ok := value.(string) @@ -16343,7 +15741,6 @@ func awsAwsjson10_deserializeDocumentTimeToLiveDescription(v **types.TimeToLiveD } sv.TimeToLiveStatus = types.TimeToLiveStatus(jtv) } - default: _, _ = key, value @@ -16383,7 +15780,6 @@ func awsAwsjson10_deserializeDocumentTimeToLiveSpecification(v **types.TimeToLiv } sv.AttributeName = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -16392,7 +15788,6 @@ func awsAwsjson10_deserializeDocumentTimeToLiveSpecification(v **types.TimeToLiv } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16422,20 +15817,13 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "CancellationReasons": if err := awsAwsjson10_deserializeDocumentCancellationReasonList(&sv.CancellationReasons, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16443,15 +15831,11 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16476,15 +15860,9 @@ func awsAwsjson10_deserializeDocumentTransactionConflictException(v **types.Tran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16492,15 +15870,11 @@ func awsAwsjson10_deserializeDocumentTransactionConflictException(v **types.Tran } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16525,15 +15899,9 @@ func awsAwsjson10_deserializeDocumentTransactionInProgressException(v **types.Tr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16541,15 +15909,11 @@ func awsAwsjson10_deserializeDocumentTransactionInProgressException(v **types.Tr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16584,7 +15948,6 @@ func awsAwsjson10_deserializeDocumentUpdateKinesisStreamingConfiguration(v **typ } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } - default: _, _ = key, value @@ -16620,12 +15983,10 @@ func awsAwsjson10_deserializeDocumentWriteRequest(v **types.WriteRequest, value if err := awsAwsjson10_deserializeDocumentDeleteRequest(&sv.DeleteRequest, value); err != nil { return err } - case "PutRequest": if err := awsAwsjson10_deserializeDocumentPutRequest(&sv.PutRequest, value); err != nil { return err } - default: _, _ = key, value @@ -16695,12 +16056,10 @@ func awsAwsjson10_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "Responses": if err := awsAwsjson10_deserializeDocumentPartiQLBatchResponse(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -16736,17 +16095,14 @@ func awsAwsjson10_deserializeOpDocumentBatchGetItemOutput(v **BatchGetItemOutput if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "Responses": if err := awsAwsjson10_deserializeDocumentBatchGetResponseMap(&sv.Responses, value); err != nil { return err } - case "UnprocessedKeys": if err := awsAwsjson10_deserializeDocumentBatchGetRequestMap(&sv.UnprocessedKeys, value); err != nil { return err } - default: _, _ = key, value @@ -16782,17 +16138,14 @@ func awsAwsjson10_deserializeOpDocumentBatchWriteItemOutput(v **BatchWriteItemOu if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetricsPerTable(&sv.ItemCollectionMetrics, value); err != nil { return err } - case "UnprocessedItems": if err := awsAwsjson10_deserializeDocumentBatchWriteItemRequestMap(&sv.UnprocessedItems, value); err != nil { return err } - default: _, _ = key, value @@ -16828,7 +16181,6 @@ func awsAwsjson10_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson10_deserializeDocumentBackupDetails(&sv.BackupDetails, value); err != nil { return err } - default: _, _ = key, value @@ -16864,7 +16216,6 @@ func awsAwsjson10_deserializeOpDocumentCreateGlobalTableOutput(v **CreateGlobalT if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -16900,7 +16251,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -16936,7 +16286,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput if err := awsAwsjson10_deserializeDocumentBackupDescription(&sv.BackupDescription, value); err != nil { return err } - default: _, _ = key, value @@ -16972,17 +16321,14 @@ func awsAwsjson10_deserializeOpDocumentDeleteItemOutput(v **DeleteItemOutput, va if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } - case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -17022,7 +16368,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17058,7 +16403,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTableOutput(v **DeleteTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17094,7 +16438,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeBackupOutput(v **DescribeBackupOu if err := awsAwsjson10_deserializeDocumentBackupDescription(&sv.BackupDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17130,7 +16473,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeContinuousBackupsOutput(v **Descr if err := awsAwsjson10_deserializeDocumentContinuousBackupsDescription(&sv.ContinuousBackupsDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17166,7 +16508,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des if err := awsAwsjson10_deserializeDocumentContributorInsightsRuleList(&sv.ContributorInsightsRuleList, value); err != nil { return err } - case "ContributorInsightsStatus": if value != nil { jtv, ok := value.(string) @@ -17175,12 +16516,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } - case "FailureException": if err := awsAwsjson10_deserializeDocumentFailureException(&sv.FailureException, value); err != nil { return err } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -17189,7 +16528,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.IndexName = ptr.String(jtv) } - case "LastUpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -17205,7 +16543,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -17214,7 +16551,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -17250,7 +16586,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -17286,7 +16621,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu if err := awsAwsjson10_deserializeDocumentExportDescription(&sv.ExportDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17322,7 +16656,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeGlobalTableOutput(v **DescribeGlo if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17362,12 +16695,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeGlobalTableSettingsOutput(v **Des } sv.GlobalTableName = ptr.String(jtv) } - case "ReplicaSettings": if err := awsAwsjson10_deserializeDocumentReplicaSettingsDescriptionList(&sv.ReplicaSettings, value); err != nil { return err } - default: _, _ = key, value @@ -17403,7 +16734,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu if err := awsAwsjson10_deserializeDocumentImportTableDescription(&sv.ImportTableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17439,7 +16769,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKinesisStreamingDestinationOutput if err := awsAwsjson10_deserializeDocumentKinesisDataStreamDestinations(&sv.KinesisDataStreamDestinations, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -17448,7 +16777,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKinesisStreamingDestinationOutput } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -17492,7 +16820,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.AccountMaxReadCapacityUnits = ptr.Int64(i64) } - case "AccountMaxWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -17505,7 +16832,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.AccountMaxWriteCapacityUnits = ptr.Int64(i64) } - case "TableMaxReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -17518,7 +16844,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.TableMaxReadCapacityUnits = ptr.Int64(i64) } - case "TableMaxWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -17531,7 +16856,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.TableMaxWriteCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -17567,7 +16891,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -17603,7 +16926,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableReplicaAutoScalingOutput(v * if err := awsAwsjson10_deserializeDocumentTableAutoScalingDescription(&sv.TableAutoScalingDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17639,7 +16961,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeTimeToLiveOutput(v **DescribeTime if err := awsAwsjson10_deserializeDocumentTimeToLiveDescription(&sv.TimeToLiveDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17679,12 +17000,10 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.DestinationStatus = types.DestinationStatus(jtv) } - case "EnableKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(&sv.EnableKinesisStreamingConfiguration, value); err != nil { return err } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -17693,7 +17012,6 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.StreamArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -17702,7 +17020,6 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -17742,12 +17059,10 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.DestinationStatus = types.DestinationStatus(jtv) } - case "EnableKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(&sv.EnableKinesisStreamingConfiguration, value); err != nil { return err } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -17756,7 +17071,6 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.StreamArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -17765,7 +17079,6 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -17801,17 +17114,14 @@ func awsAwsjson10_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } - case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17820,7 +17130,6 @@ func awsAwsjson10_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17856,12 +17165,10 @@ func awsAwsjson10_deserializeOpDocumentExecuteTransactionOutput(v **ExecuteTrans if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "Responses": if err := awsAwsjson10_deserializeDocumentItemResponseList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -17897,7 +17204,6 @@ func awsAwsjson10_deserializeOpDocumentExportTableToPointInTimeOutput(v **Export if err := awsAwsjson10_deserializeDocumentExportDescription(&sv.ExportDescription, value); err != nil { return err } - default: _, _ = key, value @@ -17933,12 +17239,10 @@ func awsAwsjson10_deserializeOpDocumentGetItemOutput(v **GetItemOutput, value in if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } - default: _, _ = key, value @@ -17978,7 +17282,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -17987,7 +17290,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -18023,7 +17325,6 @@ func awsAwsjson10_deserializeOpDocumentImportTableOutput(v **ImportTableOutput, if err := awsAwsjson10_deserializeDocumentImportTableDescription(&sv.ImportTableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -18059,7 +17360,6 @@ func awsAwsjson10_deserializeOpDocumentListBackupsOutput(v **ListBackupsOutput, if err := awsAwsjson10_deserializeDocumentBackupSummaries(&sv.BackupSummaries, value); err != nil { return err } - case "LastEvaluatedBackupArn": if value != nil { jtv, ok := value.(string) @@ -18068,7 +17368,6 @@ func awsAwsjson10_deserializeOpDocumentListBackupsOutput(v **ListBackupsOutput, } sv.LastEvaluatedBackupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18104,7 +17403,6 @@ func awsAwsjson10_deserializeOpDocumentListContributorInsightsOutput(v **ListCon if err := awsAwsjson10_deserializeDocumentContributorInsightsSummaries(&sv.ContributorInsightsSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18113,7 +17411,6 @@ func awsAwsjson10_deserializeOpDocumentListContributorInsightsOutput(v **ListCon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18149,7 +17446,6 @@ func awsAwsjson10_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsAwsjson10_deserializeDocumentExportSummaries(&sv.ExportSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18158,7 +17454,6 @@ func awsAwsjson10_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18194,7 +17489,6 @@ func awsAwsjson10_deserializeOpDocumentListGlobalTablesOutput(v **ListGlobalTabl if err := awsAwsjson10_deserializeDocumentGlobalTableList(&sv.GlobalTables, value); err != nil { return err } - case "LastEvaluatedGlobalTableName": if value != nil { jtv, ok := value.(string) @@ -18203,7 +17497,6 @@ func awsAwsjson10_deserializeOpDocumentListGlobalTablesOutput(v **ListGlobalTabl } sv.LastEvaluatedGlobalTableName = ptr.String(jtv) } - default: _, _ = key, value @@ -18239,7 +17532,6 @@ func awsAwsjson10_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsAwsjson10_deserializeDocumentImportSummaryList(&sv.ImportSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18248,7 +17540,6 @@ func awsAwsjson10_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18288,12 +17579,10 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.LastEvaluatedTableName = ptr.String(jtv) } - case "TableNames": if err := awsAwsjson10_deserializeDocumentTableNameList(&sv.TableNames, value); err != nil { return err } - default: _, _ = key, value @@ -18333,12 +17622,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsOfResourceOutput(v **ListTagsOfRe } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18374,17 +17661,14 @@ func awsAwsjson10_deserializeOpDocumentPutItemOutput(v **PutItemOutput, value in if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } - case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -18424,7 +17708,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -18460,7 +17743,6 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -18473,17 +17755,14 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.Count = int32(i64) } - case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } - case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } - case "ScannedCount": if value != nil { jtv, ok := value.(json.Number) @@ -18496,7 +17775,6 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.ScannedCount = int32(i64) } - default: _, _ = key, value @@ -18532,7 +17810,6 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableFromBackupOutput(v **RestoreT if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -18568,7 +17845,6 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableToPointInTimeOutput(v **Resto if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -18604,7 +17880,6 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -18617,17 +17892,14 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac } sv.Count = int32(i64) } - case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } - case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } - case "ScannedCount": if value != nil { jtv, ok := value.(json.Number) @@ -18640,7 +17912,6 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac } sv.ScannedCount = int32(i64) } - default: _, _ = key, value @@ -18676,12 +17947,10 @@ func awsAwsjson10_deserializeOpDocumentTransactGetItemsOutput(v **TransactGetIte if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "Responses": if err := awsAwsjson10_deserializeDocumentItemResponseList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -18717,12 +17986,10 @@ func awsAwsjson10_deserializeOpDocumentTransactWriteItemsOutput(v **TransactWrit if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } - case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetricsPerTable(&sv.ItemCollectionMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -18758,7 +18025,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateContinuousBackupsOutput(v **UpdateC if err := awsAwsjson10_deserializeDocumentContinuousBackupsDescription(&sv.ContinuousBackupsDescription, value); err != nil { return err } - default: _, _ = key, value @@ -18798,7 +18064,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -18807,7 +18072,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.IndexName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -18816,7 +18080,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -18852,7 +18115,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateGlobalTableOutput(v **UpdateGlobalT if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -18892,12 +18154,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateGlobalTableSettingsOutput(v **Updat } sv.GlobalTableName = ptr.String(jtv) } - case "ReplicaSettings": if err := awsAwsjson10_deserializeDocumentReplicaSettingsDescriptionList(&sv.ReplicaSettings, value); err != nil { return err } - default: _, _ = key, value @@ -18933,17 +18193,14 @@ func awsAwsjson10_deserializeOpDocumentUpdateItemOutput(v **UpdateItemOutput, va if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } - case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } - case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -18983,7 +18240,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.DestinationStatus = types.DestinationStatus(jtv) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -18992,7 +18248,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.StreamArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -19001,12 +18256,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.TableName = ptr.String(jtv) } - case "UpdateKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentUpdateKinesisStreamingConfiguration(&sv.UpdateKinesisStreamingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19042,7 +18295,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } - default: _, _ = key, value @@ -19078,7 +18330,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableReplicaAutoScalingOutput(v **U if err := awsAwsjson10_deserializeDocumentTableAutoScalingDescription(&sv.TableAutoScalingDescription, value); err != nil { return err } - default: _, _ = key, value @@ -19114,7 +18365,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTimeToLiveOutput(v **UpdateTimeToLi if err := awsAwsjson10_deserializeDocumentTimeToLiveSpecification(&sv.TimeToLiveSpecification, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/dynamodbstreams/deserializers.go b/service/dynamodbstreams/deserializers.go index 053158db9f2..a02a9913c50 100644 --- a/service/dynamodbstreams/deserializers.go +++ b/service/dynamodbstreams/deserializers.go @@ -901,15 +901,9 @@ func awsAwsjson10_deserializeDocumentExpiredIteratorException(v **types.ExpiredI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -917,15 +911,11 @@ func awsAwsjson10_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -960,7 +950,6 @@ func awsAwsjson10_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.PrincipalId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -969,7 +958,6 @@ func awsAwsjson10_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -999,15 +987,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1015,15 +997,11 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1092,7 +1070,6 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.AttributeName = ptr.String(jtv) } - case "KeyType": if value != nil { jtv, ok := value.(string) @@ -1101,7 +1078,6 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.KeyType = types.KeyType(jtv) } - default: _, _ = key, value @@ -1131,15 +1107,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1147,15 +1117,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1292,12 +1258,10 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.AwsRegion = ptr.String(jtv) } - case "dynamodb": if err := awsAwsjson10_deserializeDocumentStreamRecord(&sv.Dynamodb, value); err != nil { return err } - case "eventID": if value != nil { jtv, ok := value.(string) @@ -1306,7 +1270,6 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventID = ptr.String(jtv) } - case "eventName": if value != nil { jtv, ok := value.(string) @@ -1315,7 +1278,6 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventName = types.OperationType(jtv) } - case "eventSource": if value != nil { jtv, ok := value.(string) @@ -1324,7 +1286,6 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventSource = ptr.String(jtv) } - case "eventVersion": if value != nil { jtv, ok := value.(string) @@ -1333,12 +1294,10 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventVersion = ptr.String(jtv) } - case "userIdentity": if err := awsAwsjson10_deserializeDocumentIdentity(&sv.UserIdentity, value); err != nil { return err } - default: _, _ = key, value @@ -1402,15 +1361,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1418,15 +1371,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1461,7 +1410,6 @@ func awsAwsjson10_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.EndingSequenceNumber = ptr.String(jtv) } - case "StartingSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -1470,7 +1418,6 @@ func awsAwsjson10_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.StartingSequenceNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -1510,12 +1457,10 @@ func awsAwsjson10_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ParentShardId = ptr.String(jtv) } - case "SequenceNumberRange": if err := awsAwsjson10_deserializeDocumentSequenceNumberRange(&sv.SequenceNumberRange, value); err != nil { return err } - case "ShardId": if value != nil { jtv, ok := value.(string) @@ -1524,7 +1469,6 @@ func awsAwsjson10_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } - default: _, _ = key, value @@ -1598,7 +1542,6 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamArn = ptr.String(jtv) } - case "StreamLabel": if value != nil { jtv, ok := value.(string) @@ -1607,7 +1550,6 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamLabel = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -1616,7 +1558,6 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -1663,12 +1604,10 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } } - case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } - case "LastEvaluatedShardId": if value != nil { jtv, ok := value.(string) @@ -1677,12 +1616,10 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.LastEvaluatedShardId = ptr.String(jtv) } - case "Shards": if err := awsAwsjson10_deserializeDocumentShardDescriptionList(&sv.Shards, value); err != nil { return err } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -1691,7 +1628,6 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamArn = ptr.String(jtv) } - case "StreamLabel": if value != nil { jtv, ok := value.(string) @@ -1700,7 +1636,6 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamLabel = ptr.String(jtv) } - case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -1709,7 +1644,6 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamStatus = types.StreamStatus(jtv) } - case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -1718,7 +1652,6 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamViewType = types.StreamViewType(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -1727,7 +1660,6 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -1808,22 +1740,18 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } } - case "Keys": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Keys, value); err != nil { return err } - case "NewImage": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.NewImage, value); err != nil { return err } - case "OldImage": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.OldImage, value); err != nil { return err } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -1832,7 +1760,6 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.SequenceNumber = ptr.String(jtv) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1845,7 +1772,6 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.SizeBytes = ptr.Int64(i64) } - case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -1854,7 +1780,6 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.StreamViewType = types.StreamViewType(jtv) } - default: _, _ = key, value @@ -1920,15 +1845,9 @@ func awsAwsjson10_deserializeDocumentTrimmedDataAccessException(v **types.Trimme sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1936,15 +1855,11 @@ func awsAwsjson10_deserializeDocumentTrimmedDataAccessException(v **types.Trimme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1975,7 +1890,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsAwsjson10_deserializeDocumentStreamDescription(&sv.StreamDescription, value); err != nil { return err } - default: _, _ = key, value @@ -2015,12 +1929,10 @@ func awsAwsjson10_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.NextShardIterator = ptr.String(jtv) } - case "Records": if err := awsAwsjson10_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -2060,7 +1972,6 @@ func awsAwsjson10_deserializeOpDocumentGetShardIteratorOutput(v **GetShardIterat } sv.ShardIterator = ptr.String(jtv) } - default: _, _ = key, value @@ -2100,12 +2011,10 @@ func awsAwsjson10_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.LastEvaluatedStreamArn = ptr.String(jtv) } - case "Streams": if err := awsAwsjson10_deserializeDocumentStreamList(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/ebs/deserializers.go b/service/ebs/deserializers.go index 81530f5e043..34ed27c3524 100644 --- a/service/ebs/deserializers.go +++ b/service/ebs/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCompleteSnapshotOutput(v **CompleteSnapsh } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -514,12 +513,10 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.BlockSize = ptr.Int32(int32(i64)) } - case "ChangedBlocks": if err := awsRestjson1_deserializeDocumentChangedBlocks(&sv.ChangedBlocks, value); err != nil { return err } - case "ExpiryTime": if value != nil { switch jtv := value.(type) { @@ -535,7 +532,6 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -544,7 +540,6 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.NextToken = ptr.String(jtv) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -557,7 +552,6 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.VolumeSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -724,7 +718,6 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot if err := awsRestjson1_deserializeDocumentBlocks(&sv.Blocks, value); err != nil { return err } - case "BlockSize": if value != nil { jtv, ok := value.(json.Number) @@ -737,7 +730,6 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.BlockSize = ptr.Int32(int32(i64)) } - case "ExpiryTime": if value != nil { switch jtv := value.(type) { @@ -753,7 +745,6 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -762,7 +753,6 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.NextToken = ptr.String(jtv) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -775,7 +765,6 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.VolumeSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -1082,7 +1071,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.BlockSize = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1091,7 +1079,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.Description = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1100,7 +1087,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.KmsKeyArn = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -1109,7 +1095,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.OwnerId = ptr.String(jtv) } - case "ParentSnapshotId": if value != nil { jtv, ok := value.(string) @@ -1118,7 +1103,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.ParentSnapshotId = ptr.String(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -1127,7 +1111,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.SnapshotId = ptr.String(jtv) } - case "SseType": if value != nil { jtv, ok := value.(string) @@ -1136,7 +1119,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.SseType = types.SSEType(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1152,7 +1134,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1161,12 +1142,10 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.Status = types.Status(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -1179,7 +1158,6 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.VolumeSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -1497,15 +1475,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1513,7 +1485,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -1522,15 +1493,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1569,7 +1536,6 @@ func awsRestjson1_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockIndex = ptr.Int32(int32(i64)) } - case "BlockToken": if value != nil { jtv, ok := value.(string) @@ -1578,7 +1544,6 @@ func awsRestjson1_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1656,7 +1621,6 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.BlockIndex = ptr.Int32(int32(i64)) } - case "FirstBlockToken": if value != nil { jtv, ok := value.(string) @@ -1665,7 +1629,6 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.FirstBlockToken = ptr.String(jtv) } - case "SecondBlockToken": if value != nil { jtv, ok := value.(string) @@ -1674,7 +1637,6 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.SecondBlockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1738,15 +1700,9 @@ func awsRestjson1_deserializeDocumentConcurrentLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1754,15 +1710,11 @@ func awsRestjson1_deserializeDocumentConcurrentLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1787,15 +1739,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1803,15 +1749,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1836,15 +1778,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1852,15 +1788,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1885,15 +1817,9 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1901,7 +1827,6 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -1910,15 +1835,11 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Reason = types.RequestThrottledExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1943,15 +1864,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1959,7 +1874,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -1968,15 +1882,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = types.ResourceNotFoundExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2001,15 +1911,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2017,7 +1921,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2026,15 +1929,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2069,7 +1968,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2078,7 +1976,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2142,15 +2039,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2158,7 +2049,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2167,15 +2057,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/ec2instanceconnect/deserializers.go b/service/ec2instanceconnect/deserializers.go index dfd8c51bbe1..ca54732e6ac 100644 --- a/service/ec2instanceconnect/deserializers.go +++ b/service/ec2instanceconnect/deserializers.go @@ -742,15 +742,9 @@ func awsAwsjson11_deserializeDocumentAuthException(v **types.AuthException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -758,15 +752,11 @@ func awsAwsjson11_deserializeDocumentAuthException(v **types.AuthException, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -791,15 +781,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceNotFoundException(v **types.EC2I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -807,15 +791,11 @@ func awsAwsjson11_deserializeDocumentEC2InstanceNotFoundException(v **types.EC2I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -840,15 +820,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceStateInvalidException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -856,15 +830,11 @@ func awsAwsjson11_deserializeDocumentEC2InstanceStateInvalidException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -889,15 +859,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceTypeInvalidException(v **types.E sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -905,15 +869,11 @@ func awsAwsjson11_deserializeDocumentEC2InstanceTypeInvalidException(v **types.E } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -938,15 +898,9 @@ func awsAwsjson11_deserializeDocumentEC2InstanceUnavailableException(v **types.E sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -954,15 +908,11 @@ func awsAwsjson11_deserializeDocumentEC2InstanceUnavailableException(v **types.E } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -987,15 +937,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1003,15 +947,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1036,15 +976,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleAccessDisabledException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1052,15 +986,11 @@ func awsAwsjson11_deserializeDocumentSerialConsoleAccessDisabledException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1085,15 +1015,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionLimitExceededException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1101,15 +1025,11 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionLimitExceededException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1134,15 +1054,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnavailableException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1150,15 +1064,11 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnavailableException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1183,15 +1093,9 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnsupportedException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1199,15 +1103,11 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnsupportedException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1232,15 +1132,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1248,15 +1142,11 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1281,15 +1171,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1297,15 +1181,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1340,7 +1220,6 @@ func awsAwsjson11_deserializeOpDocumentSendSerialConsoleSSHPublicKeyOutput(v **S } sv.RequestId = ptr.String(jtv) } - case "Success": if value != nil { jtv, ok := value.(bool) @@ -1349,7 +1228,6 @@ func awsAwsjson11_deserializeOpDocumentSendSerialConsoleSSHPublicKeyOutput(v **S } sv.Success = jtv } - default: _, _ = key, value @@ -1389,7 +1267,6 @@ func awsAwsjson11_deserializeOpDocumentSendSSHPublicKeyOutput(v **SendSSHPublicK } sv.RequestId = ptr.String(jtv) } - case "Success": if value != nil { jtv, ok := value.(bool) @@ -1398,7 +1275,6 @@ func awsAwsjson11_deserializeOpDocumentSendSSHPublicKeyOutput(v **SendSSHPublicK } sv.Success = jtv } - default: _, _ = key, value diff --git a/service/ecr/deserializers.go b/service/ecr/deserializers.go index f46f19caae4..915e8d59e69 100644 --- a/service/ecr/deserializers.go +++ b/service/ecr/deserializers.go @@ -7421,7 +7421,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7430,7 +7429,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7504,7 +7502,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.AuthorizationToken = ptr.String(jtv) } - case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -7520,7 +7517,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } } - case "proxyEndpoint": if value != nil { jtv, ok := value.(string) @@ -7529,7 +7525,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.ProxyEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -7603,7 +7598,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -7612,7 +7606,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Author = ptr.String(jtv) } - case "imageHash": if value != nil { jtv, ok := value.(string) @@ -7621,12 +7614,10 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageHash = ptr.String(jtv) } - case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagsList(&sv.ImageTags, value); err != nil { return err } - case "platform": if value != nil { jtv, ok := value.(string) @@ -7635,7 +7626,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Platform = ptr.String(jtv) } - case "pushedAt": if value != nil { switch jtv := value.(type) { @@ -7651,7 +7641,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } } - case "registry": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7649,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Registry = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7669,7 +7657,6 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -7734,7 +7721,6 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -7743,7 +7729,6 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -7752,7 +7737,6 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7761,7 +7745,6 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7801,7 +7784,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -7810,7 +7792,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -7880,7 +7861,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsAwsjson11_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -7914,7 +7894,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } - case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -7923,7 +7902,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -7932,7 +7910,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7941,7 +7918,6 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8005,15 +7981,9 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8021,15 +7991,11 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8064,7 +8030,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -8073,7 +8038,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8113,7 +8077,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreatio } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -8122,7 +8085,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreatio } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8162,7 +8124,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.AwsAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8171,7 +8132,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Description = ptr.String(jtv) } - case "exploitAvailable": if value != nil { jtv, ok := value.(string) @@ -8180,7 +8140,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.ExploitAvailable = ptr.String(jtv) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -8189,7 +8148,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.FindingArn = ptr.String(jtv) } - case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -8205,7 +8163,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } - case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -8214,7 +8171,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.FixAvailable = ptr.String(jtv) } - case "lastObservedAt": if value != nil { switch jtv := value.(type) { @@ -8230,22 +8186,18 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } - case "packageVulnerabilityDetails": if err := awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } - case "remediation": if err := awsAwsjson11_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } - case "resources": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -8279,12 +8231,10 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } - case "scoreDetails": if err := awsAwsjson11_deserializeDocumentScoreDetails(&sv.ScoreDetails, value); err != nil { return err } - case "severity": if value != nil { jtv, ok := value.(string) @@ -8293,7 +8243,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Severity = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8302,7 +8251,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Status = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -8311,7 +8259,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8320,7 +8267,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8336,7 +8282,6 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } - default: _, _ = key, value @@ -8446,7 +8391,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - case "imageManifest": if value != nil { jtv, ok := value.(string) @@ -8455,7 +8399,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifest = ptr.String(jtv) } - case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -8464,7 +8407,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifestMediaType = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -8473,7 +8415,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -8482,7 +8423,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -8512,15 +8452,9 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8528,15 +8462,11 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8571,7 +8501,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ArtifactMediaType = ptr.String(jtv) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -8580,7 +8509,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageDigest = ptr.String(jtv) } - case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -8589,7 +8517,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageManifestMediaType = ptr.String(jtv) } - case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -8605,17 +8532,14 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } - case "imageScanFindingsSummary": if err := awsAwsjson11_deserializeDocumentImageScanFindingsSummary(&sv.ImageScanFindingsSummary, value); err != nil { return err } - case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } - case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8628,12 +8552,10 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageSizeInBytes = ptr.Int64(i64) } - case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } - case "lastRecordedPullTime": if value != nil { switch jtv := value.(type) { @@ -8649,7 +8571,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -8658,7 +8579,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -8667,7 +8587,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -8731,15 +8650,9 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8747,15 +8660,11 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8790,7 +8699,6 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureCode = types.ImageFailureCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8799,12 +8707,10 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureReason = ptr.String(jtv) } - case "imageId": if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - default: _, _ = key, value @@ -8878,7 +8784,6 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageDigest = ptr.String(jtv) } - case "imageTag": if value != nil { jtv, ok := value.(string) @@ -8887,7 +8792,6 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageTag = ptr.String(jtv) } - default: _, _ = key, value @@ -8985,15 +8889,9 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9001,15 +8899,11 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9044,7 +8938,6 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.FailureCode = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -9053,7 +8946,6 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.Region = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -9062,7 +8954,6 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.RegistryId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9071,7 +8962,6 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.Status = types.ReplicationStatus(jtv) } - default: _, _ = key, value @@ -9141,7 +9031,6 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -9150,7 +9039,6 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9159,7 +9047,6 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Name = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -9168,7 +9055,6 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Severity = types.FindingSeverity(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -9177,7 +9063,6 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -9247,17 +9132,14 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin if err := awsAwsjson11_deserializeDocumentEnhancedImageScanFindingList(&sv.EnhancedFindings, value); err != nil { return err } - case "findings": if err := awsAwsjson11_deserializeDocumentImageScanFindingList(&sv.Findings, value); err != nil { return err } - case "findingSeverityCounts": if err := awsAwsjson11_deserializeDocumentFindingSeverityCounts(&sv.FindingSeverityCounts, value); err != nil { return err } - case "imageScanCompletedAt": if value != nil { switch jtv := value.(type) { @@ -9273,7 +9155,6 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin } } - case "vulnerabilitySourceUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9289,7 +9170,6 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin } } - default: _, _ = key, value @@ -9325,7 +9205,6 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca if err := awsAwsjson11_deserializeDocumentFindingSeverityCounts(&sv.FindingSeverityCounts, value); err != nil { return err } - case "imageScanCompletedAt": if value != nil { switch jtv := value.(type) { @@ -9341,7 +9220,6 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca } } - case "vulnerabilitySourceUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9357,7 +9235,6 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca } } - default: _, _ = key, value @@ -9397,7 +9274,6 @@ func awsAwsjson11_deserializeDocumentImageScanningConfiguration(v **types.ImageS } sv.ScanOnPush = jtv } - default: _, _ = key, value @@ -9437,7 +9313,6 @@ func awsAwsjson11_deserializeDocumentImageScanStatus(v **types.ImageScanStatus, } sv.Description = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9446,7 +9321,6 @@ func awsAwsjson11_deserializeDocumentImageScanStatus(v **types.ImageScanStatus, } sv.Status = types.ScanStatus(jtv) } - default: _, _ = key, value @@ -9476,15 +9350,9 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9492,15 +9360,11 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9597,15 +9461,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9613,15 +9471,11 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9646,13 +9500,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "lastValidByteReceived": if value != nil { @@ -9666,8 +9514,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.LastValidByteReceived = ptr.Int64(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9675,7 +9522,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -9684,7 +9530,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -9693,7 +9538,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -9702,15 +9546,11 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9735,15 +9575,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9751,15 +9585,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9784,15 +9614,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9800,15 +9624,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9833,13 +9653,7 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "kmsError": if value != nil { @@ -9849,8 +9663,7 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.KmsError = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9858,15 +9671,11 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9901,7 +9710,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerAvailability = types.LayerAvailability(jtv) } - case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -9910,7 +9718,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerDigest = ptr.String(jtv) } - case "layerSize": if value != nil { jtv, ok := value.(json.Number) @@ -9923,7 +9730,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerSize = ptr.Int64(i64) } - case "mediaType": if value != nil { jtv, ok := value.(string) @@ -9932,7 +9738,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.MediaType = ptr.String(jtv) } - default: _, _ = key, value @@ -9962,15 +9767,9 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9978,15 +9777,11 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10021,7 +9816,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureCode = types.LayerFailureCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10030,7 +9824,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureReason = ptr.String(jtv) } - case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -10039,7 +9832,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.LayerDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -10103,15 +9895,9 @@ func awsAwsjson11_deserializeDocumentLayerInaccessibleException(v **types.LayerI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10119,15 +9905,11 @@ func awsAwsjson11_deserializeDocumentLayerInaccessibleException(v **types.LayerI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10186,15 +9968,9 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10202,15 +9978,11 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10235,15 +10007,9 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10251,15 +10017,11 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10284,15 +10046,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10300,15 +10056,11 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10333,15 +10085,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewInProgressException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10349,15 +10095,11 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewInProgressException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10382,15 +10124,9 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewNotFoundException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10398,15 +10134,11 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewNotFoundException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10437,7 +10169,6 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life if err := awsAwsjson11_deserializeDocumentLifecyclePolicyRuleAction(&sv.Action, value); err != nil { return err } - case "appliedRulePriority": if value != nil { jtv, ok := value.(json.Number) @@ -10450,7 +10181,6 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } sv.AppliedRulePriority = ptr.Int32(int32(i64)) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -10459,7 +10189,6 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } sv.ImageDigest = ptr.String(jtv) } - case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -10475,12 +10204,10 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } } - case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } - default: _, _ = key, value @@ -10558,7 +10285,6 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewSummary(v **types.Lif } sv.ExpiringImageTotalCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10598,7 +10324,6 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyRuleAction(v **types.Lifecyc } sv.Type = types.ImageActionType(jtv) } - default: _, _ = key, value @@ -10628,15 +10353,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10644,15 +10363,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10683,17 +10398,14 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsAwsjson11_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } - case "referenceUrls": if err := awsAwsjson11_deserializeDocumentReferenceUrlsList(&sv.ReferenceUrls, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsAwsjson11_deserializeDocumentRelatedVulnerabilitiesList(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -10702,7 +10414,6 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } - case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -10711,7 +10422,6 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } - case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -10727,7 +10437,6 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -10736,7 +10445,6 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } - case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10752,7 +10460,6 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -10761,12 +10468,10 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } - case "vulnerablePackages": if err := awsAwsjson11_deserializeDocumentVulnerablePackagesList(&sv.VulnerablePackages, value); err != nil { return err } - default: _, _ = key, value @@ -10813,7 +10518,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } } - case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -10822,7 +10526,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.CredentialArn = ptr.String(jtv) } - case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -10831,7 +10534,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.EcrRepositoryPrefix = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -10840,7 +10542,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.RegistryId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10856,7 +10557,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } } - case "upstreamRegistry": if value != nil { jtv, ok := value.(string) @@ -10865,7 +10565,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.UpstreamRegistry = types.UpstreamRegistry(jtv) } - case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -10874,7 +10573,6 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.UpstreamRegistryUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10904,15 +10602,9 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleAlreadyExistsException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10920,15 +10612,11 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleAlreadyExistsException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10987,15 +10675,9 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleNotFoundException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11003,15 +10685,11 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleNotFoundException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11082,7 +10760,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -11091,7 +10768,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -11121,15 +10797,9 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11137,15 +10807,11 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11206,15 +10872,9 @@ func awsAwsjson11_deserializeDocumentRegistryPolicyNotFoundException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11222,15 +10882,11 @@ func awsAwsjson11_deserializeDocumentRegistryPolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11261,7 +10917,6 @@ func awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(v **types.Reg if err := awsAwsjson11_deserializeDocumentRegistryScanningRuleList(&sv.Rules, value); err != nil { return err } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -11270,7 +10925,6 @@ func awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(v **types.Reg } sv.ScanType = types.ScanType(jtv) } - default: _, _ = key, value @@ -11306,7 +10960,6 @@ func awsAwsjson11_deserializeDocumentRegistryScanningRule(v **types.RegistryScan if err := awsAwsjson11_deserializeDocumentScanningRepositoryFilterList(&sv.RepositoryFilters, value); err != nil { return err } - case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -11315,7 +10968,6 @@ func awsAwsjson11_deserializeDocumentRegistryScanningRule(v **types.RegistryScan } sv.ScanFrequency = types.ScanFrequency(jtv) } - default: _, _ = key, value @@ -11421,7 +11073,6 @@ func awsAwsjson11_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsAwsjson11_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } - default: _, _ = key, value @@ -11457,7 +11108,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfiguration(v **types.Replicat if err := awsAwsjson11_deserializeDocumentReplicationRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -11497,7 +11147,6 @@ func awsAwsjson11_deserializeDocumentReplicationDestination(v **types.Replicatio } sv.Region = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -11506,7 +11155,6 @@ func awsAwsjson11_deserializeDocumentReplicationDestination(v **types.Replicatio } sv.RegistryId = ptr.String(jtv) } - default: _, _ = key, value @@ -11576,12 +11224,10 @@ func awsAwsjson11_deserializeDocumentReplicationRule(v **types.ReplicationRule, if err := awsAwsjson11_deserializeDocumentReplicationDestinationList(&sv.Destinations, value); err != nil { return err } - case "repositoryFilters": if err := awsAwsjson11_deserializeDocumentRepositoryFilterList(&sv.RepositoryFilters, value); err != nil { return err } - default: _, _ = key, value @@ -11662,17 +11308,14 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } } - case "encryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "imageScanningConfiguration": if err := awsAwsjson11_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } - case "imageTagMutability": if value != nil { jtv, ok := value.(string) @@ -11681,7 +11324,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.ImageTagMutability = types.ImageTagMutability(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -11690,7 +11332,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RegistryId = ptr.String(jtv) } - case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -11699,7 +11340,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryArn = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -11708,7 +11348,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryName = ptr.String(jtv) } - case "repositoryUri": if value != nil { jtv, ok := value.(string) @@ -11717,7 +11356,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryUri = ptr.String(jtv) } - default: _, _ = key, value @@ -11747,15 +11385,9 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11763,15 +11395,11 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11802,7 +11430,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi if err := awsAwsjson11_deserializeDocumentRCTAppliedForList(&sv.AppliedFor, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11818,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } } - case "customRoleArn": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11453,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.CustomRoleArn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11836,12 +11461,10 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.Description = ptr.String(jtv) } - case "encryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreationTemplate(&sv.EncryptionConfiguration, value); err != nil { return err } - case "imageTagMutability": if value != nil { jtv, ok := value.(string) @@ -11850,7 +11473,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.ImageTagMutability = types.ImageTagMutability(jtv) } - case "lifecyclePolicy": if value != nil { jtv, ok := value.(string) @@ -11859,7 +11481,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.LifecyclePolicy = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -11868,7 +11489,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.Prefix = ptr.String(jtv) } - case "repositoryPolicy": if value != nil { jtv, ok := value.(string) @@ -11877,12 +11497,10 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.RepositoryPolicy = ptr.String(jtv) } - case "resourceTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ResourceTags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -11898,7 +11516,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } } - default: _, _ = key, value @@ -11972,7 +11589,6 @@ func awsAwsjson11_deserializeDocumentRepositoryFilter(v **types.RepositoryFilter } sv.Filter = ptr.String(jtv) } - case "filterType": if value != nil { jtv, ok := value.(string) @@ -11981,7 +11597,6 @@ func awsAwsjson11_deserializeDocumentRepositoryFilter(v **types.RepositoryFilter } sv.FilterType = types.RepositoryFilterType(jtv) } - default: _, _ = key, value @@ -12079,15 +11694,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12095,15 +11704,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12128,15 +11733,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12144,15 +11743,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12177,15 +11772,9 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12193,15 +11782,11 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12232,7 +11817,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R if err := awsAwsjson11_deserializeDocumentScanningRepositoryFilterList(&sv.AppliedScanFilters, value); err != nil { return err } - case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -12241,7 +11825,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.RepositoryArn = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -12250,7 +11833,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.RepositoryName = ptr.String(jtv) } - case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -12259,7 +11841,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.ScanFrequency = types.ScanFrequency(jtv) } - case "scanOnPush": if value != nil { jtv, ok := value.(bool) @@ -12268,7 +11849,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.ScanOnPush = jtv } - default: _, _ = key, value @@ -12308,7 +11888,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.FailureCode = types.ScanningConfigurationFailureCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -12317,7 +11896,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.FailureReason = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -12326,7 +11904,6 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -12430,7 +12007,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12439,12 +12015,10 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12453,7 +12027,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -12489,7 +12062,6 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } - default: _, _ = key, value @@ -12563,7 +12135,6 @@ func awsAwsjson11_deserializeDocumentScanningRepositoryFilter(v **types.Scanning } sv.Filter = ptr.String(jtv) } - case "filterType": if value != nil { jtv, ok := value.(string) @@ -12572,7 +12143,6 @@ func awsAwsjson11_deserializeDocumentScanningRepositoryFilter(v **types.Scanning } sv.FilterType = types.ScanningRepositoryFilterType(jtv) } - default: _, _ = key, value @@ -12636,15 +12206,9 @@ func awsAwsjson11_deserializeDocumentScanNotFoundException(v **types.ScanNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12652,15 +12216,11 @@ func awsAwsjson11_deserializeDocumentScanNotFoundException(v **types.ScanNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12691,7 +12251,6 @@ func awsAwsjson11_deserializeDocumentScoreDetails(v **types.ScoreDetails, value if err := awsAwsjson11_deserializeDocumentCvssScoreDetails(&sv.Cvss, value); err != nil { return err } - default: _, _ = key, value @@ -12721,15 +12280,9 @@ func awsAwsjson11_deserializeDocumentSecretNotFoundException(v **types.SecretNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12737,15 +12290,11 @@ func awsAwsjson11_deserializeDocumentSecretNotFoundException(v **types.SecretNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12770,15 +12319,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12786,15 +12329,11 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12829,7 +12368,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12838,7 +12376,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12938,15 +12475,9 @@ func awsAwsjson11_deserializeDocumentTemplateAlreadyExistsException(v **types.Te sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12954,15 +12485,11 @@ func awsAwsjson11_deserializeDocumentTemplateAlreadyExistsException(v **types.Te } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12987,15 +12514,9 @@ func awsAwsjson11_deserializeDocumentTemplateNotFoundException(v **types.Templat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13003,15 +12524,11 @@ func awsAwsjson11_deserializeDocumentTemplateNotFoundException(v **types.Templat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13036,15 +12553,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13052,15 +12563,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13085,15 +12592,9 @@ func awsAwsjson11_deserializeDocumentUnableToAccessSecretException(v **types.Una sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13101,15 +12602,11 @@ func awsAwsjson11_deserializeDocumentUnableToAccessSecretException(v **types.Una } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13134,15 +12631,9 @@ func awsAwsjson11_deserializeDocumentUnableToDecryptSecretValueException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13150,15 +12641,11 @@ func awsAwsjson11_deserializeDocumentUnableToDecryptSecretValueException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13183,15 +12670,9 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamImageException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13199,15 +12680,11 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamImageException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13232,15 +12709,9 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamLayerException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13248,15 +12719,11 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamLayerException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13281,15 +12748,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedImageTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13297,15 +12758,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedImageTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13330,15 +12787,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedUpstreamRegistryException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13346,15 +12797,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedUpstreamRegistryException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13379,15 +12826,9 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13395,15 +12836,11 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13428,15 +12865,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13444,15 +12875,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13487,7 +12914,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } - case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -13500,7 +12926,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = ptr.Int32(int32(i64)) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -13509,7 +12934,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } - case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -13518,7 +12942,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13527,7 +12950,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } - case "packageManager": if value != nil { jtv, ok := value.(string) @@ -13536,7 +12958,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = ptr.String(jtv) } - case "release": if value != nil { jtv, ok := value.(string) @@ -13545,7 +12966,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } - case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -13554,7 +12974,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13563,7 +12982,6 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13633,12 +13051,10 @@ func awsAwsjson11_deserializeOpDocumentBatchCheckLayerAvailabilityOutput(v **Bat if err := awsAwsjson11_deserializeDocumentLayerFailureList(&sv.Failures, value); err != nil { return err } - case "layers": if err := awsAwsjson11_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } - default: _, _ = key, value @@ -13674,12 +13090,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImageOutput(v **BatchDeleteIma if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } - case "imageIds": if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } - default: _, _ = key, value @@ -13715,12 +13129,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetImageOutput(v **BatchGetImageOutp if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } - case "images": if err := awsAwsjson11_deserializeDocumentImageList(&sv.Images, value); err != nil { return err } - default: _, _ = key, value @@ -13756,12 +13168,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetRepositoryScanningConfigurationOu if err := awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailureList(&sv.Failures, value); err != nil { return err } - case "scanningConfigurations": if err := awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationList(&sv.ScanningConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -13801,7 +13211,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.LayerDigest = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -13810,7 +13219,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13819,7 +13227,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -13828,7 +13235,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -13875,7 +13281,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } } - case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -13884,7 +13289,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.CredentialArn = ptr.String(jtv) } - case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -13893,7 +13297,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.EcrRepositoryPrefix = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -13902,7 +13305,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.RegistryId = ptr.String(jtv) } - case "upstreamRegistry": if value != nil { jtv, ok := value.(string) @@ -13911,7 +13313,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.UpstreamRegistry = types.UpstreamRegistry(jtv) } - case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -13920,7 +13321,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.UpstreamRegistryUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13960,12 +13360,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } - case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -14001,7 +13399,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -14048,7 +13445,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } } - case "lifecyclePolicyText": if value != nil { jtv, ok := value.(string) @@ -14057,7 +13453,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.LifecyclePolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14066,7 +13461,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14075,7 +13469,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -14122,7 +13515,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } } - case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -14131,7 +13523,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.CredentialArn = ptr.String(jtv) } - case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -14140,7 +13531,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.EcrRepositoryPrefix = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14149,7 +13539,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.RegistryId = ptr.String(jtv) } - case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -14158,7 +13547,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.UpstreamRegistryUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14198,7 +13586,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryPolicyOutput(v **DeleteRegi } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14207,7 +13594,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryPolicyOutput(v **DeleteRegi } sv.RegistryId = ptr.String(jtv) } - default: _, _ = key, value @@ -14247,12 +13633,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } - case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -14288,7 +13672,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -14328,7 +13711,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14337,7 +13719,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14346,7 +13727,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -14382,12 +13762,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageReplicationStatusOutput(v ** if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - case "replicationStatuses": if err := awsAwsjson11_deserializeDocumentImageReplicationStatusList(&sv.ReplicationStatuses, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14396,7 +13774,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageReplicationStatusOutput(v ** } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -14432,17 +13809,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - case "imageScanFindings": if err := awsAwsjson11_deserializeDocumentImageScanFindings(&sv.ImageScanFindings, value); err != nil { return err } - case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14451,7 +13825,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14460,7 +13833,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14469,7 +13841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -14505,7 +13876,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageDetailList(&sv.ImageDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14514,7 +13884,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14554,12 +13923,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePullThroughCacheRulesOutput(v **D } sv.NextToken = ptr.String(jtv) } - case "pullThroughCacheRules": if err := awsAwsjson11_deserializeDocumentPullThroughCacheRuleList(&sv.PullThroughCacheRules, value); err != nil { return err } - default: _, _ = key, value @@ -14599,12 +13966,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryId = ptr.String(jtv) } - case "replicationConfiguration": if err := awsAwsjson11_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14644,12 +14009,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoriesOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -14689,7 +14052,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoryCreationTemplatesOutput } sv.NextToken = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14698,12 +14060,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoryCreationTemplatesOutput } sv.RegistryId = ptr.String(jtv) } - case "repositoryCreationTemplates": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplateList(&sv.RepositoryCreationTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -14743,7 +14103,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingOutput(v **GetAccountSet } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -14752,7 +14111,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingOutput(v **GetAccountSet } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14788,7 +14146,6 @@ func awsAwsjson11_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor if err := awsAwsjson11_deserializeDocumentAuthorizationDataList(&sv.AuthorizationData, value); err != nil { return err } - default: _, _ = key, value @@ -14828,7 +14185,6 @@ func awsAwsjson11_deserializeOpDocumentGetDownloadUrlForLayerOutput(v **GetDownl } sv.DownloadUrl = ptr.String(jtv) } - case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -14837,7 +14193,6 @@ func awsAwsjson11_deserializeOpDocumentGetDownloadUrlForLayerOutput(v **GetDownl } sv.LayerDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -14884,7 +14239,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } } - case "lifecyclePolicyText": if value != nil { jtv, ok := value.(string) @@ -14893,7 +14247,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.LifecyclePolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14902,7 +14255,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14911,7 +14263,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -14951,7 +14302,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.LifecyclePolicyText = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14960,12 +14310,10 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.NextToken = ptr.String(jtv) } - case "previewResults": if err := awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResultList(&sv.PreviewResults, value); err != nil { return err } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -14974,7 +14322,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14983,7 +14330,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.RepositoryName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14992,12 +14338,10 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.Status = types.LifecyclePolicyPreviewStatus(jtv) } - case "summary": if err := awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -15037,7 +14381,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryPolicyOutput(v **GetRegistryPo } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15046,7 +14389,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryPolicyOutput(v **GetRegistryPo } sv.RegistryId = ptr.String(jtv) } - default: _, _ = key, value @@ -15086,12 +14428,10 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryScanningConfigurationOutput(v } sv.RegistryId = ptr.String(jtv) } - case "scanningConfiguration": if err := awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(&sv.ScanningConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15131,7 +14471,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15140,7 +14479,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15149,7 +14487,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15193,7 +14530,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.PartSize = ptr.Int64(i64) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -15202,7 +14538,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -15238,7 +14573,6 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15247,7 +14581,6 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15283,7 +14616,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15323,7 +14655,6 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15332,7 +14663,6 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15368,7 +14698,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageOutput(v **PutImageOutput, value if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } - default: _, _ = key, value @@ -15404,7 +14733,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P if err := awsAwsjson11_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15413,7 +14741,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15422,7 +14749,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15462,7 +14788,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.ImageTagMutability = types.ImageTagMutability(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15471,7 +14796,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15480,7 +14804,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15520,7 +14843,6 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.LifecyclePolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15529,7 +14851,6 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15538,7 +14859,6 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15578,7 +14898,6 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryPolicyOutput(v **PutRegistryPo } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15587,7 +14906,6 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryPolicyOutput(v **PutRegistryPo } sv.RegistryId = ptr.String(jtv) } - default: _, _ = key, value @@ -15623,7 +14941,6 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryScanningConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(&sv.RegistryScanningConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15659,7 +14976,6 @@ func awsAwsjson11_deserializeOpDocumentPutReplicationConfigurationOutput(v **Put if err := awsAwsjson11_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15699,7 +15015,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15708,7 +15023,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15717,7 +15031,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15753,12 +15066,10 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15767,7 +15078,6 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15776,7 +15086,6 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -15816,7 +15125,6 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.LifecyclePolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15825,7 +15133,6 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15834,7 +15141,6 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.RepositoryName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15843,7 +15149,6 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.Status = types.LifecyclePolicyPreviewStatus(jtv) } - default: _, _ = key, value @@ -15945,7 +15250,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.CredentialArn = ptr.String(jtv) } - case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -15954,7 +15258,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.EcrRepositoryPrefix = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -15963,7 +15266,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.RegistryId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15979,7 +15281,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } } - default: _, _ = key, value @@ -16019,12 +15320,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } - case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -16068,7 +15367,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.LastByteReceived = ptr.Int64(i64) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -16077,7 +15375,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -16086,7 +15383,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -16095,7 +15391,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -16135,7 +15430,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.CredentialArn = ptr.String(jtv) } - case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -16144,7 +15438,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.EcrRepositoryPrefix = ptr.String(jtv) } - case "failure": if value != nil { jtv, ok := value.(string) @@ -16153,7 +15446,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.Failure = ptr.String(jtv) } - case "isValid": if value != nil { jtv, ok := value.(bool) @@ -16162,7 +15454,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.IsValid = jtv } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -16171,7 +15462,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.RegistryId = ptr.String(jtv) } - case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -16180,7 +15470,6 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.UpstreamRegistryUrl = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ecrpublic/deserializers.go b/service/ecrpublic/deserializers.go index 33f85ea6823..3f4035fa457 100644 --- a/service/ecrpublic/deserializers.go +++ b/service/ecrpublic/deserializers.go @@ -3773,7 +3773,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.AuthorizationToken = ptr.String(jtv) } - case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -3789,7 +3788,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } } - default: _, _ = key, value @@ -3819,15 +3817,9 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3835,15 +3827,11 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3874,7 +3862,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - case "imageManifest": if value != nil { jtv, ok := value.(string) @@ -3883,7 +3870,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifest = ptr.String(jtv) } - case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -3892,7 +3878,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifestMediaType = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -3901,7 +3886,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -3910,7 +3894,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -3940,15 +3923,9 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3956,15 +3933,11 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3999,7 +3972,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ArtifactMediaType = ptr.String(jtv) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -4008,7 +3980,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageDigest = ptr.String(jtv) } - case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -4017,7 +3988,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageManifestMediaType = ptr.String(jtv) } - case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -4033,7 +4003,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } - case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4046,12 +4015,10 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageSizeInBytes = ptr.Int64(i64) } - case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -4060,7 +4027,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -4069,7 +4035,6 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -4133,15 +4098,9 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4149,15 +4108,11 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4192,7 +4147,6 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureCode = types.ImageFailureCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4201,12 +4155,10 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureReason = ptr.String(jtv) } - case "imageId": if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } - default: _, _ = key, value @@ -4280,7 +4232,6 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageDigest = ptr.String(jtv) } - case "imageTag": if value != nil { jtv, ok := value.(string) @@ -4289,7 +4240,6 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageTag = ptr.String(jtv) } - default: _, _ = key, value @@ -4353,15 +4303,9 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4369,15 +4313,11 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4402,15 +4342,9 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4418,15 +4352,11 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4468,12 +4398,10 @@ func awsAwsjson11_deserializeDocumentImageTagDetail(v **types.ImageTagDetail, va } } - case "imageDetail": if err := awsAwsjson11_deserializeDocumentReferencedImageDetail(&sv.ImageDetail, value); err != nil { return err } - case "imageTag": if value != nil { jtv, ok := value.(string) @@ -4482,7 +4410,6 @@ func awsAwsjson11_deserializeDocumentImageTagDetail(v **types.ImageTagDetail, va } sv.ImageTag = ptr.String(jtv) } - default: _, _ = key, value @@ -4582,15 +4509,9 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4598,15 +4519,11 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4631,13 +4548,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "lastValidByteReceived": if value != nil { @@ -4651,8 +4562,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.LastValidByteReceived = ptr.Int64(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4660,7 +4570,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -4669,7 +4578,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -4678,7 +4586,6 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -4687,15 +4594,11 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4720,15 +4623,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4736,15 +4633,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4769,15 +4662,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4785,15 +4672,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4828,7 +4711,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerAvailability = types.LayerAvailability(jtv) } - case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -4837,7 +4719,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerDigest = ptr.String(jtv) } - case "layerSize": if value != nil { jtv, ok := value.(json.Number) @@ -4850,7 +4731,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerSize = ptr.Int64(i64) } - case "mediaType": if value != nil { jtv, ok := value.(string) @@ -4859,7 +4739,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.MediaType = ptr.String(jtv) } - default: _, _ = key, value @@ -4889,15 +4768,9 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4905,15 +4778,11 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4948,7 +4817,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureCode = types.LayerFailureCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4957,7 +4825,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureReason = ptr.String(jtv) } - case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -4966,7 +4833,6 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.LayerDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -5064,15 +4930,9 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5080,15 +4940,11 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5113,15 +4969,9 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5129,15 +4979,11 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5162,15 +5008,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5178,15 +5018,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5257,7 +5093,6 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ArtifactMediaType = ptr.String(jtv) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -5266,7 +5101,6 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageDigest = ptr.String(jtv) } - case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -5275,7 +5109,6 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageManifestMediaType = ptr.String(jtv) } - case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -5291,7 +5124,6 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } } - case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5304,7 +5136,6 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -5334,15 +5165,9 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5350,15 +5175,11 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5389,7 +5210,6 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac if err := awsAwsjson11_deserializeDocumentRegistryAliasList(&sv.Aliases, value); err != nil { return err } - case "registryArn": if value != nil { jtv, ok := value.(string) @@ -5398,7 +5218,6 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryArn = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5226,6 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryId = ptr.String(jtv) } - case "registryUri": if value != nil { jtv, ok := value.(string) @@ -5416,7 +5234,6 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryUri = ptr.String(jtv) } - case "verified": if value != nil { jtv, ok := value.(bool) @@ -5425,7 +5242,6 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.Verified = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5465,7 +5281,6 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.DefaultRegistryAlias = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -5474,7 +5289,6 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.Name = ptr.String(jtv) } - case "primaryRegistryAlias": if value != nil { jtv, ok := value.(bool) @@ -5483,7 +5297,6 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.PrimaryRegistryAlias = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -5492,7 +5305,6 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.Status = types.RegistryAliasStatus(jtv) } - default: _, _ = key, value @@ -5566,7 +5378,6 @@ func awsAwsjson11_deserializeDocumentRegistryCatalogData(v **types.RegistryCatal } sv.DisplayName = ptr.String(jtv) } - default: _, _ = key, value @@ -5630,15 +5441,9 @@ func awsAwsjson11_deserializeDocumentRegistryNotFoundException(v **types.Registr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5646,15 +5451,11 @@ func awsAwsjson11_deserializeDocumentRegistryNotFoundException(v **types.Registr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5696,7 +5497,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -5705,7 +5505,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RegistryId = ptr.String(jtv) } - case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -5714,7 +5513,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryArn = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -5723,7 +5521,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryName = ptr.String(jtv) } - case "repositoryUri": if value != nil { jtv, ok := value.(string) @@ -5732,7 +5529,6 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryUri = ptr.String(jtv) } - default: _, _ = key, value @@ -5762,15 +5558,9 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5778,15 +5568,11 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5821,12 +5607,10 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.AboutText = ptr.String(jtv) } - case "architectures": if err := awsAwsjson11_deserializeDocumentArchitectureList(&sv.Architectures, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5835,7 +5619,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.Description = ptr.String(jtv) } - case "logoUrl": if value != nil { jtv, ok := value.(string) @@ -5844,7 +5627,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.LogoUrl = ptr.String(jtv) } - case "marketplaceCertified": if value != nil { jtv, ok := value.(bool) @@ -5853,12 +5635,10 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.MarketplaceCertified = ptr.Bool(jtv) } - case "operatingSystems": if err := awsAwsjson11_deserializeDocumentOperatingSystemList(&sv.OperatingSystems, value); err != nil { return err } - case "usageText": if value != nil { jtv, ok := value.(string) @@ -5867,7 +5647,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.UsageText = ptr.String(jtv) } - default: _, _ = key, value @@ -5897,15 +5676,9 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogDataNotFoundException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5913,15 +5686,11 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogDataNotFoundException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5980,15 +5749,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5996,15 +5759,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6029,15 +5788,9 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6045,15 +5798,11 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6078,15 +5827,9 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6094,15 +5837,11 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6127,15 +5866,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6143,15 +5876,11 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6186,7 +5915,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6195,7 +5923,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6259,15 +5986,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6275,15 +5996,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6308,15 +6025,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedCommandException(v **types.Unsup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6324,15 +6035,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedCommandException(v **types.Unsup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6357,15 +6064,9 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6373,15 +6074,11 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6412,12 +6109,10 @@ func awsAwsjson11_deserializeOpDocumentBatchCheckLayerAvailabilityOutput(v **Bat if err := awsAwsjson11_deserializeDocumentLayerFailureList(&sv.Failures, value); err != nil { return err } - case "layers": if err := awsAwsjson11_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } - default: _, _ = key, value @@ -6453,12 +6148,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImageOutput(v **BatchDeleteIma if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } - case "imageIds": if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } - default: _, _ = key, value @@ -6498,7 +6191,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.LayerDigest = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -6507,7 +6199,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6516,7 +6207,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -6525,7 +6215,6 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -6561,12 +6250,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } - case "repository": if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -6602,7 +6289,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -6642,7 +6328,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -6651,7 +6336,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6660,7 +6344,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -6696,7 +6379,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageDetailList(&sv.ImageDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6705,7 +6387,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6741,7 +6422,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageTagsOutput(v **DescribeImage if err := awsAwsjson11_deserializeDocumentImageTagDetailList(&sv.ImageTagDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6750,7 +6430,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageTagsOutput(v **DescribeImage } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6790,12 +6469,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegistriesOutput(v **DescribeRegi } sv.NextToken = ptr.String(jtv) } - case "registries": if err := awsAwsjson11_deserializeDocumentRegistryList(&sv.Registries, value); err != nil { return err } - default: _, _ = key, value @@ -6835,12 +6512,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoriesOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -6876,7 +6551,6 @@ func awsAwsjson11_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor if err := awsAwsjson11_deserializeDocumentAuthorizationData(&sv.AuthorizationData, value); err != nil { return err } - default: _, _ = key, value @@ -6912,7 +6586,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryCatalogDataOutput(v **GetRegis if err := awsAwsjson11_deserializeDocumentRegistryCatalogData(&sv.RegistryCatalogData, value); err != nil { return err } - default: _, _ = key, value @@ -6948,7 +6621,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryCatalogDataOutput(v **GetRep if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } - default: _, _ = key, value @@ -6988,7 +6660,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -6997,7 +6668,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7006,7 +6676,6 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -7050,7 +6719,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.PartSize = ptr.Int64(i64) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -7059,7 +6727,6 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -7095,7 +6762,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7131,7 +6797,6 @@ func awsAwsjson11_deserializeOpDocumentPutImageOutput(v **PutImageOutput, value if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } - default: _, _ = key, value @@ -7167,7 +6832,6 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryCatalogDataOutput(v **PutRegis if err := awsAwsjson11_deserializeDocumentRegistryCatalogData(&sv.RegistryCatalogData, value); err != nil { return err } - default: _, _ = key, value @@ -7203,7 +6867,6 @@ func awsAwsjson11_deserializeOpDocumentPutRepositoryCatalogDataOutput(v **PutRep if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } - default: _, _ = key, value @@ -7243,7 +6906,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.PolicyText = ptr.String(jtv) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -7252,7 +6914,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7261,7 +6922,6 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -7367,7 +7027,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.LastByteReceived = ptr.Int64(i64) } - case "registryId": if value != nil { jtv, ok := value.(string) @@ -7376,7 +7035,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RegistryId = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7385,7 +7043,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RepositoryName = ptr.String(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -7394,7 +7051,6 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ecs/deserializers.go b/service/ecs/deserializers.go index 3d06354b187..cb23619b6f0 100644 --- a/service/ecs/deserializers.go +++ b/service/ecs/deserializers.go @@ -8205,15 +8205,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8221,15 +8215,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8260,7 +8250,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte if err := awsAwsjson11_deserializeDocumentAttachmentDetails(&sv.Details, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -8269,7 +8258,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8278,7 +8266,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Status = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8287,7 +8274,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8395,7 +8381,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Name = ptr.String(jtv) } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -8404,7 +8389,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.TargetId = ptr.String(jtv) } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -8413,7 +8397,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.TargetType = types.TargetType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8422,7 +8405,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8452,15 +8434,9 @@ func awsAwsjson11_deserializeDocumentAttributeLimitExceededException(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8468,15 +8444,11 @@ func awsAwsjson11_deserializeDocumentAttributeLimitExceededException(v **types.A } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8545,7 +8517,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.AutoScalingGroupArn = ptr.String(jtv) } - case "managedDraining": if value != nil { jtv, ok := value.(string) @@ -8554,12 +8525,10 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.ManagedDraining = types.ManagedDraining(jtv) } - case "managedScaling": if err := awsAwsjson11_deserializeDocumentManagedScaling(&sv.ManagedScaling, value); err != nil { return err } - case "managedTerminationProtection": if value != nil { jtv, ok := value.(string) @@ -8568,7 +8537,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.ManagedTerminationProtection = types.ManagedTerminationProtection(jtv) } - default: _, _ = key, value @@ -8608,17 +8576,14 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - case "securityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -8648,15 +8613,9 @@ func awsAwsjson11_deserializeDocumentBlockedException(v **types.BlockedException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8664,15 +8623,11 @@ func awsAwsjson11_deserializeDocumentBlockedException(v **types.BlockedException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8703,7 +8658,6 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider if err := awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(&sv.AutoScalingGroupProvider, value); err != nil { return err } - case "capacityProviderArn": if value != nil { jtv, ok := value.(string) @@ -8712,7 +8666,6 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.CapacityProviderArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8721,7 +8674,6 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8730,12 +8682,10 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.Status = types.CapacityProviderStatus(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateStatus": if value != nil { jtv, ok := value.(string) @@ -8744,7 +8694,6 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.UpdateStatus = types.CapacityProviderUpdateStatus(jtv) } - case "updateStatusReason": if value != nil { jtv, ok := value.(string) @@ -8753,7 +8702,6 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.UpdateStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -8865,7 +8813,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } - case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -8874,7 +8821,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -8887,7 +8833,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -8917,15 +8862,9 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8933,15 +8872,11 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8980,12 +8915,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveServicesCount = int32(i64) } - case "attachments": if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "attachmentsStatus": if value != nil { jtv, ok := value.(string) @@ -8994,12 +8927,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AttachmentsStatus = ptr.String(jtv) } - case "capacityProviders": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CapacityProviders, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -9008,7 +8939,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -9017,17 +8947,14 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } - case "configuration": if err := awsAwsjson11_deserializeDocumentClusterConfiguration(&sv.Configuration, value); err != nil { return err } - case "defaultCapacityProviderStrategy": if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.DefaultCapacityProviderStrategy, value); err != nil { return err } - case "pendingTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -9040,7 +8967,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PendingTasksCount = int32(i64) } - case "registeredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -9053,7 +8979,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RegisteredContainerInstancesCount = int32(i64) } - case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -9066,22 +8991,18 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RunningTasksCount = int32(i64) } - case "serviceConnectDefaults": if err := awsAwsjson11_deserializeDocumentClusterServiceConnectDefaults(&sv.ServiceConnectDefaults, value); err != nil { return err } - case "settings": if err := awsAwsjson11_deserializeDocumentClusterSettings(&sv.Settings, value); err != nil { return err } - case "statistics": if err := awsAwsjson11_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9090,12 +9011,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9131,12 +9050,10 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi if err := awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(&sv.ExecuteCommandConfiguration, value); err != nil { return err } - case "managedStorageConfiguration": if err := awsAwsjson11_deserializeDocumentManagedStorageConfiguration(&sv.ManagedStorageConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9166,15 +9083,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsContainerInstancesException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9182,15 +9093,11 @@ func awsAwsjson11_deserializeDocumentClusterContainsContainerInstancesException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9215,15 +9122,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsServicesException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9231,15 +9132,11 @@ func awsAwsjson11_deserializeDocumentClusterContainsServicesException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9264,15 +9161,9 @@ func awsAwsjson11_deserializeDocumentClusterContainsTasksException(v **types.Clu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9280,15 +9171,11 @@ func awsAwsjson11_deserializeDocumentClusterContainsTasksException(v **types.Clu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9313,15 +9200,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundException(v **types.ClusterN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9329,15 +9210,11 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundException(v **types.ClusterN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9406,7 +9283,6 @@ func awsAwsjson11_deserializeDocumentClusterServiceConnectDefaults(v **types.Clu } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -9446,7 +9322,6 @@ func awsAwsjson11_deserializeDocumentClusterSetting(v **types.ClusterSetting, va } sv.Name = types.ClusterSettingName(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9455,7 +9330,6 @@ func awsAwsjson11_deserializeDocumentClusterSetting(v **types.ClusterSetting, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9555,15 +9429,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9571,20 +9439,15 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceIds": if err := awsAwsjson11_deserializeDocumentResourceIds(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9619,7 +9482,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ContainerArn = ptr.String(jtv) } - case "cpu": if value != nil { jtv, ok := value.(string) @@ -9628,7 +9490,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Cpu = ptr.String(jtv) } - case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -9641,12 +9502,10 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ExitCode = ptr.Int32(int32(i64)) } - case "gpuIds": if err := awsAwsjson11_deserializeDocumentGpuIds(&sv.GpuIds, value); err != nil { return err } - case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -9655,7 +9514,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.HealthStatus = types.HealthStatus(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -9664,7 +9522,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -9673,7 +9530,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ImageDigest = ptr.String(jtv) } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -9682,12 +9538,10 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.LastStatus = ptr.String(jtv) } - case "managedAgents": if err := awsAwsjson11_deserializeDocumentManagedAgents(&sv.ManagedAgents, value); err != nil { return err } - case "memory": if value != nil { jtv, ok := value.(string) @@ -9696,7 +9550,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Memory = ptr.String(jtv) } - case "memoryReservation": if value != nil { jtv, ok := value.(string) @@ -9705,7 +9558,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.MemoryReservation = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9714,17 +9566,14 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } - case "networkBindings": if err := awsAwsjson11_deserializeDocumentNetworkBindings(&sv.NetworkBindings, value); err != nil { return err } - case "networkInterfaces": if err := awsAwsjson11_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9582,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Reason = ptr.String(jtv) } - case "runtimeId": if value != nil { jtv, ok := value.(string) @@ -9742,7 +9590,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.RuntimeId = ptr.String(jtv) } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9598,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9787,7 +9633,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -9800,17 +9645,14 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Cpu = int32(i64) } - case "credentialSpecs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CredentialSpecs, value); err != nil { return err } - case "dependsOn": if err := awsAwsjson11_deserializeDocumentContainerDependencies(&sv.DependsOn, value); err != nil { return err } - case "disableNetworking": if value != nil { jtv, ok := value.(bool) @@ -9819,42 +9661,34 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.DisableNetworking = ptr.Bool(jtv) } - case "dnsSearchDomains": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DnsSearchDomains, value); err != nil { return err } - case "dnsServers": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DnsServers, value); err != nil { return err } - case "dockerLabels": if err := awsAwsjson11_deserializeDocumentDockerLabelsMap(&sv.DockerLabels, value); err != nil { return err } - case "dockerSecurityOptions": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DockerSecurityOptions, value); err != nil { return err } - case "entryPoint": if err := awsAwsjson11_deserializeDocumentStringList(&sv.EntryPoint, value); err != nil { return err } - case "environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "environmentFiles": if err := awsAwsjson11_deserializeDocumentEnvironmentFiles(&sv.EnvironmentFiles, value); err != nil { return err } - case "essential": if value != nil { jtv, ok := value.(bool) @@ -9863,22 +9697,18 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Essential = ptr.Bool(jtv) } - case "extraHosts": if err := awsAwsjson11_deserializeDocumentHostEntryList(&sv.ExtraHosts, value); err != nil { return err } - case "firelensConfiguration": if err := awsAwsjson11_deserializeDocumentFirelensConfiguration(&sv.FirelensConfiguration, value); err != nil { return err } - case "healthCheck": if err := awsAwsjson11_deserializeDocumentHealthCheck(&sv.HealthCheck, value); err != nil { return err } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -9887,7 +9717,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Hostname = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -9896,7 +9725,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Image = ptr.String(jtv) } - case "interactive": if value != nil { jtv, ok := value.(bool) @@ -9905,22 +9733,18 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Interactive = ptr.Bool(jtv) } - case "links": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Links, value); err != nil { return err } - case "linuxParameters": if err := awsAwsjson11_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } - case "logConfiguration": if err := awsAwsjson11_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -9933,7 +9757,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Memory = ptr.Int32(int32(i64)) } - case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -9946,12 +9769,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.MemoryReservation = ptr.Int32(int32(i64)) } - case "mountPoints": if err := awsAwsjson11_deserializeDocumentMountPointList(&sv.MountPoints, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9960,12 +9781,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Name = ptr.String(jtv) } - case "portMappings": if err := awsAwsjson11_deserializeDocumentPortMappingList(&sv.PortMappings, value); err != nil { return err } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -9974,7 +9793,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Privileged = ptr.Bool(jtv) } - case "pseudoTerminal": if value != nil { jtv, ok := value.(bool) @@ -9983,7 +9801,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.PseudoTerminal = ptr.Bool(jtv) } - case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -9992,27 +9809,22 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "repositoryCredentials": if err := awsAwsjson11_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } - case "resourceRequirements": if err := awsAwsjson11_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - case "restartPolicy": if err := awsAwsjson11_deserializeDocumentContainerRestartPolicy(&sv.RestartPolicy, value); err != nil { return err } - case "secrets": if err := awsAwsjson11_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } - case "startTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -10025,7 +9837,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.StartTimeout = ptr.Int32(int32(i64)) } - case "stopTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -10038,17 +9849,14 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.StopTimeout = ptr.Int32(int32(i64)) } - case "systemControls": if err := awsAwsjson11_deserializeDocumentSystemControls(&sv.SystemControls, value); err != nil { return err } - case "ulimits": if err := awsAwsjson11_deserializeDocumentUlimitList(&sv.Ulimits, value); err != nil { return err } - case "user": if value != nil { jtv, ok := value.(string) @@ -10057,12 +9865,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.User = ptr.String(jtv) } - case "volumesFrom": if err := awsAwsjson11_deserializeDocumentVolumeFromList(&sv.VolumesFrom, value); err != nil { return err } - case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -10071,7 +9877,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -10179,7 +9984,6 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.Condition = types.ContainerCondition(jtv) } - case "containerName": if value != nil { jtv, ok := value.(string) @@ -10188,7 +9992,6 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.ContainerName = ptr.String(jtv) } - default: _, _ = key, value @@ -10228,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.ContainerName = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -10237,7 +10039,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Image = ptr.String(jtv) } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -10246,7 +10047,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.ImageDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -10320,7 +10120,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.AgentConnected = jtv } - case "agentUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -10329,17 +10128,14 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.AgentUpdateStatus = types.AgentUpdateStatus(jtv) } - case "attachments": if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "capacityProviderName": if value != nil { jtv, ok := value.(string) @@ -10348,7 +10144,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.CapacityProviderName = ptr.String(jtv) } - case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -10357,7 +10152,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.ContainerInstanceArn = ptr.String(jtv) } - case "ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -10366,12 +10160,10 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Ec2InstanceId = ptr.String(jtv) } - case "healthStatus": if err := awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(&sv.HealthStatus, value); err != nil { return err } - case "pendingTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -10384,7 +10176,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.PendingTasksCount = int32(i64) } - case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -10400,17 +10191,14 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } } - case "registeredResources": if err := awsAwsjson11_deserializeDocumentResources(&sv.RegisteredResources, value); err != nil { return err } - case "remainingResources": if err := awsAwsjson11_deserializeDocumentResources(&sv.RemainingResources, value); err != nil { return err } - case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -10423,7 +10211,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.RunningTasksCount = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10432,7 +10219,6 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Status = ptr.String(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -10441,12 +10227,10 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -10459,12 +10243,10 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Version = i64 } - case "versionInfo": if err := awsAwsjson11_deserializeDocumentVersionInfo(&sv.VersionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -10500,7 +10282,6 @@ func awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(v **types.Con if err := awsAwsjson11_deserializeDocumentInstanceHealthCheckResultList(&sv.Details, value); err != nil { return err } - case "overallStatus": if value != nil { jtv, ok := value.(string) @@ -10509,7 +10290,6 @@ func awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(v **types.Con } sv.OverallStatus = types.InstanceHealthCheckState(jtv) } - default: _, _ = key, value @@ -10579,7 +10359,6 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -10592,17 +10371,14 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Cpu = ptr.Int32(int32(i64)) } - case "environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "environmentFiles": if err := awsAwsjson11_deserializeDocumentEnvironmentFiles(&sv.EnvironmentFiles, value); err != nil { return err } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -10615,7 +10391,6 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Memory = ptr.Int32(int32(i64)) } - case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -10628,7 +10403,6 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.MemoryReservation = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10637,12 +10411,10 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Name = ptr.String(jtv) } - case "resourceRequirements": if err := awsAwsjson11_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } - default: _, _ = key, value @@ -10716,12 +10488,10 @@ func awsAwsjson11_deserializeDocumentContainerRestartPolicy(v **types.ContainerR } sv.Enabled = ptr.Bool(jtv) } - case "ignoredExitCodes": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.IgnoredExitCodes, value); err != nil { return err } - case "restartAttemptPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -10734,7 +10504,6 @@ func awsAwsjson11_deserializeDocumentContainerRestartPolicy(v **types.ContainerR } sv.RestartAttemptPeriod = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10804,7 +10573,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10820,7 +10588,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "desiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -10833,7 +10600,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DesiredCount = int32(i64) } - case "failedTasks": if value != nil { jtv, ok := value.(json.Number) @@ -10846,12 +10612,10 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.FailedTasks = int32(i64) } - case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10860,7 +10624,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -10869,12 +10632,10 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LaunchType = types.LaunchType(jtv) } - case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -10887,7 +10648,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PendingCount = int32(i64) } - case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -10896,7 +10656,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PlatformFamily = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10664,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PlatformVersion = ptr.String(jtv) } - case "rolloutState": if value != nil { jtv, ok := value.(string) @@ -10914,7 +10672,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RolloutState = types.DeploymentRolloutState(jtv) } - case "rolloutStateReason": if value != nil { jtv, ok := value.(string) @@ -10923,7 +10680,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RolloutStateReason = ptr.String(jtv) } - case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -10936,17 +10692,14 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RunningCount = int32(i64) } - case "serviceConnectConfiguration": if err := awsAwsjson11_deserializeDocumentServiceConnectConfiguration(&sv.ServiceConnectConfiguration, value); err != nil { return err } - case "serviceConnectResources": if err := awsAwsjson11_deserializeDocumentServiceConnectServiceResourceList(&sv.ServiceConnectResources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -10955,7 +10708,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Status = ptr.String(jtv) } - case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -10964,7 +10716,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TaskDefinition = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10980,12 +10731,10 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "volumeConfigurations": if err := awsAwsjson11_deserializeDocumentServiceVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -11021,7 +10770,6 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlarmNames, value); err != nil { return err } - case "enable": if value != nil { jtv, ok := value.(bool) @@ -11030,7 +10778,6 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms } sv.Enable = jtv } - case "rollback": if value != nil { jtv, ok := value.(bool) @@ -11039,7 +10786,6 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms } sv.Rollback = jtv } - default: _, _ = key, value @@ -11079,7 +10825,6 @@ func awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(v **types.Deployme } sv.Enable = jtv } - case "rollback": if value != nil { jtv, ok := value.(bool) @@ -11088,7 +10833,6 @@ func awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(v **types.Deployme } sv.Rollback = jtv } - default: _, _ = key, value @@ -11124,12 +10868,10 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen if err := awsAwsjson11_deserializeDocumentDeploymentAlarms(&sv.Alarms, value); err != nil { return err } - case "deploymentCircuitBreaker": if err := awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(&sv.DeploymentCircuitBreaker, value); err != nil { return err } - case "maximumPercent": if value != nil { jtv, ok := value.(json.Number) @@ -11142,7 +10884,6 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen } sv.MaximumPercent = ptr.Int32(int32(i64)) } - case "minimumHealthyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -11155,7 +10896,6 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen } sv.MinimumHealthyPercent = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11195,7 +10935,6 @@ func awsAwsjson11_deserializeDocumentDeploymentController(v **types.DeploymentCo } sv.Type = types.DeploymentControllerType(jtv) } - default: _, _ = key, value @@ -11235,7 +10974,6 @@ func awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(v **types.Deploy } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -11309,7 +11047,6 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ContainerPath = ptr.String(jtv) } - case "hostPath": if value != nil { jtv, ok := value.(string) @@ -11318,12 +11055,10 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HostPath = ptr.String(jtv) } - case "permissions": if err := awsAwsjson11_deserializeDocumentDeviceCgroupPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -11469,7 +11204,6 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Autoprovision = ptr.Bool(jtv) } - case "driver": if value != nil { jtv, ok := value.(string) @@ -11478,17 +11212,14 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Driver = ptr.String(jtv) } - case "driverOpts": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.DriverOpts, value); err != nil { return err } - case "labels": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Labels, value); err != nil { return err } - case "scope": if value != nil { jtv, ok := value.(string) @@ -11497,7 +11228,6 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Scope = types.Scope(jtv) } - default: _, _ = key, value @@ -11537,7 +11267,6 @@ func awsAwsjson11_deserializeDocumentEBSTagSpecification(v **types.EBSTagSpecifi } sv.PropagateTags = types.PropagateTags(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11546,12 +11275,10 @@ func awsAwsjson11_deserializeDocumentEBSTagSpecification(v **types.EBSTagSpecifi } sv.ResourceType = types.EBSResourceType(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11625,7 +11352,6 @@ func awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.AccessPointId = ptr.String(jtv) } - case "iam": if value != nil { jtv, ok := value.(string) @@ -11634,7 +11360,6 @@ func awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.Iam = types.EFSAuthorizationConfigIAM(jtv) } - default: _, _ = key, value @@ -11670,7 +11395,6 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC if err := awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } - case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -11679,7 +11403,6 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.FileSystemId = ptr.String(jtv) } - case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -11688,7 +11411,6 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.RootDirectory = ptr.String(jtv) } - case "transitEncryption": if value != nil { jtv, ok := value.(string) @@ -11697,7 +11419,6 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryption = types.EFSTransitEncryption(jtv) } - case "transitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -11710,7 +11431,6 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11750,7 +11470,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentFile(v **types.EnvironmentFile, } sv.Type = types.EnvironmentFileType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11759,7 +11478,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentFile(v **types.EnvironmentFile, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11871,7 +11589,6 @@ func awsAwsjson11_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.SizeInGiB = int32(i64) } - default: _, _ = key, value @@ -11911,12 +11628,10 @@ func awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(v **types.Execu } sv.KmsKeyId = ptr.String(jtv) } - case "logConfiguration": if err := awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "logging": if value != nil { jtv, ok := value.(string) @@ -11925,7 +11640,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(v **types.Execu } sv.Logging = types.ExecuteCommandLogging(jtv) } - default: _, _ = key, value @@ -11965,7 +11679,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.CloudWatchEncryptionEnabled = jtv } - case "cloudWatchLogGroupName": if value != nil { jtv, ok := value.(string) @@ -11974,7 +11687,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.CloudWatchLogGroupName = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -11983,7 +11695,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3BucketName = ptr.String(jtv) } - case "s3EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11992,7 +11703,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3EncryptionEnabled = jtv } - case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -12001,7 +11711,6 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -12041,7 +11750,6 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Arn = ptr.String(jtv) } - case "detail": if value != nil { jtv, ok := value.(string) @@ -12050,7 +11758,6 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Detail = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -12059,7 +11766,6 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -12129,7 +11835,6 @@ func awsAwsjson11_deserializeDocumentFirelensConfiguration(v **types.FirelensCon if err := awsAwsjson11_deserializeDocumentFirelensConfigurationOptionsMap(&sv.Options, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12138,7 +11843,6 @@ func awsAwsjson11_deserializeDocumentFirelensConfiguration(v **types.FirelensCon } sv.Type = types.FirelensConfigurationType(jtv) } - default: _, _ = key, value @@ -12214,7 +11918,6 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(v * } sv.CredentialsParameter = ptr.String(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -12223,7 +11926,6 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(v * } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -12259,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * if err := awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } - case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -12268,7 +11969,6 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * } sv.FileSystemId = ptr.String(jtv) } - case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -12277,7 +11977,6 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * } sv.RootDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -12349,7 +12048,6 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -12362,7 +12060,6 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Interval = ptr.Int32(int32(i64)) } - case "retries": if value != nil { jtv, ok := value.(json.Number) @@ -12375,7 +12072,6 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Retries = ptr.Int32(int32(i64)) } - case "startPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -12388,7 +12084,6 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.StartPeriod = ptr.Int32(int32(i64)) } - case "timeout": if value != nil { jtv, ok := value.(json.Number) @@ -12401,7 +12096,6 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12441,7 +12135,6 @@ func awsAwsjson11_deserializeDocumentHostEntry(v **types.HostEntry, value interf } sv.Hostname = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -12450,7 +12143,6 @@ func awsAwsjson11_deserializeDocumentHostEntry(v **types.HostEntry, value interf } sv.IpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -12524,7 +12216,6 @@ func awsAwsjson11_deserializeDocumentHostVolumeProperties(v **types.HostVolumePr } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -12564,7 +12255,6 @@ func awsAwsjson11_deserializeDocumentInferenceAccelerator(v **types.InferenceAcc } sv.DeviceName = ptr.String(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -12573,7 +12263,6 @@ func awsAwsjson11_deserializeDocumentInferenceAccelerator(v **types.InferenceAcc } sv.DeviceType = ptr.String(jtv) } - default: _, _ = key, value @@ -12613,7 +12302,6 @@ func awsAwsjson11_deserializeDocumentInferenceAcceleratorOverride(v **types.Infe } sv.DeviceName = ptr.String(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -12622,7 +12310,6 @@ func awsAwsjson11_deserializeDocumentInferenceAcceleratorOverride(v **types.Infe } sv.DeviceType = ptr.String(jtv) } - default: _, _ = key, value @@ -12737,7 +12424,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12753,7 +12439,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } } - case "status": if value != nil { jtv, ok := value.(string) @@ -12762,7 +12447,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } sv.Status = types.InstanceHealthCheckState(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12771,7 +12455,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } sv.Type = types.InstanceHealthCheckType(jtv) } - default: _, _ = key, value @@ -12875,15 +12558,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12891,15 +12568,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12930,12 +12603,10 @@ func awsAwsjson11_deserializeDocumentKernelCapabilities(v **types.KernelCapabili if err := awsAwsjson11_deserializeDocumentStringList(&sv.Add, value); err != nil { return err } - case "drop": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Drop, value); err != nil { return err } - default: _, _ = key, value @@ -12975,7 +12646,6 @@ func awsAwsjson11_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -12984,7 +12654,6 @@ func awsAwsjson11_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13014,15 +12683,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13030,15 +12693,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13069,12 +12728,10 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, if err := awsAwsjson11_deserializeDocumentKernelCapabilities(&sv.Capabilities, value); err != nil { return err } - case "devices": if err := awsAwsjson11_deserializeDocumentDevicesList(&sv.Devices, value); err != nil { return err } - case "initProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -13083,7 +12740,6 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.InitProcessEnabled = ptr.Bool(jtv) } - case "maxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -13096,7 +12752,6 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.MaxSwap = ptr.Int32(int32(i64)) } - case "sharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -13109,7 +12764,6 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.SharedMemorySize = ptr.Int32(int32(i64)) } - case "swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -13122,12 +12776,10 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.Swappiness = ptr.Int32(int32(i64)) } - case "tmpfs": if err := awsAwsjson11_deserializeDocumentTmpfsList(&sv.Tmpfs, value); err != nil { return err } - default: _, _ = key, value @@ -13167,7 +12819,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ContainerName = ptr.String(jtv) } - case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13180,7 +12831,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "loadBalancerName": if value != nil { jtv, ok := value.(string) @@ -13189,7 +12839,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.LoadBalancerName = ptr.String(jtv) } - case "targetGroupArn": if value != nil { jtv, ok := value.(string) @@ -13198,7 +12847,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.TargetGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13272,17 +12920,14 @@ func awsAwsjson11_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = types.LogDriver(jtv) } - case "options": if err := awsAwsjson11_deserializeDocumentLogConfigurationOptionsMap(&sv.Options, value); err != nil { return err } - case "secretOptions": if err := awsAwsjson11_deserializeDocumentSecretList(&sv.SecretOptions, value); err != nil { return err } - default: _, _ = key, value @@ -13365,7 +13010,6 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -13374,7 +13018,6 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.LastStatus = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13383,7 +13026,6 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.Name = types.ManagedAgentName(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -13392,7 +13034,6 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -13470,7 +13111,6 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.InstanceWarmupPeriod = ptr.Int32(int32(i64)) } - case "maximumScalingStepSize": if value != nil { jtv, ok := value.(json.Number) @@ -13483,7 +13123,6 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.MaximumScalingStepSize = ptr.Int32(int32(i64)) } - case "minimumScalingStepSize": if value != nil { jtv, ok := value.(json.Number) @@ -13496,7 +13135,6 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.MinimumScalingStepSize = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13505,7 +13143,6 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.Status = types.ManagedScalingStatus(jtv) } - case "targetCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -13518,7 +13155,6 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.TargetCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13558,7 +13194,6 @@ func awsAwsjson11_deserializeDocumentManagedStorageConfiguration(v **types.Manag } sv.FargateEphemeralStorageKmsKeyId = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13567,7 +13202,6 @@ func awsAwsjson11_deserializeDocumentManagedStorageConfiguration(v **types.Manag } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -13597,15 +13231,9 @@ func awsAwsjson11_deserializeDocumentMissingVersionException(v **types.MissingVe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13613,15 +13241,11 @@ func awsAwsjson11_deserializeDocumentMissingVersionException(v **types.MissingVe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13656,7 +13280,6 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ContainerPath = ptr.String(jtv) } - case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -13665,7 +13288,6 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ReadOnly = ptr.Bool(jtv) } - case "sourceVolume": if value != nil { jtv, ok := value.(string) @@ -13674,7 +13296,6 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.SourceVolume = ptr.String(jtv) } - default: _, _ = key, value @@ -13738,15 +13359,9 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFoundException(v **types.Namesp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13754,15 +13369,11 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFoundException(v **types.Namesp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13797,7 +13408,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.BindIP = ptr.String(jtv) } - case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13810,7 +13420,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "containerPortRange": if value != nil { jtv, ok := value.(string) @@ -13819,7 +13428,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.ContainerPortRange = ptr.String(jtv) } - case "hostPort": if value != nil { jtv, ok := value.(json.Number) @@ -13832,7 +13440,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.HostPort = ptr.Int32(int32(i64)) } - case "hostPortRange": if value != nil { jtv, ok := value.(string) @@ -13841,7 +13448,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.HostPortRange = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -13850,7 +13456,6 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.Protocol = types.TransportProtocol(jtv) } - default: _, _ = key, value @@ -13920,7 +13525,6 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13960,7 +13564,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AttachmentId = ptr.String(jtv) } - case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -13969,7 +13572,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } - case "privateIpv4Address": if value != nil { jtv, ok := value.(string) @@ -13978,7 +13580,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpv4Address = ptr.String(jtv) } - default: _, _ = key, value @@ -14042,15 +13643,9 @@ func awsAwsjson11_deserializeDocumentNoUpdateAvailableException(v **types.NoUpda sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14058,15 +13653,11 @@ func awsAwsjson11_deserializeDocumentNoUpdateAvailableException(v **types.NoUpda } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14101,7 +13692,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14110,7 +13700,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } - default: _, _ = key, value @@ -14218,7 +13807,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14227,7 +13815,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } - default: _, _ = key, value @@ -14257,15 +13844,9 @@ func awsAwsjson11_deserializeDocumentPlatformTaskDefinitionIncompatibilityExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14273,15 +13854,11 @@ func awsAwsjson11_deserializeDocumentPlatformTaskDefinitionIncompatibilityExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14306,15 +13883,9 @@ func awsAwsjson11_deserializeDocumentPlatformUnknownException(v **types.Platform sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14322,15 +13893,11 @@ func awsAwsjson11_deserializeDocumentPlatformUnknownException(v **types.Platform } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14365,7 +13932,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.AppProtocol = types.ApplicationProtocol(jtv) } - case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -14378,7 +13944,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "containerPortRange": if value != nil { jtv, ok := value.(string) @@ -14387,7 +13952,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ContainerPortRange = ptr.String(jtv) } - case "hostPort": if value != nil { jtv, ok := value.(json.Number) @@ -14400,7 +13964,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.HostPort = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14409,7 +13972,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Name = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -14418,7 +13980,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Protocol = types.TransportProtocol(jtv) } - default: _, _ = key, value @@ -14499,7 +14060,6 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } } - case "protectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -14508,7 +14068,6 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } sv.ProtectionEnabled = jtv } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -14517,7 +14076,6 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14591,12 +14149,10 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.ContainerName = ptr.String(jtv) } - case "properties": if err := awsAwsjson11_deserializeDocumentProxyConfigurationProperties(&sv.Properties, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14605,7 +14161,6 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Type = types.ProxyConfigurationType(jtv) } - default: _, _ = key, value @@ -14679,7 +14234,6 @@ func awsAwsjson11_deserializeDocumentRepositoryCredentials(v **types.RepositoryC } sv.CredentialsParameter = ptr.String(jtv) } - default: _, _ = key, value @@ -14778,7 +14332,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } - case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -14791,7 +14344,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.IntegerValue = int32(i64) } - case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -14804,7 +14356,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.LongValue = i64 } - case "name": if value != nil { jtv, ok := value.(string) @@ -14813,12 +14364,10 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - case "stringSetValue": if err := awsAwsjson11_deserializeDocumentStringList(&sv.StringSetValue, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14827,7 +14376,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -14893,15 +14441,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14909,15 +14451,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14942,15 +14480,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14958,15 +14490,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15001,7 +14529,6 @@ func awsAwsjson11_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Type = types.ResourceType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15010,7 +14537,6 @@ func awsAwsjson11_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15118,7 +14644,6 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } sv.Reason = ptr.String(jtv) } - case "serviceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -15127,7 +14652,6 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } sv.ServiceRevisionArn = ptr.String(jtv) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -15143,7 +14667,6 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } } - default: _, _ = key, value @@ -15183,7 +14706,6 @@ func awsAwsjson11_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.CpuArchitecture = types.CPUArchitecture(jtv) } - case "operatingSystemFamily": if value != nil { jtv, ok := value.(string) @@ -15192,7 +14714,6 @@ func awsAwsjson11_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.OperatingSystemFamily = types.OSFamily(jtv) } - default: _, _ = key, value @@ -15232,7 +14753,6 @@ func awsAwsjson11_deserializeDocumentScale(v **types.Scale, value interface{}) e } sv.Unit = types.ScaleUnit(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -15266,7 +14786,6 @@ func awsAwsjson11_deserializeDocumentScale(v **types.Scale, value interface{}) e } } - default: _, _ = key, value @@ -15306,7 +14825,6 @@ func awsAwsjson11_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.Name = ptr.String(jtv) } - case "valueFrom": if value != nil { jtv, ok := value.(string) @@ -15315,7 +14833,6 @@ func awsAwsjson11_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.ValueFrom = ptr.String(jtv) } - default: _, _ = key, value @@ -15379,15 +14896,9 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15395,15 +14906,11 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15434,7 +14941,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -15443,7 +14949,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15459,7 +14964,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15468,22 +14972,18 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.CreatedBy = ptr.String(jtv) } - case "deploymentConfiguration": if err := awsAwsjson11_deserializeDocumentDeploymentConfiguration(&sv.DeploymentConfiguration, value); err != nil { return err } - case "deploymentController": if err := awsAwsjson11_deserializeDocumentDeploymentController(&sv.DeploymentController, value); err != nil { return err } - case "deployments": if err := awsAwsjson11_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } - case "desiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -15496,7 +14996,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.DesiredCount = int32(i64) } - case "enableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -15505,7 +15004,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.EnableECSManagedTags = jtv } - case "enableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -15514,12 +15012,10 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.EnableExecuteCommand = jtv } - case "events": if err := awsAwsjson11_deserializeDocumentServiceEvents(&sv.Events, value); err != nil { return err } - case "healthCheckGracePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15532,7 +15028,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.HealthCheckGracePeriodSeconds = ptr.Int32(int32(i64)) } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -15541,17 +15036,14 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.LaunchType = types.LaunchType(jtv) } - case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } - case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -15564,17 +15056,14 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PendingCount = int32(i64) } - case "placementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "placementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } - case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -15583,7 +15072,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PlatformFamily = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -15592,7 +15080,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PlatformVersion = ptr.String(jtv) } - case "propagateTags": if value != nil { jtv, ok := value.(string) @@ -15601,7 +15088,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PropagateTags = types.PropagateTags(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -15610,7 +15096,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.RoleArn = ptr.String(jtv) } - case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -15623,7 +15108,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.RunningCount = int32(i64) } - case "schedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -15632,7 +15116,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.SchedulingStrategy = types.SchedulingStrategy(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -15641,7 +15124,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceArn = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15650,12 +15132,10 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } - case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15664,12 +15144,10 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -15678,12 +15156,10 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.TaskDefinition = ptr.String(jtv) } - case "taskSets": if err := awsAwsjson11_deserializeDocumentTaskSets(&sv.TaskSets, value); err != nil { return err } - default: _, _ = key, value @@ -15723,7 +15199,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectClientAlias(v **types.Service } sv.DnsName = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -15736,7 +15211,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectClientAlias(v **types.Service } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15810,12 +15284,10 @@ func awsAwsjson11_deserializeDocumentServiceConnectConfiguration(v **types.Servi } sv.Enabled = jtv } - case "logConfiguration": if err := awsAwsjson11_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -15824,12 +15296,10 @@ func awsAwsjson11_deserializeDocumentServiceConnectConfiguration(v **types.Servi } sv.Namespace = ptr.String(jtv) } - case "services": if err := awsAwsjson11_deserializeDocumentServiceConnectServiceList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -15865,7 +15335,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn if err := awsAwsjson11_deserializeDocumentServiceConnectClientAliasList(&sv.ClientAliases, value); err != nil { return err } - case "discoveryName": if value != nil { jtv, ok := value.(string) @@ -15874,7 +15343,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.DiscoveryName = ptr.String(jtv) } - case "ingressPortOverride": if value != nil { jtv, ok := value.(json.Number) @@ -15887,7 +15355,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.IngressPortOverride = ptr.Int32(int32(i64)) } - case "portName": if value != nil { jtv, ok := value.(string) @@ -15896,17 +15363,14 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.PortName = ptr.String(jtv) } - case "timeout": if err := awsAwsjson11_deserializeDocumentTimeoutConfiguration(&sv.Timeout, value); err != nil { return err } - case "tls": if err := awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -15980,7 +15444,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectServiceResource(v **types.Ser } sv.DiscoveryArn = ptr.String(jtv) } - case "discoveryName": if value != nil { jtv, ok := value.(string) @@ -15989,7 +15452,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectServiceResource(v **types.Ser } sv.DiscoveryName = ptr.String(jtv) } - default: _, _ = key, value @@ -16063,7 +15525,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsCertificateAuthority(v **t } sv.AwsPcaAuthorityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16099,7 +15560,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se if err := awsAwsjson11_deserializeDocumentServiceConnectTlsCertificateAuthority(&sv.IssuerCertificateAuthority, value); err != nil { return err } - case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -16108,7 +15568,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se } sv.KmsKey = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16117,7 +15576,6 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16153,7 +15611,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme if err := awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(&sv.Alarms, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -16162,7 +15619,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ClusterArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16178,17 +15634,14 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } - case "deploymentCircuitBreaker": if err := awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(&sv.DeploymentCircuitBreaker, value); err != nil { return err } - case "deploymentConfiguration": if err := awsAwsjson11_deserializeDocumentDeploymentConfiguration(&sv.DeploymentConfiguration, value); err != nil { return err } - case "finishedAt": if value != nil { switch jtv := value.(type) { @@ -16204,12 +15657,10 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } - case "rollback": if err := awsAwsjson11_deserializeDocumentRollback(&sv.Rollback, value); err != nil { return err } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -16218,7 +15669,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ServiceArn = ptr.String(jtv) } - case "serviceDeploymentArn": if value != nil { jtv, ok := value.(string) @@ -16227,12 +15677,10 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ServiceDeploymentArn = ptr.String(jtv) } - case "sourceServiceRevisions": if err := awsAwsjson11_deserializeDocumentServiceRevisionsSummaryList(&sv.SourceServiceRevisions, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -16248,7 +15696,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } - case "status": if value != nil { jtv, ok := value.(string) @@ -16257,7 +15704,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.Status = types.ServiceDeploymentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -16266,7 +15712,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.StatusReason = ptr.String(jtv) } - case "stoppedAt": if value != nil { switch jtv := value.(type) { @@ -16282,12 +15727,10 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } - case "targetServiceRevision": if err := awsAwsjson11_deserializeDocumentServiceRevisionSummary(&sv.TargetServiceRevision, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16303,7 +15746,6 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } - default: _, _ = key, value @@ -16339,7 +15781,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(v **types.ServiceDe if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlarmNames, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -16348,12 +15789,10 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(v **types.ServiceDe } sv.Status = types.ServiceDeploymentRollbackMonitorsStatus(jtv) } - case "triggeredAlarmNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TriggeredAlarmNames, value); err != nil { return err } - default: _, _ = key, value @@ -16393,7 +15832,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ClusterArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16409,7 +15847,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } - case "finishedAt": if value != nil { switch jtv := value.(type) { @@ -16425,7 +15862,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -16434,7 +15870,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ServiceArn = ptr.String(jtv) } - case "serviceDeploymentArn": if value != nil { jtv, ok := value.(string) @@ -16443,7 +15878,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ServiceDeploymentArn = ptr.String(jtv) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -16459,7 +15893,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } - case "status": if value != nil { jtv, ok := value.(string) @@ -16468,7 +15901,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.Status = types.ServiceDeploymentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -16477,7 +15909,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.StatusReason = ptr.String(jtv) } - case "targetServiceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -16486,7 +15917,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.TargetServiceRevisionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16530,7 +15960,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.FailureCount = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16539,7 +15968,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.Status = types.ServiceDeploymentRollbackMonitorsStatus(jtv) } - case "threshold": if value != nil { jtv, ok := value.(json.Number) @@ -16552,7 +15980,6 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.Threshold = int32(i64) } - default: _, _ = key, value @@ -16667,7 +16094,6 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } } - case "id": if value != nil { jtv, ok := value.(string) @@ -16676,7 +16102,6 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } sv.Id = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -16685,7 +16110,6 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -16759,7 +16183,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Encrypted = ptr.Bool(jtv) } - case "filesystemType": if value != nil { jtv, ok := value.(string) @@ -16768,7 +16191,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.FilesystemType = types.TaskFilesystemType(jtv) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -16781,7 +16203,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Iops = ptr.Int32(int32(i64)) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16790,7 +16211,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.KmsKeyId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16799,7 +16219,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.RoleArn = ptr.String(jtv) } - case "sizeInGiB": if value != nil { jtv, ok := value.(json.Number) @@ -16812,7 +16231,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.SizeInGiB = ptr.Int32(int32(i64)) } - case "snapshotId": if value != nil { jtv, ok := value.(string) @@ -16821,12 +16239,10 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.SnapshotId = ptr.String(jtv) } - case "tagSpecifications": if err := awsAwsjson11_deserializeDocumentEBSTagSpecifications(&sv.TagSpecifications, value); err != nil { return err } - case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16839,7 +16255,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Throughput = ptr.Int32(int32(i64)) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -16848,7 +16263,6 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -16878,15 +16292,9 @@ func awsAwsjson11_deserializeDocumentServiceNotActiveException(v **types.Service sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16894,15 +16302,11 @@ func awsAwsjson11_deserializeDocumentServiceNotActiveException(v **types.Service } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16927,15 +16331,9 @@ func awsAwsjson11_deserializeDocumentServiceNotFoundException(v **types.ServiceN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16943,15 +16341,11 @@ func awsAwsjson11_deserializeDocumentServiceNotFoundException(v **types.ServiceN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17020,7 +16414,6 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.ContainerName = ptr.String(jtv) } - case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -17033,7 +16426,6 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -17046,7 +16438,6 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.Port = ptr.Int32(int32(i64)) } - case "registryArn": if value != nil { jtv, ok := value.(string) @@ -17055,7 +16446,6 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.RegistryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17091,7 +16481,6 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -17100,12 +16489,10 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ClusterArn = ptr.String(jtv) } - case "containerImages": if err := awsAwsjson11_deserializeDocumentContainerImages(&sv.ContainerImages, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -17121,12 +16508,10 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } } - case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } - case "guardDutyEnabled": if value != nil { jtv, ok := value.(bool) @@ -17135,7 +16520,6 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.GuardDutyEnabled = jtv } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -17144,17 +16528,14 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.LaunchType = types.LaunchType(jtv) } - case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } - case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -17163,7 +16544,6 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.PlatformFamily = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -17172,7 +16552,6 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.PlatformVersion = ptr.String(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -17181,17 +16560,14 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ServiceArn = ptr.String(jtv) } - case "serviceConnectConfiguration": if err := awsAwsjson11_deserializeDocumentServiceConnectConfiguration(&sv.ServiceConnectConfiguration, value); err != nil { return err } - case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } - case "serviceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -17200,7 +16576,6 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ServiceRevisionArn = ptr.String(jtv) } - case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -17209,12 +16584,10 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.TaskDefinition = ptr.String(jtv) } - case "volumeConfigurations": if err := awsAwsjson11_deserializeDocumentServiceVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -17322,7 +16695,6 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.Arn = ptr.String(jtv) } - case "pendingTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -17335,7 +16707,6 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.PendingTaskCount = int32(i64) } - case "requestedTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -17348,7 +16719,6 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.RequestedTaskCount = int32(i64) } - case "runningTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -17361,7 +16731,6 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.RunningTaskCount = int32(i64) } - default: _, _ = key, value @@ -17431,7 +16800,6 @@ func awsAwsjson11_deserializeDocumentServiceVolumeConfiguration(v **types.Servic if err := awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(&sv.ManagedEBSVolume, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -17440,7 +16808,6 @@ func awsAwsjson11_deserializeDocumentServiceVolumeConfiguration(v **types.Servic } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17514,7 +16881,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } - case "streamUrl": if value != nil { jtv, ok := value.(string) @@ -17523,7 +16889,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.StreamUrl = ptr.String(jtv) } - case "tokenValue": if value != nil { jtv, ok := value.(string) @@ -17532,7 +16897,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.TokenValue = ptr.String(jtv) } - default: _, _ = key, value @@ -17572,7 +16936,6 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Name = types.SettingName(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -17581,7 +16944,6 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.PrincipalArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17590,7 +16952,6 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Type = types.SettingType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17599,7 +16960,6 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17779,7 +17139,6 @@ func awsAwsjson11_deserializeDocumentSystemControl(v **types.SystemControl, valu } sv.Namespace = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17788,7 +17147,6 @@ func awsAwsjson11_deserializeDocumentSystemControl(v **types.SystemControl, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17862,7 +17220,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17871,7 +17228,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17935,15 +17291,9 @@ func awsAwsjson11_deserializeDocumentTargetNotConnectedException(v **types.Targe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17951,15 +17301,11 @@ func awsAwsjson11_deserializeDocumentTargetNotConnectedException(v **types.Targe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17984,15 +17330,9 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18000,15 +17340,11 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18039,12 +17375,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } - case "attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -18053,7 +17387,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } - case "capacityProviderName": if value != nil { jtv, ok := value.(string) @@ -18062,7 +17395,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.CapacityProviderName = ptr.String(jtv) } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -18071,7 +17403,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ClusterArn = ptr.String(jtv) } - case "connectivity": if value != nil { jtv, ok := value.(string) @@ -18080,7 +17411,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Connectivity = types.Connectivity(jtv) } - case "connectivityAt": if value != nil { switch jtv := value.(type) { @@ -18096,7 +17426,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -18105,12 +17434,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ContainerInstanceArn = ptr.String(jtv) } - case "containers": if err := awsAwsjson11_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(string) @@ -18119,7 +17446,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Cpu = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -18135,7 +17461,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "desiredStatus": if value != nil { jtv, ok := value.(string) @@ -18144,7 +17469,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.DesiredStatus = ptr.String(jtv) } - case "enableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -18153,12 +17477,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.EnableExecuteCommand = jtv } - case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionStoppedAt": if value != nil { switch jtv := value.(type) { @@ -18174,12 +17496,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentTaskEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } - case "group": if value != nil { jtv, ok := value.(string) @@ -18188,7 +17508,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Group = ptr.String(jtv) } - case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -18197,12 +17516,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.HealthStatus = types.HealthStatus(jtv) } - case "inferenceAccelerators": if err := awsAwsjson11_deserializeDocumentInferenceAccelerators(&sv.InferenceAccelerators, value); err != nil { return err } - case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -18211,7 +17528,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.LastStatus = ptr.String(jtv) } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -18220,7 +17536,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.LaunchType = types.LaunchType(jtv) } - case "memory": if value != nil { jtv, ok := value.(string) @@ -18229,12 +17544,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Memory = ptr.String(jtv) } - case "overrides": if err := awsAwsjson11_deserializeDocumentTaskOverride(&sv.Overrides, value); err != nil { return err } - case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -18243,7 +17556,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.PlatformFamily = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -18252,7 +17564,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.PlatformVersion = ptr.String(jtv) } - case "pullStartedAt": if value != nil { switch jtv := value.(type) { @@ -18268,7 +17579,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "pullStoppedAt": if value != nil { switch jtv := value.(type) { @@ -18284,7 +17594,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -18300,7 +17609,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -18309,7 +17617,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StartedBy = ptr.String(jtv) } - case "stopCode": if value != nil { jtv, ok := value.(string) @@ -18318,7 +17625,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StopCode = types.TaskStopCode(jtv) } - case "stoppedAt": if value != nil { switch jtv := value.(type) { @@ -18334,7 +17640,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "stoppedReason": if value != nil { jtv, ok := value.(string) @@ -18343,7 +17648,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StoppedReason = ptr.String(jtv) } - case "stoppingAt": if value != nil { switch jtv := value.(type) { @@ -18359,12 +17663,10 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -18373,7 +17675,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskArn = ptr.String(jtv) } - case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -18382,7 +17683,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskDefinitionArn = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -18395,7 +17695,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Version = i64 } - default: _, _ = key, value @@ -18431,12 +17730,10 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va if err := awsAwsjson11_deserializeDocumentCompatibilityList(&sv.Compatibilities, value); err != nil { return err } - case "containerDefinitions": if err := awsAwsjson11_deserializeDocumentContainerDefinitions(&sv.ContainerDefinitions, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(string) @@ -18445,7 +17742,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Cpu = ptr.String(jtv) } - case "deregisteredAt": if value != nil { switch jtv := value.(type) { @@ -18461,12 +17757,10 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } } - case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -18475,7 +17769,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.ExecutionRoleArn = ptr.String(jtv) } - case "family": if value != nil { jtv, ok := value.(string) @@ -18484,12 +17777,10 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Family = ptr.String(jtv) } - case "inferenceAccelerators": if err := awsAwsjson11_deserializeDocumentInferenceAccelerators(&sv.InferenceAccelerators, value); err != nil { return err } - case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -18498,7 +17789,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.IpcMode = types.IpcMode(jtv) } - case "memory": if value != nil { jtv, ok := value.(string) @@ -18507,7 +17797,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Memory = ptr.String(jtv) } - case "networkMode": if value != nil { jtv, ok := value.(string) @@ -18516,7 +17805,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.NetworkMode = types.NetworkMode(jtv) } - case "pidMode": if value != nil { jtv, ok := value.(string) @@ -18525,17 +17813,14 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.PidMode = types.PidMode(jtv) } - case "placementConstraints": if err := awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "proxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } - case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -18551,7 +17836,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } } - case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -18560,17 +17844,14 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.RegisteredBy = ptr.String(jtv) } - case "requiresAttributes": if err := awsAwsjson11_deserializeDocumentRequiresAttributes(&sv.RequiresAttributes, value); err != nil { return err } - case "requiresCompatibilities": if err := awsAwsjson11_deserializeDocumentCompatibilityList(&sv.RequiresCompatibilities, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -18583,12 +17864,10 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Revision = int32(i64) } - case "runtimePlatform": if err := awsAwsjson11_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -18597,7 +17876,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Status = types.TaskDefinitionStatus(jtv) } - case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -18606,7 +17884,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.TaskDefinitionArn = ptr.String(jtv) } - case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -18615,12 +17892,10 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.TaskRoleArn = ptr.String(jtv) } - case "volumes": if err := awsAwsjson11_deserializeDocumentVolumeList(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -18694,7 +17969,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraint(v **types } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -18703,7 +17977,6 @@ func awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraint(v **types } sv.Type = types.TaskDefinitionPlacementConstraintType(jtv) } - default: _, _ = key, value @@ -18777,7 +18050,6 @@ func awsAwsjson11_deserializeDocumentTaskEphemeralStorage(v **types.TaskEphemera } sv.KmsKeyId = ptr.String(jtv) } - case "sizeInGiB": if value != nil { jtv, ok := value.(json.Number) @@ -18790,7 +18062,6 @@ func awsAwsjson11_deserializeDocumentTaskEphemeralStorage(v **types.TaskEphemera } sv.SizeInGiB = int32(i64) } - default: _, _ = key, value @@ -18826,7 +18097,6 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value if err := awsAwsjson11_deserializeDocumentContainerOverrides(&sv.ContainerOverrides, value); err != nil { return err } - case "cpu": if value != nil { jtv, ok := value.(string) @@ -18835,12 +18105,10 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.Cpu = ptr.String(jtv) } - case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -18849,12 +18117,10 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.ExecutionRoleArn = ptr.String(jtv) } - case "inferenceAcceleratorOverrides": if err := awsAwsjson11_deserializeDocumentInferenceAcceleratorOverrides(&sv.InferenceAcceleratorOverrides, value); err != nil { return err } - case "memory": if value != nil { jtv, ok := value.(string) @@ -18863,7 +18129,6 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.Memory = ptr.String(jtv) } - case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -18872,7 +18137,6 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.TaskRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18942,7 +18206,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -18951,7 +18214,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "computedDesiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -18964,7 +18226,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ComputedDesiredCount = int32(i64) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -18980,7 +18241,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -18989,12 +18249,10 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ExternalId = ptr.String(jtv) } - case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -19003,7 +18261,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.Id = ptr.String(jtv) } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -19012,17 +18269,14 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.LaunchType = types.LaunchType(jtv) } - case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } - case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -19035,7 +18289,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PendingCount = int32(i64) } - case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -19044,7 +18297,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PlatformFamily = ptr.String(jtv) } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -19053,7 +18305,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PlatformVersion = ptr.String(jtv) } - case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -19066,12 +18317,10 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.RunningCount = int32(i64) } - case "scale": if err := awsAwsjson11_deserializeDocumentScale(&sv.Scale, value); err != nil { return err } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -19080,12 +18329,10 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ServiceArn = ptr.String(jtv) } - case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } - case "stabilityStatus": if value != nil { jtv, ok := value.(string) @@ -19094,7 +18341,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.StabilityStatus = types.StabilityStatus(jtv) } - case "stabilityStatusAt": if value != nil { switch jtv := value.(type) { @@ -19110,7 +18356,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -19119,7 +18364,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.StartedBy = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -19128,12 +18372,10 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.Status = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -19142,7 +18384,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.TaskDefinition = ptr.String(jtv) } - case "taskSetArn": if value != nil { jtv, ok := value.(string) @@ -19151,7 +18392,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.TaskSetArn = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -19167,7 +18407,6 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } - default: _, _ = key, value @@ -19197,15 +18436,9 @@ func awsAwsjson11_deserializeDocumentTaskSetNotFoundException(v **types.TaskSetN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19213,15 +18446,11 @@ func awsAwsjson11_deserializeDocumentTaskSetNotFoundException(v **types.TaskSetN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19294,7 +18523,6 @@ func awsAwsjson11_deserializeDocumentTimeoutConfiguration(v **types.TimeoutConfi } sv.IdleTimeoutSeconds = ptr.Int32(int32(i64)) } - case "perRequestTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19307,7 +18535,6 @@ func awsAwsjson11_deserializeDocumentTimeoutConfiguration(v **types.TimeoutConfi } sv.PerRequestTimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19347,12 +18574,10 @@ func awsAwsjson11_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.ContainerPath = ptr.String(jtv) } - case "mountOptions": if err := awsAwsjson11_deserializeDocumentStringList(&sv.MountOptions, value); err != nil { return err } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -19365,7 +18590,6 @@ func awsAwsjson11_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.Size = int32(i64) } - default: _, _ = key, value @@ -19443,7 +18667,6 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.HardLimit = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19452,7 +18675,6 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.Name = types.UlimitName(jtv) } - case "softLimit": if value != nil { jtv, ok := value.(json.Number) @@ -19465,7 +18687,6 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.SoftLimit = int32(i64) } - default: _, _ = key, value @@ -19529,15 +18750,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19545,15 +18760,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19578,15 +18789,9 @@ func awsAwsjson11_deserializeDocumentUpdateInProgressException(v **types.UpdateI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19594,15 +18799,11 @@ func awsAwsjson11_deserializeDocumentUpdateInProgressException(v **types.UpdateI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19637,7 +18838,6 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.AgentHash = ptr.String(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -19646,7 +18846,6 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.AgentVersion = ptr.String(jtv) } - case "dockerVersion": if value != nil { jtv, ok := value.(string) @@ -19655,7 +18854,6 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.DockerVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -19695,27 +18893,22 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.ConfiguredAtLaunch = ptr.Bool(jtv) } - case "dockerVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(&sv.DockerVolumeConfiguration, value); err != nil { return err } - case "efsVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(&sv.EfsVolumeConfiguration, value); err != nil { return err } - case "fsxWindowsFileServerVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(&sv.FsxWindowsFileServerVolumeConfiguration, value); err != nil { return err } - case "host": if err := awsAwsjson11_deserializeDocumentHostVolumeProperties(&sv.Host, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -19724,7 +18917,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19764,7 +18956,6 @@ func awsAwsjson11_deserializeDocumentVolumeFrom(v **types.VolumeFrom, value inte } sv.ReadOnly = ptr.Bool(jtv) } - case "sourceContainer": if value != nil { jtv, ok := value.(string) @@ -19773,7 +18964,6 @@ func awsAwsjson11_deserializeDocumentVolumeFrom(v **types.VolumeFrom, value inte } sv.SourceContainer = ptr.String(jtv) } - default: _, _ = key, value @@ -19877,7 +19067,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCapacityProviderOutput(v **CreateCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -19913,7 +19102,6 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -19949,7 +19137,6 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -19985,7 +19172,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTaskSetOutput(v **CreateTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } - default: _, _ = key, value @@ -20021,7 +19207,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountSettingOutput(v **DeleteAcco if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } - default: _, _ = key, value @@ -20057,7 +19242,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAttributesOutput(v **DeleteAttribut if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -20093,7 +19277,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCapacityProviderOutput(v **DeleteCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -20129,7 +19312,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -20165,7 +19347,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -20201,12 +19382,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteTaskDefinitionsOutput(v **DeleteTas if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "taskDefinitions": if err := awsAwsjson11_deserializeDocumentTaskDefinitionList(&sv.TaskDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -20242,7 +19421,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTaskSetOutput(v **DeleteTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } - default: _, _ = key, value @@ -20278,7 +19456,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterContainerInstanceOutput(v **Der if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } - default: _, _ = key, value @@ -20314,7 +19491,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskDefinitionOutput(v **Deregi if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -20350,12 +19526,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCapacityProvidersOutput(v **Descr if err := awsAwsjson11_deserializeDocumentCapacityProviders(&sv.CapacityProviders, value); err != nil { return err } - case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20364,7 +19538,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCapacityProvidersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20400,12 +19573,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusters(&sv.Clusters, value); err != nil { return err } - case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -20441,12 +19612,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerInstancesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentContainerInstances(&sv.ContainerInstances, value); err != nil { return err } - case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -20482,12 +19651,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceDeploymentsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "serviceDeployments": if err := awsAwsjson11_deserializeDocumentServiceDeployments(&sv.ServiceDeployments, value); err != nil { return err } - default: _, _ = key, value @@ -20523,12 +19690,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceRevisionsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "serviceRevisions": if err := awsAwsjson11_deserializeDocumentServiceRevisions(&sv.ServiceRevisions, value); err != nil { return err } - default: _, _ = key, value @@ -20564,12 +19729,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "services": if err := awsAwsjson11_deserializeDocumentServices(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -20605,12 +19768,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskDefinitionOutput(v **Describe if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskDefinition": if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -20646,12 +19807,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskSetsOutput(v **DescribeTaskSe if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "taskSets": if err := awsAwsjson11_deserializeDocumentTaskSets(&sv.TaskSets, value); err != nil { return err } - default: _, _ = key, value @@ -20687,12 +19846,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTasksOutput(v **DescribeTasksOutp if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -20732,7 +19889,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.Endpoint = ptr.String(jtv) } - case "serviceConnectEndpoint": if value != nil { jtv, ok := value.(string) @@ -20741,7 +19897,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.ServiceConnectEndpoint = ptr.String(jtv) } - case "telemetryEndpoint": if value != nil { jtv, ok := value.(string) @@ -20750,7 +19905,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.TelemetryEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -20790,7 +19944,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ClusterArn = ptr.String(jtv) } - case "containerArn": if value != nil { jtv, ok := value.(string) @@ -20799,7 +19952,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ContainerArn = ptr.String(jtv) } - case "containerName": if value != nil { jtv, ok := value.(string) @@ -20808,7 +19960,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ContainerName = ptr.String(jtv) } - case "interactive": if value != nil { jtv, ok := value.(bool) @@ -20817,12 +19968,10 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.Interactive = jtv } - case "session": if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -20831,7 +19980,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20867,12 +20015,10 @@ func awsAwsjson11_deserializeOpDocumentGetTaskProtectionOutput(v **GetTaskProtec if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "protectedTasks": if err := awsAwsjson11_deserializeDocumentProtectedTasks(&sv.ProtectedTasks, value); err != nil { return err } - default: _, _ = key, value @@ -20912,12 +20058,10 @@ func awsAwsjson11_deserializeOpDocumentListAccountSettingsOutput(v **ListAccount } sv.NextToken = ptr.String(jtv) } - case "settings": if err := awsAwsjson11_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -20953,7 +20097,6 @@ func awsAwsjson11_deserializeOpDocumentListAttributesOutput(v **ListAttributesOu if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20962,7 +20105,6 @@ func awsAwsjson11_deserializeOpDocumentListAttributesOutput(v **ListAttributesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20998,7 +20140,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentStringList(&sv.ClusterArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21007,7 +20148,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21043,7 +20183,6 @@ func awsAwsjson11_deserializeOpDocumentListContainerInstancesOutput(v **ListCont if err := awsAwsjson11_deserializeDocumentStringList(&sv.ContainerInstanceArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21052,7 +20191,6 @@ func awsAwsjson11_deserializeOpDocumentListContainerInstancesOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21092,12 +20230,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceDeploymentsOutput(v **ListServ } sv.NextToken = ptr.String(jtv) } - case "serviceDeployments": if err := awsAwsjson11_deserializeDocumentServiceDeploymentsBrief(&sv.ServiceDeployments, value); err != nil { return err } - default: _, _ = key, value @@ -21137,12 +20273,10 @@ func awsAwsjson11_deserializeOpDocumentListServicesByNamespaceOutput(v **ListSer } sv.NextToken = ptr.String(jtv) } - case "serviceArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ServiceArns, value); err != nil { return err } - default: _, _ = key, value @@ -21182,12 +20316,10 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "serviceArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ServiceArns, value); err != nil { return err } - default: _, _ = key, value @@ -21223,7 +20355,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21259,7 +20390,6 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionFamiliesOutput(v **List if err := awsAwsjson11_deserializeDocumentStringList(&sv.Families, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21268,7 +20398,6 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionFamiliesOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21308,12 +20437,10 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionsOutput(v **ListTaskDef } sv.NextToken = ptr.String(jtv) } - case "taskDefinitionArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TaskDefinitionArns, value); err != nil { return err } - default: _, _ = key, value @@ -21353,12 +20480,10 @@ func awsAwsjson11_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } - case "taskArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TaskArns, value); err != nil { return err } - default: _, _ = key, value @@ -21394,7 +20519,6 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingDefaultOutput(v **PutAcc if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } - default: _, _ = key, value @@ -21430,7 +20554,6 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } - default: _, _ = key, value @@ -21466,7 +20589,6 @@ func awsAwsjson11_deserializeOpDocumentPutAttributesOutput(v **PutAttributesOutp if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -21502,7 +20624,6 @@ func awsAwsjson11_deserializeOpDocumentPutClusterCapacityProvidersOutput(v **Put if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -21538,7 +20659,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterContainerInstanceOutput(v **Regis if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } - default: _, _ = key, value @@ -21574,12 +20694,10 @@ func awsAwsjson11_deserializeOpDocumentRegisterTaskDefinitionOutput(v **Register if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskDefinition": if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -21615,12 +20733,10 @@ func awsAwsjson11_deserializeOpDocumentRunTaskOutput(v **RunTaskOutput, value in if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -21656,12 +20772,10 @@ func awsAwsjson11_deserializeOpDocumentStartTaskOutput(v **StartTaskOutput, valu if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -21697,7 +20811,6 @@ func awsAwsjson11_deserializeOpDocumentStopTaskOutput(v **StopTaskOutput, value if err := awsAwsjson11_deserializeDocumentTask(&sv.Task, value); err != nil { return err } - default: _, _ = key, value @@ -21737,7 +20850,6 @@ func awsAwsjson11_deserializeOpDocumentSubmitAttachmentStateChangesOutput(v **Su } sv.Acknowledgment = ptr.String(jtv) } - default: _, _ = key, value @@ -21777,7 +20889,6 @@ func awsAwsjson11_deserializeOpDocumentSubmitContainerStateChangeOutput(v **Subm } sv.Acknowledgment = ptr.String(jtv) } - default: _, _ = key, value @@ -21817,7 +20928,6 @@ func awsAwsjson11_deserializeOpDocumentSubmitTaskStateChangeOutput(v **SubmitTas } sv.Acknowledgment = ptr.String(jtv) } - default: _, _ = key, value @@ -21915,7 +21025,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCapacityProviderOutput(v **UpdateCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -21951,7 +21060,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -21987,7 +21095,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterSettingsOutput(v **UpdateClu if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -22023,7 +21130,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerAgentOutput(v **UpdateCont if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } - default: _, _ = key, value @@ -22059,12 +21165,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerInstancesStateOutput(v **U if err := awsAwsjson11_deserializeDocumentContainerInstances(&sv.ContainerInstances, value); err != nil { return err } - case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -22100,7 +21204,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -22136,7 +21239,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServicePrimaryTaskSetOutput(v **Upd if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } - default: _, _ = key, value @@ -22172,12 +21274,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateTaskProtectionOutput(v **UpdateTask if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } - case "protectedTasks": if err := awsAwsjson11_deserializeDocumentProtectedTasks(&sv.ProtectedTasks, value); err != nil { return err } - default: _, _ = key, value @@ -22213,7 +21313,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTaskSetOutput(v **UpdateTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/efs/deserializers.go b/service/efs/deserializers.go index 9ed3ce4230a..d28190df9f0 100644 --- a/service/efs/deserializers.go +++ b/service/efs/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.AccessPointArn = ptr.String(jtv) } - case "AccessPointId": if value != nil { jtv, ok := value.(string) @@ -204,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.AccessPointId = ptr.String(jtv) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -213,7 +211,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.ClientToken = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -222,7 +219,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.FileSystemId = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -231,7 +227,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -240,7 +235,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -249,22 +243,18 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.OwnerId = ptr.String(jtv) } - case "PosixUser": if err := awsRestjson1_deserializeDocumentPosixUser(&sv.PosixUser, value); err != nil { return err } - case "RootDirectory": if err := awsRestjson1_deserializeDocumentRootDirectory(&sv.RootDirectory, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -438,7 +428,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -447,7 +436,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.AvailabilityZoneName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -463,7 +451,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } } - case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -472,7 +459,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.CreationToken = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -481,7 +467,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.Encrypted = ptr.Bool(jtv) } - case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -490,7 +475,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.FileSystemArn = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -499,12 +483,10 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -513,7 +495,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.KmsKeyId = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -522,7 +503,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -531,7 +511,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.Name = ptr.String(jtv) } - case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -544,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.NumberOfMountTargets = int32(i64) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -553,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.OwnerId = ptr.String(jtv) } - case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -562,7 +539,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.PerformanceMode = types.PerformanceMode(jtv) } - case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -596,17 +572,14 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } } - case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -615,7 +588,6 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.ThroughputMode = types.ThroughputMode(jtv) } - default: _, _ = key, value @@ -807,7 +779,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -816,7 +787,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.AvailabilityZoneName = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -825,7 +795,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.FileSystemId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -834,7 +803,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.IpAddress = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -843,7 +811,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "MountTargetId": if value != nil { jtv, ok := value.(string) @@ -852,7 +819,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.MountTargetId = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -861,7 +827,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.NetworkInterfaceId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -870,7 +835,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.OwnerId = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -879,7 +843,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -888,7 +851,6 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1081,12 +1043,10 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } } - case "Destinations": if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "OriginalSourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -1095,7 +1055,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.OriginalSourceFileSystemArn = ptr.String(jtv) } - case "SourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -1104,7 +1063,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemArn = ptr.String(jtv) } - case "SourceFileSystemId": if value != nil { jtv, ok := value.(string) @@ -1113,7 +1071,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemId = ptr.String(jtv) } - case "SourceFileSystemRegion": if value != nil { jtv, ok := value.(string) @@ -1122,7 +1079,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -1995,7 +1951,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPointsOutput(v **DescribeAc if err := awsRestjson1_deserializeDocumentAccessPointDescriptions(&sv.AccessPoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2004,7 +1959,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPointsOutput(v **DescribeAc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2160,12 +2114,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountPreferencesOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - case "ResourceIdPreference": if err := awsRestjson1_deserializeDocumentResourceIdPreference(&sv.ResourceIdPreference, value); err != nil { return err } - default: _, _ = key, value @@ -2329,7 +2281,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupPolicyOutput(v **DescribeBa if err := awsRestjson1_deserializeDocumentBackupPolicy(&sv.BackupPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -2494,7 +2445,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemPolicyOutput(v **Descri } sv.FileSystemId = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -2503,7 +2453,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemPolicyOutput(v **Descri } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -2661,7 +2610,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil if err := awsRestjson1_deserializeDocumentFileSystemDescriptions(&sv.FileSystems, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -2670,7 +2618,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.Marker = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -2679,7 +2626,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -2837,7 +2783,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLifecycleConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentLifecyclePolicies(&sv.LifecyclePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -3005,12 +2950,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetsOutput(v **DescribeMo } sv.Marker = ptr.String(jtv) } - case "MountTargets": if err := awsRestjson1_deserializeDocumentMountTargetDescriptions(&sv.MountTargets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -3019,7 +2962,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetsOutput(v **DescribeMo } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -3180,7 +3122,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetSecurityGroupsOutput(v if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -3348,12 +3289,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "Replications": if err := awsRestjson1_deserializeDocumentReplicationConfigurationDescriptions(&sv.Replications, value); err != nil { return err } - default: _, _ = key, value @@ -3515,7 +3454,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.Marker = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -3524,12 +3462,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.NextMarker = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3694,12 +3630,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3963,7 +3897,6 @@ func awsRestjson1_deserializeOpDocumentPutAccountPreferencesOutput(v **PutAccoun if err := awsRestjson1_deserializeDocumentResourceIdPreference(&sv.ResourceIdPreference, value); err != nil { return err } - default: _, _ = key, value @@ -4127,7 +4060,6 @@ func awsRestjson1_deserializeOpDocumentPutBackupPolicyOutput(v **PutBackupPolicy if err := awsRestjson1_deserializeDocumentBackupPolicy(&sv.BackupPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -4295,7 +4227,6 @@ func awsRestjson1_deserializeOpDocumentPutFileSystemPolicyOutput(v **PutFileSyst } sv.FileSystemId = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -4304,7 +4235,6 @@ func awsRestjson1_deserializeOpDocumentPutFileSystemPolicyOutput(v **PutFileSyst } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -4465,7 +4395,6 @@ func awsRestjson1_deserializeOpDocumentPutLifecycleConfigurationOutput(v **PutLi if err := awsRestjson1_deserializeDocumentLifecyclePolicies(&sv.LifecyclePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -4845,7 +4774,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -4854,7 +4782,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.AvailabilityZoneName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4870,7 +4797,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } } - case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -4879,7 +4805,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.CreationToken = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -4888,7 +4813,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.Encrypted = ptr.Bool(jtv) } - case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -4897,7 +4821,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.FileSystemArn = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -4906,12 +4829,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4920,7 +4841,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.KmsKeyId = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -4929,7 +4849,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4938,7 +4857,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.Name = ptr.String(jtv) } - case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -4951,7 +4869,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.NumberOfMountTargets = int32(i64) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4960,7 +4877,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.OwnerId = ptr.String(jtv) } - case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -4969,7 +4885,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.PerformanceMode = types.PerformanceMode(jtv) } - case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -5003,17 +4918,14 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } } - case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -5022,7 +4934,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.ThroughputMode = types.ThroughputMode(jtv) } - default: _, _ = key, value @@ -5199,7 +5110,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemProtectionOutput(v **Upda } sv.ReplicationOverwriteProtection = types.ReplicationOverwriteProtection(jtv) } - default: _, _ = key, value @@ -6381,13 +6291,7 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "AccessPointId": if value != nil { @@ -6397,7 +6301,6 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.AccessPointId = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -6406,8 +6309,7 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6415,15 +6317,11 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6458,7 +6356,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.AccessPointArn = ptr.String(jtv) } - case "AccessPointId": if value != nil { jtv, ok := value.(string) @@ -6467,7 +6364,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.AccessPointId = ptr.String(jtv) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -6476,7 +6372,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.ClientToken = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -6485,7 +6380,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.FileSystemId = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6388,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6503,7 +6396,6 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -6512,22 +6404,18 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.OwnerId = ptr.String(jtv) } - case "PosixUser": if err := awsRestjson1_deserializeDocumentPosixUser(&sv.PosixUser, value); err != nil { return err } - case "RootDirectory": if err := awsRestjson1_deserializeDocumentRootDirectory(&sv.RootDirectory, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6591,13 +6479,7 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6607,8 +6489,7 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6616,15 +6497,11 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6649,13 +6526,7 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6665,8 +6536,7 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6674,15 +6544,11 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6707,13 +6573,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6723,8 +6583,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6732,15 +6591,11 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6775,7 +6630,6 @@ func awsRestjson1_deserializeDocumentBackupPolicy(v **types.BackupPolicy, value } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -6805,13 +6659,7 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6821,8 +6669,7 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6830,15 +6677,11 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6863,13 +6706,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -6879,8 +6716,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6888,15 +6724,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6935,7 +6767,6 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.OwnerGid = ptr.Int64(i64) } - case "OwnerUid": if value != nil { jtv, ok := value.(json.Number) @@ -6948,7 +6779,6 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.OwnerUid = ptr.Int64(i64) } - case "Permissions": if value != nil { jtv, ok := value.(string) @@ -6957,7 +6787,6 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.Permissions = ptr.String(jtv) } - default: _, _ = key, value @@ -6987,13 +6816,7 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7003,8 +6826,7 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7012,15 +6834,11 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7055,7 +6873,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.FileSystemId = ptr.String(jtv) } - case "LastReplicatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7071,7 +6888,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } } - case "Region": if value != nil { jtv, ok := value.(string) @@ -7080,7 +6896,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Region = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7089,7 +6904,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Status = types.ReplicationStatus(jtv) } - default: _, _ = key, value @@ -7153,13 +6967,7 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7169,7 +6977,6 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.ErrorCode_ = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -7178,8 +6985,7 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.FileSystemId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7187,15 +6993,11 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7230,7 +7032,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -7239,7 +7040,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.AvailabilityZoneName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7255,7 +7055,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } } - case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -7264,7 +7063,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.CreationToken = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -7273,7 +7071,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.Encrypted = ptr.Bool(jtv) } - case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -7282,7 +7079,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.FileSystemArn = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -7291,12 +7087,10 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7305,7 +7099,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.KmsKeyId = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -7314,7 +7107,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7323,7 +7115,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.Name = ptr.String(jtv) } - case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -7336,7 +7127,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.NumberOfMountTargets = int32(i64) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -7345,7 +7135,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.OwnerId = ptr.String(jtv) } - case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -7354,7 +7143,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.PerformanceMode = types.PerformanceMode(jtv) } - case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -7388,17 +7176,14 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } } - case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -7407,7 +7192,6 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.ThroughputMode = types.ThroughputMode(jtv) } - default: _, _ = key, value @@ -7471,13 +7255,7 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7487,8 +7265,7 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7496,15 +7273,11 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7529,13 +7302,7 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7545,8 +7312,7 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7554,15 +7320,11 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7587,13 +7349,7 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7603,8 +7359,7 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7612,15 +7367,11 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7655,7 +7406,6 @@ func awsRestjson1_deserializeDocumentFileSystemProtectionDescription(v **types.F } sv.ReplicationOverwriteProtection = types.ReplicationOverwriteProtection(jtv) } - default: _, _ = key, value @@ -7702,7 +7452,6 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -7715,7 +7464,6 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.Value = i64 } - case "ValueInArchive": if value != nil { jtv, ok := value.(json.Number) @@ -7728,7 +7476,6 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInArchive = ptr.Int64(i64) } - case "ValueInIA": if value != nil { jtv, ok := value.(json.Number) @@ -7741,7 +7488,6 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInIA = ptr.Int64(i64) } - case "ValueInStandard": if value != nil { jtv, ok := value.(json.Number) @@ -7754,7 +7500,6 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInStandard = ptr.Int64(i64) } - default: _, _ = key, value @@ -7784,13 +7529,7 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7800,8 +7539,7 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7809,15 +7547,11 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7842,13 +7576,7 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7858,8 +7586,7 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7867,15 +7594,11 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7900,13 +7623,7 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7916,8 +7633,7 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7925,15 +7641,11 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7958,13 +7670,7 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7974,8 +7680,7 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7983,15 +7688,11 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8016,13 +7717,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8032,8 +7727,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8041,15 +7735,11 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8074,13 +7764,7 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8090,8 +7774,7 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8099,15 +7782,11 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8176,7 +7855,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToArchive = types.TransitionToArchiveRules(jtv) } - case "TransitionToIA": if value != nil { jtv, ok := value.(string) @@ -8185,7 +7863,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToIA = types.TransitionToIARules(jtv) } - case "TransitionToPrimaryStorageClass": if value != nil { jtv, ok := value.(string) @@ -8194,7 +7871,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToPrimaryStorageClass = types.TransitionToPrimaryStorageClassRules(jtv) } - default: _, _ = key, value @@ -8224,13 +7900,7 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8240,8 +7910,7 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8249,15 +7918,11 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8292,7 +7957,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -8301,7 +7965,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.AvailabilityZoneName = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -8310,7 +7973,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.FileSystemId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -8319,7 +7981,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.IpAddress = ptr.String(jtv) } - case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -8328,7 +7989,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.LifeCycleState = types.LifeCycleState(jtv) } - case "MountTargetId": if value != nil { jtv, ok := value.(string) @@ -8337,7 +7997,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.MountTargetId = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8346,7 +8005,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.NetworkInterfaceId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -8355,7 +8013,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.OwnerId = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -8364,7 +8021,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8373,7 +8029,6 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -8437,13 +8092,7 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8453,8 +8102,7 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8462,15 +8110,11 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8495,13 +8139,7 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8511,8 +8149,7 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8520,15 +8157,11 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8553,13 +8186,7 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8569,8 +8196,7 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8578,15 +8204,11 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8611,13 +8233,7 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8627,8 +8243,7 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8636,15 +8251,11 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8683,12 +8294,10 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Gid = ptr.Int64(i64) } - case "SecondaryGids": if err := awsRestjson1_deserializeDocumentSecondaryGids(&sv.SecondaryGids, value); err != nil { return err } - case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -8701,7 +8310,6 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Uid = ptr.Int64(i64) } - default: _, _ = key, value @@ -8731,13 +8339,7 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8747,8 +8349,7 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8756,15 +8357,11 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8806,12 +8403,10 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } } - case "Destinations": if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "OriginalSourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -8820,7 +8415,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.OriginalSourceFileSystemArn = ptr.String(jtv) } - case "SourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -8829,7 +8423,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemArn = ptr.String(jtv) } - case "SourceFileSystemId": if value != nil { jtv, ok := value.(string) @@ -8838,7 +8431,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemId = ptr.String(jtv) } - case "SourceFileSystemRegion": if value != nil { jtv, ok := value.(string) @@ -8847,7 +8439,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -8911,13 +8502,7 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -8927,8 +8512,7 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8936,15 +8520,11 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8979,12 +8559,10 @@ func awsRestjson1_deserializeDocumentResourceIdPreference(v **types.ResourceIdPr } sv.ResourceIdType = types.ResourceIdType(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -9056,7 +8634,6 @@ func awsRestjson1_deserializeDocumentRootDirectory(v **types.RootDirectory, valu if err := awsRestjson1_deserializeDocumentCreationInfo(&sv.CreationInfo, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -9065,7 +8642,6 @@ func awsRestjson1_deserializeDocumentRootDirectory(v **types.RootDirectory, valu } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9135,13 +8711,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9151,8 +8721,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9160,15 +8729,11 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9193,13 +8758,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9209,8 +8768,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9218,15 +8776,11 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9287,13 +8841,7 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9303,8 +8851,7 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9312,15 +8859,11 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9355,7 +8898,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9364,7 +8906,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9428,13 +8969,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9444,8 +8979,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9453,15 +8987,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9486,13 +9016,7 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9502,8 +9026,7 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9511,15 +9034,11 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9544,13 +9063,7 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9560,8 +9073,7 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9569,15 +9081,11 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9602,13 +9110,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9618,8 +9120,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9627,15 +9128,11 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9660,13 +9157,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -9676,8 +9167,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9685,15 +9175,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/eks/deserializers.go b/service/eks/deserializers.go index 44c54350bdd..c30da0f4555 100644 --- a/service/eks/deserializers.go +++ b/service/eks/deserializers.go @@ -180,7 +180,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate if err := awsRestjson1_deserializeDocumentAssociatedAccessPolicy(&sv.AssociatedAccessPolicy, value); err != nil { return err } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -189,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate } sv.ClusterName = ptr.String(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -198,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate } sv.PrincipalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -365,7 +362,6 @@ func awsRestjson1_deserializeOpDocumentAssociateEncryptionConfigOutput(v **Assoc if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -532,12 +528,10 @@ func awsRestjson1_deserializeOpDocumentAssociateIdentityProviderConfigOutput(v * if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "update": if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -704,7 +698,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessEntryOutput(v **CreateAccessE if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } - default: _, _ = key, value @@ -871,7 +864,6 @@ func awsRestjson1_deserializeOpDocumentCreateAddonOutput(v **CreateAddonOutput, if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } - default: _, _ = key, value @@ -1041,7 +1033,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -1205,7 +1196,6 @@ func awsRestjson1_deserializeOpDocumentCreateEksAnywhereSubscriptionOutput(v **C if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -1372,7 +1362,6 @@ func awsRestjson1_deserializeOpDocumentCreateFargateProfileOutput(v **CreateFarg if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } - default: _, _ = key, value @@ -1542,7 +1531,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodegroupOutput(v **CreateNodegroup if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } - default: _, _ = key, value @@ -1709,7 +1697,6 @@ func awsRestjson1_deserializeOpDocumentCreatePodIdentityAssociationOutput(v **Cr if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -1967,7 +1954,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAddonOutput(v **DeleteAddonOutput, if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } - default: _, _ = key, value @@ -2131,7 +2117,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -2292,7 +2277,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEksAnywhereSubscriptionOutput(v **D if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -2453,7 +2437,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFargateProfileOutput(v **DeleteFarg if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } - default: _, _ = key, value @@ -2620,7 +2603,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodegroupOutput(v **DeleteNodegroup if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } - default: _, _ = key, value @@ -2781,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentDeletePodIdentityAssociationOutput(v **De if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -2948,7 +2929,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterClusterOutput(v **DeregisterClu if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3106,7 +3086,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessEntryOutput(v **DescribeAcc if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } - default: _, _ = key, value @@ -3270,7 +3249,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonOutput(v **DescribeAddonOutp if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } - default: _, _ = key, value @@ -3432,7 +3410,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.AddonName = ptr.String(jtv) } - case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -3441,7 +3418,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.AddonVersion = ptr.String(jtv) } - case "configurationSchema": if value != nil { jtv, ok := value.(string) @@ -3450,12 +3426,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.ConfigurationSchema = ptr.String(jtv) } - case "podIdentityConfiguration": if err := awsRestjson1_deserializeDocumentAddonPodIdentityConfigurationList(&sv.PodIdentityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3613,7 +3587,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonVersionsOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentAddons(&sv.Addons, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3622,7 +3595,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonVersionsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3783,7 +3755,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -3944,7 +3915,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEksAnywhereSubscriptionOutput(v * if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -4105,7 +4075,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFargateProfileOutput(v **Describe if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } - default: _, _ = key, value @@ -4269,7 +4238,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityProviderConfigOutput(v ** if err := awsRestjson1_deserializeDocumentIdentityProviderConfigResponse(&sv.IdentityProviderConfig, value); err != nil { return err } - default: _, _ = key, value @@ -4430,7 +4398,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInsightOutput(v **DescribeInsight if err := awsRestjson1_deserializeDocumentInsight(&sv.Insight, value); err != nil { return err } - default: _, _ = key, value @@ -4594,7 +4561,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodegroupOutput(v **DescribeNodeg if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } - default: _, _ = key, value @@ -4755,7 +4721,6 @@ func awsRestjson1_deserializeOpDocumentDescribePodIdentityAssociationOutput(v ** if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -4916,7 +4881,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUpdateOutput(v **DescribeUpdateOu if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -5177,7 +5141,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateIdentityProviderConfigOutput( if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -5338,7 +5301,6 @@ func awsRestjson1_deserializeOpDocumentListAccessEntriesOutput(v **ListAccessEnt if err := awsRestjson1_deserializeDocumentStringList(&sv.AccessEntries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5347,7 +5309,6 @@ func awsRestjson1_deserializeOpDocumentListAccessEntriesOutput(v **ListAccessEnt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5499,7 +5460,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsRestjson1_deserializeDocumentAccessPoliciesList(&sv.AccessPolicies, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5508,7 +5468,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5672,7 +5631,6 @@ func awsRestjson1_deserializeOpDocumentListAddonsOutput(v **ListAddonsOutput, va if err := awsRestjson1_deserializeDocumentStringList(&sv.Addons, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5681,7 +5639,6 @@ func awsRestjson1_deserializeOpDocumentListAddonsOutput(v **ListAddonsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5839,7 +5796,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li if err := awsRestjson1_deserializeDocumentAssociatedAccessPoliciesList(&sv.AssociatedAccessPolicies, value); err != nil { return err } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -5848,7 +5804,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.ClusterName = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5857,7 +5812,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5820,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.PrincipalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6027,7 +5980,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocumentStringList(&sv.Clusters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6036,7 +5988,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6201,12 +6152,10 @@ func awsRestjson1_deserializeOpDocumentListEksAnywhereSubscriptionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "subscriptions": if err := awsRestjson1_deserializeDocumentEksAnywhereSubscriptionList(&sv.Subscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -6367,7 +6316,6 @@ func awsRestjson1_deserializeOpDocumentListFargateProfilesOutput(v **ListFargate if err := awsRestjson1_deserializeDocumentStringList(&sv.FargateProfileNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6376,7 +6324,6 @@ func awsRestjson1_deserializeOpDocumentListFargateProfilesOutput(v **ListFargate } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6540,7 +6487,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProviderConfigsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIdentityProviderConfigs(&sv.IdentityProviderConfigs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6549,7 +6495,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProviderConfigsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6710,7 +6655,6 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput if err := awsRestjson1_deserializeDocumentInsightSummaries(&sv.Insights, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6719,7 +6663,6 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6887,12 +6830,10 @@ func awsRestjson1_deserializeOpDocumentListNodegroupsOutput(v **ListNodegroupsOu } sv.NextToken = ptr.String(jtv) } - case "nodegroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.Nodegroups, value); err != nil { return err } - default: _, _ = key, value @@ -7053,7 +6994,6 @@ func awsRestjson1_deserializeOpDocumentListPodIdentityAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentPodIdentityAssociationSummaries(&sv.Associations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7062,7 +7002,6 @@ func awsRestjson1_deserializeOpDocumentListPodIdentityAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7217,7 +7156,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7382,12 +7320,10 @@ func awsRestjson1_deserializeOpDocumentListUpdatesOutput(v **ListUpdatesOutput, } sv.NextToken = ptr.String(jtv) } - case "updateIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.UpdateIds, value); err != nil { return err } - default: _, _ = key, value @@ -7560,7 +7496,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClusterOutput(v **RegisterCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -7903,7 +7838,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessEntryOutput(v **UpdateAccessE if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } - default: _, _ = key, value @@ -8070,7 +8004,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAddonOutput(v **UpdateAddonOutput, if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -8237,7 +8170,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigOutput(v **UpdateClust if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -8404,7 +8336,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterVersionOutput(v **UpdateClus if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -8568,7 +8499,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEksAnywhereSubscriptionOutput(v **U if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -8735,7 +8665,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodegroupConfigOutput(v **UpdateNod if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -8902,7 +8831,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodegroupVersionOutput(v **UpdateNo if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -9063,7 +8991,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePodIdentityAssociationOutput(v **Up if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -9571,7 +9498,6 @@ func awsRestjson1_deserializeDocumentAccessConfigResponse(v **types.AccessConfig } sv.AuthenticationMode = types.AuthenticationMode(jtv) } - case "bootstrapClusterCreatorAdminPermissions": if value != nil { jtv, ok := value.(bool) @@ -9580,7 +9506,6 @@ func awsRestjson1_deserializeDocumentAccessConfigResponse(v **types.AccessConfig } sv.BootstrapClusterCreatorAdminPermissions = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9610,15 +9535,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9626,15 +9545,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9669,7 +9584,6 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.AccessEntryArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -9678,7 +9592,6 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.ClusterName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9694,12 +9607,10 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } } - case "kubernetesGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.KubernetesGroups, value); err != nil { return err } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -9715,7 +9626,6 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -9724,12 +9634,10 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.PrincipalArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9646,6 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.Type = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -9747,7 +9654,6 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -9821,7 +9727,6 @@ func awsRestjson1_deserializeDocumentAccessPolicy(v **types.AccessPolicy, value } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9830,7 +9735,6 @@ func awsRestjson1_deserializeDocumentAccessPolicy(v **types.AccessPolicy, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9866,7 +9770,6 @@ func awsRestjson1_deserializeDocumentAccessScope(v **types.AccessScope, value in if err := awsRestjson1_deserializeDocumentStringList(&sv.Namespaces, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9875,7 +9778,6 @@ func awsRestjson1_deserializeDocumentAccessScope(v **types.AccessScope, value in } sv.Type = types.AccessScopeType(jtv) } - default: _, _ = key, value @@ -9951,7 +9853,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonArn = ptr.String(jtv) } - case "addonName": if value != nil { jtv, ok := value.(string) @@ -9960,7 +9861,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonName = ptr.String(jtv) } - case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -9969,7 +9869,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonVersion = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -9978,7 +9877,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ClusterName = ptr.String(jtv) } - case "configurationValues": if value != nil { jtv, ok := value.(string) @@ -9987,7 +9885,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ConfigurationValues = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10003,17 +9900,14 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } } - case "health": if err := awsRestjson1_deserializeDocumentAddonHealth(&sv.Health, value); err != nil { return err } - case "marketplaceInformation": if err := awsRestjson1_deserializeDocumentMarketplaceInformation(&sv.MarketplaceInformation, value); err != nil { return err } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -10029,7 +9923,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } } - case "owner": if value != nil { jtv, ok := value.(string) @@ -10038,12 +9931,10 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Owner = ptr.String(jtv) } - case "podIdentityAssociations": if err := awsRestjson1_deserializeDocumentStringList(&sv.PodIdentityAssociations, value); err != nil { return err } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -10052,7 +9943,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Publisher = ptr.String(jtv) } - case "serviceAccountRoleArn": if value != nil { jtv, ok := value.(string) @@ -10061,7 +9951,6 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ServiceAccountRoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10070,12 +9959,10 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Status = types.AddonStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10111,7 +9998,6 @@ func awsRestjson1_deserializeDocumentAddonHealth(v **types.AddonHealth, value in if err := awsRestjson1_deserializeDocumentAddonIssueList(&sv.Issues, value); err != nil { return err } - default: _, _ = key, value @@ -10151,17 +10037,14 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.AddonName = ptr.String(jtv) } - case "addonVersions": if err := awsRestjson1_deserializeDocumentAddonVersionInfoList(&sv.AddonVersions, value); err != nil { return err } - case "marketplaceInformation": if err := awsRestjson1_deserializeDocumentMarketplaceInformation(&sv.MarketplaceInformation, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -10170,7 +10053,6 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Owner = ptr.String(jtv) } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -10179,7 +10061,6 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Publisher = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10188,7 +10069,6 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -10228,7 +10108,6 @@ func awsRestjson1_deserializeDocumentAddonIssue(v **types.AddonIssue, value inte } sv.Code = types.AddonIssueCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -10237,12 +10116,10 @@ func awsRestjson1_deserializeDocumentAddonIssue(v **types.AddonIssue, value inte } sv.Message = ptr.String(jtv) } - case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value @@ -10312,7 +10189,6 @@ func awsRestjson1_deserializeDocumentAddonPodIdentityConfiguration(v **types.Add if err := awsRestjson1_deserializeDocumentStringList(&sv.RecommendedManagedPolicies, value); err != nil { return err } - case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -10321,7 +10197,6 @@ func awsRestjson1_deserializeDocumentAddonPodIdentityConfiguration(v **types.Add } sv.ServiceAccount = ptr.String(jtv) } - default: _, _ = key, value @@ -10429,17 +10304,14 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.AddonVersion = ptr.String(jtv) } - case "architecture": if err := awsRestjson1_deserializeDocumentStringList(&sv.Architecture, value); err != nil { return err } - case "compatibilities": if err := awsRestjson1_deserializeDocumentCompatibilities(&sv.Compatibilities, value); err != nil { return err } - case "requiresConfiguration": if value != nil { jtv, ok := value.(bool) @@ -10448,7 +10320,6 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.RequiresConfiguration = jtv } - case "requiresIamPermissions": if value != nil { jtv, ok := value.(bool) @@ -10457,7 +10328,6 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.RequiresIamPermissions = jtv } - default: _, _ = key, value @@ -10561,7 +10431,6 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated if err := awsRestjson1_deserializeDocumentAccessScope(&sv.AccessScope, value); err != nil { return err } - case "associatedAt": if value != nil { switch jtv := value.(type) { @@ -10577,7 +10446,6 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -10593,7 +10461,6 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -10602,7 +10469,6 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10642,7 +10508,6 @@ func awsRestjson1_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10706,15 +10571,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10722,15 +10581,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10765,7 +10620,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Data = ptr.String(jtv) } - default: _, _ = key, value @@ -10795,13 +10649,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -10811,7 +10659,6 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -10820,8 +10667,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10829,7 +10675,6 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -10838,7 +10683,6 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -10847,15 +10691,11 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10897,7 +10737,6 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } } - case "numberOfRequestsLast30Days": if value != nil { jtv, ok := value.(json.Number) @@ -10910,7 +10749,6 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } sv.NumberOfRequestsLast30Days = int32(i64) } - case "userAgent": if value != nil { jtv, ok := value.(string) @@ -10919,7 +10757,6 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } sv.UserAgent = ptr.String(jtv) } - default: _, _ = key, value @@ -10989,7 +10826,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ if err := awsRestjson1_deserializeDocumentAccessConfigResponse(&sv.AccessConfig, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10998,12 +10834,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Arn = ptr.String(jtv) } - case "certificateAuthority": if err := awsRestjson1_deserializeDocumentCertificate(&sv.CertificateAuthority, value); err != nil { return err } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -11012,12 +10846,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClientRequestToken = ptr.String(jtv) } - case "connectorConfig": if err := awsRestjson1_deserializeDocumentConnectorConfigResponse(&sv.ConnectorConfig, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11033,12 +10865,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } } - case "encryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfigList(&sv.EncryptionConfig, value); err != nil { return err } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -11047,12 +10877,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Endpoint = ptr.String(jtv) } - case "health": if err := awsRestjson1_deserializeDocumentClusterHealth(&sv.Health, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11061,22 +10889,18 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } - case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } - case "kubernetesNetworkConfig": if err := awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(&sv.KubernetesNetworkConfig, value); err != nil { return err } - case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11085,12 +10909,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } - case "outpostConfig": if err := awsRestjson1_deserializeDocumentOutpostConfigResponse(&sv.OutpostConfig, value); err != nil { return err } - case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -11099,12 +10921,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PlatformVersion = ptr.String(jtv) } - case "resourcesVpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.ResourcesVpcConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11113,7 +10933,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11122,17 +10941,14 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.ClusterStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "upgradePolicy": if err := awsRestjson1_deserializeDocumentUpgradePolicyResponse(&sv.UpgradePolicy, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -11141,12 +10957,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Version = ptr.String(jtv) } - case "zonalShiftConfig": if err := awsRestjson1_deserializeDocumentZonalShiftConfigResponse(&sv.ZonalShiftConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11182,7 +10996,6 @@ func awsRestjson1_deserializeDocumentClusterHealth(v **types.ClusterHealth, valu if err := awsRestjson1_deserializeDocumentClusterIssueList(&sv.Issues, value); err != nil { return err } - default: _, _ = key, value @@ -11222,7 +11035,6 @@ func awsRestjson1_deserializeDocumentClusterIssue(v **types.ClusterIssue, value } sv.Code = types.ClusterIssueCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11231,12 +11043,10 @@ func awsRestjson1_deserializeDocumentClusterIssue(v **types.ClusterIssue, value } sv.Message = ptr.String(jtv) } - case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value @@ -11344,7 +11154,6 @@ func awsRestjson1_deserializeDocumentCompatibility(v **types.Compatibility, valu } sv.ClusterVersion = ptr.String(jtv) } - case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -11353,12 +11162,10 @@ func awsRestjson1_deserializeDocumentCompatibility(v **types.Compatibility, valu } sv.DefaultVersion = jtv } - case "platformVersions": if err := awsRestjson1_deserializeDocumentStringList(&sv.PlatformVersions, value); err != nil { return err } - default: _, _ = key, value @@ -11398,7 +11205,6 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.ActivationCode = ptr.String(jtv) } - case "activationExpiry": if value != nil { switch jtv := value.(type) { @@ -11414,7 +11220,6 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } } - case "activationId": if value != nil { jtv, ok := value.(string) @@ -11423,7 +11228,6 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.ActivationId = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -11432,7 +11236,6 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.Provider = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11441,7 +11244,6 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11481,7 +11283,6 @@ func awsRestjson1_deserializeDocumentControlPlanePlacementResponse(v **types.Con } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -11517,7 +11318,6 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta if err := awsRestjson1_deserializeDocumentClientStats(&sv.ClientStats, value); err != nil { return err } - case "replacedWith": if value != nil { jtv, ok := value.(string) @@ -11526,7 +11326,6 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.ReplacedWith = ptr.String(jtv) } - case "startServingReplacementVersion": if value != nil { jtv, ok := value.(string) @@ -11535,7 +11334,6 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.StartServingReplacementVersion = ptr.String(jtv) } - case "stopServingVersion": if value != nil { jtv, ok := value.(string) @@ -11544,7 +11342,6 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.StopServingVersion = ptr.String(jtv) } - case "usage": if value != nil { jtv, ok := value.(string) @@ -11553,7 +11350,6 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.Usage = ptr.String(jtv) } - default: _, _ = key, value @@ -11627,7 +11423,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Arn = ptr.String(jtv) } - case "autoRenew": if value != nil { jtv, ok := value.(bool) @@ -11636,7 +11431,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.AutoRenew = jtv } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11652,7 +11446,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } - case "effectiveDate": if value != nil { switch jtv := value.(type) { @@ -11668,7 +11461,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -11684,7 +11476,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } - case "id": if value != nil { jtv, ok := value.(string) @@ -11693,12 +11484,10 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Id = ptr.String(jtv) } - case "licenseArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.LicenseArns, value); err != nil { return err } - case "licenseQuantity": if value != nil { jtv, ok := value.(json.Number) @@ -11711,7 +11500,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.LicenseQuantity = int32(i64) } - case "licenseType": if value != nil { jtv, ok := value.(string) @@ -11720,7 +11508,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.LicenseType = types.EksAnywhereSubscriptionLicenseType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11729,17 +11516,14 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Status = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "term": if err := awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(&sv.Term, value); err != nil { return err } - default: _, _ = key, value @@ -11817,7 +11601,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(v **types.EksAn } sv.Duration = int32(i64) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -11826,7 +11609,6 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(v **types.EksAn } sv.Unit = types.EksAnywhereSubscriptionTermUnit(jtv) } - default: _, _ = key, value @@ -11862,12 +11644,10 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig if err := awsRestjson1_deserializeDocumentProvider(&sv.Provider, value); err != nil { return err } - case "resources": if err := awsRestjson1_deserializeDocumentStringList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -11941,7 +11721,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11950,12 +11729,10 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value @@ -12029,7 +11806,6 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.ClusterName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12045,7 +11821,6 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } } - case "fargateProfileArn": if value != nil { jtv, ok := value.(string) @@ -12054,7 +11829,6 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.FargateProfileArn = ptr.String(jtv) } - case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -12063,12 +11837,10 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.FargateProfileName = ptr.String(jtv) } - case "health": if err := awsRestjson1_deserializeDocumentFargateProfileHealth(&sv.Health, value); err != nil { return err } - case "podExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -12077,12 +11849,10 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.PodExecutionRoleArn = ptr.String(jtv) } - case "selectors": if err := awsRestjson1_deserializeDocumentFargateProfileSelectors(&sv.Selectors, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12091,17 +11861,14 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.Status = types.FargateProfileStatus(jtv) } - case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12137,7 +11904,6 @@ func awsRestjson1_deserializeDocumentFargateProfileHealth(v **types.FargateProfi if err := awsRestjson1_deserializeDocumentFargateProfileIssueList(&sv.Issues, value); err != nil { return err } - default: _, _ = key, value @@ -12177,7 +11943,6 @@ func awsRestjson1_deserializeDocumentFargateProfileIssue(v **types.FargateProfil } sv.Code = types.FargateProfileIssueCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -12186,12 +11951,10 @@ func awsRestjson1_deserializeDocumentFargateProfileIssue(v **types.FargateProfil } sv.Message = ptr.String(jtv) } - case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value @@ -12297,7 +12060,6 @@ func awsRestjson1_deserializeDocumentFargateProfileSelector(v **types.FargatePro if err := awsRestjson1_deserializeDocumentFargateProfileLabel(&sv.Labels, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -12306,7 +12068,6 @@ func awsRestjson1_deserializeDocumentFargateProfileSelector(v **types.FargatePro } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -12376,7 +12137,6 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac if err := awsRestjson1_deserializeDocumentOIDC(&sv.Oidc, value); err != nil { return err } - default: _, _ = key, value @@ -12416,7 +12176,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfig(v **types.IdentityPr } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12425,7 +12184,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfig(v **types.IdentityPr } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -12461,7 +12219,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfigResponse(v **types.Id if err := awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(&sv.Oidc, value); err != nil { return err } - default: _, _ = key, value @@ -12531,7 +12288,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } - case "category": if value != nil { jtv, ok := value.(string) @@ -12540,12 +12296,10 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Category = types.Category(jtv) } - case "categorySpecificSummary": if err := awsRestjson1_deserializeDocumentInsightCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -12554,7 +12308,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12563,12 +12316,10 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Id = ptr.String(jtv) } - case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } - case "kubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -12577,7 +12328,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.KubernetesVersion = ptr.String(jtv) } - case "lastRefreshTime": if value != nil { switch jtv := value.(type) { @@ -12593,7 +12343,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "lastTransitionTime": if value != nil { switch jtv := value.(type) { @@ -12609,7 +12358,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12618,7 +12366,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Name = ptr.String(jtv) } - case "recommendation": if value != nil { jtv, ok := value.(string) @@ -12627,12 +12374,10 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Recommendation = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentInsightResourceDetails(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -12668,7 +12413,6 @@ func awsRestjson1_deserializeDocumentInsightCategorySpecificSummary(v **types.In if err := awsRestjson1_deserializeDocumentDeprecationDetails(&sv.DeprecationDetails, value); err != nil { return err } - default: _, _ = key, value @@ -12708,12 +12452,10 @@ func awsRestjson1_deserializeDocumentInsightResourceDetail(v **types.InsightReso } sv.Arn = ptr.String(jtv) } - case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } - case "kubernetesResourceUri": if value != nil { jtv, ok := value.(string) @@ -12722,7 +12464,6 @@ func awsRestjson1_deserializeDocumentInsightResourceDetail(v **types.InsightReso } sv.KubernetesResourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -12796,7 +12537,6 @@ func awsRestjson1_deserializeDocumentInsightStatus(v **types.InsightStatus, valu } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12805,7 +12545,6 @@ func awsRestjson1_deserializeDocumentInsightStatus(v **types.InsightStatus, valu } sv.Status = types.InsightStatusValue(jtv) } - default: _, _ = key, value @@ -12879,7 +12618,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Category = types.Category(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12888,7 +12626,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12897,12 +12634,10 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Id = ptr.String(jtv) } - case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } - case "kubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -12911,7 +12646,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.KubernetesVersion = ptr.String(jtv) } - case "lastRefreshTime": if value != nil { switch jtv := value.(type) { @@ -12927,7 +12661,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } - case "lastTransitionTime": if value != nil { switch jtv := value.(type) { @@ -12943,7 +12676,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12952,7 +12684,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12982,13 +12713,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -12998,7 +12723,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13007,7 +12731,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ClusterName = ptr.String(jtv) } - case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -13016,8 +12739,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FargateProfileName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13025,7 +12747,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -13034,7 +12755,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -13043,15 +12763,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13076,13 +12792,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -13092,7 +12802,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13101,8 +12810,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13110,7 +12818,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -13119,7 +12826,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -13128,15 +12834,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13171,7 +12873,6 @@ func awsRestjson1_deserializeDocumentIssue(v **types.Issue, value interface{}) e } sv.Code = types.NodegroupIssueCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13180,12 +12881,10 @@ func awsRestjson1_deserializeDocumentIssue(v **types.Issue, value interface{}) e } sv.Message = ptr.String(jtv) } - case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } - default: _, _ = key, value @@ -13259,7 +12958,6 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.IpFamily = types.IpFamily(jtv) } - case "serviceIpv4Cidr": if value != nil { jtv, ok := value.(string) @@ -13268,7 +12966,6 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.ServiceIpv4Cidr = ptr.String(jtv) } - case "serviceIpv6Cidr": if value != nil { jtv, ok := value.(string) @@ -13277,7 +12974,6 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.ServiceIpv6Cidr = ptr.String(jtv) } - default: _, _ = key, value @@ -13353,7 +13049,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13362,7 +13057,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13371,7 +13065,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13407,7 +13100,6 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentLogSetups(&sv.ClusterLogging, value); err != nil { return err } - default: _, _ = key, value @@ -13447,12 +13139,10 @@ func awsRestjson1_deserializeDocumentLogSetup(v **types.LogSetup, value interfac } sv.Enabled = ptr.Bool(jtv) } - case "types": if err := awsRestjson1_deserializeDocumentLogTypes(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -13562,7 +13252,6 @@ func awsRestjson1_deserializeDocumentMarketplaceInformation(v **types.Marketplac } sv.ProductId = ptr.String(jtv) } - case "productUrl": if value != nil { jtv, ok := value.(string) @@ -13571,7 +13260,6 @@ func awsRestjson1_deserializeDocumentMarketplaceInformation(v **types.Marketplac } sv.ProductUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13611,7 +13299,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.AmiType = types.AMITypes(jtv) } - case "capacityType": if value != nil { jtv, ok := value.(string) @@ -13620,7 +13307,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.CapacityType = types.CapacityTypes(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13629,7 +13315,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.ClusterName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13645,7 +13330,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } } - case "diskSize": if value != nil { jtv, ok := value.(json.Number) @@ -13658,27 +13342,22 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.DiskSize = ptr.Int32(int32(i64)) } - case "health": if err := awsRestjson1_deserializeDocumentNodegroupHealth(&sv.Health, value); err != nil { return err } - case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } - case "labels": if err := awsRestjson1_deserializeDocumentLabelsMap(&sv.Labels, value); err != nil { return err } - case "launchTemplate": if err := awsRestjson1_deserializeDocumentLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -13694,7 +13373,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } } - case "nodegroupArn": if value != nil { jtv, ok := value.(string) @@ -13703,7 +13381,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodegroupArn = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -13712,7 +13389,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodegroupName = ptr.String(jtv) } - case "nodeRole": if value != nil { jtv, ok := value.(string) @@ -13721,7 +13397,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodeRole = ptr.String(jtv) } - case "releaseVersion": if value != nil { jtv, ok := value.(string) @@ -13730,22 +13405,18 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.ReleaseVersion = ptr.String(jtv) } - case "remoteAccess": if err := awsRestjson1_deserializeDocumentRemoteAccessConfig(&sv.RemoteAccess, value); err != nil { return err } - case "resources": if err := awsRestjson1_deserializeDocumentNodegroupResources(&sv.Resources, value); err != nil { return err } - case "scalingConfig": if err := awsRestjson1_deserializeDocumentNodegroupScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -13754,27 +13425,22 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.Status = types.NodegroupStatus(jtv) } - case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "taints": if err := awsRestjson1_deserializeDocumentTaintsList(&sv.Taints, value); err != nil { return err } - case "updateConfig": if err := awsRestjson1_deserializeDocumentNodegroupUpdateConfig(&sv.UpdateConfig, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -13783,7 +13449,6 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13819,7 +13484,6 @@ func awsRestjson1_deserializeDocumentNodegroupHealth(v **types.NodegroupHealth, if err := awsRestjson1_deserializeDocumentIssueList(&sv.Issues, value); err != nil { return err } - default: _, _ = key, value @@ -13855,7 +13519,6 @@ func awsRestjson1_deserializeDocumentNodegroupResources(v **types.NodegroupResou if err := awsRestjson1_deserializeDocumentAutoScalingGroupList(&sv.AutoScalingGroups, value); err != nil { return err } - case "remoteAccessSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -13864,7 +13527,6 @@ func awsRestjson1_deserializeDocumentNodegroupResources(v **types.NodegroupResou } sv.RemoteAccessSecurityGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -13908,7 +13570,6 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.DesiredSize = ptr.Int32(int32(i64)) } - case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -13921,7 +13582,6 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.MaxSize = ptr.Int32(int32(i64)) } - case "minSize": if value != nil { jtv, ok := value.(json.Number) @@ -13934,7 +13594,6 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.MinSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13978,7 +13637,6 @@ func awsRestjson1_deserializeDocumentNodegroupUpdateConfig(v **types.NodegroupUp } sv.MaxUnavailable = ptr.Int32(int32(i64)) } - case "maxUnavailablePercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13991,7 +13649,6 @@ func awsRestjson1_deserializeDocumentNodegroupUpdateConfig(v **types.NodegroupUp } sv.MaxUnavailablePercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14021,15 +13678,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14037,15 +13688,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14080,7 +13727,6 @@ func awsRestjson1_deserializeDocumentOIDC(v **types.OIDC, value interface{}) err } sv.Issuer = ptr.String(jtv) } - default: _, _ = key, value @@ -14120,7 +13766,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.ClientId = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14129,7 +13774,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.ClusterName = ptr.String(jtv) } - case "groupsClaim": if value != nil { jtv, ok := value.(string) @@ -14138,7 +13782,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.GroupsClaim = ptr.String(jtv) } - case "groupsPrefix": if value != nil { jtv, ok := value.(string) @@ -14147,7 +13790,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.GroupsPrefix = ptr.String(jtv) } - case "identityProviderConfigArn": if value != nil { jtv, ok := value.(string) @@ -14156,7 +13798,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IdentityProviderConfigArn = ptr.String(jtv) } - case "identityProviderConfigName": if value != nil { jtv, ok := value.(string) @@ -14165,7 +13806,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IdentityProviderConfigName = ptr.String(jtv) } - case "issuerUrl": if value != nil { jtv, ok := value.(string) @@ -14174,12 +13814,10 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IssuerUrl = ptr.String(jtv) } - case "requiredClaims": if err := awsRestjson1_deserializeDocumentRequiredClaimsMap(&sv.RequiredClaims, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14188,12 +13826,10 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.Status = types.ConfigStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "usernameClaim": if value != nil { jtv, ok := value.(string) @@ -14202,7 +13838,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.UsernameClaim = ptr.String(jtv) } - case "usernamePrefix": if value != nil { jtv, ok := value.(string) @@ -14211,7 +13846,6 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.UsernamePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -14251,17 +13885,14 @@ func awsRestjson1_deserializeDocumentOutpostConfigResponse(v **types.OutpostConf } sv.ControlPlaneInstanceType = ptr.String(jtv) } - case "controlPlanePlacement": if err := awsRestjson1_deserializeDocumentControlPlanePlacementResponse(&sv.ControlPlanePlacement, value); err != nil { return err } - case "outpostArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.OutpostArns, value); err != nil { return err } - default: _, _ = key, value @@ -14301,7 +13932,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationArn = ptr.String(jtv) } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -14310,7 +13940,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationId = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14319,7 +13948,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.ClusterName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14335,7 +13963,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -14351,7 +13978,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -14360,7 +13986,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.Namespace = ptr.String(jtv) } - case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -14369,7 +13994,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.OwnerArn = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14378,7 +14002,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.RoleArn = ptr.String(jtv) } - case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -14387,12 +14010,10 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.ServiceAccount = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14466,7 +14087,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.AssociationArn = ptr.String(jtv) } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -14475,7 +14095,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.AssociationId = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14484,7 +14103,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.ClusterName = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -14493,7 +14111,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.Namespace = ptr.String(jtv) } - case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -14502,7 +14119,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.OwnerArn = ptr.String(jtv) } - case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -14511,7 +14127,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.ServiceAccount = ptr.String(jtv) } - default: _, _ = key, value @@ -14551,7 +14166,6 @@ func awsRestjson1_deserializeDocumentProvider(v **types.Provider, value interfac } sv.KeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14591,12 +14205,10 @@ func awsRestjson1_deserializeDocumentRemoteAccessConfig(v **types.RemoteAccessCo } sv.Ec2SshKey = ptr.String(jtv) } - case "sourceSecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SourceSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -14662,13 +14274,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -14678,7 +14284,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14687,8 +14292,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14696,7 +14300,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14705,15 +14308,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.NodegroupName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14738,13 +14337,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "clusterName": if value != nil { @@ -14754,8 +14347,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14763,7 +14355,6 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14772,7 +14363,6 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -14781,15 +14371,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14814,13 +14400,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -14830,7 +14410,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14839,7 +14418,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ClusterName = ptr.String(jtv) } - case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -14848,8 +14426,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.FargateProfileName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14857,7 +14434,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14866,7 +14442,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -14875,15 +14450,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14908,15 +14479,9 @@ func awsRestjson1_deserializeDocumentResourcePropagationDelayException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14924,15 +14489,11 @@ func awsRestjson1_deserializeDocumentResourcePropagationDelayException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14957,13 +14518,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "addonName": if value != nil { @@ -14973,7 +14528,6 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.AddonName = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14982,8 +14536,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14991,7 +14544,6 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -15000,7 +14552,6 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.NodegroupName = ptr.String(jtv) } - case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -15009,15 +14560,11 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15042,15 +14589,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15058,15 +14599,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15173,7 +14710,6 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Effect = types.TaintEffect(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -15182,7 +14718,6 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15191,7 +14726,6 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15255,13 +14789,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "clusterName": if value != nil { @@ -15271,8 +14799,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.ClusterName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15280,7 +14807,6 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.Message = ptr.String(jtv) } - case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -15289,20 +14815,15 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.NodegroupName = ptr.String(jtv) } - case "validZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.ValidZones, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15344,12 +14865,10 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } } - case "errors": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Errors, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -15358,12 +14877,10 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Id = ptr.String(jtv) } - case "params": if err := awsRestjson1_deserializeDocumentUpdateParams(&sv.Params, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15372,7 +14889,6 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Status = types.UpdateStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15381,7 +14897,6 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Type = types.UpdateType(jtv) } - default: _, _ = key, value @@ -15421,7 +14936,6 @@ func awsRestjson1_deserializeDocumentUpdateParam(v **types.UpdateParam, value in } sv.Type = types.UpdateParamType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15430,7 +14944,6 @@ func awsRestjson1_deserializeDocumentUpdateParam(v **types.UpdateParam, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15504,7 +15017,6 @@ func awsRestjson1_deserializeDocumentUpgradePolicyResponse(v **types.UpgradePoli } sv.SupportType = types.SupportType(jtv) } - default: _, _ = key, value @@ -15544,7 +15056,6 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.ClusterSecurityGroupId = ptr.String(jtv) } - case "endpointPrivateAccess": if value != nil { jtv, ok := value.(bool) @@ -15553,7 +15064,6 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.EndpointPrivateAccess = jtv } - case "endpointPublicAccess": if value != nil { jtv, ok := value.(bool) @@ -15562,22 +15072,18 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.EndpointPublicAccess = jtv } - case "publicAccessCidrs": if err := awsRestjson1_deserializeDocumentStringList(&sv.PublicAccessCidrs, value); err != nil { return err } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15586,7 +15092,6 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -15626,7 +15131,6 @@ func awsRestjson1_deserializeDocumentZonalShiftConfigResponse(v **types.ZonalShi } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value diff --git a/service/eksauth/deserializers.go b/service/eksauth/deserializers.go index 04a5c815d72..4028ac6e62e 100644 --- a/service/eksauth/deserializers.go +++ b/service/eksauth/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentAssumeRoleForPodIdentityOutput(v **Assume if err := awsRestjson1_deserializeDocumentAssumedRoleUser(&sv.AssumedRoleUser, value); err != nil { return err } - case "audience": if value != nil { jtv, ok := value.(string) @@ -204,22 +203,18 @@ func awsRestjson1_deserializeOpDocumentAssumeRoleForPodIdentityOutput(v **Assume } sv.Audience = ptr.String(jtv) } - case "credentials": if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "podIdentityAssociation": if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.PodIdentityAssociation, value); err != nil { return err } - case "subject": if err := awsRestjson1_deserializeDocumentSubject(&sv.Subject, value); err != nil { return err } - default: _, _ = key, value @@ -573,15 +568,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -589,15 +578,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -632,7 +617,6 @@ func awsRestjson1_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, } sv.Arn = ptr.String(jtv) } - case "assumeRoleId": if value != nil { jtv, ok := value.(string) @@ -641,7 +625,6 @@ func awsRestjson1_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, } sv.AssumeRoleId = ptr.String(jtv) } - default: _, _ = key, value @@ -681,7 +664,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } - case "expiration": if value != nil { switch jtv := value.(type) { @@ -697,7 +679,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -706,7 +687,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -715,7 +695,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -745,15 +724,9 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -761,15 +734,11 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -794,15 +763,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -810,15 +773,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -843,15 +802,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -859,15 +812,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -892,15 +841,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -908,15 +851,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -941,15 +880,9 @@ func awsRestjson1_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -957,15 +890,11 @@ func awsRestjson1_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1000,7 +929,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationArn = ptr.String(jtv) } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -1009,7 +937,6 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -1039,15 +966,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1055,15 +976,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1088,15 +1005,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1104,15 +1015,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1147,7 +1054,6 @@ func awsRestjson1_deserializeDocumentSubject(v **types.Subject, value interface{ } sv.Namespace = ptr.String(jtv) } - case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -1156,7 +1062,6 @@ func awsRestjson1_deserializeDocumentSubject(v **types.Subject, value interface{ } sv.ServiceAccount = ptr.String(jtv) } - default: _, _ = key, value @@ -1186,15 +1091,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1202,15 +1101,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/elasticinference/deserializers.go b/service/elasticinference/deserializers.go index c2cadf79622..466024a4586 100644 --- a/service/elasticinference/deserializers.go +++ b/service/elasticinference/deserializers.go @@ -177,7 +177,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorOfferingsOutput(v **De if err := awsRestjson1_deserializeDocumentAcceleratorTypeOfferingList(&sv.AcceleratorTypeOfferings, value); err != nil { return err } - default: _, _ = key, value @@ -335,7 +334,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorsOutput(v **DescribeAc if err := awsRestjson1_deserializeDocumentElasticInferenceAcceleratorSet(&sv.AcceleratorSet, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -344,7 +342,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorsOutput(v **DescribeAc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -496,7 +493,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorTypesOutput(v **Descri if err := awsRestjson1_deserializeDocumentAcceleratorTypeList(&sv.AcceleratorTypes, value); err != nil { return err } - default: _, _ = key, value @@ -654,7 +650,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -990,17 +985,14 @@ func awsRestjson1_deserializeDocumentAcceleratorType(v **types.AcceleratorType, } sv.AcceleratorTypeName = ptr.String(jtv) } - case "memoryInfo": if err := awsRestjson1_deserializeDocumentMemoryInfo(&sv.MemoryInfo, value); err != nil { return err } - case "throughputInfo": if err := awsRestjson1_deserializeDocumentThroughputInfoList(&sv.ThroughputInfo, value); err != nil { return err } - default: _, _ = key, value @@ -1074,7 +1066,6 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.AcceleratorType = ptr.String(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -1083,7 +1074,6 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.Location = ptr.String(jtv) } - case "locationType": if value != nil { jtv, ok := value.(string) @@ -1092,7 +1082,6 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.LocationType = types.LocationType(jtv) } - default: _, _ = key, value @@ -1156,15 +1145,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1172,15 +1155,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1211,7 +1190,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast if err := awsRestjson1_deserializeDocumentElasticInferenceAcceleratorHealth(&sv.AcceleratorHealth, value); err != nil { return err } - case "acceleratorId": if value != nil { jtv, ok := value.(string) @@ -1220,7 +1198,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AcceleratorId = ptr.String(jtv) } - case "acceleratorType": if value != nil { jtv, ok := value.(string) @@ -1229,7 +1206,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AcceleratorType = ptr.String(jtv) } - case "attachedResource": if value != nil { jtv, ok := value.(string) @@ -1238,7 +1214,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AttachedResource = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -1247,7 +1222,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AvailabilityZone = ptr.String(jtv) } - default: _, _ = key, value @@ -1287,7 +1261,6 @@ func awsRestjson1_deserializeDocumentElasticInferenceAcceleratorHealth(v **types } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1351,15 +1324,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1367,15 +1334,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1410,7 +1373,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -1423,7 +1385,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = int32(i64) } - default: _, _ = key, value @@ -1467,7 +1428,6 @@ func awsRestjson1_deserializeDocumentMemoryInfo(v **types.MemoryInfo, value inte } sv.SizeInMiB = int32(i64) } - default: _, _ = key, value @@ -1497,15 +1457,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1513,15 +1467,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/elasticsearchservice/deserializers.go b/service/elasticsearchservice/deserializers.go index aeb2774762e..19019acc3d8 100644 --- a/service/elasticsearchservice/deserializers.go +++ b/service/elasticsearchservice/deserializers.go @@ -179,7 +179,6 @@ func awsRestjson1_deserializeOpDocumentAcceptInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } - default: _, _ = key, value @@ -449,7 +448,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePackageOutput(v **AssociatePacka if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -616,7 +614,6 @@ func awsRestjson1_deserializeOpDocumentAuthorizeVpcEndpointAccessOutput(v **Auth if err := awsRestjson1_deserializeDocumentAuthorizedPrincipal(&sv.AuthorizedPrincipal, value); err != nil { return err } - default: _, _ = key, value @@ -780,12 +777,10 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel if err := awsRestjson1_deserializeDocumentGUIDList(&sv.CancelledChangeIds, value); err != nil { return err } - case "CancelledChangeProperties": if err := awsRestjson1_deserializeDocumentCancelledChangePropertyList(&sv.CancelledChangeProperties, value); err != nil { return err } - case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -794,7 +789,6 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel } sv.DryRun = ptr.Bool(jtv) } - default: _, _ = key, value @@ -955,7 +949,6 @@ func awsRestjson1_deserializeOpDocumentCancelElasticsearchServiceSoftwareUpdateO if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - default: _, _ = key, value @@ -1125,7 +1118,6 @@ func awsRestjson1_deserializeOpDocumentCreateElasticsearchDomainOutput(v **Creat if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -1290,12 +1282,10 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundCrossClusterSearchConnectio } sv.ConnectionAlias = ptr.String(jtv) } - case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -1304,17 +1294,14 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundCrossClusterSearchConnectio } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } - case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } - case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -1484,7 +1471,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -1651,7 +1637,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -1812,7 +1797,6 @@ func awsRestjson1_deserializeOpDocumentDeleteElasticsearchDomainOutput(v **Delet if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -2067,7 +2051,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } - default: _, _ = key, value @@ -2222,7 +2205,6 @@ func awsRestjson1_deserializeOpDocumentDeleteOutboundCrossClusterSearchConnectio if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } - default: _, _ = key, value @@ -2389,7 +2371,6 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -2550,7 +2531,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpointSummary(&sv.VpcEndpointSummary, value); err != nil { return err } - default: _, _ = key, value @@ -2711,7 +2691,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ if err := awsRestjson1_deserializeDocumentAutoTuneList(&sv.AutoTunes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2720,7 +2699,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2881,7 +2859,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainChangeProgressOutput(v **De if err := awsRestjson1_deserializeDocumentChangeProgressStatusDetails(&sv.ChangeProgressStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3042,7 +3019,6 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainOutput(v **Des if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3203,7 +3179,6 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainConfigOutput(v if err := awsRestjson1_deserializeDocumentElasticsearchDomainConfig(&sv.DomainConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3361,7 +3336,6 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainsOutput(v **De if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatusList(&sv.DomainStatusList, value); err != nil { return err } - default: _, _ = key, value @@ -3528,7 +3502,6 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchInstanceTypeLimitsOu if err := awsRestjson1_deserializeDocumentLimitsByRole(&sv.LimitsByRole, value); err != nil { return err } - default: _, _ = key, value @@ -3683,7 +3656,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundCrossClusterSearchConnecti if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnections(&sv.CrossClusterSearchConnections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3692,7 +3664,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundCrossClusterSearchConnecti } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3847,7 +3818,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundCrossClusterSearchConnect if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnections(&sv.CrossClusterSearchConnections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3856,7 +3826,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundCrossClusterSearchConnect } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4024,12 +3993,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagesOutput(v **DescribePackag } sv.NextToken = ptr.String(jtv) } - case "PackageDetailsList": if err := awsRestjson1_deserializeDocumentPackageDetailsList(&sv.PackageDetailsList, value); err != nil { return err } - default: _, _ = key, value @@ -4194,12 +4161,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedElasticsearchInstanceOffe } sv.NextToken = ptr.String(jtv) } - case "ReservedElasticsearchInstanceOfferings": if err := awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOfferingList(&sv.ReservedElasticsearchInstanceOfferings, value); err != nil { return err } - default: _, _ = key, value @@ -4364,12 +4329,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedElasticsearchInstancesOut } sv.NextToken = ptr.String(jtv) } - case "ReservedElasticsearchInstances": if err := awsRestjson1_deserializeDocumentReservedElasticsearchInstanceList(&sv.ReservedElasticsearchInstances, value); err != nil { return err } - default: _, _ = key, value @@ -4530,12 +4493,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcEndpointsOutput(v **DescribeVp if err := awsRestjson1_deserializeDocumentVpcEndpointErrorList(&sv.VpcEndpointErrors, value); err != nil { return err } - case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpoints(&sv.VpcEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -4702,7 +4663,6 @@ func awsRestjson1_deserializeOpDocumentDissociatePackageOutput(v **DissociatePac if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -4866,7 +4826,6 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleElasticsearchVersionsOutput( if err := awsRestjson1_deserializeDocumentCompatibleElasticsearchVersionsList(&sv.CompatibleElasticsearchVersions, value); err != nil { return err } - default: _, _ = key, value @@ -5034,7 +4993,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.NextToken = ptr.String(jtv) } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -5043,12 +5001,10 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.PackageID = ptr.String(jtv) } - case "PackageVersionHistoryList": if err := awsRestjson1_deserializeDocumentPackageVersionHistoryList(&sv.PackageVersionHistoryList, value); err != nil { return err } - default: _, _ = key, value @@ -5216,12 +5172,10 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeHistoryOutput(v **GetUpgradeHis } sv.NextToken = ptr.String(jtv) } - case "UpgradeHistories": if err := awsRestjson1_deserializeDocumentUpgradeHistoryList(&sv.UpgradeHistories, value); err != nil { return err } - default: _, _ = key, value @@ -5389,7 +5343,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.StepStatus = types.UpgradeStatus(jtv) } - case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -5398,7 +5351,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeName = ptr.String(jtv) } - case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5359,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeStep = types.UpgradeStep(jtv) } - default: _, _ = key, value @@ -5562,7 +5513,6 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainInfoList(&sv.DomainNames, value); err != nil { return err } - default: _, _ = key, value @@ -5726,7 +5676,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5735,7 +5684,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5896,7 +5844,6 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchInstanceTypesOutput(v ** if err := awsRestjson1_deserializeDocumentElasticsearchInstanceTypeList(&sv.ElasticsearchInstanceTypes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5905,7 +5852,6 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchInstanceTypesOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6066,7 +6012,6 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchVersionsOutput(v **ListE if err := awsRestjson1_deserializeDocumentElasticsearchVersionList(&sv.ElasticsearchVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6075,7 +6020,6 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchVersionsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6239,7 +6183,6 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6248,7 +6191,6 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6409,7 +6351,6 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -6570,7 +6511,6 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalList(&sv.AuthorizedPrincipalList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6519,6 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6741,12 +6680,10 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } - case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -6911,12 +6848,10 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsForDomainOutput(v **ListV } sv.NextToken = ptr.String(jtv) } - case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -7087,7 +7022,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedElasticsearchInstanceOffe } sv.ReservationName = ptr.String(jtv) } - case "ReservedElasticsearchInstanceId": if value != nil { jtv, ok := value.(string) @@ -7096,7 +7030,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedElasticsearchInstanceOffe } sv.ReservedElasticsearchInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -7251,7 +7184,6 @@ func awsRestjson1_deserializeOpDocumentRejectInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } - default: _, _ = key, value @@ -7612,7 +7544,6 @@ func awsRestjson1_deserializeOpDocumentStartElasticsearchServiceSoftwareUpdateOu if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - default: _, _ = key, value @@ -7779,12 +7710,10 @@ func awsRestjson1_deserializeOpDocumentUpdateElasticsearchDomainConfigOutput(v * if err := awsRestjson1_deserializeDocumentElasticsearchDomainConfig(&sv.DomainConfig, value); err != nil { return err } - case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } - default: _, _ = key, value @@ -7951,7 +7880,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageOutput(v **UpdatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8118,7 +8046,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -8285,7 +8212,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -8294,7 +8220,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.DomainName = ptr.String(jtv) } - case "PerformCheckOnly": if value != nil { jtv, ok := value.(bool) @@ -8303,7 +8228,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.PerformCheckOnly = ptr.Bool(jtv) } - case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -8312,7 +8236,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.TargetVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8738,15 +8661,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8754,15 +8671,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8797,12 +8710,10 @@ func awsRestjson1_deserializeDocumentAccessPoliciesStatus(v **types.AccessPolici } sv.Options = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -8842,12 +8753,10 @@ func awsRestjson1_deserializeDocumentAdditionalLimit(v **types.AdditionalLimit, } sv.LimitName = ptr.String(jtv) } - case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } - default: _, _ = key, value @@ -8953,12 +8862,10 @@ func awsRestjson1_deserializeDocumentAdvancedOptionsStatus(v **types.AdvancedOpt if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -9005,7 +8912,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } } - case "AnonymousAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -9014,7 +8920,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.AnonymousAuthEnabled = ptr.Bool(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -9023,7 +8928,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.Enabled = ptr.Bool(jtv) } - case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -9032,12 +8936,10 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } - case "SAMLOptions": if err := awsRestjson1_deserializeDocumentSAMLOptionsOutput(&sv.SAMLOptions, value); err != nil { return err } - default: _, _ = key, value @@ -9073,12 +8975,10 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(v **types.Adv if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -9118,7 +9018,6 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.Principal = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9127,7 +9026,6 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -9197,7 +9095,6 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac if err := awsRestjson1_deserializeDocumentAutoTuneDetails(&sv.AutoTuneDetails, value); err != nil { return err } - case "AutoTuneType": if value != nil { jtv, ok := value.(string) @@ -9206,7 +9103,6 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac } sv.AutoTuneType = types.AutoTuneType(jtv) } - default: _, _ = key, value @@ -9242,7 +9138,6 @@ func awsRestjson1_deserializeDocumentAutoTuneDetails(v **types.AutoTuneDetails, if err := awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(&sv.ScheduledAutoTuneDetails, value); err != nil { return err } - default: _, _ = key, value @@ -9316,12 +9211,10 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } sv.CronExpressionForRecurrence = ptr.String(jtv) } - case "Duration": if err := awsRestjson1_deserializeDocumentDuration(&sv.Duration, value); err != nil { return err } - case "StartAt": if value != nil { switch jtv := value.(type) { @@ -9337,7 +9230,6 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } } - default: _, _ = key, value @@ -9411,12 +9303,10 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.DesiredState = types.AutoTuneDesiredState(jtv) } - case "MaintenanceSchedules": if err := awsRestjson1_deserializeDocumentAutoTuneMaintenanceScheduleList(&sv.MaintenanceSchedules, value); err != nil { return err } - case "RollbackOnDisable": if value != nil { jtv, ok := value.(string) @@ -9425,7 +9315,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.RollbackOnDisable = types.RollbackOnDisable(jtv) } - default: _, _ = key, value @@ -9465,7 +9354,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.ErrorMessage = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9474,7 +9362,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.State = types.AutoTuneState(jtv) } - default: _, _ = key, value @@ -9510,12 +9397,10 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(v **types.AutoTuneOpt if err := awsRestjson1_deserializeDocumentAutoTuneOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentAutoTuneStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -9562,7 +9447,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9571,7 +9455,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.ErrorMessage = ptr.String(jtv) } - case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -9580,7 +9463,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.PendingDeletion = ptr.Bool(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9589,7 +9471,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.State = types.AutoTuneState(jtv) } - case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -9605,7 +9486,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } - case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9618,7 +9498,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.UpdateVersion = int32(i64) } - default: _, _ = key, value @@ -9648,15 +9527,9 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9664,15 +9537,11 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9707,7 +9576,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.ActiveValue = ptr.String(jtv) } - case "CancelledValue": if value != nil { jtv, ok := value.(string) @@ -9716,7 +9584,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.CancelledValue = ptr.String(jtv) } - case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -9725,7 +9592,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.PropertyName = ptr.String(jtv) } - default: _, _ = key, value @@ -9799,7 +9665,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ChangeId = ptr.String(jtv) } - case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -9808,7 +9673,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } - case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -9817,7 +9681,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9833,7 +9696,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9842,7 +9704,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.Message = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9858,7 +9719,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } - default: _, _ = key, value @@ -9898,7 +9758,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -9914,7 +9773,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9923,7 +9781,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9932,7 +9789,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10006,17 +9862,14 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ChangeId = ptr.String(jtv) } - case "ChangeProgressStages": if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } - case "CompletedProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.CompletedProperties, value); err != nil { return err } - case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -10025,7 +9878,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } - case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9886,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -10050,12 +9901,10 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } - case "PendingProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingProperties, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10071,7 +9920,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10080,7 +9928,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.Status = types.OverallChangeStatus(jtv) } - case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -10093,7 +9940,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.TotalNumberOfStages = int32(i64) } - default: _, _ = key, value @@ -10133,7 +9979,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.Enabled = ptr.Bool(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -10142,7 +9987,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.IdentityPoolId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10151,7 +9995,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.RoleArn = ptr.String(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -10160,7 +10003,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -10196,12 +10038,10 @@ func awsRestjson1_deserializeDocumentCognitoOptionsStatus(v **types.CognitoOptio if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -10241,7 +10081,6 @@ func awsRestjson1_deserializeDocumentColdStorageOptions(v **types.ColdStorageOpt } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10315,12 +10154,10 @@ func awsRestjson1_deserializeDocumentCompatibleVersionsMap(v **types.CompatibleV } sv.SourceVersion = ptr.String(jtv) } - case "TargetVersions": if err := awsRestjson1_deserializeDocumentElasticsearchVersionList(&sv.TargetVersions, value); err != nil { return err } - default: _, _ = key, value @@ -10350,15 +10187,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10366,15 +10197,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10399,15 +10226,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10415,15 +10236,11 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10458,7 +10275,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpoint = ptr.String(jtv) } - case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -10467,7 +10283,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointCertificateArn = ptr.String(jtv) } - case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -10476,7 +10291,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointEnabled = ptr.Bool(jtv) } - case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -10485,7 +10299,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.EnforceHTTPS = ptr.Bool(jtv) } - case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -10494,7 +10307,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.TLSSecurityPolicy = types.TLSSecurityPolicy(jtv) } - default: _, _ = key, value @@ -10530,12 +10342,10 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(v **types.Domai if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -10575,7 +10385,6 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.DomainName = ptr.String(jtv) } - case "EngineType": if value != nil { jtv, ok := value.(string) @@ -10584,7 +10393,6 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.EngineType = types.EngineType(jtv) } - default: _, _ = key, value @@ -10658,7 +10466,6 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.DomainName = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10667,7 +10474,6 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.OwnerId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -10676,7 +10482,6 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -10716,7 +10521,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainName = ptr.String(jtv) } - case "DomainPackageStatus": if value != nil { jtv, ok := value.(string) @@ -10725,12 +10529,10 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainPackageStatus = types.DomainPackageStatus(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -10746,7 +10548,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -10755,7 +10556,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageID = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -10764,7 +10564,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageName = ptr.String(jtv) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -10773,7 +10572,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageType = types.PackageType(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -10782,7 +10580,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageVersion = ptr.String(jtv) } - case "ReferencePath": if value != nil { jtv, ok := value.(string) @@ -10791,7 +10588,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.ReferencePath = ptr.String(jtv) } - default: _, _ = key, value @@ -10865,7 +10661,6 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.DeploymentType = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -10874,7 +10669,6 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10914,7 +10708,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.TimeUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -10927,7 +10720,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -10967,7 +10759,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.EBSEnabled = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -10980,7 +10771,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Iops = ptr.Int32(int32(i64)) } - case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -10993,7 +10783,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Throughput = ptr.Int32(int32(i64)) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -11006,7 +10795,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -11015,7 +10803,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -11051,12 +10838,10 @@ func awsRestjson1_deserializeDocumentEBSOptionsStatus(v **types.EBSOptionsStatus if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -11092,7 +10877,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti if err := awsRestjson1_deserializeDocumentColdStorageOptions(&sv.ColdStorageOptions, value); err != nil { return err } - case "DedicatedMasterCount": if value != nil { jtv, ok := value.(json.Number) @@ -11105,7 +10889,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } - case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -11114,7 +10897,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } - case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -11123,7 +10905,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterType = types.ESPartitionInstanceType(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -11136,7 +10917,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -11145,7 +10925,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.InstanceType = types.ESPartitionInstanceType(jtv) } - case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -11158,7 +10937,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmCount = ptr.Int32(int32(i64)) } - case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -11167,7 +10945,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmEnabled = ptr.Bool(jtv) } - case "WarmType": if value != nil { jtv, ok := value.(string) @@ -11176,12 +10953,10 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmType = types.ESWarmPartitionInstanceType(jtv) } - case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentZoneAwarenessConfig(&sv.ZoneAwarenessConfig, value); err != nil { return err } - case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -11190,7 +10965,6 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11226,12 +11000,10 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfigStatus(v **types. if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfig(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -11267,82 +11039,66 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainConfig(v **types.Elastic if err := awsRestjson1_deserializeDocumentAccessPoliciesStatus(&sv.AccessPolicies, value); err != nil { return err } - case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptionsStatus(&sv.AdvancedOptions, value); err != nil { return err } - case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(&sv.AdvancedSecurityOptions, value); err != nil { return err } - case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(&sv.AutoTuneOptions, value); err != nil { return err } - case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptionsStatus(&sv.CognitoOptions, value); err != nil { return err } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(&sv.DomainEndpointOptions, value); err != nil { return err } - case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptionsStatus(&sv.EBSOptions, value); err != nil { return err } - case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfigStatus(&sv.ElasticsearchClusterConfig, value); err != nil { return err } - case "ElasticsearchVersion": if err := awsRestjson1_deserializeDocumentElasticsearchVersionStatus(&sv.ElasticsearchVersion, value); err != nil { return err } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(&sv.LogPublishingOptions, value); err != nil { return err } - case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptionsStatus(&sv.SnapshotOptions, value); err != nil { return err } - case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(&sv.VPCOptions, value); err != nil { return err } - default: _, _ = key, value @@ -11382,17 +11138,14 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.AccessPolicies = ptr.String(jtv) } - case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } - case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.AdvancedSecurityOptions, value); err != nil { return err } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -11401,22 +11154,18 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.ARN = ptr.String(jtv) } - case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(&sv.AutoTuneOptions, value); err != nil { return err } - case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.CognitoOptions, value); err != nil { return err } - case "Created": if value != nil { jtv, ok := value.(bool) @@ -11425,7 +11174,6 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Created = ptr.Bool(jtv) } - case "Deleted": if value != nil { jtv, ok := value.(bool) @@ -11434,12 +11182,10 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Deleted = ptr.Bool(jtv) } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -11448,7 +11194,6 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11457,7 +11202,6 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainName = ptr.String(jtv) } - case "DomainProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -11466,17 +11210,14 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainProcessingStatus = types.DomainProcessingStatusType(jtv) } - case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.EBSOptions, value); err != nil { return err } - case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfig(&sv.ElasticsearchClusterConfig, value); err != nil { return err } - case "ElasticsearchVersion": if value != nil { jtv, ok := value.(string) @@ -11485,12 +11226,10 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.ElasticsearchVersion = ptr.String(jtv) } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -11499,27 +11238,22 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Endpoint = ptr.String(jtv) } - case "Endpoints": if err := awsRestjson1_deserializeDocumentEndpointsMap(&sv.Endpoints, value); err != nil { return err } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } - case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "Processing": if value != nil { jtv, ok := value.(bool) @@ -11528,17 +11262,14 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Processing = ptr.Bool(jtv) } - case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.SnapshotOptions, value); err != nil { return err } - case "UpgradeProcessing": if value != nil { jtv, ok := value.(bool) @@ -11547,12 +11278,10 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.UpgradeProcessing = ptr.Bool(jtv) } - case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VPCOptions, value); err != nil { return err } - default: _, _ = key, value @@ -11698,12 +11427,10 @@ func awsRestjson1_deserializeDocumentElasticsearchVersionStatus(v **types.Elasti } sv.Options = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -11743,7 +11470,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.Enabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11752,7 +11478,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -11788,12 +11513,10 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(v **types.Enc if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -11869,7 +11592,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -11878,7 +11600,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorType = ptr.String(jtv) } - default: _, _ = key, value @@ -11950,7 +11671,6 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(v **typ if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -11959,17 +11679,14 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(v **typ } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } - case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } - case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -12043,7 +11760,6 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(v } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -12052,7 +11768,6 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(v } sv.StatusCode = types.InboundCrossClusterSearchConnectionStatusCode(jtv) } - default: _, _ = key, value @@ -12096,7 +11811,6 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MaximumInstanceCount = int32(i64) } - case "MinimumInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -12109,7 +11823,6 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MinimumInstanceCount = int32(i64) } - default: _, _ = key, value @@ -12145,7 +11858,6 @@ func awsRestjson1_deserializeDocumentInstanceLimits(v **types.InstanceLimits, va if err := awsRestjson1_deserializeDocumentInstanceCountLimits(&sv.InstanceCountLimits, value); err != nil { return err } - default: _, _ = key, value @@ -12175,15 +11887,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12191,15 +11897,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12224,15 +11926,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12240,15 +11936,11 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12273,15 +11965,9 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12289,15 +11975,11 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12358,15 +12040,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12374,15 +12050,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12413,17 +12085,14 @@ func awsRestjson1_deserializeDocumentLimits(v **types.Limits, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalLimitList(&sv.AdditionalLimits, value); err != nil { return err } - case "InstanceLimits": if err := awsRestjson1_deserializeDocumentInstanceLimits(&sv.InstanceLimits, value); err != nil { return err } - case "StorageTypes": if err := awsRestjson1_deserializeDocumentStorageTypeList(&sv.StorageTypes, value); err != nil { return err } - default: _, _ = key, value @@ -12534,7 +12203,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -12543,7 +12211,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12614,12 +12281,10 @@ func awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(v **types.LogPub if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12659,7 +12324,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ActiveValue = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12668,7 +12332,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.Name = ptr.String(jtv) } - case "PendingValue": if value != nil { jtv, ok := value.(string) @@ -12677,7 +12340,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.PendingValue = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -12686,7 +12348,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ValueType = types.PropertyValueType(jtv) } - default: _, _ = key, value @@ -12760,7 +12421,6 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(v **types.NodeT } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12796,12 +12456,10 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(v **types if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12848,7 +12506,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } - case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -12857,7 +12514,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.PendingDeletion = ptr.Bool(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -12866,7 +12522,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.State = types.OptionState(jtv) } - case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -12882,7 +12537,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } - case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -12895,7 +12549,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.UpdateVersion = int32(i64) } - default: _, _ = key, value @@ -12935,12 +12588,10 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(v **ty } sv.ConnectionAlias = ptr.String(jtv) } - case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -12949,17 +12600,14 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(v **ty } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } - case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } - case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -13033,7 +12681,6 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus( } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -13042,7 +12689,6 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus( } sv.StatusCode = types.OutboundCrossClusterSearchConnectionStatusCode(jtv) } - default: _, _ = key, value @@ -13082,7 +12728,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.AvailablePackageVersion = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -13098,12 +12743,10 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13119,7 +12762,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } - case "PackageDescription": if value != nil { jtv, ok := value.(string) @@ -13128,7 +12770,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageDescription = ptr.String(jtv) } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -13137,7 +12778,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageID = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -13146,7 +12786,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageName = ptr.String(jtv) } - case "PackageStatus": if value != nil { jtv, ok := value.(string) @@ -13155,7 +12794,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageStatus = types.PackageStatus(jtv) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -13164,7 +12802,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageType = types.PackageType(jtv) } - default: _, _ = key, value @@ -13238,7 +12875,6 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.CommitMessage = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -13254,7 +12890,6 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -13263,7 +12898,6 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.PackageVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -13362,7 +12996,6 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } - case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -13371,7 +13004,6 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } - default: _, _ = key, value @@ -13445,7 +13077,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.CurrencyCode = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -13458,7 +13089,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.Duration = int32(i64) } - case "ElasticsearchInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13471,7 +13101,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ElasticsearchInstanceCount = int32(i64) } - case "ElasticsearchInstanceType": if value != nil { jtv, ok := value.(string) @@ -13480,7 +13109,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ElasticsearchInstanceType = types.ESPartitionInstanceType(jtv) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -13514,7 +13142,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -13523,12 +13150,10 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.PaymentOption = types.ReservedElasticsearchInstancePaymentOption(jtv) } - case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservationName": if value != nil { jtv, ok := value.(string) @@ -13537,7 +13162,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservationName = ptr.String(jtv) } - case "ReservedElasticsearchInstanceId": if value != nil { jtv, ok := value.(string) @@ -13546,7 +13170,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservedElasticsearchInstanceId = ptr.String(jtv) } - case "ReservedElasticsearchInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -13555,7 +13178,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservedElasticsearchInstanceOfferingId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13571,7 +13193,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13580,7 +13201,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.State = ptr.String(jtv) } - case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -13614,7 +13234,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } - default: _, _ = key, value @@ -13688,7 +13307,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.CurrencyCode = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -13701,7 +13319,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.Duration = int32(i64) } - case "ElasticsearchInstanceType": if value != nil { jtv, ok := value.(string) @@ -13710,7 +13327,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.ElasticsearchInstanceType = types.ESPartitionInstanceType(jtv) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -13744,7 +13360,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -13753,12 +13368,10 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.PaymentOption = types.ReservedElasticsearchInstancePaymentOption(jtv) } - case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservedElasticsearchInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -13767,7 +13380,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.ReservedElasticsearchInstanceOfferingId = ptr.String(jtv) } - case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -13801,7 +13413,6 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } } - default: _, _ = key, value @@ -13865,15 +13476,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13881,15 +13486,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13914,15 +13515,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13930,15 +13525,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13973,7 +13564,6 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.EntityId = ptr.String(jtv) } - case "MetadataContent": if value != nil { jtv, ok := value.(string) @@ -13982,7 +13572,6 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.MetadataContent = ptr.String(jtv) } - default: _, _ = key, value @@ -14022,12 +13611,10 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.Enabled = ptr.Bool(jtv) } - case "Idp": if err := awsRestjson1_deserializeDocumentSAMLIdp(&sv.Idp, value); err != nil { return err } - case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -14036,7 +13623,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.RolesKey = ptr.String(jtv) } - case "SessionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14049,7 +13635,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SessionTimeoutMinutes = ptr.Int32(int32(i64)) } - case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -14058,7 +13643,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SubjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -14098,7 +13682,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Action = ptr.String(jtv) } - case "ActionType": if value != nil { jtv, ok := value.(string) @@ -14107,7 +13690,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.ActionType = types.ScheduledAutoTuneActionType(jtv) } - case "Date": if value != nil { switch jtv := value.(type) { @@ -14123,7 +13705,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -14132,7 +13713,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Severity = types.ScheduledAutoTuneSeverityType(jtv) } - default: _, _ = key, value @@ -14179,7 +13759,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } } - case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -14188,7 +13767,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Cancellable = ptr.Bool(jtv) } - case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -14197,7 +13775,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.CurrentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14206,7 +13783,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Description = ptr.String(jtv) } - case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -14215,7 +13791,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.NewVersion = ptr.String(jtv) } - case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -14224,7 +13799,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.OptionalDeployment = ptr.Bool(jtv) } - case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -14233,7 +13807,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateAvailable = ptr.Bool(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -14242,7 +13815,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateStatus = types.DeploymentStatus(jtv) } - default: _, _ = key, value @@ -14286,7 +13858,6 @@ func awsRestjson1_deserializeDocumentSnapshotOptions(v **types.SnapshotOptions, } sv.AutomatedSnapshotStartHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14322,12 +13893,10 @@ func awsRestjson1_deserializeDocumentSnapshotOptionsStatus(v **types.SnapshotOpt if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -14367,12 +13936,10 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageSubTypeName = ptr.String(jtv) } - case "StorageTypeLimits": if err := awsRestjson1_deserializeDocumentStorageTypeLimitList(&sv.StorageTypeLimits, value); err != nil { return err } - case "StorageTypeName": if value != nil { jtv, ok := value.(string) @@ -14381,7 +13948,6 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -14421,12 +13987,10 @@ func awsRestjson1_deserializeDocumentStorageTypeLimit(v **types.StorageTypeLimit } sv.LimitName = ptr.String(jtv) } - case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } - default: _, _ = key, value @@ -14570,7 +14134,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14579,7 +14142,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14660,12 +14222,10 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } } - case "StepsList": if err := awsRestjson1_deserializeDocumentUpgradeStepsList(&sv.StepsList, value); err != nil { return err } - case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -14674,7 +14234,6 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeName = ptr.String(jtv) } - case "UpgradeStatus": if value != nil { jtv, ok := value.(string) @@ -14683,7 +14242,6 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeStatus = types.UpgradeStatus(jtv) } - default: _, _ = key, value @@ -14753,7 +14311,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } - case "ProgressPercent": if value != nil { switch jtv := value.(type) { @@ -14787,7 +14344,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } } - case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -14796,7 +14352,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStep = types.UpgradeStep(jtv) } - case "UpgradeStepStatus": if value != nil { jtv, ok := value.(string) @@ -14805,7 +14360,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStepStatus = types.UpgradeStatus(jtv) } - default: _, _ = key, value @@ -14869,15 +14423,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14885,15 +14433,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14924,17 +14468,14 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -14943,7 +14484,6 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -14979,12 +14519,10 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(v **types.VPCDerivedIn if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -15024,7 +14562,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.DomainArn = ptr.String(jtv) } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -15033,7 +14570,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Endpoint = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15042,7 +14578,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Status = types.VpcEndpointStatus(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -15051,7 +14586,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -15060,12 +14594,10 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointOwner = ptr.String(jtv) } - case "VpcOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VpcOptions, value); err != nil { return err } - default: _, _ = key, value @@ -15105,7 +14637,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorCode = types.VpcEndpointErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15114,7 +14645,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorMessage = ptr.String(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -15123,7 +14653,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.VpcEndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -15231,7 +14760,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.DomainArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15240,7 +14768,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -15249,7 +14776,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -15258,7 +14784,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointOwner = ptr.String(jtv) } - default: _, _ = key, value @@ -15336,7 +14861,6 @@ func awsRestjson1_deserializeDocumentZoneAwarenessConfig(v **types.ZoneAwareness } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/elastictranscoder/deserializers.go b/service/elastictranscoder/deserializers.go index 3a0ff31977f..31f16f62e55 100644 --- a/service/elastictranscoder/deserializers.go +++ b/service/elastictranscoder/deserializers.go @@ -289,7 +289,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -456,12 +455,10 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -625,7 +622,6 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } - case "Warning": if value != nil { jtv, ok := value.(string) @@ -634,7 +630,6 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput } sv.Warning = ptr.String(jtv) } - default: _, _ = key, value @@ -1001,7 +996,6 @@ func awsRestjson1_deserializeOpDocumentListJobsByPipelineOutput(v **ListJobsByPi if err := awsRestjson1_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -1010,7 +1004,6 @@ func awsRestjson1_deserializeOpDocumentListJobsByPipelineOutput(v **ListJobsByPi } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1174,7 +1167,6 @@ func awsRestjson1_deserializeOpDocumentListJobsByStatusOutput(v **ListJobsByStat if err := awsRestjson1_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -1183,7 +1175,6 @@ func awsRestjson1_deserializeOpDocumentListJobsByStatusOutput(v **ListJobsByStat } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1348,12 +1339,10 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextPageToken = ptr.String(jtv) } - case "Pipelines": if err := awsRestjson1_deserializeDocumentPipelines(&sv.Pipelines, value); err != nil { return err } - default: _, _ = key, value @@ -1518,12 +1507,10 @@ func awsRestjson1_deserializeOpDocumentListPresetsOutput(v **ListPresetsOutput, } sv.NextPageToken = ptr.String(jtv) } - case "Presets": if err := awsRestjson1_deserializeDocumentPresets(&sv.Presets, value); err != nil { return err } - default: _, _ = key, value @@ -1687,7 +1674,6 @@ func awsRestjson1_deserializeOpDocumentReadJobOutput(v **ReadJobOutput, value in if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -1851,12 +1837,10 @@ func awsRestjson1_deserializeOpDocumentReadPipelineOutput(v **ReadPipelineOutput if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -2020,7 +2004,6 @@ func awsRestjson1_deserializeOpDocumentReadPresetOutput(v **ReadPresetOutput, va if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } - default: _, _ = key, value @@ -2184,7 +2167,6 @@ func awsRestjson1_deserializeOpDocumentTestRoleOutput(v **TestRoleOutput, value if err := awsRestjson1_deserializeDocumentExceptionMessages(&sv.Messages, value); err != nil { return err } - case "Success": if value != nil { jtv, ok := value.(string) @@ -2193,7 +2175,6 @@ func awsRestjson1_deserializeOpDocumentTestRoleOutput(v **TestRoleOutput, value } sv.Success = ptr.String(jtv) } - default: _, _ = key, value @@ -2360,12 +2341,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -2532,7 +2511,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineNotificationsOutput(v **Upd if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -2699,7 +2677,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineStatusOutput(v **UpdatePipe if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -3017,15 +2994,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3033,15 +3004,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3076,12 +3043,10 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.AlbumArtFormat = ptr.String(jtv) } - case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "InputKey": if value != nil { jtv, ok := value.(string) @@ -3090,7 +3055,6 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.InputKey = ptr.String(jtv) } - case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -3099,7 +3063,6 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.MaxHeight = ptr.String(jtv) } - case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -3108,7 +3071,6 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.MaxWidth = ptr.String(jtv) } - case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -3117,7 +3079,6 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.PaddingPolicy = ptr.String(jtv) } - case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -3126,7 +3087,6 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.SizingPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -3200,7 +3160,6 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.BitDepth = ptr.String(jtv) } - case "BitOrder": if value != nil { jtv, ok := value.(string) @@ -3209,7 +3168,6 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.BitOrder = ptr.String(jtv) } - case "Profile": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3176,6 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.Profile = ptr.String(jtv) } - case "Signed": if value != nil { jtv, ok := value.(string) @@ -3227,7 +3184,6 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.Signed = ptr.String(jtv) } - default: _, _ = key, value @@ -3267,7 +3223,6 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.AudioPackingMode = ptr.String(jtv) } - case "BitRate": if value != nil { jtv, ok := value.(string) @@ -3276,7 +3231,6 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.BitRate = ptr.String(jtv) } - case "Channels": if value != nil { jtv, ok := value.(string) @@ -3285,7 +3239,6 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.Channels = ptr.String(jtv) } - case "Codec": if value != nil { jtv, ok := value.(string) @@ -3294,12 +3247,10 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.Codec = ptr.String(jtv) } - case "CodecOptions": if err := awsRestjson1_deserializeDocumentAudioCodecOptions(&sv.CodecOptions, value); err != nil { return err } - case "SampleRate": if value != nil { jtv, ok := value.(string) @@ -3308,7 +3259,6 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.SampleRate = ptr.String(jtv) } - default: _, _ = key, value @@ -3344,7 +3294,6 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -3353,7 +3302,6 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu } sv.Format = ptr.String(jtv) } - case "Pattern": if value != nil { jtv, ok := value.(string) @@ -3362,7 +3310,6 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -3432,12 +3379,10 @@ func awsRestjson1_deserializeDocumentCaptions(v **types.Captions, value interfac if err := awsRestjson1_deserializeDocumentCaptionFormats(&sv.CaptionFormats, value); err != nil { return err } - case "CaptionSources": if err := awsRestjson1_deserializeDocumentCaptionSources(&sv.CaptionSources, value); err != nil { return err } - case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -3446,7 +3391,6 @@ func awsRestjson1_deserializeDocumentCaptions(v **types.Captions, value interfac } sv.MergePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -3482,7 +3426,6 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "Key": if value != nil { jtv, ok := value.(string) @@ -3491,7 +3434,6 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Key = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3500,7 +3442,6 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Label = ptr.String(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -3509,7 +3450,6 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Language = ptr.String(jtv) } - case "TimeOffset": if value != nil { jtv, ok := value.(string) @@ -3518,7 +3458,6 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.TimeOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -3588,7 +3527,6 @@ func awsRestjson1_deserializeDocumentClip(v **types.Clip, value interface{}) err if err := awsRestjson1_deserializeDocumentTimeSpan(&sv.TimeSpan, value); err != nil { return err } - default: _, _ = key, value @@ -3702,7 +3640,6 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.DurationMillis = ptr.Int64(i64) } - case "FileSize": if value != nil { jtv, ok := value.(json.Number) @@ -3715,7 +3652,6 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.FileSize = ptr.Int64(i64) } - case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -3724,7 +3660,6 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.FrameRate = ptr.String(jtv) } - case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -3737,7 +3672,6 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.Height = ptr.Int32(int32(i64)) } - case "Width": if value != nil { jtv, ok := value.(json.Number) @@ -3750,7 +3684,6 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3790,7 +3723,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.InitializationVector = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -3799,7 +3731,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Key = ptr.String(jtv) } - case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -3808,7 +3739,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyMd5 = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -3817,7 +3747,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Mode = ptr.String(jtv) } - default: _, _ = key, value @@ -3893,7 +3822,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.InitializationVector = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -3902,7 +3830,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.Key = ptr.String(jtv) } - case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -3911,7 +3838,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.KeyMd5 = ptr.String(jtv) } - case "KeyStoragePolicy": if value != nil { jtv, ok := value.(string) @@ -3920,7 +3846,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.KeyStoragePolicy = ptr.String(jtv) } - case "LicenseAcquisitionUrl": if value != nil { jtv, ok := value.(string) @@ -3929,7 +3854,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.LicenseAcquisitionUrl = ptr.String(jtv) } - case "Method": if value != nil { jtv, ok := value.(string) @@ -3938,7 +3862,6 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.Method = ptr.String(jtv) } - default: _, _ = key, value @@ -3968,15 +3891,9 @@ func awsRestjson1_deserializeDocumentIncompatibleVersionException(v **types.Inco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3984,15 +3901,11 @@ func awsRestjson1_deserializeDocumentIncompatibleVersionException(v **types.Inco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4023,7 +3936,6 @@ func awsRestjson1_deserializeDocumentInputCaptions(v **types.InputCaptions, valu if err := awsRestjson1_deserializeDocumentCaptionSources(&sv.CaptionSources, value); err != nil { return err } - case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -4032,7 +3944,6 @@ func awsRestjson1_deserializeDocumentInputCaptions(v **types.InputCaptions, valu } sv.MergePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -4062,15 +3973,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4078,15 +3983,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4121,7 +4022,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4130,22 +4030,18 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } - case "Input": if err := awsRestjson1_deserializeDocumentJobInput(&sv.Input, value); err != nil { return err } - case "Inputs": if err := awsRestjson1_deserializeDocumentJobInputs(&sv.Inputs, value); err != nil { return err } - case "Output": if err := awsRestjson1_deserializeDocumentJobOutput(&sv.Output, value); err != nil { return err } - case "OutputKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4154,12 +4050,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.OutputKeyPrefix = ptr.String(jtv) } - case "Outputs": if err := awsRestjson1_deserializeDocumentJobOutputs(&sv.Outputs, value); err != nil { return err } - case "PipelineId": if value != nil { jtv, ok := value.(string) @@ -4168,12 +4062,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.PipelineId = ptr.String(jtv) } - case "Playlists": if err := awsRestjson1_deserializeDocumentPlaylists(&sv.Playlists, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4182,17 +4074,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = ptr.String(jtv) } - case "Timing": if err := awsRestjson1_deserializeDocumentTiming(&sv.Timing, value); err != nil { return err } - case "UserMetadata": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.UserMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -4228,7 +4117,6 @@ func awsRestjson1_deserializeDocumentJobAlbumArt(v **types.JobAlbumArt, value in if err := awsRestjson1_deserializeDocumentArtworks(&sv.Artwork, value); err != nil { return err } - case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -4237,7 +4125,6 @@ func awsRestjson1_deserializeDocumentJobAlbumArt(v **types.JobAlbumArt, value in } sv.MergePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -4277,7 +4164,6 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.AspectRatio = ptr.String(jtv) } - case "Container": if value != nil { jtv, ok := value.(string) @@ -4286,17 +4172,14 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Container = ptr.String(jtv) } - case "DetectedProperties": if err := awsRestjson1_deserializeDocumentDetectedProperties(&sv.DetectedProperties, value); err != nil { return err } - case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -4305,12 +4188,10 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.FrameRate = ptr.String(jtv) } - case "InputCaptions": if err := awsRestjson1_deserializeDocumentInputCaptions(&sv.InputCaptions, value); err != nil { return err } - case "Interlaced": if value != nil { jtv, ok := value.(string) @@ -4319,7 +4200,6 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Interlaced = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -4328,7 +4208,6 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Key = ptr.String(jtv) } - case "Resolution": if value != nil { jtv, ok := value.(string) @@ -4337,12 +4216,10 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Resolution = ptr.String(jtv) } - case "TimeSpan": if err := awsRestjson1_deserializeDocumentTimeSpan(&sv.TimeSpan, value); err != nil { return err } - default: _, _ = key, value @@ -4412,7 +4289,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf if err := awsRestjson1_deserializeDocumentJobAlbumArt(&sv.AlbumArt, value); err != nil { return err } - case "AppliedColorSpaceConversion": if value != nil { jtv, ok := value.(string) @@ -4421,17 +4297,14 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.AppliedColorSpaceConversion = ptr.String(jtv) } - case "Captions": if err := awsRestjson1_deserializeDocumentCaptions(&sv.Captions, value); err != nil { return err } - case "Composition": if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4444,7 +4317,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Duration = ptr.Int64(i64) } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -4457,12 +4329,10 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.DurationMillis = ptr.Int64(i64) } - case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "FileSize": if value != nil { jtv, ok := value.(json.Number) @@ -4475,7 +4345,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.FileSize = ptr.Int64(i64) } - case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -4484,7 +4353,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.FrameRate = ptr.String(jtv) } - case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -4497,7 +4365,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Height = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4506,7 +4373,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Id = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -4515,7 +4381,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Key = ptr.String(jtv) } - case "PresetId": if value != nil { jtv, ok := value.(string) @@ -4524,7 +4389,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.PresetId = ptr.String(jtv) } - case "Rotate": if value != nil { jtv, ok := value.(string) @@ -4533,7 +4397,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Rotate = ptr.String(jtv) } - case "SegmentDuration": if value != nil { jtv, ok := value.(string) @@ -4542,7 +4405,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.SegmentDuration = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4551,7 +4413,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Status = ptr.String(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -4560,12 +4421,10 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.StatusDetail = ptr.String(jtv) } - case "ThumbnailEncryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.ThumbnailEncryption, value); err != nil { return err } - case "ThumbnailPattern": if value != nil { jtv, ok := value.(string) @@ -4574,12 +4433,10 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.ThumbnailPattern = ptr.String(jtv) } - case "Watermarks": if err := awsRestjson1_deserializeDocumentJobWatermarks(&sv.Watermarks, value); err != nil { return err } - case "Width": if value != nil { jtv, ok := value.(json.Number) @@ -4592,7 +4449,6 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4696,7 +4552,6 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "InputKey": if value != nil { jtv, ok := value.(string) @@ -4705,7 +4560,6 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value } sv.InputKey = ptr.String(jtv) } - case "PresetWatermarkId": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4568,6 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value } sv.PresetWatermarkId = ptr.String(jtv) } - default: _, _ = key, value @@ -4778,15 +4631,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4794,15 +4641,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4837,7 +4680,6 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Completed = ptr.String(jtv) } - case "Error": if value != nil { jtv, ok := value.(string) @@ -4846,7 +4688,6 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Error = ptr.String(jtv) } - case "Progressing": if value != nil { jtv, ok := value.(string) @@ -4855,7 +4696,6 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Progressing = ptr.String(jtv) } - case "Warning": if value != nil { jtv, ok := value.(string) @@ -4864,7 +4704,6 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Warning = ptr.String(jtv) } - default: _, _ = key, value @@ -4936,7 +4775,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte if err := awsRestjson1_deserializeDocumentAccessControls(&sv.Access, value); err != nil { return err } - case "Grantee": if value != nil { jtv, ok := value.(string) @@ -4945,7 +4783,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Grantee = ptr.String(jtv) } - case "GranteeType": if value != nil { jtv, ok := value.(string) @@ -4954,7 +4791,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeType = ptr.String(jtv) } - default: _, _ = key, value @@ -5028,7 +4864,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Arn = ptr.String(jtv) } - case "AwsKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5037,12 +4872,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.AwsKmsKeyArn = ptr.String(jtv) } - case "ContentConfig": if err := awsRestjson1_deserializeDocumentPipelineOutputConfig(&sv.ContentConfig, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5051,7 +4884,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Id = ptr.String(jtv) } - case "InputBucket": if value != nil { jtv, ok := value.(string) @@ -5060,7 +4892,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.InputBucket = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5069,12 +4900,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Name = ptr.String(jtv) } - case "Notifications": if err := awsRestjson1_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } - case "OutputBucket": if value != nil { jtv, ok := value.(string) @@ -5083,7 +4912,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.OutputBucket = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -5092,7 +4920,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Role = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5101,12 +4928,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Status = ptr.String(jtv) } - case "ThumbnailConfig": if err := awsRestjson1_deserializeDocumentPipelineOutputConfig(&sv.ThumbnailConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5146,12 +4971,10 @@ func awsRestjson1_deserializeDocumentPipelineOutputConfig(v **types.PipelineOutp } sv.Bucket = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -5160,7 +4983,6 @@ func awsRestjson1_deserializeDocumentPipelineOutputConfig(v **types.PipelineOutp } sv.StorageClass = ptr.String(jtv) } - default: _, _ = key, value @@ -5234,12 +5056,10 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Format = ptr.String(jtv) } - case "HlsContentProtection": if err := awsRestjson1_deserializeDocumentHlsContentProtection(&sv.HlsContentProtection, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5248,17 +5068,14 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Name = ptr.String(jtv) } - case "OutputKeys": if err := awsRestjson1_deserializeDocumentOutputKeys(&sv.OutputKeys, value); err != nil { return err } - case "PlayReadyDrm": if err := awsRestjson1_deserializeDocumentPlayReadyDrm(&sv.PlayReadyDrm, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5267,7 +5084,6 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Status = ptr.String(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -5276,7 +5092,6 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.StatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -5350,7 +5165,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.Format = ptr.String(jtv) } - case "InitializationVector": if value != nil { jtv, ok := value.(string) @@ -5359,7 +5173,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.InitializationVector = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -5368,7 +5181,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.Key = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -5377,7 +5189,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.KeyId = ptr.String(jtv) } - case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -5386,7 +5197,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.KeyMd5 = ptr.String(jtv) } - case "LicenseAcquisitionUrl": if value != nil { jtv, ok := value.(string) @@ -5395,7 +5205,6 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.LicenseAcquisitionUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -5435,12 +5244,10 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Arn = ptr.String(jtv) } - case "Audio": if err := awsRestjson1_deserializeDocumentAudioParameters(&sv.Audio, value); err != nil { return err } - case "Container": if value != nil { jtv, ok := value.(string) @@ -5449,7 +5256,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Container = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5458,7 +5264,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5467,7 +5272,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5476,12 +5280,10 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Name = ptr.String(jtv) } - case "Thumbnails": if err := awsRestjson1_deserializeDocumentThumbnails(&sv.Thumbnails, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5490,12 +5292,10 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Type = ptr.String(jtv) } - case "Video": if err := awsRestjson1_deserializeDocumentVideoParameters(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -5569,7 +5369,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.HorizontalAlign = ptr.String(jtv) } - case "HorizontalOffset": if value != nil { jtv, ok := value.(string) @@ -5578,7 +5377,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.HorizontalOffset = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5587,7 +5385,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Id = ptr.String(jtv) } - case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -5596,7 +5393,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.MaxHeight = ptr.String(jtv) } - case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -5605,7 +5401,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.MaxWidth = ptr.String(jtv) } - case "Opacity": if value != nil { jtv, ok := value.(string) @@ -5614,7 +5409,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Opacity = ptr.String(jtv) } - case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -5623,7 +5417,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.SizingPolicy = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -5632,7 +5425,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Target = ptr.String(jtv) } - case "VerticalAlign": if value != nil { jtv, ok := value.(string) @@ -5641,7 +5433,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.VerticalAlign = ptr.String(jtv) } - case "VerticalOffset": if value != nil { jtv, ok := value.(string) @@ -5650,7 +5441,6 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.VerticalOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -5714,15 +5504,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5730,15 +5514,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5763,15 +5543,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5779,15 +5553,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5822,7 +5592,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.AspectRatio = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -5831,7 +5600,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Format = ptr.String(jtv) } - case "Interval": if value != nil { jtv, ok := value.(string) @@ -5840,7 +5608,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Interval = ptr.String(jtv) } - case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -5849,7 +5616,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.MaxHeight = ptr.String(jtv) } - case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -5858,7 +5624,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.MaxWidth = ptr.String(jtv) } - case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -5867,7 +5632,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.PaddingPolicy = ptr.String(jtv) } - case "Resolution": if value != nil { jtv, ok := value.(string) @@ -5876,7 +5640,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Resolution = ptr.String(jtv) } - case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -5885,7 +5648,6 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.SizingPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -5925,7 +5687,6 @@ func awsRestjson1_deserializeDocumentTimeSpan(v **types.TimeSpan, value interfac } sv.Duration = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5934,7 +5695,6 @@ func awsRestjson1_deserializeDocumentTimeSpan(v **types.TimeSpan, value interfac } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -5978,7 +5738,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.FinishTimeMillis = ptr.Int64(i64) } - case "StartTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -5991,7 +5750,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.StartTimeMillis = ptr.Int64(i64) } - case "SubmitTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -6004,7 +5762,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.SubmitTimeMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -6070,15 +5827,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6086,15 +5837,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6129,7 +5876,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.AspectRatio = ptr.String(jtv) } - case "BitRate": if value != nil { jtv, ok := value.(string) @@ -6138,7 +5884,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.BitRate = ptr.String(jtv) } - case "Codec": if value != nil { jtv, ok := value.(string) @@ -6147,12 +5892,10 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.Codec = ptr.String(jtv) } - case "CodecOptions": if err := awsRestjson1_deserializeDocumentCodecOptions(&sv.CodecOptions, value); err != nil { return err } - case "DisplayAspectRatio": if value != nil { jtv, ok := value.(string) @@ -6161,7 +5904,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.DisplayAspectRatio = ptr.String(jtv) } - case "FixedGOP": if value != nil { jtv, ok := value.(string) @@ -6170,7 +5912,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.FixedGOP = ptr.String(jtv) } - case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -6179,7 +5920,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.FrameRate = ptr.String(jtv) } - case "KeyframesMaxDist": if value != nil { jtv, ok := value.(string) @@ -6188,7 +5928,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.KeyframesMaxDist = ptr.String(jtv) } - case "MaxFrameRate": if value != nil { jtv, ok := value.(string) @@ -6197,7 +5936,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxFrameRate = ptr.String(jtv) } - case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -6206,7 +5944,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxHeight = ptr.String(jtv) } - case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -6215,7 +5952,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxWidth = ptr.String(jtv) } - case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -6224,7 +5960,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.PaddingPolicy = ptr.String(jtv) } - case "Resolution": if value != nil { jtv, ok := value.(string) @@ -6233,7 +5968,6 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.Resolution = ptr.String(jtv) } - case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -6242,12 +5976,10 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.SizingPolicy = ptr.String(jtv) } - case "Watermarks": if err := awsRestjson1_deserializeDocumentPresetWatermarks(&sv.Watermarks, value); err != nil { return err } - default: _, _ = key, value @@ -6287,7 +6019,6 @@ func awsRestjson1_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6296,7 +6027,6 @@ func awsRestjson1_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index 359935dc072..cf78f08c255 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -6182,12 +6182,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in if err := awsAwsjson11_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } - case "Args": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6196,7 +6194,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -6205,7 +6202,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6275,17 +6271,14 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(v **types.Auto if err := awsAwsjson11_deserializeDocumentScalingConstraints(&sv.Constraints, value); err != nil { return err } - case "Rules": if err := awsAwsjson11_deserializeDocumentScalingRuleList(&sv.Rules, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -6325,7 +6318,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(v **type } sv.Code = types.AutoScalingPolicyStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6334,7 +6326,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -6374,12 +6365,10 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStatus(v **types.AutoScali } sv.State = types.AutoScalingPolicyState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - default: _, _ = key, value @@ -6423,7 +6412,6 @@ func awsAwsjson11_deserializeDocumentAutoTerminationPolicy(v **types.AutoTermina } sv.IdleTimeout = ptr.Int64(i64) } - default: _, _ = key, value @@ -6463,7 +6451,6 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(v **types.Bl } sv.BlockPublicSecurityGroupRules = ptr.Bool(jtv) } - case "Classification": if value != nil { jtv, ok := value.(string) @@ -6472,22 +6459,18 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(v **types.Bl } sv.Classification = ptr.String(jtv) } - case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "PermittedPublicSecurityGroupRuleRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PermittedPublicSecurityGroupRuleRanges, value); err != nil { return err } - case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -6527,7 +6510,6 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(v ** } sv.CreatedByArn = ptr.String(jtv) } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -6543,7 +6525,6 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(v ** } } - default: _, _ = key, value @@ -6583,12 +6564,10 @@ func awsAwsjson11_deserializeDocumentBootstrapActionConfig(v **types.BootstrapAc } sv.Name = ptr.String(jtv) } - case "ScriptBootstrapAction": if err := awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(&sv.ScriptBootstrapAction, value); err != nil { return err } - default: _, _ = key, value @@ -6624,7 +6603,6 @@ func awsAwsjson11_deserializeDocumentBootstrapActionDetail(v **types.BootstrapAc if err := awsAwsjson11_deserializeDocumentBootstrapActionConfig(&sv.BootstrapActionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6698,7 +6676,6 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.Reason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6707,7 +6684,6 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.Status = types.CancelStepsRequestStatus(jtv) } - case "StepId": if value != nil { jtv, ok := value.(string) @@ -6716,7 +6692,6 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.StepId = ptr.String(jtv) } - default: _, _ = key, value @@ -6790,12 +6765,10 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "Dimensions": if err := awsAwsjson11_deserializeDocumentMetricDimensionList(&sv.Dimensions, value); err != nil { return err } - case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -6808,7 +6781,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -6817,7 +6789,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -6826,7 +6797,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Namespace = ptr.String(jtv) } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -6839,7 +6809,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Period = ptr.Int32(int32(i64)) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -6848,7 +6817,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Statistic = types.Statistic(jtv) } - case "Threshold": if value != nil { switch jtv := value.(type) { @@ -6882,7 +6850,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -6891,7 +6858,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Unit = types.Unit(jtv) } - default: _, _ = key, value @@ -6927,7 +6893,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ if err := awsAwsjson11_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } - case "AutoScalingRole": if value != nil { jtv, ok := value.(string) @@ -6936,7 +6901,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoScalingRole = ptr.String(jtv) } - case "AutoTerminate": if value != nil { jtv, ok := value.(bool) @@ -6945,7 +6909,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoTerminate = ptr.Bool(jtv) } - case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -6954,12 +6917,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -6968,7 +6929,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CustomAmiId = ptr.String(jtv) } - case "EbsRootVolumeIops": if value != nil { jtv, ok := value.(json.Number) @@ -6981,7 +6941,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeIops = ptr.Int32(int32(i64)) } - case "EbsRootVolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -6994,7 +6953,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeSize = ptr.Int32(int32(i64)) } - case "EbsRootVolumeThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -7007,12 +6965,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeThroughput = ptr.Int32(int32(i64)) } - case "Ec2InstanceAttributes": if err := awsAwsjson11_deserializeDocumentEc2InstanceAttributes(&sv.Ec2InstanceAttributes, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7021,7 +6977,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } - case "InstanceCollectionType": if value != nil { jtv, ok := value.(string) @@ -7030,12 +6985,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.InstanceCollectionType = types.InstanceCollectionType(jtv) } - case "KerberosAttributes": if err := awsAwsjson11_deserializeDocumentKerberosAttributes(&sv.KerberosAttributes, value); err != nil { return err } - case "LogEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7044,7 +6997,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.LogEncryptionKmsKeyId = ptr.String(jtv) } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -7053,7 +7005,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.LogUri = ptr.String(jtv) } - case "MasterPublicDnsName": if value != nil { jtv, ok := value.(string) @@ -7062,7 +7013,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.MasterPublicDnsName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7071,7 +7021,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } - case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -7084,7 +7033,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } - case "OSReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -7093,7 +7041,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.OSReleaseLabel = ptr.String(jtv) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -7102,12 +7049,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.OutpostArn = ptr.String(jtv) } - case "PlacementGroups": if err := awsAwsjson11_deserializeDocumentPlacementGroupConfigList(&sv.PlacementGroups, value); err != nil { return err } - case "ReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -7116,7 +7061,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ReleaseLabel = ptr.String(jtv) } - case "RepoUpgradeOnBoot": if value != nil { jtv, ok := value.(string) @@ -7125,7 +7069,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RepoUpgradeOnBoot = types.RepoUpgradeOnBoot(jtv) } - case "RequestedAmiVersion": if value != nil { jtv, ok := value.(string) @@ -7134,7 +7077,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RequestedAmiVersion = ptr.String(jtv) } - case "RunningAmiVersion": if value != nil { jtv, ok := value.(string) @@ -7143,7 +7085,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RunningAmiVersion = ptr.String(jtv) } - case "ScaleDownBehavior": if value != nil { jtv, ok := value.(string) @@ -7152,7 +7093,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ScaleDownBehavior = types.ScaleDownBehavior(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -7161,7 +7101,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SecurityConfiguration = ptr.String(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -7170,12 +7109,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ServiceRole = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentClusterStatus(&sv.Status, value); err != nil { return err } - case "StepConcurrencyLevel": if value != nil { jtv, ok := value.(json.Number) @@ -7188,12 +7125,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.StepConcurrencyLevel = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TerminationProtected": if value != nil { jtv, ok := value.(bool) @@ -7202,7 +7137,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TerminationProtected = ptr.Bool(jtv) } - case "UnhealthyNodeReplacement": if value != nil { jtv, ok := value.(bool) @@ -7211,7 +7145,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.UnhealthyNodeReplacement = ptr.Bool(jtv) } - case "VisibleToAllUsers": if value != nil { jtv, ok := value.(bool) @@ -7220,7 +7153,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.VisibleToAllUsers = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7260,7 +7192,6 @@ func awsAwsjson11_deserializeDocumentClusterStateChangeReason(v **types.ClusterS } sv.Code = types.ClusterStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -7269,7 +7200,6 @@ func awsAwsjson11_deserializeDocumentClusterStateChangeReason(v **types.ClusterS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -7305,7 +7235,6 @@ func awsAwsjson11_deserializeDocumentClusterStatus(v **types.ClusterStatus, valu if err := awsAwsjson11_deserializeDocumentErrorDetailList(&sv.ErrorDetails, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -7314,17 +7243,14 @@ func awsAwsjson11_deserializeDocumentClusterStatus(v **types.ClusterStatus, valu } sv.State = types.ClusterState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentClusterStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentClusterTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -7364,7 +7290,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7373,7 +7298,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7382,7 +7306,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Name = ptr.String(jtv) } - case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -7395,7 +7318,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -7404,12 +7326,10 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.OutpostArn = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentClusterStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -7490,7 +7410,6 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -7506,7 +7425,6 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -7522,7 +7440,6 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } - default: _, _ = key, value @@ -7558,7 +7475,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7567,7 +7483,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Name = ptr.String(jtv) } - case "ScriptPath": if value != nil { jtv, ok := value.(string) @@ -7576,7 +7491,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ScriptPath = ptr.String(jtv) } - default: _, _ = key, value @@ -7654,7 +7568,6 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumCapacityUnits = ptr.Int32(int32(i64)) } - case "MaximumCoreCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7667,7 +7580,6 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumCoreCapacityUnits = ptr.Int32(int32(i64)) } - case "MaximumOnDemandCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7680,7 +7592,6 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumOnDemandCapacityUnits = ptr.Int32(int32(i64)) } - case "MinimumCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7693,7 +7604,6 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MinimumCapacityUnits = ptr.Int32(int32(i64)) } - case "UnitType": if value != nil { jtv, ok := value.(string) @@ -7702,7 +7612,6 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.UnitType = types.ComputeLimitsUnitType(jtv) } - default: _, _ = key, value @@ -7742,17 +7651,14 @@ func awsAwsjson11_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } - case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -7866,12 +7772,10 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.Device = ptr.String(jtv) } - case "VolumeSpecification": if err := awsAwsjson11_deserializeDocumentVolumeSpecification(&sv.VolumeSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -7945,7 +7849,6 @@ func awsAwsjson11_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf } sv.Device = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -7954,7 +7857,6 @@ func awsAwsjson11_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -8024,12 +7926,10 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance if err := awsAwsjson11_deserializeDocumentStringList(&sv.AdditionalMasterSecurityGroups, value); err != nil { return err } - case "AdditionalSlaveSecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.AdditionalSlaveSecurityGroups, value); err != nil { return err } - case "Ec2AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -8038,7 +7938,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2AvailabilityZone = ptr.String(jtv) } - case "Ec2KeyName": if value != nil { jtv, ok := value.(string) @@ -8047,7 +7946,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2KeyName = ptr.String(jtv) } - case "Ec2SubnetId": if value != nil { jtv, ok := value.(string) @@ -8056,7 +7954,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2SubnetId = ptr.String(jtv) } - case "EmrManagedMasterSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -8065,7 +7962,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.EmrManagedMasterSecurityGroup = ptr.String(jtv) } - case "EmrManagedSlaveSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -8074,7 +7970,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.EmrManagedSlaveSecurityGroup = ptr.String(jtv) } - case "IamInstanceProfile": if value != nil { jtv, ok := value.(string) @@ -8083,17 +7978,14 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.IamInstanceProfile = ptr.String(jtv) } - case "RequestedEc2AvailabilityZones": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.RequestedEc2AvailabilityZones, value); err != nil { return err } - case "RequestedEc2SubnetIds": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.RequestedEc2SubnetIds, value); err != nil { return err } - case "ServiceAccessSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -8102,7 +7994,6 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.ServiceAccessSecurityGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -8246,12 +8137,10 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorData": if err := awsAwsjson11_deserializeDocumentErrorData(&sv.ErrorData, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8260,7 +8149,6 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8334,7 +8222,6 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.ExecutionRoleArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8343,7 +8230,6 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.Id = ptr.String(jtv) } - case "MasterInstanceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -8352,7 +8238,6 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.MasterInstanceSecurityGroupId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8361,7 +8246,6 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.Type = types.ExecutionEngineType(jtv) } - default: _, _ = key, value @@ -8401,7 +8285,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.LogFile = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -8410,7 +8293,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -8419,7 +8301,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -8455,7 +8336,6 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep if err := awsAwsjson11_deserializeDocumentXmlStringList(&sv.Args, value); err != nil { return err } - case "Jar": if value != nil { jtv, ok := value.(string) @@ -8464,7 +8344,6 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep } sv.Jar = ptr.String(jtv) } - case "MainClass": if value != nil { jtv, ok := value.(string) @@ -8473,12 +8352,10 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep } sv.MainClass = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentKeyValueList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -8514,7 +8391,6 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } - case "Jar": if value != nil { jtv, ok := value.(string) @@ -8523,7 +8399,6 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig } sv.Jar = ptr.String(jtv) } - case "MainClass": if value != nil { jtv, ok := value.(string) @@ -8532,12 +8407,10 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig } sv.MainClass = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -8573,7 +8446,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentEbsVolumeList(&sv.EbsVolumes, value); err != nil { return err } - case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -8582,7 +8454,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Ec2InstanceId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8591,7 +8462,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } - case "InstanceFleetId": if value != nil { jtv, ok := value.(string) @@ -8600,7 +8470,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceFleetId = ptr.String(jtv) } - case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -8609,7 +8478,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceGroupId = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -8618,7 +8486,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } - case "Market": if value != nil { jtv, ok := value.(string) @@ -8627,7 +8494,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Market = types.MarketType(jtv) } - case "PrivateDnsName": if value != nil { jtv, ok := value.(string) @@ -8636,7 +8502,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateDnsName = ptr.String(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -8645,7 +8510,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } - case "PublicDnsName": if value != nil { jtv, ok := value.(string) @@ -8654,7 +8518,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicDnsName = ptr.String(jtv) } - case "PublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -8663,12 +8526,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentInstanceStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -8708,7 +8569,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Context = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8717,7 +8577,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Id = ptr.String(jtv) } - case "InstanceFleetType": if value != nil { jtv, ok := value.(string) @@ -8726,17 +8585,14 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.InstanceFleetType = types.InstanceFleetType(jtv) } - case "InstanceTypeSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceTypeSpecificationList(&sv.InstanceTypeSpecifications, value); err != nil { return err } - case "LaunchSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceFleetProvisioningSpecifications(&sv.LaunchSpecifications, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8745,7 +8601,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Name = ptr.String(jtv) } - case "ProvisionedOnDemandCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8758,7 +8613,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.ProvisionedOnDemandCapacity = ptr.Int32(int32(i64)) } - case "ProvisionedSpotCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8771,17 +8625,14 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.ProvisionedSpotCapacity = ptr.Int32(int32(i64)) } - case "ResizeSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceFleetResizingSpecifications(&sv.ResizeSpecifications, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentInstanceFleetStatus(&sv.Status, value); err != nil { return err } - case "TargetOnDemandCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8794,7 +8645,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.TargetOnDemandCapacity = ptr.Int32(int32(i64)) } - case "TargetSpotCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8807,7 +8657,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.TargetSpotCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8877,12 +8726,10 @@ func awsAwsjson11_deserializeDocumentInstanceFleetProvisioningSpecifications(v * if err := awsAwsjson11_deserializeDocumentOnDemandProvisioningSpecification(&sv.OnDemandSpecification, value); err != nil { return err } - case "SpotSpecification": if err := awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(&sv.SpotSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -8918,12 +8765,10 @@ func awsAwsjson11_deserializeDocumentInstanceFleetResizingSpecifications(v **typ if err := awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(&sv.OnDemandResizeSpecification, value); err != nil { return err } - case "SpotResizeSpecification": if err := awsAwsjson11_deserializeDocumentSpotResizingSpecification(&sv.SpotResizeSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -8963,7 +8808,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(v **types.In } sv.Code = types.InstanceFleetStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -8972,7 +8816,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9012,17 +8855,14 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStatus(v **types.InstanceFleet } sv.State = types.InstanceFleetState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceFleetTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -9069,7 +8909,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9085,7 +8924,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9101,7 +8939,6 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } - default: _, _ = key, value @@ -9137,7 +8974,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(&sv.AutoScalingPolicy, value); err != nil { return err } - case "BidPrice": if value != nil { jtv, ok := value.(string) @@ -9146,12 +8982,10 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.BidPrice = ptr.String(jtv) } - case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "ConfigurationsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9164,7 +8998,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.ConfigurationsVersion = ptr.Int64(i64) } - case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -9173,12 +9006,10 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.CustomAmiId = ptr.String(jtv) } - case "EbsBlockDevices": if err := awsAwsjson11_deserializeDocumentEbsBlockDeviceList(&sv.EbsBlockDevices, value); err != nil { return err } - case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -9187,7 +9018,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.EbsOptimized = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9196,7 +9026,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Id = ptr.String(jtv) } - case "InstanceGroupType": if value != nil { jtv, ok := value.(string) @@ -9205,7 +9034,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceGroupType = types.InstanceGroupType(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9214,12 +9042,10 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceType = ptr.String(jtv) } - case "LastSuccessfullyAppliedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.LastSuccessfullyAppliedConfigurations, value); err != nil { return err } - case "LastSuccessfullyAppliedConfigurationsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9232,7 +9058,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.LastSuccessfullyAppliedConfigurationsVersion = ptr.Int64(i64) } - case "Market": if value != nil { jtv, ok := value.(string) @@ -9241,7 +9066,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Market = types.MarketType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9250,7 +9074,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Name = ptr.String(jtv) } - case "RequestedInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9263,7 +9086,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.RequestedInstanceCount = ptr.Int32(int32(i64)) } - case "RunningInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9276,17 +9098,14 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.RunningInstanceCount = ptr.Int32(int32(i64)) } - case "ShrinkPolicy": if err := awsAwsjson11_deserializeDocumentShrinkPolicy(&sv.ShrinkPolicy, value); err != nil { return err } - case "Status": if err := awsAwsjson11_deserializeDocumentInstanceGroupStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -9326,7 +9145,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.BidPrice = ptr.String(jtv) } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -9342,7 +9160,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } - case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -9351,7 +9168,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.CustomAmiId = ptr.String(jtv) } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9367,7 +9183,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } - case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -9376,7 +9191,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceGroupId = ptr.String(jtv) } - case "InstanceRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -9389,7 +9203,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRequestCount = ptr.Int32(int32(i64)) } - case "InstanceRole": if value != nil { jtv, ok := value.(string) @@ -9398,7 +9211,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRole = types.InstanceRoleType(jtv) } - case "InstanceRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -9411,7 +9223,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRunningCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9420,7 +9231,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceType = ptr.String(jtv) } - case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -9429,7 +9239,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.LastStateChangeReason = ptr.String(jtv) } - case "Market": if value != nil { jtv, ok := value.(string) @@ -9438,7 +9247,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.Market = types.MarketType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9447,7 +9255,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.Name = ptr.String(jtv) } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9463,7 +9270,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -9479,7 +9285,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9488,7 +9293,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.State = types.InstanceGroupState(jtv) } - default: _, _ = key, value @@ -9632,7 +9436,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(v **types.In } sv.Code = types.InstanceGroupStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9641,7 +9444,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9681,17 +9483,14 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStatus(v **types.InstanceGroup } sv.State = types.InstanceGroupState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceGroupTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -9738,7 +9537,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9754,7 +9552,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9770,7 +9567,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } - default: _, _ = key, value @@ -9840,12 +9636,10 @@ func awsAwsjson11_deserializeDocumentInstanceResizePolicy(v **types.InstanceResi if err := awsAwsjson11_deserializeDocumentEC2InstanceIdsList(&sv.InstancesToProtect, value); err != nil { return err } - case "InstancesToTerminate": if err := awsAwsjson11_deserializeDocumentEC2InstanceIdsList(&sv.InstancesToTerminate, value); err != nil { return err } - case "InstanceTerminationTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -9858,7 +9652,6 @@ func awsAwsjson11_deserializeDocumentInstanceResizePolicy(v **types.InstanceResi } sv.InstanceTerminationTimeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9898,7 +9691,6 @@ func awsAwsjson11_deserializeDocumentInstanceStateChangeReason(v **types.Instanc } sv.Code = types.InstanceStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9907,7 +9699,6 @@ func awsAwsjson11_deserializeDocumentInstanceStateChangeReason(v **types.Instanc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9947,17 +9738,14 @@ func awsAwsjson11_deserializeDocumentInstanceStatus(v **types.InstanceStatus, va } sv.State = types.InstanceState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -10004,7 +9792,6 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -10020,7 +9807,6 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -10036,7 +9822,6 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } - default: _, _ = key, value @@ -10076,7 +9861,6 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.BidPrice = ptr.String(jtv) } - case "BidPriceAsPercentageOfOnDemandPrice": if value != nil { switch jtv := value.(type) { @@ -10110,12 +9894,10 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } } - case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -10124,12 +9906,10 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.CustomAmiId = ptr.String(jtv) } - case "EbsBlockDevices": if err := awsAwsjson11_deserializeDocumentEbsBlockDeviceList(&sv.EbsBlockDevices, value); err != nil { return err } - case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -10138,7 +9918,6 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.EbsOptimized = ptr.Bool(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -10147,7 +9926,6 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.InstanceType = ptr.String(jtv) } - case "Priority": if value != nil { switch jtv := value.(type) { @@ -10181,7 +9959,6 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } } - case "WeightedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -10194,7 +9971,6 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.WeightedCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10258,22 +10034,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10298,15 +10065,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10314,15 +10075,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10347,13 +10104,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -10363,8 +10114,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10372,15 +10122,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10415,7 +10161,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.AmiVersion = ptr.String(jtv) } - case "AutoScalingRole": if value != nil { jtv, ok := value.(string) @@ -10424,22 +10169,18 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.AutoScalingRole = ptr.String(jtv) } - case "BootstrapActions": if err := awsAwsjson11_deserializeDocumentBootstrapActionDetailList(&sv.BootstrapActions, value); err != nil { return err } - case "ExecutionStatusDetail": if err := awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(&sv.ExecutionStatusDetail, value); err != nil { return err } - case "Instances": if err := awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(&sv.Instances, value); err != nil { return err } - case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -10448,7 +10189,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.JobFlowId = ptr.String(jtv) } - case "JobFlowRole": if value != nil { jtv, ok := value.(string) @@ -10457,7 +10197,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.JobFlowRole = ptr.String(jtv) } - case "LogEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10466,7 +10205,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.LogEncryptionKmsKeyId = ptr.String(jtv) } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -10475,7 +10213,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.LogUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10484,7 +10221,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.Name = ptr.String(jtv) } - case "ScaleDownBehavior": if value != nil { jtv, ok := value.(string) @@ -10493,7 +10229,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.ScaleDownBehavior = types.ScaleDownBehavior(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -10502,17 +10237,14 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.ServiceRole = ptr.String(jtv) } - case "Steps": if err := awsAwsjson11_deserializeDocumentStepDetailList(&sv.Steps, value); err != nil { return err } - case "SupportedProducts": if err := awsAwsjson11_deserializeDocumentSupportedProductsList(&sv.SupportedProducts, value); err != nil { return err } - case "VisibleToAllUsers": if value != nil { jtv, ok := value.(bool) @@ -10521,7 +10253,6 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.VisibleToAllUsers = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10602,7 +10333,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -10618,7 +10348,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } - case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -10627,7 +10356,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } sv.LastStateChangeReason = ptr.String(jtv) } - case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -10643,7 +10371,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -10659,7 +10386,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10668,7 +10394,6 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } sv.State = types.JobFlowExecutionState(jtv) } - default: _, _ = key, value @@ -10708,7 +10433,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.Ec2KeyName = ptr.String(jtv) } - case "Ec2SubnetId": if value != nil { jtv, ok := value.(string) @@ -10717,7 +10441,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.Ec2SubnetId = ptr.String(jtv) } - case "HadoopVersion": if value != nil { jtv, ok := value.(string) @@ -10726,7 +10449,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.HadoopVersion = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10739,12 +10461,10 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentInstanceGroupDetailList(&sv.InstanceGroups, value); err != nil { return err } - case "KeepJobFlowAliveWhenNoSteps": if value != nil { jtv, ok := value.(bool) @@ -10753,7 +10473,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.KeepJobFlowAliveWhenNoSteps = ptr.Bool(jtv) } - case "MasterInstanceId": if value != nil { jtv, ok := value.(string) @@ -10762,7 +10481,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterInstanceId = ptr.String(jtv) } - case "MasterInstanceType": if value != nil { jtv, ok := value.(string) @@ -10771,7 +10489,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterInstanceType = ptr.String(jtv) } - case "MasterPublicDnsName": if value != nil { jtv, ok := value.(string) @@ -10780,7 +10497,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterPublicDnsName = ptr.String(jtv) } - case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -10793,12 +10509,10 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } - case "Placement": if err := awsAwsjson11_deserializeDocumentPlacementType(&sv.Placement, value); err != nil { return err } - case "SlaveInstanceType": if value != nil { jtv, ok := value.(string) @@ -10807,7 +10521,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.SlaveInstanceType = ptr.String(jtv) } - case "TerminationProtected": if value != nil { jtv, ok := value.(bool) @@ -10816,7 +10529,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.TerminationProtected = ptr.Bool(jtv) } - case "UnhealthyNodeReplacement": if value != nil { jtv, ok := value.(bool) @@ -10825,7 +10537,6 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.UnhealthyNodeReplacement = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10865,7 +10576,6 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.ADDomainJoinPassword = ptr.String(jtv) } - case "ADDomainJoinUser": if value != nil { jtv, ok := value.(string) @@ -10874,7 +10584,6 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.ADDomainJoinUser = ptr.String(jtv) } - case "CrossRealmTrustPrincipalPassword": if value != nil { jtv, ok := value.(string) @@ -10883,7 +10592,6 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.CrossRealmTrustPrincipalPassword = ptr.String(jtv) } - case "KdcAdminPassword": if value != nil { jtv, ok := value.(string) @@ -10892,7 +10600,6 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.KdcAdminPassword = ptr.String(jtv) } - case "Realm": if value != nil { jtv, ok := value.(string) @@ -10901,7 +10608,6 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.Realm = ptr.String(jtv) } - default: _, _ = key, value @@ -10941,7 +10647,6 @@ func awsAwsjson11_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10950,7 +10655,6 @@ func awsAwsjson11_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11020,7 +10724,6 @@ func awsAwsjson11_deserializeDocumentManagedScalingPolicy(v **types.ManagedScali if err := awsAwsjson11_deserializeDocumentComputeLimits(&sv.ComputeLimits, value); err != nil { return err } - default: _, _ = key, value @@ -11060,7 +10763,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11069,7 +10771,6 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11143,7 +10844,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.Arn = ptr.String(jtv) } - case "EditorId": if value != nil { jtv, ok := value.(string) @@ -11152,7 +10852,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.EditorId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11168,17 +10867,14 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } } - case "EnvironmentVariables": if err := awsAwsjson11_deserializeDocumentEnvironmentVariablesMap(&sv.EnvironmentVariables, value); err != nil { return err } - case "ExecutionEngine": if err := awsAwsjson11_deserializeDocumentExecutionEngineConfig(&sv.ExecutionEngine, value); err != nil { return err } - case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -11187,7 +10883,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.LastStateChangeReason = ptr.String(jtv) } - case "NotebookExecutionId": if value != nil { jtv, ok := value.(string) @@ -11196,7 +10891,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookExecutionId = ptr.String(jtv) } - case "NotebookExecutionName": if value != nil { jtv, ok := value.(string) @@ -11205,7 +10899,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookExecutionName = ptr.String(jtv) } - case "NotebookInstanceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -11214,7 +10907,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookInstanceSecurityGroupId = ptr.String(jtv) } - case "NotebookParams": if value != nil { jtv, ok := value.(string) @@ -11223,12 +10915,10 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookParams = ptr.String(jtv) } - case "NotebookS3Location": if err := awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(&sv.NotebookS3Location, value); err != nil { return err } - case "OutputNotebookFormat": if value != nil { jtv, ok := value.(string) @@ -11237,12 +10927,10 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.OutputNotebookFormat = types.OutputNotebookFormat(jtv) } - case "OutputNotebookS3Location": if err := awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(&sv.OutputNotebookS3Location, value); err != nil { return err } - case "OutputNotebookURI": if value != nil { jtv, ok := value.(string) @@ -11251,7 +10939,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.OutputNotebookURI = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11267,7 +10954,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11276,12 +10962,10 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.Status = types.NotebookExecutionStatus(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11321,7 +11005,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.EditorId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11337,7 +11020,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } } - case "ExecutionEngineId": if value != nil { jtv, ok := value.(string) @@ -11346,7 +11028,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.ExecutionEngineId = ptr.String(jtv) } - case "NotebookExecutionId": if value != nil { jtv, ok := value.(string) @@ -11355,7 +11036,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.NotebookExecutionId = ptr.String(jtv) } - case "NotebookExecutionName": if value != nil { jtv, ok := value.(string) @@ -11364,12 +11044,10 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.NotebookExecutionName = ptr.String(jtv) } - case "NotebookS3Location": if err := awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(&sv.NotebookS3Location, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11385,7 +11063,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11394,7 +11071,6 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.Status = types.NotebookExecutionStatus(jtv) } - default: _, _ = key, value @@ -11468,7 +11144,6 @@ func awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(v **types.Noteb } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11477,7 +11152,6 @@ func awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(v **types.Noteb } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -11517,7 +11191,6 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.CapacityReservationPreference = types.OnDemandCapacityReservationPreference(jtv) } - case "CapacityReservationResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -11526,7 +11199,6 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.CapacityReservationResourceGroupArn = ptr.String(jtv) } - case "UsageStrategy": if value != nil { jtv, ok := value.(string) @@ -11535,7 +11207,6 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.UsageStrategy = types.OnDemandCapacityReservationUsageStrategy(jtv) } - default: _, _ = key, value @@ -11575,12 +11246,10 @@ func awsAwsjson11_deserializeDocumentOnDemandProvisioningSpecification(v **types } sv.AllocationStrategy = types.OnDemandProvisioningAllocationStrategy(jtv) } - case "CapacityReservationOptions": if err := awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(&sv.CapacityReservationOptions, value); err != nil { return err } - default: _, _ = key, value @@ -11620,12 +11289,10 @@ func awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(v **types.OnD } sv.AllocationStrategy = types.OnDemandProvisioningAllocationStrategy(jtv) } - case "CapacityReservationOptions": if err := awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(&sv.CapacityReservationOptions, value); err != nil { return err } - case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -11638,7 +11305,6 @@ func awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(v **types.OnD } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11678,7 +11344,6 @@ func awsAwsjson11_deserializeDocumentOSRelease(v **types.OSRelease, value interf } sv.Label = ptr.String(jtv) } - default: _, _ = key, value @@ -11752,7 +11417,6 @@ func awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(v **types } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11761,7 +11425,6 @@ func awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(v **types } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -11801,7 +11464,6 @@ func awsAwsjson11_deserializeDocumentPlacementGroupConfig(v **types.PlacementGro } sv.InstanceRole = types.InstanceRoleType(jtv) } - case "PlacementStrategy": if value != nil { jtv, ok := value.(string) @@ -11810,7 +11472,6 @@ func awsAwsjson11_deserializeDocumentPlacementGroupConfig(v **types.PlacementGro } sv.PlacementStrategy = types.PlacementGroupStrategy(jtv) } - default: _, _ = key, value @@ -11884,12 +11545,10 @@ func awsAwsjson11_deserializeDocumentPlacementType(v **types.PlacementType, valu } sv.AvailabilityZone = ptr.String(jtv) } - case "AvailabilityZones": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.AvailabilityZones, value); err != nil { return err } - default: _, _ = key, value @@ -11933,7 +11592,6 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.MaxRange = ptr.Int32(int32(i64)) } - case "MinRange": if value != nil { jtv, ok := value.(json.Number) @@ -11946,7 +11604,6 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.MinRange = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12020,12 +11677,10 @@ func awsAwsjson11_deserializeDocumentScalingAction(v **types.ScalingAction, valu } sv.Market = types.MarketType(jtv) } - case "SimpleScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(&sv.SimpleScalingPolicyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12069,7 +11724,6 @@ func awsAwsjson11_deserializeDocumentScalingConstraints(v **types.ScalingConstra } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -12082,7 +11736,6 @@ func awsAwsjson11_deserializeDocumentScalingConstraints(v **types.ScalingConstra } sv.MinCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12118,7 +11771,6 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in if err := awsAwsjson11_deserializeDocumentScalingAction(&sv.Action, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12127,7 +11779,6 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12136,12 +11787,10 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in } sv.Name = ptr.String(jtv) } - case "Trigger": if err := awsAwsjson11_deserializeDocumentScalingTrigger(&sv.Trigger, value); err != nil { return err } - default: _, _ = key, value @@ -12211,7 +11860,6 @@ func awsAwsjson11_deserializeDocumentScalingTrigger(v **types.ScalingTrigger, va if err := awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(&sv.CloudWatchAlarmDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -12247,7 +11895,6 @@ func awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(v **types.Scrip if err := awsAwsjson11_deserializeDocumentXmlStringList(&sv.Args, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -12256,7 +11903,6 @@ func awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(v **types.Scrip } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -12337,7 +11983,6 @@ func awsAwsjson11_deserializeDocumentSecurityConfigurationSummary(v **types.Secu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12346,7 +11991,6 @@ func awsAwsjson11_deserializeDocumentSecurityConfigurationSummary(v **types.Secu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12393,7 +12037,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -12402,7 +12045,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityId = ptr.String(jtv) } - case "IdentityName": if value != nil { jtv, ok := value.(string) @@ -12411,7 +12053,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityName = ptr.String(jtv) } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -12420,7 +12061,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityType = types.IdentityType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12436,7 +12076,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } } - case "SessionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -12445,7 +12084,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.SessionPolicyArn = ptr.String(jtv) } - case "StudioId": if value != nil { jtv, ok := value.(string) @@ -12454,7 +12092,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.StudioId = ptr.String(jtv) } - default: _, _ = key, value @@ -12501,7 +12138,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } } - case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -12510,7 +12146,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityId = ptr.String(jtv) } - case "IdentityName": if value != nil { jtv, ok := value.(string) @@ -12519,7 +12154,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityName = ptr.String(jtv) } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -12528,7 +12162,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityType = types.IdentityType(jtv) } - case "SessionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -12537,7 +12170,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.SessionPolicyArn = ptr.String(jtv) } - case "StudioId": if value != nil { jtv, ok := value.(string) @@ -12546,7 +12178,6 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.StudioId = ptr.String(jtv) } - default: _, _ = key, value @@ -12624,12 +12255,10 @@ func awsAwsjson11_deserializeDocumentShrinkPolicy(v **types.ShrinkPolicy, value } sv.DecommissionTimeout = ptr.Int32(int32(i64)) } - case "InstanceResizePolicy": if err := awsAwsjson11_deserializeDocumentInstanceResizePolicy(&sv.InstanceResizePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -12669,7 +12298,6 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.AdjustmentType = types.AdjustmentType(jtv) } - case "CoolDown": if value != nil { jtv, ok := value.(json.Number) @@ -12682,7 +12310,6 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.CoolDown = ptr.Int32(int32(i64)) } - case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -12695,7 +12322,6 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12735,7 +12361,6 @@ func awsAwsjson11_deserializeDocumentSimplifiedApplication(v **types.SimplifiedA } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -12744,7 +12369,6 @@ func awsAwsjson11_deserializeDocumentSimplifiedApplication(v **types.SimplifiedA } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12818,7 +12442,6 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.AllocationStrategy = types.SpotProvisioningAllocationStrategy(jtv) } - case "BlockDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12831,7 +12454,6 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } - case "TimeoutAction": if value != nil { jtv, ok := value.(string) @@ -12840,7 +12462,6 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.TimeoutAction = types.SpotProvisioningTimeoutAction(jtv) } - case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12853,7 +12474,6 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12893,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentSpotResizingSpecification(v **types.SpotRes } sv.AllocationStrategy = types.SpotProvisioningAllocationStrategy(jtv) } - case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12906,7 +12525,6 @@ func awsAwsjson11_deserializeDocumentSpotResizingSpecification(v **types.SpotRes } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12946,12 +12564,10 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ActionOnFailure = types.ActionOnFailure(jtv) } - case "Config": if err := awsAwsjson11_deserializeDocumentHadoopStepConfig(&sv.Config, value); err != nil { return err } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -12960,7 +12576,6 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ExecutionRoleArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12969,7 +12584,6 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12978,12 +12592,10 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentStepStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -13023,12 +12635,10 @@ func awsAwsjson11_deserializeDocumentStepConfig(v **types.StepConfig, value inte } sv.ActionOnFailure = types.ActionOnFailure(jtv) } - case "HadoopJarStep": if err := awsAwsjson11_deserializeDocumentHadoopJarStepConfig(&sv.HadoopJarStep, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13037,7 +12647,6 @@ func awsAwsjson11_deserializeDocumentStepConfig(v **types.StepConfig, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13073,12 +12682,10 @@ func awsAwsjson11_deserializeDocumentStepDetail(v **types.StepDetail, value inte if err := awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(&sv.ExecutionStatusDetail, value); err != nil { return err } - case "StepConfig": if err := awsAwsjson11_deserializeDocumentStepConfig(&sv.StepConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13159,7 +12766,6 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -13175,7 +12781,6 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } - case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -13184,7 +12789,6 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } sv.LastStateChangeReason = ptr.String(jtv) } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -13200,7 +12804,6 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13209,7 +12812,6 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } sv.State = types.StepExecutionState(jtv) } - default: _, _ = key, value @@ -13285,7 +12887,6 @@ func awsAwsjson11_deserializeDocumentStepStateChangeReason(v **types.StepStateCh } sv.Code = types.StepStateChangeReasonCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13294,7 +12895,6 @@ func awsAwsjson11_deserializeDocumentStepStateChangeReason(v **types.StepStateCh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -13330,7 +12930,6 @@ func awsAwsjson11_deserializeDocumentStepStatus(v **types.StepStatus, value inte if err := awsAwsjson11_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -13339,17 +12938,14 @@ func awsAwsjson11_deserializeDocumentStepStatus(v **types.StepStatus, value inte } sv.State = types.StepState(jtv) } - case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentStepStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } - case "Timeline": if err := awsAwsjson11_deserializeDocumentStepTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -13389,12 +12985,10 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.ActionOnFailure = types.ActionOnFailure(jtv) } - case "Config": if err := awsAwsjson11_deserializeDocumentHadoopStepConfig(&sv.Config, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13403,7 +12997,6 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13412,12 +13005,10 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Name = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentStepStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -13498,7 +13089,6 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } - case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -13514,7 +13104,6 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } - case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -13530,7 +13119,6 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } - default: _, _ = key, value @@ -13642,7 +13230,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.AuthMode = types.AuthMode(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13658,7 +13245,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } } - case "DefaultS3Location": if value != nil { jtv, ok := value.(string) @@ -13667,7 +13253,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.DefaultS3Location = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13676,7 +13261,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Description = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -13685,7 +13269,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.EncryptionKeyArn = ptr.String(jtv) } - case "EngineSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -13694,7 +13277,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.EngineSecurityGroupId = ptr.String(jtv) } - case "IdcInstanceArn": if value != nil { jtv, ok := value.(string) @@ -13703,7 +13285,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdcInstanceArn = ptr.String(jtv) } - case "IdcUserAssignment": if value != nil { jtv, ok := value.(string) @@ -13712,7 +13293,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdcUserAssignment = types.IdcUserAssignment(jtv) } - case "IdpAuthUrl": if value != nil { jtv, ok := value.(string) @@ -13721,7 +13301,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdpAuthUrl = ptr.String(jtv) } - case "IdpRelayStateParameterName": if value != nil { jtv, ok := value.(string) @@ -13730,7 +13309,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdpRelayStateParameterName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13739,7 +13317,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Name = ptr.String(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -13748,7 +13325,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.ServiceRole = ptr.String(jtv) } - case "StudioArn": if value != nil { jtv, ok := value.(string) @@ -13757,7 +13333,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.StudioArn = ptr.String(jtv) } - case "StudioId": if value != nil { jtv, ok := value.(string) @@ -13766,17 +13341,14 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.StudioId = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrustedIdentityPropagationEnabled": if value != nil { jtv, ok := value.(bool) @@ -13785,7 +13357,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.TrustedIdentityPropagationEnabled = ptr.Bool(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -13794,7 +13365,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Url = ptr.String(jtv) } - case "UserRole": if value != nil { jtv, ok := value.(string) @@ -13803,7 +13373,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.UserRole = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -13812,7 +13381,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.VpcId = ptr.String(jtv) } - case "WorkspaceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -13821,7 +13389,6 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.WorkspaceSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -13861,7 +13428,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.AuthMode = types.AuthMode(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13877,7 +13443,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13886,7 +13451,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13895,7 +13459,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Name = ptr.String(jtv) } - case "StudioId": if value != nil { jtv, ok := value.(string) @@ -13904,7 +13467,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.StudioId = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -13913,7 +13475,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Url = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -13922,7 +13483,6 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -14032,7 +13592,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Architecture = ptr.String(jtv) } - case "EbsOptimizedAvailable": if value != nil { jtv, ok := value.(bool) @@ -14041,7 +13600,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsOptimizedAvailable = ptr.Bool(jtv) } - case "EbsOptimizedByDefault": if value != nil { jtv, ok := value.(bool) @@ -14050,7 +13608,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsOptimizedByDefault = ptr.Bool(jtv) } - case "EbsStorageOnly": if value != nil { jtv, ok := value.(bool) @@ -14059,7 +13616,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsStorageOnly = ptr.Bool(jtv) } - case "InstanceFamilyId": if value != nil { jtv, ok := value.(string) @@ -14068,7 +13624,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.InstanceFamilyId = ptr.String(jtv) } - case "Is64BitsOnly": if value != nil { jtv, ok := value.(bool) @@ -14077,7 +13632,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Is64BitsOnly = ptr.Bool(jtv) } - case "MemoryGB": if value != nil { switch jtv := value.(type) { @@ -14111,7 +13665,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } } - case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -14124,7 +13677,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.NumberOfDisks = ptr.Int32(int32(i64)) } - case "StorageGB": if value != nil { jtv, ok := value.(json.Number) @@ -14137,7 +13689,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.StorageGB = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14146,7 +13697,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Type = ptr.String(jtv) } - case "VCPU": if value != nil { jtv, ok := value.(json.Number) @@ -14159,7 +13709,6 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.VCPU = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14269,7 +13818,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14278,7 +13826,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14352,7 +13899,6 @@ func awsAwsjson11_deserializeDocumentUsernamePassword(v **types.UsernamePassword } sv.Password = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -14361,7 +13907,6 @@ func awsAwsjson11_deserializeDocumentUsernamePassword(v **types.UsernamePassword } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -14405,7 +13950,6 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.Iops = ptr.Int32(int32(i64)) } - case "SizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -14418,7 +13962,6 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.SizeInGB = ptr.Int32(int32(i64)) } - case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -14431,7 +13974,6 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.Throughput = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -14440,7 +13982,6 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -14552,7 +14093,6 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.ClusterArn = ptr.String(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -14561,7 +14101,6 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.ClusterId = ptr.String(jtv) } - case "InstanceFleetId": if value != nil { jtv, ok := value.(string) @@ -14570,7 +14109,6 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.InstanceFleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -14610,12 +14148,10 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceGroupsOutput(v **AddInstanceGr } sv.ClusterArn = ptr.String(jtv) } - case "InstanceGroupIds": if err := awsAwsjson11_deserializeDocumentInstanceGroupIdsList(&sv.InstanceGroupIds, value); err != nil { return err } - case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -14624,7 +14160,6 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceGroupsOutput(v **AddInstanceGr } sv.JobFlowId = ptr.String(jtv) } - default: _, _ = key, value @@ -14660,7 +14195,6 @@ func awsAwsjson11_deserializeOpDocumentAddJobFlowStepsOutput(v **AddJobFlowSteps if err := awsAwsjson11_deserializeDocumentStepIdsList(&sv.StepIds, value); err != nil { return err } - default: _, _ = key, value @@ -14727,7 +14261,6 @@ func awsAwsjson11_deserializeOpDocumentCancelStepsOutput(v **CancelStepsOutput, if err := awsAwsjson11_deserializeDocumentCancelStepsInfoList(&sv.CancelStepsInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -14774,7 +14307,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14783,7 +14315,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14823,7 +14354,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioOutput(v **CreateStudioOutput } sv.StudioId = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -14832,7 +14362,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioOutput(v **CreateStudioOutput } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -14899,7 +14428,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -14935,7 +14463,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeJobFlowsOutput(v **DescribeJobFlo if err := awsAwsjson11_deserializeDocumentJobFlowDetailList(&sv.JobFlows, value); err != nil { return err } - default: _, _ = key, value @@ -14971,7 +14498,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookExecutionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentNotebookExecution(&sv.NotebookExecution, value); err != nil { return err } - default: _, _ = key, value @@ -15007,12 +14533,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe if err := awsAwsjson11_deserializeDocumentSimplifiedApplicationList(&sv.Applications, value); err != nil { return err } - case "AvailableOSReleases": if err := awsAwsjson11_deserializeDocumentOSReleaseList(&sv.AvailableOSReleases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15021,7 +14545,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } - case "ReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -15030,7 +14553,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe } sv.ReleaseLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -15077,7 +14599,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15086,7 +14607,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } sv.Name = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -15095,7 +14615,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } sv.SecurityConfiguration = ptr.String(jtv) } - default: _, _ = key, value @@ -15131,7 +14650,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStepOutput(v **DescribeStepOutput if err := awsAwsjson11_deserializeDocumentStep(&sv.Step, value); err != nil { return err } - default: _, _ = key, value @@ -15167,7 +14685,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioOutput(v **DescribeStudioOu if err := awsAwsjson11_deserializeDocumentStudio(&sv.Studio, value); err != nil { return err } - default: _, _ = key, value @@ -15203,7 +14720,6 @@ func awsAwsjson11_deserializeOpDocumentGetAutoTerminationPolicyOutput(v **GetAut if err := awsAwsjson11_deserializeDocumentAutoTerminationPolicy(&sv.AutoTerminationPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -15239,12 +14755,10 @@ func awsAwsjson11_deserializeOpDocumentGetBlockPublicAccessConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(&sv.BlockPublicAccessConfiguration, value); err != nil { return err } - case "BlockPublicAccessConfigurationMetadata": if err := awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(&sv.BlockPublicAccessConfigurationMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -15280,7 +14794,6 @@ func awsAwsjson11_deserializeOpDocumentGetClusterSessionCredentialsOutput(v **Ge if err := awsAwsjson11_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "ExpiresAt": if value != nil { switch jtv := value.(type) { @@ -15296,7 +14809,6 @@ func awsAwsjson11_deserializeOpDocumentGetClusterSessionCredentialsOutput(v **Ge } } - default: _, _ = key, value @@ -15332,7 +14844,6 @@ func awsAwsjson11_deserializeOpDocumentGetManagedScalingPolicyOutput(v **GetMana if err := awsAwsjson11_deserializeDocumentManagedScalingPolicy(&sv.ManagedScalingPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -15368,7 +14879,6 @@ func awsAwsjson11_deserializeOpDocumentGetStudioSessionMappingOutput(v **GetStud if err := awsAwsjson11_deserializeDocumentSessionMappingDetail(&sv.SessionMapping, value); err != nil { return err } - default: _, _ = key, value @@ -15404,7 +14914,6 @@ func awsAwsjson11_deserializeOpDocumentListBootstrapActionsOutput(v **ListBootst if err := awsAwsjson11_deserializeDocumentCommandList(&sv.BootstrapActions, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -15413,7 +14922,6 @@ func awsAwsjson11_deserializeOpDocumentListBootstrapActionsOutput(v **ListBootst } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -15449,7 +14957,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterSummaryList(&sv.Clusters, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -15458,7 +14965,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -15494,7 +15000,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceFleetsOutput(v **ListInstance if err := awsAwsjson11_deserializeDocumentInstanceFleetList(&sv.InstanceFleets, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -15503,7 +15008,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceFleetsOutput(v **ListInstance } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -15539,7 +15043,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceGroupsOutput(v **ListInstance if err := awsAwsjson11_deserializeDocumentInstanceGroupList(&sv.InstanceGroups, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -15548,7 +15051,6 @@ func awsAwsjson11_deserializeOpDocumentListInstanceGroupsOutput(v **ListInstance } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -15584,7 +15086,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -15593,7 +15094,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -15633,12 +15133,10 @@ func awsAwsjson11_deserializeOpDocumentListNotebookExecutionsOutput(v **ListNote } sv.Marker = ptr.String(jtv) } - case "NotebookExecutions": if err := awsAwsjson11_deserializeDocumentNotebookExecutionSummaryList(&sv.NotebookExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -15678,12 +15176,10 @@ func awsAwsjson11_deserializeOpDocumentListReleaseLabelsOutput(v **ListReleaseLa } sv.NextToken = ptr.String(jtv) } - case "ReleaseLabels": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ReleaseLabels, value); err != nil { return err } - default: _, _ = key, value @@ -15723,12 +15219,10 @@ func awsAwsjson11_deserializeOpDocumentListSecurityConfigurationsOutput(v **List } sv.Marker = ptr.String(jtv) } - case "SecurityConfigurations": if err := awsAwsjson11_deserializeDocumentSecurityConfigurationList(&sv.SecurityConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -15768,12 +15262,10 @@ func awsAwsjson11_deserializeOpDocumentListStepsOutput(v **ListStepsOutput, valu } sv.Marker = ptr.String(jtv) } - case "Steps": if err := awsAwsjson11_deserializeDocumentStepSummaryList(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -15813,12 +15305,10 @@ func awsAwsjson11_deserializeOpDocumentListStudioSessionMappingsOutput(v **ListS } sv.Marker = ptr.String(jtv) } - case "SessionMappings": if err := awsAwsjson11_deserializeDocumentSessionMappingSummaryList(&sv.SessionMappings, value); err != nil { return err } - default: _, _ = key, value @@ -15858,12 +15348,10 @@ func awsAwsjson11_deserializeOpDocumentListStudiosOutput(v **ListStudiosOutput, } sv.Marker = ptr.String(jtv) } - case "Studios": if err := awsAwsjson11_deserializeDocumentStudioSummaryList(&sv.Studios, value); err != nil { return err } - default: _, _ = key, value @@ -15903,12 +15391,10 @@ func awsAwsjson11_deserializeOpDocumentListSupportedInstanceTypesOutput(v **List } sv.Marker = ptr.String(jtv) } - case "SupportedInstanceTypes": if err := awsAwsjson11_deserializeDocumentSupportedInstanceTypesList(&sv.SupportedInstanceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -15952,7 +15438,6 @@ func awsAwsjson11_deserializeOpDocumentModifyClusterOutput(v **ModifyClusterOutp } sv.StepConcurrencyLevel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15988,7 +15473,6 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(&sv.AutoScalingPolicy, value); err != nil { return err } - case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -15997,7 +15481,6 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.ClusterArn = ptr.String(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -16006,7 +15489,6 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.ClusterId = ptr.String(jtv) } - case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -16015,7 +15497,6 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.InstanceGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -16272,7 +15753,6 @@ func awsAwsjson11_deserializeOpDocumentRunJobFlowOutput(v **RunJobFlowOutput, va } sv.ClusterArn = ptr.String(jtv) } - case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -16281,7 +15761,6 @@ func awsAwsjson11_deserializeOpDocumentRunJobFlowOutput(v **RunJobFlowOutput, va } sv.JobFlowId = ptr.String(jtv) } - default: _, _ = key, value @@ -16321,7 +15800,6 @@ func awsAwsjson11_deserializeOpDocumentStartNotebookExecutionOutput(v **StartNot } sv.NotebookExecutionId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/emrcontainers/deserializers.go b/service/emrcontainers/deserializers.go index 104e53074e1..617907d70fb 100644 --- a/service/emrcontainers/deserializers.go +++ b/service/emrcontainers/deserializers.go @@ -178,7 +178,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.Id = ptr.String(jtv) } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -187,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -349,7 +347,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -362,7 +359,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -371,7 +367,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -380,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -542,7 +536,6 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -551,7 +544,6 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -560,7 +552,6 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Name = ptr.String(jtv) } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -569,7 +560,6 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -728,7 +718,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -737,7 +726,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -746,7 +734,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -911,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -920,7 +906,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -929,7 +914,6 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1088,7 +1072,6 @@ func awsRestjson1_deserializeOpDocumentDeleteJobTemplateOutput(v **DeleteJobTemp } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1247,7 +1230,6 @@ func awsRestjson1_deserializeOpDocumentDeleteManagedEndpointOutput(v **DeleteMan } sv.Id = ptr.String(jtv) } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -1256,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentDeleteManagedEndpointOutput(v **DeleteMan } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -1415,7 +1396,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualClusterOutput(v **DeleteVirt } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1573,7 +1553,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu if err := awsRestjson1_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } - default: _, _ = key, value @@ -1731,7 +1710,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -1889,7 +1867,6 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedEndpointOutput(v **Describ if err := awsRestjson1_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -2047,7 +2024,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D if err := awsRestjson1_deserializeDocumentSecurityConfiguration(&sv.SecurityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2205,7 +2181,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualClusterOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualCluster(&sv.VirtualCluster, value); err != nil { return err } - default: _, _ = key, value @@ -2366,7 +2341,6 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "expiresAt": if value != nil { jtv, ok := value.(string) @@ -2379,7 +2353,6 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu } sv.ExpiresAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2388,7 +2361,6 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2543,7 +2515,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRuns(&sv.JobRuns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2552,7 +2523,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2711,12 +2681,10 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } - case "templates": if err := awsRestjson1_deserializeDocumentJobTemplates(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -2871,7 +2839,6 @@ func awsRestjson1_deserializeOpDocumentListManagedEndpointsOutput(v **ListManage if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2880,7 +2847,6 @@ func awsRestjson1_deserializeOpDocumentListManagedEndpointsOutput(v **ListManage } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3039,12 +3005,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "securityConfigurations": if err := awsRestjson1_deserializeDocumentSecurityConfigurations(&sv.SecurityConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3202,7 +3166,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3361,12 +3324,10 @@ func awsRestjson1_deserializeOpDocumentListVirtualClustersOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } - case "virtualClusters": if err := awsRestjson1_deserializeDocumentVirtualClusters(&sv.VirtualClusters, value); err != nil { return err } - default: _, _ = key, value @@ -3528,7 +3489,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3537,7 +3497,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3546,7 +3505,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Name = ptr.String(jtv) } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -3555,7 +3513,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -3959,12 +3916,10 @@ func awsRestjson1_deserializeDocumentAuthorizationConfiguration(v **types.Author if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "lakeFormationConfiguration": if err := awsRestjson1_deserializeDocumentLakeFormationConfiguration(&sv.LakeFormationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4004,7 +3959,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } - case "certificateData": if value != nil { jtv, ok := value.(string) @@ -4013,7 +3967,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateData = ptr.String(jtv) } - default: _, _ = key, value @@ -4053,7 +4006,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(v **types } sv.LogGroupName = ptr.String(jtv) } - case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -4062,7 +4014,6 @@ func awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(v **types } sv.LogStreamNamePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4102,17 +4053,14 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } - case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentSensitivePropertiesMap(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -4182,12 +4130,10 @@ func awsRestjson1_deserializeDocumentConfigurationOverrides(v **types.Configurat if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } - case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4271,7 +4217,6 @@ func awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(v **types } sv.MaxFilesToKeep = ptr.Int32(int32(i64)) } - case "rotationSize": if value != nil { jtv, ok := value.(string) @@ -4280,7 +4225,6 @@ func awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(v **types } sv.RotationSize = ptr.String(jtv) } - default: _, _ = key, value @@ -4320,12 +4264,10 @@ func awsRestjson1_deserializeDocumentContainerProvider(v **types.ContainerProvid } sv.Id = ptr.String(jtv) } - case "info": if err := awsRestjson1_deserializeDocumentContainerInfo(&sv.Info, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4334,7 +4276,6 @@ func awsRestjson1_deserializeDocumentContainerProvider(v **types.ContainerProvid } sv.Type = types.ContainerProviderType(jtv) } - default: _, _ = key, value @@ -4416,7 +4357,6 @@ func awsRestjson1_deserializeDocumentEksInfo(v **types.EksInfo, value interface{ } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -4446,15 +4386,9 @@ func awsRestjson1_deserializeDocumentEKSRequestThrottledException(v **types.EKSR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4462,15 +4396,11 @@ func awsRestjson1_deserializeDocumentEKSRequestThrottledException(v **types.EKSR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4501,7 +4431,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsRestjson1_deserializeDocumentInTransitEncryptionConfiguration(&sv.InTransitEncryptionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4541,7 +4470,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Arn = ptr.String(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -4550,17 +4478,14 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CertificateArn = ptr.String(jtv) } - case "certificateAuthority": if err := awsRestjson1_deserializeDocumentCertificate(&sv.CertificateAuthority, value); err != nil { return err } - case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4573,7 +4498,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CreatedAt = ptr.Time(t) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4582,7 +4506,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExecutionRoleArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4591,7 +4514,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.FailureReason = types.FailureReason(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4600,7 +4522,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4609,7 +4530,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Name = ptr.String(jtv) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4618,7 +4538,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ReleaseLabel = ptr.String(jtv) } - case "securityGroup": if value != nil { jtv, ok := value.(string) @@ -4627,7 +4546,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SecurityGroup = ptr.String(jtv) } - case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -4636,7 +4554,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServerUrl = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4645,7 +4562,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.State = types.EndpointState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4654,17 +4570,14 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.StateDetails = ptr.String(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -4673,7 +4586,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Type = ptr.String(jtv) } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -4682,7 +4594,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -4782,15 +4693,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4798,15 +4703,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4837,7 +4738,6 @@ func awsRestjson1_deserializeDocumentInTransitEncryptionConfiguration(v **types. if err := awsRestjson1_deserializeDocumentTLSCertificateConfiguration(&sv.TlsCertificateConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4873,12 +4773,10 @@ func awsRestjson1_deserializeDocumentJobDriver(v **types.JobDriver, value interf if err := awsRestjson1_deserializeDocumentSparkSqlJobDriver(&sv.SparkSqlJobDriver, value); err != nil { return err } - case "sparkSubmitJobDriver": if err := awsRestjson1_deserializeDocumentSparkSubmitJobDriver(&sv.SparkSubmitJobDriver, value); err != nil { return err } - default: _, _ = key, value @@ -4918,7 +4816,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Arn = ptr.String(jtv) } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -4927,12 +4824,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ClientToken = ptr.String(jtv) } - case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4945,7 +4840,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4954,7 +4848,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedBy = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4963,7 +4856,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4972,7 +4864,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.FailureReason = types.FailureReason(jtv) } - case "finishedAt": if value != nil { jtv, ok := value.(string) @@ -4985,7 +4876,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.FinishedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4994,12 +4884,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Id = ptr.String(jtv) } - case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5008,7 +4896,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Name = ptr.String(jtv) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -5017,17 +4904,14 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ReleaseLabel = ptr.String(jtv) } - case "retryPolicyConfiguration": if err := awsRestjson1_deserializeDocumentRetryPolicyConfiguration(&sv.RetryPolicyConfiguration, value); err != nil { return err } - case "retryPolicyExecution": if err := awsRestjson1_deserializeDocumentRetryPolicyExecution(&sv.RetryPolicyExecution, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -5036,7 +4920,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -5045,12 +4928,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetails = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -5059,7 +4940,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.VirtualClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -5133,7 +5013,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5146,7 +5025,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5155,7 +5033,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.CreatedBy = ptr.String(jtv) } - case "decryptionError": if value != nil { jtv, ok := value.(string) @@ -5164,7 +5041,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.DecryptionError = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5173,12 +5049,10 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Id = ptr.String(jtv) } - case "jobTemplateData": if err := awsRestjson1_deserializeDocumentJobTemplateData(&sv.JobTemplateData, value); err != nil { return err } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5187,7 +5061,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.KmsKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5196,12 +5069,10 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5237,7 +5108,6 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, if err := awsRestjson1_deserializeDocumentParametricConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5246,22 +5116,18 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, } sv.ExecutionRoleArn = ptr.String(jtv) } - case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } - case "jobTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.JobTags, value); err != nil { return err } - case "parameterConfiguration": if err := awsRestjson1_deserializeDocumentTemplateParameterConfigurationMap(&sv.ParameterConfiguration, value); err != nil { return err } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -5270,7 +5136,6 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, } sv.ReleaseLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -5344,7 +5209,6 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.AuthorizedSessionTagValue = ptr.String(jtv) } - case "queryEngineRoleArn": if value != nil { jtv, ok := value.(string) @@ -5353,12 +5217,10 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.QueryEngineRoleArn = ptr.String(jtv) } - case "secureNamespaceInfo": if err := awsRestjson1_deserializeDocumentSecureNamespaceInfo(&sv.SecureNamespaceInfo, value); err != nil { return err } - default: _, _ = key, value @@ -5394,12 +5256,10 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin if err := awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(&sv.CloudWatchMonitoringConfiguration, value); err != nil { return err } - case "containerLogRotationConfiguration": if err := awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(&sv.ContainerLogRotationConfiguration, value); err != nil { return err } - case "persistentAppUI": if value != nil { jtv, ok := value.(string) @@ -5408,12 +5268,10 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin } sv.PersistentAppUI = types.PersistentAppUI(jtv) } - case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5453,7 +5311,6 @@ func awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration } sv.LogGroupName = ptr.String(jtv) } - case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -5462,7 +5319,6 @@ func awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration } sv.LogStreamNamePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -5498,12 +5354,10 @@ func awsRestjson1_deserializeDocumentParametricConfigurationOverrides(v **types. if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } - case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5539,7 +5393,6 @@ func awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(v **types if err := awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration(&sv.CloudWatchMonitoringConfiguration, value); err != nil { return err } - case "persistentAppUI": if value != nil { jtv, ok := value.(string) @@ -5548,12 +5401,10 @@ func awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(v **types } sv.PersistentAppUI = ptr.String(jtv) } - case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentParametricS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5593,7 +5444,6 @@ func awsRestjson1_deserializeDocumentParametricS3MonitoringConfiguration(v **typ } sv.LogUri = ptr.String(jtv) } - default: _, _ = key, value @@ -5623,15 +5473,9 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5639,15 +5483,11 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5672,15 +5512,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5688,15 +5522,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5735,7 +5565,6 @@ func awsRestjson1_deserializeDocumentRetryPolicyConfiguration(v **types.RetryPol } sv.MaxAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5779,7 +5608,6 @@ func awsRestjson1_deserializeDocumentRetryPolicyExecution(v **types.RetryPolicyE } sv.CurrentAttemptCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5819,7 +5647,6 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.LogUri = ptr.String(jtv) } - default: _, _ = key, value @@ -5859,7 +5686,6 @@ func awsRestjson1_deserializeDocumentSecureNamespaceInfo(v **types.SecureNamespa } sv.ClusterId = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -5868,7 +5694,6 @@ func awsRestjson1_deserializeDocumentSecureNamespaceInfo(v **types.SecureNamespa } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -5908,7 +5733,6 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5921,7 +5745,6 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5930,7 +5753,6 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.CreatedBy = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5939,7 +5761,6 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5948,17 +5769,14 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Name = ptr.String(jtv) } - case "securityConfigurationData": if err := awsRestjson1_deserializeDocumentSecurityConfigurationData(&sv.SecurityConfigurationData, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5994,7 +5812,6 @@ func awsRestjson1_deserializeDocumentSecurityConfigurationData(v **types.Securit if err := awsRestjson1_deserializeDocumentAuthorizationConfiguration(&sv.AuthorizationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6104,7 +5921,6 @@ func awsRestjson1_deserializeDocumentSparkSqlJobDriver(v **types.SparkSqlJobDriv } sv.EntryPoint = ptr.String(jtv) } - case "sparkSqlParameters": if value != nil { jtv, ok := value.(string) @@ -6113,7 +5929,6 @@ func awsRestjson1_deserializeDocumentSparkSqlJobDriver(v **types.SparkSqlJobDriv } sv.SparkSqlParameters = ptr.String(jtv) } - default: _, _ = key, value @@ -6153,12 +5968,10 @@ func awsRestjson1_deserializeDocumentSparkSubmitJobDriver(v **types.SparkSubmitJ } sv.EntryPoint = ptr.String(jtv) } - case "entryPointArguments": if err := awsRestjson1_deserializeDocumentEntryPointArguments(&sv.EntryPointArguments, value); err != nil { return err } - case "sparkSubmitParameters": if value != nil { jtv, ok := value.(string) @@ -6167,7 +5980,6 @@ func awsRestjson1_deserializeDocumentSparkSubmitJobDriver(v **types.SparkSubmitJ } sv.SparkSubmitParameters = ptr.String(jtv) } - default: _, _ = key, value @@ -6279,7 +6091,6 @@ func awsRestjson1_deserializeDocumentTemplateParameterConfiguration(v **types.Te } sv.DefaultValue = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6288,7 +6099,6 @@ func awsRestjson1_deserializeDocumentTemplateParameterConfiguration(v **types.Te } sv.Type = types.TemplateParameterDataType(jtv) } - default: _, _ = key, value @@ -6363,7 +6173,6 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.CertificateProviderType = types.CertificateProviderType(jtv) } - case "privateCertificateSecretArn": if value != nil { jtv, ok := value.(string) @@ -6372,7 +6181,6 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.PrivateCertificateSecretArn = ptr.String(jtv) } - case "publicCertificateSecretArn": if value != nil { jtv, ok := value.(string) @@ -6381,7 +6189,6 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.PublicCertificateSecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6411,15 +6218,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6427,15 +6228,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6470,12 +6267,10 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Arn = ptr.String(jtv) } - case "containerProvider": if err := awsRestjson1_deserializeDocumentContainerProvider(&sv.ContainerProvider, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6488,7 +6283,6 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6497,7 +6291,6 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6506,7 +6299,6 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Name = ptr.String(jtv) } - case "securityConfigurationId": if value != nil { jtv, ok := value.(string) @@ -6515,7 +6307,6 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.SecurityConfigurationId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6524,12 +6315,10 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.State = types.VirtualClusterState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/emrserverless/deserializers.go b/service/emrserverless/deserializers.go index d7d22b5814f..fea4a74d390 100644 --- a/service/emrserverless/deserializers.go +++ b/service/emrserverless/deserializers.go @@ -182,7 +182,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.ApplicationId = ptr.String(jtv) } - case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -191,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -356,7 +354,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -365,7 +362,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -374,7 +370,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -626,7 +621,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -788,7 +782,6 @@ func awsRestjson1_deserializeOpDocumentGetDashboardForJobRunOutput(v **GetDashbo } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -946,7 +939,6 @@ func awsRestjson1_deserializeOpDocumentGetJobRunOutput(v **GetJobRunOutput, valu if err := awsRestjson1_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } - default: _, _ = key, value @@ -1101,7 +1093,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1110,7 +1101,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1268,7 +1258,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunAttemptsOutput(v **ListJobRunAt if err := awsRestjson1_deserializeDocumentJobRunAttempts(&sv.JobRunAttempts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1277,7 +1266,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunAttemptsOutput(v **ListJobRunAt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1432,7 +1420,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRuns(&sv.JobRuns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1441,7 +1428,6 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1599,7 +1585,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1861,7 +1846,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.ApplicationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1870,7 +1854,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Arn = ptr.String(jtv) } - case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -1879,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -2319,7 +2301,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -2539,7 +2520,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationId = ptr.String(jtv) } - case "architecture": if value != nil { jtv, ok := value.(string) @@ -2548,7 +2528,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Architecture = types.Architecture(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2557,17 +2536,14 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } - case "autoStartConfiguration": if err := awsRestjson1_deserializeDocumentAutoStartConfig(&sv.AutoStartConfiguration, value); err != nil { return err } - case "autoStopConfiguration": if err := awsRestjson1_deserializeDocumentAutoStopConfig(&sv.AutoStopConfiguration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2583,32 +2559,26 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } - case "imageConfiguration": if err := awsRestjson1_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } - case "initialCapacity": if err := awsRestjson1_deserializeDocumentInitialCapacityConfigMap(&sv.InitialCapacity, value); err != nil { return err } - case "interactiveConfiguration": if err := awsRestjson1_deserializeDocumentInteractiveConfiguration(&sv.InteractiveConfiguration, value); err != nil { return err } - case "maximumCapacity": if err := awsRestjson1_deserializeDocumentMaximumAllowedResources(&sv.MaximumCapacity, value); err != nil { return err } - case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2617,12 +2587,10 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -2631,17 +2599,14 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ReleaseLabel = ptr.String(jtv) } - case "runtimeConfiguration": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.RuntimeConfiguration, value); err != nil { return err } - case "schedulerConfiguration": if err := awsRestjson1_deserializeDocumentSchedulerConfiguration(&sv.SchedulerConfiguration, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -2650,7 +2615,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.State = types.ApplicationState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -2659,12 +2623,10 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.StateDetails = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2673,7 +2635,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2689,12 +2650,10 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } - case "workerTypeSpecifications": if err := awsRestjson1_deserializeDocumentWorkerTypeSpecificationMap(&sv.WorkerTypeSpecifications, value); err != nil { return err } - default: _, _ = key, value @@ -2768,7 +2727,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Architecture = types.Architecture(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2777,7 +2735,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2793,7 +2750,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "id": if value != nil { jtv, ok := value.(string) @@ -2802,7 +2758,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2811,7 +2766,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -2820,7 +2774,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ReleaseLabel = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2829,7 +2782,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.State = types.ApplicationState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -2838,7 +2790,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.StateDetails = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2847,7 +2798,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2863,7 +2813,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - default: _, _ = key, value @@ -2903,7 +2852,6 @@ func awsRestjson1_deserializeDocumentAutoStartConfig(v **types.AutoStartConfig, } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2943,7 +2891,6 @@ func awsRestjson1_deserializeDocumentAutoStopConfig(v **types.AutoStopConfig, va } sv.Enabled = ptr.Bool(jtv) } - case "idleTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2956,7 +2903,6 @@ func awsRestjson1_deserializeDocumentAutoStopConfig(v **types.AutoStopConfig, va } sv.IdleTimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2996,7 +2942,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.Enabled = ptr.Bool(jtv) } - case "encryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -3005,7 +2950,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.EncryptionKeyArn = ptr.String(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -3014,7 +2958,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.LogGroupName = ptr.String(jtv) } - case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -3023,12 +2966,10 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.LogStreamNamePrefix = ptr.String(jtv) } - case "logTypes": if err := awsRestjson1_deserializeDocumentLogTypeMap(&sv.LogTypes, value); err != nil { return err } - default: _, _ = key, value @@ -3068,17 +3009,14 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } - case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentSensitivePropertiesMap(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -3148,12 +3086,10 @@ func awsRestjson1_deserializeDocumentConfigurationOverrides(v **types.Configurat if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } - case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3183,15 +3119,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3199,15 +3129,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3278,7 +3204,6 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.InitQueryFile = ptr.String(jtv) } - case "parameters": if value != nil { jtv, ok := value.(string) @@ -3287,7 +3212,6 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.Parameters = ptr.String(jtv) } - case "query": if value != nil { jtv, ok := value.(string) @@ -3296,7 +3220,6 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.Query = ptr.String(jtv) } - default: _, _ = key, value @@ -3336,7 +3259,6 @@ func awsRestjson1_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.ImageUri = ptr.String(jtv) } - case "resolvedImageDigest": if value != nil { jtv, ok := value.(string) @@ -3345,7 +3267,6 @@ func awsRestjson1_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.ResolvedImageDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -3381,7 +3302,6 @@ func awsRestjson1_deserializeDocumentInitialCapacityConfig(v **types.InitialCapa if err := awsRestjson1_deserializeDocumentWorkerResourceConfig(&sv.WorkerConfiguration, value); err != nil { return err } - case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -3394,7 +3314,6 @@ func awsRestjson1_deserializeDocumentInitialCapacityConfig(v **types.InitialCapa } sv.WorkerCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3469,7 +3388,6 @@ func awsRestjson1_deserializeDocumentInteractiveConfiguration(v **types.Interact } sv.LivyEndpointEnabled = ptr.Bool(jtv) } - case "studioEnabled": if value != nil { jtv, ok := value.(bool) @@ -3478,7 +3396,6 @@ func awsRestjson1_deserializeDocumentInteractiveConfiguration(v **types.Interact } sv.StudioEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3508,15 +3425,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3524,15 +3435,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3617,7 +3524,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ApplicationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3532,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Arn = ptr.String(jtv) } - case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -3639,7 +3544,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = ptr.Int32(int32(i64)) } - case "attemptCreatedAt": if value != nil { switch jtv := value.(type) { @@ -3655,7 +3559,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "attemptUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3671,17 +3574,14 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "billedResourceUtilization": if err := awsRestjson1_deserializeDocumentResourceUtilization(&sv.BilledResourceUtilization, value); err != nil { return err } - case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3697,7 +3597,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3706,7 +3605,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedBy = ptr.String(jtv) } - case "endedAt": if value != nil { switch jtv := value.(type) { @@ -3722,7 +3620,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -3731,7 +3628,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionRole = ptr.String(jtv) } - case "executionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3744,12 +3640,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTimeoutMinutes = ptr.Int64(i64) } - case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } - case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -3758,7 +3652,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunId = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -3767,7 +3660,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Mode = types.JobRunMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3776,12 +3668,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Name = ptr.String(jtv) } - case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "queuedDurationMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -3794,7 +3684,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.QueuedDurationMilliseconds = ptr.Int64(i64) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -3803,12 +3692,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ReleaseLabel = ptr.String(jtv) } - case "retryPolicy": if err := awsRestjson1_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -3824,7 +3711,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "state": if value != nil { jtv, ok := value.(string) @@ -3833,7 +3719,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -3842,12 +3727,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetails = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "totalExecutionDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3860,12 +3743,10 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.TotalExecutionDurationSeconds = ptr.Int32(int32(i64)) } - case "totalResourceUtilization": if err := awsRestjson1_deserializeDocumentTotalResourceUtilization(&sv.TotalResourceUtilization, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3881,7 +3762,6 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - default: _, _ = key, value @@ -3955,7 +3835,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ApplicationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3964,7 +3843,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Arn = ptr.String(jtv) } - case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -3977,7 +3855,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Attempt = ptr.Int32(int32(i64)) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3993,7 +3870,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4002,7 +3878,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.CreatedBy = ptr.String(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -4011,7 +3886,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ExecutionRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4020,7 +3894,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Id = ptr.String(jtv) } - case "jobCreatedAt": if value != nil { switch jtv := value.(type) { @@ -4036,7 +3909,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } - case "mode": if value != nil { jtv, ok := value.(string) @@ -4045,7 +3917,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Mode = types.JobRunMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4054,7 +3925,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Name = ptr.String(jtv) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4063,7 +3933,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ReleaseLabel = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4072,7 +3941,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.State = types.JobRunState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4081,7 +3949,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.StateDetails = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4090,7 +3957,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4106,7 +3972,6 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } - default: _, _ = key, value @@ -4180,7 +4045,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ApplicationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4189,7 +4053,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Arn = ptr.String(jtv) } - case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -4202,7 +4065,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Attempt = ptr.Int32(int32(i64)) } - case "attemptCreatedAt": if value != nil { switch jtv := value.(type) { @@ -4218,7 +4080,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } - case "attemptUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4234,7 +4095,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4250,7 +4110,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4259,7 +4118,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.CreatedBy = ptr.String(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -4268,7 +4126,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ExecutionRole = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4277,7 +4134,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Id = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -4286,7 +4142,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Mode = types.JobRunMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4295,7 +4150,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Name = ptr.String(jtv) } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4304,7 +4158,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ReleaseLabel = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4313,7 +4166,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.State = types.JobRunState(jtv) } - case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4322,7 +4174,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.StateDetails = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4331,7 +4182,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4347,7 +4197,6 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } - default: _, _ = key, value @@ -4457,7 +4306,6 @@ func awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(v } sv.Enabled = ptr.Bool(jtv) } - case "encryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4466,7 +4314,6 @@ func awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(v } sv.EncryptionKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4506,7 +4353,6 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Cpu = ptr.String(jtv) } - case "disk": if value != nil { jtv, ok := value.(string) @@ -4515,7 +4361,6 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Disk = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(string) @@ -4524,7 +4369,6 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Memory = ptr.String(jtv) } - default: _, _ = key, value @@ -4560,22 +4404,18 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin if err := awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(&sv.CloudWatchLoggingConfiguration, value); err != nil { return err } - case "managedPersistenceMonitoringConfiguration": if err := awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(&sv.ManagedPersistenceMonitoringConfiguration, value); err != nil { return err } - case "prometheusMonitoringConfiguration": if err := awsRestjson1_deserializeDocumentPrometheusMonitoringConfiguration(&sv.PrometheusMonitoringConfiguration, value); err != nil { return err } - case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4611,12 +4451,10 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -4656,7 +4494,6 @@ func awsRestjson1_deserializeDocumentPrometheusMonitoringConfiguration(v **types } sv.RemoteWriteUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -4686,15 +4523,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4702,15 +4533,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4770,7 +4597,6 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } - case "storageGBHour": if value != nil { switch jtv := value.(type) { @@ -4804,7 +4630,6 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } - case "vCPUHour": if value != nil { switch jtv := value.(type) { @@ -4838,7 +4663,6 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } - default: _, _ = key, value @@ -4882,7 +4706,6 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaxAttempts = ptr.Int32(int32(i64)) } - case "maxFailedAttemptsPerHour": if value != nil { jtv, ok := value.(json.Number) @@ -4895,7 +4718,6 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaxFailedAttemptsPerHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4935,7 +4757,6 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.EncryptionKeyArn = ptr.String(jtv) } - case "logUri": if value != nil { jtv, ok := value.(string) @@ -4944,7 +4765,6 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.LogUri = ptr.String(jtv) } - default: _, _ = key, value @@ -4988,7 +4808,6 @@ func awsRestjson1_deserializeDocumentSchedulerConfiguration(v **types.SchedulerC } sv.MaxConcurrentRuns = ptr.Int32(int32(i64)) } - case "queueTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5001,7 +4820,6 @@ func awsRestjson1_deserializeDocumentSchedulerConfiguration(v **types.SchedulerC } sv.QueueTimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5103,15 +4921,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5119,15 +4931,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5162,12 +4970,10 @@ func awsRestjson1_deserializeDocumentSparkSubmit(v **types.SparkSubmit, value in } sv.EntryPoint = ptr.String(jtv) } - case "entryPointArguments": if err := awsRestjson1_deserializeDocumentEntryPointArguments(&sv.EntryPointArguments, value); err != nil { return err } - case "sparkSubmitParameters": if value != nil { jtv, ok := value.(string) @@ -5176,7 +4982,6 @@ func awsRestjson1_deserializeDocumentSparkSubmit(v **types.SparkSubmit, value in } sv.SparkSubmitParameters = ptr.String(jtv) } - default: _, _ = key, value @@ -5313,7 +5118,6 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } - case "storageGBHour": if value != nil { switch jtv := value.(type) { @@ -5347,7 +5151,6 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } - case "vCPUHour": if value != nil { switch jtv := value.(type) { @@ -5381,7 +5184,6 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } - default: _, _ = key, value @@ -5411,15 +5213,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5427,15 +5223,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5470,7 +5262,6 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Cpu = ptr.String(jtv) } - case "disk": if value != nil { jtv, ok := value.(string) @@ -5479,7 +5270,6 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Disk = ptr.String(jtv) } - case "diskType": if value != nil { jtv, ok := value.(string) @@ -5488,7 +5278,6 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.DiskType = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(string) @@ -5497,7 +5286,6 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Memory = ptr.String(jtv) } - default: _, _ = key, value @@ -5533,7 +5321,6 @@ func awsRestjson1_deserializeDocumentWorkerTypeSpecification(v **types.WorkerTyp if err := awsRestjson1_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/entityresolution/deserializers.go b/service/entityresolution/deserializers.go index 942a1f22199..42cb0303e1e 100644 --- a/service/entityresolution/deserializers.go +++ b/service/entityresolution/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Arn = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -201,7 +200,6 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Policy = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -210,7 +208,6 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -368,17 +365,14 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteUniqueIdOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentDeletedUniqueIdList(&sv.Deleted, value); err != nil { return err } - case "disconnectedUniqueIds": if err := awsRestjson1_deserializeDocumentDisconnectedUniqueIdsList(&sv.DisconnectedUniqueIds, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentDeleteUniqueIdErrorsList(&sv.Errors, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -387,7 +381,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteUniqueIdOutput(v **BatchDelete } sv.Status = types.DeleteUniqueIdStatus(jtv) } - default: _, _ = key, value @@ -558,22 +551,18 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.Description = ptr.String(jtv) } - case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -582,7 +571,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.RoleArn = ptr.String(jtv) } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -591,7 +579,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -600,7 +587,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -778,7 +764,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } } - case "description": if value != nil { jtv, ok := value.(string) @@ -787,12 +772,10 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.Description = ptr.String(jtv) } - case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } - case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -801,7 +784,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.IdNamespaceArn = ptr.String(jtv) } - case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -810,12 +792,10 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.IdNamespaceName = ptr.String(jtv) } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -824,12 +804,10 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.RoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -838,7 +816,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.Type = types.IdNamespaceType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -854,7 +831,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } } - default: _, _ = key, value @@ -1025,27 +1001,22 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.Description = ptr.String(jtv) } - case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1054,7 +1025,6 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.RoleArn = ptr.String(jtv) } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -1063,7 +1033,6 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -1072,7 +1041,6 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -1243,12 +1211,10 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.Description = ptr.String(jtv) } - case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -1257,7 +1223,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.SchemaArn = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -1266,7 +1231,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -1434,7 +1398,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIdMappingWorkflowOutput(v **DeleteI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1599,7 +1562,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIdNamespaceOutput(v **DeleteIdNames } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1767,7 +1729,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMatchingWorkflowOutput(v **DeleteMa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1938,7 +1899,6 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Arn = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -1947,7 +1907,6 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Policy = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -1956,7 +1915,6 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -2124,7 +2082,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSchemaMappingOutput(v **DeleteSchem } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2299,12 +2256,10 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } } - case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2313,17 +2268,14 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } sv.JobId = ptr.String(jtv) } - case "metrics": if err := awsRestjson1_deserializeDocumentIdMappingJobMetrics(&sv.Metrics, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -2339,7 +2291,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } } - case "status": if value != nil { jtv, ok := value.(string) @@ -2348,7 +2299,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -2523,7 +2473,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2532,22 +2481,18 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.Description = ptr.String(jtv) } - case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2556,12 +2501,10 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.RoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2577,7 +2520,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2528,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2536,6 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -2770,7 +2710,6 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2779,12 +2718,10 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.Description = ptr.String(jtv) } - case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } - case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -2793,7 +2730,6 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.IdNamespaceArn = ptr.String(jtv) } - case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -2802,12 +2738,10 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.IdNamespaceName = ptr.String(jtv) } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2816,12 +2750,10 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.RoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2830,7 +2762,6 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.Type = types.IdNamespaceType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2846,7 +2777,6 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } } - default: _, _ = key, value @@ -3014,7 +2944,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchIdOutput(v **GetMatchIdOutput, va } sv.MatchId = ptr.String(jtv) } - case "matchRule": if value != nil { jtv, ok := value.(string) @@ -3023,7 +2952,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchIdOutput(v **GetMatchIdOutput, va } sv.MatchRule = ptr.String(jtv) } - default: _, _ = key, value @@ -3198,12 +3126,10 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } } - case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -3212,17 +3138,14 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } sv.JobId = ptr.String(jtv) } - case "metrics": if err := awsRestjson1_deserializeDocumentJobMetrics(&sv.Metrics, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3238,7 +3161,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3247,7 +3169,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -3422,7 +3343,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3431,27 +3351,22 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.Description = ptr.String(jtv) } - case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3460,12 +3375,10 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.RoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3481,7 +3394,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -3490,7 +3402,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3410,6 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -3667,7 +3577,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Arn = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -3676,7 +3585,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -3685,7 +3593,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -3853,42 +3760,34 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.AnonymizedOutput = ptr.Bool(jtv) } - case "providerComponentSchema": if err := awsRestjson1_deserializeDocumentProviderComponentSchema(&sv.ProviderComponentSchema, value); err != nil { return err } - case "providerConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfigurationDefinition, value); err != nil { return err } - case "providerEndpointConfiguration": if err := awsRestjson1_deserializeDocumentProviderEndpointConfiguration(&sv.ProviderEndpointConfiguration, value); err != nil { return err } - case "providerEntityOutputDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderEntityOutputDefinition, value); err != nil { return err } - case "providerIdNameSpaceConfiguration": if err := awsRestjson1_deserializeDocumentProviderIdNameSpaceConfiguration(&sv.ProviderIdNameSpaceConfiguration, value); err != nil { return err } - case "providerIntermediateDataAccessConfiguration": if err := awsRestjson1_deserializeDocumentProviderIntermediateDataAccessConfiguration(&sv.ProviderIntermediateDataAccessConfiguration, value); err != nil { return err } - case "providerJobConfiguration": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderJobConfiguration, value); err != nil { return err } - case "providerName": if value != nil { jtv, ok := value.(string) @@ -3897,7 +3796,6 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderName = ptr.String(jtv) } - case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -3906,7 +3804,6 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceArn = ptr.String(jtv) } - case "providerServiceDisplayName": if value != nil { jtv, ok := value.(string) @@ -3915,7 +3812,6 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceDisplayName = ptr.String(jtv) } - case "providerServiceName": if value != nil { jtv, ok := value.(string) @@ -3924,7 +3820,6 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceName = ptr.String(jtv) } - case "providerServiceType": if value != nil { jtv, ok := value.(string) @@ -3933,7 +3828,6 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceType = types.ServiceType(jtv) } - default: _, _ = key, value @@ -4108,7 +4002,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4117,7 +4010,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.Description = ptr.String(jtv) } - case "hasWorkflows": if value != nil { jtv, ok := value.(bool) @@ -4126,12 +4018,10 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.HasWorkflows = ptr.Bool(jtv) } - case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -4140,7 +4030,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.SchemaArn = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -4149,12 +4038,10 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.SchemaName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4170,7 +4057,6 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } } - default: _, _ = key, value @@ -4334,7 +4220,6 @@ func awsRestjson1_deserializeOpDocumentListIdMappingJobsOutput(v **ListIdMapping if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4343,7 +4228,6 @@ func awsRestjson1_deserializeOpDocumentListIdMappingJobsOutput(v **ListIdMapping } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4508,12 +4392,10 @@ func awsRestjson1_deserializeOpDocumentListIdMappingWorkflowsOutput(v **ListIdMa } sv.NextToken = ptr.String(jtv) } - case "workflowSummaries": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowList(&sv.WorkflowSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -4674,7 +4556,6 @@ func awsRestjson1_deserializeOpDocumentListIdNamespacesOutput(v **ListIdNamespac if err := awsRestjson1_deserializeDocumentIdNamespaceList(&sv.IdNamespaceSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4683,7 +4564,6 @@ func awsRestjson1_deserializeOpDocumentListIdNamespacesOutput(v **ListIdNamespac } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4847,7 +4727,6 @@ func awsRestjson1_deserializeOpDocumentListMatchingJobsOutput(v **ListMatchingJo if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4856,7 +4735,6 @@ func awsRestjson1_deserializeOpDocumentListMatchingJobsOutput(v **ListMatchingJo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5021,12 +4899,10 @@ func awsRestjson1_deserializeOpDocumentListMatchingWorkflowsOutput(v **ListMatch } sv.NextToken = ptr.String(jtv) } - case "workflowSummaries": if err := awsRestjson1_deserializeDocumentMatchingWorkflowList(&sv.WorkflowSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -5191,12 +5067,10 @@ func awsRestjson1_deserializeOpDocumentListProviderServicesOutput(v **ListProvid } sv.NextToken = ptr.String(jtv) } - case "providerServiceSummaries": if err := awsRestjson1_deserializeDocumentProviderServiceList(&sv.ProviderServiceSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -5361,12 +5235,10 @@ func awsRestjson1_deserializeOpDocumentListSchemaMappingsOutput(v **ListSchemaMa } sv.NextToken = ptr.String(jtv) } - case "schemaList": if err := awsRestjson1_deserializeDocumentSchemaMappingList(&sv.SchemaList, value); err != nil { return err } - default: _, _ = key, value @@ -5524,7 +5396,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5695,7 +5566,6 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Arn = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5574,6 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Policy = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -5713,7 +5582,6 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -5887,12 +5755,10 @@ func awsRestjson1_deserializeOpDocumentStartIdMappingJobOutput(v **StartIdMappin } sv.JobId = ptr.String(jtv) } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6066,7 +5932,6 @@ func awsRestjson1_deserializeOpDocumentStartMatchingJobOutput(v **StartMatchingJ } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -6419,22 +6284,18 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.Description = ptr.String(jtv) } - case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6443,7 +6304,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.RoleArn = ptr.String(jtv) } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -6452,7 +6312,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -6461,7 +6320,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -6636,7 +6494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6645,12 +6502,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.Description = ptr.String(jtv) } - case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } - case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -6659,7 +6514,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.IdNamespaceArn = ptr.String(jtv) } - case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -6668,12 +6522,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.IdNamespaceName = ptr.String(jtv) } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6682,7 +6534,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.RoleArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6691,7 +6542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.Type = types.IdNamespaceType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6707,7 +6557,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } } - default: _, _ = key, value @@ -6875,27 +6724,22 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.Description = ptr.String(jtv) } - case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } - case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } - case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } - case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6904,7 +6748,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.RoleArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -6913,7 +6756,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -7084,12 +6926,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.Description = ptr.String(jtv) } - case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -7098,7 +6938,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.SchemaArn = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -7107,7 +6946,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -7389,15 +7227,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7405,15 +7237,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7474,15 +7302,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7490,15 +7312,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7533,7 +7351,6 @@ func awsRestjson1_deserializeDocumentDeletedUniqueId(v **types.DeletedUniqueId, } sv.UniqueId = ptr.String(jtv) } - default: _, _ = key, value @@ -7607,7 +7424,6 @@ func awsRestjson1_deserializeDocumentDeleteUniqueIdError(v **types.DeleteUniqueI } sv.ErrorType = types.DeleteUniqueIdErrorType(jtv) } - case "uniqueId": if value != nil { jtv, ok := value.(string) @@ -7616,7 +7432,6 @@ func awsRestjson1_deserializeDocumentDeleteUniqueIdError(v **types.DeleteUniqueI } sv.UniqueId = ptr.String(jtv) } - default: _, _ = key, value @@ -7726,7 +7541,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7756,15 +7570,9 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7772,7 +7580,6 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.Message = ptr.String(jtv) } - case "quotaName": if value != nil { jtv, ok := value.(string) @@ -7781,7 +7588,6 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.QuotaName = ptr.String(jtv) } - case "quotaValue": if value != nil { jtv, ok := value.(json.Number) @@ -7794,15 +7600,11 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.QuotaValue = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7841,7 +7643,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.InputRecords = ptr.Int32(int32(i64)) } - case "recordsNotProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7854,7 +7655,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.RecordsNotProcessed = ptr.Int32(int32(i64)) } - case "totalMappedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7867,7 +7667,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedRecords = ptr.Int32(int32(i64)) } - case "totalMappedSourceRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7880,7 +7679,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedSourceRecords = ptr.Int32(int32(i64)) } - case "totalMappedTargetRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7893,7 +7691,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedTargetRecords = ptr.Int32(int32(i64)) } - case "totalRecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7906,7 +7703,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalRecordsProcessed = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7946,7 +7742,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.KMSArn = ptr.String(jtv) } - case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -7955,7 +7750,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.OutputS3Path = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7964,7 +7758,6 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8038,7 +7831,6 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } - case "recordMatchingModel": if value != nil { jtv, ok := value.(string) @@ -8047,7 +7839,6 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.RecordMatchingModel = types.RecordMatchingModel(jtv) } - case "ruleDefinitionType": if value != nil { jtv, ok := value.(string) @@ -8056,12 +7847,10 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.RuleDefinitionType = types.IdMappingWorkflowRuleDefinitionType(jtv) } - case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -8101,17 +7890,14 @@ func awsRestjson1_deserializeDocumentIdMappingTechniques(v **types.IdMappingTech } sv.IdMappingType = types.IdMappingType(jtv) } - case "providerProperties": if err := awsRestjson1_deserializeDocumentProviderProperties(&sv.ProviderProperties, value); err != nil { return err } - case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } - default: _, _ = key, value @@ -8151,7 +7937,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.InputSourceARN = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -8160,7 +7945,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.SchemaName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8169,7 +7953,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.Type = types.IdNamespaceType(jtv) } - default: _, _ = key, value @@ -8277,7 +8060,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSource(v **types.IdM } sv.KMSArn = ptr.String(jtv) } - case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -8286,7 +8068,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSource(v **types.IdM } sv.OutputS3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -8403,7 +8184,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8419,7 +8199,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -8428,7 +8207,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -8437,7 +8215,6 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -8477,7 +8254,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowMetadata(v **ty } sv.IdMappingType = types.IdMappingType(jtv) } - default: _, _ = key, value @@ -8551,17 +8327,14 @@ func awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowProperties(v ** } sv.IdMappingType = types.IdMappingType(jtv) } - case "providerProperties": if err := awsRestjson1_deserializeDocumentNamespaceProviderProperties(&sv.ProviderProperties, value); err != nil { return err } - case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentNamespaceRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } - default: _, _ = key, value @@ -8635,7 +8408,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceInputSource(v **types.IdNamespac } sv.InputSourceARN = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -8644,7 +8416,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceInputSource(v **types.IdNamespac } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -8759,7 +8530,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8768,12 +8538,10 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.Description = ptr.String(jtv) } - case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowMetadataList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } - case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -8782,7 +8550,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.IdNamespaceArn = ptr.String(jtv) } - case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -8791,7 +8558,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.IdNamespaceName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8800,7 +8566,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.Type = types.IdNamespaceType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8816,7 +8581,6 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } } - default: _, _ = key, value @@ -8856,7 +8620,6 @@ func awsRestjson1_deserializeDocumentIncrementalRunConfig(v **types.IncrementalR } sv.IncrementalRunType = types.IncrementalRunType(jtv) } - default: _, _ = key, value @@ -8896,7 +8659,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.ApplyNormalization = ptr.Bool(jtv) } - case "inputSourceARN": if value != nil { jtv, ok := value.(string) @@ -8905,7 +8667,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.InputSourceARN = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -8914,7 +8675,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -8988,7 +8748,6 @@ func awsRestjson1_deserializeDocumentIntermediateSourceConfiguration(v **types.I } sv.IntermediateS3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9018,15 +8777,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9034,15 +8787,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9115,7 +8864,6 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.InputRecords = ptr.Int32(int32(i64)) } - case "matchIDs": if value != nil { jtv, ok := value.(json.Number) @@ -9128,7 +8876,6 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.MatchIDs = ptr.Int32(int32(i64)) } - case "recordsNotProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -9141,7 +8888,6 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.RecordsNotProcessed = ptr.Int32(int32(i64)) } - case "totalRecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -9154,7 +8900,6 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.TotalRecordsProcessed = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9194,7 +8939,6 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.KMSArn = ptr.String(jtv) } - case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -9203,7 +8947,6 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.OutputS3Path = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9212,7 +8955,6 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9293,7 +9035,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -9302,7 +9043,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -9318,7 +9058,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -9327,7 +9066,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -9444,7 +9182,6 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } } - case "resolutionType": if value != nil { jtv, ok := value.(string) @@ -9453,7 +9190,6 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.ResolutionType = types.ResolutionType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9469,7 +9205,6 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -9478,7 +9213,6 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.WorkflowArn = ptr.String(jtv) } - case "workflowName": if value != nil { jtv, ok := value.(string) @@ -9487,7 +9221,6 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -9523,7 +9256,6 @@ func awsRestjson1_deserializeDocumentNamespaceProviderProperties(v **types.Names if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfiguration, value); err != nil { return err } - case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -9532,7 +9264,6 @@ func awsRestjson1_deserializeDocumentNamespaceProviderProperties(v **types.Names } sv.ProviderServiceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9572,22 +9303,18 @@ func awsRestjson1_deserializeDocumentNamespaceRuleBasedProperties(v **types.Name } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } - case "recordMatchingModels": if err := awsRestjson1_deserializeDocumentRecordMatchingModelList(&sv.RecordMatchingModels, value); err != nil { return err } - case "ruleDefinitionTypes": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowRuleDefinitionTypeList(&sv.RuleDefinitionTypes, value); err != nil { return err } - case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -9627,7 +9354,6 @@ func awsRestjson1_deserializeDocumentOutputAttribute(v **types.OutputAttribute, } sv.Hashed = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9636,7 +9362,6 @@ func awsRestjson1_deserializeDocumentOutputAttribute(v **types.OutputAttribute, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9710,7 +9435,6 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.ApplyNormalization = ptr.Bool(jtv) } - case "KMSArn": if value != nil { jtv, ok := value.(string) @@ -9719,12 +9443,10 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.KMSArn = ptr.String(jtv) } - case "output": if err := awsRestjson1_deserializeDocumentOutputAttributes(&sv.Output, value); err != nil { return err } - case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9455,6 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputS3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9803,12 +9524,10 @@ func awsRestjson1_deserializeDocumentProviderComponentSchema(v **types.ProviderC if err := awsRestjson1_deserializeDocumentProviderSchemaAttributes(&sv.ProviderSchemaAttributes, value); err != nil { return err } - case "schemas": if err := awsRestjson1_deserializeDocumentSchemas(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -9888,17 +9607,14 @@ func awsRestjson1_deserializeDocumentProviderIdNameSpaceConfiguration(v **types. } sv.Description = ptr.String(jtv) } - case "providerSourceConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderSourceConfigurationDefinition, value); err != nil { return err } - case "providerTargetConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderTargetConfigurationDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -9934,12 +9650,10 @@ func awsRestjson1_deserializeDocumentProviderIntermediateDataAccessConfiguration if err := awsRestjson1_deserializeDocumentAwsAccountIdList(&sv.AwsAccountIds, value); err != nil { return err } - case "requiredBucketActions": if err := awsRestjson1_deserializeDocumentRequiredBucketActionsList(&sv.RequiredBucketActions, value); err != nil { return err } - default: _, _ = key, value @@ -9979,7 +9693,6 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.AssetId = ptr.String(jtv) } - case "dataSetId": if value != nil { jtv, ok := value.(string) @@ -9988,7 +9701,6 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.DataSetId = ptr.String(jtv) } - case "listingId": if value != nil { jtv, ok := value.(string) @@ -9997,7 +9709,6 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.ListingId = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -10006,7 +9717,6 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10042,12 +9752,10 @@ func awsRestjson1_deserializeDocumentProviderProperties(v **types.ProviderProper if err := awsRestjson1_deserializeDocumentIntermediateSourceConfiguration(&sv.IntermediateSourceConfiguration, value); err != nil { return err } - case "providerConfiguration": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfiguration, value); err != nil { return err } - case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -10056,7 +9764,6 @@ func awsRestjson1_deserializeDocumentProviderProperties(v **types.ProviderProper } sv.ProviderServiceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10096,7 +9803,6 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.FieldName = ptr.String(jtv) } - case "hashing": if value != nil { jtv, ok := value.(bool) @@ -10105,7 +9811,6 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.Hashing = ptr.Bool(jtv) } - case "subType": if value != nil { jtv, ok := value.(string) @@ -10114,7 +9819,6 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.SubType = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10123,7 +9827,6 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.Type = types.SchemaAttributeType(jtv) } - default: _, _ = key, value @@ -10231,7 +9934,6 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderName = ptr.String(jtv) } - case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -10240,7 +9942,6 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceArn = ptr.String(jtv) } - case "providerServiceDisplayName": if value != nil { jtv, ok := value.(string) @@ -10249,7 +9950,6 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceDisplayName = ptr.String(jtv) } - case "providerServiceName": if value != nil { jtv, ok := value.(string) @@ -10258,7 +9958,6 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceName = ptr.String(jtv) } - case "providerServiceType": if value != nil { jtv, ok := value.(string) @@ -10267,7 +9966,6 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceType = types.ServiceType(jtv) } - default: _, _ = key, value @@ -10375,7 +10073,6 @@ func awsRestjson1_deserializeDocumentResolutionTechniques(v **types.ResolutionTe if err := awsRestjson1_deserializeDocumentProviderProperties(&sv.ProviderProperties, value); err != nil { return err } - case "resolutionType": if value != nil { jtv, ok := value.(string) @@ -10384,12 +10081,10 @@ func awsRestjson1_deserializeDocumentResolutionTechniques(v **types.ResolutionTe } sv.ResolutionType = types.ResolutionType(jtv) } - case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } - default: _, _ = key, value @@ -10419,15 +10114,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10435,15 +10124,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10474,7 +10159,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentMatchingKeys(&sv.MatchingKeys, value); err != nil { return err } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -10483,7 +10167,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -10523,7 +10206,6 @@ func awsRestjson1_deserializeDocumentRuleBasedProperties(v **types.RuleBasedProp } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } - case "matchPurpose": if value != nil { jtv, ok := value.(string) @@ -10532,12 +10214,10 @@ func awsRestjson1_deserializeDocumentRuleBasedProperties(v **types.RuleBasedProp } sv.MatchPurpose = types.MatchPurpose(jtv) } - case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -10611,7 +10291,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.FieldName = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -10620,7 +10299,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.GroupName = ptr.String(jtv) } - case "hashed": if value != nil { jtv, ok := value.(bool) @@ -10629,7 +10307,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.Hashed = ptr.Bool(jtv) } - case "matchKey": if value != nil { jtv, ok := value.(string) @@ -10638,7 +10315,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.MatchKey = ptr.String(jtv) } - case "subType": if value != nil { jtv, ok := value.(string) @@ -10647,7 +10323,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.SubType = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10656,7 +10331,6 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.Type = types.SchemaAttributeType(jtv) } - default: _, _ = key, value @@ -10807,7 +10481,6 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } } - case "hasWorkflows": if value != nil { jtv, ok := value.(bool) @@ -10816,7 +10489,6 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.HasWorkflows = ptr.Bool(jtv) } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -10825,7 +10497,6 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.SchemaArn = ptr.String(jtv) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -10834,7 +10505,6 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.SchemaName = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10850,7 +10520,6 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } } - default: _, _ = key, value @@ -10948,15 +10617,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10964,15 +10627,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10997,15 +10656,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11013,15 +10666,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/eventbridge/deserializers.go b/service/eventbridge/deserializers.go index 7208e231487..ad8878f562e 100644 --- a/service/eventbridge/deserializers.go +++ b/service/eventbridge/deserializers.go @@ -6940,7 +6940,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -6949,7 +6948,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6958,7 +6956,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ConnectionArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6974,7 +6971,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6983,7 +6979,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } - case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -6992,7 +6987,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationEndpoint = ptr.String(jtv) } - case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -7005,7 +6999,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7021,7 +7014,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7030,7 +7022,6 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7104,7 +7095,6 @@ func awsAwsjson11_deserializeDocumentAppSyncParameters(v **types.AppSyncParamete } sv.GraphQLOperation = ptr.String(jtv) } - default: _, _ = key, value @@ -7144,7 +7134,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7160,7 +7149,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } } - case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -7173,7 +7161,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventCount = i64 } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -7182,7 +7169,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventSourceArn = ptr.String(jtv) } - case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -7195,7 +7181,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.RetentionDays = ptr.Int32(int32(i64)) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7208,7 +7193,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.SizeBytes = i64 } - case "State": if value != nil { jtv, ok := value.(string) @@ -7217,7 +7201,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -7226,7 +7209,6 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7300,17 +7282,14 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -7354,7 +7333,6 @@ func awsAwsjson11_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = int32(i64) } - default: _, _ = key, value @@ -7390,7 +7368,6 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, if err := awsAwsjson11_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } - case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -7399,7 +7376,6 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobDefinition = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -7408,12 +7384,10 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobName = ptr.String(jtv) } - case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - default: _, _ = key, value @@ -7457,7 +7431,6 @@ func awsAwsjson11_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = int32(i64) } - default: _, _ = key, value @@ -7535,7 +7508,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } - case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -7544,7 +7516,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -7557,7 +7528,6 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -7587,15 +7557,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7603,15 +7567,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7646,7 +7606,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7655,7 +7614,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -7664,7 +7622,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7680,7 +7637,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -7696,7 +7652,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7712,7 +7667,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7721,7 +7675,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -7730,7 +7683,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7770,7 +7722,6 @@ func awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(v ** } sv.ApiKeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -7806,22 +7757,18 @@ func awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(v **types. if err := awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(&sv.ApiKeyAuthParameters, value); err != nil { return err } - case "BasicAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(&sv.BasicAuthParameters, value); err != nil { return err } - case "InvocationHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.InvocationHttpParameters, value); err != nil { return err } - case "OAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(&sv.OAuthParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7861,7 +7808,6 @@ func awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(v **t } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -7901,7 +7847,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -7910,7 +7855,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7919,7 +7863,6 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7993,7 +7936,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -8002,7 +7944,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8011,7 +7952,6 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8081,17 +8021,14 @@ func awsAwsjson11_deserializeDocumentConnectionHttpParameters(v **types.Connecti if err := awsAwsjson11_deserializeDocumentConnectionBodyParametersList(&sv.BodyParameters, value); err != nil { return err } - case "HeaderParameters": if err := awsAwsjson11_deserializeDocumentConnectionHeaderParametersList(&sv.HeaderParameters, value); err != nil { return err } - case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentConnectionQueryStringParametersList(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -8131,7 +8068,6 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(v * } sv.ClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -8171,12 +8107,10 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.AuthorizationEndpoint = ptr.String(jtv) } - case "ClientParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(&sv.ClientParameters, value); err != nil { return err } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -8185,12 +8119,10 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.HttpMethod = types.ConnectionOAuthHttpMethod(jtv) } - case "OAuthHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.OAuthHttpParameters, value); err != nil { return err } - default: _, _ = key, value @@ -8230,7 +8162,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.IsValueSecret = jtv } - case "Key": if value != nil { jtv, ok := value.(string) @@ -8239,7 +8170,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8248,7 +8178,6 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8356,7 +8285,6 @@ func awsAwsjson11_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -8392,7 +8320,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -8401,7 +8328,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = jtv } - case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -8410,7 +8336,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = jtv } - case "Group": if value != nil { jtv, ok := value.(string) @@ -8419,7 +8344,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } - case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -8428,22 +8352,18 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } - case "NetworkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "PlacementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "PlacementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -8452,7 +8372,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } - case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -8461,7 +8380,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } - case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -8470,12 +8388,10 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -8488,7 +8404,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } - case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -8497,7 +8412,6 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8537,7 +8451,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8553,7 +8466,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8562,7 +8474,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Description = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -8571,7 +8482,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointId = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -8580,12 +8490,10 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointUrl = ptr.String(jtv) } - case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8601,7 +8509,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8610,12 +8517,10 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Name = ptr.String(jtv) } - case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8624,12 +8529,10 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.RoleArn = ptr.String(jtv) } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -8638,7 +8541,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.State = types.EndpointState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -8647,7 +8549,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -8687,7 +8588,6 @@ func awsAwsjson11_deserializeDocumentEndpointEventBus(v **types.EndpointEventBus } sv.EventBusArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8795,7 +8695,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8811,7 +8710,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8820,7 +8718,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8836,7 +8733,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8845,7 +8741,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Name = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -8854,7 +8749,6 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -8928,7 +8822,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -8937,7 +8830,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.CreatedBy = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8953,7 +8845,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -8969,7 +8860,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8978,7 +8868,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -8987,7 +8876,6 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -9057,12 +8945,10 @@ func awsAwsjson11_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va if err := awsAwsjson11_deserializeDocumentPrimary(&sv.Primary, value); err != nil { return err } - case "Secondary": if err := awsAwsjson11_deserializeDocumentSecondary(&sv.Secondary, value); err != nil { return err } - default: _, _ = key, value @@ -9134,17 +9020,14 @@ func awsAwsjson11_deserializeDocumentHttpParameters(v **types.HttpParameters, va if err := awsAwsjson11_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } - case "PathParameterValues": if err := awsAwsjson11_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } - case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -9174,15 +9057,9 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9190,15 +9067,11 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9229,7 +9102,6 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer if err := awsAwsjson11_deserializeDocumentTransformerPaths(&sv.InputPathsMap, value); err != nil { return err } - case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -9238,7 +9110,6 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer } sv.InputTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -9268,15 +9139,9 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9284,15 +9149,11 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9317,15 +9178,9 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9333,15 +9188,11 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9366,15 +9217,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9382,15 +9227,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9425,7 +9266,6 @@ func awsAwsjson11_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKeyPath = ptr.String(jtv) } - default: _, _ = key, value @@ -9455,15 +9295,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9471,15 +9305,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9504,15 +9334,9 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9520,15 +9344,11 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9559,7 +9379,6 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9589,15 +9408,9 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9605,15 +9418,11 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9648,7 +9457,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9657,7 +9465,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9697,7 +9504,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.Account = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9713,7 +9519,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -9729,7 +9534,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9542,6 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -9882,7 +9685,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9891,7 +9693,6 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } - default: _, _ = key, value @@ -9999,7 +9800,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10008,7 +9808,6 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } - default: _, _ = key, value @@ -10038,15 +9837,9 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10054,15 +9847,11 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10097,7 +9886,6 @@ func awsAwsjson11_deserializeDocumentPrimary(v **types.Primary, value interface{ } sv.HealthCheck = ptr.String(jtv) } - default: _, _ = key, value @@ -10137,7 +9925,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10146,7 +9933,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorMessage = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -10155,7 +9941,6 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -10229,7 +10014,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10238,7 +10022,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorMessage = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -10247,7 +10030,6 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -10321,7 +10103,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10330,7 +10111,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorMessage = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10339,7 +10119,6 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10449,7 +10228,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Database = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -10458,7 +10236,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.DbUser = ptr.String(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -10467,7 +10244,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.SecretManagerArn = ptr.String(jtv) } - case "Sql": if value != nil { jtv, ok := value.(string) @@ -10476,12 +10252,10 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Sql = ptr.String(jtv) } - case "Sqls": if err := awsAwsjson11_deserializeDocumentSqls(&sv.Sqls, value); err != nil { return err } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10264,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.StatementName = ptr.String(jtv) } - case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -10499,7 +10272,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.WithEvent = jtv } - default: _, _ = key, value @@ -10539,7 +10311,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10548,7 +10319,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorMessage = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10557,7 +10327,6 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10638,7 +10407,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -10654,7 +10422,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -10663,7 +10430,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.EventSourceArn = ptr.String(jtv) } - case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -10679,7 +10445,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -10695,7 +10460,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -10704,7 +10468,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.ReplayName = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -10720,7 +10483,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } - case "State": if value != nil { jtv, ok := value.(string) @@ -10729,7 +10491,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10738,7 +10499,6 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -10778,12 +10538,10 @@ func awsAwsjson11_deserializeDocumentReplayDestination(v **types.ReplayDestinati } sv.Arn = ptr.String(jtv) } - case "FilterArns": if err := awsAwsjson11_deserializeDocumentReplayDestinationFilters(&sv.FilterArns, value); err != nil { return err } - default: _, _ = key, value @@ -10893,7 +10651,6 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.State = types.ReplicationState(jtv) } - default: _, _ = key, value @@ -10923,15 +10680,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10939,15 +10690,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10972,15 +10719,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10988,15 +10729,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11035,7 +10772,6 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -11048,7 +10784,6 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11084,7 +10819,6 @@ func awsAwsjson11_deserializeDocumentRoutingConfig(v **types.RoutingConfig, valu if err := awsAwsjson11_deserializeDocumentFailoverConfig(&sv.FailoverConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11124,7 +10858,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11133,7 +10866,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Description = ptr.String(jtv) } - case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -11142,7 +10874,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventBusName = ptr.String(jtv) } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -11151,7 +10882,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventPattern = ptr.String(jtv) } - case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -11160,7 +10890,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ManagedBy = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11169,7 +10898,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11178,7 +10906,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RoleArn = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -11187,7 +10914,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ScheduleExpression = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11196,7 +10922,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.State = types.RuleState(jtv) } - default: _, _ = key, value @@ -11302,7 +11027,6 @@ func awsAwsjson11_deserializeDocumentRunCommandParameters(v **types.RunCommandPa if err := awsAwsjson11_deserializeDocumentRunCommandTargets(&sv.RunCommandTargets, value); err != nil { return err } - default: _, _ = key, value @@ -11342,12 +11066,10 @@ func awsAwsjson11_deserializeDocumentRunCommandTarget(v **types.RunCommandTarget } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentRunCommandTargetValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -11457,7 +11179,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11466,7 +11187,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11536,7 +11256,6 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } - default: _, _ = key, value @@ -11576,7 +11295,6 @@ func awsAwsjson11_deserializeDocumentSecondary(v **types.Secondary, value interf } sv.Route = ptr.String(jtv) } - default: _, _ = key, value @@ -11652,7 +11370,6 @@ func awsAwsjson11_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -11728,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11737,7 +11453,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11807,7 +11522,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) if err := awsAwsjson11_deserializeDocumentAppSyncParameters(&sv.AppSyncParameters, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -11816,27 +11530,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } - case "BatchParameters": if err := awsAwsjson11_deserializeDocumentBatchParameters(&sv.BatchParameters, value); err != nil { return err } - case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "EcsParameters": if err := awsAwsjson11_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } - case "HttpParameters": if err := awsAwsjson11_deserializeDocumentHttpParameters(&sv.HttpParameters, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11845,7 +11554,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } - case "Input": if value != nil { jtv, ok := value.(string) @@ -11854,7 +11562,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } - case "InputPath": if value != nil { jtv, ok := value.(string) @@ -11863,27 +11570,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.InputPath = ptr.String(jtv) } - case "InputTransformer": if err := awsAwsjson11_deserializeDocumentInputTransformer(&sv.InputTransformer, value); err != nil { return err } - case "KinesisParameters": if err := awsAwsjson11_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } - case "RedshiftDataParameters": if err := awsAwsjson11_deserializeDocumentRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } - case "RetryPolicy": if err := awsAwsjson11_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11892,22 +11594,18 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } - case "RunCommandParameters": if err := awsAwsjson11_deserializeDocumentRunCommandParameters(&sv.RunCommandParameters, value); err != nil { return err } - case "SageMakerPipelineParameters": if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } - case "SqsParameters": if err := awsAwsjson11_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } - default: _, _ = key, value @@ -12017,7 +11715,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.ReplayArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -12026,7 +11723,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12035,7 +11731,6 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -12075,7 +11770,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -12084,7 +11778,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12100,7 +11793,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12116,7 +11808,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } - default: _, _ = key, value @@ -12156,7 +11847,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12172,7 +11862,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12181,7 +11870,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12190,7 +11878,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -12230,7 +11917,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12239,7 +11925,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12255,7 +11940,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12271,7 +11955,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } - default: _, _ = key, value @@ -12311,12 +11994,10 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.Arn = ptr.String(jtv) } - case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12325,12 +12006,10 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.Name = ptr.String(jtv) } - case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12339,12 +12018,10 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.RoleArn = ptr.String(jtv) } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -12353,7 +12030,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.State = types.EndpointState(jtv) } - default: _, _ = key, value @@ -12389,7 +12065,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12398,7 +12073,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.Description = ptr.String(jtv) } - case "EventBusArn": if value != nil { jtv, ok := value.(string) @@ -12407,7 +12081,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.EventBusArn = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -12416,7 +12089,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.KmsKeyIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12456,7 +12128,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePartnerEventSourceOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12496,7 +12167,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12505,7 +12175,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12521,7 +12190,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -12537,7 +12205,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12553,7 +12220,6 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } - default: _, _ = key, value @@ -12655,7 +12321,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12664,7 +12329,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12680,7 +12344,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -12696,7 +12359,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12712,7 +12374,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } - default: _, _ = key, value @@ -12783,7 +12444,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -12792,7 +12452,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -12801,7 +12460,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ConnectionArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12817,7 +12475,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12826,7 +12483,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Description = ptr.String(jtv) } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -12835,7 +12491,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } - case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -12844,7 +12499,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationEndpoint = ptr.String(jtv) } - case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -12857,7 +12511,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12873,7 +12526,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12882,7 +12534,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12922,7 +12573,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveArn = ptr.String(jtv) } - case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -12931,7 +12581,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12947,7 +12596,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12956,7 +12604,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.Description = ptr.String(jtv) } - case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -12969,7 +12616,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventCount = i64 } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -12978,7 +12624,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventPattern = ptr.String(jtv) } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -12987,7 +12632,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventSourceArn = ptr.String(jtv) } - case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -13000,7 +12644,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.RetentionDays = ptr.Int32(int32(i64)) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13013,7 +12656,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.SizeBytes = i64 } - case "State": if value != nil { jtv, ok := value.(string) @@ -13022,7 +12664,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13031,7 +12672,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13071,12 +12711,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } - case "AuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(&sv.AuthParameters, value); err != nil { return err } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -13085,7 +12723,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -13094,7 +12731,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13110,7 +12746,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13119,7 +12754,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Description = ptr.String(jtv) } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -13135,7 +12769,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13151,7 +12784,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13160,7 +12792,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Name = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -13169,7 +12800,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.SecretArn = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13178,7 +12808,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13218,7 +12847,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13234,7 +12862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13243,7 +12870,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Description = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -13252,7 +12878,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointId = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -13261,12 +12886,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointUrl = ptr.String(jtv) } - case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13282,7 +12905,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13291,12 +12913,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Name = ptr.String(jtv) } - case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -13305,12 +12925,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.RoleArn = ptr.String(jtv) } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -13319,7 +12937,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.State = types.EndpointState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13328,7 +12945,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13368,7 +12984,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13384,12 +12999,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } } - case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13398,7 +13011,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Description = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -13407,7 +13019,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13423,7 +13034,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13432,7 +13042,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Name = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -13441,7 +13050,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -13481,7 +13089,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13490,7 +13097,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.CreatedBy = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13506,7 +13112,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -13522,7 +13127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13531,7 +13135,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13540,7 +13143,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.State = types.EventSourceState(jtv) } - default: _, _ = key, value @@ -13580,7 +13182,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13589,7 +13190,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13629,12 +13229,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.Description = ptr.String(jtv) } - case "Destination": if err := awsAwsjson11_deserializeDocumentReplayDestination(&sv.Destination, value); err != nil { return err } - case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -13650,7 +13248,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -13666,7 +13263,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -13675,7 +13271,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.EventSourceArn = ptr.String(jtv) } - case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -13691,7 +13286,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "ReplayArn": if value != nil { jtv, ok := value.(string) @@ -13700,7 +13294,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayArn = ptr.String(jtv) } - case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -13716,7 +13309,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -13725,7 +13317,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayName = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -13741,7 +13332,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13750,7 +13340,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13759,7 +13348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13799,7 +13387,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Arn = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13808,7 +13395,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13817,7 +13403,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Description = ptr.String(jtv) } - case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -13826,7 +13411,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventBusName = ptr.String(jtv) } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -13835,7 +13419,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventPattern = ptr.String(jtv) } - case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -13844,7 +13427,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ManagedBy = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13853,7 +13435,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -13862,7 +13443,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.RoleArn = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -13871,7 +13451,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ScheduleExpression = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13880,7 +13459,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.State = types.RuleState(jtv) } - default: _, _ = key, value @@ -13916,7 +13494,6 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest if err := awsAwsjson11_deserializeDocumentApiDestinationResponseList(&sv.ApiDestinations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13925,7 +13502,6 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13961,7 +13537,6 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson11_deserializeDocumentArchiveResponseList(&sv.Archives, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13970,7 +13545,6 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14006,7 +13580,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson11_deserializeDocumentConnectionResponseList(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14015,7 +13588,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14051,7 +13623,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointList(&sv.Endpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14060,7 +13631,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14096,7 +13666,6 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu if err := awsAwsjson11_deserializeDocumentEventBusList(&sv.EventBuses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14105,7 +13674,6 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14141,7 +13709,6 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc if err := awsAwsjson11_deserializeDocumentEventSourceList(&sv.EventSources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14150,7 +13717,6 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14190,12 +13756,10 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourceAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "PartnerEventSourceAccounts": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceAccountList(&sv.PartnerEventSourceAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -14235,12 +13799,10 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourcesOutput(v **ListPar } sv.NextToken = ptr.String(jtv) } - case "PartnerEventSources": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceList(&sv.PartnerEventSources, value); err != nil { return err } - default: _, _ = key, value @@ -14280,12 +13842,10 @@ func awsAwsjson11_deserializeOpDocumentListReplaysOutput(v **ListReplaysOutput, } sv.NextToken = ptr.String(jtv) } - case "Replays": if err := awsAwsjson11_deserializeDocumentReplayList(&sv.Replays, value); err != nil { return err } - default: _, _ = key, value @@ -14325,12 +13885,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleNamesByTargetOutput(v **ListRuleN } sv.NextToken = ptr.String(jtv) } - case "RuleNames": if err := awsAwsjson11_deserializeDocumentRuleNameList(&sv.RuleNames, value); err != nil { return err } - default: _, _ = key, value @@ -14370,12 +13928,10 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleResponseList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -14411,7 +13967,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14451,12 +14006,10 @@ func awsAwsjson11_deserializeOpDocumentListTargetsByRuleOutput(v **ListTargetsBy } sv.NextToken = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -14492,7 +14045,6 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsAwsjson11_deserializeDocumentPutEventsResultEntryList(&sv.Entries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14505,7 +14057,6 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -14541,7 +14092,6 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven if err := awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntryList(&sv.Entries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14554,7 +14104,6 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -14594,7 +14143,6 @@ func awsAwsjson11_deserializeOpDocumentPutRuleOutput(v **PutRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14630,7 +14178,6 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va if err := awsAwsjson11_deserializeDocumentPutTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14643,7 +14190,6 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -14679,7 +14225,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp if err := awsAwsjson11_deserializeDocumentRemoveTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } - case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14692,7 +14237,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp } sv.FailedEntryCount = int32(i64) } - default: _, _ = key, value @@ -14732,7 +14276,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.ReplayArn = ptr.String(jtv) } - case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -14748,7 +14291,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } } - case "State": if value != nil { jtv, ok := value.(string) @@ -14757,7 +14299,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.State = types.ReplayState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -14766,7 +14307,6 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -14837,7 +14377,6 @@ func awsAwsjson11_deserializeOpDocumentTestEventPatternOutput(v **TestEventPatte } sv.Result = jtv } - default: _, _ = key, value @@ -14908,7 +14447,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationArn = ptr.String(jtv) } - case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -14917,7 +14455,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14933,7 +14470,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14949,7 +14485,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } - default: _, _ = key, value @@ -14989,7 +14524,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15005,7 +14539,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } } - case "State": if value != nil { jtv, ok := value.(string) @@ -15014,7 +14547,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.State = types.ArchiveState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -15023,7 +14555,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -15063,7 +14594,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -15072,7 +14602,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15088,7 +14617,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -15104,7 +14632,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15120,7 +14647,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } - default: _, _ = key, value @@ -15160,7 +14686,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.Arn = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -15169,7 +14694,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointId = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -15178,12 +14702,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointUrl = ptr.String(jtv) } - case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15192,12 +14714,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.Name = ptr.String(jtv) } - case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -15206,12 +14726,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.RoleArn = ptr.String(jtv) } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -15220,7 +14738,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.State = types.EndpointState(jtv) } - default: _, _ = key, value @@ -15260,12 +14777,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Arn = ptr.String(jtv) } - case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15274,7 +14789,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Description = ptr.String(jtv) } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -15283,7 +14797,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15292,7 +14805,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/evidently/deserializers.go b/service/evidently/deserializers.go index 8216b69aa03..c6159fdc8d4 100644 --- a/service/evidently/deserializers.go +++ b/service/evidently/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentBatchEvaluateFeatureOutput(v **BatchEvalu if err := awsRestjson1_deserializeDocumentEvaluationResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -345,7 +344,6 @@ func awsRestjson1_deserializeOpDocumentCreateExperimentOutput(v **CreateExperime if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -509,7 +507,6 @@ func awsRestjson1_deserializeOpDocumentCreateFeatureOutput(v **CreateFeatureOutp if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } - default: _, _ = key, value @@ -673,7 +670,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchOutput(v **CreateLaunchOutput if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } - default: _, _ = key, value @@ -834,7 +830,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -995,7 +990,6 @@ func awsRestjson1_deserializeOpDocumentCreateSegmentOutput(v **CreateSegmentOutp if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } - default: _, _ = key, value @@ -1663,7 +1657,6 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Details = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -1672,12 +1665,10 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Reason = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } - case "variation": if value != nil { jtv, ok := value.(string) @@ -1686,7 +1677,6 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Variation = ptr.String(jtv) } - default: _, _ = key, value @@ -1847,7 +1837,6 @@ func awsRestjson1_deserializeOpDocumentGetExperimentOutput(v **GetExperimentOutp if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -2015,22 +2004,18 @@ func awsRestjson1_deserializeOpDocumentGetExperimentResultsOutput(v **GetExperim } sv.Details = ptr.String(jtv) } - case "reports": if err := awsRestjson1_deserializeDocumentExperimentReportList(&sv.Reports, value); err != nil { return err } - case "resultsData": if err := awsRestjson1_deserializeDocumentExperimentResultsDataList(&sv.ResultsData, value); err != nil { return err } - case "timestamps": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.Timestamps, value); err != nil { return err } - default: _, _ = key, value @@ -2191,7 +2176,6 @@ func awsRestjson1_deserializeOpDocumentGetFeatureOutput(v **GetFeatureOutput, va if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } - default: _, _ = key, value @@ -2352,7 +2336,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchOutput(v **GetLaunchOutput, valu if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } - default: _, _ = key, value @@ -2513,7 +2496,6 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -2674,7 +2656,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentOutput(v **GetSegmentOutput, va if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } - default: _, _ = key, value @@ -2832,7 +2813,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsRestjson1_deserializeDocumentExperimentList(&sv.Experiments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2841,7 +2821,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3002,7 +2981,6 @@ func awsRestjson1_deserializeOpDocumentListFeaturesOutput(v **ListFeaturesOutput if err := awsRestjson1_deserializeDocumentFeatureSummariesList(&sv.Features, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3011,7 +2989,6 @@ func awsRestjson1_deserializeOpDocumentListFeaturesOutput(v **ListFeaturesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3169,7 +3146,6 @@ func awsRestjson1_deserializeOpDocumentListLaunchesOutput(v **ListLaunchesOutput if err := awsRestjson1_deserializeDocumentLaunchesList(&sv.Launches, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3178,7 +3154,6 @@ func awsRestjson1_deserializeOpDocumentListLaunchesOutput(v **ListLaunchesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3340,12 +3315,10 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "projects": if err := awsRestjson1_deserializeDocumentProjectSummariesList(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -3510,12 +3483,10 @@ func awsRestjson1_deserializeOpDocumentListSegmentReferencesOutput(v **ListSegme } sv.NextToken = ptr.String(jtv) } - case "referencedBy": if err := awsRestjson1_deserializeDocumentRefResourceList(&sv.ReferencedBy, value); err != nil { return err } - default: _, _ = key, value @@ -3677,12 +3648,10 @@ func awsRestjson1_deserializeOpDocumentListSegmentsOutput(v **ListSegmentsOutput } sv.NextToken = ptr.String(jtv) } - case "segments": if err := awsRestjson1_deserializeDocumentSegmentList(&sv.Segments, value); err != nil { return err } - default: _, _ = key, value @@ -3840,7 +3809,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4001,7 +3969,6 @@ func awsRestjson1_deserializeOpDocumentPutProjectEventsOutput(v **PutProjectEven if err := awsRestjson1_deserializeDocumentPutProjectEventsResultEntryList(&sv.EventResults, value); err != nil { return err } - case "failedEventCount": if value != nil { jtv, ok := value.(json.Number) @@ -4014,7 +3981,6 @@ func awsRestjson1_deserializeOpDocumentPutProjectEventsOutput(v **PutProjectEven } sv.FailedEventCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4192,7 +4158,6 @@ func awsRestjson1_deserializeOpDocumentStartExperimentOutput(v **StartExperiment } } - default: _, _ = key, value @@ -4359,7 +4324,6 @@ func awsRestjson1_deserializeOpDocumentStartLaunchOutput(v **StartLaunchOutput, if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } - default: _, _ = key, value @@ -4537,7 +4501,6 @@ func awsRestjson1_deserializeOpDocumentStopExperimentOutput(v **StopExperimentOu } } - default: _, _ = key, value @@ -4709,7 +4672,6 @@ func awsRestjson1_deserializeOpDocumentStopLaunchOutput(v **StopLaunchOutput, va } } - default: _, _ = key, value @@ -4965,7 +4927,6 @@ func awsRestjson1_deserializeOpDocumentTestSegmentPatternOutput(v **TestSegmentP } sv.Match = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5220,7 +5181,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExperimentOutput(v **UpdateExperime if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -5384,7 +5344,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFeatureOutput(v **UpdateFeatureOutp if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } - default: _, _ = key, value @@ -5545,7 +5504,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchOutput(v **UpdateLaunchOutput if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } - default: _, _ = key, value @@ -5709,7 +5667,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -5873,7 +5830,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectDataDeliveryOutput(v **Updat if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -6191,15 +6147,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6207,15 +6157,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6250,7 +6196,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -6280,15 +6225,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6296,7 +6235,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6305,7 +6243,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6314,15 +6251,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6454,7 +6387,6 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Details = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -6463,7 +6395,6 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.EntityId = ptr.String(jtv) } - case "feature": if value != nil { jtv, ok := value.(string) @@ -6472,7 +6403,6 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Feature = ptr.String(jtv) } - case "project": if value != nil { jtv, ok := value.(string) @@ -6481,7 +6411,6 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Project = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6490,12 +6419,10 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Reason = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } - case "variation": if value != nil { jtv, ok := value.(string) @@ -6504,7 +6431,6 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Variation = ptr.String(jtv) } - default: _, _ = key, value @@ -6578,7 +6504,6 @@ func awsRestjson1_deserializeDocumentEvaluationRule(v **types.EvaluationRule, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6587,7 +6512,6 @@ func awsRestjson1_deserializeDocumentEvaluationRule(v **types.EvaluationRule, va } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6661,7 +6585,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -6677,7 +6600,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6686,12 +6608,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Description = ptr.String(jtv) } - case "execution": if err := awsRestjson1_deserializeDocumentExperimentExecution(&sv.Execution, value); err != nil { return err } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6707,12 +6627,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "metricGoals": if err := awsRestjson1_deserializeDocumentMetricGoalsList(&sv.MetricGoals, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6721,12 +6639,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Name = ptr.String(jtv) } - case "onlineAbDefinition": if err := awsRestjson1_deserializeDocumentOnlineAbDefinition(&sv.OnlineAbDefinition, value); err != nil { return err } - case "project": if value != nil { jtv, ok := value.(string) @@ -6735,7 +6651,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Project = ptr.String(jtv) } - case "randomizationSalt": if value != nil { jtv, ok := value.(string) @@ -6744,7 +6659,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.RandomizationSalt = ptr.String(jtv) } - case "samplingRate": if value != nil { jtv, ok := value.(json.Number) @@ -6757,12 +6671,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.SamplingRate = i64 } - case "schedule": if err := awsRestjson1_deserializeDocumentExperimentSchedule(&sv.Schedule, value); err != nil { return err } - case "segment": if value != nil { jtv, ok := value.(string) @@ -6771,7 +6683,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Segment = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6780,7 +6691,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Status = types.ExperimentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6789,17 +6699,14 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "treatments": if err := awsRestjson1_deserializeDocumentTreatmentList(&sv.Treatments, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6808,7 +6715,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Type = types.ExperimentType(jtv) } - default: _, _ = key, value @@ -6855,7 +6761,6 @@ func awsRestjson1_deserializeDocumentExperimentExecution(v **types.ExperimentExe } } - case "startedTime": if value != nil { switch jtv := value.(type) { @@ -6871,7 +6776,6 @@ func awsRestjson1_deserializeDocumentExperimentExecution(v **types.ExperimentExe } } - default: _, _ = key, value @@ -6945,7 +6849,6 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.Content = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -6954,7 +6857,6 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.MetricName = ptr.String(jtv) } - case "reportName": if value != nil { jtv, ok := value.(string) @@ -6963,7 +6865,6 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.ReportName = types.ExperimentReportName(jtv) } - case "treatmentName": if value != nil { jtv, ok := value.(string) @@ -6972,7 +6873,6 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.TreatmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -7046,7 +6946,6 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.MetricName = ptr.String(jtv) } - case "resultStat": if value != nil { jtv, ok := value.(string) @@ -7055,7 +6954,6 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.ResultStat = types.ExperimentResultResponseType(jtv) } - case "treatmentName": if value != nil { jtv, ok := value.(string) @@ -7064,12 +6962,10 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.TreatmentName = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentDoubleValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7150,7 +7046,6 @@ func awsRestjson1_deserializeDocumentExperimentSchedule(v **types.ExperimentSche } } - default: _, _ = key, value @@ -7190,7 +7085,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7206,7 +7100,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } } - case "defaultVariation": if value != nil { jtv, ok := value.(string) @@ -7215,7 +7108,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.DefaultVariation = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7224,17 +7116,14 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Description = ptr.String(jtv) } - case "entityOverrides": if err := awsRestjson1_deserializeDocumentEntityOverrideMap(&sv.EntityOverrides, value); err != nil { return err } - case "evaluationRules": if err := awsRestjson1_deserializeDocumentEvaluationRulesList(&sv.EvaluationRules, value); err != nil { return err } - case "evaluationStrategy": if value != nil { jtv, ok := value.(string) @@ -7243,7 +7132,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.EvaluationStrategy = types.FeatureEvaluationStrategy(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7259,7 +7147,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7268,7 +7155,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Name = ptr.String(jtv) } - case "project": if value != nil { jtv, ok := value.(string) @@ -7277,7 +7163,6 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Project = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7286,12 +7171,10 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Status = types.FeatureStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "valueType": if value != nil { jtv, ok := value.(string) @@ -7300,12 +7183,10 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.ValueType = types.VariationValueType(jtv) } - case "variations": if err := awsRestjson1_deserializeDocumentVariationsList(&sv.Variations, value); err != nil { return err } - default: _, _ = key, value @@ -7379,7 +7260,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7395,7 +7275,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } } - case "defaultVariation": if value != nil { jtv, ok := value.(string) @@ -7404,12 +7283,10 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.DefaultVariation = ptr.String(jtv) } - case "evaluationRules": if err := awsRestjson1_deserializeDocumentEvaluationRulesList(&sv.EvaluationRules, value); err != nil { return err } - case "evaluationStrategy": if value != nil { jtv, ok := value.(string) @@ -7418,7 +7295,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.EvaluationStrategy = types.FeatureEvaluationStrategy(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7434,7 +7310,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7443,7 +7318,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Name = ptr.String(jtv) } - case "project": if value != nil { jtv, ok := value.(string) @@ -7452,7 +7326,6 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Project = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7461,12 +7334,10 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Status = types.FeatureStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7572,15 +7443,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7588,15 +7453,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7631,7 +7492,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7647,7 +7507,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } } - case "description": if value != nil { jtv, ok := value.(string) @@ -7656,17 +7515,14 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Description = ptr.String(jtv) } - case "execution": if err := awsRestjson1_deserializeDocumentLaunchExecution(&sv.Execution, value); err != nil { return err } - case "groups": if err := awsRestjson1_deserializeDocumentLaunchGroupList(&sv.Groups, value); err != nil { return err } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7682,12 +7538,10 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } } - case "metricMonitors": if err := awsRestjson1_deserializeDocumentMetricMonitorList(&sv.MetricMonitors, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7696,7 +7550,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Name = ptr.String(jtv) } - case "project": if value != nil { jtv, ok := value.(string) @@ -7705,7 +7558,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Project = ptr.String(jtv) } - case "randomizationSalt": if value != nil { jtv, ok := value.(string) @@ -7714,12 +7566,10 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.RandomizationSalt = ptr.String(jtv) } - case "scheduledSplitsDefinition": if err := awsRestjson1_deserializeDocumentScheduledSplitsLaunchDefinition(&sv.ScheduledSplitsDefinition, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7728,7 +7578,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Status = types.LaunchStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7737,12 +7586,10 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -7751,7 +7598,6 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Type = types.LaunchType(jtv) } - default: _, _ = key, value @@ -7832,7 +7678,6 @@ func awsRestjson1_deserializeDocumentLaunchExecution(v **types.LaunchExecution, } } - case "startedTime": if value != nil { switch jtv := value.(type) { @@ -7848,7 +7693,6 @@ func awsRestjson1_deserializeDocumentLaunchExecution(v **types.LaunchExecution, } } - default: _, _ = key, value @@ -7888,12 +7732,10 @@ func awsRestjson1_deserializeDocumentLaunchGroup(v **types.LaunchGroup, value in } sv.Description = ptr.String(jtv) } - case "featureVariations": if err := awsRestjson1_deserializeDocumentFeatureToVariationMap(&sv.FeatureVariations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7902,7 +7744,6 @@ func awsRestjson1_deserializeDocumentLaunchGroup(v **types.LaunchGroup, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7976,7 +7817,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EntityIdKey = ptr.String(jtv) } - case "eventPattern": if value != nil { jtv, ok := value.(string) @@ -7985,7 +7825,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EventPattern = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7994,7 +7833,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } - case "unitLabel": if value != nil { jtv, ok := value.(string) @@ -8003,7 +7841,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.UnitLabel = ptr.String(jtv) } - case "valueKey": if value != nil { jtv, ok := value.(string) @@ -8012,7 +7849,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.ValueKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8052,12 +7888,10 @@ func awsRestjson1_deserializeDocumentMetricGoal(v **types.MetricGoal, value inte } sv.DesiredChange = types.ChangeDirectionEnum(jtv) } - case "metricDefinition": if err := awsRestjson1_deserializeDocumentMetricDefinition(&sv.MetricDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -8127,7 +7961,6 @@ func awsRestjson1_deserializeDocumentMetricMonitor(v **types.MetricMonitor, valu if err := awsRestjson1_deserializeDocumentMetricDefinition(&sv.MetricDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -8201,12 +8034,10 @@ func awsRestjson1_deserializeDocumentOnlineAbDefinition(v **types.OnlineAbDefini } sv.ControlTreatmentName = ptr.String(jtv) } - case "treatmentWeights": if err := awsRestjson1_deserializeDocumentTreatmentToWeightMap(&sv.TreatmentWeights, value); err != nil { return err } - default: _, _ = key, value @@ -8250,7 +8081,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ActiveExperimentCount = ptr.Int64(i64) } - case "activeLaunchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8263,12 +8093,10 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ActiveLaunchCount = ptr.Int64(i64) } - case "appConfigResource": if err := awsRestjson1_deserializeDocumentProjectAppConfigResource(&sv.AppConfigResource, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8277,7 +8105,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8293,12 +8120,10 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } - case "dataDelivery": if err := awsRestjson1_deserializeDocumentProjectDataDelivery(&sv.DataDelivery, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -8307,7 +8132,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Description = ptr.String(jtv) } - case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -8320,7 +8144,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ExperimentCount = ptr.Int64(i64) } - case "featureCount": if value != nil { jtv, ok := value.(json.Number) @@ -8333,7 +8156,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.FeatureCount = ptr.Int64(i64) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8349,7 +8171,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } - case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8362,7 +8183,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.LaunchCount = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8371,7 +8191,6 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8380,12 +8199,10 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Status = types.ProjectStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8425,7 +8242,6 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.ApplicationId = ptr.String(jtv) } - case "configurationProfileId": if value != nil { jtv, ok := value.(string) @@ -8434,7 +8250,6 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.ConfigurationProfileId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8443,7 +8258,6 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -8479,12 +8293,10 @@ func awsRestjson1_deserializeDocumentProjectDataDelivery(v **types.ProjectDataDe if err := awsRestjson1_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogs, value); err != nil { return err } - case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -8562,7 +8374,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ActiveExperimentCount = ptr.Int64(i64) } - case "activeLaunchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8575,7 +8386,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ActiveLaunchCount = ptr.Int64(i64) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8584,7 +8394,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8600,7 +8409,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8609,7 +8417,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } - case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -8622,7 +8429,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ExperimentCount = ptr.Int64(i64) } - case "featureCount": if value != nil { jtv, ok := value.(json.Number) @@ -8635,7 +8441,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.FeatureCount = ptr.Int64(i64) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8651,7 +8456,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8664,7 +8468,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.LaunchCount = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8673,7 +8476,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8682,12 +8484,10 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Status = types.ProjectStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8727,7 +8527,6 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -8736,7 +8535,6 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.ErrorMessage = ptr.String(jtv) } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -8745,7 +8543,6 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -8819,7 +8616,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Arn = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -8828,7 +8624,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.EndTime = ptr.String(jtv) } - case "lastUpdatedOn": if value != nil { jtv, ok := value.(string) @@ -8837,7 +8632,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.LastUpdatedOn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8846,7 +8640,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Name = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -8855,7 +8648,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8864,7 +8656,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Status = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8873,7 +8664,6 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8937,15 +8727,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8953,7 +8737,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8962,7 +8745,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8971,15 +8753,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9014,7 +8792,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -9023,7 +8800,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -9059,12 +8835,10 @@ func awsRestjson1_deserializeDocumentScheduledSplit(v **types.ScheduledSplit, va if err := awsRestjson1_deserializeDocumentGroupToWeightMap(&sv.GroupWeights, value); err != nil { return err } - case "segmentOverrides": if err := awsRestjson1_deserializeDocumentSegmentOverridesList(&sv.SegmentOverrides, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -9080,7 +8854,6 @@ func awsRestjson1_deserializeDocumentScheduledSplit(v **types.ScheduledSplit, va } } - default: _, _ = key, value @@ -9116,7 +8889,6 @@ func awsRestjson1_deserializeDocumentScheduledSplitsLaunchDefinition(v **types.S if err := awsRestjson1_deserializeDocumentScheduledStepList(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -9190,7 +8962,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9206,7 +8977,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9215,7 +8985,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Description = ptr.String(jtv) } - case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -9228,7 +8997,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.ExperimentCount = ptr.Int64(i64) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9244,7 +9012,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } } - case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -9257,7 +9024,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.LaunchCount = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9266,7 +9032,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Name = ptr.String(jtv) } - case "pattern": if value != nil { jtv, ok := value.(string) @@ -9275,12 +9040,10 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Pattern = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9358,7 +9121,6 @@ func awsRestjson1_deserializeDocumentSegmentOverride(v **types.SegmentOverride, } sv.EvaluationOrder = ptr.Int64(i64) } - case "segment": if value != nil { jtv, ok := value.(string) @@ -9367,12 +9129,10 @@ func awsRestjson1_deserializeDocumentSegmentOverride(v **types.SegmentOverride, } sv.Segment = ptr.String(jtv) } - case "weights": if err := awsRestjson1_deserializeDocumentGroupToWeightMap(&sv.Weights, value); err != nil { return err } - default: _, _ = key, value @@ -9436,15 +9196,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9452,7 +9206,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9461,7 +9214,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9470,7 +9222,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9479,7 +9230,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9488,15 +9238,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9521,15 +9267,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9537,15 +9277,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9606,15 +9342,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9622,7 +9352,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9631,7 +9360,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9640,15 +9368,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9726,12 +9450,10 @@ func awsRestjson1_deserializeDocumentTreatment(v **types.Treatment, value interf } sv.Description = ptr.String(jtv) } - case "featureVariations": if err := awsRestjson1_deserializeDocumentFeatureToVariationMap(&sv.FeatureVariations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9462,6 @@ func awsRestjson1_deserializeDocumentTreatment(v **types.Treatment, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9844,20 +9565,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9865,7 +9579,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9874,15 +9587,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9917,7 +9626,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9926,7 +9634,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10107,12 +9814,10 @@ func awsRestjson1_deserializeDocumentVariation(v **types.Variation, value interf } sv.Name = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/finspace/deserializers.go b/service/finspace/deserializers.go index 0e9e13726e8..d0d41007e29 100644 --- a/service/finspace/deserializers.go +++ b/service/finspace/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -200,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } - case "environmentUrl": if value != nil { jtv, ok := value.(string) @@ -209,7 +207,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -379,7 +376,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang if err := awsRestjson1_deserializeDocumentChangeRequests(&sv.ChangeRequests, value); err != nil { return err } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -388,7 +384,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -404,7 +399,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -413,7 +407,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.DatabaseName = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -422,12 +415,10 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.EnvironmentId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -443,7 +434,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } } - case "status": if value != nil { jtv, ok := value.(string) @@ -452,7 +442,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.Status = types.ChangesetStatus(jtv) } - default: _, _ = key, value @@ -622,7 +611,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster if err := awsRestjson1_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -631,7 +619,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -640,17 +627,14 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.AzMode = types.KxAzMode(jtv) } - case "cacheStorageConfigurations": if err := awsRestjson1_deserializeDocumentKxCacheStorageConfigurations(&sv.CacheStorageConfigurations, value); err != nil { return err } - case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } - case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -659,7 +643,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterDescription = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -668,7 +651,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterName = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -677,17 +659,14 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterType = types.KxClusterType(jtv) } - case "code": if err := awsRestjson1_deserializeDocumentCodeConfiguration(&sv.Code, value); err != nil { return err } - case "commandLineArguments": if err := awsRestjson1_deserializeDocumentKxCommandLineArguments(&sv.CommandLineArguments, value); err != nil { return err } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -703,12 +682,10 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } } - case "databases": if err := awsRestjson1_deserializeDocumentKxDatabaseConfigurations(&sv.Databases, value); err != nil { return err } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -717,7 +694,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.EnvironmentId = ptr.String(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -726,7 +702,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ExecutionRole = ptr.String(jtv) } - case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -735,7 +710,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.InitializationScript = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -751,7 +725,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -760,17 +733,14 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ReleaseLabel = ptr.String(jtv) } - case "savedownStorageConfiguration": if err := awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(&sv.SavedownStorageConfiguration, value); err != nil { return err } - case "scalingGroupConfiguration": if err := awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(&sv.ScalingGroupConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -779,7 +749,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.Status = types.KxClusterStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -788,22 +757,18 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.StatusReason = ptr.String(jtv) } - case "tickerplantLogConfiguration": if err := awsRestjson1_deserializeDocumentTickerplantLogConfiguration(&sv.TickerplantLogConfiguration, value); err != nil { return err } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -987,7 +952,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } } - case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -996,7 +960,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.DatabaseArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -1005,7 +968,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.DatabaseName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1014,7 +976,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1023,7 +984,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1039,7 +999,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } } - default: _, _ = key, value @@ -1216,7 +1175,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AutoUpdate = jtv } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -1225,7 +1183,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -1234,7 +1191,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AzMode = types.KxAzMode(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -1243,7 +1199,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1259,7 +1214,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -1268,7 +1222,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.DatabaseName = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -1277,7 +1230,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.DataviewName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1286,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1295,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1311,7 +1261,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } } - case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -1320,12 +1269,10 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.ReadWrite = jtv } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1334,7 +1281,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.Status = types.KxDataviewStatus(jtv) } - default: _, _ = key, value @@ -1515,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1524,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Description = ptr.String(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -1533,7 +1477,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1542,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.EnvironmentId = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1551,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1560,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1569,7 +1509,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Status = types.EnvironmentStatus(jtv) } - default: _, _ = key, value @@ -1743,7 +1682,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.AvailabilityZoneId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1759,7 +1697,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1768,7 +1705,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.EnvironmentId = ptr.String(jtv) } - case "hostType": if value != nil { jtv, ok := value.(string) @@ -1777,7 +1713,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.HostType = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1793,7 +1728,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } } - case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -1802,7 +1736,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.ScalingGroupName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1811,7 +1744,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.Status = types.KxScalingGroupStatus(jtv) } - default: _, _ = key, value @@ -1988,7 +1920,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.EnvironmentId = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -1997,7 +1928,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.IamRole = ptr.String(jtv) } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -2006,7 +1936,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.UserArn = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -2015,7 +1944,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -2188,7 +2116,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -2197,7 +2124,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.AzMode = types.KxAzMode(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -2213,7 +2139,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2222,7 +2147,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2231,12 +2155,10 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.EnvironmentId = ptr.String(jtv) } - case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2245,7 +2167,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.Status = types.KxVolumeStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2254,7 +2175,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.StatusReason = ptr.String(jtv) } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -2263,7 +2183,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeArn = ptr.String(jtv) } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -2272,7 +2191,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeName = ptr.String(jtv) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -2281,7 +2199,6 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeType = types.KxVolumeType(jtv) } - default: _, _ = key, value @@ -3372,7 +3289,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -3547,12 +3463,10 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } - case "changeRequests": if err := awsRestjson1_deserializeDocumentChangeRequests(&sv.ChangeRequests, value); err != nil { return err } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -3561,7 +3475,6 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -3577,7 +3490,6 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -3586,7 +3498,6 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.DatabaseName = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3595,12 +3506,10 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.EnvironmentId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3616,7 +3525,6 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3625,7 +3533,6 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.Status = types.ChangesetStatus(jtv) } - default: _, _ = key, value @@ -3795,7 +3702,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput if err := awsRestjson1_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -3804,7 +3710,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -3813,17 +3718,14 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.AzMode = types.KxAzMode(jtv) } - case "cacheStorageConfigurations": if err := awsRestjson1_deserializeDocumentKxCacheStorageConfigurations(&sv.CacheStorageConfigurations, value); err != nil { return err } - case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } - case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -3832,7 +3734,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterDescription = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3841,7 +3742,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterName = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -3850,17 +3750,14 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterType = types.KxClusterType(jtv) } - case "code": if err := awsRestjson1_deserializeDocumentCodeConfiguration(&sv.Code, value); err != nil { return err } - case "commandLineArguments": if err := awsRestjson1_deserializeDocumentKxCommandLineArguments(&sv.CommandLineArguments, value); err != nil { return err } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -3876,12 +3773,10 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } } - case "databases": if err := awsRestjson1_deserializeDocumentKxDatabaseConfigurations(&sv.Databases, value); err != nil { return err } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -3890,7 +3785,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ExecutionRole = ptr.String(jtv) } - case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -3899,7 +3793,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.InitializationScript = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3915,7 +3808,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -3924,17 +3816,14 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ReleaseLabel = ptr.String(jtv) } - case "savedownStorageConfiguration": if err := awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(&sv.SavedownStorageConfiguration, value); err != nil { return err } - case "scalingGroupConfiguration": if err := awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(&sv.ScalingGroupConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3943,7 +3832,6 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.Status = types.KxClusterStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3952,22 +3840,18 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.StatusReason = ptr.String(jtv) } - case "tickerplantLogConfiguration": if err := awsRestjson1_deserializeDocumentTickerplantLogConfiguration(&sv.TickerplantLogConfiguration, value); err != nil { return err } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4135,7 +4019,6 @@ func awsRestjson1_deserializeOpDocumentGetKxConnectionStringOutput(v **GetKxConn } sv.SignedConnectionString = ptr.String(jtv) } - default: _, _ = key, value @@ -4310,7 +4193,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } } - case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -4319,7 +4201,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.DatabaseArn = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -4328,7 +4209,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.DatabaseName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4337,7 +4217,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4346,7 +4225,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.EnvironmentId = ptr.String(jtv) } - case "lastCompletedChangesetId": if value != nil { jtv, ok := value.(string) @@ -4355,7 +4233,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.LastCompletedChangesetId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4371,7 +4248,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } } - case "numBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4384,7 +4260,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumBytes = i64 } - case "numChangesets": if value != nil { jtv, ok := value.(json.Number) @@ -4397,7 +4272,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumChangesets = int32(i64) } - case "numFiles": if value != nil { jtv, ok := value.(json.Number) @@ -4410,7 +4284,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumFiles = int32(i64) } - default: _, _ = key, value @@ -4574,7 +4447,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } - case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -4583,7 +4455,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AutoUpdate = jtv } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -4592,7 +4463,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -4601,7 +4471,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AzMode = types.KxAzMode(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -4610,7 +4479,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -4626,7 +4494,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -4635,7 +4502,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.DatabaseName = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -4644,7 +4510,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.DataviewName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4653,7 +4518,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4662,7 +4526,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4678,7 +4541,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } } - case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -4687,12 +4549,10 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.ReadWrite = jtv } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4561,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.Status = types.KxDataviewStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4710,7 +4569,6 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -4874,7 +4732,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -4883,7 +4740,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.AwsAccountId = ptr.String(jtv) } - case "certificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4892,7 +4748,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -4908,12 +4763,10 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } } - case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } - case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -4922,7 +4775,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.DedicatedServiceAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4931,7 +4783,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Description = ptr.String(jtv) } - case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -4940,7 +4791,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.DnsStatus = types.DnsStatus(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -4949,7 +4799,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4807,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4967,7 +4815,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.ErrorMessage = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4976,7 +4823,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4985,7 +4831,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4994,7 +4839,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Status = types.EnvironmentStatus(jtv) } - case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -5003,12 +4847,10 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.TgwStatus = types.TgwStatus(jtv) } - case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } - case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -5024,7 +4866,6 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } } - default: _, _ = key, value @@ -5198,12 +5039,10 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.AvailabilityZoneId = ptr.String(jtv) } - case "clusters": if err := awsRestjson1_deserializeDocumentKxClusterNameList(&sv.Clusters, value); err != nil { return err } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -5219,7 +5058,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } } - case "hostType": if value != nil { jtv, ok := value.(string) @@ -5228,7 +5066,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.HostType = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5244,7 +5081,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } } - case "scalingGroupArn": if value != nil { jtv, ok := value.(string) @@ -5253,7 +5089,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.ScalingGroupArn = ptr.String(jtv) } - case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -5262,7 +5097,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.ScalingGroupName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5271,7 +5105,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.Status = types.KxScalingGroupStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5280,7 +5113,6 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5448,7 +5280,6 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.EnvironmentId = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -5457,7 +5288,6 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.IamRole = ptr.String(jtv) } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -5466,7 +5296,6 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.UserArn = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -5475,7 +5304,6 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -5645,12 +5473,10 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, if err := awsRestjson1_deserializeDocumentKxAttachedClusters(&sv.AttachedClusters, value); err != nil { return err } - case "availabilityZoneIds": if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -5659,7 +5485,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.AzMode = types.KxAzMode(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -5675,7 +5500,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5684,7 +5508,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -5693,7 +5516,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5709,12 +5531,10 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } } - case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5723,7 +5543,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.Status = types.KxVolumeStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5732,7 +5551,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.StatusReason = ptr.String(jtv) } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -5741,7 +5559,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeArn = ptr.String(jtv) } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -5750,7 +5567,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeName = ptr.String(jtv) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -5759,7 +5575,6 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeType = types.KxVolumeType(jtv) } - default: _, _ = key, value @@ -5917,7 +5732,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5926,7 +5740,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6090,7 +5903,6 @@ func awsRestjson1_deserializeOpDocumentListKxChangesetsOutput(v **ListKxChangese if err := awsRestjson1_deserializeDocumentKxChangesets(&sv.KxChangesets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6099,7 +5911,6 @@ func awsRestjson1_deserializeOpDocumentListKxChangesetsOutput(v **ListKxChangese } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6270,12 +6081,10 @@ func awsRestjson1_deserializeOpDocumentListKxClusterNodesOutput(v **ListKxCluste } sv.NextToken = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocumentKxNodeSummaries(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -6445,7 +6254,6 @@ func awsRestjson1_deserializeOpDocumentListKxClustersOutput(v **ListKxClustersOu if err := awsRestjson1_deserializeDocumentKxClusters(&sv.KxClusterSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6454,7 +6262,6 @@ func awsRestjson1_deserializeOpDocumentListKxClustersOutput(v **ListKxClustersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6618,7 +6425,6 @@ func awsRestjson1_deserializeOpDocumentListKxDatabasesOutput(v **ListKxDatabases if err := awsRestjson1_deserializeDocumentKxDatabases(&sv.KxDatabases, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6627,7 +6433,6 @@ func awsRestjson1_deserializeOpDocumentListKxDatabasesOutput(v **ListKxDatabases } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6791,7 +6596,6 @@ func awsRestjson1_deserializeOpDocumentListKxDataviewsOutput(v **ListKxDataviews if err := awsRestjson1_deserializeDocumentKxDataviews(&sv.KxDataviews, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6800,7 +6604,6 @@ func awsRestjson1_deserializeOpDocumentListKxDataviewsOutput(v **ListKxDataviews } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6958,7 +6761,6 @@ func awsRestjson1_deserializeOpDocumentListKxEnvironmentsOutput(v **ListKxEnviro if err := awsRestjson1_deserializeDocumentKxEnvironmentList(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6967,7 +6769,6 @@ func awsRestjson1_deserializeOpDocumentListKxEnvironmentsOutput(v **ListKxEnviro } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7141,12 +6942,10 @@ func awsRestjson1_deserializeOpDocumentListKxScalingGroupsOutput(v **ListKxScali } sv.NextToken = ptr.String(jtv) } - case "scalingGroups": if err := awsRestjson1_deserializeDocumentKxScalingGroupList(&sv.ScalingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -7314,12 +7113,10 @@ func awsRestjson1_deserializeOpDocumentListKxUsersOutput(v **ListKxUsersOutput, } sv.NextToken = ptr.String(jtv) } - case "users": if err := awsRestjson1_deserializeDocumentKxUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -7489,7 +7286,6 @@ func awsRestjson1_deserializeOpDocumentListKxVolumesOutput(v **ListKxVolumesOutp if err := awsRestjson1_deserializeDocumentKxVolumes(&sv.KxVolumeSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7498,7 +7294,6 @@ func awsRestjson1_deserializeOpDocumentListKxVolumesOutput(v **ListKxVolumesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7656,7 +7451,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8008,7 +7802,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -8391,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.DatabaseName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8400,7 +8192,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8409,7 +8200,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8425,7 +8215,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } } - default: _, _ = key, value @@ -8595,7 +8384,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } - case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -8604,7 +8392,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AutoUpdate = jtv } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -8613,7 +8400,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -8622,7 +8408,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AzMode = types.KxAzMode(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -8631,7 +8416,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -8647,7 +8431,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -8656,7 +8439,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.DatabaseName = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -8665,7 +8447,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.DataviewName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8674,7 +8455,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8683,7 +8463,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8699,7 +8478,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } } - case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -8708,12 +8486,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.ReadWrite = jtv } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8722,7 +8498,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.Status = types.KxDataviewStatus(jtv) } - default: _, _ = key, value @@ -8889,7 +8664,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -8898,7 +8672,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.AwsAccountId = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -8914,12 +8687,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } } - case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } - case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -8928,7 +8699,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.DedicatedServiceAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8937,7 +8707,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Description = ptr.String(jtv) } - case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -8946,7 +8715,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.DnsStatus = types.DnsStatus(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -8955,7 +8723,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8964,7 +8731,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -8973,7 +8739,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.ErrorMessage = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -8982,7 +8747,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8991,7 +8755,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9000,7 +8763,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Status = types.EnvironmentStatus(jtv) } - case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -9009,12 +8771,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.TgwStatus = types.TgwStatus(jtv) } - case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } - case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -9030,7 +8790,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } } - default: _, _ = key, value @@ -9197,7 +8956,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -9206,7 +8964,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.AwsAccountId = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -9222,12 +8979,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } } - case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } - case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -9236,7 +8991,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.DedicatedServiceAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -9245,7 +8999,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Description = ptr.String(jtv) } - case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -9254,7 +9007,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.DnsStatus = types.DnsStatus(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -9263,7 +9015,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -9272,7 +9023,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9281,7 +9031,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.ErrorMessage = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9290,7 +9039,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9299,7 +9047,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9308,7 +9055,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Status = types.EnvironmentStatus(jtv) } - case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -9317,12 +9063,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.TgwStatus = types.TgwStatus(jtv) } - case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } - case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -9338,7 +9082,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } } - default: _, _ = key, value @@ -9512,7 +9255,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.EnvironmentId = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -9521,7 +9263,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.IamRole = ptr.String(jtv) } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -9530,7 +9271,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.UserArn = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -9539,7 +9279,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -9709,12 +9448,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu if err := awsRestjson1_deserializeDocumentKxAttachedClusters(&sv.AttachedClusters, value); err != nil { return err } - case "availabilityZoneIds": if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -9723,7 +9460,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.AzMode = types.KxAzMode(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -9739,7 +9475,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9748,7 +9483,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -9757,7 +9491,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9773,12 +9506,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } } - case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9787,7 +9518,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.Status = types.KxVolumeStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9796,7 +9526,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.StatusReason = ptr.String(jtv) } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -9805,7 +9534,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeArn = ptr.String(jtv) } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -9814,7 +9542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeName = ptr.String(jtv) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -9823,7 +9550,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeType = types.KxVolumeType(jtv) } - default: _, _ = key, value @@ -10213,15 +9939,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10229,15 +9949,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10344,7 +10060,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingMetric = types.AutoScalingMetric(jtv) } - case "maxNodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -10357,7 +10072,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxNodeCount = ptr.Int32(int32(i64)) } - case "metricTarget": if value != nil { switch jtv := value.(type) { @@ -10391,7 +10105,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } - case "minNodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -10404,7 +10117,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MinNodeCount = ptr.Int32(int32(i64)) } - case "scaleInCooldownSeconds": if value != nil { switch jtv := value.(type) { @@ -10438,7 +10150,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } - case "scaleOutCooldownSeconds": if value != nil { switch jtv := value.(type) { @@ -10472,7 +10183,6 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } - default: _, _ = key, value @@ -10552,7 +10262,6 @@ func awsRestjson1_deserializeDocumentCapacityConfiguration(v **types.CapacityCon } sv.NodeCount = ptr.Int32(int32(i64)) } - case "nodeType": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10270,6 @@ func awsRestjson1_deserializeDocumentCapacityConfiguration(v **types.CapacityCon } sv.NodeType = ptr.String(jtv) } - default: _, _ = key, value @@ -10601,7 +10309,6 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.ChangeType = types.ChangeType(jtv) } - case "dbPath": if value != nil { jtv, ok := value.(string) @@ -10610,7 +10317,6 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.DbPath = ptr.String(jtv) } - case "s3Path": if value != nil { jtv, ok := value.(string) @@ -10619,7 +10325,6 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.S3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -10693,7 +10398,6 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3Bucket = ptr.String(jtv) } - case "s3Key": if value != nil { jtv, ok := value.(string) @@ -10702,7 +10406,6 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3Key = ptr.String(jtv) } - case "s3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -10711,7 +10414,6 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3ObjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10741,15 +10443,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10757,7 +10453,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -10766,15 +10461,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10843,7 +10534,6 @@ func awsRestjson1_deserializeDocumentCustomDNSServer(v **types.CustomDNSServer, } sv.CustomDNSServerIP = ptr.String(jtv) } - case "customDNSServerName": if value != nil { jtv, ok := value.(string) @@ -10852,7 +10542,6 @@ func awsRestjson1_deserializeDocumentCustomDNSServer(v **types.CustomDNSServer, } sv.CustomDNSServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -10928,7 +10617,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.AwsAccountId = ptr.String(jtv) } - case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -10937,7 +10625,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DedicatedServiceAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10946,7 +10633,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -10955,7 +10641,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -10964,7 +10649,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentId = ptr.String(jtv) } - case "environmentUrl": if value != nil { jtv, ok := value.(string) @@ -10973,7 +10657,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentUrl = ptr.String(jtv) } - case "federationMode": if value != nil { jtv, ok := value.(string) @@ -10982,12 +10665,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.FederationMode = types.FederationMode(jtv) } - case "federationParameters": if err := awsRestjson1_deserializeDocumentFederationParameters(&sv.FederationParameters, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10996,7 +10677,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11005,7 +10685,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "sageMakerStudioDomainUrl": if value != nil { jtv, ok := value.(string) @@ -11014,7 +10693,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SageMakerStudioDomainUrl = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11023,7 +10701,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Status = types.EnvironmentStatus(jtv) } - default: _, _ = key, value @@ -11097,7 +10774,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorMessage = ptr.String(jtv) } - case "errorType": if value != nil { jtv, ok := value.(string) @@ -11106,7 +10782,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorType = types.ErrorDetails(jtv) } - default: _, _ = key, value @@ -11146,12 +10821,10 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.ApplicationCallBackURL = ptr.String(jtv) } - case "attributeMap": if err := awsRestjson1_deserializeDocumentAttributeMap(&sv.AttributeMap, value); err != nil { return err } - case "federationProviderName": if value != nil { jtv, ok := value.(string) @@ -11160,7 +10833,6 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.FederationProviderName = ptr.String(jtv) } - case "federationURN": if value != nil { jtv, ok := value.(string) @@ -11169,7 +10841,6 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.FederationURN = ptr.String(jtv) } - case "samlMetadataDocument": if value != nil { jtv, ok := value.(string) @@ -11178,7 +10849,6 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.SamlMetadataDocument = ptr.String(jtv) } - case "samlMetadataURL": if value != nil { jtv, ok := value.(string) @@ -11187,7 +10857,6 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.SamlMetadataURL = ptr.String(jtv) } - default: _, _ = key, value @@ -11231,7 +10900,6 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Code = int32(i64) } - case "type": if value != nil { jtv, ok := value.(json.Number) @@ -11244,7 +10912,6 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Type = int32(i64) } - default: _, _ = key, value @@ -11274,15 +10941,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11290,15 +10951,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11323,15 +10980,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11339,15 +10990,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11382,7 +11029,6 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterName = ptr.String(jtv) } - case "clusterStatus": if value != nil { jtv, ok := value.(string) @@ -11391,7 +11037,6 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterStatus = types.KxClusterStatus(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11400,7 +11045,6 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterType = types.KxClusterType(jtv) } - default: _, _ = key, value @@ -11478,7 +11122,6 @@ func awsRestjson1_deserializeDocumentKxCacheStorageConfiguration(v **types.KxCac } sv.Size = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11487,7 +11130,6 @@ func awsRestjson1_deserializeDocumentKxCacheStorageConfiguration(v **types.KxCac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11568,7 +11210,6 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -11577,7 +11218,6 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -11593,7 +11233,6 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11609,7 +11248,6 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11618,7 +11256,6 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } sv.Status = types.ChangesetStatus(jtv) } - default: _, _ = key, value @@ -11692,7 +11329,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -11701,7 +11337,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.AzMode = types.KxAzMode(jtv) } - case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -11710,7 +11345,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterDescription = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -11719,7 +11353,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterName = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11728,7 +11361,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterType = types.KxClusterType(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -11744,7 +11376,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -11753,7 +11384,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ExecutionRole = ptr.String(jtv) } - case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -11762,7 +11392,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.InitializationScript = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11778,7 +11407,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } } - case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -11787,7 +11415,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ReleaseLabel = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11796,7 +11423,6 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.Status = types.KxClusterStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11805,12 +11431,10 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.StatusReason = ptr.String(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -11920,7 +11544,6 @@ func awsRestjson1_deserializeDocumentKxCommandLineArgument(v **types.KxCommandLi } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11929,7 +11552,6 @@ func awsRestjson1_deserializeDocumentKxCommandLineArgument(v **types.KxCommandLi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12003,7 +11625,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseCacheConfiguration(v **types.KxDa } sv.CacheType = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12012,12 +11633,10 @@ func awsRestjson1_deserializeDocumentKxDatabaseCacheConfiguration(v **types.KxDa } sv.DataviewName = ptr.String(jtv) } - case "dbPaths": if err := awsRestjson1_deserializeDocumentDbPaths(&sv.DbPaths, value); err != nil { return err } - default: _, _ = key, value @@ -12087,7 +11706,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas if err := awsRestjson1_deserializeDocumentKxDatabaseCacheConfigurations(&sv.CacheConfigurations, value); err != nil { return err } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -12096,7 +11714,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.ChangesetId = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -12105,12 +11722,10 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.DatabaseName = ptr.String(jtv) } - case "dataviewConfiguration": if err := awsRestjson1_deserializeDocumentKxDataviewConfiguration(&sv.DataviewConfiguration, value); err != nil { return err } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12119,7 +11734,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.DataviewName = ptr.String(jtv) } - default: _, _ = key, value @@ -12200,7 +11814,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -12209,7 +11822,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } sv.DatabaseName = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12225,7 +11837,6 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } } - default: _, _ = key, value @@ -12295,7 +11906,6 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie if err := awsRestjson1_deserializeDocumentAttachedClusterList(&sv.AttachedClusters, value); err != nil { return err } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -12304,7 +11914,6 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -12320,12 +11929,10 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -12334,7 +11941,6 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -12408,7 +12014,6 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.ChangesetId = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12417,7 +12022,6 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.DataviewName = ptr.String(jtv) } - case "dataviewVersionId": if value != nil { jtv, ok := value.(string) @@ -12426,12 +12030,10 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.DataviewVersionId = ptr.String(jtv) } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -12467,7 +12069,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } - case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -12476,7 +12077,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AutoUpdate = jtv } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -12485,7 +12085,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AvailabilityZoneId = ptr.String(jtv) } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -12494,7 +12093,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AzMode = types.KxAzMode(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -12503,7 +12101,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.ChangesetId = ptr.String(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -12519,7 +12116,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -12528,7 +12124,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.DatabaseName = ptr.String(jtv) } - case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12537,7 +12132,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.DataviewName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12546,7 +12140,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.Description = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12555,7 +12148,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.EnvironmentId = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12571,7 +12163,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } } - case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -12580,12 +12171,10 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.ReadWrite = jtv } - case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12594,7 +12183,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.Status = types.KxDataviewStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -12603,7 +12191,6 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -12673,7 +12260,6 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx if err := awsRestjson1_deserializeDocumentSegmentConfigurationDbPathList(&sv.DbPaths, value); err != nil { return err } - case "onDemand": if value != nil { jtv, ok := value.(bool) @@ -12682,7 +12268,6 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx } sv.OnDemand = jtv } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -12691,7 +12276,6 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx } sv.VolumeName = ptr.String(jtv) } - default: _, _ = key, value @@ -12761,7 +12345,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -12770,7 +12353,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.AwsAccountId = ptr.String(jtv) } - case "certificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -12779,7 +12361,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -12795,12 +12376,10 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } } - case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } - case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -12809,7 +12388,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.DedicatedServiceAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12818,7 +12396,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Description = ptr.String(jtv) } - case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -12827,7 +12404,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.DnsStatus = types.DnsStatus(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -12836,7 +12412,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12845,7 +12420,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.EnvironmentId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12854,7 +12428,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.ErrorMessage = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12863,7 +12436,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12872,7 +12444,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12881,7 +12452,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Status = types.EnvironmentStatus(jtv) } - case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -12890,12 +12460,10 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.TgwStatus = types.TgwStatus(jtv) } - case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } - case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -12911,7 +12479,6 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } } - default: _, _ = key, value @@ -12989,7 +12556,6 @@ func awsRestjson1_deserializeDocumentKxNAS1Configuration(v **types.KxNAS1Configu } sv.Size = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12998,7 +12564,6 @@ func awsRestjson1_deserializeDocumentKxNAS1Configuration(v **types.KxNAS1Configu } sv.Type = types.KxNAS1Type(jtv) } - default: _, _ = key, value @@ -13038,7 +12603,6 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.AvailabilityZoneId = ptr.String(jtv) } - case "launchTime": if value != nil { switch jtv := value.(type) { @@ -13054,7 +12618,6 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } } - case "nodeId": if value != nil { jtv, ok := value.(string) @@ -13063,7 +12626,6 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.NodeId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13072,7 +12634,6 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.Status = types.KxNodeStatus(jtv) } - default: _, _ = key, value @@ -13150,7 +12711,6 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.Size = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -13159,7 +12719,6 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.Type = types.KxSavedownStorageType(jtv) } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -13168,7 +12727,6 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.VolumeName = ptr.String(jtv) } - default: _, _ = key, value @@ -13208,12 +12766,10 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.AvailabilityZoneId = ptr.String(jtv) } - case "clusters": if err := awsRestjson1_deserializeDocumentKxClusterNameList(&sv.Clusters, value); err != nil { return err } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -13229,7 +12785,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } } - case "hostType": if value != nil { jtv, ok := value.(string) @@ -13238,7 +12793,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.HostType = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13254,7 +12808,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } } - case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -13263,7 +12816,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.ScalingGroupName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13272,7 +12824,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.Status = types.KxScalingGroupStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13281,7 +12832,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13346,7 +12896,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } } - case "memoryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -13359,7 +12908,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.MemoryLimit = ptr.Int32(int32(i64)) } - case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -13372,7 +12920,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.MemoryReservation = ptr.Int32(int32(i64)) } - case "nodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -13385,7 +12932,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.NodeCount = ptr.Int32(int32(i64)) } - case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -13394,7 +12940,6 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.ScalingGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -13475,7 +13020,6 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -13484,7 +13028,6 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.IamRole = ptr.String(jtv) } - case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -13500,7 +13043,6 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } } - case "userArn": if value != nil { jtv, ok := value.(string) @@ -13509,7 +13051,6 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.UserArn = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -13518,7 +13059,6 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -13588,7 +13128,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } - case "azMode": if value != nil { jtv, ok := value.(string) @@ -13597,7 +13136,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.AzMode = types.KxAzMode(jtv) } - case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -13613,7 +13151,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13622,7 +13159,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.Description = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13638,7 +13174,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } } - case "status": if value != nil { jtv, ok := value.(string) @@ -13647,7 +13182,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.Status = types.KxVolumeStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13656,7 +13190,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.StatusReason = ptr.String(jtv) } - case "volumeName": if value != nil { jtv, ok := value.(string) @@ -13665,7 +13198,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.VolumeName = ptr.String(jtv) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -13674,7 +13206,6 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.VolumeType = types.KxVolumeType(jtv) } - default: _, _ = key, value @@ -13738,15 +13269,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13754,15 +13279,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13831,17 +13352,14 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.CidrBlock = ptr.String(jtv) } - case "icmpTypeCode": if err := awsRestjson1_deserializeDocumentIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } - case "portRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.PortRange, value); err != nil { return err } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -13850,7 +13368,6 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.Protocol = ptr.String(jtv) } - case "ruleAction": if value != nil { jtv, ok := value.(string) @@ -13859,7 +13376,6 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.RuleAction = types.RuleAction(jtv) } - case "ruleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13872,7 +13388,6 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.RuleNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13916,7 +13431,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.From = int32(i64) } - case "to": if value != nil { jtv, ok := value.(json.Number) @@ -13929,7 +13443,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.To = int32(i64) } - default: _, _ = key, value @@ -13959,15 +13472,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13975,15 +13482,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14008,15 +13511,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14024,15 +13521,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14129,15 +13622,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14145,15 +13632,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14250,15 +13733,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14266,15 +13743,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14305,7 +13778,6 @@ func awsRestjson1_deserializeDocumentTickerplantLogConfiguration(v **types.Ticke if err := awsRestjson1_deserializeDocumentTickerplantLogVolumes(&sv.TickerplantLogVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -14377,7 +13849,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans if err := awsRestjson1_deserializeDocumentNetworkACLConfiguration(&sv.AttachmentNetworkAclConfiguration, value); err != nil { return err } - case "routableCIDRSpace": if value != nil { jtv, ok := value.(string) @@ -14386,7 +13857,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans } sv.RoutableCIDRSpace = ptr.String(jtv) } - case "transitGatewayID": if value != nil { jtv, ok := value.(string) @@ -14395,7 +13865,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans } sv.TransitGatewayID = ptr.String(jtv) } - default: _, _ = key, value @@ -14425,15 +13894,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14441,15 +13904,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14484,7 +13943,6 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeName = ptr.String(jtv) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -14493,7 +13951,6 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -14567,17 +14024,14 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.IpAddressType = types.IPAddressType(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14586,7 +14040,6 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/finspacedata/deserializers.go b/service/finspacedata/deserializers.go index b2543a428b9..6db71e9e8e6 100644 --- a/service/finspacedata/deserializers.go +++ b/service/finspacedata/deserializers.go @@ -311,7 +311,6 @@ func awsRestjson1_deserializeOpDocumentCreateChangesetOutput(v **CreateChangeset } sv.ChangesetId = ptr.String(jtv) } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -320,7 +319,6 @@ func awsRestjson1_deserializeOpDocumentCreateChangesetOutput(v **CreateChangeset } sv.DatasetId = ptr.String(jtv) } - default: _, _ = key, value @@ -494,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetId = ptr.String(jtv) } - default: _, _ = key, value @@ -665,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataViewOutput(v **CreateDataViewOu } sv.DatasetId = ptr.String(jtv) } - case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -674,7 +670,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataViewOutput(v **CreateDataViewOu } sv.DataViewId = ptr.String(jtv) } - default: _, _ = key, value @@ -845,7 +840,6 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionGroupOutput(v **CreatePer } sv.PermissionGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -1016,7 +1010,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -1190,7 +1183,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp } sv.DatasetId = ptr.String(jtv) } - default: _, _ = key, value @@ -1364,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionGroupOutput(v **DeletePer } sv.PermissionGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -1535,7 +1526,6 @@ func awsRestjson1_deserializeOpDocumentDisableUserOutput(v **DisableUserOutput, } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -1827,7 +1817,6 @@ func awsRestjson1_deserializeOpDocumentEnableUserOutput(v **EnableUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -2002,7 +1991,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ActiveFromTimestamp = ptr.Int64(i64) } - case "activeUntilTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -2015,7 +2003,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ActiveUntilTimestamp = ptr.Int64(i64) } - case "changesetArn": if value != nil { jtv, ok := value.(string) @@ -2024,7 +2011,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangesetArn = ptr.String(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -2033,7 +2019,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangesetId = ptr.String(jtv) } - case "changeType": if value != nil { jtv, ok := value.(string) @@ -2042,7 +2027,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangeType = types.ChangeType(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2055,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.CreateTime = i64 } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2064,22 +2047,18 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.DatasetId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentChangesetErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "formatParams": if err := awsRestjson1_deserializeDocumentFormatParams(&sv.FormatParams, value); err != nil { return err } - case "sourceParams": if err := awsRestjson1_deserializeDocumentSourceParams(&sv.SourceParams, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2088,7 +2067,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.Status = types.IngestionStatus(jtv) } - case "updatedByChangesetId": if value != nil { jtv, ok := value.(string) @@ -2097,7 +2075,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.UpdatedByChangesetId = ptr.String(jtv) } - case "updatesChangesetId": if value != nil { jtv, ok := value.(string) @@ -2106,7 +2083,6 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.UpdatesChangesetId = ptr.String(jtv) } - default: _, _ = key, value @@ -2277,7 +2253,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Alias = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2290,7 +2265,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.CreateTime = i64 } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -2299,7 +2273,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetArn = ptr.String(jtv) } - case "datasetDescription": if value != nil { jtv, ok := value.(string) @@ -2308,7 +2281,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetDescription = ptr.String(jtv) } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2317,7 +2289,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetId = ptr.String(jtv) } - case "datasetTitle": if value != nil { jtv, ok := value.(string) @@ -2326,7 +2297,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetTitle = ptr.String(jtv) } - case "kind": if value != nil { jtv, ok := value.(string) @@ -2335,7 +2305,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Kind = types.DatasetKind(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -2348,12 +2317,10 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.LastModifiedTime = i64 } - case "schemaDefinition": if err := awsRestjson1_deserializeDocumentSchemaUnion(&sv.SchemaDefinition, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2362,7 +2329,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -2534,7 +2500,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.AsOfTimestamp = ptr.Int64(i64) } - case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -2543,7 +2508,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.AutoUpdate = jtv } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2556,7 +2520,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.CreateTime = i64 } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2565,7 +2528,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DatasetId = ptr.String(jtv) } - case "dataViewArn": if value != nil { jtv, ok := value.(string) @@ -2574,7 +2536,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DataViewArn = ptr.String(jtv) } - case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -2583,17 +2544,14 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DataViewId = ptr.String(jtv) } - case "destinationTypeParams": if err := awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(&sv.DestinationTypeParams, value); err != nil { return err } - case "errorInfo": if err := awsRestjson1_deserializeDocumentDataViewErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -2606,17 +2564,14 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.LastModifiedTime = i64 } - case "partitionColumns": if err := awsRestjson1_deserializeDocumentPartitionColumnList(&sv.PartitionColumns, value); err != nil { return err } - case "sortColumns": if err := awsRestjson1_deserializeDocumentSortColumnList(&sv.SortColumns, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2625,7 +2580,6 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.Status = types.DataViewStatus(jtv) } - default: _, _ = key, value @@ -2789,12 +2743,10 @@ func awsRestjson1_deserializeOpDocumentGetExternalDataViewAccessDetailsOutput(v if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - case "s3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -2958,7 +2910,6 @@ func awsRestjson1_deserializeOpDocumentGetPermissionGroupOutput(v **GetPermissio if err := awsRestjson1_deserializeDocumentPermissionGroup(&sv.PermissionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -3119,7 +3070,6 @@ func awsRestjson1_deserializeOpDocumentGetProgrammaticAccessCredentialsOutput(v if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "durationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3132,7 +3082,6 @@ func awsRestjson1_deserializeOpDocumentGetProgrammaticAccessCredentialsOutput(v } sv.DurationInMinutes = ptr.Int64(i64) } - default: _, _ = key, value @@ -3300,7 +3249,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.ApiAccess = types.ApiAccess(jtv) } - case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -3309,7 +3257,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.ApiAccessPrincipalArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -3322,7 +3269,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.CreateTime = i64 } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -3331,7 +3277,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.EmailAddress = ptr.String(jtv) } - case "firstName": if value != nil { jtv, ok := value.(string) @@ -3340,7 +3285,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.FirstName = ptr.String(jtv) } - case "lastDisabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -3353,7 +3297,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastDisabledTime = i64 } - case "lastEnabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -3366,7 +3309,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastEnabledTime = i64 } - case "lastLoginTime": if value != nil { jtv, ok := value.(json.Number) @@ -3379,7 +3321,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastLoginTime = i64 } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -3392,7 +3333,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastModifiedTime = i64 } - case "lastName": if value != nil { jtv, ok := value.(string) @@ -3401,7 +3341,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3410,7 +3349,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Status = types.UserStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3419,7 +3357,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Type = types.UserType(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -3428,7 +3365,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -3593,7 +3529,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Bucket = ptr.String(jtv) } - case "s3Path": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3537,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Path = ptr.String(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3545,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3778,7 +3711,6 @@ func awsRestjson1_deserializeOpDocumentListChangesetsOutput(v **ListChangesetsOu if err := awsRestjson1_deserializeDocumentChangesetList(&sv.Changesets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3719,6 @@ func awsRestjson1_deserializeOpDocumentListChangesetsOutput(v **ListChangesetsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3951,7 +3882,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3960,7 +3890,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4124,7 +4053,6 @@ func awsRestjson1_deserializeOpDocumentListDataViewsOutput(v **ListDataViewsOutp if err := awsRestjson1_deserializeDocumentDataViewList(&sv.DataViews, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4133,7 +4061,6 @@ func awsRestjson1_deserializeOpDocumentListDataViewsOutput(v **ListDataViewsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4298,12 +4225,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionGroupsOutput(v **ListPermis } sv.NextToken = ptr.String(jtv) } - case "permissionGroups": if err := awsRestjson1_deserializeDocumentPermissionGroupList(&sv.PermissionGroups, value); err != nil { return err } - default: _, _ = key, value @@ -4471,12 +4396,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionGroupsByUserOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "permissionGroups": if err := awsRestjson1_deserializeDocumentPermissionGroupByUserList(&sv.PermissionGroups, value); err != nil { return err } - default: _, _ = key, value @@ -4641,12 +4564,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -4814,12 +4735,10 @@ func awsRestjson1_deserializeOpDocumentListUsersByPermissionGroupOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "users": if err := awsRestjson1_deserializeDocumentUserByPermissionGroupList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -4990,7 +4909,6 @@ func awsRestjson1_deserializeOpDocumentResetUserPasswordOutput(v **ResetUserPass } sv.TemporaryPassword = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -4999,7 +4917,6 @@ func awsRestjson1_deserializeOpDocumentResetUserPasswordOutput(v **ResetUserPass } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -5170,7 +5087,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChangesetOutput(v **UpdateChangeset } sv.ChangesetId = ptr.String(jtv) } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -5179,7 +5095,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChangesetOutput(v **UpdateChangeset } sv.DatasetId = ptr.String(jtv) } - default: _, _ = key, value @@ -5350,7 +5265,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.DatasetId = ptr.String(jtv) } - default: _, _ = key, value @@ -5521,7 +5435,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePermissionGroupOutput(v **UpdatePer } sv.PermissionGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -5692,7 +5605,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -5943,15 +5855,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5959,15 +5865,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6038,7 +5940,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } - case "expiration": if value != nil { jtv, ok := value.(json.Number) @@ -6051,7 +5952,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.Expiration = i64 } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -6060,7 +5960,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -6069,7 +5968,6 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6109,7 +6007,6 @@ func awsRestjson1_deserializeDocumentChangesetErrorInfo(v **types.ChangesetError } sv.ErrorCategory = types.ErrorCategory(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6118,7 +6015,6 @@ func awsRestjson1_deserializeDocumentChangesetErrorInfo(v **types.ChangesetError } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6196,7 +6092,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ActiveFromTimestamp = ptr.Int64(i64) } - case "activeUntilTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -6209,7 +6104,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ActiveUntilTimestamp = ptr.Int64(i64) } - case "changesetArn": if value != nil { jtv, ok := value.(string) @@ -6218,7 +6112,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangesetArn = ptr.String(jtv) } - case "changesetId": if value != nil { jtv, ok := value.(string) @@ -6227,7 +6120,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangesetId = ptr.String(jtv) } - case "changeType": if value != nil { jtv, ok := value.(string) @@ -6236,7 +6128,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangeType = types.ChangeType(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6249,7 +6140,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.CreateTime = i64 } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6258,22 +6148,18 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.DatasetId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentChangesetErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "formatParams": if err := awsRestjson1_deserializeDocumentFormatParams(&sv.FormatParams, value); err != nil { return err } - case "sourceParams": if err := awsRestjson1_deserializeDocumentSourceParams(&sv.SourceParams, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6282,7 +6168,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.Status = types.IngestionStatus(jtv) } - case "updatedByChangesetId": if value != nil { jtv, ok := value.(string) @@ -6291,7 +6176,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.UpdatedByChangesetId = ptr.String(jtv) } - case "updatesChangesetId": if value != nil { jtv, ok := value.(string) @@ -6300,7 +6184,6 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.UpdatesChangesetId = ptr.String(jtv) } - default: _, _ = key, value @@ -6340,7 +6223,6 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.ColumnDescription = ptr.String(jtv) } - case "columnName": if value != nil { jtv, ok := value.(string) @@ -6349,7 +6231,6 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.ColumnName = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -6358,7 +6239,6 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.DataType = types.ColumnDataType(jtv) } - default: _, _ = key, value @@ -6458,15 +6338,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6474,7 +6348,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6483,15 +6356,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6526,7 +6395,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -6535,7 +6403,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -6544,7 +6411,6 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6584,7 +6450,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Alias = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6597,7 +6462,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.CreateTime = i64 } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -6606,7 +6470,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetArn = ptr.String(jtv) } - case "datasetDescription": if value != nil { jtv, ok := value.(string) @@ -6615,7 +6478,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetDescription = ptr.String(jtv) } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6624,7 +6486,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetId = ptr.String(jtv) } - case "datasetTitle": if value != nil { jtv, ok := value.(string) @@ -6633,7 +6494,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetTitle = ptr.String(jtv) } - case "kind": if value != nil { jtv, ok := value.(string) @@ -6642,7 +6502,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Kind = types.DatasetKind(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6655,17 +6514,14 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedTime = i64 } - case "ownerInfo": if err := awsRestjson1_deserializeDocumentDatasetOwnerInfo(&sv.OwnerInfo, value); err != nil { return err } - case "schemaDefinition": if err := awsRestjson1_deserializeDocumentSchemaUnion(&sv.SchemaDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -6739,7 +6595,6 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.Email = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6748,7 +6603,6 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.Name = ptr.String(jtv) } - case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -6757,7 +6611,6 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.PhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6797,7 +6650,6 @@ func awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(v **types.Dat } sv.DestinationType = ptr.String(jtv) } - case "s3DestinationExportFileFormat": if value != nil { jtv, ok := value.(string) @@ -6806,12 +6658,10 @@ func awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(v **types.Dat } sv.S3DestinationExportFileFormat = types.ExportFileFormat(jtv) } - case "s3DestinationExportFileFormatOptions": if err := awsRestjson1_deserializeDocumentS3DestinationFormatOptions(&sv.S3DestinationExportFileFormatOptions, value); err != nil { return err } - default: _, _ = key, value @@ -6851,7 +6701,6 @@ func awsRestjson1_deserializeDocumentDataViewErrorInfo(v **types.DataViewErrorIn } sv.ErrorCategory = types.ErrorCategory(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6860,7 +6709,6 @@ func awsRestjson1_deserializeDocumentDataViewErrorInfo(v **types.DataViewErrorIn } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6938,7 +6786,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.AsOfTimestamp = ptr.Int64(i64) } - case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -6947,7 +6794,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.AutoUpdate = jtv } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6960,7 +6806,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.CreateTime = i64 } - case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6969,7 +6814,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DatasetId = ptr.String(jtv) } - case "dataViewArn": if value != nil { jtv, ok := value.(string) @@ -6978,7 +6822,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DataViewArn = ptr.String(jtv) } - case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -6987,17 +6830,14 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DataViewId = ptr.String(jtv) } - case "destinationTypeProperties": if err := awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(&sv.DestinationTypeProperties, value); err != nil { return err } - case "errorInfo": if err := awsRestjson1_deserializeDocumentDataViewErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7010,17 +6850,14 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.LastModifiedTime = i64 } - case "partitionColumns": if err := awsRestjson1_deserializeDocumentPartitionColumnList(&sv.PartitionColumns, value); err != nil { return err } - case "sortColumns": if err := awsRestjson1_deserializeDocumentSortColumnList(&sv.SortColumns, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7029,7 +6866,6 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.Status = types.DataViewStatus(jtv) } - default: _, _ = key, value @@ -7095,15 +6931,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7111,15 +6941,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7144,15 +6970,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7160,15 +6980,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7235,7 +7051,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, if err := awsRestjson1_deserializeDocumentApplicationPermissionList(&sv.ApplicationPermissions, value); err != nil { return err } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -7248,7 +7063,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.CreateTime = i64 } - case "description": if value != nil { jtv, ok := value.(string) @@ -7257,7 +7071,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.Description = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7270,7 +7083,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.LastModifiedTime = i64 } - case "membershipStatus": if value != nil { jtv, ok := value.(string) @@ -7279,7 +7091,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7288,7 +7099,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.Name = ptr.String(jtv) } - case "permissionGroupId": if value != nil { jtv, ok := value.(string) @@ -7297,7 +7107,6 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.PermissionGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -7337,7 +7146,6 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7346,7 +7154,6 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.Name = ptr.String(jtv) } - case "permissionGroupId": if value != nil { jtv, ok := value.(string) @@ -7355,7 +7162,6 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.PermissionGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -7453,15 +7259,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7469,7 +7269,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -7478,15 +7277,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7557,7 +7352,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -7566,7 +7360,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -7602,12 +7395,10 @@ func awsRestjson1_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } - case "primaryKeyColumns": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.PrimaryKeyColumns, value); err != nil { return err } - default: _, _ = key, value @@ -7643,7 +7434,6 @@ func awsRestjson1_deserializeDocumentSchemaUnion(v **types.SchemaUnion, value in if err := awsRestjson1_deserializeDocumentSchemaDefinition(&sv.TabularSchemaConfig, value); err != nil { return err } - default: _, _ = key, value @@ -7745,22 +7535,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7795,7 +7576,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ApiAccess = types.ApiAccess(jtv) } - case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -7804,7 +7584,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ApiAccessPrincipalArn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -7817,7 +7596,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.CreateTime = i64 } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -7826,7 +7604,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } - case "firstName": if value != nil { jtv, ok := value.(string) @@ -7835,7 +7612,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.FirstName = ptr.String(jtv) } - case "lastDisabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -7848,7 +7624,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastDisabledTime = i64 } - case "lastEnabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -7861,7 +7636,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastEnabledTime = i64 } - case "lastLoginTime": if value != nil { jtv, ok := value.(json.Number) @@ -7874,7 +7648,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastLoginTime = i64 } - case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7887,7 +7660,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastModifiedTime = i64 } - case "lastName": if value != nil { jtv, ok := value.(string) @@ -7896,7 +7668,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7905,7 +7676,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = types.UserStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7914,7 +7684,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -7923,7 +7692,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -7963,7 +7731,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.ApiAccess = types.ApiAccess(jtv) } - case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -7972,7 +7739,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.ApiAccessPrincipalArn = ptr.String(jtv) } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -7981,7 +7747,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.EmailAddress = ptr.String(jtv) } - case "firstName": if value != nil { jtv, ok := value.(string) @@ -7990,7 +7755,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.FirstName = ptr.String(jtv) } - case "lastName": if value != nil { jtv, ok := value.(string) @@ -7999,7 +7763,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.LastName = ptr.String(jtv) } - case "membershipStatus": if value != nil { jtv, ok := value.(string) @@ -8008,7 +7771,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8017,7 +7779,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.Status = types.UserStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8026,7 +7787,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.Type = types.UserType(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -8035,7 +7795,6 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -8133,15 +7892,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8149,7 +7902,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -8158,15 +7910,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/firehose/deserializers.go b/service/firehose/deserializers.go index a9f09347787..de236de8f9c 100644 --- a/service/firehose/deserializers.go +++ b/service/firehose/deserializers.go @@ -1763,7 +1763,6 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(v } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -1776,7 +1775,6 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(v } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1812,12 +1810,10 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "CollectionEndpoint": if value != nil { jtv, ok := value.(string) @@ -1826,7 +1822,6 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.CollectionEndpoint = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -1835,17 +1830,14 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.IndexName = ptr.String(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -1854,7 +1846,6 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -1863,17 +1854,14 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.S3BackupMode = types.AmazonOpenSearchServerlessS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1917,7 +1905,6 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessRetryOptions(v ** } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1961,7 +1948,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(v **t } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -1974,7 +1960,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(v **t } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2010,12 +1995,10 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "ClusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -2024,12 +2007,10 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.ClusterEndpoint = ptr.String(jtv) } - case "DocumentIdOptions": if err := awsAwsjson11_deserializeDocumentDocumentIdOptions(&sv.DocumentIdOptions, value); err != nil { return err } - case "DomainARN": if value != nil { jtv, ok := value.(string) @@ -2038,7 +2019,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.DomainARN = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -2047,7 +2027,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.IndexName = ptr.String(jtv) } - case "IndexRotationPeriod": if value != nil { jtv, ok := value.(string) @@ -2056,17 +2035,14 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.IndexRotationPeriod = types.AmazonopensearchserviceIndexRotationPeriod(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2075,7 +2051,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -2084,12 +2059,10 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.S3BackupMode = types.AmazonopensearchserviceS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -2098,12 +2071,10 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.TypeName = ptr.String(jtv) } - case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -2147,7 +2118,6 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceRetryOptions(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2187,7 +2157,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.Connectivity = types.Connectivity(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2196,7 +2165,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -2240,7 +2208,6 @@ func awsAwsjson11_deserializeDocumentBufferingHints(v **types.BufferingHints, va } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -2253,7 +2220,6 @@ func awsAwsjson11_deserializeDocumentBufferingHints(v **types.BufferingHints, va } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2293,7 +2259,6 @@ func awsAwsjson11_deserializeDocumentCatalogConfiguration(v **types.CatalogConfi } sv.CatalogARN = ptr.String(jtv) } - default: _, _ = key, value @@ -2333,7 +2298,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.Enabled = ptr.Bool(jtv) } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -2342,7 +2306,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.LogGroupName = ptr.String(jtv) } - case "LogStreamName": if value != nil { jtv, ok := value.(string) @@ -2351,7 +2314,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.LogStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -2417,15 +2379,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2433,15 +2389,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2476,7 +2428,6 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.CopyOptions = ptr.String(jtv) } - case "DataTableColumns": if value != nil { jtv, ok := value.(string) @@ -2485,7 +2436,6 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.DataTableColumns = ptr.String(jtv) } - case "DataTableName": if value != nil { jtv, ok := value.(string) @@ -2494,7 +2444,6 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.DataTableName = ptr.String(jtv) } - default: _, _ = key, value @@ -2534,22 +2483,18 @@ func awsAwsjson11_deserializeDocumentDataFormatConversionConfiguration(v **types } sv.Enabled = ptr.Bool(jtv) } - case "InputFormatConfiguration": if err := awsAwsjson11_deserializeDocumentInputFormatConfiguration(&sv.InputFormatConfiguration, value); err != nil { return err } - case "OutputFormatConfiguration": if err := awsAwsjson11_deserializeDocumentOutputFormatConfiguration(&sv.OutputFormatConfiguration, value); err != nil { return err } - case "SchemaConfiguration": if err := awsAwsjson11_deserializeDocumentSchemaConfiguration(&sv.SchemaConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2596,7 +2541,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } } - case "DeliveryStreamARN": if value != nil { jtv, ok := value.(string) @@ -2605,12 +2549,10 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamARN = ptr.String(jtv) } - case "DeliveryStreamEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(&sv.DeliveryStreamEncryptionConfiguration, value); err != nil { return err } - case "DeliveryStreamName": if value != nil { jtv, ok := value.(string) @@ -2619,7 +2561,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamName = ptr.String(jtv) } - case "DeliveryStreamStatus": if value != nil { jtv, ok := value.(string) @@ -2628,7 +2569,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamStatus = types.DeliveryStreamStatus(jtv) } - case "DeliveryStreamType": if value != nil { jtv, ok := value.(string) @@ -2637,17 +2577,14 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamType = types.DeliveryStreamType(jtv) } - case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinationDescriptionList(&sv.Destinations, value); err != nil { return err } - case "FailureDescription": if err := awsAwsjson11_deserializeDocumentFailureDescription(&sv.FailureDescription, value); err != nil { return err } - case "HasMoreDestinations": if value != nil { jtv, ok := value.(bool) @@ -2656,7 +2593,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.HasMoreDestinations = ptr.Bool(jtv) } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2672,12 +2608,10 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } } - case "Source": if err := awsAwsjson11_deserializeDocumentSourceDescription(&sv.Source, value); err != nil { return err } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -2686,7 +2620,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2722,7 +2655,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t if err := awsAwsjson11_deserializeDocumentFailureDescription(&sv.FailureDescription, value); err != nil { return err } - case "KeyARN": if value != nil { jtv, ok := value.(string) @@ -2731,7 +2663,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.KeyARN = ptr.String(jtv) } - case "KeyType": if value != nil { jtv, ok := value.(string) @@ -2740,7 +2671,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.KeyType = types.KeyType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2749,7 +2679,6 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.Status = types.DeliveryStreamEncryptionStatus(jtv) } - default: _, _ = key, value @@ -2821,12 +2750,10 @@ func awsAwsjson11_deserializeDocumentDeserializer(v **types.Deserializer, value if err := awsAwsjson11_deserializeDocumentHiveJsonSerDe(&sv.HiveJsonSerDe, value); err != nil { return err } - case "OpenXJsonSerDe": if err := awsAwsjson11_deserializeDocumentOpenXJsonSerDe(&sv.OpenXJsonSerDe, value); err != nil { return err } - default: _, _ = key, value @@ -2862,12 +2789,10 @@ func awsAwsjson11_deserializeDocumentDestinationDescription(v **types.Destinatio if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescription(&sv.AmazonOpenSearchServerlessDestinationDescription, value); err != nil { return err } - case "AmazonopensearchserviceDestinationDescription": if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescription(&sv.AmazonopensearchserviceDestinationDescription, value); err != nil { return err } - case "DestinationId": if value != nil { jtv, ok := value.(string) @@ -2876,47 +2801,38 @@ func awsAwsjson11_deserializeDocumentDestinationDescription(v **types.Destinatio } sv.DestinationId = ptr.String(jtv) } - case "ElasticsearchDestinationDescription": if err := awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(&sv.ElasticsearchDestinationDescription, value); err != nil { return err } - case "ExtendedS3DestinationDescription": if err := awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(&sv.ExtendedS3DestinationDescription, value); err != nil { return err } - case "HttpEndpointDestinationDescription": if err := awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(&sv.HttpEndpointDestinationDescription, value); err != nil { return err } - case "IcebergDestinationDescription": if err := awsAwsjson11_deserializeDocumentIcebergDestinationDescription(&sv.IcebergDestinationDescription, value); err != nil { return err } - case "RedshiftDestinationDescription": if err := awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(&sv.RedshiftDestinationDescription, value); err != nil { return err } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "SnowflakeDestinationDescription": if err := awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(&sv.SnowflakeDestinationDescription, value); err != nil { return err } - case "SplunkDestinationDescription": if err := awsAwsjson11_deserializeDocumentSplunkDestinationDescription(&sv.SplunkDestinationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -2990,7 +2906,6 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.DestinationDatabaseName = ptr.String(jtv) } - case "DestinationTableName": if value != nil { jtv, ok := value.(string) @@ -2999,7 +2914,6 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.DestinationTableName = ptr.String(jtv) } - case "S3ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -3008,12 +2922,10 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.S3ErrorOutputPrefix = ptr.String(jtv) } - case "UniqueKeys": if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStringsWithoutWhitespace(&sv.UniqueKeys, value); err != nil { return err } - default: _, _ = key, value @@ -3087,7 +2999,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdOptions(v **types.DocumentIdOptio } sv.DefaultDocumentIdFormat = types.DefaultDocumentIdFormat(jtv) } - default: _, _ = key, value @@ -3127,12 +3038,10 @@ func awsAwsjson11_deserializeDocumentDynamicPartitioningConfiguration(v **types. } sv.Enabled = ptr.Bool(jtv) } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRetryOptions(&sv.RetryOptions, value); err != nil { return err } - default: _, _ = key, value @@ -3176,7 +3085,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(v **types.Elast } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -3189,7 +3097,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(v **types.Elast } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3225,12 +3132,10 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ if err := awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "ClusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -3239,12 +3144,10 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.ClusterEndpoint = ptr.String(jtv) } - case "DocumentIdOptions": if err := awsAwsjson11_deserializeDocumentDocumentIdOptions(&sv.DocumentIdOptions, value); err != nil { return err } - case "DomainARN": if value != nil { jtv, ok := value.(string) @@ -3253,7 +3156,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.DomainARN = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -3262,7 +3164,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.IndexName = ptr.String(jtv) } - case "IndexRotationPeriod": if value != nil { jtv, ok := value.(string) @@ -3271,17 +3172,14 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.IndexRotationPeriod = types.ElasticsearchIndexRotationPeriod(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentElasticsearchRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3290,7 +3188,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3299,12 +3196,10 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.S3BackupMode = types.ElasticsearchS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3313,12 +3208,10 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.TypeName = ptr.String(jtv) } - case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -3362,7 +3255,6 @@ func awsAwsjson11_deserializeDocumentElasticsearchRetryOptions(v **types.Elastic } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3398,7 +3290,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsAwsjson11_deserializeDocumentKMSEncryptionConfig(&sv.KMSEncryptionConfig, value); err != nil { return err } - case "NoEncryptionConfig": if value != nil { jtv, ok := value.(string) @@ -3407,7 +3298,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.NoEncryptionConfig = types.NoEncryptionConfig(jtv) } - default: _, _ = key, value @@ -3447,17 +3337,14 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.BucketARN = ptr.String(jtv) } - case "BufferingHints": if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "CompressionFormat": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3353,6 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.CompressionFormat = types.CompressionFormat(jtv) } - case "CustomTimeZone": if value != nil { jtv, ok := value.(string) @@ -3475,22 +3361,18 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.CustomTimeZone = ptr.String(jtv) } - case "DataFormatConversionConfiguration": if err := awsAwsjson11_deserializeDocumentDataFormatConversionConfiguration(&sv.DataFormatConversionConfiguration, value); err != nil { return err } - case "DynamicPartitioningConfiguration": if err := awsAwsjson11_deserializeDocumentDynamicPartitioningConfiguration(&sv.DynamicPartitioningConfiguration, value); err != nil { return err } - case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3381,6 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.ErrorOutputPrefix = ptr.String(jtv) } - case "FileExtension": if value != nil { jtv, ok := value.(string) @@ -3508,7 +3389,6 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.FileExtension = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -3517,12 +3397,10 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.Prefix = ptr.String(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3531,12 +3409,10 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.RoleARN = ptr.String(jtv) } - case "S3BackupDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3BackupDescription, value); err != nil { return err } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3545,7 +3421,6 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.S3BackupMode = types.S3BackupMode(jtv) } - default: _, _ = key, value @@ -3585,7 +3460,6 @@ func awsAwsjson11_deserializeDocumentFailureDescription(v **types.FailureDescrip } sv.Details = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3594,7 +3468,6 @@ func awsAwsjson11_deserializeDocumentFailureDescription(v **types.FailureDescrip } sv.Type = types.DeliveryStreamFailureType(jtv) } - default: _, _ = key, value @@ -3630,7 +3503,6 @@ func awsAwsjson11_deserializeDocumentHiveJsonSerDe(v **types.HiveJsonSerDe, valu if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStrings(&sv.TimestampFormats, value); err != nil { return err } - default: _, _ = key, value @@ -3674,7 +3546,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(v **types.HttpEn } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -3687,7 +3558,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(v **types.HttpEn } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3727,7 +3597,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointCommonAttribute(v **types.HttpE } sv.AttributeName = ptr.String(jtv) } - case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -3736,7 +3605,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointCommonAttribute(v **types.HttpE } sv.AttributeValue = ptr.String(jtv) } - default: _, _ = key, value @@ -3810,7 +3678,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDescription(v **types.HttpEndpo } sv.Name = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -3819,7 +3686,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDescription(v **types.HttpEndpo } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -3855,32 +3721,26 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type if err := awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "EndpointConfiguration": if err := awsAwsjson11_deserializeDocumentHttpEndpointDescription(&sv.EndpointConfiguration, value); err != nil { return err } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RequestConfiguration": if err := awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(&sv.RequestConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentHttpEndpointRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3889,7 +3749,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3898,17 +3757,14 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type } sv.S3BackupMode = types.HttpEndpointS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3944,7 +3800,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(v **types. if err := awsAwsjson11_deserializeDocumentHttpEndpointCommonAttributesList(&sv.CommonAttributes, value); err != nil { return err } - case "ContentEncoding": if value != nil { jtv, ok := value.(string) @@ -3953,7 +3808,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(v **types. } sv.ContentEncoding = types.ContentEncoding(jtv) } - default: _, _ = key, value @@ -3997,7 +3851,6 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRetryOptions(v **types.HttpEndp } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4033,32 +3886,26 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CatalogConfiguration": if err := awsAwsjson11_deserializeDocumentCatalogConfiguration(&sv.CatalogConfiguration, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "DestinationTableConfigurationList": if err := awsAwsjson11_deserializeDocumentDestinationTableConfigurationList(&sv.DestinationTableConfigurationList, value); err != nil { return err } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4067,7 +3914,6 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -4076,12 +3922,10 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice } sv.S3BackupMode = types.IcebergS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -4117,7 +3961,6 @@ func awsAwsjson11_deserializeDocumentInputFormatConfiguration(v **types.InputFor if err := awsAwsjson11_deserializeDocumentDeserializer(&sv.Deserializer, value); err != nil { return err } - default: _, _ = key, value @@ -4147,15 +3990,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4163,15 +4000,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4196,13 +4029,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4212,8 +4039,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4221,15 +4047,11 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4254,13 +4076,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4270,8 +4086,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4279,15 +4094,11 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4329,7 +4140,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } } - case "KinesisStreamARN": if value != nil { jtv, ok := value.(string) @@ -4338,7 +4148,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } sv.KinesisStreamARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4347,7 +4156,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4387,7 +4195,6 @@ func awsAwsjson11_deserializeDocumentKMSEncryptionConfig(v **types.KMSEncryption } sv.AWSKMSKeyARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4417,15 +4224,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4433,15 +4234,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4578,7 +4375,6 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "DeliveryStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -4594,7 +4390,6 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } } - case "MSKClusterARN": if value != nil { jtv, ok := value.(string) @@ -4603,7 +4398,6 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } sv.MSKClusterARN = ptr.String(jtv) } - case "ReadFromTimestamp": if value != nil { switch jtv := value.(type) { @@ -4619,7 +4413,6 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -4628,7 +4421,6 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -4668,12 +4460,10 @@ func awsAwsjson11_deserializeDocumentOpenXJsonSerDe(v **types.OpenXJsonSerDe, va } sv.CaseInsensitive = ptr.Bool(jtv) } - case "ColumnToJsonKeyMappings": if err := awsAwsjson11_deserializeDocumentColumnToJsonKeyMappings(&sv.ColumnToJsonKeyMappings, value); err != nil { return err } - case "ConvertDotsInJsonKeysToUnderscores": if value != nil { jtv, ok := value.(bool) @@ -4682,7 +4472,6 @@ func awsAwsjson11_deserializeDocumentOpenXJsonSerDe(v **types.OpenXJsonSerDe, va } sv.ConvertDotsInJsonKeysToUnderscores = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4726,12 +4515,10 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.BlockSizeBytes = ptr.Int32(int32(i64)) } - case "BloomFilterColumns": if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStringsWithoutWhitespace(&sv.BloomFilterColumns, value); err != nil { return err } - case "BloomFilterFalsePositiveProbability": if value != nil { switch jtv := value.(type) { @@ -4765,7 +4552,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -4774,7 +4560,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.Compression = types.OrcCompression(jtv) } - case "DictionaryKeyThreshold": if value != nil { switch jtv := value.(type) { @@ -4808,7 +4593,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } - case "EnablePadding": if value != nil { jtv, ok := value.(bool) @@ -4817,7 +4601,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.EnablePadding = ptr.Bool(jtv) } - case "FormatVersion": if value != nil { jtv, ok := value.(string) @@ -4826,7 +4609,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.FormatVersion = types.OrcFormatVersion(jtv) } - case "PaddingTolerance": if value != nil { switch jtv := value.(type) { @@ -4860,7 +4642,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } - case "RowIndexStride": if value != nil { jtv, ok := value.(json.Number) @@ -4873,7 +4654,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.RowIndexStride = ptr.Int32(int32(i64)) } - case "StripeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4886,7 +4666,6 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.StripeSizeBytes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4922,7 +4701,6 @@ func awsAwsjson11_deserializeDocumentOutputFormatConfiguration(v **types.OutputF if err := awsAwsjson11_deserializeDocumentSerializer(&sv.Serializer, value); err != nil { return err } - default: _, _ = key, value @@ -4966,7 +4744,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.BlockSizeBytes = ptr.Int32(int32(i64)) } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -4975,7 +4752,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.Compression = types.ParquetCompression(jtv) } - case "EnableDictionaryCompression": if value != nil { jtv, ok := value.(bool) @@ -4984,7 +4760,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.EnableDictionaryCompression = ptr.Bool(jtv) } - case "MaxPaddingBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4997,7 +4772,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.MaxPaddingBytes = ptr.Int32(int32(i64)) } - case "PageSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5010,7 +4784,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.PageSizeBytes = ptr.Int32(int32(i64)) } - case "WriterVersion": if value != nil { jtv, ok := value.(string) @@ -5019,7 +4792,6 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.WriterVersion = types.ParquetWriterVersion(jtv) } - default: _, _ = key, value @@ -5059,12 +4831,10 @@ func awsAwsjson11_deserializeDocumentProcessingConfiguration(v **types.Processin } sv.Enabled = ptr.Bool(jtv) } - case "Processors": if err := awsAwsjson11_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } - default: _, _ = key, value @@ -5100,7 +4870,6 @@ func awsAwsjson11_deserializeDocumentProcessor(v **types.Processor, value interf if err := awsAwsjson11_deserializeDocumentProcessorParameterList(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5109,7 +4878,6 @@ func awsAwsjson11_deserializeDocumentProcessor(v **types.Processor, value interf } sv.Type = types.ProcessorType(jtv) } - default: _, _ = key, value @@ -5183,7 +4951,6 @@ func awsAwsjson11_deserializeDocumentProcessorParameter(v **types.ProcessorParam } sv.ParameterName = types.ProcessorParameterName(jtv) } - case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -5192,7 +4959,6 @@ func awsAwsjson11_deserializeDocumentProcessorParameter(v **types.ProcessorParam } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5266,7 +5032,6 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5275,7 +5040,6 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.ErrorMessage = ptr.String(jtv) } - case "RecordId": if value != nil { jtv, ok := value.(string) @@ -5284,7 +5048,6 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.RecordId = ptr.String(jtv) } - default: _, _ = key, value @@ -5354,7 +5117,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "ClusterJDBCURL": if value != nil { jtv, ok := value.(string) @@ -5363,22 +5125,18 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.ClusterJDBCURL = ptr.String(jtv) } - case "CopyCommand": if err := awsAwsjson11_deserializeDocumentCopyCommand(&sv.CopyCommand, value); err != nil { return err } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRedshiftRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5387,12 +5145,10 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.RoleARN = ptr.String(jtv) } - case "S3BackupDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3BackupDescription, value); err != nil { return err } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -5401,17 +5157,14 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.S3BackupMode = types.RedshiftS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -5420,7 +5173,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -5464,7 +5216,6 @@ func awsAwsjson11_deserializeDocumentRedshiftRetryOptions(v **types.RedshiftRetr } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5494,15 +5245,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5510,15 +5255,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5543,15 +5284,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5559,15 +5294,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5606,7 +5337,6 @@ func awsAwsjson11_deserializeDocumentRetryOptions(v **types.RetryOptions, value } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5646,17 +5376,14 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.BucketARN = ptr.String(jtv) } - case "BufferingHints": if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "CompressionFormat": if value != nil { jtv, ok := value.(string) @@ -5665,12 +5392,10 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.CompressionFormat = types.CompressionFormat(jtv) } - case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -5679,7 +5404,6 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.ErrorOutputPrefix = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -5688,7 +5412,6 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.Prefix = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5697,7 +5420,6 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5737,7 +5459,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -5746,7 +5467,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.DatabaseName = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -5755,7 +5475,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.Region = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5764,7 +5483,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.RoleARN = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -5773,7 +5491,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.TableName = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5782,7 +5499,6 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5822,7 +5538,6 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.Enabled = ptr.Bool(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5831,7 +5546,6 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.RoleARN = ptr.String(jtv) } - case "SecretARN": if value != nil { jtv, ok := value.(string) @@ -5840,7 +5554,6 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.SecretARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5912,12 +5625,10 @@ func awsAwsjson11_deserializeDocumentSerializer(v **types.Serializer, value inte if err := awsAwsjson11_deserializeDocumentOrcSerDe(&sv.OrcSerDe, value); err != nil { return err } - case "ParquetSerDe": if err := awsAwsjson11_deserializeDocumentParquetSerDe(&sv.ParquetSerDe, value); err != nil { return err } - default: _, _ = key, value @@ -5947,15 +5658,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5963,15 +5668,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6010,7 +5711,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(v **types.Snowflake } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -6023,7 +5723,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(v **types.Snowflake } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6063,17 +5762,14 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.AccountUrl = ptr.String(jtv) } - case "BufferingHints": if err := awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "ContentColumnName": if value != nil { jtv, ok := value.(string) @@ -6082,7 +5778,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.ContentColumnName = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -6091,7 +5786,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Database = ptr.String(jtv) } - case "DataLoadingOption": if value != nil { jtv, ok := value.(string) @@ -6100,7 +5794,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.DataLoadingOption = types.SnowflakeDataLoadingOption(jtv) } - case "MetaDataColumnName": if value != nil { jtv, ok := value.(string) @@ -6109,17 +5802,14 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.MetaDataColumnName = ptr.String(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentSnowflakeRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6128,7 +5818,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.RoleARN = ptr.String(jtv) } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -6137,12 +5826,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.S3BackupMode = types.SnowflakeS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -6151,22 +5838,18 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Schema = ptr.String(jtv) } - case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } - case "SnowflakeRoleConfiguration": if err := awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(&sv.SnowflakeRoleConfiguration, value); err != nil { return err } - case "SnowflakeVpcConfiguration": if err := awsAwsjson11_deserializeDocumentSnowflakeVpcConfiguration(&sv.SnowflakeVpcConfiguration, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -6175,7 +5858,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Table = ptr.String(jtv) } - case "User": if value != nil { jtv, ok := value.(string) @@ -6184,7 +5866,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -6228,7 +5909,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeRetryOptions(v **types.SnowflakeRe } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6268,7 +5948,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(v **types.Snowfl } sv.Enabled = ptr.Bool(jtv) } - case "SnowflakeRole": if value != nil { jtv, ok := value.(string) @@ -6277,7 +5956,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(v **types.Snowfl } sv.SnowflakeRole = ptr.String(jtv) } - default: _, _ = key, value @@ -6317,7 +5995,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeVpcConfiguration(v **types.Snowfla } sv.PrivateLinkVpceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6353,12 +6030,10 @@ func awsAwsjson11_deserializeDocumentSourceDescription(v **types.SourceDescripti if err := awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(&sv.KinesisStreamSourceDescription, value); err != nil { return err } - case "MSKSourceDescription": if err := awsAwsjson11_deserializeDocumentMSKSourceDescription(&sv.MSKSourceDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6402,7 +6077,6 @@ func awsAwsjson11_deserializeDocumentSplunkBufferingHints(v **types.SplunkBuffer } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } - case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -6415,7 +6089,6 @@ func awsAwsjson11_deserializeDocumentSplunkBufferingHints(v **types.SplunkBuffer } sv.SizeInMBs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6451,12 +6124,10 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu if err := awsAwsjson11_deserializeDocumentSplunkBufferingHints(&sv.BufferingHints, value); err != nil { return err } - case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } - case "HECAcknowledgmentTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6469,7 +6140,6 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECAcknowledgmentTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "HECEndpoint": if value != nil { jtv, ok := value.(string) @@ -6478,7 +6148,6 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECEndpoint = ptr.String(jtv) } - case "HECEndpointType": if value != nil { jtv, ok := value.(string) @@ -6487,7 +6156,6 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECEndpointType = types.HECEndpointType(jtv) } - case "HECToken": if value != nil { jtv, ok := value.(string) @@ -6496,17 +6164,14 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECToken = ptr.String(jtv) } - case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } - case "RetryOptions": if err := awsAwsjson11_deserializeDocumentSplunkRetryOptions(&sv.RetryOptions, value); err != nil { return err } - case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -6515,17 +6180,14 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.S3BackupMode = types.SplunkS3BackupMode(jtv) } - case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } - case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6569,7 +6231,6 @@ func awsAwsjson11_deserializeDocumentSplunkRetryOptions(v **types.SplunkRetryOpt } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6645,7 +6306,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6654,7 +6314,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6694,17 +6353,14 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.RoleARN = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6713,7 +6369,6 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -6753,7 +6408,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeliveryStreamOutput(v **CreateDeli } sv.DeliveryStreamARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6820,7 +6474,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryStreamOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDeliveryStreamDescription(&sv.DeliveryStreamDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6856,7 +6509,6 @@ func awsAwsjson11_deserializeOpDocumentListDeliveryStreamsOutput(v **ListDeliver if err := awsAwsjson11_deserializeDocumentDeliveryStreamNameList(&sv.DeliveryStreamNames, value); err != nil { return err } - case "HasMoreDeliveryStreams": if value != nil { jtv, ok := value.(bool) @@ -6865,7 +6517,6 @@ func awsAwsjson11_deserializeOpDocumentListDeliveryStreamsOutput(v **ListDeliver } sv.HasMoreDeliveryStreams = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6905,12 +6556,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForDeliveryStreamOutput(v **ListT } sv.HasMoreTags = ptr.Bool(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentListTagsForDeliveryStreamOutputTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6950,7 +6599,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordBatchOutput(v **PutRecordBatchOu } sv.Encrypted = ptr.Bool(jtv) } - case "FailedPutCount": if value != nil { jtv, ok := value.(json.Number) @@ -6963,12 +6611,10 @@ func awsAwsjson11_deserializeOpDocumentPutRecordBatchOutput(v **PutRecordBatchOu } sv.FailedPutCount = ptr.Int32(int32(i64)) } - case "RequestResponses": if err := awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntryList(&sv.RequestResponses, value); err != nil { return err } - default: _, _ = key, value @@ -7008,7 +6654,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.Encrypted = ptr.Bool(jtv) } - case "RecordId": if value != nil { jtv, ok := value.(string) @@ -7017,7 +6662,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.RecordId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/fis/deserializers.go b/service/fis/deserializers.go index c74516262af..895e0e1a590 100644 --- a/service/fis/deserializers.go +++ b/service/fis/deserializers.go @@ -180,7 +180,6 @@ func awsRestjson1_deserializeOpDocumentCreateExperimentTemplateOutput(v **Create if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -341,7 +340,6 @@ func awsRestjson1_deserializeOpDocumentCreateTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -496,7 +494,6 @@ func awsRestjson1_deserializeOpDocumentDeleteExperimentTemplateOutput(v **Delete if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -651,7 +648,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -806,7 +802,6 @@ func awsRestjson1_deserializeOpDocumentGetActionOutput(v **GetActionOutput, valu if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - default: _, _ = key, value @@ -961,7 +956,6 @@ func awsRestjson1_deserializeOpDocumentGetExperimentOutput(v **GetExperimentOutp if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -1116,7 +1110,6 @@ func awsRestjson1_deserializeOpDocumentGetExperimentTargetAccountConfigurationOu if err := awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1271,7 +1264,6 @@ func awsRestjson1_deserializeOpDocumentGetExperimentTemplateOutput(v **GetExperi if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -1423,7 +1415,6 @@ func awsRestjson1_deserializeOpDocumentGetSafetyLeverOutput(v **GetSafetyLeverOu if err := awsRestjson1_deserializeDocumentSafetyLever(&sv.SafetyLever, value); err != nil { return err } - default: _, _ = key, value @@ -1578,7 +1569,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetAccountConfigurationOutput(v **G if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1733,7 +1723,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetResourceTypeOutput(v **GetTarget if err := awsRestjson1_deserializeDocumentTargetResourceType(&sv.TargetResourceType, value); err != nil { return err } - default: _, _ = key, value @@ -1885,7 +1874,6 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsRestjson1_deserializeDocumentActionSummaryList(&sv.Actions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1894,7 +1882,6 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2053,12 +2040,10 @@ func awsRestjson1_deserializeOpDocumentListExperimentResolvedTargetsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "resolvedTargets": if err := awsRestjson1_deserializeDocumentResolvedTargetList(&sv.ResolvedTargets, value); err != nil { return err } - default: _, _ = key, value @@ -2210,7 +2195,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsRestjson1_deserializeDocumentExperimentSummaryList(&sv.Experiments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2219,7 +2203,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2378,12 +2361,10 @@ func awsRestjson1_deserializeOpDocumentListExperimentTargetAccountConfigurations } sv.NextToken = ptr.String(jtv) } - case "targetAccountConfigurations": if err := awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationList(&sv.TargetAccountConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -2535,7 +2516,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentTemplatesOutput(v **ListExp if err := awsRestjson1_deserializeDocumentExperimentTemplateSummaryList(&sv.ExperimentTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2544,7 +2524,6 @@ func awsRestjson1_deserializeOpDocumentListExperimentTemplatesOutput(v **ListExp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2693,7 +2672,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2852,12 +2830,10 @@ func awsRestjson1_deserializeOpDocumentListTargetAccountConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "targetAccountConfigurations": if err := awsRestjson1_deserializeDocumentTargetAccountConfigurationList(&sv.TargetAccountConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3013,12 +2989,10 @@ func awsRestjson1_deserializeOpDocumentListTargetResourceTypesOutput(v **ListTar } sv.NextToken = ptr.String(jtv) } - case "targetResourceTypes": if err := awsRestjson1_deserializeDocumentTargetResourceTypeSummaryList(&sv.TargetResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -3179,7 +3153,6 @@ func awsRestjson1_deserializeOpDocumentStartExperimentOutput(v **StartExperiment if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -3334,7 +3307,6 @@ func awsRestjson1_deserializeOpDocumentStopExperimentOutput(v **StopExperimentOu if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - default: _, _ = key, value @@ -3662,7 +3634,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExperimentTemplateOutput(v **Update if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -3820,7 +3791,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSafetyLeverStateOutput(v **UpdateSa if err := awsRestjson1_deserializeDocumentSafetyLever(&sv.SafetyLever, value); err != nil { return err } - default: _, _ = key, value @@ -3975,7 +3945,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4159,7 +4128,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4168,7 +4136,6 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4177,22 +4144,18 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Id = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActionParameterMap(&sv.Parameters, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentActionTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -4232,7 +4195,6 @@ func awsRestjson1_deserializeDocumentActionParameter(v **types.ActionParameter, } sv.Description = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -4241,7 +4203,6 @@ func awsRestjson1_deserializeDocumentActionParameter(v **types.ActionParameter, } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4316,7 +4277,6 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4325,7 +4285,6 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4334,17 +4293,14 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentActionTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -4418,7 +4374,6 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -4483,15 +4438,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4499,15 +4448,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4538,7 +4483,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte if err := awsRestjson1_deserializeDocumentExperimentActionMap(&sv.Actions, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4547,7 +4491,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -4563,7 +4506,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -4579,12 +4521,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } - case "experimentTemplateId": if value != nil { jtv, ok := value.(string) @@ -4593,7 +4533,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentTemplateId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4602,12 +4541,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Id = ptr.String(jtv) } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentExperimentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4616,7 +4553,6 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.RoleArn = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -4632,22 +4568,18 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "state": if err := awsRestjson1_deserializeDocumentExperimentState(&sv.State, value); err != nil { return err } - case "stopConditions": if err := awsRestjson1_deserializeDocumentExperimentStopConditionList(&sv.StopConditions, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetAccountConfigurationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -4660,12 +4592,10 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.TargetAccountConfigurationsCount = ptr.Int64(i64) } - case "targets": if err := awsRestjson1_deserializeDocumentExperimentTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -4705,7 +4635,6 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } sv.ActionId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4643,6 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -4730,17 +4658,14 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } } - case "parameters": if err := awsRestjson1_deserializeDocumentExperimentActionParameterMap(&sv.Parameters, value); err != nil { return err } - case "startAfter": if err := awsRestjson1_deserializeDocumentExperimentActionStartAfterList(&sv.StartAfter, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -4756,17 +4681,14 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } } - case "state": if err := awsRestjson1_deserializeDocumentExperimentActionState(&sv.State, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentExperimentActionTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -4913,7 +4835,6 @@ func awsRestjson1_deserializeDocumentExperimentActionState(v **types.ExperimentA } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4922,7 +4843,6 @@ func awsRestjson1_deserializeDocumentExperimentActionState(v **types.ExperimentA } sv.Status = types.ExperimentActionStatus(jtv) } - default: _, _ = key, value @@ -4998,7 +4918,6 @@ func awsRestjson1_deserializeDocumentExperimentCloudWatchLogsLogConfiguration(v } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5038,7 +4957,6 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.AccountId = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -5047,7 +4965,6 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.Code = ptr.String(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -5056,7 +4973,6 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -5092,7 +5008,6 @@ func awsRestjson1_deserializeDocumentExperimentLogConfiguration(v **types.Experi if err := awsRestjson1_deserializeDocumentExperimentCloudWatchLogsLogConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } - case "logSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5105,12 +5020,10 @@ func awsRestjson1_deserializeDocumentExperimentLogConfiguration(v **types.Experi } sv.LogSchemaVersion = ptr.Int32(int32(i64)) } - case "s3Configuration": if err := awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -5150,7 +5063,6 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.AccountTargeting = types.AccountTargeting(jtv) } - case "actionsMode": if value != nil { jtv, ok := value.(string) @@ -5159,7 +5071,6 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.ActionsMode = types.ActionsMode(jtv) } - case "emptyTargetResolutionMode": if value != nil { jtv, ok := value.(string) @@ -5168,7 +5079,6 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.EmptyTargetResolutionMode = types.EmptyTargetResolutionMode(jtv) } - default: _, _ = key, value @@ -5208,7 +5118,6 @@ func awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(v **types.Expe } sv.BucketName = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -5217,7 +5126,6 @@ func awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(v **types.Expe } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -5253,7 +5161,6 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, if err := awsRestjson1_deserializeDocumentExperimentError(&sv.Error, value); err != nil { return err } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5262,7 +5169,6 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5271,7 +5177,6 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, } sv.Status = types.ExperimentStatus(jtv) } - default: _, _ = key, value @@ -5311,7 +5216,6 @@ func awsRestjson1_deserializeDocumentExperimentStopCondition(v **types.Experimen } sv.Source = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -5320,7 +5224,6 @@ func awsRestjson1_deserializeDocumentExperimentStopCondition(v **types.Experimen } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5394,7 +5297,6 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5410,12 +5312,10 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } - case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } - case "experimentTemplateId": if value != nil { jtv, ok := value.(string) @@ -5424,7 +5324,6 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentTemplateId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5433,17 +5332,14 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.Id = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentExperimentState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5513,22 +5409,18 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget if err := awsRestjson1_deserializeDocumentExperimentTargetFilterList(&sv.Filters, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTargetParameterMap(&sv.Parameters, value); err != nil { return err } - case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } - case "resourceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.ResourceTags, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5537,7 +5429,6 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget } sv.ResourceType = ptr.String(jtv) } - case "selectionMode": if value != nil { jtv, ok := value.(string) @@ -5546,7 +5437,6 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget } sv.SelectionMode = ptr.String(jtv) } - default: _, _ = key, value @@ -5586,7 +5476,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.AccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5595,7 +5484,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.Description = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5604,7 +5492,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5678,7 +5565,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.AccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5687,7 +5573,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.Description = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5696,7 +5581,6 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5736,12 +5620,10 @@ func awsRestjson1_deserializeDocumentExperimentTargetFilter(v **types.Experiment } sv.Path = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentExperimentTargetFilterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -5918,7 +5800,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp if err := awsRestjson1_deserializeDocumentExperimentTemplateActionMap(&sv.Actions, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5927,7 +5808,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5943,7 +5823,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5952,12 +5831,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Description = ptr.String(jtv) } - case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5966,7 +5843,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5982,12 +5858,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } } - case "logConfiguration": if err := awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5996,17 +5870,14 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.RoleArn = ptr.String(jtv) } - case "stopConditions": if err := awsRestjson1_deserializeDocumentExperimentTemplateStopConditionList(&sv.StopConditions, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetAccountConfigurationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6019,12 +5890,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.TargetAccountConfigurationsCount = ptr.Int64(i64) } - case "targets": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -6064,7 +5933,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateAction(v **types.Experime } sv.ActionId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6073,22 +5941,18 @@ func awsRestjson1_deserializeDocumentExperimentTemplateAction(v **types.Experime } sv.Description = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionParameterMap(&sv.Parameters, value); err != nil { return err } - case "startAfter": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionStartAfterList(&sv.StartAfter, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionTargetMap(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -6271,7 +6135,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateCloudWatchLogsLogConfigur } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6311,7 +6174,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(v **typ } sv.AccountTargeting = types.AccountTargeting(jtv) } - case "emptyTargetResolutionMode": if value != nil { jtv, ok := value.(string) @@ -6320,7 +6182,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(v **typ } sv.EmptyTargetResolutionMode = types.EmptyTargetResolutionMode(jtv) } - default: _, _ = key, value @@ -6356,7 +6217,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(v **type if err := awsRestjson1_deserializeDocumentExperimentTemplateCloudWatchLogsLogConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } - case "logSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6369,12 +6229,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(v **type } sv.LogSchemaVersion = ptr.Int32(int32(i64)) } - case "s3Configuration": if err := awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -6414,7 +6272,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(v **ty } sv.BucketName = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -6423,7 +6280,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(v **ty } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -6463,7 +6319,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateStopCondition(v **types.E } sv.Source = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6472,7 +6327,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateStopCondition(v **types.E } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6546,7 +6400,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6562,7 +6415,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6571,7 +6423,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6580,7 +6431,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6596,12 +6446,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6671,22 +6519,18 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetFilterList(&sv.Filters, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetParameterMap(&sv.Parameters, value); err != nil { return err } - case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } - case "resourceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.ResourceTags, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6695,7 +6539,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime } sv.ResourceType = ptr.String(jtv) } - case "selectionMode": if value != nil { jtv, ok := value.(string) @@ -6704,7 +6547,6 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime } sv.SelectionMode = ptr.String(jtv) } - default: _, _ = key, value @@ -6744,12 +6586,10 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTargetFilter(v **types.Ex } sv.Path = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetFilterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -6930,12 +6770,10 @@ func awsRestjson1_deserializeDocumentResolvedTarget(v **types.ResolvedTarget, va } sv.ResourceType = ptr.String(jtv) } - case "targetInformation": if err := awsRestjson1_deserializeDocumentTargetInformationMap(&sv.TargetInformation, value); err != nil { return err } - case "targetName": if value != nil { jtv, ok := value.(string) @@ -6944,7 +6782,6 @@ func awsRestjson1_deserializeDocumentResolvedTarget(v **types.ResolvedTarget, va } sv.TargetName = ptr.String(jtv) } - default: _, _ = key, value @@ -7044,15 +6881,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7060,15 +6891,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7103,7 +6930,6 @@ func awsRestjson1_deserializeDocumentSafetyLever(v **types.SafetyLever, value in } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7112,12 +6938,10 @@ func awsRestjson1_deserializeDocumentSafetyLever(v **types.SafetyLever, value in } sv.Id = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentSafetyLeverState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -7157,7 +6981,6 @@ func awsRestjson1_deserializeDocumentSafetyLeverState(v **types.SafetyLeverState } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7166,7 +6989,6 @@ func awsRestjson1_deserializeDocumentSafetyLeverState(v **types.SafetyLeverState } sv.Status = types.SafetyLeverStatus(jtv) } - default: _, _ = key, value @@ -7196,15 +7018,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7212,15 +7028,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7291,7 +7103,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.AccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7111,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.Description = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7309,7 +7119,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7383,7 +7192,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.AccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7392,7 +7200,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.Description = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7401,7 +7208,6 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7477,12 +7283,10 @@ func awsRestjson1_deserializeDocumentTargetResourceType(v **types.TargetResource } sv.Description = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentTargetResourceTypeParameterMap(&sv.Parameters, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7491,7 +7295,6 @@ func awsRestjson1_deserializeDocumentTargetResourceType(v **types.TargetResource } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -7531,7 +7334,6 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeParameter(v **types.Targe } sv.Description = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -7540,7 +7342,6 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeParameter(v **types.Targe } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7615,7 +7416,6 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeSummary(v **types.TargetR } sv.Description = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7624,7 +7424,6 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeSummary(v **types.TargetR } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -7688,15 +7487,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7704,15 +7497,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/fms/deserializers.go b/service/fms/deserializers.go index 026e05f0378..d0654b9c5f8 100644 --- a/service/fms/deserializers.go +++ b/service/fms/deserializers.go @@ -5114,7 +5114,6 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.Accounts, value); err != nil { return err } - case "AllAccountsEnabled": if value != nil { jtv, ok := value.(bool) @@ -5123,7 +5122,6 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value } sv.AllAccountsEnabled = jtv } - case "ExcludeSpecifiedAccounts": if value != nil { jtv, ok := value.(bool) @@ -5132,7 +5130,6 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value } sv.ExcludeSpecifiedAccounts = jtv } - default: _, _ = key, value @@ -5172,7 +5169,6 @@ func awsAwsjson11_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Description = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5181,7 +5177,6 @@ func awsAwsjson11_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5221,7 +5216,6 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.AdminAccount = ptr.String(jtv) } - case "DefaultAdmin": if value != nil { jtv, ok := value.(bool) @@ -5230,7 +5224,6 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.DefaultAdmin = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5239,7 +5232,6 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.Status = types.OrganizationStatus(jtv) } - default: _, _ = key, value @@ -5309,22 +5301,18 @@ func awsAwsjson11_deserializeDocumentAdminScope(v **types.AdminScope, value inte if err := awsAwsjson11_deserializeDocumentAccountScope(&sv.AccountScope, value); err != nil { return err } - case "OrganizationalUnitScope": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitScope(&sv.OrganizationalUnitScope, value); err != nil { return err } - case "PolicyTypeScope": if err := awsAwsjson11_deserializeDocumentPolicyTypeScope(&sv.PolicyTypeScope, value); err != nil { return err } - case "RegionScope": if err := awsAwsjson11_deserializeDocumentRegionScope(&sv.RegionScope, value); err != nil { return err } - default: _, _ = key, value @@ -5364,7 +5352,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -5377,7 +5364,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Port = ptr.Int64(i64) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -5386,7 +5372,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -5456,7 +5441,6 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value if err := awsAwsjson11_deserializeDocumentAppsList(&sv.AppsList, value); err != nil { return err } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -5472,7 +5456,6 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5488,7 +5471,6 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } } - case "ListId": if value != nil { jtv, ok := value.(string) @@ -5497,7 +5479,6 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListId = ptr.String(jtv) } - case "ListName": if value != nil { jtv, ok := value.(string) @@ -5506,7 +5487,6 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListName = ptr.String(jtv) } - case "ListUpdateToken": if value != nil { jtv, ok := value.(string) @@ -5515,12 +5495,10 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListUpdateToken = ptr.String(jtv) } - case "PreviousAppsList": if err := awsAwsjson11_deserializeDocumentPreviousAppsList(&sv.PreviousAppsList, value); err != nil { return err } - default: _, _ = key, value @@ -5556,7 +5534,6 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS if err := awsAwsjson11_deserializeDocumentAppsList(&sv.AppsList, value); err != nil { return err } - case "ListArn": if value != nil { jtv, ok := value.(string) @@ -5565,7 +5542,6 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListArn = ptr.String(jtv) } - case "ListId": if value != nil { jtv, ok := value.(string) @@ -5574,7 +5550,6 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListId = ptr.String(jtv) } - case "ListName": if value != nil { jtv, ok := value.(string) @@ -5583,7 +5558,6 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListName = ptr.String(jtv) } - default: _, _ = key, value @@ -5653,7 +5627,6 @@ func awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(v **types.AwsEc2Ins if err := awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolations(&sv.AwsEc2NetworkInterfaceViolations, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5662,7 +5635,6 @@ func awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(v **types.AwsEc2Ins } sv.ViolationTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -5698,7 +5670,6 @@ func awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(v **types.A if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.ViolatingSecurityGroups, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5707,7 +5678,6 @@ func awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(v **types.A } sv.ViolationTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -5813,12 +5783,10 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV if err := awsAwsjson11_deserializeDocumentPartialMatches(&sv.PartialMatches, value); err != nil { return err } - case "PossibleSecurityGroupRemediationActions": if err := awsAwsjson11_deserializeDocumentSecurityGroupRemediationActions(&sv.PossibleSecurityGroupRemediationActions, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5827,7 +5795,6 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV } sv.ViolationTarget = ptr.String(jtv) } - case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -5836,7 +5803,6 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV } sv.ViolationTargetDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -5872,7 +5838,6 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol if err := awsAwsjson11_deserializeDocumentComplianceViolatorMetadata(&sv.Metadata, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5881,7 +5846,6 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5890,7 +5854,6 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ResourceType = ptr.String(jtv) } - case "ViolationReason": if value != nil { jtv, ok := value.(string) @@ -5899,7 +5862,6 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ViolationReason = types.ViolationReason(jtv) } - default: _, _ = key, value @@ -6009,7 +5971,6 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclAction(v **types.CreateNetw } sv.Description = ptr.String(jtv) } - case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -6018,12 +5979,10 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclAction(v **types.CreateNetw } sv.FMSCanRemediate = jtv } - case "Vpc": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -6063,7 +6022,6 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(v **types.Cre } sv.Description = ptr.String(jtv) } - case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -6072,17 +6030,14 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(v **types.Cre } sv.FMSCanRemediate = jtv } - case "NetworkAclEntriesToBeCreated": if err := awsAwsjson11_deserializeDocumentEntriesDescription(&sv.NetworkAclEntriesToBeCreated, value); err != nil { return err } - case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } - default: _, _ = key, value @@ -6192,7 +6147,6 @@ func awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(v **types.Del } sv.Description = ptr.String(jtv) } - case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -6201,17 +6155,14 @@ func awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(v **types.Del } sv.FMSCanRemediate = jtv } - case "NetworkAclEntriesToBeDeleted": if err := awsAwsjson11_deserializeDocumentEntriesDescription(&sv.NetworkAclEntriesToBeDeleted, value); err != nil { return err } - case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } - default: _, _ = key, value @@ -6251,7 +6202,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.AccountId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6260,7 +6210,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6269,7 +6218,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Type = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -6278,7 +6226,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -6352,7 +6299,6 @@ func awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(v **types.Dn } sv.ViolationTarget = ptr.String(jtv) } - case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6361,7 +6307,6 @@ func awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(v **types.Dn } sv.ViolationTargetDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -6405,7 +6350,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.NumberOfRuleGroupsAlreadyAssociated = int32(i64) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6358,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.ViolationTarget = ptr.String(jtv) } - case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6423,7 +6366,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.ViolationTargetDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -6503,7 +6445,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ConflictingPolicyId = ptr.String(jtv) } - case "ConflictingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -6516,12 +6457,10 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ConflictingPriority = int32(i64) } - case "UnavailablePriorities": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupPriorities(&sv.UnavailablePriorities, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -6530,7 +6469,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ViolationTarget = ptr.String(jtv) } - case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6539,7 +6477,6 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ViolationTargetDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -6579,22 +6516,18 @@ func awsAwsjson11_deserializeDocumentEC2AssociateRouteTableAction(v **types.EC2A } sv.Description = ptr.String(jtv) } - case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - case "SubnetId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.SubnetId, value); err != nil { return err } - default: _, _ = key, value @@ -6634,17 +6567,14 @@ func awsAwsjson11_deserializeDocumentEC2CopyRouteTableAction(v **types.EC2CopyRo } sv.Description = ptr.String(jtv) } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - case "VpcId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcId, value); err != nil { return err } - default: _, _ = key, value @@ -6684,7 +6614,6 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.Description = ptr.String(jtv) } - case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6693,7 +6622,6 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationCidrBlock = ptr.String(jtv) } - case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6702,7 +6630,6 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } - case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6711,22 +6638,18 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationPrefixListId = ptr.String(jtv) } - case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - case "VpcEndpointId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcEndpointId, value); err != nil { return err } - default: _, _ = key, value @@ -6766,12 +6689,10 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteTableAction(v **types.EC2Crea } sv.Description = ptr.String(jtv) } - case "VpcId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcId, value); err != nil { return err } - default: _, _ = key, value @@ -6811,7 +6732,6 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.Description = ptr.String(jtv) } - case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6820,7 +6740,6 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationCidrBlock = ptr.String(jtv) } - case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6829,7 +6748,6 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } - case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6838,12 +6756,10 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationPrefixListId = ptr.String(jtv) } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - default: _, _ = key, value @@ -6883,7 +6799,6 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.Description = ptr.String(jtv) } - case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6892,7 +6807,6 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationCidrBlock = ptr.String(jtv) } - case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6901,7 +6815,6 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } - case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6910,17 +6823,14 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationPrefixListId = ptr.String(jtv) } - case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - default: _, _ = key, value @@ -6956,7 +6866,6 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(v **t if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.AssociationId, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6965,12 +6874,10 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(v **t } sv.Description = ptr.String(jtv) } - case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } - default: _, _ = key, value @@ -7074,7 +6981,6 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription if err := awsAwsjson11_deserializeDocumentNetworkAclEntry(&sv.EntryDetail, value); err != nil { return err } - case "EntryRuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -7087,7 +6993,6 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription } sv.EntryRuleNumber = int32(i64) } - case "EntryType": if value != nil { jtv, ok := value.(string) @@ -7096,7 +7001,6 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription } sv.EntryType = types.EntryType(jtv) } - default: _, _ = key, value @@ -7136,27 +7040,22 @@ func awsAwsjson11_deserializeDocumentEntryViolation(v **types.EntryViolation, va } sv.ActualEvaluationOrder = ptr.String(jtv) } - case "EntriesWithConflicts": if err := awsAwsjson11_deserializeDocumentEntriesWithConflicts(&sv.EntriesWithConflicts, value); err != nil { return err } - case "EntryAtExpectedEvaluationOrder": if err := awsAwsjson11_deserializeDocumentEntryDescription(&sv.EntryAtExpectedEvaluationOrder, value); err != nil { return err } - case "EntryViolationReasons": if err := awsAwsjson11_deserializeDocumentEntryViolationReasons(&sv.EntryViolationReasons, value); err != nil { return err } - case "ExpectedEntry": if err := awsAwsjson11_deserializeDocumentEntryDescription(&sv.ExpectedEntry, value); err != nil { return err } - case "ExpectedEvaluationOrder": if value != nil { jtv, ok := value.(string) @@ -7165,7 +7064,6 @@ func awsAwsjson11_deserializeDocumentEntryViolation(v **types.EntryViolation, va } sv.ExpectedEvaluationOrder = ptr.String(jtv) } - default: _, _ = key, value @@ -7275,7 +7173,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ComplianceStatus = types.PolicyComplianceStatusType(jtv) } - case "EvaluationLimitExceeded": if value != nil { jtv, ok := value.(bool) @@ -7284,7 +7181,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.EvaluationLimitExceeded = jtv } - case "ViolatorCount": if value != nil { jtv, ok := value.(json.Number) @@ -7297,7 +7193,6 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ViolatorCount = i64 } - default: _, _ = key, value @@ -7367,12 +7262,10 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu if err := awsAwsjson11_deserializeDocumentLengthBoundedStringList(&sv.AllowedTargets, value); err != nil { return err } - case "ContributingSubnets": if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.ContributingSubnets, value); err != nil { return err } - case "IpV4Cidr": if value != nil { jtv, ok := value.(string) @@ -7381,7 +7274,6 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.IpV4Cidr = ptr.String(jtv) } - case "IpV6Cidr": if value != nil { jtv, ok := value.(string) @@ -7390,7 +7282,6 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.IpV6Cidr = ptr.String(jtv) } - case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -7399,7 +7290,6 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.PrefixListId = ptr.String(jtv) } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -7408,7 +7298,6 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.RouteTableId = ptr.String(jtv) } - default: _, _ = key, value @@ -7482,7 +7371,6 @@ func awsAwsjson11_deserializeDocumentFailedItem(v **types.FailedItem, value inte } sv.Reason = types.FailedItemReason(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -7491,7 +7379,6 @@ func awsAwsjson11_deserializeDocumentFailedItem(v **types.FailedItem, value inte } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -7565,7 +7452,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.FirewallSubnetId = ptr.String(jtv) } - case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7574,7 +7460,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -7583,7 +7468,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -7592,7 +7476,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7601,7 +7484,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7641,7 +7523,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.FirewallSubnetId = ptr.String(jtv) } - case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7650,7 +7531,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -7659,7 +7539,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7668,7 +7547,6 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7708,7 +7586,6 @@ func awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction } sv.Description = ptr.String(jtv) } - case "FirewallCreationConfig": if value != nil { jtv, ok := value.(string) @@ -7717,7 +7594,6 @@ func awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction } sv.FirewallCreationConfig = ptr.String(jtv) } - default: _, _ = key, value @@ -7747,15 +7623,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7763,15 +7633,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7796,15 +7662,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7812,15 +7672,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7855,12 +7711,10 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.CurrentAssociatedNetworkAcl = ptr.String(jtv) } - case "EntryViolations": if err := awsAwsjson11_deserializeDocumentEntryViolations(&sv.EntryViolations, value); err != nil { return err } - case "Subnet": if value != nil { jtv, ok := value.(string) @@ -7869,7 +7723,6 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.Subnet = ptr.String(jtv) } - case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7878,7 +7731,6 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "Vpc": if value != nil { jtv, ok := value.(string) @@ -7887,7 +7739,6 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.Vpc = ptr.String(jtv) } - default: _, _ = key, value @@ -7917,15 +7768,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7933,15 +7778,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7966,15 +7807,9 @@ func awsAwsjson11_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7982,15 +7817,11 @@ func awsAwsjson11_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8087,15 +7918,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8103,15 +7928,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8178,7 +7999,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclCommonPolicy(v **types.NetworkAcl if err := awsAwsjson11_deserializeDocumentNetworkAclEntrySet(&sv.NetworkAclEntrySet, value); err != nil { return err } - default: _, _ = key, value @@ -8252,7 +8072,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.CidrBlock = ptr.String(jtv) } - case "Egress": if value != nil { jtv, ok := value.(bool) @@ -8261,12 +8080,10 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Egress = ptr.Bool(jtv) } - case "IcmpTypeCode": if err := awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } - case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -8275,12 +8092,10 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Ipv6CidrBlock = ptr.String(jtv) } - case "PortRange": if err := awsAwsjson11_deserializeDocumentNetworkAclPortRange(&sv.PortRange, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -8289,7 +8104,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Protocol = ptr.String(jtv) } - case "RuleAction": if value != nil { jtv, ok := value.(string) @@ -8298,7 +8112,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.RuleAction = types.NetworkAclRuleAction(jtv) } - default: _, _ = key, value @@ -8334,7 +8147,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr if err := awsAwsjson11_deserializeDocumentNetworkAclEntries(&sv.FirstEntries, value); err != nil { return err } - case "ForceRemediateForFirstEntries": if value != nil { jtv, ok := value.(bool) @@ -8343,7 +8155,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr } sv.ForceRemediateForFirstEntries = ptr.Bool(jtv) } - case "ForceRemediateForLastEntries": if value != nil { jtv, ok := value.(bool) @@ -8352,12 +8163,10 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr } sv.ForceRemediateForLastEntries = ptr.Bool(jtv) } - case "LastEntries": if err := awsAwsjson11_deserializeDocumentNetworkAclEntries(&sv.LastEntries, value); err != nil { return err } - default: _, _ = key, value @@ -8401,7 +8210,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(v **types.NetworkAcl } sv.Code = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(json.Number) @@ -8414,7 +8222,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(v **types.NetworkAcl } sv.Type = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8458,7 +8265,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclPortRange(v **types.NetworkAclPor } sv.From = ptr.Int32(int32(i64)) } - case "To": if value != nil { jtv, ok := value.(json.Number) @@ -8471,7 +8277,6 @@ func awsAwsjson11_deserializeDocumentNetworkAclPortRange(v **types.NetworkAclPor } sv.To = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8547,12 +8352,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.RouteTableId = ptr.String(jtv) } - case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8561,7 +8364,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.ViolationTarget = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8570,7 +8372,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -8606,12 +8407,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualFirewallSubnetRoutes, value); err != nil { return err } - case "ActualInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualInternetGatewayRoutes, value); err != nil { return err } - case "CurrentFirewallSubnetRouteTable": if value != nil { jtv, ok := value.(string) @@ -8620,7 +8419,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } - case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -8629,7 +8427,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } - case "ExpectedFirewallEndpoint": if value != nil { jtv, ok := value.(string) @@ -8638,17 +8435,14 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.ExpectedFirewallEndpoint = ptr.String(jtv) } - case "ExpectedFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedFirewallSubnetRoutes, value); err != nil { return err } - case "ExpectedInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedInternetGatewayRoutes, value); err != nil { return err } - case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8657,7 +8451,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.FirewallSubnetId = ptr.String(jtv) } - case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -8666,7 +8459,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.InternetGatewayId = ptr.String(jtv) } - case "IsRouteTableUsedInDifferentAZ": if value != nil { jtv, ok := value.(bool) @@ -8675,7 +8467,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.IsRouteTableUsedInDifferentAZ = jtv } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -8684,7 +8475,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.RouteTableId = ptr.String(jtv) } - case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -8693,7 +8483,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -8702,12 +8491,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.SubnetId = ptr.String(jtv) } - case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8716,7 +8503,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -8756,7 +8542,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ActualFirewallEndpoint = ptr.String(jtv) } - case "ActualFirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8765,22 +8550,18 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ActualFirewallSubnetId = ptr.String(jtv) } - case "ActualFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualFirewallSubnetRoutes, value); err != nil { return err } - case "ActualInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualInternetGatewayRoutes, value); err != nil { return err } - case "AffectedSubnets": if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.AffectedSubnets, value); err != nil { return err } - case "CurrentFirewallSubnetRouteTable": if value != nil { jtv, ok := value.(string) @@ -8789,7 +8570,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } - case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -8798,7 +8578,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } - case "ExpectedFirewallEndpoint": if value != nil { jtv, ok := value.(string) @@ -8807,7 +8586,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ExpectedFirewallEndpoint = ptr.String(jtv) } - case "ExpectedFirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8816,17 +8594,14 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ExpectedFirewallSubnetId = ptr.String(jtv) } - case "ExpectedFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedFirewallSubnetRoutes, value); err != nil { return err } - case "ExpectedInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedInternetGatewayRoutes, value); err != nil { return err } - case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -8835,7 +8610,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.InternetGatewayId = ptr.String(jtv) } - case "IsRouteTableUsedInDifferentAZ": if value != nil { jtv, ok := value.(bool) @@ -8844,7 +8618,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.IsRouteTableUsedInDifferentAZ = jtv } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -8853,12 +8626,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.RouteTableId = ptr.String(jtv) } - case "ViolatingRoute": if err := awsAwsjson11_deserializeDocumentRoute(&sv.ViolatingRoute, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8867,7 +8638,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -8903,7 +8673,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedRoutes, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8912,7 +8681,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati } sv.ViolationTarget = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8921,7 +8689,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -8961,7 +8728,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.AvailabilityZone = ptr.String(jtv) } - case "CurrentRouteTable": if value != nil { jtv, ok := value.(string) @@ -8970,7 +8736,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.CurrentRouteTable = ptr.String(jtv) } - case "ExpectedRouteTable": if value != nil { jtv, ok := value.(string) @@ -8979,7 +8744,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.ExpectedRouteTable = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8988,7 +8752,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -8997,7 +8760,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -9037,7 +8799,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.AvailabilityZone = ptr.String(jtv) } - case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -9046,7 +8807,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.TargetViolationReason = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -9055,7 +8815,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -9064,7 +8823,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -9104,7 +8862,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.AvailabilityZone = ptr.String(jtv) } - case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -9113,7 +8870,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.TargetViolationReason = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -9122,7 +8878,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -9131,7 +8886,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -9171,7 +8925,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicy(v **types.NetworkFire } sv.FirewallDeploymentModel = types.FirewallDeploymentModel(jtv) } - default: _, _ = key, value @@ -9207,37 +8960,30 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(v **types. if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatefulDefaultActions, value); err != nil { return err } - case "StatefulEngineOptions": if err := awsAwsjson11_deserializeDocumentStatefulEngineOptions(&sv.StatefulEngineOptions, value); err != nil { return err } - case "StatefulRuleGroups": if err := awsAwsjson11_deserializeDocumentStatefulRuleGroupList(&sv.StatefulRuleGroups, value); err != nil { return err } - case "StatelessCustomActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessCustomActions, value); err != nil { return err } - case "StatelessDefaultActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessDefaultActions, value); err != nil { return err } - case "StatelessFragmentDefaultActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } - case "StatelessRuleGroups": if err := awsAwsjson11_deserializeDocumentStatelessRuleGroupList(&sv.StatelessRuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -9273,12 +9019,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(v ** if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(&sv.CurrentPolicyDescription, value); err != nil { return err } - case "ExpectedPolicyDescription": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(&sv.ExpectedPolicyDescription, value); err != nil { return err } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -9287,7 +9031,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(v ** } sv.ViolationTarget = ptr.String(jtv) } - default: _, _ = key, value @@ -9327,7 +9070,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallStatefulRuleGroupOverride(v } sv.Action = types.NetworkFirewallOverrideAction(jtv) } - default: _, _ = key, value @@ -9367,7 +9109,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.FirewallEndpoint = ptr.String(jtv) } - case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -9376,7 +9117,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.FirewallSubnetId = ptr.String(jtv) } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -9385,12 +9125,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.RouteTableId = ptr.String(jtv) } - case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9399,7 +9137,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9439,7 +9176,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.GatewayId = ptr.String(jtv) } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -9448,12 +9184,10 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.RouteTableId = ptr.String(jtv) } - case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9462,7 +9196,6 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9572,7 +9305,6 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitScope(v **types.Organizat } sv.AllOrganizationalUnitsEnabled = jtv } - case "ExcludeSpecifiedOrganizationalUnits": if value != nil { jtv, ok := value.(bool) @@ -9581,12 +9313,10 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitScope(v **types.Organizat } sv.ExcludeSpecifiedOrganizationalUnits = jtv } - case "OrganizationalUnits": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitIdList(&sv.OrganizationalUnits, value); err != nil { return err } - default: _, _ = key, value @@ -9626,12 +9356,10 @@ func awsAwsjson11_deserializeDocumentPartialMatch(v **types.PartialMatch, value } sv.Reference = ptr.String(jtv) } - case "TargetViolationReasons": if err := awsAwsjson11_deserializeDocumentTargetViolationReasons(&sv.TargetViolationReasons, value); err != nil { return err } - default: _, _ = key, value @@ -9705,12 +9433,10 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.DeleteUnusedFMManagedResources = jtv } - case "ExcludeMap": if err := awsAwsjson11_deserializeDocumentCustomerPolicyScopeMap(&sv.ExcludeMap, value); err != nil { return err } - case "ExcludeResourceTags": if value != nil { jtv, ok := value.(bool) @@ -9719,12 +9445,10 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.ExcludeResourceTags = jtv } - case "IncludeMap": if err := awsAwsjson11_deserializeDocumentCustomerPolicyScopeMap(&sv.IncludeMap, value); err != nil { return err } - case "PolicyDescription": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9457,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyDescription = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9742,7 +9465,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyId = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9473,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyName = ptr.String(jtv) } - case "PolicyStatus": if value != nil { jtv, ok := value.(string) @@ -9760,7 +9481,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyStatus = types.CustomerPolicyStatus(jtv) } - case "PolicyUpdateToken": if value != nil { jtv, ok := value.(string) @@ -9769,7 +9489,6 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyUpdateToken = ptr.String(jtv) } - case "RemediationEnabled": if value != nil { jtv, ok := value.(bool) @@ -9778,17 +9497,14 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.RemediationEnabled = jtv } - case "ResourceSetIds": if err := awsAwsjson11_deserializeDocumentResourceSetIds(&sv.ResourceSetIds, value); err != nil { return err } - case "ResourceTags": if err := awsAwsjson11_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9797,17 +9513,14 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.ResourceType = ptr.String(jtv) } - case "ResourceTypeList": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypeList, value); err != nil { return err } - case "SecurityServicePolicyData": if err := awsAwsjson11_deserializeDocumentSecurityServicePolicyData(&sv.SecurityServicePolicyData, value); err != nil { return err } - default: _, _ = key, value @@ -9847,7 +9560,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.EvaluationLimitExceeded = jtv } - case "ExpiredAt": if value != nil { switch jtv := value.(type) { @@ -9863,12 +9575,10 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } } - case "IssueInfoMap": if err := awsAwsjson11_deserializeDocumentIssueInfoMap(&sv.IssueInfoMap, value); err != nil { return err } - case "MemberAccount": if value != nil { jtv, ok := value.(string) @@ -9877,7 +9587,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.MemberAccount = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9886,7 +9595,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.PolicyId = ptr.String(jtv) } - case "PolicyOwner": if value != nil { jtv, ok := value.(string) @@ -9895,12 +9603,10 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.PolicyOwner = ptr.String(jtv) } - case "Violators": if err := awsAwsjson11_deserializeDocumentComplianceViolators(&sv.Violators, value); err != nil { return err } - default: _, _ = key, value @@ -9936,12 +9642,10 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } - case "IssueInfoMap": if err := awsAwsjson11_deserializeDocumentIssueInfoMap(&sv.IssueInfoMap, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -9957,7 +9661,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } } - case "MemberAccount": if value != nil { jtv, ok := value.(string) @@ -9966,7 +9669,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.MemberAccount = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9975,7 +9677,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyId = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -9984,7 +9685,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyName = ptr.String(jtv) } - case "PolicyOwner": if value != nil { jtv, ok := value.(string) @@ -9993,7 +9693,6 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyOwner = ptr.String(jtv) } - default: _, _ = key, value @@ -10063,17 +9762,14 @@ func awsAwsjson11_deserializeDocumentPolicyOption(v **types.PolicyOption, value if err := awsAwsjson11_deserializeDocumentNetworkAclCommonPolicy(&sv.NetworkAclCommonPolicy, value); err != nil { return err } - case "NetworkFirewallPolicy": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicy(&sv.NetworkFirewallPolicy, value); err != nil { return err } - case "ThirdPartyFirewallPolicy": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallPolicy(&sv.ThirdPartyFirewallPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -10113,7 +9809,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.DeleteUnusedFMManagedResources = jtv } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -10122,7 +9817,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyArn = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -10131,7 +9825,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyId = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -10140,7 +9833,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyName = ptr.String(jtv) } - case "PolicyStatus": if value != nil { jtv, ok := value.(string) @@ -10149,7 +9841,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyStatus = types.CustomerPolicyStatus(jtv) } - case "RemediationEnabled": if value != nil { jtv, ok := value.(bool) @@ -10158,7 +9849,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.RemediationEnabled = jtv } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10167,7 +9857,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.ResourceType = ptr.String(jtv) } - case "SecurityServiceType": if value != nil { jtv, ok := value.(string) @@ -10176,7 +9865,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.SecurityServiceType = types.SecurityServiceType(jtv) } - default: _, _ = key, value @@ -10250,12 +9938,10 @@ func awsAwsjson11_deserializeDocumentPolicyTypeScope(v **types.PolicyTypeScope, } sv.AllPolicyTypesEnabled = jtv } - case "PolicyTypes": if err := awsAwsjson11_deserializeDocumentSecurityServiceTypeList(&sv.PolicyTypes, value); err != nil { return err } - default: _, _ = key, value @@ -10295,7 +9981,6 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationAction(v **types.Possibl } sv.Description = ptr.String(jtv) } - case "IsDefaultAction": if value != nil { jtv, ok := value.(bool) @@ -10304,12 +9989,10 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationAction(v **types.Possibl } sv.IsDefaultAction = jtv } - case "OrderedRemediationActions": if err := awsAwsjson11_deserializeDocumentOrderedRemediationActions(&sv.OrderedRemediationActions, value); err != nil { return err } - default: _, _ = key, value @@ -10379,7 +10062,6 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationActions(v **types.Possib if err := awsAwsjson11_deserializeDocumentPossibleRemediationActionList(&sv.Actions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10388,7 +10070,6 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationActions(v **types.Possib } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -10539,7 +10220,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -10555,7 +10235,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } } - case "ListId": if value != nil { jtv, ok := value.(string) @@ -10564,7 +10243,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListId = ptr.String(jtv) } - case "ListName": if value != nil { jtv, ok := value.(string) @@ -10573,7 +10251,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListName = ptr.String(jtv) } - case "ListUpdateToken": if value != nil { jtv, ok := value.(string) @@ -10582,17 +10259,14 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListUpdateToken = ptr.String(jtv) } - case "PreviousProtocolsList": if err := awsAwsjson11_deserializeDocumentPreviousProtocolsList(&sv.PreviousProtocolsList, value); err != nil { return err } - case "ProtocolsList": if err := awsAwsjson11_deserializeDocumentProtocolsList(&sv.ProtocolsList, value); err != nil { return err } - default: _, _ = key, value @@ -10632,7 +10306,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListArn = ptr.String(jtv) } - case "ListId": if value != nil { jtv, ok := value.(string) @@ -10641,7 +10314,6 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListId = ptr.String(jtv) } - case "ListName": if value != nil { jtv, ok := value.(string) @@ -10650,12 +10322,10 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListName = ptr.String(jtv) } - case "ProtocolsList": if err := awsAwsjson11_deserializeDocumentProtocolsList(&sv.ProtocolsList, value); err != nil { return err } - default: _, _ = key, value @@ -10729,12 +10399,10 @@ func awsAwsjson11_deserializeDocumentRegionScope(v **types.RegionScope, value in } sv.AllRegionsEnabled = jtv } - case "Regions": if err := awsAwsjson11_deserializeDocumentAWSRegionList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -10770,17 +10438,14 @@ func awsAwsjson11_deserializeDocumentRemediationAction(v **types.RemediationActi if err := awsAwsjson11_deserializeDocumentCreateNetworkAclAction(&sv.CreateNetworkAclAction, value); err != nil { return err } - case "CreateNetworkAclEntriesAction": if err := awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(&sv.CreateNetworkAclEntriesAction, value); err != nil { return err } - case "DeleteNetworkAclEntriesAction": if err := awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(&sv.DeleteNetworkAclEntriesAction, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10789,52 +10454,42 @@ func awsAwsjson11_deserializeDocumentRemediationAction(v **types.RemediationActi } sv.Description = ptr.String(jtv) } - case "EC2AssociateRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2AssociateRouteTableAction(&sv.EC2AssociateRouteTableAction, value); err != nil { return err } - case "EC2CopyRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2CopyRouteTableAction(&sv.EC2CopyRouteTableAction, value); err != nil { return err } - case "EC2CreateRouteAction": if err := awsAwsjson11_deserializeDocumentEC2CreateRouteAction(&sv.EC2CreateRouteAction, value); err != nil { return err } - case "EC2CreateRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2CreateRouteTableAction(&sv.EC2CreateRouteTableAction, value); err != nil { return err } - case "EC2DeleteRouteAction": if err := awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(&sv.EC2DeleteRouteAction, value); err != nil { return err } - case "EC2ReplaceRouteAction": if err := awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(&sv.EC2ReplaceRouteAction, value); err != nil { return err } - case "EC2ReplaceRouteTableAssociationAction": if err := awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(&sv.EC2ReplaceRouteTableAssociationAction, value); err != nil { return err } - case "FMSPolicyUpdateFirewallCreationConfigAction": if err := awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction(&sv.FMSPolicyUpdateFirewallCreationConfigAction, value); err != nil { return err } - case "ReplaceNetworkAclAssociationAction": if err := awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(&sv.ReplaceNetworkAclAssociationAction, value); err != nil { return err } - default: _, _ = key, value @@ -10878,12 +10533,10 @@ func awsAwsjson11_deserializeDocumentRemediationActionWithOrder(v **types.Remedi } sv.Order = int32(i64) } - case "RemediationAction": if err := awsAwsjson11_deserializeDocumentRemediationAction(&sv.RemediationAction, value); err != nil { return err } - default: _, _ = key, value @@ -10919,7 +10572,6 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.AssociationId, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10928,7 +10580,6 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type } sv.Description = ptr.String(jtv) } - case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -10937,12 +10588,10 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type } sv.FMSCanRemediate = jtv } - case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } - default: _, _ = key, value @@ -10982,7 +10631,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.AccountId = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -10991,7 +10639,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -11127,15 +10774,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11143,15 +10784,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11186,7 +10823,6 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11195,7 +10831,6 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Id = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -11211,7 +10846,6 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11220,7 +10854,6 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Name = ptr.String(jtv) } - case "ResourceSetStatus": if value != nil { jtv, ok := value.(string) @@ -11229,12 +10862,10 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.ResourceSetStatus = types.ResourceSetStatus(jtv) } - case "ResourceTypeList": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypeList, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11243,7 +10874,6 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11319,7 +10949,6 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11328,7 +10957,6 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Id = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -11344,7 +10972,6 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11353,7 +10980,6 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Name = ptr.String(jtv) } - case "ResourceSetStatus": if value != nil { jtv, ok := value.(string) @@ -11362,7 +10988,6 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.ResourceSetStatus = types.ResourceSetStatus(jtv) } - default: _, _ = key, value @@ -11436,7 +11061,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11445,7 +11069,6 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11551,132 +11174,106 @@ func awsAwsjson11_deserializeDocumentResourceViolation(v **types.ResourceViolati if err := awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(&sv.AwsEc2InstanceViolation, value); err != nil { return err } - case "AwsEc2NetworkInterfaceViolation": if err := awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(&sv.AwsEc2NetworkInterfaceViolation, value); err != nil { return err } - case "AwsVPCSecurityGroupViolation": if err := awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(&sv.AwsVPCSecurityGroupViolation, value); err != nil { return err } - case "DnsDuplicateRuleGroupViolation": if err := awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(&sv.DnsDuplicateRuleGroupViolation, value); err != nil { return err } - case "DnsRuleGroupLimitExceededViolation": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(&sv.DnsRuleGroupLimitExceededViolation, value); err != nil { return err } - case "DnsRuleGroupPriorityConflictViolation": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(&sv.DnsRuleGroupPriorityConflictViolation, value); err != nil { return err } - case "FirewallSubnetIsOutOfScopeViolation": if err := awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(&sv.FirewallSubnetIsOutOfScopeViolation, value); err != nil { return err } - case "FirewallSubnetMissingVPCEndpointViolation": if err := awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(&sv.FirewallSubnetMissingVPCEndpointViolation, value); err != nil { return err } - case "InvalidNetworkAclEntriesViolation": if err := awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(&sv.InvalidNetworkAclEntriesViolation, value); err != nil { return err } - case "NetworkFirewallBlackHoleRouteDetectedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolation(&sv.NetworkFirewallBlackHoleRouteDetectedViolation, value); err != nil { return err } - case "NetworkFirewallInternetTrafficNotInspectedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedViolation(&sv.NetworkFirewallInternetTrafficNotInspectedViolation, value); err != nil { return err } - case "NetworkFirewallInvalidRouteConfigurationViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationViolation(&sv.NetworkFirewallInvalidRouteConfigurationViolation, value); err != nil { return err } - case "NetworkFirewallMissingExpectedRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolation(&sv.NetworkFirewallMissingExpectedRoutesViolation, value); err != nil { return err } - case "NetworkFirewallMissingExpectedRTViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(&sv.NetworkFirewallMissingExpectedRTViolation, value); err != nil { return err } - case "NetworkFirewallMissingFirewallViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(&sv.NetworkFirewallMissingFirewallViolation, value); err != nil { return err } - case "NetworkFirewallMissingSubnetViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(&sv.NetworkFirewallMissingSubnetViolation, value); err != nil { return err } - case "NetworkFirewallPolicyModifiedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(&sv.NetworkFirewallPolicyModifiedViolation, value); err != nil { return err } - case "NetworkFirewallUnexpectedFirewallRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViolation(&sv.NetworkFirewallUnexpectedFirewallRoutesViolation, value); err != nil { return err } - case "NetworkFirewallUnexpectedGatewayRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViolation(&sv.NetworkFirewallUnexpectedGatewayRoutesViolation, value); err != nil { return err } - case "PossibleRemediationActions": if err := awsAwsjson11_deserializeDocumentPossibleRemediationActions(&sv.PossibleRemediationActions, value); err != nil { return err } - case "RouteHasOutOfScopeEndpointViolation": if err := awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(&sv.RouteHasOutOfScopeEndpointViolation, value); err != nil { return err } - case "ThirdPartyFirewallMissingExpectedRouteTableViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTableViolation(&sv.ThirdPartyFirewallMissingExpectedRouteTableViolation, value); err != nil { return err } - case "ThirdPartyFirewallMissingFirewallViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation(&sv.ThirdPartyFirewallMissingFirewallViolation, value); err != nil { return err } - case "ThirdPartyFirewallMissingSubnetViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(&sv.ThirdPartyFirewallMissingSubnetViolation, value); err != nil { return err } - case "WebACLHasIncompatibleConfigurationViolation": if err := awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation(&sv.WebACLHasIncompatibleConfigurationViolation, value); err != nil { return err } - case "WebACLHasOutOfScopeResourcesViolation": if err := awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(&sv.WebACLHasOutOfScopeResourcesViolation, value); err != nil { return err } - default: _, _ = key, value @@ -11750,7 +11347,6 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Destination = ptr.String(jtv) } - case "DestinationType": if value != nil { jtv, ok := value.(string) @@ -11759,7 +11355,6 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.DestinationType = types.DestinationType(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -11768,7 +11363,6 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Target = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -11777,7 +11371,6 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.TargetType = types.TargetType(jtv) } - default: _, _ = key, value @@ -11817,7 +11410,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } - case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -11826,7 +11418,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } - case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -11835,12 +11426,10 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.FirewallSubnetId = ptr.String(jtv) } - case "FirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.FirewallSubnetRoutes, value); err != nil { return err } - case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -11849,12 +11438,10 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.InternetGatewayId = ptr.String(jtv) } - case "InternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.InternetGatewayRoutes, value); err != nil { return err } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -11863,7 +11450,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.RouteTableId = ptr.String(jtv) } - case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11872,7 +11458,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetAvailabilityZone = ptr.String(jtv) } - case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -11881,7 +11466,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -11890,12 +11474,10 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetId = ptr.String(jtv) } - case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11904,7 +11486,6 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -11978,7 +11559,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.Description = ptr.String(jtv) } - case "IsDefaultAction": if value != nil { jtv, ok := value.(bool) @@ -11987,7 +11567,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.IsDefaultAction = jtv } - case "RemediationActionType": if value != nil { jtv, ok := value.(string) @@ -11996,12 +11575,10 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.RemediationActionType = types.RemediationActionType(jtv) } - case "RemediationResult": if err := awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(&sv.RemediationResult, value); err != nil { return err } - default: _, _ = key, value @@ -12079,7 +11656,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.FromPort = ptr.Int64(i64) } - case "IPV4Range": if value != nil { jtv, ok := value.(string) @@ -12088,7 +11664,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.IPV4Range = ptr.String(jtv) } - case "IPV6Range": if value != nil { jtv, ok := value.(string) @@ -12097,7 +11672,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.IPV6Range = ptr.String(jtv) } - case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -12106,7 +11680,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.PrefixListId = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -12115,7 +11688,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.Protocol = ptr.String(jtv) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -12128,7 +11700,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.ToPort = ptr.Int64(i64) } - default: _, _ = key, value @@ -12168,12 +11739,10 @@ func awsAwsjson11_deserializeDocumentSecurityServicePolicyData(v **types.Securit } sv.ManagedServiceData = ptr.String(jtv) } - case "PolicyOption": if err := awsAwsjson11_deserializeDocumentPolicyOption(&sv.PolicyOption, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12182,7 +11751,6 @@ func awsAwsjson11_deserializeDocumentSecurityServicePolicyData(v **types.Securit } sv.Type = types.SecurityServiceType(jtv) } - default: _, _ = key, value @@ -12258,7 +11826,6 @@ func awsAwsjson11_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.RuleOrder = types.RuleOrder(jtv) } - case "StreamExceptionPolicy": if value != nil { jtv, ok := value.(string) @@ -12267,7 +11834,6 @@ func awsAwsjson11_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.StreamExceptionPolicy = types.StreamExceptionPolicy(jtv) } - default: _, _ = key, value @@ -12303,7 +11869,6 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro if err := awsAwsjson11_deserializeDocumentNetworkFirewallStatefulRuleGroupOverride(&sv.Override, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -12316,7 +11881,6 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.Priority = ptr.Int32(int32(i64)) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12325,7 +11889,6 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.ResourceId = ptr.String(jtv) } - case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -12334,7 +11897,6 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.RuleGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12412,7 +11974,6 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.Priority = ptr.Int32(int32(i64)) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12421,7 +11982,6 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.ResourceId = ptr.String(jtv) } - case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -12430,7 +11990,6 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.RuleGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12504,7 +12063,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12513,7 +12071,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12657,7 +12214,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicy(v **types. } sv.FirewallPolicyId = ptr.String(jtv) } - case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -12666,7 +12222,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicy(v **types. } sv.FirewallPolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -12706,7 +12261,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.AvailabilityZone = ptr.String(jtv) } - case "CurrentRouteTable": if value != nil { jtv, ok := value.(string) @@ -12715,7 +12269,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.CurrentRouteTable = ptr.String(jtv) } - case "ExpectedRouteTable": if value != nil { jtv, ok := value.(string) @@ -12724,7 +12277,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.ExpectedRouteTable = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12733,7 +12285,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -12742,7 +12293,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -12782,7 +12332,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.AvailabilityZone = ptr.String(jtv) } - case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -12791,7 +12340,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.TargetViolationReason = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12800,7 +12348,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -12809,7 +12356,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -12849,7 +12395,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.AvailabilityZone = ptr.String(jtv) } - case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -12858,7 +12403,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.TargetViolationReason = ptr.String(jtv) } - case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12867,7 +12411,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.ViolationTarget = ptr.String(jtv) } - case "VPC": if value != nil { jtv, ok := value.(string) @@ -12876,7 +12419,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.VPC = ptr.String(jtv) } - default: _, _ = key, value @@ -12916,7 +12458,6 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallPolicy(v **types.ThirdPar } sv.FirewallDeploymentModel = types.FirewallDeploymentModel(jtv) } - default: _, _ = key, value @@ -12956,7 +12497,6 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.MemberAccount = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -12965,7 +12505,6 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.PolicyId = ptr.String(jtv) } - case "ResourceDescription": if value != nil { jtv, ok := value.(string) @@ -12974,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceDescription = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12983,12 +12521,10 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceId = ptr.String(jtv) } - case "ResourceTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12997,12 +12533,10 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceType = ptr.String(jtv) } - case "ResourceViolations": if err := awsAwsjson11_deserializeDocumentResourceViolations(&sv.ResourceViolations, value); err != nil { return err } - default: _, _ = key, value @@ -13042,7 +12576,6 @@ func awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation } sv.Description = ptr.String(jtv) } - case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -13051,7 +12584,6 @@ func awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation } sv.WebACLArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13087,7 +12619,6 @@ func awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(v **t if err := awsAwsjson11_deserializeDocumentResourceArnList(&sv.OutOfScopeResourceList, value); err != nil { return err } - case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -13096,7 +12627,6 @@ func awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(v **t } sv.WebACLArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13136,7 +12666,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateThirdPartyFirewallOutput(v **Ass } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } - default: _, _ = key, value @@ -13172,7 +12701,6 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateResourceOutput(v **BatchAss if err := awsAwsjson11_deserializeDocumentFailedItemList(&sv.FailedItems, value); err != nil { return err } - case "ResourceSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -13181,7 +12709,6 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateResourceOutput(v **BatchAss } sv.ResourceSetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -13217,7 +12744,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateResourceOutput(v **Batch if err := awsAwsjson11_deserializeDocumentFailedItemList(&sv.FailedItems, value); err != nil { return err } - case "ResourceSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -13226,7 +12752,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateResourceOutput(v **Batch } sv.ResourceSetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -13266,7 +12791,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateThirdPartyFirewallOutput(v ** } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } - default: _, _ = key, value @@ -13306,7 +12830,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdminAccountOutput(v **GetAdminAccount } sv.AdminAccount = ptr.String(jtv) } - case "RoleStatus": if value != nil { jtv, ok := value.(string) @@ -13315,7 +12838,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdminAccountOutput(v **GetAdminAccount } sv.RoleStatus = types.AccountRoleStatus(jtv) } - default: _, _ = key, value @@ -13351,7 +12873,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdminScopeOutput(v **GetAdminScopeOutp if err := awsAwsjson11_deserializeDocumentAdminScope(&sv.AdminScope, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13360,7 +12881,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdminScopeOutput(v **GetAdminScopeOutp } sv.Status = types.OrganizationStatus(jtv) } - default: _, _ = key, value @@ -13396,7 +12916,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppsListOutput(v **GetAppsListOutput, if err := awsAwsjson11_deserializeDocumentAppsListData(&sv.AppsList, value); err != nil { return err } - case "AppsListArn": if value != nil { jtv, ok := value.(string) @@ -13405,7 +12924,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppsListOutput(v **GetAppsListOutput, } sv.AppsListArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13441,7 +12959,6 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailOutput(v **GetComplian if err := awsAwsjson11_deserializeDocumentPolicyComplianceDetail(&sv.PolicyComplianceDetail, value); err != nil { return err } - default: _, _ = key, value @@ -13481,7 +12998,6 @@ func awsAwsjson11_deserializeOpDocumentGetNotificationChannelOutput(v **GetNotif } sv.SnsRoleName = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -13490,7 +13006,6 @@ func awsAwsjson11_deserializeOpDocumentGetNotificationChannelOutput(v **GetNotif } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13526,7 +13041,6 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -13535,7 +13049,6 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13575,7 +13088,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.AdminAccountId = ptr.String(jtv) } - case "Data": if value != nil { jtv, ok := value.(string) @@ -13584,7 +13096,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.Data = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13593,7 +13104,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.NextToken = ptr.String(jtv) } - case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -13602,7 +13112,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.ServiceType = types.SecurityServiceType(jtv) } - default: _, _ = key, value @@ -13638,7 +13147,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtocolsListOutput(v **GetProtocolsLi if err := awsAwsjson11_deserializeDocumentProtocolsListData(&sv.ProtocolsList, value); err != nil { return err } - case "ProtocolsListArn": if value != nil { jtv, ok := value.(string) @@ -13647,7 +13155,6 @@ func awsAwsjson11_deserializeOpDocumentGetProtocolsListOutput(v **GetProtocolsLi } sv.ProtocolsListArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13683,7 +13190,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu if err := awsAwsjson11_deserializeDocumentResourceSet(&sv.ResourceSet, value); err != nil { return err } - case "ResourceSetArn": if value != nil { jtv, ok := value.(string) @@ -13692,7 +13198,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13732,7 +13237,6 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyFirewallAssociationStatusOut } sv.MarketplaceOnboardingStatus = types.MarketplaceSubscriptionOnboardingStatus(jtv) } - case "ThirdPartyFirewallStatus": if value != nil { jtv, ok := value.(string) @@ -13741,7 +13245,6 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyFirewallAssociationStatusOut } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } - default: _, _ = key, value @@ -13777,7 +13280,6 @@ func awsAwsjson11_deserializeOpDocumentGetViolationDetailsOutput(v **GetViolatio if err := awsAwsjson11_deserializeDocumentViolationDetail(&sv.ViolationDetail, value); err != nil { return err } - default: _, _ = key, value @@ -13813,7 +13315,6 @@ func awsAwsjson11_deserializeOpDocumentListAdminAccountsForOrganizationOutput(v if err := awsAwsjson11_deserializeDocumentAdminAccountSummaryList(&sv.AdminAccounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13822,7 +13323,6 @@ func awsAwsjson11_deserializeOpDocumentListAdminAccountsForOrganizationOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13858,7 +13358,6 @@ func awsAwsjson11_deserializeOpDocumentListAdminsManagingAccountOutput(v **ListA if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AdminAccounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13867,7 +13366,6 @@ func awsAwsjson11_deserializeOpDocumentListAdminsManagingAccountOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13903,7 +13401,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsListsOutput(v **ListAppsListsOutp if err := awsAwsjson11_deserializeDocumentAppsListsData(&sv.AppsLists, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13912,7 +13409,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsListsOutput(v **ListAppsListsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13952,12 +13448,10 @@ func awsAwsjson11_deserializeOpDocumentListComplianceStatusOutput(v **ListCompli } sv.NextToken = ptr.String(jtv) } - case "PolicyComplianceStatusList": if err := awsAwsjson11_deserializeDocumentPolicyComplianceStatusList(&sv.PolicyComplianceStatusList, value); err != nil { return err } - default: _, _ = key, value @@ -13993,7 +13487,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis if err := awsAwsjson11_deserializeDocumentDiscoveredResourceList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14002,7 +13495,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14038,7 +13530,6 @@ func awsAwsjson11_deserializeOpDocumentListMemberAccountsOutput(v **ListMemberAc if err := awsAwsjson11_deserializeDocumentMemberAccounts(&sv.MemberAccounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14047,7 +13538,6 @@ func awsAwsjson11_deserializeOpDocumentListMemberAccountsOutput(v **ListMemberAc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14087,12 +13577,10 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } - case "PolicyList": if err := awsAwsjson11_deserializeDocumentPolicySummaryList(&sv.PolicyList, value); err != nil { return err } - default: _, _ = key, value @@ -14132,12 +13620,10 @@ func awsAwsjson11_deserializeOpDocumentListProtocolsListsOutput(v **ListProtocol } sv.NextToken = ptr.String(jtv) } - case "ProtocolsLists": if err := awsAwsjson11_deserializeDocumentProtocolsListsData(&sv.ProtocolsLists, value); err != nil { return err } - default: _, _ = key, value @@ -14173,7 +13659,6 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetResourcesOutput(v **ListRe if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14182,7 +13667,6 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetResourcesOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14222,12 +13706,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetsOutput(v **ListResourceSe } sv.NextToken = ptr.String(jtv) } - case "ResourceSets": if err := awsAwsjson11_deserializeDocumentResourceSetSummaryList(&sv.ResourceSets, value); err != nil { return err } - default: _, _ = key, value @@ -14263,7 +13745,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -14303,12 +13784,10 @@ func awsAwsjson11_deserializeOpDocumentListThirdPartyFirewallFirewallPoliciesOut } sv.NextToken = ptr.String(jtv) } - case "ThirdPartyFirewallFirewallPolicies": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicies(&sv.ThirdPartyFirewallFirewallPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -14344,7 +13823,6 @@ func awsAwsjson11_deserializeOpDocumentPutAppsListOutput(v **PutAppsListOutput, if err := awsAwsjson11_deserializeDocumentAppsListData(&sv.AppsList, value); err != nil { return err } - case "AppsListArn": if value != nil { jtv, ok := value.(string) @@ -14353,7 +13831,6 @@ func awsAwsjson11_deserializeOpDocumentPutAppsListOutput(v **PutAppsListOutput, } sv.AppsListArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14389,7 +13866,6 @@ func awsAwsjson11_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -14398,7 +13874,6 @@ func awsAwsjson11_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14434,7 +13909,6 @@ func awsAwsjson11_deserializeOpDocumentPutProtocolsListOutput(v **PutProtocolsLi if err := awsAwsjson11_deserializeDocumentProtocolsListData(&sv.ProtocolsList, value); err != nil { return err } - case "ProtocolsListArn": if value != nil { jtv, ok := value.(string) @@ -14443,7 +13917,6 @@ func awsAwsjson11_deserializeOpDocumentPutProtocolsListOutput(v **PutProtocolsLi } sv.ProtocolsListArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14479,7 +13952,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourceSetOutput(v **PutResourceSetOu if err := awsAwsjson11_deserializeDocumentResourceSet(&sv.ResourceSet, value); err != nil { return err } - case "ResourceSetArn": if value != nil { jtv, ok := value.(string) @@ -14488,7 +13960,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourceSetOutput(v **PutResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/forecast/deserializers.go b/service/forecast/deserializers.go index ac8d8bf9e04..67147d2af12 100644 --- a/service/forecast/deserializers.go +++ b/service/forecast/deserializers.go @@ -7278,7 +7278,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.AttributeName = ptr.String(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -7287,7 +7286,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Operation = types.Operation(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -7321,7 +7319,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } } - default: _, _ = key, value @@ -7357,7 +7354,6 @@ func awsAwsjson11_deserializeDocumentAdditionalDataset(v **types.AdditionalDatas if err := awsAwsjson11_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7366,7 +7362,6 @@ func awsAwsjson11_deserializeDocumentAdditionalDataset(v **types.AdditionalDatas } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7476,12 +7471,10 @@ func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, } sv.AttributeName = ptr.String(jtv) } - case "Transformations": if err := awsAwsjson11_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { return err } - default: _, _ = key, value @@ -7551,7 +7544,6 @@ func awsAwsjson11_deserializeDocumentBaseline(v **types.Baseline, value interfac if err := awsAwsjson11_deserializeDocumentPredictorBaseline(&sv.PredictorBaseline, value); err != nil { return err } - default: _, _ = key, value @@ -7591,7 +7583,6 @@ func awsAwsjson11_deserializeDocumentBaselineMetric(v **types.BaselineMetric, va } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -7625,7 +7616,6 @@ func awsAwsjson11_deserializeDocumentBaselineMetric(v **types.BaselineMetric, va } } - default: _, _ = key, value @@ -7699,12 +7689,10 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRange(v **types.Categor } sv.Name = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7837,7 +7825,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } } - case "MinValue": if value != nil { switch jtv := value.(type) { @@ -7871,7 +7858,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7880,7 +7866,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.Name = ptr.String(jtv) } - case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -7889,7 +7874,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.ScalingType = types.ScalingType(jtv) } - default: _, _ = key, value @@ -7959,12 +7943,10 @@ func awsAwsjson11_deserializeDocumentDataConfig(v **types.DataConfig, value inte if err := awsAwsjson11_deserializeDocumentAdditionalDatasets(&sv.AdditionalDatasets, value); err != nil { return err } - case "AttributeConfigs": if err := awsAwsjson11_deserializeDocumentAttributeConfigs(&sv.AttributeConfigs, value); err != nil { return err } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -7973,7 +7955,6 @@ func awsAwsjson11_deserializeDocumentDataConfig(v **types.DataConfig, value inte } sv.DatasetGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8009,7 +7990,6 @@ func awsAwsjson11_deserializeDocumentDataDestination(v **types.DataDestination, if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - default: _, _ = key, value @@ -8090,7 +8070,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -8099,7 +8078,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupArn = ptr.String(jtv) } - case "DatasetGroupName": if value != nil { jtv, ok := value.(string) @@ -8108,7 +8086,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8124,7 +8101,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } - default: _, _ = key, value @@ -8205,7 +8181,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } - case "DatasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -8214,7 +8189,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobArn = ptr.String(jtv) } - case "DatasetImportJobName": if value != nil { jtv, ok := value.(string) @@ -8223,12 +8197,10 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobName = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -8237,7 +8209,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.ImportMode = types.ImportMode(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8253,7 +8224,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -8262,7 +8232,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8271,7 +8240,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8352,7 +8320,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -8361,7 +8328,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -8370,7 +8336,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -8379,7 +8344,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetType = types.DatasetType(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -8388,7 +8352,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Domain = types.Domain(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8404,7 +8367,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - default: _, _ = key, value @@ -8440,7 +8402,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - default: _, _ = key, value @@ -8480,7 +8441,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KMSKeyArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8489,7 +8449,6 @@ func awsAwsjson11_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8529,7 +8488,6 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } sv.ForecastType = ptr.String(jtv) } - case "MAPE": if value != nil { switch jtv := value.(type) { @@ -8563,7 +8521,6 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } - case "MASE": if value != nil { switch jtv := value.(type) { @@ -8597,7 +8554,6 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } - case "RMSE": if value != nil { switch jtv := value.(type) { @@ -8631,7 +8587,6 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } - case "WAPE": if value != nil { switch jtv := value.(type) { @@ -8665,7 +8620,6 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } - default: _, _ = key, value @@ -8743,7 +8697,6 @@ func awsAwsjson11_deserializeDocumentEvaluationParameters(v **types.EvaluationPa } sv.BackTestWindowOffset = ptr.Int32(int32(i64)) } - case "NumberOfBacktestWindows": if value != nil { jtv, ok := value.(json.Number) @@ -8756,7 +8709,6 @@ func awsAwsjson11_deserializeDocumentEvaluationParameters(v **types.EvaluationPa } sv.NumberOfBacktestWindows = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8796,12 +8748,10 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.AlgorithmArn = ptr.String(jtv) } - case "TestWindows": if err := awsAwsjson11_deserializeDocumentTestWindows(&sv.TestWindows, value); err != nil { return err } - default: _, _ = key, value @@ -8875,7 +8825,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityConfig(v **types.Explainabili } sv.TimePointGranularity = types.TimePointGranularity(jtv) } - case "TimeSeriesGranularity": if value != nil { jtv, ok := value.(string) @@ -8884,7 +8833,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityConfig(v **types.Explainabili } sv.TimeSeriesGranularity = types.TimeSeriesGranularity(jtv) } - default: _, _ = key, value @@ -8965,12 +8913,10 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "ExplainabilityExportArn": if value != nil { jtv, ok := value.(string) @@ -8979,7 +8925,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.ExplainabilityExportArn = ptr.String(jtv) } - case "ExplainabilityExportName": if value != nil { jtv, ok := value.(string) @@ -8988,7 +8933,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.ExplainabilityExportName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9004,7 +8948,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9013,7 +8956,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9022,7 +8964,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9062,7 +9003,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityInfo(v **types.Explainability } sv.ExplainabilityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9071,7 +9011,6 @@ func awsAwsjson11_deserializeDocumentExplainabilityInfo(v **types.Explainability } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9118,7 +9057,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } } - case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -9127,12 +9065,10 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ExplainabilityArn = ptr.String(jtv) } - case "ExplainabilityConfig": if err := awsAwsjson11_deserializeDocumentExplainabilityConfig(&sv.ExplainabilityConfig, value); err != nil { return err } - case "ExplainabilityName": if value != nil { jtv, ok := value.(string) @@ -9141,7 +9077,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ExplainabilityName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9157,7 +9092,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9166,7 +9100,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.Message = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9175,7 +9108,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ResourceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9184,7 +9116,6 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9224,12 +9155,10 @@ func awsAwsjson11_deserializeDocumentFeaturization(v **types.Featurization, valu } sv.AttributeName = ptr.String(jtv) } - case "FeaturizationPipeline": if err := awsAwsjson11_deserializeDocumentFeaturizationPipeline(&sv.FeaturizationPipeline, value); err != nil { return err } - default: _, _ = key, value @@ -9265,12 +9194,10 @@ func awsAwsjson11_deserializeDocumentFeaturizationConfig(v **types.Featurization if err := awsAwsjson11_deserializeDocumentFeaturizations(&sv.Featurizations, value); err != nil { return err } - case "ForecastDimensions": if err := awsAwsjson11_deserializeDocumentForecastDimensions(&sv.ForecastDimensions, value); err != nil { return err } - case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -9279,7 +9206,6 @@ func awsAwsjson11_deserializeDocumentFeaturizationConfig(v **types.Featurization } sv.ForecastFrequency = ptr.String(jtv) } - default: _, _ = key, value @@ -9319,12 +9245,10 @@ func awsAwsjson11_deserializeDocumentFeaturizationMethod(v **types.Featurization } sv.FeaturizationMethodName = types.FeaturizationMethodName(jtv) } - case "FeaturizationMethodParameters": if err := awsAwsjson11_deserializeDocumentFeaturizationMethodParameters(&sv.FeaturizationMethodParameters, value); err != nil { return err } - default: _, _ = key, value @@ -9580,12 +9504,10 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "ForecastExportJobArn": if value != nil { jtv, ok := value.(string) @@ -9594,7 +9516,6 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.ForecastExportJobArn = ptr.String(jtv) } - case "ForecastExportJobName": if value != nil { jtv, ok := value.(string) @@ -9603,7 +9524,6 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.ForecastExportJobName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9619,7 +9539,6 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9628,7 +9547,6 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9637,7 +9555,6 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9711,7 +9628,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.CreatedUsingAutoPredictor = ptr.Bool(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9727,7 +9643,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -9736,7 +9651,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.DatasetGroupArn = ptr.String(jtv) } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -9745,7 +9659,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.ForecastArn = ptr.String(jtv) } - case "ForecastName": if value != nil { jtv, ok := value.(string) @@ -9754,7 +9667,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.ForecastName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9770,7 +9682,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -9779,7 +9690,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.Message = ptr.String(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -9788,7 +9698,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.PredictorArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9797,7 +9706,6 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9869,7 +9777,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.ParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -9909,12 +9816,10 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.DatasetGroupArn = ptr.String(jtv) } - case "SupplementaryFeatures": if err := awsAwsjson11_deserializeDocumentSupplementaryFeatures(&sv.SupplementaryFeatures, value); err != nil { return err } - default: _, _ = key, value @@ -9958,7 +9863,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MaxValue = ptr.Int32(int32(i64)) } - case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -9971,7 +9875,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MinValue = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9980,7 +9883,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.Name = ptr.String(jtv) } - case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -9989,7 +9891,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.ScalingType = types.ScalingType(jtv) } - default: _, _ = key, value @@ -10053,15 +9954,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10069,15 +9964,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10102,15 +9993,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10118,15 +10003,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10151,15 +10032,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10167,15 +10042,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10246,7 +10117,6 @@ func awsAwsjson11_deserializeDocumentMetricResult(v **types.MetricResult, value } sv.MetricName = ptr.String(jtv) } - case "MetricValue": if value != nil { switch jtv := value.(type) { @@ -10280,7 +10150,6 @@ func awsAwsjson11_deserializeDocumentMetricResult(v **types.MetricResult, value } } - default: _, _ = key, value @@ -10379,12 +10248,10 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ } } - case "ErrorMetrics": if err := awsAwsjson11_deserializeDocumentErrorMetrics(&sv.ErrorMetrics, value); err != nil { return err } - case "RMSE": if value != nil { switch jtv := value.(type) { @@ -10418,12 +10285,10 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ } } - case "WeightedQuantileLosses": if err := awsAwsjson11_deserializeDocumentWeightedQuantileLosses(&sv.WeightedQuantileLosses, value); err != nil { return err } - default: _, _ = key, value @@ -10463,7 +10328,6 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.DatasetImportJobArn = ptr.String(jtv) } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -10472,7 +10336,6 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.ForecastArn = ptr.String(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -10481,7 +10344,6 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.PredictorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10521,7 +10383,6 @@ func awsAwsjson11_deserializeDocumentMonitorInfo(v **types.MonitorInfo, value in } sv.MonitorArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10530,7 +10391,6 @@ func awsAwsjson11_deserializeDocumentMonitorInfo(v **types.MonitorInfo, value in } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10611,7 +10471,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10627,7 +10486,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -10636,7 +10494,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorArn = ptr.String(jtv) } - case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -10645,7 +10502,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorName = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10654,7 +10510,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.ResourceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10663,7 +10518,6 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10699,17 +10553,14 @@ func awsAwsjson11_deserializeDocumentParameterRanges(v **types.ParameterRanges, if err := awsAwsjson11_deserializeDocumentCategoricalParameterRanges(&sv.CategoricalParameterRanges, value); err != nil { return err } - case "ContinuousParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousParameterRanges(&sv.ContinuousParameterRanges, value); err != nil { return err } - case "IntegerParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerParameterRanges(&sv.IntegerParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -10790,12 +10641,10 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10811,7 +10660,6 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -10820,7 +10668,6 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.Message = ptr.String(jtv) } - case "PredictorBacktestExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10829,7 +10676,6 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } - case "PredictorBacktestExportJobName": if value != nil { jtv, ok := value.(string) @@ -10838,7 +10684,6 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.PredictorBacktestExportJobName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10847,7 +10692,6 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10883,7 +10727,6 @@ func awsAwsjson11_deserializeDocumentPredictorBaseline(v **types.PredictorBaseli if err := awsAwsjson11_deserializeDocumentBaselineMetrics(&sv.BaselineMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -10964,7 +10807,6 @@ func awsAwsjson11_deserializeDocumentPredictorEvent(v **types.PredictorEvent, va } } - case "Detail": if value != nil { jtv, ok := value.(string) @@ -10973,7 +10815,6 @@ func awsAwsjson11_deserializeDocumentPredictorEvent(v **types.PredictorEvent, va } sv.Detail = ptr.String(jtv) } - default: _, _ = key, value @@ -11013,12 +10854,10 @@ func awsAwsjson11_deserializeDocumentPredictorExecution(v **types.PredictorExecu } sv.AlgorithmArn = ptr.String(jtv) } - case "TestWindows": if err := awsAwsjson11_deserializeDocumentTestWindowDetails(&sv.TestWindows, value); err != nil { return err } - default: _, _ = key, value @@ -11054,7 +10893,6 @@ func awsAwsjson11_deserializeDocumentPredictorExecutionDetails(v **types.Predict if err := awsAwsjson11_deserializeDocumentPredictorExecutions(&sv.PredictorExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -11128,7 +10966,6 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.EvaluationState = ptr.String(jtv) } - case "EvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11144,7 +10981,6 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -11153,12 +10989,10 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.Message = ptr.String(jtv) } - case "MetricResults": if err := awsAwsjson11_deserializeDocumentMetricResults(&sv.MetricResults, value); err != nil { return err } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -11167,12 +11001,10 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.MonitorArn = ptr.String(jtv) } - case "MonitorDataSource": if err := awsAwsjson11_deserializeDocumentMonitorDataSource(&sv.MonitorDataSource, value); err != nil { return err } - case "NumItemsEvaluated": if value != nil { jtv, ok := value.(json.Number) @@ -11185,12 +11017,10 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.NumItemsEvaluated = ptr.Int64(i64) } - case "PredictorEvent": if err := awsAwsjson11_deserializeDocumentPredictorEvent(&sv.PredictorEvent, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11199,7 +11029,6 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.ResourceArn = ptr.String(jtv) } - case "WindowEndDatetime": if value != nil { switch jtv := value.(type) { @@ -11215,7 +11044,6 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } - case "WindowStartDatetime": if value != nil { switch jtv := value.(type) { @@ -11231,7 +11059,6 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } - default: _, _ = key, value @@ -11346,7 +11173,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -11355,7 +11181,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.DatasetGroupArn = ptr.String(jtv) } - case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -11364,7 +11189,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.IsAutoPredictor = ptr.Bool(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11380,7 +11204,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -11389,7 +11212,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.Message = ptr.String(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -11398,7 +11220,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.PredictorArn = ptr.String(jtv) } - case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -11407,12 +11228,10 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.PredictorName = ptr.String(jtv) } - case "ReferencePredictorSummary": if err := awsAwsjson11_deserializeDocumentReferencePredictorSummary(&sv.ReferencePredictorSummary, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11421,7 +11240,6 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11461,7 +11279,6 @@ func awsAwsjson11_deserializeDocumentReferencePredictorSummary(v **types.Referen } sv.Arn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -11470,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentReferencePredictorSummary(v **types.Referen } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -11500,15 +11316,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11516,15 +11326,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11549,15 +11355,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11565,15 +11365,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11598,15 +11394,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11614,15 +11404,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11657,7 +11443,6 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.KMSKeyArn = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -11666,7 +11451,6 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.Path = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11675,7 +11459,6 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11711,7 +11494,6 @@ func awsAwsjson11_deserializeDocumentSchema(v **types.Schema, value interface{}) if err := awsAwsjson11_deserializeDocumentSchemaAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -11751,7 +11533,6 @@ func awsAwsjson11_deserializeDocumentSchemaAttribute(v **types.SchemaAttribute, } sv.AttributeName = ptr.String(jtv) } - case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -11760,7 +11541,6 @@ func awsAwsjson11_deserializeDocumentSchemaAttribute(v **types.SchemaAttribute, } sv.AttributeType = types.AttributeType(jtv) } - default: _, _ = key, value @@ -11859,7 +11639,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -11872,7 +11651,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = ptr.Int32(int32(i64)) } - case "CountDistinct": if value != nil { jtv, ok := value.(json.Number) @@ -11885,7 +11663,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountDistinct = ptr.Int32(int32(i64)) } - case "CountDistinctLong": if value != nil { jtv, ok := value.(json.Number) @@ -11898,7 +11675,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountDistinctLong = ptr.Int64(i64) } - case "CountLong": if value != nil { jtv, ok := value.(json.Number) @@ -11911,7 +11687,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountLong = ptr.Int64(i64) } - case "CountNan": if value != nil { jtv, ok := value.(json.Number) @@ -11924,7 +11699,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNan = ptr.Int32(int32(i64)) } - case "CountNanLong": if value != nil { jtv, ok := value.(json.Number) @@ -11937,7 +11711,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNanLong = ptr.Int64(i64) } - case "CountNull": if value != nil { jtv, ok := value.(json.Number) @@ -11950,7 +11723,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNull = ptr.Int32(int32(i64)) } - case "CountNullLong": if value != nil { jtv, ok := value.(json.Number) @@ -11963,7 +11735,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNullLong = ptr.Int64(i64) } - case "Max": if value != nil { jtv, ok := value.(string) @@ -11972,7 +11743,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Max = ptr.String(jtv) } - case "Min": if value != nil { jtv, ok := value.(string) @@ -11981,7 +11751,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Min = ptr.String(jtv) } - case "Stddev": if value != nil { switch jtv := value.(type) { @@ -12015,7 +11784,6 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } } - default: _, _ = key, value @@ -12055,7 +11823,6 @@ func awsAwsjson11_deserializeDocumentSupplementaryFeature(v **types.Supplementar } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12064,7 +11831,6 @@ func awsAwsjson11_deserializeDocumentSupplementaryFeature(v **types.Supplementar } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12138,7 +11904,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12147,7 +11912,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12289,7 +12053,6 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12298,7 +12061,6 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } sv.Status = ptr.String(jtv) } - case "TestWindowEnd": if value != nil { switch jtv := value.(type) { @@ -12314,7 +12076,6 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } } - case "TestWindowStart": if value != nil { switch jtv := value.(type) { @@ -12330,7 +12091,6 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } } - default: _, _ = key, value @@ -12374,7 +12134,6 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.DayOfMonth = ptr.Int32(int32(i64)) } - case "DayOfWeek": if value != nil { jtv, ok := value.(string) @@ -12383,7 +12142,6 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.DayOfWeek = types.DayOfWeek(jtv) } - case "Hour": if value != nil { jtv, ok := value.(json.Number) @@ -12396,7 +12154,6 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.Hour = ptr.Int32(int32(i64)) } - case "Month": if value != nil { jtv, ok := value.(string) @@ -12405,7 +12162,6 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.Month = types.Month(jtv) } - default: _, _ = key, value @@ -12445,7 +12201,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.AttributeName = ptr.String(jtv) } - case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -12454,7 +12209,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.AttributeValue = ptr.String(jtv) } - case "Condition": if value != nil { jtv, ok := value.(string) @@ -12463,7 +12217,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.Condition = types.Condition(jtv) } - default: _, _ = key, value @@ -12533,7 +12286,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(v **types.TimeSeriesI if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -12542,12 +12294,10 @@ func awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(v **types.TimeSeriesI } sv.Format = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -12587,17 +12337,14 @@ func awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(v **types. } sv.Format = ptr.String(jtv) } - case "S3Config": if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -12606,7 +12353,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(v **types. } sv.TimestampFormat = ptr.String(jtv) } - default: _, _ = key, value @@ -12642,7 +12388,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesSelector(v **types.TimeSeriesSele if err := awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(&sv.TimeSeriesIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -12678,12 +12423,10 @@ func awsAwsjson11_deserializeDocumentTimeSeriesTransformation(v **types.TimeSeri if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "TimeSeriesConditions": if err := awsAwsjson11_deserializeDocumentTimeSeriesConditions(&sv.TimeSeriesConditions, value); err != nil { return err } - default: _, _ = key, value @@ -12890,7 +12633,6 @@ func awsAwsjson11_deserializeDocumentWeightedQuantileLoss(v **types.WeightedQuan } } - case "Quantile": if value != nil { switch jtv := value.(type) { @@ -12924,7 +12666,6 @@ func awsAwsjson11_deserializeDocumentWeightedQuantileLoss(v **types.WeightedQuan } } - default: _, _ = key, value @@ -13039,7 +12780,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -13048,7 +12788,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.ForecastArn = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13064,7 +12803,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13073,7 +12811,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13082,7 +12819,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.Status = ptr.String(jtv) } - case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -13091,7 +12827,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.WhatIfAnalysisArn = ptr.String(jtv) } - case "WhatIfAnalysisName": if value != nil { jtv, ok := value.(string) @@ -13100,7 +12835,6 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.WhatIfAnalysisName = ptr.String(jtv) } - default: _, _ = key, value @@ -13217,12 +12951,10 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13238,7 +12970,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13247,7 +12978,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13256,12 +12986,10 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.Status = ptr.String(jtv) } - case "WhatIfForecastArns": if err := awsAwsjson11_deserializeDocumentWhatIfForecastArnListForExport(&sv.WhatIfForecastArns, value); err != nil { return err } - case "WhatIfForecastExportArn": if value != nil { jtv, ok := value.(string) @@ -13270,7 +12998,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.WhatIfForecastExportArn = ptr.String(jtv) } - case "WhatIfForecastExportName": if value != nil { jtv, ok := value.(string) @@ -13279,7 +13006,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.WhatIfForecastExportName = ptr.String(jtv) } - default: _, _ = key, value @@ -13360,7 +13086,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13376,7 +13101,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13385,7 +13109,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13394,7 +13117,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.Status = ptr.String(jtv) } - case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -13403,7 +13125,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfAnalysisArn = ptr.String(jtv) } - case "WhatIfForecastArn": if value != nil { jtv, ok := value.(string) @@ -13412,7 +13133,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfForecastArn = ptr.String(jtv) } - case "WhatIfForecastName": if value != nil { jtv, ok := value.(string) @@ -13421,7 +13141,6 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfForecastName = ptr.String(jtv) } - default: _, _ = key, value @@ -13461,7 +13180,6 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } sv.EvaluationType = types.EvaluationType(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -13474,12 +13192,10 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } sv.ItemCount = ptr.Int32(int32(i64)) } - case "Metrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } - case "TestWindowEnd": if value != nil { switch jtv := value.(type) { @@ -13495,7 +13211,6 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } } - case "TestWindowStart": if value != nil { switch jtv := value.(type) { @@ -13511,7 +13226,6 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } } - default: _, _ = key, value @@ -13551,7 +13265,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoPredictorOutput(v **CreateAutoP } sv.PredictorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13591,7 +13304,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.DatasetGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13631,7 +13343,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetImportJobOutput(v **CreateDa } sv.DatasetImportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13671,7 +13382,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13711,7 +13421,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExplainabilityExportOutput(v **Crea } sv.ExplainabilityExportArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13751,7 +13460,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExplainabilityOutput(v **CreateExpl } sv.ExplainabilityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13791,7 +13499,6 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastExportJobOutput(v **CreateF } sv.ForecastExportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13831,7 +13538,6 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastOutput(v **CreateForecastOu } sv.ForecastArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13871,7 +13577,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13911,7 +13616,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePredictorBacktestExportJobOutput(v } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13951,7 +13655,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePredictorOutput(v **CreatePredictor } sv.PredictorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13991,7 +13694,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfAnalysisOutput(v **CreateWhat } sv.WhatIfAnalysisArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14031,7 +13733,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfForecastExportOutput(v **Crea } sv.WhatIfForecastExportArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14071,7 +13772,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfForecastOutput(v **CreateWhat } sv.WhatIfForecastArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14118,22 +13818,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } } - case "DataConfig": if err := awsAwsjson11_deserializeDocumentDataConfig(&sv.DataConfig, value); err != nil { return err } - case "DatasetImportJobArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetImportJobArns, value); err != nil { return err } - case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14146,17 +13842,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "ExplainabilityInfo": if err := awsAwsjson11_deserializeDocumentExplainabilityInfo(&sv.ExplainabilityInfo, value); err != nil { return err } - case "ForecastDimensions": if err := awsAwsjson11_deserializeDocumentForecastDimensions(&sv.ForecastDimensions, value); err != nil { return err } - case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -14165,7 +13858,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.ForecastFrequency = ptr.String(jtv) } - case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -14178,12 +13870,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.ForecastHorizon = ptr.Int32(int32(i64)) } - case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14199,7 +13889,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14208,12 +13897,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.Message = ptr.String(jtv) } - case "MonitorInfo": if err := awsAwsjson11_deserializeDocumentMonitorInfo(&sv.MonitorInfo, value); err != nil { return err } - case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -14222,7 +13909,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.OptimizationMetric = types.OptimizationMetric(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -14231,7 +13917,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.PredictorArn = ptr.String(jtv) } - case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -14240,12 +13925,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.PredictorName = ptr.String(jtv) } - case "ReferencePredictorSummary": if err := awsAwsjson11_deserializeDocumentReferencePredictorSummary(&sv.ReferencePredictorSummary, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14254,12 +13937,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.Status = ptr.String(jtv) } - case "TimeAlignmentBoundary": if err := awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(&sv.TimeAlignmentBoundary, value); err != nil { return err } - default: _, _ = key, value @@ -14306,12 +13987,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } } - case "DatasetArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetArns, value); err != nil { return err } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14320,7 +13999,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.DatasetGroupArn = ptr.String(jtv) } - case "DatasetGroupName": if value != nil { jtv, ok := value.(string) @@ -14329,7 +14007,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.DatasetGroupName = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -14338,7 +14015,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.Domain = types.Domain(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14354,7 +14030,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14363,7 +14038,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14410,7 +14084,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -14419,7 +14092,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetArn = ptr.String(jtv) } - case "DatasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -14428,7 +14100,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetImportJobArn = ptr.String(jtv) } - case "DatasetImportJobName": if value != nil { jtv, ok := value.(string) @@ -14437,7 +14108,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetImportJobName = ptr.String(jtv) } - case "DataSize": if value != nil { switch jtv := value.(type) { @@ -14471,12 +14141,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14489,12 +14157,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "FieldStatistics": if err := awsAwsjson11_deserializeDocumentFieldStatistics(&sv.FieldStatistics, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -14503,7 +14169,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Format = ptr.String(jtv) } - case "GeolocationFormat": if value != nil { jtv, ok := value.(string) @@ -14512,7 +14177,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.GeolocationFormat = ptr.String(jtv) } - case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -14521,7 +14185,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.ImportMode = types.ImportMode(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14537,7 +14200,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14546,7 +14208,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14555,7 +14216,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Status = ptr.String(jtv) } - case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -14564,7 +14224,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.TimestampFormat = ptr.String(jtv) } - case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -14573,7 +14232,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.TimeZone = ptr.String(jtv) } - case "UseGeolocationForTimeZone": if value != nil { jtv, ok := value.(bool) @@ -14582,7 +14240,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.UseGeolocationForTimeZone = jtv } - default: _, _ = key, value @@ -14629,7 +14286,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "DataFrequency": if value != nil { jtv, ok := value.(string) @@ -14638,7 +14294,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DataFrequency = ptr.String(jtv) } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -14647,7 +14302,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -14656,7 +14310,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetName = ptr.String(jtv) } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -14665,7 +14318,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetType = types.DatasetType(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -14674,12 +14326,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Domain = types.Domain(jtv) } - case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14695,12 +14345,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14709,7 +14357,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14756,12 +14403,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -14770,7 +14415,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityArn = ptr.String(jtv) } - case "ExplainabilityExportArn": if value != nil { jtv, ok := value.(string) @@ -14779,7 +14423,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityExportArn = ptr.String(jtv) } - case "ExplainabilityExportName": if value != nil { jtv, ok := value.(string) @@ -14788,7 +14431,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityExportName = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -14797,7 +14439,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Format = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14813,7 +14454,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14822,7 +14462,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14831,7 +14470,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14878,12 +14516,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "EnableVisualization": if value != nil { jtv, ok := value.(bool) @@ -14892,7 +14528,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EnableVisualization = ptr.Bool(jtv) } - case "EndDateTime": if value != nil { jtv, ok := value.(string) @@ -14901,7 +14536,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EndDateTime = ptr.String(jtv) } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14914,7 +14548,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -14923,12 +14556,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ExplainabilityArn = ptr.String(jtv) } - case "ExplainabilityConfig": if err := awsAwsjson11_deserializeDocumentExplainabilityConfig(&sv.ExplainabilityConfig, value); err != nil { return err } - case "ExplainabilityName": if value != nil { jtv, ok := value.(string) @@ -14937,7 +14568,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ExplainabilityName = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14953,7 +14583,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14962,7 +14591,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.Message = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14971,12 +14599,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ResourceArn = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - case "StartDateTime": if value != nil { jtv, ok := value.(string) @@ -14985,7 +14611,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.StartDateTime = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14994,7 +14619,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15041,12 +14665,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -15055,7 +14677,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastArn = ptr.String(jtv) } - case "ForecastExportJobArn": if value != nil { jtv, ok := value.(string) @@ -15064,7 +14685,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastExportJobArn = ptr.String(jtv) } - case "ForecastExportJobName": if value != nil { jtv, ok := value.(string) @@ -15073,7 +14693,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastExportJobName = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -15082,7 +14701,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Format = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15098,7 +14716,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15107,7 +14724,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15116,7 +14732,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15163,7 +14778,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } } - case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -15172,7 +14786,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.DatasetGroupArn = ptr.String(jtv) } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15185,7 +14798,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -15194,7 +14806,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.ForecastArn = ptr.String(jtv) } - case "ForecastName": if value != nil { jtv, ok := value.(string) @@ -15203,12 +14814,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.ForecastName = ptr.String(jtv) } - case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15224,7 +14833,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15233,7 +14841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.Message = ptr.String(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -15242,7 +14849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.PredictorArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15251,12 +14857,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.Status = ptr.String(jtv) } - case "TimeSeriesSelector": if err := awsAwsjson11_deserializeDocumentTimeSeriesSelector(&sv.TimeSeriesSelector, value); err != nil { return err } - default: _, _ = key, value @@ -15292,7 +14896,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor if err := awsAwsjson11_deserializeDocumentBaseline(&sv.Baseline, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15308,7 +14911,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } - case "EstimatedEvaluationTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15321,7 +14923,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.EstimatedEvaluationTimeRemainingInMinutes = ptr.Int64(i64) } - case "LastEvaluationState": if value != nil { jtv, ok := value.(string) @@ -15330,7 +14931,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.LastEvaluationState = ptr.String(jtv) } - case "LastEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -15346,7 +14946,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15362,7 +14961,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15371,7 +14969,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.Message = ptr.String(jtv) } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -15380,7 +14977,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.MonitorArn = ptr.String(jtv) } - case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -15389,7 +14985,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.MonitorName = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -15398,7 +14993,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.ResourceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15407,7 +15001,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15454,12 +15047,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -15468,7 +15059,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Format = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15484,7 +15074,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15493,7 +15082,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Message = ptr.String(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -15502,7 +15090,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorArn = ptr.String(jtv) } - case "PredictorBacktestExportJobArn": if value != nil { jtv, ok := value.(string) @@ -15511,7 +15098,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } - case "PredictorBacktestExportJobName": if value != nil { jtv, ok := value.(string) @@ -15520,7 +15106,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorBacktestExportJobName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15529,7 +15114,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15569,12 +15153,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.AlgorithmArn = ptr.String(jtv) } - case "AutoMLAlgorithmArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.AutoMLAlgorithmArns, value); err != nil { return err } - case "AutoMLOverrideStrategy": if value != nil { jtv, ok := value.(string) @@ -15583,7 +15165,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.AutoMLOverrideStrategy = types.AutoMLOverrideStrategy(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15599,17 +15180,14 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } } - case "DatasetImportJobArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetImportJobArns, value); err != nil { return err } - case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15622,17 +15200,14 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "EvaluationParameters": if err := awsAwsjson11_deserializeDocumentEvaluationParameters(&sv.EvaluationParameters, value); err != nil { return err } - case "FeaturizationConfig": if err := awsAwsjson11_deserializeDocumentFeaturizationConfig(&sv.FeaturizationConfig, value); err != nil { return err } - case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -15645,22 +15220,18 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.ForecastHorizon = ptr.Int32(int32(i64)) } - case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } - case "HPOConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HPOConfig, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -15669,7 +15240,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.IsAutoPredictor = ptr.Bool(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15685,7 +15255,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15694,7 +15263,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.Message = ptr.String(jtv) } - case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -15703,7 +15271,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.OptimizationMetric = types.OptimizationMetric(jtv) } - case "PerformAutoML": if value != nil { jtv, ok := value.(bool) @@ -15712,7 +15279,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PerformAutoML = ptr.Bool(jtv) } - case "PerformHPO": if value != nil { jtv, ok := value.(bool) @@ -15721,7 +15287,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PerformHPO = ptr.Bool(jtv) } - case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -15730,12 +15295,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PredictorArn = ptr.String(jtv) } - case "PredictorExecutionDetails": if err := awsAwsjson11_deserializeDocumentPredictorExecutionDetails(&sv.PredictorExecutionDetails, value); err != nil { return err } - case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -15744,7 +15307,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PredictorName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15753,12 +15315,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.Status = ptr.String(jtv) } - case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } - default: _, _ = key, value @@ -15805,7 +15365,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15818,7 +15377,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -15827,7 +15385,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.ForecastArn = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15843,7 +15400,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15852,7 +15408,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15861,12 +15416,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.Status = ptr.String(jtv) } - case "TimeSeriesSelector": if err := awsAwsjson11_deserializeDocumentTimeSeriesSelector(&sv.TimeSeriesSelector, value); err != nil { return err } - case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -15875,7 +15428,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.WhatIfAnalysisArn = ptr.String(jtv) } - case "WhatIfAnalysisName": if value != nil { jtv, ok := value.(string) @@ -15884,7 +15436,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.WhatIfAnalysisName = ptr.String(jtv) } - default: _, _ = key, value @@ -15931,12 +15482,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } } - case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15949,7 +15498,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -15958,7 +15506,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Format = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15974,7 +15521,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15983,7 +15529,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15992,12 +15537,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Status = ptr.String(jtv) } - case "WhatIfForecastArns": if err := awsAwsjson11_deserializeDocumentLongArnList(&sv.WhatIfForecastArns, value); err != nil { return err } - case "WhatIfForecastExportArn": if value != nil { jtv, ok := value.(string) @@ -16006,7 +15549,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.WhatIfForecastExportArn = ptr.String(jtv) } - case "WhatIfForecastExportName": if value != nil { jtv, ok := value.(string) @@ -16015,7 +15557,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.WhatIfForecastExportName = ptr.String(jtv) } - default: _, _ = key, value @@ -16062,7 +15603,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } } - case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -16075,12 +15615,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } - case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -16096,7 +15634,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16105,7 +15642,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16114,17 +15650,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.Status = ptr.String(jtv) } - case "TimeSeriesReplacementsDataSource": if err := awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(&sv.TimeSeriesReplacementsDataSource, value); err != nil { return err } - case "TimeSeriesTransformations": if err := awsAwsjson11_deserializeDocumentTimeSeriesTransformations(&sv.TimeSeriesTransformations, value); err != nil { return err } - case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -16133,7 +15666,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfAnalysisArn = ptr.String(jtv) } - case "WhatIfForecastArn": if value != nil { jtv, ok := value.(string) @@ -16142,7 +15674,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfForecastArn = ptr.String(jtv) } - case "WhatIfForecastName": if value != nil { jtv, ok := value.(string) @@ -16151,7 +15682,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfForecastName = ptr.String(jtv) } - default: _, _ = key, value @@ -16191,7 +15721,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.AutoMLOverrideStrategy = types.AutoMLOverrideStrategy(jtv) } - case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -16200,7 +15729,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.IsAutoPredictor = ptr.Bool(jtv) } - case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -16209,12 +15737,10 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.OptimizationMetric = types.OptimizationMetric(jtv) } - case "PredictorEvaluationResults": if err := awsAwsjson11_deserializeDocumentPredictorEvaluationResults(&sv.PredictorEvaluationResults, value); err != nil { return err } - default: _, _ = key, value @@ -16250,7 +15776,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr if err := awsAwsjson11_deserializeDocumentDatasetGroups(&sv.DatasetGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16259,7 +15784,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16295,7 +15819,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetImportJobs(&sv.DatasetImportJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16304,7 +15827,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16340,7 +15862,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasets(&sv.Datasets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16349,7 +15870,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16385,7 +15905,6 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(v **ListExplai if err := awsAwsjson11_deserializeDocumentExplainabilities(&sv.Explainabilities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16394,7 +15913,6 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(v **ListExplai } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16430,7 +15948,6 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(v **ListE if err := awsAwsjson11_deserializeDocumentExplainabilityExports(&sv.ExplainabilityExports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16439,7 +15956,6 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16475,7 +15991,6 @@ func awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(v **ListFore if err := awsAwsjson11_deserializeDocumentForecastExportJobs(&sv.ForecastExportJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16484,7 +15999,6 @@ func awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(v **ListFore } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16520,7 +16034,6 @@ func awsAwsjson11_deserializeOpDocumentListForecastsOutput(v **ListForecastsOutp if err := awsAwsjson11_deserializeDocumentForecasts(&sv.Forecasts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16529,7 +16042,6 @@ func awsAwsjson11_deserializeOpDocumentListForecastsOutput(v **ListForecastsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16569,12 +16081,10 @@ func awsAwsjson11_deserializeOpDocumentListMonitorEvaluationsOutput(v **ListMoni } sv.NextToken = ptr.String(jtv) } - case "PredictorMonitorEvaluations": if err := awsAwsjson11_deserializeDocumentPredictorMonitorEvaluations(&sv.PredictorMonitorEvaluations, value); err != nil { return err } - default: _, _ = key, value @@ -16610,7 +16120,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsAwsjson11_deserializeDocumentMonitors(&sv.Monitors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16619,7 +16128,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16659,12 +16167,10 @@ func awsAwsjson11_deserializeOpDocumentListPredictorBacktestExportJobsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "PredictorBacktestExportJobs": if err := awsAwsjson11_deserializeDocumentPredictorBacktestExportJobs(&sv.PredictorBacktestExportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -16704,12 +16210,10 @@ func awsAwsjson11_deserializeOpDocumentListPredictorsOutput(v **ListPredictorsOu } sv.NextToken = ptr.String(jtv) } - case "Predictors": if err := awsAwsjson11_deserializeDocumentPredictors(&sv.Predictors, value); err != nil { return err } - default: _, _ = key, value @@ -16745,7 +16249,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16785,12 +16288,10 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfAnalysesOutput(v **ListWhatIfAn } sv.NextToken = ptr.String(jtv) } - case "WhatIfAnalyses": if err := awsAwsjson11_deserializeDocumentWhatIfAnalyses(&sv.WhatIfAnalyses, value); err != nil { return err } - default: _, _ = key, value @@ -16830,12 +16331,10 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfForecastExportsOutput(v **ListW } sv.NextToken = ptr.String(jtv) } - case "WhatIfForecastExports": if err := awsAwsjson11_deserializeDocumentWhatIfForecastExports(&sv.WhatIfForecastExports, value); err != nil { return err } - default: _, _ = key, value @@ -16875,12 +16374,10 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfForecastsOutput(v **ListWhatIfF } sv.NextToken = ptr.String(jtv) } - case "WhatIfForecasts": if err := awsAwsjson11_deserializeDocumentWhatIfForecasts(&sv.WhatIfForecasts, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/forecastquery/deserializers.go b/service/forecastquery/deserializers.go index bb8fedf4f6e..4cf814249ac 100644 --- a/service/forecastquery/deserializers.go +++ b/service/forecastquery/deserializers.go @@ -481,7 +481,6 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } sv.Timestamp = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -515,7 +514,6 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } - default: _, _ = key, value @@ -551,7 +549,6 @@ func awsAwsjson11_deserializeDocumentForecast(v **types.Forecast, value interfac if err := awsAwsjson11_deserializeDocumentPredictions(&sv.Predictions, value); err != nil { return err } - default: _, _ = key, value @@ -581,15 +578,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -597,15 +588,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -630,15 +617,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -646,15 +627,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -679,15 +656,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -695,15 +666,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -762,15 +729,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -778,15 +739,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -811,15 +768,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -827,15 +778,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -900,7 +847,6 @@ func awsAwsjson11_deserializeOpDocumentQueryForecastOutput(v **QueryForecastOutp if err := awsAwsjson11_deserializeDocumentForecast(&sv.Forecast, value); err != nil { return err } - default: _, _ = key, value @@ -936,7 +882,6 @@ func awsAwsjson11_deserializeOpDocumentQueryWhatIfForecastOutput(v **QueryWhatIf if err := awsAwsjson11_deserializeDocumentForecast(&sv.Forecast, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/frauddetector/deserializers.go b/service/frauddetector/deserializers.go index fff76771ced..366aaf74322 100644 --- a/service/frauddetector/deserializers.go +++ b/service/frauddetector/deserializers.go @@ -9277,15 +9277,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9293,15 +9287,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9361,12 +9351,10 @@ func awsAwsjson11_deserializeDocumentAggregatedLogOddsMetric(v **types.Aggregate } } - case "variableNames": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.VariableNames, value); err != nil { return err } - default: _, _ = key, value @@ -9402,7 +9390,6 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.EventVariableNames, value); err != nil { return err } - case "logOddsImpact": if value != nil { switch jtv := value.(type) { @@ -9436,7 +9423,6 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty } } - case "relativeImpact": if value != nil { jtv, ok := value.(string) @@ -9445,7 +9431,6 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty } sv.RelativeImpact = ptr.String(jtv) } - default: _, _ = key, value @@ -9481,7 +9466,6 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImportanceMetrics(v **ty if err := awsAwsjson11_deserializeDocumentListOfAggregatedLogOddsMetrics(&sv.LogOddsMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -9521,7 +9505,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -9530,7 +9513,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -9539,7 +9521,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9548,7 +9529,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Name = ptr.String(jtv) } - case "updatedTime": if value != nil { jtv, ok := value.(string) @@ -9557,7 +9537,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.UpdatedTime = ptr.String(jtv) } - case "variableType": if value != nil { jtv, ok := value.(string) @@ -9566,7 +9545,6 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.VariableType = ptr.String(jtv) } - default: _, _ = key, value @@ -9665,7 +9643,6 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } - case "atodr": if value != nil { switch jtv := value.(type) { @@ -9699,7 +9676,6 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } - case "cr": if value != nil { switch jtv := value.(type) { @@ -9733,7 +9709,6 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -9767,7 +9742,6 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } - default: _, _ = key, value @@ -9866,7 +9840,6 @@ func awsAwsjson11_deserializeDocumentATIModelPerformance(v **types.ATIModelPerfo } } - default: _, _ = key, value @@ -9902,12 +9875,10 @@ func awsAwsjson11_deserializeDocumentATITrainingMetricsValue(v **types.ATITraini if err := awsAwsjson11_deserializeDocumentATIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } - case "modelPerformance": if err := awsAwsjson11_deserializeDocumentATIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } - default: _, _ = key, value @@ -9951,7 +9922,6 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Code = int32(i64) } - case "message": if value != nil { jtv, ok := value.(string) @@ -9960,7 +9930,6 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9969,7 +9938,6 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10047,7 +10015,6 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Code = int32(i64) } - case "message": if value != nil { jtv, ok := value.(string) @@ -10056,7 +10023,6 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10065,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10139,7 +10104,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.Arn = ptr.String(jtv) } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -10148,7 +10112,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.CompletionTime = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10157,7 +10120,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.EventTypeName = ptr.String(jtv) } - case "failedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10170,7 +10132,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10179,7 +10140,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.FailureReason = ptr.String(jtv) } - case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10188,7 +10148,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.IamRoleArn = ptr.String(jtv) } - case "inputPath": if value != nil { jtv, ok := value.(string) @@ -10197,7 +10156,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.InputPath = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -10206,7 +10164,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.JobId = ptr.String(jtv) } - case "outputPath": if value != nil { jtv, ok := value.(string) @@ -10215,7 +10172,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.OutputPath = ptr.String(jtv) } - case "processedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10228,7 +10184,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -10237,7 +10192,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10246,7 +10200,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.Status = types.AsyncJobStatus(jtv) } - case "totalRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10259,7 +10212,6 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.TotalRecordsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10333,7 +10285,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Arn = ptr.String(jtv) } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -10342,7 +10293,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.CompletionTime = ptr.String(jtv) } - case "detectorName": if value != nil { jtv, ok := value.(string) @@ -10351,7 +10301,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.DetectorName = ptr.String(jtv) } - case "detectorVersion": if value != nil { jtv, ok := value.(string) @@ -10360,7 +10309,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.DetectorVersion = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10369,7 +10317,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.EventTypeName = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10378,7 +10325,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.FailureReason = ptr.String(jtv) } - case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10387,7 +10333,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.IamRoleArn = ptr.String(jtv) } - case "inputPath": if value != nil { jtv, ok := value.(string) @@ -10396,7 +10341,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InputPath = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -10405,7 +10349,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.JobId = ptr.String(jtv) } - case "lastHeartbeatTime": if value != nil { jtv, ok := value.(string) @@ -10414,7 +10357,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.LastHeartbeatTime = ptr.String(jtv) } - case "outputPath": if value != nil { jtv, ok := value.(string) @@ -10423,7 +10365,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.OutputPath = ptr.String(jtv) } - case "processedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10436,7 +10377,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -10445,7 +10385,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10454,7 +10393,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Status = types.AsyncJobStatus(jtv) } - case "totalRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10467,7 +10405,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.TotalRecordsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10531,15 +10468,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10547,15 +10478,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10622,12 +10549,10 @@ func awsAwsjson11_deserializeDocumentDataValidationMetrics(v **types.DataValidat if err := awsAwsjson11_deserializeDocumentFieldValidationMessageList(&sv.FieldLevelMessages, value); err != nil { return err } - case "fileLevelMessages": if err := awsAwsjson11_deserializeDocumentFileValidationMessageList(&sv.FileLevelMessages, value); err != nil { return err } - default: _, _ = key, value @@ -10667,7 +10592,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -10676,7 +10600,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10685,7 +10608,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.Description = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -10694,7 +10616,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorId = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10703,7 +10624,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.EventTypeName = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10712,7 +10632,6 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -10786,7 +10705,6 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.Description = ptr.String(jtv) } - case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -10795,7 +10713,6 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.DetectorVersionId = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10804,7 +10721,6 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.LastUpdatedTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10813,7 +10729,6 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.Status = types.DetectorVersionStatus(jtv) } - default: _, _ = key, value @@ -10923,7 +10838,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -10932,7 +10846,6 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -10972,7 +10885,6 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -10981,7 +10893,6 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10901,6 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Description = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10999,7 +10909,6 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.LastUpdatedTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11008,7 +10917,6 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11078,7 +10986,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.InputVariables, value); err != nil { return err } - case "modelEndpoint": if value != nil { jtv, ok := value.(string) @@ -11087,12 +10994,10 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE } sv.ModelEndpoint = ptr.String(jtv) } - case "outputVariables": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.OutputVariables, value); err != nil { return err } - case "useEventVariables": if value != nil { jtv, ok := value.(bool) @@ -11101,7 +11006,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE } sv.UseEventVariables = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11137,7 +11041,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo if err := awsAwsjson11_deserializeDocumentListOfModelVersionEvaluations(&sv.Evaluations, value); err != nil { return err } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -11146,7 +11049,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -11155,7 +11057,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelType = ptr.String(jtv) } - case "modelVersion": if value != nil { jtv, ok := value.(string) @@ -11164,7 +11065,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11204,7 +11104,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Evaluated = ptr.Bool(jtv) } - case "expression": if value != nil { jtv, ok := value.(string) @@ -11213,7 +11112,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Expression = ptr.String(jtv) } - case "expressionWithValues": if value != nil { jtv, ok := value.(string) @@ -11222,7 +11120,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.ExpressionWithValues = ptr.String(jtv) } - case "matched": if value != nil { jtv, ok := value.(bool) @@ -11231,12 +11128,10 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Matched = ptr.Bool(jtv) } - case "outcomes": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -11245,7 +11140,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.RuleId = ptr.String(jtv) } - case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -11254,7 +11148,6 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.RuleVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11328,12 +11221,10 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.CurrentLabel = ptr.String(jtv) } - case "entities": if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -11342,7 +11233,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } - case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -11351,7 +11241,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTimestamp = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -11360,12 +11249,10 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeName = ptr.String(jtv) } - case "eventVariables": if err := awsAwsjson11_deserializeDocumentEventAttributeMap(&sv.EventVariables, value); err != nil { return err } - case "labelTimestamp": if value != nil { jtv, ok := value.(string) @@ -11374,7 +11261,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.LabelTimestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -11450,7 +11336,6 @@ func awsAwsjson11_deserializeDocumentEventOrchestration(v **types.EventOrchestra } sv.EventBridgeEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11490,7 +11375,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.DetectorId = ptr.String(jtv) } - case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -11499,7 +11383,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.DetectorVersionId = ptr.String(jtv) } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -11508,7 +11391,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventId = ptr.String(jtv) } - case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -11517,7 +11399,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventTimestamp = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -11526,7 +11407,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventTypeName = ptr.String(jtv) } - case "predictionTimestamp": if value != nil { jtv, ok := value.(string) @@ -11535,7 +11415,6 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.PredictionTimestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -11575,7 +11454,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -11584,7 +11462,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11593,12 +11470,10 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Description = ptr.String(jtv) } - case "entityTypes": if err := awsAwsjson11_deserializeDocumentNonEmptyListOfStrings(&sv.EntityTypes, value); err != nil { return err } - case "eventIngestion": if value != nil { jtv, ok := value.(string) @@ -11607,27 +11482,22 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.EventIngestion = types.EventIngestion(jtv) } - case "eventOrchestration": if err := awsAwsjson11_deserializeDocumentEventOrchestration(&sv.EventOrchestration, value); err != nil { return err } - case "eventVariables": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.EventVariables, value); err != nil { return err } - case "ingestedEventStatistics": if err := awsAwsjson11_deserializeDocumentIngestedEventStatistics(&sv.IngestedEventStatistics, value); err != nil { return err } - case "labels": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Labels, value); err != nil { return err } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -11636,7 +11506,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.LastUpdatedTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11645,7 +11514,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11719,7 +11587,6 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Name = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -11728,7 +11595,6 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Source = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11737,7 +11603,6 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11777,7 +11642,6 @@ func awsAwsjson11_deserializeDocumentExternalEventsDetail(v **types.ExternalEven } sv.DataAccessRoleArn = ptr.String(jtv) } - case "dataLocation": if value != nil { jtv, ok := value.(string) @@ -11786,7 +11650,6 @@ func awsAwsjson11_deserializeDocumentExternalEventsDetail(v **types.ExternalEven } sv.DataLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -11826,7 +11689,6 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -11835,12 +11697,10 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.CreatedTime = ptr.String(jtv) } - case "inputConfiguration": if err := awsAwsjson11_deserializeDocumentModelInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } - case "invokeModelEndpointRoleArn": if value != nil { jtv, ok := value.(string) @@ -11849,7 +11709,6 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.InvokeModelEndpointRoleArn = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -11858,7 +11717,6 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.LastUpdatedTime = ptr.String(jtv) } - case "modelEndpoint": if value != nil { jtv, ok := value.(string) @@ -11867,7 +11725,6 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelEndpoint = ptr.String(jtv) } - case "modelEndpointStatus": if value != nil { jtv, ok := value.(string) @@ -11876,7 +11733,6 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelEndpointStatus = types.ModelEndpointStatus(jtv) } - case "modelSource": if value != nil { jtv, ok := value.(string) @@ -11885,12 +11741,10 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelSource = types.ModelSource(jtv) } - case "outputConfiguration": if err := awsAwsjson11_deserializeDocumentModelOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11960,12 +11814,10 @@ func awsAwsjson11_deserializeDocumentExternalModelOutputs(v **types.ExternalMode if err := awsAwsjson11_deserializeDocumentExternalModelSummary(&sv.ExternalModel, value); err != nil { return err } - case "outputs": if err := awsAwsjson11_deserializeDocumentExternalModelPredictionMap(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -12041,7 +11893,6 @@ func awsAwsjson11_deserializeDocumentExternalModelSummary(v **types.ExternalMode } sv.ModelEndpoint = ptr.String(jtv) } - case "modelSource": if value != nil { jtv, ok := value.(string) @@ -12050,7 +11901,6 @@ func awsAwsjson11_deserializeDocumentExternalModelSummary(v **types.ExternalMode } sv.ModelSource = types.ModelSource(jtv) } - default: _, _ = key, value @@ -12090,7 +11940,6 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Content = ptr.String(jtv) } - case "fieldName": if value != nil { jtv, ok := value.(string) @@ -12099,7 +11948,6 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.FieldName = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -12108,7 +11956,6 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Identifier = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -12117,7 +11964,6 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12126,7 +11972,6 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -12200,7 +12045,6 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Content = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -12209,7 +12053,6 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12218,7 +12061,6 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -12288,7 +12130,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventsDetail(v **types.IngestedEven if err := awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(&sv.IngestedEventsTimeWindow, value); err != nil { return err } - default: _, _ = key, value @@ -12332,7 +12173,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.EventDataSizeInBytes = ptr.Int64(i64) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -12341,7 +12181,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.LastUpdatedTime = ptr.String(jtv) } - case "leastRecentEvent": if value != nil { jtv, ok := value.(string) @@ -12350,7 +12189,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.LeastRecentEvent = ptr.String(jtv) } - case "mostRecentEvent": if value != nil { jtv, ok := value.(string) @@ -12359,7 +12197,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.MostRecentEvent = ptr.String(jtv) } - case "numberOfEvents": if value != nil { jtv, ok := value.(json.Number) @@ -12372,7 +12209,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.NumberOfEvents = ptr.Int64(i64) } - default: _, _ = key, value @@ -12412,7 +12248,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(v **types.Ingested } sv.EndTime = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -12421,7 +12256,6 @@ func awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(v **types.Ingested } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -12451,15 +12285,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12467,15 +12295,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12546,7 +12370,6 @@ func awsAwsjson11_deserializeDocumentKMSKey(v **types.KMSKey, value interface{}) } sv.KmsEncryptionKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12586,7 +12409,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -12595,7 +12417,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12604,7 +12425,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Description = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -12613,7 +12433,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.LastUpdatedTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12622,7 +12441,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12726,7 +12544,6 @@ func awsAwsjson11_deserializeDocumentLabelSchema(v **types.LabelSchema, value in if err := awsAwsjson11_deserializeDocumentLabelMapper(&sv.LabelMapper, value); err != nil { return err } - case "unlabeledEventsTreatment": if value != nil { jtv, ok := value.(string) @@ -12735,7 +12552,6 @@ func awsAwsjson11_deserializeDocumentLabelSchema(v **types.LabelSchema, value in } sv.UnlabeledEventsTreatment = types.UnlabeledEventsTreatment(jtv) } - default: _, _ = key, value @@ -13312,7 +13128,6 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } } - case "variableName": if value != nil { jtv, ok := value.(string) @@ -13321,7 +13136,6 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } sv.VariableName = ptr.String(jtv) } - case "variableType": if value != nil { jtv, ok := value.(string) @@ -13330,7 +13144,6 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } sv.VariableType = ptr.String(jtv) } - default: _, _ = key, value @@ -13431,7 +13244,6 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } - case "precision": if value != nil { switch jtv := value.(type) { @@ -13465,7 +13277,6 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -13499,7 +13310,6 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } - case "tpr": if value != nil { switch jtv := value.(type) { @@ -13533,7 +13343,6 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } - default: _, _ = key, value @@ -13607,7 +13416,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -13616,7 +13424,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13625,7 +13432,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -13634,7 +13440,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.EventTypeName = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -13643,7 +13448,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.LastUpdatedTime = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -13652,7 +13456,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -13661,7 +13464,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelType = types.ModelTypeEnum(jtv) } - default: _, _ = key, value @@ -13701,7 +13503,6 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.CsvInputTemplate = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -13710,7 +13511,6 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.EventTypeName = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -13719,7 +13519,6 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.Format = types.ModelInputDataFormat(jtv) } - case "jsonInputTemplate": if value != nil { jtv, ok := value.(string) @@ -13728,7 +13527,6 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.JsonInputTemplate = ptr.String(jtv) } - case "useEventVariables": if value != nil { jtv, ok := value.(bool) @@ -13737,7 +13535,6 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.UseEventVariables = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13807,7 +13604,6 @@ func awsAwsjson11_deserializeDocumentModelOutputConfiguration(v **types.ModelOut if err := awsAwsjson11_deserializeDocumentCsvIndexToVariableMap(&sv.CsvIndexToVariableMap, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -13816,12 +13612,10 @@ func awsAwsjson11_deserializeDocumentModelOutputConfiguration(v **types.ModelOut } sv.Format = types.ModelOutputDataFormat(jtv) } - case "jsonKeyToVariableMap": if err := awsAwsjson11_deserializeDocumentJsonKeyToVariableMap(&sv.JsonKeyToVariableMap, value); err != nil { return err } - default: _, _ = key, value @@ -13918,12 +13712,10 @@ func awsAwsjson11_deserializeDocumentModelScores(v **types.ModelScores, value in if err := awsAwsjson11_deserializeDocumentModelVersion(&sv.ModelVersion, value); err != nil { return err } - case "scores": if err := awsAwsjson11_deserializeDocumentModelPredictionMap(&sv.Scores, value); err != nil { return err } - default: _, _ = key, value @@ -13963,7 +13755,6 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.Arn = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -13972,7 +13763,6 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -13981,7 +13771,6 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelType = types.ModelTypeEnum(jtv) } - case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -13990,7 +13779,6 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelVersionNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -14030,7 +13818,6 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -14039,17 +13826,14 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.CreatedTime = ptr.String(jtv) } - case "externalEventsDetail": if err := awsAwsjson11_deserializeDocumentExternalEventsDetail(&sv.ExternalEventsDetail, value); err != nil { return err } - case "ingestedEventsDetail": if err := awsAwsjson11_deserializeDocumentIngestedEventsDetail(&sv.IngestedEventsDetail, value); err != nil { return err } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -14058,7 +13842,6 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.LastUpdatedTime = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -14067,7 +13850,6 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -14076,7 +13858,6 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelType = types.ModelTypeEnum(jtv) } - case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -14085,7 +13866,6 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelVersionNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14094,12 +13874,10 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.Status = ptr.String(jtv) } - case "trainingDataSchema": if err := awsAwsjson11_deserializeDocumentTrainingDataSchema(&sv.TrainingDataSchema, value); err != nil { return err } - case "trainingDataSource": if value != nil { jtv, ok := value.(string) @@ -14108,17 +13886,14 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.TrainingDataSource = types.TrainingDataSourceEnum(jtv) } - case "trainingResult": if err := awsAwsjson11_deserializeDocumentTrainingResult(&sv.TrainingResult, value); err != nil { return err } - case "trainingResultV2": if err := awsAwsjson11_deserializeDocumentTrainingResultV2(&sv.TrainingResultV2, value); err != nil { return err } - default: _, _ = key, value @@ -14192,7 +13967,6 @@ func awsAwsjson11_deserializeDocumentModelVersionEvaluation(v **types.ModelVersi } sv.EvaluationScore = ptr.String(jtv) } - case "outputVariableName": if value != nil { jtv, ok := value.(string) @@ -14201,12 +13975,10 @@ func awsAwsjson11_deserializeDocumentModelVersionEvaluation(v **types.ModelVersi } sv.OutputVariableName = ptr.String(jtv) } - case "predictionExplanations": if err := awsAwsjson11_deserializeDocumentPredictionExplanations(&sv.PredictionExplanations, value); err != nil { return err } - default: _, _ = key, value @@ -14307,7 +14079,6 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } - case "precision": if value != nil { switch jtv := value.(type) { @@ -14341,7 +14112,6 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -14375,7 +14145,6 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } - case "tpr": if value != nil { switch jtv := value.(type) { @@ -14409,7 +14178,6 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } - default: _, _ = key, value @@ -14508,12 +14276,10 @@ func awsAwsjson11_deserializeDocumentOFIModelPerformance(v **types.OFIModelPerfo } } - case "uncertaintyRange": if err := awsAwsjson11_deserializeDocumentUncertaintyRange(&sv.UncertaintyRange, value); err != nil { return err } - default: _, _ = key, value @@ -14549,12 +14315,10 @@ func awsAwsjson11_deserializeDocumentOFITrainingMetricsValue(v **types.OFITraini if err := awsAwsjson11_deserializeDocumentOFIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } - case "modelPerformance": if err := awsAwsjson11_deserializeDocumentOFIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } - default: _, _ = key, value @@ -14594,7 +14358,6 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -14603,7 +14366,6 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14612,7 +14374,6 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Description = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -14621,7 +14382,6 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.LastUpdatedTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14630,7 +14390,6 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14700,12 +14459,10 @@ func awsAwsjson11_deserializeDocumentPredictionExplanations(v **types.Prediction if err := awsAwsjson11_deserializeDocumentListOfAggregatedVariablesImpactExplanations(&sv.AggregatedVariablesImpactExplanations, value); err != nil { return err } - case "variableImpactExplanations": if err := awsAwsjson11_deserializeDocumentListOfVariableImpactExplanations(&sv.VariableImpactExplanations, value); err != nil { return err } - default: _, _ = key, value @@ -14735,15 +14492,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14751,15 +14502,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14784,15 +14531,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14800,15 +14541,11 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14843,7 +14580,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.DetectorId = ptr.String(jtv) } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -14852,7 +14588,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } - case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -14861,7 +14596,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -14901,7 +14635,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -14910,7 +14643,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14919,7 +14651,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Description = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -14928,7 +14659,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.DetectorId = ptr.String(jtv) } - case "expression": if value != nil { jtv, ok := value.(string) @@ -14937,7 +14667,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Expression = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -14946,7 +14675,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Language = types.Language(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -14955,12 +14683,10 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.LastUpdatedTime = ptr.String(jtv) } - case "outcomes": if err := awsAwsjson11_deserializeDocumentNonEmptyListOfStrings(&sv.Outcomes, value); err != nil { return err } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -14969,7 +14695,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.RuleId = ptr.String(jtv) } - case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -14978,7 +14703,6 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.RuleVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -15082,7 +14806,6 @@ func awsAwsjson11_deserializeDocumentRuleResult(v **types.RuleResult, value inte if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -15091,7 +14814,6 @@ func awsAwsjson11_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -15131,7 +14853,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -15140,7 +14861,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15239,7 +14959,6 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } - case "precision": if value != nil { switch jtv := value.(type) { @@ -15273,7 +14992,6 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -15307,7 +15025,6 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } - case "tpr": if value != nil { switch jtv := value.(type) { @@ -15341,7 +15058,6 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } - default: _, _ = key, value @@ -15440,12 +15156,10 @@ func awsAwsjson11_deserializeDocumentTFIModelPerformance(v **types.TFIModelPerfo } } - case "uncertaintyRange": if err := awsAwsjson11_deserializeDocumentUncertaintyRange(&sv.UncertaintyRange, value); err != nil { return err } - default: _, _ = key, value @@ -15481,12 +15195,10 @@ func awsAwsjson11_deserializeDocumentTFITrainingMetricsValue(v **types.TFITraini if err := awsAwsjson11_deserializeDocumentTFIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } - case "modelPerformance": if err := awsAwsjson11_deserializeDocumentTFIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } - default: _, _ = key, value @@ -15516,15 +15228,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15532,15 +15238,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15571,12 +15273,10 @@ func awsAwsjson11_deserializeDocumentTrainingDataSchema(v **types.TrainingDataSc if err := awsAwsjson11_deserializeDocumentLabelSchema(&sv.LabelSchema, value); err != nil { return err } - case "modelVariables": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ModelVariables, value); err != nil { return err } - default: _, _ = key, value @@ -15641,12 +15341,10 @@ func awsAwsjson11_deserializeDocumentTrainingMetrics(v **types.TrainingMetrics, } } - case "metricDataPoints": if err := awsAwsjson11_deserializeDocumentMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } - default: _, _ = key, value @@ -15682,17 +15380,14 @@ func awsAwsjson11_deserializeDocumentTrainingMetricsV2(v **types.TrainingMetrics if err := awsAwsjson11_deserializeDocumentATITrainingMetricsValue(&sv.Ati, value); err != nil { return err } - case "ofi": if err := awsAwsjson11_deserializeDocumentOFITrainingMetricsValue(&sv.Ofi, value); err != nil { return err } - case "tfi": if err := awsAwsjson11_deserializeDocumentTFITrainingMetricsValue(&sv.Tfi, value); err != nil { return err } - default: _, _ = key, value @@ -15728,17 +15423,14 @@ func awsAwsjson11_deserializeDocumentTrainingResult(v **types.TrainingResult, va if err := awsAwsjson11_deserializeDocumentDataValidationMetrics(&sv.DataValidationMetrics, value); err != nil { return err } - case "trainingMetrics": if err := awsAwsjson11_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } - case "variableImportanceMetrics": if err := awsAwsjson11_deserializeDocumentVariableImportanceMetrics(&sv.VariableImportanceMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -15774,22 +15466,18 @@ func awsAwsjson11_deserializeDocumentTrainingResultV2(v **types.TrainingResultV2 if err := awsAwsjson11_deserializeDocumentAggregatedVariablesImportanceMetrics(&sv.AggregatedVariablesImportanceMetrics, value); err != nil { return err } - case "dataValidationMetrics": if err := awsAwsjson11_deserializeDocumentDataValidationMetrics(&sv.DataValidationMetrics, value); err != nil { return err } - case "trainingMetricsV2": if err := awsAwsjson11_deserializeDocumentTrainingMetricsV2(&sv.TrainingMetricsV2, value); err != nil { return err } - case "variableImportanceMetrics": if err := awsAwsjson11_deserializeDocumentVariableImportanceMetrics(&sv.VariableImportanceMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -15854,7 +15542,6 @@ func awsAwsjson11_deserializeDocumentUncertaintyRange(v **types.UncertaintyRange } } - case "upperBoundValue": if value != nil { switch jtv := value.(type) { @@ -15888,7 +15575,6 @@ func awsAwsjson11_deserializeDocumentUncertaintyRange(v **types.UncertaintyRange } } - default: _, _ = key, value @@ -15918,15 +15604,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15934,15 +15614,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15977,7 +15653,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -15986,7 +15661,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.CreatedTime = ptr.String(jtv) } - case "dataSource": if value != nil { jtv, ok := value.(string) @@ -15995,7 +15669,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DataSource = types.DataSource(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -16004,7 +15677,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DataType = types.DataType(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -16013,7 +15685,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16022,7 +15693,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Description = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -16031,7 +15701,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16040,7 +15709,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } - case "variableType": if value != nil { jtv, ok := value.(string) @@ -16049,7 +15717,6 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.VariableType = ptr.String(jtv) } - default: _, _ = key, value @@ -16089,7 +15756,6 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } sv.EventVariableName = ptr.String(jtv) } - case "logOddsImpact": if value != nil { switch jtv := value.(type) { @@ -16123,7 +15789,6 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } } - case "relativeImpact": if value != nil { jtv, ok := value.(string) @@ -16132,7 +15797,6 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } sv.RelativeImpact = ptr.String(jtv) } - default: _, _ = key, value @@ -16168,7 +15832,6 @@ func awsAwsjson11_deserializeDocumentVariableImportanceMetrics(v **types.Variabl if err := awsAwsjson11_deserializeDocumentListOfLogOddsMetrics(&sv.LogOddsMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -16238,7 +15901,6 @@ func awsAwsjson11_deserializeOpDocumentBatchCreateVariableOutput(v **BatchCreate if err := awsAwsjson11_deserializeDocumentBatchCreateVariableErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -16274,12 +15936,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetVariableOutput(v **BatchGetVariab if err := awsAwsjson11_deserializeDocumentBatchGetVariableErrorList(&sv.Errors, value); err != nil { return err } - case "variables": if err := awsAwsjson11_deserializeDocumentVariableList(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -16443,7 +16103,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.DetectorId = ptr.String(jtv) } - case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -16452,7 +16111,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.DetectorVersionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16461,7 +16119,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.Status = types.DetectorVersionStatus(jtv) } - default: _, _ = key, value @@ -16563,7 +16220,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -16572,7 +16228,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelType = types.ModelTypeEnum(jtv) } - case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -16581,7 +16236,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelVersionNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16590,7 +16244,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -16626,7 +16279,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -16883,7 +16535,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventsByEventTypeOutput(v **DeleteE } sv.EventsDeletionStatus = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -16892,7 +16543,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventsByEventTypeOutput(v **DeleteE } sv.EventTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -17211,7 +16861,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.Arn = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -17220,12 +16869,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.DetectorId = ptr.String(jtv) } - case "detectorVersionSummaries": if err := awsAwsjson11_deserializeDocumentDetectorVersionSummaryList(&sv.DetectorVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17234,7 +16881,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17270,7 +16916,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelVersionsOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentModelVersionDetailList(&sv.ModelVersionDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17279,7 +16924,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelVersionsOutput(v **DescribeM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17315,7 +16959,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchImportJobsOutput(v **GetBatchImpo if err := awsAwsjson11_deserializeDocumentBatchImportList(&sv.BatchImports, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17324,7 +16967,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchImportJobsOutput(v **GetBatchImpo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17360,7 +17002,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionJobsOutput(v **GetBatch if err := awsAwsjson11_deserializeDocumentBatchPredictionList(&sv.BatchPredictions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17369,7 +17010,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionJobsOutput(v **GetBatch } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17409,7 +17049,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeleteEventsByEventTypeStatusOutput(v } sv.EventsDeletionStatus = types.AsyncJobStatus(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -17418,7 +17057,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeleteEventsByEventTypeStatusOutput(v } sv.EventTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -17454,7 +17092,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorsOutput(v **GetDetectorsOutput if err := awsAwsjson11_deserializeDocumentDetectorList(&sv.Detectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17463,7 +17100,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorsOutput(v **GetDetectorsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17503,7 +17139,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { jtv, ok := value.(string) @@ -17512,7 +17147,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.CreatedTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17521,7 +17155,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Description = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -17530,7 +17163,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.DetectorId = ptr.String(jtv) } - case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -17539,12 +17171,10 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.DetectorVersionId = ptr.String(jtv) } - case "externalModelEndpoints": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ExternalModelEndpoints, value); err != nil { return err } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -17553,12 +17183,10 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.LastUpdatedTime = ptr.String(jtv) } - case "modelVersions": if err := awsAwsjson11_deserializeDocumentListOfModelVersions(&sv.ModelVersions, value); err != nil { return err } - case "ruleExecutionMode": if value != nil { jtv, ok := value.(string) @@ -17567,12 +17195,10 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.RuleExecutionMode = types.RuleExecutionMode(jtv) } - case "rules": if err := awsAwsjson11_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -17581,7 +17207,6 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Status = types.DetectorVersionStatus(jtv) } - default: _, _ = key, value @@ -17617,7 +17242,6 @@ func awsAwsjson11_deserializeOpDocumentGetEntityTypesOutput(v **GetEntityTypesOu if err := awsAwsjson11_deserializeDocumentEntityTypeList(&sv.EntityTypes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17626,7 +17250,6 @@ func awsAwsjson11_deserializeOpDocumentGetEntityTypesOutput(v **GetEntityTypesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17662,7 +17285,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventOutput(v **GetEventOutput, value if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - default: _, _ = key, value @@ -17702,7 +17324,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorId = ptr.String(jtv) } - case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -17711,7 +17332,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorVersionId = ptr.String(jtv) } - case "detectorVersionStatus": if value != nil { jtv, ok := value.(string) @@ -17720,7 +17340,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorVersionStatus = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -17729,7 +17348,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -17738,17 +17356,14 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EntityType = ptr.String(jtv) } - case "evaluatedExternalModels": if err := awsAwsjson11_deserializeDocumentListOfEvaluatedExternalModels(&sv.EvaluatedExternalModels, value); err != nil { return err } - case "evaluatedModelVersions": if err := awsAwsjson11_deserializeDocumentListOfEvaluatedModelVersions(&sv.EvaluatedModelVersions, value); err != nil { return err } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -17757,7 +17372,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventId = ptr.String(jtv) } - case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -17766,7 +17380,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventTimestamp = ptr.String(jtv) } - case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -17775,17 +17388,14 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventTypeName = ptr.String(jtv) } - case "eventVariables": if err := awsAwsjson11_deserializeDocumentListOfEventVariableSummaries(&sv.EventVariables, value); err != nil { return err } - case "outcomes": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } - case "predictionTimestamp": if value != nil { jtv, ok := value.(string) @@ -17794,7 +17404,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.PredictionTimestamp = ptr.String(jtv) } - case "ruleExecutionMode": if value != nil { jtv, ok := value.(string) @@ -17803,12 +17412,10 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.RuleExecutionMode = types.RuleExecutionMode(jtv) } - case "rules": if err := awsAwsjson11_deserializeDocumentEvaluatedRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -17844,17 +17451,14 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionOutput(v **GetEventPred if err := awsAwsjson11_deserializeDocumentListOfExternalModelOutputs(&sv.ExternalModelOutputs, value); err != nil { return err } - case "modelScores": if err := awsAwsjson11_deserializeDocumentListOfModelScores(&sv.ModelScores, value); err != nil { return err } - case "ruleResults": if err := awsAwsjson11_deserializeDocumentListOfRuleResults(&sv.RuleResults, value); err != nil { return err } - default: _, _ = key, value @@ -17890,7 +17494,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventTypesOutput(v **GetEventTypesOutp if err := awsAwsjson11_deserializeDocumentEventTypeList(&sv.EventTypes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17899,7 +17502,6 @@ func awsAwsjson11_deserializeOpDocumentGetEventTypesOutput(v **GetEventTypesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17935,7 +17537,6 @@ func awsAwsjson11_deserializeOpDocumentGetExternalModelsOutput(v **GetExternalMo if err := awsAwsjson11_deserializeDocumentExternalModelList(&sv.ExternalModels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17944,7 +17545,6 @@ func awsAwsjson11_deserializeOpDocumentGetExternalModelsOutput(v **GetExternalMo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17980,7 +17580,6 @@ func awsAwsjson11_deserializeOpDocumentGetKMSEncryptionKeyOutput(v **GetKMSEncry if err := awsAwsjson11_deserializeDocumentKMSKey(&sv.KmsKey, value); err != nil { return err } - default: _, _ = key, value @@ -18016,7 +17615,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelsOutput(v **GetLabelsOutput, valu if err := awsAwsjson11_deserializeDocumentLabelList(&sv.Labels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18025,7 +17623,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelsOutput(v **GetLabelsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18061,7 +17658,6 @@ func awsAwsjson11_deserializeOpDocumentGetListElementsOutput(v **GetListElements if err := awsAwsjson11_deserializeDocumentElementsList(&sv.Elements, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18070,7 +17666,6 @@ func awsAwsjson11_deserializeOpDocumentGetListElementsOutput(v **GetListElements } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18106,7 +17701,6 @@ func awsAwsjson11_deserializeOpDocumentGetListsMetadataOutput(v **GetListsMetada if err := awsAwsjson11_deserializeDocumentAllowDenyLists(&sv.Lists, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18115,7 +17709,6 @@ func awsAwsjson11_deserializeOpDocumentGetListsMetadataOutput(v **GetListsMetada } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18151,7 +17744,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsAwsjson11_deserializeDocumentModelList(&sv.Models, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18160,7 +17752,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18200,17 +17791,14 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.Arn = ptr.String(jtv) } - case "externalEventsDetail": if err := awsAwsjson11_deserializeDocumentExternalEventsDetail(&sv.ExternalEventsDetail, value); err != nil { return err } - case "ingestedEventsDetail": if err := awsAwsjson11_deserializeDocumentIngestedEventsDetail(&sv.IngestedEventsDetail, value); err != nil { return err } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -18219,7 +17807,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -18228,7 +17815,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelType = types.ModelTypeEnum(jtv) } - case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -18237,7 +17823,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelVersionNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18246,12 +17831,10 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.Status = ptr.String(jtv) } - case "trainingDataSchema": if err := awsAwsjson11_deserializeDocumentTrainingDataSchema(&sv.TrainingDataSchema, value); err != nil { return err } - case "trainingDataSource": if value != nil { jtv, ok := value.(string) @@ -18260,7 +17843,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.TrainingDataSource = types.TrainingDataSourceEnum(jtv) } - default: _, _ = key, value @@ -18300,12 +17882,10 @@ func awsAwsjson11_deserializeOpDocumentGetOutcomesOutput(v **GetOutcomesOutput, } sv.NextToken = ptr.String(jtv) } - case "outcomes": if err := awsAwsjson11_deserializeDocumentOutcomeList(&sv.Outcomes, value); err != nil { return err } - default: _, _ = key, value @@ -18345,12 +17925,10 @@ func awsAwsjson11_deserializeOpDocumentGetRulesOutput(v **GetRulesOutput, value } sv.NextToken = ptr.String(jtv) } - case "ruleDetails": if err := awsAwsjson11_deserializeDocumentRuleDetailList(&sv.RuleDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18390,12 +17968,10 @@ func awsAwsjson11_deserializeOpDocumentGetVariablesOutput(v **GetVariablesOutput } sv.NextToken = ptr.String(jtv) } - case "variables": if err := awsAwsjson11_deserializeDocumentVariableList(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -18431,7 +18007,6 @@ func awsAwsjson11_deserializeOpDocumentListEventPredictionsOutput(v **ListEventP if err := awsAwsjson11_deserializeDocumentListOfEventPredictionSummaries(&sv.EventPredictionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18440,7 +18015,6 @@ func awsAwsjson11_deserializeOpDocumentListEventPredictionsOutput(v **ListEventP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18480,12 +18054,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19021,7 +18593,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelId = ptr.String(jtv) } - case "modelType": if value != nil { jtv, ok := value.(string) @@ -19030,7 +18601,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelType = types.ModelTypeEnum(jtv) } - case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -19039,7 +18609,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelVersionNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -19048,7 +18617,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -19146,7 +18714,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleVersionOutput(v **UpdateRuleVer if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/freetier/deserializers.go b/service/freetier/deserializers.go index a60ab7157ff..b3e0cecc18f 100644 --- a/service/freetier/deserializers.go +++ b/service/freetier/deserializers.go @@ -307,7 +307,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -316,7 +315,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Description = ptr.String(jtv) } - case "forecastedUsageAmount": if value != nil { switch jtv := value.(type) { @@ -350,7 +348,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } - case "freeTierType": if value != nil { jtv, ok := value.(string) @@ -359,7 +356,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.FreeTierType = ptr.String(jtv) } - case "limit": if value != nil { switch jtv := value.(type) { @@ -393,7 +389,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } - case "operation": if value != nil { jtv, ok := value.(string) @@ -402,7 +397,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Operation = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -411,7 +405,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Region = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -420,7 +413,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Service = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -429,7 +421,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Unit = ptr.String(jtv) } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -438,7 +429,6 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -502,15 +492,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -518,15 +502,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -551,15 +531,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -567,15 +541,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -600,15 +570,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -616,15 +580,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -655,7 +615,6 @@ func awsAwsjson10_deserializeOpDocumentGetFreeTierUsageOutput(v **GetFreeTierUsa if err := awsAwsjson10_deserializeDocumentFreeTierUsages(&sv.FreeTierUsages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -664,7 +623,6 @@ func awsAwsjson10_deserializeOpDocumentGetFreeTierUsageOutput(v **GetFreeTierUsa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/fsx/deserializers.go b/service/fsx/deserializers.go index 44e722d9d3f..d154402198b 100644 --- a/service/fsx/deserializers.go +++ b/service/fsx/deserializers.go @@ -6834,7 +6834,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.ActiveDirectoryId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -6843,7 +6842,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.DomainName = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -6852,7 +6850,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6882,13 +6879,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ActiveDirectoryId": if value != nil { @@ -6898,8 +6889,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.ActiveDirectoryId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6907,7 +6897,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6916,15 +6905,11 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.Type = types.ActiveDirectoryErrorType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6959,12 +6944,10 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.AdministrativeActionType = types.AdministrativeActionType(jtv) } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentAdministrativeActionFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -6977,7 +6960,6 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.ProgressPercent = ptr.Int32(int32(i64)) } - case "RemainingTransferBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6990,7 +6972,6 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.RemainingTransferBytes = ptr.Int64(i64) } - case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -7006,7 +6987,6 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7015,22 +6995,18 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.Status = types.Status(jtv) } - case "TargetFileSystemValues": if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.TargetFileSystemValues, value); err != nil { return err } - case "TargetSnapshotValues": if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.TargetSnapshotValues, value); err != nil { return err } - case "TargetVolumeValues": if err := awsAwsjson11_deserializeDocumentVolume(&sv.TargetVolumeValues, value); err != nil { return err } - case "TotalTransferBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7043,7 +7019,6 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.TotalTransferBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -7083,7 +7058,6 @@ func awsAwsjson11_deserializeDocumentAdministrativeActionFailureDetails(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -7153,7 +7127,6 @@ func awsAwsjson11_deserializeDocumentAggregateConfiguration(v **types.AggregateC if err := awsAwsjson11_deserializeDocumentAggregates(&sv.Aggregates, value); err != nil { return err } - case "TotalConstituents": if value != nil { jtv, ok := value.(json.Number) @@ -7166,7 +7139,6 @@ func awsAwsjson11_deserializeDocumentAggregateConfiguration(v **types.AggregateC } sv.TotalConstituents = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7242,7 +7214,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Lifecycle = types.AliasLifecycle(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7251,7 +7222,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7325,7 +7295,6 @@ func awsAwsjson11_deserializeDocumentAutocommitPeriod(v **types.AutocommitPeriod } sv.Type = types.AutocommitPeriodType(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -7338,7 +7307,6 @@ func awsAwsjson11_deserializeDocumentAutocommitPeriod(v **types.AutocommitPeriod } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7374,7 +7342,6 @@ func awsAwsjson11_deserializeDocumentAutoExportPolicy(v **types.AutoExportPolicy if err := awsAwsjson11_deserializeDocumentEventTypes(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -7410,7 +7377,6 @@ func awsAwsjson11_deserializeDocumentAutoImportPolicy(v **types.AutoImportPolicy if err := awsAwsjson11_deserializeDocumentEventTypes(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -7450,7 +7416,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7466,22 +7431,18 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } - case "DirectoryInformation": if err := awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(&sv.DirectoryInformation, value); err != nil { return err } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentBackupFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileSystem": if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7490,7 +7451,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.KmsKeyId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -7499,7 +7459,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Lifecycle = types.BackupLifecycle(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -7508,7 +7467,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.OwnerId = ptr.String(jtv) } - case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -7521,7 +7479,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ProgressPercent = ptr.Int32(int32(i64)) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -7530,7 +7487,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ResourceARN = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7539,7 +7495,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } - case "SourceBackupId": if value != nil { jtv, ok := value.(string) @@ -7548,7 +7503,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackupId = ptr.String(jtv) } - case "SourceBackupRegion": if value != nil { jtv, ok := value.(string) @@ -7557,12 +7511,10 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackupRegion = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7571,12 +7523,10 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Type = types.BackupType(jtv) } - case "Volume": if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } - default: _, _ = key, value @@ -7606,13 +7556,7 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "BackupId": if value != nil { @@ -7622,8 +7566,7 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi } sv.BackupId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7631,15 +7574,11 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7674,7 +7613,6 @@ func awsAwsjson11_deserializeDocumentBackupFailureDetails(v **types.BackupFailur } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -7704,15 +7642,9 @@ func awsAwsjson11_deserializeDocumentBackupInProgress(v **types.BackupInProgress sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7720,15 +7652,11 @@ func awsAwsjson11_deserializeDocumentBackupInProgress(v **types.BackupInProgress } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7753,15 +7681,9 @@ func awsAwsjson11_deserializeDocumentBackupNotFound(v **types.BackupNotFound, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7769,15 +7691,11 @@ func awsAwsjson11_deserializeDocumentBackupNotFound(v **types.BackupNotFound, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7802,13 +7720,7 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FileSystemId": if value != nil { @@ -7818,8 +7730,7 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, } sv.FileSystemId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7827,15 +7738,11 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7894,15 +7801,9 @@ func awsAwsjson11_deserializeDocumentBadRequest(v **types.BadRequest, value inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7910,15 +7811,11 @@ func awsAwsjson11_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7953,7 +7850,6 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Enabled = ptr.Bool(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -7962,7 +7858,6 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Format = types.ReportFormat(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -7971,7 +7866,6 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Path = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -7980,7 +7874,6 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Scope = types.ReportScope(jtv) } - default: _, _ = key, value @@ -8020,7 +7913,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.AssociationId = ptr.String(jtv) } - case "BatchImportMetaDataOnCreate": if value != nil { jtv, ok := value.(bool) @@ -8029,7 +7921,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.BatchImportMetaDataOnCreate = ptr.Bool(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8045,7 +7936,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } } - case "DataRepositoryPath": if value != nil { jtv, ok := value.(string) @@ -8054,17 +7944,14 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.DataRepositoryPath = ptr.String(jtv) } - case "DataRepositorySubdirectories": if err := awsAwsjson11_deserializeDocumentSubDirectoriesPaths(&sv.DataRepositorySubdirectories, value); err != nil { return err } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -8073,7 +7960,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileCacheId = ptr.String(jtv) } - case "FileCachePath": if value != nil { jtv, ok := value.(string) @@ -8082,7 +7968,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileCachePath = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -8091,7 +7976,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemPath": if value != nil { jtv, ok := value.(string) @@ -8100,7 +7984,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileSystemPath = ptr.String(jtv) } - case "ImportedFileChunkSize": if value != nil { jtv, ok := value.(json.Number) @@ -8113,7 +7996,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.ImportedFileChunkSize = ptr.Int32(int32(i64)) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8122,12 +8004,10 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } - case "NFS": if err := awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(&sv.NFS, value); err != nil { return err } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8136,17 +8016,14 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.ResourceARN = ptr.String(jtv) } - case "S3": if err := awsAwsjson11_deserializeDocumentS3DataRepositoryConfiguration(&sv.S3, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8212,15 +8089,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociationNotFound(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8228,15 +8099,11 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociationNotFound(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8305,7 +8172,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.AutoImportPolicy = types.AutoImportPolicyType(jtv) } - case "ExportPath": if value != nil { jtv, ok := value.(string) @@ -8314,12 +8180,10 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ExportPath = ptr.String(jtv) } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "ImportedFileChunkSize": if value != nil { jtv, ok := value.(json.Number) @@ -8332,7 +8196,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ImportedFileChunkSize = ptr.Int32(int32(i64)) } - case "ImportPath": if value != nil { jtv, ok := value.(string) @@ -8341,7 +8204,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ImportPath = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8350,7 +8212,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } - default: _, _ = key, value @@ -8390,7 +8251,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(v **types.Data } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -8434,7 +8294,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.CapacityToRelease = ptr.Int64(i64) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8450,7 +8309,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8466,12 +8324,10 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -8480,7 +8336,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.FileCacheId = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -8489,7 +8344,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.FileSystemId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8498,22 +8352,18 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.Lifecycle = types.DataRepositoryTaskLifecycle(jtv) } - case "Paths": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskPaths(&sv.Paths, value); err != nil { return err } - case "ReleaseConfiguration": if err := awsAwsjson11_deserializeDocumentReleaseConfiguration(&sv.ReleaseConfiguration, value); err != nil { return err } - case "Report": if err := awsAwsjson11_deserializeDocumentCompletionReport(&sv.Report, value); err != nil { return err } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8522,7 +8372,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.ResourceARN = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8538,17 +8387,14 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } - case "Status": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(&sv.Status, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "TaskId": if value != nil { jtv, ok := value.(string) @@ -8557,7 +8403,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.TaskId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8566,7 +8411,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.Type = types.DataRepositoryTaskType(jtv) } - default: _, _ = key, value @@ -8596,15 +8440,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskEnded(v **types.DataRepos sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8612,15 +8450,11 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskEnded(v **types.DataRepos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8645,15 +8479,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskExecuting(v **types.DataR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8661,15 +8489,11 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskExecuting(v **types.DataR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8704,7 +8528,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskFailureDetails(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -8734,15 +8557,9 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskNotFound(v **types.DataRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8750,15 +8567,11 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskNotFound(v **types.DataRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8867,7 +8680,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.FailedCount = ptr.Int64(i64) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8883,7 +8695,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } } - case "ReleasedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8896,7 +8707,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.ReleasedCapacity = ptr.Int64(i64) } - case "SucceededCount": if value != nil { jtv, ok := value.(json.Number) @@ -8909,7 +8719,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.SucceededCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -8922,7 +8731,6 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -8962,12 +8770,10 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemLustreResponse(v **types.De } sv.FinalBackupId = ptr.String(jtv) } - case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } - default: _, _ = key, value @@ -9007,12 +8813,10 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemOpenZFSResponse(v **types.D } sv.FinalBackupId = ptr.String(jtv) } - case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } - default: _, _ = key, value @@ -9052,12 +8856,10 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemWindowsResponse(v **types.D } sv.FinalBackupId = ptr.String(jtv) } - case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } - default: _, _ = key, value @@ -9097,12 +8899,10 @@ func awsAwsjson11_deserializeDocumentDeleteVolumeOntapResponse(v **types.DeleteV } sv.FinalBackupId = ptr.String(jtv) } - case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } - default: _, _ = key, value @@ -9146,7 +8946,6 @@ func awsAwsjson11_deserializeDocumentDiskIopsConfiguration(v **types.DiskIopsCon } sv.Iops = ptr.Int64(i64) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -9155,7 +8954,6 @@ func awsAwsjson11_deserializeDocumentDiskIopsConfiguration(v **types.DiskIopsCon } sv.Mode = types.DiskIopsConfigurationMode(jtv) } - default: _, _ = key, value @@ -9231,7 +9029,6 @@ func awsAwsjson11_deserializeDocumentDurationSinceLastAccess(v **types.DurationS } sv.Unit = types.Unit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -9244,7 +9041,6 @@ func awsAwsjson11_deserializeDocumentDurationSinceLastAccess(v **types.DurationS } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -9327,12 +9123,10 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } } - case "DataRepositoryAssociationIds": if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociationIds(&sv.DataRepositoryAssociationIds, value); err != nil { return err } - case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9341,12 +9135,10 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.DNSName = ptr.String(jtv) } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileCacheFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -9355,7 +9147,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheId = ptr.String(jtv) } - case "FileCacheType": if value != nil { jtv, ok := value.(string) @@ -9364,7 +9155,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheType = types.FileCacheType(jtv) } - case "FileCacheTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9373,7 +9163,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheTypeVersion = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9382,7 +9171,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.KmsKeyId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9391,17 +9179,14 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.Lifecycle = types.FileCacheLifecycle(jtv) } - case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(&sv.LustreConfiguration, value); err != nil { return err } - case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9410,7 +9195,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.OwnerId = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -9419,7 +9203,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.ResourceARN = ptr.String(jtv) } - case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9432,12 +9215,10 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9446,7 +9227,6 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9486,7 +9266,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.CopyTagsToDataRepositoryAssociations = ptr.Bool(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9502,12 +9281,10 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } } - case "DataRepositoryAssociationIds": if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociationIds(&sv.DataRepositoryAssociationIds, value); err != nil { return err } - case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9516,12 +9293,10 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.DNSName = ptr.String(jtv) } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileCacheFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -9530,7 +9305,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheId = ptr.String(jtv) } - case "FileCacheType": if value != nil { jtv, ok := value.(string) @@ -9539,7 +9313,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheType = types.FileCacheType(jtv) } - case "FileCacheTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9548,7 +9321,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheTypeVersion = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9557,7 +9329,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.KmsKeyId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9566,17 +9337,14 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.Lifecycle = types.FileCacheLifecycle(jtv) } - case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(&sv.LustreConfiguration, value); err != nil { return err } - case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9585,7 +9353,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.OwnerId = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -9594,7 +9361,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.ResourceARN = ptr.String(jtv) } - case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9607,17 +9373,14 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9626,7 +9389,6 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9666,7 +9428,6 @@ func awsAwsjson11_deserializeDocumentFileCacheFailureDetails(v **types.FileCache } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9706,17 +9467,14 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.DeploymentType = types.FileCacheLustreDeploymentType(jtv) } - case "LogConfiguration": if err := awsAwsjson11_deserializeDocumentLustreLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "MetadataConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreMetadataConfiguration(&sv.MetadataConfiguration, value); err != nil { return err } - case "MountName": if value != nil { jtv, ok := value.(string) @@ -9725,7 +9483,6 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.MountName = ptr.String(jtv) } - case "PerUnitStorageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -9738,7 +9495,6 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.PerUnitStorageThroughput = ptr.Int32(int32(i64)) } - case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -9747,7 +9503,6 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -9791,7 +9546,6 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreMetadataConfiguration(v **ty } sv.StorageCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9821,15 +9575,9 @@ func awsAwsjson11_deserializeDocumentFileCacheNotFound(v **types.FileCacheNotFou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9837,15 +9585,11 @@ func awsAwsjson11_deserializeDocumentFileCacheNotFound(v **types.FileCacheNotFou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9910,7 +9654,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9926,7 +9669,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } } - case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9935,12 +9677,10 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.DNSName = ptr.String(jtv) } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileSystemFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -9949,7 +9689,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -9958,7 +9697,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemType = types.FileSystemType(jtv) } - case "FileSystemTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9967,7 +9705,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemTypeVersion = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9976,7 +9713,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.KmsKeyId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9985,27 +9721,22 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.Lifecycle = types.FileSystemLifecycle(jtv) } - case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(&sv.LustreConfiguration, value); err != nil { return err } - case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } - case "OntapConfiguration": if err := awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(&sv.OntapConfiguration, value); err != nil { return err } - case "OpenZFSConfiguration": if err := awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(&sv.OpenZFSConfiguration, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10014,7 +9745,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.OwnerId = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -10023,7 +9753,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.ResourceARN = ptr.String(jtv) } - case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -10036,7 +9765,6 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -10045,17 +9773,14 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.StorageType = types.StorageType(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -10064,12 +9789,10 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.VpcId = ptr.String(jtv) } - case "WindowsConfiguration": if err := awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(&sv.WindowsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10109,12 +9832,10 @@ func awsAwsjson11_deserializeDocumentFileSystemEndpoint(v **types.FileSystemEndp } sv.DNSName = ptr.String(jtv) } - case "IpAddresses": if err := awsAwsjson11_deserializeDocumentOntapEndpointIpAddresses(&sv.IpAddresses, value); err != nil { return err } - default: _, _ = key, value @@ -10150,12 +9871,10 @@ func awsAwsjson11_deserializeDocumentFileSystemEndpoints(v **types.FileSystemEnd if err := awsAwsjson11_deserializeDocumentFileSystemEndpoint(&sv.Intercluster, value); err != nil { return err } - case "Management": if err := awsAwsjson11_deserializeDocumentFileSystemEndpoint(&sv.Management, value); err != nil { return err } - default: _, _ = key, value @@ -10195,7 +9914,6 @@ func awsAwsjson11_deserializeDocumentFileSystemFailureDetails(v **types.FileSyst } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10239,7 +9957,6 @@ func awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(v **t } sv.Iops = ptr.Int32(int32(i64)) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -10248,7 +9965,6 @@ func awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(v **t } sv.Mode = types.MetadataConfigurationMode(jtv) } - default: _, _ = key, value @@ -10314,15 +10030,9 @@ func awsAwsjson11_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10330,15 +10040,11 @@ func awsAwsjson11_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10397,15 +10103,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10413,7 +10113,6 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp } sv.Message = ptr.String(jtv) } - case "Parameter": if value != nil { jtv, ok := value.(string) @@ -10422,15 +10121,11 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp } sv.Parameter = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10455,15 +10150,9 @@ func awsAwsjson11_deserializeDocumentIncompatibleRegionForMultiAZ(v **types.Inco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10471,15 +10160,11 @@ func awsAwsjson11_deserializeDocumentIncompatibleRegionForMultiAZ(v **types.Inco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10504,15 +10189,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10520,15 +10199,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10553,15 +10228,9 @@ func awsAwsjson11_deserializeDocumentInvalidDataRepositoryType(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10569,15 +10238,11 @@ func awsAwsjson11_deserializeDocumentInvalidDataRepositoryType(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10602,15 +10267,9 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationKmsKey(v **types.InvalidD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10618,15 +10277,11 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationKmsKey(v **types.InvalidD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10651,15 +10306,9 @@ func awsAwsjson11_deserializeDocumentInvalidExportPath(v **types.InvalidExportPa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10667,15 +10316,11 @@ func awsAwsjson11_deserializeDocumentInvalidExportPath(v **types.InvalidExportPa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10700,15 +10345,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportPath(v **types.InvalidImportPa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10716,15 +10355,11 @@ func awsAwsjson11_deserializeDocumentInvalidImportPath(v **types.InvalidImportPa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10749,13 +10384,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "InvalidRouteTableId": if value != nil { @@ -10765,7 +10394,6 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidRouteTableId = ptr.String(jtv) } - case "InvalidSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -10774,7 +10402,6 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidSecurityGroupId = ptr.String(jtv) } - case "InvalidSubnetId": if value != nil { jtv, ok := value.(string) @@ -10783,8 +10410,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidSubnetId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10792,15 +10418,11 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10825,15 +10447,9 @@ func awsAwsjson11_deserializeDocumentInvalidPerUnitStorageThroughput(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10841,15 +10457,11 @@ func awsAwsjson11_deserializeDocumentInvalidPerUnitStorageThroughput(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10874,15 +10486,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegion(v **types.InvalidRegion, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10890,15 +10496,11 @@ func awsAwsjson11_deserializeDocumentInvalidRegion(v **types.InvalidRegion, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10923,15 +10525,9 @@ func awsAwsjson11_deserializeDocumentInvalidSourceKmsKey(v **types.InvalidSource sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10939,15 +10535,11 @@ func awsAwsjson11_deserializeDocumentInvalidSourceKmsKey(v **types.InvalidSource } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10982,7 +10574,6 @@ func awsAwsjson11_deserializeDocumentLifecycleTransitionReason(v **types.Lifecyc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -11026,7 +10617,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } - case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -11035,7 +10625,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.CopyTagsToBackups = ptr.Bool(jtv) } - case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -11044,7 +10633,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } - case "DataCompressionType": if value != nil { jtv, ok := value.(string) @@ -11053,12 +10641,10 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DataCompressionType = types.DataCompressionType(jtv) } - case "DataRepositoryConfiguration": if err := awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(&sv.DataRepositoryConfiguration, value); err != nil { return err } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -11067,7 +10653,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DeploymentType = types.LustreDeploymentType(jtv) } - case "DriveCacheType": if value != nil { jtv, ok := value.(string) @@ -11076,17 +10661,14 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DriveCacheType = types.DriveCacheType(jtv) } - case "LogConfiguration": if err := awsAwsjson11_deserializeDocumentLustreLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "MetadataConfiguration": if err := awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(&sv.MetadataConfiguration, value); err != nil { return err } - case "MountName": if value != nil { jtv, ok := value.(string) @@ -11095,7 +10677,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.MountName = ptr.String(jtv) } - case "PerUnitStorageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -11108,12 +10689,10 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.PerUnitStorageThroughput = ptr.Int32(int32(i64)) } - case "RootSquashConfiguration": if err := awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(&sv.RootSquashConfiguration, value); err != nil { return err } - case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -11122,7 +10701,6 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -11162,7 +10740,6 @@ func awsAwsjson11_deserializeDocumentLustreLogConfiguration(v **types.LustreLogC } sv.Destination = ptr.String(jtv) } - case "Level": if value != nil { jtv, ok := value.(string) @@ -11171,7 +10748,6 @@ func awsAwsjson11_deserializeDocumentLustreLogConfiguration(v **types.LustreLogC } sv.Level = types.LustreAccessAuditLogLevel(jtv) } - default: _, _ = key, value @@ -11243,7 +10819,6 @@ func awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(v **types.Lus if err := awsAwsjson11_deserializeDocumentLustreNoSquashNids(&sv.NoSquashNids, value); err != nil { return err } - case "RootSquash": if value != nil { jtv, ok := value.(string) @@ -11252,7 +10827,6 @@ func awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(v **types.Lus } sv.RootSquash = ptr.String(jtv) } - default: _, _ = key, value @@ -11282,15 +10856,9 @@ func awsAwsjson11_deserializeDocumentMissingFileCacheConfiguration(v **types.Mis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11298,15 +10866,11 @@ func awsAwsjson11_deserializeDocumentMissingFileCacheConfiguration(v **types.Mis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11331,15 +10895,9 @@ func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.Mi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11347,15 +10905,11 @@ func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.Mi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11380,15 +10934,9 @@ func awsAwsjson11_deserializeDocumentMissingVolumeConfiguration(v **types.Missin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11396,15 +10944,11 @@ func awsAwsjson11_deserializeDocumentMissingVolumeConfiguration(v **types.Missin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11471,12 +11015,10 @@ func awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(v **types.NF if err := awsAwsjson11_deserializeDocumentAutoExportPolicy(&sv.AutoExportPolicy, value); err != nil { return err } - case "DnsIps": if err := awsAwsjson11_deserializeDocumentRepositoryDnsIps(&sv.DnsIps, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11485,7 +11027,6 @@ func awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(v **types.NF } sv.Version = types.NfsVersion(jtv) } - default: _, _ = key, value @@ -11515,15 +11056,9 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11531,7 +11066,6 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic } sv.Message = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -11540,15 +11074,11 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11623,7 +11153,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } - case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -11632,7 +11161,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -11641,12 +11169,10 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.DeploymentType = types.OntapDeploymentType(jtv) } - case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } - case "EndpointIpAddressRange": if value != nil { jtv, ok := value.(string) @@ -11655,12 +11181,10 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.EndpointIpAddressRange = ptr.String(jtv) } - case "Endpoints": if err := awsAwsjson11_deserializeDocumentFileSystemEndpoints(&sv.Endpoints, value); err != nil { return err } - case "FsxAdminPassword": if value != nil { jtv, ok := value.(string) @@ -11669,7 +11193,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.FsxAdminPassword = ptr.String(jtv) } - case "HAPairs": if value != nil { jtv, ok := value.(json.Number) @@ -11682,7 +11205,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.HAPairs = ptr.Int32(int32(i64)) } - case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -11691,12 +11213,10 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.PreferredSubnetId = ptr.String(jtv) } - case "RouteTableIds": if err := awsAwsjson11_deserializeDocumentRouteTableIds(&sv.RouteTableIds, value); err != nil { return err } - case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11709,7 +11229,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } - case "ThroughputCapacityPerHAPair": if value != nil { jtv, ok := value.(json.Number) @@ -11722,7 +11241,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.ThroughputCapacityPerHAPair = ptr.Int32(int32(i64)) } - case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -11731,7 +11249,6 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -11767,7 +11284,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol if err := awsAwsjson11_deserializeDocumentAggregateConfiguration(&sv.AggregateConfiguration, value); err != nil { return err } - case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -11776,7 +11292,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.CopyTagsToBackups = ptr.Bool(jtv) } - case "FlexCacheEndpointType": if value != nil { jtv, ok := value.(string) @@ -11785,7 +11300,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.FlexCacheEndpointType = types.FlexCacheEndpointType(jtv) } - case "JunctionPath": if value != nil { jtv, ok := value.(string) @@ -11794,7 +11308,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.JunctionPath = ptr.String(jtv) } - case "OntapVolumeType": if value != nil { jtv, ok := value.(string) @@ -11803,7 +11316,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.OntapVolumeType = types.OntapVolumeType(jtv) } - case "SecurityStyle": if value != nil { jtv, ok := value.(string) @@ -11812,7 +11324,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SecurityStyle = types.SecurityStyle(jtv) } - case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11825,7 +11336,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SizeInBytes = ptr.Int64(i64) } - case "SizeInMegabytes": if value != nil { jtv, ok := value.(json.Number) @@ -11838,12 +11348,10 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SizeInMegabytes = ptr.Int32(int32(i64)) } - case "SnaplockConfiguration": if err := awsAwsjson11_deserializeDocumentSnaplockConfiguration(&sv.SnaplockConfiguration, value); err != nil { return err } - case "SnapshotPolicy": if value != nil { jtv, ok := value.(string) @@ -11852,7 +11360,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SnapshotPolicy = ptr.String(jtv) } - case "StorageEfficiencyEnabled": if value != nil { jtv, ok := value.(bool) @@ -11861,7 +11368,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageEfficiencyEnabled = ptr.Bool(jtv) } - case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -11870,7 +11376,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageVirtualMachineId = ptr.String(jtv) } - case "StorageVirtualMachineRoot": if value != nil { jtv, ok := value.(bool) @@ -11879,12 +11384,10 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageVirtualMachineRoot = ptr.Bool(jtv) } - case "TieringPolicy": if err := awsAwsjson11_deserializeDocumentTieringPolicy(&sv.TieringPolicy, value); err != nil { return err } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -11893,7 +11396,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.UUID = ptr.String(jtv) } - case "VolumeStyle": if value != nil { jtv, ok := value.(string) @@ -11902,7 +11404,6 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.VolumeStyle = types.VolumeStyle(jtv) } - default: _, _ = key, value @@ -11942,12 +11443,10 @@ func awsAwsjson11_deserializeDocumentOpenZFSClientConfiguration(v **types.OpenZF } sv.Clients = ptr.String(jtv) } - case "Options": if err := awsAwsjson11_deserializeDocumentOpenZFSNfsExportOptions(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -12025,7 +11524,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } - case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -12034,7 +11532,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.CopyTagsToBackups = ptr.Bool(jtv) } - case "CopyTagsToVolumes": if value != nil { jtv, ok := value.(bool) @@ -12043,7 +11540,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.CopyTagsToVolumes = ptr.Bool(jtv) } - case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -12052,7 +11548,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -12061,12 +11556,10 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.DeploymentType = types.OpenZFSDeploymentType(jtv) } - case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } - case "EndpointIpAddress": if value != nil { jtv, ok := value.(string) @@ -12075,7 +11568,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.EndpointIpAddress = ptr.String(jtv) } - case "EndpointIpAddressRange": if value != nil { jtv, ok := value.(string) @@ -12084,7 +11576,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.EndpointIpAddressRange = ptr.String(jtv) } - case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -12093,7 +11584,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.PreferredSubnetId = ptr.String(jtv) } - case "RootVolumeId": if value != nil { jtv, ok := value.(string) @@ -12102,12 +11592,10 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.RootVolumeId = ptr.String(jtv) } - case "RouteTableIds": if err := awsAwsjson11_deserializeDocumentRouteTableIds(&sv.RouteTableIds, value); err != nil { return err } - case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -12120,7 +11608,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } - case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -12129,7 +11616,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -12165,7 +11651,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSNfsExport(v **types.OpenZFSNfsExport if err := awsAwsjson11_deserializeDocumentOpenZFSClientConfigurations(&sv.ClientConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -12275,7 +11760,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(v **type } sv.CopyStrategy = types.OpenZFSCopyStrategy(jtv) } - case "SnapshotARN": if value != nil { jtv, ok := value.(string) @@ -12284,7 +11768,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(v **type } sv.SnapshotARN = ptr.String(jtv) } - default: _, _ = key, value @@ -12362,7 +11845,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.Id = ptr.Int32(int32(i64)) } - case "StorageCapacityQuotaGiB": if value != nil { jtv, ok := value.(json.Number) @@ -12375,7 +11857,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.StorageCapacityQuotaGiB = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12384,7 +11865,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.Type = types.OpenZFSQuotaType(jtv) } - default: _, _ = key, value @@ -12424,7 +11904,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.CopyStrategy = types.OpenZFSCopyStrategy(jtv) } - case "CopyTagsToSnapshots": if value != nil { jtv, ok := value.(bool) @@ -12433,7 +11912,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.CopyTagsToSnapshots = ptr.Bool(jtv) } - case "DataCompressionType": if value != nil { jtv, ok := value.(string) @@ -12442,7 +11920,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DataCompressionType = types.OpenZFSDataCompressionType(jtv) } - case "DeleteClonedVolumes": if value != nil { jtv, ok := value.(bool) @@ -12451,7 +11928,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteClonedVolumes = ptr.Bool(jtv) } - case "DeleteIntermediateData": if value != nil { jtv, ok := value.(bool) @@ -12460,7 +11936,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteIntermediateData = ptr.Bool(jtv) } - case "DeleteIntermediateSnaphots": if value != nil { jtv, ok := value.(bool) @@ -12469,7 +11944,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteIntermediateSnaphots = ptr.Bool(jtv) } - case "DestinationSnapshot": if value != nil { jtv, ok := value.(string) @@ -12478,17 +11952,14 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DestinationSnapshot = ptr.String(jtv) } - case "NfsExports": if err := awsAwsjson11_deserializeDocumentOpenZFSNfsExports(&sv.NfsExports, value); err != nil { return err } - case "OriginSnapshot": if err := awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(&sv.OriginSnapshot, value); err != nil { return err } - case "ParentVolumeId": if value != nil { jtv, ok := value.(string) @@ -12497,7 +11968,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.ParentVolumeId = ptr.String(jtv) } - case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -12506,7 +11976,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.ReadOnly = ptr.Bool(jtv) } - case "RecordSizeKiB": if value != nil { jtv, ok := value.(json.Number) @@ -12519,7 +11988,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.RecordSizeKiB = ptr.Int32(int32(i64)) } - case "RestoreToSnapshot": if value != nil { jtv, ok := value.(string) @@ -12528,7 +11996,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.RestoreToSnapshot = ptr.String(jtv) } - case "SourceSnapshotARN": if value != nil { jtv, ok := value.(string) @@ -12537,7 +12004,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.SourceSnapshotARN = ptr.String(jtv) } - case "StorageCapacityQuotaGiB": if value != nil { jtv, ok := value.(json.Number) @@ -12550,7 +12016,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.StorageCapacityQuotaGiB = ptr.Int32(int32(i64)) } - case "StorageCapacityReservationGiB": if value != nil { jtv, ok := value.(json.Number) @@ -12563,12 +12028,10 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.StorageCapacityReservationGiB = ptr.Int32(int32(i64)) } - case "UserAndGroupQuotas": if err := awsAwsjson11_deserializeDocumentOpenZFSUserAndGroupQuotas(&sv.UserAndGroupQuotas, value); err != nil { return err } - case "VolumePath": if value != nil { jtv, ok := value.(string) @@ -12577,7 +12040,6 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.VolumePath = ptr.String(jtv) } - default: _, _ = key, value @@ -12613,7 +12075,6 @@ func awsAwsjson11_deserializeDocumentReleaseConfiguration(v **types.ReleaseConfi if err := awsAwsjson11_deserializeDocumentDurationSinceLastAccess(&sv.DurationSinceLastAccess, value); err != nil { return err } - default: _, _ = key, value @@ -12679,15 +12140,9 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12695,7 +12150,6 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res } sv.Message = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12704,15 +12158,11 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12737,15 +12187,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12753,7 +12197,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12762,15 +12205,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12805,7 +12244,6 @@ func awsAwsjson11_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Type = types.RetentionPeriodType(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -12818,7 +12256,6 @@ func awsAwsjson11_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12890,12 +12327,10 @@ func awsAwsjson11_deserializeDocumentS3DataRepositoryConfiguration(v **types.S3D if err := awsAwsjson11_deserializeDocumentAutoExportPolicy(&sv.AutoExportPolicy, value); err != nil { return err } - case "AutoImportPolicy": if err := awsAwsjson11_deserializeDocumentAutoImportPolicy(&sv.AutoImportPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -12931,7 +12366,6 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty if err := awsAwsjson11_deserializeDocumentDnsIps(&sv.DnsIps, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12940,7 +12374,6 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.DomainName = ptr.String(jtv) } - case "FileSystemAdministratorsGroup": if value != nil { jtv, ok := value.(string) @@ -12949,7 +12382,6 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.FileSystemAdministratorsGroup = ptr.String(jtv) } - case "OrganizationalUnitDistinguishedName": if value != nil { jtv, ok := value.(string) @@ -12958,7 +12390,6 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.OrganizationalUnitDistinguishedName = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -12967,7 +12398,6 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -12997,13 +12427,7 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Limit": if value != nil { @@ -13013,8 +12437,7 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit } sv.Limit = types.ServiceLimit(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13022,15 +12445,11 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13065,12 +12484,10 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.AuditLogVolume = ptr.Bool(jtv) } - case "AutocommitPeriod": if err := awsAwsjson11_deserializeDocumentAutocommitPeriod(&sv.AutocommitPeriod, value); err != nil { return err } - case "PrivilegedDelete": if value != nil { jtv, ok := value.(string) @@ -13079,12 +12496,10 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.PrivilegedDelete = types.PrivilegedDelete(jtv) } - case "RetentionPeriod": if err := awsAwsjson11_deserializeDocumentSnaplockRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "SnaplockType": if value != nil { jtv, ok := value.(string) @@ -13093,7 +12508,6 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.SnaplockType = types.SnaplockType(jtv) } - case "VolumeAppendModeEnabled": if value != nil { jtv, ok := value.(bool) @@ -13102,7 +12516,6 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.VolumeAppendModeEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13138,17 +12551,14 @@ func awsAwsjson11_deserializeDocumentSnaplockRetentionPeriod(v **types.SnaplockR if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.DefaultRetention, value); err != nil { return err } - case "MaximumRetention": if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.MaximumRetention, value); err != nil { return err } - case "MinimumRetention": if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.MinimumRetention, value); err != nil { return err } - default: _, _ = key, value @@ -13184,7 +12594,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13200,7 +12609,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -13209,12 +12617,10 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Lifecycle = types.SnapshotLifecycle(jtv) } - case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13223,7 +12629,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -13232,7 +12637,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ResourceARN = ptr.String(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -13241,12 +12645,10 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -13255,7 +12657,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -13285,15 +12686,9 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFound(v **types.SnapshotNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13301,15 +12696,11 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFound(v **types.SnapshotNotFound } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13368,13 +12759,7 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "BackupId": if value != nil { @@ -13384,8 +12769,7 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac } sv.BackupId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13393,15 +12777,11 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13432,7 +12812,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt if err := awsAwsjson11_deserializeDocumentSvmActiveDirectoryConfiguration(&sv.ActiveDirectoryConfiguration, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13448,12 +12827,10 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } } - case "Endpoints": if err := awsAwsjson11_deserializeDocumentSvmEndpoints(&sv.Endpoints, value); err != nil { return err } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -13462,7 +12839,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.FileSystemId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -13471,12 +12847,10 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Lifecycle = types.StorageVirtualMachineLifecycle(jtv) } - case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13485,7 +12859,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Name = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -13494,7 +12867,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.ResourceARN = ptr.String(jtv) } - case "RootVolumeSecurityStyle": if value != nil { jtv, ok := value.(string) @@ -13503,7 +12875,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.RootVolumeSecurityStyle = types.StorageVirtualMachineRootVolumeSecurityStyle(jtv) } - case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -13512,7 +12883,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.StorageVirtualMachineId = ptr.String(jtv) } - case "Subtype": if value != nil { jtv, ok := value.(string) @@ -13521,12 +12891,10 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Subtype = types.StorageVirtualMachineSubtype(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -13535,7 +12903,6 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -13565,15 +12932,9 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachineNotFound(v **types.Sto sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13581,15 +12942,11 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachineNotFound(v **types.Sto } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13730,12 +13087,10 @@ func awsAwsjson11_deserializeDocumentSvmActiveDirectoryConfiguration(v **types.S } sv.NetBiosName = ptr.String(jtv) } - case "SelfManagedActiveDirectoryConfiguration": if err := awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(&sv.SelfManagedActiveDirectoryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13775,12 +13130,10 @@ func awsAwsjson11_deserializeDocumentSvmEndpoint(v **types.SvmEndpoint, value in } sv.DNSName = ptr.String(jtv) } - case "IpAddresses": if err := awsAwsjson11_deserializeDocumentOntapEndpointIpAddresses(&sv.IpAddresses, value); err != nil { return err } - default: _, _ = key, value @@ -13816,22 +13169,18 @@ func awsAwsjson11_deserializeDocumentSvmEndpoints(v **types.SvmEndpoints, value if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Iscsi, value); err != nil { return err } - case "Management": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Management, value); err != nil { return err } - case "Nfs": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Nfs, value); err != nil { return err } - case "Smb": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Smb, value); err != nil { return err } - default: _, _ = key, value @@ -13871,7 +13220,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -13880,7 +13228,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13958,7 +13305,6 @@ func awsAwsjson11_deserializeDocumentTieringPolicy(v **types.TieringPolicy, valu } sv.CoolingPeriod = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13967,7 +13313,6 @@ func awsAwsjson11_deserializeDocumentTieringPolicy(v **types.TieringPolicy, valu } sv.Name = types.TieringPolicyName(jtv) } - default: _, _ = key, value @@ -13997,15 +13342,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14013,15 +13352,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14052,7 +13387,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14068,7 +13402,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -14077,7 +13410,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.FileSystemId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14086,12 +13418,10 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Lifecycle = types.VolumeLifecycle(jtv) } - case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14100,17 +13430,14 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } - case "OntapConfiguration": if err := awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(&sv.OntapConfiguration, value); err != nil { return err } - case "OpenZFSConfiguration": if err := awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(&sv.OpenZFSConfiguration, value); err != nil { return err } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -14119,12 +13446,10 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.ResourceARN = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -14133,7 +13458,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeId = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -14142,7 +13466,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -14172,15 +13495,9 @@ func awsAwsjson11_deserializeDocumentVolumeNotFound(v **types.VolumeNotFound, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14188,15 +13505,11 @@ func awsAwsjson11_deserializeDocumentVolumeNotFound(v **types.VolumeNotFound, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14265,7 +13578,6 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.AuditLogDestination = ptr.String(jtv) } - case "FileAccessAuditLogLevel": if value != nil { jtv, ok := value.(string) @@ -14274,7 +13586,6 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.FileAccessAuditLogLevel = types.WindowsAccessAuditLogLevel(jtv) } - case "FileShareAccessAuditLogLevel": if value != nil { jtv, ok := value.(string) @@ -14283,7 +13594,6 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.FileShareAccessAuditLogLevel = types.WindowsAccessAuditLogLevel(jtv) } - default: _, _ = key, value @@ -14323,17 +13633,14 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.ActiveDirectoryId = ptr.String(jtv) } - case "Aliases": if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - case "AuditLogConfiguration": if err := awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(&sv.AuditLogConfiguration, value); err != nil { return err } - case "AutomaticBackupRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -14346,7 +13653,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } - case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -14355,7 +13661,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.CopyTagsToBackups = ptr.Bool(jtv) } - case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -14364,7 +13669,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -14373,17 +13677,14 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.DeploymentType = types.WindowsDeploymentType(jtv) } - case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } - case "MaintenanceOperationsInProgress": if err := awsAwsjson11_deserializeDocumentFileSystemMaintenanceOperations(&sv.MaintenanceOperationsInProgress, value); err != nil { return err } - case "PreferredFileServerIp": if value != nil { jtv, ok := value.(string) @@ -14392,7 +13693,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.PreferredFileServerIp = ptr.String(jtv) } - case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -14401,7 +13701,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.PreferredSubnetId = ptr.String(jtv) } - case "RemoteAdministrationEndpoint": if value != nil { jtv, ok := value.(string) @@ -14410,12 +13709,10 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.RemoteAdministrationEndpoint = ptr.String(jtv) } - case "SelfManagedActiveDirectoryConfiguration": if err := awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(&sv.SelfManagedActiveDirectoryConfiguration, value); err != nil { return err } - case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -14428,7 +13725,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } - case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -14437,7 +13733,6 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -14473,7 +13768,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateFileSystemAliasesOutput(v **Asso if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - default: _, _ = key, value @@ -14513,7 +13807,6 @@ func awsAwsjson11_deserializeOpDocumentCancelDataRepositoryTaskOutput(v **Cancel } sv.Lifecycle = types.DataRepositoryTaskLifecycle(jtv) } - case "TaskId": if value != nil { jtv, ok := value.(string) @@ -14522,7 +13815,6 @@ func awsAwsjson11_deserializeOpDocumentCancelDataRepositoryTaskOutput(v **Cancel } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -14558,7 +13850,6 @@ func awsAwsjson11_deserializeOpDocumentCopyBackupOutput(v **CopyBackupOutput, va if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value @@ -14594,7 +13885,6 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14603,7 +13893,6 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop } sv.Lifecycle = types.VolumeLifecycle(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -14612,7 +13901,6 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -14648,7 +13936,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value @@ -14684,7 +13971,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataRepositoryAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -14720,7 +14006,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataRepositoryTaskOutput(v **Create if err := awsAwsjson11_deserializeDocumentDataRepositoryTask(&sv.DataRepositoryTask, value); err != nil { return err } - default: _, _ = key, value @@ -14756,7 +14041,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFileCacheOutput(v **CreateFileCache if err := awsAwsjson11_deserializeDocumentFileCacheCreating(&sv.FileCache, value); err != nil { return err } - default: _, _ = key, value @@ -14792,7 +14076,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFileSystemFromBackupOutput(v **Crea if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - default: _, _ = key, value @@ -14828,7 +14111,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - default: _, _ = key, value @@ -14864,7 +14146,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -14900,7 +14181,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStorageVirtualMachineOutput(v **Cre if err := awsAwsjson11_deserializeDocumentStorageVirtualMachine(&sv.StorageVirtualMachine, value); err != nil { return err } - default: _, _ = key, value @@ -14936,7 +14216,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVolumeFromBackupOutput(v **CreateVo if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } - default: _, _ = key, value @@ -14972,7 +14251,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } - default: _, _ = key, value @@ -15012,7 +14290,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput } sv.BackupId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15021,7 +14298,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput } sv.Lifecycle = types.BackupLifecycle(jtv) } - default: _, _ = key, value @@ -15061,7 +14337,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.AssociationId = ptr.String(jtv) } - case "DeleteDataInFileSystem": if value != nil { jtv, ok := value.(bool) @@ -15070,7 +14345,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.DeleteDataInFileSystem = ptr.Bool(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15079,7 +14353,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } - default: _, _ = key, value @@ -15119,7 +14392,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileCacheOutput(v **DeleteFileCache } sv.FileCacheId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15128,7 +14400,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileCacheOutput(v **DeleteFileCache } sv.Lifecycle = types.FileCacheLifecycle(jtv) } - default: _, _ = key, value @@ -15168,7 +14439,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileSystemOutput(v **DeleteFileSyst } sv.FileSystemId = ptr.String(jtv) } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15177,22 +14447,18 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileSystemOutput(v **DeleteFileSyst } sv.Lifecycle = types.FileSystemLifecycle(jtv) } - case "LustreResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemLustreResponse(&sv.LustreResponse, value); err != nil { return err } - case "OpenZFSResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemOpenZFSResponse(&sv.OpenZFSResponse, value); err != nil { return err } - case "WindowsResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemWindowsResponse(&sv.WindowsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -15232,7 +14498,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.Lifecycle = types.SnapshotLifecycle(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -15241,7 +14506,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.SnapshotId = ptr.String(jtv) } - default: _, _ = key, value @@ -15281,7 +14545,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteStorageVirtualMachineOutput(v **Del } sv.Lifecycle = types.StorageVirtualMachineLifecycle(jtv) } - case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -15290,7 +14553,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteStorageVirtualMachineOutput(v **Del } sv.StorageVirtualMachineId = ptr.String(jtv) } - default: _, _ = key, value @@ -15330,12 +14592,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.Lifecycle = types.VolumeLifecycle(jtv) } - case "OntapResponse": if err := awsAwsjson11_deserializeDocumentDeleteVolumeOntapResponse(&sv.OntapResponse, value); err != nil { return err } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -15344,7 +14604,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -15380,7 +14639,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15389,7 +14647,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15425,7 +14682,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryAssociationsOutput( if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociations(&sv.Associations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15434,7 +14690,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryAssociationsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15470,7 +14725,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryTasksOutput(v **Des if err := awsAwsjson11_deserializeDocumentDataRepositoryTasks(&sv.DataRepositoryTasks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15479,7 +14733,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryTasksOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15515,7 +14768,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileCachesOutput(v **DescribeFile if err := awsAwsjson11_deserializeDocumentFileCaches(&sv.FileCaches, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15524,7 +14776,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileCachesOutput(v **DescribeFile } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15560,7 +14811,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAliasesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15569,7 +14819,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAliasesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15605,7 +14854,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil if err := awsAwsjson11_deserializeDocumentFileSystems(&sv.FileSystems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15614,7 +14862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15654,7 +14901,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSharedVpcConfigurationOutput(v ** } sv.EnableFsxRouteTableUpdatesFromParticipantAccounts = ptr.String(jtv) } - default: _, _ = key, value @@ -15694,12 +14940,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } - case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshots(&sv.Snapshots, value); err != nil { return err } - default: _, _ = key, value @@ -15739,12 +14983,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageVirtualMachinesOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "StorageVirtualMachines": if err := awsAwsjson11_deserializeDocumentStorageVirtualMachines(&sv.StorageVirtualMachines, value); err != nil { return err } - default: _, _ = key, value @@ -15784,12 +15026,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeVolumesOutput(v **DescribeVolumes } sv.NextToken = ptr.String(jtv) } - case "Volumes": if err := awsAwsjson11_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -15825,7 +15065,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFileSystemAliasesOutput(v **D if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - default: _, _ = key, value @@ -15865,12 +15104,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15906,7 +15143,6 @@ func awsAwsjson11_deserializeOpDocumentReleaseFileSystemNfsV3LocksOutput(v **Rel if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - default: _, _ = key, value @@ -15942,7 +15178,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } - case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15951,7 +15186,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto } sv.Lifecycle = types.VolumeLifecycle(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -15960,7 +15194,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -15996,7 +15229,6 @@ func awsAwsjson11_deserializeOpDocumentStartMisconfiguredStateRecoveryOutput(v * if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - default: _, _ = key, value @@ -16094,7 +15326,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataRepositoryAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -16130,7 +15361,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileCacheOutput(v **UpdateFileCache if err := awsAwsjson11_deserializeDocumentFileCache(&sv.FileCache, value); err != nil { return err } - default: _, _ = key, value @@ -16166,7 +15396,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } - default: _, _ = key, value @@ -16206,7 +15435,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSharedVpcConfigurationOutput(v **Up } sv.EnableFsxRouteTableUpdatesFromParticipantAccounts = ptr.String(jtv) } - default: _, _ = key, value @@ -16242,7 +15470,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(v **UpdateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -16278,7 +15505,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateStorageVirtualMachineOutput(v **Upd if err := awsAwsjson11_deserializeDocumentStorageVirtualMachine(&sv.StorageVirtualMachine, value); err != nil { return err } - default: _, _ = key, value @@ -16314,7 +15540,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVolumeOutput(v **UpdateVolumeOutput if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index f7d585c6d8d..3381f768f2d 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -13646,7 +13646,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasArn = ptr.String(jtv) } - case "AliasId": if value != nil { jtv, ok := value.(string) @@ -13655,7 +13654,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasId = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13671,7 +13669,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13680,7 +13677,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Description = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13696,7 +13692,6 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13705,12 +13700,10 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } - case "RoutingStrategy": if err := awsAwsjson11_deserializeDocumentRoutingStrategy(&sv.RoutingStrategy, value); err != nil { return err } - default: _, _ = key, value @@ -13784,7 +13777,6 @@ func awsAwsjson11_deserializeDocumentAnywhereConfiguration(v **types.AnywhereCon } sv.Cost = ptr.String(jtv) } - default: _, _ = key, value @@ -13849,7 +13841,6 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } } - case "S": if value != nil { jtv, ok := value.(string) @@ -13858,17 +13849,14 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.S = ptr.String(jtv) } - case "SDM": if err := awsAwsjson11_deserializeDocumentPlayerAttributeStringDoubleMap(&sv.SDM, value); err != nil { return err } - case "SL": if err := awsAwsjson11_deserializeDocumentPlayerAttributeStringList(&sv.SL, value); err != nil { return err } - default: _, _ = key, value @@ -13908,7 +13896,6 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } - case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -13917,7 +13904,6 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } - case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -13926,7 +13912,6 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13966,7 +13951,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildArn = ptr.String(jtv) } - case "BuildId": if value != nil { jtv, ok := value.(string) @@ -13975,7 +13959,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildId = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13991,7 +13974,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14000,7 +13982,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -14009,7 +13990,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "ServerSdkVersion": if value != nil { jtv, ok := value.(string) @@ -14018,7 +13998,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ServerSdkVersion = ptr.String(jtv) } - case "SizeOnDisk": if value != nil { jtv, ok := value.(json.Number) @@ -14031,7 +14010,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.SizeOnDisk = ptr.Int64(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14040,7 +14018,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Status = types.BuildStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -14049,7 +14026,6 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14123,7 +14099,6 @@ func awsAwsjson11_deserializeDocumentCertificateConfiguration(v **types.Certific } sv.CertificateType = types.CertificateType(jtv) } - default: _, _ = key, value @@ -14163,7 +14138,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeArn = ptr.String(jtv) } - case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -14172,7 +14146,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeName = ptr.String(jtv) } - case "ComputeStatus": if value != nil { jtv, ok := value.(string) @@ -14181,12 +14154,10 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeStatus = types.ComputeStatus(jtv) } - case "ContainerAttributes": if err := awsAwsjson11_deserializeDocumentContainerAttributes(&sv.ContainerAttributes, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14202,7 +14173,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -14211,7 +14181,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.DnsName = ptr.String(jtv) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -14220,7 +14189,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -14229,7 +14197,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.FleetId = ptr.String(jtv) } - case "GameLiftAgentEndpoint": if value != nil { jtv, ok := value.(string) @@ -14238,7 +14205,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GameLiftAgentEndpoint = ptr.String(jtv) } - case "GameLiftServiceSdkEndpoint": if value != nil { jtv, ok := value.(string) @@ -14247,7 +14213,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GameLiftServiceSdkEndpoint = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -14256,7 +14221,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.InstanceId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -14265,7 +14229,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.IpAddress = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -14274,7 +14237,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.Location = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -14283,7 +14245,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14292,7 +14253,6 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.Type = types.EC2InstanceType(jtv) } - default: _, _ = key, value @@ -14356,15 +14316,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14372,15 +14326,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14419,7 +14369,6 @@ func awsAwsjson11_deserializeDocumentConnectionPortRange(v **types.ConnectionPor } sv.FromPort = ptr.Int32(int32(i64)) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -14432,7 +14381,6 @@ func awsAwsjson11_deserializeDocumentConnectionPortRange(v **types.ConnectionPor } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14468,7 +14416,6 @@ func awsAwsjson11_deserializeDocumentContainerAttributes(v **types.ContainerAttr if err := awsAwsjson11_deserializeDocumentContainerPortMappingList(&sv.ContainerPortMappings, value); err != nil { return err } - default: _, _ = key, value @@ -14540,7 +14487,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentContainerCommandStringList(&sv.Command, value); err != nil { return err } - case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -14549,7 +14495,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ContainerName = ptr.String(jtv) } - case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -14562,22 +14507,18 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Cpu = ptr.Int32(int32(i64)) } - case "DependsOn": if err := awsAwsjson11_deserializeDocumentContainerDependencyList(&sv.DependsOn, value); err != nil { return err } - case "EntryPoint": if err := awsAwsjson11_deserializeDocumentContainerEntryPointList(&sv.EntryPoint, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentContainerEnvironmentList(&sv.Environment, value); err != nil { return err } - case "Essential": if value != nil { jtv, ok := value.(bool) @@ -14586,12 +14527,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Essential = ptr.Bool(jtv) } - case "HealthCheck": if err := awsAwsjson11_deserializeDocumentContainerHealthCheck(&sv.HealthCheck, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -14600,17 +14539,14 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ImageUri = ptr.String(jtv) } - case "MemoryLimits": if err := awsAwsjson11_deserializeDocumentContainerMemoryLimits(&sv.MemoryLimits, value); err != nil { return err } - case "PortConfiguration": if err := awsAwsjson11_deserializeDocumentContainerPortConfiguration(&sv.PortConfiguration, value); err != nil { return err } - case "ResolvedImageDigest": if value != nil { jtv, ok := value.(string) @@ -14619,7 +14555,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ResolvedImageDigest = ptr.String(jtv) } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -14628,7 +14563,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -14702,7 +14636,6 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.Condition = types.ContainerDependencyCondition(jtv) } - case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -14711,7 +14644,6 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.ContainerName = ptr.String(jtv) } - default: _, _ = key, value @@ -14821,7 +14753,6 @@ func awsAwsjson11_deserializeDocumentContainerEnvironment(v **types.ContainerEnv } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14830,7 +14761,6 @@ func awsAwsjson11_deserializeDocumentContainerEnvironment(v **types.ContainerEnv } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14900,7 +14830,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.ContainerDefinitions, value); err != nil { return err } - case "ContainerGroupDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -14909,7 +14838,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.ContainerGroupDefinitionArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14925,7 +14853,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14934,7 +14861,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -14943,7 +14869,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.OperatingSystem = types.ContainerOperatingSystem(jtv) } - case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -14952,7 +14877,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.SchedulingStrategy = types.ContainerSchedulingStrategy(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14961,7 +14885,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.Status = types.ContainerGroupDefinitionStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -14970,7 +14893,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.StatusReason = ptr.String(jtv) } - case "TotalCpuLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14983,7 +14905,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.TotalCpuLimit = ptr.Int32(int32(i64)) } - case "TotalMemoryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14996,7 +14917,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.TotalMemoryLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15104,7 +15024,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinitionProperty(v **types. } sv.ContainerGroupDefinitionName = ptr.String(jtv) } - case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -15113,7 +15032,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinitionProperty(v **types. } sv.SchedulingStrategy = types.ContainerSchedulingStrategy(jtv) } - default: _, _ = key, value @@ -15149,17 +15067,14 @@ func awsAwsjson11_deserializeDocumentContainerGroupsAttributes(v **types.Contain if err := awsAwsjson11_deserializeDocumentConnectionPortRange(&sv.ConnectionPortRange, value); err != nil { return err } - case "ContainerGroupDefinitionProperties": if err := awsAwsjson11_deserializeDocumentContainerGroupDefinitionPropertiesList(&sv.ContainerGroupDefinitionProperties, value); err != nil { return err } - case "ContainerGroupsPerInstance": if err := awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(&sv.ContainerGroupsPerInstance, value); err != nil { return err } - default: _, _ = key, value @@ -15203,7 +15118,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(v **types.Contai } sv.DesiredReplicaContainerGroupsPerInstance = ptr.Int32(int32(i64)) } - case "MaxReplicaContainerGroupsPerInstance": if value != nil { jtv, ok := value.(json.Number) @@ -15216,7 +15130,6 @@ func awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(v **types.Contai } sv.MaxReplicaContainerGroupsPerInstance = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15252,7 +15165,6 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea if err := awsAwsjson11_deserializeDocumentContainerCommandStringList(&sv.Command, value); err != nil { return err } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -15265,7 +15177,6 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Interval = ptr.Int32(int32(i64)) } - case "Retries": if value != nil { jtv, ok := value.(json.Number) @@ -15278,7 +15189,6 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Retries = ptr.Int32(int32(i64)) } - case "StartPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -15291,7 +15201,6 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.StartPeriod = ptr.Int32(int32(i64)) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -15304,7 +15213,6 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15348,7 +15256,6 @@ func awsAwsjson11_deserializeDocumentContainerMemoryLimits(v **types.ContainerMe } sv.HardLimit = ptr.Int32(int32(i64)) } - case "SoftLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15361,7 +15268,6 @@ func awsAwsjson11_deserializeDocumentContainerMemoryLimits(v **types.ContainerMe } sv.SoftLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15397,7 +15303,6 @@ func awsAwsjson11_deserializeDocumentContainerPortConfiguration(v **types.Contai if err := awsAwsjson11_deserializeDocumentContainerPortRangeList(&sv.ContainerPortRanges, value); err != nil { return err } - default: _, _ = key, value @@ -15441,7 +15346,6 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.ConnectionPort = ptr.Int32(int32(i64)) } - case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -15454,7 +15358,6 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15463,7 +15366,6 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.Protocol = types.IpProtocol(jtv) } - default: _, _ = key, value @@ -15541,7 +15443,6 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.FromPort = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15550,7 +15451,6 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.Protocol = types.IpProtocol(jtv) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -15563,7 +15463,6 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15641,7 +15540,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.ACTIVE = ptr.Int32(int32(i64)) } - case "DESIRED": if value != nil { jtv, ok := value.(json.Number) @@ -15654,7 +15552,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.DESIRED = ptr.Int32(int32(i64)) } - case "IDLE": if value != nil { jtv, ok := value.(json.Number) @@ -15667,7 +15564,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.IDLE = ptr.Int32(int32(i64)) } - case "MAXIMUM": if value != nil { jtv, ok := value.(json.Number) @@ -15680,7 +15576,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.MAXIMUM = ptr.Int32(int32(i64)) } - case "MINIMUM": if value != nil { jtv, ok := value.(json.Number) @@ -15693,7 +15588,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.MINIMUM = ptr.Int32(int32(i64)) } - case "PENDING": if value != nil { jtv, ok := value.(json.Number) @@ -15706,7 +15600,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.PENDING = ptr.Int32(int32(i64)) } - case "TERMINATING": if value != nil { jtv, ok := value.(json.Number) @@ -15719,7 +15612,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.TERMINATING = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15763,7 +15655,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.CurrentInstances = ptr.Int32(int32(i64)) } - case "EC2InstanceType": if value != nil { jtv, ok := value.(string) @@ -15772,7 +15663,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.EC2InstanceType = types.EC2InstanceType(jtv) } - case "InstanceLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15785,7 +15675,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.InstanceLimit = ptr.Int32(int32(i64)) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -15794,7 +15683,6 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -15872,7 +15760,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Count = ptr.Int64(i64) } - case "EventCode": if value != nil { jtv, ok := value.(string) @@ -15881,7 +15768,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventCode = types.EventCode(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -15890,7 +15776,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -15906,7 +15791,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15915,7 +15799,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } - case "PreSignedLogUrl": if value != nil { jtv, ok := value.(string) @@ -15924,7 +15807,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.PreSignedLogUrl = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15933,7 +15815,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -16003,7 +15884,6 @@ func awsAwsjson11_deserializeDocumentFilterConfiguration(v **types.FilterConfigu if err := awsAwsjson11_deserializeDocumentLocationList(&sv.AllowedLocations, value); err != nil { return err } - default: _, _ = key, value @@ -16075,7 +15955,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, if err := awsAwsjson11_deserializeDocumentAnywhereConfiguration(&sv.AnywhereConfiguration, value); err != nil { return err } - case "BuildArn": if value != nil { jtv, ok := value.(string) @@ -16084,7 +15963,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.BuildArn = ptr.String(jtv) } - case "BuildId": if value != nil { jtv, ok := value.(string) @@ -16093,12 +15971,10 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.BuildId = ptr.String(jtv) } - case "CertificateConfiguration": if err := awsAwsjson11_deserializeDocumentCertificateConfiguration(&sv.CertificateConfiguration, value); err != nil { return err } - case "ComputeType": if value != nil { jtv, ok := value.(string) @@ -16107,12 +15983,10 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ComputeType = types.ComputeType(jtv) } - case "ContainerGroupsAttributes": if err := awsAwsjson11_deserializeDocumentContainerGroupsAttributes(&sv.ContainerGroupsAttributes, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16128,7 +16002,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16137,7 +16010,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Description = ptr.String(jtv) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -16146,7 +16018,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16155,7 +16026,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetId = ptr.String(jtv) } - case "FleetType": if value != nil { jtv, ok := value.(string) @@ -16164,7 +16034,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetType = types.FleetType(jtv) } - case "InstanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -16173,7 +16042,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceRoleArn = ptr.String(jtv) } - case "InstanceRoleCredentialsProvider": if value != nil { jtv, ok := value.(string) @@ -16182,7 +16050,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceRoleCredentialsProvider = types.InstanceRoleCredentialsProvider(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16191,17 +16058,14 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceType = types.EC2InstanceType(jtv) } - case "LogPaths": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LogPaths, value); err != nil { return err } - case "MetricGroups": if err := awsAwsjson11_deserializeDocumentMetricGroupList(&sv.MetricGroups, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16210,7 +16074,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Name = ptr.String(jtv) } - case "NewGameSessionProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -16219,7 +16082,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.NewGameSessionProtectionPolicy = types.ProtectionPolicy(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -16228,12 +16090,10 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "ResourceCreationLimitPolicy": if err := awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(&sv.ResourceCreationLimitPolicy, value); err != nil { return err } - case "ScriptArn": if value != nil { jtv, ok := value.(string) @@ -16242,7 +16102,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ScriptArn = ptr.String(jtv) } - case "ScriptId": if value != nil { jtv, ok := value.(string) @@ -16251,7 +16110,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ScriptId = ptr.String(jtv) } - case "ServerLaunchParameters": if value != nil { jtv, ok := value.(string) @@ -16260,7 +16118,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ServerLaunchParameters = ptr.String(jtv) } - case "ServerLaunchPath": if value != nil { jtv, ok := value.(string) @@ -16269,7 +16126,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ServerLaunchPath = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16278,12 +16134,10 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Status = types.FleetStatus(jtv) } - case "StoppedActions": if err := awsAwsjson11_deserializeDocumentFleetActionList(&sv.StoppedActions, value); err != nil { return err } - case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -16299,7 +16153,6 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } } - default: _, _ = key, value @@ -16373,7 +16226,6 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16382,12 +16234,10 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.FleetId = ptr.String(jtv) } - case "InstanceCounts": if err := awsAwsjson11_deserializeDocumentEC2InstanceCounts(&sv.InstanceCounts, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16396,7 +16246,6 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.InstanceType = types.EC2InstanceType(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -16405,12 +16254,10 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.Location = ptr.String(jtv) } - case "ReplicaContainerGroupCounts": if err := awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(&sv.ReplicaContainerGroupCounts, value); err != nil { return err } - default: _, _ = key, value @@ -16440,15 +16287,9 @@ func awsAwsjson11_deserializeDocumentFleetCapacityExceededException(v **types.Fl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16456,15 +16297,11 @@ func awsAwsjson11_deserializeDocumentFleetCapacityExceededException(v **types.Fl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16573,7 +16410,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.ActiveGameSessionCount = ptr.Int32(int32(i64)) } - case "ActiveServerProcessCount": if value != nil { jtv, ok := value.(json.Number) @@ -16586,7 +16422,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.ActiveServerProcessCount = ptr.Int32(int32(i64)) } - case "CurrentPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -16599,7 +16434,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.CurrentPlayerSessionCount = ptr.Int32(int32(i64)) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -16608,7 +16442,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16617,7 +16450,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.FleetId = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -16626,7 +16458,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.Location = ptr.String(jtv) } - case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -16639,7 +16470,6 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16713,7 +16543,6 @@ func awsAwsjson11_deserializeDocumentGameProperty(v **types.GameProperty, value } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16722,7 +16551,6 @@ func awsAwsjson11_deserializeDocumentGameProperty(v **types.GameProperty, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16796,7 +16624,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.ClaimStatus = types.GameServerClaimStatus(jtv) } - case "ConnectionInfo": if value != nil { jtv, ok := value.(string) @@ -16805,7 +16632,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.ConnectionInfo = ptr.String(jtv) } - case "GameServerData": if value != nil { jtv, ok := value.(string) @@ -16814,7 +16640,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerData = ptr.String(jtv) } - case "GameServerGroupArn": if value != nil { jtv, ok := value.(string) @@ -16823,7 +16648,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerGroupArn = ptr.String(jtv) } - case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -16832,7 +16656,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerGroupName = ptr.String(jtv) } - case "GameServerId": if value != nil { jtv, ok := value.(string) @@ -16841,7 +16664,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerId = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -16850,7 +16672,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.InstanceId = ptr.String(jtv) } - case "LastClaimTime": if value != nil { switch jtv := value.(type) { @@ -16866,7 +16687,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } - case "LastHealthCheckTime": if value != nil { switch jtv := value.(type) { @@ -16882,7 +16702,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } - case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -16898,7 +16717,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } - case "UtilizationStatus": if value != nil { jtv, ok := value.(string) @@ -16907,7 +16725,6 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.UtilizationStatus = types.GameServerUtilizationStatus(jtv) } - default: _, _ = key, value @@ -16947,7 +16764,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.AutoScalingGroupArn = ptr.String(jtv) } - case "BalancingStrategy": if value != nil { jtv, ok := value.(string) @@ -16956,7 +16772,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.BalancingStrategy = types.BalancingStrategy(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16972,7 +16787,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } } - case "GameServerGroupArn": if value != nil { jtv, ok := value.(string) @@ -16981,7 +16795,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerGroupArn = ptr.String(jtv) } - case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -16990,7 +16803,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerGroupName = ptr.String(jtv) } - case "GameServerProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -16999,12 +16811,10 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerProtectionPolicy = types.GameServerProtectionPolicy(jtv) } - case "InstanceDefinitions": if err := awsAwsjson11_deserializeDocumentInstanceDefinitions(&sv.InstanceDefinitions, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -17020,7 +16830,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17029,7 +16838,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17038,7 +16846,6 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.Status = types.GameServerGroupStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -17047,12 +16854,10 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.StatusReason = ptr.String(jtv) } - case "SuspendedActions": if err := awsAwsjson11_deserializeDocumentGameServerGroupActions(&sv.SuspendedActions, value); err != nil { return err } - default: _, _ = key, value @@ -17162,7 +16967,6 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.GameServerGroupArn = ptr.String(jtv) } - case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -17171,7 +16975,6 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.GameServerGroupName = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -17180,7 +16983,6 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.InstanceId = ptr.String(jtv) } - case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -17189,7 +16991,6 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.InstanceStatus = types.GameServerInstanceStatus(jtv) } - default: _, _ = key, value @@ -17304,7 +17105,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } } - case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -17313,7 +17113,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.CreatorId = ptr.String(jtv) } - case "CurrentPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17326,7 +17125,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.CurrentPlayerSessionCount = ptr.Int32(int32(i64)) } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -17335,7 +17133,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.DnsName = ptr.String(jtv) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -17344,7 +17141,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -17353,12 +17149,10 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.FleetId = ptr.String(jtv) } - case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } - case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -17367,7 +17161,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.GameSessionData = ptr.String(jtv) } - case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -17376,7 +17169,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.GameSessionId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17385,7 +17177,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.IpAddress = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -17394,7 +17185,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Location = ptr.String(jtv) } - case "MatchmakerData": if value != nil { jtv, ok := value.(string) @@ -17403,7 +17193,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.MatchmakerData = ptr.String(jtv) } - case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17416,7 +17205,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17425,7 +17213,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Name = ptr.String(jtv) } - case "PlayerSessionCreationPolicy": if value != nil { jtv, ok := value.(string) @@ -17434,7 +17221,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.PlayerSessionCreationPolicy = types.PlayerSessionCreationPolicy(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17447,7 +17233,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Port = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17456,7 +17241,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Status = types.GameSessionStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -17465,7 +17249,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.StatusReason = types.GameSessionStatusReason(jtv) } - case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -17481,7 +17264,6 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } } - default: _, _ = key, value @@ -17521,7 +17303,6 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.DnsName = ptr.String(jtv) } - case "GameSessionArn": if value != nil { jtv, ok := value.(string) @@ -17530,7 +17311,6 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.GameSessionArn = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17539,12 +17319,10 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.IpAddress = ptr.String(jtv) } - case "MatchedPlayerSessions": if err := awsAwsjson11_deserializeDocumentMatchedPlayerSessionList(&sv.MatchedPlayerSessions, value); err != nil { return err } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17557,7 +17335,6 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17593,7 +17370,6 @@ func awsAwsjson11_deserializeDocumentGameSessionDetail(v **types.GameSessionDeta if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } - case "ProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -17602,7 +17378,6 @@ func awsAwsjson11_deserializeDocumentGameSessionDetail(v **types.GameSessionDeta } sv.ProtectionPolicy = types.ProtectionPolicy(jtv) } - default: _, _ = key, value @@ -17666,15 +17441,9 @@ func awsAwsjson11_deserializeDocumentGameSessionFullException(v **types.GameSess sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17682,15 +17451,11 @@ func awsAwsjson11_deserializeDocumentGameSessionFullException(v **types.GameSess } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17759,7 +17524,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.DnsName = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -17775,12 +17539,10 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } } - case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } - case "GameSessionArn": if value != nil { jtv, ok := value.(string) @@ -17789,7 +17551,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionArn = ptr.String(jtv) } - case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -17798,7 +17559,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionData = ptr.String(jtv) } - case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -17807,7 +17567,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionId = ptr.String(jtv) } - case "GameSessionName": if value != nil { jtv, ok := value.(string) @@ -17816,7 +17575,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionName = ptr.String(jtv) } - case "GameSessionQueueName": if value != nil { jtv, ok := value.(string) @@ -17825,7 +17583,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionQueueName = ptr.String(jtv) } - case "GameSessionRegion": if value != nil { jtv, ok := value.(string) @@ -17834,7 +17591,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionRegion = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17843,7 +17599,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.IpAddress = ptr.String(jtv) } - case "MatchmakerData": if value != nil { jtv, ok := value.(string) @@ -17852,7 +17607,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.MatchmakerData = ptr.String(jtv) } - case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17865,12 +17619,10 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } - case "PlacedPlayerSessions": if err := awsAwsjson11_deserializeDocumentPlacedPlayerSessionList(&sv.PlacedPlayerSessions, value); err != nil { return err } - case "PlacementId": if value != nil { jtv, ok := value.(string) @@ -17879,12 +17631,10 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.PlacementId = ptr.String(jtv) } - case "PlayerLatencies": if err := awsAwsjson11_deserializeDocumentPlayerLatencyList(&sv.PlayerLatencies, value); err != nil { return err } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17897,7 +17647,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.Port = ptr.Int32(int32(i64)) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -17913,7 +17662,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17922,7 +17670,6 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.Status = types.GameSessionPlacementState(jtv) } - default: _, _ = key, value @@ -17962,17 +17709,14 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.CustomEventData = ptr.String(jtv) } - case "Destinations": if err := awsAwsjson11_deserializeDocumentGameSessionQueueDestinationList(&sv.Destinations, value); err != nil { return err } - case "FilterConfiguration": if err := awsAwsjson11_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - case "GameSessionQueueArn": if value != nil { jtv, ok := value.(string) @@ -17981,7 +17725,6 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.GameSessionQueueArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17990,7 +17733,6 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.Name = ptr.String(jtv) } - case "NotificationTarget": if value != nil { jtv, ok := value.(string) @@ -17999,17 +17741,14 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.NotificationTarget = ptr.String(jtv) } - case "PlayerLatencyPolicies": if err := awsAwsjson11_deserializeDocumentPlayerLatencyPolicyList(&sv.PlayerLatencyPolicies, value); err != nil { return err } - case "PriorityConfiguration": if err := awsAwsjson11_deserializeDocumentPriorityConfiguration(&sv.PriorityConfiguration, value); err != nil { return err } - case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18022,7 +17761,6 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18062,7 +17800,6 @@ func awsAwsjson11_deserializeDocumentGameSessionQueueDestination(v **types.GameS } sv.DestinationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18160,15 +17897,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18176,15 +17907,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18226,7 +17953,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -18235,7 +17961,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.DnsName = ptr.String(jtv) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -18244,7 +17969,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -18253,7 +17977,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.FleetId = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -18262,7 +17985,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -18271,7 +17993,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IpAddress = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -18280,7 +18001,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Location = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -18289,7 +18009,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18298,7 +18017,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = types.InstanceStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18307,7 +18025,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Type = types.EC2InstanceType(jtv) } - default: _, _ = key, value @@ -18343,7 +18060,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va if err := awsAwsjson11_deserializeDocumentInstanceCredentials(&sv.Credentials, value); err != nil { return err } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -18352,7 +18068,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.FleetId = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -18361,7 +18076,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.InstanceId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -18370,7 +18084,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.IpAddress = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -18379,7 +18092,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.OperatingSystem = types.OperatingSystem(jtv) } - default: _, _ = key, value @@ -18419,7 +18131,6 @@ func awsAwsjson11_deserializeDocumentInstanceCredentials(v **types.InstanceCrede } sv.Secret = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -18428,7 +18139,6 @@ func awsAwsjson11_deserializeDocumentInstanceCredentials(v **types.InstanceCrede } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -18468,7 +18178,6 @@ func awsAwsjson11_deserializeDocumentInstanceDefinition(v **types.InstanceDefini } sv.InstanceType = types.GameServerGroupInstanceType(jtv) } - case "WeightedCapacity": if value != nil { jtv, ok := value.(string) @@ -18477,7 +18186,6 @@ func awsAwsjson11_deserializeDocumentInstanceDefinition(v **types.InstanceDefini } sv.WeightedCapacity = ptr.String(jtv) } - default: _, _ = key, value @@ -18575,15 +18283,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18591,15 +18293,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18624,15 +18322,9 @@ func awsAwsjson11_deserializeDocumentInvalidFleetStatusException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18640,15 +18332,11 @@ func awsAwsjson11_deserializeDocumentInvalidFleetStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18673,15 +18361,9 @@ func awsAwsjson11_deserializeDocumentInvalidGameSessionStatusException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18689,15 +18371,11 @@ func awsAwsjson11_deserializeDocumentInvalidGameSessionStatusException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18722,15 +18400,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18738,15 +18410,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18785,7 +18453,6 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.FromPort = ptr.Int32(int32(i64)) } - case "IpRange": if value != nil { jtv, ok := value.(string) @@ -18794,7 +18461,6 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.IpRange = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -18803,7 +18469,6 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.Protocol = types.IpProtocol(jtv) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -18816,7 +18481,6 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18920,15 +18584,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18936,15 +18594,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18975,12 +18629,10 @@ func awsAwsjson11_deserializeDocumentLocationAttributes(v **types.LocationAttrib if err := awsAwsjson11_deserializeDocumentLocationState(&sv.LocationState, value); err != nil { return err } - case "StoppedActions": if err := awsAwsjson11_deserializeDocumentFleetActionList(&sv.StoppedActions, value); err != nil { return err } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -18989,7 +18641,6 @@ func awsAwsjson11_deserializeDocumentLocationAttributes(v **types.LocationAttrib } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } - default: _, _ = key, value @@ -19099,7 +18750,6 @@ func awsAwsjson11_deserializeDocumentLocationModel(v **types.LocationModel, valu } sv.LocationArn = ptr.String(jtv) } - case "LocationName": if value != nil { jtv, ok := value.(string) @@ -19108,7 +18758,6 @@ func awsAwsjson11_deserializeDocumentLocationModel(v **types.LocationModel, valu } sv.LocationName = ptr.String(jtv) } - default: _, _ = key, value @@ -19182,7 +18831,6 @@ func awsAwsjson11_deserializeDocumentLocationState(v **types.LocationState, valu } sv.Location = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19191,7 +18839,6 @@ func awsAwsjson11_deserializeDocumentLocationState(v **types.LocationState, valu } sv.Status = types.FleetStatus(jtv) } - default: _, _ = key, value @@ -19265,7 +18912,6 @@ func awsAwsjson11_deserializeDocumentMatchedPlayerSession(v **types.MatchedPlaye } sv.PlayerId = ptr.String(jtv) } - case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -19274,7 +18920,6 @@ func awsAwsjson11_deserializeDocumentMatchedPlayerSession(v **types.MatchedPlaye } sv.PlayerSessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -19348,7 +18993,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AcceptanceRequired = ptr.Bool(jtv) } - case "AcceptanceTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19361,7 +19005,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AcceptanceTimeoutSeconds = ptr.Int32(int32(i64)) } - case "AdditionalPlayerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19374,7 +19017,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AdditionalPlayerCount = ptr.Int32(int32(i64)) } - case "BackfillMode": if value != nil { jtv, ok := value.(string) @@ -19383,7 +19025,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.BackfillMode = types.BackfillMode(jtv) } - case "ConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -19392,7 +19033,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.ConfigurationArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -19408,7 +19048,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } } - case "CustomEventData": if value != nil { jtv, ok := value.(string) @@ -19417,7 +19056,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.CustomEventData = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19426,7 +19064,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.Description = ptr.String(jtv) } - case "FlexMatchMode": if value != nil { jtv, ok := value.(string) @@ -19435,12 +19072,10 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.FlexMatchMode = types.FlexMatchMode(jtv) } - case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } - case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -19449,12 +19084,10 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.GameSessionData = ptr.String(jtv) } - case "GameSessionQueueArns": if err := awsAwsjson11_deserializeDocumentQueueArnsList(&sv.GameSessionQueueArns, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19463,7 +19096,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.Name = ptr.String(jtv) } - case "NotificationTarget": if value != nil { jtv, ok := value.(string) @@ -19472,7 +19104,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.NotificationTarget = ptr.String(jtv) } - case "RequestTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19485,7 +19116,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RequestTimeoutSeconds = ptr.Int32(int32(i64)) } - case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -19494,7 +19124,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RuleSetArn = ptr.String(jtv) } - case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -19503,7 +19132,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RuleSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -19584,7 +19212,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } } - case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -19593,7 +19220,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetArn = ptr.String(jtv) } - case "RuleSetBody": if value != nil { jtv, ok := value.(string) @@ -19602,7 +19228,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetBody = ptr.String(jtv) } - case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -19611,7 +19236,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -19685,7 +19309,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.ConfigurationArn = ptr.String(jtv) } - case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -19694,7 +19317,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.ConfigurationName = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -19710,7 +19332,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } } - case "EstimatedWaitTime": if value != nil { jtv, ok := value.(json.Number) @@ -19723,17 +19344,14 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.EstimatedWaitTime = ptr.Int32(int32(i64)) } - case "GameSessionConnectionInfo": if err := awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(&sv.GameSessionConnectionInfo, value); err != nil { return err } - case "Players": if err := awsAwsjson11_deserializeDocumentPlayerList(&sv.Players, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -19749,7 +19367,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19758,7 +19375,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.Status = types.MatchmakingConfigurationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19767,7 +19383,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.StatusMessage = ptr.String(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -19776,7 +19391,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.StatusReason = ptr.String(jtv) } - case "TicketId": if value != nil { jtv, ok := value.(string) @@ -19785,7 +19399,6 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.TicketId = ptr.String(jtv) } - default: _, _ = key, value @@ -19885,15 +19498,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19901,15 +19508,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19934,15 +19537,9 @@ func awsAwsjson11_deserializeDocumentNotReadyException(v **types.NotReadyExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19950,15 +19547,11 @@ func awsAwsjson11_deserializeDocumentNotReadyException(v **types.NotReadyExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19983,15 +19576,9 @@ func awsAwsjson11_deserializeDocumentOutOfCapacityException(v **types.OutOfCapac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19999,15 +19586,11 @@ func awsAwsjson11_deserializeDocumentOutOfCapacityException(v **types.OutOfCapac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20042,7 +19625,6 @@ func awsAwsjson11_deserializeDocumentPlacedPlayerSession(v **types.PlacedPlayerS } sv.PlayerId = ptr.String(jtv) } - case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -20051,7 +19633,6 @@ func awsAwsjson11_deserializeDocumentPlacedPlayerSession(v **types.PlacedPlayerS } sv.PlayerSessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -20121,12 +19702,10 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) if err := awsAwsjson11_deserializeDocumentLatencyMap(&sv.LatencyInMs, value); err != nil { return err } - case "PlayerAttributes": if err := awsAwsjson11_deserializeDocumentPlayerAttributeMap(&sv.PlayerAttributes, value); err != nil { return err } - case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -20135,7 +19714,6 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) } sv.PlayerId = ptr.String(jtv) } - case "Team": if value != nil { jtv, ok := value.(string) @@ -20144,7 +19722,6 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) } sv.Team = ptr.String(jtv) } - default: _, _ = key, value @@ -20341,7 +19918,6 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } } - case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -20350,7 +19926,6 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } sv.PlayerId = ptr.String(jtv) } - case "RegionIdentifier": if value != nil { jtv, ok := value.(string) @@ -20359,7 +19934,6 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } sv.RegionIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -20437,7 +20011,6 @@ func awsAwsjson11_deserializeDocumentPlayerLatencyPolicy(v **types.PlayerLatency } sv.MaximumIndividualPlayerLatencyMilliseconds = ptr.Int32(int32(i64)) } - case "PolicyDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20450,7 +20023,6 @@ func awsAwsjson11_deserializeDocumentPlayerLatencyPolicy(v **types.PlayerLatency } sv.PolicyDurationSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20565,7 +20137,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -20574,7 +20145,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.DnsName = ptr.String(jtv) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -20583,7 +20153,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -20592,7 +20161,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.FleetId = ptr.String(jtv) } - case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -20601,7 +20169,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.GameSessionId = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -20610,7 +20177,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.IpAddress = ptr.String(jtv) } - case "PlayerData": if value != nil { jtv, ok := value.(string) @@ -20619,7 +20185,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerData = ptr.String(jtv) } - case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -20628,7 +20193,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerId = ptr.String(jtv) } - case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -20637,7 +20201,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerSessionId = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20650,7 +20213,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.Port = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20659,7 +20221,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.Status = types.PlayerSessionStatus(jtv) } - case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -20675,7 +20236,6 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } } - default: _, _ = key, value @@ -20745,12 +20305,10 @@ func awsAwsjson11_deserializeDocumentPriorityConfiguration(v **types.PriorityCon if err := awsAwsjson11_deserializeDocumentLocationList(&sv.LocationOrder, value); err != nil { return err } - case "PriorityOrder": if err := awsAwsjson11_deserializeDocumentPriorityTypeList(&sv.PriorityOrder, value); err != nil { return err } - default: _, _ = key, value @@ -20866,7 +20424,6 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.ACTIVE = ptr.Int32(int32(i64)) } - case "IDLE": if value != nil { jtv, ok := value.(json.Number) @@ -20879,7 +20436,6 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.IDLE = ptr.Int32(int32(i64)) } - case "PENDING": if value != nil { jtv, ok := value.(json.Number) @@ -20892,7 +20448,6 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.PENDING = ptr.Int32(int32(i64)) } - case "TERMINATING": if value != nil { jtv, ok := value.(json.Number) @@ -20905,7 +20460,6 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.TERMINATING = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20949,7 +20503,6 @@ func awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(v **types.Resou } sv.NewGameSessionsPerCreator = ptr.Int32(int32(i64)) } - case "PolicyPeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -20962,7 +20515,6 @@ func awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(v **types.Resou } sv.PolicyPeriodInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21002,7 +20554,6 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.FleetId = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -21011,7 +20562,6 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21020,7 +20570,6 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.Type = types.RoutingStrategyType(jtv) } - default: _, _ = key, value @@ -21064,7 +20613,6 @@ func awsAwsjson11_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi } sv.GameSessionActivationTimeoutSeconds = ptr.Int32(int32(i64)) } - case "MaxConcurrentGameSessionActivations": if value != nil { jtv, ok := value.(json.Number) @@ -21077,12 +20625,10 @@ func awsAwsjson11_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi } sv.MaxConcurrentGameSessionActivations = ptr.Int32(int32(i64)) } - case "ServerProcesses": if err := awsAwsjson11_deserializeDocumentServerProcessList(&sv.ServerProcesses, value); err != nil { return err } - default: _, _ = key, value @@ -21122,7 +20668,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -21131,7 +20676,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -21140,7 +20684,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectVersion = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21149,7 +20692,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21189,7 +20731,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ComparisonOperator = types.ComparisonOperatorType(jtv) } - case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -21202,7 +20743,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -21211,7 +20751,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -21220,7 +20759,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.FleetId = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -21229,7 +20767,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Location = ptr.String(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -21238,7 +20775,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.MetricName = types.MetricName(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21247,7 +20783,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Name = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -21256,7 +20791,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } - case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -21269,7 +20803,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } - case "ScalingAdjustmentType": if value != nil { jtv, ok := value.(string) @@ -21278,7 +20811,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalingAdjustmentType = types.ScalingAdjustmentType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21287,12 +20819,10 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Status = types.ScalingStatusType(jtv) } - case "TargetConfiguration": if err := awsAwsjson11_deserializeDocumentTargetConfiguration(&sv.TargetConfiguration, value); err != nil { return err } - case "Threshold": if value != nil { switch jtv := value.(type) { @@ -21326,7 +20856,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -21335,7 +20864,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } - default: _, _ = key, value @@ -21416,7 +20944,6 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21425,7 +20952,6 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Name = ptr.String(jtv) } - case "ScriptArn": if value != nil { jtv, ok := value.(string) @@ -21434,7 +20960,6 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptArn = ptr.String(jtv) } - case "ScriptId": if value != nil { jtv, ok := value.(string) @@ -21443,7 +20968,6 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptId = ptr.String(jtv) } - case "SizeOnDisk": if value != nil { jtv, ok := value.(json.Number) @@ -21456,12 +20980,10 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.SizeOnDisk = ptr.Int64(i64) } - case "StorageLocation": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -21470,7 +20992,6 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -21548,7 +21069,6 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.ConcurrentExecutions = ptr.Int32(int32(i64)) } - case "LaunchPath": if value != nil { jtv, ok := value.(string) @@ -21557,7 +21077,6 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.LaunchPath = ptr.String(jtv) } - case "Parameters": if value != nil { jtv, ok := value.(string) @@ -21566,7 +21085,6 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.Parameters = ptr.String(jtv) } - default: _, _ = key, value @@ -21676,7 +21194,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -21685,7 +21202,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -21715,15 +21231,9 @@ func awsAwsjson11_deserializeDocumentTaggingFailedException(v **types.TaggingFai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21731,15 +21241,11 @@ func awsAwsjson11_deserializeDocumentTaggingFailedException(v **types.TaggingFai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21833,7 +21339,6 @@ func awsAwsjson11_deserializeDocumentTargetConfiguration(v **types.TargetConfigu } } - default: _, _ = key, value @@ -21863,15 +21368,9 @@ func awsAwsjson11_deserializeDocumentTerminalRoutingStrategyException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21879,15 +21378,11 @@ func awsAwsjson11_deserializeDocumentTerminalRoutingStrategyException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21912,15 +21407,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21928,15 +21417,11 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21961,15 +21446,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedRegionException(v **types.Unsupp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21977,15 +21456,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedRegionException(v **types.Unsupp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22027,7 +21502,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -22043,7 +21517,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } } - case "GameLiftAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -22052,7 +21525,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.GameLiftAwsAccountId = ptr.String(jtv) } - case "PeerVpcAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -22061,7 +21533,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.PeerVpcAwsAccountId = ptr.String(jtv) } - case "PeerVpcId": if value != nil { jtv, ok := value.(string) @@ -22070,7 +21541,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.PeerVpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -22144,7 +21614,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -22153,7 +21622,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.FleetId = ptr.String(jtv) } - case "GameLiftVpcId": if value != nil { jtv, ok := value.(string) @@ -22162,7 +21630,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.GameLiftVpcId = ptr.String(jtv) } - case "IpV4CidrBlock": if value != nil { jtv, ok := value.(string) @@ -22171,7 +21638,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.IpV4CidrBlock = ptr.String(jtv) } - case "PeerVpcId": if value != nil { jtv, ok := value.(string) @@ -22180,12 +21646,10 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.PeerVpcId = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(&sv.Status, value); err != nil { return err } - case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -22194,7 +21658,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.VpcPeeringConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -22268,7 +21731,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(v **types.VpcPee } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -22277,7 +21739,6 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(v **types.VpcPee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -22344,7 +21805,6 @@ func awsAwsjson11_deserializeOpDocumentClaimGameServerOutput(v **ClaimGameServer if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } - default: _, _ = key, value @@ -22380,7 +21840,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value @@ -22416,17 +21875,14 @@ func awsAwsjson11_deserializeOpDocumentCreateBuildOutput(v **CreateBuildOutput, if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - case "StorageLocation": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } - case "UploadCredentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.UploadCredentials, value); err != nil { return err } - default: _, _ = key, value @@ -22462,7 +21918,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerGroupDefinitionOutput(v ** if err := awsAwsjson11_deserializeDocumentContainerGroupDefinition(&sv.ContainerGroupDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -22502,7 +21957,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetLocationsOutput(v **CreateFlee } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -22511,12 +21965,10 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetLocationsOutput(v **CreateFlee } sv.FleetId = ptr.String(jtv) } - case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } - default: _, _ = key, value @@ -22552,12 +22004,10 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleetAttributes(&sv.FleetAttributes, value); err != nil { return err } - case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } - default: _, _ = key, value @@ -22593,7 +22043,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGameServerGroupOutput(v **CreateGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -22629,7 +22078,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGameSessionOutput(v **CreateGameSes if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } - default: _, _ = key, value @@ -22665,7 +22113,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGameSessionQueueOutput(v **CreateGa if err := awsAwsjson11_deserializeDocumentGameSessionQueue(&sv.GameSessionQueue, value); err != nil { return err } - default: _, _ = key, value @@ -22701,7 +22148,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationOutput(v **CreateLocationOu if err := awsAwsjson11_deserializeDocumentLocationModel(&sv.Location, value); err != nil { return err } - default: _, _ = key, value @@ -22737,7 +22183,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMatchmakingConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentMatchmakingConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -22773,7 +22218,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMatchmakingRuleSetOutput(v **Create if err := awsAwsjson11_deserializeDocumentMatchmakingRuleSet(&sv.RuleSet, value); err != nil { return err } - default: _, _ = key, value @@ -22809,7 +22253,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePlayerSessionOutput(v **CreatePlaye if err := awsAwsjson11_deserializeDocumentPlayerSession(&sv.PlayerSession, value); err != nil { return err } - default: _, _ = key, value @@ -22845,7 +22288,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePlayerSessionsOutput(v **CreatePlay if err := awsAwsjson11_deserializeDocumentPlayerSessionList(&sv.PlayerSessions, value); err != nil { return err } - default: _, _ = key, value @@ -22881,7 +22323,6 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } - default: _, _ = key, value @@ -22917,7 +22358,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVpcPeeringAuthorizationOutput(v **C if err := awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(&sv.VpcPeeringAuthorization, value); err != nil { return err } - default: _, _ = key, value @@ -22988,7 +22428,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetLocationsOutput(v **DeleteFlee } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -22997,12 +22436,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetLocationsOutput(v **DeleteFlee } sv.FleetId = ptr.String(jtv) } - case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } - default: _, _ = key, value @@ -23038,7 +22475,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGameServerGroupOutput(v **DeleteGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -23291,7 +22727,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAliasOutput(v **DescribeAliasOutp if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value @@ -23327,7 +22762,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBuildOutput(v **DescribeBuildOutp if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - default: _, _ = key, value @@ -23363,7 +22797,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeComputeOutput(v **DescribeCompute if err := awsAwsjson11_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } - default: _, _ = key, value @@ -23399,7 +22832,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerGroupDefinitionOutput(v if err := awsAwsjson11_deserializeDocumentContainerGroupDefinition(&sv.ContainerGroupDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -23435,7 +22867,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEC2InstanceLimitsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentEC2InstanceLimitList(&sv.EC2InstanceLimits, value); err != nil { return err } - default: _, _ = key, value @@ -23471,7 +22902,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAttributesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentFleetAttributesList(&sv.FleetAttributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23480,7 +22910,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAttributesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23516,7 +22945,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetCapacityOutput(v **DescribeF if err := awsAwsjson11_deserializeDocumentFleetCapacityList(&sv.FleetCapacity, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23525,7 +22953,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetCapacityOutput(v **DescribeF } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23561,7 +22988,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetEventsOutput(v **DescribeFle if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23570,7 +22996,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetEventsOutput(v **DescribeFle } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23610,7 +23035,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -23619,12 +23043,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.FleetId = ptr.String(jtv) } - case "LocationAttributes": if err := awsAwsjson11_deserializeDocumentLocationAttributesList(&sv.LocationAttributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23633,7 +23055,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23669,7 +23090,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationCapacityOutput(v **D if err := awsAwsjson11_deserializeDocumentFleetCapacity(&sv.FleetCapacity, value); err != nil { return err } - default: _, _ = key, value @@ -23705,7 +23125,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationUtilizationOutput(v if err := awsAwsjson11_deserializeDocumentFleetUtilization(&sv.FleetUtilization, value); err != nil { return err } - default: _, _ = key, value @@ -23745,7 +23164,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -23754,12 +23172,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.FleetId = ptr.String(jtv) } - case "InboundPermissions": if err := awsAwsjson11_deserializeDocumentIpPermissionsList(&sv.InboundPermissions, value); err != nil { return err } - case "Location": if value != nil { jtv, ok := value.(string) @@ -23768,7 +23184,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.Location = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -23777,7 +23192,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } - default: _, _ = key, value @@ -23813,7 +23227,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetUtilizationOutput(v **Descri if err := awsAwsjson11_deserializeDocumentFleetUtilizationList(&sv.FleetUtilization, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23822,7 +23235,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetUtilizationOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23858,7 +23270,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerGroupOutput(v **Describ if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -23894,7 +23305,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerInstancesOutput(v **Des if err := awsAwsjson11_deserializeDocumentGameServerInstances(&sv.GameServerInstances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23903,7 +23313,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerInstancesOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23939,7 +23348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerOutput(v **DescribeGame if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } - default: _, _ = key, value @@ -23975,7 +23383,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionDetailsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentGameSessionDetailList(&sv.GameSessionDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23984,7 +23391,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionDetailsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24020,7 +23426,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionPlacementOutput(v **De if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } - default: _, _ = key, value @@ -24056,7 +23461,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionQueuesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentGameSessionQueueList(&sv.GameSessionQueues, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24065,7 +23469,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionQueuesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24101,7 +23504,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionsOutput(v **DescribeGa if err := awsAwsjson11_deserializeDocumentGameSessionList(&sv.GameSessions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24110,7 +23512,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionsOutput(v **DescribeGa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24146,7 +23547,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24155,7 +23555,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24191,7 +23590,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingConfigurationsOutput(v if err := awsAwsjson11_deserializeDocumentMatchmakingConfigurationList(&sv.Configurations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24200,7 +23598,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24236,7 +23633,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingOutput(v **DescribeMat if err := awsAwsjson11_deserializeDocumentMatchmakingTicketList(&sv.TicketList, value); err != nil { return err } - default: _, _ = key, value @@ -24276,12 +23672,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingRuleSetsOutput(v **Des } sv.NextToken = ptr.String(jtv) } - case "RuleSets": if err := awsAwsjson11_deserializeDocumentMatchmakingRuleSetList(&sv.RuleSets, value); err != nil { return err } - default: _, _ = key, value @@ -24321,12 +23715,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePlayerSessionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - case "PlayerSessions": if err := awsAwsjson11_deserializeDocumentPlayerSessionList(&sv.PlayerSessions, value); err != nil { return err } - default: _, _ = key, value @@ -24362,7 +23754,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuntimeConfigurationOutput(v **De if err := awsAwsjson11_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -24402,12 +23793,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPoliciesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicyList(&sv.ScalingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -24443,7 +23832,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeScriptOutput(v **DescribeScriptOu if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } - default: _, _ = key, value @@ -24479,7 +23867,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVpcPeeringAuthorizationsOutput(v if err := awsAwsjson11_deserializeDocumentVpcPeeringAuthorizationList(&sv.VpcPeeringAuthorizations, value); err != nil { return err } - default: _, _ = key, value @@ -24515,7 +23902,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVpcPeeringConnectionsOutput(v **D if err := awsAwsjson11_deserializeDocumentVpcPeeringConnectionList(&sv.VpcPeeringConnections, value); err != nil { return err } - default: _, _ = key, value @@ -24555,7 +23941,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.ComputeArn = ptr.String(jtv) } - case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -24564,12 +23949,10 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.ComputeName = ptr.String(jtv) } - case "Credentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -24578,7 +23961,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -24587,7 +23969,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.FleetId = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -24596,7 +23977,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -24636,7 +24016,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.AuthToken = ptr.String(jtv) } - case "ComputeArn": if value != nil { jtv, ok := value.(string) @@ -24645,7 +24024,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.ComputeArn = ptr.String(jtv) } - case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -24654,7 +24032,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.ComputeName = ptr.String(jtv) } - case "ExpirationTimestamp": if value != nil { switch jtv := value.(type) { @@ -24670,7 +24047,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } } - case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -24679,7 +24055,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -24688,7 +24063,6 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -24728,7 +24102,6 @@ func awsAwsjson11_deserializeOpDocumentGetGameSessionLogUrlOutput(v **GetGameSes } sv.PreSignedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -24764,7 +24137,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceAccessOutput(v **GetInstanceAc if err := awsAwsjson11_deserializeDocumentInstanceAccess(&sv.InstanceAccess, value); err != nil { return err } - default: _, _ = key, value @@ -24800,7 +24172,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24809,7 +24180,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24845,7 +24215,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va if err := awsAwsjson11_deserializeDocumentBuildList(&sv.Builds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24854,7 +24223,6 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24890,7 +24258,6 @@ func awsAwsjson11_deserializeOpDocumentListComputeOutput(v **ListComputeOutput, if err := awsAwsjson11_deserializeDocumentComputeList(&sv.ComputeList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24899,7 +24266,6 @@ func awsAwsjson11_deserializeOpDocumentListComputeOutput(v **ListComputeOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24935,7 +24301,6 @@ func awsAwsjson11_deserializeOpDocumentListContainerGroupDefinitionsOutput(v **L if err := awsAwsjson11_deserializeDocumentContainerGroupDefinitionList(&sv.ContainerGroupDefinitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24944,7 +24309,6 @@ func awsAwsjson11_deserializeOpDocumentListContainerGroupDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24980,7 +24344,6 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson11_deserializeDocumentFleetIdList(&sv.FleetIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24989,7 +24352,6 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25025,7 +24387,6 @@ func awsAwsjson11_deserializeOpDocumentListGameServerGroupsOutput(v **ListGameSe if err := awsAwsjson11_deserializeDocumentGameServerGroups(&sv.GameServerGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25034,7 +24395,6 @@ func awsAwsjson11_deserializeOpDocumentListGameServerGroupsOutput(v **ListGameSe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25070,7 +24430,6 @@ func awsAwsjson11_deserializeOpDocumentListGameServersOutput(v **ListGameServers if err := awsAwsjson11_deserializeDocumentGameServers(&sv.GameServers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25079,7 +24438,6 @@ func awsAwsjson11_deserializeOpDocumentListGameServersOutput(v **ListGameServers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25115,7 +24473,6 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp if err := awsAwsjson11_deserializeDocumentLocationModelList(&sv.Locations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25124,7 +24481,6 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25164,12 +24520,10 @@ func awsAwsjson11_deserializeOpDocumentListScriptsOutput(v **ListScriptsOutput, } sv.NextToken = ptr.String(jtv) } - case "Scripts": if err := awsAwsjson11_deserializeDocumentScriptList(&sv.Scripts, value); err != nil { return err } - default: _, _ = key, value @@ -25205,7 +24559,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -25245,7 +24598,6 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -25281,7 +24633,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterComputeOutput(v **RegisterCompute if err := awsAwsjson11_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } - default: _, _ = key, value @@ -25317,7 +24668,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterGameServerOutput(v **RegisterGame if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } - default: _, _ = key, value @@ -25353,12 +24703,10 @@ func awsAwsjson11_deserializeOpDocumentRequestUploadCredentialsOutput(v **Reques if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } - case "UploadCredentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.UploadCredentials, value); err != nil { return err } - default: _, _ = key, value @@ -25398,7 +24746,6 @@ func awsAwsjson11_deserializeOpDocumentResolveAliasOutput(v **ResolveAliasOutput } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25407,7 +24754,6 @@ func awsAwsjson11_deserializeOpDocumentResolveAliasOutput(v **ResolveAliasOutput } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -25443,7 +24789,6 @@ func awsAwsjson11_deserializeOpDocumentResumeGameServerGroupOutput(v **ResumeGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -25479,7 +24824,6 @@ func awsAwsjson11_deserializeOpDocumentSearchGameSessionsOutput(v **SearchGameSe if err := awsAwsjson11_deserializeDocumentGameSessionList(&sv.GameSessions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25488,7 +24832,6 @@ func awsAwsjson11_deserializeOpDocumentSearchGameSessionsOutput(v **SearchGameSe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25528,7 +24871,6 @@ func awsAwsjson11_deserializeOpDocumentStartFleetActionsOutput(v **StartFleetAct } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25537,7 +24879,6 @@ func awsAwsjson11_deserializeOpDocumentStartFleetActionsOutput(v **StartFleetAct } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -25573,7 +24914,6 @@ func awsAwsjson11_deserializeOpDocumentStartGameSessionPlacementOutput(v **Start if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } - default: _, _ = key, value @@ -25609,7 +24949,6 @@ func awsAwsjson11_deserializeOpDocumentStartMatchBackfillOutput(v **StartMatchBa if err := awsAwsjson11_deserializeDocumentMatchmakingTicket(&sv.MatchmakingTicket, value); err != nil { return err } - default: _, _ = key, value @@ -25645,7 +24984,6 @@ func awsAwsjson11_deserializeOpDocumentStartMatchmakingOutput(v **StartMatchmaki if err := awsAwsjson11_deserializeDocumentMatchmakingTicket(&sv.MatchmakingTicket, value); err != nil { return err } - default: _, _ = key, value @@ -25685,7 +25023,6 @@ func awsAwsjson11_deserializeOpDocumentStopFleetActionsOutput(v **StopFleetActio } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25694,7 +25031,6 @@ func awsAwsjson11_deserializeOpDocumentStopFleetActionsOutput(v **StopFleetActio } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -25730,7 +25066,6 @@ func awsAwsjson11_deserializeOpDocumentStopGameSessionPlacementOutput(v **StopGa if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } - default: _, _ = key, value @@ -25797,7 +25132,6 @@ func awsAwsjson11_deserializeOpDocumentSuspendGameServerGroupOutput(v **SuspendG if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -25895,7 +25229,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value @@ -25931,7 +25264,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBuildOutput(v **UpdateBuildOutput, if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } - default: _, _ = key, value @@ -25971,7 +25303,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetAttributesOutput(v **UpdateFle } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25980,7 +25311,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetAttributesOutput(v **UpdateFle } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -26020,7 +25350,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -26029,7 +25358,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.FleetId = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -26038,7 +25366,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -26078,7 +25405,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetPortSettingsOutput(v **UpdateF } sv.FleetArn = ptr.String(jtv) } - case "FleetId": if value != nil { jtv, ok := value.(string) @@ -26087,7 +25413,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetPortSettingsOutput(v **UpdateF } sv.FleetId = ptr.String(jtv) } - default: _, _ = key, value @@ -26123,7 +25448,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameServerGroupOutput(v **UpdateGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } - default: _, _ = key, value @@ -26159,7 +25483,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameServerOutput(v **UpdateGameServ if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } - default: _, _ = key, value @@ -26195,7 +25518,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameSessionOutput(v **UpdateGameSes if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } - default: _, _ = key, value @@ -26231,7 +25553,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameSessionQueueOutput(v **UpdateGa if err := awsAwsjson11_deserializeDocumentGameSessionQueue(&sv.GameSessionQueue, value); err != nil { return err } - default: _, _ = key, value @@ -26267,7 +25588,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMatchmakingConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentMatchmakingConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -26303,7 +25623,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuntimeConfigurationOutput(v **Upda if err := awsAwsjson11_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -26339,7 +25658,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateScriptOutput(v **UpdateScriptOutput if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } - default: _, _ = key, value @@ -26379,7 +25697,6 @@ func awsAwsjson11_deserializeOpDocumentValidateMatchmakingRuleSetOutput(v **Vali } sv.Valid = ptr.Bool(jtv) } - default: _, _ = key, value diff --git a/service/geomaps/deserializers.go b/service/geomaps/deserializers.go index be97997f302..4d2af6f4a60 100644 --- a/service/geomaps/deserializers.go +++ b/service/geomaps/deserializers.go @@ -922,15 +922,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -938,15 +932,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -971,15 +961,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -987,15 +971,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1020,15 +1000,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1036,15 +1010,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1069,20 +1039,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1090,7 +1053,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -1099,15 +1061,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1142,7 +1100,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1151,7 +1108,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/geoplaces/deserializers.go b/service/geoplaces/deserializers.go index bcaf34605e5..53bb2722001 100644 --- a/service/geoplaces/deserializers.go +++ b/service/geoplaces/deserializers.go @@ -198,7 +198,6 @@ func awsRestjson1_deserializeOpDocumentAutocompleteOutput(v **AutocompleteOutput if err := awsRestjson1_deserializeDocumentAutocompleteResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -376,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentGeocodeOutput(v **GeocodeOutput, value in if err := awsRestjson1_deserializeDocumentGeocodeResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -554,17 +552,14 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -573,42 +568,34 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.AddressNumberCorrected = ptr.Bool(jtv) } - case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } - case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -617,7 +604,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -626,7 +612,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -635,22 +620,18 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -659,7 +640,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -837,7 +817,6 @@ func awsRestjson1_deserializeOpDocumentReverseGeocodeOutput(v **ReverseGeocodeOu if err := awsRestjson1_deserializeDocumentReverseGeocodeResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -1019,12 +998,10 @@ func awsRestjson1_deserializeOpDocumentSearchNearbyOutput(v **SearchNearbyOutput } sv.NextToken = ptr.String(jtv) } - case "ResultItems": if err := awsRestjson1_deserializeDocumentSearchNearbyResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -1206,12 +1183,10 @@ func awsRestjson1_deserializeOpDocumentSearchTextOutput(v **SearchTextOutput, va } sv.NextToken = ptr.String(jtv) } - case "ResultItems": if err := awsRestjson1_deserializeDocumentSearchTextResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -1389,12 +1364,10 @@ func awsRestjson1_deserializeOpDocumentSuggestOutput(v **SuggestOutput, value in if err := awsRestjson1_deserializeDocumentQueryRefinementList(&sv.QueryRefinements, value); err != nil { return err } - case "ResultItems": if err := awsRestjson1_deserializeDocumentSuggestResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -1568,15 +1541,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1584,15 +1551,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1623,7 +1586,6 @@ func awsRestjson1_deserializeDocumentAccessPoint(v **types.AccessPoint, value in if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -1693,7 +1655,6 @@ func awsRestjson1_deserializeDocumentAccessRestriction(v **types.AccessRestricti if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Restricted": if value != nil { jtv, ok := value.(bool) @@ -1702,7 +1663,6 @@ func awsRestjson1_deserializeDocumentAccessRestriction(v **types.AccessRestricti } sv.Restricted = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1776,7 +1736,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressNumber = ptr.String(jtv) } - case "Block": if value != nil { jtv, ok := value.(string) @@ -1785,7 +1744,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Block = ptr.String(jtv) } - case "Building": if value != nil { jtv, ok := value.(string) @@ -1794,12 +1752,10 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Building = ptr.String(jtv) } - case "Country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } - case "District": if value != nil { jtv, ok := value.(string) @@ -1808,12 +1764,10 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.District = ptr.String(jtv) } - case "Intersection": if err := awsRestjson1_deserializeDocumentIntersectionList(&sv.Intersection, value); err != nil { return err } - case "Label": if value != nil { jtv, ok := value.(string) @@ -1822,7 +1776,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Label = ptr.String(jtv) } - case "Locality": if value != nil { jtv, ok := value.(string) @@ -1831,7 +1784,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Locality = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -1840,12 +1792,10 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "Region": if err := awsRestjson1_deserializeDocumentRegion(&sv.Region, value); err != nil { return err } - case "Street": if value != nil { jtv, ok := value.(string) @@ -1854,12 +1804,10 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street = ptr.String(jtv) } - case "StreetComponents": if err := awsRestjson1_deserializeDocumentStreetComponentsList(&sv.StreetComponents, value); err != nil { return err } - case "SubBlock": if value != nil { jtv, ok := value.(string) @@ -1868,7 +1816,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.SubBlock = ptr.String(jtv) } - case "SubDistrict": if value != nil { jtv, ok := value.(string) @@ -1877,12 +1824,10 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.SubDistrict = ptr.String(jtv) } - case "SubRegion": if err := awsRestjson1_deserializeDocumentSubRegion(&sv.SubRegion, value); err != nil { return err } - default: _, _ = key, value @@ -1947,7 +1892,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "Block": if value != nil { switch jtv := value.(type) { @@ -1981,7 +1925,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "Building": if value != nil { switch jtv := value.(type) { @@ -2015,7 +1958,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "Country": if value != nil { switch jtv := value.(type) { @@ -2049,7 +1991,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "District": if value != nil { switch jtv := value.(type) { @@ -2083,12 +2024,10 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "Intersection": if err := awsRestjson1_deserializeDocumentMatchScoreList(&sv.Intersection, value); err != nil { return err } - case "Locality": if value != nil { switch jtv := value.(type) { @@ -2122,7 +2061,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "PostalCode": if value != nil { switch jtv := value.(type) { @@ -2156,7 +2094,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "Region": if value != nil { switch jtv := value.(type) { @@ -2190,7 +2127,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "SubBlock": if value != nil { switch jtv := value.(type) { @@ -2224,7 +2160,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "SubDistrict": if value != nil { switch jtv := value.(type) { @@ -2258,7 +2193,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - case "SubRegion": if value != nil { switch jtv := value.(type) { @@ -2292,7 +2226,6 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } - default: _, _ = key, value @@ -2328,47 +2261,38 @@ func awsRestjson1_deserializeDocumentAddressComponentPhonemes(v **types.AddressC if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Block, value); err != nil { return err } - case "Country": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Country, value); err != nil { return err } - case "District": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.District, value); err != nil { return err } - case "Locality": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Locality, value); err != nil { return err } - case "Region": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Region, value); err != nil { return err } - case "Street": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Street, value); err != nil { return err } - case "SubBlock": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubBlock, value); err != nil { return err } - case "SubDistrict": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubDistrict, value); err != nil { return err } - case "SubRegion": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubRegion, value); err != nil { return err } - default: _, _ = key, value @@ -2404,72 +2328,58 @@ func awsRestjson1_deserializeDocumentAutocompleteAddressHighlights(v **types.Aut if err := awsRestjson1_deserializeDocumentHighlightList(&sv.AddressNumber, value); err != nil { return err } - case "Block": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Block, value); err != nil { return err } - case "Building": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Building, value); err != nil { return err } - case "Country": if err := awsRestjson1_deserializeDocumentCountryHighlights(&sv.Country, value); err != nil { return err } - case "District": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.District, value); err != nil { return err } - case "Intersection": if err := awsRestjson1_deserializeDocumentIntersectionHighlightsList(&sv.Intersection, value); err != nil { return err } - case "Label": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Label, value); err != nil { return err } - case "Locality": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Locality, value); err != nil { return err } - case "PostalCode": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.PostalCode, value); err != nil { return err } - case "Region": if err := awsRestjson1_deserializeDocumentRegionHighlights(&sv.Region, value); err != nil { return err } - case "Street": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Street, value); err != nil { return err } - case "SubBlock": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.SubBlock, value); err != nil { return err } - case "SubDistrict": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.SubDistrict, value); err != nil { return err } - case "SubRegion": if err := awsRestjson1_deserializeDocumentSubRegionHighlights(&sv.SubRegion, value); err != nil { return err } - default: _, _ = key, value @@ -2505,12 +2415,10 @@ func awsRestjson1_deserializeDocumentAutocompleteHighlights(v **types.Autocomple if err := awsRestjson1_deserializeDocumentAutocompleteAddressHighlights(&sv.Address, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -2546,7 +2454,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -2559,12 +2466,10 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Distance = i64 } - case "Highlights": if err := awsRestjson1_deserializeDocumentAutocompleteHighlights(&sv.Highlights, value); err != nil { return err } - case "Language": if value != nil { jtv, ok := value.(string) @@ -2573,7 +2478,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Language = ptr.String(jtv) } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -2582,7 +2486,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -2591,7 +2494,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -2600,7 +2502,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PoliticalView = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -2609,7 +2510,6 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -2744,7 +2644,6 @@ func awsRestjson1_deserializeDocumentBusinessChain(v **types.BusinessChain, valu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2753,7 +2652,6 @@ func awsRestjson1_deserializeDocumentBusinessChain(v **types.BusinessChain, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2827,7 +2725,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Id = ptr.String(jtv) } - case "LocalizedName": if value != nil { jtv, ok := value.(string) @@ -2836,7 +2733,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.LocalizedName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2845,7 +2741,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Name = ptr.String(jtv) } - case "Primary": if value != nil { jtv, ok := value.(bool) @@ -2854,7 +2749,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Primary = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2924,7 +2818,6 @@ func awsRestjson1_deserializeDocumentComponentMatchScores(v **types.ComponentMat if err := awsRestjson1_deserializeDocumentAddressComponentMatchScores(&sv.Address, value); err != nil { return err } - case "Title": if value != nil { switch jtv := value.(type) { @@ -2958,7 +2851,6 @@ func awsRestjson1_deserializeDocumentComponentMatchScores(v **types.ComponentMat } } - default: _, _ = key, value @@ -2994,7 +2886,6 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3003,7 +2894,6 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va } sv.Label = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3012,7 +2902,6 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3082,22 +2971,18 @@ func awsRestjson1_deserializeDocumentContacts(v **types.Contacts, value interfac if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Emails, value); err != nil { return err } - case "Faxes": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Faxes, value); err != nil { return err } - case "Phones": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Phones, value); err != nil { return err } - case "Websites": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Websites, value); err != nil { return err } - default: _, _ = key, value @@ -3137,7 +3022,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Code2 = ptr.String(jtv) } - case "Code3": if value != nil { jtv, ok := value.(string) @@ -3146,7 +3030,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Code3 = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3155,7 +3038,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3191,12 +3073,10 @@ func awsRestjson1_deserializeDocumentCountryHighlights(v **types.CountryHighligh if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } - case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } - default: _, _ = key, value @@ -3236,7 +3116,6 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.Id = ptr.String(jtv) } - case "LocalizedName": if value != nil { jtv, ok := value.(string) @@ -3245,7 +3124,6 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.LocalizedName = ptr.String(jtv) } - case "Primary": if value != nil { jtv, ok := value.(bool) @@ -3254,7 +3132,6 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.Primary = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3324,12 +3201,10 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -3338,12 +3213,10 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.AddressNumberCorrected = ptr.Bool(jtv) } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -3356,22 +3229,18 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.Distance = i64 } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "MatchScores": if err := awsRestjson1_deserializeDocumentMatchScoreDetails(&sv.MatchScores, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -3380,7 +3249,6 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -3389,7 +3257,6 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -3398,22 +3265,18 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -3422,7 +3285,6 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -3500,7 +3362,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndIndex = ptr.Int32(int32(i64)) } - case "StartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3513,7 +3374,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.StartIndex = ptr.Int32(int32(i64)) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3522,7 +3382,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3586,15 +3445,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3602,15 +3455,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3709,7 +3558,6 @@ func awsRestjson1_deserializeDocumentMatchScoreDetails(v **types.MatchScoreDetai if err := awsRestjson1_deserializeDocumentComponentMatchScores(&sv.Components, value); err != nil { return err } - case "Overall": if value != nil { switch jtv := value.(type) { @@ -3743,7 +3591,6 @@ func awsRestjson1_deserializeDocumentMatchScoreDetails(v **types.MatchScoreDetai } } - default: _, _ = key, value @@ -3840,17 +3687,14 @@ func awsRestjson1_deserializeDocumentOpeningHours(v **types.OpeningHours, value if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Components": if err := awsRestjson1_deserializeDocumentOpeningHoursComponentsList(&sv.Components, value); err != nil { return err } - case "Display": if err := awsRestjson1_deserializeDocumentOpeningHoursDisplayList(&sv.Display, value); err != nil { return err } - case "OpenNow": if value != nil { jtv, ok := value.(bool) @@ -3859,7 +3703,6 @@ func awsRestjson1_deserializeDocumentOpeningHours(v **types.OpeningHours, value } sv.OpenNow = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3899,7 +3742,6 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.OpenDuration = ptr.String(jtv) } - case "OpenTime": if value != nil { jtv, ok := value.(string) @@ -3908,7 +3750,6 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.OpenTime = ptr.String(jtv) } - case "Recurrence": if value != nil { jtv, ok := value.(string) @@ -3917,7 +3758,6 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.Recurrence = ptr.String(jtv) } - default: _, _ = key, value @@ -4057,12 +3897,10 @@ func awsRestjson1_deserializeDocumentPhonemeDetails(v **types.PhonemeDetails, va if err := awsRestjson1_deserializeDocumentAddressComponentPhonemes(&sv.Address, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -4102,7 +3940,6 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Language = ptr.String(jtv) } - case "Preferred": if value != nil { jtv, ok := value.(bool) @@ -4111,7 +3948,6 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Preferred = ptr.Bool(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4120,7 +3956,6 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4255,7 +4090,6 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalAuthority = types.PostalAuthority(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -4264,7 +4098,6 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalCode = ptr.String(jtv) } - case "PostalCodeType": if value != nil { jtv, ok := value.(string) @@ -4273,17 +4106,14 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalCodeType = types.PostalCodeType(jtv) } - case "UspsZip": if err := awsRestjson1_deserializeDocumentUspsZip(&sv.UspsZip, value); err != nil { return err } - case "UspsZipPlus4": if err := awsRestjson1_deserializeDocumentUspsZipPlus4(&sv.UspsZipPlus4, value); err != nil { return err } - default: _, _ = key, value @@ -4361,7 +4191,6 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.EndIndex = ptr.Int32(int32(i64)) } - case "OriginalTerm": if value != nil { jtv, ok := value.(string) @@ -4370,7 +4199,6 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.OriginalTerm = ptr.String(jtv) } - case "RefinedTerm": if value != nil { jtv, ok := value.(string) @@ -4379,7 +4207,6 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.RefinedTerm = ptr.String(jtv) } - case "StartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4392,7 +4219,6 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.StartIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4466,7 +4292,6 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Code = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4475,7 +4300,6 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4511,12 +4335,10 @@ func awsRestjson1_deserializeDocumentRegionHighlights(v **types.RegionHighlights if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } - case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } - default: _, _ = key, value @@ -4552,12 +4374,10 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4566,12 +4386,10 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.AddressNumberCorrected = ptr.Bool(jtv) } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4584,17 +4402,14 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.Distance = i64 } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4603,7 +4418,6 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4612,7 +4426,6 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4621,22 +4434,18 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -4645,7 +4454,6 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -4715,17 +4523,14 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4734,22 +4539,18 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.AddressNumberCorrected = ptr.Bool(jtv) } - case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4762,27 +4563,22 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.Distance = i64 } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } - case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4791,7 +4587,6 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4800,7 +4595,6 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4809,17 +4603,14 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -4828,7 +4619,6 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -4898,17 +4688,14 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4917,22 +4704,18 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.AddressNumberCorrected = ptr.Bool(jtv) } - case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4945,27 +4728,22 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.Distance = i64 } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } - case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4974,7 +4752,6 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4760,6 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4992,17 +4768,14 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -5011,7 +4784,6 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -5085,7 +4857,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.BaseName = ptr.String(jtv) } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -5094,7 +4865,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Direction = ptr.String(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -5103,7 +4873,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Language = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -5112,7 +4881,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Prefix = ptr.String(jtv) } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -5121,7 +4889,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Suffix = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5130,7 +4897,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Type = ptr.String(jtv) } - case "TypePlacement": if value != nil { jtv, ok := value.(string) @@ -5139,7 +4905,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.TypePlacement = types.TypePlacement(jtv) } - case "TypeSeparator": if value != nil { jtv, ok := value.(string) @@ -5148,7 +4913,6 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.TypeSeparator = ptr.String(jtv) } - default: _, _ = key, value @@ -5222,7 +4986,6 @@ func awsRestjson1_deserializeDocumentSubRegion(v **types.SubRegion, value interf } sv.Code = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5231,7 +4994,6 @@ func awsRestjson1_deserializeDocumentSubRegion(v **types.SubRegion, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5267,12 +5029,10 @@ func awsRestjson1_deserializeDocumentSubRegionHighlights(v **types.SubRegionHigh if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } - case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } - default: _, _ = key, value @@ -5308,7 +5068,6 @@ func awsRestjson1_deserializeDocumentSuggestAddressHighlights(v **types.SuggestA if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Label, value); err != nil { return err } - default: _, _ = key, value @@ -5344,12 +5103,10 @@ func awsRestjson1_deserializeDocumentSuggestHighlights(v **types.SuggestHighligh if err := awsRestjson1_deserializeDocumentSuggestAddressHighlights(&sv.Address, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -5385,27 +5142,22 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } - case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } - case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -5418,22 +5170,18 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.Distance = i64 } - case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } - case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } - case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -5442,7 +5190,6 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PlaceId = ptr.String(jtv) } - case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -5451,7 +5198,6 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PlaceType = types.PlaceType(jtv) } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -5460,17 +5206,14 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PoliticalView = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - default: _, _ = key, value @@ -5510,7 +5253,6 @@ func awsRestjson1_deserializeDocumentSuggestQueryResult(v **types.SuggestQueryRe } sv.QueryId = ptr.String(jtv) } - case "QueryType": if value != nil { jtv, ok := value.(string) @@ -5519,7 +5261,6 @@ func awsRestjson1_deserializeDocumentSuggestQueryResult(v **types.SuggestQueryRe } sv.QueryType = types.QueryType(jtv) } - default: _, _ = key, value @@ -5555,17 +5296,14 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt if err := awsRestjson1_deserializeDocumentSuggestHighlights(&sv.Highlights, value); err != nil { return err } - case "Place": if err := awsRestjson1_deserializeDocumentSuggestPlaceResult(&sv.Place, value); err != nil { return err } - case "Query": if err := awsRestjson1_deserializeDocumentSuggestQueryResult(&sv.Query, value); err != nil { return err } - case "SuggestResultItemType": if value != nil { jtv, ok := value.(string) @@ -5574,7 +5312,6 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt } sv.SuggestResultItemType = types.SuggestResultItemType(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -5583,7 +5320,6 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -5647,15 +5383,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5663,15 +5393,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5706,7 +5432,6 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Name = ptr.String(jtv) } - case "Offset": if value != nil { jtv, ok := value.(string) @@ -5715,7 +5440,6 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Offset = ptr.String(jtv) } - case "OffsetSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5728,7 +5452,6 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.OffsetSeconds = i64 } - default: _, _ = key, value @@ -5768,7 +5491,6 @@ func awsRestjson1_deserializeDocumentUspsZip(v **types.UspsZip, value interface{ } sv.ZipClassificationCode = types.ZipClassificationCode(jtv) } - default: _, _ = key, value @@ -5808,7 +5530,6 @@ func awsRestjson1_deserializeDocumentUspsZipPlus4(v **types.UspsZipPlus4, value } sv.RecordTypeCode = types.RecordTypeCode(jtv) } - default: _, _ = key, value @@ -5838,20 +5559,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5859,7 +5573,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5868,15 +5581,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5911,7 +5620,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5920,7 +5628,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/georoutes/deserializers.go b/service/georoutes/deserializers.go index 1852e211ec1..a78fb9f5ed1 100644 --- a/service/georoutes/deserializers.go +++ b/service/georoutes/deserializers.go @@ -202,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.ArrivalTime = ptr.String(jtv) } - case "DepartureTime": if value != nil { jtv, ok := value.(string) @@ -211,7 +210,6 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.DepartureTime = ptr.String(jtv) } - case "IsolineGeometryFormat": if value != nil { jtv, ok := value.(string) @@ -220,22 +218,18 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.IsolineGeometryFormat = types.GeometryFormat(jtv) } - case "Isolines": if err := awsRestjson1_deserializeDocumentIsolineList(&sv.Isolines, value); err != nil { return err } - case "SnappedDestination": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedDestination, value); err != nil { return err } - case "SnappedOrigin": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedOrigin, value); err != nil { return err } - default: _, _ = key, value @@ -421,17 +415,14 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteMatrixOutput(v **CalculateR } sv.ErrorCount = ptr.Int32(int32(i64)) } - case "RouteMatrix": if err := awsRestjson1_deserializeDocumentRouteMatrix(&sv.RouteMatrix, value); err != nil { return err } - case "RoutingBoundary": if err := awsRestjson1_deserializeDocumentRouteMatrixBoundary(&sv.RoutingBoundary, value); err != nil { return err } - default: _, _ = key, value @@ -613,17 +604,14 @@ func awsRestjson1_deserializeOpDocumentCalculateRoutesOutput(v **CalculateRoutes } sv.LegGeometryFormat = types.GeometryFormat(jtv) } - case "Notices": if err := awsRestjson1_deserializeDocumentRouteResponseNoticeList(&sv.Notices, value); err != nil { return err } - case "Routes": if err := awsRestjson1_deserializeDocumentRouteList(&sv.Routes, value); err != nil { return err } - default: _, _ = key, value @@ -801,7 +789,6 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo if err := awsRestjson1_deserializeDocumentWaypointOptimizationConnectionList(&sv.Connections, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -814,7 +801,6 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -827,22 +813,18 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo } sv.Duration = i64 } - case "ImpedingWaypoints": if err := awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypointList(&sv.ImpedingWaypoints, value); err != nil { return err } - case "OptimizedWaypoints": if err := awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypointList(&sv.OptimizedWaypoints, value); err != nil { return err } - case "TimeBreakdown": if err := awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(&sv.TimeBreakdown, value); err != nil { return err } - default: _, _ = key, value @@ -1020,12 +1002,10 @@ func awsRestjson1_deserializeOpDocumentSnapToRoadsOutput(v **SnapToRoadsOutput, if err := awsRestjson1_deserializeDocumentRoadSnapNoticeList(&sv.Notices, value); err != nil { return err } - case "SnappedGeometry": if err := awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(&sv.SnappedGeometry, value); err != nil { return err } - case "SnappedGeometryFormat": if value != nil { jtv, ok := value.(string) @@ -1034,12 +1014,10 @@ func awsRestjson1_deserializeOpDocumentSnapToRoadsOutput(v **SnapToRoadsOutput, } sv.SnappedGeometryFormat = types.GeometryFormat(jtv) } - case "SnappedTracePoints": if err := awsRestjson1_deserializeDocumentRoadSnapSnappedTracePointList(&sv.SnappedTracePoints, value); err != nil { return err } - default: _, _ = key, value @@ -1213,15 +1191,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1229,15 +1201,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1329,7 +1297,6 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) if err := awsRestjson1_deserializeDocumentPosition(&sv.Center, value); err != nil { return err } - case "Radius": if value != nil { switch jtv := value.(type) { @@ -1363,7 +1330,6 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) } } - default: _, _ = key, value @@ -1433,15 +1399,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1449,15 +1409,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1488,7 +1444,6 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ if err := awsRestjson1_deserializeDocumentIsolineConnectionList(&sv.Connections, value); err != nil { return err } - case "DistanceThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -1501,12 +1456,10 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ } sv.DistanceThreshold = i64 } - case "Geometries": if err := awsRestjson1_deserializeDocumentIsolineShapeGeometryList(&sv.Geometries, value); err != nil { return err } - case "TimeThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -1519,7 +1472,6 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ } sv.TimeThreshold = i64 } - default: _, _ = key, value @@ -1563,12 +1515,10 @@ func awsRestjson1_deserializeDocumentIsolineConnection(v **types.IsolineConnecti } sv.FromPolygonIndex = ptr.Int32(int32(i64)) } - case "Geometry": if err := awsRestjson1_deserializeDocumentIsolineConnectionGeometry(&sv.Geometry, value); err != nil { return err } - case "ToPolygonIndex": if value != nil { jtv, ok := value.(json.Number) @@ -1581,7 +1531,6 @@ func awsRestjson1_deserializeDocumentIsolineConnection(v **types.IsolineConnecti } sv.ToPolygonIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1617,7 +1566,6 @@ func awsRestjson1_deserializeDocumentIsolineConnectionGeometry(v **types.Isoline if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } - case "Polyline": if value != nil { jtv, ok := value.(string) @@ -1626,7 +1574,6 @@ func awsRestjson1_deserializeDocumentIsolineConnectionGeometry(v **types.Isoline } sv.Polyline = ptr.String(jtv) } - default: _, _ = key, value @@ -1730,12 +1677,10 @@ func awsRestjson1_deserializeDocumentIsolineShapeGeometry(v **types.IsolineShape if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } - case "PolylinePolygon": if err := awsRestjson1_deserializeDocumentPolylineRingList(&sv.PolylinePolygon, value); err != nil { return err } - default: _, _ = key, value @@ -1905,7 +1850,6 @@ func awsRestjson1_deserializeDocumentLocalizedString(v **types.LocalizedString, } sv.Language = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1914,7 +1858,6 @@ func awsRestjson1_deserializeDocumentLocalizedString(v **types.LocalizedString, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2146,7 +2089,6 @@ func awsRestjson1_deserializeDocumentRoadSnapNotice(v **types.RoadSnapNotice, va } sv.Code = types.RoadSnapNoticeCode(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -2155,12 +2097,10 @@ func awsRestjson1_deserializeDocumentRoadSnapNotice(v **types.RoadSnapNotice, va } sv.Title = ptr.String(jtv) } - case "TracePointIndexes": if err := awsRestjson1_deserializeDocumentRoadSnapTracePointIndexList(&sv.TracePointIndexes, value); err != nil { return err } - default: _, _ = key, value @@ -2230,7 +2170,6 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(v **types.RoadSnapS if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } - case "Polyline": if value != nil { jtv, ok := value.(string) @@ -2239,7 +2178,6 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(v **types.RoadSnapS } sv.Polyline = ptr.String(jtv) } - default: _, _ = key, value @@ -2304,17 +2242,14 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedTracePoint(v **types.RoadSna } } - case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.OriginalPosition, value); err != nil { return err } - case "SnappedPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedPosition, value); err != nil { return err } - default: _, _ = key, value @@ -2424,17 +2359,14 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e if err := awsRestjson1_deserializeDocumentRouteLegList(&sv.Legs, value); err != nil { return err } - case "MajorRoadLabels": if err := awsRestjson1_deserializeDocumentRouteMajorRoadLabelList(&sv.MajorRoadLabels, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentRouteSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -2470,7 +2402,6 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2479,7 +2410,6 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2513,7 +2443,6 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2522,7 +2451,6 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -2558,7 +2486,6 @@ func awsRestjson1_deserializeDocumentRouteContinueStepDetails(v **types.RouteCon if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - default: _, _ = key, value @@ -2594,7 +2521,6 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2603,7 +2529,6 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2637,7 +2562,6 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2646,7 +2570,6 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -2682,7 +2605,6 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "RelativeExit": if value != nil { jtv, ok := value.(json.Number) @@ -2695,7 +2617,6 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.RelativeExit = ptr.Int32(int32(i64)) } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2704,7 +2625,6 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2738,7 +2658,6 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2747,7 +2666,6 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -2791,7 +2709,6 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Duration = i64 } - case "Instruction": if value != nil { jtv, ok := value.(string) @@ -2800,7 +2717,6 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Instruction = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2809,7 +2725,6 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Type = types.RouteFerryAfterTravelStepType(jtv) } - default: _, _ = key, value @@ -2879,7 +2794,6 @@ func awsRestjson1_deserializeDocumentRouteFerryArrival(v **types.RouteFerryArriv if err := awsRestjson1_deserializeDocumentRouteFerryPlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -2888,7 +2802,6 @@ func awsRestjson1_deserializeDocumentRouteFerryArrival(v **types.RouteFerryArriv } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -2932,7 +2845,6 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Duration = i64 } - case "Instruction": if value != nil { jtv, ok := value.(string) @@ -2941,7 +2853,6 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Instruction = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2950,7 +2861,6 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Type = types.RouteFerryBeforeTravelStepType(jtv) } - default: _, _ = key, value @@ -3020,7 +2930,6 @@ func awsRestjson1_deserializeDocumentRouteFerryDeparture(v **types.RouteFerryDep if err := awsRestjson1_deserializeDocumentRouteFerryPlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -3029,7 +2938,6 @@ func awsRestjson1_deserializeDocumentRouteFerryDeparture(v **types.RouteFerryDep } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -3065,32 +2973,26 @@ func awsRestjson1_deserializeDocumentRouteFerryLegDetails(v **types.RouteFerryLe if err := awsRestjson1_deserializeDocumentRouteFerryAfterTravelStepList(&sv.AfterTravelSteps, value); err != nil { return err } - case "Arrival": if err := awsRestjson1_deserializeDocumentRouteFerryArrival(&sv.Arrival, value); err != nil { return err } - case "BeforeTravelSteps": if err := awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStepList(&sv.BeforeTravelSteps, value); err != nil { return err } - case "Departure": if err := awsRestjson1_deserializeDocumentRouteFerryDeparture(&sv.Departure, value); err != nil { return err } - case "Notices": if err := awsRestjson1_deserializeDocumentRouteFerryNoticeList(&sv.Notices, value); err != nil { return err } - case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } - case "RouteName": if value != nil { jtv, ok := value.(string) @@ -3099,22 +3001,18 @@ func awsRestjson1_deserializeDocumentRouteFerryLegDetails(v **types.RouteFerryLe } sv.RouteName = ptr.String(jtv) } - case "Spans": if err := awsRestjson1_deserializeDocumentRouteFerrySpanList(&sv.Spans, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentRouteFerrySummary(&sv.Summary, value); err != nil { return err } - case "TravelSteps": if err := awsRestjson1_deserializeDocumentRouteFerryTravelStepList(&sv.TravelSteps, value); err != nil { return err } - default: _, _ = key, value @@ -3154,7 +3052,6 @@ func awsRestjson1_deserializeDocumentRouteFerryNotice(v **types.RouteFerryNotice } sv.Code = types.RouteFerryNoticeCode(jtv) } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -3163,7 +3060,6 @@ func awsRestjson1_deserializeDocumentRouteFerryNotice(v **types.RouteFerryNotice } sv.Impact = types.RouteNoticeImpact(jtv) } - default: _, _ = key, value @@ -3241,7 +3137,6 @@ func awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(v **types.RouteFe } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3254,7 +3149,6 @@ func awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(v **types.RouteFe } sv.Duration = i64 } - default: _, _ = key, value @@ -3294,17 +3188,14 @@ func awsRestjson1_deserializeDocumentRouteFerryPlace(v **types.RouteFerryPlace, } sv.Name = ptr.String(jtv) } - case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } - case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } - case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3317,7 +3208,6 @@ func awsRestjson1_deserializeDocumentRouteFerryPlace(v **types.RouteFerryPlace, } sv.WaypointIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3357,7 +3247,6 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Country = ptr.String(jtv) } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -3370,7 +3259,6 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3383,7 +3271,6 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Duration = i64 } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3396,12 +3283,10 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -3410,7 +3295,6 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -3480,12 +3364,10 @@ func awsRestjson1_deserializeDocumentRouteFerrySummary(v **types.RouteFerrySumma if err := awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(&sv.Overview, value); err != nil { return err } - case "TravelOnly": if err := awsRestjson1_deserializeDocumentRouteFerryTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } - default: _, _ = key, value @@ -3529,7 +3411,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelOnlySummary(v **types.Route } sv.Duration = i64 } - default: _, _ = key, value @@ -3573,7 +3454,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3586,7 +3466,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Duration = i64 } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3599,7 +3478,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Instruction": if value != nil { jtv, ok := value.(string) @@ -3608,7 +3486,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Instruction = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3617,7 +3494,6 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Type = types.RouteFerryTravelStepType(jtv) } - default: _, _ = key, value @@ -3723,7 +3599,6 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -3732,7 +3607,6 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -3766,7 +3640,6 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -3775,7 +3648,6 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -3811,12 +3683,10 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac if err := awsRestjson1_deserializeDocumentRouteFerryLegDetails(&sv.FerryLegDetails, value); err != nil { return err } - case "Geometry": if err := awsRestjson1_deserializeDocumentRouteLegGeometry(&sv.Geometry, value); err != nil { return err } - case "Language": if value != nil { jtv, ok := value.(string) @@ -3825,12 +3695,10 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.Language = ptr.String(jtv) } - case "PedestrianLegDetails": if err := awsRestjson1_deserializeDocumentRoutePedestrianLegDetails(&sv.PedestrianLegDetails, value); err != nil { return err } - case "TravelMode": if value != nil { jtv, ok := value.(string) @@ -3839,7 +3707,6 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.TravelMode = types.RouteLegTravelMode(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3848,12 +3715,10 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.Type = types.RouteLegType(jtv) } - case "VehicleLegDetails": if err := awsRestjson1_deserializeDocumentRouteVehicleLegDetails(&sv.VehicleLegDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3889,7 +3754,6 @@ func awsRestjson1_deserializeDocumentRouteLegGeometry(v **types.RouteLegGeometry if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } - case "Polyline": if value != nil { jtv, ok := value.(string) @@ -3898,7 +3762,6 @@ func awsRestjson1_deserializeDocumentRouteLegGeometry(v **types.RouteLegGeometry } sv.Polyline = ptr.String(jtv) } - default: _, _ = key, value @@ -4002,12 +3865,10 @@ func awsRestjson1_deserializeDocumentRouteMajorRoadLabel(v **types.RouteMajorRoa if err := awsRestjson1_deserializeDocumentLocalizedString(&sv.RoadName, value); err != nil { return err } - case "RouteNumber": if err := awsRestjson1_deserializeDocumentRouteNumber(&sv.RouteNumber, value); err != nil { return err } - default: _, _ = key, value @@ -4117,7 +3978,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(v **types.RouteMatrix } sv.Margin = i64 } - case "MaxRadius": if value != nil { jtv, ok := value.(json.Number) @@ -4130,7 +3990,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(v **types.RouteMatrix } sv.MaxRadius = i64 } - default: _, _ = key, value @@ -4166,7 +4025,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundary(v **types.RouteMatrixBo if err := awsRestjson1_deserializeDocumentRouteMatrixBoundaryGeometry(&sv.Geometry, value); err != nil { return err } - case "Unbounded": if value != nil { jtv, ok := value.(bool) @@ -4175,7 +4033,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundary(v **types.RouteMatrixBo } sv.Unbounded = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4211,22 +4068,18 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundaryGeometry(v **types.Route if err := awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(&sv.AutoCircle, value); err != nil { return err } - case "BoundingBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Circle": if err := awsRestjson1_deserializeDocumentCircle(&sv.Circle, value); err != nil { return err } - case "Polygon": if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -4270,7 +4123,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4283,7 +4135,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Duration = i64 } - case "Error": if value != nil { jtv, ok := value.(string) @@ -4292,7 +4143,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Error = types.RouteMatrixErrorCode(jtv) } - default: _, _ = key, value @@ -4370,7 +4220,6 @@ func awsRestjson1_deserializeDocumentRouteNoticeDetailRange(v **types.RouteNotic } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -4383,7 +4232,6 @@ func awsRestjson1_deserializeDocumentRouteNoticeDetailRange(v **types.RouteNotic } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4423,7 +4271,6 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Direction = types.RouteDirection(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -4432,7 +4279,6 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Language = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4441,7 +4287,6 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4511,12 +4356,10 @@ func awsRestjson1_deserializeDocumentRoutePassThroughPlace(v **types.RoutePassTh if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } - case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } - case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4529,7 +4372,6 @@ func awsRestjson1_deserializeDocumentRoutePassThroughPlace(v **types.RoutePassTh } sv.WaypointIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4573,12 +4415,10 @@ func awsRestjson1_deserializeDocumentRoutePassThroughWaypoint(v **types.RoutePas } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Place": if err := awsRestjson1_deserializeDocumentRoutePassThroughPlace(&sv.Place, value); err != nil { return err } - default: _, _ = key, value @@ -4648,7 +4488,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianArrival(v **types.RoutePedes if err := awsRestjson1_deserializeDocumentRoutePedestrianPlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -4657,7 +4496,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianArrival(v **types.RoutePedes } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -4693,7 +4531,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianDeparture(v **types.RoutePed if err := awsRestjson1_deserializeDocumentRoutePedestrianPlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -4702,7 +4539,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianDeparture(v **types.RoutePed } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -4738,37 +4574,30 @@ func awsRestjson1_deserializeDocumentRoutePedestrianLegDetails(v **types.RoutePe if err := awsRestjson1_deserializeDocumentRoutePedestrianArrival(&sv.Arrival, value); err != nil { return err } - case "Departure": if err := awsRestjson1_deserializeDocumentRoutePedestrianDeparture(&sv.Departure, value); err != nil { return err } - case "Notices": if err := awsRestjson1_deserializeDocumentRoutePedestrianNoticeList(&sv.Notices, value); err != nil { return err } - case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } - case "Spans": if err := awsRestjson1_deserializeDocumentRoutePedestrianSpanList(&sv.Spans, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentRoutePedestrianSummary(&sv.Summary, value); err != nil { return err } - case "TravelSteps": if err := awsRestjson1_deserializeDocumentRoutePedestrianTravelStepList(&sv.TravelSteps, value); err != nil { return err } - default: _, _ = key, value @@ -4808,7 +4637,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianNotice(v **types.RoutePedest } sv.Code = types.RoutePedestrianNoticeCode(jtv) } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -4817,7 +4645,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianNotice(v **types.RoutePedest } sv.Impact = types.RouteNoticeImpact(jtv) } - default: _, _ = key, value @@ -4895,7 +4722,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(v **types.Ro } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4908,7 +4734,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(v **types.Ro } sv.Duration = i64 } - default: _, _ = key, value @@ -4948,17 +4773,14 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.Name = ptr.String(jtv) } - case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } - case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } - case "SideOfStreet": if value != nil { jtv, ok := value.(string) @@ -4967,7 +4789,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.SideOfStreet = types.RouteSideOfStreet(jtv) } - case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4980,7 +4801,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.WaypointIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5024,7 +4844,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.BestCaseDuration = i64 } - case "Country": if value != nil { jtv, ok := value.(string) @@ -5033,7 +4852,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Country = ptr.String(jtv) } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -5046,7 +4864,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -5059,12 +4876,10 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Duration = i64 } - case "DynamicSpeed": if err := awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(&sv.DynamicSpeed, value); err != nil { return err } - case "FunctionalClassification": if value != nil { jtv, ok := value.(json.Number) @@ -5077,7 +4892,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.FunctionalClassification = ptr.Int32(int32(i64)) } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5090,22 +4904,18 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Incidents": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Incidents, value); err != nil { return err } - case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } - case "PedestrianAccess": if err := awsRestjson1_deserializeDocumentRouteSpanPedestrianAccessAttributeList(&sv.PedestrianAccess, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -5114,22 +4924,18 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Region = ptr.String(jtv) } - case "RoadAttributes": if err := awsRestjson1_deserializeDocumentRouteSpanRoadAttributeList(&sv.RoadAttributes, value); err != nil { return err } - case "RouteNumbers": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumbers, value); err != nil { return err } - case "SpeedLimit": if err := awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(&sv.SpeedLimit, value); err != nil { return err } - case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -5142,7 +4948,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.TypicalDuration = i64 } - default: _, _ = key, value @@ -5212,12 +5017,10 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSummary(v **types.RoutePedes if err := awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(&sv.Overview, value); err != nil { return err } - case "TravelOnly": if err := awsRestjson1_deserializeDocumentRoutePedestrianTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } - default: _, _ = key, value @@ -5261,7 +5064,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelOnlySummary(v **types. } sv.Duration = i64 } - default: _, _ = key, value @@ -5297,12 +5099,10 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe if err := awsRestjson1_deserializeDocumentRouteContinueStepDetails(&sv.ContinueStepDetails, value); err != nil { return err } - case "CurrentRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.CurrentRoad, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -5315,7 +5115,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -5328,12 +5127,10 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Duration = i64 } - case "ExitNumber": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.ExitNumber, value); err != nil { return err } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5346,7 +5143,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Instruction": if value != nil { jtv, ok := value.(string) @@ -5355,42 +5151,34 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Instruction = ptr.String(jtv) } - case "KeepStepDetails": if err := awsRestjson1_deserializeDocumentRouteKeepStepDetails(&sv.KeepStepDetails, value); err != nil { return err } - case "NextRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.NextRoad, value); err != nil { return err } - case "RoundaboutEnterStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(&sv.RoundaboutEnterStepDetails, value); err != nil { return err } - case "RoundaboutExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(&sv.RoundaboutExitStepDetails, value); err != nil { return err } - case "RoundaboutPassStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(&sv.RoundaboutPassStepDetails, value); err != nil { return err } - case "Signpost": if err := awsRestjson1_deserializeDocumentRouteSignpost(&sv.Signpost, value); err != nil { return err } - case "TurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteTurnStepDetails(&sv.TurnStepDetails, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5399,7 +5187,6 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Type = types.RoutePedestrianTravelStepType(jtv) } - default: _, _ = key, value @@ -5469,7 +5256,6 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5478,7 +5264,6 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5512,7 +5297,6 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5521,7 +5305,6 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -5561,7 +5344,6 @@ func awsRestjson1_deserializeDocumentRouteResponseNotice(v **types.RouteResponse } sv.Code = types.RouteResponseNoticeCode(jtv) } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -5570,7 +5352,6 @@ func awsRestjson1_deserializeDocumentRouteResponseNotice(v **types.RouteResponse } sv.Impact = types.RouteNoticeImpact(jtv) } - default: _, _ = key, value @@ -5640,17 +5421,14 @@ func awsRestjson1_deserializeDocumentRouteRoad(v **types.RouteRoad, value interf if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.RoadName, value); err != nil { return err } - case "RouteNumber": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumber, value); err != nil { return err } - case "Towards": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Towards, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5659,7 +5437,6 @@ func awsRestjson1_deserializeDocumentRouteRoad(v **types.RouteRoad, value interf } sv.Type = types.RouteRoadType(jtv) } - default: _, _ = key, value @@ -5695,7 +5472,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5480,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5738,7 +5513,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5747,7 +5521,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -5783,7 +5556,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "RelativeExit": if value != nil { jtv, ok := value.(json.Number) @@ -5796,7 +5568,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } sv.RelativeExit = ptr.Int32(int32(i64)) } - case "RoundaboutAngle": if value != nil { switch jtv := value.(type) { @@ -5830,7 +5601,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5839,7 +5609,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - default: _, _ = key, value @@ -5875,7 +5644,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5884,7 +5652,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5918,7 +5685,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5927,7 +5693,6 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -5963,7 +5728,6 @@ func awsRestjson1_deserializeDocumentRouteSignpost(v **types.RouteSignpost, valu if err := awsRestjson1_deserializeDocumentRouteSignpostLabelList(&sv.Labels, value); err != nil { return err } - default: _, _ = key, value @@ -5999,12 +5763,10 @@ func awsRestjson1_deserializeDocumentRouteSignpostLabel(v **types.RouteSignpostL if err := awsRestjson1_deserializeDocumentRouteNumber(&sv.RouteNumber, value); err != nil { return err } - case "Text": if err := awsRestjson1_deserializeDocumentLocalizedString(&sv.Text, value); err != nil { return err } - default: _, _ = key, value @@ -6139,7 +5901,6 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } } - case "TurnDuration": if value != nil { jtv, ok := value.(json.Number) @@ -6152,7 +5913,6 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } sv.TurnDuration = i64 } - case "TypicalSpeed": if value != nil { switch jtv := value.(type) { @@ -6186,7 +5946,6 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } } - default: _, _ = key, value @@ -6359,7 +6118,6 @@ func awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(v **types.RouteS } } - case "Unlimited": if value != nil { jtv, ok := value.(bool) @@ -6368,7 +6126,6 @@ func awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(v **types.RouteS } sv.Unlimited = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6448,7 +6205,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -6461,12 +6217,10 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Duration = i64 } - case "Tolls": if err := awsRestjson1_deserializeDocumentRouteTollSummary(&sv.Tolls, value); err != nil { return err } - default: _, _ = key, value @@ -6506,22 +6260,18 @@ func awsRestjson1_deserializeDocumentRouteToll(v **types.RouteToll, value interf } sv.Country = ptr.String(jtv) } - case "PaymentSites": if err := awsRestjson1_deserializeDocumentRouteTollPaymentSiteList(&sv.PaymentSites, value); err != nil { return err } - case "Rates": if err := awsRestjson1_deserializeDocumentRouteTollRateList(&sv.Rates, value); err != nil { return err } - case "Systems": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Systems, value); err != nil { return err } - default: _, _ = key, value @@ -6595,7 +6345,6 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.IncludesReturnTrip = ptr.Bool(jtv) } - case "SeniorPass": if value != nil { jtv, ok := value.(bool) @@ -6604,7 +6353,6 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.SeniorPass = ptr.Bool(jtv) } - case "TransferCount": if value != nil { jtv, ok := value.(json.Number) @@ -6617,7 +6365,6 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.TransferCount = ptr.Int32(int32(i64)) } - case "TripCount": if value != nil { jtv, ok := value.(json.Number) @@ -6630,12 +6377,10 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.TripCount = ptr.Int32(int32(i64)) } - case "ValidityPeriod": if err := awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(&sv.ValidityPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -6675,7 +6420,6 @@ func awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(v **types.Route } sv.Period = types.RouteTollPassValidityPeriodType(jtv) } - case "PeriodCount": if value != nil { jtv, ok := value.(json.Number) @@ -6688,7 +6432,6 @@ func awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(v **types.Route } sv.PeriodCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6764,12 +6507,10 @@ func awsRestjson1_deserializeDocumentRouteTollPaymentSite(v **types.RouteTollPay } sv.Name = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -6843,7 +6584,6 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Currency = ptr.String(jtv) } - case "Estimate": if value != nil { jtv, ok := value.(bool) @@ -6852,7 +6592,6 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Estimate = ptr.Bool(jtv) } - case "PerDuration": if value != nil { jtv, ok := value.(json.Number) @@ -6865,7 +6604,6 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.PerDuration = i64 } - case "Range": if value != nil { jtv, ok := value.(bool) @@ -6874,12 +6612,10 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Range = ptr.Bool(jtv) } - case "RangeValue": if err := awsRestjson1_deserializeDocumentRouteTollPriceValueRange(&sv.RangeValue, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -6913,7 +6649,6 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } } - default: _, _ = key, value @@ -6953,7 +6688,6 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Currency = ptr.String(jtv) } - case "Estimate": if value != nil { jtv, ok := value.(bool) @@ -6962,7 +6696,6 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Estimate = ptr.Bool(jtv) } - case "Range": if value != nil { jtv, ok := value.(bool) @@ -6971,12 +6704,10 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Range = ptr.Bool(jtv) } - case "RangeValue": if err := awsRestjson1_deserializeDocumentRouteTollPriceValueRange(&sv.RangeValue, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -7010,7 +6741,6 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } } - default: _, _ = key, value @@ -7075,7 +6805,6 @@ func awsRestjson1_deserializeDocumentRouteTollPriceValueRange(v **types.RouteTol } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -7109,7 +6838,6 @@ func awsRestjson1_deserializeDocumentRouteTollPriceValueRange(v **types.RouteTol } } - default: _, _ = key, value @@ -7149,12 +6877,10 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.ApplicableTimes = ptr.String(jtv) } - case "ConvertedPrice": if err := awsRestjson1_deserializeDocumentRouteTollPrice(&sv.ConvertedPrice, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7163,12 +6889,10 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.Id = ptr.String(jtv) } - case "LocalPrice": if err := awsRestjson1_deserializeDocumentRouteTollPrice(&sv.LocalPrice, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7177,22 +6901,18 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.Name = ptr.String(jtv) } - case "Pass": if err := awsRestjson1_deserializeDocumentRouteTollPass(&sv.Pass, value); err != nil { return err } - case "PaymentMethods": if err := awsRestjson1_deserializeDocumentRouteTollPaymentMethodList(&sv.PaymentMethods, value); err != nil { return err } - case "Transponders": if err := awsRestjson1_deserializeDocumentRouteTransponderList(&sv.Transponders, value); err != nil { return err } - default: _, _ = key, value @@ -7262,7 +6982,6 @@ func awsRestjson1_deserializeDocumentRouteTollSummary(v **types.RouteTollSummary if err := awsRestjson1_deserializeDocumentRouteTollPriceSummary(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -7302,7 +7021,6 @@ func awsRestjson1_deserializeDocumentRouteTollSystem(v **types.RouteTollSystem, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7376,7 +7094,6 @@ func awsRestjson1_deserializeDocumentRouteTransponder(v **types.RouteTransponder } sv.SystemName = ptr.String(jtv) } - default: _, _ = key, value @@ -7446,7 +7163,6 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -7455,7 +7171,6 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -7489,7 +7204,6 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -7498,7 +7212,6 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -7534,7 +7247,6 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } - case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -7543,7 +7255,6 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } - case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -7577,7 +7288,6 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } } - case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -7586,7 +7296,6 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } - default: _, _ = key, value @@ -7622,7 +7331,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleArrival(v **types.RouteVehicleA if err := awsRestjson1_deserializeDocumentRouteVehiclePlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -7631,7 +7339,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleArrival(v **types.RouteVehicleA } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -7667,7 +7374,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleDeparture(v **types.RouteVehicl if err := awsRestjson1_deserializeDocumentRouteVehiclePlace(&sv.Place, value); err != nil { return err } - case "Time": if value != nil { jtv, ok := value.(string) @@ -7676,7 +7382,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleDeparture(v **types.RouteVehicl } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -7716,7 +7421,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Description = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -7725,7 +7429,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.EndTime = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -7734,7 +7437,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Severity = types.RouteVehicleIncidentSeverity(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -7743,7 +7445,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.StartTime = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7752,7 +7453,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Type = types.RouteVehicleIncidentType(jtv) } - default: _, _ = key, value @@ -7822,62 +7522,50 @@ func awsRestjson1_deserializeDocumentRouteVehicleLegDetails(v **types.RouteVehic if err := awsRestjson1_deserializeDocumentRouteVehicleArrival(&sv.Arrival, value); err != nil { return err } - case "Departure": if err := awsRestjson1_deserializeDocumentRouteVehicleDeparture(&sv.Departure, value); err != nil { return err } - case "Incidents": if err := awsRestjson1_deserializeDocumentRouteVehicleIncidentList(&sv.Incidents, value); err != nil { return err } - case "Notices": if err := awsRestjson1_deserializeDocumentRouteVehicleNoticeList(&sv.Notices, value); err != nil { return err } - case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } - case "Spans": if err := awsRestjson1_deserializeDocumentRouteVehicleSpanList(&sv.Spans, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentRouteVehicleSummary(&sv.Summary, value); err != nil { return err } - case "Tolls": if err := awsRestjson1_deserializeDocumentRouteTollList(&sv.Tolls, value); err != nil { return err } - case "TollSystems": if err := awsRestjson1_deserializeDocumentRouteTollSystemList(&sv.TollSystems, value); err != nil { return err } - case "TravelSteps": if err := awsRestjson1_deserializeDocumentRouteVehicleTravelStepList(&sv.TravelSteps, value); err != nil { return err } - case "TruckRoadTypes": if err := awsRestjson1_deserializeDocumentTruckRoadTypeList(&sv.TruckRoadTypes, value); err != nil { return err } - case "Zones": if err := awsRestjson1_deserializeDocumentRouteZoneList(&sv.Zones, value); err != nil { return err } - default: _, _ = key, value @@ -7917,12 +7605,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleNotice(v **types.RouteVehicleNo } sv.Code = types.RouteVehicleNoticeCode(jtv) } - case "Details": if err := awsRestjson1_deserializeDocumentRouteVehicleNoticeDetailList(&sv.Details, value); err != nil { return err } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -7931,7 +7617,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleNotice(v **types.RouteVehicleNo } sv.Impact = types.RouteNoticeImpact(jtv) } - default: _, _ = key, value @@ -7971,12 +7656,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleNoticeDetail(v **types.RouteVeh } sv.Title = ptr.String(jtv) } - case "ViolatedConstraints": if err := awsRestjson1_deserializeDocumentRouteViolatedConstraints(&sv.ViolatedConstraints, value); err != nil { return err } - default: _, _ = key, value @@ -8088,7 +7771,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.BestCaseDuration = i64 } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -8101,7 +7783,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8114,7 +7795,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.Duration = i64 } - case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8127,7 +7807,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.TypicalDuration = i64 } - default: _, _ = key, value @@ -8167,17 +7846,14 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.Name = ptr.String(jtv) } - case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } - case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } - case "SideOfStreet": if value != nil { jtv, ok := value.(string) @@ -8186,7 +7862,6 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.SideOfStreet = types.RouteSideOfStreet(jtv) } - case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -8199,7 +7874,6 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.WaypointIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8243,12 +7917,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.BestCaseDuration = i64 } - case "CarAccess": if err := awsRestjson1_deserializeDocumentRouteSpanCarAccessAttributeList(&sv.CarAccess, value); err != nil { return err } - case "Country": if value != nil { jtv, ok := value.(string) @@ -8257,7 +7929,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Country = ptr.String(jtv) } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -8270,7 +7941,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8283,12 +7953,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Duration = i64 } - case "DynamicSpeed": if err := awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(&sv.DynamicSpeed, value); err != nil { return err } - case "FunctionalClassification": if value != nil { jtv, ok := value.(json.Number) @@ -8301,7 +7969,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.FunctionalClassification = ptr.Int32(int32(i64)) } - case "Gate": if value != nil { jtv, ok := value.(string) @@ -8310,7 +7977,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Gate = types.RouteSpanGateAttribute(jtv) } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8323,22 +7989,18 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Incidents": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Incidents, value); err != nil { return err } - case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } - case "Notices": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Notices, value); err != nil { return err } - case "RailwayCrossing": if value != nil { jtv, ok := value.(string) @@ -8347,7 +8009,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.RailwayCrossing = types.RouteSpanRailwayCrossingAttribute(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -8356,42 +8017,34 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Region = ptr.String(jtv) } - case "RoadAttributes": if err := awsRestjson1_deserializeDocumentRouteSpanRoadAttributeList(&sv.RoadAttributes, value); err != nil { return err } - case "RouteNumbers": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumbers, value); err != nil { return err } - case "ScooterAccess": if err := awsRestjson1_deserializeDocumentRouteSpanScooterAccessAttributeList(&sv.ScooterAccess, value); err != nil { return err } - case "SpeedLimit": if err := awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(&sv.SpeedLimit, value); err != nil { return err } - case "TollSystems": if err := awsRestjson1_deserializeDocumentIndexList(&sv.TollSystems, value); err != nil { return err } - case "TruckAccess": if err := awsRestjson1_deserializeDocumentRouteSpanTruckAccessAttributeList(&sv.TruckAccess, value); err != nil { return err } - case "TruckRoadTypes": if err := awsRestjson1_deserializeDocumentIndexList(&sv.TruckRoadTypes, value); err != nil { return err } - case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8404,12 +8057,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.TypicalDuration = i64 } - case "Zones": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Zones, value); err != nil { return err } - default: _, _ = key, value @@ -8479,12 +8130,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleSummary(v **types.RouteVehicleS if err := awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(&sv.Overview, value); err != nil { return err } - case "TravelOnly": if err := awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } - default: _, _ = key, value @@ -8528,7 +8177,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.BestCaseDuration = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8541,7 +8189,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.Duration = i64 } - case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8554,7 +8201,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.TypicalDuration = i64 } - default: _, _ = key, value @@ -8590,17 +8236,14 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic if err := awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(&sv.ContinueHighwayStepDetails, value); err != nil { return err } - case "ContinueStepDetails": if err := awsRestjson1_deserializeDocumentRouteContinueStepDetails(&sv.ContinueStepDetails, value); err != nil { return err } - case "CurrentRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.CurrentRoad, value); err != nil { return err } - case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -8613,7 +8256,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Distance = i64 } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8626,22 +8268,18 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Duration = i64 } - case "EnterHighwayStepDetails": if err := awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(&sv.EnterHighwayStepDetails, value); err != nil { return err } - case "ExitNumber": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.ExitNumber, value); err != nil { return err } - case "ExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteExitStepDetails(&sv.ExitStepDetails, value); err != nil { return err } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8654,7 +8292,6 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "Instruction": if value != nil { jtv, ok := value.(string) @@ -8663,47 +8300,38 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Instruction = ptr.String(jtv) } - case "KeepStepDetails": if err := awsRestjson1_deserializeDocumentRouteKeepStepDetails(&sv.KeepStepDetails, value); err != nil { return err } - case "NextRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.NextRoad, value); err != nil { return err } - case "RampStepDetails": if err := awsRestjson1_deserializeDocumentRouteRampStepDetails(&sv.RampStepDetails, value); err != nil { return err } - case "RoundaboutEnterStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(&sv.RoundaboutEnterStepDetails, value); err != nil { return err } - case "RoundaboutExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(&sv.RoundaboutExitStepDetails, value); err != nil { return err } - case "RoundaboutPassStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(&sv.RoundaboutPassStepDetails, value); err != nil { return err } - case "Signpost": if err := awsRestjson1_deserializeDocumentRouteSignpost(&sv.Signpost, value); err != nil { return err } - case "TurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteTurnStepDetails(&sv.TurnStepDetails, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8712,12 +8340,10 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Type = types.RouteVehicleTravelStepType(jtv) } - case "UTurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteUTurnStepDetails(&sv.UTurnStepDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8791,17 +8417,14 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.AllHazardsRestricted = ptr.Bool(jtv) } - case "AxleCount": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.AxleCount, value); err != nil { return err } - case "HazardousCargos": if err := awsRestjson1_deserializeDocumentRouteHazardousCargoTypeList(&sv.HazardousCargos, value); err != nil { return err } - case "MaxHeight": if value != nil { jtv, ok := value.(json.Number) @@ -8814,7 +8437,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxHeight = i64 } - case "MaxKpraLength": if value != nil { jtv, ok := value.(json.Number) @@ -8827,7 +8449,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxKpraLength = i64 } - case "MaxLength": if value != nil { jtv, ok := value.(json.Number) @@ -8840,7 +8461,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxLength = i64 } - case "MaxPayloadCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8853,12 +8473,10 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxPayloadCapacity = i64 } - case "MaxWeight": if err := awsRestjson1_deserializeDocumentRouteWeightConstraint(&sv.MaxWeight, value); err != nil { return err } - case "MaxWeightPerAxle": if value != nil { jtv, ok := value.(json.Number) @@ -8871,12 +8489,10 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxWeightPerAxle = i64 } - case "MaxWeightPerAxleGroup": if err := awsRestjson1_deserializeDocumentWeightPerAxleGroup(&sv.MaxWeightPerAxleGroup, value); err != nil { return err } - case "MaxWidth": if value != nil { jtv, ok := value.(json.Number) @@ -8889,12 +8505,10 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxWidth = i64 } - case "Occupancy": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.Occupancy, value); err != nil { return err } - case "RestrictedTimes": if value != nil { jtv, ok := value.(string) @@ -8903,7 +8517,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.RestrictedTimes = ptr.String(jtv) } - case "TimeDependent": if value != nil { jtv, ok := value.(bool) @@ -8912,12 +8525,10 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TimeDependent = ptr.Bool(jtv) } - case "TrailerCount": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.TrailerCount, value); err != nil { return err } - case "TravelMode": if value != nil { jtv, ok := value.(bool) @@ -8926,7 +8537,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TravelMode = ptr.Bool(jtv) } - case "TruckRoadType": if value != nil { jtv, ok := value.(string) @@ -8935,7 +8545,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TruckRoadType = ptr.String(jtv) } - case "TruckType": if value != nil { jtv, ok := value.(string) @@ -8944,7 +8553,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TruckType = types.RouteTruckType(jtv) } - case "TunnelRestrictionCode": if value != nil { jtv, ok := value.(string) @@ -8953,7 +8561,6 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TunnelRestrictionCode = ptr.String(jtv) } - default: _, _ = key, value @@ -8993,7 +8600,6 @@ func awsRestjson1_deserializeDocumentRouteWeightConstraint(v **types.RouteWeight } sv.Type = types.RouteWeightConstraintType(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -9006,7 +8612,6 @@ func awsRestjson1_deserializeDocumentRouteWeightConstraint(v **types.RouteWeight } sv.Value = i64 } - default: _, _ = key, value @@ -9046,7 +8651,6 @@ func awsRestjson1_deserializeDocumentRouteZone(v **types.RouteZone, value interf } sv.Category = types.RouteZoneCategory(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9055,7 +8659,6 @@ func awsRestjson1_deserializeDocumentRouteZone(v **types.RouteZone, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9119,15 +8722,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9135,15 +8732,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9204,20 +8797,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9225,7 +8811,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9234,15 +8819,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9277,7 +8858,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9286,7 +8866,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9364,7 +8943,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.Distance = i64 } - case "From": if value != nil { jtv, ok := value.(string) @@ -9373,7 +8951,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.From = ptr.String(jtv) } - case "RestDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9386,7 +8963,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.RestDuration = i64 } - case "To": if value != nil { jtv, ok := value.(string) @@ -9395,7 +8971,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.To = ptr.String(jtv) } - case "TravelDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9408,7 +8983,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.TravelDuration = i64 } - case "WaitDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9421,7 +8995,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.WaitDuration = i64 } - default: _, _ = key, value @@ -9495,7 +9068,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraint(v **ty } sv.Constraint = types.WaypointOptimizationConstraint(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -9504,7 +9076,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraint(v **ty } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -9574,7 +9145,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypoint(v **ty if err := awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraintList(&sv.FailedConstraints, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9583,12 +9153,10 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypoint(v **ty } sv.Id = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -9662,7 +9230,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.ArrivalTime = ptr.String(jtv) } - case "DepartureTime": if value != nil { jtv, ok := value.(string) @@ -9671,7 +9238,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.DepartureTime = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9680,12 +9246,10 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.Id = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -9763,7 +9327,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.RestDuration = i64 } - case "ServiceDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9776,7 +9339,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.ServiceDuration = i64 } - case "TravelDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9789,7 +9351,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.TravelDuration = i64 } - case "WaitDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9802,7 +9363,6 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.WaitDuration = i64 } - default: _, _ = key, value @@ -9846,7 +9406,6 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Quad = i64 } - case "Quint": if value != nil { jtv, ok := value.(json.Number) @@ -9859,7 +9418,6 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Quint = i64 } - case "Single": if value != nil { jtv, ok := value.(json.Number) @@ -9872,7 +9430,6 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Single = i64 } - case "Tandem": if value != nil { jtv, ok := value.(json.Number) @@ -9885,7 +9442,6 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Tandem = i64 } - case "Triple": if value != nil { jtv, ok := value.(json.Number) @@ -9898,7 +9454,6 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Triple = i64 } - default: _, _ = key, value diff --git a/service/glacier/deserializers.go b/service/glacier/deserializers.go index c3159312365..ea194432918 100644 --- a/service/glacier/deserializers.go +++ b/service/glacier/deserializers.go @@ -1252,7 +1252,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Action = types.ActionCode(jtv) } - case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -1261,7 +1260,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveId = ptr.String(jtv) } - case "ArchiveSHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -1270,7 +1268,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveSHA256TreeHash = ptr.String(jtv) } - case "ArchiveSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1283,7 +1280,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveSizeInBytes = ptr.Int64(i64) } - case "Completed": if value != nil { jtv, ok := value.(bool) @@ -1292,7 +1288,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Completed = jtv } - case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -1301,7 +1296,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CompletionDate = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -1310,12 +1304,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CreationDate = ptr.String(jtv) } - case "InventoryRetrievalParameters": if err := awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(&sv.InventoryRetrievalParameters, value); err != nil { return err } - case "InventorySizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1328,7 +1320,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.InventorySizeInBytes = ptr.Int64(i64) } - case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -1337,7 +1328,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobDescription = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -1346,7 +1336,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobId = ptr.String(jtv) } - case "JobOutputPath": if value != nil { jtv, ok := value.(string) @@ -1355,12 +1344,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobOutputPath = ptr.String(jtv) } - case "OutputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "RetrievalByteRange": if value != nil { jtv, ok := value.(string) @@ -1369,12 +1356,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.RetrievalByteRange = ptr.String(jtv) } - case "SelectParameters": if err := awsRestjson1_deserializeDocumentSelectParameters(&sv.SelectParameters, value); err != nil { return err } - case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -1383,7 +1368,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.SHA256TreeHash = ptr.String(jtv) } - case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -1392,7 +1376,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.SNSTopic = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1401,7 +1384,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.StatusCode = types.StatusCode(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -1410,7 +1392,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.StatusMessage = ptr.String(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -1419,7 +1400,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Tier = ptr.String(jtv) } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -1428,7 +1408,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.VaultARN = ptr.String(jtv) } - default: _, _ = key, value @@ -1593,7 +1572,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.CreationDate = ptr.String(jtv) } - case "LastInventoryDate": if value != nil { jtv, ok := value.(string) @@ -1602,7 +1580,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.LastInventoryDate = ptr.String(jtv) } - case "NumberOfArchives": if value != nil { jtv, ok := value.(json.Number) @@ -1615,7 +1592,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.NumberOfArchives = i64 } - case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1628,7 +1604,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.SizeInBytes = i64 } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -1637,7 +1612,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.VaultARN = ptr.String(jtv) } - case "VaultName": if value != nil { jtv, ok := value.(string) @@ -1646,7 +1620,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.VaultName = ptr.String(jtv) } - default: _, _ = key, value @@ -1804,7 +1777,6 @@ func awsRestjson1_deserializeOpDocumentGetDataRetrievalPolicyOutput(v **GetDataR if err := awsRestjson1_deserializeDocumentDataRetrievalPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -2115,7 +2087,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultAccessPolicyOutput(v **GetVaultAc if err := awsRestjson1_deserializeDocumentVaultAccessPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -2280,7 +2251,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.CreationDate = ptr.String(jtv) } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -2289,7 +2259,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.ExpirationDate = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -2298,7 +2267,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.Policy = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2307,7 +2275,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -2468,7 +2435,6 @@ func awsRestjson1_deserializeOpDocumentGetVaultNotificationsOutput(v **GetVaultN if err := awsRestjson1_deserializeDocumentVaultNotificationConfig(&sv.VaultNotificationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2995,7 +2961,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobList(&sv.JobList, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -3004,7 +2969,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -3169,12 +3133,10 @@ func awsRestjson1_deserializeOpDocumentListMultipartUploadsOutput(v **ListMultip } sv.Marker = ptr.String(jtv) } - case "UploadsList": if err := awsRestjson1_deserializeDocumentUploadsList(&sv.UploadsList, value); err != nil { return err } - default: _, _ = key, value @@ -3339,7 +3301,6 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.ArchiveDescription = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -3348,7 +3309,6 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.CreationDate = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -3357,7 +3317,6 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.Marker = ptr.String(jtv) } - case "MultipartUploadId": if value != nil { jtv, ok := value.(string) @@ -3366,12 +3325,10 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.MultipartUploadId = ptr.String(jtv) } - case "Parts": if err := awsRestjson1_deserializeDocumentPartList(&sv.Parts, value); err != nil { return err } - case "PartSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3384,7 +3341,6 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.PartSizeInBytes = i64 } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -3393,7 +3349,6 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.VaultARN = ptr.String(jtv) } - default: _, _ = key, value @@ -3551,7 +3506,6 @@ func awsRestjson1_deserializeOpDocumentListProvisionedCapacityOutput(v **ListPro if err := awsRestjson1_deserializeDocumentProvisionedCapacityList(&sv.ProvisionedCapacityList, value); err != nil { return err } - default: _, _ = key, value @@ -3712,7 +3666,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForVaultOutput(v **ListTagsForVau if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3877,12 +3830,10 @@ func awsRestjson1_deserializeOpDocumentListVaultsOutput(v **ListVaultsOutput, va } sv.Marker = ptr.String(jtv) } - case "VaultList": if err := awsRestjson1_deserializeDocumentVaultList(&sv.VaultList, value); err != nil { return err } - default: _, _ = key, value @@ -5013,7 +4964,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.Comments = ptr.String(jtv) } - case "FieldDelimiter": if value != nil { jtv, ok := value.(string) @@ -5022,7 +4972,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.FieldDelimiter = ptr.String(jtv) } - case "FileHeaderInfo": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4980,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.FileHeaderInfo = types.FileHeaderInfo(jtv) } - case "QuoteCharacter": if value != nil { jtv, ok := value.(string) @@ -5040,7 +4988,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.QuoteCharacter = ptr.String(jtv) } - case "QuoteEscapeCharacter": if value != nil { jtv, ok := value.(string) @@ -5049,7 +4996,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.QuoteEscapeCharacter = ptr.String(jtv) } - case "RecordDelimiter": if value != nil { jtv, ok := value.(string) @@ -5058,7 +5004,6 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.RecordDelimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -5098,7 +5043,6 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.FieldDelimiter = ptr.String(jtv) } - case "QuoteCharacter": if value != nil { jtv, ok := value.(string) @@ -5107,7 +5051,6 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteCharacter = ptr.String(jtv) } - case "QuoteEscapeCharacter": if value != nil { jtv, ok := value.(string) @@ -5116,7 +5059,6 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteEscapeCharacter = ptr.String(jtv) } - case "QuoteFields": if value != nil { jtv, ok := value.(string) @@ -5125,7 +5067,6 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteFields = types.QuoteFields(jtv) } - case "RecordDelimiter": if value != nil { jtv, ok := value.(string) @@ -5134,7 +5075,6 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.RecordDelimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -5170,7 +5110,6 @@ func awsRestjson1_deserializeDocumentDataRetrievalPolicy(v **types.DataRetrieval if err := awsRestjson1_deserializeDocumentDataRetrievalRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -5214,7 +5153,6 @@ func awsRestjson1_deserializeDocumentDataRetrievalRule(v **types.DataRetrievalRu } sv.BytesPerHour = ptr.Int64(i64) } - case "Strategy": if value != nil { jtv, ok := value.(string) @@ -5223,7 +5161,6 @@ func awsRestjson1_deserializeDocumentDataRetrievalRule(v **types.DataRetrievalRu } sv.Strategy = ptr.String(jtv) } - default: _, _ = key, value @@ -5297,7 +5234,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.CreationDate = ptr.String(jtv) } - case "LastInventoryDate": if value != nil { jtv, ok := value.(string) @@ -5306,7 +5242,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.LastInventoryDate = ptr.String(jtv) } - case "NumberOfArchives": if value != nil { jtv, ok := value.(json.Number) @@ -5319,7 +5254,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.NumberOfArchives = i64 } - case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5332,7 +5266,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.SizeInBytes = i64 } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5274,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.VaultARN = ptr.String(jtv) } - case "VaultName": if value != nil { jtv, ok := value.(string) @@ -5350,7 +5282,6 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.VaultName = ptr.String(jtv) } - default: _, _ = key, value @@ -5390,7 +5321,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.EncryptionType = types.EncryptionType(jtv) } - case "KMSContext": if value != nil { jtv, ok := value.(string) @@ -5399,7 +5329,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KMSContext = ptr.String(jtv) } - case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -5408,7 +5337,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KMSKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -5448,7 +5376,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Action = types.ActionCode(jtv) } - case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -5457,7 +5384,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveId = ptr.String(jtv) } - case "ArchiveSHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -5466,7 +5392,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveSHA256TreeHash = ptr.String(jtv) } - case "ArchiveSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5479,7 +5404,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveSizeInBytes = ptr.Int64(i64) } - case "Completed": if value != nil { jtv, ok := value.(bool) @@ -5488,7 +5412,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Completed = jtv } - case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -5497,7 +5420,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.CompletionDate = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5506,12 +5428,10 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.CreationDate = ptr.String(jtv) } - case "InventoryRetrievalParameters": if err := awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(&sv.InventoryRetrievalParameters, value); err != nil { return err } - case "InventorySizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5524,7 +5444,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.InventorySizeInBytes = ptr.Int64(i64) } - case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -5533,7 +5452,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobDescription = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -5542,7 +5460,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobId = ptr.String(jtv) } - case "JobOutputPath": if value != nil { jtv, ok := value.(string) @@ -5551,12 +5468,10 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobOutputPath = ptr.String(jtv) } - case "OutputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "RetrievalByteRange": if value != nil { jtv, ok := value.(string) @@ -5565,12 +5480,10 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.RetrievalByteRange = ptr.String(jtv) } - case "SelectParameters": if err := awsRestjson1_deserializeDocumentSelectParameters(&sv.SelectParameters, value); err != nil { return err } - case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -5579,7 +5492,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.SHA256TreeHash = ptr.String(jtv) } - case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -5588,7 +5500,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.SNSTopic = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -5597,7 +5508,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.StatusCode = types.StatusCode(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5606,7 +5516,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.StatusMessage = ptr.String(jtv) } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -5615,7 +5524,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Tier = ptr.String(jtv) } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -5624,7 +5532,6 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.VaultARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5660,7 +5567,6 @@ func awsRestjson1_deserializeDocumentGrant(v **types.Grant, value interface{}) e if err := awsRestjson1_deserializeDocumentGrantee(&sv.Grantee, value); err != nil { return err } - case "Permission": if value != nil { jtv, ok := value.(string) @@ -5669,7 +5575,6 @@ func awsRestjson1_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.Permission = types.Permission(jtv) } - default: _, _ = key, value @@ -5709,7 +5614,6 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.DisplayName = ptr.String(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5718,7 +5622,6 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.EmailAddress = ptr.String(jtv) } - case "ID": if value != nil { jtv, ok := value.(string) @@ -5727,7 +5630,6 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.ID = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5736,7 +5638,6 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.Type = types.Type(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -5745,7 +5646,6 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -5817,7 +5717,6 @@ func awsRestjson1_deserializeDocumentInputSerialization(v **types.InputSerializa if err := awsRestjson1_deserializeDocumentCSVInput(&sv.Csv, value); err != nil { return err } - default: _, _ = key, value @@ -5847,13 +5746,7 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5863,8 +5756,7 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5872,7 +5764,6 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5881,15 +5772,11 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5914,13 +5801,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5930,8 +5811,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5939,7 +5819,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5948,15 +5827,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5991,7 +5866,6 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.EndDate = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -6000,7 +5874,6 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Format = ptr.String(jtv) } - case "Limit": if value != nil { jtv, ok := value.(string) @@ -6009,7 +5882,6 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Limit = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -6018,7 +5890,6 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Marker = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -6027,7 +5898,6 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.StartDate = ptr.String(jtv) } - default: _, _ = key, value @@ -6091,13 +5961,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6107,8 +5971,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6116,7 +5979,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6125,15 +5987,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6158,13 +6016,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6174,8 +6026,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6183,7 +6034,6 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6192,15 +6042,11 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6267,7 +6113,6 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -6303,7 +6148,6 @@ func awsRestjson1_deserializeDocumentOutputSerialization(v **types.OutputSeriali if err := awsRestjson1_deserializeDocumentCSVOutput(&sv.Csv, value); err != nil { return err } - default: _, _ = key, value @@ -6377,7 +6221,6 @@ func awsRestjson1_deserializeDocumentPartListElement(v **types.PartListElement, } sv.RangeInBytes = ptr.String(jtv) } - case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -6386,7 +6229,6 @@ func awsRestjson1_deserializeDocumentPartListElement(v **types.PartListElement, } sv.SHA256TreeHash = ptr.String(jtv) } - default: _, _ = key, value @@ -6416,13 +6258,7 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6432,8 +6268,7 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6441,7 +6276,6 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6450,15 +6284,11 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6493,7 +6323,6 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.CapacityId = ptr.String(jtv) } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6331,6 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.ExpirationDate = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -6511,7 +6339,6 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.StartDate = ptr.String(jtv) } - default: _, _ = key, value @@ -6575,13 +6402,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6591,8 +6412,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6600,7 +6420,6 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6609,15 +6428,11 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6642,13 +6457,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6658,8 +6467,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6667,7 +6475,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6676,15 +6483,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6715,7 +6518,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte if err := awsRestjson1_deserializeDocumentAccessControlPolicyList(&sv.AccessControlList, value); err != nil { return err } - case "BucketName": if value != nil { jtv, ok := value.(string) @@ -6724,7 +6526,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } - case "CannedACL": if value != nil { jtv, ok := value.(string) @@ -6733,12 +6534,10 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.CannedACL = types.CannedACL(jtv) } - case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -6747,7 +6546,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -6756,17 +6554,14 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.StorageClass = types.StorageClass(jtv) } - case "Tagging": if err := awsRestjson1_deserializeDocumentHashmap(&sv.Tagging, value); err != nil { return err } - case "UserMetadata": if err := awsRestjson1_deserializeDocumentHashmap(&sv.UserMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -6806,7 +6601,6 @@ func awsRestjson1_deserializeDocumentSelectParameters(v **types.SelectParameters } sv.Expression = ptr.String(jtv) } - case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -6815,17 +6609,14 @@ func awsRestjson1_deserializeDocumentSelectParameters(v **types.SelectParameters } sv.ExpressionType = types.ExpressionType(jtv) } - case "InputSerialization": if err := awsRestjson1_deserializeDocumentInputSerialization(&sv.InputSerialization, value); err != nil { return err } - case "OutputSerialization": if err := awsRestjson1_deserializeDocumentOutputSerialization(&sv.OutputSerialization, value); err != nil { return err } - default: _, _ = key, value @@ -6855,13 +6646,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -6871,8 +6656,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6880,7 +6664,6 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6889,15 +6672,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6968,7 +6747,6 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.ArchiveDescription = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6977,7 +6755,6 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.CreationDate = ptr.String(jtv) } - case "MultipartUploadId": if value != nil { jtv, ok := value.(string) @@ -6986,7 +6763,6 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.MultipartUploadId = ptr.String(jtv) } - case "PartSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6999,7 +6775,6 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.PartSizeInBytes = i64 } - case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -7008,7 +6783,6 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.VaultARN = ptr.String(jtv) } - default: _, _ = key, value @@ -7082,7 +6856,6 @@ func awsRestjson1_deserializeDocumentVaultAccessPolicy(v **types.VaultAccessPoli } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -7152,7 +6925,6 @@ func awsRestjson1_deserializeDocumentVaultNotificationConfig(v **types.VaultNoti if err := awsRestjson1_deserializeDocumentNotificationEventList(&sv.Events, value); err != nil { return err } - case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -7161,7 +6933,6 @@ func awsRestjson1_deserializeDocumentVaultNotificationConfig(v **types.VaultNoti } sv.SNSTopic = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/globalaccelerator/deserializers.go b/service/globalaccelerator/deserializers.go index 2c35fb18d78..7b4e0d16e49 100644 --- a/service/globalaccelerator/deserializers.go +++ b/service/globalaccelerator/deserializers.go @@ -7314,7 +7314,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.AcceleratorArn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7330,7 +7329,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -7339,7 +7337,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.DnsName = ptr.String(jtv) } - case "DualStackDnsName": if value != nil { jtv, ok := value.(string) @@ -7348,7 +7345,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.DualStackDnsName = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -7357,12 +7353,10 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Enabled = ptr.Bool(jtv) } - case "Events": if err := awsAwsjson11_deserializeDocumentAcceleratorEvents(&sv.Events, value); err != nil { return err } - case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -7371,12 +7365,10 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.IpAddressType = types.IpAddressType(jtv) } - case "IpSets": if err := awsAwsjson11_deserializeDocumentIpSets(&sv.IpSets, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7392,7 +7384,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7401,7 +7392,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7410,7 +7400,6 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Status = types.AcceleratorStatus(jtv) } - default: _, _ = key, value @@ -7450,7 +7439,6 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsEnabled = ptr.Bool(jtv) } - case "FlowLogsS3Bucket": if value != nil { jtv, ok := value.(string) @@ -7459,7 +7447,6 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsS3Bucket = ptr.String(jtv) } - case "FlowLogsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -7468,7 +7455,6 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsS3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -7508,7 +7494,6 @@ func awsAwsjson11_deserializeDocumentAcceleratorEvent(v **types.AcceleratorEvent } sv.Message = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -7524,7 +7509,6 @@ func awsAwsjson11_deserializeDocumentAcceleratorEvent(v **types.AcceleratorEvent } } - default: _, _ = key, value @@ -7588,15 +7572,9 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotDisabledException(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7604,15 +7582,11 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotDisabledException(v **types.A } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7637,15 +7611,9 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotFoundException(v **types.Acce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7653,15 +7621,11 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotFoundException(v **types.Acce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7720,15 +7684,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7736,15 +7694,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7769,15 +7723,9 @@ func awsAwsjson11_deserializeDocumentAssociatedEndpointGroupFoundException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7785,15 +7733,11 @@ func awsAwsjson11_deserializeDocumentAssociatedEndpointGroupFoundException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7818,15 +7762,9 @@ func awsAwsjson11_deserializeDocumentAssociatedListenerFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7834,15 +7772,11 @@ func awsAwsjson11_deserializeDocumentAssociatedListenerFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7877,7 +7811,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentArn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7893,7 +7826,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7909,7 +7841,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7918,17 +7849,14 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Name = ptr.String(jtv) } - case "Principals": if err := awsAwsjson11_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } - case "Resources": if err := awsAwsjson11_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -7958,15 +7886,9 @@ func awsAwsjson11_deserializeDocumentAttachmentNotFoundException(v **types.Attac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7974,15 +7896,11 @@ func awsAwsjson11_deserializeDocumentAttachmentNotFoundException(v **types.Attac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8087,12 +8005,10 @@ func awsAwsjson11_deserializeDocumentByoipCidr(v **types.ByoipCidr, value interf } sv.Cidr = ptr.String(jtv) } - case "Events": if err := awsAwsjson11_deserializeDocumentByoipCidrEvents(&sv.Events, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -8101,7 +8017,6 @@ func awsAwsjson11_deserializeDocumentByoipCidr(v **types.ByoipCidr, value interf } sv.State = types.ByoipCidrState(jtv) } - default: _, _ = key, value @@ -8141,7 +8056,6 @@ func awsAwsjson11_deserializeDocumentByoipCidrEvent(v **types.ByoipCidrEvent, va } sv.Message = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -8157,7 +8071,6 @@ func awsAwsjson11_deserializeDocumentByoipCidrEvent(v **types.ByoipCidrEvent, va } } - default: _, _ = key, value @@ -8221,15 +8134,9 @@ func awsAwsjson11_deserializeDocumentByoipCidrNotFoundException(v **types.ByoipC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8237,15 +8144,11 @@ func awsAwsjson11_deserializeDocumentByoipCidrNotFoundException(v **types.ByoipC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8304,15 +8207,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8320,15 +8217,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8363,7 +8256,6 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.AttachmentArn = ptr.String(jtv) } - case "Cidr": if value != nil { jtv, ok := value.(string) @@ -8372,7 +8264,6 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.Cidr = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -8381,7 +8272,6 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.EndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -8455,7 +8345,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.AcceleratorArn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -8471,7 +8360,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -8480,7 +8368,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.DnsName = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -8489,7 +8376,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Enabled = ptr.Bool(jtv) } - case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -8498,12 +8384,10 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.IpAddressType = types.IpAddressType(jtv) } - case "IpSets": if err := awsAwsjson11_deserializeDocumentIpSets(&sv.IpSets, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8519,7 +8403,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8528,7 +8411,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8537,7 +8419,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Status = types.CustomRoutingAcceleratorStatus(jtv) } - default: _, _ = key, value @@ -8577,7 +8458,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsEnabled = ptr.Bool(jtv) } - case "FlowLogsS3Bucket": if value != nil { jtv, ok := value.(string) @@ -8586,7 +8466,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsS3Bucket = ptr.String(jtv) } - case "FlowLogsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -8595,7 +8474,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsS3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8673,12 +8551,10 @@ func awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescription(v **typ } sv.FromPort = ptr.Int32(int32(i64)) } - case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -8691,7 +8567,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescription(v **typ } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8765,7 +8640,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescription(v **types. } sv.EndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -8835,12 +8709,10 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom if err := awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescriptions(&sv.DestinationDescriptions, value); err != nil { return err } - case "EndpointDescriptions": if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -8849,7 +8721,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom } sv.EndpointGroupArn = ptr.String(jtv) } - case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -8858,7 +8729,6 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom } sv.EndpointGroupRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -8932,12 +8802,10 @@ func awsAwsjson11_deserializeDocumentCustomRoutingListener(v **types.CustomRouti } sv.ListenerArn = ptr.String(jtv) } - case "PortRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PortRanges, value); err != nil { return err } - default: _, _ = key, value @@ -9047,17 +8915,14 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.AcceleratorArn = ptr.String(jtv) } - case "AcceleratorSocketAddresses": if err := awsAwsjson11_deserializeDocumentSocketAddresses(&sv.AcceleratorSocketAddresses, value); err != nil { return err } - case "DestinationSocketAddress": if err := awsAwsjson11_deserializeDocumentSocketAddress(&sv.DestinationSocketAddress, value); err != nil { return err } - case "DestinationTrafficState": if value != nil { jtv, ok := value.(string) @@ -9066,7 +8931,6 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.DestinationTrafficState = types.CustomRoutingDestinationTrafficState(jtv) } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -9075,7 +8939,6 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointGroupArn = ptr.String(jtv) } - case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -9084,7 +8947,6 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointGroupRegion = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -9093,7 +8955,6 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointId = ptr.String(jtv) } - case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -9102,7 +8963,6 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.IpAddressType = types.IpAddressType(jtv) } - default: _, _ = key, value @@ -9166,15 +9026,9 @@ func awsAwsjson11_deserializeDocumentEndpointAlreadyExistsException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9182,15 +9036,11 @@ func awsAwsjson11_deserializeDocumentEndpointAlreadyExistsException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9225,7 +9075,6 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.ClientIPPreservationEnabled = ptr.Bool(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -9234,7 +9083,6 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.EndpointId = ptr.String(jtv) } - case "HealthReason": if value != nil { jtv, ok := value.(string) @@ -9243,7 +9091,6 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.HealthReason = ptr.String(jtv) } - case "HealthState": if value != nil { jtv, ok := value.(string) @@ -9252,7 +9099,6 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.HealthState = types.HealthState(jtv) } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -9265,7 +9111,6 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9335,7 +9180,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu if err := awsAwsjson11_deserializeDocumentEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -9344,7 +9188,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.EndpointGroupArn = ptr.String(jtv) } - case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -9353,7 +9196,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.EndpointGroupRegion = ptr.String(jtv) } - case "HealthCheckIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9366,7 +9208,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckIntervalSeconds = ptr.Int32(int32(i64)) } - case "HealthCheckPath": if value != nil { jtv, ok := value.(string) @@ -9375,7 +9216,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckPath = ptr.String(jtv) } - case "HealthCheckPort": if value != nil { jtv, ok := value.(json.Number) @@ -9388,7 +9228,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckPort = ptr.Int32(int32(i64)) } - case "HealthCheckProtocol": if value != nil { jtv, ok := value.(string) @@ -9397,12 +9236,10 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckProtocol = types.HealthCheckProtocol(jtv) } - case "PortOverrides": if err := awsAwsjson11_deserializeDocumentPortOverrides(&sv.PortOverrides, value); err != nil { return err } - case "ThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -9415,7 +9252,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.ThresholdCount = ptr.Int32(int32(i64)) } - case "TrafficDialPercentage": if value != nil { switch jtv := value.(type) { @@ -9449,7 +9285,6 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } } - default: _, _ = key, value @@ -9479,15 +9314,9 @@ func awsAwsjson11_deserializeDocumentEndpointGroupAlreadyExistsException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9495,15 +9324,11 @@ func awsAwsjson11_deserializeDocumentEndpointGroupAlreadyExistsException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9528,15 +9353,9 @@ func awsAwsjson11_deserializeDocumentEndpointGroupNotFoundException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9544,15 +9363,11 @@ func awsAwsjson11_deserializeDocumentEndpointGroupNotFoundException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9611,15 +9426,9 @@ func awsAwsjson11_deserializeDocumentEndpointNotFoundException(v **types.Endpoin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9627,15 +9436,11 @@ func awsAwsjson11_deserializeDocumentEndpointNotFoundException(v **types.Endpoin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9660,15 +9465,9 @@ func awsAwsjson11_deserializeDocumentIncorrectCidrStateException(v **types.Incor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9676,15 +9475,11 @@ func awsAwsjson11_deserializeDocumentIncorrectCidrStateException(v **types.Incor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9709,15 +9504,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9725,15 +9514,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9758,15 +9543,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9774,15 +9553,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9807,15 +9582,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9823,15 +9592,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9856,15 +9621,9 @@ func awsAwsjson11_deserializeDocumentInvalidPortRangeException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9872,15 +9631,11 @@ func awsAwsjson11_deserializeDocumentInvalidPortRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9947,7 +9702,6 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIpAddresses(&sv.IpAddresses, value); err != nil { return err } - case "IpAddressFamily": if value != nil { jtv, ok := value.(string) @@ -9956,7 +9710,6 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e } sv.IpAddressFamily = types.IpAddressFamily(jtv) } - case "IpFamily": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9718,6 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e } sv.IpFamily = ptr.String(jtv) } - default: _, _ = key, value @@ -10029,15 +9781,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10045,15 +9791,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10088,7 +9830,6 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.ClientAffinity = types.ClientAffinity(jtv) } - case "ListenerArn": if value != nil { jtv, ok := value.(string) @@ -10097,12 +9838,10 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.ListenerArn = ptr.String(jtv) } - case "PortRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PortRanges, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -10111,7 +9850,6 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.Protocol = types.Protocol(jtv) } - default: _, _ = key, value @@ -10141,15 +9879,9 @@ func awsAwsjson11_deserializeDocumentListenerNotFoundException(v **types.Listene sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10157,15 +9889,11 @@ func awsAwsjson11_deserializeDocumentListenerNotFoundException(v **types.Listene } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10238,12 +9966,10 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.AcceleratorPort = ptr.Int32(int32(i64)) } - case "DestinationSocketAddress": if err := awsAwsjson11_deserializeDocumentSocketAddress(&sv.DestinationSocketAddress, value); err != nil { return err } - case "DestinationTrafficState": if value != nil { jtv, ok := value.(string) @@ -10252,7 +9978,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.DestinationTrafficState = types.CustomRoutingDestinationTrafficState(jtv) } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -10261,7 +9986,6 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EndpointGroupArn = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -10270,12 +9994,10 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EndpointId = ptr.String(jtv) } - case "Protocols": if err := awsAwsjson11_deserializeDocumentCustomRoutingProtocols(&sv.Protocols, value); err != nil { return err } - default: _, _ = key, value @@ -10353,7 +10075,6 @@ func awsAwsjson11_deserializeDocumentPortOverride(v **types.PortOverride, value } sv.EndpointPort = ptr.Int32(int32(i64)) } - case "ListenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -10366,7 +10087,6 @@ func awsAwsjson11_deserializeDocumentPortOverride(v **types.PortOverride, value } sv.ListenerPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10444,7 +10164,6 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.FromPort = ptr.Int32(int32(i64)) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -10457,7 +10176,6 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10603,7 +10321,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Cidr = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -10612,7 +10329,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.EndpointId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -10621,7 +10337,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -10695,7 +10410,6 @@ func awsAwsjson11_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.IpAddress = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -10708,7 +10422,6 @@ func awsAwsjson11_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10782,7 +10495,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10791,7 +10503,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10855,15 +10566,9 @@ func awsAwsjson11_deserializeDocumentTransactionInProgressException(v **types.Tr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10871,15 +10576,11 @@ func awsAwsjson11_deserializeDocumentTransactionInProgressException(v **types.Tr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10910,7 +10611,6 @@ func awsAwsjson11_deserializeOpDocumentAddCustomRoutingEndpointsOutput(v **AddCu if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -10919,7 +10619,6 @@ func awsAwsjson11_deserializeOpDocumentAddCustomRoutingEndpointsOutput(v **AddCu } sv.EndpointGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10955,7 +10654,6 @@ func awsAwsjson11_deserializeOpDocumentAddEndpointsOutput(v **AddEndpointsOutput if err := awsAwsjson11_deserializeDocumentEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } - case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -10964,7 +10662,6 @@ func awsAwsjson11_deserializeOpDocumentAddEndpointsOutput(v **AddEndpointsOutput } sv.EndpointGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11000,7 +10697,6 @@ func awsAwsjson11_deserializeOpDocumentAdvertiseByoipCidrOutput(v **AdvertiseByo if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } - default: _, _ = key, value @@ -11036,7 +10732,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAcceleratorOutput(v **CreateAcceler if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -11072,7 +10767,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCrossAccountAttachmentOutput(v **Cr if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -11108,7 +10802,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingAcceleratorOutput(v ** if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -11144,7 +10837,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingEndpointGroupOutput(v if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11180,7 +10872,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingListenerOutput(v **Cre if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -11216,7 +10907,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointGroupOutput(v **CreateEndpo if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11252,7 +10942,6 @@ func awsAwsjson11_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -11288,7 +10977,6 @@ func awsAwsjson11_deserializeOpDocumentDeprovisionByoipCidrOutput(v **Deprovisio if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } - default: _, _ = key, value @@ -11324,7 +11012,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAcceleratorAttributesOutput(v **D if err := awsAwsjson11_deserializeDocumentAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -11360,7 +11047,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAcceleratorOutput(v **DescribeAcc if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -11396,7 +11082,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAttachmentOutput(v ** if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -11432,7 +11117,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingAcceleratorAttribute if err := awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -11468,7 +11152,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingAcceleratorOutput(v if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -11504,7 +11187,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingEndpointGroupOutput( if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11540,7 +11222,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingListenerOutput(v **D if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -11576,7 +11257,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointGroupOutput(v **DescribeE if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } - default: _, _ = key, value @@ -11612,7 +11292,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeListenerOutput(v **DescribeListen if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -11648,7 +11327,6 @@ func awsAwsjson11_deserializeOpDocumentListAcceleratorsOutput(v **ListAccelerato if err := awsAwsjson11_deserializeDocumentAccelerators(&sv.Accelerators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11657,7 +11335,6 @@ func awsAwsjson11_deserializeOpDocumentListAcceleratorsOutput(v **ListAccelerato } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11693,7 +11370,6 @@ func awsAwsjson11_deserializeOpDocumentListByoipCidrsOutput(v **ListByoipCidrsOu if err := awsAwsjson11_deserializeDocumentByoipCidrs(&sv.ByoipCidrs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11702,7 +11378,6 @@ func awsAwsjson11_deserializeOpDocumentListByoipCidrsOutput(v **ListByoipCidrsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11738,7 +11413,6 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountAttachmentsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentAttachments(&sv.CrossAccountAttachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11747,7 +11421,6 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountAttachmentsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11783,7 +11456,6 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourceAccountsOutput(v if err := awsAwsjson11_deserializeDocumentAwsAccountIds(&sv.ResourceOwnerAwsAccountIds, value); err != nil { return err } - default: _, _ = key, value @@ -11819,7 +11491,6 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourcesOutput(v **ListC if err := awsAwsjson11_deserializeDocumentCrossAccountResources(&sv.CrossAccountResources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11828,7 +11499,6 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourcesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11864,7 +11534,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingAcceleratorsOutput(v **L if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerators(&sv.Accelerators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11873,7 +11542,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingAcceleratorsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11909,7 +11577,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingEndpointGroupsOutput(v * if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroups(&sv.EndpointGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11918,7 +11585,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingEndpointGroupsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11954,7 +11620,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingListenersOutput(v **List if err := awsAwsjson11_deserializeDocumentCustomRoutingListeners(&sv.Listeners, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11963,7 +11628,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingListenersOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11999,7 +11663,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsByDestinatio if err := awsAwsjson11_deserializeDocumentDestinationPortMappings(&sv.DestinationPortMappings, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12008,7 +11671,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsByDestinatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12048,12 +11710,10 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "PortMappings": if err := awsAwsjson11_deserializeDocumentPortMappings(&sv.PortMappings, value); err != nil { return err } - default: _, _ = key, value @@ -12089,7 +11749,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointGroupsOutput(v **ListEndpoint if err := awsAwsjson11_deserializeDocumentEndpointGroups(&sv.EndpointGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12098,7 +11757,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointGroupsOutput(v **ListEndpoint } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12134,7 +11792,6 @@ func awsAwsjson11_deserializeOpDocumentListListenersOutput(v **ListListenersOutp if err := awsAwsjson11_deserializeDocumentListeners(&sv.Listeners, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12143,7 +11800,6 @@ func awsAwsjson11_deserializeOpDocumentListListenersOutput(v **ListListenersOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12179,7 +11835,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12215,7 +11870,6 @@ func awsAwsjson11_deserializeOpDocumentProvisionByoipCidrOutput(v **ProvisionByo if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } - default: _, _ = key, value @@ -12313,7 +11967,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAcceleratorAttributesOutput(v **Upd if err := awsAwsjson11_deserializeDocumentAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -12349,7 +12002,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAcceleratorOutput(v **UpdateAcceler if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -12385,7 +12037,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCrossAccountAttachmentOutput(v **Up if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -12421,7 +12072,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingAcceleratorAttributesO if err := awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -12457,7 +12107,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingAcceleratorOutput(v ** if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } - default: _, _ = key, value @@ -12493,7 +12142,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingListenerOutput(v **Upd if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -12529,7 +12177,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointGroupOutput(v **UpdateEndpo if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } - default: _, _ = key, value @@ -12565,7 +12212,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } - default: _, _ = key, value @@ -12601,7 +12247,6 @@ func awsAwsjson11_deserializeOpDocumentWithdrawByoipCidrOutput(v **WithdrawByoip if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/glue/deserializers.go b/service/glue/deserializers.go index dbb07962885..3f3363c1aa6 100644 --- a/service/glue/deserializers.go +++ b/service/glue/deserializers.go @@ -29465,15 +29465,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29481,15 +29475,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29520,7 +29510,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.Arguments, value); err != nil { return err } - case "CrawlerName": if value != nil { jtv, ok := value.(string) @@ -29529,7 +29518,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.CrawlerName = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -29538,12 +29526,10 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.JobName = ptr.String(jtv) } - case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -29552,7 +29538,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.SecurityConfiguration = ptr.String(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -29565,7 +29550,6 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29671,17 +29655,14 @@ func awsAwsjson11_deserializeDocumentAggregate(v **types.Aggregate, value interf if err := awsAwsjson11_deserializeDocumentAggregateOperations(&sv.Aggs, value); err != nil { return err } - case "Groups": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Groups, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -29690,7 +29671,6 @@ func awsAwsjson11_deserializeDocumentAggregate(v **types.Aggregate, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -29730,12 +29710,10 @@ func awsAwsjson11_deserializeDocumentAggregateOperation(v **types.AggregateOpera } sv.AggFunc = types.AggFunction(jtv) } - case "Column": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Column, value); err != nil { return err } - default: _, _ = key, value @@ -29835,15 +29813,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29851,15 +29823,11 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29894,7 +29862,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOption(v **types.Amaz } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -29903,7 +29870,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOption(v **types.Amaz } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -29977,7 +29943,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.AccessType = ptr.String(jtv) } - case "Action": if value != nil { jtv, ok := value.(string) @@ -29986,17 +29951,14 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.Action = ptr.String(jtv) } - case "AdvancedOptions": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } - case "CatalogDatabase": if err := awsAwsjson11_deserializeDocumentOption(&sv.CatalogDatabase, value); err != nil { return err } - case "CatalogRedshiftSchema": if value != nil { jtv, ok := value.(string) @@ -30005,7 +29967,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CatalogRedshiftSchema = ptr.String(jtv) } - case "CatalogRedshiftTable": if value != nil { jtv, ok := value.(string) @@ -30014,17 +29975,14 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CatalogRedshiftTable = ptr.String(jtv) } - case "CatalogTable": if err := awsAwsjson11_deserializeDocumentOption(&sv.CatalogTable, value); err != nil { return err } - case "Connection": if err := awsAwsjson11_deserializeDocumentOption(&sv.Connection, value); err != nil { return err } - case "CrawlerConnection": if value != nil { jtv, ok := value.(string) @@ -30033,12 +29991,10 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CrawlerConnection = ptr.String(jtv) } - case "IamRole": if err := awsAwsjson11_deserializeDocumentOption(&sv.IamRole, value); err != nil { return err } - case "MergeAction": if value != nil { jtv, ok := value.(string) @@ -30047,7 +30003,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeAction = ptr.String(jtv) } - case "MergeClause": if value != nil { jtv, ok := value.(string) @@ -30056,7 +30011,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeClause = ptr.String(jtv) } - case "MergeWhenMatched": if value != nil { jtv, ok := value.(string) @@ -30065,7 +30019,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeWhenMatched = ptr.String(jtv) } - case "MergeWhenNotMatched": if value != nil { jtv, ok := value.(string) @@ -30074,7 +30027,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeWhenNotMatched = ptr.String(jtv) } - case "PostAction": if value != nil { jtv, ok := value.(string) @@ -30083,7 +30035,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.PostAction = ptr.String(jtv) } - case "PreAction": if value != nil { jtv, ok := value.(string) @@ -30092,7 +30043,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.PreAction = ptr.String(jtv) } - case "SampleQuery": if value != nil { jtv, ok := value.(string) @@ -30101,17 +30051,14 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.SampleQuery = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentOption(&sv.Schema, value); err != nil { return err } - case "SelectedColumns": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.SelectedColumns, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -30120,7 +30067,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.SourceType = ptr.String(jtv) } - case "StagingTable": if value != nil { jtv, ok := value.(string) @@ -30129,12 +30075,10 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.StagingTable = ptr.String(jtv) } - case "Table": if err := awsAwsjson11_deserializeDocumentOption(&sv.Table, value); err != nil { return err } - case "TablePrefix": if value != nil { jtv, ok := value.(string) @@ -30143,12 +30087,10 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.TablePrefix = ptr.String(jtv) } - case "TableSchema": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.TableSchema, value); err != nil { return err } - case "TempDir": if value != nil { jtv, ok := value.(string) @@ -30157,7 +30099,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.TempDir = ptr.String(jtv) } - case "Upsert": if value != nil { jtv, ok := value.(bool) @@ -30166,7 +30107,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.Upsert = jtv } - default: _, _ = key, value @@ -30202,7 +30142,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftSource(v **types.AmazonRedshi if err := awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(&sv.Data, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30211,7 +30150,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftSource(v **types.AmazonRedshi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -30247,12 +30185,10 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(v **types.AmazonRedshi if err := awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(&sv.Data, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30261,7 +30197,6 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(v **types.AmazonRedshi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -30301,7 +30236,6 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.FailureReason = ptr.String(jtv) } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -30310,7 +30244,6 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.ProfileId = ptr.String(jtv) } - case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -30319,7 +30252,6 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.StatisticId = ptr.String(jtv) } - default: _, _ = key, value @@ -30423,12 +30355,10 @@ func awsAwsjson11_deserializeDocumentApplyMapping(v **types.ApplyMapping, value if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Mapping": if err := awsAwsjson11_deserializeDocumentMappings(&sv.Mapping, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30437,7 +30367,6 @@ func awsAwsjson11_deserializeDocumentApplyMapping(v **types.ApplyMapping, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -30477,7 +30406,6 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -30486,7 +30414,6 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionTable = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -30495,7 +30422,6 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionType = ptr.String(jtv) } - case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -30504,7 +30430,6 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectorName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30513,12 +30438,10 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -30527,7 +30450,6 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -30567,12 +30489,10 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "OAuth2Properties": if err := awsAwsjson11_deserializeDocumentOAuth2Properties(&sv.OAuth2Properties, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -30581,7 +30501,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -30621,12 +30540,10 @@ func awsAwsjson11_deserializeDocumentBackfillError(v **types.BackfillError, valu } sv.Code = types.BackfillErrorCode(jtv) } - case "Partitions": if err := awsAwsjson11_deserializeDocumentBackfillErroredPartitionsList(&sv.Partitions, value); err != nil { return err } - default: _, _ = key, value @@ -30734,12 +30651,10 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30748,12 +30663,10 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -30762,7 +30675,6 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -30836,7 +30748,6 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.CatalogId = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -30845,12 +30756,10 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.DatabaseName = ptr.String(jtv) } - case "error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -30859,7 +30768,6 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.TableName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -30868,7 +30776,6 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.Type = types.TableOptimizerType(jtv) } - default: _, _ = key, value @@ -30938,7 +30845,6 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -30947,7 +30853,6 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -30956,7 +30861,6 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -31030,7 +30934,6 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmission(v **typ } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -31039,7 +30942,6 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmission(v **typ } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -31113,7 +31015,6 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.CatalogId = ptr.String(jtv) } - case "databaseName": if value != nil { jtv, ok := value.(string) @@ -31122,7 +31023,6 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.DatabaseName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -31131,12 +31031,10 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.TableName = ptr.String(jtv) } - case "tableOptimizer": if err := awsAwsjson11_deserializeDocumentTableOptimizer(&sv.TableOptimizer, value); err != nil { return err } - default: _, _ = key, value @@ -31206,12 +31104,10 @@ func awsAwsjson11_deserializeDocumentBatchUpdatePartitionFailureEntry(v **types. if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "PartitionValueList": if err := awsAwsjson11_deserializeDocumentBoundedPartitionValueList(&sv.PartitionValueList, value); err != nil { return err } - default: _, _ = key, value @@ -31310,7 +31206,6 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } } - case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -31323,7 +31218,6 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } sv.MaximumLength = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -31336,7 +31230,6 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -31376,7 +31269,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintLocation = ptr.String(jtv) } - case "BlueprintServiceLocation": if value != nil { jtv, ok := value.(string) @@ -31385,7 +31277,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintServiceLocation = ptr.String(jtv) } - case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -31401,7 +31292,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -31410,7 +31300,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31419,12 +31308,10 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ErrorMessage = ptr.String(jtv) } - case "LastActiveDefinition": if err := awsAwsjson11_deserializeDocumentLastActiveDefinition(&sv.LastActiveDefinition, value); err != nil { return err } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -31440,7 +31327,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31449,7 +31335,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Name = ptr.String(jtv) } - case "ParameterSpec": if value != nil { jtv, ok := value.(string) @@ -31458,7 +31343,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ParameterSpec = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -31467,7 +31351,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Status = types.BlueprintStatus(jtv) } - default: _, _ = key, value @@ -31507,7 +31390,6 @@ func awsAwsjson11_deserializeDocumentBlueprintDetails(v **types.BlueprintDetails } sv.BlueprintName = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -31516,7 +31398,6 @@ func awsAwsjson11_deserializeDocumentBlueprintDetails(v **types.BlueprintDetails } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -31592,7 +31473,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.BlueprintName = ptr.String(jtv) } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -31608,7 +31488,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31617,7 +31496,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.ErrorMessage = ptr.String(jtv) } - case "Parameters": if value != nil { jtv, ok := value.(string) @@ -31626,7 +31504,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.Parameters = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -31635,7 +31512,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RoleArn = ptr.String(jtv) } - case "RollbackErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31644,7 +31520,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RollbackErrorMessage = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -31653,7 +31528,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -31669,7 +31543,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } } - case "State": if value != nil { jtv, ok := value.(string) @@ -31678,7 +31551,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.State = types.BlueprintRunState(jtv) } - case "WorkflowName": if value != nil { jtv, ok := value.(string) @@ -31687,7 +31559,6 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -31799,7 +31670,6 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfFalses = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -31812,7 +31682,6 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfNulls = i64 } - case "NumberOfTrues": if value != nil { jtv, ok := value.(json.Number) @@ -31825,7 +31694,6 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfTrues = i64 } - default: _, _ = key, value @@ -31897,7 +31765,6 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -31906,7 +31773,6 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31915,12 +31781,10 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -31929,7 +31793,6 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -31965,7 +31828,6 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -31974,7 +31836,6 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31983,12 +31844,10 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -31997,7 +31856,6 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -32037,7 +31895,6 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } sv.ImportCompleted = jtv } - case "ImportedBy": if value != nil { jtv, ok := value.(string) @@ -32046,7 +31903,6 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } sv.ImportedBy = ptr.String(jtv) } - case "ImportTime": if value != nil { switch jtv := value.(type) { @@ -32062,7 +31918,6 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } } - default: _, _ = key, value @@ -32102,12 +31957,10 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Database = ptr.String(jtv) } - case "DataPreviewOptions": if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } - case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -32116,7 +31969,6 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.DetectSchema = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32125,12 +31977,10 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Name = ptr.String(jtv) } - case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -32139,7 +31989,6 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Table = ptr.String(jtv) } - case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -32152,7 +32001,6 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.WindowSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32192,12 +32040,10 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Database = ptr.String(jtv) } - case "DataPreviewOptions": if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } - case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -32206,7 +32052,6 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.DetectSchema = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32215,12 +32060,10 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Name = ptr.String(jtv) } - case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -32229,7 +32072,6 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Table = ptr.String(jtv) } - case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -32242,7 +32084,6 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.WindowSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32282,7 +32123,6 @@ func awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(v **types.Catalog } sv.EnableUpdateCatalog = ptr.Bool(jtv) } - case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -32291,7 +32131,6 @@ func awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(v **types.Catalog } sv.UpdateBehavior = types.UpdateCatalogBehavior(jtv) } - default: _, _ = key, value @@ -32331,7 +32170,6 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32340,7 +32178,6 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -32349,7 +32186,6 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -32425,7 +32261,6 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.ConnectionName = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -32434,7 +32269,6 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.DatabaseName = ptr.String(jtv) } - case "DlqEventQueueArn": if value != nil { jtv, ok := value.(string) @@ -32443,7 +32277,6 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.DlqEventQueueArn = ptr.String(jtv) } - case "EventQueueArn": if value != nil { jtv, ok := value.(string) @@ -32452,12 +32285,10 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.EventQueueArn = ptr.String(jtv) } - case "Tables": if err := awsAwsjson11_deserializeDocumentCatalogTablesList(&sv.Tables, value); err != nil { return err } - default: _, _ = key, value @@ -32527,22 +32358,18 @@ func awsAwsjson11_deserializeDocumentClassifier(v **types.Classifier, value inte if err := awsAwsjson11_deserializeDocumentCsvClassifier(&sv.CsvClassifier, value); err != nil { return err } - case "GrokClassifier": if err := awsAwsjson11_deserializeDocumentGrokClassifier(&sv.GrokClassifier, value); err != nil { return err } - case "JsonClassifier": if err := awsAwsjson11_deserializeDocumentJsonClassifier(&sv.JsonClassifier, value); err != nil { return err } - case "XMLClassifier": if err := awsAwsjson11_deserializeDocumentXMLClassifier(&sv.XMLClassifier, value); err != nil { return err } - default: _, _ = key, value @@ -32652,7 +32479,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchEncryption(v **types.CloudWatchEn } sv.CloudWatchEncryptionMode = types.CloudWatchEncryptionMode(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -32661,7 +32487,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchEncryption(v **types.CloudWatchEn } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -32697,357 +32522,286 @@ func awsAwsjson11_deserializeDocumentCodeGenConfigurationNode(v **types.CodeGenC if err := awsAwsjson11_deserializeDocumentAggregate(&sv.Aggregate, value); err != nil { return err } - case "AmazonRedshiftSource": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftSource(&sv.AmazonRedshiftSource, value); err != nil { return err } - case "AmazonRedshiftTarget": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(&sv.AmazonRedshiftTarget, value); err != nil { return err } - case "ApplyMapping": if err := awsAwsjson11_deserializeDocumentApplyMapping(&sv.ApplyMapping, value); err != nil { return err } - case "AthenaConnectorSource": if err := awsAwsjson11_deserializeDocumentAthenaConnectorSource(&sv.AthenaConnectorSource, value); err != nil { return err } - case "CatalogDeltaSource": if err := awsAwsjson11_deserializeDocumentCatalogDeltaSource(&sv.CatalogDeltaSource, value); err != nil { return err } - case "CatalogHudiSource": if err := awsAwsjson11_deserializeDocumentCatalogHudiSource(&sv.CatalogHudiSource, value); err != nil { return err } - case "CatalogKafkaSource": if err := awsAwsjson11_deserializeDocumentCatalogKafkaSource(&sv.CatalogKafkaSource, value); err != nil { return err } - case "CatalogKinesisSource": if err := awsAwsjson11_deserializeDocumentCatalogKinesisSource(&sv.CatalogKinesisSource, value); err != nil { return err } - case "CatalogSource": if err := awsAwsjson11_deserializeDocumentCatalogSource(&sv.CatalogSource, value); err != nil { return err } - case "CatalogTarget": if err := awsAwsjson11_deserializeDocumentBasicCatalogTarget(&sv.CatalogTarget, value); err != nil { return err } - case "ConnectorDataSource": if err := awsAwsjson11_deserializeDocumentConnectorDataSource(&sv.ConnectorDataSource, value); err != nil { return err } - case "ConnectorDataTarget": if err := awsAwsjson11_deserializeDocumentConnectorDataTarget(&sv.ConnectorDataTarget, value); err != nil { return err } - case "CustomCode": if err := awsAwsjson11_deserializeDocumentCustomCode(&sv.CustomCode, value); err != nil { return err } - case "DirectJDBCSource": if err := awsAwsjson11_deserializeDocumentDirectJDBCSource(&sv.DirectJDBCSource, value); err != nil { return err } - case "DirectKafkaSource": if err := awsAwsjson11_deserializeDocumentDirectKafkaSource(&sv.DirectKafkaSource, value); err != nil { return err } - case "DirectKinesisSource": if err := awsAwsjson11_deserializeDocumentDirectKinesisSource(&sv.DirectKinesisSource, value); err != nil { return err } - case "DropDuplicates": if err := awsAwsjson11_deserializeDocumentDropDuplicates(&sv.DropDuplicates, value); err != nil { return err } - case "DropFields": if err := awsAwsjson11_deserializeDocumentDropFields(&sv.DropFields, value); err != nil { return err } - case "DropNullFields": if err := awsAwsjson11_deserializeDocumentDropNullFields(&sv.DropNullFields, value); err != nil { return err } - case "DynamicTransform": if err := awsAwsjson11_deserializeDocumentDynamicTransform(&sv.DynamicTransform, value); err != nil { return err } - case "DynamoDBCatalogSource": if err := awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(&sv.DynamoDBCatalogSource, value); err != nil { return err } - case "EvaluateDataQuality": if err := awsAwsjson11_deserializeDocumentEvaluateDataQuality(&sv.EvaluateDataQuality, value); err != nil { return err } - case "EvaluateDataQualityMultiFrame": if err := awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(&sv.EvaluateDataQualityMultiFrame, value); err != nil { return err } - case "FillMissingValues": if err := awsAwsjson11_deserializeDocumentFillMissingValues(&sv.FillMissingValues, value); err != nil { return err } - case "Filter": if err := awsAwsjson11_deserializeDocumentFilter(&sv.Filter, value); err != nil { return err } - case "GovernedCatalogSource": if err := awsAwsjson11_deserializeDocumentGovernedCatalogSource(&sv.GovernedCatalogSource, value); err != nil { return err } - case "GovernedCatalogTarget": if err := awsAwsjson11_deserializeDocumentGovernedCatalogTarget(&sv.GovernedCatalogTarget, value); err != nil { return err } - case "JDBCConnectorSource": if err := awsAwsjson11_deserializeDocumentJDBCConnectorSource(&sv.JDBCConnectorSource, value); err != nil { return err } - case "JDBCConnectorTarget": if err := awsAwsjson11_deserializeDocumentJDBCConnectorTarget(&sv.JDBCConnectorTarget, value); err != nil { return err } - case "Join": if err := awsAwsjson11_deserializeDocumentJoin(&sv.Join, value); err != nil { return err } - case "Merge": if err := awsAwsjson11_deserializeDocumentMerge(&sv.Merge, value); err != nil { return err } - case "MicrosoftSQLServerCatalogSource": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(&sv.MicrosoftSQLServerCatalogSource, value); err != nil { return err } - case "MicrosoftSQLServerCatalogTarget": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(&sv.MicrosoftSQLServerCatalogTarget, value); err != nil { return err } - case "MySQLCatalogSource": if err := awsAwsjson11_deserializeDocumentMySQLCatalogSource(&sv.MySQLCatalogSource, value); err != nil { return err } - case "MySQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentMySQLCatalogTarget(&sv.MySQLCatalogTarget, value); err != nil { return err } - case "OracleSQLCatalogSource": if err := awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(&sv.OracleSQLCatalogSource, value); err != nil { return err } - case "OracleSQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(&sv.OracleSQLCatalogTarget, value); err != nil { return err } - case "PIIDetection": if err := awsAwsjson11_deserializeDocumentPIIDetection(&sv.PIIDetection, value); err != nil { return err } - case "PostgreSQLCatalogSource": if err := awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(&sv.PostgreSQLCatalogSource, value); err != nil { return err } - case "PostgreSQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(&sv.PostgreSQLCatalogTarget, value); err != nil { return err } - case "Recipe": if err := awsAwsjson11_deserializeDocumentRecipe(&sv.Recipe, value); err != nil { return err } - case "RedshiftSource": if err := awsAwsjson11_deserializeDocumentRedshiftSource(&sv.RedshiftSource, value); err != nil { return err } - case "RedshiftTarget": if err := awsAwsjson11_deserializeDocumentRedshiftTarget(&sv.RedshiftTarget, value); err != nil { return err } - case "RelationalCatalogSource": if err := awsAwsjson11_deserializeDocumentRelationalCatalogSource(&sv.RelationalCatalogSource, value); err != nil { return err } - case "RenameField": if err := awsAwsjson11_deserializeDocumentRenameField(&sv.RenameField, value); err != nil { return err } - case "S3CatalogDeltaSource": if err := awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(&sv.S3CatalogDeltaSource, value); err != nil { return err } - case "S3CatalogHudiSource": if err := awsAwsjson11_deserializeDocumentS3CatalogHudiSource(&sv.S3CatalogHudiSource, value); err != nil { return err } - case "S3CatalogSource": if err := awsAwsjson11_deserializeDocumentS3CatalogSource(&sv.S3CatalogSource, value); err != nil { return err } - case "S3CatalogTarget": if err := awsAwsjson11_deserializeDocumentS3CatalogTarget(&sv.S3CatalogTarget, value); err != nil { return err } - case "S3CsvSource": if err := awsAwsjson11_deserializeDocumentS3CsvSource(&sv.S3CsvSource, value); err != nil { return err } - case "S3DeltaCatalogTarget": if err := awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(&sv.S3DeltaCatalogTarget, value); err != nil { return err } - case "S3DeltaDirectTarget": if err := awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(&sv.S3DeltaDirectTarget, value); err != nil { return err } - case "S3DeltaSource": if err := awsAwsjson11_deserializeDocumentS3DeltaSource(&sv.S3DeltaSource, value); err != nil { return err } - case "S3DirectTarget": if err := awsAwsjson11_deserializeDocumentS3DirectTarget(&sv.S3DirectTarget, value); err != nil { return err } - case "S3GlueParquetTarget": if err := awsAwsjson11_deserializeDocumentS3GlueParquetTarget(&sv.S3GlueParquetTarget, value); err != nil { return err } - case "S3HudiCatalogTarget": if err := awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(&sv.S3HudiCatalogTarget, value); err != nil { return err } - case "S3HudiDirectTarget": if err := awsAwsjson11_deserializeDocumentS3HudiDirectTarget(&sv.S3HudiDirectTarget, value); err != nil { return err } - case "S3HudiSource": if err := awsAwsjson11_deserializeDocumentS3HudiSource(&sv.S3HudiSource, value); err != nil { return err } - case "S3JsonSource": if err := awsAwsjson11_deserializeDocumentS3JsonSource(&sv.S3JsonSource, value); err != nil { return err } - case "S3ParquetSource": if err := awsAwsjson11_deserializeDocumentS3ParquetSource(&sv.S3ParquetSource, value); err != nil { return err } - case "SelectFields": if err := awsAwsjson11_deserializeDocumentSelectFields(&sv.SelectFields, value); err != nil { return err } - case "SelectFromCollection": if err := awsAwsjson11_deserializeDocumentSelectFromCollection(&sv.SelectFromCollection, value); err != nil { return err } - case "SnowflakeSource": if err := awsAwsjson11_deserializeDocumentSnowflakeSource(&sv.SnowflakeSource, value); err != nil { return err } - case "SnowflakeTarget": if err := awsAwsjson11_deserializeDocumentSnowflakeTarget(&sv.SnowflakeTarget, value); err != nil { return err } - case "SparkConnectorSource": if err := awsAwsjson11_deserializeDocumentSparkConnectorSource(&sv.SparkConnectorSource, value); err != nil { return err } - case "SparkConnectorTarget": if err := awsAwsjson11_deserializeDocumentSparkConnectorTarget(&sv.SparkConnectorTarget, value); err != nil { return err } - case "SparkSQL": if err := awsAwsjson11_deserializeDocumentSparkSQL(&sv.SparkSQL, value); err != nil { return err } - case "Spigot": if err := awsAwsjson11_deserializeDocumentSpigot(&sv.Spigot, value); err != nil { return err } - case "SplitFields": if err := awsAwsjson11_deserializeDocumentSplitFields(&sv.SplitFields, value); err != nil { return err } - case "Union": if err := awsAwsjson11_deserializeDocumentUnion(&sv.Union, value); err != nil { return err } - default: _, _ = key, value @@ -33122,7 +32876,6 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.Source = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -33131,7 +32884,6 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.Target = ptr.String(jtv) } - case "TargetParameter": if value != nil { jtv, ok := value.(string) @@ -33140,7 +32892,6 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.TargetParameter = ptr.String(jtv) } - default: _, _ = key, value @@ -33176,7 +32927,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in if err := awsAwsjson11_deserializeDocumentCodeGenNodeArgs(&sv.Args, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -33185,7 +32935,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.Id = ptr.String(jtv) } - case "LineNumber": if value != nil { jtv, ok := value.(json.Number) @@ -33198,7 +32947,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.LineNumber = int32(i64) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -33207,7 +32955,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.NodeType = ptr.String(jtv) } - default: _, _ = key, value @@ -33247,7 +32994,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Name = ptr.String(jtv) } - case "Param": if value != nil { jtv, ok := value.(bool) @@ -33256,7 +33002,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Param = jtv } - case "Value": if value != nil { jtv, ok := value.(string) @@ -33265,7 +33010,6 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -33339,7 +33083,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Comment = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -33348,12 +33091,10 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -33362,7 +33103,6 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -33402,12 +33142,10 @@ func awsAwsjson11_deserializeDocumentColumnError(v **types.ColumnError, value in } sv.ColumnName = ptr.String(jtv) } - case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -33481,7 +33219,6 @@ func awsAwsjson11_deserializeDocumentColumnImportance(v **types.ColumnImportance } sv.ColumnName = ptr.String(jtv) } - case "Importance": if value != nil { switch jtv := value.(type) { @@ -33515,7 +33252,6 @@ func awsAwsjson11_deserializeDocumentColumnImportance(v **types.ColumnImportance } } - default: _, _ = key, value @@ -33659,7 +33395,6 @@ func awsAwsjson11_deserializeDocumentColumnRowFilter(v **types.ColumnRowFilter, } sv.ColumnName = ptr.String(jtv) } - case "RowFilterExpression": if value != nil { jtv, ok := value.(string) @@ -33668,7 +33403,6 @@ func awsAwsjson11_deserializeDocumentColumnRowFilter(v **types.ColumnRowFilter, } sv.RowFilterExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -33749,7 +33483,6 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } } - case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -33758,7 +33491,6 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } sv.ColumnName = ptr.String(jtv) } - case "ColumnType": if value != nil { jtv, ok := value.(string) @@ -33767,12 +33499,10 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } sv.ColumnType = ptr.String(jtv) } - case "StatisticsData": if err := awsAwsjson11_deserializeDocumentColumnStatisticsData(&sv.StatisticsData, value); err != nil { return err } - default: _, _ = key, value @@ -33808,37 +33538,30 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsData(v **types.ColumnStatis if err := awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(&sv.BinaryColumnStatisticsData, value); err != nil { return err } - case "BooleanColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(&sv.BooleanColumnStatisticsData, value); err != nil { return err } - case "DateColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDateColumnStatisticsData(&sv.DateColumnStatisticsData, value); err != nil { return err } - case "DecimalColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(&sv.DecimalColumnStatisticsData, value); err != nil { return err } - case "DoubleColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(&sv.DoubleColumnStatisticsData, value); err != nil { return err } - case "LongColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentLongColumnStatisticsData(&sv.LongColumnStatisticsData, value); err != nil { return err } - case "StringColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentStringColumnStatisticsData(&sv.StringColumnStatisticsData, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -33847,7 +33570,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsData(v **types.ColumnStatis } sv.Type = types.ColumnStatisticsType(jtv) } - default: _, _ = key, value @@ -33883,12 +33605,10 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsError(v **types.ColumnStati if err := awsAwsjson11_deserializeDocumentColumnStatistics(&sv.ColumnStatistics, value); err != nil { return err } - case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -33986,15 +33706,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskNotRunningException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34002,15 +33716,11 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskNotRunningException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34045,12 +33755,10 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.CatalogID = ptr.String(jtv) } - case "ColumnNameList": if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnNameList, value); err != nil { return err } - case "ColumnStatisticsTaskRunId": if value != nil { jtv, ok := value.(string) @@ -34059,7 +33767,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ColumnStatisticsTaskRunId = ptr.String(jtv) } - case "ComputationType": if value != nil { jtv, ok := value.(string) @@ -34068,7 +33775,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ComputationType = types.ComputationType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -34084,7 +33790,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "CustomerId": if value != nil { jtv, ok := value.(string) @@ -34093,7 +33798,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.CustomerId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -34102,7 +33806,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.DatabaseName = ptr.String(jtv) } - case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -34136,7 +33839,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -34152,7 +33854,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -34161,7 +33862,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -34177,7 +33877,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -34190,7 +33889,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.NumberOfWorkers = int32(i64) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -34199,7 +33897,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.Role = ptr.String(jtv) } - case "SampleSize": if value != nil { switch jtv := value.(type) { @@ -34233,7 +33930,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -34242,7 +33938,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.SecurityConfiguration = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -34258,7 +33953,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -34267,7 +33961,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.Status = types.ColumnStatisticsState(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -34276,7 +33969,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.TableName = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -34285,7 +33977,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.WorkerType = ptr.String(jtv) } - default: _, _ = key, value @@ -34351,15 +34042,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunningException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34367,15 +34052,11 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunningException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34444,12 +34125,10 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.CatalogID = ptr.String(jtv) } - case "ColumnNameList": if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnNameList, value); err != nil { return err } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -34458,7 +34137,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.DatabaseName = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -34467,7 +34145,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.Role = ptr.String(jtv) } - case "SampleSize": if value != nil { switch jtv := value.(type) { @@ -34501,12 +34178,10 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } } - case "Schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -34515,7 +34190,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.SecurityConfiguration = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -34524,7 +34198,6 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -34554,15 +34227,9 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskStoppingException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34570,15 +34237,11 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskStoppingException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34645,7 +34308,6 @@ func awsAwsjson11_deserializeDocumentCompactionMetrics(v **types.CompactionMetri if err := awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(&sv.IcebergMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -34675,15 +34337,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34691,15 +34347,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34724,15 +34376,9 @@ func awsAwsjson11_deserializeDocumentConcurrentRunsExceededException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34740,15 +34386,11 @@ func awsAwsjson11_deserializeDocumentConcurrentRunsExceededException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34783,7 +34425,6 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.CrawlerName = ptr.String(jtv) } - case "CrawlState": if value != nil { jtv, ok := value.(string) @@ -34792,7 +34433,6 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.CrawlState = types.CrawlState(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -34801,7 +34441,6 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.JobName = ptr.String(jtv) } - case "LogicalOperator": if value != nil { jtv, ok := value.(string) @@ -34810,7 +34449,6 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.LogicalOperator = types.LogicalOperator(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -34819,7 +34457,6 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.State = types.JobRunState(jtv) } - default: _, _ = key, value @@ -34849,15 +34486,9 @@ func awsAwsjson11_deserializeDocumentConditionCheckFailureException(v **types.Co sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34865,15 +34496,11 @@ func awsAwsjson11_deserializeDocumentConditionCheckFailureException(v **types.Co } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34908,7 +34535,6 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Condition = ptr.String(jtv) } - case "TargetColumn": if value != nil { jtv, ok := value.(string) @@ -34917,7 +34543,6 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.TargetColumn = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -34926,7 +34551,6 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35065,7 +34689,6 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration if err := awsAwsjson11_deserializeDocumentAllowedValuesStringList(&sv.AllowedValues, value); err != nil { return err } - case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -35074,7 +34697,6 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.DefaultValue = ptr.String(jtv) } - case "MaxValue": if value != nil { jtv, ok := value.(string) @@ -35083,7 +34705,6 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -35092,7 +34713,6 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.MinValue = ptr.String(jtv) } - default: _, _ = key, value @@ -35122,15 +34742,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35138,15 +34752,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35185,7 +34795,6 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumFalseNegatives = ptr.Int64(i64) } - case "NumFalsePositives": if value != nil { jtv, ok := value.(json.Number) @@ -35198,7 +34807,6 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumFalsePositives = ptr.Int64(i64) } - case "NumTrueNegatives": if value != nil { jtv, ok := value.(json.Number) @@ -35211,7 +34819,6 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumTrueNegatives = ptr.Int64(i64) } - case "NumTruePositives": if value != nil { jtv, ok := value.(json.Number) @@ -35224,7 +34831,6 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumTruePositives = ptr.Int64(i64) } - default: _, _ = key, value @@ -35260,17 +34866,14 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte if err := awsAwsjson11_deserializeDocumentPropertyMap(&sv.AthenaProperties, value); err != nil { return err } - case "AuthenticationConfiguration": if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "ConnectionProperties": if err := awsAwsjson11_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -35279,7 +34882,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionType = types.ConnectionType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -35295,7 +34897,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -35304,7 +34905,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Description = ptr.String(jtv) } - case "LastConnectionValidationTime": if value != nil { switch jtv := value.(type) { @@ -35320,7 +34920,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -35329,7 +34928,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LastUpdatedBy = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -35345,12 +34943,10 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } - case "MatchCriteria": if err := awsAwsjson11_deserializeDocumentMatchCriteria(&sv.MatchCriteria, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35359,12 +34955,10 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } - case "PhysicalConnectionRequirements": if err := awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(&sv.PhysicalConnectionRequirements, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -35373,7 +34967,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = types.ConnectionStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -35382,7 +34975,6 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -35456,7 +35048,6 @@ func awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(v **types.Conn } sv.AwsKmsKeyId = ptr.String(jtv) } - case "ReturnConnectionPasswordEncrypted": if value != nil { jtv, ok := value.(bool) @@ -35465,7 +35056,6 @@ func awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(v **types.Conn } sv.ReturnConnectionPasswordEncrypted = jtv } - default: _, _ = key, value @@ -35537,7 +35127,6 @@ func awsAwsjson11_deserializeDocumentConnectionsList(v **types.ConnectionsList, if err := awsAwsjson11_deserializeDocumentOrchestrationStringList(&sv.Connections, value); err != nil { return err } - default: _, _ = key, value @@ -35577,12 +35166,10 @@ func awsAwsjson11_deserializeDocumentConnectorDataSource(v **types.ConnectorData } sv.ConnectionType = ptr.String(jtv) } - case "Data": if err := awsAwsjson11_deserializeDocumentConnectorOptions(&sv.Data, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35591,12 +35178,10 @@ func awsAwsjson11_deserializeDocumentConnectorDataSource(v **types.ConnectorData } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -35636,17 +35221,14 @@ func awsAwsjson11_deserializeDocumentConnectorDataTarget(v **types.ConnectorData } sv.ConnectionType = ptr.String(jtv) } - case "Data": if err := awsAwsjson11_deserializeDocumentConnectorOptions(&sv.Data, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35655,7 +35237,6 @@ func awsAwsjson11_deserializeDocumentConnectorDataTarget(v **types.ConnectorData } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -35774,7 +35355,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -35783,7 +35363,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.ErrorMessage = ptr.String(jtv) } - case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -35792,7 +35371,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.LogGroup = ptr.String(jtv) } - case "LogStream": if value != nil { jtv, ok := value.(string) @@ -35801,7 +35379,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.LogStream = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -35817,7 +35394,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } } - case "State": if value != nil { jtv, ok := value.(string) @@ -35826,7 +35402,6 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.State = types.CrawlState(jtv) } - default: _, _ = key, value @@ -35862,7 +35437,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ if err := awsAwsjson11_deserializeDocumentClassifierNameList(&sv.Classifiers, value); err != nil { return err } - case "Configuration": if value != nil { jtv, ok := value.(string) @@ -35871,7 +35445,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Configuration = ptr.String(jtv) } - case "CrawlElapsedTime": if value != nil { jtv, ok := value.(json.Number) @@ -35884,7 +35457,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.CrawlElapsedTime = i64 } - case "CrawlerSecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -35893,7 +35465,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.CrawlerSecurityConfiguration = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -35909,7 +35480,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -35918,7 +35488,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.DatabaseName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -35927,17 +35496,14 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Description = ptr.String(jtv) } - case "LakeFormationConfiguration": if err := awsAwsjson11_deserializeDocumentLakeFormationConfiguration(&sv.LakeFormationConfiguration, value); err != nil { return err } - case "LastCrawl": if err := awsAwsjson11_deserializeDocumentLastCrawlInfo(&sv.LastCrawl, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -35953,12 +35519,10 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } } - case "LineageConfiguration": if err := awsAwsjson11_deserializeDocumentLineageConfiguration(&sv.LineageConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35967,12 +35531,10 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Name = ptr.String(jtv) } - case "RecrawlPolicy": if err := awsAwsjson11_deserializeDocumentRecrawlPolicy(&sv.RecrawlPolicy, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -35981,17 +35543,14 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Role = ptr.String(jtv) } - case "Schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -36000,7 +35559,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.State = types.CrawlerState(jtv) } - case "TablePrefix": if value != nil { jtv, ok := value.(string) @@ -36009,12 +35567,10 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.TablePrefix = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentCrawlerTargets(&sv.Targets, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -36027,7 +35583,6 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Version = i64 } - default: _, _ = key, value @@ -36067,7 +35622,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.CrawlId = ptr.String(jtv) } - case "DPUHour": if value != nil { switch jtv := value.(type) { @@ -36101,7 +35655,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -36117,7 +35670,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -36126,7 +35678,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.ErrorMessage = ptr.String(jtv) } - case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -36135,7 +35686,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.LogGroup = ptr.String(jtv) } - case "LogStream": if value != nil { jtv, ok := value.(string) @@ -36144,7 +35694,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.LogStream = ptr.String(jtv) } - case "MessagePrefix": if value != nil { jtv, ok := value.(string) @@ -36153,7 +35702,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.MessagePrefix = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -36169,7 +35717,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } - case "State": if value != nil { jtv, ok := value.(string) @@ -36178,7 +35725,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.State = types.CrawlerHistoryState(jtv) } - case "Summary": if value != nil { jtv, ok := value.(string) @@ -36187,7 +35733,6 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.Summary = ptr.String(jtv) } - default: _, _ = key, value @@ -36295,7 +35840,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.CrawlerName = ptr.String(jtv) } - case "LastRuntimeSeconds": if value != nil { switch jtv := value.(type) { @@ -36329,7 +35873,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } - case "MedianRuntimeSeconds": if value != nil { switch jtv := value.(type) { @@ -36363,7 +35906,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } - case "StillEstimating": if value != nil { jtv, ok := value.(bool) @@ -36372,7 +35914,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.StillEstimating = jtv } - case "TablesCreated": if value != nil { jtv, ok := value.(json.Number) @@ -36385,7 +35926,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesCreated = int32(i64) } - case "TablesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -36398,7 +35938,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesDeleted = int32(i64) } - case "TablesUpdated": if value != nil { jtv, ok := value.(json.Number) @@ -36411,7 +35950,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesUpdated = int32(i64) } - case "TimeLeftSeconds": if value != nil { switch jtv := value.(type) { @@ -36445,7 +35983,6 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } - default: _, _ = key, value @@ -36551,7 +36088,6 @@ func awsAwsjson11_deserializeDocumentCrawlerNodeDetails(v **types.CrawlerNodeDet if err := awsAwsjson11_deserializeDocumentCrawlList(&sv.Crawls, value); err != nil { return err } - default: _, _ = key, value @@ -36581,15 +36117,9 @@ func awsAwsjson11_deserializeDocumentCrawlerNotRunningException(v **types.Crawle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36597,15 +36127,11 @@ func awsAwsjson11_deserializeDocumentCrawlerNotRunningException(v **types.Crawle } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36630,15 +36156,9 @@ func awsAwsjson11_deserializeDocumentCrawlerRunningException(v **types.CrawlerRu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36646,15 +36166,11 @@ func awsAwsjson11_deserializeDocumentCrawlerRunningException(v **types.CrawlerRu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36679,15 +36195,9 @@ func awsAwsjson11_deserializeDocumentCrawlerStoppingException(v **types.CrawlerS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36695,15 +36205,11 @@ func awsAwsjson11_deserializeDocumentCrawlerStoppingException(v **types.CrawlerS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36734,42 +36240,34 @@ func awsAwsjson11_deserializeDocumentCrawlerTargets(v **types.CrawlerTargets, va if err := awsAwsjson11_deserializeDocumentCatalogTargetList(&sv.CatalogTargets, value); err != nil { return err } - case "DeltaTargets": if err := awsAwsjson11_deserializeDocumentDeltaTargetList(&sv.DeltaTargets, value); err != nil { return err } - case "DynamoDBTargets": if err := awsAwsjson11_deserializeDocumentDynamoDBTargetList(&sv.DynamoDBTargets, value); err != nil { return err } - case "HudiTargets": if err := awsAwsjson11_deserializeDocumentHudiTargetList(&sv.HudiTargets, value); err != nil { return err } - case "IcebergTargets": if err := awsAwsjson11_deserializeDocumentIcebergTargetList(&sv.IcebergTargets, value); err != nil { return err } - case "JdbcTargets": if err := awsAwsjson11_deserializeDocumentJdbcTargetList(&sv.JdbcTargets, value); err != nil { return err } - case "MongoDBTargets": if err := awsAwsjson11_deserializeDocumentMongoDBTargetList(&sv.MongoDBTargets, value); err != nil { return err } - case "S3Targets": if err := awsAwsjson11_deserializeDocumentS3TargetList(&sv.S3Targets, value); err != nil { return err } - default: _, _ = key, value @@ -36843,7 +36341,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.AllowSingleColumn = ptr.Bool(jtv) } - case "ContainsHeader": if value != nil { jtv, ok := value.(string) @@ -36852,7 +36349,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.ContainsHeader = types.CsvHeaderOption(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -36868,7 +36364,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } } - case "CustomDatatypeConfigured": if value != nil { jtv, ok := value.(bool) @@ -36877,12 +36372,10 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.CustomDatatypeConfigured = ptr.Bool(jtv) } - case "CustomDatatypes": if err := awsAwsjson11_deserializeDocumentCustomDatatypes(&sv.CustomDatatypes, value); err != nil { return err } - case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -36891,7 +36384,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Delimiter = ptr.String(jtv) } - case "DisableValueTrimming": if value != nil { jtv, ok := value.(bool) @@ -36900,12 +36392,10 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.DisableValueTrimming = ptr.Bool(jtv) } - case "Header": if err := awsAwsjson11_deserializeDocumentCsvHeader(&sv.Header, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -36921,7 +36411,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -36930,7 +36419,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Name = ptr.String(jtv) } - case "QuoteSymbol": if value != nil { jtv, ok := value.(string) @@ -36939,7 +36427,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.QuoteSymbol = ptr.String(jtv) } - case "Serde": if value != nil { jtv, ok := value.(string) @@ -36948,7 +36435,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Serde = types.CsvSerdeOption(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -36961,7 +36447,6 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Version = i64 } - default: _, _ = key, value @@ -37037,7 +36522,6 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.ClassName = ptr.String(jtv) } - case "Code": if value != nil { jtv, ok := value.(string) @@ -37046,12 +36530,10 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.Code = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37060,12 +36542,10 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -37137,7 +36617,6 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType if err := awsAwsjson11_deserializeDocumentContextWords(&sv.ContextWords, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37146,7 +36625,6 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType } sv.Name = ptr.String(jtv) } - case "RegexString": if value != nil { jtv, ok := value.(string) @@ -37155,7 +36633,6 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType } sv.RegexString = ptr.String(jtv) } - default: _, _ = key, value @@ -37333,12 +36810,10 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.CatalogId = ptr.String(jtv) } - case "CreateTableDefaultPermissions": if err := awsAwsjson11_deserializeDocumentPrincipalPermissionsList(&sv.CreateTableDefaultPermissions, value); err != nil { return err } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -37354,7 +36829,6 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -37363,12 +36837,10 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Description = ptr.String(jtv) } - case "FederatedDatabase": if err := awsAwsjson11_deserializeDocumentFederatedDatabase(&sv.FederatedDatabase, value); err != nil { return err } - case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -37377,7 +36849,6 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.LocationUri = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37386,17 +36857,14 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "TargetDatabase": if err := awsAwsjson11_deserializeDocumentDatabaseIdentifier(&sv.TargetDatabase, value); err != nil { return err } - default: _, _ = key, value @@ -37436,7 +36904,6 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -37445,7 +36912,6 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.DatabaseName = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -37454,7 +36920,6 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -37524,12 +36989,10 @@ func awsAwsjson11_deserializeDocumentDataCatalogEncryptionSettings(v **types.Dat if err := awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(&sv.ConnectionPasswordEncryption, value); err != nil { return err } - case "EncryptionAtRest": if err := awsAwsjson11_deserializeDocumentEncryptionAtRest(&sv.EncryptionAtRest, value); err != nil { return err } - default: _, _ = key, value @@ -37569,7 +37032,6 @@ func awsAwsjson11_deserializeDocumentDataLakePrincipal(v **types.DataLakePrincip } sv.DataLakePrincipalIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -37609,12 +37071,10 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.Description = ptr.String(jtv) } - case "EvaluatedMetrics": if err := awsAwsjson11_deserializeDocumentEvaluatedMetricsMap(&sv.EvaluatedMetrics, value); err != nil { return err } - case "EvaluationMessage": if value != nil { jtv, ok := value.(string) @@ -37623,7 +37083,6 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.EvaluationMessage = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37632,7 +37091,6 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -37706,7 +37164,6 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } - case "CompositeRuleEvaluationMethod": if value != nil { jtv, ok := value.(string) @@ -37715,7 +37172,6 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.CompositeRuleEvaluationMethod = types.DQCompositeRuleEvaluationMethod(jtv) } - case "ResultsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -37724,7 +37180,6 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.ResultsS3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -37789,7 +37244,6 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } - case "ExpectedValue": if value != nil { switch jtv := value.(type) { @@ -37823,7 +37277,6 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } - case "LowerLimit": if value != nil { switch jtv := value.(type) { @@ -37857,7 +37310,6 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } - case "UpperLimit": if value != nil { switch jtv := value.(type) { @@ -37891,7 +37343,6 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } - default: _, _ = key, value @@ -37931,12 +37382,10 @@ func awsAwsjson11_deserializeDocumentDataQualityObservation(v **types.DataQualit } sv.Description = ptr.String(jtv) } - case "MetricBasedObservation": if err := awsAwsjson11_deserializeDocumentMetricBasedObservation(&sv.MetricBasedObservation, value); err != nil { return err } - default: _, _ = key, value @@ -38006,7 +37455,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu if err := awsAwsjson11_deserializeDocumentDataQualityAnalyzerResults(&sv.AnalyzerResults, value); err != nil { return err } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -38022,12 +37470,10 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -38036,7 +37482,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.EvaluationContext = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -38045,7 +37490,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -38054,12 +37498,10 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.JobRunId = ptr.String(jtv) } - case "Observations": if err := awsAwsjson11_deserializeDocumentDataQualityObservations(&sv.Observations, value); err != nil { return err } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -38068,7 +37510,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.ProfileId = ptr.String(jtv) } - case "ResultId": if value != nil { jtv, ok := value.(string) @@ -38077,12 +37518,10 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.ResultId = ptr.String(jtv) } - case "RuleResults": if err := awsAwsjson11_deserializeDocumentDataQualityRuleResults(&sv.RuleResults, value); err != nil { return err } - case "RulesetEvaluationRunId": if value != nil { jtv, ok := value.(string) @@ -38091,7 +37530,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.RulesetEvaluationRunId = ptr.String(jtv) } - case "RulesetName": if value != nil { jtv, ok := value.(string) @@ -38100,7 +37538,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.RulesetName = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -38134,7 +37571,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -38150,7 +37586,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } - default: _, _ = key, value @@ -38186,7 +37621,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -38195,7 +37629,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -38204,7 +37637,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.JobRunId = ptr.String(jtv) } - case "ResultId": if value != nil { jtv, ok := value.(string) @@ -38213,7 +37645,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.ResultId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -38229,7 +37660,6 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } } - default: _, _ = key, value @@ -38405,7 +37835,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -38414,7 +37843,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } sv.RunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -38430,7 +37858,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38439,7 +37866,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } sv.Status = types.TaskStatusType(jtv) } - default: _, _ = key, value @@ -38513,12 +37939,10 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Description = ptr.String(jtv) } - case "EvaluatedMetrics": if err := awsAwsjson11_deserializeDocumentEvaluatedMetricsMap(&sv.EvaluatedMetrics, value); err != nil { return err } - case "EvaluatedRule": if value != nil { jtv, ok := value.(string) @@ -38527,7 +37951,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.EvaluatedRule = ptr.String(jtv) } - case "EvaluationMessage": if value != nil { jtv, ok := value.(string) @@ -38536,7 +37959,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.EvaluationMessage = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38545,7 +37967,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Name = ptr.String(jtv) } - case "Result": if value != nil { jtv, ok := value.(string) @@ -38554,7 +37975,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Result = types.DataQualityRuleResultStatus(jtv) } - default: _, _ = key, value @@ -38624,7 +38044,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -38633,7 +38052,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } sv.RunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -38649,7 +38067,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38658,7 +38075,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } sv.Status = types.TaskStatusType(jtv) } - default: _, _ = key, value @@ -38773,7 +38189,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -38782,7 +38197,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.Description = ptr.String(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -38798,7 +38212,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38807,7 +38220,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.Name = ptr.String(jtv) } - case "RecommendationRunId": if value != nil { jtv, ok := value.(string) @@ -38816,7 +38228,6 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.RecommendationRunId = ptr.String(jtv) } - case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -38829,12 +38240,10 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.RuleCount = ptr.Int32(int32(i64)) } - case "TargetTable": if err := awsAwsjson11_deserializeDocumentDataQualityTargetTable(&sv.TargetTable, value); err != nil { return err } - default: _, _ = key, value @@ -38874,7 +38283,6 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -38883,7 +38291,6 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.DatabaseName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -38892,7 +38299,6 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -38928,7 +38334,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentGlueTable(&sv.GlueTable, value); err != nil { return err } - default: _, _ = key, value @@ -39003,7 +38408,6 @@ func awsAwsjson11_deserializeDocumentDatatype(v **types.Datatype, value interfac } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -39012,7 +38416,6 @@ func awsAwsjson11_deserializeDocumentDatatype(v **types.Datatype, value interfac } sv.Label = ptr.String(jtv) } - default: _, _ = key, value @@ -39059,7 +38462,6 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } } - case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -39075,7 +38477,6 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } } - case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -39088,7 +38489,6 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } sv.NumberOfDistinctValues = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -39101,7 +38501,6 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -39137,12 +38536,10 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim if err := awsAwsjson11_deserializeDocumentDecimalNumber(&sv.MaximumValue, value); err != nil { return err } - case "MinimumValue": if err := awsAwsjson11_deserializeDocumentDecimalNumber(&sv.MinimumValue, value); err != nil { return err } - case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -39155,7 +38552,6 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim } sv.NumberOfDistinctValues = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -39168,7 +38564,6 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -39212,7 +38607,6 @@ func awsAwsjson11_deserializeDocumentDecimalNumber(v **types.DecimalNumber, valu } sv.Scale = int32(i64) } - case "UnscaledValue": if value != nil { jtv, ok := value.(string) @@ -39225,7 +38619,6 @@ func awsAwsjson11_deserializeDocumentDecimalNumber(v **types.DecimalNumber, valu } sv.UnscaledValue = dv } - default: _, _ = key, value @@ -39265,7 +38658,6 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.ConnectionName = ptr.String(jtv) } - case "CreateNativeDeltaTable": if value != nil { jtv, ok := value.(bool) @@ -39274,12 +38666,10 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.CreateNativeDeltaTable = ptr.Bool(jtv) } - case "DeltaTables": if err := awsAwsjson11_deserializeDocumentPathList(&sv.DeltaTables, value); err != nil { return err } - case "WriteManifest": if value != nil { jtv, ok := value.(bool) @@ -39288,7 +38678,6 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.WriteManifest = ptr.Bool(jtv) } - default: _, _ = key, value @@ -39358,7 +38747,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in if err := awsAwsjson11_deserializeDocumentMapValue(&sv.Arguments, value); err != nil { return err } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -39367,7 +38755,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.AvailabilityZone = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -39383,7 +38770,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -39392,7 +38778,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.EndpointName = ptr.String(jtv) } - case "ExtraJarsS3Path": if value != nil { jtv, ok := value.(string) @@ -39401,7 +38786,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ExtraJarsS3Path = ptr.String(jtv) } - case "ExtraPythonLibsS3Path": if value != nil { jtv, ok := value.(string) @@ -39410,7 +38794,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ExtraPythonLibsS3Path = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -39419,7 +38802,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.FailureReason = ptr.String(jtv) } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -39428,7 +38810,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.GlueVersion = ptr.String(jtv) } - case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -39444,7 +38825,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -39453,7 +38833,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.LastUpdateStatus = ptr.String(jtv) } - case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -39466,7 +38845,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.NumberOfNodes = int32(i64) } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -39479,7 +38857,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "PrivateAddress": if value != nil { jtv, ok := value.(string) @@ -39488,7 +38865,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PrivateAddress = ptr.String(jtv) } - case "PublicAddress": if value != nil { jtv, ok := value.(string) @@ -39497,7 +38873,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PublicAddress = ptr.String(jtv) } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -39506,12 +38881,10 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PublicKey = ptr.String(jtv) } - case "PublicKeys": if err := awsAwsjson11_deserializeDocumentPublicKeysList(&sv.PublicKeys, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -39520,7 +38893,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.RoleArn = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -39529,12 +38901,10 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.SecurityConfiguration = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -39543,7 +38913,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.Status = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -39552,7 +38921,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -39561,7 +38929,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.VpcId = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -39570,7 +38937,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.WorkerType = types.WorkerType(jtv) } - case "YarnEndpointAddress": if value != nil { jtv, ok := value.(string) @@ -39579,7 +38945,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.YarnEndpointAddress = ptr.String(jtv) } - case "ZeppelinRemoteSparkInterpreterPort": if value != nil { jtv, ok := value.(json.Number) @@ -39592,7 +38957,6 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ZeppelinRemoteSparkInterpreterPort = int32(i64) } - default: _, _ = key, value @@ -39738,7 +39102,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -39747,7 +39110,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.ConnectionType = types.JDBCConnectionType(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -39756,7 +39118,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39765,7 +39126,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Name = ptr.String(jtv) } - case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -39774,7 +39134,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.RedshiftTmpDir = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -39783,7 +39142,6 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -39819,7 +39177,6 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } - case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -39828,7 +39185,6 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.DetectSchema = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39837,12 +39193,10 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.Name = ptr.String(jtv) } - case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } - case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -39855,7 +39209,6 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.WindowSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -39891,7 +39244,6 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } - case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -39900,7 +39252,6 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.DetectSchema = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39909,12 +39260,10 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.Name = ptr.String(jtv) } - case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } - case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -39927,7 +39276,6 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.WindowSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -39967,7 +39315,6 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.Database = ptr.String(jtv) } - case "EnableUpdateCatalog": if value != nil { jtv, ok := value.(bool) @@ -39976,7 +39323,6 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.EnableUpdateCatalog = ptr.Bool(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -39985,7 +39331,6 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.Table = ptr.String(jtv) } - case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -39994,7 +39339,6 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.UpdateBehavior = types.UpdateCatalogBehavior(jtv) } - default: _, _ = key, value @@ -40059,7 +39403,6 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } } - case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -40093,7 +39436,6 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } } - case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -40106,7 +39448,6 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } sv.NumberOfDistinctValues = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -40119,7 +39460,6 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -40231,7 +39571,6 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } - case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -40240,7 +39579,6 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.EvaluationContext = ptr.String(jtv) } - case "ResultsPublishingEnabled": if value != nil { jtv, ok := value.(bool) @@ -40249,7 +39587,6 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.ResultsPublishingEnabled = ptr.Bool(jtv) } - case "ResultsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -40258,7 +39595,6 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.ResultsS3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -40298,7 +39634,6 @@ func awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(v **types.DQStopJ } sv.StopJobOnFailureTiming = types.DQStopJobOnFailureTiming(jtv) } - default: _, _ = key, value @@ -40334,12 +39669,10 @@ func awsAwsjson11_deserializeDocumentDropDuplicates(v **types.DropDuplicates, va if err := awsAwsjson11_deserializeDocumentLimitedPathList(&sv.Columns, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40348,7 +39681,6 @@ func awsAwsjson11_deserializeDocumentDropDuplicates(v **types.DropDuplicates, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -40384,7 +39716,6 @@ func awsAwsjson11_deserializeDocumentDropFields(v **types.DropFields, value inte if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40393,12 +39724,10 @@ func awsAwsjson11_deserializeDocumentDropFields(v **types.DropFields, value inte } sv.Name = ptr.String(jtv) } - case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -40434,7 +39763,6 @@ func awsAwsjson11_deserializeDocumentDropNullFields(v **types.DropNullFields, va if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40443,17 +39771,14 @@ func awsAwsjson11_deserializeDocumentDropNullFields(v **types.DropNullFields, va } sv.Name = ptr.String(jtv) } - case "NullCheckBoxList": if err := awsAwsjson11_deserializeDocumentNullCheckBoxList(&sv.NullCheckBoxList, value); err != nil { return err } - case "NullTextList": if err := awsAwsjson11_deserializeDocumentNullValueFields(&sv.NullTextList, value); err != nil { return err } - default: _, _ = key, value @@ -40493,12 +39818,10 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.FunctionName = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40507,17 +39830,14 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformConfigParameterList(&sv.Parameters, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -40526,7 +39846,6 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Path = ptr.String(jtv) } - case "TransformName": if value != nil { jtv, ok := value.(string) @@ -40535,7 +39854,6 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.TransformName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -40544,7 +39862,6 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -40584,7 +39901,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40593,7 +39909,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -40602,7 +39917,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -40642,7 +39956,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } sv.Path = ptr.String(jtv) } - case "scanAll": if value != nil { jtv, ok := value.(bool) @@ -40651,7 +39964,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } sv.ScanAll = ptr.Bool(jtv) } - case "scanRate": if value != nil { switch jtv := value.(type) { @@ -40685,7 +39997,6 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } } - default: _, _ = key, value @@ -40759,7 +40070,6 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.DestinationId = ptr.String(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -40768,7 +40078,6 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.SourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -40950,7 +40259,6 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.CatalogEncryptionMode = types.CatalogEncryptionMode(jtv) } - case "CatalogEncryptionServiceRole": if value != nil { jtv, ok := value.(string) @@ -40959,7 +40267,6 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.CatalogEncryptionServiceRole = ptr.String(jtv) } - case "SseAwsKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40968,7 +40275,6 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.SseAwsKmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -41004,17 +40310,14 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsAwsjson11_deserializeDocumentCloudWatchEncryption(&sv.CloudWatchEncryption, value); err != nil { return err } - case "JobBookmarksEncryption": if err := awsAwsjson11_deserializeDocumentJobBookmarksEncryption(&sv.JobBookmarksEncryption, value); err != nil { return err } - case "S3Encryption": if err := awsAwsjson11_deserializeDocumentS3EncryptionList(&sv.S3Encryption, value); err != nil { return err } - default: _, _ = key, value @@ -41044,13 +40347,7 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FromFederationSource": if value != nil { @@ -41060,8 +40357,7 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.FromFederationSource = ptr.Bool(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41069,15 +40365,11 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41147,7 +40439,6 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -41156,7 +40447,6 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -41196,7 +40486,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -41205,7 +40494,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -41241,7 +40529,6 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41250,7 +40537,6 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Name = ptr.String(jtv) } - case "Output": if value != nil { jtv, ok := value.(string) @@ -41259,12 +40545,10 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Output = types.DQTransformOutput(jtv) } - case "PublishingOptions": if err := awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(&sv.PublishingOptions, value); err != nil { return err } - case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -41273,12 +40557,10 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Ruleset = ptr.String(jtv) } - case "StopJobOnFailureOptions": if err := awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(&sv.StopJobOnFailureOptions, value); err != nil { return err } - default: _, _ = key, value @@ -41314,17 +40596,14 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva if err := awsAwsjson11_deserializeDocumentDQDLAliases(&sv.AdditionalDataSources, value); err != nil { return err } - case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentDQAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41333,12 +40612,10 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva } sv.Name = ptr.String(jtv) } - case "PublishingOptions": if err := awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(&sv.PublishingOptions, value); err != nil { return err } - case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -41347,12 +40624,10 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva } sv.Ruleset = ptr.String(jtv) } - case "StopJobOnFailureOptions": if err := awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(&sv.StopJobOnFailureOptions, value); err != nil { return err } - default: _, _ = key, value @@ -41449,7 +40724,6 @@ func awsAwsjson11_deserializeDocumentEvaluationMetrics(v **types.EvaluationMetri if err := awsAwsjson11_deserializeDocumentFindMatchesMetrics(&sv.FindMatchesMetrics, value); err != nil { return err } - case "TransformType": if value != nil { jtv, ok := value.(string) @@ -41458,7 +40732,6 @@ func awsAwsjson11_deserializeDocumentEvaluationMetrics(v **types.EvaluationMetri } sv.TransformType = types.TransformType(jtv) } - default: _, _ = key, value @@ -41502,7 +40775,6 @@ func awsAwsjson11_deserializeDocumentEventBatchingCondition(v **types.EventBatch } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BatchWindow": if value != nil { jtv, ok := value.(json.Number) @@ -41515,7 +40787,6 @@ func awsAwsjson11_deserializeDocumentEventBatchingCondition(v **types.EventBatch } sv.BatchWindow = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41559,7 +40830,6 @@ func awsAwsjson11_deserializeDocumentExecutionProperty(v **types.ExecutionProper } sv.MaxConcurrentRuns = int32(i64) } - default: _, _ = key, value @@ -41599,7 +40869,6 @@ func awsAwsjson11_deserializeDocumentExportLabelsTaskRunProperties(v **types.Exp } sv.OutputS3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -41639,7 +40908,6 @@ func awsAwsjson11_deserializeDocumentFederatedDatabase(v **types.FederatedDataba } sv.ConnectionName = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -41648,7 +40916,6 @@ func awsAwsjson11_deserializeDocumentFederatedDatabase(v **types.FederatedDataba } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -41678,13 +40945,7 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "AssociatedGlueResource": if value != nil { @@ -41694,8 +40955,7 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * } sv.AssociatedGlueResource = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41703,15 +40963,11 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41746,7 +41002,6 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.ConnectionName = ptr.String(jtv) } - case "DatabaseIdentifier": if value != nil { jtv, ok := value.(string) @@ -41755,7 +41010,6 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.DatabaseIdentifier = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -41764,7 +41018,6 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -41794,13 +41047,7 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FederationSourceErrorCode": if value != nil { @@ -41810,8 +41057,7 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat } sv.FederationSourceErrorCode = types.FederationSourceErrorCode(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41819,15 +41065,11 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41852,15 +41094,9 @@ func awsAwsjson11_deserializeDocumentFederationSourceRetryableException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41868,15 +41104,11 @@ func awsAwsjson11_deserializeDocumentFederationSourceRetryableException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41911,7 +41143,6 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.FilledPath = ptr.String(jtv) } - case "ImputedPath": if value != nil { jtv, ok := value.(string) @@ -41920,12 +41151,10 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.ImputedPath = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41934,7 +41163,6 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41970,12 +41198,10 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) if err := awsAwsjson11_deserializeDocumentFilterExpressions(&sv.Filters, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "LogicalOperator": if value != nil { jtv, ok := value.(string) @@ -41984,7 +41210,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.LogicalOperator = types.FilterLogicalOperator(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41993,7 +41218,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -42033,7 +41257,6 @@ func awsAwsjson11_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Negated = ptr.Bool(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -42042,12 +41265,10 @@ func awsAwsjson11_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Operation = types.FilterOperation(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentFilterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -42121,12 +41342,10 @@ func awsAwsjson11_deserializeDocumentFilterValue(v **types.FilterValue, value in } sv.Type = types.FilterValueType(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -42225,17 +41444,14 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } - case "ColumnImportances": if err := awsAwsjson11_deserializeDocumentColumnImportanceList(&sv.ColumnImportances, value); err != nil { return err } - case "ConfusionMatrix": if err := awsAwsjson11_deserializeDocumentConfusionMatrix(&sv.ConfusionMatrix, value); err != nil { return err } - case "F1": if value != nil { switch jtv := value.(type) { @@ -42269,7 +41485,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -42303,7 +41518,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -42337,7 +41551,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } - default: _, _ = key, value @@ -42402,7 +41615,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } } - case "EnforceProvidedLabels": if value != nil { jtv, ok := value.(bool) @@ -42411,7 +41623,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } sv.EnforceProvidedLabels = ptr.Bool(jtv) } - case "PrecisionRecallTradeoff": if value != nil { switch jtv := value.(type) { @@ -42445,7 +41656,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } } - case "PrimaryKeyColumnName": if value != nil { jtv, ok := value.(string) @@ -42454,7 +41664,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } sv.PrimaryKeyColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -42494,7 +41703,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -42503,7 +41711,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -42512,7 +41719,6 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -42646,15 +41852,9 @@ func awsAwsjson11_deserializeDocumentGlueEncryptionException(v **types.GlueEncry sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42662,15 +41862,11 @@ func awsAwsjson11_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42712,7 +41908,6 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } } - case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -42721,7 +41916,6 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } sv.PolicyHash = ptr.String(jtv) } - case "PolicyInJson": if value != nil { jtv, ok := value.(string) @@ -42730,7 +41924,6 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } sv.PolicyInJson = ptr.String(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -42746,7 +41939,6 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } } - default: _, _ = key, value @@ -42782,7 +41974,6 @@ func awsAwsjson11_deserializeDocumentGlueSchema(v **types.GlueSchema, value inte if err := awsAwsjson11_deserializeDocumentGlueStudioSchemaColumnList(&sv.Columns, value); err != nil { return err } - default: _, _ = key, value @@ -42888,7 +42079,6 @@ func awsAwsjson11_deserializeDocumentGlueStudioSchemaColumn(v **types.GlueStudio } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -42897,7 +42087,6 @@ func awsAwsjson11_deserializeDocumentGlueStudioSchemaColumn(v **types.GlueStudio } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -42967,7 +42156,6 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf if err := awsAwsjson11_deserializeDocumentGlueTableAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "CatalogId": if value != nil { jtv, ok := value.(string) @@ -42976,7 +42164,6 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.CatalogId = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -42985,7 +42172,6 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.ConnectionName = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -42994,7 +42180,6 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.DatabaseName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -43003,7 +42188,6 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -43109,7 +42293,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat if err := awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -43118,7 +42301,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -43127,7 +42309,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Name = ptr.String(jtv) } - case "PartitionPredicate": if value != nil { jtv, ok := value.(string) @@ -43136,7 +42317,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.PartitionPredicate = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -43145,7 +42325,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -43185,12 +42364,10 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -43199,17 +42376,14 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -43218,7 +42392,6 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -43258,7 +42431,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Classification = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43274,7 +42446,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } } - case "CustomPatterns": if value != nil { jtv, ok := value.(string) @@ -43283,7 +42454,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.CustomPatterns = ptr.String(jtv) } - case "GrokPattern": if value != nil { jtv, ok := value.(string) @@ -43292,7 +42462,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.GrokPattern = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -43308,7 +42477,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -43317,7 +42485,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -43330,7 +42497,6 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Version = i64 } - default: _, _ = key, value @@ -43370,12 +42536,10 @@ func awsAwsjson11_deserializeDocumentHudiTarget(v **types.HudiTarget, value inte } sv.ConnectionName = ptr.String(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } - case "MaximumTraversalDepth": if value != nil { jtv, ok := value.(json.Number) @@ -43388,12 +42552,10 @@ func awsAwsjson11_deserializeDocumentHudiTarget(v **types.HudiTarget, value inte } sv.MaximumTraversalDepth = ptr.Int32(int32(i64)) } - case "Paths": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -43492,7 +42654,6 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } } - case "NumberOfBytesCompacted": if value != nil { jtv, ok := value.(json.Number) @@ -43505,7 +42666,6 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfBytesCompacted = i64 } - case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -43518,7 +42678,6 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfDpus = int32(i64) } - case "NumberOfFilesCompacted": if value != nil { jtv, ok := value.(json.Number) @@ -43531,7 +42690,6 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfFilesCompacted = i64 } - default: _, _ = key, value @@ -43571,7 +42729,6 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(v ** } sv.Location = ptr.String(jtv) } - case "orphanFileRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -43584,7 +42741,6 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(v ** } sv.OrphanFileRetentionPeriodInDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43649,7 +42805,6 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } } - case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -43662,7 +42817,6 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } sv.NumberOfDpus = int32(i64) } - case "NumberOfOrphanFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -43675,7 +42829,6 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } sv.NumberOfOrphanFilesDeleted = i64 } - default: _, _ = key, value @@ -43715,7 +42868,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.CleanExpiredFiles = ptr.Bool(jtv) } - case "numberOfSnapshotsToRetain": if value != nil { jtv, ok := value.(json.Number) @@ -43728,7 +42880,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.NumberOfSnapshotsToRetain = ptr.Int32(int32(i64)) } - case "snapshotRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -43741,7 +42892,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.SnapshotRetentionPeriodInDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43806,7 +42956,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } } - case "NumberOfDataFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -43819,7 +42968,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfDataFilesDeleted = i64 } - case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -43832,7 +42980,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfDpus = int32(i64) } - case "NumberOfManifestFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -43845,7 +42992,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfManifestFilesDeleted = i64 } - case "NumberOfManifestListsDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -43858,7 +43004,6 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfManifestListsDeleted = i64 } - default: _, _ = key, value @@ -43898,12 +43043,10 @@ func awsAwsjson11_deserializeDocumentIcebergTarget(v **types.IcebergTarget, valu } sv.ConnectionName = ptr.String(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } - case "MaximumTraversalDepth": if value != nil { jtv, ok := value.(json.Number) @@ -43916,12 +43059,10 @@ func awsAwsjson11_deserializeDocumentIcebergTarget(v **types.IcebergTarget, valu } sv.MaximumTraversalDepth = ptr.Int32(int32(i64)) } - case "Paths": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -43985,15 +43126,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44001,15 +43136,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44034,15 +43165,9 @@ func awsAwsjson11_deserializeDocumentIllegalBlueprintStateException(v **types.Il sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44050,15 +43175,11 @@ func awsAwsjson11_deserializeDocumentIllegalBlueprintStateException(v **types.Il } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44083,15 +43204,9 @@ func awsAwsjson11_deserializeDocumentIllegalSessionStateException(v **types.Ille sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44099,15 +43214,11 @@ func awsAwsjson11_deserializeDocumentIllegalSessionStateException(v **types.Ille } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44132,15 +43243,9 @@ func awsAwsjson11_deserializeDocumentIllegalWorkflowStateException(v **types.Ill sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44148,15 +43253,11 @@ func awsAwsjson11_deserializeDocumentIllegalWorkflowStateException(v **types.Ill } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44191,7 +43292,6 @@ func awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(v **types.Imp } sv.InputS3Path = ptr.String(jtv) } - case "Replace": if value != nil { jtv, ok := value.(bool) @@ -44200,7 +43300,6 @@ func awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(v **types.Imp } sv.Replace = jtv } - default: _, _ = key, value @@ -44230,15 +43329,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44246,15 +43339,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44279,13 +43368,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FromFederationSource": if value != nil { @@ -44295,8 +43378,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.FromFederationSource = ptr.Bool(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44304,15 +43386,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44337,15 +43415,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44353,15 +43425,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44392,7 +43460,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto if err := awsAwsjson11_deserializeDocumentJDBCDataTypeMapping(&sv.DataTypeMapping, value); err != nil { return err } - case "FilterPredicate": if value != nil { jtv, ok := value.(string) @@ -44401,12 +43468,10 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.FilterPredicate = ptr.String(jtv) } - case "JobBookmarkKeys": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.JobBookmarkKeys, value); err != nil { return err } - case "JobBookmarkKeysSortOrder": if value != nil { jtv, ok := value.(string) @@ -44415,7 +43480,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.JobBookmarkKeysSortOrder = ptr.String(jtv) } - case "LowerBound": if value != nil { jtv, ok := value.(json.Number) @@ -44428,7 +43492,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.LowerBound = ptr.Int64(i64) } - case "NumPartitions": if value != nil { jtv, ok := value.(json.Number) @@ -44441,7 +43504,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.NumPartitions = ptr.Int64(i64) } - case "PartitionColumn": if value != nil { jtv, ok := value.(string) @@ -44450,7 +43512,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.PartitionColumn = ptr.String(jtv) } - case "UpperBound": if value != nil { jtv, ok := value.(json.Number) @@ -44463,7 +43524,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.UpperBound = ptr.Int64(i64) } - default: _, _ = key, value @@ -44499,7 +43559,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector if err := awsAwsjson11_deserializeDocumentJDBCConnectorOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -44508,7 +43567,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -44517,7 +43575,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionTable = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -44526,7 +43583,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionType = ptr.String(jtv) } - case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -44535,7 +43591,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectorName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -44544,12 +43599,10 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Query": if value != nil { jtv, ok := value.(string) @@ -44558,7 +43611,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.Query = ptr.String(jtv) } - default: _, _ = key, value @@ -44594,7 +43646,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -44603,7 +43654,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -44612,7 +43662,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionTable = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -44621,7 +43670,6 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionType = ptr.String(jtv) } - case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -44630,12 +43678,10 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectorName = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -44644,12 +43690,10 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -44725,17 +43769,14 @@ func awsAwsjson11_deserializeDocumentJdbcTarget(v **types.JdbcTarget, value inte } sv.ConnectionName = ptr.String(jtv) } - case "EnableAdditionalMetadata": if err := awsAwsjson11_deserializeDocumentEnableAdditionalMetadata(&sv.EnableAdditionalMetadata, value); err != nil { return err } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -44744,7 +43785,6 @@ func awsAwsjson11_deserializeDocumentJdbcTarget(v **types.JdbcTarget, value inte } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -44822,22 +43862,18 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AllocatedCapacity = int32(i64) } - case "CodeGenConfigurationNodes": if err := awsAwsjson11_deserializeDocumentCodeGenConfigurationNodes(&sv.CodeGenConfigurationNodes, value); err != nil { return err } - case "Command": if err := awsAwsjson11_deserializeDocumentJobCommand(&sv.Command, value); err != nil { return err } - case "Connections": if err := awsAwsjson11_deserializeDocumentConnectionsList(&sv.Connections, value); err != nil { return err } - case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -44853,12 +43889,10 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "DefaultArguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.DefaultArguments, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -44867,7 +43901,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Description = ptr.String(jtv) } - case "ExecutionClass": if value != nil { jtv, ok := value.(string) @@ -44876,12 +43909,10 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ExecutionClass = types.ExecutionClass(jtv) } - case "ExecutionProperty": if err := awsAwsjson11_deserializeDocumentExecutionProperty(&sv.ExecutionProperty, value); err != nil { return err } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -44890,7 +43921,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.GlueVersion = ptr.String(jtv) } - case "JobMode": if value != nil { jtv, ok := value.(string) @@ -44899,7 +43929,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobMode = types.JobMode(jtv) } - case "JobRunQueuingEnabled": if value != nil { jtv, ok := value.(bool) @@ -44908,7 +43937,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobRunQueuingEnabled = ptr.Bool(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -44924,7 +43952,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -44933,7 +43960,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LogUri = ptr.String(jtv) } - case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -44942,7 +43968,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaintenanceWindow = ptr.String(jtv) } - case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -44976,7 +44001,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -44989,7 +44013,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxRetries = int32(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -44998,17 +44021,14 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } - case "NonOverridableArguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.NonOverridableArguments, value); err != nil { return err } - case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -45021,7 +44041,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -45030,7 +44049,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ProfileName = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -45039,7 +44057,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Role = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -45048,12 +44065,10 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.SecurityConfiguration = ptr.String(jtv) } - case "SourceControlDetails": if err := awsAwsjson11_deserializeDocumentSourceControlDetails(&sv.SourceControlDetails, value); err != nil { return err } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -45066,7 +44081,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Timeout = ptr.Int32(int32(i64)) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -45075,7 +44089,6 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.WorkerType = types.WorkerType(jtv) } - default: _, _ = key, value @@ -45119,7 +44132,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Attempt = int32(i64) } - case "JobBookmark": if value != nil { jtv, ok := value.(string) @@ -45128,7 +44140,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.JobBookmark = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -45137,7 +44148,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.JobName = ptr.String(jtv) } - case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -45146,7 +44156,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.PreviousRunId = ptr.String(jtv) } - case "Run": if value != nil { jtv, ok := value.(json.Number) @@ -45159,7 +44168,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Run = int32(i64) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -45168,7 +44176,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.RunId = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -45181,7 +44188,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Version = int32(i64) } - default: _, _ = key, value @@ -45221,7 +44227,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarksEncryption(v **types.JobBookmar } sv.JobBookmarksEncryptionMode = types.JobBookmarksEncryptionMode(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -45230,7 +44235,6 @@ func awsAwsjson11_deserializeDocumentJobBookmarksEncryption(v **types.JobBookmar } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -45270,7 +44274,6 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.Name = ptr.String(jtv) } - case "PythonVersion": if value != nil { jtv, ok := value.(string) @@ -45279,7 +44282,6 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.PythonVersion = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -45288,7 +44290,6 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.Runtime = ptr.String(jtv) } - case "ScriptLocation": if value != nil { jtv, ok := value.(string) @@ -45297,7 +44298,6 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.ScriptLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -45403,7 +44403,6 @@ func awsAwsjson11_deserializeDocumentJobNodeDetails(v **types.JobNodeDetails, va if err := awsAwsjson11_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } - default: _, _ = key, value @@ -45447,12 +44446,10 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.AllocatedCapacity = int32(i64) } - case "Arguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.Arguments, value); err != nil { return err } - case "Attempt": if value != nil { jtv, ok := value.(json.Number) @@ -45465,7 +44462,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = int32(i64) } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -45481,7 +44477,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -45515,7 +44510,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -45524,7 +44518,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ErrorMessage = ptr.String(jtv) } - case "ExecutionClass": if value != nil { jtv, ok := value.(string) @@ -45533,7 +44526,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionClass = types.ExecutionClass(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -45546,7 +44538,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTime = int32(i64) } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -45555,7 +44546,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.GlueVersion = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -45564,7 +44554,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Id = ptr.String(jtv) } - case "JobMode": if value != nil { jtv, ok := value.(string) @@ -45573,7 +44562,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobMode = types.JobMode(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -45582,7 +44570,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobName = ptr.String(jtv) } - case "JobRunQueuingEnabled": if value != nil { jtv, ok := value.(bool) @@ -45591,7 +44578,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunQueuingEnabled = ptr.Bool(jtv) } - case "JobRunState": if value != nil { jtv, ok := value.(string) @@ -45600,7 +44586,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunState = types.JobRunState(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -45616,7 +44601,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -45625,7 +44609,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogGroupName = ptr.String(jtv) } - case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -45634,7 +44617,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.MaintenanceWindow = ptr.String(jtv) } - case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -45668,12 +44650,10 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -45686,12 +44666,10 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "PredecessorRuns": if err := awsAwsjson11_deserializeDocumentPredecessorList(&sv.PredecessorRuns, value); err != nil { return err } - case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -45700,7 +44678,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.PreviousRunId = ptr.String(jtv) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -45709,7 +44686,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ProfileName = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -45718,7 +44694,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.SecurityConfiguration = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -45734,7 +44709,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } - case "StateDetail": if value != nil { jtv, ok := value.(string) @@ -45743,7 +44717,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetail = ptr.String(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -45756,7 +44729,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Timeout = ptr.Int32(int32(i64)) } - case "TriggerName": if value != nil { jtv, ok := value.(string) @@ -45765,7 +44737,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.TriggerName = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -45774,7 +44745,6 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.WorkerType = types.WorkerType(jtv) } - default: _, _ = key, value @@ -45844,12 +44814,10 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err if err := awsAwsjson11_deserializeDocumentJoinColumns(&sv.Columns, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } - case "JoinType": if value != nil { jtv, ok := value.(string) @@ -45858,7 +44826,6 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err } sv.JoinType = types.JoinType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -45867,7 +44834,6 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -45907,12 +44873,10 @@ func awsAwsjson11_deserializeDocumentJoinColumn(v **types.JoinColumn, value inte } sv.From = ptr.String(jtv) } - case "Keys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Keys, value); err != nil { return err } - default: _, _ = key, value @@ -45993,7 +44957,6 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } } - case "JsonPath": if value != nil { jtv, ok := value.(string) @@ -46002,7 +44965,6 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.JsonPath = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -46018,7 +44980,6 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -46027,7 +44988,6 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -46040,7 +45000,6 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.Version = i64 } - default: _, _ = key, value @@ -46080,7 +45039,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.AddRecordTimestamp = ptr.String(jtv) } - case "Assign": if value != nil { jtv, ok := value.(string) @@ -46089,7 +45047,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Assign = ptr.String(jtv) } - case "BootstrapServers": if value != nil { jtv, ok := value.(string) @@ -46098,7 +45055,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.BootstrapServers = ptr.String(jtv) } - case "Classification": if value != nil { jtv, ok := value.(string) @@ -46107,7 +45063,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Classification = ptr.String(jtv) } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -46116,7 +45071,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.ConnectionName = ptr.String(jtv) } - case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -46125,7 +45079,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Delimiter = ptr.String(jtv) } - case "EmitConsumerLagMetrics": if value != nil { jtv, ok := value.(string) @@ -46134,7 +45087,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.EmitConsumerLagMetrics = ptr.String(jtv) } - case "EndingOffsets": if value != nil { jtv, ok := value.(string) @@ -46143,7 +45095,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.EndingOffsets = ptr.String(jtv) } - case "IncludeHeaders": if value != nil { jtv, ok := value.(bool) @@ -46152,7 +45103,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.IncludeHeaders = ptr.Bool(jtv) } - case "MaxOffsetsPerTrigger": if value != nil { jtv, ok := value.(json.Number) @@ -46165,7 +45115,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.MaxOffsetsPerTrigger = ptr.Int64(i64) } - case "MinPartitions": if value != nil { jtv, ok := value.(json.Number) @@ -46178,7 +45127,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.MinPartitions = ptr.Int32(int32(i64)) } - case "NumRetries": if value != nil { jtv, ok := value.(json.Number) @@ -46191,7 +45139,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.NumRetries = ptr.Int32(int32(i64)) } - case "PollTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -46204,7 +45151,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.PollTimeoutMs = ptr.Int64(i64) } - case "RetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -46217,7 +45163,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.RetryIntervalMs = ptr.Int64(i64) } - case "SecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -46226,7 +45171,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.SecurityProtocol = ptr.String(jtv) } - case "StartingOffsets": if value != nil { jtv, ok := value.(string) @@ -46235,7 +45179,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.StartingOffsets = ptr.String(jtv) } - case "StartingTimestamp": if value != nil { jtv, ok := value.(string) @@ -46248,7 +45191,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.StartingTimestamp = ptr.Time(t) } - case "SubscribePattern": if value != nil { jtv, ok := value.(string) @@ -46257,7 +45199,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.SubscribePattern = ptr.String(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -46266,7 +45207,6 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -46306,7 +45246,6 @@ func awsAwsjson11_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -46315,7 +45254,6 @@ func awsAwsjson11_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -46389,7 +45327,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AddIdleTimeBetweenReads = ptr.Bool(jtv) } - case "AddRecordTimestamp": if value != nil { jtv, ok := value.(string) @@ -46398,7 +45335,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AddRecordTimestamp = ptr.String(jtv) } - case "AvoidEmptyBatches": if value != nil { jtv, ok := value.(bool) @@ -46407,7 +45343,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AvoidEmptyBatches = ptr.Bool(jtv) } - case "Classification": if value != nil { jtv, ok := value.(string) @@ -46416,7 +45351,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.Classification = ptr.String(jtv) } - case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -46425,7 +45359,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.Delimiter = ptr.String(jtv) } - case "DescribeShardInterval": if value != nil { jtv, ok := value.(json.Number) @@ -46438,7 +45371,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.DescribeShardInterval = ptr.Int64(i64) } - case "EmitConsumerLagMetrics": if value != nil { jtv, ok := value.(string) @@ -46447,7 +45379,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.EmitConsumerLagMetrics = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -46456,7 +45387,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.EndpointUrl = ptr.String(jtv) } - case "IdleTimeBetweenReadsInMs": if value != nil { jtv, ok := value.(json.Number) @@ -46469,7 +45399,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.IdleTimeBetweenReadsInMs = ptr.Int64(i64) } - case "MaxFetchRecordsPerShard": if value != nil { jtv, ok := value.(json.Number) @@ -46482,7 +45411,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxFetchRecordsPerShard = ptr.Int64(i64) } - case "MaxFetchTimeInMs": if value != nil { jtv, ok := value.(json.Number) @@ -46495,7 +45423,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxFetchTimeInMs = ptr.Int64(i64) } - case "MaxRecordPerRead": if value != nil { jtv, ok := value.(json.Number) @@ -46508,7 +45435,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxRecordPerRead = ptr.Int64(i64) } - case "MaxRetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -46521,7 +45447,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxRetryIntervalMs = ptr.Int64(i64) } - case "NumRetries": if value != nil { jtv, ok := value.(json.Number) @@ -46534,7 +45459,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.NumRetries = ptr.Int32(int32(i64)) } - case "RetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -46547,7 +45471,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RetryIntervalMs = ptr.Int64(i64) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -46556,7 +45479,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RoleArn = ptr.String(jtv) } - case "RoleSessionName": if value != nil { jtv, ok := value.(string) @@ -46565,7 +45487,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RoleSessionName = ptr.String(jtv) } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -46574,7 +45495,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StartingPosition = types.StartingPosition(jtv) } - case "StartingTimestamp": if value != nil { jtv, ok := value.(string) @@ -46587,7 +45507,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StartingTimestamp = ptr.Time(t) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -46596,7 +45515,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StreamArn = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -46605,7 +45523,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -46645,7 +45562,6 @@ func awsAwsjson11_deserializeDocumentLabelingSetGenerationTaskRunProperties(v ** } sv.OutputS3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -46685,7 +45601,6 @@ func awsAwsjson11_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.AccountId = ptr.String(jtv) } - case "UseLakeFormationCredentials": if value != nil { jtv, ok := value.(bool) @@ -46694,7 +45609,6 @@ func awsAwsjson11_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.UseLakeFormationCredentials = ptr.Bool(jtv) } - default: _, _ = key, value @@ -46734,7 +45648,6 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.BlueprintLocation = ptr.String(jtv) } - case "BlueprintServiceLocation": if value != nil { jtv, ok := value.(string) @@ -46743,7 +45656,6 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.BlueprintServiceLocation = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -46752,7 +45664,6 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.Description = ptr.String(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -46768,7 +45679,6 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } } - case "ParameterSpec": if value != nil { jtv, ok := value.(string) @@ -46777,7 +45687,6 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.ParameterSpec = ptr.String(jtv) } - default: _, _ = key, value @@ -46817,7 +45726,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.ErrorMessage = ptr.String(jtv) } - case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -46826,7 +45734,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.LogGroup = ptr.String(jtv) } - case "LogStream": if value != nil { jtv, ok := value.(string) @@ -46835,7 +45742,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.LogStream = ptr.String(jtv) } - case "MessagePrefix": if value != nil { jtv, ok := value.(string) @@ -46844,7 +45750,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.MessagePrefix = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -46860,7 +45765,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46869,7 +45773,6 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.Status = types.LastCrawlStatus(jtv) } - default: _, _ = key, value @@ -46977,7 +45880,6 @@ func awsAwsjson11_deserializeDocumentLineageConfiguration(v **types.LineageConfi } sv.CrawlerLineageSettings = types.CrawlerLineageSettings(jtv) } - default: _, _ = key, value @@ -47093,7 +45995,6 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.MaximumValue = i64 } - case "MinimumValue": if value != nil { jtv, ok := value.(json.Number) @@ -47106,7 +46007,6 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.MinimumValue = i64 } - case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -47119,7 +46019,6 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.NumberOfDistinctValues = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -47132,7 +46031,6 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -47204,7 +46102,6 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ if err := awsAwsjson11_deserializeDocumentMappings(&sv.Children, value); err != nil { return err } - case "Dropped": if value != nil { jtv, ok := value.(bool) @@ -47213,12 +46110,10 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.Dropped = ptr.Bool(jtv) } - case "FromPath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.FromPath, value); err != nil { return err } - case "FromType": if value != nil { jtv, ok := value.(string) @@ -47227,7 +46122,6 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.FromType = ptr.String(jtv) } - case "ToKey": if value != nil { jtv, ok := value.(string) @@ -47236,7 +46130,6 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.ToKey = ptr.String(jtv) } - case "ToType": if value != nil { jtv, ok := value.(string) @@ -47245,7 +46138,6 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.ToType = ptr.String(jtv) } - default: _, _ = key, value @@ -47285,7 +46177,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourcePath = ptr.String(jtv) } - case "SourceTable": if value != nil { jtv, ok := value.(string) @@ -47294,7 +46185,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourceTable = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -47303,7 +46193,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourceType = ptr.String(jtv) } - case "TargetPath": if value != nil { jtv, ok := value.(string) @@ -47312,7 +46201,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetPath = ptr.String(jtv) } - case "TargetTable": if value != nil { jtv, ok := value.(string) @@ -47321,7 +46209,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetTable = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -47330,7 +46217,6 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetType = ptr.String(jtv) } - default: _, _ = key, value @@ -47506,7 +46392,6 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47515,12 +46400,10 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e } sv.Name = ptr.String(jtv) } - case "PrimaryKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PrimaryKeys, value); err != nil { return err } - case "Source": if value != nil { jtv, ok := value.(string) @@ -47529,7 +46412,6 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -47569,7 +46451,6 @@ func awsAwsjson11_deserializeDocumentMetadataInfo(v **types.MetadataInfo, value } sv.CreatedTime = ptr.String(jtv) } - case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -47578,12 +46459,10 @@ func awsAwsjson11_deserializeDocumentMetadataInfo(v **types.MetadataInfo, value } sv.MetadataValue = ptr.String(jtv) } - case "OtherMetadataValueList": if err := awsAwsjson11_deserializeDocumentOtherMetadataValueList(&sv.OtherMetadataValueList, value); err != nil { return err } - default: _, _ = key, value @@ -47658,17 +46537,14 @@ func awsAwsjson11_deserializeDocumentMetricBasedObservation(v **types.MetricBase } sv.MetricName = ptr.String(jtv) } - case "MetricValues": if err := awsAwsjson11_deserializeDocumentDataQualityMetricValues(&sv.MetricValues, value); err != nil { return err } - case "NewRules": if err := awsAwsjson11_deserializeDocumentNewRules(&sv.NewRules, value); err != nil { return err } - case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -47677,7 +46553,6 @@ func awsAwsjson11_deserializeDocumentMetricBasedObservation(v **types.MetricBase } sv.StatisticId = ptr.String(jtv) } - default: _, _ = key, value @@ -47717,7 +46592,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47726,7 +46600,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -47735,7 +46608,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -47775,12 +46647,10 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47789,7 +46659,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -47798,7 +46667,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -47845,7 +46713,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -47854,12 +46721,10 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Description = ptr.String(jtv) } - case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -47868,12 +46733,10 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.GlueVersion = ptr.String(jtv) } - case "InputRecordTables": if err := awsAwsjson11_deserializeDocumentGlueTables(&sv.InputRecordTables, value); err != nil { return err } - case "LabelCount": if value != nil { jtv, ok := value.(json.Number) @@ -47886,7 +46749,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.LabelCount = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -47902,7 +46764,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } - case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -47936,7 +46797,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } - case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -47949,7 +46809,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.MaxRetries = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47958,7 +46817,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Name = ptr.String(jtv) } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -47971,12 +46829,10 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformParameters(&sv.Parameters, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -47985,12 +46841,10 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Role = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentTransformSchema(&sv.Schema, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47999,7 +46853,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Status = types.TransformStatusType(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -48012,12 +46865,10 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Timeout = ptr.Int32(int32(i64)) } - case "TransformEncryption": if err := awsAwsjson11_deserializeDocumentTransformEncryption(&sv.TransformEncryption, value); err != nil { return err } - case "TransformId": if value != nil { jtv, ok := value.(string) @@ -48026,7 +46877,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.TransformId = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -48035,7 +46885,6 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.WorkerType = types.WorkerType(jtv) } - default: _, _ = key, value @@ -48065,15 +46914,9 @@ func awsAwsjson11_deserializeDocumentMLTransformNotReadyException(v **types.MLTr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -48081,15 +46924,11 @@ func awsAwsjson11_deserializeDocumentMLTransformNotReadyException(v **types.MLTr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -48124,7 +46963,6 @@ func awsAwsjson11_deserializeDocumentMLUserDataEncryption(v **types.MLUserDataEn } sv.KmsKeyId = ptr.String(jtv) } - case "MlUserDataEncryptionMode": if value != nil { jtv, ok := value.(string) @@ -48133,7 +46971,6 @@ func awsAwsjson11_deserializeDocumentMLUserDataEncryption(v **types.MLUserDataEn } sv.MlUserDataEncryptionMode = types.MLUserDataEncryptionModeString(jtv) } - default: _, _ = key, value @@ -48173,7 +47010,6 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.ConnectionName = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -48182,7 +47018,6 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.Path = ptr.String(jtv) } - case "ScanAll": if value != nil { jtv, ok := value.(bool) @@ -48191,7 +47026,6 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.ScanAll = ptr.Bool(jtv) } - default: _, _ = key, value @@ -48265,7 +47099,6 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48274,7 +47107,6 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -48283,7 +47115,6 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -48323,12 +47154,10 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48337,7 +47166,6 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -48346,7 +47174,6 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -48454,12 +47281,10 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err if err := awsAwsjson11_deserializeDocumentCrawlerNodeDetails(&sv.CrawlerDetails, value); err != nil { return err } - case "JobDetails": if err := awsAwsjson11_deserializeDocumentJobNodeDetails(&sv.JobDetails, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48468,12 +47293,10 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } - case "TriggerDetails": if err := awsAwsjson11_deserializeDocumentTriggerNodeDetails(&sv.TriggerDetails, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -48482,7 +47305,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Type = types.NodeType(jtv) } - case "UniqueId": if value != nil { jtv, ok := value.(string) @@ -48491,7 +47313,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.UniqueId = ptr.String(jtv) } - default: _, _ = key, value @@ -48591,15 +47412,9 @@ func awsAwsjson11_deserializeDocumentNoScheduleException(v **types.NoScheduleExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -48607,15 +47422,11 @@ func awsAwsjson11_deserializeDocumentNoScheduleException(v **types.NoScheduleExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -48654,7 +47465,6 @@ func awsAwsjson11_deserializeDocumentNotificationProperty(v **types.Notification } sv.NotifyDelayAfter = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -48694,7 +47504,6 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsEmpty = ptr.Bool(jtv) } - case "IsNegOne": if value != nil { jtv, ok := value.(bool) @@ -48703,7 +47512,6 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsNegOne = ptr.Bool(jtv) } - case "IsNullString": if value != nil { jtv, ok := value.(bool) @@ -48712,7 +47520,6 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsNullString = ptr.Bool(jtv) } - default: _, _ = key, value @@ -48748,7 +47555,6 @@ func awsAwsjson11_deserializeDocumentNullValueField(v **types.NullValueField, va if err := awsAwsjson11_deserializeDocumentDatatype(&sv.Datatype, value); err != nil { return err } - case "Value": if value != nil { jtv, ok := value.(string) @@ -48757,7 +47563,6 @@ func awsAwsjson11_deserializeDocumentNullValueField(v **types.NullValueField, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -48831,7 +47636,6 @@ func awsAwsjson11_deserializeDocumentOAuth2ClientApplication(v **types.OAuth2Cli } sv.AWSManagedClientApplicationReference = ptr.String(jtv) } - case "UserManagedClientApplicationClientId": if value != nil { jtv, ok := value.(string) @@ -48840,7 +47644,6 @@ func awsAwsjson11_deserializeDocumentOAuth2ClientApplication(v **types.OAuth2Cli } sv.UserManagedClientApplicationClientId = ptr.String(jtv) } - default: _, _ = key, value @@ -48876,7 +47679,6 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties if err := awsAwsjson11_deserializeDocumentOAuth2ClientApplication(&sv.OAuth2ClientApplication, value); err != nil { return err } - case "OAuth2GrantType": if value != nil { jtv, ok := value.(string) @@ -48885,7 +47687,6 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.OAuth2GrantType = types.OAuth2GrantType(jtv) } - case "TokenUrl": if value != nil { jtv, ok := value.(string) @@ -48894,12 +47695,10 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.TokenUrl = ptr.String(jtv) } - case "TokenUrlParametersMap": if err := awsAwsjson11_deserializeDocumentTokenUrlParametersMap(&sv.TokenUrlParametersMap, value); err != nil { return err } - default: _, _ = key, value @@ -48965,15 +47764,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -48981,15 +47774,11 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49014,15 +47803,9 @@ func awsAwsjson11_deserializeDocumentOperationTimeoutException(v **types.Operati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49030,15 +47813,11 @@ func awsAwsjson11_deserializeDocumentOperationTimeoutException(v **types.Operati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49073,7 +47852,6 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Description = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -49082,7 +47860,6 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Label = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -49091,7 +47868,6 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -49165,7 +47941,6 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -49174,7 +47949,6 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -49183,7 +47957,6 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -49223,12 +47996,10 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -49237,7 +48008,6 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -49246,7 +48016,6 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -49358,7 +48127,6 @@ func awsAwsjson11_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.Column = ptr.String(jtv) } - case "SortOrder": if value != nil { jtv, ok := value.(json.Number) @@ -49371,7 +48139,6 @@ func awsAwsjson11_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.SortOrder = int32(i64) } - default: _, _ = key, value @@ -49441,7 +48208,6 @@ func awsAwsjson11_deserializeDocumentOrphanFileDeletionConfiguration(v **types.O if err := awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(&sv.IcebergConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -49477,7 +48243,6 @@ func awsAwsjson11_deserializeDocumentOrphanFileDeletionMetrics(v **types.OrphanF if err := awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(&sv.IcebergMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -49551,7 +48316,6 @@ func awsAwsjson11_deserializeDocumentOtherMetadataValueListItem(v **types.OtherM } sv.CreatedTime = ptr.String(jtv) } - case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -49560,7 +48324,6 @@ func awsAwsjson11_deserializeDocumentOtherMetadataValueListItem(v **types.OtherM } sv.MetadataValue = ptr.String(jtv) } - default: _, _ = key, value @@ -49672,7 +48435,6 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.CatalogId = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -49688,7 +48450,6 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -49697,7 +48458,6 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.DatabaseName = ptr.String(jtv) } - case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -49713,7 +48473,6 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } - case "LastAnalyzedTime": if value != nil { switch jtv := value.(type) { @@ -49729,17 +48488,14 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "StorageDescriptor": if err := awsAwsjson11_deserializeDocumentStorageDescriptor(&sv.StorageDescriptor, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -49748,12 +48504,10 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.TableName = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -49789,12 +48543,10 @@ func awsAwsjson11_deserializeDocumentPartitionError(v **types.PartitionError, va if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "PartitionValues": if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.PartitionValues, value); err != nil { return err } - default: _, _ = key, value @@ -49864,7 +48616,6 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio if err := awsAwsjson11_deserializeDocumentBackfillErrors(&sv.BackfillErrors, value); err != nil { return err } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -49873,7 +48624,6 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio } sv.IndexName = ptr.String(jtv) } - case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -49882,12 +48632,10 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio } sv.IndexStatus = types.PartitionIndexStatus(jtv) } - case "Keys": if err := awsAwsjson11_deserializeDocumentKeySchemaElementList(&sv.Keys, value); err != nil { return err } - default: _, _ = key, value @@ -49991,7 +48739,6 @@ func awsAwsjson11_deserializeDocumentPartitionValueList(v **types.PartitionValue if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -50093,15 +48840,9 @@ func awsAwsjson11_deserializeDocumentPermissionTypeMismatchException(v **types.P sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -50109,15 +48850,11 @@ func awsAwsjson11_deserializeDocumentPermissionTypeMismatchException(v **types.P } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -50152,12 +48889,10 @@ func awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(v **types.Ph } sv.AvailabilityZone = ptr.String(jtv) } - case "SecurityGroupIdList": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIdList, value); err != nil { return err } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -50166,7 +48901,6 @@ func awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(v **types.Ph } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -50202,12 +48936,10 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.EntityTypesToDetect, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "MaskValue": if value != nil { jtv, ok := value.(string) @@ -50216,7 +48948,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.MaskValue = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50225,7 +48956,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.Name = ptr.String(jtv) } - case "OutputColumnName": if value != nil { jtv, ok := value.(string) @@ -50234,7 +48964,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.OutputColumnName = ptr.String(jtv) } - case "PiiType": if value != nil { jtv, ok := value.(string) @@ -50243,7 +48972,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.PiiType = types.PiiType(jtv) } - case "SampleFraction": if value != nil { switch jtv := value.(type) { @@ -50277,7 +49005,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } } - case "ThresholdFraction": if value != nil { switch jtv := value.(type) { @@ -50311,7 +49038,6 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } } - default: _, _ = key, value @@ -50351,7 +49077,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50360,7 +49085,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -50369,7 +49093,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -50409,12 +49132,10 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50423,7 +49144,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -50432,7 +49152,6 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -50472,7 +49191,6 @@ func awsAwsjson11_deserializeDocumentPredecessor(v **types.Predecessor, value in } sv.JobName = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -50481,7 +49199,6 @@ func awsAwsjson11_deserializeDocumentPredecessor(v **types.Predecessor, value in } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -50551,7 +49268,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } - case "Logical": if value != nil { jtv, ok := value.(string) @@ -50560,7 +49276,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Logical = types.Logical(jtv) } - default: _, _ = key, value @@ -50596,12 +49311,10 @@ func awsAwsjson11_deserializeDocumentPrincipalPermissions(v **types.PrincipalPer if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "Principal": if err := awsAwsjson11_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } - default: _, _ = key, value @@ -50671,12 +49384,10 @@ func awsAwsjson11_deserializeDocumentProfileConfiguration(v **types.ProfileConfi if err := awsAwsjson11_deserializeDocumentConfigurationMap(&sv.JobConfiguration, value); err != nil { return err } - case "SessionConfiguration": if err := awsAwsjson11_deserializeDocumentConfigurationMap(&sv.SessionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -50784,7 +49495,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50793,17 +49503,14 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } - case "RecipeReference": if err := awsAwsjson11_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } - case "RecipeSteps": if err := awsAwsjson11_deserializeDocumentRecipeSteps(&sv.RecipeSteps, value); err != nil { return err } - default: _, _ = key, value @@ -50843,12 +49550,10 @@ func awsAwsjson11_deserializeDocumentRecipeAction(v **types.RecipeAction, value } sv.Operation = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -50888,7 +49593,6 @@ func awsAwsjson11_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeArn = ptr.String(jtv) } - case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -50897,7 +49601,6 @@ func awsAwsjson11_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -50933,12 +49636,10 @@ func awsAwsjson11_deserializeDocumentRecipeStep(v **types.RecipeStep, value inte if err := awsAwsjson11_deserializeDocumentRecipeAction(&sv.Action, value); err != nil { return err } - case "ConditionExpressions": if err := awsAwsjson11_deserializeDocumentConditionExpressionList(&sv.ConditionExpressions, value); err != nil { return err } - default: _, _ = key, value @@ -51012,7 +49713,6 @@ func awsAwsjson11_deserializeDocumentRecrawlPolicy(v **types.RecrawlPolicy, valu } sv.RecrawlBehavior = types.RecrawlBehavior(jtv) } - default: _, _ = key, value @@ -51052,7 +49752,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51061,7 +49760,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Name = ptr.String(jtv) } - case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -51070,7 +49768,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.RedshiftTmpDir = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -51079,7 +49776,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Table = ptr.String(jtv) } - case "TmpDirIAMRole": if value != nil { jtv, ok := value.(string) @@ -51088,7 +49784,6 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.TmpDirIAMRole = ptr.String(jtv) } - default: _, _ = key, value @@ -51128,12 +49823,10 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51142,7 +49835,6 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Name = ptr.String(jtv) } - case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -51151,7 +49843,6 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.RedshiftTmpDir = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -51160,7 +49851,6 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Table = ptr.String(jtv) } - case "TmpDirIAMRole": if value != nil { jtv, ok := value.(string) @@ -51169,12 +49859,10 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.TmpDirIAMRole = ptr.String(jtv) } - case "UpsertRedshiftOptions": if err := awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(&sv.UpsertRedshiftOptions, value); err != nil { return err } - default: _, _ = key, value @@ -51284,7 +49972,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.CreatedTime = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -51293,7 +49980,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -51302,7 +49988,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -51311,7 +49996,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.RegistryName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -51320,7 +50004,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.Status = types.RegistryStatus(jtv) } - case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -51329,7 +50012,6 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.UpdatedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -51369,7 +50051,6 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51378,7 +50059,6 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Name = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -51387,7 +50067,6 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -51423,7 +50102,6 @@ func awsAwsjson11_deserializeDocumentRenameField(v **types.RenameField, value in if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51432,17 +50110,14 @@ func awsAwsjson11_deserializeDocumentRenameField(v **types.RenameField, value in } sv.Name = ptr.String(jtv) } - case "SourcePath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.SourcePath, value); err != nil { return err } - case "TargetPath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.TargetPath, value); err != nil { return err } - default: _, _ = key, value @@ -51472,15 +50147,9 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -51488,15 +50157,11 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -51521,15 +50186,9 @@ func awsAwsjson11_deserializeDocumentResourceNumberLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -51537,15 +50196,11 @@ func awsAwsjson11_deserializeDocumentResourceNumberLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -51580,7 +50235,6 @@ func awsAwsjson11_deserializeDocumentResourceUri(v **types.ResourceUri, value in } sv.ResourceType = types.ResourceType(jtv) } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -51589,7 +50243,6 @@ func awsAwsjson11_deserializeDocumentResourceUri(v **types.ResourceUri, value in } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -51659,7 +50312,6 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC if err := awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(&sv.IcebergConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -51695,7 +50347,6 @@ func awsAwsjson11_deserializeDocumentRetentionMetrics(v **types.RetentionMetrics if err := awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(&sv.IcebergMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -51771,7 +50422,6 @@ func awsAwsjson11_deserializeDocumentRunIdentifier(v **types.RunIdentifier, valu } sv.JobRunId = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -51780,7 +50430,6 @@ func awsAwsjson11_deserializeDocumentRunIdentifier(v **types.RunIdentifier, valu } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -51820,7 +50469,6 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.JobDurationInHour = ptr.String(jtv) } - case "NumberOfBytesCompacted": if value != nil { jtv, ok := value.(string) @@ -51829,7 +50477,6 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfBytesCompacted = ptr.String(jtv) } - case "NumberOfDpus": if value != nil { jtv, ok := value.(string) @@ -51838,7 +50485,6 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfDpus = ptr.String(jtv) } - case "NumberOfFilesCompacted": if value != nil { jtv, ok := value.(string) @@ -51847,7 +50493,6 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfFilesCompacted = ptr.String(jtv) } - default: _, _ = key, value @@ -51883,7 +50528,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -51892,7 +50536,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51901,12 +50544,10 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -51915,7 +50556,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -51951,7 +50591,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -51960,7 +50599,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51969,12 +50607,10 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -51983,7 +50619,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -52019,7 +50654,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, if err := awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -52028,7 +50662,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Database = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52037,7 +50670,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Name = ptr.String(jtv) } - case "PartitionPredicate": if value != nil { jtv, ok := value.(string) @@ -52046,7 +50678,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.PartitionPredicate = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -52055,7 +50686,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -52095,12 +50725,10 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52109,17 +50737,14 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -52128,7 +50753,6 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -52164,7 +50788,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -52173,7 +50796,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.CompressionType = types.CompressionType(jtv) } - case "Escaper": if value != nil { jtv, ok := value.(string) @@ -52182,12 +50804,10 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Escaper = ptr.String(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } - case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -52196,7 +50816,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.GroupFiles = ptr.String(jtv) } - case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -52205,7 +50824,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.GroupSize = ptr.String(jtv) } - case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -52218,7 +50836,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.MaxBand = ptr.Int32(int32(i64)) } - case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -52231,7 +50848,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } - case "Multiline": if value != nil { jtv, ok := value.(bool) @@ -52240,7 +50856,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Multiline = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52249,7 +50864,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Name = ptr.String(jtv) } - case "OptimizePerformance": if value != nil { jtv, ok := value.(bool) @@ -52258,17 +50872,14 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.OptimizePerformance = jtv } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } - case "QuoteChar": if value != nil { jtv, ok := value.(string) @@ -52277,7 +50888,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.QuoteChar = types.QuoteChar(jtv) } - case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -52286,7 +50896,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Recurse = ptr.Bool(jtv) } - case "Separator": if value != nil { jtv, ok := value.(string) @@ -52295,7 +50904,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Separator = types.Separator(jtv) } - case "SkipFirst": if value != nil { jtv, ok := value.(bool) @@ -52304,7 +50912,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.SkipFirst = ptr.Bool(jtv) } - case "WithHeader": if value != nil { jtv, ok := value.(bool) @@ -52313,7 +50920,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.WithHeader = ptr.Bool(jtv) } - case "WriteHeader": if value != nil { jtv, ok := value.(bool) @@ -52322,7 +50928,6 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.WriteHeader = ptr.Bool(jtv) } - default: _, _ = key, value @@ -52358,7 +50963,6 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -52367,12 +50971,10 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52381,17 +50983,14 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -52400,7 +50999,6 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -52436,7 +51034,6 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -52445,7 +51042,6 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Compression = types.DeltaTargetCompressionType(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -52454,12 +51050,10 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Format = types.TargetFormat(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52468,12 +51062,10 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -52482,12 +51074,10 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Path = ptr.String(jtv) } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -52523,12 +51113,10 @@ func awsAwsjson11_deserializeDocumentS3DeltaSource(v **types.S3DeltaSource, valu if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } - case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52537,17 +51125,14 @@ func awsAwsjson11_deserializeDocumentS3DeltaSource(v **types.S3DeltaSource, valu } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -52591,7 +51176,6 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.BoundedFiles = ptr.Int64(i64) } - case "BoundedSize": if value != nil { jtv, ok := value.(json.Number) @@ -52604,7 +51188,6 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.BoundedSize = ptr.Int64(i64) } - case "EnableSamplePath": if value != nil { jtv, ok := value.(bool) @@ -52613,7 +51196,6 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.EnableSamplePath = ptr.Bool(jtv) } - case "SamplePath": if value != nil { jtv, ok := value.(string) @@ -52622,7 +51204,6 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.SamplePath = ptr.String(jtv) } - default: _, _ = key, value @@ -52662,7 +51243,6 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Compression = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -52671,12 +51251,10 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Format = types.TargetFormat(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52685,12 +51263,10 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -52699,12 +51275,10 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Path = ptr.String(jtv) } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -52744,7 +51318,6 @@ func awsAwsjson11_deserializeDocumentS3Encryption(v **types.S3Encryption, value } sv.KmsKeyArn = ptr.String(jtv) } - case "S3EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -52753,7 +51326,6 @@ func awsAwsjson11_deserializeDocumentS3Encryption(v **types.S3Encryption, value } sv.S3EncryptionMode = types.S3EncryptionMode(jtv) } - default: _, _ = key, value @@ -52827,12 +51399,10 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Compression = types.ParquetCompressionType(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52841,12 +51411,10 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -52855,12 +51423,10 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Path = ptr.String(jtv) } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -52896,7 +51462,6 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -52905,12 +51470,10 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Database = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52919,17 +51482,14 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - case "Table": if value != nil { jtv, ok := value.(string) @@ -52938,7 +51498,6 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Table = ptr.String(jtv) } - default: _, _ = key, value @@ -52974,7 +51533,6 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -52983,7 +51541,6 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Compression = types.HudiTargetCompressionType(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -52992,12 +51549,10 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Format = types.TargetFormat(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53006,12 +51561,10 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Name = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -53020,12 +51573,10 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Path = ptr.String(jtv) } - case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -53061,12 +51612,10 @@ func awsAwsjson11_deserializeDocumentS3HudiSource(v **types.S3HudiSource, value if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } - case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53075,17 +51624,14 @@ func awsAwsjson11_deserializeDocumentS3HudiSource(v **types.S3HudiSource, value } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -53121,7 +51667,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -53130,12 +51675,10 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.CompressionType = types.CompressionType(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } - case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -53144,7 +51687,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.GroupFiles = ptr.String(jtv) } - case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -53153,7 +51695,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.GroupSize = ptr.String(jtv) } - case "JsonPath": if value != nil { jtv, ok := value.(string) @@ -53162,7 +51703,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.JsonPath = ptr.String(jtv) } - case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -53175,7 +51715,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.MaxBand = ptr.Int32(int32(i64)) } - case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -53188,7 +51727,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } - case "Multiline": if value != nil { jtv, ok := value.(bool) @@ -53197,7 +51735,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Multiline = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53206,17 +51743,14 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } - case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -53225,7 +51759,6 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Recurse = ptr.Bool(jtv) } - default: _, _ = key, value @@ -53261,7 +51794,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -53270,12 +51802,10 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.CompressionType = types.ParquetCompressionType(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } - case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -53284,7 +51814,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.GroupFiles = ptr.String(jtv) } - case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -53293,7 +51822,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.GroupSize = ptr.String(jtv) } - case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -53306,7 +51834,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.MaxBand = ptr.Int32(int32(i64)) } - case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -53319,7 +51846,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53328,17 +51854,14 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } - case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -53347,7 +51870,6 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.Recurse = ptr.Bool(jtv) } - default: _, _ = key, value @@ -53391,7 +51913,6 @@ func awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(v **types.S3Sourc } sv.BoundedFiles = ptr.Int64(i64) } - case "BoundedSize": if value != nil { jtv, ok := value.(json.Number) @@ -53404,7 +51925,6 @@ func awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(v **types.S3Sourc } sv.BoundedSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -53444,7 +51964,6 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.ConnectionName = ptr.String(jtv) } - case "DlqEventQueueArn": if value != nil { jtv, ok := value.(string) @@ -53453,7 +51972,6 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.DlqEventQueueArn = ptr.String(jtv) } - case "EventQueueArn": if value != nil { jtv, ok := value.(string) @@ -53462,12 +51980,10 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.EventQueueArn = ptr.String(jtv) } - case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -53476,7 +51992,6 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.Path = ptr.String(jtv) } - case "SampleSize": if value != nil { jtv, ok := value.(json.Number) @@ -53489,7 +52004,6 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.SampleSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -53563,7 +52077,6 @@ func awsAwsjson11_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ScheduleExpression = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -53572,7 +52085,6 @@ func awsAwsjson11_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.State = types.ScheduleState(jtv) } - default: _, _ = key, value @@ -53602,15 +52114,9 @@ func awsAwsjson11_deserializeDocumentSchedulerNotRunningException(v **types.Sche sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -53618,15 +52124,11 @@ func awsAwsjson11_deserializeDocumentSchedulerNotRunningException(v **types.Sche } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -53651,15 +52153,9 @@ func awsAwsjson11_deserializeDocumentSchedulerRunningException(v **types.Schedul sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -53667,15 +52163,11 @@ func awsAwsjson11_deserializeDocumentSchedulerRunningException(v **types.Schedul } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -53700,15 +52192,9 @@ func awsAwsjson11_deserializeDocumentSchedulerTransitioningException(v **types.S sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -53716,15 +52202,11 @@ func awsAwsjson11_deserializeDocumentSchedulerTransitioningException(v **types.S } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -53759,7 +52241,6 @@ func awsAwsjson11_deserializeDocumentSchemaChangePolicy(v **types.SchemaChangePo } sv.DeleteBehavior = types.DeleteBehavior(jtv) } - case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -53768,7 +52249,6 @@ func awsAwsjson11_deserializeDocumentSchemaChangePolicy(v **types.SchemaChangePo } sv.UpdateBehavior = types.UpdateBehavior(jtv) } - default: _, _ = key, value @@ -53808,7 +52288,6 @@ func awsAwsjson11_deserializeDocumentSchemaColumn(v **types.SchemaColumn, value } sv.DataType = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53817,7 +52296,6 @@ func awsAwsjson11_deserializeDocumentSchemaColumn(v **types.SchemaColumn, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -53857,7 +52335,6 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -53866,7 +52343,6 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -53875,7 +52351,6 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -53949,7 +52424,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.CreatedTime = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -53958,7 +52432,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.Description = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -53967,7 +52440,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -53976,7 +52448,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -53985,7 +52456,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaName = ptr.String(jtv) } - case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -53994,7 +52464,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaStatus = types.SchemaStatus(jtv) } - case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -54003,7 +52472,6 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.UpdatedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -54039,7 +52507,6 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, if err := awsAwsjson11_deserializeDocumentSchemaId(&sv.SchemaId, value); err != nil { return err } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -54048,7 +52515,6 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, } sv.SchemaVersionId = ptr.String(jtv) } - case "SchemaVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -54061,7 +52527,6 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, } sv.SchemaVersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -54097,7 +52562,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionErrorItem(v **types.SchemaVers if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -54110,7 +52574,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionErrorItem(v **types.SchemaVers } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -54218,7 +52681,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.CreatedTime = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -54227,7 +52689,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.SchemaArn = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -54236,7 +52697,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.SchemaVersionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -54245,7 +52705,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.Status = types.SchemaVersionStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -54258,7 +52717,6 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -54305,12 +52763,10 @@ func awsAwsjson11_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } } - case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54319,7 +52775,6 @@ func awsAwsjson11_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -54425,7 +52880,6 @@ func awsAwsjson11_deserializeDocumentSelectFields(v **types.SelectFields, value if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54434,12 +52888,10 @@ func awsAwsjson11_deserializeDocumentSelectFields(v **types.SelectFields, value } sv.Name = ptr.String(jtv) } - case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -54483,12 +52935,10 @@ func awsAwsjson11_deserializeDocumentSelectFromCollection(v **types.SelectFromCo } sv.Index = int32(i64) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54497,7 +52947,6 @@ func awsAwsjson11_deserializeDocumentSelectFromCollection(v **types.SelectFromCo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -54537,12 +52986,10 @@ func awsAwsjson11_deserializeDocumentSerDeInfo(v **types.SerDeInfo, value interf } sv.Name = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "SerializationLibrary": if value != nil { jtv, ok := value.(string) @@ -54551,7 +52998,6 @@ func awsAwsjson11_deserializeDocumentSerDeInfo(v **types.SerDeInfo, value interf } sv.SerializationLibrary = ptr.String(jtv) } - default: _, _ = key, value @@ -54587,7 +53033,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ if err := awsAwsjson11_deserializeDocumentSessionCommand(&sv.Command, value); err != nil { return err } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -54603,12 +53048,10 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "Connections": if err := awsAwsjson11_deserializeDocumentConnectionsList(&sv.Connections, value); err != nil { return err } - case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -54624,12 +53067,10 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "DefaultArguments": if err := awsAwsjson11_deserializeDocumentOrchestrationArgumentsMap(&sv.DefaultArguments, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -54638,7 +53079,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Description = ptr.String(jtv) } - case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -54672,7 +53112,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -54681,7 +53120,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ErrorMessage = ptr.String(jtv) } - case "ExecutionTime": if value != nil { switch jtv := value.(type) { @@ -54715,7 +53153,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -54724,7 +53161,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.GlueVersion = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54733,7 +53169,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Id = ptr.String(jtv) } - case "IdleTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -54746,7 +53181,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.IdleTimeout = ptr.Int32(int32(i64)) } - case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -54780,7 +53214,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -54793,7 +53226,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -54802,7 +53234,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ProfileName = ptr.String(jtv) } - case "Progress": if value != nil { switch jtv := value.(type) { @@ -54836,7 +53267,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "Role": if value != nil { jtv, ok := value.(string) @@ -54845,7 +53275,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Role = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -54854,7 +53283,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SecurityConfiguration = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -54863,7 +53291,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -54872,7 +53299,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.WorkerType = types.WorkerType(jtv) } - default: _, _ = key, value @@ -54912,7 +53338,6 @@ func awsAwsjson11_deserializeDocumentSessionCommand(v **types.SessionCommand, va } sv.Name = ptr.String(jtv) } - case "PythonVersion": if value != nil { jtv, ok := value.(string) @@ -54921,7 +53346,6 @@ func awsAwsjson11_deserializeDocumentSessionCommand(v **types.SessionCommand, va } sv.PythonVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -55027,17 +53451,14 @@ func awsAwsjson11_deserializeDocumentSkewedInfo(v **types.SkewedInfo, value inte if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.SkewedColumnNames, value); err != nil { return err } - case "SkewedColumnValueLocationMaps": if err := awsAwsjson11_deserializeDocumentLocationMap(&sv.SkewedColumnValueLocationMaps, value); err != nil { return err } - case "SkewedColumnValues": if err := awsAwsjson11_deserializeDocumentColumnValueStringList(&sv.SkewedColumnValues, value); err != nil { return err } - default: _, _ = key, value @@ -55077,12 +53498,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Action = ptr.String(jtv) } - case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "AutoPushdown": if value != nil { jtv, ok := value.(bool) @@ -55091,12 +53510,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.AutoPushdown = jtv } - case "Connection": if err := awsAwsjson11_deserializeDocumentOption(&sv.Connection, value); err != nil { return err } - case "Database": if value != nil { jtv, ok := value.(string) @@ -55105,12 +53522,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Database = ptr.String(jtv) } - case "IamRole": if err := awsAwsjson11_deserializeDocumentOption(&sv.IamRole, value); err != nil { return err } - case "MergeAction": if value != nil { jtv, ok := value.(string) @@ -55119,7 +53534,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeAction = ptr.String(jtv) } - case "MergeClause": if value != nil { jtv, ok := value.(string) @@ -55128,7 +53542,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeClause = ptr.String(jtv) } - case "MergeWhenMatched": if value != nil { jtv, ok := value.(string) @@ -55137,7 +53550,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeWhenMatched = ptr.String(jtv) } - case "MergeWhenNotMatched": if value != nil { jtv, ok := value.(string) @@ -55146,7 +53558,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeWhenNotMatched = ptr.String(jtv) } - case "PostAction": if value != nil { jtv, ok := value.(string) @@ -55155,7 +53566,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.PostAction = ptr.String(jtv) } - case "PreAction": if value != nil { jtv, ok := value.(string) @@ -55164,7 +53574,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.PreAction = ptr.String(jtv) } - case "SampleQuery": if value != nil { jtv, ok := value.(string) @@ -55173,7 +53582,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.SampleQuery = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -55182,12 +53590,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Schema = ptr.String(jtv) } - case "SelectedColumns": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.SelectedColumns, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -55196,7 +53602,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.SourceType = ptr.String(jtv) } - case "StagingTable": if value != nil { jtv, ok := value.(string) @@ -55205,7 +53610,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.StagingTable = ptr.String(jtv) } - case "Table": if value != nil { jtv, ok := value.(string) @@ -55214,12 +53618,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Table = ptr.String(jtv) } - case "TableSchema": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.TableSchema, value); err != nil { return err } - case "TempDir": if value != nil { jtv, ok := value.(string) @@ -55228,7 +53630,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.TempDir = ptr.String(jtv) } - case "Upsert": if value != nil { jtv, ok := value.(bool) @@ -55237,7 +53638,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Upsert = jtv } - default: _, _ = key, value @@ -55273,7 +53673,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeSource(v **types.SnowflakeSource, if err := awsAwsjson11_deserializeDocumentSnowflakeNodeData(&sv.Data, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55282,12 +53681,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeSource(v **types.SnowflakeSource, } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -55323,12 +53720,10 @@ func awsAwsjson11_deserializeDocumentSnowflakeTarget(v **types.SnowflakeTarget, if err := awsAwsjson11_deserializeDocumentSnowflakeNodeData(&sv.Data, value); err != nil { return err } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55337,7 +53732,6 @@ func awsAwsjson11_deserializeDocumentSnowflakeTarget(v **types.SnowflakeTarget, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -55377,7 +53771,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.AuthStrategy = types.SourceControlAuthStrategy(jtv) } - case "AuthToken": if value != nil { jtv, ok := value.(string) @@ -55386,7 +53779,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.AuthToken = ptr.String(jtv) } - case "Branch": if value != nil { jtv, ok := value.(string) @@ -55395,7 +53787,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Branch = ptr.String(jtv) } - case "Folder": if value != nil { jtv, ok := value.(string) @@ -55404,7 +53795,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Folder = ptr.String(jtv) } - case "LastCommitId": if value != nil { jtv, ok := value.(string) @@ -55413,7 +53803,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.LastCommitId = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -55422,7 +53811,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Owner = ptr.String(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -55431,7 +53819,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Provider = types.SourceControlProvider(jtv) } - case "Repository": if value != nil { jtv, ok := value.(string) @@ -55440,7 +53827,6 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Repository = ptr.String(jtv) } - default: _, _ = key, value @@ -55476,7 +53862,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -55485,7 +53870,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -55494,7 +53878,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectionType = ptr.String(jtv) } - case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -55503,7 +53886,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectorName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55512,12 +53894,10 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -55553,7 +53933,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } - case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -55562,7 +53941,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectionName = ptr.String(jtv) } - case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -55571,7 +53949,6 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectionType = ptr.String(jtv) } - case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -55580,12 +53957,10 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectorName = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55594,12 +53969,10 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - default: _, _ = key, value @@ -55635,7 +54008,6 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55644,17 +54016,14 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac } sv.Name = ptr.String(jtv) } - case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } - case "SqlAliases": if err := awsAwsjson11_deserializeDocumentSqlAliases(&sv.SqlAliases, value); err != nil { return err } - case "SqlQuery": if value != nil { jtv, ok := value.(string) @@ -55663,7 +54032,6 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac } sv.SqlQuery = ptr.String(jtv) } - default: _, _ = key, value @@ -55699,7 +54067,6 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55708,7 +54075,6 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Name = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -55717,7 +54083,6 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Path = ptr.String(jtv) } - case "Prob": if value != nil { switch jtv := value.(type) { @@ -55751,7 +54116,6 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } } - case "Topk": if value != nil { jtv, ok := value.(json.Number) @@ -55764,7 +54128,6 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Topk = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55800,7 +54163,6 @@ func awsAwsjson11_deserializeDocumentSplitFields(v **types.SplitFields, value in if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55809,12 +54171,10 @@ func awsAwsjson11_deserializeDocumentSplitFields(v **types.SplitFields, value in } sv.Name = ptr.String(jtv) } - case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } - default: _, _ = key, value @@ -55854,7 +54214,6 @@ func awsAwsjson11_deserializeDocumentSqlAlias(v **types.SqlAlias, value interfac } sv.Alias = ptr.String(jtv) } - case "From": if value != nil { jtv, ok := value.(string) @@ -55863,7 +54222,6 @@ func awsAwsjson11_deserializeDocumentSqlAlias(v **types.SqlAlias, value interfac } sv.From = ptr.String(jtv) } - default: _, _ = key, value @@ -55941,7 +54299,6 @@ func awsAwsjson11_deserializeDocumentStartingEventBatchCondition(v **types.Start } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BatchWindow": if value != nil { jtv, ok := value.(json.Number) @@ -55954,7 +54311,6 @@ func awsAwsjson11_deserializeDocumentStartingEventBatchCondition(v **types.Start } sv.BatchWindow = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55994,7 +54350,6 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.Code = ptr.String(jtv) } - case "CompletedOn": if value != nil { jtv, ok := value.(json.Number) @@ -56007,7 +54362,6 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.CompletedOn = i64 } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -56020,12 +54374,10 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.Id = int32(i64) } - case "Output": if err := awsAwsjson11_deserializeDocumentStatementOutput(&sv.Output, value); err != nil { return err } - case "Progress": if value != nil { switch jtv := value.(type) { @@ -56059,7 +54411,6 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } } - case "StartedOn": if value != nil { jtv, ok := value.(json.Number) @@ -56072,7 +54423,6 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.StartedOn = i64 } - case "State": if value != nil { jtv, ok := value.(string) @@ -56081,7 +54431,6 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.State = types.StatementState(jtv) } - default: _, _ = key, value @@ -56151,7 +54500,6 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, if err := awsAwsjson11_deserializeDocumentStatementOutputData(&sv.Data, value); err != nil { return err } - case "ErrorName": if value != nil { jtv, ok := value.(string) @@ -56160,7 +54508,6 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ErrorName = ptr.String(jtv) } - case "ErrorValue": if value != nil { jtv, ok := value.(string) @@ -56169,7 +54516,6 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ErrorValue = ptr.String(jtv) } - case "ExecutionCount": if value != nil { jtv, ok := value.(json.Number) @@ -56182,7 +54528,6 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ExecutionCount = int32(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -56191,12 +54536,10 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.Status = types.StatementState(jtv) } - case "Traceback": if err := awsAwsjson11_deserializeDocumentOrchestrationStringList(&sv.Traceback, value); err != nil { return err } - default: _, _ = key, value @@ -56236,7 +54579,6 @@ func awsAwsjson11_deserializeDocumentStatementOutputData(v **types.StatementOutp } sv.TextPlain = ptr.String(jtv) } - default: _, _ = key, value @@ -56272,7 +54614,6 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno if err := awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(&sv.InclusionAnnotation, value); err != nil { return err } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -56281,7 +54622,6 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } sv.ProfileId = ptr.String(jtv) } - case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -56290,7 +54630,6 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } sv.StatisticId = ptr.String(jtv) } - case "StatisticRecordedOn": if value != nil { switch jtv := value.(type) { @@ -56306,7 +54645,6 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } } - default: _, _ = key, value @@ -56371,7 +54709,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } - case "Date": if value != nil { switch jtv := value.(type) { @@ -56387,7 +54724,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } - case "InclusionAnnotation": if value != nil { jtv, ok := value.(string) @@ -56396,7 +54732,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } sv.InclusionAnnotation = types.InclusionAnnotationValue(jtv) } - case "LowerBound": if value != nil { switch jtv := value.(type) { @@ -56430,7 +54765,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } - case "PredictedValue": if value != nil { switch jtv := value.(type) { @@ -56464,7 +54798,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -56498,7 +54831,6 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } - default: _, _ = key, value @@ -56604,7 +54936,6 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnsReferenced, value); err != nil { return err } - case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -56638,7 +54969,6 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } } - case "EvaluationLevel": if value != nil { jtv, ok := value.(string) @@ -56647,12 +54977,10 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.EvaluationLevel = types.StatisticEvaluationLevel(jtv) } - case "InclusionAnnotation": if err := awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(&sv.InclusionAnnotation, value); err != nil { return err } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -56661,7 +54989,6 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.ProfileId = ptr.String(jtv) } - case "RecordedOn": if value != nil { switch jtv := value.(type) { @@ -56677,17 +55004,14 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } } - case "ReferencedDatasets": if err := awsAwsjson11_deserializeDocumentReferenceDatasetsList(&sv.ReferencedDatasets, value); err != nil { return err } - case "RunIdentifier": if err := awsAwsjson11_deserializeDocumentRunIdentifier(&sv.RunIdentifier, value); err != nil { return err } - case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -56696,7 +55020,6 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.StatisticId = ptr.String(jtv) } - case "StatisticName": if value != nil { jtv, ok := value.(string) @@ -56705,12 +55028,10 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.StatisticName = ptr.String(jtv) } - case "StatisticProperties": if err := awsAwsjson11_deserializeDocumentStatisticPropertiesMap(&sv.StatisticProperties, value); err != nil { return err } - default: _, _ = key, value @@ -56780,12 +55101,10 @@ func awsAwsjson11_deserializeDocumentStatusDetails(v **types.StatusDetails, valu if err := awsAwsjson11_deserializeDocumentTable(&sv.RequestedChange, value); err != nil { return err } - case "ViewValidations": if err := awsAwsjson11_deserializeDocumentViewValidationList(&sv.ViewValidations, value); err != nil { return err } - default: _, _ = key, value @@ -56821,17 +55140,14 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript if err := awsAwsjson11_deserializeDocumentLocationStringList(&sv.AdditionalLocations, value); err != nil { return err } - case "BucketColumns": if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.BucketColumns, value); err != nil { return err } - case "Columns": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } - case "Compressed": if value != nil { jtv, ok := value.(bool) @@ -56840,7 +55156,6 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.Compressed = jtv } - case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -56849,7 +55164,6 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.InputFormat = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -56858,7 +55172,6 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.Location = ptr.String(jtv) } - case "NumberOfBuckets": if value != nil { jtv, ok := value.(json.Number) @@ -56871,7 +55184,6 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.NumberOfBuckets = int32(i64) } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -56880,32 +55192,26 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.OutputFormat = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "SchemaReference": if err := awsAwsjson11_deserializeDocumentSchemaReference(&sv.SchemaReference, value); err != nil { return err } - case "SerdeInfo": if err := awsAwsjson11_deserializeDocumentSerDeInfo(&sv.SerdeInfo, value); err != nil { return err } - case "SkewedInfo": if err := awsAwsjson11_deserializeDocumentSkewedInfo(&sv.SkewedInfo, value); err != nil { return err } - case "SortColumns": if err := awsAwsjson11_deserializeDocumentOrderList(&sv.SortColumns, value); err != nil { return err } - case "StoredAsSubDirectories": if value != nil { jtv, ok := value.(bool) @@ -56914,7 +55220,6 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.StoredAsSubDirectories = jtv } - default: _, _ = key, value @@ -56958,7 +55263,6 @@ func awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(v **types.Strea } sv.PollingTime = ptr.Int64(i64) } - case "RecordPollingLimit": if value != nil { jtv, ok := value.(json.Number) @@ -56971,7 +55275,6 @@ func awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(v **types.Strea } sv.RecordPollingLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -57036,7 +55339,6 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } } - case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -57049,7 +55351,6 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.MaximumLength = i64 } - case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -57062,7 +55363,6 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.NumberOfDistinctValues = i64 } - case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -57075,7 +55375,6 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.NumberOfNulls = i64 } - default: _, _ = key, value @@ -57151,7 +55450,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.CatalogId = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -57160,7 +55458,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.CreatedBy = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -57176,7 +55473,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -57185,7 +55481,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.DatabaseName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -57194,12 +55489,10 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Description = ptr.String(jtv) } - case "FederatedTable": if err := awsAwsjson11_deserializeDocumentFederatedTable(&sv.FederatedTable, value); err != nil { return err } - case "IsMultiDialectView": if value != nil { jtv, ok := value.(bool) @@ -57208,7 +55501,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.IsMultiDialectView = ptr.Bool(jtv) } - case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -57217,7 +55509,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.IsRegisteredWithLakeFormation = jtv } - case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -57233,7 +55524,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "LastAnalyzedTime": if value != nil { switch jtv := value.(type) { @@ -57249,7 +55539,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -57258,7 +55547,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -57267,17 +55555,14 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Owner = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } - case "Retention": if value != nil { jtv, ok := value.(json.Number) @@ -57290,17 +55575,14 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Retention = int32(i64) } - case "Status": if err := awsAwsjson11_deserializeDocumentTableStatus(&sv.Status, value); err != nil { return err } - case "StorageDescriptor": if err := awsAwsjson11_deserializeDocumentStorageDescriptor(&sv.StorageDescriptor, value); err != nil { return err } - case "TableType": if value != nil { jtv, ok := value.(string) @@ -57309,12 +55591,10 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableType = ptr.String(jtv) } - case "TargetTable": if err := awsAwsjson11_deserializeDocumentTableIdentifier(&sv.TargetTable, value); err != nil { return err } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -57330,7 +55610,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -57339,12 +55618,10 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.VersionId = ptr.String(jtv) } - case "ViewDefinition": if err := awsAwsjson11_deserializeDocumentViewDefinition(&sv.ViewDefinition, value); err != nil { return err } - case "ViewExpandedText": if value != nil { jtv, ok := value.(string) @@ -57353,7 +55630,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.ViewExpandedText = ptr.String(jtv) } - case "ViewOriginalText": if value != nil { jtv, ok := value.(string) @@ -57362,7 +55638,6 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.ViewOriginalText = ptr.String(jtv) } - default: _, _ = key, value @@ -57398,7 +55673,6 @@ func awsAwsjson11_deserializeDocumentTableError(v **types.TableError, value inte if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -57407,7 +55681,6 @@ func awsAwsjson11_deserializeDocumentTableError(v **types.TableError, value inte } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -57481,7 +55754,6 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -57490,7 +55762,6 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -57499,7 +55770,6 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.Name = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -57508,7 +55778,6 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -57578,12 +55847,10 @@ func awsAwsjson11_deserializeDocumentTableOptimizer(v **types.TableOptimizer, va if err := awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(&sv.Configuration, value); err != nil { return err } - case "lastRun": if err := awsAwsjson11_deserializeDocumentTableOptimizerRun(&sv.LastRun, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -57592,7 +55859,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizer(v **types.TableOptimizer, va } sv.Type = types.TableOptimizerType(jtv) } - default: _, _ = key, value @@ -57632,17 +55898,14 @@ func awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(v **types.Table } sv.Enabled = ptr.Bool(jtv) } - case "orphanFileDeletionConfiguration": if err := awsAwsjson11_deserializeDocumentOrphanFileDeletionConfiguration(&sv.OrphanFileDeletionConfiguration, value); err != nil { return err } - case "retentionConfiguration": if err := awsAwsjson11_deserializeDocumentRetentionConfiguration(&sv.RetentionConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -57651,7 +55914,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(v **types.Table } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57687,7 +55949,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR if err := awsAwsjson11_deserializeDocumentCompactionMetrics(&sv.CompactionMetrics, value); err != nil { return err } - case "endTimestamp": if value != nil { switch jtv := value.(type) { @@ -57703,7 +55964,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } } - case "error": if value != nil { jtv, ok := value.(string) @@ -57712,7 +55972,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } sv.Error = ptr.String(jtv) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -57721,22 +55980,18 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } sv.EventType = types.TableOptimizerEventType(jtv) } - case "metrics": if err := awsAwsjson11_deserializeDocumentRunMetrics(&sv.Metrics, value); err != nil { return err } - case "orphanFileDeletionMetrics": if err := awsAwsjson11_deserializeDocumentOrphanFileDeletionMetrics(&sv.OrphanFileDeletionMetrics, value); err != nil { return err } - case "retentionMetrics": if err := awsAwsjson11_deserializeDocumentRetentionMetrics(&sv.RetentionMetrics, value); err != nil { return err } - case "startTimestamp": if value != nil { switch jtv := value.(type) { @@ -57752,7 +56007,6 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } } - default: _, _ = key, value @@ -57826,17 +56080,14 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.Action = types.ResourceAction(jtv) } - case "Details": if err := awsAwsjson11_deserializeDocumentStatusDetails(&sv.Details, value); err != nil { return err } - case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "RequestedBy": if value != nil { jtv, ok := value.(string) @@ -57845,7 +56096,6 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.RequestedBy = ptr.String(jtv) } - case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -57861,7 +56111,6 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } } - case "State": if value != nil { jtv, ok := value.(string) @@ -57870,7 +56119,6 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.State = types.ResourceState(jtv) } - case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -57879,7 +56127,6 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.UpdatedBy = ptr.String(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -57895,7 +56142,6 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } } - default: _, _ = key, value @@ -57931,7 +56177,6 @@ func awsAwsjson11_deserializeDocumentTableVersion(v **types.TableVersion, value if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -57940,7 +56185,6 @@ func awsAwsjson11_deserializeDocumentTableVersion(v **types.TableVersion, value } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -57976,7 +56220,6 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -57985,7 +56228,6 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr } sv.TableName = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -57994,7 +56236,6 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -58111,7 +56352,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } - case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -58120,7 +56360,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.ErrorString = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -58133,7 +56372,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.ExecutionTime = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -58149,7 +56387,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -58158,12 +56395,10 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.LogGroupName = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentTaskRunProperties(&sv.Properties, value); err != nil { return err } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -58179,7 +56414,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -58188,7 +56422,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.Status = types.TaskStatusType(jtv) } - case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -58197,7 +56430,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.TaskRunId = ptr.String(jtv) } - case "TransformId": if value != nil { jtv, ok := value.(string) @@ -58206,7 +56438,6 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -58276,22 +56507,18 @@ func awsAwsjson11_deserializeDocumentTaskRunProperties(v **types.TaskRunProperti if err := awsAwsjson11_deserializeDocumentExportLabelsTaskRunProperties(&sv.ExportLabelsTaskRunProperties, value); err != nil { return err } - case "FindMatchesTaskRunProperties": if err := awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(&sv.FindMatchesTaskRunProperties, value); err != nil { return err } - case "ImportLabelsTaskRunProperties": if err := awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(&sv.ImportLabelsTaskRunProperties, value); err != nil { return err } - case "LabelingSetGenerationTaskRunProperties": if err := awsAwsjson11_deserializeDocumentLabelingSetGenerationTaskRunProperties(&sv.LabelingSetGenerationTaskRunProperties, value); err != nil { return err } - case "TaskType": if value != nil { jtv, ok := value.(string) @@ -58300,7 +56527,6 @@ func awsAwsjson11_deserializeDocumentTaskRunProperties(v **types.TaskRunProperti } sv.TaskType = types.TaskType(jtv) } - default: _, _ = key, value @@ -58330,15 +56556,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -58346,15 +56566,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58396,7 +56612,6 @@ func awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(v **types.Ti } } - case "Value": if value != nil { jtv, ok := value.(string) @@ -58405,7 +56620,6 @@ func awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(v **types.Ti } sv.Value = types.InclusionAnnotationValue(jtv) } - default: _, _ = key, value @@ -58481,7 +56695,6 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.IsOptional = ptr.Bool(jtv) } - case "ListType": if value != nil { jtv, ok := value.(string) @@ -58490,7 +56703,6 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ListType = types.ParamType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58499,7 +56711,6 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -58508,7 +56719,6 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.Type = types.ParamType(jtv) } - case "ValidationMessage": if value != nil { jtv, ok := value.(string) @@ -58517,7 +56727,6 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ValidationMessage = ptr.String(jtv) } - case "ValidationRule": if value != nil { jtv, ok := value.(string) @@ -58526,12 +56735,10 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ValidationRule = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -58601,7 +56808,6 @@ func awsAwsjson11_deserializeDocumentTransformEncryption(v **types.TransformEncr if err := awsAwsjson11_deserializeDocumentMLUserDataEncryption(&sv.MlUserDataEncryption, value); err != nil { return err } - case "TaskRunSecurityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -58610,7 +56816,6 @@ func awsAwsjson11_deserializeDocumentTransformEncryption(v **types.TransformEncr } sv.TaskRunSecurityConfigurationName = ptr.String(jtv) } - default: _, _ = key, value @@ -58716,7 +56921,6 @@ func awsAwsjson11_deserializeDocumentTransformParameters(v **types.TransformPara if err := awsAwsjson11_deserializeDocumentFindMatchesParameters(&sv.FindMatchesParameters, value); err != nil { return err } - case "TransformType": if value != nil { jtv, ok := value.(string) @@ -58725,7 +56929,6 @@ func awsAwsjson11_deserializeDocumentTransformParameters(v **types.TransformPara } sv.TransformType = types.TransformType(jtv) } - default: _, _ = key, value @@ -58795,7 +56998,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ if err := awsAwsjson11_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -58804,12 +57006,10 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Description = ptr.String(jtv) } - case "EventBatchingCondition": if err := awsAwsjson11_deserializeDocumentEventBatchingCondition(&sv.EventBatchingCondition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -58818,7 +57018,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58827,12 +57026,10 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Name = ptr.String(jtv) } - case "Predicate": if err := awsAwsjson11_deserializeDocumentPredicate(&sv.Predicate, value); err != nil { return err } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -58841,7 +57038,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Schedule = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -58850,7 +57046,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.State = types.TriggerState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -58859,7 +57054,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Type = types.TriggerType(jtv) } - case "WorkflowName": if value != nil { jtv, ok := value.(string) @@ -58868,7 +57062,6 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.WorkflowName = ptr.String(jtv) } - default: _, _ = key, value @@ -58974,7 +57167,6 @@ func awsAwsjson11_deserializeDocumentTriggerNodeDetails(v **types.TriggerNodeDet if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } - default: _, _ = key, value @@ -59046,7 +57238,6 @@ func awsAwsjson11_deserializeDocumentUnfilteredPartition(v **types.UnfilteredPar if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } - case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -59055,12 +57246,10 @@ func awsAwsjson11_deserializeDocumentUnfilteredPartition(v **types.UnfilteredPar } sv.IsRegisteredWithLakeFormation = jtv } - case "Partition": if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } - default: _, _ = key, value @@ -59130,7 +57319,6 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -59139,7 +57327,6 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e } sv.Name = ptr.String(jtv) } - case "UnionType": if value != nil { jtv, ok := value.(string) @@ -59148,7 +57335,6 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e } sv.UnionType = types.UnionType(jtv) } - default: _, _ = key, value @@ -59188,7 +57374,6 @@ func awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(v **types.Upser } sv.ConnectionName = ptr.String(jtv) } - case "TableLocation": if value != nil { jtv, ok := value.(string) @@ -59197,12 +57382,10 @@ func awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(v **types.Upser } sv.TableLocation = ptr.String(jtv) } - case "UpsertKeys": if err := awsAwsjson11_deserializeDocumentEnclosedInStringPropertiesMinOne(&sv.UpsertKeys, value); err != nil { return err } - default: _, _ = key, value @@ -59249,7 +57432,6 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -59258,7 +57440,6 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } sv.Description = ptr.String(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -59274,7 +57455,6 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -59283,7 +57463,6 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -59357,7 +57536,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.CatalogId = ptr.String(jtv) } - case "ClassName": if value != nil { jtv, ok := value.(string) @@ -59366,7 +57544,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.ClassName = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -59382,7 +57559,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -59391,7 +57567,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.DatabaseName = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -59400,7 +57575,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.FunctionName = ptr.String(jtv) } - case "OwnerName": if value != nil { jtv, ok := value.(string) @@ -59409,7 +57583,6 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.OwnerName = ptr.String(jtv) } - case "OwnerType": if value != nil { jtv, ok := value.(string) @@ -59418,12 +57591,10 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.OwnerType = types.PrincipalType(jtv) } - case "ResourceUris": if err := awsAwsjson11_deserializeDocumentResourceUriList(&sv.ResourceUris, value); err != nil { return err } - default: _, _ = key, value @@ -59487,15 +57658,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -59503,15 +57668,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -59572,15 +57733,9 @@ func awsAwsjson11_deserializeDocumentVersionMismatchException(v **types.VersionM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -59588,15 +57743,11 @@ func awsAwsjson11_deserializeDocumentVersionMismatchException(v **types.VersionM } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -59631,7 +57782,6 @@ func awsAwsjson11_deserializeDocumentViewDefinition(v **types.ViewDefinition, va } sv.Definer = ptr.String(jtv) } - case "IsProtected": if value != nil { jtv, ok := value.(bool) @@ -59640,17 +57790,14 @@ func awsAwsjson11_deserializeDocumentViewDefinition(v **types.ViewDefinition, va } sv.IsProtected = ptr.Bool(jtv) } - case "Representations": if err := awsAwsjson11_deserializeDocumentViewRepresentationList(&sv.Representations, value); err != nil { return err } - case "SubObjects": if err := awsAwsjson11_deserializeDocumentViewSubObjectsList(&sv.SubObjects, value); err != nil { return err } - default: _, _ = key, value @@ -59690,7 +57837,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.Dialect = types.ViewDialect(jtv) } - case "DialectVersion": if value != nil { jtv, ok := value.(string) @@ -59699,7 +57845,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.DialectVersion = ptr.String(jtv) } - case "IsStale": if value != nil { jtv, ok := value.(bool) @@ -59708,7 +57853,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.IsStale = ptr.Bool(jtv) } - case "ValidationConnection": if value != nil { jtv, ok := value.(string) @@ -59717,7 +57861,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ValidationConnection = ptr.String(jtv) } - case "ViewExpandedText": if value != nil { jtv, ok := value.(string) @@ -59726,7 +57869,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ViewExpandedText = ptr.String(jtv) } - case "ViewOriginalText": if value != nil { jtv, ok := value.(string) @@ -59735,7 +57877,6 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ViewOriginalText = ptr.String(jtv) } - default: _, _ = key, value @@ -59845,7 +57986,6 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.Dialect = types.ViewDialect(jtv) } - case "DialectVersion": if value != nil { jtv, ok := value.(string) @@ -59854,12 +57994,10 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.DialectVersion = ptr.String(jtv) } - case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -59868,7 +58006,6 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.State = types.ResourceState(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -59884,7 +58021,6 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } } - case "ViewValidationText": if value != nil { jtv, ok := value.(string) @@ -59893,7 +58029,6 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.ViewValidationText = ptr.String(jtv) } - default: _, _ = key, value @@ -59963,7 +58098,6 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac if err := awsAwsjson11_deserializeDocumentBlueprintDetails(&sv.BlueprintDetails, value); err != nil { return err } - case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -59979,12 +58113,10 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } } - case "DefaultRunProperties": if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.DefaultRunProperties, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -59993,12 +58125,10 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Description = ptr.String(jtv) } - case "Graph": if err := awsAwsjson11_deserializeDocumentWorkflowGraph(&sv.Graph, value); err != nil { return err } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -60014,12 +58144,10 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } } - case "LastRun": if err := awsAwsjson11_deserializeDocumentWorkflowRun(&sv.LastRun, value); err != nil { return err } - case "MaxConcurrentRuns": if value != nil { jtv, ok := value.(json.Number) @@ -60032,7 +58160,6 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.MaxConcurrentRuns = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60041,7 +58168,6 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -60077,12 +58203,10 @@ func awsAwsjson11_deserializeDocumentWorkflowGraph(v **types.WorkflowGraph, valu if err := awsAwsjson11_deserializeDocumentEdgeList(&sv.Edges, value); err != nil { return err } - case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -60165,7 +58289,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -60174,12 +58297,10 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.ErrorMessage = ptr.String(jtv) } - case "Graph": if err := awsAwsjson11_deserializeDocumentWorkflowGraph(&sv.Graph, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60188,7 +58309,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.Name = ptr.String(jtv) } - case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -60197,7 +58317,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.PreviousRunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -60213,17 +58332,14 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } } - case "StartingEventBatchCondition": if err := awsAwsjson11_deserializeDocumentStartingEventBatchCondition(&sv.StartingEventBatchCondition, value); err != nil { return err } - case "Statistics": if err := awsAwsjson11_deserializeDocumentWorkflowRunStatistics(&sv.Statistics, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -60232,7 +58348,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.Status = types.WorkflowRunStatus(jtv) } - case "WorkflowRunId": if value != nil { jtv, ok := value.(string) @@ -60241,12 +58356,10 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.WorkflowRunId = ptr.String(jtv) } - case "WorkflowRunProperties": if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.WorkflowRunProperties, value); err != nil { return err } - default: _, _ = key, value @@ -60360,7 +58473,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.ErroredActions = int32(i64) } - case "FailedActions": if value != nil { jtv, ok := value.(json.Number) @@ -60373,7 +58485,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.FailedActions = int32(i64) } - case "RunningActions": if value != nil { jtv, ok := value.(json.Number) @@ -60386,7 +58497,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.RunningActions = int32(i64) } - case "StoppedActions": if value != nil { jtv, ok := value.(json.Number) @@ -60399,7 +58509,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.StoppedActions = int32(i64) } - case "SucceededActions": if value != nil { jtv, ok := value.(json.Number) @@ -60412,7 +58521,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.SucceededActions = int32(i64) } - case "TimeoutActions": if value != nil { jtv, ok := value.(json.Number) @@ -60425,7 +58533,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.TimeoutActions = int32(i64) } - case "TotalActions": if value != nil { jtv, ok := value.(json.Number) @@ -60438,7 +58545,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.TotalActions = int32(i64) } - case "WaitingActions": if value != nil { jtv, ok := value.(json.Number) @@ -60451,7 +58557,6 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.WaitingActions = int32(i64) } - default: _, _ = key, value @@ -60525,7 +58630,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Classification = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -60541,7 +58645,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -60557,7 +58660,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60566,7 +58668,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Name = ptr.String(jtv) } - case "RowTag": if value != nil { jtv, ok := value.(string) @@ -60575,7 +58676,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.RowTag = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -60588,7 +58688,6 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Version = i64 } - default: _, _ = key, value @@ -60624,7 +58723,6 @@ func awsAwsjson11_deserializeOpDocumentBatchCreatePartitionOutput(v **BatchCreat if err := awsAwsjson11_deserializeDocumentPartitionErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -60660,12 +58758,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteConnectionOutput(v **BatchDele if err := awsAwsjson11_deserializeDocumentErrorByName(&sv.Errors, value); err != nil { return err } - case "Succeeded": if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.Succeeded, value); err != nil { return err } - default: _, _ = key, value @@ -60701,7 +58797,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeletePartitionOutput(v **BatchDelet if err := awsAwsjson11_deserializeDocumentPartitionErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -60737,7 +58832,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteTableOutput(v **BatchDeleteTab if err := awsAwsjson11_deserializeDocumentTableErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -60773,7 +58867,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteTableVersionOutput(v **BatchDe if err := awsAwsjson11_deserializeDocumentTableVersionErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -60809,12 +58902,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBlueprintsOutput(v **BatchGetBlue if err := awsAwsjson11_deserializeDocumentBlueprints(&sv.Blueprints, value); err != nil { return err } - case "MissingBlueprints": if err := awsAwsjson11_deserializeDocumentBlueprintNames(&sv.MissingBlueprints, value); err != nil { return err } - default: _, _ = key, value @@ -60850,12 +58941,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCrawlersOutput(v **BatchGetCrawle if err := awsAwsjson11_deserializeDocumentCrawlerList(&sv.Crawlers, value); err != nil { return err } - case "CrawlersNotFound": if err := awsAwsjson11_deserializeDocumentCrawlerNameList(&sv.CrawlersNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -60891,12 +58980,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCustomEntityTypesOutput(v **Batch if err := awsAwsjson11_deserializeDocumentCustomEntityTypes(&sv.CustomEntityTypes, value); err != nil { return err } - case "CustomEntityTypesNotFound": if err := awsAwsjson11_deserializeDocumentCustomEntityTypeNames(&sv.CustomEntityTypesNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -60932,12 +59019,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDataQualityResultOutput(v **Batch if err := awsAwsjson11_deserializeDocumentDataQualityResultsList(&sv.Results, value); err != nil { return err } - case "ResultsNotFound": if err := awsAwsjson11_deserializeDocumentDataQualityResultIds(&sv.ResultsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -60973,12 +59058,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDevEndpointsOutput(v **BatchGetDe if err := awsAwsjson11_deserializeDocumentDevEndpointList(&sv.DevEndpoints, value); err != nil { return err } - case "DevEndpointsNotFound": if err := awsAwsjson11_deserializeDocumentDevEndpointNames(&sv.DevEndpointsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -61014,12 +59097,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetJobsOutput(v **BatchGetJobsOutput if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - case "JobsNotFound": if err := awsAwsjson11_deserializeDocumentJobNameList(&sv.JobsNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -61055,12 +59136,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetPartitionOutput(v **BatchGetParti if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } - case "UnprocessedKeys": if err := awsAwsjson11_deserializeDocumentBatchGetPartitionValueList(&sv.UnprocessedKeys, value); err != nil { return err } - default: _, _ = key, value @@ -61096,12 +59175,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetTableOptimizerOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentBatchGetTableOptimizerErrors(&sv.Failures, value); err != nil { return err } - case "TableOptimizers": if err := awsAwsjson11_deserializeDocumentBatchTableOptimizers(&sv.TableOptimizers, value); err != nil { return err } - default: _, _ = key, value @@ -61137,12 +59214,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetTriggersOutput(v **BatchGetTrigge if err := awsAwsjson11_deserializeDocumentTriggerList(&sv.Triggers, value); err != nil { return err } - case "TriggersNotFound": if err := awsAwsjson11_deserializeDocumentTriggerNameList(&sv.TriggersNotFound, value); err != nil { return err } - default: _, _ = key, value @@ -61178,12 +59253,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetWorkflowsOutput(v **BatchGetWorkf if err := awsAwsjson11_deserializeDocumentWorkflowNames(&sv.MissingWorkflows, value); err != nil { return err } - case "Workflows": if err := awsAwsjson11_deserializeDocumentWorkflows(&sv.Workflows, value); err != nil { return err } - default: _, _ = key, value @@ -61219,7 +59292,6 @@ func awsAwsjson11_deserializeOpDocumentBatchPutDataQualityStatisticAnnotationOut if err := awsAwsjson11_deserializeDocumentAnnotationErrorList(&sv.FailedInclusionAnnotations, value); err != nil { return err } - default: _, _ = key, value @@ -61255,12 +59327,10 @@ func awsAwsjson11_deserializeOpDocumentBatchStopJobRunOutput(v **BatchStopJobRun if err := awsAwsjson11_deserializeDocumentBatchStopJobRunErrorList(&sv.Errors, value); err != nil { return err } - case "SuccessfulSubmissions": if err := awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmissionList(&sv.SuccessfulSubmissions, value); err != nil { return err } - default: _, _ = key, value @@ -61296,7 +59366,6 @@ func awsAwsjson11_deserializeOpDocumentBatchUpdatePartitionOutput(v **BatchUpdat if err := awsAwsjson11_deserializeDocumentBatchUpdatePartitionFailureList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -61398,7 +59467,6 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.Status = types.TaskStatusType(jtv) } - case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -61407,7 +59475,6 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.TaskRunId = ptr.String(jtv) } - case "TransformId": if value != nil { jtv, ok := value.(string) @@ -61416,7 +59483,6 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -61487,7 +59553,6 @@ func awsAwsjson11_deserializeOpDocumentCheckSchemaVersionValidityOutput(v **Chec } sv.Error = ptr.String(jtv) } - case "Valid": if value != nil { jtv, ok := value.(bool) @@ -61496,7 +59561,6 @@ func awsAwsjson11_deserializeOpDocumentCheckSchemaVersionValidityOutput(v **Chec } sv.Valid = jtv } - default: _, _ = key, value @@ -61536,7 +59600,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBlueprintOutput(v **CreateBlueprint } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -61638,7 +59701,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.CreateConnectionStatus = types.ConnectionStatus(jtv) } - default: _, _ = key, value @@ -61709,7 +59771,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomEntityTypeOutput(v **CreateCu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -61780,7 +59841,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataQualityRulesetOutput(v **Create } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -61816,7 +59876,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp if err := awsAwsjson11_deserializeDocumentMapValue(&sv.Arguments, value); err != nil { return err } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -61825,7 +59884,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.AvailabilityZone = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -61841,7 +59899,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -61850,7 +59907,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.EndpointName = ptr.String(jtv) } - case "ExtraJarsS3Path": if value != nil { jtv, ok := value.(string) @@ -61859,7 +59915,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ExtraJarsS3Path = ptr.String(jtv) } - case "ExtraPythonLibsS3Path": if value != nil { jtv, ok := value.(string) @@ -61868,7 +59923,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ExtraPythonLibsS3Path = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -61877,7 +59931,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.FailureReason = ptr.String(jtv) } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -61886,7 +59939,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.GlueVersion = ptr.String(jtv) } - case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -61899,7 +59951,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.NumberOfNodes = int32(i64) } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -61912,7 +59963,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -61921,7 +59971,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.RoleArn = ptr.String(jtv) } - case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -61930,12 +59979,10 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.SecurityConfiguration = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -61944,7 +59991,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.Status = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -61953,7 +59999,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -61962,7 +60007,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.VpcId = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -61971,7 +60015,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.WorkerType = types.WorkerType(jtv) } - case "YarnEndpointAddress": if value != nil { jtv, ok := value.(string) @@ -61980,7 +60023,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.YarnEndpointAddress = ptr.String(jtv) } - case "ZeppelinRemoteSparkInterpreterPort": if value != nil { jtv, ok := value.(json.Number) @@ -61993,7 +60035,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ZeppelinRemoteSparkInterpreterPort = int32(i64) } - default: _, _ = key, value @@ -62033,7 +60074,6 @@ func awsAwsjson11_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62073,7 +60113,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMLTransformOutput(v **CreateMLTrans } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -62175,7 +60214,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -62184,7 +60222,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -62193,12 +60230,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryName = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -62238,7 +60273,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Compatibility = types.Compatibility(jtv) } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -62247,7 +60281,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.DataFormat = types.DataFormat(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -62256,7 +60289,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Description = ptr.String(jtv) } - case "LatestSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -62269,7 +60301,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.LatestSchemaVersion = ptr.Int64(i64) } - case "NextSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -62282,7 +60313,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.NextSchemaVersion = ptr.Int64(i64) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -62291,7 +60321,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -62300,7 +60329,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -62309,7 +60337,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaCheckpoint": if value != nil { jtv, ok := value.(json.Number) @@ -62322,7 +60349,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaCheckpoint = ptr.Int64(i64) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -62331,7 +60357,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaName = ptr.String(jtv) } - case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -62340,7 +60365,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaStatus = types.SchemaStatus(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -62349,7 +60373,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersionId = ptr.String(jtv) } - case "SchemaVersionStatus": if value != nil { jtv, ok := value.(string) @@ -62358,12 +60381,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersionStatus = types.SchemaVersionStatus(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -62403,7 +60424,6 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput } sv.PythonScript = ptr.String(jtv) } - case "ScalaCode": if value != nil { jtv, ok := value.(string) @@ -62412,7 +60432,6 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput } sv.ScalaCode = ptr.String(jtv) } - default: _, _ = key, value @@ -62459,7 +60478,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -62468,7 +60486,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62504,7 +60521,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -62606,7 +60622,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTriggerOutput(v **CreateTriggerOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62646,7 +60661,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageProfileOutput(v **CreateUsageP } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62717,7 +60731,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62757,7 +60770,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBlueprintOutput(v **DeleteBlueprint } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62983,7 +60995,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCustomEntityTypeOutput(v **DeleteCu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -63116,7 +61127,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -63156,7 +61166,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteMLTransformOutput(v **DeleteMLTrans } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -63258,7 +61267,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -63267,7 +61275,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.RegistryName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -63276,7 +61283,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.Status = types.RegistryStatus(jtv) } - default: _, _ = key, value @@ -63347,7 +61353,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -63356,7 +61361,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -63365,7 +61369,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.Status = types.SchemaStatus(jtv) } - default: _, _ = key, value @@ -63401,7 +61404,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaVersionsOutput(v **DeleteSche if err := awsAwsjson11_deserializeDocumentSchemaVersionErrorList(&sv.SchemaVersionErrors, value); err != nil { return err } - default: _, _ = key, value @@ -63472,7 +61474,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -63605,7 +61606,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTriggerOutput(v **DeleteTriggerOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -63707,7 +61707,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -63743,7 +61742,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintOutput(v **GetBlueprintOutput if err := awsAwsjson11_deserializeDocumentBlueprint(&sv.Blueprint, value); err != nil { return err } - default: _, _ = key, value @@ -63779,7 +61777,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunOutput(v **GetBlueprintRun if err := awsAwsjson11_deserializeDocumentBlueprintRun(&sv.BlueprintRun, value); err != nil { return err } - default: _, _ = key, value @@ -63815,7 +61812,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunsOutput(v **GetBlueprintRu if err := awsAwsjson11_deserializeDocumentBlueprintRuns(&sv.BlueprintRuns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63824,7 +61820,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunsOutput(v **GetBlueprintRu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -63860,7 +61855,6 @@ func awsAwsjson11_deserializeOpDocumentGetCatalogImportStatusOutput(v **GetCatal if err := awsAwsjson11_deserializeDocumentCatalogImportStatus(&sv.ImportStatus, value); err != nil { return err } - default: _, _ = key, value @@ -63896,7 +61890,6 @@ func awsAwsjson11_deserializeOpDocumentGetClassifierOutput(v **GetClassifierOutp if err := awsAwsjson11_deserializeDocumentClassifier(&sv.Classifier, value); err != nil { return err } - default: _, _ = key, value @@ -63932,7 +61925,6 @@ func awsAwsjson11_deserializeOpDocumentGetClassifiersOutput(v **GetClassifiersOu if err := awsAwsjson11_deserializeDocumentClassifierList(&sv.Classifiers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63941,7 +61933,6 @@ func awsAwsjson11_deserializeOpDocumentGetClassifiersOutput(v **GetClassifiersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -63977,12 +61968,10 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsForPartitionOutput(v * if err := awsAwsjson11_deserializeDocumentColumnStatisticsList(&sv.ColumnStatisticsList, value); err != nil { return err } - case "Errors": if err := awsAwsjson11_deserializeDocumentColumnErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -64018,12 +62007,10 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsForTableOutput(v **Get if err := awsAwsjson11_deserializeDocumentColumnStatisticsList(&sv.ColumnStatisticsList, value); err != nil { return err } - case "Errors": if err := awsAwsjson11_deserializeDocumentColumnErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -64059,7 +62046,6 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunOutput(v **GetC if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(&sv.ColumnStatisticsTaskRun, value); err != nil { return err } - default: _, _ = key, value @@ -64095,7 +62081,6 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunsOutput(v **Get if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunsList(&sv.ColumnStatisticsTaskRuns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64104,7 +62089,6 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunsOutput(v **Get } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -64140,7 +62124,6 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskSettingsOutput(v * if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(&sv.ColumnStatisticsTaskSettings, value); err != nil { return err } - default: _, _ = key, value @@ -64176,7 +62159,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -64212,7 +62194,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.ConnectionList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64221,7 +62202,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -64257,7 +62237,6 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerMetricsOutput(v **GetCrawlerMet if err := awsAwsjson11_deserializeDocumentCrawlerMetricsList(&sv.CrawlerMetricsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64266,7 +62245,6 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerMetricsOutput(v **GetCrawlerMet } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -64302,7 +62280,6 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerOutput(v **GetCrawlerOutput, va if err := awsAwsjson11_deserializeDocumentCrawler(&sv.Crawler, value); err != nil { return err } - default: _, _ = key, value @@ -64338,7 +62315,6 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlersOutput(v **GetCrawlersOutput, if err := awsAwsjson11_deserializeDocumentCrawlerList(&sv.Crawlers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64347,7 +62323,6 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlersOutput(v **GetCrawlersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -64383,7 +62358,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn if err := awsAwsjson11_deserializeDocumentContextWords(&sv.ContextWords, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -64392,7 +62366,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn } sv.Name = ptr.String(jtv) } - case "RegexString": if value != nil { jtv, ok := value.(string) @@ -64401,7 +62374,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn } sv.RegexString = ptr.String(jtv) } - default: _, _ = key, value @@ -64437,7 +62409,6 @@ func awsAwsjson11_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsAwsjson11_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - default: _, _ = key, value @@ -64473,7 +62444,6 @@ func awsAwsjson11_deserializeOpDocumentGetDatabasesOutput(v **GetDatabasesOutput if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.DatabaseList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64482,7 +62452,6 @@ func awsAwsjson11_deserializeOpDocumentGetDatabasesOutput(v **GetDatabasesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -64518,7 +62487,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataCatalogEncryptionSettingsOutput(v if err := awsAwsjson11_deserializeDocumentDataCatalogEncryptionSettings(&sv.DataCatalogEncryptionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -64554,12 +62522,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataflowGraphOutput(v **GetDataflowGra if err := awsAwsjson11_deserializeDocumentDagEdges(&sv.DagEdges, value); err != nil { return err } - case "DagNodes": if err := awsAwsjson11_deserializeDocumentDagNodes(&sv.DagNodes, value); err != nil { return err } - default: _, _ = key, value @@ -64606,7 +62572,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -64615,7 +62580,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } sv.FailureReason = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -64631,7 +62595,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -64640,7 +62603,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } sv.Status = types.DataQualityModelStatus(jtv) } - default: _, _ = key, value @@ -64687,12 +62649,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelResultOutput(v **GetDa } } - case "Model": if err := awsAwsjson11_deserializeDocumentStatisticModelResults(&sv.Model, value); err != nil { return err } - default: _, _ = key, value @@ -64728,7 +62688,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua if err := awsAwsjson11_deserializeDocumentDataQualityAnalyzerResults(&sv.AnalyzerResults, value); err != nil { return err } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -64744,12 +62703,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -64758,7 +62715,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.EvaluationContext = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -64767,7 +62723,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.JobName = ptr.String(jtv) } - case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -64776,12 +62731,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.JobRunId = ptr.String(jtv) } - case "Observations": if err := awsAwsjson11_deserializeDocumentDataQualityObservations(&sv.Observations, value); err != nil { return err } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -64790,7 +62743,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.ProfileId = ptr.String(jtv) } - case "ResultId": if value != nil { jtv, ok := value.(string) @@ -64799,12 +62751,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.ResultId = ptr.String(jtv) } - case "RuleResults": if err := awsAwsjson11_deserializeDocumentDataQualityRuleResults(&sv.RuleResults, value); err != nil { return err } - case "RulesetEvaluationRunId": if value != nil { jtv, ok := value.(string) @@ -64813,7 +62763,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.RulesetEvaluationRunId = ptr.String(jtv) } - case "RulesetName": if value != nil { jtv, ok := value.(string) @@ -64822,7 +62771,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.RulesetName = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -64856,7 +62804,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -64872,7 +62819,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } - default: _, _ = key, value @@ -64919,7 +62865,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } - case "CreatedRulesetName": if value != nil { jtv, ok := value.(string) @@ -64928,7 +62873,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.CreatedRulesetName = ptr.String(jtv) } - case "DataQualitySecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -64937,12 +62881,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.DataQualitySecurityConfiguration = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -64951,7 +62893,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.ErrorString = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -64964,7 +62905,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.ExecutionTime = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -64980,7 +62920,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -64993,7 +62932,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "RecommendedRuleset": if value != nil { jtv, ok := value.(string) @@ -65002,7 +62940,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.RecommendedRuleset = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -65011,7 +62948,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Role = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -65020,7 +62956,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.RunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -65036,7 +62971,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -65045,7 +62979,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Status = types.TaskStatusType(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -65058,7 +62991,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -65094,12 +63026,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( if err := awsAwsjson11_deserializeDocumentDataSourceMap(&sv.AdditionalDataSources, value); err != nil { return err } - case "AdditionalRunOptions": if err := awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOptions(&sv.AdditionalRunOptions, value); err != nil { return err } - case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -65115,12 +63045,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -65129,7 +63057,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.ErrorString = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -65142,7 +63069,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.ExecutionTime = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -65158,7 +63084,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -65171,12 +63096,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "ResultIds": if err := awsAwsjson11_deserializeDocumentDataQualityResultIdList(&sv.ResultIds, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -65185,12 +63108,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Role = ptr.String(jtv) } - case "RulesetNames": if err := awsAwsjson11_deserializeDocumentRulesetNames(&sv.RulesetNames, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -65199,7 +63120,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.RunId = ptr.String(jtv) } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -65215,7 +63135,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -65224,7 +63143,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Status = types.TaskStatusType(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -65237,7 +63155,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -65284,7 +63201,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } } - case "DataQualitySecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -65293,7 +63209,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.DataQualitySecurityConfiguration = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -65302,7 +63217,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Description = ptr.String(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -65318,7 +63232,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -65327,7 +63240,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Name = ptr.String(jtv) } - case "RecommendationRunId": if value != nil { jtv, ok := value.(string) @@ -65336,7 +63248,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.RecommendationRunId = ptr.String(jtv) } - case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -65345,12 +63256,10 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Ruleset = ptr.String(jtv) } - case "TargetTable": if err := awsAwsjson11_deserializeDocumentDataQualityTargetTable(&sv.TargetTable, value); err != nil { return err } - default: _, _ = key, value @@ -65386,7 +63295,6 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointOutput(v **GetDevEndpointOu if err := awsAwsjson11_deserializeDocumentDevEndpoint(&sv.DevEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -65422,7 +63330,6 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointsOutput(v **GetDevEndpoints if err := awsAwsjson11_deserializeDocumentDevEndpointList(&sv.DevEndpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65431,7 +63338,6 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointsOutput(v **GetDevEndpoints } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -65467,7 +63373,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobBookmarkOutput(v **GetJobBookmarkOu if err := awsAwsjson11_deserializeDocumentJobBookmarkEntry(&sv.JobBookmarkEntry, value); err != nil { return err } - default: _, _ = key, value @@ -65503,7 +63408,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -65539,7 +63443,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunOutput(v **GetJobRunOutput, valu if err := awsAwsjson11_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } - default: _, _ = key, value @@ -65575,7 +63478,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunsOutput(v **GetJobRunsOutput, va if err := awsAwsjson11_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65584,7 +63486,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunsOutput(v **GetJobRunsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -65620,7 +63521,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobsOutput(v **GetJobsOutput, value in if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65629,7 +63529,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobsOutput(v **GetJobsOutput, value in } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -65665,7 +63564,6 @@ func awsAwsjson11_deserializeOpDocumentGetMappingOutput(v **GetMappingOutput, va if err := awsAwsjson11_deserializeDocumentMappingList(&sv.Mapping, value); err != nil { return err } - default: _, _ = key, value @@ -65712,7 +63610,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } - case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -65721,7 +63618,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.ErrorString = ptr.String(jtv) } - case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -65734,7 +63630,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.ExecutionTime = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -65750,7 +63645,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -65759,12 +63653,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.LogGroupName = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentTaskRunProperties(&sv.Properties, value); err != nil { return err } - case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -65780,7 +63672,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -65789,7 +63680,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.Status = types.TaskStatusType(jtv) } - case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -65798,7 +63688,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.TaskRunId = ptr.String(jtv) } - case "TransformId": if value != nil { jtv, ok := value.(string) @@ -65807,7 +63696,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -65847,12 +63735,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunsOutput(v **GetMLTaskRunsOutp } sv.NextToken = ptr.String(jtv) } - case "TaskRuns": if err := awsAwsjson11_deserializeDocumentTaskRunList(&sv.TaskRuns, value); err != nil { return err } - default: _, _ = key, value @@ -65899,7 +63785,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -65908,12 +63793,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Description = ptr.String(jtv) } - case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -65922,12 +63805,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.GlueVersion = ptr.String(jtv) } - case "InputRecordTables": if err := awsAwsjson11_deserializeDocumentGlueTables(&sv.InputRecordTables, value); err != nil { return err } - case "LabelCount": if value != nil { jtv, ok := value.(json.Number) @@ -65940,7 +63821,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.LabelCount = int32(i64) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -65956,7 +63836,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } - case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -65990,7 +63869,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } - case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -66003,7 +63881,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.MaxRetries = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -66012,7 +63889,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Name = ptr.String(jtv) } - case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -66025,12 +63901,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformParameters(&sv.Parameters, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -66039,12 +63913,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Role = ptr.String(jtv) } - case "Schema": if err := awsAwsjson11_deserializeDocumentTransformSchema(&sv.Schema, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -66053,7 +63925,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Status = types.TransformStatusType(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -66066,12 +63937,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Timeout = ptr.Int32(int32(i64)) } - case "TransformEncryption": if err := awsAwsjson11_deserializeDocumentTransformEncryption(&sv.TransformEncryption, value); err != nil { return err } - case "TransformId": if value != nil { jtv, ok := value.(string) @@ -66080,7 +63949,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.TransformId = ptr.String(jtv) } - case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -66089,7 +63957,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.WorkerType = types.WorkerType(jtv) } - default: _, _ = key, value @@ -66129,12 +63996,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformsOutput(v **GetMLTransforms } sv.NextToken = ptr.String(jtv) } - case "Transforms": if err := awsAwsjson11_deserializeDocumentTransformList(&sv.Transforms, value); err != nil { return err } - default: _, _ = key, value @@ -66174,12 +64039,10 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionIndexesOutput(v **GetPartitio } sv.NextToken = ptr.String(jtv) } - case "PartitionIndexDescriptorList": if err := awsAwsjson11_deserializeDocumentPartitionIndexDescriptorList(&sv.PartitionIndexDescriptorList, value); err != nil { return err } - default: _, _ = key, value @@ -66215,7 +64078,6 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionOutput(v **GetPartitionOutput if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } - default: _, _ = key, value @@ -66255,12 +64117,10 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionsOutput(v **GetPartitionsOutp } sv.NextToken = ptr.String(jtv) } - case "Partitions": if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } - default: _, _ = key, value @@ -66300,7 +64160,6 @@ func awsAwsjson11_deserializeOpDocumentGetPlanOutput(v **GetPlanOutput, value in } sv.PythonScript = ptr.String(jtv) } - case "ScalaCode": if value != nil { jtv, ok := value.(string) @@ -66309,7 +64168,6 @@ func awsAwsjson11_deserializeOpDocumentGetPlanOutput(v **GetPlanOutput, value in } sv.ScalaCode = ptr.String(jtv) } - default: _, _ = key, value @@ -66349,7 +64207,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.CreatedTime = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -66358,7 +64215,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -66367,7 +64223,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -66376,7 +64231,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.RegistryName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -66385,7 +64239,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.Status = types.RegistryStatus(jtv) } - case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -66394,7 +64247,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.UpdatedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -66430,7 +64282,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource if err := awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseList(&sv.GetResourcePoliciesResponseList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66439,7 +64290,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -66486,7 +64336,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } - case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -66495,7 +64344,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyHash = ptr.String(jtv) } - case "PolicyInJson": if value != nil { jtv, ok := value.(string) @@ -66504,7 +64352,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyInJson = ptr.String(jtv) } - case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -66520,7 +64367,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } - default: _, _ = key, value @@ -66560,7 +64406,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.CreatedTime = ptr.String(jtv) } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -66569,7 +64414,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.DataFormat = types.DataFormat(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -66578,7 +64422,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.SchemaArn = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -66587,7 +64430,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.SchemaVersionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -66596,7 +64438,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.Status = types.SchemaVersionStatus(jtv) } - default: _, _ = key, value @@ -66636,7 +64477,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Compatibility = types.Compatibility(jtv) } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -66645,7 +64485,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.CreatedTime = ptr.String(jtv) } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -66654,7 +64493,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.DataFormat = types.DataFormat(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -66663,7 +64501,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Description = ptr.String(jtv) } - case "LatestSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -66676,7 +64513,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.LatestSchemaVersion = ptr.Int64(i64) } - case "NextSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -66689,7 +64525,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.NextSchemaVersion = ptr.Int64(i64) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -66698,7 +64533,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -66707,7 +64541,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -66716,7 +64549,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaArn = ptr.String(jtv) } - case "SchemaCheckpoint": if value != nil { jtv, ok := value.(json.Number) @@ -66729,7 +64561,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaCheckpoint = ptr.Int64(i64) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -66738,7 +64569,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaName = ptr.String(jtv) } - case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -66747,7 +64577,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaStatus = types.SchemaStatus(jtv) } - case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -66756,7 +64585,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.UpdatedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -66796,7 +64624,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.CreatedTime = ptr.String(jtv) } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -66805,7 +64632,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.DataFormat = types.DataFormat(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -66814,7 +64640,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaArn = ptr.String(jtv) } - case "SchemaDefinition": if value != nil { jtv, ok := value.(string) @@ -66823,7 +64648,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaDefinition = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -66832,7 +64656,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaVersionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -66841,7 +64664,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.Status = types.SchemaVersionStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -66854,7 +64676,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -66894,7 +64715,6 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionsDiffOutput(v **GetSchema } sv.Diff = ptr.String(jtv) } - default: _, _ = key, value @@ -66930,7 +64750,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecurityConfigurationOutput(v **GetSec if err := awsAwsjson11_deserializeDocumentSecurityConfiguration(&sv.SecurityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -66970,12 +64789,10 @@ func awsAwsjson11_deserializeOpDocumentGetSecurityConfigurationsOutput(v **GetSe } sv.NextToken = ptr.String(jtv) } - case "SecurityConfigurations": if err := awsAwsjson11_deserializeDocumentSecurityConfigurationList(&sv.SecurityConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -67011,7 +64828,6 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -67047,7 +64863,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementOutput(v **GetStatementOutput if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } - default: _, _ = key, value @@ -67087,7 +64902,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -67096,7 +64910,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.DatabaseName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -67105,12 +64918,10 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.TableName = ptr.String(jtv) } - case "TableOptimizer": if err := awsAwsjson11_deserializeDocumentTableOptimizer(&sv.TableOptimizer, value); err != nil { return err } - default: _, _ = key, value @@ -67146,7 +64957,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -67186,12 +64996,10 @@ func awsAwsjson11_deserializeOpDocumentGetTablesOutput(v **GetTablesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "TableList": if err := awsAwsjson11_deserializeDocumentTableList(&sv.TableList, value); err != nil { return err } - default: _, _ = key, value @@ -67227,7 +65035,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableVersionOutput(v **GetTableVersion if err := awsAwsjson11_deserializeDocumentTableVersion(&sv.TableVersion, value); err != nil { return err } - default: _, _ = key, value @@ -67267,12 +65074,10 @@ func awsAwsjson11_deserializeOpDocumentGetTableVersionsOutput(v **GetTableVersio } sv.NextToken = ptr.String(jtv) } - case "TableVersions": if err := awsAwsjson11_deserializeDocumentGetTableVersionsList(&sv.TableVersions, value); err != nil { return err } - default: _, _ = key, value @@ -67308,7 +65113,6 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -67344,7 +65148,6 @@ func awsAwsjson11_deserializeOpDocumentGetTriggerOutput(v **GetTriggerOutput, va if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } - default: _, _ = key, value @@ -67384,12 +65187,10 @@ func awsAwsjson11_deserializeOpDocumentGetTriggersOutput(v **GetTriggersOutput, } sv.NextToken = ptr.String(jtv) } - case "Triggers": if err := awsAwsjson11_deserializeDocumentTriggerList(&sv.Triggers, value); err != nil { return err } - default: _, _ = key, value @@ -67425,7 +65226,6 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionMetadataOutput(v ** if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } - case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -67434,12 +65234,10 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionMetadataOutput(v ** } sv.IsRegisteredWithLakeFormation = jtv } - case "Partition": if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } - default: _, _ = key, value @@ -67479,12 +65277,10 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionsMetadataOutput(v * } sv.NextToken = ptr.String(jtv) } - case "UnfilteredPartitions": if err := awsAwsjson11_deserializeDocumentUnfilteredPartitionList(&sv.UnfilteredPartitions, value); err != nil { return err } - default: _, _ = key, value @@ -67520,12 +65316,10 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } - case "CellFilters": if err := awsAwsjson11_deserializeDocumentColumnRowFilterList(&sv.CellFilters, value); err != nil { return err } - case "IsMultiDialectView": if value != nil { jtv, ok := value.(bool) @@ -67534,7 +65328,6 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsMultiDialectView = jtv } - case "IsProtected": if value != nil { jtv, ok := value.(bool) @@ -67543,7 +65336,6 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsProtected = jtv } - case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -67552,12 +65344,10 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsRegisteredWithLakeFormation = jtv } - case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "QueryAuthorizationId": if value != nil { jtv, ok := value.(string) @@ -67566,7 +65356,6 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.QueryAuthorizationId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -67575,7 +65364,6 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.ResourceArn = ptr.String(jtv) } - case "RowFilter": if value != nil { jtv, ok := value.(string) @@ -67584,12 +65372,10 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.RowFilter = ptr.String(jtv) } - case "Table": if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -67625,7 +65411,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile if err := awsAwsjson11_deserializeDocumentProfileConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -67641,7 +65426,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -67650,7 +65434,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } sv.Description = ptr.String(jtv) } - case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -67666,7 +65449,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -67675,7 +65457,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -67711,7 +65492,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserDefinedFunctionOutput(v **GetUserD if err := awsAwsjson11_deserializeDocumentUserDefinedFunction(&sv.UserDefinedFunction, value); err != nil { return err } - default: _, _ = key, value @@ -67751,12 +65531,10 @@ func awsAwsjson11_deserializeOpDocumentGetUserDefinedFunctionsOutput(v **GetUser } sv.NextToken = ptr.String(jtv) } - case "UserDefinedFunctions": if err := awsAwsjson11_deserializeDocumentUserDefinedFunctionList(&sv.UserDefinedFunctions, value); err != nil { return err } - default: _, _ = key, value @@ -67792,7 +65570,6 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsAwsjson11_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } - default: _, _ = key, value @@ -67828,7 +65605,6 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu if err := awsAwsjson11_deserializeDocumentWorkflowRun(&sv.Run, value); err != nil { return err } - default: _, _ = key, value @@ -67864,7 +65640,6 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunPropertiesOutput(v **GetWor if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.RunProperties, value); err != nil { return err } - default: _, _ = key, value @@ -67904,12 +65679,10 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunsOutput(v **GetWorkflowRuns } sv.NextToken = ptr.String(jtv) } - case "Runs": if err := awsAwsjson11_deserializeDocumentWorkflowRuns(&sv.Runs, value); err != nil { return err } - default: _, _ = key, value @@ -67976,7 +65749,6 @@ func awsAwsjson11_deserializeOpDocumentListBlueprintsOutput(v **ListBlueprintsOu if err := awsAwsjson11_deserializeDocumentBlueprintNames(&sv.Blueprints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -67985,7 +65757,6 @@ func awsAwsjson11_deserializeOpDocumentListBlueprintsOutput(v **ListBlueprintsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68021,7 +65792,6 @@ func awsAwsjson11_deserializeOpDocumentListColumnStatisticsTaskRunsOutput(v **Li if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunIdList(&sv.ColumnStatisticsTaskRunIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68030,7 +65800,6 @@ func awsAwsjson11_deserializeOpDocumentListColumnStatisticsTaskRunsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68066,7 +65835,6 @@ func awsAwsjson11_deserializeOpDocumentListCrawlersOutput(v **ListCrawlersOutput if err := awsAwsjson11_deserializeDocumentCrawlerNameList(&sv.CrawlerNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68075,7 +65843,6 @@ func awsAwsjson11_deserializeOpDocumentListCrawlersOutput(v **ListCrawlersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68111,7 +65878,6 @@ func awsAwsjson11_deserializeOpDocumentListCrawlsOutput(v **ListCrawlsOutput, va if err := awsAwsjson11_deserializeDocumentCrawlerHistoryList(&sv.Crawls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68120,7 +65886,6 @@ func awsAwsjson11_deserializeOpDocumentListCrawlsOutput(v **ListCrawlsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68156,7 +65921,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomEntityTypesOutput(v **ListCusto if err := awsAwsjson11_deserializeDocumentCustomEntityTypes(&sv.CustomEntityTypes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68165,7 +65929,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomEntityTypesOutput(v **ListCusto } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68205,12 +65968,10 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityResultsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentDataQualityResultDescriptionList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -68250,12 +66011,10 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRuleRecommendationRunsOutp } sv.NextToken = ptr.String(jtv) } - case "Runs": if err := awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunList(&sv.Runs, value); err != nil { return err } - default: _, _ = key, value @@ -68295,12 +66054,10 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRulesetEvaluationRunsOutpu } sv.NextToken = ptr.String(jtv) } - case "Runs": if err := awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunList(&sv.Runs, value); err != nil { return err } - default: _, _ = key, value @@ -68340,12 +66097,10 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRulesetsOutput(v **ListDat } sv.NextToken = ptr.String(jtv) } - case "Rulesets": if err := awsAwsjson11_deserializeDocumentDataQualityRulesetList(&sv.Rulesets, value); err != nil { return err } - default: _, _ = key, value @@ -68381,7 +66136,6 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticAnnotationsOutput if err := awsAwsjson11_deserializeDocumentAnnotationList(&sv.Annotations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68390,7 +66144,6 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticAnnotationsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68430,12 +66183,10 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } - case "Statistics": if err := awsAwsjson11_deserializeDocumentStatisticSummaryList(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -68471,7 +66222,6 @@ func awsAwsjson11_deserializeOpDocumentListDevEndpointsOutput(v **ListDevEndpoin if err := awsAwsjson11_deserializeDocumentDevEndpointNameList(&sv.DevEndpointNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68480,7 +66230,6 @@ func awsAwsjson11_deserializeOpDocumentListDevEndpointsOutput(v **ListDevEndpoin } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68516,7 +66265,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68525,7 +66273,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -68565,12 +66312,10 @@ func awsAwsjson11_deserializeOpDocumentListMLTransformsOutput(v **ListMLTransfor } sv.NextToken = ptr.String(jtv) } - case "TransformIds": if err := awsAwsjson11_deserializeDocumentTransformIdList(&sv.TransformIds, value); err != nil { return err } - default: _, _ = key, value @@ -68610,12 +66355,10 @@ func awsAwsjson11_deserializeOpDocumentListRegistriesOutput(v **ListRegistriesOu } sv.NextToken = ptr.String(jtv) } - case "Registries": if err := awsAwsjson11_deserializeDocumentRegistryListDefinition(&sv.Registries, value); err != nil { return err } - default: _, _ = key, value @@ -68655,12 +66398,10 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaListDefinition(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -68700,12 +66441,10 @@ func awsAwsjson11_deserializeOpDocumentListSchemaVersionsOutput(v **ListSchemaVe } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaVersionList(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -68741,7 +66480,6 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput if err := awsAwsjson11_deserializeDocumentSessionIdList(&sv.Ids, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68750,12 +66488,10 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } - case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -68795,12 +66531,10 @@ func awsAwsjson11_deserializeOpDocumentListStatementsOutput(v **ListStatementsOu } sv.NextToken = ptr.String(jtv) } - case "Statements": if err := awsAwsjson11_deserializeDocumentStatementList(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -68840,7 +66574,6 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -68849,7 +66582,6 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.DatabaseName = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -68858,7 +66590,6 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.NextToken = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -68867,12 +66598,10 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.TableName = ptr.String(jtv) } - case "TableOptimizerRuns": if err := awsAwsjson11_deserializeDocumentTableOptimizerRuns(&sv.TableOptimizerRuns, value); err != nil { return err } - default: _, _ = key, value @@ -68912,12 +66641,10 @@ func awsAwsjson11_deserializeOpDocumentListTriggersOutput(v **ListTriggersOutput } sv.NextToken = ptr.String(jtv) } - case "TriggerNames": if err := awsAwsjson11_deserializeDocumentTriggerNameList(&sv.TriggerNames, value); err != nil { return err } - default: _, _ = key, value @@ -68957,12 +66684,10 @@ func awsAwsjson11_deserializeOpDocumentListUsageProfilesOutput(v **ListUsageProf } sv.NextToken = ptr.String(jtv) } - case "Profiles": if err := awsAwsjson11_deserializeDocumentUsageProfileDefinitionList(&sv.Profiles, value); err != nil { return err } - default: _, _ = key, value @@ -69002,12 +66727,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - case "Workflows": if err := awsAwsjson11_deserializeDocumentWorkflowNames(&sv.Workflows, value); err != nil { return err } - default: _, _ = key, value @@ -69109,7 +66832,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyHash = ptr.String(jtv) } - default: _, _ = key, value @@ -69149,7 +66871,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.LatestVersion = jtv } - case "MetadataKey": if value != nil { jtv, ok := value.(string) @@ -69158,7 +66879,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.MetadataKey = ptr.String(jtv) } - case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -69167,7 +66887,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.MetadataValue = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -69176,7 +66895,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -69185,7 +66903,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -69194,7 +66911,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -69203,7 +66919,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaVersionId = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -69216,7 +66931,6 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -69283,7 +66997,6 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer if err := awsAwsjson11_deserializeDocumentMetadataInfoMap(&sv.MetadataInfoMap, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -69292,7 +67005,6 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer } sv.NextToken = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -69301,7 +67013,6 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer } sv.SchemaVersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -69341,7 +67052,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.SchemaVersionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -69350,7 +67060,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.Status = types.SchemaVersionStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -69363,7 +67072,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -69403,7 +67111,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.LatestVersion = jtv } - case "MetadataKey": if value != nil { jtv, ok := value.(string) @@ -69412,7 +67119,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.MetadataKey = ptr.String(jtv) } - case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -69421,7 +67127,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.MetadataValue = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -69430,7 +67135,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -69439,7 +67143,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -69448,7 +67151,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -69457,7 +67159,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaVersionId = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -69470,7 +67171,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -69506,7 +67206,6 @@ func awsAwsjson11_deserializeOpDocumentResetJobBookmarkOutput(v **ResetJobBookma if err := awsAwsjson11_deserializeDocumentJobBookmarkEntry(&sv.JobBookmarkEntry, value); err != nil { return err } - default: _, _ = key, value @@ -69542,7 +67241,6 @@ func awsAwsjson11_deserializeOpDocumentResumeWorkflowRunOutput(v **ResumeWorkflo if err := awsAwsjson11_deserializeDocumentNodeIdList(&sv.NodeIds, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -69551,7 +67249,6 @@ func awsAwsjson11_deserializeOpDocumentResumeWorkflowRunOutput(v **ResumeWorkflo } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69595,7 +67292,6 @@ func awsAwsjson11_deserializeOpDocumentRunStatementOutput(v **RunStatementOutput } sv.Id = int32(i64) } - default: _, _ = key, value @@ -69635,12 +67331,10 @@ func awsAwsjson11_deserializeOpDocumentSearchTablesOutput(v **SearchTablesOutput } sv.NextToken = ptr.String(jtv) } - case "TableList": if err := awsAwsjson11_deserializeDocumentTableList(&sv.TableList, value); err != nil { return err } - default: _, _ = key, value @@ -69680,7 +67374,6 @@ func awsAwsjson11_deserializeOpDocumentStartBlueprintRunOutput(v **StartBlueprin } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69720,7 +67413,6 @@ func awsAwsjson11_deserializeOpDocumentStartColumnStatisticsTaskRunOutput(v **St } sv.ColumnStatisticsTaskRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69853,7 +67545,6 @@ func awsAwsjson11_deserializeOpDocumentStartDataQualityRuleRecommendationRunOutp } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69893,7 +67584,6 @@ func awsAwsjson11_deserializeOpDocumentStartDataQualityRulesetEvaluationRunOutpu } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69933,7 +67623,6 @@ func awsAwsjson11_deserializeOpDocumentStartExportLabelsTaskRunOutput(v **StartE } sv.TaskRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -69973,7 +67662,6 @@ func awsAwsjson11_deserializeOpDocumentStartImportLabelsTaskRunOutput(v **StartI } sv.TaskRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -70013,7 +67701,6 @@ func awsAwsjson11_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.JobRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -70053,7 +67740,6 @@ func awsAwsjson11_deserializeOpDocumentStartMLEvaluationTaskRunOutput(v **StartM } sv.TaskRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -70093,7 +67779,6 @@ func awsAwsjson11_deserializeOpDocumentStartMLLabelingSetGenerationTaskRunOutput } sv.TaskRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -70133,7 +67818,6 @@ func awsAwsjson11_deserializeOpDocumentStartTriggerOutput(v **StartTriggerOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -70173,7 +67857,6 @@ func awsAwsjson11_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -70337,7 +68020,6 @@ func awsAwsjson11_deserializeOpDocumentStopSessionOutput(v **StopSessionOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -70377,7 +68059,6 @@ func awsAwsjson11_deserializeOpDocumentStopTriggerOutput(v **StopTriggerOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -70541,7 +68222,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBlueprintOutput(v **UpdateBlueprint } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -70608,7 +68288,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateColumnStatisticsForPartitionOutput( if err := awsAwsjson11_deserializeDocumentColumnStatisticsErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -70644,7 +68323,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateColumnStatisticsForTableOutput(v ** if err := awsAwsjson11_deserializeDocumentColumnStatisticsErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -70839,7 +68517,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -70848,7 +68525,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Name = ptr.String(jtv) } - case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -70857,7 +68533,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Ruleset = ptr.String(jtv) } - default: _, _ = key, value @@ -70928,7 +68603,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateJobFromSourceControlOutput(v **Upda } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -70968,7 +68642,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateJobOutput(v **UpdateJobOutput, valu } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -71008,7 +68681,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMLTransformOutput(v **UpdateMLTrans } sv.TransformId = ptr.String(jtv) } - default: _, _ = key, value @@ -71079,7 +68751,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -71088,7 +68759,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryName = ptr.String(jtv) } - default: _, _ = key, value @@ -71128,7 +68798,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -71137,7 +68806,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -71146,7 +68814,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaName = ptr.String(jtv) } - default: _, _ = key, value @@ -71186,7 +68853,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSourceControlFromJobOutput(v **Upda } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -71284,7 +68950,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTriggerOutput(v **UpdateTriggerOutp if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } - default: _, _ = key, value @@ -71324,7 +68989,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUsageProfileOutput(v **UpdateUsageP } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -71395,7 +69059,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/grafana/deserializers.go b/service/grafana/deserializers.go index 45ce42fc656..a828b3c7010 100644 --- a/service/grafana/deserializers.go +++ b/service/grafana/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentAssociateLicenseOutput(v **AssociateLicen if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -351,7 +350,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -525,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.Key = ptr.String(jtv) } - case "keyName": if value != nil { jtv, ok := value.(string) @@ -534,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.KeyName = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -543,7 +539,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -717,7 +712,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.GrafanaRole = types.Role(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -726,7 +720,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -735,7 +728,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.Name = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -744,7 +736,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -918,12 +909,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountTokenOutput( } sv.ServiceAccountId = ptr.String(jtv) } - case "serviceAccountToken": if err := awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(&sv.ServiceAccountToken, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -932,7 +921,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountTokenOutput( } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1099,7 +1087,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceOutput(v **DeleteWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -1270,7 +1257,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceApiKeyOutput(v **DeleteWor } sv.KeyName = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1279,7 +1265,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceApiKeyOutput(v **DeleteWor } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1450,7 +1435,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountOutput(v **D } sv.ServiceAccountId = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1459,7 +1443,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountOutput(v **D } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1630,7 +1613,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.ServiceAccountId = ptr.String(jtv) } - case "tokenId": if value != nil { jtv, ok := value.(string) @@ -1639,7 +1621,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.TokenId = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1648,7 +1629,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1812,7 +1792,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceOutput(v **DescribeWorks if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -1979,7 +1958,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceAuthenticationOutput(v * if err := awsRestjson1_deserializeDocumentAuthenticationDescription(&sv.Authentication, value); err != nil { return err } - default: _, _ = key, value @@ -2144,7 +2122,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceConfigurationOutput(v ** } sv.Configuration = ptr.String(jtv) } - case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -2153,7 +2130,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceConfigurationOutput(v ** } sv.GrafanaVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2317,7 +2293,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateLicenseOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -2485,12 +2460,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentPermissionEntryList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -2654,7 +2627,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2818,7 +2790,6 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput if err := awsRestjson1_deserializeDocumentGrafanaVersionList(&sv.GrafanaVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2827,7 +2798,6 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2989,12 +2959,10 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } - case "workspaces": if err := awsRestjson1_deserializeDocumentWorkspaceList(&sv.Workspaces, value); err != nil { return err } - default: _, _ = key, value @@ -3165,12 +3133,10 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "serviceAccounts": if err := awsRestjson1_deserializeDocumentServiceAccountList(&sv.ServiceAccounts, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3179,7 +3145,6 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountsOutput(v **Li } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3350,7 +3315,6 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.NextToken = ptr.String(jtv) } - case "serviceAccountId": if value != nil { jtv, ok := value.(string) @@ -3359,12 +3323,10 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.ServiceAccountId = ptr.String(jtv) } - case "serviceAccountTokens": if err := awsRestjson1_deserializeDocumentServiceAccountTokenList(&sv.ServiceAccountTokens, value); err != nil { return err } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3373,7 +3335,6 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3737,7 +3698,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePermissionsOutput(v **UpdatePermiss if err := awsRestjson1_deserializeDocumentUpdateErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -3904,7 +3864,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceOutput(v **UpdateWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } - default: _, _ = key, value @@ -4071,7 +4030,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceAuthenticationOutput(v **U if err := awsRestjson1_deserializeDocumentAuthenticationDescription(&sv.Authentication, value); err != nil { return err } - default: _, _ = key, value @@ -4496,15 +4454,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4512,15 +4464,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4591,7 +4539,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Email = ptr.String(jtv) } - case "groups": if value != nil { jtv, ok := value.(string) @@ -4600,7 +4547,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Groups = ptr.String(jtv) } - case "login": if value != nil { jtv, ok := value.(string) @@ -4609,7 +4555,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Login = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4618,7 +4563,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Name = ptr.String(jtv) } - case "org": if value != nil { jtv, ok := value.(string) @@ -4627,7 +4571,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Org = ptr.String(jtv) } - case "role": if value != nil { jtv, ok := value.(string) @@ -4636,7 +4579,6 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Role = ptr.String(jtv) } - default: _, _ = key, value @@ -4672,17 +4614,14 @@ func awsRestjson1_deserializeDocumentAuthenticationDescription(v **types.Authent if err := awsRestjson1_deserializeDocumentAwsSsoAuthentication(&sv.AwsSso, value); err != nil { return err } - case "providers": if err := awsRestjson1_deserializeDocumentAuthenticationProviders(&sv.Providers, value); err != nil { return err } - case "saml": if err := awsRestjson1_deserializeDocumentSamlAuthentication(&sv.Saml, value); err != nil { return err } - default: _, _ = key, value @@ -4754,7 +4693,6 @@ func awsRestjson1_deserializeDocumentAuthenticationSummary(v **types.Authenticat if err := awsRestjson1_deserializeDocumentAuthenticationProviders(&sv.Providers, value); err != nil { return err } - case "samlConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4763,7 +4701,6 @@ func awsRestjson1_deserializeDocumentAuthenticationSummary(v **types.Authenticat } sv.SamlConfigurationStatus = types.SamlConfigurationStatus(jtv) } - default: _, _ = key, value @@ -4803,7 +4740,6 @@ func awsRestjson1_deserializeDocumentAwsSsoAuthentication(v **types.AwsSsoAuthen } sv.SsoClientId = ptr.String(jtv) } - default: _, _ = key, value @@ -4833,15 +4769,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4849,7 +4779,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4858,7 +4787,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4867,15 +4795,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5026,15 +4950,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5042,7 +4960,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5055,15 +4972,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5094,12 +5007,10 @@ func awsRestjson1_deserializeDocumentNetworkAccessConfiguration(v **types.Networ if err := awsRestjson1_deserializeDocumentPrefixListIds(&sv.PrefixListIds, value); err != nil { return err } - case "vpceIds": if err := awsRestjson1_deserializeDocumentVpceIds(&sv.VpceIds, value); err != nil { return err } - default: _, _ = key, value @@ -5211,12 +5122,10 @@ func awsRestjson1_deserializeDocumentPermissionEntry(v **types.PermissionEntry, } sv.Role = types.Role(jtv) } - case "user": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -5316,15 +5225,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5332,7 +5235,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5243,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5350,15 +5251,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5425,12 +5322,10 @@ func awsRestjson1_deserializeDocumentRoleValues(v **types.RoleValues, value inte if err := awsRestjson1_deserializeDocumentRoleValueList(&sv.Admin, value); err != nil { return err } - case "editor": if err := awsRestjson1_deserializeDocumentRoleValueList(&sv.Editor, value); err != nil { return err } - default: _, _ = key, value @@ -5466,7 +5361,6 @@ func awsRestjson1_deserializeDocumentSamlAuthentication(v **types.SamlAuthentica if err := awsRestjson1_deserializeDocumentSamlConfiguration(&sv.Configuration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5475,7 +5369,6 @@ func awsRestjson1_deserializeDocumentSamlAuthentication(v **types.SamlAuthentica } sv.Status = types.SamlConfigurationStatus(jtv) } - default: _, _ = key, value @@ -5511,17 +5404,14 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati if err := awsRestjson1_deserializeDocumentAllowedOrganizations(&sv.AllowedOrganizations, value); err != nil { return err } - case "assertionAttributes": if err := awsRestjson1_deserializeDocumentAssertionAttributes(&sv.AssertionAttributes, value); err != nil { return err } - case "idpMetadata": if err := awsRestjson1_deserializeDocumentIdpMetadata(&sv.IdpMetadata, value); err != nil { return err } - case "loginValidityDuration": if value != nil { jtv, ok := value.(json.Number) @@ -5534,12 +5424,10 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.LoginValidityDuration = int32(i64) } - case "roleValues": if err := awsRestjson1_deserializeDocumentRoleValues(&sv.RoleValues, value); err != nil { return err } - default: _, _ = key, value @@ -5649,7 +5537,6 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.GrafanaRole = types.Role(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5658,7 +5545,6 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.Id = ptr.String(jtv) } - case "isDisabled": if value != nil { jtv, ok := value.(string) @@ -5667,7 +5553,6 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.IsDisabled = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5676,7 +5561,6 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5757,7 +5641,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } - case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -5773,7 +5656,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } - case "id": if value != nil { jtv, ok := value.(string) @@ -5782,7 +5664,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } sv.Id = ptr.String(jtv) } - case "lastUsedAt": if value != nil { switch jtv := value.(type) { @@ -5798,7 +5679,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5807,7 +5687,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5847,7 +5726,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Id = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -5856,7 +5734,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Key = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5865,7 +5742,6 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5895,15 +5771,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5911,7 +5781,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5920,7 +5789,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5929,7 +5797,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5938,7 +5805,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5947,15 +5813,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6052,15 +5914,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6068,7 +5924,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6077,7 +5932,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6090,7 +5944,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6099,15 +5952,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6138,7 +5987,6 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in if err := awsRestjson1_deserializeDocumentUpdateInstruction(&sv.CausedBy, value); err != nil { return err } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -6151,7 +5999,6 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.Code = ptr.Int32(int32(i64)) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6160,7 +6007,6 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -6234,7 +6080,6 @@ func awsRestjson1_deserializeDocumentUpdateInstruction(v **types.UpdateInstructi } sv.Action = types.UpdateAction(jtv) } - case "role": if value != nil { jtv, ok := value.(string) @@ -6243,12 +6088,10 @@ func awsRestjson1_deserializeDocumentUpdateInstruction(v **types.UpdateInstructi } sv.Role = types.Role(jtv) } - case "users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -6288,7 +6131,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6297,7 +6139,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } - default: _, _ = key, value @@ -6361,20 +6202,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6382,7 +6216,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6391,15 +6224,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6434,7 +6263,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6443,7 +6271,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6513,12 +6340,10 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -6594,12 +6419,10 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.AccountAccessType = types.AccountAccessType(jtv) } - case "authentication": if err := awsRestjson1_deserializeDocumentAuthenticationSummary(&sv.Authentication, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -6615,12 +6438,10 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceTypesList(&sv.DataSources, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -6629,7 +6450,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Description = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6638,7 +6458,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Endpoint = ptr.String(jtv) } - case "freeTrialConsumed": if value != nil { jtv, ok := value.(bool) @@ -6647,7 +6466,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.FreeTrialConsumed = ptr.Bool(jtv) } - case "freeTrialExpiration": if value != nil { switch jtv := value.(type) { @@ -6663,7 +6481,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } - case "grafanaToken": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6489,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.GrafanaToken = ptr.String(jtv) } - case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6497,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.GrafanaVersion = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6690,7 +6505,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Id = ptr.String(jtv) } - case "licenseExpiration": if value != nil { switch jtv := value.(type) { @@ -6706,7 +6520,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } - case "licenseType": if value != nil { jtv, ok := value.(string) @@ -6715,7 +6528,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.LicenseType = types.LicenseType(jtv) } - case "modified": if value != nil { switch jtv := value.(type) { @@ -6731,7 +6543,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6740,22 +6551,18 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Name = ptr.String(jtv) } - case "networkAccessControl": if err := awsRestjson1_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessControl, value); err != nil { return err } - case "notificationDestinations": if err := awsRestjson1_deserializeDocumentNotificationDestinationsList(&sv.NotificationDestinations, value); err != nil { return err } - case "organizationalUnits": if err := awsRestjson1_deserializeDocumentOrganizationalUnitList(&sv.OrganizationalUnits, value); err != nil { return err } - case "organizationRoleName": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6571,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.OrganizationRoleName = ptr.String(jtv) } - case "permissionType": if value != nil { jtv, ok := value.(string) @@ -6773,7 +6579,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.PermissionType = types.PermissionType(jtv) } - case "stackSetName": if value != nil { jtv, ok := value.(string) @@ -6782,7 +6587,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.StackSetName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6791,17 +6595,14 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Status = types.WorkspaceStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - case "workspaceRoleArn": if value != nil { jtv, ok := value.(string) @@ -6810,7 +6611,6 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.WorkspaceRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6880,7 +6680,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary if err := awsRestjson1_deserializeDocumentAuthenticationSummary(&sv.Authentication, value); err != nil { return err } - case "created": if value != nil { switch jtv := value.(type) { @@ -6896,7 +6695,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6905,7 +6703,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Description = ptr.String(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6914,7 +6711,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Endpoint = ptr.String(jtv) } - case "grafanaToken": if value != nil { jtv, ok := value.(string) @@ -6923,7 +6719,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.GrafanaToken = ptr.String(jtv) } - case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -6932,7 +6727,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.GrafanaVersion = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6941,7 +6735,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Id = ptr.String(jtv) } - case "licenseType": if value != nil { jtv, ok := value.(string) @@ -6950,7 +6743,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.LicenseType = types.LicenseType(jtv) } - case "modified": if value != nil { switch jtv := value.(type) { @@ -6966,7 +6758,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6975,12 +6766,10 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Name = ptr.String(jtv) } - case "notificationDestinations": if err := awsRestjson1_deserializeDocumentNotificationDestinationsList(&sv.NotificationDestinations, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6989,12 +6778,10 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Status = types.WorkspaceStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/greengrass/deserializers.go b/service/greengrass/deserializers.go index ea0324c4c28..5769b852ac6 100644 --- a/service/greengrass/deserializers.go +++ b/service/greengrass/deserializers.go @@ -179,7 +179,6 @@ func awsRestjson1_deserializeOpDocumentAssociateRoleToGroupOutput(v **AssociateR } sv.AssociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -338,7 +337,6 @@ func awsRestjson1_deserializeOpDocumentAssociateServiceRoleToAccountOutput(v **A } sv.AssociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -494,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -503,7 +500,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -512,7 +508,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -521,7 +516,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -530,7 +524,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -539,7 +532,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -548,7 +540,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -704,7 +695,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -713,7 +703,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -722,7 +711,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -731,7 +719,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -887,7 +874,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -896,7 +882,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -905,7 +890,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -914,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -923,7 +906,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -932,7 +914,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -941,7 +922,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1097,7 +1077,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1106,7 +1085,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1115,7 +1093,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -1124,7 +1101,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1280,7 +1256,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentArn = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -1289,7 +1264,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -1445,7 +1419,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1454,7 +1427,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1463,7 +1435,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -1472,7 +1443,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -1481,7 +1451,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -1490,7 +1459,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1467,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1655,7 +1622,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1664,7 +1630,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1673,7 +1638,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -1682,7 +1646,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1838,7 +1801,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1847,7 +1809,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1856,7 +1817,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -1865,7 +1825,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -1874,7 +1833,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -1883,7 +1841,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1892,7 +1849,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2048,7 +2004,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2057,7 +2012,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2066,7 +2020,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -2075,7 +2028,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2231,7 +2183,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2240,7 +2191,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2249,7 +2199,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -2258,7 +2207,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -2267,7 +2215,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -2276,7 +2223,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2285,7 +2231,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2444,7 +2389,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupCertificateAuthorityOutput(v * } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2600,7 +2544,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2609,7 +2552,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2618,7 +2560,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -2627,7 +2568,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2783,7 +2723,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2792,7 +2731,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2801,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -2810,7 +2747,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -2819,7 +2755,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -2828,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2837,7 +2771,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2993,7 +2926,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3002,7 +2934,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3011,7 +2942,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -3020,7 +2950,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3176,7 +3105,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3185,7 +3113,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3194,7 +3121,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3203,7 +3129,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -3212,7 +3137,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -3221,7 +3145,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3230,7 +3153,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3386,7 +3308,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3395,7 +3316,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3404,7 +3324,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3332,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3572,7 +3490,6 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.IotJobArn = ptr.String(jtv) } - case "IotJobId": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3498,6 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.IotJobId = ptr.String(jtv) } - case "PlatformSoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -3590,7 +3506,6 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.PlatformSoftwareVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3746,7 +3661,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3755,7 +3669,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3764,7 +3677,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3773,7 +3685,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -3782,7 +3693,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -3791,7 +3701,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3800,7 +3709,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3956,7 +3864,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3965,7 +3872,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3974,7 +3880,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -3983,7 +3888,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4846,7 +4750,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateRoleFromGroupOutput(v **Disas } sv.DisassociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -5002,7 +4905,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateServiceRoleFromAccountOutput( } sv.DisassociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -5161,7 +5063,6 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedRoleOutput(v **GetAssociated } sv.AssociatedAt = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5170,7 +5071,6 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedRoleOutput(v **GetAssociated } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5322,7 +5222,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk if err := awsRestjson1_deserializeDocumentBulkDeploymentMetrics(&sv.BulkDeploymentMetrics, value); err != nil { return err } - case "BulkDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5331,7 +5230,6 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.BulkDeploymentStatus = types.BulkDeploymentStatus(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -5340,12 +5238,10 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.CreatedAt = ptr.String(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5354,12 +5250,10 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.ErrorMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5514,7 +5408,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti if err := awsRestjson1_deserializeDocument__listOfConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -5523,7 +5416,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5679,7 +5571,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -5688,7 +5579,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5697,7 +5587,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -5706,7 +5595,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -5715,7 +5603,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -5724,7 +5611,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5733,12 +5619,10 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5894,7 +5778,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -5903,12 +5786,10 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentConnectorDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5917,7 +5798,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Id = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5926,7 +5806,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.NextToken = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -5935,7 +5814,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6091,7 +5969,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6100,7 +5977,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6109,7 +5985,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6118,7 +5993,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -6127,7 +6001,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -6136,7 +6009,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6145,12 +6017,10 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6306,7 +6176,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6315,12 +6184,10 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentCoreDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6329,7 +6196,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Id = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6338,7 +6204,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.NextToken = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -6347,7 +6212,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6503,7 +6367,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.DeploymentStatus = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -6512,12 +6375,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.DeploymentType = types.DeploymentType(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6526,7 +6387,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.ErrorMessage = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6535,7 +6395,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.UpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -6691,7 +6550,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6700,7 +6558,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6709,7 +6566,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6718,7 +6574,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -6727,7 +6582,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -6736,7 +6590,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6745,12 +6598,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6906,7 +6757,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6915,12 +6765,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentDeviceDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6929,7 +6777,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Id = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6938,7 +6785,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.NextToken = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -6947,7 +6793,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7103,7 +6948,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7112,7 +6956,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7121,7 +6964,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7130,7 +6972,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -7139,7 +6980,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -7148,7 +6988,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7157,12 +6996,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7318,7 +7155,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7327,12 +7163,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentFunctionDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7341,7 +7175,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Id = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7350,7 +7183,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -7359,7 +7191,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7515,7 +7346,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7524,7 +7354,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7533,7 +7362,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7542,7 +7370,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -7551,7 +7378,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -7560,7 +7386,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7569,12 +7394,10 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7733,7 +7556,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } - case "GroupCertificateAuthorityId": if value != nil { jtv, ok := value.(string) @@ -7742,7 +7564,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.GroupCertificateAuthorityId = ptr.String(jtv) } - case "PemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -7751,7 +7572,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.PemEncodedCertificate = ptr.String(jtv) } - default: _, _ = key, value @@ -7910,7 +7730,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.CertificateAuthorityExpiryInMilliseconds = ptr.String(jtv) } - case "CertificateExpiryInMilliseconds": if value != nil { jtv, ok := value.(string) @@ -7919,7 +7738,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.CertificateExpiryInMilliseconds = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -7928,7 +7746,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -8084,7 +7901,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8093,12 +7909,10 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentGroupVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8107,7 +7921,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8116,7 +7929,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8272,7 +8084,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8281,7 +8092,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8290,7 +8100,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8299,7 +8108,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -8308,7 +8116,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -8317,7 +8124,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8326,12 +8132,10 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8487,7 +8291,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8496,12 +8299,10 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentLoggerDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8510,7 +8311,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8319,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8675,7 +8474,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8684,7 +8482,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8693,7 +8490,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8702,7 +8498,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -8711,7 +8506,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -8720,7 +8514,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8729,12 +8522,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8890,7 +8681,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8899,12 +8689,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentResourceDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8913,7 +8701,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8922,7 +8709,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9078,7 +8864,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.AssociatedAt = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9087,7 +8872,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9243,7 +9027,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9252,7 +9035,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9261,7 +9043,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -9270,7 +9051,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -9279,7 +9059,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -9288,7 +9067,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9297,12 +9075,10 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9458,7 +9234,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9467,12 +9242,10 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.CreationTimestamp = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentSubscriptionDefinitionVersion(&sv.Definition, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9481,7 +9254,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Id = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9490,7 +9262,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.NextToken = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -9499,7 +9270,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9654,7 +9424,6 @@ func awsRestjson1_deserializeOpDocumentGetThingRuntimeConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9806,7 +9575,6 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentDetailedReportsOutput(v if err := awsRestjson1_deserializeDocumentBulkDeploymentResults(&sv.Deployments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9815,7 +9583,6 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentDetailedReportsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9967,7 +9734,6 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentsOutput(v **ListBulkDep if err := awsRestjson1_deserializeDocumentBulkDeployments(&sv.BulkDeployments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9976,7 +9742,6 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentsOutput(v **ListBulkDep } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10125,7 +9890,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionsOutput(v **ListCo if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10134,7 +9898,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionsOutput(v **ListCo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10290,12 +10053,10 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -10444,7 +10205,6 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionsOutput(v **ListCoreDef if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10453,7 +10213,6 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionsOutput(v **ListCoreDef } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10609,12 +10368,10 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -10766,7 +10523,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10775,7 +10531,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10924,7 +10679,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionsOutput(v **ListDevic if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10933,7 +10687,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionsOutput(v **ListDevic } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11089,12 +10842,10 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionVersionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -11243,7 +10994,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionsOutput(v **ListFun if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11252,7 +11002,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionsOutput(v **ListFun } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11408,12 +11157,10 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionVersionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -11568,7 +11315,6 @@ func awsRestjson1_deserializeOpDocumentListGroupCertificateAuthoritiesOutput(v * if err := awsRestjson1_deserializeDocument__listOfGroupCertificateAuthorityProperties(&sv.GroupCertificateAuthorities, value); err != nil { return err } - default: _, _ = key, value @@ -11717,7 +11463,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocument__listOfGroupInformation(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11726,7 +11471,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11882,12 +11626,10 @@ func awsRestjson1_deserializeOpDocumentListGroupVersionsOutput(v **ListGroupVers } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -12036,7 +11778,6 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionsOutput(v **ListLogge if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12045,7 +11786,6 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionsOutput(v **ListLogge } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12201,12 +11941,10 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionVersionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -12355,7 +12093,6 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionsOutput(v **ListRes if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12364,7 +12101,6 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionsOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12520,12 +12256,10 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionVersionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -12674,7 +12408,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionsOutput(v **Lis if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12683,7 +12416,6 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12839,12 +12571,10 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionVersionsOutput( } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -12996,7 +12726,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13152,7 +12881,6 @@ func awsRestjson1_deserializeOpDocumentResetDeploymentsOutput(v **ResetDeploymen } sv.DeploymentArn = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -13161,7 +12889,6 @@ func awsRestjson1_deserializeOpDocumentResetDeploymentsOutput(v **ResetDeploymen } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -13317,7 +13044,6 @@ func awsRestjson1_deserializeOpDocumentStartBulkDeploymentOutput(v **StartBulkDe } sv.BulkDeploymentArn = ptr.String(jtv) } - case "BulkDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13326,7 +13052,6 @@ func awsRestjson1_deserializeOpDocumentStartBulkDeploymentOutput(v **StartBulkDe } sv.BulkDeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -13761,7 +13486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Message = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -13770,7 +13494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14369,7 +14092,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.CertificateAuthorityExpiryInMilliseconds = ptr.String(jtv) } - case "CertificateExpiryInMilliseconds": if value != nil { jtv, ok := value.(string) @@ -14378,7 +14100,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.CertificateExpiryInMilliseconds = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -14387,7 +14108,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -15358,20 +15078,13 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15379,15 +15092,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15422,7 +15131,6 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.BulkDeploymentArn = ptr.String(jtv) } - case "BulkDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15431,7 +15139,6 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.BulkDeploymentId = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -15440,7 +15147,6 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.CreatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -15484,7 +15190,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.InvalidInputRecords = ptr.Int32(int32(i64)) } - case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -15497,7 +15202,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.RecordsProcessed = ptr.Int32(int32(i64)) } - case "RetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -15510,7 +15214,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.RetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15550,7 +15253,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.CreatedAt = ptr.String(jtv) } - case "DeploymentArn": if value != nil { jtv, ok := value.(string) @@ -15559,7 +15261,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentArn = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15568,7 +15269,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentId = ptr.String(jtv) } - case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15577,7 +15277,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentStatus = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -15586,12 +15285,10 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentType = types.DeploymentType(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15600,7 +15297,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.ErrorMessage = ptr.String(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -15609,7 +15305,6 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.GroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15717,7 +15412,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.HostAddress = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15726,7 +15420,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Id = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -15735,7 +15428,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Metadata = ptr.String(jtv) } - case "PortNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15748,7 +15440,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.PortNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15788,7 +15479,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15797,12 +15487,10 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Id = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -15838,7 +15526,6 @@ func awsRestjson1_deserializeDocumentConnectorDefinitionVersion(v **types.Connec if err := awsRestjson1_deserializeDocument__listOfConnector(&sv.Connectors, value); err != nil { return err } - default: _, _ = key, value @@ -15878,7 +15565,6 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.CertificateArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15887,7 +15573,6 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.Id = ptr.String(jtv) } - case "SyncShadow": if value != nil { jtv, ok := value.(bool) @@ -15896,7 +15581,6 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.SyncShadow = ptr.Bool(jtv) } - case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -15905,7 +15589,6 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.ThingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15941,7 +15624,6 @@ func awsRestjson1_deserializeDocumentCoreDefinitionVersion(v **types.CoreDefinit if err := awsRestjson1_deserializeDocument__listOfCore(&sv.Cores, value); err != nil { return err } - default: _, _ = key, value @@ -15981,7 +15663,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -15990,7 +15671,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15999,7 +15679,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16008,7 +15687,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -16017,7 +15695,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -16026,7 +15703,6 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16035,12 +15711,10 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16080,7 +15754,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedAt = ptr.String(jtv) } - case "DeploymentArn": if value != nil { jtv, ok := value.(string) @@ -16089,7 +15762,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentArn = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -16098,7 +15770,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } - case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -16107,7 +15778,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentType = types.DeploymentType(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -16116,7 +15786,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.GroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16190,7 +15859,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CertificateArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16199,7 +15867,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Id = ptr.String(jtv) } - case "SyncShadow": if value != nil { jtv, ok := value.(bool) @@ -16208,7 +15875,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SyncShadow = ptr.Bool(jtv) } - case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -16217,7 +15883,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ThingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16253,7 +15918,6 @@ func awsRestjson1_deserializeDocumentDeviceDefinitionVersion(v **types.DeviceDef if err := awsRestjson1_deserializeDocument__listOfDevice(&sv.Devices, value); err != nil { return err } - default: _, _ = key, value @@ -16293,7 +15957,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.DetailedErrorCode = ptr.String(jtv) } - case "DetailedErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16302,7 +15965,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.DetailedErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -16376,12 +16038,10 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.FunctionArn = ptr.String(jtv) } - case "FunctionConfiguration": if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16390,7 +16050,6 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -16430,12 +16089,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.EncodingType = types.EncodingType(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentFunctionConfigurationEnvironment(&sv.Environment, value); err != nil { return err } - case "ExecArgs": if value != nil { jtv, ok := value.(string) @@ -16444,7 +16101,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.ExecArgs = ptr.String(jtv) } - case "Executable": if value != nil { jtv, ok := value.(string) @@ -16453,7 +16109,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Executable = ptr.String(jtv) } - case "FunctionRuntimeOverride": if value != nil { jtv, ok := value.(string) @@ -16462,7 +16117,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionRuntimeOverride = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -16475,7 +16129,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MemorySize = ptr.Int32(int32(i64)) } - case "Pinned": if value != nil { jtv, ok := value.(bool) @@ -16484,7 +16137,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Pinned = ptr.Bool(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -16497,7 +16149,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16537,22 +16188,18 @@ func awsRestjson1_deserializeDocumentFunctionConfigurationEnvironment(v **types. } sv.AccessSysfs = ptr.Bool(jtv) } - case "Execution": if err := awsRestjson1_deserializeDocumentFunctionExecutionConfig(&sv.Execution, value); err != nil { return err } - case "ResourceAccessPolicies": if err := awsRestjson1_deserializeDocument__listOfResourceAccessPolicy(&sv.ResourceAccessPolicies, value); err != nil { return err } - case "Variables": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -16588,7 +16235,6 @@ func awsRestjson1_deserializeDocumentFunctionDefaultConfig(v **types.FunctionDef if err := awsRestjson1_deserializeDocumentFunctionDefaultExecutionConfig(&sv.Execution, value); err != nil { return err } - default: _, _ = key, value @@ -16628,12 +16274,10 @@ func awsRestjson1_deserializeDocumentFunctionDefaultExecutionConfig(v **types.Fu } sv.IsolationMode = types.FunctionIsolationMode(jtv) } - case "RunAs": if err := awsRestjson1_deserializeDocumentFunctionRunAsConfig(&sv.RunAs, value); err != nil { return err } - default: _, _ = key, value @@ -16669,12 +16313,10 @@ func awsRestjson1_deserializeDocumentFunctionDefinitionVersion(v **types.Functio if err := awsRestjson1_deserializeDocumentFunctionDefaultConfig(&sv.DefaultConfig, value); err != nil { return err } - case "Functions": if err := awsRestjson1_deserializeDocument__listOfFunction(&sv.Functions, value); err != nil { return err } - default: _, _ = key, value @@ -16714,12 +16356,10 @@ func awsRestjson1_deserializeDocumentFunctionExecutionConfig(v **types.FunctionE } sv.IsolationMode = types.FunctionIsolationMode(jtv) } - case "RunAs": if err := awsRestjson1_deserializeDocumentFunctionRunAsConfig(&sv.RunAs, value); err != nil { return err } - default: _, _ = key, value @@ -16763,7 +16403,6 @@ func awsRestjson1_deserializeDocumentFunctionRunAsConfig(v **types.FunctionRunAs } sv.Gid = ptr.Int32(int32(i64)) } - case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -16776,7 +16415,6 @@ func awsRestjson1_deserializeDocumentFunctionRunAsConfig(v **types.FunctionRunAs } sv.Uid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16816,7 +16454,6 @@ func awsRestjson1_deserializeDocumentGroupCertificateAuthorityProperties(v **typ } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } - case "GroupCertificateAuthorityId": if value != nil { jtv, ok := value.(string) @@ -16825,7 +16462,6 @@ func awsRestjson1_deserializeDocumentGroupCertificateAuthorityProperties(v **typ } sv.GroupCertificateAuthorityId = ptr.String(jtv) } - default: _, _ = key, value @@ -16865,7 +16501,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -16874,7 +16509,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16883,7 +16517,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Id = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16892,7 +16525,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LastUpdatedTimestamp = ptr.String(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -16901,7 +16533,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LatestVersion = ptr.String(jtv) } - case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -16910,7 +16541,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LatestVersionArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16919,7 +16549,6 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16959,7 +16588,6 @@ func awsRestjson1_deserializeDocumentGroupOwnerSetting(v **types.GroupOwnerSetti } sv.AutoAddGroupOwner = ptr.Bool(jtv) } - case "GroupOwner": if value != nil { jtv, ok := value.(string) @@ -16968,7 +16596,6 @@ func awsRestjson1_deserializeDocumentGroupOwnerSetting(v **types.GroupOwnerSetti } sv.GroupOwner = ptr.String(jtv) } - default: _, _ = key, value @@ -17008,7 +16635,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.ConnectorDefinitionVersionArn = ptr.String(jtv) } - case "CoreDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17017,7 +16643,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.CoreDefinitionVersionArn = ptr.String(jtv) } - case "DeviceDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17026,7 +16651,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.DeviceDefinitionVersionArn = ptr.String(jtv) } - case "FunctionDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17035,7 +16659,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.FunctionDefinitionVersionArn = ptr.String(jtv) } - case "LoggerDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17044,7 +16667,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.LoggerDefinitionVersionArn = ptr.String(jtv) } - case "ResourceDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17053,7 +16675,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.ResourceDefinitionVersionArn = ptr.String(jtv) } - case "SubscriptionDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17062,7 +16683,6 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.SubscriptionDefinitionVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17092,20 +16712,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17113,15 +16726,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17152,7 +16761,6 @@ func awsRestjson1_deserializeDocumentLocalDeviceResourceData(v **types.LocalDevi if err := awsRestjson1_deserializeDocumentGroupOwnerSetting(&sv.GroupOwnerSetting, value); err != nil { return err } - case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -17161,7 +16769,6 @@ func awsRestjson1_deserializeDocumentLocalDeviceResourceData(v **types.LocalDevi } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -17201,12 +16808,10 @@ func awsRestjson1_deserializeDocumentLocalVolumeResourceData(v **types.LocalVolu } sv.DestinationPath = ptr.String(jtv) } - case "GroupOwnerSetting": if err := awsRestjson1_deserializeDocumentGroupOwnerSetting(&sv.GroupOwnerSetting, value); err != nil { return err } - case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -17215,7 +16820,6 @@ func awsRestjson1_deserializeDocumentLocalVolumeResourceData(v **types.LocalVolu } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -17255,7 +16859,6 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Component = types.LoggerComponent(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -17264,7 +16867,6 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Id = ptr.String(jtv) } - case "Level": if value != nil { jtv, ok := value.(string) @@ -17273,7 +16875,6 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Level = types.LoggerLevel(jtv) } - case "Space": if value != nil { jtv, ok := value.(json.Number) @@ -17286,7 +16887,6 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Space = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17295,7 +16895,6 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Type = types.LoggerType(jtv) } - default: _, _ = key, value @@ -17331,7 +16930,6 @@ func awsRestjson1_deserializeDocumentLoggerDefinitionVersion(v **types.LoggerDef if err := awsRestjson1_deserializeDocument__listOfLogger(&sv.Loggers, value); err != nil { return err } - default: _, _ = key, value @@ -17371,7 +16969,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17380,12 +16977,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - case "ResourceDataContainer": if err := awsRestjson1_deserializeDocumentResourceDataContainer(&sv.ResourceDataContainer, value); err != nil { return err } - default: _, _ = key, value @@ -17425,7 +17020,6 @@ func awsRestjson1_deserializeDocumentResourceAccessPolicy(v **types.ResourceAcce } sv.Permission = types.Permission(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -17434,7 +17028,6 @@ func awsRestjson1_deserializeDocumentResourceAccessPolicy(v **types.ResourceAcce } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -17470,27 +17063,22 @@ func awsRestjson1_deserializeDocumentResourceDataContainer(v **types.ResourceDat if err := awsRestjson1_deserializeDocumentLocalDeviceResourceData(&sv.LocalDeviceResourceData, value); err != nil { return err } - case "LocalVolumeResourceData": if err := awsRestjson1_deserializeDocumentLocalVolumeResourceData(&sv.LocalVolumeResourceData, value); err != nil { return err } - case "S3MachineLearningModelResourceData": if err := awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(&sv.S3MachineLearningModelResourceData, value); err != nil { return err } - case "SageMakerMachineLearningModelResourceData": if err := awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(&sv.SageMakerMachineLearningModelResourceData, value); err != nil { return err } - case "SecretsManagerSecretResourceData": if err := awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(&sv.SecretsManagerSecretResourceData, value); err != nil { return err } - default: _, _ = key, value @@ -17526,7 +17114,6 @@ func awsRestjson1_deserializeDocumentResourceDefinitionVersion(v **types.Resourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -17566,7 +17153,6 @@ func awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(v **types.Reso } sv.GroupOwner = ptr.String(jtv) } - case "GroupPermission": if value != nil { jtv, ok := value.(string) @@ -17575,7 +17161,6 @@ func awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(v **types.Reso } sv.GroupPermission = types.Permission(jtv) } - default: _, _ = key, value @@ -17611,7 +17196,6 @@ func awsRestjson1_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi if err := awsRestjson1_deserializeDocumentTelemetryConfiguration(&sv.TelemetryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17651,12 +17235,10 @@ func awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(v **type } sv.DestinationPath = ptr.String(jtv) } - case "OwnerSetting": if err := awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(&sv.OwnerSetting, value); err != nil { return err } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -17665,7 +17247,6 @@ func awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(v **type } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -17705,12 +17286,10 @@ func awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(v } sv.DestinationPath = ptr.String(jtv) } - case "OwnerSetting": if err := awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(&sv.OwnerSetting, value); err != nil { return err } - case "SageMakerJobArn": if value != nil { jtv, ok := value.(string) @@ -17719,7 +17298,6 @@ func awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(v } sv.SageMakerJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17755,7 +17333,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(v **types. if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AdditionalStagingLabelsToDownload, value); err != nil { return err } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -17764,7 +17341,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(v **types. } sv.ARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17804,7 +17380,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Id = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -17813,7 +17388,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Source = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -17822,7 +17396,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Subject = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -17831,7 +17404,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -17867,7 +17439,6 @@ func awsRestjson1_deserializeDocumentSubscriptionDefinitionVersion(v **types.Sub if err := awsRestjson1_deserializeDocument__listOfSubscription(&sv.Subscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -17943,7 +17514,6 @@ func awsRestjson1_deserializeDocumentTelemetryConfiguration(v **types.TelemetryC } sv.ConfigurationSyncStatus = types.ConfigurationSyncStatus(jtv) } - case "Telemetry": if value != nil { jtv, ok := value.(string) @@ -17952,7 +17522,6 @@ func awsRestjson1_deserializeDocumentTelemetryConfiguration(v **types.TelemetryC } sv.Telemetry = types.Telemetry(jtv) } - default: _, _ = key, value @@ -17992,7 +17561,6 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Arn = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -18001,7 +17569,6 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.CreationTimestamp = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -18010,7 +17577,6 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -18019,7 +17585,6 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Version = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index 4302665308b..8d117cc743d 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -182,7 +182,6 @@ func awsRestjson1_deserializeOpDocumentAssociateServiceRoleToAccountOutput(v **A } sv.AssociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -346,7 +345,6 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateClientDeviceWithCoreDeviceO if err := awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorList(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -510,7 +508,6 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateClientDeviceFromCoreDevi if err := awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceErrorList(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -681,7 +678,6 @@ func awsRestjson1_deserializeOpDocumentCancelDeploymentOutput(v **CancelDeployme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -855,7 +851,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.Arn = ptr.String(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -864,7 +859,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.ComponentName = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -873,7 +867,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.ComponentVersion = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -889,12 +882,10 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } } - case "status": if err := awsRestjson1_deserializeDocumentCloudComponentStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -1068,7 +1059,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -1077,7 +1067,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.IotJobArn = ptr.String(jtv) } - case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -1086,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.IotJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -1581,7 +1569,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Arn = ptr.String(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -1590,7 +1577,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.ComponentName = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -1599,7 +1585,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.ComponentVersion = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -1615,7 +1600,6 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1624,12 +1608,10 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Description = ptr.String(jtv) } - case "platforms": if err := awsRestjson1_deserializeDocumentComponentPlatformList(&sv.Platforms, value); err != nil { return err } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -1638,17 +1620,14 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Publisher = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentCloudComponentStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1804,7 +1783,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateServiceRoleFromAccountOutput( } sv.DisassociatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -1976,7 +1954,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.Recipe = dv } - case "recipeOutputFormat": if value != nil { jtv, ok := value.(string) @@ -1985,12 +1962,10 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.RecipeOutputFormat = types.RecipeOutputFormat(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2158,7 +2133,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentVersionArtifactOutput(v **Get } sv.PreSignedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -2313,7 +2287,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti if err := awsRestjson1_deserializeDocumentConnectivityInfoList(&sv.ConnectivityInfo, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -2322,7 +2295,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2490,7 +2462,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Architecture = ptr.String(jtv) } - case "coreDeviceThingName": if value != nil { jtv, ok := value.(string) @@ -2499,7 +2470,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.CoreDeviceThingName = ptr.String(jtv) } - case "coreVersion": if value != nil { jtv, ok := value.(string) @@ -2508,7 +2478,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.CoreVersion = ptr.String(jtv) } - case "lastStatusUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2524,7 +2493,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } } - case "platform": if value != nil { jtv, ok := value.(string) @@ -2533,7 +2501,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Platform = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2542,12 +2509,10 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Status = types.CoreDeviceStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2711,7 +2676,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentComponentDeploymentSpecifications(&sv.Components, value); err != nil { return err } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -2727,7 +2691,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2736,7 +2699,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } - case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -2745,12 +2707,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentName = ptr.String(jtv) } - case "deploymentPolicies": if err := awsRestjson1_deserializeDocumentDeploymentPolicies(&sv.DeploymentPolicies, value); err != nil { return err } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -2759,7 +2719,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -2768,12 +2727,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IotJobArn = ptr.String(jtv) } - case "iotJobConfiguration": if err := awsRestjson1_deserializeDocumentDeploymentIoTJobConfiguration(&sv.IotJobConfiguration, value); err != nil { return err } - case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -2782,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IotJobId = ptr.String(jtv) } - case "isLatestForTarget": if value != nil { jtv, ok := value.(bool) @@ -2791,7 +2747,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IsLatestForTarget = jtv } - case "parentTargetArn": if value != nil { jtv, ok := value.(string) @@ -2800,7 +2755,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ParentTargetArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2809,12 +2763,10 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.RevisionId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -2823,7 +2775,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2979,7 +2930,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.AssociatedAt = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2988,7 +2938,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3152,7 +3101,6 @@ func awsRestjson1_deserializeOpDocumentListClientDevicesAssociatedWithCoreDevice if err := awsRestjson1_deserializeDocumentAssociatedClientDeviceList(&sv.AssociatedClientDevices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3161,7 +3109,6 @@ func awsRestjson1_deserializeOpDocumentListClientDevicesAssociatedWithCoreDevice } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3325,7 +3272,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentList(&sv.Components, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3334,7 +3280,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3498,7 +3443,6 @@ func awsRestjson1_deserializeOpDocumentListComponentVersionsOutput(v **ListCompo if err := awsRestjson1_deserializeDocumentComponentVersionList(&sv.ComponentVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3507,7 +3451,6 @@ func awsRestjson1_deserializeOpDocumentListComponentVersionsOutput(v **ListCompo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3668,7 +3611,6 @@ func awsRestjson1_deserializeOpDocumentListCoreDevicesOutput(v **ListCoreDevices if err := awsRestjson1_deserializeDocumentCoreDevicesList(&sv.CoreDevices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3677,7 +3619,6 @@ func awsRestjson1_deserializeOpDocumentListCoreDevicesOutput(v **ListCoreDevices } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3838,7 +3779,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Deployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3847,7 +3787,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4011,7 +3950,6 @@ func awsRestjson1_deserializeOpDocumentListEffectiveDeploymentsOutput(v **ListEf if err := awsRestjson1_deserializeDocumentEffectiveDeploymentsList(&sv.EffectiveDeployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4020,7 +3958,6 @@ func awsRestjson1_deserializeOpDocumentListEffectiveDeploymentsOutput(v **ListEf } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4184,7 +4121,6 @@ func awsRestjson1_deserializeOpDocumentListInstalledComponentsOutput(v **ListIns if err := awsRestjson1_deserializeDocumentInstalledComponentList(&sv.InstalledComponents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4193,7 +4129,6 @@ func awsRestjson1_deserializeOpDocumentListInstalledComponentsOutput(v **ListIns } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4351,7 +4286,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4518,7 +4452,6 @@ func awsRestjson1_deserializeOpDocumentResolveComponentCandidatesOutput(v **Reso if err := awsRestjson1_deserializeDocumentResolvedComponentVersionsList(&sv.ResolvedComponentVersions, value); err != nil { return err } - default: _, _ = key, value @@ -4865,7 +4798,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Message = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -4874,7 +4806,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5232,15 +5163,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5248,15 +5173,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5291,7 +5212,6 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5300,7 +5220,6 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.Message = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5228,6 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -5390,7 +5308,6 @@ func awsRestjson1_deserializeDocumentAssociatedClientDevice(v **types.Associated } } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -5399,7 +5316,6 @@ func awsRestjson1_deserializeDocumentAssociatedClientDevice(v **types.Associated } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -5473,12 +5389,10 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.ComponentState = types.CloudComponentState(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Errors, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -5487,7 +5401,6 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.Message = ptr.String(jtv) } - case "vendorGuidance": if value != nil { jtv, ok := value.(string) @@ -5496,7 +5409,6 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.VendorGuidance = types.VendorGuidance(jtv) } - case "vendorGuidanceMessage": if value != nil { jtv, ok := value.(string) @@ -5505,7 +5417,6 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.VendorGuidanceMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5545,7 +5456,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -5554,12 +5464,10 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentName = ptr.String(jtv) } - case "latestVersion": if err := awsRestjson1_deserializeDocumentComponentLatestVersion(&sv.LatestVersion, value); err != nil { return err } - default: _, _ = key, value @@ -5635,12 +5543,10 @@ func awsRestjson1_deserializeDocumentComponentConfigurationUpdate(v **types.Comp } sv.Merge = ptr.String(jtv) } - case "reset": if err := awsRestjson1_deserializeDocumentComponentConfigurationPathList(&sv.Reset, value); err != nil { return err } - default: _, _ = key, value @@ -5680,17 +5586,14 @@ func awsRestjson1_deserializeDocumentComponentDeploymentSpecification(v **types. } sv.ComponentVersion = ptr.String(jtv) } - case "configurationUpdate": if err := awsRestjson1_deserializeDocumentComponentConfigurationUpdate(&sv.ConfigurationUpdate, value); err != nil { return err } - case "runWith": if err := awsRestjson1_deserializeDocumentComponentRunWith(&sv.RunWith, value); err != nil { return err } - default: _, _ = key, value @@ -5765,7 +5668,6 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Arn = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -5774,7 +5676,6 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.ComponentVersion = ptr.String(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5790,7 +5691,6 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5799,12 +5699,10 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Description = ptr.String(jtv) } - case "platforms": if err := awsRestjson1_deserializeDocumentComponentPlatformList(&sv.Platforms, value); err != nil { return err } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -5813,7 +5711,6 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Publisher = ptr.String(jtv) } - default: _, _ = key, value @@ -5883,7 +5780,6 @@ func awsRestjson1_deserializeDocumentComponentPlatform(v **types.ComponentPlatfo if err := awsRestjson1_deserializeDocumentPlatformAttributesMap(&sv.Attributes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5892,7 +5788,6 @@ func awsRestjson1_deserializeDocumentComponentPlatform(v **types.ComponentPlatfo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5966,12 +5861,10 @@ func awsRestjson1_deserializeDocumentComponentRunWith(v **types.ComponentRunWith } sv.PosixUser = ptr.String(jtv) } - case "systemResourceLimits": if err := awsRestjson1_deserializeDocumentSystemResourceLimits(&sv.SystemResourceLimits, value); err != nil { return err } - case "windowsUser": if value != nil { jtv, ok := value.(string) @@ -5980,7 +5873,6 @@ func awsRestjson1_deserializeDocumentComponentRunWith(v **types.ComponentRunWith } sv.WindowsUser = ptr.String(jtv) } - default: _, _ = key, value @@ -6054,7 +5946,6 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.Arn = ptr.String(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -6063,7 +5954,6 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.ComponentName = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -6072,7 +5962,6 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.ComponentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -6102,15 +5991,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6118,7 +6001,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6127,7 +6009,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6136,15 +6017,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6179,7 +6056,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.HostAddress = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6188,7 +6064,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Id = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -6197,7 +6072,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Metadata = ptr.String(jtv) } - case "PortNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6210,7 +6084,6 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.PortNumber = int32(i64) } - default: _, _ = key, value @@ -6284,7 +6157,6 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } sv.CoreDeviceThingName = ptr.String(jtv) } - case "lastStatusUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -6300,7 +6172,6 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6309,7 +6180,6 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } sv.Status = types.CoreDeviceStatus(jtv) } - default: _, _ = key, value @@ -6390,7 +6260,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -6399,7 +6268,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } - case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -6408,7 +6276,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentName = ptr.String(jtv) } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -6417,7 +6284,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "isLatestForTarget": if value != nil { jtv, ok := value.(bool) @@ -6426,7 +6292,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IsLatestForTarget = jtv } - case "parentTargetArn": if value != nil { jtv, ok := value.(string) @@ -6435,7 +6300,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ParentTargetArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -6444,7 +6308,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RevisionId = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -6453,7 +6316,6 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6493,7 +6355,6 @@ func awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(v **types.D } sv.Action = types.DeploymentComponentUpdatePolicyAction(jtv) } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6506,7 +6367,6 @@ func awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(v **types.D } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6550,7 +6410,6 @@ func awsRestjson1_deserializeDocumentDeploymentConfigurationValidationPolicy(v * } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6586,17 +6445,14 @@ func awsRestjson1_deserializeDocumentDeploymentIoTJobConfiguration(v **types.Dep if err := awsRestjson1_deserializeDocumentIoTJobAbortConfig(&sv.AbortConfig, value); err != nil { return err } - case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } - case "timeoutConfig": if err := awsRestjson1_deserializeDocumentIoTJobTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6666,12 +6522,10 @@ func awsRestjson1_deserializeDocumentDeploymentPolicies(v **types.DeploymentPoli if err := awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(&sv.ComponentUpdatePolicy, value); err != nil { return err } - case "configurationValidationPolicy": if err := awsRestjson1_deserializeDocumentDeploymentConfigurationValidationPolicy(&sv.ConfigurationValidationPolicy, value); err != nil { return err } - case "failureHandlingPolicy": if value != nil { jtv, ok := value.(string) @@ -6680,7 +6534,6 @@ func awsRestjson1_deserializeDocumentDeploymentPolicies(v **types.DeploymentPoli } sv.FailureHandlingPolicy = types.DeploymentFailureHandlingPolicy(jtv) } - default: _, _ = key, value @@ -6720,7 +6573,6 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6729,7 +6581,6 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.Message = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -6738,7 +6589,6 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -6812,7 +6662,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.CoreDeviceExecutionStatus = types.EffectiveDeploymentExecutionStatus(jtv) } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6828,7 +6677,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -6837,7 +6685,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.DeploymentId = ptr.String(jtv) } - case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -6846,7 +6693,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.DeploymentName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6855,7 +6701,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.Description = ptr.String(jtv) } - case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -6864,7 +6709,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.IotJobArn = ptr.String(jtv) } - case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -6873,7 +6717,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.IotJobId = ptr.String(jtv) } - case "modifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6889,7 +6732,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6898,12 +6740,10 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.Reason = ptr.String(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentEffectiveDeploymentStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -6912,7 +6752,6 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7054,12 +6893,10 @@ func awsRestjson1_deserializeDocumentEffectiveDeploymentStatusDetails(v **types. if err := awsRestjson1_deserializeDocumentEffectiveDeploymentErrorStack(&sv.ErrorStack, value); err != nil { return err } - case "errorTypes": if err := awsRestjson1_deserializeDocumentEffectiveDeploymentErrorTypeList(&sv.ErrorTypes, value); err != nil { return err } - default: _, _ = key, value @@ -7099,7 +6936,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.ComponentName = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -7108,7 +6944,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.ComponentVersion = ptr.String(jtv) } - case "isRoot": if value != nil { jtv, ok := value.(bool) @@ -7117,7 +6952,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.IsRoot = jtv } - case "lastInstallationSource": if value != nil { jtv, ok := value.(string) @@ -7126,7 +6960,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LastInstallationSource = ptr.String(jtv) } - case "lastReportedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7142,7 +6975,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } } - case "lastStatusChangeTimestamp": if value != nil { switch jtv := value.(type) { @@ -7158,7 +6990,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } } - case "lifecycleState": if value != nil { jtv, ok := value.(string) @@ -7167,7 +6998,6 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LifecycleState = types.InstalledComponentLifecycleState(jtv) } - case "lifecycleStateDetails": if value != nil { jtv, ok := value.(string) @@ -7176,12 +7006,10 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LifecycleStateDetails = ptr.String(jtv) } - case "lifecycleStatusCodes": if err := awsRestjson1_deserializeDocumentInstalledComponentLifecycleStatusCodeList(&sv.LifecycleStatusCodes, value); err != nil { return err } - default: _, _ = key, value @@ -7281,15 +7109,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7297,7 +7119,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7310,15 +7131,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7349,7 +7166,6 @@ func awsRestjson1_deserializeDocumentIoTJobAbortConfig(v **types.IoTJobAbortConf if err := awsRestjson1_deserializeDocumentIoTJobAbortCriteriaList(&sv.CriteriaList, value); err != nil { return err } - default: _, _ = key, value @@ -7389,7 +7205,6 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.Action = types.IoTJobAbortAction(jtv) } - case "failureType": if value != nil { jtv, ok := value.(string) @@ -7398,7 +7213,6 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.FailureType = types.IoTJobExecutionFailureType(jtv) } - case "minNumberOfExecutedThings": if value != nil { jtv, ok := value.(json.Number) @@ -7411,7 +7225,6 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.MinNumberOfExecutedThings = ptr.Int32(int32(i64)) } - case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -7445,7 +7258,6 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } } - default: _, _ = key, value @@ -7515,7 +7327,6 @@ func awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(v **types.IoT if err := awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } - case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -7528,7 +7339,6 @@ func awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(v **types.IoT } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7572,7 +7382,6 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } - case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -7606,12 +7415,10 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ } } - case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -7655,7 +7462,6 @@ func awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(v **types.IoTJob } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } - case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -7668,7 +7474,6 @@ func awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(v **types.IoTJob } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7712,7 +7517,6 @@ func awsRestjson1_deserializeDocumentIoTJobTimeoutConfig(v **types.IoTJobTimeout } sv.InProgressTimeoutInMinutes = ptr.Int64(i64) } - default: _, _ = key, value @@ -7778,15 +7582,9 @@ func awsRestjson1_deserializeDocumentRequestAlreadyInProgressException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7794,15 +7592,11 @@ func awsRestjson1_deserializeDocumentRequestAlreadyInProgressException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7837,7 +7631,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Arn = ptr.String(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -7846,7 +7639,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.ComponentName = ptr.String(jtv) } - case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -7855,7 +7647,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.ComponentVersion = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -7864,7 +7655,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Message = ptr.String(jtv) } - case "recipe": if value != nil { jtv, ok := value.(string) @@ -7877,7 +7667,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Recipe = dv } - case "vendorGuidance": if value != nil { jtv, ok := value.(string) @@ -7886,7 +7675,6 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.VendorGuidance = types.VendorGuidance(jtv) } - default: _, _ = key, value @@ -7950,15 +7738,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7966,7 +7748,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7975,7 +7756,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7984,15 +7764,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8017,15 +7793,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8033,7 +7803,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -8042,7 +7811,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8051,7 +7819,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8060,7 +7827,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -8069,15 +7835,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8173,7 +7935,6 @@ func awsRestjson1_deserializeDocumentSystemResourceLimits(v **types.SystemResour } } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -8186,7 +7947,6 @@ func awsRestjson1_deserializeDocumentSystemResourceLimits(v **types.SystemResour } sv.Memory = i64 } - default: _, _ = key, value @@ -8252,15 +8012,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8268,7 +8022,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -8277,7 +8030,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8290,7 +8042,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -8299,15 +8050,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8332,20 +8079,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8353,7 +8093,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -8362,15 +8101,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8405,7 +8140,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8414,7 +8148,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/groundstation/deserializers.go b/service/groundstation/deserializers.go index 33ba5550793..fdeb1b6b885 100644 --- a/service/groundstation/deserializers.go +++ b/service/groundstation/deserializers.go @@ -182,7 +182,6 @@ func awsRestjson1_deserializeOpDocumentCancelContactOutput(v **CancelContactOutp } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -347,7 +346,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigArn = ptr.String(jtv) } - case "configId": if value != nil { jtv, ok := value.(string) @@ -356,7 +354,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -365,7 +362,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } - default: _, _ = key, value @@ -527,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataflowEndpointGroupOutput(v **Cre } sv.DataflowEndpointGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -689,7 +684,6 @@ func awsRestjson1_deserializeOpDocumentCreateEphemerisOutput(v **CreateEphemeris } sv.EphemerisId = ptr.String(jtv) } - default: _, _ = key, value @@ -851,7 +845,6 @@ func awsRestjson1_deserializeOpDocumentCreateMissionProfileOutput(v **CreateMiss } sv.MissionProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -1013,7 +1006,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigArn = ptr.String(jtv) } - case "configId": if value != nil { jtv, ok := value.(string) @@ -1022,7 +1014,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -1031,7 +1022,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } - default: _, _ = key, value @@ -1193,7 +1183,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataflowEndpointGroupOutput(v **Del } sv.DataflowEndpointGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -1355,7 +1344,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEphemerisOutput(v **DeleteEphemeris } sv.EphemerisId = ptr.String(jtv) } - default: _, _ = key, value @@ -1517,7 +1505,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMissionProfileOutput(v **DeleteMiss } sv.MissionProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -1679,7 +1666,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ContactId = ptr.String(jtv) } - case "contactStatus": if value != nil { jtv, ok := value.(string) @@ -1688,12 +1674,10 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ContactStatus = types.ContactStatus(jtv) } - case "dataflowList": if err := awsRestjson1_deserializeDocumentDataflowList(&sv.DataflowList, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -1709,7 +1693,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1718,7 +1701,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ErrorMessage = ptr.String(jtv) } - case "groundStation": if value != nil { jtv, ok := value.(string) @@ -1727,12 +1709,10 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.GroundStation = ptr.String(jtv) } - case "maximumElevation": if err := awsRestjson1_deserializeDocumentElevation(&sv.MaximumElevation, value); err != nil { return err } - case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -1741,7 +1721,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.MissionProfileArn = ptr.String(jtv) } - case "postPassEndTime": if value != nil { switch jtv := value.(type) { @@ -1757,7 +1736,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - case "prePassStartTime": if value != nil { switch jtv := value.(type) { @@ -1773,7 +1751,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - case "region": if value != nil { jtv, ok := value.(string) @@ -1782,7 +1759,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.Region = ptr.String(jtv) } - case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -1791,7 +1767,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.SatelliteArn = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -1807,12 +1782,10 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "visibilityEndTime": if value != nil { switch jtv := value.(type) { @@ -1828,7 +1801,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - case "visibilityStartTime": if value != nil { switch jtv := value.(type) { @@ -1844,7 +1816,6 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } - default: _, _ = key, value @@ -2013,7 +1984,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -2022,7 +1992,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Enabled = ptr.Bool(jtv) } - case "ephemerisId": if value != nil { jtv, ok := value.(string) @@ -2031,7 +2000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.EphemerisId = ptr.String(jtv) } - case "invalidReason": if value != nil { jtv, ok := value.(string) @@ -2040,7 +2008,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.InvalidReason = types.EphemerisInvalidReason(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2049,7 +2016,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -2062,7 +2028,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Priority = ptr.Int32(int32(i64)) } - case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -2071,7 +2036,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.SatelliteId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2080,17 +2044,14 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Status = types.EphemerisStatus(jtv) } - case "suppliedData": if err := awsRestjson1_deserializeDocumentEphemerisTypeDescription(&sv.SuppliedData, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2252,7 +2213,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentConfigurationOutput(v **GetAgentC } sv.AgentId = ptr.String(jtv) } - case "taskingDocument": if value != nil { jtv, ok := value.(string) @@ -2261,7 +2221,6 @@ func awsRestjson1_deserializeOpDocumentGetAgentConfigurationOutput(v **GetAgentC } sv.TaskingDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -2423,12 +2382,10 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigArn = ptr.String(jtv) } - case "configData": if err := awsRestjson1_deserializeDocumentConfigTypeData(&sv.ConfigData, value); err != nil { return err } - case "configId": if value != nil { jtv, ok := value.(string) @@ -2437,7 +2394,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -2446,7 +2402,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigType = types.ConfigCapabilityType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2455,12 +2410,10 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2626,7 +2579,6 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.ContactPostPassDurationSeconds = ptr.Int32(int32(i64)) } - case "contactPrePassDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2639,7 +2591,6 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.ContactPrePassDurationSeconds = ptr.Int32(int32(i64)) } - case "dataflowEndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -2648,7 +2599,6 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.DataflowEndpointGroupArn = ptr.String(jtv) } - case "dataflowEndpointGroupId": if value != nil { jtv, ok := value.(string) @@ -2657,17 +2607,14 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.DataflowEndpointGroupId = ptr.String(jtv) } - case "endpointsDetails": if err := awsRestjson1_deserializeDocumentEndpointDetailsList(&sv.EndpointsDetails, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2833,7 +2780,6 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.EstimatedMinutesRemaining = ptr.Int32(int32(i64)) } - case "isReservedMinutesCustomer": if value != nil { jtv, ok := value.(bool) @@ -2842,7 +2788,6 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.IsReservedMinutesCustomer = ptr.Bool(jtv) } - case "totalReservedMinuteAllocation": if value != nil { jtv, ok := value.(json.Number) @@ -2855,7 +2800,6 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.TotalReservedMinuteAllocation = ptr.Int32(int32(i64)) } - case "totalScheduledMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2868,7 +2812,6 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.TotalScheduledMinutes = ptr.Int32(int32(i64)) } - case "upcomingMinutesScheduled": if value != nil { jtv, ok := value.(json.Number) @@ -2881,7 +2824,6 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.UpcomingMinutesScheduled = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3047,7 +2989,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.ContactPostPassDurationSeconds = ptr.Int32(int32(i64)) } - case "contactPrePassDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3060,12 +3001,10 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.ContactPrePassDurationSeconds = ptr.Int32(int32(i64)) } - case "dataflowEdges": if err := awsRestjson1_deserializeDocumentDataflowEdgeList(&sv.DataflowEdges, value); err != nil { return err } - case "minimumViableContactDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3078,7 +3017,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MinimumViableContactDurationSeconds = ptr.Int32(int32(i64)) } - case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -3087,7 +3025,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MissionProfileArn = ptr.String(jtv) } - case "missionProfileId": if value != nil { jtv, ok := value.(string) @@ -3096,7 +3033,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MissionProfileId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3105,7 +3041,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.Name = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -3114,12 +3049,10 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.Region = ptr.String(jtv) } - case "streamsKmsKey": if err := awsRestjson1_deserializeDocumentKmsKey(&sv.StreamsKmsKey, value); err != nil { return err } - case "streamsKmsRole": if value != nil { jtv, ok := value.(string) @@ -3128,12 +3061,10 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.StreamsKmsRole = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "trackingConfigArn": if value != nil { jtv, ok := value.(string) @@ -3142,7 +3073,6 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.TrackingConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3300,12 +3230,10 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput if err := awsRestjson1_deserializeDocumentEphemerisMetaData(&sv.CurrentEphemeris, value); err != nil { return err } - case "groundStations": if err := awsRestjson1_deserializeDocumentGroundStationIdList(&sv.GroundStations, value); err != nil { return err } - case "noradSatelliteID": if value != nil { jtv, ok := value.(json.Number) @@ -3318,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.NoradSatelliteID = int32(i64) } - case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -3327,7 +3254,6 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.SatelliteArn = ptr.String(jtv) } - case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -3336,7 +3262,6 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.SatelliteId = ptr.String(jtv) } - default: _, _ = key, value @@ -3494,7 +3419,6 @@ func awsRestjson1_deserializeOpDocumentListConfigsOutput(v **ListConfigsOutput, if err := awsRestjson1_deserializeDocumentConfigList(&sv.ConfigList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3503,7 +3427,6 @@ func awsRestjson1_deserializeOpDocumentListConfigsOutput(v **ListConfigsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3661,7 +3584,6 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsRestjson1_deserializeDocumentContactList(&sv.ContactList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3670,7 +3592,6 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3828,7 +3749,6 @@ func awsRestjson1_deserializeOpDocumentListDataflowEndpointGroupsOutput(v **List if err := awsRestjson1_deserializeDocumentDataflowEndpointGroupList(&sv.DataflowEndpointGroupList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3837,7 +3757,6 @@ func awsRestjson1_deserializeOpDocumentListDataflowEndpointGroupsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3995,7 +3914,6 @@ func awsRestjson1_deserializeOpDocumentListEphemeridesOutput(v **ListEphemerides if err := awsRestjson1_deserializeDocumentEphemeridesList(&sv.Ephemerides, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4004,7 +3922,6 @@ func awsRestjson1_deserializeOpDocumentListEphemeridesOutput(v **ListEphemerides } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4162,7 +4079,6 @@ func awsRestjson1_deserializeOpDocumentListGroundStationsOutput(v **ListGroundSt if err := awsRestjson1_deserializeDocumentGroundStationList(&sv.GroundStationList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4171,7 +4087,6 @@ func awsRestjson1_deserializeOpDocumentListGroundStationsOutput(v **ListGroundSt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4329,7 +4244,6 @@ func awsRestjson1_deserializeOpDocumentListMissionProfilesOutput(v **ListMission if err := awsRestjson1_deserializeDocumentMissionProfileList(&sv.MissionProfileList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4338,7 +4252,6 @@ func awsRestjson1_deserializeOpDocumentListMissionProfilesOutput(v **ListMission } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4500,12 +4413,10 @@ func awsRestjson1_deserializeOpDocumentListSatellitesOutput(v **ListSatellitesOu } sv.NextToken = ptr.String(jtv) } - case "satellites": if err := awsRestjson1_deserializeDocumentSatelliteList(&sv.Satellites, value); err != nil { return err } - default: _, _ = key, value @@ -4663,7 +4574,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4825,7 +4735,6 @@ func awsRestjson1_deserializeOpDocumentRegisterAgentOutput(v **RegisterAgentOutp } sv.AgentId = ptr.String(jtv) } - default: _, _ = key, value @@ -4987,7 +4896,6 @@ func awsRestjson1_deserializeOpDocumentReserveContactOutput(v **ReserveContactOu } sv.ContactId = ptr.String(jtv) } - default: _, _ = key, value @@ -5337,7 +5245,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentStatusOutput(v **UpdateAgentSt } sv.AgentId = ptr.String(jtv) } - default: _, _ = key, value @@ -5499,7 +5406,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigArn = ptr.String(jtv) } - case "configId": if value != nil { jtv, ok := value.(string) @@ -5508,7 +5414,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -5517,7 +5422,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } - default: _, _ = key, value @@ -5679,7 +5583,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEphemerisOutput(v **UpdateEphemeris } sv.EphemerisId = ptr.String(jtv) } - default: _, _ = key, value @@ -5841,7 +5744,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMissionProfileOutput(v **UpdateMiss } sv.MissionProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -6025,7 +5927,6 @@ func awsRestjson1_deserializeDocumentAntennaDemodDecodeDetails(v **types.Antenna } sv.OutputNode = ptr.String(jtv) } - default: _, _ = key, value @@ -6061,7 +5962,6 @@ func awsRestjson1_deserializeDocumentAntennaDownlinkConfig(v **types.AntennaDown if err := awsRestjson1_deserializeDocumentSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6097,17 +5997,14 @@ func awsRestjson1_deserializeDocumentAntennaDownlinkDemodDecodeConfig(v **types. if err := awsRestjson1_deserializeDocumentDecodeConfig(&sv.DecodeConfig, value); err != nil { return err } - case "demodulationConfig": if err := awsRestjson1_deserializeDocumentDemodulationConfig(&sv.DemodulationConfig, value); err != nil { return err } - case "spectrumConfig": if err := awsRestjson1_deserializeDocumentSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6143,12 +6040,10 @@ func awsRestjson1_deserializeDocumentAntennaUplinkConfig(v **types.AntennaUplink if err := awsRestjson1_deserializeDocumentUplinkSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } - case "targetEirp": if err := awsRestjson1_deserializeDocumentEirp(&sv.TargetEirp, value); err != nil { return err } - case "transmitDisabled": if value != nil { jtv, ok := value.(bool) @@ -6157,7 +6052,6 @@ func awsRestjson1_deserializeDocumentAntennaUplinkConfig(v **types.AntennaUplink } sv.TransmitDisabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6197,7 +6091,6 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.AgentStatus = types.AgentStatus(jtv) } - case "auditResults": if value != nil { jtv, ok := value.(string) @@ -6206,17 +6099,14 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.AuditResults = types.AuditResults(jtv) } - case "egressAddress": if err := awsRestjson1_deserializeDocumentConnectionDetails(&sv.EgressAddress, value); err != nil { return err } - case "ingressAddress": if err := awsRestjson1_deserializeDocumentRangedConnectionDetails(&sv.IngressAddress, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6225,7 +6115,6 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6395,7 +6284,6 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigArn = ptr.String(jtv) } - case "configId": if value != nil { jtv, ok := value.(string) @@ -6404,7 +6292,6 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -6413,7 +6300,6 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigType = types.ConfigCapabilityType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6422,7 +6308,6 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6566,12 +6451,10 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.Mtu = ptr.Int32(int32(i64)) } - case "socketAddress": if err := awsRestjson1_deserializeDocumentSocketAddress(&sv.SocketAddress, value); err != nil { return err } - default: _, _ = key, value @@ -6611,7 +6494,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ContactId = ptr.String(jtv) } - case "contactStatus": if value != nil { jtv, ok := value.(string) @@ -6620,7 +6502,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ContactStatus = types.ContactStatus(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -6636,7 +6517,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6645,7 +6525,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ErrorMessage = ptr.String(jtv) } - case "groundStation": if value != nil { jtv, ok := value.(string) @@ -6654,12 +6533,10 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.GroundStation = ptr.String(jtv) } - case "maximumElevation": if err := awsRestjson1_deserializeDocumentElevation(&sv.MaximumElevation, value); err != nil { return err } - case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -6668,7 +6545,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.MissionProfileArn = ptr.String(jtv) } - case "postPassEndTime": if value != nil { switch jtv := value.(type) { @@ -6684,7 +6560,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - case "prePassStartTime": if value != nil { switch jtv := value.(type) { @@ -6700,7 +6575,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - case "region": if value != nil { jtv, ok := value.(string) @@ -6709,7 +6583,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.Region = ptr.String(jtv) } - case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -6718,7 +6591,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.SatelliteArn = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6734,12 +6606,10 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "visibilityEndTime": if value != nil { switch jtv := value.(type) { @@ -6755,7 +6625,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - case "visibilityStartTime": if value != nil { switch jtv := value.(type) { @@ -6771,7 +6640,6 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } - default: _, _ = key, value @@ -6841,7 +6709,6 @@ func awsRestjson1_deserializeDocumentDataflowDetail(v **types.DataflowDetail, va if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6850,12 +6717,10 @@ func awsRestjson1_deserializeDocumentDataflowDetail(v **types.DataflowDetail, va } sv.ErrorMessage = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -6959,7 +6824,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint if err := awsRestjson1_deserializeDocumentSocketAddress(&sv.Address, value); err != nil { return err } - case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -6972,7 +6836,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Mtu = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6981,7 +6844,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6990,7 +6852,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Status = types.EndpointStatus(jtv) } - default: _, _ = key, value @@ -7030,7 +6891,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpointConfig(v **types.DataflowEn } sv.DataflowEndpointName = ptr.String(jtv) } - case "dataflowEndpointRegion": if value != nil { jtv, ok := value.(string) @@ -7039,7 +6899,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpointConfig(v **types.DataflowEn } sv.DataflowEndpointRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -7113,7 +6972,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpointListItem(v **types.Dataflow } sv.DataflowEndpointGroupArn = ptr.String(jtv) } - case "dataflowEndpointGroupId": if value != nil { jtv, ok := value.(string) @@ -7122,7 +6980,6 @@ func awsRestjson1_deserializeDocumentDataflowEndpointListItem(v **types.Dataflow } sv.DataflowEndpointGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -7196,7 +7053,6 @@ func awsRestjson1_deserializeDocumentDecodeConfig(v **types.DecodeConfig, value } sv.UnvalidatedJSON = ptr.String(jtv) } - default: _, _ = key, value @@ -7236,7 +7092,6 @@ func awsRestjson1_deserializeDocumentDemodulationConfig(v **types.DemodulationCo } sv.UnvalidatedJSON = ptr.String(jtv) } - default: _, _ = key, value @@ -7266,15 +7121,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7282,7 +7131,6 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } - case "parameterName": if value != nil { jtv, ok := value.(string) @@ -7291,15 +7139,11 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7330,7 +7174,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentConfigDetails(&sv.ConfigDetails, value); err != nil { return err } - case "configId": if value != nil { jtv, ok := value.(string) @@ -7339,7 +7182,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -7348,7 +7190,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.ConfigType = types.ConfigCapabilityType(jtv) } - case "dataflowDestinationRegion": if value != nil { jtv, ok := value.(string) @@ -7357,7 +7198,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DataflowDestinationRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -7397,7 +7237,6 @@ func awsRestjson1_deserializeDocumentEirp(v **types.Eirp, value interface{}) err } sv.Units = types.EirpUnits(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7431,7 +7270,6 @@ func awsRestjson1_deserializeDocumentEirp(v **types.Eirp, value interface{}) err } } - default: _, _ = key, value @@ -7471,7 +7309,6 @@ func awsRestjson1_deserializeDocumentElevation(v **types.Elevation, value interf } sv.Unit = types.AngleUnits(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7505,7 +7342,6 @@ func awsRestjson1_deserializeDocumentElevation(v **types.Elevation, value interf } } - default: _, _ = key, value @@ -7541,17 +7377,14 @@ func awsRestjson1_deserializeDocumentEndpointDetails(v **types.EndpointDetails, if err := awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(&sv.AwsGroundStationAgentEndpoint, value); err != nil { return err } - case "endpoint": if err := awsRestjson1_deserializeDocumentDataflowEndpoint(&sv.Endpoint, value); err != nil { return err } - case "healthReasons": if err := awsRestjson1_deserializeDocumentCapabilityHealthReasonList(&sv.HealthReasons, value); err != nil { return err } - case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -7560,12 +7393,10 @@ func awsRestjson1_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.HealthStatus = types.CapabilityHealth(jtv) } - case "securityDetails": if err := awsRestjson1_deserializeDocumentSecurityDetails(&sv.SecurityDetails, value); err != nil { return err } - default: _, _ = key, value @@ -7673,12 +7504,10 @@ func awsRestjson1_deserializeDocumentEphemerisDescription(v **types.EphemerisDes } sv.EphemerisData = ptr.String(jtv) } - case "sourceS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.SourceS3Object, value); err != nil { return err } - default: _, _ = key, value @@ -7725,7 +7554,6 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -7734,7 +7562,6 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Enabled = ptr.Bool(jtv) } - case "ephemerisId": if value != nil { jtv, ok := value.(string) @@ -7743,7 +7570,6 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.EphemerisId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7752,7 +7578,6 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7765,12 +7590,10 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Priority = ptr.Int32(int32(i64)) } - case "sourceS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.SourceS3Object, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7779,7 +7602,6 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Status = types.EphemerisStatus(jtv) } - default: _, _ = key, value @@ -7819,7 +7641,6 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.EphemerisId = ptr.String(jtv) } - case "epoch": if value != nil { switch jtv := value.(type) { @@ -7835,7 +7656,6 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7844,7 +7664,6 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.Name = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -7853,7 +7672,6 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.Source = types.EphemerisSource(jtv) } - default: _, _ = key, value @@ -7943,7 +7761,6 @@ func awsRestjson1_deserializeDocumentFrequency(v **types.Frequency, value interf } sv.Units = types.FrequencyUnits(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -7977,7 +7794,6 @@ func awsRestjson1_deserializeDocumentFrequency(v **types.Frequency, value interf } } - default: _, _ = key, value @@ -8017,7 +7833,6 @@ func awsRestjson1_deserializeDocumentFrequencyBandwidth(v **types.FrequencyBandw } sv.Units = types.BandwidthUnits(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -8051,7 +7866,6 @@ func awsRestjson1_deserializeDocumentFrequencyBandwidth(v **types.FrequencyBandw } } - default: _, _ = key, value @@ -8091,7 +7905,6 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.GroundStationId = ptr.String(jtv) } - case "groundStationName": if value != nil { jtv, ok := value.(string) @@ -8100,7 +7913,6 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.GroundStationName = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -8109,7 +7921,6 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -8223,7 +8034,6 @@ func awsRestjson1_deserializeDocumentIntegerRange(v **types.IntegerRange, value } sv.Maximum = ptr.Int32(int32(i64)) } - case "minimum": if value != nil { jtv, ok := value.(json.Number) @@ -8236,7 +8046,6 @@ func awsRestjson1_deserializeDocumentIntegerRange(v **types.IntegerRange, value } sv.Minimum = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8266,15 +8075,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8282,7 +8085,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "parameterName": if value != nil { jtv, ok := value.(string) @@ -8291,15 +8093,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8434,7 +8232,6 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.MissionProfileArn = ptr.String(jtv) } - case "missionProfileId": if value != nil { jtv, ok := value.(string) @@ -8443,7 +8240,6 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.MissionProfileId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8452,7 +8248,6 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.Name = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -8461,7 +8256,6 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -8505,12 +8299,10 @@ func awsRestjson1_deserializeDocumentRangedConnectionDetails(v **types.RangedCon } sv.Mtu = ptr.Int32(int32(i64)) } - case "socketAddress": if err := awsRestjson1_deserializeDocumentRangedSocketAddress(&sv.SocketAddress, value); err != nil { return err } - default: _, _ = key, value @@ -8550,12 +8342,10 @@ func awsRestjson1_deserializeDocumentRangedSocketAddress(v **types.RangedSocketA } sv.Name = ptr.String(jtv) } - case "portRange": if err := awsRestjson1_deserializeDocumentIntegerRange(&sv.PortRange, value); err != nil { return err } - default: _, _ = key, value @@ -8585,15 +8375,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8601,7 +8385,6 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - case "parameterName": if value != nil { jtv, ok := value.(string) @@ -8610,15 +8393,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8643,15 +8422,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8659,15 +8432,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8702,7 +8471,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -8711,7 +8479,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -8720,7 +8487,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8760,7 +8526,6 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.BucketArn = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -8769,7 +8534,6 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.Prefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8778,7 +8542,6 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8818,7 +8581,6 @@ func awsRestjson1_deserializeDocumentS3RecordingDetails(v **types.S3RecordingDet } sv.BucketArn = ptr.String(jtv) } - case "keyTemplate": if value != nil { jtv, ok := value.(string) @@ -8827,7 +8589,6 @@ func awsRestjson1_deserializeDocumentS3RecordingDetails(v **types.S3RecordingDet } sv.KeyTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -8897,12 +8658,10 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt if err := awsRestjson1_deserializeDocumentEphemerisMetaData(&sv.CurrentEphemeris, value); err != nil { return err } - case "groundStations": if err := awsRestjson1_deserializeDocumentGroundStationIdList(&sv.GroundStations, value); err != nil { return err } - case "noradSatelliteID": if value != nil { jtv, ok := value.(json.Number) @@ -8915,7 +8674,6 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.NoradSatelliteID = int32(i64) } - case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -8924,7 +8682,6 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.SatelliteArn = ptr.String(jtv) } - case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -8933,7 +8690,6 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.SatelliteId = ptr.String(jtv) } - default: _, _ = key, value @@ -8973,17 +8729,14 @@ func awsRestjson1_deserializeDocumentSecurityDetails(v **types.SecurityDetails, } sv.RoleArn = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -9059,7 +8812,6 @@ func awsRestjson1_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9072,7 +8824,6 @@ func awsRestjson1_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9108,7 +8859,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentConfigDetails(&sv.ConfigDetails, value); err != nil { return err } - case "configId": if value != nil { jtv, ok := value.(string) @@ -9117,7 +8867,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.ConfigId = ptr.String(jtv) } - case "configType": if value != nil { jtv, ok := value.(string) @@ -9126,7 +8875,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.ConfigType = types.ConfigCapabilityType(jtv) } - case "dataflowSourceRegion": if value != nil { jtv, ok := value.(string) @@ -9135,7 +8883,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.DataflowSourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -9171,12 +8918,10 @@ func awsRestjson1_deserializeDocumentSpectrumConfig(v **types.SpectrumConfig, va if err := awsRestjson1_deserializeDocumentFrequencyBandwidth(&sv.Bandwidth, value); err != nil { return err } - case "centerFrequency": if err := awsRestjson1_deserializeDocumentFrequency(&sv.CenterFrequency, value); err != nil { return err } - case "polarization": if value != nil { jtv, ok := value.(string) @@ -9185,7 +8930,6 @@ func awsRestjson1_deserializeDocumentSpectrumConfig(v **types.SpectrumConfig, va } sv.Polarization = types.Polarization(jtv) } - default: _, _ = key, value @@ -9297,7 +9041,6 @@ func awsRestjson1_deserializeDocumentTrackingConfig(v **types.TrackingConfig, va } sv.Autotrack = types.Criticality(jtv) } - default: _, _ = key, value @@ -9337,7 +9080,6 @@ func awsRestjson1_deserializeDocumentUplinkEchoConfig(v **types.UplinkEchoConfig } sv.AntennaUplinkConfigArn = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -9346,7 +9088,6 @@ func awsRestjson1_deserializeDocumentUplinkEchoConfig(v **types.UplinkEchoConfig } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9382,7 +9123,6 @@ func awsRestjson1_deserializeDocumentUplinkSpectrumConfig(v **types.UplinkSpectr if err := awsRestjson1_deserializeDocumentFrequency(&sv.CenterFrequency, value); err != nil { return err } - case "polarization": if value != nil { jtv, ok := value.(string) @@ -9391,7 +9131,6 @@ func awsRestjson1_deserializeDocumentUplinkSpectrumConfig(v **types.UplinkSpectr } sv.Polarization = types.Polarization(jtv) } - default: _, _ = key, value diff --git a/service/guardduty/deserializers.go b/service/guardduty/deserializers.go index e105afbeb3e..c84dbf81d7d 100644 --- a/service/guardduty/deserializers.go +++ b/service/guardduty/deserializers.go @@ -453,12 +453,10 @@ func awsRestjson1_deserializeOpDocumentCreateDetectorOutput(v **CreateDetectorOu } sv.DetectorId = ptr.String(jtv) } - case "unprocessedDataSources": if err := awsRestjson1_deserializeDocumentUnprocessedDataSourcesResult(&sv.UnprocessedDataSources, value); err != nil { return err } - default: _, _ = key, value @@ -617,7 +615,6 @@ func awsRestjson1_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -776,7 +773,6 @@ func awsRestjson1_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.IpSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -941,7 +937,6 @@ func awsRestjson1_deserializeOpDocumentCreateMalwareProtectionPlanOutput(v **Cre } sv.MalwareProtectionPlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -1096,7 +1091,6 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1255,7 +1249,6 @@ func awsRestjson1_deserializeOpDocumentCreatePublishingDestinationOutput(v **Cre } sv.DestinationId = ptr.String(jtv) } - default: _, _ = key, value @@ -1505,7 +1498,6 @@ func awsRestjson1_deserializeOpDocumentCreateThreatIntelSetOutput(v **CreateThre } sv.ThreatIntelSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -1660,7 +1652,6 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1997,7 +1988,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -2346,7 +2336,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -2687,12 +2676,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMalwareScansOutput(v **DescribeMa } sv.NextToken = ptr.String(jtv) } - case "scans": if err := awsRestjson1_deserializeDocumentScans(&sv.Scans, value); err != nil { return err } - default: _, _ = key, value @@ -2851,7 +2838,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } - case "autoEnableOrganizationMembers": if value != nil { jtv, ok := value.(string) @@ -2860,17 +2846,14 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnableOrganizationMembers = types.AutoEnableMembers(jtv) } - case "dataSources": if err := awsRestjson1_deserializeDocumentOrganizationDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } - case "features": if err := awsRestjson1_deserializeDocumentOrganizationFeaturesConfigurationsResults(&sv.Features, value); err != nil { return err } - case "memberAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -2879,7 +2862,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MemberAccountLimitReached = ptr.Bool(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2888,7 +2870,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3047,12 +3028,10 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.DestinationId = ptr.String(jtv) } - case "destinationProperties": if err := awsRestjson1_deserializeDocumentDestinationProperties(&sv.DestinationProperties, value); err != nil { return err } - case "destinationType": if value != nil { jtv, ok := value.(string) @@ -3061,7 +3040,6 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.DestinationType = types.DestinationType(jtv) } - case "publishingFailureStartTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -3074,7 +3052,6 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.PublishingFailureStartTimestamp = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3083,7 +3060,6 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.Status = types.PublishingStatus(jtv) } - default: _, _ = key, value @@ -3511,7 +3487,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateMembersOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -3757,7 +3732,6 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentAdministrator(&sv.Administrator, value); err != nil { return err } - default: _, _ = key, value @@ -3912,7 +3886,6 @@ func awsRestjson1_deserializeOpDocumentGetCoverageStatisticsOutput(v **GetCovera if err := awsRestjson1_deserializeDocumentCoverageStatistics(&sv.CoverageStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -4071,17 +4044,14 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.CreatedAt = ptr.String(jtv) } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } - case "features": if err := awsRestjson1_deserializeDocumentDetectorFeatureConfigurationsResults(&sv.Features, value); err != nil { return err } - case "findingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -4090,7 +4060,6 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.FindingPublishingFrequency = types.FindingPublishingFrequency(jtv) } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -4099,7 +4068,6 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.ServiceRole = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4108,12 +4076,10 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.Status = types.DetectorStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4122,7 +4088,6 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.UpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -4281,7 +4246,6 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Action = types.FilterAction(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4290,12 +4254,10 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Description = ptr.String(jtv) } - case "findingCriteria": if err := awsRestjson1_deserializeDocumentFindingCriteria(&sv.FindingCriteria, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4304,7 +4266,6 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Name = ptr.String(jtv) } - case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -4317,12 +4278,10 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Rank = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4477,7 +4436,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } - default: _, _ = key, value @@ -4632,7 +4590,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsStatisticsOutput(v **GetFindin if err := awsRestjson1_deserializeDocumentFindingStatistics(&sv.FindingStatistics, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4641,7 +4598,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsStatisticsOutput(v **GetFindin } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4804,7 +4760,6 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4963,7 +4918,6 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Format = types.IpSetFormat(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -4972,7 +4926,6 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Location = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4981,7 +4934,6 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4990,12 +4942,10 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Status = types.IpSetStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5156,7 +5106,6 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanActions(&sv.Actions, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5165,7 +5114,6 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5181,12 +5129,10 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } } - case "protectedResource": if err := awsRestjson1_deserializeDocumentCreateProtectedResource(&sv.ProtectedResource, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -5195,7 +5141,6 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Role = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5204,17 +5149,14 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Status = types.MalwareProtectionPlanStatus(jtv) } - case "statusReasons": if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReasonsList(&sv.StatusReasons, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5373,12 +5315,10 @@ func awsRestjson1_deserializeOpDocumentGetMalwareScanSettingsOutput(v **GetMalwa } sv.EbsSnapshotPreservation = types.EbsSnapshotPreservation(jtv) } - case "scanResourceCriteria": if err := awsRestjson1_deserializeDocumentScanResourceCriteria(&sv.ScanResourceCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -5533,7 +5473,6 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentMaster(&sv.Master, value); err != nil { return err } - default: _, _ = key, value @@ -5688,12 +5627,10 @@ func awsRestjson1_deserializeOpDocumentGetMemberDetectorsOutput(v **GetMemberDet if err := awsRestjson1_deserializeDocumentMemberDataSourceConfigurations(&sv.MemberDataSourceConfigurations, value); err != nil { return err } - case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -5848,12 +5785,10 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } - case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -6008,7 +5943,6 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationStatisticsOutput(v **GetOr if err := awsRestjson1_deserializeDocumentOrganizationDetails(&sv.OrganizationDetails, value); err != nil { return err } - default: _, _ = key, value @@ -6163,12 +6097,10 @@ func awsRestjson1_deserializeOpDocumentGetRemainingFreeTrialDaysOutput(v **GetRe if err := awsRestjson1_deserializeDocumentAccountFreeTrialInfos(&sv.Accounts, value); err != nil { return err } - case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -6327,7 +6259,6 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Format = types.ThreatIntelSetFormat(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -6336,7 +6267,6 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Location = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6345,7 +6275,6 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6354,12 +6283,10 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Status = types.ThreatIntelSetStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6518,12 +6445,10 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.NextToken = ptr.String(jtv) } - case "usageStatistics": if err := awsRestjson1_deserializeDocumentUsageStatistics(&sv.UsageStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -6678,7 +6603,6 @@ func awsRestjson1_deserializeOpDocumentInviteMembersOutput(v **InviteMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -6837,12 +6761,10 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentCoverageResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -6997,7 +6919,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp if err := awsRestjson1_deserializeDocumentDetectorIds(&sv.DetectorIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7006,7 +6927,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7161,7 +7081,6 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsRestjson1_deserializeDocumentFilterNames(&sv.FilterNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7170,7 +7089,6 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7325,7 +7243,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingIds(&sv.FindingIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7334,7 +7251,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7489,7 +7405,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitations(&sv.Invitations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7498,7 +7413,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7653,7 +7567,6 @@ func awsRestjson1_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsRestjson1_deserializeDocumentIpSetIds(&sv.IpSetIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7575,6 @@ func awsRestjson1_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7820,7 +7732,6 @@ func awsRestjson1_deserializeOpDocumentListMalwareProtectionPlansOutput(v **List if err := awsRestjson1_deserializeDocumentMalwareProtectionPlansSummary(&sv.MalwareProtectionPlans, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7829,7 +7740,6 @@ func awsRestjson1_deserializeOpDocumentListMalwareProtectionPlansOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7984,7 +7894,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7993,7 +7902,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8148,7 +8056,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdminAccounts(&sv.AdminAccounts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8157,7 +8064,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8312,7 +8218,6 @@ func awsRestjson1_deserializeOpDocumentListPublishingDestinationsOutput(v **List if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8321,7 +8226,6 @@ func awsRestjson1_deserializeOpDocumentListPublishingDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8479,7 +8383,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8638,12 +8541,10 @@ func awsRestjson1_deserializeOpDocumentListThreatIntelSetsOutput(v **ListThreatI } sv.NextToken = ptr.String(jtv) } - case "threatIntelSetIds": if err := awsRestjson1_deserializeDocumentThreatIntelSetIds(&sv.ThreatIntelSetIds, value); err != nil { return err } - default: _, _ = key, value @@ -8805,7 +8706,6 @@ func awsRestjson1_deserializeOpDocumentStartMalwareScanOutput(v **StartMalwareSc } sv.ScanId = ptr.String(jtv) } - default: _, _ = key, value @@ -8960,7 +8860,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitoringMembersOutput(v **StartMon if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -9115,7 +9014,6 @@ func awsRestjson1_deserializeOpDocumentStopMonitoringMembersOutput(v **StopMonit if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -9644,7 +9542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFilterOutput(v **UpdateFilterOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10175,7 +10072,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMemberDetectorsOutput(v **UpdateMem if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -10668,7 +10564,6 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } - case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -10677,7 +10572,6 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10707,15 +10601,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10723,7 +10611,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "__type": if value != nil { jtv, ok := value.(string) @@ -10732,15 +10619,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10775,7 +10658,6 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.AccessKeyId = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -10784,7 +10666,6 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.PrincipalId = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -10793,7 +10674,6 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.UserName = ptr.String(jtv) } - case "userType": if value != nil { jtv, ok := value.(string) @@ -10802,7 +10682,6 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.UserType = ptr.String(jtv) } - default: _, _ = key, value @@ -10842,17 +10721,14 @@ func awsRestjson1_deserializeDocumentAccountFreeTrialInfo(v **types.AccountFreeT } sv.AccountId = ptr.String(jtv) } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourcesFreeTrial(&sv.DataSources, value); err != nil { return err } - case "features": if err := awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationsResults(&sv.Features, value); err != nil { return err } - default: _, _ = key, value @@ -10922,7 +10798,6 @@ func awsRestjson1_deserializeDocumentAccountLevelPermissions(v **types.AccountLe if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } - default: _, _ = key, value @@ -10962,7 +10837,6 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } sv.AccountId = ptr.String(jtv) } - case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -10978,7 +10852,6 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } } - case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -10991,7 +10864,6 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } sv.TotalFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11031,52 +10903,42 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = ptr.String(jtv) } - case "awsApiCallAction": if err := awsRestjson1_deserializeDocumentAwsApiCallAction(&sv.AwsApiCallAction, value); err != nil { return err } - case "dnsRequestAction": if err := awsRestjson1_deserializeDocumentDnsRequestAction(&sv.DnsRequestAction, value); err != nil { return err } - case "kubernetesApiCallAction": if err := awsRestjson1_deserializeDocumentKubernetesApiCallAction(&sv.KubernetesApiCallAction, value); err != nil { return err } - case "kubernetesPermissionCheckedDetails": if err := awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(&sv.KubernetesPermissionCheckedDetails, value); err != nil { return err } - case "kubernetesRoleBindingDetails": if err := awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(&sv.KubernetesRoleBindingDetails, value); err != nil { return err } - case "kubernetesRoleDetails": if err := awsRestjson1_deserializeDocumentKubernetesRoleDetails(&sv.KubernetesRoleDetails, value); err != nil { return err } - case "networkConnectionAction": if err := awsRestjson1_deserializeDocumentNetworkConnectionAction(&sv.NetworkConnectionAction, value); err != nil { return err } - case "portProbeAction": if err := awsRestjson1_deserializeDocumentPortProbeAction(&sv.PortProbeAction, value); err != nil { return err } - case "rdsLoginAttemptAction": if err := awsRestjson1_deserializeDocumentRdsLoginAttemptAction(&sv.RdsLoginAttemptAction, value); err != nil { return err } - default: _, _ = key, value @@ -11116,7 +10978,6 @@ func awsRestjson1_deserializeDocumentAddonDetails(v **types.AddonDetails, value } sv.AddonStatus = ptr.String(jtv) } - case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -11125,7 +10986,6 @@ func awsRestjson1_deserializeDocumentAddonDetails(v **types.AddonDetails, value } sv.AddonVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11165,7 +11025,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AdminAccountId = ptr.String(jtv) } - case "adminStatus": if value != nil { jtv, ok := value.(string) @@ -11174,7 +11033,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AdminStatus = types.AdminStatus(jtv) } - default: _, _ = key, value @@ -11248,7 +11106,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.AccountId = ptr.String(jtv) } - case "invitationId": if value != nil { jtv, ok := value.(string) @@ -11257,7 +11114,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.InvitationId = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -11266,7 +11122,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.InvitedAt = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -11275,7 +11130,6 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.RelationshipStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -11351,7 +11205,6 @@ func awsRestjson1_deserializeDocumentAgentDetails(v **types.AgentDetails, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11387,12 +11240,10 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ if err := awsRestjson1_deserializeDocumentAnomalyProfiles(&sv.Profiles, value); err != nil { return err } - case "unusual": if err := awsRestjson1_deserializeDocumentAnomalyUnusual(&sv.Unusual, value); err != nil { return err } - default: _, _ = key, value @@ -11428,7 +11279,6 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu if err := awsRestjson1_deserializeDocumentObservations(&sv.Observations, value); err != nil { return err } - case "profileSubtype": if value != nil { jtv, ok := value.(string) @@ -11437,7 +11287,6 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu } sv.ProfileSubtype = types.ProfileSubtype(jtv) } - case "profileType": if value != nil { jtv, ok := value.(string) @@ -11446,7 +11295,6 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu } sv.ProfileType = types.ProfileType(jtv) } - default: _, _ = key, value @@ -11584,7 +11432,6 @@ func awsRestjson1_deserializeDocumentAnomalyUnusual(v **types.AnomalyUnusual, va if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } - default: _, _ = key, value @@ -11655,7 +11502,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction if err := awsRestjson1_deserializeDocumentAffectedResources(&sv.AffectedResources, value); err != nil { return err } - case "api": if value != nil { jtv, ok := value.(string) @@ -11664,7 +11510,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.Api = ptr.String(jtv) } - case "callerType": if value != nil { jtv, ok := value.(string) @@ -11673,12 +11518,10 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.CallerType = ptr.String(jtv) } - case "domainDetails": if err := awsRestjson1_deserializeDocumentDomainDetails(&sv.DomainDetails, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11687,17 +11530,14 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ErrorCode = ptr.String(jtv) } - case "remoteAccountDetails": if err := awsRestjson1_deserializeDocumentRemoteAccountDetails(&sv.RemoteAccountDetails, value); err != nil { return err } - case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11706,7 +11546,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ServiceName = ptr.String(jtv) } - case "userAgent": if value != nil { jtv, ok := value.(string) @@ -11715,7 +11554,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.UserAgent = ptr.String(jtv) } - default: _, _ = key, value @@ -11745,15 +11583,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11761,7 +11593,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "__type": if value != nil { jtv, ok := value.(string) @@ -11770,15 +11601,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11847,7 +11674,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicAcls = ptr.Bool(jtv) } - case "blockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -11856,7 +11682,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicPolicy = ptr.Bool(jtv) } - case "ignorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -11865,7 +11690,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.IgnorePublicAcls = ptr.Bool(jtv) } - case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -11874,7 +11698,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.RestrictPublicBuckets = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11910,17 +11733,14 @@ func awsRestjson1_deserializeDocumentBucketLevelPermissions(v **types.BucketLeve if err := awsRestjson1_deserializeDocumentAccessControlList(&sv.AccessControlList, value); err != nil { return err } - case "blockPublicAccess": if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } - case "bucketPolicy": if err := awsRestjson1_deserializeDocumentBucketPolicy(&sv.BucketPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -11960,7 +11780,6 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } - case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -11969,7 +11788,6 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12009,7 +11827,6 @@ func awsRestjson1_deserializeDocumentCity(v **types.City, value interface{}) err } sv.CityName = ptr.String(jtv) } - default: _, _ = key, value @@ -12049,7 +11866,6 @@ func awsRestjson1_deserializeDocumentCloudTrailConfigurationResult(v **types.Clo } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -12085,12 +11901,10 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err := awsRestjson1_deserializeDocumentEq(&sv.Eq, value); err != nil { return err } - case "equals": if err := awsRestjson1_deserializeDocumentEquals(&sv.Equals, value); err != nil { return err } - case "greaterThan": if value != nil { jtv, ok := value.(json.Number) @@ -12103,7 +11917,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.GreaterThan = ptr.Int64(i64) } - case "greaterThanOrEqual": if value != nil { jtv, ok := value.(json.Number) @@ -12116,7 +11929,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.GreaterThanOrEqual = ptr.Int64(i64) } - case "gt": if value != nil { jtv, ok := value.(json.Number) @@ -12129,7 +11941,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Gt = ptr.Int32(int32(i64)) } - case "gte": if value != nil { jtv, ok := value.(json.Number) @@ -12142,7 +11953,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Gte = ptr.Int32(int32(i64)) } - case "lessThan": if value != nil { jtv, ok := value.(json.Number) @@ -12155,7 +11965,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.LessThan = ptr.Int64(i64) } - case "lessThanOrEqual": if value != nil { jtv, ok := value.(json.Number) @@ -12168,7 +11977,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.LessThanOrEqual = ptr.Int64(i64) } - case "lt": if value != nil { jtv, ok := value.(json.Number) @@ -12181,7 +11989,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Lt = ptr.Int32(int32(i64)) } - case "lte": if value != nil { jtv, ok := value.(json.Number) @@ -12194,17 +12001,14 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Lte = ptr.Int32(int32(i64)) } - case "neq": if err := awsRestjson1_deserializeDocumentNeq(&sv.Neq, value); err != nil { return err } - case "notEquals": if err := awsRestjson1_deserializeDocumentNotEquals(&sv.NotEquals, value); err != nil { return err } - default: _, _ = key, value @@ -12234,15 +12038,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12250,7 +12048,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "__type": if value != nil { jtv, ok := value.(string) @@ -12259,15 +12056,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12302,7 +12095,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.ContainerRuntime = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12311,7 +12103,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Id = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -12320,7 +12111,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } - case "imagePrefix": if value != nil { jtv, ok := value.(string) @@ -12329,7 +12119,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.ImagePrefix = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12338,17 +12127,14 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } - case "securityContext": if err := awsRestjson1_deserializeDocumentSecurityContext(&sv.SecurityContext, value); err != nil { return err } - case "volumeMounts": if err := awsRestjson1_deserializeDocumentVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } - default: _, _ = key, value @@ -12392,7 +12178,6 @@ func awsRestjson1_deserializeDocumentContainerInstanceDetails(v **types.Containe } sv.CompatibleContainerInstances = ptr.Int64(i64) } - case "coveredContainerInstances": if value != nil { jtv, ok := value.(json.Number) @@ -12405,7 +12190,6 @@ func awsRestjson1_deserializeDocumentContainerInstanceDetails(v **types.Containe } sv.CoveredContainerInstances = ptr.Int64(i64) } - default: _, _ = key, value @@ -12599,7 +12383,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryCode = ptr.String(jtv) } - case "countryName": if value != nil { jtv, ok := value.(string) @@ -12608,7 +12391,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryName = ptr.String(jtv) } - default: _, _ = key, value @@ -12644,7 +12426,6 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera if err := awsRestjson1_deserializeDocumentAgentDetails(&sv.AgentDetails, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -12653,7 +12434,6 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.ClusterArn = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -12662,7 +12442,6 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.InstanceId = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -12671,7 +12450,6 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.InstanceType = ptr.String(jtv) } - case "managementType": if value != nil { jtv, ok := value.(string) @@ -12680,7 +12458,6 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.ManagementType = types.ManagementType(jtv) } - default: _, _ = key, value @@ -12720,17 +12497,14 @@ func awsRestjson1_deserializeDocumentCoverageEcsClusterDetails(v **types.Coverag } sv.ClusterName = ptr.String(jtv) } - case "containerInstanceDetails": if err := awsRestjson1_deserializeDocumentContainerInstanceDetails(&sv.ContainerInstanceDetails, value); err != nil { return err } - case "fargateDetails": if err := awsRestjson1_deserializeDocumentFargateDetails(&sv.FargateDetails, value); err != nil { return err } - default: _, _ = key, value @@ -12766,7 +12540,6 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag if err := awsRestjson1_deserializeDocumentAddonDetails(&sv.AddonDetails, value); err != nil { return err } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -12775,7 +12548,6 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.ClusterName = ptr.String(jtv) } - case "compatibleNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12788,7 +12560,6 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.CompatibleNodes = ptr.Int64(i64) } - case "coveredNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12801,7 +12572,6 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.CoveredNodes = ptr.Int64(i64) } - case "managementType": if value != nil { jtv, ok := value.(string) @@ -12810,7 +12580,6 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.ManagementType = types.ManagementType(jtv) } - default: _, _ = key, value @@ -12850,7 +12619,6 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.AccountId = ptr.String(jtv) } - case "coverageStatus": if value != nil { jtv, ok := value.(string) @@ -12859,7 +12627,6 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.CoverageStatus = types.CoverageStatus(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -12868,7 +12635,6 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.DetectorId = ptr.String(jtv) } - case "issue": if value != nil { jtv, ok := value.(string) @@ -12877,12 +12643,10 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.Issue = ptr.String(jtv) } - case "resourceDetails": if err := awsRestjson1_deserializeDocumentCoverageResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12891,7 +12655,6 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.ResourceId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -12907,7 +12670,6 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } } - default: _, _ = key, value @@ -12943,17 +12705,14 @@ func awsRestjson1_deserializeDocumentCoverageResourceDetails(v **types.CoverageR if err := awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(&sv.Ec2InstanceDetails, value); err != nil { return err } - case "ecsClusterDetails": if err := awsRestjson1_deserializeDocumentCoverageEcsClusterDetails(&sv.EcsClusterDetails, value); err != nil { return err } - case "eksClusterDetails": if err := awsRestjson1_deserializeDocumentCoverageEksClusterDetails(&sv.EksClusterDetails, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12962,7 +12721,6 @@ func awsRestjson1_deserializeDocumentCoverageResourceDetails(v **types.CoverageR } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -13032,12 +12790,10 @@ func awsRestjson1_deserializeDocumentCoverageStatistics(v **types.CoverageStatis if err := awsRestjson1_deserializeDocumentCountByCoverageStatus(&sv.CountByCoverageStatus, value); err != nil { return err } - case "countByResourceType": if err := awsRestjson1_deserializeDocumentCountByResourceType(&sv.CountByResourceType, value); err != nil { return err } - default: _, _ = key, value @@ -13073,7 +12829,6 @@ func awsRestjson1_deserializeDocumentCreateProtectedResource(v **types.CreatePro if err := awsRestjson1_deserializeDocumentCreateS3BucketResource(&sv.S3Bucket, value); err != nil { return err } - default: _, _ = key, value @@ -13113,12 +12868,10 @@ func awsRestjson1_deserializeDocumentCreateS3BucketResource(v **types.CreateS3Bu } sv.BucketName = ptr.String(jtv) } - case "objectPrefixes": if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanObjectPrefixesList(&sv.ObjectPrefixes, value); err != nil { return err } - default: _, _ = key, value @@ -13189,32 +12942,26 @@ func awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(v **types.Da if err := awsRestjson1_deserializeDocumentCloudTrailConfigurationResult(&sv.CloudTrail, value); err != nil { return err } - case "dnsLogs": if err := awsRestjson1_deserializeDocumentDNSLogsConfigurationResult(&sv.DNSLogs, value); err != nil { return err } - case "flowLogs": if err := awsRestjson1_deserializeDocumentFlowLogsConfigurationResult(&sv.FlowLogs, value); err != nil { return err } - case "kubernetes": if err := awsRestjson1_deserializeDocumentKubernetesConfigurationResult(&sv.Kubernetes, value); err != nil { return err } - case "malwareProtection": if err := awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } - case "s3Logs": if err := awsRestjson1_deserializeDocumentS3LogsConfigurationResult(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -13258,7 +13005,6 @@ func awsRestjson1_deserializeDocumentDataSourceFreeTrial(v **types.DataSourceFre } sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13294,32 +13040,26 @@ func awsRestjson1_deserializeDocumentDataSourcesFreeTrial(v **types.DataSourcesF if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.CloudTrail, value); err != nil { return err } - case "dnsLogs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.DnsLogs, value); err != nil { return err } - case "flowLogs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.FlowLogs, value); err != nil { return err } - case "kubernetes": if err := awsRestjson1_deserializeDocumentKubernetesDataSourceFreeTrial(&sv.Kubernetes, value); err != nil { return err } - case "malwareProtection": if err := awsRestjson1_deserializeDocumentMalwareProtectionDataSourceFreeTrial(&sv.MalwareProtection, value); err != nil { return err } - case "s3Logs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -13366,7 +13106,6 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } - case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -13382,7 +13121,6 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } - case "severity": if value != nil { switch jtv := value.(type) { @@ -13416,7 +13154,6 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } - case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -13429,7 +13166,6 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } sv.TotalFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13469,7 +13205,6 @@ func awsRestjson1_deserializeDocumentDefaultServerSideEncryption(v **types.Defau } sv.EncryptionType = ptr.String(jtv) } - case "kmsMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -13478,7 +13213,6 @@ func awsRestjson1_deserializeDocumentDefaultServerSideEncryption(v **types.Defau } sv.KmsMasterKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13518,7 +13252,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationId = ptr.String(jtv) } - case "destinationType": if value != nil { jtv, ok := value.(string) @@ -13527,7 +13260,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationType = types.DestinationType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13536,7 +13268,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Status = types.PublishingStatus(jtv) } - default: _, _ = key, value @@ -13576,7 +13307,6 @@ func awsRestjson1_deserializeDocumentDestinationProperties(v **types.Destination } sv.DestinationArn = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -13585,7 +13315,6 @@ func awsRestjson1_deserializeDocumentDestinationProperties(v **types.Destination } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13655,7 +13384,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf if err := awsRestjson1_deserializeDocumentAnomaly(&sv.Anomaly, value); err != nil { return err } - default: _, _ = key, value @@ -13695,7 +13423,6 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } sv.Name = types.FeatureAdditionalConfiguration(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13704,7 +13431,6 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } sv.Status = types.FeatureStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13720,7 +13446,6 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } } - default: _, _ = key, value @@ -13790,7 +13515,6 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type if err := awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13799,7 +13523,6 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } sv.Name = types.DetectorFeatureResult(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13808,7 +13531,6 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } sv.Status = types.FeatureStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13824,7 +13546,6 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } } - default: _, _ = key, value @@ -13934,7 +13655,6 @@ func awsRestjson1_deserializeDocumentDNSLogsConfigurationResult(v **types.DNSLog } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -13974,7 +13694,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Blocked = ptr.Bool(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -13983,7 +13702,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Domain = ptr.String(jtv) } - case "domainWithSuffix": if value != nil { jtv, ok := value.(string) @@ -13992,7 +13710,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.DomainWithSuffix = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -14001,7 +13718,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -14041,7 +13757,6 @@ func awsRestjson1_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -14077,12 +13792,10 @@ func awsRestjson1_deserializeDocumentEbsVolumeDetails(v **types.EbsVolumeDetails if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.ScannedVolumeDetails, value); err != nil { return err } - case "skippedVolumeDetails": if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.SkippedVolumeDetails, value); err != nil { return err } - default: _, _ = key, value @@ -14129,12 +13842,10 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } } - case "scanDetections": if err := awsRestjson1_deserializeDocumentScanDetections(&sv.ScanDetections, value); err != nil { return err } - case "scanId": if value != nil { jtv, ok := value.(string) @@ -14143,7 +13854,6 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.ScanId = ptr.String(jtv) } - case "scanStartedAt": if value != nil { switch jtv := value.(type) { @@ -14159,7 +13869,6 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -14168,12 +13877,10 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.ScanType = types.ScanType(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "triggerFindingId": if value != nil { jtv, ok := value.(string) @@ -14182,7 +13889,6 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.TriggerFindingId = ptr.String(jtv) } - default: _, _ = key, value @@ -14222,7 +13928,6 @@ func awsRestjson1_deserializeDocumentEbsVolumesResult(v **types.EbsVolumesResult } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14231,7 +13936,6 @@ func awsRestjson1_deserializeDocumentEbsVolumesResult(v **types.EbsVolumesResult } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -14275,7 +13979,6 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.ActiveServicesCount = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14284,7 +13987,6 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14293,7 +13995,6 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Name = ptr.String(jtv) } - case "registeredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -14306,7 +14007,6 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } - case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -14319,7 +14019,6 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.RunningTasksCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14328,17 +14027,14 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Status = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "taskDetails": if err := awsRestjson1_deserializeDocumentEcsTaskDetails(&sv.TaskDetails, value); err != nil { return err } - default: _, _ = key, value @@ -14378,12 +14074,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Arn = ptr.String(jtv) } - case "containers": if err := awsRestjson1_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } - case "definitionArn": if value != nil { jtv, ok := value.(string) @@ -14392,7 +14086,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.DefinitionArn = ptr.String(jtv) } - case "group": if value != nil { jtv, ok := value.(string) @@ -14401,7 +14094,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Group = ptr.String(jtv) } - case "launchType": if value != nil { jtv, ok := value.(string) @@ -14410,7 +14102,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.LaunchType = ptr.String(jtv) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14426,7 +14117,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -14435,12 +14125,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.StartedBy = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14456,7 +14144,6 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } } - case "version": if value != nil { jtv, ok := value.(string) @@ -14465,12 +14152,10 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Version = ptr.String(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -14510,7 +14195,6 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14526,7 +14210,6 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14535,7 +14218,6 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14544,12 +14226,10 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Status = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14558,7 +14238,6 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -14666,7 +14345,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac if err := awsRestjson1_deserializeDocumentThreatIntelligenceDetails(&sv.ThreatIntelligenceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -14702,7 +14380,6 @@ func awsRestjson1_deserializeDocumentFargateDetails(v **types.FargateDetails, va if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } - case "managementType": if value != nil { jtv, ok := value.(string) @@ -14711,7 +14388,6 @@ func awsRestjson1_deserializeDocumentFargateDetails(v **types.FargateDetails, va } sv.ManagementType = types.ManagementType(jtv) } - default: _, _ = key, value @@ -14821,7 +14497,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14830,7 +14505,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Arn = ptr.String(jtv) } - case "confidence": if value != nil { switch jtv := value.(type) { @@ -14864,7 +14538,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14873,7 +14546,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14882,7 +14554,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14891,7 +14562,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "partition": if value != nil { jtv, ok := value.(string) @@ -14900,7 +14570,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Partition = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -14909,12 +14578,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Region = ptr.String(jtv) } - case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -14923,12 +14590,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = ptr.String(jtv) } - case "service": if err := awsRestjson1_deserializeDocumentService(&sv.Service, value); err != nil { return err } - case "severity": if value != nil { switch jtv := value.(type) { @@ -14962,7 +14627,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "title": if value != nil { jtv, ok := value.(string) @@ -14971,7 +14635,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14980,7 +14643,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14989,7 +14651,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -15025,7 +14686,6 @@ func awsRestjson1_deserializeDocumentFindingCriteria(v **types.FindingCriteria, if err := awsRestjson1_deserializeDocumentCriterion(&sv.Criterion, value); err != nil { return err } - default: _, _ = key, value @@ -15131,32 +14791,26 @@ func awsRestjson1_deserializeDocumentFindingStatistics(v **types.FindingStatisti if err := awsRestjson1_deserializeDocumentCountBySeverity(&sv.CountBySeverity, value); err != nil { return err } - case "groupedByAccount": if err := awsRestjson1_deserializeDocumentGroupedByAccount(&sv.GroupedByAccount, value); err != nil { return err } - case "groupedByDate": if err := awsRestjson1_deserializeDocumentGroupedByDate(&sv.GroupedByDate, value); err != nil { return err } - case "groupedByFindingType": if err := awsRestjson1_deserializeDocumentGroupedByFindingType(&sv.GroupedByFindingType, value); err != nil { return err } - case "groupedByResource": if err := awsRestjson1_deserializeDocumentGroupedByResource(&sv.GroupedByResource, value); err != nil { return err } - case "groupedBySeverity": if err := awsRestjson1_deserializeDocumentGroupedBySeverity(&sv.GroupedBySeverity, value); err != nil { return err } - default: _, _ = key, value @@ -15196,7 +14850,6 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } sv.FindingType = ptr.String(jtv) } - case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -15212,7 +14865,6 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } } - case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -15225,7 +14877,6 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } sv.TotalFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15301,7 +14952,6 @@ func awsRestjson1_deserializeDocumentFlowLogsConfigurationResult(v **types.FlowL } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -15345,7 +14995,6 @@ func awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationResult(v **typ } sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15354,7 +15003,6 @@ func awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationResult(v **typ } sv.Name = types.FreeTrialFeatureResult(jtv) } - default: _, _ = key, value @@ -15453,7 +15101,6 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } - case "lon": if value != nil { switch jtv := value.(type) { @@ -15487,7 +15134,6 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } - default: _, _ = key, value @@ -15737,7 +15383,6 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.Count = ptr.Int32(int32(i64)) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -15746,7 +15391,6 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.Severity = ptr.String(jtv) } - case "threatName": if value != nil { jtv, ok := value.(string) @@ -15755,7 +15399,6 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.ThreatName = ptr.String(jtv) } - default: _, _ = key, value @@ -15795,7 +15438,6 @@ func awsRestjson1_deserializeDocumentHostPath(v **types.HostPath, value interfac } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -15835,7 +15477,6 @@ func awsRestjson1_deserializeDocumentIamInstanceProfile(v **types.IamInstancePro } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15844,7 +15485,6 @@ func awsRestjson1_deserializeDocumentIamInstanceProfile(v **types.IamInstancePro } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -15880,7 +15520,6 @@ func awsRestjson1_deserializeDocumentImpersonatedUser(v **types.ImpersonatedUser if err := awsRestjson1_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "username": if value != nil { jtv, ok := value.(string) @@ -15889,7 +15528,6 @@ func awsRestjson1_deserializeDocumentImpersonatedUser(v **types.ImpersonatedUser } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -15929,12 +15567,10 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.AvailabilityZone = ptr.String(jtv) } - case "iamInstanceProfile": if err := awsRestjson1_deserializeDocumentIamInstanceProfile(&sv.IamInstanceProfile, value); err != nil { return err } - case "imageDescription": if value != nil { jtv, ok := value.(string) @@ -15943,7 +15579,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.ImageDescription = ptr.String(jtv) } - case "imageId": if value != nil { jtv, ok := value.(string) @@ -15952,7 +15587,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.ImageId = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -15961,7 +15595,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceId = ptr.String(jtv) } - case "instanceState": if value != nil { jtv, ok := value.(string) @@ -15970,7 +15603,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceState = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -15979,7 +15611,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceType = ptr.String(jtv) } - case "launchTime": if value != nil { jtv, ok := value.(string) @@ -15988,12 +15619,10 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.LaunchTime = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "outpostArn": if value != nil { jtv, ok := value.(string) @@ -16002,7 +15631,6 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.OutpostArn = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -16011,17 +15639,14 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.Platform = ptr.String(jtv) } - case "productCodes": if err := awsRestjson1_deserializeDocumentProductCodes(&sv.ProductCodes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16051,15 +15676,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16067,7 +15686,6 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - case "__type": if value != nil { jtv, ok := value.(string) @@ -16076,15 +15694,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16119,7 +15733,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } - case "invitationId": if value != nil { jtv, ok := value.(string) @@ -16128,7 +15741,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -16137,7 +15749,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -16146,7 +15757,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.RelationshipStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -16328,7 +15938,6 @@ func awsRestjson1_deserializeDocumentItemPath(v **types.ItemPath, value interfac } sv.Hash = ptr.String(jtv) } - case "nestedItemPath": if value != nil { jtv, ok := value.(string) @@ -16337,7 +15946,6 @@ func awsRestjson1_deserializeDocumentItemPath(v **types.ItemPath, value interfac } sv.NestedItemPath = ptr.String(jtv) } - default: _, _ = key, value @@ -16411,7 +16019,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Namespace = ptr.String(jtv) } - case "parameters": if value != nil { jtv, ok := value.(string) @@ -16420,12 +16027,10 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Parameters = ptr.String(jtv) } - case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - case "requestUri": if value != nil { jtv, ok := value.(string) @@ -16434,7 +16039,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.RequestUri = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -16443,7 +16047,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Resource = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -16452,12 +16055,10 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.ResourceName = ptr.String(jtv) } - case "sourceIPs": if err := awsRestjson1_deserializeDocumentSourceIps(&sv.SourceIps, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(json.Number) @@ -16470,7 +16071,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.StatusCode = ptr.Int32(int32(i64)) } - case "subresource": if value != nil { jtv, ok := value.(string) @@ -16479,7 +16079,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Subresource = ptr.String(jtv) } - case "userAgent": if value != nil { jtv, ok := value.(string) @@ -16488,7 +16087,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.UserAgent = ptr.String(jtv) } - case "verb": if value != nil { jtv, ok := value.(string) @@ -16497,7 +16095,6 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Verb = ptr.String(jtv) } - default: _, _ = key, value @@ -16537,7 +16134,6 @@ func awsRestjson1_deserializeDocumentKubernetesAuditLogsConfigurationResult(v ** } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -16573,7 +16169,6 @@ func awsRestjson1_deserializeDocumentKubernetesConfigurationResult(v **types.Kub if err := awsRestjson1_deserializeDocumentKubernetesAuditLogsConfigurationResult(&sv.AuditLogs, value); err != nil { return err } - default: _, _ = key, value @@ -16609,7 +16204,6 @@ func awsRestjson1_deserializeDocumentKubernetesDataSourceFreeTrial(v **types.Kub if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.AuditLogs, value); err != nil { return err } - default: _, _ = key, value @@ -16645,12 +16239,10 @@ func awsRestjson1_deserializeDocumentKubernetesDetails(v **types.KubernetesDetai if err := awsRestjson1_deserializeDocumentKubernetesUserDetails(&sv.KubernetesUserDetails, value); err != nil { return err } - case "kubernetesWorkloadDetails": if err := awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(&sv.KubernetesWorkloadDetails, value); err != nil { return err } - default: _, _ = key, value @@ -16690,7 +16282,6 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Allowed = ptr.Bool(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -16699,7 +16290,6 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Namespace = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -16708,7 +16298,6 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Resource = ptr.String(jtv) } - case "verb": if value != nil { jtv, ok := value.(string) @@ -16717,7 +16306,6 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Verb = ptr.String(jtv) } - default: _, _ = key, value @@ -16757,7 +16345,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Kind = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16766,7 +16353,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Name = ptr.String(jtv) } - case "roleRefKind": if value != nil { jtv, ok := value.(string) @@ -16775,7 +16361,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.RoleRefKind = ptr.String(jtv) } - case "roleRefName": if value != nil { jtv, ok := value.(string) @@ -16784,7 +16369,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.RoleRefName = ptr.String(jtv) } - case "uid": if value != nil { jtv, ok := value.(string) @@ -16793,7 +16377,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Uid = ptr.String(jtv) } - default: _, _ = key, value @@ -16833,7 +16416,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Kind = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16842,7 +16424,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Name = ptr.String(jtv) } - case "uid": if value != nil { jtv, ok := value.(string) @@ -16851,7 +16432,6 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Uid = ptr.String(jtv) } - default: _, _ = key, value @@ -16887,17 +16467,14 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU if err := awsRestjson1_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "impersonatedUser": if err := awsRestjson1_deserializeDocumentImpersonatedUser(&sv.ImpersonatedUser, value); err != nil { return err } - case "sessionName": if err := awsRestjson1_deserializeDocumentSessionNameList(&sv.SessionName, value); err != nil { return err } - case "uid": if value != nil { jtv, ok := value.(string) @@ -16906,7 +16483,6 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU } sv.Uid = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -16915,7 +16491,6 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -16951,7 +16526,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne if err := awsRestjson1_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } - case "hostIPC": if value != nil { jtv, ok := value.(bool) @@ -16960,7 +16534,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostIPC = ptr.Bool(jtv) } - case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -16969,7 +16542,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostNetwork = ptr.Bool(jtv) } - case "hostPID": if value != nil { jtv, ok := value.(bool) @@ -16978,7 +16550,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostPID = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16987,7 +16558,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -16996,7 +16566,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Namespace = ptr.String(jtv) } - case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -17005,7 +16574,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.ServiceAccountName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17014,7 +16582,6 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Type = ptr.String(jtv) } - case "uid": if value != nil { jtv, ok := value.(string) @@ -17023,12 +16590,10 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Uid = ptr.String(jtv) } - case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -17068,7 +16633,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.Description = ptr.String(jtv) } - case "functionArn": if value != nil { jtv, ok := value.(string) @@ -17077,7 +16641,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionArn = ptr.String(jtv) } - case "functionName": if value != nil { jtv, ok := value.(string) @@ -17086,7 +16649,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionName = ptr.String(jtv) } - case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -17095,7 +16657,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionVersion = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -17111,7 +16672,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -17120,7 +16680,6 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.RevisionId = ptr.String(jtv) } - case "role": if value != nil { jtv, ok := value.(string) @@ -17129,17 +16688,14 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.Role = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -17217,7 +16773,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Euid = ptr.Int32(int32(i64)) } - case "executablePath": if value != nil { jtv, ok := value.(string) @@ -17226,7 +16781,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.ExecutablePath = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17235,7 +16789,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Name = ptr.String(jtv) } - case "namespacePid": if value != nil { jtv, ok := value.(json.Number) @@ -17248,7 +16801,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.NamespacePid = ptr.Int32(int32(i64)) } - case "parentUuid": if value != nil { jtv, ok := value.(string) @@ -17257,7 +16809,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.ParentUuid = ptr.String(jtv) } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -17270,7 +16821,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Pid = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -17286,7 +16836,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } } - case "userId": if value != nil { jtv, ok := value.(json.Number) @@ -17299,7 +16848,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.UserId = ptr.Int32(int32(i64)) } - case "uuid": if value != nil { jtv, ok := value.(string) @@ -17308,7 +16856,6 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Uuid = ptr.String(jtv) } - default: _, _ = key, value @@ -17348,7 +16895,6 @@ func awsRestjson1_deserializeDocumentLocalIpDetails(v **types.LocalIpDetails, va } sv.IpAddressV4 = ptr.String(jtv) } - case "ipAddressV6": if value != nil { jtv, ok := value.(string) @@ -17357,7 +16903,6 @@ func awsRestjson1_deserializeDocumentLocalIpDetails(v **types.LocalIpDetails, va } sv.IpAddressV6 = ptr.String(jtv) } - default: _, _ = key, value @@ -17401,7 +16946,6 @@ func awsRestjson1_deserializeDocumentLocalPortDetails(v **types.LocalPortDetails } sv.Port = ptr.Int32(int32(i64)) } - case "portName": if value != nil { jtv, ok := value.(string) @@ -17410,7 +16954,6 @@ func awsRestjson1_deserializeDocumentLocalPortDetails(v **types.LocalPortDetails } sv.PortName = ptr.String(jtv) } - default: _, _ = key, value @@ -17450,7 +16993,6 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.Application = ptr.String(jtv) } - case "failedLoginAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17463,7 +17005,6 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.FailedLoginAttempts = ptr.Int32(int32(i64)) } - case "successfulLoginAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17476,7 +17017,6 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.SuccessfulLoginAttempts = ptr.Int32(int32(i64)) } - case "user": if value != nil { jtv, ok := value.(string) @@ -17485,7 +17025,6 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -17555,7 +17094,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(v **ty if err := awsRestjson1_deserializeDocumentScanEc2InstanceWithFindingsResult(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -17564,7 +17102,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(v **ty } sv.ServiceRole = ptr.String(jtv) } - default: _, _ = key, value @@ -17600,7 +17137,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionDataSourceFreeTrial(v **ty if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } - default: _, _ = key, value @@ -17636,7 +17172,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanActions(v **types.Malw if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanTaggingAction(&sv.Tagging, value); err != nil { return err } - default: _, _ = key, value @@ -17746,7 +17281,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReason(v **types } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -17755,7 +17289,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReason(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -17829,7 +17362,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanSummary(v **types.Malw } sv.MalwareProtectionPlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -17869,7 +17401,6 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanTaggingAction(v **type } sv.Status = types.MalwareProtectionPlanTaggingActionStatus(jtv) } - default: _, _ = key, value @@ -17905,7 +17436,6 @@ func awsRestjson1_deserializeDocumentMalwareScanDetails(v **types.MalwareScanDet if err := awsRestjson1_deserializeDocumentThreats(&sv.Threats, value); err != nil { return err } - default: _, _ = key, value @@ -17979,7 +17509,6 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "invitationId": if value != nil { jtv, ok := value.(string) @@ -17988,7 +17517,6 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.InvitationId = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -17997,7 +17525,6 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.InvitedAt = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -18006,7 +17533,6 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.RelationshipStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -18046,7 +17572,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "administratorId": if value != nil { jtv, ok := value.(string) @@ -18055,7 +17580,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorId = ptr.String(jtv) } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -18064,7 +17588,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.DetectorId = ptr.String(jtv) } - case "email": if value != nil { jtv, ok := value.(string) @@ -18073,7 +17596,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -18082,7 +17604,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.String(jtv) } - case "masterId": if value != nil { jtv, ok := value.(string) @@ -18091,7 +17612,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterId = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -18100,7 +17620,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -18109,7 +17628,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -18149,7 +17667,6 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18158,7 +17675,6 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } sv.Status = types.FeatureStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -18174,7 +17690,6 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } } - default: _, _ = key, value @@ -18248,17 +17763,14 @@ func awsRestjson1_deserializeDocumentMemberDataSourceConfiguration(v **types.Mem } sv.AccountId = ptr.String(jtv) } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } - case "features": if err := awsRestjson1_deserializeDocumentMemberFeaturesConfigurationsResults(&sv.Features, value); err != nil { return err } - default: _, _ = key, value @@ -18328,7 +17840,6 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types if err := awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18337,7 +17848,6 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } sv.Name = types.OrgFeature(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18346,7 +17856,6 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } sv.Status = types.FeatureStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -18362,7 +17871,6 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } } - default: _, _ = key, value @@ -18542,7 +18050,6 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Blocked = ptr.Bool(jtv) } - case "connectionDirection": if value != nil { jtv, ok := value.(string) @@ -18551,12 +18058,10 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.ConnectionDirection = ptr.String(jtv) } - case "localIpDetails": if err := awsRestjson1_deserializeDocumentLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } - case "localNetworkInterface": if value != nil { jtv, ok := value.(string) @@ -18565,12 +18070,10 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.LocalNetworkInterface = ptr.String(jtv) } - case "localPortDetails": if err := awsRestjson1_deserializeDocumentLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -18579,17 +18082,14 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Protocol = ptr.String(jtv) } - case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - case "remotePortDetails": if err := awsRestjson1_deserializeDocumentRemotePortDetails(&sv.RemotePortDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18625,7 +18125,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIpv6Addresses(&sv.Ipv6Addresses, value); err != nil { return err } - case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -18634,7 +18133,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "privateDnsName": if value != nil { jtv, ok := value.(string) @@ -18643,7 +18141,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateDnsName = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -18652,12 +18149,10 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } - case "privateIpAddresses": if err := awsRestjson1_deserializeDocumentPrivateIpAddresses(&sv.PrivateIpAddresses, value); err != nil { return err } - case "publicDnsName": if value != nil { jtv, ok := value.(string) @@ -18666,7 +18161,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicDnsName = ptr.String(jtv) } - case "publicIp": if value != nil { jtv, ok := value.(string) @@ -18675,12 +18169,10 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIp = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -18689,7 +18181,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -18698,7 +18189,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -18804,7 +18294,6 @@ func awsRestjson1_deserializeDocumentObservations(v **types.Observations, value if err := awsRestjson1_deserializeDocumentObservationTexts(&sv.Text, value); err != nil { return err } - default: _, _ = key, value @@ -18880,7 +18369,6 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Asn = ptr.String(jtv) } - case "asnOrg": if value != nil { jtv, ok := value.(string) @@ -18889,7 +18377,6 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.AsnOrg = ptr.String(jtv) } - case "isp": if value != nil { jtv, ok := value.(string) @@ -18898,7 +18385,6 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Isp = ptr.String(jtv) } - case "org": if value != nil { jtv, ok := value.(string) @@ -18907,7 +18393,6 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Org = ptr.String(jtv) } - default: _, _ = key, value @@ -18947,7 +18432,6 @@ func awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResult(v } sv.AutoEnable = types.OrgFeatureStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18956,7 +18440,6 @@ func awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResult(v } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } - default: _, _ = key, value @@ -19026,17 +18509,14 @@ func awsRestjson1_deserializeDocumentOrganizationDataSourceConfigurationsResult( if err := awsRestjson1_deserializeDocumentOrganizationKubernetesConfigurationResult(&sv.Kubernetes, value); err != nil { return err } - case "malwareProtection": if err := awsRestjson1_deserializeDocumentOrganizationMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } - case "s3Logs": if err := awsRestjson1_deserializeDocumentOrganizationS3LogsConfigurationResult(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -19072,7 +18552,6 @@ func awsRestjson1_deserializeDocumentOrganizationDetails(v **types.OrganizationD if err := awsRestjson1_deserializeDocumentOrganizationStatistics(&sv.OrganizationStatistics, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -19088,7 +18567,6 @@ func awsRestjson1_deserializeDocumentOrganizationDetails(v **types.OrganizationD } } - default: _, _ = key, value @@ -19128,7 +18606,6 @@ func awsRestjson1_deserializeDocumentOrganizationEbsVolumesResult(v **types.Orga } sv.AutoEnable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19164,7 +18641,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** if err := awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } - case "autoEnable": if value != nil { jtv, ok := value.(string) @@ -19173,7 +18649,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** } sv.AutoEnable = types.OrgFeatureStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19182,7 +18657,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** } sv.Name = types.OrgFeature(jtv) } - default: _, _ = key, value @@ -19252,7 +18726,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org if err := awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConfigurations(&sv.AdditionalConfiguration, value); err != nil { return err } - case "enabledAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19265,7 +18738,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19274,7 +18746,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org } sv.Name = types.OrgFeature(jtv) } - default: _, _ = key, value @@ -19318,7 +18789,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConf } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19327,7 +18797,6 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConf } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } - default: _, _ = key, value @@ -19435,7 +18904,6 @@ func awsRestjson1_deserializeDocumentOrganizationKubernetesAuditLogsConfiguratio } sv.AutoEnable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19471,7 +18939,6 @@ func awsRestjson1_deserializeDocumentOrganizationKubernetesConfigurationResult(v if err := awsRestjson1_deserializeDocumentOrganizationKubernetesAuditLogsConfigurationResult(&sv.AuditLogs, value); err != nil { return err } - default: _, _ = key, value @@ -19507,7 +18974,6 @@ func awsRestjson1_deserializeDocumentOrganizationMalwareProtectionConfigurationR if err := awsRestjson1_deserializeDocumentOrganizationScanEc2InstanceWithFindingsResult(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } - default: _, _ = key, value @@ -19547,7 +19013,6 @@ func awsRestjson1_deserializeDocumentOrganizationS3LogsConfigurationResult(v **t } sv.AutoEnable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19583,7 +19048,6 @@ func awsRestjson1_deserializeDocumentOrganizationScanEc2InstanceWithFindingsResu if err := awsRestjson1_deserializeDocumentOrganizationEbsVolumesResult(&sv.EbsVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -19627,12 +19091,10 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.ActiveAccountsCount = ptr.Int32(int32(i64)) } - case "countByFeature": if err := awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsResults(&sv.CountByFeature, value); err != nil { return err } - case "enabledAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19645,7 +19107,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } - case "memberAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19658,7 +19119,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.MemberAccountsCount = ptr.Int32(int32(i64)) } - case "totalAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19671,7 +19131,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.TotalAccountsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19711,7 +19170,6 @@ func awsRestjson1_deserializeDocumentOwner(v **types.Owner, value interface{}) e } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -19747,12 +19205,10 @@ func awsRestjson1_deserializeDocumentPermissionConfiguration(v **types.Permissio if err := awsRestjson1_deserializeDocumentAccountLevelPermissions(&sv.AccountLevelPermissions, value); err != nil { return err } - case "bucketLevelPermissions": if err := awsRestjson1_deserializeDocumentBucketLevelPermissions(&sv.BucketLevelPermissions, value); err != nil { return err } - default: _, _ = key, value @@ -19792,12 +19248,10 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, } sv.Blocked = ptr.Bool(jtv) } - case "portProbeDetails": if err := awsRestjson1_deserializeDocumentPortProbeDetails(&sv.PortProbeDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19833,17 +19287,14 @@ func awsRestjson1_deserializeDocumentPortProbeDetail(v **types.PortProbeDetail, if err := awsRestjson1_deserializeDocumentLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } - case "localPortDetails": if err := awsRestjson1_deserializeDocumentLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } - case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19917,7 +19368,6 @@ func awsRestjson1_deserializeDocumentPrivateIpAddressDetails(v **types.PrivateIp } sv.PrivateDnsName = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -19926,7 +19376,6 @@ func awsRestjson1_deserializeDocumentPrivateIpAddressDetails(v **types.PrivateIp } sv.PrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -20004,7 +19453,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Euid = ptr.Int32(int32(i64)) } - case "executablePath": if value != nil { jtv, ok := value.(string) @@ -20013,7 +19461,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ExecutablePath = ptr.String(jtv) } - case "executableSha256": if value != nil { jtv, ok := value.(string) @@ -20022,12 +19469,10 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ExecutableSha256 = ptr.String(jtv) } - case "lineage": if err := awsRestjson1_deserializeDocumentLineage(&sv.Lineage, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -20036,7 +19481,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Name = ptr.String(jtv) } - case "namespacePid": if value != nil { jtv, ok := value.(json.Number) @@ -20049,7 +19493,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.NamespacePid = ptr.Int32(int32(i64)) } - case "parentUuid": if value != nil { jtv, ok := value.(string) @@ -20058,7 +19501,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ParentUuid = ptr.String(jtv) } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -20071,7 +19513,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pid = ptr.Int32(int32(i64)) } - case "pwd": if value != nil { jtv, ok := value.(string) @@ -20080,7 +19521,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pwd = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -20096,7 +19536,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } } - case "user": if value != nil { jtv, ok := value.(string) @@ -20105,7 +19544,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.User = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(json.Number) @@ -20118,7 +19556,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.UserId = ptr.Int32(int32(i64)) } - case "uuid": if value != nil { jtv, ok := value.(string) @@ -20127,7 +19564,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Uuid = ptr.String(jtv) } - default: _, _ = key, value @@ -20167,7 +19603,6 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.Code = ptr.String(jtv) } - case "productCodeType": if value != nil { jtv, ok := value.(string) @@ -20176,7 +19611,6 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductType = ptr.String(jtv) } - default: _, _ = key, value @@ -20250,12 +19684,10 @@ func awsRestjson1_deserializeDocumentPublicAccess(v **types.PublicAccess, value } sv.EffectivePermission = ptr.String(jtv) } - case "permissionConfiguration": if err := awsRestjson1_deserializeDocumentPermissionConfiguration(&sv.PermissionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20295,7 +19727,6 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbClusterIdentifier = ptr.String(jtv) } - case "dbInstanceArn": if value != nil { jtv, ok := value.(string) @@ -20304,7 +19735,6 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbInstanceArn = ptr.String(jtv) } - case "dbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -20313,7 +19743,6 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbInstanceIdentifier = ptr.String(jtv) } - case "engine": if value != nil { jtv, ok := value.(string) @@ -20322,7 +19751,6 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.Engine = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -20331,12 +19759,10 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.EngineVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20376,7 +19802,6 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Application = ptr.String(jtv) } - case "authMethod": if value != nil { jtv, ok := value.(string) @@ -20385,7 +19810,6 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.AuthMethod = ptr.String(jtv) } - case "database": if value != nil { jtv, ok := value.(string) @@ -20394,7 +19818,6 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Database = ptr.String(jtv) } - case "ssl": if value != nil { jtv, ok := value.(string) @@ -20403,7 +19826,6 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Ssl = ptr.String(jtv) } - case "user": if value != nil { jtv, ok := value.(string) @@ -20412,7 +19834,6 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.User = ptr.String(jtv) } - default: _, _ = key, value @@ -20448,12 +19869,10 @@ func awsRestjson1_deserializeDocumentRdsLoginAttemptAction(v **types.RdsLoginAtt if err := awsRestjson1_deserializeDocumentLoginAttributes(&sv.LoginAttributes, value); err != nil { return err } - case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - default: _, _ = key, value @@ -20493,7 +19912,6 @@ func awsRestjson1_deserializeDocumentRemoteAccountDetails(v **types.RemoteAccoun } sv.AccountId = ptr.String(jtv) } - case "affiliated": if value != nil { jtv, ok := value.(bool) @@ -20502,7 +19920,6 @@ func awsRestjson1_deserializeDocumentRemoteAccountDetails(v **types.RemoteAccoun } sv.Affiliated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20538,17 +19955,14 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, if err := awsRestjson1_deserializeDocumentCity(&sv.City, value); err != nil { return err } - case "country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } - case "geoLocation": if err := awsRestjson1_deserializeDocumentGeoLocation(&sv.GeoLocation, value); err != nil { return err } - case "ipAddressV4": if value != nil { jtv, ok := value.(string) @@ -20557,7 +19971,6 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, } sv.IpAddressV4 = ptr.String(jtv) } - case "ipAddressV6": if value != nil { jtv, ok := value.(string) @@ -20566,12 +19979,10 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, } sv.IpAddressV6 = ptr.String(jtv) } - case "organization": if err := awsRestjson1_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } - default: _, _ = key, value @@ -20615,7 +20026,6 @@ func awsRestjson1_deserializeDocumentRemotePortDetails(v **types.RemotePortDetai } sv.Port = ptr.Int32(int32(i64)) } - case "portName": if value != nil { jtv, ok := value.(string) @@ -20624,7 +20034,6 @@ func awsRestjson1_deserializeDocumentRemotePortDetails(v **types.RemotePortDetai } sv.PortName = ptr.String(jtv) } - default: _, _ = key, value @@ -20660,52 +20069,42 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentAccessKeyDetails(&sv.AccessKeyDetails, value); err != nil { return err } - case "containerDetails": if err := awsRestjson1_deserializeDocumentContainer(&sv.ContainerDetails, value); err != nil { return err } - case "ebsVolumeDetails": if err := awsRestjson1_deserializeDocumentEbsVolumeDetails(&sv.EbsVolumeDetails, value); err != nil { return err } - case "ecsClusterDetails": if err := awsRestjson1_deserializeDocumentEcsClusterDetails(&sv.EcsClusterDetails, value); err != nil { return err } - case "eksClusterDetails": if err := awsRestjson1_deserializeDocumentEksClusterDetails(&sv.EksClusterDetails, value); err != nil { return err } - case "instanceDetails": if err := awsRestjson1_deserializeDocumentInstanceDetails(&sv.InstanceDetails, value); err != nil { return err } - case "kubernetesDetails": if err := awsRestjson1_deserializeDocumentKubernetesDetails(&sv.KubernetesDetails, value); err != nil { return err } - case "lambdaDetails": if err := awsRestjson1_deserializeDocumentLambdaDetails(&sv.LambdaDetails, value); err != nil { return err } - case "rdsDbInstanceDetails": if err := awsRestjson1_deserializeDocumentRdsDbInstanceDetails(&sv.RdsDbInstanceDetails, value); err != nil { return err } - case "rdsDbUserDetails": if err := awsRestjson1_deserializeDocumentRdsDbUserDetails(&sv.RdsDbUserDetails, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20714,12 +20113,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } - case "s3BucketDetails": if err := awsRestjson1_deserializeDocumentS3BucketDetails(&sv.S3BucketDetails, value); err != nil { return err } - default: _, _ = key, value @@ -20759,7 +20156,6 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.InstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20789,15 +20185,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20805,7 +20195,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "__type": if value != nil { jtv, ok := value.(string) @@ -20814,15 +20203,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20857,7 +20242,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.AccountId = ptr.String(jtv) } - case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -20873,7 +20257,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20882,7 +20265,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20891,7 +20273,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.ResourceType = ptr.String(jtv) } - case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -20904,7 +20285,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20944,7 +20324,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.AddressFamily = ptr.String(jtv) } - case "commandLineExample": if value != nil { jtv, ok := value.(string) @@ -20953,7 +20332,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.CommandLineExample = ptr.String(jtv) } - case "fileSystemType": if value != nil { jtv, ok := value.(string) @@ -20962,12 +20340,10 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.FileSystemType = ptr.String(jtv) } - case "flags": if err := awsRestjson1_deserializeDocumentFlagsList(&sv.Flags, value); err != nil { return err } - case "ianaProtocolNumber": if value != nil { jtv, ok := value.(json.Number) @@ -20980,7 +20356,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.IanaProtocolNumber = ptr.Int32(int32(i64)) } - case "ldPreloadValue": if value != nil { jtv, ok := value.(string) @@ -20989,7 +20364,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.LdPreloadValue = ptr.String(jtv) } - case "libraryPath": if value != nil { jtv, ok := value.(string) @@ -20998,12 +20372,10 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.LibraryPath = ptr.String(jtv) } - case "memoryRegions": if err := awsRestjson1_deserializeDocumentMemoryRegionsList(&sv.MemoryRegions, value); err != nil { return err } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -21019,12 +20391,10 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } } - case "modifyingProcess": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.ModifyingProcess, value); err != nil { return err } - case "moduleFilePath": if value != nil { jtv, ok := value.(string) @@ -21033,7 +20403,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleFilePath = ptr.String(jtv) } - case "moduleName": if value != nil { jtv, ok := value.(string) @@ -21042,7 +20411,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleName = ptr.String(jtv) } - case "moduleSha256": if value != nil { jtv, ok := value.(string) @@ -21051,7 +20419,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleSha256 = ptr.String(jtv) } - case "mountSource": if value != nil { jtv, ok := value.(string) @@ -21060,7 +20427,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.MountSource = ptr.String(jtv) } - case "mountTarget": if value != nil { jtv, ok := value.(string) @@ -21069,7 +20435,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.MountTarget = ptr.String(jtv) } - case "releaseAgentPath": if value != nil { jtv, ok := value.(string) @@ -21078,7 +20443,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ReleaseAgentPath = ptr.String(jtv) } - case "runcBinaryPath": if value != nil { jtv, ok := value.(string) @@ -21087,7 +20451,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.RuncBinaryPath = ptr.String(jtv) } - case "scriptPath": if value != nil { jtv, ok := value.(string) @@ -21096,7 +20459,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ScriptPath = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -21105,7 +20467,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ServiceName = ptr.String(jtv) } - case "shellHistoryFilePath": if value != nil { jtv, ok := value.(string) @@ -21114,7 +20475,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ShellHistoryFilePath = ptr.String(jtv) } - case "socketPath": if value != nil { jtv, ok := value.(string) @@ -21123,12 +20483,10 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.SocketPath = ptr.String(jtv) } - case "targetProcess": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.TargetProcess, value); err != nil { return err } - case "threatFilePath": if value != nil { jtv, ok := value.(string) @@ -21137,7 +20495,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ThreatFilePath = ptr.String(jtv) } - case "toolCategory": if value != nil { jtv, ok := value.(string) @@ -21146,7 +20503,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ToolCategory = ptr.String(jtv) } - case "toolName": if value != nil { jtv, ok := value.(string) @@ -21155,7 +20511,6 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ToolName = ptr.String(jtv) } - default: _, _ = key, value @@ -21191,12 +20546,10 @@ func awsRestjson1_deserializeDocumentRuntimeDetails(v **types.RuntimeDetails, va if err := awsRestjson1_deserializeDocumentRuntimeContext(&sv.Context, value); err != nil { return err } - case "process": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.Process, value); err != nil { return err } - default: _, _ = key, value @@ -21236,7 +20589,6 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -21252,12 +20604,10 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } } - case "defaultServerSideEncryption": if err := awsRestjson1_deserializeDocumentDefaultServerSideEncryption(&sv.DefaultServerSideEncryption, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -21266,27 +20616,22 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Name = ptr.String(jtv) } - case "owner": if err := awsRestjson1_deserializeDocumentOwner(&sv.Owner, value); err != nil { return err } - case "publicAccess": if err := awsRestjson1_deserializeDocumentPublicAccess(&sv.PublicAccess, value); err != nil { return err } - case "s3ObjectDetails": if err := awsRestjson1_deserializeDocumentS3ObjectDetails(&sv.S3ObjectDetails, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -21295,7 +20640,6 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -21369,7 +20713,6 @@ func awsRestjson1_deserializeDocumentS3LogsConfigurationResult(v **types.S3LogsC } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -21409,7 +20752,6 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.ETag = ptr.String(jtv) } - case "hash": if value != nil { jtv, ok := value.(string) @@ -21418,7 +20760,6 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.Hash = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -21427,7 +20768,6 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.Key = ptr.String(jtv) } - case "objectArn": if value != nil { jtv, ok := value.(string) @@ -21436,7 +20776,6 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.ObjectArn = ptr.String(jtv) } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -21445,7 +20784,6 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -21519,7 +20857,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.AccountId = ptr.String(jtv) } - case "adminDetectorId": if value != nil { jtv, ok := value.(string) @@ -21528,12 +20865,10 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.AdminDetectorId = ptr.String(jtv) } - case "attachedVolumes": if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.AttachedVolumes, value); err != nil { return err } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -21542,7 +20877,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.DetectorId = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -21551,7 +20885,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.FailureReason = ptr.String(jtv) } - case "fileCount": if value != nil { jtv, ok := value.(json.Number) @@ -21564,12 +20897,10 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.FileCount = ptr.Int64(i64) } - case "resourceDetails": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "scanEndTime": if value != nil { switch jtv := value.(type) { @@ -21585,7 +20916,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } } - case "scanId": if value != nil { jtv, ok := value.(string) @@ -21594,12 +20924,10 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanId = ptr.String(jtv) } - case "scanResultDetails": if err := awsRestjson1_deserializeDocumentScanResultDetails(&sv.ScanResultDetails, value); err != nil { return err } - case "scanStartTime": if value != nil { switch jtv := value.(type) { @@ -21615,7 +20943,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } } - case "scanStatus": if value != nil { jtv, ok := value.(string) @@ -21624,7 +20951,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanStatus = types.ScanStatus(jtv) } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -21633,7 +20959,6 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanType = types.ScanType(jtv) } - case "totalBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21646,12 +20971,10 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.TotalBytes = ptr.Int64(i64) } - case "triggerDetails": if err := awsRestjson1_deserializeDocumentTriggerDetails(&sv.TriggerDetails, value); err != nil { return err } - default: _, _ = key, value @@ -21687,7 +21010,6 @@ func awsRestjson1_deserializeDocumentScanCondition(v **types.ScanCondition, valu if err := awsRestjson1_deserializeDocumentMapEquals(&sv.MapEquals, value); err != nil { return err } - default: _, _ = key, value @@ -21727,7 +21049,6 @@ func awsRestjson1_deserializeDocumentScanConditionPair(v **types.ScanConditionPa } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -21736,7 +21057,6 @@ func awsRestjson1_deserializeDocumentScanConditionPair(v **types.ScanConditionPa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -21807,22 +21127,18 @@ func awsRestjson1_deserializeDocumentScanDetections(v **types.ScanDetections, va if err := awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(&sv.HighestSeverityThreatDetails, value); err != nil { return err } - case "scannedItemCount": if err := awsRestjson1_deserializeDocumentScannedItemCount(&sv.ScannedItemCount, value); err != nil { return err } - case "threatDetectedByName": if err := awsRestjson1_deserializeDocumentThreatDetectedByName(&sv.ThreatDetectedByName, value); err != nil { return err } - case "threatsDetectedItemCount": if err := awsRestjson1_deserializeDocumentThreatsDetectedItemCount(&sv.ThreatsDetectedItemCount, value); err != nil { return err } - default: _, _ = key, value @@ -21858,7 +21174,6 @@ func awsRestjson1_deserializeDocumentScanEc2InstanceWithFindingsResult(v **types if err := awsRestjson1_deserializeDocumentEbsVolumesResult(&sv.EbsVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -21898,7 +21213,6 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.FileName = ptr.String(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -21907,7 +21221,6 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.FilePath = ptr.String(jtv) } - case "hash": if value != nil { jtv, ok := value.(string) @@ -21916,7 +21229,6 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.Hash = ptr.String(jtv) } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -21925,7 +21237,6 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.VolumeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21969,7 +21280,6 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.Files = ptr.Int32(int32(i64)) } - case "totalGb": if value != nil { jtv, ok := value.(json.Number) @@ -21982,7 +21292,6 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.TotalGb = ptr.Int32(int32(i64)) } - case "volumes": if value != nil { jtv, ok := value.(json.Number) @@ -21995,7 +21304,6 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.Volumes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22031,12 +21339,10 @@ func awsRestjson1_deserializeDocumentScanResourceCriteria(v **types.ScanResource if err := awsRestjson1_deserializeDocumentScanCriterion(&sv.Exclude, value); err != nil { return err } - case "include": if err := awsRestjson1_deserializeDocumentScanCriterion(&sv.Include, value); err != nil { return err } - default: _, _ = key, value @@ -22076,7 +21382,6 @@ func awsRestjson1_deserializeDocumentScanResultDetails(v **types.ScanResultDetai } sv.ScanResult = types.ScanResult(jtv) } - default: _, _ = key, value @@ -22146,7 +21451,6 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va if err := awsRestjson1_deserializeDocumentFilePaths(&sv.FilePaths, value); err != nil { return err } - case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -22159,7 +21463,6 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.ItemCount = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22168,7 +21471,6 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.Name = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -22177,7 +21479,6 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.Severity = ptr.String(jtv) } - default: _, _ = key, value @@ -22251,7 +21552,6 @@ func awsRestjson1_deserializeDocumentSecurityContext(v **types.SecurityContext, } sv.AllowPrivilegeEscalation = ptr.Bool(jtv) } - case "privileged": if value != nil { jtv, ok := value.(bool) @@ -22260,7 +21560,6 @@ func awsRestjson1_deserializeDocumentSecurityContext(v **types.SecurityContext, } sv.Privileged = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22300,7 +21599,6 @@ func awsRestjson1_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -22309,7 +21607,6 @@ func awsRestjson1_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -22379,12 +21676,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "additionalInfo": if err := awsRestjson1_deserializeDocumentServiceAdditionalInfo(&sv.AdditionalInfo, value); err != nil { return err } - case "archived": if value != nil { jtv, ok := value.(bool) @@ -22393,7 +21688,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Archived = ptr.Bool(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -22406,12 +21700,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Count = ptr.Int32(int32(i64)) } - case "detection": if err := awsRestjson1_deserializeDocumentDetection(&sv.Detection, value); err != nil { return err } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -22420,12 +21712,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.DetectorId = ptr.String(jtv) } - case "ebsVolumeScanDetails": if err := awsRestjson1_deserializeDocumentEbsVolumeScanDetails(&sv.EbsVolumeScanDetails, value); err != nil { return err } - case "eventFirstSeen": if value != nil { jtv, ok := value.(string) @@ -22434,7 +21724,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.EventFirstSeen = ptr.String(jtv) } - case "eventLastSeen": if value != nil { jtv, ok := value.(string) @@ -22443,12 +21732,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.EventLastSeen = ptr.String(jtv) } - case "evidence": if err := awsRestjson1_deserializeDocumentEvidence(&sv.Evidence, value); err != nil { return err } - case "featureName": if value != nil { jtv, ok := value.(string) @@ -22457,12 +21744,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.FeatureName = ptr.String(jtv) } - case "malwareScanDetails": if err := awsRestjson1_deserializeDocumentMalwareScanDetails(&sv.MalwareScanDetails, value); err != nil { return err } - case "resourceRole": if value != nil { jtv, ok := value.(string) @@ -22471,12 +21756,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ResourceRole = ptr.String(jtv) } - case "runtimeDetails": if err := awsRestjson1_deserializeDocumentRuntimeDetails(&sv.RuntimeDetails, value); err != nil { return err } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -22485,7 +21768,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } - case "userFeedback": if value != nil { jtv, ok := value.(string) @@ -22494,7 +21776,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.UserFeedback = ptr.String(jtv) } - default: _, _ = key, value @@ -22534,7 +21815,6 @@ func awsRestjson1_deserializeDocumentServiceAdditionalInfo(v **types.ServiceAddi } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22543,7 +21823,6 @@ func awsRestjson1_deserializeDocumentServiceAdditionalInfo(v **types.ServiceAddi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22626,7 +21905,6 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } } - case "severity": if value != nil { switch jtv := value.(type) { @@ -22660,7 +21938,6 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } } - case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -22673,7 +21950,6 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } sv.TotalFindings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22821,7 +22097,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22830,7 +22105,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22936,7 +22210,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) if err := awsRestjson1_deserializeDocumentItemPaths(&sv.ItemPaths, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -22945,7 +22218,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Name = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -22954,7 +22226,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -22998,7 +22269,6 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.ItemCount = ptr.Int32(int32(i64)) } - case "shortened": if value != nil { jtv, ok := value.(bool) @@ -23007,12 +22277,10 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.Shortened = ptr.Bool(jtv) } - case "threatNames": if err := awsRestjson1_deserializeDocumentScanThreatNames(&sv.ThreatNames, value); err != nil { return err } - case "uniqueThreatNameCount": if value != nil { jtv, ok := value.(json.Number) @@ -23025,7 +22293,6 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.UniqueThreatNameCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23065,7 +22332,6 @@ func awsRestjson1_deserializeDocumentThreatIntelligenceDetail(v **types.ThreatIn } sv.ThreatFileSha256 = ptr.String(jtv) } - case "threatListName": if value != nil { jtv, ok := value.(string) @@ -23074,12 +22340,10 @@ func awsRestjson1_deserializeDocumentThreatIntelligenceDetail(v **types.ThreatIn } sv.ThreatListName = ptr.String(jtv) } - case "threatNames": if err := awsRestjson1_deserializeDocumentThreatNames(&sv.ThreatNames, value); err != nil { return err } - default: _, _ = key, value @@ -23263,7 +22527,6 @@ func awsRestjson1_deserializeDocumentThreatsDetectedItemCount(v **types.ThreatsD } sv.Files = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23303,7 +22566,6 @@ func awsRestjson1_deserializeDocumentTotal(v **types.Total, value interface{}) e } sv.Amount = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -23312,7 +22574,6 @@ func awsRestjson1_deserializeDocumentTotal(v **types.Total, value interface{}) e } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -23352,7 +22613,6 @@ func awsRestjson1_deserializeDocumentTriggerDetails(v **types.TriggerDetails, va } sv.Description = ptr.String(jtv) } - case "guardDutyFindingId": if value != nil { jtv, ok := value.(string) @@ -23361,7 +22621,6 @@ func awsRestjson1_deserializeDocumentTriggerDetails(v **types.TriggerDetails, va } sv.GuardDutyFindingId = ptr.String(jtv) } - default: _, _ = key, value @@ -23401,7 +22660,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } - case "result": if value != nil { jtv, ok := value.(string) @@ -23410,7 +22668,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -23480,7 +22737,6 @@ func awsRestjson1_deserializeDocumentUnprocessedDataSourcesResult(v **types.Unpr if err := awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } - default: _, _ = key, value @@ -23520,12 +22776,10 @@ func awsRestjson1_deserializeDocumentUsageAccountResult(v **types.UsageAccountRe } sv.AccountId = ptr.String(jtv) } - case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -23599,12 +22853,10 @@ func awsRestjson1_deserializeDocumentUsageDataSourceResult(v **types.UsageDataSo } sv.DataSource = types.DataSource(jtv) } - case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -23678,12 +22930,10 @@ func awsRestjson1_deserializeDocumentUsageFeatureResult(v **types.UsageFeatureRe } sv.Feature = types.UsageFeature(jtv) } - case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -23757,12 +23007,10 @@ func awsRestjson1_deserializeDocumentUsageResourceResult(v **types.UsageResource } sv.Resource = ptr.String(jtv) } - case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -23832,32 +23080,26 @@ func awsRestjson1_deserializeDocumentUsageStatistics(v **types.UsageStatistics, if err := awsRestjson1_deserializeDocumentUsageAccountResultList(&sv.SumByAccount, value); err != nil { return err } - case "sumByDataSource": if err := awsRestjson1_deserializeDocumentUsageDataSourceResultList(&sv.SumByDataSource, value); err != nil { return err } - case "sumByFeature": if err := awsRestjson1_deserializeDocumentUsageFeatureResultList(&sv.SumByFeature, value); err != nil { return err } - case "sumByResource": if err := awsRestjson1_deserializeDocumentUsageResourceResultList(&sv.SumByResource, value); err != nil { return err } - case "topAccountsByFeature": if err := awsRestjson1_deserializeDocumentUsageTopAccountsResultList(&sv.TopAccountsByFeature, value); err != nil { return err } - case "topResources": if err := awsRestjson1_deserializeDocumentUsageResourceResultList(&sv.TopResources, value); err != nil { return err } - default: _, _ = key, value @@ -23897,12 +23139,10 @@ func awsRestjson1_deserializeDocumentUsageTopAccountResult(v **types.UsageTopAcc } sv.AccountId = ptr.String(jtv) } - case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } - default: _, _ = key, value @@ -23972,7 +23212,6 @@ func awsRestjson1_deserializeDocumentUsageTopAccountsResult(v **types.UsageTopAc if err := awsRestjson1_deserializeDocumentUsageTopAccountsByFeatureList(&sv.Accounts, value); err != nil { return err } - case "feature": if value != nil { jtv, ok := value.(string) @@ -23981,7 +23220,6 @@ func awsRestjson1_deserializeDocumentUsageTopAccountsResult(v **types.UsageTopAc } sv.Feature = types.UsageFeature(jtv) } - default: _, _ = key, value @@ -24051,7 +23289,6 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsRestjson1_deserializeDocumentHostPath(&sv.HostPath, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -24060,7 +23297,6 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -24100,7 +23336,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.DeviceName = ptr.String(jtv) } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -24109,7 +23344,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.EncryptionType = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -24118,7 +23352,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.KmsKeyArn = ptr.String(jtv) } - case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -24127,7 +23360,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.SnapshotArn = ptr.String(jtv) } - case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -24136,7 +23368,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeArn = ptr.String(jtv) } - case "volumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -24149,7 +23380,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -24158,7 +23388,6 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -24232,7 +23461,6 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.MountPath = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -24241,7 +23469,6 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -24345,12 +23572,10 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -24359,7 +23584,6 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/health/deserializers.go b/service/health/deserializers.go index a090fa26cd0..d10230a96b6 100644 --- a/service/health/deserializers.go +++ b/service/health/deserializers.go @@ -1681,7 +1681,6 @@ func awsAwsjson11_deserializeDocumentAccountEntityAggregate(v **types.AccountEnt } sv.AccountId = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -1694,12 +1693,10 @@ func awsAwsjson11_deserializeDocumentAccountEntityAggregate(v **types.AccountEnt } sv.Count = int32(i64) } - case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } - default: _, _ = key, value @@ -1809,7 +1806,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.AwsAccountId = ptr.String(jtv) } - case "entityArn": if value != nil { jtv, ok := value.(string) @@ -1818,7 +1814,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityArn = ptr.String(jtv) } - case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -1827,7 +1822,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityUrl = ptr.String(jtv) } - case "entityValue": if value != nil { jtv, ok := value.(string) @@ -1836,7 +1830,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityValue = ptr.String(jtv) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -1845,7 +1838,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EventArn = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1861,7 +1853,6 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -1870,12 +1861,10 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.StatusCode = types.EntityStatusCode(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagSet(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1905,15 +1894,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1921,15 +1904,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2138,7 +2117,6 @@ func awsAwsjson11_deserializeDocumentEntityAggregate(v **types.EntityAggregate, } sv.Count = int32(i64) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2147,12 +2125,10 @@ func awsAwsjson11_deserializeDocumentEntityAggregate(v **types.EntityAggregate, } sv.EventArn = ptr.String(jtv) } - case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } - default: _, _ = key, value @@ -2300,7 +2276,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -2309,7 +2284,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.AvailabilityZone = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -2325,7 +2299,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -2334,7 +2307,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventScopeCode = types.EventScopeCode(jtv) } - case "eventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -2343,7 +2315,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeCategory = types.EventTypeCategory(jtv) } - case "eventTypeCode": if value != nil { jtv, ok := value.(string) @@ -2352,7 +2323,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeCode = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2368,7 +2338,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "region": if value != nil { jtv, ok := value.(string) @@ -2377,7 +2346,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Region = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -2386,7 +2354,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Service = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -2402,7 +2369,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -2411,7 +2377,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.StatusCode = types.EventStatusCode(jtv) } - default: _, _ = key, value @@ -2451,7 +2416,6 @@ func awsAwsjson11_deserializeDocumentEventAggregate(v **types.EventAggregate, va } sv.AggregateValue = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -2464,7 +2428,6 @@ func awsAwsjson11_deserializeDocumentEventAggregate(v **types.EventAggregate, va } sv.Count = int32(i64) } - default: _, _ = key, value @@ -2538,7 +2501,6 @@ func awsAwsjson11_deserializeDocumentEventDescription(v **types.EventDescription } sv.LatestDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -2574,17 +2536,14 @@ func awsAwsjson11_deserializeDocumentEventDetails(v **types.EventDetails, value if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "eventDescription": if err := awsAwsjson11_deserializeDocumentEventDescription(&sv.EventDescription, value); err != nil { return err } - case "eventMetadata": if err := awsAwsjson11_deserializeDocumentEventMetadata(&sv.EventMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -2624,7 +2583,6 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.ErrorMessage = ptr.String(jtv) } - case "errorName": if value != nil { jtv, ok := value.(string) @@ -2633,7 +2591,6 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.ErrorName = ptr.String(jtv) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2642,7 +2599,6 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.EventArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2752,7 +2708,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Category = types.EventTypeCategory(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -2761,7 +2716,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Code = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -2770,7 +2724,6 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Service = ptr.String(jtv) } - default: _, _ = key, value @@ -2834,15 +2787,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationToken(v **types.InvalidPag sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2850,15 +2797,11 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationToken(v **types.InvalidPag } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2893,7 +2836,6 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.AwsAccountId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2902,7 +2844,6 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.ErrorMessage = ptr.String(jtv) } - case "errorName": if value != nil { jtv, ok := value.(string) @@ -2911,7 +2852,6 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.ErrorName = ptr.String(jtv) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2920,7 +2860,6 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.EventArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2956,7 +2895,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ if err := awsAwsjson11_deserializeDocumentAccountEntityAggregatesList(&sv.Accounts, value); err != nil { return err } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -2969,7 +2907,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ } sv.Count = int32(i64) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2978,12 +2915,10 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ } sv.EventArn = ptr.String(jtv) } - case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } - default: _, _ = key, value @@ -3057,7 +2992,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Arn = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -3073,7 +3007,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } - case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -3082,7 +3015,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventScopeCode = types.EventScopeCode(jtv) } - case "eventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -3091,7 +3023,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventTypeCategory = types.EventTypeCategory(jtv) } - case "eventTypeCode": if value != nil { jtv, ok := value.(string) @@ -3100,7 +3031,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventTypeCode = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3116,7 +3046,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } - case "region": if value != nil { jtv, ok := value.(string) @@ -3125,7 +3054,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Region = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -3134,7 +3062,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Service = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3150,7 +3077,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -3159,7 +3085,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.StatusCode = types.EventStatusCode(jtv) } - default: _, _ = key, value @@ -3199,22 +3124,18 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetails(v **types.Organiza } sv.AwsAccountId = ptr.String(jtv) } - case "event": if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } - case "eventDescription": if err := awsAwsjson11_deserializeDocumentEventDescription(&sv.EventDescription, value); err != nil { return err } - case "eventMetadata": if err := awsAwsjson11_deserializeDocumentEventMetadata(&sv.EventMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -3254,7 +3175,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.AwsAccountId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3263,7 +3183,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "errorName": if value != nil { jtv, ok := value.(string) @@ -3272,7 +3191,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.ErrorName = ptr.String(jtv) } - case "eventArn": if value != nil { jtv, ok := value.(string) @@ -3281,7 +3199,6 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.EventArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3381,15 +3298,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLocale(v **types.UnsupportedLoca sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3397,15 +3308,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedLocale(v **types.UnsupportedLoca } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3436,7 +3343,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu if err := awsAwsjson11_deserializeDocumentAffectedAccountsList(&sv.AffectedAccounts, value); err != nil { return err } - case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -3445,7 +3351,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu } sv.EventScopeCode = types.EventScopeCode(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3454,7 +3359,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3490,12 +3394,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesForOrganizationOu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "failedSet": if err := awsAwsjson11_deserializeDocumentDescribeAffectedEntitiesForOrganizationFailedSet(&sv.FailedSet, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3504,7 +3406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesForOrganizationOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3540,7 +3441,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3549,7 +3449,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3585,7 +3484,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityAggregatesForOrganizationOu if err := awsAwsjson11_deserializeDocumentOrganizationEntityAggregatesList(&sv.OrganizationEntityAggregates, value); err != nil { return err } - default: _, _ = key, value @@ -3621,7 +3519,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityAggregatesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityAggregateList(&sv.EntityAggregates, value); err != nil { return err } - default: _, _ = key, value @@ -3657,7 +3554,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventAggregatesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEventAggregateList(&sv.EventAggregates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3666,7 +3562,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventAggregatesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3702,12 +3597,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventDetailsForOrganizationOutput if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsForOrganizationFailedSet(&sv.FailedSet, value); err != nil { return err } - case "successfulSet": if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsForOrganizationSuccessfulSet(&sv.SuccessfulSet, value); err != nil { return err } - default: _, _ = key, value @@ -3743,12 +3636,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventDetailsOutput(v **DescribeEv if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsFailedSet(&sv.FailedSet, value); err != nil { return err } - case "successfulSet": if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsSuccessfulSet(&sv.SuccessfulSet, value); err != nil { return err } - default: _, _ = key, value @@ -3784,7 +3675,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsForOrganizationOutput(v **D if err := awsAwsjson11_deserializeDocumentOrganizationEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3793,7 +3683,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsForOrganizationOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3829,7 +3718,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3838,7 +3726,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3874,7 +3761,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTypesOutput(v **DescribeEven if err := awsAwsjson11_deserializeDocumentEventTypeList(&sv.EventTypes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3883,7 +3769,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTypesOutput(v **DescribeEven } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3923,7 +3808,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHealthServiceStatusForOrganizatio } sv.HealthServiceAccessStatusForOrganization = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/healthlake/deserializers.go b/service/healthlake/deserializers.go index b5d19647484..85d988262a9 100644 --- a/service/healthlake/deserializers.go +++ b/service/healthlake/deserializers.go @@ -1817,15 +1817,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1833,15 +1827,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1866,15 +1856,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1882,15 +1866,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1932,7 +1912,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } - case "DatastoreArn": if value != nil { jtv, ok := value.(string) @@ -1941,7 +1920,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreArn = ptr.String(jtv) } - case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -1950,7 +1928,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreEndpoint = ptr.String(jtv) } - case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -1959,7 +1936,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreId = ptr.String(jtv) } - case "DatastoreName": if value != nil { jtv, ok := value.(string) @@ -1968,7 +1944,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreName = ptr.String(jtv) } - case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -1977,7 +1952,6 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - case "DatastoreTypeVersion": if value != nil { jtv, ok := value.(string) @@ -1986,27 +1960,22 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreTypeVersion = types.FHIRVersion(jtv) } - case "ErrorCause": if err := awsAwsjson10_deserializeDocumentErrorCause(&sv.ErrorCause, value); err != nil { return err } - case "IdentityProviderConfiguration": if err := awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(&sv.IdentityProviderConfiguration, value); err != nil { return err } - case "PreloadDataConfig": if err := awsAwsjson10_deserializeDocumentPreloadDataConfig(&sv.PreloadDataConfig, value); err != nil { return err } - case "SseConfiguration": if err := awsAwsjson10_deserializeDocumentSseConfiguration(&sv.SseConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2080,7 +2049,6 @@ func awsAwsjson10_deserializeDocumentErrorCause(v **types.ErrorCause, value inte } sv.ErrorCategory = types.ErrorCategory(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2089,7 +2057,6 @@ func awsAwsjson10_deserializeDocumentErrorCause(v **types.ErrorCause, value inte } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -2129,7 +2096,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -2138,7 +2104,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.DatastoreId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2154,7 +2119,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -2163,7 +2127,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -2172,7 +2135,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -2181,7 +2143,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -2190,12 +2151,10 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -2211,7 +2170,6 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } } - default: _, _ = key, value @@ -2285,7 +2243,6 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.AuthorizationStrategy = types.AuthorizationStrategy(jtv) } - case "FineGrainedAuthorizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -2294,7 +2251,6 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.FineGrainedAuthorizationEnabled = jtv } - case "IdpLambdaArn": if value != nil { jtv, ok := value.(string) @@ -2303,7 +2259,6 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.IdpLambdaArn = ptr.String(jtv) } - case "Metadata": if value != nil { jtv, ok := value.(string) @@ -2312,7 +2267,6 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.Metadata = ptr.String(jtv) } - default: _, _ = key, value @@ -2352,7 +2306,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -2361,7 +2314,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.DatastoreId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2377,12 +2329,10 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } } - case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -2391,7 +2341,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -2400,17 +2349,14 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobName = ptr.String(jtv) } - case "JobOutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.JobOutputDataConfig, value); err != nil { return err } - case "JobProgressReport": if err := awsAwsjson10_deserializeDocumentJobProgressReport(&sv.JobProgressReport, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -2419,7 +2365,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -2428,7 +2373,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.Message = ptr.String(jtv) } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -2444,7 +2388,6 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } } - default: _, _ = key, value @@ -2550,15 +2493,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2566,15 +2503,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2634,7 +2567,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } } - case "TotalNumberOfFilesReadWithCustomerError": if value != nil { jtv, ok := value.(json.Number) @@ -2647,7 +2579,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfFilesReadWithCustomerError = ptr.Int64(i64) } - case "TotalNumberOfImportedFiles": if value != nil { jtv, ok := value.(json.Number) @@ -2660,7 +2591,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfImportedFiles = ptr.Int64(i64) } - case "TotalNumberOfResourcesImported": if value != nil { jtv, ok := value.(json.Number) @@ -2673,7 +2603,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesImported = ptr.Int64(i64) } - case "TotalNumberOfResourcesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -2686,7 +2615,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesScanned = ptr.Int64(i64) } - case "TotalNumberOfResourcesWithCustomerError": if value != nil { jtv, ok := value.(json.Number) @@ -2699,7 +2627,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesWithCustomerError = ptr.Int64(i64) } - case "TotalNumberOfScannedFiles": if value != nil { jtv, ok := value.(json.Number) @@ -2712,7 +2639,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfScannedFiles = ptr.Int64(i64) } - case "TotalSizeOfScannedFilesInMB": if value != nil { switch jtv := value.(type) { @@ -2746,7 +2672,6 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } } - default: _, _ = key, value @@ -2786,7 +2711,6 @@ func awsAwsjson10_deserializeDocumentKmsEncryptionConfig(v **types.KmsEncryption } sv.CmkType = types.CmkType(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2795,7 +2719,6 @@ func awsAwsjson10_deserializeDocumentKmsEncryptionConfig(v **types.KmsEncryption } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -2875,7 +2798,6 @@ func awsAwsjson10_deserializeDocumentPreloadDataConfig(v **types.PreloadDataConf } sv.PreloadDataType = types.PreloadDataType(jtv) } - default: _, _ = key, value @@ -2905,15 +2827,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2921,15 +2837,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2964,7 +2876,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -2973,7 +2884,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3009,7 +2919,6 @@ func awsAwsjson10_deserializeDocumentSseConfiguration(v **types.SseConfiguration if err := awsAwsjson10_deserializeDocumentKmsEncryptionConfig(&sv.KmsEncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3049,7 +2958,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3058,7 +2966,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3122,15 +3029,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3138,15 +3039,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3171,15 +3068,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3187,15 +3078,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3230,7 +3117,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreArn = ptr.String(jtv) } - case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -3239,7 +3125,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreEndpoint = ptr.String(jtv) } - case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -3248,7 +3133,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreId = ptr.String(jtv) } - case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3257,7 +3141,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - default: _, _ = key, value @@ -3297,7 +3180,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreArn = ptr.String(jtv) } - case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -3306,7 +3188,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreEndpoint = ptr.String(jtv) } - case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3196,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreId = ptr.String(jtv) } - case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3324,7 +3204,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - default: _, _ = key, value @@ -3360,7 +3239,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRDatastoreOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentDatastoreProperties(&sv.DatastoreProperties, value); err != nil { return err } - default: _, _ = key, value @@ -3396,7 +3274,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRExportJobOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentExportJobProperties(&sv.ExportJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -3432,7 +3309,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRImportJobOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentImportJobProperties(&sv.ImportJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -3468,7 +3344,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRDatastoresOutput(v **ListFHIRData if err := awsAwsjson10_deserializeDocumentDatastorePropertiesList(&sv.DatastorePropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3477,7 +3352,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRDatastoresOutput(v **ListFHIRData } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3513,7 +3387,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRExportJobsOutput(v **ListFHIRExpo if err := awsAwsjson10_deserializeDocumentExportJobPropertiesList(&sv.ExportJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3522,7 +3395,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRExportJobsOutput(v **ListFHIRExpo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3558,7 +3430,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRImportJobsOutput(v **ListFHIRImpo if err := awsAwsjson10_deserializeDocumentImportJobPropertiesList(&sv.ImportJobPropertiesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3567,7 +3438,6 @@ func awsAwsjson10_deserializeOpDocumentListFHIRImportJobsOutput(v **ListFHIRImpo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3603,7 +3473,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3643,7 +3512,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.DatastoreId = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -3652,7 +3520,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3661,7 +3528,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -3701,7 +3567,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.DatastoreId = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -3710,7 +3575,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3719,7 +3583,6 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value diff --git a/service/identitystore/deserializers.go b/service/identitystore/deserializers.go index 78fb3c1496e..3a61f9d0689 100644 --- a/service/identitystore/deserializers.go +++ b/service/identitystore/deserializers.go @@ -2670,15 +2670,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2686,7 +2680,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2695,15 +2688,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2738,7 +2727,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "Formatted": if value != nil { jtv, ok := value.(string) @@ -2747,7 +2735,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Formatted = ptr.String(jtv) } - case "Locality": if value != nil { jtv, ok := value.(string) @@ -2756,7 +2743,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Locality = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -2765,7 +2751,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "Primary": if value != nil { jtv, ok := value.(bool) @@ -2774,7 +2759,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Primary = jtv } - case "Region": if value != nil { jtv, ok := value.(string) @@ -2783,7 +2767,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Region = ptr.String(jtv) } - case "StreetAddress": if value != nil { jtv, ok := value.(string) @@ -2792,7 +2775,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetAddress = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2801,7 +2783,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2865,15 +2846,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2881,7 +2856,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2890,7 +2864,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2899,15 +2872,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2942,7 +2911,6 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Primary = jtv } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2919,6 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2960,7 +2927,6 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3034,7 +3000,6 @@ func awsAwsjson11_deserializeDocumentExternalId(v **types.ExternalId, value inte } sv.Id = ptr.String(jtv) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -3043,7 +3008,6 @@ func awsAwsjson11_deserializeDocumentExternalId(v **types.ExternalId, value inte } sv.Issuer = ptr.String(jtv) } - default: _, _ = key, value @@ -3117,7 +3081,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3126,12 +3089,10 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -3140,7 +3101,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3149,7 +3109,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.IdentityStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -3189,7 +3148,6 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3198,12 +3156,10 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.IdentityStoreId = ptr.String(jtv) } - case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } - case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -3212,7 +3168,6 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.MembershipId = ptr.String(jtv) } - default: _, _ = key, value @@ -3252,12 +3207,10 @@ func awsAwsjson11_deserializeDocumentGroupMembershipExistenceResult(v **types.Gr } sv.GroupId = ptr.String(jtv) } - case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } - case "MembershipExists": if value != nil { jtv, ok := value.(bool) @@ -3266,7 +3219,6 @@ func awsAwsjson11_deserializeDocumentGroupMembershipExistenceResult(v **types.Gr } sv.MembershipExists = jtv } - default: _, _ = key, value @@ -3398,15 +3350,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3414,7 +3360,6 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3423,7 +3368,6 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3436,15 +3380,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3521,7 +3461,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.FamilyName = ptr.String(jtv) } - case "Formatted": if value != nil { jtv, ok := value.(string) @@ -3530,7 +3469,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.Formatted = ptr.String(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3539,7 +3477,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.GivenName = ptr.String(jtv) } - case "HonorificPrefix": if value != nil { jtv, ok := value.(string) @@ -3548,7 +3485,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.HonorificPrefix = ptr.String(jtv) } - case "HonorificSuffix": if value != nil { jtv, ok := value.(string) @@ -3557,7 +3493,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.HonorificSuffix = ptr.String(jtv) } - case "MiddleName": if value != nil { jtv, ok := value.(string) @@ -3566,7 +3501,6 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.MiddleName = ptr.String(jtv) } - default: _, _ = key, value @@ -3606,7 +3540,6 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Primary = jtv } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3615,7 +3548,6 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3624,7 +3556,6 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3688,15 +3619,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3704,7 +3629,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3713,7 +3637,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3722,7 +3645,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3731,15 +3653,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3764,15 +3682,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3780,7 +3692,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3789,15 +3700,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3822,15 +3729,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3838,7 +3739,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3847,7 +3747,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3860,15 +3759,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3899,7 +3794,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err if err := awsAwsjson11_deserializeDocumentAddresses(&sv.Addresses, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3908,17 +3802,14 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } - case "Emails": if err := awsAwsjson11_deserializeDocumentEmails(&sv.Emails, value); err != nil { return err } - case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3927,7 +3818,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityStoreId = ptr.String(jtv) } - case "Locale": if value != nil { jtv, ok := value.(string) @@ -3936,12 +3826,10 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Locale = ptr.String(jtv) } - case "Name": if err := awsAwsjson11_deserializeDocumentName(&sv.Name, value); err != nil { return err } - case "NickName": if value != nil { jtv, ok := value.(string) @@ -3950,12 +3838,10 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.NickName = ptr.String(jtv) } - case "PhoneNumbers": if err := awsAwsjson11_deserializeDocumentPhoneNumbers(&sv.PhoneNumbers, value); err != nil { return err } - case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -3964,7 +3850,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PreferredLanguage = ptr.String(jtv) } - case "ProfileUrl": if value != nil { jtv, ok := value.(string) @@ -3973,7 +3858,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ProfileUrl = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -3982,7 +3866,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Timezone = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -3991,7 +3874,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Title = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -4000,7 +3882,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -4009,7 +3890,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } - case "UserType": if value != nil { jtv, ok := value.(string) @@ -4018,7 +3898,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserType = ptr.String(jtv) } - default: _, _ = key, value @@ -4082,15 +3961,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4098,7 +3971,6 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4107,15 +3979,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4150,7 +4018,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.IdentityStoreId = ptr.String(jtv) } - case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4159,7 +4026,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.MembershipId = ptr.String(jtv) } - default: _, _ = key, value @@ -4199,7 +4065,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4208,7 +4073,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.IdentityStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -4248,7 +4112,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.IdentityStoreId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -4257,7 +4120,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -4390,7 +4252,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4399,12 +4260,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.IdentityStoreId = ptr.String(jtv) } - case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } - case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4272,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.MembershipId = ptr.String(jtv) } - default: _, _ = key, value @@ -4453,7 +4311,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4462,12 +4319,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DisplayName = ptr.String(jtv) } - case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -4476,7 +4331,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4485,7 +4339,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.IdentityStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -4521,7 +4374,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput if err := awsAwsjson11_deserializeDocumentAddresses(&sv.Addresses, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4530,17 +4382,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DisplayName = ptr.String(jtv) } - case "Emails": if err := awsAwsjson11_deserializeDocumentEmails(&sv.Emails, value); err != nil { return err } - case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4549,7 +4398,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityStoreId = ptr.String(jtv) } - case "Locale": if value != nil { jtv, ok := value.(string) @@ -4558,12 +4406,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Locale = ptr.String(jtv) } - case "Name": if err := awsAwsjson11_deserializeDocumentName(&sv.Name, value); err != nil { return err } - case "NickName": if value != nil { jtv, ok := value.(string) @@ -4572,12 +4418,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.NickName = ptr.String(jtv) } - case "PhoneNumbers": if err := awsAwsjson11_deserializeDocumentPhoneNumbers(&sv.PhoneNumbers, value); err != nil { return err } - case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -4586,7 +4430,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.PreferredLanguage = ptr.String(jtv) } - case "ProfileUrl": if value != nil { jtv, ok := value.(string) @@ -4595,7 +4438,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ProfileUrl = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -4604,7 +4446,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Timezone = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -4613,7 +4454,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Title = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -4622,7 +4462,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -4631,7 +4470,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserName = ptr.String(jtv) } - case "UserType": if value != nil { jtv, ok := value.(string) @@ -4640,7 +4478,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserType = ptr.String(jtv) } - default: _, _ = key, value @@ -4680,7 +4517,6 @@ func awsAwsjson11_deserializeOpDocumentGetGroupIdOutput(v **GetGroupIdOutput, va } sv.GroupId = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4689,7 +4525,6 @@ func awsAwsjson11_deserializeOpDocumentGetGroupIdOutput(v **GetGroupIdOutput, va } sv.IdentityStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -4729,7 +4564,6 @@ func awsAwsjson11_deserializeOpDocumentGetGroupMembershipIdOutput(v **GetGroupMe } sv.IdentityStoreId = ptr.String(jtv) } - case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4738,7 +4572,6 @@ func awsAwsjson11_deserializeOpDocumentGetGroupMembershipIdOutput(v **GetGroupMe } sv.MembershipId = ptr.String(jtv) } - default: _, _ = key, value @@ -4778,7 +4611,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserIdOutput(v **GetUserIdOutput, valu } sv.IdentityStoreId = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -4787,7 +4619,6 @@ func awsAwsjson11_deserializeOpDocumentGetUserIdOutput(v **GetUserIdOutput, valu } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -4823,7 +4654,6 @@ func awsAwsjson11_deserializeOpDocumentIsMemberInGroupsOutput(v **IsMemberInGrou if err := awsAwsjson11_deserializeDocumentGroupMembershipExistenceResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -4859,7 +4689,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsForMemberOutput(v **L if err := awsAwsjson11_deserializeDocumentGroupMemberships(&sv.GroupMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4868,7 +4697,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsForMemberOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4904,7 +4732,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM if err := awsAwsjson11_deserializeDocumentGroupMemberships(&sv.GroupMemberships, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4913,7 +4740,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4949,7 +4775,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4783,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4998,12 +4822,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/imagebuilder/deserializers.go b/service/imagebuilder/deserializers.go index 482b834e45f..c5d8f8d9f16 100644 --- a/service/imagebuilder/deserializers.go +++ b/service/imagebuilder/deserializers.go @@ -197,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.ClientToken = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -206,7 +205,6 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -215,7 +213,6 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -392,7 +389,6 @@ func awsRestjson1_deserializeOpDocumentCancelLifecycleExecutionOutput(v **Cancel } sv.LifecycleExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -578,7 +574,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.ClientToken = ptr.String(jtv) } - case "componentBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -587,7 +582,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -596,7 +590,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -782,7 +775,6 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.ClientToken = ptr.String(jtv) } - case "containerRecipeArn": if value != nil { jtv, ok := value.(string) @@ -791,7 +783,6 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.ContainerRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -800,7 +791,6 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -986,7 +976,6 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.ClientToken = ptr.String(jtv) } - case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -995,7 +984,6 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1004,7 +992,6 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1184,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ClientToken = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -1193,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1202,7 +1187,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1385,7 +1369,6 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.ClientToken = ptr.String(jtv) } - case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -1394,7 +1377,6 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.ImagePipelineArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1403,7 +1385,6 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1589,7 +1570,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.ClientToken = ptr.String(jtv) } - case "imageRecipeArn": if value != nil { jtv, ok := value.(string) @@ -1598,7 +1578,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.ImageRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1607,7 +1586,6 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1790,7 +1768,6 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.ClientToken = ptr.String(jtv) } - case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1799,7 +1776,6 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1808,7 +1784,6 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1991,7 +1966,6 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.ClientToken = ptr.String(jtv) } - case "lifecyclePolicyArn": if value != nil { jtv, ok := value.(string) @@ -2000,7 +1974,6 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.LifecyclePolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2186,7 +2159,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.ClientToken = ptr.String(jtv) } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -2195,7 +2167,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2369,7 +2340,6 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2378,7 +2348,6 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2552,7 +2521,6 @@ func awsRestjson1_deserializeOpDocumentDeleteContainerRecipeOutput(v **DeleteCon } sv.ContainerRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2561,7 +2529,6 @@ func awsRestjson1_deserializeOpDocumentDeleteContainerRecipeOutput(v **DeleteCon } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2735,7 +2702,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2744,7 +2710,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2918,7 +2883,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2927,7 +2891,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3101,7 +3064,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImagePipelineOutput(v **DeleteImage } sv.ImagePipelineArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -3110,7 +3072,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImagePipelineOutput(v **DeleteImage } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3284,7 +3245,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageRecipeOutput(v **DeleteImageRe } sv.ImageRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -3293,7 +3253,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageRecipeOutput(v **DeleteImageRe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3467,7 +3426,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -3476,7 +3434,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3650,7 +3607,6 @@ func awsRestjson1_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.LifecyclePolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3824,7 +3780,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3991,7 +3946,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4000,7 +3954,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4171,7 +4124,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentPolicyOutput(v **GetComponent } sv.Policy = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4180,7 +4132,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentPolicyOutput(v **GetComponent } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4347,7 +4298,6 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipeOutput(v **GetContainer if err := awsRestjson1_deserializeDocumentContainerRecipe(&sv.ContainerRecipe, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4356,7 +4306,6 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipeOutput(v **GetContainer } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4527,7 +4476,6 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipePolicyOutput(v **GetCon } sv.Policy = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4536,7 +4484,6 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipePolicyOutput(v **GetCon } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4703,7 +4650,6 @@ func awsRestjson1_deserializeOpDocumentGetDistributionConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentDistributionConfiguration(&sv.DistributionConfiguration, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4712,7 +4658,6 @@ func awsRestjson1_deserializeOpDocumentGetDistributionConfigurationOutput(v **Ge } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4879,7 +4824,6 @@ func awsRestjson1_deserializeOpDocumentGetImageOutput(v **GetImageOutput, value if err := awsRestjson1_deserializeDocumentImage(&sv.Image, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -4888,7 +4832,6 @@ func awsRestjson1_deserializeOpDocumentGetImageOutput(v **GetImageOutput, value } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5055,7 +4998,6 @@ func awsRestjson1_deserializeOpDocumentGetImagePipelineOutput(v **GetImagePipeli if err := awsRestjson1_deserializeDocumentImagePipeline(&sv.ImagePipeline, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5064,7 +5006,6 @@ func awsRestjson1_deserializeOpDocumentGetImagePipelineOutput(v **GetImagePipeli } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,7 +5176,6 @@ func awsRestjson1_deserializeOpDocumentGetImagePolicyOutput(v **GetImagePolicyOu } sv.Policy = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5244,7 +5184,6 @@ func awsRestjson1_deserializeOpDocumentGetImagePolicyOutput(v **GetImagePolicyOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5411,7 +5350,6 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipeOutput(v **GetImageRecipeOu if err := awsRestjson1_deserializeDocumentImageRecipe(&sv.ImageRecipe, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5420,7 +5358,6 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipeOutput(v **GetImageRecipeOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5591,7 +5528,6 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipePolicyOutput(v **GetImageRe } sv.Policy = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5600,7 +5536,6 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipePolicyOutput(v **GetImageRe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5767,7 +5702,6 @@ func awsRestjson1_deserializeOpDocumentGetInfrastructureConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentInfrastructureConfiguration(&sv.InfrastructureConfiguration, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5776,7 +5710,6 @@ func awsRestjson1_deserializeOpDocumentGetInfrastructureConfigurationOutput(v ** } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5943,7 +5876,6 @@ func awsRestjson1_deserializeOpDocumentGetLifecycleExecutionOutput(v **GetLifecy if err := awsRestjson1_deserializeDocumentLifecycleExecution(&sv.LifecycleExecution, value); err != nil { return err } - default: _, _ = key, value @@ -6110,7 +6042,6 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle if err := awsRestjson1_deserializeDocumentLifecyclePolicy(&sv.LifecyclePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -6277,7 +6208,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsRestjson1_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } - default: _, _ = key, value @@ -6448,7 +6378,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.EndTime = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6457,7 +6386,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6466,7 +6394,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Message = ptr.String(jtv) } - case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -6475,7 +6402,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.ParallelGroup = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -6484,7 +6410,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.RequestId = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6493,7 +6418,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6426,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Status = types.WorkflowExecutionStatus(jtv) } - case "totalStepCount": if value != nil { jtv, ok := value.(json.Number) @@ -6515,7 +6438,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepCount = int32(i64) } - case "totalStepsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -6528,7 +6450,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsFailed = int32(i64) } - case "totalStepsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -6541,7 +6462,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsSkipped = int32(i64) } - case "totalStepsSucceeded": if value != nil { jtv, ok := value.(json.Number) @@ -6554,7 +6474,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsSucceeded = int32(i64) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6563,7 +6482,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Type = types.WorkflowType(jtv) } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6572,7 +6490,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -6581,7 +6498,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.WorkflowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6752,7 +6668,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Action = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6761,7 +6676,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -6770,7 +6684,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.EndTime = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6779,7 +6692,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "inputs": if value != nil { jtv, ok := value.(string) @@ -6788,7 +6700,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Inputs = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -6797,7 +6708,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6806,7 +6716,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Name = ptr.String(jtv) } - case "onFailure": if value != nil { jtv, ok := value.(string) @@ -6815,7 +6724,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.OnFailure = ptr.String(jtv) } - case "outputs": if value != nil { jtv, ok := value.(string) @@ -6824,7 +6732,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Outputs = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -6833,7 +6740,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.RequestId = ptr.String(jtv) } - case "rollbackStatus": if value != nil { jtv, ok := value.(string) @@ -6842,7 +6748,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.RollbackStatus = types.WorkflowStepExecutionRollbackStatus(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6851,7 +6756,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6860,7 +6764,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Status = types.WorkflowStepExecutionStatus(jtv) } - case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -6869,7 +6772,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.StepExecutionId = ptr.String(jtv) } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6882,7 +6784,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6891,7 +6792,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -6900,7 +6800,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.WorkflowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -7083,7 +6982,6 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.ClientToken = ptr.String(jtv) } - case "componentBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -7092,7 +6990,6 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -7101,7 +6998,6 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7263,7 +7159,6 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.ClientToken = ptr.String(jtv) } - case "imageArn": if value != nil { jtv, ok := value.(string) @@ -7272,7 +7167,6 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.ImageArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -7281,7 +7175,6 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7451,7 +7344,6 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.ComponentSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7460,7 +7352,6 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -7469,7 +7360,6 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7639,7 +7529,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentVersionList(&sv.ComponentVersionList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7648,7 +7537,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -7657,7 +7545,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7827,7 +7714,6 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai if err := awsRestjson1_deserializeDocumentContainerRecipeSummaryList(&sv.ContainerRecipeSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7836,7 +7722,6 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -7845,7 +7730,6 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8015,7 +7899,6 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** if err := awsRestjson1_deserializeDocumentDistributionConfigurationSummaryList(&sv.DistributionConfigurationSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8024,7 +7907,6 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8033,7 +7915,6 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8203,7 +8084,6 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag if err := awsRestjson1_deserializeDocumentImageSummaryList(&sv.ImageSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8212,7 +8092,6 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8221,7 +8100,6 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8394,7 +8272,6 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack if err := awsRestjson1_deserializeDocumentImagePackageList(&sv.ImagePackageList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8403,7 +8280,6 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8412,7 +8288,6 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8585,7 +8460,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma if err := awsRestjson1_deserializeDocumentImageSummaryList(&sv.ImageSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8594,7 +8468,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8603,7 +8476,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8773,7 +8645,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip if err := awsRestjson1_deserializeDocumentImagePipelineList(&sv.ImagePipelineList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8782,7 +8653,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8791,7 +8661,6 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8961,7 +8830,6 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip if err := awsRestjson1_deserializeDocumentImageRecipeSummaryList(&sv.ImageRecipeSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8970,7 +8838,6 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -8979,7 +8846,6 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -9149,7 +9015,6 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsRestjson1_deserializeDocumentImageVersionList(&sv.ImageVersionList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9158,7 +9023,6 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -9167,7 +9031,6 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -9341,7 +9204,6 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.AggregationType = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9350,7 +9212,6 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -9359,12 +9220,10 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.RequestId = ptr.String(jtv) } - case "responses": if err := awsRestjson1_deserializeDocumentImageScanFindingAggregationsList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -9534,7 +9393,6 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage if err := awsRestjson1_deserializeDocumentImageScanFindingsList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9543,7 +9401,6 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -9552,7 +9409,6 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -9722,7 +9578,6 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v if err := awsRestjson1_deserializeDocumentInfrastructureConfigurationSummaryList(&sv.InfrastructureConfigurationSummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9731,7 +9586,6 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9594,6 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -9914,12 +9767,10 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionResourcesOutput(v * } sv.LifecycleExecutionId = ptr.String(jtv) } - case "lifecycleExecutionState": if err := awsRestjson1_deserializeDocumentLifecycleExecutionState(&sv.LifecycleExecutionState, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9928,12 +9779,10 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionResourcesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -10103,7 +9952,6 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionsOutput(v **ListLif if err := awsRestjson1_deserializeDocumentLifecycleExecutionsList(&sv.LifecycleExecutions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10112,7 +9960,6 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionsOutput(v **ListLif } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10282,7 +10129,6 @@ func awsRestjson1_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec if err := awsRestjson1_deserializeDocumentLifecyclePolicySummaryList(&sv.LifecyclePolicySummaryList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10291,7 +10137,6 @@ func awsRestjson1_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10449,7 +10294,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10623,12 +10467,10 @@ func awsRestjson1_deserializeOpDocumentListWaitingWorkflowStepsOutput(v **ListWa } sv.NextToken = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentWorkflowStepExecutionList(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -10802,12 +10644,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowBuildVersionsOutput(v **ListW } sv.NextToken = ptr.String(jtv) } - case "workflowSummaryList": if err := awsRestjson1_deserializeDocumentWorkflowSummaryList(&sv.WorkflowSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -10981,7 +10821,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10829,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.Message = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10999,7 +10837,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11008,12 +10845,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.RequestId = ptr.String(jtv) } - case "workflowExecutions": if err := awsRestjson1_deserializeDocumentWorkflowExecutionsList(&sv.WorkflowExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -11187,12 +11022,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - case "workflowVersionList": if err := awsRestjson1_deserializeDocumentWorkflowVersionList(&sv.WorkflowVersionList, value); err != nil { return err } - default: _, _ = key, value @@ -11366,7 +11199,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11375,7 +11207,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.Message = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11384,7 +11215,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11393,12 +11223,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.RequestId = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentWorkflowStepExecutionsList(&sv.Steps, value); err != nil { return err } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -11407,7 +11235,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -11416,7 +11243,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.WorkflowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -11593,7 +11419,6 @@ func awsRestjson1_deserializeOpDocumentPutComponentPolicyOutput(v **PutComponent } sv.ComponentArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11602,7 +11427,6 @@ func awsRestjson1_deserializeOpDocumentPutComponentPolicyOutput(v **PutComponent } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11779,7 +11603,6 @@ func awsRestjson1_deserializeOpDocumentPutContainerRecipePolicyOutput(v **PutCon } sv.ContainerRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11788,7 +11611,6 @@ func awsRestjson1_deserializeOpDocumentPutContainerRecipePolicyOutput(v **PutCon } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11965,7 +11787,6 @@ func awsRestjson1_deserializeOpDocumentPutImagePolicyOutput(v **PutImagePolicyOu } sv.ImageArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11974,7 +11795,6 @@ func awsRestjson1_deserializeOpDocumentPutImagePolicyOutput(v **PutImagePolicyOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -12151,7 +11971,6 @@ func awsRestjson1_deserializeOpDocumentPutImageRecipePolicyOutput(v **PutImageRe } sv.ImageRecipeArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -12160,7 +11979,6 @@ func awsRestjson1_deserializeOpDocumentPutImageRecipePolicyOutput(v **PutImageRe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -12343,7 +12161,6 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.ClientToken = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -12352,7 +12169,6 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -12361,7 +12177,6 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.StepExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -12541,7 +12356,6 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.ClientToken = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -12550,7 +12364,6 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -12559,7 +12372,6 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -12739,7 +12551,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceStateUpdateOutput(v **StartR } sv.LifecycleExecutionId = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -12748,7 +12559,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceStateUpdateOutput(v **StartR } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13116,7 +12926,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.ClientToken = ptr.String(jtv) } - case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -13125,7 +12934,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13134,7 +12942,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -13311,7 +13118,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.ClientToken = ptr.String(jtv) } - case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -13320,7 +13126,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.ImagePipelineArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13329,7 +13134,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -13506,7 +13310,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.ClientToken = ptr.String(jtv) } - case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -13515,7 +13318,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13524,7 +13326,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -13704,7 +13505,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLifecyclePolicyOutput(v **UpdateLif } sv.LifecyclePolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14356,12 +14156,10 @@ func awsRestjson1_deserializeDocumentAccountAggregation(v **types.AccountAggrega } sv.AccountId = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -14433,7 +14231,6 @@ func awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(v **types.A if err := awsRestjson1_deserializeDocumentSystemsManagerAgent(&sv.SystemsManagerAgent, value); err != nil { return err } - case "userDataOverride": if value != nil { jtv, ok := value.(string) @@ -14442,7 +14239,6 @@ func awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(v **types.A } sv.UserDataOverride = ptr.String(jtv) } - default: _, _ = key, value @@ -14482,7 +14278,6 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.AccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14491,7 +14286,6 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Description = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -14500,7 +14294,6 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Image = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14509,7 +14302,6 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Name = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -14518,12 +14310,10 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Region = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -14559,7 +14349,6 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD if err := awsRestjson1_deserializeDocumentTagMap(&sv.AmiTags, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -14568,7 +14357,6 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.Description = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14577,12 +14365,10 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.KmsKeyId = ptr.String(jtv) } - case "launchPermission": if err := awsRestjson1_deserializeDocumentLaunchPermissionConfiguration(&sv.LaunchPermission, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14591,12 +14377,10 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.Name = ptr.String(jtv) } - case "targetAccountIds": if err := awsRestjson1_deserializeDocumentAccountList(&sv.TargetAccountIds, value); err != nil { return err } - default: _, _ = key, value @@ -14660,15 +14444,9 @@ func awsRestjson1_deserializeDocumentCallRateLimitExceededException(v **types.Ca sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14676,15 +14454,11 @@ func awsRestjson1_deserializeDocumentCallRateLimitExceededException(v **types.Ca } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14709,15 +14483,9 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14725,15 +14493,11 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14768,7 +14532,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } - case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -14777,7 +14540,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ChangeDescription = ptr.String(jtv) } - case "data": if value != nil { jtv, ok := value.(string) @@ -14786,7 +14548,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Data = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -14795,7 +14556,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14804,7 +14564,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Description = ptr.String(jtv) } - case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -14813,7 +14572,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Encrypted = ptr.Bool(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14822,7 +14580,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14831,7 +14588,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } - case "obfuscate": if value != nil { jtv, ok := value.(bool) @@ -14840,7 +14596,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Obfuscate = jtv } - case "owner": if value != nil { jtv, ok := value.(string) @@ -14849,12 +14604,10 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Owner = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentComponentParameterDetailList(&sv.Parameters, value); err != nil { return err } - case "platform": if value != nil { jtv, ok := value.(string) @@ -14863,7 +14616,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Platform = types.Platform(jtv) } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -14872,22 +14624,18 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Publisher = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentComponentState(&sv.State, value); err != nil { return err } - case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14896,7 +14644,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Type = types.ComponentType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -14905,7 +14652,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14945,12 +14691,10 @@ func awsRestjson1_deserializeDocumentComponentConfiguration(v **types.ComponentC } sv.ComponentArn = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentComponentParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -15024,12 +14768,10 @@ func awsRestjson1_deserializeDocumentComponentParameter(v **types.ComponentParam } sv.Name = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentComponentParameterValueList(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -15065,7 +14807,6 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen if err := awsRestjson1_deserializeDocumentComponentParameterValueList(&sv.DefaultValue, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -15074,7 +14815,6 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15083,7 +14823,6 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15092,7 +14831,6 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -15236,7 +14974,6 @@ func awsRestjson1_deserializeDocumentComponentState(v **types.ComponentState, va } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15245,7 +14982,6 @@ func awsRestjson1_deserializeDocumentComponentState(v **types.ComponentState, va } sv.Status = types.ComponentStatus(jtv) } - default: _, _ = key, value @@ -15285,7 +15021,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } - case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -15294,7 +15029,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ChangeDescription = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15303,7 +15037,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15312,7 +15045,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15321,7 +15053,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } - case "obfuscate": if value != nil { jtv, ok := value.(bool) @@ -15330,7 +15061,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Obfuscate = jtv } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15339,7 +15069,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Owner = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -15348,7 +15077,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Platform = types.Platform(jtv) } - case "publisher": if value != nil { jtv, ok := value.(string) @@ -15357,22 +15085,18 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Publisher = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentComponentState(&sv.State, value); err != nil { return err } - case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15381,7 +15105,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Type = types.ComponentType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -15390,7 +15113,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15464,7 +15186,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15473,7 +15194,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15482,7 +15202,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15491,7 +15210,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15500,7 +15218,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Owner = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -15509,12 +15226,10 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Platform = types.Platform(jtv) } - case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15523,7 +15238,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Type = types.ComponentType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -15532,7 +15246,6 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15602,7 +15315,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageUris, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -15611,7 +15323,6 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -15647,7 +15358,6 @@ func awsRestjson1_deserializeDocumentContainerDistributionConfiguration(v **type if err := awsRestjson1_deserializeDocumentStringList(&sv.ContainerTags, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -15656,12 +15366,10 @@ func awsRestjson1_deserializeDocumentContainerDistributionConfiguration(v **type } sv.Description = ptr.String(jtv) } - case "targetRepository": if err := awsRestjson1_deserializeDocumentTargetContainerRepository(&sv.TargetRepository, value); err != nil { return err } - default: _, _ = key, value @@ -15735,12 +15443,10 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Arn = ptr.String(jtv) } - case "components": if err := awsRestjson1_deserializeDocumentComponentConfigurationList(&sv.Components, value); err != nil { return err } - case "containerType": if value != nil { jtv, ok := value.(string) @@ -15749,7 +15455,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.ContainerType = types.ContainerType(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15758,7 +15463,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15767,7 +15471,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Description = ptr.String(jtv) } - case "dockerfileTemplateData": if value != nil { jtv, ok := value.(string) @@ -15776,7 +15479,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.DockerfileTemplateData = ptr.String(jtv) } - case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -15785,12 +15487,10 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Encrypted = ptr.Bool(jtv) } - case "instanceConfiguration": if err := awsRestjson1_deserializeDocumentInstanceConfiguration(&sv.InstanceConfiguration, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15799,7 +15499,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15808,7 +15507,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15817,7 +15515,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Owner = ptr.String(jtv) } - case "parentImage": if value != nil { jtv, ok := value.(string) @@ -15826,7 +15523,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.ParentImage = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -15835,17 +15531,14 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Platform = types.Platform(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetRepository": if err := awsRestjson1_deserializeDocumentTargetContainerRepository(&sv.TargetRepository, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -15854,7 +15547,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Version = ptr.String(jtv) } - case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -15863,7 +15555,6 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -15903,7 +15594,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Arn = ptr.String(jtv) } - case "containerType": if value != nil { jtv, ok := value.(string) @@ -15912,7 +15602,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.ContainerType = types.ContainerType(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15921,7 +15610,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.DateCreated = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15930,7 +15618,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15939,7 +15626,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Owner = ptr.String(jtv) } - case "parentImage": if value != nil { jtv, ok := value.(string) @@ -15948,7 +15634,6 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.ParentImage = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -15957,12 +15642,10 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Platform = types.Platform(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16061,7 +15744,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -16070,7 +15752,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -16079,7 +15760,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -16088,7 +15768,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -16128,7 +15807,6 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -16137,7 +15815,6 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -16207,7 +15884,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsRestjson1_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } - case "cvssSource": if value != nil { jtv, ok := value.(string) @@ -16216,7 +15892,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.CvssSource = ptr.String(jtv) } - case "score": if value != nil { switch jtv := value.(type) { @@ -16250,7 +15925,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } - case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -16259,7 +15933,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -16268,7 +15941,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -16277,7 +15949,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -16347,27 +16018,22 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value if err := awsRestjson1_deserializeDocumentAmiDistributionConfiguration(&sv.AmiDistributionConfiguration, value); err != nil { return err } - case "containerDistributionConfiguration": if err := awsRestjson1_deserializeDocumentContainerDistributionConfiguration(&sv.ContainerDistributionConfiguration, value); err != nil { return err } - case "fastLaunchConfigurations": if err := awsRestjson1_deserializeDocumentFastLaunchConfigurationList(&sv.FastLaunchConfigurations, value); err != nil { return err } - case "launchTemplateConfigurations": if err := awsRestjson1_deserializeDocumentLaunchTemplateConfigurationList(&sv.LaunchTemplateConfigurations, value); err != nil { return err } - case "licenseConfigurationArns": if err := awsRestjson1_deserializeDocumentLicenseConfigurationArnList(&sv.LicenseConfigurationArns, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -16376,12 +16042,10 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Region = ptr.String(jtv) } - case "s3ExportConfiguration": if err := awsRestjson1_deserializeDocumentS3ExportConfiguration(&sv.S3ExportConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16421,7 +16085,6 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -16430,7 +16093,6 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.DateCreated = ptr.String(jtv) } - case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -16439,7 +16101,6 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.DateUpdated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16448,12 +16109,10 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Description = ptr.String(jtv) } - case "distributions": if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -16462,12 +16121,10 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "timeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -16480,7 +16137,6 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.TimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16520,7 +16176,6 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -16529,7 +16184,6 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.DateCreated = ptr.String(jtv) } - case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -16538,7 +16192,6 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.DateUpdated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16547,7 +16200,6 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16556,17 +16208,14 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Name = ptr.String(jtv) } - case "regions": if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16674,7 +16323,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -16683,7 +16331,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Encrypted = ptr.Bool(jtv) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -16696,7 +16343,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Iops = ptr.Int32(int32(i64)) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16705,7 +16351,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.KmsKeyId = ptr.String(jtv) } - case "snapshotId": if value != nil { jtv, ok := value.(string) @@ -16714,7 +16359,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.SnapshotId = ptr.String(jtv) } - case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16727,7 +16371,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Throughput = ptr.Int32(int32(i64)) } - case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -16740,7 +16383,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -16749,7 +16391,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.VolumeType = types.EbsVolumeType(jtv) } - default: _, _ = key, value @@ -16785,7 +16426,6 @@ func awsRestjson1_deserializeDocumentEcrConfiguration(v **types.EcrConfiguration if err := awsRestjson1_deserializeDocumentStringList(&sv.ContainerTags, value); err != nil { return err } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -16794,7 +16434,6 @@ func awsRestjson1_deserializeDocumentEcrConfiguration(v **types.EcrConfiguration } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -16834,7 +16473,6 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.AccountId = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -16843,12 +16481,10 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.Enabled = jtv } - case "launchTemplate": if err := awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } - case "maxParallelLaunches": if value != nil { jtv, ok := value.(json.Number) @@ -16861,12 +16497,10 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.MaxParallelLaunches = ptr.Int32(int32(i64)) } - case "snapshotConfiguration": if err := awsRestjson1_deserializeDocumentFastLaunchSnapshotConfiguration(&sv.SnapshotConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16940,7 +16574,6 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateId = ptr.String(jtv) } - case "launchTemplateName": if value != nil { jtv, ok := value.(string) @@ -16949,7 +16582,6 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateName = ptr.String(jtv) } - case "launchTemplateVersion": if value != nil { jtv, ok := value.(string) @@ -16958,7 +16590,6 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -17002,7 +16633,6 @@ func awsRestjson1_deserializeDocumentFastLaunchSnapshotConfiguration(v **types.F } sv.TargetResourceCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17032,15 +16662,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17048,15 +16672,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17081,15 +16701,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17097,15 +16711,11 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17140,7 +16750,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "buildType": if value != nil { jtv, ok := value.(string) @@ -17149,12 +16758,10 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.BuildType = types.BuildType(jtv) } - case "containerRecipe": if err := awsRestjson1_deserializeDocumentContainerRecipe(&sv.ContainerRecipe, value); err != nil { return err } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17163,7 +16770,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DateCreated = ptr.String(jtv) } - case "deprecationTime": if value != nil { switch jtv := value.(type) { @@ -17179,12 +16785,10 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } } - case "distributionConfiguration": if err := awsRestjson1_deserializeDocumentDistributionConfiguration(&sv.DistributionConfiguration, value); err != nil { return err } - case "enhancedImageMetadataEnabled": if value != nil { jtv, ok := value.(bool) @@ -17193,7 +16797,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.EnhancedImageMetadataEnabled = ptr.Bool(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -17202,17 +16805,14 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ExecutionRole = ptr.String(jtv) } - case "imageRecipe": if err := awsRestjson1_deserializeDocumentImageRecipe(&sv.ImageRecipe, value); err != nil { return err } - case "imageScanningConfiguration": if err := awsRestjson1_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } - case "imageSource": if value != nil { jtv, ok := value.(string) @@ -17221,17 +16821,14 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageSource = types.ImageSource(jtv) } - case "imageTestsConfiguration": if err := awsRestjson1_deserializeDocumentImageTestsConfiguration(&sv.ImageTestsConfiguration, value); err != nil { return err } - case "infrastructureConfiguration": if err := awsRestjson1_deserializeDocumentInfrastructureConfiguration(&sv.InfrastructureConfiguration, value); err != nil { return err } - case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -17240,7 +16837,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.LifecycleExecutionId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17249,7 +16845,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Name = ptr.String(jtv) } - case "osVersion": if value != nil { jtv, ok := value.(string) @@ -17258,12 +16853,10 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.OsVersion = ptr.String(jtv) } - case "outputResources": if err := awsRestjson1_deserializeDocumentOutputResources(&sv.OutputResources, value); err != nil { return err } - case "platform": if value != nil { jtv, ok := value.(string) @@ -17272,12 +16865,10 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Platform = types.Platform(jtv) } - case "scanState": if err := awsRestjson1_deserializeDocumentImageScanState(&sv.ScanState, value); err != nil { return err } - case "sourcePipelineArn": if value != nil { jtv, ok := value.(string) @@ -17286,7 +16877,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.SourcePipelineArn = ptr.String(jtv) } - case "sourcePipelineName": if value != nil { jtv, ok := value.(string) @@ -17295,17 +16885,14 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.SourcePipelineName = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17314,7 +16901,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Type = types.ImageType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -17323,12 +16909,10 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Version = ptr.String(jtv) } - case "workflows": if err := awsRestjson1_deserializeDocumentWorkflowConfigurationList(&sv.Workflows, value); err != nil { return err } - default: _, _ = key, value @@ -17368,12 +16952,10 @@ func awsRestjson1_deserializeDocumentImageAggregation(v **types.ImageAggregation } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -17413,7 +16995,6 @@ func awsRestjson1_deserializeDocumentImagePackage(v **types.ImagePackage, value } sv.PackageName = ptr.String(jtv) } - case "packageVersion": if value != nil { jtv, ok := value.(string) @@ -17422,7 +17003,6 @@ func awsRestjson1_deserializeDocumentImagePackage(v **types.ImagePackage, value } sv.PackageVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -17496,7 +17076,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Arn = ptr.String(jtv) } - case "containerRecipeArn": if value != nil { jtv, ok := value.(string) @@ -17505,7 +17084,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ContainerRecipeArn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17514,7 +17092,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateCreated = ptr.String(jtv) } - case "dateLastRun": if value != nil { jtv, ok := value.(string) @@ -17523,7 +17100,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateLastRun = ptr.String(jtv) } - case "dateNextRun": if value != nil { jtv, ok := value.(string) @@ -17532,7 +17108,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateNextRun = ptr.String(jtv) } - case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -17541,7 +17116,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateUpdated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17550,7 +17124,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Description = ptr.String(jtv) } - case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -17559,7 +17132,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DistributionConfigurationArn = ptr.String(jtv) } - case "enhancedImageMetadataEnabled": if value != nil { jtv, ok := value.(bool) @@ -17568,7 +17140,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.EnhancedImageMetadataEnabled = ptr.Bool(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -17577,7 +17148,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ExecutionRole = ptr.String(jtv) } - case "imageRecipeArn": if value != nil { jtv, ok := value.(string) @@ -17586,17 +17156,14 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ImageRecipeArn = ptr.String(jtv) } - case "imageScanningConfiguration": if err := awsRestjson1_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } - case "imageTestsConfiguration": if err := awsRestjson1_deserializeDocumentImageTestsConfiguration(&sv.ImageTestsConfiguration, value); err != nil { return err } - case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -17605,7 +17172,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.InfrastructureConfigurationArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17614,7 +17180,6 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Name = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -17623,12 +17188,10 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Platform = types.Platform(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -17637,17 +17200,14 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Status = types.PipelineStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "workflows": if err := awsRestjson1_deserializeDocumentWorkflowConfigurationList(&sv.Workflows, value); err != nil { return err } - default: _, _ = key, value @@ -17687,12 +17247,10 @@ func awsRestjson1_deserializeDocumentImagePipelineAggregation(v **types.ImagePip } sv.ImagePipelineArn = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -17762,7 +17320,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in if err := awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(&sv.AdditionalInstanceConfiguration, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17771,17 +17328,14 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Arn = ptr.String(jtv) } - case "blockDeviceMappings": if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } - case "components": if err := awsRestjson1_deserializeDocumentComponentConfigurationList(&sv.Components, value); err != nil { return err } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17790,7 +17344,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17799,7 +17352,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17808,7 +17360,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -17817,7 +17368,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Owner = ptr.String(jtv) } - case "parentImage": if value != nil { jtv, ok := value.(string) @@ -17826,7 +17376,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.ParentImage = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -17835,12 +17384,10 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Platform = types.Platform(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17849,7 +17396,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Type = types.ImageType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -17858,7 +17404,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Version = ptr.String(jtv) } - case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -17867,7 +17412,6 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -17907,7 +17451,6 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17916,7 +17459,6 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.DateCreated = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17925,7 +17467,6 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -17934,7 +17475,6 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Owner = ptr.String(jtv) } - case "parentImage": if value != nil { jtv, ok := value.(string) @@ -17943,7 +17483,6 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.ParentImage = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -17952,12 +17491,10 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Platform = types.Platform(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18031,7 +17568,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.AwsAccountId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18040,7 +17576,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Description = ptr.String(jtv) } - case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -18056,7 +17591,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } - case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -18065,7 +17599,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.FixAvailable = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -18074,7 +17607,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -18083,7 +17615,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.ImagePipelineArn = ptr.String(jtv) } - case "inspectorScore": if value != nil { switch jtv := value.(type) { @@ -18117,22 +17648,18 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } - case "inspectorScoreDetails": if err := awsRestjson1_deserializeDocumentInspectorScoreDetails(&sv.InspectorScoreDetails, value); err != nil { return err } - case "packageVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } - case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } - case "severity": if value != nil { jtv, ok := value.(string) @@ -18141,7 +17668,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Severity = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -18150,7 +17676,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -18159,7 +17684,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -18175,7 +17699,6 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } - default: _, _ = key, value @@ -18211,22 +17734,18 @@ func awsRestjson1_deserializeDocumentImageScanFindingAggregation(v **types.Image if err := awsRestjson1_deserializeDocumentAccountAggregation(&sv.AccountAggregation, value); err != nil { return err } - case "imageAggregation": if err := awsRestjson1_deserializeDocumentImageAggregation(&sv.ImageAggregation, value); err != nil { return err } - case "imagePipelineAggregation": if err := awsRestjson1_deserializeDocumentImagePipelineAggregation(&sv.ImagePipelineAggregation, value); err != nil { return err } - case "vulnerabilityIdAggregation": if err := awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(&sv.VulnerabilityIdAggregation, value); err != nil { return err } - default: _, _ = key, value @@ -18330,7 +17849,6 @@ func awsRestjson1_deserializeDocumentImageScanningConfiguration(v **types.ImageS if err := awsRestjson1_deserializeDocumentEcrConfiguration(&sv.EcrConfiguration, value); err != nil { return err } - case "imageScanningEnabled": if value != nil { jtv, ok := value.(bool) @@ -18339,7 +17857,6 @@ func awsRestjson1_deserializeDocumentImageScanningConfiguration(v **types.ImageS } sv.ImageScanningEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -18379,7 +17896,6 @@ func awsRestjson1_deserializeDocumentImageScanState(v **types.ImageScanState, va } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18388,7 +17904,6 @@ func awsRestjson1_deserializeDocumentImageScanState(v **types.ImageScanState, va } sv.Status = types.ImageScanStatus(jtv) } - default: _, _ = key, value @@ -18428,7 +17943,6 @@ func awsRestjson1_deserializeDocumentImageState(v **types.ImageState, value inte } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18437,7 +17951,6 @@ func awsRestjson1_deserializeDocumentImageState(v **types.ImageState, value inte } sv.Status = types.ImageStatus(jtv) } - default: _, _ = key, value @@ -18477,7 +17990,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Arn = ptr.String(jtv) } - case "buildType": if value != nil { jtv, ok := value.(string) @@ -18486,7 +17998,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.BuildType = types.BuildType(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18495,7 +18006,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.DateCreated = ptr.String(jtv) } - case "deprecationTime": if value != nil { switch jtv := value.(type) { @@ -18511,7 +18021,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } } - case "imageSource": if value != nil { jtv, ok := value.(string) @@ -18520,7 +18029,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.ImageSource = types.ImageSource(jtv) } - case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -18529,7 +18037,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.LifecycleExecutionId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18538,7 +18045,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Name = ptr.String(jtv) } - case "osVersion": if value != nil { jtv, ok := value.(string) @@ -18547,12 +18053,10 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.OsVersion = ptr.String(jtv) } - case "outputResources": if err := awsRestjson1_deserializeDocumentOutputResources(&sv.OutputResources, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -18561,7 +18065,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Owner = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -18570,17 +18073,14 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Platform = types.Platform(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -18589,7 +18089,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Type = types.ImageType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -18598,7 +18097,6 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -18672,7 +18170,6 @@ func awsRestjson1_deserializeDocumentImageTestsConfiguration(v **types.ImageTest } sv.ImageTestsEnabled = ptr.Bool(jtv) } - case "timeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -18685,7 +18182,6 @@ func awsRestjson1_deserializeDocumentImageTestsConfiguration(v **types.ImageTest } sv.TimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18725,7 +18221,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Arn = ptr.String(jtv) } - case "buildType": if value != nil { jtv, ok := value.(string) @@ -18734,7 +18229,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.BuildType = types.BuildType(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18743,7 +18237,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.DateCreated = ptr.String(jtv) } - case "imageSource": if value != nil { jtv, ok := value.(string) @@ -18752,7 +18245,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageSource = types.ImageSource(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18761,7 +18253,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Name = ptr.String(jtv) } - case "osVersion": if value != nil { jtv, ok := value.(string) @@ -18770,7 +18261,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.OsVersion = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -18779,7 +18269,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Owner = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -18788,7 +18277,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Platform = types.Platform(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -18797,7 +18285,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Type = types.ImageType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -18806,7 +18293,6 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -18880,7 +18366,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18889,7 +18374,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.DateCreated = ptr.String(jtv) } - case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -18898,7 +18382,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.DateUpdated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18907,12 +18390,10 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Description = ptr.String(jtv) } - case "instanceMetadataOptions": if err := awsRestjson1_deserializeDocumentInstanceMetadataOptions(&sv.InstanceMetadataOptions, value); err != nil { return err } - case "instanceProfileName": if value != nil { jtv, ok := value.(string) @@ -18921,12 +18402,10 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.InstanceProfileName = ptr.String(jtv) } - case "instanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypeList(&sv.InstanceTypes, value); err != nil { return err } - case "keyPair": if value != nil { jtv, ok := value.(string) @@ -18935,12 +18414,10 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.KeyPair = ptr.String(jtv) } - case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18949,22 +18426,18 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Name = ptr.String(jtv) } - case "placement": if err := awsRestjson1_deserializeDocumentPlacement(&sv.Placement, value); err != nil { return err } - case "resourceTags": if err := awsRestjson1_deserializeDocumentResourceTagMap(&sv.ResourceTags, value); err != nil { return err } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -18973,7 +18446,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.SnsTopicArn = ptr.String(jtv) } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -18982,12 +18454,10 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.SubnetId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "terminateInstanceOnFailure": if value != nil { jtv, ok := value.(bool) @@ -18996,7 +18466,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.TerminateInstanceOnFailure = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19036,7 +18505,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -19045,7 +18513,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.DateCreated = ptr.String(jtv) } - case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -19054,7 +18521,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.DateUpdated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -19063,7 +18529,6 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Description = ptr.String(jtv) } - case "instanceProfileName": if value != nil { jtv, ok := value.(string) @@ -19072,12 +18537,10 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.InstanceProfileName = ptr.String(jtv) } - case "instanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypeList(&sv.InstanceTypes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -19086,22 +18549,18 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Name = ptr.String(jtv) } - case "placement": if err := awsRestjson1_deserializeDocumentPlacement(&sv.Placement, value); err != nil { return err } - case "resourceTags": if err := awsRestjson1_deserializeDocumentResourceTagMap(&sv.ResourceTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19171,7 +18630,6 @@ func awsRestjson1_deserializeDocumentInspectorScoreDetails(v **types.InspectorSc if err := awsRestjson1_deserializeDocumentCvssScoreDetails(&sv.AdjustedCvss, value); err != nil { return err } - default: _, _ = key, value @@ -19211,12 +18669,10 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.DeviceName = ptr.String(jtv) } - case "ebs": if err := awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(&sv.Ebs, value); err != nil { return err } - case "noDevice": if value != nil { jtv, ok := value.(string) @@ -19225,7 +18681,6 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.NoDevice = ptr.String(jtv) } - case "virtualName": if value != nil { jtv, ok := value.(string) @@ -19234,7 +18689,6 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.VirtualName = ptr.String(jtv) } - default: _, _ = key, value @@ -19304,7 +18758,6 @@ func awsRestjson1_deserializeDocumentInstanceConfiguration(v **types.InstanceCon if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -19313,7 +18766,6 @@ func awsRestjson1_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Image = ptr.String(jtv) } - default: _, _ = key, value @@ -19357,7 +18809,6 @@ func awsRestjson1_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } - case "httpTokens": if value != nil { jtv, ok := value.(string) @@ -19366,7 +18817,6 @@ func awsRestjson1_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpTokens = ptr.String(jtv) } - default: _, _ = key, value @@ -19432,15 +18882,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19448,15 +18892,11 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19481,15 +18921,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19497,15 +18931,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19530,15 +18960,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19546,15 +18970,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19579,15 +18999,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19595,15 +19009,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19628,15 +19038,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19644,15 +19048,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19677,15 +19077,9 @@ func awsRestjson1_deserializeDocumentInvalidVersionNumberException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19693,15 +19087,11 @@ func awsRestjson1_deserializeDocumentInvalidVersionNumberException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19732,22 +19122,18 @@ func awsRestjson1_deserializeDocumentLaunchPermissionConfiguration(v **types.Lau if err := awsRestjson1_deserializeDocumentOrganizationalUnitArnList(&sv.OrganizationalUnitArns, value); err != nil { return err } - case "organizationArns": if err := awsRestjson1_deserializeDocumentOrganizationArnList(&sv.OrganizationArns, value); err != nil { return err } - case "userGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.UserGroups, value); err != nil { return err } - case "userIds": if err := awsRestjson1_deserializeDocumentAccountList(&sv.UserIds, value); err != nil { return err } - default: _, _ = key, value @@ -19787,7 +19173,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.AccountId = ptr.String(jtv) } - case "launchTemplateId": if value != nil { jtv, ok := value.(string) @@ -19796,7 +19181,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.LaunchTemplateId = ptr.String(jtv) } - case "setDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -19805,7 +19189,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.SetDefaultVersion = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19922,7 +19305,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } } - case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -19931,7 +19313,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } sv.LifecycleExecutionId = ptr.String(jtv) } - case "lifecyclePolicyArn": if value != nil { jtv, ok := value.(string) @@ -19940,12 +19321,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } sv.LifecyclePolicyArn = ptr.String(jtv) } - case "resourcesImpactedSummary": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourcesImpactedSummary(&sv.ResourcesImpactedSummary, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -19961,12 +19340,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } } - case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -20006,12 +19383,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.AccountId = ptr.String(jtv) } - case "action": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(&sv.Action, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -20027,12 +19402,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } } - case "imageUris": if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageUris, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -20041,7 +19414,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.Region = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20050,12 +19422,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.ResourceId = ptr.String(jtv) } - case "snapshots": if err := awsRestjson1_deserializeDocumentLifecycleExecutionSnapshotResourceList(&sv.Snapshots, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -20071,12 +19441,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } } - case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -20116,7 +19484,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(v **types. } sv.Name = types.LifecycleExecutionResourceActionName(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -20125,7 +19492,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(v **types. } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -20199,7 +19565,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourcesImpactedSummary( } sv.HasImpactedResources = jtv } - default: _, _ = key, value @@ -20239,7 +19604,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(v **types.L } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20248,7 +19612,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(v **types.L } sv.Status = types.LifecycleExecutionResourceStatus(jtv) } - default: _, _ = key, value @@ -20322,12 +19685,10 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionSnapshotResource(v **type } sv.SnapshotId = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -20401,7 +19762,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionState(v **types.Lifecycle } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20410,7 +19770,6 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionState(v **types.Lifecycle } sv.Status = types.LifecycleExecutionStatus(jtv) } - default: _, _ = key, value @@ -20450,7 +19809,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { switch jtv := value.(type) { @@ -20466,7 +19824,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } - case "dateLastRun": if value != nil { switch jtv := value.(type) { @@ -20482,7 +19839,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } - case "dateUpdated": if value != nil { switch jtv := value.(type) { @@ -20498,7 +19854,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20507,7 +19862,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Description = ptr.String(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -20516,7 +19870,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ExecutionRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20525,17 +19878,14 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Name = ptr.String(jtv) } - case "policyDetails": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetails(&sv.PolicyDetails, value); err != nil { return err } - case "resourceSelection": if err := awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelection(&sv.ResourceSelection, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20544,7 +19894,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ResourceType = types.LifecyclePolicyResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20553,12 +19902,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Status = types.LifecyclePolicyStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20594,17 +19941,14 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(&sv.Action, value); err != nil { return err } - case "exclusionRules": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRules(&sv.ExclusionRules, value); err != nil { return err } - case "filter": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(&sv.Filter, value); err != nil { return err } - default: _, _ = key, value @@ -20640,7 +19984,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(v **types.Lifec if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources(&sv.IncludeResources, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -20649,7 +19992,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(v **types.Lifec } sv.Type = types.LifecyclePolicyDetailActionType(jtv) } - default: _, _ = key, value @@ -20689,7 +20031,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Amis = jtv } - case "containers": if value != nil { jtv, ok := value.(bool) @@ -20698,7 +20039,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Containers = jtv } - case "snapshots": if value != nil { jtv, ok := value.(bool) @@ -20707,7 +20047,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Snapshots = jtv } - default: _, _ = key, value @@ -20743,12 +20082,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRules(v **typ if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmis(&sv.Amis, value); err != nil { return err } - case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } - default: _, _ = key, value @@ -20788,27 +20125,22 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmis(v * } sv.IsPublic = jtv } - case "lastLaunched": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLastLaunched(&sv.LastLaunched, value); err != nil { return err } - case "regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } - case "sharedAccounts": if err := awsRestjson1_deserializeDocumentAccountList(&sv.SharedAccounts, value); err != nil { return err } - case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } - default: _, _ = key, value @@ -20848,7 +20180,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLast } sv.Unit = types.LifecyclePolicyTimeUnit(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -20861,7 +20192,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLast } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20905,7 +20235,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.RetainAtLeast = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -20914,7 +20243,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Type = types.LifecyclePolicyDetailFilterType(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -20923,7 +20251,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Unit = types.LifecyclePolicyTimeUnit(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -20936,7 +20263,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21006,12 +20332,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelection(v **types. if err := awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipes(&sv.Recipes, value); err != nil { return err } - case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } - default: _, _ = key, value @@ -21051,7 +20375,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipe(v ** } sv.Name = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -21060,7 +20383,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipe(v ** } sv.SemanticVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -21134,7 +20456,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { switch jtv := value.(type) { @@ -21150,7 +20471,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } - case "dateLastRun": if value != nil { switch jtv := value.(type) { @@ -21166,7 +20486,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } - case "dateUpdated": if value != nil { switch jtv := value.(type) { @@ -21182,7 +20501,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } - case "description": if value != nil { jtv, ok := value.(string) @@ -21191,7 +20509,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } - case "executionRole": if value != nil { jtv, ok := value.(string) @@ -21200,7 +20517,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.ExecutionRole = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21209,7 +20525,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21218,7 +20533,6 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.ResourceType = types.LifecyclePolicyResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21227,12 +20541,10 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Status = types.LifecyclePolicyStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21302,7 +20614,6 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentS3Logs(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -21482,12 +20793,10 @@ func awsRestjson1_deserializeDocumentOutputResources(v **types.OutputResources, if err := awsRestjson1_deserializeDocumentAmiList(&sv.Amis, value); err != nil { return err } - case "containers": if err := awsRestjson1_deserializeDocumentContainerList(&sv.Containers, value); err != nil { return err } - default: _, _ = key, value @@ -21523,17 +20832,14 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsRestjson1_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ReferenceUrls, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityIdList(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -21542,7 +20848,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } - case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -21551,7 +20856,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } - case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -21567,7 +20871,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -21576,7 +20879,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } - case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21592,7 +20894,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -21601,12 +20902,10 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } - case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentVulnerablePackageList(&sv.VulnerablePackages, value); err != nil { return err } - default: _, _ = key, value @@ -21646,7 +20945,6 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.AvailabilityZone = ptr.String(jtv) } - case "hostId": if value != nil { jtv, ok := value.(string) @@ -21655,7 +20953,6 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.HostId = ptr.String(jtv) } - case "hostResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -21664,7 +20961,6 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.HostResourceGroupArn = ptr.String(jtv) } - case "tenancy": if value != nil { jtv, ok := value.(string) @@ -21673,7 +20969,6 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.Tenancy = types.TenancyType(jtv) } - default: _, _ = key, value @@ -21745,7 +21040,6 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRemediationRecommendation(&sv.Recommendation, value); err != nil { return err } - default: _, _ = key, value @@ -21785,7 +21079,6 @@ func awsRestjson1_deserializeDocumentRemediationRecommendation(v **types.Remedia } sv.Text = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -21794,7 +21087,6 @@ func awsRestjson1_deserializeDocumentRemediationRecommendation(v **types.Remedia } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21824,15 +21116,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21840,15 +21126,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21873,15 +21155,9 @@ func awsRestjson1_deserializeDocumentResourceDependencyException(v **types.Resou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21889,15 +21165,11 @@ func awsRestjson1_deserializeDocumentResourceDependencyException(v **types.Resou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21922,15 +21194,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21938,15 +21204,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21971,15 +21233,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21987,15 +21243,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22066,7 +21318,6 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.DiskImageFormat = types.DiskImageFormat(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -22075,7 +21326,6 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.RoleName = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -22084,7 +21334,6 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.S3Bucket = ptr.String(jtv) } - case "s3Prefix": if value != nil { jtv, ok := value.(string) @@ -22093,7 +21342,6 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.S3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -22133,7 +21381,6 @@ func awsRestjson1_deserializeDocumentS3Logs(v **types.S3Logs, value interface{}) } sv.S3BucketName = ptr.String(jtv) } - case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -22142,7 +21389,6 @@ func awsRestjson1_deserializeDocumentS3Logs(v **types.S3Logs, value interface{}) } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -22182,7 +21428,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.PipelineExecutionStartCondition = types.PipelineExecutionStartCondition(jtv) } - case "scheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22191,7 +21436,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ScheduleExpression = ptr.String(jtv) } - case "timezone": if value != nil { jtv, ok := value.(string) @@ -22200,7 +21444,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -22266,15 +21509,9 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22282,15 +21519,11 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22315,15 +21548,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22331,15 +21558,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22364,15 +21587,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22380,15 +21597,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22427,7 +21640,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.All = ptr.Int64(i64) } - case "critical": if value != nil { jtv, ok := value.(json.Number) @@ -22440,7 +21652,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Critical = ptr.Int64(i64) } - case "high": if value != nil { jtv, ok := value.(json.Number) @@ -22453,7 +21664,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.High = ptr.Int64(i64) } - case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -22466,7 +21676,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Medium = ptr.Int64(i64) } - default: _, _ = key, value @@ -22542,7 +21751,6 @@ func awsRestjson1_deserializeDocumentSystemsManagerAgent(v **types.SystemsManage } sv.UninstallAfterBuild = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22618,7 +21826,6 @@ func awsRestjson1_deserializeDocumentTargetContainerRepository(v **types.TargetC } sv.RepositoryName = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -22627,7 +21834,6 @@ func awsRestjson1_deserializeDocumentTargetContainerRepository(v **types.TargetC } sv.Service = types.ContainerRepositoryService(jtv) } - default: _, _ = key, value @@ -22663,7 +21869,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(v **types.Vulner if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -22672,7 +21877,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(v **types.Vulner } sv.VulnerabilityId = ptr.String(jtv) } - default: _, _ = key, value @@ -22748,7 +21952,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } - case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -22761,7 +21964,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = ptr.Int32(int32(i64)) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -22770,7 +21972,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } - case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -22779,7 +21980,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22788,7 +21988,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } - case "packageManager": if value != nil { jtv, ok := value.(string) @@ -22797,7 +21996,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = ptr.String(jtv) } - case "release": if value != nil { jtv, ok := value.(string) @@ -22806,7 +22004,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } - case "remediation": if value != nil { jtv, ok := value.(string) @@ -22815,7 +22012,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Remediation = ptr.String(jtv) } - case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -22824,7 +22020,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -22833,7 +22028,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -22907,7 +22101,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Arn = ptr.String(jtv) } - case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -22916,7 +22109,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.ChangeDescription = ptr.String(jtv) } - case "data": if value != nil { jtv, ok := value.(string) @@ -22925,7 +22117,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Data = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -22934,7 +22125,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -22943,7 +22133,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Description = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -22952,7 +22141,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22961,7 +22149,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -22970,22 +22157,18 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Owner = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentWorkflowParameterDetailList(&sv.Parameters, value); err != nil { return err } - case "state": if err := awsRestjson1_deserializeDocumentWorkflowState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -22994,7 +22177,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Type = types.WorkflowType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -23003,7 +22185,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -23043,7 +22224,6 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.OnFailure = types.OnWorkflowFailure(jtv) } - case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -23052,12 +22232,10 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.ParallelGroup = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentWorkflowParameterList(&sv.Parameters, value); err != nil { return err } - case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -23066,7 +22244,6 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.WorkflowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23140,7 +22317,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.EndTime = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -23149,7 +22325,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Message = ptr.String(jtv) } - case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -23158,7 +22333,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.ParallelGroup = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -23167,7 +22341,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23176,7 +22349,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Status = types.WorkflowExecutionStatus(jtv) } - case "totalStepCount": if value != nil { jtv, ok := value.(json.Number) @@ -23189,7 +22361,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepCount = int32(i64) } - case "totalStepsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -23202,7 +22373,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsFailed = int32(i64) } - case "totalStepsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -23215,7 +22385,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsSkipped = int32(i64) } - case "totalStepsSucceeded": if value != nil { jtv, ok := value.(json.Number) @@ -23228,7 +22397,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsSucceeded = int32(i64) } - case "type": if value != nil { jtv, ok := value.(string) @@ -23237,7 +22405,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Type = types.WorkflowType(jtv) } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -23246,7 +22413,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -23255,7 +22421,6 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.WorkflowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23329,12 +22494,10 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Name = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentWorkflowParameterValueList(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -23370,7 +22533,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP if err := awsRestjson1_deserializeDocumentWorkflowParameterValueList(&sv.DefaultValue, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -23379,7 +22541,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23388,7 +22549,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -23397,7 +22557,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -23541,7 +22700,6 @@ func awsRestjson1_deserializeDocumentWorkflowState(v **types.WorkflowState, valu } sv.Reason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23550,7 +22708,6 @@ func awsRestjson1_deserializeDocumentWorkflowState(v **types.WorkflowState, valu } sv.Status = types.WorkflowStatus(jtv) } - default: _, _ = key, value @@ -23590,7 +22747,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.Action = ptr.String(jtv) } - case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -23599,7 +22755,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.ImageBuildVersionArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23608,7 +22763,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.Name = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -23617,7 +22771,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.StartTime = ptr.String(jtv) } - case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -23626,7 +22779,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.StepExecutionId = ptr.String(jtv) } - case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -23635,7 +22787,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.WorkflowBuildVersionArn = ptr.String(jtv) } - case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -23644,7 +22795,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.WorkflowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23752,7 +22902,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Action = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -23761,7 +22910,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -23770,7 +22918,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.EndTime = ptr.String(jtv) } - case "inputs": if value != nil { jtv, ok := value.(string) @@ -23779,7 +22926,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Inputs = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -23788,7 +22934,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23797,7 +22942,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Name = ptr.String(jtv) } - case "outputs": if value != nil { jtv, ok := value.(string) @@ -23806,7 +22950,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Outputs = ptr.String(jtv) } - case "rollbackStatus": if value != nil { jtv, ok := value.(string) @@ -23815,7 +22958,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.RollbackStatus = types.WorkflowStepExecutionRollbackStatus(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -23824,7 +22966,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23833,7 +22974,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Status = types.WorkflowStepExecutionStatus(jtv) } - case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -23842,7 +22982,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.StepExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23882,7 +23021,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Arn = ptr.String(jtv) } - case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -23891,7 +23029,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.ChangeDescription = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -23900,7 +23037,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -23909,7 +23045,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23918,7 +23053,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -23927,17 +23061,14 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Owner = ptr.String(jtv) } - case "state": if err := awsRestjson1_deserializeDocumentWorkflowState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -23946,7 +23077,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Type = types.WorkflowType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -23955,7 +23085,6 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -24029,7 +23158,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Arn = ptr.String(jtv) } - case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -24038,7 +23166,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.DateCreated = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -24047,7 +23174,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -24056,7 +23182,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -24065,7 +23190,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Owner = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -24074,7 +23198,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Type = types.WorkflowType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -24083,7 +23206,6 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/inspector/deserializers.go b/service/inspector/deserializers.go index 451eb98e844..09b0bf92002 100644 --- a/service/inspector/deserializers.go +++ b/service/inspector/deserializers.go @@ -4714,13 +4714,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -4730,7 +4724,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.CanRetry = ptr.Bool(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4739,8 +4732,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = types.AccessDeniedErrorCode(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4748,15 +4740,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4791,7 +4779,6 @@ func awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessment(v **types.Age } sv.AgentId = ptr.String(jtv) } - case "assessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -4800,7 +4787,6 @@ func awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessment(v **types.Age } sv.AssessmentRunArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4874,7 +4860,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentHealth = types.AgentHealth(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -4883,7 +4868,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentId = ptr.String(jtv) } - case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -4892,7 +4876,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentVersion = ptr.String(jtv) } - case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4884,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AutoScalingGroup = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -4910,7 +4892,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.Hostname = ptr.String(jtv) } - case "ipv4Address": if value != nil { jtv, ok := value.(string) @@ -4919,7 +4900,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.Ipv4Address = ptr.String(jtv) } - case "kernelVersion": if value != nil { jtv, ok := value.(string) @@ -4928,7 +4908,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.KernelVersion = ptr.String(jtv) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -4937,7 +4916,6 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.OperatingSystem = ptr.String(jtv) } - default: _, _ = key, value @@ -5001,19 +4979,12 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "agents": if err := awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessmentList(&sv.Agents, value); err != nil { return err } - case "agentsTruncated": if value != nil { jtv, ok := value.(bool) @@ -5022,7 +4993,6 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.AgentsTruncated = ptr.Bool(jtv) } - case "canRetry": if value != nil { jtv, ok := value.(bool) @@ -5031,8 +5001,7 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.CanRetry = ptr.Bool(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5040,15 +5009,11 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5119,7 +5084,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.Arn = ptr.String(jtv) } - case "assessmentTemplateArn": if value != nil { jtv, ok := value.(string) @@ -5128,7 +5092,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.AssessmentTemplateArn = ptr.String(jtv) } - case "completedAt": if value != nil { switch jtv := value.(type) { @@ -5144,7 +5107,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5160,7 +5122,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } - case "dataCollected": if value != nil { jtv, ok := value.(bool) @@ -5169,7 +5130,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.DataCollected = ptr.Bool(jtv) } - case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5182,12 +5142,10 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "findingCounts": if err := awsAwsjson11_deserializeDocumentAssessmentRunFindingCounts(&sv.FindingCounts, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5196,17 +5154,14 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.Name = ptr.String(jtv) } - case "notifications": if err := awsAwsjson11_deserializeDocumentAssessmentRunNotificationList(&sv.Notifications, value); err != nil { return err } - case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentAssessmentRulesPackageArnList(&sv.RulesPackageArns, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -5222,7 +5177,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } - case "state": if value != nil { jtv, ok := value.(string) @@ -5231,7 +5185,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.State = types.AssessmentRunState(jtv) } - case "stateChangedAt": if value != nil { switch jtv := value.(type) { @@ -5247,17 +5200,14 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } - case "stateChanges": if err := awsAwsjson11_deserializeDocumentAssessmentRunStateChangeList(&sv.StateChanges, value); err != nil { return err } - case "userAttributesForFindings": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributesForFindings, value); err != nil { return err } - default: _, _ = key, value @@ -5297,7 +5247,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealth = types.AgentHealth(jtv) } - case "agentHealthCode": if value != nil { jtv, ok := value.(string) @@ -5306,7 +5255,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealthCode = types.AgentHealthCode(jtv) } - case "agentHealthDetails": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5263,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealthDetails = ptr.String(jtv) } - case "agentId": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5271,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentId = ptr.String(jtv) } - case "assessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -5333,7 +5279,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AssessmentRunArn = ptr.String(jtv) } - case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -5342,12 +5287,10 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AutoScalingGroup = ptr.String(jtv) } - case "telemetryMetadata": if err := awsAwsjson11_deserializeDocumentTelemetryMetadataList(&sv.TelemetryMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -5487,19 +5430,12 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "assessmentRunArns": if err := awsAwsjson11_deserializeDocumentAssessmentRunInProgressArnList(&sv.AssessmentRunArns, value); err != nil { return err } - case "assessmentRunArnsTruncated": if value != nil { jtv, ok := value.(bool) @@ -5508,7 +5444,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.AssessmentRunArnsTruncated = ptr.Bool(jtv) } - case "canRetry": if value != nil { jtv, ok := value.(bool) @@ -5517,8 +5452,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.CanRetry = ptr.Bool(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5526,15 +5460,11 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5610,7 +5540,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } } - case "error": if value != nil { jtv, ok := value.(bool) @@ -5619,7 +5548,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Error = ptr.Bool(jtv) } - case "event": if value != nil { jtv, ok := value.(string) @@ -5628,7 +5556,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Event = types.InspectorEvent(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5637,7 +5564,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Message = ptr.String(jtv) } - case "snsPublishStatusCode": if value != nil { jtv, ok := value.(string) @@ -5646,7 +5572,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.SnsPublishStatusCode = types.AssessmentRunNotificationSnsStatusCode(jtv) } - case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -5655,7 +5580,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5729,7 +5653,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunStateChange(v **types.Assessme } sv.State = types.AssessmentRunState(jtv) } - case "stateChangedAt": if value != nil { switch jtv := value.(type) { @@ -5745,7 +5668,6 @@ func awsAwsjson11_deserializeDocumentAssessmentRunStateChange(v **types.Assessme } } - default: _, _ = key, value @@ -5819,7 +5741,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5835,7 +5756,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5844,7 +5764,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Name = ptr.String(jtv) } - case "resourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -5853,7 +5772,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.ResourceGroupArn = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5869,7 +5787,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } } - default: _, _ = key, value @@ -5943,7 +5860,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.Arn = ptr.String(jtv) } - case "assessmentRunCount": if value != nil { jtv, ok := value.(json.Number) @@ -5956,7 +5872,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.AssessmentRunCount = ptr.Int32(int32(i64)) } - case "assessmentTargetArn": if value != nil { jtv, ok := value.(string) @@ -5965,7 +5880,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.AssessmentTargetArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5981,7 +5895,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } } - case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5994,7 +5907,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "lastAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -6003,7 +5915,6 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.LastAssessmentRunArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6012,17 +5923,14 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.Name = ptr.String(jtv) } - case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentAssessmentTemplateRulesPackageArnList(&sv.RulesPackageArns, value); err != nil { return err } - case "userAttributesForFindings": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributesForFindings, value); err != nil { return err } - default: _, _ = key, value @@ -6132,7 +6040,6 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AgentId = ptr.String(jtv) } - case "amiId": if value != nil { jtv, ok := value.(string) @@ -6141,7 +6048,6 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AmiId = ptr.String(jtv) } - case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -6150,7 +6056,6 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AutoScalingGroup = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -6159,17 +6064,14 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.Hostname = ptr.String(jtv) } - case "ipv4Addresses": if err := awsAwsjson11_deserializeDocumentIpv4AddressList(&sv.Ipv4Addresses, value); err != nil { return err } - case "networkInterfaces": if err := awsAwsjson11_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6182,12 +6084,10 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.SchemaVersion = int32(i64) } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6227,7 +6127,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6236,7 +6135,6 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6310,7 +6208,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Event = types.InspectorEvent(jtv) } - case "subscribedAt": if value != nil { switch jtv := value.(type) { @@ -6326,7 +6223,6 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } } - default: _, _ = key, value @@ -6400,12 +6296,10 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Arn = ptr.String(jtv) } - case "attributes": if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6308,6 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Description = ptr.String(jtv) } - case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6423,12 +6316,10 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Recommendation = ptr.String(jtv) } - case "scopes": if err := awsAwsjson11_deserializeDocumentScopeList(&sv.Scopes, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -6437,7 +6328,6 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6508,7 +6398,6 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -6517,7 +6406,6 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Description = ptr.String(jtv) } - case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6526,12 +6414,10 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Recommendation = ptr.String(jtv) } - case "scopes": if err := awsAwsjson11_deserializeDocumentScopeList(&sv.Scopes, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -6540,7 +6426,6 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6614,7 +6499,6 @@ func awsAwsjson11_deserializeDocumentFailedItemDetails(v **types.FailedItemDetai } sv.FailureCode = types.FailedItemErrorCode(jtv) } - case "retryable": if value != nil { jtv, ok := value.(bool) @@ -6623,7 +6507,6 @@ func awsAwsjson11_deserializeDocumentFailedItemDetails(v **types.FailedItemDetai } sv.Retryable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6698,12 +6581,10 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Arn = ptr.String(jtv) } - case "assetAttributes": if err := awsAwsjson11_deserializeDocumentAssetAttributes(&sv.AssetAttributes, value); err != nil { return err } - case "assetType": if value != nil { jtv, ok := value.(string) @@ -6712,12 +6593,10 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AssetType = types.AssetType(jtv) } - case "attributes": if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } - case "confidence": if value != nil { jtv, ok := value.(json.Number) @@ -6730,7 +6609,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Confidence = int32(i64) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6746,7 +6624,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6755,7 +6632,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6640,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "indicatorOfCompromise": if value != nil { jtv, ok := value.(bool) @@ -6773,7 +6648,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.IndicatorOfCompromise = ptr.Bool(jtv) } - case "numericSeverity": if value != nil { switch jtv := value.(type) { @@ -6807,7 +6681,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6816,7 +6689,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Recommendation = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6829,7 +6701,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = int32(i64) } - case "service": if value != nil { jtv, ok := value.(string) @@ -6838,12 +6709,10 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Service = ptr.String(jtv) } - case "serviceAttributes": if err := awsAwsjson11_deserializeDocumentInspectorServiceAttributes(&sv.ServiceAttributes, value); err != nil { return err } - case "severity": if value != nil { jtv, ok := value.(string) @@ -6852,7 +6721,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6861,7 +6729,6 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6877,12 +6744,10 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "userAttributes": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -6956,7 +6821,6 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.AssessmentRunArn = ptr.String(jtv) } - case "rulesPackageArn": if value != nil { jtv, ok := value.(string) @@ -6965,7 +6829,6 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.RulesPackageArn = ptr.String(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6978,7 +6841,6 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.SchemaVersion = int32(i64) } - default: _, _ = key, value @@ -7008,13 +6870,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -7024,8 +6880,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.CanRetry = ptr.Bool(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7033,15 +6888,11 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7066,13 +6917,7 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -7082,7 +6927,6 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.CanRetry = ptr.Bool(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7091,8 +6935,7 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.ErrorCode_ = types.InvalidCrossAccountRoleErrorCode(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7100,15 +6943,11 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7133,13 +6972,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -7149,7 +6982,6 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.CanRetry = ptr.Bool(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7158,8 +6990,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.ErrorCode_ = types.InvalidInputErrorCode(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7167,15 +6998,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7272,13 +7099,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -7288,7 +7109,6 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.CanRetry = ptr.Bool(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7297,8 +7117,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ErrorCode_ = types.LimitExceededErrorCode(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7306,15 +7125,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7381,7 +7196,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsAwsjson11_deserializeDocumentIpv6Addresses(&sv.Ipv6Addresses, value); err != nil { return err } - case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -7390,7 +7204,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "privateDnsName": if value != nil { jtv, ok := value.(string) @@ -7399,7 +7212,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateDnsName = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -7408,12 +7220,10 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } - case "privateIpAddresses": if err := awsAwsjson11_deserializeDocumentPrivateIpAddresses(&sv.PrivateIpAddresses, value); err != nil { return err } - case "publicDnsName": if value != nil { jtv, ok := value.(string) @@ -7422,7 +7232,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicDnsName = ptr.String(jtv) } - case "publicIp": if value != nil { jtv, ok := value.(string) @@ -7431,12 +7240,10 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIp = ptr.String(jtv) } - case "securityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -7445,7 +7252,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7454,7 +7260,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7518,13 +7323,7 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -7534,7 +7333,6 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.CanRetry = ptr.Bool(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7543,8 +7341,7 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.ErrorCode_ = types.NoSuchEntityErrorCode(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7552,15 +7349,11 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7585,15 +7378,9 @@ func awsAwsjson11_deserializeDocumentPreviewGenerationInProgressException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7601,15 +7388,11 @@ func awsAwsjson11_deserializeDocumentPreviewGenerationInProgressException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7644,7 +7427,6 @@ func awsAwsjson11_deserializeDocumentPrivateIp(v **types.PrivateIp, value interf } sv.PrivateDnsName = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -7653,7 +7435,6 @@ func awsAwsjson11_deserializeDocumentPrivateIp(v **types.PrivateIp, value interf } sv.PrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -7727,7 +7508,6 @@ func awsAwsjson11_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -7743,12 +7523,10 @@ func awsAwsjson11_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } } - case "tags": if err := awsAwsjson11_deserializeDocumentResourceGroupTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7822,7 +7600,6 @@ func awsAwsjson11_deserializeDocumentResourceGroupTag(v **types.ResourceGroupTag } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7831,7 +7608,6 @@ func awsAwsjson11_deserializeDocumentResourceGroupTag(v **types.ResourceGroupTag } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7905,7 +7681,6 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7914,7 +7689,6 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7923,7 +7697,6 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -7932,7 +7705,6 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Provider = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7941,7 +7713,6 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8015,7 +7786,6 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Key = types.ScopeType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8024,7 +7794,6 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8098,7 +7867,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -8107,7 +7875,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -8171,13 +7938,7 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -8187,8 +7948,7 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** } sv.CanRetry = ptr.Bool(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8196,15 +7956,11 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8235,7 +7991,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value if err := awsAwsjson11_deserializeDocumentEventSubscriptionList(&sv.EventSubscriptions, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8244,7 +7999,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.ResourceArn = ptr.String(jtv) } - case "topicArn": if value != nil { jtv, ok := value.(string) @@ -8253,7 +8007,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8327,7 +8080,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8336,7 +8088,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8448,7 +8199,6 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.Count = ptr.Int64(i64) } - case "dataSize": if value != nil { jtv, ok := value.(json.Number) @@ -8461,7 +8211,6 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.DataSize = ptr.Int64(i64) } - case "messageType": if value != nil { jtv, ok := value.(string) @@ -8470,7 +8219,6 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.MessageType = ptr.String(jtv) } - default: _, _ = key, value @@ -8534,13 +8282,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "canRetry": if value != nil { @@ -8550,8 +8292,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.CanRetry = ptr.Bool(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8559,15 +8300,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8632,7 +8369,6 @@ func awsAwsjson11_deserializeOpDocumentAddAttributesToFindingsOutput(v **AddAttr if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -8672,7 +8408,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAssessmentTargetOutput(v **CreateAs } sv.AssessmentTargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8712,7 +8447,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAssessmentTemplateOutput(v **Create } sv.AssessmentTemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8752,7 +8486,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExclusionsPreviewOutput(v **CreateE } sv.PreviewToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8792,7 +8525,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceGroupOutput(v **CreateResou } sv.ResourceGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8828,12 +8560,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentRunsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentAssessmentRunList(&sv.AssessmentRuns, value); err != nil { return err } - case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -8869,12 +8599,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentTargetsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAssessmentTargetList(&sv.AssessmentTargets, value); err != nil { return err } - case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -8910,12 +8638,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentTemplatesOutput(v **Des if err := awsAwsjson11_deserializeDocumentAssessmentTemplateList(&sv.AssessmentTemplates, value); err != nil { return err } - case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -8962,7 +8688,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8971,7 +8696,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } sv.RoleArn = ptr.String(jtv) } - case "valid": if value != nil { jtv, ok := value.(bool) @@ -8980,7 +8704,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } sv.Valid = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9016,12 +8739,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExclusionsOutput(v **DescribeExcl if err := awsAwsjson11_deserializeDocumentExclusionMap(&sv.Exclusions, value); err != nil { return err } - case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -9057,12 +8778,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFindingsOutput(v **DescribeFindin if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - case "findings": if err := awsAwsjson11_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } - default: _, _ = key, value @@ -9098,12 +8817,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceGroupsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - case "resourceGroups": if err := awsAwsjson11_deserializeDocumentResourceGroupList(&sv.ResourceGroups, value); err != nil { return err } - default: _, _ = key, value @@ -9139,12 +8856,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeRulesPackagesOutput(v **DescribeR if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - case "rulesPackages": if err := awsAwsjson11_deserializeDocumentRulesPackageList(&sv.RulesPackages, value); err != nil { return err } - default: _, _ = key, value @@ -9184,7 +8899,6 @@ func awsAwsjson11_deserializeOpDocumentGetAssessmentReportOutput(v **GetAssessme } sv.Status = types.ReportStatus(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -9193,7 +8907,6 @@ func awsAwsjson11_deserializeOpDocumentGetAssessmentReportOutput(v **GetAssessme } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -9229,7 +8942,6 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi if err := awsAwsjson11_deserializeDocumentExclusionPreviewList(&sv.ExclusionPreviews, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9238,7 +8950,6 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi } sv.NextToken = ptr.String(jtv) } - case "previewStatus": if value != nil { jtv, ok := value.(string) @@ -9247,7 +8958,6 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi } sv.PreviewStatus = types.PreviewStatus(jtv) } - default: _, _ = key, value @@ -9283,7 +8993,6 @@ func awsAwsjson11_deserializeOpDocumentGetTelemetryMetadataOutput(v **GetTelemet if err := awsAwsjson11_deserializeDocumentTelemetryMetadataList(&sv.TelemetryMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -9319,7 +9028,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunAgentsOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentAssessmentRunAgentList(&sv.AssessmentRunAgents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9328,7 +9036,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunAgentsOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9364,7 +9071,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunsOutput(v **ListAssessme if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentRunArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9373,7 +9079,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunsOutput(v **ListAssessme } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9409,7 +9114,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTargetsOutput(v **ListAsses if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentTargetArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9418,7 +9122,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTargetsOutput(v **ListAsses } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9454,7 +9157,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTemplatesOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentTemplateArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9463,7 +9165,6 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTemplatesOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9503,12 +9204,10 @@ func awsAwsjson11_deserializeOpDocumentListEventSubscriptionsOutput(v **ListEven } sv.NextToken = ptr.String(jtv) } - case "subscriptions": if err := awsAwsjson11_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -9544,7 +9243,6 @@ func awsAwsjson11_deserializeOpDocumentListExclusionsOutput(v **ListExclusionsOu if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.ExclusionArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9553,7 +9251,6 @@ func awsAwsjson11_deserializeOpDocumentListExclusionsOutput(v **ListExclusionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9589,7 +9286,6 @@ func awsAwsjson11_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.FindingArns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9294,6 @@ func awsAwsjson11_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9638,12 +9333,10 @@ func awsAwsjson11_deserializeOpDocumentListRulesPackagesOutput(v **ListRulesPack } sv.NextToken = ptr.String(jtv) } - case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.RulesPackageArns, value); err != nil { return err } - default: _, _ = key, value @@ -9679,7 +9372,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9715,7 +9407,6 @@ func awsAwsjson11_deserializeOpDocumentPreviewAgentsOutput(v **PreviewAgentsOutp if err := awsAwsjson11_deserializeDocumentAgentPreviewList(&sv.AgentPreviews, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9724,7 +9415,6 @@ func awsAwsjson11_deserializeOpDocumentPreviewAgentsOutput(v **PreviewAgentsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9760,7 +9450,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveAttributesFromFindingsOutput(v **Re if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } - default: _, _ = key, value @@ -9800,7 +9489,6 @@ func awsAwsjson11_deserializeOpDocumentStartAssessmentRunOutput(v **StartAssessm } sv.AssessmentRunArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/inspector2/deserializers.go b/service/inspector2/deserializers.go index 414bb8f4434..59f9448fdb5 100644 --- a/service/inspector2/deserializers.go +++ b/service/inspector2/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentAssociateMemberOutput(v **AssociateMember } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -350,12 +349,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetAccountStatusOutput(v **BatchGetA if err := awsRestjson1_deserializeDocumentAccountStateList(&sv.Accounts, value); err != nil { return err } - case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -516,12 +513,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetCodeSnippetOutput(v **BatchGetCod if err := awsRestjson1_deserializeDocumentCodeSnippetResultList(&sv.CodeSnippetResults, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentCodeSnippetErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -682,12 +677,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetFindingDetailsOutput(v **BatchGet if err := awsRestjson1_deserializeDocumentFindingDetailsErrorList(&sv.Errors, value); err != nil { return err } - case "findingDetails": if err := awsRestjson1_deserializeDocumentFindingDetails(&sv.FindingDetails, value); err != nil { return err } - default: _, _ = key, value @@ -848,12 +841,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetFreeTrialInfoOutput(v **BatchGetF if err := awsRestjson1_deserializeDocumentFreeTrialAccountInfoList(&sv.Accounts, value); err != nil { return err } - case "failedAccounts": if err := awsRestjson1_deserializeDocumentFreeTrialInfoErrorList(&sv.FailedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1014,12 +1005,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetMemberEc2DeepInspectionStatusOutp if err := awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusStateList(&sv.AccountIds, value); err != nil { return err } - case "failedAccountIds": if err := awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusStateList(&sv.FailedAccountIds, value); err != nil { return err } - default: _, _ = key, value @@ -1180,12 +1169,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateMemberEc2DeepInspectionStatusO if err := awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusStateList(&sv.AccountIds, value); err != nil { return err } - case "failedAccountIds": if err := awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusStateList(&sv.FailedAccountIds, value); err != nil { return err } - default: _, _ = key, value @@ -1353,7 +1340,6 @@ func awsRestjson1_deserializeOpDocumentCancelFindingsReportOutput(v **CancelFind } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1521,7 +1507,6 @@ func awsRestjson1_deserializeOpDocumentCancelSbomExportOutput(v **CancelSbomExpo } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1686,7 +1671,6 @@ func awsRestjson1_deserializeOpDocumentCreateCisScanConfigurationOutput(v **Crea } sv.ScanConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1857,7 +1841,6 @@ func awsRestjson1_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2025,7 +2008,6 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsReportOutput(v **CreateFind } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -2193,7 +2175,6 @@ func awsRestjson1_deserializeOpDocumentCreateSbomExportOutput(v **CreateSbomExpo } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -2361,7 +2342,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCisScanConfigurationOutput(v **Dele } sv.ScanConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2529,7 +2509,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFilterOutput(v **DeleteFilterOutput } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2690,7 +2669,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if err := awsRestjson1_deserializeDocumentAutoEnable(&sv.AutoEnable, value); err != nil { return err } - case "maxAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -2699,7 +2677,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MaxAccountLimitReached = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2863,12 +2840,10 @@ func awsRestjson1_deserializeOpDocumentDisableOutput(v **DisableOutput, value in if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } - case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -3039,7 +3014,6 @@ func awsRestjson1_deserializeOpDocumentDisableDelegatedAdminAccountOutput(v **Di } sv.DelegatedAdminAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -3204,7 +3178,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateMemberOutput(v **Disassociate } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -3368,12 +3341,10 @@ func awsRestjson1_deserializeOpDocumentEnableOutput(v **EnableOutput, value inte if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } - case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -3544,7 +3515,6 @@ func awsRestjson1_deserializeOpDocumentEnableDelegatedAdminAccountOutput(v **Ena } sv.DelegatedAdminAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -3712,7 +3682,6 @@ func awsRestjson1_deserializeOpDocumentGetCisScanReportOutput(v **GetCisScanRepo } sv.Status = types.CisReportStatus(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -3721,7 +3690,6 @@ func awsRestjson1_deserializeOpDocumentGetCisScanReportOutput(v **GetCisScanRepo } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -3886,12 +3854,10 @@ func awsRestjson1_deserializeOpDocumentGetCisScanResultDetailsOutput(v **GetCisS } sv.NextToken = ptr.String(jtv) } - case "scanResultDetails": if err := awsRestjson1_deserializeDocumentCisScanResultDetailsList(&sv.ScanResultDetails, value); err != nil { return err } - default: _, _ = key, value @@ -4049,12 +4015,10 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationOutput(v **GetConfigurati if err := awsRestjson1_deserializeDocumentEc2ConfigurationState(&sv.Ec2Configuration, value); err != nil { return err } - case "ecrConfiguration": if err := awsRestjson1_deserializeDocumentEcrConfigurationState(&sv.EcrConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4218,7 +4182,6 @@ func awsRestjson1_deserializeOpDocumentGetDelegatedAdminAccountOutput(v **GetDel if err := awsRestjson1_deserializeDocumentDelegatedAdmin(&sv.DelegatedAdmin, value); err != nil { return err } - default: _, _ = key, value @@ -4383,17 +4346,14 @@ func awsRestjson1_deserializeOpDocumentGetEc2DeepInspectionConfigurationOutput(v } sv.ErrorMessage = ptr.String(jtv) } - case "orgPackagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.OrgPackagePaths, value); err != nil { return err } - case "packagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.PackagePaths, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4402,7 +4362,6 @@ func awsRestjson1_deserializeOpDocumentGetEc2DeepInspectionConfigurationOutput(v } sv.Status = types.Ec2DeepInspectionStatus(jtv) } - default: _, _ = key, value @@ -4570,7 +4529,6 @@ func awsRestjson1_deserializeOpDocumentGetEncryptionKeyOutput(v **GetEncryptionK } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -4734,7 +4692,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4743,7 +4700,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ErrorCode = types.ReportingErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4752,12 +4708,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ErrorMessage = ptr.String(jtv) } - case "filterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "reportId": if value != nil { jtv, ok := value.(string) @@ -4766,7 +4720,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ReportId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4775,7 +4728,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.Status = types.ExternalReportStatus(jtv) } - default: _, _ = key, value @@ -4939,7 +4891,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -5107,7 +5058,6 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ErrorCode = types.ReportingErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5116,12 +5066,10 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ErrorMessage = ptr.String(jtv) } - case "filterCriteria": if err := awsRestjson1_deserializeDocumentResourceFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "format": if value != nil { jtv, ok := value.(string) @@ -5130,7 +5078,6 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.Format = types.SbomReportFormat(jtv) } - case "reportId": if value != nil { jtv, ok := value.(string) @@ -5139,12 +5086,10 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ReportId = ptr.String(jtv) } - case "s3Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.S3Destination, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5153,7 +5098,6 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.Status = types.ExternalReportStatus(jtv) } - default: _, _ = key, value @@ -5318,12 +5262,10 @@ func awsRestjson1_deserializeOpDocumentListAccountPermissionsOutput(v **ListAcco } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -5488,12 +5430,10 @@ func awsRestjson1_deserializeOpDocumentListCisScanConfigurationsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - case "scanConfigurations": if err := awsRestjson1_deserializeDocumentCisScanConfigurationList(&sv.ScanConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -5654,7 +5594,6 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByChecksOutpu if err := awsRestjson1_deserializeDocumentCisCheckAggregationList(&sv.CheckAggregations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5663,7 +5602,6 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByChecksOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5828,12 +5766,10 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByTargetResou } sv.NextToken = ptr.String(jtv) } - case "targetResourceAggregations": if err := awsRestjson1_deserializeDocumentCisTargetResourceAggregationList(&sv.TargetResourceAggregations, value); err != nil { return err } - default: _, _ = key, value @@ -5998,12 +5934,10 @@ func awsRestjson1_deserializeOpDocumentListCisScansOutput(v **ListCisScansOutput } sv.NextToken = ptr.String(jtv) } - case "scans": if err := awsRestjson1_deserializeDocumentCisScanList(&sv.Scans, value); err != nil { return err } - default: _, _ = key, value @@ -6161,7 +6095,6 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput if err := awsRestjson1_deserializeDocumentCoveredResources(&sv.CoveredResources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6170,7 +6103,6 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6328,7 +6260,6 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove if err := awsRestjson1_deserializeDocumentCountsList(&sv.CountsByGroup, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6337,7 +6268,6 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove } sv.NextToken = ptr.String(jtv) } - case "totalCounts": if value != nil { jtv, ok := value.(json.Number) @@ -6350,7 +6280,6 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove } sv.TotalCounts = ptr.Int64(i64) } - default: _, _ = key, value @@ -6511,7 +6440,6 @@ func awsRestjson1_deserializeOpDocumentListDelegatedAdminAccountsOutput(v **List if err := awsRestjson1_deserializeDocumentDelegatedAdminAccountList(&sv.DelegatedAdminAccounts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6448,6 @@ func awsRestjson1_deserializeOpDocumentListDelegatedAdminAccountsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6681,7 +6608,6 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6690,7 +6616,6 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6852,7 +6777,6 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregationsOutput(v **ListFin } sv.AggregationType = types.AggregationType(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6861,12 +6785,10 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregationsOutput(v **ListFin } sv.NextToken = ptr.String(jtv) } - case "responses": if err := awsRestjson1_deserializeDocumentAggregationResponseList(&sv.Responses, value); err != nil { return err } - default: _, _ = key, value @@ -7024,7 +6946,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7033,7 +6954,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7194,7 +7114,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7203,7 +7122,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7364,7 +7282,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7529,12 +7446,10 @@ func awsRestjson1_deserializeOpDocumentListUsageTotalsOutput(v **ListUsageTotals } sv.NextToken = ptr.String(jtv) } - case "totals": if err := awsRestjson1_deserializeDocumentUsageTotalList(&sv.Totals, value); err != nil { return err } - default: _, _ = key, value @@ -7799,12 +7714,10 @@ func awsRestjson1_deserializeOpDocumentSearchVulnerabilitiesOutput(v **SearchVul } sv.NextToken = ptr.String(jtv) } - case "vulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilities(&sv.Vulnerabilities, value); err != nil { return err } - default: _, _ = key, value @@ -8569,7 +8482,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCisScanConfigurationOutput(v **Upda } sv.ScanConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8831,17 +8743,14 @@ func awsRestjson1_deserializeOpDocumentUpdateEc2DeepInspectionConfigurationOutpu } sv.ErrorMessage = ptr.String(jtv) } - case "orgPackagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.OrgPackagePaths, value); err != nil { return err } - case "packagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.PackagePaths, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8850,7 +8759,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEc2DeepInspectionConfigurationOutpu } sv.Status = types.Ec2DeepInspectionStatus(jtv) } - default: _, _ = key, value @@ -9118,7 +9026,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFilterOutput(v **UpdateFilterOutput } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -9279,7 +9186,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOrganizationConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentAutoEnable(&sv.AutoEnable, value); err != nil { return err } - default: _, _ = key, value @@ -9734,15 +9640,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9750,15 +9650,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9793,12 +9689,10 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountId = ptr.String(jtv) } - case "resourceStatus": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.ResourceStatus, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9807,7 +9701,6 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -9847,7 +9740,6 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.AccountId = ptr.String(jtv) } - case "exploitAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -9860,7 +9752,6 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.ExploitAvailableCount = ptr.Int64(i64) } - case "fixAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -9873,12 +9764,10 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.FixAvailableCount = ptr.Int64(i64) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -9952,17 +9841,14 @@ func awsRestjson1_deserializeDocumentAccountState(v **types.AccountState, value } sv.AccountId = ptr.String(jtv) } - case "resourceState": if err := awsRestjson1_deserializeDocumentResourceState(&sv.ResourceState, value); err != nil { return err } - case "state": if err := awsRestjson1_deserializeDocumentState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -10208,7 +10094,6 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.AccountId = ptr.String(jtv) } - case "affectedInstances": if value != nil { jtv, ok := value.(json.Number) @@ -10221,7 +10106,6 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.AffectedInstances = ptr.Int64(i64) } - case "ami": if value != nil { jtv, ok := value.(string) @@ -10230,12 +10114,10 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.Ami = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -10318,7 +10200,6 @@ func awsRestjson1_deserializeDocumentAtigData(v **types.AtigData, value interfac } } - case "lastSeen": if value != nil { switch jtv := value.(type) { @@ -10334,17 +10215,14 @@ func awsRestjson1_deserializeDocumentAtigData(v **types.AtigData, value interfac } } - case "targets": if err := awsRestjson1_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "ttps": if err := awsRestjson1_deserializeDocumentTtps(&sv.Ttps, value); err != nil { return err } - default: _, _ = key, value @@ -10384,7 +10262,6 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Ec2 = ptr.Bool(jtv) } - case "ecr": if value != nil { jtv, ok := value.(bool) @@ -10393,7 +10270,6 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Ecr = ptr.Bool(jtv) } - case "lambda": if value != nil { jtv, ok := value.(bool) @@ -10402,7 +10278,6 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Lambda = ptr.Bool(jtv) } - case "lambdaCode": if value != nil { jtv, ok := value.(bool) @@ -10411,7 +10286,6 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.LambdaCode = ptr.Bool(jtv) } - default: _, _ = key, value @@ -10451,7 +10325,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.IamInstanceProfileArn = ptr.String(jtv) } - case "imageId": if value != nil { jtv, ok := value.(string) @@ -10460,17 +10333,14 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.ImageId = ptr.String(jtv) } - case "ipV4Addresses": if err := awsRestjson1_deserializeDocumentIpV4AddressList(&sv.IpV4Addresses, value); err != nil { return err } - case "ipV6Addresses": if err := awsRestjson1_deserializeDocumentIpV6AddressList(&sv.IpV6Addresses, value); err != nil { return err } - case "keyName": if value != nil { jtv, ok := value.(string) @@ -10479,7 +10349,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.KeyName = ptr.String(jtv) } - case "launchedAt": if value != nil { switch jtv := value.(type) { @@ -10495,7 +10364,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } } - case "platform": if value != nil { jtv, ok := value.(string) @@ -10504,7 +10372,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Platform = ptr.String(jtv) } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -10513,7 +10380,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.SubnetId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10522,7 +10388,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Type = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10531,7 +10396,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -10571,7 +10435,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.AccountId = ptr.String(jtv) } - case "architecture": if value != nil { jtv, ok := value.(string) @@ -10580,7 +10443,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.Architecture = ptr.String(jtv) } - case "imageSha": if value != nil { jtv, ok := value.(string) @@ -10589,12 +10451,10 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.ImageSha = ptr.String(jtv) } - case "imageTags": if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageTags, value); err != nil { return err } - case "repository": if value != nil { jtv, ok := value.(string) @@ -10603,7 +10463,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.Repository = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10612,12 +10471,10 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.ResourceId = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -10657,7 +10514,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -10666,7 +10522,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Author = ptr.String(jtv) } - case "imageHash": if value != nil { jtv, ok := value.(string) @@ -10675,12 +10530,10 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageHash = ptr.String(jtv) } - case "imageTags": if err := awsRestjson1_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } - case "platform": if value != nil { jtv, ok := value.(string) @@ -10689,7 +10542,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Platform = ptr.String(jtv) } - case "pushedAt": if value != nil { switch jtv := value.(type) { @@ -10705,7 +10557,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } } - case "registry": if value != nil { jtv, ok := value.(string) @@ -10714,7 +10565,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Registry = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -10723,7 +10573,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -10759,7 +10608,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err := awsRestjson1_deserializeDocumentArchitectureList(&sv.Architectures, value); err != nil { return err } - case "codeSha256": if value != nil { jtv, ok := value.(string) @@ -10768,7 +10616,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.CodeSha256 = ptr.String(jtv) } - case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -10777,7 +10624,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.ExecutionRoleArn = ptr.String(jtv) } - case "functionName": if value != nil { jtv, ok := value.(string) @@ -10786,7 +10632,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.FunctionName = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -10802,12 +10647,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } } - case "layers": if err := awsRestjson1_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } - case "packageType": if value != nil { jtv, ok := value.(string) @@ -10816,7 +10659,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.PackageType = types.PackageType(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -10825,7 +10667,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Runtime = types.Runtime(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10834,12 +10675,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Version = ptr.String(jtv) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentLambdaVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10869,15 +10708,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10885,15 +10718,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10964,7 +10793,6 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } sv.Action = ptr.String(jtv) } - case "dateAdded": if value != nil { switch jtv := value.(type) { @@ -10980,7 +10808,6 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } } - case "dateDue": if value != nil { switch jtv := value.(type) { @@ -10996,7 +10823,6 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } } - default: _, _ = key, value @@ -11036,7 +10862,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.AccountId = ptr.String(jtv) } - case "checkDescription": if value != nil { jtv, ok := value.(string) @@ -11045,7 +10870,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.CheckDescription = ptr.String(jtv) } - case "checkId": if value != nil { jtv, ok := value.(string) @@ -11054,7 +10878,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.CheckId = ptr.String(jtv) } - case "level": if value != nil { jtv, ok := value.(string) @@ -11063,7 +10886,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Level = types.CisSecurityLevel(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -11072,7 +10894,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Platform = ptr.String(jtv) } - case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11081,12 +10902,10 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.ScanArn = ptr.String(jtv) } - case "statusCounts": if err := awsRestjson1_deserializeDocumentStatusCounts(&sv.StatusCounts, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -11095,7 +10914,6 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -11173,7 +10991,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.FailedChecks = ptr.Int32(int32(i64)) } - case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11182,7 +10999,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanArn = ptr.String(jtv) } - case "scanConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -11191,7 +11007,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanConfigurationArn = ptr.String(jtv) } - case "scanDate": if value != nil { switch jtv := value.(type) { @@ -11207,7 +11022,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -11216,7 +11030,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanName = ptr.String(jtv) } - case "scheduledBy": if value != nil { jtv, ok := value.(string) @@ -11225,7 +11038,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScheduledBy = ptr.String(jtv) } - case "securityLevel": if value != nil { jtv, ok := value.(string) @@ -11234,7 +11046,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.SecurityLevel = types.CisSecurityLevel(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11243,12 +11054,10 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.Status = types.CisScanStatus(jtv) } - case "targets": if err := awsRestjson1_deserializeDocumentCisTargets(&sv.Targets, value); err != nil { return err } - case "totalChecks": if value != nil { jtv, ok := value.(json.Number) @@ -11261,7 +11070,6 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.TotalChecks = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11301,7 +11109,6 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.OwnerId = ptr.String(jtv) } - case "scanConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -11310,7 +11117,6 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.ScanConfigurationArn = ptr.String(jtv) } - case "scanName": if value != nil { jtv, ok := value.(string) @@ -11319,12 +11125,10 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.ScanName = ptr.String(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "securityLevel": if value != nil { jtv, ok := value.(string) @@ -11333,17 +11137,14 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.SecurityLevel = types.CisSecurityLevel(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentCisTagMap(&sv.Tags, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentCisTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -11451,7 +11252,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.AccountId = ptr.String(jtv) } - case "checkDescription": if value != nil { jtv, ok := value.(string) @@ -11460,7 +11260,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.CheckDescription = ptr.String(jtv) } - case "checkId": if value != nil { jtv, ok := value.(string) @@ -11469,7 +11268,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.CheckId = ptr.String(jtv) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -11478,7 +11276,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.FindingArn = ptr.String(jtv) } - case "level": if value != nil { jtv, ok := value.(string) @@ -11487,7 +11284,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Level = types.CisSecurityLevel(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -11496,7 +11292,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Platform = ptr.String(jtv) } - case "remediation": if value != nil { jtv, ok := value.(string) @@ -11505,7 +11300,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Remediation = ptr.String(jtv) } - case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11514,7 +11308,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.ScanArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11523,7 +11316,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Status = types.CisFindingStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11532,7 +11324,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.StatusReason = ptr.String(jtv) } - case "targetResourceId": if value != nil { jtv, ok := value.(string) @@ -11541,7 +11332,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.TargetResourceId = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -11550,7 +11340,6 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -11660,7 +11449,6 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.AccountId = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -11669,7 +11457,6 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.Platform = ptr.String(jtv) } - case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11678,12 +11465,10 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.ScanArn = ptr.String(jtv) } - case "statusCounts": if err := awsRestjson1_deserializeDocumentStatusCounts(&sv.StatusCounts, value); err != nil { return err } - case "targetResourceId": if value != nil { jtv, ok := value.(string) @@ -11692,12 +11477,10 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetResourceId = ptr.String(jtv) } - case "targetResourceTags": if err := awsRestjson1_deserializeDocumentTargetResourceTags(&sv.TargetResourceTags, value); err != nil { return err } - case "targetStatus": if value != nil { jtv, ok := value.(string) @@ -11706,7 +11489,6 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetStatus = types.CisTargetStatus(jtv) } - case "targetStatusReason": if value != nil { jtv, ok := value.(string) @@ -11715,7 +11497,6 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetStatusReason = types.CisTargetStatusReason(jtv) } - default: _, _ = key, value @@ -11785,12 +11566,10 @@ func awsRestjson1_deserializeDocumentCisTargets(v **types.CisTargets, value inte if err := awsRestjson1_deserializeDocumentCisAccountIdList(&sv.AccountIds, value); err != nil { return err } - case "targetResourceTags": if err := awsRestjson1_deserializeDocumentTargetResourceTags(&sv.TargetResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -11834,7 +11613,6 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.EndLine = ptr.Int32(int32(i64)) } - case "fileName": if value != nil { jtv, ok := value.(string) @@ -11843,7 +11621,6 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.FileName = ptr.String(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -11852,7 +11629,6 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.FilePath = ptr.String(jtv) } - case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -11865,7 +11641,6 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.StartLine = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11905,7 +11680,6 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Content = ptr.String(jtv) } - case "lineNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11918,7 +11692,6 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.LineNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11992,7 +11765,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.ErrorCode = types.CodeSnippetErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12001,7 +11773,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.ErrorMessage = ptr.String(jtv) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -12010,7 +11781,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.FindingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12080,7 +11850,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu if err := awsRestjson1_deserializeDocumentCodeLineList(&sv.CodeSnippet, value); err != nil { return err } - case "endLine": if value != nil { jtv, ok := value.(json.Number) @@ -12093,7 +11862,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.EndLine = ptr.Int32(int32(i64)) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -12102,7 +11870,6 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.FindingArn = ptr.String(jtv) } - case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -12115,12 +11882,10 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.StartLine = ptr.Int32(int32(i64)) } - case "suggestedFixes": if err := awsRestjson1_deserializeDocumentSuggestedFixes(&sv.SuggestedFixes, value); err != nil { return err } - default: _, _ = key, value @@ -12190,7 +11955,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln if err := awsRestjson1_deserializeDocumentCweList(&sv.Cwes, value); err != nil { return err } - case "detectorId": if value != nil { jtv, ok := value.(string) @@ -12199,7 +11963,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.DetectorId = ptr.String(jtv) } - case "detectorName": if value != nil { jtv, ok := value.(string) @@ -12208,22 +11971,18 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.DetectorName = ptr.String(jtv) } - case "detectorTags": if err := awsRestjson1_deserializeDocumentDetectorTagList(&sv.DetectorTags, value); err != nil { return err } - case "filePath": if err := awsRestjson1_deserializeDocumentCodeFilePath(&sv.FilePath, value); err != nil { return err } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -12232,7 +11991,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.RuleId = ptr.String(jtv) } - case "sourceLambdaLayerArn": if value != nil { jtv, ok := value.(string) @@ -12241,7 +11999,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.SourceLambdaLayerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12271,15 +12028,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12287,7 +12038,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12296,7 +12046,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12305,15 +12054,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12352,7 +12097,6 @@ func awsRestjson1_deserializeDocumentCounts(v **types.Counts, value interface{}) } sv.Count = i64 } - case "groupKey": if value != nil { jtv, ok := value.(string) @@ -12361,7 +12105,6 @@ func awsRestjson1_deserializeDocumentCounts(v **types.Counts, value interface{}) } sv.GroupKey = types.GroupKey(jtv) } - default: _, _ = key, value @@ -12435,7 +12178,6 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.AccountId = ptr.String(jtv) } - case "lastScannedAt": if value != nil { switch jtv := value.(type) { @@ -12451,7 +12193,6 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12460,12 +12201,10 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ResourceId = ptr.String(jtv) } - case "resourceMetadata": if err := awsRestjson1_deserializeDocumentResourceScanMetadata(&sv.ResourceMetadata, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12474,7 +12213,6 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ResourceType = types.CoverageResourceType(jtv) } - case "scanMode": if value != nil { jtv, ok := value.(string) @@ -12483,12 +12221,10 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ScanMode = types.ScanMode(jtv) } - case "scanStatus": if err := awsRestjson1_deserializeDocumentScanStatus(&sv.ScanStatus, value); err != nil { return err } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -12497,7 +12233,6 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ScanType = types.ScanType(jtv) } - default: _, _ = key, value @@ -12596,7 +12331,6 @@ func awsRestjson1_deserializeDocumentCvss2(v **types.Cvss2, value interface{}) e } } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12605,7 +12339,6 @@ func awsRestjson1_deserializeDocumentCvss2(v **types.Cvss2, value interface{}) e } sv.ScoringVector = ptr.String(jtv) } - default: _, _ = key, value @@ -12670,7 +12403,6 @@ func awsRestjson1_deserializeDocumentCvss3(v **types.Cvss3, value interface{}) e } } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12679,7 +12411,6 @@ func awsRestjson1_deserializeDocumentCvss3(v **types.Cvss3, value interface{}) e } sv.ScoringVector = ptr.String(jtv) } - default: _, _ = key, value @@ -12744,7 +12475,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12753,7 +12483,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -12762,7 +12491,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -12771,7 +12499,6 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12811,7 +12538,6 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -12820,7 +12546,6 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -12890,7 +12615,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsRestjson1_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } - case "cvssSource": if value != nil { jtv, ok := value.(string) @@ -12899,7 +12623,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.CvssSource = ptr.String(jtv) } - case "score": if value != nil { switch jtv := value.(type) { @@ -12933,7 +12656,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } - case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -12942,7 +12664,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } - case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12951,7 +12672,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -12960,7 +12680,6 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13102,7 +12821,6 @@ func awsRestjson1_deserializeDocumentDailySchedule(v **types.DailySchedule, valu if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } - default: _, _ = key, value @@ -13149,7 +12867,6 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } } - case "startInclusive": if value != nil { switch jtv := value.(type) { @@ -13165,7 +12882,6 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } } - default: _, _ = key, value @@ -13275,7 +12991,6 @@ func awsRestjson1_deserializeDocumentDelegatedAdmin(v **types.DelegatedAdmin, va } sv.AccountId = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -13284,7 +12999,6 @@ func awsRestjson1_deserializeDocumentDelegatedAdmin(v **types.DelegatedAdmin, va } sv.RelationshipStatus = types.RelationshipStatus(jtv) } - default: _, _ = key, value @@ -13324,7 +13038,6 @@ func awsRestjson1_deserializeDocumentDelegatedAdminAccount(v **types.DelegatedAd } sv.AccountId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13333,7 +13046,6 @@ func awsRestjson1_deserializeDocumentDelegatedAdminAccount(v **types.DelegatedAd } sv.Status = types.DelegatedAdminStatus(jtv) } - default: _, _ = key, value @@ -13407,7 +13119,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.BucketName = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -13416,7 +13127,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.KeyPrefix = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -13425,7 +13135,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13533,7 +13242,6 @@ func awsRestjson1_deserializeDocumentEc2ConfigurationState(v **types.Ec2Configur if err := awsRestjson1_deserializeDocumentEc2ScanModeState(&sv.ScanModeState, value); err != nil { return err } - default: _, _ = key, value @@ -13573,7 +13281,6 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.AccountId = ptr.String(jtv) } - case "ami": if value != nil { jtv, ok := value.(string) @@ -13582,7 +13289,6 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.Ami = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -13591,12 +13297,10 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.InstanceId = ptr.String(jtv) } - case "instanceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.InstanceTags, value); err != nil { return err } - case "networkFindings": if value != nil { jtv, ok := value.(json.Number) @@ -13609,7 +13313,6 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.NetworkFindings = ptr.Int64(i64) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -13618,12 +13321,10 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.OperatingSystem = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -13663,7 +13364,6 @@ func awsRestjson1_deserializeDocumentEc2Metadata(v **types.Ec2Metadata, value in } sv.AmiId = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -13672,12 +13372,10 @@ func awsRestjson1_deserializeDocumentEc2Metadata(v **types.Ec2Metadata, value in } sv.Platform = types.Ec2Platform(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13717,7 +13415,6 @@ func awsRestjson1_deserializeDocumentEc2ScanModeState(v **types.Ec2ScanModeState } sv.ScanMode = types.Ec2ScanMode(jtv) } - case "scanModeStatus": if value != nil { jtv, ok := value.(string) @@ -13726,7 +13423,6 @@ func awsRestjson1_deserializeDocumentEc2ScanModeState(v **types.Ec2ScanModeState } sv.ScanModeStatus = types.Ec2ScanModeStatus(jtv) } - default: _, _ = key, value @@ -13762,7 +13458,6 @@ func awsRestjson1_deserializeDocumentEcrConfigurationState(v **types.EcrConfigur if err := awsRestjson1_deserializeDocumentEcrRescanDurationState(&sv.RescanDurationState, value); err != nil { return err } - default: _, _ = key, value @@ -13809,12 +13504,10 @@ func awsRestjson1_deserializeDocumentEcrContainerImageMetadata(v **types.EcrCont } } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13854,7 +13547,6 @@ func awsRestjson1_deserializeDocumentEcrRepositoryMetadata(v **types.EcrReposito } sv.Name = ptr.String(jtv) } - case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -13863,7 +13555,6 @@ func awsRestjson1_deserializeDocumentEcrRepositoryMetadata(v **types.EcrReposito } sv.ScanFrequency = types.EcrScanFrequency(jtv) } - default: _, _ = key, value @@ -13903,7 +13594,6 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.PullDateRescanDuration = types.EcrPullDateRescanDuration(jtv) } - case "rescanDuration": if value != nil { jtv, ok := value.(string) @@ -13912,7 +13602,6 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.RescanDuration = types.EcrRescanDuration(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13921,7 +13610,6 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.Status = types.EcrRescanDurationStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13937,7 +13625,6 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } } - default: _, _ = key, value @@ -14002,7 +13689,6 @@ func awsRestjson1_deserializeDocumentEpss(v **types.Epss, value interface{}) err } } - default: _, _ = key, value @@ -14067,7 +13753,6 @@ func awsRestjson1_deserializeDocumentEpssDetails(v **types.EpssDetails, value in } } - default: _, _ = key, value @@ -14107,7 +13792,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceDetail = ptr.String(jtv) } - case "evidenceRule": if value != nil { jtv, ok := value.(string) @@ -14116,7 +13800,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceRule = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -14125,7 +13808,6 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.Severity = ptr.String(jtv) } - default: _, _ = key, value @@ -14206,7 +13888,6 @@ func awsRestjson1_deserializeDocumentExploitabilityDetails(v **types.Exploitabil } } - default: _, _ = key, value @@ -14253,7 +13934,6 @@ func awsRestjson1_deserializeDocumentExploitObserved(v **types.ExploitObserved, } } - case "lastSeen": if value != nil { switch jtv := value.(type) { @@ -14269,7 +13949,6 @@ func awsRestjson1_deserializeDocumentExploitObserved(v **types.ExploitObserved, } } - default: _, _ = key, value @@ -14309,7 +13988,6 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.AccountId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -14318,7 +13996,6 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14327,12 +14004,10 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.ErrorMessage = ptr.String(jtv) } - case "resourceStatus": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.ResourceStatus, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14341,7 +14016,6 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -14415,7 +14089,6 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.AccountId = ptr.String(jtv) } - case "ec2ScanStatus": if value != nil { jtv, ok := value.(string) @@ -14424,7 +14097,6 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.Ec2ScanStatus = types.Status(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14433,7 +14105,6 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -14507,7 +14178,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Action = types.FilterAction(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14516,7 +14186,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14532,12 +14201,10 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - case "criteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.Criteria, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -14546,7 +14213,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14555,7 +14221,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } - case "ownerId": if value != nil { jtv, ok := value.(string) @@ -14564,7 +14229,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.OwnerId = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -14573,12 +14237,10 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Reason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14594,7 +14256,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - default: _, _ = key, value @@ -14630,212 +14291,170 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } - case "codeVulnerabilityDetectorName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityDetectorName, value); err != nil { return err } - case "codeVulnerabilityDetectorTags": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityDetectorTags, value); err != nil { return err } - case "codeVulnerabilityFilePath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityFilePath, value); err != nil { return err } - case "componentId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComponentId, value); err != nil { return err } - case "componentType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComponentType, value); err != nil { return err } - case "ec2InstanceImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceImageId, value); err != nil { return err } - case "ec2InstanceSubnetId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceSubnetId, value); err != nil { return err } - case "ec2InstanceVpcId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceVpcId, value); err != nil { return err } - case "ecrImageArchitecture": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageArchitecture, value); err != nil { return err } - case "ecrImageHash": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageHash, value); err != nil { return err } - case "ecrImagePushedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.EcrImagePushedAt, value); err != nil { return err } - case "ecrImageRegistry": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageRegistry, value); err != nil { return err } - case "ecrImageRepositoryName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageRepositoryName, value); err != nil { return err } - case "ecrImageTags": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageTags, value); err != nil { return err } - case "epssScore": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.EpssScore, value); err != nil { return err } - case "exploitAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ExploitAvailable, value); err != nil { return err } - case "findingArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingArn, value); err != nil { return err } - case "findingStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingStatus, value); err != nil { return err } - case "findingType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingType, value); err != nil { return err } - case "firstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } - case "fixAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FixAvailable, value); err != nil { return err } - case "inspectorScore": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.InspectorScore, value); err != nil { return err } - case "lambdaFunctionExecutionRoleArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionExecutionRoleArn, value); err != nil { return err } - case "lambdaFunctionLastModifiedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LambdaFunctionLastModifiedAt, value); err != nil { return err } - case "lambdaFunctionLayers": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionLayers, value); err != nil { return err } - case "lambdaFunctionName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionName, value); err != nil { return err } - case "lambdaFunctionRuntime": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionRuntime, value); err != nil { return err } - case "lastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } - case "networkProtocol": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkProtocol, value); err != nil { return err } - case "portRange": if err := awsRestjson1_deserializeDocumentPortRangeFilterList(&sv.PortRange, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "resourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } - case "resourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } - case "resourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } - case "severity": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Severity, value); err != nil { return err } - case "title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } - case "updatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } - case "vendorSeverity": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VendorSeverity, value); err != nil { return err } - case "vulnerabilityId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilityId, value); err != nil { return err } - case "vulnerabilitySource": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitySource, value); err != nil { return err } - case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentPackageFilterList(&sv.VulnerablePackages, value); err != nil { return err } - default: _, _ = key, value @@ -14909,12 +14528,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AwsAccountId = ptr.String(jtv) } - case "codeVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(&sv.CodeVulnerabilityDetails, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -14923,17 +14540,14 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } - case "epss": if err := awsRestjson1_deserializeDocumentEpssDetails(&sv.Epss, value); err != nil { return err } - case "exploitabilityDetails": if err := awsRestjson1_deserializeDocumentExploitabilityDetails(&sv.ExploitabilityDetails, value); err != nil { return err } - case "exploitAvailable": if value != nil { jtv, ok := value.(string) @@ -14942,7 +14556,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ExploitAvailable = types.ExploitAvailable(jtv) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -14951,7 +14564,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.FindingArn = ptr.String(jtv) } - case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -14967,7 +14579,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -14976,7 +14587,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.FixAvailable = types.FixAvailable(jtv) } - case "inspectorScore": if value != nil { switch jtv := value.(type) { @@ -15010,12 +14620,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "inspectorScoreDetails": if err := awsRestjson1_deserializeDocumentInspectorScoreDetails(&sv.InspectorScoreDetails, value); err != nil { return err } - case "lastObservedAt": if value != nil { switch jtv := value.(type) { @@ -15031,27 +14639,22 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "networkReachabilityDetails": if err := awsRestjson1_deserializeDocumentNetworkReachabilityDetails(&sv.NetworkReachabilityDetails, value); err != nil { return err } - case "packageVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } - case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } - case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "severity": if value != nil { jtv, ok := value.(string) @@ -15060,7 +14663,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15069,7 +14671,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.FindingStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -15078,7 +14679,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15087,7 +14687,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = types.FindingType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15103,7 +14702,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - default: _, _ = key, value @@ -15139,12 +14737,10 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu if err := awsRestjson1_deserializeDocumentCisaData(&sv.CisaData, value); err != nil { return err } - case "cwes": if err := awsRestjson1_deserializeDocumentCwes(&sv.Cwes, value); err != nil { return err } - case "epssScore": if value != nil { switch jtv := value.(type) { @@ -15178,17 +14774,14 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } } - case "evidences": if err := awsRestjson1_deserializeDocumentEvidenceList(&sv.Evidences, value); err != nil { return err } - case "exploitObserved": if err := awsRestjson1_deserializeDocumentExploitObserved(&sv.ExploitObserved, value); err != nil { return err } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -15197,12 +14790,10 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } sv.FindingArn = ptr.String(jtv) } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentVulnerabilityReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } - case "riskScore": if value != nil { jtv, ok := value.(json.Number) @@ -15215,17 +14806,14 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } sv.RiskScore = ptr.Int32(int32(i64)) } - case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } - case "ttps": if err := awsRestjson1_deserializeDocumentTtps(&sv.Ttps, value); err != nil { return err } - default: _, _ = key, value @@ -15299,7 +14887,6 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.ErrorCode = types.FindingDetailsErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -15308,7 +14895,6 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.ErrorMessage = ptr.String(jtv) } - case "findingArn": if value != nil { jtv, ok := value.(string) @@ -15317,7 +14903,6 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.FindingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15425,7 +15010,6 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.AccountId = ptr.String(jtv) } - case "exploitAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -15438,7 +15022,6 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.ExploitAvailableCount = ptr.Int64(i64) } - case "fixAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -15451,12 +15034,10 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.FixAvailableCount = ptr.Int64(i64) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -15496,12 +15077,10 @@ func awsRestjson1_deserializeDocumentFreeTrialAccountInfo(v **types.FreeTrialAcc } sv.AccountId = ptr.String(jtv) } - case "freeTrialInfo": if err := awsRestjson1_deserializeDocumentFreeTrialInfoList(&sv.FreeTrialInfo, value); err != nil { return err } - default: _, _ = key, value @@ -15582,7 +15161,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } } - case "start": if value != nil { switch jtv := value.(type) { @@ -15598,7 +15176,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -15607,7 +15184,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } sv.Status = types.FreeTrialStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -15616,7 +15192,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } sv.Type = types.FreeTrialType(jtv) } - default: _, _ = key, value @@ -15656,7 +15231,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.AccountId = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -15665,7 +15239,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.Code = types.FreeTrialInfoErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -15674,7 +15247,6 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -15782,7 +15354,6 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.AccountId = ptr.String(jtv) } - case "layerHash": if value != nil { jtv, ok := value.(string) @@ -15791,7 +15362,6 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.LayerHash = ptr.String(jtv) } - case "repository": if value != nil { jtv, ok := value.(string) @@ -15800,7 +15370,6 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.Repository = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15809,12 +15378,10 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.ResourceId = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -15886,7 +15453,6 @@ func awsRestjson1_deserializeDocumentInspectorScoreDetails(v **types.InspectorSc if err := awsRestjson1_deserializeDocumentCvssScoreDetails(&sv.AdjustedCvss, value); err != nil { return err } - default: _, _ = key, value @@ -15916,15 +15482,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15932,7 +15492,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15945,15 +15504,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16060,7 +15615,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.AccountId = ptr.String(jtv) } - case "functionName": if value != nil { jtv, ok := value.(string) @@ -16069,12 +15623,10 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.FunctionName = ptr.String(jtv) } - case "lambdaTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.LambdaTags, value); err != nil { return err } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16090,7 +15642,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -16099,7 +15650,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.ResourceId = ptr.String(jtv) } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -16108,12 +15658,10 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.Runtime = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -16153,17 +15701,14 @@ func awsRestjson1_deserializeDocumentLambdaFunctionMetadata(v **types.LambdaFunc } sv.FunctionName = ptr.String(jtv) } - case "functionTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.FunctionTags, value); err != nil { return err } - case "layers": if err := awsRestjson1_deserializeDocumentLambdaLayerList(&sv.Layers, value); err != nil { return err } - case "runtime": if value != nil { jtv, ok := value.(string) @@ -16172,7 +15717,6 @@ func awsRestjson1_deserializeDocumentLambdaFunctionMetadata(v **types.LambdaFunc } sv.Runtime = types.Runtime(jtv) } - default: _, _ = key, value @@ -16212,7 +15756,6 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.AccountId = ptr.String(jtv) } - case "functionName": if value != nil { jtv, ok := value.(string) @@ -16221,7 +15764,6 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.FunctionName = ptr.String(jtv) } - case "layerArn": if value != nil { jtv, ok := value.(string) @@ -16230,7 +15772,6 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.LayerArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -16239,12 +15780,10 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.ResourceId = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -16316,12 +15855,10 @@ func awsRestjson1_deserializeDocumentLambdaVpcConfig(v **types.LambdaVpcConfig, if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -16330,7 +15867,6 @@ func awsRestjson1_deserializeDocumentLambdaVpcConfig(v **types.LambdaVpcConfig, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -16406,7 +15942,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Comparison = types.MapComparison(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -16415,7 +15950,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -16424,7 +15958,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16498,7 +16031,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "delegatedAdminAccountId": if value != nil { jtv, ok := value.(string) @@ -16507,7 +16039,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.DelegatedAdminAccountId = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -16516,7 +16047,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = types.RelationshipStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16532,7 +16062,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } } - default: _, _ = key, value @@ -16572,7 +16101,6 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.AccountId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -16581,7 +16109,6 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.ErrorMessage = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16590,7 +16117,6 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.Status = types.Ec2DeepInspectionStatus(jtv) } - default: _, _ = key, value @@ -16698,12 +16224,10 @@ func awsRestjson1_deserializeDocumentMonthlySchedule(v **types.MonthlySchedule, } sv.Day = types.Day(jtv) } - case "startTime": if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } - default: _, _ = key, value @@ -16739,7 +16263,6 @@ func awsRestjson1_deserializeDocumentNetworkPath(v **types.NetworkPath, value in if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -16775,12 +16298,10 @@ func awsRestjson1_deserializeDocumentNetworkReachabilityDetails(v **types.Networ if err := awsRestjson1_deserializeDocumentNetworkPath(&sv.NetworkPath, value); err != nil { return err } - case "openPortRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.OpenPortRange, value); err != nil { return err } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -16789,7 +16310,6 @@ func awsRestjson1_deserializeDocumentNetworkReachabilityDetails(v **types.Networ } sv.Protocol = types.NetworkProtocol(jtv) } - default: _, _ = key, value @@ -16890,7 +16410,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - case "upperInclusive": if value != nil { switch jtv := value.(type) { @@ -16924,7 +16443,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - default: _, _ = key, value @@ -17029,7 +16547,6 @@ func awsRestjson1_deserializeDocumentPackageAggregationResponse(v **types.Packag } sv.AccountId = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -17038,12 +16555,10 @@ func awsRestjson1_deserializeDocumentPackageAggregationResponse(v **types.Packag } sv.PackageName = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -17079,37 +16594,30 @@ func awsRestjson1_deserializeDocumentPackageFilter(v **types.PackageFilter, valu if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Architecture, value); err != nil { return err } - case "epoch": if err := awsRestjson1_deserializeDocumentNumberFilter(&sv.Epoch, value); err != nil { return err } - case "name": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Name, value); err != nil { return err } - case "release": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Release, value); err != nil { return err } - case "sourceLambdaLayerArn": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.SourceLambdaLayerArn, value); err != nil { return err } - case "sourceLayerHash": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.SourceLayerHash, value); err != nil { return err } - case "version": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -17179,17 +16687,14 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsRestjson1_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ReferenceUrls, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityIdList(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -17198,7 +16703,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } - case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -17207,7 +16711,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } - case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -17223,7 +16726,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -17232,7 +16734,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } - case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -17248,7 +16749,6 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } - case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -17257,12 +16757,10 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } - case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentVulnerablePackageList(&sv.VulnerablePackages, value); err != nil { return err } - default: _, _ = key, value @@ -17338,7 +16836,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Operation = types.Operation(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -17347,7 +16844,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Service = types.Service(jtv) } - default: _, _ = key, value @@ -17425,7 +16921,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.Begin = ptr.Int32(int32(i64)) } - case "end": if value != nil { jtv, ok := value.(json.Number) @@ -17438,7 +16933,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.End = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17482,7 +16976,6 @@ func awsRestjson1_deserializeDocumentPortRangeFilter(v **types.PortRangeFilter, } sv.BeginInclusive = ptr.Int32(int32(i64)) } - case "endInclusive": if value != nil { jtv, ok := value.(json.Number) @@ -17495,7 +16988,6 @@ func awsRestjson1_deserializeDocumentPortRangeFilter(v **types.PortRangeFilter, } sv.EndInclusive = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17569,7 +17061,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -17578,7 +17069,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -17686,7 +17176,6 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } - default: _, _ = key, value @@ -17726,7 +17215,6 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.AccountId = ptr.String(jtv) } - case "affectedImages": if value != nil { jtv, ok := value.(json.Number) @@ -17739,7 +17227,6 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.AffectedImages = ptr.Int64(i64) } - case "repository": if value != nil { jtv, ok := value.(string) @@ -17748,12 +17235,10 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.Repository = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - default: _, _ = key, value @@ -17789,7 +17274,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17798,7 +17282,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "partition": if value != nil { jtv, ok := value.(string) @@ -17807,7 +17290,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Partition = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -17816,12 +17298,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17830,7 +17310,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = types.ResourceType(jtv) } - default: _, _ = key, value @@ -17866,17 +17345,14 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(&sv.AwsEc2Instance, value); err != nil { return err } - case "awsEcrContainerImage": if err := awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } - case "awsLambdaFunction": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(&sv.AwsLambdaFunction, value); err != nil { return err } - default: _, _ = key, value @@ -17912,42 +17388,34 @@ func awsRestjson1_deserializeDocumentResourceFilterCriteria(v **types.ResourceFi if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.AccountId, value); err != nil { return err } - case "ec2InstanceTags": if err := awsRestjson1_deserializeDocumentResourceMapFilterList(&sv.Ec2InstanceTags, value); err != nil { return err } - case "ecrImageTags": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.EcrImageTags, value); err != nil { return err } - case "ecrRepositoryName": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.EcrRepositoryName, value); err != nil { return err } - case "lambdaFunctionName": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.LambdaFunctionName, value); err != nil { return err } - case "lambdaFunctionTags": if err := awsRestjson1_deserializeDocumentResourceMapFilterList(&sv.LambdaFunctionTags, value); err != nil { return err } - case "resourceId": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.ResourceId, value); err != nil { return err } - case "resourceType": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.ResourceType, value); err != nil { return err } - default: _, _ = key, value @@ -18021,7 +17489,6 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Comparison = types.ResourceMapComparison(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -18030,7 +17497,6 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -18039,7 +17505,6 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -18103,15 +17568,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18119,15 +17578,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18158,22 +17613,18 @@ func awsRestjson1_deserializeDocumentResourceScanMetadata(v **types.ResourceScan if err := awsRestjson1_deserializeDocumentEc2Metadata(&sv.Ec2, value); err != nil { return err } - case "ecrImage": if err := awsRestjson1_deserializeDocumentEcrContainerImageMetadata(&sv.EcrImage, value); err != nil { return err } - case "ecrRepository": if err := awsRestjson1_deserializeDocumentEcrRepositoryMetadata(&sv.EcrRepository, value); err != nil { return err } - case "lambdaFunction": if err := awsRestjson1_deserializeDocumentLambdaFunctionMetadata(&sv.LambdaFunction, value); err != nil { return err } - default: _, _ = key, value @@ -18209,22 +17660,18 @@ func awsRestjson1_deserializeDocumentResourceState(v **types.ResourceState, valu if err := awsRestjson1_deserializeDocumentState(&sv.Ec2, value); err != nil { return err } - case "ecr": if err := awsRestjson1_deserializeDocumentState(&sv.Ecr, value); err != nil { return err } - case "lambda": if err := awsRestjson1_deserializeDocumentState(&sv.Lambda, value); err != nil { return err } - case "lambdaCode": if err := awsRestjson1_deserializeDocumentState(&sv.LambdaCode, value); err != nil { return err } - default: _, _ = key, value @@ -18264,7 +17711,6 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Ec2 = types.Status(jtv) } - case "ecr": if value != nil { jtv, ok := value.(string) @@ -18273,7 +17719,6 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Ecr = types.Status(jtv) } - case "lambda": if value != nil { jtv, ok := value.(string) @@ -18282,7 +17727,6 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Lambda = types.Status(jtv) } - case "lambdaCode": if value != nil { jtv, ok := value.(string) @@ -18291,7 +17735,6 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.LambdaCode = types.Status(jtv) } - default: _, _ = key, value @@ -18331,7 +17774,6 @@ func awsRestjson1_deserializeDocumentResourceStringFilter(v **types.ResourceStri } sv.Comparison = types.ResourceStringComparison(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -18340,7 +17782,6 @@ func awsRestjson1_deserializeDocumentResourceStringFilter(v **types.ResourceStri } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -18414,7 +17855,6 @@ func awsRestjson1_deserializeDocumentScanStatus(v **types.ScanStatus, value inte } sv.Reason = types.ScanStatusReason(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -18423,7 +17863,6 @@ func awsRestjson1_deserializeDocumentScanStatus(v **types.ScanStatus, value inte } sv.StatusCode = types.ScanStatusCode(jtv) } - default: _, _ = key, value @@ -18559,15 +17998,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18575,7 +18008,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -18584,15 +18016,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18631,7 +18059,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.All = ptr.Int64(i64) } - case "critical": if value != nil { jtv, ok := value.(json.Number) @@ -18644,7 +18071,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Critical = ptr.Int64(i64) } - case "high": if value != nil { jtv, ok := value.(json.Number) @@ -18657,7 +18083,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.High = ptr.Int64(i64) } - case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -18670,7 +18095,6 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Medium = ptr.Int64(i64) } - default: _, _ = key, value @@ -18710,7 +18134,6 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18719,7 +18142,6 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.ErrorMessage = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18728,7 +18150,6 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -18772,7 +18193,6 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Failed = ptr.Int32(int32(i64)) } - case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -18785,7 +18205,6 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Passed = ptr.Int32(int32(i64)) } - case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -18798,7 +18217,6 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Skipped = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18838,7 +18256,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ComponentId = ptr.String(jtv) } - case "componentType": if value != nil { jtv, ok := value.(string) @@ -18847,7 +18264,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ComponentType = ptr.String(jtv) } - default: _, _ = key, value @@ -18921,7 +18337,6 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Comparison = types.StringComparison(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -18930,7 +18345,6 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19076,7 +18490,6 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Code = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -19085,7 +18498,6 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -19327,15 +18739,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19343,7 +18749,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19356,15 +18761,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19399,7 +18800,6 @@ func awsRestjson1_deserializeDocumentTime(v **types.Time, value interface{}) err } sv.TimeOfDay = ptr.String(jtv) } - case "timezone": if value != nil { jtv, ok := value.(string) @@ -19408,7 +18808,6 @@ func awsRestjson1_deserializeDocumentTime(v **types.Time, value interface{}) err } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -19448,12 +18847,10 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.AccountId = ptr.String(jtv) } - case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -19462,7 +18859,6 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.Title = ptr.String(jtv) } - case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -19471,7 +18867,6 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.VulnerabilityId = ptr.String(jtv) } - default: _, _ = key, value @@ -19583,7 +18978,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Currency = types.Currency(jtv) } - case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -19617,7 +19011,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } - case "total": if value != nil { switch jtv := value.(type) { @@ -19651,7 +19044,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } - case "type": if value != nil { jtv, ok := value.(string) @@ -19660,7 +19052,6 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Type = types.UsageType(jtv) } - default: _, _ = key, value @@ -19734,12 +19125,10 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.AccountId = ptr.String(jtv) } - case "usage": if err := awsRestjson1_deserializeDocumentUsageList(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -19803,20 +19192,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19824,7 +19206,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -19833,15 +19214,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19876,7 +19253,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19885,7 +19261,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19989,27 +19364,22 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentAtigData(&sv.AtigData, value); err != nil { return err } - case "cisaData": if err := awsRestjson1_deserializeDocumentCisaData(&sv.CisaData, value); err != nil { return err } - case "cvss2": if err := awsRestjson1_deserializeDocumentCvss2(&sv.Cvss2, value); err != nil { return err } - case "cvss3": if err := awsRestjson1_deserializeDocumentCvss3(&sv.Cvss3, value); err != nil { return err } - case "cwes": if err := awsRestjson1_deserializeDocumentCwes(&sv.Cwes, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -20018,22 +19388,18 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Description = ptr.String(jtv) } - case "detectionPlatforms": if err := awsRestjson1_deserializeDocumentDetectionPlatforms(&sv.DetectionPlatforms, value); err != nil { return err } - case "epss": if err := awsRestjson1_deserializeDocumentEpss(&sv.Epss, value); err != nil { return err } - case "exploitObserved": if err := awsRestjson1_deserializeDocumentExploitObserved(&sv.ExploitObserved, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -20042,17 +19408,14 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } - case "referenceUrls": if err := awsRestjson1_deserializeDocumentVulnerabilityReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } - case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentRelatedVulnerabilities(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -20061,7 +19424,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Source = types.VulnerabilitySource(jtv) } - case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -20070,7 +19432,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.SourceUrl = ptr.String(jtv) } - case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -20086,7 +19447,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } - case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -20095,7 +19455,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.VendorSeverity = ptr.String(jtv) } - case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -20111,7 +19470,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } - default: _, _ = key, value @@ -20223,7 +19581,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } - case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -20236,7 +19593,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = int32(i64) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -20245,7 +19601,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } - case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -20254,7 +19609,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20263,7 +19617,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } - case "packageManager": if value != nil { jtv, ok := value.(string) @@ -20272,7 +19625,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = types.PackageManager(jtv) } - case "release": if value != nil { jtv, ok := value.(string) @@ -20281,7 +19633,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } - case "remediation": if value != nil { jtv, ok := value.(string) @@ -20290,7 +19641,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Remediation = ptr.String(jtv) } - case "sourceLambdaLayerArn": if value != nil { jtv, ok := value.(string) @@ -20299,7 +19649,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLambdaLayerArn = ptr.String(jtv) } - case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -20308,7 +19657,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -20317,7 +19665,6 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -20387,12 +19734,10 @@ func awsRestjson1_deserializeDocumentWeeklySchedule(v **types.WeeklySchedule, va if err := awsRestjson1_deserializeDocumentDaysList(&sv.Days, value); err != nil { return err } - case "startTime": if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/inspectorscan/deserializers.go b/service/inspectorscan/deserializers.go index 6d505c8606f..a817b8ee8c2 100644 --- a/service/inspectorscan/deserializers.go +++ b/service/inspectorscan/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentScanSbomOutput(v **ScanSbomOutput, value if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } - default: _, _ = key, value @@ -397,15 +396,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -413,15 +406,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -446,15 +435,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -462,7 +445,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -471,7 +453,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Reason = types.InternalServerExceptionReason(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -484,15 +465,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -525,15 +502,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -541,7 +512,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -554,15 +524,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -587,20 +553,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -608,7 +567,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -617,15 +575,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -660,7 +614,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -669,7 +622,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/internetmonitor/deserializers.go b/service/internetmonitor/deserializers.go index 923d2f19008..abd3395e94c 100644 --- a/service/internetmonitor/deserializers.go +++ b/service/internetmonitor/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.Arn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -200,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.Status = types.MonitorConfigState(jtv) } - default: _, _ = key, value @@ -466,7 +464,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.CreatedAt = ptr.Time(t) } - case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -479,7 +476,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EndedAt = ptr.Time(t) } - case "EventArn": if value != nil { jtv, ok := value.(string) @@ -488,7 +484,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EventArn = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -497,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EventId = ptr.String(jtv) } - case "HealthScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -531,12 +525,10 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } } - case "ImpactedLocations": if err := awsRestjson1_deserializeDocumentImpactedLocationsList(&sv.ImpactedLocations, value); err != nil { return err } - case "ImpactType": if value != nil { jtv, ok := value.(string) @@ -545,7 +537,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.ImpactType = types.HealthEventImpactType(jtv) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -558,7 +549,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.LastUpdatedAt = ptr.Time(t) } - case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -592,7 +582,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -605,7 +594,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.StartedAt = ptr.Time(t) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -614,7 +602,6 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.Status = types.HealthEventStatus(jtv) } - default: _, _ = key, value @@ -775,7 +762,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve if err := awsRestjson1_deserializeDocumentClientLocation(&sv.ClientLocation, value); err != nil { return err } - case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -788,7 +774,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EndedAt = ptr.Time(t) } - case "EventArn": if value != nil { jtv, ok := value.(string) @@ -797,7 +782,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventArn = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -806,7 +790,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventId = ptr.String(jtv) } - case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -815,7 +798,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventStatus = types.InternetEventStatus(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -824,7 +806,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventType = types.InternetEventType(jtv) } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -837,7 +818,6 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.StartedAt = ptr.Time(t) } - default: _, _ = key, value @@ -1006,17 +986,14 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedAt = ptr.Time(t) } - case "HealthEventsConfig": if err := awsRestjson1_deserializeDocumentHealthEventsConfig(&sv.HealthEventsConfig, value); err != nil { return err } - case "InternetMeasurementsLogDelivery": if err := awsRestjson1_deserializeDocumentInternetMeasurementsLogDelivery(&sv.InternetMeasurementsLogDelivery, value); err != nil { return err } - case "MaxCityNetworksToMonitor": if value != nil { jtv, ok := value.(json.Number) @@ -1029,7 +1006,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MaxCityNetworksToMonitor = ptr.Int32(int32(i64)) } - case "ModifiedAt": if value != nil { jtv, ok := value.(string) @@ -1042,7 +1018,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ModifiedAt = ptr.Time(t) } - case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -1051,7 +1026,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorArn = ptr.String(jtv) } - case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -1060,7 +1034,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorName = ptr.String(jtv) } - case "ProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -1069,7 +1042,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ProcessingStatus = types.MonitorProcessingStatusCode(jtv) } - case "ProcessingStatusInfo": if value != nil { jtv, ok := value.(string) @@ -1078,12 +1050,10 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ProcessingStatusInfo = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentSetOfARNs(&sv.Resources, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1092,12 +1062,10 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Status = types.MonitorConfigState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TrafficPercentageToMonitor": if value != nil { jtv, ok := value.(json.Number) @@ -1110,7 +1078,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.TrafficPercentageToMonitor = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1274,12 +1241,10 @@ func awsRestjson1_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults if err := awsRestjson1_deserializeDocumentQueryData(&sv.Data, value); err != nil { return err } - case "Fields": if err := awsRestjson1_deserializeDocumentQueryFields(&sv.Fields, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1288,7 +1253,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1456,7 +1420,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatusOutput(v **GetQueryStatusOu } sv.Status = types.QueryStatus(jtv) } - default: _, _ = key, value @@ -1617,7 +1580,6 @@ func awsRestjson1_deserializeOpDocumentListHealthEventsOutput(v **ListHealthEven if err := awsRestjson1_deserializeDocumentHealthEventList(&sv.HealthEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1626,7 +1588,6 @@ func awsRestjson1_deserializeOpDocumentListHealthEventsOutput(v **ListHealthEven } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1787,7 +1748,6 @@ func awsRestjson1_deserializeOpDocumentListInternetEventsOutput(v **ListInternet if err := awsRestjson1_deserializeDocumentInternetEventsList(&sv.InternetEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1796,7 +1756,6 @@ func awsRestjson1_deserializeOpDocumentListInternetEventsOutput(v **ListInternet } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1957,7 +1916,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1966,7 +1924,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2130,7 +2087,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2298,7 +2254,6 @@ func awsRestjson1_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -2769,7 +2724,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2778,7 +2732,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.Status = types.MonitorConfigState(jtv) } - default: _, _ = key, value @@ -3204,15 +3157,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3220,15 +3167,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3288,7 +3231,6 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } - case "PercentOfClientLocationImpacted": if value != nil { switch jtv := value.(type) { @@ -3322,7 +3264,6 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } - case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -3356,7 +3297,6 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } - default: _, _ = key, value @@ -3386,15 +3326,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3402,15 +3336,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3445,7 +3375,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.ASName = ptr.String(jtv) } - case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3458,7 +3387,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.ASNumber = ptr.Int64(i64) } - case "City": if value != nil { jtv, ok := value.(string) @@ -3467,7 +3395,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.City = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -3476,7 +3403,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Country = ptr.String(jtv) } - case "Latitude": if value != nil { switch jtv := value.(type) { @@ -3510,7 +3436,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } } - case "Longitude": if value != nil { switch jtv := value.(type) { @@ -3544,7 +3469,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } } - case "Metro": if value != nil { jtv, ok := value.(string) @@ -3553,7 +3477,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Metro = ptr.String(jtv) } - case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -3562,7 +3485,6 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Subdivision = ptr.String(jtv) } - default: _, _ = key, value @@ -3592,15 +3514,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3608,15 +3524,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3655,7 +3567,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.CreatedAt = ptr.Time(t) } - case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -3668,7 +3579,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EndedAt = ptr.Time(t) } - case "EventArn": if value != nil { jtv, ok := value.(string) @@ -3677,7 +3587,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EventArn = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -3686,7 +3595,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EventId = ptr.String(jtv) } - case "HealthScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3720,12 +3628,10 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } } - case "ImpactedLocations": if err := awsRestjson1_deserializeDocumentImpactedLocationsList(&sv.ImpactedLocations, value); err != nil { return err } - case "ImpactType": if value != nil { jtv, ok := value.(string) @@ -3734,7 +3640,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.ImpactType = types.HealthEventImpactType(jtv) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3747,7 +3652,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.LastUpdatedAt = ptr.Time(t) } - case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -3781,7 +3685,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -3794,7 +3697,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.StartedAt = ptr.Time(t) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3803,7 +3705,6 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.Status = types.HealthEventStatus(jtv) } - default: _, _ = key, value @@ -3873,7 +3774,6 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo if err := awsRestjson1_deserializeDocumentLocalHealthEventsConfig(&sv.AvailabilityLocalHealthEventsConfig, value); err != nil { return err } - case "AvailabilityScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3907,12 +3807,10 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo } } - case "PerformanceLocalHealthEventsConfig": if err := awsRestjson1_deserializeDocumentLocalHealthEventsConfig(&sv.PerformanceLocalHealthEventsConfig, value); err != nil { return err } - case "PerformanceScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3946,7 +3844,6 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo } } - default: _, _ = key, value @@ -3986,7 +3883,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ASName = ptr.String(jtv) } - case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3999,12 +3895,10 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ASNumber = ptr.Int64(i64) } - case "CausedBy": if err := awsRestjson1_deserializeDocumentNetworkImpairment(&sv.CausedBy, value); err != nil { return err } - case "City": if value != nil { jtv, ok := value.(string) @@ -4013,7 +3907,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.City = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -4022,7 +3915,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Country = ptr.String(jtv) } - case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -4031,17 +3923,14 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.CountryCode = ptr.String(jtv) } - case "InternetHealth": if err := awsRestjson1_deserializeDocumentInternetHealth(&sv.InternetHealth, value); err != nil { return err } - case "Ipv4Prefixes": if err := awsRestjson1_deserializeDocumentIpv4PrefixList(&sv.Ipv4Prefixes, value); err != nil { return err } - case "Latitude": if value != nil { switch jtv := value.(type) { @@ -4075,7 +3964,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } } - case "Longitude": if value != nil { switch jtv := value.(type) { @@ -4109,7 +3997,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } } - case "Metro": if value != nil { jtv, ok := value.(string) @@ -4118,7 +4005,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Metro = ptr.String(jtv) } - case "ServiceLocation": if value != nil { jtv, ok := value.(string) @@ -4127,7 +4013,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ServiceLocation = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4136,7 +4021,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Status = types.HealthEventStatus(jtv) } - case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4029,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Subdivision = ptr.String(jtv) } - case "SubdivisionCode": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4037,6 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.SubdivisionCode = ptr.String(jtv) } - default: _, _ = key, value @@ -4218,15 +4100,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4234,15 +4110,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4267,15 +4139,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4283,15 +4149,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4356,7 +4218,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven if err := awsRestjson1_deserializeDocumentClientLocation(&sv.ClientLocation, value); err != nil { return err } - case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -4369,7 +4230,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EndedAt = ptr.Time(t) } - case "EventArn": if value != nil { jtv, ok := value.(string) @@ -4378,7 +4238,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventArn = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -4387,7 +4246,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventId = ptr.String(jtv) } - case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -4396,7 +4254,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventStatus = types.InternetEventStatus(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -4405,7 +4262,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventType = types.InternetEventType(jtv) } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -4418,7 +4274,6 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.StartedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4454,12 +4309,10 @@ func awsRestjson1_deserializeDocumentInternetHealth(v **types.InternetHealth, va if err := awsRestjson1_deserializeDocumentAvailabilityMeasurement(&sv.Availability, value); err != nil { return err } - case "Performance": if err := awsRestjson1_deserializeDocumentPerformanceMeasurement(&sv.Performance, value); err != nil { return err } - default: _, _ = key, value @@ -4495,7 +4348,6 @@ func awsRestjson1_deserializeDocumentInternetMeasurementsLogDelivery(v **types.I if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } - default: _, _ = key, value @@ -4561,15 +4413,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4577,15 +4423,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4645,7 +4487,6 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } } - case "MinTrafficImpact": if value != nil { switch jtv := value.(type) { @@ -4679,7 +4520,6 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4688,7 +4528,6 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } sv.Status = types.LocalHealthEventsConfigStatus(jtv) } - default: _, _ = key, value @@ -4728,7 +4567,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.MonitorArn = ptr.String(jtv) } - case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -4737,7 +4575,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.MonitorName = ptr.String(jtv) } - case "ProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -4746,7 +4583,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.ProcessingStatus = types.MonitorProcessingStatusCode(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4755,7 +4591,6 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.Status = types.MonitorConfigState(jtv) } - default: _, _ = key, value @@ -4829,7 +4664,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.ASName = ptr.String(jtv) } - case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4842,7 +4676,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.ASNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -4878,7 +4711,6 @@ func awsRestjson1_deserializeDocumentNetworkImpairment(v **types.NetworkImpairme if err := awsRestjson1_deserializeDocumentNetworkList(&sv.AsPath, value); err != nil { return err } - case "NetworkEventType": if value != nil { jtv, ok := value.(string) @@ -4887,12 +4719,10 @@ func awsRestjson1_deserializeDocumentNetworkImpairment(v **types.NetworkImpairme } sv.NetworkEventType = types.TriangulationEventType(jtv) } - case "Networks": if err := awsRestjson1_deserializeDocumentNetworkList(&sv.Networks, value); err != nil { return err } - default: _, _ = key, value @@ -4956,15 +4786,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4972,15 +4796,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5040,7 +4860,6 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } - case "PercentOfClientLocationImpacted": if value != nil { switch jtv := value.(type) { @@ -5074,7 +4893,6 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } - case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -5108,12 +4926,10 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } - case "RoundTripTime": if err := awsRestjson1_deserializeDocumentRoundTripTime(&sv.RoundTripTime, value); err != nil { return err } - default: _, _ = key, value @@ -5185,7 +5001,6 @@ func awsRestjson1_deserializeDocumentQueryField(v **types.QueryField, value inte } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5194,7 +5009,6 @@ func awsRestjson1_deserializeDocumentQueryField(v **types.QueryField, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5294,15 +5108,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5310,15 +5118,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5378,7 +5182,6 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } - case "P90": if value != nil { switch jtv := value.(type) { @@ -5412,7 +5215,6 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } - case "P95": if value != nil { switch jtv := value.(type) { @@ -5446,7 +5248,6 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } - default: _, _ = key, value @@ -5486,7 +5287,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } - case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -5495,7 +5295,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketPrefix = ptr.String(jtv) } - case "LogDeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -5504,7 +5303,6 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.LogDeliveryStatus = types.LogDeliveryStatus(jtv) } - default: _, _ = key, value @@ -5606,15 +5404,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5622,15 +5414,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5655,15 +5443,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5671,15 +5453,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5704,15 +5482,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5720,15 +5492,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iot/deserializers.go b/service/iot/deserializers.go index c3a3c4cf408..0aab628078d 100644 --- a/service/iot/deserializers.go +++ b/service/iot/deserializers.go @@ -499,12 +499,10 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.PackageName = ptr.String(jtv) } - case "sbom": if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } - case "sbomValidationStatus": if value != nil { jtv, ok := value.(string) @@ -513,7 +511,6 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.SbomValidationStatus = types.SbomValidationStatus(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -522,7 +519,6 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -690,7 +686,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.Description = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -699,7 +694,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -708,7 +702,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -1709,7 +1702,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.Description = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1718,7 +1710,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1727,7 +1718,6 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -2313,7 +2303,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerArn = ptr.String(jtv) } - case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -2322,7 +2311,6 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -2487,7 +2475,6 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupArn = ptr.String(jtv) } - case "billingGroupId": if value != nil { jtv, ok := value.(string) @@ -2496,7 +2483,6 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupId = ptr.String(jtv) } - case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -2505,7 +2491,6 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -2673,7 +2658,6 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -2682,7 +2666,6 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificateId = ptr.String(jtv) } - case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -2691,7 +2674,6 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificatePem = ptr.String(jtv) } - default: _, _ = key, value @@ -2865,7 +2847,6 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateProviderOutput(v **Creat } sv.CertificateProviderArn = ptr.String(jtv) } - case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -2874,7 +2855,6 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateProviderOutput(v **Creat } sv.CertificateProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -3042,7 +3022,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomMetricOutput(v **CreateCustom } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -3051,7 +3030,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomMetricOutput(v **CreateCustom } sv.MetricName = ptr.String(jtv) } - default: _, _ = key, value @@ -3219,7 +3197,6 @@ func awsRestjson1_deserializeOpDocumentCreateDimensionOutput(v **CreateDimension } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3228,7 +3205,6 @@ func awsRestjson1_deserializeOpDocumentCreateDimensionOutput(v **CreateDimension } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3405,7 +3381,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainConfigurationOutput(v **Creat } sv.DomainConfigurationArn = ptr.String(jtv) } - case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -3414,7 +3389,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainConfigurationOutput(v **Creat } sv.DomainConfigurationName = ptr.String(jtv) } - default: _, _ = key, value @@ -3588,7 +3562,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.IndexName = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -3597,7 +3570,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.QueryString = ptr.String(jtv) } - case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -3606,7 +3578,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.QueryVersion = ptr.String(jtv) } - case "thingGroupArn": if value != nil { jtv, ok := value.(string) @@ -3615,7 +3586,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupArn = ptr.String(jtv) } - case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -3624,7 +3594,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupId = ptr.String(jtv) } - case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -3633,7 +3602,6 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3819,7 +3787,6 @@ func awsRestjson1_deserializeOpDocumentCreateFleetMetricOutput(v **CreateFleetMe } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -3828,7 +3795,6 @@ func awsRestjson1_deserializeOpDocumentCreateFleetMetricOutput(v **CreateFleetMe } sv.MetricName = ptr.String(jtv) } - default: _, _ = key, value @@ -3999,7 +3965,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Description = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4008,7 +3973,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4017,7 +3981,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -4188,7 +4151,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.JobTemplateArn = ptr.String(jtv) } - case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -4197,7 +4159,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.JobTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -4365,7 +4326,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -4374,7 +4334,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificateId = ptr.String(jtv) } - case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -4383,12 +4342,10 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificatePem = ptr.String(jtv) } - case "keyPair": if err := awsRestjson1_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } - default: _, _ = key, value @@ -4556,7 +4513,6 @@ func awsRestjson1_deserializeOpDocumentCreateMitigationActionOutput(v **CreateMi } sv.ActionArn = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -4565,7 +4521,6 @@ func awsRestjson1_deserializeOpDocumentCreateMitigationActionOutput(v **CreateMi } sv.ActionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4742,7 +4697,6 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.AwsIotJobArn = ptr.String(jtv) } - case "awsIotJobId": if value != nil { jtv, ok := value.(string) @@ -4751,7 +4705,6 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.AwsIotJobId = ptr.String(jtv) } - case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -4760,7 +4713,6 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateArn = ptr.String(jtv) } - case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -4769,7 +4721,6 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateId = ptr.String(jtv) } - case "otaUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -4778,7 +4729,6 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateStatus = types.OTAUpdateStatus(jtv) } - default: _, _ = key, value @@ -4946,7 +4896,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.Description = ptr.String(jtv) } - case "packageArn": if value != nil { jtv, ok := value.(string) @@ -4955,7 +4904,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageArn = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -4964,7 +4912,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageName = ptr.String(jtv) } - default: _, _ = key, value @@ -5128,7 +5075,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack if err := awsRestjson1_deserializeDocumentResourceAttributes(&sv.Attributes, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5137,7 +5083,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.Description = ptr.String(jtv) } - case "errorReason": if value != nil { jtv, ok := value.(string) @@ -5146,7 +5091,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.ErrorReason = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -5155,7 +5099,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.PackageName = ptr.String(jtv) } - case "packageVersionArn": if value != nil { jtv, ok := value.(string) @@ -5164,7 +5107,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.PackageVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5173,7 +5115,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.Status = types.PackageVersionStatus(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -5182,7 +5123,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -5356,7 +5296,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyArn = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -5365,7 +5304,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -5374,7 +5312,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyName = ptr.String(jtv) } - case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -5383,7 +5320,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyVersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5560,7 +5496,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.IsDefaultVersion = jtv } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -5569,7 +5504,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyArn = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -5578,7 +5512,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyDocument = ptr.String(jtv) } - case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -5587,7 +5520,6 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyVersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5758,7 +5690,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } sv.CertificateId = ptr.String(jtv) } - case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -5767,7 +5698,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } sv.CertificatePem = ptr.String(jtv) } - case "expiration": if value != nil { switch jtv := value.(type) { @@ -5783,12 +5713,10 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } } - case "keyPair": if err := awsRestjson1_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } - default: _, _ = key, value @@ -5963,7 +5891,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.DefaultVersionId = ptr.Int32(int32(i64)) } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -5972,7 +5899,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.TemplateArn = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -5981,7 +5907,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -6155,7 +6080,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.IsDefaultVersion = jtv } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -6164,7 +6088,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.TemplateArn = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -6173,7 +6096,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.TemplateName = ptr.String(jtv) } - case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -6186,7 +6108,6 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.VersionId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6360,7 +6281,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoleAliasOutput(v **CreateRoleAlias } sv.RoleAlias = ptr.String(jtv) } - case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -6369,7 +6289,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoleAliasOutput(v **CreateRoleAlias } sv.RoleAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6537,7 +6456,6 @@ func awsRestjson1_deserializeOpDocumentCreateScheduledAuditOutput(v **CreateSche } sv.ScheduledAuditArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6702,7 +6620,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileArn = ptr.String(jtv) } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -6711,7 +6628,6 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -6888,7 +6804,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.Description = ptr.String(jtv) } - case "streamArn": if value != nil { jtv, ok := value.(string) @@ -6897,7 +6812,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamArn = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -6906,7 +6820,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamId = ptr.String(jtv) } - case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6919,7 +6832,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7093,7 +7005,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingArn = ptr.String(jtv) } - case "thingId": if value != nil { jtv, ok := value.(string) @@ -7102,7 +7013,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingId = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -7111,7 +7021,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -7276,7 +7185,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupArn = ptr.String(jtv) } - case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -7285,7 +7193,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupId = ptr.String(jtv) } - case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -7294,7 +7201,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7465,7 +7371,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeArn = ptr.String(jtv) } - case "thingTypeId": if value != nil { jtv, ok := value.(string) @@ -7474,7 +7379,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeId = ptr.String(jtv) } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -7483,7 +7387,6 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -7756,7 +7659,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRuleDestinationOutput(v **Crea if err := awsRestjson1_deserializeDocumentTopicRuleDestination(&sv.TopicRuleDestination, value); err != nil { return err } - default: _, _ = key, value @@ -11492,12 +11394,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountAuditConfigurationOutput(v if err := awsRestjson1_deserializeDocumentAuditCheckConfigurations(&sv.AuditCheckConfigurations, value); err != nil { return err } - case "auditNotificationTargetConfigurations": if err := awsRestjson1_deserializeDocumentAuditNotificationTargetConfigurations(&sv.AuditNotificationTargetConfigurations, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11506,7 +11406,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountAuditConfigurationOutput(v } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11667,7 +11566,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditFindingOutput(v **DescribeAu if err := awsRestjson1_deserializeDocumentAuditFinding(&sv.Finding, value); err != nil { return err } - default: _, _ = key, value @@ -11828,12 +11726,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( if err := awsRestjson1_deserializeDocumentMitigationActionList(&sv.ActionsDefinition, value); err != nil { return err } - case "auditCheckToActionsMapping": if err := awsRestjson1_deserializeDocumentAuditCheckToActionsMapping(&sv.AuditCheckToActionsMapping, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -11849,7 +11745,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11865,17 +11760,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } } - case "target": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(&sv.Target, value); err != nil { return err } - case "taskStatistics": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -11884,7 +11776,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } sv.TaskStatus = types.AuditMitigationActionsTaskStatus(jtv) } - default: _, _ = key, value @@ -12049,7 +11940,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.CheckName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12058,7 +11948,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -12074,12 +11963,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } } - case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } - case "suppressIndefinitely": if value != nil { jtv, ok := value.(bool) @@ -12088,7 +11975,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.SuppressIndefinitely = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12249,7 +12135,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit if err := awsRestjson1_deserializeDocumentAuditDetails(&sv.AuditDetails, value); err != nil { return err } - case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -12258,7 +12143,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.ScheduledAuditName = ptr.String(jtv) } - case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -12274,12 +12158,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } } - case "taskStatistics": if err := awsRestjson1_deserializeDocumentTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -12288,7 +12170,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.TaskStatus = types.AuditTaskStatus(jtv) } - case "taskType": if value != nil { jtv, ok := value.(string) @@ -12297,7 +12178,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.TaskType = types.AuditTaskType(jtv) } - default: _, _ = key, value @@ -12464,7 +12344,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAuthorizerOutput(v **DescribeAuth if err := awsRestjson1_deserializeDocumentAuthorizerDescription(&sv.AuthorizerDescription, value); err != nil { return err } - default: _, _ = key, value @@ -12629,7 +12508,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupArn = ptr.String(jtv) } - case "billingGroupId": if value != nil { jtv, ok := value.(string) @@ -12638,12 +12516,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupId = ptr.String(jtv) } - case "billingGroupMetadata": if err := awsRestjson1_deserializeDocumentBillingGroupMetadata(&sv.BillingGroupMetadata, value); err != nil { return err } - case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -12652,12 +12528,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupName = ptr.String(jtv) } - case "billingGroupProperties": if err := awsRestjson1_deserializeDocumentBillingGroupProperties(&sv.BillingGroupProperties, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -12670,7 +12544,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.Version = i64 } - default: _, _ = key, value @@ -12837,12 +12710,10 @@ func awsRestjson1_deserializeOpDocumentDescribeCACertificateOutput(v **DescribeC if err := awsRestjson1_deserializeDocumentCACertificateDescription(&sv.CertificateDescription, value); err != nil { return err } - case "registrationConfig": if err := awsRestjson1_deserializeDocumentRegistrationConfig(&sv.RegistrationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13009,7 +12880,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsRestjson1_deserializeDocumentCertificateDescription(&sv.CertificateDescription, value); err != nil { return err } - default: _, _ = key, value @@ -13176,7 +13046,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des if err := awsRestjson1_deserializeDocumentCertificateProviderAccountDefaultForOperations(&sv.AccountDefaultForOperations, value); err != nil { return err } - case "certificateProviderArn": if value != nil { jtv, ok := value.(string) @@ -13185,7 +13054,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.CertificateProviderArn = ptr.String(jtv) } - case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -13194,7 +13062,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.CertificateProviderName = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -13210,7 +13077,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } } - case "lambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -13219,7 +13085,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.LambdaFunctionArn = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13235,7 +13100,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } } - default: _, _ = key, value @@ -13407,7 +13271,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -13416,7 +13279,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.DisplayName = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13432,7 +13294,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } } - case "metricArn": if value != nil { jtv, ok := value.(string) @@ -13441,7 +13302,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -13450,7 +13310,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricName = ptr.String(jtv) } - case "metricType": if value != nil { jtv, ok := value.(string) @@ -13459,7 +13318,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricType = types.CustomMetricType(jtv) } - default: _, _ = key, value @@ -13626,7 +13484,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultAuthorizerOutput(v **Descr if err := awsRestjson1_deserializeDocumentAuthorizerDescription(&sv.AuthorizerDescription, value); err != nil { return err } - default: _, _ = key, value @@ -13787,7 +13644,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectMitigationActionsTaskOutput if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(&sv.TaskSummary, value); err != nil { return err } - default: _, _ = key, value @@ -13952,7 +13808,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Arn = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -13968,7 +13823,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13984,7 +13838,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13993,12 +13846,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Name = ptr.String(jtv) } - case "stringValues": if err := awsRestjson1_deserializeDocumentDimensionStringValues(&sv.StringValues, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14007,7 +13858,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Type = types.DimensionType(jtv) } - default: _, _ = key, value @@ -14178,7 +14028,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.ApplicationProtocol = types.ApplicationProtocol(jtv) } - case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -14187,17 +14036,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "authorizerConfig": if err := awsRestjson1_deserializeDocumentAuthorizerConfig(&sv.AuthorizerConfig, value); err != nil { return err } - case "clientCertificateConfig": if err := awsRestjson1_deserializeDocumentClientCertificateConfig(&sv.ClientCertificateConfig, value); err != nil { return err } - case "domainConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -14206,7 +14052,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationArn = ptr.String(jtv) } - case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -14215,7 +14060,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationName = ptr.String(jtv) } - case "domainConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -14224,7 +14068,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationStatus = types.DomainConfigurationStatus(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -14233,7 +14076,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainName = ptr.String(jtv) } - case "domainType": if value != nil { jtv, ok := value.(string) @@ -14242,7 +14084,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainType = types.DomainType(jtv) } - case "lastStatusChangeDate": if value != nil { switch jtv := value.(type) { @@ -14258,17 +14099,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } } - case "serverCertificateConfig": if err := awsRestjson1_deserializeDocumentServerCertificateConfig(&sv.ServerCertificateConfig, value); err != nil { return err } - case "serverCertificates": if err := awsRestjson1_deserializeDocumentServerCertificates(&sv.ServerCertificates, value); err != nil { return err } - case "serviceType": if value != nil { jtv, ok := value.(string) @@ -14277,12 +14115,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.ServiceType = types.ServiceType(jtv) } - case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14447,7 +14283,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -14613,12 +14448,10 @@ func awsRestjson1_deserializeOpDocumentDescribeEventConfigurationsOutput(v **Des } } - case "eventConfigurations": if err := awsRestjson1_deserializeDocumentEventConfigurations(&sv.EventConfigurations, value); err != nil { return err } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -14634,7 +14467,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEventConfigurationsOutput(v **Des } } - default: _, _ = key, value @@ -14805,12 +14637,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.AggregationField = ptr.String(jtv) } - case "aggregationType": if err := awsRestjson1_deserializeDocumentAggregationType(&sv.AggregationType, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -14826,7 +14656,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } } - case "description": if value != nil { jtv, ok := value.(string) @@ -14835,7 +14664,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Description = ptr.String(jtv) } - case "indexName": if value != nil { jtv, ok := value.(string) @@ -14844,7 +14672,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.IndexName = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -14860,7 +14687,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } } - case "metricArn": if value != nil { jtv, ok := value.(string) @@ -14869,7 +14695,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -14878,7 +14703,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.MetricName = ptr.String(jtv) } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -14891,7 +14715,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Period = ptr.Int32(int32(i64)) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -14900,7 +14723,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.QueryString = ptr.String(jtv) } - case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -14909,7 +14731,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.QueryVersion = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -14918,7 +14739,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Unit = types.FleetMetricUnit(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14931,7 +14751,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Version = i64 } - default: _, _ = key, value @@ -15102,7 +14921,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.IndexName = ptr.String(jtv) } - case "indexStatus": if value != nil { jtv, ok := value.(string) @@ -15111,7 +14929,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.IndexStatus = types.IndexStatus(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -15120,7 +14937,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -15285,12 +15101,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.DocumentSource = ptr.String(jtv) } - case "job": if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -15451,7 +15265,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobExecutionOutput(v **DescribeJo if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } - default: _, _ = key, value @@ -15612,7 +15425,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentAbortConfig(&sv.AbortConfig, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15628,7 +15440,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } } - case "description": if value != nil { jtv, ok := value.(string) @@ -15637,12 +15448,10 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.Description = ptr.String(jtv) } - case "destinationPackageVersions": if err := awsRestjson1_deserializeDocumentDestinationPackageVersions(&sv.DestinationPackageVersions, value); err != nil { return err } - case "document": if value != nil { jtv, ok := value.(string) @@ -15651,7 +15460,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.Document = ptr.String(jtv) } - case "documentSource": if value != nil { jtv, ok := value.(string) @@ -15660,17 +15468,14 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.DocumentSource = ptr.String(jtv) } - case "jobExecutionsRetryConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(&sv.JobExecutionsRetryConfig, value); err != nil { return err } - case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } - case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -15679,7 +15484,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.JobTemplateArn = ptr.String(jtv) } - case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -15688,22 +15492,18 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.JobTemplateId = ptr.String(jtv) } - case "maintenanceWindows": if err := awsRestjson1_deserializeDocumentMaintenanceWindows(&sv.MaintenanceWindows, value); err != nil { return err } - case "presignedUrlConfig": if err := awsRestjson1_deserializeDocumentPresignedUrlConfig(&sv.PresignedUrlConfig, value); err != nil { return err } - case "timeoutConfig": if err := awsRestjson1_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15868,7 +15668,6 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.Description = ptr.String(jtv) } - case "document": if value != nil { jtv, ok := value.(string) @@ -15877,17 +15676,14 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.Document = ptr.String(jtv) } - case "documentParameters": if err := awsRestjson1_deserializeDocumentDocumentParameters(&sv.DocumentParameters, value); err != nil { return err } - case "environments": if err := awsRestjson1_deserializeDocumentEnvironments(&sv.Environments, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -15896,7 +15692,6 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateArn = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15905,7 +15700,6 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateName = ptr.String(jtv) } - case "templateVersion": if value != nil { jtv, ok := value.(string) @@ -15914,7 +15708,6 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -16079,7 +15872,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionArn = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -16088,7 +15880,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionId = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -16097,12 +15888,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionName = ptr.String(jtv) } - case "actionParams": if err := awsRestjson1_deserializeDocumentMitigationActionParams(&sv.ActionParams, value); err != nil { return err } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -16111,7 +15900,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionType = types.MitigationActionType(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -16127,7 +15915,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16143,7 +15930,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16152,7 +15938,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16327,7 +16112,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } } - case "defaultVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -16340,7 +16124,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.DefaultVersionId = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16349,7 +16132,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -16358,7 +16140,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Enabled = ptr.Bool(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16374,12 +16155,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } } - case "preProvisioningHook": if err := awsRestjson1_deserializeDocumentProvisioningHook(&sv.PreProvisioningHook, value); err != nil { return err } - case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -16388,7 +16167,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.ProvisioningRoleArn = ptr.String(jtv) } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -16397,7 +16175,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateArn = ptr.String(jtv) } - case "templateBody": if value != nil { jtv, ok := value.(string) @@ -16406,7 +16183,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateBody = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -16415,7 +16191,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16424,7 +16199,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Type = types.TemplateType(jtv) } - default: _, _ = key, value @@ -16599,7 +16373,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } } - case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -16608,7 +16381,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.IsDefaultVersion = jtv } - case "templateBody": if value != nil { jtv, ok := value.(string) @@ -16617,7 +16389,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.TemplateBody = ptr.String(jtv) } - case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -16630,7 +16401,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.VersionId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16797,7 +16567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleAliasOutput(v **DescribeRoleA if err := awsRestjson1_deserializeDocumentRoleAliasDescription(&sv.RoleAliasDescription, value); err != nil { return err } - default: _, _ = key, value @@ -16962,7 +16731,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.DayOfMonth = ptr.String(jtv) } - case "dayOfWeek": if value != nil { jtv, ok := value.(string) @@ -16971,7 +16739,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.DayOfWeek = types.DayOfWeek(jtv) } - case "frequency": if value != nil { jtv, ok := value.(string) @@ -16980,7 +16747,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.Frequency = types.AuditFrequency(jtv) } - case "scheduledAuditArn": if value != nil { jtv, ok := value.(string) @@ -16989,7 +16755,6 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.ScheduledAuditArn = ptr.String(jtv) } - case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -16998,12 +16763,10 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.ScheduledAuditName = ptr.String(jtv) } - case "targetCheckNames": if err := awsRestjson1_deserializeDocumentTargetAuditCheckNames(&sv.TargetCheckNames, value); err != nil { return err } - default: _, _ = key, value @@ -17164,22 +16927,18 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainList(&sv.AdditionalMetricsToRetain, value); err != nil { return err } - case "additionalMetricsToRetainV2": if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainV2List(&sv.AdditionalMetricsToRetainV2, value); err != nil { return err } - case "alertTargets": if err := awsRestjson1_deserializeDocumentAlertTargets(&sv.AlertTargets, value); err != nil { return err } - case "behaviors": if err := awsRestjson1_deserializeDocumentBehaviors(&sv.Behaviors, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17195,7 +16954,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17211,12 +16969,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } } - case "metricsExportConfig": if err := awsRestjson1_deserializeDocumentMetricsExportConfig(&sv.MetricsExportConfig, value); err != nil { return err } - case "securityProfileArn": if value != nil { jtv, ok := value.(string) @@ -17225,7 +16981,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileArn = ptr.String(jtv) } - case "securityProfileDescription": if value != nil { jtv, ok := value.(string) @@ -17234,7 +16989,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileDescription = ptr.String(jtv) } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -17243,7 +16997,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17256,7 +17009,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.Version = i64 } - default: _, _ = key, value @@ -17423,7 +17175,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsRestjson1_deserializeDocumentStreamInfo(&sv.StreamInfo, value); err != nil { return err } - default: _, _ = key, value @@ -17590,7 +17341,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -17599,7 +17349,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.BillingGroupName = ptr.String(jtv) } - case "defaultClientId": if value != nil { jtv, ok := value.(string) @@ -17608,7 +17357,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.DefaultClientId = ptr.String(jtv) } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -17617,7 +17365,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingArn = ptr.String(jtv) } - case "thingId": if value != nil { jtv, ok := value.(string) @@ -17626,7 +17373,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingId = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -17635,7 +17381,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingName = ptr.String(jtv) } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -17644,7 +17389,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingTypeName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17657,7 +17401,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.Version = i64 } - default: _, _ = key, value @@ -17822,7 +17565,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.IndexName = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -17831,7 +17573,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.QueryString = ptr.String(jtv) } - case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -17840,7 +17581,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.QueryVersion = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17849,7 +17589,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.Status = types.DynamicGroupStatus(jtv) } - case "thingGroupArn": if value != nil { jtv, ok := value.(string) @@ -17858,7 +17597,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupArn = ptr.String(jtv) } - case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -17867,12 +17605,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupId = ptr.String(jtv) } - case "thingGroupMetadata": if err := awsRestjson1_deserializeDocumentThingGroupMetadata(&sv.ThingGroupMetadata, value); err != nil { return err } - case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -17881,12 +17617,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupName = ptr.String(jtv) } - case "thingGroupProperties": if err := awsRestjson1_deserializeDocumentThingGroupProperties(&sv.ThingGroupProperties, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17899,7 +17633,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.Version = i64 } - default: _, _ = key, value @@ -18074,7 +17807,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } } - case "failureCount": if value != nil { jtv, ok := value.(json.Number) @@ -18087,7 +17819,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.FailureCount = int32(i64) } - case "inputFileBucket": if value != nil { jtv, ok := value.(string) @@ -18096,7 +17827,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.InputFileBucket = ptr.String(jtv) } - case "inputFileKey": if value != nil { jtv, ok := value.(string) @@ -18105,7 +17835,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.InputFileKey = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18121,7 +17850,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } } - case "message": if value != nil { jtv, ok := value.(string) @@ -18130,7 +17858,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.Message = ptr.String(jtv) } - case "percentageProgress": if value != nil { jtv, ok := value.(json.Number) @@ -18143,7 +17870,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.PercentageProgress = int32(i64) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -18152,7 +17878,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18161,7 +17886,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.Status = types.Status(jtv) } - case "successCount": if value != nil { jtv, ok := value.(json.Number) @@ -18174,7 +17898,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.SuccessCount = int32(i64) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -18183,7 +17906,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.TaskId = ptr.String(jtv) } - case "templateBody": if value != nil { jtv, ok := value.(string) @@ -18192,7 +17914,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.TemplateBody = ptr.String(jtv) } - default: _, _ = key, value @@ -18363,7 +18084,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeArn = ptr.String(jtv) } - case "thingTypeId": if value != nil { jtv, ok := value.(string) @@ -18372,12 +18092,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeId = ptr.String(jtv) } - case "thingTypeMetadata": if err := awsRestjson1_deserializeDocumentThingTypeMetadata(&sv.ThingTypeMetadata, value); err != nil { return err } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -18386,12 +18104,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeName = ptr.String(jtv) } - case "thingTypeProperties": if err := awsRestjson1_deserializeDocumentThingTypeProperties(&sv.ThingTypeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -19286,12 +19002,10 @@ func awsRestjson1_deserializeOpDocumentGetBehaviorModelTrainingSummariesOutput(v } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsRestjson1_deserializeDocumentBehaviorModelTrainingSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -19467,7 +19181,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketsAggregationOutput(v **GetBucket if err := awsRestjson1_deserializeDocumentBuckets(&sv.Buckets, value); err != nil { return err } - case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -19480,7 +19193,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketsAggregationOutput(v **GetBucket } sv.TotalCount = int32(i64) } - default: _, _ = key, value @@ -19664,7 +19376,6 @@ func awsRestjson1_deserializeOpDocumentGetCardinalityOutput(v **GetCardinalityOu } sv.Cardinality = int32(i64) } - default: _, _ = key, value @@ -19834,7 +19545,6 @@ func awsRestjson1_deserializeOpDocumentGetEffectivePoliciesOutput(v **GetEffecti if err := awsRestjson1_deserializeDocumentEffectivePolicies(&sv.EffectivePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -19998,12 +19708,10 @@ func awsRestjson1_deserializeOpDocumentGetIndexingConfigurationOutput(v **GetInd if err := awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(&sv.ThingGroupIndexingConfiguration, value); err != nil { return err } - case "thingIndexingConfiguration": if err := awsRestjson1_deserializeDocumentThingIndexingConfiguration(&sv.ThingIndexingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20168,7 +19876,6 @@ func awsRestjson1_deserializeOpDocumentGetJobDocumentOutput(v **GetJobDocumentOu } sv.Document = ptr.String(jtv) } - default: _, _ = key, value @@ -20330,7 +20037,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt } sv.LogLevel = types.LogLevel(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -20339,7 +20045,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20506,7 +20211,6 @@ func awsRestjson1_deserializeOpDocumentGetOTAUpdateOutput(v **GetOTAUpdateOutput if err := awsRestjson1_deserializeDocumentOTAUpdateInfo(&sv.OtaUpdateInfo, value); err != nil { return err } - default: _, _ = key, value @@ -20678,7 +20382,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } } - case "defaultVersionName": if value != nil { jtv, ok := value.(string) @@ -20687,7 +20390,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.DefaultVersionName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -20696,7 +20398,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20712,7 +20413,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } } - case "packageArn": if value != nil { jtv, ok := value.(string) @@ -20721,7 +20421,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.PackageArn = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -20730,7 +20429,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.PackageName = ptr.String(jtv) } - default: _, _ = key, value @@ -20885,7 +20583,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageConfigurationOutput(v **GetPack if err := awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(&sv.VersionUpdateByJobsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -21046,12 +20743,10 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer if err := awsRestjson1_deserializeDocumentPackageVersionArtifact(&sv.Artifact, value); err != nil { return err } - case "attributes": if err := awsRestjson1_deserializeDocumentResourceAttributes(&sv.Attributes, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -21067,7 +20762,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } } - case "description": if value != nil { jtv, ok := value.(string) @@ -21076,7 +20770,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Description = ptr.String(jtv) } - case "errorReason": if value != nil { jtv, ok := value.(string) @@ -21085,7 +20778,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.ErrorReason = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21101,7 +20793,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -21110,7 +20801,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.PackageName = ptr.String(jtv) } - case "packageVersionArn": if value != nil { jtv, ok := value.(string) @@ -21119,7 +20809,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.PackageVersionArn = ptr.String(jtv) } - case "recipe": if value != nil { jtv, ok := value.(string) @@ -21128,12 +20817,10 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Recipe = ptr.String(jtv) } - case "sbom": if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } - case "sbomValidationStatus": if value != nil { jtv, ok := value.(string) @@ -21142,7 +20829,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.SbomValidationStatus = types.SbomValidationStatus(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21151,7 +20837,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Status = types.PackageVersionStatus(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -21160,7 +20845,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -21336,7 +21020,6 @@ func awsRestjson1_deserializeOpDocumentGetPercentilesOutput(v **GetPercentilesOu if err := awsRestjson1_deserializeDocumentPercentiles(&sv.Percentiles, value); err != nil { return err } - default: _, _ = key, value @@ -21514,7 +21197,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } } - case "defaultVersionId": if value != nil { jtv, ok := value.(string) @@ -21523,7 +21205,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.DefaultVersionId = ptr.String(jtv) } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -21532,7 +21213,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.GenerationId = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21548,7 +21228,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -21557,7 +21236,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -21566,7 +21244,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -21575,7 +21252,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -21753,7 +21429,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -21762,7 +21437,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.GenerationId = ptr.String(jtv) } - case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -21771,7 +21445,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.IsDefaultVersion = jtv } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21787,7 +21460,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -21796,7 +21468,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyArn = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -21805,7 +21476,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -21814,7 +21484,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyName = ptr.String(jtv) } - case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -21823,7 +21492,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyVersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -21991,7 +21659,6 @@ func awsRestjson1_deserializeOpDocumentGetRegistrationCodeOutput(v **GetRegistra } sv.RegistrationCode = ptr.String(jtv) } - default: _, _ = key, value @@ -22167,7 +21834,6 @@ func awsRestjson1_deserializeOpDocumentGetStatisticsOutput(v **GetStatisticsOutp if err := awsRestjson1_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -22328,7 +21994,6 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleOutput(v **GetTopicRuleOutput if err := awsRestjson1_deserializeDocumentTopicRule(&sv.Rule, value); err != nil { return err } - case "ruleArn": if value != nil { jtv, ok := value.(string) @@ -22337,7 +22002,6 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleOutput(v **GetTopicRuleOutput } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -22498,7 +22162,6 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleDestinationOutput(v **GetTopi if err := awsRestjson1_deserializeDocumentTopicRuleDestination(&sv.TopicRuleDestination, value); err != nil { return err } - default: _, _ = key, value @@ -22660,7 +22323,6 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.DefaultLogLevel = types.LogLevel(jtv) } - case "disableAllLogs": if value != nil { jtv, ok := value.(bool) @@ -22669,7 +22331,6 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.DisableAllLogs = jtv } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -22678,7 +22339,6 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -22839,7 +22499,6 @@ func awsRestjson1_deserializeOpDocumentListActiveViolationsOutput(v **ListActive if err := awsRestjson1_deserializeDocumentActiveViolations(&sv.ActiveViolations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -22848,7 +22507,6 @@ func awsRestjson1_deserializeOpDocumentListActiveViolationsOutput(v **ListActive } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23022,12 +22680,10 @@ func awsRestjson1_deserializeOpDocumentListAttachedPoliciesOutput(v **ListAttach } sv.NextMarker = ptr.String(jtv) } - case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -23185,7 +22841,6 @@ func awsRestjson1_deserializeOpDocumentListAuditFindingsOutput(v **ListAuditFind if err := awsRestjson1_deserializeDocumentAuditFindings(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23194,7 +22849,6 @@ func awsRestjson1_deserializeOpDocumentListAuditFindingsOutput(v **ListAuditFind } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23352,7 +23006,6 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsExecutionsOutpu if err := awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadataList(&sv.ActionsExecutions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23361,7 +23014,6 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsExecutionsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23523,12 +23175,10 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsTasksOutput(v * } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadataList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -23690,12 +23340,10 @@ func awsRestjson1_deserializeOpDocumentListAuditSuppressionsOutput(v **ListAudit } sv.NextToken = ptr.String(jtv) } - case "suppressions": if err := awsRestjson1_deserializeDocumentAuditSuppressionList(&sv.Suppressions, value); err != nil { return err } - default: _, _ = key, value @@ -23857,12 +23505,10 @@ func awsRestjson1_deserializeOpDocumentListAuditTasksOutput(v **ListAuditTasksOu } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentAuditTaskMetadataList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -24026,7 +23672,6 @@ func awsRestjson1_deserializeOpDocumentListAuthorizersOutput(v **ListAuthorizers if err := awsRestjson1_deserializeDocumentAuthorizers(&sv.Authorizers, value); err != nil { return err } - case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24035,7 +23680,6 @@ func awsRestjson1_deserializeOpDocumentListAuthorizersOutput(v **ListAuthorizers } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -24196,7 +23840,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr if err := awsRestjson1_deserializeDocumentBillingGroupNameAndArnList(&sv.BillingGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24205,7 +23848,6 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24369,7 +24011,6 @@ func awsRestjson1_deserializeOpDocumentListCACertificatesOutput(v **ListCACertif if err := awsRestjson1_deserializeDocumentCACertificates(&sv.Certificates, value); err != nil { return err } - case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24378,7 +24019,6 @@ func awsRestjson1_deserializeOpDocumentListCACertificatesOutput(v **ListCACertif } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -24542,7 +24182,6 @@ func awsRestjson1_deserializeOpDocumentListCertificateProvidersOutput(v **ListCe if err := awsRestjson1_deserializeDocumentCertificateProviders(&sv.CertificateProviders, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24551,7 +24190,6 @@ func awsRestjson1_deserializeOpDocumentListCertificateProvidersOutput(v **ListCe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -24715,7 +24353,6 @@ func awsRestjson1_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsRestjson1_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } - case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24724,7 +24361,6 @@ func awsRestjson1_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -24888,7 +24524,6 @@ func awsRestjson1_deserializeOpDocumentListCertificatesByCAOutput(v **ListCertif if err := awsRestjson1_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } - case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24897,7 +24532,6 @@ func awsRestjson1_deserializeOpDocumentListCertificatesByCAOutput(v **ListCertif } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -25055,7 +24689,6 @@ func awsRestjson1_deserializeOpDocumentListCustomMetricsOutput(v **ListCustomMet if err := awsRestjson1_deserializeDocumentMetricNames(&sv.MetricNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25064,7 +24697,6 @@ func awsRestjson1_deserializeOpDocumentListCustomMetricsOutput(v **ListCustomMet } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25222,7 +24854,6 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsExecutionsOutp if err := awsRestjson1_deserializeDocumentDetectMitigationActionExecutionList(&sv.ActionsExecutions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25231,7 +24862,6 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsExecutionsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25393,12 +25023,10 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsTasksOutput(v } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummaryList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -25556,7 +25184,6 @@ func awsRestjson1_deserializeOpDocumentListDimensionsOutput(v **ListDimensionsOu if err := awsRestjson1_deserializeDocumentDimensionNames(&sv.DimensionNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25565,7 +25192,6 @@ func awsRestjson1_deserializeOpDocumentListDimensionsOutput(v **ListDimensionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25729,7 +25355,6 @@ func awsRestjson1_deserializeOpDocumentListDomainConfigurationsOutput(v **ListDo if err := awsRestjson1_deserializeDocumentDomainConfigurations(&sv.DomainConfigurations, value); err != nil { return err } - case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -25738,7 +25363,6 @@ func awsRestjson1_deserializeOpDocumentListDomainConfigurationsOutput(v **ListDo } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -25902,7 +25526,6 @@ func awsRestjson1_deserializeOpDocumentListFleetMetricsOutput(v **ListFleetMetri if err := awsRestjson1_deserializeDocumentFleetMetricNameAndArnList(&sv.FleetMetrics, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25911,7 +25534,6 @@ func awsRestjson1_deserializeOpDocumentListFleetMetricsOutput(v **ListFleetMetri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26075,7 +25697,6 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsRestjson1_deserializeDocumentIndexNamesList(&sv.IndexNames, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26084,7 +25705,6 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26245,7 +25865,6 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForJobOutput(v **ListJob if err := awsRestjson1_deserializeDocumentJobExecutionSummaryForJobList(&sv.ExecutionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26254,7 +25873,6 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForJobOutput(v **ListJob } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26415,7 +26033,6 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForThingOutput(v **ListJ if err := awsRestjson1_deserializeDocumentJobExecutionSummaryForThingList(&sv.ExecutionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26424,7 +26041,6 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForThingOutput(v **ListJ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26585,7 +26201,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26594,7 +26209,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26752,7 +26366,6 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat if err := awsRestjson1_deserializeDocumentJobTemplateSummaryList(&sv.JobTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26761,7 +26374,6 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26922,7 +26534,6 @@ func awsRestjson1_deserializeOpDocumentListManagedJobTemplatesOutput(v **ListMan if err := awsRestjson1_deserializeDocumentManagedJobTemplatesSummaryList(&sv.ManagedJobTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26931,7 +26542,6 @@ func awsRestjson1_deserializeOpDocumentListManagedJobTemplatesOutput(v **ListMan } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27092,7 +26702,6 @@ func awsRestjson1_deserializeOpDocumentListMetricValuesOutput(v **ListMetricValu if err := awsRestjson1_deserializeDocumentMetricDatumList(&sv.MetricDatumList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -27101,7 +26710,6 @@ func awsRestjson1_deserializeOpDocumentListMetricValuesOutput(v **ListMetricValu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27259,7 +26867,6 @@ func awsRestjson1_deserializeOpDocumentListMitigationActionsOutput(v **ListMitig if err := awsRestjson1_deserializeDocumentMitigationActionIdentifierList(&sv.ActionIdentifiers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -27268,7 +26875,6 @@ func awsRestjson1_deserializeOpDocumentListMitigationActionsOutput(v **ListMitig } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -27436,12 +27042,10 @@ func awsRestjson1_deserializeOpDocumentListOTAUpdatesOutput(v **ListOTAUpdatesOu } sv.NextToken = ptr.String(jtv) } - case "otaUpdates": if err := awsRestjson1_deserializeDocumentOTAUpdatesSummary(&sv.OtaUpdates, value); err != nil { return err } - default: _, _ = key, value @@ -27609,12 +27213,10 @@ func awsRestjson1_deserializeOpDocumentListOutgoingCertificatesOutput(v **ListOu } sv.NextMarker = ptr.String(jtv) } - case "outgoingCertificates": if err := awsRestjson1_deserializeDocumentOutgoingCertificates(&sv.OutgoingCertificates, value); err != nil { return err } - default: _, _ = key, value @@ -27776,12 +27378,10 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } - case "packageSummaries": if err := awsRestjson1_deserializeDocumentPackageSummaryList(&sv.PackageSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -27943,12 +27543,10 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.NextToken = ptr.String(jtv) } - case "packageVersionSummaries": if err := awsRestjson1_deserializeDocumentPackageVersionSummaryList(&sv.PackageVersionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -28116,12 +27714,10 @@ func awsRestjson1_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextMarker = ptr.String(jtv) } - case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -28292,12 +27888,10 @@ func awsRestjson1_deserializeOpDocumentListPolicyPrincipalsOutput(v **ListPolicy } sv.NextMarker = ptr.String(jtv) } - case "principals": if err := awsRestjson1_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -28464,7 +28058,6 @@ func awsRestjson1_deserializeOpDocumentListPolicyVersionsOutput(v **ListPolicyVe if err := awsRestjson1_deserializeDocumentPolicyVersions(&sv.PolicyVersions, value); err != nil { return err } - default: _, _ = key, value @@ -28635,12 +28228,10 @@ func awsRestjson1_deserializeOpDocumentListPrincipalPoliciesOutput(v **ListPrinc } sv.NextMarker = ptr.String(jtv) } - case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -28811,12 +28402,10 @@ func awsRestjson1_deserializeOpDocumentListPrincipalThingsOutput(v **ListPrincip } sv.NextToken = ptr.String(jtv) } - case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -28981,12 +28570,10 @@ func awsRestjson1_deserializeOpDocumentListProvisioningTemplatesOutput(v **ListP } sv.NextToken = ptr.String(jtv) } - case "templates": if err := awsRestjson1_deserializeDocumentProvisioningTemplateListing(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -29154,12 +28741,10 @@ func awsRestjson1_deserializeOpDocumentListProvisioningTemplateVersionsOutput(v } sv.NextToken = ptr.String(jtv) } - case "versions": if err := awsRestjson1_deserializeDocumentProvisioningTemplateVersionListing(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -29324,12 +28909,10 @@ func awsRestjson1_deserializeOpDocumentListRelatedResourcesForAuditFindingOutput } sv.NextToken = ptr.String(jtv) } - case "relatedResources": if err := awsRestjson1_deserializeDocumentRelatedResources(&sv.RelatedResources, value); err != nil { return err } - default: _, _ = key, value @@ -29497,12 +29080,10 @@ func awsRestjson1_deserializeOpDocumentListRoleAliasesOutput(v **ListRoleAliases } sv.NextMarker = ptr.String(jtv) } - case "roleAliases": if err := awsRestjson1_deserializeDocumentRoleAliases(&sv.RoleAliases, value); err != nil { return err } - default: _, _ = key, value @@ -29667,12 +29248,10 @@ func awsRestjson1_deserializeOpDocumentListSbomValidationResultsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - case "validationResultSummaries": if err := awsRestjson1_deserializeDocumentSbomValidationResultSummaryList(&sv.ValidationResultSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -29834,12 +29413,10 @@ func awsRestjson1_deserializeOpDocumentListScheduledAuditsOutput(v **ListSchedul } sv.NextToken = ptr.String(jtv) } - case "scheduledAudits": if err := awsRestjson1_deserializeDocumentScheduledAuditMetadataList(&sv.ScheduledAudits, value); err != nil { return err } - default: _, _ = key, value @@ -30004,12 +29581,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } - case "securityProfileIdentifiers": if err := awsRestjson1_deserializeDocumentSecurityProfileIdentifiers(&sv.SecurityProfileIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -30174,12 +29749,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesForTargetOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "securityProfileTargetMappings": if err := awsRestjson1_deserializeDocumentSecurityProfileTargetMappings(&sv.SecurityProfileTargetMappings, value); err != nil { return err } - default: _, _ = key, value @@ -30347,12 +29920,10 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } - case "streams": if err := awsRestjson1_deserializeDocumentStreamsSummary(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -30517,12 +30088,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -30696,12 +30265,10 @@ func awsRestjson1_deserializeOpDocumentListTargetsForPolicyOutput(v **ListTarget } sv.NextMarker = ptr.String(jtv) } - case "targets": if err := awsRestjson1_deserializeDocumentPolicyTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -30866,12 +30433,10 @@ func awsRestjson1_deserializeOpDocumentListTargetsForSecurityProfileOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "securityProfileTargets": if err := awsRestjson1_deserializeDocumentSecurityProfileTargets(&sv.SecurityProfileTargets, value); err != nil { return err } - default: _, _ = key, value @@ -31036,12 +30601,10 @@ func awsRestjson1_deserializeOpDocumentListThingGroupsOutput(v **ListThingGroups } sv.NextToken = ptr.String(jtv) } - case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.ThingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -31206,12 +30769,10 @@ func awsRestjson1_deserializeOpDocumentListThingGroupsForThingOutput(v **ListThi } sv.NextToken = ptr.String(jtv) } - case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.ThingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -31382,12 +30943,10 @@ func awsRestjson1_deserializeOpDocumentListThingPrincipalsOutput(v **ListThingPr } sv.NextToken = ptr.String(jtv) } - case "principals": if err := awsRestjson1_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -31552,7 +31111,6 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTaskReportsOutput(v } sv.NextToken = ptr.String(jtv) } - case "reportType": if value != nil { jtv, ok := value.(string) @@ -31561,12 +31119,10 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTaskReportsOutput(v } sv.ReportType = types.ReportType(jtv) } - case "resourceLinks": if err := awsRestjson1_deserializeDocumentS3FileUrlList(&sv.ResourceLinks, value); err != nil { return err } - default: _, _ = key, value @@ -31731,12 +31287,10 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTasksOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "taskIds": if err := awsRestjson1_deserializeDocumentTaskIdList(&sv.TaskIds, value); err != nil { return err } - default: _, _ = key, value @@ -31904,12 +31458,10 @@ func awsRestjson1_deserializeOpDocumentListThingsOutput(v **ListThingsOutput, va } sv.NextToken = ptr.String(jtv) } - case "things": if err := awsRestjson1_deserializeDocumentThingAttributeList(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -32074,12 +31626,10 @@ func awsRestjson1_deserializeOpDocumentListThingsInBillingGroupOutput(v **ListTh } sv.NextToken = ptr.String(jtv) } - case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -32244,12 +31794,10 @@ func awsRestjson1_deserializeOpDocumentListThingsInThingGroupOutput(v **ListThin } sv.NextToken = ptr.String(jtv) } - case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -32417,12 +31965,10 @@ func awsRestjson1_deserializeOpDocumentListThingTypesOutput(v **ListThingTypesOu } sv.NextToken = ptr.String(jtv) } - case "thingTypes": if err := awsRestjson1_deserializeDocumentThingTypeList(&sv.ThingTypes, value); err != nil { return err } - default: _, _ = key, value @@ -32583,7 +32129,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRuleDestinationsOutput(v **ListT if err := awsRestjson1_deserializeDocumentTopicRuleDestinationSummaries(&sv.DestinationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32592,7 +32137,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRuleDestinationsOutput(v **ListT } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -32754,12 +32298,10 @@ func awsRestjson1_deserializeOpDocumentListTopicRulesOutput(v **ListTopicRulesOu } sv.NextToken = ptr.String(jtv) } - case "rules": if err := awsRestjson1_deserializeDocumentTopicRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -32920,7 +32462,6 @@ func awsRestjson1_deserializeOpDocumentListV2LoggingLevelsOutput(v **ListV2Loggi if err := awsRestjson1_deserializeDocumentLogTargetConfigurations(&sv.LogTargetConfigurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32929,7 +32470,6 @@ func awsRestjson1_deserializeOpDocumentListV2LoggingLevelsOutput(v **ListV2Loggi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -33091,12 +32631,10 @@ func awsRestjson1_deserializeOpDocumentListViolationEventsOutput(v **ListViolati } sv.NextToken = ptr.String(jtv) } - case "violationEvents": if err := awsRestjson1_deserializeDocumentViolationEvents(&sv.ViolationEvents, value); err != nil { return err } - default: _, _ = key, value @@ -33373,7 +32911,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCACertificateOutput(v **RegisterC } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -33382,7 +32919,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCACertificateOutput(v **RegisterC } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -33562,7 +33098,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -33571,7 +33106,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -33748,7 +33282,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateWithoutCAOutput(v **Re } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -33757,7 +33290,6 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateWithoutCAOutput(v **Re } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -33931,12 +33463,10 @@ func awsRestjson1_deserializeOpDocumentRegisterThingOutput(v **RegisterThingOutp } sv.CertificatePem = ptr.String(jtv) } - case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } - default: _, _ = key, value @@ -34528,17 +34058,14 @@ func awsRestjson1_deserializeOpDocumentSearchIndexOutput(v **SearchIndexOutput, } sv.NextToken = ptr.String(jtv) } - case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupDocumentList(&sv.ThingGroups, value); err != nil { return err } - case "things": if err := awsRestjson1_deserializeDocumentThingDocumentList(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -34712,7 +34239,6 @@ func awsRestjson1_deserializeOpDocumentSetDefaultAuthorizerOutput(v **SetDefault } sv.AuthorizerArn = ptr.String(jtv) } - case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -34721,7 +34247,6 @@ func awsRestjson1_deserializeOpDocumentSetDefaultAuthorizerOutput(v **SetDefault } sv.AuthorizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -35304,7 +34829,6 @@ func awsRestjson1_deserializeOpDocumentStartAuditMitigationActionsTaskOutput(v * } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -35472,7 +34996,6 @@ func awsRestjson1_deserializeOpDocumentStartDetectMitigationActionsTaskOutput(v } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -35637,7 +35160,6 @@ func awsRestjson1_deserializeOpDocumentStartOnDemandAuditTaskOutput(v **StartOnD } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -35802,7 +35324,6 @@ func awsRestjson1_deserializeOpDocumentStartThingRegistrationTaskOutput(v **Star } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -36172,7 +35693,6 @@ func awsRestjson1_deserializeOpDocumentTestAuthorizationOutput(v **TestAuthoriza if err := awsRestjson1_deserializeDocumentAuthResults(&sv.AuthResults, value); err != nil { return err } - default: _, _ = key, value @@ -36350,7 +35870,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.DisconnectAfterInSeconds = ptr.Int32(int32(i64)) } - case "isAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -36359,12 +35878,10 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.IsAuthenticated = ptr.Bool(jtv) } - case "policyDocuments": if err := awsRestjson1_deserializeDocumentPolicyDocuments(&sv.PolicyDocuments, value); err != nil { return err } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -36373,7 +35890,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.PrincipalId = ptr.String(jtv) } - case "refreshAfterInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -36386,7 +35902,6 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.RefreshAfterInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36563,7 +36078,6 @@ func awsRestjson1_deserializeOpDocumentTransferCertificateOutput(v **TransferCer } sv.TransferredCertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -37025,7 +36539,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerArn = ptr.String(jtv) } - case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -37034,7 +36547,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -37206,7 +36718,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Version = i64 } - default: _, _ = key, value @@ -37598,7 +37109,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCertificateProviderOutput(v **Updat } sv.CertificateProviderArn = ptr.String(jtv) } - case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -37607,7 +37117,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCertificateProviderOutput(v **Updat } sv.CertificateProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -37779,7 +37288,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -37788,7 +37296,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.DisplayName = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37804,7 +37311,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } } - case "metricArn": if value != nil { jtv, ok := value.(string) @@ -37813,7 +37319,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -37822,7 +37327,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricName = ptr.String(jtv) } - case "metricType": if value != nil { jtv, ok := value.(string) @@ -37831,7 +37335,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricType = types.CustomMetricType(jtv) } - default: _, _ = key, value @@ -37996,7 +37499,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Arn = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -38012,7 +37514,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -38028,7 +37529,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } } - case "name": if value != nil { jtv, ok := value.(string) @@ -38037,12 +37537,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Name = ptr.String(jtv) } - case "stringValues": if err := awsRestjson1_deserializeDocumentDimensionStringValues(&sv.StringValues, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -38051,7 +37549,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Type = types.DimensionType(jtv) } - default: _, _ = key, value @@ -38225,7 +37722,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigurationOutput(v **Updat } sv.DomainConfigurationArn = ptr.String(jtv) } - case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -38234,7 +37730,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigurationOutput(v **Updat } sv.DomainConfigurationName = ptr.String(jtv) } - default: _, _ = key, value @@ -38409,7 +37904,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDynamicThingGroupOutput(v **UpdateD } sv.Version = i64 } - default: _, _ = key, value @@ -38992,7 +38486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMitigationActionOutput(v **UpdateMi } sv.ActionArn = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -39001,7 +38494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMitigationActionOutput(v **UpdateMi } sv.ActionId = ptr.String(jtv) } - default: _, _ = key, value @@ -39569,7 +39061,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleAliasOutput(v **UpdateRoleAlias } sv.RoleAlias = ptr.String(jtv) } - case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -39578,7 +39069,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleAliasOutput(v **UpdateRoleAlias } sv.RoleAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -39743,7 +39233,6 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduledAuditOutput(v **UpdateSche } sv.ScheduledAuditArn = ptr.String(jtv) } - default: _, _ = key, value @@ -39907,22 +39396,18 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainList(&sv.AdditionalMetricsToRetain, value); err != nil { return err } - case "additionalMetricsToRetainV2": if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainV2List(&sv.AdditionalMetricsToRetainV2, value); err != nil { return err } - case "alertTargets": if err := awsRestjson1_deserializeDocumentAlertTargets(&sv.AlertTargets, value); err != nil { return err } - case "behaviors": if err := awsRestjson1_deserializeDocumentBehaviors(&sv.Behaviors, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -39938,7 +39423,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -39954,12 +39438,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } } - case "metricsExportConfig": if err := awsRestjson1_deserializeDocumentMetricsExportConfig(&sv.MetricsExportConfig, value); err != nil { return err } - case "securityProfileArn": if value != nil { jtv, ok := value.(string) @@ -39968,7 +39450,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileArn = ptr.String(jtv) } - case "securityProfileDescription": if value != nil { jtv, ok := value.(string) @@ -39977,7 +39458,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileDescription = ptr.String(jtv) } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -39986,7 +39466,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -39999,7 +39478,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.Version = i64 } - default: _, _ = key, value @@ -40173,7 +39651,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.Description = ptr.String(jtv) } - case "streamArn": if value != nil { jtv, ok := value.(string) @@ -40182,7 +39659,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamArn = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -40191,7 +39667,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamId = ptr.String(jtv) } - case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -40204,7 +39679,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40482,7 +39956,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThingGroupOutput(v **UpdateThingGro } sv.Version = i64 } - default: _, _ = key, value @@ -40841,12 +40314,10 @@ func awsRestjson1_deserializeOpDocumentValidateSecurityProfileBehaviorsOutput(v } sv.Valid = jtv } - case "validationErrors": if err := awsRestjson1_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } - default: _, _ = key, value @@ -42070,7 +41541,6 @@ func awsRestjson1_deserializeDocumentAbortConfig(v **types.AbortConfig, value in if err := awsRestjson1_deserializeDocumentAbortCriteriaList(&sv.CriteriaList, value); err != nil { return err } - default: _, _ = key, value @@ -42110,7 +41580,6 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.Action = types.AbortAction(jtv) } - case "failureType": if value != nil { jtv, ok := value.(string) @@ -42119,7 +41588,6 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.FailureType = types.JobExecutionFailureType(jtv) } - case "minNumberOfExecutedThings": if value != nil { jtv, ok := value.(json.Number) @@ -42132,7 +41600,6 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.MinNumberOfExecutedThings = ptr.Int32(int32(i64)) } - case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -42166,7 +41633,6 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } } - default: _, _ = key, value @@ -42236,117 +41702,94 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentCloudwatchAlarmAction(&sv.CloudwatchAlarm, value); err != nil { return err } - case "cloudwatchLogs": if err := awsRestjson1_deserializeDocumentCloudwatchLogsAction(&sv.CloudwatchLogs, value); err != nil { return err } - case "cloudwatchMetric": if err := awsRestjson1_deserializeDocumentCloudwatchMetricAction(&sv.CloudwatchMetric, value); err != nil { return err } - case "dynamoDB": if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } - case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } - case "elasticsearch": if err := awsRestjson1_deserializeDocumentElasticsearchAction(&sv.Elasticsearch, value); err != nil { return err } - case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } - case "http": if err := awsRestjson1_deserializeDocumentHttpAction(&sv.Http, value); err != nil { return err } - case "iotAnalytics": if err := awsRestjson1_deserializeDocumentIotAnalyticsAction(&sv.IotAnalytics, value); err != nil { return err } - case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } - case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } - case "kafka": if err := awsRestjson1_deserializeDocumentKafkaAction(&sv.Kafka, value); err != nil { return err } - case "kinesis": if err := awsRestjson1_deserializeDocumentKinesisAction(&sv.Kinesis, value); err != nil { return err } - case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } - case "location": if err := awsRestjson1_deserializeDocumentLocationAction(&sv.Location, value); err != nil { return err } - case "openSearch": if err := awsRestjson1_deserializeDocumentOpenSearchAction(&sv.OpenSearch, value); err != nil { return err } - case "republish": if err := awsRestjson1_deserializeDocumentRepublishAction(&sv.Republish, value); err != nil { return err } - case "s3": if err := awsRestjson1_deserializeDocumentS3Action(&sv.S3, value); err != nil { return err } - case "salesforce": if err := awsRestjson1_deserializeDocumentSalesforceAction(&sv.Salesforce, value); err != nil { return err } - case "sns": if err := awsRestjson1_deserializeDocumentSnsAction(&sv.Sns, value); err != nil { return err } - case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } - case "stepFunctions": if err := awsRestjson1_deserializeDocumentStepFunctionsAction(&sv.StepFunctions, value); err != nil { return err } - case "timestream": if err := awsRestjson1_deserializeDocumentTimestreamAction(&sv.Timestream, value); err != nil { return err } - default: _, _ = key, value @@ -42416,7 +41859,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } - case "lastViolationTime": if value != nil { switch jtv := value.(type) { @@ -42432,12 +41874,10 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } } - case "lastViolationValue": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.LastViolationValue, value); err != nil { return err } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -42446,7 +41886,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.SecurityProfileName = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -42455,7 +41894,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.ThingName = ptr.String(jtv) } - case "verificationState": if value != nil { jtv, ok := value.(string) @@ -42464,7 +41902,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.VerificationState = types.VerificationState(jtv) } - case "verificationStateDescription": if value != nil { jtv, ok := value.(string) @@ -42473,12 +41910,10 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.VerificationStateDescription = ptr.String(jtv) } - case "violationEventAdditionalInfo": if err := awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(&sv.ViolationEventAdditionalInfo, value); err != nil { return err } - case "violationId": if value != nil { jtv, ok := value.(string) @@ -42487,7 +41922,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.ViolationId = ptr.String(jtv) } - case "violationStartTime": if value != nil { switch jtv := value.(type) { @@ -42503,7 +41937,6 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } } - default: _, _ = key, value @@ -42683,12 +42116,10 @@ func awsRestjson1_deserializeDocumentAddThingsToThingGroupParams(v **types.AddTh } sv.OverrideDynamicGroups = ptr.Bool(jtv) } - case "thingGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNames(&sv.ThingGroupNames, value); err != nil { return err } - default: _, _ = key, value @@ -42728,12 +42159,10 @@ func awsRestjson1_deserializeDocumentAggregationType(v **types.AggregationType, } sv.Name = types.AggregationTypeName(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentAggregationTypeValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -42809,7 +42238,6 @@ func awsRestjson1_deserializeDocumentAlertTarget(v **types.AlertTarget, value in } sv.AlertTargetArn = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -42818,7 +42246,6 @@ func awsRestjson1_deserializeDocumentAlertTarget(v **types.AlertTarget, value in } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -42889,7 +42316,6 @@ func awsRestjson1_deserializeDocumentAllowed(v **types.Allowed, value interface{ if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -42929,7 +42355,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.OffsetInNanos = ptr.String(jtv) } - case "timeInSeconds": if value != nil { jtv, ok := value.(string) @@ -42938,7 +42363,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.TimeInSeconds = ptr.String(jtv) } - default: _, _ = key, value @@ -42978,17 +42402,14 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = ptr.String(jtv) } - case "timestamp": if err := awsRestjson1_deserializeDocumentAssetPropertyTimestamp(&sv.Timestamp, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentAssetPropertyVariant(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -43136,7 +42557,6 @@ func awsRestjson1_deserializeDocumentAttributePayload(v **types.AttributePayload if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "merge": if value != nil { jtv, ok := value.(bool) @@ -43145,7 +42565,6 @@ func awsRestjson1_deserializeDocumentAttributePayload(v **types.AttributePayload } sv.Merge = jtv } - default: _, _ = key, value @@ -43257,7 +42676,6 @@ func awsRestjson1_deserializeDocumentAuditCheckConfiguration(v **types.AuditChec } sv.Enabled = jtv } - default: _, _ = key, value @@ -43332,7 +42750,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.CheckCompliant = ptr.Bool(jtv) } - case "checkRunStatus": if value != nil { jtv, ok := value.(string) @@ -43341,7 +42758,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.CheckRunStatus = types.AuditCheckRunStatus(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -43350,7 +42766,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.ErrorCode = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -43359,7 +42774,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.Message = ptr.String(jtv) } - case "nonCompliantResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -43372,7 +42786,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.NonCompliantResourcesCount = ptr.Int64(i64) } - case "suppressedNonCompliantResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -43385,7 +42798,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.SuppressedNonCompliantResourcesCount = ptr.Int64(i64) } - case "totalResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -43398,7 +42810,6 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.TotalResourcesCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -43541,7 +42952,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.CheckName = ptr.String(jtv) } - case "findingId": if value != nil { jtv, ok := value.(string) @@ -43550,7 +42960,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.FindingId = ptr.String(jtv) } - case "findingTime": if value != nil { switch jtv := value.(type) { @@ -43566,7 +42975,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } } - case "isSuppressed": if value != nil { jtv, ok := value.(bool) @@ -43575,12 +42983,10 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.IsSuppressed = ptr.Bool(jtv) } - case "nonCompliantResource": if err := awsRestjson1_deserializeDocumentNonCompliantResource(&sv.NonCompliantResource, value); err != nil { return err } - case "reasonForNonCompliance": if value != nil { jtv, ok := value.(string) @@ -43589,7 +42995,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.ReasonForNonCompliance = ptr.String(jtv) } - case "reasonForNonComplianceCode": if value != nil { jtv, ok := value.(string) @@ -43598,12 +43003,10 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.ReasonForNonComplianceCode = ptr.String(jtv) } - case "relatedResources": if err := awsRestjson1_deserializeDocumentRelatedResources(&sv.RelatedResources, value); err != nil { return err } - case "severity": if value != nil { jtv, ok := value.(string) @@ -43612,7 +43015,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.Severity = types.AuditFindingSeverity(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -43621,7 +43023,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.TaskId = ptr.String(jtv) } - case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -43637,7 +43038,6 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } } - default: _, _ = key, value @@ -43711,7 +43111,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ActionId = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -43720,7 +43119,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ActionName = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -43736,7 +43134,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -43745,7 +43142,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ErrorCode = ptr.String(jtv) } - case "findingId": if value != nil { jtv, ok := value.(string) @@ -43754,7 +43150,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.FindingId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -43763,7 +43158,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.Message = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -43779,7 +43173,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } } - case "status": if value != nil { jtv, ok := value.(string) @@ -43788,7 +43181,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.Status = types.AuditMitigationActionsExecutionStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -43797,7 +43189,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -43878,7 +43269,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -43887,7 +43277,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } sv.TaskId = ptr.String(jtv) } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -43896,7 +43285,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } sv.TaskStatus = types.AuditMitigationActionsTaskStatus(jtv) } - default: _, _ = key, value @@ -44001,7 +43389,6 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(v **types. if err := awsRestjson1_deserializeDocumentAuditCheckToReasonCodeFilter(&sv.AuditCheckToReasonCodeFilter, value); err != nil { return err } - case "auditTaskId": if value != nil { jtv, ok := value.(string) @@ -44010,12 +43397,10 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(v **types. } sv.AuditTaskId = ptr.String(jtv) } - case "findingIds": if err := awsRestjson1_deserializeDocumentFindingIds(&sv.FindingIds, value); err != nil { return err } - default: _, _ = key, value @@ -44055,7 +43440,6 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.Enabled = jtv } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -44064,7 +43448,6 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.RoleArn = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -44073,7 +43456,6 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -44148,7 +43530,6 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.CheckName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -44157,7 +43538,6 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.Description = ptr.String(jtv) } - case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -44173,12 +43553,10 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } } - case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } - case "suppressIndefinitely": if value != nil { jtv, ok := value.(bool) @@ -44187,7 +43565,6 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.SuppressIndefinitely = ptr.Bool(jtv) } - default: _, _ = key, value @@ -44261,7 +43638,6 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskId = ptr.String(jtv) } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -44270,7 +43646,6 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskStatus = types.AuditTaskStatus(jtv) } - case "taskType": if value != nil { jtv, ok := value.(string) @@ -44279,7 +43654,6 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskType = types.AuditTaskType(jtv) } - default: _, _ = key, value @@ -44353,12 +43727,10 @@ func awsRestjson1_deserializeDocumentAuthInfo(v **types.AuthInfo, value interfac } sv.ActionType = types.ActionType(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -44398,7 +43770,6 @@ func awsRestjson1_deserializeDocumentAuthorizerConfig(v **types.AuthorizerConfig } sv.AllowAuthorizerOverride = ptr.Bool(jtv) } - case "defaultAuthorizerName": if value != nil { jtv, ok := value.(string) @@ -44407,7 +43778,6 @@ func awsRestjson1_deserializeDocumentAuthorizerConfig(v **types.AuthorizerConfig } sv.DefaultAuthorizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -44447,7 +43817,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerArn = ptr.String(jtv) } - case "authorizerFunctionArn": if value != nil { jtv, ok := value.(string) @@ -44456,7 +43825,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerFunctionArn = ptr.String(jtv) } - case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -44465,7 +43833,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerName = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -44481,7 +43848,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } } - case "enableCachingForHttp": if value != nil { jtv, ok := value.(bool) @@ -44490,7 +43856,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.EnableCachingForHttp = ptr.Bool(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -44506,7 +43871,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } } - case "signingDisabled": if value != nil { jtv, ok := value.(bool) @@ -44515,7 +43879,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.SigningDisabled = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -44524,7 +43887,6 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.Status = types.AuthorizerStatus(jtv) } - case "tokenKeyName": if value != nil { jtv, ok := value.(string) @@ -44533,12 +43895,10 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.TokenKeyName = ptr.String(jtv) } - case "tokenSigningPublicKeys": if err := awsRestjson1_deserializeDocumentPublicKeyMap(&sv.TokenSigningPublicKeys, value); err != nil { return err } - default: _, _ = key, value @@ -44612,7 +43972,6 @@ func awsRestjson1_deserializeDocumentAuthorizerSummary(v **types.AuthorizerSumma } sv.AuthorizerArn = ptr.String(jtv) } - case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -44621,7 +43980,6 @@ func awsRestjson1_deserializeDocumentAuthorizerSummary(v **types.AuthorizerSumma } sv.AuthorizerName = ptr.String(jtv) } - default: _, _ = key, value @@ -44657,7 +44015,6 @@ func awsRestjson1_deserializeDocumentAuthResult(v **types.AuthResult, value inte if err := awsRestjson1_deserializeDocumentAllowed(&sv.Allowed, value); err != nil { return err } - case "authDecision": if value != nil { jtv, ok := value.(string) @@ -44666,22 +44023,18 @@ func awsRestjson1_deserializeDocumentAuthResult(v **types.AuthResult, value inte } sv.AuthDecision = types.AuthDecision(jtv) } - case "authInfo": if err := awsRestjson1_deserializeDocumentAuthInfo(&sv.AuthInfo, value); err != nil { return err } - case "denied": if err := awsRestjson1_deserializeDocumentDenied(&sv.Denied, value); err != nil { return err } - case "missingContextValues": if err := awsRestjson1_deserializeDocumentMissingContextValues(&sv.MissingContextValues, value); err != nil { return err } - default: _, _ = key, value @@ -44751,7 +44104,6 @@ func awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } - case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -44764,7 +44116,6 @@ func awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(v **types.Aws } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44808,7 +44159,6 @@ func awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(v **types.AwsJ } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } - case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -44842,12 +44192,10 @@ func awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(v **types.AwsJ } } - case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -44891,7 +44239,6 @@ func awsRestjson1_deserializeDocumentAwsJobPresignedUrlConfig(v **types.AwsJobPr } sv.ExpiresInSec = ptr.Int64(i64) } - default: _, _ = key, value @@ -44935,7 +44282,6 @@ func awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(v **types.AwsJob } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } - case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -44948,7 +44294,6 @@ func awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(v **types.AwsJob } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44984,7 +44329,6 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac if err := awsRestjson1_deserializeDocumentBehaviorCriteria(&sv.Criteria, value); err != nil { return err } - case "exportMetric": if value != nil { jtv, ok := value.(bool) @@ -44993,7 +44337,6 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.ExportMetric = ptr.Bool(jtv) } - case "metric": if value != nil { jtv, ok := value.(string) @@ -45002,12 +44345,10 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.Metric = ptr.String(jtv) } - case "metricDimension": if err := awsRestjson1_deserializeDocumentMetricDimension(&sv.MetricDimension, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -45016,7 +44357,6 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.Name = ptr.String(jtv) } - case "suppressAlerts": if value != nil { jtv, ok := value.(bool) @@ -45025,7 +44365,6 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.SuppressAlerts = ptr.Bool(jtv) } - default: _, _ = key, value @@ -45065,7 +44404,6 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "consecutiveDatapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -45078,7 +44416,6 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ConsecutiveDatapointsToAlarm = ptr.Int32(int32(i64)) } - case "consecutiveDatapointsToClear": if value != nil { jtv, ok := value.(json.Number) @@ -45091,7 +44428,6 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ConsecutiveDatapointsToClear = ptr.Int32(int32(i64)) } - case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -45104,22 +44440,18 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.DurationSeconds = ptr.Int32(int32(i64)) } - case "mlDetectionConfig": if err := awsRestjson1_deserializeDocumentMachineLearningDetectionConfig(&sv.MlDetectionConfig, value); err != nil { return err } - case "statisticalThreshold": if err := awsRestjson1_deserializeDocumentStatisticalThreshold(&sv.StatisticalThreshold, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -45193,7 +44525,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.BehaviorName = ptr.String(jtv) } - case "datapointsCollectionPercentage": if value != nil { switch jtv := value.(type) { @@ -45227,7 +44558,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } - case "lastModelRefreshDate": if value != nil { switch jtv := value.(type) { @@ -45243,7 +44573,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } - case "modelStatus": if value != nil { jtv, ok := value.(string) @@ -45252,7 +44581,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.ModelStatus = types.ModelStatus(jtv) } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -45261,7 +44589,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.SecurityProfileName = ptr.String(jtv) } - case "trainingDataCollectionStartDate": if value != nil { switch jtv := value.(type) { @@ -45277,7 +44604,6 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } - default: _, _ = key, value @@ -45358,7 +44684,6 @@ func awsRestjson1_deserializeDocumentBillingGroupMetadata(v **types.BillingGroup } } - default: _, _ = key, value @@ -45432,7 +44757,6 @@ func awsRestjson1_deserializeDocumentBillingGroupProperties(v **types.BillingGro } sv.BillingGroupDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -45476,7 +44800,6 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Count = int32(i64) } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -45485,7 +44808,6 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.KeyValue = ptr.String(jtv) } - default: _, _ = key, value @@ -45559,7 +44881,6 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45568,7 +44889,6 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.CertificateId = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -45584,7 +44904,6 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -45593,7 +44912,6 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.Status = types.CACertificateStatus(jtv) } - default: _, _ = key, value @@ -45633,7 +44951,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.AutoRegistrationStatus = types.AutoRegistrationStatus(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -45642,7 +44959,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45651,7 +44967,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateId = ptr.String(jtv) } - case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -45660,7 +44975,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateMode = types.CertificateMode(jtv) } - case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -45669,7 +44983,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificatePem = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -45685,7 +44998,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } } - case "customerVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45698,7 +45010,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CustomerVersion = ptr.Int32(int32(i64)) } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -45707,7 +45018,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.GenerationId = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -45723,7 +45033,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } } - case "ownedBy": if value != nil { jtv, ok := value.(string) @@ -45732,7 +45041,6 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.OwnedBy = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -45741,12 +45049,10 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.Status = types.CACertificateStatus(jtv) } - case "validity": if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.Validity, value); err != nil { return err } - default: _, _ = key, value @@ -45820,7 +45126,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45829,7 +45134,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateId = ptr.String(jtv) } - case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -45838,7 +45142,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateMode = types.CertificateMode(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -45854,7 +45157,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "status": if value != nil { jtv, ok := value.(string) @@ -45863,7 +45165,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Status = types.CertificateStatus(jtv) } - default: _, _ = key, value @@ -45893,15 +45194,9 @@ func awsRestjson1_deserializeDocumentCertificateConflictException(v **types.Cert sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -45909,15 +45204,11 @@ func awsRestjson1_deserializeDocumentCertificateConflictException(v **types.Cert } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -45952,7 +45243,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CaCertificateId = ptr.String(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -45961,7 +45251,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45970,7 +45259,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateId = ptr.String(jtv) } - case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -45979,7 +45267,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateMode = types.CertificateMode(jtv) } - case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -45988,7 +45275,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificatePem = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -46004,7 +45290,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } } - case "customerVersion": if value != nil { jtv, ok := value.(json.Number) @@ -46017,7 +45302,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CustomerVersion = ptr.Int32(int32(i64)) } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -46026,7 +45310,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.GenerationId = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -46042,7 +45325,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } } - case "ownedBy": if value != nil { jtv, ok := value.(string) @@ -46051,7 +45333,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.OwnedBy = ptr.String(jtv) } - case "previousOwnedBy": if value != nil { jtv, ok := value.(string) @@ -46060,7 +45341,6 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.PreviousOwnedBy = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -46069,17 +45349,14 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.Status = types.CertificateStatus(jtv) } - case "transferData": if err := awsRestjson1_deserializeDocumentTransferData(&sv.TransferData, value); err != nil { return err } - case "validity": if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.Validity, value); err != nil { return err } - default: _, _ = key, value @@ -46189,7 +45466,6 @@ func awsRestjson1_deserializeDocumentCertificateProviderSummary(v **types.Certif } sv.CertificateProviderArn = ptr.String(jtv) } - case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -46198,7 +45474,6 @@ func awsRestjson1_deserializeDocumentCertificateProviderSummary(v **types.Certif } sv.CertificateProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -46262,15 +45537,9 @@ func awsRestjson1_deserializeDocumentCertificateStateException(v **types.Certifi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -46278,15 +45547,11 @@ func awsRestjson1_deserializeDocumentCertificateStateException(v **types.Certifi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -46311,15 +45576,9 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -46327,15 +45586,11 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -46377,7 +45632,6 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa } } - case "notBefore": if value != nil { switch jtv := value.(type) { @@ -46393,7 +45647,6 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa } } - default: _, _ = key, value @@ -46469,7 +45722,6 @@ func awsRestjson1_deserializeDocumentClientCertificateConfig(v **types.ClientCer } sv.ClientCertificateCallbackArn = ptr.String(jtv) } - default: _, _ = key, value @@ -46545,7 +45797,6 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.AlarmName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -46554,7 +45805,6 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.RoleArn = ptr.String(jtv) } - case "stateReason": if value != nil { jtv, ok := value.(string) @@ -46563,7 +45813,6 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.StateReason = ptr.String(jtv) } - case "stateValue": if value != nil { jtv, ok := value.(string) @@ -46572,7 +45821,6 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.StateValue = ptr.String(jtv) } - default: _, _ = key, value @@ -46612,7 +45860,6 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.BatchMode = ptr.Bool(jtv) } - case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -46621,7 +45868,6 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.LogGroupName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -46630,7 +45876,6 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -46670,7 +45915,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricName = ptr.String(jtv) } - case "metricNamespace": if value != nil { jtv, ok := value.(string) @@ -46679,7 +45923,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricNamespace = ptr.String(jtv) } - case "metricTimestamp": if value != nil { jtv, ok := value.(string) @@ -46688,7 +45931,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricTimestamp = ptr.String(jtv) } - case "metricUnit": if value != nil { jtv, ok := value.(string) @@ -46697,7 +45939,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricUnit = ptr.String(jtv) } - case "metricValue": if value != nil { jtv, ok := value.(string) @@ -46706,7 +45947,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricValue = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -46715,7 +45955,6 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -46755,17 +45994,14 @@ func awsRestjson1_deserializeDocumentCodeSigning(v **types.CodeSigning, value in } sv.AwsSignerJobId = ptr.String(jtv) } - case "customCodeSigning": if err := awsRestjson1_deserializeDocumentCustomCodeSigning(&sv.CustomCodeSigning, value); err != nil { return err } - case "startSigningJobParameter": if err := awsRestjson1_deserializeDocumentStartSigningJobParameter(&sv.StartSigningJobParameter, value); err != nil { return err } - default: _, _ = key, value @@ -46805,7 +46041,6 @@ func awsRestjson1_deserializeDocumentCodeSigningCertificateChain(v **types.CodeS } sv.CertificateName = ptr.String(jtv) } - case "inlineDocument": if value != nil { jtv, ok := value.(string) @@ -46814,7 +46049,6 @@ func awsRestjson1_deserializeDocumentCodeSigningCertificateChain(v **types.CodeS } sv.InlineDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -46858,7 +46092,6 @@ func awsRestjson1_deserializeDocumentCodeSigningSignature(v **types.CodeSigningS } sv.InlineDocument = dv } - default: _, _ = key, value @@ -46898,7 +46131,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Enabled = jtv } - default: _, _ = key, value @@ -46928,15 +46160,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -46944,7 +46170,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -46953,15 +46178,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -46986,15 +46207,9 @@ func awsRestjson1_deserializeDocumentConflictingResourceUpdateException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -47002,15 +46217,11 @@ func awsRestjson1_deserializeDocumentConflictingResourceUpdateException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -47041,7 +46252,6 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni if err := awsRestjson1_deserializeDocumentCodeSigningCertificateChain(&sv.CertificateChain, value); err != nil { return err } - case "hashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -47050,12 +46260,10 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni } sv.HashAlgorithm = ptr.String(jtv) } - case "signature": if err := awsRestjson1_deserializeDocumentCodeSigningSignature(&sv.Signature, value); err != nil { return err } - case "signatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -47064,7 +46272,6 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni } sv.SignatureAlgorithm = ptr.String(jtv) } - default: _, _ = key, value @@ -47094,15 +46301,9 @@ func awsRestjson1_deserializeDocumentDeleteConflictException(v **types.DeleteCon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -47110,15 +46311,11 @@ func awsRestjson1_deserializeDocumentDeleteConflictException(v **types.DeleteCon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -47149,12 +46346,10 @@ func awsRestjson1_deserializeDocumentDenied(v **types.Denied, value interface{}) if err := awsRestjson1_deserializeDocumentExplicitDeny(&sv.ExplicitDeny, value); err != nil { return err } - case "implicitDeny": if err := awsRestjson1_deserializeDocumentImplicitDeny(&sv.ImplicitDeny, value); err != nil { return err } - default: _, _ = key, value @@ -47190,7 +46385,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -47302,7 +46496,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ActionName = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -47311,7 +46504,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ErrorCode = ptr.String(jtv) } - case "executionEndDate": if value != nil { switch jtv := value.(type) { @@ -47327,7 +46519,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } } - case "executionStartDate": if value != nil { switch jtv := value.(type) { @@ -47343,7 +46534,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } } - case "message": if value != nil { jtv, ok := value.(string) @@ -47352,7 +46542,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.Message = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -47361,7 +46550,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.Status = types.DetectMitigationActionExecutionStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -47370,7 +46558,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.TaskId = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -47379,7 +46566,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ThingName = ptr.String(jtv) } - case "violationId": if value != nil { jtv, ok := value.(string) @@ -47388,7 +46574,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ViolationId = ptr.String(jtv) } - default: _, _ = key, value @@ -47466,7 +46651,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsExecuted = ptr.Int64(i64) } - case "actionsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -47479,7 +46663,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsFailed = ptr.Int64(i64) } - case "actionsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -47492,7 +46675,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsSkipped = ptr.Int64(i64) } - default: _, _ = key, value @@ -47528,7 +46710,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type if err := awsRestjson1_deserializeDocumentMitigationActionList(&sv.ActionsDefinition, value); err != nil { return err } - case "onlyActiveViolationsIncluded": if value != nil { jtv, ok := value.(bool) @@ -47537,7 +46718,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.OnlyActiveViolationsIncluded = jtv } - case "suppressedAlertsIncluded": if value != nil { jtv, ok := value.(bool) @@ -47546,12 +46726,10 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.SuppressedAlertsIncluded = jtv } - case "target": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(&sv.Target, value); err != nil { return err } - case "taskEndTime": if value != nil { switch jtv := value.(type) { @@ -47567,7 +46745,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -47576,7 +46753,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.TaskId = ptr.String(jtv) } - case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -47592,12 +46768,10 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } } - case "taskStatistics": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -47606,12 +46780,10 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.TaskStatus = types.DetectMitigationActionsTaskStatus(jtv) } - case "violationEventOccurrenceRange": if err := awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(&sv.ViolationEventOccurrenceRange, value); err != nil { return err } - default: _, _ = key, value @@ -47685,7 +46857,6 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(v **types } sv.BehaviorName = ptr.String(jtv) } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -47694,12 +46865,10 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(v **types } sv.SecurityProfileName = ptr.String(jtv) } - case "violationIds": if err := awsRestjson1_deserializeDocumentTargetViolationIdsForDetectMitigationActions(&sv.ViolationIds, value); err != nil { return err } - default: _, _ = key, value @@ -47811,7 +46980,6 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Description = ptr.String(jtv) } - case "example": if value != nil { jtv, ok := value.(string) @@ -47820,7 +46988,6 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Example = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -47829,7 +46996,6 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Key = ptr.String(jtv) } - case "optional": if value != nil { jtv, ok := value.(bool) @@ -47838,7 +47004,6 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Optional = jtv } - case "regex": if value != nil { jtv, ok := value.(string) @@ -47847,7 +47012,6 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -47955,7 +47119,6 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.DomainConfigurationArn = ptr.String(jtv) } - case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -47964,7 +47127,6 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.DomainConfigurationName = ptr.String(jtv) } - case "serviceType": if value != nil { jtv, ok := value.(string) @@ -47973,7 +47135,6 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.ServiceType = types.ServiceType(jtv) } - default: _, _ = key, value @@ -48013,7 +47174,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyField = ptr.String(jtv) } - case "hashKeyType": if value != nil { jtv, ok := value.(string) @@ -48022,7 +47182,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyType = types.DynamoKeyType(jtv) } - case "hashKeyValue": if value != nil { jtv, ok := value.(string) @@ -48031,7 +47190,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyValue = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -48040,7 +47198,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.Operation = ptr.String(jtv) } - case "payloadField": if value != nil { jtv, ok := value.(string) @@ -48049,7 +47206,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.PayloadField = ptr.String(jtv) } - case "rangeKeyField": if value != nil { jtv, ok := value.(string) @@ -48058,7 +47214,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyField = ptr.String(jtv) } - case "rangeKeyType": if value != nil { jtv, ok := value.(string) @@ -48067,7 +47222,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyType = types.DynamoKeyType(jtv) } - case "rangeKeyValue": if value != nil { jtv, ok := value.(string) @@ -48076,7 +47230,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyValue = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48085,7 +47238,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RoleArn = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -48094,7 +47246,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -48130,7 +47281,6 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action if err := awsRestjson1_deserializeDocumentPutItemInput(&sv.PutItem, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48139,7 +47289,6 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -48213,7 +47362,6 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyArn = ptr.String(jtv) } - case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -48222,7 +47370,6 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyDocument = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -48231,7 +47378,6 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -48271,7 +47417,6 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -48280,7 +47425,6 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Id = ptr.String(jtv) } - case "index": if value != nil { jtv, ok := value.(string) @@ -48289,7 +47433,6 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Index = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48298,7 +47441,6 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.RoleArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -48307,7 +47449,6 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -48347,7 +47488,6 @@ func awsRestjson1_deserializeDocumentEnableIoTLoggingParams(v **types.EnableIoTL } sv.LogLevel = types.LogLevel(jtv) } - case "roleArnForLogging": if value != nil { jtv, ok := value.(string) @@ -48356,7 +47496,6 @@ func awsRestjson1_deserializeDocumentEnableIoTLoggingParams(v **types.EnableIoTL } sv.RoleArnForLogging = ptr.String(jtv) } - default: _, _ = key, value @@ -48432,7 +47571,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -48441,7 +47579,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -48512,7 +47649,6 @@ func awsRestjson1_deserializeDocumentExplicitDeny(v **types.ExplicitDeny, value if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -48556,7 +47692,6 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } - case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -48590,12 +47725,10 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia } } - case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -48635,7 +47768,6 @@ func awsRestjson1_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -48644,7 +47776,6 @@ func awsRestjson1_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Type = types.FieldType(jtv) } - default: _, _ = key, value @@ -48714,12 +47845,10 @@ func awsRestjson1_deserializeDocumentFileLocation(v **types.FileLocation, value if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - case "stream": if err := awsRestjson1_deserializeDocumentStream(&sv.Stream, value); err != nil { return err } - default: _, _ = key, value @@ -48795,7 +47924,6 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.BatchMode = ptr.Bool(jtv) } - case "deliveryStreamName": if value != nil { jtv, ok := value.(string) @@ -48804,7 +47932,6 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.DeliveryStreamName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48813,7 +47940,6 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.RoleArn = ptr.String(jtv) } - case "separator": if value != nil { jtv, ok := value.(string) @@ -48822,7 +47948,6 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.Separator = ptr.String(jtv) } - default: _, _ = key, value @@ -48862,7 +47987,6 @@ func awsRestjson1_deserializeDocumentFleetMetricNameAndArn(v **types.FleetMetric } sv.MetricArn = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -48871,7 +47995,6 @@ func awsRestjson1_deserializeDocumentFleetMetricNameAndArn(v **types.FleetMetric } sv.MetricName = ptr.String(jtv) } - default: _, _ = key, value @@ -48979,7 +48102,6 @@ func awsRestjson1_deserializeDocumentGeoLocationTarget(v **types.GeoLocationTarg } sv.Name = ptr.String(jtv) } - case "order": if value != nil { jtv, ok := value.(string) @@ -48988,7 +48110,6 @@ func awsRestjson1_deserializeDocumentGeoLocationTarget(v **types.GeoLocationTarg } sv.Order = types.TargetFieldOrder(jtv) } - default: _, _ = key, value @@ -49028,7 +48149,6 @@ func awsRestjson1_deserializeDocumentGroupNameAndArn(v **types.GroupNameAndArn, } sv.GroupArn = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -49037,7 +48157,6 @@ func awsRestjson1_deserializeDocumentGroupNameAndArn(v **types.GroupNameAndArn, } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -49107,7 +48226,6 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte if err := awsRestjson1_deserializeDocumentHttpAuthorization(&sv.Auth, value); err != nil { return err } - case "confirmationUrl": if value != nil { jtv, ok := value.(string) @@ -49116,12 +48234,10 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte } sv.ConfirmationUrl = ptr.String(jtv) } - case "headers": if err := awsRestjson1_deserializeDocumentHeaderList(&sv.Headers, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -49130,7 +48246,6 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -49170,7 +48285,6 @@ func awsRestjson1_deserializeDocumentHttpActionHeader(v **types.HttpActionHeader } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -49179,7 +48293,6 @@ func awsRestjson1_deserializeDocumentHttpActionHeader(v **types.HttpActionHeader } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -49215,7 +48328,6 @@ func awsRestjson1_deserializeDocumentHttpAuthorization(v **types.HttpAuthorizati if err := awsRestjson1_deserializeDocumentSigV4Authorization(&sv.Sigv4, value); err != nil { return err } - default: _, _ = key, value @@ -49255,7 +48367,6 @@ func awsRestjson1_deserializeDocumentHttpUrlDestinationProperties(v **types.Http } sv.ConfirmationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -49295,7 +48406,6 @@ func awsRestjson1_deserializeDocumentHttpUrlDestinationSummary(v **types.HttpUrl } sv.ConfirmationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -49331,7 +48441,6 @@ func awsRestjson1_deserializeDocumentImplicitDeny(v **types.ImplicitDeny, value if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -49367,12 +48476,10 @@ func awsRestjson1_deserializeDocumentIndexingFilter(v **types.IndexingFilter, va if err := awsRestjson1_deserializeDocumentGeoLocationsFilter(&sv.GeoLocations, value); err != nil { return err } - case "namedShadowNames": if err := awsRestjson1_deserializeDocumentNamedShadowNamesFilter(&sv.NamedShadowNames, value); err != nil { return err } - default: _, _ = key, value @@ -49438,15 +48545,9 @@ func awsRestjson1_deserializeDocumentIndexNotReadyException(v **types.IndexNotRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49454,15 +48555,11 @@ func awsRestjson1_deserializeDocumentIndexNotReadyException(v **types.IndexNotRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49487,15 +48584,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49503,15 +48594,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49536,15 +48623,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49552,15 +48633,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49585,15 +48662,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49601,15 +48672,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49634,15 +48701,9 @@ func awsRestjson1_deserializeDocumentInvalidAggregationException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49650,15 +48711,11 @@ func awsRestjson1_deserializeDocumentInvalidAggregationException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49683,15 +48740,9 @@ func awsRestjson1_deserializeDocumentInvalidQueryException(v **types.InvalidQuer sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49699,15 +48750,11 @@ func awsRestjson1_deserializeDocumentInvalidQueryException(v **types.InvalidQuer } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49732,15 +48779,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49748,15 +48789,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49781,15 +48818,9 @@ func awsRestjson1_deserializeDocumentInvalidResponseException(v **types.InvalidR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49797,15 +48828,11 @@ func awsRestjson1_deserializeDocumentInvalidResponseException(v **types.InvalidR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49830,15 +48857,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49846,15 +48867,11 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49889,7 +48906,6 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.BatchMode = ptr.Bool(jtv) } - case "channelArn": if value != nil { jtv, ok := value.(string) @@ -49898,7 +48914,6 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.ChannelArn = ptr.String(jtv) } - case "channelName": if value != nil { jtv, ok := value.(string) @@ -49907,7 +48922,6 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.ChannelName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -49916,7 +48930,6 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -49956,7 +48969,6 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.BatchMode = ptr.Bool(jtv) } - case "inputName": if value != nil { jtv, ok := value.(string) @@ -49965,7 +48977,6 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.InputName = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -49974,7 +48985,6 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.MessageId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -49983,7 +48993,6 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -50019,7 +49028,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi if err := awsRestjson1_deserializeDocumentPutAssetPropertyValueEntryList(&sv.PutAssetPropertyValueEntries, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -50028,7 +49036,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -50068,7 +49075,6 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerCertificateSerialNumber = ptr.String(jtv) } - case "issuerCertificateSubject": if value != nil { jtv, ok := value.(string) @@ -50077,7 +49083,6 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerCertificateSubject = ptr.String(jtv) } - case "issuerId": if value != nil { jtv, ok := value.(string) @@ -50086,7 +49091,6 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerId = ptr.String(jtv) } - default: _, _ = key, value @@ -50122,7 +49126,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentAbortConfig(&sv.AbortConfig, value); err != nil { return err } - case "comment": if value != nil { jtv, ok := value.(string) @@ -50131,7 +49134,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Comment = ptr.String(jtv) } - case "completedAt": if value != nil { switch jtv := value.(type) { @@ -50147,7 +49149,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -50163,7 +49164,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "description": if value != nil { jtv, ok := value.(string) @@ -50172,17 +49172,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Description = ptr.String(jtv) } - case "destinationPackageVersions": if err := awsRestjson1_deserializeDocumentDestinationPackageVersions(&sv.DestinationPackageVersions, value); err != nil { return err } - case "documentParameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.DocumentParameters, value); err != nil { return err } - case "forceCanceled": if value != nil { jtv, ok := value.(bool) @@ -50191,7 +49188,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ForceCanceled = ptr.Bool(jtv) } - case "isConcurrent": if value != nil { jtv, ok := value.(bool) @@ -50200,7 +49196,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.IsConcurrent = ptr.Bool(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -50209,17 +49204,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobArn = ptr.String(jtv) } - case "jobExecutionsRetryConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(&sv.JobExecutionsRetryConfig, value); err != nil { return err } - case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -50228,12 +49220,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobId = ptr.String(jtv) } - case "jobProcessDetails": if err := awsRestjson1_deserializeDocumentJobProcessDetails(&sv.JobProcessDetails, value); err != nil { return err } - case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -50242,7 +49232,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobTemplateArn = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -50258,7 +49247,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "namespaceId": if value != nil { jtv, ok := value.(string) @@ -50267,12 +49255,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.NamespaceId = ptr.String(jtv) } - case "presignedUrlConfig": if err := awsRestjson1_deserializeDocumentPresignedUrlConfig(&sv.PresignedUrlConfig, value); err != nil { return err } - case "reasonCode": if value != nil { jtv, ok := value.(string) @@ -50281,17 +49267,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ReasonCode = ptr.String(jtv) } - case "scheduledJobRollouts": if err := awsRestjson1_deserializeDocumentScheduledJobRolloutList(&sv.ScheduledJobRollouts, value); err != nil { return err } - case "schedulingConfig": if err := awsRestjson1_deserializeDocumentSchedulingConfig(&sv.SchedulingConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -50300,12 +49283,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } - case "targets": if err := awsRestjson1_deserializeDocumentJobTargets(&sv.Targets, value); err != nil { return err } - case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -50314,12 +49295,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.TargetSelection = types.TargetSelection(jtv) } - case "timeoutConfig": if err := awsRestjson1_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } - default: _, _ = key, value @@ -50363,7 +49342,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ApproximateSecondsBeforeTimedOut = ptr.Int64(i64) } - case "executionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -50376,7 +49354,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ExecutionNumber = ptr.Int64(i64) } - case "forceCanceled": if value != nil { jtv, ok := value.(bool) @@ -50385,7 +49362,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ForceCanceled = ptr.Bool(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -50394,7 +49370,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -50410,7 +49385,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } - case "queuedAt": if value != nil { switch jtv := value.(type) { @@ -50426,7 +49400,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -50442,7 +49415,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } - case "status": if value != nil { jtv, ok := value.(string) @@ -50451,12 +49423,10 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.Status = types.JobExecutionStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentJobExecutionStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -50465,7 +49435,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ThingArn = ptr.String(jtv) } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -50478,7 +49447,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.VersionNumber = i64 } - default: _, _ = key, value @@ -50514,7 +49482,6 @@ func awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(v **types.JobExecu if err := awsRestjson1_deserializeDocumentRetryCriteriaList(&sv.CriteriaList, value); err != nil { return err } - default: _, _ = key, value @@ -50550,7 +49517,6 @@ func awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(v **types.JobExe if err := awsRestjson1_deserializeDocumentExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } - case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -50563,7 +49529,6 @@ func awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(v **types.JobExe } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -50599,7 +49564,6 @@ func awsRestjson1_deserializeDocumentJobExecutionStatusDetails(v **types.JobExec if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.DetailsMap, value); err != nil { return err } - default: _, _ = key, value @@ -50643,7 +49607,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.ExecutionNumber = ptr.Int64(i64) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -50659,7 +49622,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } - case "queuedAt": if value != nil { switch jtv := value.(type) { @@ -50675,7 +49637,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } - case "retryAttempt": if value != nil { jtv, ok := value.(json.Number) @@ -50688,7 +49649,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.RetryAttempt = ptr.Int32(int32(i64)) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -50704,7 +49664,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } - case "status": if value != nil { jtv, ok := value.(string) @@ -50713,7 +49672,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.Status = types.JobExecutionStatus(jtv) } - default: _, _ = key, value @@ -50749,7 +49707,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForJob(v **types.JobExec if err := awsRestjson1_deserializeDocumentJobExecutionSummary(&sv.JobExecutionSummary, value); err != nil { return err } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -50758,7 +49715,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForJob(v **types.JobExec } sv.ThingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -50828,7 +49784,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForThing(v **types.JobEx if err := awsRestjson1_deserializeDocumentJobExecutionSummary(&sv.JobExecutionSummary, value); err != nil { return err } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -50837,7 +49792,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForThing(v **types.JobEx } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -50915,7 +49869,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfCanceledThings = ptr.Int32(int32(i64)) } - case "numberOfFailedThings": if value != nil { jtv, ok := value.(json.Number) @@ -50928,7 +49881,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfFailedThings = ptr.Int32(int32(i64)) } - case "numberOfInProgressThings": if value != nil { jtv, ok := value.(json.Number) @@ -50941,7 +49893,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfInProgressThings = ptr.Int32(int32(i64)) } - case "numberOfQueuedThings": if value != nil { jtv, ok := value.(json.Number) @@ -50954,7 +49905,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfQueuedThings = ptr.Int32(int32(i64)) } - case "numberOfRejectedThings": if value != nil { jtv, ok := value.(json.Number) @@ -50967,7 +49917,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfRejectedThings = ptr.Int32(int32(i64)) } - case "numberOfRemovedThings": if value != nil { jtv, ok := value.(json.Number) @@ -50980,7 +49929,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfRemovedThings = ptr.Int32(int32(i64)) } - case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -50993,7 +49941,6 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } - case "numberOfTimedOutThings": if value != nil { jtv, ok := value.(json.Number) @@ -51006,12 +49953,10 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfTimedOutThings = ptr.Int32(int32(i64)) } - case "processingTargets": if err := awsRestjson1_deserializeDocumentProcessingTargetNameList(&sv.ProcessingTargets, value); err != nil { return err } - default: _, _ = key, value @@ -51058,7 +50003,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -51074,7 +50018,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "isConcurrent": if value != nil { jtv, ok := value.(bool) @@ -51083,7 +50026,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.IsConcurrent = ptr.Bool(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -51092,7 +50034,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -51101,7 +50042,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -51117,7 +50057,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -51126,7 +50065,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } - case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -51135,7 +50073,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TargetSelection = types.TargetSelection(jtv) } - case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -51144,7 +50081,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.ThingGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -51261,7 +50197,6 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } } - case "description": if value != nil { jtv, ok := value.(string) @@ -51270,7 +50205,6 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.Description = ptr.String(jtv) } - case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -51279,7 +50213,6 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.JobTemplateArn = ptr.String(jtv) } - case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -51288,7 +50221,6 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.JobTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -51358,7 +50290,6 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in if err := awsRestjson1_deserializeDocumentClientProperties(&sv.ClientProperties, value); err != nil { return err } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -51367,12 +50298,10 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.DestinationArn = ptr.String(jtv) } - case "headers": if err := awsRestjson1_deserializeDocumentKafkaHeaders(&sv.Headers, value); err != nil { return err } - case "key": if value != nil { jtv, ok := value.(string) @@ -51381,7 +50310,6 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Key = ptr.String(jtv) } - case "partition": if value != nil { jtv, ok := value.(string) @@ -51390,7 +50318,6 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Partition = ptr.String(jtv) } - case "topic": if value != nil { jtv, ok := value.(string) @@ -51399,7 +50326,6 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Topic = ptr.String(jtv) } - default: _, _ = key, value @@ -51439,7 +50365,6 @@ func awsRestjson1_deserializeDocumentKafkaActionHeader(v **types.KafkaActionHead } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -51448,7 +50373,6 @@ func awsRestjson1_deserializeDocumentKafkaActionHeader(v **types.KafkaActionHead } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -51522,7 +50446,6 @@ func awsRestjson1_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.PrivateKey = ptr.String(jtv) } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -51531,7 +50454,6 @@ func awsRestjson1_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.PublicKey = ptr.String(jtv) } - default: _, _ = key, value @@ -51571,7 +50493,6 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.PartitionKey = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -51580,7 +50501,6 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.RoleArn = ptr.String(jtv) } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -51589,7 +50509,6 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -51629,7 +50548,6 @@ func awsRestjson1_deserializeDocumentLambdaAction(v **types.LambdaAction, value } sv.FunctionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -51659,15 +50577,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -51675,15 +50587,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -51718,7 +50626,6 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.DeviceId = ptr.String(jtv) } - case "latitude": if value != nil { jtv, ok := value.(string) @@ -51727,7 +50634,6 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.Latitude = ptr.String(jtv) } - case "longitude": if value != nil { jtv, ok := value.(string) @@ -51736,7 +50642,6 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.Longitude = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -51745,12 +50650,10 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.RoleArn = ptr.String(jtv) } - case "timestamp": if err := awsRestjson1_deserializeDocumentLocationTimestamp(&sv.Timestamp, value); err != nil { return err } - case "trackerName": if value != nil { jtv, ok := value.(string) @@ -51759,7 +50662,6 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.TrackerName = ptr.String(jtv) } - default: _, _ = key, value @@ -51799,7 +50701,6 @@ func awsRestjson1_deserializeDocumentLocationTimestamp(v **types.LocationTimesta } sv.Unit = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -51808,7 +50709,6 @@ func awsRestjson1_deserializeDocumentLocationTimestamp(v **types.LocationTimesta } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -51848,7 +50748,6 @@ func awsRestjson1_deserializeDocumentLogTarget(v **types.LogTarget, value interf } sv.TargetName = ptr.String(jtv) } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -51857,7 +50756,6 @@ func awsRestjson1_deserializeDocumentLogTarget(v **types.LogTarget, value interf } sv.TargetType = types.LogTargetType(jtv) } - default: _, _ = key, value @@ -51897,12 +50795,10 @@ func awsRestjson1_deserializeDocumentLogTargetConfiguration(v **types.LogTargetC } sv.LogLevel = types.LogLevel(jtv) } - case "logTarget": if err := awsRestjson1_deserializeDocumentLogTarget(&sv.LogTarget, value); err != nil { return err } - default: _, _ = key, value @@ -51976,7 +50872,6 @@ func awsRestjson1_deserializeDocumentMachineLearningDetectionConfig(v **types.Ma } sv.ConfidenceLevel = types.ConfidenceLevel(jtv) } - default: _, _ = key, value @@ -52020,7 +50915,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.DurationInMinutes = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -52029,7 +50923,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -52093,15 +50986,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyException(v **types.Malforme sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -52109,15 +50996,11 @@ func awsRestjson1_deserializeDocumentMalformedPolicyException(v **types.Malforme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -52186,12 +51069,10 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.Description = ptr.String(jtv) } - case "environments": if err := awsRestjson1_deserializeDocumentEnvironments(&sv.Environments, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -52200,7 +51081,6 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateArn = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -52209,7 +51089,6 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateName = ptr.String(jtv) } - case "templateVersion": if value != nil { jtv, ok := value.(string) @@ -52218,7 +51097,6 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -52265,12 +51143,10 @@ func awsRestjson1_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } } - case "value": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -52344,7 +51220,6 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.DimensionName = ptr.String(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -52353,7 +51228,6 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Operator = types.DimensionValueOperator(jtv) } - default: _, _ = key, value @@ -52429,7 +51303,6 @@ func awsRestjson1_deserializeDocumentMetricsExportConfig(v **types.MetricsExport } sv.MqttTopic = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -52438,7 +51311,6 @@ func awsRestjson1_deserializeDocumentMetricsExportConfig(v **types.MetricsExport } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -52478,7 +51350,6 @@ func awsRestjson1_deserializeDocumentMetricToRetain(v **types.MetricToRetain, va } sv.ExportMetric = ptr.Bool(jtv) } - case "metric": if value != nil { jtv, ok := value.(string) @@ -52487,12 +51358,10 @@ func awsRestjson1_deserializeDocumentMetricToRetain(v **types.MetricToRetain, va } sv.Metric = ptr.String(jtv) } - case "metricDimension": if err := awsRestjson1_deserializeDocumentMetricDimension(&sv.MetricDimension, value); err != nil { return err } - default: _, _ = key, value @@ -52528,7 +51397,6 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in if err := awsRestjson1_deserializeDocumentCidrs(&sv.Cidrs, value); err != nil { return err } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -52541,7 +51409,6 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Count = ptr.Int64(i64) } - case "number": if value != nil { switch jtv := value.(type) { @@ -52575,22 +51442,18 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in } } - case "numbers": if err := awsRestjson1_deserializeDocumentNumberList(&sv.Numbers, value); err != nil { return err } - case "ports": if err := awsRestjson1_deserializeDocumentPorts(&sv.Ports, value); err != nil { return err } - case "strings": if err := awsRestjson1_deserializeDocumentStringList(&sv.Strings, value); err != nil { return err } - default: _, _ = key, value @@ -52662,7 +51525,6 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction if err := awsRestjson1_deserializeDocumentMitigationActionParams(&sv.ActionParams, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -52671,7 +51533,6 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -52680,7 +51541,6 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -52689,7 +51549,6 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -52729,7 +51588,6 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } sv.ActionArn = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -52738,7 +51596,6 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } sv.ActionName = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -52754,7 +51611,6 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } } - default: _, _ = key, value @@ -52894,32 +51750,26 @@ func awsRestjson1_deserializeDocumentMitigationActionParams(v **types.Mitigation if err := awsRestjson1_deserializeDocumentAddThingsToThingGroupParams(&sv.AddThingsToThingGroupParams, value); err != nil { return err } - case "enableIoTLoggingParams": if err := awsRestjson1_deserializeDocumentEnableIoTLoggingParams(&sv.EnableIoTLoggingParams, value); err != nil { return err } - case "publishFindingToSnsParams": if err := awsRestjson1_deserializeDocumentPublishFindingToSnsParams(&sv.PublishFindingToSnsParams, value); err != nil { return err } - case "replaceDefaultPolicyVersionParams": if err := awsRestjson1_deserializeDocumentReplaceDefaultPolicyVersionParams(&sv.ReplaceDefaultPolicyVersionParams, value); err != nil { return err } - case "updateCACertificateParams": if err := awsRestjson1_deserializeDocumentUpdateCACertificateParams(&sv.UpdateCACertificateParams, value); err != nil { return err } - case "updateDeviceCertificateParams": if err := awsRestjson1_deserializeDocumentUpdateDeviceCertificateParams(&sv.UpdateDeviceCertificateParams, value); err != nil { return err } - default: _, _ = key, value @@ -52959,7 +51809,6 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.ContentType = ptr.String(jtv) } - case "correlationData": if value != nil { jtv, ok := value.(string) @@ -52968,7 +51817,6 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.CorrelationData = ptr.String(jtv) } - case "messageExpiry": if value != nil { jtv, ok := value.(string) @@ -52977,7 +51825,6 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.MessageExpiry = ptr.String(jtv) } - case "payloadFormatIndicator": if value != nil { jtv, ok := value.(string) @@ -52986,7 +51833,6 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.PayloadFormatIndicator = ptr.String(jtv) } - case "responseTopic": if value != nil { jtv, ok := value.(string) @@ -52995,12 +51841,10 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.ResponseTopic = ptr.String(jtv) } - case "userProperties": if err := awsRestjson1_deserializeDocumentUserProperties(&sv.UserProperties, value); err != nil { return err } - default: _, _ = key, value @@ -53072,12 +51916,10 @@ func awsRestjson1_deserializeDocumentNonCompliantResource(v **types.NonCompliant if err := awsRestjson1_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } - case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -53086,7 +51928,6 @@ func awsRestjson1_deserializeDocumentNonCompliantResource(v **types.NonCompliant } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -53116,15 +51957,9 @@ func awsRestjson1_deserializeDocumentNotConfiguredException(v **types.NotConfigu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -53132,15 +51967,11 @@ func awsRestjson1_deserializeDocumentNotConfiguredException(v **types.NotConfigu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -53236,7 +52067,6 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -53245,7 +52075,6 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Id = ptr.String(jtv) } - case "index": if value != nil { jtv, ok := value.(string) @@ -53254,7 +52083,6 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Index = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -53263,7 +52091,6 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.RoleArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -53272,7 +52099,6 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53308,17 +52134,14 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu if err := awsRestjson1_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } - case "codeSigning": if err := awsRestjson1_deserializeDocumentCodeSigning(&sv.CodeSigning, value); err != nil { return err } - case "fileLocation": if err := awsRestjson1_deserializeDocumentFileLocation(&sv.FileLocation, value); err != nil { return err } - case "fileName": if value != nil { jtv, ok := value.(string) @@ -53327,7 +52150,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileName = ptr.String(jtv) } - case "fileType": if value != nil { jtv, ok := value.(json.Number) @@ -53340,7 +52162,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileType = ptr.Int32(int32(i64)) } - case "fileVersion": if value != nil { jtv, ok := value.(string) @@ -53349,7 +52170,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -53419,7 +52239,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu if err := awsRestjson1_deserializeDocumentAdditionalParameterMap(&sv.AdditionalParameters, value); err != nil { return err } - case "awsIotJobArn": if value != nil { jtv, ok := value.(string) @@ -53428,7 +52247,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.AwsIotJobArn = ptr.String(jtv) } - case "awsIotJobId": if value != nil { jtv, ok := value.(string) @@ -53437,17 +52255,14 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.AwsIotJobId = ptr.String(jtv) } - case "awsJobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(&sv.AwsJobExecutionsRolloutConfig, value); err != nil { return err } - case "awsJobPresignedUrlConfig": if err := awsRestjson1_deserializeDocumentAwsJobPresignedUrlConfig(&sv.AwsJobPresignedUrlConfig, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -53463,7 +52278,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -53472,12 +52286,10 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.Description = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -53493,7 +52305,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } } - case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -53502,12 +52313,10 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateArn = ptr.String(jtv) } - case "otaUpdateFiles": if err := awsRestjson1_deserializeDocumentOTAUpdateFiles(&sv.OtaUpdateFiles, value); err != nil { return err } - case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -53516,7 +52325,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateId = ptr.String(jtv) } - case "otaUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -53525,17 +52333,14 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateStatus = types.OTAUpdateStatus(jtv) } - case "protocols": if err := awsRestjson1_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -53544,7 +52349,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.TargetSelection = types.TargetSelection(jtv) } - default: _, _ = key, value @@ -53625,7 +52429,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } } - case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -53634,7 +52437,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } sv.OtaUpdateArn = ptr.String(jtv) } - case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -53643,7 +52445,6 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } sv.OtaUpdateId = ptr.String(jtv) } - default: _, _ = key, value @@ -53683,7 +52484,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.CertificateArn = ptr.String(jtv) } - case "certificateId": if value != nil { jtv, ok := value.(string) @@ -53692,7 +52492,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.CertificateId = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -53708,7 +52507,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } } - case "transferDate": if value != nil { switch jtv := value.(type) { @@ -53724,7 +52522,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } } - case "transferMessage": if value != nil { jtv, ok := value.(string) @@ -53733,7 +52530,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.TransferMessage = ptr.String(jtv) } - case "transferredTo": if value != nil { jtv, ok := value.(string) @@ -53742,7 +52538,6 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.TransferredTo = ptr.String(jtv) } - default: _, _ = key, value @@ -53823,7 +52618,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } } - case "defaultVersionName": if value != nil { jtv, ok := value.(string) @@ -53832,7 +52626,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.DefaultVersionName = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -53848,7 +52641,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -53857,7 +52649,6 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.PackageName = ptr.String(jtv) } - default: _, _ = key, value @@ -53927,7 +52718,6 @@ func awsRestjson1_deserializeDocumentPackageVersionArtifact(v **types.PackageVer if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -53974,7 +52764,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -53990,7 +52779,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -53999,7 +52787,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.PackageName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -54008,7 +52795,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Status = types.PackageVersionStatus(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -54017,7 +52803,6 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -54186,7 +52971,6 @@ func awsRestjson1_deserializeDocumentPercentPair(v **types.PercentPair, value in } } - case "value": if value != nil { switch jtv := value.(type) { @@ -54220,7 +53004,6 @@ func awsRestjson1_deserializeDocumentPercentPair(v **types.PercentPair, value in } } - default: _, _ = key, value @@ -54294,7 +53077,6 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyArn = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -54303,7 +53085,6 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -54422,7 +53203,6 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } } - case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -54431,7 +53211,6 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } sv.IsDefaultVersion = jtv } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -54440,7 +53219,6 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -54480,7 +53258,6 @@ func awsRestjson1_deserializeDocumentPolicyVersionIdentifier(v **types.PolicyVer } sv.PolicyName = ptr.String(jtv) } - case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -54489,7 +53266,6 @@ func awsRestjson1_deserializeDocumentPolicyVersionIdentifier(v **types.PolicyVer } sv.PolicyVersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -54607,7 +53383,6 @@ func awsRestjson1_deserializeDocumentPresignedUrlConfig(v **types.PresignedUrlCo } sv.ExpiresInSec = ptr.Int64(i64) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -54616,7 +53391,6 @@ func awsRestjson1_deserializeDocumentPresignedUrlConfig(v **types.PresignedUrlCo } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -54764,7 +53538,6 @@ func awsRestjson1_deserializeDocumentProvisioningHook(v **types.ProvisioningHook } sv.PayloadVersion = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -54773,7 +53546,6 @@ func awsRestjson1_deserializeDocumentProvisioningHook(v **types.ProvisioningHook } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -54854,7 +53626,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -54863,7 +53634,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Description = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -54872,7 +53642,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Enabled = ptr.Bool(jtv) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -54888,7 +53657,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -54897,7 +53665,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.TemplateArn = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -54906,7 +53673,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.TemplateName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -54915,7 +53681,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Type = types.TemplateType(jtv) } - default: _, _ = key, value @@ -54996,7 +53761,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } } - case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -55005,7 +53769,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } sv.IsDefaultVersion = jtv } - case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -55018,7 +53781,6 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } sv.VersionId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55094,7 +53856,6 @@ func awsRestjson1_deserializeDocumentPublishFindingToSnsParams(v **types.Publish } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -55134,7 +53895,6 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.AssetId = ptr.String(jtv) } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -55143,7 +53903,6 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.EntryId = ptr.String(jtv) } - case "propertyAlias": if value != nil { jtv, ok := value.(string) @@ -55152,7 +53911,6 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.PropertyAlias = ptr.String(jtv) } - case "propertyId": if value != nil { jtv, ok := value.(string) @@ -55161,12 +53919,10 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.PropertyId = ptr.String(jtv) } - case "propertyValues": if err := awsRestjson1_deserializeDocumentAssetPropertyValueList(&sv.PropertyValues, value); err != nil { return err } - default: _, _ = key, value @@ -55240,7 +53996,6 @@ func awsRestjson1_deserializeDocumentPutItemInput(v **types.PutItemInput, value } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -55284,7 +54039,6 @@ func awsRestjson1_deserializeDocumentRateIncreaseCriteria(v **types.RateIncrease } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } - case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -55297,7 +54051,6 @@ func awsRestjson1_deserializeDocumentRateIncreaseCriteria(v **types.RateIncrease } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55363,15 +54116,9 @@ func awsRestjson1_deserializeDocumentRegistrationCodeValidationException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -55379,15 +54126,11 @@ func awsRestjson1_deserializeDocumentRegistrationCodeValidationException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -55422,7 +54165,6 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.RoleArn = ptr.String(jtv) } - case "templateBody": if value != nil { jtv, ok := value.(string) @@ -55431,7 +54173,6 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.TemplateBody = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -55440,7 +54181,6 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -55476,12 +54216,10 @@ func awsRestjson1_deserializeDocumentRelatedResource(v **types.RelatedResource, if err := awsRestjson1_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } - case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -55490,7 +54228,6 @@ func awsRestjson1_deserializeDocumentRelatedResource(v **types.RelatedResource, } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -55564,7 +54301,6 @@ func awsRestjson1_deserializeDocumentReplaceDefaultPolicyVersionParams(v **types } sv.TemplateName = types.PolicyTemplateName(jtv) } - default: _, _ = key, value @@ -55600,7 +54336,6 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, if err := awsRestjson1_deserializeDocumentMqttHeaders(&sv.Headers, value); err != nil { return err } - case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -55613,7 +54348,6 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.Qos = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -55622,7 +54356,6 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.RoleArn = ptr.String(jtv) } - case "topic": if value != nil { jtv, ok := value.(string) @@ -55631,7 +54364,6 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.Topic = ptr.String(jtv) } - default: _, _ = key, value @@ -55661,15 +54393,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -55677,7 +54403,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -55686,7 +54411,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -55695,15 +54419,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -55810,7 +54530,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.Account = ptr.String(jtv) } - case "caCertificateId": if value != nil { jtv, ok := value.(string) @@ -55819,7 +54538,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.CaCertificateId = ptr.String(jtv) } - case "clientId": if value != nil { jtv, ok := value.(string) @@ -55828,7 +54546,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ClientId = ptr.String(jtv) } - case "cognitoIdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -55837,7 +54554,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.CognitoIdentityPoolId = ptr.String(jtv) } - case "deviceCertificateArn": if value != nil { jtv, ok := value.(string) @@ -55846,7 +54562,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.DeviceCertificateArn = ptr.String(jtv) } - case "deviceCertificateId": if value != nil { jtv, ok := value.(string) @@ -55855,7 +54570,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.DeviceCertificateId = ptr.String(jtv) } - case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -55864,17 +54578,14 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.IamRoleArn = ptr.String(jtv) } - case "issuerCertificateIdentifier": if err := awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(&sv.IssuerCertificateIdentifier, value); err != nil { return err } - case "policyVersionIdentifier": if err := awsRestjson1_deserializeDocumentPolicyVersionIdentifier(&sv.PolicyVersionIdentifier, value); err != nil { return err } - case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -55883,7 +54594,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.RoleAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -55913,15 +54623,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -55929,15 +54633,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -55962,15 +54662,9 @@ func awsRestjson1_deserializeDocumentResourceRegistrationFailureException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -55978,15 +54672,11 @@ func awsRestjson1_deserializeDocumentResourceRegistrationFailureException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -56057,7 +54747,6 @@ func awsRestjson1_deserializeDocumentRetryCriteria(v **types.RetryCriteria, valu } sv.FailureType = types.RetryableFailureType(jtv) } - case "numberOfRetries": if value != nil { jtv, ok := value.(json.Number) @@ -56070,7 +54759,6 @@ func awsRestjson1_deserializeDocumentRetryCriteria(v **types.RetryCriteria, valu } sv.NumberOfRetries = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -56151,7 +54839,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } } - case "credentialDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -56164,7 +54851,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.CredentialDurationSeconds = ptr.Int32(int32(i64)) } - case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -56180,7 +54866,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } } - case "owner": if value != nil { jtv, ok := value.(string) @@ -56189,7 +54874,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.Owner = ptr.String(jtv) } - case "roleAlias": if value != nil { jtv, ok := value.(string) @@ -56198,7 +54882,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleAlias = ptr.String(jtv) } - case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -56207,7 +54890,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleAliasArn = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56216,7 +54898,6 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -56292,7 +54973,6 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.BucketName = ptr.String(jtv) } - case "cannedAcl": if value != nil { jtv, ok := value.(string) @@ -56301,7 +54981,6 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.CannedAcl = types.CannedAccessControlList(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -56310,7 +54989,6 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.Key = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56319,7 +54997,6 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -56359,7 +55036,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -56368,7 +55044,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -56444,7 +55119,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -56453,7 +55127,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -56462,7 +55135,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -56502,7 +55174,6 @@ func awsRestjson1_deserializeDocumentSalesforceAction(v **types.SalesforceAction } sv.Token = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -56511,7 +55182,6 @@ func awsRestjson1_deserializeDocumentSalesforceAction(v **types.SalesforceAction } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -56547,7 +55217,6 @@ func awsRestjson1_deserializeDocumentSbom(v **types.Sbom, value interface{}) err if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -56587,7 +55256,6 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ErrorCode = types.SbomValidationErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -56596,7 +55264,6 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ErrorMessage = ptr.String(jtv) } - case "fileName": if value != nil { jtv, ok := value.(string) @@ -56605,7 +55272,6 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.FileName = ptr.String(jtv) } - case "validationResult": if value != nil { jtv, ok := value.(string) @@ -56614,7 +55280,6 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ValidationResult = types.SbomValidationResult(jtv) } - default: _, _ = key, value @@ -56688,7 +55353,6 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.DayOfMonth = ptr.String(jtv) } - case "dayOfWeek": if value != nil { jtv, ok := value.(string) @@ -56697,7 +55361,6 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.DayOfWeek = types.DayOfWeek(jtv) } - case "frequency": if value != nil { jtv, ok := value.(string) @@ -56706,7 +55369,6 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.Frequency = types.AuditFrequency(jtv) } - case "scheduledAuditArn": if value != nil { jtv, ok := value.(string) @@ -56715,7 +55377,6 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.ScheduledAuditArn = ptr.String(jtv) } - case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -56724,7 +55385,6 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.ScheduledAuditName = ptr.String(jtv) } - default: _, _ = key, value @@ -56798,7 +55458,6 @@ func awsRestjson1_deserializeDocumentScheduledJobRollout(v **types.ScheduledJobR } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -56872,7 +55531,6 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.EndBehavior = types.JobEndBehavior(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -56881,12 +55539,10 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.EndTime = ptr.String(jtv) } - case "maintenanceWindows": if err := awsRestjson1_deserializeDocumentMaintenanceWindows(&sv.MaintenanceWindows, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -56895,7 +55551,6 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -57007,7 +55662,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileIdentifier(v **types.Securit } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -57016,7 +55670,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileIdentifier(v **types.Securit } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -57090,7 +55743,6 @@ func awsRestjson1_deserializeDocumentSecurityProfileTarget(v **types.SecurityPro } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -57126,12 +55778,10 @@ func awsRestjson1_deserializeDocumentSecurityProfileTargetMapping(v **types.Secu if err := awsRestjson1_deserializeDocumentSecurityProfileIdentifier(&sv.SecurityProfileIdentifier, value); err != nil { return err } - case "target": if err := awsRestjson1_deserializeDocumentSecurityProfileTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -57239,7 +55889,6 @@ func awsRestjson1_deserializeDocumentServerCertificateConfig(v **types.ServerCer } sv.EnableOCSPCheck = ptr.Bool(jtv) } - default: _, _ = key, value @@ -57313,7 +55962,6 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateArn = ptr.String(jtv) } - case "serverCertificateStatus": if value != nil { jtv, ok := value.(string) @@ -57322,7 +55970,6 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateStatus = types.ServerCertificateStatus(jtv) } - case "serverCertificateStatusDetail": if value != nil { jtv, ok := value.(string) @@ -57331,7 +55978,6 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateStatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -57361,15 +56007,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -57377,15 +56017,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -57410,15 +56046,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -57426,15 +56056,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -57469,7 +56095,6 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.CertificateArn = ptr.String(jtv) } - case "certificatePathOnDevice": if value != nil { jtv, ok := value.(string) @@ -57478,7 +56103,6 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.CertificatePathOnDevice = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -57487,7 +56111,6 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.Platform = ptr.String(jtv) } - default: _, _ = key, value @@ -57527,7 +56150,6 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.RoleArn = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -57536,7 +56158,6 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.ServiceName = ptr.String(jtv) } - case "signingRegion": if value != nil { jtv, ok := value.(string) @@ -57545,7 +56166,6 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.SigningRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -57585,7 +56205,6 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.MessageFormat = types.MessageFormat(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -57594,7 +56213,6 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.RoleArn = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -57603,7 +56221,6 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57633,15 +56250,9 @@ func awsRestjson1_deserializeDocumentSqlParseException(v **types.SqlParseExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -57649,15 +56260,11 @@ func awsRestjson1_deserializeDocumentSqlParseException(v **types.SqlParseExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -57692,7 +56299,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.QueueUrl = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -57701,7 +56307,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.RoleArn = ptr.String(jtv) } - case "useBase64": if value != nil { jtv, ok := value.(bool) @@ -57710,7 +56315,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.UseBase64 = ptr.Bool(jtv) } - default: _, _ = key, value @@ -57746,7 +56350,6 @@ func awsRestjson1_deserializeDocumentStartSigningJobParameter(v **types.StartSig if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "signingProfileName": if value != nil { jtv, ok := value.(string) @@ -57755,12 +56358,10 @@ func awsRestjson1_deserializeDocumentStartSigningJobParameter(v **types.StartSig } sv.SigningProfileName = ptr.String(jtv) } - case "signingProfileParameter": if err := awsRestjson1_deserializeDocumentSigningProfileParameter(&sv.SigningProfileParameter, value); err != nil { return err } - default: _, _ = key, value @@ -57800,7 +56401,6 @@ func awsRestjson1_deserializeDocumentStatisticalThreshold(v **types.StatisticalT } sv.Statistic = ptr.String(jtv) } - default: _, _ = key, value @@ -57865,7 +56465,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -57878,7 +56477,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = int32(i64) } - case "maximum": if value != nil { switch jtv := value.(type) { @@ -57912,7 +56510,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "minimum": if value != nil { switch jtv := value.(type) { @@ -57946,7 +56543,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "stdDeviation": if value != nil { switch jtv := value.(type) { @@ -57980,7 +56576,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "sum": if value != nil { switch jtv := value.(type) { @@ -58014,7 +56609,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "sumOfSquares": if value != nil { switch jtv := value.(type) { @@ -58048,7 +56642,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "variance": if value != nil { switch jtv := value.(type) { @@ -58082,7 +56675,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - default: _, _ = key, value @@ -58122,7 +56714,6 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.ExecutionNamePrefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -58131,7 +56722,6 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.RoleArn = ptr.String(jtv) } - case "stateMachineName": if value != nil { jtv, ok := value.(string) @@ -58140,7 +56730,6 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.StateMachineName = ptr.String(jtv) } - default: _, _ = key, value @@ -58184,7 +56773,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.FileId = ptr.Int32(int32(i64)) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -58193,7 +56781,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -58237,12 +56824,10 @@ func awsRestjson1_deserializeDocumentStreamFile(v **types.StreamFile, value inte } sv.FileId = ptr.Int32(int32(i64)) } - case "s3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -58323,7 +56908,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -58332,12 +56916,10 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Description = ptr.String(jtv) } - case "files": if err := awsRestjson1_deserializeDocumentStreamFiles(&sv.Files, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -58353,7 +56935,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -58362,7 +56943,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.RoleArn = ptr.String(jtv) } - case "streamArn": if value != nil { jtv, ok := value.(string) @@ -58371,7 +56951,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamArn = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -58380,7 +56959,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamId = ptr.String(jtv) } - case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -58393,7 +56971,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58467,7 +57044,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.Description = ptr.String(jtv) } - case "streamArn": if value != nil { jtv, ok := value.(string) @@ -58476,7 +57052,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamArn = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -58485,7 +57060,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamId = ptr.String(jtv) } - case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -58498,7 +57072,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58646,7 +57219,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -58655,7 +57227,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -58827,15 +57398,9 @@ func awsRestjson1_deserializeDocumentTaskAlreadyExistsException(v **types.TaskAl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -58843,15 +57408,11 @@ func awsRestjson1_deserializeDocumentTaskAlreadyExistsException(v **types.TaskAl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58926,7 +57487,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.CanceledChecks = ptr.Int32(int32(i64)) } - case "compliantChecks": if value != nil { jtv, ok := value.(json.Number) @@ -58939,7 +57499,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.CompliantChecks = ptr.Int32(int32(i64)) } - case "failedChecks": if value != nil { jtv, ok := value.(json.Number) @@ -58952,7 +57511,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.FailedChecks = ptr.Int32(int32(i64)) } - case "inProgressChecks": if value != nil { jtv, ok := value.(json.Number) @@ -58965,7 +57523,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.InProgressChecks = ptr.Int32(int32(i64)) } - case "nonCompliantChecks": if value != nil { jtv, ok := value.(json.Number) @@ -58978,7 +57535,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.NonCompliantChecks = ptr.Int32(int32(i64)) } - case "totalChecks": if value != nil { jtv, ok := value.(json.Number) @@ -58991,7 +57547,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.TotalChecks = ptr.Int32(int32(i64)) } - case "waitingForDataCollectionChecks": if value != nil { jtv, ok := value.(json.Number) @@ -59004,7 +57559,6 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.WaitingForDataCollectionChecks = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -59048,7 +57602,6 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.CanceledFindingsCount = ptr.Int64(i64) } - case "failedFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -59061,7 +57614,6 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.FailedFindingsCount = ptr.Int64(i64) } - case "skippedFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -59074,7 +57626,6 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.SkippedFindingsCount = ptr.Int64(i64) } - case "succeededFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -59087,7 +57638,6 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.SucceededFindingsCount = ptr.Int64(i64) } - case "totalFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -59100,7 +57650,6 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.TotalFindingsCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -59136,7 +57685,6 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -59145,7 +57693,6 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingArn = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -59154,7 +57701,6 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingName = ptr.String(jtv) } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -59163,7 +57709,6 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingTypeName = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -59176,7 +57721,6 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.Version = i64 } - default: _, _ = key, value @@ -59250,7 +57794,6 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.Connected = ptr.Bool(jtv) } - case "disconnectReason": if value != nil { jtv, ok := value.(string) @@ -59259,7 +57802,6 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.DisconnectReason = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -59272,7 +57814,6 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.Timestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -59308,12 +57849,10 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "connectivity": if err := awsRestjson1_deserializeDocumentThingConnectivity(&sv.Connectivity, value); err != nil { return err } - case "deviceDefender": if value != nil { jtv, ok := value.(string) @@ -59322,7 +57861,6 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.DeviceDefender = ptr.String(jtv) } - case "shadow": if value != nil { jtv, ok := value.(string) @@ -59331,12 +57869,10 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.Shadow = ptr.String(jtv) } - case "thingGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNameList(&sv.ThingGroupNames, value); err != nil { return err } - case "thingId": if value != nil { jtv, ok := value.(string) @@ -59345,7 +57881,6 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingId = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -59354,7 +57889,6 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingName = ptr.String(jtv) } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -59363,7 +57897,6 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -59433,12 +57966,10 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "parentGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNameList(&sv.ParentGroupNames, value); err != nil { return err } - case "thingGroupDescription": if value != nil { jtv, ok := value.(string) @@ -59447,7 +57978,6 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupDescription = ptr.String(jtv) } - case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -59456,7 +57986,6 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupId = ptr.String(jtv) } - case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -59465,7 +57994,6 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -59535,12 +58063,10 @@ func awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(v **types.T if err := awsRestjson1_deserializeDocumentFields(&sv.CustomFields, value); err != nil { return err } - case "managedFields": if err := awsRestjson1_deserializeDocumentFields(&sv.ManagedFields, value); err != nil { return err } - case "thingGroupIndexingMode": if value != nil { jtv, ok := value.(string) @@ -59549,7 +58075,6 @@ func awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(v **types.T } sv.ThingGroupIndexingMode = types.ThingGroupIndexingMode(jtv) } - default: _, _ = key, value @@ -59596,7 +58121,6 @@ func awsRestjson1_deserializeDocumentThingGroupMetadata(v **types.ThingGroupMeta } } - case "parentGroupName": if value != nil { jtv, ok := value.(string) @@ -59605,12 +58129,10 @@ func awsRestjson1_deserializeDocumentThingGroupMetadata(v **types.ThingGroupMeta } sv.ParentGroupName = ptr.String(jtv) } - case "rootToParentThingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.RootToParentThingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -59752,7 +58274,6 @@ func awsRestjson1_deserializeDocumentThingGroupProperties(v **types.ThingGroupPr if err := awsRestjson1_deserializeDocumentAttributePayload(&sv.AttributePayload, value); err != nil { return err } - case "thingGroupDescription": if value != nil { jtv, ok := value.(string) @@ -59761,7 +58282,6 @@ func awsRestjson1_deserializeDocumentThingGroupProperties(v **types.ThingGroupPr } sv.ThingGroupDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -59797,7 +58317,6 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI if err := awsRestjson1_deserializeDocumentFields(&sv.CustomFields, value); err != nil { return err } - case "deviceDefenderIndexingMode": if value != nil { jtv, ok := value.(string) @@ -59806,17 +58325,14 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.DeviceDefenderIndexingMode = types.DeviceDefenderIndexingMode(jtv) } - case "filter": if err := awsRestjson1_deserializeDocumentIndexingFilter(&sv.Filter, value); err != nil { return err } - case "managedFields": if err := awsRestjson1_deserializeDocumentFields(&sv.ManagedFields, value); err != nil { return err } - case "namedShadowIndexingMode": if value != nil { jtv, ok := value.(string) @@ -59825,7 +58341,6 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.NamedShadowIndexingMode = types.NamedShadowIndexingMode(jtv) } - case "thingConnectivityIndexingMode": if value != nil { jtv, ok := value.(string) @@ -59834,7 +58349,6 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.ThingConnectivityIndexingMode = types.ThingConnectivityIndexingMode(jtv) } - case "thingIndexingMode": if value != nil { jtv, ok := value.(string) @@ -59843,7 +58357,6 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.ThingIndexingMode = types.ThingIndexingMode(jtv) } - default: _, _ = key, value @@ -59919,12 +58432,10 @@ func awsRestjson1_deserializeDocumentThingTypeDefinition(v **types.ThingTypeDefi } sv.ThingTypeArn = ptr.String(jtv) } - case "thingTypeMetadata": if err := awsRestjson1_deserializeDocumentThingTypeMetadata(&sv.ThingTypeMetadata, value); err != nil { return err } - case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -59933,12 +58444,10 @@ func awsRestjson1_deserializeDocumentThingTypeDefinition(v **types.ThingTypeDefi } sv.ThingTypeName = ptr.String(jtv) } - case "thingTypeProperties": if err := awsRestjson1_deserializeDocumentThingTypeProperties(&sv.ThingTypeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -60019,7 +58528,6 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } } - case "deprecated": if value != nil { jtv, ok := value.(bool) @@ -60028,7 +58536,6 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } sv.Deprecated = jtv } - case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -60044,7 +58551,6 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } } - default: _, _ = key, value @@ -60080,7 +58586,6 @@ func awsRestjson1_deserializeDocumentThingTypeProperties(v **types.ThingTypeProp if err := awsRestjson1_deserializeDocumentSearchableAttributes(&sv.SearchableAttributes, value); err != nil { return err } - case "thingTypeDescription": if value != nil { jtv, ok := value.(string) @@ -60089,7 +58594,6 @@ func awsRestjson1_deserializeDocumentThingTypeProperties(v **types.ThingTypeProp } sv.ThingTypeDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -60119,15 +58623,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -60135,15 +58633,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -60182,7 +58676,6 @@ func awsRestjson1_deserializeDocumentTimeoutConfig(v **types.TimeoutConfig, valu } sv.InProgressTimeoutInMinutes = ptr.Int64(i64) } - default: _, _ = key, value @@ -60222,12 +58715,10 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.DatabaseName = ptr.String(jtv) } - case "dimensions": if err := awsRestjson1_deserializeDocumentTimestreamDimensionList(&sv.Dimensions, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -60236,7 +58727,6 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.RoleArn = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -60245,12 +58735,10 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.TableName = ptr.String(jtv) } - case "timestamp": if err := awsRestjson1_deserializeDocumentTimestreamTimestamp(&sv.Timestamp, value); err != nil { return err } - default: _, _ = key, value @@ -60290,7 +58778,6 @@ func awsRestjson1_deserializeDocumentTimestreamDimension(v **types.TimestreamDim } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -60299,7 +58786,6 @@ func awsRestjson1_deserializeDocumentTimestreamDimension(v **types.TimestreamDim } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -60373,7 +58859,6 @@ func awsRestjson1_deserializeDocumentTimestreamTimestamp(v **types.TimestreamTim } sv.Unit = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -60382,7 +58867,6 @@ func awsRestjson1_deserializeDocumentTimestreamTimestamp(v **types.TimestreamTim } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -60422,7 +58906,6 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.SecurityPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -60458,7 +58941,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "awsIotSqlVersion": if value != nil { jtv, ok := value.(string) @@ -60467,7 +58949,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.AwsIotSqlVersion = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -60483,7 +58964,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } } - case "description": if value != nil { jtv, ok := value.(string) @@ -60492,12 +58972,10 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.Description = ptr.String(jtv) } - case "errorAction": if err := awsRestjson1_deserializeDocumentAction(&sv.ErrorAction, value); err != nil { return err } - case "ruleDisabled": if value != nil { jtv, ok := value.(bool) @@ -60506,7 +58984,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.RuleDisabled = ptr.Bool(jtv) } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -60515,7 +58992,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.RuleName = ptr.String(jtv) } - case "sql": if value != nil { jtv, ok := value.(string) @@ -60524,7 +59000,6 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.Sql = ptr.String(jtv) } - default: _, _ = key, value @@ -60564,7 +59039,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -60580,12 +59054,10 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } } - case "httpUrlProperties": if err := awsRestjson1_deserializeDocumentHttpUrlDestinationProperties(&sv.HttpUrlProperties, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -60601,7 +59073,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } } - case "status": if value != nil { jtv, ok := value.(string) @@ -60610,7 +59081,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.Status = types.TopicRuleDestinationStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -60619,12 +59089,10 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.StatusReason = ptr.String(jtv) } - case "vpcProperties": if err := awsRestjson1_deserializeDocumentVpcDestinationProperties(&sv.VpcProperties, value); err != nil { return err } - default: _, _ = key, value @@ -60698,7 +59166,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -60714,12 +59181,10 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } } - case "httpUrlSummary": if err := awsRestjson1_deserializeDocumentHttpUrlDestinationSummary(&sv.HttpUrlSummary, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -60735,7 +59200,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } } - case "status": if value != nil { jtv, ok := value.(string) @@ -60744,7 +59208,6 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.Status = types.TopicRuleDestinationStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -60753,12 +59216,10 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.StatusReason = ptr.String(jtv) } - case "vpcDestinationSummary": if err := awsRestjson1_deserializeDocumentVpcDestinationSummary(&sv.VpcDestinationSummary, value); err != nil { return err } - default: _, _ = key, value @@ -60839,7 +59300,6 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } } - case "ruleArn": if value != nil { jtv, ok := value.(string) @@ -60848,7 +59308,6 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleArn = ptr.String(jtv) } - case "ruleDisabled": if value != nil { jtv, ok := value.(bool) @@ -60857,7 +59316,6 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleDisabled = ptr.Bool(jtv) } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -60866,7 +59324,6 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleName = ptr.String(jtv) } - case "topicPattern": if value != nil { jtv, ok := value.(string) @@ -60875,7 +59332,6 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.TopicPattern = ptr.String(jtv) } - default: _, _ = key, value @@ -60905,15 +59361,9 @@ func awsRestjson1_deserializeDocumentTransferAlreadyCompletedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -60921,15 +59371,11 @@ func awsRestjson1_deserializeDocumentTransferAlreadyCompletedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -60954,15 +59400,9 @@ func awsRestjson1_deserializeDocumentTransferConflictException(v **types.Transfe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -60970,15 +59410,11 @@ func awsRestjson1_deserializeDocumentTransferConflictException(v **types.Transfe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -61020,7 +59456,6 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } - case "rejectDate": if value != nil { switch jtv := value.(type) { @@ -61036,7 +59471,6 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } - case "rejectReason": if value != nil { jtv, ok := value.(string) @@ -61045,7 +59479,6 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } sv.RejectReason = ptr.String(jtv) } - case "transferDate": if value != nil { switch jtv := value.(type) { @@ -61061,7 +59494,6 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } - case "transferMessage": if value != nil { jtv, ok := value.(string) @@ -61070,7 +59502,6 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } sv.TransferMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -61100,15 +59531,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -61116,15 +59541,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -61159,7 +59580,6 @@ func awsRestjson1_deserializeDocumentUpdateCACertificateParams(v **types.UpdateC } sv.Action = types.CACertificateUpdateAction(jtv) } - default: _, _ = key, value @@ -61199,7 +59619,6 @@ func awsRestjson1_deserializeDocumentUpdateDeviceCertificateParams(v **types.Upd } sv.Action = types.DeviceCertificateUpdateAction(jtv) } - default: _, _ = key, value @@ -61273,7 +59692,6 @@ func awsRestjson1_deserializeDocumentUserProperty(v **types.UserProperty, value } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -61282,7 +59700,6 @@ func awsRestjson1_deserializeDocumentUserProperty(v **types.UserProperty, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -61322,7 +59739,6 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -61386,15 +59802,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -61402,15 +59812,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -61435,15 +59841,9 @@ func awsRestjson1_deserializeDocumentVersionConflictException(v **types.VersionC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -61451,15 +59851,11 @@ func awsRestjson1_deserializeDocumentVersionConflictException(v **types.VersionC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -61484,15 +59880,9 @@ func awsRestjson1_deserializeDocumentVersionsLimitExceededException(v **types.Ve sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -61500,15 +59890,11 @@ func awsRestjson1_deserializeDocumentVersionsLimitExceededException(v **types.Ve } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -61543,7 +59929,6 @@ func awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(v **types.Version } sv.Enabled = ptr.Bool(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -61552,7 +59937,6 @@ func awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(v **types.Version } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -61588,12 +59972,10 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } - case "metricValue": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.MetricValue, value); err != nil { return err } - case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -61602,7 +59984,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.SecurityProfileName = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -61611,7 +59992,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ThingName = ptr.String(jtv) } - case "verificationState": if value != nil { jtv, ok := value.(string) @@ -61620,7 +60000,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.VerificationState = types.VerificationState(jtv) } - case "verificationStateDescription": if value != nil { jtv, ok := value.(string) @@ -61629,12 +60008,10 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.VerificationStateDescription = ptr.String(jtv) } - case "violationEventAdditionalInfo": if err := awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(&sv.ViolationEventAdditionalInfo, value); err != nil { return err } - case "violationEventTime": if value != nil { switch jtv := value.(type) { @@ -61650,7 +60027,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } } - case "violationEventType": if value != nil { jtv, ok := value.(string) @@ -61659,7 +60035,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ViolationEventType = types.ViolationEventType(jtv) } - case "violationId": if value != nil { jtv, ok := value.(string) @@ -61668,7 +60043,6 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ViolationId = ptr.String(jtv) } - default: _, _ = key, value @@ -61708,7 +60082,6 @@ func awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(v **types.Viol } sv.ConfidenceLevel = types.ConfidenceLevel(jtv) } - default: _, _ = key, value @@ -61755,7 +60128,6 @@ func awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(v **types.Vio } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -61771,7 +60143,6 @@ func awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(v **types.Vio } } - default: _, _ = key, value @@ -61845,17 +60216,14 @@ func awsRestjson1_deserializeDocumentVpcDestinationProperties(v **types.VpcDesti } sv.RoleArn = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -61864,7 +60232,6 @@ func awsRestjson1_deserializeDocumentVpcDestinationProperties(v **types.VpcDesti } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -61904,17 +60271,14 @@ func awsRestjson1_deserializeDocumentVpcDestinationSummary(v **types.VpcDestinat } sv.RoleArn = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -61923,7 +60287,6 @@ func awsRestjson1_deserializeDocumentVpcDestinationSummary(v **types.VpcDestinat } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iot1clickdevicesservice/deserializers.go b/service/iot1clickdevicesservice/deserializers.go index 0de6ea30601..9fcb4f4b7b0 100644 --- a/service/iot1clickdevicesservice/deserializers.go +++ b/service/iot1clickdevicesservice/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentClaimDevicesByClaimCodeOutput(v **ClaimDe } sv.ClaimCode = ptr.String(jtv) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -196,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentClaimDevicesByClaimCodeOutput(v **ClaimDe } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -354,7 +352,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu if err := awsRestjson1_deserializeDocumentDeviceDescription(&sv.DeviceDescription, value); err != nil { return err } - default: _, _ = key, value @@ -522,7 +519,6 @@ func awsRestjson1_deserializeOpDocumentFinalizeDeviceClaimOutput(v **FinalizeDev } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -680,7 +676,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceMethodsOutput(v **GetDeviceMetho if err := awsRestjson1_deserializeDocument__listOfDeviceMethod(&sv.DeviceMethods, value); err != nil { return err } - default: _, _ = key, value @@ -845,7 +840,6 @@ func awsRestjson1_deserializeOpDocumentInitiateDeviceClaimOutput(v **InitiateDev } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -1016,7 +1010,6 @@ func awsRestjson1_deserializeOpDocumentInvokeDeviceMethodOutput(v **InvokeDevice } sv.DeviceMethodResponse = ptr.String(jtv) } - default: _, _ = key, value @@ -1177,7 +1170,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceEventsOutput(v **ListDeviceEven if err := awsRestjson1_deserializeDocument__listOfDeviceEvent(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1186,7 +1178,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceEventsOutput(v **ListDeviceEven } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1344,7 +1335,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocument__listOfDeviceDescription(&sv.Devices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1353,7 +1343,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1508,7 +1497,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1770,7 +1758,6 @@ func awsRestjson1_deserializeOpDocumentUnclaimDeviceOutput(v **UnclaimDeviceOutp } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -2421,7 +2408,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "deviceId": if value != nil { jtv, ok := value.(string) @@ -2430,7 +2416,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2439,7 +2424,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2515,12 +2499,10 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Arn = ptr.String(jtv) } - case "attributes": if err := awsRestjson1_deserializeDocumentDeviceAttributes(&sv.Attributes, value); err != nil { return err } - case "deviceId": if value != nil { jtv, ok := value.(string) @@ -2529,7 +2511,6 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.DeviceId = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -2538,7 +2519,6 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Enabled = ptr.Bool(jtv) } - case "remainingLife": if value != nil { switch jtv := value.(type) { @@ -2572,12 +2552,10 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2564,6 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2622,7 +2599,6 @@ func awsRestjson1_deserializeDocumentDeviceEvent(v **types.DeviceEvent, value in if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - case "stdEvent": if value != nil { jtv, ok := value.(string) @@ -2631,7 +2607,6 @@ func awsRestjson1_deserializeDocumentDeviceEvent(v **types.DeviceEvent, value in } sv.StdEvent = ptr.String(jtv) } - default: _, _ = key, value @@ -2671,7 +2646,6 @@ func awsRestjson1_deserializeDocumentDeviceMethod(v **types.DeviceMethod, value } sv.DeviceType = ptr.String(jtv) } - case "methodName": if value != nil { jtv, ok := value.(string) @@ -2680,7 +2654,6 @@ func awsRestjson1_deserializeDocumentDeviceMethod(v **types.DeviceMethod, value } sv.MethodName = ptr.String(jtv) } - default: _, _ = key, value @@ -2710,13 +2683,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2726,8 +2693,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2735,15 +2701,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2768,13 +2730,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2784,8 +2740,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2793,15 +2748,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2826,13 +2777,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2842,8 +2787,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2851,15 +2795,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2884,13 +2824,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2900,8 +2834,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2909,15 +2842,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2942,13 +2871,7 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2958,8 +2881,7 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2967,15 +2889,11 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3000,13 +2918,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3016,8 +2928,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3025,15 +2936,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3058,13 +2965,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3074,8 +2975,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3083,15 +2983,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iot1clickprojects/deserializers.go b/service/iot1clickprojects/deserializers.go index 9a04fdafe5d..074b73c7c8b 100644 --- a/service/iot1clickprojects/deserializers.go +++ b/service/iot1clickprojects/deserializers.go @@ -659,7 +659,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlacementOutput(v **DescribePlace if err := awsRestjson1_deserializeDocumentPlacementDescription(&sv.Placement, value); err != nil { return err } - default: _, _ = key, value @@ -817,7 +816,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsRestjson1_deserializeDocumentProjectDescription(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -1072,7 +1070,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicesInPlacementOutput(v **GetDevice if err := awsRestjson1_deserializeDocumentDeviceMap(&sv.Devices, value); err != nil { return err } - default: _, _ = key, value @@ -1234,12 +1231,10 @@ func awsRestjson1_deserializeOpDocumentListPlacementsOutput(v **ListPlacementsOu } sv.NextToken = ptr.String(jtv) } - case "placements": if err := awsRestjson1_deserializeDocumentPlacementSummaryList(&sv.Placements, value); err != nil { return err } - default: _, _ = key, value @@ -1398,12 +1393,10 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "projects": if err := awsRestjson1_deserializeDocumentProjectSummaryList(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -1561,7 +1554,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2267,7 +2259,6 @@ func awsRestjson1_deserializeDocumentDeviceTemplate(v **types.DeviceTemplate, va if err := awsRestjson1_deserializeDocumentDeviceCallbackOverrideMap(&sv.CallbackOverrides, value); err != nil { return err } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -2276,7 +2267,6 @@ func awsRestjson1_deserializeDocumentDeviceTemplate(v **types.DeviceTemplate, va } sv.DeviceType = ptr.String(jtv) } - default: _, _ = key, value @@ -2341,13 +2331,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2357,8 +2341,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2366,15 +2349,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2399,13 +2378,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2415,8 +2388,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2424,15 +2396,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2499,7 +2467,6 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes if err := awsRestjson1_deserializeDocumentPlacementAttributeMap(&sv.Attributes, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2515,7 +2482,6 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } } - case "placementName": if value != nil { jtv, ok := value.(string) @@ -2524,7 +2490,6 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } sv.PlacementName = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2533,7 +2498,6 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } sv.ProjectName = ptr.String(jtv) } - case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2549,7 +2513,6 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } } - default: _, _ = key, value @@ -2596,7 +2559,6 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } } - case "placementName": if value != nil { jtv, ok := value.(string) @@ -2605,7 +2567,6 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } sv.PlacementName = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2614,7 +2575,6 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } sv.ProjectName = ptr.String(jtv) } - case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2630,7 +2590,6 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } } - default: _, _ = key, value @@ -2700,12 +2659,10 @@ func awsRestjson1_deserializeDocumentPlacementTemplate(v **types.PlacementTempla if err := awsRestjson1_deserializeDocumentDefaultPlacementAttributeMap(&sv.DefaultAttributes, value); err != nil { return err } - case "deviceTemplates": if err := awsRestjson1_deserializeDocumentDeviceTemplateMap(&sv.DeviceTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -2745,7 +2702,6 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2761,7 +2717,6 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2770,12 +2725,10 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Description = ptr.String(jtv) } - case "placementTemplate": if err := awsRestjson1_deserializeDocumentPlacementTemplate(&sv.PlacementTemplate, value); err != nil { return err } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2784,12 +2737,10 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2805,7 +2756,6 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } - default: _, _ = key, value @@ -2845,7 +2795,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2861,7 +2810,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -2870,12 +2818,10 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2891,7 +2837,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - default: _, _ = key, value @@ -2955,13 +2900,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -2971,8 +2910,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2980,15 +2918,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3013,13 +2947,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3029,8 +2957,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3038,15 +2965,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3107,13 +3030,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3123,8 +3040,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3132,15 +3048,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iotanalytics/deserializers.go b/service/iotanalytics/deserializers.go index cc7e36266c9..994042b9980 100644 --- a/service/iotanalytics/deserializers.go +++ b/service/iotanalytics/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutMessageOutput(v **BatchPutMessage if err := awsRestjson1_deserializeDocumentBatchPutMessageErrorEntries(&sv.BatchPutMessageErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -457,7 +456,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } - case "channelName": if value != nil { jtv, ok := value.(string) @@ -466,12 +464,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -642,7 +638,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - case "datasetName": if value != nil { jtv, ok := value.(string) @@ -651,12 +646,10 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetName = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -824,7 +817,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetContentOutput(v **CreateData } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -995,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreArn = ptr.String(jtv) } - case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -1004,12 +995,10 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreName = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -1180,7 +1169,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineArn = ptr.String(jtv) } - case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -1189,7 +1177,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineName = ptr.String(jtv) } - default: _, _ = key, value @@ -1883,12 +1870,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - case "statistics": if err := awsRestjson1_deserializeDocumentChannelStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -2052,7 +2037,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -2216,12 +2200,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDatastoreOutput(v **DescribeDatas if err := awsRestjson1_deserializeDocumentDatastore(&sv.Datastore, value); err != nil { return err } - case "statistics": if err := awsRestjson1_deserializeDocumentDatastoreStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -2385,7 +2367,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -2549,7 +2530,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -2713,12 +2693,10 @@ func awsRestjson1_deserializeOpDocumentGetDatasetContentOutput(v **GetDatasetCon if err := awsRestjson1_deserializeDocumentDatasetEntries(&sv.Entries, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentDatasetContentStatus(&sv.Status, value); err != nil { return err } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -2734,7 +2712,6 @@ func awsRestjson1_deserializeOpDocumentGetDatasetContentOutput(v **GetDatasetCon } } - default: _, _ = key, value @@ -2895,7 +2872,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaries(&sv.ChannelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2904,7 +2880,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3068,7 +3043,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetContentsOutput(v **ListDataset if err := awsRestjson1_deserializeDocumentDatasetContentSummaries(&sv.DatasetContentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3077,7 +3051,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetContentsOutput(v **ListDataset } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3238,7 +3211,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetSummaries(&sv.DatasetSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3247,7 +3219,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3408,7 +3379,6 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu if err := awsRestjson1_deserializeDocumentDatastoreSummaries(&sv.DatastoreSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3417,7 +3387,6 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3582,12 +3551,10 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } - case "pipelineSummaries": if err := awsRestjson1_deserializeDocumentPipelineSummaries(&sv.PipelineSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -3754,7 +3721,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4022,12 +3988,10 @@ func awsRestjson1_deserializeOpDocumentRunPipelineActivityOutput(v **RunPipeline } sv.LogResult = ptr.String(jtv) } - case "payloads": if err := awsRestjson1_deserializeDocumentMessagePayloads(&sv.Payloads, value); err != nil { return err } - default: _, _ = key, value @@ -4191,7 +4155,6 @@ func awsRestjson1_deserializeOpDocumentSampleChannelDataOutput(v **SampleChannel if err := awsRestjson1_deserializeDocumentMessagePayloads(&sv.Payloads, value); err != nil { return err } - default: _, _ = key, value @@ -4362,7 +4325,6 @@ func awsRestjson1_deserializeOpDocumentStartPipelineReprocessingOutput(v **Start } sv.ReprocessingId = ptr.String(jtv) } - default: _, _ = key, value @@ -5283,7 +5245,6 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut if err := awsRestjson1_deserializeDocumentAttributeNameMapping(&sv.Attributes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5292,7 +5253,6 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -5301,7 +5261,6 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -5447,7 +5406,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5456,7 +5414,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorMessage = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -5465,7 +5422,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -5505,7 +5461,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5521,7 +5476,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -5537,7 +5491,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5553,7 +5506,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5562,12 +5514,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5576,12 +5526,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Status = types.ChannelStatus(jtv) } - case "storage": if err := awsRestjson1_deserializeDocumentChannelStorage(&sv.Storage, value); err != nil { return err } - default: _, _ = key, value @@ -5621,7 +5569,6 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.ChannelName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5630,7 +5577,6 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -5639,7 +5585,6 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -5675,7 +5620,6 @@ func awsRestjson1_deserializeDocumentChannelStatistics(v **types.ChannelStatisti if err := awsRestjson1_deserializeDocumentEstimatedResourceSize(&sv.Size, value); err != nil { return err } - default: _, _ = key, value @@ -5711,12 +5655,10 @@ func awsRestjson1_deserializeDocumentChannelStorage(v **types.ChannelStorage, va if err := awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(&sv.CustomerManagedS3, value); err != nil { return err } - case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedChannelS3Storage(&sv.ServiceManagedS3, value); err != nil { return err } - default: _, _ = key, value @@ -5752,12 +5694,10 @@ func awsRestjson1_deserializeDocumentChannelStorageSummary(v **types.ChannelStor if err := awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(&sv.CustomerManagedS3, value); err != nil { return err } - case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedChannelS3StorageSummary(&sv.ServiceManagedS3, value); err != nil { return err } - default: _, _ = key, value @@ -5831,12 +5771,10 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelName = ptr.String(jtv) } - case "channelStorage": if err := awsRestjson1_deserializeDocumentChannelStorageSummary(&sv.ChannelStorage, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5852,7 +5790,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } - case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -5868,7 +5805,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5884,7 +5820,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -5893,7 +5828,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Status = types.ChannelStatus(jtv) } - default: _, _ = key, value @@ -5933,7 +5867,6 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5942,7 +5875,6 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6016,7 +5948,6 @@ func awsRestjson1_deserializeDocumentContainerDatasetAction(v **types.ContainerD } sv.ExecutionRoleArn = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -6025,17 +5956,14 @@ func awsRestjson1_deserializeDocumentContainerDatasetAction(v **types.ContainerD } sv.Image = ptr.String(jtv) } - case "resourceConfiguration": if err := awsRestjson1_deserializeDocumentResourceConfiguration(&sv.ResourceConfiguration, value); err != nil { return err } - case "variables": if err := awsRestjson1_deserializeDocumentVariables(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -6075,7 +6003,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6084,7 +6011,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.KeyPrefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6093,7 +6019,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6133,7 +6058,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6142,7 +6066,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.KeyPrefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6151,7 +6074,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6191,7 +6113,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6200,7 +6121,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.KeyPrefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6209,7 +6129,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6249,7 +6168,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6258,7 +6176,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.KeyPrefix = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6267,7 +6184,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6303,7 +6219,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ if err := awsRestjson1_deserializeDocumentDatasetActions(&sv.Actions, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6312,12 +6227,10 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Arn = ptr.String(jtv) } - case "contentDeliveryRules": if err := awsRestjson1_deserializeDocumentDatasetContentDeliveryRules(&sv.ContentDeliveryRules, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6333,7 +6246,6 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6349,12 +6261,10 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "lateDataRules": if err := awsRestjson1_deserializeDocumentLateDataRules(&sv.LateDataRules, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6363,12 +6273,10 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6377,17 +6285,14 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Status = types.DatasetStatus(jtv) } - case "triggers": if err := awsRestjson1_deserializeDocumentDatasetTriggers(&sv.Triggers, value); err != nil { return err } - case "versioningConfiguration": if err := awsRestjson1_deserializeDocumentVersioningConfiguration(&sv.VersioningConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6427,17 +6332,14 @@ func awsRestjson1_deserializeDocumentDatasetAction(v **types.DatasetAction, valu } sv.ActionName = ptr.String(jtv) } - case "containerAction": if err := awsRestjson1_deserializeDocumentContainerDatasetAction(&sv.ContainerAction, value); err != nil { return err } - case "queryAction": if err := awsRestjson1_deserializeDocumentSqlQueryDatasetAction(&sv.QueryAction, value); err != nil { return err } - default: _, _ = key, value @@ -6545,7 +6447,6 @@ func awsRestjson1_deserializeDocumentDatasetActionSummary(v **types.DatasetActio } sv.ActionName = ptr.String(jtv) } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -6554,7 +6455,6 @@ func awsRestjson1_deserializeDocumentDatasetActionSummary(v **types.DatasetActio } sv.ActionType = types.DatasetActionType(jtv) } - default: _, _ = key, value @@ -6590,12 +6490,10 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryDestination(v **types if err := awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(&sv.IotEventsDestinationConfiguration, value); err != nil { return err } - case "s3DestinationConfiguration": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3DestinationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6631,7 +6529,6 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryRule(v **types.Datase if err := awsRestjson1_deserializeDocumentDatasetContentDeliveryDestination(&sv.Destination, value); err != nil { return err } - case "entryName": if value != nil { jtv, ok := value.(string) @@ -6640,7 +6537,6 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryRule(v **types.Datase } sv.EntryName = ptr.String(jtv) } - default: _, _ = key, value @@ -6714,7 +6610,6 @@ func awsRestjson1_deserializeDocumentDatasetContentStatus(v **types.DatasetConte } sv.Reason = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6723,7 +6618,6 @@ func awsRestjson1_deserializeDocumentDatasetContentStatus(v **types.DatasetConte } sv.State = types.DatasetContentState(jtv) } - default: _, _ = key, value @@ -6804,7 +6698,6 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6820,7 +6713,6 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } - case "scheduleTime": if value != nil { switch jtv := value.(type) { @@ -6836,12 +6728,10 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } - case "status": if err := awsRestjson1_deserializeDocumentDatasetContentStatus(&sv.Status, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -6850,7 +6740,6 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6890,7 +6779,6 @@ func awsRestjson1_deserializeDocumentDatasetContentVersionValue(v **types.Datase } sv.DatasetName = ptr.String(jtv) } - default: _, _ = key, value @@ -6964,7 +6852,6 @@ func awsRestjson1_deserializeDocumentDatasetEntry(v **types.DatasetEntry, value } sv.DataURI = ptr.String(jtv) } - case "entryName": if value != nil { jtv, ok := value.(string) @@ -6973,7 +6860,6 @@ func awsRestjson1_deserializeDocumentDatasetEntry(v **types.DatasetEntry, value } sv.EntryName = ptr.String(jtv) } - default: _, _ = key, value @@ -7043,7 +6929,6 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va if err := awsRestjson1_deserializeDocumentDatasetActionSummaries(&sv.Actions, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7059,7 +6944,6 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "datasetName": if value != nil { jtv, ok := value.(string) @@ -7068,7 +6952,6 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7084,7 +6967,6 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -7093,12 +6975,10 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = types.DatasetStatus(jtv) } - case "triggers": if err := awsRestjson1_deserializeDocumentDatasetTriggers(&sv.Triggers, value); err != nil { return err } - default: _, _ = key, value @@ -7134,12 +7014,10 @@ func awsRestjson1_deserializeDocumentDatasetTrigger(v **types.DatasetTrigger, va if err := awsRestjson1_deserializeDocumentTriggeringDataset(&sv.Dataset, value); err != nil { return err } - case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - default: _, _ = key, value @@ -7213,7 +7091,6 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7229,17 +7106,14 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } - case "datastorePartitions": if err := awsRestjson1_deserializeDocumentDatastorePartitions(&sv.DatastorePartitions, value); err != nil { return err } - case "fileFormatConfiguration": if err := awsRestjson1_deserializeDocumentFileFormatConfiguration(&sv.FileFormatConfiguration, value); err != nil { return err } - case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -7255,7 +7129,6 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7271,7 +7144,6 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7280,12 +7152,10 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Name = ptr.String(jtv) } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7294,12 +7164,10 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Status = types.DatastoreStatus(jtv) } - case "storage": if err := awsRestjson1_deserializeDocumentDatastoreStorage(&sv.Storage, value); err != nil { return err } - default: _, _ = key, value @@ -7339,7 +7207,6 @@ func awsRestjson1_deserializeDocumentDatastoreActivity(v **types.DatastoreActivi } sv.DatastoreName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7348,7 +7215,6 @@ func awsRestjson1_deserializeDocumentDatastoreActivity(v **types.DatastoreActivi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7384,7 +7250,6 @@ func awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorage(v **t if err := awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storage(&sv.CustomerManagedS3Storage, value); err != nil { return err } - default: _, _ = key, value @@ -7420,7 +7285,6 @@ func awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorageSummar if err := awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3StorageSummary(&sv.CustomerManagedS3Storage, value); err != nil { return err } - default: _, _ = key, value @@ -7456,12 +7320,10 @@ func awsRestjson1_deserializeDocumentDatastorePartition(v **types.DatastoreParti if err := awsRestjson1_deserializeDocumentPartition(&sv.AttributePartition, value); err != nil { return err } - case "timestampPartition": if err := awsRestjson1_deserializeDocumentTimestampPartition(&sv.TimestampPartition, value); err != nil { return err } - default: _, _ = key, value @@ -7497,7 +7359,6 @@ func awsRestjson1_deserializeDocumentDatastorePartitions(v **types.DatastorePart if err := awsRestjson1_deserializeDocumentPartitions(&sv.Partitions, value); err != nil { return err } - default: _, _ = key, value @@ -7533,7 +7394,6 @@ func awsRestjson1_deserializeDocumentDatastoreStatistics(v **types.DatastoreStat if err := awsRestjson1_deserializeDocumentEstimatedResourceSize(&sv.Size, value); err != nil { return err } - default: _, _ = key, value @@ -7629,17 +7489,14 @@ func awsRestjson1_deserializeDocumentDatastoreStorageSummary(v **types.Datastore if err := awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(&sv.CustomerManagedS3, value); err != nil { return err } - case "iotSiteWiseMultiLayerStorage": if err := awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorageSummary(&sv.IotSiteWiseMultiLayerStorage, value); err != nil { return err } - case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedDatastoreS3StorageSummary(&sv.ServiceManagedS3, value); err != nil { return err } - default: _, _ = key, value @@ -7720,7 +7577,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } - case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -7729,17 +7585,14 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreName = ptr.String(jtv) } - case "datastorePartitions": if err := awsRestjson1_deserializeDocumentDatastorePartitions(&sv.DatastorePartitions, value); err != nil { return err } - case "datastoreStorage": if err := awsRestjson1_deserializeDocumentDatastoreStorageSummary(&sv.DatastoreStorage, value); err != nil { return err } - case "fileFormatType": if value != nil { jtv, ok := value.(string) @@ -7748,7 +7601,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.FileFormatType = types.FileFormatType(jtv) } - case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -7764,7 +7616,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7780,7 +7631,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } - case "status": if value != nil { jtv, ok := value.(string) @@ -7789,7 +7639,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.Status = types.DatastoreStatus(jtv) } - default: _, _ = key, value @@ -7833,7 +7682,6 @@ func awsRestjson1_deserializeDocumentDeltaTime(v **types.DeltaTime, value interf } sv.OffsetSeconds = ptr.Int32(int32(i64)) } - case "timeExpression": if value != nil { jtv, ok := value.(string) @@ -7842,7 +7690,6 @@ func awsRestjson1_deserializeDocumentDeltaTime(v **types.DeltaTime, value interf } sv.TimeExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -7886,7 +7733,6 @@ func awsRestjson1_deserializeDocumentDeltaTimeSessionWindowConfiguration(v **typ } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7926,7 +7772,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Attribute = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7935,7 +7780,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -7944,7 +7788,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Next = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7953,7 +7796,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.RoleArn = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -7962,7 +7804,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -8002,7 +7843,6 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Attribute = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8011,7 +7851,6 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -8020,7 +7859,6 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Next = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8029,7 +7867,6 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.RoleArn = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -8038,7 +7875,6 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -8085,7 +7921,6 @@ func awsRestjson1_deserializeDocumentEstimatedResourceSize(v **types.EstimatedRe } } - case "estimatedSizeInBytes": if value != nil { switch jtv := value.(type) { @@ -8119,7 +7954,6 @@ func awsRestjson1_deserializeDocumentEstimatedResourceSize(v **types.EstimatedRe } } - default: _, _ = key, value @@ -8155,12 +7989,10 @@ func awsRestjson1_deserializeDocumentFileFormatConfiguration(v **types.FileForma if err := awsRestjson1_deserializeDocumentJsonConfiguration(&sv.JsonConfiguration, value); err != nil { return err } - case "parquetConfiguration": if err := awsRestjson1_deserializeDocumentParquetConfiguration(&sv.ParquetConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8200,7 +8032,6 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Filter = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8209,7 +8040,6 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -8218,7 +8048,6 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -8258,7 +8087,6 @@ func awsRestjson1_deserializeDocumentGlueConfiguration(v **types.GlueConfigurati } sv.DatabaseName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -8267,7 +8095,6 @@ func awsRestjson1_deserializeDocumentGlueConfiguration(v **types.GlueConfigurati } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -8297,15 +8124,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8313,15 +8134,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8346,15 +8163,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8362,15 +8173,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8405,7 +8212,6 @@ func awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(v **types } sv.InputName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8414,7 +8220,6 @@ func awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(v **types } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8454,7 +8259,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -8463,7 +8267,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8503,7 +8306,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -8512,7 +8314,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8587,7 +8388,6 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.BatchSize = ptr.Int32(int32(i64)) } - case "lambdaName": if value != nil { jtv, ok := value.(string) @@ -8596,7 +8396,6 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.LambdaName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8605,7 +8404,6 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -8614,7 +8412,6 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -8650,7 +8447,6 @@ func awsRestjson1_deserializeDocumentLateDataRule(v **types.LateDataRule, value if err := awsRestjson1_deserializeDocumentLateDataRuleConfiguration(&sv.RuleConfiguration, value); err != nil { return err } - case "ruleName": if value != nil { jtv, ok := value.(string) @@ -8659,7 +8455,6 @@ func awsRestjson1_deserializeDocumentLateDataRule(v **types.LateDataRule, value } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -8695,7 +8490,6 @@ func awsRestjson1_deserializeDocumentLateDataRuleConfiguration(v **types.LateDat if err := awsRestjson1_deserializeDocumentDeltaTimeSessionWindowConfiguration(&sv.DeltaTimeSessionWindowConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8759,15 +8553,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8775,15 +8563,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8818,7 +8602,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Enabled = jtv } - case "level": if value != nil { jtv, ok := value.(string) @@ -8827,7 +8610,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8836,7 +8618,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8876,7 +8657,6 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Attribute = ptr.String(jtv) } - case "math": if value != nil { jtv, ok := value.(string) @@ -8885,7 +8665,6 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Math = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8894,7 +8673,6 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -8903,7 +8681,6 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -8983,7 +8760,6 @@ func awsRestjson1_deserializeDocumentOutputFileUriValue(v **types.OutputFileUriV } sv.FileName = ptr.String(jtv) } - default: _, _ = key, value @@ -9019,7 +8795,6 @@ func awsRestjson1_deserializeDocumentParquetConfiguration(v **types.ParquetConfi if err := awsRestjson1_deserializeDocumentSchemaDefinition(&sv.SchemaDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -9059,7 +8834,6 @@ func awsRestjson1_deserializeDocumentPartition(v **types.Partition, value interf } sv.AttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -9129,7 +8903,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsRestjson1_deserializeDocumentPipelineActivities(&sv.Activities, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -9138,7 +8911,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9154,7 +8926,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -9170,7 +8941,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9179,12 +8949,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Name = ptr.String(jtv) } - case "reprocessingSummaries": if err := awsRestjson1_deserializeDocumentReprocessingSummaries(&sv.ReprocessingSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9254,52 +9022,42 @@ func awsRestjson1_deserializeDocumentPipelineActivity(v **types.PipelineActivity if err := awsRestjson1_deserializeDocumentAddAttributesActivity(&sv.AddAttributes, value); err != nil { return err } - case "channel": if err := awsRestjson1_deserializeDocumentChannelActivity(&sv.Channel, value); err != nil { return err } - case "datastore": if err := awsRestjson1_deserializeDocumentDatastoreActivity(&sv.Datastore, value); err != nil { return err } - case "deviceRegistryEnrich": if err := awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(&sv.DeviceRegistryEnrich, value); err != nil { return err } - case "deviceShadowEnrich": if err := awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(&sv.DeviceShadowEnrich, value); err != nil { return err } - case "filter": if err := awsRestjson1_deserializeDocumentFilterActivity(&sv.Filter, value); err != nil { return err } - case "lambda": if err := awsRestjson1_deserializeDocumentLambdaActivity(&sv.Lambda, value); err != nil { return err } - case "math": if err := awsRestjson1_deserializeDocumentMathActivity(&sv.Math, value); err != nil { return err } - case "removeAttributes": if err := awsRestjson1_deserializeDocumentRemoveAttributesActivity(&sv.RemoveAttributes, value); err != nil { return err } - case "selectAttributes": if err := awsRestjson1_deserializeDocumentSelectAttributesActivity(&sv.SelectAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -9380,7 +9138,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -9396,7 +9153,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -9405,12 +9161,10 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } - case "reprocessingSummaries": if err := awsRestjson1_deserializeDocumentReprocessingSummaries(&sv.ReprocessingSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9446,7 +9200,6 @@ func awsRestjson1_deserializeDocumentQueryFilter(v **types.QueryFilter, value in if err := awsRestjson1_deserializeDocumentDeltaTime(&sv.DeltaTime, value); err != nil { return err } - default: _, _ = key, value @@ -9516,7 +9269,6 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt if err := awsRestjson1_deserializeDocumentAttributeNames(&sv.Attributes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9525,7 +9277,6 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -9534,7 +9285,6 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -9615,7 +9365,6 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } } - case "id": if value != nil { jtv, ok := value.(string) @@ -9624,7 +9373,6 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9633,7 +9381,6 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } sv.Status = types.ReprocessingStatus(jtv) } - default: _, _ = key, value @@ -9663,15 +9410,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9679,7 +9420,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9688,7 +9428,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9697,15 +9436,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9740,7 +9475,6 @@ func awsRestjson1_deserializeDocumentResourceConfiguration(v **types.ResourceCon } sv.ComputeType = types.ComputeType(jtv) } - case "volumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -9753,7 +9487,6 @@ func awsRestjson1_deserializeDocumentResourceConfiguration(v **types.ResourceCon } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9783,15 +9516,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9799,15 +9526,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9846,7 +9569,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.NumberOfDays = ptr.Int32(int32(i64)) } - case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -9855,7 +9577,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Unlimited = jtv } - default: _, _ = key, value @@ -9895,12 +9616,10 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Bucket = ptr.String(jtv) } - case "glueConfiguration": if err := awsRestjson1_deserializeDocumentGlueConfiguration(&sv.GlueConfiguration, value); err != nil { return err } - case "key": if value != nil { jtv, ok := value.(string) @@ -9909,7 +9628,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Key = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9918,7 +9636,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9958,7 +9675,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -9994,7 +9710,6 @@ func awsRestjson1_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsRestjson1_deserializeDocumentColumns(&sv.Columns, value); err != nil { return err } - default: _, _ = key, value @@ -10030,7 +9745,6 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt if err := awsRestjson1_deserializeDocumentAttributeNames(&sv.Attributes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10039,7 +9753,6 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt } sv.Name = ptr.String(jtv) } - case "next": if value != nil { jtv, ok := value.(string) @@ -10048,7 +9761,6 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt } sv.Next = ptr.String(jtv) } - default: _, _ = key, value @@ -10202,15 +9914,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10218,15 +9924,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10257,7 +9959,6 @@ func awsRestjson1_deserializeDocumentSqlQueryDatasetAction(v **types.SqlQueryDat if err := awsRestjson1_deserializeDocumentQueryFilters(&sv.Filters, value); err != nil { return err } - case "sqlQuery": if value != nil { jtv, ok := value.(string) @@ -10266,7 +9967,6 @@ func awsRestjson1_deserializeDocumentSqlQueryDatasetAction(v **types.SqlQueryDat } sv.SqlQuery = ptr.String(jtv) } - default: _, _ = key, value @@ -10306,7 +10006,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -10315,7 +10014,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10379,15 +10077,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10395,15 +10087,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10438,7 +10126,6 @@ func awsRestjson1_deserializeDocumentTimestampPartition(v **types.TimestampParti } sv.AttributeName = ptr.String(jtv) } - case "timestampFormat": if value != nil { jtv, ok := value.(string) @@ -10447,7 +10134,6 @@ func awsRestjson1_deserializeDocumentTimestampPartition(v **types.TimestampParti } sv.TimestampFormat = ptr.String(jtv) } - default: _, _ = key, value @@ -10487,7 +10173,6 @@ func awsRestjson1_deserializeDocumentTriggeringDataset(v **types.TriggeringDatas } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10523,7 +10208,6 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac if err := awsRestjson1_deserializeDocumentDatasetContentVersionValue(&sv.DatasetContentVersionValue, value); err != nil { return err } - case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -10557,7 +10241,6 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10566,12 +10249,10 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } - case "outputFileUriValue": if err := awsRestjson1_deserializeDocumentOutputFileUriValue(&sv.OutputFileUriValue, value); err != nil { return err } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -10580,7 +10261,6 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -10658,7 +10338,6 @@ func awsRestjson1_deserializeDocumentVersioningConfiguration(v **types.Versionin } sv.MaxVersions = ptr.Int32(int32(i64)) } - case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -10667,7 +10346,6 @@ func awsRestjson1_deserializeDocumentVersioningConfiguration(v **types.Versionin } sv.Unlimited = jtv } - default: _, _ = key, value diff --git a/service/iotdataplane/deserializers.go b/service/iotdataplane/deserializers.go index 9ab026ab193..24b275493dd 100644 --- a/service/iotdataplane/deserializers.go +++ b/service/iotdataplane/deserializers.go @@ -335,7 +335,6 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.LastModifiedTime = i64 } - case "payload": if value != nil { jtv, ok := value.(string) @@ -348,7 +347,6 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Payload = dv } - case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -361,7 +359,6 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Qos = int32(i64) } - case "topic": if value != nil { jtv, ok := value.(string) @@ -370,7 +367,6 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Topic = ptr.String(jtv) } - case "userProperties": if value != nil { jtv, ok := value.(string) @@ -383,7 +379,6 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.UserProperties = dv } - default: _, _ = key, value @@ -693,12 +688,10 @@ func awsRestjson1_deserializeOpDocumentListNamedShadowsForThingOutput(v **ListNa } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentNamedShadowList(&sv.Results, value); err != nil { return err } - case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -711,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentListNamedShadowsForThingOutput(v **ListNa } sv.Timestamp = i64 } - default: _, _ = key, value @@ -882,12 +874,10 @@ func awsRestjson1_deserializeOpDocumentListRetainedMessagesOutput(v **ListRetain } sv.NextToken = ptr.String(jtv) } - case "retainedTopics": if err := awsRestjson1_deserializeDocumentRetainedMessageList(&sv.RetainedTopics, value); err != nil { return err } - default: _, _ = key, value @@ -1522,15 +1512,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1538,15 +1522,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1571,15 +1551,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1587,15 +1561,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1620,15 +1590,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1636,15 +1600,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1669,15 +1629,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1685,15 +1639,11 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1754,15 +1704,9 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1770,15 +1714,11 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1803,15 +1743,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1819,15 +1753,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1900,7 +1830,6 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.LastModifiedTime = i64 } - case "payloadSize": if value != nil { jtv, ok := value.(json.Number) @@ -1913,7 +1842,6 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.PayloadSize = i64 } - case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -1926,7 +1854,6 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.Qos = int32(i64) } - case "topic": if value != nil { jtv, ok := value.(string) @@ -1935,7 +1862,6 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.Topic = ptr.String(jtv) } - default: _, _ = key, value @@ -1965,15 +1891,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1981,15 +1901,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2014,15 +1930,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2030,15 +1940,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2063,15 +1969,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2079,15 +1979,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2112,15 +2008,9 @@ func awsRestjson1_deserializeDocumentUnsupportedDocumentEncodingException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2128,15 +2018,11 @@ func awsRestjson1_deserializeDocumentUnsupportedDocumentEncodingException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iotdeviceadvisor/deserializers.go b/service/iotdeviceadvisor/deserializers.go index c4860e9f6c8..56821bfc18a 100644 --- a/service/iotdeviceadvisor/deserializers.go +++ b/service/iotdeviceadvisor/deserializers.go @@ -185,7 +185,6 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } } - case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -194,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionArn = ptr.String(jtv) } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -203,7 +201,6 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -212,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionName = ptr.String(jtv) } - default: _, _ = key, value @@ -465,7 +461,6 @@ func awsRestjson1_deserializeOpDocumentGetEndpointOutput(v **GetEndpointOutput, } sv.Endpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -634,7 +629,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -650,7 +644,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } } - case "latestVersion": if value != nil { jtv, ok := value.(string) @@ -659,7 +652,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.LatestVersion = ptr.String(jtv) } - case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -668,12 +660,10 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionArn = ptr.String(jtv) } - case "suiteDefinitionConfiguration": if err := awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(&sv.SuiteDefinitionConfiguration, value); err != nil { return err } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -682,7 +672,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -691,12 +680,10 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -865,7 +852,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } } - case "errorReason": if value != nil { jtv, ok := value.(string) @@ -874,7 +860,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.ErrorReason = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -890,7 +875,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } } - case "status": if value != nil { jtv, ok := value.(string) @@ -899,7 +883,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.Status = types.SuiteRunStatus(jtv) } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -908,7 +891,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -917,7 +899,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteDefinitionVersion = ptr.String(jtv) } - case "suiteRunArn": if value != nil { jtv, ok := value.(string) @@ -926,12 +907,10 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteRunArn = ptr.String(jtv) } - case "suiteRunConfiguration": if err := awsRestjson1_deserializeDocumentSuiteRunConfiguration(&sv.SuiteRunConfiguration, value); err != nil { return err } - case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -940,17 +919,14 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteRunId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "testResult": if err := awsRestjson1_deserializeDocumentTestResult(&sv.TestResult, value); err != nil { return err } - default: _, _ = key, value @@ -1112,7 +1088,6 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunReportOutput(v **GetSuiteRunRe } sv.QualificationReportDownloadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -1271,12 +1246,10 @@ func awsRestjson1_deserializeOpDocumentListSuiteDefinitionsOutput(v **ListSuiteD } sv.NextToken = ptr.String(jtv) } - case "suiteDefinitionInformationList": if err := awsRestjson1_deserializeDocumentSuiteDefinitionInformationList(&sv.SuiteDefinitionInformationList, value); err != nil { return err } - default: _, _ = key, value @@ -1435,12 +1408,10 @@ func awsRestjson1_deserializeOpDocumentListSuiteRunsOutput(v **ListSuiteRunsOutp } sv.NextToken = ptr.String(jtv) } - case "suiteRunsList": if err := awsRestjson1_deserializeDocumentSuiteRunsList(&sv.SuiteRunsList, value); err != nil { return err } - default: _, _ = key, value @@ -1598,7 +1569,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1767,7 +1737,6 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1776,7 +1745,6 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.Endpoint = ptr.String(jtv) } - case "suiteRunArn": if value != nil { jtv, ok := value.(string) @@ -1785,7 +1753,6 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.SuiteRunArn = ptr.String(jtv) } - case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -1794,7 +1761,6 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.SuiteRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -2242,7 +2208,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2258,7 +2223,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } } - case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -2267,7 +2231,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionArn = ptr.String(jtv) } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2276,7 +2239,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2285,7 +2247,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionName = ptr.String(jtv) } - case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -2294,7 +2255,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2468,15 +2428,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2484,15 +2438,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2527,7 +2477,6 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.CertificateArn = ptr.String(jtv) } - case "deviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2536,7 +2485,6 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.DeviceRoleArn = ptr.String(jtv) } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -2545,7 +2493,6 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.ThingArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2619,7 +2566,6 @@ func awsRestjson1_deserializeDocumentGroupResult(v **types.GroupResult, value in } sv.GroupId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -2628,12 +2574,10 @@ func awsRestjson1_deserializeDocumentGroupResult(v **types.GroupResult, value in } sv.GroupName = ptr.String(jtv) } - case "tests": if err := awsRestjson1_deserializeDocumentTestCaseRuns(&sv.Tests, value); err != nil { return err } - default: _, _ = key, value @@ -2697,15 +2641,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2713,15 +2651,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2746,15 +2680,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2762,15 +2690,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2841,12 +2765,10 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.DevicePermissionRoleArn = ptr.String(jtv) } - case "devices": if err := awsRestjson1_deserializeDocumentDeviceUnderTestList(&sv.Devices, value); err != nil { return err } - case "intendedForQualification": if value != nil { jtv, ok := value.(bool) @@ -2855,7 +2777,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.IntendedForQualification = ptr.Bool(jtv) } - case "isLongDurationTest": if value != nil { jtv, ok := value.(bool) @@ -2864,7 +2785,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.IsLongDurationTest = ptr.Bool(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -2873,7 +2793,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.Protocol = types.Protocol(jtv) } - case "rootGroup": if value != nil { jtv, ok := value.(string) @@ -2882,7 +2801,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.RootGroup = ptr.String(jtv) } - case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2891,7 +2809,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.SuiteDefinitionName = ptr.String(jtv) } - default: _, _ = key, value @@ -2938,12 +2855,10 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } } - case "defaultDevices": if err := awsRestjson1_deserializeDocumentDeviceUnderTestList(&sv.DefaultDevices, value); err != nil { return err } - case "intendedForQualification": if value != nil { jtv, ok := value.(bool) @@ -2952,7 +2867,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.IntendedForQualification = ptr.Bool(jtv) } - case "isLongDurationTest": if value != nil { jtv, ok := value.(bool) @@ -2961,7 +2875,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.IsLongDurationTest = ptr.Bool(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -2970,7 +2883,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.Protocol = types.Protocol(jtv) } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2979,7 +2891,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2988,7 +2899,6 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.SuiteDefinitionName = ptr.String(jtv) } - default: _, _ = key, value @@ -3062,17 +2972,14 @@ func awsRestjson1_deserializeDocumentSuiteRunConfiguration(v **types.SuiteRunCon } sv.ParallelRun = ptr.Bool(jtv) } - case "primaryDevice": if err := awsRestjson1_deserializeDocumentDeviceUnderTest(&sv.PrimaryDevice, value); err != nil { return err } - case "selectedTestList": if err := awsRestjson1_deserializeDocumentSelectedTestList(&sv.SelectedTestList, value); err != nil { return err } - default: _, _ = key, value @@ -3119,7 +3026,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } - case "endAt": if value != nil { switch jtv := value.(type) { @@ -3135,7 +3041,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -3148,7 +3053,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Failed = ptr.Int32(int32(i64)) } - case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -3161,7 +3065,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Passed = ptr.Int32(int32(i64)) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -3177,7 +3080,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3186,7 +3088,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Status = types.SuiteRunStatus(jtv) } - case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3195,7 +3096,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionId = ptr.String(jtv) } - case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -3204,7 +3104,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionName = ptr.String(jtv) } - case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -3213,7 +3112,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionVersion = ptr.String(jtv) } - case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -3222,7 +3120,6 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -3339,7 +3236,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } } - case "failure": if value != nil { jtv, ok := value.(string) @@ -3348,7 +3244,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Failure = ptr.String(jtv) } - case "logUrl": if value != nil { jtv, ok := value.(string) @@ -3357,7 +3252,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.LogUrl = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3373,7 +3267,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3382,7 +3275,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Status = types.Status(jtv) } - case "testCaseDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3391,7 +3283,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseDefinitionId = ptr.String(jtv) } - case "testCaseDefinitionName": if value != nil { jtv, ok := value.(string) @@ -3400,7 +3291,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseDefinitionName = ptr.String(jtv) } - case "testCaseRunId": if value != nil { jtv, ok := value.(string) @@ -3409,12 +3299,10 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseRunId = ptr.String(jtv) } - case "testScenarios": if err := awsRestjson1_deserializeDocumentTestCaseScenariosList(&sv.TestScenarios, value); err != nil { return err } - case "warnings": if value != nil { jtv, ok := value.(string) @@ -3423,7 +3311,6 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Warnings = ptr.String(jtv) } - default: _, _ = key, value @@ -3497,7 +3384,6 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.Failure = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3506,7 +3392,6 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.Status = types.TestCaseScenarioStatus(jtv) } - case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -3515,7 +3400,6 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.SystemMessage = ptr.String(jtv) } - case "testCaseScenarioId": if value != nil { jtv, ok := value.(string) @@ -3524,7 +3408,6 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.TestCaseScenarioId = ptr.String(jtv) } - case "testCaseScenarioType": if value != nil { jtv, ok := value.(string) @@ -3533,7 +3416,6 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.TestCaseScenarioType = types.TestCaseScenarioType(jtv) } - default: _, _ = key, value @@ -3603,7 +3485,6 @@ func awsRestjson1_deserializeDocumentTestResult(v **types.TestResult, value inte if err := awsRestjson1_deserializeDocumentGroupResultList(&sv.Groups, value); err != nil { return err } - default: _, _ = key, value @@ -3633,15 +3514,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3649,15 +3524,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iotevents/deserializers.go b/service/iotevents/deserializers.go index 44a1ea46dbe..e3e747cadbf 100644 --- a/service/iotevents/deserializers.go +++ b/service/iotevents/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.AlarmModelArn = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -203,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -219,7 +217,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -235,7 +232,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } } - case "status": if value != nil { jtv, ok := value.(string) @@ -244,7 +240,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } - default: _, _ = key, value @@ -414,7 +409,6 @@ func awsRestjson1_deserializeOpDocumentCreateDetectorModelOutput(v **CreateDetec if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -578,7 +572,6 @@ func awsRestjson1_deserializeOpDocumentCreateInputOutput(v **CreateInputOutput, if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1051,12 +1044,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar if err := awsRestjson1_deserializeDocumentAlarmCapabilities(&sv.AlarmCapabilities, value); err != nil { return err } - case "alarmEventActions": if err := awsRestjson1_deserializeDocumentAlarmEventActions(&sv.AlarmEventActions, value); err != nil { return err } - case "alarmModelArn": if value != nil { jtv, ok := value.(string) @@ -1065,7 +1056,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelArn = ptr.String(jtv) } - case "alarmModelDescription": if value != nil { jtv, ok := value.(string) @@ -1074,7 +1064,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelDescription = ptr.String(jtv) } - case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -1083,7 +1072,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelName = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -1092,17 +1080,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelVersion = ptr.String(jtv) } - case "alarmNotification": if err := awsRestjson1_deserializeDocumentAlarmNotification(&sv.AlarmNotification, value); err != nil { return err } - case "alarmRule": if err := awsRestjson1_deserializeDocumentAlarmRule(&sv.AlarmRule, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1118,7 +1103,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } } - case "key": if value != nil { jtv, ok := value.(string) @@ -1127,7 +1111,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Key = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1143,7 +1126,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1152,7 +1134,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.RoleArn = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(json.Number) @@ -1165,7 +1146,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Severity = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1174,7 +1154,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Status = types.AlarmModelVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1183,7 +1162,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -1347,7 +1325,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorModelOutput(v **DescribeD if err := awsRestjson1_deserializeDocumentDetectorModel(&sv.DetectorModel, value); err != nil { return err } - default: _, _ = key, value @@ -1515,7 +1492,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorModelAnalysisOutput(v **D } sv.Status = types.AnalysisStatus(jtv) } - default: _, _ = key, value @@ -1679,7 +1655,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - default: _, _ = key, value @@ -1846,7 +1821,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -2010,7 +1984,6 @@ func awsRestjson1_deserializeOpDocumentGetDetectorModelAnalysisResultsOutput(v * if err := awsRestjson1_deserializeDocumentAnalysisResults(&sv.AnalysisResults, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2019,7 +1992,6 @@ func awsRestjson1_deserializeOpDocumentGetDetectorModelAnalysisResultsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2180,7 +2152,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelsOutput(v **ListAlarmModels if err := awsRestjson1_deserializeDocumentAlarmModelSummaries(&sv.AlarmModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2189,7 +2160,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelsOutput(v **ListAlarmModels } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2353,7 +2323,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelVersionsOutput(v **ListAlar if err := awsRestjson1_deserializeDocumentAlarmModelVersionSummaries(&sv.AlarmModelVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2362,7 +2331,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelVersionsOutput(v **ListAlar } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2523,7 +2491,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelsOutput(v **ListDetector if err := awsRestjson1_deserializeDocumentDetectorModelSummaries(&sv.DetectorModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2532,7 +2499,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelsOutput(v **ListDetector } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2696,7 +2662,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelVersionsOutput(v **ListD if err := awsRestjson1_deserializeDocumentDetectorModelVersionSummaries(&sv.DetectorModelVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2705,7 +2670,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelVersionsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2873,12 +2837,10 @@ func awsRestjson1_deserializeOpDocumentListInputRoutingsOutput(v **ListInputRout } sv.NextToken = ptr.String(jtv) } - case "routedResources": if err := awsRestjson1_deserializeDocumentRoutedResources(&sv.RoutedResources, value); err != nil { return err } - default: _, _ = key, value @@ -3039,7 +3001,6 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va if err := awsRestjson1_deserializeDocumentInputSummaries(&sv.InputSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3048,7 +3009,6 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3212,7 +3172,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3489,7 +3448,6 @@ func awsRestjson1_deserializeOpDocumentStartDetectorModelAnalysisOutput(v **Star } sv.AnalysisId = ptr.String(jtv) } - default: _, _ = key, value @@ -3863,7 +3821,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.AlarmModelArn = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -3872,7 +3829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -3888,7 +3844,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -3904,7 +3859,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3913,7 +3867,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } - default: _, _ = key, value @@ -4080,7 +4033,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDetectorModelOutput(v **UpdateDetec if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4247,7 +4199,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputOutput(v **UpdateInputOutput, if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4611,7 +4562,6 @@ func awsRestjson1_deserializeDocumentAcknowledgeFlow(v **types.AcknowledgeFlow, } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4647,67 +4597,54 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentClearTimerAction(&sv.ClearTimer, value); err != nil { return err } - case "dynamoDB": if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } - case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } - case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } - case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } - case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } - case "iotTopicPublish": if err := awsRestjson1_deserializeDocumentIotTopicPublishAction(&sv.IotTopicPublish, value); err != nil { return err } - case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } - case "resetTimer": if err := awsRestjson1_deserializeDocumentResetTimerAction(&sv.ResetTimer, value); err != nil { return err } - case "setTimer": if err := awsRestjson1_deserializeDocumentSetTimerAction(&sv.SetTimer, value); err != nil { return err } - case "setVariable": if err := awsRestjson1_deserializeDocumentSetVariableAction(&sv.SetVariable, value); err != nil { return err } - case "sns": if err := awsRestjson1_deserializeDocumentSNSTopicPublishAction(&sv.Sns, value); err != nil { return err } - case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } - default: _, _ = key, value @@ -4777,47 +4714,38 @@ func awsRestjson1_deserializeDocumentAlarmAction(v **types.AlarmAction, value in if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } - case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } - case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } - case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } - case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } - case "iotTopicPublish": if err := awsRestjson1_deserializeDocumentIotTopicPublishAction(&sv.IotTopicPublish, value); err != nil { return err } - case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } - case "sns": if err := awsRestjson1_deserializeDocumentSNSTopicPublishAction(&sv.Sns, value); err != nil { return err } - case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } - default: _, _ = key, value @@ -4887,12 +4815,10 @@ func awsRestjson1_deserializeDocumentAlarmCapabilities(v **types.AlarmCapabiliti if err := awsRestjson1_deserializeDocumentAcknowledgeFlow(&sv.AcknowledgeFlow, value); err != nil { return err } - case "initializationConfiguration": if err := awsRestjson1_deserializeDocumentInitializationConfiguration(&sv.InitializationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4928,7 +4854,6 @@ func awsRestjson1_deserializeDocumentAlarmEventActions(v **types.AlarmEventActio if err := awsRestjson1_deserializeDocumentAlarmActions(&sv.AlarmActions, value); err != nil { return err } - default: _, _ = key, value @@ -5002,7 +4927,6 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } sv.AlarmModelDescription = ptr.String(jtv) } - case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -5011,7 +4935,6 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } sv.AlarmModelName = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5027,7 +4950,6 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } } - default: _, _ = key, value @@ -5101,7 +5023,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelArn = ptr.String(jtv) } - case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -5110,7 +5031,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelName = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -5119,7 +5039,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5135,7 +5054,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5151,7 +5069,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5160,7 +5077,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5169,7 +5085,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5178,7 +5093,6 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5214,7 +5128,6 @@ func awsRestjson1_deserializeDocumentAlarmNotification(v **types.AlarmNotificati if err := awsRestjson1_deserializeDocumentNotificationActions(&sv.NotificationActions, value); err != nil { return err } - default: _, _ = key, value @@ -5250,7 +5163,6 @@ func awsRestjson1_deserializeDocumentAlarmRule(v **types.AlarmRule, value interf if err := awsRestjson1_deserializeDocumentSimpleRule(&sv.SimpleRule, value); err != nil { return err } - default: _, _ = key, value @@ -5290,12 +5202,10 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Level = types.AnalysisResultLevel(jtv) } - case "locations": if err := awsRestjson1_deserializeDocumentAnalysisResultLocations(&sv.Locations, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -5304,7 +5214,6 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Message = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5313,7 +5222,6 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5353,7 +5261,6 @@ func awsRestjson1_deserializeDocumentAnalysisResultLocation(v **types.AnalysisRe } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -5461,7 +5368,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.OffsetInNanos = ptr.String(jtv) } - case "timeInSeconds": if value != nil { jtv, ok := value.(string) @@ -5470,7 +5376,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.TimeInSeconds = ptr.String(jtv) } - default: _, _ = key, value @@ -5510,17 +5415,14 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = ptr.String(jtv) } - case "timestamp": if err := awsRestjson1_deserializeDocumentAssetPropertyTimestamp(&sv.Timestamp, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentAssetPropertyVariant(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -5560,7 +5462,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.BooleanValue = ptr.String(jtv) } - case "doubleValue": if value != nil { jtv, ok := value.(string) @@ -5569,7 +5470,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.DoubleValue = ptr.String(jtv) } - case "integerValue": if value != nil { jtv, ok := value.(string) @@ -5578,7 +5478,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.IntegerValue = ptr.String(jtv) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -5587,7 +5486,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5627,7 +5525,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.JsonPath = ptr.String(jtv) } - default: _, _ = key, value @@ -5701,7 +5598,6 @@ func awsRestjson1_deserializeDocumentClearTimerAction(v **types.ClearTimerAction } sv.TimerName = ptr.String(jtv) } - default: _, _ = key, value @@ -5741,7 +5637,6 @@ func awsRestjson1_deserializeDocumentDetectorDebugOption(v **types.DetectorDebug } sv.DetectorModelName = ptr.String(jtv) } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -5750,7 +5645,6 @@ func awsRestjson1_deserializeDocumentDetectorDebugOption(v **types.DetectorDebug } sv.KeyValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5820,12 +5714,10 @@ func awsRestjson1_deserializeDocumentDetectorModel(v **types.DetectorModel, valu if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } - case "detectorModelDefinition": if err := awsRestjson1_deserializeDocumentDetectorModelDefinition(&sv.DetectorModelDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -5872,7 +5764,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } } - case "detectorModelArn": if value != nil { jtv, ok := value.(string) @@ -5881,7 +5772,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelArn = ptr.String(jtv) } - case "detectorModelDescription": if value != nil { jtv, ok := value.(string) @@ -5890,7 +5780,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelDescription = ptr.String(jtv) } - case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -5899,7 +5788,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelName = ptr.String(jtv) } - case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -5908,7 +5796,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelVersion = ptr.String(jtv) } - case "evaluationMethod": if value != nil { jtv, ok := value.(string) @@ -5917,7 +5804,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.EvaluationMethod = types.EvaluationMethod(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -5926,7 +5812,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.Key = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5942,7 +5827,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5951,7 +5835,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5960,7 +5843,6 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.Status = types.DetectorModelVersionStatus(jtv) } - default: _, _ = key, value @@ -6000,12 +5882,10 @@ func awsRestjson1_deserializeDocumentDetectorModelDefinition(v **types.DetectorM } sv.InitialStateName = ptr.String(jtv) } - case "states": if err := awsRestjson1_deserializeDocumentStates(&sv.States, value); err != nil { return err } - default: _, _ = key, value @@ -6086,7 +5966,6 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } } - case "detectorModelDescription": if value != nil { jtv, ok := value.(string) @@ -6095,7 +5974,6 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } sv.DetectorModelDescription = ptr.String(jtv) } - case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -6104,7 +5982,6 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } sv.DetectorModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -6185,7 +6062,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } } - case "detectorModelArn": if value != nil { jtv, ok := value.(string) @@ -6194,7 +6070,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelArn = ptr.String(jtv) } - case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -6203,7 +6078,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelName = ptr.String(jtv) } - case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -6212,7 +6086,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelVersion = ptr.String(jtv) } - case "evaluationMethod": if value != nil { jtv, ok := value.(string) @@ -6221,7 +6094,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.EvaluationMethod = types.EvaluationMethod(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6237,7 +6109,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6246,7 +6117,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6255,7 +6125,6 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.Status = types.DetectorModelVersionStatus(jtv) } - default: _, _ = key, value @@ -6295,7 +6164,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyField = ptr.String(jtv) } - case "hashKeyType": if value != nil { jtv, ok := value.(string) @@ -6304,7 +6172,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyType = ptr.String(jtv) } - case "hashKeyValue": if value != nil { jtv, ok := value.(string) @@ -6313,7 +6180,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyValue = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -6322,12 +6188,10 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.Operation = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - case "payloadField": if value != nil { jtv, ok := value.(string) @@ -6336,7 +6200,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.PayloadField = ptr.String(jtv) } - case "rangeKeyField": if value != nil { jtv, ok := value.(string) @@ -6345,7 +6208,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyField = ptr.String(jtv) } - case "rangeKeyType": if value != nil { jtv, ok := value.(string) @@ -6354,7 +6216,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyType = ptr.String(jtv) } - case "rangeKeyValue": if value != nil { jtv, ok := value.(string) @@ -6363,7 +6224,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyValue = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -6372,7 +6232,6 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -6408,7 +6267,6 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -6417,7 +6275,6 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -6453,7 +6310,6 @@ func awsRestjson1_deserializeDocumentEmailConfiguration(v **types.EmailConfigura if err := awsRestjson1_deserializeDocumentEmailContent(&sv.Content, value); err != nil { return err } - case "from": if value != nil { jtv, ok := value.(string) @@ -6462,12 +6318,10 @@ func awsRestjson1_deserializeDocumentEmailConfiguration(v **types.EmailConfigura } sv.From = ptr.String(jtv) } - case "recipients": if err := awsRestjson1_deserializeDocumentEmailRecipients(&sv.Recipients, value); err != nil { return err } - default: _, _ = key, value @@ -6541,7 +6395,6 @@ func awsRestjson1_deserializeDocumentEmailContent(v **types.EmailContent, value } sv.AdditionalMessage = ptr.String(jtv) } - case "subject": if value != nil { jtv, ok := value.(string) @@ -6550,7 +6403,6 @@ func awsRestjson1_deserializeDocumentEmailContent(v **types.EmailContent, value } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -6586,7 +6438,6 @@ func awsRestjson1_deserializeDocumentEmailRecipients(v **types.EmailRecipients, if err := awsRestjson1_deserializeDocumentRecipientDetails(&sv.To, value); err != nil { return err } - default: _, _ = key, value @@ -6622,7 +6473,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e if err := awsRestjson1_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } - case "condition": if value != nil { jtv, ok := value.(string) @@ -6631,7 +6481,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Condition = ptr.String(jtv) } - case "eventName": if value != nil { jtv, ok := value.(string) @@ -6640,7 +6489,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventName = ptr.String(jtv) } - default: _, _ = key, value @@ -6714,12 +6562,10 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.DeliveryStreamName = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - case "separator": if value != nil { jtv, ok := value.(string) @@ -6728,7 +6574,6 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.Separator = ptr.String(jtv) } - default: _, _ = key, value @@ -6768,7 +6613,6 @@ func awsRestjson1_deserializeDocumentInitializationConfiguration(v **types.Initi } sv.DisabledOnInitialization = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6804,12 +6648,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } - case "inputDefinition": if err := awsRestjson1_deserializeDocumentInputDefinition(&sv.InputDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -6856,7 +6698,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } } - case "inputArn": if value != nil { jtv, ok := value.(string) @@ -6865,7 +6706,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputArn = ptr.String(jtv) } - case "inputDescription": if value != nil { jtv, ok := value.(string) @@ -6874,7 +6714,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputDescription = ptr.String(jtv) } - case "inputName": if value != nil { jtv, ok := value.(string) @@ -6883,7 +6722,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputName = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6899,7 +6737,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6908,7 +6745,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.Status = types.InputStatus(jtv) } - default: _, _ = key, value @@ -6944,7 +6780,6 @@ func awsRestjson1_deserializeDocumentInputDefinition(v **types.InputDefinition, if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -7025,7 +6860,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } } - case "inputArn": if value != nil { jtv, ok := value.(string) @@ -7034,7 +6868,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputArn = ptr.String(jtv) } - case "inputDescription": if value != nil { jtv, ok := value.(string) @@ -7043,7 +6876,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputDescription = ptr.String(jtv) } - case "inputName": if value != nil { jtv, ok := value.(string) @@ -7052,7 +6884,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputName = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7068,7 +6899,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } } - case "status": if value != nil { jtv, ok := value.(string) @@ -7077,7 +6907,6 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.Status = types.InputStatus(jtv) } - default: _, _ = key, value @@ -7107,15 +6936,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7123,15 +6946,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7156,15 +6975,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7172,15 +6985,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7215,12 +7024,10 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.InputName = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - default: _, _ = key, value @@ -7260,7 +7067,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.AssetId = ptr.String(jtv) } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -7269,7 +7075,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.EntryId = ptr.String(jtv) } - case "propertyAlias": if value != nil { jtv, ok := value.(string) @@ -7278,7 +7083,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.PropertyAlias = ptr.String(jtv) } - case "propertyId": if value != nil { jtv, ok := value.(string) @@ -7287,12 +7091,10 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.PropertyId = ptr.String(jtv) } - case "propertyValue": if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.PropertyValue, value); err != nil { return err } - default: _, _ = key, value @@ -7332,12 +7134,10 @@ func awsRestjson1_deserializeDocumentIotTopicPublishAction(v **types.IotTopicPub } sv.MqttTopic = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - default: _, _ = key, value @@ -7377,12 +7177,10 @@ func awsRestjson1_deserializeDocumentLambdaAction(v **types.LambdaAction, value } sv.FunctionArn = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - default: _, _ = key, value @@ -7412,15 +7210,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7428,15 +7220,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7467,7 +7255,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va if err := awsRestjson1_deserializeDocumentDetectorDebugOptions(&sv.DetectorDebugOptions, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -7476,7 +7263,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Enabled = jtv } - case "level": if value != nil { jtv, ok := value.(string) @@ -7485,7 +7271,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7494,7 +7279,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7530,17 +7314,14 @@ func awsRestjson1_deserializeDocumentNotificationAction(v **types.NotificationAc if err := awsRestjson1_deserializeDocumentNotificationTargetActions(&sv.Action, value); err != nil { return err } - case "emailConfigurations": if err := awsRestjson1_deserializeDocumentEmailConfigurations(&sv.EmailConfigurations, value); err != nil { return err } - case "smsConfigurations": if err := awsRestjson1_deserializeDocumentSMSConfigurations(&sv.SmsConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -7610,7 +7391,6 @@ func awsRestjson1_deserializeDocumentNotificationTargetActions(v **types.Notific if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.LambdaAction, value); err != nil { return err } - default: _, _ = key, value @@ -7646,7 +7426,6 @@ func awsRestjson1_deserializeDocumentOnEnterLifecycle(v **types.OnEnterLifecycle if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -7682,7 +7461,6 @@ func awsRestjson1_deserializeDocumentOnExitLifecycle(v **types.OnExitLifecycle, if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } - default: _, _ = key, value @@ -7718,12 +7496,10 @@ func awsRestjson1_deserializeDocumentOnInputLifecycle(v **types.OnInputLifecycle if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } - case "transitionEvents": if err := awsRestjson1_deserializeDocumentTransitionEvents(&sv.TransitionEvents, value); err != nil { return err } - default: _, _ = key, value @@ -7763,7 +7539,6 @@ func awsRestjson1_deserializeDocumentPayload(v **types.Payload, value interface{ } sv.ContentExpression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7772,7 +7547,6 @@ func awsRestjson1_deserializeDocumentPayload(v **types.Payload, value interface{ } sv.Type = types.PayloadType(jtv) } - default: _, _ = key, value @@ -7808,7 +7582,6 @@ func awsRestjson1_deserializeDocumentRecipientDetail(v **types.RecipientDetail, if err := awsRestjson1_deserializeDocumentSSOIdentity(&sv.SsoIdentity, value); err != nil { return err } - default: _, _ = key, value @@ -7882,7 +7655,6 @@ func awsRestjson1_deserializeDocumentResetTimerAction(v **types.ResetTimerAction } sv.TimerName = ptr.String(jtv) } - default: _, _ = key, value @@ -7912,15 +7684,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7928,7 +7694,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -7937,7 +7702,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7946,15 +7710,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7979,15 +7739,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7995,15 +7749,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8028,15 +7778,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8044,15 +7788,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8087,7 +7827,6 @@ func awsRestjson1_deserializeDocumentRoutedResource(v **types.RoutedResource, va } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8096,7 +7835,6 @@ func awsRestjson1_deserializeDocumentRoutedResource(v **types.RoutedResource, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8160,15 +7898,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8176,15 +7908,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8219,7 +7947,6 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.DurationExpression = ptr.String(jtv) } - case "seconds": if value != nil { jtv, ok := value.(json.Number) @@ -8232,7 +7959,6 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.Seconds = ptr.Int32(int32(i64)) } - case "timerName": if value != nil { jtv, ok := value.(string) @@ -8241,7 +7967,6 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.TimerName = ptr.String(jtv) } - default: _, _ = key, value @@ -8281,7 +8006,6 @@ func awsRestjson1_deserializeDocumentSetVariableAction(v **types.SetVariableActi } sv.Value = ptr.String(jtv) } - case "variableName": if value != nil { jtv, ok := value.(string) @@ -8290,7 +8014,6 @@ func awsRestjson1_deserializeDocumentSetVariableAction(v **types.SetVariableActi } sv.VariableName = ptr.String(jtv) } - default: _, _ = key, value @@ -8330,7 +8053,6 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "inputProperty": if value != nil { jtv, ok := value.(string) @@ -8339,7 +8061,6 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.InputProperty = ptr.String(jtv) } - case "threshold": if value != nil { jtv, ok := value.(string) @@ -8348,7 +8069,6 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.Threshold = ptr.String(jtv) } - default: _, _ = key, value @@ -8388,12 +8108,10 @@ func awsRestjson1_deserializeDocumentSMSConfiguration(v **types.SMSConfiguration } sv.AdditionalMessage = ptr.String(jtv) } - case "recipients": if err := awsRestjson1_deserializeDocumentRecipientDetails(&sv.Recipients, value); err != nil { return err } - case "senderId": if value != nil { jtv, ok := value.(string) @@ -8402,7 +8120,6 @@ func awsRestjson1_deserializeDocumentSMSConfiguration(v **types.SMSConfiguration } sv.SenderId = ptr.String(jtv) } - default: _, _ = key, value @@ -8472,7 +8189,6 @@ func awsRestjson1_deserializeDocumentSNSTopicPublishAction(v **types.SNSTopicPub if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -8481,7 +8197,6 @@ func awsRestjson1_deserializeDocumentSNSTopicPublishAction(v **types.SNSTopicPub } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8517,7 +8232,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } - case "queueUrl": if value != nil { jtv, ok := value.(string) @@ -8526,7 +8240,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.QueueUrl = ptr.String(jtv) } - case "useBase64": if value != nil { jtv, ok := value.(bool) @@ -8535,7 +8248,6 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.UseBase64 = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8575,7 +8287,6 @@ func awsRestjson1_deserializeDocumentSSOIdentity(v **types.SSOIdentity, value in } sv.IdentityStoreId = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -8584,7 +8295,6 @@ func awsRestjson1_deserializeDocumentSSOIdentity(v **types.SSOIdentity, value in } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -8620,17 +8330,14 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e if err := awsRestjson1_deserializeDocumentOnEnterLifecycle(&sv.OnEnter, value); err != nil { return err } - case "onExit": if err := awsRestjson1_deserializeDocumentOnExitLifecycle(&sv.OnExit, value); err != nil { return err } - case "onInput": if err := awsRestjson1_deserializeDocumentOnInputLifecycle(&sv.OnInput, value); err != nil { return err } - case "stateName": if value != nil { jtv, ok := value.(string) @@ -8639,7 +8346,6 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.StateName = ptr.String(jtv) } - default: _, _ = key, value @@ -8713,7 +8419,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -8722,7 +8427,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8786,15 +8490,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8802,15 +8500,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8841,7 +8535,6 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, if err := awsRestjson1_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } - case "condition": if value != nil { jtv, ok := value.(string) @@ -8850,7 +8543,6 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.Condition = ptr.String(jtv) } - case "eventName": if value != nil { jtv, ok := value.(string) @@ -8859,7 +8551,6 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.EventName = ptr.String(jtv) } - case "nextState": if value != nil { jtv, ok := value.(string) @@ -8868,7 +8559,6 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.NextState = ptr.String(jtv) } - default: _, _ = key, value @@ -8932,15 +8622,9 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8948,15 +8632,11 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/ioteventsdata/deserializers.go b/service/ioteventsdata/deserializers.go index 458ac9aaf30..916f778d61d 100644 --- a/service/ioteventsdata/deserializers.go +++ b/service/ioteventsdata/deserializers.go @@ -180,7 +180,6 @@ func awsRestjson1_deserializeOpDocumentBatchAcknowledgeAlarmOutput(v **BatchAckn if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -341,7 +340,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDetectorOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntries(&sv.BatchDeleteDetectorErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -502,7 +500,6 @@ func awsRestjson1_deserializeOpDocumentBatchDisableAlarmOutput(v **BatchDisableA if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -663,7 +660,6 @@ func awsRestjson1_deserializeOpDocumentBatchEnableAlarmOutput(v **BatchEnableAla if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -824,7 +820,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutMessageOutput(v **BatchPutMessage if err := awsRestjson1_deserializeDocumentBatchPutMessageErrorEntries(&sv.BatchPutMessageErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -985,7 +980,6 @@ func awsRestjson1_deserializeOpDocumentBatchResetAlarmOutput(v **BatchResetAlarm if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1146,7 +1140,6 @@ func awsRestjson1_deserializeOpDocumentBatchSnoozeAlarmOutput(v **BatchSnoozeAla if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1307,7 +1300,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateDetectorOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntries(&sv.BatchUpdateDetectorErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1471,7 +1463,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmOutput(v **DescribeAlarmOutp if err := awsRestjson1_deserializeDocumentAlarm(&sv.Alarm, value); err != nil { return err } - default: _, _ = key, value @@ -1635,7 +1626,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect if err := awsRestjson1_deserializeDocumentDetector(&sv.Detector, value); err != nil { return err } - default: _, _ = key, value @@ -1799,7 +1789,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmsOutput(v **ListAlarmsOutput, va if err := awsRestjson1_deserializeDocumentAlarmSummaries(&sv.AlarmSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1808,7 +1797,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmsOutput(v **ListAlarmsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1972,7 +1960,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp if err := awsRestjson1_deserializeDocumentDetectorSummaries(&sv.DetectorSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1981,7 +1968,6 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2201,7 +2187,6 @@ func awsRestjson1_deserializeDocumentAcknowledgeActionConfiguration(v **types.Ac } sv.Note = ptr.String(jtv) } - default: _, _ = key, value @@ -2241,7 +2226,6 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmModelName = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -2250,12 +2234,10 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmModelVersion = ptr.String(jtv) } - case "alarmState": if err := awsRestjson1_deserializeDocumentAlarmState(&sv.AlarmState, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2271,7 +2253,6 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -2280,7 +2261,6 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.KeyValue = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2296,7 +2276,6 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } - case "severity": if value != nil { jtv, ok := value.(json.Number) @@ -2309,7 +2288,6 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Severity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2345,12 +2323,10 @@ func awsRestjson1_deserializeDocumentAlarmState(v **types.AlarmState, value inte if err := awsRestjson1_deserializeDocumentCustomerAction(&sv.CustomerAction, value); err != nil { return err } - case "ruleEvaluation": if err := awsRestjson1_deserializeDocumentRuleEvaluation(&sv.RuleEvaluation, value); err != nil { return err } - case "stateName": if value != nil { jtv, ok := value.(string) @@ -2359,12 +2335,10 @@ func awsRestjson1_deserializeDocumentAlarmState(v **types.AlarmState, value inte } sv.StateName = types.AlarmStateName(jtv) } - case "systemEvent": if err := awsRestjson1_deserializeDocumentSystemEvent(&sv.SystemEvent, value); err != nil { return err } - default: _, _ = key, value @@ -2438,7 +2412,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.AlarmModelName = ptr.String(jtv) } - case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -2447,7 +2420,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.AlarmModelVersion = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2463,7 +2435,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -2472,7 +2443,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.KeyValue = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2488,7 +2458,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } } - case "stateName": if value != nil { jtv, ok := value.(string) @@ -2497,7 +2466,6 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.StateName = types.AlarmStateName(jtv) } - default: _, _ = key, value @@ -2571,7 +2539,6 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2580,7 +2547,6 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.ErrorMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2589,7 +2555,6 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2663,7 +2628,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2672,7 +2636,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -2681,7 +2644,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -2755,7 +2717,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2764,7 +2725,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorMessage = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -2773,7 +2733,6 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -2847,7 +2806,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2856,7 +2814,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -2865,7 +2822,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -2901,7 +2857,6 @@ func awsRestjson1_deserializeDocumentCustomerAction(v **types.CustomerAction, va if err := awsRestjson1_deserializeDocumentAcknowledgeActionConfiguration(&sv.AcknowledgeActionConfiguration, value); err != nil { return err } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -2910,27 +2865,22 @@ func awsRestjson1_deserializeDocumentCustomerAction(v **types.CustomerAction, va } sv.ActionName = types.CustomerActionName(jtv) } - case "disableActionConfiguration": if err := awsRestjson1_deserializeDocumentDisableActionConfiguration(&sv.DisableActionConfiguration, value); err != nil { return err } - case "enableActionConfiguration": if err := awsRestjson1_deserializeDocumentEnableActionConfiguration(&sv.EnableActionConfiguration, value); err != nil { return err } - case "resetActionConfiguration": if err := awsRestjson1_deserializeDocumentResetActionConfiguration(&sv.ResetActionConfiguration, value); err != nil { return err } - case "snoozeActionConfiguration": if err := awsRestjson1_deserializeDocumentSnoozeActionConfiguration(&sv.SnoozeActionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2977,7 +2927,6 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } } - case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -2986,7 +2935,6 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorModelName = ptr.String(jtv) } - case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -2995,7 +2943,6 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorModelVersion = ptr.String(jtv) } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -3004,7 +2951,6 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.KeyValue = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -3020,12 +2966,10 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } } - case "state": if err := awsRestjson1_deserializeDocumentDetectorState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -3065,17 +3009,14 @@ func awsRestjson1_deserializeDocumentDetectorState(v **types.DetectorState, valu } sv.StateName = ptr.String(jtv) } - case "timers": if err := awsRestjson1_deserializeDocumentTimers(&sv.Timers, value); err != nil { return err } - case "variables": if err := awsRestjson1_deserializeDocumentVariables(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -3115,7 +3056,6 @@ func awsRestjson1_deserializeDocumentDetectorStateSummary(v **types.DetectorStat } sv.StateName = ptr.String(jtv) } - default: _, _ = key, value @@ -3196,7 +3136,6 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } } - case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -3205,7 +3144,6 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.DetectorModelName = ptr.String(jtv) } - case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -3214,7 +3152,6 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.DetectorModelVersion = ptr.String(jtv) } - case "keyValue": if value != nil { jtv, ok := value.(string) @@ -3223,7 +3160,6 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.KeyValue = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -3239,12 +3175,10 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } } - case "state": if err := awsRestjson1_deserializeDocumentDetectorStateSummary(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -3284,7 +3218,6 @@ func awsRestjson1_deserializeDocumentDisableActionConfiguration(v **types.Disabl } sv.Note = ptr.String(jtv) } - default: _, _ = key, value @@ -3324,7 +3257,6 @@ func awsRestjson1_deserializeDocumentEnableActionConfiguration(v **types.EnableA } sv.Note = ptr.String(jtv) } - default: _, _ = key, value @@ -3354,15 +3286,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3370,15 +3296,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3403,15 +3325,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3419,15 +3335,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3462,7 +3374,6 @@ func awsRestjson1_deserializeDocumentResetActionConfiguration(v **types.ResetAct } sv.Note = ptr.String(jtv) } - default: _, _ = key, value @@ -3492,15 +3403,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3508,15 +3413,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3547,7 +3448,6 @@ func awsRestjson1_deserializeDocumentRuleEvaluation(v **types.RuleEvaluation, va if err := awsRestjson1_deserializeDocumentSimpleRuleEvaluation(&sv.SimpleRuleEvaluation, value); err != nil { return err } - default: _, _ = key, value @@ -3577,15 +3477,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3593,15 +3487,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3636,7 +3526,6 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.InputPropertyValue = ptr.String(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -3645,7 +3534,6 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.Operator = types.ComparisonOperator(jtv) } - case "thresholdValue": if value != nil { jtv, ok := value.(string) @@ -3654,7 +3542,6 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.ThresholdValue = ptr.String(jtv) } - default: _, _ = key, value @@ -3694,7 +3581,6 @@ func awsRestjson1_deserializeDocumentSnoozeActionConfiguration(v **types.SnoozeA } sv.Note = ptr.String(jtv) } - case "snoozeDuration": if value != nil { jtv, ok := value.(json.Number) @@ -3707,7 +3593,6 @@ func awsRestjson1_deserializeDocumentSnoozeActionConfiguration(v **types.SnoozeA } sv.SnoozeDuration = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3747,7 +3632,6 @@ func awsRestjson1_deserializeDocumentStateChangeConfiguration(v **types.StateCha } sv.TriggerType = types.TriggerType(jtv) } - default: _, _ = key, value @@ -3787,12 +3671,10 @@ func awsRestjson1_deserializeDocumentSystemEvent(v **types.SystemEvent, value in } sv.EventType = types.EventType(jtv) } - case "stateChangeConfiguration": if err := awsRestjson1_deserializeDocumentStateChangeConfiguration(&sv.StateChangeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3822,15 +3704,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3838,15 +3714,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3881,7 +3753,6 @@ func awsRestjson1_deserializeDocumentTimer(v **types.Timer, value interface{}) e } sv.Name = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -3897,7 +3768,6 @@ func awsRestjson1_deserializeDocumentTimer(v **types.Timer, value interface{}) e } } - default: _, _ = key, value @@ -3971,7 +3841,6 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3980,7 +3849,6 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iotfleethub/deserializers.go b/service/iotfleethub/deserializers.go index 143b741639b..b0134363bc3 100644 --- a/service/iotfleethub/deserializers.go +++ b/service/iotfleethub/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -193,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -455,7 +453,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationArn = ptr.String(jtv) } - case "applicationCreationDate": if value != nil { jtv, ok := value.(json.Number) @@ -468,7 +465,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationCreationDate = i64 } - case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -477,7 +473,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationDescription = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -486,7 +481,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationId = ptr.String(jtv) } - case "applicationLastUpdateDate": if value != nil { jtv, ok := value.(json.Number) @@ -499,7 +493,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationLastUpdateDate = i64 } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -508,7 +501,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationName = ptr.String(jtv) } - case "applicationState": if value != nil { jtv, ok := value.(string) @@ -517,7 +509,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationState = types.ApplicationState(jtv) } - case "applicationUrl": if value != nil { jtv, ok := value.(string) @@ -526,7 +517,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationUrl = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -535,7 +525,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ErrorMessage = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -544,7 +533,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.RoleArn = ptr.String(jtv) } - case "ssoClientId": if value != nil { jtv, ok := value.(string) @@ -553,12 +541,10 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.SsoClientId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -716,7 +702,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -725,7 +710,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -883,7 +867,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1465,7 +1448,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationCreationDate = i64 } - case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -1474,7 +1456,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationDescription = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -1483,7 +1464,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } - case "applicationLastUpdateDate": if value != nil { jtv, ok := value.(json.Number) @@ -1496,7 +1476,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationLastUpdateDate = i64 } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -1505,7 +1484,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } - case "applicationState": if value != nil { jtv, ok := value.(string) @@ -1514,7 +1492,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationState = types.ApplicationState(jtv) } - case "applicationUrl": if value != nil { jtv, ok := value.(string) @@ -1523,7 +1500,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -1553,15 +1529,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1569,15 +1539,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1602,15 +1568,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1618,15 +1578,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1651,15 +1607,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1667,15 +1617,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1700,15 +1646,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1716,15 +1656,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1749,15 +1685,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1765,15 +1695,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1834,15 +1760,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1850,15 +1770,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iotfleetwise/deserializers.go b/service/iotfleetwise/deserializers.go index fb3771b32b2..0e895a94e85 100644 --- a/service/iotfleetwise/deserializers.go +++ b/service/iotfleetwise/deserializers.go @@ -6889,15 +6889,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6905,15 +6899,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6944,7 +6934,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } - case "assignedValue": if value != nil { jtv, ok := value.(string) @@ -6953,7 +6942,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.AssignedValue = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -6962,7 +6950,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Comment = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -6971,7 +6958,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.DataType = types.NodeDataType(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -6980,7 +6966,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6989,7 +6974,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -6998,7 +6982,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.FullyQualifiedName = ptr.String(jtv) } - case "max": if value != nil { switch jtv := value.(type) { @@ -7032,7 +7015,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } } - case "min": if value != nil { switch jtv := value.(type) { @@ -7066,7 +7048,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } } - case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7075,7 +7056,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.StructFullyQualifiedName = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -7084,7 +7064,6 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -7120,7 +7099,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } - case "assignedValue": if value != nil { jtv, ok := value.(string) @@ -7129,7 +7107,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.AssignedValue = ptr.String(jtv) } - case "comment": if value != nil { jtv, ok := value.(string) @@ -7138,7 +7115,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Comment = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -7147,7 +7123,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DataType = types.NodeDataType(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -7156,7 +7131,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DefaultValue = ptr.String(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -7165,7 +7139,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7174,7 +7147,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7183,7 +7155,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.FullyQualifiedName = ptr.String(jtv) } - case "max": if value != nil { switch jtv := value.(type) { @@ -7217,7 +7188,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } } - case "min": if value != nil { switch jtv := value.(type) { @@ -7251,7 +7221,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } } - case "unit": if value != nil { jtv, ok := value.(string) @@ -7260,7 +7229,6 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -7336,7 +7304,6 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Comment = ptr.String(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -7345,7 +7312,6 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7354,7 +7320,6 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7363,7 +7328,6 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.FullyQualifiedName = ptr.String(jtv) } - default: _, _ = key, value @@ -7437,7 +7401,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7453,7 +7416,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -7462,7 +7424,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -7478,7 +7439,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7487,7 +7447,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -7496,7 +7455,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.SignalCatalogArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7505,7 +7463,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Status = types.CampaignStatus(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -7514,7 +7471,6 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7554,7 +7510,6 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.Name = ptr.String(jtv) } - case "protocolName": if value != nil { jtv, ok := value.(string) @@ -7563,7 +7518,6 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.ProtocolName = ptr.String(jtv) } - case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -7572,7 +7526,6 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.ProtocolVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -7637,7 +7590,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } } - case "isBigEndian": if value != nil { jtv, ok := value.(bool) @@ -7646,7 +7598,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.IsBigEndian = jtv } - case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -7655,7 +7606,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.IsSigned = jtv } - case "length": if value != nil { jtv, ok := value.(json.Number) @@ -7668,7 +7618,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.Length = int32(i64) } - case "messageId": if value != nil { jtv, ok := value.(json.Number) @@ -7681,7 +7630,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.MessageId = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7690,7 +7638,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.Name = ptr.String(jtv) } - case "offset": if value != nil { switch jtv := value.(type) { @@ -7724,7 +7671,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } } - case "startBit": if value != nil { jtv, ok := value.(json.Number) @@ -7737,7 +7683,6 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.StartBit = int32(i64) } - default: _, _ = key, value @@ -7777,7 +7722,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(v **types.Clou } sv.LogGroupName = ptr.String(jtv) } - case "logType": if value != nil { jtv, ok := value.(string) @@ -7786,7 +7730,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(v **types.Clou } sv.LogType = types.LogType(jtv) } - default: _, _ = key, value @@ -7880,7 +7823,6 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.ConditionLanguageVersion = ptr.Int32(int32(i64)) } - case "expression": if value != nil { jtv, ok := value.(string) @@ -7889,7 +7831,6 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.Expression = ptr.String(jtv) } - case "minimumTriggerIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -7902,7 +7843,6 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.MinimumTriggerIntervalMs = ptr.Int64(i64) } - case "triggerMode": if value != nil { jtv, ok := value.(string) @@ -7911,7 +7851,6 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.TriggerMode = types.TriggerMode(jtv) } - default: _, _ = key, value @@ -7941,15 +7880,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7957,7 +7890,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -7966,7 +7898,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7975,15 +7906,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8018,7 +7945,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8027,7 +7953,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.Message = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -8036,7 +7961,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -8110,7 +8034,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.Arn = ptr.String(jtv) } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -8119,7 +8042,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.ThingArn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -8128,7 +8050,6 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -8202,7 +8123,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.Comment = ptr.String(jtv) } - case "dataEncoding": if value != nil { jtv, ok := value.(string) @@ -8211,7 +8131,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DataEncoding = types.NodeDataEncoding(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -8220,7 +8139,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DataType = types.NodeDataType(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -8229,7 +8147,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8238,7 +8155,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8247,7 +8163,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.FullyQualifiedName = ptr.String(jtv) } - case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8256,7 +8171,6 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.StructFullyQualifiedName = ptr.String(jtv) } - default: _, _ = key, value @@ -8296,7 +8210,6 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.Comment = ptr.String(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -8305,7 +8218,6 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8314,7 +8226,6 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8323,7 +8234,6 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.FullyQualifiedName = ptr.String(jtv) } - default: _, _ = key, value @@ -8515,7 +8425,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8531,7 +8440,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8540,7 +8448,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8556,7 +8463,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } } - case "message": if value != nil { jtv, ok := value.(string) @@ -8565,7 +8471,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Message = ptr.String(jtv) } - case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -8574,7 +8479,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.ModelManifestArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8583,7 +8487,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8592,7 +8495,6 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Status = types.ManifestStatus(jtv) } - default: _, _ = key, value @@ -8622,25 +8524,17 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidNetworkInterfaces": if err := awsAwsjson10_deserializeDocumentInvalidNetworkInterfaces(&sv.InvalidNetworkInterfaces, value); err != nil { return err } - case "invalidSignals": if err := awsAwsjson10_deserializeDocumentInvalidSignalDecoders(&sv.InvalidSignals, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8648,15 +8542,11 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8761,7 +8651,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8777,7 +8666,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8786,7 +8674,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8795,7 +8682,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Id = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8811,7 +8697,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -8820,7 +8705,6 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.SignalCatalogArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8860,7 +8744,6 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.ErrorMessage = ptr.String(jtv) } - case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -8869,7 +8752,6 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8878,7 +8760,6 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8918,7 +8799,6 @@ func awsAwsjson10_deserializeDocumentIamResources(v **types.IamResources, value } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8948,15 +8828,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8964,7 +8838,6 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8977,15 +8850,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9020,7 +8889,6 @@ func awsAwsjson10_deserializeDocumentInvalidNetworkInterface(v **types.InvalidNe } sv.InterfaceId = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9029,7 +8897,6 @@ func awsAwsjson10_deserializeDocumentInvalidNetworkInterface(v **types.InvalidNe } sv.Reason = types.NetworkInterfaceFailureReason(jtv) } - default: _, _ = key, value @@ -9093,20 +8960,13 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidNodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.InvalidNodes, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9114,7 +8974,6 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9123,15 +8982,11 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9166,7 +9021,6 @@ func awsAwsjson10_deserializeDocumentInvalidSignal(v **types.InvalidSignal, valu } sv.Name = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9175,7 +9029,6 @@ func awsAwsjson10_deserializeDocumentInvalidSignal(v **types.InvalidSignal, valu } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -9215,7 +9068,6 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Hint = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9224,7 +9076,6 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Name = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9233,7 +9084,6 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Reason = types.SignalDecoderFailureReason(jtv) } - default: _, _ = key, value @@ -9331,20 +9181,13 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidSignals": if err := awsAwsjson10_deserializeDocumentInvalidSignals(&sv.InvalidSignals, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9352,15 +9195,11 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9385,15 +9224,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9401,7 +9234,6 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9410,7 +9242,6 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9419,15 +9250,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9494,7 +9321,6 @@ func awsAwsjson10_deserializeDocumentMessageSignal(v **types.MessageSignal, valu if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.StructuredMessage, value); err != nil { return err } - case "topicName": if value != nil { jtv, ok := value.(string) @@ -9503,7 +9329,6 @@ func awsAwsjson10_deserializeDocumentMessageSignal(v **types.MessageSignal, valu } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -9577,7 +9402,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9593,7 +9417,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9602,7 +9425,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9618,7 +9440,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9627,7 +9448,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Name = ptr.String(jtv) } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -9636,7 +9456,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.SignalCatalogArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9645,7 +9464,6 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Status = types.ManifestStatus(jtv) } - default: _, _ = key, value @@ -9681,7 +9499,6 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsAwsjson10_deserializeDocumentCanInterface(&sv.CanInterface, value); err != nil { return err } - case "interfaceId": if value != nil { jtv, ok := value.(string) @@ -9690,12 +9507,10 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.InterfaceId = ptr.String(jtv) } - case "obdInterface": if err := awsAwsjson10_deserializeDocumentObdInterface(&sv.ObdInterface, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9704,12 +9519,10 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Type = types.NetworkInterfaceType(jtv) } - case "vehicleMiddleware": if err := awsAwsjson10_deserializeDocumentVehicleMiddleware(&sv.VehicleMiddleware, value); err != nil { return err } - default: _, _ = key, value @@ -9877,7 +9690,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalActuators = int32(i64) } - case "totalAttributes": if value != nil { jtv, ok := value.(json.Number) @@ -9890,7 +9702,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalAttributes = int32(i64) } - case "totalBranches": if value != nil { jtv, ok := value.(json.Number) @@ -9903,7 +9714,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalBranches = int32(i64) } - case "totalNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9916,7 +9726,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalNodes = int32(i64) } - case "totalProperties": if value != nil { jtv, ok := value.(json.Number) @@ -9929,7 +9738,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalProperties = int32(i64) } - case "totalSensors": if value != nil { jtv, ok := value.(json.Number) @@ -9942,7 +9750,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalSensors = int32(i64) } - case "totalStructs": if value != nil { jtv, ok := value.(json.Number) @@ -9955,7 +9762,6 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalStructs = int32(i64) } - default: _, _ = key, value @@ -10031,7 +9837,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.DtcRequestIntervalSeconds = int32(i64) } - case "hasTransmissionEcu": if value != nil { jtv, ok := value.(bool) @@ -10040,7 +9845,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.HasTransmissionEcu = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -10049,7 +9853,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.Name = ptr.String(jtv) } - case "obdStandard": if value != nil { jtv, ok := value.(string) @@ -10058,7 +9861,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.ObdStandard = ptr.String(jtv) } - case "pidRequestIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10071,7 +9873,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.PidRequestIntervalSeconds = int32(i64) } - case "requestMessageId": if value != nil { jtv, ok := value.(json.Number) @@ -10084,7 +9885,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.RequestMessageId = int32(i64) } - case "useExtendedIds": if value != nil { jtv, ok := value.(bool) @@ -10093,7 +9893,6 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.UseExtendedIds = jtv } - default: _, _ = key, value @@ -10137,7 +9936,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.BitMaskLength = ptr.Int32(int32(i64)) } - case "bitRightShift": if value != nil { jtv, ok := value.(json.Number) @@ -10150,7 +9948,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.BitRightShift = int32(i64) } - case "byteLength": if value != nil { jtv, ok := value.(json.Number) @@ -10163,7 +9960,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.ByteLength = ptr.Int32(int32(i64)) } - case "offset": if value != nil { switch jtv := value.(type) { @@ -10197,7 +9993,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -10210,7 +10005,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.Pid = int32(i64) } - case "pidResponseLength": if value != nil { jtv, ok := value.(json.Number) @@ -10223,7 +10017,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.PidResponseLength = ptr.Int32(int32(i64)) } - case "scaling": if value != nil { switch jtv := value.(type) { @@ -10257,7 +10050,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } } - case "serviceMode": if value != nil { jtv, ok := value.(json.Number) @@ -10270,7 +10062,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.ServiceMode = int32(i64) } - case "startByte": if value != nil { jtv, ok := value.(json.Number) @@ -10283,7 +10074,6 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.StartByte = int32(i64) } - default: _, _ = key, value @@ -10353,15 +10143,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10369,7 +10153,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10378,7 +10161,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10387,15 +10169,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10455,7 +10233,6 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } } - case "primitiveType": if value != nil { jtv, ok := value.(string) @@ -10464,7 +10241,6 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } sv.PrimitiveType = types.ROS2PrimitiveType(jtv) } - case "scaling": if value != nil { switch jtv := value.(type) { @@ -10498,7 +10274,6 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } } - case "upperBound": if value != nil { jtv, ok := value.(json.Number) @@ -10511,7 +10286,6 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } sv.UpperBound = ptr.Int64(i64) } - default: _, _ = key, value @@ -10551,7 +10325,6 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketArn = ptr.String(jtv) } - case "dataFormat": if value != nil { jtv, ok := value.(string) @@ -10560,7 +10333,6 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.DataFormat = types.DataFormat(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -10569,7 +10341,6 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.Prefix = ptr.String(jtv) } - case "storageCompressionFormat": if value != nil { jtv, ok := value.(string) @@ -10578,7 +10349,6 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.StorageCompressionFormat = types.StorageCompressionFormat(jtv) } - default: _, _ = key, value @@ -10614,7 +10384,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } - case "comment": if value != nil { jtv, ok := value.(string) @@ -10623,7 +10392,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Comment = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -10632,7 +10400,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.DataType = types.NodeDataType(jtv) } - case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -10641,7 +10408,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.DeprecationMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10650,7 +10416,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Description = ptr.String(jtv) } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10659,7 +10424,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.FullyQualifiedName = ptr.String(jtv) } - case "max": if value != nil { switch jtv := value.(type) { @@ -10693,7 +10457,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } } - case "min": if value != nil { switch jtv := value.(type) { @@ -10727,7 +10490,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } } - case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10736,7 +10498,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.StructFullyQualifiedName = ptr.String(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -10745,7 +10506,6 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -10819,7 +10579,6 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10835,7 +10594,6 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10851,7 +10609,6 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10860,7 +10617,6 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10896,7 +10652,6 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu if err := awsAwsjson10_deserializeDocumentCanSignal(&sv.CanSignal, value); err != nil { return err } - case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10660,6 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.FullyQualifiedName = ptr.String(jtv) } - case "interfaceId": if value != nil { jtv, ok := value.(string) @@ -10914,17 +10668,14 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.InterfaceId = ptr.String(jtv) } - case "messageSignal": if err := awsAwsjson10_deserializeDocumentMessageSignal(&sv.MessageSignal, value); err != nil { return err } - case "obdSignal": if err := awsAwsjson10_deserializeDocumentObdSignal(&sv.ObdSignal, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10933,7 +10684,6 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.Type = types.SignalDecoderType(jtv) } - default: _, _ = key, value @@ -11011,7 +10761,6 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.MaxSampleCount = ptr.Int64(i64) } - case "minimumSamplingIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -11024,7 +10773,6 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.MinimumSamplingIntervalMs = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11033,7 +10781,6 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11193,7 +10940,6 @@ func awsAwsjson10_deserializeDocumentStructuredMessageFieldNameAndDataTypePair(v if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.DataType, value); err != nil { return err } - case "fieldName": if value != nil { jtv, ok := value.(string) @@ -11202,7 +10948,6 @@ func awsAwsjson10_deserializeDocumentStructuredMessageFieldNameAndDataTypePair(v } sv.FieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -11246,7 +10991,6 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.Capacity = int32(i64) } - case "listType": if value != nil { jtv, ok := value.(string) @@ -11255,12 +10999,10 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.ListType = types.StructuredMessageListType(jtv) } - case "memberType": if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.MemberType, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11269,7 +11011,6 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11309,7 +11050,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11318,7 +11058,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11382,15 +11121,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11398,7 +11131,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11407,7 +11139,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11420,7 +11151,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11429,15 +11159,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11476,7 +11202,6 @@ func awsAwsjson10_deserializeDocumentTimeBasedCollectionScheme(v **types.TimeBas } sv.PeriodMs = ptr.Int64(i64) } - default: _, _ = key, value @@ -11516,7 +11241,6 @@ func awsAwsjson10_deserializeDocumentTimestreamConfig(v **types.TimestreamConfig } sv.ExecutionRoleArn = ptr.String(jtv) } - case "timestreamTableArn": if value != nil { jtv, ok := value.(string) @@ -11525,7 +11249,6 @@ func awsAwsjson10_deserializeDocumentTimestreamConfig(v **types.TimestreamConfig } sv.TimestreamTableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11565,7 +11288,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.ErrorMessage = ptr.String(jtv) } - case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -11574,7 +11296,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "timestreamDatabaseArn": if value != nil { jtv, ok := value.(string) @@ -11583,7 +11304,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamDatabaseArn = ptr.String(jtv) } - case "timestreamDatabaseName": if value != nil { jtv, ok := value.(string) @@ -11592,7 +11312,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamDatabaseName = ptr.String(jtv) } - case "timestreamTableArn": if value != nil { jtv, ok := value.(string) @@ -11601,7 +11320,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamTableArn = ptr.String(jtv) } - case "timestreamTableName": if value != nil { jtv, ok := value.(string) @@ -11610,7 +11328,6 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamTableName = ptr.String(jtv) } - default: _, _ = key, value @@ -11650,7 +11367,6 @@ func awsAwsjson10_deserializeDocumentTimestreamResources(v **types.TimestreamRes } sv.TimestreamDatabaseName = ptr.String(jtv) } - case "timestreamTableName": if value != nil { jtv, ok := value.(string) @@ -11659,7 +11375,6 @@ func awsAwsjson10_deserializeDocumentTimestreamResources(v **types.TimestreamRes } sv.TimestreamTableName = ptr.String(jtv) } - default: _, _ = key, value @@ -11703,7 +11418,6 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.Code = int32(i64) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11712,7 +11426,6 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.Message = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11721,7 +11434,6 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -11795,7 +11507,6 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleResponseItem(v **types.UpdateV } sv.Arn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11804,7 +11515,6 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleResponseItem(v **types.UpdateV } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -11868,20 +11578,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11889,7 +11592,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -11898,15 +11600,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11941,7 +11639,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11950,7 +11647,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12024,7 +11720,6 @@ func awsAwsjson10_deserializeDocumentVehicleMiddleware(v **types.VehicleMiddlewa } sv.Name = ptr.String(jtv) } - case "protocolName": if value != nil { jtv, ok := value.(string) @@ -12033,7 +11728,6 @@ func awsAwsjson10_deserializeDocumentVehicleMiddleware(v **types.VehicleMiddlewa } sv.ProtocolName = types.VehicleMiddlewareProtocol(jtv) } - default: _, _ = key, value @@ -12109,7 +11803,6 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.CampaignName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12118,7 +11811,6 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.Status = types.VehicleState(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -12127,7 +11819,6 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -12235,12 +11926,10 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.Arn = ptr.String(jtv) } - case "attributes": if err := awsAwsjson10_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12256,7 +11945,6 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } } - case "decoderManifestArn": if value != nil { jtv, ok := value.(string) @@ -12265,7 +11953,6 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.DecoderManifestArn = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -12281,7 +11968,6 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } } - case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -12290,7 +11976,6 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.ModelManifestArn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -12299,7 +11984,6 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -12366,12 +12050,10 @@ func awsAwsjson10_deserializeOpDocumentBatchCreateVehicleOutput(v **BatchCreateV if err := awsAwsjson10_deserializeDocumentCreateVehicleErrors(&sv.Errors, value); err != nil { return err } - case "vehicles": if err := awsAwsjson10_deserializeDocumentCreateVehicleResponses(&sv.Vehicles, value); err != nil { return err } - default: _, _ = key, value @@ -12407,12 +12089,10 @@ func awsAwsjson10_deserializeOpDocumentBatchUpdateVehicleOutput(v **BatchUpdateV if err := awsAwsjson10_deserializeDocumentUpdateVehicleErrors(&sv.Errors, value); err != nil { return err } - case "vehicles": if err := awsAwsjson10_deserializeDocumentUpdateVehicleResponseItems(&sv.Vehicles, value); err != nil { return err } - default: _, _ = key, value @@ -12452,7 +12132,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12461,7 +12140,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12501,7 +12179,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDecoderManifestOutput(v **CreateDec } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12510,7 +12187,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDecoderManifestOutput(v **CreateDec } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12550,7 +12226,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12559,7 +12234,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12599,7 +12273,6 @@ func awsAwsjson10_deserializeOpDocumentCreateModelManifestOutput(v **CreateModel } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12608,7 +12281,6 @@ func awsAwsjson10_deserializeOpDocumentCreateModelManifestOutput(v **CreateModel } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12648,7 +12320,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSignalCatalogOutput(v **CreateSigna } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12657,7 +12328,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSignalCatalogOutput(v **CreateSigna } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12697,7 +12367,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.Arn = ptr.String(jtv) } - case "thingArn": if value != nil { jtv, ok := value.(string) @@ -12706,7 +12375,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.ThingArn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -12715,7 +12383,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -12755,7 +12422,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12764,7 +12430,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12804,7 +12469,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDecoderManifestOutput(v **DeleteDec } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12813,7 +12477,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDecoderManifestOutput(v **DeleteDec } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12853,7 +12516,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFleetOutput(v **DeleteFleetOutput, } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12862,7 +12524,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFleetOutput(v **DeleteFleetOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12902,7 +12563,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteModelManifestOutput(v **DeleteModel } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12911,7 +12571,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteModelManifestOutput(v **DeleteModel } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12951,7 +12610,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteSignalCatalogOutput(v **DeleteSigna } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12960,7 +12618,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteSignalCatalogOutput(v **DeleteSigna } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13000,7 +12657,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVehicleOutput(v **DeleteVehicleOutp } sv.Arn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -13009,7 +12665,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVehicleOutput(v **DeleteVehicleOutp } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -13080,12 +12735,10 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Arn = ptr.String(jtv) } - case "collectionScheme": if err := awsAwsjson10_deserializeDocumentCollectionScheme(&sv.CollectionScheme, value); err != nil { return err } - case "compression": if value != nil { jtv, ok := value.(string) @@ -13094,7 +12747,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Compression = types.Compression(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13110,17 +12762,14 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } - case "dataDestinationConfigs": if err := awsAwsjson10_deserializeDocumentDataDestinationConfigs(&sv.DataDestinationConfigs, value); err != nil { return err } - case "dataExtraDimensions": if err := awsAwsjson10_deserializeDocumentDataExtraDimensionNodePathList(&sv.DataExtraDimensions, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -13129,7 +12778,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Description = ptr.String(jtv) } - case "diagnosticsMode": if value != nil { jtv, ok := value.(string) @@ -13138,7 +12786,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.DiagnosticsMode = types.DiagnosticsMode(jtv) } - case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -13154,7 +12801,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13170,7 +12816,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13179,7 +12824,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Name = ptr.String(jtv) } - case "postTriggerCollectionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -13192,7 +12836,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.PostTriggerCollectionDuration = ptr.Int64(i64) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -13205,7 +12848,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Priority = ptr.Int32(int32(i64)) } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -13214,12 +12856,10 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.SignalCatalogArn = ptr.String(jtv) } - case "signalsToCollect": if err := awsAwsjson10_deserializeDocumentSignalInformationList(&sv.SignalsToCollect, value); err != nil { return err } - case "spoolingMode": if value != nil { jtv, ok := value.(string) @@ -13228,7 +12868,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.SpoolingMode = types.SpoolingMode(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -13244,7 +12883,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } - case "status": if value != nil { jtv, ok := value.(string) @@ -13253,7 +12891,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Status = types.CampaignStatus(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -13262,7 +12899,6 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13302,7 +12938,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13318,7 +12953,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13327,7 +12961,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13343,7 +12976,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } } - case "message": if value != nil { jtv, ok := value.(string) @@ -13352,7 +12984,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Message = ptr.String(jtv) } - case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -13361,7 +12992,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.ModelManifestArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13370,7 +13000,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13379,7 +13008,6 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Status = types.ManifestStatus(jtv) } - default: _, _ = key, value @@ -13426,7 +13054,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } } - case "encryptionStatus": if value != nil { jtv, ok := value.(string) @@ -13435,7 +13062,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.EncryptionStatus = types.EncryptionStatus(jtv) } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -13444,7 +13070,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.EncryptionType = types.EncryptionType(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -13453,7 +13078,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.ErrorMessage = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13462,7 +13086,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.KmsKeyId = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13478,7 +13101,6 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } } - default: _, _ = key, value @@ -13518,7 +13140,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13534,7 +13155,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13543,7 +13163,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13552,7 +13171,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Id = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13568,7 +13186,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -13577,7 +13194,6 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.SignalCatalogArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13613,7 +13229,6 @@ func awsAwsjson10_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt if err := awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(&sv.CloudWatchLogDelivery, value); err != nil { return err } - default: _, _ = key, value @@ -13653,7 +13268,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13669,7 +13283,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13678,7 +13291,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13694,7 +13306,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13703,7 +13314,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Name = ptr.String(jtv) } - case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -13712,7 +13322,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.SignalCatalogArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13721,7 +13330,6 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Status = types.ManifestStatus(jtv) } - default: _, _ = key, value @@ -13761,7 +13369,6 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } sv.AccountStatus = types.RegistrationStatus(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13777,7 +13384,6 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } } - case "customerAccountId": if value != nil { jtv, ok := value.(string) @@ -13786,12 +13392,10 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } sv.CustomerAccountId = ptr.String(jtv) } - case "iamRegistrationResponse": if err := awsAwsjson10_deserializeDocumentIamRegistrationResponse(&sv.IamRegistrationResponse, value); err != nil { return err } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13807,12 +13411,10 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } } - case "timestreamRegistrationResponse": if err := awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(&sv.TimestreamRegistrationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13852,7 +13454,6 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13868,7 +13469,6 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13877,7 +13477,6 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Description = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13893,7 +13492,6 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13902,12 +13500,10 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Name = ptr.String(jtv) } - case "nodeCounts": if err := awsAwsjson10_deserializeDocumentNodeCounts(&sv.NodeCounts, value); err != nil { return err } - default: _, _ = key, value @@ -13947,12 +13543,10 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.Arn = ptr.String(jtv) } - case "attributes": if err := awsAwsjson10_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13968,7 +13562,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } } - case "decoderManifestArn": if value != nil { jtv, ok := value.(string) @@ -13977,7 +13570,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.DecoderManifestArn = ptr.String(jtv) } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13993,7 +13585,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } } - case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -14002,7 +13593,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.ModelManifestArn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -14011,7 +13601,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value @@ -14047,7 +13636,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleStatusOutput(v **GetVehicleStat if err := awsAwsjson10_deserializeDocumentVehicleStatusList(&sv.Campaigns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14056,7 +13644,6 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleStatusOutput(v **GetVehicleStat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14096,7 +13683,6 @@ func awsAwsjson10_deserializeOpDocumentImportDecoderManifestOutput(v **ImportDec } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14105,7 +13691,6 @@ func awsAwsjson10_deserializeOpDocumentImportDecoderManifestOutput(v **ImportDec } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14145,7 +13730,6 @@ func awsAwsjson10_deserializeOpDocumentImportSignalCatalogOutput(v **ImportSigna } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14154,7 +13738,6 @@ func awsAwsjson10_deserializeOpDocumentImportSignalCatalogOutput(v **ImportSigna } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14190,7 +13773,6 @@ func awsAwsjson10_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsAwsjson10_deserializeDocumentCampaignSummaries(&sv.CampaignSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14199,7 +13781,6 @@ func awsAwsjson10_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14235,7 +13816,6 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestNetworkInterfacesOutpu if err := awsAwsjson10_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14244,7 +13824,6 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestNetworkInterfacesOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14284,12 +13863,10 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestSignalsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "signalDecoders": if err := awsAwsjson10_deserializeDocumentSignalDecoders(&sv.SignalDecoders, value); err != nil { return err } - default: _, _ = key, value @@ -14329,12 +13906,10 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestsOutput(v **ListDecode } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson10_deserializeDocumentDecoderManifestSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -14370,7 +13945,6 @@ func awsAwsjson10_deserializeOpDocumentListFleetsForVehicleOutput(v **ListFleets if err := awsAwsjson10_deserializeDocumentFleets(&sv.Fleets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14379,7 +13953,6 @@ func awsAwsjson10_deserializeOpDocumentListFleetsForVehicleOutput(v **ListFleets } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14415,7 +13988,6 @@ func awsAwsjson10_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson10_deserializeDocumentFleetSummaries(&sv.FleetSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14424,7 +13996,6 @@ func awsAwsjson10_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14464,12 +14035,10 @@ func awsAwsjson10_deserializeOpDocumentListModelManifestNodesOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } - case "nodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -14509,12 +14078,10 @@ func awsAwsjson10_deserializeOpDocumentListModelManifestsOutput(v **ListModelMan } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson10_deserializeDocumentModelManifestSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -14554,12 +14121,10 @@ func awsAwsjson10_deserializeOpDocumentListSignalCatalogNodesOutput(v **ListSign } sv.NextToken = ptr.String(jtv) } - case "nodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -14599,12 +14164,10 @@ func awsAwsjson10_deserializeOpDocumentListSignalCatalogsOutput(v **ListSignalCa } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson10_deserializeDocumentSignalCatalogSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -14640,7 +14203,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14680,12 +14242,10 @@ func awsAwsjson10_deserializeOpDocumentListVehiclesInFleetOutput(v **ListVehicle } sv.NextToken = ptr.String(jtv) } - case "vehicles": if err := awsAwsjson10_deserializeDocumentVehicles(&sv.Vehicles, value); err != nil { return err } - default: _, _ = key, value @@ -14725,12 +14285,10 @@ func awsAwsjson10_deserializeOpDocumentListVehiclesOutput(v **ListVehiclesOutput } sv.NextToken = ptr.String(jtv) } - case "vehicleSummaries": if err := awsAwsjson10_deserializeDocumentVehicleSummaries(&sv.VehicleSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -14770,7 +14328,6 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.EncryptionStatus = types.EncryptionStatus(jtv) } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -14779,7 +14336,6 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14788,7 +14344,6 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -14866,12 +14421,10 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } } - case "iamResources": if err := awsAwsjson10_deserializeDocumentIamResources(&sv.IamResources, value); err != nil { return err } - case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14887,7 +14440,6 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } } - case "registerAccountStatus": if value != nil { jtv, ok := value.(string) @@ -14896,12 +14448,10 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } sv.RegisterAccountStatus = types.RegistrationStatus(jtv) } - case "timestreamResources": if err := awsAwsjson10_deserializeDocumentTimestreamResources(&sv.TimestreamResources, value); err != nil { return err } - default: _, _ = key, value @@ -15003,7 +14553,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15012,7 +14561,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15021,7 +14569,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Status = types.CampaignStatus(jtv) } - default: _, _ = key, value @@ -15061,7 +14608,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDecoderManifestOutput(v **UpdateDec } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15070,7 +14616,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDecoderManifestOutput(v **UpdateDec } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15110,7 +14655,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15119,7 +14663,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -15159,7 +14702,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateModelManifestOutput(v **UpdateModel } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15168,7 +14710,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateModelManifestOutput(v **UpdateModel } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15208,7 +14749,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSignalCatalogOutput(v **UpdateSigna } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15217,7 +14757,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSignalCatalogOutput(v **UpdateSigna } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15257,7 +14796,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateVehicleOutput(v **UpdateVehicleOutp } sv.Arn = ptr.String(jtv) } - case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -15266,7 +14804,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateVehicleOutput(v **UpdateVehicleOutp } sv.VehicleName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iotjobsdataplane/deserializers.go b/service/iotjobsdataplane/deserializers.go index 1c6c6dff09a..a31d0042b9e 100644 --- a/service/iotjobsdataplane/deserializers.go +++ b/service/iotjobsdataplane/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobExecutionOutput(v **DescribeJo if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } - default: _, _ = key, value @@ -351,12 +350,10 @@ func awsRestjson1_deserializeOpDocumentGetPendingJobExecutionsOutput(v **GetPend if err := awsRestjson1_deserializeDocumentJobExecutionSummaryList(&sv.InProgressJobs, value); err != nil { return err } - case "queuedJobs": if err := awsRestjson1_deserializeDocumentJobExecutionSummaryList(&sv.QueuedJobs, value); err != nil { return err } - default: _, _ = key, value @@ -520,7 +517,6 @@ func awsRestjson1_deserializeOpDocumentStartNextPendingJobExecutionOutput(v **St if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } - default: _, _ = key, value @@ -687,7 +683,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJobExecutionOutput(v **UpdateJobExe if err := awsRestjson1_deserializeDocumentJobExecutionState(&sv.ExecutionState, value); err != nil { return err } - case "jobDocument": if value != nil { jtv, ok := value.(string) @@ -696,7 +691,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJobExecutionOutput(v **UpdateJobExe } sv.JobDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -978,15 +972,9 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -994,15 +982,11 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1063,15 +1047,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1079,15 +1057,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1112,15 +1086,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1128,15 +1096,11 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1175,7 +1139,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ApproximateSecondsBeforeTimedOut = ptr.Int64(i64) } - case "executionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1188,7 +1151,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ExecutionNumber = ptr.Int64(i64) } - case "jobDocument": if value != nil { jtv, ok := value.(string) @@ -1197,7 +1159,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobDocument = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1206,7 +1167,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1219,7 +1179,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.LastUpdatedAt = i64 } - case "queuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1232,7 +1191,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.QueuedAt = i64 } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1245,7 +1203,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.StartedAt = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1254,12 +1211,10 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.Status = types.JobExecutionStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.StatusDetails, value); err != nil { return err } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -1268,7 +1223,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ThingName = ptr.String(jtv) } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1281,7 +1235,6 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.VersionNumber = i64 } - default: _, _ = key, value @@ -1321,12 +1274,10 @@ func awsRestjson1_deserializeDocumentJobExecutionState(v **types.JobExecutionSta } sv.Status = types.JobExecutionStatus(jtv) } - case "statusDetails": if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.StatusDetails, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1339,7 +1290,6 @@ func awsRestjson1_deserializeDocumentJobExecutionState(v **types.JobExecutionSta } sv.VersionNumber = i64 } - default: _, _ = key, value @@ -1383,7 +1333,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.ExecutionNumber = ptr.Int64(i64) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1392,7 +1341,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.JobId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1405,7 +1353,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.LastUpdatedAt = i64 } - case "queuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1418,7 +1365,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.QueuedAt = i64 } - case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1431,7 +1377,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.StartedAt = ptr.Int64(i64) } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1444,7 +1389,6 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.VersionNumber = i64 } - default: _, _ = key, value @@ -1508,15 +1452,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1524,15 +1462,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1557,15 +1491,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1573,15 +1501,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1606,15 +1530,9 @@ func awsRestjson1_deserializeDocumentTerminalStateException(v **types.TerminalSt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1622,15 +1540,11 @@ func awsRestjson1_deserializeDocumentTerminalStateException(v **types.TerminalSt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1655,15 +1569,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1671,7 +1579,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "payload": if value != nil { jtv, ok := value.(string) @@ -1684,15 +1591,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Payload = dv } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/iotsecuretunneling/deserializers.go b/service/iotsecuretunneling/deserializers.go index be465ebb840..0a88d3fd8d5 100644 --- a/service/iotsecuretunneling/deserializers.go +++ b/service/iotsecuretunneling/deserializers.go @@ -1021,7 +1021,6 @@ func awsAwsjson11_deserializeDocumentConnectionState(v **types.ConnectionState, } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1030,7 +1029,6 @@ func awsAwsjson11_deserializeDocumentConnectionState(v **types.ConnectionState, } sv.Status = types.ConnectionStatus(jtv) } - default: _, _ = key, value @@ -1066,7 +1064,6 @@ func awsAwsjson11_deserializeDocumentDestinationConfig(v **types.DestinationConf if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -1075,7 +1072,6 @@ func awsAwsjson11_deserializeDocumentDestinationConfig(v **types.DestinationConf } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -1105,15 +1101,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1121,15 +1111,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1154,15 +1140,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1170,15 +1150,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1249,7 +1225,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -1258,7 +1233,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1336,7 +1310,6 @@ func awsAwsjson11_deserializeDocumentTimeoutConfig(v **types.TimeoutConfig, valu } sv.MaxLifetimeTimeoutMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1383,7 +1356,6 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1392,17 +1364,14 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.Description = ptr.String(jtv) } - case "destinationConfig": if err := awsAwsjson11_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "destinationConnectionState": if err := awsAwsjson11_deserializeDocumentConnectionState(&sv.DestinationConnectionState, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1418,12 +1387,10 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } } - case "sourceConnectionState": if err := awsAwsjson11_deserializeDocumentConnectionState(&sv.SourceConnectionState, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1432,17 +1399,14 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.Status = types.TunnelStatus(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "timeoutConfig": if err := awsAwsjson11_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } - case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1451,7 +1415,6 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.TunnelArn = ptr.String(jtv) } - case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1460,7 +1423,6 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.TunnelId = ptr.String(jtv) } - default: _, _ = key, value @@ -1507,7 +1469,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1516,7 +1477,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.Description = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1532,7 +1492,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1541,7 +1500,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.Status = types.TunnelStatus(jtv) } - case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1550,7 +1508,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.TunnelArn = ptr.String(jtv) } - case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1559,7 +1516,6 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.TunnelId = ptr.String(jtv) } - default: _, _ = key, value @@ -1660,7 +1616,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTunnelOutput(v **DescribeTunnelOu if err := awsAwsjson11_deserializeDocumentTunnel(&sv.Tunnel, value); err != nil { return err } - default: _, _ = key, value @@ -1696,7 +1651,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1736,12 +1690,10 @@ func awsAwsjson11_deserializeOpDocumentListTunnelsOutput(v **ListTunnelsOutput, } sv.NextToken = ptr.String(jtv) } - case "tunnelSummaries": if err := awsAwsjson11_deserializeDocumentTunnelSummaryList(&sv.TunnelSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1781,7 +1733,6 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.DestinationAccessToken = ptr.String(jtv) } - case "sourceAccessToken": if value != nil { jtv, ok := value.(string) @@ -1790,7 +1741,6 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.SourceAccessToken = ptr.String(jtv) } - case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1799,7 +1749,6 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.TunnelArn = ptr.String(jtv) } - case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1808,7 +1757,6 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.TunnelId = ptr.String(jtv) } - default: _, _ = key, value @@ -1848,7 +1796,6 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.DestinationAccessToken = ptr.String(jtv) } - case "sourceAccessToken": if value != nil { jtv, ok := value.(string) @@ -1857,7 +1804,6 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.SourceAccessToken = ptr.String(jtv) } - case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1866,7 +1812,6 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.TunnelArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iotsitewise/deserializers.go b/service/iotsitewise/deserializers.go index 528d6adf1ef..6f4a24a3960 100644 --- a/service/iotsitewise/deserializers.go +++ b/service/iotsitewise/deserializers.go @@ -403,7 +403,6 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateProjectAssetsOutput(v **Bat if err := awsRestjson1_deserializeDocumentBatchAssociateProjectAssetsErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -564,7 +563,6 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateProjectAssetsOutput(v ** if err := awsRestjson1_deserializeDocumentBatchDisassociateProjectAssetsErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -725,7 +723,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyAggregatesOutput(v * if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -734,17 +731,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyAggregatesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntries(&sv.SkippedEntries, value); err != nil { return err } - case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntries(&sv.SuccessEntries, value); err != nil { return err } - default: _, _ = key, value @@ -905,7 +899,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -914,17 +907,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueOutput(v **Batc } sv.NextToken = ptr.String(jtv) } - case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntries(&sv.SkippedEntries, value); err != nil { return err } - case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntries(&sv.SuccessEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1085,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueHistoryOutput(v if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1094,17 +1083,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueHistoryOutput(v } sv.NextToken = ptr.String(jtv) } - case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEntries(&sv.SkippedEntries, value); err != nil { return err } - case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEntries(&sv.SuccessEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1274,7 +1260,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutAssetPropertyValueOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -1442,7 +1427,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess } sv.AccessPolicyArn = ptr.String(jtv) } - case "accessPolicyId": if value != nil { jtv, ok := value.(string) @@ -1451,7 +1435,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess } sv.AccessPolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -1625,7 +1608,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.AssetArn = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -1634,12 +1616,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.AssetId = ptr.String(jtv) } - case "assetStatus": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } - default: _, _ = key, value @@ -1813,7 +1793,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelOutput(v **CreateAssetMod } sv.AssetModelArn = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -1822,12 +1801,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelOutput(v **CreateAssetMod } sv.AssetModelId = ptr.String(jtv) } - case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -2004,17 +1981,14 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelCompositeModelOutput(v ** } sv.AssetModelCompositeModelId = ptr.String(jtv) } - case "assetModelCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } - case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -2188,7 +2162,6 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -2197,7 +2170,6 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobName = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2206,7 +2178,6 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -2374,7 +2345,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardArn = ptr.String(jtv) } - case "dashboardId": if value != nil { jtv, ok := value.(string) @@ -2383,7 +2353,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardId = ptr.String(jtv) } - default: _, _ = key, value @@ -2551,7 +2520,6 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayArn = ptr.String(jtv) } - case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -2560,7 +2528,6 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -2728,7 +2695,6 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalArn = ptr.String(jtv) } - case "portalId": if value != nil { jtv, ok := value.(string) @@ -2737,7 +2703,6 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalId = ptr.String(jtv) } - case "portalStartUrl": if value != nil { jtv, ok := value.(string) @@ -2746,12 +2711,10 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalStartUrl = ptr.String(jtv) } - case "portalStatus": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } - case "ssoApplicationId": if value != nil { jtv, ok := value.(string) @@ -2760,7 +2723,6 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.SsoApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -2928,7 +2890,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -2937,7 +2898,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -3198,7 +3158,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetOutput(v **DeleteAssetOutput, if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3365,7 +3324,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetModelOutput(v **DeleteAssetMod if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3532,7 +3490,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetModelCompositeModelOutput(v ** if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3899,7 +3856,6 @@ func awsRestjson1_deserializeOpDocumentDeletePortalOutput(v **DeletePortalOutput if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } - default: _, _ = key, value @@ -4267,7 +4223,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyArn = ptr.String(jtv) } - case "accessPolicyCreationDate": if value != nil { switch jtv := value.(type) { @@ -4283,7 +4238,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } } - case "accessPolicyId": if value != nil { jtv, ok := value.(string) @@ -4292,12 +4246,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyId = ptr.String(jtv) } - case "accessPolicyIdentity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.AccessPolicyIdentity, value); err != nil { return err } - case "accessPolicyLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -4313,7 +4265,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } } - case "accessPolicyPermission": if value != nil { jtv, ok := value.(string) @@ -4322,12 +4273,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyPermission = types.Permission(jtv) } - case "accessPolicyResource": if err := awsRestjson1_deserializeDocumentResource(&sv.AccessPolicyResource, value); err != nil { return err } - default: _, _ = key, value @@ -4492,7 +4441,6 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionDefinitionId = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -4501,12 +4449,10 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionId = ptr.String(jtv) } - case "actionPayload": if err := awsRestjson1_deserializeDocumentActionPayload(&sv.ActionPayload, value); err != nil { return err } - case "executionTime": if value != nil { switch jtv := value.(type) { @@ -4522,12 +4468,10 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } - case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } - default: _, _ = key, value @@ -4692,17 +4636,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetArn = ptr.String(jtv) } - case "assetCompositeModels": if err := awsRestjson1_deserializeDocumentAssetCompositeModels(&sv.AssetCompositeModels, value); err != nil { return err } - case "assetCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetCompositeModelSummaries(&sv.AssetCompositeModelSummaries, value); err != nil { return err } - case "assetCreationDate": if value != nil { switch jtv := value.(type) { @@ -4718,7 +4659,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } } - case "assetDescription": if value != nil { jtv, ok := value.(string) @@ -4727,7 +4667,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetDescription = ptr.String(jtv) } - case "assetExternalId": if value != nil { jtv, ok := value.(string) @@ -4736,12 +4675,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetExternalId = ptr.String(jtv) } - case "assetHierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.AssetHierarchies, value); err != nil { return err } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -4750,7 +4687,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetId = ptr.String(jtv) } - case "assetLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -4766,7 +4702,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -4775,7 +4710,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetModelId = ptr.String(jtv) } - case "assetName": if value != nil { jtv, ok := value.(string) @@ -4784,17 +4718,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetName = ptr.String(jtv) } - case "assetProperties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.AssetProperties, value); err != nil { return err } - case "assetStatus": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } - default: _, _ = key, value @@ -4955,7 +4886,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des if err := awsRestjson1_deserializeDocumentActionDefinitions(&sv.ActionDefinitions, value); err != nil { return err } - case "assetCompositeModelDescription": if value != nil { jtv, ok := value.(string) @@ -4964,7 +4894,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelDescription = ptr.String(jtv) } - case "assetCompositeModelExternalId": if value != nil { jtv, ok := value.(string) @@ -4973,7 +4902,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelExternalId = ptr.String(jtv) } - case "assetCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -4982,7 +4910,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelId = ptr.String(jtv) } - case "assetCompositeModelName": if value != nil { jtv, ok := value.(string) @@ -4991,22 +4918,18 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelName = ptr.String(jtv) } - case "assetCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetCompositeModelPath(&sv.AssetCompositeModelPath, value); err != nil { return err } - case "assetCompositeModelProperties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.AssetCompositeModelProperties, value); err != nil { return err } - case "assetCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetCompositeModelSummaries(&sv.AssetCompositeModelSummaries, value); err != nil { return err } - case "assetCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -5015,7 +4938,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelType = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -5024,7 +4946,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetId = ptr.String(jtv) } - default: _, _ = key, value @@ -5206,17 +5127,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelArn = ptr.String(jtv) } - case "assetModelCompositeModels": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModels(&sv.AssetModelCompositeModels, value); err != nil { return err } - case "assetModelCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } - case "assetModelCreationDate": if value != nil { switch jtv := value.(type) { @@ -5232,7 +5150,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } } - case "assetModelDescription": if value != nil { jtv, ok := value.(string) @@ -5241,7 +5158,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelDescription = ptr.String(jtv) } - case "assetModelExternalId": if value != nil { jtv, ok := value.(string) @@ -5250,12 +5166,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelExternalId = ptr.String(jtv) } - case "assetModelHierarchies": if err := awsRestjson1_deserializeDocumentAssetModelHierarchies(&sv.AssetModelHierarchies, value); err != nil { return err } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5264,7 +5178,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelId = ptr.String(jtv) } - case "assetModelLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -5280,7 +5193,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } } - case "assetModelName": if value != nil { jtv, ok := value.(string) @@ -5289,17 +5201,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelName = ptr.String(jtv) } - case "assetModelProperties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.AssetModelProperties, value); err != nil { return err } - case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - case "assetModelType": if value != nil { jtv, ok := value.(string) @@ -5308,7 +5217,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelType = types.AssetModelType(jtv) } - case "assetModelVersion": if value != nil { jtv, ok := value.(string) @@ -5317,7 +5225,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -5478,7 +5385,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v if err := awsRestjson1_deserializeDocumentActionDefinitions(&sv.ActionDefinitions, value); err != nil { return err } - case "assetModelCompositeModelDescription": if value != nil { jtv, ok := value.(string) @@ -5487,7 +5393,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelDescription = ptr.String(jtv) } - case "assetModelCompositeModelExternalId": if value != nil { jtv, ok := value.(string) @@ -5496,7 +5401,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelExternalId = ptr.String(jtv) } - case "assetModelCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -5505,7 +5409,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelId = ptr.String(jtv) } - case "assetModelCompositeModelName": if value != nil { jtv, ok := value.(string) @@ -5514,22 +5417,18 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelName = ptr.String(jtv) } - case "assetModelCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } - case "assetModelCompositeModelProperties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.AssetModelCompositeModelProperties, value); err != nil { return err } - case "assetModelCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } - case "assetModelCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -5538,7 +5437,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelType = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5547,12 +5445,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelId = ptr.String(jtv) } - case "compositionDetails": if err := awsRestjson1_deserializeDocumentCompositionDetails(&sv.CompositionDetails, value); err != nil { return err } - default: _, _ = key, value @@ -5717,7 +5613,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetExternalId = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -5726,7 +5621,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetId = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5735,7 +5629,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetModelId = ptr.String(jtv) } - case "assetName": if value != nil { jtv, ok := value.(string) @@ -5744,17 +5637,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetName = ptr.String(jtv) } - case "assetProperty": if err := awsRestjson1_deserializeDocumentProperty(&sv.AssetProperty, value); err != nil { return err } - case "compositeModel": if err := awsRestjson1_deserializeDocumentCompositeModelProperty(&sv.CompositeModel, value); err != nil { return err } - default: _, _ = key, value @@ -5919,7 +5809,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.AdaptiveIngestion = ptr.Bool(jtv) } - case "deleteFilesAfterImport": if value != nil { jtv, ok := value.(bool) @@ -5928,22 +5817,18 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.DeleteFilesAfterImport = ptr.Bool(jtv) } - case "errorReportLocation": if err := awsRestjson1_deserializeDocumentErrorReportLocation(&sv.ErrorReportLocation, value); err != nil { return err } - case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } - case "jobConfiguration": if err := awsRestjson1_deserializeDocumentJobConfiguration(&sv.JobConfiguration, value); err != nil { return err } - case "jobCreationDate": if value != nil { switch jtv := value.(type) { @@ -5959,7 +5844,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -5968,7 +5852,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobId = ptr.String(jtv) } - case "jobLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -5984,7 +5867,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -5993,7 +5875,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobName = ptr.String(jtv) } - case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -6002,7 +5883,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobRoleArn = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -6011,7 +5891,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -6176,7 +6055,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardArn = ptr.String(jtv) } - case "dashboardCreationDate": if value != nil { switch jtv := value.(type) { @@ -6192,7 +6070,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } } - case "dashboardDefinition": if value != nil { jtv, ok := value.(string) @@ -6201,7 +6078,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardDefinition = ptr.String(jtv) } - case "dashboardDescription": if value != nil { jtv, ok := value.(string) @@ -6210,7 +6086,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardDescription = ptr.String(jtv) } - case "dashboardId": if value != nil { jtv, ok := value.(string) @@ -6219,7 +6094,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardId = ptr.String(jtv) } - case "dashboardLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -6235,7 +6109,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } } - case "dashboardName": if value != nil { jtv, ok := value.(string) @@ -6244,7 +6117,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardName = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -6253,7 +6125,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.ProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -6411,7 +6282,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -6420,7 +6290,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6429,7 +6298,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6601,7 +6469,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } } - case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -6610,12 +6477,10 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayArn = ptr.String(jtv) } - case "gatewayCapabilitySummaries": if err := awsRestjson1_deserializeDocumentGatewayCapabilitySummaries(&sv.GatewayCapabilitySummaries, value); err != nil { return err } - case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -6624,7 +6489,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayId = ptr.String(jtv) } - case "gatewayName": if value != nil { jtv, ok := value.(string) @@ -6633,12 +6497,10 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayName = ptr.String(jtv) } - case "gatewayPlatform": if err := awsRestjson1_deserializeDocumentGatewayPlatform(&sv.GatewayPlatform, value); err != nil { return err } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -6654,7 +6516,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } } - default: _, _ = key, value @@ -6819,7 +6680,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilityConfiguration = ptr.String(jtv) } - case "capabilityNamespace": if value != nil { jtv, ok := value.(string) @@ -6828,7 +6688,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilityNamespace = ptr.String(jtv) } - case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -6837,7 +6696,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } - case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -6846,7 +6704,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.GatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -7007,7 +6864,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -7168,7 +7024,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu if err := awsRestjson1_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } - case "notificationSenderEmail": if value != nil { jtv, ok := value.(string) @@ -7177,7 +7032,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.NotificationSenderEmail = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -7186,7 +7040,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalArn = ptr.String(jtv) } - case "portalAuthMode": if value != nil { jtv, ok := value.(string) @@ -7195,7 +7048,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalAuthMode = types.AuthMode(jtv) } - case "portalClientId": if value != nil { jtv, ok := value.(string) @@ -7204,7 +7056,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalClientId = ptr.String(jtv) } - case "portalContactEmail": if value != nil { jtv, ok := value.(string) @@ -7213,7 +7064,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalContactEmail = ptr.String(jtv) } - case "portalCreationDate": if value != nil { switch jtv := value.(type) { @@ -7229,7 +7079,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } } - case "portalDescription": if value != nil { jtv, ok := value.(string) @@ -7238,7 +7087,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalDescription = ptr.String(jtv) } - case "portalId": if value != nil { jtv, ok := value.(string) @@ -7247,7 +7095,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalId = ptr.String(jtv) } - case "portalLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7263,12 +7110,10 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } } - case "portalLogoImageLocation": if err := awsRestjson1_deserializeDocumentImageLocation(&sv.PortalLogoImageLocation, value); err != nil { return err } - case "portalName": if value != nil { jtv, ok := value.(string) @@ -7277,7 +7122,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalName = ptr.String(jtv) } - case "portalStartUrl": if value != nil { jtv, ok := value.(string) @@ -7286,12 +7130,10 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalStartUrl = ptr.String(jtv) } - case "portalStatus": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7142,6 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7465,7 +7306,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.PortalId = ptr.String(jtv) } - case "projectArn": if value != nil { jtv, ok := value.(string) @@ -7474,7 +7314,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectArn = ptr.String(jtv) } - case "projectCreationDate": if value != nil { switch jtv := value.(type) { @@ -7490,7 +7329,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "projectDescription": if value != nil { jtv, ok := value.(string) @@ -7499,7 +7337,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectDescription = ptr.String(jtv) } - case "projectId": if value != nil { jtv, ok := value.(string) @@ -7508,7 +7345,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectId = ptr.String(jtv) } - case "projectLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7524,7 +7360,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -7533,7 +7368,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectName = ptr.String(jtv) } - default: _, _ = key, value @@ -7700,7 +7534,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } - case "disassociatedDataStorage": if value != nil { jtv, ok := value.(string) @@ -7709,7 +7542,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.DisassociatedDataStorage = types.DisassociatedDataStorageState(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7725,17 +7557,14 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } } - case "multiLayerStorage": if err := awsRestjson1_deserializeDocumentMultiLayerStorage(&sv.MultiLayerStorage, value); err != nil { return err } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -7744,7 +7573,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.StorageType = types.StorageType(jtv) } - case "warmTier": if value != nil { jtv, ok := value.(string) @@ -7753,12 +7581,10 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.WarmTier = types.WarmTierState(jtv) } - case "warmTierRetentionPeriod": if err := awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(&sv.WarmTierRetentionPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -7923,7 +7749,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.Alias = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -7932,7 +7757,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.AssetId = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -7941,7 +7765,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.DataType = types.PropertyDataType(jtv) } - case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -7950,7 +7773,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.DataTypeSpec = ptr.String(jtv) } - case "propertyId": if value != nil { jtv, ok := value.(string) @@ -7959,7 +7781,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.PropertyId = ptr.String(jtv) } - case "timeSeriesArn": if value != nil { jtv, ok := value.(string) @@ -7968,7 +7789,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.TimeSeriesArn = ptr.String(jtv) } - case "timeSeriesCreationDate": if value != nil { switch jtv := value.(type) { @@ -7984,7 +7804,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } } - case "timeSeriesId": if value != nil { jtv, ok := value.(string) @@ -7993,7 +7812,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.TimeSeriesId = ptr.String(jtv) } - case "timeSeriesLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -8009,7 +7827,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } } - default: _, _ = key, value @@ -8392,7 +8209,6 @@ func awsRestjson1_deserializeOpDocumentExecuteActionOutput(v **ExecuteActionOutp } sv.ActionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8562,7 +8378,6 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput if err := awsRestjson1_deserializeDocumentColumnsList(&sv.Columns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8571,12 +8386,10 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput } sv.NextToken = ptr.String(jtv) } - case "rows": if err := awsRestjson1_deserializeDocumentRows(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -8740,7 +8553,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyAggregatesOutput(v **GetA if err := awsRestjson1_deserializeDocumentAggregatedValues(&sv.AggregatedValues, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8749,7 +8561,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyAggregatesOutput(v **GetA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8913,7 +8724,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueOutput(v **GetAssetP if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.PropertyValue, value); err != nil { return err } - default: _, _ = key, value @@ -9077,7 +8887,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueHistoryOutput(v **Ge if err := awsRestjson1_deserializeDocumentAssetPropertyValueHistory(&sv.AssetPropertyValueHistory, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9086,7 +8895,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueHistoryOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9250,7 +9058,6 @@ func awsRestjson1_deserializeOpDocumentGetInterpolatedAssetPropertyValuesOutput( if err := awsRestjson1_deserializeDocumentInterpolatedAssetPropertyValues(&sv.InterpolatedAssetPropertyValues, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9259,7 +9066,6 @@ func awsRestjson1_deserializeOpDocumentGetInterpolatedAssetPropertyValuesOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9417,7 +9223,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsRestjson1_deserializeDocumentAccessPolicySummaries(&sv.AccessPolicySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9426,7 +9231,6 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9587,7 +9391,6 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsRestjson1_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9596,7 +9399,6 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9757,7 +9559,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelCompositeModelsOutput(v **L if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9766,7 +9567,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelCompositeModelsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9927,7 +9727,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelPropertiesOutput(v **ListAs if err := awsRestjson1_deserializeDocumentAssetModelPropertySummaries(&sv.AssetModelPropertySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9936,7 +9735,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelPropertiesOutput(v **ListAs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10094,7 +9892,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelsOutput(v **ListAssetModels if err := awsRestjson1_deserializeDocumentAssetModelSummaries(&sv.AssetModelSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10103,7 +9900,6 @@ func awsRestjson1_deserializeOpDocumentListAssetModelsOutput(v **ListAssetModels } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10264,7 +10060,6 @@ func awsRestjson1_deserializeOpDocumentListAssetPropertiesOutput(v **ListAssetPr if err := awsRestjson1_deserializeDocumentAssetPropertySummaries(&sv.AssetPropertySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10273,7 +10068,6 @@ func awsRestjson1_deserializeOpDocumentListAssetPropertiesOutput(v **ListAssetPr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10434,7 +10228,6 @@ func awsRestjson1_deserializeOpDocumentListAssetRelationshipsOutput(v **ListAsse if err := awsRestjson1_deserializeDocumentAssetRelationshipSummaries(&sv.AssetRelationshipSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10443,7 +10236,6 @@ func awsRestjson1_deserializeOpDocumentListAssetRelationshipsOutput(v **ListAsse } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10604,7 +10396,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocumentAssetSummaries(&sv.AssetSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10613,7 +10404,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10774,7 +10564,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAssetsOutput(v **ListAssoci if err := awsRestjson1_deserializeDocumentAssociatedAssetsSummaries(&sv.AssetSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10783,7 +10572,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAssetsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10944,7 +10732,6 @@ func awsRestjson1_deserializeOpDocumentListBulkImportJobsOutput(v **ListBulkImpo if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.JobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10953,7 +10740,6 @@ func awsRestjson1_deserializeOpDocumentListBulkImportJobsOutput(v **ListBulkImpo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11114,7 +10900,6 @@ func awsRestjson1_deserializeOpDocumentListCompositionRelationshipsOutput(v **Li if err := awsRestjson1_deserializeDocumentCompositionRelationshipSummaries(&sv.CompositionRelationshipSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11123,7 +10908,6 @@ func awsRestjson1_deserializeOpDocumentListCompositionRelationshipsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11281,7 +11065,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu if err := awsRestjson1_deserializeDocumentDashboardSummaries(&sv.DashboardSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11290,7 +11073,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11448,7 +11230,6 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsRestjson1_deserializeDocumentGatewaySummaries(&sv.GatewaySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11457,7 +11238,6 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11619,12 +11399,10 @@ func awsRestjson1_deserializeOpDocumentListPortalsOutput(v **ListPortalsOutput, } sv.NextToken = ptr.String(jtv) } - case "portalSummaries": if err := awsRestjson1_deserializeDocumentPortalSummaries(&sv.PortalSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -11782,7 +11560,6 @@ func awsRestjson1_deserializeOpDocumentListProjectAssetsOutput(v **ListProjectAs if err := awsRestjson1_deserializeDocumentAssetIDs(&sv.AssetIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11791,7 +11568,6 @@ func awsRestjson1_deserializeOpDocumentListProjectAssetsOutput(v **ListProjectAs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11953,12 +11729,10 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "projectSummaries": if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.ProjectSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -12128,7 +11902,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12293,12 +12066,10 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesOutput(v **ListTimeSeriesOu } sv.NextToken = ptr.String(jtv) } - case "TimeSeriesSummaries": if err := awsRestjson1_deserializeDocumentTimeSeriesSummaries(&sv.TimeSeriesSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -12462,7 +12233,6 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -12471,7 +12241,6 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -12480,7 +12249,6 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12750,7 +12518,6 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } - case "disassociatedDataStorage": if value != nil { jtv, ok := value.(string) @@ -12759,17 +12526,14 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.DisassociatedDataStorage = types.DisassociatedDataStorageState(jtv) } - case "multiLayerStorage": if err := awsRestjson1_deserializeDocumentMultiLayerStorage(&sv.MultiLayerStorage, value); err != nil { return err } - case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -12778,7 +12542,6 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.StorageType = types.StorageType(jtv) } - case "warmTier": if value != nil { jtv, ok := value.(string) @@ -12787,12 +12550,10 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.WarmTier = types.WarmTierState(jtv) } - case "warmTierRetentionPeriod": if err := awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(&sv.WarmTierRetentionPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -13271,7 +13032,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13444,7 +13204,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetModelOutput(v **UpdateAssetMod if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13617,12 +13376,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetModelCompositeModelOutput(v ** if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } - case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } - default: _, _ = key, value @@ -14102,7 +13859,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayCapabilityConfigurationOutpu } sv.CapabilityNamespace = ptr.String(jtv) } - case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -14111,7 +13867,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayCapabilityConfigurationOutpu } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } - default: _, _ = key, value @@ -14275,7 +14030,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePortalOutput(v **UpdatePortalOutput if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } - default: _, _ = key, value @@ -14906,15 +14660,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14922,15 +14670,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15006,7 +14750,6 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } } - case "id": if value != nil { jtv, ok := value.(string) @@ -15015,12 +14758,10 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Id = ptr.String(jtv) } - case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -15036,7 +14777,6 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } } - case "permission": if value != nil { jtv, ok := value.(string) @@ -15045,12 +14785,10 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Permission = types.Permission(jtv) } - case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -15090,7 +14828,6 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionDefinitionId = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -15099,7 +14836,6 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionName = ptr.String(jtv) } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -15108,7 +14844,6 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionType = ptr.String(jtv) } - default: _, _ = key, value @@ -15182,7 +14917,6 @@ func awsRestjson1_deserializeDocumentActionPayload(v **types.ActionPayload, valu } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -15256,7 +14990,6 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionDefinitionId = ptr.String(jtv) } - case "actionId": if value != nil { jtv, ok := value.(string) @@ -15265,12 +14998,10 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionId = ptr.String(jtv) } - case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } - default: _, _ = key, value @@ -15310,7 +15041,6 @@ func awsRestjson1_deserializeDocumentAggregatedValue(v **types.AggregatedValue, } sv.Quality = types.Quality(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -15326,12 +15056,10 @@ func awsRestjson1_deserializeDocumentAggregatedValue(v **types.AggregatedValue, } } - case "value": if err := awsRestjson1_deserializeDocumentAggregates(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -15430,7 +15158,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - case "count": if value != nil { switch jtv := value.(type) { @@ -15464,7 +15191,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - case "maximum": if value != nil { switch jtv := value.(type) { @@ -15498,7 +15224,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - case "minimum": if value != nil { switch jtv := value.(type) { @@ -15532,7 +15257,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - case "standardDeviation": if value != nil { switch jtv := value.(type) { @@ -15566,7 +15290,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - case "sum": if value != nil { switch jtv := value.(type) { @@ -15600,7 +15323,6 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } - default: _, _ = key, value @@ -15640,7 +15362,6 @@ func awsRestjson1_deserializeDocumentAlarms(v **types.Alarms, value interface{}) } sv.AlarmRoleArn = ptr.String(jtv) } - case "notificationLambdaArn": if value != nil { jtv, ok := value.(string) @@ -15649,7 +15370,6 @@ func awsRestjson1_deserializeDocumentAlarms(v **types.Alarms, value interface{}) } sv.NotificationLambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15689,7 +15409,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -15698,7 +15417,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15707,7 +15425,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15716,12 +15433,10 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Name = ptr.String(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.Properties, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15730,7 +15445,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -15804,7 +15518,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelPathSegment(v **types.As } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15813,7 +15526,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelPathSegment(v **types.As } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15921,7 +15633,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -15930,7 +15641,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15939,7 +15649,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15948,12 +15657,10 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Name = ptr.String(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentAssetCompositeModelPath(&sv.Path, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15962,7 +15669,6 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -16002,7 +15708,6 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.AssetId = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -16011,7 +15716,6 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.Code = types.AssetErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -16020,7 +15724,6 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -16094,7 +15797,6 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16103,7 +15805,6 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16112,7 +15813,6 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16152,7 +15852,6 @@ func awsRestjson1_deserializeDocumentAssetHierarchyInfo(v **types.AssetHierarchy } sv.ChildAssetId = ptr.String(jtv) } - case "parentAssetId": if value != nil { jtv, ok := value.(string) @@ -16161,7 +15860,6 @@ func awsRestjson1_deserializeDocumentAssetHierarchyInfo(v **types.AssetHierarchy } sv.ParentAssetId = ptr.String(jtv) } - default: _, _ = key, value @@ -16237,7 +15935,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -16246,7 +15943,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16255,7 +15951,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16264,12 +15959,10 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Name = ptr.String(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.Properties, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -16278,7 +15971,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -16352,7 +16044,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelPathSegment(v **typ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16361,7 +16052,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelPathSegment(v **typ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16469,7 +16159,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -16478,7 +16167,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16487,7 +16175,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16496,12 +16183,10 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Name = ptr.String(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.Path, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -16510,7 +16195,6 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -16584,7 +16268,6 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.ChildAssetModelId = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -16593,7 +16276,6 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16602,7 +16284,6 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16611,7 +16292,6 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16685,7 +16365,6 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.DataType = types.PropertyDataType(jtv) } - case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -16694,7 +16373,6 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.DataTypeSpec = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -16703,7 +16381,6 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16712,7 +16389,6 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16721,17 +16397,14 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Name = ptr.String(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.Path, value); err != nil { return err } - case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } - case "unit": if value != nil { jtv, ok := value.(string) @@ -16740,7 +16413,6 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -16814,7 +16486,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertyPathSegment(v **types.Ass } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16823,7 +16494,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertyPathSegment(v **types.Ass } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16897,7 +16567,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.AssetModelCompositeModelId = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -16906,7 +16575,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.DataType = types.PropertyDataType(jtv) } - case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -16915,7 +16583,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.DataTypeSpec = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -16924,7 +16591,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16933,7 +16599,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16942,17 +16607,14 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Name = ptr.String(jtv) } - case "path": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.Path, value); err != nil { return err } - case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } - case "unit": if value != nil { jtv, ok := value.(string) @@ -16961,7 +16623,6 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -16997,7 +16658,6 @@ func awsRestjson1_deserializeDocumentAssetModelStatus(v **types.AssetModelStatus if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -17006,7 +16666,6 @@ func awsRestjson1_deserializeDocumentAssetModelStatus(v **types.AssetModelStatus } sv.State = types.AssetModelState(jtv) } - default: _, _ = key, value @@ -17080,7 +16739,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Arn = ptr.String(jtv) } - case "assetModelType": if value != nil { jtv, ok := value.(string) @@ -17089,7 +16747,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.AssetModelType = types.AssetModelType(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17105,7 +16762,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } } - case "description": if value != nil { jtv, ok := value.(string) @@ -17114,7 +16770,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -17123,7 +16778,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17132,7 +16786,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -17148,7 +16801,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } } - case "name": if value != nil { jtv, ok := value.(string) @@ -17157,12 +16809,10 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.Status, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -17171,7 +16821,6 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -17245,7 +16894,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Alias = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -17254,7 +16902,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.DataType = types.PropertyDataType(jtv) } - case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -17263,7 +16910,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.DataTypeSpec = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -17272,7 +16918,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17281,7 +16926,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17290,17 +16934,14 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Name = ptr.String(jtv) } - case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } - case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } - case "unit": if value != nil { jtv, ok := value.(string) @@ -17309,7 +16950,6 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -17383,7 +17023,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyPathSegment(v **types.AssetPro } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17392,7 +17031,6 @@ func awsRestjson1_deserializeDocumentAssetPropertyPathSegment(v **types.AssetPro } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17466,7 +17104,6 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Alias = ptr.String(jtv) } - case "assetCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -17475,7 +17112,6 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.AssetCompositeModelId = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -17484,7 +17120,6 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17493,17 +17128,14 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Id = ptr.String(jtv) } - case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } - case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } - case "unit": if value != nil { jtv, ok := value.(string) @@ -17512,7 +17144,6 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -17552,17 +17183,14 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = types.Quality(jtv) } - case "timestamp": if err := awsRestjson1_deserializeDocumentTimeInNanos(&sv.Timestamp, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentVariant(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -17666,7 +17294,6 @@ func awsRestjson1_deserializeDocumentAssetRelationshipSummary(v **types.AssetRel if err := awsRestjson1_deserializeDocumentAssetHierarchyInfo(&sv.HierarchyInfo, value); err != nil { return err } - case "relationshipType": if value != nil { jtv, ok := value.(string) @@ -17675,7 +17302,6 @@ func awsRestjson1_deserializeDocumentAssetRelationshipSummary(v **types.AssetRel } sv.RelationshipType = types.AssetRelationshipType(jtv) } - default: _, _ = key, value @@ -17711,7 +17337,6 @@ func awsRestjson1_deserializeDocumentAssetStatus(v **types.AssetStatus, value in if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -17720,7 +17345,6 @@ func awsRestjson1_deserializeDocumentAssetStatus(v **types.AssetStatus, value in } sv.State = types.AssetState(jtv) } - default: _, _ = key, value @@ -17794,7 +17418,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Arn = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -17803,7 +17426,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.AssetModelId = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17819,7 +17441,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -17828,7 +17449,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -17837,12 +17457,10 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.ExternalId = ptr.String(jtv) } - case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17851,7 +17469,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -17867,7 +17484,6 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } } - case "name": if value != nil { jtv, ok := value.(string) @@ -17876,12 +17492,10 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -17955,7 +17569,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Arn = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -17964,7 +17577,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.AssetModelId = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17980,7 +17592,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } } - case "description": if value != nil { jtv, ok := value.(string) @@ -17989,7 +17600,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Description = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -17998,12 +17608,10 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.ExternalId = ptr.String(jtv) } - case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -18012,7 +17620,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -18028,7 +17635,6 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } } - case "name": if value != nil { jtv, ok := value.(string) @@ -18037,12 +17643,10 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -18082,7 +17686,6 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DefaultValue = ptr.String(jtv) } - default: _, _ = key, value @@ -18224,7 +17827,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.EntryId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18233,7 +17835,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.ErrorCode = types.BatchGetAssetPropertyAggregatesErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18242,7 +17843,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18282,7 +17882,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(v } sv.ErrorCode = types.BatchGetAssetPropertyAggregatesErrorCode(jtv) } - case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -18298,7 +17897,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(v } } - default: _, _ = key, value @@ -18372,7 +17970,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntry } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -18381,12 +17978,10 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntry } sv.EntryId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - default: _, _ = key, value @@ -18456,7 +18051,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntry if err := awsRestjson1_deserializeDocumentAggregatedValues(&sv.AggregatedValues, value); err != nil { return err } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -18465,7 +18059,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntry } sv.EntryId = ptr.String(jtv) } - default: _, _ = key, value @@ -18539,7 +18132,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.EntryId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18548,7 +18140,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.ErrorCode = types.BatchGetAssetPropertyValueErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18557,7 +18148,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18597,7 +18187,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(v **typ } sv.ErrorCode = types.BatchGetAssetPropertyValueErrorCode(jtv) } - case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -18613,7 +18202,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(v **typ } } - default: _, _ = key, value @@ -18687,7 +18275,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.EntryId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18696,7 +18283,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.ErrorCode = types.BatchGetAssetPropertyValueHistoryErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18705,7 +18291,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18745,7 +18330,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo( } sv.ErrorCode = types.BatchGetAssetPropertyValueHistoryErrorCode(jtv) } - case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -18761,7 +18345,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo( } } - default: _, _ = key, value @@ -18835,7 +18418,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEnt } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -18844,12 +18426,10 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEnt } sv.EntryId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - default: _, _ = key, value @@ -18919,7 +18499,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEnt if err := awsRestjson1_deserializeDocumentAssetPropertyValueHistory(&sv.AssetPropertyValueHistory, value); err != nil { return err } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -18928,7 +18507,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEnt } sv.EntryId = ptr.String(jtv) } - default: _, _ = key, value @@ -19002,7 +18580,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntry(v ** } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -19011,12 +18588,10 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntry(v ** } sv.EntryId = ptr.String(jtv) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - default: _, _ = key, value @@ -19086,7 +18661,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntry(v ** if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.AssetPropertyValue, value); err != nil { return err } - case "entryId": if value != nil { jtv, ok := value.(string) @@ -19095,7 +18669,6 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntry(v ** } sv.EntryId = ptr.String(jtv) } - default: _, _ = key, value @@ -19135,7 +18708,6 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyError(v **types.BatchP } sv.ErrorCode = types.BatchPutAssetPropertyValueErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19144,12 +18716,10 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyError(v **types.BatchP } sv.ErrorMessage = ptr.String(jtv) } - case "timestamps": if err := awsRestjson1_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } - default: _, _ = key, value @@ -19223,12 +18793,10 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrorEntry(v **types.B } sv.EntryId = ptr.String(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -19302,12 +18870,10 @@ func awsRestjson1_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } - case "type": if err := awsRestjson1_deserializeDocumentColumnType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -19417,7 +18983,6 @@ func awsRestjson1_deserializeDocumentColumnType(v **types.ColumnType, value inte } sv.ScalarType = types.ScalarType(jtv) } - default: _, _ = key, value @@ -19453,7 +19018,6 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM if err := awsRestjson1_deserializeDocumentProperty(&sv.AssetProperty, value); err != nil { return err } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -19462,7 +19026,6 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19471,7 +19034,6 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19480,7 +19042,6 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -19489,7 +19050,6 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -19525,7 +19085,6 @@ func awsRestjson1_deserializeDocumentCompositionDetails(v **types.CompositionDet if err := awsRestjson1_deserializeDocumentCompositionRelationship(&sv.CompositionRelationship, value); err != nil { return err } - default: _, _ = key, value @@ -19599,7 +19158,6 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipItem(v **types.Compo } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -19673,7 +19231,6 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelCompositeModelId = ptr.String(jtv) } - case "assetModelCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -19682,7 +19239,6 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelCompositeModelType = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -19691,7 +19247,6 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelId = ptr.String(jtv) } - default: _, _ = key, value @@ -19731,7 +19286,6 @@ func awsRestjson1_deserializeDocumentConfigurationErrorDetails(v **types.Configu } sv.Code = types.ErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -19740,7 +19294,6 @@ func awsRestjson1_deserializeDocumentConfigurationErrorDetails(v **types.Configu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -19776,7 +19329,6 @@ func awsRestjson1_deserializeDocumentConfigurationStatus(v **types.Configuration if err := awsRestjson1_deserializeDocumentConfigurationErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -19785,7 +19337,6 @@ func awsRestjson1_deserializeDocumentConfigurationStatus(v **types.Configuration } sv.State = types.ConfigurationState(jtv) } - default: _, _ = key, value @@ -19815,15 +19366,9 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19831,7 +19376,6 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -19840,7 +19384,6 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -19849,15 +19392,11 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19888,7 +19427,6 @@ func awsRestjson1_deserializeDocumentCsv(v **types.Csv, value interface{}) error if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } - default: _, _ = key, value @@ -19928,7 +19466,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedS3Storage(v **types.Customer } sv.RoleArn = ptr.String(jtv) } - case "s3ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19937,7 +19474,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedS3Storage(v **types.Customer } sv.S3ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20018,7 +19554,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20027,7 +19562,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20036,7 +19570,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -20052,7 +19585,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } - case "name": if value != nil { jtv, ok := value.(string) @@ -20061,7 +19593,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -20097,7 +19628,6 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e if err := awsRestjson1_deserializeDocumentDatumList(&sv.ArrayValue, value); err != nil { return err } - case "nullValue": if value != nil { jtv, ok := value.(bool) @@ -20106,12 +19636,10 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.NullValue = ptr.Bool(jtv) } - case "rowValue": if err := awsRestjson1_deserializeDocumentRow(&sv.RowValue, value); err != nil { return err } - case "scalarValue": if value != nil { jtv, ok := value.(string) @@ -20120,7 +19648,6 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.ScalarValue = ptr.String(jtv) } - default: _, _ = key, value @@ -20194,7 +19721,6 @@ func awsRestjson1_deserializeDocumentDetailedError(v **types.DetailedError, valu } sv.Code = types.DetailedErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -20203,7 +19729,6 @@ func awsRestjson1_deserializeDocumentDetailedError(v **types.DetailedError, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20277,12 +19802,10 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = types.ErrorCode(jtv) } - case "details": if err := awsRestjson1_deserializeDocumentDetailedErrors(&sv.Details, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -20291,7 +19814,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20331,7 +19853,6 @@ func awsRestjson1_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo } sv.Bucket = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -20340,7 +19861,6 @@ func awsRestjson1_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -20380,12 +19900,10 @@ func awsRestjson1_deserializeDocumentExpressionVariable(v **types.ExpressionVari } sv.Name = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -20459,7 +19977,6 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -20468,7 +19985,6 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.Key = ptr.String(jtv) } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -20477,7 +19993,6 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -20513,12 +20028,10 @@ func awsRestjson1_deserializeDocumentFileFormat(v **types.FileFormat, value inte if err := awsRestjson1_deserializeDocumentCsv(&sv.Csv, value); err != nil { return err } - case "parquet": if err := awsRestjson1_deserializeDocumentParquet(&sv.Parquet, value); err != nil { return err } - default: _, _ = key, value @@ -20592,7 +20105,6 @@ func awsRestjson1_deserializeDocumentForwardingConfig(v **types.ForwardingConfig } sv.State = types.ForwardingConfigState(jtv) } - default: _, _ = key, value @@ -20666,7 +20178,6 @@ func awsRestjson1_deserializeDocumentGatewayCapabilitySummary(v **types.GatewayC } sv.CapabilityNamespace = ptr.String(jtv) } - case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -20675,7 +20186,6 @@ func awsRestjson1_deserializeDocumentGatewayCapabilitySummary(v **types.GatewayC } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } - default: _, _ = key, value @@ -20711,17 +20221,14 @@ func awsRestjson1_deserializeDocumentGatewayPlatform(v **types.GatewayPlatform, if err := awsRestjson1_deserializeDocumentGreengrass(&sv.Greengrass, value); err != nil { return err } - case "greengrassV2": if err := awsRestjson1_deserializeDocumentGreengrassV2(&sv.GreengrassV2, value); err != nil { return err } - case "siemensIE": if err := awsRestjson1_deserializeDocumentSiemensIE(&sv.SiemensIE, value); err != nil { return err } - default: _, _ = key, value @@ -20802,12 +20309,10 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } } - case "gatewayCapabilitySummaries": if err := awsRestjson1_deserializeDocumentGatewayCapabilitySummaries(&sv.GatewayCapabilitySummaries, value); err != nil { return err } - case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -20816,7 +20321,6 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } sv.GatewayId = ptr.String(jtv) } - case "gatewayName": if value != nil { jtv, ok := value.(string) @@ -20825,12 +20329,10 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } sv.GatewayName = ptr.String(jtv) } - case "gatewayPlatform": if err := awsRestjson1_deserializeDocumentGatewayPlatform(&sv.GatewayPlatform, value); err != nil { return err } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -20846,7 +20348,6 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } } - default: _, _ = key, value @@ -20886,7 +20387,6 @@ func awsRestjson1_deserializeDocumentGreengrass(v **types.Greengrass, value inte } sv.GroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20926,7 +20426,6 @@ func awsRestjson1_deserializeDocumentGreengrassV2(v **types.GreengrassV2, value } sv.CoreDeviceThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -20966,7 +20465,6 @@ func awsRestjson1_deserializeDocumentGroupIdentity(v **types.GroupIdentity, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21006,7 +20504,6 @@ func awsRestjson1_deserializeDocumentIAMRoleIdentity(v **types.IAMRoleIdentity, } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -21046,7 +20543,6 @@ func awsRestjson1_deserializeDocumentIAMUserIdentity(v **types.IAMUserIdentity, } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -21082,22 +20578,18 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac if err := awsRestjson1_deserializeDocumentGroupIdentity(&sv.Group, value); err != nil { return err } - case "iamRole": if err := awsRestjson1_deserializeDocumentIAMRoleIdentity(&sv.IamRole, value); err != nil { return err } - case "iamUser": if err := awsRestjson1_deserializeDocumentIAMUserIdentity(&sv.IamUser, value); err != nil { return err } - case "user": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -21137,7 +20629,6 @@ func awsRestjson1_deserializeDocumentImageLocation(v **types.ImageLocation, valu } sv.Id = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -21146,7 +20637,6 @@ func awsRestjson1_deserializeDocumentImageLocation(v **types.ImageLocation, valu } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21176,15 +20666,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21192,15 +20676,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21231,12 +20711,10 @@ func awsRestjson1_deserializeDocumentInterpolatedAssetPropertyValue(v **types.In if err := awsRestjson1_deserializeDocumentTimeInNanos(&sv.Timestamp, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentVariant(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -21300,15 +20778,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21316,15 +20788,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21355,7 +20823,6 @@ func awsRestjson1_deserializeDocumentJobConfiguration(v **types.JobConfiguration if err := awsRestjson1_deserializeDocumentFileFormat(&sv.FileFormat, value); err != nil { return err } - default: _, _ = key, value @@ -21429,7 +20896,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21438,7 +20904,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21447,7 +20912,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } - default: _, _ = key, value @@ -21477,15 +20941,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21493,15 +20951,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21536,7 +20990,6 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } - default: _, _ = key, value @@ -21572,7 +21025,6 @@ func awsRestjson1_deserializeDocumentMeasurement(v **types.Measurement, value in if err := awsRestjson1_deserializeDocumentMeasurementProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -21608,7 +21060,6 @@ func awsRestjson1_deserializeDocumentMeasurementProcessingConfig(v **types.Measu if err := awsRestjson1_deserializeDocumentForwardingConfig(&sv.ForwardingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -21648,22 +21099,18 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Expression = ptr.String(jtv) } - case "processingConfig": if err := awsRestjson1_deserializeDocumentMetricProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } - case "variables": if err := awsRestjson1_deserializeDocumentExpressionVariables(&sv.Variables, value); err != nil { return err } - case "window": if err := awsRestjson1_deserializeDocumentMetricWindow(&sv.Window, value); err != nil { return err } - default: _, _ = key, value @@ -21703,7 +21150,6 @@ func awsRestjson1_deserializeDocumentMetricProcessingConfig(v **types.MetricProc } sv.ComputeLocation = types.ComputeLocation(jtv) } - default: _, _ = key, value @@ -21739,7 +21185,6 @@ func awsRestjson1_deserializeDocumentMetricWindow(v **types.MetricWindow, value if err := awsRestjson1_deserializeDocumentTumblingWindow(&sv.Tumbling, value); err != nil { return err } - default: _, _ = key, value @@ -21779,7 +21224,6 @@ func awsRestjson1_deserializeDocumentMonitorErrorDetails(v **types.MonitorErrorD } sv.Code = types.MonitorErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -21788,7 +21232,6 @@ func awsRestjson1_deserializeDocumentMonitorErrorDetails(v **types.MonitorErrorD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -21824,7 +21267,6 @@ func awsRestjson1_deserializeDocumentMultiLayerStorage(v **types.MultiLayerStora if err := awsRestjson1_deserializeDocumentCustomerManagedS3Storage(&sv.CustomerManagedS3Storage, value); err != nil { return err } - default: _, _ = key, value @@ -21895,7 +21337,6 @@ func awsRestjson1_deserializeDocumentPortalResource(v **types.PortalResource, va } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21931,7 +21372,6 @@ func awsRestjson1_deserializeDocumentPortalStatus(v **types.PortalStatus, value if err := awsRestjson1_deserializeDocumentMonitorErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -21940,7 +21380,6 @@ func awsRestjson1_deserializeDocumentPortalStatus(v **types.PortalStatus, value } sv.State = types.PortalState(jtv) } - default: _, _ = key, value @@ -22021,7 +21460,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -22030,7 +21468,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22039,7 +21476,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -22055,7 +21491,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -22064,7 +21499,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -22073,7 +21507,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.RoleArn = ptr.String(jtv) } - case "startUrl": if value != nil { jtv, ok := value.(string) @@ -22082,12 +21515,10 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.StartUrl = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -22117,15 +21548,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22133,7 +21558,6 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -22142,7 +21566,6 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22151,15 +21574,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22194,7 +21613,6 @@ func awsRestjson1_deserializeDocumentProjectResource(v **types.ProjectResource, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -22275,7 +21693,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -22284,7 +21701,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22293,7 +21709,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Id = ptr.String(jtv) } - case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -22309,7 +21724,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -22318,7 +21732,6 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -22358,7 +21771,6 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Alias = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -22367,7 +21779,6 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.DataType = types.PropertyDataType(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -22376,7 +21787,6 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.ExternalId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22385,7 +21795,6 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22394,22 +21803,18 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Name = ptr.String(jtv) } - case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } - case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } - case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } - case "unit": if value != nil { jtv, ok := value.(string) @@ -22418,7 +21823,6 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -22458,7 +21862,6 @@ func awsRestjson1_deserializeDocumentPropertyNotification(v **types.PropertyNoti } sv.State = types.PropertyNotificationState(jtv) } - case "topic": if value != nil { jtv, ok := value.(string) @@ -22467,7 +21870,6 @@ func awsRestjson1_deserializeDocumentPropertyNotification(v **types.PropertyNoti } sv.Topic = ptr.String(jtv) } - default: _, _ = key, value @@ -22503,22 +21905,18 @@ func awsRestjson1_deserializeDocumentPropertyType(v **types.PropertyType, value if err := awsRestjson1_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } - case "measurement": if err := awsRestjson1_deserializeDocumentMeasurement(&sv.Measurement, value); err != nil { return err } - case "metric": if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } - case "transform": if err := awsRestjson1_deserializeDocumentTransform(&sv.Transform, value); err != nil { return err } - default: _, _ = key, value @@ -22548,15 +21946,9 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22564,15 +21956,11 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22603,12 +21991,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentPortalResource(&sv.Portal, value); err != nil { return err } - case "project": if err := awsRestjson1_deserializeDocumentProjectResource(&sv.Project, value); err != nil { return err } - default: _, _ = key, value @@ -22638,15 +22024,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22654,7 +22034,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -22663,7 +22042,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22672,15 +22050,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22705,15 +22079,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22721,15 +22089,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22768,7 +22132,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.NumberOfDays = ptr.Int32(int32(i64)) } - case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -22777,7 +22140,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Unlimited = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22813,7 +22175,6 @@ func awsRestjson1_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsRestjson1_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } - default: _, _ = key, value @@ -22877,15 +22238,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22893,15 +22248,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22936,7 +22287,6 @@ func awsRestjson1_deserializeDocumentSiemensIE(v **types.SiemensIE, value interf } sv.IotCoreThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -23012,7 +22362,6 @@ func awsRestjson1_deserializeDocumentTargetResource(v **types.TargetResource, va } sv.AssetId = ptr.String(jtv) } - default: _, _ = key, value @@ -23042,15 +22391,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23058,15 +22401,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23105,7 +22444,6 @@ func awsRestjson1_deserializeDocumentTimeInNanos(v **types.TimeInNanos, value in } sv.OffsetInNanos = ptr.Int32(int32(i64)) } - case "timeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -23118,7 +22456,6 @@ func awsRestjson1_deserializeDocumentTimeInNanos(v **types.TimeInNanos, value in } sv.TimeInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -23192,7 +22529,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.Alias = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -23201,7 +22537,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.AssetId = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -23210,7 +22545,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.DataType = types.PropertyDataType(jtv) } - case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -23219,7 +22553,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.DataTypeSpec = ptr.String(jtv) } - case "propertyId": if value != nil { jtv, ok := value.(string) @@ -23228,7 +22561,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.PropertyId = ptr.String(jtv) } - case "timeSeriesArn": if value != nil { jtv, ok := value.(string) @@ -23237,7 +22569,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.TimeSeriesArn = ptr.String(jtv) } - case "timeSeriesCreationDate": if value != nil { switch jtv := value.(type) { @@ -23253,7 +22584,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } } - case "timeSeriesId": if value != nil { jtv, ok := value.(string) @@ -23262,7 +22592,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.TimeSeriesId = ptr.String(jtv) } - case "timeSeriesLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -23278,7 +22607,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } } - default: _, _ = key, value @@ -23342,15 +22670,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23358,7 +22680,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -23367,15 +22688,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23410,17 +22727,14 @@ func awsRestjson1_deserializeDocumentTransform(v **types.Transform, value interf } sv.Expression = ptr.String(jtv) } - case "processingConfig": if err := awsRestjson1_deserializeDocumentTransformProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } - case "variables": if err := awsRestjson1_deserializeDocumentExpressionVariables(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -23460,12 +22774,10 @@ func awsRestjson1_deserializeDocumentTransformProcessingConfig(v **types.Transfo } sv.ComputeLocation = types.ComputeLocation(jtv) } - case "forwardingConfig": if err := awsRestjson1_deserializeDocumentForwardingConfig(&sv.ForwardingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -23505,7 +22817,6 @@ func awsRestjson1_deserializeDocumentTumblingWindow(v **types.TumblingWindow, va } sv.Interval = ptr.String(jtv) } - case "offset": if value != nil { jtv, ok := value.(string) @@ -23514,7 +22825,6 @@ func awsRestjson1_deserializeDocumentTumblingWindow(v **types.TumblingWindow, va } sv.Offset = ptr.String(jtv) } - default: _, _ = key, value @@ -23544,15 +22854,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23560,15 +22864,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23603,7 +22903,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -23633,15 +22932,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23649,15 +22942,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23692,7 +22981,6 @@ func awsRestjson1_deserializeDocumentVariableValue(v **types.VariableValue, valu } sv.HierarchyId = ptr.String(jtv) } - case "propertyId": if value != nil { jtv, ok := value.(string) @@ -23701,12 +22989,10 @@ func awsRestjson1_deserializeDocumentVariableValue(v **types.VariableValue, valu } sv.PropertyId = ptr.String(jtv) } - case "propertyPath": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.PropertyPath, value); err != nil { return err } - default: _, _ = key, value @@ -23746,7 +23032,6 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.BooleanValue = ptr.Bool(jtv) } - case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -23780,7 +23065,6 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } } - case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -23793,7 +23077,6 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.IntegerValue = ptr.Int32(int32(i64)) } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -23802,7 +23085,6 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -23846,7 +23128,6 @@ func awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(v **types.WarmTierR } sv.NumberOfDays = ptr.Int32(int32(i64)) } - case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -23855,7 +23136,6 @@ func awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(v **types.WarmTierR } sv.Unlimited = ptr.Bool(jtv) } - default: _, _ = key, value diff --git a/service/iotthingsgraph/deserializers.go b/service/iotthingsgraph/deserializers.go index 693b27301a4..aaf782ac9ab 100644 --- a/service/iotthingsgraph/deserializers.go +++ b/service/iotthingsgraph/deserializers.go @@ -4492,7 +4492,6 @@ func awsAwsjson11_deserializeDocumentDefinitionDocument(v **types.DefinitionDocu } sv.Language = types.DefinitionLanguage(jtv) } - case "text": if value != nil { jtv, ok := value.(string) @@ -4501,7 +4500,6 @@ func awsAwsjson11_deserializeDocumentDefinitionDocument(v **types.DefinitionDocu } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -4541,7 +4539,6 @@ func awsAwsjson11_deserializeDocumentDependencyRevision(v **types.DependencyRevi } sv.Id = ptr.String(jtv) } - case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4554,7 +4551,6 @@ func awsAwsjson11_deserializeDocumentDependencyRevision(v **types.DependencyRevi } sv.RevisionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -4628,7 +4624,6 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4644,12 +4639,10 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } } - case "definition": if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4658,7 +4651,6 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Id = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4667,7 +4659,6 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Type = types.EntityType(jtv) } - default: _, _ = key, value @@ -4741,7 +4732,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.EventType = types.FlowExecutionEventType(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -4750,7 +4740,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.MessageId = ptr.String(jtv) } - case "payload": if value != nil { jtv, ok := value.(string) @@ -4759,7 +4748,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.Payload = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -4775,7 +4763,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } } - default: _, _ = key, value @@ -4890,7 +4877,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } } - case "flowExecutionId": if value != nil { jtv, ok := value.(string) @@ -4899,7 +4885,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.FlowExecutionId = ptr.String(jtv) } - case "flowTemplateId": if value != nil { jtv, ok := value.(string) @@ -4908,7 +4893,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.FlowTemplateId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4917,7 +4901,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.Status = types.FlowExecutionStatus(jtv) } - case "systemInstanceId": if value != nil { jtv, ok := value.(string) @@ -4926,7 +4909,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.SystemInstanceId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4942,7 +4924,6 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } } - default: _, _ = key, value @@ -4978,12 +4959,10 @@ func awsAwsjson11_deserializeDocumentFlowTemplateDescription(v **types.FlowTempl if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } - case "summary": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } - case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -4996,7 +4975,6 @@ func awsAwsjson11_deserializeDocumentFlowTemplateDescription(v **types.FlowTempl } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } - default: _, _ = key, value @@ -5070,7 +5048,6 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5086,7 +5063,6 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } } - case "id": if value != nil { jtv, ok := value.(string) @@ -5095,7 +5071,6 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.Id = ptr.String(jtv) } - case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5108,7 +5083,6 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.RevisionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -5138,15 +5112,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5154,15 +5122,11 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5187,15 +5151,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5203,15 +5161,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5236,15 +5190,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5252,15 +5200,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5295,7 +5239,6 @@ func awsAwsjson11_deserializeDocumentMetricsConfiguration(v **types.MetricsConfi } sv.CloudMetricEnabled = jtv } - case "metricRuleRoleArn": if value != nil { jtv, ok := value.(string) @@ -5304,7 +5247,6 @@ func awsAwsjson11_deserializeDocumentMetricsConfiguration(v **types.MetricsConfi } sv.MetricRuleRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5334,15 +5276,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5350,15 +5286,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5383,15 +5315,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5399,15 +5325,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5432,15 +5354,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5448,15 +5364,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5523,7 +5435,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } - case "flowActionsRoleArn": if value != nil { jtv, ok := value.(string) @@ -5532,12 +5443,10 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.FlowActionsRoleArn = ptr.String(jtv) } - case "metricsConfiguration": if err := awsAwsjson11_deserializeDocumentMetricsConfiguration(&sv.MetricsConfiguration, value); err != nil { return err } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -5546,17 +5455,14 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.S3BucketName = ptr.String(jtv) } - case "summary": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } - case "validatedDependencyRevisions": if err := awsAwsjson11_deserializeDocumentDependencyRevisions(&sv.ValidatedDependencyRevisions, value); err != nil { return err } - case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5569,7 +5475,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } - default: _, _ = key, value @@ -5643,7 +5548,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5659,7 +5563,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } } - case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -5668,7 +5571,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupId = ptr.String(jtv) } - case "greengrassGroupName": if value != nil { jtv, ok := value.(string) @@ -5677,7 +5579,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupName = ptr.String(jtv) } - case "greengrassGroupVersionId": if value != nil { jtv, ok := value.(string) @@ -5686,7 +5587,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupVersionId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5695,7 +5595,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5603,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Status = types.SystemInstanceDeploymentStatus(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -5713,7 +5611,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Target = types.DeploymentTarget(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5729,7 +5626,6 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } } - default: _, _ = key, value @@ -5765,12 +5661,10 @@ func awsAwsjson11_deserializeDocumentSystemTemplateDescription(v **types.SystemT if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } - case "summary": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } - case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5783,7 +5677,6 @@ func awsAwsjson11_deserializeDocumentSystemTemplateDescription(v **types.SystemT } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } - default: _, _ = key, value @@ -5857,7 +5750,6 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5873,7 +5765,6 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } } - case "id": if value != nil { jtv, ok := value.(string) @@ -5882,7 +5773,6 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.Id = ptr.String(jtv) } - case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5895,7 +5785,6 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.RevisionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -5935,7 +5824,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -5944,7 +5832,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6018,7 +5905,6 @@ func awsAwsjson11_deserializeDocumentThing(v **types.Thing, value interface{}) e } sv.ThingArn = ptr.String(jtv) } - case "thingName": if value != nil { jtv, ok := value.(string) @@ -6027,7 +5913,6 @@ func awsAwsjson11_deserializeDocumentThing(v **types.Thing, value interface{}) e } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -6091,15 +5976,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6107,15 +5986,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6177,7 +6052,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFlowTemplateOutput(v **CreateFlowTe if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -6213,7 +6087,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSystemInstanceOutput(v **CreateSyst if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -6249,7 +6122,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSystemTemplateOutput(v **CreateSyst if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -6320,7 +6192,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6329,7 +6200,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.NamespaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6431,12 +6301,10 @@ func awsAwsjson11_deserializeOpDocumentDeploySystemInstanceOutput(v **DeploySyst } sv.GreengrassDeploymentId = ptr.String(jtv) } - case "summary": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -6538,7 +6406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6547,7 +6414,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceName = ptr.String(jtv) } - case "namespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6560,7 +6426,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceVersion = ptr.Int64(i64) } - case "trackingNamespaceName": if value != nil { jtv, ok := value.(string) @@ -6569,7 +6434,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.TrackingNamespaceName = ptr.String(jtv) } - case "trackingNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6582,7 +6446,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.TrackingNamespaceVersion = ptr.Int64(i64) } - default: _, _ = key, value @@ -6649,7 +6512,6 @@ func awsAwsjson11_deserializeOpDocumentGetEntitiesOutput(v **GetEntitiesOutput, if err := awsAwsjson11_deserializeDocumentEntityDescriptions(&sv.Descriptions, value); err != nil { return err } - default: _, _ = key, value @@ -6685,7 +6547,6 @@ func awsAwsjson11_deserializeOpDocumentGetFlowTemplateOutput(v **GetFlowTemplate if err := awsAwsjson11_deserializeDocumentFlowTemplateDescription(&sv.Description, value); err != nil { return err } - default: _, _ = key, value @@ -6725,12 +6586,10 @@ func awsAwsjson11_deserializeOpDocumentGetFlowTemplateRevisionsOutput(v **GetFlo } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -6770,7 +6629,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.ErrorCode = types.NamespaceDeletionStatusErrorCodes(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6779,7 +6637,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.ErrorMessage = ptr.String(jtv) } - case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -6788,7 +6645,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6797,7 +6653,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.NamespaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6806,7 +6661,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.Status = types.NamespaceDeletionStatus(jtv) } - default: _, _ = key, value @@ -6842,7 +6696,6 @@ func awsAwsjson11_deserializeOpDocumentGetSystemInstanceOutput(v **GetSystemInst if err := awsAwsjson11_deserializeDocumentSystemInstanceDescription(&sv.Description, value); err != nil { return err } - default: _, _ = key, value @@ -6878,7 +6731,6 @@ func awsAwsjson11_deserializeOpDocumentGetSystemTemplateOutput(v **GetSystemTemp if err := awsAwsjson11_deserializeDocumentSystemTemplateDescription(&sv.Description, value); err != nil { return err } - default: _, _ = key, value @@ -6918,12 +6770,10 @@ func awsAwsjson11_deserializeOpDocumentGetSystemTemplateRevisionsOutput(v **GetS } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -6970,12 +6820,10 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } } - case "failureReason": if err := awsAwsjson11_deserializeDocumentStringList(&sv.FailureReason, value); err != nil { return err } - case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -6984,7 +6832,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6993,7 +6840,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceName = ptr.String(jtv) } - case "namespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7006,7 +6852,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceVersion = ptr.Int64(i64) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -7015,7 +6860,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.UploadId = ptr.String(jtv) } - case "uploadStatus": if value != nil { jtv, ok := value.(string) @@ -7024,7 +6868,6 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.UploadStatus = types.UploadStatus(jtv) } - default: _, _ = key, value @@ -7060,7 +6903,6 @@ func awsAwsjson11_deserializeOpDocumentListFlowExecutionMessagesOutput(v **ListF if err := awsAwsjson11_deserializeDocumentFlowExecutionMessages(&sv.Messages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7069,7 +6911,6 @@ func awsAwsjson11_deserializeOpDocumentListFlowExecutionMessagesOutput(v **ListF } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7109,12 +6950,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7150,7 +6989,6 @@ func awsAwsjson11_deserializeOpDocumentSearchEntitiesOutput(v **SearchEntitiesOu if err := awsAwsjson11_deserializeDocumentEntityDescriptions(&sv.Descriptions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7159,7 +6997,6 @@ func awsAwsjson11_deserializeOpDocumentSearchEntitiesOutput(v **SearchEntitiesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7199,12 +7036,10 @@ func awsAwsjson11_deserializeOpDocumentSearchFlowExecutionsOutput(v **SearchFlow } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentFlowExecutionSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -7244,12 +7079,10 @@ func awsAwsjson11_deserializeOpDocumentSearchFlowTemplatesOutput(v **SearchFlowT } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -7289,12 +7122,10 @@ func awsAwsjson11_deserializeOpDocumentSearchSystemInstancesOutput(v **SearchSys } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -7334,12 +7165,10 @@ func awsAwsjson11_deserializeOpDocumentSearchSystemTemplatesOutput(v **SearchSys } sv.NextToken = ptr.String(jtv) } - case "summaries": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -7379,12 +7208,10 @@ func awsAwsjson11_deserializeOpDocumentSearchThingsOutput(v **SearchThingsOutput } sv.NextToken = ptr.String(jtv) } - case "things": if err := awsAwsjson11_deserializeDocumentThings(&sv.Things, value); err != nil { return err } - default: _, _ = key, value @@ -7451,7 +7278,6 @@ func awsAwsjson11_deserializeOpDocumentUndeploySystemInstanceOutput(v **Undeploy if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -7518,7 +7344,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFlowTemplateOutput(v **UpdateFlowTe if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -7554,7 +7379,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSystemTemplateOutput(v **UpdateSyst if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -7594,7 +7418,6 @@ func awsAwsjson11_deserializeOpDocumentUploadEntityDefinitionsOutput(v **UploadE } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iottwinmaker/deserializers.go b/service/iottwinmaker/deserializers.go index 9efa9c12c21..66e27a75527 100644 --- a/service/iottwinmaker/deserializers.go +++ b/service/iottwinmaker/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutPropertyValuesOutput(v **BatchPut if err := awsRestjson1_deserializeDocumentErrorEntries(&sv.ErrorEntries, value); err != nil { return err } - default: _, _ = key, value @@ -354,7 +353,6 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } sv.Arn = ptr.String(jtv) } - case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -363,17 +361,14 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } sv.MetadataTransferJobId = ptr.String(jtv) } - case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -389,7 +384,6 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } } - default: _, _ = key, value @@ -560,7 +554,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -576,7 +569,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } } - case "state": if value != nil { jtv, ok := value.(string) @@ -585,7 +577,6 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -756,7 +747,6 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -772,7 +762,6 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -781,7 +770,6 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.EntityId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -790,7 +778,6 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -964,7 +951,6 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -980,7 +966,6 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } } - case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -989,12 +974,10 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } sv.MetadataTransferJobId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -1165,7 +1148,6 @@ func awsRestjson1_deserializeOpDocumentCreateSceneOutput(v **CreateSceneOutput, } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1181,7 +1163,6 @@ func awsRestjson1_deserializeOpDocumentCreateSceneOutput(v **CreateSceneOutput, } } - default: _, _ = key, value @@ -1352,7 +1333,6 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1368,7 +1348,6 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } } - case "state": if value != nil { jtv, ok := value.(string) @@ -1377,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } sv.State = types.SyncJobState(jtv) } - default: _, _ = key, value @@ -1548,7 +1526,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1564,7 +1541,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } } - default: _, _ = key, value @@ -1732,7 +1708,6 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentTypeOutput(v **DeleteCompo } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -1900,7 +1875,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEntityOutput(v **DeleteEntityOutput } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -2171,7 +2145,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSyncJobOutput(v **DeleteSyncJobOutp } sv.State = types.SyncJobState(jtv) } - default: _, _ = key, value @@ -2339,7 +2312,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceOutput(v **DeleteWorkspace } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2506,7 +2478,6 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput if err := awsRestjson1_deserializeDocumentColumnDescriptions(&sv.ColumnDescriptions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2515,12 +2486,10 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput } sv.NextToken = ptr.String(jtv) } - case "rows": if err := awsRestjson1_deserializeDocumentRows(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -2688,7 +2657,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.Arn = ptr.String(jtv) } - case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -2697,7 +2665,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.ComponentTypeId = ptr.String(jtv) } - case "componentTypeName": if value != nil { jtv, ok := value.(string) @@ -2706,12 +2673,10 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.ComponentTypeName = ptr.String(jtv) } - case "compositeComponentTypes": if err := awsRestjson1_deserializeDocumentCompositeComponentTypesResponse(&sv.CompositeComponentTypes, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2727,7 +2692,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2736,17 +2700,14 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.Description = ptr.String(jtv) } - case "extendsFrom": if err := awsRestjson1_deserializeDocumentExtendsFrom(&sv.ExtendsFrom, value); err != nil { return err } - case "functions": if err := awsRestjson1_deserializeDocumentFunctionsResponse(&sv.Functions, value); err != nil { return err } - case "isAbstract": if value != nil { jtv, ok := value.(bool) @@ -2755,7 +2716,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsAbstract = ptr.Bool(jtv) } - case "isSchemaInitialized": if value != nil { jtv, ok := value.(bool) @@ -2764,7 +2724,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsSchemaInitialized = ptr.Bool(jtv) } - case "isSingleton": if value != nil { jtv, ok := value.(bool) @@ -2773,22 +2732,18 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsSingleton = ptr.Bool(jtv) } - case "propertyDefinitions": if err := awsRestjson1_deserializeDocumentPropertyDefinitionsResponse(&sv.PropertyDefinitions, value); err != nil { return err } - case "propertyGroups": if err := awsRestjson1_deserializeDocumentPropertyGroupsResponse(&sv.PropertyGroups, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -2797,7 +2752,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.SyncSource = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -2813,7 +2767,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -2822,7 +2775,6 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -2990,7 +2942,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.AreAllComponentsReturned = ptr.Bool(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2999,12 +2950,10 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.Arn = ptr.String(jtv) } - case "components": if err := awsRestjson1_deserializeDocumentComponentsMap(&sv.Components, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3020,7 +2969,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3029,7 +2977,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.Description = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -3038,7 +2985,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.EntityId = ptr.String(jtv) } - case "entityName": if value != nil { jtv, ok := value.(string) @@ -3047,7 +2993,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.EntityName = ptr.String(jtv) } - case "hasChildEntities": if value != nil { jtv, ok := value.(bool) @@ -3056,7 +3001,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.HasChildEntities = ptr.Bool(jtv) } - case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -3065,12 +3009,10 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.ParentEntityId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -3079,7 +3021,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.SyncSource = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -3095,7 +3036,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3104,7 +3044,6 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3272,7 +3211,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3288,7 +3226,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3297,12 +3234,10 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.Description = ptr.String(jtv) } - case "destination": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.Destination, value); err != nil { return err } - case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -3311,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.MetadataTransferJobId = ptr.String(jtv) } - case "metadataTransferJobRole": if value != nil { jtv, ok := value.(string) @@ -3320,12 +3254,10 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.MetadataTransferJobRole = ptr.String(jtv) } - case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } - case "reportUrl": if value != nil { jtv, ok := value.(string) @@ -3334,17 +3266,14 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.ReportUrl = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentSourceConfigurations(&sv.Sources, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -3360,7 +3289,6 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } } - default: _, _ = key, value @@ -3521,12 +3449,10 @@ func awsRestjson1_deserializeOpDocumentGetPricingPlanOutput(v **GetPricingPlanOu if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.CurrentPricingPlan, value); err != nil { return err } - case "pendingPricingPlan": if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.PendingPricingPlan, value); err != nil { return err } - default: _, _ = key, value @@ -3700,17 +3626,14 @@ func awsRestjson1_deserializeOpDocumentGetPropertyValueOutput(v **GetPropertyVal } sv.NextToken = ptr.String(jtv) } - case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyLatestValueMap(&sv.PropertyValues, value); err != nil { return err } - case "tabularPropertyValues": if err := awsRestjson1_deserializeDocumentTabularPropertyValues(&sv.TabularPropertyValues, value); err != nil { return err } - default: _, _ = key, value @@ -3884,12 +3807,10 @@ func awsRestjson1_deserializeOpDocumentGetPropertyValueHistoryOutput(v **GetProp } sv.NextToken = ptr.String(jtv) } - case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyValueList(&sv.PropertyValues, value); err != nil { return err } - default: _, _ = key, value @@ -4057,12 +3978,10 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.Arn = ptr.String(jtv) } - case "capabilities": if err := awsRestjson1_deserializeDocumentSceneCapabilities(&sv.Capabilities, value); err != nil { return err } - case "contentLocation": if value != nil { jtv, ok := value.(string) @@ -4071,7 +3990,6 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.ContentLocation = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4087,7 +4005,6 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4096,17 +4013,14 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.Description = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentSceneError(&sv.Error, value); err != nil { return err } - case "generatedSceneMetadata": if err := awsRestjson1_deserializeDocumentGeneratedSceneMetadataMap(&sv.GeneratedSceneMetadata, value); err != nil { return err } - case "sceneId": if value != nil { jtv, ok := value.(string) @@ -4115,12 +4029,10 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.SceneId = ptr.String(jtv) } - case "sceneMetadata": if err := awsRestjson1_deserializeDocumentSceneMetadataMap(&sv.SceneMetadata, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4136,7 +4048,6 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4056,6 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4316,7 +4226,6 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4332,12 +4241,10 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } } - case "status": if err := awsRestjson1_deserializeDocumentSyncJobStatus(&sv.Status, value); err != nil { return err } - case "syncRole": if value != nil { jtv, ok := value.(string) @@ -4346,7 +4253,6 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.SyncRole = ptr.String(jtv) } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -4355,7 +4261,6 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.SyncSource = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4371,7 +4276,6 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4380,7 +4284,6 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4548,7 +4451,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4564,7 +4466,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4573,12 +4474,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Description = ptr.String(jtv) } - case "linkedServices": if err := awsRestjson1_deserializeDocumentLinkedServices(&sv.LinkedServices, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -4587,7 +4486,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Role = ptr.String(jtv) } - case "s3Location": if value != nil { jtv, ok := value.(string) @@ -4596,7 +4494,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.S3Location = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4612,7 +4509,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4621,7 +4517,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4785,7 +4680,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaries(&sv.ComponentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4794,7 +4688,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4955,7 +4848,6 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen if err := awsRestjson1_deserializeDocumentComponentTypeSummaries(&sv.ComponentTypeSummaries, value); err != nil { return err } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -4968,7 +4860,6 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4977,7 +4868,6 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.NextToken = ptr.String(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4986,7 +4876,6 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5147,7 +5036,6 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput if err := awsRestjson1_deserializeDocumentEntitySummaries(&sv.EntitySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5156,7 +5044,6 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5317,7 +5204,6 @@ func awsRestjson1_deserializeOpDocumentListMetadataTransferJobsOutput(v **ListMe if err := awsRestjson1_deserializeDocumentMetadataTransferJobSummaries(&sv.MetadataTransferJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5326,7 +5212,6 @@ func awsRestjson1_deserializeOpDocumentListMetadataTransferJobsOutput(v **ListMe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5494,12 +5379,10 @@ func awsRestjson1_deserializeOpDocumentListPropertiesOutput(v **ListPropertiesOu } sv.NextToken = ptr.String(jtv) } - case "propertySummaries": if err := awsRestjson1_deserializeDocumentPropertySummaries(&sv.PropertySummaries, value); err != nil { return err } - default: _, _ = key, value @@ -5664,12 +5547,10 @@ func awsRestjson1_deserializeOpDocumentListScenesOutput(v **ListScenesOutput, va } sv.NextToken = ptr.String(jtv) } - case "sceneSummaries": if err := awsRestjson1_deserializeDocumentSceneSummaries(&sv.SceneSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -5837,12 +5718,10 @@ func awsRestjson1_deserializeOpDocumentListSyncJobsOutput(v **ListSyncJobsOutput } sv.NextToken = ptr.String(jtv) } - case "syncJobSummaries": if err := awsRestjson1_deserializeDocumentSyncJobSummaries(&sv.SyncJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -6010,12 +5889,10 @@ func awsRestjson1_deserializeOpDocumentListSyncResourcesOutput(v **ListSyncResou } sv.NextToken = ptr.String(jtv) } - case "syncResources": if err := awsRestjson1_deserializeDocumentSyncResourceSummaries(&sv.SyncResources, value); err != nil { return err } - default: _, _ = key, value @@ -6174,12 +6051,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6344,12 +6219,10 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } - case "workspaceSummaries": if err := awsRestjson1_deserializeDocumentWorkspaceSummaries(&sv.WorkspaceSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -6705,7 +6578,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.Arn = ptr.String(jtv) } - case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -6714,7 +6586,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.ComponentTypeId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6723,7 +6594,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.State = types.State(jtv) } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6732,7 +6602,6 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6906,7 +6775,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEntityOutput(v **UpdateEntityOutput } sv.State = types.State(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -6922,7 +6790,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEntityOutput(v **UpdateEntityOutput } } - default: _, _ = key, value @@ -7083,12 +6950,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.CurrentPricingPlan, value); err != nil { return err } - case "pendingPricingPlan": if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.PendingPricingPlan, value); err != nil { return err } - default: _, _ = key, value @@ -7263,7 +7128,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSceneOutput(v **UpdateSceneOutput, } } - default: _, _ = key, value @@ -7441,7 +7305,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceOutput(v **UpdateWorkspace } } - default: _, _ = key, value @@ -7867,15 +7730,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7883,15 +7740,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7922,7 +7775,6 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro if err := awsRestjson1_deserializeDocumentPropertyValueEntry(&sv.Entry, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7931,7 +7783,6 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -7940,7 +7791,6 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7976,7 +7826,6 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyErrorEntry(v **types.BatchP if err := awsRestjson1_deserializeDocumentErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -8012,7 +7861,6 @@ func awsRestjson1_deserializeDocumentBundleInformation(v **types.BundleInformati if err := awsRestjson1_deserializeDocumentPricingBundles(&sv.BundleNames, value); err != nil { return err } - case "pricingTier": if value != nil { jtv, ok := value.(string) @@ -8021,7 +7869,6 @@ func awsRestjson1_deserializeDocumentBundleInformation(v **types.BundleInformati } sv.PricingTier = types.PricingTier(jtv) } - default: _, _ = key, value @@ -8061,7 +7908,6 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8070,7 +7916,6 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Type = types.ColumnType(jtv) } - default: _, _ = key, value @@ -8144,7 +7989,6 @@ func awsRestjson1_deserializeDocumentComponentPropertyGroupResponse(v **types.Co } sv.GroupType = types.GroupType(jtv) } - case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -8153,12 +7997,10 @@ func awsRestjson1_deserializeDocumentComponentPropertyGroupResponse(v **types.Co } sv.IsInherited = ptr.Bool(jtv) } - case "propertyNames": if err := awsRestjson1_deserializeDocumentPropertyNames(&sv.PropertyNames, value); err != nil { return err } - default: _, _ = key, value @@ -8233,7 +8075,6 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.AreAllCompositeComponentsReturned = ptr.Bool(jtv) } - case "areAllPropertiesReturned": if value != nil { jtv, ok := value.(bool) @@ -8242,7 +8083,6 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.AreAllPropertiesReturned = ptr.Bool(jtv) } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -8251,7 +8091,6 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.ComponentName = ptr.String(jtv) } - case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8260,12 +8099,10 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.ComponentTypeId = ptr.String(jtv) } - case "compositeComponents": if err := awsRestjson1_deserializeDocumentCompositeComponentResponse(&sv.CompositeComponents, value); err != nil { return err } - case "definedIn": if value != nil { jtv, ok := value.(string) @@ -8274,7 +8111,6 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.DefinedIn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8283,22 +8119,18 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.Description = ptr.String(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentPropertyResponses(&sv.Properties, value); err != nil { return err } - case "propertyGroups": if err := awsRestjson1_deserializeDocumentComponentPropertyGroupResponses(&sv.PropertyGroups, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -8307,7 +8139,6 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.SyncSource = ptr.String(jtv) } - default: _, _ = key, value @@ -8416,7 +8247,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentName = ptr.String(jtv) } - case "componentPath": if value != nil { jtv, ok := value.(string) @@ -8425,7 +8255,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentPath = ptr.String(jtv) } - case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8434,7 +8263,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentTypeId = ptr.String(jtv) } - case "definedIn": if value != nil { jtv, ok := value.(string) @@ -8443,7 +8271,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DefinedIn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8452,17 +8279,14 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Description = ptr.String(jtv) } - case "propertyGroups": if err := awsRestjson1_deserializeDocumentComponentPropertyGroupResponses(&sv.PropertyGroups, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -8471,7 +8295,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.SyncSource = ptr.String(jtv) } - default: _, _ = key, value @@ -8545,7 +8368,6 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.Arn = ptr.String(jtv) } - case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8554,7 +8376,6 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.ComponentTypeId = ptr.String(jtv) } - case "componentTypeName": if value != nil { jtv, ok := value.(string) @@ -8563,7 +8384,6 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.ComponentTypeName = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8579,7 +8399,6 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8588,12 +8407,10 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.Description = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -8609,7 +8426,6 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } } - default: _, _ = key, value @@ -8684,7 +8500,6 @@ func awsRestjson1_deserializeDocumentCompositeComponentTypeResponse(v **types.Co } sv.ComponentTypeId = ptr.String(jtv) } - case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -8693,7 +8508,6 @@ func awsRestjson1_deserializeDocumentCompositeComponentTypeResponse(v **types.Co } sv.IsInherited = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8794,15 +8608,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8810,15 +8618,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8843,15 +8647,9 @@ func awsRestjson1_deserializeDocumentConnectorFailureException(v **types.Connect sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8859,15 +8657,11 @@ func awsRestjson1_deserializeDocumentConnectorFailureException(v **types.Connect } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8892,15 +8686,9 @@ func awsRestjson1_deserializeDocumentConnectorTimeoutException(v **types.Connect sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8908,15 +8696,11 @@ func awsRestjson1_deserializeDocumentConnectorTimeoutException(v **types.Connect } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8951,12 +8735,10 @@ func awsRestjson1_deserializeDocumentDataConnector(v **types.DataConnector, valu } sv.IsNative = ptr.Bool(jtv) } - case "lambda": if err := awsRestjson1_deserializeDocumentLambdaFunction(&sv.Lambda, value); err != nil { return err } - default: _, _ = key, value @@ -8992,17 +8774,14 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac if err := awsRestjson1_deserializeDocumentDataValueList(&sv.AllowedValues, value); err != nil { return err } - case "nestedType": if err := awsRestjson1_deserializeDocumentDataType(&sv.NestedType, value); err != nil { return err } - case "relationship": if err := awsRestjson1_deserializeDocumentRelationship(&sv.Relationship, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9011,7 +8790,6 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac } sv.Type = types.Type(jtv) } - case "unitOfMeasure": if value != nil { jtv, ok := value.(string) @@ -9020,7 +8798,6 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac } sv.UnitOfMeasure = ptr.String(jtv) } - default: _, _ = key, value @@ -9060,7 +8837,6 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.BooleanValue = ptr.Bool(jtv) } - case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -9094,7 +8870,6 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } } - case "expression": if value != nil { jtv, ok := value.(string) @@ -9103,7 +8878,6 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.Expression = ptr.String(jtv) } - case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -9116,12 +8890,10 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.IntegerValue = ptr.Int32(int32(i64)) } - case "listValue": if err := awsRestjson1_deserializeDocumentDataValueList(&sv.ListValue, value); err != nil { return err } - case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -9134,17 +8906,14 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.LongValue = ptr.Int64(i64) } - case "mapValue": if err := awsRestjson1_deserializeDocumentDataValueMap(&sv.MapValue, value); err != nil { return err } - case "relationshipValue": if err := awsRestjson1_deserializeDocumentRelationshipValue(&sv.RelationshipValue, value); err != nil { return err } - case "stringValue": if value != nil { jtv, ok := value.(string) @@ -9153,7 +8922,6 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -9258,12 +9026,10 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentIotTwinMakerDestinationConfiguration(&sv.IotTwinMakerConfiguration, value); err != nil { return err } - case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3Configuration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9272,7 +9038,6 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.Type = types.DestinationType(jtv) } - default: _, _ = key, value @@ -9312,7 +9077,6 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.ComponentName = ptr.String(jtv) } - case "componentPath": if value != nil { jtv, ok := value.(string) @@ -9321,7 +9085,6 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.ComponentPath = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -9330,12 +9093,10 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.EntityId = ptr.String(jtv) } - case "externalIdProperty": if err := awsRestjson1_deserializeDocumentExternalIdProperty(&sv.ExternalIdProperty, value); err != nil { return err } - case "propertyName": if value != nil { jtv, ok := value.(string) @@ -9344,7 +9105,6 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.PropertyName = ptr.String(jtv) } - default: _, _ = key, value @@ -9418,7 +9178,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9434,7 +9193,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9443,7 +9201,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Description = ptr.String(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -9452,7 +9209,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityId = ptr.String(jtv) } - case "entityName": if value != nil { jtv, ok := value.(string) @@ -9461,7 +9217,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityName = ptr.String(jtv) } - case "hasChildEntities": if value != nil { jtv, ok := value.(bool) @@ -9470,7 +9225,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.HasChildEntities = ptr.Bool(jtv) } - case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -9479,12 +9233,10 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.ParentEntityId = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -9500,7 +9252,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } } - default: _, _ = key, value @@ -9540,7 +9291,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = types.ErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -9549,7 +9299,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -9729,7 +9478,6 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.AssetExternalId = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9486,6 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.AssetId = ptr.String(jtv) } - case "includeAssetModel": if value != nil { jtv, ok := value.(bool) @@ -9747,7 +9494,6 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.IncludeAssetModel = ptr.Bool(jtv) } - case "includeOffspring": if value != nil { jtv, ok := value.(bool) @@ -9756,7 +9502,6 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.IncludeOffspring = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9796,7 +9541,6 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.AssetModelExternalId = ptr.String(jtv) } - case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -9805,7 +9549,6 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.AssetModelId = ptr.String(jtv) } - case "includeAssets": if value != nil { jtv, ok := value.(bool) @@ -9814,7 +9557,6 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.IncludeAssets = ptr.Bool(jtv) } - case "includeOffspring": if value != nil { jtv, ok := value.(bool) @@ -9823,7 +9565,6 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.IncludeOffspring = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9863,7 +9604,6 @@ func awsRestjson1_deserializeDocumentFilterByComponentType(v **types.FilterByCom } sv.ComponentTypeId = ptr.String(jtv) } - default: _, _ = key, value @@ -9903,7 +9643,6 @@ func awsRestjson1_deserializeDocumentFilterByEntity(v **types.FilterByEntity, va } sv.EntityId = ptr.String(jtv) } - default: _, _ = key, value @@ -9939,7 +9678,6 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse if err := awsRestjson1_deserializeDocumentDataConnector(&sv.ImplementedBy, value); err != nil { return err } - case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -9948,12 +9686,10 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse } sv.IsInherited = ptr.Bool(jtv) } - case "requiredProperties": if err := awsRestjson1_deserializeDocumentRequiredProperties(&sv.RequiredProperties, value); err != nil { return err } - case "scope": if value != nil { jtv, ok := value.(string) @@ -9962,7 +9698,6 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse } sv.Scope = types.Scope(jtv) } - default: _, _ = key, value @@ -10063,15 +9798,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10079,15 +9808,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10118,7 +9843,6 @@ func awsRestjson1_deserializeDocumentIotSiteWiseSourceConfiguration(v **types.Io if err := awsRestjson1_deserializeDocumentIotSiteWiseSourceConfigurationFilters(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -10240,7 +9964,6 @@ func awsRestjson1_deserializeDocumentIotTwinMakerDestinationConfiguration(v **ty } sv.Workspace = ptr.String(jtv) } - default: _, _ = key, value @@ -10276,7 +9999,6 @@ func awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(v **types.I if err := awsRestjson1_deserializeDocumentIotTwinMakerSourceConfigurationFilters(&sv.Filters, value); err != nil { return err } - case "workspace": if value != nil { jtv, ok := value.(string) @@ -10285,7 +10007,6 @@ func awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(v **types.I } sv.Workspace = ptr.String(jtv) } - default: _, _ = key, value @@ -10407,7 +10128,6 @@ func awsRestjson1_deserializeDocumentLambdaFunction(v **types.LambdaFunction, va } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -10487,7 +10207,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.FailedCount = ptr.Int32(int32(i64)) } - case "skippedCount": if value != nil { jtv, ok := value.(json.Number) @@ -10500,7 +10219,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.SkippedCount = ptr.Int32(int32(i64)) } - case "succeededCount": if value != nil { jtv, ok := value.(json.Number) @@ -10513,7 +10231,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.SucceededCount = ptr.Int32(int32(i64)) } - case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -10526,7 +10243,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.TotalCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10562,7 +10278,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "queuedPosition": if value != nil { jtv, ok := value.(json.Number) @@ -10575,7 +10290,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat } sv.QueuedPosition = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -10584,7 +10298,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat } sv.State = types.MetadataTransferJobState(jtv) } - default: _, _ = key, value @@ -10658,7 +10371,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -10674,7 +10386,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } } - case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -10683,17 +10394,14 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } sv.MetadataTransferJobId = ptr.String(jtv) } - case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -10709,7 +10417,6 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } } - default: _, _ = key, value @@ -10789,12 +10496,10 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.BillableEntityCount = ptr.Int64(i64) } - case "bundleInformation": if err := awsRestjson1_deserializeDocumentBundleInformation(&sv.BundleInformation, value); err != nil { return err } - case "effectiveDateTime": if value != nil { switch jtv := value.(type) { @@ -10810,7 +10515,6 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } } - case "pricingMode": if value != nil { jtv, ok := value.(string) @@ -10819,7 +10523,6 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.PricingMode = types.PricingMode(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -10835,7 +10538,6 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } } - case "updateReason": if value != nil { jtv, ok := value.(string) @@ -10844,7 +10546,6 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.UpdateReason = types.UpdateReason(jtv) } - default: _, _ = key, value @@ -10880,17 +10581,14 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } - case "dataType": if err := awsRestjson1_deserializeDocumentDataType(&sv.DataType, value); err != nil { return err } - case "defaultValue": if err := awsRestjson1_deserializeDocumentDataValue(&sv.DefaultValue, value); err != nil { return err } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -10899,7 +10597,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.DisplayName = ptr.String(jtv) } - case "isExternalId": if value != nil { jtv, ok := value.(bool) @@ -10908,7 +10605,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsExternalId = ptr.Bool(jtv) } - case "isFinal": if value != nil { jtv, ok := value.(bool) @@ -10917,7 +10613,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsFinal = ptr.Bool(jtv) } - case "isImported": if value != nil { jtv, ok := value.(bool) @@ -10926,7 +10621,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsImported = ptr.Bool(jtv) } - case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -10935,7 +10629,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsInherited = ptr.Bool(jtv) } - case "isRequiredInEntity": if value != nil { jtv, ok := value.(bool) @@ -10944,7 +10637,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsRequiredInEntity = ptr.Bool(jtv) } - case "isStoredExternally": if value != nil { jtv, ok := value.(bool) @@ -10953,7 +10645,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsStoredExternally = ptr.Bool(jtv) } - case "isTimeSeries": if value != nil { jtv, ok := value.(bool) @@ -10962,7 +10653,6 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsTimeSeries = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11037,7 +10727,6 @@ func awsRestjson1_deserializeDocumentPropertyGroupResponse(v **types.PropertyGro } sv.GroupType = types.GroupType(jtv) } - case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -11046,12 +10735,10 @@ func awsRestjson1_deserializeDocumentPropertyGroupResponse(v **types.PropertyGro } sv.IsInherited = ptr.Bool(jtv) } - case "propertyNames": if err := awsRestjson1_deserializeDocumentPropertyNames(&sv.PropertyNames, value); err != nil { return err } - default: _, _ = key, value @@ -11122,12 +10809,10 @@ func awsRestjson1_deserializeDocumentPropertyLatestValue(v **types.PropertyLates if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.PropertyReference, value); err != nil { return err } - case "propertyValue": if err := awsRestjson1_deserializeDocumentDataValue(&sv.PropertyValue, value); err != nil { return err } - default: _, _ = key, value @@ -11238,17 +10923,14 @@ func awsRestjson1_deserializeDocumentPropertyResponse(v **types.PropertyResponse } sv.AreAllPropertyValuesReturned = ptr.Bool(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentPropertyDefinitionResponse(&sv.Definition, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -11357,12 +11039,10 @@ func awsRestjson1_deserializeDocumentPropertySummary(v **types.PropertySummary, } sv.AreAllPropertyValuesReturned = ptr.Bool(jtv) } - case "definition": if err := awsRestjson1_deserializeDocumentPropertyDefinitionResponse(&sv.Definition, value); err != nil { return err } - case "propertyName": if value != nil { jtv, ok := value.(string) @@ -11371,12 +11051,10 @@ func awsRestjson1_deserializeDocumentPropertySummary(v **types.PropertySummary, } sv.PropertyName = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -11451,7 +11129,6 @@ func awsRestjson1_deserializeDocumentPropertyValue(v **types.PropertyValue, valu } sv.Time = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -11467,12 +11144,10 @@ func awsRestjson1_deserializeDocumentPropertyValue(v **types.PropertyValue, valu } } - case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -11508,12 +11183,10 @@ func awsRestjson1_deserializeDocumentPropertyValueEntry(v **types.PropertyValueE if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.EntityPropertyReference, value); err != nil { return err } - case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyValues(&sv.PropertyValues, value); err != nil { return err } - default: _, _ = key, value @@ -11549,12 +11222,10 @@ func awsRestjson1_deserializeDocumentPropertyValueHistory(v **types.PropertyValu if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.EntityPropertyReference, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -11660,15 +11331,9 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11676,15 +11341,11 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11719,7 +11380,6 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.RelationshipType = ptr.String(jtv) } - case "targetComponentTypeId": if value != nil { jtv, ok := value.(string) @@ -11728,7 +11388,6 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.TargetComponentTypeId = ptr.String(jtv) } - default: _, _ = key, value @@ -11768,7 +11427,6 @@ func awsRestjson1_deserializeDocumentRelationshipValue(v **types.RelationshipVal } sv.TargetComponentName = ptr.String(jtv) } - case "targetEntityId": if value != nil { jtv, ok := value.(string) @@ -11777,7 +11435,6 @@ func awsRestjson1_deserializeDocumentRelationshipValue(v **types.RelationshipVal } sv.TargetEntityId = ptr.String(jtv) } - default: _, _ = key, value @@ -11843,15 +11500,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11859,15 +11510,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11898,7 +11545,6 @@ func awsRestjson1_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsRestjson1_deserializeDocumentRowData(&sv.RowData, value); err != nil { return err } - default: _, _ = key, value @@ -12004,7 +11650,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -12044,7 +11689,6 @@ func awsRestjson1_deserializeDocumentS3SourceConfiguration(v **types.S3SourceCon } sv.Location = ptr.String(jtv) } - default: _, _ = key, value @@ -12120,7 +11764,6 @@ func awsRestjson1_deserializeDocumentSceneError(v **types.SceneError, value inte } sv.Code = types.SceneErrorCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -12129,7 +11772,6 @@ func awsRestjson1_deserializeDocumentSceneError(v **types.SceneError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -12239,7 +11881,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.Arn = ptr.String(jtv) } - case "contentLocation": if value != nil { jtv, ok := value.(string) @@ -12248,7 +11889,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.ContentLocation = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12264,7 +11904,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -12273,7 +11912,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.Description = ptr.String(jtv) } - case "sceneId": if value != nil { jtv, ok := value.(string) @@ -12282,7 +11920,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.SceneId = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12298,7 +11935,6 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } } - default: _, _ = key, value @@ -12328,15 +11964,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12344,15 +11974,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12383,17 +12009,14 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentIotSiteWiseSourceConfiguration(&sv.IotSiteWiseConfiguration, value); err != nil { return err } - case "iotTwinMakerConfiguration": if err := awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(&sv.IotTwinMakerConfiguration, value); err != nil { return err } - case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3SourceConfiguration(&sv.S3Configuration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12402,7 +12025,6 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu } sv.Type = types.SourceType(jtv) } - default: _, _ = key, value @@ -12472,7 +12094,6 @@ func awsRestjson1_deserializeDocumentStatus(v **types.Status, value interface{}) if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -12481,7 +12102,6 @@ func awsRestjson1_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -12517,7 +12137,6 @@ func awsRestjson1_deserializeDocumentSyncJobStatus(v **types.SyncJobStatus, valu if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -12526,7 +12145,6 @@ func awsRestjson1_deserializeDocumentSyncJobStatus(v **types.SyncJobStatus, valu } sv.State = types.SyncJobState(jtv) } - default: _, _ = key, value @@ -12600,7 +12218,6 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12616,12 +12233,10 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } } - case "status": if err := awsRestjson1_deserializeDocumentSyncJobStatus(&sv.Status, value); err != nil { return err } - case "syncSource": if value != nil { jtv, ok := value.(string) @@ -12630,7 +12245,6 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.SyncSource = ptr.String(jtv) } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12646,7 +12260,6 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -12655,7 +12268,6 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12691,7 +12303,6 @@ func awsRestjson1_deserializeDocumentSyncResourceStatus(v **types.SyncResourceSt if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -12700,7 +12311,6 @@ func awsRestjson1_deserializeDocumentSyncResourceStatus(v **types.SyncResourceSt } sv.State = types.SyncResourceState(jtv) } - default: _, _ = key, value @@ -12774,7 +12384,6 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ExternalId = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12783,7 +12392,6 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12792,12 +12400,10 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ResourceType = types.SyncResourceType(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentSyncResourceStatus(&sv.Status, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12813,7 +12419,6 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } } - default: _, _ = key, value @@ -12943,15 +12548,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12959,15 +12558,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12992,15 +12587,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13008,15 +12597,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13041,15 +12626,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13057,15 +12636,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13168,7 +12743,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -13184,7 +12758,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13193,12 +12766,10 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Description = ptr.String(jtv) } - case "linkedServices": if err := awsRestjson1_deserializeDocumentLinkedServices(&sv.LinkedServices, value); err != nil { return err } - case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -13214,7 +12785,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } - case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -13223,7 +12793,6 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/iotwireless/deserializers.go b/service/iotwireless/deserializers.go index 154cfeebc70..c6f1873e93c 100644 --- a/service/iotwireless/deserializers.go +++ b/service/iotwireless/deserializers.go @@ -191,12 +191,10 @@ func awsRestjson1_deserializeOpDocumentAssociateAwsAccountWithPartnerAccountOutp } sv.Arn = ptr.String(jtv) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountInfo(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -779,7 +777,6 @@ func awsRestjson1_deserializeOpDocumentAssociateWirelessGatewayWithCertificateOu } sv.IotCertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -1156,7 +1153,6 @@ func awsRestjson1_deserializeOpDocumentCreateDestinationOutput(v **CreateDestina } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1165,7 +1161,6 @@ func awsRestjson1_deserializeOpDocumentCreateDestinationOutput(v **CreateDestina } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1333,7 +1328,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceProfileOutput(v **CreateDevic } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1342,7 +1336,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceProfileOutput(v **CreateDevic } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1513,7 +1506,6 @@ func awsRestjson1_deserializeOpDocumentCreateFuotaTaskOutput(v **CreateFuotaTask } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1522,7 +1514,6 @@ func awsRestjson1_deserializeOpDocumentCreateFuotaTaskOutput(v **CreateFuotaTask } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1693,7 +1684,6 @@ func awsRestjson1_deserializeOpDocumentCreateMulticastGroupOutput(v **CreateMult } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1702,7 +1692,6 @@ func awsRestjson1_deserializeOpDocumentCreateMulticastGroupOutput(v **CreateMult } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1873,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkAnalyzerConfigurationOutput( } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1882,7 +1870,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkAnalyzerConfigurationOutput( } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2050,7 +2037,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceProfileOutput(v **CreateServ } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2059,7 +2045,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceProfileOutput(v **CreateServ } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2230,7 +2215,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessDeviceOutput(v **CreateWire } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2239,7 +2223,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessDeviceOutput(v **CreateWire } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2407,7 +2390,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayOutput(v **CreateWir } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2416,7 +2398,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayOutput(v **CreateWir } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2587,7 +2568,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskOutput(v **Creat } sv.Status = types.WirelessGatewayTaskStatus(jtv) } - case "WirelessGatewayTaskDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2596,7 +2576,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskOutput(v **Creat } sv.WirelessGatewayTaskDefinitionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2767,7 +2746,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskDefinitionOutput } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2776,7 +2754,6 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskDefinitionOutput } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4965,7 +4942,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4974,7 +4950,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Description = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4958,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Expression = ptr.String(jtv) } - case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -4992,7 +4966,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.ExpressionType = types.ExpressionType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4974,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5010,7 +4982,6 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5178,7 +5149,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5187,12 +5157,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5201,12 +5169,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Name = ptr.String(jtv) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -5364,27 +5330,22 @@ func awsRestjson1_deserializeOpDocumentGetEventConfigurationByResourceTypesOutpu if err := awsRestjson1_deserializeDocumentConnectionStatusResourceTypeEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } - case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateResourceTypeEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } - case "Join": if err := awsRestjson1_deserializeDocumentJoinResourceTypeEventConfiguration(&sv.Join, value); err != nil { return err } - case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusResourceTypeEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } - case "Proximity": if err := awsRestjson1_deserializeDocumentProximityResourceTypeEventConfiguration(&sv.Proximity, value); err != nil { return err } - default: _, _ = key, value @@ -5552,7 +5513,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5568,7 +5528,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5577,7 +5536,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Description = ptr.String(jtv) } - case "FirmwareUpdateImage": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5544,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FirmwareUpdateImage = ptr.String(jtv) } - case "FirmwareUpdateRole": if value != nil { jtv, ok := value.(string) @@ -5595,7 +5552,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FirmwareUpdateRole = ptr.String(jtv) } - case "FragmentIntervalMS": if value != nil { jtv, ok := value.(json.Number) @@ -5608,7 +5564,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FragmentIntervalMS = ptr.Int32(int32(i64)) } - case "FragmentSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5621,7 +5576,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FragmentSizeBytes = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5630,12 +5584,10 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5644,7 +5596,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Name = ptr.String(jtv) } - case "RedundancyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5657,7 +5608,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.RedundancyPercent = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5666,7 +5616,6 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Status = types.FuotaTaskStatus(jtv) } - default: _, _ = key, value @@ -5834,17 +5783,14 @@ func awsRestjson1_deserializeOpDocumentGetLogLevelsByResourceTypesOutput(v **Get } sv.DefaultLogLevel = types.LogLevel(jtv) } - case "WirelessDeviceLogOptions": if err := awsRestjson1_deserializeDocumentWirelessDeviceLogOptionList(&sv.WirelessDeviceLogOptions, value); err != nil { return err } - case "WirelessGatewayLogOptions": if err := awsRestjson1_deserializeDocumentWirelessGatewayLogOptionList(&sv.WirelessGatewayLogOptions, value); err != nil { return err } - default: _, _ = key, value @@ -6011,7 +5957,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricConfigurationOutput(v **GetMetri if err := awsRestjson1_deserializeDocumentSummaryMetricConfiguration(&sv.SummaryMetric, value); err != nil { return err } - default: _, _ = key, value @@ -6178,7 +6123,6 @@ func awsRestjson1_deserializeOpDocumentGetMetricsOutput(v **GetMetricsOutput, va if err := awsRestjson1_deserializeDocumentSummaryMetricQueryResults(&sv.SummaryMetricQueryResults, value); err != nil { return err } - default: _, _ = key, value @@ -6346,7 +6290,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6362,7 +6305,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6371,7 +6313,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6380,12 +6321,10 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANMulticastGet(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6394,7 +6333,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6403,7 +6341,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -6567,7 +6504,6 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupSessionOutput(v **GetMul if err := awsRestjson1_deserializeDocumentLoRaWANMulticastSession(&sv.LoRaWAN, value); err != nil { return err } - default: _, _ = key, value @@ -6735,7 +6671,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6744,12 +6679,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Description = ptr.String(jtv) } - case "MulticastGroups": if err := awsRestjson1_deserializeDocumentNetworkAnalyzerMulticastGroupList(&sv.MulticastGroups, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6758,22 +6691,18 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Name = ptr.String(jtv) } - case "TraceContent": if err := awsRestjson1_deserializeDocumentTraceContent(&sv.TraceContent, value); err != nil { return err } - case "WirelessDevices": if err := awsRestjson1_deserializeDocumentWirelessDeviceList(&sv.WirelessDevices, value); err != nil { return err } - case "WirelessGateways": if err := awsRestjson1_deserializeDocumentWirelessGatewayList(&sv.WirelessGateways, value); err != nil { return err } - default: _, _ = key, value @@ -6938,12 +6867,10 @@ func awsRestjson1_deserializeOpDocumentGetPartnerAccountOutput(v **GetPartnerAcc } sv.AccountLinked = jtv } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -7107,12 +7034,10 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, if err := awsRestjson1_deserializeDocumentAccuracy(&sv.Accuracy, value); err != nil { return err } - case "Position": if err := awsRestjson1_deserializeDocumentPositionCoordinate(&sv.Position, value); err != nil { return err } - case "SolverProvider": if value != nil { jtv, ok := value.(string) @@ -7121,7 +7046,6 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverProvider = types.PositionSolverProvider(jtv) } - case "SolverType": if value != nil { jtv, ok := value.(string) @@ -7130,7 +7054,6 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverType = types.PositionSolverType(jtv) } - case "SolverVersion": if value != nil { jtv, ok := value.(string) @@ -7139,7 +7062,6 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverVersion = ptr.String(jtv) } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -7148,7 +7070,6 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -7316,12 +7237,10 @@ func awsRestjson1_deserializeOpDocumentGetPositionConfigurationOutput(v **GetPos } sv.Destination = ptr.String(jtv) } - case "Solvers": if err := awsRestjson1_deserializeDocumentPositionSolverDetails(&sv.Solvers, value); err != nil { return err } - default: _, _ = key, value @@ -7612,27 +7531,22 @@ func awsRestjson1_deserializeOpDocumentGetResourceEventConfigurationOutput(v **G if err := awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } - case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } - case "Join": if err := awsRestjson1_deserializeDocumentJoinEventConfiguration(&sv.Join, value); err != nil { return err } - case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } - case "Proximity": if err := awsRestjson1_deserializeDocumentProximityEventConfiguration(&sv.Proximity, value); err != nil { return err } - default: _, _ = key, value @@ -7800,7 +7714,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceLogLevelOutput(v **GetResource } sv.LogLevel = types.LogLevel(jtv) } - default: _, _ = key, value @@ -8092,7 +8005,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServerTrust = ptr.String(jtv) } - case "ServiceEndpoint": if value != nil { jtv, ok := value.(string) @@ -8101,7 +8013,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServiceEndpoint = ptr.String(jtv) } - case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -8110,7 +8021,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServiceType = types.WirelessGatewayServiceType(jtv) } - default: _, _ = key, value @@ -8278,7 +8188,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8287,12 +8196,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8301,7 +8208,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8469,7 +8375,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8478,7 +8383,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Description = ptr.String(jtv) } - case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -8487,7 +8391,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.DestinationName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8496,12 +8399,10 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDevice(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8510,7 +8411,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Name = ptr.String(jtv) } - case "Positioning": if value != nil { jtv, ok := value.(string) @@ -8519,12 +8419,10 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Positioning = types.PositioningConfigStatus(jtv) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkDevice(&sv.Sidewalk, value); err != nil { return err } - case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -8533,7 +8431,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.ThingArn = ptr.String(jtv) } - case "ThingName": if value != nil { jtv, ok := value.(string) @@ -8542,7 +8439,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.ThingName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8551,7 +8447,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Type = types.WirelessDeviceType(jtv) } - default: _, _ = key, value @@ -8722,7 +8617,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -8735,7 +8629,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.CreationTime = ptr.Time(t) } - case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -8744,7 +8637,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.DestinationName = ptr.String(jtv) } - case "FailedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8757,7 +8649,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.FailedImportedDeviceCount = ptr.Int64(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8766,7 +8657,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Id = ptr.String(jtv) } - case "InitializedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8779,7 +8669,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.InitializedImportedDeviceCount = ptr.Int64(i64) } - case "OnboardedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8792,7 +8681,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.OnboardedImportedDeviceCount = ptr.Int64(i64) } - case "PendingImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8805,12 +8693,10 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.PendingImportedDeviceCount = ptr.Int64(i64) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(&sv.Sidewalk, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8819,7 +8705,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Status = types.ImportTaskStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -8828,7 +8713,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -8996,17 +8880,14 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceStatisticsOutput(v **Get } sv.LastUplinkReceivedAt = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(&sv.LoRaWAN, value); err != nil { return err } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(&sv.Sidewalk, value); err != nil { return err } - case "WirelessDeviceId": if value != nil { jtv, ok := value.(string) @@ -9015,7 +8896,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceStatisticsOutput(v **Get } sv.WirelessDeviceId = ptr.String(jtv) } - default: _, _ = key, value @@ -9183,7 +9063,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9192,7 +9071,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9201,12 +9079,10 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGateway(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9215,7 +9091,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Name = ptr.String(jtv) } - case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -9224,7 +9099,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.ThingArn = ptr.String(jtv) } - case "ThingName": if value != nil { jtv, ok := value.(string) @@ -9233,7 +9107,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.ThingName = ptr.String(jtv) } - default: _, _ = key, value @@ -9401,7 +9274,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayCertificateOutput(v **G } sv.IotCertificateId = ptr.String(jtv) } - case "LoRaWANNetworkServerCertificateId": if value != nil { jtv, ok := value.(string) @@ -9410,7 +9282,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayCertificateOutput(v **G } sv.LoRaWANNetworkServerCertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -9574,7 +9445,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayFirmwareInformationOutp if err := awsRestjson1_deserializeDocumentLoRaWANGatewayCurrentVersion(&sv.LoRaWAN, value); err != nil { return err } - default: _, _ = key, value @@ -9742,7 +9612,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.ConnectionStatus = types.ConnectionStatus(jtv) } - case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9620,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.LastUplinkReceivedAt = ptr.String(jtv) } - case "WirelessGatewayId": if value != nil { jtv, ok := value.(string) @@ -9760,7 +9628,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.WirelessGatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -9928,7 +9795,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.LastUplinkReceivedAt = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9937,7 +9803,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.Status = types.WirelessGatewayTaskStatus(jtv) } - case "TaskCreatedAt": if value != nil { jtv, ok := value.(string) @@ -9946,7 +9811,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.TaskCreatedAt = ptr.String(jtv) } - case "WirelessGatewayId": if value != nil { jtv, ok := value.(string) @@ -9955,7 +9819,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.WirelessGatewayId = ptr.String(jtv) } - case "WirelessGatewayTaskDefinitionId": if value != nil { jtv, ok := value.(string) @@ -9964,7 +9827,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.WirelessGatewayTaskDefinitionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10132,7 +9994,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.Arn = ptr.String(jtv) } - case "AutoCreateTasks": if value != nil { jtv, ok := value.(bool) @@ -10141,7 +10002,6 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.AutoCreateTasks = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10150,12 +10010,10 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.Name = ptr.String(jtv) } - case "Update": if err := awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(&sv.Update, value); err != nil { return err } - default: _, _ = key, value @@ -10316,7 +10174,6 @@ func awsRestjson1_deserializeOpDocumentListDestinationsOutput(v **ListDestinatio if err := awsRestjson1_deserializeDocumentDestinationList(&sv.DestinationList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10325,7 +10182,6 @@ func awsRestjson1_deserializeOpDocumentListDestinationsOutput(v **ListDestinatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10486,7 +10342,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceProfilesOutput(v **ListDevicePr if err := awsRestjson1_deserializeDocumentDeviceProfileList(&sv.DeviceProfileList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10495,7 +10350,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceProfilesOutput(v **ListDevicePr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10666,12 +10520,10 @@ func awsRestjson1_deserializeOpDocumentListDevicesForWirelessDeviceImportTaskOut } sv.DestinationName = ptr.String(jtv) } - case "ImportedWirelessDeviceList": if err := awsRestjson1_deserializeDocumentImportedWirelessDeviceList(&sv.ImportedWirelessDeviceList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10680,7 +10532,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesForWirelessDeviceImportTaskOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10841,7 +10692,6 @@ func awsRestjson1_deserializeOpDocumentListEventConfigurationsOutput(v **ListEve if err := awsRestjson1_deserializeDocumentEventConfigurationsList(&sv.EventConfigurationsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10850,7 +10700,6 @@ func awsRestjson1_deserializeOpDocumentListEventConfigurationsOutput(v **ListEve } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11011,7 +10860,6 @@ func awsRestjson1_deserializeOpDocumentListFuotaTasksOutput(v **ListFuotaTasksOu if err := awsRestjson1_deserializeDocumentFuotaTaskList(&sv.FuotaTaskList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11020,7 +10868,6 @@ func awsRestjson1_deserializeOpDocumentListFuotaTasksOutput(v **ListFuotaTasksOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11181,7 +11028,6 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsOutput(v **ListMultica if err := awsRestjson1_deserializeDocumentMulticastGroupList(&sv.MulticastGroupList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11190,7 +11036,6 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsOutput(v **ListMultica } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11354,7 +11199,6 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsByFuotaTaskOutput(v ** if err := awsRestjson1_deserializeDocumentMulticastGroupListByFuotaTask(&sv.MulticastGroupList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11363,7 +11207,6 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsByFuotaTaskOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11524,7 +11367,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkAnalyzerConfigurationsOutput(v if err := awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurationList(&sv.NetworkAnalyzerConfigurationList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11533,7 +11375,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkAnalyzerConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11698,12 +11539,10 @@ func awsRestjson1_deserializeOpDocumentListPartnerAccountsOutput(v **ListPartner } sv.NextToken = ptr.String(jtv) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountList(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -11868,12 +11707,10 @@ func awsRestjson1_deserializeOpDocumentListPositionConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "PositionConfigurationList": if err := awsRestjson1_deserializeDocumentPositionConfigurationList(&sv.PositionConfigurationList, value); err != nil { return err } - default: _, _ = key, value @@ -12037,7 +11874,6 @@ func awsRestjson1_deserializeOpDocumentListQueuedMessagesOutput(v **ListQueuedMe if err := awsRestjson1_deserializeDocumentDownlinkQueueMessagesList(&sv.DownlinkQueueMessagesList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12046,7 +11882,6 @@ func awsRestjson1_deserializeOpDocumentListQueuedMessagesOutput(v **ListQueuedMe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12211,12 +12046,10 @@ func awsRestjson1_deserializeOpDocumentListServiceProfilesOutput(v **ListService } sv.NextToken = ptr.String(jtv) } - case "ServiceProfileList": if err := awsRestjson1_deserializeDocumentServiceProfileList(&sv.ServiceProfileList, value); err != nil { return err } - default: _, _ = key, value @@ -12380,7 +12213,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12551,12 +12383,10 @@ func awsRestjson1_deserializeOpDocumentListWirelessDeviceImportTasksOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "WirelessDeviceImportTaskList": if err := awsRestjson1_deserializeDocumentWirelessDeviceImportTaskList(&sv.WirelessDeviceImportTaskList, value); err != nil { return err } - default: _, _ = key, value @@ -12721,12 +12551,10 @@ func awsRestjson1_deserializeOpDocumentListWirelessDevicesOutput(v **ListWireles } sv.NextToken = ptr.String(jtv) } - case "WirelessDeviceList": if err := awsRestjson1_deserializeDocumentWirelessDeviceStatisticsList(&sv.WirelessDeviceList, value); err != nil { return err } - default: _, _ = key, value @@ -12891,12 +12719,10 @@ func awsRestjson1_deserializeOpDocumentListWirelessGatewaysOutput(v **ListWirele } sv.NextToken = ptr.String(jtv) } - case "WirelessGatewayList": if err := awsRestjson1_deserializeDocumentWirelessGatewayStatisticsList(&sv.WirelessGatewayList, value); err != nil { return err } - default: _, _ = key, value @@ -13061,12 +12887,10 @@ func awsRestjson1_deserializeOpDocumentListWirelessGatewayTaskDefinitionsOutput( } sv.NextToken = ptr.String(jtv) } - case "TaskDefinitions": if err := awsRestjson1_deserializeDocumentWirelessGatewayTaskDefinitionList(&sv.TaskDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -13637,7 +13461,6 @@ func awsRestjson1_deserializeOpDocumentSendDataToMulticastGroupOutput(v **SendDa } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -13802,7 +13625,6 @@ func awsRestjson1_deserializeOpDocumentSendDataToWirelessDeviceOutput(v **SendDa } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -14379,7 +14201,6 @@ func awsRestjson1_deserializeOpDocumentStartSingleWirelessDeviceImportTaskOutput } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14388,7 +14209,6 @@ func awsRestjson1_deserializeOpDocumentStartSingleWirelessDeviceImportTaskOutput } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -14559,7 +14379,6 @@ func awsRestjson1_deserializeOpDocumentStartWirelessDeviceImportTaskOutput(v **S } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14568,7 +14387,6 @@ func awsRestjson1_deserializeOpDocumentStartWirelessDeviceImportTaskOutput(v **S } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -14836,7 +14654,6 @@ func awsRestjson1_deserializeOpDocumentTestWirelessDeviceOutput(v **TestWireless } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -16640,7 +16457,6 @@ func awsRestjson1_deserializeDocumentAbpV1_0_x(v **types.AbpV1_0_x, value interf } sv.DevAddr = ptr.String(jtv) } - case "FCntStart": if value != nil { jtv, ok := value.(json.Number) @@ -16653,12 +16469,10 @@ func awsRestjson1_deserializeDocumentAbpV1_0_x(v **types.AbpV1_0_x, value interf } sv.FCntStart = ptr.Int32(int32(i64)) } - case "SessionKeys": if err := awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(&sv.SessionKeys, value); err != nil { return err } - default: _, _ = key, value @@ -16698,7 +16512,6 @@ func awsRestjson1_deserializeDocumentAbpV1_1(v **types.AbpV1_1, value interface{ } sv.DevAddr = ptr.String(jtv) } - case "FCntStart": if value != nil { jtv, ok := value.(json.Number) @@ -16711,12 +16524,10 @@ func awsRestjson1_deserializeDocumentAbpV1_1(v **types.AbpV1_1, value interface{ } sv.FCntStart = ptr.Int32(int32(i64)) } - case "SessionKeys": if err := awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(&sv.SessionKeys, value); err != nil { return err } - default: _, _ = key, value @@ -16746,15 +16557,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16762,15 +16567,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16830,7 +16631,6 @@ func awsRestjson1_deserializeDocumentAccuracy(v **types.Accuracy, value interfac } } - case "VerticalAccuracy": if value != nil { switch jtv := value.(type) { @@ -16864,7 +16664,6 @@ func awsRestjson1_deserializeDocumentAccuracy(v **types.Accuracy, value interfac } } - default: _, _ = key, value @@ -16904,7 +16703,6 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.DestinationName = ptr.String(jtv) } - case "FPort": if value != nil { jtv, ok := value.(json.Number) @@ -16917,7 +16715,6 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.FPort = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16926,7 +16723,6 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.Type = types.ApplicationConfigType(jtv) } - default: _, _ = key, value @@ -17004,12 +16800,10 @@ func awsRestjson1_deserializeDocumentBeaconing(v **types.Beaconing, value interf } sv.DataRate = ptr.Int32(int32(i64)) } - case "Frequencies": if err := awsRestjson1_deserializeDocumentBeaconingFrequencies(&sv.Frequencies, value); err != nil { return err } - default: _, _ = key, value @@ -17089,7 +16883,6 @@ func awsRestjson1_deserializeDocumentCertificateList(v **types.CertificateList, } sv.SigningAlg = types.SigningAlg(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -17098,7 +16891,6 @@ func awsRestjson1_deserializeDocumentCertificateList(v **types.CertificateList, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17128,15 +16920,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17144,7 +16930,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -17153,7 +16938,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17162,15 +16946,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17201,7 +16981,6 @@ func awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(v **type if err := awsRestjson1_deserializeDocumentLoRaWANConnectionStatusEventNotificationConfigurations(&sv.LoRaWAN, value); err != nil { return err } - case "WirelessGatewayIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -17210,7 +16989,6 @@ func awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(v **type } sv.WirelessGatewayIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -17246,7 +17024,6 @@ func awsRestjson1_deserializeDocumentConnectionStatusResourceTypeEventConfigurat if err := awsRestjson1_deserializeDocumentLoRaWANConnectionStatusResourceTypeEventConfiguration(&sv.LoRaWAN, value); err != nil { return err } - default: _, _ = key, value @@ -17286,7 +17063,6 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.ApId = ptr.String(jtv) } - case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -17295,7 +17071,6 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.CertificateId = ptr.String(jtv) } - case "DeviceTypeId": if value != nil { jtv, ok := value.(string) @@ -17304,7 +17079,6 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.DeviceTypeId = ptr.String(jtv) } - case "FactorySupport": if value != nil { jtv, ok := value.(bool) @@ -17313,7 +17087,6 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.FactorySupport = ptr.Bool(jtv) } - case "MaxAllowedSignature": if value != nil { jtv, ok := value.(json.Number) @@ -17326,7 +17099,6 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.MaxAllowedSignature = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17434,7 +17206,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17443,7 +17214,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Description = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -17452,7 +17222,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Expression = ptr.String(jtv) } - case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -17461,7 +17230,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.ExpressionType = types.ExpressionType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17470,7 +17238,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17479,7 +17246,6 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17589,7 +17355,6 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -17598,7 +17363,6 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17607,7 +17371,6 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17677,7 +17440,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(v if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } - case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -17686,7 +17448,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(v } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -17722,7 +17483,6 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateResourceTypeEventCon if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -17762,7 +17522,6 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Name = types.DimensionName(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17771,7 +17530,6 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17841,7 +17599,6 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu if err := awsRestjson1_deserializeDocumentLoRaWANSendDataToDevice(&sv.LoRaWAN, value); err != nil { return err } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -17850,7 +17607,6 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.MessageId = ptr.String(jtv) } - case "ReceivedAt": if value != nil { jtv, ok := value.(string) @@ -17859,7 +17615,6 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.ReceivedAt = ptr.String(jtv) } - case "TransmitMode": if value != nil { jtv, ok := value.(json.Number) @@ -17872,7 +17627,6 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.TransmitMode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17942,7 +17696,6 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi if err := awsRestjson1_deserializeDocumentEventNotificationItemConfigurations(&sv.Events, value); err != nil { return err } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -17951,7 +17704,6 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.Identifier = ptr.String(jtv) } - case "IdentifierType": if value != nil { jtv, ok := value.(string) @@ -17960,7 +17712,6 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.IdentifierType = types.IdentifierType(jtv) } - case "PartnerType": if value != nil { jtv, ok := value.(string) @@ -17969,7 +17720,6 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.PartnerType = types.EventNotificationPartnerType(jtv) } - default: _, _ = key, value @@ -18039,27 +17789,22 @@ func awsRestjson1_deserializeDocumentEventNotificationItemConfigurations(v **typ if err := awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } - case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } - case "Join": if err := awsRestjson1_deserializeDocumentJoinEventConfiguration(&sv.Join, value); err != nil { return err } - case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } - case "Proximity": if err := awsRestjson1_deserializeDocumentProximityEventConfiguration(&sv.Proximity, value); err != nil { return err } - default: _, _ = key, value @@ -18135,7 +17880,6 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } - case "ClockSync": if value != nil { jtv, ok := value.(json.Number) @@ -18148,7 +17892,6 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.ClockSync = ptr.Int32(int32(i64)) } - case "Fuota": if value != nil { jtv, ok := value.(json.Number) @@ -18161,7 +17904,6 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.Fuota = ptr.Int32(int32(i64)) } - case "Multicast": if value != nil { jtv, ok := value.(json.Number) @@ -18174,12 +17916,10 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.Multicast = ptr.Int32(int32(i64)) } - case "Positioning": if err := awsRestjson1_deserializeDocumentPositioning(&sv.Positioning, value); err != nil { return err } - default: _, _ = key, value @@ -18219,7 +17959,6 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -18228,7 +17967,6 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18237,7 +17975,6 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18349,7 +18086,6 @@ func awsRestjson1_deserializeDocumentGatewayListItem(v **types.GatewayListItem, } sv.DownlinkFrequency = ptr.Int32(int32(i64)) } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -18358,7 +18094,6 @@ func awsRestjson1_deserializeDocumentGatewayListItem(v **types.GatewayListItem, } sv.GatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -18402,7 +18137,6 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.LastUpdateTime = ptr.Time(t) } - case "OnboardingStatus": if value != nil { jtv, ok := value.(string) @@ -18411,7 +18145,6 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.OnboardingStatus = types.OnboardStatus(jtv) } - case "OnboardingStatusReason": if value != nil { jtv, ok := value.(string) @@ -18420,7 +18153,6 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.OnboardingStatusReason = ptr.String(jtv) } - case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -18429,7 +18161,6 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.SidewalkManufacturingSn = ptr.String(jtv) } - default: _, _ = key, value @@ -18465,7 +18196,6 @@ func awsRestjson1_deserializeDocumentImportedWirelessDevice(v **types.ImportedWi if err := awsRestjson1_deserializeDocumentImportedSidewalkDevice(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -18529,15 +18259,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18545,15 +18269,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18652,7 +18372,6 @@ func awsRestjson1_deserializeDocumentJoinEventConfiguration(v **types.JoinEventC if err := awsRestjson1_deserializeDocumentLoRaWANJoinEventNotificationConfigurations(&sv.LoRaWAN, value); err != nil { return err } - case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -18661,7 +18380,6 @@ func awsRestjson1_deserializeDocumentJoinEventConfiguration(v **types.JoinEventC } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -18697,7 +18415,6 @@ func awsRestjson1_deserializeDocumentJoinResourceTypeEventConfiguration(v **type if err := awsRestjson1_deserializeDocumentLoRaWANJoinResourceTypeEventConfiguration(&sv.LoRaWAN, value); err != nil { return err } - default: _, _ = key, value @@ -18737,7 +18454,6 @@ func awsRestjson1_deserializeDocumentLoRaWANConnectionStatusEventNotificationCon } sv.GatewayEuiEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -18777,7 +18493,6 @@ func awsRestjson1_deserializeDocumentLoRaWANConnectionStatusResourceTypeEventCon } sv.WirelessGatewayEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -18813,12 +18528,10 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu if err := awsRestjson1_deserializeDocumentAbpV1_0_x(&sv.AbpV1_0_x, value); err != nil { return err } - case "AbpV1_1": if err := awsRestjson1_deserializeDocumentAbpV1_1(&sv.AbpV1_1, value); err != nil { return err } - case "DevEui": if value != nil { jtv, ok := value.(string) @@ -18827,7 +18540,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.DevEui = ptr.String(jtv) } - case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -18836,22 +18548,18 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.DeviceProfileId = ptr.String(jtv) } - case "FPorts": if err := awsRestjson1_deserializeDocumentFPorts(&sv.FPorts, value); err != nil { return err } - case "OtaaV1_0_x": if err := awsRestjson1_deserializeDocumentOtaaV1_0_x(&sv.OtaaV1_0_x, value); err != nil { return err } - case "OtaaV1_1": if err := awsRestjson1_deserializeDocumentOtaaV1_1(&sv.OtaaV1_1, value); err != nil { return err } - case "ServiceProfileId": if value != nil { jtv, ok := value.(string) @@ -18860,7 +18568,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.ServiceProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -18904,7 +18611,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.DataRate = ptr.Int32(int32(i64)) } - case "DevEui": if value != nil { jtv, ok := value.(string) @@ -18913,7 +18619,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.DevEui = ptr.String(jtv) } - case "FPort": if value != nil { jtv, ok := value.(json.Number) @@ -18926,7 +18631,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.FPort = ptr.Int32(int32(i64)) } - case "Frequency": if value != nil { jtv, ok := value.(json.Number) @@ -18939,17 +18643,14 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.Frequency = ptr.Int32(int32(i64)) } - case "Gateways": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayMetadataList(&sv.Gateways, value); err != nil { return err } - case "PublicGateways": if err := awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadataList(&sv.PublicGateways, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -18958,7 +18659,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -19002,7 +18702,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.ClassBTimeout = ptr.Int32(int32(i64)) } - case "ClassCTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19015,12 +18714,10 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.ClassCTimeout = ptr.Int32(int32(i64)) } - case "FactoryPresetFreqsList": if err := awsRestjson1_deserializeDocumentFactoryPresetFreqsList(&sv.FactoryPresetFreqsList, value); err != nil { return err } - case "MacVersion": if value != nil { jtv, ok := value.(string) @@ -19029,7 +18726,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MacVersion = ptr.String(jtv) } - case "MaxDutyCycle": if value != nil { jtv, ok := value.(json.Number) @@ -19042,7 +18738,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MaxDutyCycle = ptr.Int32(int32(i64)) } - case "MaxEirp": if value != nil { jtv, ok := value.(json.Number) @@ -19055,7 +18750,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MaxEirp = ptr.Int32(int32(i64)) } - case "PingSlotDr": if value != nil { jtv, ok := value.(json.Number) @@ -19068,7 +18762,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotDr = ptr.Int32(int32(i64)) } - case "PingSlotFreq": if value != nil { jtv, ok := value.(json.Number) @@ -19081,7 +18774,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotFreq = ptr.Int32(int32(i64)) } - case "PingSlotPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -19094,7 +18786,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotPeriod = ptr.Int32(int32(i64)) } - case "RegParamsRevision": if value != nil { jtv, ok := value.(string) @@ -19103,7 +18794,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RegParamsRevision = ptr.String(jtv) } - case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -19112,7 +18802,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RfRegion = ptr.String(jtv) } - case "RxDataRate2": if value != nil { jtv, ok := value.(json.Number) @@ -19125,7 +18814,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDataRate2 = ptr.Int32(int32(i64)) } - case "RxDelay1": if value != nil { jtv, ok := value.(json.Number) @@ -19138,7 +18826,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDelay1 = ptr.Int32(int32(i64)) } - case "RxDrOffset1": if value != nil { jtv, ok := value.(json.Number) @@ -19151,7 +18838,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDrOffset1 = ptr.Int32(int32(i64)) } - case "RxFreq2": if value != nil { jtv, ok := value.(json.Number) @@ -19164,7 +18850,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxFreq2 = ptr.Int32(int32(i64)) } - case "Supports32BitFCnt": if value != nil { jtv, ok := value.(bool) @@ -19173,7 +18858,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.Supports32BitFCnt = jtv } - case "SupportsClassB": if value != nil { jtv, ok := value.(bool) @@ -19182,7 +18866,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsClassB = jtv } - case "SupportsClassC": if value != nil { jtv, ok := value.(bool) @@ -19191,7 +18874,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsClassC = jtv } - case "SupportsJoin": if value != nil { jtv, ok := value.(bool) @@ -19200,7 +18882,6 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsJoin = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19240,7 +18921,6 @@ func awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(v **types.LoRaWANFu } sv.RfRegion = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -19253,7 +18933,6 @@ func awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(v **types.LoRaWANFu } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -19289,7 +18968,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va if err := awsRestjson1_deserializeDocumentBeaconing(&sv.Beaconing, value); err != nil { return err } - case "GatewayEui": if value != nil { jtv, ok := value.(string) @@ -19298,12 +18976,10 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } sv.GatewayEui = ptr.String(jtv) } - case "JoinEuiFilters": if err := awsRestjson1_deserializeDocumentJoinEuiFilters(&sv.JoinEuiFilters, value); err != nil { return err } - case "MaxEirp": if value != nil { switch jtv := value.(type) { @@ -19337,12 +19013,10 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } } - case "NetIdFilters": if err := awsRestjson1_deserializeDocumentNetIdFilters(&sv.NetIdFilters, value); err != nil { return err } - case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -19351,12 +19025,10 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } sv.RfRegion = ptr.String(jtv) } - case "SubBands": if err := awsRestjson1_deserializeDocumentSubBands(&sv.SubBands, value); err != nil { return err } - default: _, _ = key, value @@ -19392,7 +19064,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayCurrentVersion(v **types.LoRa if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } - default: _, _ = key, value @@ -19432,7 +19103,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } sv.GatewayEui = ptr.String(jtv) } - case "Rssi": if value != nil { switch jtv := value.(type) { @@ -19466,7 +19136,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } } - case "Snr": if value != nil { switch jtv := value.(type) { @@ -19500,7 +19169,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } } - default: _, _ = key, value @@ -19574,7 +19242,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.Model = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -19583,7 +19250,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.PackageVersion = ptr.String(jtv) } - case "Station": if value != nil { jtv, ok := value.(string) @@ -19592,7 +19258,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.Station = ptr.String(jtv) } - default: _, _ = key, value @@ -19632,7 +19297,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.AddGwMetadata = jtv } - case "ChannelMask": if value != nil { jtv, ok := value.(string) @@ -19641,7 +19305,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ChannelMask = ptr.String(jtv) } - case "DevStatusReqFreq": if value != nil { jtv, ok := value.(json.Number) @@ -19654,7 +19317,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DevStatusReqFreq = ptr.Int32(int32(i64)) } - case "DlBucketSize": if value != nil { jtv, ok := value.(json.Number) @@ -19667,7 +19329,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlBucketSize = ptr.Int32(int32(i64)) } - case "DlRate": if value != nil { jtv, ok := value.(json.Number) @@ -19680,7 +19341,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlRate = ptr.Int32(int32(i64)) } - case "DlRatePolicy": if value != nil { jtv, ok := value.(string) @@ -19689,7 +19349,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlRatePolicy = ptr.String(jtv) } - case "DrMax": if value != nil { jtv, ok := value.(json.Number) @@ -19702,7 +19361,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DrMax = int32(i64) } - case "DrMin": if value != nil { jtv, ok := value.(json.Number) @@ -19715,7 +19373,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DrMin = int32(i64) } - case "HrAllowed": if value != nil { jtv, ok := value.(bool) @@ -19724,7 +19381,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.HrAllowed = jtv } - case "MinGwDiversity": if value != nil { jtv, ok := value.(json.Number) @@ -19737,7 +19393,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.MinGwDiversity = ptr.Int32(int32(i64)) } - case "NwkGeoLoc": if value != nil { jtv, ok := value.(bool) @@ -19746,7 +19401,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.NwkGeoLoc = jtv } - case "PrAllowed": if value != nil { jtv, ok := value.(bool) @@ -19755,7 +19409,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.PrAllowed = jtv } - case "RaAllowed": if value != nil { jtv, ok := value.(bool) @@ -19764,7 +19417,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.RaAllowed = jtv } - case "ReportDevStatusBattery": if value != nil { jtv, ok := value.(bool) @@ -19773,7 +19425,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ReportDevStatusBattery = jtv } - case "ReportDevStatusMargin": if value != nil { jtv, ok := value.(bool) @@ -19782,7 +19433,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ReportDevStatusMargin = jtv } - case "TargetPer": if value != nil { jtv, ok := value.(json.Number) @@ -19795,7 +19445,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.TargetPer = int32(i64) } - case "UlBucketSize": if value != nil { jtv, ok := value.(json.Number) @@ -19808,7 +19457,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlBucketSize = ptr.Int32(int32(i64)) } - case "UlRate": if value != nil { jtv, ok := value.(json.Number) @@ -19821,7 +19469,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlRate = ptr.Int32(int32(i64)) } - case "UlRatePolicy": if value != nil { jtv, ok := value.(string) @@ -19830,7 +19477,6 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlRatePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -19870,7 +19516,6 @@ func awsRestjson1_deserializeDocumentLoRaWANJoinEventNotificationConfigurations( } sv.DevEuiEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -19910,7 +19555,6 @@ func awsRestjson1_deserializeDocumentLoRaWANJoinResourceTypeEventConfiguration(v } sv.WirelessDeviceEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -19950,7 +19594,6 @@ func awsRestjson1_deserializeDocumentLoRaWANListDevice(v **types.LoRaWANListDevi } sv.DevEui = ptr.String(jtv) } - default: _, _ = key, value @@ -19990,7 +19633,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.DlClass = types.DlClass(jtv) } - case "NumberOfDevicesInGroup": if value != nil { jtv, ok := value.(json.Number) @@ -20003,7 +19645,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.NumberOfDevicesInGroup = ptr.Int32(int32(i64)) } - case "NumberOfDevicesRequested": if value != nil { jtv, ok := value.(json.Number) @@ -20016,7 +19657,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.NumberOfDevicesRequested = ptr.Int32(int32(i64)) } - case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -20025,7 +19665,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.RfRegion = types.SupportedRfRegion(jtv) } - default: _, _ = key, value @@ -20069,7 +19708,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.DlDr = ptr.Int32(int32(i64)) } - case "DlFreq": if value != nil { jtv, ok := value.(json.Number) @@ -20082,7 +19720,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.DlFreq = ptr.Int32(int32(i64)) } - case "PingSlotPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -20095,7 +19732,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.PingSlotPeriod = ptr.Int32(int32(i64)) } - case "SessionStartTime": if value != nil { jtv, ok := value.(string) @@ -20108,7 +19744,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.SessionStartTime = ptr.Time(t) } - case "SessionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -20121,7 +19756,6 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.SessionTimeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20161,7 +19795,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.DlAllowed = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -20170,7 +19803,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.Id = ptr.String(jtv) } - case "ProviderNetId": if value != nil { jtv, ok := value.(string) @@ -20179,7 +19811,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.ProviderNetId = ptr.String(jtv) } - case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -20188,7 +19819,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.RfRegion = ptr.String(jtv) } - case "Rssi": if value != nil { switch jtv := value.(type) { @@ -20222,7 +19852,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } } - case "Snr": if value != nil { switch jtv := value.(type) { @@ -20256,7 +19885,6 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } } - default: _, _ = key, value @@ -20334,12 +19962,10 @@ func awsRestjson1_deserializeDocumentLoRaWANSendDataToDevice(v **types.LoRaWANSe } sv.FPort = ptr.Int32(int32(i64)) } - case "ParticipatingGateways": if err := awsRestjson1_deserializeDocumentParticipatingGateways(&sv.ParticipatingGateways, value); err != nil { return err } - default: _, _ = key, value @@ -20375,7 +20001,6 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } - case "SigKeyCrc": if value != nil { jtv, ok := value.(json.Number) @@ -20388,7 +20013,6 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo } sv.SigKeyCrc = ptr.Int64(i64) } - case "UpdateSignature": if value != nil { jtv, ok := value.(string) @@ -20397,12 +20021,10 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo } sv.UpdateSignature = ptr.String(jtv) } - case "UpdateVersion": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.UpdateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -20438,12 +20060,10 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskEntry(v **types.LoR if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } - case "UpdateVersion": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.UpdateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -20479,7 +20099,6 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(v * if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } - case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -20488,7 +20107,6 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(v * } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -20524,7 +20142,6 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusResourceTypeEventConfi if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -20632,7 +20249,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - case "Max": if value != nil { switch jtv := value.(type) { @@ -20666,7 +20282,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -20700,7 +20315,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - case "P90": if value != nil { switch jtv := value.(type) { @@ -20734,7 +20348,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - case "Std": if value != nil { switch jtv := value.(type) { @@ -20768,7 +20381,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - case "Sum": if value != nil { switch jtv := value.(type) { @@ -20802,7 +20414,6 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } - default: _, _ = key, value @@ -20876,7 +20487,6 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -20885,7 +20495,6 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -20894,7 +20503,6 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -20934,7 +20542,6 @@ func awsRestjson1_deserializeDocumentMulticastGroupByFuotaTask(v **types.Multica } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21112,7 +20719,6 @@ func awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurations(v **types.Net } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21121,7 +20727,6 @@ func awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurations(v **types.Net } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21197,7 +20802,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.AppEui = ptr.String(jtv) } - case "AppKey": if value != nil { jtv, ok := value.(string) @@ -21206,7 +20810,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.AppKey = ptr.String(jtv) } - case "GenAppKey": if value != nil { jtv, ok := value.(string) @@ -21215,7 +20818,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.GenAppKey = ptr.String(jtv) } - case "JoinEui": if value != nil { jtv, ok := value.(string) @@ -21224,7 +20826,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.JoinEui = ptr.String(jtv) } - default: _, _ = key, value @@ -21264,7 +20865,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.AppKey = ptr.String(jtv) } - case "JoinEui": if value != nil { jtv, ok := value.(string) @@ -21273,7 +20873,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.JoinEui = ptr.String(jtv) } - case "NwkKey": if value != nil { jtv, ok := value.(string) @@ -21282,7 +20881,6 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.NwkKey = ptr.String(jtv) } - default: _, _ = key, value @@ -21322,12 +20920,10 @@ func awsRestjson1_deserializeDocumentParticipatingGateways(v **types.Participati } sv.DownlinkMode = types.DownlinkMode(jtv) } - case "GatewayList": if err := awsRestjson1_deserializeDocumentGatewayList(&sv.GatewayList, value); err != nil { return err } - case "TransmissionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -21340,7 +20936,6 @@ func awsRestjson1_deserializeDocumentParticipatingGateways(v **types.Participati } sv.TransmissionInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21380,7 +20975,6 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.Destination = ptr.String(jtv) } - case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -21389,7 +20983,6 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.ResourceIdentifier = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21398,12 +20991,10 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.ResourceType = types.PositionResourceType(jtv) } - case "Solvers": if err := awsRestjson1_deserializeDocumentPositionSolverDetails(&sv.Solvers, value); err != nil { return err } - default: _, _ = key, value @@ -21542,7 +21133,6 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.ClockSync = ptr.Int32(int32(i64)) } - case "Gnss": if value != nil { jtv, ok := value.(json.Number) @@ -21555,7 +21145,6 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.Gnss = ptr.Int32(int32(i64)) } - case "Stream": if value != nil { jtv, ok := value.(json.Number) @@ -21568,7 +21157,6 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.Stream = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21604,7 +21192,6 @@ func awsRestjson1_deserializeDocumentPositionSolverDetails(v **types.PositionSol if err := awsRestjson1_deserializeDocumentSemtechGnssDetail(&sv.SemtechGnss, value); err != nil { return err } - default: _, _ = key, value @@ -21674,7 +21261,6 @@ func awsRestjson1_deserializeDocumentProximityEventConfiguration(v **types.Proxi if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } - case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -21683,7 +21269,6 @@ func awsRestjson1_deserializeDocumentProximityEventConfiguration(v **types.Proxi } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -21719,7 +21304,6 @@ func awsRestjson1_deserializeDocumentProximityResourceTypeEventConfiguration(v * if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } - default: _, _ = key, value @@ -21749,15 +21333,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21765,7 +21343,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -21774,7 +21351,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21783,15 +21359,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21826,7 +21398,6 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Fec = types.PositionConfigurationFec(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -21835,7 +21406,6 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Provider = types.PositionSolverProvider(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21844,7 +21414,6 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Status = types.PositionConfigurationStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21853,7 +21422,6 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Type = types.PositionSolverType(jtv) } - default: _, _ = key, value @@ -21893,7 +21461,6 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21902,7 +21469,6 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21911,7 +21477,6 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21985,7 +21550,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(v **types.SessionKeysA } sv.AppSKey = ptr.String(jtv) } - case "NwkSKey": if value != nil { jtv, ok := value.(string) @@ -21994,7 +21558,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(v **types.SessionKeysA } sv.NwkSKey = ptr.String(jtv) } - default: _, _ = key, value @@ -22034,7 +21597,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.AppSKey = ptr.String(jtv) } - case "FNwkSIntKey": if value != nil { jtv, ok := value.(string) @@ -22043,7 +21605,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.FNwkSIntKey = ptr.String(jtv) } - case "NwkSEncKey": if value != nil { jtv, ok := value.(string) @@ -22052,7 +21613,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.NwkSEncKey = ptr.String(jtv) } - case "SNwkSIntKey": if value != nil { jtv, ok := value.(string) @@ -22061,7 +21621,6 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.SNwkSIntKey = ptr.String(jtv) } - default: _, _ = key, value @@ -22101,7 +21660,6 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfo(v **types.SidewalkAccou } sv.AmazonId = ptr.String(jtv) } - case "AppServerPrivateKey": if value != nil { jtv, ok := value.(string) @@ -22110,7 +21668,6 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfo(v **types.SidewalkAccou } sv.AppServerPrivateKey = ptr.String(jtv) } - default: _, _ = key, value @@ -22150,7 +21707,6 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.AmazonId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -22159,7 +21715,6 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.Arn = ptr.String(jtv) } - case "Fingerprint": if value != nil { jtv, ok := value.(string) @@ -22168,7 +21723,6 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.Fingerprint = ptr.String(jtv) } - default: _, _ = key, value @@ -22242,7 +21796,6 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.AmazonId = ptr.String(jtv) } - case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -22251,12 +21804,10 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.CertificateId = ptr.String(jtv) } - case "DeviceCertificates": if err := awsRestjson1_deserializeDocumentDeviceCertificateList(&sv.DeviceCertificates, value); err != nil { return err } - case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -22265,12 +21816,10 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.DeviceProfileId = ptr.String(jtv) } - case "PrivateKeys": if err := awsRestjson1_deserializeDocumentPrivateKeysList(&sv.PrivateKeys, value); err != nil { return err } - case "SidewalkId": if value != nil { jtv, ok := value.(string) @@ -22279,7 +21828,6 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.SidewalkId = ptr.String(jtv) } - case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -22288,7 +21836,6 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.SidewalkManufacturingSn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22297,7 +21844,6 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.Status = types.WirelessDeviceSidewalkStatus(jtv) } - default: _, _ = key, value @@ -22337,7 +21883,6 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.BatteryLevel = types.BatteryLevel(jtv) } - case "DeviceState": if value != nil { jtv, ok := value.(string) @@ -22346,7 +21891,6 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.DeviceState = types.DeviceState(jtv) } - case "Event": if value != nil { jtv, ok := value.(string) @@ -22355,7 +21899,6 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.Event = types.Event(jtv) } - case "Rssi": if value != nil { jtv, ok := value.(json.Number) @@ -22368,7 +21911,6 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.Rssi = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22408,7 +21950,6 @@ func awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(v * } sv.AmazonIdEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -22448,12 +21989,10 @@ func awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(v **types.Sidewalk } sv.ApplicationServerPublicKey = ptr.String(jtv) } - case "DakCertificateMetadata": if err := awsRestjson1_deserializeDocumentDakCertificateMetadataList(&sv.DakCertificateMetadata, value); err != nil { return err } - case "QualificationStatus": if value != nil { jtv, ok := value.(bool) @@ -22462,7 +22001,6 @@ func awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(v **types.Sidewalk } sv.QualificationStatus = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22498,7 +22036,6 @@ func awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(v **types.Sidewa if err := awsRestjson1_deserializeDocumentDeviceCreationFileList(&sv.DeviceCreationFileList, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -22507,7 +22044,6 @@ func awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(v **types.Sidewa } sv.Role = ptr.String(jtv) } - default: _, _ = key, value @@ -22547,12 +22083,10 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.AmazonId = ptr.String(jtv) } - case "DeviceCertificates": if err := awsRestjson1_deserializeDocumentDeviceCertificateList(&sv.DeviceCertificates, value); err != nil { return err } - case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -22561,7 +22095,6 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.DeviceProfileId = ptr.String(jtv) } - case "SidewalkId": if value != nil { jtv, ok := value.(string) @@ -22570,7 +22103,6 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.SidewalkId = ptr.String(jtv) } - case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -22579,7 +22111,6 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.SidewalkManufacturingSn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22588,7 +22119,6 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.Status = types.WirelessDeviceSidewalkStatus(jtv) } - default: _, _ = key, value @@ -22628,7 +22158,6 @@ func awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(v ** } sv.WirelessDeviceEventTopic = types.EventNotificationTopicStatus(jtv) } - default: _, _ = key, value @@ -22708,7 +22237,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricConfiguration(v **types.Summar } sv.Status = types.SummaryMetricConfigurationStatus(jtv) } - default: _, _ = key, value @@ -22748,12 +22276,10 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.AggregationPeriod = types.AggregationPeriod(jtv) } - case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - case "EndTimestamp": if value != nil { switch jtv := value.(type) { @@ -22769,7 +22295,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } } - case "Error": if value != nil { jtv, ok := value.(string) @@ -22778,7 +22303,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.Error = ptr.String(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -22787,7 +22311,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.MetricName = types.MetricName(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -22796,7 +22319,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.QueryId = ptr.String(jtv) } - case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -22805,7 +22327,6 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.QueryStatus = types.MetricQueryStatus(jtv) } - case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -22821,12 +22342,10 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } } - case "Timestamps": if err := awsRestjson1_deserializeDocumentMetricQueryTimestamps(&sv.Timestamps, value); err != nil { return err } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -22835,12 +22354,10 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.Unit = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentMetricQueryValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -22914,7 +22431,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -22923,7 +22439,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22987,15 +22502,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23003,15 +22512,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23036,15 +22541,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23052,7 +22551,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -23061,15 +22559,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23104,7 +22598,6 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.LogLevel = types.LogLevel(jtv) } - case "MulticastFrameInfo": if value != nil { jtv, ok := value.(string) @@ -23113,7 +22606,6 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.MulticastFrameInfo = types.MulticastFrameInfo(jtv) } - case "WirelessDeviceFrameInfo": if value != nil { jtv, ok := value.(string) @@ -23122,7 +22614,6 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.WirelessDeviceFrameInfo = types.WirelessDeviceFrameInfo(jtv) } - default: _, _ = key, value @@ -23158,7 +22649,6 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U if err := awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(&sv.LoRaWAN, value); err != nil { return err } - case "UpdateDataRole": if value != nil { jtv, ok := value.(string) @@ -23167,7 +22657,6 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U } sv.UpdateDataRole = ptr.String(jtv) } - case "UpdateDataSource": if value != nil { jtv, ok := value.(string) @@ -23176,7 +22665,6 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U } sv.UpdateDataSource = ptr.String(jtv) } - default: _, _ = key, value @@ -23216,7 +22704,6 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskEntry(v **types.Up } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -23225,12 +22712,10 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskEntry(v **types.Up } sv.Id = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskEntry(&sv.LoRaWAN, value); err != nil { return err } - default: _, _ = key, value @@ -23260,15 +22745,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23276,15 +22755,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23319,7 +22794,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceEventLogOption(v **types.Wire } sv.Event = types.WirelessDeviceEvent(jtv) } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23328,7 +22802,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceEventLogOption(v **types.Wire } sv.LogLevel = types.LogLevel(jtv) } - default: _, _ = key, value @@ -23402,7 +22875,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -23415,7 +22887,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.CreationTime = ptr.Time(t) } - case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -23424,7 +22895,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.DestinationName = ptr.String(jtv) } - case "FailedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23437,7 +22907,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.FailedImportedDeviceCount = ptr.Int64(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -23446,7 +22915,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Id = ptr.String(jtv) } - case "InitializedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23459,7 +22927,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.InitializedImportedDeviceCount = ptr.Int64(i64) } - case "OnboardedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23472,7 +22939,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.OnboardedImportedDeviceCount = ptr.Int64(i64) } - case "PendingImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23485,12 +22951,10 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.PendingImportedDeviceCount = ptr.Int64(i64) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(&sv.Sidewalk, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23499,7 +22963,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Status = types.ImportTaskStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -23508,7 +22971,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -23614,7 +23076,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD if err := awsRestjson1_deserializeDocumentWirelessDeviceEventLogOptionList(&sv.Events, value); err != nil { return err } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23623,7 +23084,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD } sv.LogLevel = types.LogLevel(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -23632,7 +23092,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD } sv.Type = types.WirelessDeviceType(jtv) } - default: _, _ = key, value @@ -23706,7 +23165,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Arn = ptr.String(jtv) } - case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -23715,7 +23173,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.DestinationName = ptr.String(jtv) } - case "FuotaDeviceStatus": if value != nil { jtv, ok := value.(string) @@ -23724,7 +23181,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.FuotaDeviceStatus = types.FuotaDeviceStatus(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -23733,7 +23189,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Id = ptr.String(jtv) } - case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -23742,12 +23197,10 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.LastUplinkReceivedAt = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANListDevice(&sv.LoRaWAN, value); err != nil { return err } - case "McGroupId": if value != nil { jtv, ok := value.(json.Number) @@ -23760,7 +23213,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.McGroupId = ptr.Int32(int32(i64)) } - case "MulticastDeviceStatus": if value != nil { jtv, ok := value.(string) @@ -23769,7 +23221,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.MulticastDeviceStatus = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23778,12 +23229,10 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Name = ptr.String(jtv) } - case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkListDevice(&sv.Sidewalk, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -23792,7 +23241,6 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Type = types.WirelessDeviceType(jtv) } - default: _, _ = key, value @@ -23866,7 +23314,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayEventLogOption(v **types.Wir } sv.Event = types.WirelessGatewayEvent(jtv) } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23875,7 +23322,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayEventLogOption(v **types.Wir } sv.LogLevel = types.LogLevel(jtv) } - default: _, _ = key, value @@ -23981,7 +23427,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless if err := awsRestjson1_deserializeDocumentWirelessGatewayEventLogOptionList(&sv.Events, value); err != nil { return err } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23990,7 +23435,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless } sv.LogLevel = types.LogLevel(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -23999,7 +23443,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless } sv.Type = types.WirelessGatewayType(jtv) } - default: _, _ = key, value @@ -24073,7 +23516,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -24082,7 +23524,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -24091,7 +23532,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Id = ptr.String(jtv) } - case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -24100,12 +23540,10 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.LastUplinkReceivedAt = ptr.String(jtv) } - case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGateway(&sv.LoRaWAN, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -24114,7 +23552,6 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ivs/deserializers.go b/service/ivs/deserializers.go index b4fae213b7c..48fa35a5082 100644 --- a/service/ivs/deserializers.go +++ b/service/ivs/deserializers.go @@ -169,12 +169,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetChannelOutput(v **BatchGetChannel if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -323,12 +321,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetStreamKeyOutput(v **BatchGetStrea if err := awsRestjson1_deserializeDocumentBatchErrors(&sv.Errors, value); err != nil { return err } - case "streamKeys": if err := awsRestjson1_deserializeDocumentStreamKeys(&sv.StreamKeys, value); err != nil { return err } - default: _, _ = key, value @@ -489,7 +485,6 @@ func awsRestjson1_deserializeOpDocumentBatchStartViewerSessionRevocationOutput(v if err := awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -653,12 +648,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - case "streamKey": if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } - default: _, _ = key, value @@ -822,7 +815,6 @@ func awsRestjson1_deserializeOpDocumentCreatePlaybackRestrictionPolicyOutput(v * if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -989,7 +981,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecordingConfigurationOutput(v **Cr if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1153,7 +1144,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamKeyOutput(v **CreateStreamKey if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } - default: _, _ = key, value @@ -1829,7 +1819,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -1987,7 +1976,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackKeyPairOutput(v **GetPlaybackK if err := awsRestjson1_deserializeDocumentPlaybackKeyPair(&sv.KeyPair, value); err != nil { return err } - default: _, _ = key, value @@ -2148,7 +2136,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackRestrictionPolicyOutput(v **Ge if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -2309,7 +2296,6 @@ func awsRestjson1_deserializeOpDocumentGetRecordingConfigurationOutput(v **GetRe if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2470,7 +2456,6 @@ func awsRestjson1_deserializeOpDocumentGetStreamOutput(v **GetStreamOutput, valu if err := awsRestjson1_deserializeDocumentStream(&sv.Stream, value); err != nil { return err } - default: _, _ = key, value @@ -2628,7 +2613,6 @@ func awsRestjson1_deserializeOpDocumentGetStreamKeyOutput(v **GetStreamKeyOutput if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } - default: _, _ = key, value @@ -2786,7 +2770,6 @@ func awsRestjson1_deserializeOpDocumentGetStreamSessionOutput(v **GetStreamSessi if err := awsRestjson1_deserializeDocumentStreamSession(&sv.StreamSession, value); err != nil { return err } - default: _, _ = key, value @@ -2950,7 +2933,6 @@ func awsRestjson1_deserializeOpDocumentImportPlaybackKeyPairOutput(v **ImportPla if err := awsRestjson1_deserializeDocumentPlaybackKeyPair(&sv.KeyPair, value); err != nil { return err } - default: _, _ = key, value @@ -3108,7 +3090,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelList(&sv.Channels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3117,7 +3098,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3272,7 +3252,6 @@ func awsRestjson1_deserializeOpDocumentListPlaybackKeyPairsOutput(v **ListPlayba if err := awsRestjson1_deserializeDocumentPlaybackKeyPairList(&sv.KeyPairs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3281,7 +3260,6 @@ func awsRestjson1_deserializeOpDocumentListPlaybackKeyPairsOutput(v **ListPlayba } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3446,12 +3424,10 @@ func awsRestjson1_deserializeOpDocumentListPlaybackRestrictionPoliciesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "playbackRestrictionPolicies": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyList(&sv.PlaybackRestrictionPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -3613,12 +3589,10 @@ func awsRestjson1_deserializeOpDocumentListRecordingConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "recordingConfigurations": if err := awsRestjson1_deserializeDocumentRecordingConfigurationList(&sv.RecordingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3780,12 +3754,10 @@ func awsRestjson1_deserializeOpDocumentListStreamKeysOutput(v **ListStreamKeysOu } sv.NextToken = ptr.String(jtv) } - case "streamKeys": if err := awsRestjson1_deserializeDocumentStreamKeyList(&sv.StreamKeys, value); err != nil { return err } - default: _, _ = key, value @@ -3944,12 +3916,10 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } - case "streams": if err := awsRestjson1_deserializeDocumentStreamList(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -4111,12 +4081,10 @@ func awsRestjson1_deserializeOpDocumentListStreamSessionsOutput(v **ListStreamSe } sv.NextToken = ptr.String(jtv) } - case "streamSessions": if err := awsRestjson1_deserializeDocumentStreamSessionList(&sv.StreamSessions, value); err != nil { return err } - default: _, _ = key, value @@ -4274,7 +4242,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4935,7 +4902,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -5099,7 +5065,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaybackRestrictionPolicyOutput(v * if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -5489,13 +5454,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -5505,15 +5464,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5552,7 +5507,6 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.Channels = i64 } - case "codec": if value != nil { jtv, ok := value.(string) @@ -5561,7 +5515,6 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.Codec = ptr.String(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -5574,7 +5527,6 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.SampleRate = i64 } - case "targetBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -5587,7 +5539,6 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.TargetBitrate = i64 } - default: _, _ = key, value @@ -5627,7 +5578,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Arn = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -5636,7 +5586,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5645,7 +5594,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5719,7 +5667,6 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.ChannelArn = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -5728,7 +5675,6 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5737,7 +5683,6 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.Message = ptr.String(jtv) } - case "viewerId": if value != nil { jtv, ok := value.(string) @@ -5746,7 +5691,6 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.ViewerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5820,7 +5764,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } - case "authorized": if value != nil { jtv, ok := value.(bool) @@ -5829,7 +5772,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Authorized = jtv } - case "ingestEndpoint": if value != nil { jtv, ok := value.(string) @@ -5838,7 +5780,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.IngestEndpoint = ptr.String(jtv) } - case "insecureIngest": if value != nil { jtv, ok := value.(bool) @@ -5847,7 +5788,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.InsecureIngest = jtv } - case "latencyMode": if value != nil { jtv, ok := value.(string) @@ -5856,7 +5796,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.LatencyMode = types.ChannelLatencyMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5865,7 +5804,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - case "playbackRestrictionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5874,7 +5812,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackRestrictionPolicyArn = ptr.String(jtv) } - case "playbackUrl": if value != nil { jtv, ok := value.(string) @@ -5883,7 +5820,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackUrl = ptr.String(jtv) } - case "preset": if value != nil { jtv, ok := value.(string) @@ -5892,7 +5828,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Preset = types.TranscodePreset(jtv) } - case "recordingConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5901,17 +5836,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RecordingConfigurationArn = ptr.String(jtv) } - case "srt": if err := awsRestjson1_deserializeDocumentSrt(&sv.Srt, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -5920,7 +5852,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -5984,13 +5915,7 @@ func awsRestjson1_deserializeDocumentChannelNotBroadcasting(v **types.ChannelNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -6000,15 +5925,11 @@ func awsRestjson1_deserializeDocumentChannelNotBroadcasting(v **types.ChannelNot } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6077,7 +5998,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Arn = ptr.String(jtv) } - case "authorized": if value != nil { jtv, ok := value.(bool) @@ -6086,7 +6006,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Authorized = jtv } - case "insecureIngest": if value != nil { jtv, ok := value.(bool) @@ -6095,7 +6014,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.InsecureIngest = jtv } - case "latencyMode": if value != nil { jtv, ok := value.(string) @@ -6104,7 +6022,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.LatencyMode = types.ChannelLatencyMode(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6113,7 +6030,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } - case "playbackRestrictionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -6122,7 +6038,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.PlaybackRestrictionPolicyArn = ptr.String(jtv) } - case "preset": if value != nil { jtv, ok := value.(string) @@ -6131,7 +6046,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Preset = types.TranscodePreset(jtv) } - case "recordingConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6140,12 +6054,10 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.RecordingConfigurationArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6154,7 +6066,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -6184,13 +6095,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -6200,15 +6105,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6239,7 +6140,6 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -6275,12 +6175,10 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu if err := awsRestjson1_deserializeDocumentAudioConfiguration(&sv.Audio, value); err != nil { return err } - case "video": if err := awsRestjson1_deserializeDocumentVideoConfiguration(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -6310,13 +6208,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -6326,15 +6218,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6359,13 +6247,7 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -6375,15 +6257,11 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6418,7 +6296,6 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Arn = ptr.String(jtv) } - case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -6427,7 +6304,6 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Fingerprint = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6436,12 +6312,10 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6515,7 +6389,6 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPairSummary(v **types.PlaybackKe } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6524,12 +6397,10 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPairSummary(v **types.PlaybackKe } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6565,12 +6436,10 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedCountryList(&sv.AllowedCountries, value); err != nil { return err } - case "allowedOrigins": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedOriginList(&sv.AllowedOrigins, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6448,6 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.Arn = ptr.String(jtv) } - case "enableStrictOriginEnforcement": if value != nil { jtv, ok := value.(bool) @@ -6588,7 +6456,6 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.EnableStrictOriginEnforcement = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6597,12 +6464,10 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6744,12 +6609,10 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedCountryList(&sv.AllowedCountries, value); err != nil { return err } - case "allowedOrigins": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedOriginList(&sv.AllowedOrigins, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6758,7 +6621,6 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.Arn = ptr.String(jtv) } - case "enableStrictOriginEnforcement": if value != nil { jtv, ok := value.(bool) @@ -6767,7 +6629,6 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.EnableStrictOriginEnforcement = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6776,12 +6637,10 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6821,12 +6680,10 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Arn = ptr.String(jtv) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6835,7 +6692,6 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Name = ptr.String(jtv) } - case "recordingReconnectWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6848,12 +6704,10 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.RecordingReconnectWindowSeconds = int32(i64) } - case "renditionConfiguration": if err := awsRestjson1_deserializeDocumentRenditionConfiguration(&sv.RenditionConfiguration, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -6862,17 +6716,14 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.State = types.RecordingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "thumbnailConfiguration": if err := awsRestjson1_deserializeDocumentThumbnailConfiguration(&sv.ThumbnailConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6946,12 +6797,10 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.Arn = ptr.String(jtv) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6960,7 +6809,6 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6969,12 +6817,10 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.State = types.RecordingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7010,7 +6856,6 @@ func awsRestjson1_deserializeDocumentRenditionConfiguration(v **types.RenditionC if err := awsRestjson1_deserializeDocumentRenditionConfigurationRenditionList(&sv.Renditions, value); err != nil { return err } - case "renditionSelection": if value != nil { jtv, ok := value.(string) @@ -7019,7 +6864,6 @@ func awsRestjson1_deserializeDocumentRenditionConfiguration(v **types.RenditionC } sv.RenditionSelection = types.RenditionConfigurationRenditionSelection(jtv) } - default: _, _ = key, value @@ -7085,13 +6929,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -7101,15 +6939,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7144,7 +6978,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -7174,13 +7007,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -7190,15 +7017,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7233,7 +7056,6 @@ func awsRestjson1_deserializeDocumentSrt(v **types.Srt, value interface{}) error } sv.Endpoint = ptr.String(jtv) } - case "passphrase": if value != nil { jtv, ok := value.(string) @@ -7242,7 +7064,6 @@ func awsRestjson1_deserializeDocumentSrt(v **types.Srt, value interface{}) error } sv.Passphrase = ptr.String(jtv) } - default: _, _ = key, value @@ -7282,7 +7103,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.ChannelArn = ptr.String(jtv) } - case "health": if value != nil { jtv, ok := value.(string) @@ -7291,7 +7111,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.Health = types.StreamHealth(jtv) } - case "playbackUrl": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7119,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.PlaybackUrl = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -7313,7 +7131,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7322,7 +7139,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.State = types.StreamState(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -7331,7 +7147,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamId = ptr.String(jtv) } - case "viewerCount": if value != nil { jtv, ok := value.(json.Number) @@ -7344,7 +7159,6 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.ViewerCount = i64 } - default: _, _ = key, value @@ -7384,7 +7198,6 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Code = ptr.String(jtv) } - case "eventTime": if value != nil { jtv, ok := value.(string) @@ -7397,7 +7210,6 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.EventTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7406,7 +7218,6 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7415,7 +7226,6 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -7489,7 +7299,6 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.Arn = ptr.String(jtv) } - case "channelArn": if value != nil { jtv, ok := value.(string) @@ -7498,12 +7307,10 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.ChannelArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7319,6 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7620,7 +7426,6 @@ func awsRestjson1_deserializeDocumentStreamKeySummary(v **types.StreamKeySummary } sv.Arn = ptr.String(jtv) } - case "channelArn": if value != nil { jtv, ok := value.(string) @@ -7629,12 +7434,10 @@ func awsRestjson1_deserializeDocumentStreamKeySummary(v **types.StreamKeySummary } sv.ChannelArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7704,7 +7507,6 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -7717,17 +7519,14 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.EndTime = ptr.Time(t) } - case "ingestConfiguration": if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } - case "recordingConfiguration": if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -7740,7 +7539,6 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.StartTime = ptr.Time(t) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -7749,12 +7547,10 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.StreamId = ptr.String(jtv) } - case "truncatedEvents": if err := awsRestjson1_deserializeDocumentStreamEvents(&sv.TruncatedEvents, value); err != nil { return err } - default: _, _ = key, value @@ -7832,7 +7628,6 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.EndTime = ptr.Time(t) } - case "hasErrorEvent": if value != nil { jtv, ok := value.(bool) @@ -7841,7 +7636,6 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.HasErrorEvent = jtv } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -7854,7 +7648,6 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.StartTime = ptr.Time(t) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -7863,7 +7656,6 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -7903,7 +7695,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.ChannelArn = ptr.String(jtv) } - case "health": if value != nil { jtv, ok := value.(string) @@ -7912,7 +7703,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.Health = types.StreamHealth(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -7925,7 +7715,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7934,7 +7723,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.State = types.StreamState(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -7943,7 +7731,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamId = ptr.String(jtv) } - case "viewerCount": if value != nil { jtv, ok := value.(json.Number) @@ -7956,7 +7743,6 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.ViewerCount = i64 } - default: _, _ = key, value @@ -7986,13 +7772,7 @@ func awsRestjson1_deserializeDocumentStreamUnavailable(v **types.StreamUnavailab sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8002,15 +7782,11 @@ func awsRestjson1_deserializeDocumentStreamUnavailable(v **types.StreamUnavailab } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8071,13 +7847,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8087,15 +7857,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8130,7 +7896,6 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.RecordingMode = types.RecordingMode(jtv) } - case "resolution": if value != nil { jtv, ok := value.(string) @@ -8139,12 +7904,10 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.Resolution = types.ThumbnailConfigurationResolution(jtv) } - case "storage": if err := awsRestjson1_deserializeDocumentThumbnailConfigurationStorageList(&sv.Storage, value); err != nil { return err } - case "targetIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8157,7 +7920,6 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.TargetIntervalSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -8223,13 +7985,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8239,15 +7995,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8282,7 +8034,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.AvcLevel = ptr.String(jtv) } - case "avcProfile": if value != nil { jtv, ok := value.(string) @@ -8291,7 +8042,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.AvcProfile = ptr.String(jtv) } - case "codec": if value != nil { jtv, ok := value.(string) @@ -8300,7 +8050,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.Codec = ptr.String(jtv) } - case "encoder": if value != nil { jtv, ok := value.(string) @@ -8309,7 +8058,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.Encoder = ptr.String(jtv) } - case "targetBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -8322,7 +8070,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.TargetBitrate = i64 } - case "targetFramerate": if value != nil { jtv, ok := value.(json.Number) @@ -8335,7 +8082,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.TargetFramerate = i64 } - case "videoHeight": if value != nil { jtv, ok := value.(json.Number) @@ -8348,7 +8094,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.VideoHeight = i64 } - case "videoWidth": if value != nil { jtv, ok := value.(json.Number) @@ -8361,7 +8106,6 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.VideoWidth = i64 } - default: _, _ = key, value diff --git a/service/ivschat/deserializers.go b/service/ivschat/deserializers.go index cdfbba69cc8..67b5318c244 100644 --- a/service/ivschat/deserializers.go +++ b/service/ivschat/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.SessionExpirationTime = ptr.Time(t) } - case "token": if value != nil { jtv, ok := value.(string) @@ -198,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.Token = ptr.String(jtv) } - case "tokenExpirationTime": if value != nil { jtv, ok := value.(string) @@ -211,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.TokenExpirationTime = ptr.Time(t) } - default: _, _ = key, value @@ -382,7 +379,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -395,12 +391,10 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.CreateTime = ptr.Time(t) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -409,7 +403,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -418,7 +411,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -427,12 +419,10 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.State = types.CreateLoggingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -445,7 +435,6 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -616,7 +605,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -629,7 +617,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.CreateTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -638,12 +625,10 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Id = ptr.String(jtv) } - case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } - case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -656,7 +641,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } - case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -669,12 +653,10 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } - case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -683,12 +665,10 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -701,7 +681,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -975,7 +954,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMessageOutput(v **DeleteMessageOutp } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1340,7 +1318,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -1353,12 +1330,10 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.CreateTime = ptr.Time(t) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1367,7 +1342,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1376,7 +1350,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1385,12 +1358,10 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.State = types.LoggingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1403,7 +1374,6 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -1565,7 +1535,6 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -1578,7 +1547,6 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.CreateTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1587,12 +1555,10 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Id = ptr.String(jtv) } - case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } - case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -1605,7 +1571,6 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } - case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -1618,12 +1583,10 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } - case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1632,12 +1595,10 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1650,7 +1611,6 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -1805,7 +1765,6 @@ func awsRestjson1_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsRestjson1_deserializeDocumentLoggingConfigurationList(&sv.LoggingConfigurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1814,7 +1773,6 @@ func awsRestjson1_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1976,12 +1934,10 @@ func awsRestjson1_deserializeOpDocumentListRoomsOutput(v **ListRoomsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "rooms": if err := awsRestjson1_deserializeDocumentRoomList(&sv.Rooms, value); err != nil { return err } - default: _, _ = key, value @@ -2139,7 +2095,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2307,7 +2262,6 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2663,7 +2617,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -2676,12 +2629,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.CreateTime = ptr.Time(t) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2690,7 +2641,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2699,7 +2649,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2708,12 +2657,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.State = types.UpdateLoggingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2726,7 +2673,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -2891,7 +2837,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -2904,7 +2849,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.CreateTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2913,12 +2857,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Id = ptr.String(jtv) } - case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } - case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -2931,7 +2873,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } - case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -2944,12 +2885,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } - case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2958,12 +2897,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2976,7 +2913,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -3294,15 +3230,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3310,15 +3240,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3353,7 +3279,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestinationConfiguration(v ** } sv.LogGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3383,15 +3308,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3399,7 +3318,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3408,7 +3326,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3417,15 +3334,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3520,7 +3433,6 @@ func awsRestjson1_deserializeDocumentFirehoseDestinationConfiguration(v **types. } sv.DeliveryStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -3550,15 +3462,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3566,15 +3472,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3679,7 +3581,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -3692,12 +3593,10 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.CreateTime = ptr.Time(t) } - case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3706,7 +3605,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3715,7 +3613,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -3724,12 +3621,10 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.State = types.LoggingConfigurationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -3742,7 +3637,6 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -3782,7 +3676,6 @@ func awsRestjson1_deserializeDocumentMessageReviewHandler(v **types.MessageRevie } sv.FallbackResult = types.FallbackResult(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -3791,7 +3684,6 @@ func awsRestjson1_deserializeDocumentMessageReviewHandler(v **types.MessageRevie } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3821,15 +3713,9 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3837,15 +3723,11 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3870,15 +3752,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3886,7 +3762,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3895,7 +3770,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3904,15 +3778,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3981,7 +3851,6 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Arn = ptr.String(jtv) } - case "createTime": if value != nil { jtv, ok := value.(string) @@ -3994,7 +3863,6 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.CreateTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4003,17 +3871,14 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Id = ptr.String(jtv) } - case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } - case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4022,12 +3887,10 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3903,6 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4080,7 +3942,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -4110,13 +3971,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "limit": if value != nil { @@ -4130,8 +3985,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Limit = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4139,7 +3993,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4148,7 +4001,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4157,15 +4009,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4226,13 +4074,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "limit": if value != nil { @@ -4246,8 +4088,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Limit = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4255,7 +4096,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4264,7 +4104,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4273,15 +4112,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4306,20 +4141,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4327,7 +4155,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4336,15 +4163,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4379,7 +4202,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4388,7 +4210,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ivsrealtime/deserializers.go b/service/ivsrealtime/deserializers.go index fbed3c3b3eb..404f2329c70 100644 --- a/service/ivsrealtime/deserializers.go +++ b/service/ivsrealtime/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateEncoderConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentEncoderConfiguration(&sv.EncoderConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -351,7 +350,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestConfigurationOutput(v **Creat if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -515,7 +513,6 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantTokenOutput(v **CreatePa if err := awsRestjson1_deserializeDocumentParticipantToken(&sv.ParticipantToken, value); err != nil { return err } - default: _, _ = key, value @@ -676,12 +673,10 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentParticipantTokenList(&sv.ParticipantTokens, value); err != nil { return err } - case "stage": if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } - default: _, _ = key, value @@ -851,7 +846,6 @@ func awsRestjson1_deserializeOpDocumentCreateStorageConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1621,7 +1615,6 @@ func awsRestjson1_deserializeOpDocumentGetCompositionOutput(v **GetCompositionOu if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } - default: _, _ = key, value @@ -1788,7 +1781,6 @@ func awsRestjson1_deserializeOpDocumentGetEncoderConfigurationOutput(v **GetEnco if err := awsRestjson1_deserializeDocumentEncoderConfiguration(&sv.EncoderConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1946,7 +1938,6 @@ func awsRestjson1_deserializeOpDocumentGetIngestConfigurationOutput(v **GetInges if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2104,7 +2095,6 @@ func awsRestjson1_deserializeOpDocumentGetParticipantOutput(v **GetParticipantOu if err := awsRestjson1_deserializeDocumentParticipant(&sv.Participant, value); err != nil { return err } - default: _, _ = key, value @@ -2262,7 +2252,6 @@ func awsRestjson1_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput if err := awsRestjson1_deserializeDocumentPublicKey(&sv.PublicKey, value); err != nil { return err } - default: _, _ = key, value @@ -2420,7 +2409,6 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } - default: _, _ = key, value @@ -2578,7 +2566,6 @@ func awsRestjson1_deserializeOpDocumentGetStageSessionOutput(v **GetStageSession if err := awsRestjson1_deserializeDocumentStageSession(&sv.StageSession, value); err != nil { return err } - default: _, _ = key, value @@ -2745,7 +2732,6 @@ func awsRestjson1_deserializeOpDocumentGetStorageConfigurationOutput(v **GetStor if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2909,7 +2895,6 @@ func awsRestjson1_deserializeOpDocumentImportPublicKeyOutput(v **ImportPublicKey if err := awsRestjson1_deserializeDocumentPublicKey(&sv.PublicKey, value); err != nil { return err } - default: _, _ = key, value @@ -3073,7 +3058,6 @@ func awsRestjson1_deserializeOpDocumentListCompositionsOutput(v **ListCompositio if err := awsRestjson1_deserializeDocumentCompositionSummaryList(&sv.Compositions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3082,7 +3066,6 @@ func awsRestjson1_deserializeOpDocumentListCompositionsOutput(v **ListCompositio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3246,7 +3229,6 @@ func awsRestjson1_deserializeOpDocumentListEncoderConfigurationsOutput(v **ListE if err := awsRestjson1_deserializeDocumentEncoderConfigurationSummaryList(&sv.EncoderConfigurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3255,7 +3237,6 @@ func awsRestjson1_deserializeOpDocumentListEncoderConfigurationsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3410,7 +3391,6 @@ func awsRestjson1_deserializeOpDocumentListIngestConfigurationsOutput(v **ListIn if err := awsRestjson1_deserializeDocumentIngestConfigurationList(&sv.IngestConfigurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3419,7 +3399,6 @@ func awsRestjson1_deserializeOpDocumentListIngestConfigurationsOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3574,7 +3553,6 @@ func awsRestjson1_deserializeOpDocumentListParticipantEventsOutput(v **ListParti if err := awsRestjson1_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3583,7 +3561,6 @@ func awsRestjson1_deserializeOpDocumentListParticipantEventsOutput(v **ListParti } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3742,12 +3719,10 @@ func awsRestjson1_deserializeOpDocumentListParticipantsOutput(v **ListParticipan } sv.NextToken = ptr.String(jtv) } - case "participants": if err := awsRestjson1_deserializeDocumentParticipantList(&sv.Participants, value); err != nil { return err } - default: _, _ = key, value @@ -3906,12 +3881,10 @@ func awsRestjson1_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOu } sv.NextToken = ptr.String(jtv) } - case "publicKeys": if err := awsRestjson1_deserializeDocumentPublicKeyList(&sv.PublicKeys, value); err != nil { return err } - default: _, _ = key, value @@ -4073,12 +4046,10 @@ func awsRestjson1_deserializeOpDocumentListStagesOutput(v **ListStagesOutput, va } sv.NextToken = ptr.String(jtv) } - case "stages": if err := awsRestjson1_deserializeDocumentStageSummaryList(&sv.Stages, value); err != nil { return err } - default: _, _ = key, value @@ -4237,12 +4208,10 @@ func awsRestjson1_deserializeOpDocumentListStageSessionsOutput(v **ListStageSess } sv.NextToken = ptr.String(jtv) } - case "stageSessions": if err := awsRestjson1_deserializeDocumentStageSessionList(&sv.StageSessions, value); err != nil { return err } - default: _, _ = key, value @@ -4410,12 +4379,10 @@ func awsRestjson1_deserializeOpDocumentListStorageConfigurationsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - case "storageConfigurations": if err := awsRestjson1_deserializeDocumentStorageConfigurationSummaryList(&sv.StorageConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -4573,7 +4540,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4743,7 +4709,6 @@ func awsRestjson1_deserializeOpDocumentStartCompositionOutput(v **StartCompositi if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } - default: _, _ = key, value @@ -5198,7 +5163,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIngestConfigurationOutput(v **Updat if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5365,7 +5329,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } - default: _, _ = key, value @@ -5647,13 +5610,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -5663,15 +5620,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5702,7 +5655,6 @@ func awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(v **t if err := awsRestjson1_deserializeDocumentParticipantRecordingMediaTypeList(&sv.MediaTypes, value); err != nil { return err } - case "storageConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5711,7 +5663,6 @@ func awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(v **t } sv.StorageConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5751,7 +5702,6 @@ func awsRestjson1_deserializeDocumentChannelDestinationConfiguration(v **types.C } sv.ChannelArn = ptr.String(jtv) } - case "encoderConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5760,7 +5710,6 @@ func awsRestjson1_deserializeDocumentChannelDestinationConfiguration(v **types.C } sv.EncoderConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5800,12 +5749,10 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.Arn = ptr.String(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocumentDestinationList(&sv.Destinations, value); err != nil { return err } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -5818,12 +5765,10 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.EndTime = ptr.Time(t) } - case "layout": if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.Layout, value); err != nil { return err } - case "stageArn": if value != nil { jtv, ok := value.(string) @@ -5832,7 +5777,6 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.StageArn = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5845,7 +5789,6 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -5854,12 +5797,10 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.State = types.CompositionState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5899,12 +5840,10 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.Arn = ptr.String(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocumentDestinationSummaryList(&sv.Destinations, value); err != nil { return err } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -5917,7 +5856,6 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.EndTime = ptr.Time(t) } - case "stageArn": if value != nil { jtv, ok := value.(string) @@ -5926,7 +5864,6 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.StageArn = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5939,7 +5876,6 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -5948,12 +5884,10 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.State = types.CompositionState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6017,13 +5951,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -6033,15 +5961,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6072,12 +5996,10 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.Configuration, value); err != nil { return err } - case "detail": if err := awsRestjson1_deserializeDocumentDestinationDetail(&sv.Detail, value); err != nil { return err } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -6090,7 +6012,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.EndTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6099,7 +6020,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Id = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6112,7 +6032,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6121,7 +6040,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.State = types.DestinationState(jtv) } - default: _, _ = key, value @@ -6157,7 +6075,6 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentChannelDestinationConfiguration(&sv.Channel, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6166,12 +6083,10 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.Name = ptr.String(jtv) } - case "s3": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -6207,7 +6122,6 @@ func awsRestjson1_deserializeDocumentDestinationDetail(v **types.DestinationDeta if err := awsRestjson1_deserializeDocumentS3Detail(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -6285,7 +6199,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.EndTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6294,7 +6207,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Id = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -6307,7 +6219,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.StartTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6316,7 +6227,6 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.State = types.DestinationState(jtv) } - default: _, _ = key, value @@ -6390,7 +6300,6 @@ func awsRestjson1_deserializeDocumentEncoderConfiguration(v **types.EncoderConfi } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6399,17 +6308,14 @@ func awsRestjson1_deserializeDocumentEncoderConfiguration(v **types.EncoderConfi } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "video": if err := awsRestjson1_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - default: _, _ = key, value @@ -6485,7 +6391,6 @@ func awsRestjson1_deserializeDocumentEncoderConfigurationSummary(v **types.Encod } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6494,12 +6399,10 @@ func awsRestjson1_deserializeDocumentEncoderConfigurationSummary(v **types.Encod } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6573,7 +6476,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ErrorCode = types.EventErrorCode(jtv) } - case "eventTime": if value != nil { jtv, ok := value.(string) @@ -6586,7 +6488,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6595,7 +6496,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Name = types.EventName(jtv) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -6604,7 +6504,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ParticipantId = ptr.String(jtv) } - case "remoteParticipantId": if value != nil { jtv, ok := value.(string) @@ -6613,7 +6512,6 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.RemoteParticipantId = ptr.String(jtv) } - default: _, _ = key, value @@ -6687,7 +6585,6 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.FeaturedParticipantAttribute = ptr.String(jtv) } - case "gridGap": if value != nil { jtv, ok := value.(json.Number) @@ -6700,7 +6597,6 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.GridGap = int32(i64) } - case "omitStoppedVideo": if value != nil { jtv, ok := value.(bool) @@ -6709,7 +6605,6 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.OmitStoppedVideo = jtv } - case "videoAspectRatio": if value != nil { jtv, ok := value.(string) @@ -6718,7 +6613,6 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.VideoAspectRatio = types.VideoAspectRatio(jtv) } - case "videoFillMode": if value != nil { jtv, ok := value.(string) @@ -6727,7 +6621,6 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.VideoFillMode = types.VideoFillMode(jtv) } - default: _, _ = key, value @@ -6767,12 +6660,10 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.Arn = ptr.String(jtv) } - case "attributes": if err := awsRestjson1_deserializeDocumentParticipantAttributes(&sv.Attributes, value); err != nil { return err } - case "ingestProtocol": if value != nil { jtv, ok := value.(string) @@ -6781,7 +6672,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.IngestProtocol = types.IngestProtocol(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6790,7 +6680,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.Name = ptr.String(jtv) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -6799,7 +6688,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.ParticipantId = ptr.String(jtv) } - case "stageArn": if value != nil { jtv, ok := value.(string) @@ -6808,7 +6696,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.StageArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6817,7 +6704,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.State = types.IngestConfigurationState(jtv) } - case "streamKey": if value != nil { jtv, ok := value.(string) @@ -6826,12 +6712,10 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.StreamKey = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "userId": if value != nil { jtv, ok := value.(string) @@ -6840,7 +6724,6 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -6914,7 +6797,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.Arn = ptr.String(jtv) } - case "ingestProtocol": if value != nil { jtv, ok := value.(string) @@ -6923,7 +6805,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.IngestProtocol = types.IngestProtocol(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6932,7 +6813,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.Name = ptr.String(jtv) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -6941,7 +6821,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.ParticipantId = ptr.String(jtv) } - case "stageArn": if value != nil { jtv, ok := value.(string) @@ -6950,7 +6829,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.StageArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6959,7 +6837,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.State = types.IngestConfigurationState(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -6968,7 +6845,6 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -6998,13 +6874,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -7014,15 +6884,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7053,12 +6919,10 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu if err := awsRestjson1_deserializeDocumentGridConfiguration(&sv.Grid, value); err != nil { return err } - case "pip": if err := awsRestjson1_deserializeDocumentPipConfiguration(&sv.Pip, value); err != nil { return err } - default: _, _ = key, value @@ -7094,7 +6958,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in if err := awsRestjson1_deserializeDocumentParticipantAttributes(&sv.Attributes, value); err != nil { return err } - case "browserName": if value != nil { jtv, ok := value.(string) @@ -7103,7 +6966,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.BrowserName = ptr.String(jtv) } - case "browserVersion": if value != nil { jtv, ok := value.(string) @@ -7112,7 +6974,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.BrowserVersion = ptr.String(jtv) } - case "firstJoinTime": if value != nil { jtv, ok := value.(string) @@ -7125,7 +6986,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.FirstJoinTime = ptr.Time(t) } - case "ispName": if value != nil { jtv, ok := value.(string) @@ -7134,7 +6994,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.IspName = ptr.String(jtv) } - case "osName": if value != nil { jtv, ok := value.(string) @@ -7143,7 +7002,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.OsName = ptr.String(jtv) } - case "osVersion": if value != nil { jtv, ok := value.(string) @@ -7152,7 +7010,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.OsVersion = ptr.String(jtv) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -7161,7 +7018,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ParticipantId = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -7170,7 +7026,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.Protocol = types.ParticipantProtocol(jtv) } - case "published": if value != nil { jtv, ok := value.(bool) @@ -7179,7 +7034,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.Published = jtv } - case "recordingS3BucketName": if value != nil { jtv, ok := value.(string) @@ -7188,7 +7042,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingS3BucketName = ptr.String(jtv) } - case "recordingS3Prefix": if value != nil { jtv, ok := value.(string) @@ -7197,7 +7050,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingS3Prefix = ptr.String(jtv) } - case "recordingState": if value != nil { jtv, ok := value.(string) @@ -7206,7 +7058,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingState = types.ParticipantRecordingState(jtv) } - case "sdkVersion": if value != nil { jtv, ok := value.(string) @@ -7215,7 +7066,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.SdkVersion = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7224,7 +7074,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.State = types.ParticipantState(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -7233,7 +7082,6 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -7383,7 +7231,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.FirstJoinTime = ptr.Time(t) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -7392,7 +7239,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.ParticipantId = ptr.String(jtv) } - case "published": if value != nil { jtv, ok := value.(bool) @@ -7401,7 +7247,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.Published = jtv } - case "recordingState": if value != nil { jtv, ok := value.(string) @@ -7410,7 +7255,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.RecordingState = types.ParticipantRecordingState(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7419,7 +7263,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.State = types.ParticipantState(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -7428,7 +7271,6 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -7464,12 +7306,10 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken if err := awsRestjson1_deserializeDocumentParticipantTokenAttributes(&sv.Attributes, value); err != nil { return err } - case "capabilities": if err := awsRestjson1_deserializeDocumentParticipantTokenCapabilities(&sv.Capabilities, value); err != nil { return err } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -7482,7 +7322,6 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.Duration = ptr.Int32(int32(i64)) } - case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -7495,7 +7334,6 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.ExpirationTime = ptr.Time(t) } - case "participantId": if value != nil { jtv, ok := value.(string) @@ -7504,7 +7342,6 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.ParticipantId = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -7513,7 +7350,6 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.Token = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -7522,7 +7358,6 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -7658,13 +7493,7 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -7674,15 +7503,11 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7717,7 +7542,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.FeaturedParticipantAttribute = ptr.String(jtv) } - case "gridGap": if value != nil { jtv, ok := value.(json.Number) @@ -7730,7 +7554,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.GridGap = int32(i64) } - case "omitStoppedVideo": if value != nil { jtv, ok := value.(bool) @@ -7739,7 +7562,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.OmitStoppedVideo = jtv } - case "pipBehavior": if value != nil { jtv, ok := value.(string) @@ -7748,7 +7570,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipBehavior = types.PipBehavior(jtv) } - case "pipHeight": if value != nil { jtv, ok := value.(json.Number) @@ -7761,7 +7582,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipHeight = ptr.Int32(int32(i64)) } - case "pipOffset": if value != nil { jtv, ok := value.(json.Number) @@ -7774,7 +7594,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipOffset = int32(i64) } - case "pipParticipantAttribute": if value != nil { jtv, ok := value.(string) @@ -7783,7 +7602,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipParticipantAttribute = ptr.String(jtv) } - case "pipPosition": if value != nil { jtv, ok := value.(string) @@ -7792,7 +7610,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipPosition = types.PipPosition(jtv) } - case "pipWidth": if value != nil { jtv, ok := value.(json.Number) @@ -7805,7 +7622,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipWidth = ptr.Int32(int32(i64)) } - case "videoFillMode": if value != nil { jtv, ok := value.(string) @@ -7814,7 +7630,6 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.VideoFillMode = types.VideoFillMode(jtv) } - default: _, _ = key, value @@ -7854,7 +7669,6 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Arn = ptr.String(jtv) } - case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -7863,7 +7677,6 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Fingerprint = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7872,7 +7685,6 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Name = ptr.String(jtv) } - case "publicKeyMaterial": if value != nil { jtv, ok := value.(string) @@ -7881,12 +7693,10 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.PublicKeyMaterial = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7960,7 +7770,6 @@ func awsRestjson1_deserializeDocumentPublicKeySummary(v **types.PublicKeySummary } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7969,12 +7778,10 @@ func awsRestjson1_deserializeDocumentPublicKeySummary(v **types.PublicKeySummary } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8014,7 +7821,6 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Format = types.RecordingConfigurationFormat(jtv) } - default: _, _ = key, value @@ -8044,13 +7850,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8060,15 +7860,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8099,12 +7895,10 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest if err := awsRestjson1_deserializeDocumentEncoderConfigurationArnList(&sv.EncoderConfigurationArns, value); err != nil { return err } - case "recordingConfiguration": if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } - case "storageConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8113,7 +7907,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.StorageConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8153,7 +7946,6 @@ func awsRestjson1_deserializeDocumentS3Detail(v **types.S3Detail, value interfac } sv.RecordingPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8193,7 +7985,6 @@ func awsRestjson1_deserializeDocumentS3StorageConfiguration(v **types.S3StorageC } sv.BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -8223,13 +8014,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8239,15 +8024,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8282,7 +8063,6 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ActiveSessionId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8291,17 +8071,14 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "autoParticipantRecordingConfiguration": if err := awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(&sv.AutoParticipantRecordingConfiguration, value); err != nil { return err } - case "endpoints": if err := awsRestjson1_deserializeDocumentStageEndpoints(&sv.Endpoints, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8310,12 +8087,10 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8355,7 +8130,6 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Events = ptr.String(jtv) } - case "rtmp": if value != nil { jtv, ok := value.(string) @@ -8364,7 +8138,6 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Rtmp = ptr.String(jtv) } - case "rtmps": if value != nil { jtv, ok := value.(string) @@ -8373,7 +8146,6 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Rtmps = ptr.String(jtv) } - case "whip": if value != nil { jtv, ok := value.(string) @@ -8382,7 +8154,6 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Whip = ptr.String(jtv) } - default: _, _ = key, value @@ -8426,7 +8197,6 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.EndTime = ptr.Time(t) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8435,7 +8205,6 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.SessionId = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -8448,7 +8217,6 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -8526,7 +8294,6 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.EndTime = ptr.Time(t) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8535,7 +8302,6 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.SessionId = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -8548,7 +8314,6 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -8588,7 +8353,6 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.ActiveSessionId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8597,7 +8361,6 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8606,12 +8369,10 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8685,7 +8446,6 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8694,17 +8454,14 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Name = ptr.String(jtv) } - case "s3": if err := awsRestjson1_deserializeDocumentS3StorageConfiguration(&sv.S3, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8744,7 +8501,6 @@ func awsRestjson1_deserializeDocumentStorageConfigurationSummary(v **types.Stora } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8753,17 +8509,14 @@ func awsRestjson1_deserializeDocumentStorageConfigurationSummary(v **types.Stora } sv.Name = ptr.String(jtv) } - case "s3": if err := awsRestjson1_deserializeDocumentS3StorageConfiguration(&sv.S3, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8863,13 +8616,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exceptionMessage": if value != nil { @@ -8879,15 +8626,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionMessage = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8926,7 +8669,6 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Bitrate = ptr.Int32(int32(i64)) } - case "framerate": if value != nil { switch jtv := value.(type) { @@ -8960,7 +8702,6 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -8973,7 +8714,6 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -8986,7 +8726,6 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/kafka/deserializers.go b/service/kafka/deserializers.go index fb230086b35..b69bfeb2f54 100644 --- a/service/kafka/deserializers.go +++ b/service/kafka/deserializers.go @@ -196,12 +196,10 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateScramSecretOutput(v **Batch } sv.ClusterArn = ptr.String(jtv) } - case "unprocessedScramSecrets": if err := awsRestjson1_deserializeDocument__listOfUnprocessedScramSecret(&sv.UnprocessedScramSecrets, value); err != nil { return err } - default: _, _ = key, value @@ -375,12 +373,10 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateScramSecretOutput(v **Ba } sv.ClusterArn = ptr.String(jtv) } - case "unprocessedScramSecrets": if err := awsRestjson1_deserializeDocument__listOfUnprocessedScramSecret(&sv.UnprocessedScramSecrets, value); err != nil { return err } - default: _, _ = key, value @@ -554,7 +550,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -563,7 +558,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterName = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -572,7 +566,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -746,7 +739,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -755,7 +747,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterName = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -764,7 +755,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterType = types.ClusterType(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -773,7 +763,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -947,7 +936,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -960,12 +948,10 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.CreationTime = ptr.Time(t) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -974,7 +960,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -983,7 +968,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.State = types.ConfigurationState(jtv) } - default: _, _ = key, value @@ -1160,7 +1144,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorArn = ptr.String(jtv) } - case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -1169,7 +1152,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorName = ptr.String(jtv) } - case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -1178,7 +1160,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorState = types.ReplicatorState(jtv) } - default: _, _ = key, value @@ -1349,12 +1330,10 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.Authentication = ptr.String(jtv) } - case "clientSubnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ClientSubnets, value); err != nil { return err } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1367,12 +1346,10 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.CreationTime = ptr.Time(t) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -1381,12 +1358,10 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.State = types.VpcConnectionState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -1395,7 +1370,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.VpcConnectionArn = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1404,7 +1378,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1569,7 +1542,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1578,7 +1550,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -1840,7 +1811,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigurationOutput(v **DeleteConfi } sv.Arn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1849,7 +1819,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigurationOutput(v **DeleteConfi } sv.State = types.ConfigurationState(jtv) } - default: _, _ = key, value @@ -2023,7 +1992,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReplicatorOutput(v **DeleteReplicat } sv.ReplicatorArn = ptr.String(jtv) } - case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -2032,7 +2000,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReplicatorOutput(v **DeleteReplicat } sv.ReplicatorState = types.ReplicatorState(jtv) } - default: _, _ = key, value @@ -2197,7 +2164,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcConnectionOutput(v **DeleteVpcCo } sv.State = types.VpcConnectionState(jtv) } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -2206,7 +2172,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcConnectionOutput(v **DeleteVpcCo } sv.VpcConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2370,7 +2335,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentClusterInfo(&sv.ClusterInfo, value); err != nil { return err } - default: _, _ = key, value @@ -2534,7 +2498,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOperationOutput(v **Descri if err := awsRestjson1_deserializeDocumentClusterOperationInfo(&sv.ClusterOperationInfo, value); err != nil { return err } - default: _, _ = key, value @@ -2704,7 +2667,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOperationV2Output(v **Desc if err := awsRestjson1_deserializeDocumentClusterOperationV2(&sv.ClusterOperationInfo, value); err != nil { return err } - default: _, _ = key, value @@ -2868,7 +2830,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterV2Output(v **DescribeClust if err := awsRestjson1_deserializeDocumentCluster(&sv.ClusterInfo, value); err != nil { return err } - default: _, _ = key, value @@ -3039,7 +3000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3052,7 +3012,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3061,17 +3020,14 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Description = ptr.String(jtv) } - case "kafkaVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.KafkaVersions, value); err != nil { return err } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3080,7 +3036,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -3089,7 +3044,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.State = types.ConfigurationState(jtv) } - default: _, _ = key, value @@ -3260,7 +3214,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3273,7 +3226,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3282,7 +3234,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Description = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -3295,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Revision = ptr.Int64(i64) } - case "serverProperties": if value != nil { jtv, ok := value.(string) @@ -3308,7 +3258,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.ServerProperties = dv } - default: _, _ = key, value @@ -3486,7 +3435,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.CreationTime = ptr.Time(t) } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -3495,7 +3443,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.CurrentVersion = ptr.String(jtv) } - case "isReplicatorReference": if value != nil { jtv, ok := value.(bool) @@ -3504,17 +3451,14 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.IsReplicatorReference = ptr.Bool(jtv) } - case "kafkaClusters": if err := awsRestjson1_deserializeDocument__listOfKafkaClusterDescription(&sv.KafkaClusters, value); err != nil { return err } - case "replicationInfoList": if err := awsRestjson1_deserializeDocument__listOfReplicationInfoDescription(&sv.ReplicationInfoList, value); err != nil { return err } - case "replicatorArn": if value != nil { jtv, ok := value.(string) @@ -3523,7 +3467,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorArn = ptr.String(jtv) } - case "replicatorDescription": if value != nil { jtv, ok := value.(string) @@ -3532,7 +3475,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorDescription = ptr.String(jtv) } - case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -3541,7 +3483,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorName = ptr.String(jtv) } - case "replicatorResourceArn": if value != nil { jtv, ok := value.(string) @@ -3550,7 +3491,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorResourceArn = ptr.String(jtv) } - case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -3559,7 +3499,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorState = types.ReplicatorState(jtv) } - case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3568,17 +3507,14 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ServiceExecutionRoleArn = ptr.String(jtv) } - case "stateInfo": if err := awsRestjson1_deserializeDocumentReplicationStateInfo(&sv.StateInfo, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3749,7 +3685,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.Authentication = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3762,12 +3697,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.CreationTime = ptr.Time(t) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -3776,17 +3709,14 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.State = types.VpcConnectionState(jtv) } - case "subnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subnets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "targetClusterArn": if value != nil { jtv, ok := value.(string) @@ -3795,7 +3725,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.TargetClusterArn = ptr.String(jtv) } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3804,7 +3733,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.VpcConnectionArn = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -3813,7 +3741,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3981,7 +3908,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerString = ptr.String(jtv) } - case "bootstrapBrokerStringPublicSaslIam": if value != nil { jtv, ok := value.(string) @@ -3990,7 +3916,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicSaslIam = ptr.String(jtv) } - case "bootstrapBrokerStringPublicSaslScram": if value != nil { jtv, ok := value.(string) @@ -3999,7 +3924,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicSaslScram = ptr.String(jtv) } - case "bootstrapBrokerStringPublicTls": if value != nil { jtv, ok := value.(string) @@ -4008,7 +3932,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicTls = ptr.String(jtv) } - case "bootstrapBrokerStringSaslIam": if value != nil { jtv, ok := value.(string) @@ -4017,7 +3940,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringSaslIam = ptr.String(jtv) } - case "bootstrapBrokerStringSaslScram": if value != nil { jtv, ok := value.(string) @@ -4026,7 +3948,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringSaslScram = ptr.String(jtv) } - case "bootstrapBrokerStringTls": if value != nil { jtv, ok := value.(string) @@ -4035,7 +3956,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringTls = ptr.String(jtv) } - case "bootstrapBrokerStringVpcConnectivitySaslIam": if value != nil { jtv, ok := value.(string) @@ -4044,7 +3964,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivitySaslIam = ptr.String(jtv) } - case "bootstrapBrokerStringVpcConnectivitySaslScram": if value != nil { jtv, ok := value.(string) @@ -4053,7 +3972,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivitySaslScram = ptr.String(jtv) } - case "bootstrapBrokerStringVpcConnectivityTls": if value != nil { jtv, ok := value.(string) @@ -4062,7 +3980,6 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivityTls = ptr.String(jtv) } - default: _, _ = key, value @@ -4227,7 +4144,6 @@ func awsRestjson1_deserializeOpDocumentGetClusterPolicyOutput(v **GetClusterPoli } sv.CurrentVersion = ptr.String(jtv) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4152,6 @@ func awsRestjson1_deserializeOpDocumentGetClusterPolicyOutput(v **GetClusterPoli } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -4406,7 +4321,6 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleKafkaVersionsOutput(v **GetC if err := awsRestjson1_deserializeDocument__listOfCompatibleKafkaVersion(&sv.CompatibleKafkaVersions, value); err != nil { return err } - default: _, _ = key, value @@ -4570,7 +4484,6 @@ func awsRestjson1_deserializeOpDocumentListClientVpcConnectionsOutput(v **ListCl if err := awsRestjson1_deserializeDocument__listOfClientVpcConnection(&sv.ClientVpcConnections, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4579,7 +4492,6 @@ func awsRestjson1_deserializeOpDocumentListClientVpcConnectionsOutput(v **ListCl } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4740,7 +4652,6 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsOutput(v **ListClust if err := awsRestjson1_deserializeDocument__listOfClusterOperationInfo(&sv.ClusterOperationInfoList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4749,7 +4660,6 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsOutput(v **ListClust } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4919,7 +4829,6 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsV2Output(v **ListClu if err := awsRestjson1_deserializeDocument__listOfClusterOperationV2Summary(&sv.ClusterOperationInfoList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4928,7 +4837,6 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsV2Output(v **ListClu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5089,7 +4997,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfClusterInfo(&sv.ClusterInfoList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5098,7 +5005,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5259,7 +5165,6 @@ func awsRestjson1_deserializeOpDocumentListClustersV2Output(v **ListClustersV2Ou if err := awsRestjson1_deserializeDocument__listOfCluster(&sv.ClusterInfoList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5268,7 +5173,6 @@ func awsRestjson1_deserializeOpDocumentListClustersV2Output(v **ListClustersV2Ou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5439,12 +5343,10 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "revisions": if err := awsRestjson1_deserializeDocument__listOfConfigurationRevision(&sv.Revisions, value); err != nil { return err } - default: _, _ = key, value @@ -5608,7 +5510,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsRestjson1_deserializeDocument__listOfConfiguration(&sv.Configurations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5617,7 +5518,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5778,7 +5678,6 @@ func awsRestjson1_deserializeOpDocumentListKafkaVersionsOutput(v **ListKafkaVers if err := awsRestjson1_deserializeDocument__listOfKafkaVersion(&sv.KafkaVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5787,7 +5686,6 @@ func awsRestjson1_deserializeOpDocumentListKafkaVersionsOutput(v **ListKafkaVers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5952,12 +5850,10 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "nodeInfoList": if err := awsRestjson1_deserializeDocument__listOfNodeInfo(&sv.NodeInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -6131,12 +6027,10 @@ func awsRestjson1_deserializeOpDocumentListReplicatorsOutput(v **ListReplicators } sv.NextToken = ptr.String(jtv) } - case "replicators": if err := awsRestjson1_deserializeDocument__listOfReplicatorSummary(&sv.Replicators, value); err != nil { return err } - default: _, _ = key, value @@ -6310,12 +6204,10 @@ func awsRestjson1_deserializeOpDocumentListScramSecretsOutput(v **ListScramSecre } sv.NextToken = ptr.String(jtv) } - case "secretArnList": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecretArnList, value); err != nil { return err } - default: _, _ = key, value @@ -6473,7 +6365,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6641,12 +6532,10 @@ func awsRestjson1_deserializeOpDocumentListVpcConnectionsOutput(v **ListVpcConne } sv.NextToken = ptr.String(jtv) } - case "vpcConnections": if err := awsRestjson1_deserializeDocument__listOfVpcConnection(&sv.VpcConnections, value); err != nil { return err } - default: _, _ = key, value @@ -6808,7 +6697,6 @@ func awsRestjson1_deserializeOpDocumentPutClusterPolicyOutput(v **PutClusterPoli } sv.CurrentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -6982,7 +6870,6 @@ func awsRestjson1_deserializeOpDocumentRebootBrokerOutput(v **RebootBrokerOutput } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -6991,7 +6878,6 @@ func awsRestjson1_deserializeOpDocumentRebootBrokerOutput(v **RebootBrokerOutput } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7459,7 +7345,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerCountOutput(v **UpdateBrokerC } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7468,7 +7353,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerCountOutput(v **UpdateBrokerC } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7636,7 +7520,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerStorageOutput(v **UpdateBroke } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7645,7 +7528,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerStorageOutput(v **UpdateBroke } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7819,7 +7701,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerTypeOutput(v **UpdateBrokerTy } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7828,7 +7709,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerTypeOutput(v **UpdateBrokerTy } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7999,7 +7879,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigurationOutput(v **Upda } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8008,7 +7887,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigurationOutput(v **Upda } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8182,7 +8060,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterKafkaVersionOutput(v **Updat } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8191,7 +8068,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterKafkaVersionOutput(v **Updat } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8362,12 +8238,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Arn = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - default: _, _ = key, value @@ -8538,7 +8412,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityOutput(v **UpdateConnec } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8547,7 +8420,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityOutput(v **UpdateConnec } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8715,7 +8587,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitoringOutput(v **UpdateMonitori } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8724,7 +8595,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitoringOutput(v **UpdateMonitori } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8898,7 +8768,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationInfoOutput(v **UpdateRep } sv.ReplicatorArn = ptr.String(jtv) } - case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -8907,7 +8776,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationInfoOutput(v **UpdateRep } sv.ReplicatorState = types.ReplicatorState(jtv) } - default: _, _ = key, value @@ -9081,7 +8949,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityOutput(v **UpdateSecurityOu } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -9090,7 +8957,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityOutput(v **UpdateSecurityOu } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9264,7 +9130,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStorageOutput(v **UpdateStorageOutp } sv.ClusterArn = ptr.String(jtv) } - case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -9273,7 +9138,6 @@ func awsRestjson1_deserializeOpDocumentUpdateStorageOutput(v **UpdateStorageOutp } sv.ClusterOperationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10486,7 +10350,6 @@ func awsRestjson1_deserializeDocumentAmazonMskCluster(v **types.AmazonMskCluster } sv.MskClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10516,13 +10379,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -10532,8 +10389,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10541,15 +10397,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10580,12 +10432,10 @@ func awsRestjson1_deserializeDocumentBrokerCountUpdateInfo(v **types.BrokerCount if err := awsRestjson1_deserializeDocument__listOf__double(&sv.CreatedBrokerIds, value); err != nil { return err } - case "deletedBrokerIds": if err := awsRestjson1_deserializeDocument__listOf__double(&sv.DeletedBrokerIds, value); err != nil { return err } - default: _, _ = key, value @@ -10625,12 +10475,10 @@ func awsRestjson1_deserializeDocumentBrokerEBSVolumeInfo(v **types.BrokerEBSVolu } sv.KafkaBrokerNodeId = ptr.String(jtv) } - case "provisionedThroughput": if err := awsRestjson1_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - case "volumeSizeGB": if value != nil { jtv, ok := value.(json.Number) @@ -10643,7 +10491,6 @@ func awsRestjson1_deserializeDocumentBrokerEBSVolumeInfo(v **types.BrokerEBSVolu } sv.VolumeSizeGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10679,17 +10526,14 @@ func awsRestjson1_deserializeDocumentBrokerLogs(v **types.BrokerLogs, value inte if err := awsRestjson1_deserializeDocumentCloudWatchLogs(&sv.CloudWatchLogs, value); err != nil { return err } - case "firehose": if err := awsRestjson1_deserializeDocumentFirehose(&sv.Firehose, value); err != nil { return err } - case "s3": if err := awsRestjson1_deserializeDocumentS3(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -10729,17 +10573,14 @@ func awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(v **types.BrokerNodeGro } sv.BrokerAZDistribution = types.BrokerAZDistribution(jtv) } - case "clientSubnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ClientSubnets, value); err != nil { return err } - case "connectivityInfo": if err := awsRestjson1_deserializeDocumentConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -10748,22 +10589,18 @@ func awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(v **types.BrokerNodeGro } sv.InstanceType = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "storageInfo": if err := awsRestjson1_deserializeDocumentStorageInfo(&sv.StorageInfo, value); err != nil { return err } - case "zoneIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ZoneIds, value); err != nil { return err } - default: _, _ = key, value @@ -10803,7 +10640,6 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.AttachedENIId = ptr.String(jtv) } - case "brokerId": if value != nil { switch jtv := value.(type) { @@ -10837,7 +10673,6 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } } - case "clientSubnet": if value != nil { jtv, ok := value.(string) @@ -10846,7 +10681,6 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.ClientSubnet = ptr.String(jtv) } - case "clientVpcIpAddress": if value != nil { jtv, ok := value.(string) @@ -10855,17 +10689,14 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.ClientVpcIpAddress = ptr.String(jtv) } - case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } - case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -10905,7 +10736,6 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.ConfigurationArn = ptr.String(jtv) } - case "configurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -10918,7 +10748,6 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.ConfigurationRevision = ptr.Int64(i64) } - case "kafkaVersion": if value != nil { jtv, ok := value.(string) @@ -10927,7 +10756,6 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.KafkaVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10963,17 +10791,14 @@ func awsRestjson1_deserializeDocumentClientAuthentication(v **types.ClientAuthen if err := awsRestjson1_deserializeDocumentSasl(&sv.Sasl, value); err != nil { return err } - case "tls": if err := awsRestjson1_deserializeDocumentTls(&sv.Tls, value); err != nil { return err } - case "unauthenticated": if err := awsRestjson1_deserializeDocumentUnauthenticated(&sv.Unauthenticated, value); err != nil { return err } - default: _, _ = key, value @@ -11013,7 +10838,6 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.Authentication = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11026,7 +10850,6 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.CreationTime = ptr.Time(t) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -11035,7 +10858,6 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.Owner = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -11044,7 +10866,6 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.State = types.VpcConnectionState(jtv) } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -11053,7 +10874,6 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.VpcConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11093,7 +10913,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogs(v **types.CloudWatchLogs, va } sv.Enabled = ptr.Bool(jtv) } - case "logGroup": if value != nil { jtv, ok := value.(string) @@ -11102,7 +10921,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogs(v **types.CloudWatchLogs, va } sv.LogGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -11142,7 +10960,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveOperationArn = ptr.String(jtv) } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -11151,7 +10968,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -11160,7 +10976,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11169,7 +10984,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterType = types.ClusterType(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11182,7 +10996,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreationTime = ptr.Time(t) } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -11191,17 +11004,14 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CurrentVersion = ptr.String(jtv) } - case "provisioned": if err := awsRestjson1_deserializeDocumentProvisioned(&sv.Provisioned, value); err != nil { return err } - case "serverless": if err := awsRestjson1_deserializeDocumentServerless(&sv.Serverless, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -11210,17 +11020,14 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.State = types.ClusterState(jtv) } - case "stateInfo": if err := awsRestjson1_deserializeDocumentStateInfo(&sv.StateInfo, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11260,17 +11067,14 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ActiveOperationArn = ptr.String(jtv) } - case "brokerNodeGroupInfo": if err := awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(&sv.BrokerNodeGroupInfo, value); err != nil { return err } - case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -11279,7 +11083,6 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ClusterArn = ptr.String(jtv) } - case "clusterName": if value != nil { jtv, ok := value.(string) @@ -11288,7 +11091,6 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ClusterName = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11301,12 +11103,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CreationTime = ptr.Time(t) } - case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -11315,7 +11115,6 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CurrentVersion = ptr.String(jtv) } - case "customerActionStatus": if value != nil { jtv, ok := value.(string) @@ -11324,12 +11123,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CustomerActionStatus = types.CustomerActionStatus(jtv) } - case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } - case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -11338,12 +11135,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } - case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -11356,12 +11151,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } - case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoring(&sv.OpenMonitoring, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -11370,12 +11163,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.State = types.ClusterState(jtv) } - case "stateInfo": if err := awsRestjson1_deserializeDocumentStateInfo(&sv.StateInfo, value); err != nil { return err } - case "storageMode": if value != nil { jtv, ok := value.(string) @@ -11384,12 +11175,10 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.StorageMode = types.StorageMode(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "zookeeperConnectString": if value != nil { jtv, ok := value.(string) @@ -11398,7 +11187,6 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ZookeeperConnectString = ptr.String(jtv) } - case "zookeeperConnectStringTls": if value != nil { jtv, ok := value.(string) @@ -11407,7 +11195,6 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ZookeeperConnectStringTls = ptr.String(jtv) } - default: _, _ = key, value @@ -11447,7 +11234,6 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.ClientRequestId = ptr.String(jtv) } - case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -11456,7 +11242,6 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.ClusterArn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11469,7 +11254,6 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.CreationTime = ptr.Time(t) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -11482,12 +11266,10 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.EndTime = ptr.Time(t) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11496,7 +11278,6 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationArn = ptr.String(jtv) } - case "operationState": if value != nil { jtv, ok := value.(string) @@ -11505,12 +11286,10 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationState = ptr.String(jtv) } - case "operationSteps": if err := awsRestjson1_deserializeDocument__listOfClusterOperationStep(&sv.OperationSteps, value); err != nil { return err } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -11519,22 +11298,18 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationType = ptr.String(jtv) } - case "sourceClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.SourceClusterInfo, value); err != nil { return err } - case "targetClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.TargetClusterInfo, value); err != nil { return err } - case "vpcConnectionInfo": if err := awsRestjson1_deserializeDocumentVpcConnectionInfo(&sv.VpcConnectionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -11570,7 +11345,6 @@ func awsRestjson1_deserializeDocumentClusterOperationStep(v **types.ClusterOpera if err := awsRestjson1_deserializeDocumentClusterOperationStepInfo(&sv.StepInfo, value); err != nil { return err } - case "stepName": if value != nil { jtv, ok := value.(string) @@ -11579,7 +11353,6 @@ func awsRestjson1_deserializeDocumentClusterOperationStep(v **types.ClusterOpera } sv.StepName = ptr.String(jtv) } - default: _, _ = key, value @@ -11619,7 +11392,6 @@ func awsRestjson1_deserializeDocumentClusterOperationStepInfo(v **types.ClusterO } sv.StepStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -11659,7 +11431,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.ClusterArn = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11668,7 +11439,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.ClusterType = types.ClusterType(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -11681,12 +11451,10 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.EndTime = ptr.Time(t) } - case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11695,7 +11463,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationArn = ptr.String(jtv) } - case "operationState": if value != nil { jtv, ok := value.(string) @@ -11704,7 +11471,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationState = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -11713,17 +11479,14 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationType = ptr.String(jtv) } - case "provisioned": if err := awsRestjson1_deserializeDocumentClusterOperationV2Provisioned(&sv.Provisioned, value); err != nil { return err } - case "serverless": if err := awsRestjson1_deserializeDocumentClusterOperationV2Serverless(&sv.Serverless, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -11736,7 +11499,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -11772,22 +11534,18 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Provisioned(v **types.Clu if err := awsRestjson1_deserializeDocument__listOfClusterOperationStep(&sv.OperationSteps, value); err != nil { return err } - case "sourceClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.SourceClusterInfo, value); err != nil { return err } - case "targetClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.TargetClusterInfo, value); err != nil { return err } - case "vpcConnectionInfo": if err := awsRestjson1_deserializeDocumentVpcConnectionInfo(&sv.VpcConnectionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -11823,7 +11581,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Serverless(v **types.Clus if err := awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(&sv.VpcConnectionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -11863,7 +11620,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.ClusterArn = ptr.String(jtv) } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11872,7 +11628,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.ClusterType = types.ClusterType(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -11885,7 +11640,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.EndTime = ptr.Time(t) } - case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11894,7 +11648,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationArn = ptr.String(jtv) } - case "operationState": if value != nil { jtv, ok := value.(string) @@ -11903,7 +11656,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationState = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -11912,7 +11664,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationType = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -11925,7 +11676,6 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -11965,12 +11715,10 @@ func awsRestjson1_deserializeDocumentCompatibleKafkaVersion(v **types.Compatible } sv.SourceVersion = ptr.String(jtv) } - case "targetVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.TargetVersions, value); err != nil { return err } - default: _, _ = key, value @@ -12010,7 +11758,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -12023,7 +11770,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12032,17 +11778,14 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Description = ptr.String(jtv) } - case "kafkaVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.KafkaVersions, value); err != nil { return err } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12051,7 +11794,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Name = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -12060,7 +11802,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.State = types.ConfigurationState(jtv) } - default: _, _ = key, value @@ -12100,7 +11841,6 @@ func awsRestjson1_deserializeDocumentConfigurationInfo(v **types.ConfigurationIn } sv.Arn = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -12113,7 +11853,6 @@ func awsRestjson1_deserializeDocumentConfigurationInfo(v **types.ConfigurationIn } sv.Revision = ptr.Int64(i64) } - default: _, _ = key, value @@ -12157,7 +11896,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12166,7 +11904,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Description = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -12179,7 +11916,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Revision = ptr.Int64(i64) } - default: _, _ = key, value @@ -12209,13 +11945,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -12225,8 +11955,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12234,15 +11963,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12273,12 +11998,10 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo if err := awsRestjson1_deserializeDocumentPublicAccess(&sv.PublicAccess, value); err != nil { return err } - case "vpcConnectivity": if err := awsRestjson1_deserializeDocumentVpcConnectivity(&sv.VpcConnectivity, value); err != nil { return err } - default: _, _ = key, value @@ -12314,12 +12037,10 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer if err := awsRestjson1_deserializeDocument__listOf__stringMax256(&sv.ConsumerGroupsToExclude, value); err != nil { return err } - case "consumerGroupsToReplicate": if err := awsRestjson1_deserializeDocument__listOf__stringMax256(&sv.ConsumerGroupsToReplicate, value); err != nil { return err } - case "detectAndCopyNewConsumerGroups": if value != nil { jtv, ok := value.(bool) @@ -12328,7 +12049,6 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer } sv.DetectAndCopyNewConsumerGroups = ptr.Bool(jtv) } - case "synchroniseConsumerGroupOffsets": if value != nil { jtv, ok := value.(bool) @@ -12337,7 +12057,6 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer } sv.SynchroniseConsumerGroupOffsets = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12373,7 +12092,6 @@ func awsRestjson1_deserializeDocumentControllerNodeInfo(v **types.ControllerNode if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -12409,7 +12127,6 @@ func awsRestjson1_deserializeDocumentEBSStorageInfo(v **types.EBSStorageInfo, va if err := awsRestjson1_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12422,7 +12139,6 @@ func awsRestjson1_deserializeDocumentEBSStorageInfo(v **types.EBSStorageInfo, va } sv.VolumeSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12462,7 +12178,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.DataVolumeKMSKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -12498,12 +12213,10 @@ func awsRestjson1_deserializeDocumentEncryptionInfo(v **types.EncryptionInfo, va if err := awsRestjson1_deserializeDocumentEncryptionAtRest(&sv.EncryptionAtRest, value); err != nil { return err } - case "encryptionInTransit": if err := awsRestjson1_deserializeDocumentEncryptionInTransit(&sv.EncryptionInTransit, value); err != nil { return err } - default: _, _ = key, value @@ -12543,7 +12256,6 @@ func awsRestjson1_deserializeDocumentEncryptionInTransit(v **types.EncryptionInT } sv.ClientBroker = types.ClientBroker(jtv) } - case "inCluster": if value != nil { jtv, ok := value.(bool) @@ -12552,7 +12264,6 @@ func awsRestjson1_deserializeDocumentEncryptionInTransit(v **types.EncryptionInT } sv.InCluster = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12592,7 +12303,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorCode = ptr.String(jtv) } - case "errorString": if value != nil { jtv, ok := value.(string) @@ -12601,7 +12311,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorString = ptr.String(jtv) } - default: _, _ = key, value @@ -12641,7 +12350,6 @@ func awsRestjson1_deserializeDocumentFirehose(v **types.Firehose, value interfac } sv.DeliveryStream = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -12650,7 +12358,6 @@ func awsRestjson1_deserializeDocumentFirehose(v **types.Firehose, value interfac } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12680,13 +12387,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -12696,8 +12397,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12705,15 +12405,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12748,7 +12444,6 @@ func awsRestjson1_deserializeDocumentIam(v **types.Iam, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12778,13 +12473,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -12794,8 +12483,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12803,15 +12491,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12846,7 +12530,6 @@ func awsRestjson1_deserializeDocumentJmxExporter(v **types.JmxExporter, value in } sv.EnabledInBroker = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12886,7 +12569,6 @@ func awsRestjson1_deserializeDocumentJmxExporterInfo(v **types.JmxExporterInfo, } sv.EnabledInBroker = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12922,12 +12604,10 @@ func awsRestjson1_deserializeDocumentKafkaClusterClientVpcConfig(v **types.Kafka if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -12963,7 +12643,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus if err := awsRestjson1_deserializeDocumentAmazonMskCluster(&sv.AmazonMskCluster, value); err != nil { return err } - case "kafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -12972,12 +12651,10 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus } sv.KafkaClusterAlias = ptr.String(jtv) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentKafkaClusterClientVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13013,7 +12690,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterSummary(v **types.KafkaClusterS if err := awsRestjson1_deserializeDocumentAmazonMskCluster(&sv.AmazonMskCluster, value); err != nil { return err } - case "kafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13022,7 +12698,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterSummary(v **types.KafkaClusterS } sv.KafkaClusterAlias = ptr.String(jtv) } - default: _, _ = key, value @@ -13062,7 +12737,6 @@ func awsRestjson1_deserializeDocumentKafkaVersion(v **types.KafkaVersion, value } sv.Status = types.KafkaVersionStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13071,7 +12745,6 @@ func awsRestjson1_deserializeDocumentKafkaVersion(v **types.KafkaVersion, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13107,7 +12780,6 @@ func awsRestjson1_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in if err := awsRestjson1_deserializeDocumentBrokerLogs(&sv.BrokerLogs, value); err != nil { return err } - default: _, _ = key, value @@ -13143,32 +12815,26 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster if err := awsRestjson1_deserializeDocumentBrokerCountUpdateInfo(&sv.BrokerCountUpdateInfo, value); err != nil { return err } - case "brokerEBSVolumeInfo": if err := awsRestjson1_deserializeDocument__listOfBrokerEBSVolumeInfo(&sv.BrokerEBSVolumeInfo, value); err != nil { return err } - case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } - case "configurationInfo": if err := awsRestjson1_deserializeDocumentConfigurationInfo(&sv.ConfigurationInfo, value); err != nil { return err } - case "connectivityInfo": if err := awsRestjson1_deserializeDocumentConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } - case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } - case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -13177,7 +12843,6 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -13186,7 +12851,6 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.InstanceType = ptr.String(jtv) } - case "kafkaVersion": if value != nil { jtv, ok := value.(string) @@ -13195,12 +12859,10 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.KafkaVersion = ptr.String(jtv) } - case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -13213,12 +12875,10 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } - case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoring(&sv.OpenMonitoring, value); err != nil { return err } - case "storageMode": if value != nil { jtv, ok := value.(string) @@ -13227,7 +12887,6 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.StorageMode = types.StorageMode(jtv) } - default: _, _ = key, value @@ -13267,7 +12926,6 @@ func awsRestjson1_deserializeDocumentNodeExporter(v **types.NodeExporter, value } sv.EnabledInBroker = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13307,7 +12965,6 @@ func awsRestjson1_deserializeDocumentNodeExporterInfo(v **types.NodeExporterInfo } sv.EnabledInBroker = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13347,17 +13004,14 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.AddedToClusterTime = ptr.String(jtv) } - case "brokerNodeInfo": if err := awsRestjson1_deserializeDocumentBrokerNodeInfo(&sv.BrokerNodeInfo, value); err != nil { return err } - case "controllerNodeInfo": if err := awsRestjson1_deserializeDocumentControllerNodeInfo(&sv.ControllerNodeInfo, value); err != nil { return err } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -13366,7 +13020,6 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.InstanceType = ptr.String(jtv) } - case "nodeARN": if value != nil { jtv, ok := value.(string) @@ -13375,7 +13028,6 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.NodeARN = ptr.String(jtv) } - case "nodeType": if value != nil { jtv, ok := value.(string) @@ -13384,12 +13036,10 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.NodeType = types.NodeType(jtv) } - case "zookeeperNodeInfo": if err := awsRestjson1_deserializeDocumentZookeeperNodeInfo(&sv.ZookeeperNodeInfo, value); err != nil { return err } - default: _, _ = key, value @@ -13419,13 +13069,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -13435,8 +13079,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13444,15 +13087,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13483,7 +13122,6 @@ func awsRestjson1_deserializeDocumentOpenMonitoring(v **types.OpenMonitoring, va if err := awsRestjson1_deserializeDocumentPrometheus(&sv.Prometheus, value); err != nil { return err } - default: _, _ = key, value @@ -13519,7 +13157,6 @@ func awsRestjson1_deserializeDocumentOpenMonitoringInfo(v **types.OpenMonitoring if err := awsRestjson1_deserializeDocumentPrometheusInfo(&sv.Prometheus, value); err != nil { return err } - default: _, _ = key, value @@ -13555,12 +13192,10 @@ func awsRestjson1_deserializeDocumentPrometheus(v **types.Prometheus, value inte if err := awsRestjson1_deserializeDocumentJmxExporter(&sv.JmxExporter, value); err != nil { return err } - case "nodeExporter": if err := awsRestjson1_deserializeDocumentNodeExporter(&sv.NodeExporter, value); err != nil { return err } - default: _, _ = key, value @@ -13596,12 +13231,10 @@ func awsRestjson1_deserializeDocumentPrometheusInfo(v **types.PrometheusInfo, va if err := awsRestjson1_deserializeDocumentJmxExporterInfo(&sv.JmxExporter, value); err != nil { return err } - case "nodeExporter": if err := awsRestjson1_deserializeDocumentNodeExporterInfo(&sv.NodeExporter, value); err != nil { return err } - default: _, _ = key, value @@ -13637,17 +13270,14 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in if err := awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(&sv.BrokerNodeGroupInfo, value); err != nil { return err } - case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } - case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } - case "customerActionStatus": if value != nil { jtv, ok := value.(string) @@ -13656,12 +13286,10 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.CustomerActionStatus = types.CustomerActionStatus(jtv) } - case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } - case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -13670,12 +13298,10 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } - case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -13688,12 +13314,10 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } - case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoringInfo(&sv.OpenMonitoring, value); err != nil { return err } - case "storageMode": if value != nil { jtv, ok := value.(string) @@ -13702,7 +13326,6 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.StorageMode = types.StorageMode(jtv) } - case "zookeeperConnectString": if value != nil { jtv, ok := value.(string) @@ -13711,7 +13334,6 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.ZookeeperConnectString = ptr.String(jtv) } - case "zookeeperConnectStringTls": if value != nil { jtv, ok := value.(string) @@ -13720,7 +13342,6 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.ZookeeperConnectStringTls = ptr.String(jtv) } - default: _, _ = key, value @@ -13760,7 +13381,6 @@ func awsRestjson1_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.Enabled = ptr.Bool(jtv) } - case "volumeThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -13773,7 +13393,6 @@ func awsRestjson1_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.VolumeThroughput = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13813,7 +13432,6 @@ func awsRestjson1_deserializeDocumentPublicAccess(v **types.PublicAccess, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -13849,7 +13467,6 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic if err := awsRestjson1_deserializeDocumentConsumerGroupReplication(&sv.ConsumerGroupReplication, value); err != nil { return err } - case "sourceKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13858,7 +13475,6 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.SourceKafkaClusterAlias = ptr.String(jtv) } - case "targetCompressionType": if value != nil { jtv, ok := value.(string) @@ -13867,7 +13483,6 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.TargetCompressionType = types.TargetCompressionType(jtv) } - case "targetKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13876,12 +13491,10 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.TargetKafkaClusterAlias = ptr.String(jtv) } - case "topicReplication": if err := awsRestjson1_deserializeDocumentTopicReplication(&sv.TopicReplication, value); err != nil { return err } - default: _, _ = key, value @@ -13921,7 +13534,6 @@ func awsRestjson1_deserializeDocumentReplicationInfoSummary(v **types.Replicatio } sv.SourceKafkaClusterAlias = ptr.String(jtv) } - case "targetKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13930,7 +13542,6 @@ func awsRestjson1_deserializeDocumentReplicationInfoSummary(v **types.Replicatio } sv.TargetKafkaClusterAlias = ptr.String(jtv) } - default: _, _ = key, value @@ -13970,7 +13581,6 @@ func awsRestjson1_deserializeDocumentReplicationStartingPosition(v **types.Repli } sv.Type = types.ReplicationStartingPositionType(jtv) } - default: _, _ = key, value @@ -14010,7 +13620,6 @@ func awsRestjson1_deserializeDocumentReplicationStateInfo(v **types.ReplicationS } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14019,7 +13628,6 @@ func awsRestjson1_deserializeDocumentReplicationStateInfo(v **types.ReplicationS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14059,7 +13667,6 @@ func awsRestjson1_deserializeDocumentReplicationTopicNameConfiguration(v **types } sv.Type = types.ReplicationTopicNameConfigurationType(jtv) } - default: _, _ = key, value @@ -14103,7 +13710,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.CreationTime = ptr.Time(t) } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -14112,7 +13718,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.CurrentVersion = ptr.String(jtv) } - case "isReplicatorReference": if value != nil { jtv, ok := value.(bool) @@ -14121,17 +13726,14 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.IsReplicatorReference = ptr.Bool(jtv) } - case "kafkaClustersSummary": if err := awsRestjson1_deserializeDocument__listOfKafkaClusterSummary(&sv.KafkaClustersSummary, value); err != nil { return err } - case "replicationInfoSummaryList": if err := awsRestjson1_deserializeDocument__listOfReplicationInfoSummary(&sv.ReplicationInfoSummaryList, value); err != nil { return err } - case "replicatorArn": if value != nil { jtv, ok := value.(string) @@ -14140,7 +13742,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorArn = ptr.String(jtv) } - case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -14149,7 +13750,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorName = ptr.String(jtv) } - case "replicatorResourceArn": if value != nil { jtv, ok := value.(string) @@ -14158,7 +13758,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorResourceArn = ptr.String(jtv) } - case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -14167,7 +13766,6 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorState = types.ReplicatorState(jtv) } - default: _, _ = key, value @@ -14207,7 +13805,6 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Bucket = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -14216,7 +13813,6 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Enabled = ptr.Bool(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -14225,7 +13821,6 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -14261,12 +13856,10 @@ func awsRestjson1_deserializeDocumentSasl(v **types.Sasl, value interface{}) err if err := awsRestjson1_deserializeDocumentIam(&sv.Iam, value); err != nil { return err } - case "scram": if err := awsRestjson1_deserializeDocumentScram(&sv.Scram, value); err != nil { return err } - default: _, _ = key, value @@ -14306,7 +13899,6 @@ func awsRestjson1_deserializeDocumentScram(v **types.Scram, value interface{}) e } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14342,12 +13934,10 @@ func awsRestjson1_deserializeDocumentServerless(v **types.Serverless, value inte if err := awsRestjson1_deserializeDocumentServerlessClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } - case "vpcConfigs": if err := awsRestjson1_deserializeDocument__listOfVpcConfig(&sv.VpcConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -14383,7 +13973,6 @@ func awsRestjson1_deserializeDocumentServerlessClientAuthentication(v **types.Se if err := awsRestjson1_deserializeDocumentServerlessSasl(&sv.Sasl, value); err != nil { return err } - default: _, _ = key, value @@ -14419,7 +14008,6 @@ func awsRestjson1_deserializeDocumentServerlessSasl(v **types.ServerlessSasl, va if err := awsRestjson1_deserializeDocumentIam(&sv.Iam, value); err != nil { return err } - default: _, _ = key, value @@ -14449,13 +14037,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -14465,8 +14047,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14474,15 +14055,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14517,7 +14094,6 @@ func awsRestjson1_deserializeDocumentStateInfo(v **types.StateInfo, value interf } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14526,7 +14102,6 @@ func awsRestjson1_deserializeDocumentStateInfo(v **types.StateInfo, value interf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14562,7 +14137,6 @@ func awsRestjson1_deserializeDocumentStorageInfo(v **types.StorageInfo, value in if err := awsRestjson1_deserializeDocumentEBSStorageInfo(&sv.EbsStorageInfo, value); err != nil { return err } - default: _, _ = key, value @@ -14598,7 +14172,6 @@ func awsRestjson1_deserializeDocumentTls(v **types.Tls, value interface{}) error if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CertificateAuthorityArnList, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -14607,7 +14180,6 @@ func awsRestjson1_deserializeDocumentTls(v **types.Tls, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14637,13 +14209,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -14653,8 +14219,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14662,15 +14227,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14705,7 +14266,6 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.CopyAccessControlListsForTopics = ptr.Bool(jtv) } - case "copyTopicConfigurations": if value != nil { jtv, ok := value.(bool) @@ -14714,7 +14274,6 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.CopyTopicConfigurations = ptr.Bool(jtv) } - case "detectAndCopyNewTopics": if value != nil { jtv, ok := value.(bool) @@ -14723,27 +14282,22 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.DetectAndCopyNewTopics = ptr.Bool(jtv) } - case "startingPosition": if err := awsRestjson1_deserializeDocumentReplicationStartingPosition(&sv.StartingPosition, value); err != nil { return err } - case "topicNameConfiguration": if err := awsRestjson1_deserializeDocumentReplicationTopicNameConfiguration(&sv.TopicNameConfiguration, value); err != nil { return err } - case "topicsToExclude": if err := awsRestjson1_deserializeDocument__listOf__stringMax249(&sv.TopicsToExclude, value); err != nil { return err } - case "topicsToReplicate": if err := awsRestjson1_deserializeDocument__listOf__stringMax249(&sv.TopicsToReplicate, value); err != nil { return err } - default: _, _ = key, value @@ -14783,7 +14337,6 @@ func awsRestjson1_deserializeDocumentUnauthenticated(v **types.Unauthenticated, } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14813,13 +14366,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "invalidParameter": if value != nil { @@ -14829,8 +14376,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.InvalidParameter = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14838,15 +14384,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14881,7 +14423,6 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14890,7 +14431,6 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.ErrorMessage = ptr.String(jtv) } - case "secretArn": if value != nil { jtv, ok := value.(string) @@ -14899,7 +14439,6 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14939,7 +14478,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.PrincipalId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14948,7 +14486,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Type = types.UserIdentityType(jtv) } - default: _, _ = key, value @@ -14984,12 +14521,10 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -15029,7 +14564,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.Authentication = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -15042,7 +14576,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.CreationTime = ptr.Time(t) } - case "state": if value != nil { jtv, ok := value.(string) @@ -15051,7 +14584,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.State = types.VpcConnectionState(jtv) } - case "targetClusterArn": if value != nil { jtv, ok := value.(string) @@ -15060,7 +14592,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.TargetClusterArn = ptr.String(jtv) } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -15069,7 +14600,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.VpcConnectionArn = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15078,7 +14608,6 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -15122,7 +14651,6 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.CreationTime = ptr.Time(t) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15131,12 +14659,10 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.Owner = ptr.String(jtv) } - case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -15145,7 +14671,6 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.VpcConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15189,7 +14714,6 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.CreationTime = ptr.Time(t) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -15198,12 +14722,10 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.Owner = ptr.String(jtv) } - case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } - case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -15212,7 +14734,6 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.VpcConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15248,7 +14769,6 @@ func awsRestjson1_deserializeDocumentVpcConnectivity(v **types.VpcConnectivity, if err := awsRestjson1_deserializeDocumentVpcConnectivityClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } - default: _, _ = key, value @@ -15284,12 +14804,10 @@ func awsRestjson1_deserializeDocumentVpcConnectivityClientAuthentication(v **typ if err := awsRestjson1_deserializeDocumentVpcConnectivitySasl(&sv.Sasl, value); err != nil { return err } - case "tls": if err := awsRestjson1_deserializeDocumentVpcConnectivityTls(&sv.Tls, value); err != nil { return err } - default: _, _ = key, value @@ -15329,7 +14847,6 @@ func awsRestjson1_deserializeDocumentVpcConnectivityIam(v **types.VpcConnectivit } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15365,12 +14882,10 @@ func awsRestjson1_deserializeDocumentVpcConnectivitySasl(v **types.VpcConnectivi if err := awsRestjson1_deserializeDocumentVpcConnectivityIam(&sv.Iam, value); err != nil { return err } - case "scram": if err := awsRestjson1_deserializeDocumentVpcConnectivityScram(&sv.Scram, value); err != nil { return err } - default: _, _ = key, value @@ -15410,7 +14925,6 @@ func awsRestjson1_deserializeDocumentVpcConnectivityScram(v **types.VpcConnectiv } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15450,7 +14964,6 @@ func awsRestjson1_deserializeDocumentVpcConnectivityTls(v **types.VpcConnectivit } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15490,7 +15003,6 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.AttachedENIId = ptr.String(jtv) } - case "clientVpcIpAddress": if value != nil { jtv, ok := value.(string) @@ -15499,12 +15011,10 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.ClientVpcIpAddress = ptr.String(jtv) } - case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } - case "zookeeperId": if value != nil { switch jtv := value.(type) { @@ -15538,7 +15048,6 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } } - case "zookeeperVersion": if value != nil { jtv, ok := value.(string) @@ -15547,7 +15056,6 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.ZookeeperVersion = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/kafkaconnect/deserializers.go b/service/kafkaconnect/deserializers.go index cd4df145d0f..29f6d413bd6 100644 --- a/service/kafkaconnect/deserializers.go +++ b/service/kafkaconnect/deserializers.go @@ -196,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } - case "connectorName": if value != nil { jtv, ok := value.(string) @@ -205,7 +204,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorName = ptr.String(jtv) } - case "connectorState": if value != nil { jtv, ok := value.(string) @@ -214,7 +212,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorState = types.ConnectorState(jtv) } - default: _, _ = key, value @@ -391,7 +388,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.CustomPluginArn = ptr.String(jtv) } - case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -400,7 +396,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.CustomPluginState = types.CustomPluginState(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -409,7 +404,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.Name = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -422,7 +416,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.Revision = i64 } - default: _, _ = key, value @@ -603,12 +596,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.CreationTime = ptr.Time(t) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -617,7 +608,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.Name = ptr.String(jtv) } - case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -626,7 +616,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.WorkerConfigurationArn = ptr.String(jtv) } - case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -635,7 +624,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } - default: _, _ = key, value @@ -809,7 +797,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectorOutput(v **DeleteConnector } sv.ConnectorArn = ptr.String(jtv) } - case "connectorState": if value != nil { jtv, ok := value.(string) @@ -818,7 +805,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectorOutput(v **DeleteConnector } sv.ConnectorState = types.ConnectorState(jtv) } - default: _, _ = key, value @@ -992,7 +978,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomPluginOutput(v **DeleteCustom } sv.CustomPluginArn = ptr.String(jtv) } - case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -1001,7 +986,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomPluginOutput(v **DeleteCustom } sv.CustomPluginState = types.CustomPluginState(jtv) } - default: _, _ = key, value @@ -1175,7 +1159,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkerConfigurationOutput(v **Delet } sv.WorkerConfigurationArn = ptr.String(jtv) } - case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -1184,7 +1167,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkerConfigurationOutput(v **Delet } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } - default: _, _ = key, value @@ -1354,7 +1336,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsRestjson1_deserializeDocumentCapacityDescription(&sv.Capacity, value); err != nil { return err } - case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -1363,12 +1344,10 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorArn = ptr.String(jtv) } - case "connectorConfiguration": if err := awsRestjson1_deserializeDocument__sensitive__mapOf__string(&sv.ConnectorConfiguration, value); err != nil { return err } - case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -1377,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorDescription = ptr.String(jtv) } - case "connectorName": if value != nil { jtv, ok := value.(string) @@ -1386,7 +1364,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorName = ptr.String(jtv) } - case "connectorState": if value != nil { jtv, ok := value.(string) @@ -1395,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorState = types.ConnectorState(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1408,7 +1384,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.CreationTime = ptr.Time(t) } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -1417,22 +1392,18 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.CurrentVersion = ptr.String(jtv) } - case "kafkaCluster": if err := awsRestjson1_deserializeDocumentKafkaClusterDescription(&sv.KafkaCluster, value); err != nil { return err } - case "kafkaClusterClientAuthentication": if err := awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription(&sv.KafkaClusterClientAuthentication, value); err != nil { return err } - case "kafkaClusterEncryptionInTransit": if err := awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription(&sv.KafkaClusterEncryptionInTransit, value); err != nil { return err } - case "kafkaConnectVersion": if value != nil { jtv, ok := value.(string) @@ -1441,17 +1412,14 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.KafkaConnectVersion = ptr.String(jtv) } - case "logDelivery": if err := awsRestjson1_deserializeDocumentLogDeliveryDescription(&sv.LogDelivery, value); err != nil { return err } - case "plugins": if err := awsRestjson1_deserializeDocument__listOfPluginDescription(&sv.Plugins, value); err != nil { return err } - case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1460,17 +1428,14 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ServiceExecutionRoleArn = ptr.String(jtv) } - case "stateDescription": if err := awsRestjson1_deserializeDocumentStateDescription(&sv.StateDescription, value); err != nil { return err } - case "workerConfiguration": if err := awsRestjson1_deserializeDocumentWorkerConfigurationDescription(&sv.WorkerConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1648,7 +1613,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CreationTime = ptr.Time(t) } - case "customPluginArn": if value != nil { jtv, ok := value.(string) @@ -1657,7 +1621,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CustomPluginArn = ptr.String(jtv) } - case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -1666,7 +1629,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CustomPluginState = types.CustomPluginState(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1675,12 +1637,10 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.Description = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1689,12 +1649,10 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.Name = ptr.String(jtv) } - case "stateDescription": if err := awsRestjson1_deserializeDocumentStateDescription(&sv.StateDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1872,7 +1830,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1881,12 +1838,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.Description = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1895,7 +1850,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.Name = ptr.String(jtv) } - case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1904,7 +1858,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.WorkerConfigurationArn = ptr.String(jtv) } - case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -1913,7 +1866,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } - default: _, _ = key, value @@ -2083,7 +2035,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocument__listOfConnectorSummary(&sv.Connectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2092,7 +2043,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2262,7 +2212,6 @@ func awsRestjson1_deserializeOpDocumentListCustomPluginsOutput(v **ListCustomPlu if err := awsRestjson1_deserializeDocument__listOfCustomPluginSummary(&sv.CustomPlugins, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2271,7 +2220,6 @@ func awsRestjson1_deserializeOpDocumentListCustomPluginsOutput(v **ListCustomPlu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2441,7 +2389,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2615,12 +2562,10 @@ func awsRestjson1_deserializeOpDocumentListWorkerConfigurationsOutput(v **ListWo } sv.NextToken = ptr.String(jtv) } - case "workerConfigurations": if err := awsRestjson1_deserializeDocument__listOfWorkerConfigurationSummary(&sv.WorkerConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3009,7 +2954,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorArn = ptr.String(jtv) } - case "connectorState": if value != nil { jtv, ok := value.(string) @@ -3018,7 +2962,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorState = types.ConnectorState(jtv) } - default: _, _ = key, value @@ -3554,12 +3497,10 @@ func awsRestjson1_deserializeDocumentApacheKafkaClusterDescription(v **types.Apa } sv.BootstrapServers = ptr.String(jtv) } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -3603,7 +3544,6 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.MaxWorkerCount = int32(i64) } - case "mcuCount": if value != nil { jtv, ok := value.(json.Number) @@ -3616,7 +3556,6 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.McuCount = int32(i64) } - case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -3629,17 +3568,14 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.MinWorkerCount = int32(i64) } - case "scaleInPolicy": if err := awsRestjson1_deserializeDocumentScaleInPolicyDescription(&sv.ScaleInPolicy, value); err != nil { return err } - case "scaleOutPolicy": if err := awsRestjson1_deserializeDocumentScaleOutPolicyDescription(&sv.ScaleOutPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -3669,15 +3605,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3685,15 +3615,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3724,12 +3650,10 @@ func awsRestjson1_deserializeDocumentCapacityDescription(v **types.CapacityDescr if err := awsRestjson1_deserializeDocumentAutoScalingDescription(&sv.AutoScaling, value); err != nil { return err } - case "provisionedCapacity": if err := awsRestjson1_deserializeDocumentProvisionedCapacityDescription(&sv.ProvisionedCapacity, value); err != nil { return err } - default: _, _ = key, value @@ -3769,7 +3693,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(v **ty } sv.Enabled = jtv } - case "logGroup": if value != nil { jtv, ok := value.(string) @@ -3778,7 +3701,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(v **ty } sv.LogGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -3808,15 +3730,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3824,15 +3740,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3863,7 +3775,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary if err := awsRestjson1_deserializeDocumentCapacityDescription(&sv.Capacity, value); err != nil { return err } - case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -3872,7 +3783,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorArn = ptr.String(jtv) } - case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -3881,7 +3791,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorDescription = ptr.String(jtv) } - case "connectorName": if value != nil { jtv, ok := value.(string) @@ -3890,7 +3799,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorName = ptr.String(jtv) } - case "connectorState": if value != nil { jtv, ok := value.(string) @@ -3899,7 +3807,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorState = types.ConnectorState(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3912,7 +3819,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CreationTime = ptr.Time(t) } - case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -3921,22 +3827,18 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CurrentVersion = ptr.String(jtv) } - case "kafkaCluster": if err := awsRestjson1_deserializeDocumentKafkaClusterDescription(&sv.KafkaCluster, value); err != nil { return err } - case "kafkaClusterClientAuthentication": if err := awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription(&sv.KafkaClusterClientAuthentication, value); err != nil { return err } - case "kafkaClusterEncryptionInTransit": if err := awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription(&sv.KafkaClusterEncryptionInTransit, value); err != nil { return err } - case "kafkaConnectVersion": if value != nil { jtv, ok := value.(string) @@ -3945,17 +3847,14 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.KafkaConnectVersion = ptr.String(jtv) } - case "logDelivery": if err := awsRestjson1_deserializeDocumentLogDeliveryDescription(&sv.LogDelivery, value); err != nil { return err } - case "plugins": if err := awsRestjson1_deserializeDocument__listOfPluginDescription(&sv.Plugins, value); err != nil { return err } - case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3964,12 +3863,10 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ServiceExecutionRoleArn = ptr.String(jtv) } - case "workerConfiguration": if err := awsRestjson1_deserializeDocumentWorkerConfigurationDescription(&sv.WorkerConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4009,7 +3906,6 @@ func awsRestjson1_deserializeDocumentCustomPluginDescription(v **types.CustomPlu } sv.CustomPluginArn = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -4022,7 +3918,6 @@ func awsRestjson1_deserializeDocumentCustomPluginDescription(v **types.CustomPlu } sv.Revision = i64 } - default: _, _ = key, value @@ -4062,7 +3957,6 @@ func awsRestjson1_deserializeDocumentCustomPluginFileDescription(v **types.Custo } sv.FileMd5 = ptr.String(jtv) } - case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -4075,7 +3969,6 @@ func awsRestjson1_deserializeDocumentCustomPluginFileDescription(v **types.Custo } sv.FileSize = i64 } - default: _, _ = key, value @@ -4111,7 +4004,6 @@ func awsRestjson1_deserializeDocumentCustomPluginLocationDescription(v **types.C if err := awsRestjson1_deserializeDocumentS3LocationDescription(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -4151,7 +4043,6 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.ContentType = types.CustomPluginContentType(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4164,7 +4055,6 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4173,17 +4063,14 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.Description = ptr.String(jtv) } - case "fileDescription": if err := awsRestjson1_deserializeDocumentCustomPluginFileDescription(&sv.FileDescription, value); err != nil { return err } - case "location": if err := awsRestjson1_deserializeDocumentCustomPluginLocationDescription(&sv.Location, value); err != nil { return err } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -4196,7 +4083,6 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.Revision = i64 } - default: _, _ = key, value @@ -4240,7 +4126,6 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CreationTime = ptr.Time(t) } - case "customPluginArn": if value != nil { jtv, ok := value.(string) @@ -4249,7 +4134,6 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CustomPluginArn = ptr.String(jtv) } - case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -4258,7 +4142,6 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CustomPluginState = types.CustomPluginState(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4267,12 +4150,10 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.Description = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4281,7 +4162,6 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4321,7 +4201,6 @@ func awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(v **types.Fi } sv.DeliveryStream = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -4330,7 +4209,6 @@ func awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(v **types.Fi } sv.Enabled = jtv } - default: _, _ = key, value @@ -4360,15 +4238,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4376,15 +4248,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4409,15 +4277,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4425,15 +4287,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4468,7 +4326,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription } sv.AuthenticationType = types.KafkaClusterClientAuthenticationType(jtv) } - default: _, _ = key, value @@ -4504,7 +4361,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus if err := awsRestjson1_deserializeDocumentApacheKafkaClusterDescription(&sv.ApacheKafkaCluster, value); err != nil { return err } - default: _, _ = key, value @@ -4544,7 +4400,6 @@ func awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription( } sv.EncryptionType = types.KafkaClusterEncryptionInTransitType(jtv) } - default: _, _ = key, value @@ -4580,7 +4435,6 @@ func awsRestjson1_deserializeDocumentLogDeliveryDescription(v **types.LogDeliver if err := awsRestjson1_deserializeDocumentWorkerLogDeliveryDescription(&sv.WorkerLogDelivery, value); err != nil { return err } - default: _, _ = key, value @@ -4610,15 +4464,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4626,15 +4474,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4665,7 +4509,6 @@ func awsRestjson1_deserializeDocumentPluginDescription(v **types.PluginDescripti if err := awsRestjson1_deserializeDocumentCustomPluginDescription(&sv.CustomPlugin, value); err != nil { return err } - default: _, _ = key, value @@ -4709,7 +4552,6 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.McuCount = int32(i64) } - case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -4722,7 +4564,6 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.WorkerCount = int32(i64) } - default: _, _ = key, value @@ -4762,7 +4603,6 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.BucketArn = ptr.String(jtv) } - case "fileKey": if value != nil { jtv, ok := value.(string) @@ -4771,7 +4611,6 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.FileKey = ptr.String(jtv) } - case "objectVersion": if value != nil { jtv, ok := value.(string) @@ -4780,7 +4619,6 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.ObjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4820,7 +4658,6 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Bucket = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -4829,7 +4666,6 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Enabled = jtv } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -4838,7 +4674,6 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4882,7 +4717,6 @@ func awsRestjson1_deserializeDocumentScaleInPolicyDescription(v **types.ScaleInP } sv.CpuUtilizationPercentage = int32(i64) } - default: _, _ = key, value @@ -4926,7 +4760,6 @@ func awsRestjson1_deserializeDocumentScaleOutPolicyDescription(v **types.ScaleOu } sv.CpuUtilizationPercentage = int32(i64) } - default: _, _ = key, value @@ -4956,15 +4789,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4972,15 +4799,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5015,7 +4838,6 @@ func awsRestjson1_deserializeDocumentStateDescription(v **types.StateDescription } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -5024,7 +4846,6 @@ func awsRestjson1_deserializeDocumentStateDescription(v **types.StateDescription } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5090,15 +4911,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5106,15 +4921,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5139,15 +4950,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5155,15 +4960,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5194,12 +4995,10 @@ func awsRestjson1_deserializeDocumentVpcDescription(v **types.VpcDescription, va if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "subnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -5243,7 +5042,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationDescription(v **types.Wo } sv.Revision = i64 } - case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5252,7 +5050,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationDescription(v **types.Wo } sv.WorkerConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5296,7 +5093,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5305,7 +5101,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.Description = ptr.String(jtv) } - case "propertiesFileContent": if value != nil { jtv, ok := value.(string) @@ -5314,7 +5109,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.PropertiesFileContent = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5327,7 +5121,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.Revision = i64 } - default: _, _ = key, value @@ -5371,7 +5164,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5380,7 +5172,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.Description = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5393,7 +5184,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.Revision = i64 } - default: _, _ = key, value @@ -5437,7 +5227,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5446,12 +5235,10 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.Description = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5460,7 +5247,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.Name = ptr.String(jtv) } - case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5469,7 +5255,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.WorkerConfigurationArn = ptr.String(jtv) } - case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -5478,7 +5263,6 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } - default: _, _ = key, value @@ -5514,17 +5298,14 @@ func awsRestjson1_deserializeDocumentWorkerLogDeliveryDescription(v **types.Work if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(&sv.CloudWatchLogs, value); err != nil { return err } - case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(&sv.Firehose, value); err != nil { return err } - case "s3": if err := awsRestjson1_deserializeDocumentS3LogDeliveryDescription(&sv.S3, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/kendra/deserializers.go b/service/kendra/deserializers.go index 942475fdfab..99e0405f125 100644 --- a/service/kendra/deserializers.go +++ b/service/kendra/deserializers.go @@ -8408,7 +8408,6 @@ func awsAwsjson11_deserializeDocumentAccessControlConfigurationSummary(v **types } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -8482,7 +8481,6 @@ func awsAwsjson11_deserializeDocumentAccessControlListConfiguration(v **types.Ac } sv.KeyPath = ptr.String(jtv) } - default: _, _ = key, value @@ -8512,15 +8510,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8528,15 +8520,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8571,7 +8559,6 @@ func awsAwsjson11_deserializeDocumentAclConfiguration(v **types.AclConfiguration } sv.AllowedGroupsColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -8611,12 +8598,10 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttribute(v **types.Additio } sv.Key = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeValue(&sv.Value, value); err != nil { return err } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -8625,7 +8610,6 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttribute(v **types.Additio } sv.ValueType = types.AdditionalResultAttributeValueType(jtv) } - default: _, _ = key, value @@ -8695,7 +8679,6 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttributeValue(v **types.Ad if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.TextWithHighlightsValue, value); err != nil { return err } - default: _, _ = key, value @@ -8731,7 +8714,6 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.BlogFieldMappings, value); err != nil { return err } - case "CrawlComments": if value != nil { jtv, ok := value.(bool) @@ -8740,7 +8722,6 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.CrawlComments = jtv } - case "CrawlSystemFolders": if value != nil { jtv, ok := value.(bool) @@ -8749,27 +8730,22 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.CrawlSystemFolders = jtv } - case "DocumentLibraryFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.DocumentLibraryFieldMappings, value); err != nil { return err } - case "EntityFilter": if err := awsAwsjson11_deserializeDocumentEntityFilter(&sv.EntityFilter, value); err != nil { return err } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -8778,7 +8754,6 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SecretArn = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -8787,7 +8762,6 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SiteId = ptr.String(jtv) } - case "SiteUrl": if value != nil { jtv, ok := value.(string) @@ -8796,22 +8770,18 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SiteUrl = ptr.String(jtv) } - case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - case "WikiFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WikiFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -8885,12 +8855,10 @@ func awsAwsjson11_deserializeDocumentAttributeSuggestionsDescribeConfig(v **type } sv.AttributeSuggestionsMode = types.AttributeSuggestionsMode(jtv) } - case "SuggestableConfigList": if err := awsAwsjson11_deserializeDocumentSuggestableConfigList(&sv.SuggestableConfigList, value); err != nil { return err } - default: _, _ = key, value @@ -8926,7 +8894,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe if err := awsAwsjson11_deserializeDocumentBasicAuthenticationConfigurationList(&sv.BasicAuthentication, value); err != nil { return err } - default: _, _ = key, value @@ -8966,7 +8933,6 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Credentials = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -8975,7 +8941,6 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -8988,7 +8953,6 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9062,7 +9026,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9071,7 +9034,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9080,7 +9042,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -9154,7 +9115,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9163,7 +9123,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9172,7 +9131,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -9246,7 +9204,6 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.DocumentId = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -9255,7 +9212,6 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9264,7 +9220,6 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9338,7 +9293,6 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9347,7 +9301,6 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9356,7 +9309,6 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -9426,7 +9378,6 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.CommentFieldMappings, value); err != nil { return err } - case "CrawlComments": if value != nil { jtv, ok := value.(bool) @@ -9435,7 +9386,6 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlComments = jtv } - case "CrawlTasks": if value != nil { jtv, ok := value.(bool) @@ -9444,7 +9394,6 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlTasks = jtv } - case "CrawlWebLinks": if value != nil { jtv, ok := value.(bool) @@ -9453,7 +9402,6 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlWebLinks = jtv } - case "EnterpriseId": if value != nil { jtv, ok := value.(string) @@ -9462,22 +9410,18 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.EnterpriseId = ptr.String(jtv) } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FileFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FileFieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -9486,12 +9430,10 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.SecretArn = ptr.String(jtv) } - case "TaskFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.TaskFieldMappings, value); err != nil { return err } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -9500,17 +9442,14 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.UseChangeLog = jtv } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - case "WebLinkFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WebLinkFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -9554,7 +9493,6 @@ func awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.QueryCapacityUnits = ptr.Int32(int32(i64)) } - case "StorageCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -9567,7 +9505,6 @@ func awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.StorageCapacityUnits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9639,12 +9576,10 @@ func awsAwsjson11_deserializeDocumentCollapsedResultDetail(v **types.CollapsedRe if err := awsAwsjson11_deserializeDocumentDocumentAttribute(&sv.DocumentAttribute, value); err != nil { return err } - case "ExpandedResults": if err := awsAwsjson11_deserializeDocumentExpandedResultList(&sv.ExpandedResults, value); err != nil { return err } - default: _, _ = key, value @@ -9680,7 +9615,6 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu if err := awsAwsjson11_deserializeDocumentChangeDetectingColumns(&sv.ChangeDetectingColumns, value); err != nil { return err } - case "DocumentDataColumnName": if value != nil { jtv, ok := value.(string) @@ -9689,7 +9623,6 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentDataColumnName = ptr.String(jtv) } - case "DocumentIdColumnName": if value != nil { jtv, ok := value.(string) @@ -9698,7 +9631,6 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentIdColumnName = ptr.String(jtv) } - case "DocumentTitleColumnName": if value != nil { jtv, ok := value.(string) @@ -9707,12 +9639,10 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentTitleColumnName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -9742,15 +9672,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9758,15 +9682,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9801,7 +9721,6 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.QueryText = ptr.String(jtv) } - case "SetId": if value != nil { jtv, ok := value.(string) @@ -9810,7 +9729,6 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.SetId = ptr.String(jtv) } - case "SetName": if value != nil { jtv, ok := value.(string) @@ -9819,7 +9737,6 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.SetName = ptr.String(jtv) } - default: _, _ = key, value @@ -9889,7 +9806,6 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(v **types if err := awsAwsjson11_deserializeDocumentConfluenceAttachmentFieldMappingsList(&sv.AttachmentFieldMappings, value); err != nil { return err } - case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -9898,7 +9814,6 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(v **types } sv.CrawlAttachments = jtv } - default: _, _ = key, value @@ -9972,7 +9887,6 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.DataSourceFieldName = types.ConfluenceAttachmentFieldName(jtv) } - case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -9981,7 +9895,6 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.DateFieldFormat = ptr.String(jtv) } - case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -9990,7 +9903,6 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.IndexFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -10026,7 +9938,6 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogConfiguration(v **types.Confl if err := awsAwsjson11_deserializeDocumentConfluenceBlogFieldMappingsList(&sv.BlogFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -10100,7 +10011,6 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.DataSourceFieldName = types.ConfluenceBlogFieldName(jtv) } - case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10109,7 +10019,6 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.DateFieldFormat = ptr.String(jtv) } - case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10118,7 +10027,6 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.IndexFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -10154,7 +10062,6 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc if err := awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(&sv.AttachmentConfiguration, value); err != nil { return err } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -10163,32 +10070,26 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.AuthenticationType = types.ConfluenceAuthenticationType(jtv) } - case "BlogConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceBlogConfiguration(&sv.BlogConfiguration, value); err != nil { return err } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "PageConfiguration": if err := awsAwsjson11_deserializeDocumentConfluencePageConfiguration(&sv.PageConfiguration, value); err != nil { return err } - case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10197,7 +10098,6 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.SecretArn = ptr.String(jtv) } - case "ServerUrl": if value != nil { jtv, ok := value.(string) @@ -10206,12 +10106,10 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.ServerUrl = ptr.String(jtv) } - case "SpaceConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(&sv.SpaceConfiguration, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -10220,12 +10118,10 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.Version = types.ConfluenceVersion(jtv) } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10261,7 +10157,6 @@ func awsAwsjson11_deserializeDocumentConfluencePageConfiguration(v **types.Confl if err := awsAwsjson11_deserializeDocumentConfluencePageFieldMappingsList(&sv.PageFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -10335,7 +10230,6 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.DataSourceFieldName = types.ConfluencePageFieldName(jtv) } - case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10344,7 +10238,6 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.DateFieldFormat = ptr.String(jtv) } - case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10353,7 +10246,6 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.IndexFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -10393,7 +10285,6 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(v **types.Conf } sv.CrawlArchivedSpaces = jtv } - case "CrawlPersonalSpaces": if value != nil { jtv, ok := value.(bool) @@ -10402,22 +10293,18 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(v **types.Conf } sv.CrawlPersonalSpaces = jtv } - case "ExcludeSpaces": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceList(&sv.ExcludeSpaces, value); err != nil { return err } - case "IncludeSpaces": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceList(&sv.IncludeSpaces, value); err != nil { return err } - case "SpaceFieldMappings": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceFieldMappingsList(&sv.SpaceFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -10527,7 +10414,6 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.DataSourceFieldName = types.ConfluenceSpaceFieldName(jtv) } - case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10536,7 +10422,6 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.DateFieldFormat = ptr.String(jtv) } - case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10545,7 +10430,6 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.IndexFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -10585,7 +10469,6 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabaseHost = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -10594,7 +10477,6 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabaseName = ptr.String(jtv) } - case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -10607,7 +10489,6 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabasePort = ptr.Int32(int32(i64)) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10616,7 +10497,6 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.SecretArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -10625,7 +10505,6 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -10661,7 +10540,6 @@ func awsAwsjson11_deserializeDocumentContentSourceConfiguration(v **types.Conten if err := awsAwsjson11_deserializeDocumentDataSourceIdList(&sv.DataSourceIds, value); err != nil { return err } - case "DirectPutContent": if value != nil { jtv, ok := value.(bool) @@ -10670,12 +10548,10 @@ func awsAwsjson11_deserializeDocumentContentSourceConfiguration(v **types.Conten } sv.DirectPutContent = jtv } - case "FaqIds": if err := awsAwsjson11_deserializeDocumentFaqIdsList(&sv.FaqIds, value); err != nil { return err } - default: _, _ = key, value @@ -10719,7 +10595,6 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "CorrectedTerm": if value != nil { jtv, ok := value.(string) @@ -10728,7 +10603,6 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.CorrectedTerm = ptr.String(jtv) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10741,7 +10615,6 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.EndOffset = ptr.Int32(int32(i64)) } - case "Term": if value != nil { jtv, ok := value.(string) @@ -10750,7 +10623,6 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.Term = ptr.String(jtv) } - default: _, _ = key, value @@ -10820,17 +10692,14 @@ func awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(v **t if err := awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfigurationList(&sv.InlineConfigurations, value); err != nil { return err } - case "PostExtractionHookConfiguration": if err := awsAwsjson11_deserializeDocumentHookConfiguration(&sv.PostExtractionHookConfiguration, value); err != nil { return err } - case "PreExtractionHookConfiguration": if err := awsAwsjson11_deserializeDocumentHookConfiguration(&sv.PreExtractionHookConfiguration, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10839,7 +10708,6 @@ func awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(v **t } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10875,17 +10743,14 @@ func awsAwsjson11_deserializeDocumentDatabaseConfiguration(v **types.DatabaseCon if err := awsAwsjson11_deserializeDocumentAclConfiguration(&sv.AclConfiguration, value); err != nil { return err } - case "ColumnConfiguration": if err := awsAwsjson11_deserializeDocumentColumnConfiguration(&sv.ColumnConfiguration, value); err != nil { return err } - case "ConnectionConfiguration": if err := awsAwsjson11_deserializeDocumentConnectionConfiguration(&sv.ConnectionConfiguration, value); err != nil { return err } - case "DatabaseEngineType": if value != nil { jtv, ok := value.(string) @@ -10894,17 +10759,14 @@ func awsAwsjson11_deserializeDocumentDatabaseConfiguration(v **types.DatabaseCon } sv.DatabaseEngineType = types.DatabaseEngineType(jtv) } - case "SqlConfiguration": if err := awsAwsjson11_deserializeDocumentSqlConfiguration(&sv.SqlConfiguration, value); err != nil { return err } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10940,92 +10802,74 @@ func awsAwsjson11_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsAwsjson11_deserializeDocumentAlfrescoConfiguration(&sv.AlfrescoConfiguration, value); err != nil { return err } - case "BoxConfiguration": if err := awsAwsjson11_deserializeDocumentBoxConfiguration(&sv.BoxConfiguration, value); err != nil { return err } - case "ConfluenceConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceConfiguration(&sv.ConfluenceConfiguration, value); err != nil { return err } - case "DatabaseConfiguration": if err := awsAwsjson11_deserializeDocumentDatabaseConfiguration(&sv.DatabaseConfiguration, value); err != nil { return err } - case "FsxConfiguration": if err := awsAwsjson11_deserializeDocumentFsxConfiguration(&sv.FsxConfiguration, value); err != nil { return err } - case "GitHubConfiguration": if err := awsAwsjson11_deserializeDocumentGitHubConfiguration(&sv.GitHubConfiguration, value); err != nil { return err } - case "GoogleDriveConfiguration": if err := awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(&sv.GoogleDriveConfiguration, value); err != nil { return err } - case "JiraConfiguration": if err := awsAwsjson11_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } - case "OneDriveConfiguration": if err := awsAwsjson11_deserializeDocumentOneDriveConfiguration(&sv.OneDriveConfiguration, value); err != nil { return err } - case "QuipConfiguration": if err := awsAwsjson11_deserializeDocumentQuipConfiguration(&sv.QuipConfiguration, value); err != nil { return err } - case "S3Configuration": if err := awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(&sv.S3Configuration, value); err != nil { return err } - case "SalesforceConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceConfiguration(&sv.SalesforceConfiguration, value); err != nil { return err } - case "ServiceNowConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowConfiguration(&sv.ServiceNowConfiguration, value); err != nil { return err } - case "SharePointConfiguration": if err := awsAwsjson11_deserializeDocumentSharePointConfiguration(&sv.SharePointConfiguration, value); err != nil { return err } - case "SlackConfiguration": if err := awsAwsjson11_deserializeDocumentSlackConfiguration(&sv.SlackConfiguration, value); err != nil { return err } - case "TemplateConfiguration": if err := awsAwsjson11_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "WebCrawlerConfiguration": if err := awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(&sv.WebCrawlerConfiguration, value); err != nil { return err } - case "WorkDocsConfiguration": if err := awsAwsjson11_deserializeDocumentWorkDocsConfiguration(&sv.WorkDocsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11144,7 +10988,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11153,7 +10996,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Id = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -11162,7 +11004,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LanguageCode = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11171,7 +11012,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11180,7 +11020,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11189,7 +11028,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = types.DataSourceType(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11205,7 +11043,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } - default: _, _ = key, value @@ -11279,7 +11116,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.DataSourceErrorCode = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11295,7 +11131,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -11304,7 +11139,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11313,7 +11147,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ErrorMessage = ptr.String(jtv) } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -11322,12 +11155,10 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ExecutionId = ptr.String(jtv) } - case "Metrics": if err := awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(&sv.Metrics, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11343,7 +11174,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11352,7 +11182,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.Status = types.DataSourceSyncJobStatus(jtv) } - default: _, _ = key, value @@ -11426,7 +11255,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsAdded = ptr.String(jtv) } - case "DocumentsDeleted": if value != nil { jtv, ok := value.(string) @@ -11435,7 +11263,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsDeleted = ptr.String(jtv) } - case "DocumentsFailed": if value != nil { jtv, ok := value.(string) @@ -11444,7 +11271,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsFailed = ptr.String(jtv) } - case "DocumentsModified": if value != nil { jtv, ok := value.(string) @@ -11453,7 +11279,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsModified = ptr.String(jtv) } - case "DocumentsScanned": if value != nil { jtv, ok := value.(string) @@ -11462,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsScanned = ptr.String(jtv) } - default: _, _ = key, value @@ -11502,7 +11326,6 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.DataSourceFieldName = ptr.String(jtv) } - case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -11511,7 +11334,6 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.DateFieldFormat = ptr.String(jtv) } - case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -11520,7 +11342,6 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.IndexFieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -11590,12 +11411,10 @@ func awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(v **types.DataSo if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -11635,12 +11454,10 @@ func awsAwsjson11_deserializeDocumentDocumentAttribute(v **types.DocumentAttribu } sv.Key = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -11680,12 +11497,10 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.ConditionDocumentAttributeKey = ptr.String(jtv) } - case "ConditionOnValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.ConditionOnValue, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -11694,7 +11509,6 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Operator = types.ConditionOperator(jtv) } - default: _, _ = key, value @@ -11840,12 +11654,10 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.TargetDocumentAttributeKey = ptr.String(jtv) } - case "TargetDocumentAttributeValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.TargetDocumentAttributeValue, value); err != nil { return err } - case "TargetDocumentAttributeValueDeletion": if value != nil { jtv, ok := value.(bool) @@ -11854,7 +11666,6 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.TargetDocumentAttributeValueDeletion = jtv } - default: _, _ = key, value @@ -11901,7 +11712,6 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } } - case "LongValue": if value != nil { jtv, ok := value.(json.Number) @@ -11914,12 +11724,10 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } sv.LongValue = ptr.Int64(i64) } - case "StringListValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeStringListValue(&sv.StringListValue, value); err != nil { return err } - case "StringValue": if value != nil { jtv, ok := value.(string) @@ -11928,7 +11736,6 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -11972,17 +11779,14 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValueCountPair(v **types.D } sv.Count = ptr.Int32(int32(i64)) } - case "DocumentAttributeValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.DocumentAttributeValue, value); err != nil { return err } - case "FacetResults": if err := awsAwsjson11_deserializeDocumentFacetResultList(&sv.FacetResults, value); err != nil { return err } - default: _, _ = key, value @@ -12056,17 +11860,14 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataConfiguration(v **types.Doc } sv.Name = ptr.String(jtv) } - case "Relevance": if err := awsAwsjson11_deserializeDocumentRelevance(&sv.Relevance, value); err != nil { return err } - case "Search": if err := awsAwsjson11_deserializeDocumentSearch(&sv.Search, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12075,7 +11876,6 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataConfiguration(v **types.Doc } sv.Type = types.DocumentAttributeValueType(jtv) } - default: _, _ = key, value @@ -12149,7 +11949,6 @@ func awsAwsjson11_deserializeDocumentDocumentsMetadataConfiguration(v **types.Do } sv.S3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -12223,7 +12022,6 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.FirstName = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12232,7 +12030,6 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.GroupName = ptr.String(jtv) } - case "IdentifiedUserName": if value != nil { jtv, ok := value.(string) @@ -12241,7 +12038,6 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.IdentifiedUserName = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -12250,7 +12046,6 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.LastName = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -12259,7 +12054,6 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -12439,12 +12233,10 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } - case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } - case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -12453,12 +12245,10 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.DocumentId = ptr.String(jtv) } - case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } - case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -12467,7 +12257,6 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.DocumentURI = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12476,7 +12265,6 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12546,12 +12334,10 @@ func awsAwsjson11_deserializeDocumentExperienceConfiguration(v **types.Experienc if err := awsAwsjson11_deserializeDocumentContentSourceConfiguration(&sv.ContentSourceConfiguration, value); err != nil { return err } - case "UserIdentityConfiguration": if err := awsAwsjson11_deserializeDocumentUserIdentityConfiguration(&sv.UserIdentityConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12591,7 +12377,6 @@ func awsAwsjson11_deserializeDocumentExperienceEndpoint(v **types.ExperienceEndp } sv.Endpoint = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -12600,7 +12385,6 @@ func awsAwsjson11_deserializeDocumentExperienceEndpoint(v **types.ExperienceEndp } sv.EndpointType = types.EndpointType(jtv) } - default: _, _ = key, value @@ -12670,7 +12454,6 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie if err := awsAwsjson11_deserializeDocumentEntityDisplayData(&sv.DisplayData, value); err != nil { return err } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -12679,7 +12462,6 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie } sv.EntityId = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -12688,7 +12470,6 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie } sv.EntityType = types.EntityType(jtv) } - default: _, _ = key, value @@ -12769,12 +12550,10 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } } - case "Endpoints": if err := awsAwsjson11_deserializeDocumentExperienceEndpoints(&sv.Endpoints, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12783,7 +12562,6 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12792,7 +12570,6 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12801,7 +12578,6 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Status = types.ExperienceStatus(jtv) } - default: _, _ = key, value @@ -12875,12 +12651,10 @@ func awsAwsjson11_deserializeDocumentFacetResult(v **types.FacetResult, value in } sv.DocumentAttributeKey = ptr.String(jtv) } - case "DocumentAttributeValueCountPairs": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValueCountPairList(&sv.DocumentAttributeValueCountPairs, value); err != nil { return err } - case "DocumentAttributeValueType": if value != nil { jtv, ok := value.(string) @@ -12889,7 +12663,6 @@ func awsAwsjson11_deserializeDocumentFacetResult(v **types.FacetResult, value in } sv.DocumentAttributeValueType = types.DocumentAttributeValueType(jtv) } - default: _, _ = key, value @@ -12963,7 +12736,6 @@ func awsAwsjson11_deserializeDocumentFailedEntity(v **types.FailedEntity, value } sv.EntityId = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12972,7 +12744,6 @@ func awsAwsjson11_deserializeDocumentFailedEntity(v **types.FailedEntity, value } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -13086,7 +12857,6 @@ func awsAwsjson11_deserializeDocumentFaqStatistics(v **types.FaqStatistics, valu } sv.IndexedQuestionAnswersCount = int32(i64) } - default: _, _ = key, value @@ -13133,7 +12903,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } } - case "FileFormat": if value != nil { jtv, ok := value.(string) @@ -13142,7 +12911,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.FileFormat = types.FaqFileFormat(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13151,7 +12919,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Id = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -13160,7 +12927,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.LanguageCode = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13169,7 +12935,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13178,7 +12943,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Status = types.FaqStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13194,7 +12958,6 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } } - default: _, _ = key, value @@ -13268,7 +13031,6 @@ func awsAwsjson11_deserializeDocumentFeaturedDocument(v **types.FeaturedDocument } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -13342,7 +13104,6 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentMissing(v **types.FeaturedD } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -13416,7 +13177,6 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.Id = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -13425,7 +13185,6 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.Title = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -13434,7 +13193,6 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -13498,20 +13256,13 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ConflictingItems": if err := awsAwsjson11_deserializeDocumentConflictingItems(&sv.ConflictingItems, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13519,15 +13270,11 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13558,17 +13305,14 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } - case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } - case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } - case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -13577,12 +13321,10 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.DocumentId = ptr.String(jtv) } - case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } - case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -13591,7 +13333,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.DocumentURI = ptr.String(jtv) } - case "FeedbackToken": if value != nil { jtv, ok := value.(string) @@ -13600,7 +13341,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.FeedbackToken = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13609,7 +13349,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13618,7 +13357,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.Type = types.QueryResultType(jtv) } - default: _, _ = key, value @@ -13696,7 +13434,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.CreationTimestamp = ptr.Int64(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13705,12 +13442,10 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.Description = ptr.String(jtv) } - case "FeaturedDocuments": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentList(&sv.FeaturedDocuments, value); err != nil { return err } - case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -13719,7 +13454,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.FeaturedResultsSetId = ptr.String(jtv) } - case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -13728,7 +13462,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.FeaturedResultsSetName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -13741,12 +13474,10 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.LastUpdatedTimestamp = ptr.Int64(i64) } - case "QueryTexts": if err := awsAwsjson11_deserializeDocumentQueryTextList(&sv.QueryTexts, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13755,7 +13486,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.Status = types.FeaturedResultsSetStatus(jtv) } - default: _, _ = key, value @@ -13799,7 +13529,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.CreationTimestamp = ptr.Int64(i64) } - case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -13808,7 +13537,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.FeaturedResultsSetId = ptr.String(jtv) } - case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -13817,7 +13545,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.FeaturedResultsSetName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -13830,7 +13557,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.LastUpdatedTimestamp = ptr.Int64(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13839,7 +13565,6 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.Status = types.FeaturedResultsSetStatus(jtv) } - default: _, _ = key, value @@ -13945,12 +13670,10 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -13959,7 +13682,6 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -13968,12 +13690,10 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.FileSystemType = types.FsxFileSystemType(jtv) } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -13982,12 +13702,10 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.SecretArn = ptr.String(jtv) } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14023,92 +13741,74 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileNamePatterns, value); err != nil { return err } - case "ExclusionFileTypePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileTypePatterns, value); err != nil { return err } - case "ExclusionFolderNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFolderNamePatterns, value); err != nil { return err } - case "GitHubCommitConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubCommitConfigurationFieldMappings, value); err != nil { return err } - case "GitHubDocumentCrawlProperties": if err := awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(&sv.GitHubDocumentCrawlProperties, value); err != nil { return err } - case "GitHubIssueAttachmentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueAttachmentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubIssueCommentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueCommentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubIssueDocumentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueDocumentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubPullRequestCommentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestCommentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubPullRequestDocumentAttachmentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubPullRequestDocumentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentConfigurationFieldMappings, value); err != nil { return err } - case "GitHubRepositoryConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubRepositoryConfigurationFieldMappings, value); err != nil { return err } - case "InclusionFileNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileNamePatterns, value); err != nil { return err } - case "InclusionFileTypePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileTypePatterns, value); err != nil { return err } - case "InclusionFolderNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFolderNamePatterns, value); err != nil { return err } - case "OnPremiseConfiguration": if err := awsAwsjson11_deserializeDocumentOnPremiseConfiguration(&sv.OnPremiseConfiguration, value); err != nil { return err } - case "RepositoryFilter": if err := awsAwsjson11_deserializeDocumentRepositoryNames(&sv.RepositoryFilter, value); err != nil { return err } - case "SaaSConfiguration": if err := awsAwsjson11_deserializeDocumentSaaSConfiguration(&sv.SaaSConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -14117,7 +13817,6 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.SecretArn = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14126,7 +13825,6 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.Type = types.Type(jtv) } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -14135,12 +13833,10 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.UseChangeLog = jtv } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14180,7 +13876,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssue = jtv } - case "CrawlIssueComment": if value != nil { jtv, ok := value.(bool) @@ -14189,7 +13884,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssueComment = jtv } - case "CrawlIssueCommentAttachment": if value != nil { jtv, ok := value.(bool) @@ -14198,7 +13892,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssueCommentAttachment = jtv } - case "CrawlPullRequest": if value != nil { jtv, ok := value.(bool) @@ -14207,7 +13900,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequest = jtv } - case "CrawlPullRequestComment": if value != nil { jtv, ok := value.(bool) @@ -14216,7 +13908,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequestComment = jtv } - case "CrawlPullRequestCommentAttachment": if value != nil { jtv, ok := value.(bool) @@ -14225,7 +13916,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequestCommentAttachment = jtv } - case "CrawlRepositoryDocuments": if value != nil { jtv, ok := value.(bool) @@ -14234,7 +13924,6 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlRepositoryDocuments = jtv } - default: _, _ = key, value @@ -14270,32 +13959,26 @@ func awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(v **types.GoogleDr if err := awsAwsjson11_deserializeDocumentExcludeMimeTypesList(&sv.ExcludeMimeTypes, value); err != nil { return err } - case "ExcludeSharedDrives": if err := awsAwsjson11_deserializeDocumentExcludeSharedDrivesList(&sv.ExcludeSharedDrives, value); err != nil { return err } - case "ExcludeUserAccounts": if err := awsAwsjson11_deserializeDocumentExcludeUserAccountsList(&sv.ExcludeUserAccounts, value); err != nil { return err } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -14304,7 +13987,6 @@ func awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(v **types.GoogleDr } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14378,7 +14060,6 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.FailureReason = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14394,7 +14075,6 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } } - case "OrderingId": if value != nil { jtv, ok := value.(json.Number) @@ -14407,7 +14087,6 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.OrderingId = ptr.Int64(i64) } - case "ReceivedAt": if value != nil { switch jtv := value.(type) { @@ -14423,7 +14102,6 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14432,7 +14110,6 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.Status = types.PrincipalMappingStatus(jtv) } - default: _, _ = key, value @@ -14472,7 +14149,6 @@ func awsAwsjson11_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupId = ptr.String(jtv) } - case "OrderingId": if value != nil { jtv, ok := value.(json.Number) @@ -14485,7 +14161,6 @@ func awsAwsjson11_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.OrderingId = ptr.Int64(i64) } - default: _, _ = key, value @@ -14521,7 +14196,6 @@ func awsAwsjson11_deserializeDocumentHierarchicalPrincipal(v **types.Hierarchica if err := awsAwsjson11_deserializeDocumentPrincipalList(&sv.PrincipalList, value); err != nil { return err } - default: _, _ = key, value @@ -14599,7 +14273,6 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14612,7 +14285,6 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } - case "TopAnswer": if value != nil { jtv, ok := value.(bool) @@ -14621,7 +14293,6 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.TopAnswer = jtv } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14630,7 +14301,6 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.Type = types.HighlightType(jtv) } - default: _, _ = key, value @@ -14700,7 +14370,6 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati if err := awsAwsjson11_deserializeDocumentDocumentAttributeCondition(&sv.InvocationCondition, value); err != nil { return err } - case "LambdaArn": if value != nil { jtv, ok := value.(string) @@ -14709,7 +14378,6 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.LambdaArn = ptr.String(jtv) } - case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -14718,7 +14386,6 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.S3Bucket = ptr.String(jtv) } - default: _, _ = key, value @@ -14765,7 +14432,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } } - case "Edition": if value != nil { jtv, ok := value.(string) @@ -14774,7 +14440,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Edition = types.IndexEdition(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14783,7 +14448,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14792,7 +14456,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14801,7 +14464,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Status = types.IndexStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14817,7 +14479,6 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } } - default: _, _ = key, value @@ -14887,12 +14548,10 @@ func awsAwsjson11_deserializeDocumentIndexStatistics(v **types.IndexStatistics, if err := awsAwsjson11_deserializeDocumentFaqStatistics(&sv.FaqStatistics, value); err != nil { return err } - case "TextDocumentStatistics": if err := awsAwsjson11_deserializeDocumentTextDocumentStatistics(&sv.TextDocumentStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -14928,7 +14587,6 @@ func awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfiguration if err := awsAwsjson11_deserializeDocumentDocumentAttributeCondition(&sv.Condition, value); err != nil { return err } - case "DocumentContentDeletion": if value != nil { jtv, ok := value.(bool) @@ -14937,12 +14595,10 @@ func awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfiguration } sv.DocumentContentDeletion = jtv } - case "Target": if err := awsAwsjson11_deserializeDocumentDocumentAttributeTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -15006,15 +14662,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15022,15 +14672,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15055,15 +14701,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15071,15 +14711,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15182,37 +14818,30 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.AttachmentFieldMappings, value); err != nil { return err } - case "CommentFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.CommentFieldMappings, value); err != nil { return err } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "IssueFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.IssueFieldMappings, value); err != nil { return err } - case "IssueSubEntityFilter": if err := awsAwsjson11_deserializeDocumentIssueSubEntityFilter(&sv.IssueSubEntityFilter, value); err != nil { return err } - case "IssueType": if err := awsAwsjson11_deserializeDocumentIssueType(&sv.IssueType, value); err != nil { return err } - case "JiraAccountUrl": if value != nil { jtv, ok := value.(string) @@ -15221,17 +14850,14 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.JiraAccountUrl = ptr.String(jtv) } - case "Project": if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - case "ProjectFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.ProjectFieldMappings, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -15240,12 +14866,10 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.SecretArn = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentJiraStatus(&sv.Status, value); err != nil { return err } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -15254,17 +14878,14 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.UseChangeLog = jtv } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - case "WorkLogFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WorkLogFieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -15340,7 +14961,6 @@ func awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(v **types.JsonTo } sv.GroupAttributeField = ptr.String(jtv) } - case "UserNameAttributeField": if value != nil { jtv, ok := value.(string) @@ -15349,7 +14969,6 @@ func awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(v **types.JsonTo } sv.UserNameAttributeField = ptr.String(jtv) } - default: _, _ = key, value @@ -15389,7 +15008,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.ClaimRegex = ptr.String(jtv) } - case "GroupAttributeField": if value != nil { jtv, ok := value.(string) @@ -15398,7 +15016,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.GroupAttributeField = ptr.String(jtv) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -15407,7 +15024,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.Issuer = ptr.String(jtv) } - case "KeyLocation": if value != nil { jtv, ok := value.(string) @@ -15416,7 +15032,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.KeyLocation = types.KeyLocation(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -15425,7 +15040,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.SecretManagerArn = ptr.String(jtv) } - case "URL": if value != nil { jtv, ok := value.(string) @@ -15434,7 +15048,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.URL = ptr.String(jtv) } - case "UserNameAttributeField": if value != nil { jtv, ok := value.(string) @@ -15443,7 +15056,6 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.UserNameAttributeField = ptr.String(jtv) } - default: _, _ = key, value @@ -15517,27 +15129,22 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.DisableLocalGroups = jtv } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "OneDriveUsers": if err := awsAwsjson11_deserializeDocumentOneDriveUsers(&sv.OneDriveUsers, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -15546,7 +15153,6 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.SecretArn = ptr.String(jtv) } - case "TenantDomain": if value != nil { jtv, ok := value.(string) @@ -15555,7 +15161,6 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.TenantDomain = ptr.String(jtv) } - default: _, _ = key, value @@ -15627,12 +15232,10 @@ func awsAwsjson11_deserializeDocumentOneDriveUsers(v **types.OneDriveUsers, valu if err := awsAwsjson11_deserializeDocumentOneDriveUserList(&sv.OneDriveUserList, value); err != nil { return err } - case "OneDriveUserS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.OneDriveUserS3Path, value); err != nil { return err } - default: _, _ = key, value @@ -15672,7 +15275,6 @@ func awsAwsjson11_deserializeDocumentOnPremiseConfiguration(v **types.OnPremiseC } sv.HostUrl = ptr.String(jtv) } - case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -15681,12 +15283,10 @@ func awsAwsjson11_deserializeDocumentOnPremiseConfiguration(v **types.OnPremiseC } sv.OrganizationName = ptr.String(jtv) } - case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } - default: _, _ = key, value @@ -15733,7 +15333,6 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -15742,7 +15341,6 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } sv.EntityId = ptr.String(jtv) } - case "Persona": if value != nil { jtv, ok := value.(string) @@ -15751,7 +15349,6 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } sv.Persona = types.Persona(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15767,7 +15364,6 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } } - default: _, _ = key, value @@ -15841,7 +15437,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Access = types.ReadAccessType(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -15850,7 +15445,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.DataSourceId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15859,7 +15453,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15868,7 +15461,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Type = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -16014,7 +15606,6 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Credentials = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -16023,7 +15614,6 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16036,7 +15626,6 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16108,22 +15697,18 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } - case "CollapsedResultDetail": if err := awsAwsjson11_deserializeDocumentCollapsedResultDetail(&sv.CollapsedResultDetail, value); err != nil { return err } - case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } - case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } - case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -16132,12 +15717,10 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.DocumentId = ptr.String(jtv) } - case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } - case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -16146,7 +15729,6 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.DocumentURI = ptr.String(jtv) } - case "FeedbackToken": if value != nil { jtv, ok := value.(string) @@ -16155,7 +15737,6 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.FeedbackToken = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -16164,7 +15745,6 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Format = types.QueryResultFormat(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16173,17 +15753,14 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Id = ptr.String(jtv) } - case "ScoreAttributes": if err := awsAwsjson11_deserializeDocumentScoreAttributes(&sv.ScoreAttributes, value); err != nil { return err } - case "TableExcerpt": if err := awsAwsjson11_deserializeDocumentTableExcerpt(&sv.TableExcerpt, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16192,7 +15769,6 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Type = types.QueryResultType(jtv) } - default: _, _ = key, value @@ -16273,7 +15849,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16282,7 +15857,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Id = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -16295,7 +15869,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.ItemCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16304,7 +15877,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16313,7 +15885,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Status = types.QuerySuggestionsBlockListStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16329,7 +15900,6 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } } - default: _, _ = key, value @@ -16435,7 +16005,6 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.AttachmentFieldMappings, value); err != nil { return err } - case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -16444,7 +16013,6 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlAttachments = jtv } - case "CrawlChatRooms": if value != nil { jtv, ok := value.(bool) @@ -16453,7 +16021,6 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlChatRooms = jtv } - case "CrawlFileComments": if value != nil { jtv, ok := value.(bool) @@ -16462,7 +16029,6 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlFileComments = jtv } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -16471,27 +16037,22 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.Domain = ptr.String(jtv) } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FolderIds": if err := awsAwsjson11_deserializeDocumentFolderIdList(&sv.FolderIds, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "MessageFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.MessageFieldMappings, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -16500,17 +16061,14 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.SecretArn = ptr.String(jtv) } - case "ThreadFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.ThreadFieldMappings, value); err != nil { return err } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16550,7 +16108,6 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Duration = ptr.String(jtv) } - case "Freshness": if value != nil { jtv, ok := value.(bool) @@ -16559,7 +16116,6 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Freshness = ptr.Bool(jtv) } - case "Importance": if value != nil { jtv, ok := value.(json.Number) @@ -16572,7 +16128,6 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Importance = ptr.Int32(int32(i64)) } - case "RankOrder": if value != nil { jtv, ok := value.(string) @@ -16581,12 +16136,10 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.RankOrder = types.Order(jtv) } - case "ValueImportanceMap": if err := awsAwsjson11_deserializeDocumentValueImportanceMap(&sv.ValueImportanceMap, value); err != nil { return err } - default: _, _ = key, value @@ -16652,15 +16205,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.Res sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16668,15 +16215,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.Res } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16701,15 +16244,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16717,15 +16254,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16750,15 +16283,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16766,15 +16293,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16799,15 +16322,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16815,15 +16332,11 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16858,12 +16371,10 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.Content = ptr.String(jtv) } - case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } - case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -16872,7 +16383,6 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentId = ptr.String(jtv) } - case "DocumentTitle": if value != nil { jtv, ok := value.(string) @@ -16881,7 +16391,6 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentTitle = ptr.String(jtv) } - case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -16890,7 +16399,6 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentURI = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16899,12 +16407,10 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.Id = ptr.String(jtv) } - case "ScoreAttributes": if err := awsAwsjson11_deserializeDocumentScoreAttributes(&sv.ScoreAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -16974,7 +16480,6 @@ func awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS if err := awsAwsjson11_deserializeDocumentAccessControlListConfiguration(&sv.AccessControlListConfiguration, value); err != nil { return err } - case "BucketName": if value != nil { jtv, ok := value.(string) @@ -16983,27 +16488,22 @@ func awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketName = ptr.String(jtv) } - case "DocumentsMetadataConfiguration": if err := awsAwsjson11_deserializeDocumentDocumentsMetadataConfiguration(&sv.DocumentsMetadataConfiguration, value); err != nil { return err } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "InclusionPrefixes": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPrefixes, value); err != nil { return err } - default: _, _ = key, value @@ -17043,7 +16543,6 @@ func awsAwsjson11_deserializeDocumentS3Path(v **types.S3Path, value interface{}) } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -17052,7 +16551,6 @@ func awsAwsjson11_deserializeDocumentS3Path(v **types.S3Path, value interface{}) } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -17092,7 +16590,6 @@ func awsAwsjson11_deserializeDocumentSaaSConfiguration(v **types.SaaSConfigurati } sv.HostUrl = ptr.String(jtv) } - case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -17101,7 +16598,6 @@ func awsAwsjson11_deserializeDocumentSaaSConfiguration(v **types.SaaSConfigurati } sv.OrganizationName = ptr.String(jtv) } - default: _, _ = key, value @@ -17141,7 +16637,6 @@ func awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(v **type } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17150,17 +16645,14 @@ func awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(v **type } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "IncludeFilterTypes": if err := awsAwsjson11_deserializeDocumentSalesforceChatterFeedIncludeFilterTypes(&sv.IncludeFilterTypes, value); err != nil { return err } - default: _, _ = key, value @@ -17232,7 +16724,6 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc if err := awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(&sv.ChatterFeedConfiguration, value); err != nil { return err } - case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -17241,22 +16732,18 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.CrawlAttachments = jtv } - case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } - case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } - case "KnowledgeArticleConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleConfiguration(&sv.KnowledgeArticleConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -17265,7 +16752,6 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.SecretArn = ptr.String(jtv) } - case "ServerUrl": if value != nil { jtv, ok := value.(string) @@ -17274,17 +16760,14 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.ServerUrl = ptr.String(jtv) } - case "StandardObjectAttachmentConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceStandardObjectAttachmentConfiguration(&sv.StandardObjectAttachmentConfiguration, value); err != nil { return err } - case "StandardObjectConfigurations": if err := awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfigurationList(&sv.StandardObjectConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -17324,7 +16807,6 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17333,12 +16815,10 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17347,7 +16827,6 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17417,17 +16896,14 @@ func awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleConfiguration(v * if err := awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigurationList(&sv.CustomKnowledgeArticleTypeConfigurations, value); err != nil { return err } - case "IncludedStates": if err := awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleStateList(&sv.IncludedStates, value); err != nil { return err } - case "StandardKnowledgeArticleTypeConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfiguration(&sv.StandardKnowledgeArticleTypeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17503,7 +16979,6 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfi } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17512,12 +16987,10 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfi } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -17557,12 +17030,10 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectAttachmentConfigura } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - default: _, _ = key, value @@ -17602,7 +17073,6 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17611,12 +17081,10 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17625,7 +17093,6 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.Name = types.SalesforceStandardObjectName(jtv) } - default: _, _ = key, value @@ -17699,7 +17166,6 @@ func awsAwsjson11_deserializeDocumentScoreAttributes(v **types.ScoreAttributes, } sv.ScoreConfidence = types.ScoreConfidence(jtv) } - default: _, _ = key, value @@ -17739,7 +17205,6 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Displayable = jtv } - case "Facetable": if value != nil { jtv, ok := value.(bool) @@ -17748,7 +17213,6 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Facetable = jtv } - case "Searchable": if value != nil { jtv, ok := value.(bool) @@ -17757,7 +17221,6 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Searchable = jtv } - case "Sortable": if value != nil { jtv, ok := value.(bool) @@ -17766,7 +17229,6 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Sortable = jtv } - default: _, _ = key, value @@ -17838,7 +17300,6 @@ func awsAwsjson11_deserializeDocumentSeedUrlConfiguration(v **types.SeedUrlConfi if err := awsAwsjson11_deserializeDocumentSeedUrlList(&sv.SeedUrls, value); err != nil { return err } - case "WebCrawlerMode": if value != nil { jtv, ok := value.(string) @@ -17847,7 +17308,6 @@ func awsAwsjson11_deserializeDocumentSeedUrlConfiguration(v **types.SeedUrlConfi } sv.WebCrawlerMode = types.WebCrawlerMode(jtv) } - default: _, _ = key, value @@ -17923,7 +17383,6 @@ func awsAwsjson11_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -17963,7 +17422,6 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.AuthenticationType = types.ServiceNowAuthenticationType(jtv) } - case "HostUrl": if value != nil { jtv, ok := value.(string) @@ -17972,12 +17430,10 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.HostUrl = ptr.String(jtv) } - case "KnowledgeArticleConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(&sv.KnowledgeArticleConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -17986,12 +17442,10 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.SecretArn = ptr.String(jtv) } - case "ServiceCatalogConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(&sv.ServiceCatalogConfiguration, value); err != nil { return err } - case "ServiceNowBuildVersion": if value != nil { jtv, ok := value.(string) @@ -18000,7 +17454,6 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.ServiceNowBuildVersion = types.ServiceNowBuildVersionType(jtv) } - default: _, _ = key, value @@ -18040,7 +17493,6 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.CrawlAttachments = jtv } - case "DocumentDataFieldName": if value != nil { jtv, ok := value.(string) @@ -18049,7 +17501,6 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -18058,17 +17509,14 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "FilterQuery": if value != nil { jtv, ok := value.(string) @@ -18077,12 +17525,10 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.FilterQuery = ptr.String(jtv) } - case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } - default: _, _ = key, value @@ -18122,7 +17568,6 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.CrawlAttachments = jtv } - case "DocumentDataFieldName": if value != nil { jtv, ok := value.(string) @@ -18131,7 +17576,6 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.DocumentDataFieldName = ptr.String(jtv) } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -18140,22 +17584,18 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } - default: _, _ = key, value @@ -18185,15 +17625,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18201,15 +17635,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18244,7 +17674,6 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.AuthenticationType = types.SharePointOnlineAuthenticationType(jtv) } - case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -18253,7 +17682,6 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.CrawlAttachments = jtv } - case "DisableLocalGroups": if value != nil { jtv, ok := value.(bool) @@ -18262,7 +17690,6 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.DisableLocalGroups = jtv } - case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -18271,27 +17698,22 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.DocumentTitleFieldName = ptr.String(jtv) } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -18300,7 +17722,6 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.SecretArn = ptr.String(jtv) } - case "SharePointVersion": if value != nil { jtv, ok := value.(string) @@ -18309,17 +17730,14 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.SharePointVersion = types.SharePointVersion(jtv) } - case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } - case "Urls": if err := awsAwsjson11_deserializeDocumentSharePointUrlList(&sv.Urls, value); err != nil { return err } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -18328,12 +17746,10 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.UseChangeLog = jtv } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18405,7 +17821,6 @@ func awsAwsjson11_deserializeDocumentSiteMapsConfiguration(v **types.SiteMapsCon if err := awsAwsjson11_deserializeDocumentSiteMapsList(&sv.SiteMaps, value); err != nil { return err } - default: _, _ = key, value @@ -18481,7 +17896,6 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.CrawlBotMessage = jtv } - case "ExcludeArchived": if value != nil { jtv, ok := value.(bool) @@ -18490,22 +17904,18 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.ExcludeArchived = jtv } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "LookBackPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -18518,17 +17928,14 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.LookBackPeriod = ptr.Int32(int32(i64)) } - case "PrivateChannelFilter": if err := awsAwsjson11_deserializeDocumentPrivateChannelFilter(&sv.PrivateChannelFilter, value); err != nil { return err } - case "PublicChannelFilter": if err := awsAwsjson11_deserializeDocumentPublicChannelFilter(&sv.PublicChannelFilter, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -18537,7 +17944,6 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.SecretArn = ptr.String(jtv) } - case "SinceCrawlDate": if value != nil { jtv, ok := value.(string) @@ -18546,12 +17952,10 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.SinceCrawlDate = ptr.String(jtv) } - case "SlackEntityList": if err := awsAwsjson11_deserializeDocumentSlackEntityList(&sv.SlackEntityList, value); err != nil { return err } - case "TeamId": if value != nil { jtv, ok := value.(string) @@ -18560,7 +17964,6 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.TeamId = ptr.String(jtv) } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -18569,12 +17972,10 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.UseChangeLog = jtv } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18750,7 +18151,6 @@ func awsAwsjson11_deserializeDocumentSourceDocument(v **types.SourceDocument, va if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } - case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -18759,12 +18159,10 @@ func awsAwsjson11_deserializeDocumentSourceDocument(v **types.SourceDocument, va } sv.DocumentId = ptr.String(jtv) } - case "SuggestionAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeKeyList(&sv.SuggestionAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -18834,7 +18232,6 @@ func awsAwsjson11_deserializeDocumentSpellCorrectedQuery(v **types.SpellCorrecte if err := awsAwsjson11_deserializeDocumentCorrectionList(&sv.Corrections, value); err != nil { return err } - case "SuggestedQueryText": if value != nil { jtv, ok := value.(string) @@ -18843,7 +18240,6 @@ func awsAwsjson11_deserializeDocumentSpellCorrectedQuery(v **types.SpellCorrecte } sv.SuggestedQueryText = ptr.String(jtv) } - default: _, _ = key, value @@ -18917,7 +18313,6 @@ func awsAwsjson11_deserializeDocumentSqlConfiguration(v **types.SqlConfiguration } sv.QueryIdentifiersEnclosingOption = types.QueryIdentifiersEnclosingOption(jtv) } - default: _, _ = key, value @@ -18957,7 +18352,6 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.DocumentId = ptr.String(jtv) } - case "DocumentStatus": if value != nil { jtv, ok := value.(string) @@ -18966,7 +18360,6 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.DocumentStatus = types.DocumentStatus(jtv) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -18975,7 +18368,6 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.FailureCode = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -18984,7 +18376,6 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.FailureReason = ptr.String(jtv) } - default: _, _ = key, value @@ -19096,7 +18487,6 @@ func awsAwsjson11_deserializeDocumentSuggestableConfig(v **types.SuggestableConf } sv.AttributeName = ptr.String(jtv) } - case "Suggestable": if value != nil { jtv, ok := value.(bool) @@ -19105,7 +18495,6 @@ func awsAwsjson11_deserializeDocumentSuggestableConfig(v **types.SuggestableConf } sv.Suggestable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -19179,17 +18568,14 @@ func awsAwsjson11_deserializeDocumentSuggestion(v **types.Suggestion, value inte } sv.Id = ptr.String(jtv) } - case "SourceDocuments": if err := awsAwsjson11_deserializeDocumentSourceDocuments(&sv.SourceDocuments, value); err != nil { return err } - case "Value": if err := awsAwsjson11_deserializeDocumentSuggestionValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -19233,7 +18619,6 @@ func awsAwsjson11_deserializeDocumentSuggestionHighlight(v **types.SuggestionHig } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -19246,7 +18631,6 @@ func awsAwsjson11_deserializeDocumentSuggestionHighlight(v **types.SuggestionHig } sv.EndOffset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19350,7 +18734,6 @@ func awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(v **types.Sugg if err := awsAwsjson11_deserializeDocumentSuggestionHighlightList(&sv.Highlights, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -19359,7 +18742,6 @@ func awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(v **types.Sugg } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -19395,7 +18777,6 @@ func awsAwsjson11_deserializeDocumentSuggestionValue(v **types.SuggestionValue, if err := awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(&sv.Text, value); err != nil { return err } - default: _, _ = key, value @@ -19435,7 +18816,6 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Header = jtv } - case "Highlighted": if value != nil { jtv, ok := value.(bool) @@ -19444,7 +18824,6 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Highlighted = jtv } - case "TopAnswer": if value != nil { jtv, ok := value.(bool) @@ -19453,7 +18832,6 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.TopAnswer = jtv } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19462,7 +18840,6 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19532,7 +18909,6 @@ func awsAwsjson11_deserializeDocumentTableExcerpt(v **types.TableExcerpt, value if err := awsAwsjson11_deserializeDocumentTableRowList(&sv.Rows, value); err != nil { return err } - case "TotalNumberOfRows": if value != nil { jtv, ok := value.(json.Number) @@ -19545,7 +18921,6 @@ func awsAwsjson11_deserializeDocumentTableExcerpt(v **types.TableExcerpt, value } sv.TotalNumberOfRows = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19581,7 +18956,6 @@ func awsAwsjson11_deserializeDocumentTableRow(v **types.TableRow, value interfac if err := awsAwsjson11_deserializeDocumentTableCellList(&sv.Cells, value); err != nil { return err } - default: _, _ = key, value @@ -19655,7 +19029,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19664,7 +19037,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19742,7 +19114,6 @@ func awsAwsjson11_deserializeDocumentTemplateConfiguration(v **types.TemplateCon if err := awsAwsjson11_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -19786,7 +19157,6 @@ func awsAwsjson11_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextBytes = i64 } - case "IndexedTextDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19799,7 +19169,6 @@ func awsAwsjson11_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextDocumentsCount = int32(i64) } - default: _, _ = key, value @@ -19835,7 +19204,6 @@ func awsAwsjson11_deserializeDocumentTextWithHighlights(v **types.TextWithHighli if err := awsAwsjson11_deserializeDocumentHighlightList(&sv.Highlights, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -19844,7 +19212,6 @@ func awsAwsjson11_deserializeDocumentTextWithHighlights(v **types.TextWithHighli } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -19891,7 +19258,6 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -19900,7 +19266,6 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19909,7 +19274,6 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19918,7 +19282,6 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Status = types.ThesaurusStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -19934,7 +19297,6 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } } - default: _, _ = key, value @@ -19998,15 +19360,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20014,15 +19370,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20064,7 +19416,6 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -20080,7 +19431,6 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } - default: _, _ = key, value @@ -20116,12 +19466,10 @@ func awsAwsjson11_deserializeDocumentUrls(v **types.Urls, value interface{}) err if err := awsAwsjson11_deserializeDocumentSeedUrlConfiguration(&sv.SeedUrlConfiguration, value); err != nil { return err } - case "SiteMapsConfiguration": if err := awsAwsjson11_deserializeDocumentSiteMapsConfiguration(&sv.SiteMapsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20161,7 +19509,6 @@ func awsAwsjson11_deserializeDocumentUserGroupResolutionConfiguration(v **types. } sv.UserGroupResolutionMode = types.UserGroupResolutionMode(jtv) } - default: _, _ = key, value @@ -20201,7 +19548,6 @@ func awsAwsjson11_deserializeDocumentUserIdentityConfiguration(v **types.UserIde } sv.IdentityAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -20237,12 +19583,10 @@ func awsAwsjson11_deserializeDocumentUserTokenConfiguration(v **types.UserTokenC if err := awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(&sv.JsonTokenTypeConfiguration, value); err != nil { return err } - case "JwtTokenTypeConfiguration": if err := awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(&sv.JwtTokenTypeConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -20306,15 +19650,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20322,15 +19660,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20405,7 +19739,6 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Code = types.WarningCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -20414,7 +19747,6 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20484,7 +19816,6 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "CrawlDepth": if value != nil { jtv, ok := value.(json.Number) @@ -20497,7 +19828,6 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.CrawlDepth = ptr.Int32(int32(i64)) } - case "MaxContentSizePerPageInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -20531,7 +19861,6 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } } - case "MaxLinksPerPage": if value != nil { jtv, ok := value.(json.Number) @@ -20544,7 +19873,6 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.MaxLinksPerPage = ptr.Int32(int32(i64)) } - case "MaxUrlsPerMinuteCrawlRate": if value != nil { jtv, ok := value.(json.Number) @@ -20557,27 +19885,22 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.MaxUrlsPerMinuteCrawlRate = ptr.Int32(int32(i64)) } - case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } - case "UrlExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.UrlExclusionPatterns, value); err != nil { return err } - case "UrlInclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.UrlInclusionPatterns, value); err != nil { return err } - case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } - default: _, _ = key, value @@ -20617,22 +19940,18 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.CrawlComments = jtv } - case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } - case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } - case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -20641,7 +19960,6 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.OrganizationId = ptr.String(jtv) } - case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -20650,7 +19968,6 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.UseChangeLog = jtv } - default: _, _ = key, value @@ -20686,7 +20003,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateEntitiesToExperienceOutput(v **A if err := awsAwsjson11_deserializeDocumentAssociateEntitiesToExperienceFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } - default: _, _ = key, value @@ -20722,7 +20038,6 @@ func awsAwsjson11_deserializeOpDocumentAssociatePersonasToEntitiesOutput(v **Ass if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } - default: _, _ = key, value @@ -20758,7 +20073,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteDocumentOutput(v **BatchDelete if err := awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -20794,7 +20108,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteFeaturedResultsSetOutput(v **B if err := awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -20830,12 +20143,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDocumentStatusOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentDocumentStatusList(&sv.DocumentStatusList, value); err != nil { return err } - case "Errors": if err := awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -20871,7 +20182,6 @@ func awsAwsjson11_deserializeOpDocumentBatchPutDocumentOutput(v **BatchPutDocume if err := awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -20911,7 +20221,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessControlConfigurationOutput(v } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -20951,7 +20260,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -20991,7 +20299,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExperienceOutput(v **CreateExperien } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21031,7 +20338,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFaqOutput(v **CreateFaqOutput, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21067,7 +20373,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFeaturedResultsSetOutput(v **Create if err := awsAwsjson11_deserializeDocumentFeaturedResultsSet(&sv.FeaturedResultsSet, value); err != nil { return err } - default: _, _ = key, value @@ -21107,7 +20412,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21147,7 +20451,6 @@ func awsAwsjson11_deserializeOpDocumentCreateQuerySuggestionsBlockListOutput(v * } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21187,7 +20490,6 @@ func awsAwsjson11_deserializeOpDocumentCreateThesaurusOutput(v **CreateThesaurus } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -21285,7 +20587,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( if err := awsAwsjson11_deserializeDocumentPrincipalList(&sv.AccessControlList, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21294,7 +20595,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21303,12 +20603,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.ErrorMessage = ptr.String(jtv) } - case "HierarchicalAccessControlList": if err := awsAwsjson11_deserializeDocumentHierarchicalPrincipalList(&sv.HierarchicalAccessControlList, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21317,7 +20615,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21353,7 +20650,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData if err := awsAwsjson11_deserializeDocumentDataSourceConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -21369,12 +20665,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } } - case "CustomDocumentEnrichmentConfiguration": if err := awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(&sv.CustomDocumentEnrichmentConfiguration, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21383,7 +20677,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21392,7 +20685,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21401,7 +20693,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Id = ptr.String(jtv) } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21410,7 +20701,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.IndexId = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -21419,7 +20709,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.LanguageCode = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21428,7 +20717,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21437,7 +20725,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.RoleArn = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -21446,7 +20733,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Schedule = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21455,7 +20741,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Status = types.DataSourceStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21464,7 +20749,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Type = types.DataSourceType(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21480,12 +20764,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } } - case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -21521,7 +20803,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe if err := awsAwsjson11_deserializeDocumentExperienceConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -21537,7 +20818,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21546,12 +20826,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Description = ptr.String(jtv) } - case "Endpoints": if err := awsAwsjson11_deserializeDocumentExperienceEndpoints(&sv.Endpoints, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21560,7 +20838,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21569,7 +20846,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Id = ptr.String(jtv) } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21578,7 +20854,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.IndexId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21587,7 +20862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21596,7 +20870,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21605,7 +20878,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Status = types.ExperienceStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21621,7 +20893,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } } - default: _, _ = key, value @@ -21668,7 +20939,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21677,7 +20947,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21686,7 +20955,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.ErrorMessage = ptr.String(jtv) } - case "FileFormat": if value != nil { jtv, ok := value.(string) @@ -21695,7 +20963,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.FileFormat = types.FaqFileFormat(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21704,7 +20971,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Id = ptr.String(jtv) } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21713,7 +20979,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.IndexId = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -21722,7 +20987,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.LanguageCode = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21731,7 +20995,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21740,12 +21003,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.RoleArn = ptr.String(jtv) } - case "S3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.S3Path, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21754,7 +21015,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Status = types.FaqStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21770,7 +21030,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } } - default: _, _ = key, value @@ -21814,7 +21073,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.CreationTimestamp = ptr.Int64(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21823,17 +21081,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.Description = ptr.String(jtv) } - case "FeaturedDocumentsMissing": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentMissingList(&sv.FeaturedDocumentsMissing, value); err != nil { return err } - case "FeaturedDocumentsWithMetadata": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadataList(&sv.FeaturedDocumentsWithMetadata, value); err != nil { return err } - case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -21842,7 +21097,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.FeaturedResultsSetId = ptr.String(jtv) } - case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -21851,7 +21105,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.FeaturedResultsSetName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -21864,12 +21117,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.LastUpdatedTimestamp = ptr.Int64(i64) } - case "QueryTexts": if err := awsAwsjson11_deserializeDocumentQueryTextList(&sv.QueryTexts, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21878,7 +21129,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.Status = types.FeaturedResultsSetStatus(jtv) } - default: _, _ = key, value @@ -21914,7 +21164,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp if err := awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(&sv.CapacityUnits, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -21930,7 +21179,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21939,12 +21187,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Description = ptr.String(jtv) } - case "DocumentMetadataConfigurations": if err := awsAwsjson11_deserializeDocumentDocumentMetadataConfigurationList(&sv.DocumentMetadataConfigurations, value); err != nil { return err } - case "Edition": if value != nil { jtv, ok := value.(string) @@ -21953,7 +21199,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Edition = types.IndexEdition(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21962,7 +21207,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21971,12 +21215,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Id = ptr.String(jtv) } - case "IndexStatistics": if err := awsAwsjson11_deserializeDocumentIndexStatistics(&sv.IndexStatistics, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21985,7 +21227,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21994,12 +21235,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.RoleArn = ptr.String(jtv) } - case "ServerSideEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22008,7 +21247,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Status = types.IndexStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -22024,7 +21262,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } } - case "UserContextPolicy": if value != nil { jtv, ok := value.(string) @@ -22033,17 +21270,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.UserContextPolicy = types.UserContextPolicy(jtv) } - case "UserGroupResolutionConfiguration": if err := awsAwsjson11_deserializeDocumentUserGroupResolutionConfiguration(&sv.UserGroupResolutionConfiguration, value); err != nil { return err } - case "UserTokenConfigurations": if err := awsAwsjson11_deserializeDocumentUserTokenConfigurationList(&sv.UserTokenConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -22083,7 +21317,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.DataSourceId = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -22092,12 +21325,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.GroupId = ptr.String(jtv) } - case "GroupOrderingIdSummaries": if err := awsAwsjson11_deserializeDocumentGroupOrderingIdSummaries(&sv.GroupOrderingIdSummaries, value); err != nil { return err } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -22106,7 +21337,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.IndexId = ptr.String(jtv) } - default: _, _ = key, value @@ -22153,7 +21383,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -22162,7 +21391,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -22171,7 +21399,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.ErrorMessage = ptr.String(jtv) } - case "FileSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -22184,7 +21411,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.FileSizeBytes = ptr.Int64(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22193,7 +21419,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Id = ptr.String(jtv) } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -22202,7 +21427,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.IndexId = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -22215,7 +21439,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.ItemCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22224,7 +21447,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -22233,12 +21455,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.RoleArn = ptr.String(jtv) } - case "SourceS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SourceS3Path, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22247,7 +21467,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Status = types.QuerySuggestionsBlockListStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -22263,7 +21482,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } } - default: _, _ = key, value @@ -22299,7 +21517,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** if err := awsAwsjson11_deserializeDocumentAttributeSuggestionsDescribeConfig(&sv.AttributeSuggestionsConfig, value); err != nil { return err } - case "IncludeQueriesWithoutUserInformation": if value != nil { jtv, ok := value.(bool) @@ -22308,7 +21525,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.IncludeQueriesWithoutUserInformation = ptr.Bool(jtv) } - case "LastClearTime": if value != nil { switch jtv := value.(type) { @@ -22324,7 +21540,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } } - case "LastSuggestionsBuildTime": if value != nil { switch jtv := value.(type) { @@ -22340,7 +21555,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } } - case "MinimumNumberOfQueryingUsers": if value != nil { jtv, ok := value.(json.Number) @@ -22353,7 +21567,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.MinimumNumberOfQueryingUsers = ptr.Int32(int32(i64)) } - case "MinimumQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -22366,7 +21579,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.MinimumQueryCount = ptr.Int32(int32(i64)) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -22375,7 +21587,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.Mode = types.Mode(jtv) } - case "QueryLogLookBackWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -22388,7 +21599,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.QueryLogLookBackWindowInDays = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22397,7 +21607,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.Status = types.QuerySuggestionsStatus(jtv) } - case "TotalSuggestionsCount": if value != nil { jtv, ok := value.(json.Number) @@ -22410,7 +21619,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.TotalSuggestionsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22457,7 +21665,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -22466,7 +21673,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -22475,7 +21681,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.ErrorMessage = ptr.String(jtv) } - case "FileSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -22488,7 +21693,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.FileSizeBytes = ptr.Int64(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22497,7 +21701,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Id = ptr.String(jtv) } - case "IndexId": if value != nil { jtv, ok := value.(string) @@ -22506,7 +21709,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.IndexId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22515,7 +21717,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -22524,12 +21725,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.RoleArn = ptr.String(jtv) } - case "SourceS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SourceS3Path, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22538,7 +21737,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Status = types.ThesaurusStatus(jtv) } - case "SynonymRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -22551,7 +21749,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.SynonymRuleCount = ptr.Int64(i64) } - case "TermCount": if value != nil { jtv, ok := value.(json.Number) @@ -22564,7 +21761,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.TermCount = ptr.Int64(i64) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -22580,7 +21776,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } } - default: _, _ = key, value @@ -22616,7 +21811,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateEntitiesFromExperienceOutput( if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } - default: _, _ = key, value @@ -22652,7 +21846,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociatePersonasFromEntitiesOutput(v if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } - default: _, _ = key, value @@ -22692,12 +21885,10 @@ func awsAwsjson11_deserializeOpDocumentGetQuerySuggestionsOutput(v **GetQuerySug } sv.QuerySuggestionsId = ptr.String(jtv) } - case "Suggestions": if err := awsAwsjson11_deserializeDocumentSuggestionList(&sv.Suggestions, value); err != nil { return err } - default: _, _ = key, value @@ -22737,22 +21928,18 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotsOutput(v **GetSnapshotsOutput } sv.NextToken = ptr.String(jtv) } - case "SnapshotsData": if err := awsAwsjson11_deserializeDocumentSnapshotsDataRecords(&sv.SnapshotsData, value); err != nil { return err } - case "SnapshotsDataHeader": if err := awsAwsjson11_deserializeDocumentSnapshotsDataHeaderFields(&sv.SnapshotsDataHeader, value); err != nil { return err } - case "SnapShotTimeFilter": if err := awsAwsjson11_deserializeDocumentTimeRange(&sv.SnapShotTimeFilter, value); err != nil { return err } - default: _, _ = key, value @@ -22788,7 +21975,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlConfigurationsOutput(v * if err := awsAwsjson11_deserializeDocumentAccessControlConfigurationSummaryList(&sv.AccessControlConfigurations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22797,7 +21983,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22837,12 +22022,10 @@ func awsAwsjson11_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - case "SummaryItems": if err := awsAwsjson11_deserializeDocumentDataSourceSummaryList(&sv.SummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -22878,7 +22061,6 @@ func awsAwsjson11_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData if err := awsAwsjson11_deserializeDocumentDataSourceSyncJobHistoryList(&sv.History, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22887,7 +22069,6 @@ func awsAwsjson11_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22927,12 +22108,10 @@ func awsAwsjson11_deserializeOpDocumentListEntityPersonasOutput(v **ListEntityPe } sv.NextToken = ptr.String(jtv) } - case "SummaryItems": if err := awsAwsjson11_deserializeDocumentPersonasSummaryList(&sv.SummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -22972,12 +22151,10 @@ func awsAwsjson11_deserializeOpDocumentListExperienceEntitiesOutput(v **ListExpe } sv.NextToken = ptr.String(jtv) } - case "SummaryItems": if err := awsAwsjson11_deserializeDocumentExperienceEntitiesSummaryList(&sv.SummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -23017,12 +22194,10 @@ func awsAwsjson11_deserializeOpDocumentListExperiencesOutput(v **ListExperiences } sv.NextToken = ptr.String(jtv) } - case "SummaryItems": if err := awsAwsjson11_deserializeDocumentExperiencesSummaryList(&sv.SummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -23058,7 +22233,6 @@ func awsAwsjson11_deserializeOpDocumentListFaqsOutput(v **ListFaqsOutput, value if err := awsAwsjson11_deserializeDocumentFaqSummaryItems(&sv.FaqSummaryItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23067,7 +22241,6 @@ func awsAwsjson11_deserializeOpDocumentListFaqsOutput(v **ListFaqsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23103,7 +22276,6 @@ func awsAwsjson11_deserializeOpDocumentListFeaturedResultsSetsOutput(v **ListFea if err := awsAwsjson11_deserializeDocumentFeaturedResultsSetSummaryItems(&sv.FeaturedResultsSetSummaryItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23112,7 +22284,6 @@ func awsAwsjson11_deserializeOpDocumentListFeaturedResultsSetsOutput(v **ListFea } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23148,7 +22319,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOlderThanOrderingIdOutput(v **L if err := awsAwsjson11_deserializeDocumentListOfGroupSummaries(&sv.GroupsSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23157,7 +22327,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOlderThanOrderingIdOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23193,7 +22362,6 @@ func awsAwsjson11_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsAwsjson11_deserializeDocumentIndexConfigurationSummaryList(&sv.IndexConfigurationSummaryItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23202,7 +22370,6 @@ func awsAwsjson11_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23238,7 +22405,6 @@ func awsAwsjson11_deserializeOpDocumentListQuerySuggestionsBlockListsOutput(v ** if err := awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummaryItems(&sv.BlockListSummaryItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23247,7 +22413,6 @@ func awsAwsjson11_deserializeOpDocumentListQuerySuggestionsBlockListsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23283,7 +22448,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -23323,12 +22487,10 @@ func awsAwsjson11_deserializeOpDocumentListThesauriOutput(v **ListThesauriOutput } sv.NextToken = ptr.String(jtv) } - case "ThesaurusSummaryItems": if err := awsAwsjson11_deserializeDocumentThesaurusSummaryItems(&sv.ThesaurusSummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -23364,12 +22526,10 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson11_deserializeDocumentFacetResultList(&sv.FacetResults, value); err != nil { return err } - case "FeaturedResultsItems": if err := awsAwsjson11_deserializeDocumentFeaturedResultsItemList(&sv.FeaturedResultsItems, value); err != nil { return err } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -23378,17 +22538,14 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.QueryId = ptr.String(jtv) } - case "ResultItems": if err := awsAwsjson11_deserializeDocumentQueryResultItemList(&sv.ResultItems, value); err != nil { return err } - case "SpellCorrectedQueries": if err := awsAwsjson11_deserializeDocumentSpellCorrectedQueryList(&sv.SpellCorrectedQueries, value); err != nil { return err } - case "TotalNumberOfResults": if value != nil { jtv, ok := value.(json.Number) @@ -23401,12 +22558,10 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.TotalNumberOfResults = ptr.Int32(int32(i64)) } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarningList(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -23446,12 +22601,10 @@ func awsAwsjson11_deserializeOpDocumentRetrieveOutput(v **RetrieveOutput, value } sv.QueryId = ptr.String(jtv) } - case "ResultItems": if err := awsAwsjson11_deserializeDocumentRetrieveResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value @@ -23491,7 +22644,6 @@ func awsAwsjson11_deserializeOpDocumentStartDataSourceSyncJobOutput(v **StartDat } sv.ExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23620,7 +22772,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFeaturedResultsSetOutput(v **Update if err := awsAwsjson11_deserializeDocumentFeaturedResultsSet(&sv.FeaturedResultsSet, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/kendraranking/deserializers.go b/service/kendraranking/deserializers.go index 9973b55ab01..520454c28e8 100644 --- a/service/kendraranking/deserializers.go +++ b/service/kendraranking/deserializers.go @@ -1406,15 +1406,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1422,15 +1416,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1469,7 +1459,6 @@ func awsAwsjson10_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.RescoreCapacityUnits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1499,15 +1488,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1515,15 +1498,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1548,15 +1527,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1564,15 +1537,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1614,7 +1583,6 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1623,7 +1591,6 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1632,7 +1599,6 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1641,7 +1607,6 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Status = types.RescoreExecutionPlanStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1657,7 +1622,6 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } } - default: _, _ = key, value @@ -1731,7 +1695,6 @@ func awsAwsjson10_deserializeDocumentRescoreResultItem(v **types.RescoreResultIt } sv.DocumentId = ptr.String(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -1765,7 +1728,6 @@ func awsAwsjson10_deserializeDocumentRescoreResultItem(v **types.RescoreResultIt } } - default: _, _ = key, value @@ -1829,15 +1791,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1845,15 +1801,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1878,15 +1830,9 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1894,15 +1840,11 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1927,15 +1869,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1943,15 +1879,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1986,7 +1918,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1995,7 +1926,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2059,15 +1989,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2075,15 +1999,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2108,15 +2028,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2124,15 +2038,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2167,7 +2077,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRescoreExecutionPlanOutput(v **Crea } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2176,7 +2085,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRescoreExecutionPlanOutput(v **Crea } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -2216,12 +2124,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Arn = ptr.String(jtv) } - case "CapacityUnits": if err := awsAwsjson10_deserializeDocumentCapacityUnitsConfiguration(&sv.CapacityUnits, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2237,7 +2143,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2246,7 +2151,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Description = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2255,7 +2159,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2264,7 +2167,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2273,7 +2175,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2282,7 +2183,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Status = types.RescoreExecutionPlanStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2298,7 +2198,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } } - default: _, _ = key, value @@ -2338,12 +2237,10 @@ func awsAwsjson10_deserializeOpDocumentListRescoreExecutionPlansOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - case "SummaryItems": if err := awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummaryList(&sv.SummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -2379,7 +2276,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2419,12 +2315,10 @@ func awsAwsjson10_deserializeOpDocumentRescoreOutput(v **RescoreOutput, value in } sv.RescoreId = ptr.String(jtv) } - case "ResultItems": if err := awsAwsjson10_deserializeDocumentRescoreResultItemList(&sv.ResultItems, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/keyspaces/deserializers.go b/service/keyspaces/deserializers.go index 132c1d935d3..47ba3b5b9f8 100644 --- a/service/keyspaces/deserializers.go +++ b/service/keyspaces/deserializers.go @@ -2501,15 +2501,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2517,15 +2511,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2556,7 +2546,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingPolicy(v **types.AutoScalingPoli if err := awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2596,7 +2585,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.AutoScalingDisabled = jtv } - case "maximumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2609,7 +2597,6 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.MaximumUnits = ptr.Int64(i64) } - case "minimumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2622,12 +2609,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.MinimumUnits = ptr.Int64(i64) } - case "scalingPolicy": if err := awsAwsjson10_deserializeDocumentAutoScalingPolicy(&sv.ScalingPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -2663,12 +2648,10 @@ func awsAwsjson10_deserializeDocumentAutoScalingSpecification(v **types.AutoScal if err := awsAwsjson10_deserializeDocumentAutoScalingSettings(&sv.ReadCapacityAutoScaling, value); err != nil { return err } - case "writeCapacityAutoScaling": if err := awsAwsjson10_deserializeDocumentAutoScalingSettings(&sv.WriteCapacityAutoScaling, value); err != nil { return err } - default: _, _ = key, value @@ -2715,7 +2698,6 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } } - case "readCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2728,7 +2710,6 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.ReadCapacityUnits = ptr.Int64(i64) } - case "throughputMode": if value != nil { jtv, ok := value.(string) @@ -2737,7 +2718,6 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.ThroughputMode = types.ThroughputMode(jtv) } - case "writeCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2750,7 +2730,6 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.WriteCapacityUnits = ptr.Int64(i64) } - default: _, _ = key, value @@ -2790,7 +2769,6 @@ func awsAwsjson10_deserializeDocumentClientSideTimestamps(v **types.ClientSideTi } sv.Status = types.ClientSideTimestampsStatus(jtv) } - default: _, _ = key, value @@ -2830,7 +2808,6 @@ func awsAwsjson10_deserializeDocumentClusteringKey(v **types.ClusteringKey, valu } sv.Name = ptr.String(jtv) } - case "orderBy": if value != nil { jtv, ok := value.(string) @@ -2839,7 +2816,6 @@ func awsAwsjson10_deserializeDocumentClusteringKey(v **types.ClusteringKey, valu } sv.OrderBy = types.SortOrder(jtv) } - default: _, _ = key, value @@ -2913,7 +2889,6 @@ func awsAwsjson10_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2922,7 +2897,6 @@ func awsAwsjson10_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2996,7 +2970,6 @@ func awsAwsjson10_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -3026,15 +2999,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3042,15 +3009,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3085,7 +3048,6 @@ func awsAwsjson10_deserializeDocumentEncryptionSpecification(v **types.Encryptio } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3094,7 +3056,6 @@ func awsAwsjson10_deserializeDocumentEncryptionSpecification(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -3134,7 +3095,6 @@ func awsAwsjson10_deserializeDocumentFieldDefinition(v **types.FieldDefinition, } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3143,7 +3103,6 @@ func awsAwsjson10_deserializeDocumentFieldDefinition(v **types.FieldDefinition, } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -3207,15 +3166,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3223,15 +3176,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3266,12 +3215,10 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.KeyspaceName = ptr.String(jtv) } - case "replicationRegions": if err := awsAwsjson10_deserializeDocumentRegionList(&sv.ReplicationRegions, value); err != nil { return err } - case "replicationStrategy": if value != nil { jtv, ok := value.(string) @@ -3280,7 +3227,6 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.ReplicationStrategy = types.Rs(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3289,7 +3235,6 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3363,7 +3308,6 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3444,7 +3388,6 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(v **types.PointI } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3453,7 +3396,6 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(v **types.PointI } sv.Status = types.PointInTimeRecoveryStatus(jtv) } - default: _, _ = key, value @@ -3525,7 +3467,6 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecification(v **types.R if err := awsAwsjson10_deserializeDocumentAutoScalingSpecification(&sv.AutoScalingSpecification, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -3534,7 +3475,6 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecification(v **types.R } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -3604,7 +3544,6 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli if err := awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(&sv.CapacitySpecification, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -3613,7 +3552,6 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli } sv.Region = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3622,7 +3560,6 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli } sv.Status = types.TableStatus(jtv) } - default: _, _ = key, value @@ -3686,15 +3623,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3702,7 +3633,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3711,15 +3641,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3750,22 +3676,18 @@ func awsAwsjson10_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsAwsjson10_deserializeDocumentColumnDefinitionList(&sv.AllColumns, value); err != nil { return err } - case "clusteringKeys": if err := awsAwsjson10_deserializeDocumentClusteringKeyList(&sv.ClusteringKeys, value); err != nil { return err } - case "partitionKeys": if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } - case "staticColumns": if err := awsAwsjson10_deserializeDocumentStaticColumnList(&sv.StaticColumns, value); err != nil { return err } - default: _, _ = key, value @@ -3795,15 +3717,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3811,15 +3727,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3854,7 +3766,6 @@ func awsAwsjson10_deserializeDocumentStaticColumn(v **types.StaticColumn, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3964,7 +3875,6 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.KeyspaceName = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3973,7 +3883,6 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.ResourceArn = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -3982,7 +3891,6 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -4056,7 +3964,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -4065,7 +3972,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4139,7 +4045,6 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.DisableScaleIn = jtv } - case "scaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4152,7 +4057,6 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleInCooldown = int32(i64) } - case "scaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4165,7 +4069,6 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleOutCooldown = int32(i64) } - case "targetValue": if value != nil { switch jtv := value.(type) { @@ -4199,7 +4102,6 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } - default: _, _ = key, value @@ -4239,7 +4141,6 @@ func awsAwsjson10_deserializeDocumentTimeToLive(v **types.TimeToLive, value inte } sv.Status = types.TimeToLiveStatus(jtv) } - default: _, _ = key, value @@ -4305,15 +4206,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4321,15 +4216,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4364,7 +4255,6 @@ func awsAwsjson10_deserializeOpDocumentCreateKeyspaceOutput(v **CreateKeyspaceOu } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4404,7 +4294,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4444,7 +4333,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va } sv.KeyspaceArn = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -4453,7 +4341,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -4555,7 +4442,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTypeOutput(v **DeleteTypeOutput, va } sv.KeyspaceArn = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -4564,7 +4450,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTypeOutput(v **DeleteTypeOutput, va } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -4604,12 +4489,10 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.KeyspaceName = ptr.String(jtv) } - case "replicationRegions": if err := awsAwsjson10_deserializeDocumentRegionList(&sv.ReplicationRegions, value); err != nil { return err } - case "replicationStrategy": if value != nil { jtv, ok := value.(string) @@ -4618,7 +4501,6 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.ReplicationStrategy = types.Rs(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4627,7 +4509,6 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4663,7 +4544,6 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get if err := awsAwsjson10_deserializeDocumentAutoScalingSpecification(&sv.AutoScalingSpecification, value); err != nil { return err } - case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4672,12 +4552,10 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.KeyspaceName = ptr.String(jtv) } - case "replicaSpecifications": if err := awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecificationList(&sv.ReplicaSpecifications, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4686,7 +4564,6 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.ResourceArn = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -4695,7 +4572,6 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -4731,17 +4607,14 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value if err := awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(&sv.CapacitySpecification, value); err != nil { return err } - case "clientSideTimestamps": if err := awsAwsjson10_deserializeDocumentClientSideTimestamps(&sv.ClientSideTimestamps, value); err != nil { return err } - case "comment": if err := awsAwsjson10_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -4757,7 +4630,6 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } } - case "defaultTimeToLive": if value != nil { jtv, ok := value.(json.Number) @@ -4770,12 +4642,10 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.DefaultTimeToLive = ptr.Int32(int32(i64)) } - case "encryptionSpecification": if err := awsAwsjson10_deserializeDocumentEncryptionSpecification(&sv.EncryptionSpecification, value); err != nil { return err } - case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4784,17 +4654,14 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.KeyspaceName = ptr.String(jtv) } - case "pointInTimeRecovery": if err := awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(&sv.PointInTimeRecovery, value); err != nil { return err } - case "replicaSpecifications": if err := awsAwsjson10_deserializeDocumentReplicaSpecificationSummaryList(&sv.ReplicaSpecifications, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4803,12 +4670,10 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.ResourceArn = ptr.String(jtv) } - case "schemaDefinition": if err := awsAwsjson10_deserializeDocumentSchemaDefinition(&sv.SchemaDefinition, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4817,7 +4682,6 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.Status = types.TableStatus(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -4826,12 +4690,10 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.TableName = ptr.String(jtv) } - case "ttl": if err := awsAwsjson10_deserializeDocumentTimeToLive(&sv.Ttl, value); err != nil { return err } - default: _, _ = key, value @@ -4867,17 +4729,14 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in if err := awsAwsjson10_deserializeDocumentTypeNameList(&sv.DirectParentTypes, value); err != nil { return err } - case "directReferringTables": if err := awsAwsjson10_deserializeDocumentTableNameList(&sv.DirectReferringTables, value); err != nil { return err } - case "fieldDefinitions": if err := awsAwsjson10_deserializeDocumentFieldList(&sv.FieldDefinitions, value); err != nil { return err } - case "keyspaceArn": if value != nil { jtv, ok := value.(string) @@ -4886,7 +4745,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.KeyspaceArn = ptr.String(jtv) } - case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4895,7 +4753,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.KeyspaceName = ptr.String(jtv) } - case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4911,7 +4768,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } } - case "maxNestingDepth": if value != nil { jtv, ok := value.(json.Number) @@ -4924,7 +4780,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.MaxNestingDepth = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4933,7 +4788,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.Status = types.TypeStatus(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -4942,7 +4796,6 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -4978,7 +4831,6 @@ func awsAwsjson10_deserializeOpDocumentListKeyspacesOutput(v **ListKeyspacesOutp if err := awsAwsjson10_deserializeDocumentKeyspaceSummaryList(&sv.Keyspaces, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4987,7 +4839,6 @@ func awsAwsjson10_deserializeOpDocumentListKeyspacesOutput(v **ListKeyspacesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5027,12 +4878,10 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } - case "tables": if err := awsAwsjson10_deserializeDocumentTableSummaryList(&sv.Tables, value); err != nil { return err } - default: _, _ = key, value @@ -5072,12 +4921,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5117,12 +4964,10 @@ func awsAwsjson10_deserializeOpDocumentListTypesOutput(v **ListTypesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "types": if err := awsAwsjson10_deserializeDocumentTypeNameList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -5162,7 +5007,6 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableOutput(v **RestoreTableOutput } sv.RestoredTableARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5264,7 +5108,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/kinesis/deserializers.go b/service/kinesis/deserializers.go index 64c23978837..70649a83d81 100644 --- a/service/kinesis/deserializers.go +++ b/service/kinesis/deserializers.go @@ -4131,12 +4131,10 @@ func awsAwsjson11_deserializeDocumentChildShard(v **types.ChildShard, value inte if err := awsAwsjson11_deserializeDocumentHashKeyRange(&sv.HashKeyRange, value); err != nil { return err } - case "ParentShards": if err := awsAwsjson11_deserializeDocumentShardIdList(&sv.ParentShards, value); err != nil { return err } - case "ShardId": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4143,6 @@ func awsAwsjson11_deserializeDocumentChildShard(v **types.ChildShard, value inte } sv.ShardId = ptr.String(jtv) } - default: _, _ = key, value @@ -4219,7 +4216,6 @@ func awsAwsjson11_deserializeDocumentHashKeyRange(v **types.HashKeyRange, value } sv.EndingHashKey = ptr.String(jtv) } - case "StartingHashKey": if value != nil { jtv, ok := value.(string) @@ -4228,7 +4224,6 @@ func awsAwsjson11_deserializeDocumentHashKeyRange(v **types.HashKeyRange, value } sv.StartingHashKey = ptr.String(jtv) } - default: _, _ = key, value @@ -4258,15 +4253,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4274,15 +4263,11 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4307,15 +4292,9 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4323,15 +4302,11 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4356,15 +4331,9 @@ func awsAwsjson11_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4372,15 +4341,11 @@ func awsAwsjson11_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4405,15 +4370,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4421,15 +4380,11 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4454,15 +4409,9 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4470,15 +4419,11 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4503,15 +4448,9 @@ func awsAwsjson11_deserializeDocumentKMSOptInRequired(v **types.KMSOptInRequired sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4519,15 +4458,11 @@ func awsAwsjson11_deserializeDocumentKMSOptInRequired(v **types.KMSOptInRequired } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4552,15 +4487,9 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingException(v **types.KMSThrottl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4568,15 +4497,11 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingException(v **types.KMSThrottl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4618,7 +4543,6 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } } - case "Data": if value != nil { jtv, ok := value.(string) @@ -4631,7 +4555,6 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Data = dv } - case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -4640,7 +4563,6 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EncryptionType = types.EncryptionType(jtv) } - case "PartitionKey": if value != nil { jtv, ok := value.(string) @@ -4649,7 +4571,6 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.PartitionKey = ptr.String(jtv) } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -4658,7 +4579,6 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.SequenceNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -4722,15 +4642,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4738,15 +4652,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4771,15 +4681,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4787,15 +4691,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4862,7 +4762,6 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo if err := awsAwsjson11_deserializeDocumentChildShardList(&sv.ChildShards, value); err != nil { return err } - case "ContinuationSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -4871,7 +4770,6 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo } sv.ContinuationSequenceNumber = ptr.String(jtv) } - case "MillisBehindLatest": if value != nil { jtv, ok := value.(json.Number) @@ -4884,12 +4782,10 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo } sv.MillisBehindLatest = ptr.Int64(i64) } - case "Records": if err := awsAwsjson11_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -5511,15 +5407,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5527,15 +5417,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5570,7 +5456,6 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerARN = ptr.String(jtv) } - case "ConsumerCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5586,7 +5471,6 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } } - case "ConsumerName": if value != nil { jtv, ok := value.(string) @@ -5595,7 +5479,6 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerName = ptr.String(jtv) } - case "ConsumerStatus": if value != nil { jtv, ok := value.(string) @@ -5604,7 +5487,6 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerStatus = types.ConsumerStatus(jtv) } - default: _, _ = key, value @@ -5644,7 +5526,6 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerARN = ptr.String(jtv) } - case "ConsumerCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5660,7 +5541,6 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } } - case "ConsumerName": if value != nil { jtv, ok := value.(string) @@ -5669,7 +5549,6 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerName = ptr.String(jtv) } - case "ConsumerStatus": if value != nil { jtv, ok := value.(string) @@ -5678,7 +5557,6 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerStatus = types.ConsumerStatus(jtv) } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -5687,7 +5565,6 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.StreamARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5757,7 +5634,6 @@ func awsAwsjson11_deserializeDocumentEnhancedMetrics(v **types.EnhancedMetrics, if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.ShardLevelMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -5821,15 +5697,9 @@ func awsAwsjson11_deserializeDocumentExpiredIteratorException(v **types.ExpiredI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5837,15 +5707,11 @@ func awsAwsjson11_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5870,15 +5736,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5886,15 +5746,11 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5919,15 +5775,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5935,15 +5785,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5968,15 +5814,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5984,15 +5824,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6053,15 +5889,9 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6069,15 +5899,11 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6112,7 +5938,6 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6121,7 +5946,6 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ErrorMessage = ptr.String(jtv) } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6130,7 +5954,6 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.SequenceNumber = ptr.String(jtv) } - case "ShardId": if value != nil { jtv, ok := value.(string) @@ -6139,7 +5962,6 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ShardId = ptr.String(jtv) } - default: _, _ = key, value @@ -6213,7 +6035,6 @@ func awsAwsjson11_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.EndingSequenceNumber = ptr.String(jtv) } - case "StartingSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6222,7 +6043,6 @@ func awsAwsjson11_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.StartingSequenceNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6262,12 +6082,10 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.AdjacentParentShardId = ptr.String(jtv) } - case "HashKeyRange": if err := awsAwsjson11_deserializeDocumentHashKeyRange(&sv.HashKeyRange, value); err != nil { return err } - case "ParentShardId": if value != nil { jtv, ok := value.(string) @@ -6276,12 +6094,10 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ParentShardId = ptr.String(jtv) } - case "SequenceNumberRange": if err := awsAwsjson11_deserializeDocumentSequenceNumberRange(&sv.SequenceNumberRange, value); err != nil { return err } - case "ShardId": if value != nil { jtv, ok := value.(string) @@ -6290,7 +6106,6 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } - default: _, _ = key, value @@ -6364,12 +6179,10 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.EncryptionType = types.EncryptionType(jtv) } - case "EnhancedMonitoring": if err := awsAwsjson11_deserializeDocumentEnhancedMonitoringList(&sv.EnhancedMonitoring, value); err != nil { return err } - case "HasMoreShards": if value != nil { jtv, ok := value.(bool) @@ -6378,7 +6191,6 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.HasMoreShards = ptr.Bool(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -6387,7 +6199,6 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.KeyId = ptr.String(jtv) } - case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -6400,12 +6211,10 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } - case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6223,6 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamARN = ptr.String(jtv) } - case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6430,12 +6238,10 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } } - case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6444,7 +6250,6 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamName = ptr.String(jtv) } - case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6453,7 +6258,6 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamStatus = types.StreamStatus(jtv) } - default: _, _ = key, value @@ -6497,7 +6301,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.ConsumerCount = ptr.Int32(int32(i64)) } - case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -6506,12 +6309,10 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.EncryptionType = types.EncryptionType(jtv) } - case "EnhancedMonitoring": if err := awsAwsjson11_deserializeDocumentEnhancedMonitoringList(&sv.EnhancedMonitoring, value); err != nil { return err } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6321,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.KeyId = ptr.String(jtv) } - case "OpenShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -6533,7 +6333,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.OpenShardCount = ptr.Int32(int32(i64)) } - case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -6546,7 +6345,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6555,7 +6353,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamARN = ptr.String(jtv) } - case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6571,12 +6368,10 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } } - case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6585,7 +6380,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamName = ptr.String(jtv) } - case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6594,7 +6388,6 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamStatus = types.StreamStatus(jtv) } - default: _, _ = key, value @@ -6634,7 +6427,6 @@ func awsAwsjson11_deserializeDocumentStreamModeDetails(v **types.StreamModeDetai } sv.StreamMode = types.StreamMode(jtv) } - default: _, _ = key, value @@ -6710,7 +6502,6 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamARN = ptr.String(jtv) } - case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6726,12 +6517,10 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } } - case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6740,7 +6529,6 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamName = ptr.String(jtv) } - case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6749,7 +6537,6 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamStatus = types.StreamStatus(jtv) } - default: _, _ = key, value @@ -6823,7 +6610,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6832,7 +6618,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6896,15 +6681,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6912,15 +6691,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6959,7 +6734,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OnDemandStreamCount = ptr.Int32(int32(i64)) } - case "OnDemandStreamCountLimit": if value != nil { jtv, ok := value.(json.Number) @@ -6972,7 +6746,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OnDemandStreamCountLimit = ptr.Int32(int32(i64)) } - case "OpenShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -6985,7 +6758,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OpenShardCount = ptr.Int32(int32(i64)) } - case "ShardLimit": if value != nil { jtv, ok := value.(json.Number) @@ -6998,7 +6770,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.ShardLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7034,7 +6805,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamConsumerOutput(v **Describe if err := awsAwsjson11_deserializeDocumentConsumerDescription(&sv.ConsumerDescription, value); err != nil { return err } - default: _, _ = key, value @@ -7070,7 +6840,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsAwsjson11_deserializeDocumentStreamDescription(&sv.StreamDescription, value); err != nil { return err } - default: _, _ = key, value @@ -7106,7 +6875,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamSummaryOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentStreamDescriptionSummary(&sv.StreamDescriptionSummary, value); err != nil { return err } - default: _, _ = key, value @@ -7142,12 +6910,10 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.CurrentShardLevelMetrics, value); err != nil { return err } - case "DesiredShardLevelMetrics": if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.DesiredShardLevelMetrics, value); err != nil { return err } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -7156,7 +6922,6 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -7165,7 +6930,6 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -7201,12 +6965,10 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.CurrentShardLevelMetrics, value); err != nil { return err } - case "DesiredShardLevelMetrics": if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.DesiredShardLevelMetrics, value); err != nil { return err } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -7215,7 +6977,6 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -7224,7 +6985,6 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -7260,7 +7020,6 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va if err := awsAwsjson11_deserializeDocumentChildShardList(&sv.ChildShards, value); err != nil { return err } - case "MillisBehindLatest": if value != nil { jtv, ok := value.(json.Number) @@ -7273,7 +7032,6 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.MillisBehindLatest = ptr.Int64(i64) } - case "NextShardIterator": if value != nil { jtv, ok := value.(string) @@ -7282,12 +7040,10 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.NextShardIterator = ptr.String(jtv) } - case "Records": if err := awsAwsjson11_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -7327,7 +7083,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -7367,7 +7122,6 @@ func awsAwsjson11_deserializeOpDocumentGetShardIteratorOutput(v **GetShardIterat } sv.ShardIterator = ptr.String(jtv) } - default: _, _ = key, value @@ -7407,12 +7161,10 @@ func awsAwsjson11_deserializeOpDocumentListShardsOutput(v **ListShardsOutput, va } sv.NextToken = ptr.String(jtv) } - case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } - default: _, _ = key, value @@ -7448,7 +7200,6 @@ func awsAwsjson11_deserializeOpDocumentListStreamConsumersOutput(v **ListStreamC if err := awsAwsjson11_deserializeDocumentConsumerList(&sv.Consumers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7457,7 +7208,6 @@ func awsAwsjson11_deserializeOpDocumentListStreamConsumersOutput(v **ListStreamC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7497,7 +7247,6 @@ func awsAwsjson11_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.HasMoreStreams = ptr.Bool(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7506,17 +7255,14 @@ func awsAwsjson11_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } - case "StreamNames": if err := awsAwsjson11_deserializeDocumentStreamNameList(&sv.StreamNames, value); err != nil { return err } - case "StreamSummaries": if err := awsAwsjson11_deserializeDocumentStreamSummaryList(&sv.StreamSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7556,12 +7302,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForStreamOutput(v **ListTagsForSt } sv.HasMoreTags = ptr.Bool(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7601,7 +7345,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.EncryptionType = types.EncryptionType(jtv) } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -7610,7 +7353,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.SequenceNumber = ptr.String(jtv) } - case "ShardId": if value != nil { jtv, ok := value.(string) @@ -7619,7 +7361,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.ShardId = ptr.String(jtv) } - default: _, _ = key, value @@ -7659,7 +7400,6 @@ func awsAwsjson11_deserializeOpDocumentPutRecordsOutput(v **PutRecordsOutput, va } sv.EncryptionType = types.EncryptionType(jtv) } - case "FailedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -7672,12 +7412,10 @@ func awsAwsjson11_deserializeOpDocumentPutRecordsOutput(v **PutRecordsOutput, va } sv.FailedRecordCount = ptr.Int32(int32(i64)) } - case "Records": if err := awsAwsjson11_deserializeDocumentPutRecordsResultEntryList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -7713,7 +7451,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterStreamConsumerOutput(v **Register if err := awsAwsjson11_deserializeDocumentConsumer(&sv.Consumer, value); err != nil { return err } - default: _, _ = key, value @@ -7757,7 +7494,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.CurrentShardCount = ptr.Int32(int32(i64)) } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -7766,7 +7502,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -7775,7 +7510,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.StreamName = ptr.String(jtv) } - case "TargetShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -7788,7 +7522,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.TargetShardCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/kinesisanalytics/deserializers.go b/service/kinesisanalytics/deserializers.go index 6089882691f..b46914fb78e 100644 --- a/service/kinesisanalytics/deserializers.go +++ b/service/kinesisanalytics/deserializers.go @@ -2906,7 +2906,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationCode": if value != nil { jtv, ok := value.(string) @@ -2915,7 +2914,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationCode = ptr.String(jtv) } - case "ApplicationDescription": if value != nil { jtv, ok := value.(string) @@ -2924,7 +2922,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationDescription = ptr.String(jtv) } - case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -2933,7 +2930,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationName = ptr.String(jtv) } - case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2938,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -2955,12 +2950,10 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionId = ptr.Int64(i64) } - case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } - case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2976,12 +2969,10 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } - case "InputDescriptions": if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2997,17 +2988,14 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } - case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } - case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -3081,7 +3069,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -3090,7 +3077,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } - case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -3099,7 +3085,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - default: _, _ = key, value @@ -3139,7 +3124,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.CloudWatchLoggingOptionId = ptr.String(jtv) } - case "LogStreamARN": if value != nil { jtv, ok := value.(string) @@ -3148,7 +3132,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.LogStreamARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3157,7 +3140,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -3221,15 +3203,9 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3237,15 +3213,11 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3270,15 +3242,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3286,15 +3252,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3329,7 +3291,6 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordColumnDelimiter = ptr.String(jtv) } - case "RecordRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -3338,7 +3299,6 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordRowDelimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -3378,7 +3338,6 @@ func awsAwsjson11_deserializeDocumentDestinationSchema(v **types.DestinationSche } sv.RecordFormatType = types.RecordFormatType(jtv) } - default: _, _ = key, value @@ -3450,7 +3409,6 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription if err := awsAwsjson11_deserializeDocumentInAppStreamNames(&sv.InAppStreamNames, value); err != nil { return err } - case "InputId": if value != nil { jtv, ok := value.(string) @@ -3459,37 +3417,30 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.InputId = ptr.String(jtv) } - case "InputParallelism": if err := awsAwsjson11_deserializeDocumentInputParallelism(&sv.InputParallelism, value); err != nil { return err } - case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } - case "InputSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } - case "InputStartingPositionConfiguration": if err := awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(&sv.InputStartingPositionConfiguration, value); err != nil { return err } - case "KinesisFirehoseInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(&sv.KinesisFirehoseInputDescription, value); err != nil { return err } - case "KinesisStreamsInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(&sv.KinesisStreamsInputDescription, value); err != nil { return err } - case "NamePrefix": if value != nil { jtv, ok := value.(string) @@ -3498,7 +3449,6 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.NamePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -3572,7 +3522,6 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3530,6 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -3625,7 +3573,6 @@ func awsAwsjson11_deserializeDocumentInputParallelism(v **types.InputParallelism } sv.Count = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3661,7 +3608,6 @@ func awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(&sv.InputLambdaProcessorDescription, value); err != nil { return err } - default: _, _ = key, value @@ -3701,7 +3647,6 @@ func awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(v **type } sv.InputStartingPosition = types.InputStartingPosition(jtv) } - default: _, _ = key, value @@ -3731,15 +3676,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3747,15 +3686,11 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3780,15 +3715,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3796,15 +3725,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3839,7 +3764,6 @@ func awsAwsjson11_deserializeDocumentJSONMappingParameters(v **types.JSONMapping } sv.RecordRowPath = ptr.String(jtv) } - default: _, _ = key, value @@ -3879,7 +3803,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3888,7 +3811,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -3928,7 +3850,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3937,7 +3858,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -3977,7 +3897,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3986,7 +3905,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4026,7 +3944,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4035,7 +3952,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4075,7 +3991,6 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4084,7 +3999,6 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4114,15 +4028,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4130,15 +4038,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4169,12 +4073,10 @@ func awsAwsjson11_deserializeDocumentMappingParameters(v **types.MappingParamete if err := awsAwsjson11_deserializeDocumentCSVMappingParameters(&sv.CSVMappingParameters, value); err != nil { return err } - case "JSONMappingParameters": if err := awsAwsjson11_deserializeDocumentJSONMappingParameters(&sv.JSONMappingParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4210,22 +4112,18 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti if err := awsAwsjson11_deserializeDocumentDestinationSchema(&sv.DestinationSchema, value); err != nil { return err } - case "KinesisFirehoseOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(&sv.KinesisFirehoseOutputDescription, value); err != nil { return err } - case "KinesisStreamsOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(&sv.KinesisStreamsOutputDescription, value); err != nil { return err } - case "LambdaOutputDescription": if err := awsAwsjson11_deserializeDocumentLambdaOutputDescription(&sv.LambdaOutputDescription, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4234,7 +4132,6 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.Name = ptr.String(jtv) } - case "OutputId": if value != nil { jtv, ok := value.(string) @@ -4243,7 +4140,6 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.OutputId = ptr.String(jtv) } - default: _, _ = key, value @@ -4457,7 +4353,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Mapping = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4466,7 +4361,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Name = ptr.String(jtv) } - case "SqlType": if value != nil { jtv, ok := value.(string) @@ -4475,7 +4369,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.SqlType = ptr.String(jtv) } - default: _, _ = key, value @@ -4545,7 +4438,6 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value if err := awsAwsjson11_deserializeDocumentMappingParameters(&sv.MappingParameters, value); err != nil { return err } - case "RecordFormatType": if value != nil { jtv, ok := value.(string) @@ -4554,7 +4446,6 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value } sv.RecordFormatType = types.RecordFormatType(jtv) } - default: _, _ = key, value @@ -4594,17 +4485,14 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.ReferenceId = ptr.String(jtv) } - case "ReferenceSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.ReferenceSchema, value); err != nil { return err } - case "S3ReferenceDataSourceDescription": if err := awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(&sv.S3ReferenceDataSourceDescription, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -4613,7 +4501,6 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -4677,15 +4564,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4693,15 +4574,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4726,15 +4603,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4742,15 +4613,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4775,15 +4642,9 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4791,15 +4652,11 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4834,7 +4691,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.BucketARN = ptr.String(jtv) } - case "FileKey": if value != nil { jtv, ok := value.(string) @@ -4843,7 +4699,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.FileKey = ptr.String(jtv) } - case "ReferenceRoleARN": if value != nil { jtv, ok := value.(string) @@ -4852,7 +4707,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.ReferenceRoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4882,15 +4736,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4898,15 +4746,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4937,7 +4781,6 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value if err := awsAwsjson11_deserializeDocumentRecordColumns(&sv.RecordColumns, value); err != nil { return err } - case "RecordEncoding": if value != nil { jtv, ok := value.(string) @@ -4946,12 +4789,10 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value } sv.RecordEncoding = ptr.String(jtv) } - case "RecordFormat": if err := awsAwsjson11_deserializeDocumentRecordFormat(&sv.RecordFormat, value); err != nil { return err } - default: _, _ = key, value @@ -4991,7 +4832,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5000,7 +4840,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5064,15 +4903,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5080,15 +4913,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5113,15 +4942,9 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5129,25 +4952,19 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } sv.Message = ptr.String(jtv) } - case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } - case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5172,15 +4989,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5188,15 +4999,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5382,7 +5189,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationSummary(&sv.ApplicationSummary, value); err != nil { return err } - default: _, _ = key, value @@ -5573,7 +5379,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } - default: _, _ = key, value @@ -5609,22 +5414,18 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInputSchemaOutput(v **DiscoverInp if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } - case "ParsedInputRecords": if err := awsAwsjson11_deserializeDocumentParsedInputRecords(&sv.ParsedInputRecords, value); err != nil { return err } - case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } - case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } - default: _, _ = key, value @@ -5660,7 +5461,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } - case "HasMoreApplications": if value != nil { jtv, ok := value.(bool) @@ -5669,7 +5469,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.HasMoreApplications = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5705,7 +5504,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/kinesisanalyticsv2/deserializers.go b/service/kinesisanalyticsv2/deserializers.go index 65146cb59a4..f9569b685a1 100644 --- a/service/kinesisanalyticsv2/deserializers.go +++ b/service/kinesisanalyticsv2/deserializers.go @@ -4548,7 +4548,6 @@ func awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentCodeContentDescription(&sv.CodeContentDescription, value); err != nil { return err } - case "CodeContentType": if value != nil { jtv, ok := value.(string) @@ -4557,7 +4556,6 @@ func awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(v * } sv.CodeContentType = types.CodeContentType(jtv) } - default: _, _ = key, value @@ -4593,47 +4591,38 @@ func awsAwsjson11_deserializeDocumentApplicationConfigurationDescription(v **typ if err := awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(&sv.ApplicationCodeConfigurationDescription, value); err != nil { return err } - case "ApplicationSnapshotConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationSnapshotConfigurationDescription(&sv.ApplicationSnapshotConfigurationDescription, value); err != nil { return err } - case "ApplicationSystemRollbackConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationSystemRollbackConfigurationDescription(&sv.ApplicationSystemRollbackConfigurationDescription, value); err != nil { return err } - case "EnvironmentPropertyDescriptions": if err := awsAwsjson11_deserializeDocumentEnvironmentPropertyDescriptions(&sv.EnvironmentPropertyDescriptions, value); err != nil { return err } - case "FlinkApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(&sv.FlinkApplicationConfigurationDescription, value); err != nil { return err } - case "RunConfigurationDescription": if err := awsAwsjson11_deserializeDocumentRunConfigurationDescription(&sv.RunConfigurationDescription, value); err != nil { return err } - case "SqlApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentSqlApplicationConfigurationDescription(&sv.SqlApplicationConfigurationDescription, value); err != nil { return err } - case "VpcConfigurationDescriptions": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescriptions(&sv.VpcConfigurationDescriptions, value); err != nil { return err } - case "ZeppelinApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentZeppelinApplicationConfigurationDescription(&sv.ZeppelinApplicationConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -4673,12 +4662,10 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationConfigurationDescription(&sv.ApplicationConfigurationDescription, value); err != nil { return err } - case "ApplicationDescription": if value != nil { jtv, ok := value.(string) @@ -4687,12 +4674,10 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationDescription = ptr.String(jtv) } - case "ApplicationMaintenanceConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescription(&sv.ApplicationMaintenanceConfigurationDescription, value); err != nil { return err } - case "ApplicationMode": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4686,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationMode = types.ApplicationMode(jtv) } - case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -4710,7 +4694,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationName = ptr.String(jtv) } - case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -4719,7 +4702,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "ApplicationVersionCreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4735,7 +4717,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -4748,7 +4729,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionId = ptr.Int64(i64) } - case "ApplicationVersionRolledBackFrom": if value != nil { jtv, ok := value.(json.Number) @@ -4761,7 +4741,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionRolledBackFrom = ptr.Int64(i64) } - case "ApplicationVersionRolledBackTo": if value != nil { jtv, ok := value.(json.Number) @@ -4774,7 +4753,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionRolledBackTo = ptr.Int64(i64) } - case "ApplicationVersionUpdatedFrom": if value != nil { jtv, ok := value.(json.Number) @@ -4787,12 +4765,10 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionUpdatedFrom = ptr.Int64(i64) } - case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } - case "ConditionalToken": if value != nil { jtv, ok := value.(string) @@ -4801,7 +4777,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ConditionalToken = ptr.String(jtv) } - case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4817,7 +4792,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4833,7 +4807,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } - case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -4842,7 +4815,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } - case "ServiceExecutionRole": if value != nil { jtv, ok := value.(string) @@ -4851,7 +4823,6 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ServiceExecutionRole = ptr.String(jtv) } - default: _, _ = key, value @@ -4891,7 +4862,6 @@ func awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescript } sv.ApplicationMaintenanceWindowEndTime = ptr.String(jtv) } - case "ApplicationMaintenanceWindowStartTime": if value != nil { jtv, ok := value.(string) @@ -4900,7 +4870,6 @@ func awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescript } sv.ApplicationMaintenanceWindowStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -4947,7 +4916,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -4956,7 +4924,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.Operation = ptr.String(jtv) } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -4965,7 +4932,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.OperationId = ptr.String(jtv) } - case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -4974,7 +4940,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.OperationStatus = types.OperationStatus(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -4990,7 +4955,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } } - default: _, _ = key, value @@ -5026,7 +4990,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A if err := awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(&sv.ApplicationVersionChangeDetails, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5042,7 +5005,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -5051,12 +5013,10 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } sv.Operation = ptr.String(jtv) } - case "OperationFailureDetails": if err := awsAwsjson11_deserializeDocumentOperationFailureDetails(&sv.OperationFailureDetails, value); err != nil { return err } - case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -5065,7 +5025,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } sv.OperationStatus = types.OperationStatus(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5081,7 +5040,6 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } } - default: _, _ = key, value @@ -5155,7 +5113,6 @@ func awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(v **types.A } sv.ApplicationRestoreType = types.ApplicationRestoreType(jtv) } - case "SnapshotName": if value != nil { jtv, ok := value.(string) @@ -5164,7 +5121,6 @@ func awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(v **types.A } sv.SnapshotName = ptr.String(jtv) } - default: _, _ = key, value @@ -5204,7 +5160,6 @@ func awsAwsjson11_deserializeDocumentApplicationSnapshotConfigurationDescription } sv.SnapshotsEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5278,7 +5233,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationMode": if value != nil { jtv, ok := value.(string) @@ -5287,7 +5241,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationMode = types.ApplicationMode(jtv) } - case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -5296,7 +5249,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } - case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -5305,7 +5257,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -5318,7 +5269,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationVersionId = ptr.Int64(i64) } - case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -5327,7 +5277,6 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } - default: _, _ = key, value @@ -5367,7 +5316,6 @@ func awsAwsjson11_deserializeDocumentApplicationSystemRollbackConfigurationDescr } sv.RollbackEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5411,7 +5359,6 @@ func awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(v **types.A } sv.ApplicationVersionUpdatedFrom = ptr.Int64(i64) } - case "ApplicationVersionUpdatedTo": if value != nil { jtv, ok := value.(json.Number) @@ -5424,7 +5371,6 @@ func awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(v **types.A } sv.ApplicationVersionUpdatedTo = ptr.Int64(i64) } - default: _, _ = key, value @@ -5498,7 +5444,6 @@ func awsAwsjson11_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -5511,7 +5456,6 @@ func awsAwsjson11_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationVersionId = ptr.Int64(i64) } - default: _, _ = key, value @@ -5547,7 +5491,6 @@ func awsAwsjson11_deserializeDocumentCatalogConfigurationDescription(v **types.C if err := awsAwsjson11_deserializeDocumentGlueDataCatalogConfigurationDescription(&sv.GlueDataCatalogConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -5587,7 +5530,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.CheckpointingEnabled = ptr.Bool(jtv) } - case "CheckpointInterval": if value != nil { jtv, ok := value.(json.Number) @@ -5600,7 +5542,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.CheckpointInterval = ptr.Int64(i64) } - case "ConfigurationType": if value != nil { jtv, ok := value.(string) @@ -5609,7 +5550,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.ConfigurationType = types.ConfigurationType(jtv) } - case "MinPauseBetweenCheckpoints": if value != nil { jtv, ok := value.(json.Number) @@ -5622,7 +5562,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.MinPauseBetweenCheckpoints = ptr.Int64(i64) } - default: _, _ = key, value @@ -5662,7 +5601,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.CloudWatchLoggingOptionId = ptr.String(jtv) } - case "LogStreamARN": if value != nil { jtv, ok := value.(string) @@ -5671,7 +5609,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.LogStreamARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5680,7 +5617,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5754,7 +5690,6 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.CodeMD5 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -5767,12 +5702,10 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.CodeSize = ptr.Int64(i64) } - case "S3ApplicationCodeLocationDescription": if err := awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(&sv.S3ApplicationCodeLocationDescription, value); err != nil { return err } - case "TextContent": if value != nil { jtv, ok := value.(string) @@ -5781,7 +5714,6 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.TextContent = ptr.String(jtv) } - default: _, _ = key, value @@ -5811,15 +5743,9 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5827,15 +5753,11 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5860,15 +5782,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5876,15 +5792,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5919,7 +5831,6 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordColumnDelimiter = ptr.String(jtv) } - case "RecordRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -5928,7 +5839,6 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordRowDelimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -5968,17 +5878,14 @@ func awsAwsjson11_deserializeDocumentCustomArtifactConfigurationDescription(v ** } sv.ArtifactType = types.ArtifactType(jtv) } - case "MavenReferenceDescription": if err := awsAwsjson11_deserializeDocumentMavenReference(&sv.MavenReferenceDescription, value); err != nil { return err } - case "S3ContentLocationDescription": if err := awsAwsjson11_deserializeDocumentS3ContentLocation(&sv.S3ContentLocationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6048,7 +5955,6 @@ func awsAwsjson11_deserializeDocumentDeployAsApplicationConfigurationDescription if err := awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(&sv.S3ContentLocationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6088,7 +5994,6 @@ func awsAwsjson11_deserializeDocumentDestinationSchema(v **types.DestinationSche } sv.RecordFormatType = types.RecordFormatType(jtv) } - default: _, _ = key, value @@ -6124,7 +6029,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentPropertyDescriptions(v **types.E if err := awsAwsjson11_deserializeDocumentPropertyGroups(&sv.PropertyGroupDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -6164,7 +6068,6 @@ func awsAwsjson11_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorString = ptr.String(jtv) } - default: _, _ = key, value @@ -6200,7 +6103,6 @@ func awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(v if err := awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(&sv.CheckpointConfigurationDescription, value); err != nil { return err } - case "JobPlanDescription": if value != nil { jtv, ok := value.(string) @@ -6209,17 +6111,14 @@ func awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(v } sv.JobPlanDescription = ptr.String(jtv) } - case "MonitoringConfigurationDescription": if err := awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(&sv.MonitoringConfigurationDescription, value); err != nil { return err } - case "ParallelismConfigurationDescription": if err := awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(&sv.ParallelismConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6259,7 +6158,6 @@ func awsAwsjson11_deserializeDocumentFlinkRunConfiguration(v **types.FlinkRunCon } sv.AllowNonRestoredState = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6299,7 +6197,6 @@ func awsAwsjson11_deserializeDocumentGlueDataCatalogConfigurationDescription(v * } sv.DatabaseARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6371,7 +6268,6 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription if err := awsAwsjson11_deserializeDocumentInAppStreamNames(&sv.InAppStreamNames, value); err != nil { return err } - case "InputId": if value != nil { jtv, ok := value.(string) @@ -6380,37 +6276,30 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.InputId = ptr.String(jtv) } - case "InputParallelism": if err := awsAwsjson11_deserializeDocumentInputParallelism(&sv.InputParallelism, value); err != nil { return err } - case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } - case "InputSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } - case "InputStartingPositionConfiguration": if err := awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(&sv.InputStartingPositionConfiguration, value); err != nil { return err } - case "KinesisFirehoseInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(&sv.KinesisFirehoseInputDescription, value); err != nil { return err } - case "KinesisStreamsInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(&sv.KinesisStreamsInputDescription, value); err != nil { return err } - case "NamePrefix": if value != nil { jtv, ok := value.(string) @@ -6419,7 +6308,6 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.NamePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -6493,7 +6381,6 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6389,6 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6546,7 +6432,6 @@ func awsAwsjson11_deserializeDocumentInputParallelism(v **types.InputParallelism } sv.Count = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6582,7 +6467,6 @@ func awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(&sv.InputLambdaProcessorDescription, value); err != nil { return err } - default: _, _ = key, value @@ -6622,7 +6506,6 @@ func awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(v **type } sv.InputStartingPosition = types.InputStartingPosition(jtv) } - default: _, _ = key, value @@ -6652,15 +6535,9 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6668,15 +6545,11 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6701,15 +6574,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6717,15 +6584,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6750,15 +6613,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6766,15 +6623,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6809,7 +6662,6 @@ func awsAwsjson11_deserializeDocumentJSONMappingParameters(v **types.JSONMapping } sv.RecordRowPath = ptr.String(jtv) } - default: _, _ = key, value @@ -6849,7 +6701,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6858,7 +6709,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6898,7 +6748,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6907,7 +6756,6 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6947,7 +6795,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6956,7 +6803,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6996,7 +6842,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -7005,7 +6850,6 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -7045,7 +6889,6 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.ResourceARN = ptr.String(jtv) } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -7054,7 +6897,6 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.RoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -7084,15 +6926,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7100,15 +6936,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7139,12 +6971,10 @@ func awsAwsjson11_deserializeDocumentMappingParameters(v **types.MappingParamete if err := awsAwsjson11_deserializeDocumentCSVMappingParameters(&sv.CSVMappingParameters, value); err != nil { return err } - case "JSONMappingParameters": if err := awsAwsjson11_deserializeDocumentJSONMappingParameters(&sv.JSONMappingParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7184,7 +7014,6 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.ArtifactId = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -7193,7 +7022,6 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.GroupId = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -7202,7 +7030,6 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7242,7 +7069,6 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.ConfigurationType = types.ConfigurationType(jtv) } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -7251,7 +7077,6 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.LogLevel = types.LogLevel(jtv) } - case "MetricsLevel": if value != nil { jtv, ok := value.(string) @@ -7260,7 +7085,6 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.MetricsLevel = types.MetricsLevel(jtv) } - default: _, _ = key, value @@ -7296,7 +7120,6 @@ func awsAwsjson11_deserializeDocumentOperationFailureDetails(v **types.Operation if err := awsAwsjson11_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "RollbackOperationId": if value != nil { jtv, ok := value.(string) @@ -7305,7 +7128,6 @@ func awsAwsjson11_deserializeDocumentOperationFailureDetails(v **types.Operation } sv.RollbackOperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7341,22 +7163,18 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti if err := awsAwsjson11_deserializeDocumentDestinationSchema(&sv.DestinationSchema, value); err != nil { return err } - case "KinesisFirehoseOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(&sv.KinesisFirehoseOutputDescription, value); err != nil { return err } - case "KinesisStreamsOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(&sv.KinesisStreamsOutputDescription, value); err != nil { return err } - case "LambdaOutputDescription": if err := awsAwsjson11_deserializeDocumentLambdaOutputDescription(&sv.LambdaOutputDescription, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7365,7 +7183,6 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.Name = ptr.String(jtv) } - case "OutputId": if value != nil { jtv, ok := value.(string) @@ -7374,7 +7191,6 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.OutputId = ptr.String(jtv) } - default: _, _ = key, value @@ -7448,7 +7264,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.AutoScalingEnabled = ptr.Bool(jtv) } - case "ConfigurationType": if value != nil { jtv, ok := value.(string) @@ -7457,7 +7272,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.ConfigurationType = types.ConfigurationType(jtv) } - case "CurrentParallelism": if value != nil { jtv, ok := value.(json.Number) @@ -7470,7 +7284,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.CurrentParallelism = ptr.Int32(int32(i64)) } - case "Parallelism": if value != nil { jtv, ok := value.(json.Number) @@ -7483,7 +7296,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.Parallelism = ptr.Int32(int32(i64)) } - case "ParallelismPerKPU": if value != nil { jtv, ok := value.(json.Number) @@ -7496,7 +7308,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.ParallelismPerKPU = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7640,12 +7451,10 @@ func awsAwsjson11_deserializeDocumentPropertyGroup(v **types.PropertyGroup, valu } sv.PropertyGroupId = ptr.String(jtv) } - case "PropertyMap": if err := awsAwsjson11_deserializeDocumentPropertyMap(&sv.PropertyMap, value); err != nil { return err } - default: _, _ = key, value @@ -7791,7 +7600,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Mapping = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7800,7 +7608,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Name = ptr.String(jtv) } - case "SqlType": if value != nil { jtv, ok := value.(string) @@ -7809,7 +7616,6 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.SqlType = ptr.String(jtv) } - default: _, _ = key, value @@ -7879,7 +7685,6 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value if err := awsAwsjson11_deserializeDocumentMappingParameters(&sv.MappingParameters, value); err != nil { return err } - case "RecordFormatType": if value != nil { jtv, ok := value.(string) @@ -7888,7 +7693,6 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value } sv.RecordFormatType = types.RecordFormatType(jtv) } - default: _, _ = key, value @@ -7928,17 +7732,14 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.ReferenceId = ptr.String(jtv) } - case "ReferenceSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.ReferenceSchema, value); err != nil { return err } - case "S3ReferenceDataSourceDescription": if err := awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(&sv.S3ReferenceDataSourceDescription, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -7947,7 +7748,6 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -8011,15 +7811,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8027,15 +7821,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8060,15 +7850,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8076,15 +7860,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8109,15 +7889,9 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8125,15 +7899,11 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8164,12 +7934,10 @@ func awsAwsjson11_deserializeDocumentRunConfigurationDescription(v **types.RunCo if err := awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(&sv.ApplicationRestoreConfigurationDescription, value); err != nil { return err } - case "FlinkRunConfigurationDescription": if err := awsAwsjson11_deserializeDocumentFlinkRunConfiguration(&sv.FlinkRunConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -8209,7 +7977,6 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.BucketARN = ptr.String(jtv) } - case "FileKey": if value != nil { jtv, ok := value.(string) @@ -8218,7 +7985,6 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.FileKey = ptr.String(jtv) } - case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -8227,7 +7993,6 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.ObjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8267,7 +8032,6 @@ func awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(v **types. } sv.BasePath = ptr.String(jtv) } - case "BucketARN": if value != nil { jtv, ok := value.(string) @@ -8276,7 +8040,6 @@ func awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(v **types. } sv.BucketARN = ptr.String(jtv) } - default: _, _ = key, value @@ -8316,7 +8079,6 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.BucketARN = ptr.String(jtv) } - case "FileKey": if value != nil { jtv, ok := value.(string) @@ -8325,7 +8087,6 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.FileKey = ptr.String(jtv) } - case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -8334,7 +8095,6 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.ObjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8374,7 +8134,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.BucketARN = ptr.String(jtv) } - case "FileKey": if value != nil { jtv, ok := value.(string) @@ -8383,7 +8142,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.FileKey = ptr.String(jtv) } - case "ReferenceRoleARN": if value != nil { jtv, ok := value.(string) @@ -8392,7 +8150,6 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.ReferenceRoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -8458,15 +8215,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8474,15 +8225,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8521,7 +8268,6 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.ApplicationVersionId = ptr.Int64(i64) } - case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -8530,7 +8276,6 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } - case "SnapshotCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -8546,7 +8291,6 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } } - case "SnapshotName": if value != nil { jtv, ok := value.(string) @@ -8555,7 +8299,6 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.SnapshotName = ptr.String(jtv) } - case "SnapshotStatus": if value != nil { jtv, ok := value.(string) @@ -8564,7 +8307,6 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.SnapshotStatus = types.SnapshotStatus(jtv) } - default: _, _ = key, value @@ -8634,7 +8376,6 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value if err := awsAwsjson11_deserializeDocumentRecordColumns(&sv.RecordColumns, value); err != nil { return err } - case "RecordEncoding": if value != nil { jtv, ok := value.(string) @@ -8643,12 +8384,10 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value } sv.RecordEncoding = ptr.String(jtv) } - case "RecordFormat": if err := awsAwsjson11_deserializeDocumentRecordFormat(&sv.RecordFormat, value); err != nil { return err } - default: _, _ = key, value @@ -8684,17 +8423,14 @@ func awsAwsjson11_deserializeDocumentSqlApplicationConfigurationDescription(v ** if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } - case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } - case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -8770,7 +8506,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8779,7 +8514,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8843,15 +8577,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8859,15 +8587,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8892,15 +8616,9 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8908,25 +8626,19 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } sv.Message = ptr.String(jtv) } - case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } - case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8951,15 +8663,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8967,15 +8673,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9006,12 +8708,10 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9020,7 +8720,6 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcConfigurationId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9029,7 +8728,6 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9099,22 +8797,18 @@ func awsAwsjson11_deserializeDocumentZeppelinApplicationConfigurationDescription if err := awsAwsjson11_deserializeDocumentCatalogConfigurationDescription(&sv.CatalogConfigurationDescription, value); err != nil { return err } - case "CustomArtifactsConfigurationDescription": if err := awsAwsjson11_deserializeDocumentCustomArtifactsConfigurationDescriptionList(&sv.CustomArtifactsConfigurationDescription, value); err != nil { return err } - case "DeployAsApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentDeployAsApplicationConfigurationDescription(&sv.DeployAsApplicationConfigurationDescription, value); err != nil { return err } - case "MonitoringConfigurationDescription": if err := awsAwsjson11_deserializeDocumentZeppelinMonitoringConfigurationDescription(&sv.MonitoringConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -9154,7 +8848,6 @@ func awsAwsjson11_deserializeDocumentZeppelinMonitoringConfigurationDescription( } sv.LogLevel = types.LogLevel(jtv) } - default: _, _ = key, value @@ -9194,7 +8887,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9207,12 +8899,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.ApplicationVersionId = ptr.Int64(i64) } - case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9221,7 +8911,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -9261,7 +8950,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputOutput(v **AddApplicat } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9274,12 +8962,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputOutput(v **AddApplicat } sv.ApplicationVersionId = ptr.Int64(i64) } - case "InputDescriptions": if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -9319,7 +9005,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9332,7 +9017,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.ApplicationVersionId = ptr.Int64(i64) } - case "InputId": if value != nil { jtv, ok := value.(string) @@ -9341,12 +9025,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.InputId = ptr.String(jtv) } - case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -9386,7 +9068,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationOutputOutput(v **AddApplica } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9399,12 +9080,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationOutputOutput(v **AddApplica } sv.ApplicationVersionId = ptr.Int64(i64) } - case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -9444,7 +9123,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationReferenceDataSourceOutput(v } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9457,12 +9135,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationReferenceDataSourceOutput(v } sv.ApplicationVersionId = ptr.Int64(i64) } - case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -9502,7 +9178,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9515,7 +9190,6 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.ApplicationVersionId = ptr.Int64(i64) } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9524,12 +9198,10 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.OperationId = ptr.String(jtv) } - case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -9565,7 +9237,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9605,7 +9276,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationPresignedUrlOutput(v **C } sv.AuthorizedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9676,7 +9346,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9689,12 +9358,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.ApplicationVersionId = ptr.Int64(i64) } - case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9703,7 +9370,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -9743,7 +9409,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationInputProcessingConfigura } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9756,7 +9421,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationInputProcessingConfigura } sv.ApplicationVersionId = ptr.Int64(i64) } - default: _, _ = key, value @@ -9827,7 +9491,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationOutputOutput(v **DeleteA } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9840,7 +9503,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationOutputOutput(v **DeleteA } sv.ApplicationVersionId = ptr.Int64(i64) } - default: _, _ = key, value @@ -9880,7 +9542,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationReferenceDataSourceOutpu } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9893,7 +9554,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationReferenceDataSourceOutpu } sv.ApplicationVersionId = ptr.Int64(i64) } - default: _, _ = key, value @@ -9964,7 +9624,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9977,7 +9636,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.ApplicationVersionId = ptr.Int64(i64) } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9986,7 +9644,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -10022,7 +9679,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOperationOutput(v **De if err := awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(&sv.ApplicationOperationInfoDetails, value); err != nil { return err } - default: _, _ = key, value @@ -10058,7 +9714,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } - default: _, _ = key, value @@ -10094,7 +9749,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationSnapshotOutput(v **Des if err := awsAwsjson11_deserializeDocumentSnapshotDetails(&sv.SnapshotDetails, value); err != nil { return err } - default: _, _ = key, value @@ -10130,7 +9784,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationVersionOutput(v **Desc if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationVersionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -10166,22 +9819,18 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInputSchemaOutput(v **DiscoverInp if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } - case "ParsedInputRecords": if err := awsAwsjson11_deserializeDocumentParsedInputRecords(&sv.ParsedInputRecords, value); err != nil { return err } - case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } - case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } - default: _, _ = key, value @@ -10217,7 +9866,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationOperationsOutput(v **ListA if err := awsAwsjson11_deserializeDocumentApplicationOperationInfoList(&sv.ApplicationOperationInfoList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10226,7 +9874,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationOperationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10266,12 +9913,10 @@ func awsAwsjson11_deserializeOpDocumentListApplicationSnapshotsOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } - case "SnapshotSummaries": if err := awsAwsjson11_deserializeDocumentSnapshotSummaries(&sv.SnapshotSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -10307,7 +9952,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10316,7 +9960,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10352,7 +9995,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp if err := awsAwsjson11_deserializeDocumentApplicationVersionSummaries(&sv.ApplicationVersionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10361,7 +10003,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10397,7 +10038,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10433,7 +10073,6 @@ func awsAwsjson11_deserializeOpDocumentRollbackApplicationOutput(v **RollbackApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -10442,7 +10081,6 @@ func awsAwsjson11_deserializeOpDocumentRollbackApplicationOutput(v **RollbackApp } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -10482,7 +10120,6 @@ func awsAwsjson11_deserializeOpDocumentStartApplicationOutput(v **StartApplicati } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -10522,7 +10159,6 @@ func awsAwsjson11_deserializeOpDocumentStopApplicationOutput(v **StopApplication } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -10624,12 +10260,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationMaintenanceConfiguration } sv.ApplicationARN = ptr.String(jtv) } - case "ApplicationMaintenanceConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescription(&sv.ApplicationMaintenanceConfigurationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -10665,7 +10299,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -10674,7 +10307,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/kinesisvideo/deserializers.go b/service/kinesisvideo/deserializers.go index de36e62cd8a..69a8b81b0fb 100644 --- a/service/kinesisvideo/deserializers.go +++ b/service/kinesisvideo/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalingChannelOutput(v **CreateSi } sv.ChannelARN = ptr.String(jtv) } - default: _, _ = key, value @@ -364,7 +363,6 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamARN = ptr.String(jtv) } - default: _, _ = key, value @@ -845,17 +843,14 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } } - case "EdgeAgentStatus": if err := awsRestjson1_deserializeDocumentEdgeAgentStatus(&sv.EdgeAgentStatus, value); err != nil { return err } - case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } - case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -864,7 +859,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.FailedStatusDetails = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -880,7 +874,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -889,7 +882,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -898,7 +890,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.StreamName = ptr.String(jtv) } - case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -907,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.SyncStatus = types.SyncStatus(jtv) } - default: _, _ = key, value @@ -1068,7 +1058,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImageGenerationConfigurationOutpu if err := awsRestjson1_deserializeDocumentImageGenerationConfiguration(&sv.ImageGenerationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1229,7 +1218,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMappedResourceConfigurationOutput if err := awsRestjson1_deserializeDocumentMappedResourceConfigurationList(&sv.MappedResourceConfigurationList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1238,7 +1226,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMappedResourceConfigurationOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1399,7 +1386,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMediaStorageConfigurationOutput(v if err := awsRestjson1_deserializeDocumentMediaStorageConfiguration(&sv.MediaStorageConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1560,7 +1546,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationConfigurationOutput(v if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1721,7 +1706,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSignalingChannelOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelInfo(&sv.ChannelInfo, value); err != nil { return err } - default: _, _ = key, value @@ -1882,7 +1866,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsRestjson1_deserializeDocumentStreamInfo(&sv.StreamInfo, value); err != nil { return err } - default: _, _ = key, value @@ -2047,7 +2030,6 @@ func awsRestjson1_deserializeOpDocumentGetDataEndpointOutput(v **GetDataEndpoint } sv.DataEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -2211,7 +2193,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalingChannelEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentResourceEndpointList(&sv.ResourceEndpointList, value); err != nil { return err } - default: _, _ = key, value @@ -2369,7 +2350,6 @@ func awsRestjson1_deserializeOpDocumentListEdgeAgentConfigurationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfigList(&sv.EdgeConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2378,7 +2358,6 @@ func awsRestjson1_deserializeOpDocumentListEdgeAgentConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2536,7 +2515,6 @@ func awsRestjson1_deserializeOpDocumentListSignalingChannelsOutput(v **ListSigna if err := awsRestjson1_deserializeDocumentChannelInfoList(&sv.ChannelInfoList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2545,7 +2523,6 @@ func awsRestjson1_deserializeOpDocumentListSignalingChannelsOutput(v **ListSigna } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2704,12 +2681,10 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } - case "StreamInfoList": if err := awsRestjson1_deserializeDocumentStreamInfoList(&sv.StreamInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -2874,12 +2849,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3047,12 +3020,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForStreamOutput(v **ListTagsForSt } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3230,12 +3201,10 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } } - case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } - case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -3244,7 +3213,6 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.FailedStatusDetails = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3260,7 +3228,6 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -3269,7 +3236,6 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3278,7 +3244,6 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.StreamName = ptr.String(jtv) } - case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -3287,7 +3252,6 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.SyncStatus = types.SyncStatus(jtv) } - default: _, _ = key, value @@ -4875,15 +4839,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4891,15 +4849,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4924,15 +4878,9 @@ func awsRestjson1_deserializeDocumentAccountChannelLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4940,15 +4888,11 @@ func awsRestjson1_deserializeDocumentAccountChannelLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4973,15 +4917,9 @@ func awsRestjson1_deserializeDocumentAccountStreamLimitExceededException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4989,15 +4927,11 @@ func awsRestjson1_deserializeDocumentAccountStreamLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5032,7 +4966,6 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelARN = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -5041,7 +4974,6 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelName = ptr.String(jtv) } - case "ChannelStatus": if value != nil { jtv, ok := value.(string) @@ -5050,7 +4982,6 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelStatus = types.Status(jtv) } - case "ChannelType": if value != nil { jtv, ok := value.(string) @@ -5059,7 +4990,6 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelType = types.ChannelType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5075,12 +5005,10 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } } - case "SingleMasterConfiguration": if err := awsRestjson1_deserializeDocumentSingleMasterConfiguration(&sv.SingleMasterConfiguration, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -5089,7 +5017,6 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5153,15 +5080,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5169,15 +5090,11 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5212,7 +5129,6 @@ func awsRestjson1_deserializeDocumentDeletionConfig(v **types.DeletionConfig, va } sv.DeleteAfterUpload = ptr.Bool(jtv) } - case "EdgeRetentionInHours": if value != nil { jtv, ok := value.(json.Number) @@ -5225,12 +5141,10 @@ func awsRestjson1_deserializeDocumentDeletionConfig(v **types.DeletionConfig, va } sv.EdgeRetentionInHours = ptr.Int32(int32(i64)) } - case "LocalSizeConfig": if err := awsRestjson1_deserializeDocumentLocalSizeConfig(&sv.LocalSizeConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5260,15 +5174,9 @@ func awsRestjson1_deserializeDocumentDeviceStreamLimitExceededException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5276,15 +5184,11 @@ func awsRestjson1_deserializeDocumentDeviceStreamLimitExceededException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5315,12 +5219,10 @@ func awsRestjson1_deserializeDocumentEdgeAgentStatus(v **types.EdgeAgentStatus, if err := awsRestjson1_deserializeDocumentLastRecorderStatus(&sv.LastRecorderStatus, value); err != nil { return err } - case "LastUploaderStatus": if err := awsRestjson1_deserializeDocumentLastUploaderStatus(&sv.LastUploaderStatus, value); err != nil { return err } - default: _, _ = key, value @@ -5356,7 +5258,6 @@ func awsRestjson1_deserializeDocumentEdgeConfig(v **types.EdgeConfig, value inte if err := awsRestjson1_deserializeDocumentDeletionConfig(&sv.DeletionConfig, value); err != nil { return err } - case "HubDeviceArn": if value != nil { jtv, ok := value.(string) @@ -5365,17 +5266,14 @@ func awsRestjson1_deserializeDocumentEdgeConfig(v **types.EdgeConfig, value inte } sv.HubDeviceArn = ptr.String(jtv) } - case "RecorderConfig": if err := awsRestjson1_deserializeDocumentRecorderConfig(&sv.RecorderConfig, value); err != nil { return err } - case "UploaderConfig": if err := awsRestjson1_deserializeDocumentUploaderConfig(&sv.UploaderConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5447,7 +5345,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag if err := awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -5456,12 +5353,10 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.Format = types.Format(jtv) } - case "FormatConfig": if err := awsRestjson1_deserializeDocumentFormatConfig(&sv.FormatConfig, value); err != nil { return err } - case "HeightPixels": if value != nil { jtv, ok := value.(json.Number) @@ -5474,7 +5369,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.HeightPixels = ptr.Int32(int32(i64)) } - case "ImageSelectorType": if value != nil { jtv, ok := value.(string) @@ -5483,7 +5377,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.ImageSelectorType = types.ImageSelectorType(jtv) } - case "SamplingInterval": if value != nil { jtv, ok := value.(json.Number) @@ -5496,7 +5389,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.SamplingInterval = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5505,7 +5397,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.Status = types.ConfigurationStatus(jtv) } - case "WidthPixels": if value != nil { jtv, ok := value.(json.Number) @@ -5518,7 +5409,6 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.WidthPixels = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5558,7 +5448,6 @@ func awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(v **types. } sv.DestinationRegion = ptr.String(jtv) } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -5567,7 +5456,6 @@ func awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(v **types. } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -5597,15 +5485,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5613,15 +5495,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5646,15 +5524,9 @@ func awsRestjson1_deserializeDocumentInvalidDeviceException(v **types.InvalidDev sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5662,15 +5534,11 @@ func awsRestjson1_deserializeDocumentInvalidDeviceException(v **types.InvalidDev } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5695,15 +5563,9 @@ func awsRestjson1_deserializeDocumentInvalidResourceFormatException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5711,15 +5573,11 @@ func awsRestjson1_deserializeDocumentInvalidResourceFormatException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5754,7 +5612,6 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } sv.JobStatusDetails = ptr.String(jtv) } - case "LastCollectedTime": if value != nil { switch jtv := value.(type) { @@ -5770,7 +5627,6 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5786,7 +5642,6 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } } - case "RecorderStatus": if value != nil { jtv, ok := value.(string) @@ -5795,7 +5650,6 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } sv.RecorderStatus = types.RecorderStatus(jtv) } - default: _, _ = key, value @@ -5835,7 +5689,6 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } sv.JobStatusDetails = ptr.String(jtv) } - case "LastCollectedTime": if value != nil { switch jtv := value.(type) { @@ -5851,7 +5704,6 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5867,7 +5719,6 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } } - case "UploaderStatus": if value != nil { jtv, ok := value.(string) @@ -5876,7 +5727,6 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } sv.UploaderStatus = types.UploaderStatus(jtv) } - default: _, _ = key, value @@ -5923,12 +5773,10 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } } - case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } - case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -5937,7 +5785,6 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.FailedStatusDetails = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5953,7 +5800,6 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -5962,7 +5808,6 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -5971,7 +5816,6 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.StreamName = ptr.String(jtv) } - case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -5980,7 +5824,6 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.SyncStatus = types.SyncStatus(jtv) } - default: _, _ = key, value @@ -6058,7 +5901,6 @@ func awsRestjson1_deserializeDocumentLocalSizeConfig(v **types.LocalSizeConfig, } sv.MaxLocalMediaSizeInMB = ptr.Int32(int32(i64)) } - case "StrategyOnFullSize": if value != nil { jtv, ok := value.(string) @@ -6067,7 +5909,6 @@ func awsRestjson1_deserializeDocumentLocalSizeConfig(v **types.LocalSizeConfig, } sv.StrategyOnFullSize = types.StrategyOnFullSize(jtv) } - default: _, _ = key, value @@ -6141,7 +5982,6 @@ func awsRestjson1_deserializeDocumentMappedResourceConfigurationListItem(v **typ } sv.ARN = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6150,7 +5990,6 @@ func awsRestjson1_deserializeDocumentMappedResourceConfigurationListItem(v **typ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6190,7 +6029,6 @@ func awsRestjson1_deserializeDocumentMediaSourceConfig(v **types.MediaSourceConf } sv.MediaUriSecretArn = ptr.String(jtv) } - case "MediaUriType": if value != nil { jtv, ok := value.(string) @@ -6199,7 +6037,6 @@ func awsRestjson1_deserializeDocumentMediaSourceConfig(v **types.MediaSourceConf } sv.MediaUriType = types.MediaUriType(jtv) } - default: _, _ = key, value @@ -6239,7 +6076,6 @@ func awsRestjson1_deserializeDocumentMediaStorageConfiguration(v **types.MediaSt } sv.Status = types.MediaStorageConfigurationStatus(jtv) } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6248,7 +6084,6 @@ func awsRestjson1_deserializeDocumentMediaStorageConfiguration(v **types.MediaSt } sv.StreamARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6278,15 +6113,9 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6294,15 +6123,11 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6327,15 +6152,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6343,15 +6162,11 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6382,7 +6197,6 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsRestjson1_deserializeDocumentNotificationDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6391,7 +6205,6 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.Status = types.ConfigurationStatus(jtv) } - default: _, _ = key, value @@ -6431,7 +6244,6 @@ func awsRestjson1_deserializeDocumentNotificationDestinationConfig(v **types.Not } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -6467,12 +6279,10 @@ func awsRestjson1_deserializeDocumentRecorderConfig(v **types.RecorderConfig, va if err := awsRestjson1_deserializeDocumentMediaSourceConfig(&sv.MediaSourceConfig, value); err != nil { return err } - case "ScheduleConfig": if err := awsRestjson1_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6546,7 +6356,6 @@ func awsRestjson1_deserializeDocumentResourceEndpointListItem(v **types.Resource } sv.Protocol = types.ChannelProtocol(jtv) } - case "ResourceEndpoint": if value != nil { jtv, ok := value.(string) @@ -6555,7 +6364,6 @@ func awsRestjson1_deserializeDocumentResourceEndpointListItem(v **types.Resource } sv.ResourceEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -6585,15 +6393,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6601,15 +6403,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6634,15 +6432,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6650,15 +6442,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6733,7 +6521,6 @@ func awsRestjson1_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -6742,7 +6529,6 @@ func awsRestjson1_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.ScheduleExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -6786,7 +6572,6 @@ func awsRestjson1_deserializeDocumentSingleMasterConfiguration(v **types.SingleM } sv.MessageTtlSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6816,15 +6601,9 @@ func awsRestjson1_deserializeDocumentStreamEdgeConfigurationNotFoundException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6832,15 +6611,11 @@ func awsRestjson1_deserializeDocumentStreamEdgeConfigurationNotFoundException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6882,7 +6657,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } - case "DataRetentionInHours": if value != nil { jtv, ok := value.(json.Number) @@ -6895,7 +6669,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -6904,7 +6677,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.DeviceName = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6913,7 +6685,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.KmsKeyId = ptr.String(jtv) } - case "MediaType": if value != nil { jtv, ok := value.(string) @@ -6922,7 +6693,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.MediaType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6931,7 +6701,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Status = types.Status(jtv) } - case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6940,7 +6709,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamARN = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6949,7 +6717,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -6958,7 +6725,6 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7022,15 +6788,9 @@ func awsRestjson1_deserializeDocumentTagsPerResourceExceededLimitException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7038,15 +6798,11 @@ func awsRestjson1_deserializeDocumentTagsPerResourceExceededLimitException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7077,7 +6833,6 @@ func awsRestjson1_deserializeDocumentUploaderConfig(v **types.UploaderConfig, va if err := awsRestjson1_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } - default: _, _ = key, value @@ -7107,15 +6862,9 @@ func awsRestjson1_deserializeDocumentVersionMismatchException(v **types.VersionM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7123,15 +6872,11 @@ func awsRestjson1_deserializeDocumentVersionMismatchException(v **types.VersionM } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/kinesisvideoarchivedmedia/deserializers.go b/service/kinesisvideoarchivedmedia/deserializers.go index cae6acd0405..1a3000dc52a 100644 --- a/service/kinesisvideoarchivedmedia/deserializers.go +++ b/service/kinesisvideoarchivedmedia/deserializers.go @@ -339,7 +339,6 @@ func awsRestjson1_deserializeOpDocumentGetDASHStreamingSessionURLOutput(v **GetD } sv.DASHStreamingSessionURL = ptr.String(jtv) } - default: _, _ = key, value @@ -516,7 +515,6 @@ func awsRestjson1_deserializeOpDocumentGetHLSStreamingSessionURLOutput(v **GetHL } sv.HLSStreamingSessionURL = ptr.String(jtv) } - default: _, _ = key, value @@ -680,7 +678,6 @@ func awsRestjson1_deserializeOpDocumentGetImagesOutput(v **GetImagesOutput, valu if err := awsRestjson1_deserializeDocumentImages(&sv.Images, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -689,7 +686,6 @@ func awsRestjson1_deserializeOpDocumentGetImagesOutput(v **GetImagesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -978,7 +974,6 @@ func awsRestjson1_deserializeOpDocumentListFragmentsOutput(v **ListFragmentsOutp if err := awsRestjson1_deserializeDocumentFragmentList(&sv.Fragments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -987,7 +982,6 @@ func awsRestjson1_deserializeOpDocumentListFragmentsOutput(v **ListFragmentsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1341,15 +1335,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1357,15 +1345,11 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1404,7 +1388,6 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentLengthInMilliseconds = i64 } - case "FragmentNumber": if value != nil { jtv, ok := value.(string) @@ -1413,7 +1396,6 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentNumber = ptr.String(jtv) } - case "FragmentSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1426,7 +1408,6 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentSizeInBytes = i64 } - case "ProducerTimestamp": if value != nil { switch jtv := value.(type) { @@ -1442,7 +1423,6 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } } - case "ServerTimestamp": if value != nil { switch jtv := value.(type) { @@ -1458,7 +1438,6 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } } - default: _, _ = key, value @@ -1532,7 +1511,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Error = types.ImageError(jtv) } - case "ImageContent": if value != nil { jtv, ok := value.(string) @@ -1541,7 +1519,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageContent = ptr.String(jtv) } - case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -1557,7 +1534,6 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } } - default: _, _ = key, value @@ -1621,15 +1597,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1637,15 +1607,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1670,15 +1636,9 @@ func awsRestjson1_deserializeDocumentInvalidCodecPrivateDataException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1686,15 +1646,11 @@ func awsRestjson1_deserializeDocumentInvalidCodecPrivateDataException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1719,15 +1675,9 @@ func awsRestjson1_deserializeDocumentInvalidMediaFrameException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1735,15 +1685,11 @@ func awsRestjson1_deserializeDocumentInvalidMediaFrameException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1768,15 +1714,9 @@ func awsRestjson1_deserializeDocumentMissingCodecPrivateDataException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1784,15 +1724,11 @@ func awsRestjson1_deserializeDocumentMissingCodecPrivateDataException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1817,15 +1753,9 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1833,15 +1763,11 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1866,15 +1792,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1882,15 +1802,11 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1915,15 +1831,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1931,15 +1841,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1964,15 +1870,9 @@ func awsRestjson1_deserializeDocumentUnsupportedStreamMediaTypeException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1980,15 +1880,11 @@ func awsRestjson1_deserializeDocumentUnsupportedStreamMediaTypeException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/kinesisvideomedia/deserializers.go b/service/kinesisvideomedia/deserializers.go index 9001f8c7c7a..fe58d2462f6 100644 --- a/service/kinesisvideomedia/deserializers.go +++ b/service/kinesisvideomedia/deserializers.go @@ -399,15 +399,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -415,15 +409,11 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -448,15 +438,9 @@ func awsRestjson1_deserializeDocumentConnectionLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -464,15 +448,11 @@ func awsRestjson1_deserializeDocumentConnectionLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -497,15 +477,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -513,15 +487,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -546,15 +516,9 @@ func awsRestjson1_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -562,15 +526,11 @@ func awsRestjson1_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -595,15 +555,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -611,15 +565,11 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -644,15 +594,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -660,15 +604,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/kinesisvideosignaling/deserializers.go b/service/kinesisvideosignaling/deserializers.go index 8a45f527721..357bf7495d7 100644 --- a/service/kinesisvideosignaling/deserializers.go +++ b/service/kinesisvideosignaling/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentGetIceServerConfigOutput(v **GetIceServer if err := awsRestjson1_deserializeDocumentIceServerList(&sv.IceServerList, value); err != nil { return err } - default: _, _ = key, value @@ -351,7 +350,6 @@ func awsRestjson1_deserializeOpDocumentSendAlexaOfferToMasterOutput(v **SendAlex } sv.Answer = ptr.String(jtv) } - default: _, _ = key, value @@ -597,15 +595,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -613,15 +605,11 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -656,7 +644,6 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Password = ptr.String(jtv) } - case "Ttl": if value != nil { jtv, ok := value.(json.Number) @@ -669,12 +656,10 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Ttl = ptr.Int32(int32(i64)) } - case "Uris": if err := awsRestjson1_deserializeDocumentUris(&sv.Uris, value); err != nil { return err } - case "Username": if value != nil { jtv, ok := value.(string) @@ -683,7 +668,6 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -747,15 +731,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -763,15 +741,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -796,15 +770,9 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -812,15 +780,11 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -845,15 +809,9 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -861,15 +819,11 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -894,15 +848,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -910,15 +858,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -943,15 +887,9 @@ func awsRestjson1_deserializeDocumentSessionExpiredException(v **types.SessionEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -959,15 +897,11 @@ func awsRestjson1_deserializeDocumentSessionExpiredException(v **types.SessionEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/kinesisvideowebrtcstorage/deserializers.go b/service/kinesisvideowebrtcstorage/deserializers.go index f6d6b901f2f..839a2bc520f 100644 --- a/service/kinesisvideowebrtcstorage/deserializers.go +++ b/service/kinesisvideowebrtcstorage/deserializers.go @@ -400,15 +400,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -416,15 +410,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -449,15 +439,9 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -465,15 +449,11 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -498,15 +478,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -514,15 +488,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -547,15 +517,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -563,15 +527,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/kms/deserializers.go b/service/kms/deserializers.go index d56d6410f7c..6962940168f 100644 --- a/service/kms/deserializers.go +++ b/service/kms/deserializers.go @@ -8330,7 +8330,6 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.AliasArn = ptr.String(jtv) } - case "AliasName": if value != nil { jtv, ok := value.(string) @@ -8339,7 +8338,6 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.AliasName = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -8355,7 +8353,6 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } } - case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8371,7 +8368,6 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } } - case "TargetKeyId": if value != nil { jtv, ok := value.(string) @@ -8380,7 +8376,6 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.TargetKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -8410,15 +8405,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8426,15 +8415,11 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8459,15 +8444,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInUseException(v **types.Clo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8475,15 +8454,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInUseException(v **types.Clo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8508,15 +8483,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInvalidConfigurationExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8524,15 +8493,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInvalidConfigurationExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8557,15 +8522,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotActiveException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8573,15 +8532,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotActiveException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8606,15 +8561,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8622,15 +8571,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8655,15 +8600,9 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotRelatedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8671,15 +8610,11 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotRelatedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8704,15 +8639,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8720,15 +8649,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8753,15 +8678,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreHasCMKsException(v **types.Cu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8769,15 +8688,11 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreHasCMKsException(v **types.Cu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8802,15 +8717,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreInvalidStateException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8818,15 +8727,11 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreInvalidStateException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8851,15 +8756,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNameInUseException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8867,15 +8766,11 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNameInUseException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8900,15 +8795,9 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNotFoundException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8916,15 +8805,11 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNotFoundException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8993,7 +8878,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CloudHsmClusterId = ptr.String(jtv) } - case "ConnectionErrorCode": if value != nil { jtv, ok := value.(string) @@ -9002,7 +8886,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.ConnectionErrorCode = types.ConnectionErrorCodeType(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -9011,7 +8894,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.ConnectionState = types.ConnectionStateType(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -9027,7 +8909,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } } - case "CustomKeyStoreId": if value != nil { jtv, ok := value.(string) @@ -9036,7 +8917,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreId = ptr.String(jtv) } - case "CustomKeyStoreName": if value != nil { jtv, ok := value.(string) @@ -9045,7 +8925,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreName = ptr.String(jtv) } - case "CustomKeyStoreType": if value != nil { jtv, ok := value.(string) @@ -9054,7 +8933,6 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreType = types.CustomKeyStoreType(jtv) } - case "TrustAnchorCertificate": if value != nil { jtv, ok := value.(string) @@ -9063,12 +8941,10 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.TrustAnchorCertificate = ptr.String(jtv) } - case "XksProxyConfiguration": if err := awsAwsjson11_deserializeDocumentXksProxyConfigurationType(&sv.XksProxyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -9098,15 +8974,9 @@ func awsAwsjson11_deserializeDocumentDependencyTimeoutException(v **types.Depend sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9114,15 +8984,11 @@ func awsAwsjson11_deserializeDocumentDependencyTimeoutException(v **types.Depend } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9147,15 +9013,9 @@ func awsAwsjson11_deserializeDocumentDisabledException(v **types.DisabledExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9163,15 +9023,11 @@ func awsAwsjson11_deserializeDocumentDisabledException(v **types.DisabledExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9196,15 +9052,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9212,15 +9062,11 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9317,15 +9163,9 @@ func awsAwsjson11_deserializeDocumentExpiredImportTokenException(v **types.Expir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9333,15 +9173,11 @@ func awsAwsjson11_deserializeDocumentExpiredImportTokenException(v **types.Expir } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9372,12 +9208,10 @@ func awsAwsjson11_deserializeDocumentGrantConstraints(v **types.GrantConstraints if err := awsAwsjson11_deserializeDocumentEncryptionContextType(&sv.EncryptionContextEquals, value); err != nil { return err } - case "EncryptionContextSubset": if err := awsAwsjson11_deserializeDocumentEncryptionContextType(&sv.EncryptionContextSubset, value); err != nil { return err } - default: _, _ = key, value @@ -9447,7 +9281,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va if err := awsAwsjson11_deserializeDocumentGrantConstraints(&sv.Constraints, value); err != nil { return err } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -9463,7 +9296,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } } - case "GranteePrincipal": if value != nil { jtv, ok := value.(string) @@ -9472,7 +9304,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.GranteePrincipal = ptr.String(jtv) } - case "GrantId": if value != nil { jtv, ok := value.(string) @@ -9481,7 +9312,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.GrantId = ptr.String(jtv) } - case "IssuingAccount": if value != nil { jtv, ok := value.(string) @@ -9490,7 +9320,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.IssuingAccount = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -9499,7 +9328,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.KeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9508,12 +9336,10 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.Name = ptr.String(jtv) } - case "Operations": if err := awsAwsjson11_deserializeDocumentGrantOperationList(&sv.Operations, value); err != nil { return err } - case "RetiringPrincipal": if value != nil { jtv, ok := value.(string) @@ -9522,7 +9348,6 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.RetiringPrincipal = ptr.String(jtv) } - default: _, _ = key, value @@ -9588,15 +9413,9 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyException(v **types.IncorrectKe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9604,15 +9423,11 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyException(v **types.IncorrectKe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9637,15 +9452,9 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyMaterialException(v **types.Inc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9653,15 +9462,11 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyMaterialException(v **types.Inc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9686,15 +9491,9 @@ func awsAwsjson11_deserializeDocumentIncorrectTrustAnchorException(v **types.Inc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9702,15 +9501,11 @@ func awsAwsjson11_deserializeDocumentIncorrectTrustAnchorException(v **types.Inc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9735,15 +9530,9 @@ func awsAwsjson11_deserializeDocumentInvalidAliasNameException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9751,15 +9540,11 @@ func awsAwsjson11_deserializeDocumentInvalidAliasNameException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9784,15 +9569,9 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9800,15 +9579,11 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9833,15 +9608,9 @@ func awsAwsjson11_deserializeDocumentInvalidCiphertextException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9849,15 +9618,11 @@ func awsAwsjson11_deserializeDocumentInvalidCiphertextException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9882,15 +9647,9 @@ func awsAwsjson11_deserializeDocumentInvalidGrantIdException(v **types.InvalidGr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9898,15 +9657,11 @@ func awsAwsjson11_deserializeDocumentInvalidGrantIdException(v **types.InvalidGr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9931,15 +9686,9 @@ func awsAwsjson11_deserializeDocumentInvalidGrantTokenException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9947,15 +9696,11 @@ func awsAwsjson11_deserializeDocumentInvalidGrantTokenException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9980,15 +9725,9 @@ func awsAwsjson11_deserializeDocumentInvalidImportTokenException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9996,15 +9735,11 @@ func awsAwsjson11_deserializeDocumentInvalidImportTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10029,15 +9764,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyUsageException(v **types.InvalidK sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10045,15 +9774,11 @@ func awsAwsjson11_deserializeDocumentInvalidKeyUsageException(v **types.InvalidK } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10078,15 +9803,9 @@ func awsAwsjson11_deserializeDocumentInvalidMarkerException(v **types.InvalidMar sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10094,15 +9813,11 @@ func awsAwsjson11_deserializeDocumentInvalidMarkerException(v **types.InvalidMar } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10207,7 +9922,6 @@ func awsAwsjson11_deserializeDocumentKeyListEntry(v **types.KeyListEntry, value } sv.KeyArn = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -10216,7 +9930,6 @@ func awsAwsjson11_deserializeDocumentKeyListEntry(v **types.KeyListEntry, value } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -10256,7 +9969,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Arn = ptr.String(jtv) } - case "AWSAccountId": if value != nil { jtv, ok := value.(string) @@ -10265,7 +9977,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.AWSAccountId = ptr.String(jtv) } - case "CloudHsmClusterId": if value != nil { jtv, ok := value.(string) @@ -10274,7 +9985,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CloudHsmClusterId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -10290,7 +10000,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } - case "CustomerMasterKeySpec": if value != nil { jtv, ok := value.(string) @@ -10299,7 +10008,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CustomerMasterKeySpec = types.CustomerMasterKeySpec(jtv) } - case "CustomKeyStoreId": if value != nil { jtv, ok := value.(string) @@ -10308,7 +10016,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CustomKeyStoreId = ptr.String(jtv) } - case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -10324,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10333,7 +10039,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Description = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10342,12 +10047,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Enabled = jtv } - case "EncryptionAlgorithms": if err := awsAwsjson11_deserializeDocumentEncryptionAlgorithmSpecList(&sv.EncryptionAlgorithms, value); err != nil { return err } - case "ExpirationModel": if value != nil { jtv, ok := value.(string) @@ -10356,12 +10059,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.ExpirationModel = types.ExpirationModelType(jtv) } - case "KeyAgreementAlgorithms": if err := awsAwsjson11_deserializeDocumentKeyAgreementAlgorithmSpecList(&sv.KeyAgreementAlgorithms, value); err != nil { return err } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -10370,7 +10071,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyId = ptr.String(jtv) } - case "KeyManager": if value != nil { jtv, ok := value.(string) @@ -10379,7 +10079,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyManager = types.KeyManagerType(jtv) } - case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -10388,7 +10087,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeySpec = types.KeySpec(jtv) } - case "KeyState": if value != nil { jtv, ok := value.(string) @@ -10397,7 +10095,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyState = types.KeyState(jtv) } - case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -10406,12 +10103,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyUsage = types.KeyUsageType(jtv) } - case "MacAlgorithms": if err := awsAwsjson11_deserializeDocumentMacAlgorithmSpecList(&sv.MacAlgorithms, value); err != nil { return err } - case "MultiRegion": if value != nil { jtv, ok := value.(bool) @@ -10420,12 +10115,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.MultiRegion = ptr.Bool(jtv) } - case "MultiRegionConfiguration": if err := awsAwsjson11_deserializeDocumentMultiRegionConfiguration(&sv.MultiRegionConfiguration, value); err != nil { return err } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -10434,7 +10127,6 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Origin = types.OriginType(jtv) } - case "PendingDeletionWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -10447,12 +10139,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.PendingDeletionWindowInDays = ptr.Int32(int32(i64)) } - case "SigningAlgorithms": if err := awsAwsjson11_deserializeDocumentSigningAlgorithmSpecList(&sv.SigningAlgorithms, value); err != nil { return err } - case "ValidTo": if value != nil { switch jtv := value.(type) { @@ -10468,12 +10158,10 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } - case "XksKeyConfiguration": if err := awsAwsjson11_deserializeDocumentXksKeyConfigurationType(&sv.XksKeyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10503,15 +10191,9 @@ func awsAwsjson11_deserializeDocumentKeyUnavailableException(v **types.KeyUnavai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10519,15 +10201,11 @@ func awsAwsjson11_deserializeDocumentKeyUnavailableException(v **types.KeyUnavai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10552,15 +10230,9 @@ func awsAwsjson11_deserializeDocumentKMSInternalException(v **types.KMSInternalE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10568,15 +10240,11 @@ func awsAwsjson11_deserializeDocumentKMSInternalException(v **types.KMSInternalE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10601,15 +10269,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidMacException(v **types.KMSInvalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10617,15 +10279,11 @@ func awsAwsjson11_deserializeDocumentKMSInvalidMacException(v **types.KMSInvalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10650,15 +10308,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidSignatureException(v **types.KMSI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10666,15 +10318,11 @@ func awsAwsjson11_deserializeDocumentKMSInvalidSignatureException(v **types.KMSI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10699,15 +10347,9 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10715,15 +10357,11 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10748,15 +10386,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10764,15 +10396,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10833,15 +10461,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10849,15 +10471,11 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10892,17 +10510,14 @@ func awsAwsjson11_deserializeDocumentMultiRegionConfiguration(v **types.MultiReg } sv.MultiRegionKeyType = types.MultiRegionKeyType(jtv) } - case "PrimaryKey": if err := awsAwsjson11_deserializeDocumentMultiRegionKey(&sv.PrimaryKey, value); err != nil { return err } - case "ReplicaKeys": if err := awsAwsjson11_deserializeDocumentMultiRegionKeyList(&sv.ReplicaKeys, value); err != nil { return err } - default: _, _ = key, value @@ -10942,7 +10557,6 @@ func awsAwsjson11_deserializeDocumentMultiRegionKey(v **types.MultiRegionKey, va } sv.Arn = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -10951,7 +10565,6 @@ func awsAwsjson11_deserializeDocumentMultiRegionKey(v **types.MultiRegionKey, va } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -11015,15 +10628,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11031,15 +10638,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11144,7 +10747,6 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } sv.KeyId = ptr.String(jtv) } - case "RotationDate": if value != nil { switch jtv := value.(type) { @@ -11160,7 +10762,6 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } } - case "RotationType": if value != nil { jtv, ok := value.(string) @@ -11169,7 +10770,6 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } sv.RotationType = types.RotationType(jtv) } - default: _, _ = key, value @@ -11245,7 +10845,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -11254,7 +10853,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -11284,15 +10882,9 @@ func awsAwsjson11_deserializeDocumentTagException(v **types.TagException, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11300,15 +10892,11 @@ func awsAwsjson11_deserializeDocumentTagException(v **types.TagException, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11367,15 +10955,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11383,15 +10965,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11416,15 +10994,9 @@ func awsAwsjson11_deserializeDocumentXksKeyAlreadyInUseException(v **types.XksKe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11432,15 +11004,11 @@ func awsAwsjson11_deserializeDocumentXksKeyAlreadyInUseException(v **types.XksKe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11475,7 +11043,6 @@ func awsAwsjson11_deserializeDocumentXksKeyConfigurationType(v **types.XksKeyCon } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -11505,15 +11072,9 @@ func awsAwsjson11_deserializeDocumentXksKeyInvalidConfigurationException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11521,15 +11082,11 @@ func awsAwsjson11_deserializeDocumentXksKeyInvalidConfigurationException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11554,15 +11111,9 @@ func awsAwsjson11_deserializeDocumentXksKeyNotFoundException(v **types.XksKeyNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11570,15 +11121,11 @@ func awsAwsjson11_deserializeDocumentXksKeyNotFoundException(v **types.XksKeyNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11613,7 +11160,6 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.AccessKeyId = ptr.String(jtv) } - case "Connectivity": if value != nil { jtv, ok := value.(string) @@ -11622,7 +11168,6 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.Connectivity = types.XksProxyConnectivityType(jtv) } - case "UriEndpoint": if value != nil { jtv, ok := value.(string) @@ -11631,7 +11176,6 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.UriEndpoint = ptr.String(jtv) } - case "UriPath": if value != nil { jtv, ok := value.(string) @@ -11640,7 +11184,6 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.UriPath = ptr.String(jtv) } - case "VpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -11649,7 +11192,6 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.VpcEndpointServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -11679,15 +11221,9 @@ func awsAwsjson11_deserializeDocumentXksProxyIncorrectAuthenticationCredentialEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11695,15 +11231,11 @@ func awsAwsjson11_deserializeDocumentXksProxyIncorrectAuthenticationCredentialEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11728,15 +11260,9 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidConfigurationException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11744,15 +11270,11 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidConfigurationException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11777,15 +11299,9 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidResponseException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11793,15 +11309,11 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidResponseException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11826,15 +11338,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriEndpointInUseException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11842,15 +11348,11 @@ func awsAwsjson11_deserializeDocumentXksProxyUriEndpointInUseException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11875,15 +11377,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriInUseException(v **types.XksProx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11891,15 +11387,11 @@ func awsAwsjson11_deserializeDocumentXksProxyUriInUseException(v **types.XksProx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11924,15 +11416,9 @@ func awsAwsjson11_deserializeDocumentXksProxyUriUnreachableException(v **types.X sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11940,15 +11426,11 @@ func awsAwsjson11_deserializeDocumentXksProxyUriUnreachableException(v **types.X } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11973,15 +11455,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInUseException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11989,15 +11465,11 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInUseException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12022,15 +11494,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInvalidConfigurat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12038,15 +11504,11 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInvalidConfigurat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12071,15 +11533,9 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceNotFoundException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12087,15 +11543,11 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceNotFoundException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12130,7 +11582,6 @@ func awsAwsjson11_deserializeOpDocumentCancelKeyDeletionOutput(v **CancelKeyDele } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -12201,7 +11652,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomKeyStoreOutput(v **CreateCust } sv.CustomKeyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -12241,7 +11691,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantId = ptr.String(jtv) } - case "GrantToken": if value != nil { jtv, ok := value.(string) @@ -12250,7 +11699,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12286,7 +11734,6 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.KeyMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -12330,7 +11777,6 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.CiphertextForRecipient = dv } - case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12339,7 +11785,6 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.EncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12348,7 +11793,6 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.KeyId = ptr.String(jtv) } - case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -12361,7 +11805,6 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.Plaintext = dv } - default: _, _ = key, value @@ -12436,7 +11879,6 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.CiphertextForRecipient = dv } - case "KeyAgreementAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12445,7 +11887,6 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyAgreementAlgorithm = types.KeyAgreementAlgorithmSpec(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12454,7 +11895,6 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyId = ptr.String(jtv) } - case "KeyOrigin": if value != nil { jtv, ok := value.(string) @@ -12463,7 +11903,6 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyOrigin = types.OriginType(jtv) } - case "SharedSecret": if value != nil { jtv, ok := value.(string) @@ -12476,7 +11915,6 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.SharedSecret = dv } - default: _, _ = key, value @@ -12512,7 +11950,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ if err := awsAwsjson11_deserializeDocumentCustomKeyStoresList(&sv.CustomKeyStores, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -12521,7 +11958,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ } sv.NextMarker = ptr.String(jtv) } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -12530,7 +11966,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ } sv.Truncated = jtv } - default: _, _ = key, value @@ -12566,7 +12001,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.KeyMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -12641,7 +12075,6 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.CiphertextBlob = dv } - case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12650,7 +12083,6 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.EncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12659,7 +12091,6 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -12703,7 +12134,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.CiphertextBlob = dv } - case "CiphertextForRecipient": if value != nil { jtv, ok := value.(string) @@ -12716,7 +12146,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.CiphertextForRecipient = dv } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12725,7 +12154,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.KeyId = ptr.String(jtv) } - case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -12738,7 +12166,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.Plaintext = dv } - default: _, _ = key, value @@ -12782,7 +12209,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.CiphertextForRecipient = dv } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12791,7 +12217,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.KeyId = ptr.String(jtv) } - case "KeyPairSpec": if value != nil { jtv, ok := value.(string) @@ -12800,7 +12225,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.KeyPairSpec = types.DataKeyPairSpec(jtv) } - case "PrivateKeyCiphertextBlob": if value != nil { jtv, ok := value.(string) @@ -12813,7 +12237,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PrivateKeyCiphertextBlob = dv } - case "PrivateKeyPlaintext": if value != nil { jtv, ok := value.(string) @@ -12826,7 +12249,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PrivateKeyPlaintext = dv } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12839,7 +12261,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PublicKey = dv } - default: _, _ = key, value @@ -12879,7 +12300,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.KeyId = ptr.String(jtv) } - case "KeyPairSpec": if value != nil { jtv, ok := value.(string) @@ -12888,7 +12308,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.KeyPairSpec = types.DataKeyPairSpec(jtv) } - case "PrivateKeyCiphertextBlob": if value != nil { jtv, ok := value.(string) @@ -12901,7 +12320,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.PrivateKeyCiphertextBlob = dv } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12914,7 +12332,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.PublicKey = dv } - default: _, _ = key, value @@ -12958,7 +12375,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyWithoutPlaintextOutput(v * } sv.CiphertextBlob = dv } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12967,7 +12383,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyWithoutPlaintextOutput(v * } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -13007,7 +12422,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyId = ptr.String(jtv) } - case "Mac": if value != nil { jtv, ok := value.(string) @@ -13020,7 +12434,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.Mac = dv } - case "MacAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13029,7 +12442,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.MacAlgorithm = types.MacAlgorithmSpec(jtv) } - default: _, _ = key, value @@ -13073,7 +12485,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateRandomOutput(v **GenerateRandomOu } sv.CiphertextForRecipient = dv } - case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -13086,7 +12497,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateRandomOutput(v **GenerateRandomOu } sv.Plaintext = dv } - default: _, _ = key, value @@ -13126,7 +12536,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPolicyOutput(v **GetKeyPolicyOutput } sv.Policy = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -13135,7 +12544,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPolicyOutput(v **GetKeyPolicyOutput } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -13175,7 +12583,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.KeyId = ptr.String(jtv) } - case "KeyRotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -13184,7 +12591,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.KeyRotationEnabled = jtv } - case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -13200,7 +12606,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } } - case "OnDemandRotationStartDate": if value != nil { switch jtv := value.(type) { @@ -13216,7 +12621,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } } - case "RotationPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -13229,7 +12633,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.RotationPeriodInDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13273,7 +12676,6 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.ImportToken = dv } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -13282,7 +12684,6 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.KeyId = ptr.String(jtv) } - case "ParametersValidTo": if value != nil { switch jtv := value.(type) { @@ -13298,7 +12699,6 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -13311,7 +12711,6 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.PublicKey = dv } - default: _, _ = key, value @@ -13351,17 +12750,14 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.CustomerMasterKeySpec = types.CustomerMasterKeySpec(jtv) } - case "EncryptionAlgorithms": if err := awsAwsjson11_deserializeDocumentEncryptionAlgorithmSpecList(&sv.EncryptionAlgorithms, value); err != nil { return err } - case "KeyAgreementAlgorithms": if err := awsAwsjson11_deserializeDocumentKeyAgreementAlgorithmSpecList(&sv.KeyAgreementAlgorithms, value); err != nil { return err } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -13370,7 +12766,6 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeyId = ptr.String(jtv) } - case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -13379,7 +12774,6 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeySpec = types.KeySpec(jtv) } - case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -13388,7 +12782,6 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeyUsage = types.KeyUsageType(jtv) } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -13401,12 +12794,10 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.PublicKey = dv } - case "SigningAlgorithms": if err := awsAwsjson11_deserializeDocumentSigningAlgorithmSpecList(&sv.SigningAlgorithms, value); err != nil { return err } - default: _, _ = key, value @@ -13473,7 +12864,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13482,7 +12872,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextMarker = ptr.String(jtv) } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13491,7 +12880,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.Truncated = jtv } - default: _, _ = key, value @@ -13527,7 +12915,6 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13536,7 +12923,6 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va } sv.NextMarker = ptr.String(jtv) } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13545,7 +12931,6 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va } sv.Truncated = jtv } - default: _, _ = key, value @@ -13585,12 +12970,10 @@ func awsAwsjson11_deserializeOpDocumentListKeyPoliciesOutput(v **ListKeyPolicies } sv.NextMarker = ptr.String(jtv) } - case "PolicyNames": if err := awsAwsjson11_deserializeDocumentPolicyNameList(&sv.PolicyNames, value); err != nil { return err } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13599,7 +12982,6 @@ func awsAwsjson11_deserializeOpDocumentListKeyPoliciesOutput(v **ListKeyPolicies } sv.Truncated = jtv } - default: _, _ = key, value @@ -13639,12 +13021,10 @@ func awsAwsjson11_deserializeOpDocumentListKeyRotationsOutput(v **ListKeyRotatio } sv.NextMarker = ptr.String(jtv) } - case "Rotations": if err := awsAwsjson11_deserializeDocumentRotationsList(&sv.Rotations, value); err != nil { return err } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13653,7 +13033,6 @@ func awsAwsjson11_deserializeOpDocumentListKeyRotationsOutput(v **ListKeyRotatio } sv.Truncated = jtv } - default: _, _ = key, value @@ -13689,7 +13068,6 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsAwsjson11_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13698,7 +13076,6 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextMarker = ptr.String(jtv) } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13707,7 +13084,6 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.Truncated = jtv } - default: _, _ = key, value @@ -13747,12 +13123,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceTagsOutput(v **ListResourceTa } sv.NextMarker = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13761,7 +13135,6 @@ func awsAwsjson11_deserializeOpDocumentListResourceTagsOutput(v **ListResourceTa } sv.Truncated = jtv } - default: _, _ = key, value @@ -13797,7 +13170,6 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13806,7 +13178,6 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab } sv.NextMarker = ptr.String(jtv) } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13815,7 +13186,6 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab } sv.Truncated = jtv } - default: _, _ = key, value @@ -13859,7 +13229,6 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.CiphertextBlob = dv } - case "DestinationEncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13868,7 +13237,6 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.DestinationEncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -13877,7 +13245,6 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.KeyId = ptr.String(jtv) } - case "SourceEncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13886,7 +13253,6 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.SourceEncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } - case "SourceKeyId": if value != nil { jtv, ok := value.(string) @@ -13895,7 +13261,6 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.SourceKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -13931,7 +13296,6 @@ func awsAwsjson11_deserializeOpDocumentReplicateKeyOutput(v **ReplicateKeyOutput if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.ReplicaKeyMetadata, value); err != nil { return err } - case "ReplicaPolicy": if value != nil { jtv, ok := value.(string) @@ -13940,12 +13304,10 @@ func awsAwsjson11_deserializeOpDocumentReplicateKeyOutput(v **ReplicateKeyOutput } sv.ReplicaPolicy = ptr.String(jtv) } - case "ReplicaTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ReplicaTags, value); err != nil { return err } - default: _, _ = key, value @@ -13985,7 +13347,6 @@ func awsAwsjson11_deserializeOpDocumentRotateKeyOnDemandOutput(v **RotateKeyOnDe } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -14032,7 +13393,6 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -14041,7 +13401,6 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.KeyId = ptr.String(jtv) } - case "KeyState": if value != nil { jtv, ok := value.(string) @@ -14050,7 +13409,6 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.KeyState = types.KeyState(jtv) } - case "PendingWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -14063,7 +13421,6 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.PendingWindowInDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14103,7 +13460,6 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.KeyId = ptr.String(jtv) } - case "Signature": if value != nil { jtv, ok := value.(string) @@ -14116,7 +13472,6 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.Signature = dv } - case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -14125,7 +13480,6 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.SigningAlgorithm = types.SigningAlgorithmSpec(jtv) } - default: _, _ = key, value @@ -14196,7 +13550,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyId = ptr.String(jtv) } - case "MacAlgorithm": if value != nil { jtv, ok := value.(string) @@ -14205,7 +13558,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.MacAlgorithm = types.MacAlgorithmSpec(jtv) } - case "MacValid": if value != nil { jtv, ok := value.(bool) @@ -14214,7 +13566,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.MacValid = jtv } - default: _, _ = key, value @@ -14254,7 +13605,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.KeyId = ptr.String(jtv) } - case "SignatureValid": if value != nil { jtv, ok := value.(bool) @@ -14263,7 +13613,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.SignatureValid = jtv } - case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -14272,7 +13621,6 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.SigningAlgorithm = types.SigningAlgorithmSpec(jtv) } - default: _, _ = key, value diff --git a/service/lakeformation/deserializers.go b/service/lakeformation/deserializers.go index 8cbd427d59e..8ab41ea3243 100644 --- a/service/lakeformation/deserializers.go +++ b/service/lakeformation/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentAddLFTagsToResourceOutput(v **AddLFTagsTo if err := awsRestjson1_deserializeDocumentLFTagErrors(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -354,7 +353,6 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.AccessKeyId = ptr.String(jtv) } - case "Expiration": if value != nil { switch jtv := value.(type) { @@ -370,7 +368,6 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } } - case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -379,7 +376,6 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.SecretAccessKey = ptr.String(jtv) } - case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -388,7 +384,6 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -543,7 +538,6 @@ func awsRestjson1_deserializeOpDocumentBatchGrantPermissionsOutput(v **BatchGran if err := awsRestjson1_deserializeDocumentBatchPermissionsFailureList(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -698,7 +692,6 @@ func awsRestjson1_deserializeOpDocumentBatchRevokePermissionsOutput(v **BatchRev if err := awsRestjson1_deserializeDocumentBatchPermissionsFailureList(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -975,7 +968,6 @@ func awsRestjson1_deserializeOpDocumentCommitTransactionOutput(v **CommitTransac } sv.TransactionStatus = types.TransactionStatus(jtv) } - default: _, _ = key, value @@ -1252,7 +1244,6 @@ func awsRestjson1_deserializeOpDocumentCreateLakeFormationIdentityCenterConfigur } sv.ApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2238,7 +2229,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.ApplicationArn = ptr.String(jtv) } - case "CatalogId": if value != nil { jtv, ok := value.(string) @@ -2247,12 +2237,10 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.CatalogId = ptr.String(jtv) } - case "ExternalFiltering": if err := awsRestjson1_deserializeDocumentExternalFilteringConfiguration(&sv.ExternalFiltering, value); err != nil { return err } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -2261,7 +2249,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.InstanceArn = ptr.String(jtv) } - case "ResourceShare": if value != nil { jtv, ok := value.(string) @@ -2270,12 +2257,10 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.ResourceShare = ptr.String(jtv) } - case "ShareRecipients": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ShareRecipients, value); err != nil { return err } - default: _, _ = key, value @@ -2436,7 +2421,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour if err := awsRestjson1_deserializeDocumentResourceInfo(&sv.ResourceInfo, value); err != nil { return err } - default: _, _ = key, value @@ -2597,7 +2581,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTransactionOutput(v **DescribeTra if err := awsRestjson1_deserializeDocumentTransactionDescription(&sv.TransactionDescription, value); err != nil { return err } - default: _, _ = key, value @@ -2867,7 +2850,6 @@ func awsRestjson1_deserializeOpDocumentGetDataCellsFilterOutput(v **GetDataCells if err := awsRestjson1_deserializeDocumentDataCellsFilter(&sv.DataCellsFilter, value); err != nil { return err } - default: _, _ = key, value @@ -3029,7 +3011,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakePrincipalOutput(v **GetDataLak } sv.Identity = ptr.String(jtv) } - default: _, _ = key, value @@ -3187,7 +3168,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSettingsOutput(v **GetDataLake if err := awsRestjson1_deserializeDocumentDataLakeSettings(&sv.DataLakeSettings, value); err != nil { return err } - default: _, _ = key, value @@ -3352,12 +3332,10 @@ func awsRestjson1_deserializeOpDocumentGetEffectivePermissionsForPathOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPrincipalResourcePermissionsList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -3525,7 +3503,6 @@ func awsRestjson1_deserializeOpDocumentGetLFTagOutput(v **GetLFTagOutput, value } sv.CatalogId = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -3534,12 +3511,10 @@ func awsRestjson1_deserializeOpDocumentGetLFTagOutput(v **GetLFTagOutput, value } sv.TagKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -3701,7 +3676,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryStateOutput(v **GetQueryStateOutp } sv.Error = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3710,7 +3684,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryStateOutput(v **GetQueryStateOutp } sv.State = types.QueryStateString(jtv) } - default: _, _ = key, value @@ -3877,12 +3850,10 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatisticsOutput(v **GetQueryStat if err := awsRestjson1_deserializeDocumentExecutionStatistics(&sv.ExecutionStatistics, value); err != nil { return err } - case "PlanningStatistics": if err := awsRestjson1_deserializeDocumentPlanningStatistics(&sv.PlanningStatistics, value); err != nil { return err } - case "QuerySubmissionTime": if value != nil { jtv, ok := value.(string) @@ -3895,7 +3866,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatisticsOutput(v **GetQueryStat } sv.QuerySubmissionTime = ptr.Time(t) } - default: _, _ = key, value @@ -4062,17 +4032,14 @@ func awsRestjson1_deserializeOpDocumentGetResourceLFTagsOutput(v **GetResourceLF if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagOnDatabase, value); err != nil { return err } - case "LFTagsOnColumns": if err := awsRestjson1_deserializeDocumentColumnLFTagsList(&sv.LFTagsOnColumns, value); err != nil { return err } - case "LFTagsOnTable": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagsOnTable, value); err != nil { return err } - default: _, _ = key, value @@ -4246,12 +4213,10 @@ func awsRestjson1_deserializeOpDocumentGetTableObjectsOutput(v **GetTableObjects } sv.NextToken = ptr.String(jtv) } - case "Objects": if err := awsRestjson1_deserializeDocumentPartitionedTableObjectsList(&sv.Objects, value); err != nil { return err } - default: _, _ = key, value @@ -4422,7 +4387,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.AccessKeyId = ptr.String(jtv) } - case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4438,7 +4402,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } } - case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -4447,7 +4410,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.SecretAccessKey = ptr.String(jtv) } - case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -4456,7 +4418,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4627,7 +4588,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.AccessKeyId = ptr.String(jtv) } - case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4643,7 +4603,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } } - case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -4652,7 +4611,6 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.SecretAccessKey = ptr.String(jtv) } - case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -4661,12 +4619,10 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.SessionToken = ptr.String(jtv) } - case "VendedS3Path": if err := awsRestjson1_deserializeDocumentPathStringList(&sv.VendedS3Path, value); err != nil { return err } - default: _, _ = key, value @@ -4948,7 +4904,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkUnitsOutput(v **GetWorkUnitsOutput } sv.NextToken = ptr.String(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -4957,12 +4912,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkUnitsOutput(v **GetWorkUnitsOutput } sv.QueryId = ptr.String(jtv) } - case "WorkUnitRanges": if err := awsRestjson1_deserializeDocumentWorkUnitRangeList(&sv.WorkUnitRanges, value); err != nil { return err } - default: _, _ = key, value @@ -5217,7 +5170,6 @@ func awsRestjson1_deserializeOpDocumentListDataCellsFilterOutput(v **ListDataCel if err := awsRestjson1_deserializeDocumentDataCellsFilterList(&sv.DataCellsFilters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5226,7 +5178,6 @@ func awsRestjson1_deserializeOpDocumentListDataCellsFilterOutput(v **ListDataCel } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5387,7 +5338,6 @@ func awsRestjson1_deserializeOpDocumentListLakeFormationOptInsOutput(v **ListLak if err := awsRestjson1_deserializeDocumentLakeFormationOptInsInfoList(&sv.LakeFormationOptInsInfoList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5396,7 +5346,6 @@ func awsRestjson1_deserializeOpDocumentListLakeFormationOptInsOutput(v **ListLak } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5560,7 +5509,6 @@ func awsRestjson1_deserializeOpDocumentListLFTagsOutput(v **ListLFTagsOutput, va if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5569,7 +5517,6 @@ func awsRestjson1_deserializeOpDocumentListLFTagsOutput(v **ListLFTagsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5731,12 +5678,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } - case "PrincipalResourcePermissions": if err := awsRestjson1_deserializeDocumentPrincipalResourcePermissionsList(&sv.PrincipalResourcePermissions, value); err != nil { return err } - default: _, _ = key, value @@ -5898,12 +5843,10 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } - case "ResourceInfoList": if err := awsRestjson1_deserializeDocumentResourceInfoList(&sv.ResourceInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -6068,12 +6011,10 @@ func awsRestjson1_deserializeOpDocumentListTableStorageOptimizersOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "StorageOptimizerList": if err := awsRestjson1_deserializeDocumentStorageOptimizerList(&sv.StorageOptimizerList, value); err != nil { return err } - default: _, _ = key, value @@ -6235,12 +6176,10 @@ func awsRestjson1_deserializeOpDocumentListTransactionsOutput(v **ListTransactio } sv.NextToken = ptr.String(jtv) } - case "Transactions": if err := awsRestjson1_deserializeDocumentTransactionDescriptionList(&sv.Transactions, value); err != nil { return err } - default: _, _ = key, value @@ -6607,7 +6546,6 @@ func awsRestjson1_deserializeOpDocumentRemoveLFTagsFromResourceOutput(v **Remove if err := awsRestjson1_deserializeDocumentLFTagErrors(&sv.Failures, value); err != nil { return err } - default: _, _ = key, value @@ -6868,7 +6806,6 @@ func awsRestjson1_deserializeOpDocumentSearchDatabasesByLFTagsOutput(v **SearchD if err := awsRestjson1_deserializeDocumentDatabaseLFTagsList(&sv.DatabaseList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6877,7 +6814,6 @@ func awsRestjson1_deserializeOpDocumentSearchDatabasesByLFTagsOutput(v **SearchD } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7048,12 +6984,10 @@ func awsRestjson1_deserializeOpDocumentSearchTablesByLFTagsOutput(v **SearchTabl } sv.NextToken = ptr.String(jtv) } - case "TableList": if err := awsRestjson1_deserializeDocumentTableLFTagsList(&sv.TableList, value); err != nil { return err } - default: _, _ = key, value @@ -7218,7 +7152,6 @@ func awsRestjson1_deserializeOpDocumentStartQueryPlanningOutput(v **StartQueryPl } sv.QueryId = ptr.String(jtv) } - default: _, _ = key, value @@ -7377,7 +7310,6 @@ func awsRestjson1_deserializeOpDocumentStartTransactionOutput(v **StartTransacti } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8060,7 +7992,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTableStorageOptimizerOutput(v **Upd } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -8738,15 +8669,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8754,15 +8679,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8818,15 +8739,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8834,15 +8749,11 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8909,12 +8820,10 @@ func awsRestjson1_deserializeDocumentBatchPermissionsFailureEntry(v **types.Batc if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "RequestEntry": if err := awsRestjson1_deserializeDocumentBatchPermissionsRequestEntry(&sv.RequestEntry, value); err != nil { return err } - default: _, _ = key, value @@ -8988,27 +8897,22 @@ func awsRestjson1_deserializeDocumentBatchPermissionsRequestEntry(v **types.Batc } sv.Id = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "PermissionsWithGrantOption": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.PermissionsWithGrantOption, value); err != nil { return err } - case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } - case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -9075,7 +8979,6 @@ func awsRestjson1_deserializeDocumentColumnLFTag(v **types.ColumnLFTag, value in if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9084,7 +8987,6 @@ func awsRestjson1_deserializeDocumentColumnLFTag(v **types.ColumnLFTag, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9190,7 +9092,6 @@ func awsRestjson1_deserializeDocumentColumnWildcard(v **types.ColumnWildcard, va if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ExcludedColumnNames, value); err != nil { return err } - default: _, _ = key, value @@ -9220,15 +9121,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9236,15 +9131,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9313,7 +9204,6 @@ func awsRestjson1_deserializeDocumentDatabaseResource(v **types.DatabaseResource } sv.CatalogId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9322,7 +9212,6 @@ func awsRestjson1_deserializeDocumentDatabaseResource(v **types.DatabaseResource } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9358,12 +9247,10 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } - case "ColumnWildcard": if err := awsRestjson1_deserializeDocumentColumnWildcard(&sv.ColumnWildcard, value); err != nil { return err } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -9372,7 +9259,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9381,12 +9267,10 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.Name = ptr.String(jtv) } - case "RowFilter": if err := awsRestjson1_deserializeDocumentRowFilter(&sv.RowFilter, value); err != nil { return err } - case "TableCatalogId": if value != nil { jtv, ok := value.(string) @@ -9395,7 +9279,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.TableCatalogId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9404,7 +9287,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.TableName = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -9413,7 +9295,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -9487,7 +9368,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9496,7 +9376,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.Name = ptr.String(jtv) } - case "TableCatalogId": if value != nil { jtv, ok := value.(string) @@ -9505,7 +9384,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.TableCatalogId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -9514,7 +9392,6 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -9554,7 +9431,6 @@ func awsRestjson1_deserializeDocumentDataLakePrincipal(v **types.DataLakePrincip } sv.DataLakePrincipalIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -9628,7 +9504,6 @@ func awsRestjson1_deserializeDocumentDataLakeSettings(v **types.DataLakeSettings } sv.AllowExternalDataFiltering = ptr.Bool(jtv) } - case "AllowFullTableExternalDataAccess": if value != nil { jtv, ok := value.(bool) @@ -9637,47 +9512,38 @@ func awsRestjson1_deserializeDocumentDataLakeSettings(v **types.DataLakeSettings } sv.AllowFullTableExternalDataAccess = ptr.Bool(jtv) } - case "AuthorizedSessionTagValueList": if err := awsRestjson1_deserializeDocumentAuthorizedSessionTagValueList(&sv.AuthorizedSessionTagValueList, value); err != nil { return err } - case "CreateDatabaseDefaultPermissions": if err := awsRestjson1_deserializeDocumentPrincipalPermissionsList(&sv.CreateDatabaseDefaultPermissions, value); err != nil { return err } - case "CreateTableDefaultPermissions": if err := awsRestjson1_deserializeDocumentPrincipalPermissionsList(&sv.CreateTableDefaultPermissions, value); err != nil { return err } - case "DataLakeAdmins": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.DataLakeAdmins, value); err != nil { return err } - case "ExternalDataFilteringAllowList": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ExternalDataFilteringAllowList, value); err != nil { return err } - case "Parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } - case "ReadOnlyAdmins": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ReadOnlyAdmins, value); err != nil { return err } - case "TrustedResourceOwners": if err := awsRestjson1_deserializeDocumentTrustedResourceOwners(&sv.TrustedResourceOwners, value); err != nil { return err } - default: _, _ = key, value @@ -9717,7 +9583,6 @@ func awsRestjson1_deserializeDocumentDataLocationResource(v **types.DataLocation } sv.CatalogId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9726,7 +9591,6 @@ func awsRestjson1_deserializeDocumentDataLocationResource(v **types.DataLocation } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9762,7 +9626,6 @@ func awsRestjson1_deserializeDocumentDetailsMap(v **types.DetailsMap, value inte if err := awsRestjson1_deserializeDocumentResourceShareList(&sv.ResourceShare, value); err != nil { return err } - default: _, _ = key, value @@ -9792,15 +9655,9 @@ func awsRestjson1_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9808,15 +9665,11 @@ func awsRestjson1_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9851,7 +9704,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9860,7 +9712,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9904,7 +9755,6 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.AverageExecutionTimeMillis = i64 } - case "DataScannedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9917,7 +9767,6 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.DataScannedBytes = i64 } - case "WorkUnitsExecutedCount": if value != nil { jtv, ok := value.(json.Number) @@ -9930,7 +9779,6 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.WorkUnitsExecutedCount = i64 } - default: _, _ = key, value @@ -9960,15 +9808,9 @@ func awsRestjson1_deserializeDocumentExpiredException(v **types.ExpiredException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9976,15 +9818,11 @@ func awsRestjson1_deserializeDocumentExpiredException(v **types.ExpiredException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10049,7 +9887,6 @@ func awsRestjson1_deserializeDocumentExternalFilteringConfiguration(v **types.Ex if err := awsRestjson1_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10058,7 +9895,6 @@ func awsRestjson1_deserializeDocumentExternalFilteringConfiguration(v **types.Ex } sv.Status = types.EnableStatus(jtv) } - default: _, _ = key, value @@ -10088,15 +9924,9 @@ func awsRestjson1_deserializeDocumentGlueEncryptionException(v **types.GlueEncry sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10104,15 +9934,11 @@ func awsRestjson1_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10137,15 +9963,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10153,15 +9973,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10186,15 +10002,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10202,15 +10012,11 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10252,7 +10058,6 @@ func awsRestjson1_deserializeDocumentLakeFormationOptInsInfo(v **types.LakeForma } } - case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -10261,17 +10066,14 @@ func awsRestjson1_deserializeDocumentLakeFormationOptInsInfo(v **types.LakeForma } sv.LastUpdatedBy = ptr.String(jtv) } - case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } - case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -10345,12 +10147,10 @@ func awsRestjson1_deserializeDocumentLFTag(v **types.LFTag, value interface{}) e } sv.TagKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -10386,12 +10186,10 @@ func awsRestjson1_deserializeDocumentLFTagError(v **types.LFTagError, value inte if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "LFTag": if err := awsRestjson1_deserializeDocumentLFTagPair(&sv.LFTag, value); err != nil { return err } - default: _, _ = key, value @@ -10465,7 +10263,6 @@ func awsRestjson1_deserializeDocumentLFTagKeyResource(v **types.LFTagKeyResource } sv.CatalogId = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -10474,12 +10271,10 @@ func awsRestjson1_deserializeDocumentLFTagKeyResource(v **types.LFTagKeyResource } sv.TagKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -10519,7 +10314,6 @@ func awsRestjson1_deserializeDocumentLFTagPair(v **types.LFTagPair, value interf } sv.CatalogId = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -10528,12 +10322,10 @@ func awsRestjson1_deserializeDocumentLFTagPair(v **types.LFTagPair, value interf } sv.TagKey = ptr.String(jtv) } - case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -10573,12 +10365,10 @@ func awsRestjson1_deserializeDocumentLFTagPolicyResource(v **types.LFTagPolicyRe } sv.CatalogId = ptr.String(jtv) } - case "Expression": if err := awsRestjson1_deserializeDocumentExpression(&sv.Expression, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10587,7 +10377,6 @@ func awsRestjson1_deserializeDocumentLFTagPolicyResource(v **types.LFTagPolicyRe } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -10651,15 +10440,9 @@ func awsRestjson1_deserializeDocumentOperationTimeoutException(v **types.Operati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10667,15 +10450,11 @@ func awsRestjson1_deserializeDocumentOperationTimeoutException(v **types.Operati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10776,12 +10555,10 @@ func awsRestjson1_deserializeDocumentPartitionObjects(v **types.PartitionObjects if err := awsRestjson1_deserializeDocumentTableObjectList(&sv.Objects, value); err != nil { return err } - case "PartitionValues": if err := awsRestjson1_deserializeDocumentPartitionValuesList(&sv.PartitionValues, value); err != nil { return err } - default: _, _ = key, value @@ -10919,15 +10696,9 @@ func awsRestjson1_deserializeDocumentPermissionTypeMismatchException(v **types.P sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10935,15 +10706,11 @@ func awsRestjson1_deserializeDocumentPermissionTypeMismatchException(v **types.P } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10982,7 +10749,6 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.EstimatedDataToScanBytes = i64 } - case "PlanningTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10995,7 +10761,6 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.PlanningTimeMillis = i64 } - case "QueueTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11008,7 +10773,6 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.QueueTimeMillis = i64 } - case "WorkUnitsGeneratedCount": if value != nil { jtv, ok := value.(json.Number) @@ -11021,7 +10785,6 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.WorkUnitsGeneratedCount = i64 } - default: _, _ = key, value @@ -11057,12 +10820,10 @@ func awsRestjson1_deserializeDocumentPrincipalPermissions(v **types.PrincipalPer if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } - default: _, _ = key, value @@ -11132,7 +10893,6 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.AdditionalDetails, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -11148,7 +10908,6 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin } } - case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -11157,27 +10916,22 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin } sv.LastUpdatedBy = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } - case "PermissionsWithGrantOption": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.PermissionsWithGrantOption, value); err != nil { return err } - case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } - case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -11247,42 +11001,34 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentCatalogResource(&sv.Catalog, value); err != nil { return err } - case "Database": if err := awsRestjson1_deserializeDocumentDatabaseResource(&sv.Database, value); err != nil { return err } - case "DataCellsFilter": if err := awsRestjson1_deserializeDocumentDataCellsFilterResource(&sv.DataCellsFilter, value); err != nil { return err } - case "DataLocation": if err := awsRestjson1_deserializeDocumentDataLocationResource(&sv.DataLocation, value); err != nil { return err } - case "LFTag": if err := awsRestjson1_deserializeDocumentLFTagKeyResource(&sv.LFTag, value); err != nil { return err } - case "LFTagPolicy": if err := awsRestjson1_deserializeDocumentLFTagPolicyResource(&sv.LFTagPolicy, value); err != nil { return err } - case "Table": if err := awsRestjson1_deserializeDocumentTableResource(&sv.Table, value); err != nil { return err } - case "TableWithColumns": if err := awsRestjson1_deserializeDocumentTableWithColumnsResource(&sv.TableWithColumns, value); err != nil { return err } - default: _, _ = key, value @@ -11322,7 +11068,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.HybridAccessEnabled = ptr.Bool(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -11338,7 +11083,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11347,7 +11091,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.ResourceArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11356,7 +11099,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.RoleArn = ptr.String(jtv) } - case "WithFederation": if value != nil { jtv, ok := value.(bool) @@ -11365,7 +11107,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.WithFederation = ptr.Bool(jtv) } - default: _, _ = key, value @@ -11429,15 +11170,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11445,15 +11180,11 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11478,15 +11209,9 @@ func awsRestjson1_deserializeDocumentResourceNumberLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11494,15 +11219,11 @@ func awsRestjson1_deserializeDocumentResourceNumberLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11569,7 +11290,6 @@ func awsRestjson1_deserializeDocumentRowFilter(v **types.RowFilter, value interf if err := awsRestjson1_deserializeDocumentAllRowsWildcard(&sv.AllRowsWildcard, value); err != nil { return err } - case "FilterExpression": if value != nil { jtv, ok := value.(string) @@ -11578,7 +11298,6 @@ func awsRestjson1_deserializeDocumentRowFilter(v **types.RowFilter, value interf } sv.FilterExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -11644,15 +11363,9 @@ func awsRestjson1_deserializeDocumentStatisticsNotReadyYetException(v **types.St sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11660,15 +11373,11 @@ func awsRestjson1_deserializeDocumentStatisticsNotReadyYetException(v **types.St } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11699,7 +11408,6 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer if err := awsRestjson1_deserializeDocumentStorageOptimizerConfig(&sv.Config, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11708,7 +11416,6 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.ErrorMessage = ptr.String(jtv) } - case "LastRunDetails": if value != nil { jtv, ok := value.(string) @@ -11717,7 +11424,6 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.LastRunDetails = ptr.String(jtv) } - case "StorageOptimizerType": if value != nil { jtv, ok := value.(string) @@ -11726,7 +11432,6 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.StorageOptimizerType = types.OptimizerType(jtv) } - case "Warnings": if value != nil { jtv, ok := value.(string) @@ -11735,7 +11440,6 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.Warnings = ptr.String(jtv) } - default: _, _ = key, value @@ -11879,7 +11583,6 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.ETag = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -11892,7 +11595,6 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.Size = i64 } - case "Uri": if value != nil { jtv, ok := value.(string) @@ -11901,7 +11603,6 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -11975,7 +11676,6 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.CatalogId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -11984,7 +11684,6 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11993,12 +11692,10 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.Name = ptr.String(jtv) } - case "TableWildcard": if err := awsRestjson1_deserializeDocumentTableWildcard(&sv.TableWildcard, value); err != nil { return err } - default: _, _ = key, value @@ -12069,17 +11766,14 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.CatalogId = ptr.String(jtv) } - case "ColumnNames": if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } - case "ColumnWildcard": if err := awsRestjson1_deserializeDocumentColumnWildcard(&sv.ColumnWildcard, value); err != nil { return err } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -12088,7 +11782,6 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12097,7 +11790,6 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12133,12 +11825,10 @@ func awsRestjson1_deserializeDocumentTaggedDatabase(v **types.TaggedDatabase, va if err := awsRestjson1_deserializeDocumentDatabaseResource(&sv.Database, value); err != nil { return err } - case "LFTags": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } - default: _, _ = key, value @@ -12174,22 +11864,18 @@ func awsRestjson1_deserializeDocumentTaggedTable(v **types.TaggedTable, value in if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagOnDatabase, value); err != nil { return err } - case "LFTagsOnColumns": if err := awsRestjson1_deserializeDocumentColumnLFTagsList(&sv.LFTagsOnColumns, value); err != nil { return err } - case "LFTagsOnTable": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagsOnTable, value); err != nil { return err } - case "Table": if err := awsRestjson1_deserializeDocumentTableResource(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -12255,15 +11941,9 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12271,15 +11951,11 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12304,15 +11980,9 @@ func awsRestjson1_deserializeDocumentTransactionCanceledException(v **types.Tran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12320,15 +11990,11 @@ func awsRestjson1_deserializeDocumentTransactionCanceledException(v **types.Tran } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12353,15 +12019,9 @@ func awsRestjson1_deserializeDocumentTransactionCommitInProgressException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12369,15 +12029,11 @@ func awsRestjson1_deserializeDocumentTransactionCommitInProgressException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12402,15 +12058,9 @@ func awsRestjson1_deserializeDocumentTransactionCommittedException(v **types.Tra sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12418,15 +12068,11 @@ func awsRestjson1_deserializeDocumentTransactionCommittedException(v **types.Tra } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12468,7 +12114,6 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } } - case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -12477,7 +12122,6 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } sv.TransactionId = ptr.String(jtv) } - case "TransactionStartTime": if value != nil { switch jtv := value.(type) { @@ -12493,7 +12137,6 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } } - case "TransactionStatus": if value != nil { jtv, ok := value.(string) @@ -12502,7 +12145,6 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } sv.TransactionStatus = types.TransactionStatus(jtv) } - default: _, _ = key, value @@ -12616,7 +12258,6 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitIdMax = i64 } - case "WorkUnitIdMin": if value != nil { jtv, ok := value.(json.Number) @@ -12629,7 +12270,6 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitIdMin = i64 } - case "WorkUnitToken": if value != nil { jtv, ok := value.(string) @@ -12638,7 +12278,6 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12702,15 +12341,9 @@ func awsRestjson1_deserializeDocumentWorkUnitsNotReadyYetException(v **types.Wor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12718,15 +12351,11 @@ func awsRestjson1_deserializeDocumentWorkUnitsNotReadyYetException(v **types.Wor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/lambda/deserializers.go b/service/lambda/deserializers.go index 97f59de1e10..964a5e7d038 100644 --- a/service/lambda/deserializers.go +++ b/service/lambda/deserializers.go @@ -197,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentAddLayerVersionPermissionOutput(v **AddLa } sv.RevisionId = ptr.String(jtv) } - case "Statement": if value != nil { jtv, ok := value.(string) @@ -206,7 +205,6 @@ func awsRestjson1_deserializeOpDocumentAddLayerVersionPermissionOutput(v **AddLa } sv.Statement = ptr.String(jtv) } - default: _, _ = key, value @@ -380,7 +378,6 @@ func awsRestjson1_deserializeOpDocumentAddPermissionOutput(v **AddPermissionOutp } sv.Statement = ptr.String(jtv) } - default: _, _ = key, value @@ -548,7 +545,6 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.AliasArn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -557,7 +553,6 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Description = ptr.String(jtv) } - case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -566,7 +561,6 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.FunctionVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -575,7 +569,6 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -584,12 +577,10 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.RevisionId = ptr.String(jtv) } - case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -744,7 +735,6 @@ func awsRestjson1_deserializeOpDocumentCreateCodeSigningConfigOutput(v **CreateC if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } - default: _, _ = key, value @@ -908,7 +898,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -921,7 +910,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -930,17 +918,14 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } - case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -949,7 +934,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } - case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -958,17 +942,14 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.EventSourceMappingArn = ptr.String(jtv) } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -977,12 +958,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.FunctionArn = ptr.String(jtv) } - case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -991,7 +970,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -1007,7 +985,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } } - case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -1016,7 +993,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.LastProcessingResult = ptr.String(jtv) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1029,7 +1005,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1042,7 +1017,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -1055,7 +1029,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -1068,32 +1041,26 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } - case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } - case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } - case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -1102,7 +1069,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.StartingPosition = types.EventSourcePosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -1118,7 +1084,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } } - case "State": if value != nil { jtv, ok := value.(string) @@ -1127,7 +1092,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.State = ptr.String(jtv) } - case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -1136,12 +1100,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.StateTransitionReason = ptr.String(jtv) } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1154,7 +1116,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1124,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -1339,7 +1299,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -1348,7 +1307,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -1361,12 +1319,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1375,22 +1331,18 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -1399,7 +1351,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -1408,7 +1359,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -1417,12 +1367,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -1431,7 +1379,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -1440,7 +1387,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -1449,7 +1395,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -1458,7 +1403,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -1467,17 +1411,14 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -1486,7 +1427,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -1499,7 +1439,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -1508,7 +1447,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -1517,7 +1455,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -1526,7 +1463,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -1535,12 +1471,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -1549,7 +1483,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -1558,12 +1491,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -1572,7 +1503,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -1581,7 +1511,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -1590,7 +1519,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -1603,12 +1531,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -1617,12 +1543,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1790,12 +1714,10 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.AuthType = types.FunctionUrlAuthType(jtv) } - case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -1804,7 +1726,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.CreationTime = ptr.String(jtv) } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -1813,7 +1734,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.FunctionArn = ptr.String(jtv) } - case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -1822,7 +1742,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.FunctionUrl = ptr.String(jtv) } - case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -1831,7 +1750,6 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.InvokeMode = types.InvokeMode(jtv) } - default: _, _ = key, value @@ -2198,7 +2116,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -2211,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -2220,17 +2136,14 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } - case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -2239,7 +2152,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.EventSourceArn = ptr.String(jtv) } - case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -2248,17 +2160,14 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.EventSourceMappingArn = ptr.String(jtv) } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -2267,12 +2176,10 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.FunctionArn = ptr.String(jtv) } - case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -2281,7 +2188,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -2297,7 +2203,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } } - case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -2306,7 +2211,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.LastProcessingResult = ptr.String(jtv) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2319,7 +2223,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2332,7 +2235,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -2345,7 +2247,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -2358,32 +2259,26 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } - case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } - case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } - case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -2392,7 +2287,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.StartingPosition = types.EventSourcePosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -2408,7 +2302,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } } - case "State": if value != nil { jtv, ok := value.(string) @@ -2417,7 +2310,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.State = ptr.String(jtv) } - case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -2426,12 +2318,10 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.StateTransitionReason = ptr.String(jtv) } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2444,7 +2334,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -2453,7 +2342,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -3341,12 +3229,10 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountLimit(&sv.AccountLimit, value); err != nil { return err } - case "AccountUsage": if err := awsRestjson1_deserializeDocumentAccountUsage(&sv.AccountUsage, value); err != nil { return err } - default: _, _ = key, value @@ -3511,7 +3397,6 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.AliasArn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3520,7 +3405,6 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.Description = ptr.String(jtv) } - case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -3529,7 +3413,6 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.FunctionVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3538,7 +3421,6 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -3547,12 +3429,10 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.RevisionId = ptr.String(jtv) } - case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3710,7 +3590,6 @@ func awsRestjson1_deserializeOpDocumentGetCodeSigningConfigOutput(v **GetCodeSig if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3871,7 +3750,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -3884,7 +3762,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -3893,17 +3770,14 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } - case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -3912,7 +3786,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.EventSourceArn = ptr.String(jtv) } - case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -3921,17 +3794,14 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.EventSourceMappingArn = ptr.String(jtv) } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -3940,12 +3810,10 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.FunctionArn = ptr.String(jtv) } - case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -3954,7 +3822,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -3970,7 +3837,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } } - case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -3979,7 +3845,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.LastProcessingResult = ptr.String(jtv) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3992,7 +3857,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4005,7 +3869,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -4018,7 +3881,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -4031,32 +3893,26 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } - case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } - case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } - case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -4065,7 +3921,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.StartingPosition = types.EventSourcePosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -4081,7 +3936,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } } - case "State": if value != nil { jtv, ok := value.(string) @@ -4090,7 +3944,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.State = ptr.String(jtv) } - case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -4099,12 +3952,10 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.StateTransitionReason = ptr.String(jtv) } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4117,7 +3968,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -4126,7 +3976,6 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -4287,27 +4136,22 @@ func awsRestjson1_deserializeOpDocumentGetFunctionOutput(v **GetFunctionOutput, if err := awsRestjson1_deserializeDocumentFunctionCodeLocation(&sv.Code, value); err != nil { return err } - case "Concurrency": if err := awsRestjson1_deserializeDocumentConcurrency(&sv.Concurrency, value); err != nil { return err } - case "Configuration": if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.Configuration, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "TagsError": if err := awsRestjson1_deserializeDocumentTagsError(&sv.TagsError, value); err != nil { return err } - default: _, _ = key, value @@ -4472,7 +4316,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionCodeSigningConfigOutput(v **Ge } sv.CodeSigningConfigArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -4481,7 +4324,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionCodeSigningConfigOutput(v **Ge } sv.FunctionName = ptr.String(jtv) } - default: _, _ = key, value @@ -4650,7 +4492,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConcurrencyOutput(v **GetFunct } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4811,7 +4652,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -4820,7 +4660,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -4833,12 +4672,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4847,22 +4684,18 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -4871,7 +4704,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -4880,7 +4712,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -4889,12 +4720,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -4903,7 +4732,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -4912,7 +4740,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -4921,7 +4748,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -4930,7 +4756,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -4939,17 +4764,14 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4780,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -4971,7 +4792,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -4980,7 +4800,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -4989,7 +4808,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -4998,7 +4816,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -5007,12 +4824,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -5021,7 +4836,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -5030,12 +4844,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -5044,7 +4856,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -5053,7 +4864,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -5062,7 +4872,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -5075,12 +4884,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -5089,12 +4896,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5255,7 +5060,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -5264,7 +5068,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.FunctionArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -5280,7 +5083,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } } - case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5293,7 +5095,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -5306,7 +5107,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5471,7 +5271,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionRecursionConfigOutput(v **GetF } sv.RecursiveLoop = types.RecursiveLoop(jtv) } - default: _, _ = key, value @@ -5636,12 +5435,10 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.AuthType = types.FunctionUrlAuthType(jtv) } - case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5650,7 +5447,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.CreationTime = ptr.String(jtv) } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -5659,7 +5455,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.FunctionArn = ptr.String(jtv) } - case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -5668,7 +5463,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.FunctionUrl = ptr.String(jtv) } - case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -5677,7 +5471,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.InvokeMode = types.InvokeMode(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -5686,7 +5479,6 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.LastModifiedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -5847,17 +5639,14 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } - case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5655,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5875,7 +5663,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.Description = ptr.String(jtv) } - case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -5884,7 +5671,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LayerArn = ptr.String(jtv) } - case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -5893,7 +5679,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LayerVersionArn = ptr.String(jtv) } - case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -5902,7 +5687,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LicenseInfo = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -5915,7 +5699,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.Version = i64 } - default: _, _ = key, value @@ -6076,17 +5859,14 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } - case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -6095,7 +5875,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6104,7 +5883,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.Description = ptr.String(jtv) } - case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -6113,7 +5891,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LayerArn = ptr.String(jtv) } - case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -6122,7 +5899,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LayerVersionArn = ptr.String(jtv) } - case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -6131,7 +5907,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LicenseInfo = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -6144,7 +5919,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.Version = i64 } - default: _, _ = key, value @@ -6309,7 +6083,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionPolicyOutput(v **GetLayerV } sv.Policy = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6318,7 +6091,6 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionPolicyOutput(v **GetLayerV } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6483,7 +6255,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6492,7 +6263,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6664,7 +6434,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -6677,7 +6446,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -6686,7 +6454,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.LastModified = ptr.String(jtv) } - case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -6699,7 +6466,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6708,7 +6474,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6717,7 +6482,6 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6882,7 +6646,6 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.FunctionArn = ptr.String(jtv) } - case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -6891,7 +6654,6 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.RuntimeVersionArn = ptr.String(jtv) } - case "UpdateRuntimeOn": if value != nil { jtv, ok := value.(string) @@ -6900,7 +6662,6 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) } - default: _, _ = key, value @@ -7607,7 +7368,6 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7616,7 +7376,6 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -7771,7 +7530,6 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode if err := awsRestjson1_deserializeDocumentCodeSigningConfigList(&sv.CodeSigningConfigs, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7780,7 +7538,6 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -7941,7 +7698,6 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve if err := awsRestjson1_deserializeDocumentEventSourceMappingsList(&sv.EventSourceMappings, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7950,7 +7706,6 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8111,7 +7866,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** if err := awsRestjson1_deserializeDocumentFunctionEventInvokeConfigList(&sv.FunctionEventInvokeConfigs, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8120,7 +7874,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8278,7 +8031,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Functions, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8287,7 +8039,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8445,7 +8196,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v if err := awsRestjson1_deserializeDocumentFunctionArnList(&sv.FunctionArns, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8454,7 +8204,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8615,7 +8364,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc if err := awsRestjson1_deserializeDocumentFunctionUrlConfigList(&sv.FunctionUrlConfigs, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8624,7 +8372,6 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8782,7 +8529,6 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va if err := awsRestjson1_deserializeDocumentLayersList(&sv.Layers, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8791,7 +8537,6 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -8952,7 +8697,6 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers if err := awsRestjson1_deserializeDocumentLayerVersionsList(&sv.LayerVersions, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8961,7 +8705,6 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -9126,12 +8869,10 @@ func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v } sv.NextMarker = ptr.String(jtv) } - case "ProvisionedConcurrencyConfigs": if err := awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigList(&sv.ProvisionedConcurrencyConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -9292,7 +9033,6 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9457,12 +9197,10 @@ func awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(v **ListVers } sv.NextMarker = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -9626,17 +9364,14 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } - case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } - case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -9645,7 +9380,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9654,7 +9388,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.Description = ptr.String(jtv) } - case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -9663,7 +9396,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LayerArn = ptr.String(jtv) } - case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -9672,7 +9404,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LayerVersionArn = ptr.String(jtv) } - case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -9681,7 +9412,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LicenseInfo = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -9694,7 +9424,6 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.Version = i64 } - default: _, _ = key, value @@ -9864,7 +9593,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -9873,7 +9601,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -9886,12 +9613,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9900,22 +9625,18 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -9924,7 +9645,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -9933,7 +9653,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -9942,12 +9661,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -9956,7 +9673,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9681,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -9974,7 +9689,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -9983,7 +9697,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -9992,17 +9705,14 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -10011,7 +9721,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -10024,7 +9733,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -10033,7 +9741,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -10042,7 +9749,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -10051,7 +9757,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -10060,12 +9765,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -10074,7 +9777,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -10083,12 +9785,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -10097,7 +9797,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10106,7 +9805,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -10115,7 +9813,6 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -10128,12 +9825,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -10142,12 +9837,10 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10318,7 +10011,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **Pu } sv.CodeSigningConfigArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -10327,7 +10019,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **Pu } sv.FunctionName = ptr.String(jtv) } - default: _, _ = key, value @@ -10499,7 +10190,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(v **PutFunct } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10663,7 +10353,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -10672,7 +10361,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.FunctionArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -10688,7 +10376,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } } - case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10701,7 +10388,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -10714,7 +10400,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10882,7 +10567,6 @@ func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutF } sv.RecursiveLoop = types.RecursiveLoop(jtv) } - default: _, _ = key, value @@ -11054,7 +10738,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -11067,7 +10750,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -11076,7 +10758,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.LastModified = ptr.String(jtv) } - case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -11089,7 +10770,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11098,7 +10778,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -11107,7 +10786,6 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -11275,7 +10953,6 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.FunctionArn = ptr.String(jtv) } - case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -11284,7 +10961,6 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.RuntimeVersionArn = ptr.String(jtv) } - case "UpdateRuntimeOn": if value != nil { jtv, ok := value.(string) @@ -11293,7 +10969,6 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) } - default: _, _ = key, value @@ -11888,7 +11563,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.AliasArn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11897,7 +11571,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.Description = ptr.String(jtv) } - case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -11906,7 +11579,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.FunctionVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11915,7 +11587,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -11924,12 +11595,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.RevisionId = ptr.String(jtv) } - case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12087,7 +11756,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCodeSigningConfigOutput(v **UpdateC if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12254,7 +11922,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -12267,7 +11934,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -12276,17 +11942,14 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } - case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -12295,7 +11958,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.EventSourceArn = ptr.String(jtv) } - case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -12304,17 +11966,14 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.EventSourceMappingArn = ptr.String(jtv) } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -12323,12 +11982,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.FunctionArn = ptr.String(jtv) } - case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -12337,7 +11994,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -12353,7 +12009,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } } - case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -12362,7 +12017,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.LastProcessingResult = ptr.String(jtv) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12375,7 +12029,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12388,7 +12041,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -12401,7 +12053,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -12414,32 +12065,26 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } - case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } - case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } - case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -12448,7 +12093,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.StartingPosition = types.EventSourcePosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -12464,7 +12108,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12473,7 +12116,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.State = ptr.String(jtv) } - case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -12482,12 +12124,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.StateTransitionReason = ptr.String(jtv) } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12500,7 +12140,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -12509,7 +12148,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -12688,7 +12326,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -12697,7 +12334,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12710,12 +12346,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12724,22 +12358,18 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -12748,7 +12378,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -12757,7 +12386,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -12766,12 +12394,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -12780,7 +12406,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -12789,7 +12414,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -12798,7 +12422,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -12807,7 +12430,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -12816,17 +12438,14 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -12835,7 +12454,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -12848,7 +12466,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -12857,7 +12474,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -12866,7 +12482,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -12875,7 +12490,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -12884,12 +12498,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -12898,7 +12510,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -12907,12 +12518,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -12921,7 +12530,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12930,7 +12538,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -12939,7 +12546,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -12952,12 +12558,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -12966,12 +12570,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13147,7 +12749,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -13156,7 +12757,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -13169,12 +12769,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13183,22 +12781,18 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -13207,7 +12801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -13216,7 +12809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -13225,12 +12817,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -13239,7 +12829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -13248,7 +12837,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -13257,7 +12845,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -13266,7 +12853,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -13275,17 +12861,14 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -13294,7 +12877,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -13307,7 +12889,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -13316,7 +12897,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -13325,7 +12905,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -13334,7 +12913,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -13343,12 +12921,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -13357,7 +12933,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -13366,12 +12941,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -13380,7 +12953,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13389,7 +12961,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -13398,7 +12969,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -13411,12 +12981,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -13425,12 +12993,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13594,7 +13160,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -13603,7 +13168,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.FunctionArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -13619,7 +13183,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } } - case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13632,7 +13195,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -13645,7 +13207,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13813,12 +13374,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.AuthType = types.FunctionUrlAuthType(jtv) } - case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -13827,7 +13386,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.CreationTime = ptr.String(jtv) } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -13836,7 +13394,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.FunctionArn = ptr.String(jtv) } - case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -13845,7 +13402,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.FunctionUrl = ptr.String(jtv) } - case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -13854,7 +13410,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.InvokeMode = types.InvokeMode(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -13863,7 +13418,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.LastModifiedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -14031,7 +13585,6 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.ErrorCode = ptr.String(jtv) } - case "ErrorDetails": if value != nil { jtv, ok := value.(string) @@ -14040,7 +13593,6 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.ErrorDetails = ptr.String(jtv) } - case "LogResult": if value != nil { jtv, ok := value.(string) @@ -14049,7 +13601,6 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.LogResult = ptr.String(jtv) } - default: _, _ = key, value @@ -15477,7 +15028,6 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.CodeSizeUnzipped = i64 } - case "CodeSizeZipped": if value != nil { jtv, ok := value.(json.Number) @@ -15490,7 +15040,6 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.CodeSizeZipped = i64 } - case "ConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -15503,7 +15052,6 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.ConcurrentExecutions = int32(i64) } - case "TotalCodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -15516,7 +15064,6 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.TotalCodeSize = i64 } - case "UnreservedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -15529,7 +15076,6 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.UnreservedConcurrentExecutions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15573,7 +15119,6 @@ func awsRestjson1_deserializeDocumentAccountUsage(v **types.AccountUsage, value } sv.FunctionCount = i64 } - case "TotalCodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -15586,7 +15131,6 @@ func awsRestjson1_deserializeDocumentAccountUsage(v **types.AccountUsage, value } sv.TotalCodeSize = i64 } - default: _, _ = key, value @@ -15687,7 +15231,6 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.AliasArn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15696,7 +15239,6 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.Description = ptr.String(jtv) } - case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -15705,7 +15247,6 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.FunctionVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15714,7 +15255,6 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.Name = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -15723,12 +15263,10 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.RevisionId = ptr.String(jtv) } - case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15798,7 +15336,6 @@ func awsRestjson1_deserializeDocumentAliasRoutingConfiguration(v **types.AliasRo if err := awsRestjson1_deserializeDocumentAdditionalVersionWeights(&sv.AdditionalVersionWeights, value); err != nil { return err } - default: _, _ = key, value @@ -15834,7 +15371,6 @@ func awsRestjson1_deserializeDocumentAllowedPublishers(v **types.AllowedPublishe if err := awsRestjson1_deserializeDocumentSigningProfileVersionArns(&sv.SigningProfileVersionArns, value); err != nil { return err } - default: _, _ = key, value @@ -15946,7 +15482,6 @@ func awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(v **typ } sv.ConsumerGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -16018,7 +15553,6 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf if err := awsRestjson1_deserializeDocumentAllowedPublishers(&sv.AllowedPublishers, value); err != nil { return err } - case "CodeSigningConfigArn": if value != nil { jtv, ok := value.(string) @@ -16027,7 +15561,6 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.CodeSigningConfigArn = ptr.String(jtv) } - case "CodeSigningConfigId": if value != nil { jtv, ok := value.(string) @@ -16036,12 +15569,10 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.CodeSigningConfigId = ptr.String(jtv) } - case "CodeSigningPolicies": if err := awsRestjson1_deserializeDocumentCodeSigningPolicies(&sv.CodeSigningPolicies, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16050,7 +15581,6 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.Description = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -16059,7 +15589,6 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.LastModified = ptr.String(jtv) } - default: _, _ = key, value @@ -16123,15 +15652,9 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16139,7 +15662,6 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16148,15 +15670,11 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16191,7 +15709,6 @@ func awsRestjson1_deserializeDocumentCodeSigningPolicies(v **types.CodeSigningPo } sv.UntrustedArtifactOnDeployment = types.CodeSigningPolicy(jtv) } - default: _, _ = key, value @@ -16221,15 +15738,9 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16237,7 +15748,6 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16246,15 +15756,11 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16279,15 +15785,9 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16295,7 +15795,6 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16304,15 +15803,11 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16423,7 +15918,6 @@ func awsRestjson1_deserializeDocumentConcurrency(v **types.Concurrency, value in } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16463,27 +15957,22 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.AllowCredentials = ptr.Bool(jtv) } - case "AllowHeaders": if err := awsRestjson1_deserializeDocumentHeadersList(&sv.AllowHeaders, value); err != nil { return err } - case "AllowMethods": if err := awsRestjson1_deserializeDocumentAllowMethodsList(&sv.AllowMethods, value); err != nil { return err } - case "AllowOrigins": if err := awsRestjson1_deserializeDocumentAllowOriginsList(&sv.AllowOrigins, value); err != nil { return err } - case "ExposeHeaders": if err := awsRestjson1_deserializeDocumentHeadersList(&sv.ExposeHeaders, value); err != nil { return err } - case "MaxAge": if value != nil { jtv, ok := value.(json.Number) @@ -16496,7 +15985,6 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.MaxAge = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16536,7 +16024,6 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16572,12 +16059,10 @@ func awsRestjson1_deserializeDocumentDestinationConfig(v **types.DestinationConf if err := awsRestjson1_deserializeDocumentOnFailure(&sv.OnFailure, value); err != nil { return err } - case "OnSuccess": if err := awsRestjson1_deserializeDocumentOnSuccess(&sv.OnSuccess, value); err != nil { return err } - default: _, _ = key, value @@ -16617,7 +16102,6 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.CollectionName = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16626,7 +16110,6 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.DatabaseName = ptr.String(jtv) } - case "FullDocument": if value != nil { jtv, ok := value.(string) @@ -16635,7 +16118,6 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.FullDocument = types.FullDocument(jtv) } - default: _, _ = key, value @@ -16665,15 +16147,9 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16681,7 +16157,6 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16690,15 +16165,11 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16723,15 +16194,9 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16739,7 +16204,6 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16748,15 +16212,11 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16781,13 +16241,7 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "EC2ErrorCode": if value != nil { @@ -16797,8 +16251,7 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.EC2ErrorCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16806,7 +16259,6 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16815,15 +16267,11 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16848,15 +16296,9 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16864,7 +16306,6 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16873,15 +16314,11 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16906,15 +16343,9 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16922,7 +16353,6 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16931,15 +16361,11 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16964,15 +16390,9 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16980,7 +16400,6 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16989,15 +16408,11 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17022,15 +16437,9 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17038,7 +16447,6 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17047,15 +16455,11 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17150,15 +16554,9 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17166,7 +16564,6 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17175,15 +16572,11 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17218,7 +16611,6 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17227,7 +16619,6 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -17263,12 +16654,10 @@ func awsRestjson1_deserializeDocumentEnvironmentResponse(v **types.EnvironmentRe if err := awsRestjson1_deserializeDocumentEnvironmentError(&sv.Error, value); err != nil { return err } - case "Variables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -17348,7 +16737,6 @@ func awsRestjson1_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17384,7 +16772,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -17397,7 +16784,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -17406,17 +16792,14 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } - case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } - case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -17425,7 +16808,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.EventSourceArn = ptr.String(jtv) } - case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -17434,17 +16816,14 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.EventSourceMappingArn = ptr.String(jtv) } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -17453,12 +16832,10 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.FunctionArn = ptr.String(jtv) } - case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -17467,7 +16844,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -17483,7 +16859,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } } - case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -17492,7 +16867,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.LastProcessingResult = ptr.String(jtv) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17505,7 +16879,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17518,7 +16891,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17531,7 +16903,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -17544,32 +16915,26 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } - case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } - case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } - case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } - case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -17578,7 +16943,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.StartingPosition = types.EventSourcePosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -17594,7 +16958,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } } - case "State": if value != nil { jtv, ok := value.(string) @@ -17603,7 +16966,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.State = ptr.String(jtv) } - case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -17612,12 +16974,10 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.StateTransitionReason = ptr.String(jtv) } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17630,7 +16990,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } - case "UUID": if value != nil { jtv, ok := value.(string) @@ -17639,7 +16998,6 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.UUID = ptr.String(jtv) } - default: _, _ = key, value @@ -17713,7 +17071,6 @@ func awsRestjson1_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.Arn = ptr.String(jtv) } - case "LocalMountPath": if value != nil { jtv, ok := value.(string) @@ -17722,7 +17079,6 @@ func awsRestjson1_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.LocalMountPath = ptr.String(jtv) } - default: _, _ = key, value @@ -17796,7 +17152,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -17832,7 +17187,6 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -17872,7 +17226,6 @@ func awsRestjson1_deserializeDocumentFilterCriteriaError(v **types.FilterCriteri } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17881,7 +17234,6 @@ func awsRestjson1_deserializeDocumentFilterCriteriaError(v **types.FilterCriteri } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -17991,7 +17343,6 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.ImageUri = ptr.String(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -18000,7 +17351,6 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.Location = ptr.String(jtv) } - case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -18009,7 +17359,6 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.RepositoryType = ptr.String(jtv) } - case "ResolvedImageUri": if value != nil { jtv, ok := value.(string) @@ -18018,7 +17367,6 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.ResolvedImageUri = ptr.String(jtv) } - default: _, _ = key, value @@ -18054,7 +17402,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -18063,7 +17410,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -18076,12 +17422,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.CodeSize = i64 } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18090,22 +17434,18 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Description = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -18114,7 +17454,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionArn = ptr.String(jtv) } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -18123,7 +17462,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -18132,12 +17470,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Handler = ptr.String(jtv) } - case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } - case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -18146,7 +17482,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.KMSKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -18155,7 +17490,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastModified = ptr.String(jtv) } - case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -18164,7 +17498,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } - case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -18173,7 +17506,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatusReason = ptr.String(jtv) } - case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -18182,17 +17514,14 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } - case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -18201,7 +17530,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -18214,7 +17542,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -18223,7 +17550,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.PackageType = types.PackageType(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -18232,7 +17558,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -18241,7 +17566,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -18250,12 +17574,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -18264,7 +17586,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -18273,12 +17594,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.SigningProfileVersionArn = ptr.String(jtv) } - case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -18287,7 +17606,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.State = types.State(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -18296,7 +17614,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -18305,7 +17622,6 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.StateReasonCode = types.StateReasonCode(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -18318,12 +17634,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -18332,12 +17646,10 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18373,7 +17685,6 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -18382,7 +17693,6 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.FunctionArn = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -18398,7 +17708,6 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } } - case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18411,7 +17720,6 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -18424,7 +17732,6 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18568,12 +17875,10 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.AuthType = types.FunctionUrlAuthType(jtv) } - case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -18582,7 +17887,6 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.CreationTime = ptr.String(jtv) } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -18591,7 +17895,6 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.FunctionArn = ptr.String(jtv) } - case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -18600,7 +17903,6 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.FunctionUrl = ptr.String(jtv) } - case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -18609,7 +17911,6 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.InvokeMode = types.InvokeMode(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -18618,7 +17919,6 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.LastModifiedTime = ptr.String(jtv) } - default: _, _ = key, value @@ -18724,12 +18024,10 @@ func awsRestjson1_deserializeDocumentImageConfig(v **types.ImageConfig, value in if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "EntryPoint": if err := awsRestjson1_deserializeDocumentStringList(&sv.EntryPoint, value); err != nil { return err } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -18738,7 +18036,6 @@ func awsRestjson1_deserializeDocumentImageConfig(v **types.ImageConfig, value in } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -18778,7 +18075,6 @@ func awsRestjson1_deserializeDocumentImageConfigError(v **types.ImageConfigError } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -18787,7 +18083,6 @@ func awsRestjson1_deserializeDocumentImageConfigError(v **types.ImageConfigError } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -18823,12 +18118,10 @@ func awsRestjson1_deserializeDocumentImageConfigResponse(v **types.ImageConfigRe if err := awsRestjson1_deserializeDocumentImageConfigError(&sv.Error, value); err != nil { return err } - case "ImageConfig": if err := awsRestjson1_deserializeDocumentImageConfig(&sv.ImageConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18858,15 +18151,9 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18874,7 +18161,6 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18883,15 +18169,11 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18916,15 +18198,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18932,7 +18208,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18941,15 +18216,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18974,15 +18245,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18990,7 +18255,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18999,15 +18263,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19032,15 +18292,9 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19048,7 +18302,6 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19057,15 +18310,11 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19090,15 +18339,9 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19106,7 +18349,6 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19115,15 +18357,11 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19148,15 +18386,9 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19164,7 +18396,6 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19173,15 +18404,11 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19206,15 +18433,9 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19222,7 +18443,6 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19231,15 +18451,11 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19264,15 +18480,9 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19280,7 +18490,6 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19289,15 +18498,11 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19322,15 +18527,9 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19338,7 +18537,6 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19347,15 +18545,11 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19380,15 +18574,9 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19396,7 +18584,6 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19405,15 +18592,11 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19438,15 +18621,9 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19454,7 +18631,6 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19463,15 +18639,11 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19506,7 +18678,6 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -19519,7 +18690,6 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CodeSize = i64 } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -19528,7 +18698,6 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -19537,7 +18706,6 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.SigningProfileVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19607,7 +18775,6 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va if err := awsRestjson1_deserializeDocumentLayerVersionsListItem(&sv.LatestMatchingVersion, value); err != nil { return err } - case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -19616,7 +18783,6 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va } sv.LayerArn = ptr.String(jtv) } - case "LayerName": if value != nil { jtv, ok := value.(string) @@ -19625,7 +18791,6 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va } sv.LayerName = ptr.String(jtv) } - default: _, _ = key, value @@ -19699,7 +18864,6 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.CodeSha256 = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -19712,7 +18876,6 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.CodeSize = i64 } - case "Location": if value != nil { jtv, ok := value.(string) @@ -19721,7 +18884,6 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.Location = ptr.String(jtv) } - case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -19730,7 +18892,6 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.SigningJobArn = ptr.String(jtv) } - case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -19739,7 +18900,6 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.SigningProfileVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19809,12 +18969,10 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } - case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -19823,7 +18981,6 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19832,7 +18989,6 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.Description = ptr.String(jtv) } - case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -19841,7 +18997,6 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.LayerVersionArn = ptr.String(jtv) } - case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -19850,7 +19005,6 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.LicenseInfo = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -19863,7 +19017,6 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.Version = i64 } - default: _, _ = key, value @@ -19903,7 +19056,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.ApplicationLogLevel = types.ApplicationLogLevel(jtv) } - case "LogFormat": if value != nil { jtv, ok := value.(string) @@ -19912,7 +19064,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.LogFormat = types.LogFormat(jtv) } - case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -19921,7 +19072,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.LogGroup = ptr.String(jtv) } - case "SystemLogLevel": if value != nil { jtv, ok := value.(string) @@ -19930,7 +19080,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.SystemLogLevel = types.SystemLogLevel(jtv) } - default: _, _ = key, value @@ -19970,7 +19119,6 @@ func awsRestjson1_deserializeDocumentOnFailure(v **types.OnFailure, value interf } sv.Destination = ptr.String(jtv) } - default: _, _ = key, value @@ -20010,7 +19158,6 @@ func awsRestjson1_deserializeDocumentOnSuccess(v **types.OnSuccess, value interf } sv.Destination = ptr.String(jtv) } - default: _, _ = key, value @@ -20040,15 +19187,9 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20056,7 +19197,6 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20065,15 +19205,11 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20098,15 +19234,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20114,7 +19244,6 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20123,15 +19252,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20204,7 +19329,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -20217,7 +19341,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -20226,7 +19349,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.FunctionArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -20235,7 +19357,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.LastModified = ptr.String(jtv) } - case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -20248,7 +19369,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20257,7 +19377,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -20266,7 +19385,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -20296,15 +19414,9 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20312,7 +19424,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20321,15 +19432,11 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20390,15 +19497,9 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20406,7 +19507,6 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20415,15 +19515,11 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20448,15 +19544,9 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20464,7 +19554,6 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20473,15 +19562,11 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20506,15 +19591,9 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20522,7 +19601,6 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20531,15 +19609,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20564,15 +19638,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20580,7 +19648,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20589,15 +19656,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20622,15 +19685,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20638,7 +19695,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20647,15 +19703,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20680,15 +19732,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20696,7 +19742,6 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20705,15 +19750,11 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20744,7 +19785,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersionConfig(v **types.RuntimeVersi if err := awsRestjson1_deserializeDocumentRuntimeVersionError(&sv.Error, value); err != nil { return err } - case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -20753,7 +19793,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersionConfig(v **types.RuntimeVersi } sv.RuntimeVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20793,7 +19832,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersionError(v **types.RuntimeVersio } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -20802,7 +19840,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersionError(v **types.RuntimeVersio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -20846,7 +19883,6 @@ func awsRestjson1_deserializeDocumentScalingConfig(v **types.ScalingConfig, valu } sv.MaximumConcurrency = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20918,7 +19954,6 @@ func awsRestjson1_deserializeDocumentSelfManagedEventSource(v **types.SelfManage if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -20958,7 +19993,6 @@ func awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(v **types } sv.ConsumerGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -20988,15 +20022,9 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21004,7 +20032,6 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21013,15 +20040,11 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21082,15 +20105,9 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21098,7 +20115,6 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21107,15 +20123,11 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21140,15 +20152,9 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21156,7 +20162,6 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21165,15 +20170,11 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21208,7 +20209,6 @@ func awsRestjson1_deserializeDocumentSnapStartResponse(v **types.SnapStartRespon } sv.ApplyOn = types.SnapStartApplyOn(jtv) } - case "OptimizationStatus": if value != nil { jtv, ok := value.(string) @@ -21217,7 +20217,6 @@ func awsRestjson1_deserializeDocumentSnapStartResponse(v **types.SnapStartRespon } sv.OptimizationStatus = types.SnapStartOptimizationStatus(jtv) } - default: _, _ = key, value @@ -21247,15 +20246,9 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21263,7 +20256,6 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21272,15 +20264,11 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21315,7 +20303,6 @@ func awsRestjson1_deserializeDocumentSourceAccessConfiguration(v **types.SourceA } sv.Type = types.SourceAccessType(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -21324,7 +20311,6 @@ func awsRestjson1_deserializeDocumentSourceAccessConfiguration(v **types.SourceA } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -21460,15 +20446,9 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21476,7 +20456,6 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21485,15 +20464,11 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21564,7 +20539,6 @@ func awsRestjson1_deserializeDocumentTagsError(v **types.TagsError, value interf } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -21573,7 +20547,6 @@ func awsRestjson1_deserializeDocumentTagsError(v **types.TagsError, value interf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -21603,15 +20576,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21619,7 +20586,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -21628,7 +20594,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Reason = types.ThrottleReason(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -21637,7 +20602,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RetryAfterSeconds = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21646,15 +20610,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21725,7 +20685,6 @@ func awsRestjson1_deserializeDocumentTracingConfigResponse(v **types.TracingConf } sv.Mode = types.TracingMode(jtv) } - default: _, _ = key, value @@ -21755,15 +20714,9 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21771,7 +20724,6 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21780,15 +20732,11 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21823,17 +20771,14 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.Ipv6AllowedForDualStack = ptr.Bool(jtv) } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -21842,7 +20787,6 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/launchwizard/deserializers.go b/service/launchwizard/deserializers.go index 05f30730905..fcd64797a4c 100644 --- a/service/launchwizard/deserializers.go +++ b/service/launchwizard/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -349,7 +348,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme } sv.Status = types.DeploymentStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -358,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -516,7 +513,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentDeploymentData(&sv.Deployment, value); err != nil { return err } - default: _, _ = key, value @@ -674,7 +670,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadOutput(v **GetWorkloadOutput, if err := awsRestjson1_deserializeDocumentWorkloadData(&sv.Workload, value); err != nil { return err } - default: _, _ = key, value @@ -832,7 +827,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadDeploymentPatternOutput(v **Ge if err := awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(&sv.WorkloadDeploymentPattern, value); err != nil { return err } - default: _, _ = key, value @@ -990,7 +984,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentEventsOutput(v **ListDeploy if err := awsRestjson1_deserializeDocumentDeploymentEventDataSummaryList(&sv.DeploymentEvents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -999,7 +992,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentEventsOutput(v **ListDeploy } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1154,7 +1146,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentDataSummaryList(&sv.Deployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1154,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1321,7 +1311,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1483,12 +1472,10 @@ func awsRestjson1_deserializeOpDocumentListWorkloadDeploymentPatternsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "workloadDeploymentPatterns": if err := awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummaryList(&sv.WorkloadDeploymentPatterns, value); err != nil { return err } - default: _, _ = key, value @@ -1647,12 +1634,10 @@ func awsRestjson1_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } - case "workloads": if err := awsRestjson1_deserializeDocumentWorkloadDataSummaryList(&sv.Workloads, value); err != nil { return err } - default: _, _ = key, value @@ -2060,7 +2045,6 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Comparator = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2069,7 +2053,6 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2078,7 +2061,6 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2125,7 +2107,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } } - case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -2141,7 +2122,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } } - case "deploymentArn": if value != nil { jtv, ok := value.(string) @@ -2150,7 +2130,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.DeploymentArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2159,7 +2138,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2168,7 +2146,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Name = ptr.String(jtv) } - case "patternName": if value != nil { jtv, ok := value.(string) @@ -2177,7 +2154,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.PatternName = ptr.String(jtv) } - case "resourceGroup": if value != nil { jtv, ok := value.(string) @@ -2186,12 +2162,10 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.ResourceGroup = ptr.String(jtv) } - case "specifications": if err := awsRestjson1_deserializeDocumentDeploymentSpecifications(&sv.Specifications, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2200,12 +2174,10 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Status = types.DeploymentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2214,7 +2186,6 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -2261,7 +2232,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } } - case "id": if value != nil { jtv, ok := value.(string) @@ -2270,7 +2240,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2279,7 +2248,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Name = ptr.String(jtv) } - case "patternName": if value != nil { jtv, ok := value.(string) @@ -2288,7 +2256,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.PatternName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2297,7 +2264,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Status = types.DeploymentStatus(jtv) } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2306,7 +2272,6 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -2380,7 +2345,6 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2389,7 +2353,6 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2398,7 +2361,6 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Status = types.EventStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2407,7 +2369,6 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.StatusReason = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -2423,7 +2384,6 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } } - default: _, _ = key, value @@ -2563,12 +2523,10 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep if err := awsRestjson1_deserializeDocumentAllowedValues(&sv.AllowedValues, value); err != nil { return err } - case "conditionals": if err := awsRestjson1_deserializeDocumentSpecificationsConditionalData(&sv.Conditionals, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -2577,7 +2535,6 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2543,6 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Name = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2551,6 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Required = ptr.String(jtv) } - default: _, _ = key, value @@ -2625,15 +2580,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2641,15 +2590,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2674,15 +2619,9 @@ func awsRestjson1_deserializeDocumentResourceLimitException(v **types.ResourceLi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2690,15 +2629,11 @@ func awsRestjson1_deserializeDocumentResourceLimitException(v **types.ResourceLi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2723,15 +2658,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2739,15 +2668,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2842,15 +2767,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2858,15 +2777,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2901,7 +2816,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -2910,7 +2824,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.DisplayName = ptr.String(jtv) } - case "documentationUrl": if value != nil { jtv, ok := value.(string) @@ -2919,7 +2832,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.DocumentationUrl = ptr.String(jtv) } - case "iconUrl": if value != nil { jtv, ok := value.(string) @@ -2928,7 +2840,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.IconUrl = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2937,7 +2848,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.Status = types.WorkloadStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2946,7 +2856,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.StatusMessage = ptr.String(jtv) } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2955,7 +2864,6 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -2995,7 +2903,6 @@ func awsRestjson1_deserializeDocumentWorkloadDataSummary(v **types.WorkloadDataS } sv.DisplayName = ptr.String(jtv) } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -3004,7 +2911,6 @@ func awsRestjson1_deserializeDocumentWorkloadDataSummary(v **types.WorkloadDataS } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -3078,7 +2984,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.DeploymentPatternName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3087,7 +2992,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -3096,12 +3000,10 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.DisplayName = ptr.String(jtv) } - case "specifications": if err := awsRestjson1_deserializeDocumentDeploymentSpecificationsData(&sv.Specifications, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3110,7 +3012,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.Status = types.WorkloadDeploymentPatternStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3119,7 +3020,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.StatusMessage = ptr.String(jtv) } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -3128,7 +3028,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.WorkloadName = ptr.String(jtv) } - case "workloadVersionName": if value != nil { jtv, ok := value.(string) @@ -3137,7 +3036,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.WorkloadVersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -3177,7 +3075,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.DeploymentPatternName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3186,7 +3083,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -3195,7 +3091,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.DisplayName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3204,7 +3099,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.Status = types.WorkloadDeploymentPatternStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3213,7 +3107,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.StatusMessage = ptr.String(jtv) } - case "workloadName": if value != nil { jtv, ok := value.(string) @@ -3222,7 +3115,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.WorkloadName = ptr.String(jtv) } - case "workloadVersionName": if value != nil { jtv, ok := value.(string) @@ -3231,7 +3123,6 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.WorkloadVersionName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/lexmodelbuildingservice/deserializers.go b/service/lexmodelbuildingservice/deserializers.go index edf657dfb89..8b1d5b7c9ec 100644 --- a/service/lexmodelbuildingservice/deserializers.go +++ b/service/lexmodelbuildingservice/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -197,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Checksum = ptr.String(jtv) } - case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -206,12 +204,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.ChildDirected = ptr.Bool(jtv) } - case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -227,7 +223,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -236,7 +231,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Description = ptr.String(jtv) } - case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -245,7 +239,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.DetectSentiment = ptr.Bool(jtv) } - case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -254,7 +247,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.EnableModelImprovements = ptr.Bool(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -263,7 +255,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.FailureReason = ptr.String(jtv) } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -276,12 +267,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -297,7 +286,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } - case "locale": if value != nil { jtv, ok := value.(string) @@ -306,7 +294,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Locale = types.Locale(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -315,7 +302,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -324,7 +310,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Status = types.Status(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -333,7 +318,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Version = ptr.String(jtv) } - case "voiceId": if value != nil { jtv, ok := value.(string) @@ -342,7 +326,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.VoiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -513,17 +496,14 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Checksum = ptr.String(jtv) } - case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } - case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -539,7 +519,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } } - case "description": if value != nil { jtv, ok := value.(string) @@ -548,32 +527,26 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } - case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } - case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -589,7 +562,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } } - case "name": if value != nil { jtv, ok := value.(string) @@ -598,12 +570,10 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Name = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -612,22 +582,18 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.ParentIntentSignature = ptr.String(jtv) } - case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } - case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -636,7 +602,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -807,7 +772,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Checksum = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -823,7 +787,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -832,12 +795,10 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Description = ptr.String(jtv) } - case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -853,7 +814,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -862,7 +822,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Name = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -871,12 +830,10 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } - case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -885,7 +842,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -894,7 +850,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2027,7 +1982,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -2036,7 +1990,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Checksum = ptr.String(jtv) } - case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -2045,12 +1998,10 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.ChildDirected = ptr.Bool(jtv) } - case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2066,7 +2017,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2075,7 +2025,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Description = ptr.String(jtv) } - case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -2084,7 +2033,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.DetectSentiment = ptr.Bool(jtv) } - case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -2093,7 +2041,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.EnableModelImprovements = ptr.Bool(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -2102,7 +2049,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.FailureReason = ptr.String(jtv) } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2115,12 +2061,10 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2136,7 +2080,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } - case "locale": if value != nil { jtv, ok := value.(string) @@ -2145,7 +2088,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Locale = types.Locale(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2154,7 +2096,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Name = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -2188,7 +2129,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -2197,7 +2137,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Status = types.Status(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -2206,7 +2145,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Version = ptr.String(jtv) } - case "voiceId": if value != nil { jtv, ok := value.(string) @@ -2215,7 +2153,6 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.VoiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -2380,7 +2317,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.BotName = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -2389,7 +2325,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.BotVersion = ptr.String(jtv) } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -2398,12 +2333,10 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Checksum = ptr.String(jtv) } - case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2419,7 +2352,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2428,7 +2360,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2444,7 +2375,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2453,7 +2383,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2611,7 +2540,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasesOutput(v **GetBotAliasesOutp if err := awsRestjson1_deserializeDocumentBotAliasMetadataList(&sv.BotAliases, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2620,7 +2548,6 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasesOutput(v **GetBotAliasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2785,12 +2712,10 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.BotAlias = ptr.String(jtv) } - case "botConfiguration": if err := awsRestjson1_deserializeDocumentChannelConfigurationMap(&sv.BotConfiguration, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -2799,7 +2724,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.BotName = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2815,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2824,7 +2747,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Description = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -2833,7 +2755,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.FailureReason = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2842,7 +2763,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2851,7 +2771,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Status = types.ChannelStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2860,7 +2779,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -3018,7 +2936,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationsOutput(v **GetBo if err := awsRestjson1_deserializeDocumentBotChannelAssociationList(&sv.BotChannelAssociations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3027,7 +2944,6 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationsOutput(v **GetBo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3188,7 +3104,6 @@ func awsRestjson1_deserializeOpDocumentGetBotsOutput(v **GetBotsOutput, value in if err := awsRestjson1_deserializeDocumentBotMetadataList(&sv.Bots, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3197,7 +3112,6 @@ func awsRestjson1_deserializeOpDocumentGetBotsOutput(v **GetBotsOutput, value in } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3358,7 +3272,6 @@ func awsRestjson1_deserializeOpDocumentGetBotVersionsOutput(v **GetBotVersionsOu if err := awsRestjson1_deserializeDocumentBotMetadataList(&sv.Bots, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3367,7 +3280,6 @@ func awsRestjson1_deserializeOpDocumentGetBotVersionsOutput(v **GetBotVersionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3532,17 +3444,14 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentOutput(v **GetBuiltinInte } sv.Signature = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentBuiltinIntentSlotList(&sv.Slots, value); err != nil { return err } - case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } - default: _, _ = key, value @@ -3700,7 +3609,6 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentsOutput(v **GetBuiltinInt if err := awsRestjson1_deserializeDocumentBuiltinIntentMetadataList(&sv.Intents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3709,7 +3617,6 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentsOutput(v **GetBuiltinInt } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3871,12 +3778,10 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinSlotTypesOutput(v **GetBuiltinS } sv.NextToken = ptr.String(jtv) } - case "slotTypes": if err := awsRestjson1_deserializeDocumentBuiltinSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } - default: _, _ = key, value @@ -4041,7 +3946,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ExportStatus = types.ExportStatus(jtv) } - case "exportType": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3954,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ExportType = types.ExportType(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4059,7 +3962,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.FailureReason = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4068,7 +3970,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4077,7 +3978,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ResourceType = types.ResourceType(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -4086,7 +3986,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Url = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4095,7 +3994,6 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4267,12 +4165,10 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } - case "failureReason": if err := awsRestjson1_deserializeDocumentStringList(&sv.FailureReason, value); err != nil { return err } - case "importId": if value != nil { jtv, ok := value.(string) @@ -4281,7 +4177,6 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -4290,7 +4185,6 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportStatus = types.ImportStatus(jtv) } - case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -4299,7 +4193,6 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.MergeStrategy = types.MergeStrategy(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4308,7 +4201,6 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4317,7 +4209,6 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -4482,17 +4373,14 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Checksum = ptr.String(jtv) } - case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } - case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -4508,7 +4396,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4517,32 +4404,26 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } - case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } - case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -4558,7 +4439,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -4567,12 +4447,10 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Name = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -4581,22 +4459,18 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.ParentIntentSignature = ptr.String(jtv) } - case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } - case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -4605,7 +4479,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4766,7 +4639,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentsOutput(v **GetIntentsOutput, va if err := awsRestjson1_deserializeDocumentIntentMetadataList(&sv.Intents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4775,7 +4647,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentsOutput(v **GetIntentsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4936,7 +4807,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentVersionsOutput(v **GetIntentVers if err := awsRestjson1_deserializeDocumentIntentMetadataList(&sv.Intents, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4945,7 +4815,6 @@ func awsRestjson1_deserializeOpDocumentGetIntentVersionsOutput(v **GetIntentVers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5106,7 +4975,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput if err := awsRestjson1_deserializeDocumentMigrationAlerts(&sv.Alerts, value); err != nil { return err } - case "migrationId": if value != nil { jtv, ok := value.(string) @@ -5115,7 +4983,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationId = ptr.String(jtv) } - case "migrationStatus": if value != nil { jtv, ok := value.(string) @@ -5124,7 +4991,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationStatus = types.MigrationStatus(jtv) } - case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -5133,7 +4999,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationStrategy = types.MigrationStrategy(jtv) } - case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5149,7 +5014,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } } - case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -5158,7 +5022,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotLocale = types.Locale(jtv) } - case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -5167,7 +5030,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotName = ptr.String(jtv) } - case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -5176,7 +5038,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotVersion = ptr.String(jtv) } - case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -5185,7 +5046,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V2BotId = ptr.String(jtv) } - case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -5194,7 +5054,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V2BotRole = ptr.String(jtv) } - default: _, _ = key, value @@ -5352,7 +5211,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationsOutput(v **GetMigrationsOutp if err := awsRestjson1_deserializeDocumentMigrationSummaryList(&sv.MigrationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5361,7 +5219,6 @@ func awsRestjson1_deserializeOpDocumentGetMigrationsOutput(v **GetMigrationsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5526,7 +5383,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Checksum = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -5542,7 +5398,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5551,12 +5406,10 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Description = ptr.String(jtv) } - case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -5572,7 +5425,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5581,7 +5433,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Name = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -5590,12 +5441,10 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } - case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -5604,7 +5453,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5613,7 +5461,6 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5778,12 +5625,10 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypesOutput(v **GetSlotTypesOutput } sv.NextToken = ptr.String(jtv) } - case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } - default: _, _ = key, value @@ -5948,12 +5793,10 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeVersionsOutput(v **GetSlotType } sv.NextToken = ptr.String(jtv) } - case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } - default: _, _ = key, value @@ -6115,12 +5958,10 @@ func awsRestjson1_deserializeOpDocumentGetUtterancesViewOutput(v **GetUtterances } sv.BotName = ptr.String(jtv) } - case "utterances": if err := awsRestjson1_deserializeDocumentListsOfUtterances(&sv.Utterances, value); err != nil { return err } - default: _, _ = key, value @@ -6281,7 +6122,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6445,7 +6285,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -6454,7 +6293,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Checksum = ptr.String(jtv) } - case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -6463,12 +6301,10 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.ChildDirected = ptr.Bool(jtv) } - case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6484,7 +6320,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } - case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -6493,7 +6328,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.CreateVersion = ptr.Bool(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6336,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Description = ptr.String(jtv) } - case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -6511,7 +6344,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.DetectSentiment = ptr.Bool(jtv) } - case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -6520,7 +6352,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.EnableModelImprovements = ptr.Bool(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6529,7 +6360,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.FailureReason = ptr.String(jtv) } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6542,12 +6372,10 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6563,7 +6391,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } - case "locale": if value != nil { jtv, ok := value.(string) @@ -6572,7 +6399,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Locale = types.Locale(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6581,7 +6407,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Name = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -6615,7 +6440,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6624,12 +6448,10 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Status = types.Status(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -6638,7 +6460,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Version = ptr.String(jtv) } - case "voiceId": if value != nil { jtv, ok := value.(string) @@ -6647,7 +6468,6 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.VoiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6815,7 +6635,6 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.BotName = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6824,7 +6643,6 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.BotVersion = ptr.String(jtv) } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -6833,12 +6651,10 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Checksum = ptr.String(jtv) } - case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6854,7 +6670,6 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6863,7 +6678,6 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6879,7 +6693,6 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6888,12 +6701,10 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7061,17 +6872,14 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Checksum = ptr.String(jtv) } - case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } - case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7087,7 +6895,6 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } } - case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -7096,7 +6903,6 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.CreateVersion = ptr.Bool(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7105,32 +6911,26 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } - case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } - case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -7146,7 +6946,6 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7155,12 +6954,10 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Name = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -7169,22 +6966,18 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.ParentIntentSignature = ptr.String(jtv) } - case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } - case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -7193,7 +6986,6 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7361,7 +7153,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Checksum = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7377,7 +7168,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } } - case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -7386,7 +7176,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.CreateVersion = ptr.Bool(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7395,12 +7184,10 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Description = ptr.String(jtv) } - case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -7416,7 +7203,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7425,7 +7211,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Name = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -7434,12 +7219,10 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } - case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -7448,7 +7231,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -7457,7 +7239,6 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7626,7 +7407,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - case "importId": if value != nil { jtv, ok := value.(string) @@ -7635,7 +7415,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -7644,7 +7423,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } - case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -7653,7 +7431,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.MergeStrategy = types.MergeStrategy(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7439,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7671,12 +7447,10 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ResourceType = types.ResourceType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7844,7 +7618,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.MigrationId = ptr.String(jtv) } - case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -7853,7 +7626,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.MigrationStrategy = types.MigrationStrategy(jtv) } - case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -7869,7 +7641,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } } - case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -7878,7 +7649,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotLocale = types.Locale(jtv) } - case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -7887,7 +7657,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotName = ptr.String(jtv) } - case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -7896,7 +7665,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotVersion = ptr.String(jtv) } - case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -7905,7 +7673,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V2BotId = ptr.String(jtv) } - case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -7914,7 +7681,6 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V2BotRole = ptr.String(jtv) } - default: _, _ = key, value @@ -8448,15 +8214,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8464,15 +8224,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8497,15 +8253,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8513,15 +8263,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8556,7 +8302,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.BotName = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8565,7 +8310,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.BotVersion = ptr.String(jtv) } - case "checksum": if value != nil { jtv, ok := value.(string) @@ -8574,12 +8318,10 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Checksum = ptr.String(jtv) } - case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -8595,7 +8337,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8604,7 +8345,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8620,7 +8360,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8629,7 +8368,6 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8703,12 +8441,10 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.BotAlias = ptr.String(jtv) } - case "botConfiguration": if err := awsRestjson1_deserializeDocumentChannelConfigurationMap(&sv.BotConfiguration, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -8717,7 +8453,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.BotName = ptr.String(jtv) } - case "createdDate": if value != nil { switch jtv := value.(type) { @@ -8733,7 +8468,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8742,7 +8476,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Description = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8751,7 +8484,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.FailureReason = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8760,7 +8492,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8769,7 +8500,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Status = types.ChannelStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8778,7 +8508,6 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -8859,7 +8588,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8868,7 +8596,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8884,7 +8611,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8893,7 +8619,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8902,7 +8627,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Status = types.Status(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -8911,7 +8635,6 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8985,12 +8708,10 @@ func awsRestjson1_deserializeDocumentBuiltinIntentMetadata(v **types.BuiltinInte } sv.Signature = ptr.String(jtv) } - case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } - default: _, _ = key, value @@ -9064,7 +8785,6 @@ func awsRestjson1_deserializeDocumentBuiltinIntentSlot(v **types.BuiltinIntentSl } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9138,12 +8858,10 @@ func awsRestjson1_deserializeDocumentBuiltinSlotTypeMetadata(v **types.BuiltinSl } sv.Signature = ptr.String(jtv) } - case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } - default: _, _ = key, value @@ -9253,7 +8971,6 @@ func awsRestjson1_deserializeDocumentCodeHook(v **types.CodeHook, value interfac } sv.MessageVersion = ptr.String(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -9262,7 +8979,6 @@ func awsRestjson1_deserializeDocumentCodeHook(v **types.CodeHook, value interfac } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -9292,15 +9008,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9308,15 +9018,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9351,12 +9057,10 @@ func awsRestjson1_deserializeDocumentConversationLogsResponse(v **types.Conversa } sv.IamRoleArn = ptr.String(jtv) } - case "logSettings": if err := awsRestjson1_deserializeDocumentLogSettingsResponseList(&sv.LogSettings, value); err != nil { return err } - default: _, _ = key, value @@ -9392,7 +9096,6 @@ func awsRestjson1_deserializeDocumentEnumerationValue(v **types.EnumerationValue if err := awsRestjson1_deserializeDocumentSynonymList(&sv.Synonyms, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -9401,7 +9104,6 @@ func awsRestjson1_deserializeDocumentEnumerationValue(v **types.EnumerationValue } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9471,12 +9173,10 @@ func awsRestjson1_deserializeDocumentFollowUpPrompt(v **types.FollowUpPrompt, va if err := awsRestjson1_deserializeDocumentPrompt(&sv.Prompt, value); err != nil { return err } - case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } - default: _, _ = key, value @@ -9512,7 +9212,6 @@ func awsRestjson1_deserializeDocumentFulfillmentActivity(v **types.FulfillmentAc if err := awsRestjson1_deserializeDocumentCodeHook(&sv.CodeHook, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9521,7 +9220,6 @@ func awsRestjson1_deserializeDocumentFulfillmentActivity(v **types.FulfillmentAc } sv.Type = types.FulfillmentActivityType(jtv) } - default: _, _ = key, value @@ -9561,7 +9259,6 @@ func awsRestjson1_deserializeDocumentInputContext(v **types.InputContext, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9635,7 +9332,6 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.IntentName = ptr.String(jtv) } - case "intentVersion": if value != nil { jtv, ok := value.(string) @@ -9644,7 +9340,6 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.IntentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9725,7 +9420,6 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9734,7 +9428,6 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -9750,7 +9443,6 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9759,7 +9451,6 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -9768,7 +9459,6 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9868,15 +9558,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9884,15 +9568,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9927,7 +9607,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.KendraIndex = ptr.String(jtv) } - case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -9936,7 +9615,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterString = ptr.String(jtv) } - case "role": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9623,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.Role = ptr.String(jtv) } - default: _, _ = key, value @@ -9975,15 +9652,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9991,7 +9662,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -10000,15 +9670,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10147,7 +9813,6 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.Destination = types.Destination(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -10156,7 +9821,6 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.KmsKeyArn = ptr.String(jtv) } - case "logType": if value != nil { jtv, ok := value.(string) @@ -10165,7 +9829,6 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.LogType = types.LogType(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -10174,7 +9837,6 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.ResourceArn = ptr.String(jtv) } - case "resourcePrefix": if value != nil { jtv, ok := value.(string) @@ -10183,7 +9845,6 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.ResourcePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -10257,7 +9918,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Content = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -10266,7 +9926,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ContentType = types.ContentType(jtv) } - case "groupNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10279,7 +9938,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.GroupNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10349,7 +10007,6 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va if err := awsRestjson1_deserializeDocumentMigrationAlertDetails(&sv.Details, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -10358,12 +10015,10 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va } sv.Message = ptr.String(jtv) } - case "referenceURLs": if err := awsRestjson1_deserializeDocumentMigrationAlertReferenceURLs(&sv.ReferenceURLs, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10372,7 +10027,6 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va } sv.Type = types.MigrationAlertType(jtv) } - default: _, _ = key, value @@ -10518,7 +10172,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationId = ptr.String(jtv) } - case "migrationStatus": if value != nil { jtv, ok := value.(string) @@ -10527,7 +10180,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationStatus = types.MigrationStatus(jtv) } - case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -10536,7 +10188,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationStrategy = types.MigrationStrategy(jtv) } - case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -10552,7 +10203,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } } - case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10211,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotLocale = types.Locale(jtv) } - case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -10570,7 +10219,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotName = ptr.String(jtv) } - case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -10579,7 +10227,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotVersion = ptr.String(jtv) } - case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -10588,7 +10235,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V2BotId = ptr.String(jtv) } - case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -10597,7 +10243,6 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V2BotRole = ptr.String(jtv) } - default: _, _ = key, value @@ -10661,15 +10306,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10677,15 +10316,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10720,7 +10355,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.Name = ptr.String(jtv) } - case "timeToLiveInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10733,7 +10367,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } - case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -10746,7 +10379,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TurnsToLive = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10810,15 +10442,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10826,15 +10452,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10873,12 +10495,10 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.MaxAttempts = ptr.Int32(int32(i64)) } - case "messages": if err := awsRestjson1_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } - case "responseCard": if value != nil { jtv, ok := value.(string) @@ -10887,7 +10507,6 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.ResponseCard = ptr.String(jtv) } - default: _, _ = key, value @@ -10917,19 +10536,12 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "exampleReference": if err := awsRestjson1_deserializeDocumentResourceReference(&sv.ExampleReference, value); err != nil { return err } - case "referenceType": if value != nil { jtv, ok := value.(string) @@ -10938,15 +10550,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ReferenceType = types.ReferenceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10981,7 +10589,6 @@ func awsRestjson1_deserializeDocumentResourceReference(v **types.ResourceReferen } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10597,6 @@ func awsRestjson1_deserializeDocumentResourceReference(v **types.ResourceReferen } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11026,7 +10632,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpec(&sv.DefaultValueSpec, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -11035,7 +10640,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11044,7 +10648,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Name = ptr.String(jtv) } - case "obfuscationSetting": if value != nil { jtv, ok := value.(string) @@ -11053,7 +10656,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.ObfuscationSetting = types.ObfuscationSetting(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11066,7 +10668,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Priority = ptr.Int32(int32(i64)) } - case "responseCard": if value != nil { jtv, ok := value.(string) @@ -11075,12 +10676,10 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.ResponseCard = ptr.String(jtv) } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSlotUtteranceList(&sv.SampleUtterances, value); err != nil { return err } - case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -11089,7 +10688,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotConstraint = types.SlotConstraint(jtv) } - case "slotType": if value != nil { jtv, ok := value.(string) @@ -11098,7 +10696,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotType = ptr.String(jtv) } - case "slotTypeVersion": if value != nil { jtv, ok := value.(string) @@ -11107,12 +10704,10 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotTypeVersion = ptr.String(jtv) } - case "valueElicitationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ValueElicitationPrompt, value); err != nil { return err } - default: _, _ = key, value @@ -11152,7 +10747,6 @@ func awsRestjson1_deserializeDocumentSlotDefaultValue(v **types.SlotDefaultValue } sv.DefaultValue = ptr.String(jtv) } - default: _, _ = key, value @@ -11222,7 +10816,6 @@ func awsRestjson1_deserializeDocumentSlotDefaultValueSpec(v **types.SlotDefaultV if err := awsRestjson1_deserializeDocumentSlotDefaultValueList(&sv.DefaultValueList, value); err != nil { return err } - default: _, _ = key, value @@ -11292,7 +10885,6 @@ func awsRestjson1_deserializeDocumentSlotTypeConfiguration(v **types.SlotTypeCon if err := awsRestjson1_deserializeDocumentSlotTypeRegexConfiguration(&sv.RegexConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11373,7 +10965,6 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } } - case "description": if value != nil { jtv, ok := value.(string) @@ -11382,7 +10973,6 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -11398,7 +10988,6 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11407,7 +10996,6 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -11416,7 +11004,6 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11490,7 +11077,6 @@ func awsRestjson1_deserializeDocumentSlotTypeRegexConfiguration(v **types.SlotTy } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -11562,7 +11148,6 @@ func awsRestjson1_deserializeDocumentStatement(v **types.Statement, value interf if err := awsRestjson1_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } - case "responseCard": if value != nil { jtv, ok := value.(string) @@ -11571,7 +11156,6 @@ func awsRestjson1_deserializeDocumentStatement(v **types.Statement, value interf } sv.ResponseCard = ptr.String(jtv) } - default: _, _ = key, value @@ -11683,7 +11267,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -11692,7 +11275,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11770,7 +11352,6 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.Count = ptr.Int32(int32(i64)) } - case "distinctUsers": if value != nil { jtv, ok := value.(json.Number) @@ -11783,7 +11364,6 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.DistinctUsers = ptr.Int32(int32(i64)) } - case "firstUtteredDate": if value != nil { switch jtv := value.(type) { @@ -11799,7 +11379,6 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } } - case "lastUtteredDate": if value != nil { switch jtv := value.(type) { @@ -11815,7 +11394,6 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } } - case "utteranceString": if value != nil { jtv, ok := value.(string) @@ -11824,7 +11402,6 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.UtteranceString = ptr.String(jtv) } - default: _, _ = key, value @@ -11864,12 +11441,10 @@ func awsRestjson1_deserializeDocumentUtteranceList(v **types.UtteranceList, valu } sv.BotVersion = ptr.String(jtv) } - case "utterances": if err := awsRestjson1_deserializeDocumentListOfUtterance(&sv.Utterances, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/lexmodelsv2/deserializers.go b/service/lexmodelsv2/deserializers.go index f5a8ace4a8e..0ee551772ae 100644 --- a/service/lexmodelsv2/deserializers.go +++ b/service/lexmodelsv2/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -199,12 +198,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -213,12 +210,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -386,7 +381,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -395,12 +389,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -409,12 +401,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -582,7 +572,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -591,12 +580,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -605,12 +592,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -781,7 +766,6 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotId = ptr.String(jtv) } - case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -790,7 +774,6 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -799,7 +782,6 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotVersion = ptr.String(jtv) } - case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -815,7 +797,6 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -824,7 +805,6 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -995,12 +975,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotId = ptr.String(jtv) } - case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -1009,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -1018,12 +995,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } - case "botTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.BotTags, value); err != nil { return err } - case "botType": if value != nil { jtv, ok := value.(string) @@ -1032,7 +1007,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotType = types.BotType(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1048,12 +1022,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } } - case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -1062,7 +1034,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.Description = ptr.String(jtv) } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1075,7 +1046,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1084,12 +1054,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.RoleArn = ptr.String(jtv) } - case "testBotAliasTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestBotAliasTags, value); err != nil { return err } - default: _, _ = key, value @@ -1260,12 +1228,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasId = ptr.String(jtv) } - case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } - case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -1274,7 +1240,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasName = ptr.String(jtv) } - case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -1283,7 +1248,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -1292,7 +1256,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -1301,12 +1264,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotVersion = ptr.String(jtv) } - case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1322,7 +1283,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1331,17 +1291,14 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.Description = ptr.String(jtv) } - case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1512,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotId = ptr.String(jtv) } - case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -1521,7 +1477,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -1530,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1546,7 +1500,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1555,12 +1508,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.Description = ptr.String(jtv) } - case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -1569,7 +1520,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.LocaleId = ptr.String(jtv) } - case "localeName": if value != nil { jtv, ok := value.(string) @@ -1578,7 +1528,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.LocaleName = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -1612,12 +1561,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } } - case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -1788,7 +1735,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.BotId = ptr.String(jtv) } - case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -1797,7 +1743,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1813,7 +1758,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -1822,7 +1766,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.ReplicaRegion = ptr.String(jtv) } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -1831,7 +1774,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -2002,7 +1944,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotId = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -2011,7 +1952,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotStatus = types.BotStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -2020,12 +1960,10 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotVersion = ptr.String(jtv) } - case "botVersionLocaleSpecification": if err := awsRestjson1_deserializeDocumentBotVersionLocaleSpecification(&sv.BotVersionLocaleSpecification, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2041,7 +1979,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2050,7 +1987,6 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -2228,7 +2164,6 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -2237,7 +2172,6 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportId = ptr.String(jtv) } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -2246,7 +2180,6 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -2255,12 +2188,10 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.FileFormat = types.ImportExportFileFormat(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -2431,7 +2362,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -2440,7 +2370,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2456,7 +2385,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2465,37 +2393,30 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } - case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } - case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } - case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } - case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -2504,7 +2425,6 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.IntentId = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -2513,12 +2433,10 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.IntentName = ptr.String(jtv) } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -2527,12 +2445,10 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.LocaleId = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -2541,17 +2457,14 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.ParentIntentSignature = ptr.String(jtv) } - case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - default: _, _ = key, value @@ -2722,7 +2635,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyOutput(v **CreateReso } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2731,7 +2643,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyOutput(v **CreateReso } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2905,7 +2816,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyStatementOutput(v **C } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2914,7 +2824,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyStatementOutput(v **C } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -3085,7 +2994,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -3094,7 +3002,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3110,7 +3017,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3119,7 +3025,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.Description = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -3128,7 +3033,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.IntentId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -3137,17 +3041,14 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.LocaleId = ptr.String(jtv) } - case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } - case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } - case "slotId": if value != nil { jtv, ok := value.(string) @@ -3156,7 +3057,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotId = ptr.String(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -3165,7 +3065,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotName = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -3174,17 +3073,14 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotTypeId = ptr.String(jtv) } - case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } - case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } - default: _, _ = key, value @@ -3355,7 +3251,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -3364,12 +3259,10 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.BotVersion = ptr.String(jtv) } - case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3385,7 +3278,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3394,12 +3286,10 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.Description = ptr.String(jtv) } - case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -3408,7 +3298,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.LocaleId = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -3417,7 +3306,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -3426,7 +3314,6 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.SlotTypeId = ptr.String(jtv) } - case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -3435,17 +3322,14 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.SlotTypeName = ptr.String(jtv) } - case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } - case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } - default: _, _ = key, value @@ -3623,12 +3507,10 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } } - case "target": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(&sv.Target, value); err != nil { return err } - case "testSetDiscrepancyReportId": if value != nil { jtv, ok := value.(string) @@ -3637,7 +3519,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } sv.TestSetDiscrepancyReportId = ptr.String(jtv) } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -3646,7 +3527,6 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } sv.TestSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -3814,7 +3694,6 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.ImportId = ptr.String(jtv) } - case "uploadUrl": if value != nil { jtv, ok := value.(string) @@ -3823,7 +3702,6 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.UploadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -3994,7 +3872,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotOutput(v **DeleteBotOutput, valu } sv.BotId = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -4003,7 +3880,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotOutput(v **DeleteBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } - default: _, _ = key, value @@ -4174,7 +4050,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotAliasId = ptr.String(jtv) } - case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -4183,7 +4058,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -4192,7 +4066,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotId = ptr.String(jtv) } - default: _, _ = key, value @@ -4363,7 +4236,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotId = ptr.String(jtv) } - case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -4372,7 +4244,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4381,7 +4252,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -4390,7 +4260,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -4561,7 +4430,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.BotId = ptr.String(jtv) } - case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -4570,7 +4438,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -4579,7 +4446,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.ReplicaRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -4750,7 +4616,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotId = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -4759,7 +4624,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotStatus = types.BotStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4768,7 +4632,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4939,7 +4802,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4948,7 +4810,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.BotVersion = ptr.String(jtv) } - case "customVocabularyStatus": if value != nil { jtv, ok := value.(string) @@ -4957,7 +4818,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.CustomVocabularyStatus = types.CustomVocabularyStatus(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -4966,7 +4826,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -5134,7 +4993,6 @@ func awsRestjson1_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportId = ptr.String(jtv) } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -5143,7 +5001,6 @@ func awsRestjson1_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } - default: _, _ = key, value @@ -5311,7 +5168,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImportOutput(v **DeleteImportOutput } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -5320,7 +5176,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImportOutput(v **DeleteImportOutput } sv.ImportStatus = types.ImportStatus(jtv) } - default: _, _ = key, value @@ -5594,7 +5449,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5603,7 +5457,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5768,7 +5621,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyStatementOutput(v **D } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5777,7 +5629,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyStatementOutput(v **D } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6366,12 +6217,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotId = ptr.String(jtv) } - case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -6380,7 +6229,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -6389,7 +6237,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotStatus = types.BotStatus(jtv) } - case "botType": if value != nil { jtv, ok := value.(string) @@ -6398,7 +6245,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotType = types.BotType(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6414,12 +6260,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } } - case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -6428,12 +6272,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6446,7 +6288,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -6462,7 +6303,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6471,7 +6311,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6635,7 +6474,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli if err := awsRestjson1_deserializeDocumentBotAliasHistoryEventsList(&sv.BotAliasHistoryEvents, value); err != nil { return err } - case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -6644,12 +6482,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasId = ptr.String(jtv) } - case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } - case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -6658,7 +6494,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasName = ptr.String(jtv) } - case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -6667,7 +6502,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasStatus = types.BotAliasStatus(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -6676,7 +6510,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6685,12 +6518,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotVersion = ptr.String(jtv) } - case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6706,7 +6537,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6715,7 +6545,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -6731,17 +6560,14 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } } - case "parentBotNetworks": if err := awsRestjson1_deserializeDocumentParentBotNetworks(&sv.ParentBotNetworks, value); err != nil { return err } - case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } - default: _, _ = key, value @@ -6909,12 +6735,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotId = ptr.String(jtv) } - case "botLocaleHistoryEvents": if err := awsRestjson1_deserializeDocumentBotLocaleHistoryEventsList(&sv.BotLocaleHistoryEvents, value); err != nil { return err } - case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -6923,7 +6747,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6932,7 +6755,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6948,7 +6770,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6957,17 +6778,14 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } - case "intentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6980,7 +6798,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.IntentsCount = ptr.Int32(int32(i64)) } - case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -6996,7 +6813,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -7012,7 +6828,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -7021,7 +6836,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.LocaleId = ptr.String(jtv) } - case "localeName": if value != nil { jtv, ok := value.(string) @@ -7030,7 +6844,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.LocaleName = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -7064,12 +6877,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } - case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } - case "slotTypesCount": if value != nil { jtv, ok := value.(json.Number) @@ -7082,12 +6893,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.SlotTypesCount = ptr.Int32(int32(i64)) } - case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7252,7 +7061,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -7261,12 +7069,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotRecommendationId = ptr.String(jtv) } - case "botRecommendationResults": if err := awsRestjson1_deserializeDocumentBotRecommendationResults(&sv.BotRecommendationResults, value); err != nil { return err } - case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -7275,7 +7081,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -7284,7 +7089,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7300,17 +7104,14 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } } - case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -7326,7 +7127,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -7335,12 +7135,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.LocaleId = ptr.String(jtv) } - case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } - default: _, _ = key, value @@ -7508,7 +7306,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.BotId = ptr.String(jtv) } - case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -7517,7 +7314,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7533,12 +7329,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -7547,7 +7341,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.ReplicaRegion = ptr.String(jtv) } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -7556,7 +7349,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -7721,7 +7513,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -7730,7 +7521,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7746,12 +7536,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "generatedBotLocaleUrl": if value != nil { jtv, ok := value.(string) @@ -7760,7 +7548,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GeneratedBotLocaleUrl = ptr.String(jtv) } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -7769,7 +7556,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationId = ptr.String(jtv) } - case "generationInputPrompt": if value != nil { jtv, ok := value.(string) @@ -7778,7 +7564,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationInputPrompt = ptr.String(jtv) } - case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -7787,7 +7572,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationStatus = types.GenerationStatus(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -7803,7 +7587,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -7812,7 +7595,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.LocaleId = ptr.String(jtv) } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7603,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7989,12 +7770,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotId = ptr.String(jtv) } - case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -8003,7 +7782,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -8012,7 +7790,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotStatus = types.BotStatus(jtv) } - case "botType": if value != nil { jtv, ok := value.(string) @@ -8021,7 +7798,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotType = types.BotType(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8030,7 +7806,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8046,12 +7821,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } } - case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -8060,12 +7833,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8078,12 +7849,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "parentBotNetworks": if err := awsRestjson1_deserializeDocumentParentBotNetworks(&sv.ParentBotNetworks, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8092,7 +7861,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8260,7 +8028,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8269,7 +8036,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8285,7 +8051,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } } - case "customVocabularyStatus": if value != nil { jtv, ok := value.(string) @@ -8294,7 +8059,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.CustomVocabularyStatus = types.CustomVocabularyStatus(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8310,7 +8074,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -8319,7 +8082,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -8491,7 +8253,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } } - case "downloadUrl": if value != nil { jtv, ok := value.(string) @@ -8500,7 +8261,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.DownloadUrl = ptr.String(jtv) } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -8509,7 +8269,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.ExportId = ptr.String(jtv) } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -8518,12 +8277,10 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.ExportStatus = types.ExportStatus(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -8532,7 +8289,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.FileFormat = types.ImportExportFileFormat(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8548,12 +8304,10 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -8725,12 +8479,10 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "importedResourceId": if value != nil { jtv, ok := value.(string) @@ -8739,7 +8491,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportedResourceId = ptr.String(jtv) } - case "importedResourceName": if value != nil { jtv, ok := value.(string) @@ -8748,7 +8499,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportedResourceName = ptr.String(jtv) } - case "importId": if value != nil { jtv, ok := value.(string) @@ -8757,7 +8507,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -8766,7 +8515,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportStatus = types.ImportStatus(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8782,7 +8530,6 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } } - case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -8791,12 +8538,10 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.MergeStrategy = types.MergeStrategy(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentImportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -8964,7 +8709,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8973,7 +8717,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8989,7 +8732,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8998,37 +8740,30 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } - case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } - case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } - case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } - case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -9037,7 +8772,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.IntentId = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -9046,12 +8780,10 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.IntentName = ptr.String(jtv) } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9067,7 +8799,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -9076,12 +8807,10 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.LocaleId = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -9090,22 +8819,18 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.ParentIntentSignature = ptr.String(jtv) } - case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - case "slotPriorities": if err := awsRestjson1_deserializeDocumentSlotPrioritiesList(&sv.SlotPriorities, value); err != nil { return err } - default: _, _ = key, value @@ -9267,7 +8992,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.Policy = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9276,7 +9000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -9285,7 +9008,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -9453,7 +9175,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -9462,7 +9183,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9478,7 +9198,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9487,7 +9206,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.Description = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -9496,7 +9214,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.IntentId = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9512,7 +9229,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -9521,17 +9237,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.LocaleId = ptr.String(jtv) } - case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } - case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } - case "slotId": if value != nil { jtv, ok := value.(string) @@ -9540,7 +9253,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotId = ptr.String(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -9549,7 +9261,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotName = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -9558,17 +9269,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotTypeId = ptr.String(jtv) } - case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } - case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } - default: _, _ = key, value @@ -9736,7 +9444,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -9745,12 +9452,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.BotVersion = ptr.String(jtv) } - case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9766,7 +9471,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9775,12 +9479,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.Description = ptr.String(jtv) } - case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9796,7 +9498,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -9805,7 +9506,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.LocaleId = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -9814,7 +9514,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -9823,7 +9522,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.SlotTypeId = ptr.String(jtv) } - case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -9832,17 +9530,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.SlotTypeName = ptr.String(jtv) } - case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } - case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } - default: _, _ = key, value @@ -10010,7 +9705,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.ApiMode = types.TestExecutionApiMode(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -10026,12 +9720,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10047,12 +9739,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } } - case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } - case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -10061,7 +9751,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionId = ptr.String(jtv) } - case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -10070,7 +9759,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionModality = types.TestExecutionModality(jtv) } - case "testExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -10079,7 +9767,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionStatus = types.TestExecutionStatus(jtv) } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10088,7 +9775,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -10097,7 +9783,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -10272,7 +9957,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10281,7 +9965,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10297,7 +9980,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } } - case "modality": if value != nil { jtv, ok := value.(string) @@ -10306,7 +9988,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Modality = types.TestSetModality(jtv) } - case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -10319,7 +10000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.NumTurns = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10328,7 +10008,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10337,12 +10016,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Status = types.TestSetStatus(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10351,7 +10028,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -10360,7 +10036,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -10535,12 +10210,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "lastUpdatedDataTime": if value != nil { switch jtv := value.(type) { @@ -10556,12 +10229,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } } - case "target": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(&sv.Target, value); err != nil { return err } - case "testSetDiscrepancyRawOutputUrl": if value != nil { jtv, ok := value.(string) @@ -10570,7 +10241,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyRawOutputUrl = ptr.String(jtv) } - case "testSetDiscrepancyReportId": if value != nil { jtv, ok := value.(string) @@ -10579,7 +10249,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyReportId = ptr.String(jtv) } - case "testSetDiscrepancyReportStatus": if value != nil { jtv, ok := value.(string) @@ -10588,12 +10257,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyReportStatus = types.TestSetDiscrepancyReportStatus(jtv) } - case "testSetDiscrepancyTopErrors": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyErrors(&sv.TestSetDiscrepancyTopErrors, value); err != nil { return err } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10602,7 +10269,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10777,7 +10443,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10786,17 +10451,14 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "generationDataSource": if err := awsRestjson1_deserializeDocumentTestSetGenerationDataSource(&sv.GenerationDataSource, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10812,7 +10474,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10821,12 +10482,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.RoleArn = ptr.String(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetGenerationId": if value != nil { jtv, ok := value.(string) @@ -10835,7 +10494,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetGenerationId = ptr.String(jtv) } - case "testSetGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -10844,7 +10502,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetGenerationStatus = types.TestSetGenerationStatus(jtv) } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10853,7 +10510,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -10862,7 +10518,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -11036,7 +10691,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -11045,7 +10699,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.BotVersion = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -11054,7 +10707,6 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.IntentId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -11063,12 +10715,10 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.LocaleId = ptr.String(jtv) } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - default: _, _ = key, value @@ -11236,7 +10886,6 @@ func awsRestjson1_deserializeOpDocumentGetTestExecutionArtifactsUrlOutput(v **Ge } sv.DownloadArtifactsUrl = ptr.String(jtv) } - case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -11245,7 +10894,6 @@ func awsRestjson1_deserializeOpDocumentGetTestExecutionArtifactsUrlOutput(v **Ge } sv.TestExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -11406,12 +11054,10 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg if err := awsRestjson1_deserializeDocumentAggregatedUtterancesSummaryList(&sv.AggregatedUtterancesSummaries, value); err != nil { return err } - case "aggregationDuration": if err := awsRestjson1_deserializeDocumentUtteranceAggregationDuration(&sv.AggregationDuration, value); err != nil { return err } - case "aggregationLastRefreshedDateTime": if value != nil { switch jtv := value.(type) { @@ -11427,7 +11073,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } - case "aggregationWindowEndTime": if value != nil { switch jtv := value.(type) { @@ -11443,7 +11088,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } - case "aggregationWindowStartTime": if value != nil { switch jtv := value.(type) { @@ -11459,7 +11103,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } - case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -11468,7 +11111,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotAliasId = ptr.String(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -11477,7 +11119,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -11486,7 +11127,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -11495,7 +11135,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11504,7 +11143,6 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11665,7 +11303,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu if err := awsRestjson1_deserializeDocumentBotAliasSummaryList(&sv.BotAliasSummaries, value); err != nil { return err } - case "botId": if value != nil { jtv, ok := value.(string) @@ -11674,7 +11311,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11683,7 +11319,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11844,7 +11479,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli if err := awsRestjson1_deserializeDocumentBotAliasReplicaSummaryList(&sv.BotAliasReplicaSummaries, value); err != nil { return err } - case "botId": if value != nil { jtv, ok := value.(string) @@ -11853,7 +11487,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11862,7 +11495,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.NextToken = ptr.String(jtv) } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -11871,7 +11503,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.ReplicaRegion = ptr.String(jtv) } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -11880,7 +11511,6 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -12045,12 +11675,10 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.BotId = ptr.String(jtv) } - case "botLocaleSummaries": if err := awsRestjson1_deserializeDocumentBotLocaleSummaryList(&sv.BotLocaleSummaries, value); err != nil { return err } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -12059,7 +11687,6 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.BotVersion = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12068,7 +11695,6 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12233,12 +11859,10 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.BotId = ptr.String(jtv) } - case "botRecommendationSummaries": if err := awsRestjson1_deserializeDocumentBotRecommendationSummaryList(&sv.BotRecommendationSummaries, value); err != nil { return err } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -12247,7 +11871,6 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -12256,7 +11879,6 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12265,7 +11887,6 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12430,12 +12051,10 @@ func awsRestjson1_deserializeOpDocumentListBotReplicasOutput(v **ListBotReplicas } sv.BotId = ptr.String(jtv) } - case "botReplicaSummaries": if err := awsRestjson1_deserializeDocumentBotReplicaSummaryList(&sv.BotReplicaSummaries, value); err != nil { return err } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -12444,7 +12063,6 @@ func awsRestjson1_deserializeOpDocumentListBotReplicasOutput(v **ListBotReplicas } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -12609,7 +12227,6 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -12618,12 +12235,10 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.BotVersion = ptr.String(jtv) } - case "generationSummaries": if err := awsRestjson1_deserializeDocumentGenerationSummaryList(&sv.GenerationSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -12632,7 +12247,6 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12641,7 +12255,6 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12802,7 +12415,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentBotSummaryList(&sv.BotSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12811,7 +12423,6 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12976,12 +12587,10 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.BotId = ptr.String(jtv) } - case "botVersionReplicaSummaries": if err := awsRestjson1_deserializeDocumentBotVersionReplicaSummaryList(&sv.BotVersionReplicaSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12990,7 +12599,6 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.NextToken = ptr.String(jtv) } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -12999,7 +12607,6 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.ReplicaRegion = ptr.String(jtv) } - case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -13008,7 +12615,6 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.SourceRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -13173,12 +12779,10 @@ func awsRestjson1_deserializeOpDocumentListBotVersionsOutput(v **ListBotVersions } sv.BotId = ptr.String(jtv) } - case "botVersionSummaries": if err := awsRestjson1_deserializeDocumentBotVersionSummaryList(&sv.BotVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13187,7 +12791,6 @@ func awsRestjson1_deserializeOpDocumentListBotVersionsOutput(v **ListBotVersions } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13348,7 +12951,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI if err := awsRestjson1_deserializeDocumentBuiltInIntentSummaryList(&sv.BuiltInIntentSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -13357,7 +12959,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13366,7 +12967,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13527,7 +13127,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI if err := awsRestjson1_deserializeDocumentBuiltInSlotTypeSummaryList(&sv.BuiltInSlotTypeSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -13536,7 +13135,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13545,7 +13143,6 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13713,7 +13310,6 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -13722,12 +13318,10 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.BotVersion = ptr.String(jtv) } - case "customVocabularyItems": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.CustomVocabularyItems, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -13736,7 +13330,6 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13745,7 +13338,6 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13907,7 +13499,6 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -13916,12 +13507,10 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.BotVersion = ptr.String(jtv) } - case "exportSummaries": if err := awsRestjson1_deserializeDocumentExportSummaryList(&sv.ExportSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -13930,7 +13519,6 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13939,7 +13527,6 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14101,7 +13688,6 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -14110,12 +13696,10 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.BotVersion = ptr.String(jtv) } - case "importSummaries": if err := awsRestjson1_deserializeDocumentImportSummaryList(&sv.ImportSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -14124,7 +13708,6 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14133,7 +13716,6 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14301,7 +13883,6 @@ func awsRestjson1_deserializeOpDocumentListIntentMetricsOutput(v **ListIntentMet } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14310,12 +13891,10 @@ func awsRestjson1_deserializeOpDocumentListIntentMetricsOutput(v **ListIntentMet } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentAnalyticsIntentResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -14479,7 +14058,6 @@ func awsRestjson1_deserializeOpDocumentListIntentPathsOutput(v **ListIntentPaths if err := awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummaries(&sv.NodeSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -14644,7 +14222,6 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -14653,12 +14230,10 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.BotVersion = ptr.String(jtv) } - case "intentSummaries": if err := awsRestjson1_deserializeDocumentIntentSummaryList(&sv.IntentSummaries, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -14667,7 +14242,6 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14676,7 +14250,6 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14844,7 +14417,6 @@ func awsRestjson1_deserializeOpDocumentListIntentStageMetricsOutput(v **ListInte } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14853,12 +14425,10 @@ func awsRestjson1_deserializeOpDocumentListIntentStageMetricsOutput(v **ListInte } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -15026,7 +14596,6 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -15035,7 +14604,6 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotRecommendationId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -15044,7 +14612,6 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -15053,7 +14620,6 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15062,12 +14628,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.NextToken = ptr.String(jtv) } - case "summaryList": if err := awsRestjson1_deserializeDocumentRecommendedIntentSummaryList(&sv.SummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -15235,7 +14799,6 @@ func awsRestjson1_deserializeOpDocumentListSessionAnalyticsDataOutput(v **ListSe } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15244,12 +14807,10 @@ func awsRestjson1_deserializeOpDocumentListSessionAnalyticsDataOutput(v **ListSe } sv.NextToken = ptr.String(jtv) } - case "sessions": if err := awsRestjson1_deserializeDocumentSessionSpecifications(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -15417,7 +14978,6 @@ func awsRestjson1_deserializeOpDocumentListSessionMetricsOutput(v **ListSessionM } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15426,12 +14986,10 @@ func awsRestjson1_deserializeOpDocumentListSessionMetricsOutput(v **ListSessionM } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentAnalyticsSessionResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -15596,7 +15154,6 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -15605,7 +15162,6 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.BotVersion = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -15614,7 +15170,6 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.IntentId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -15623,7 +15178,6 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15632,12 +15186,10 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "slotSummaries": if err := awsRestjson1_deserializeDocumentSlotSummaryList(&sv.SlotSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -15802,7 +15354,6 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -15811,7 +15362,6 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -15820,7 +15370,6 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.LocaleId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15829,12 +15378,10 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.NextToken = ptr.String(jtv) } - case "slotTypeSummaries": if err := awsRestjson1_deserializeDocumentSlotTypeSummaryList(&sv.SlotTypeSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -15995,7 +15542,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16163,12 +15709,10 @@ func awsRestjson1_deserializeOpDocumentListTestExecutionResultItemsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "testExecutionResults": if err := awsRestjson1_deserializeDocumentTestExecutionResultItems(&sv.TestExecutionResults, value); err != nil { return err } - default: _, _ = key, value @@ -16333,12 +15877,10 @@ func awsRestjson1_deserializeOpDocumentListTestExecutionsOutput(v **ListTestExec } sv.NextToken = ptr.String(jtv) } - case "testExecutions": if err := awsRestjson1_deserializeDocumentTestExecutionSummaryList(&sv.TestExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -16506,12 +16048,10 @@ func awsRestjson1_deserializeOpDocumentListTestSetRecordsOutput(v **ListTestSetR } sv.NextToken = ptr.String(jtv) } - case "testSetRecords": if err := awsRestjson1_deserializeDocumentTestSetTurnRecordList(&sv.TestSetRecords, value); err != nil { return err } - default: _, _ = key, value @@ -16676,12 +16216,10 @@ func awsRestjson1_deserializeOpDocumentListTestSetsOutput(v **ListTestSetsOutput } sv.NextToken = ptr.String(jtv) } - case "testSets": if err := awsRestjson1_deserializeDocumentTestSetSummaryList(&sv.TestSets, value); err != nil { return err } - default: _, _ = key, value @@ -16849,7 +16387,6 @@ func awsRestjson1_deserializeOpDocumentListUtteranceAnalyticsDataOutput(v **List } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16858,12 +16395,10 @@ func awsRestjson1_deserializeOpDocumentListUtteranceAnalyticsDataOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "utterances": if err := awsRestjson1_deserializeDocumentUtteranceSpecifications(&sv.Utterances, value); err != nil { return err } - default: _, _ = key, value @@ -17031,7 +16566,6 @@ func awsRestjson1_deserializeOpDocumentListUtteranceMetricsOutput(v **ListUttera } sv.BotId = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17040,12 +16574,10 @@ func awsRestjson1_deserializeOpDocumentListUtteranceMetricsOutput(v **ListUttera } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceResults(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -17209,7 +16741,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea if err := awsRestjson1_deserializeDocumentAssociatedTranscriptList(&sv.AssociatedTranscripts, value); err != nil { return err } - case "botId": if value != nil { jtv, ok := value.(string) @@ -17218,7 +16749,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -17227,7 +16757,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotRecommendationId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -17236,7 +16765,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -17245,7 +16773,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.LocaleId = ptr.String(jtv) } - case "nextIndex": if value != nil { jtv, ok := value.(json.Number) @@ -17258,7 +16785,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.NextIndex = ptr.Int32(int32(i64)) } - case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -17271,7 +16797,6 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.TotalResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17445,7 +16970,6 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -17454,7 +16978,6 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotRecommendationId = ptr.String(jtv) } - case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -17463,7 +16986,6 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -17472,7 +16994,6 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -17488,12 +17009,10 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } } - case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -17502,12 +17021,10 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.LocaleId = ptr.String(jtv) } - case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } - default: _, _ = key, value @@ -17678,7 +17195,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -17687,7 +17203,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -17703,7 +17218,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -17712,7 +17226,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationId = ptr.String(jtv) } - case "generationInputPrompt": if value != nil { jtv, ok := value.(string) @@ -17721,7 +17234,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationInputPrompt = ptr.String(jtv) } - case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -17730,7 +17242,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationStatus = types.GenerationStatus(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -17739,7 +17250,6 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -17917,7 +17427,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } - case "importId": if value != nil { jtv, ok := value.(string) @@ -17926,7 +17435,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -17935,7 +17443,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } - case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -17944,12 +17451,10 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.MergeStrategy = types.MergeStrategy(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentImportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -18120,7 +17625,6 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.ApiMode = types.TestExecutionApiMode(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -18136,12 +17640,10 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } } - case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } - case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -18150,7 +17652,6 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestExecutionId = ptr.String(jtv) } - case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -18159,7 +17660,6 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestExecutionModality = types.TestExecutionModality(jtv) } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -18168,7 +17668,6 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -18346,7 +17845,6 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } } - case "description": if value != nil { jtv, ok := value.(string) @@ -18355,12 +17853,10 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.Description = ptr.String(jtv) } - case "generationDataSource": if err := awsRestjson1_deserializeDocumentTestSetGenerationDataSource(&sv.GenerationDataSource, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -18369,12 +17865,10 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.RoleArn = ptr.String(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetGenerationId": if value != nil { jtv, ok := value.(string) @@ -18383,7 +17877,6 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetGenerationId = ptr.String(jtv) } - case "testSetGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -18392,7 +17885,6 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetGenerationStatus = types.TestSetGenerationStatus(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -18401,12 +17893,10 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetName = ptr.String(jtv) } - case "testSetTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestSetTags, value); err != nil { return err } - default: _, _ = key, value @@ -18580,7 +18070,6 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -18589,7 +18078,6 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotRecommendationId = ptr.String(jtv) } - case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -18598,7 +18086,6 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -18607,7 +18094,6 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -18616,7 +18102,6 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -18981,12 +18466,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotId = ptr.String(jtv) } - case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } - case "botName": if value != nil { jtv, ok := value.(string) @@ -18995,7 +18478,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -19004,7 +18486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } - case "botType": if value != nil { jtv, ok := value.(string) @@ -19013,7 +18494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotType = types.BotType(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19029,12 +18509,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } } - case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -19043,7 +18521,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.Description = ptr.String(jtv) } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19056,7 +18533,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19072,7 +18548,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -19081,7 +18556,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19252,12 +18726,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasId = ptr.String(jtv) } - case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } - case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -19266,7 +18738,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasName = ptr.String(jtv) } - case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -19275,7 +18746,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -19284,7 +18754,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -19293,12 +18762,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotVersion = ptr.String(jtv) } - case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19314,7 +18781,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19323,7 +18789,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19339,12 +18804,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } } - case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } - default: _, _ = key, value @@ -19515,7 +18978,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotId = ptr.String(jtv) } - case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -19524,7 +18986,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -19533,7 +18994,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19549,7 +19009,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } - case "description": if value != nil { jtv, ok := value.(string) @@ -19558,17 +19017,14 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.Description = ptr.String(jtv) } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19584,7 +19040,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -19593,7 +19048,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.LocaleId = ptr.String(jtv) } - case "localeName": if value != nil { jtv, ok := value.(string) @@ -19602,7 +19056,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.LocaleName = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -19636,17 +19089,14 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } - case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } - case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -19820,7 +19270,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotId = ptr.String(jtv) } - case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -19829,7 +19278,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotRecommendationId = ptr.String(jtv) } - case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -19838,7 +19286,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -19847,7 +19294,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19863,12 +19309,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } } - case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19884,7 +19328,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -19893,12 +19336,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.LocaleId = ptr.String(jtv) } - case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } - default: _, _ = key, value @@ -20076,7 +19517,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -20085,7 +19525,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportId = ptr.String(jtv) } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -20094,7 +19533,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -20103,7 +19541,6 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.FileFormat = types.ImportExportFileFormat(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20119,12 +19556,10 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -20295,7 +19730,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -20304,7 +19738,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -20320,7 +19753,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20329,37 +19761,30 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.Description = ptr.String(jtv) } - case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } - case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } - case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } - case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } - case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -20368,7 +19793,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.IntentId = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -20377,12 +19801,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.IntentName = ptr.String(jtv) } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20398,7 +19820,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -20407,12 +19828,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.LocaleId = ptr.String(jtv) } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -20421,22 +19840,18 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.ParentIntentSignature = ptr.String(jtv) } - case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - case "slotPriorities": if err := awsRestjson1_deserializeDocumentSlotPrioritiesList(&sv.SlotPriorities, value); err != nil { return err } - default: _, _ = key, value @@ -20607,7 +20022,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourcePolicyOutput(v **UpdateReso } sv.ResourceArn = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -20616,7 +20030,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourcePolicyOutput(v **UpdateReso } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -20787,7 +20200,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -20796,7 +20208,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -20812,7 +20223,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20821,7 +20231,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.Description = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -20830,7 +20239,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.IntentId = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20846,7 +20254,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -20855,17 +20262,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.LocaleId = ptr.String(jtv) } - case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } - case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } - case "slotId": if value != nil { jtv, ok := value.(string) @@ -20874,7 +20278,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotId = ptr.String(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -20883,7 +20286,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotName = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -20892,17 +20294,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotTypeId = ptr.String(jtv) } - case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } - case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } - default: _, _ = key, value @@ -21073,7 +20472,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -21082,12 +20480,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.BotVersion = ptr.String(jtv) } - case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -21103,7 +20499,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -21112,12 +20507,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.Description = ptr.String(jtv) } - case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -21133,7 +20526,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -21142,7 +20534,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.LocaleId = ptr.String(jtv) } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -21151,7 +20542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -21160,7 +20550,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.SlotTypeId = ptr.String(jtv) } - case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -21169,17 +20558,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.SlotTypeName = ptr.String(jtv) } - case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } - case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } - default: _, _ = key, value @@ -21357,7 +20743,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } } - case "description": if value != nil { jtv, ok := value.(string) @@ -21366,7 +20751,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -21382,7 +20766,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } } - case "modality": if value != nil { jtv, ok := value.(string) @@ -21391,7 +20774,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Modality = types.TestSetModality(jtv) } - case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -21404,7 +20786,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.NumTurns = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -21413,7 +20794,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21422,12 +20802,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Status = types.TestSetStatus(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -21436,7 +20814,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -21445,7 +20822,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -21757,7 +21133,6 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21831,7 +21206,6 @@ func awsRestjson1_deserializeDocumentAdvancedRecognitionSetting(v **types.Advanc } sv.AudioRecognitionStrategy = types.AudioRecognitionStrategy(jtv) } - default: _, _ = key, value @@ -21871,7 +21245,6 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualAgentPrompt = ptr.String(jtv) } - case "actualElicitedSlot": if value != nil { jtv, ok := value.(string) @@ -21880,7 +21253,6 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualElicitedSlot = ptr.String(jtv) } - case "actualIntent": if value != nil { jtv, ok := value.(string) @@ -21889,12 +21261,10 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualIntent = ptr.String(jtv) } - case "errorDetails": if err := awsRestjson1_deserializeDocumentExecutionErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "expectedAgentPrompt": if value != nil { jtv, ok := value.(string) @@ -21903,7 +21273,6 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ExpectedAgentPrompt = ptr.String(jtv) } - default: _, _ = key, value @@ -21943,7 +21312,6 @@ func awsRestjson1_deserializeDocumentAgentTurnSpecification(v **types.AgentTurnS } sv.AgentPrompt = ptr.String(jtv) } - default: _, _ = key, value @@ -21983,7 +21351,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.ContainsDataFromDeletedResources = ptr.Bool(jtv) } - case "hitCount": if value != nil { jtv, ok := value.(json.Number) @@ -21996,7 +21363,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.HitCount = ptr.Int32(int32(i64)) } - case "missedCount": if value != nil { jtv, ok := value.(json.Number) @@ -22009,7 +21375,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.MissedCount = ptr.Int32(int32(i64)) } - case "utterance": if value != nil { jtv, ok := value.(string) @@ -22018,7 +21383,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.Utterance = ptr.String(jtv) } - case "utteranceFirstRecordedInAggregationDuration": if value != nil { switch jtv := value.(type) { @@ -22034,7 +21398,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } } - case "utteranceLastRecordedInAggregationDuration": if value != nil { switch jtv := value.(type) { @@ -22050,7 +21413,6 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } } - default: _, _ = key, value @@ -22124,7 +21486,6 @@ func awsRestjson1_deserializeDocumentAllowedInputTypes(v **types.AllowedInputTyp } sv.AllowAudioInput = ptr.Bool(jtv) } - case "allowDTMFInput": if value != nil { jtv, ok := value.(bool) @@ -22133,7 +21494,6 @@ func awsRestjson1_deserializeDocumentAllowedInputTypes(v **types.AllowedInputTyp } sv.AllowDTMFInput = ptr.Bool(jtv) } - default: _, _ = key, value @@ -22173,7 +21533,6 @@ func awsRestjson1_deserializeDocumentAnalyticsBinKey(v **types.AnalyticsBinKey, } sv.Name = types.AnalyticsBinByName(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -22186,7 +21545,6 @@ func awsRestjson1_deserializeDocumentAnalyticsBinKey(v **types.AnalyticsBinKey, } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -22260,7 +21618,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKey(v **types.Analyti } sv.Name = types.AnalyticsIntentField(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22269,7 +21626,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKey(v **types.Analyti } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22343,7 +21699,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } sv.Name = types.AnalyticsIntentMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -22352,7 +21707,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -22386,7 +21740,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } } - default: _, _ = key, value @@ -22498,7 +21851,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentCount = ptr.Int32(int32(i64)) } - case "intentLevel": if value != nil { jtv, ok := value.(json.Number) @@ -22511,7 +21863,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentLevel = ptr.Int32(int32(i64)) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -22520,7 +21871,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentName = ptr.String(jtv) } - case "intentPath": if value != nil { jtv, ok := value.(string) @@ -22529,7 +21879,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentPath = ptr.String(jtv) } - case "nodeType": if value != nil { jtv, ok := value.(string) @@ -22538,7 +21887,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.NodeType = types.AnalyticsNodeType(jtv) } - default: _, _ = key, value @@ -22574,17 +21922,14 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentResult(v **types.AnalyticsIn if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } - case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } - case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsIntentMetricResults(&sv.MetricsResults, value); err != nil { return err } - default: _, _ = key, value @@ -22658,7 +22003,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKey(v **types.An } sv.Name = types.AnalyticsIntentStageField(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22667,7 +22011,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKey(v **types.An } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22741,7 +22084,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } sv.Name = types.AnalyticsIntentStageMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -22750,7 +22092,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -22784,7 +22125,6 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } } - default: _, _ = key, value @@ -22854,17 +22194,14 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageResult(v **types.Analyt if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } - case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } - case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResults(&sv.MetricsResults, value); err != nil { return err } - default: _, _ = key, value @@ -22938,7 +22275,6 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKey(v **types.Analyt } sv.Name = types.AnalyticsSessionField(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22947,7 +22283,6 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKey(v **types.Analyt } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -23021,7 +22356,6 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } sv.Name = types.AnalyticsSessionMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -23030,7 +22364,6 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -23064,7 +22397,6 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } } - default: _, _ = key, value @@ -23134,17 +22466,14 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionResult(v **types.AnalyticsS if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } - case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } - case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsSessionMetricResults(&sv.MetricsResults, value); err != nil { return err } - default: _, _ = key, value @@ -23218,7 +22547,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceAttributeResult(v **types } sv.LastUsedIntent = ptr.String(jtv) } - default: _, _ = key, value @@ -23292,7 +22620,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKey(v **types.Anal } sv.Name = types.AnalyticsUtteranceField(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -23301,7 +22628,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKey(v **types.Anal } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -23375,7 +22701,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } sv.Name = types.AnalyticsUtteranceMetricName(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -23384,7 +22709,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } - case "value": if value != nil { switch jtv := value.(type) { @@ -23418,7 +22742,6 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } } - default: _, _ = key, value @@ -23488,22 +22811,18 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceResult(v **types.Analytic if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceAttributeResults(&sv.AttributeResults, value); err != nil { return err } - case "binKeys": if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } - case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } - case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResults(&sv.MetricsResults, value); err != nil { return err } - default: _, _ = key, value @@ -23577,7 +22896,6 @@ func awsRestjson1_deserializeDocumentAssociatedTranscript(v **types.AssociatedTr } sv.Transcript = ptr.String(jtv) } - default: _, _ = key, value @@ -23647,12 +22965,10 @@ func awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(v **types.Au if err := awsRestjson1_deserializeDocumentAudioSpecification(&sv.AudioSpecification, value); err != nil { return err } - case "dtmfSpecification": if err := awsRestjson1_deserializeDocumentDTMFSpecification(&sv.DtmfSpecification, value); err != nil { return err } - case "startTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -23665,7 +22981,6 @@ func awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(v **types.Au } sv.StartTimeoutMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23701,7 +23016,6 @@ func awsRestjson1_deserializeDocumentAudioLogDestination(v **types.AudioLogDesti if err := awsRestjson1_deserializeDocumentS3BucketLogDestination(&sv.S3Bucket, value); err != nil { return err } - default: _, _ = key, value @@ -23737,7 +23051,6 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, if err := awsRestjson1_deserializeDocumentAudioLogDestination(&sv.Destination, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -23746,7 +23059,6 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, } sv.Enabled = jtv } - case "selectiveLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -23755,7 +23067,6 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, } sv.SelectiveLoggingEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -23833,7 +23144,6 @@ func awsRestjson1_deserializeDocumentAudioSpecification(v **types.AudioSpecifica } sv.EndTimeoutMs = ptr.Int32(int32(i64)) } - case "maxLengthMs": if value != nil { jtv, ok := value.(json.Number) @@ -23846,7 +23156,6 @@ func awsRestjson1_deserializeDocumentAudioSpecification(v **types.AudioSpecifica } sv.MaxLengthMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23886,7 +23195,6 @@ func awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(v **types.Bed } sv.Identifier = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -23895,7 +23203,6 @@ func awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(v **types.Bed } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -23935,7 +23242,6 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(v **type } sv.BedrockKnowledgeBaseArn = ptr.String(jtv) } - case "exactResponse": if value != nil { jtv, ok := value.(bool) @@ -23944,12 +23250,10 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(v **type } sv.ExactResponse = jtv } - case "exactResponseFields": if err := awsRestjson1_deserializeDocumentBedrockKnowledgeStoreExactResponseFields(&sv.ExactResponseFields, value); err != nil { return err } - default: _, _ = key, value @@ -23989,7 +23293,6 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreExactResponseFields(v } sv.AnswerField = ptr.String(jtv) } - default: _, _ = key, value @@ -24029,12 +23332,10 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.CustomPrompt = ptr.String(jtv) } - case "guardrail": if err := awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(&sv.Guardrail, value); err != nil { return err } - case "modelArn": if value != nil { jtv, ok := value.(string) @@ -24043,7 +23344,6 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.ModelArn = ptr.String(jtv) } - case "traceStatus": if value != nil { jtv, ok := value.(string) @@ -24052,7 +23352,6 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.TraceStatus = types.BedrockTraceStatus(jtv) } - default: _, _ = key, value @@ -24092,7 +23391,6 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } sv.BotVersion = ptr.String(jtv) } - case "endDate": if value != nil { switch jtv := value.(type) { @@ -24108,7 +23406,6 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -24124,7 +23421,6 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } } - default: _, _ = key, value @@ -24194,7 +23490,6 @@ func awsRestjson1_deserializeDocumentBotAliasLocaleSettings(v **types.BotAliasLo if err := awsRestjson1_deserializeDocumentCodeHookSpecification(&sv.CodeHookSpecification, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -24203,7 +23498,6 @@ func awsRestjson1_deserializeDocumentBotAliasLocaleSettings(v **types.BotAliasLo } sv.Enabled = jtv } - default: _, _ = key, value @@ -24278,7 +23572,6 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotAliasId = ptr.String(jtv) } - case "botAliasReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -24287,7 +23580,6 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotAliasReplicationStatus = types.BotAliasReplicationStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24296,7 +23588,6 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -24312,12 +23603,10 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -24333,7 +23622,6 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } } - default: _, _ = key, value @@ -24407,7 +23695,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasId = ptr.String(jtv) } - case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -24416,7 +23703,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasName = ptr.String(jtv) } - case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -24425,7 +23711,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasStatus = types.BotAliasStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24434,7 +23719,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -24450,7 +23734,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -24459,7 +23742,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -24475,7 +23757,6 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } } - default: _, _ = key, value @@ -24549,7 +23830,6 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.BotAliasId = ptr.String(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -24558,7 +23838,6 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.BotId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -24567,7 +23846,6 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -24607,7 +23885,6 @@ func awsRestjson1_deserializeDocumentBotExportSpecification(v **types.BotExportS } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24616,7 +23893,6 @@ func awsRestjson1_deserializeDocumentBotExportSpecification(v **types.BotExportS } sv.BotVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -24656,17 +23932,14 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.BotName = ptr.String(jtv) } - case "botTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.BotTags, value); err != nil { return err } - case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } - case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24679,7 +23952,6 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -24688,12 +23960,10 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.RoleArn = ptr.String(jtv) } - case "testBotAliasTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestBotAliasTags, value); err != nil { return err } - default: _, _ = key, value @@ -24733,7 +24003,6 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24742,7 +24011,6 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -24751,7 +24019,6 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -24791,7 +24058,6 @@ func awsRestjson1_deserializeDocumentBotLocaleHistoryEvent(v **types.BotLocaleHi } sv.Event = ptr.String(jtv) } - case "eventDate": if value != nil { switch jtv := value.(type) { @@ -24807,7 +24073,6 @@ func awsRestjson1_deserializeDocumentBotLocaleHistoryEvent(v **types.BotLocaleHi } } - default: _, _ = key, value @@ -24881,7 +24146,6 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24890,7 +24154,6 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -24899,7 +24162,6 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.LocaleId = ptr.String(jtv) } - case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -24933,12 +24195,10 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } } - case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -24978,7 +24238,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -24987,7 +24246,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.Description = ptr.String(jtv) } - case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -25003,7 +24261,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -25019,7 +24276,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -25028,7 +24284,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.LocaleId = ptr.String(jtv) } - case "localeName": if value != nil { jtv, ok := value.(string) @@ -25037,7 +24292,6 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.LocaleName = ptr.String(jtv) } - default: _, _ = key, value @@ -25111,7 +24365,6 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberAliasId = ptr.String(jtv) } - case "botMemberAliasName": if value != nil { jtv, ok := value.(string) @@ -25120,7 +24373,6 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberAliasName = ptr.String(jtv) } - case "botMemberId": if value != nil { jtv, ok := value.(string) @@ -25129,7 +24381,6 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberId = ptr.String(jtv) } - case "botMemberName": if value != nil { jtv, ok := value.(string) @@ -25138,7 +24389,6 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberName = ptr.String(jtv) } - case "botMemberVersion": if value != nil { jtv, ok := value.(string) @@ -25147,7 +24397,6 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -25221,7 +24470,6 @@ func awsRestjson1_deserializeDocumentBotRecommendationResults(v **types.BotRecom } sv.AssociatedTranscriptsUrl = ptr.String(jtv) } - case "botLocaleExportUrl": if value != nil { jtv, ok := value.(string) @@ -25230,12 +24478,10 @@ func awsRestjson1_deserializeDocumentBotRecommendationResults(v **types.BotRecom } sv.BotLocaleExportUrl = ptr.String(jtv) } - case "statistics": if err := awsRestjson1_deserializeDocumentBotRecommendationResultStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -25271,12 +24517,10 @@ func awsRestjson1_deserializeDocumentBotRecommendationResultStatistics(v **types if err := awsRestjson1_deserializeDocumentIntentStatistics(&sv.Intents, value); err != nil { return err } - case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeStatistics(&sv.SlotTypes, value); err != nil { return err } - default: _, _ = key, value @@ -25316,7 +24560,6 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } sv.BotRecommendationId = ptr.String(jtv) } - case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -25325,7 +24568,6 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -25341,7 +24583,6 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -25357,7 +24598,6 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } } - default: _, _ = key, value @@ -25431,7 +24671,6 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -25447,12 +24686,10 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -25461,7 +24698,6 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } sv.ReplicaRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -25535,7 +24771,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotId = ptr.String(jtv) } - case "botName": if value != nil { jtv, ok := value.(string) @@ -25544,7 +24779,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -25553,7 +24787,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotStatus = types.BotStatus(jtv) } - case "botType": if value != nil { jtv, ok := value.(string) @@ -25562,7 +24795,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotType = types.BotType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -25571,7 +24803,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -25587,7 +24818,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } } - case "latestBotVersion": if value != nil { jtv, ok := value.(string) @@ -25596,7 +24826,6 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.LatestBotVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -25670,7 +24899,6 @@ func awsRestjson1_deserializeDocumentBotVersionLocaleDetails(v **types.BotVersio } sv.SourceBotVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -25745,7 +24973,6 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } sv.BotVersion = ptr.String(jtv) } - case "botVersionReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -25754,7 +24981,6 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } sv.BotVersionReplicationStatus = types.BotVersionReplicationStatus(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -25770,12 +24996,10 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } } - case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } - default: _, _ = key, value @@ -25849,7 +25073,6 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotName = ptr.String(jtv) } - case "botStatus": if value != nil { jtv, ok := value.(string) @@ -25858,7 +25081,6 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotStatus = types.BotStatus(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -25867,7 +25089,6 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotVersion = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -25883,7 +25104,6 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } } - case "description": if value != nil { jtv, ok := value.(string) @@ -25892,7 +25112,6 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -25962,12 +25181,10 @@ func awsRestjson1_deserializeDocumentBuildtimeSettings(v **types.BuildtimeSettin if err := awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(&sv.DescriptiveBotBuilder, value); err != nil { return err } - case "sampleUtteranceGeneration": if err := awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(&sv.SampleUtteranceGeneration, value); err != nil { return err } - default: _, _ = key, value @@ -26007,7 +25224,6 @@ func awsRestjson1_deserializeDocumentBuiltInIntentSummary(v **types.BuiltInInten } sv.Description = ptr.String(jtv) } - case "intentSignature": if value != nil { jtv, ok := value.(string) @@ -26016,7 +25232,6 @@ func awsRestjson1_deserializeDocumentBuiltInIntentSummary(v **types.BuiltInInten } sv.IntentSignature = ptr.String(jtv) } - default: _, _ = key, value @@ -26090,7 +25305,6 @@ func awsRestjson1_deserializeDocumentBuiltInSlotTypeSummary(v **types.BuiltInSlo } sv.Description = ptr.String(jtv) } - case "slotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -26099,7 +25313,6 @@ func awsRestjson1_deserializeDocumentBuiltInSlotTypeSummary(v **types.BuiltInSlo } sv.SlotTypeSignature = ptr.String(jtv) } - default: _, _ = key, value @@ -26173,7 +25386,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -26182,7 +25394,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -26256,7 +25467,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(v **types. } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "logPrefix": if value != nil { jtv, ok := value.(string) @@ -26265,7 +25475,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(v **types. } sv.LogPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -26301,7 +25510,6 @@ func awsRestjson1_deserializeDocumentCodeHookSpecification(v **types.CodeHookSpe if err := awsRestjson1_deserializeDocumentLambdaCodeHook(&sv.LambdaCodeHook, value); err != nil { return err } - default: _, _ = key, value @@ -26337,7 +25545,6 @@ func awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(v **types.Composit if err := awsRestjson1_deserializeDocumentSubSlotTypeList(&sv.SubSlots, value); err != nil { return err } - default: _, _ = key, value @@ -26377,7 +25584,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ExpressionString = ptr.String(jtv) } - default: _, _ = key, value @@ -26413,7 +25619,6 @@ func awsRestjson1_deserializeDocumentConditionalBranch(v **types.ConditionalBran if err := awsRestjson1_deserializeDocumentCondition(&sv.Condition, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -26422,17 +25627,14 @@ func awsRestjson1_deserializeDocumentConditionalBranch(v **types.ConditionalBran } sv.Name = ptr.String(jtv) } - case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } - case "response": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.Response, value); err != nil { return err } - default: _, _ = key, value @@ -26506,17 +25708,14 @@ func awsRestjson1_deserializeDocumentConditionalSpecification(v **types.Conditio } sv.Active = ptr.Bool(jtv) } - case "conditionalBranches": if err := awsRestjson1_deserializeDocumentConditionalBranches(&sv.ConditionalBranches, value); err != nil { return err } - case "defaultBranch": if err := awsRestjson1_deserializeDocumentDefaultConditionalBranch(&sv.DefaultBranch, value); err != nil { return err } - default: _, _ = key, value @@ -26546,15 +25745,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26562,15 +25755,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26605,7 +25794,6 @@ func awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResult } sv.IntentName = ptr.String(jtv) } - case "matchResult": if value != nil { jtv, ok := value.(string) @@ -26614,7 +25802,6 @@ func awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResult } sv.MatchResult = types.TestResultMatchStatus(jtv) } - default: _, _ = key, value @@ -26688,7 +25875,6 @@ func awsRestjson1_deserializeDocumentConversationLevelResultDetail(v **types.Con } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } - case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -26697,7 +25883,6 @@ func awsRestjson1_deserializeDocumentConversationLevelResultDetail(v **types.Con } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } - default: _, _ = key, value @@ -26737,7 +25922,6 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.IntentName = ptr.String(jtv) } - case "matchResult": if value != nil { jtv, ok := value.(string) @@ -26746,7 +25930,6 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.MatchResult = types.TestResultMatchStatus(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -26755,7 +25938,6 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.SlotName = ptr.String(jtv) } - default: _, _ = key, value @@ -26829,7 +26011,6 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.ConversationId = ptr.String(jtv) } - case "endToEndResult": if value != nil { jtv, ok := value.(string) @@ -26838,17 +26019,14 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } - case "intentClassificationResults": if err := awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResults(&sv.IntentClassificationResults, value); err != nil { return err } - case "slotResolutionResults": if err := awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResults(&sv.SlotResolutionResults, value); err != nil { return err } - case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -26857,7 +26035,6 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } - default: _, _ = key, value @@ -26927,7 +26104,6 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResults(v **types.Conv if err := awsRestjson1_deserializeDocumentConversationLevelTestResultItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -26967,7 +26143,6 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.BotAliasId = ptr.String(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -26976,12 +26151,10 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.BotId = ptr.String(jtv) } - case "filter": if err := awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(&sv.Filter, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -26990,7 +26163,6 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -27037,7 +26209,6 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } } - case "inputMode": if value != nil { jtv, ok := value.(string) @@ -27046,7 +26217,6 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } sv.InputMode = types.ConversationLogsInputModeFilter(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -27062,7 +26232,6 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } } - default: _, _ = key, value @@ -27098,12 +26267,10 @@ func awsRestjson1_deserializeDocumentConversationLogSettings(v **types.Conversat if err := awsRestjson1_deserializeDocumentAudioLogSettingsList(&sv.AudioLogSettings, value); err != nil { return err } - case "textLogSettings": if err := awsRestjson1_deserializeDocumentTextLogSettingsList(&sv.TextLogSettings, value); err != nil { return err } - default: _, _ = key, value @@ -27143,7 +26310,6 @@ func awsRestjson1_deserializeDocumentCustomPayload(v **types.CustomPayload, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -27183,7 +26349,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -27192,7 +26357,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -27201,7 +26365,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -27241,7 +26404,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -27250,7 +26412,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.BotVersion = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -27259,7 +26420,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -27299,7 +26459,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.DisplayAs = ptr.String(jtv) } - case "itemId": if value != nil { jtv, ok := value.(string) @@ -27308,7 +26467,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.ItemId = ptr.String(jtv) } - case "phrase": if value != nil { jtv, ok := value.(string) @@ -27317,7 +26475,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.Phrase = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -27330,7 +26487,6 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27404,7 +26560,6 @@ func awsRestjson1_deserializeDocumentDataPrivacy(v **types.DataPrivacy, value in } sv.ChildDirected = jtv } - default: _, _ = key, value @@ -27440,17 +26595,14 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(&sv.BedrockKnowledgeStoreConfiguration, value); err != nil { return err } - case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentQnAKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } - case "opensearchConfiguration": if err := awsRestjson1_deserializeDocumentOpensearchConfiguration(&sv.OpensearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -27497,7 +26649,6 @@ func awsRestjson1_deserializeDocumentDateRangeFilter(v **types.DateRangeFilter, } } - case "startDateTime": if value != nil { switch jtv := value.(type) { @@ -27513,7 +26664,6 @@ func awsRestjson1_deserializeDocumentDateRangeFilter(v **types.DateRangeFilter, } } - default: _, _ = key, value @@ -27549,12 +26699,10 @@ func awsRestjson1_deserializeDocumentDefaultConditionalBranch(v **types.DefaultC if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } - case "response": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.Response, value); err != nil { return err } - default: _, _ = key, value @@ -27590,7 +26738,6 @@ func awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(v **type if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -27599,7 +26746,6 @@ func awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(v **type } sv.Enabled = jtv } - default: _, _ = key, value @@ -27639,7 +26785,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } - case "suppressNextMessage": if value != nil { jtv, ok := value.(bool) @@ -27648,7 +26793,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SuppressNextMessage = ptr.Bool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -27657,7 +26801,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } - default: _, _ = key, value @@ -27697,7 +26840,6 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.Active = ptr.Bool(jtv) } - case "enableCodeHookInvocation": if value != nil { jtv, ok := value.(bool) @@ -27706,7 +26848,6 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.EnableCodeHookInvocation = ptr.Bool(jtv) } - case "invocationLabel": if value != nil { jtv, ok := value.(string) @@ -27715,12 +26856,10 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.InvocationLabel = ptr.String(jtv) } - case "postCodeHookSpecification": if err := awsRestjson1_deserializeDocumentPostDialogCodeHookInvocationSpecification(&sv.PostCodeHookSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -27760,7 +26899,6 @@ func awsRestjson1_deserializeDocumentDialogCodeHookSettings(v **types.DialogCode } sv.Enabled = jtv } - default: _, _ = key, value @@ -27796,17 +26934,14 @@ func awsRestjson1_deserializeDocumentDialogState(v **types.DialogState, value in if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } - case "intent": if err := awsRestjson1_deserializeDocumentIntentOverride(&sv.Intent, value); err != nil { return err } - case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -27846,7 +26981,6 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.DeletionCharacter = ptr.String(jtv) } - case "endCharacter": if value != nil { jtv, ok := value.(string) @@ -27855,7 +26989,6 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.EndCharacter = ptr.String(jtv) } - case "endTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -27868,7 +27001,6 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.EndTimeoutMs = ptr.Int32(int32(i64)) } - case "maxLength": if value != nil { jtv, ok := value.(json.Number) @@ -27881,7 +27013,6 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.MaxLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27921,7 +27052,6 @@ func awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(v **ty } sv.EnableCodeHookInvocation = ptr.Bool(jtv) } - case "invocationLabel": if value != nil { jtv, ok := value.(string) @@ -27930,7 +27060,6 @@ func awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(v **ty } sv.InvocationLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -27970,7 +27099,6 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.AssociatedTranscriptsPassword = ptr.String(jtv) } - case "botLocaleExportPassword": if value != nil { jtv, ok := value.(string) @@ -27979,7 +27107,6 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.BotLocaleExportPassword = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -27988,7 +27115,6 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -28028,7 +27154,6 @@ func awsRestjson1_deserializeDocumentExactResponseFields(v **types.ExactResponse } sv.AnswerField = ptr.String(jtv) } - case "questionField": if value != nil { jtv, ok := value.(string) @@ -28037,7 +27162,6 @@ func awsRestjson1_deserializeDocumentExactResponseFields(v **types.ExactResponse } sv.QuestionField = ptr.String(jtv) } - default: _, _ = key, value @@ -28077,7 +27201,6 @@ func awsRestjson1_deserializeDocumentExecutionErrorDetails(v **types.ExecutionEr } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -28086,7 +27209,6 @@ func awsRestjson1_deserializeDocumentExecutionErrorDetails(v **types.ExecutionEr } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -28122,22 +27244,18 @@ func awsRestjson1_deserializeDocumentExportResourceSpecification(v **types.Expor if err := awsRestjson1_deserializeDocumentBotExportSpecification(&sv.BotExportSpecification, value); err != nil { return err } - case "botLocaleExportSpecification": if err := awsRestjson1_deserializeDocumentBotLocaleExportSpecification(&sv.BotLocaleExportSpecification, value); err != nil { return err } - case "customVocabularyExportSpecification": if err := awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(&sv.CustomVocabularyExportSpecification, value); err != nil { return err } - case "testSetExportSpecification": if err := awsRestjson1_deserializeDocumentTestSetExportSpecification(&sv.TestSetExportSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -28184,7 +27302,6 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } } - case "exportId": if value != nil { jtv, ok := value.(string) @@ -28193,7 +27310,6 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportId = ptr.String(jtv) } - case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -28202,7 +27318,6 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportStatus = types.ExportStatus(jtv) } - case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -28211,7 +27326,6 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.FileFormat = types.ImportExportFileFormat(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -28227,12 +27341,10 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -28302,7 +27414,6 @@ func awsRestjson1_deserializeDocumentExternalSourceSetting(v **types.ExternalSou if err := awsRestjson1_deserializeDocumentGrammarSlotTypeSetting(&sv.GrammarSlotTypeSetting, value); err != nil { return err } - default: _, _ = key, value @@ -28342,7 +27453,6 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -28351,7 +27461,6 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ErrorMessage = ptr.String(jtv) } - case "itemId": if value != nil { jtv, ok := value.(string) @@ -28360,7 +27469,6 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ItemId = ptr.String(jtv) } - default: _, _ = key, value @@ -28470,7 +27578,6 @@ func awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(v **types.Fulfi } sv.Active = ptr.Bool(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -28479,17 +27586,14 @@ func awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(v **types.Fulfi } sv.Enabled = jtv } - case "fulfillmentUpdatesSpecification": if err := awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(&sv.FulfillmentUpdatesSpecification, value); err != nil { return err } - case "postFulfillmentStatusSpecification": if err := awsRestjson1_deserializeDocumentPostFulfillmentStatusSpecification(&sv.PostFulfillmentStatusSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -28529,7 +27633,6 @@ func awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(v **t } sv.AllowInterrupt = ptr.Bool(jtv) } - case "delayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28542,12 +27645,10 @@ func awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(v **t } sv.DelayInSeconds = ptr.Int32(int32(i64)) } - case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } - default: _, _ = key, value @@ -28587,7 +27688,6 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(v ** } sv.AllowInterrupt = ptr.Bool(jtv) } - case "frequencyInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28600,12 +27700,10 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(v ** } sv.FrequencyInSeconds = ptr.Int32(int32(i64)) } - case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } - default: _, _ = key, value @@ -28645,12 +27743,10 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(v **types.F } sv.Active = ptr.Bool(jtv) } - case "startResponse": if err := awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(&sv.StartResponse, value); err != nil { return err } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28663,12 +27759,10 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(v **types.F } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - case "updateResponse": if err := awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(&sv.UpdateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -28715,7 +27809,6 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } } - case "generationId": if value != nil { jtv, ok := value.(string) @@ -28724,7 +27817,6 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationId = ptr.String(jtv) } - case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -28733,7 +27825,6 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStatus = types.GenerationStatus(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -28749,7 +27840,6 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } } - default: _, _ = key, value @@ -28819,12 +27909,10 @@ func awsRestjson1_deserializeDocumentGenerativeAISettings(v **types.GenerativeAI if err := awsRestjson1_deserializeDocumentBuildtimeSettings(&sv.BuildtimeSettings, value); err != nil { return err } - case "runtimeSettings": if err := awsRestjson1_deserializeDocumentRuntimeSettings(&sv.RuntimeSettings, value); err != nil { return err } - default: _, _ = key, value @@ -28860,7 +27948,6 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSetting(v **types.GrammarSlo if err := awsRestjson1_deserializeDocumentGrammarSlotTypeSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -28900,7 +27987,6 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.KmsKeyArn = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -28909,7 +27995,6 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.S3BucketName = ptr.String(jtv) } - case "s3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -28918,7 +28003,6 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.S3ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -28954,7 +28038,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa if err := awsRestjson1_deserializeDocumentButtonsList(&sv.Buttons, value); err != nil { return err } - case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -28963,7 +28046,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.ImageUrl = ptr.String(jtv) } - case "subtitle": if value != nil { jtv, ok := value.(string) @@ -28972,7 +28054,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Subtitle = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -28981,7 +28062,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -29017,22 +28097,18 @@ func awsRestjson1_deserializeDocumentImportResourceSpecification(v **types.Impor if err := awsRestjson1_deserializeDocumentBotImportSpecification(&sv.BotImportSpecification, value); err != nil { return err } - case "botLocaleImportSpecification": if err := awsRestjson1_deserializeDocumentBotLocaleImportSpecification(&sv.BotLocaleImportSpecification, value); err != nil { return err } - case "customVocabularyImportSpecification": if err := awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(&sv.CustomVocabularyImportSpecification, value); err != nil { return err } - case "testSetImportResourceSpecification": if err := awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(&sv.TestSetImportResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -29079,7 +28155,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } - case "importedResourceId": if value != nil { jtv, ok := value.(string) @@ -29088,7 +28163,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceId = ptr.String(jtv) } - case "importedResourceName": if value != nil { jtv, ok := value.(string) @@ -29097,7 +28171,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceName = ptr.String(jtv) } - case "importedResourceType": if value != nil { jtv, ok := value.(string) @@ -29106,7 +28179,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceType = types.ImportResourceType(jtv) } - case "importId": if value != nil { jtv, ok := value.(string) @@ -29115,7 +28187,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportId = ptr.String(jtv) } - case "importStatus": if value != nil { jtv, ok := value.(string) @@ -29124,7 +28195,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportStatus = types.ImportStatus(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -29140,7 +28210,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } - case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -29149,7 +28218,6 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.MergeStrategy = types.MergeStrategy(jtv) } - default: _, _ = key, value @@ -29219,22 +28287,18 @@ func awsRestjson1_deserializeDocumentInitialResponseSetting(v **types.InitialRes if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } - case "conditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.Conditional, value); err != nil { return err } - case "initialResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.InitialResponse, value); err != nil { return err } - case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } - default: _, _ = key, value @@ -29274,7 +28338,6 @@ func awsRestjson1_deserializeDocumentInputContext(v **types.InputContext, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -29344,17 +28407,14 @@ func awsRestjson1_deserializeDocumentInputSessionStateSpecification(v **types.In if err := awsRestjson1_deserializeDocumentActiveContextList(&sv.ActiveContexts, value); err != nil { return err } - case "runtimeHints": if err := awsRestjson1_deserializeDocumentRuntimeHints(&sv.RuntimeHints, value); err != nil { return err } - case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -29394,7 +28454,6 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItem(v **type } sv.IntentName = ptr.String(jtv) } - case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -29403,12 +28462,10 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItem(v **type } sv.MultiTurnConversation = jtv } - case "resultCounts": if err := awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(&sv.ResultCounts, value); err != nil { return err } - default: _, _ = key, value @@ -29444,12 +28501,10 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(v if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.IntentMatchResultCounts, value); err != nil { return err } - case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } - case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -29462,7 +28517,6 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(v } sv.TotalResultCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29532,7 +28586,6 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResults(v **types.I if err := awsRestjson1_deserializeDocumentIntentClassificationTestResultItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -29572,22 +28625,18 @@ func awsRestjson1_deserializeDocumentIntentClosingSetting(v **types.IntentClosin } sv.Active = ptr.Bool(jtv) } - case "closingResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ClosingResponse, value); err != nil { return err } - case "conditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.Conditional, value); err != nil { return err } - case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } - default: _, _ = key, value @@ -29627,67 +28676,54 @@ func awsRestjson1_deserializeDocumentIntentConfirmationSetting(v **types.IntentC } sv.Active = ptr.Bool(jtv) } - case "codeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } - case "confirmationConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.ConfirmationConditional, value); err != nil { return err } - case "confirmationNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.ConfirmationNextStep, value); err != nil { return err } - case "confirmationResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ConfirmationResponse, value); err != nil { return err } - case "declinationConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.DeclinationConditional, value); err != nil { return err } - case "declinationNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.DeclinationNextStep, value); err != nil { return err } - case "declinationResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.DeclinationResponse, value); err != nil { return err } - case "elicitationCodeHook": if err := awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(&sv.ElicitationCodeHook, value); err != nil { return err } - case "failureConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } - case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } - case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } - case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -29727,7 +28763,6 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItem(v * } sv.IntentName = ptr.String(jtv) } - case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -29736,12 +28771,10 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItem(v * } sv.MultiTurnConversation = jtv } - case "slotResolutionResults": if err := awsRestjson1_deserializeDocumentSlotResolutionTestResultItems(&sv.SlotResolutionResults, value); err != nil { return err } - default: _, _ = key, value @@ -29811,7 +28844,6 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResults(v **ty if err := awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -29851,12 +28883,10 @@ func awsRestjson1_deserializeDocumentIntentOverride(v **types.IntentOverride, va } sv.Name = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentSlotValueOverrideMap(&sv.Slots, value); err != nil { return err } - default: _, _ = key, value @@ -29900,7 +28930,6 @@ func awsRestjson1_deserializeDocumentIntentStatistics(v **types.IntentStatistics } sv.DiscoveredIntentCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29940,12 +28969,10 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.Description = ptr.String(jtv) } - case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -29954,7 +28981,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentId = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -29963,7 +28989,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -29979,12 +29004,10 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } } - case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } - case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -29993,7 +29016,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.ParentIntentSignature = ptr.String(jtv) } - default: _, _ = key, value @@ -30057,15 +29079,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30073,15 +29089,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30116,7 +29128,6 @@ func awsRestjson1_deserializeDocumentInvokedIntentSample(v **types.InvokedIntent } sv.IntentName = ptr.String(jtv) } - default: _, _ = key, value @@ -30190,7 +29201,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.KendraIndex = ptr.String(jtv) } - case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -30199,7 +29209,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterString = ptr.String(jtv) } - case "queryFilterStringEnabled": if value != nil { jtv, ok := value.(bool) @@ -30208,7 +29217,6 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterStringEnabled = jtv } - default: _, _ = key, value @@ -30248,7 +29256,6 @@ func awsRestjson1_deserializeDocumentLambdaCodeHook(v **types.LambdaCodeHook, va } sv.CodeHookInterfaceVersion = ptr.String(jtv) } - case "lambdaARN": if value != nil { jtv, ok := value.(string) @@ -30257,7 +29264,6 @@ func awsRestjson1_deserializeDocumentLambdaCodeHook(v **types.LambdaCodeHook, va } sv.LambdaARN = ptr.String(jtv) } - default: _, _ = key, value @@ -30293,7 +29299,6 @@ func awsRestjson1_deserializeDocumentLexTranscriptFilter(v **types.LexTranscript if err := awsRestjson1_deserializeDocumentDateRangeFilter(&sv.DateRangeFilter, value); err != nil { return err } - default: _, _ = key, value @@ -30329,22 +29334,18 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentCustomPayload(&sv.CustomPayload, value); err != nil { return err } - case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } - case "plainTextMessage": if err := awsRestjson1_deserializeDocumentPlainTextMessage(&sv.PlainTextMessage, value); err != nil { return err } - case "ssmlMessage": if err := awsRestjson1_deserializeDocumentSSMLMessage(&sv.SsmlMessage, value); err != nil { return err } - default: _, _ = key, value @@ -30380,12 +29381,10 @@ func awsRestjson1_deserializeDocumentMessageGroup(v **types.MessageGroup, value if err := awsRestjson1_deserializeDocumentMessage(&sv.Message, value); err != nil { return err } - case "variations": if err := awsRestjson1_deserializeDocumentMessageVariationsList(&sv.Variations, value); err != nil { return err } - default: _, _ = key, value @@ -30493,7 +29492,6 @@ func awsRestjson1_deserializeDocumentMultipleValuesSetting(v **types.MultipleVal } sv.AllowMultipleValues = jtv } - default: _, _ = key, value @@ -30533,7 +29531,6 @@ func awsRestjson1_deserializeDocumentObfuscationSetting(v **types.ObfuscationSet } sv.ObfuscationSettingType = types.ObfuscationSettingType(jtv) } - default: _, _ = key, value @@ -30609,7 +29606,6 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.DomainEndpoint = ptr.String(jtv) } - case "exactResponse": if value != nil { jtv, ok := value.(bool) @@ -30618,17 +29614,14 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.ExactResponse = jtv } - case "exactResponseFields": if err := awsRestjson1_deserializeDocumentExactResponseFields(&sv.ExactResponseFields, value); err != nil { return err } - case "includeFields": if err := awsRestjson1_deserializeDocumentOSIncludeFields(&sv.IncludeFields, value); err != nil { return err } - case "indexName": if value != nil { jtv, ok := value.(string) @@ -30637,7 +29630,6 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.IndexName = ptr.String(jtv) } - default: _, _ = key, value @@ -30713,7 +29705,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.Name = ptr.String(jtv) } - case "timeToLiveInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -30726,7 +29717,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } - case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -30739,7 +29729,6 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TurnsToLive = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30809,7 +29798,6 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.EndToEndResultCounts, value); err != nil { return err } - case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -30818,12 +29806,10 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest } sv.MultiTurnConversation = jtv } - case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } - case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -30836,7 +29822,6 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest } sv.TotalResultCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30906,7 +29891,6 @@ func awsRestjson1_deserializeDocumentOverallTestResults(v **types.OverallTestRes if err := awsRestjson1_deserializeDocumentOverallTestResultItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -30946,7 +29930,6 @@ func awsRestjson1_deserializeDocumentParentBotNetwork(v **types.ParentBotNetwork } sv.BotId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -30955,7 +29938,6 @@ func awsRestjson1_deserializeDocumentParentBotNetwork(v **types.ParentBotNetwork } sv.BotVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -31025,7 +30007,6 @@ func awsRestjson1_deserializeDocumentPathFormat(v **types.PathFormat, value inte if err := awsRestjson1_deserializeDocumentObjectPrefixes(&sv.ObjectPrefixes, value); err != nil { return err } - default: _, _ = key, value @@ -31065,7 +30046,6 @@ func awsRestjson1_deserializeDocumentPlainTextMessage(v **types.PlainTextMessage } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -31101,47 +30081,38 @@ func awsRestjson1_deserializeDocumentPostDialogCodeHookInvocationSpecification(v if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } - case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } - case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } - case "successConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.SuccessConditional, value); err != nil { return err } - case "successNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.SuccessNextStep, value); err != nil { return err } - case "successResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.SuccessResponse, value); err != nil { return err } - case "timeoutConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.TimeoutConditional, value); err != nil { return err } - case "timeoutNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.TimeoutNextStep, value); err != nil { return err } - case "timeoutResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.TimeoutResponse, value); err != nil { return err } - default: _, _ = key, value @@ -31177,47 +30148,38 @@ func awsRestjson1_deserializeDocumentPostFulfillmentStatusSpecification(v **type if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } - case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } - case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } - case "successConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.SuccessConditional, value); err != nil { return err } - case "successNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.SuccessNextStep, value); err != nil { return err } - case "successResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.SuccessResponse, value); err != nil { return err } - case "timeoutConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.TimeoutConditional, value); err != nil { return err } - case "timeoutNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.TimeoutNextStep, value); err != nil { return err } - case "timeoutResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.TimeoutResponse, value); err != nil { return err } - default: _, _ = key, value @@ -31247,15 +30209,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31263,15 +30219,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31302,7 +30254,6 @@ func awsRestjson1_deserializeDocumentPromptAttemptSpecification(v **types.Prompt if err := awsRestjson1_deserializeDocumentAllowedInputTypes(&sv.AllowedInputTypes, value); err != nil { return err } - case "allowInterrupt": if value != nil { jtv, ok := value.(bool) @@ -31311,17 +30262,14 @@ func awsRestjson1_deserializeDocumentPromptAttemptSpecification(v **types.Prompt } sv.AllowInterrupt = ptr.Bool(jtv) } - case "audioAndDTMFInputSpecification": if err := awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(&sv.AudioAndDTMFInputSpecification, value); err != nil { return err } - case "textInputSpecification": if err := awsRestjson1_deserializeDocumentTextInputSpecification(&sv.TextInputSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -31396,7 +30344,6 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.AllowInterrupt = ptr.Bool(jtv) } - case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -31409,12 +30356,10 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.MaxRetries = ptr.Int32(int32(i64)) } - case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } - case "messageSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -31423,12 +30368,10 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.MessageSelectionStrategy = types.MessageSelectionStrategy(jtv) } - case "promptAttemptsSpecification": if err := awsRestjson1_deserializeDocumentPromptAttemptsSpecificationMap(&sv.PromptAttemptsSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -31464,12 +30407,10 @@ func awsRestjson1_deserializeDocumentQnAIntentConfiguration(v **types.QnAIntentC if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelConfiguration, value); err != nil { return err } - case "dataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -31509,7 +30450,6 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.ExactResponse = jtv } - case "kendraIndex": if value != nil { jtv, ok := value.(string) @@ -31518,7 +30458,6 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.KendraIndex = ptr.String(jtv) } - case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -31527,7 +30466,6 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.QueryFilterString = ptr.String(jtv) } - case "queryFilterStringEnabled": if value != nil { jtv, ok := value.(bool) @@ -31536,7 +30474,6 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.QueryFilterStringEnabled = jtv } - default: _, _ = key, value @@ -31612,7 +30549,6 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.IntentId = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -31621,7 +30557,6 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.IntentName = ptr.String(jtv) } - case "sampleUtterancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -31634,7 +30569,6 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.SampleUtterancesCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31708,7 +30642,6 @@ func awsRestjson1_deserializeDocumentRelativeAggregationDuration(v **types.Relat } sv.TimeDimension = types.TimeDimension(jtv) } - case "timeValue": if value != nil { jtv, ok := value.(json.Number) @@ -31721,7 +30654,6 @@ func awsRestjson1_deserializeDocumentRelativeAggregationDuration(v **types.Relat } sv.TimeValue = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31751,15 +30683,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31767,15 +30693,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31810,12 +30732,10 @@ func awsRestjson1_deserializeDocumentResponseSpecification(v **types.ResponseSpe } sv.AllowInterrupt = ptr.Bool(jtv) } - case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } - default: _, _ = key, value @@ -31851,12 +30771,10 @@ func awsRestjson1_deserializeDocumentRuntimeHintDetails(v **types.RuntimeHintDet if err := awsRestjson1_deserializeDocumentRuntimeHintValuesList(&sv.RuntimeHintValues, value); err != nil { return err } - case "subSlotHints": if err := awsRestjson1_deserializeDocumentSlotHintsSlotMap(&sv.SubSlotHints, value); err != nil { return err } - default: _, _ = key, value @@ -31892,7 +30810,6 @@ func awsRestjson1_deserializeDocumentRuntimeHints(v **types.RuntimeHints, value if err := awsRestjson1_deserializeDocumentSlotHintsIntentMap(&sv.SlotHints, value); err != nil { return err } - default: _, _ = key, value @@ -31932,7 +30849,6 @@ func awsRestjson1_deserializeDocumentRuntimeHintValue(v **types.RuntimeHintValue } sv.Phrase = ptr.String(jtv) } - default: _, _ = key, value @@ -32002,7 +30918,6 @@ func awsRestjson1_deserializeDocumentRuntimeSettings(v **types.RuntimeSettings, if err := awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(&sv.SlotResolutionImprovement, value); err != nil { return err } - default: _, _ = key, value @@ -32042,7 +30957,6 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.KmsKeyArn = ptr.String(jtv) } - case "logPrefix": if value != nil { jtv, ok := value.(string) @@ -32051,7 +30965,6 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.LogPrefix = ptr.String(jtv) } - case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -32060,7 +30973,6 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.S3BucketArn = ptr.String(jtv) } - default: _, _ = key, value @@ -32100,12 +31012,10 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.KmsKeyArn = ptr.String(jtv) } - case "pathFormat": if err := awsRestjson1_deserializeDocumentPathFormat(&sv.PathFormat, value); err != nil { return err } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -32114,12 +31024,10 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.S3BucketName = ptr.String(jtv) } - case "transcriptFilter": if err := awsRestjson1_deserializeDocumentTranscriptFilter(&sv.TranscriptFilter, value); err != nil { return err } - case "transcriptFormat": if value != nil { jtv, ok := value.(string) @@ -32128,7 +31036,6 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.TranscriptFormat = types.TranscriptFormat(jtv) } - default: _, _ = key, value @@ -32168,7 +31075,6 @@ func awsRestjson1_deserializeDocumentSampleUtterance(v **types.SampleUtterance, } sv.Utterance = ptr.String(jtv) } - default: _, _ = key, value @@ -32204,7 +31110,6 @@ func awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(v ** if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -32213,7 +31118,6 @@ func awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(v ** } sv.Enabled = jtv } - default: _, _ = key, value @@ -32287,7 +31191,6 @@ func awsRestjson1_deserializeDocumentSampleValue(v **types.SampleValue, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -32327,7 +31230,6 @@ func awsRestjson1_deserializeDocumentSentimentAnalysisSettings(v **types.Sentime } sv.DetectSentiment = jtv } - default: _, _ = key, value @@ -32357,15 +31259,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32373,15 +31269,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32416,7 +31308,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.BotAliasId = ptr.String(jtv) } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -32425,7 +31316,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.BotVersion = ptr.String(jtv) } - case "channel": if value != nil { jtv, ok := value.(string) @@ -32434,7 +31324,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.Channel = ptr.String(jtv) } - case "conversationDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -32447,7 +31336,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.ConversationDurationSeconds = ptr.Int64(i64) } - case "conversationEndState": if value != nil { jtv, ok := value.(string) @@ -32456,7 +31344,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.ConversationEndState = types.ConversationEndState(jtv) } - case "conversationEndTime": if value != nil { switch jtv := value.(type) { @@ -32472,7 +31359,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } } - case "conversationStartTime": if value != nil { switch jtv := value.(type) { @@ -32488,12 +31374,10 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } } - case "invokedIntentSamples": if err := awsRestjson1_deserializeDocumentInvokedIntentSamples(&sv.InvokedIntentSamples, value); err != nil { return err } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -32502,7 +31386,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.LocaleId = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -32511,7 +31394,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.Mode = types.AnalyticsModality(jtv) } - case "numberOfTurns": if value != nil { jtv, ok := value.(json.Number) @@ -32524,7 +31406,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.NumberOfTurns = ptr.Int64(i64) } - case "originatingRequestId": if value != nil { jtv, ok := value.(string) @@ -32533,7 +31414,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.OriginatingRequestId = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -32542,7 +31422,6 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -32612,42 +31491,34 @@ func awsRestjson1_deserializeDocumentSlotCaptureSetting(v **types.SlotCaptureSet if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.CaptureConditional, value); err != nil { return err } - case "captureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.CaptureNextStep, value); err != nil { return err } - case "captureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.CaptureResponse, value); err != nil { return err } - case "codeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } - case "elicitationCodeHook": if err := awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(&sv.ElicitationCodeHook, value); err != nil { return err } - case "failureConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } - case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } - case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } - default: _, _ = key, value @@ -32687,7 +31558,6 @@ func awsRestjson1_deserializeDocumentSlotDefaultValue(v **types.SlotDefaultValue } sv.DefaultValue = ptr.String(jtv) } - default: _, _ = key, value @@ -32757,7 +31627,6 @@ func awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(v **types.Slo if err := awsRestjson1_deserializeDocumentSlotDefaultValueList(&sv.DefaultValueList, value); err != nil { return err } - default: _, _ = key, value @@ -32904,7 +31773,6 @@ func awsRestjson1_deserializeDocumentSlotPriority(v **types.SlotPriority, value } sv.Priority = ptr.Int32(int32(i64)) } - case "slotId": if value != nil { jtv, ok := value.(string) @@ -32913,7 +31781,6 @@ func awsRestjson1_deserializeDocumentSlotPriority(v **types.SlotPriority, value } sv.SlotId = ptr.String(jtv) } - default: _, _ = key, value @@ -32949,7 +31816,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(v ** if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -32958,7 +31824,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(v ** } sv.Enabled = jtv } - default: _, _ = key, value @@ -32998,7 +31863,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionSetting(v **types.SlotResolut } sv.SlotResolutionStrategy = types.SlotResolutionStrategy(jtv) } - default: _, _ = key, value @@ -33034,7 +31898,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItem(v **types.Slot if err := awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(&sv.ResultCounts, value); err != nil { return err } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -33043,7 +31906,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItem(v **types.Slot } sv.SlotName = ptr.String(jtv) } - default: _, _ = key, value @@ -33079,12 +31941,10 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(v **type if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SlotMatchResultCounts, value); err != nil { return err } - case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } - case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -33097,7 +31957,6 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(v **type } sv.TotalResultCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33171,7 +32030,6 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -33187,7 +32045,6 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } } - case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -33196,7 +32053,6 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotConstraint = types.SlotConstraint(jtv) } - case "slotId": if value != nil { jtv, ok := value.(string) @@ -33205,7 +32061,6 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotId = ptr.String(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -33214,7 +32069,6 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotName = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -33223,12 +32077,10 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotTypeId = ptr.String(jtv) } - case "valueElicitationPromptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.ValueElicitationPromptSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -33306,7 +32158,6 @@ func awsRestjson1_deserializeDocumentSlotTypeStatistics(v **types.SlotTypeStatis } sv.DiscoveredSlotTypeCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33346,7 +32197,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -33362,7 +32212,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } } - case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -33371,7 +32220,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.ParentSlotTypeSignature = ptr.String(jtv) } - case "slotTypeCategory": if value != nil { jtv, ok := value.(string) @@ -33380,7 +32228,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeCategory = types.SlotTypeCategory(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -33389,7 +32236,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeId = ptr.String(jtv) } - case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -33398,7 +32244,6 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -33468,12 +32313,10 @@ func awsRestjson1_deserializeDocumentSlotTypeValue(v **types.SlotTypeValue, valu if err := awsRestjson1_deserializeDocumentSampleValue(&sv.SampleValue, value); err != nil { return err } - case "synonyms": if err := awsRestjson1_deserializeDocumentSynonymList(&sv.Synonyms, value); err != nil { return err } - default: _, _ = key, value @@ -33547,7 +32390,6 @@ func awsRestjson1_deserializeDocumentSlotValue(v **types.SlotValue, value interf } sv.InterpretedValue = ptr.String(jtv) } - default: _, _ = key, value @@ -33583,22 +32425,18 @@ func awsRestjson1_deserializeDocumentSlotValueElicitationSetting(v **types.SlotV if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(&sv.DefaultValueSpecification, value); err != nil { return err } - case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - case "slotCaptureSetting": if err := awsRestjson1_deserializeDocumentSlotCaptureSetting(&sv.SlotCaptureSetting, value); err != nil { return err } - case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -33607,17 +32445,14 @@ func awsRestjson1_deserializeDocumentSlotValueElicitationSetting(v **types.SlotV } sv.SlotConstraint = types.SlotConstraint(jtv) } - case "slotResolutionSetting": if err := awsRestjson1_deserializeDocumentSlotResolutionSetting(&sv.SlotResolutionSetting, value); err != nil { return err } - case "waitAndContinueSpecification": if err := awsRestjson1_deserializeDocumentWaitAndContinueSpecification(&sv.WaitAndContinueSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -33657,17 +32492,14 @@ func awsRestjson1_deserializeDocumentSlotValueOverride(v **types.SlotValueOverri } sv.Shape = types.SlotShape(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentSlotValue(&sv.Value, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentSlotValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -33742,7 +32574,6 @@ func awsRestjson1_deserializeDocumentSlotValueRegexFilter(v **types.SlotValueReg } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -33812,12 +32643,10 @@ func awsRestjson1_deserializeDocumentSlotValueSelectionSetting(v **types.SlotVal if err := awsRestjson1_deserializeDocumentAdvancedRecognitionSetting(&sv.AdvancedRecognitionSetting, value); err != nil { return err } - case "regexFilter": if err := awsRestjson1_deserializeDocumentSlotValueRegexFilter(&sv.RegexFilter, value); err != nil { return err } - case "resolutionStrategy": if value != nil { jtv, ok := value.(string) @@ -33826,7 +32655,6 @@ func awsRestjson1_deserializeDocumentSlotValueSelectionSetting(v **types.SlotVal } sv.ResolutionStrategy = types.SlotValueResolutionStrategy(jtv) } - default: _, _ = key, value @@ -33866,12 +32694,10 @@ func awsRestjson1_deserializeDocumentSpecifications(v **types.Specifications, va } sv.SlotTypeId = ptr.String(jtv) } - case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSubSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } - default: _, _ = key, value @@ -33911,7 +32737,6 @@ func awsRestjson1_deserializeDocumentSSMLMessage(v **types.SSMLMessage, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -33951,7 +32776,6 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.AllowInterrupt = ptr.Bool(jtv) } - case "frequencyInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -33964,12 +32788,10 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.FrequencyInSeconds = ptr.Int32(int32(i64)) } - case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -33982,7 +32804,6 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34058,12 +32879,10 @@ func awsRestjson1_deserializeDocumentSubSlotSetting(v **types.SubSlotSetting, va } sv.Expression = ptr.String(jtv) } - case "slotSpecifications": if err := awsRestjson1_deserializeDocumentSubSlotSpecificationMap(&sv.SlotSpecifications, value); err != nil { return err } - default: _, _ = key, value @@ -34138,7 +32957,6 @@ func awsRestjson1_deserializeDocumentSubSlotTypeComposition(v **types.SubSlotTyp } sv.Name = ptr.String(jtv) } - case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -34147,7 +32965,6 @@ func awsRestjson1_deserializeDocumentSubSlotTypeComposition(v **types.SubSlotTyp } sv.SlotTypeId = ptr.String(jtv) } - default: _, _ = key, value @@ -34217,22 +33034,18 @@ func awsRestjson1_deserializeDocumentSubSlotValueElicitationSetting(v **types.Su if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(&sv.DefaultValueSpecification, value); err != nil { return err } - case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } - case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } - case "waitAndContinueSpecification": if err := awsRestjson1_deserializeDocumentWaitAndContinueSpecification(&sv.WaitAndContinueSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -34338,27 +33151,22 @@ func awsRestjson1_deserializeDocumentTestExecutionResultItems(v **types.TestExec if err := awsRestjson1_deserializeDocumentConversationLevelTestResults(&sv.ConversationLevelTestResults, value); err != nil { return err } - case "intentClassificationTestResults": if err := awsRestjson1_deserializeDocumentIntentClassificationTestResults(&sv.IntentClassificationTestResults, value); err != nil { return err } - case "intentLevelSlotResolutionTestResults": if err := awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResults(&sv.IntentLevelSlotResolutionTestResults, value); err != nil { return err } - case "overallTestResults": if err := awsRestjson1_deserializeDocumentOverallTestResults(&sv.OverallTestResults, value); err != nil { return err } - case "utteranceLevelTestResults": if err := awsRestjson1_deserializeDocumentUtteranceLevelTestResults(&sv.UtteranceLevelTestResults, value); err != nil { return err } - default: _, _ = key, value @@ -34398,7 +33206,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.ApiMode = types.TestExecutionApiMode(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -34414,7 +33221,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -34430,12 +33236,10 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } } - case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } - case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -34444,7 +33248,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionId = ptr.String(jtv) } - case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -34453,7 +33256,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionModality = types.TestExecutionModality(jtv) } - case "testExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -34462,7 +33264,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionStatus = types.TestExecutionStatus(jtv) } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -34471,7 +33272,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -34480,7 +33280,6 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -34550,7 +33349,6 @@ func awsRestjson1_deserializeDocumentTestExecutionTarget(v **types.TestExecution if err := awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(&sv.BotAliasTarget, value); err != nil { return err } - default: _, _ = key, value @@ -34626,12 +33424,10 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyErrors(v **types.TestSetD if err := awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyList(&sv.IntentDiscrepancies, value); err != nil { return err } - case "slotDiscrepancies": if err := awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyList(&sv.SlotDiscrepancies, value); err != nil { return err } - default: _, _ = key, value @@ -34671,7 +33467,6 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.BotAliasId = ptr.String(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -34680,7 +33475,6 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.BotId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -34689,7 +33483,6 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.LocaleId = ptr.String(jtv) } - default: _, _ = key, value @@ -34725,7 +33518,6 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(v ** if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(&sv.BotAliasTarget, value); err != nil { return err } - default: _, _ = key, value @@ -34765,7 +33557,6 @@ func awsRestjson1_deserializeDocumentTestSetExportSpecification(v **types.TestSe } sv.TestSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -34801,7 +33592,6 @@ func awsRestjson1_deserializeDocumentTestSetGenerationDataSource(v **types.TestS if err := awsRestjson1_deserializeDocumentConversationLogsDataSource(&sv.ConversationLogsDataSource, value); err != nil { return err } - default: _, _ = key, value @@ -34841,7 +33631,6 @@ func awsRestjson1_deserializeDocumentTestSetImportInputLocation(v **types.TestSe } sv.S3BucketName = ptr.String(jtv) } - case "s3Path": if value != nil { jtv, ok := value.(string) @@ -34850,7 +33639,6 @@ func awsRestjson1_deserializeDocumentTestSetImportInputLocation(v **types.TestSe } sv.S3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -34890,12 +33678,10 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.Description = ptr.String(jtv) } - case "importInputLocation": if err := awsRestjson1_deserializeDocumentTestSetImportInputLocation(&sv.ImportInputLocation, value); err != nil { return err } - case "modality": if value != nil { jtv, ok := value.(string) @@ -34904,7 +33690,6 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.Modality = types.TestSetModality(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -34913,12 +33698,10 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.RoleArn = ptr.String(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -34927,12 +33710,10 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.TestSetName = ptr.String(jtv) } - case "testSetTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestSetTags, value); err != nil { return err } - default: _, _ = key, value @@ -34972,7 +33753,6 @@ func awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyItem(v **types.Test } sv.ErrorMessage = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -34981,7 +33761,6 @@ func awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyItem(v **types.Test } sv.IntentName = ptr.String(jtv) } - default: _, _ = key, value @@ -35055,7 +33834,6 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.ErrorMessage = ptr.String(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -35064,7 +33842,6 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.IntentName = ptr.String(jtv) } - case "slotName": if value != nil { jtv, ok := value.(string) @@ -35073,7 +33850,6 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.SlotName = ptr.String(jtv) } - default: _, _ = key, value @@ -35147,7 +33923,6 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.KmsKeyArn = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -35156,7 +33931,6 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.S3BucketName = ptr.String(jtv) } - case "s3Path": if value != nil { jtv, ok := value.(string) @@ -35165,7 +33939,6 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.S3Path = ptr.String(jtv) } - default: _, _ = key, value @@ -35212,7 +33985,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -35221,7 +33993,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Description = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -35237,7 +34008,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } } - case "modality": if value != nil { jtv, ok := value.(string) @@ -35246,7 +34016,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Modality = types.TestSetModality(jtv) } - case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -35259,7 +34028,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.NumTurns = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -35268,7 +34036,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -35277,12 +34044,10 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Status = types.TestSetStatus(jtv) } - case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "testSetId": if value != nil { jtv, ok := value.(string) @@ -35291,7 +34056,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.TestSetId = ptr.String(jtv) } - case "testSetName": if value != nil { jtv, ok := value.(string) @@ -35300,7 +34064,6 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.TestSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -35374,7 +34137,6 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.ConversationId = ptr.String(jtv) } - case "recordNumber": if value != nil { jtv, ok := value.(json.Number) @@ -35387,7 +34149,6 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.RecordNumber = ptr.Int64(i64) } - case "turnNumber": if value != nil { jtv, ok := value.(json.Number) @@ -35400,12 +34161,10 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.TurnNumber = ptr.Int32(int32(i64)) } - case "turnSpecification": if err := awsRestjson1_deserializeDocumentTurnSpecification(&sv.TurnSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -35475,12 +34234,10 @@ func awsRestjson1_deserializeDocumentTestSetTurnResult(v **types.TestSetTurnResu if err := awsRestjson1_deserializeDocumentAgentTurnResult(&sv.Agent, value); err != nil { return err } - case "user": if err := awsRestjson1_deserializeDocumentUserTurnResult(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -35524,7 +34281,6 @@ func awsRestjson1_deserializeDocumentTextInputSpecification(v **types.TextInputS } sv.StartTimeoutMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -35560,7 +34316,6 @@ func awsRestjson1_deserializeDocumentTextLogDestination(v **types.TextLogDestina if err := awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(&sv.CloudWatch, value); err != nil { return err } - default: _, _ = key, value @@ -35596,7 +34351,6 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va if err := awsRestjson1_deserializeDocumentTextLogDestination(&sv.Destination, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -35605,7 +34359,6 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va } sv.Enabled = jtv } - case "selectiveLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -35614,7 +34367,6 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va } sv.SelectiveLoggingEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -35678,15 +34430,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35694,7 +34440,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -35707,15 +34452,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35746,7 +34487,6 @@ func awsRestjson1_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter if err := awsRestjson1_deserializeDocumentLexTranscriptFilter(&sv.LexTranscriptFilter, value); err != nil { return err } - default: _, _ = key, value @@ -35782,7 +34522,6 @@ func awsRestjson1_deserializeDocumentTranscriptSourceSetting(v **types.Transcrip if err := awsRestjson1_deserializeDocumentS3BucketTranscriptSource(&sv.S3BucketTranscriptSource, value); err != nil { return err } - default: _, _ = key, value @@ -35818,12 +34557,10 @@ func awsRestjson1_deserializeDocumentTurnSpecification(v **types.TurnSpecificati if err := awsRestjson1_deserializeDocumentAgentTurnSpecification(&sv.AgentTurn, value); err != nil { return err } - case "userTurn": if err := awsRestjson1_deserializeDocumentUserTurnSpecification(&sv.UserTurn, value); err != nil { return err } - default: _, _ = key, value @@ -35859,17 +34596,14 @@ func awsRestjson1_deserializeDocumentUserTurnInputSpecification(v **types.UserTu if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } - case "sessionState": if err := awsRestjson1_deserializeDocumentInputSessionStateSpecification(&sv.SessionState, value); err != nil { return err } - case "utteranceInput": if err := awsRestjson1_deserializeDocumentUtteranceInputSpecification(&sv.UtteranceInput, value); err != nil { return err } - default: _, _ = key, value @@ -35909,12 +34643,10 @@ func awsRestjson1_deserializeDocumentUserTurnIntentOutput(v **types.UserTurnInte } sv.Name = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputMap(&sv.Slots, value); err != nil { return err } - default: _, _ = key, value @@ -35950,12 +34682,10 @@ func awsRestjson1_deserializeDocumentUserTurnOutputSpecification(v **types.UserT if err := awsRestjson1_deserializeDocumentActiveContextList(&sv.ActiveContexts, value); err != nil { return err } - case "intent": if err := awsRestjson1_deserializeDocumentUserTurnIntentOutput(&sv.Intent, value); err != nil { return err } - case "transcript": if value != nil { jtv, ok := value.(string) @@ -35964,7 +34694,6 @@ func awsRestjson1_deserializeDocumentUserTurnOutputSpecification(v **types.UserT } sv.Transcript = ptr.String(jtv) } - default: _, _ = key, value @@ -36000,12 +34729,10 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.ActualOutput, value); err != nil { return err } - case "conversationLevelResult": if err := awsRestjson1_deserializeDocumentConversationLevelResultDetail(&sv.ConversationLevelResult, value); err != nil { return err } - case "endToEndResult": if value != nil { jtv, ok := value.(string) @@ -36014,22 +34741,18 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } - case "errorDetails": if err := awsRestjson1_deserializeDocumentExecutionErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "expectedOutput": if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.ExpectedOutput, value); err != nil { return err } - case "input": if err := awsRestjson1_deserializeDocumentUserTurnInputSpecification(&sv.Input, value); err != nil { return err } - case "intentMatchResult": if value != nil { jtv, ok := value.(string) @@ -36038,7 +34761,6 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.IntentMatchResult = types.TestResultMatchStatus(jtv) } - case "slotMatchResult": if value != nil { jtv, ok := value.(string) @@ -36047,7 +34769,6 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.SlotMatchResult = types.TestResultMatchStatus(jtv) } - case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -36056,7 +34777,6 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } - default: _, _ = key, value @@ -36092,7 +34812,6 @@ func awsRestjson1_deserializeDocumentUserTurnSlotOutput(v **types.UserTurnSlotOu if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputMap(&sv.SubSlots, value); err != nil { return err } - case "value": if value != nil { jtv, ok := value.(string) @@ -36101,12 +34820,10 @@ func awsRestjson1_deserializeDocumentUserTurnSlotOutput(v **types.UserTurnSlotOu } sv.Value = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -36211,12 +34928,10 @@ func awsRestjson1_deserializeDocumentUserTurnSpecification(v **types.UserTurnSpe if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.Expected, value); err != nil { return err } - case "input": if err := awsRestjson1_deserializeDocumentUserTurnInputSpecification(&sv.Input, value); err != nil { return err } - default: _, _ = key, value @@ -36252,7 +34967,6 @@ func awsRestjson1_deserializeDocumentUtteranceAggregationDuration(v **types.Utte if err := awsRestjson1_deserializeDocumentRelativeAggregationDuration(&sv.RelativeAggregationDuration, value); err != nil { return err } - default: _, _ = key, value @@ -36292,7 +35006,6 @@ func awsRestjson1_deserializeDocumentUtteranceAudioInputSpecification(v **types. } sv.AudioFileS3Location = ptr.String(jtv) } - default: _, _ = key, value @@ -36332,7 +35045,6 @@ func awsRestjson1_deserializeDocumentUtteranceBotResponse(v **types.UtteranceBot } sv.Content = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -36341,12 +35053,10 @@ func awsRestjson1_deserializeDocumentUtteranceBotResponse(v **types.UtteranceBot } sv.ContentType = types.UtteranceContentType(jtv) } - case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } - default: _, _ = key, value @@ -36416,7 +35126,6 @@ func awsRestjson1_deserializeDocumentUtteranceInputSpecification(v **types.Utter if err := awsRestjson1_deserializeDocumentUtteranceAudioInputSpecification(&sv.AudioInput, value); err != nil { return err } - case "textInput": if value != nil { jtv, ok := value.(string) @@ -36425,7 +35134,6 @@ func awsRestjson1_deserializeDocumentUtteranceInputSpecification(v **types.Utter } sv.TextInput = ptr.String(jtv) } - default: _, _ = key, value @@ -36465,7 +35173,6 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResultItem(v **types.Utte } sv.ConversationId = ptr.String(jtv) } - case "recordNumber": if value != nil { jtv, ok := value.(json.Number) @@ -36478,12 +35185,10 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResultItem(v **types.Utte } sv.RecordNumber = ptr.Int64(i64) } - case "turnResult": if err := awsRestjson1_deserializeDocumentTestSetTurnResult(&sv.TurnResult, value); err != nil { return err } - default: _, _ = key, value @@ -36553,7 +35258,6 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResults(v **types.Utteran if err := awsRestjson1_deserializeDocumentUtteranceLevelTestResultItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -36593,7 +35297,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AssociatedIntentName = ptr.String(jtv) } - case "associatedSlotName": if value != nil { jtv, ok := value.(string) @@ -36602,7 +35305,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AssociatedSlotName = ptr.String(jtv) } - case "audioVoiceDurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -36615,7 +35317,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AudioVoiceDurationMillis = ptr.Int64(i64) } - case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -36624,7 +35325,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotAliasId = ptr.String(jtv) } - case "botResponseAudioVoiceId": if value != nil { jtv, ok := value.(string) @@ -36633,12 +35333,10 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotResponseAudioVoiceId = ptr.String(jtv) } - case "botResponses": if err := awsRestjson1_deserializeDocumentUtteranceBotResponses(&sv.BotResponses, value); err != nil { return err } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -36647,7 +35345,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotVersion = ptr.String(jtv) } - case "channel": if value != nil { jtv, ok := value.(string) @@ -36656,7 +35353,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Channel = ptr.String(jtv) } - case "conversationEndTime": if value != nil { switch jtv := value.(type) { @@ -36672,7 +35368,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } - case "conversationStartTime": if value != nil { switch jtv := value.(type) { @@ -36688,7 +35383,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } - case "dialogActionType": if value != nil { jtv, ok := value.(string) @@ -36697,7 +35391,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.DialogActionType = ptr.String(jtv) } - case "inputType": if value != nil { jtv, ok := value.(string) @@ -36706,7 +35399,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.InputType = ptr.String(jtv) } - case "intentState": if value != nil { jtv, ok := value.(string) @@ -36715,7 +35407,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.IntentState = types.IntentState(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -36724,7 +35415,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.LocaleId = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -36733,7 +35423,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Mode = types.AnalyticsModality(jtv) } - case "outputType": if value != nil { jtv, ok := value.(string) @@ -36742,7 +35431,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.OutputType = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -36751,7 +35439,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.SessionId = ptr.String(jtv) } - case "slotsFilledInSession": if value != nil { jtv, ok := value.(string) @@ -36760,7 +35447,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.SlotsFilledInSession = ptr.String(jtv) } - case "utterance": if value != nil { jtv, ok := value.(string) @@ -36769,7 +35455,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Utterance = ptr.String(jtv) } - case "utteranceRequestId": if value != nil { jtv, ok := value.(string) @@ -36778,7 +35463,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.UtteranceRequestId = ptr.String(jtv) } - case "utteranceTimestamp": if value != nil { switch jtv := value.(type) { @@ -36794,7 +35478,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } - case "utteranceUnderstood": if value != nil { jtv, ok := value.(bool) @@ -36803,7 +35486,6 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.UtteranceUnderstood = jtv } - default: _, _ = key, value @@ -36867,15 +35549,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36883,15 +35559,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36926,7 +35598,6 @@ func awsRestjson1_deserializeDocumentVoiceSettings(v **types.VoiceSettings, valu } sv.Engine = types.VoiceEngine(jtv) } - case "voiceId": if value != nil { jtv, ok := value.(string) @@ -36935,7 +35606,6 @@ func awsRestjson1_deserializeDocumentVoiceSettings(v **types.VoiceSettings, valu } sv.VoiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -36975,22 +35645,18 @@ func awsRestjson1_deserializeDocumentWaitAndContinueSpecification(v **types.Wait } sv.Active = ptr.Bool(jtv) } - case "continueResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ContinueResponse, value); err != nil { return err } - case "stillWaitingResponse": if err := awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(&sv.StillWaitingResponse, value); err != nil { return err } - case "waitingResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.WaitingResponse, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/lexruntimeservice/deserializers.go b/service/lexruntimeservice/deserializers.go index 51992c77883..a3272a0766c 100644 --- a/service/lexruntimeservice/deserializers.go +++ b/service/lexruntimeservice/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotAlias = ptr.String(jtv) } - case "botName": if value != nil { jtv, ok := value.(string) @@ -198,7 +197,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotName = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -207,7 +205,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.SessionId = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -216,7 +213,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -377,22 +373,18 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } - case "dialogAction": if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } - case "recentIntentSummaryView": if err := awsRestjson1_deserializeDocumentIntentSummaryList(&sv.RecentIntentSummaryView, value); err != nil { return err } - case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -401,7 +393,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -823,12 +814,10 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } - case "alternativeIntents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.AlternativeIntents, value); err != nil { return err } - case "botVersion": if value != nil { jtv, ok := value.(string) @@ -837,7 +826,6 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.BotVersion = ptr.String(jtv) } - case "dialogState": if value != nil { jtv, ok := value.(string) @@ -846,7 +834,6 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.DialogState = types.DialogState(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -855,7 +842,6 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.IntentName = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -864,7 +850,6 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.Message = ptr.String(jtv) } - case "messageFormat": if value != nil { jtv, ok := value.(string) @@ -873,27 +858,22 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.MessageFormat = types.MessageFormatType(jtv) } - case "nluIntentConfidence": if err := awsRestjson1_deserializeDocumentIntentConfidence(&sv.NluIntentConfidence, value); err != nil { return err } - case "responseCard": if err := awsRestjson1_deserializeDocumentResponseCard(&sv.ResponseCard, value); err != nil { return err } - case "sentimentResponse": if err := awsRestjson1_deserializeDocumentSentimentResponse(&sv.SentimentResponse, value); err != nil { return err } - case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -902,12 +882,10 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.SessionId = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } - case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -916,7 +894,6 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.SlotToElicit = ptr.String(jtv) } - default: _, _ = key, value @@ -1570,17 +1547,14 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentActiveContextParametersMap(&sv.Parameters, value); err != nil { return err } - case "timeToLive": if err := awsRestjson1_deserializeDocumentActiveContextTimeToLive(&sv.TimeToLive, value); err != nil { return err } - default: _, _ = key, value @@ -1694,7 +1668,6 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } - case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -1707,7 +1680,6 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TurnsToLive = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1737,15 +1709,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1753,15 +1719,11 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1786,15 +1748,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1802,15 +1758,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1845,7 +1797,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -1854,7 +1805,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1884,15 +1834,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1900,15 +1844,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1933,15 +1873,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1949,15 +1883,11 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1992,7 +1922,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.FulfillmentState = types.FulfillmentState(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -2001,7 +1930,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.IntentName = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -2010,7 +1938,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Message = ptr.String(jtv) } - case "messageFormat": if value != nil { jtv, ok := value.(string) @@ -2019,12 +1946,10 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.MessageFormat = types.MessageFormatType(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } - case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -2033,7 +1958,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2042,7 +1966,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } - default: _, _ = key, value @@ -2082,12 +2005,10 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.AttachmentLinkUrl = ptr.String(jtv) } - case "buttons": if err := awsRestjson1_deserializeDocumentListOfButtons(&sv.Buttons, value); err != nil { return err } - case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -2096,7 +2017,6 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.ImageUrl = ptr.String(jtv) } - case "subTitle": if value != nil { jtv, ok := value.(string) @@ -2105,7 +2025,6 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.SubTitle = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -2114,7 +2033,6 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -2213,7 +2131,6 @@ func awsRestjson1_deserializeDocumentIntentConfidence(v **types.IntentConfidence } } - default: _, _ = key, value @@ -2287,7 +2204,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.CheckpointLabel = ptr.String(jtv) } - case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -2296,7 +2212,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } - case "dialogActionType": if value != nil { jtv, ok := value.(string) @@ -2305,7 +2220,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.DialogActionType = types.DialogActionType(jtv) } - case "fulfillmentState": if value != nil { jtv, ok := value.(string) @@ -2314,7 +2228,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.FulfillmentState = types.FulfillmentState(jtv) } - case "intentName": if value != nil { jtv, ok := value.(string) @@ -2323,12 +2236,10 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentName = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } - case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -2337,7 +2248,6 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.SlotToElicit = ptr.String(jtv) } - default: _, _ = key, value @@ -2401,15 +2311,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2417,15 +2321,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2450,15 +2350,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2466,7 +2360,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -2475,15 +2368,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2542,15 +2431,9 @@ func awsRestjson1_deserializeDocumentLoopDetectedException(v **types.LoopDetecte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2558,15 +2441,11 @@ func awsRestjson1_deserializeDocumentLoopDetectedException(v **types.LoopDetecte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2591,15 +2470,9 @@ func awsRestjson1_deserializeDocumentNotAcceptableException(v **types.NotAccepta sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2607,15 +2480,11 @@ func awsRestjson1_deserializeDocumentNotAcceptableException(v **types.NotAccepta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2640,15 +2509,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2656,15 +2519,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2699,17 +2558,14 @@ func awsRestjson1_deserializeDocumentPredictedIntent(v **types.PredictedIntent, } sv.IntentName = ptr.String(jtv) } - case "nluIntentConfidence": if err := awsRestjson1_deserializeDocumentIntentConfidence(&sv.NluIntentConfidence, value); err != nil { return err } - case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } - default: _, _ = key, value @@ -2739,15 +2595,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2755,15 +2605,11 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2798,12 +2644,10 @@ func awsRestjson1_deserializeDocumentResponseCard(v **types.ResponseCard, value } sv.ContentType = types.ContentType(jtv) } - case "genericAttachments": if err := awsRestjson1_deserializeDocumentGenericAttachmentList(&sv.GenericAttachments, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2812,7 +2656,6 @@ func awsRestjson1_deserializeDocumentResponseCard(v **types.ResponseCard, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2852,7 +2695,6 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.SentimentLabel = ptr.String(jtv) } - case "sentimentScore": if value != nil { jtv, ok := value.(string) @@ -2861,7 +2703,6 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.SentimentScore = ptr.String(jtv) } - default: _, _ = key, value @@ -2927,15 +2768,9 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2943,15 +2778,11 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/lexruntimev2/deserializers.go b/service/lexruntimev2/deserializers.go index 85f194b0e26..22c370d8242 100644 --- a/service/lexruntimev2/deserializers.go +++ b/service/lexruntimev2/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotAliasId = ptr.String(jtv) } - case "botId": if value != nil { jtv, ok := value.(string) @@ -203,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotId = ptr.String(jtv) } - case "localeId": if value != nil { jtv, ok := value.(string) @@ -212,7 +210,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.LocaleId = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -221,7 +218,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -385,12 +381,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } - case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -399,12 +393,10 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } - case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } - default: _, _ = key, value @@ -737,22 +729,18 @@ func awsRestjson1_deserializeOpDocumentRecognizeTextOutput(v **RecognizeTextOutp if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } - case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } - case "recognizedBotMember": if err := awsRestjson1_deserializeDocumentRecognizedBotMember(&sv.RecognizedBotMember, value); err != nil { return err } - case "requestAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -761,12 +749,10 @@ func awsRestjson1_deserializeOpDocumentRecognizeTextOutput(v **RecognizeTextOutp } sv.SessionId = ptr.String(jtv) } - case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } - default: _, _ = key, value @@ -1713,15 +1699,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1729,15 +1709,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1768,7 +1744,6 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu if err := awsRestjson1_deserializeDocumentActiveContextParametersMap(&sv.ContextAttributes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1777,12 +1752,10 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } - case "timeToLive": if err := awsRestjson1_deserializeDocumentActiveContextTimeToLive(&sv.TimeToLive, value); err != nil { return err } - default: _, _ = key, value @@ -1896,7 +1869,6 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } - case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -1909,7 +1881,6 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TurnsToLive = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1953,7 +1924,6 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.AudioChunk = dv } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -1962,7 +1932,6 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.ContentType = ptr.String(jtv) } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -1971,7 +1940,6 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -2001,15 +1969,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2017,15 +1979,11 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2060,7 +2018,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2069,7 +2026,6 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2168,7 +2124,6 @@ func awsRestjson1_deserializeDocumentConfidenceScore(v **types.ConfidenceScore, } } - default: _, _ = key, value @@ -2198,15 +2153,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2214,15 +2163,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2247,15 +2192,9 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2263,15 +2202,11 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2306,7 +2241,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotElicitationStyle = types.StyleType(jtv) } - case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -2315,12 +2249,10 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } - case "subSlotToElicit": if err := awsRestjson1_deserializeDocumentElicitSubSlot(&sv.SubSlotToElicit, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2329,7 +2261,6 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } - default: _, _ = key, value @@ -2369,12 +2300,10 @@ func awsRestjson1_deserializeDocumentElicitSubSlot(v **types.ElicitSubSlot, valu } sv.Name = ptr.String(jtv) } - case "subSlotToElicit": if err := awsRestjson1_deserializeDocumentElicitSubSlot(&sv.SubSlotToElicit, value); err != nil { return err } - default: _, _ = key, value @@ -2414,7 +2343,6 @@ func awsRestjson1_deserializeDocumentHeartbeatEvent(v **types.HeartbeatEvent, va } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -2450,7 +2378,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa if err := awsRestjson1_deserializeDocumentButtonsList(&sv.Buttons, value); err != nil { return err } - case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -2459,7 +2386,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.ImageUrl = ptr.String(jtv) } - case "subtitle": if value != nil { jtv, ok := value.(string) @@ -2468,7 +2394,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Subtitle = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -2477,7 +2402,6 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -2517,7 +2441,6 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.ConfirmationState = types.ConfirmationState(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2526,12 +2449,10 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.Name = ptr.String(jtv) } - case "slots": if err := awsRestjson1_deserializeDocumentSlots(&sv.Slots, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -2540,7 +2461,6 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.State = types.IntentState(jtv) } - default: _, _ = key, value @@ -2580,7 +2500,6 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.EventId = ptr.String(jtv) } - case "inputMode": if value != nil { jtv, ok := value.(string) @@ -2589,22 +2508,18 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.InputMode = types.InputMode(jtv) } - case "interpretations": if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } - case "recognizedBotMember": if err := awsRestjson1_deserializeDocumentRecognizedBotMember(&sv.RecognizedBotMember, value); err != nil { return err } - case "requestAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -2613,12 +2528,10 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.SessionId = ptr.String(jtv) } - case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } - default: _, _ = key, value @@ -2648,15 +2561,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2664,15 +2571,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2703,7 +2606,6 @@ func awsRestjson1_deserializeDocumentInterpretation(v **types.Interpretation, va if err := awsRestjson1_deserializeDocumentIntent(&sv.Intent, value); err != nil { return err } - case "interpretationSource": if value != nil { jtv, ok := value.(string) @@ -2712,17 +2614,14 @@ func awsRestjson1_deserializeDocumentInterpretation(v **types.Interpretation, va } sv.InterpretationSource = types.InterpretationSource(jtv) } - case "nluConfidence": if err := awsRestjson1_deserializeDocumentConfidenceScore(&sv.NluConfidence, value); err != nil { return err } - case "sentimentResponse": if err := awsRestjson1_deserializeDocumentSentimentResponse(&sv.SentimentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2796,7 +2695,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Content = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -2805,12 +2703,10 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ContentType = types.MessageContentType(jtv) } - case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } - default: _, _ = key, value @@ -2884,7 +2780,6 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.CausedByEventId = ptr.String(jtv) } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -2893,7 +2788,6 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.EventId = ptr.String(jtv) } - case "eventReason": if value != nil { jtv, ok := value.(string) @@ -2902,7 +2796,6 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.EventReason = types.PlaybackInterruptionReason(jtv) } - default: _, _ = key, value @@ -2942,7 +2835,6 @@ func awsRestjson1_deserializeDocumentRecognizedBotMember(v **types.RecognizedBot } sv.BotId = ptr.String(jtv) } - case "botName": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2843,6 @@ func awsRestjson1_deserializeDocumentRecognizedBotMember(v **types.RecognizedBot } sv.BotName = ptr.String(jtv) } - default: _, _ = key, value @@ -2981,15 +2872,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2997,15 +2882,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3036,12 +2917,10 @@ func awsRestjson1_deserializeDocumentRuntimeHintDetails(v **types.RuntimeHintDet if err := awsRestjson1_deserializeDocumentRuntimeHintValuesList(&sv.RuntimeHintValues, value); err != nil { return err } - case "subSlotHints": if err := awsRestjson1_deserializeDocumentSlotHintsSlotMap(&sv.SubSlotHints, value); err != nil { return err } - default: _, _ = key, value @@ -3077,7 +2956,6 @@ func awsRestjson1_deserializeDocumentRuntimeHints(v **types.RuntimeHints, value if err := awsRestjson1_deserializeDocumentSlotHintsIntentMap(&sv.SlotHints, value); err != nil { return err } - default: _, _ = key, value @@ -3117,7 +2995,6 @@ func awsRestjson1_deserializeDocumentRuntimeHintValue(v **types.RuntimeHintValue } sv.Phrase = ptr.String(jtv) } - default: _, _ = key, value @@ -3191,12 +3068,10 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.Sentiment = types.SentimentType(jtv) } - case "sentimentScore": if err := awsRestjson1_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } - default: _, _ = key, value @@ -3261,7 +3136,6 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "negative": if value != nil { switch jtv := value.(type) { @@ -3295,7 +3169,6 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "neutral": if value != nil { switch jtv := value.(type) { @@ -3329,7 +3202,6 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - case "positive": if value != nil { switch jtv := value.(type) { @@ -3363,7 +3235,6 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } - default: _, _ = key, value @@ -3399,17 +3270,14 @@ func awsRestjson1_deserializeDocumentSessionState(v **types.SessionState, value if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } - case "dialogAction": if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } - case "intent": if err := awsRestjson1_deserializeDocumentIntent(&sv.Intent, value); err != nil { return err } - case "originatingRequestId": if value != nil { jtv, ok := value.(string) @@ -3418,17 +3286,14 @@ func awsRestjson1_deserializeDocumentSessionState(v **types.SessionState, value } sv.OriginatingRequestId = ptr.String(jtv) } - case "runtimeHints": if err := awsRestjson1_deserializeDocumentRuntimeHints(&sv.RuntimeHints, value); err != nil { return err } - case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -3468,22 +3333,18 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Shape = types.Shape(jtv) } - case "subSlots": if err := awsRestjson1_deserializeDocumentSlots(&sv.SubSlots, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentValue(&sv.Value, value); err != nil { return err } - case "values": if err := awsRestjson1_deserializeDocumentValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -3699,12 +3560,10 @@ func awsRestjson1_deserializeDocumentTextResponseEvent(v **types.TextResponseEve } sv.EventId = ptr.String(jtv) } - case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } - default: _, _ = key, value @@ -3734,15 +3593,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3750,15 +3603,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3793,7 +3642,6 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, } sv.EventId = ptr.String(jtv) } - case "transcript": if value != nil { jtv, ok := value.(string) @@ -3802,7 +3650,6 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, } sv.Transcript = ptr.String(jtv) } - default: _, _ = key, value @@ -3832,15 +3679,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3848,15 +3689,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3891,7 +3728,6 @@ func awsRestjson1_deserializeDocumentValue(v **types.Value, value interface{}) e } sv.InterpretedValue = ptr.String(jtv) } - case "originalValue": if value != nil { jtv, ok := value.(string) @@ -3900,12 +3736,10 @@ func awsRestjson1_deserializeDocumentValue(v **types.Value, value interface{}) e } sv.OriginalValue = ptr.String(jtv) } - case "resolvedValues": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResolvedValues, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/licensemanager/deserializers.go b/service/licensemanager/deserializers.go index d7c91e8f6ab..12ec64ecbfa 100644 --- a/service/licensemanager/deserializers.go +++ b/service/licensemanager/deserializers.go @@ -7028,15 +7028,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7044,15 +7038,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7149,15 +7139,9 @@ func awsAwsjson11_deserializeDocumentAuthorizationException(v **types.Authorizat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7165,15 +7149,11 @@ func awsAwsjson11_deserializeDocumentAuthorizationException(v **types.Authorizat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7215,7 +7195,6 @@ func awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(v **types.Aut } } - default: _, _ = key, value @@ -7255,7 +7234,6 @@ func awsAwsjson11_deserializeDocumentBorrowConfiguration(v **types.BorrowConfigu } sv.AllowEarlyCheckIn = ptr.Bool(jtv) } - case "MaxTimeToLiveInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -7268,7 +7246,6 @@ func awsAwsjson11_deserializeDocumentBorrowConfiguration(v **types.BorrowConfigu } sv.MaxTimeToLiveInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7298,15 +7275,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7314,15 +7285,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7361,7 +7328,6 @@ func awsAwsjson11_deserializeDocumentConsumedLicenseSummary(v **types.ConsumedLi } sv.ConsumedLicenses = ptr.Int64(i64) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7370,7 +7336,6 @@ func awsAwsjson11_deserializeDocumentConsumedLicenseSummary(v **types.ConsumedLi } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -7440,12 +7405,10 @@ func awsAwsjson11_deserializeDocumentConsumptionConfiguration(v **types.Consumpt if err := awsAwsjson11_deserializeDocumentBorrowConfiguration(&sv.BorrowConfiguration, value); err != nil { return err } - case "ProvisionalConfiguration": if err := awsAwsjson11_deserializeDocumentProvisionalConfiguration(&sv.ProvisionalConfiguration, value); err != nil { return err } - case "RenewType": if value != nil { jtv, ok := value.(string) @@ -7454,7 +7417,6 @@ func awsAwsjson11_deserializeDocumentConsumptionConfiguration(v **types.Consumpt } sv.RenewType = types.RenewType(jtv) } - default: _, _ = key, value @@ -7494,7 +7456,6 @@ func awsAwsjson11_deserializeDocumentDatetimeRange(v **types.DatetimeRange, valu } sv.Begin = ptr.String(jtv) } - case "End": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7464,6 @@ func awsAwsjson11_deserializeDocumentDatetimeRange(v **types.DatetimeRange, valu } sv.End = ptr.String(jtv) } - default: _, _ = key, value @@ -7543,7 +7503,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.AllowCheckIn = ptr.Bool(jtv) } - case "MaxCount": if value != nil { jtv, ok := value.(json.Number) @@ -7556,7 +7515,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.MaxCount = ptr.Int64(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7565,7 +7523,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } - case "Overage": if value != nil { jtv, ok := value.(bool) @@ -7574,7 +7531,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Overage = ptr.Bool(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -7583,7 +7539,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Unit = types.EntitlementUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7592,7 +7547,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7632,7 +7586,6 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Name = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -7641,7 +7594,6 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Unit = types.EntitlementDataUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7650,7 +7602,6 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7748,15 +7699,9 @@ func awsAwsjson11_deserializeDocumentEntitlementNotAllowedException(v **types.En sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7764,15 +7709,11 @@ func awsAwsjson11_deserializeDocumentEntitlementNotAllowedException(v **types.En } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7807,7 +7748,6 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.ConsumedValue = ptr.String(jtv) } - case "MaxCount": if value != nil { jtv, ok := value.(string) @@ -7816,7 +7756,6 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.MaxCount = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7825,7 +7764,6 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.Name = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -7834,7 +7772,6 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.Unit = types.EntitlementDataUnit(jtv) } - default: _, _ = key, value @@ -7898,13 +7835,7 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -7914,8 +7845,7 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7923,15 +7853,11 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7956,15 +7882,9 @@ func awsAwsjson11_deserializeDocumentFilterLimitExceededException(v **types.Filt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7972,15 +7892,11 @@ func awsAwsjson11_deserializeDocumentFilterLimitExceededException(v **types.Filt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8015,12 +7931,10 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantArn = ptr.String(jtv) } - case "GrantedOperations": if err := awsAwsjson11_deserializeDocumentAllowedOperationList(&sv.GrantedOperations, value); err != nil { return err } - case "GranteePrincipalArn": if value != nil { jtv, ok := value.(string) @@ -8029,7 +7943,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GranteePrincipalArn = ptr.String(jtv) } - case "GrantName": if value != nil { jtv, ok := value.(string) @@ -8038,7 +7951,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantName = ptr.String(jtv) } - case "GrantStatus": if value != nil { jtv, ok := value.(string) @@ -8047,7 +7959,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantStatus = types.GrantStatus(jtv) } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -8056,7 +7967,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.HomeRegion = ptr.String(jtv) } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -8065,12 +7975,10 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.LicenseArn = ptr.String(jtv) } - case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "ParentArn": if value != nil { jtv, ok := value.(string) @@ -8079,7 +7987,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.ParentArn = ptr.String(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -8088,7 +7995,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.StatusReason = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8097,7 +8003,6 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8137,12 +8042,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Beneficiary = ptr.String(jtv) } - case "ConsumptionConfiguration": if err := awsAwsjson11_deserializeDocumentConsumptionConfiguration(&sv.ConsumptionConfiguration, value); err != nil { return err } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -8151,12 +8054,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.CreateTime = ptr.String(jtv) } - case "Entitlements": if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -8165,12 +8066,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.HomeRegion = ptr.String(jtv) } - case "Issuer": if err := awsAwsjson11_deserializeDocumentIssuerDetails(&sv.Issuer, value); err != nil { return err } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -8179,12 +8078,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.LicenseArn = ptr.String(jtv) } - case "LicenseMetadata": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.LicenseMetadata, value); err != nil { return err } - case "LicenseName": if value != nil { jtv, ok := value.(string) @@ -8193,7 +8090,6 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.LicenseName = ptr.String(jtv) } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -8202,7 +8098,6 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.ProductName = ptr.String(jtv) } - case "ProductSKU": if value != nil { jtv, ok := value.(string) @@ -8211,12 +8106,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.ProductSKU = ptr.String(jtv) } - case "ReceivedMetadata": if err := awsAwsjson11_deserializeDocumentReceivedMetadata(&sv.ReceivedMetadata, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8225,12 +8118,10 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Status = types.LicenseStatus(jtv) } - case "Validity": if err := awsAwsjson11_deserializeDocumentDatetimeRange(&sv.Validity, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8239,7 +8130,6 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8337,15 +8227,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8353,15 +8237,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8386,15 +8266,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8402,15 +8276,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8445,7 +8315,6 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.KeyFingerprint = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8454,7 +8323,6 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.Name = ptr.String(jtv) } - case "SignKey": if value != nil { jtv, ok := value.(string) @@ -8463,7 +8331,6 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.SignKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8503,12 +8370,10 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Beneficiary = ptr.String(jtv) } - case "ConsumptionConfiguration": if err := awsAwsjson11_deserializeDocumentConsumptionConfiguration(&sv.ConsumptionConfiguration, value); err != nil { return err } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -8517,12 +8382,10 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.CreateTime = ptr.String(jtv) } - case "Entitlements": if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -8531,12 +8394,10 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.HomeRegion = ptr.String(jtv) } - case "Issuer": if err := awsAwsjson11_deserializeDocumentIssuerDetails(&sv.Issuer, value); err != nil { return err } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -8545,12 +8406,10 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.LicenseArn = ptr.String(jtv) } - case "LicenseMetadata": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.LicenseMetadata, value); err != nil { return err } - case "LicenseName": if value != nil { jtv, ok := value.(string) @@ -8559,7 +8418,6 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.LicenseName = ptr.String(jtv) } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -8568,7 +8426,6 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.ProductName = ptr.String(jtv) } - case "ProductSKU": if value != nil { jtv, ok := value.(string) @@ -8577,7 +8434,6 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.ProductSKU = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8586,12 +8442,10 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Status = types.LicenseStatus(jtv) } - case "Validity": if err := awsAwsjson11_deserializeDocumentDatetimeRange(&sv.Validity, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8600,7 +8454,6 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8636,7 +8489,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi if err := awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(&sv.AutomatedDiscoveryInformation, value); err != nil { return err } - case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -8649,12 +8501,10 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.ConsumedLicenses = ptr.Int64(i64) } - case "ConsumedLicenseSummaryList": if err := awsAwsjson11_deserializeDocumentConsumedLicenseSummaryList(&sv.ConsumedLicenseSummaryList, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8663,7 +8513,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Description = ptr.String(jtv) } - case "DisassociateWhenNotFound": if value != nil { jtv, ok := value.(bool) @@ -8672,7 +8521,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.DisassociateWhenNotFound = ptr.Bool(jtv) } - case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8681,7 +8529,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseConfigurationArn = ptr.String(jtv) } - case "LicenseConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8690,7 +8537,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseConfigurationId = ptr.String(jtv) } - case "LicenseCount": if value != nil { jtv, ok := value.(json.Number) @@ -8703,7 +8549,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCount = ptr.Int64(i64) } - case "LicenseCountHardLimit": if value != nil { jtv, ok := value.(bool) @@ -8712,7 +8557,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCountHardLimit = ptr.Bool(jtv) } - case "LicenseCountingType": if value != nil { jtv, ok := value.(string) @@ -8721,17 +8565,14 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCountingType = types.LicenseCountingType(jtv) } - case "LicenseRules": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LicenseRules, value); err != nil { return err } - case "ManagedResourceSummaryList": if err := awsAwsjson11_deserializeDocumentManagedResourceSummaryList(&sv.ManagedResourceSummaryList, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8740,7 +8581,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -8749,12 +8589,10 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.OwnerAccountId = ptr.String(jtv) } - case "ProductInformationList": if err := awsAwsjson11_deserializeDocumentProductInformationList(&sv.ProductInformationList, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8763,7 +8601,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8803,7 +8640,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.AmiAssociationScope = ptr.String(jtv) } - case "AssociationTime": if value != nil { switch jtv := value.(type) { @@ -8819,7 +8655,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8828,7 +8663,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceArn = ptr.String(jtv) } - case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -8837,7 +8671,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceOwnerId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8846,7 +8679,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -8961,7 +8793,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } } - case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -8974,7 +8805,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ConsumedLicenses = ptr.Int64(i64) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8983,7 +8813,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceArn = ptr.String(jtv) } - case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -8992,7 +8821,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceOwnerId = ptr.String(jtv) } - case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -9001,7 +8829,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceStatus = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9010,7 +8837,6 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -9084,7 +8910,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionContext(v **types.LicenseC } sv.UsageOperation = ptr.String(jtv) } - default: _, _ = key, value @@ -9120,7 +8945,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.DestinationLicenseContext, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -9136,7 +8960,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } - case "LicenseConversionTaskId": if value != nil { jtv, ok := value.(string) @@ -9145,7 +8968,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.LicenseConversionTaskId = ptr.String(jtv) } - case "LicenseConversionTime": if value != nil { switch jtv := value.(type) { @@ -9161,7 +8983,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9170,12 +8991,10 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.ResourceArn = ptr.String(jtv) } - case "SourceLicenseContext": if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.SourceLicenseContext, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9191,7 +9010,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9200,7 +9018,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.Status = types.LicenseConversionTaskStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9209,7 +9026,6 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9317,7 +9133,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ErrorMessage = ptr.String(jtv) } - case "FailureTime": if value != nil { switch jtv := value.(type) { @@ -9333,12 +9148,10 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } } - case "MetadataList": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.MetadataList, value); err != nil { return err } - case "OperationName": if value != nil { jtv, ok := value.(string) @@ -9347,7 +9160,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.OperationName = ptr.String(jtv) } - case "OperationRequestedBy": if value != nil { jtv, ok := value.(string) @@ -9356,7 +9168,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.OperationRequestedBy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9365,7 +9176,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceArn = ptr.String(jtv) } - case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -9374,7 +9184,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceOwnerId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9383,7 +9192,6 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -9457,7 +9265,6 @@ func awsAwsjson11_deserializeDocumentLicenseSpecification(v **types.LicenseSpeci } sv.AmiAssociationScope = ptr.String(jtv) } - case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9466,7 +9273,6 @@ func awsAwsjson11_deserializeDocumentLicenseSpecification(v **types.LicenseSpeci } sv.LicenseConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9536,7 +9342,6 @@ func awsAwsjson11_deserializeDocumentLicenseUsage(v **types.LicenseUsage, value if err := awsAwsjson11_deserializeDocumentEntitlementUsageList(&sv.EntitlementUsages, value); err != nil { return err } - default: _, _ = key, value @@ -9566,15 +9371,9 @@ func awsAwsjson11_deserializeDocumentLicenseUsageException(v **types.LicenseUsag sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9582,15 +9381,11 @@ func awsAwsjson11_deserializeDocumentLicenseUsageException(v **types.LicenseUsag } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9629,7 +9424,6 @@ func awsAwsjson11_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.AssociationCount = ptr.Int64(i64) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9638,7 +9432,6 @@ func awsAwsjson11_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -9748,7 +9541,6 @@ func awsAwsjson11_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9757,7 +9549,6 @@ func awsAwsjson11_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9821,15 +9612,9 @@ func awsAwsjson11_deserializeDocumentNoEntitlementsAllowedException(v **types.No sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9837,15 +9622,11 @@ func awsAwsjson11_deserializeDocumentNoEntitlementsAllowedException(v **types.No } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9880,7 +9661,6 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.ActivationOverrideBehavior = types.ActivationOverrideBehavior(jtv) } - default: _, _ = key, value @@ -9920,7 +9700,6 @@ func awsAwsjson11_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.EnableIntegration = jtv } - default: _, _ = key, value @@ -9956,7 +9735,6 @@ func awsAwsjson11_deserializeDocumentProductInformation(v **types.ProductInforma if err := awsAwsjson11_deserializeDocumentProductInformationFilterList(&sv.ProductInformationFilterList, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9743,6 @@ func awsAwsjson11_deserializeDocumentProductInformation(v **types.ProductInforma } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -10005,7 +9782,6 @@ func awsAwsjson11_deserializeDocumentProductInformationFilter(v **types.ProductI } sv.ProductInformationFilterComparator = ptr.String(jtv) } - case "ProductInformationFilterName": if value != nil { jtv, ok := value.(string) @@ -10014,12 +9790,10 @@ func awsAwsjson11_deserializeDocumentProductInformationFilter(v **types.ProductI } sv.ProductInformationFilterName = ptr.String(jtv) } - case "ProductInformationFilterValue": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ProductInformationFilterValue, value); err != nil { return err } - default: _, _ = key, value @@ -10131,7 +9905,6 @@ func awsAwsjson11_deserializeDocumentProvisionalConfiguration(v **types.Provisio } sv.MaxTimeToLiveInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10161,15 +9934,9 @@ func awsAwsjson11_deserializeDocumentRateLimitExceededException(v **types.RateLi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10177,15 +9944,11 @@ func awsAwsjson11_deserializeDocumentRateLimitExceededException(v **types.RateLi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10216,7 +9979,6 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata if err := awsAwsjson11_deserializeDocumentAllowedOperationList(&sv.AllowedOperations, value); err != nil { return err } - case "ReceivedStatus": if value != nil { jtv, ok := value.(string) @@ -10225,7 +9987,6 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata } sv.ReceivedStatus = types.ReceivedStatus(jtv) } - case "ReceivedStatusReason": if value != nil { jtv, ok := value.(string) @@ -10234,7 +9995,6 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata } sv.ReceivedStatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -10264,13 +10024,7 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Location": if value != nil { @@ -10280,8 +10034,7 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti } sv.Location = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10289,15 +10042,11 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10328,7 +10077,6 @@ func awsAwsjson11_deserializeDocumentReportContext(v **types.ReportContext, valu if err := awsAwsjson11_deserializeDocumentArnList(&sv.LicenseConfigurationArns, value); err != nil { return err } - default: _, _ = key, value @@ -10368,7 +10116,6 @@ func awsAwsjson11_deserializeDocumentReportFrequency(v **types.ReportFrequency, } sv.Period = types.ReportFrequencyType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -10381,7 +10128,6 @@ func awsAwsjson11_deserializeDocumentReportFrequency(v **types.ReportFrequency, } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10421,7 +10167,6 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.CreateTime = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10430,7 +10175,6 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.Description = ptr.String(jtv) } - case "LastReportGenerationTime": if value != nil { jtv, ok := value.(string) @@ -10439,7 +10183,6 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastReportGenerationTime = ptr.String(jtv) } - case "LastRunFailureReason": if value != nil { jtv, ok := value.(string) @@ -10448,7 +10191,6 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastRunFailureReason = ptr.String(jtv) } - case "LastRunStatus": if value != nil { jtv, ok := value.(string) @@ -10457,7 +10199,6 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastRunStatus = ptr.String(jtv) } - case "LicenseManagerReportGeneratorArn": if value != nil { jtv, ok := value.(string) @@ -10466,12 +10207,10 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LicenseManagerReportGeneratorArn = ptr.String(jtv) } - case "ReportContext": if err := awsAwsjson11_deserializeDocumentReportContext(&sv.ReportContext, value); err != nil { return err } - case "ReportCreatorAccount": if value != nil { jtv, ok := value.(string) @@ -10480,12 +10219,10 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.ReportCreatorAccount = ptr.String(jtv) } - case "ReportFrequency": if err := awsAwsjson11_deserializeDocumentReportFrequency(&sv.ReportFrequency, value); err != nil { return err } - case "ReportGeneratorName": if value != nil { jtv, ok := value.(string) @@ -10494,22 +10231,18 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.ReportGeneratorName = ptr.String(jtv) } - case "ReportType": if err := awsAwsjson11_deserializeDocumentReportTypeList(&sv.ReportType, value); err != nil { return err } - case "S3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10619,7 +10352,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.Platform = ptr.String(jtv) } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -10628,7 +10360,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.PlatformVersion = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10637,7 +10368,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10646,7 +10376,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceId = ptr.String(jtv) } - case "ResourceOwningAccountId": if value != nil { jtv, ok := value.(string) @@ -10655,7 +10384,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceOwningAccountId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10664,7 +10392,6 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -10728,15 +10455,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10744,15 +10465,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10777,15 +10494,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10793,15 +10504,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10836,7 +10543,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -10845,7 +10551,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -10875,15 +10580,9 @@ func awsAwsjson11_deserializeDocumentServerInternalException(v **types.ServerInt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10891,15 +10590,11 @@ func awsAwsjson11_deserializeDocumentServerInternalException(v **types.ServerInt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10970,7 +10665,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10979,7 +10673,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11053,7 +10746,6 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.ExpirationTime = ptr.String(jtv) } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -11062,12 +10754,10 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.LicenseArn = ptr.String(jtv) } - case "RoleArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.RoleArns, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11076,7 +10766,6 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.Status = ptr.String(jtv) } - case "TokenId": if value != nil { jtv, ok := value.(string) @@ -11085,12 +10774,10 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.TokenId = ptr.String(jtv) } - case "TokenProperties": if err := awsAwsjson11_deserializeDocumentMaxSize3StringList(&sv.TokenProperties, value); err != nil { return err } - case "TokenType": if value != nil { jtv, ok := value.(string) @@ -11099,7 +10786,6 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.TokenType = ptr.String(jtv) } - default: _, _ = key, value @@ -11163,15 +10849,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedDigitalSignatureMethodException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11179,15 +10859,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedDigitalSignatureMethodException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11212,15 +10888,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11228,15 +10898,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11271,7 +10937,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.GrantArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11280,7 +10945,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.Status = types.GrantStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11289,7 +10953,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11356,12 +11019,10 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.CheckoutMetadata, value); err != nil { return err } - case "EntitlementsAllowed": if err := awsAwsjson11_deserializeDocumentEntitlementDataList(&sv.EntitlementsAllowed, value); err != nil { return err } - case "Expiration": if value != nil { jtv, ok := value.(string) @@ -11370,7 +11031,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.Expiration = ptr.String(jtv) } - case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -11379,7 +11039,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.IssuedAt = ptr.String(jtv) } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -11388,7 +11047,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.LicenseArn = ptr.String(jtv) } - case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -11397,7 +11055,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.LicenseConsumptionToken = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -11406,7 +11063,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.NodeId = ptr.String(jtv) } - case "SignedToken": if value != nil { jtv, ok := value.(string) @@ -11415,7 +11071,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.SignedToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11455,12 +11110,10 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.CheckoutType = types.CheckoutType(jtv) } - case "EntitlementsAllowed": if err := awsAwsjson11_deserializeDocumentEntitlementDataList(&sv.EntitlementsAllowed, value); err != nil { return err } - case "Expiration": if value != nil { jtv, ok := value.(string) @@ -11469,7 +11122,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.Expiration = ptr.String(jtv) } - case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -11478,7 +11130,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.IssuedAt = ptr.String(jtv) } - case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -11487,7 +11138,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.LicenseArn = ptr.String(jtv) } - case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -11496,7 +11146,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.LicenseConsumptionToken = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -11505,7 +11154,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.NodeId = ptr.String(jtv) } - case "SignedToken": if value != nil { jtv, ok := value.(string) @@ -11514,7 +11162,6 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.SignedToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11554,7 +11201,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11563,7 +11209,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.Status = types.GrantStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11572,7 +11217,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11612,7 +11256,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.GrantArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11621,7 +11264,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.Status = types.GrantStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11630,7 +11272,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11670,7 +11311,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseConfigurationOutput(v **Crea } sv.LicenseConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11710,7 +11350,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseConversionTaskForResourceOut } sv.LicenseConversionTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -11750,7 +11389,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseManagerReportGeneratorOutput } sv.LicenseManagerReportGeneratorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11790,7 +11428,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.LicenseArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11799,7 +11436,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.Status = types.LicenseStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11808,7 +11444,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11848,7 +11483,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.LicenseArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11857,7 +11491,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.Status = types.LicenseStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11866,7 +11499,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11906,7 +11538,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.Token = ptr.String(jtv) } - case "TokenId": if value != nil { jtv, ok := value.(string) @@ -11915,7 +11546,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenId = ptr.String(jtv) } - case "TokenType": if value != nil { jtv, ok := value.(string) @@ -11924,7 +11554,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenType = types.TokenType(jtv) } - default: _, _ = key, value @@ -11964,7 +11593,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.GrantArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11973,7 +11601,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.Status = types.GrantStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11982,7 +11609,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12084,7 +11710,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLicenseOutput(v **DeleteLicenseOutp } sv.DeletionDate = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12093,7 +11718,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLicenseOutput(v **DeleteLicenseOutp } sv.Status = types.LicenseDeletionStatus(jtv) } - default: _, _ = key, value @@ -12164,7 +11788,6 @@ func awsAwsjson11_deserializeOpDocumentExtendLicenseConsumptionOutput(v **Extend } sv.Expiration = ptr.String(jtv) } - case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -12173,7 +11796,6 @@ func awsAwsjson11_deserializeOpDocumentExtendLicenseConsumptionOutput(v **Extend } sv.LicenseConsumptionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12213,7 +11835,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccessTokenOutput(v **GetAccessTokenOu } sv.AccessToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12249,7 +11870,6 @@ func awsAwsjson11_deserializeOpDocumentGetGrantOutput(v **GetGrantOutput, value if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } - default: _, _ = key, value @@ -12285,7 +11905,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice if err := awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(&sv.AutomatedDiscoveryInformation, value); err != nil { return err } - case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -12298,12 +11917,10 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.ConsumedLicenses = ptr.Int64(i64) } - case "ConsumedLicenseSummaryList": if err := awsAwsjson11_deserializeDocumentConsumedLicenseSummaryList(&sv.ConsumedLicenseSummaryList, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12312,7 +11929,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Description = ptr.String(jtv) } - case "DisassociateWhenNotFound": if value != nil { jtv, ok := value.(bool) @@ -12321,7 +11937,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.DisassociateWhenNotFound = ptr.Bool(jtv) } - case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -12330,7 +11945,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseConfigurationArn = ptr.String(jtv) } - case "LicenseConfigurationId": if value != nil { jtv, ok := value.(string) @@ -12339,7 +11953,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseConfigurationId = ptr.String(jtv) } - case "LicenseCount": if value != nil { jtv, ok := value.(json.Number) @@ -12352,7 +11965,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCount = ptr.Int64(i64) } - case "LicenseCountHardLimit": if value != nil { jtv, ok := value.(bool) @@ -12361,7 +11973,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCountHardLimit = ptr.Bool(jtv) } - case "LicenseCountingType": if value != nil { jtv, ok := value.(string) @@ -12370,17 +11981,14 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCountingType = types.LicenseCountingType(jtv) } - case "LicenseRules": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LicenseRules, value); err != nil { return err } - case "ManagedResourceSummaryList": if err := awsAwsjson11_deserializeDocumentManagedResourceSummaryList(&sv.ManagedResourceSummaryList, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12389,7 +11997,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -12398,12 +12005,10 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.OwnerAccountId = ptr.String(jtv) } - case "ProductInformationList": if err := awsAwsjson11_deserializeDocumentProductInformationList(&sv.ProductInformationList, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12412,12 +12017,10 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Status = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12453,7 +12056,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.DestinationLicenseContext, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12469,7 +12071,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } - case "LicenseConversionTaskId": if value != nil { jtv, ok := value.(string) @@ -12478,7 +12079,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.LicenseConversionTaskId = ptr.String(jtv) } - case "LicenseConversionTime": if value != nil { switch jtv := value.(type) { @@ -12494,7 +12094,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12503,12 +12102,10 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.ResourceArn = ptr.String(jtv) } - case "SourceLicenseContext": if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.SourceLicenseContext, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -12524,7 +12121,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12533,7 +12129,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.Status = types.LicenseConversionTaskStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -12542,7 +12137,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -12578,7 +12172,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseManagerReportGeneratorOutput(v if err := awsAwsjson11_deserializeDocumentReportGenerator(&sv.ReportGenerator, value); err != nil { return err } - default: _, _ = key, value @@ -12614,7 +12207,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseOutput(v **GetLicenseOutput, va if err := awsAwsjson11_deserializeDocumentLicense(&sv.License, value); err != nil { return err } - default: _, _ = key, value @@ -12650,7 +12242,6 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseUsageOutput(v **GetLicenseUsage if err := awsAwsjson11_deserializeDocumentLicenseUsage(&sv.LicenseUsage, value); err != nil { return err } - default: _, _ = key, value @@ -12690,7 +12281,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.EnableCrossAccountsDiscovery = ptr.Bool(jtv) } - case "LicenseManagerResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -12699,12 +12289,10 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.LicenseManagerResourceShareArn = ptr.String(jtv) } - case "OrganizationConfiguration": if err := awsAwsjson11_deserializeDocumentOrganizationConfiguration(&sv.OrganizationConfiguration, value); err != nil { return err } - case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -12713,7 +12301,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.S3BucketArn = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -12722,7 +12309,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12758,7 +12344,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsForLicenseConfigurationOu if err := awsAwsjson11_deserializeDocumentLicenseConfigurationAssociations(&sv.LicenseConfigurationAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12767,7 +12352,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsForLicenseConfigurationOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12803,7 +12387,6 @@ func awsAwsjson11_deserializeOpDocumentListDistributedGrantsOutput(v **ListDistr if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12812,7 +12395,6 @@ func awsAwsjson11_deserializeOpDocumentListDistributedGrantsOutput(v **ListDistr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12848,7 +12430,6 @@ func awsAwsjson11_deserializeOpDocumentListFailuresForLicenseConfigurationOperat if err := awsAwsjson11_deserializeDocumentLicenseOperationFailureList(&sv.LicenseOperationFailureList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12857,7 +12438,6 @@ func awsAwsjson11_deserializeOpDocumentListFailuresForLicenseConfigurationOperat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12893,7 +12473,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLicenseConfigurations(&sv.LicenseConfigurations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12902,7 +12481,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConfigurationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12938,7 +12516,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConversionTasksOutput(v **List if err := awsAwsjson11_deserializeDocumentLicenseConversionTasks(&sv.LicenseConversionTasks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12947,7 +12524,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConversionTasksOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12987,12 +12563,10 @@ func awsAwsjson11_deserializeOpDocumentListLicenseManagerReportGeneratorsOutput( } sv.NextToken = ptr.String(jtv) } - case "ReportGenerators": if err := awsAwsjson11_deserializeDocumentReportGeneratorList(&sv.ReportGenerators, value); err != nil { return err } - default: _, _ = key, value @@ -13028,7 +12602,6 @@ func awsAwsjson11_deserializeOpDocumentListLicensesOutput(v **ListLicensesOutput if err := awsAwsjson11_deserializeDocumentLicenseList(&sv.Licenses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13037,7 +12610,6 @@ func awsAwsjson11_deserializeOpDocumentListLicensesOutput(v **ListLicensesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13073,7 +12645,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseSpecificationsForResourceOutpu if err := awsAwsjson11_deserializeDocumentLicenseSpecifications(&sv.LicenseSpecifications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13082,7 +12653,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseSpecificationsForResourceOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13118,7 +12688,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseVersionsOutput(v **ListLicense if err := awsAwsjson11_deserializeDocumentLicenseList(&sv.Licenses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13127,7 +12696,6 @@ func awsAwsjson11_deserializeOpDocumentListLicenseVersionsOutput(v **ListLicense } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13163,7 +12731,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsForOrganizationOutput(v if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13172,7 +12739,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsForOrganizationOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13208,7 +12774,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsOutput(v **ListReceived if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13217,7 +12782,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsOutput(v **ListReceived } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13253,7 +12817,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesForOrganizationOutput if err := awsAwsjson11_deserializeDocumentGrantedLicenseList(&sv.Licenses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13262,7 +12825,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesForOrganizationOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13298,7 +12860,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesOutput(v **ListReceiv if err := awsAwsjson11_deserializeDocumentGrantedLicenseList(&sv.Licenses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13307,7 +12868,6 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesOutput(v **ListReceiv } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13347,12 +12907,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceInventoryOutput(v **ListResou } sv.NextToken = ptr.String(jtv) } - case "ResourceInventoryList": if err := awsAwsjson11_deserializeDocumentResourceInventoryList(&sv.ResourceInventoryList, value); err != nil { return err } - default: _, _ = key, value @@ -13388,7 +12946,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13428,12 +12985,10 @@ func awsAwsjson11_deserializeOpDocumentListTokensOutput(v **ListTokensOutput, va } sv.NextToken = ptr.String(jtv) } - case "Tokens": if err := awsAwsjson11_deserializeDocumentTokenList(&sv.Tokens, value); err != nil { return err } - default: _, _ = key, value @@ -13469,7 +13024,6 @@ func awsAwsjson11_deserializeOpDocumentListUsageForLicenseConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentLicenseConfigurationUsageList(&sv.LicenseConfigurationUsageList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13478,7 +13032,6 @@ func awsAwsjson11_deserializeOpDocumentListUsageForLicenseConfigurationOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13518,7 +13071,6 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.GrantArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13527,7 +13079,6 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.Status = types.GrantStatus(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -13536,7 +13087,6 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/licensemanagerlinuxsubscriptions/deserializers.go b/service/licensemanagerlinuxsubscriptions/deserializers.go index 43ab57114e9..ddeb4f0872e 100644 --- a/service/licensemanagerlinuxsubscriptions/deserializers.go +++ b/service/licensemanagerlinuxsubscriptions/deserializers.go @@ -281,7 +281,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.LastSuccessfulDataRetrievalTime = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -290,7 +289,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SecretArn = ptr.String(jtv) } - case "SubscriptionProviderArn": if value != nil { jtv, ok := value.(string) @@ -299,7 +297,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderArn = ptr.String(jtv) } - case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -308,7 +305,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } - case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -317,7 +313,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } - case "SubscriptionProviderStatusMessage": if value != nil { jtv, ok := value.(string) @@ -326,7 +321,6 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -484,7 +478,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe if err := awsRestjson1_deserializeDocumentStringList(&sv.HomeRegions, value); err != nil { return err } - case "LinuxSubscriptionsDiscovery": if value != nil { jtv, ok := value.(string) @@ -493,12 +486,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.LinuxSubscriptionsDiscovery = types.LinuxSubscriptionsDiscovery(jtv) } - case "LinuxSubscriptionsDiscoverySettings": if err := awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(&sv.LinuxSubscriptionsDiscoverySettings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -507,12 +498,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.Status = types.Status(jtv) } - case "StatusMessage": if err := awsRestjson1_deserializeDocumentStringMap(&sv.StatusMessage, value); err != nil { return err } - default: _, _ = key, value @@ -670,7 +659,6 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionInstancesOutput(v ** if err := awsRestjson1_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -679,7 +667,6 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionInstancesOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -841,12 +828,10 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionsOutput(v **ListLinu } sv.NextToken = ptr.String(jtv) } - case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -1008,12 +993,10 @@ func awsRestjson1_deserializeOpDocumentListRegisteredSubscriptionProvidersOutput } sv.NextToken = ptr.String(jtv) } - case "RegisteredSubscriptionProviders": if err := awsRestjson1_deserializeDocumentRegisteredSubscriptionProviderList(&sv.RegisteredSubscriptionProviders, value); err != nil { return err } - default: _, _ = key, value @@ -1171,7 +1154,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1333,7 +1315,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderArn = ptr.String(jtv) } - case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -1342,7 +1323,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } - case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -1351,7 +1331,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } - default: _, _ = key, value @@ -1694,7 +1673,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer if err := awsRestjson1_deserializeDocumentStringList(&sv.HomeRegions, value); err != nil { return err } - case "LinuxSubscriptionsDiscovery": if value != nil { jtv, ok := value.(string) @@ -1703,12 +1681,10 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer } sv.LinuxSubscriptionsDiscovery = types.LinuxSubscriptionsDiscovery(jtv) } - case "LinuxSubscriptionsDiscoverySettings": if err := awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(&sv.LinuxSubscriptionsDiscoverySettings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1717,12 +1693,10 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer } sv.Status = types.Status(jtv) } - case "StatusMessage": if err := awsRestjson1_deserializeDocumentStringMap(&sv.StatusMessage, value); err != nil { return err } - default: _, _ = key, value @@ -1906,7 +1880,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AccountID = ptr.String(jtv) } - case "AmiId": if value != nil { jtv, ok := value.(string) @@ -1915,7 +1888,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiId = ptr.String(jtv) } - case "DualSubscription": if value != nil { jtv, ok := value.(string) @@ -1924,7 +1896,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.DualSubscription = ptr.String(jtv) } - case "InstanceID": if value != nil { jtv, ok := value.(string) @@ -1933,7 +1904,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceID = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -1942,7 +1912,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -1951,7 +1920,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } - case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -1960,12 +1928,10 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OsVersion = ptr.String(jtv) } - case "ProductCode": if err := awsRestjson1_deserializeDocumentProductCodeList(&sv.ProductCode, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -1974,7 +1940,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Region = ptr.String(jtv) } - case "RegisteredWithSubscriptionProvider": if value != nil { jtv, ok := value.(string) @@ -1983,7 +1948,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RegisteredWithSubscriptionProvider = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1992,7 +1956,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = ptr.String(jtv) } - case "SubscriptionName": if value != nil { jtv, ok := value.(string) @@ -2001,7 +1964,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionName = ptr.String(jtv) } - case "SubscriptionProviderCreateTime": if value != nil { jtv, ok := value.(string) @@ -2010,7 +1972,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionProviderCreateTime = ptr.String(jtv) } - case "SubscriptionProviderUpdateTime": if value != nil { jtv, ok := value.(string) @@ -2019,7 +1980,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionProviderUpdateTime = ptr.String(jtv) } - case "UsageOperation": if value != nil { jtv, ok := value.(string) @@ -2028,7 +1988,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.UsageOperation = ptr.String(jtv) } - default: _, _ = key, value @@ -2092,15 +2051,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2108,15 +2061,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2151,12 +2100,10 @@ func awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(v **typ } sv.OrganizationIntegration = types.OrganizationIntegration(jtv) } - case "SourceRegions": if err := awsRestjson1_deserializeDocumentStringList(&sv.SourceRegions, value); err != nil { return err } - default: _, _ = key, value @@ -2232,7 +2179,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.LastSuccessfulDataRetrievalTime = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -2241,7 +2187,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SecretArn = ptr.String(jtv) } - case "SubscriptionProviderArn": if value != nil { jtv, ok := value.(string) @@ -2250,7 +2195,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderArn = ptr.String(jtv) } - case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -2259,7 +2203,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } - case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -2268,7 +2211,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } - case "SubscriptionProviderStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2277,7 +2219,6 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -2341,15 +2282,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2357,15 +2292,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2476,7 +2407,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.InstanceCount = ptr.Int64(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2485,7 +2415,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2494,7 +2423,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2594,15 +2522,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2610,15 +2532,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2643,15 +2561,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2659,15 +2571,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/licensemanagerusersubscriptions/deserializers.go b/service/licensemanagerusersubscriptions/deserializers.go index cccf947f601..39af3a8eecf 100644 --- a/service/licensemanagerusersubscriptions/deserializers.go +++ b/service/licensemanagerusersubscriptions/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentAssociateUserOutput(v **AssociateUserOutp if err := awsRestjson1_deserializeDocumentInstanceUserSummary(&sv.InstanceUserSummary, value); err != nil { return err } - default: _, _ = key, value @@ -359,7 +358,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterIdentityProviderOutput(v **Dere if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateUserOutput(v **DisassociateUs if err := awsRestjson1_deserializeDocumentInstanceUserSummary(&sv.InstanceUserSummary, value); err != nil { return err } - default: _, _ = key, value @@ -699,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent if err := awsRestjson1_deserializeDocumentIdentityProviderSummaryList(&sv.IdentityProviderSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -708,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -878,7 +873,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -887,7 +881,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1061,12 +1054,10 @@ func awsRestjson1_deserializeOpDocumentListProductSubscriptionsOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } - case "ProductUserSummaries": if err := awsRestjson1_deserializeDocumentProductUserSummaryList(&sv.ProductUserSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1236,7 +1227,6 @@ func awsRestjson1_deserializeOpDocumentListUserAssociationsOutput(v **ListUserAs if err := awsRestjson1_deserializeDocumentInstanceUserSummaryList(&sv.InstanceUserSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1245,7 +1235,6 @@ func awsRestjson1_deserializeOpDocumentListUserAssociationsOutput(v **ListUserAs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1415,7 +1404,6 @@ func awsRestjson1_deserializeOpDocumentRegisterIdentityProviderOutput(v **Regist if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } - default: _, _ = key, value @@ -1585,7 +1573,6 @@ func awsRestjson1_deserializeOpDocumentStartProductSubscriptionOutput(v **StartP if err := awsRestjson1_deserializeDocumentProductUserSummary(&sv.ProductUserSummary, value); err != nil { return err } - default: _, _ = key, value @@ -1755,7 +1742,6 @@ func awsRestjson1_deserializeOpDocumentStopProductSubscriptionOutput(v **StopPro if err := awsRestjson1_deserializeDocumentProductUserSummary(&sv.ProductUserSummary, value); err != nil { return err } - default: _, _ = key, value @@ -1916,7 +1902,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityProviderSettingsOutput(v ** if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } - default: _, _ = key, value @@ -2198,15 +2183,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2214,15 +2193,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2257,7 +2232,6 @@ func awsRestjson1_deserializeDocumentActiveDirectoryIdentityProvider(v **types.A } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -2287,15 +2261,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2303,15 +2271,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2386,12 +2350,10 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.FailureMessage = ptr.String(jtv) } - case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } - case "Product": if value != nil { jtv, ok := value.(string) @@ -2400,12 +2362,10 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.Product = ptr.String(jtv) } - case "Settings": if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2414,7 +2374,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2488,7 +2447,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceId = ptr.String(jtv) } - case "LastStatusCheckDate": if value != nil { jtv, ok := value.(string) @@ -2497,12 +2455,10 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.LastStatusCheckDate = ptr.String(jtv) } - case "Products": if err := awsRestjson1_deserializeDocumentStringList(&sv.Products, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2511,7 +2467,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2520,7 +2475,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -2594,7 +2548,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.AssociationDate = ptr.String(jtv) } - case "DisassociationDate": if value != nil { jtv, ok := value.(string) @@ -2603,7 +2556,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.DisassociationDate = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -2612,12 +2564,10 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Domain = ptr.String(jtv) } - case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -2626,7 +2576,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.InstanceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2635,7 +2584,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2644,7 +2592,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.StatusMessage = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -2653,7 +2600,6 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -2717,15 +2663,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2733,15 +2673,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2776,12 +2712,10 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Domain = ptr.String(jtv) } - case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } - case "Product": if value != nil { jtv, ok := value.(string) @@ -2790,7 +2724,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Product = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2799,7 +2732,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2808,7 +2740,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.StatusMessage = ptr.String(jtv) } - case "SubscriptionEndDate": if value != nil { jtv, ok := value.(string) @@ -2817,7 +2748,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.SubscriptionEndDate = ptr.String(jtv) } - case "SubscriptionStartDate": if value != nil { jtv, ok := value.(string) @@ -2826,7 +2756,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.SubscriptionStartDate = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -2835,7 +2764,6 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -2899,15 +2827,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2915,15 +2837,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2948,15 +2866,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2964,15 +2876,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3007,12 +2915,10 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SecurityGroupId = ptr.String(jtv) } - case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -3114,15 +3020,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3130,15 +3030,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3163,15 +3059,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3179,15 +3069,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index 2a2fc61af32..1d7a043fa33 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -20773,13 +20773,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -20789,7 +20783,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -20798,8 +20791,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20807,7 +20799,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -20816,15 +20807,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20859,7 +20846,6 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.AccessKeyId = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -20875,12 +20861,10 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } } - case "lastUsed": if err := awsAwsjson11_deserializeDocumentAccessKeyLastUsed(&sv.LastUsed, value); err != nil { return err } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -20889,7 +20873,6 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.SecretAccessKey = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20898,7 +20881,6 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.Status = types.StatusType(jtv) } - default: _, _ = key, value @@ -20945,7 +20927,6 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } } - case "region": if value != nil { jtv, ok := value.(string) @@ -20954,7 +20935,6 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } sv.Region = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -20963,7 +20943,6 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -21071,7 +21050,6 @@ func awsAwsjson11_deserializeDocumentAccessRules(v **types.AccessRules, value in } sv.AllowPublicOverrides = ptr.Bool(jtv) } - case "getObject": if value != nil { jtv, ok := value.(string) @@ -21080,7 +21058,6 @@ func awsAwsjson11_deserializeDocumentAccessRules(v **types.AccessRules, value in } sv.GetObject = types.AccessType(jtv) } - default: _, _ = key, value @@ -21120,7 +21097,6 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.BpaImpactsLightsail = ptr.Bool(jtv) } - case "lastSyncedAt": if value != nil { switch jtv := value.(type) { @@ -21136,7 +21112,6 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } } - case "message": if value != nil { jtv, ok := value.(string) @@ -21145,7 +21120,6 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.Message = types.BPAStatusMessage(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21154,7 +21128,6 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.Status = types.AccountLevelBpaSyncStatus(jtv) } - default: _, _ = key, value @@ -21184,13 +21157,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -21200,7 +21167,6 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -21209,8 +21175,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21218,7 +21183,6 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -21227,15 +21191,11 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21270,7 +21230,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Duration = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21279,7 +21238,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Name = ptr.String(jtv) } - case "nextSnapshotTimeOfDay": if value != nil { jtv, ok := value.(string) @@ -21288,7 +21246,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.NextSnapshotTimeOfDay = ptr.String(jtv) } - case "snapshotTimeOfDay": if value != nil { jtv, ok := value.(string) @@ -21297,7 +21254,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.SnapshotTimeOfDay = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21306,7 +21262,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Status = ptr.String(jtv) } - case "threshold": if value != nil { jtv, ok := value.(string) @@ -21315,7 +21270,6 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Threshold = ptr.String(jtv) } - default: _, _ = key, value @@ -21389,7 +21343,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -21398,12 +21351,10 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "contactProtocols": if err := awsAwsjson11_deserializeDocumentContactProtocolsList(&sv.ContactProtocols, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -21419,7 +21370,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } - case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -21432,7 +21382,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -21445,12 +21394,10 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -21459,12 +21406,10 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.MetricName = types.MetricName(jtv) } - case "monitoredResourceInfo": if err := awsAwsjson11_deserializeDocumentMonitoredResourceInfo(&sv.MonitoredResourceInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -21473,7 +21418,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } - case "notificationEnabled": if value != nil { jtv, ok := value.(bool) @@ -21482,12 +21426,10 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.NotificationEnabled = ptr.Bool(jtv) } - case "notificationTriggers": if err := awsAwsjson11_deserializeDocumentNotificationTriggerList(&sv.NotificationTriggers, value); err != nil { return err } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -21500,7 +21442,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Period = ptr.Int32(int32(i64)) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21509,7 +21450,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.ResourceType = types.ResourceType(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -21518,7 +21458,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.State = types.AlarmState(jtv) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -21527,7 +21466,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Statistic = types.MetricStatistic(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -21536,7 +21474,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.SupportCode = ptr.String(jtv) } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -21570,7 +21507,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } - case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -21579,7 +21515,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.TreatMissingData = types.TreatMissingData(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -21588,7 +21523,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Unit = types.MetricUnit(jtv) } - default: _, _ = key, value @@ -21698,7 +21632,6 @@ func awsAwsjson11_deserializeDocumentAttachedDisk(v **types.AttachedDisk, value } sv.Path = ptr.String(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -21711,7 +21644,6 @@ func awsAwsjson11_deserializeDocumentAttachedDisk(v **types.AttachedDisk, value } sv.SizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21792,7 +21724,6 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } } - case "date": if value != nil { jtv, ok := value.(string) @@ -21801,12 +21732,10 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } sv.Date = ptr.String(jtv) } - case "fromAttachedDisks": if err := awsAwsjson11_deserializeDocumentAttachedDiskList(&sv.FromAttachedDisks, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -21815,7 +21744,6 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } sv.Status = types.AutoSnapshotStatus(jtv) } - default: _, _ = key, value @@ -21889,7 +21817,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.State = ptr.String(jtv) } - case "zoneName": if value != nil { jtv, ok := value.(string) @@ -21898,7 +21825,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.ZoneName = ptr.String(jtv) } - default: _, _ = key, value @@ -21972,7 +21898,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.AppCategory = types.AppCategory(jtv) } - case "blueprintId": if value != nil { jtv, ok := value.(string) @@ -21981,7 +21906,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -21990,7 +21914,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Description = ptr.String(jtv) } - case "group": if value != nil { jtv, ok := value.(string) @@ -21999,7 +21922,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Group = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -22008,7 +21930,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.IsActive = ptr.Bool(jtv) } - case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -22017,7 +21938,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.LicenseUrl = ptr.String(jtv) } - case "minPower": if value != nil { jtv, ok := value.(json.Number) @@ -22030,7 +21950,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.MinPower = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22039,7 +21958,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Name = ptr.String(jtv) } - case "platform": if value != nil { jtv, ok := value.(string) @@ -22048,7 +21966,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Platform = types.InstancePlatform(jtv) } - case "productUrl": if value != nil { jtv, ok := value.(string) @@ -22057,7 +21974,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ProductUrl = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -22066,7 +21982,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Type = types.BlueprintType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -22075,7 +21990,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Version = ptr.String(jtv) } - case "versionCode": if value != nil { jtv, ok := value.(string) @@ -22084,7 +21998,6 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.VersionCode = ptr.String(jtv) } - default: _, _ = key, value @@ -22158,17 +22071,14 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.AbleToUpdateBundle = ptr.Bool(jtv) } - case "accessLogConfig": if err := awsAwsjson11_deserializeDocumentBucketAccessLogConfig(&sv.AccessLogConfig, value); err != nil { return err } - case "accessRules": if err := awsAwsjson11_deserializeDocumentAccessRules(&sv.AccessRules, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -22177,7 +22087,6 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Arn = ptr.String(jtv) } - case "bundleId": if value != nil { jtv, ok := value.(string) @@ -22186,7 +22095,6 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.BundleId = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -22202,12 +22110,10 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -22216,7 +22122,6 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Name = ptr.String(jtv) } - case "objectVersioning": if value != nil { jtv, ok := value.(string) @@ -22225,17 +22130,14 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.ObjectVersioning = ptr.String(jtv) } - case "readonlyAccessAccounts": if err := awsAwsjson11_deserializeDocumentPartnerIdList(&sv.ReadonlyAccessAccounts, value); err != nil { return err } - case "resourcesReceivingAccess": if err := awsAwsjson11_deserializeDocumentAccessReceiverList(&sv.ResourcesReceivingAccess, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22244,12 +22146,10 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.ResourceType = ptr.String(jtv) } - case "state": if err := awsAwsjson11_deserializeDocumentBucketState(&sv.State, value); err != nil { return err } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -22258,12 +22158,10 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -22272,7 +22170,6 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -22312,7 +22209,6 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Destination = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -22321,7 +22217,6 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Enabled = ptr.Bool(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -22330,7 +22225,6 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -22370,7 +22264,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.BundleId = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -22379,7 +22272,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.IsActive = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22388,7 +22280,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.Name = ptr.String(jtv) } - case "price": if value != nil { switch jtv := value.(type) { @@ -22422,7 +22313,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } } - case "storagePerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22435,7 +22325,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.StoragePerMonthInGb = ptr.Int32(int32(i64)) } - case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22448,7 +22337,6 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22556,7 +22444,6 @@ func awsAwsjson11_deserializeDocumentBucketState(v **types.BucketState, value in } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -22565,7 +22452,6 @@ func awsAwsjson11_deserializeDocumentBucketState(v **types.BucketState, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -22605,7 +22491,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.BundleId = ptr.String(jtv) } - case "cpuCount": if value != nil { jtv, ok := value.(json.Number) @@ -22618,7 +22503,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.CpuCount = ptr.Int32(int32(i64)) } - case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22631,7 +22515,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -22640,7 +22523,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.InstanceType = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -22649,7 +22531,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.IsActive = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22658,7 +22539,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.Name = ptr.String(jtv) } - case "power": if value != nil { jtv, ok := value.(json.Number) @@ -22671,7 +22551,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.Power = ptr.Int32(int32(i64)) } - case "price": if value != nil { switch jtv := value.(type) { @@ -22705,7 +22584,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } } - case "publicIpv4AddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -22718,7 +22596,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.PublicIpv4AddressCount = ptr.Int32(int32(i64)) } - case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -22752,17 +22629,14 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } } - case "supportedAppCategories": if err := awsAwsjson11_deserializeDocumentAppCategoryList(&sv.SupportedAppCategories, value); err != nil { return err } - case "supportedPlatforms": if err := awsAwsjson11_deserializeDocumentInstancePlatformList(&sv.SupportedPlatforms, value); err != nil { return err } - case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22775,7 +22649,6 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22849,7 +22722,6 @@ func awsAwsjson11_deserializeDocumentCacheBehavior(v **types.CacheBehavior, valu } sv.Behavior = types.BehaviorEnum(jtv) } - default: _, _ = key, value @@ -22923,7 +22795,6 @@ func awsAwsjson11_deserializeDocumentCacheBehaviorPerPath(v **types.CacheBehavio } sv.Behavior = types.BehaviorEnum(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -22932,7 +22803,6 @@ func awsAwsjson11_deserializeDocumentCacheBehaviorPerPath(v **types.CacheBehavio } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -22972,7 +22842,6 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.AllowedHTTPMethods = ptr.String(jtv) } - case "cachedHTTPMethods": if value != nil { jtv, ok := value.(string) @@ -22981,7 +22850,6 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.CachedHTTPMethods = ptr.String(jtv) } - case "defaultTTL": if value != nil { jtv, ok := value.(json.Number) @@ -22994,22 +22862,18 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.DefaultTTL = ptr.Int64(i64) } - case "forwardedCookies": if err := awsAwsjson11_deserializeDocumentCookieObject(&sv.ForwardedCookies, value); err != nil { return err } - case "forwardedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderObject(&sv.ForwardedHeaders, value); err != nil { return err } - case "forwardedQueryStrings": if err := awsAwsjson11_deserializeDocumentQueryStringObject(&sv.ForwardedQueryStrings, value); err != nil { return err } - case "maximumTTL": if value != nil { jtv, ok := value.(json.Number) @@ -23022,7 +22886,6 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.MaximumTTL = ptr.Int64(i64) } - case "minimumTTL": if value != nil { jtv, ok := value.(json.Number) @@ -23035,7 +22898,6 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.MinimumTTL = ptr.Int64(i64) } - default: _, _ = key, value @@ -23075,7 +22937,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23091,7 +22952,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -23100,12 +22960,10 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.DomainName = ptr.String(jtv) } - case "domainValidationRecords": if err := awsAwsjson11_deserializeDocumentDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } - case "eligibleToRenew": if value != nil { jtv, ok := value.(string) @@ -23114,7 +22972,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.EligibleToRenew = ptr.String(jtv) } - case "inUseResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23127,7 +22984,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.InUseResourceCount = int32(i64) } - case "issuedAt": if value != nil { switch jtv := value.(type) { @@ -23143,7 +22999,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "issuerCA": if value != nil { jtv, ok := value.(string) @@ -23152,7 +23007,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.IssuerCA = ptr.String(jtv) } - case "keyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -23161,7 +23015,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.KeyAlgorithm = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23170,7 +23023,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Name = ptr.String(jtv) } - case "notAfter": if value != nil { switch jtv := value.(type) { @@ -23186,7 +23038,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "notBefore": if value != nil { switch jtv := value.(type) { @@ -23202,12 +23053,10 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "renewalSummary": if err := awsAwsjson11_deserializeDocumentRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } - case "requestFailureReason": if value != nil { jtv, ok := value.(string) @@ -23216,7 +23065,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.RequestFailureReason = ptr.String(jtv) } - case "revocationReason": if value != nil { jtv, ok := value.(string) @@ -23225,7 +23073,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.RevocationReason = ptr.String(jtv) } - case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -23241,7 +23088,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -23250,7 +23096,6 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SerialNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23259,12 +23104,10 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Status = types.CertificateStatus(jtv) } - case "subjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentSubjectAlternativeNameList(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -23273,12 +23116,10 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -23318,12 +23159,10 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateArn = ptr.String(jtv) } - case "certificateDetail": if err := awsAwsjson11_deserializeDocumentCertificate(&sv.CertificateDetail, value); err != nil { return err } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -23332,7 +23171,6 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateName = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -23341,12 +23179,10 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.DomainName = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -23420,7 +23256,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23436,17 +23271,14 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } } - case "destinationInfo": if err := awsAwsjson11_deserializeDocumentDestinationInfo(&sv.DestinationInfo, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -23455,7 +23287,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23464,12 +23295,10 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.ResourceType = types.ResourceType(jtv) } - case "sourceInfo": if err := awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfoList(&sv.SourceInfo, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -23478,7 +23307,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.State = types.RecordState(jtv) } - default: _, _ = key, value @@ -23552,7 +23380,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23561,7 +23388,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23570,7 +23396,6 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.ResourceType = types.CloudFormationStackRecordSourceType(jtv) } - default: _, _ = key, value @@ -23644,7 +23469,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Arn = ptr.String(jtv) } - case "contactEndpoint": if value != nil { jtv, ok := value.(string) @@ -23653,7 +23477,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.ContactEndpoint = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23669,12 +23492,10 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -23683,7 +23504,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Name = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -23692,7 +23512,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Protocol = types.ContactProtocol(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23701,7 +23520,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -23710,7 +23528,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Status = types.ContactMethodStatus(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -23719,7 +23536,6 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.SupportCode = ptr.String(jtv) } - default: _, _ = key, value @@ -23825,12 +23641,10 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "environment": if err := awsAwsjson11_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "image": if value != nil { jtv, ok := value.(string) @@ -23839,12 +23653,10 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } - case "ports": if err := awsAwsjson11_deserializeDocumentPortMap(&sv.Ports, value); err != nil { return err } - default: _, _ = key, value @@ -23891,7 +23703,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } } - case "digest": if value != nil { jtv, ok := value.(string) @@ -23900,7 +23711,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Digest = ptr.String(jtv) } - case "image": if value != nil { jtv, ok := value.(string) @@ -23909,7 +23719,6 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Image = ptr.String(jtv) } - default: _, _ = key, value @@ -24018,7 +23827,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Arn = ptr.String(jtv) } - case "containerServiceName": if value != nil { jtv, ok := value.(string) @@ -24027,7 +23835,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.ContainerServiceName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -24043,12 +23850,10 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } } - case "currentDeployment": if err := awsAwsjson11_deserializeDocumentContainerServiceDeployment(&sv.CurrentDeployment, value); err != nil { return err } - case "isDisabled": if value != nil { jtv, ok := value.(bool) @@ -24057,17 +23862,14 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.IsDisabled = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "nextDeployment": if err := awsAwsjson11_deserializeDocumentContainerServiceDeployment(&sv.NextDeployment, value); err != nil { return err } - case "power": if value != nil { jtv, ok := value.(string) @@ -24076,7 +23878,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Power = types.ContainerServicePowerName(jtv) } - case "powerId": if value != nil { jtv, ok := value.(string) @@ -24085,7 +23886,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PowerId = ptr.String(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -24094,7 +23894,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PrincipalArn = ptr.String(jtv) } - case "privateDomainName": if value != nil { jtv, ok := value.(string) @@ -24103,17 +23902,14 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PrivateDomainName = ptr.String(jtv) } - case "privateRegistryAccess": if err := awsAwsjson11_deserializeDocumentPrivateRegistryAccess(&sv.PrivateRegistryAccess, value); err != nil { return err } - case "publicDomainNames": if err := awsAwsjson11_deserializeDocumentContainerServicePublicDomains(&sv.PublicDomainNames, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -24122,7 +23918,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.ResourceType = types.ResourceType(jtv) } - case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -24135,7 +23930,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Scale = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -24144,17 +23938,14 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.State = types.ContainerServiceState(jtv) } - case "stateDetail": if err := awsAwsjson11_deserializeDocumentContainerServiceStateDetail(&sv.StateDetail, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -24163,7 +23954,6 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -24199,7 +23989,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai if err := awsAwsjson11_deserializeDocumentContainerMap(&sv.Containers, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -24215,12 +24004,10 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } } - case "publicEndpoint": if err := awsAwsjson11_deserializeDocumentContainerServiceEndpoint(&sv.PublicEndpoint, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -24229,7 +24016,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } sv.State = types.ContainerServiceDeploymentState(jtv) } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -24242,7 +24028,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24316,7 +24101,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(v **type } sv.IsActive = ptr.Bool(jtv) } - case "principalArn": if value != nil { jtv, ok := value.(string) @@ -24325,7 +24109,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(v **type } sv.PrincipalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -24365,7 +24148,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceEndpoint(v **types.Containe } sv.ContainerName = ptr.String(jtv) } - case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -24378,12 +24160,10 @@ func awsAwsjson11_deserializeDocumentContainerServiceEndpoint(v **types.Containe } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "healthCheck": if err := awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(&sv.HealthCheck, value); err != nil { return err } - default: _, _ = key, value @@ -24427,7 +24207,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.HealthyThreshold = ptr.Int32(int32(i64)) } - case "intervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24440,7 +24219,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.IntervalSeconds = ptr.Int32(int32(i64)) } - case "path": if value != nil { jtv, ok := value.(string) @@ -24449,7 +24227,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.Path = ptr.String(jtv) } - case "successCodes": if value != nil { jtv, ok := value.(string) @@ -24458,7 +24235,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.SuccessCodes = ptr.String(jtv) } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24471,7 +24247,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -24484,7 +24259,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24565,7 +24339,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceLogEvent(v **types.Containe } } - case "message": if value != nil { jtv, ok := value.(string) @@ -24574,7 +24347,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceLogEvent(v **types.Containe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -24741,7 +24513,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -24750,7 +24521,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.IsActive = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -24759,7 +24529,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.Name = ptr.String(jtv) } - case "powerId": if value != nil { jtv, ok := value.(string) @@ -24768,7 +24537,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.PowerId = ptr.String(jtv) } - case "price": if value != nil { switch jtv := value.(type) { @@ -24802,7 +24570,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } - case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -24836,7 +24603,6 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } - default: _, _ = key, value @@ -24987,7 +24753,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } } - case "password": if value != nil { jtv, ok := value.(string) @@ -24996,7 +24761,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Password = ptr.String(jtv) } - case "registry": if value != nil { jtv, ok := value.(string) @@ -25005,7 +24769,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Registry = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -25014,7 +24777,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -25054,7 +24816,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceStateDetail(v **types.Conta } sv.Code = types.ContainerServiceStateDetailCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -25063,7 +24824,6 @@ func awsAwsjson11_deserializeDocumentContainerServiceStateDetail(v **types.Conta } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -25099,7 +24859,6 @@ func awsAwsjson11_deserializeDocumentCookieObject(v **types.CookieObject, value if err := awsAwsjson11_deserializeDocumentStringList(&sv.CookiesAllowList, value); err != nil { return err } - case "option": if value != nil { jtv, ok := value.(string) @@ -25108,7 +24867,6 @@ func awsAwsjson11_deserializeDocumentCookieObject(v **types.CookieObject, value } sv.Option = types.ForwardValues(jtv) } - default: _, _ = key, value @@ -25144,7 +24902,6 @@ func awsAwsjson11_deserializeDocumentCostEstimate(v **types.CostEstimate, value if err := awsAwsjson11_deserializeDocumentEstimatesByTime(&sv.ResultsByTime, value); err != nil { return err } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -25153,7 +24910,6 @@ func awsAwsjson11_deserializeDocumentCostEstimate(v **types.CostEstimate, value } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -25227,7 +24983,6 @@ func awsAwsjson11_deserializeDocumentDestinationInfo(v **types.DestinationInfo, } sv.Id = ptr.String(jtv) } - case "service": if value != nil { jtv, ok := value.(string) @@ -25236,7 +24991,6 @@ func awsAwsjson11_deserializeDocumentDestinationInfo(v **types.DestinationInfo, } sv.Service = ptr.String(jtv) } - default: _, _ = key, value @@ -25272,7 +25026,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err if err := awsAwsjson11_deserializeDocumentAddOnList(&sv.AddOns, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -25281,7 +25034,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "attachedTo": if value != nil { jtv, ok := value.(string) @@ -25290,7 +25042,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AttachedTo = ptr.String(jtv) } - case "attachmentState": if value != nil { jtv, ok := value.(string) @@ -25299,7 +25050,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AttachmentState = ptr.String(jtv) } - case "autoMountStatus": if value != nil { jtv, ok := value.(string) @@ -25308,7 +25058,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AutoMountStatus = types.AutoMountStatus(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25324,7 +25073,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } } - case "gbInUse": if value != nil { jtv, ok := value.(json.Number) @@ -25337,7 +25085,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.GbInUse = ptr.Int32(int32(i64)) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -25350,7 +25097,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Iops = ptr.Int32(int32(i64)) } - case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -25359,7 +25105,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.IsAttached = ptr.Bool(jtv) } - case "isSystemDisk": if value != nil { jtv, ok := value.(bool) @@ -25368,12 +25113,10 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.IsSystemDisk = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -25382,7 +25125,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -25391,7 +25133,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Path = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -25400,7 +25141,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.ResourceType = types.ResourceType(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25413,7 +25153,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.SizeInGb = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -25422,7 +25161,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.State = types.DiskState(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -25431,12 +25169,10 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -25476,7 +25212,6 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.IsSystemDisk = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25485,7 +25220,6 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -25494,7 +25228,6 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.Path = ptr.String(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25507,7 +25240,6 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.SizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25615,7 +25347,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25631,7 +25362,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } } - case "fromDiskArn": if value != nil { jtv, ok := value.(string) @@ -25640,7 +25370,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromDiskArn = ptr.String(jtv) } - case "fromDiskName": if value != nil { jtv, ok := value.(string) @@ -25649,7 +25378,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromDiskName = ptr.String(jtv) } - case "fromInstanceArn": if value != nil { jtv, ok := value.(string) @@ -25658,7 +25386,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromInstanceArn = ptr.String(jtv) } - case "fromInstanceName": if value != nil { jtv, ok := value.(string) @@ -25667,7 +25394,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromInstanceName = ptr.String(jtv) } - case "isFromAutoSnapshot": if value != nil { jtv, ok := value.(bool) @@ -25676,12 +25402,10 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.IsFromAutoSnapshot = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -25690,7 +25414,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Name = ptr.String(jtv) } - case "progress": if value != nil { jtv, ok := value.(string) @@ -25699,7 +25422,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Progress = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -25708,7 +25430,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.ResourceType = types.ResourceType(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25721,7 +25442,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.SizeInGb = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -25730,7 +25450,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.State = types.DiskSnapshotState(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -25739,12 +25458,10 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -25788,7 +25505,6 @@ func awsAwsjson11_deserializeDocumentDiskSnapshotInfo(v **types.DiskSnapshotInfo } sv.SizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25862,7 +25578,6 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.BundleId = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -25871,7 +25586,6 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.IsActive = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -25880,7 +25594,6 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.Name = ptr.String(jtv) } - case "price": if value != nil { switch jtv := value.(type) { @@ -25914,7 +25627,6 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } } - case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25927,7 +25639,6 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26035,7 +25746,6 @@ func awsAwsjson11_deserializeDocumentDnsRecordCreationState(v **types.DnsRecordC } sv.Code = types.DnsRecordCreationStateCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -26044,7 +25754,6 @@ func awsAwsjson11_deserializeDocumentDnsRecordCreationState(v **types.DnsRecordC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -26084,7 +25793,6 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26100,17 +25808,14 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } } - case "domainEntries": if err := awsAwsjson11_deserializeDocumentDomainEntryList(&sv.DomainEntries, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -26119,12 +25824,10 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } - case "registeredDomainDelegationInfo": if err := awsAwsjson11_deserializeDocumentRegisteredDomainDelegationInfo(&sv.RegisteredDomainDelegationInfo, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26133,7 +25836,6 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -26142,12 +25844,10 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -26187,7 +25887,6 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Id = ptr.String(jtv) } - case "isAlias": if value != nil { jtv, ok := value.(bool) @@ -26196,7 +25895,6 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.IsAlias = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26205,12 +25903,10 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Name = ptr.String(jtv) } - case "options": if err := awsAwsjson11_deserializeDocumentDomainEntryOptions(&sv.Options, value); err != nil { return err } - case "target": if value != nil { jtv, ok := value.(string) @@ -26219,7 +25915,6 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Target = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -26228,7 +25923,6 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -26368,7 +26062,6 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali if err := awsAwsjson11_deserializeDocumentDnsRecordCreationState(&sv.DnsRecordCreationState, value); err != nil { return err } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -26377,12 +26070,10 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali } sv.DomainName = ptr.String(jtv) } - case "resourceRecord": if err := awsAwsjson11_deserializeDocumentResourceRecord(&sv.ResourceRecord, value); err != nil { return err } - case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -26391,7 +26082,6 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali } sv.ValidationStatus = types.CertificateDomainValidationStatus(jtv) } - default: _, _ = key, value @@ -26501,7 +26191,6 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } sv.Currency = types.Currency(jtv) } - case "pricingUnit": if value != nil { jtv, ok := value.(string) @@ -26510,12 +26199,10 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } sv.PricingUnit = types.PricingUnit(jtv) } - case "timePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } - case "unit": if value != nil { switch jtv := value.(type) { @@ -26549,7 +26236,6 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } } - case "usageCost": if value != nil { switch jtv := value.(type) { @@ -26583,7 +26269,6 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } } - default: _, _ = key, value @@ -26657,7 +26342,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26673,17 +26357,14 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } } - case "destinationInfo": if err := awsAwsjson11_deserializeDocumentDestinationInfo(&sv.DestinationInfo, value); err != nil { return err } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -26692,7 +26373,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26701,12 +26381,10 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.ResourceType = types.ResourceType(jtv) } - case "sourceInfo": if err := awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(&sv.SourceInfo, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -26715,7 +26393,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.State = types.RecordState(jtv) } - default: _, _ = key, value @@ -26789,7 +26466,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26805,12 +26481,10 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } } - case "diskSnapshotInfo": if err := awsAwsjson11_deserializeDocumentDiskSnapshotInfo(&sv.DiskSnapshotInfo, value); err != nil { return err } - case "fromResourceArn": if value != nil { jtv, ok := value.(string) @@ -26819,7 +26493,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.FromResourceArn = ptr.String(jtv) } - case "fromResourceName": if value != nil { jtv, ok := value.(string) @@ -26828,12 +26501,10 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.FromResourceName = ptr.String(jtv) } - case "instanceSnapshotInfo": if err := awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(&sv.InstanceSnapshotInfo, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -26842,7 +26513,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26851,7 +26521,6 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.ResourceType = types.ExportSnapshotRecordSourceType(jtv) } - default: _, _ = key, value @@ -26923,7 +26592,6 @@ func awsAwsjson11_deserializeDocumentHeaderObject(v **types.HeaderObject, value if err := awsAwsjson11_deserializeDocumentHeaderForwardList(&sv.HeadersAllowList, value); err != nil { return err } - case "option": if value != nil { jtv, ok := value.(string) @@ -26932,7 +26600,6 @@ func awsAwsjson11_deserializeDocumentHeaderObject(v **types.HeaderObject, value } sv.Option = types.ForwardValues(jtv) } - default: _, _ = key, value @@ -26972,7 +26639,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.Algorithm = ptr.String(jtv) } - case "fingerprintSHA1": if value != nil { jtv, ok := value.(string) @@ -26981,7 +26647,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.FingerprintSHA1 = ptr.String(jtv) } - case "fingerprintSHA256": if value != nil { jtv, ok := value.(string) @@ -26990,7 +26655,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.FingerprintSHA256 = ptr.String(jtv) } - case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -27006,7 +26670,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } - case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -27022,7 +26685,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } - case "publicKey": if value != nil { jtv, ok := value.(string) @@ -27031,7 +26693,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.PublicKey = ptr.String(jtv) } - case "witnessedAt": if value != nil { switch jtv := value.(type) { @@ -27047,7 +26708,6 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } - default: _, _ = key, value @@ -27117,7 +26777,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentAddOnList(&sv.AddOns, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -27126,7 +26785,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } - case "blueprintId": if value != nil { jtv, ok := value.(string) @@ -27135,7 +26793,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BlueprintId = ptr.String(jtv) } - case "blueprintName": if value != nil { jtv, ok := value.(string) @@ -27144,7 +26801,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BlueprintName = ptr.String(jtv) } - case "bundleId": if value != nil { jtv, ok := value.(string) @@ -27153,7 +26809,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BundleId = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -27169,12 +26824,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "hardware": if err := awsAwsjson11_deserializeDocumentInstanceHardware(&sv.Hardware, value); err != nil { return err } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -27183,12 +26836,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IpAddressType = types.IpAddressType(jtv) } - case "ipv6Addresses": if err := awsAwsjson11_deserializeDocumentIpv6AddressList(&sv.Ipv6Addresses, value); err != nil { return err } - case "isStaticIp": if value != nil { jtv, ok := value.(bool) @@ -27197,17 +26848,14 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IsStaticIp = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "metadataOptions": if err := awsAwsjson11_deserializeDocumentInstanceMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -27216,12 +26864,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Name = ptr.String(jtv) } - case "networking": if err := awsAwsjson11_deserializeDocumentInstanceNetworking(&sv.Networking, value); err != nil { return err } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -27230,7 +26876,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } - case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -27239,7 +26884,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -27248,7 +26892,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ResourceType = types.ResourceType(jtv) } - case "sshKeyName": if value != nil { jtv, ok := value.(string) @@ -27257,12 +26900,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshKeyName = ptr.String(jtv) } - case "state": if err := awsAwsjson11_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -27271,12 +26912,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "username": if value != nil { jtv, ok := value.(string) @@ -27285,7 +26924,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -27325,7 +26963,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.CertKey = ptr.String(jtv) } - case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -27341,12 +26978,10 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } } - case "hostKeys": if err := awsAwsjson11_deserializeDocumentHostKeysList(&sv.HostKeys, value); err != nil { return err } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -27355,7 +26990,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.InstanceName = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -27364,12 +26998,10 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.IpAddress = ptr.String(jtv) } - case "ipv6Addresses": if err := awsAwsjson11_deserializeDocumentIpv6AddressList(&sv.Ipv6Addresses, value); err != nil { return err } - case "password": if value != nil { jtv, ok := value.(string) @@ -27378,12 +27010,10 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Password = ptr.String(jtv) } - case "passwordData": if err := awsAwsjson11_deserializeDocumentPasswordData(&sv.PasswordData, value); err != nil { return err } - case "privateKey": if value != nil { jtv, ok := value.(string) @@ -27392,7 +27022,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.PrivateKey = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -27401,7 +27030,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Protocol = types.InstanceAccessProtocol(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -27410,7 +27038,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -27454,12 +27081,10 @@ func awsAwsjson11_deserializeDocumentInstanceHardware(v **types.InstanceHardware } sv.CpuCount = ptr.Int32(int32(i64)) } - case "disks": if err := awsAwsjson11_deserializeDocumentDiskList(&sv.Disks, value); err != nil { return err } - case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -27493,7 +27118,6 @@ func awsAwsjson11_deserializeDocumentInstanceHardware(v **types.InstanceHardware } } - default: _, _ = key, value @@ -27533,7 +27157,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceHealth = types.InstanceHealthState(jtv) } - case "instanceHealthReason": if value != nil { jtv, ok := value.(string) @@ -27542,7 +27165,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceHealthReason = types.InstanceHealthReason(jtv) } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -27551,7 +27173,6 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceName = ptr.String(jtv) } - default: _, _ = key, value @@ -27659,7 +27280,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpEndpoint = types.HttpEndpoint(jtv) } - case "httpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -27668,7 +27288,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpProtocolIpv6 = types.HttpProtocolIpv6(jtv) } - case "httpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -27681,7 +27300,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } - case "httpTokens": if value != nil { jtv, ok := value.(string) @@ -27690,7 +27308,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpTokens = types.HttpTokens(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -27699,7 +27316,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.State = types.InstanceMetadataState(jtv) } - default: _, _ = key, value @@ -27735,12 +27351,10 @@ func awsAwsjson11_deserializeDocumentInstanceNetworking(v **types.InstanceNetwor if err := awsAwsjson11_deserializeDocumentMonthlyTransfer(&sv.MonthlyTransfer, value); err != nil { return err } - case "ports": if err := awsAwsjson11_deserializeDocumentInstancePortInfoList(&sv.Ports, value); err != nil { return err } - default: _, _ = key, value @@ -27816,7 +27430,6 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessDirection = types.AccessDirection(jtv) } - case "accessFrom": if value != nil { jtv, ok := value.(string) @@ -27825,7 +27438,6 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessFrom = ptr.String(jtv) } - case "accessType": if value != nil { jtv, ok := value.(string) @@ -27834,17 +27446,14 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessType = types.PortAccessType(jtv) } - case "cidrListAliases": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CidrListAliases, value); err != nil { return err } - case "cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Cidrs, value); err != nil { return err } - case "commonName": if value != nil { jtv, ok := value.(string) @@ -27853,7 +27462,6 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.CommonName = ptr.String(jtv) } - case "fromPort": if value != nil { jtv, ok := value.(json.Number) @@ -27866,12 +27474,10 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.FromPort = int32(i64) } - case "ipv6Cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ipv6Cidrs, value); err != nil { return err } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -27880,7 +27486,6 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.Protocol = types.NetworkProtocol(jtv) } - case "toPort": if value != nil { jtv, ok := value.(json.Number) @@ -27893,7 +27498,6 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.ToPort = int32(i64) } - default: _, _ = key, value @@ -27963,12 +27567,10 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta if err := awsAwsjson11_deserializeDocumentStringList(&sv.CidrListAliases, value); err != nil { return err } - case "cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Cidrs, value); err != nil { return err } - case "fromPort": if value != nil { jtv, ok := value.(json.Number) @@ -27981,12 +27583,10 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.FromPort = int32(i64) } - case "ipv6Cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ipv6Cidrs, value); err != nil { return err } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -27995,7 +27595,6 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.Protocol = types.NetworkProtocol(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -28004,7 +27603,6 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.State = types.PortState(jtv) } - case "toPort": if value != nil { jtv, ok := value.(json.Number) @@ -28017,7 +27615,6 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.ToPort = int32(i64) } - default: _, _ = key, value @@ -28091,7 +27688,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28107,12 +27703,10 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } } - case "fromAttachedDisks": if err := awsAwsjson11_deserializeDocumentDiskList(&sv.FromAttachedDisks, value); err != nil { return err } - case "fromBlueprintId": if value != nil { jtv, ok := value.(string) @@ -28121,7 +27715,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromBlueprintId = ptr.String(jtv) } - case "fromBundleId": if value != nil { jtv, ok := value.(string) @@ -28130,7 +27723,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromBundleId = ptr.String(jtv) } - case "fromInstanceArn": if value != nil { jtv, ok := value.(string) @@ -28139,7 +27731,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromInstanceArn = ptr.String(jtv) } - case "fromInstanceName": if value != nil { jtv, ok := value.(string) @@ -28148,7 +27739,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromInstanceName = ptr.String(jtv) } - case "isFromAutoSnapshot": if value != nil { jtv, ok := value.(bool) @@ -28157,12 +27747,10 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.IsFromAutoSnapshot = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -28171,7 +27759,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Name = ptr.String(jtv) } - case "progress": if value != nil { jtv, ok := value.(string) @@ -28180,7 +27767,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Progress = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28189,7 +27775,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.ResourceType = types.ResourceType(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -28202,7 +27787,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.SizeInGb = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -28211,7 +27795,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.State = types.InstanceSnapshotState(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28220,12 +27803,10 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -28265,7 +27846,6 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(v **types.InstanceSnap } sv.FromBlueprintId = ptr.String(jtv) } - case "fromBundleId": if value != nil { jtv, ok := value.(string) @@ -28274,12 +27854,10 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(v **types.InstanceSnap } sv.FromBundleId = ptr.String(jtv) } - case "fromDiskInfo": if err := awsAwsjson11_deserializeDocumentDiskInfoList(&sv.FromDiskInfo, value); err != nil { return err } - default: _, _ = key, value @@ -28357,7 +27935,6 @@ func awsAwsjson11_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Code = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -28366,7 +27943,6 @@ func awsAwsjson11_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -28396,13 +27972,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -28412,7 +27982,6 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -28421,8 +27990,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28430,7 +27998,6 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -28439,15 +28006,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28518,7 +28081,6 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28534,7 +28096,6 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } } - case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -28543,12 +28104,10 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Fingerprint = ptr.String(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -28557,7 +28116,6 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28566,7 +28124,6 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.ResourceType = types.ResourceType(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28575,12 +28132,10 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -28654,12 +28209,10 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.AbleToUpdateBundle = ptr.Bool(jtv) } - case "alternativeDomainNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlternativeDomainNames, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -28668,7 +28221,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Arn = ptr.String(jtv) } - case "bundleId": if value != nil { jtv, ok := value.(string) @@ -28677,17 +28229,14 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.BundleId = ptr.String(jtv) } - case "cacheBehaviors": if err := awsAwsjson11_deserializeDocumentCacheBehaviorList(&sv.CacheBehaviors, value); err != nil { return err } - case "cacheBehaviorSettings": if err := awsAwsjson11_deserializeDocumentCacheSettings(&sv.CacheBehaviorSettings, value); err != nil { return err } - case "certificateName": if value != nil { jtv, ok := value.(string) @@ -28696,7 +28245,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.CertificateName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28712,12 +28260,10 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } } - case "defaultCacheBehavior": if err := awsAwsjson11_deserializeDocumentCacheBehavior(&sv.DefaultCacheBehavior, value); err != nil { return err } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -28726,7 +28272,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.DomainName = ptr.String(jtv) } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -28735,7 +28280,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.IpAddressType = types.IpAddressType(jtv) } - case "isEnabled": if value != nil { jtv, ok := value.(bool) @@ -28744,12 +28288,10 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.IsEnabled = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -28758,12 +28300,10 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Name = ptr.String(jtv) } - case "origin": if err := awsAwsjson11_deserializeDocumentOrigin(&sv.Origin, value); err != nil { return err } - case "originPublicDNS": if value != nil { jtv, ok := value.(string) @@ -28772,7 +28312,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.OriginPublicDNS = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28781,7 +28320,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -28790,7 +28328,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Status = ptr.String(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28799,12 +28336,10 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "viewerMinimumTlsProtocolVersion": if value != nil { jtv, ok := value.(string) @@ -28813,7 +28348,6 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.ViewerMinimumTlsProtocolVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -28853,12 +28387,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Arn = ptr.String(jtv) } - case "configurationOptions": if err := awsAwsjson11_deserializeDocumentLoadBalancerConfigurationOptions(&sv.ConfigurationOptions, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28874,7 +28406,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } } - case "dnsName": if value != nil { jtv, ok := value.(string) @@ -28883,7 +28414,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.DnsName = ptr.String(jtv) } - case "healthCheckPath": if value != nil { jtv, ok := value.(string) @@ -28892,7 +28422,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.HealthCheckPath = ptr.String(jtv) } - case "httpsRedirectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -28901,12 +28430,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.HttpsRedirectionEnabled = ptr.Bool(jtv) } - case "instanceHealthSummary": if err := awsAwsjson11_deserializeDocumentInstanceHealthSummaryList(&sv.InstanceHealthSummary, value); err != nil { return err } - case "instancePort": if value != nil { jtv, ok := value.(json.Number) @@ -28919,7 +28446,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.InstancePort = ptr.Int32(int32(i64)) } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -28928,12 +28454,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.IpAddressType = types.IpAddressType(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -28942,7 +28466,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Name = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -28951,12 +28474,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Protocol = types.LoadBalancerProtocol(jtv) } - case "publicPorts": if err := awsAwsjson11_deserializeDocumentPortList(&sv.PublicPorts, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28965,7 +28486,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ResourceType = types.ResourceType(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -28974,7 +28494,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.State = types.LoadBalancerState(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28983,17 +28502,14 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "tlsCertificateSummaries": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummaryList(&sv.TlsCertificateSummaries, value); err != nil { return err } - case "tlsPolicyName": if value != nil { jtv, ok := value.(string) @@ -29002,7 +28518,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.TlsPolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -29112,7 +28627,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -29128,7 +28642,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -29137,12 +28650,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.DomainName = ptr.String(jtv) } - case "domainValidationRecords": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -29151,7 +28662,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.FailureReason = types.LoadBalancerTlsCertificateFailureReason(jtv) } - case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -29160,7 +28670,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.IsAttached = ptr.Bool(jtv) } - case "issuedAt": if value != nil { switch jtv := value.(type) { @@ -29176,7 +28685,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -29185,7 +28693,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Issuer = ptr.String(jtv) } - case "keyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -29194,7 +28701,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.KeyAlgorithm = ptr.String(jtv) } - case "loadBalancerName": if value != nil { jtv, ok := value.(string) @@ -29203,12 +28709,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.LoadBalancerName = ptr.String(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -29217,7 +28721,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Name = ptr.String(jtv) } - case "notAfter": if value != nil { switch jtv := value.(type) { @@ -29233,7 +28736,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } - case "notBefore": if value != nil { switch jtv := value.(type) { @@ -29249,12 +28751,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } - case "renewalSummary": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -29263,7 +28763,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.ResourceType = types.ResourceType(jtv) } - case "revocationReason": if value != nil { jtv, ok := value.(string) @@ -29272,7 +28771,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.RevocationReason = types.LoadBalancerTlsCertificateRevocationReason(jtv) } - case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -29288,7 +28786,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } - case "serial": if value != nil { jtv, ok := value.(string) @@ -29297,7 +28794,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Serial = ptr.String(jtv) } - case "signatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -29306,7 +28802,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.SignatureAlgorithm = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -29315,7 +28810,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Status = types.LoadBalancerTlsCertificateStatus(jtv) } - case "subject": if value != nil { jtv, ok := value.(string) @@ -29324,12 +28818,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Subject = ptr.String(jtv) } - case "subjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -29338,12 +28830,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -29383,7 +28873,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreation } sv.Code = types.LoadBalancerTlsCertificateDnsRecordCreationStateCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -29392,7 +28881,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreation } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -29432,7 +28920,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationO } sv.DomainName = ptr.String(jtv) } - case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -29441,7 +28928,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationO } sv.ValidationStatus = types.LoadBalancerTlsCertificateDomainStatus(jtv) } - default: _, _ = key, value @@ -29511,7 +28997,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreationState(&sv.DnsRecordCreationState, value); err != nil { return err } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -29520,7 +29005,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.DomainName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29529,7 +29013,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -29538,7 +29021,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Type = ptr.String(jtv) } - case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -29547,7 +29029,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.ValidationStatus = types.LoadBalancerTlsCertificateDomainStatus(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -29556,7 +29037,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -29660,7 +29140,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(v if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationOptionList(&sv.DomainValidationOptions, value); err != nil { return err } - case "renewalStatus": if value != nil { jtv, ok := value.(string) @@ -29669,7 +29148,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(v } sv.RenewalStatus = types.LoadBalancerTlsCertificateRenewalStatus(jtv) } - default: _, _ = key, value @@ -29709,7 +29187,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummary(v **types } sv.IsAttached = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29718,7 +29195,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummary(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -29788,7 +29264,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ciphers, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -29797,7 +29272,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.Description = ptr.String(jtv) } - case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -29806,7 +29280,6 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.IsDefault = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29815,12 +29288,10 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.Name = ptr.String(jtv) } - case "protocols": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Protocols, value); err != nil { return err } - default: _, _ = key, value @@ -29901,7 +29372,6 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } } - case "message": if value != nil { jtv, ok := value.(string) @@ -29910,7 +29380,6 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -30009,7 +29478,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "maximum": if value != nil { switch jtv := value.(type) { @@ -30043,7 +29511,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "minimum": if value != nil { switch jtv := value.(type) { @@ -30077,7 +29544,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "sampleCount": if value != nil { switch jtv := value.(type) { @@ -30111,7 +29577,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "sum": if value != nil { switch jtv := value.(type) { @@ -30145,7 +29610,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -30161,7 +29625,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } - case "unit": if value != nil { jtv, ok := value.(string) @@ -30170,7 +29633,6 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } sv.Unit = types.MetricUnit(jtv) } - default: _, _ = key, value @@ -30244,7 +29706,6 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30253,7 +29714,6 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -30262,7 +29722,6 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -30306,7 +29765,6 @@ func awsAwsjson11_deserializeDocumentMonthlyTransfer(v **types.MonthlyTransfer, } sv.GbPerMonthAllocated = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30346,7 +29804,6 @@ func awsAwsjson11_deserializeDocumentNameServersUpdateState(v **types.NameServer } sv.Code = types.NameServersUpdateStateCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -30355,7 +29812,6 @@ func awsAwsjson11_deserializeDocumentNameServersUpdateState(v **types.NameServer } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -30385,13 +29841,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -30401,7 +29851,6 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -30410,8 +29859,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30419,7 +29867,6 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -30428,15 +29875,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30514,7 +29957,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -30523,7 +29965,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorCode = ptr.String(jtv) } - case "errorDetails": if value != nil { jtv, ok := value.(string) @@ -30532,7 +29973,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorDetails = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -30541,7 +29981,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } - case "isTerminal": if value != nil { jtv, ok := value.(bool) @@ -30550,12 +29989,10 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.IsTerminal = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "operationDetails": if value != nil { jtv, ok := value.(string) @@ -30564,7 +30001,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.OperationDetails = ptr.String(jtv) } - case "operationType": if value != nil { jtv, ok := value.(string) @@ -30573,7 +30009,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.OperationType = types.OperationType(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -30582,7 +30017,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -30591,7 +30025,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceType = types.ResourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -30600,7 +30033,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } - case "statusChangedAt": if value != nil { switch jtv := value.(type) { @@ -30616,7 +30048,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } - default: _, _ = key, value @@ -30646,13 +30077,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -30662,7 +30087,6 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -30671,8 +30095,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30680,7 +30103,6 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -30689,15 +30111,11 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30766,7 +30184,6 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.Name = ptr.String(jtv) } - case "protocolPolicy": if value != nil { jtv, ok := value.(string) @@ -30775,7 +30192,6 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ProtocolPolicy = types.OriginProtocolPolicyEnum(jtv) } - case "regionName": if value != nil { jtv, ok := value.(string) @@ -30784,7 +30200,6 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.RegionName = types.RegionName(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -30793,7 +30208,6 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } - case "responseTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -30806,7 +30220,6 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ResponseTimeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30882,7 +30295,6 @@ func awsAwsjson11_deserializeDocumentPasswordData(v **types.PasswordData, value } sv.Ciphertext = ptr.String(jtv) } - case "keyPairName": if value != nil { jtv, ok := value.(string) @@ -30891,7 +30303,6 @@ func awsAwsjson11_deserializeDocumentPasswordData(v **types.PasswordData, value } sv.KeyPairName = ptr.String(jtv) } - default: _, _ = key, value @@ -30931,7 +30342,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Action = ptr.String(jtv) } - case "currentApplyDate": if value != nil { switch jtv := value.(type) { @@ -30947,7 +30357,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } - case "description": if value != nil { jtv, ok := value.(string) @@ -30956,7 +30365,6 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -31030,7 +30438,6 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.BackupRetentionEnabled = ptr.Bool(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -31039,7 +30446,6 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.EngineVersion = ptr.String(jtv) } - case "masterUserPassword": if value != nil { jtv, ok := value.(string) @@ -31048,7 +30454,6 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.MasterUserPassword = ptr.String(jtv) } - default: _, _ = key, value @@ -31160,7 +30565,6 @@ func awsAwsjson11_deserializeDocumentPrivateRegistryAccess(v **types.PrivateRegi if err := awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(&sv.EcrImagePullerRole, value); err != nil { return err } - default: _, _ = key, value @@ -31200,12 +30604,10 @@ func awsAwsjson11_deserializeDocumentQueryStringObject(v **types.QueryStringObje } sv.Option = ptr.Bool(jtv) } - case "queryStringsAllowList": if err := awsAwsjson11_deserializeDocumentStringList(&sv.QueryStringsAllowList, value); err != nil { return err } - default: _, _ = key, value @@ -31245,7 +30647,6 @@ func awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(v **types.R53Hos } sv.Code = types.R53HostedZoneDeletionStateCode(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -31254,7 +30655,6 @@ func awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(v **types.R53Hos } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -31290,7 +30690,6 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } - case "continentCode": if value != nil { jtv, ok := value.(string) @@ -31299,7 +30698,6 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.ContinentCode = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -31308,7 +30706,6 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -31317,7 +30714,6 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -31326,12 +30722,10 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = types.RegionName(jtv) } - case "relationalDatabaseAvailabilityZones": if err := awsAwsjson11_deserializeDocumentAvailabilityZoneList(&sv.RelationalDatabaseAvailabilityZones, value); err != nil { return err } - default: _, _ = key, value @@ -31401,12 +30795,10 @@ func awsAwsjson11_deserializeDocumentRegisteredDomainDelegationInfo(v **types.Re if err := awsAwsjson11_deserializeDocumentNameServersUpdateState(&sv.NameServersUpdateState, value); err != nil { return err } - case "r53HostedZoneDeletionState": if err := awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(&sv.R53HostedZoneDeletionState, value); err != nil { return err } - default: _, _ = key, value @@ -31446,7 +30838,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Arn = ptr.String(jtv) } - case "backupRetentionEnabled": if value != nil { jtv, ok := value.(bool) @@ -31455,7 +30846,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.BackupRetentionEnabled = ptr.Bool(jtv) } - case "caCertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -31464,7 +30854,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.CaCertificateIdentifier = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -31480,7 +30869,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } } - case "engine": if value != nil { jtv, ok := value.(string) @@ -31489,7 +30877,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Engine = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -31498,12 +30885,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.EngineVersion = ptr.String(jtv) } - case "hardware": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(&sv.Hardware, value); err != nil { return err } - case "latestRestorableTime": if value != nil { switch jtv := value.(type) { @@ -31519,12 +30904,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "masterDatabaseName": if value != nil { jtv, ok := value.(string) @@ -31533,12 +30916,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.MasterDatabaseName = ptr.String(jtv) } - case "masterEndpoint": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(&sv.MasterEndpoint, value); err != nil { return err } - case "masterUsername": if value != nil { jtv, ok := value.(string) @@ -31547,7 +30928,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.MasterUsername = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -31556,7 +30936,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Name = ptr.String(jtv) } - case "parameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -31565,17 +30944,14 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.ParameterApplyStatus = ptr.String(jtv) } - case "pendingMaintenanceActions": if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActionList(&sv.PendingMaintenanceActions, value); err != nil { return err } - case "pendingModifiedValues": if err := awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(&sv.PendingModifiedValues, value); err != nil { return err } - case "preferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -31584,7 +30960,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PreferredBackupWindow = ptr.String(jtv) } - case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -31593,7 +30968,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -31602,7 +30976,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "relationalDatabaseBlueprintId": if value != nil { jtv, ok := value.(string) @@ -31611,7 +30984,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.RelationalDatabaseBlueprintId = ptr.String(jtv) } - case "relationalDatabaseBundleId": if value != nil { jtv, ok := value.(string) @@ -31620,7 +30992,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.RelationalDatabaseBundleId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -31629,7 +31000,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.ResourceType = types.ResourceType(jtv) } - case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -31638,7 +31008,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -31647,7 +31016,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.State = ptr.String(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -31656,12 +31024,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -31701,7 +31067,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.BlueprintId = ptr.String(jtv) } - case "engine": if value != nil { jtv, ok := value.(string) @@ -31710,7 +31075,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.Engine = types.RelationalDatabaseEngine(jtv) } - case "engineDescription": if value != nil { jtv, ok := value.(string) @@ -31719,7 +31083,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineDescription = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -31728,7 +31091,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineVersion = ptr.String(jtv) } - case "engineVersionDescription": if value != nil { jtv, ok := value.(string) @@ -31737,7 +31099,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineVersionDescription = ptr.String(jtv) } - case "isEngineDefault": if value != nil { jtv, ok := value.(bool) @@ -31746,7 +31107,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.IsEngineDefault = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31820,7 +31180,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.BundleId = ptr.String(jtv) } - case "cpuCount": if value != nil { jtv, ok := value.(json.Number) @@ -31833,7 +31192,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.CpuCount = ptr.Int32(int32(i64)) } - case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31846,7 +31204,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -31855,7 +31212,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.IsActive = ptr.Bool(jtv) } - case "isEncrypted": if value != nil { jtv, ok := value.(bool) @@ -31864,7 +31220,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.IsEncrypted = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -31873,7 +31228,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.Name = ptr.String(jtv) } - case "price": if value != nil { switch jtv := value.(type) { @@ -31907,7 +31261,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } } - case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -31941,7 +31294,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } } - case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31954,7 +31306,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32028,7 +31379,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(v **types.Relati } sv.Address = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -32041,7 +31391,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(v **types.Relati } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32088,12 +31437,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } } - case "eventCategories": if err := awsAwsjson11_deserializeDocumentStringList(&sv.EventCategories, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -32102,7 +31449,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } sv.Message = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -32111,7 +31457,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } sv.Resource = ptr.String(jtv) } - default: _, _ = key, value @@ -32189,7 +31534,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } sv.CpuCount = ptr.Int32(int32(i64)) } - case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -32202,7 +31546,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } - case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -32236,7 +31579,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } } - default: _, _ = key, value @@ -32310,7 +31652,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.AllowedValues = ptr.String(jtv) } - case "applyMethod": if value != nil { jtv, ok := value.(string) @@ -32319,7 +31660,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ApplyMethod = ptr.String(jtv) } - case "applyType": if value != nil { jtv, ok := value.(string) @@ -32328,7 +31668,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ApplyType = ptr.String(jtv) } - case "dataType": if value != nil { jtv, ok := value.(string) @@ -32337,7 +31676,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.DataType = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -32346,7 +31684,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.Description = ptr.String(jtv) } - case "isModifiable": if value != nil { jtv, ok := value.(bool) @@ -32355,7 +31692,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.IsModifiable = ptr.Bool(jtv) } - case "parameterName": if value != nil { jtv, ok := value.(string) @@ -32364,7 +31700,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ParameterName = ptr.String(jtv) } - case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -32373,7 +31708,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -32447,7 +31781,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -32463,7 +31796,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } } - case "engine": if value != nil { jtv, ok := value.(string) @@ -32472,7 +31804,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Engine = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -32481,7 +31812,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.EngineVersion = ptr.String(jtv) } - case "fromRelationalDatabaseArn": if value != nil { jtv, ok := value.(string) @@ -32490,7 +31820,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseArn = ptr.String(jtv) } - case "fromRelationalDatabaseBlueprintId": if value != nil { jtv, ok := value.(string) @@ -32499,7 +31828,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseBlueprintId = ptr.String(jtv) } - case "fromRelationalDatabaseBundleId": if value != nil { jtv, ok := value.(string) @@ -32508,7 +31836,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseBundleId = ptr.String(jtv) } - case "fromRelationalDatabaseName": if value != nil { jtv, ok := value.(string) @@ -32517,12 +31844,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseName = ptr.String(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -32531,7 +31856,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32540,7 +31864,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.ResourceType = types.ResourceType(jtv) } - case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -32553,7 +31876,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.SizeInGb = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -32562,7 +31884,6 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.State = ptr.String(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -32571,12 +31892,10 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.SupportCode = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -32646,7 +31965,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va if err := awsAwsjson11_deserializeDocumentDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } - case "renewalStatus": if value != nil { jtv, ok := value.(string) @@ -32655,7 +31973,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatus = types.RenewalStatus(jtv) } - case "renewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -32664,7 +31981,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatusReason = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -32680,7 +31996,6 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } } - default: _, _ = key, value @@ -32716,7 +32031,6 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu if err := awsAwsjson11_deserializeDocumentCostEstimates(&sv.CostEstimates, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -32732,7 +32046,6 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -32741,7 +32054,6 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32750,7 +32062,6 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } sv.ResourceType = types.ResourceType(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -32766,7 +32077,6 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } } - default: _, _ = key, value @@ -32806,7 +32116,6 @@ func awsAwsjson11_deserializeDocumentResourceLocation(v **types.ResourceLocation } sv.AvailabilityZone = ptr.String(jtv) } - case "regionName": if value != nil { jtv, ok := value.(string) @@ -32815,7 +32124,6 @@ func awsAwsjson11_deserializeDocumentResourceLocation(v **types.ResourceLocation } sv.RegionName = types.RegionName(jtv) } - default: _, _ = key, value @@ -32855,7 +32163,6 @@ func awsAwsjson11_deserializeDocumentResourceReceivingAccess(v **types.ResourceR } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32864,7 +32171,6 @@ func awsAwsjson11_deserializeDocumentResourceReceivingAccess(v **types.ResourceR } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -32904,7 +32210,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -32913,7 +32218,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -32922,7 +32226,6 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -32986,13 +32289,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -33002,7 +32299,6 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -33011,8 +32307,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33020,7 +32315,6 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -33029,15 +32323,11 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33072,7 +32362,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.IsPrimary = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -33081,7 +32370,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Name = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -33090,7 +32378,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -33200,7 +32487,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Command = ptr.String(jtv) } - case "dateTime": if value != nil { switch jtv := value.(type) { @@ -33216,7 +32502,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } } - case "name": if value != nil { jtv, ok := value.(string) @@ -33225,7 +32510,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Name = ptr.String(jtv) } - case "standardError": if value != nil { jtv, ok := value.(string) @@ -33234,7 +32518,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.StandardError = ptr.String(jtv) } - case "standardOutput": if value != nil { jtv, ok := value.(string) @@ -33243,7 +32526,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.StandardOutput = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -33252,7 +32534,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Status = types.SetupStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -33261,7 +32542,6 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -33331,7 +32611,6 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value if err := awsAwsjson11_deserializeDocumentSetupExecutionDetailsList(&sv.ExecutionDetails, value); err != nil { return err } - case "operationId": if value != nil { jtv, ok := value.(string) @@ -33340,17 +32619,14 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value } sv.OperationId = ptr.String(jtv) } - case "request": if err := awsAwsjson11_deserializeDocumentSetupRequest(&sv.Request, value); err != nil { return err } - case "resource": if err := awsAwsjson11_deserializeDocumentSetupHistoryResource(&sv.Resource, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -33359,7 +32635,6 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value } sv.Status = types.SetupStatus(jtv) } - default: _, _ = key, value @@ -33433,7 +32708,6 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -33449,12 +32723,10 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -33463,7 +32735,6 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -33472,7 +32743,6 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -33512,12 +32782,10 @@ func awsAwsjson11_deserializeDocumentSetupRequest(v **types.SetupRequest, value } sv.CertificateProvider = types.CertificateProvider(jtv) } - case "domainNames": if err := awsAwsjson11_deserializeDocumentSetupDomainNameList(&sv.DomainNames, value); err != nil { return err } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -33526,7 +32794,6 @@ func awsAwsjson11_deserializeDocumentSetupRequest(v **types.SetupRequest, value } sv.InstanceName = ptr.String(jtv) } - default: _, _ = key, value @@ -33566,7 +32833,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.Arn = ptr.String(jtv) } - case "attachedTo": if value != nil { jtv, ok := value.(string) @@ -33575,7 +32841,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.AttachedTo = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -33591,7 +32856,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -33600,7 +32864,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.IpAddress = ptr.String(jtv) } - case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -33609,12 +32872,10 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.IsAttached = ptr.Bool(jtv) } - case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -33623,7 +32884,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.Name = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -33632,7 +32892,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.ResourceType = types.ResourceType(jtv) } - case "supportCode": if value != nil { jtv, ok := value.(string) @@ -33641,7 +32900,6 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.SupportCode = ptr.String(jtv) } - default: _, _ = key, value @@ -33787,7 +33045,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -33796,7 +33053,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -33877,7 +33133,6 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } - case "start": if value != nil { switch jtv := value.(type) { @@ -33893,7 +33148,6 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } - default: _, _ = key, value @@ -33923,13 +33177,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -33939,7 +33187,6 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Code = ptr.String(jtv) } - case "docs": if value != nil { jtv, ok := value.(string) @@ -33948,8 +33195,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Docs = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33957,7 +33203,6 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Message = ptr.String(jtv) } - case "tip": if value != nil { jtv, ok := value.(string) @@ -33966,15 +33211,11 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Tip = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34005,7 +33246,6 @@ func awsAwsjson11_deserializeOpDocumentAllocateStaticIpOutput(v **AllocateStatic if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34041,7 +33281,6 @@ func awsAwsjson11_deserializeOpDocumentAttachCertificateToDistributionOutput(v * if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -34077,7 +33316,6 @@ func awsAwsjson11_deserializeOpDocumentAttachDiskOutput(v **AttachDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34113,7 +33351,6 @@ func awsAwsjson11_deserializeOpDocumentAttachInstancesToLoadBalancerOutput(v **A if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34149,7 +33386,6 @@ func awsAwsjson11_deserializeOpDocumentAttachLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34185,7 +33421,6 @@ func awsAwsjson11_deserializeOpDocumentAttachStaticIpOutput(v **AttachStaticIpOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34221,7 +33456,6 @@ func awsAwsjson11_deserializeOpDocumentCloseInstancePublicPortsOutput(v **CloseI if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -34257,7 +33491,6 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotOutput(v **CopySnapshotOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34293,12 +33526,10 @@ func awsAwsjson11_deserializeOpDocumentCreateBucketAccessKeyOutput(v **CreateBuc if err := awsAwsjson11_deserializeDocumentAccessKey(&sv.AccessKey, value); err != nil { return err } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34334,12 +33565,10 @@ func awsAwsjson11_deserializeOpDocumentCreateBucketOutput(v **CreateBucketOutput if err := awsAwsjson11_deserializeDocumentBucket(&sv.Bucket, value); err != nil { return err } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34375,12 +33604,10 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateOutput(v **CreateCertifi if err := awsAwsjson11_deserializeDocumentCertificateSummary(&sv.Certificate, value); err != nil { return err } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34416,7 +33643,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCloudFormationStackOutput(v **Creat if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34452,7 +33678,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContactMethodOutput(v **CreateConta if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34488,7 +33713,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceDeploymentOutput(v if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } - default: _, _ = key, value @@ -34524,7 +33748,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceOutput(v **CreateCo if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } - default: _, _ = key, value @@ -34560,7 +33783,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceRegistryLoginOutput if err := awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(&sv.RegistryLogin, value); err != nil { return err } - default: _, _ = key, value @@ -34596,7 +33818,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskFromSnapshotOutput(v **CreateDi if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34632,7 +33853,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskOutput(v **CreateDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34668,7 +33888,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskSnapshotOutput(v **CreateDiskSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34704,12 +33923,10 @@ func awsAwsjson11_deserializeOpDocumentCreateDistributionOutput(v **CreateDistri if err := awsAwsjson11_deserializeDocumentLightsailDistribution(&sv.Distribution, value); err != nil { return err } - case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -34745,7 +33962,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainEntryOutput(v **CreateDomainE if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -34781,7 +33997,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -34821,7 +34036,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.FailureReason = ptr.String(jtv) } - case "percentageComplete": if value != nil { jtv, ok := value.(json.Number) @@ -34834,7 +34048,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.PercentageComplete = ptr.Int32(int32(i64)) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -34843,12 +34056,10 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.ResourceName = ptr.String(jtv) } - case "sessions": if err := awsAwsjson11_deserializeDocumentSessions(&sv.Sessions, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -34857,7 +34068,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -34893,7 +34103,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstancesFromSnapshotOutput(v **Cre if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34929,7 +34138,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceSnapshotOutput(v **CreateIn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -34965,7 +34173,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstancesOutput(v **CreateInstances if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35001,12 +34208,10 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp if err := awsAwsjson11_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } - case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - case "privateKeyBase64": if value != nil { jtv, ok := value.(string) @@ -35015,7 +34220,6 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp } sv.PrivateKeyBase64 = ptr.String(jtv) } - case "publicKeyBase64": if value != nil { jtv, ok := value.(string) @@ -35024,7 +34228,6 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp } sv.PublicKeyBase64 = ptr.String(jtv) } - default: _, _ = key, value @@ -35060,7 +34263,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLoadBalancerOutput(v **CreateLoadBa if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35096,7 +34298,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35132,7 +34333,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseFromSnapshotOutpu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35168,7 +34368,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseOutput(v **Create if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35204,7 +34403,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseSnapshotOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35240,7 +34438,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAlarmOutput(v **DeleteAlarmOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35276,7 +34473,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAutoSnapshotOutput(v **DeleteAutoSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35312,7 +34508,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBucketAccessKeyOutput(v **DeleteBuc if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35348,7 +34543,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBucketOutput(v **DeleteBucketOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35384,7 +34578,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCertificateOutput(v **DeleteCertifi if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35420,7 +34613,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteContactMethodOutput(v **DeleteConta if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35518,7 +34710,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDiskOutput(v **DeleteDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35554,7 +34745,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDiskSnapshotOutput(v **DeleteDiskSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35590,7 +34780,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDistributionOutput(v **DeleteDistri if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -35626,7 +34815,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainEntryOutput(v **DeleteDomainE if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -35662,7 +34850,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -35698,7 +34885,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceOutput(v **DeleteInstanceOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35734,7 +34920,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceSnapshotOutput(v **DeleteIn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35770,7 +34955,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteKeyPairOutput(v **DeleteKeyPairOutp if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -35806,7 +34990,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteKnownHostKeysOutput(v **DeleteKnown if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35842,7 +35025,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLoadBalancerOutput(v **DeleteLoadBa if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35878,7 +35060,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35914,7 +35095,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRelationalDatabaseOutput(v **Delete if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35950,7 +35130,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRelationalDatabaseSnapshotOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -35986,7 +35165,6 @@ func awsAwsjson11_deserializeOpDocumentDetachCertificateFromDistributionOutput(v if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -36022,7 +35200,6 @@ func awsAwsjson11_deserializeOpDocumentDetachDiskOutput(v **DetachDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36058,7 +35235,6 @@ func awsAwsjson11_deserializeOpDocumentDetachInstancesFromLoadBalancerOutput(v * if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36094,7 +35270,6 @@ func awsAwsjson11_deserializeOpDocumentDetachStaticIpOutput(v **DetachStaticIpOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36130,7 +35305,6 @@ func awsAwsjson11_deserializeOpDocumentDisableAddOnOutput(v **DisableAddOnOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36177,7 +35351,6 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } } - case "privateKeyBase64": if value != nil { jtv, ok := value.(string) @@ -36186,7 +35359,6 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } sv.PrivateKeyBase64 = ptr.String(jtv) } - case "publicKeyBase64": if value != nil { jtv, ok := value.(string) @@ -36195,7 +35367,6 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } sv.PublicKeyBase64 = ptr.String(jtv) } - default: _, _ = key, value @@ -36231,7 +35402,6 @@ func awsAwsjson11_deserializeOpDocumentEnableAddOnOutput(v **EnableAddOnOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36267,7 +35437,6 @@ func awsAwsjson11_deserializeOpDocumentExportSnapshotOutput(v **ExportSnapshotOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -36303,7 +35472,6 @@ func awsAwsjson11_deserializeOpDocumentGetActiveNamesOutput(v **GetActiveNamesOu if err := awsAwsjson11_deserializeDocumentStringList(&sv.ActiveNames, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36312,7 +35480,6 @@ func awsAwsjson11_deserializeOpDocumentGetActiveNamesOutput(v **GetActiveNamesOu } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36348,7 +35515,6 @@ func awsAwsjson11_deserializeOpDocumentGetAlarmsOutput(v **GetAlarmsOutput, valu if err := awsAwsjson11_deserializeDocumentAlarmsList(&sv.Alarms, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36357,7 +35523,6 @@ func awsAwsjson11_deserializeOpDocumentGetAlarmsOutput(v **GetAlarmsOutput, valu } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36393,7 +35558,6 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho if err := awsAwsjson11_deserializeDocumentAutoSnapshotDetailsList(&sv.AutoSnapshots, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -36402,7 +35566,6 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -36411,7 +35574,6 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -36447,7 +35609,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintsOutput(v **GetBlueprintsOutp if err := awsAwsjson11_deserializeDocumentBlueprintList(&sv.Blueprints, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36456,7 +35617,6 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintsOutput(v **GetBlueprintsOutp } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36492,7 +35652,6 @@ func awsAwsjson11_deserializeOpDocumentGetBucketAccessKeysOutput(v **GetBucketAc if err := awsAwsjson11_deserializeDocumentAccessKeyList(&sv.AccessKeys, value); err != nil { return err } - default: _, _ = key, value @@ -36528,7 +35687,6 @@ func awsAwsjson11_deserializeOpDocumentGetBucketBundlesOutput(v **GetBucketBundl if err := awsAwsjson11_deserializeDocumentBucketBundleList(&sv.Bundles, value); err != nil { return err } - default: _, _ = key, value @@ -36564,7 +35722,6 @@ func awsAwsjson11_deserializeOpDocumentGetBucketMetricDataOutput(v **GetBucketMe if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -36573,7 +35730,6 @@ func awsAwsjson11_deserializeOpDocumentGetBucketMetricDataOutput(v **GetBucketMe } sv.MetricName = types.BucketMetricName(jtv) } - default: _, _ = key, value @@ -36609,12 +35765,10 @@ func awsAwsjson11_deserializeOpDocumentGetBucketsOutput(v **GetBucketsOutput, va if err := awsAwsjson11_deserializeDocumentAccountLevelBpaSync(&sv.AccountLevelBpaSync, value); err != nil { return err } - case "buckets": if err := awsAwsjson11_deserializeDocumentBucketList(&sv.Buckets, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36623,7 +35777,6 @@ func awsAwsjson11_deserializeOpDocumentGetBucketsOutput(v **GetBucketsOutput, va } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36659,7 +35812,6 @@ func awsAwsjson11_deserializeOpDocumentGetBundlesOutput(v **GetBundlesOutput, va if err := awsAwsjson11_deserializeDocumentBundleList(&sv.Bundles, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36668,7 +35820,6 @@ func awsAwsjson11_deserializeOpDocumentGetBundlesOutput(v **GetBundlesOutput, va } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36704,7 +35855,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificatesOutput(v **GetCertificates if err := awsAwsjson11_deserializeDocumentCertificateSummaryList(&sv.Certificates, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36713,7 +35863,6 @@ func awsAwsjson11_deserializeOpDocumentGetCertificatesOutput(v **GetCertificates } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36749,7 +35898,6 @@ func awsAwsjson11_deserializeOpDocumentGetCloudFormationStackRecordsOutput(v **G if err := awsAwsjson11_deserializeDocumentCloudFormationStackRecordList(&sv.CloudFormationStackRecords, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36758,7 +35906,6 @@ func awsAwsjson11_deserializeOpDocumentGetCloudFormationStackRecordsOutput(v **G } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36794,7 +35941,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactMethodsOutput(v **GetContactMet if err := awsAwsjson11_deserializeDocumentContactMethodsList(&sv.ContactMethods, value); err != nil { return err } - default: _, _ = key, value @@ -36830,7 +35976,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerAPIMetadataOutput(v **GetCont if err := awsAwsjson11_deserializeDocumentContainerServiceMetadataEntryList(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -36866,7 +36011,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerImagesOutput(v **GetContainer if err := awsAwsjson11_deserializeDocumentContainerImageList(&sv.ContainerImages, value); err != nil { return err } - default: _, _ = key, value @@ -36902,7 +36046,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerLogOutput(v **GetContainerLog if err := awsAwsjson11_deserializeDocumentContainerServiceLogEventList(&sv.LogEvents, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36911,7 +36054,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerLogOutput(v **GetContainerLog } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -36947,7 +36089,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceDeploymentsOutput(v ** if err := awsAwsjson11_deserializeDocumentContainerServiceDeploymentList(&sv.Deployments, value); err != nil { return err } - default: _, _ = key, value @@ -36983,7 +36124,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceMetricDataOutput(v **G if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -36992,7 +36132,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceMetricDataOutput(v **G } sv.MetricName = types.ContainerServiceMetricName(jtv) } - default: _, _ = key, value @@ -37028,7 +36167,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServicePowersOutput(v **GetCo if err := awsAwsjson11_deserializeDocumentContainerServicePowerList(&sv.Powers, value); err != nil { return err } - default: _, _ = key, value @@ -37064,7 +36202,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServicesOutput(v **GetContain if err := awsAwsjson11_deserializeDocumentContainerServiceList(&sv.ContainerServices, value); err != nil { return err } - default: _, _ = key, value @@ -37100,7 +36237,6 @@ func awsAwsjson11_deserializeOpDocumentGetCostEstimateOutput(v **GetCostEstimate if err := awsAwsjson11_deserializeDocumentResourcesBudgetEstimate(&sv.ResourcesBudgetEstimate, value); err != nil { return err } - default: _, _ = key, value @@ -37136,7 +36272,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiskOutput(v **GetDiskOutput, value in if err := awsAwsjson11_deserializeDocumentDisk(&sv.Disk, value); err != nil { return err } - default: _, _ = key, value @@ -37172,7 +36307,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotOutput(v **GetDiskSnapshot if err := awsAwsjson11_deserializeDocumentDiskSnapshot(&sv.DiskSnapshot, value); err != nil { return err } - default: _, _ = key, value @@ -37208,7 +36342,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotsOutput(v **GetDiskSnapsho if err := awsAwsjson11_deserializeDocumentDiskSnapshotList(&sv.DiskSnapshots, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37217,7 +36350,6 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotsOutput(v **GetDiskSnapsho } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37253,7 +36385,6 @@ func awsAwsjson11_deserializeOpDocumentGetDisksOutput(v **GetDisksOutput, value if err := awsAwsjson11_deserializeDocumentDiskList(&sv.Disks, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37262,7 +36393,6 @@ func awsAwsjson11_deserializeOpDocumentGetDisksOutput(v **GetDisksOutput, value } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37298,7 +36428,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionBundlesOutput(v **GetDistr if err := awsAwsjson11_deserializeDocumentDistributionBundleList(&sv.Bundles, value); err != nil { return err } - default: _, _ = key, value @@ -37345,7 +36474,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionLatestCacheResetOutput(v * } } - case "status": if value != nil { jtv, ok := value.(string) @@ -37354,7 +36482,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionLatestCacheResetOutput(v * } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -37390,7 +36517,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionMetricDataOutput(v **GetDi if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -37399,7 +36525,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionMetricDataOutput(v **GetDi } sv.MetricName = types.DistributionMetricName(jtv) } - default: _, _ = key, value @@ -37435,7 +36560,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionsOutput(v **GetDistributio if err := awsAwsjson11_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37444,7 +36568,6 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionsOutput(v **GetDistributio } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37480,7 +36603,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu if err := awsAwsjson11_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -37516,7 +36638,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainsOutput(v **GetDomainsOutput, va if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37525,7 +36646,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainsOutput(v **GetDomainsOutput, va } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37561,7 +36681,6 @@ func awsAwsjson11_deserializeOpDocumentGetExportSnapshotRecordsOutput(v **GetExp if err := awsAwsjson11_deserializeDocumentExportSnapshotRecordList(&sv.ExportSnapshotRecords, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37570,7 +36689,6 @@ func awsAwsjson11_deserializeOpDocumentGetExportSnapshotRecordsOutput(v **GetExp } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37606,7 +36724,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceAccessDetailsOutput(v **GetIns if err := awsAwsjson11_deserializeDocumentInstanceAccessDetails(&sv.AccessDetails, value); err != nil { return err } - default: _, _ = key, value @@ -37642,7 +36759,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceMetricDataOutput(v **GetInstan if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -37651,7 +36767,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceMetricDataOutput(v **GetInstan } sv.MetricName = types.InstanceMetricName(jtv) } - default: _, _ = key, value @@ -37687,7 +36802,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsAwsjson11_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -37723,7 +36837,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstancePortStatesOutput(v **GetInstan if err := awsAwsjson11_deserializeDocumentInstancePortStateList(&sv.PortStates, value); err != nil { return err } - default: _, _ = key, value @@ -37759,7 +36872,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotOutput(v **GetInstance if err := awsAwsjson11_deserializeDocumentInstanceSnapshot(&sv.InstanceSnapshot, value); err != nil { return err } - default: _, _ = key, value @@ -37795,7 +36907,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotsOutput(v **GetInstanc if err := awsAwsjson11_deserializeDocumentInstanceSnapshotList(&sv.InstanceSnapshots, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37804,7 +36915,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotsOutput(v **GetInstanc } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37840,7 +36950,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesOutput(v **GetInstancesOutput if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37849,7 +36958,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesOutput(v **GetInstancesOutput } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -37885,7 +36993,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceStateOutput(v **GetInstanceSta if err := awsAwsjson11_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } - default: _, _ = key, value @@ -37921,7 +37028,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairOutput(v **GetKeyPairOutput, va if err := awsAwsjson11_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } - default: _, _ = key, value @@ -37957,7 +37063,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairsOutput(v **GetKeyPairsOutput, if err := awsAwsjson11_deserializeDocumentKeyPairList(&sv.KeyPairs, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37966,7 +37071,6 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairsOutput(v **GetKeyPairsOutput, } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -38002,7 +37106,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerMetricDataOutput(v **GetLo if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -38011,7 +37114,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerMetricDataOutput(v **GetLo } sv.MetricName = types.LoadBalancerMetricName(jtv) } - default: _, _ = key, value @@ -38047,7 +37149,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerOutput(v **GetLoadBalancer if err := awsAwsjson11_deserializeDocumentLoadBalancer(&sv.LoadBalancer, value); err != nil { return err } - default: _, _ = key, value @@ -38083,7 +37184,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancersOutput(v **GetLoadBalance if err := awsAwsjson11_deserializeDocumentLoadBalancerList(&sv.LoadBalancers, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -38092,7 +37192,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancersOutput(v **GetLoadBalance } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -38128,7 +37227,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerTlsCertificatesOutput(v ** if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateList(&sv.TlsCertificates, value); err != nil { return err } - default: _, _ = key, value @@ -38168,12 +37266,10 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerTlsPoliciesOutput(v **GetL } sv.NextPageToken = ptr.String(jtv) } - case "tlsPolicies": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicyList(&sv.TlsPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -38209,7 +37305,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -38249,7 +37344,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsForResourceOutput(v **GetOpe } sv.NextPageCount = ptr.String(jtv) } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -38258,12 +37352,10 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsForResourceOutput(v **GetOpe } sv.NextPageToken = ptr.String(jtv) } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -38303,12 +37395,10 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsOutput(v **GetOperationsOutp } sv.NextPageToken = ptr.String(jtv) } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -38344,7 +37434,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegionsOutput(v **GetRegionsOutput, va if err := awsAwsjson11_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -38380,7 +37469,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBlueprintsOutput(v * if err := awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprintList(&sv.Blueprints, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -38389,7 +37477,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBlueprintsOutput(v * } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -38425,7 +37512,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBundlesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentRelationalDatabaseBundleList(&sv.Bundles, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -38434,7 +37520,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBundlesOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -38474,12 +37559,10 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseEventsOutput(v **Get } sv.NextPageToken = ptr.String(jtv) } - case "relationalDatabaseEvents": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseEventList(&sv.RelationalDatabaseEvents, value); err != nil { return err } - default: _, _ = key, value @@ -38519,7 +37602,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogEventsOutput(v ** } sv.NextBackwardToken = ptr.String(jtv) } - case "nextForwardToken": if value != nil { jtv, ok := value.(string) @@ -38528,12 +37610,10 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogEventsOutput(v ** } sv.NextForwardToken = ptr.String(jtv) } - case "resourceLogEvents": if err := awsAwsjson11_deserializeDocumentLogEventList(&sv.ResourceLogEvents, value); err != nil { return err } - default: _, _ = key, value @@ -38569,7 +37649,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogStreamsOutput(v * if err := awsAwsjson11_deserializeDocumentStringList(&sv.LogStreams, value); err != nil { return err } - default: _, _ = key, value @@ -38616,7 +37695,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMasterUserPasswordOu } } - case "masterUserPassword": if value != nil { jtv, ok := value.(string) @@ -38625,7 +37703,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMasterUserPasswordOu } sv.MasterUserPassword = ptr.String(jtv) } - default: _, _ = key, value @@ -38661,7 +37738,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMetricDataOutput(v * if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -38670,7 +37746,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMetricDataOutput(v * } sv.MetricName = types.RelationalDatabaseMetricName(jtv) } - default: _, _ = key, value @@ -38706,7 +37781,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseOutput(v **GetRelati if err := awsAwsjson11_deserializeDocumentRelationalDatabase(&sv.RelationalDatabase, value); err != nil { return err } - default: _, _ = key, value @@ -38746,12 +37820,10 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseParametersOutput(v * } sv.NextPageToken = ptr.String(jtv) } - case "parameters": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -38787,7 +37859,6 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseSnapshotOutput(v **G if err := awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(&sv.RelationalDatabaseSnapshot, value); err != nil { return err } - default: _, _ = key, value @@ -38827,12 +37898,10 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseSnapshotsOutput(v ** } sv.NextPageToken = ptr.String(jtv) } - case "relationalDatabaseSnapshots": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshotList(&sv.RelationalDatabaseSnapshots, value); err != nil { return err } - default: _, _ = key, value @@ -38872,12 +37941,10 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabasesOutput(v **GetRelat } sv.NextPageToken = ptr.String(jtv) } - case "relationalDatabases": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseList(&sv.RelationalDatabases, value); err != nil { return err } - default: _, _ = key, value @@ -38917,12 +37984,10 @@ func awsAwsjson11_deserializeOpDocumentGetSetupHistoryOutput(v **GetSetupHistory } sv.NextPageToken = ptr.String(jtv) } - case "setupHistory": if err := awsAwsjson11_deserializeDocumentSetupHistoryList(&sv.SetupHistory, value); err != nil { return err } - default: _, _ = key, value @@ -38958,7 +38023,6 @@ func awsAwsjson11_deserializeOpDocumentGetStaticIpOutput(v **GetStaticIpOutput, if err := awsAwsjson11_deserializeDocumentStaticIp(&sv.StaticIp, value); err != nil { return err } - default: _, _ = key, value @@ -38998,12 +38062,10 @@ func awsAwsjson11_deserializeOpDocumentGetStaticIpsOutput(v **GetStaticIpsOutput } sv.NextPageToken = ptr.String(jtv) } - case "staticIps": if err := awsAwsjson11_deserializeDocumentStaticIpList(&sv.StaticIps, value); err != nil { return err } - default: _, _ = key, value @@ -39039,7 +38101,6 @@ func awsAwsjson11_deserializeOpDocumentImportKeyPairOutput(v **ImportKeyPairOutp if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -39079,7 +38140,6 @@ func awsAwsjson11_deserializeOpDocumentIsVpcPeeredOutput(v **IsVpcPeeredOutput, } sv.IsPeered = ptr.Bool(jtv) } - default: _, _ = key, value @@ -39115,7 +38175,6 @@ func awsAwsjson11_deserializeOpDocumentOpenInstancePublicPortsOutput(v **OpenIns if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -39151,7 +38210,6 @@ func awsAwsjson11_deserializeOpDocumentPeerVpcOutput(v **PeerVpcOutput, value in if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -39187,7 +38245,6 @@ func awsAwsjson11_deserializeOpDocumentPutAlarmOutput(v **PutAlarmOutput, value if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39223,7 +38280,6 @@ func awsAwsjson11_deserializeOpDocumentPutInstancePublicPortsOutput(v **PutInsta if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -39259,7 +38315,6 @@ func awsAwsjson11_deserializeOpDocumentRebootInstanceOutput(v **RebootInstanceOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39295,7 +38350,6 @@ func awsAwsjson11_deserializeOpDocumentRebootRelationalDatabaseOutput(v **Reboot if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39331,7 +38385,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterContainerImageOutput(v **Register if err := awsAwsjson11_deserializeDocumentContainerImage(&sv.ContainerImage, value); err != nil { return err } - default: _, _ = key, value @@ -39367,7 +38420,6 @@ func awsAwsjson11_deserializeOpDocumentReleaseStaticIpOutput(v **ReleaseStaticIp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39414,12 +38466,10 @@ func awsAwsjson11_deserializeOpDocumentResetDistributionCacheOutput(v **ResetDis } } - case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -39428,7 +38478,6 @@ func awsAwsjson11_deserializeOpDocumentResetDistributionCacheOutput(v **ResetDis } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -39464,7 +38513,6 @@ func awsAwsjson11_deserializeOpDocumentSendContactMethodVerificationOutput(v **S if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39500,7 +38548,6 @@ func awsAwsjson11_deserializeOpDocumentSetIpAddressTypeOutput(v **SetIpAddressTy if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39536,7 +38583,6 @@ func awsAwsjson11_deserializeOpDocumentSetResourceAccessForBucketOutput(v **SetR if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39572,7 +38618,6 @@ func awsAwsjson11_deserializeOpDocumentSetupInstanceHttpsOutput(v **SetupInstanc if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39608,7 +38653,6 @@ func awsAwsjson11_deserializeOpDocumentStartGUISessionOutput(v **StartGUISession if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39644,7 +38688,6 @@ func awsAwsjson11_deserializeOpDocumentStartInstanceOutput(v **StartInstanceOutp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39680,7 +38723,6 @@ func awsAwsjson11_deserializeOpDocumentStartRelationalDatabaseOutput(v **StartRe if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39716,7 +38758,6 @@ func awsAwsjson11_deserializeOpDocumentStopGUISessionOutput(v **StopGUISessionOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39752,7 +38793,6 @@ func awsAwsjson11_deserializeOpDocumentStopInstanceOutput(v **StopInstanceOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39788,7 +38828,6 @@ func awsAwsjson11_deserializeOpDocumentStopRelationalDatabaseOutput(v **StopRela if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39824,7 +38863,6 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39860,7 +38898,6 @@ func awsAwsjson11_deserializeOpDocumentTestAlarmOutput(v **TestAlarmOutput, valu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39896,7 +38933,6 @@ func awsAwsjson11_deserializeOpDocumentUnpeerVpcOutput(v **UnpeerVpcOutput, valu if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -39932,7 +38968,6 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -39968,7 +39003,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBucketBundleOutput(v **UpdateBucket if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -40004,12 +39038,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateBucketOutput(v **UpdateBucketOutput if err := awsAwsjson11_deserializeDocumentBucket(&sv.Bucket, value); err != nil { return err } - case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -40045,7 +39077,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerServiceOutput(v **UpdateCo if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } - default: _, _ = key, value @@ -40081,7 +39112,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDistributionBundleOutput(v **Update if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -40117,7 +39147,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDistributionOutput(v **UpdateDistri if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -40153,7 +39182,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainEntryOutput(v **UpdateDomainE if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -40189,7 +39217,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateInstanceMetadataOptionsOutput(v **U if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -40225,7 +39252,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateLoadBalancerAttributeOutput(v **Upd if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -40261,7 +39287,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRelationalDatabaseOutput(v **Update if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -40297,7 +39322,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRelationalDatabaseParametersOutput( if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/location/deserializers.go b/service/location/deserializers.go index 81447e46c5e..a4088cd28a2 100644 --- a/service/location/deserializers.go +++ b/service/location/deserializers.go @@ -291,7 +291,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDevicePositionHistoryOutput(v if err := awsRestjson1_deserializeDocumentBatchDeleteDevicePositionHistoryErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -455,7 +454,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteGeofenceOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentBatchDeleteGeofenceErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -619,7 +617,6 @@ func awsRestjson1_deserializeOpDocumentBatchEvaluateGeofencesOutput(v **BatchEva if err := awsRestjson1_deserializeDocumentBatchEvaluateGeofencesErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -783,12 +780,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetDevicePositionOutput(v **BatchGet if err := awsRestjson1_deserializeDocumentDevicePositionList(&sv.DevicePositions, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentBatchGetDevicePositionErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -952,12 +947,10 @@ func awsRestjson1_deserializeOpDocumentBatchPutGeofenceOutput(v **BatchPutGeofen if err := awsRestjson1_deserializeDocumentBatchPutGeofenceErrorList(&sv.Errors, value); err != nil { return err } - case "Successes": if err := awsRestjson1_deserializeDocumentBatchPutGeofenceSuccessList(&sv.Successes, value); err != nil { return err } - default: _, _ = key, value @@ -1121,7 +1114,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateDevicePositionOutput(v **Batch if err := awsRestjson1_deserializeDocumentBatchUpdateDevicePositionErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -1285,12 +1277,10 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteOutput(v **CalculateRouteOu if err := awsRestjson1_deserializeDocumentLegList(&sv.Legs, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentCalculateRouteSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -1454,22 +1444,18 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteMatrixOutput(v **CalculateR if err := awsRestjson1_deserializeDocumentRouteMatrix(&sv.RouteMatrix, value); err != nil { return err } - case "SnappedDeparturePositions": if err := awsRestjson1_deserializeDocumentPositionList(&sv.SnappedDeparturePositions, value); err != nil { return err } - case "SnappedDestinationPositions": if err := awsRestjson1_deserializeDocumentPositionList(&sv.SnappedDestinationPositions, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -1640,7 +1626,6 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CollectionArn = ptr.String(jtv) } - case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -1649,7 +1634,6 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CollectionName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -1662,7 +1646,6 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CreateTime = ptr.Time(t) } - default: _, _ = key, value @@ -1837,7 +1820,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.CreateTime = ptr.Time(t) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -1846,7 +1828,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.Key = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1855,7 +1836,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.KeyArn = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -1864,7 +1844,6 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.KeyName = ptr.String(jtv) } - default: _, _ = key, value @@ -2039,7 +2018,6 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.CreateTime = ptr.Time(t) } - case "MapArn": if value != nil { jtv, ok := value.(string) @@ -2048,7 +2026,6 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.MapArn = ptr.String(jtv) } - case "MapName": if value != nil { jtv, ok := value.(string) @@ -2057,7 +2034,6 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.MapName = ptr.String(jtv) } - default: _, _ = key, value @@ -2232,7 +2208,6 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.CreateTime = ptr.Time(t) } - case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -2241,7 +2216,6 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -2250,7 +2224,6 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.IndexName = ptr.String(jtv) } - default: _, _ = key, value @@ -2421,7 +2394,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CalculatorArn = ptr.String(jtv) } - case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -2430,7 +2402,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CalculatorName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -2443,7 +2414,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CreateTime = ptr.Time(t) } - default: _, _ = key, value @@ -2618,7 +2588,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.CreateTime = ptr.Time(t) } - case "TrackerArn": if value != nil { jtv, ok := value.(string) @@ -2627,7 +2596,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.TrackerArn = ptr.String(jtv) } - case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -2636,7 +2604,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.TrackerName = ptr.String(jtv) } - default: _, _ = key, value @@ -3404,7 +3371,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CollectionArn = ptr.String(jtv) } - case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3379,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CollectionName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -3426,7 +3391,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3435,7 +3399,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.Description = ptr.String(jtv) } - case "GeofenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -3448,7 +3411,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.GeofenceCount = ptr.Int32(int32(i64)) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3457,7 +3419,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.KmsKeyId = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3427,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.PricingPlan = types.PricingPlan(jtv) } - case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -3475,12 +3435,10 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.PricingPlanDataSource = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3493,7 +3451,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -3665,7 +3622,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3674,7 +3630,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.Description = ptr.String(jtv) } - case "ExpireTime": if value != nil { jtv, ok := value.(string) @@ -3687,7 +3642,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.ExpireTime = ptr.Time(t) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -3696,7 +3650,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.Key = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3705,7 +3658,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.KeyArn = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -3714,17 +3666,14 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.KeyName = ptr.String(jtv) } - case "Restrictions": if err := awsRestjson1_deserializeDocumentApiKeyRestrictions(&sv.Restrictions, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3737,7 +3686,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -3901,7 +3849,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, if err := awsRestjson1_deserializeDocumentMapConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -3914,7 +3861,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -3923,7 +3869,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.DataSource = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3932,7 +3877,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.Description = ptr.String(jtv) } - case "MapArn": if value != nil { jtv, ok := value.(string) @@ -3941,7 +3885,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.MapArn = ptr.String(jtv) } - case "MapName": if value != nil { jtv, ok := value.(string) @@ -3950,7 +3893,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.MapName = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -3959,12 +3901,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.PricingPlan = types.PricingPlan(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3977,7 +3917,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4149,7 +4088,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -4158,12 +4096,10 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.DataSource = ptr.String(jtv) } - case "DataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4172,7 +4108,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.Description = ptr.String(jtv) } - case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -4181,7 +4116,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -4190,7 +4124,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.IndexName = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4199,12 +4132,10 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.PricingPlan = types.PricingPlan(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4217,7 +4148,6 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4385,7 +4315,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CalculatorArn = ptr.String(jtv) } - case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -4394,7 +4323,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CalculatorName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -4407,7 +4335,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -4416,7 +4343,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.DataSource = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4425,7 +4351,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.Description = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4434,12 +4359,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.PricingPlan = types.PricingPlan(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4452,7 +4375,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4624,7 +4546,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4633,7 +4554,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.Description = ptr.String(jtv) } - case "EventBridgeEnabled": if value != nil { jtv, ok := value.(bool) @@ -4642,7 +4562,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.EventBridgeEnabled = ptr.Bool(jtv) } - case "KmsKeyEnableGeospatialQueries": if value != nil { jtv, ok := value.(bool) @@ -4651,7 +4570,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.KmsKeyEnableGeospatialQueries = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4660,7 +4578,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.KmsKeyId = ptr.String(jtv) } - case "PositionFiltering": if value != nil { jtv, ok := value.(string) @@ -4669,7 +4586,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PositionFiltering = types.PositionFiltering(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4678,7 +4594,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PricingPlan = types.PricingPlan(jtv) } - case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -4687,12 +4602,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PricingPlanDataSource = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TrackerArn": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4614,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.TrackerArn = ptr.String(jtv) } - case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -4710,7 +4622,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.TrackerName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4723,7 +4634,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -4991,12 +4901,10 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.DistanceUnit = types.DistanceUnit(jtv) } - case "ForecastedEvents": if err := awsRestjson1_deserializeDocumentForecastedEventsList(&sv.ForecastedEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5005,7 +4913,6 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.NextToken = ptr.String(jtv) } - case "SpeedUnit": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4921,6 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.SpeedUnit = types.SpeedUnit(jtv) } - default: _, _ = key, value @@ -5178,7 +5084,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -5187,17 +5092,14 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.DeviceId = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } - case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -5210,7 +5112,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.ReceivedTime = ptr.Time(t) } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -5223,7 +5124,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -5387,7 +5287,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionHistoryOutput(v **GetDev if err := awsRestjson1_deserializeDocumentDevicePositionList(&sv.DevicePositions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5396,7 +5295,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionHistoryOutput(v **GetDev } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5568,7 +5466,6 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.CreateTime = ptr.Time(t) } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -5577,17 +5474,14 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.GeofenceId = ptr.String(jtv) } - case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } - case "Geometry": if err := awsRestjson1_deserializeDocumentGeofenceGeometry(&sv.Geometry, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5596,7 +5490,6 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.Status = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -5609,7 +5502,6 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -6369,7 +6261,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } - default: _, _ = key, value @@ -6530,7 +6421,6 @@ func awsRestjson1_deserializeOpDocumentListDevicePositionsOutput(v **ListDeviceP if err := awsRestjson1_deserializeDocumentListDevicePositionsResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6539,7 +6429,6 @@ func awsRestjson1_deserializeOpDocumentListDevicePositionsOutput(v **ListDeviceP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6700,7 +6589,6 @@ func awsRestjson1_deserializeOpDocumentListGeofenceCollectionsOutput(v **ListGeo if err := awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6709,7 +6597,6 @@ func awsRestjson1_deserializeOpDocumentListGeofenceCollectionsOutput(v **ListGeo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6873,7 +6760,6 @@ func awsRestjson1_deserializeOpDocumentListGeofencesOutput(v **ListGeofencesOutp if err := awsRestjson1_deserializeDocumentListGeofenceResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6882,7 +6768,6 @@ func awsRestjson1_deserializeOpDocumentListGeofencesOutput(v **ListGeofencesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7043,7 +6928,6 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsRestjson1_deserializeDocumentListKeysResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7052,7 +6936,6 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7213,7 +7096,6 @@ func awsRestjson1_deserializeOpDocumentListMapsOutput(v **ListMapsOutput, value if err := awsRestjson1_deserializeDocumentListMapsResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7222,7 +7104,6 @@ func awsRestjson1_deserializeOpDocumentListMapsOutput(v **ListMapsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7383,7 +7264,6 @@ func awsRestjson1_deserializeOpDocumentListPlaceIndexesOutput(v **ListPlaceIndex if err := awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7392,7 +7272,6 @@ func awsRestjson1_deserializeOpDocumentListPlaceIndexesOutput(v **ListPlaceIndex } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7553,7 +7432,6 @@ func awsRestjson1_deserializeOpDocumentListRouteCalculatorsOutput(v **ListRouteC if err := awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7562,7 +7440,6 @@ func awsRestjson1_deserializeOpDocumentListRouteCalculatorsOutput(v **ListRouteC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7726,7 +7603,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7890,7 +7766,6 @@ func awsRestjson1_deserializeOpDocumentListTrackerConsumersOutput(v **ListTracke if err := awsRestjson1_deserializeDocumentArnList(&sv.ConsumerArns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7899,7 +7774,6 @@ func awsRestjson1_deserializeOpDocumentListTrackerConsumersOutput(v **ListTracke } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8060,7 +7934,6 @@ func awsRestjson1_deserializeOpDocumentListTrackersOutput(v **ListTrackersOutput if err := awsRestjson1_deserializeDocumentListTrackersResponseEntryList(&sv.Entries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8069,7 +7942,6 @@ func awsRestjson1_deserializeOpDocumentListTrackersOutput(v **ListTrackersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8244,7 +8116,6 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.CreateTime = ptr.Time(t) } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -8253,7 +8124,6 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.GeofenceId = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -8266,7 +8136,6 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -8430,12 +8299,10 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForPositionOutput(v **Sea if err := awsRestjson1_deserializeDocumentSearchForPositionResultList(&sv.Results, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -8599,12 +8466,10 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForSuggestionsOutput(v ** if err := awsRestjson1_deserializeDocumentSearchForSuggestionsResultList(&sv.Results, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -8768,12 +8633,10 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForTextOutput(v **SearchP if err := awsRestjson1_deserializeDocumentSearchForTextResultList(&sv.Results, value); err != nil { return err } - case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -9141,7 +9004,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.CollectionArn = ptr.String(jtv) } - case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -9150,7 +9012,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.CollectionName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9163,7 +9024,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -9331,7 +9191,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.KeyArn = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -9340,7 +9199,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.KeyName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9353,7 +9211,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -9521,7 +9378,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.MapArn = ptr.String(jtv) } - case "MapName": if value != nil { jtv, ok := value.(string) @@ -9530,7 +9386,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.MapName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9543,7 +9398,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -9711,7 +9565,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -9720,7 +9573,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.IndexName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9585,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -9901,7 +9752,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.CalculatorArn = ptr.String(jtv) } - case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -9910,7 +9760,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.CalculatorName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9923,7 +9772,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -10091,7 +9939,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.TrackerArn = ptr.String(jtv) } - case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -10100,7 +9947,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.TrackerName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -10113,7 +9959,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -10281,7 +10126,6 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.DeviceId = ptr.String(jtv) } - case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -10290,12 +10134,10 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.DistanceUnit = types.DistanceUnit(jtv) } - case "InferredState": if err := awsRestjson1_deserializeDocumentInferredState(&sv.InferredState, value); err != nil { return err } - case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -10308,7 +10150,6 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.ReceivedTime = ptr.Time(t) } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -10321,7 +10162,6 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -10603,15 +10443,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10619,15 +10453,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10694,17 +10524,14 @@ func awsRestjson1_deserializeDocumentApiKeyRestrictions(v **types.ApiKeyRestrict if err := awsRestjson1_deserializeDocumentApiKeyActionList(&sv.AllowActions, value); err != nil { return err } - case "AllowReferers": if err := awsRestjson1_deserializeDocumentRefererPatternList(&sv.AllowReferers, value); err != nil { return err } - case "AllowResources": if err := awsRestjson1_deserializeDocumentGeoArnList(&sv.AllowResources, value); err != nil { return err } - default: _, _ = key, value @@ -10780,12 +10607,10 @@ func awsRestjson1_deserializeDocumentBatchDeleteDevicePositionHistoryError(v **t } sv.DeviceId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -10855,7 +10680,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteGeofenceError(v **types.BatchDel if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -10864,7 +10688,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteGeofenceError(v **types.BatchDel } sv.GeofenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10938,12 +10761,10 @@ func awsRestjson1_deserializeDocumentBatchEvaluateGeofencesError(v **types.Batch } sv.DeviceId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -10956,7 +10777,6 @@ func awsRestjson1_deserializeDocumentBatchEvaluateGeofencesError(v **types.Batch } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -11030,12 +10850,10 @@ func awsRestjson1_deserializeDocumentBatchGetDevicePositionError(v **types.Batch } sv.DeviceId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -11109,7 +10927,6 @@ func awsRestjson1_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Code = types.BatchItemErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -11118,7 +10935,6 @@ func awsRestjson1_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -11154,7 +10970,6 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceError(v **types.BatchPutGeo if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -11163,7 +10978,6 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceError(v **types.BatchPutGeo } sv.GeofenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -11241,7 +11055,6 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.CreateTime = ptr.Time(t) } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -11250,7 +11063,6 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.GeofenceId = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -11263,7 +11075,6 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -11337,12 +11148,10 @@ func awsRestjson1_deserializeDocumentBatchUpdateDevicePositionError(v **types.Ba } sv.DeviceId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -11355,7 +11164,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateDevicePositionError(v **types.Ba } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -11490,7 +11298,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.DataSource = ptr.String(jtv) } - case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -11499,7 +11306,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.DistanceUnit = types.DistanceUnit(jtv) } - case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -11512,7 +11318,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.ErrorCount = ptr.Int32(int32(i64)) } - case "RouteCount": if value != nil { jtv, ok := value.(json.Number) @@ -11525,7 +11330,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.RouteCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11565,7 +11369,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } sv.DataSource = ptr.String(jtv) } - case "Distance": if value != nil { switch jtv := value.(type) { @@ -11599,7 +11402,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } } - case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -11608,7 +11410,6 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } sv.DistanceUnit = types.DistanceUnit(jtv) } - case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -11642,12 +11443,10 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } } - case "RouteBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.RouteBBox, value); err != nil { return err } - default: _, _ = key, value @@ -11683,7 +11482,6 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) if err := awsRestjson1_deserializeDocumentPosition(&sv.Center, value); err != nil { return err } - case "Radius": if value != nil { switch jtv := value.(type) { @@ -11717,7 +11515,6 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) } } - default: _, _ = key, value @@ -11747,15 +11544,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11763,15 +11554,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11878,7 +11665,6 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.IntendedUse = types.IntendedUse(jtv) } - default: _, _ = key, value @@ -11914,7 +11700,6 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -11923,17 +11708,14 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.DeviceId = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } - case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -11946,7 +11728,6 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.ReceivedTime = ptr.Time(t) } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -11959,7 +11740,6 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -12069,7 +11849,6 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.EventId = ptr.String(jtv) } - case "EventType": if value != nil { jtv, ok := value.(string) @@ -12078,7 +11857,6 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.EventType = types.ForecastedGeofenceEventType(jtv) } - case "ForecastedBreachTime": if value != nil { jtv, ok := value.(string) @@ -12091,7 +11869,6 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.ForecastedBreachTime = ptr.Time(t) } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -12100,12 +11877,10 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.GeofenceId = ptr.String(jtv) } - case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } - case "IsDeviceInGeofence": if value != nil { jtv, ok := value.(bool) @@ -12114,7 +11889,6 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.IsDeviceInGeofence = ptr.Bool(jtv) } - case "NearestDistance": if value != nil { switch jtv := value.(type) { @@ -12148,7 +11922,6 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } } - default: _, _ = key, value @@ -12254,7 +12027,6 @@ func awsRestjson1_deserializeDocumentGeofenceGeometry(v **types.GeofenceGeometry if err := awsRestjson1_deserializeDocumentCircle(&sv.Circle, value); err != nil { return err } - case "Geobuf": if value != nil { jtv, ok := value.(string) @@ -12267,12 +12039,10 @@ func awsRestjson1_deserializeDocumentGeofenceGeometry(v **types.GeofenceGeometry } sv.Geobuf = dv } - case "Polygon": if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -12308,7 +12078,6 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } - case "DeviationDistance": if value != nil { switch jtv := value.(type) { @@ -12342,12 +12111,10 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu } } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "ProxyDetected": if value != nil { jtv, ok := value.(bool) @@ -12356,7 +12123,6 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu } sv.ProxyDetected = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12386,15 +12152,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12402,15 +12162,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12470,7 +12226,6 @@ func awsRestjson1_deserializeDocumentLeg(v **types.Leg, value interface{}) error } } - case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -12504,27 +12259,22 @@ func awsRestjson1_deserializeDocumentLeg(v **types.Leg, value interface{}) error } } - case "EndPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.EndPosition, value); err != nil { return err } - case "Geometry": if err := awsRestjson1_deserializeDocumentLegGeometry(&sv.Geometry, value); err != nil { return err } - case "StartPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.StartPosition, value); err != nil { return err } - case "Steps": if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -12560,7 +12310,6 @@ func awsRestjson1_deserializeDocumentLegGeometry(v **types.LegGeometry, value in if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } - default: _, _ = key, value @@ -12726,7 +12475,6 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -12735,17 +12483,14 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. } sv.DeviceId = ptr.String(jtv) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } - case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -12758,7 +12503,6 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. } sv.SampleTime = ptr.Time(t) } - default: _, _ = key, value @@ -12832,7 +12576,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.CollectionName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -12845,7 +12588,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12854,7 +12596,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.Description = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -12863,7 +12604,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.PricingPlan = types.PricingPlan(jtv) } - case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -12872,7 +12612,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.PricingPlanDataSource = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -12885,7 +12624,6 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -12963,7 +12701,6 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.CreateTime = ptr.Time(t) } - case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -12972,17 +12709,14 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.GeofenceId = ptr.String(jtv) } - case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } - case "Geometry": if err := awsRestjson1_deserializeDocumentGeofenceGeometry(&sv.Geometry, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12991,7 +12725,6 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.Status = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13004,7 +12737,6 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13082,7 +12814,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13091,7 +12822,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.Description = ptr.String(jtv) } - case "ExpireTime": if value != nil { jtv, ok := value.(string) @@ -13104,7 +12834,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.ExpireTime = ptr.Time(t) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -13113,12 +12842,10 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.KeyName = ptr.String(jtv) } - case "Restrictions": if err := awsRestjson1_deserializeDocumentApiKeyRestrictions(&sv.Restrictions, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13131,7 +12858,6 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13209,7 +12935,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -13218,7 +12943,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.DataSource = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13227,7 +12951,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.Description = ptr.String(jtv) } - case "MapName": if value != nil { jtv, ok := value.(string) @@ -13236,7 +12959,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.MapName = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13245,7 +12967,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.PricingPlan = types.PricingPlan(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13258,7 +12979,6 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13336,7 +13056,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -13345,7 +13064,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.DataSource = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13354,7 +13072,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.Description = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -13363,7 +13080,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.IndexName = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13372,7 +13088,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.PricingPlan = types.PricingPlan(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13385,7 +13100,6 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13459,7 +13173,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.CalculatorName = ptr.String(jtv) } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -13472,7 +13185,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.CreateTime = ptr.Time(t) } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -13481,7 +13193,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.DataSource = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13490,7 +13201,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.Description = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13499,7 +13209,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.PricingPlan = types.PricingPlan(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13512,7 +13221,6 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13590,7 +13298,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.CreateTime = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13599,7 +13306,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.Description = ptr.String(jtv) } - case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13608,7 +13314,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.PricingPlan = types.PricingPlan(jtv) } - case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -13617,7 +13322,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.PricingPlanDataSource = ptr.String(jtv) } - case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -13626,7 +13330,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.TrackerName = ptr.String(jtv) } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13639,7 +13342,6 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -13709,7 +13411,6 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration if err := awsRestjson1_deserializeDocumentCustomLayerList(&sv.CustomLayers, value); err != nil { return err } - case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -13718,7 +13419,6 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration } sv.PoliticalView = ptr.String(jtv) } - case "Style": if value != nil { jtv, ok := value.(string) @@ -13727,7 +13427,6 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration } sv.Style = ptr.String(jtv) } - default: _, _ = key, value @@ -13767,12 +13466,10 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.AddressNumber = ptr.String(jtv) } - case "Categories": if err := awsRestjson1_deserializeDocumentPlaceCategoryList(&sv.Categories, value); err != nil { return err } - case "Country": if value != nil { jtv, ok := value.(string) @@ -13781,12 +13478,10 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Country = ptr.String(jtv) } - case "Geometry": if err := awsRestjson1_deserializeDocumentPlaceGeometry(&sv.Geometry, value); err != nil { return err } - case "Interpolated": if value != nil { jtv, ok := value.(bool) @@ -13795,7 +13490,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Interpolated = ptr.Bool(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -13804,7 +13498,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Label = ptr.String(jtv) } - case "Municipality": if value != nil { jtv, ok := value.(string) @@ -13813,7 +13506,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Municipality = ptr.String(jtv) } - case "Neighborhood": if value != nil { jtv, ok := value.(string) @@ -13822,7 +13514,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Neighborhood = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -13831,7 +13522,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.PostalCode = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -13840,7 +13530,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Region = ptr.String(jtv) } - case "Street": if value != nil { jtv, ok := value.(string) @@ -13849,7 +13538,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Street = ptr.String(jtv) } - case "SubMunicipality": if value != nil { jtv, ok := value.(string) @@ -13858,7 +13546,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.SubMunicipality = ptr.String(jtv) } - case "SubRegion": if value != nil { jtv, ok := value.(string) @@ -13867,17 +13554,14 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.SubRegion = ptr.String(jtv) } - case "SupplementalCategories": if err := awsRestjson1_deserializeDocumentPlaceSupplementalCategoryList(&sv.SupplementalCategories, value); err != nil { return err } - case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } - case "UnitNumber": if value != nil { jtv, ok := value.(string) @@ -13886,7 +13570,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.UnitNumber = ptr.String(jtv) } - case "UnitType": if value != nil { jtv, ok := value.(string) @@ -13895,7 +13578,6 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.UnitType = ptr.String(jtv) } - default: _, _ = key, value @@ -13967,7 +13649,6 @@ func awsRestjson1_deserializeDocumentPlaceGeometry(v **types.PlaceGeometry, valu if err := awsRestjson1_deserializeDocumentPosition(&sv.Point, value); err != nil { return err } - default: _, _ = key, value @@ -14129,7 +13810,6 @@ func awsRestjson1_deserializeDocumentPositionalAccuracy(v **types.PositionalAccu } } - default: _, _ = key, value @@ -14263,15 +13943,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14279,15 +13953,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14379,7 +14049,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } } - case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -14413,12 +14082,10 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } } - case "Error": if err := awsRestjson1_deserializeDocumentRouteMatrixEntryError(&sv.Error, value); err != nil { return err } - default: _, _ = key, value @@ -14458,7 +14125,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntryError(v **types.RouteMatrix } sv.Code = types.RouteMatrixErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14467,7 +14133,6 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntryError(v **types.RouteMatrix } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -14566,12 +14231,10 @@ func awsRestjson1_deserializeDocumentSearchForPositionResult(v **types.SearchFor } } - case "Place": if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14580,7 +14243,6 @@ func awsRestjson1_deserializeDocumentSearchForPositionResult(v **types.SearchFor } sv.PlaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -14650,7 +14312,6 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search if err := awsRestjson1_deserializeDocumentPlaceCategoryList(&sv.Categories, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14659,12 +14320,10 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search } sv.PlaceId = ptr.String(jtv) } - case "SupplementalCategories": if err := awsRestjson1_deserializeDocumentPlaceSupplementalCategoryList(&sv.SupplementalCategories, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -14673,7 +14332,6 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -14772,12 +14430,10 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } } - case "Place": if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } - case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14786,7 +14442,6 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } sv.PlaceId = ptr.String(jtv) } - case "Relevance": if value != nil { switch jtv := value.(type) { @@ -14820,7 +14475,6 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } } - default: _, _ = key, value @@ -14894,7 +14548,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.DataSource = ptr.String(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -14903,7 +14556,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.Language = ptr.String(jtv) } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14916,12 +14568,10 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.MaxResults = ptr.Int32(int32(i64)) } - case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - default: _, _ = key, value @@ -14957,7 +14607,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t if err := awsRestjson1_deserializeDocumentPosition(&sv.BiasPosition, value); err != nil { return err } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -14966,22 +14615,18 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.DataSource = ptr.String(jtv) } - case "FilterBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.FilterBBox, value); err != nil { return err } - case "FilterCategories": if err := awsRestjson1_deserializeDocumentFilterPlaceCategoryList(&sv.FilterCategories, value); err != nil { return err } - case "FilterCountries": if err := awsRestjson1_deserializeDocumentCountryCodeList(&sv.FilterCountries, value); err != nil { return err } - case "Language": if value != nil { jtv, ok := value.(string) @@ -14990,7 +14635,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.Language = ptr.String(jtv) } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -15003,7 +14647,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.MaxResults = ptr.Int32(int32(i64)) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -15012,7 +14655,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -15048,7 +14690,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se if err := awsRestjson1_deserializeDocumentPosition(&sv.BiasPosition, value); err != nil { return err } - case "DataSource": if value != nil { jtv, ok := value.(string) @@ -15057,22 +14698,18 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.DataSource = ptr.String(jtv) } - case "FilterBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.FilterBBox, value); err != nil { return err } - case "FilterCategories": if err := awsRestjson1_deserializeDocumentFilterPlaceCategoryList(&sv.FilterCategories, value); err != nil { return err } - case "FilterCountries": if err := awsRestjson1_deserializeDocumentCountryCodeList(&sv.FilterCountries, value); err != nil { return err } - case "Language": if value != nil { jtv, ok := value.(string) @@ -15081,7 +14718,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.Language = ptr.String(jtv) } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -15094,12 +14730,10 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.MaxResults = ptr.Int32(int32(i64)) } - case "ResultBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.ResultBBox, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -15108,7 +14742,6 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -15138,15 +14771,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15154,15 +14781,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15222,7 +14845,6 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } - case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -15256,12 +14878,10 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } - case "EndPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.EndPosition, value); err != nil { return err } - case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -15274,12 +14894,10 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.GeometryOffset = ptr.Int32(int32(i64)) } - case "StartPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.StartPosition, value); err != nil { return err } - default: _, _ = key, value @@ -15379,15 +14997,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15395,15 +15007,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15438,7 +15046,6 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Name = ptr.String(jtv) } - case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -15451,7 +15058,6 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Offset = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15481,20 +15087,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15502,7 +15101,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -15511,15 +15109,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15554,7 +15148,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15563,7 +15156,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/lookoutequipment/deserializers.go b/service/lookoutequipment/deserializers.go index d02570dabde..5b5491aaf63 100644 --- a/service/lookoutequipment/deserializers.go +++ b/service/lookoutequipment/deserializers.go @@ -6162,15 +6162,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6178,15 +6172,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6225,7 +6215,6 @@ func awsAwsjson10_deserializeDocumentCategoricalValues(v **types.CategoricalValu } sv.NumberOfCategory = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6234,7 +6223,6 @@ func awsAwsjson10_deserializeDocumentCategoricalValues(v **types.CategoricalValu } sv.Status = types.StatisticalIssueStatus(jtv) } - default: _, _ = key, value @@ -6264,15 +6252,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6280,15 +6262,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6327,7 +6305,6 @@ func awsAwsjson10_deserializeDocumentCountPercent(v **types.CountPercent, value } sv.Count = ptr.Int32(int32(i64)) } - case "Percentage": if value != nil { switch jtv := value.(type) { @@ -6361,7 +6338,6 @@ func awsAwsjson10_deserializeDocumentCountPercent(v **types.CountPercent, value } } - default: _, _ = key, value @@ -6435,7 +6411,6 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -6444,12 +6419,10 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.DatasetName = ptr.String(jtv) } - case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -6458,7 +6431,6 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.JobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6467,7 +6439,6 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.Status = types.IngestionJobStatus(jtv) } - default: _, _ = key, value @@ -6507,7 +6478,6 @@ func awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(v **types.Da } sv.TargetSamplingRate = types.TargetSamplingRate(jtv) } - default: _, _ = key, value @@ -6543,27 +6513,22 @@ func awsAwsjson10_deserializeDocumentDataQualitySummary(v **types.DataQualitySum if err := awsAwsjson10_deserializeDocumentDuplicateTimestamps(&sv.DuplicateTimestamps, value); err != nil { return err } - case "InsufficientSensorData": if err := awsAwsjson10_deserializeDocumentInsufficientSensorData(&sv.InsufficientSensorData, value); err != nil { return err } - case "InvalidSensorData": if err := awsAwsjson10_deserializeDocumentInvalidSensorData(&sv.InvalidSensorData, value); err != nil { return err } - case "MissingSensorData": if err := awsAwsjson10_deserializeDocumentMissingSensorData(&sv.MissingSensorData, value); err != nil { return err } - case "UnsupportedTimestamps": if err := awsAwsjson10_deserializeDocumentUnsupportedTimestamps(&sv.UnsupportedTimestamps, value); err != nil { return err } - default: _, _ = key, value @@ -6644,7 +6609,6 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -6653,7 +6617,6 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -6662,7 +6625,6 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6671,7 +6633,6 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -6715,7 +6676,6 @@ func awsAwsjson10_deserializeDocumentDuplicateTimestamps(v **types.DuplicateTime } sv.TotalNumberOfDuplicateTimestamps = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6825,7 +6785,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.Diagnostics = ptr.String(jtv) } - case "EventDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6838,7 +6797,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.EventDurationInSeconds = ptr.Int64(i64) } - case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -6854,7 +6812,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } } - case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -6870,7 +6827,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } } - case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -6879,7 +6835,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -6888,7 +6843,6 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.InferenceSchedulerName = ptr.String(jtv) } - default: _, _ = key, value @@ -6958,7 +6912,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen if err := awsAwsjson10_deserializeDocumentS3Object(&sv.CustomerResultObject, value); err != nil { return err } - case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -6974,17 +6927,14 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } - case "DataInputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceInputConfiguration(&sv.DataInputConfiguration, value); err != nil { return err } - case "DataOutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(&sv.DataOutputConfiguration, value); err != nil { return err } - case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -7000,7 +6950,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } - case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -7009,7 +6958,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.FailedReason = ptr.String(jtv) } - case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -7018,7 +6966,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -7027,7 +6974,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.InferenceSchedulerName = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -7036,7 +6982,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -7045,7 +6990,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7058,7 +7002,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelVersion = ptr.Int64(i64) } - case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -7067,7 +7010,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelVersionArn = ptr.String(jtv) } - case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -7083,7 +7025,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7092,7 +7033,6 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.Status = types.InferenceExecutionStatus(jtv) } - default: _, _ = key, value @@ -7128,7 +7068,6 @@ func awsAwsjson10_deserializeDocumentInferenceInputConfiguration(v **types.Infer if err := awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(&sv.InferenceInputNameConfiguration, value); err != nil { return err } - case "InputTimeZoneOffset": if value != nil { jtv, ok := value.(string) @@ -7137,12 +7076,10 @@ func awsAwsjson10_deserializeDocumentInferenceInputConfiguration(v **types.Infer } sv.InputTimeZoneOffset = ptr.String(jtv) } - case "S3InputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7182,7 +7119,6 @@ func awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(v **types.I } sv.ComponentTimestampDelimiter = ptr.String(jtv) } - case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -7191,7 +7127,6 @@ func awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(v **types.I } sv.TimestampFormat = ptr.String(jtv) } - default: _, _ = key, value @@ -7231,12 +7166,10 @@ func awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(v **types.Infe } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(&sv.S3OutputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7276,7 +7209,6 @@ func awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(v **types.Inf } sv.Bucket = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7285,7 +7217,6 @@ func awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(v **types.Inf } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -7325,7 +7256,6 @@ func awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(v **types.In } sv.Bucket = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7334,7 +7264,6 @@ func awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(v **types.In } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -7412,7 +7341,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.DataDelayOffsetInMinutes = ptr.Int64(i64) } - case "DataUploadFrequency": if value != nil { jtv, ok := value.(string) @@ -7421,7 +7349,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.DataUploadFrequency = types.DataUploadFrequency(jtv) } - case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -7430,7 +7357,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -7439,7 +7365,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.InferenceSchedulerName = ptr.String(jtv) } - case "LatestInferenceResult": if value != nil { jtv, ok := value.(string) @@ -7448,7 +7373,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.LatestInferenceResult = types.LatestInferenceResult(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -7457,7 +7381,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -7466,7 +7389,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7475,7 +7397,6 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.Status = types.InferenceSchedulerStatus(jtv) } - default: _, _ = key, value @@ -7511,7 +7432,6 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile if err := awsAwsjson10_deserializeDocumentListOfDiscardedFiles(&sv.DiscardedFiles, value); err != nil { return err } - case "IngestedNumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -7524,7 +7444,6 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile } sv.IngestedNumberOfFiles = ptr.Int32(int32(i64)) } - case "TotalNumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -7537,7 +7456,6 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile } sv.TotalNumberOfFiles = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7573,7 +7491,6 @@ func awsAwsjson10_deserializeDocumentIngestionInputConfiguration(v **types.Inges if err := awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7613,7 +7530,6 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.Bucket = ptr.String(jtv) } - case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -7622,7 +7538,6 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.KeyPattern = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7631,7 +7546,6 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -7667,12 +7581,10 @@ func awsAwsjson10_deserializeDocumentInsufficientSensorData(v **types.Insufficie if err := awsAwsjson10_deserializeDocumentMissingCompleteSensorData(&sv.MissingCompleteSensorData, value); err != nil { return err } - case "SensorsWithShortDateRange": if err := awsAwsjson10_deserializeDocumentSensorsWithShortDateRange(&sv.SensorsWithShortDateRange, value); err != nil { return err } - default: _, _ = key, value @@ -7702,15 +7614,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7718,15 +7624,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7765,7 +7667,6 @@ func awsAwsjson10_deserializeDocumentInvalidSensorData(v **types.InvalidSensorDa } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } - case "TotalNumberOfInvalidValues": if value != nil { jtv, ok := value.(json.Number) @@ -7778,7 +7679,6 @@ func awsAwsjson10_deserializeDocumentInvalidSensorData(v **types.InvalidSensorDa } sv.TotalNumberOfInvalidValues = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7859,7 +7759,6 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } } - case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -7868,7 +7767,6 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } sv.LabelGroupArn = ptr.String(jtv) } - case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -7877,7 +7775,6 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } sv.LabelGroupName = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7893,7 +7790,6 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } } - default: _, _ = key, value @@ -7933,12 +7829,10 @@ func awsAwsjson10_deserializeDocumentLabelsInputConfiguration(v **types.LabelsIn } sv.LabelGroupName = ptr.String(jtv) } - case "S3InputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7978,7 +7872,6 @@ func awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(v **types.Labels } sv.Bucket = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7987,7 +7880,6 @@ func awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(v **types.Labels } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8068,7 +7960,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8084,7 +7975,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } - case "Equipment": if value != nil { jtv, ok := value.(string) @@ -8093,7 +7983,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Equipment = ptr.String(jtv) } - case "FaultCode": if value != nil { jtv, ok := value.(string) @@ -8102,7 +7991,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.FaultCode = ptr.String(jtv) } - case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -8111,7 +7999,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelGroupArn = ptr.String(jtv) } - case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -8120,7 +8007,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelGroupName = ptr.String(jtv) } - case "LabelId": if value != nil { jtv, ok := value.(string) @@ -8129,7 +8015,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelId = ptr.String(jtv) } - case "Rating": if value != nil { jtv, ok := value.(string) @@ -8138,7 +8023,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Rating = types.LabelRating(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8154,7 +8038,6 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } - default: _, _ = key, value @@ -8198,7 +8081,6 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.MaxTimestampGapInDays = ptr.Int32(int32(i64)) } - case "NumberOfLargeTimestampGaps": if value != nil { jtv, ok := value.(json.Number) @@ -8211,7 +8093,6 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.NumberOfLargeTimestampGaps = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8220,7 +8101,6 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.Status = types.StatisticalIssueStatus(jtv) } - default: _, _ = key, value @@ -8298,7 +8178,6 @@ func awsAwsjson10_deserializeDocumentMissingCompleteSensorData(v **types.Missing } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8342,7 +8221,6 @@ func awsAwsjson10_deserializeDocumentMissingSensorData(v **types.MissingSensorDa } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } - case "TotalNumberOfMissingValues": if value != nil { jtv, ok := value.(json.Number) @@ -8355,7 +8233,6 @@ func awsAwsjson10_deserializeDocumentMissingSensorData(v **types.MissingSensorDa } sv.TotalNumberOfMissingValues = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8395,12 +8272,10 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(v **typ } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(&sv.S3OutputConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8440,7 +8315,6 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(v **t } sv.Bucket = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -8449,7 +8323,6 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(v **t } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8527,7 +8400,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ActiveModelVersion = ptr.Int64(i64) } - case "ActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -8536,7 +8408,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ActiveModelVersionArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -8552,7 +8423,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -8561,7 +8431,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -8570,7 +8439,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.DatasetName = ptr.String(jtv) } - case "LatestScheduledRetrainingModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8583,7 +8451,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.LatestScheduledRetrainingModelVersion = ptr.Int64(i64) } - case "LatestScheduledRetrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -8599,7 +8466,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } - case "LatestScheduledRetrainingStatus": if value != nil { jtv, ok := value.(string) @@ -8608,7 +8474,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.LatestScheduledRetrainingStatus = types.ModelVersionStatus(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -8617,12 +8482,10 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelArn = ptr.String(jtv) } - case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -8631,7 +8494,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelName = ptr.String(jtv) } - case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -8640,7 +8502,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelQuality = types.ModelQuality(jtv) } - case "NextScheduledRetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -8656,7 +8517,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } - case "RetrainingSchedulerStatus": if value != nil { jtv, ok := value.(string) @@ -8665,7 +8525,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.RetrainingSchedulerStatus = types.RetrainingSchedulerStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8674,7 +8533,6 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.Status = types.ModelStatus(jtv) } - default: _, _ = key, value @@ -8755,7 +8613,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -8764,7 +8621,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -8773,7 +8629,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelName = ptr.String(jtv) } - case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -8782,7 +8637,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelQuality = types.ModelQuality(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8795,7 +8649,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelVersion = ptr.Int64(i64) } - case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -8804,7 +8657,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelVersionArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8813,7 +8665,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.SourceType = types.ModelVersionSourceType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8822,7 +8673,6 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.Status = types.ModelVersionStatus(jtv) } - default: _, _ = key, value @@ -8862,7 +8712,6 @@ func awsAwsjson10_deserializeDocumentMonotonicValues(v **types.MonotonicValues, } sv.Monotonicity = types.Monotonicity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8871,7 +8720,6 @@ func awsAwsjson10_deserializeDocumentMonotonicValues(v **types.MonotonicValues, } sv.Status = types.StatisticalIssueStatus(jtv) } - default: _, _ = key, value @@ -8911,7 +8759,6 @@ func awsAwsjson10_deserializeDocumentMultipleOperatingModes(v **types.MultipleOp } sv.Status = types.StatisticalIssueStatus(jtv) } - default: _, _ = key, value @@ -8941,15 +8788,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8957,15 +8798,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9034,7 +8871,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.LookbackWindow = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -9043,7 +8879,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -9052,7 +8887,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.ModelName = ptr.String(jtv) } - case "RetrainingFrequency": if value != nil { jtv, ok := value.(string) @@ -9061,7 +8895,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.RetrainingFrequency = ptr.String(jtv) } - case "RetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -9077,7 +8910,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9086,7 +8918,6 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.Status = types.RetrainingSchedulerStatus(jtv) } - default: _, _ = key, value @@ -9126,7 +8957,6 @@ func awsAwsjson10_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -9135,7 +8965,6 @@ func awsAwsjson10_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -9205,7 +9034,6 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta if err := awsAwsjson10_deserializeDocumentCategoricalValues(&sv.CategoricalValues, value); err != nil { return err } - case "ComponentName": if value != nil { jtv, ok := value.(string) @@ -9214,7 +9042,6 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.ComponentName = ptr.String(jtv) } - case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -9230,7 +9057,6 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } } - case "DataExists": if value != nil { jtv, ok := value.(bool) @@ -9239,7 +9065,6 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.DataExists = jtv } - case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -9255,42 +9080,34 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } } - case "DuplicateTimestamps": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.DuplicateTimestamps, value); err != nil { return err } - case "InvalidDateEntries": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.InvalidDateEntries, value); err != nil { return err } - case "InvalidValues": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.InvalidValues, value); err != nil { return err } - case "LargeTimestampGaps": if err := awsAwsjson10_deserializeDocumentLargeTimestampGaps(&sv.LargeTimestampGaps, value); err != nil { return err } - case "MissingValues": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.MissingValues, value); err != nil { return err } - case "MonotonicValues": if err := awsAwsjson10_deserializeDocumentMonotonicValues(&sv.MonotonicValues, value); err != nil { return err } - case "MultipleOperatingModes": if err := awsAwsjson10_deserializeDocumentMultipleOperatingModes(&sv.MultipleOperatingModes, value); err != nil { return err } - case "SensorName": if value != nil { jtv, ok := value.(string) @@ -9299,7 +9116,6 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.SensorName = ptr.String(jtv) } - default: _, _ = key, value @@ -9343,7 +9159,6 @@ func awsAwsjson10_deserializeDocumentSensorsWithShortDateRange(v **types.Sensors } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9373,15 +9188,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9389,15 +9198,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9432,7 +9237,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9441,7 +9245,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9505,15 +9308,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9521,15 +9318,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9568,7 +9361,6 @@ func awsAwsjson10_deserializeDocumentUnsupportedTimestamps(v **types.Unsupported } sv.TotalNumberOfUnsupportedTimestamps = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9598,15 +9390,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9614,15 +9400,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9657,7 +9439,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9666,7 +9447,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9675,7 +9455,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -9715,7 +9494,6 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -9724,7 +9502,6 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.InferenceSchedulerName = ptr.String(jtv) } - case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9510,6 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.ModelQuality = types.ModelQuality(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9742,7 +9518,6 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.Status = types.InferenceSchedulerStatus(jtv) } - default: _, _ = key, value @@ -9782,7 +9557,6 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelGroupOutput(v **CreateLabelGro } sv.LabelGroupArn = ptr.String(jtv) } - case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -9791,7 +9565,6 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelGroupOutput(v **CreateLabelGro } sv.LabelGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -9831,7 +9604,6 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelOutput(v **CreateLabelOutput, } sv.LabelId = ptr.String(jtv) } - default: _, _ = key, value @@ -9871,7 +9643,6 @@ func awsAwsjson10_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9880,7 +9651,6 @@ func awsAwsjson10_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Status = types.ModelStatus(jtv) } - default: _, _ = key, value @@ -9920,7 +9690,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -9929,7 +9698,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9938,7 +9706,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.Status = types.RetrainingSchedulerStatus(jtv) } - default: _, _ = key, value @@ -9985,7 +9752,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } - case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -10001,12 +9767,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } - case "DataQualitySummary": if err := awsAwsjson10_deserializeDocumentDataQualitySummary(&sv.DataQualitySummary, value); err != nil { return err } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -10015,7 +9779,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.DatasetArn = ptr.String(jtv) } - case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -10031,7 +9794,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } - case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -10040,7 +9802,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.FailedReason = ptr.String(jtv) } - case "IngestedDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -10053,17 +9814,14 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.IngestedDataSize = ptr.Int64(i64) } - case "IngestedFilesSummary": if err := awsAwsjson10_deserializeDocumentIngestedFilesSummary(&sv.IngestedFilesSummary, value); err != nil { return err } - case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -10072,7 +9830,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.JobId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10081,7 +9838,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } - case "SourceDatasetArn": if value != nil { jtv, ok := value.(string) @@ -10090,7 +9846,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.SourceDatasetArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10099,7 +9854,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.Status = types.IngestionJobStatus(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -10108,7 +9862,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.StatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -10155,7 +9908,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -10171,12 +9923,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "DataQualitySummary": if err := awsAwsjson10_deserializeDocumentDataQualitySummary(&sv.DataQualitySummary, value); err != nil { return err } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -10185,7 +9935,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10194,7 +9943,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetName = ptr.String(jtv) } - case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -10210,17 +9958,14 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "IngestedFilesSummary": if err := awsAwsjson10_deserializeDocumentIngestedFilesSummary(&sv.IngestedFilesSummary, value); err != nil { return err } - case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10236,7 +9981,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10245,7 +9989,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.RoleArn = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -10254,7 +9997,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Schema = ptr.String(jtv) } - case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10263,7 +10005,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.ServerSideKmsKeyId = ptr.String(jtv) } - case "SourceDatasetArn": if value != nil { jtv, ok := value.(string) @@ -10272,7 +10013,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.SourceDatasetArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10281,7 +10021,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -10328,7 +10067,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } } - case "DataDelayOffsetInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10341,17 +10079,14 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.DataDelayOffsetInMinutes = ptr.Int64(i64) } - case "DataInputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceInputConfiguration(&sv.DataInputConfiguration, value); err != nil { return err } - case "DataOutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(&sv.DataOutputConfiguration, value); err != nil { return err } - case "DataUploadFrequency": if value != nil { jtv, ok := value.(string) @@ -10360,7 +10095,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.DataUploadFrequency = types.DataUploadFrequency(jtv) } - case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -10369,7 +10103,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -10378,7 +10111,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.InferenceSchedulerName = ptr.String(jtv) } - case "LatestInferenceResult": if value != nil { jtv, ok := value.(string) @@ -10387,7 +10119,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.LatestInferenceResult = types.LatestInferenceResult(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -10396,7 +10127,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -10405,7 +10135,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ModelName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10414,7 +10143,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.RoleArn = ptr.String(jtv) } - case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10423,7 +10151,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ServerSideKmsKeyId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10432,7 +10159,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.Status = types.InferenceSchedulerStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10448,7 +10174,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } } - default: _, _ = key, value @@ -10495,12 +10220,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } } - case "FaultCodes": if err := awsAwsjson10_deserializeDocumentFaultCodes(&sv.FaultCodes, value); err != nil { return err } - case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -10509,7 +10232,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } sv.LabelGroupArn = ptr.String(jtv) } - case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -10518,7 +10240,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } sv.LabelGroupName = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10534,7 +10255,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } } - default: _, _ = key, value @@ -10581,7 +10301,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10597,7 +10316,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } - case "Equipment": if value != nil { jtv, ok := value.(string) @@ -10606,7 +10324,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Equipment = ptr.String(jtv) } - case "FaultCode": if value != nil { jtv, ok := value.(string) @@ -10615,7 +10332,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.FaultCode = ptr.String(jtv) } - case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -10624,7 +10340,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelGroupArn = ptr.String(jtv) } - case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -10633,7 +10348,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelGroupName = ptr.String(jtv) } - case "LabelId": if value != nil { jtv, ok := value.(string) @@ -10642,7 +10356,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelId = ptr.String(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -10651,7 +10364,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Notes = ptr.String(jtv) } - case "Rating": if value != nil { jtv, ok := value.(string) @@ -10660,7 +10372,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Rating = types.LabelRating(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10676,7 +10387,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } - default: _, _ = key, value @@ -10723,7 +10433,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "AccumulatedInferenceDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10739,7 +10448,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "ActiveModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -10752,7 +10460,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ActiveModelVersion = ptr.Int64(i64) } - case "ActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -10761,7 +10468,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ActiveModelVersionArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -10777,12 +10483,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "DataPreProcessingConfiguration": if err := awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(&sv.DataPreProcessingConfiguration, value); err != nil { return err } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -10791,7 +10495,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10800,7 +10503,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.DatasetName = ptr.String(jtv) } - case "EvaluationDataEndTime": if value != nil { switch jtv := value.(type) { @@ -10816,7 +10518,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "EvaluationDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10832,7 +10533,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -10841,7 +10541,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.FailedReason = ptr.String(jtv) } - case "ImportJobEndTime": if value != nil { switch jtv := value.(type) { @@ -10857,7 +10556,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "ImportJobStartTime": if value != nil { switch jtv := value.(type) { @@ -10873,12 +10571,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "LabelsInputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsInputConfiguration(&sv.LabelsInputConfiguration, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -10894,7 +10590,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "LatestScheduledRetrainingAvailableDataInDays": if value != nil { jtv, ok := value.(json.Number) @@ -10907,7 +10602,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingAvailableDataInDays = ptr.Int32(int32(i64)) } - case "LatestScheduledRetrainingFailedReason": if value != nil { jtv, ok := value.(string) @@ -10916,7 +10610,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingFailedReason = ptr.String(jtv) } - case "LatestScheduledRetrainingModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -10929,7 +10622,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingModelVersion = ptr.Int64(i64) } - case "LatestScheduledRetrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -10945,7 +10637,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "LatestScheduledRetrainingStatus": if value != nil { jtv, ok := value.(string) @@ -10954,7 +10645,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingStatus = types.ModelVersionStatus(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -10963,12 +10653,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelArn = ptr.String(jtv) } - case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } - case "ModelMetrics": if value != nil { jtv, ok := value.(string) @@ -10977,7 +10665,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelMetrics = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -10986,7 +10673,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelName = ptr.String(jtv) } - case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -10995,7 +10681,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelQuality = types.ModelQuality(jtv) } - case "ModelVersionActivatedAt": if value != nil { switch jtv := value.(type) { @@ -11011,7 +10696,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "NextScheduledRetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -11027,7 +10711,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "OffCondition": if value != nil { jtv, ok := value.(string) @@ -11036,7 +10719,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.OffCondition = ptr.String(jtv) } - case "PreviousActiveModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11049,7 +10731,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PreviousActiveModelVersion = ptr.Int64(i64) } - case "PreviousActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11058,7 +10739,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PreviousActiveModelVersionArn = ptr.String(jtv) } - case "PreviousModelVersionActivatedAt": if value != nil { switch jtv := value.(type) { @@ -11074,7 +10754,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "PriorModelMetrics": if value != nil { jtv, ok := value.(string) @@ -11083,7 +10762,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PriorModelMetrics = ptr.String(jtv) } - case "RetrainingSchedulerStatus": if value != nil { jtv, ok := value.(string) @@ -11092,7 +10770,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.RetrainingSchedulerStatus = types.RetrainingSchedulerStatus(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11101,7 +10778,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.RoleArn = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -11110,7 +10786,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.Schema = ptr.String(jtv) } - case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11119,7 +10794,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ServerSideKmsKeyId = ptr.String(jtv) } - case "SourceModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11128,7 +10802,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.SourceModelVersionArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11137,7 +10810,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.Status = types.ModelStatus(jtv) } - case "TrainingDataEndTime": if value != nil { switch jtv := value.(type) { @@ -11153,7 +10825,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "TrainingDataStartTime": if value != nil { switch jtv := value.(type) { @@ -11169,7 +10840,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "TrainingExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -11185,7 +10855,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "TrainingExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -11201,7 +10870,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - default: _, _ = key, value @@ -11241,7 +10909,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.AutoPromotionResult = types.AutoPromotionResult(jtv) } - case "AutoPromotionResultReason": if value != nil { jtv, ok := value.(string) @@ -11250,7 +10917,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.AutoPromotionResultReason = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -11266,12 +10932,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "DataPreProcessingConfiguration": if err := awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(&sv.DataPreProcessingConfiguration, value); err != nil { return err } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -11280,7 +10944,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -11289,7 +10952,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.DatasetName = ptr.String(jtv) } - case "EvaluationDataEndTime": if value != nil { switch jtv := value.(type) { @@ -11305,7 +10967,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "EvaluationDataStartTime": if value != nil { switch jtv := value.(type) { @@ -11321,7 +10982,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -11330,7 +10990,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.FailedReason = ptr.String(jtv) } - case "ImportedDataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11343,7 +11002,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ImportedDataSizeInBytes = ptr.Int64(i64) } - case "ImportJobEndTime": if value != nil { switch jtv := value.(type) { @@ -11359,7 +11017,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "ImportJobStartTime": if value != nil { switch jtv := value.(type) { @@ -11375,12 +11032,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "LabelsInputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsInputConfiguration(&sv.LabelsInputConfiguration, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11396,7 +11051,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -11405,17 +11059,14 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelArn = ptr.String(jtv) } - case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } - case "ModelDiagnosticsResultsObject": if err := awsAwsjson10_deserializeDocumentS3Object(&sv.ModelDiagnosticsResultsObject, value); err != nil { return err } - case "ModelMetrics": if value != nil { jtv, ok := value.(string) @@ -11424,7 +11075,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelMetrics = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11433,7 +11083,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelName = ptr.String(jtv) } - case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -11442,7 +11091,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelQuality = types.ModelQuality(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11455,7 +11103,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelVersion = ptr.Int64(i64) } - case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11464,7 +11111,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelVersionArn = ptr.String(jtv) } - case "OffCondition": if value != nil { jtv, ok := value.(string) @@ -11473,7 +11119,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.OffCondition = ptr.String(jtv) } - case "PriorModelMetrics": if value != nil { jtv, ok := value.(string) @@ -11482,7 +11127,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.PriorModelMetrics = ptr.String(jtv) } - case "RetrainingAvailableDataInDays": if value != nil { jtv, ok := value.(json.Number) @@ -11495,7 +11139,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.RetrainingAvailableDataInDays = ptr.Int32(int32(i64)) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11504,7 +11147,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.RoleArn = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -11513,7 +11155,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.Schema = ptr.String(jtv) } - case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11522,7 +11163,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ServerSideKmsKeyId = ptr.String(jtv) } - case "SourceModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11531,7 +11171,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.SourceModelVersionArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -11540,7 +11179,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.SourceType = types.ModelVersionSourceType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11549,7 +11187,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.Status = types.ModelVersionStatus(jtv) } - case "TrainingDataEndTime": if value != nil { switch jtv := value.(type) { @@ -11565,7 +11202,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "TrainingDataStartTime": if value != nil { switch jtv := value.(type) { @@ -11581,7 +11217,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "TrainingExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -11597,7 +11232,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - case "TrainingExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -11613,7 +11247,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } - default: _, _ = key, value @@ -11660,7 +11293,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11676,7 +11308,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } - case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -11685,7 +11316,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.PolicyRevisionId = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -11694,7 +11324,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -11741,7 +11370,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } - case "LookbackWindow": if value != nil { jtv, ok := value.(string) @@ -11750,7 +11378,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.LookbackWindow = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -11759,7 +11386,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11768,7 +11394,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.ModelName = ptr.String(jtv) } - case "PromoteMode": if value != nil { jtv, ok := value.(string) @@ -11777,7 +11402,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.PromoteMode = types.ModelPromoteMode(jtv) } - case "RetrainingFrequency": if value != nil { jtv, ok := value.(string) @@ -11786,7 +11410,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.RetrainingFrequency = ptr.String(jtv) } - case "RetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -11802,7 +11425,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11811,7 +11433,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.Status = types.RetrainingSchedulerStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11827,7 +11448,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } - default: _, _ = key, value @@ -11867,7 +11487,6 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -11876,7 +11495,6 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.DatasetName = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -11885,7 +11503,6 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.JobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11894,7 +11511,6 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -11934,7 +11550,6 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11943,7 +11558,6 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11956,7 +11570,6 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelVersion = ptr.Int64(i64) } - case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11965,7 +11578,6 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelVersionArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11974,7 +11586,6 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.Status = types.ModelVersionStatus(jtv) } - default: _, _ = key, value @@ -12010,7 +11621,6 @@ func awsAwsjson10_deserializeOpDocumentListDataIngestionJobsOutput(v **ListDataI if err := awsAwsjson10_deserializeDocumentDataIngestionJobSummaries(&sv.DataIngestionJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12019,7 +11629,6 @@ func awsAwsjson10_deserializeOpDocumentListDataIngestionJobsOutput(v **ListDataI } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12055,7 +11664,6 @@ func awsAwsjson10_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson10_deserializeDocumentDatasetSummaries(&sv.DatasetSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12064,7 +11672,6 @@ func awsAwsjson10_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12100,7 +11707,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceEventsOutput(v **ListInferen if err := awsAwsjson10_deserializeDocumentInferenceEventSummaries(&sv.InferenceEventSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12109,7 +11715,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceEventsOutput(v **ListInferen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12145,7 +11750,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceExecutionsOutput(v **ListInf if err := awsAwsjson10_deserializeDocumentInferenceExecutionSummaries(&sv.InferenceExecutionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12154,7 +11758,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceExecutionsOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12190,7 +11793,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceSchedulersOutput(v **ListInf if err := awsAwsjson10_deserializeDocumentInferenceSchedulerSummaries(&sv.InferenceSchedulerSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12199,7 +11801,6 @@ func awsAwsjson10_deserializeOpDocumentListInferenceSchedulersOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12235,7 +11836,6 @@ func awsAwsjson10_deserializeOpDocumentListLabelGroupsOutput(v **ListLabelGroups if err := awsAwsjson10_deserializeDocumentLabelGroupSummaries(&sv.LabelGroupSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12244,7 +11844,6 @@ func awsAwsjson10_deserializeOpDocumentListLabelGroupsOutput(v **ListLabelGroups } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12280,7 +11879,6 @@ func awsAwsjson10_deserializeOpDocumentListLabelsOutput(v **ListLabelsOutput, va if err := awsAwsjson10_deserializeDocumentLabelSummaries(&sv.LabelSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12289,7 +11887,6 @@ func awsAwsjson10_deserializeOpDocumentListLabelsOutput(v **ListLabelsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12325,7 +11922,6 @@ func awsAwsjson10_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsAwsjson10_deserializeDocumentModelSummaries(&sv.ModelSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12334,7 +11930,6 @@ func awsAwsjson10_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12370,7 +11965,6 @@ func awsAwsjson10_deserializeOpDocumentListModelVersionsOutput(v **ListModelVers if err := awsAwsjson10_deserializeDocumentModelVersionSummaries(&sv.ModelVersionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12379,7 +11973,6 @@ func awsAwsjson10_deserializeOpDocumentListModelVersionsOutput(v **ListModelVers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12419,12 +12012,10 @@ func awsAwsjson10_deserializeOpDocumentListRetrainingSchedulersOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } - case "RetrainingSchedulerSummaries": if err := awsAwsjson10_deserializeDocumentRetrainingSchedulerSummaries(&sv.RetrainingSchedulerSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -12464,12 +12055,10 @@ func awsAwsjson10_deserializeOpDocumentListSensorStatisticsOutput(v **ListSensor } sv.NextToken = ptr.String(jtv) } - case "SensorStatisticsSummaries": if err := awsAwsjson10_deserializeDocumentSensorStatisticsSummaries(&sv.SensorStatisticsSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -12505,7 +12094,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12545,7 +12133,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyRevisionId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12554,7 +12141,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12594,7 +12180,6 @@ func awsAwsjson10_deserializeOpDocumentStartDataIngestionJobOutput(v **StartData } sv.JobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12603,7 +12188,6 @@ func awsAwsjson10_deserializeOpDocumentStartDataIngestionJobOutput(v **StartData } sv.Status = types.IngestionJobStatus(jtv) } - default: _, _ = key, value @@ -12643,7 +12227,6 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -12652,7 +12235,6 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.InferenceSchedulerName = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12661,7 +12243,6 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12670,7 +12251,6 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12679,7 +12259,6 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.Status = types.InferenceSchedulerStatus(jtv) } - default: _, _ = key, value @@ -12719,7 +12298,6 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12728,7 +12306,6 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12737,7 +12314,6 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.Status = types.RetrainingSchedulerStatus(jtv) } - default: _, _ = key, value @@ -12777,7 +12353,6 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.InferenceSchedulerArn = ptr.String(jtv) } - case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -12786,7 +12361,6 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.InferenceSchedulerName = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12795,7 +12369,6 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12804,7 +12377,6 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12813,7 +12385,6 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.Status = types.InferenceSchedulerStatus(jtv) } - default: _, _ = key, value @@ -12853,7 +12424,6 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12862,7 +12432,6 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12871,7 +12440,6 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.Status = types.RetrainingSchedulerStatus(jtv) } - default: _, _ = key, value @@ -12977,7 +12545,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.CurrentActiveVersion = ptr.Int64(i64) } - case "CurrentActiveVersionArn": if value != nil { jtv, ok := value.(string) @@ -12986,7 +12553,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.CurrentActiveVersionArn = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12995,7 +12561,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -13004,7 +12569,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.ModelName = ptr.String(jtv) } - case "PreviousActiveVersion": if value != nil { jtv, ok := value.(json.Number) @@ -13017,7 +12581,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.PreviousActiveVersion = ptr.Int64(i64) } - case "PreviousActiveVersionArn": if value != nil { jtv, ok := value.(string) @@ -13026,7 +12589,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.PreviousActiveVersionArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/lookoutmetrics/deserializers.go b/service/lookoutmetrics/deserializers.go index dfe99f7c74e..6cea478b04e 100644 --- a/service/lookoutmetrics/deserializers.go +++ b/service/lookoutmetrics/deserializers.go @@ -397,7 +397,6 @@ func awsRestjson1_deserializeOpDocumentCreateAlertOutput(v **CreateAlertOutput, } sv.AlertArn = ptr.String(jtv) } - default: _, _ = key, value @@ -568,7 +567,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnomalyDetectorOutput(v **CreateAno } sv.AnomalyDetectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -742,7 +740,6 @@ func awsRestjson1_deserializeOpDocumentCreateMetricSetOutput(v **CreateMetricSet } sv.MetricSetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1212,7 +1209,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAlertOutput(v **DescribeAlertOutp if err := awsRestjson1_deserializeDocumentAlert(&sv.Alert, value); err != nil { return err } - default: _, _ = key, value @@ -1376,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectionExecutionsOutput( if err := awsRestjson1_deserializeDocumentExecutionList(&sv.ExecutionList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1385,7 +1380,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectionExecutionsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1553,12 +1547,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "AnomalyDetectorConfig": if err := awsRestjson1_deserializeDocumentAnomalyDetectorConfigSummary(&sv.AnomalyDetectorConfig, value); err != nil { return err } - case "AnomalyDetectorDescription": if value != nil { jtv, ok := value.(string) @@ -1567,7 +1559,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorDescription = ptr.String(jtv) } - case "AnomalyDetectorName": if value != nil { jtv, ok := value.(string) @@ -1576,7 +1567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1592,7 +1582,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -1601,7 +1590,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.FailureReason = ptr.String(jtv) } - case "FailureType": if value != nil { jtv, ok := value.(string) @@ -1610,7 +1598,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.FailureType = types.AnomalyDetectorFailureType(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1619,7 +1606,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.KmsKeyArn = ptr.String(jtv) } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -1635,7 +1621,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1644,7 +1629,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.Status = types.AnomalyDetectorStatus(jtv) } - default: _, _ = key, value @@ -1812,7 +1796,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1828,17 +1811,14 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } } - case "DimensionFilterList": if err := awsRestjson1_deserializeDocumentMetricSetDimensionFilterList(&sv.DimensionFilterList, value); err != nil { return err } - case "DimensionList": if err := awsRestjson1_deserializeDocumentDimensionList(&sv.DimensionList, value); err != nil { return err } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -1854,12 +1834,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } } - case "MetricList": if err := awsRestjson1_deserializeDocumentMetricList(&sv.MetricList, value); err != nil { return err } - case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -1868,7 +1846,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetArn = ptr.String(jtv) } - case "MetricSetDescription": if value != nil { jtv, ok := value.(string) @@ -1877,7 +1854,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetDescription = ptr.String(jtv) } - case "MetricSetFrequency": if value != nil { jtv, ok := value.(string) @@ -1886,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetFrequency = types.Frequency(jtv) } - case "MetricSetName": if value != nil { jtv, ok := value.(string) @@ -1895,12 +1870,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetName = ptr.String(jtv) } - case "MetricSource": if err := awsRestjson1_deserializeDocumentMetricSource(&sv.MetricSource, value); err != nil { return err } - case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -1913,12 +1886,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.Offset = ptr.Int32(int32(i64)) } - case "TimestampColumn": if err := awsRestjson1_deserializeDocumentTimestampColumn(&sv.TimestampColumn, value); err != nil { return err } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -1927,7 +1898,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -2091,7 +2061,6 @@ func awsRestjson1_deserializeOpDocumentDetectMetricSetConfigOutput(v **DetectMet if err := awsRestjson1_deserializeDocumentDetectedMetricSetConfig(&sv.DetectedMetricSetConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2255,7 +2224,6 @@ func awsRestjson1_deserializeOpDocumentGetAnomalyGroupOutput(v **GetAnomalyGroup if err := awsRestjson1_deserializeDocumentAnomalyGroup(&sv.AnomalyGroup, value); err != nil { return err } - default: _, _ = key, value @@ -2419,7 +2387,6 @@ func awsRestjson1_deserializeOpDocumentGetDataQualityMetricsOutput(v **GetDataQu if err := awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetricList(&sv.AnomalyDetectorDataQualityMetricList, value); err != nil { return err } - default: _, _ = key, value @@ -2583,7 +2550,6 @@ func awsRestjson1_deserializeOpDocumentGetFeedbackOutput(v **GetFeedbackOutput, if err := awsRestjson1_deserializeDocumentTimeSeriesFeedbackList(&sv.AnomalyGroupTimeSeriesFeedback, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2592,7 +2558,6 @@ func awsRestjson1_deserializeOpDocumentGetFeedbackOutput(v **GetFeedbackOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2756,12 +2721,10 @@ func awsRestjson1_deserializeOpDocumentGetSampleDataOutput(v **GetSampleDataOutp if err := awsRestjson1_deserializeDocumentHeaderValueList(&sv.HeaderValues, value); err != nil { return err } - case "SampleRows": if err := awsRestjson1_deserializeDocumentSampleRows(&sv.SampleRows, value); err != nil { return err } - default: _, _ = key, value @@ -2925,7 +2888,6 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va if err := awsRestjson1_deserializeDocumentAlertSummaryList(&sv.AlertSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2934,7 +2896,6 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3098,7 +3059,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyDetectorsOutput(v **ListAnomal if err := awsRestjson1_deserializeDocumentAnomalyDetectorSummaryList(&sv.AnomalyDetectorSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3107,7 +3067,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyDetectorsOutput(v **ListAnomal } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3271,7 +3230,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupRelatedMetricsOutput(v ** if err := awsRestjson1_deserializeDocumentInterMetricImpactList(&sv.InterMetricImpactList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3280,7 +3238,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupRelatedMetricsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3444,12 +3401,10 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupSummariesOutput(v **ListA if err := awsRestjson1_deserializeDocumentAnomalyGroupStatistics(&sv.AnomalyGroupStatistics, value); err != nil { return err } - case "AnomalyGroupSummaryList": if err := awsRestjson1_deserializeDocumentAnomalyGroupSummaryList(&sv.AnomalyGroupSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3458,7 +3413,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupSummariesOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3626,7 +3580,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.AnomalyGroupId = ptr.String(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3588,6 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.MetricName = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3644,17 +3596,14 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "TimeSeriesList": if err := awsRestjson1_deserializeDocumentTimeSeriesList(&sv.TimeSeriesList, value); err != nil { return err } - case "TimestampList": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.TimestampList, value); err != nil { return err } - default: _, _ = key, value @@ -3818,7 +3767,6 @@ func awsRestjson1_deserializeOpDocumentListMetricSetsOutput(v **ListMetricSetsOu if err := awsRestjson1_deserializeDocumentMetricSetSummaryList(&sv.MetricSetSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3827,7 +3775,6 @@ func awsRestjson1_deserializeOpDocumentListMetricSetsOutput(v **ListMetricSetsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3985,7 +3932,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4441,7 +4387,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAlertOutput(v **UpdateAlertOutput, } sv.AlertArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4609,7 +4554,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnomalyDetectorOutput(v **UpdateAno } sv.AnomalyDetectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4780,7 +4724,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMetricSetOutput(v **UpdateMetricSet } sv.MetricSetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5062,15 +5005,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5078,15 +5015,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5117,12 +5050,10 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentLambdaConfiguration(&sv.LambdaConfiguration, value); err != nil { return err } - case "SNSConfiguration": if err := awsRestjson1_deserializeDocumentSNSConfiguration(&sv.SNSConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5158,7 +5089,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "AlertArn": if value != nil { jtv, ok := value.(string) @@ -5167,7 +5097,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertArn = ptr.String(jtv) } - case "AlertDescription": if value != nil { jtv, ok := value.(string) @@ -5176,12 +5105,10 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertDescription = ptr.String(jtv) } - case "AlertFilters": if err := awsRestjson1_deserializeDocumentAlertFilters(&sv.AlertFilters, value); err != nil { return err } - case "AlertName": if value != nil { jtv, ok := value.(string) @@ -5190,7 +5117,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertName = ptr.String(jtv) } - case "AlertSensitivityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5203,7 +5129,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertSensitivityThreshold = int32(i64) } - case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -5212,7 +5137,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertStatus = types.AlertStatus(jtv) } - case "AlertType": if value != nil { jtv, ok := value.(string) @@ -5221,7 +5145,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertType = types.AlertType(jtv) } - case "AnomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -5230,7 +5153,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5246,7 +5168,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5262,7 +5183,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } - default: _, _ = key, value @@ -5298,12 +5218,10 @@ func awsRestjson1_deserializeDocumentAlertFilters(v **types.AlertFilters, value if err := awsRestjson1_deserializeDocumentDimensionFilterList(&sv.DimensionFilterList, value); err != nil { return err } - case "MetricList": if err := awsRestjson1_deserializeDocumentMetricNameList(&sv.MetricList, value); err != nil { return err } - default: _, _ = key, value @@ -5343,7 +5261,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertArn = ptr.String(jtv) } - case "AlertName": if value != nil { jtv, ok := value.(string) @@ -5352,7 +5269,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertName = ptr.String(jtv) } - case "AlertSensitivityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5365,7 +5281,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertSensitivityThreshold = int32(i64) } - case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -5374,7 +5289,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertStatus = types.AlertStatus(jtv) } - case "AlertType": if value != nil { jtv, ok := value.(string) @@ -5383,7 +5297,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertType = types.AlertType(jtv) } - case "AnomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -5392,7 +5305,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5408,7 +5320,6 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5424,12 +5335,10 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5503,7 +5412,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorConfigSummary(v **types.Anom } sv.AnomalyDetectorFrequency = types.Frequency(jtv) } - default: _, _ = key, value @@ -5539,7 +5447,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetric(v **types. if err := awsRestjson1_deserializeDocumentMetricSetDataQualityMetricList(&sv.MetricSetDataQualityMetricList, value); err != nil { return err } - case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -5555,7 +5462,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetric(v **types. } } - default: _, _ = key, value @@ -5629,7 +5535,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "AnomalyDetectorDescription": if value != nil { jtv, ok := value.(string) @@ -5638,7 +5543,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorDescription = ptr.String(jtv) } - case "AnomalyDetectorName": if value != nil { jtv, ok := value.(string) @@ -5647,7 +5551,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5663,7 +5566,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5679,7 +5581,6 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5688,12 +5589,10 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.Status = types.AnomalyDetectorStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5767,7 +5666,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.AnomalyGroupId = ptr.String(jtv) } - case "AnomalyGroupScore": if value != nil { switch jtv := value.(type) { @@ -5801,7 +5699,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -5810,12 +5707,10 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.EndTime = ptr.String(jtv) } - case "MetricLevelImpactList": if err := awsRestjson1_deserializeDocumentMetricLevelImpactList(&sv.MetricLevelImpactList, value); err != nil { return err } - case "PrimaryMetricName": if value != nil { jtv, ok := value.(string) @@ -5824,7 +5719,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.PrimaryMetricName = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5833,7 +5727,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -5873,12 +5766,10 @@ func awsRestjson1_deserializeDocumentAnomalyGroupStatistics(v **types.AnomalyGro } sv.EvaluationStartDate = ptr.String(jtv) } - case "ItemizedMetricStatsList": if err := awsRestjson1_deserializeDocumentItemizedMetricStatsList(&sv.ItemizedMetricStatsList, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -5891,7 +5782,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupStatistics(v **types.AnomalyGro } sv.TotalCount = int32(i64) } - default: _, _ = key, value @@ -5931,7 +5821,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.AnomalyGroupId = ptr.String(jtv) } - case "AnomalyGroupScore": if value != nil { switch jtv := value.(type) { @@ -5965,7 +5854,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -5974,7 +5862,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.EndTime = ptr.String(jtv) } - case "PrimaryMetricName": if value != nil { jtv, ok := value.(string) @@ -5983,7 +5870,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.PrimaryMetricName = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5992,7 +5878,6 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -6066,7 +5951,6 @@ func awsRestjson1_deserializeDocumentAppFlowConfig(v **types.AppFlowConfig, valu } sv.FlowName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6075,7 +5959,6 @@ func awsRestjson1_deserializeDocumentAppFlowConfig(v **types.AppFlowConfig, valu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6111,7 +5994,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { return err } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -6120,7 +6002,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.DatabaseName = ptr.String(jtv) } - case "DataCatalog": if value != nil { jtv, ok := value.(string) @@ -6129,7 +6010,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.DataCatalog = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6138,7 +6018,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.RoleArn = ptr.String(jtv) } - case "S3ResultsPath": if value != nil { jtv, ok := value.(string) @@ -6147,7 +6026,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.S3ResultsPath = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -6156,7 +6034,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.TableName = ptr.String(jtv) } - case "WorkGroupName": if value != nil { jtv, ok := value.(string) @@ -6165,7 +6042,6 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.WorkGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -6205,12 +6081,10 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.B = ptr.String(jtv) } - case "BS": if err := awsRestjson1_deserializeDocumentBinaryListAttributeValue(&sv.BS, value); err != nil { return err } - case "N": if value != nil { jtv, ok := value.(string) @@ -6219,12 +6093,10 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.N = ptr.String(jtv) } - case "NS": if err := awsRestjson1_deserializeDocumentNumberListAttributeValue(&sv.NS, value); err != nil { return err } - case "S": if value != nil { jtv, ok := value.(string) @@ -6233,12 +6105,10 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.S = ptr.String(jtv) } - case "SS": if err := awsRestjson1_deserializeDocumentStringListAttributeValue(&sv.SS, value); err != nil { return err } - default: _, _ = key, value @@ -6278,7 +6148,6 @@ func awsRestjson1_deserializeDocumentBackTestConfiguration(v **types.BackTestCon } sv.RunBackTestMode = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6350,7 +6219,6 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6359,7 +6227,6 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6389,15 +6256,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6405,7 +6266,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6414,7 +6274,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6423,15 +6282,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6462,7 +6317,6 @@ func awsRestjson1_deserializeDocumentContributionMatrix(v **types.ContributionMa if err := awsRestjson1_deserializeDocumentDimensionContributionList(&sv.DimensionContributionList, value); err != nil { return err } - default: _, _ = key, value @@ -6502,7 +6356,6 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.Charset = ptr.String(jtv) } - case "ContainsHeader": if value != nil { jtv, ok := value.(bool) @@ -6511,7 +6364,6 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.ContainsHeader = ptr.Bool(jtv) } - case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6372,6 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.Delimiter = ptr.String(jtv) } - case "FileCompression": if value != nil { jtv, ok := value.(string) @@ -6529,12 +6380,10 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.FileCompression = types.CSVFileCompression(jtv) } - case "HeaderList": if err := awsRestjson1_deserializeDocumentHeaderList(&sv.HeaderList, value); err != nil { return err } - case "QuoteSymbol": if value != nil { jtv, ok := value.(string) @@ -6543,7 +6392,6 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.QuoteSymbol = ptr.String(jtv) } - default: _, _ = key, value @@ -6583,7 +6431,6 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.MetricDescription = ptr.String(jtv) } - case "MetricType": if value != nil { jtv, ok := value.(string) @@ -6592,7 +6439,6 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.MetricType = types.DataQualityMetricType(jtv) } - case "MetricValue": if value != nil { switch jtv := value.(type) { @@ -6626,7 +6472,6 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } } - case "RelatedColumnName": if value != nil { jtv, ok := value.(string) @@ -6635,7 +6480,6 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.RelatedColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -6705,32 +6549,26 @@ func awsRestjson1_deserializeDocumentDetectedCsvFormatDescriptor(v **types.Detec if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Charset, value); err != nil { return err } - case "ContainsHeader": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.ContainsHeader, value); err != nil { return err } - case "Delimiter": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Delimiter, value); err != nil { return err } - case "FileCompression": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.FileCompression, value); err != nil { return err } - case "HeaderList": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.HeaderList, value); err != nil { return err } - case "QuoteSymbol": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.QuoteSymbol, value); err != nil { return err } - default: _, _ = key, value @@ -6770,7 +6608,6 @@ func awsRestjson1_deserializeDocumentDetectedField(v **types.DetectedField, valu } sv.Confidence = types.Confidence(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6779,12 +6616,10 @@ func awsRestjson1_deserializeDocumentDetectedField(v **types.DetectedField, valu } sv.Message = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -6820,12 +6655,10 @@ func awsRestjson1_deserializeDocumentDetectedFileFormatDescriptor(v **types.Dete if err := awsRestjson1_deserializeDocumentDetectedCsvFormatDescriptor(&sv.CsvFormatDescriptor, value); err != nil { return err } - case "JsonFormatDescriptor": if err := awsRestjson1_deserializeDocumentDetectedJsonFormatDescriptor(&sv.JsonFormatDescriptor, value); err != nil { return err } - default: _, _ = key, value @@ -6861,12 +6694,10 @@ func awsRestjson1_deserializeDocumentDetectedJsonFormatDescriptor(v **types.Dete if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Charset, value); err != nil { return err } - case "FileCompression": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.FileCompression, value); err != nil { return err } - default: _, _ = key, value @@ -6902,17 +6733,14 @@ func awsRestjson1_deserializeDocumentDetectedMetricSetConfig(v **types.DetectedM if err := awsRestjson1_deserializeDocumentDetectedField(&sv.MetricSetFrequency, value); err != nil { return err } - case "MetricSource": if err := awsRestjson1_deserializeDocumentDetectedMetricSource(&sv.MetricSource, value); err != nil { return err } - case "Offset": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Offset, value); err != nil { return err } - default: _, _ = key, value @@ -6948,7 +6776,6 @@ func awsRestjson1_deserializeDocumentDetectedMetricSource(v **types.DetectedMetr if err := awsRestjson1_deserializeDocumentDetectedS3SourceConfig(&sv.S3SourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6984,7 +6811,6 @@ func awsRestjson1_deserializeDocumentDetectedS3SourceConfig(v **types.DetectedS3 if err := awsRestjson1_deserializeDocumentDetectedFileFormatDescriptor(&sv.FileFormatDescriptor, value); err != nil { return err } - default: _, _ = key, value @@ -7024,12 +6850,10 @@ func awsRestjson1_deserializeDocumentDimensionContribution(v **types.DimensionCo } sv.DimensionName = ptr.String(jtv) } - case "DimensionValueContributionList": if err := awsRestjson1_deserializeDocumentDimensionValueContributionList(&sv.DimensionValueContributionList, value); err != nil { return err } - default: _, _ = key, value @@ -7103,12 +6927,10 @@ func awsRestjson1_deserializeDocumentDimensionFilter(v **types.DimensionFilter, } sv.DimensionName = ptr.String(jtv) } - case "DimensionValueList": if err := awsRestjson1_deserializeDocumentDimensionValueList(&sv.DimensionValueList, value); err != nil { return err } - default: _, _ = key, value @@ -7218,7 +7040,6 @@ func awsRestjson1_deserializeDocumentDimensionNameValue(v **types.DimensionNameV } sv.DimensionName = ptr.String(jtv) } - case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -7227,7 +7048,6 @@ func awsRestjson1_deserializeDocumentDimensionNameValue(v **types.DimensionNameV } sv.DimensionValue = ptr.String(jtv) } - default: _, _ = key, value @@ -7326,7 +7146,6 @@ func awsRestjson1_deserializeDocumentDimensionValueContribution(v **types.Dimens } } - case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -7335,7 +7154,6 @@ func awsRestjson1_deserializeDocumentDimensionValueContribution(v **types.Dimens } sv.DimensionValue = ptr.String(jtv) } - default: _, _ = key, value @@ -7479,7 +7297,6 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.FailureReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7488,7 +7305,6 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.Status = types.AnomalyDetectionTaskStatus(jtv) } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -7497,7 +7313,6 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -7533,12 +7348,10 @@ func awsRestjson1_deserializeDocumentFileFormatDescriptor(v **types.FileFormatDe if err := awsRestjson1_deserializeDocumentCsvFormatDescriptor(&sv.CsvFormatDescriptor, value); err != nil { return err } - case "JsonFormatDescriptor": if err := awsRestjson1_deserializeDocumentJsonFormatDescriptor(&sv.JsonFormatDescriptor, value); err != nil { return err } - default: _, _ = key, value @@ -7578,7 +7391,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.DimensionValue = ptr.String(jtv) } - case "FilterOperation": if value != nil { jtv, ok := value.(string) @@ -7587,7 +7399,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterOperation = types.FilterOperation(jtv) } - default: _, _ = key, value @@ -7769,7 +7580,6 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.AnomalyGroupId = ptr.String(jtv) } - case "ContributionPercentage": if value != nil { switch jtv := value.(type) { @@ -7803,7 +7613,6 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -7812,7 +7621,6 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.MetricName = ptr.String(jtv) } - case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7629,6 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.RelationshipType = types.RelationshipType(jtv) } - default: _, _ = key, value @@ -7885,15 +7692,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7901,15 +7702,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7944,7 +7741,6 @@ func awsRestjson1_deserializeDocumentItemizedMetricStats(v **types.ItemizedMetri } sv.MetricName = ptr.String(jtv) } - case "OccurrenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -7957,7 +7753,6 @@ func awsRestjson1_deserializeDocumentItemizedMetricStats(v **types.ItemizedMetri } sv.OccurrenceCount = int32(i64) } - default: _, _ = key, value @@ -8031,7 +7826,6 @@ func awsRestjson1_deserializeDocumentJsonFormatDescriptor(v **types.JsonFormatDe } sv.Charset = ptr.String(jtv) } - case "FileCompression": if value != nil { jtv, ok := value.(string) @@ -8040,7 +7834,6 @@ func awsRestjson1_deserializeDocumentJsonFormatDescriptor(v **types.JsonFormatDe } sv.FileCompression = types.JsonFileCompression(jtv) } - default: _, _ = key, value @@ -8080,7 +7873,6 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.LambdaArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8089,7 +7881,6 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8129,7 +7920,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.AggregationFunction = types.AggregationFunction(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -8138,7 +7928,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -8147,7 +7936,6 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -8183,7 +7971,6 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa if err := awsRestjson1_deserializeDocumentContributionMatrix(&sv.ContributionMatrix, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -8192,7 +7979,6 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa } sv.MetricName = ptr.String(jtv) } - case "NumTimeSeries": if value != nil { jtv, ok := value.(json.Number) @@ -8205,7 +7991,6 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa } sv.NumTimeSeries = int32(i64) } - default: _, _ = key, value @@ -8345,7 +8130,6 @@ func awsRestjson1_deserializeDocumentMetricSetDataQualityMetric(v **types.Metric if err := awsRestjson1_deserializeDocumentDataQualityMetricList(&sv.DataQualityMetricList, value); err != nil { return err } - case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -8354,7 +8138,6 @@ func awsRestjson1_deserializeDocumentMetricSetDataQualityMetric(v **types.Metric } sv.MetricSetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8424,7 +8207,6 @@ func awsRestjson1_deserializeDocumentMetricSetDimensionFilter(v **types.MetricSe if err := awsRestjson1_deserializeDocumentFilterList(&sv.FilterList, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8433,7 +8215,6 @@ func awsRestjson1_deserializeDocumentMetricSetDimensionFilter(v **types.MetricSe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8507,7 +8288,6 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.AnomalyDetectorArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8523,7 +8303,6 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } } - case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8539,7 +8318,6 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } } - case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -8548,7 +8326,6 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetArn = ptr.String(jtv) } - case "MetricSetDescription": if value != nil { jtv, ok := value.(string) @@ -8557,7 +8334,6 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetDescription = ptr.String(jtv) } - case "MetricSetName": if value != nil { jtv, ok := value.(string) @@ -8566,12 +8342,10 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8641,32 +8415,26 @@ func awsRestjson1_deserializeDocumentMetricSource(v **types.MetricSource, value if err := awsRestjson1_deserializeDocumentAppFlowConfig(&sv.AppFlowConfig, value); err != nil { return err } - case "AthenaSourceConfig": if err := awsRestjson1_deserializeDocumentAthenaSourceConfig(&sv.AthenaSourceConfig, value); err != nil { return err } - case "CloudWatchConfig": if err := awsRestjson1_deserializeDocumentCloudWatchConfig(&sv.CloudWatchConfig, value); err != nil { return err } - case "RDSSourceConfig": if err := awsRestjson1_deserializeDocumentRDSSourceConfig(&sv.RDSSourceConfig, value); err != nil { return err } - case "RedshiftSourceConfig": if err := awsRestjson1_deserializeDocumentRedshiftSourceConfig(&sv.RedshiftSourceConfig, value); err != nil { return err } - case "S3SourceConfig": if err := awsRestjson1_deserializeDocumentS3SourceConfig(&sv.S3SourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8803,7 +8571,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabaseHost = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8812,7 +8579,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabaseName = ptr.String(jtv) } - case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -8825,7 +8591,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabasePort = ptr.Int32(int32(i64)) } - case "DBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -8834,7 +8599,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DBInstanceIdentifier = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8843,7 +8607,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.RoleArn = ptr.String(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -8852,7 +8615,6 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.SecretManagerArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -8861,12 +8623,10 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.TableName = ptr.String(jtv) } - case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8906,7 +8666,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.ClusterIdentifier = ptr.String(jtv) } - case "DatabaseHost": if value != nil { jtv, ok := value.(string) @@ -8915,7 +8674,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabaseHost = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8924,7 +8682,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabaseName = ptr.String(jtv) } - case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -8937,7 +8694,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabasePort = ptr.Int32(int32(i64)) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8946,7 +8702,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.RoleArn = ptr.String(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -8955,7 +8710,6 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.SecretManagerArn = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -8964,12 +8718,10 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.TableName = ptr.String(jtv) } - case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8999,15 +8751,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9015,7 +8761,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9024,7 +8769,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9033,15 +8777,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9072,12 +8812,10 @@ func awsRestjson1_deserializeDocumentS3SourceConfig(v **types.S3SourceConfig, va if err := awsRestjson1_deserializeDocumentFileFormatDescriptor(&sv.FileFormatDescriptor, value); err != nil { return err } - case "HistoricalDataPathList": if err := awsRestjson1_deserializeDocumentHistoricalDataPathList(&sv.HistoricalDataPathList, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9086,12 +8824,10 @@ func awsRestjson1_deserializeDocumentS3SourceConfig(v **types.S3SourceConfig, va } sv.RoleArn = ptr.String(jtv) } - case "TemplatedPathList": if err := awsRestjson1_deserializeDocumentTemplatedPathList(&sv.TemplatedPathList, value); err != nil { return err } - default: _, _ = key, value @@ -9225,15 +8961,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9241,7 +8971,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -9250,7 +8979,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9259,7 +8987,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9268,7 +8995,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -9277,15 +9003,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9320,7 +9042,6 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.RoleArn = ptr.String(jtv) } - case "SnsFormat": if value != nil { jtv, ok := value.(string) @@ -9329,7 +9050,6 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.SnsFormat = types.SnsFormat(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -9338,7 +9058,6 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9518,12 +9237,10 @@ func awsRestjson1_deserializeDocumentTimeSeries(v **types.TimeSeries, value inte if err := awsRestjson1_deserializeDocumentDimensionNameValueList(&sv.DimensionList, value); err != nil { return err } - case "MetricValueList": if err := awsRestjson1_deserializeDocumentMetricValueList(&sv.MetricValueList, value); err != nil { return err } - case "TimeSeriesId": if value != nil { jtv, ok := value.(string) @@ -9532,7 +9249,6 @@ func awsRestjson1_deserializeDocumentTimeSeries(v **types.TimeSeries, value inte } sv.TimeSeriesId = ptr.String(jtv) } - default: _, _ = key, value @@ -9572,7 +9288,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesFeedback(v **types.TimeSeriesFeed } sv.IsAnomaly = ptr.Bool(jtv) } - case "TimeSeriesId": if value != nil { jtv, ok := value.(string) @@ -9581,7 +9296,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesFeedback(v **types.TimeSeriesFeed } sv.TimeSeriesId = ptr.String(jtv) } - default: _, _ = key, value @@ -9689,7 +9403,6 @@ func awsRestjson1_deserializeDocumentTimestampColumn(v **types.TimestampColumn, } sv.ColumnFormat = ptr.String(jtv) } - case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -9698,7 +9411,6 @@ func awsRestjson1_deserializeDocumentTimestampColumn(v **types.TimestampColumn, } sv.ColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -9764,15 +9476,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9780,15 +9486,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9813,20 +9515,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9834,7 +9529,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -9843,15 +9537,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9886,7 +9576,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9895,7 +9584,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9965,12 +9653,10 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIdList, value); err != nil { return err } - case "SubnetIdList": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIdList, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/lookoutvision/deserializers.go b/service/lookoutvision/deserializers.go index d66d2319604..1c5bce83e41 100644 --- a/service/lookoutvision/deserializers.go +++ b/service/lookoutvision/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp if err := awsRestjson1_deserializeDocumentDatasetMetadata(&sv.DatasetMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -362,7 +361,6 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, if err := awsRestjson1_deserializeDocumentModelMetadata(&sv.ModelMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -532,7 +530,6 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsRestjson1_deserializeDocumentProjectMetadata(&sv.ProjectMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -806,7 +803,6 @@ func awsRestjson1_deserializeOpDocumentDeleteModelOutput(v **DeleteModelOutput, } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -977,7 +973,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.ProjectArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1144,7 +1139,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDatasetDescription(&sv.DatasetDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1311,7 +1305,6 @@ func awsRestjson1_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp if err := awsRestjson1_deserializeDocumentModelDescription(&sv.ModelDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1475,7 +1468,6 @@ func awsRestjson1_deserializeOpDocumentDescribeModelPackagingJobOutput(v **Descr if err := awsRestjson1_deserializeDocumentModelPackagingDescription(&sv.ModelPackagingDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1642,7 +1634,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsRestjson1_deserializeDocumentProjectDescription(&sv.ProjectDescription, value); err != nil { return err } - default: _, _ = key, value @@ -1809,7 +1800,6 @@ func awsRestjson1_deserializeOpDocumentDetectAnomaliesOutput(v **DetectAnomalies if err := awsRestjson1_deserializeDocumentDetectAnomalyResult(&sv.DetectAnomalyResult, value); err != nil { return err } - default: _, _ = key, value @@ -1976,7 +1966,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE if err := awsRestjson1_deserializeDocumentDatasetEntryList(&sv.DatasetEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1985,7 +1974,6 @@ func awsRestjson1_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2149,7 +2137,6 @@ func awsRestjson1_deserializeOpDocumentListModelPackagingJobsOutput(v **ListMode if err := awsRestjson1_deserializeDocumentModelPackagingJobsList(&sv.ModelPackagingJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2158,7 +2145,6 @@ func awsRestjson1_deserializeOpDocumentListModelPackagingJobsOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2325,7 +2311,6 @@ func awsRestjson1_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsRestjson1_deserializeDocumentModelMetadataList(&sv.Models, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2334,7 +2319,6 @@ func awsRestjson1_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2505,12 +2489,10 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "Projects": if err := awsRestjson1_deserializeDocumentProjectMetadataList(&sv.Projects, value); err != nil { return err } - default: _, _ = key, value @@ -2677,7 +2659,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2851,7 +2832,6 @@ func awsRestjson1_deserializeOpDocumentStartModelOutput(v **StartModelOutput, va } sv.Status = types.ModelHostingStatus(jtv) } - default: _, _ = key, value @@ -3025,7 +3005,6 @@ func awsRestjson1_deserializeOpDocumentStartModelPackagingJobOutput(v **StartMod } sv.JobName = ptr.String(jtv) } - default: _, _ = key, value @@ -3196,7 +3175,6 @@ func awsRestjson1_deserializeOpDocumentStopModelOutput(v **StopModelOutput, valu } sv.Status = types.ModelHostingStatus(jtv) } - default: _, _ = key, value @@ -3576,7 +3554,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetEntriesOutput(v **UpdateData } sv.Status = types.DatasetStatus(jtv) } - default: _, _ = key, value @@ -3898,15 +3875,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3914,15 +3885,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3957,12 +3924,10 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Name = ptr.String(jtv) } - case "PixelAnomaly": if err := awsRestjson1_deserializeDocumentPixelAnomaly(&sv.PixelAnomaly, value); err != nil { return err } - default: _, _ = key, value @@ -4026,15 +3991,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4042,7 +4001,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4051,7 +4009,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4060,15 +4017,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4110,7 +4063,6 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -4119,12 +4071,10 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.DatasetType = ptr.String(jtv) } - case "ImageStats": if err := awsRestjson1_deserializeDocumentDatasetImageStats(&sv.ImageStats, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4140,7 +4090,6 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -4149,7 +4098,6 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.ProjectName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4158,7 +4106,6 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.Status = types.DatasetStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4167,7 +4114,6 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4247,7 +4193,6 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Anomaly = ptr.Int32(int32(i64)) } - case "Labeled": if value != nil { jtv, ok := value.(json.Number) @@ -4260,7 +4205,6 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Labeled = ptr.Int32(int32(i64)) } - case "Normal": if value != nil { jtv, ok := value.(json.Number) @@ -4273,7 +4217,6 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Normal = ptr.Int32(int32(i64)) } - case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -4286,7 +4229,6 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4333,7 +4275,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -4342,7 +4283,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4351,7 +4291,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.Status = types.DatasetStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4360,7 +4299,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4430,7 +4368,6 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly if err := awsRestjson1_deserializeDocumentAnomalyList(&sv.Anomalies, value); err != nil { return err } - case "AnomalyMask": if value != nil { jtv, ok := value.(string) @@ -4443,7 +4380,6 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } sv.AnomalyMask = dv } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -4477,7 +4413,6 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } } - case "IsAnomalous": if value != nil { jtv, ok := value.(bool) @@ -4486,12 +4421,10 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } sv.IsAnomalous = ptr.Bool(jtv) } - case "Source": if err := awsRestjson1_deserializeDocumentImageSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -4531,7 +4464,6 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.CompilerOptions = ptr.String(jtv) } - case "ComponentDescription": if value != nil { jtv, ok := value.(string) @@ -4540,7 +4472,6 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentDescription = ptr.String(jtv) } - case "ComponentName": if value != nil { jtv, ok := value.(string) @@ -4549,7 +4480,6 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentName = ptr.String(jtv) } - case "ComponentVersion": if value != nil { jtv, ok := value.(string) @@ -4558,17 +4488,14 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentVersion = ptr.String(jtv) } - case "S3OutputLocation": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3OutputLocation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TargetDevice": if value != nil { jtv, ok := value.(string) @@ -4577,12 +4504,10 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.TargetDevice = types.TargetDevice(jtv) } - case "TargetPlatform": if err := awsRestjson1_deserializeDocumentTargetPlatform(&sv.TargetPlatform, value); err != nil { return err } - default: _, _ = key, value @@ -4622,7 +4547,6 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentName = ptr.String(jtv) } - case "ComponentVersion": if value != nil { jtv, ok := value.(string) @@ -4631,7 +4555,6 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentVersion = ptr.String(jtv) } - case "ComponentVersionArn": if value != nil { jtv, ok := value.(string) @@ -4640,7 +4563,6 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4680,7 +4602,6 @@ func awsRestjson1_deserializeDocumentImageSource(v **types.ImageSource, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4710,15 +4631,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4726,7 +4641,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4739,15 +4653,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4789,7 +4699,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4798,7 +4707,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.Description = ptr.String(jtv) } - case "EvaluationEndTimestamp": if value != nil { switch jtv := value.(type) { @@ -4814,17 +4722,14 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } } - case "EvaluationManifest": if err := awsRestjson1_deserializeDocumentOutputS3Object(&sv.EvaluationManifest, value); err != nil { return err } - case "EvaluationResult": if err := awsRestjson1_deserializeDocumentOutputS3Object(&sv.EvaluationResult, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4833,7 +4738,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.KmsKeyId = ptr.String(jtv) } - case "MaxInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -4846,7 +4750,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.MaxInferenceUnits = ptr.Int32(int32(i64)) } - case "MinInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -4859,7 +4762,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.MinInferenceUnits = ptr.Int32(int32(i64)) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -4868,7 +4770,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.ModelArn = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -4877,17 +4778,14 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.ModelVersion = ptr.String(jtv) } - case "OutputConfig": if err := awsRestjson1_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Performance": if err := awsRestjson1_deserializeDocumentModelPerformance(&sv.Performance, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4896,7 +4794,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.Status = types.ModelStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4905,7 +4802,6 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4952,7 +4848,6 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4961,7 +4856,6 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.Description = ptr.String(jtv) } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -4970,7 +4864,6 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.ModelArn = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -4979,12 +4872,10 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.ModelVersion = ptr.String(jtv) } - case "Performance": if err := awsRestjson1_deserializeDocumentModelPerformance(&sv.Performance, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4993,7 +4884,6 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.Status = types.ModelStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5002,7 +4892,6 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5072,7 +4961,6 @@ func awsRestjson1_deserializeDocumentModelPackagingConfiguration(v **types.Model if err := awsRestjson1_deserializeDocumentGreengrassConfiguration(&sv.Greengrass, value); err != nil { return err } - default: _, _ = key, value @@ -5119,7 +5007,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -5128,7 +5015,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.JobName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5144,12 +5030,10 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } } - case "ModelPackagingConfiguration": if err := awsRestjson1_deserializeDocumentModelPackagingConfiguration(&sv.ModelPackagingConfiguration, value); err != nil { return err } - case "ModelPackagingJobDescription": if value != nil { jtv, ok := value.(string) @@ -5158,7 +5042,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelPackagingJobDescription = ptr.String(jtv) } - case "ModelPackagingMethod": if value != nil { jtv, ok := value.(string) @@ -5167,12 +5050,10 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelPackagingMethod = ptr.String(jtv) } - case "ModelPackagingOutputDetails": if err := awsRestjson1_deserializeDocumentModelPackagingOutputDetails(&sv.ModelPackagingOutputDetails, value); err != nil { return err } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -5181,7 +5062,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelVersion = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5190,7 +5070,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ProjectName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5199,7 +5078,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.Status = types.ModelPackagingJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5208,7 +5086,6 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5255,7 +5132,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -5264,7 +5140,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.JobName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5280,7 +5155,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } } - case "ModelPackagingJobDescription": if value != nil { jtv, ok := value.(string) @@ -5289,7 +5163,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelPackagingJobDescription = ptr.String(jtv) } - case "ModelPackagingMethod": if value != nil { jtv, ok := value.(string) @@ -5298,7 +5171,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelPackagingMethod = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -5307,7 +5179,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelVersion = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5316,7 +5187,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ProjectName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5325,7 +5195,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.Status = types.ModelPackagingJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5334,7 +5203,6 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5404,7 +5272,6 @@ func awsRestjson1_deserializeDocumentModelPackagingOutputDetails(v **types.Model if err := awsRestjson1_deserializeDocumentGreengrassOutputDetails(&sv.Greengrass, value); err != nil { return err } - default: _, _ = key, value @@ -5469,7 +5336,6 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -5503,7 +5369,6 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -5537,7 +5402,6 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } - default: _, _ = key, value @@ -5573,7 +5437,6 @@ func awsRestjson1_deserializeDocumentOutputConfig(v **types.OutputConfig, value if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -5613,7 +5476,6 @@ func awsRestjson1_deserializeDocumentOutputS3Object(v **types.OutputS3Object, va } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -5622,7 +5484,6 @@ func awsRestjson1_deserializeDocumentOutputS3Object(v **types.OutputS3Object, va } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -5662,7 +5523,6 @@ func awsRestjson1_deserializeDocumentPixelAnomaly(v **types.PixelAnomaly, value } sv.Color = ptr.String(jtv) } - case "TotalPercentageArea": if value != nil { switch jtv := value.(type) { @@ -5696,7 +5556,6 @@ func awsRestjson1_deserializeDocumentPixelAnomaly(v **types.PixelAnomaly, value } } - default: _, _ = key, value @@ -5743,12 +5602,10 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } - case "Datasets": if err := awsRestjson1_deserializeDocumentDatasetMetadataList(&sv.Datasets, value); err != nil { return err } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -5757,7 +5614,6 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectArn = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5766,7 +5622,6 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectName = ptr.String(jtv) } - default: _, _ = key, value @@ -5813,7 +5668,6 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -5822,7 +5676,6 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } sv.ProjectArn = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5831,7 +5684,6 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } sv.ProjectName = ptr.String(jtv) } - default: _, _ = key, value @@ -5895,15 +5747,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5911,7 +5757,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5920,7 +5765,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5929,15 +5773,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5972,7 +5812,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -5981,7 +5820,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -6011,15 +5849,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6027,7 +5859,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6036,7 +5867,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6045,7 +5875,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6054,7 +5883,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6063,15 +5891,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6106,7 +5930,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6115,7 +5938,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6189,7 +6011,6 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Accelerator = types.TargetPlatformAccelerator(jtv) } - case "Arch": if value != nil { jtv, ok := value.(string) @@ -6198,7 +6019,6 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Arch = types.TargetPlatformArch(jtv) } - case "Os": if value != nil { jtv, ok := value.(string) @@ -6207,7 +6027,6 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Os = types.TargetPlatformOs(jtv) } - default: _, _ = key, value @@ -6237,15 +6056,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6253,7 +6066,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6262,7 +6074,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6275,7 +6086,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6284,15 +6094,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6317,15 +6123,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6333,15 +6133,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/m2/deserializers.go b/service/m2/deserializers.go index 12dc9d5095b..9fef8ac21be 100644 --- a/service/m2/deserializers.go +++ b/service/m2/deserializers.go @@ -294,7 +294,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -303,7 +302,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -316,7 +314,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -490,7 +487,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetImportTaskOutput(v **CreateD } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -664,7 +660,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -835,7 +830,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -1306,7 +1300,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -1315,7 +1308,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1331,12 +1323,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "deployedVersion": if err := awsRestjson1_deserializeDocumentDeployedVersionSummary(&sv.DeployedVersion, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -1345,7 +1335,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -1354,7 +1343,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EngineType = types.EngineType(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1363,7 +1351,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EnvironmentId = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1372,7 +1359,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.KmsKeyId = ptr.String(jtv) } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -1388,22 +1374,18 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "latestVersion": if err := awsRestjson1_deserializeDocumentApplicationVersionSummary(&sv.LatestVersion, value); err != nil { return err } - case "listenerArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.ListenerArns, value); err != nil { return err } - case "listenerPorts": if err := awsRestjson1_deserializeDocumentPortList(&sv.ListenerPorts, value); err != nil { return err } - case "loadBalancerDnsName": if value != nil { jtv, ok := value.(string) @@ -1412,12 +1394,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LoadBalancerDnsName = ptr.String(jtv) } - case "logGroups": if err := awsRestjson1_deserializeDocumentLogGroupSummaries(&sv.LogGroups, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1426,7 +1406,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1435,7 +1414,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1444,7 +1422,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1453,17 +1430,14 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetGroupArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.TargetGroupArns, value); err != nil { return err } - default: _, _ = key, value @@ -1635,7 +1609,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1651,7 +1624,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } } - case "definitionContent": if value != nil { jtv, ok := value.(string) @@ -1660,7 +1632,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.DefinitionContent = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1669,7 +1640,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1678,7 +1648,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1687,7 +1656,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Status = types.ApplicationVersionLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1696,7 +1664,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -1864,12 +1831,10 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ApplicationId = ptr.String(jtv) } - case "batchJobIdentifier": if err := awsRestjson1_deserializeDocumentBatchJobIdentifier(&sv.BatchJobIdentifier, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -1885,7 +1850,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } } - case "executionId": if value != nil { jtv, ok := value.(string) @@ -1894,7 +1858,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ExecutionId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -1903,7 +1866,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -1912,12 +1874,10 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobName = ptr.String(jtv) } - case "jobStepRestartMarker": if err := awsRestjson1_deserializeDocumentJobStepRestartMarker(&sv.JobStepRestartMarker, value); err != nil { return err } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -1926,7 +1886,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobType = types.BatchJobType(jtv) } - case "jobUser": if value != nil { jtv, ok := value.(string) @@ -1935,7 +1894,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobUser = ptr.String(jtv) } - case "returnCode": if value != nil { jtv, ok := value.(string) @@ -1944,7 +1902,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ReturnCode = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -1960,7 +1917,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } } - case "status": if value != nil { jtv, ok := value.(string) @@ -1969,7 +1925,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.Status = types.BatchJobExecutionStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1978,7 +1933,6 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -2159,7 +2113,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.Blocksize = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2175,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } - case "dataSetName": if value != nil { jtv, ok := value.(string) @@ -2184,12 +2136,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.DataSetName = ptr.String(jtv) } - case "dataSetOrg": if err := awsRestjson1_deserializeDocumentDatasetDetailOrgAttributes(&sv.DataSetOrg, value); err != nil { return err } - case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -2202,7 +2152,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.FileSize = ptr.Int64(i64) } - case "lastReferencedTime": if value != nil { switch jtv := value.(type) { @@ -2218,7 +2167,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2234,7 +2182,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } - case "location": if value != nil { jtv, ok := value.(string) @@ -2243,7 +2190,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.Location = ptr.String(jtv) } - case "recordLength": if value != nil { jtv, ok := value.(json.Number) @@ -2256,7 +2202,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.RecordLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2424,12 +2369,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSetImportTaskOutput(v **GetDataSet } sv.Status = types.DataSetTaskLifecycle(jtv) } - case "summary": if err := awsRestjson1_deserializeDocumentDataSetImportSummary(&sv.Summary, value); err != nil { return err } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -2438,7 +2381,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSetImportTaskOutput(v **GetDataSet } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -2606,7 +2548,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationId = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -2619,7 +2560,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2635,7 +2575,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2644,7 +2583,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2653,7 +2591,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.EnvironmentId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2662,7 +2599,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Status = types.DeploymentLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2671,7 +2607,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -2843,7 +2778,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ActualCapacity = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2859,7 +2793,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2868,7 +2801,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -2877,7 +2809,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EngineType = types.EngineType(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -2886,7 +2817,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EngineVersion = ptr.String(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -2895,7 +2825,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2904,12 +2833,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentId = ptr.String(jtv) } - case "highAvailabilityConfig": if err := awsRestjson1_deserializeDocumentHighAvailabilityConfig(&sv.HighAvailabilityConfig, value); err != nil { return err } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2918,7 +2845,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.InstanceType = ptr.String(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2927,7 +2853,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.KmsKeyId = ptr.String(jtv) } - case "loadBalancerArn": if value != nil { jtv, ok := value.(string) @@ -2936,7 +2861,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.LoadBalancerArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2945,12 +2869,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } - case "pendingMaintenance": if err := awsRestjson1_deserializeDocumentPendingMaintenance(&sv.PendingMaintenance, value); err != nil { return err } - case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -2959,7 +2881,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -2968,12 +2889,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.PubliclyAccessible = jtv } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentString50List(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2982,7 +2901,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Status = types.EnvironmentLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2991,22 +2909,18 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.StatusReason = ptr.String(jtv) } - case "storageConfigurations": if err := awsRestjson1_deserializeDocumentStorageConfigurationList(&sv.StorageConfigurations, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentString50List(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -3015,7 +2929,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3177,7 +3090,6 @@ func awsRestjson1_deserializeOpDocumentGetSignedBluinsightsUrlOutput(v **GetSign } sv.SignedBiUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -3338,7 +3250,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaryList(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3347,7 +3258,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3511,7 +3421,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp if err := awsRestjson1_deserializeDocumentApplicationVersionSummaryList(&sv.ApplicationVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3520,7 +3429,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3684,7 +3592,6 @@ func awsRestjson1_deserializeOpDocumentListBatchJobDefinitionsOutput(v **ListBat if err := awsRestjson1_deserializeDocumentBatchJobDefinitions(&sv.BatchJobDefinitions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3693,7 +3600,6 @@ func awsRestjson1_deserializeOpDocumentListBatchJobDefinitionsOutput(v **ListBat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3857,7 +3763,6 @@ func awsRestjson1_deserializeOpDocumentListBatchJobExecutionsOutput(v **ListBatc if err := awsRestjson1_deserializeDocumentBatchJobExecutionSummaryList(&sv.BatchJobExecutions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3866,7 +3771,6 @@ func awsRestjson1_deserializeOpDocumentListBatchJobExecutionsOutput(v **ListBatc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4033,7 +3937,6 @@ func awsRestjson1_deserializeOpDocumentListBatchJobRestartPointsOutput(v **ListB if err := awsRestjson1_deserializeDocumentBatchJobStepList(&sv.BatchJobSteps, value); err != nil { return err } - default: _, _ = key, value @@ -4197,7 +4100,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetImportHistoryOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataSetImportTaskList(&sv.DataSetImportTasks, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4206,7 +4108,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetImportHistoryOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4379,7 +4280,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentDataSetsSummaryList(&sv.DataSets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4388,7 +4288,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4552,7 +4451,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Deployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4561,7 +4459,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4722,7 +4619,6 @@ func awsRestjson1_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe if err := awsRestjson1_deserializeDocumentEngineVersionsSummaryList(&sv.EngineVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4731,7 +4627,6 @@ func awsRestjson1_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4892,7 +4787,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaryList(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4795,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5065,7 +4958,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5339,7 +5231,6 @@ func awsRestjson1_deserializeOpDocumentStartBatchJobOutput(v **StartBatchJobOutp } sv.ExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5820,7 +5711,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5994,7 +5884,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -6388,15 +6277,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6404,15 +6287,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6447,7 +6326,6 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.AllowDuplicates = jtv } - case "length": if value != nil { jtv, ok := value.(json.Number) @@ -6460,7 +6338,6 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Length = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6469,7 +6346,6 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Name = ptr.String(jtv) } - case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -6482,7 +6358,6 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Offset = int32(i64) } - default: _, _ = key, value @@ -6556,7 +6431,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -6565,7 +6439,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6578,7 +6451,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6594,7 +6466,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -6603,7 +6474,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.DeploymentStatus = types.ApplicationDeploymentLifecycle(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6612,7 +6482,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -6621,7 +6490,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EngineType = types.EngineType(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -6630,7 +6498,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EnvironmentId = ptr.String(jtv) } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -6646,7 +6513,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6655,7 +6521,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6664,7 +6529,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6673,7 +6537,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Status = types.ApplicationLifecycle(jtv) } - case "versionStatus": if value != nil { jtv, ok := value.(string) @@ -6682,7 +6545,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.VersionStatus = types.ApplicationVersionLifecycle(jtv) } - default: _, _ = key, value @@ -6760,7 +6622,6 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6776,7 +6637,6 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6785,7 +6645,6 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.Status = types.ApplicationVersionLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6794,7 +6653,6 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -6986,12 +6844,10 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ApplicationId = ptr.String(jtv) } - case "batchJobIdentifier": if err := awsRestjson1_deserializeDocumentBatchJobIdentifier(&sv.BatchJobIdentifier, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -7007,7 +6863,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } } - case "executionId": if value != nil { jtv, ok := value.(string) @@ -7016,7 +6871,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ExecutionId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6879,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -7034,7 +6887,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobName = ptr.String(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -7043,7 +6895,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobType = types.BatchJobType(jtv) } - case "returnCode": if value != nil { jtv, ok := value.(string) @@ -7052,7 +6903,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ReturnCode = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -7068,7 +6918,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } } - case "status": if value != nil { jtv, ok := value.(string) @@ -7077,7 +6926,6 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.Status = types.BatchJobExecutionStatus(jtv) } - default: _, _ = key, value @@ -7245,15 +7093,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7261,7 +7103,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7270,7 +7111,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7279,15 +7119,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7396,7 +7232,6 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Failed = int32(i64) } - case "inProgress": if value != nil { jtv, ok := value.(json.Number) @@ -7409,7 +7244,6 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.InProgress = int32(i64) } - case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -7422,7 +7256,6 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Pending = int32(i64) } - case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -7435,7 +7268,6 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Succeeded = int32(i64) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -7448,7 +7280,6 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Total = int32(i64) } - default: _, _ = key, value @@ -7488,7 +7319,6 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.Status = types.DataSetTaskLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7497,12 +7327,10 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.StatusReason = ptr.String(jtv) } - case "summary": if err := awsRestjson1_deserializeDocumentDataSetImportSummary(&sv.Summary, value); err != nil { return err } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -7511,7 +7339,6 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -7626,7 +7453,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } - case "dataSetName": if value != nil { jtv, ok := value.(string) @@ -7635,7 +7461,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetName = ptr.String(jtv) } - case "dataSetOrg": if value != nil { jtv, ok := value.(string) @@ -7644,7 +7469,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetOrg = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -7653,7 +7477,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Format = ptr.String(jtv) } - case "lastReferencedTime": if value != nil { switch jtv := value.(type) { @@ -7669,7 +7492,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7685,7 +7507,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } - default: _, _ = key, value @@ -7729,7 +7550,6 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7738,7 +7558,6 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.Status = types.DeploymentLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7747,7 +7566,6 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7821,7 +7639,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ApplicationId = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7834,7 +7651,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ApplicationVersion = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7850,7 +7666,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -7859,7 +7674,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -7868,7 +7682,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.EnvironmentId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7877,7 +7690,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Status = types.DeploymentLifecycle(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7886,7 +7698,6 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -7926,7 +7737,6 @@ func awsRestjson1_deserializeDocumentEfsStorageConfiguration(v **types.EfsStorag } sv.FileSystemId = ptr.String(jtv) } - case "mount-point": if value != nil { jtv, ok := value.(string) @@ -7935,7 +7745,6 @@ func awsRestjson1_deserializeDocumentEfsStorageConfiguration(v **types.EfsStorag } sv.MountPoint = ptr.String(jtv) } - default: _, _ = key, value @@ -7975,7 +7784,6 @@ func awsRestjson1_deserializeDocumentEngineVersionsSummary(v **types.EngineVersi } sv.EngineType = ptr.String(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -7984,7 +7792,6 @@ func awsRestjson1_deserializeDocumentEngineVersionsSummary(v **types.EngineVersi } sv.EngineVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8065,7 +7872,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -8074,7 +7880,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EngineType = types.EngineType(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -8083,7 +7888,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EngineVersion = ptr.String(jtv) } - case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -8092,7 +7896,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentArn = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8101,7 +7904,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentId = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -8110,7 +7912,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.InstanceType = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8119,7 +7920,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8128,7 +7928,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Status = types.EnvironmentLifecycle(jtv) } - default: _, _ = key, value @@ -8192,15 +7991,9 @@ func awsRestjson1_deserializeDocumentExecutionTimeoutException(v **types.Executi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8208,15 +8001,11 @@ func awsRestjson1_deserializeDocumentExecutionTimeoutException(v **types.Executi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8251,7 +8040,6 @@ func awsRestjson1_deserializeDocumentFileBatchJobDefinition(v **types.FileBatchJ } sv.FileName = ptr.String(jtv) } - case "folderPath": if value != nil { jtv, ok := value.(string) @@ -8260,7 +8048,6 @@ func awsRestjson1_deserializeDocumentFileBatchJobDefinition(v **types.FileBatchJ } sv.FolderPath = ptr.String(jtv) } - default: _, _ = key, value @@ -8300,7 +8087,6 @@ func awsRestjson1_deserializeDocumentFileBatchJobIdentifier(v **types.FileBatchJ } sv.FileName = ptr.String(jtv) } - case "folderPath": if value != nil { jtv, ok := value.(string) @@ -8309,7 +8095,6 @@ func awsRestjson1_deserializeDocumentFileBatchJobIdentifier(v **types.FileBatchJ } sv.FolderPath = ptr.String(jtv) } - default: _, _ = key, value @@ -8349,7 +8134,6 @@ func awsRestjson1_deserializeDocumentFsxStorageConfiguration(v **types.FsxStorag } sv.FileSystemId = ptr.String(jtv) } - case "mount-point": if value != nil { jtv, ok := value.(string) @@ -8358,7 +8142,6 @@ func awsRestjson1_deserializeDocumentFsxStorageConfiguration(v **types.FsxStorag } sv.MountPoint = ptr.String(jtv) } - default: _, _ = key, value @@ -8402,7 +8185,6 @@ func awsRestjson1_deserializeDocumentGdgDetailAttributes(v **types.GdgDetailAttr } sv.Limit = int32(i64) } - case "rollDisposition": if value != nil { jtv, ok := value.(string) @@ -8411,7 +8193,6 @@ func awsRestjson1_deserializeDocumentGdgDetailAttributes(v **types.GdgDetailAttr } sv.RollDisposition = ptr.String(jtv) } - default: _, _ = key, value @@ -8455,7 +8236,6 @@ func awsRestjson1_deserializeDocumentHighAvailabilityConfig(v **types.HighAvaila } sv.DesiredCapacity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8485,15 +8265,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8501,7 +8275,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8514,15 +8287,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8611,7 +8380,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.ProcStepName = ptr.String(jtv) } - case "procStepNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8624,7 +8392,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.ProcStepNumber = int32(i64) } - case "stepCondCode": if value != nil { jtv, ok := value.(string) @@ -8633,7 +8400,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepCondCode = ptr.String(jtv) } - case "stepName": if value != nil { jtv, ok := value.(string) @@ -8642,7 +8408,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepName = ptr.String(jtv) } - case "stepNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8655,7 +8420,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepNumber = int32(i64) } - case "stepRestartable": if value != nil { jtv, ok := value.(bool) @@ -8664,7 +8428,6 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepRestartable = jtv } - default: _, _ = key, value @@ -8704,7 +8467,6 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.FromProcStep = ptr.String(jtv) } - case "fromStep": if value != nil { jtv, ok := value.(string) @@ -8713,7 +8475,6 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.FromStep = ptr.String(jtv) } - case "toProcStep": if value != nil { jtv, ok := value.(string) @@ -8722,7 +8483,6 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.ToProcStep = ptr.String(jtv) } - case "toStep": if value != nil { jtv, ok := value.(string) @@ -8731,7 +8491,6 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.ToStep = ptr.String(jtv) } - default: _, _ = key, value @@ -8805,7 +8564,6 @@ func awsRestjson1_deserializeDocumentLogGroupSummary(v **types.LogGroupSummary, } sv.LogGroupName = ptr.String(jtv) } - case "logType": if value != nil { jtv, ok := value.(string) @@ -8814,7 +8572,6 @@ func awsRestjson1_deserializeDocumentLogGroupSummary(v **types.LogGroupSummary, } sv.LogType = ptr.String(jtv) } - default: _, _ = key, value @@ -8861,7 +8618,6 @@ func awsRestjson1_deserializeDocumentMaintenanceSchedule(v **types.MaintenanceSc } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -8877,7 +8633,6 @@ func awsRestjson1_deserializeDocumentMaintenanceSchedule(v **types.MaintenanceSc } } - default: _, _ = key, value @@ -8917,12 +8672,10 @@ func awsRestjson1_deserializeDocumentPendingMaintenance(v **types.PendingMainten } sv.EngineVersion = ptr.String(jtv) } - case "schedule": if err := awsRestjson1_deserializeDocumentMaintenanceSchedule(&sv.Schedule, value); err != nil { return err } - default: _, _ = key, value @@ -8962,7 +8715,6 @@ func awsRestjson1_deserializeDocumentPoDetailAttributes(v **types.PoDetailAttrib } sv.Encoding = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -8971,7 +8723,6 @@ func awsRestjson1_deserializeDocumentPoDetailAttributes(v **types.PoDetailAttrib } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -9055,7 +8806,6 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Length = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9064,7 +8814,6 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Name = ptr.String(jtv) } - case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -9077,7 +8826,6 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Offset = int32(i64) } - default: _, _ = key, value @@ -9117,7 +8865,6 @@ func awsRestjson1_deserializeDocumentPsDetailAttributes(v **types.PsDetailAttrib } sv.Encoding = ptr.String(jtv) } - case "format": if value != nil { jtv, ok := value.(string) @@ -9126,7 +8873,6 @@ func awsRestjson1_deserializeDocumentPsDetailAttributes(v **types.PsDetailAttrib } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -9156,15 +8902,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9172,7 +8912,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9181,7 +8920,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9190,15 +8928,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9233,12 +8967,10 @@ func awsRestjson1_deserializeDocumentRestartBatchJobIdentifier(v **types.Restart } sv.ExecutionId = ptr.String(jtv) } - case "jobStepRestartMarker": if err := awsRestjson1_deserializeDocumentJobStepRestartMarker(&sv.JobStepRestartMarker, value); err != nil { return err } - default: _, _ = key, value @@ -9278,12 +9010,10 @@ func awsRestjson1_deserializeDocumentS3BatchJobIdentifier(v **types.S3BatchJobId } sv.Bucket = ptr.String(jtv) } - case "identifier": if err := awsRestjson1_deserializeDocumentJobIdentifier(&sv.Identifier, value); err != nil { return err } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -9292,7 +9022,6 @@ func awsRestjson1_deserializeDocumentS3BatchJobIdentifier(v **types.S3BatchJobId } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -9332,7 +9061,6 @@ func awsRestjson1_deserializeDocumentScriptBatchJobDefinition(v **types.ScriptBa } sv.ScriptName = ptr.String(jtv) } - default: _, _ = key, value @@ -9372,7 +9100,6 @@ func awsRestjson1_deserializeDocumentScriptBatchJobIdentifier(v **types.ScriptBa } sv.ScriptName = ptr.String(jtv) } - default: _, _ = key, value @@ -9402,15 +9129,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9418,7 +9139,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9427,7 +9147,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9436,7 +9155,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9445,7 +9163,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9454,15 +9171,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9487,15 +9200,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9503,15 +9210,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9690,15 +9393,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9706,7 +9403,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9715,7 +9411,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9728,7 +9423,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9737,15 +9431,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9770,20 +9460,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9791,7 +9474,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9800,15 +9482,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9843,7 +9521,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9852,7 +9529,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9922,7 +9598,6 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt if err := awsRestjson1_deserializeDocumentAlternateKeyList(&sv.AlternateKeys, value); err != nil { return err } - case "cacheAtStartup": if value != nil { jtv, ok := value.(bool) @@ -9931,7 +9606,6 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.CacheAtStartup = ptr.Bool(jtv) } - case "compressed": if value != nil { jtv, ok := value.(bool) @@ -9940,7 +9614,6 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.Compressed = ptr.Bool(jtv) } - case "encoding": if value != nil { jtv, ok := value.(string) @@ -9949,12 +9622,10 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.Encoding = ptr.String(jtv) } - case "primaryKey": if err := awsRestjson1_deserializeDocumentPrimaryKey(&sv.PrimaryKey, value); err != nil { return err } - case "recordFormat": if value != nil { jtv, ok := value.(string) @@ -9963,7 +9634,6 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.RecordFormat = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/machinelearning/deserializers.go b/service/machinelearning/deserializers.go index 60fd15475fa..cb0bc3be6d4 100644 --- a/service/machinelearning/deserializers.go +++ b/service/machinelearning/deserializers.go @@ -3619,7 +3619,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.BatchPredictionDataSourceId = ptr.String(jtv) } - case "BatchPredictionId": if value != nil { jtv, ok := value.(string) @@ -3628,7 +3627,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.BatchPredictionId = ptr.String(jtv) } - case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -3641,7 +3639,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3657,7 +3654,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -3666,7 +3662,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.CreatedByIamUser = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -3682,7 +3677,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -3691,7 +3685,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InputDataLocationS3 = ptr.String(jtv) } - case "InvalidRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3704,7 +3697,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InvalidRecordCount = ptr.Int64(i64) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3720,7 +3712,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3729,7 +3720,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -3738,7 +3728,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.MLModelId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3747,7 +3736,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Name = ptr.String(jtv) } - case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -3756,7 +3744,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.OutputUri = ptr.String(jtv) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -3772,7 +3759,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3781,7 +3767,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Status = types.EntityStatus(jtv) } - case "TotalRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3794,7 +3779,6 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.TotalRecordCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3868,7 +3852,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ComputeStatistics = jtv } - case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -3881,7 +3864,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3897,7 +3879,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -3906,7 +3887,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.CreatedByIamUser = ptr.String(jtv) } - case "DataLocationS3": if value != nil { jtv, ok := value.(string) @@ -3915,7 +3895,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataLocationS3 = ptr.String(jtv) } - case "DataRearrangement": if value != nil { jtv, ok := value.(string) @@ -3924,7 +3903,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataRearrangement = ptr.String(jtv) } - case "DataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3937,7 +3915,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSizeInBytes = ptr.Int64(i64) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -3946,7 +3923,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -3962,7 +3938,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3978,7 +3953,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3987,7 +3961,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3996,7 +3969,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } - case "NumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -4009,17 +3981,14 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.NumberOfFiles = ptr.Int64(i64) } - case "RDSMetadata": if err := awsAwsjson11_deserializeDocumentRDSMetadata(&sv.RDSMetadata, value); err != nil { return err } - case "RedshiftMetadata": if err := awsAwsjson11_deserializeDocumentRedshiftMetadata(&sv.RedshiftMetadata, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4028,7 +3997,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.RoleARN = ptr.String(jtv) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4044,7 +4012,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4053,7 +4020,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.EntityStatus(jtv) } - default: _, _ = key, value @@ -4167,7 +4133,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4183,7 +4148,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -4192,7 +4156,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.CreatedByIamUser = ptr.String(jtv) } - case "EvaluationDataSourceId": if value != nil { jtv, ok := value.(string) @@ -4201,7 +4164,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationDataSourceId = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -4210,7 +4172,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationId = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -4226,7 +4187,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -4235,7 +4195,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.InputDataLocationS3 = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4251,7 +4210,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4260,7 +4218,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -4269,7 +4226,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.MLModelId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4278,12 +4234,10 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Name = ptr.String(jtv) } - case "PerformanceMetrics": if err := awsAwsjson11_deserializeDocumentPerformanceMetrics(&sv.PerformanceMetrics, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4299,7 +4253,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4308,7 +4261,6 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Status = types.EntityStatus(jtv) } - default: _, _ = key, value @@ -4372,13 +4324,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4392,8 +4338,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4401,15 +4346,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4434,13 +4375,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4454,8 +4389,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4463,15 +4397,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4496,13 +4426,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4516,8 +4440,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4525,15 +4448,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4558,15 +4477,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4574,15 +4487,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4607,13 +4516,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4627,8 +4530,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4636,15 +4538,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4679,7 +4577,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Algorithm = types.Algorithm(jtv) } - case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -4692,7 +4589,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4708,7 +4604,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -4717,12 +4612,10 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.CreatedByIamUser = ptr.String(jtv) } - case "EndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -4738,7 +4631,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -4747,7 +4639,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.InputDataLocationS3 = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4763,7 +4654,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4772,7 +4662,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -4781,7 +4670,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.MLModelId = ptr.String(jtv) } - case "MLModelType": if value != nil { jtv, ok := value.(string) @@ -4790,7 +4678,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.MLModelType = types.MLModelType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4799,7 +4686,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Name = ptr.String(jtv) } - case "ScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -4833,7 +4719,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "ScoreThresholdLastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4849,7 +4734,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4862,7 +4746,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.SizeInBytes = ptr.Int64(i64) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4878,7 +4761,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4887,7 +4769,6 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Status = types.EntityStatus(jtv) } - case "TrainingDataSourceId": if value != nil { jtv, ok := value.(string) @@ -4896,12 +4777,10 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.TrainingDataSourceId = ptr.String(jtv) } - case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4971,7 +4850,6 @@ func awsAwsjson11_deserializeDocumentPerformanceMetrics(v **types.PerformanceMet if err := awsAwsjson11_deserializeDocumentPerformanceMetricsProperties(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -5043,7 +4921,6 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte if err := awsAwsjson11_deserializeDocumentDetailsMap(&sv.Details, value); err != nil { return err } - case "predictedLabel": if value != nil { jtv, ok := value.(string) @@ -5052,12 +4929,10 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } sv.PredictedLabel = ptr.String(jtv) } - case "predictedScores": if err := awsAwsjson11_deserializeDocumentScoreValuePerLabelMap(&sv.PredictedScores, value); err != nil { return err } - case "predictedValue": if value != nil { switch jtv := value.(type) { @@ -5091,7 +4966,6 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } } - default: _, _ = key, value @@ -5121,15 +4995,9 @@ func awsAwsjson11_deserializeDocumentPredictorNotMountedException(v **types.Pred sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5137,15 +5005,11 @@ func awsAwsjson11_deserializeDocumentPredictorNotMountedException(v **types.Pred } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5180,7 +5044,6 @@ func awsAwsjson11_deserializeDocumentRDSDatabase(v **types.RDSDatabase, value in } sv.DatabaseName = ptr.String(jtv) } - case "InstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -5189,7 +5052,6 @@ func awsAwsjson11_deserializeDocumentRDSDatabase(v **types.RDSDatabase, value in } sv.InstanceIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5225,7 +5087,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in if err := awsAwsjson11_deserializeDocumentRDSDatabase(&sv.Database, value); err != nil { return err } - case "DatabaseUserName": if value != nil { jtv, ok := value.(string) @@ -5234,7 +5095,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.DatabaseUserName = ptr.String(jtv) } - case "DataPipelineId": if value != nil { jtv, ok := value.(string) @@ -5243,7 +5103,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.DataPipelineId = ptr.String(jtv) } - case "ResourceRole": if value != nil { jtv, ok := value.(string) @@ -5252,7 +5111,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.ResourceRole = ptr.String(jtv) } - case "SelectSqlQuery": if value != nil { jtv, ok := value.(string) @@ -5261,7 +5119,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.SelectSqlQuery = ptr.String(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -5270,7 +5127,6 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.ServiceRole = ptr.String(jtv) } - default: _, _ = key, value @@ -5317,7 +5173,6 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -5326,7 +5181,6 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.EndpointStatus = types.RealtimeEndpointStatus(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -5335,7 +5189,6 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.EndpointUrl = ptr.String(jtv) } - case "PeakRequestsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -5348,7 +5201,6 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.PeakRequestsPerSecond = int32(i64) } - default: _, _ = key, value @@ -5388,7 +5240,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatabase(v **types.RedshiftDatabase } sv.ClusterIdentifier = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -5397,7 +5248,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatabase(v **types.RedshiftDatabase } sv.DatabaseName = ptr.String(jtv) } - default: _, _ = key, value @@ -5437,12 +5287,10 @@ func awsAwsjson11_deserializeDocumentRedshiftMetadata(v **types.RedshiftMetadata } sv.DatabaseUserName = ptr.String(jtv) } - case "RedshiftDatabase": if err := awsAwsjson11_deserializeDocumentRedshiftDatabase(&sv.RedshiftDatabase, value); err != nil { return err } - case "SelectSqlQuery": if value != nil { jtv, ok := value.(string) @@ -5451,7 +5299,6 @@ func awsAwsjson11_deserializeDocumentRedshiftMetadata(v **types.RedshiftMetadata } sv.SelectSqlQuery = ptr.String(jtv) } - default: _, _ = key, value @@ -5481,13 +5328,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5501,8 +5342,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = int32(i64) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5510,15 +5350,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5614,7 +5450,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5623,7 +5458,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5653,15 +5487,9 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5669,15 +5497,11 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5782,7 +5606,6 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5791,7 +5614,6 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in } sv.ResourceType = types.TaggableResourceType(jtv) } - default: _, _ = key, value @@ -5831,7 +5653,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchPredictionOutput(v **CreateBat } sv.BatchPredictionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5871,7 +5692,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromRDSOutput(v **CreateD } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5911,7 +5731,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromRedshiftOutput(v **Cr } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5951,7 +5770,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromS3Output(v **CreateDa } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -5991,7 +5809,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEvaluationOutput(v **CreateEvaluati } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6031,7 +5848,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMLModelOutput(v **CreateMLModelOutp } sv.MLModelId = ptr.String(jtv) } - default: _, _ = key, value @@ -6071,12 +5887,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRealtimeEndpointOutput(v **CreateRe } sv.MLModelId = ptr.String(jtv) } - case "RealtimeEndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.RealtimeEndpointInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6116,7 +5930,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBatchPredictionOutput(v **DeleteBat } sv.BatchPredictionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6156,7 +5969,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6196,7 +6008,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEvaluationOutput(v **DeleteEvaluati } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6236,7 +6047,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteMLModelOutput(v **DeleteMLModelOutp } sv.MLModelId = ptr.String(jtv) } - default: _, _ = key, value @@ -6276,12 +6086,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteRealtimeEndpointOutput(v **DeleteRe } sv.MLModelId = ptr.String(jtv) } - case "RealtimeEndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.RealtimeEndpointInfo, value); err != nil { return err } - default: _, _ = key, value @@ -6321,7 +6129,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTagsOutput(v **DeleteTagsOutput, va } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6330,7 +6137,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTagsOutput(v **DeleteTagsOutput, va } sv.ResourceType = types.TaggableResourceType(jtv) } - default: _, _ = key, value @@ -6370,12 +6176,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchPredictionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentBatchPredictions(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6415,12 +6219,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourcesOutput(v **DescribeDat } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentDataSources(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6460,12 +6262,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEvaluationsOutput(v **DescribeEva } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentEvaluations(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6505,12 +6305,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMLModelsOutput(v **DescribeMLMode } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentMLModels(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6550,7 +6348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6559,12 +6356,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.ResourceType = types.TaggableResourceType(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6604,7 +6399,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.BatchPredictionDataSourceId = ptr.String(jtv) } - case "BatchPredictionId": if value != nil { jtv, ok := value.(string) @@ -6613,7 +6407,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.BatchPredictionId = ptr.String(jtv) } - case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -6626,7 +6419,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6642,7 +6434,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -6651,7 +6442,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.CreatedByIamUser = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -6667,7 +6457,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -6676,7 +6465,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.InputDataLocationS3 = ptr.String(jtv) } - case "InvalidRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -6689,7 +6477,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.InvalidRecordCount = ptr.Int64(i64) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6705,7 +6492,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -6714,7 +6500,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.LogUri = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6723,7 +6508,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -6732,7 +6516,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.MLModelId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6741,7 +6524,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Name = ptr.String(jtv) } - case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -6750,7 +6532,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.OutputUri = ptr.String(jtv) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6766,7 +6547,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6775,7 +6555,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Status = types.EntityStatus(jtv) } - case "TotalRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -6788,7 +6567,6 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.TotalRecordCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6828,7 +6606,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ComputeStatistics = jtv } - case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -6841,7 +6618,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6857,7 +6633,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -6866,7 +6641,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.CreatedByIamUser = ptr.String(jtv) } - case "DataLocationS3": if value != nil { jtv, ok := value.(string) @@ -6875,7 +6649,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataLocationS3 = ptr.String(jtv) } - case "DataRearrangement": if value != nil { jtv, ok := value.(string) @@ -6884,7 +6657,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataRearrangement = ptr.String(jtv) } - case "DataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6897,7 +6669,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSizeInBytes = ptr.Int64(i64) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -6906,7 +6677,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceId = ptr.String(jtv) } - case "DataSourceSchema": if value != nil { jtv, ok := value.(string) @@ -6915,7 +6685,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceSchema = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -6931,7 +6700,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6947,7 +6715,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -6956,7 +6723,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LogUri = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6965,7 +6731,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6974,7 +6739,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } - case "NumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -6987,17 +6751,14 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.NumberOfFiles = ptr.Int64(i64) } - case "RDSMetadata": if err := awsAwsjson11_deserializeDocumentRDSMetadata(&sv.RDSMetadata, value); err != nil { return err } - case "RedshiftMetadata": if err := awsAwsjson11_deserializeDocumentRedshiftMetadata(&sv.RedshiftMetadata, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -7006,7 +6767,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.RoleARN = ptr.String(jtv) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -7022,7 +6782,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7031,7 +6790,6 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.EntityStatus(jtv) } - default: _, _ = key, value @@ -7075,7 +6833,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7091,7 +6848,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -7100,7 +6856,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.CreatedByIamUser = ptr.String(jtv) } - case "EvaluationDataSourceId": if value != nil { jtv, ok := value.(string) @@ -7109,7 +6864,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.EvaluationDataSourceId = ptr.String(jtv) } - case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -7118,7 +6872,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.EvaluationId = ptr.String(jtv) } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -7134,7 +6887,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -7143,7 +6895,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.InputDataLocationS3 = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7159,7 +6910,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -7168,7 +6918,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.LogUri = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -7177,7 +6926,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -7186,7 +6934,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.MLModelId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7195,12 +6942,10 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Name = ptr.String(jtv) } - case "PerformanceMetrics": if err := awsAwsjson11_deserializeDocumentPerformanceMetrics(&sv.PerformanceMetrics, value); err != nil { return err } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -7216,7 +6961,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7225,7 +6969,6 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Status = types.EntityStatus(jtv) } - default: _, _ = key, value @@ -7269,7 +7012,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.ComputeTime = ptr.Int64(i64) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7285,7 +7027,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -7294,12 +7035,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.CreatedByIamUser = ptr.String(jtv) } - case "EndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } - case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -7315,7 +7054,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -7324,7 +7062,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.InputDataLocationS3 = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7340,7 +7077,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "LogUri": if value != nil { jtv, ok := value.(string) @@ -7349,7 +7085,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.LogUri = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -7358,7 +7093,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Message = ptr.String(jtv) } - case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -7367,7 +7101,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.MLModelId = ptr.String(jtv) } - case "MLModelType": if value != nil { jtv, ok := value.(string) @@ -7376,7 +7109,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.MLModelType = types.MLModelType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7385,7 +7117,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Name = ptr.String(jtv) } - case "Recipe": if value != nil { jtv, ok := value.(string) @@ -7394,7 +7125,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Recipe = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -7403,7 +7133,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Schema = ptr.String(jtv) } - case "ScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -7437,7 +7166,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "ScoreThresholdLastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7453,7 +7181,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7466,7 +7193,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.SizeInBytes = ptr.Int64(i64) } - case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -7482,7 +7208,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7491,7 +7216,6 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Status = types.EntityStatus(jtv) } - case "TrainingDataSourceId": if value != nil { jtv, ok := value.(string) @@ -7500,12 +7224,10 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.TrainingDataSourceId = ptr.String(jtv) } - case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7541,7 +7263,6 @@ func awsAwsjson11_deserializeOpDocumentPredictOutput(v **PredictOutput, value in if err := awsAwsjson11_deserializeDocumentPrediction(&sv.Prediction, value); err != nil { return err } - default: _, _ = key, value @@ -7581,7 +7302,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBatchPredictionOutput(v **UpdateBat } sv.BatchPredictionId = ptr.String(jtv) } - default: _, _ = key, value @@ -7621,7 +7341,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -7661,7 +7380,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEvaluationOutput(v **UpdateEvaluati } sv.EvaluationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7701,7 +7419,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMLModelOutput(v **UpdateMLModelOutp } sv.MLModelId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/macie2/deserializers.go b/service/macie2/deserializers.go index 1e3ac7746ce..2fe068cb850 100644 --- a/service/macie2/deserializers.go +++ b/service/macie2/deserializers.go @@ -296,12 +296,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetCustomDataIdentifiersOutput(v **B if err := awsRestjson1_deserializeDocument__listOfBatchGetCustomDataIdentifierSummary(&sv.CustomDataIdentifiers, value); err != nil { return err } - case "notFoundIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NotFoundIdentifierIds, value); err != nil { return err } - default: _, _ = key, value @@ -465,7 +463,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateAutomatedDiscoveryAccountsOutp if err := awsRestjson1_deserializeDocument__listOfAutomatedDiscoveryAccountUpdateError(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -639,7 +636,6 @@ func awsRestjson1_deserializeOpDocumentCreateAllowListOutput(v **CreateAllowList } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -648,7 +644,6 @@ func awsRestjson1_deserializeOpDocumentCreateAllowListOutput(v **CreateAllowList } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -822,7 +817,6 @@ func awsRestjson1_deserializeOpDocumentCreateClassificationJobOutput(v **CreateC } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -831,7 +825,6 @@ func awsRestjson1_deserializeOpDocumentCreateClassificationJobOutput(v **CreateC } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -1005,7 +998,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomDataIdentifierOutput(v **Crea } sv.CustomDataIdentifierId = ptr.String(jtv) } - default: _, _ = key, value @@ -1179,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsFilterOutput(v **CreateFind } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1188,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsFilterOutput(v **CreateFind } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1358,7 +1348,6 @@ func awsRestjson1_deserializeOpDocumentCreateInvitationsOutput(v **CreateInvitat if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -1532,7 +1521,6 @@ func awsRestjson1_deserializeOpDocumentCreateMemberOutput(v **CreateMemberOutput } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1808,7 +1796,6 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -2290,7 +2277,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -2566,7 +2552,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBucketsOutput(v **DescribeBuckets if err := awsRestjson1_deserializeDocument__listOfBucketMetadata(&sv.Buckets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2575,7 +2560,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBucketsOutput(v **DescribeBuckets } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2745,7 +2729,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowListIds, value); err != nil { return err } - case "clientToken": if value != nil { jtv, ok := value.(string) @@ -2754,7 +2737,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.ClientToken = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2767,12 +2749,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.CreatedAt = ptr.Time(t) } - case "customDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CustomDataIdentifierIds, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -2781,7 +2761,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.Description = ptr.String(jtv) } - case "initialRun": if value != nil { jtv, ok := value.(bool) @@ -2790,7 +2769,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.InitialRun = ptr.Bool(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2799,7 +2777,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2808,7 +2785,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobId = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2817,7 +2793,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobStatus = types.JobStatus(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -2826,12 +2801,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobType = types.JobType(jtv) } - case "lastRunErrorStatus": if err := awsRestjson1_deserializeDocumentLastRunErrorStatus(&sv.LastRunErrorStatus, value); err != nil { return err } - case "lastRunTime": if value != nil { jtv, ok := value.(string) @@ -2844,12 +2817,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.LastRunTime = ptr.Time(t) } - case "managedDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } - case "managedDataIdentifierSelector": if value != nil { jtv, ok := value.(string) @@ -2858,7 +2829,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.ManagedDataIdentifierSelector = types.ManagedDataIdentifierSelector(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2867,12 +2837,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.Name = ptr.String(jtv) } - case "s3JobDefinition": if err := awsRestjson1_deserializeDocumentS3JobDefinition(&sv.S3JobDefinition, value); err != nil { return err } - case "samplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -2885,27 +2853,22 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.SamplingPercentage = ptr.Int32(int32(i64)) } - case "scheduleFrequency": if err := awsRestjson1_deserializeDocumentJobScheduleFrequency(&sv.ScheduleFrequency, value); err != nil { return err } - case "statistics": if err := awsRestjson1_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "userPausedDetails": if err := awsRestjson1_deserializeDocumentUserPausedDetails(&sv.UserPausedDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3079,7 +3042,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } - case "maxAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -3088,7 +3050,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MaxAccountLimitReached = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4000,7 +3961,6 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentInvitation(&sv.Administrator, value); err != nil { return err } - default: _, _ = key, value @@ -4168,7 +4128,6 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4181,12 +4140,10 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.CreatedAt = ptr.Time(t) } - case "criteria": if err := awsRestjson1_deserializeDocumentAllowListCriteria(&sv.Criteria, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -4195,7 +4152,6 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4204,7 +4160,6 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4213,17 +4168,14 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Name = ptr.String(jtv) } - case "status": if err := awsRestjson1_deserializeDocumentAllowListStatus(&sv.Status, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4188,6 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -4401,7 +4352,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.AutoEnableOrganizationMembers = types.AutoEnableMode(jtv) } - case "classificationScopeId": if value != nil { jtv, ok := value.(string) @@ -4410,7 +4360,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.ClassificationScopeId = ptr.String(jtv) } - case "disabledAt": if value != nil { jtv, ok := value.(string) @@ -4423,7 +4372,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.DisabledAt = ptr.Time(t) } - case "firstEnabledAt": if value != nil { jtv, ok := value.(string) @@ -4436,7 +4384,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.FirstEnabledAt = ptr.Time(t) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4449,7 +4396,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.LastUpdatedAt = ptr.Time(t) } - case "sensitivityInspectionTemplateId": if value != nil { jtv, ok := value.(string) @@ -4458,7 +4404,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.SensitivityInspectionTemplateId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4467,7 +4412,6 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.Status = types.AutomatedDiscoveryStatus(jtv) } - default: _, _ = key, value @@ -4645,32 +4589,26 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.BucketCount = ptr.Int64(i64) } - case "bucketCountByEffectivePermission": if err := awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(&sv.BucketCountByEffectivePermission, value); err != nil { return err } - case "bucketCountByEncryptionType": if err := awsRestjson1_deserializeDocumentBucketCountByEncryptionType(&sv.BucketCountByEncryptionType, value); err != nil { return err } - case "bucketCountByObjectEncryptionRequirement": if err := awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUploads(&sv.BucketCountByObjectEncryptionRequirement, value); err != nil { return err } - case "bucketCountBySharedAccessType": if err := awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(&sv.BucketCountBySharedAccessType, value); err != nil { return err } - case "bucketStatisticsBySensitivity": if err := awsRestjson1_deserializeDocumentBucketStatisticsBySensitivity(&sv.BucketStatisticsBySensitivity, value); err != nil { return err } - case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4683,7 +4621,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ClassifiableObjectCount = ptr.Int64(i64) } - case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4696,7 +4633,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } - case "lastUpdated": if value != nil { jtv, ok := value.(string) @@ -4709,7 +4645,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.LastUpdated = ptr.Time(t) } - case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4722,7 +4657,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ObjectCount = ptr.Int64(i64) } - case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4735,7 +4669,6 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.SizeInBytes = ptr.Int64(i64) } - case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -4748,17 +4681,14 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.SizeInBytesCompressed = ptr.Int64(i64) } - case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } - case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } - default: _, _ = key, value @@ -4928,7 +4858,6 @@ func awsRestjson1_deserializeOpDocumentGetClassificationExportConfigurationOutpu if err := awsRestjson1_deserializeDocumentClassificationExportConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -5096,7 +5025,6 @@ func awsRestjson1_deserializeOpDocumentGetClassificationScopeOutput(v **GetClass } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5105,12 +5033,10 @@ func awsRestjson1_deserializeOpDocumentGetClassificationScopeOutput(v **GetClass } sv.Name = ptr.String(jtv) } - case "s3": if err := awsRestjson1_deserializeDocumentS3ClassificationScope(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -5284,7 +5210,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5297,7 +5222,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.CreatedAt = ptr.Time(t) } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -5306,7 +5230,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Deleted = ptr.Bool(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5238,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5324,17 +5246,14 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Id = ptr.String(jtv) } - case "ignoreWords": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.IgnoreWords, value); err != nil { return err } - case "keywords": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Keywords, value); err != nil { return err } - case "maximumMatchDistance": if value != nil { jtv, ok := value.(json.Number) @@ -5347,7 +5266,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.MaximumMatchDistance = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5356,7 +5274,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Name = ptr.String(jtv) } - case "regex": if value != nil { jtv, ok := value.(string) @@ -5365,17 +5282,14 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Regex = ptr.String(jtv) } - case "severityLevels": if err := awsRestjson1_deserializeDocumentSeverityLevelList(&sv.SeverityLevels, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5545,7 +5459,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocument__listOfFinding(&sv.Findings, value); err != nil { return err } - default: _, _ = key, value @@ -5719,7 +5632,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Action = types.FindingsFilterAction(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5728,7 +5640,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5737,12 +5648,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Description = ptr.String(jtv) } - case "findingCriteria": if err := awsRestjson1_deserializeDocumentFindingCriteria(&sv.FindingCriteria, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5751,7 +5660,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5760,7 +5668,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Name = ptr.String(jtv) } - case "position": if value != nil { jtv, ok := value.(json.Number) @@ -5773,12 +5680,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Position = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5948,7 +5853,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsPublicationConfigurationOutput if err := awsRestjson1_deserializeDocumentSecurityHubConfiguration(&sv.SecurityHubConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6118,7 +6022,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingStatisticsOutput(v **GetFinding if err := awsRestjson1_deserializeDocument__listOfGroupCount(&sv.CountsByGroup, value); err != nil { return err } - default: _, _ = key, value @@ -6296,7 +6199,6 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6474,7 +6376,6 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.CreatedAt = ptr.Time(t) } - case "findingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -6483,7 +6384,6 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.FindingPublishingFrequency = types.FindingPublishingFrequency(jtv) } - case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6492,7 +6392,6 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.ServiceRole = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6501,7 +6400,6 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.Status = types.MacieStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6514,7 +6412,6 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6684,7 +6581,6 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentInvitation(&sv.Master, value); err != nil { return err } - default: _, _ = key, value @@ -6858,7 +6754,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.AccountId = ptr.String(jtv) } - case "administratorAccountId": if value != nil { jtv, ok := value.(string) @@ -6867,7 +6762,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.AdministratorAccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6876,7 +6770,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.Arn = ptr.String(jtv) } - case "email": if value != nil { jtv, ok := value.(string) @@ -6885,7 +6778,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.Email = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -6898,7 +6790,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.InvitedAt = ptr.Time(t) } - case "masterAccountId": if value != nil { jtv, ok := value.(string) @@ -6907,7 +6798,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.MasterAccountId = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -6916,12 +6806,10 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.RelationshipStatus = types.RelationshipStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6934,7 +6822,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -7109,7 +6996,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.ProfileUpdatedAt = ptr.Time(t) } - case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -7122,7 +7008,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.SensitivityScore = ptr.Int32(int32(i64)) } - case "sensitivityScoreOverridden": if value != nil { jtv, ok := value.(bool) @@ -7131,12 +7016,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.SensitivityScoreOverridden = ptr.Bool(jtv) } - case "statistics": if err := awsRestjson1_deserializeDocumentResourceStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -7297,12 +7180,10 @@ func awsRestjson1_deserializeOpDocumentGetRevealConfigurationOutput(v **GetRevea if err := awsRestjson1_deserializeDocumentRevealConfiguration(&sv.Configuration, value); err != nil { return err } - case "retrievalConfiguration": if err := awsRestjson1_deserializeDocumentRetrievalConfiguration(&sv.RetrievalConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -7473,12 +7354,10 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesOutput(v **Get } sv.Error = ptr.String(jtv) } - case "sensitiveDataOccurrences": if err := awsRestjson1_deserializeDocumentSensitiveDataOccurrences(&sv.SensitiveDataOccurrences, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7487,7 +7366,6 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesOutput(v **Get } sv.Status = types.RevealRequestStatus(jtv) } - default: _, _ = key, value @@ -7652,12 +7530,10 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesAvailabilityOu } sv.Code = types.AvailabilityCode(jtv) } - case "reasons": if err := awsRestjson1_deserializeDocument__listOfUnavailabilityReasonCode(&sv.Reasons, value); err != nil { return err } - default: _, _ = key, value @@ -7825,17 +7701,14 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.Description = ptr.String(jtv) } - case "excludes": if err := awsRestjson1_deserializeDocumentSensitivityInspectionTemplateExcludes(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsRestjson1_deserializeDocumentSensitivityInspectionTemplateIncludes(&sv.Includes, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7844,7 +7717,6 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.Name = ptr.String(jtv) } - case "sensitivityInspectionTemplateId": if value != nil { jtv, ok := value.(string) @@ -7853,7 +7725,6 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.SensitivityInspectionTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -8027,12 +7898,10 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.NextToken = ptr.String(jtv) } - case "records": if err := awsRestjson1_deserializeDocument__listOfUsageRecord(&sv.Records, value); err != nil { return err } - case "timeRange": if value != nil { jtv, ok := value.(string) @@ -8041,7 +7910,6 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.TimeRange = types.TimeRange(jtv) } - default: _, _ = key, value @@ -8215,12 +8083,10 @@ func awsRestjson1_deserializeOpDocumentGetUsageTotalsOutput(v **GetUsageTotalsOu } sv.TimeRange = types.TimeRange(jtv) } - case "usageTotals": if err := awsRestjson1_deserializeDocument__listOfUsageTotal(&sv.UsageTotals, value); err != nil { return err } - default: _, _ = key, value @@ -8381,7 +8247,6 @@ func awsRestjson1_deserializeOpDocumentListAllowListsOutput(v **ListAllowListsOu if err := awsRestjson1_deserializeDocument__listOfAllowListSummary(&sv.AllowLists, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8390,7 +8255,6 @@ func awsRestjson1_deserializeOpDocumentListAllowListsOutput(v **ListAllowListsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8554,7 +8418,6 @@ func awsRestjson1_deserializeOpDocumentListAutomatedDiscoveryAccountsOutput(v ** if err := awsRestjson1_deserializeDocument__listOfAutomatedDiscoveryAccount(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8563,7 +8426,6 @@ func awsRestjson1_deserializeOpDocumentListAutomatedDiscoveryAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8733,7 +8595,6 @@ func awsRestjson1_deserializeOpDocumentListClassificationJobsOutput(v **ListClas if err := awsRestjson1_deserializeDocument__listOfJobSummary(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8742,7 +8603,6 @@ func awsRestjson1_deserializeOpDocumentListClassificationJobsOutput(v **ListClas } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8903,7 +8763,6 @@ func awsRestjson1_deserializeOpDocumentListClassificationScopesOutput(v **ListCl if err := awsRestjson1_deserializeDocument__listOfClassificationScopeSummary(&sv.ClassificationScopes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8912,7 +8771,6 @@ func awsRestjson1_deserializeOpDocumentListClassificationScopesOutput(v **ListCl } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9082,7 +8940,6 @@ func awsRestjson1_deserializeOpDocumentListCustomDataIdentifiersOutput(v **ListC if err := awsRestjson1_deserializeDocument__listOfCustomDataIdentifierSummary(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9091,7 +8948,6 @@ func awsRestjson1_deserializeOpDocumentListCustomDataIdentifiersOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9261,7 +9117,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocument__listOf__string(&sv.FindingIds, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9270,7 +9125,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9440,7 +9294,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsFiltersOutput(v **ListFinding if err := awsRestjson1_deserializeDocument__listOfFindingsFilterListItem(&sv.FindingsFilterListItems, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9449,7 +9302,6 @@ func awsRestjson1_deserializeOpDocumentListFindingsFiltersOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9619,7 +9471,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocument__listOfInvitation(&sv.Invitations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9628,7 +9479,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9777,7 +9627,6 @@ func awsRestjson1_deserializeOpDocumentListManagedDataIdentifiersOutput(v **List if err := awsRestjson1_deserializeDocument__listOfManagedDataIdentifierSummary(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9786,7 +9635,6 @@ func awsRestjson1_deserializeOpDocumentListManagedDataIdentifiersOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9956,7 +9804,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocument__listOfMember(&sv.Members, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9812,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10135,7 +9981,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocument__listOfAdminAccount(&sv.AdminAccounts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10144,7 +9989,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10308,7 +10152,6 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileArtifactsOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfResourceProfileArtifact(&sv.Artifacts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10317,7 +10160,6 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileArtifactsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10484,7 +10326,6 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileDetectionsOutput(v **L if err := awsRestjson1_deserializeDocument__listOfDetection(&sv.Detections, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10493,7 +10334,6 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileDetectionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10661,12 +10501,10 @@ func awsRestjson1_deserializeOpDocumentListSensitivityInspectionTemplatesOutput( } sv.NextToken = ptr.String(jtv) } - case "sensitivityInspectionTemplates": if err := awsRestjson1_deserializeDocument__listOfSensitivityInspectionTemplatesEntry(&sv.SensitivityInspectionTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -10815,7 +10653,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10985,7 +10822,6 @@ func awsRestjson1_deserializeOpDocumentPutClassificationExportConfigurationOutpu if err := awsRestjson1_deserializeDocumentClassificationExportConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -11261,7 +11097,6 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources if err := awsRestjson1_deserializeDocument__listOfMatchingResource(&sv.MatchingResources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11270,7 +11105,6 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11533,7 +11367,6 @@ func awsRestjson1_deserializeOpDocumentTestCustomDataIdentifierOutput(v **TestCu } sv.MatchCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11786,7 +11619,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAllowListOutput(v **UpdateAllowList } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11795,7 +11627,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAllowListOutput(v **UpdateAllowList } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12272,7 +12103,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingsFilterOutput(v **UpdateFind } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12281,7 +12111,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingsFilterOutput(v **UpdateFind } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12966,12 +12795,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRevealConfigurationOutput(v **Updat if err := awsRestjson1_deserializeDocumentRevealConfiguration(&sv.Configuration, value); err != nil { return err } - case "retrievalConfiguration": if err := awsRestjson1_deserializeDocumentRetrievalConfiguration(&sv.RetrievalConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14527,7 +14354,6 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } - case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -14536,7 +14362,6 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14566,15 +14391,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14582,15 +14401,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14621,7 +14436,6 @@ func awsRestjson1_deserializeDocumentAccountLevelPermissions(v **types.AccountLe if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } - default: _, _ = key, value @@ -14661,7 +14475,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AccountId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14670,7 +14483,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.Status = types.AdminStatus(jtv) } - default: _, _ = key, value @@ -14710,12 +14522,10 @@ func awsRestjson1_deserializeDocumentAllowListCriteria(v **types.AllowListCriter } sv.Regex = ptr.String(jtv) } - case "s3WordsList": if err := awsRestjson1_deserializeDocumentS3WordsList(&sv.S3WordsList, value); err != nil { return err } - default: _, _ = key, value @@ -14755,7 +14565,6 @@ func awsRestjson1_deserializeDocumentAllowListStatus(v **types.AllowListStatus, } sv.Code = types.AllowListStatusCode(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14764,7 +14573,6 @@ func awsRestjson1_deserializeDocumentAllowListStatus(v **types.AllowListStatus, } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -14804,7 +14612,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14817,7 +14624,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14826,7 +14632,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14835,7 +14640,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14844,7 +14648,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Name = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14857,7 +14660,6 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -14897,7 +14699,6 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.Api = ptr.String(jtv) } - case "apiServiceName": if value != nil { jtv, ok := value.(string) @@ -14906,7 +14707,6 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.ApiServiceName = ptr.String(jtv) } - case "firstSeen": if value != nil { jtv, ok := value.(string) @@ -14919,7 +14719,6 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.FirstSeen = ptr.Time(t) } - case "lastSeen": if value != nil { jtv, ok := value.(string) @@ -14932,7 +14731,6 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.LastSeen = ptr.Time(t) } - default: _, _ = key, value @@ -14972,7 +14770,6 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.AccessKeyId = ptr.String(jtv) } - case "accountId": if value != nil { jtv, ok := value.(string) @@ -14981,7 +14778,6 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -14990,7 +14786,6 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.Arn = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -14999,12 +14794,10 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.PrincipalId = ptr.String(jtv) } - case "sessionContext": if err := awsRestjson1_deserializeDocumentSessionContext(&sv.SessionContext, value); err != nil { return err } - default: _, _ = key, value @@ -15044,7 +14837,6 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccount(v **types.Automat } sv.AccountId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15053,7 +14845,6 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccount(v **types.Automat } sv.Status = types.AutomatedDiscoveryAccountStatus(jtv) } - default: _, _ = key, value @@ -15093,7 +14884,6 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccountUpdateError(v **ty } sv.AccountId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -15102,7 +14892,6 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccountUpdateError(v **ty } sv.ErrorCode = types.AutomatedDiscoveryAccountUpdateErrorCode(jtv) } - default: _, _ = key, value @@ -15142,7 +14931,6 @@ func awsRestjson1_deserializeDocumentAwsAccount(v **types.AwsAccount, value inte } sv.AccountId = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -15151,7 +14939,6 @@ func awsRestjson1_deserializeDocumentAwsAccount(v **types.AwsAccount, value inte } sv.PrincipalId = ptr.String(jtv) } - default: _, _ = key, value @@ -15191,7 +14978,6 @@ func awsRestjson1_deserializeDocumentAwsService(v **types.AwsService, value inte } sv.InvokedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -15231,7 +15017,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15244,7 +15029,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.CreatedAt = ptr.Time(t) } - case "deleted": if value != nil { jtv, ok := value.(bool) @@ -15253,7 +15037,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Deleted = ptr.Bool(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15262,7 +15045,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15271,7 +15053,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15280,7 +15061,6 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15320,7 +15100,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicAcls = ptr.Bool(jtv) } - case "blockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -15329,7 +15108,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicPolicy = ptr.Bool(jtv) } - case "ignorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -15338,7 +15116,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.IgnorePublicAcls = ptr.Bool(jtv) } - case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -15347,7 +15124,6 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.RestrictPublicBuckets = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15391,7 +15167,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyAccessible = ptr.Int64(i64) } - case "publiclyReadable": if value != nil { jtv, ok := value.(json.Number) @@ -15404,7 +15179,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyReadable = ptr.Int64(i64) } - case "publiclyWritable": if value != nil { jtv, ok := value.(json.Number) @@ -15417,7 +15191,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyWritable = ptr.Int64(i64) } - case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15430,7 +15203,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.Unknown = ptr.Int64(i64) } - default: _, _ = key, value @@ -15474,7 +15246,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.KmsManaged = ptr.Int64(i64) } - case "s3Managed": if value != nil { jtv, ok := value.(json.Number) @@ -15487,7 +15258,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.S3Managed = ptr.Int64(i64) } - case "unencrypted": if value != nil { jtv, ok := value.(json.Number) @@ -15500,7 +15270,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.Unencrypted = ptr.Int64(i64) } - case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15513,7 +15282,6 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.Unknown = ptr.Int64(i64) } - default: _, _ = key, value @@ -15557,7 +15325,6 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.External = ptr.Int64(i64) } - case "internal": if value != nil { jtv, ok := value.(json.Number) @@ -15570,7 +15337,6 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.Internal = ptr.Int64(i64) } - case "notShared": if value != nil { jtv, ok := value.(json.Number) @@ -15583,7 +15349,6 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.NotShared = ptr.Int64(i64) } - case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15596,7 +15361,6 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.Unknown = ptr.Int64(i64) } - default: _, _ = key, value @@ -15640,7 +15404,6 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.AllowsUnencryptedObjectUploads = ptr.Int64(i64) } - case "deniesUnencryptedObjectUploads": if value != nil { jtv, ok := value.(json.Number) @@ -15653,7 +15416,6 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.DeniesUnencryptedObjectUploads = ptr.Int64(i64) } - case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15666,7 +15428,6 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.Unknown = ptr.Int64(i64) } - default: _, _ = key, value @@ -15702,17 +15463,14 @@ func awsRestjson1_deserializeDocumentBucketLevelPermissions(v **types.BucketLeve if err := awsRestjson1_deserializeDocumentAccessControlList(&sv.AccessControlList, value); err != nil { return err } - case "blockPublicAccess": if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } - case "bucketPolicy": if err := awsRestjson1_deserializeDocumentBucketPolicy(&sv.BucketPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -15752,7 +15510,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AccountId = ptr.String(jtv) } - case "allowsUnencryptedObjectUploads": if value != nil { jtv, ok := value.(string) @@ -15761,7 +15518,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AllowsUnencryptedObjectUploads = types.AllowsUnencryptedObjectUploads(jtv) } - case "automatedDiscoveryMonitoringStatus": if value != nil { jtv, ok := value.(string) @@ -15770,7 +15526,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AutomatedDiscoveryMonitoringStatus = types.AutomatedDiscoveryMonitoringStatus(jtv) } - case "bucketArn": if value != nil { jtv, ok := value.(string) @@ -15779,7 +15534,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketArn = ptr.String(jtv) } - case "bucketCreatedAt": if value != nil { jtv, ok := value.(string) @@ -15792,7 +15546,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketCreatedAt = ptr.Time(t) } - case "bucketName": if value != nil { jtv, ok := value.(string) @@ -15801,7 +15554,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketName = ptr.String(jtv) } - case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -15814,7 +15566,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ClassifiableObjectCount = ptr.Int64(i64) } - case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15827,7 +15578,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -15836,7 +15586,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ErrorCode = types.BucketMetadataErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -15845,12 +15594,10 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ErrorMessage = ptr.String(jtv) } - case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } - case "lastAutomatedDiscoveryTime": if value != nil { jtv, ok := value.(string) @@ -15863,7 +15610,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.LastAutomatedDiscoveryTime = ptr.Time(t) } - case "lastUpdated": if value != nil { jtv, ok := value.(string) @@ -15876,7 +15622,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.LastUpdated = ptr.Time(t) } - case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -15889,17 +15634,14 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ObjectCount = ptr.Int64(i64) } - case "objectCountByEncryptionType": if err := awsRestjson1_deserializeDocumentObjectCountByEncryptionType(&sv.ObjectCountByEncryptionType, value); err != nil { return err } - case "publicAccess": if err := awsRestjson1_deserializeDocumentBucketPublicAccess(&sv.PublicAccess, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -15908,12 +15650,10 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.Region = ptr.String(jtv) } - case "replicationDetails": if err := awsRestjson1_deserializeDocumentReplicationDetails(&sv.ReplicationDetails, value); err != nil { return err } - case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -15926,12 +15666,10 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SensitivityScore = ptr.Int32(int32(i64)) } - case "serverSideEncryption": if err := awsRestjson1_deserializeDocumentBucketServerSideEncryption(&sv.ServerSideEncryption, value); err != nil { return err } - case "sharedAccess": if value != nil { jtv, ok := value.(string) @@ -15940,7 +15678,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SharedAccess = types.SharedAccess(jtv) } - case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15953,7 +15690,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SizeInBytes = ptr.Int64(i64) } - case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -15966,22 +15702,18 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SizeInBytesCompressed = ptr.Int64(i64) } - case "tags": if err := awsRestjson1_deserializeDocument__listOfKeyValuePair(&sv.Tags, value); err != nil { return err } - case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } - case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } - case "versioning": if value != nil { jtv, ok := value.(bool) @@ -15990,7 +15722,6 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.Versioning = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16026,12 +15757,10 @@ func awsRestjson1_deserializeDocumentBucketPermissionConfiguration(v **types.Buc if err := awsRestjson1_deserializeDocumentAccountLevelPermissions(&sv.AccountLevelPermissions, value); err != nil { return err } - case "bucketLevelPermissions": if err := awsRestjson1_deserializeDocumentBucketLevelPermissions(&sv.BucketLevelPermissions, value); err != nil { return err } - default: _, _ = key, value @@ -16071,7 +15800,6 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } - case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -16080,7 +15808,6 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16120,12 +15847,10 @@ func awsRestjson1_deserializeDocumentBucketPublicAccess(v **types.BucketPublicAc } sv.EffectivePermission = types.EffectivePermission(jtv) } - case "permissionConfiguration": if err := awsRestjson1_deserializeDocumentBucketPermissionConfiguration(&sv.PermissionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16165,7 +15890,6 @@ func awsRestjson1_deserializeDocumentBucketServerSideEncryption(v **types.Bucket } sv.KmsMasterKeyId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16174,7 +15898,6 @@ func awsRestjson1_deserializeDocumentBucketServerSideEncryption(v **types.Bucket } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -16210,22 +15933,18 @@ func awsRestjson1_deserializeDocumentBucketStatisticsBySensitivity(v **types.Buc if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.ClassificationError, value); err != nil { return err } - case "notClassified": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.NotClassified, value); err != nil { return err } - case "notSensitive": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.NotSensitive, value); err != nil { return err } - case "sensitive": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.Sensitive, value); err != nil { return err } - default: _, _ = key, value @@ -16265,7 +15984,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.CellReference = ptr.String(jtv) } - case "column": if value != nil { jtv, ok := value.(json.Number) @@ -16278,7 +15996,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Column = ptr.Int64(i64) } - case "columnName": if value != nil { jtv, ok := value.(string) @@ -16287,7 +16004,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.ColumnName = ptr.String(jtv) } - case "row": if value != nil { jtv, ok := value.(json.Number) @@ -16300,7 +16016,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Row = ptr.Int64(i64) } - default: _, _ = key, value @@ -16374,7 +16089,6 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.DetailedResultsLocation = ptr.String(jtv) } - case "jobArn": if value != nil { jtv, ok := value.(string) @@ -16383,7 +16097,6 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.JobArn = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -16392,7 +16105,6 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.JobId = ptr.String(jtv) } - case "originType": if value != nil { jtv, ok := value.(string) @@ -16401,12 +16113,10 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.OriginType = types.OriginType(jtv) } - case "result": if err := awsRestjson1_deserializeDocumentClassificationResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -16442,7 +16152,6 @@ func awsRestjson1_deserializeDocumentClassificationExportConfiguration(v **types if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -16482,12 +16191,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.AdditionalOccurrences = ptr.Bool(jtv) } - case "customDataIdentifiers": if err := awsRestjson1_deserializeDocumentCustomDataIdentifiers(&sv.CustomDataIdentifiers, value); err != nil { return err } - case "mimeType": if value != nil { jtv, ok := value.(string) @@ -16496,12 +16203,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.MimeType = ptr.String(jtv) } - case "sensitiveData": if err := awsRestjson1_deserializeDocumentSensitiveData(&sv.SensitiveData, value); err != nil { return err } - case "sizeClassified": if value != nil { jtv, ok := value.(json.Number) @@ -16514,12 +16219,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.SizeClassified = ptr.Int64(i64) } - case "status": if err := awsRestjson1_deserializeDocumentClassificationResultStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -16559,7 +16262,6 @@ func awsRestjson1_deserializeDocumentClassificationResultStatus(v **types.Classi } sv.Code = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -16568,7 +16270,6 @@ func awsRestjson1_deserializeDocumentClassificationResultStatus(v **types.Classi } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -16608,7 +16309,6 @@ func awsRestjson1_deserializeDocumentClassificationScopeSummary(v **types.Classi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16617,7 +16317,6 @@ func awsRestjson1_deserializeDocumentClassificationScopeSummary(v **types.Classi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16647,15 +16346,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16663,15 +16356,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16702,7 +16391,6 @@ func awsRestjson1_deserializeDocumentCriteriaBlockForJob(v **types.CriteriaBlock if err := awsRestjson1_deserializeDocument__listOfCriteriaForJob(&sv.And, value); err != nil { return err } - default: _, _ = key, value @@ -16738,12 +16426,10 @@ func awsRestjson1_deserializeDocumentCriteriaForJob(v **types.CriteriaForJob, va if err := awsRestjson1_deserializeDocumentSimpleCriterionForJob(&sv.SimpleCriterion, value); err != nil { return err } - case "tagCriterion": if err := awsRestjson1_deserializeDocumentTagCriterionForJob(&sv.TagCriterion, value); err != nil { return err } - default: _, _ = key, value @@ -16814,12 +16500,10 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Eq, value); err != nil { return err } - case "eqExactMatch": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.EqExactMatch, value); err != nil { return err } - case "gt": if value != nil { jtv, ok := value.(json.Number) @@ -16832,7 +16516,6 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Gt = ptr.Int64(i64) } - case "gte": if value != nil { jtv, ok := value.(json.Number) @@ -16845,7 +16528,6 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Gte = ptr.Int64(i64) } - case "lt": if value != nil { jtv, ok := value.(json.Number) @@ -16858,7 +16540,6 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Lt = ptr.Int64(i64) } - case "lte": if value != nil { jtv, ok := value.(json.Number) @@ -16871,12 +16552,10 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Lte = ptr.Int64(i64) } - case "neq": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Neq, value); err != nil { return err } - default: _, _ = key, value @@ -16912,7 +16591,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiers(v **types.CustomDataI if err := awsRestjson1_deserializeDocumentCustomDetections(&sv.Detections, value); err != nil { return err } - case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -16925,7 +16603,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiers(v **types.CustomDataI } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -16965,7 +16642,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -16978,7 +16654,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16987,7 +16662,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16996,7 +16670,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17005,7 +16678,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -17045,7 +16717,6 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Arn = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -17058,7 +16729,6 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Count = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17067,12 +16737,10 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Name = ptr.String(jtv) } - case "occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } - default: _, _ = key, value @@ -17181,12 +16849,10 @@ func awsRestjson1_deserializeDocumentDefaultDetection(v **types.DefaultDetection } sv.Count = ptr.Int64(i64) } - case "occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17195,7 +16861,6 @@ func awsRestjson1_deserializeDocumentDefaultDetection(v **types.DefaultDetection } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -17269,7 +16934,6 @@ func awsRestjson1_deserializeDocumentDetectedDataDetails(v **types.DetectedDataD } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17309,7 +16973,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Arn = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -17322,7 +16985,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Count = ptr.Int64(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17331,7 +16993,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17340,7 +17001,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Name = ptr.String(jtv) } - case "suppressed": if value != nil { jtv, ok := value.(bool) @@ -17349,7 +17009,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Suppressed = ptr.Bool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17358,7 +17017,6 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Type = types.DataIdentifierType(jtv) } - default: _, _ = key, value @@ -17398,7 +17056,6 @@ func awsRestjson1_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainName = ptr.String(jtv) } - default: _, _ = key, value @@ -17438,7 +17095,6 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.AccessKeyId = ptr.String(jtv) } - case "accountId": if value != nil { jtv, ok := value.(string) @@ -17447,7 +17103,6 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17456,7 +17111,6 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.Arn = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -17465,12 +17119,10 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.PrincipalId = ptr.String(jtv) } - case "sessionContext": if err := awsRestjson1_deserializeDocumentSessionContext(&sv.SessionContext, value); err != nil { return err } - default: _, _ = key, value @@ -17510,7 +17162,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AccountId = ptr.String(jtv) } - case "archived": if value != nil { jtv, ok := value.(bool) @@ -17519,7 +17170,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Archived = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -17528,12 +17178,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Category = types.FindingCategory(jtv) } - case "classificationDetails": if err := awsRestjson1_deserializeDocumentClassificationDetails(&sv.ClassificationDetails, value); err != nil { return err } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -17546,7 +17194,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Count = ptr.Int64(i64) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17559,7 +17206,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17568,7 +17214,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17577,7 +17222,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "partition": if value != nil { jtv, ok := value.(string) @@ -17586,12 +17230,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Partition = ptr.String(jtv) } - case "policyDetails": if err := awsRestjson1_deserializeDocumentPolicyDetails(&sv.PolicyDetails, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -17600,12 +17242,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Region = ptr.String(jtv) } - case "resourcesAffected": if err := awsRestjson1_deserializeDocumentResourcesAffected(&sv.ResourcesAffected, value); err != nil { return err } - case "sample": if value != nil { jtv, ok := value.(bool) @@ -17614,7 +17254,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Sample = ptr.Bool(jtv) } - case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -17623,12 +17262,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = ptr.String(jtv) } - case "severity": if err := awsRestjson1_deserializeDocumentSeverity(&sv.Severity, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -17637,7 +17274,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17646,7 +17282,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = types.FindingType(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -17659,7 +17294,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -17699,12 +17333,10 @@ func awsRestjson1_deserializeDocumentFindingAction(v **types.FindingAction, valu } sv.ActionType = types.FindingActionType(jtv) } - case "apiCallDetails": if err := awsRestjson1_deserializeDocumentApiCallDetails(&sv.ApiCallDetails, value); err != nil { return err } - default: _, _ = key, value @@ -17740,17 +17372,14 @@ func awsRestjson1_deserializeDocumentFindingActor(v **types.FindingActor, value if err := awsRestjson1_deserializeDocumentDomainDetails(&sv.DomainDetails, value); err != nil { return err } - case "ipAddressDetails": if err := awsRestjson1_deserializeDocumentIpAddressDetails(&sv.IpAddressDetails, value); err != nil { return err } - case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } - default: _, _ = key, value @@ -17786,7 +17415,6 @@ func awsRestjson1_deserializeDocumentFindingCriteria(v **types.FindingCriteria, if err := awsRestjson1_deserializeDocumentCriterion(&sv.Criterion, value); err != nil { return err } - default: _, _ = key, value @@ -17826,7 +17454,6 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Action = types.FindingsFilterAction(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17835,7 +17462,6 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17844,7 +17470,6 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17853,12 +17478,10 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17902,7 +17525,6 @@ func awsRestjson1_deserializeDocumentGroupCount(v **types.GroupCount, value inte } sv.Count = ptr.Int64(i64) } - case "groupKey": if value != nil { jtv, ok := value.(string) @@ -17911,7 +17533,6 @@ func awsRestjson1_deserializeDocumentGroupCount(v **types.GroupCount, value inte } sv.GroupKey = ptr.String(jtv) } - default: _, _ = key, value @@ -17951,7 +17572,6 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17960,7 +17580,6 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.Arn = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -17969,7 +17588,6 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.PrincipalId = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -17978,7 +17596,6 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -18008,15 +17625,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18024,15 +17635,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18067,7 +17674,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } - case "invitationId": if value != nil { jtv, ok := value.(string) @@ -18076,7 +17682,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -18089,7 +17694,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.Time(t) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -18098,7 +17702,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.RelationshipStatus = types.RelationshipStatus(jtv) } - default: _, _ = key, value @@ -18138,27 +17741,22 @@ func awsRestjson1_deserializeDocumentIpAddressDetails(v **types.IpAddressDetails } sv.IpAddressV4 = ptr.String(jtv) } - case "ipCity": if err := awsRestjson1_deserializeDocumentIpCity(&sv.IpCity, value); err != nil { return err } - case "ipCountry": if err := awsRestjson1_deserializeDocumentIpCountry(&sv.IpCountry, value); err != nil { return err } - case "ipGeoLocation": if err := awsRestjson1_deserializeDocumentIpGeoLocation(&sv.IpGeoLocation, value); err != nil { return err } - case "ipOwner": if err := awsRestjson1_deserializeDocumentIpOwner(&sv.IpOwner, value); err != nil { return err } - default: _, _ = key, value @@ -18198,7 +17796,6 @@ func awsRestjson1_deserializeDocumentIpCity(v **types.IpCity, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18238,7 +17835,6 @@ func awsRestjson1_deserializeDocumentIpCountry(v **types.IpCountry, value interf } sv.Code = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18247,7 +17843,6 @@ func awsRestjson1_deserializeDocumentIpCountry(v **types.IpCountry, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18312,7 +17907,6 @@ func awsRestjson1_deserializeDocumentIpGeoLocation(v **types.IpGeoLocation, valu } } - case "lon": if value != nil { switch jtv := value.(type) { @@ -18346,7 +17940,6 @@ func awsRestjson1_deserializeDocumentIpGeoLocation(v **types.IpGeoLocation, valu } } - default: _, _ = key, value @@ -18386,7 +17979,6 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Asn = ptr.String(jtv) } - case "asnOrg": if value != nil { jtv, ok := value.(string) @@ -18395,7 +17987,6 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.AsnOrg = ptr.String(jtv) } - case "isp": if value != nil { jtv, ok := value.(string) @@ -18404,7 +17995,6 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Isp = ptr.String(jtv) } - case "org": if value != nil { jtv, ok := value.(string) @@ -18413,7 +18003,6 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Org = ptr.String(jtv) } - default: _, _ = key, value @@ -18453,7 +18042,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.IsDefinedInJob = types.IsDefinedInJob(jtv) } - case "isMonitoredByJob": if value != nil { jtv, ok := value.(string) @@ -18462,7 +18050,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.IsMonitoredByJob = types.IsMonitoredByJob(jtv) } - case "lastJobId": if value != nil { jtv, ok := value.(string) @@ -18471,7 +18058,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.LastJobId = ptr.String(jtv) } - case "lastJobRunTime": if value != nil { jtv, ok := value.(string) @@ -18484,7 +18070,6 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.LastJobRunTime = ptr.Time(t) } - default: _, _ = key, value @@ -18520,17 +18105,14 @@ func awsRestjson1_deserializeDocumentJobScheduleFrequency(v **types.JobScheduleF if err := awsRestjson1_deserializeDocumentDailySchedule(&sv.DailySchedule, value); err != nil { return err } - case "monthlySchedule": if err := awsRestjson1_deserializeDocumentMonthlySchedule(&sv.MonthlySchedule, value); err != nil { return err } - case "weeklySchedule": if err := awsRestjson1_deserializeDocumentWeeklySchedule(&sv.WeeklySchedule, value); err != nil { return err } - default: _, _ = key, value @@ -18566,12 +18148,10 @@ func awsRestjson1_deserializeDocumentJobScopeTerm(v **types.JobScopeTerm, value if err := awsRestjson1_deserializeDocumentSimpleScopeTerm(&sv.SimpleScopeTerm, value); err != nil { return err } - case "tagScopeTerm": if err := awsRestjson1_deserializeDocumentTagScopeTerm(&sv.TagScopeTerm, value); err != nil { return err } - default: _, _ = key, value @@ -18607,7 +18187,6 @@ func awsRestjson1_deserializeDocumentJobScopingBlock(v **types.JobScopingBlock, if err := awsRestjson1_deserializeDocument__listOfJobScopeTerm(&sv.And, value); err != nil { return err } - default: _, _ = key, value @@ -18643,12 +18222,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte if err := awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(&sv.BucketCriteria, value); err != nil { return err } - case "bucketDefinitions": if err := awsRestjson1_deserializeDocument__listOfS3BucketDefinitionForJob(&sv.BucketDefinitions, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18661,7 +18238,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -18670,7 +18246,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -18679,7 +18254,6 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobStatus = types.JobStatus(jtv) } - case "jobType": if value != nil { jtv, ok := value.(string) @@ -18688,12 +18262,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobType = types.JobType(jtv) } - case "lastRunErrorStatus": if err := awsRestjson1_deserializeDocumentLastRunErrorStatus(&sv.LastRunErrorStatus, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18702,12 +18274,10 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } - case "userPausedDetails": if err := awsRestjson1_deserializeDocumentUserPausedDetails(&sv.UserPausedDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18747,7 +18317,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -18756,7 +18325,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -18830,7 +18398,6 @@ func awsRestjson1_deserializeDocumentLastRunErrorStatus(v **types.LastRunErrorSt } sv.Code = types.LastRunErrorStatusCode(jtv) } - default: _, _ = key, value @@ -18870,7 +18437,6 @@ func awsRestjson1_deserializeDocumentManagedDataIdentifierSummary(v **types.Mana } sv.Category = types.SensitiveDataItemCategory(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18879,7 +18445,6 @@ func awsRestjson1_deserializeDocumentManagedDataIdentifierSummary(v **types.Mana } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -18919,7 +18484,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.AccountId = ptr.String(jtv) } - case "automatedDiscoveryMonitoringStatus": if value != nil { jtv, ok := value.(string) @@ -18928,7 +18492,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.AutomatedDiscoveryMonitoringStatus = types.AutomatedDiscoveryMonitoringStatus(jtv) } - case "bucketName": if value != nil { jtv, ok := value.(string) @@ -18937,7 +18500,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.BucketName = ptr.String(jtv) } - case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -18950,7 +18512,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ClassifiableObjectCount = ptr.Int64(i64) } - case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18963,7 +18524,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18972,7 +18532,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ErrorCode = types.BucketMetadataErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18981,12 +18540,10 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ErrorMessage = ptr.String(jtv) } - case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } - case "lastAutomatedDiscoveryTime": if value != nil { jtv, ok := value.(string) @@ -18999,7 +18556,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.LastAutomatedDiscoveryTime = ptr.Time(t) } - case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -19012,12 +18568,10 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ObjectCount = ptr.Int64(i64) } - case "objectCountByEncryptionType": if err := awsRestjson1_deserializeDocumentObjectCountByEncryptionType(&sv.ObjectCountByEncryptionType, value); err != nil { return err } - case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -19030,7 +18584,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SensitivityScore = ptr.Int32(int32(i64)) } - case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -19043,7 +18596,6 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SizeInBytes = ptr.Int64(i64) } - case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -19056,17 +18608,14 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SizeInBytesCompressed = ptr.Int64(i64) } - case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } - case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } - default: _, _ = key, value @@ -19102,7 +18651,6 @@ func awsRestjson1_deserializeDocumentMatchingResource(v **types.MatchingResource if err := awsRestjson1_deserializeDocumentMatchingBucket(&sv.MatchingBucket, value); err != nil { return err } - default: _, _ = key, value @@ -19142,7 +18690,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "administratorAccountId": if value != nil { jtv, ok := value.(string) @@ -19151,7 +18698,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorAccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -19160,7 +18706,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Arn = ptr.String(jtv) } - case "email": if value != nil { jtv, ok := value.(string) @@ -19169,7 +18714,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } - case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -19182,7 +18726,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.Time(t) } - case "masterAccountId": if value != nil { jtv, ok := value.(string) @@ -19191,7 +18734,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterAccountId = ptr.String(jtv) } - case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -19200,12 +18742,10 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = types.RelationshipStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -19218,7 +18758,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -19262,7 +18801,6 @@ func awsRestjson1_deserializeDocumentMonthlySchedule(v **types.MonthlySchedule, } sv.DayOfMonth = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19306,7 +18844,6 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.CustomerManaged = ptr.Int64(i64) } - case "kmsManaged": if value != nil { jtv, ok := value.(json.Number) @@ -19319,7 +18856,6 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.KmsManaged = ptr.Int64(i64) } - case "s3Managed": if value != nil { jtv, ok := value.(json.Number) @@ -19332,7 +18868,6 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.S3Managed = ptr.Int64(i64) } - case "unencrypted": if value != nil { jtv, ok := value.(json.Number) @@ -19345,7 +18880,6 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.Unencrypted = ptr.Int64(i64) } - case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -19358,7 +18892,6 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.Unknown = ptr.Int64(i64) } - default: _, _ = key, value @@ -19402,7 +18935,6 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.FileType = ptr.Int64(i64) } - case "storageClass": if value != nil { jtv, ok := value.(json.Number) @@ -19415,7 +18947,6 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.StorageClass = ptr.Int64(i64) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -19428,7 +18959,6 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.Total = ptr.Int64(i64) } - default: _, _ = key, value @@ -19464,27 +18994,22 @@ func awsRestjson1_deserializeDocumentOccurrences(v **types.Occurrences, value in if err := awsRestjson1_deserializeDocumentCells(&sv.Cells, value); err != nil { return err } - case "lineRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.LineRanges, value); err != nil { return err } - case "offsetRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.OffsetRanges, value); err != nil { return err } - case "pages": if err := awsRestjson1_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } - case "records": if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -19520,12 +19045,10 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err if err := awsRestjson1_deserializeDocumentRange(&sv.LineRange, value); err != nil { return err } - case "offsetRange": if err := awsRestjson1_deserializeDocumentRange(&sv.OffsetRange, value); err != nil { return err } - case "pageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19538,7 +19061,6 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -19608,12 +19130,10 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu if err := awsRestjson1_deserializeDocumentFindingAction(&sv.Action, value); err != nil { return err } - case "actor": if err := awsRestjson1_deserializeDocumentFindingActor(&sv.Actor, value); err != nil { return err } - default: _, _ = key, value @@ -19657,7 +19177,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.End = ptr.Int64(i64) } - case "start": if value != nil { jtv, ok := value.(json.Number) @@ -19670,7 +19189,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Start = ptr.Int64(i64) } - case "startColumn": if value != nil { jtv, ok := value.(json.Number) @@ -19683,7 +19201,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.StartColumn = ptr.Int64(i64) } - default: _, _ = key, value @@ -19757,7 +19274,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.JsonPath = ptr.String(jtv) } - case "recordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -19770,7 +19286,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.RecordIndex = ptr.Int64(i64) } - default: _, _ = key, value @@ -19844,7 +19359,6 @@ func awsRestjson1_deserializeDocumentReplicationDetails(v **types.ReplicationDet } sv.Replicated = ptr.Bool(jtv) } - case "replicatedExternally": if value != nil { jtv, ok := value.(bool) @@ -19853,12 +19367,10 @@ func awsRestjson1_deserializeDocumentReplicationDetails(v **types.ReplicationDet } sv.ReplicatedExternally = ptr.Bool(jtv) } - case "replicationAccounts": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReplicationAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -19888,15 +19400,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19904,15 +19410,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19947,7 +19449,6 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.Arn = ptr.String(jtv) } - case "classificationResultStatus": if value != nil { jtv, ok := value.(string) @@ -19956,7 +19457,6 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.ClassificationResultStatus = ptr.String(jtv) } - case "sensitive": if value != nil { jtv, ok := value.(bool) @@ -19965,7 +19465,6 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.Sensitive = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20001,12 +19500,10 @@ func awsRestjson1_deserializeDocumentResourcesAffected(v **types.ResourcesAffect if err := awsRestjson1_deserializeDocumentS3Bucket(&sv.S3Bucket, value); err != nil { return err } - case "s3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -20050,7 +19547,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalBytesClassified = ptr.Int64(i64) } - case "totalDetections": if value != nil { jtv, ok := value.(json.Number) @@ -20063,7 +19559,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalDetections = ptr.Int64(i64) } - case "totalDetectionsSuppressed": if value != nil { jtv, ok := value.(json.Number) @@ -20076,7 +19571,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalDetectionsSuppressed = ptr.Int64(i64) } - case "totalItemsClassified": if value != nil { jtv, ok := value.(json.Number) @@ -20089,7 +19583,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsClassified = ptr.Int64(i64) } - case "totalItemsSensitive": if value != nil { jtv, ok := value.(json.Number) @@ -20102,7 +19595,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSensitive = ptr.Int64(i64) } - case "totalItemsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -20115,7 +19607,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkipped = ptr.Int64(i64) } - case "totalItemsSkippedInvalidEncryption": if value != nil { jtv, ok := value.(json.Number) @@ -20128,7 +19619,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedInvalidEncryption = ptr.Int64(i64) } - case "totalItemsSkippedInvalidKms": if value != nil { jtv, ok := value.(json.Number) @@ -20141,7 +19631,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedInvalidKms = ptr.Int64(i64) } - case "totalItemsSkippedPermissionDenied": if value != nil { jtv, ok := value.(json.Number) @@ -20154,7 +19643,6 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedPermissionDenied = ptr.Int64(i64) } - default: _, _ = key, value @@ -20194,7 +19682,6 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.ExternalId = ptr.String(jtv) } - case "retrievalMode": if value != nil { jtv, ok := value.(string) @@ -20203,7 +19690,6 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.RetrievalMode = types.RetrievalMode(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -20212,7 +19698,6 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.RoleName = ptr.String(jtv) } - default: _, _ = key, value @@ -20252,7 +19737,6 @@ func awsRestjson1_deserializeDocumentRevealConfiguration(v **types.RevealConfigu } sv.KmsKeyId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20261,7 +19745,6 @@ func awsRestjson1_deserializeDocumentRevealConfiguration(v **types.RevealConfigu } sv.Status = types.RevealStatus(jtv) } - default: _, _ = key, value @@ -20301,7 +19784,6 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.AllowsUnencryptedObjectUploads = types.AllowsUnencryptedObjectUploads(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -20310,7 +19792,6 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20323,12 +19804,10 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.CreatedAt = ptr.Time(t) } - case "defaultServerSideEncryption": if err := awsRestjson1_deserializeDocumentServerSideEncryption(&sv.DefaultServerSideEncryption, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -20337,22 +19816,18 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Name = ptr.String(jtv) } - case "owner": if err := awsRestjson1_deserializeDocumentS3BucketOwner(&sv.Owner, value); err != nil { return err } - case "publicAccess": if err := awsRestjson1_deserializeDocumentBucketPublicAccess(&sv.PublicAccess, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentKeyValuePairList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20388,12 +19863,10 @@ func awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(v **types.S3BucketCr if err := awsRestjson1_deserializeDocumentCriteriaBlockForJob(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsRestjson1_deserializeDocumentCriteriaBlockForJob(&sv.Includes, value); err != nil { return err } - default: _, _ = key, value @@ -20433,12 +19906,10 @@ func awsRestjson1_deserializeDocumentS3BucketDefinitionForJob(v **types.S3Bucket } sv.AccountId = ptr.String(jtv) } - case "buckets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Buckets, value); err != nil { return err } - default: _, _ = key, value @@ -20478,7 +19949,6 @@ func awsRestjson1_deserializeDocumentS3BucketOwner(v **types.S3BucketOwner, valu } sv.DisplayName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20487,7 +19957,6 @@ func awsRestjson1_deserializeDocumentS3BucketOwner(v **types.S3BucketOwner, valu } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -20523,7 +19992,6 @@ func awsRestjson1_deserializeDocumentS3ClassificationScope(v **types.S3Classific if err := awsRestjson1_deserializeDocumentS3ClassificationScopeExclusion(&sv.Excludes, value); err != nil { return err } - default: _, _ = key, value @@ -20559,7 +20027,6 @@ func awsRestjson1_deserializeDocumentS3ClassificationScopeExclusion(v **types.S3 if err := awsRestjson1_deserializeDocument__listOfS3BucketName(&sv.BucketNames, value); err != nil { return err } - default: _, _ = key, value @@ -20599,7 +20066,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.BucketName = ptr.String(jtv) } - case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -20608,7 +20074,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KeyPrefix = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -20617,7 +20082,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20653,17 +20117,14 @@ func awsRestjson1_deserializeDocumentS3JobDefinition(v **types.S3JobDefinition, if err := awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(&sv.BucketCriteria, value); err != nil { return err } - case "bucketDefinitions": if err := awsRestjson1_deserializeDocument__listOfS3BucketDefinitionForJob(&sv.BucketDefinitions, value); err != nil { return err } - case "scoping": if err := awsRestjson1_deserializeDocumentScoping(&sv.Scoping, value); err != nil { return err } - default: _, _ = key, value @@ -20703,7 +20164,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.BucketArn = ptr.String(jtv) } - case "eTag": if value != nil { jtv, ok := value.(string) @@ -20712,7 +20172,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.ETag = ptr.String(jtv) } - case "extension": if value != nil { jtv, ok := value.(string) @@ -20721,7 +20180,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Extension = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -20730,7 +20188,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -20743,7 +20200,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.LastModified = ptr.Time(t) } - case "path": if value != nil { jtv, ok := value.(string) @@ -20752,7 +20208,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Path = ptr.String(jtv) } - case "publicAccess": if value != nil { jtv, ok := value.(bool) @@ -20761,12 +20216,10 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.PublicAccess = ptr.Bool(jtv) } - case "serverSideEncryption": if err := awsRestjson1_deserializeDocumentServerSideEncryption(&sv.ServerSideEncryption, value); err != nil { return err } - case "size": if value != nil { jtv, ok := value.(json.Number) @@ -20779,7 +20232,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Size = ptr.Int64(i64) } - case "storageClass": if value != nil { jtv, ok := value.(string) @@ -20788,12 +20240,10 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.StorageClass = types.StorageClass(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentKeyValuePairList(&sv.Tags, value); err != nil { return err } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -20802,7 +20252,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -20842,7 +20291,6 @@ func awsRestjson1_deserializeDocumentS3WordsList(v **types.S3WordsList, value in } sv.BucketName = ptr.String(jtv) } - case "objectKey": if value != nil { jtv, ok := value.(string) @@ -20851,7 +20299,6 @@ func awsRestjson1_deserializeDocumentS3WordsList(v **types.S3WordsList, value in } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -20887,12 +20334,10 @@ func awsRestjson1_deserializeDocumentScoping(v **types.Scoping, value interface{ if err := awsRestjson1_deserializeDocumentJobScopingBlock(&sv.Excludes, value); err != nil { return err } - case "includes": if err := awsRestjson1_deserializeDocumentJobScopingBlock(&sv.Includes, value); err != nil { return err } - default: _, _ = key, value @@ -20932,7 +20377,6 @@ func awsRestjson1_deserializeDocumentSecurityHubConfiguration(v **types.Security } sv.PublishClassificationFindings = ptr.Bool(jtv) } - case "publishPolicyFindings": if value != nil { jtv, ok := value.(bool) @@ -20941,7 +20385,6 @@ func awsRestjson1_deserializeDocumentSecurityHubConfiguration(v **types.Security } sv.PublishPolicyFindings = ptr.Bool(jtv) } - default: _, _ = key, value @@ -21015,12 +20458,10 @@ func awsRestjson1_deserializeDocumentSensitiveDataItem(v **types.SensitiveDataIt } sv.Category = types.SensitiveDataItemCategory(jtv) } - case "detections": if err := awsRestjson1_deserializeDocumentDefaultDetections(&sv.Detections, value); err != nil { return err } - case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -21033,7 +20474,6 @@ func awsRestjson1_deserializeDocumentSensitiveDataItem(v **types.SensitiveDataIt } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -21111,7 +20551,6 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } - case "publiclyAccessibleCount": if value != nil { jtv, ok := value.(json.Number) @@ -21124,7 +20563,6 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.PubliclyAccessibleCount = ptr.Int64(i64) } - case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -21137,7 +20575,6 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.TotalCount = ptr.Int64(i64) } - case "totalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21150,7 +20587,6 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.TotalSizeInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -21186,7 +20622,6 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplateExcludes(v **t if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } - default: _, _ = key, value @@ -21222,17 +20657,14 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplateIncludes(v **t if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowListIds, value); err != nil { return err } - case "customDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CustomDataIdentifierIds, value); err != nil { return err } - case "managedDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } - default: _, _ = key, value @@ -21272,7 +20704,6 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplatesEntry(v **typ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21281,7 +20712,6 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplatesEntry(v **typ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21321,7 +20751,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryption(v **types.ServerSideEn } sv.EncryptionType = types.EncryptionType(jtv) } - case "kmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -21330,7 +20759,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryption(v **types.ServerSideEn } sv.KmsMasterKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -21370,7 +20798,6 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.IsServiceLimited = ptr.Bool(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -21379,7 +20806,6 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.Unit = types.Unit(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -21392,7 +20818,6 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -21422,15 +20847,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21438,15 +20857,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21477,12 +20892,10 @@ func awsRestjson1_deserializeDocumentSessionContext(v **types.SessionContext, va if err := awsRestjson1_deserializeDocumentSessionContextAttributes(&sv.Attributes, value); err != nil { return err } - case "sessionIssuer": if err := awsRestjson1_deserializeDocumentSessionIssuer(&sv.SessionIssuer, value); err != nil { return err } - default: _, _ = key, value @@ -21526,7 +20939,6 @@ func awsRestjson1_deserializeDocumentSessionContextAttributes(v **types.SessionC } sv.CreationDate = ptr.Time(t) } - case "mfaAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -21535,7 +20947,6 @@ func awsRestjson1_deserializeDocumentSessionContextAttributes(v **types.SessionC } sv.MfaAuthenticated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -21575,7 +20986,6 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -21584,7 +20994,6 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.Arn = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -21593,7 +21002,6 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.PrincipalId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -21602,7 +21010,6 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.Type = ptr.String(jtv) } - case "userName": if value != nil { jtv, ok := value.(string) @@ -21611,7 +21018,6 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -21651,7 +21057,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Description = types.SeverityDescription(jtv) } - case "score": if value != nil { jtv, ok := value.(json.Number) @@ -21664,7 +21069,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Score = ptr.Int64(i64) } - default: _, _ = key, value @@ -21708,7 +21112,6 @@ func awsRestjson1_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.OccurrencesThreshold = ptr.Int64(i64) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -21717,7 +21120,6 @@ func awsRestjson1_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Severity = types.DataIdentifierSeverity(jtv) } - default: _, _ = key, value @@ -21791,7 +21193,6 @@ func awsRestjson1_deserializeDocumentSimpleCriterionForJob(v **types.SimpleCrite } sv.Comparator = types.JobComparator(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -21800,12 +21201,10 @@ func awsRestjson1_deserializeDocumentSimpleCriterionForJob(v **types.SimpleCrite } sv.Key = types.SimpleCriterionKeyForJob(jtv) } - case "values": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -21845,7 +21244,6 @@ func awsRestjson1_deserializeDocumentSimpleScopeTerm(v **types.SimpleScopeTerm, } sv.Comparator = types.JobComparator(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -21854,12 +21252,10 @@ func awsRestjson1_deserializeDocumentSimpleScopeTerm(v **types.SimpleScopeTerm, } sv.Key = types.ScopeFilterKey(jtv) } - case "values": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -21924,7 +21320,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - case "numberOfRuns": if value != nil { switch jtv := value.(type) { @@ -21958,7 +21353,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } - default: _, _ = key, value @@ -21998,12 +21392,10 @@ func awsRestjson1_deserializeDocumentTagCriterionForJob(v **types.TagCriterionFo } sv.Comparator = types.JobComparator(jtv) } - case "tagValues": if err := awsRestjson1_deserializeDocument__listOfTagCriterionPairForJob(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -22043,7 +21435,6 @@ func awsRestjson1_deserializeDocumentTagCriterionPairForJob(v **types.TagCriteri } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22052,7 +21443,6 @@ func awsRestjson1_deserializeDocumentTagCriterionPairForJob(v **types.TagCriteri } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22128,7 +21518,6 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Comparator = types.JobComparator(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -22137,12 +21526,10 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Key = ptr.String(jtv) } - case "tagValues": if err := awsRestjson1_deserializeDocument__listOfTagValuePair(&sv.TagValues, value); err != nil { return err } - case "target": if value != nil { jtv, ok := value.(string) @@ -22151,7 +21538,6 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Target = types.TagTarget(jtv) } - default: _, _ = key, value @@ -22191,7 +21577,6 @@ func awsRestjson1_deserializeDocumentTagValuePair(v **types.TagValuePair, value } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -22200,7 +21585,6 @@ func awsRestjson1_deserializeDocumentTagValuePair(v **types.TagValuePair, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -22230,15 +21614,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22246,15 +21624,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22279,15 +21653,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22295,15 +21663,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22338,7 +21702,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -22347,7 +21710,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -22356,7 +21718,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -22396,7 +21757,6 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.Currency = types.Currency(jtv) } - case "estimatedCost": if value != nil { jtv, ok := value.(string) @@ -22405,12 +21765,10 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.EstimatedCost = ptr.String(jtv) } - case "serviceLimit": if err := awsRestjson1_deserializeDocumentServiceLimit(&sv.ServiceLimit, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -22419,7 +21777,6 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.Type = types.UsageType(jtv) } - default: _, _ = key, value @@ -22459,7 +21816,6 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.AccountId = ptr.String(jtv) } - case "automatedDiscoveryFreeTrialStartDate": if value != nil { jtv, ok := value.(string) @@ -22472,7 +21828,6 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.AutomatedDiscoveryFreeTrialStartDate = ptr.Time(t) } - case "freeTrialStartDate": if value != nil { jtv, ok := value.(string) @@ -22485,12 +21840,10 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.FreeTrialStartDate = ptr.Time(t) } - case "usage": if err := awsRestjson1_deserializeDocument__listOfUsageByAccount(&sv.Usage, value); err != nil { return err } - default: _, _ = key, value @@ -22530,7 +21883,6 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.Currency = types.Currency(jtv) } - case "estimatedCost": if value != nil { jtv, ok := value.(string) @@ -22539,7 +21891,6 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.EstimatedCost = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -22548,7 +21899,6 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.Type = types.UsageType(jtv) } - default: _, _ = key, value @@ -22584,32 +21934,26 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value if err := awsRestjson1_deserializeDocumentAssumedRole(&sv.AssumedRole, value); err != nil { return err } - case "awsAccount": if err := awsRestjson1_deserializeDocumentAwsAccount(&sv.AwsAccount, value); err != nil { return err } - case "awsService": if err := awsRestjson1_deserializeDocumentAwsService(&sv.AwsService, value); err != nil { return err } - case "federatedUser": if err := awsRestjson1_deserializeDocumentFederatedUser(&sv.FederatedUser, value); err != nil { return err } - case "iamUser": if err := awsRestjson1_deserializeDocumentIamUser(&sv.IamUser, value); err != nil { return err } - case "root": if err := awsRestjson1_deserializeDocumentUserIdentityRoot(&sv.Root, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -22618,7 +21962,6 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Type = types.UserIdentityType(jtv) } - default: _, _ = key, value @@ -22658,7 +22001,6 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -22667,7 +22009,6 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.Arn = ptr.String(jtv) } - case "principalId": if value != nil { jtv, ok := value.(string) @@ -22676,7 +22017,6 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.PrincipalId = ptr.String(jtv) } - default: _, _ = key, value @@ -22720,7 +22060,6 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobExpiresAt = ptr.Time(t) } - case "jobImminentExpirationHealthEventArn": if value != nil { jtv, ok := value.(string) @@ -22729,7 +22068,6 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobImminentExpirationHealthEventArn = ptr.String(jtv) } - case "jobPausedAt": if value != nil { jtv, ok := value.(string) @@ -22742,7 +22080,6 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobPausedAt = ptr.Time(t) } - default: _, _ = key, value @@ -22772,15 +22109,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22788,15 +22119,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22831,7 +22158,6 @@ func awsRestjson1_deserializeDocumentWeeklySchedule(v **types.WeeklySchedule, va } sv.DayOfWeek = types.DayOfWeek(jtv) } - default: _, _ = key, value diff --git a/service/mailmanager/deserializers.go b/service/mailmanager/deserializers.go index 3bff9703dc2..ab6e673f524 100644 --- a/service/mailmanager/deserializers.go +++ b/service/mailmanager/deserializers.go @@ -5744,15 +5744,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5760,15 +5754,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5803,7 +5793,6 @@ func awsAwsjson10_deserializeDocumentAddHeaderAction(v **types.AddHeaderAction, } sv.HeaderName = ptr.String(jtv) } - case "HeaderValue": if value != nil { jtv, ok := value.(string) @@ -5812,7 +5801,6 @@ func awsAwsjson10_deserializeDocumentAddHeaderAction(v **types.AddHeaderAction, } sv.HeaderValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5852,7 +5840,6 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonInstanceArn = ptr.String(jtv) } - case "AddonInstanceId": if value != nil { jtv, ok := value.(string) @@ -5861,7 +5848,6 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonInstanceId = ptr.String(jtv) } - case "AddonName": if value != nil { jtv, ok := value.(string) @@ -5870,7 +5856,6 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonName = ptr.String(jtv) } - case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -5879,7 +5864,6 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonSubscriptionId = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5895,7 +5879,6 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } } - default: _, _ = key, value @@ -5969,7 +5952,6 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonName = ptr.String(jtv) } - case "AddonSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -5978,7 +5960,6 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonSubscriptionArn = ptr.String(jtv) } - case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -5987,7 +5968,6 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonSubscriptionId = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6003,7 +5983,6 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } } - default: _, _ = key, value @@ -6077,7 +6056,6 @@ func awsAwsjson10_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Analyzer = ptr.String(jtv) } - case "ResultField": if value != nil { jtv, ok := value.(string) @@ -6086,7 +6064,6 @@ func awsAwsjson10_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.ResultField = ptr.String(jtv) } - default: _, _ = key, value @@ -6126,7 +6103,6 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveId = ptr.String(jtv) } - case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -6135,7 +6111,6 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } - case "ArchiveState": if value != nil { jtv, ok := value.(string) @@ -6144,7 +6119,6 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveState = types.ArchiveState(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6160,7 +6134,6 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } } - default: _, _ = key, value @@ -6200,7 +6173,6 @@ func awsAwsjson10_deserializeDocumentArchiveAction(v **types.ArchiveAction, valu } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } - case "TargetArchive": if value != nil { jtv, ok := value.(string) @@ -6209,7 +6181,6 @@ func awsAwsjson10_deserializeDocumentArchiveAction(v **types.ArchiveAction, valu } sv.TargetArchive = ptr.String(jtv) } - default: _, _ = key, value @@ -6245,7 +6216,6 @@ func awsAwsjson10_deserializeDocumentArchiveBooleanExpression(v **types.ArchiveB if err := awsAwsjson10_deserializeDocumentArchiveBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -6254,7 +6224,6 @@ func awsAwsjson10_deserializeDocumentArchiveBooleanExpression(v **types.ArchiveB } sv.Operator = types.ArchiveBooleanOperator(jtv) } - default: _, _ = key, value @@ -6414,12 +6383,10 @@ func awsAwsjson10_deserializeDocumentArchiveFilters(v **types.ArchiveFilters, va if err := awsAwsjson10_deserializeDocumentArchiveFilterConditions(&sv.Include, value); err != nil { return err } - case "Unless": if err := awsAwsjson10_deserializeDocumentArchiveFilterConditions(&sv.Unless, value); err != nil { return err } - default: _, _ = key, value @@ -6531,7 +6498,6 @@ func awsAwsjson10_deserializeDocumentArchiveStringExpression(v **types.ArchiveSt if err := awsAwsjson10_deserializeDocumentArchiveStringToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -6540,12 +6506,10 @@ func awsAwsjson10_deserializeDocumentArchiveStringExpression(v **types.ArchiveSt } sv.Operator = types.ArchiveStringOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentStringValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -6617,15 +6581,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6633,15 +6591,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6676,7 +6630,6 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } - case "MailboxArn": if value != nil { jtv, ok := value.(string) @@ -6685,7 +6638,6 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.MailboxArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6694,7 +6646,6 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6801,7 +6752,6 @@ func awsAwsjson10_deserializeDocumentEnvelope(v **types.Envelope, value interfac } sv.From = ptr.String(jtv) } - case "Helo": if value != nil { jtv, ok := value.(string) @@ -6810,12 +6760,10 @@ func awsAwsjson10_deserializeDocumentEnvelope(v **types.Envelope, value interfac } sv.Helo = ptr.String(jtv) } - case "To": if err := awsAwsjson10_deserializeDocumentStringList(&sv.To, value); err != nil { return err } - default: _, _ = key, value @@ -6902,7 +6850,6 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6911,7 +6858,6 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.ErrorMessage = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6920,7 +6866,6 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.State = types.ExportState(jtv) } - case "SubmissionTimestamp": if value != nil { switch jtv := value.(type) { @@ -6936,7 +6881,6 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } } - default: _, _ = key, value @@ -6976,12 +6920,10 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportId = ptr.String(jtv) } - case "Status": if err := awsAwsjson10_deserializeDocumentExportStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -7055,7 +6997,6 @@ func awsAwsjson10_deserializeDocumentIngressAnalysis(v **types.IngressAnalysis, } sv.Analyzer = ptr.String(jtv) } - case "ResultField": if value != nil { jtv, ok := value.(string) @@ -7064,7 +7005,6 @@ func awsAwsjson10_deserializeDocumentIngressAnalysis(v **types.IngressAnalysis, } sv.ResultField = ptr.String(jtv) } - default: _, _ = key, value @@ -7100,7 +7040,6 @@ func awsAwsjson10_deserializeDocumentIngressBooleanExpression(v **types.IngressB if err := awsAwsjson10_deserializeDocumentIngressBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -7109,7 +7048,6 @@ func awsAwsjson10_deserializeDocumentIngressBooleanExpression(v **types.IngressB } sv.Operator = types.IngressBooleanOperator(jtv) } - default: _, _ = key, value @@ -7227,7 +7165,6 @@ func awsAwsjson10_deserializeDocumentIngressIpv4Expression(v **types.IngressIpv4 if err := awsAwsjson10_deserializeDocumentIngressIpToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -7236,12 +7173,10 @@ func awsAwsjson10_deserializeDocumentIngressIpv4Expression(v **types.IngressIpv4 } sv.Operator = types.IngressIpOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentIpv4Cidrs(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7281,7 +7216,6 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.ARecord = ptr.String(jtv) } - case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -7290,7 +7224,6 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.IngressPointId = ptr.String(jtv) } - case "IngressPointName": if value != nil { jtv, ok := value.(string) @@ -7299,7 +7232,6 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.IngressPointName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7308,7 +7240,6 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.Status = types.IngressPointStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7317,7 +7248,6 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.Type = types.IngressPointType(jtv) } - default: _, _ = key, value @@ -7353,7 +7283,6 @@ func awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(v **types.Ing if err := awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(&sv.IngressPointPasswordConfiguration, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -7362,7 +7291,6 @@ func awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(v **types.Ing } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7409,7 +7337,6 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } } - case "PreviousSmtpPasswordVersion": if value != nil { jtv, ok := value.(string) @@ -7418,7 +7345,6 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } sv.PreviousSmtpPasswordVersion = ptr.String(jtv) } - case "SmtpPasswordVersion": if value != nil { jtv, ok := value.(string) @@ -7427,7 +7353,6 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } sv.SmtpPasswordVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -7497,7 +7422,6 @@ func awsAwsjson10_deserializeDocumentIngressStringExpression(v **types.IngressSt if err := awsAwsjson10_deserializeDocumentIngressStringToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -7506,12 +7430,10 @@ func awsAwsjson10_deserializeDocumentIngressStringExpression(v **types.IngressSt } sv.Operator = types.IngressStringOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7589,7 +7511,6 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr if err := awsAwsjson10_deserializeDocumentIngressTlsProtocolToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -7598,7 +7519,6 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr } sv.Operator = types.IngressTlsProtocolOperator(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7607,7 +7527,6 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr } sv.Value = types.IngressTlsProtocolAttribute(jtv) } - default: _, _ = key, value @@ -7725,7 +7644,6 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Html = ptr.String(jtv) } - case "MessageMalformed": if value != nil { jtv, ok := value.(bool) @@ -7734,7 +7652,6 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.MessageMalformed = ptr.Bool(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -7743,7 +7660,6 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -7783,7 +7699,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.IngressPointId = ptr.String(jtv) } - case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -7792,7 +7707,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.RuleSetId = ptr.String(jtv) } - case "SenderHostname": if value != nil { jtv, ok := value.(string) @@ -7801,7 +7715,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SenderHostname = ptr.String(jtv) } - case "SenderIpAddress": if value != nil { jtv, ok := value.(string) @@ -7810,7 +7723,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SenderIpAddress = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -7826,7 +7738,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } } - case "TlsCipherSuite": if value != nil { jtv, ok := value.(string) @@ -7835,7 +7746,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TlsCipherSuite = ptr.String(jtv) } - case "TlsProtocol": if value != nil { jtv, ok := value.(string) @@ -7844,7 +7754,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TlsProtocol = ptr.String(jtv) } - case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -7853,7 +7762,6 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TrafficPolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -8026,12 +7934,10 @@ func awsAwsjson10_deserializeDocumentPolicyStatement(v **types.PolicyStatement, } sv.Action = types.AcceptAction(jtv) } - case "Conditions": if err := awsAwsjson10_deserializeDocumentPolicyConditions(&sv.Conditions, value); err != nil { return err } - default: _, _ = key, value @@ -8148,7 +8054,6 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } } - case "RelayId": if value != nil { jtv, ok := value.(string) @@ -8157,7 +8062,6 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } sv.RelayId = ptr.String(jtv) } - case "RelayName": if value != nil { jtv, ok := value.(string) @@ -8166,7 +8070,6 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } sv.RelayName = ptr.String(jtv) } - default: _, _ = key, value @@ -8206,7 +8109,6 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } - case "MailFrom": if value != nil { jtv, ok := value.(string) @@ -8215,7 +8117,6 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.MailFrom = types.MailFrom(jtv) } - case "Relay": if value != nil { jtv, ok := value.(string) @@ -8224,7 +8125,6 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.Relay = ptr.String(jtv) } - default: _, _ = key, value @@ -8346,7 +8246,6 @@ func awsAwsjson10_deserializeDocumentReplaceRecipientAction(v **types.ReplaceRec if err := awsAwsjson10_deserializeDocumentRecipients(&sv.ReplaceWith, value); err != nil { return err } - default: _, _ = key, value @@ -8376,15 +8275,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8392,15 +8285,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8435,7 +8324,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.ArchivedMessageId = ptr.String(jtv) } - case "Cc": if value != nil { jtv, ok := value.(string) @@ -8444,7 +8332,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Cc = ptr.String(jtv) } - case "Date": if value != nil { jtv, ok := value.(string) @@ -8453,12 +8340,10 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Date = ptr.String(jtv) } - case "Envelope": if err := awsAwsjson10_deserializeDocumentEnvelope(&sv.Envelope, value); err != nil { return err } - case "From": if value != nil { jtv, ok := value.(string) @@ -8467,7 +8352,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.From = ptr.String(jtv) } - case "HasAttachments": if value != nil { jtv, ok := value.(bool) @@ -8476,7 +8360,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.HasAttachments = ptr.Bool(jtv) } - case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -8485,7 +8368,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.IngressPointId = ptr.String(jtv) } - case "InReplyTo": if value != nil { jtv, ok := value.(string) @@ -8494,7 +8376,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.InReplyTo = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -8503,12 +8384,10 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.MessageId = ptr.String(jtv) } - case "ReceivedHeaders": if err := awsAwsjson10_deserializeDocumentEmailReceivedHeadersList(&sv.ReceivedHeaders, value); err != nil { return err } - case "ReceivedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8524,7 +8403,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } } - case "SenderHostname": if value != nil { jtv, ok := value.(string) @@ -8533,7 +8411,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.SenderHostname = ptr.String(jtv) } - case "SenderIpAddress": if value != nil { jtv, ok := value.(string) @@ -8542,7 +8419,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.SenderIpAddress = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -8551,7 +8427,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Subject = ptr.String(jtv) } - case "To": if value != nil { jtv, ok := value.(string) @@ -8560,7 +8435,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.To = ptr.String(jtv) } - case "XMailer": if value != nil { jtv, ok := value.(string) @@ -8569,7 +8443,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XMailer = ptr.String(jtv) } - case "XOriginalMailer": if value != nil { jtv, ok := value.(string) @@ -8578,7 +8451,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XOriginalMailer = ptr.String(jtv) } - case "XPriority": if value != nil { jtv, ok := value.(string) @@ -8587,7 +8459,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XPriority = ptr.String(jtv) } - default: _, _ = key, value @@ -8657,12 +8528,10 @@ func awsAwsjson10_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsAwsjson10_deserializeDocumentRuleActions(&sv.Actions, value); err != nil { return err } - case "Conditions": if err := awsAwsjson10_deserializeDocumentRuleConditions(&sv.Conditions, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8671,12 +8540,10 @@ func awsAwsjson10_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Unless": if err := awsAwsjson10_deserializeDocumentRuleConditions(&sv.Unless, value); err != nil { return err } - default: _, _ = key, value @@ -8854,7 +8721,6 @@ func awsAwsjson10_deserializeDocumentRuleBooleanExpression(v **types.RuleBoolean if err := awsAwsjson10_deserializeDocumentRuleBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -8863,7 +8729,6 @@ func awsAwsjson10_deserializeDocumentRuleBooleanExpression(v **types.RuleBoolean } sv.Operator = types.RuleBooleanOperator(jtv) } - default: _, _ = key, value @@ -9067,12 +8932,10 @@ func awsAwsjson10_deserializeDocumentRuleDmarcExpression(v **types.RuleDmarcExpr } sv.Operator = types.RuleDmarcOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentRuleDmarcValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9144,7 +9007,6 @@ func awsAwsjson10_deserializeDocumentRuleIpExpression(v **types.RuleIpExpression if err := awsAwsjson10_deserializeDocumentRuleIpToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -9153,12 +9015,10 @@ func awsAwsjson10_deserializeDocumentRuleIpExpression(v **types.RuleIpExpression } sv.Operator = types.RuleIpOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentRuleIpValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9272,7 +9132,6 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx if err := awsAwsjson10_deserializeDocumentRuleNumberToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -9281,7 +9140,6 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx } sv.Operator = types.RuleNumberOperator(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -9315,7 +9173,6 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx } } - default: _, _ = key, value @@ -9438,7 +9295,6 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } } - case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -9447,7 +9303,6 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } sv.RuleSetId = ptr.String(jtv) } - case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -9456,7 +9311,6 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } sv.RuleSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -9526,7 +9380,6 @@ func awsAwsjson10_deserializeDocumentRuleStringExpression(v **types.RuleStringEx if err := awsAwsjson10_deserializeDocumentRuleStringToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -9535,12 +9388,10 @@ func awsAwsjson10_deserializeDocumentRuleStringExpression(v **types.RuleStringEx } sv.Operator = types.RuleStringOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentRuleStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9666,7 +9517,6 @@ func awsAwsjson10_deserializeDocumentRuleVerdictExpression(v **types.RuleVerdict if err := awsAwsjson10_deserializeDocumentRuleVerdictToEvaluate(&sv.Evaluate, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -9675,12 +9525,10 @@ func awsAwsjson10_deserializeDocumentRuleVerdictExpression(v **types.RuleVerdict } sv.Operator = types.RuleVerdictOperator(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentRuleVerdictValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -9808,7 +9656,6 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9817,7 +9664,6 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.RoleArn = ptr.String(jtv) } - case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -9826,7 +9672,6 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3Bucket = ptr.String(jtv) } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -9835,7 +9680,6 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3Prefix = ptr.String(jtv) } - case "S3SseKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9844,7 +9688,6 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3SseKmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -9884,7 +9727,6 @@ func awsAwsjson10_deserializeDocumentS3ExportDestinationConfiguration(v **types. } sv.S3Location = ptr.String(jtv) } - default: _, _ = key, value @@ -9931,7 +9773,6 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9940,7 +9781,6 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.ErrorMessage = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9949,7 +9789,6 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.State = types.SearchState(jtv) } - case "SubmissionTimestamp": if value != nil { switch jtv := value.(type) { @@ -9965,7 +9804,6 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } } - default: _, _ = key, value @@ -10005,12 +9843,10 @@ func awsAwsjson10_deserializeDocumentSearchSummary(v **types.SearchSummary, valu } sv.SearchId = ptr.String(jtv) } - case "Status": if err := awsAwsjson10_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -10084,7 +9920,6 @@ func awsAwsjson10_deserializeDocumentSendAction(v **types.SendAction, value inte } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10093,7 +9928,6 @@ func awsAwsjson10_deserializeDocumentSendAction(v **types.SendAction, value inte } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10123,15 +9957,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10139,15 +9967,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10254,7 +10078,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10263,7 +10086,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10327,15 +10149,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10343,15 +10159,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10386,7 +10198,6 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.DefaultAction = types.AcceptAction(jtv) } - case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -10395,7 +10206,6 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.TrafficPolicyId = ptr.String(jtv) } - case "TrafficPolicyName": if value != nil { jtv, ok := value.(string) @@ -10404,7 +10214,6 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.TrafficPolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -10468,15 +10277,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10484,15 +10287,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10527,7 +10326,6 @@ func awsAwsjson10_deserializeOpDocumentCreateAddonInstanceOutput(v **CreateAddon } sv.AddonInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10567,7 +10365,6 @@ func awsAwsjson10_deserializeOpDocumentCreateAddonSubscriptionOutput(v **CreateA } sv.AddonSubscriptionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10607,7 +10404,6 @@ func awsAwsjson10_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveId = ptr.String(jtv) } - default: _, _ = key, value @@ -10647,7 +10443,6 @@ func awsAwsjson10_deserializeOpDocumentCreateIngressPointOutput(v **CreateIngres } sv.IngressPointId = ptr.String(jtv) } - default: _, _ = key, value @@ -10687,7 +10482,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRelayOutput(v **CreateRelayOutput, } sv.RelayId = ptr.String(jtv) } - default: _, _ = key, value @@ -10727,7 +10521,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleSetOutput(v **CreateRuleSetOutp } sv.RuleSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10767,7 +10560,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTrafficPolicyOutput(v **CreateTraff } sv.TrafficPolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -11024,7 +10816,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonInstanceArn = ptr.String(jtv) } - case "AddonName": if value != nil { jtv, ok := value.(string) @@ -11033,7 +10824,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonName = ptr.String(jtv) } - case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -11042,7 +10832,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonSubscriptionId = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11058,7 +10847,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } } - default: _, _ = key, value @@ -11098,7 +10886,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } sv.AddonName = ptr.String(jtv) } - case "AddonSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -11107,7 +10894,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } sv.AddonSubscriptionArn = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11123,7 +10909,6 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } } - default: _, _ = key, value @@ -11163,17 +10948,14 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } sv.ArchiveId = ptr.String(jtv) } - case "ExportDestinationConfiguration": if err := awsAwsjson10_deserializeDocumentExportDestinationConfiguration(&sv.ExportDestinationConfiguration, value); err != nil { return err } - case "Filters": if err := awsAwsjson10_deserializeDocumentArchiveFilters(&sv.Filters, value); err != nil { return err } - case "FromTimestamp": if value != nil { switch jtv := value.(type) { @@ -11189,7 +10971,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -11202,12 +10983,10 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } sv.MaxResults = ptr.Int32(int32(i64)) } - case "Status": if err := awsAwsjson10_deserializeDocumentExportStatus(&sv.Status, value); err != nil { return err } - case "ToTimestamp": if value != nil { switch jtv := value.(type) { @@ -11223,7 +11002,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } } - default: _, _ = key, value @@ -11259,7 +11037,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageContentOutput(v **GetArc if err := awsAwsjson10_deserializeDocumentMessageBody(&sv.Body, value); err != nil { return err } - default: _, _ = key, value @@ -11295,7 +11072,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageOutput(v **GetArchiveMes if err := awsAwsjson10_deserializeDocumentEnvelope(&sv.Envelope, value); err != nil { return err } - case "MessageDownloadLink": if value != nil { jtv, ok := value.(string) @@ -11304,12 +11080,10 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageOutput(v **GetArchiveMes } sv.MessageDownloadLink = ptr.String(jtv) } - case "Metadata": if err := awsAwsjson10_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -11349,7 +11123,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveArn = ptr.String(jtv) } - case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -11358,7 +11131,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveId = ptr.String(jtv) } - case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -11367,7 +11139,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveName = ptr.String(jtv) } - case "ArchiveState": if value != nil { jtv, ok := value.(string) @@ -11376,7 +11147,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveState = types.ArchiveState(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11392,7 +11162,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11170,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.KmsKeyArn = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11417,12 +11185,10 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } } - case "Retention": if err := awsAwsjson10_deserializeDocumentArchiveRetention(&sv.Retention, value); err != nil { return err } - default: _, _ = key, value @@ -11462,12 +11228,10 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } sv.ArchiveId = ptr.String(jtv) } - case "Filters": if err := awsAwsjson10_deserializeDocumentArchiveFilters(&sv.Filters, value); err != nil { return err } - case "FromTimestamp": if value != nil { switch jtv := value.(type) { @@ -11483,7 +11247,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -11496,12 +11259,10 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } sv.MaxResults = ptr.Int32(int32(i64)) } - case "Status": if err := awsAwsjson10_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } - case "ToTimestamp": if value != nil { switch jtv := value.(type) { @@ -11517,7 +11278,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } } - default: _, _ = key, value @@ -11553,7 +11313,6 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchResultsOutput(v **GetArch if err := awsAwsjson10_deserializeDocumentRowsList(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -11593,7 +11352,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.ARecord = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11609,7 +11367,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } } - case "IngressPointArn": if value != nil { jtv, ok := value.(string) @@ -11618,12 +11375,10 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointArn = ptr.String(jtv) } - case "IngressPointAuthConfiguration": if err := awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(&sv.IngressPointAuthConfiguration, value); err != nil { return err } - case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -11632,7 +11387,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointId = ptr.String(jtv) } - case "IngressPointName": if value != nil { jtv, ok := value.(string) @@ -11641,7 +11395,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11657,7 +11410,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } } - case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -11666,7 +11418,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.RuleSetId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11675,7 +11426,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.Status = types.IngressPointStatus(jtv) } - case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -11684,7 +11434,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.TrafficPolicyId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11693,7 +11442,6 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.Type = types.IngressPointType(jtv) } - default: _, _ = key, value @@ -11729,7 +11477,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value if err := awsAwsjson10_deserializeDocumentRelayAuthentication(&sv.Authentication, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11745,7 +11492,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } } - case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11761,7 +11507,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } } - case "RelayArn": if value != nil { jtv, ok := value.(string) @@ -11770,7 +11515,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayArn = ptr.String(jtv) } - case "RelayId": if value != nil { jtv, ok := value.(string) @@ -11779,7 +11523,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayId = ptr.String(jtv) } - case "RelayName": if value != nil { jtv, ok := value.(string) @@ -11788,7 +11531,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayName = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -11797,7 +11539,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.ServerName = ptr.String(jtv) } - case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -11810,7 +11551,6 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.ServerPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11857,7 +11597,6 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } } - case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -11873,12 +11612,10 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } } - case "Rules": if err := awsAwsjson10_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } - case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -11887,7 +11624,6 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetArn = ptr.String(jtv) } - case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -11896,7 +11632,6 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetId = ptr.String(jtv) } - case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -11905,7 +11640,6 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -11952,7 +11686,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } } - case "DefaultAction": if value != nil { jtv, ok := value.(string) @@ -11961,7 +11694,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.DefaultAction = types.AcceptAction(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11977,7 +11709,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } } - case "MaxMessageSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11990,12 +11721,10 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.MaxMessageSizeBytes = ptr.Int32(int32(i64)) } - case "PolicyStatements": if err := awsAwsjson10_deserializeDocumentPolicyStatementList(&sv.PolicyStatements, value); err != nil { return err } - case "TrafficPolicyArn": if value != nil { jtv, ok := value.(string) @@ -12004,7 +11733,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyArn = ptr.String(jtv) } - case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -12013,7 +11741,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyId = ptr.String(jtv) } - case "TrafficPolicyName": if value != nil { jtv, ok := value.(string) @@ -12022,7 +11749,6 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -12058,7 +11784,6 @@ func awsAwsjson10_deserializeOpDocumentListAddonInstancesOutput(v **ListAddonIns if err := awsAwsjson10_deserializeDocumentAddonInstances(&sv.AddonInstances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12067,7 +11792,6 @@ func awsAwsjson10_deserializeOpDocumentListAddonInstancesOutput(v **ListAddonIns } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12103,7 +11827,6 @@ func awsAwsjson10_deserializeOpDocumentListAddonSubscriptionsOutput(v **ListAddo if err := awsAwsjson10_deserializeDocumentAddonSubscriptions(&sv.AddonSubscriptions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12112,7 +11835,6 @@ func awsAwsjson10_deserializeOpDocumentListAddonSubscriptionsOutput(v **ListAddo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12148,7 +11870,6 @@ func awsAwsjson10_deserializeOpDocumentListArchiveExportsOutput(v **ListArchiveE if err := awsAwsjson10_deserializeDocumentExportSummaryList(&sv.Exports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12157,7 +11878,6 @@ func awsAwsjson10_deserializeOpDocumentListArchiveExportsOutput(v **ListArchiveE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12197,12 +11917,10 @@ func awsAwsjson10_deserializeOpDocumentListArchiveSearchesOutput(v **ListArchive } sv.NextToken = ptr.String(jtv) } - case "Searches": if err := awsAwsjson10_deserializeDocumentSearchSummaryList(&sv.Searches, value); err != nil { return err } - default: _, _ = key, value @@ -12238,7 +11956,6 @@ func awsAwsjson10_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson10_deserializeDocumentArchivesList(&sv.Archives, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12247,7 +11964,6 @@ func awsAwsjson10_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12283,7 +11999,6 @@ func awsAwsjson10_deserializeOpDocumentListIngressPointsOutput(v **ListIngressPo if err := awsAwsjson10_deserializeDocumentIngressPointsList(&sv.IngressPoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12292,7 +12007,6 @@ func awsAwsjson10_deserializeOpDocumentListIngressPointsOutput(v **ListIngressPo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12332,12 +12046,10 @@ func awsAwsjson10_deserializeOpDocumentListRelaysOutput(v **ListRelaysOutput, va } sv.NextToken = ptr.String(jtv) } - case "Relays": if err := awsAwsjson10_deserializeDocumentRelays(&sv.Relays, value); err != nil { return err } - default: _, _ = key, value @@ -12377,12 +12089,10 @@ func awsAwsjson10_deserializeOpDocumentListRuleSetsOutput(v **ListRuleSetsOutput } sv.NextToken = ptr.String(jtv) } - case "RuleSets": if err := awsAwsjson10_deserializeDocumentRuleSets(&sv.RuleSets, value); err != nil { return err } - default: _, _ = key, value @@ -12418,7 +12128,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12458,12 +12167,10 @@ func awsAwsjson10_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTraffic } sv.NextToken = ptr.String(jtv) } - case "TrafficPolicies": if err := awsAwsjson10_deserializeDocumentTrafficPolicyList(&sv.TrafficPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -12503,7 +12210,6 @@ func awsAwsjson10_deserializeOpDocumentStartArchiveExportOutput(v **StartArchive } sv.ExportId = ptr.String(jtv) } - default: _, _ = key, value @@ -12543,7 +12249,6 @@ func awsAwsjson10_deserializeOpDocumentStartArchiveSearchOutput(v **StartArchive } sv.SearchId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/managedblockchain/deserializers.go b/service/managedblockchain/deserializers.go index 55b75df7478..5f812b707d4 100644 --- a/service/managedblockchain/deserializers.go +++ b/service/managedblockchain/deserializers.go @@ -193,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.AccessorId = ptr.String(jtv) } - case "BillingToken": if value != nil { jtv, ok := value.(string) @@ -202,7 +201,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.BillingToken = ptr.String(jtv) } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -211,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.NetworkType = types.AccessorNetworkType(jtv) } - default: _, _ = key, value @@ -391,7 +388,6 @@ func awsRestjson1_deserializeOpDocumentCreateMemberOutput(v **CreateMemberOutput } sv.MemberId = ptr.String(jtv) } - default: _, _ = key, value @@ -565,7 +561,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.MemberId = ptr.String(jtv) } - case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -574,7 +569,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.NetworkId = ptr.String(jtv) } - default: _, _ = key, value @@ -754,7 +748,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.NodeId = ptr.String(jtv) } - default: _, _ = key, value @@ -928,7 +921,6 @@ func awsRestjson1_deserializeOpDocumentCreateProposalOutput(v **CreateProposalOu } sv.ProposalId = ptr.String(jtv) } - default: _, _ = key, value @@ -1398,7 +1390,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessorOutput(v **GetAccessorOutput, if err := awsRestjson1_deserializeDocumentAccessor(&sv.Accessor, value); err != nil { return err } - default: _, _ = key, value @@ -1562,7 +1553,6 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } - default: _, _ = key, value @@ -1726,7 +1716,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkOutput(v **GetNetworkOutput, va if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } - default: _, _ = key, value @@ -1890,7 +1879,6 @@ func awsRestjson1_deserializeOpDocumentGetNodeOutput(v **GetNodeOutput, value in if err := awsRestjson1_deserializeDocumentNode(&sv.Node, value); err != nil { return err } - default: _, _ = key, value @@ -2054,7 +2042,6 @@ func awsRestjson1_deserializeOpDocumentGetProposalOutput(v **GetProposalOutput, if err := awsRestjson1_deserializeDocumentProposal(&sv.Proposal, value); err != nil { return err } - default: _, _ = key, value @@ -2215,7 +2202,6 @@ func awsRestjson1_deserializeOpDocumentListAccessorsOutput(v **ListAccessorsOutp if err := awsRestjson1_deserializeDocumentAccessorSummaryList(&sv.Accessors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2224,7 +2210,6 @@ func awsRestjson1_deserializeOpDocumentListAccessorsOutput(v **ListAccessorsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2391,7 +2376,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitationList(&sv.Invitations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2400,7 +2384,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2561,7 +2544,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberSummaryList(&sv.Members, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2570,7 +2552,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2731,7 +2712,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocumentNetworkSummaryList(&sv.Networks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2740,7 +2720,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2905,12 +2884,10 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Nodes": if err := awsRestjson1_deserializeDocumentNodeSummaryList(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -3078,12 +3055,10 @@ func awsRestjson1_deserializeOpDocumentListProposalsOutput(v **ListProposalsOutp } sv.NextToken = ptr.String(jtv) } - case "Proposals": if err := awsRestjson1_deserializeDocumentProposalSummaryList(&sv.Proposals, value); err != nil { return err } - default: _, _ = key, value @@ -3248,12 +3223,10 @@ func awsRestjson1_deserializeOpDocumentListProposalVotesOutput(v **ListProposalV } sv.NextToken = ptr.String(jtv) } - case "ProposalVotes": if err := awsRestjson1_deserializeDocumentProposalVoteList(&sv.ProposalVotes, value); err != nil { return err } - default: _, _ = key, value @@ -3414,7 +3387,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4345,15 +4317,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4361,15 +4327,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4404,7 +4366,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Arn = ptr.String(jtv) } - case "BillingToken": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4374,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.BillingToken = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4426,7 +4386,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.CreationDate = ptr.Time(t) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4435,7 +4394,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Id = ptr.String(jtv) } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -4444,7 +4402,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.NetworkType = types.AccessorNetworkType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4453,12 +4410,10 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Status = types.AccessorStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4467,7 +4422,6 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Type = types.AccessorType(jtv) } - default: _, _ = key, value @@ -4507,7 +4461,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4520,7 +4473,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.CreationDate = ptr.Time(t) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4529,7 +4481,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Id = ptr.String(jtv) } - case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -4538,7 +4489,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.NetworkType = types.AccessorNetworkType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4547,7 +4497,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Status = types.AccessorStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4556,7 +4505,6 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Type = types.AccessorType(jtv) } - default: _, _ = key, value @@ -4634,7 +4582,6 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ProposalDurationInHours = ptr.Int32(int32(i64)) } - case "ThresholdComparator": if value != nil { jtv, ok := value.(string) @@ -4643,7 +4590,6 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ThresholdComparator = types.ThresholdComparator(jtv) } - case "ThresholdPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -4656,7 +4602,6 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ThresholdPercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4686,15 +4631,9 @@ func awsRestjson1_deserializeDocumentIllegalActionException(v **types.IllegalAct sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4702,15 +4641,11 @@ func awsRestjson1_deserializeDocumentIllegalActionException(v **types.IllegalAct } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4735,22 +4670,13 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4775,15 +4701,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4791,15 +4711,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4834,7 +4750,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4847,7 +4762,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.CreationDate = ptr.Time(t) } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -4860,7 +4774,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.ExpirationDate = ptr.Time(t) } - case "InvitationId": if value != nil { jtv, ok := value.(string) @@ -4869,12 +4782,10 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } - case "NetworkSummary": if err := awsRestjson1_deserializeDocumentNetworkSummary(&sv.NetworkSummary, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4883,7 +4794,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.Status = types.InvitationStatus(jtv) } - default: _, _ = key, value @@ -4957,7 +4867,6 @@ func awsRestjson1_deserializeDocumentInviteAction(v **types.InviteAction, value } sv.Principal = ptr.String(jtv) } - default: _, _ = key, value @@ -5031,7 +4940,6 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5067,7 +4975,6 @@ func awsRestjson1_deserializeDocumentLogConfigurations(v **types.LogConfiguratio if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Cloudwatch, value); err != nil { return err } - default: _, _ = key, value @@ -5107,7 +5014,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5120,7 +5026,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5129,12 +5034,10 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Description = ptr.String(jtv) } - case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentMemberFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5143,7 +5046,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Id = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5152,12 +5054,10 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.KmsKeyArn = ptr.String(jtv) } - case "LogPublishingConfiguration": if err := awsRestjson1_deserializeDocumentMemberLogPublishingConfiguration(&sv.LogPublishingConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5166,7 +5066,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Name = ptr.String(jtv) } - case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -5175,7 +5074,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.NetworkId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5184,12 +5082,10 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Status = types.MemberStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5229,7 +5125,6 @@ func awsRestjson1_deserializeDocumentMemberFabricAttributes(v **types.MemberFabr } sv.AdminUsername = ptr.String(jtv) } - case "CaEndpoint": if value != nil { jtv, ok := value.(string) @@ -5238,7 +5133,6 @@ func awsRestjson1_deserializeDocumentMemberFabricAttributes(v **types.MemberFabr } sv.CaEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -5274,7 +5168,6 @@ func awsRestjson1_deserializeDocumentMemberFabricLogPublishingConfiguration(v ** if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.CaLogs, value); err != nil { return err } - default: _, _ = key, value @@ -5310,7 +5203,6 @@ func awsRestjson1_deserializeDocumentMemberFrameworkAttributes(v **types.MemberF if err := awsRestjson1_deserializeDocumentMemberFabricAttributes(&sv.Fabric, value); err != nil { return err } - default: _, _ = key, value @@ -5346,7 +5238,6 @@ func awsRestjson1_deserializeDocumentMemberLogPublishingConfiguration(v **types. if err := awsRestjson1_deserializeDocumentMemberFabricLogPublishingConfiguration(&sv.Fabric, value); err != nil { return err } - default: _, _ = key, value @@ -5386,7 +5277,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5399,7 +5289,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5408,7 +5297,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5417,7 +5305,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Id = ptr.String(jtv) } - case "IsOwned": if value != nil { jtv, ok := value.(bool) @@ -5426,7 +5313,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.IsOwned = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5435,7 +5321,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5444,7 +5329,6 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Status = types.MemberStatus(jtv) } - default: _, _ = key, value @@ -5518,7 +5402,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5531,7 +5414,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5540,7 +5422,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Description = ptr.String(jtv) } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -5549,12 +5430,10 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Framework = types.Framework(jtv) } - case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentNetworkFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -5563,7 +5442,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.FrameworkVersion = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5572,7 +5450,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5581,7 +5458,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5590,17 +5466,14 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Status = types.NetworkStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - case "VotingPolicy": if err := awsRestjson1_deserializeDocumentVotingPolicy(&sv.VotingPolicy, value); err != nil { return err } - case "VpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -5609,7 +5482,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.VpcEndpointServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -5649,7 +5521,6 @@ func awsRestjson1_deserializeDocumentNetworkEthereumAttributes(v **types.Network } sv.ChainId = ptr.String(jtv) } - default: _, _ = key, value @@ -5689,7 +5560,6 @@ func awsRestjson1_deserializeDocumentNetworkFabricAttributes(v **types.NetworkFa } sv.Edition = types.Edition(jtv) } - case "OrderingServiceEndpoint": if value != nil { jtv, ok := value.(string) @@ -5698,7 +5568,6 @@ func awsRestjson1_deserializeDocumentNetworkFabricAttributes(v **types.NetworkFa } sv.OrderingServiceEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -5734,12 +5603,10 @@ func awsRestjson1_deserializeDocumentNetworkFrameworkAttributes(v **types.Networ if err := awsRestjson1_deserializeDocumentNetworkEthereumAttributes(&sv.Ethereum, value); err != nil { return err } - case "Fabric": if err := awsRestjson1_deserializeDocumentNetworkFabricAttributes(&sv.Fabric, value); err != nil { return err } - default: _, _ = key, value @@ -5779,7 +5646,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5792,7 +5658,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5801,7 +5666,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Description = ptr.String(jtv) } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -5810,7 +5674,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Framework = types.Framework(jtv) } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -5819,7 +5682,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.FrameworkVersion = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5828,7 +5690,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5837,7 +5698,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5846,7 +5706,6 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Status = types.NetworkStatus(jtv) } - default: _, _ = key, value @@ -5920,7 +5779,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -5929,7 +5787,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5942,12 +5799,10 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.CreationDate = ptr.Time(t) } - case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentNodeFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5956,7 +5811,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Id = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -5965,7 +5819,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.InstanceType = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5974,12 +5827,10 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.KmsKeyArn = ptr.String(jtv) } - case "LogPublishingConfiguration": if err := awsRestjson1_deserializeDocumentNodeLogPublishingConfiguration(&sv.LogPublishingConfiguration, value); err != nil { return err } - case "MemberId": if value != nil { jtv, ok := value.(string) @@ -5988,7 +5839,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.MemberId = ptr.String(jtv) } - case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5847,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NetworkId = ptr.String(jtv) } - case "StateDB": if value != nil { jtv, ok := value.(string) @@ -6006,7 +5855,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.StateDB = types.StateDBType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6015,12 +5863,10 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Status = types.NodeStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6060,7 +5906,6 @@ func awsRestjson1_deserializeDocumentNodeEthereumAttributes(v **types.NodeEthere } sv.HttpEndpoint = ptr.String(jtv) } - case "WebSocketEndpoint": if value != nil { jtv, ok := value.(string) @@ -6069,7 +5914,6 @@ func awsRestjson1_deserializeDocumentNodeEthereumAttributes(v **types.NodeEthere } sv.WebSocketEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -6109,7 +5953,6 @@ func awsRestjson1_deserializeDocumentNodeFabricAttributes(v **types.NodeFabricAt } sv.PeerEndpoint = ptr.String(jtv) } - case "PeerEventEndpoint": if value != nil { jtv, ok := value.(string) @@ -6118,7 +5961,6 @@ func awsRestjson1_deserializeDocumentNodeFabricAttributes(v **types.NodeFabricAt } sv.PeerEventEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -6154,12 +5996,10 @@ func awsRestjson1_deserializeDocumentNodeFabricLogPublishingConfiguration(v **ty if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.ChaincodeLogs, value); err != nil { return err } - case "PeerLogs": if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.PeerLogs, value); err != nil { return err } - default: _, _ = key, value @@ -6195,12 +6035,10 @@ func awsRestjson1_deserializeDocumentNodeFrameworkAttributes(v **types.NodeFrame if err := awsRestjson1_deserializeDocumentNodeEthereumAttributes(&sv.Ethereum, value); err != nil { return err } - case "Fabric": if err := awsRestjson1_deserializeDocumentNodeFabricAttributes(&sv.Fabric, value); err != nil { return err } - default: _, _ = key, value @@ -6236,7 +6074,6 @@ func awsRestjson1_deserializeDocumentNodeLogPublishingConfiguration(v **types.No if err := awsRestjson1_deserializeDocumentNodeFabricLogPublishingConfiguration(&sv.Fabric, value); err != nil { return err } - default: _, _ = key, value @@ -6276,7 +6113,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Arn = ptr.String(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -6285,7 +6121,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.AvailabilityZone = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6298,7 +6133,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.CreationDate = ptr.Time(t) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6307,7 +6141,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Id = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -6316,7 +6149,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.InstanceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6325,7 +6157,6 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Status = types.NodeStatus(jtv) } - default: _, _ = key, value @@ -6431,7 +6262,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac if err := awsRestjson1_deserializeDocumentProposalActions(&sv.Actions, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6440,7 +6270,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6453,7 +6282,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6462,7 +6290,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Description = ptr.String(jtv) } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6475,7 +6302,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ExpirationDate = ptr.Time(t) } - case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -6484,7 +6310,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.NetworkId = ptr.String(jtv) } - case "NoVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6497,7 +6322,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.NoVoteCount = ptr.Int32(int32(i64)) } - case "OutstandingVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6510,7 +6334,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.OutstandingVoteCount = ptr.Int32(int32(i64)) } - case "ProposalId": if value != nil { jtv, ok := value.(string) @@ -6519,7 +6342,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposalId = ptr.String(jtv) } - case "ProposedByMemberId": if value != nil { jtv, ok := value.(string) @@ -6528,7 +6350,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposedByMemberId = ptr.String(jtv) } - case "ProposedByMemberName": if value != nil { jtv, ok := value.(string) @@ -6537,7 +6358,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposedByMemberName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6546,12 +6366,10 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Status = types.ProposalStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } - case "YesVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6564,7 +6382,6 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.YesVoteCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6600,12 +6417,10 @@ func awsRestjson1_deserializeDocumentProposalActions(v **types.ProposalActions, if err := awsRestjson1_deserializeDocumentInviteActionList(&sv.Invitations, value); err != nil { return err } - case "Removals": if err := awsRestjson1_deserializeDocumentRemoveActionList(&sv.Removals, value); err != nil { return err } - default: _, _ = key, value @@ -6645,7 +6460,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6658,7 +6472,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.CreationDate = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6667,7 +6480,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Description = ptr.String(jtv) } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6680,7 +6492,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ExpirationDate = ptr.Time(t) } - case "ProposalId": if value != nil { jtv, ok := value.(string) @@ -6689,7 +6500,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposalId = ptr.String(jtv) } - case "ProposedByMemberId": if value != nil { jtv, ok := value.(string) @@ -6698,7 +6508,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposedByMemberId = ptr.String(jtv) } - case "ProposedByMemberName": if value != nil { jtv, ok := value.(string) @@ -6707,7 +6516,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposedByMemberName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6716,7 +6524,6 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Status = types.ProposalStatus(jtv) } - default: _, _ = key, value @@ -6824,7 +6631,6 @@ func awsRestjson1_deserializeDocumentRemoveAction(v **types.RemoveAction, value } sv.MemberId = ptr.String(jtv) } - default: _, _ = key, value @@ -6888,15 +6694,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6904,15 +6704,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6937,15 +6733,9 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6953,15 +6743,11 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6986,15 +6772,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7002,7 +6782,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7011,15 +6790,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7044,15 +6819,9 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7060,15 +6829,11 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7093,22 +6858,13 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7133,15 +6889,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7149,7 +6899,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7158,15 +6907,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7201,7 +6946,6 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.MemberId = ptr.String(jtv) } - case "MemberName": if value != nil { jtv, ok := value.(string) @@ -7210,7 +6954,6 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.MemberName = ptr.String(jtv) } - case "Vote": if value != nil { jtv, ok := value.(string) @@ -7219,7 +6962,6 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.Vote = types.VoteValue(jtv) } - default: _, _ = key, value @@ -7255,7 +6997,6 @@ func awsRestjson1_deserializeDocumentVotingPolicy(v **types.VotingPolicy, value if err := awsRestjson1_deserializeDocumentApprovalThresholdPolicy(&sv.ApprovalThresholdPolicy, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/managedblockchainquery/deserializers.go b/service/managedblockchainquery/deserializers.go index 22e84c8f615..1f1eb50529e 100644 --- a/service/managedblockchainquery/deserializers.go +++ b/service/managedblockchainquery/deserializers.go @@ -187,12 +187,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetTokenBalanceOutput(v **BatchGetTo if err := awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrors(&sv.Errors, value); err != nil { return err } - case "tokenBalances": if err := awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputList(&sv.TokenBalances, value); err != nil { return err } - default: _, _ = key, value @@ -359,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra if err := awsRestjson1_deserializeDocumentContractIdentifier(&sv.ContractIdentifier, value); err != nil { return err } - case "deployerAddress": if value != nil { jtv, ok := value.(string) @@ -368,12 +365,10 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra } sv.DeployerAddress = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentContractMetadata(&sv.Metadata, value); err != nil { return err } - case "tokenStandard": if value != nil { jtv, ok := value.(string) @@ -382,7 +377,6 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra } sv.TokenStandard = types.QueryTokenStandard(jtv) } - default: _, _ = key, value @@ -549,7 +543,6 @@ func awsRestjson1_deserializeOpDocumentGetTokenBalanceOutput(v **GetTokenBalance if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } - case "balance": if value != nil { jtv, ok := value.(string) @@ -558,22 +551,18 @@ func awsRestjson1_deserializeOpDocumentGetTokenBalanceOutput(v **GetTokenBalance } sv.Balance = ptr.String(jtv) } - case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } - case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } - case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -740,7 +729,6 @@ func awsRestjson1_deserializeOpDocumentGetTransactionOutput(v **GetTransactionOu if err := awsRestjson1_deserializeDocumentTransaction(&sv.Transaction, value); err != nil { return err } - default: _, _ = key, value @@ -904,7 +892,6 @@ func awsRestjson1_deserializeOpDocumentListAssetContractsOutput(v **ListAssetCon if err := awsRestjson1_deserializeDocumentAssetContractList(&sv.Contracts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -913,7 +900,6 @@ func awsRestjson1_deserializeOpDocumentListAssetContractsOutput(v **ListAssetCon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1077,7 +1063,6 @@ func awsRestjson1_deserializeOpDocumentListFilteredTransactionEventsOutput(v **L if err := awsRestjson1_deserializeDocumentTransactionEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1086,7 +1071,6 @@ func awsRestjson1_deserializeOpDocumentListFilteredTransactionEventsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1254,12 +1238,10 @@ func awsRestjson1_deserializeOpDocumentListTokenBalancesOutput(v **ListTokenBala } sv.NextToken = ptr.String(jtv) } - case "tokenBalances": if err := awsRestjson1_deserializeDocumentTokenBalanceList(&sv.TokenBalances, value); err != nil { return err } - default: _, _ = key, value @@ -1423,7 +1405,6 @@ func awsRestjson1_deserializeOpDocumentListTransactionEventsOutput(v **ListTrans if err := awsRestjson1_deserializeDocumentTransactionEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1432,7 +1413,6 @@ func awsRestjson1_deserializeOpDocumentListTransactionEventsOutput(v **ListTrans } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1600,12 +1580,10 @@ func awsRestjson1_deserializeOpDocumentListTransactionsOutput(v **ListTransactio } sv.NextToken = ptr.String(jtv) } - case "transactions": if err := awsRestjson1_deserializeDocumentTransactionOutputList(&sv.Transactions, value); err != nil { return err } - default: _, _ = key, value @@ -1891,15 +1869,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1907,15 +1879,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1946,7 +1914,6 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu if err := awsRestjson1_deserializeDocumentContractIdentifier(&sv.ContractIdentifier, value); err != nil { return err } - case "deployerAddress": if value != nil { jtv, ok := value.(string) @@ -1955,7 +1922,6 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu } sv.DeployerAddress = ptr.String(jtv) } - case "tokenStandard": if value != nil { jtv, ok := value.(string) @@ -1964,7 +1930,6 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu } sv.TokenStandard = types.QueryTokenStandard(jtv) } - default: _, _ = key, value @@ -2034,7 +1999,6 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -2043,7 +2007,6 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2052,7 +2015,6 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } - case "errorType": if value != nil { jtv, ok := value.(string) @@ -2061,17 +2023,14 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorType = types.ErrorType(jtv) } - case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } - case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -2141,7 +2100,6 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputItem(v **types.Ba if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } - case "balance": if value != nil { jtv, ok := value.(string) @@ -2150,22 +2108,18 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputItem(v **types.Ba } sv.Balance = ptr.String(jtv) } - case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } - case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } - case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -2246,7 +2200,6 @@ func awsRestjson1_deserializeDocumentBlockchainInstant(v **types.BlockchainInsta } } - default: _, _ = key, value @@ -2286,7 +2239,6 @@ func awsRestjson1_deserializeDocumentContractIdentifier(v **types.ContractIdenti } sv.ContractAddress = ptr.String(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -2295,7 +2247,6 @@ func awsRestjson1_deserializeDocumentContractIdentifier(v **types.ContractIdenti } sv.Network = types.QueryNetwork(jtv) } - default: _, _ = key, value @@ -2339,7 +2290,6 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Decimals = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2348,7 +2298,6 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Name = ptr.String(jtv) } - case "symbol": if value != nil { jtv, ok := value.(string) @@ -2357,7 +2306,6 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Symbol = ptr.String(jtv) } - default: _, _ = key, value @@ -2387,15 +2335,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2403,7 +2345,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2416,15 +2357,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2459,7 +2396,6 @@ func awsRestjson1_deserializeDocumentOwnerIdentifier(v **types.OwnerIdentifier, } sv.Address = ptr.String(jtv) } - default: _, _ = key, value @@ -2489,15 +2425,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2505,7 +2435,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2514,7 +2443,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2523,15 +2451,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2556,15 +2480,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2572,7 +2490,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2581,7 +2498,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2590,7 +2506,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2599,7 +2514,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2608,15 +2522,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2641,15 +2551,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2657,7 +2561,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2666,7 +2569,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2679,7 +2581,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2688,15 +2589,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2727,7 +2624,6 @@ func awsRestjson1_deserializeDocumentTokenBalance(v **types.TokenBalance, value if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } - case "balance": if value != nil { jtv, ok := value.(string) @@ -2736,22 +2632,18 @@ func awsRestjson1_deserializeDocumentTokenBalance(v **types.TokenBalance, value } sv.Balance = ptr.String(jtv) } - case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } - case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } - case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -2825,7 +2717,6 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.ContractAddress = ptr.String(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -2834,7 +2725,6 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.Network = types.QueryNetwork(jtv) } - case "tokenId": if value != nil { jtv, ok := value.(string) @@ -2843,7 +2733,6 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.TokenId = ptr.String(jtv) } - default: _, _ = key, value @@ -2883,7 +2772,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.BlockHash = ptr.String(jtv) } - case "blockNumber": if value != nil { jtv, ok := value.(string) @@ -2892,7 +2780,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.BlockNumber = ptr.String(jtv) } - case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -2901,7 +2788,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } - case "contractAddress": if value != nil { jtv, ok := value.(string) @@ -2910,7 +2796,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ContractAddress = ptr.String(jtv) } - case "cumulativeGasUsed": if value != nil { jtv, ok := value.(string) @@ -2919,7 +2804,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.CumulativeGasUsed = ptr.String(jtv) } - case "effectiveGasPrice": if value != nil { jtv, ok := value.(string) @@ -2928,7 +2812,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.EffectiveGasPrice = ptr.String(jtv) } - case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -2937,7 +2820,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ExecutionStatus = types.ExecutionStatus(jtv) } - case "from": if value != nil { jtv, ok := value.(string) @@ -2946,7 +2828,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.From = ptr.String(jtv) } - case "gasUsed": if value != nil { jtv, ok := value.(string) @@ -2955,7 +2836,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.GasUsed = ptr.String(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -2964,7 +2844,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.Network = types.QueryNetwork(jtv) } - case "numberOfTransactions": if value != nil { jtv, ok := value.(json.Number) @@ -2977,7 +2856,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.NumberOfTransactions = ptr.Int64(i64) } - case "signatureR": if value != nil { jtv, ok := value.(string) @@ -2986,7 +2864,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureR = ptr.String(jtv) } - case "signatureS": if value != nil { jtv, ok := value.(string) @@ -2995,7 +2872,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureS = ptr.String(jtv) } - case "signatureV": if value != nil { jtv, ok := value.(json.Number) @@ -3008,7 +2884,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureV = ptr.Int32(int32(i64)) } - case "to": if value != nil { jtv, ok := value.(string) @@ -3017,7 +2892,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.To = ptr.String(jtv) } - case "transactionFee": if value != nil { jtv, ok := value.(string) @@ -3026,7 +2900,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionFee = ptr.String(jtv) } - case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -3035,7 +2908,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionHash = ptr.String(jtv) } - case "transactionId": if value != nil { jtv, ok := value.(string) @@ -3044,7 +2916,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionId = ptr.String(jtv) } - case "transactionIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3057,7 +2928,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionIndex = ptr.Int64(i64) } - case "transactionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3073,7 +2943,6 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } } - default: _, _ = key, value @@ -3109,7 +2978,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.BlockchainInstant, value); err != nil { return err } - case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -3118,7 +2986,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } - case "contractAddress": if value != nil { jtv, ok := value.(string) @@ -3127,7 +2994,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.ContractAddress = ptr.String(jtv) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -3136,7 +3002,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.EventType = types.QueryTransactionEventType(jtv) } - case "from": if value != nil { jtv, ok := value.(string) @@ -3145,7 +3010,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.From = ptr.String(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3018,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.Network = types.QueryNetwork(jtv) } - case "spentVoutIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3167,7 +3030,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutIndex = ptr.Int32(int32(i64)) } - case "spentVoutTransactionHash": if value != nil { jtv, ok := value.(string) @@ -3176,7 +3038,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutTransactionHash = ptr.String(jtv) } - case "spentVoutTransactionId": if value != nil { jtv, ok := value.(string) @@ -3185,7 +3046,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutTransactionId = ptr.String(jtv) } - case "to": if value != nil { jtv, ok := value.(string) @@ -3194,7 +3054,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.To = ptr.String(jtv) } - case "tokenId": if value != nil { jtv, ok := value.(string) @@ -3203,7 +3062,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TokenId = ptr.String(jtv) } - case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -3212,7 +3070,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TransactionHash = ptr.String(jtv) } - case "transactionId": if value != nil { jtv, ok := value.(string) @@ -3221,7 +3078,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TransactionId = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3230,7 +3086,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.Value = ptr.String(jtv) } - case "voutIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3243,7 +3098,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.VoutIndex = ptr.Int32(int32(i64)) } - case "voutSpent": if value != nil { jtv, ok := value.(bool) @@ -3252,7 +3106,6 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.VoutSpent = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3326,7 +3179,6 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -3335,7 +3187,6 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.Network = types.QueryNetwork(jtv) } - case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -3344,7 +3195,6 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.TransactionHash = ptr.String(jtv) } - case "transactionId": if value != nil { jtv, ok := value.(string) @@ -3353,7 +3203,6 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.TransactionId = ptr.String(jtv) } - case "transactionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3369,7 +3218,6 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } } - default: _, _ = key, value @@ -3433,20 +3281,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3454,7 +3295,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -3463,15 +3303,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3506,7 +3342,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3515,7 +3350,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/marketplaceagreement/deserializers.go b/service/marketplaceagreement/deserializers.go index 1070bf44548..9d23b4021cc 100644 --- a/service/marketplaceagreement/deserializers.go +++ b/service/marketplaceagreement/deserializers.go @@ -772,7 +772,6 @@ func awsAwsjson10_deserializeDocumentAcceptor(v **types.Acceptor, value interfac } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -802,15 +801,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -818,7 +811,6 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -827,15 +819,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -877,12 +865,10 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } - case "acceptor": if err := awsAwsjson10_deserializeDocumentAcceptor(&sv.Acceptor, value); err != nil { return err } - case "agreementId": if value != nil { jtv, ok := value.(string) @@ -891,7 +877,6 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.AgreementId = ptr.String(jtv) } - case "agreementType": if value != nil { jtv, ok := value.(string) @@ -900,7 +885,6 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.AgreementType = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -916,17 +900,14 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } - case "proposalSummary": if err := awsAwsjson10_deserializeDocumentProposalSummary(&sv.ProposalSummary, value); err != nil { return err } - case "proposer": if err := awsAwsjson10_deserializeDocumentProposer(&sv.Proposer, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -942,7 +923,6 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } - case "status": if value != nil { jtv, ok := value.(string) @@ -951,7 +931,6 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.Status = types.AgreementStatus(jtv) } - default: _, _ = key, value @@ -1025,7 +1004,6 @@ func awsAwsjson10_deserializeDocumentByolPricingTerm(v **types.ByolPricingTerm, } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1061,7 +1039,6 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co if err := awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration(&sv.Configuration, value); err != nil { return err } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -1070,12 +1047,10 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co } sv.CurrencyCode = ptr.String(jtv) } - case "rateCards": if err := awsAwsjson10_deserializeDocumentConfigurableUpfrontRateCardList(&sv.RateCards, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -1084,7 +1059,6 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1120,7 +1094,6 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration if err := awsAwsjson10_deserializeDocumentDimensionList(&sv.Dimensions, value); err != nil { return err } - case "selectorValue": if value != nil { jtv, ok := value.(string) @@ -1129,7 +1102,6 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration } sv.SelectorValue = ptr.String(jtv) } - default: _, _ = key, value @@ -1165,17 +1137,14 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontRateCardItem(v **types.C if err := awsAwsjson10_deserializeDocumentConstraints(&sv.Constraints, value); err != nil { return err } - case "rateCard": if err := awsAwsjson10_deserializeDocumentRateCardList(&sv.RateCard, value); err != nil { return err } - case "selector": if err := awsAwsjson10_deserializeDocumentSelector(&sv.Selector, value); err != nil { return err } - default: _, _ = key, value @@ -1249,7 +1218,6 @@ func awsAwsjson10_deserializeDocumentConstraints(v **types.Constraints, value in } sv.MultipleDimensionSelection = ptr.String(jtv) } - case "quantityConfiguration": if value != nil { jtv, ok := value.(string) @@ -1258,7 +1226,6 @@ func awsAwsjson10_deserializeDocumentConstraints(v **types.Constraints, value in } sv.QuantityConfiguration = ptr.String(jtv) } - default: _, _ = key, value @@ -1298,7 +1265,6 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.DimensionKey = ptr.String(jtv) } - case "dimensionValue": if value != nil { jtv, ok := value.(json.Number) @@ -1311,7 +1277,6 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.DimensionValue = int32(i64) } - default: _, _ = key, value @@ -1385,7 +1350,6 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Type = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -1394,7 +1358,6 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Url = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -1403,7 +1366,6 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1477,7 +1439,6 @@ func awsAwsjson10_deserializeDocumentEstimatedCharges(v **types.EstimatedCharges } sv.AgreementValue = ptr.String(jtv) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -1486,7 +1447,6 @@ func awsAwsjson10_deserializeDocumentEstimatedCharges(v **types.EstimatedCharges } sv.CurrencyCode = ptr.String(jtv) } - default: _, _ = key, value @@ -1526,7 +1486,6 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(string) @@ -1535,12 +1494,10 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Duration = ptr.String(jtv) } - case "grants": if err := awsAwsjson10_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "price": if value != nil { jtv, ok := value.(string) @@ -1549,7 +1506,6 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Price = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -1558,7 +1514,6 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1598,12 +1553,10 @@ func awsAwsjson10_deserializeDocumentFreeTrialPricingTerm(v **types.FreeTrialPri } sv.Duration = ptr.String(jtv) } - case "grants": if err := awsAwsjson10_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -1612,7 +1565,6 @@ func awsAwsjson10_deserializeDocumentFreeTrialPricingTerm(v **types.FreeTrialPri } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1652,7 +1604,6 @@ func awsAwsjson10_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.DimensionKey = ptr.String(jtv) } - case "maxQuantity": if value != nil { jtv, ok := value.(json.Number) @@ -1665,7 +1616,6 @@ func awsAwsjson10_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.MaxQuantity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1729,15 +1679,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1745,7 +1689,6 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -1754,15 +1697,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1793,7 +1732,6 @@ func awsAwsjson10_deserializeDocumentLegalTerm(v **types.LegalTerm, value interf if err := awsAwsjson10_deserializeDocumentDocumentList(&sv.Documents, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -1802,7 +1740,6 @@ func awsAwsjson10_deserializeDocumentLegalTerm(v **types.LegalTerm, value interf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1842,12 +1779,10 @@ func awsAwsjson10_deserializeDocumentPaymentScheduleTerm(v **types.PaymentSchedu } sv.CurrencyCode = ptr.String(jtv) } - case "schedule": if err := awsAwsjson10_deserializeDocumentScheduleList(&sv.Schedule, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -1856,7 +1791,6 @@ func awsAwsjson10_deserializeDocumentPaymentScheduleTerm(v **types.PaymentSchedu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1896,12 +1830,10 @@ func awsAwsjson10_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.OfferId = ptr.String(jtv) } - case "resources": if err := awsAwsjson10_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -1941,7 +1873,6 @@ func awsAwsjson10_deserializeDocumentProposer(v **types.Proposer, value interfac } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -1981,7 +1912,6 @@ func awsAwsjson10_deserializeDocumentRateCardItem(v **types.RateCardItem, value } sv.DimensionKey = ptr.String(jtv) } - case "price": if value != nil { jtv, ok := value.(string) @@ -1990,7 +1920,6 @@ func awsAwsjson10_deserializeDocumentRateCardItem(v **types.RateCardItem, value } sv.Price = ptr.String(jtv) } - default: _, _ = key, value @@ -2064,7 +1993,6 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.BillingPeriod = ptr.String(jtv) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -2073,7 +2001,6 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.CurrencyCode = ptr.String(jtv) } - case "price": if value != nil { jtv, ok := value.(string) @@ -2082,7 +2009,6 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.Price = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2091,7 +2017,6 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2127,7 +2052,6 @@ func awsAwsjson10_deserializeDocumentRenewalTerm(v **types.RenewalTerm, value in if err := awsAwsjson10_deserializeDocumentRenewalTermConfiguration(&sv.Configuration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2136,7 +2060,6 @@ func awsAwsjson10_deserializeDocumentRenewalTerm(v **types.RenewalTerm, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2176,7 +2099,6 @@ func awsAwsjson10_deserializeDocumentRenewalTermConfiguration(v **types.RenewalT } sv.EnableAutoRenew = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2216,7 +2138,6 @@ func awsAwsjson10_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2225,7 +2146,6 @@ func awsAwsjson10_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2255,15 +2175,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2271,7 +2185,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2280,7 +2193,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2289,7 +2201,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2298,15 +2209,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2375,7 +2282,6 @@ func awsAwsjson10_deserializeDocumentScheduleItem(v **types.ScheduleItem, value } sv.ChargeAmount = ptr.String(jtv) } - case "chargeDate": if value != nil { switch jtv := value.(type) { @@ -2391,7 +2297,6 @@ func awsAwsjson10_deserializeDocumentScheduleItem(v **types.ScheduleItem, value } } - default: _, _ = key, value @@ -2465,7 +2370,6 @@ func awsAwsjson10_deserializeDocumentSelector(v **types.Selector, value interfac } sv.Type = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2474,7 +2378,6 @@ func awsAwsjson10_deserializeDocumentSelector(v **types.Selector, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2514,7 +2417,6 @@ func awsAwsjson10_deserializeDocumentSupportTerm(v **types.SupportTerm, value in } sv.RefundPolicy = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2523,7 +2425,6 @@ func awsAwsjson10_deserializeDocumentSupportTerm(v **types.SupportTerm, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2553,15 +2454,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2569,7 +2464,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2578,15 +2472,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2621,12 +2511,10 @@ func awsAwsjson10_deserializeDocumentUsageBasedPricingTerm(v **types.UsageBasedP } sv.CurrencyCode = ptr.String(jtv) } - case "rateCards": if err := awsAwsjson10_deserializeDocumentUsageBasedRateCardList(&sv.RateCards, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -2635,7 +2523,6 @@ func awsAwsjson10_deserializeDocumentUsageBasedPricingTerm(v **types.UsageBasedP } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2671,7 +2558,6 @@ func awsAwsjson10_deserializeDocumentUsageBasedRateCardItem(v **types.UsageBased if err := awsAwsjson10_deserializeDocumentRateCardList(&sv.RateCard, value); err != nil { return err } - default: _, _ = key, value @@ -2735,20 +2621,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2756,7 +2635,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -2765,7 +2643,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2774,15 +2651,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2817,7 +2690,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2826,7 +2698,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2900,7 +2771,6 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } sv.AgreementDuration = ptr.String(jtv) } - case "agreementEndDate": if value != nil { switch jtv := value.(type) { @@ -2916,7 +2786,6 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } } - case "agreementStartDate": if value != nil { switch jtv := value.(type) { @@ -2932,7 +2801,6 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } } - case "type": if value != nil { jtv, ok := value.(string) @@ -2941,7 +2809,6 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2988,12 +2855,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } - case "acceptor": if err := awsAwsjson10_deserializeDocumentAcceptor(&sv.Acceptor, value); err != nil { return err } - case "agreementId": if value != nil { jtv, ok := value.(string) @@ -3002,7 +2867,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.AgreementId = ptr.String(jtv) } - case "agreementType": if value != nil { jtv, ok := value.(string) @@ -3011,7 +2875,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.AgreementType = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -3027,22 +2890,18 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } - case "estimatedCharges": if err := awsAwsjson10_deserializeDocumentEstimatedCharges(&sv.EstimatedCharges, value); err != nil { return err } - case "proposalSummary": if err := awsAwsjson10_deserializeDocumentProposalSummary(&sv.ProposalSummary, value); err != nil { return err } - case "proposer": if err := awsAwsjson10_deserializeDocumentProposer(&sv.Proposer, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -3058,7 +2917,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } - case "status": if value != nil { jtv, ok := value.(string) @@ -3067,7 +2925,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.Status = types.AgreementStatus(jtv) } - default: _, _ = key, value @@ -3103,7 +2960,6 @@ func awsAwsjson10_deserializeOpDocumentGetAgreementTermsOutput(v **GetAgreementT if err := awsAwsjson10_deserializeDocumentAcceptedTermList(&sv.AcceptedTerms, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3112,7 +2968,6 @@ func awsAwsjson10_deserializeOpDocumentGetAgreementTermsOutput(v **GetAgreementT } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3148,7 +3003,6 @@ func awsAwsjson10_deserializeOpDocumentSearchAgreementsOutput(v **SearchAgreemen if err := awsAwsjson10_deserializeDocumentAgreementViewSummaryList(&sv.AgreementViewSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3157,7 +3011,6 @@ func awsAwsjson10_deserializeOpDocumentSearchAgreementsOutput(v **SearchAgreemen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/marketplacecatalog/deserializers.go b/service/marketplacecatalog/deserializers.go index 349a97540a4..b3e8de1e3d7 100644 --- a/service/marketplacecatalog/deserializers.go +++ b/service/marketplacecatalog/deserializers.go @@ -182,12 +182,10 @@ func awsRestjson1_deserializeOpDocumentBatchDescribeEntitiesOutput(v **BatchDesc if err := awsRestjson1_deserializeDocumentEntityDetails(&sv.EntityDetails, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -358,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentCancelChangeSetOutput(v **CancelChangeSet } sv.ChangeSetArn = ptr.String(jtv) } - case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -367,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentCancelChangeSetOutput(v **CancelChangeSet } sv.ChangeSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -631,7 +627,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang if err := awsRestjson1_deserializeDocumentChangeSetDescription(&sv.ChangeSet, value); err != nil { return err } - case "ChangeSetArn": if value != nil { jtv, ok := value.(string) @@ -640,7 +635,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetArn = ptr.String(jtv) } - case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -649,7 +643,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetId = ptr.String(jtv) } - case "ChangeSetName": if value != nil { jtv, ok := value.(string) @@ -658,7 +651,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetName = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -667,7 +659,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.EndTime = ptr.String(jtv) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -676,7 +667,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.FailureCode = types.FailureCode(jtv) } - case "FailureDescription": if value != nil { jtv, ok := value.(string) @@ -685,7 +675,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.FailureDescription = ptr.String(jtv) } - case "Intent": if value != nil { jtv, ok := value.(string) @@ -694,7 +683,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.Intent = types.Intent(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -703,7 +691,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.StartTime = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -712,7 +699,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.Status = types.ChangeStatus(jtv) } - default: _, _ = key, value @@ -883,12 +869,10 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Details = ptr.String(jtv) } - case "DetailsDocument": if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } - case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -897,7 +881,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityArn = ptr.String(jtv) } - case "EntityIdentifier": if value != nil { jtv, ok := value.(string) @@ -906,7 +889,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityIdentifier = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -915,7 +897,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityType = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -924,7 +905,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.LastModifiedDate = ptr.String(jtv) } - default: _, _ = key, value @@ -1092,7 +1072,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -1253,7 +1232,6 @@ func awsRestjson1_deserializeOpDocumentListChangeSetsOutput(v **ListChangeSetsOu if err := awsRestjson1_deserializeDocumentChangeSetSummaryList(&sv.ChangeSetSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1262,7 +1240,6 @@ func awsRestjson1_deserializeOpDocumentListChangeSetsOutput(v **ListChangeSetsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1426,7 +1403,6 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput if err := awsRestjson1_deserializeDocumentEntitySummaryList(&sv.EntitySummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1435,7 +1411,6 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1603,12 +1578,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1882,7 +1855,6 @@ func awsRestjson1_deserializeOpDocumentStartChangeSetOutput(v **StartChangeSetOu } sv.ChangeSetArn = ptr.String(jtv) } - case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -1891,7 +1863,6 @@ func awsRestjson1_deserializeOpDocumentStartChangeSetOutput(v **StartChangeSetOu } sv.ChangeSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -2409,15 +2380,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2425,15 +2390,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2468,7 +2429,6 @@ func awsRestjson1_deserializeDocumentAmiProductSummary(v **types.AmiProductSumma } sv.ProductTitle = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2477,7 +2437,6 @@ func awsRestjson1_deserializeDocumentAmiProductSummary(v **types.AmiProductSumma } sv.Visibility = types.AmiProductVisibilityString(jtv) } - default: _, _ = key, value @@ -2517,7 +2476,6 @@ func awsRestjson1_deserializeDocumentBatchDescribeErrorDetail(v **types.BatchDes } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2526,7 +2484,6 @@ func awsRestjson1_deserializeDocumentBatchDescribeErrorDetail(v **types.BatchDes } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -2634,7 +2591,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetArn = ptr.String(jtv) } - case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -2643,7 +2599,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetId = ptr.String(jtv) } - case "ChangeSetName": if value != nil { jtv, ok := value.(string) @@ -2652,7 +2607,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetName = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -2661,12 +2615,10 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.EndTime = ptr.String(jtv) } - case "EntityIdList": if err := awsRestjson1_deserializeDocumentResourceIdList(&sv.EntityIdList, value); err != nil { return err } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -2675,7 +2627,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.FailureCode = types.FailureCode(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -2684,7 +2635,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.StartTime = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2693,7 +2643,6 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.Status = types.ChangeStatus(jtv) } - default: _, _ = key, value @@ -2733,7 +2682,6 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.ChangeName = ptr.String(jtv) } - case "ChangeType": if value != nil { jtv, ok := value.(string) @@ -2742,7 +2690,6 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.ChangeType = ptr.String(jtv) } - case "Details": if value != nil { jtv, ok := value.(string) @@ -2751,22 +2698,18 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.Details = ptr.String(jtv) } - case "DetailsDocument": if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } - case "Entity": if err := awsRestjson1_deserializeDocumentEntity(&sv.Entity, value); err != nil { return err } - case "ErrorDetailList": if err := awsRestjson1_deserializeDocumentErrorDetailList(&sv.ErrorDetailList, value); err != nil { return err } - default: _, _ = key, value @@ -2806,7 +2749,6 @@ func awsRestjson1_deserializeDocumentContainerProductSummary(v **types.Container } sv.ProductTitle = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2815,7 +2757,6 @@ func awsRestjson1_deserializeDocumentContainerProductSummary(v **types.Container } sv.Visibility = types.ContainerProductVisibilityString(jtv) } - default: _, _ = key, value @@ -2855,7 +2796,6 @@ func awsRestjson1_deserializeDocumentDataProductSummary(v **types.DataProductSum } sv.ProductTitle = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2864,7 +2804,6 @@ func awsRestjson1_deserializeDocumentDataProductSummary(v **types.DataProductSum } sv.Visibility = types.DataProductVisibilityString(jtv) } - default: _, _ = key, value @@ -2904,7 +2843,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Identifier = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2913,7 +2851,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2949,7 +2886,6 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } - case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -2958,7 +2894,6 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityArn = ptr.String(jtv) } - case "EntityIdentifier": if value != nil { jtv, ok := value.(string) @@ -2967,7 +2902,6 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityIdentifier = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -2976,7 +2910,6 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityType = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -2985,7 +2918,6 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.LastModifiedDate = ptr.String(jtv) } - default: _, _ = key, value @@ -3056,17 +2988,14 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu if err := awsRestjson1_deserializeDocumentAmiProductSummary(&sv.AmiProductSummary, value); err != nil { return err } - case "ContainerProductSummary": if err := awsRestjson1_deserializeDocumentContainerProductSummary(&sv.ContainerProductSummary, value); err != nil { return err } - case "DataProductSummary": if err := awsRestjson1_deserializeDocumentDataProductSummary(&sv.DataProductSummary, value); err != nil { return err } - case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -3075,7 +3004,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityArn = ptr.String(jtv) } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -3084,7 +3012,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityId = ptr.String(jtv) } - case "EntityType": if value != nil { jtv, ok := value.(string) @@ -3093,7 +3020,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityType = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -3102,7 +3028,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.LastModifiedDate = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3111,22 +3036,18 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Name = ptr.String(jtv) } - case "OfferSummary": if err := awsRestjson1_deserializeDocumentOfferSummary(&sv.OfferSummary, value); err != nil { return err } - case "ResaleAuthorizationSummary": if err := awsRestjson1_deserializeDocumentResaleAuthorizationSummary(&sv.ResaleAuthorizationSummary, value); err != nil { return err } - case "SaaSProductSummary": if err := awsRestjson1_deserializeDocumentSaaSProductSummary(&sv.SaaSProductSummary, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -3135,7 +3056,6 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Visibility = ptr.String(jtv) } - default: _, _ = key, value @@ -3209,7 +3129,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3137,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3317,15 +3235,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3333,15 +3245,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3420,12 +3328,10 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.AvailabilityEndDate = ptr.String(jtv) } - case "BuyerAccounts": if err := awsRestjson1_deserializeDocumentOfferBuyerAccountsList(&sv.BuyerAccounts, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3434,7 +3340,6 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.Name = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -3443,7 +3348,6 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ProductId = ptr.String(jtv) } - case "ReleaseDate": if value != nil { jtv, ok := value.(string) @@ -3452,7 +3356,6 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ReleaseDate = ptr.String(jtv) } - case "ResaleAuthorizationId": if value != nil { jtv, ok := value.(string) @@ -3461,7 +3364,6 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ResaleAuthorizationId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3470,12 +3372,10 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.State = types.OfferStateString(jtv) } - case "Targeting": if err := awsRestjson1_deserializeDocumentOfferTargetingList(&sv.Targeting, value); err != nil { return err } - default: _, _ = key, value @@ -3551,7 +3451,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.AvailabilityEndDate = ptr.String(jtv) } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -3560,7 +3459,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.CreatedDate = ptr.String(jtv) } - case "ManufacturerAccountId": if value != nil { jtv, ok := value.(string) @@ -3569,7 +3467,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ManufacturerAccountId = ptr.String(jtv) } - case "ManufacturerLegalName": if value != nil { jtv, ok := value.(string) @@ -3578,7 +3475,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ManufacturerLegalName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3587,7 +3483,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.Name = ptr.String(jtv) } - case "OfferExtendedStatus": if value != nil { jtv, ok := value.(string) @@ -3596,7 +3491,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.OfferExtendedStatus = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -3605,7 +3499,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ProductId = ptr.String(jtv) } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -3614,7 +3507,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ProductName = ptr.String(jtv) } - case "ResellerAccountID": if value != nil { jtv, ok := value.(string) @@ -3623,7 +3515,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ResellerAccountID = ptr.String(jtv) } - case "ResellerLegalName": if value != nil { jtv, ok := value.(string) @@ -3632,7 +3523,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ResellerLegalName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3641,7 +3531,6 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.Status = types.ResaleAuthorizationStatusString(jtv) } - default: _, _ = key, value @@ -3707,15 +3596,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3723,15 +3606,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3756,15 +3635,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3772,15 +3645,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3805,15 +3674,9 @@ func awsRestjson1_deserializeDocumentResourceNotSupportedException(v **types.Res sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3821,15 +3684,11 @@ func awsRestjson1_deserializeDocumentResourceNotSupportedException(v **types.Res } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3864,7 +3723,6 @@ func awsRestjson1_deserializeDocumentSaaSProductSummary(v **types.SaaSProductSum } sv.ProductTitle = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -3873,7 +3731,6 @@ func awsRestjson1_deserializeDocumentSaaSProductSummary(v **types.SaaSProductSum } sv.Visibility = types.SaaSProductVisibilityString(jtv) } - default: _, _ = key, value @@ -3903,15 +3760,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3919,15 +3770,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3962,7 +3809,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3971,7 +3817,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4035,15 +3880,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4051,15 +3890,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4084,15 +3919,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4100,15 +3929,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/marketplacecommerceanalytics/deserializers.go b/service/marketplacecommerceanalytics/deserializers.go index 0c04210eee3..029c5fde41f 100644 --- a/service/marketplacecommerceanalytics/deserializers.go +++ b/service/marketplacecommerceanalytics/deserializers.go @@ -306,15 +306,9 @@ func awsAwsjson11_deserializeDocumentMarketplaceCommerceAnalyticsException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -322,15 +316,11 @@ func awsAwsjson11_deserializeDocumentMarketplaceCommerceAnalyticsException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -365,7 +355,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataSetOutput(v **GenerateDataSet } sv.DataSetRequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -405,7 +394,6 @@ func awsAwsjson11_deserializeOpDocumentStartSupportDataExportOutput(v **StartSup } sv.DataSetRequestId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/marketplacedeployment/deserializers.go b/service/marketplacedeployment/deserializers.go index 8c785fac7b8..29eced16eeb 100644 --- a/service/marketplacedeployment/deserializers.go +++ b/service/marketplacedeployment/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -357,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.AgreementId = ptr.String(jtv) } - case "deploymentParameterId": if value != nil { jtv, ok := value.(string) @@ -366,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.DeploymentParameterId = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -375,12 +372,10 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.ResourceArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -868,15 +863,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -884,15 +873,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -917,15 +902,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -933,7 +912,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -942,15 +920,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -975,15 +949,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -991,15 +959,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1024,15 +988,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1040,15 +998,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1073,15 +1027,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1089,15 +1037,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1194,15 +1138,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1210,15 +1148,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1243,13 +1177,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldName": if value != nil { @@ -1259,8 +1187,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.FieldName = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1268,15 +1195,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/marketplaceentitlementservice/deserializers.go b/service/marketplaceentitlementservice/deserializers.go index 2aba4dd6e4d..fb25e5649e3 100644 --- a/service/marketplaceentitlementservice/deserializers.go +++ b/service/marketplaceentitlementservice/deserializers.go @@ -282,7 +282,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.CustomerIdentifier = ptr.String(jtv) } - case "Dimension": if value != nil { jtv, ok := value.(string) @@ -291,7 +290,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Dimension = ptr.String(jtv) } - case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -307,7 +305,6 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } - case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -316,12 +313,10 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.ProductCode = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentEntitlementValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -395,7 +390,6 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.BooleanValue = ptr.Bool(jtv) } - case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -429,7 +423,6 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } } - case "IntegerValue": if value != nil { jtv, ok := value.(json.Number) @@ -442,7 +435,6 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.IntegerValue = ptr.Int32(int32(i64)) } - case "StringValue": if value != nil { jtv, ok := value.(string) @@ -451,7 +443,6 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -481,15 +472,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -497,15 +482,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -530,15 +511,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -546,15 +521,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -579,15 +550,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -595,15 +560,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -634,7 +595,6 @@ func awsAwsjson11_deserializeOpDocumentGetEntitlementsOutput(v **GetEntitlements if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -643,7 +603,6 @@ func awsAwsjson11_deserializeOpDocumentGetEntitlementsOutput(v **GetEntitlements } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/marketplacemetering/deserializers.go b/service/marketplacemetering/deserializers.go index afeb01d04e3..9bdd27b295c 100644 --- a/service/marketplacemetering/deserializers.go +++ b/service/marketplacemetering/deserializers.go @@ -1172,15 +1172,9 @@ func awsAwsjson11_deserializeDocumentCustomerNotEntitledException(v **types.Cust sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1188,15 +1182,11 @@ func awsAwsjson11_deserializeDocumentCustomerNotEntitledException(v **types.Cust } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1221,15 +1211,9 @@ func awsAwsjson11_deserializeDocumentDisabledApiException(v **types.DisabledApiE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1237,15 +1221,11 @@ func awsAwsjson11_deserializeDocumentDisabledApiException(v **types.DisabledApiE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1270,15 +1250,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRequestException(v **types.Duplica sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1286,15 +1260,11 @@ func awsAwsjson11_deserializeDocumentDuplicateRequestException(v **types.Duplica } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1319,15 +1289,9 @@ func awsAwsjson11_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1335,15 +1299,11 @@ func awsAwsjson11_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1368,15 +1328,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1384,15 +1338,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1417,15 +1367,9 @@ func awsAwsjson11_deserializeDocumentInvalidCustomerIdentifierException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1433,15 +1377,11 @@ func awsAwsjson11_deserializeDocumentInvalidCustomerIdentifierException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1466,15 +1406,9 @@ func awsAwsjson11_deserializeDocumentInvalidEndpointRegionException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1482,15 +1416,11 @@ func awsAwsjson11_deserializeDocumentInvalidEndpointRegionException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1515,15 +1445,9 @@ func awsAwsjson11_deserializeDocumentInvalidProductCodeException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1531,15 +1455,11 @@ func awsAwsjson11_deserializeDocumentInvalidProductCodeException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1564,15 +1484,9 @@ func awsAwsjson11_deserializeDocumentInvalidPublicKeyVersionException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1580,15 +1494,11 @@ func awsAwsjson11_deserializeDocumentInvalidPublicKeyVersionException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1613,15 +1523,9 @@ func awsAwsjson11_deserializeDocumentInvalidRegionException(v **types.InvalidReg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1629,15 +1533,11 @@ func awsAwsjson11_deserializeDocumentInvalidRegionException(v **types.InvalidReg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1662,15 +1562,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1678,15 +1572,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1711,15 +1601,9 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1727,15 +1611,11 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1760,15 +1640,9 @@ func awsAwsjson11_deserializeDocumentInvalidUsageAllocationsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1776,15 +1650,11 @@ func awsAwsjson11_deserializeDocumentInvalidUsageAllocationsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1809,15 +1679,9 @@ func awsAwsjson11_deserializeDocumentInvalidUsageDimensionException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1825,15 +1689,11 @@ func awsAwsjson11_deserializeDocumentInvalidUsageDimensionException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1858,15 +1718,9 @@ func awsAwsjson11_deserializeDocumentPlatformNotSupportedException(v **types.Pla sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1874,15 +1728,11 @@ func awsAwsjson11_deserializeDocumentPlatformNotSupportedException(v **types.Pla } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1917,7 +1767,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1926,7 +1775,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1990,15 +1838,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2006,15 +1848,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2039,15 +1877,9 @@ func awsAwsjson11_deserializeDocumentTimestampOutOfBoundsException(v **types.Tim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2055,15 +1887,11 @@ func awsAwsjson11_deserializeDocumentTimestampOutOfBoundsException(v **types.Tim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2102,12 +1930,10 @@ func awsAwsjson11_deserializeDocumentUsageAllocation(v **types.UsageAllocation, } sv.AllocatedUsageQuantity = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2181,7 +2007,6 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.CustomerIdentifier = ptr.String(jtv) } - case "Dimension": if value != nil { jtv, ok := value.(string) @@ -2190,7 +2015,6 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.Dimension = ptr.String(jtv) } - case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -2203,7 +2027,6 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.Quantity = ptr.Int32(int32(i64)) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -2219,12 +2042,10 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } } - case "UsageAllocations": if err := awsAwsjson11_deserializeDocumentUsageAllocations(&sv.UsageAllocations, value); err != nil { return err } - default: _, _ = key, value @@ -2298,7 +2119,6 @@ func awsAwsjson11_deserializeDocumentUsageRecordResult(v **types.UsageRecordResu } sv.MeteringRecordId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2307,12 +2127,10 @@ func awsAwsjson11_deserializeDocumentUsageRecordResult(v **types.UsageRecordResu } sv.Status = types.UsageRecordResultStatus(jtv) } - case "UsageRecord": if err := awsAwsjson11_deserializeDocumentUsageRecord(&sv.UsageRecord, value); err != nil { return err } - default: _, _ = key, value @@ -2382,12 +2200,10 @@ func awsAwsjson11_deserializeOpDocumentBatchMeterUsageOutput(v **BatchMeterUsage if err := awsAwsjson11_deserializeDocumentUsageRecordResultList(&sv.Results, value); err != nil { return err } - case "UnprocessedRecords": if err := awsAwsjson11_deserializeDocumentUsageRecordList(&sv.UnprocessedRecords, value); err != nil { return err } - default: _, _ = key, value @@ -2427,7 +2243,6 @@ func awsAwsjson11_deserializeOpDocumentMeterUsageOutput(v **MeterUsageOutput, va } sv.MeteringRecordId = ptr.String(jtv) } - default: _, _ = key, value @@ -2474,7 +2289,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterUsageOutput(v **RegisterUsageOutp } } - case "Signature": if value != nil { jtv, ok := value.(string) @@ -2483,7 +2297,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterUsageOutput(v **RegisterUsageOutp } sv.Signature = ptr.String(jtv) } - default: _, _ = key, value @@ -2523,7 +2336,6 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.CustomerAWSAccountId = ptr.String(jtv) } - case "CustomerIdentifier": if value != nil { jtv, ok := value.(string) @@ -2532,7 +2344,6 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.CustomerIdentifier = ptr.String(jtv) } - case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -2541,7 +2352,6 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.ProductCode = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/marketplacereporting/deserializers.go b/service/marketplacereporting/deserializers.go index f22cc0e5ce2..489f6b90a8c 100644 --- a/service/marketplacereporting/deserializers.go +++ b/service/marketplacereporting/deserializers.go @@ -184,12 +184,10 @@ func awsRestjson1_deserializeOpDocumentGetBuyerDashboardOutput(v **GetBuyerDashb } sv.DashboardIdentifier = ptr.String(jtv) } - case "embeddingDomains": if err := awsRestjson1_deserializeDocumentEmbeddingDomains(&sv.EmbeddingDomains, value); err != nil { return err } - case "embedUrl": if value != nil { jtv, ok := value.(string) @@ -198,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentGetBuyerDashboardOutput(v **GetBuyerDashb } sv.EmbedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -372,15 +369,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -388,15 +379,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -421,15 +408,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -437,15 +418,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -506,15 +483,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -522,15 +493,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -555,15 +522,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -571,15 +532,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/mediaconnect/deserializers.go b/service/mediaconnect/deserializers.go index 8c9ca84e9b9..44a28708099 100644 --- a/service/mediaconnect/deserializers.go +++ b/service/mediaconnect/deserializers.go @@ -195,12 +195,10 @@ func awsRestjson1_deserializeOpDocumentAddBridgeOutputsOutput(v **AddBridgeOutpu } sv.BridgeArn = ptr.String(jtv) } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfBridgeOutput(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -374,12 +372,10 @@ func awsRestjson1_deserializeOpDocumentAddBridgeSourcesOutput(v **AddBridgeSourc } sv.BridgeArn = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocument__listOfBridgeSource(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -550,12 +546,10 @@ func awsRestjson1_deserializeOpDocumentAddFlowMediaStreamsOutput(v **AddFlowMedi } sv.FlowArn = ptr.String(jtv) } - case "mediaStreams": if err := awsRestjson1_deserializeDocument__listOfMediaStream(&sv.MediaStreams, value); err != nil { return err } - default: _, _ = key, value @@ -729,12 +723,10 @@ func awsRestjson1_deserializeOpDocumentAddFlowOutputsOutput(v **AddFlowOutputsOu } sv.FlowArn = ptr.String(jtv) } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -905,12 +897,10 @@ func awsRestjson1_deserializeOpDocumentAddFlowSourcesOutput(v **AddFlowSourcesOu } sv.FlowArn = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocument__listOfSource(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -1081,12 +1071,10 @@ func awsRestjson1_deserializeOpDocumentAddFlowVpcInterfacesOutput(v **AddFlowVpc } sv.FlowArn = ptr.String(jtv) } - case "vpcInterfaces": if err := awsRestjson1_deserializeDocument__listOfVpcInterface(&sv.VpcInterfaces, value); err != nil { return err } - default: _, _ = key, value @@ -1256,7 +1244,6 @@ func awsRestjson1_deserializeOpDocumentCreateBridgeOutput(v **CreateBridgeOutput if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } - default: _, _ = key, value @@ -1423,7 +1410,6 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } - default: _, _ = key, value @@ -1593,7 +1579,6 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp if err := awsRestjson1_deserializeDocumentGateway(&sv.Gateway, value); err != nil { return err } - default: _, _ = key, value @@ -1767,7 +1752,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBridgeOutput(v **DeleteBridgeOutput } sv.BridgeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1938,7 +1922,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.FlowArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1947,7 +1930,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -2121,7 +2103,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2295,7 +2276,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterGatewayInstanceOutput(v **Dereg } sv.GatewayInstanceArn = ptr.String(jtv) } - case "instanceState": if value != nil { jtv, ok := value.(string) @@ -2304,7 +2284,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterGatewayInstanceOutput(v **Dereg } sv.InstanceState = types.InstanceState(jtv) } - default: _, _ = key, value @@ -2474,7 +2453,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBridgeOutput(v **DescribeBridgeOu if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } - default: _, _ = key, value @@ -2641,12 +2619,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } - case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } - default: _, _ = key, value @@ -2817,12 +2793,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceMetadataOutput(v **Desc } sv.FlowArn = ptr.String(jtv) } - case "messages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.Messages, value); err != nil { return err } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -2835,12 +2809,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceMetadataOutput(v **Desc } sv.Timestamp = ptr.Time(t) } - case "transportMediaInfo": if err := awsRestjson1_deserializeDocumentTransportMediaInfo(&sv.TransportMediaInfo, value); err != nil { return err } - default: _, _ = key, value @@ -3007,7 +2979,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceThumbnailOutput(v **Des if err := awsRestjson1_deserializeDocumentThumbnailDetails(&sv.ThumbnailDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3177,7 +3148,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway if err := awsRestjson1_deserializeDocumentGateway(&sv.Gateway, value); err != nil { return err } - default: _, _ = key, value @@ -3347,7 +3317,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayInstanceOutput(v **Describ if err := awsRestjson1_deserializeDocumentGatewayInstance(&sv.GatewayInstance, value); err != nil { return err } - default: _, _ = key, value @@ -3511,7 +3480,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi if err := awsRestjson1_deserializeDocumentOffering(&sv.Offering, value); err != nil { return err } - default: _, _ = key, value @@ -3675,7 +3643,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } - default: _, _ = key, value @@ -3845,7 +3812,6 @@ func awsRestjson1_deserializeOpDocumentGrantFlowEntitlementsOutput(v **GrantFlow if err := awsRestjson1_deserializeDocument__listOfEntitlement(&sv.Entitlements, value); err != nil { return err } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -3854,7 +3820,6 @@ func awsRestjson1_deserializeOpDocumentGrantFlowEntitlementsOutput(v **GrantFlow } sv.FlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4018,7 +3983,6 @@ func awsRestjson1_deserializeOpDocumentListBridgesOutput(v **ListBridgesOutput, if err := awsRestjson1_deserializeDocument__listOfListedBridge(&sv.Bridges, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4027,7 +3991,6 @@ func awsRestjson1_deserializeOpDocumentListBridgesOutput(v **ListBridgesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4188,7 +4151,6 @@ func awsRestjson1_deserializeOpDocumentListEntitlementsOutput(v **ListEntitlemen if err := awsRestjson1_deserializeDocument__listOfListedEntitlement(&sv.Entitlements, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4197,7 +4159,6 @@ func awsRestjson1_deserializeOpDocumentListEntitlementsOutput(v **ListEntitlemen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4358,7 +4319,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocument__listOfListedFlow(&sv.Flows, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4367,7 +4327,6 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4531,7 +4490,6 @@ func awsRestjson1_deserializeOpDocumentListGatewayInstancesOutput(v **ListGatewa if err := awsRestjson1_deserializeDocument__listOfListedGatewayInstance(&sv.Instances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4540,7 +4498,6 @@ func awsRestjson1_deserializeOpDocumentListGatewayInstancesOutput(v **ListGatewa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4704,7 +4661,6 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsRestjson1_deserializeDocument__listOfListedGateway(&sv.Gateways, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4713,7 +4669,6 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4878,12 +4833,10 @@ func awsRestjson1_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } - case "offerings": if err := awsRestjson1_deserializeDocument__listOfOffering(&sv.Offerings, value); err != nil { return err } - default: _, _ = key, value @@ -5048,12 +5001,10 @@ func awsRestjson1_deserializeOpDocumentListReservationsOutput(v **ListReservatio } sv.NextToken = ptr.String(jtv) } - case "reservations": if err := awsRestjson1_deserializeDocument__listOfReservation(&sv.Reservations, value); err != nil { return err } - default: _, _ = key, value @@ -5211,7 +5162,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5378,7 +5328,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } - default: _, _ = key, value @@ -5552,7 +5501,6 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeOutputOutput(v **RemoveBridge } sv.BridgeArn = ptr.String(jtv) } - case "outputName": if value != nil { jtv, ok := value.(string) @@ -5561,7 +5509,6 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeOutputOutput(v **RemoveBridge } sv.OutputName = ptr.String(jtv) } - default: _, _ = key, value @@ -5735,7 +5682,6 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeSourceOutput(v **RemoveBridge } sv.BridgeArn = ptr.String(jtv) } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5744,7 +5690,6 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeSourceOutput(v **RemoveBridge } sv.SourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -5915,7 +5860,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowMediaStreamOutput(v **RemoveFlo } sv.FlowArn = ptr.String(jtv) } - case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -5924,7 +5868,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowMediaStreamOutput(v **RemoveFlo } sv.MediaStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -6095,7 +6038,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowOutputOutput(v **RemoveFlowOutp } sv.FlowArn = ptr.String(jtv) } - case "outputArn": if value != nil { jtv, ok := value.(string) @@ -6104,7 +6046,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowOutputOutput(v **RemoveFlowOutp } sv.OutputArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6275,7 +6216,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowSourceOutput(v **RemoveFlowSour } sv.FlowArn = ptr.String(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -6284,7 +6224,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowSourceOutput(v **RemoveFlowSour } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6455,12 +6394,10 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowVpcInterfaceOutput(v **RemoveFl } sv.FlowArn = ptr.String(jtv) } - case "nonDeletedNetworkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NonDeletedNetworkInterfaceIds, value); err != nil { return err } - case "vpcInterfaceName": if value != nil { jtv, ok := value.(string) @@ -6469,7 +6406,6 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowVpcInterfaceOutput(v **RemoveFl } sv.VpcInterfaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -6640,7 +6576,6 @@ func awsRestjson1_deserializeOpDocumentRevokeFlowEntitlementOutput(v **RevokeFlo } sv.EntitlementArn = ptr.String(jtv) } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -6649,7 +6584,6 @@ func awsRestjson1_deserializeOpDocumentRevokeFlowEntitlementOutput(v **RevokeFlo } sv.FlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6820,7 +6754,6 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6829,7 +6762,6 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -7000,7 +6932,6 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7009,7 +6940,6 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -7379,7 +7309,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeOutput(v **UpdateBridgeOutput if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } - default: _, _ = key, value @@ -7553,12 +7482,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeOutputOutput(v **UpdateBridge } sv.BridgeArn = ptr.String(jtv) } - case "output": if err := awsRestjson1_deserializeDocumentBridgeOutput(&sv.Output, value); err != nil { return err } - default: _, _ = key, value @@ -7732,12 +7659,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeSourceOutput(v **UpdateBridge } sv.BridgeArn = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentBridgeSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -7911,7 +7836,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeStateOutput(v **UpdateBridgeS } sv.BridgeArn = ptr.String(jtv) } - case "desiredState": if value != nil { jtv, ok := value.(string) @@ -7920,7 +7844,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeStateOutput(v **UpdateBridgeS } sv.DesiredState = types.DesiredState(jtv) } - default: _, _ = key, value @@ -8087,7 +8010,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } - default: _, _ = key, value @@ -8254,7 +8176,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowEntitlementOutput(v **UpdateFlo if err := awsRestjson1_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -8263,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowEntitlementOutput(v **UpdateFlo } sv.FlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8434,12 +8354,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowMediaStreamOutput(v **UpdateFlo } sv.FlowArn = ptr.String(jtv) } - case "mediaStream": if err := awsRestjson1_deserializeDocumentMediaStream(&sv.MediaStream, value); err != nil { return err } - default: _, _ = key, value @@ -8610,12 +8528,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutputOutput(v **UpdateFlowOutp } sv.FlowArn = ptr.String(jtv) } - case "output": if err := awsRestjson1_deserializeDocumentOutput(&sv.Output, value); err != nil { return err } - default: _, _ = key, value @@ -8786,12 +8702,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowSourceOutput(v **UpdateFlowSour } sv.FlowArn = ptr.String(jtv) } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -8965,7 +8879,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayInstanceOutput(v **UpdateGat } sv.BridgePlacement = types.BridgePlacement(jtv) } - case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -8974,7 +8887,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayInstanceOutput(v **UpdateGat } sv.GatewayInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10296,15 +10208,9 @@ func awsRestjson1_deserializeDocumentAddFlowOutputs420Exception(v **types.AddFlo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10312,15 +10218,11 @@ func awsRestjson1_deserializeDocumentAddFlowOutputs420Exception(v **types.AddFlo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10345,15 +10247,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10361,15 +10257,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10404,12 +10296,10 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.BridgeArn = ptr.String(jtv) } - case "bridgeMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.BridgeMessages, value); err != nil { return err } - case "bridgeState": if value != nil { jtv, ok := value.(string) @@ -10418,17 +10308,14 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.BridgeState = types.BridgeState(jtv) } - case "egressGatewayBridge": if err := awsRestjson1_deserializeDocumentEgressGatewayBridge(&sv.EgressGatewayBridge, value); err != nil { return err } - case "ingressGatewayBridge": if err := awsRestjson1_deserializeDocumentIngressGatewayBridge(&sv.IngressGatewayBridge, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10437,12 +10324,10 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.Name = ptr.String(jtv) } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfBridgeOutput(&sv.Outputs, value); err != nil { return err } - case "placementArn": if value != nil { jtv, ok := value.(string) @@ -10451,17 +10336,14 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.PlacementArn = ptr.String(jtv) } - case "sourceFailoverConfig": if err := awsRestjson1_deserializeDocumentFailoverConfig(&sv.SourceFailoverConfig, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocument__listOfBridgeSource(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -10501,7 +10383,6 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.FlowArn = ptr.String(jtv) } - case "flowSourceArn": if value != nil { jtv, ok := value.(string) @@ -10510,7 +10391,6 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.FlowSourceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10519,7 +10399,6 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10559,12 +10438,10 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.FlowArn = ptr.String(jtv) } - case "flowVpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.FlowVpcInterfaceAttachment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10573,7 +10450,6 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.Name = ptr.String(jtv) } - case "outputArn": if value != nil { jtv, ok := value.(string) @@ -10582,7 +10458,6 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.OutputArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10622,7 +10497,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.IpAddress = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10631,7 +10505,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Name = ptr.String(jtv) } - case "networkName": if value != nil { jtv, ok := value.(string) @@ -10640,7 +10513,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.NetworkName = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10653,7 +10525,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -10662,7 +10533,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Protocol = types.Protocol(jtv) } - case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -10675,7 +10545,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Ttl = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10715,7 +10584,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.MulticastIp = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10724,7 +10592,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Name = ptr.String(jtv) } - case "networkName": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10600,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.NetworkName = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10746,7 +10612,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -10755,7 +10620,6 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Protocol = types.Protocol(jtv) } - default: _, _ = key, value @@ -10791,12 +10655,10 @@ func awsRestjson1_deserializeDocumentBridgeOutput(v **types.BridgeOutput, value if err := awsRestjson1_deserializeDocumentBridgeFlowOutput(&sv.FlowOutput, value); err != nil { return err } - case "networkOutput": if err := awsRestjson1_deserializeDocumentBridgeNetworkOutput(&sv.NetworkOutput, value); err != nil { return err } - default: _, _ = key, value @@ -10832,12 +10694,10 @@ func awsRestjson1_deserializeDocumentBridgeSource(v **types.BridgeSource, value if err := awsRestjson1_deserializeDocumentBridgeFlowSource(&sv.FlowSource, value); err != nil { return err } - case "networkSource": if err := awsRestjson1_deserializeDocumentBridgeNetworkSource(&sv.NetworkSource, value); err != nil { return err } - default: _, _ = key, value @@ -10867,15 +10727,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10883,15 +10737,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10916,15 +10766,9 @@ func awsRestjson1_deserializeDocumentCreateBridge420Exception(v **types.CreateBr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10932,15 +10776,11 @@ func awsRestjson1_deserializeDocumentCreateBridge420Exception(v **types.CreateBr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10965,15 +10805,9 @@ func awsRestjson1_deserializeDocumentCreateFlow420Exception(v **types.CreateFlow sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10981,15 +10815,11 @@ func awsRestjson1_deserializeDocumentCreateFlow420Exception(v **types.CreateFlow } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11014,15 +10844,9 @@ func awsRestjson1_deserializeDocumentCreateGateway420Exception(v **types.CreateG sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11030,15 +10854,11 @@ func awsRestjson1_deserializeDocumentCreateGateway420Exception(v **types.CreateG } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11073,7 +10893,6 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.DestinationIp = ptr.String(jtv) } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -11086,12 +10905,10 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "interface": if err := awsRestjson1_deserializeDocumentInterface(&sv.Interface, value); err != nil { return err } - case "outboundIp": if value != nil { jtv, ok := value.(string) @@ -11100,7 +10917,6 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.OutboundIp = ptr.String(jtv) } - default: _, _ = key, value @@ -11140,7 +10956,6 @@ func awsRestjson1_deserializeDocumentEgressGatewayBridge(v **types.EgressGateway } sv.InstanceId = ptr.String(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -11153,7 +10968,6 @@ func awsRestjson1_deserializeDocumentEgressGatewayBridge(v **types.EgressGateway } sv.MaxBitrate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11218,7 +11032,6 @@ func awsRestjson1_deserializeDocumentEncodingParameters(v **types.EncodingParame } } - case "encoderProfile": if value != nil { jtv, ok := value.(string) @@ -11227,7 +11040,6 @@ func awsRestjson1_deserializeDocumentEncodingParameters(v **types.EncodingParame } sv.EncoderProfile = types.EncoderProfile(jtv) } - default: _, _ = key, value @@ -11267,7 +11079,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Algorithm = types.Algorithm(jtv) } - case "constantInitializationVector": if value != nil { jtv, ok := value.(string) @@ -11276,7 +11087,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ConstantInitializationVector = ptr.String(jtv) } - case "deviceId": if value != nil { jtv, ok := value.(string) @@ -11285,7 +11095,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.DeviceId = ptr.String(jtv) } - case "keyType": if value != nil { jtv, ok := value.(string) @@ -11294,7 +11103,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyType = types.KeyType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11303,7 +11111,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Region = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11312,7 +11119,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ResourceId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11321,7 +11127,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.RoleArn = ptr.String(jtv) } - case "secretArn": if value != nil { jtv, ok := value.(string) @@ -11330,7 +11135,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.SecretArn = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -11339,7 +11143,6 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -11383,7 +11186,6 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11392,12 +11194,10 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Description = ptr.String(jtv) } - case "encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -11406,7 +11206,6 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.EntitlementArn = ptr.String(jtv) } - case "entitlementStatus": if value != nil { jtv, ok := value.(string) @@ -11415,7 +11214,6 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.EntitlementStatus = types.EntitlementStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11424,12 +11222,10 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } - case "subscribers": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subscribers, value); err != nil { return err } - default: _, _ = key, value @@ -11469,7 +11265,6 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.FailoverMode = types.FailoverMode(jtv) } - case "recoveryWindow": if value != nil { jtv, ok := value.(json.Number) @@ -11482,12 +11277,10 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.RecoveryWindow = ptr.Int32(int32(i64)) } - case "sourcePriority": if err := awsRestjson1_deserializeDocumentSourcePriority(&sv.SourcePriority, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -11496,7 +11289,6 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.State = types.State(jtv) } - default: _, _ = key, value @@ -11536,7 +11328,6 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11545,7 +11336,6 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Description = ptr.String(jtv) } - case "egressIp": if value != nil { jtv, ok := value.(string) @@ -11554,12 +11344,10 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.EgressIp = ptr.String(jtv) } - case "entitlements": if err := awsRestjson1_deserializeDocument__listOfEntitlement(&sv.Entitlements, value); err != nil { return err } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -11568,17 +11356,14 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.FlowArn = ptr.String(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenance(&sv.Maintenance, value); err != nil { return err } - case "mediaStreams": if err := awsRestjson1_deserializeDocument__listOfMediaStream(&sv.MediaStreams, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11587,32 +11372,26 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Name = ptr.String(jtv) } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "sourceFailoverConfig": if err := awsRestjson1_deserializeDocumentFailoverConfig(&sv.SourceFailoverConfig, value); err != nil { return err } - case "sourceMonitoringConfig": if err := awsRestjson1_deserializeDocumentMonitoringConfig(&sv.SourceMonitoringConfig, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocument__listOfSource(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11621,12 +11400,10 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Status = types.Status(jtv) } - case "vpcInterfaces": if err := awsRestjson1_deserializeDocument__listOfVpcInterface(&sv.VpcInterfaces, value); err != nil { return err } - default: _, _ = key, value @@ -11666,7 +11443,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ChannelOrder = ptr.String(jtv) } - case "colorimetry": if value != nil { jtv, ok := value.(string) @@ -11675,7 +11451,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Colorimetry = types.Colorimetry(jtv) } - case "exactFramerate": if value != nil { jtv, ok := value.(string) @@ -11684,7 +11459,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ExactFramerate = ptr.String(jtv) } - case "par": if value != nil { jtv, ok := value.(string) @@ -11693,7 +11467,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Par = ptr.String(jtv) } - case "range": if value != nil { jtv, ok := value.(string) @@ -11702,7 +11475,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Range = types.Range(jtv) } - case "scanMode": if value != nil { jtv, ok := value.(string) @@ -11711,7 +11483,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ScanMode = types.ScanMode(jtv) } - case "tcs": if value != nil { jtv, ok := value.(string) @@ -11720,7 +11491,6 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Tcs = types.Tcs(jtv) } - default: _, _ = key, value @@ -11750,15 +11520,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11766,15 +11530,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11813,7 +11573,6 @@ func awsRestjson1_deserializeDocumentFrameResolution(v **types.FrameResolution, } sv.FrameHeight = ptr.Int32(int32(i64)) } - case "frameWidth": if value != nil { jtv, ok := value.(json.Number) @@ -11826,7 +11585,6 @@ func awsRestjson1_deserializeDocumentFrameResolution(v **types.FrameResolution, } sv.FrameWidth = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11862,7 +11620,6 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ if err := awsRestjson1_deserializeDocument__listOf__string(&sv.EgressCidrBlocks, value); err != nil { return err } - case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -11871,12 +11628,10 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayArn = ptr.String(jtv) } - case "gatewayMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.GatewayMessages, value); err != nil { return err } - case "gatewayState": if value != nil { jtv, ok := value.(string) @@ -11885,7 +11640,6 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayState = types.GatewayState(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11894,12 +11648,10 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.Name = ptr.String(jtv) } - case "networks": if err := awsRestjson1_deserializeDocument__listOfGatewayNetwork(&sv.Networks, value); err != nil { return err } - default: _, _ = key, value @@ -11939,12 +11691,10 @@ func awsRestjson1_deserializeDocumentGatewayBridgeSource(v **types.GatewayBridge } sv.BridgeArn = ptr.String(jtv) } - case "vpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.VpcInterfaceAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -11984,7 +11734,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.BridgePlacement = types.BridgePlacement(jtv) } - case "connectionStatus": if value != nil { jtv, ok := value.(string) @@ -11993,7 +11742,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.ConnectionStatus = types.ConnectionStatus(jtv) } - case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -12002,7 +11750,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.GatewayArn = ptr.String(jtv) } - case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -12011,7 +11758,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.GatewayInstanceArn = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -12020,12 +11766,10 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.InstanceId = ptr.String(jtv) } - case "instanceMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.InstanceMessages, value); err != nil { return err } - case "instanceState": if value != nil { jtv, ok := value.(string) @@ -12034,7 +11778,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.InstanceState = types.InstanceState(jtv) } - case "runningBridgeCount": if value != nil { jtv, ok := value.(json.Number) @@ -12047,7 +11790,6 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.RunningBridgeCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12087,7 +11829,6 @@ func awsRestjson1_deserializeDocumentGatewayNetwork(v **types.GatewayNetwork, va } sv.CidrBlock = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12096,7 +11837,6 @@ func awsRestjson1_deserializeDocumentGatewayNetwork(v **types.GatewayNetwork, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12126,15 +11866,9 @@ func awsRestjson1_deserializeDocumentGrantFlowEntitlements420Exception(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12142,15 +11876,11 @@ func awsRestjson1_deserializeDocumentGrantFlowEntitlements420Exception(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12185,7 +11915,6 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.InstanceId = ptr.String(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -12198,7 +11927,6 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "maxOutputs": if value != nil { jtv, ok := value.(json.Number) @@ -12211,7 +11939,6 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.MaxOutputs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12251,7 +11978,6 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputIp = ptr.String(jtv) } - case "inputPort": if value != nil { jtv, ok := value.(json.Number) @@ -12264,12 +11990,10 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputPort = ptr.Int32(int32(i64)) } - case "interface": if err := awsRestjson1_deserializeDocumentInterface(&sv.Interface, value); err != nil { return err } - default: _, _ = key, value @@ -12309,7 +12033,6 @@ func awsRestjson1_deserializeDocumentInterface(v **types.Interface, value interf } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12339,15 +12062,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12355,15 +12072,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12398,7 +12111,6 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeArn = ptr.String(jtv) } - case "bridgeState": if value != nil { jtv, ok := value.(string) @@ -12407,7 +12119,6 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeState = types.BridgeState(jtv) } - case "bridgeType": if value != nil { jtv, ok := value.(string) @@ -12416,7 +12127,6 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeType = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12425,7 +12135,6 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.Name = ptr.String(jtv) } - case "placementArn": if value != nil { jtv, ok := value.(string) @@ -12434,7 +12143,6 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.PlacementArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12478,7 +12186,6 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } - case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -12487,7 +12194,6 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.EntitlementArn = ptr.String(jtv) } - case "entitlementName": if value != nil { jtv, ok := value.(string) @@ -12496,7 +12202,6 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.EntitlementName = ptr.String(jtv) } - default: _, _ = key, value @@ -12536,7 +12241,6 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.AvailabilityZone = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12545,7 +12249,6 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Description = ptr.String(jtv) } - case "flowArn": if value != nil { jtv, ok := value.(string) @@ -12554,12 +12257,10 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.FlowArn = ptr.String(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenance(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12568,7 +12269,6 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Name = ptr.String(jtv) } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -12577,7 +12277,6 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.SourceType = types.SourceType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12586,7 +12285,6 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -12626,7 +12324,6 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.GatewayArn = ptr.String(jtv) } - case "gatewayState": if value != nil { jtv, ok := value.(string) @@ -12635,7 +12332,6 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.GatewayState = types.GatewayState(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12644,7 +12340,6 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12684,7 +12379,6 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.GatewayArn = ptr.String(jtv) } - case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -12693,7 +12387,6 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.GatewayInstanceArn = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -12702,7 +12395,6 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.InstanceId = ptr.String(jtv) } - case "instanceState": if value != nil { jtv, ok := value.(string) @@ -12711,7 +12403,6 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.InstanceState = types.InstanceState(jtv) } - default: _, _ = key, value @@ -12751,7 +12442,6 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceDay = types.MaintenanceDay(jtv) } - case "maintenanceDeadline": if value != nil { jtv, ok := value.(string) @@ -12760,7 +12450,6 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceDeadline = ptr.String(jtv) } - case "maintenanceScheduledDate": if value != nil { jtv, ok := value.(string) @@ -12769,7 +12458,6 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceScheduledDate = ptr.String(jtv) } - case "maintenanceStartHour": if value != nil { jtv, ok := value.(string) @@ -12778,7 +12466,6 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceStartHour = ptr.String(jtv) } - default: _, _ = key, value @@ -12814,7 +12501,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in if err := awsRestjson1_deserializeDocumentMediaStreamAttributes(&sv.Attributes, value); err != nil { return err } - case "clockRate": if value != nil { jtv, ok := value.(json.Number) @@ -12827,7 +12513,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.ClockRate = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12836,7 +12521,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.Description = ptr.String(jtv) } - case "fmt": if value != nil { jtv, ok := value.(json.Number) @@ -12849,7 +12533,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.Fmt = ptr.Int32(int32(i64)) } - case "mediaStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -12862,7 +12545,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamId = ptr.Int32(int32(i64)) } - case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -12871,7 +12553,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamName = ptr.String(jtv) } - case "mediaStreamType": if value != nil { jtv, ok := value.(string) @@ -12880,7 +12561,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamType = types.MediaStreamType(jtv) } - case "videoFormat": if value != nil { jtv, ok := value.(string) @@ -12889,7 +12569,6 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.VideoFormat = ptr.String(jtv) } - default: _, _ = key, value @@ -12925,7 +12604,6 @@ func awsRestjson1_deserializeDocumentMediaStreamAttributes(v **types.MediaStream if err := awsRestjson1_deserializeDocumentFmtp(&sv.Fmtp, value); err != nil { return err } - case "lang": if value != nil { jtv, ok := value.(string) @@ -12934,7 +12612,6 @@ func awsRestjson1_deserializeDocumentMediaStreamAttributes(v **types.MediaStream } sv.Lang = ptr.String(jtv) } - default: _, _ = key, value @@ -12970,7 +12647,6 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me if err := awsRestjson1_deserializeDocument__listOfDestinationConfiguration(&sv.DestinationConfigurations, value); err != nil { return err } - case "encodingName": if value != nil { jtv, ok := value.(string) @@ -12979,12 +12655,10 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me } sv.EncodingName = types.EncodingName(jtv) } - case "encodingParameters": if err := awsRestjson1_deserializeDocumentEncodingParameters(&sv.EncodingParameters, value); err != nil { return err } - case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -12993,7 +12667,6 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me } sv.MediaStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -13033,12 +12706,10 @@ func awsRestjson1_deserializeDocumentMediaStreamSourceConfiguration(v **types.Me } sv.EncodingName = types.EncodingName(jtv) } - case "inputConfigurations": if err := awsRestjson1_deserializeDocument__listOfInputConfiguration(&sv.InputConfigurations, value); err != nil { return err } - case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -13047,7 +12718,6 @@ func awsRestjson1_deserializeDocumentMediaStreamSourceConfiguration(v **types.Me } sv.MediaStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -13087,7 +12757,6 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13096,7 +12765,6 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -13105,7 +12773,6 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -13141,7 +12808,6 @@ func awsRestjson1_deserializeDocumentMessages(v **types.Messages, value interfac if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -13181,7 +12847,6 @@ func awsRestjson1_deserializeDocumentMonitoringConfig(v **types.MonitoringConfig } sv.ThumbnailState = types.ThumbnailState(jtv) } - default: _, _ = key, value @@ -13211,15 +12876,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13227,15 +12886,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13270,7 +12925,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -13283,7 +12937,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -13292,7 +12945,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.DurationUnits = types.DurationUnits(jtv) } - case "offeringArn": if value != nil { jtv, ok := value.(string) @@ -13301,7 +12953,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingArn = ptr.String(jtv) } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -13310,7 +12961,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingDescription = ptr.String(jtv) } - case "pricePerUnit": if value != nil { jtv, ok := value.(string) @@ -13319,7 +12969,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.PricePerUnit = ptr.String(jtv) } - case "priceUnits": if value != nil { jtv, ok := value.(string) @@ -13328,12 +12977,10 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.PriceUnits = types.PriceUnits(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -13373,12 +13020,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.BridgeArn = ptr.String(jtv) } - case "bridgePorts": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.BridgePorts, value); err != nil { return err } - case "dataTransferSubscriberFeePercent": if value != nil { jtv, ok := value.(json.Number) @@ -13391,7 +13036,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13400,7 +13044,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Description = ptr.String(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -13409,12 +13052,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Destination = ptr.String(jtv) } - case "encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -13423,7 +13064,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.EntitlementArn = ptr.String(jtv) } - case "listenerAddress": if value != nil { jtv, ok := value.(string) @@ -13432,7 +13072,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.ListenerAddress = ptr.String(jtv) } - case "mediaLiveInputArn": if value != nil { jtv, ok := value.(string) @@ -13441,12 +13080,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.MediaLiveInputArn = ptr.String(jtv) } - case "mediaStreamOutputConfigurations": if err := awsRestjson1_deserializeDocument__listOfMediaStreamOutputConfiguration(&sv.MediaStreamOutputConfigurations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13455,7 +13092,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Name = ptr.String(jtv) } - case "outputArn": if value != nil { jtv, ok := value.(string) @@ -13464,7 +13100,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputArn = ptr.String(jtv) } - case "outputStatus": if value != nil { jtv, ok := value.(string) @@ -13473,7 +13108,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputStatus = types.OutputStatus(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -13486,17 +13120,14 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Port = ptr.Int32(int32(i64)) } - case "transport": if err := awsRestjson1_deserializeDocumentTransport(&sv.Transport, value); err != nil { return err } - case "vpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.VpcInterfaceAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -13536,7 +13167,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -13549,7 +13179,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -13558,7 +13187,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.DurationUnits = types.DurationUnits(jtv) } - case "end": if value != nil { jtv, ok := value.(string) @@ -13567,7 +13195,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.End = ptr.String(jtv) } - case "offeringArn": if value != nil { jtv, ok := value.(string) @@ -13576,7 +13203,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingArn = ptr.String(jtv) } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -13585,7 +13211,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingDescription = ptr.String(jtv) } - case "pricePerUnit": if value != nil { jtv, ok := value.(string) @@ -13594,7 +13219,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.PricePerUnit = ptr.String(jtv) } - case "priceUnits": if value != nil { jtv, ok := value.(string) @@ -13603,7 +13227,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.PriceUnits = types.PriceUnits(jtv) } - case "reservationArn": if value != nil { jtv, ok := value.(string) @@ -13612,7 +13235,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationArn = ptr.String(jtv) } - case "reservationName": if value != nil { jtv, ok := value.(string) @@ -13621,7 +13243,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationName = ptr.String(jtv) } - case "reservationState": if value != nil { jtv, ok := value.(string) @@ -13630,12 +13251,10 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationState = types.ReservationState(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "start": if value != nil { jtv, ok := value.(string) @@ -13644,7 +13263,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Start = ptr.String(jtv) } - default: _, _ = key, value @@ -13688,7 +13306,6 @@ func awsRestjson1_deserializeDocumentResourceSpecification(v **types.ResourceSpe } sv.ReservedBitrate = ptr.Int32(int32(i64)) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13697,7 +13314,6 @@ func awsRestjson1_deserializeDocumentResourceSpecification(v **types.ResourceSpe } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -13727,15 +13343,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13743,15 +13353,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13790,12 +13396,10 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } - case "decryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Decryption, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -13804,7 +13408,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Description = ptr.String(jtv) } - case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -13813,12 +13416,10 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.EntitlementArn = ptr.String(jtv) } - case "gatewayBridgeSource": if err := awsRestjson1_deserializeDocumentGatewayBridgeSource(&sv.GatewayBridgeSource, value); err != nil { return err } - case "ingestIp": if value != nil { jtv, ok := value.(string) @@ -13827,7 +13428,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.IngestIp = ptr.String(jtv) } - case "ingestPort": if value != nil { jtv, ok := value.(json.Number) @@ -13840,12 +13440,10 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.IngestPort = ptr.Int32(int32(i64)) } - case "mediaStreamSourceConfigurations": if err := awsRestjson1_deserializeDocument__listOfMediaStreamSourceConfiguration(&sv.MediaStreamSourceConfigurations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13854,7 +13452,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Name = ptr.String(jtv) } - case "senderControlPort": if value != nil { jtv, ok := value.(json.Number) @@ -13867,7 +13464,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SenderControlPort = ptr.Int32(int32(i64)) } - case "senderIpAddress": if value != nil { jtv, ok := value.(string) @@ -13876,7 +13472,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SenderIpAddress = ptr.String(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -13885,12 +13480,10 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceArn = ptr.String(jtv) } - case "transport": if err := awsRestjson1_deserializeDocumentTransport(&sv.Transport, value); err != nil { return err } - case "vpcInterfaceName": if value != nil { jtv, ok := value.(string) @@ -13899,7 +13492,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.VpcInterfaceName = ptr.String(jtv) } - case "whitelistCidr": if value != nil { jtv, ok := value.(string) @@ -13908,7 +13500,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.WhitelistCidr = ptr.String(jtv) } - default: _, _ = key, value @@ -13948,7 +13539,6 @@ func awsRestjson1_deserializeDocumentSourcePriority(v **types.SourcePriority, va } sv.PrimarySource = ptr.String(jtv) } - default: _, _ = key, value @@ -13988,7 +13578,6 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.FlowArn = ptr.String(jtv) } - case "thumbnail": if value != nil { jtv, ok := value.(string) @@ -13997,12 +13586,10 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Thumbnail = ptr.String(jtv) } - case "thumbnailMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.ThumbnailMessages, value); err != nil { return err } - case "timecode": if value != nil { jtv, ok := value.(string) @@ -14011,7 +13598,6 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Timecode = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -14024,7 +13610,6 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Timestamp = ptr.Time(t) } - default: _, _ = key, value @@ -14054,15 +13639,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14070,15 +13649,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14109,7 +13684,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CidrAllowList, value); err != nil { return err } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -14122,7 +13696,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "maxLatency": if value != nil { jtv, ok := value.(json.Number) @@ -14135,7 +13708,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxLatency = ptr.Int32(int32(i64)) } - case "maxSyncBuffer": if value != nil { jtv, ok := value.(json.Number) @@ -14148,7 +13720,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxSyncBuffer = ptr.Int32(int32(i64)) } - case "minLatency": if value != nil { jtv, ok := value.(json.Number) @@ -14161,7 +13732,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MinLatency = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -14170,7 +13740,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.Protocol = types.Protocol(jtv) } - case "remoteId": if value != nil { jtv, ok := value.(string) @@ -14179,7 +13748,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.RemoteId = ptr.String(jtv) } - case "senderControlPort": if value != nil { jtv, ok := value.(json.Number) @@ -14192,7 +13760,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SenderControlPort = ptr.Int32(int32(i64)) } - case "senderIpAddress": if value != nil { jtv, ok := value.(string) @@ -14201,7 +13768,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SenderIpAddress = ptr.String(jtv) } - case "smoothingLatency": if value != nil { jtv, ok := value.(json.Number) @@ -14214,7 +13780,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SmoothingLatency = ptr.Int32(int32(i64)) } - case "sourceListenerAddress": if value != nil { jtv, ok := value.(string) @@ -14223,7 +13788,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SourceListenerAddress = ptr.String(jtv) } - case "sourceListenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -14236,7 +13800,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SourceListenerPort = ptr.Int32(int32(i64)) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -14245,7 +13808,6 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -14281,7 +13843,6 @@ func awsRestjson1_deserializeDocumentTransportMediaInfo(v **types.TransportMedia if err := awsRestjson1_deserializeDocument__listOfTransportStreamProgram(&sv.Programs, value); err != nil { return err } - default: _, _ = key, value @@ -14325,7 +13886,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Channels = ptr.Int32(int32(i64)) } - case "codec": if value != nil { jtv, ok := value.(string) @@ -14334,7 +13894,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Codec = ptr.String(jtv) } - case "frameRate": if value != nil { jtv, ok := value.(string) @@ -14343,12 +13902,10 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.FrameRate = ptr.String(jtv) } - case "frameResolution": if err := awsRestjson1_deserializeDocumentFrameResolution(&sv.FrameResolution, value); err != nil { return err } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -14361,7 +13918,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Pid = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -14374,7 +13930,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.SampleRate = ptr.Int32(int32(i64)) } - case "sampleSize": if value != nil { jtv, ok := value.(json.Number) @@ -14387,7 +13942,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.SampleSize = ptr.Int32(int32(i64)) } - case "streamType": if value != nil { jtv, ok := value.(string) @@ -14396,7 +13950,6 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.StreamType = ptr.String(jtv) } - default: _, _ = key, value @@ -14440,7 +13993,6 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.PcrPid = ptr.Int32(int32(i64)) } - case "programName": if value != nil { jtv, ok := value.(string) @@ -14449,7 +14001,6 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramName = ptr.String(jtv) } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14462,7 +14013,6 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "programPid": if value != nil { jtv, ok := value.(json.Number) @@ -14475,12 +14025,10 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramPid = ptr.Int32(int32(i64)) } - case "streams": if err := awsRestjson1_deserializeDocument__listOfTransportStream(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -14520,12 +14068,10 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.Name = ptr.String(jtv) } - case "networkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NetworkInterfaceIds, value); err != nil { return err } - case "networkInterfaceType": if value != nil { jtv, ok := value.(string) @@ -14534,7 +14080,6 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.NetworkInterfaceType = types.NetworkInterfaceType(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14543,12 +14088,10 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.RoleArn = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -14557,7 +14100,6 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -14597,7 +14139,6 @@ func awsRestjson1_deserializeDocumentVpcInterfaceAttachment(v **types.VpcInterfa } sv.VpcInterfaceName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index 4632313018d..25ac2381067 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -393,7 +393,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -560,7 +559,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -727,7 +725,6 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } - default: _, _ = key, value @@ -894,7 +891,6 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -1473,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsRestjson1_deserializeDocument__listOfEndpoint(&sv.Endpoints, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1482,7 +1477,6 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1752,7 +1746,6 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -1919,7 +1912,6 @@ func awsRestjson1_deserializeOpDocumentGetJobTemplateOutput(v **GetJobTemplateOu if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -2086,7 +2078,6 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsRestjson1_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -2253,7 +2244,6 @@ func awsRestjson1_deserializeOpDocumentGetPresetOutput(v **GetPresetOutput, valu if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } - default: _, _ = key, value @@ -2420,7 +2410,6 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -2587,7 +2576,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocument__listOfJob(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2596,7 +2584,6 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2763,7 +2750,6 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat if err := awsRestjson1_deserializeDocument__listOfJobTemplate(&sv.JobTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2772,7 +2758,6 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2943,12 +2928,10 @@ func awsRestjson1_deserializeOpDocumentListPresetsOutput(v **ListPresetsOutput, } sv.NextToken = ptr.String(jtv) } - case "presets": if err := awsRestjson1_deserializeDocument__listOfPreset(&sv.Presets, value); err != nil { return err } - default: _, _ = key, value @@ -3119,12 +3102,10 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } - case "queues": if err := awsRestjson1_deserializeDocument__listOfQueue(&sv.Queues, value); err != nil { return err } - default: _, _ = key, value @@ -3291,7 +3272,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - default: _, _ = key, value @@ -3462,12 +3442,10 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } - case "versions": if err := awsRestjson1_deserializeDocument__listOfJobEngineVersion(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -3634,7 +3612,6 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu if err := awsRestjson1_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -3801,7 +3778,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocument__listOfJob(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3810,7 +3786,6 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4183,7 +4158,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJobTemplateOutput(v **UpdateJobTemp if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -4350,7 +4324,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePresetOutput(v **UpdatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } - default: _, _ = key, value @@ -4517,7 +4490,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQueueOutput(v **UpdateQueueOutput, if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -6539,7 +6511,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.AudioDescriptionBroadcasterMix = types.AacAudioDescriptionBroadcasterMix(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -6552,7 +6523,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -6561,7 +6531,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodecProfile = types.AacCodecProfile(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -6570,7 +6539,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodingMode = types.AacCodingMode(jtv) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6547,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RateControlMode = types.AacRateControlMode(jtv) } - case "rawFormat": if value != nil { jtv, ok := value.(string) @@ -6588,7 +6555,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RawFormat = types.AacRawFormat(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6601,7 +6567,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } - case "specification": if value != nil { jtv, ok := value.(string) @@ -6610,7 +6575,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Specification = types.AacSpecification(jtv) } - case "vbrQuality": if value != nil { jtv, ok := value.(string) @@ -6619,7 +6583,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.VbrQuality = types.AacVbrQuality(jtv) } - default: _, _ = key, value @@ -6663,7 +6626,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6634,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.BitstreamMode = types.Ac3BitstreamMode(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6642,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.CodingMode = types.Ac3CodingMode(jtv) } - case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -6694,7 +6654,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Dialnorm = ptr.Int32(int32(i64)) } - case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -6703,7 +6662,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionLine = types.Ac3DynamicRangeCompressionLine(jtv) } - case "dynamicRangeCompressionProfile": if value != nil { jtv, ok := value.(string) @@ -6712,7 +6670,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionProfile = types.Ac3DynamicRangeCompressionProfile(jtv) } - case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -6721,7 +6678,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionRf = types.Ac3DynamicRangeCompressionRf(jtv) } - case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -6730,7 +6686,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.LfeFilter = types.Ac3LfeFilter(jtv) } - case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -6739,7 +6694,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.MetadataControl = types.Ac3MetadataControl(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6752,7 +6706,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6792,7 +6745,6 @@ func awsRestjson1_deserializeDocumentAccelerationSettings(v **types.Acceleration } sv.Mode = types.AccelerationMode(jtv) } - default: _, _ = key, value @@ -6832,7 +6784,6 @@ func awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(v **types.Advan } sv.AddTexture = types.AdvancedInputFilterAddTexture(jtv) } - case "sharpening": if value != nil { jtv, ok := value.(string) @@ -6841,7 +6792,6 @@ func awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(v **types.Advan } sv.Sharpening = types.AdvancedInputFilterSharpen(jtv) } - default: _, _ = key, value @@ -6885,7 +6835,6 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.BitDepth = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -6898,7 +6847,6 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.Channels = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6911,7 +6859,6 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6955,7 +6902,6 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Height = ptr.Int32(int32(i64)) } - case "required": if value != nil { jtv, ok := value.(string) @@ -6964,7 +6910,6 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Required = types.RequiredFlag(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -6977,7 +6922,6 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7017,7 +6961,6 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.Convert608To708 = types.AncillaryConvert608To708(jtv) } - case "sourceAncillaryChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -7030,7 +6973,6 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.SourceAncillaryChannelNumber = ptr.Int32(int32(i64)) } - case "terminateCaptions": if value != nil { jtv, ok := value.(string) @@ -7039,7 +6981,6 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.TerminateCaptions = types.AncillaryTerminateCaptions(jtv) } - default: _, _ = key, value @@ -7079,12 +7020,10 @@ func awsRestjson1_deserializeDocumentAudioChannelTaggingSettings(v **types.Audio } sv.ChannelTag = types.AudioChannelTag(jtv) } - case "channelTags": if err := awsRestjson1_deserializeDocument__listOfAudioChannelTag(&sv.ChannelTags, value); err != nil { return err } - default: _, _ = key, value @@ -7120,17 +7059,14 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett if err := awsRestjson1_deserializeDocumentAacSettings(&sv.AacSettings, value); err != nil { return err } - case "ac3Settings": if err := awsRestjson1_deserializeDocumentAc3Settings(&sv.Ac3Settings, value); err != nil { return err } - case "aiffSettings": if err := awsRestjson1_deserializeDocumentAiffSettings(&sv.AiffSettings, value); err != nil { return err } - case "codec": if value != nil { jtv, ok := value.(string) @@ -7139,47 +7075,38 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett } sv.Codec = types.AudioCodec(jtv) } - case "eac3AtmosSettings": if err := awsRestjson1_deserializeDocumentEac3AtmosSettings(&sv.Eac3AtmosSettings, value); err != nil { return err } - case "eac3Settings": if err := awsRestjson1_deserializeDocumentEac3Settings(&sv.Eac3Settings, value); err != nil { return err } - case "flacSettings": if err := awsRestjson1_deserializeDocumentFlacSettings(&sv.FlacSettings, value); err != nil { return err } - case "mp2Settings": if err := awsRestjson1_deserializeDocumentMp2Settings(&sv.Mp2Settings, value); err != nil { return err } - case "mp3Settings": if err := awsRestjson1_deserializeDocumentMp3Settings(&sv.Mp3Settings, value); err != nil { return err } - case "opusSettings": if err := awsRestjson1_deserializeDocumentOpusSettings(&sv.OpusSettings, value); err != nil { return err } - case "vorbisSettings": if err := awsRestjson1_deserializeDocumentVorbisSettings(&sv.VorbisSettings, value); err != nil { return err } - case "wavSettings": if err := awsRestjson1_deserializeDocumentWavSettings(&sv.WavSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7215,12 +7142,10 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription if err := awsRestjson1_deserializeDocumentAudioChannelTaggingSettings(&sv.AudioChannelTaggingSettings, value); err != nil { return err } - case "audioNormalizationSettings": if err := awsRestjson1_deserializeDocumentAudioNormalizationSettings(&sv.AudioNormalizationSettings, value); err != nil { return err } - case "audioSourceName": if value != nil { jtv, ok := value.(string) @@ -7229,7 +7154,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioSourceName = ptr.String(jtv) } - case "audioType": if value != nil { jtv, ok := value.(json.Number) @@ -7242,7 +7166,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioType = ptr.Int32(int32(i64)) } - case "audioTypeControl": if value != nil { jtv, ok := value.(string) @@ -7251,12 +7174,10 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioTypeControl = types.AudioTypeControl(jtv) } - case "codecSettings": if err := awsRestjson1_deserializeDocumentAudioCodecSettings(&sv.CodecSettings, value); err != nil { return err } - case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -7265,7 +7186,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.CustomLanguageCode = ptr.String(jtv) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -7274,7 +7194,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCode = types.LanguageCode(jtv) } - case "languageCodeControl": if value != nil { jtv, ok := value.(string) @@ -7283,12 +7202,10 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCodeControl = types.AudioLanguageCodeControl(jtv) } - case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -7297,7 +7214,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -7337,7 +7253,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.Algorithm = types.AudioNormalizationAlgorithm(jtv) } - case "algorithmControl": if value != nil { jtv, ok := value.(string) @@ -7346,7 +7261,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.AlgorithmControl = types.AudioNormalizationAlgorithmControl(jtv) } - case "correctionGateLevel": if value != nil { jtv, ok := value.(json.Number) @@ -7359,7 +7273,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.CorrectionGateLevel = ptr.Int32(int32(i64)) } - case "loudnessLogging": if value != nil { jtv, ok := value.(string) @@ -7368,7 +7281,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.LoudnessLogging = types.AudioNormalizationLoudnessLogging(jtv) } - case "peakCalculation": if value != nil { jtv, ok := value.(string) @@ -7377,7 +7289,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.PeakCalculation = types.AudioNormalizationPeakCalculation(jtv) } - case "targetLkfs": if value != nil { switch jtv := value.(type) { @@ -7411,7 +7322,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } - case "truePeakLimiterThreshold": if value != nil { switch jtv := value.(type) { @@ -7445,7 +7355,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } - default: _, _ = key, value @@ -7485,7 +7394,6 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.AudioDurationCorrection = types.AudioDurationCorrection(jtv) } - case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -7494,7 +7402,6 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.CustomLanguageCode = ptr.String(jtv) } - case "defaultSelection": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7410,6 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.DefaultSelection = types.AudioDefaultSelection(jtv) } - case "externalAudioFileInput": if value != nil { jtv, ok := value.(string) @@ -7512,12 +7418,10 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.ExternalAudioFileInput = ptr.String(jtv) } - case "hlsRenditionGroupSettings": if err := awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(&sv.HlsRenditionGroupSettings, value); err != nil { return err } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -7526,7 +7430,6 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.LanguageCode = types.LanguageCode(jtv) } - case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -7539,12 +7442,10 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.Offset = ptr.Int32(int32(i64)) } - case "pids": if err := awsRestjson1_deserializeDocument__listOf__integerMin1Max2147483647(&sv.Pids, value); err != nil { return err } - case "programSelection": if value != nil { jtv, ok := value.(json.Number) @@ -7557,12 +7458,10 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.ProgramSelection = ptr.Int32(int32(i64)) } - case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } - case "selectorType": if value != nil { jtv, ok := value.(string) @@ -7571,12 +7470,10 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.SelectorType = types.AudioSelectorType(jtv) } - case "tracks": if err := awsRestjson1_deserializeDocument__listOf__integerMin1Max2147483647(&sv.Tracks, value); err != nil { return err } - default: _, _ = key, value @@ -7612,7 +7509,6 @@ func awsRestjson1_deserializeDocumentAudioSelectorGroup(v **types.AudioSelectorG if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.AudioSelectorNames, value); err != nil { return err } - default: _, _ = key, value @@ -7648,22 +7544,18 @@ func awsRestjson1_deserializeDocumentAutomatedAbrRule(v **types.AutomatedAbrRule if err := awsRestjson1_deserializeDocument__listOfAllowedRenditionSize(&sv.AllowedRenditions, value); err != nil { return err } - case "forceIncludeRenditions": if err := awsRestjson1_deserializeDocument__listOfForceIncludeRenditionSize(&sv.ForceIncludeRenditions, value); err != nil { return err } - case "minBottomRenditionSize": if err := awsRestjson1_deserializeDocumentMinBottomRenditionSize(&sv.MinBottomRenditionSize, value); err != nil { return err } - case "minTopRenditionSize": if err := awsRestjson1_deserializeDocumentMinTopRenditionSize(&sv.MinTopRenditionSize, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -7672,7 +7564,6 @@ func awsRestjson1_deserializeDocumentAutomatedAbrRule(v **types.AutomatedAbrRule } sv.Type = types.RuleType(jtv) } - default: _, _ = key, value @@ -7716,7 +7607,6 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MaxAbrBitrate = ptr.Int32(int32(i64)) } - case "maxRenditions": if value != nil { jtv, ok := value.(json.Number) @@ -7729,7 +7619,6 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MaxRenditions = ptr.Int32(int32(i64)) } - case "minAbrBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -7742,12 +7631,10 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MinAbrBitrate = ptr.Int32(int32(i64)) } - case "rules": if err := awsRestjson1_deserializeDocument__listOfAutomatedAbrRule(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -7783,7 +7670,6 @@ func awsRestjson1_deserializeDocumentAutomatedEncodingSettings(v **types.Automat if err := awsRestjson1_deserializeDocumentAutomatedAbrSettings(&sv.AbrSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7827,7 +7713,6 @@ func awsRestjson1_deserializeDocumentAv1QvbrSettings(v **types.Av1QvbrSettings, } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -7861,7 +7746,6 @@ func awsRestjson1_deserializeDocumentAv1QvbrSettings(v **types.Av1QvbrSettings, } } - default: _, _ = key, value @@ -7901,7 +7785,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.AdaptiveQuantization = types.Av1AdaptiveQuantization(jtv) } - case "bitDepth": if value != nil { jtv, ok := value.(string) @@ -7910,7 +7793,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.BitDepth = types.Av1BitDepth(jtv) } - case "filmGrainSynthesis": if value != nil { jtv, ok := value.(string) @@ -7919,7 +7801,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FilmGrainSynthesis = types.Av1FilmGrainSynthesis(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -7928,7 +7809,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateControl = types.Av1FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7937,7 +7817,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateConversionAlgorithm = types.Av1FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -7950,7 +7829,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -7963,7 +7841,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -7997,7 +7874,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -8010,7 +7886,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -8023,12 +7898,10 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } - case "qvbrSettings": if err := awsRestjson1_deserializeDocumentAv1QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -8037,7 +7910,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.RateControlMode = types.Av1RateControlMode(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -8050,7 +7922,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.Slices = ptr.Int32(int32(i64)) } - case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -8059,7 +7930,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.SpatialAdaptiveQuantization = types.Av1SpatialAdaptiveQuantization(jtv) } - default: _, _ = key, value @@ -8099,7 +7969,6 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu } sv.AvailBlankingImage = ptr.String(jtv) } - default: _, _ = key, value @@ -8139,12 +8008,10 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.AvcIntraClass = types.AvcIntraClass(jtv) } - case "avcIntraUhdSettings": if err := awsRestjson1_deserializeDocumentAvcIntraUhdSettings(&sv.AvcIntraUhdSettings, value); err != nil { return err } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -8153,7 +8020,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateControl = types.AvcIntraFramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -8162,7 +8028,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateConversionAlgorithm = types.AvcIntraFramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -8175,7 +8040,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -8188,7 +8052,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -8197,7 +8060,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.InterlaceMode = types.AvcIntraInterlaceMode(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -8206,7 +8068,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.ScanTypeConversionMode = types.AvcIntraScanTypeConversionMode(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -8215,7 +8076,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.SlowPal = types.AvcIntraSlowPal(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -8224,7 +8084,6 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.Telecine = types.AvcIntraTelecine(jtv) } - default: _, _ = key, value @@ -8264,7 +8123,6 @@ func awsRestjson1_deserializeDocumentAvcIntraUhdSettings(v **types.AvcIntraUhdSe } sv.QualityTuningLevel = types.AvcIntraUhdQualityTuningLevel(jtv) } - default: _, _ = key, value @@ -8294,15 +8152,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8310,15 +8162,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8353,7 +8201,6 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilter(v **types.Bandwidt } sv.Sharpening = types.BandwidthReductionFilterSharpening(jtv) } - case "strength": if value != nil { jtv, ok := value.(string) @@ -8362,7 +8209,6 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilter(v **types.Bandwidt } sv.Strength = types.BandwidthReductionFilterStrength(jtv) } - default: _, _ = key, value @@ -8402,7 +8248,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.Alignment = types.BurninSubtitleAlignment(jtv) } - case "applyFontColor": if value != nil { jtv, ok := value.(string) @@ -8411,7 +8256,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ApplyFontColor = types.BurninSubtitleApplyFontColor(jtv) } - case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -8420,7 +8264,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.BackgroundColor = types.BurninSubtitleBackgroundColor(jtv) } - case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8433,7 +8276,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } - case "fallbackFont": if value != nil { jtv, ok := value.(string) @@ -8442,7 +8284,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FallbackFont = types.BurninSubtitleFallbackFont(jtv) } - case "fontColor": if value != nil { jtv, ok := value.(string) @@ -8451,7 +8292,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontColor = types.BurninSubtitleFontColor(jtv) } - case "fontFileBold": if value != nil { jtv, ok := value.(string) @@ -8460,7 +8300,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileBold = ptr.String(jtv) } - case "fontFileBoldItalic": if value != nil { jtv, ok := value.(string) @@ -8469,7 +8308,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileBoldItalic = ptr.String(jtv) } - case "fontFileItalic": if value != nil { jtv, ok := value.(string) @@ -8478,7 +8316,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileItalic = ptr.String(jtv) } - case "fontFileRegular": if value != nil { jtv, ok := value.(string) @@ -8487,7 +8324,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileRegular = ptr.String(jtv) } - case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8500,7 +8336,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontOpacity = ptr.Int32(int32(i64)) } - case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -8513,7 +8348,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontResolution = ptr.Int32(int32(i64)) } - case "fontScript": if value != nil { jtv, ok := value.(string) @@ -8522,7 +8356,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontScript = types.FontScript(jtv) } - case "fontSize": if value != nil { jtv, ok := value.(json.Number) @@ -8535,7 +8368,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontSize = ptr.Int32(int32(i64)) } - case "hexFontColor": if value != nil { jtv, ok := value.(string) @@ -8544,7 +8376,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.HexFontColor = ptr.String(jtv) } - case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -8553,7 +8384,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.OutlineColor = types.BurninSubtitleOutlineColor(jtv) } - case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -8566,7 +8396,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.OutlineSize = ptr.Int32(int32(i64)) } - case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -8575,7 +8404,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowColor = types.BurninSubtitleShadowColor(jtv) } - case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8588,7 +8416,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } - case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8601,7 +8428,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } - case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8614,7 +8440,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } - case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -8623,7 +8448,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.StylePassthrough = types.BurnInSubtitleStylePassthrough(jtv) } - case "teletextSpacing": if value != nil { jtv, ok := value.(string) @@ -8632,7 +8456,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.TeletextSpacing = types.BurninSubtitleTeletextSpacing(jtv) } - case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -8645,7 +8468,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.XPosition = ptr.Int32(int32(i64)) } - case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -8658,7 +8480,6 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.YPosition = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8698,7 +8519,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CaptionSelectorName = ptr.String(jtv) } - case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -8707,12 +8527,10 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CustomLanguageCode = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8721,7 +8539,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageCode = types.LanguageCode(jtv) } - case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -8730,7 +8547,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -8770,12 +8586,10 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.CustomLanguageCode = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8784,7 +8598,6 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.LanguageCode = types.LanguageCode(jtv) } - case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -8793,7 +8606,6 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.LanguageDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -8829,7 +8641,6 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio if err := awsRestjson1_deserializeDocumentBurninDestinationSettings(&sv.BurninDestinationSettings, value); err != nil { return err } - case "destinationType": if value != nil { jtv, ok := value.(string) @@ -8838,47 +8649,38 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio } sv.DestinationType = types.CaptionDestinationType(jtv) } - case "dvbSubDestinationSettings": if err := awsRestjson1_deserializeDocumentDvbSubDestinationSettings(&sv.DvbSubDestinationSettings, value); err != nil { return err } - case "embeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(&sv.EmbeddedDestinationSettings, value); err != nil { return err } - case "imscDestinationSettings": if err := awsRestjson1_deserializeDocumentImscDestinationSettings(&sv.ImscDestinationSettings, value); err != nil { return err } - case "sccDestinationSettings": if err := awsRestjson1_deserializeDocumentSccDestinationSettings(&sv.SccDestinationSettings, value); err != nil { return err } - case "srtDestinationSettings": if err := awsRestjson1_deserializeDocumentSrtDestinationSettings(&sv.SrtDestinationSettings, value); err != nil { return err } - case "teletextDestinationSettings": if err := awsRestjson1_deserializeDocumentTeletextDestinationSettings(&sv.TeletextDestinationSettings, value); err != nil { return err } - case "ttmlDestinationSettings": if err := awsRestjson1_deserializeDocumentTtmlDestinationSettings(&sv.TtmlDestinationSettings, value); err != nil { return err } - case "webvttDestinationSettings": if err := awsRestjson1_deserializeDocumentWebvttDestinationSettings(&sv.WebvttDestinationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8918,7 +8720,6 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.CustomLanguageCode = ptr.String(jtv) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8927,12 +8728,10 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.LanguageCode = types.LanguageCode(jtv) } - case "sourceSettings": if err := awsRestjson1_deserializeDocumentCaptionSourceSettings(&sv.SourceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8976,7 +8775,6 @@ func awsRestjson1_deserializeDocumentCaptionSourceFramerate(v **types.CaptionSou } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -8989,7 +8787,6 @@ func awsRestjson1_deserializeDocumentCaptionSourceFramerate(v **types.CaptionSou } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9025,22 +8822,18 @@ func awsRestjson1_deserializeDocumentCaptionSourceSettings(v **types.CaptionSour if err := awsRestjson1_deserializeDocumentAncillarySourceSettings(&sv.AncillarySourceSettings, value); err != nil { return err } - case "dvbSubSourceSettings": if err := awsRestjson1_deserializeDocumentDvbSubSourceSettings(&sv.DvbSubSourceSettings, value); err != nil { return err } - case "embeddedSourceSettings": if err := awsRestjson1_deserializeDocumentEmbeddedSourceSettings(&sv.EmbeddedSourceSettings, value); err != nil { return err } - case "fileSourceSettings": if err := awsRestjson1_deserializeDocumentFileSourceSettings(&sv.FileSourceSettings, value); err != nil { return err } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -9049,22 +8842,18 @@ func awsRestjson1_deserializeDocumentCaptionSourceSettings(v **types.CaptionSour } sv.SourceType = types.CaptionSourceType(jtv) } - case "teletextSourceSettings": if err := awsRestjson1_deserializeDocumentTeletextSourceSettings(&sv.TeletextSourceSettings, value); err != nil { return err } - case "trackSourceSettings": if err := awsRestjson1_deserializeDocumentTrackSourceSettings(&sv.TrackSourceSettings, value); err != nil { return err } - case "webvttHlsSourceSettings": if err := awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(&sv.WebvttHlsSourceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -9100,7 +8889,6 @@ func awsRestjson1_deserializeDocumentChannelMapping(v **types.ChannelMapping, va if err := awsRestjson1_deserializeDocument__listOfOutputChannelMapping(&sv.OutputChannels, value); err != nil { return err } - default: _, _ = key, value @@ -9144,7 +8932,6 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MaximumRGBTolerance = ptr.Int32(int32(i64)) } - case "maximumYUV": if value != nil { jtv, ok := value.(json.Number) @@ -9157,7 +8944,6 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MaximumYUV = ptr.Int32(int32(i64)) } - case "minimumRGBTolerance": if value != nil { jtv, ok := value.(json.Number) @@ -9170,7 +8956,6 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MinimumRGBTolerance = ptr.Int32(int32(i64)) } - case "minimumYUV": if value != nil { jtv, ok := value.(json.Number) @@ -9183,7 +8968,6 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MinimumYUV = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9223,12 +9007,10 @@ func awsRestjson1_deserializeDocumentCmafAdditionalManifest(v **types.CmafAdditi } sv.ManifestNameModifier = ptr.String(jtv) } - case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -9268,7 +9050,6 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.ConstantInitializationVector = ptr.String(jtv) } - case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -9277,7 +9058,6 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.EncryptionMethod = types.CmafEncryptionType(jtv) } - case "initializationVectorInManifest": if value != nil { jtv, ok := value.(string) @@ -9286,17 +9066,14 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.InitializationVectorInManifest = types.CmafInitializationVectorInManifest(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(&sv.SpekeKeyProvider, value); err != nil { return err } - case "staticKeyProvider": if err := awsRestjson1_deserializeDocumentStaticKeyProvider(&sv.StaticKeyProvider, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9305,7 +9082,6 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.Type = types.CmafKeyProviderType(jtv) } - default: _, _ = key, value @@ -9341,7 +9117,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin if err := awsRestjson1_deserializeDocument__listOfCmafAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } - case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -9350,7 +9125,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.BaseUrl = ptr.String(jtv) } - case "clientCache": if value != nil { jtv, ok := value.(string) @@ -9359,7 +9133,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ClientCache = types.CmafClientCache(jtv) } - case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -9368,7 +9141,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.CodecSpecification = types.CmafCodecSpecification(jtv) } - case "dashIFrameTrickPlayNameModifier": if value != nil { jtv, ok := value.(string) @@ -9377,7 +9149,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.DashIFrameTrickPlayNameModifier = ptr.String(jtv) } - case "dashManifestStyle": if value != nil { jtv, ok := value.(string) @@ -9386,7 +9157,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.DashManifestStyle = types.DashManifestStyle(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -9395,17 +9165,14 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.Destination = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentCmafEncryptionSettings(&sv.Encryption, value); err != nil { return err } - case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -9418,7 +9185,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.FragmentLength = ptr.Int32(int32(i64)) } - case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -9427,12 +9193,10 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ImageBasedTrickPlay = types.CmafImageBasedTrickPlay(jtv) } - case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } - case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -9441,7 +9205,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ManifestCompression = types.CmafManifestCompression(jtv) } - case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -9450,7 +9213,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ManifestDurationFormat = types.CmafManifestDurationFormat(jtv) } - case "minBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -9463,7 +9225,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MinBufferTime = ptr.Int32(int32(i64)) } - case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -9497,7 +9258,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } } - case "mpdManifestBandwidthType": if value != nil { jtv, ok := value.(string) @@ -9506,7 +9266,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MpdManifestBandwidthType = types.CmafMpdManifestBandwidthType(jtv) } - case "mpdProfile": if value != nil { jtv, ok := value.(string) @@ -9515,7 +9274,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MpdProfile = types.CmafMpdProfile(jtv) } - case "ptsOffsetHandlingForBFrames": if value != nil { jtv, ok := value.(string) @@ -9524,7 +9282,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.PtsOffsetHandlingForBFrames = types.CmafPtsOffsetHandlingForBFrames(jtv) } - case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -9533,7 +9290,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentControl = types.CmafSegmentControl(jtv) } - case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -9546,7 +9302,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentLength = ptr.Int32(int32(i64)) } - case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -9555,7 +9310,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentLengthControl = types.CmafSegmentLengthControl(jtv) } - case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -9564,7 +9318,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.StreamInfResolution = types.CmafStreamInfResolution(jtv) } - case "targetDurationCompatibilityMode": if value != nil { jtv, ok := value.(string) @@ -9573,7 +9326,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.TargetDurationCompatibilityMode = types.CmafTargetDurationCompatibilityMode(jtv) } - case "videoCompositionOffsets": if value != nil { jtv, ok := value.(string) @@ -9582,7 +9334,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.VideoCompositionOffsets = types.CmafVideoCompositionOffsets(jtv) } - case "writeDashManifest": if value != nil { jtv, ok := value.(string) @@ -9591,7 +9342,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteDashManifest = types.CmafWriteDASHManifest(jtv) } - case "writeHlsManifest": if value != nil { jtv, ok := value.(string) @@ -9600,7 +9350,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteHlsManifest = types.CmafWriteHLSManifest(jtv) } - case "writeSegmentTimelineInRepresentation": if value != nil { jtv, ok := value.(string) @@ -9609,7 +9358,6 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteSegmentTimelineInRepresentation = types.CmafWriteSegmentTimelineInRepresentation(jtv) } - default: _, _ = key, value @@ -9649,7 +9397,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.IntervalCadence = types.CmafIntervalCadence(jtv) } - case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -9662,7 +9409,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } - case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -9696,7 +9442,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } } - case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -9709,7 +9454,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } - case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -9722,7 +9466,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.TileHeight = ptr.Int32(int32(i64)) } - case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -9735,7 +9478,6 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.TileWidth = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9775,7 +9517,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioDuration = types.CmfcAudioDuration(jtv) } - case "audioGroupId": if value != nil { jtv, ok := value.(string) @@ -9784,7 +9525,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioGroupId = ptr.String(jtv) } - case "audioRenditionSets": if value != nil { jtv, ok := value.(string) @@ -9793,7 +9533,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioRenditionSets = ptr.String(jtv) } - case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -9802,7 +9541,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioTrackType = types.CmfcAudioTrackType(jtv) } - case "descriptiveVideoServiceFlag": if value != nil { jtv, ok := value.(string) @@ -9811,7 +9549,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.DescriptiveVideoServiceFlag = types.CmfcDescriptiveVideoServiceFlag(jtv) } - case "iFrameOnlyManifest": if value != nil { jtv, ok := value.(string) @@ -9820,7 +9557,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.IFrameOnlyManifest = types.CmfcIFrameOnlyManifest(jtv) } - case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -9829,7 +9565,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.KlvMetadata = types.CmfcKlvMetadata(jtv) } - case "manifestMetadataSignaling": if value != nil { jtv, ok := value.(string) @@ -9838,7 +9573,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.ManifestMetadataSignaling = types.CmfcManifestMetadataSignaling(jtv) } - case "scte35Esam": if value != nil { jtv, ok := value.(string) @@ -9847,7 +9581,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.Scte35Esam = types.CmfcScte35Esam(jtv) } - case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -9856,7 +9589,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.Scte35Source = types.CmfcScte35Source(jtv) } - case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -9865,7 +9597,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadata = types.CmfcTimedMetadata(jtv) } - case "timedMetadataBoxVersion": if value != nil { jtv, ok := value.(string) @@ -9874,7 +9605,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataBoxVersion = types.CmfcTimedMetadataBoxVersion(jtv) } - case "timedMetadataSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -9883,7 +9613,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataSchemeIdUri = ptr.String(jtv) } - case "timedMetadataValue": if value != nil { jtv, ok := value.(string) @@ -9892,7 +9621,6 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataValue = ptr.String(jtv) } - default: _, _ = key, value @@ -9932,7 +9660,6 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.FileInput = ptr.String(jtv) } - case "inputColorSpace": if value != nil { jtv, ok := value.(string) @@ -9941,7 +9668,6 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.InputColorSpace = types.ColorSpace(jtv) } - case "inputMasteringLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -9954,7 +9680,6 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.InputMasteringLuminance = ptr.Int32(int32(i64)) } - case "outputColorSpace": if value != nil { jtv, ok := value.(string) @@ -9963,7 +9688,6 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.OutputColorSpace = types.ColorSpace(jtv) } - case "outputMasteringLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -9976,7 +9700,6 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.OutputMasteringLuminance = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10020,12 +9743,10 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Brightness = ptr.Int32(int32(i64)) } - case "clipLimits": if err := awsRestjson1_deserializeDocumentClipLimits(&sv.ClipLimits, value); err != nil { return err } - case "colorSpaceConversion": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9755,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.ColorSpaceConversion = types.ColorSpaceConversion(jtv) } - case "contrast": if value != nil { jtv, ok := value.(json.Number) @@ -10047,12 +9767,10 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Contrast = ptr.Int32(int32(i64)) } - case "hdr10Metadata": if err := awsRestjson1_deserializeDocumentHdr10Metadata(&sv.Hdr10Metadata, value); err != nil { return err } - case "hdrToSdrToneMapper": if value != nil { jtv, ok := value.(string) @@ -10061,7 +9779,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.HdrToSdrToneMapper = types.HDRToSDRToneMapper(jtv) } - case "hue": if value != nil { jtv, ok := value.(json.Number) @@ -10074,7 +9791,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Hue = ptr.Int32(int32(i64)) } - case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -10087,7 +9803,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.MaxLuminance = ptr.Int32(int32(i64)) } - case "sampleRangeConversion": if value != nil { jtv, ok := value.(string) @@ -10096,7 +9811,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.SampleRangeConversion = types.SampleRangeConversion(jtv) } - case "saturation": if value != nil { jtv, ok := value.(json.Number) @@ -10109,7 +9823,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Saturation = ptr.Int32(int32(i64)) } - case "sdrReferenceWhiteLevel": if value != nil { jtv, ok := value.(json.Number) @@ -10122,7 +9835,6 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.SdrReferenceWhiteLevel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10152,15 +9864,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10168,15 +9874,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10207,7 +9909,6 @@ func awsRestjson1_deserializeDocumentContainerSettings(v **types.ContainerSettin if err := awsRestjson1_deserializeDocumentCmfcSettings(&sv.CmfcSettings, value); err != nil { return err } - case "container": if value != nil { jtv, ok := value.(string) @@ -10216,42 +9917,34 @@ func awsRestjson1_deserializeDocumentContainerSettings(v **types.ContainerSettin } sv.Container = types.ContainerType(jtv) } - case "f4vSettings": if err := awsRestjson1_deserializeDocumentF4vSettings(&sv.F4vSettings, value); err != nil { return err } - case "m2tsSettings": if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } - case "m3u8Settings": if err := awsRestjson1_deserializeDocumentM3u8Settings(&sv.M3u8Settings, value); err != nil { return err } - case "movSettings": if err := awsRestjson1_deserializeDocumentMovSettings(&sv.MovSettings, value); err != nil { return err } - case "mp4Settings": if err := awsRestjson1_deserializeDocumentMp4Settings(&sv.Mp4Settings, value); err != nil { return err } - case "mpdSettings": if err := awsRestjson1_deserializeDocumentMpdSettings(&sv.MpdSettings, value); err != nil { return err } - case "mxfSettings": if err := awsRestjson1_deserializeDocumentMxfSettings(&sv.MxfSettings, value); err != nil { return err } - default: _, _ = key, value @@ -10291,12 +9984,10 @@ func awsRestjson1_deserializeDocumentDashAdditionalManifest(v **types.DashAdditi } sv.ManifestNameModifier = ptr.String(jtv) } - case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -10336,12 +10027,10 @@ func awsRestjson1_deserializeDocumentDashIsoEncryptionSettings(v **types.DashIso } sv.PlaybackDeviceCompatibility = types.DashIsoPlaybackDeviceCompatibility(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -10377,7 +10066,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup if err := awsRestjson1_deserializeDocument__listOfDashAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } - case "audioChannelConfigSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -10386,7 +10074,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.AudioChannelConfigSchemeIdUri = types.DashIsoGroupAudioChannelConfigSchemeIdUri(jtv) } - case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -10395,7 +10082,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.BaseUrl = ptr.String(jtv) } - case "dashIFrameTrickPlayNameModifier": if value != nil { jtv, ok := value.(string) @@ -10404,7 +10090,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.DashIFrameTrickPlayNameModifier = ptr.String(jtv) } - case "dashManifestStyle": if value != nil { jtv, ok := value.(string) @@ -10413,7 +10098,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.DashManifestStyle = types.DashManifestStyle(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -10422,17 +10106,14 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.Destination = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentDashIsoEncryptionSettings(&sv.Encryption, value); err != nil { return err } - case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -10445,7 +10126,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.FragmentLength = ptr.Int32(int32(i64)) } - case "hbbtvCompliance": if value != nil { jtv, ok := value.(string) @@ -10454,7 +10134,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.HbbtvCompliance = types.DashIsoHbbtvCompliance(jtv) } - case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -10463,12 +10142,10 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.ImageBasedTrickPlay = types.DashIsoImageBasedTrickPlay(jtv) } - case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } - case "minBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -10481,7 +10158,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MinBufferTime = ptr.Int32(int32(i64)) } - case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -10515,7 +10191,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } } - case "mpdManifestBandwidthType": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10199,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MpdManifestBandwidthType = types.DashIsoMpdManifestBandwidthType(jtv) } - case "mpdProfile": if value != nil { jtv, ok := value.(string) @@ -10533,7 +10207,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MpdProfile = types.DashIsoMpdProfile(jtv) } - case "ptsOffsetHandlingForBFrames": if value != nil { jtv, ok := value.(string) @@ -10542,7 +10215,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.PtsOffsetHandlingForBFrames = types.DashIsoPtsOffsetHandlingForBFrames(jtv) } - case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -10551,7 +10223,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentControl = types.DashIsoSegmentControl(jtv) } - case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -10564,7 +10235,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentLength = ptr.Int32(int32(i64)) } - case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -10573,7 +10243,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentLengthControl = types.DashIsoSegmentLengthControl(jtv) } - case "videoCompositionOffsets": if value != nil { jtv, ok := value.(string) @@ -10582,7 +10251,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.VideoCompositionOffsets = types.DashIsoVideoCompositionOffsets(jtv) } - case "writeSegmentTimelineInRepresentation": if value != nil { jtv, ok := value.(string) @@ -10591,7 +10259,6 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.WriteSegmentTimelineInRepresentation = types.DashIsoWriteSegmentTimelineInRepresentation(jtv) } - default: _, _ = key, value @@ -10631,7 +10298,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.IntervalCadence = types.DashIsoIntervalCadence(jtv) } - case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -10644,7 +10310,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } - case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -10678,7 +10343,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } } - case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -10691,7 +10355,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } - case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -10704,7 +10367,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.TileHeight = ptr.Int32(int32(i64)) } - case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -10717,7 +10379,6 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.TileWidth = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10757,7 +10418,6 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Algorithm = types.DeinterlaceAlgorithm(jtv) } - case "control": if value != nil { jtv, ok := value.(string) @@ -10766,7 +10426,6 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Control = types.DeinterlacerControl(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -10775,7 +10434,6 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Mode = types.DeinterlacerMode(jtv) } - default: _, _ = key, value @@ -10811,7 +10469,6 @@ func awsRestjson1_deserializeDocumentDestinationSettings(v **types.DestinationSe if err := awsRestjson1_deserializeDocumentS3DestinationSettings(&sv.S3Settings, value); err != nil { return err } - default: _, _ = key, value @@ -10847,7 +10504,6 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in if err := awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(&sv.L6Metadata, value); err != nil { return err } - case "l6Mode": if value != nil { jtv, ok := value.(string) @@ -10856,7 +10512,6 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.L6Mode = types.DolbyVisionLevel6Mode(jtv) } - case "mapping": if value != nil { jtv, ok := value.(string) @@ -10865,7 +10520,6 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.Mapping = types.DolbyVisionMapping(jtv) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -10874,7 +10528,6 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.Profile = types.DolbyVisionProfile(jtv) } - default: _, _ = key, value @@ -10918,7 +10571,6 @@ func awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(v **types.DolbyVi } sv.MaxCll = ptr.Int32(int32(i64)) } - case "maxFall": if value != nil { jtv, ok := value.(json.Number) @@ -10931,7 +10583,6 @@ func awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(v **types.DolbyVi } sv.MaxFall = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10975,7 +10626,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkId = ptr.Int32(int32(i64)) } - case "networkName": if value != nil { jtv, ok := value.(string) @@ -10984,7 +10634,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkName = ptr.String(jtv) } - case "nitInterval": if value != nil { jtv, ok := value.(json.Number) @@ -10997,7 +10646,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NitInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11037,7 +10685,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.OutputSdt = types.OutputSdt(jtv) } - case "sdtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -11050,7 +10697,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.SdtInterval = ptr.Int32(int32(i64)) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11059,7 +10705,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceName = ptr.String(jtv) } - case "serviceProviderName": if value != nil { jtv, ok := value.(string) @@ -11068,7 +10713,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -11108,7 +10752,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Alignment = types.DvbSubtitleAlignment(jtv) } - case "applyFontColor": if value != nil { jtv, ok := value.(string) @@ -11117,7 +10760,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ApplyFontColor = types.DvbSubtitleApplyFontColor(jtv) } - case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -11126,7 +10768,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundColor = types.DvbSubtitleBackgroundColor(jtv) } - case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -11139,7 +10780,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } - case "ddsHandling": if value != nil { jtv, ok := value.(string) @@ -11148,7 +10788,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsHandling = types.DvbddsHandling(jtv) } - case "ddsXCoordinate": if value != nil { jtv, ok := value.(json.Number) @@ -11161,7 +10800,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsXCoordinate = ptr.Int32(int32(i64)) } - case "ddsYCoordinate": if value != nil { jtv, ok := value.(json.Number) @@ -11174,7 +10812,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsYCoordinate = ptr.Int32(int32(i64)) } - case "fallbackFont": if value != nil { jtv, ok := value.(string) @@ -11183,7 +10820,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FallbackFont = types.DvbSubSubtitleFallbackFont(jtv) } - case "fontColor": if value != nil { jtv, ok := value.(string) @@ -11192,7 +10828,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontColor = types.DvbSubtitleFontColor(jtv) } - case "fontFileBold": if value != nil { jtv, ok := value.(string) @@ -11201,7 +10836,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileBold = ptr.String(jtv) } - case "fontFileBoldItalic": if value != nil { jtv, ok := value.(string) @@ -11210,7 +10844,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileBoldItalic = ptr.String(jtv) } - case "fontFileItalic": if value != nil { jtv, ok := value.(string) @@ -11219,7 +10852,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileItalic = ptr.String(jtv) } - case "fontFileRegular": if value != nil { jtv, ok := value.(string) @@ -11228,7 +10860,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileRegular = ptr.String(jtv) } - case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -11241,7 +10872,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontOpacity = ptr.Int32(int32(i64)) } - case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -11254,7 +10884,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontResolution = ptr.Int32(int32(i64)) } - case "fontScript": if value != nil { jtv, ok := value.(string) @@ -11263,7 +10892,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontScript = types.FontScript(jtv) } - case "fontSize": if value != nil { jtv, ok := value.(json.Number) @@ -11276,7 +10904,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontSize = ptr.Int32(int32(i64)) } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -11289,7 +10916,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Height = ptr.Int32(int32(i64)) } - case "hexFontColor": if value != nil { jtv, ok := value.(string) @@ -11298,7 +10924,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.HexFontColor = ptr.String(jtv) } - case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -11307,7 +10932,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineColor = types.DvbSubtitleOutlineColor(jtv) } - case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -11320,7 +10944,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineSize = ptr.Int32(int32(i64)) } - case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -11329,7 +10952,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowColor = types.DvbSubtitleShadowColor(jtv) } - case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -11342,7 +10964,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } - case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11355,7 +10976,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } - case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11368,7 +10988,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } - case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -11377,7 +10996,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.StylePassthrough = types.DvbSubtitleStylePassthrough(jtv) } - case "subtitlingType": if value != nil { jtv, ok := value.(string) @@ -11386,7 +11004,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.SubtitlingType = types.DvbSubtitlingType(jtv) } - case "teletextSpacing": if value != nil { jtv, ok := value.(string) @@ -11395,7 +11012,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.TeletextSpacing = types.DvbSubtitleTeletextSpacing(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -11408,7 +11024,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Width = ptr.Int32(int32(i64)) } - case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -11421,7 +11036,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.XPosition = ptr.Int32(int32(i64)) } - case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -11434,7 +11048,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.YPosition = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11478,7 +11091,6 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.Pid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11522,7 +11134,6 @@ func awsRestjson1_deserializeDocumentDvbTdtSettings(v **types.DvbTdtSettings, va } sv.TdtInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11566,7 +11177,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -11575,7 +11185,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.BitstreamMode = types.Eac3AtmosBitstreamMode(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -11584,7 +11193,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.CodingMode = types.Eac3AtmosCodingMode(jtv) } - case "dialogueIntelligence": if value != nil { jtv, ok := value.(string) @@ -11593,7 +11201,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DialogueIntelligence = types.Eac3AtmosDialogueIntelligence(jtv) } - case "downmixControl": if value != nil { jtv, ok := value.(string) @@ -11602,7 +11209,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DownmixControl = types.Eac3AtmosDownmixControl(jtv) } - case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -11611,7 +11217,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeCompressionLine = types.Eac3AtmosDynamicRangeCompressionLine(jtv) } - case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -11620,7 +11225,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeCompressionRf = types.Eac3AtmosDynamicRangeCompressionRf(jtv) } - case "dynamicRangeControl": if value != nil { jtv, ok := value.(string) @@ -11629,7 +11233,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeControl = types.Eac3AtmosDynamicRangeControl(jtv) } - case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11663,7 +11266,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11697,7 +11299,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11731,7 +11332,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11765,7 +11365,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "meteringMode": if value != nil { jtv, ok := value.(string) @@ -11774,7 +11373,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.MeteringMode = types.Eac3AtmosMeteringMode(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -11787,7 +11385,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SampleRate = ptr.Int32(int32(i64)) } - case "speechThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -11800,7 +11397,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SpeechThreshold = ptr.Int32(int32(i64)) } - case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -11809,7 +11405,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.StereoDownmix = types.Eac3AtmosStereoDownmix(jtv) } - case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -11818,7 +11413,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SurroundExMode = types.Eac3AtmosSurroundExMode(jtv) } - default: _, _ = key, value @@ -11858,7 +11452,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.AttenuationControl = types.Eac3AttenuationControl(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -11871,7 +11464,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -11880,7 +11472,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.BitstreamMode = types.Eac3BitstreamMode(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -11889,7 +11480,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.CodingMode = types.Eac3CodingMode(jtv) } - case "dcFilter": if value != nil { jtv, ok := value.(string) @@ -11898,7 +11488,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DcFilter = types.Eac3DcFilter(jtv) } - case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -11911,7 +11500,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Dialnorm = ptr.Int32(int32(i64)) } - case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -11920,7 +11508,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DynamicRangeCompressionLine = types.Eac3DynamicRangeCompressionLine(jtv) } - case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -11929,7 +11516,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DynamicRangeCompressionRf = types.Eac3DynamicRangeCompressionRf(jtv) } - case "lfeControl": if value != nil { jtv, ok := value.(string) @@ -11938,7 +11524,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeControl = types.Eac3LfeControl(jtv) } - case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -11947,7 +11532,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeFilter = types.Eac3LfeFilter(jtv) } - case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11981,7 +11565,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -12015,7 +11598,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -12049,7 +11631,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -12083,7 +11664,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -12092,7 +11672,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.MetadataControl = types.Eac3MetadataControl(jtv) } - case "passthroughControl": if value != nil { jtv, ok := value.(string) @@ -12101,7 +11680,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PassthroughControl = types.Eac3PassthroughControl(jtv) } - case "phaseControl": if value != nil { jtv, ok := value.(string) @@ -12110,7 +11688,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PhaseControl = types.Eac3PhaseControl(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -12123,7 +11700,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SampleRate = ptr.Int32(int32(i64)) } - case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -12132,7 +11708,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.StereoDownmix = types.Eac3StereoDownmix(jtv) } - case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -12141,7 +11716,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundExMode = types.Eac3SurroundExMode(jtv) } - case "surroundMode": if value != nil { jtv, ok := value.(string) @@ -12150,7 +11724,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundMode = types.Eac3SurroundMode(jtv) } - default: _, _ = key, value @@ -12194,7 +11767,6 @@ func awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(v **types.Embed } sv.Destination608ChannelNumber = ptr.Int32(int32(i64)) } - case "destination708ServiceNumber": if value != nil { jtv, ok := value.(json.Number) @@ -12207,7 +11779,6 @@ func awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(v **types.Embed } sv.Destination708ServiceNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12247,7 +11818,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Convert608To708 = types.EmbeddedConvert608To708(jtv) } - case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -12260,7 +11830,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } - case "source608TrackNumber": if value != nil { jtv, ok := value.(json.Number) @@ -12273,7 +11842,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608TrackNumber = ptr.Int32(int32(i64)) } - case "terminateCaptions": if value != nil { jtv, ok := value.(string) @@ -12282,7 +11850,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.TerminateCaptions = types.EmbeddedTerminateCaptions(jtv) } - default: _, _ = key, value @@ -12322,7 +11889,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.SpekeAudioPreset = types.PresetSpeke20Audio(jtv) } - case "spekeVideoPreset": if value != nil { jtv, ok := value.(string) @@ -12331,7 +11897,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.SpekeVideoPreset = types.PresetSpeke20Video(jtv) } - default: _, _ = key, value @@ -12371,7 +11936,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -12411,7 +11975,6 @@ func awsRestjson1_deserializeDocumentEsamManifestConfirmConditionNotification(v } sv.MccXml = ptr.String(jtv) } - default: _, _ = key, value @@ -12447,7 +12010,6 @@ func awsRestjson1_deserializeDocumentEsamSettings(v **types.EsamSettings, value if err := awsRestjson1_deserializeDocumentEsamManifestConfirmConditionNotification(&sv.ManifestConfirmConditionNotification, value); err != nil { return err } - case "responseSignalPreroll": if value != nil { jtv, ok := value.(json.Number) @@ -12460,12 +12022,10 @@ func awsRestjson1_deserializeDocumentEsamSettings(v **types.EsamSettings, value } sv.ResponseSignalPreroll = ptr.Int32(int32(i64)) } - case "signalProcessingNotification": if err := awsRestjson1_deserializeDocumentEsamSignalProcessingNotification(&sv.SignalProcessingNotification, value); err != nil { return err } - default: _, _ = key, value @@ -12505,7 +12065,6 @@ func awsRestjson1_deserializeDocumentEsamSignalProcessingNotification(v **types. } sv.SccXml = ptr.String(jtv) } - default: _, _ = key, value @@ -12545,7 +12104,6 @@ func awsRestjson1_deserializeDocumentExtendedDataServices(v **types.ExtendedData } sv.CopyProtectionAction = types.CopyProtectionAction(jtv) } - case "vchipAction": if value != nil { jtv, ok := value.(string) @@ -12554,7 +12112,6 @@ func awsRestjson1_deserializeDocumentExtendedDataServices(v **types.ExtendedData } sv.VchipAction = types.VchipAction(jtv) } - default: _, _ = key, value @@ -12594,7 +12151,6 @@ func awsRestjson1_deserializeDocumentF4vSettings(v **types.F4vSettings, value in } sv.MoovPlacement = types.F4vMoovPlacement(jtv) } - default: _, _ = key, value @@ -12634,12 +12190,10 @@ func awsRestjson1_deserializeDocumentFileGroupSettings(v **types.FileGroupSettin } sv.Destination = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -12679,7 +12233,6 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.ByteRateLimit = types.CaptionSourceByteRateLimit(jtv) } - case "convert608To708": if value != nil { jtv, ok := value.(string) @@ -12688,7 +12241,6 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.Convert608To708 = types.FileSourceConvert608To708(jtv) } - case "convertPaintToPop": if value != nil { jtv, ok := value.(string) @@ -12697,12 +12249,10 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.ConvertPaintToPop = types.CaptionSourceConvertPaintOnToPopOn(jtv) } - case "framerate": if err := awsRestjson1_deserializeDocumentCaptionSourceFramerate(&sv.Framerate, value); err != nil { return err } - case "sourceFile": if value != nil { jtv, ok := value.(string) @@ -12711,7 +12261,6 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.SourceFile = ptr.String(jtv) } - case "timeDelta": if value != nil { jtv, ok := value.(json.Number) @@ -12724,7 +12273,6 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.TimeDelta = ptr.Int32(int32(i64)) } - case "timeDeltaUnits": if value != nil { jtv, ok := value.(string) @@ -12733,7 +12281,6 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.TimeDeltaUnits = types.FileSourceTimeDeltaUnits(jtv) } - default: _, _ = key, value @@ -12777,7 +12324,6 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.BitDepth = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -12790,7 +12336,6 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.Channels = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -12803,7 +12348,6 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12833,15 +12377,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12849,15 +12387,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12896,7 +12430,6 @@ func awsRestjson1_deserializeDocumentForceIncludeRenditionSize(v **types.ForceIn } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -12909,7 +12442,6 @@ func awsRestjson1_deserializeDocumentForceIncludeRenditionSize(v **types.ForceIn } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12953,7 +12485,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -12966,7 +12497,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "maxCaptures": if value != nil { jtv, ok := value.(json.Number) @@ -12979,7 +12509,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.MaxCaptures = ptr.Int32(int32(i64)) } - case "quality": if value != nil { jtv, ok := value.(json.Number) @@ -12992,7 +12521,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.Quality = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13036,7 +12564,6 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } sv.MaxAverageBitrate = ptr.Int32(int32(i64)) } - case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -13049,7 +12576,6 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -13083,7 +12609,6 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } } - default: _, _ = key, value @@ -13123,12 +12648,10 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AdaptiveQuantization = types.H264AdaptiveQuantization(jtv) } - case "bandwidthReductionFilter": if err := awsRestjson1_deserializeDocumentBandwidthReductionFilter(&sv.BandwidthReductionFilter, value); err != nil { return err } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13141,7 +12664,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -13150,7 +12672,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.CodecLevel = types.H264CodecLevel(jtv) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -13159,7 +12680,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.CodecProfile = types.H264CodecProfile(jtv) } - case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -13168,7 +12688,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.DynamicSubGop = types.H264DynamicSubGop(jtv) } - case "endOfStreamMarkers": if value != nil { jtv, ok := value.(string) @@ -13177,7 +12696,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EndOfStreamMarkers = types.H264EndOfStreamMarkers(jtv) } - case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -13186,7 +12704,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EntropyEncoding = types.H264EntropyEncoding(jtv) } - case "fieldEncoding": if value != nil { jtv, ok := value.(string) @@ -13195,7 +12712,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FieldEncoding = types.H264FieldEncoding(jtv) } - case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13204,7 +12720,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FlickerAdaptiveQuantization = types.H264FlickerAdaptiveQuantization(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -13213,7 +12728,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateControl = types.H264FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13222,7 +12736,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateConversionAlgorithm = types.H264FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -13235,7 +12748,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -13248,7 +12760,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -13257,7 +12768,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopBReference = types.H264GopBReference(jtv) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -13270,7 +12780,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -13304,7 +12813,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -13313,7 +12821,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopSizeUnits = types.H264GopSizeUnits(jtv) } - case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13326,7 +12833,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13339,7 +12845,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -13352,7 +12857,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -13361,7 +12865,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.InterlaceMode = types.H264InterlaceMode(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13374,7 +12877,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -13387,7 +12889,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13400,7 +12901,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } - case "numberReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13413,7 +12913,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumberReferenceFrames = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -13422,7 +12921,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParControl = types.H264ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -13435,7 +12933,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -13448,7 +12945,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -13457,12 +12953,10 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QualityTuningLevel = types.H264QualityTuningLevel(jtv) } - case "qvbrSettings": if err := awsRestjson1_deserializeDocumentH264QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -13471,7 +12965,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RateControlMode = types.H264RateControlMode(jtv) } - case "repeatPps": if value != nil { jtv, ok := value.(string) @@ -13480,7 +12973,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RepeatPps = types.H264RepeatPps(jtv) } - case "saliencyAwareEncoding": if value != nil { jtv, ok := value.(string) @@ -13489,7 +12981,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SaliencyAwareEncoding = types.H264SaliencyAwareEncoding(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -13498,7 +12989,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ScanTypeConversionMode = types.H264ScanTypeConversionMode(jtv) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -13507,7 +12997,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SceneChangeDetect = types.H264SceneChangeDetect(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -13520,7 +13009,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Slices = ptr.Int32(int32(i64)) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -13529,7 +13017,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SlowPal = types.H264SlowPal(jtv) } - case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -13542,7 +13029,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Softness = ptr.Int32(int32(i64)) } - case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13551,7 +13037,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SpatialAdaptiveQuantization = types.H264SpatialAdaptiveQuantization(jtv) } - case "syntax": if value != nil { jtv, ok := value.(string) @@ -13560,7 +13045,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Syntax = types.H264Syntax(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -13569,7 +13053,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Telecine = types.H264Telecine(jtv) } - case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13578,7 +13061,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TemporalAdaptiveQuantization = types.H264TemporalAdaptiveQuantization(jtv) } - case "unregisteredSeiTimecode": if value != nil { jtv, ok := value.(string) @@ -13587,7 +13069,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.UnregisteredSeiTimecode = types.H264UnregisteredSeiTimecode(jtv) } - default: _, _ = key, value @@ -13631,7 +13112,6 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } sv.MaxAverageBitrate = ptr.Int32(int32(i64)) } - case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -13644,7 +13124,6 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -13678,7 +13157,6 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } } - default: _, _ = key, value @@ -13718,7 +13196,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AdaptiveQuantization = types.H265AdaptiveQuantization(jtv) } - case "alternateTransferFunctionSei": if value != nil { jtv, ok := value.(string) @@ -13727,12 +13204,10 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AlternateTransferFunctionSei = types.H265AlternateTransferFunctionSei(jtv) } - case "bandwidthReductionFilter": if err := awsRestjson1_deserializeDocumentBandwidthReductionFilter(&sv.BandwidthReductionFilter, value); err != nil { return err } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13745,7 +13220,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -13754,7 +13228,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.CodecLevel = types.H265CodecLevel(jtv) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -13763,7 +13236,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.CodecProfile = types.H265CodecProfile(jtv) } - case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -13772,7 +13244,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.DynamicSubGop = types.H265DynamicSubGop(jtv) } - case "endOfStreamMarkers": if value != nil { jtv, ok := value.(string) @@ -13781,7 +13252,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.EndOfStreamMarkers = types.H265EndOfStreamMarkers(jtv) } - case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13790,7 +13260,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FlickerAdaptiveQuantization = types.H265FlickerAdaptiveQuantization(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -13799,7 +13268,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateControl = types.H265FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13808,7 +13276,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateConversionAlgorithm = types.H265FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -13821,7 +13288,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -13834,7 +13300,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -13843,7 +13308,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopBReference = types.H265GopBReference(jtv) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -13856,7 +13320,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -13890,7 +13353,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -13899,7 +13361,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopSizeUnits = types.H265GopSizeUnits(jtv) } - case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13912,7 +13373,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13925,7 +13385,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -13938,7 +13397,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -13947,7 +13405,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.InterlaceMode = types.H265InterlaceMode(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13960,7 +13417,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -13973,7 +13429,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13986,7 +13441,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } - case "numberReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13999,7 +13453,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.NumberReferenceFrames = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -14008,7 +13461,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParControl = types.H265ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -14021,7 +13473,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -14034,7 +13485,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -14043,12 +13493,10 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.QualityTuningLevel = types.H265QualityTuningLevel(jtv) } - case "qvbrSettings": if err := awsRestjson1_deserializeDocumentH265QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -14057,7 +13505,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.RateControlMode = types.H265RateControlMode(jtv) } - case "sampleAdaptiveOffsetFilterMode": if value != nil { jtv, ok := value.(string) @@ -14066,7 +13513,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SampleAdaptiveOffsetFilterMode = types.H265SampleAdaptiveOffsetFilterMode(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -14075,7 +13521,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ScanTypeConversionMode = types.H265ScanTypeConversionMode(jtv) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -14084,7 +13529,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SceneChangeDetect = types.H265SceneChangeDetect(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -14097,7 +13541,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Slices = ptr.Int32(int32(i64)) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -14106,7 +13549,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SlowPal = types.H265SlowPal(jtv) } - case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -14115,7 +13557,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SpatialAdaptiveQuantization = types.H265SpatialAdaptiveQuantization(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -14124,7 +13565,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Telecine = types.H265Telecine(jtv) } - case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -14133,7 +13573,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TemporalAdaptiveQuantization = types.H265TemporalAdaptiveQuantization(jtv) } - case "temporalIds": if value != nil { jtv, ok := value.(string) @@ -14142,7 +13581,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TemporalIds = types.H265TemporalIds(jtv) } - case "tiles": if value != nil { jtv, ok := value.(string) @@ -14151,7 +13589,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Tiles = types.H265Tiles(jtv) } - case "unregisteredSeiTimecode": if value != nil { jtv, ok := value.(string) @@ -14160,7 +13597,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.UnregisteredSeiTimecode = types.H265UnregisteredSeiTimecode(jtv) } - case "writeMp4PackagingType": if value != nil { jtv, ok := value.(string) @@ -14169,7 +13605,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.WriteMp4PackagingType = types.H265WriteMp4PackagingType(jtv) } - default: _, _ = key, value @@ -14213,7 +13648,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.BluePrimaryX = ptr.Int32(int32(i64)) } - case "bluePrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -14226,7 +13660,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.BluePrimaryY = ptr.Int32(int32(i64)) } - case "greenPrimaryX": if value != nil { jtv, ok := value.(json.Number) @@ -14239,7 +13672,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.GreenPrimaryX = ptr.Int32(int32(i64)) } - case "greenPrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -14252,7 +13684,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.GreenPrimaryY = ptr.Int32(int32(i64)) } - case "maxContentLightLevel": if value != nil { jtv, ok := value.(json.Number) @@ -14265,7 +13696,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxContentLightLevel = ptr.Int32(int32(i64)) } - case "maxFrameAverageLightLevel": if value != nil { jtv, ok := value.(json.Number) @@ -14278,7 +13708,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxFrameAverageLightLevel = ptr.Int32(int32(i64)) } - case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -14291,7 +13720,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxLuminance = ptr.Int32(int32(i64)) } - case "minLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -14304,7 +13732,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MinLuminance = ptr.Int32(int32(i64)) } - case "redPrimaryX": if value != nil { jtv, ok := value.(json.Number) @@ -14317,7 +13744,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.RedPrimaryX = ptr.Int32(int32(i64)) } - case "redPrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -14330,7 +13756,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.RedPrimaryY = ptr.Int32(int32(i64)) } - case "whitePointX": if value != nil { jtv, ok := value.(json.Number) @@ -14343,7 +13768,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.WhitePointX = ptr.Int32(int32(i64)) } - case "whitePointY": if value != nil { jtv, ok := value.(json.Number) @@ -14356,7 +13780,6 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.WhitePointY = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14400,7 +13823,6 @@ func awsRestjson1_deserializeDocumentHdr10Plus(v **types.Hdr10Plus, value interf } sv.MasteringMonitorNits = ptr.Int32(int32(i64)) } - case "targetMonitorNits": if value != nil { jtv, ok := value.(json.Number) @@ -14413,7 +13835,6 @@ func awsRestjson1_deserializeDocumentHdr10Plus(v **types.Hdr10Plus, value interf } sv.TargetMonitorNits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14453,12 +13874,10 @@ func awsRestjson1_deserializeDocumentHlsAdditionalManifest(v **types.HlsAddition } sv.ManifestNameModifier = ptr.String(jtv) } - case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -14502,7 +13921,6 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.CaptionChannel = ptr.Int32(int32(i64)) } - case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -14511,7 +13929,6 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.CustomLanguageCode = ptr.String(jtv) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -14520,7 +13937,6 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.LanguageCode = types.LanguageCode(jtv) } - case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -14529,7 +13945,6 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.LanguageDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -14569,7 +13984,6 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.ConstantInitializationVector = ptr.String(jtv) } - case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -14578,7 +13992,6 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.EncryptionMethod = types.HlsEncryptionType(jtv) } - case "initializationVectorInManifest": if value != nil { jtv, ok := value.(string) @@ -14587,7 +14000,6 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.InitializationVectorInManifest = types.HlsInitializationVectorInManifest(jtv) } - case "offlineEncrypted": if value != nil { jtv, ok := value.(string) @@ -14596,17 +14008,14 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.OfflineEncrypted = types.HlsOfflineEncrypted(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - case "staticKeyProvider": if err := awsRestjson1_deserializeDocumentStaticKeyProvider(&sv.StaticKeyProvider, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -14615,7 +14024,6 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.Type = types.HlsKeyProviderType(jtv) } - default: _, _ = key, value @@ -14651,12 +14059,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings if err := awsRestjson1_deserializeDocument__listOfHlsAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } - case "adMarkers": if err := awsRestjson1_deserializeDocument__listOfHlsAdMarkers(&sv.AdMarkers, value); err != nil { return err } - case "audioOnlyHeader": if value != nil { jtv, ok := value.(string) @@ -14665,7 +14071,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.AudioOnlyHeader = types.HlsAudioOnlyHeader(jtv) } - case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -14674,12 +14079,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrl = ptr.String(jtv) } - case "captionLanguageMappings": if err := awsRestjson1_deserializeDocument__listOfHlsCaptionLanguageMapping(&sv.CaptionLanguageMappings, value); err != nil { return err } - case "captionLanguageSetting": if value != nil { jtv, ok := value.(string) @@ -14688,7 +14091,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionLanguageSetting = types.HlsCaptionLanguageSetting(jtv) } - case "captionSegmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -14697,7 +14099,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionSegmentLengthControl = types.HlsCaptionSegmentLengthControl(jtv) } - case "clientCache": if value != nil { jtv, ok := value.(string) @@ -14706,7 +14107,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ClientCache = types.HlsClientCache(jtv) } - case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -14715,7 +14115,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CodecSpecification = types.HlsCodecSpecification(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -14724,12 +14123,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.Destination = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "directoryStructure": if value != nil { jtv, ok := value.(string) @@ -14738,12 +14135,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DirectoryStructure = types.HlsDirectoryStructure(jtv) } - case "encryption": if err := awsRestjson1_deserializeDocumentHlsEncryptionSettings(&sv.Encryption, value); err != nil { return err } - case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -14752,12 +14147,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ImageBasedTrickPlay = types.HlsImageBasedTrickPlay(jtv) } - case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } - case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -14766,7 +14159,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestCompression = types.HlsManifestCompression(jtv) } - case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -14775,7 +14167,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestDurationFormat = types.HlsManifestDurationFormat(jtv) } - case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -14809,7 +14200,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } } - case "minSegmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -14822,7 +14212,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.MinSegmentLength = ptr.Int32(int32(i64)) } - case "outputSelection": if value != nil { jtv, ok := value.(string) @@ -14831,7 +14220,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.OutputSelection = types.HlsOutputSelection(jtv) } - case "programDateTime": if value != nil { jtv, ok := value.(string) @@ -14840,7 +14228,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTime = types.HlsProgramDateTime(jtv) } - case "programDateTimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -14853,7 +14240,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimePeriod = ptr.Int32(int32(i64)) } - case "progressiveWriteHlsManifest": if value != nil { jtv, ok := value.(string) @@ -14862,7 +14248,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgressiveWriteHlsManifest = types.HlsProgressiveWriteHlsManifest(jtv) } - case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -14871,7 +14256,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentControl = types.HlsSegmentControl(jtv) } - case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -14884,7 +14268,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLength = ptr.Int32(int32(i64)) } - case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -14893,7 +14276,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLengthControl = types.HlsSegmentLengthControl(jtv) } - case "segmentsPerSubdirectory": if value != nil { jtv, ok := value.(json.Number) @@ -14906,7 +14288,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentsPerSubdirectory = ptr.Int32(int32(i64)) } - case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -14915,7 +14296,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.StreamInfResolution = types.HlsStreamInfResolution(jtv) } - case "targetDurationCompatibilityMode": if value != nil { jtv, ok := value.(string) @@ -14924,7 +14304,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TargetDurationCompatibilityMode = types.HlsTargetDurationCompatibilityMode(jtv) } - case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -14933,7 +14312,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Frame = types.HlsTimedMetadataId3Frame(jtv) } - case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -14946,7 +14324,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } - case "timestampDeltaMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -14959,7 +14336,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimestampDeltaMilliseconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14999,7 +14375,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.IntervalCadence = types.HlsIntervalCadence(jtv) } - case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -15012,7 +14387,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } - case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -15046,7 +14420,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } } - case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -15059,7 +14432,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } - case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -15072,7 +14444,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.TileHeight = ptr.Int32(int32(i64)) } - case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -15085,7 +14456,6 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.TileWidth = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15125,7 +14495,6 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionGroupId = ptr.String(jtv) } - case "renditionLanguageCode": if value != nil { jtv, ok := value.(string) @@ -15134,7 +14503,6 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionLanguageCode = types.LanguageCode(jtv) } - case "renditionName": if value != nil { jtv, ok := value.(string) @@ -15143,7 +14511,6 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionName = ptr.String(jtv) } - default: _, _ = key, value @@ -15183,7 +14550,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioGroupId = ptr.String(jtv) } - case "audioOnlyContainer": if value != nil { jtv, ok := value.(string) @@ -15192,7 +14558,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioOnlyContainer = types.HlsAudioOnlyContainer(jtv) } - case "audioRenditionSets": if value != nil { jtv, ok := value.(string) @@ -15201,7 +14566,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioRenditionSets = ptr.String(jtv) } - case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -15210,7 +14574,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioTrackType = types.HlsAudioTrackType(jtv) } - case "descriptiveVideoServiceFlag": if value != nil { jtv, ok := value.(string) @@ -15219,7 +14582,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.DescriptiveVideoServiceFlag = types.HlsDescriptiveVideoServiceFlag(jtv) } - case "iFrameOnlyManifest": if value != nil { jtv, ok := value.(string) @@ -15228,7 +14590,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.IFrameOnlyManifest = types.HlsIFrameOnlyManifest(jtv) } - case "segmentModifier": if value != nil { jtv, ok := value.(string) @@ -15237,7 +14598,6 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.SegmentModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -15281,7 +14641,6 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.Priority = ptr.Int32(int32(i64)) } - case "queue": if value != nil { jtv, ok := value.(string) @@ -15290,7 +14649,6 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.Queue = ptr.String(jtv) } - case "waitMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15303,7 +14661,6 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.WaitMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15343,7 +14700,6 @@ func awsRestjson1_deserializeDocumentId3Insertion(v **types.Id3Insertion, value } sv.Id3 = ptr.String(jtv) } - case "timecode": if value != nil { jtv, ok := value.(string) @@ -15352,7 +14708,6 @@ func awsRestjson1_deserializeDocumentId3Insertion(v **types.Id3Insertion, value } sv.Timecode = ptr.String(jtv) } - default: _, _ = key, value @@ -15388,7 +14743,6 @@ func awsRestjson1_deserializeDocumentImageInserter(v **types.ImageInserter, valu if err := awsRestjson1_deserializeDocument__listOfInsertableImage(&sv.InsertableImages, value); err != nil { return err } - case "sdrReferenceWhiteLevel": if value != nil { jtv, ok := value.(json.Number) @@ -15401,7 +14755,6 @@ func awsRestjson1_deserializeDocumentImageInserter(v **types.ImageInserter, valu } sv.SdrReferenceWhiteLevel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15441,7 +14794,6 @@ func awsRestjson1_deserializeDocumentImscDestinationSettings(v **types.ImscDesti } sv.Accessibility = types.ImscAccessibilitySubs(jtv) } - case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -15450,7 +14802,6 @@ func awsRestjson1_deserializeDocumentImscDestinationSettings(v **types.ImscDesti } sv.StylePassthrough = types.ImscStylePassthrough(jtv) } - default: _, _ = key, value @@ -15490,32 +14841,26 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.AdvancedInputFilter = types.AdvancedInputFilter(jtv) } - case "advancedInputFilterSettings": if err := awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(&sv.AdvancedInputFilterSettings, value); err != nil { return err } - case "audioSelectorGroups": if err := awsRestjson1_deserializeDocument__mapOfAudioSelectorGroup(&sv.AudioSelectorGroups, value); err != nil { return err } - case "audioSelectors": if err := awsRestjson1_deserializeDocument__mapOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } - case "captionSelectors": if err := awsRestjson1_deserializeDocument__mapOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } - case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } - case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -15524,12 +14869,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DeblockFilter = types.InputDeblockFilter(jtv) } - case "decryptionSettings": if err := awsRestjson1_deserializeDocumentInputDecryptionSettings(&sv.DecryptionSettings, value); err != nil { return err } - case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -15538,7 +14881,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } - case "dolbyVisionMetadataXml": if value != nil { jtv, ok := value.(string) @@ -15547,7 +14889,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DolbyVisionMetadataXml = ptr.String(jtv) } - case "fileInput": if value != nil { jtv, ok := value.(string) @@ -15556,7 +14897,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FileInput = ptr.String(jtv) } - case "filterEnable": if value != nil { jtv, ok := value.(string) @@ -15565,7 +14905,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FilterEnable = types.InputFilterEnable(jtv) } - case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -15578,17 +14917,14 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FilterStrength = ptr.Int32(int32(i64)) } - case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } - case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfInputClipping(&sv.InputClippings, value); err != nil { return err } - case "inputScanType": if value != nil { jtv, ok := value.(string) @@ -15597,12 +14933,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputScanType = types.InputScanType(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15615,7 +14949,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "psiControl": if value != nil { jtv, ok := value.(string) @@ -15624,12 +14957,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.PsiControl = types.InputPsiControl(jtv) } - case "supplementalImps": if err := awsRestjson1_deserializeDocument__listOf__stringPatternS3ASSETMAPXml(&sv.SupplementalImps, value); err != nil { return err } - case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -15638,7 +14969,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.TimecodeSource = types.InputTimecodeSource(jtv) } - case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -15647,22 +14977,18 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.TimecodeStart = ptr.String(jtv) } - case "videoGenerator": if err := awsRestjson1_deserializeDocumentInputVideoGenerator(&sv.VideoGenerator, value); err != nil { return err } - case "videoOverlays": if err := awsRestjson1_deserializeDocument__listOfVideoOverlay(&sv.VideoOverlays, value); err != nil { return err } - case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } - default: _, _ = key, value @@ -15702,7 +15028,6 @@ func awsRestjson1_deserializeDocumentInputClipping(v **types.InputClipping, valu } sv.EndTimecode = ptr.String(jtv) } - case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -15711,7 +15036,6 @@ func awsRestjson1_deserializeDocumentInputClipping(v **types.InputClipping, valu } sv.StartTimecode = ptr.String(jtv) } - default: _, _ = key, value @@ -15751,7 +15075,6 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.DecryptionMode = types.DecryptionMode(jtv) } - case "encryptedDecryptionKey": if value != nil { jtv, ok := value.(string) @@ -15760,7 +15083,6 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.EncryptedDecryptionKey = ptr.String(jtv) } - case "initializationVector": if value != nil { jtv, ok := value.(string) @@ -15769,7 +15091,6 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.InitializationVector = ptr.String(jtv) } - case "kmsKeyRegion": if value != nil { jtv, ok := value.(string) @@ -15778,7 +15099,6 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.KmsKeyRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -15818,32 +15138,26 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.AdvancedInputFilter = types.AdvancedInputFilter(jtv) } - case "advancedInputFilterSettings": if err := awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(&sv.AdvancedInputFilterSettings, value); err != nil { return err } - case "audioSelectorGroups": if err := awsRestjson1_deserializeDocument__mapOfAudioSelectorGroup(&sv.AudioSelectorGroups, value); err != nil { return err } - case "audioSelectors": if err := awsRestjson1_deserializeDocument__mapOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } - case "captionSelectors": if err := awsRestjson1_deserializeDocument__mapOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } - case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } - case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -15852,7 +15166,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DeblockFilter = types.InputDeblockFilter(jtv) } - case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -15861,7 +15174,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } - case "dolbyVisionMetadataXml": if value != nil { jtv, ok := value.(string) @@ -15870,7 +15182,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DolbyVisionMetadataXml = ptr.String(jtv) } - case "filterEnable": if value != nil { jtv, ok := value.(string) @@ -15879,7 +15190,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.FilterEnable = types.InputFilterEnable(jtv) } - case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -15892,17 +15202,14 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.FilterStrength = ptr.Int32(int32(i64)) } - case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } - case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfInputClipping(&sv.InputClippings, value); err != nil { return err } - case "inputScanType": if value != nil { jtv, ok := value.(string) @@ -15911,12 +15218,10 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.InputScanType = types.InputScanType(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15929,7 +15234,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "psiControl": if value != nil { jtv, ok := value.(string) @@ -15938,7 +15242,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.PsiControl = types.InputPsiControl(jtv) } - case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -15947,7 +15250,6 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.TimecodeSource = types.InputTimecodeSource(jtv) } - case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -15956,17 +15258,14 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.TimecodeStart = ptr.String(jtv) } - case "videoOverlays": if err := awsRestjson1_deserializeDocument__listOfVideoOverlay(&sv.VideoOverlays, value); err != nil { return err } - case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } - default: _, _ = key, value @@ -16010,7 +15309,6 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.Channels = ptr.Int32(int32(i64)) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -16023,7 +15321,6 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.Duration = ptr.Int32(int32(i64)) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -16036,7 +15333,6 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -16049,7 +15345,6 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -16062,7 +15357,6 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16106,7 +15400,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Duration = ptr.Int32(int32(i64)) } - case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -16119,7 +15412,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.FadeIn = ptr.Int32(int32(i64)) } - case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -16132,7 +15424,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.FadeOut = ptr.Int32(int32(i64)) } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -16145,7 +15436,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Height = ptr.Int32(int32(i64)) } - case "imageInserterInput": if value != nil { jtv, ok := value.(string) @@ -16154,7 +15444,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageInserterInput = ptr.String(jtv) } - case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -16167,7 +15456,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageX = ptr.Int32(int32(i64)) } - case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -16180,7 +15468,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageY = ptr.Int32(int32(i64)) } - case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -16193,7 +15480,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Layer = ptr.Int32(int32(i64)) } - case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -16206,7 +15492,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Opacity = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -16215,7 +15500,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.StartTime = ptr.String(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -16228,7 +15512,6 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16258,15 +15541,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16274,15 +15551,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16313,7 +15586,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentAccelerationSettings(&sv.AccelerationSettings, value); err != nil { return err } - case "accelerationStatus": if value != nil { jtv, ok := value.(string) @@ -16322,7 +15594,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccelerationStatus = types.AccelerationStatus(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -16331,7 +15602,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "billingTagsSource": if value != nil { jtv, ok := value.(string) @@ -16340,7 +15610,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.BillingTagsSource = types.BillingTagsSource(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -16349,7 +15618,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16365,7 +15633,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } - case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -16374,7 +15641,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CurrentPhase = types.JobPhase(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(json.Number) @@ -16387,7 +15653,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ErrorCode = ptr.Int32(int32(i64)) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -16396,12 +15661,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ErrorMessage = ptr.String(jtv) } - case "hopDestinations": if err := awsRestjson1_deserializeDocument__listOfHopDestination(&sv.HopDestinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16410,7 +15673,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } - case "jobEngineVersionRequested": if value != nil { jtv, ok := value.(string) @@ -16419,7 +15681,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobEngineVersionRequested = ptr.String(jtv) } - case "jobEngineVersionUsed": if value != nil { jtv, ok := value.(string) @@ -16428,7 +15689,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobEngineVersionUsed = ptr.String(jtv) } - case "jobPercentComplete": if value != nil { jtv, ok := value.(json.Number) @@ -16441,7 +15701,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobPercentComplete = ptr.Int32(int32(i64)) } - case "jobTemplate": if value != nil { jtv, ok := value.(string) @@ -16450,17 +15709,14 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobTemplate = ptr.String(jtv) } - case "messages": if err := awsRestjson1_deserializeDocumentJobMessages(&sv.Messages, value); err != nil { return err } - case "outputGroupDetails": if err := awsRestjson1_deserializeDocument__listOfOutputGroupDetail(&sv.OutputGroupDetails, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -16473,7 +15729,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Priority = ptr.Int32(int32(i64)) } - case "queue": if value != nil { jtv, ok := value.(string) @@ -16482,12 +15737,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Queue = ptr.String(jtv) } - case "queueTransitions": if err := awsRestjson1_deserializeDocument__listOfQueueTransition(&sv.QueueTransitions, value); err != nil { return err } - case "retryCount": if value != nil { jtv, ok := value.(json.Number) @@ -16500,7 +15753,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.RetryCount = ptr.Int32(int32(i64)) } - case "role": if value != nil { jtv, ok := value.(string) @@ -16509,12 +15761,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Role = ptr.String(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentJobSettings(&sv.Settings, value); err != nil { return err } - case "simulateReservedQueue": if value != nil { jtv, ok := value.(string) @@ -16523,7 +15773,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.SimulateReservedQueue = types.SimulateReservedQueue(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16532,7 +15781,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } - case "statusUpdateInterval": if value != nil { jtv, ok := value.(string) @@ -16541,22 +15789,18 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.StatusUpdateInterval = types.StatusUpdateInterval(jtv) } - case "timing": if err := awsRestjson1_deserializeDocumentTiming(&sv.Timing, value); err != nil { return err } - case "userMetadata": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.UserMetadata, value); err != nil { return err } - case "warnings": if err := awsRestjson1_deserializeDocument__listOfWarningGroup(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -16603,7 +15847,6 @@ func awsRestjson1_deserializeDocumentJobEngineVersion(v **types.JobEngineVersion } } - case "version": if value != nil { jtv, ok := value.(string) @@ -16612,7 +15855,6 @@ func awsRestjson1_deserializeDocumentJobEngineVersion(v **types.JobEngineVersion } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -16648,12 +15890,10 @@ func awsRestjson1_deserializeDocumentJobMessages(v **types.JobMessages, value in if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Info, value); err != nil { return err } - case "warning": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warning, value); err != nil { return err } - default: _, _ = key, value @@ -16697,27 +15937,22 @@ func awsRestjson1_deserializeDocumentJobSettings(v **types.JobSettings, value in } sv.AdAvailOffset = ptr.Int32(int32(i64)) } - case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } - case "colorConversion3DLUTSettings": if err := awsRestjson1_deserializeDocument__listOfColorConversion3DLUTSetting(&sv.ColorConversion3DLUTSettings, value); err != nil { return err } - case "esam": if err := awsRestjson1_deserializeDocumentEsamSettings(&sv.Esam, value); err != nil { return err } - case "extendedDataServices": if err := awsRestjson1_deserializeDocumentExtendedDataServices(&sv.ExtendedDataServices, value); err != nil { return err } - case "followSource": if value != nil { jtv, ok := value.(json.Number) @@ -16730,47 +15965,38 @@ func awsRestjson1_deserializeDocumentJobSettings(v **types.JobSettings, value in } sv.FollowSource = ptr.Int32(int32(i64)) } - case "inputs": if err := awsRestjson1_deserializeDocument__listOfInput(&sv.Inputs, value); err != nil { return err } - case "kantarWatermark": if err := awsRestjson1_deserializeDocumentKantarWatermarkSettings(&sv.KantarWatermark, value); err != nil { return err } - case "motionImageInserter": if err := awsRestjson1_deserializeDocumentMotionImageInserter(&sv.MotionImageInserter, value); err != nil { return err } - case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } - case "nielsenNonLinearWatermark": if err := awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(&sv.NielsenNonLinearWatermark, value); err != nil { return err } - case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } - case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } - case "timedMetadataInsertion": if err := awsRestjson1_deserializeDocumentTimedMetadataInsertion(&sv.TimedMetadataInsertion, value); err != nil { return err } - default: _, _ = key, value @@ -16806,7 +16032,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in if err := awsRestjson1_deserializeDocumentAccelerationSettings(&sv.AccelerationSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -16815,7 +16040,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Arn = ptr.String(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -16824,7 +16048,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Category = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16840,7 +16063,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16849,12 +16071,10 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Description = ptr.String(jtv) } - case "hopDestinations": if err := awsRestjson1_deserializeDocument__listOfHopDestination(&sv.HopDestinations, value); err != nil { return err } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -16870,7 +16090,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } } - case "name": if value != nil { jtv, ok := value.(string) @@ -16879,7 +16098,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -16892,7 +16110,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Priority = ptr.Int32(int32(i64)) } - case "queue": if value != nil { jtv, ok := value.(string) @@ -16901,12 +16118,10 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Queue = ptr.String(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentJobTemplateSettings(&sv.Settings, value); err != nil { return err } - case "statusUpdateInterval": if value != nil { jtv, ok := value.(string) @@ -16915,7 +16130,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.StatusUpdateInterval = types.StatusUpdateInterval(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16924,7 +16138,6 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -16968,27 +16181,22 @@ func awsRestjson1_deserializeDocumentJobTemplateSettings(v **types.JobTemplateSe } sv.AdAvailOffset = ptr.Int32(int32(i64)) } - case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } - case "colorConversion3DLUTSettings": if err := awsRestjson1_deserializeDocument__listOfColorConversion3DLUTSetting(&sv.ColorConversion3DLUTSettings, value); err != nil { return err } - case "esam": if err := awsRestjson1_deserializeDocumentEsamSettings(&sv.Esam, value); err != nil { return err } - case "extendedDataServices": if err := awsRestjson1_deserializeDocumentExtendedDataServices(&sv.ExtendedDataServices, value); err != nil { return err } - case "followSource": if value != nil { jtv, ok := value.(json.Number) @@ -17001,47 +16209,38 @@ func awsRestjson1_deserializeDocumentJobTemplateSettings(v **types.JobTemplateSe } sv.FollowSource = ptr.Int32(int32(i64)) } - case "inputs": if err := awsRestjson1_deserializeDocument__listOfInputTemplate(&sv.Inputs, value); err != nil { return err } - case "kantarWatermark": if err := awsRestjson1_deserializeDocumentKantarWatermarkSettings(&sv.KantarWatermark, value); err != nil { return err } - case "motionImageInserter": if err := awsRestjson1_deserializeDocumentMotionImageInserter(&sv.MotionImageInserter, value); err != nil { return err } - case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } - case "nielsenNonLinearWatermark": if err := awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(&sv.NielsenNonLinearWatermark, value); err != nil { return err } - case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } - case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } - case "timedMetadataInsertion": if err := awsRestjson1_deserializeDocumentTimedMetadataInsertion(&sv.TimedMetadataInsertion, value); err != nil { return err } - default: _, _ = key, value @@ -17081,7 +16280,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.ChannelName = ptr.String(jtv) } - case "contentReference": if value != nil { jtv, ok := value.(string) @@ -17090,7 +16288,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.ContentReference = ptr.String(jtv) } - case "credentialsSecretName": if value != nil { jtv, ok := value.(string) @@ -17099,7 +16296,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.CredentialsSecretName = ptr.String(jtv) } - case "fileOffset": if value != nil { switch jtv := value.(type) { @@ -17133,7 +16329,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } } - case "kantarLicenseId": if value != nil { jtv, ok := value.(json.Number) @@ -17146,7 +16341,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.KantarLicenseId = ptr.Int32(int32(i64)) } - case "kantarServerUrl": if value != nil { jtv, ok := value.(string) @@ -17155,7 +16349,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.KantarServerUrl = ptr.String(jtv) } - case "logDestination": if value != nil { jtv, ok := value.(string) @@ -17164,7 +16357,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.LogDestination = ptr.String(jtv) } - case "metadata3": if value != nil { jtv, ok := value.(string) @@ -17173,7 +16365,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata3 = ptr.String(jtv) } - case "metadata4": if value != nil { jtv, ok := value.(string) @@ -17182,7 +16373,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata4 = ptr.String(jtv) } - case "metadata5": if value != nil { jtv, ok := value.(string) @@ -17191,7 +16381,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata5 = ptr.String(jtv) } - case "metadata6": if value != nil { jtv, ok := value.(string) @@ -17200,7 +16389,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata6 = ptr.String(jtv) } - case "metadata7": if value != nil { jtv, ok := value.(string) @@ -17209,7 +16397,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata7 = ptr.String(jtv) } - case "metadata8": if value != nil { jtv, ok := value.(string) @@ -17218,7 +16405,6 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata8 = ptr.String(jtv) } - default: _, _ = key, value @@ -17262,7 +16448,6 @@ func awsRestjson1_deserializeDocumentM2tsScte35Esam(v **types.M2tsScte35Esam, va } sv.Scte35EsamPid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17302,7 +16487,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } - case "audioDuration": if value != nil { jtv, ok := value.(string) @@ -17311,7 +16495,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioDuration = types.M2tsAudioDuration(jtv) } - case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -17324,12 +16507,10 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } - case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.AudioPids, value); err != nil { return err } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -17342,7 +16523,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bufferModel": if value != nil { jtv, ok := value.(string) @@ -17351,7 +16531,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.BufferModel = types.M2tsBufferModel(jtv) } - case "dataPTSControl": if value != nil { jtv, ok := value.(string) @@ -17360,27 +16539,22 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DataPTSControl = types.M2tsDataPtsControl(jtv) } - case "dvbNitSettings": if err := awsRestjson1_deserializeDocumentDvbNitSettings(&sv.DvbNitSettings, value); err != nil { return err } - case "dvbSdtSettings": if err := awsRestjson1_deserializeDocumentDvbSdtSettings(&sv.DvbSdtSettings, value); err != nil { return err } - case "dvbSubPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.DvbSubPids, value); err != nil { return err } - case "dvbTdtSettings": if err := awsRestjson1_deserializeDocumentDvbTdtSettings(&sv.DvbTdtSettings, value); err != nil { return err } - case "dvbTeletextPid": if value != nil { jtv, ok := value.(json.Number) @@ -17393,7 +16567,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbTeletextPid = ptr.Int32(int32(i64)) } - case "ebpAudioInterval": if value != nil { jtv, ok := value.(string) @@ -17402,7 +16575,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpAudioInterval = types.M2tsEbpAudioInterval(jtv) } - case "ebpPlacement": if value != nil { jtv, ok := value.(string) @@ -17411,7 +16583,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpPlacement = types.M2tsEbpPlacement(jtv) } - case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -17420,7 +16591,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } - case "forceTsVideoEbpOrder": if value != nil { jtv, ok := value.(string) @@ -17429,7 +16599,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ForceTsVideoEbpOrder = types.M2tsForceTsVideoEbpOrder(jtv) } - case "fragmentTime": if value != nil { switch jtv := value.(type) { @@ -17463,7 +16632,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -17472,7 +16640,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.KlvMetadata = types.M2tsKlvMetadata(jtv) } - case "maxPcrInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17485,7 +16652,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.MaxPcrInterval = ptr.Int32(int32(i64)) } - case "minEbpInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17498,7 +16664,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.MinEbpInterval = ptr.Int32(int32(i64)) } - case "nielsenId3": if value != nil { jtv, ok := value.(string) @@ -17507,7 +16672,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.NielsenId3 = types.M2tsNielsenId3(jtv) } - case "nullPacketBitrate": if value != nil { switch jtv := value.(type) { @@ -17541,7 +16705,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17554,7 +16717,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PatInterval = ptr.Int32(int32(i64)) } - case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -17563,7 +16725,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrControl = types.M2tsPcrControl(jtv) } - case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -17576,7 +16737,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPid = ptr.Int32(int32(i64)) } - case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17589,7 +16749,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } - case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -17602,7 +16761,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtPid = ptr.Int32(int32(i64)) } - case "preventBufferUnderflow": if value != nil { jtv, ok := value.(string) @@ -17611,7 +16769,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PreventBufferUnderflow = types.M2tsPreventBufferUnderflow(jtv) } - case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -17624,7 +16781,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17637,7 +16793,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "ptsOffset": if value != nil { jtv, ok := value.(json.Number) @@ -17650,7 +16805,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PtsOffset = ptr.Int32(int32(i64)) } - case "ptsOffsetMode": if value != nil { jtv, ok := value.(string) @@ -17659,7 +16813,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PtsOffsetMode = types.TsPtsOffset(jtv) } - case "rateMode": if value != nil { jtv, ok := value.(string) @@ -17668,12 +16821,10 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.RateMode = types.M2tsRateMode(jtv) } - case "scte35Esam": if err := awsRestjson1_deserializeDocumentM2tsScte35Esam(&sv.Scte35Esam, value); err != nil { return err } - case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -17686,7 +16837,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Pid = ptr.Int32(int32(i64)) } - case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -17695,7 +16845,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Source = types.M2tsScte35Source(jtv) } - case "segmentationMarkers": if value != nil { jtv, ok := value.(string) @@ -17704,7 +16853,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationMarkers = types.M2tsSegmentationMarkers(jtv) } - case "segmentationStyle": if value != nil { jtv, ok := value.(string) @@ -17713,7 +16861,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationStyle = types.M2tsSegmentationStyle(jtv) } - case "segmentationTime": if value != nil { switch jtv := value.(type) { @@ -17747,7 +16894,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -17760,7 +16906,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } - case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -17773,7 +16918,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } - case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -17786,7 +16930,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.VideoPid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17826,7 +16969,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioDuration = types.M3u8AudioDuration(jtv) } - case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -17839,12 +16981,10 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } - case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.AudioPids, value); err != nil { return err } - case "dataPTSControl": if value != nil { jtv, ok := value.(string) @@ -17853,7 +16993,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.DataPTSControl = types.M3u8DataPtsControl(jtv) } - case "maxPcrInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17866,7 +17005,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.MaxPcrInterval = ptr.Int32(int32(i64)) } - case "nielsenId3": if value != nil { jtv, ok := value.(string) @@ -17875,7 +17013,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.NielsenId3 = types.M3u8NielsenId3(jtv) } - case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17888,7 +17025,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PatInterval = ptr.Int32(int32(i64)) } - case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -17897,7 +17033,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrControl = types.M3u8PcrControl(jtv) } - case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -17910,7 +17045,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPid = ptr.Int32(int32(i64)) } - case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17923,7 +17057,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } - case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -17936,7 +17069,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtPid = ptr.Int32(int32(i64)) } - case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -17949,7 +17081,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17962,7 +17093,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "ptsOffset": if value != nil { jtv, ok := value.(json.Number) @@ -17975,7 +17105,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PtsOffset = ptr.Int32(int32(i64)) } - case "ptsOffsetMode": if value != nil { jtv, ok := value.(string) @@ -17984,7 +17113,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PtsOffsetMode = types.TsPtsOffset(jtv) } - case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -17997,7 +17125,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Pid = ptr.Int32(int32(i64)) } - case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -18006,7 +17133,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Source = types.M3u8Scte35Source(jtv) } - case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -18015,7 +17141,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadata = types.TimedMetadata(jtv) } - case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -18028,7 +17153,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } - case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -18041,7 +17165,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } - case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -18054,7 +17177,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.VideoPid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18098,7 +17220,6 @@ func awsRestjson1_deserializeDocumentMinBottomRenditionSize(v **types.MinBottomR } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -18111,7 +17232,6 @@ func awsRestjson1_deserializeDocumentMinBottomRenditionSize(v **types.MinBottomR } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18155,7 +17275,6 @@ func awsRestjson1_deserializeDocumentMinTopRenditionSize(v **types.MinTopRenditi } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -18168,7 +17287,6 @@ func awsRestjson1_deserializeDocumentMinTopRenditionSize(v **types.MinTopRenditi } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18204,7 +17322,6 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn if err := awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(&sv.Framerate, value); err != nil { return err } - case "input": if value != nil { jtv, ok := value.(string) @@ -18213,7 +17330,6 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.Input = ptr.String(jtv) } - case "insertionMode": if value != nil { jtv, ok := value.(string) @@ -18222,12 +17338,10 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.InsertionMode = types.MotionImageInsertionMode(jtv) } - case "offset": if err := awsRestjson1_deserializeDocumentMotionImageInsertionOffset(&sv.Offset, value); err != nil { return err } - case "playback": if value != nil { jtv, ok := value.(string) @@ -18236,7 +17350,6 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.Playback = types.MotionImagePlayback(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -18245,7 +17358,6 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -18289,7 +17401,6 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(v **types.Mot } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -18302,7 +17413,6 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(v **types.Mot } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18346,7 +17456,6 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionOffset(v **types.Motion } sv.ImageX = ptr.Int32(int32(i64)) } - case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -18359,7 +17468,6 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionOffset(v **types.Motion } sv.ImageY = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18399,7 +17507,6 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.ClapAtom = types.MovClapAtom(jtv) } - case "cslgAtom": if value != nil { jtv, ok := value.(string) @@ -18408,7 +17515,6 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.CslgAtom = types.MovCslgAtom(jtv) } - case "mpeg2FourCCControl": if value != nil { jtv, ok := value.(string) @@ -18417,7 +17523,6 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.Mpeg2FourCCControl = types.MovMpeg2FourCCControl(jtv) } - case "paddingControl": if value != nil { jtv, ok := value.(string) @@ -18426,7 +17531,6 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.PaddingControl = types.MovPaddingControl(jtv) } - case "reference": if value != nil { jtv, ok := value.(string) @@ -18435,7 +17539,6 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.Reference = types.MovReference(jtv) } - default: _, _ = key, value @@ -18479,7 +17582,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -18492,7 +17594,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.Channels = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -18505,7 +17606,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18549,7 +17649,6 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -18562,7 +17661,6 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.Channels = ptr.Int32(int32(i64)) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -18571,7 +17669,6 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.RateControlMode = types.Mp3RateControlMode(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -18584,7 +17681,6 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } - case "vbrQuality": if value != nil { jtv, ok := value.(json.Number) @@ -18597,7 +17693,6 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.VbrQuality = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18637,7 +17732,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.AudioDuration = types.CmfcAudioDuration(jtv) } - case "cslgAtom": if value != nil { jtv, ok := value.(string) @@ -18646,7 +17740,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.CslgAtom = types.Mp4CslgAtom(jtv) } - case "cttsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -18659,7 +17752,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.CttsVersion = ptr.Int32(int32(i64)) } - case "freeSpaceBox": if value != nil { jtv, ok := value.(string) @@ -18668,7 +17760,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.FreeSpaceBox = types.Mp4FreeSpaceBox(jtv) } - case "moovPlacement": if value != nil { jtv, ok := value.(string) @@ -18677,7 +17768,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.MoovPlacement = types.Mp4MoovPlacement(jtv) } - case "mp4MajorBrand": if value != nil { jtv, ok := value.(string) @@ -18686,7 +17776,6 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.Mp4MajorBrand = ptr.String(jtv) } - default: _, _ = key, value @@ -18726,7 +17815,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.AccessibilityCaptionHints = types.MpdAccessibilityCaptionHints(jtv) } - case "audioDuration": if value != nil { jtv, ok := value.(string) @@ -18735,7 +17823,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.AudioDuration = types.MpdAudioDuration(jtv) } - case "captionContainerType": if value != nil { jtv, ok := value.(string) @@ -18744,7 +17831,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.CaptionContainerType = types.MpdCaptionContainerType(jtv) } - case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -18753,7 +17839,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.KlvMetadata = types.MpdKlvMetadata(jtv) } - case "manifestMetadataSignaling": if value != nil { jtv, ok := value.(string) @@ -18762,7 +17847,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.ManifestMetadataSignaling = types.MpdManifestMetadataSignaling(jtv) } - case "scte35Esam": if value != nil { jtv, ok := value.(string) @@ -18771,7 +17855,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.Scte35Esam = types.MpdScte35Esam(jtv) } - case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -18780,7 +17863,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.Scte35Source = types.MpdScte35Source(jtv) } - case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -18789,7 +17871,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadata = types.MpdTimedMetadata(jtv) } - case "timedMetadataBoxVersion": if value != nil { jtv, ok := value.(string) @@ -18798,7 +17879,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataBoxVersion = types.MpdTimedMetadataBoxVersion(jtv) } - case "timedMetadataSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -18807,7 +17887,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataSchemeIdUri = ptr.String(jtv) } - case "timedMetadataValue": if value != nil { jtv, ok := value.(string) @@ -18816,7 +17895,6 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataValue = ptr.String(jtv) } - default: _, _ = key, value @@ -18856,7 +17934,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AdaptiveQuantization = types.Mpeg2AdaptiveQuantization(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -18869,7 +17946,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Bitrate = ptr.Int32(int32(i64)) } - case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -18878,7 +17954,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.CodecLevel = types.Mpeg2CodecLevel(jtv) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -18887,7 +17962,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.CodecProfile = types.Mpeg2CodecProfile(jtv) } - case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -18896,7 +17970,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.DynamicSubGop = types.Mpeg2DynamicSubGop(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -18905,7 +17978,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateControl = types.Mpeg2FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18914,7 +17986,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateConversionAlgorithm = types.Mpeg2FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -18927,7 +17998,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -18940,7 +18010,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -18953,7 +18022,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -18987,7 +18055,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -18996,7 +18063,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopSizeUnits = types.Mpeg2GopSizeUnits(jtv) } - case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -19009,7 +18075,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -19022,7 +18087,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -19035,7 +18099,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -19044,7 +18107,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.InterlaceMode = types.Mpeg2InterlaceMode(jtv) } - case "intraDcPrecision": if value != nil { jtv, ok := value.(string) @@ -19053,7 +18115,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.IntraDcPrecision = types.Mpeg2IntraDcPrecision(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -19066,7 +18127,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -19079,7 +18139,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -19092,7 +18151,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -19101,7 +18159,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParControl = types.Mpeg2ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -19114,7 +18171,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -19127,7 +18183,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -19136,7 +18191,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.QualityTuningLevel = types.Mpeg2QualityTuningLevel(jtv) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -19145,7 +18199,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.RateControlMode = types.Mpeg2RateControlMode(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -19154,7 +18207,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ScanTypeConversionMode = types.Mpeg2ScanTypeConversionMode(jtv) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -19163,7 +18215,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SceneChangeDetect = types.Mpeg2SceneChangeDetect(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -19172,7 +18223,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SlowPal = types.Mpeg2SlowPal(jtv) } - case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -19185,7 +18235,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Softness = ptr.Int32(int32(i64)) } - case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -19194,7 +18243,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SpatialAdaptiveQuantization = types.Mpeg2SpatialAdaptiveQuantization(jtv) } - case "syntax": if value != nil { jtv, ok := value.(string) @@ -19203,7 +18251,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Syntax = types.Mpeg2Syntax(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -19212,7 +18259,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Telecine = types.Mpeg2Telecine(jtv) } - case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -19221,7 +18267,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.TemporalAdaptiveQuantization = types.Mpeg2TemporalAdaptiveQuantization(jtv) } - default: _, _ = key, value @@ -19261,12 +18306,10 @@ func awsRestjson1_deserializeDocumentMsSmoothAdditionalManifest(v **types.MsSmoo } sv.ManifestNameModifier = ptr.String(jtv) } - case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -19302,7 +18345,6 @@ func awsRestjson1_deserializeDocumentMsSmoothEncryptionSettings(v **types.MsSmoo if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -19338,7 +18380,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro if err := awsRestjson1_deserializeDocument__listOfMsSmoothAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } - case "audioDeduplication": if value != nil { jtv, ok := value.(string) @@ -19347,7 +18388,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AudioDeduplication = types.MsSmoothAudioDeduplication(jtv) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -19356,17 +18396,14 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.Destination = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentMsSmoothEncryptionSettings(&sv.Encryption, value); err != nil { return err } - case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -19379,7 +18416,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLength = ptr.Int32(int32(i64)) } - case "fragmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -19388,7 +18424,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLengthControl = types.MsSmoothFragmentLengthControl(jtv) } - case "manifestEncoding": if value != nil { jtv, ok := value.(string) @@ -19397,7 +18432,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.ManifestEncoding = types.MsSmoothManifestEncoding(jtv) } - default: _, _ = key, value @@ -19437,7 +18471,6 @@ func awsRestjson1_deserializeDocumentMxfSettings(v **types.MxfSettings, value in } sv.AfdSignaling = types.MxfAfdSignaling(jtv) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -19446,12 +18479,10 @@ func awsRestjson1_deserializeDocumentMxfSettings(v **types.MxfSettings, value in } sv.Profile = types.MxfProfile(jtv) } - case "xavcProfileSettings": if err := awsRestjson1_deserializeDocumentMxfXavcProfileSettings(&sv.XavcProfileSettings, value); err != nil { return err } - default: _, _ = key, value @@ -19491,7 +18522,6 @@ func awsRestjson1_deserializeDocumentMxfXavcProfileSettings(v **types.MxfXavcPro } sv.DurationMode = types.MxfXavcDurationMode(jtv) } - case "maxAncDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -19504,7 +18534,6 @@ func awsRestjson1_deserializeDocumentMxfXavcProfileSettings(v **types.MxfXavcPro } sv.MaxAncDataSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19544,7 +18573,6 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.License = ptr.String(jtv) } - case "payload": if value != nil { jtv, ok := value.(json.Number) @@ -19557,7 +18585,6 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Payload = ptr.Int32(int32(i64)) } - case "preset": if value != nil { jtv, ok := value.(string) @@ -19566,7 +18593,6 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Preset = ptr.String(jtv) } - case "strength": if value != nil { jtv, ok := value.(string) @@ -19575,7 +18601,6 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Strength = types.WatermarkingStrength(jtv) } - default: _, _ = key, value @@ -19619,7 +18644,6 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.BreakoutCode = ptr.Int32(int32(i64)) } - case "distributorId": if value != nil { jtv, ok := value.(string) @@ -19628,7 +18652,6 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.DistributorId = ptr.String(jtv) } - default: _, _ = key, value @@ -19668,7 +18691,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.ActiveWatermarkProcess = types.NielsenActiveWatermarkProcessType(jtv) } - case "adiFilename": if value != nil { jtv, ok := value.(string) @@ -19677,7 +18699,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AdiFilename = ptr.String(jtv) } - case "assetId": if value != nil { jtv, ok := value.(string) @@ -19686,7 +18707,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AssetId = ptr.String(jtv) } - case "assetName": if value != nil { jtv, ok := value.(string) @@ -19695,7 +18715,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AssetName = ptr.String(jtv) } - case "cbetSourceId": if value != nil { jtv, ok := value.(string) @@ -19704,7 +18723,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.CbetSourceId = ptr.String(jtv) } - case "episodeId": if value != nil { jtv, ok := value.(string) @@ -19713,7 +18731,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.EpisodeId = ptr.String(jtv) } - case "metadataDestination": if value != nil { jtv, ok := value.(string) @@ -19722,7 +18739,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.MetadataDestination = ptr.String(jtv) } - case "sourceId": if value != nil { jtv, ok := value.(json.Number) @@ -19735,7 +18751,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.SourceId = ptr.Int32(int32(i64)) } - case "sourceWatermarkStatus": if value != nil { jtv, ok := value.(string) @@ -19744,7 +18759,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.SourceWatermarkStatus = types.NielsenSourceWatermarkStatusType(jtv) } - case "ticServerUrl": if value != nil { jtv, ok := value.(string) @@ -19753,7 +18767,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.TicServerUrl = ptr.String(jtv) } - case "uniqueTicPerAudioTrack": if value != nil { jtv, ok := value.(string) @@ -19762,7 +18775,6 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.UniqueTicPerAudioTrack = types.NielsenUniqueTicPerAudioTrackType(jtv) } - default: _, _ = key, value @@ -19802,22 +18814,18 @@ func awsRestjson1_deserializeDocumentNoiseReducer(v **types.NoiseReducer, value } sv.Filter = types.NoiseReducerFilter(jtv) } - case "filterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerFilterSettings(&sv.FilterSettings, value); err != nil { return err } - case "spatialFilterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(&sv.SpatialFilterSettings, value); err != nil { return err } - case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } - default: _, _ = key, value @@ -19861,7 +18869,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerFilterSettings(v **types.NoiseR } sv.Strength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19905,7 +18912,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.PostFilterSharpenStrength = ptr.Int32(int32(i64)) } - case "speed": if value != nil { jtv, ok := value.(json.Number) @@ -19918,7 +18924,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.Speed = ptr.Int32(int32(i64)) } - case "strength": if value != nil { jtv, ok := value.(json.Number) @@ -19931,7 +18936,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.Strength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19975,7 +18979,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.AggressiveMode = ptr.Int32(int32(i64)) } - case "postTemporalSharpening": if value != nil { jtv, ok := value.(string) @@ -19984,7 +18987,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.PostTemporalSharpening = types.NoiseFilterPostTemporalSharpening(jtv) } - case "postTemporalSharpeningStrength": if value != nil { jtv, ok := value.(string) @@ -19993,7 +18995,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.PostTemporalSharpeningStrength = types.NoiseFilterPostTemporalSharpeningStrength(jtv) } - case "speed": if value != nil { jtv, ok := value.(json.Number) @@ -20006,7 +19007,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.Speed = ptr.Int32(int32(i64)) } - case "strength": if value != nil { jtv, ok := value.(json.Number) @@ -20019,7 +19019,6 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.Strength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20049,15 +19048,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20065,15 +19058,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20112,7 +19101,6 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -20125,7 +19113,6 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.Channels = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -20138,7 +19125,6 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20174,17 +19160,14 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } - case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescription(&sv.CaptionDescriptions, value); err != nil { return err } - case "containerSettings": if err := awsRestjson1_deserializeDocumentContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "extension": if value != nil { jtv, ok := value.(string) @@ -20193,7 +19176,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Extension = ptr.String(jtv) } - case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -20202,12 +19184,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.NameModifier = ptr.String(jtv) } - case "outputSettings": if err := awsRestjson1_deserializeDocumentOutputSettings(&sv.OutputSettings, value); err != nil { return err } - case "preset": if value != nil { jtv, ok := value.(string) @@ -20216,12 +19196,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Preset = ptr.String(jtv) } - case "videoDescription": if err := awsRestjson1_deserializeDocumentVideoDescription(&sv.VideoDescription, value); err != nil { return err } - default: _, _ = key, value @@ -20257,12 +19235,10 @@ func awsRestjson1_deserializeDocumentOutputChannelMapping(v **types.OutputChanne if err := awsRestjson1_deserializeDocument__listOf__integerMinNegative60Max6(&sv.InputChannels, value); err != nil { return err } - case "inputChannelsFineTune": if err := awsRestjson1_deserializeDocument__listOf__doubleMinNegative60Max6(&sv.InputChannelsFineTune, value); err != nil { return err } - default: _, _ = key, value @@ -20306,12 +19282,10 @@ func awsRestjson1_deserializeDocumentOutputDetail(v **types.OutputDetail, value } sv.DurationInMs = ptr.Int32(int32(i64)) } - case "videoDetails": if err := awsRestjson1_deserializeDocumentVideoDetail(&sv.VideoDetails, value); err != nil { return err } - default: _, _ = key, value @@ -20347,7 +19321,6 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in if err := awsRestjson1_deserializeDocumentAutomatedEncodingSettings(&sv.AutomatedEncodingSettings, value); err != nil { return err } - case "customName": if value != nil { jtv, ok := value.(string) @@ -20356,7 +19329,6 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.CustomName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20365,17 +19337,14 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.Name = ptr.String(jtv) } - case "outputGroupSettings": if err := awsRestjson1_deserializeDocumentOutputGroupSettings(&sv.OutputGroupSettings, value); err != nil { return err } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -20411,7 +19380,6 @@ func awsRestjson1_deserializeDocumentOutputGroupDetail(v **types.OutputGroupDeta if err := awsRestjson1_deserializeDocument__listOfOutputDetail(&sv.OutputDetails, value); err != nil { return err } - default: _, _ = key, value @@ -20447,27 +19415,22 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe if err := awsRestjson1_deserializeDocumentCmafGroupSettings(&sv.CmafGroupSettings, value); err != nil { return err } - case "dashIsoGroupSettings": if err := awsRestjson1_deserializeDocumentDashIsoGroupSettings(&sv.DashIsoGroupSettings, value); err != nil { return err } - case "fileGroupSettings": if err := awsRestjson1_deserializeDocumentFileGroupSettings(&sv.FileGroupSettings, value); err != nil { return err } - case "hlsGroupSettings": if err := awsRestjson1_deserializeDocumentHlsGroupSettings(&sv.HlsGroupSettings, value); err != nil { return err } - case "msSmoothGroupSettings": if err := awsRestjson1_deserializeDocumentMsSmoothGroupSettings(&sv.MsSmoothGroupSettings, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -20476,7 +19439,6 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe } sv.Type = types.OutputGroupType(jtv) } - default: _, _ = key, value @@ -20512,7 +19474,6 @@ func awsRestjson1_deserializeDocumentOutputSettings(v **types.OutputSettings, va if err := awsRestjson1_deserializeDocumentHlsSettings(&sv.HlsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -20548,7 +19509,6 @@ func awsRestjson1_deserializeDocumentPartnerWatermarking(v **types.PartnerWaterm if err := awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(&sv.NexguardFileMarkerSettings, value); err != nil { return err } - default: _, _ = key, value @@ -20588,7 +19548,6 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.HttpInputs = types.InputPolicy(jtv) } - case "httpsInputs": if value != nil { jtv, ok := value.(string) @@ -20597,7 +19556,6 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.HttpsInputs = types.InputPolicy(jtv) } - case "s3Inputs": if value != nil { jtv, ok := value.(string) @@ -20606,7 +19564,6 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.S3Inputs = types.InputPolicy(jtv) } - default: _, _ = key, value @@ -20646,7 +19603,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Arn = ptr.String(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -20655,7 +19611,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Category = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -20671,7 +19626,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20680,7 +19634,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Description = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -20696,7 +19649,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } } - case "name": if value != nil { jtv, ok := value.(string) @@ -20705,12 +19657,10 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Name = ptr.String(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentPresetSettings(&sv.Settings, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -20719,7 +19669,6 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -20755,22 +19704,18 @@ func awsRestjson1_deserializeDocumentPresetSettings(v **types.PresetSettings, va if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } - case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescriptionPreset(&sv.CaptionDescriptions, value); err != nil { return err } - case "containerSettings": if err := awsRestjson1_deserializeDocumentContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "videoDescription": if err := awsRestjson1_deserializeDocumentVideoDescription(&sv.VideoDescription, value); err != nil { return err } - default: _, _ = key, value @@ -20810,7 +19755,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ChromaSampling = types.ProresChromaSampling(jtv) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -20819,7 +19763,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.CodecProfile = types.ProresCodecProfile(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -20828,7 +19771,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateControl = types.ProresFramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -20837,7 +19779,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateConversionAlgorithm = types.ProresFramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -20850,7 +19791,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -20863,7 +19803,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -20872,7 +19811,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.InterlaceMode = types.ProresInterlaceMode(jtv) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -20881,7 +19819,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParControl = types.ProresParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -20894,7 +19831,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -20907,7 +19843,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -20916,7 +19851,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ScanTypeConversionMode = types.ProresScanTypeConversionMode(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -20925,7 +19859,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.SlowPal = types.ProresSlowPal(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -20934,7 +19867,6 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.Telecine = types.ProresTelecine(jtv) } - default: _, _ = key, value @@ -20974,7 +19906,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -20990,7 +19921,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } - case "description": if value != nil { jtv, ok := value.(string) @@ -20999,7 +19929,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Description = ptr.String(jtv) } - case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -21015,7 +19944,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } - case "name": if value != nil { jtv, ok := value.(string) @@ -21024,7 +19952,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } - case "pricingPlan": if value != nil { jtv, ok := value.(string) @@ -21033,7 +19960,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.PricingPlan = types.PricingPlan(jtv) } - case "progressingJobsCount": if value != nil { jtv, ok := value.(json.Number) @@ -21046,12 +19972,10 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ProgressingJobsCount = ptr.Int32(int32(i64)) } - case "reservationPlan": if err := awsRestjson1_deserializeDocumentReservationPlan(&sv.ReservationPlan, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -21060,7 +19984,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } - case "submittedJobsCount": if value != nil { jtv, ok := value.(json.Number) @@ -21073,7 +19996,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.SubmittedJobsCount = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -21082,7 +20004,6 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -21122,7 +20043,6 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } sv.DestinationQueue = ptr.String(jtv) } - case "sourceQueue": if value != nil { jtv, ok := value.(string) @@ -21131,7 +20051,6 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } sv.SourceQueue = ptr.String(jtv) } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -21147,7 +20066,6 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } } - default: _, _ = key, value @@ -21191,7 +20109,6 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Height = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -21204,7 +20121,6 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Width = ptr.Int32(int32(i64)) } - case "x": if value != nil { jtv, ok := value.(json.Number) @@ -21217,7 +20133,6 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.X = ptr.Int32(int32(i64)) } - case "y": if value != nil { jtv, ok := value.(json.Number) @@ -21230,7 +20145,6 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Y = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21274,7 +20188,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.AudioDescriptionAudioChannel = ptr.Int32(int32(i64)) } - case "audioDescriptionDataChannel": if value != nil { jtv, ok := value.(json.Number) @@ -21287,12 +20200,10 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.AudioDescriptionDataChannel = ptr.Int32(int32(i64)) } - case "channelMapping": if err := awsRestjson1_deserializeDocumentChannelMapping(&sv.ChannelMapping, value); err != nil { return err } - case "channelsIn": if value != nil { jtv, ok := value.(json.Number) @@ -21305,7 +20216,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsIn = ptr.Int32(int32(i64)) } - case "channelsOut": if value != nil { jtv, ok := value.(json.Number) @@ -21318,7 +20228,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsOut = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21358,7 +20267,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.Commitment = types.Commitment(jtv) } - case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -21374,7 +20282,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } } - case "purchasedAt": if value != nil { switch jtv := value.(type) { @@ -21390,7 +20297,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } } - case "renewalType": if value != nil { jtv, ok := value.(string) @@ -21399,7 +20305,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.RenewalType = types.RenewalType(jtv) } - case "reservedSlots": if value != nil { jtv, ok := value.(json.Number) @@ -21412,7 +20317,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.ReservedSlots = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21421,7 +20325,6 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.Status = types.ReservationPlanStatus(jtv) } - default: _, _ = key, value @@ -21461,12 +20364,10 @@ func awsRestjson1_deserializeDocumentResourceTags(v **types.ResourceTags, value } sv.Arn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21506,7 +20407,6 @@ func awsRestjson1_deserializeDocumentS3DestinationAccessControl(v **types.S3Dest } sv.CannedAcl = types.S3ObjectCannedAcl(jtv) } - default: _, _ = key, value @@ -21542,12 +20442,10 @@ func awsRestjson1_deserializeDocumentS3DestinationSettings(v **types.S3Destinati if err := awsRestjson1_deserializeDocumentS3DestinationAccessControl(&sv.AccessControl, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentS3EncryptionSettings(&sv.Encryption, value); err != nil { return err } - case "storageClass": if value != nil { jtv, ok := value.(string) @@ -21556,7 +20454,6 @@ func awsRestjson1_deserializeDocumentS3DestinationSettings(v **types.S3Destinati } sv.StorageClass = types.S3StorageClass(jtv) } - default: _, _ = key, value @@ -21596,7 +20493,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.EncryptionType = types.S3ServerSideEncryptionType(jtv) } - case "kmsEncryptionContext": if value != nil { jtv, ok := value.(string) @@ -21605,7 +20501,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.KmsEncryptionContext = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -21614,7 +20509,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21654,7 +20548,6 @@ func awsRestjson1_deserializeDocumentSccDestinationSettings(v **types.SccDestina } sv.Framerate = types.SccDestinationFramerate(jtv) } - default: _, _ = key, value @@ -21694,12 +20587,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.CertificateArn = ptr.String(jtv) } - case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -21708,12 +20599,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } - case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.SystemIds, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -21722,7 +20611,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21762,22 +20650,18 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.CertificateArn = ptr.String(jtv) } - case "dashSignaledSystemIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.DashSignaledSystemIds, value); err != nil { return err } - case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } - case "hlsSignaledSystemIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.HlsSignaledSystemIds, value); err != nil { return err } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -21786,7 +20670,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.ResourceId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -21795,7 +20678,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21835,7 +20717,6 @@ func awsRestjson1_deserializeDocumentSrtDestinationSettings(v **types.SrtDestina } sv.StylePassthrough = types.SrtStylePassthrough(jtv) } - default: _, _ = key, value @@ -21875,7 +20756,6 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.KeyFormat = ptr.String(jtv) } - case "keyFormatVersions": if value != nil { jtv, ok := value.(string) @@ -21884,7 +20764,6 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.KeyFormatVersions = ptr.String(jtv) } - case "staticKeyValue": if value != nil { jtv, ok := value.(string) @@ -21893,7 +20772,6 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.StaticKeyValue = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -21902,7 +20780,6 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21942,12 +20819,10 @@ func awsRestjson1_deserializeDocumentTeletextDestinationSettings(v **types.Telet } sv.PageNumber = ptr.String(jtv) } - case "pageTypes": if err := awsRestjson1_deserializeDocument__listOfTeletextPageType(&sv.PageTypes, value); err != nil { return err } - default: _, _ = key, value @@ -21987,7 +20862,6 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo } sv.PageNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -22031,7 +20905,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.FontSize = ptr.Int32(int32(i64)) } - case "position": if value != nil { jtv, ok := value.(string) @@ -22040,7 +20913,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.Position = types.TimecodeBurninPosition(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -22049,7 +20921,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -22089,7 +20960,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Anchor = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -22098,7 +20968,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Source = types.TimecodeSource(jtv) } - case "start": if value != nil { jtv, ok := value.(string) @@ -22107,7 +20976,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Start = ptr.String(jtv) } - case "timestampOffset": if value != nil { jtv, ok := value.(string) @@ -22116,7 +20984,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.TimestampOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -22152,7 +21019,6 @@ func awsRestjson1_deserializeDocumentTimedMetadataInsertion(v **types.TimedMetad if err := awsRestjson1_deserializeDocument__listOfId3Insertion(&sv.Id3Insertions, value); err != nil { return err } - default: _, _ = key, value @@ -22199,7 +21065,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -22215,7 +21080,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } - case "submitTime": if value != nil { switch jtv := value.(type) { @@ -22231,7 +21095,6 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } - default: _, _ = key, value @@ -22261,15 +21124,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22277,15 +21134,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22324,7 +21177,6 @@ func awsRestjson1_deserializeDocumentTrackSourceSettings(v **types.TrackSourceSe } sv.TrackNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22364,7 +21216,6 @@ func awsRestjson1_deserializeDocumentTtmlDestinationSettings(v **types.TtmlDesti } sv.StylePassthrough = types.TtmlStylePassthrough(jtv) } - default: _, _ = key, value @@ -22404,7 +21255,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.Fourcc = types.UncompressedFourcc(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -22413,7 +21263,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateControl = types.UncompressedFramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -22422,7 +21271,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateConversionAlgorithm = types.UncompressedFramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22435,7 +21283,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22448,7 +21295,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -22457,7 +21303,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.InterlaceMode = types.UncompressedInterlaceMode(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -22466,7 +21311,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.ScanTypeConversionMode = types.UncompressedScanTypeConversionMode(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -22475,7 +21319,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.SlowPal = types.UncompressedSlowPal(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -22484,7 +21327,6 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.Telecine = types.UncompressedTelecine(jtv) } - default: _, _ = key, value @@ -22524,7 +21366,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateControl = types.Vc3FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -22533,7 +21374,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateConversionAlgorithm = types.Vc3FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22546,7 +21386,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22559,7 +21398,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -22568,7 +21406,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.InterlaceMode = types.Vc3InterlaceMode(jtv) } - case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -22577,7 +21414,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.ScanTypeConversionMode = types.Vc3ScanTypeConversionMode(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -22586,7 +21422,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.SlowPal = types.Vc3SlowPal(jtv) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -22595,7 +21430,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.Telecine = types.Vc3Telecine(jtv) } - case "vc3Class": if value != nil { jtv, ok := value.(string) @@ -22604,7 +21438,6 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.Vc3Class = types.Vc3Class(jtv) } - default: _, _ = key, value @@ -22640,12 +21473,10 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett if err := awsRestjson1_deserializeDocumentAv1Settings(&sv.Av1Settings, value); err != nil { return err } - case "avcIntraSettings": if err := awsRestjson1_deserializeDocumentAvcIntraSettings(&sv.AvcIntraSettings, value); err != nil { return err } - case "codec": if value != nil { jtv, ok := value.(string) @@ -22654,57 +21485,46 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett } sv.Codec = types.VideoCodec(jtv) } - case "frameCaptureSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureSettings(&sv.FrameCaptureSettings, value); err != nil { return err } - case "h264Settings": if err := awsRestjson1_deserializeDocumentH264Settings(&sv.H264Settings, value); err != nil { return err } - case "h265Settings": if err := awsRestjson1_deserializeDocumentH265Settings(&sv.H265Settings, value); err != nil { return err } - case "mpeg2Settings": if err := awsRestjson1_deserializeDocumentMpeg2Settings(&sv.Mpeg2Settings, value); err != nil { return err } - case "proresSettings": if err := awsRestjson1_deserializeDocumentProresSettings(&sv.ProresSettings, value); err != nil { return err } - case "uncompressedSettings": if err := awsRestjson1_deserializeDocumentUncompressedSettings(&sv.UncompressedSettings, value); err != nil { return err } - case "vc3Settings": if err := awsRestjson1_deserializeDocumentVc3Settings(&sv.Vc3Settings, value); err != nil { return err } - case "vp8Settings": if err := awsRestjson1_deserializeDocumentVp8Settings(&sv.Vp8Settings, value); err != nil { return err } - case "vp9Settings": if err := awsRestjson1_deserializeDocumentVp9Settings(&sv.Vp9Settings, value); err != nil { return err } - case "xavcSettings": if err := awsRestjson1_deserializeDocumentXavcSettings(&sv.XavcSettings, value); err != nil { return err } - default: _, _ = key, value @@ -22744,7 +21564,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.AfdSignaling = types.AfdSignaling(jtv) } - case "antiAlias": if value != nil { jtv, ok := value.(string) @@ -22753,12 +21572,10 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.AntiAlias = types.AntiAlias(jtv) } - case "codecSettings": if err := awsRestjson1_deserializeDocumentVideoCodecSettings(&sv.CodecSettings, value); err != nil { return err } - case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -22767,12 +21584,10 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ColorMetadata = types.ColorMetadata(jtv) } - case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } - case "dropFrameTimecode": if value != nil { jtv, ok := value.(string) @@ -22781,7 +21596,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.DropFrameTimecode = types.DropFrameTimecode(jtv) } - case "fixedAfd": if value != nil { jtv, ok := value.(json.Number) @@ -22794,7 +21608,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.FixedAfd = ptr.Int32(int32(i64)) } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -22807,12 +21620,10 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Height = ptr.Int32(int32(i64)) } - case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } - case "respondToAfd": if value != nil { jtv, ok := value.(string) @@ -22821,7 +21632,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.RespondToAfd = types.RespondToAfd(jtv) } - case "scalingBehavior": if value != nil { jtv, ok := value.(string) @@ -22830,7 +21640,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ScalingBehavior = types.ScalingBehavior(jtv) } - case "sharpness": if value != nil { jtv, ok := value.(json.Number) @@ -22843,7 +21652,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Sharpness = ptr.Int32(int32(i64)) } - case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -22852,12 +21660,10 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.TimecodeInsertion = types.VideoTimecodeInsertion(jtv) } - case "videoPreprocessors": if err := awsRestjson1_deserializeDocumentVideoPreprocessor(&sv.VideoPreprocessors, value); err != nil { return err } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -22870,7 +21676,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22914,7 +21719,6 @@ func awsRestjson1_deserializeDocumentVideoDetail(v **types.VideoDetail, value in } sv.HeightInPx = ptr.Int32(int32(i64)) } - case "widthInPx": if value != nil { jtv, ok := value.(json.Number) @@ -22927,7 +21731,6 @@ func awsRestjson1_deserializeDocumentVideoDetail(v **types.VideoDetail, value in } sv.WidthInPx = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22967,17 +21770,14 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.EndTimecode = ptr.String(jtv) } - case "initialPosition": if err := awsRestjson1_deserializeDocumentVideoOverlayPosition(&sv.InitialPosition, value); err != nil { return err } - case "input": if err := awsRestjson1_deserializeDocumentVideoOverlayInput(&sv.Input, value); err != nil { return err } - case "playback": if value != nil { jtv, ok := value.(string) @@ -22986,7 +21786,6 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.Playback = types.VideoOverlayPlayBackMode(jtv) } - case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -22995,12 +21794,10 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.StartTimecode = ptr.String(jtv) } - case "transitions": if err := awsRestjson1_deserializeDocument__listOfVideoOverlayTransition(&sv.Transitions, value); err != nil { return err } - default: _, _ = key, value @@ -23040,12 +21837,10 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.FileInput = ptr.String(jtv) } - case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfVideoOverlayInputClipping(&sv.InputClippings, value); err != nil { return err } - case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -23054,7 +21849,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.TimecodeSource = types.InputTimecodeSource(jtv) } - case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -23063,7 +21857,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.TimecodeStart = ptr.String(jtv) } - default: _, _ = key, value @@ -23103,7 +21896,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayInputClipping(v **types.VideoOv } sv.EndTimecode = ptr.String(jtv) } - case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -23112,7 +21904,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayInputClipping(v **types.VideoOv } sv.StartTimecode = ptr.String(jtv) } - default: _, _ = key, value @@ -23156,7 +21947,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Height = ptr.Int32(int32(i64)) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -23165,7 +21955,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Unit = types.VideoOverlayUnit(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -23178,7 +21967,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Width = ptr.Int32(int32(i64)) } - case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -23191,7 +21979,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.XPosition = ptr.Int32(int32(i64)) } - case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -23204,7 +21991,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.YPosition = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23240,7 +22026,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl if err := awsRestjson1_deserializeDocumentVideoOverlayPosition(&sv.EndPosition, value); err != nil { return err } - case "endTimecode": if value != nil { jtv, ok := value.(string) @@ -23249,7 +22034,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl } sv.EndTimecode = ptr.String(jtv) } - case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -23258,7 +22042,6 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl } sv.StartTimecode = ptr.String(jtv) } - default: _, _ = key, value @@ -23294,42 +22077,34 @@ func awsRestjson1_deserializeDocumentVideoPreprocessor(v **types.VideoPreprocess if err := awsRestjson1_deserializeDocumentColorCorrector(&sv.ColorCorrector, value); err != nil { return err } - case "deinterlacer": if err := awsRestjson1_deserializeDocumentDeinterlacer(&sv.Deinterlacer, value); err != nil { return err } - case "dolbyVision": if err := awsRestjson1_deserializeDocumentDolbyVision(&sv.DolbyVision, value); err != nil { return err } - case "hdr10Plus": if err := awsRestjson1_deserializeDocumentHdr10Plus(&sv.Hdr10Plus, value); err != nil { return err } - case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } - case "noiseReducer": if err := awsRestjson1_deserializeDocumentNoiseReducer(&sv.NoiseReducer, value); err != nil { return err } - case "partnerWatermarking": if err := awsRestjson1_deserializeDocumentPartnerWatermarking(&sv.PartnerWatermarking, value); err != nil { return err } - case "timecodeBurnin": if err := awsRestjson1_deserializeDocumentTimecodeBurnin(&sv.TimecodeBurnin, value); err != nil { return err } - default: _, _ = key, value @@ -23369,7 +22144,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.AlphaBehavior = types.AlphaBehavior(jtv) } - case "colorSpace": if value != nil { jtv, ok := value.(string) @@ -23378,7 +22152,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpace = types.ColorSpace(jtv) } - case "colorSpaceUsage": if value != nil { jtv, ok := value.(string) @@ -23387,7 +22160,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpaceUsage = types.ColorSpaceUsage(jtv) } - case "embeddedTimecodeOverride": if value != nil { jtv, ok := value.(string) @@ -23396,12 +22168,10 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.EmbeddedTimecodeOverride = types.EmbeddedTimecodeOverride(jtv) } - case "hdr10Metadata": if err := awsRestjson1_deserializeDocumentHdr10Metadata(&sv.Hdr10Metadata, value); err != nil { return err } - case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -23414,7 +22184,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.MaxLuminance = ptr.Int32(int32(i64)) } - case "padVideo": if value != nil { jtv, ok := value.(string) @@ -23423,7 +22192,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.PadVideo = types.PadVideo(jtv) } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -23436,7 +22204,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.Pid = ptr.Int32(int32(i64)) } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -23449,7 +22216,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "rotate": if value != nil { jtv, ok := value.(string) @@ -23458,7 +22224,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.Rotate = types.InputRotate(jtv) } - case "sampleRange": if value != nil { jtv, ok := value.(string) @@ -23467,7 +22232,6 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.SampleRange = types.InputSampleRange(jtv) } - default: _, _ = key, value @@ -23511,7 +22275,6 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.Channels = ptr.Int32(int32(i64)) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -23524,7 +22287,6 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.SampleRate = ptr.Int32(int32(i64)) } - case "vbrQuality": if value != nil { jtv, ok := value.(json.Number) @@ -23537,7 +22299,6 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.VbrQuality = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23581,7 +22342,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -23590,7 +22350,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateControl = types.Vp8FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -23599,7 +22358,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateConversionAlgorithm = types.Vp8FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -23612,7 +22370,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -23625,7 +22382,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -23659,7 +22415,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -23672,7 +22427,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -23685,7 +22439,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -23694,7 +22447,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParControl = types.Vp8ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -23707,7 +22459,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -23720,7 +22471,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -23729,7 +22479,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.QualityTuningLevel = types.Vp8QualityTuningLevel(jtv) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -23738,7 +22487,6 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.RateControlMode = types.Vp8RateControlMode(jtv) } - default: _, _ = key, value @@ -23782,7 +22530,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -23791,7 +22538,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateControl = types.Vp9FramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -23800,7 +22546,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateConversionAlgorithm = types.Vp9FramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -23813,7 +22558,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -23826,7 +22570,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -23860,7 +22603,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -23873,7 +22615,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -23886,7 +22627,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -23895,7 +22635,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParControl = types.Vp9ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -23908,7 +22647,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -23921,7 +22659,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -23930,7 +22667,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.QualityTuningLevel = types.Vp9QualityTuningLevel(jtv) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -23939,7 +22675,6 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.RateControlMode = types.Vp9RateControlMode(jtv) } - default: _, _ = key, value @@ -23983,7 +22718,6 @@ func awsRestjson1_deserializeDocumentWarningGroup(v **types.WarningGroup, value } sv.Code = ptr.Int32(int32(i64)) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -23996,7 +22730,6 @@ func awsRestjson1_deserializeDocumentWarningGroup(v **types.WarningGroup, value } sv.Count = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24040,7 +22773,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.BitDepth = ptr.Int32(int32(i64)) } - case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -24053,7 +22785,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.Channels = ptr.Int32(int32(i64)) } - case "format": if value != nil { jtv, ok := value.(string) @@ -24062,7 +22793,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.Format = types.WavFormat(jtv) } - case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -24075,7 +22805,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24115,7 +22844,6 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.Accessibility = types.WebvttAccessibilitySubs(jtv) } - case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -24124,7 +22852,6 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.StylePassthrough = types.WebvttStylePassthrough(jtv) } - default: _, _ = key, value @@ -24164,7 +22891,6 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionGroupId = ptr.String(jtv) } - case "renditionLanguageCode": if value != nil { jtv, ok := value.(string) @@ -24173,7 +22899,6 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionLanguageCode = types.LanguageCode(jtv) } - case "renditionName": if value != nil { jtv, ok := value.(string) @@ -24182,7 +22907,6 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionName = ptr.String(jtv) } - default: _, _ = key, value @@ -24222,7 +22946,6 @@ func awsRestjson1_deserializeDocumentXavc4kIntraCbgProfileSettings(v **types.Xav } sv.XavcClass = types.Xavc4kIntraCbgProfileClass(jtv) } - default: _, _ = key, value @@ -24262,7 +22985,6 @@ func awsRestjson1_deserializeDocumentXavc4kIntraVbrProfileSettings(v **types.Xav } sv.XavcClass = types.Xavc4kIntraVbrProfileClass(jtv) } - default: _, _ = key, value @@ -24302,7 +23024,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.BitrateClass = types.Xavc4kProfileBitrateClass(jtv) } - case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -24311,7 +23032,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.CodecProfile = types.Xavc4kProfileCodecProfile(jtv) } - case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -24320,7 +23040,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.FlickerAdaptiveQuantization = types.XavcFlickerAdaptiveQuantization(jtv) } - case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -24329,7 +23048,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.GopBReference = types.XavcGopBReference(jtv) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -24342,7 +23060,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -24355,7 +23072,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -24364,7 +23080,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.QualityTuningLevel = types.Xavc4kProfileQualityTuningLevel(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -24377,7 +23092,6 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.Slices = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24417,7 +23131,6 @@ func awsRestjson1_deserializeDocumentXavcHdIntraCbgProfileSettings(v **types.Xav } sv.XavcClass = types.XavcHdIntraCbgProfileClass(jtv) } - default: _, _ = key, value @@ -24457,7 +23170,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.BitrateClass = types.XavcHdProfileBitrateClass(jtv) } - case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -24466,7 +23178,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.FlickerAdaptiveQuantization = types.XavcFlickerAdaptiveQuantization(jtv) } - case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -24475,7 +23186,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.GopBReference = types.XavcGopBReference(jtv) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -24488,7 +23198,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -24501,7 +23210,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.HrdBufferSize = ptr.Int32(int32(i64)) } - case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -24510,7 +23218,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.InterlaceMode = types.XavcInterlaceMode(jtv) } - case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -24519,7 +23226,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.QualityTuningLevel = types.XavcHdProfileQualityTuningLevel(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -24532,7 +23238,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.Slices = ptr.Int32(int32(i64)) } - case "telecine": if value != nil { jtv, ok := value.(string) @@ -24541,7 +23246,6 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.Telecine = types.XavcHdProfileTelecine(jtv) } - default: _, _ = key, value @@ -24581,7 +23285,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.AdaptiveQuantization = types.XavcAdaptiveQuantization(jtv) } - case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -24590,7 +23293,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.EntropyEncoding = types.XavcEntropyEncoding(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -24599,7 +23301,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateControl = types.XavcFramerateControl(jtv) } - case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -24608,7 +23309,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateConversionAlgorithm = types.XavcFramerateConversionAlgorithm(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -24621,7 +23321,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -24634,7 +23333,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -24643,7 +23341,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.Profile = types.XavcProfile(jtv) } - case "slowPal": if value != nil { jtv, ok := value.(string) @@ -24652,7 +23349,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.SlowPal = types.XavcSlowPal(jtv) } - case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -24665,7 +23361,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.Softness = ptr.Int32(int32(i64)) } - case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -24674,7 +23369,6 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.SpatialAdaptiveQuantization = types.XavcSpatialAdaptiveQuantization(jtv) } - case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -24683,32 +23377,26 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.TemporalAdaptiveQuantization = types.XavcTemporalAdaptiveQuantization(jtv) } - case "xavc4kIntraCbgProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kIntraCbgProfileSettings(&sv.Xavc4kIntraCbgProfileSettings, value); err != nil { return err } - case "xavc4kIntraVbrProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kIntraVbrProfileSettings(&sv.Xavc4kIntraVbrProfileSettings, value); err != nil { return err } - case "xavc4kProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kProfileSettings(&sv.Xavc4kProfileSettings, value); err != nil { return err } - case "xavcHdIntraCbgProfileSettings": if err := awsRestjson1_deserializeDocumentXavcHdIntraCbgProfileSettings(&sv.XavcHdIntraCbgProfileSettings, value); err != nil { return err } - case "xavcHdProfileSettings": if err := awsRestjson1_deserializeDocumentXavcHdProfileSettings(&sv.XavcHdProfileSettings, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index f51a8e5db3c..6b6d90e7ea2 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -307,12 +307,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteOutput(v **BatchDeleteOutput, if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } - case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -485,12 +483,10 @@ func awsRestjson1_deserializeOpDocumentBatchStartOutput(v **BatchStartOutput, va if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } - case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -663,12 +659,10 @@ func awsRestjson1_deserializeOpDocumentBatchStopOutput(v **BatchStopOutput, valu if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } - case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -841,12 +835,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateScheduleOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentBatchScheduleActionCreateResult(&sv.Creates, value); err != nil { return err } - case "deletes": if err := awsRestjson1_deserializeDocumentBatchScheduleActionDeleteResult(&sv.Deletes, value); err != nil { return err } - default: _, _ = key, value @@ -1240,7 +1232,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -1414,12 +1405,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Arn = ptr.String(jtv) } - case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -1428,7 +1417,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.ClusterId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1437,7 +1425,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1446,12 +1433,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Name = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -1460,7 +1445,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.State = types.ChannelPlacementGroupState(jtv) } - default: _, _ = key, value @@ -1631,7 +1615,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Arn = ptr.String(jtv) } - case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -1640,7 +1623,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1653,7 +1635,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.CreatedAt = ptr.Time(t) } - case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -1666,7 +1647,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1675,7 +1655,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Description = ptr.String(jtv) } - case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -1688,7 +1667,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -1697,7 +1675,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1706,7 +1683,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Id = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -1715,7 +1691,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.MetricName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -1728,7 +1703,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1737,7 +1711,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Name = ptr.String(jtv) } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -1750,7 +1723,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Period = ptr.Int32(int32(i64)) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -1759,12 +1731,10 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -1773,7 +1743,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -1807,7 +1776,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } } - case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -1816,7 +1784,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } - default: _, _ = key, value @@ -1987,7 +1954,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2000,7 +1966,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2009,7 +1974,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2018,7 +1982,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2031,7 +1994,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2040,12 +2002,10 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2219,12 +2179,10 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Arn = ptr.String(jtv) } - case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -2233,7 +2191,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterType = types.ClusterType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2242,7 +2199,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Id = ptr.String(jtv) } - case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2251,7 +2207,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.InstanceRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2260,12 +2215,10 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -2274,7 +2227,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -2445,7 +2397,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2458,7 +2409,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2467,12 +2417,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Description = ptr.String(jtv) } - case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -2481,7 +2429,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -2490,7 +2437,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2499,7 +2445,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2512,7 +2457,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2521,12 +2465,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2697,7 +2639,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2710,7 +2651,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2719,7 +2659,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2728,7 +2667,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2741,7 +2679,6 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2750,12 +2687,10 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2922,7 +2857,6 @@ func awsRestjson1_deserializeOpDocumentCreateInputOutput(v **CreateInputOutput, if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - default: _, _ = key, value @@ -3089,7 +3023,6 @@ func awsRestjson1_deserializeOpDocumentCreateInputSecurityGroupOutput(v **Create if err := awsRestjson1_deserializeDocumentInputSecurityGroup(&sv.SecurityGroup, value); err != nil { return err } - default: _, _ = key, value @@ -3262,7 +3195,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultiplexOutput(v **CreateMultiplex if err := awsRestjson1_deserializeDocumentMultiplex(&sv.Multiplex, value); err != nil { return err } - default: _, _ = key, value @@ -3435,7 +3367,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultiplexProgramOutput(v **CreateMu if err := awsRestjson1_deserializeDocumentMultiplexProgram(&sv.MultiplexProgram, value); err != nil { return err } - default: _, _ = key, value @@ -3609,12 +3540,10 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Arn = ptr.String(jtv) } - case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3623,12 +3552,10 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Id = ptr.String(jtv) } - case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3637,12 +3564,10 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Name = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -3651,7 +3576,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.State = types.NetworkState(jtv) } - default: _, _ = key, value @@ -3825,12 +3749,10 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3839,7 +3761,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -3848,7 +3769,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3857,7 +3777,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -3866,7 +3785,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3875,12 +3793,10 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -3889,7 +3805,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -3898,7 +3813,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -4072,7 +3986,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeRegistrationScriptOutput(v **Cr } sv.NodeRegistrationScript = ptr.String(jtv) } - default: _, _ = key, value @@ -4239,7 +4152,6 @@ func awsRestjson1_deserializeOpDocumentCreatePartnerInputOutput(v **CreatePartne if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - default: _, _ = key, value @@ -4410,12 +4322,10 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Arn = ptr.String(jtv) } - case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4428,7 +4338,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4437,7 +4346,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Description = ptr.String(jtv) } - case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -4446,7 +4354,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.DiscoveryEntryPointArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4455,17 +4362,14 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.ErrorMessage = ptr.String(jtv) } - case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } - case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4474,7 +4378,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Id = ptr.String(jtv) } - case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -4487,17 +4390,14 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.LastDiscoveredAt = ptr.Time(t) } - case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } - case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4510,7 +4410,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.ModifiedAt = ptr.Time(t) } - case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -4519,12 +4418,10 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } - case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4533,7 +4430,6 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4542,12 +4438,10 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4823,7 +4717,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4832,12 +4725,10 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -4846,22 +4737,18 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4870,17 +4757,14 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -4889,12 +4773,10 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4903,12 +4785,10 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -4921,7 +4801,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4930,7 +4809,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4939,17 +4817,14 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -5126,12 +5001,10 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Arn = ptr.String(jtv) } - case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -5140,7 +5013,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.ClusterId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5149,7 +5021,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5158,12 +5029,10 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Name = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -5172,7 +5041,6 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.State = types.ChannelPlacementGroupState(jtv) } - default: _, _ = key, value @@ -5567,12 +5435,10 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Arn = ptr.String(jtv) } - case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -5581,7 +5447,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterType = types.ClusterType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5590,7 +5455,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Id = ptr.String(jtv) } - case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -5599,7 +5463,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.InstanceRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5608,12 +5471,10 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -5622,7 +5483,6 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -6232,17 +6092,14 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6251,12 +6108,10 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6265,7 +6120,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -6278,7 +6132,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -6291,7 +6144,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6300,12 +6152,10 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6482,22 +6332,18 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexProgramOutput(v **DeleteMu } sv.ChannelId = ptr.String(jtv) } - case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } - case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "programName": if value != nil { jtv, ok := value.(string) @@ -6506,7 +6352,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexProgramOutput(v **DeleteMu } sv.ProgramName = ptr.String(jtv) } - default: _, _ = key, value @@ -6683,12 +6528,10 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Arn = ptr.String(jtv) } - case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6697,12 +6540,10 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Id = ptr.String(jtv) } - case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6711,12 +6552,10 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Name = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -6725,7 +6564,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.State = types.NetworkState(jtv) } - default: _, _ = key, value @@ -6902,12 +6740,10 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -6916,7 +6752,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -6925,7 +6760,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6934,7 +6768,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -6943,7 +6776,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6952,12 +6784,10 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -6966,7 +6796,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -6975,7 +6804,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -7152,7 +6980,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Arn = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -7165,7 +6992,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Count = ptr.Int32(int32(i64)) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -7174,7 +7000,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -7187,7 +7012,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -7196,7 +7020,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.DurationUnits = types.OfferingDurationUnits(jtv) } - case "end": if value != nil { jtv, ok := value.(string) @@ -7205,7 +7028,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.End = ptr.String(jtv) } - case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -7239,7 +7061,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7248,7 +7069,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Name = ptr.String(jtv) } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -7257,7 +7077,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingDescription = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -7266,7 +7085,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingId = ptr.String(jtv) } - case "offeringType": if value != nil { jtv, ok := value.(string) @@ -7275,7 +7093,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingType = types.OfferingType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -7284,12 +7101,10 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Region = ptr.String(jtv) } - case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } - case "reservationId": if value != nil { jtv, ok := value.(string) @@ -7298,12 +7113,10 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.ReservationId = ptr.String(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "start": if value != nil { jtv, ok := value.(string) @@ -7312,7 +7125,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Start = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7321,12 +7133,10 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.State = types.ReservationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -7360,7 +7170,6 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } } - default: _, _ = key, value @@ -7845,7 +7654,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentAccountConfiguration(&sv.AccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8015,7 +7823,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8024,12 +7831,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -8038,22 +7843,18 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -8062,17 +7863,14 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -8081,12 +7879,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8095,12 +7891,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -8113,7 +7907,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8122,7 +7915,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -8131,17 +7923,14 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -8315,12 +8104,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Arn = ptr.String(jtv) } - case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -8329,7 +8116,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.ClusterId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8338,7 +8124,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8347,12 +8132,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Name = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -8361,7 +8144,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.State = types.ChannelPlacementGroupState(jtv) } - default: _, _ = key, value @@ -8535,12 +8317,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Arn = ptr.String(jtv) } - case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -8549,7 +8329,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterType = types.ClusterType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8558,7 +8337,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Id = ptr.String(jtv) } - case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -8567,7 +8345,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.InstanceRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8576,12 +8353,10 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -8590,7 +8365,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -8764,17 +8538,14 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Arn = ptr.String(jtv) } - case "attachedChannels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AttachedChannels, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfInputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -8783,7 +8554,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Id = ptr.String(jtv) } - case "inputClass": if value != nil { jtv, ok := value.(string) @@ -8792,12 +8562,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputClass = types.InputClass(jtv) } - case "inputDevices": if err := awsRestjson1_deserializeDocument__listOfInputDeviceSettings(&sv.InputDevices, value); err != nil { return err } - case "inputNetworkLocation": if value != nil { jtv, ok := value.(string) @@ -8806,12 +8574,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputNetworkLocation = types.InputNetworkLocation(jtv) } - case "inputPartnerIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.InputPartnerIds, value); err != nil { return err } - case "inputSourceType": if value != nil { jtv, ok := value.(string) @@ -8820,17 +8586,14 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputSourceType = types.InputSourceType(jtv) } - case "mediaConnectFlows": if err := awsRestjson1_deserializeDocument__listOfMediaConnectFlow(&sv.MediaConnectFlows, value); err != nil { return err } - case "multicastSettings": if err := awsRestjson1_deserializeDocumentMulticastSettings(&sv.MulticastSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8839,7 +8602,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8848,22 +8610,18 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.RoleArn = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocument__listOfInputSource(&sv.Sources, value); err != nil { return err } - case "srtSettings": if err := awsRestjson1_deserializeDocumentSrtSettings(&sv.SrtSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -8872,12 +8630,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.State = types.InputState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -8886,7 +8642,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Type = types.InputType(jtv) } - default: _, _ = key, value @@ -9060,7 +8815,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -9069,7 +8823,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.AvailabilityZone = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -9078,7 +8831,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } - case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -9087,7 +8839,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } - case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -9096,12 +8847,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } - case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9110,7 +8859,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Id = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -9119,12 +8867,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.MacAddress = ptr.String(jtv) } - case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9133,12 +8879,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "outputType": if value != nil { jtv, ok := value.(string) @@ -9147,7 +8891,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.OutputType = types.InputDeviceOutputType(jtv) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -9156,12 +8899,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.SerialNumber = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9170,12 +8911,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Type = types.InputDeviceType(jtv) } - case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -9509,7 +9248,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9518,12 +9256,10 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.Id = ptr.String(jtv) } - case "inputs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Inputs, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -9532,17 +9268,14 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.State = types.InputSecurityGroupState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "whitelistRules": if err := awsRestjson1_deserializeDocument__listOfInputWhitelistRule(&sv.WhitelistRules, value); err != nil { return err } - default: _, _ = key, value @@ -9716,17 +9449,14 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9735,12 +9465,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9749,7 +9477,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -9762,7 +9489,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -9775,7 +9501,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -9784,12 +9509,10 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9963,22 +9686,18 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexProgramOutput(v **Descri } sv.ChannelId = ptr.String(jtv) } - case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } - case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "programName": if value != nil { jtv, ok := value.(string) @@ -9987,7 +9706,6 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexProgramOutput(v **Descri } sv.ProgramName = ptr.String(jtv) } - default: _, _ = key, value @@ -10161,12 +9879,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Arn = ptr.String(jtv) } - case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10175,12 +9891,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Id = ptr.String(jtv) } - case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10189,12 +9903,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Name = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -10203,7 +9915,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.State = types.NetworkState(jtv) } - default: _, _ = key, value @@ -10377,12 +10088,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -10391,7 +10100,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10400,7 +10108,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10409,7 +10116,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -10418,7 +10124,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.InstanceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10427,12 +10132,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -10441,7 +10144,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -10450,7 +10152,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -10624,7 +10325,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Arn = ptr.String(jtv) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -10633,7 +10333,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -10646,7 +10345,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -10655,7 +10353,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.DurationUnits = types.OfferingDurationUnits(jtv) } - case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -10689,7 +10386,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -10698,7 +10394,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingDescription = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -10707,7 +10402,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingId = ptr.String(jtv) } - case "offeringType": if value != nil { jtv, ok := value.(string) @@ -10716,7 +10410,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingType = types.OfferingType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -10725,12 +10418,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Region = ptr.String(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -10764,7 +10455,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } } - default: _, _ = key, value @@ -10938,7 +10628,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Arn = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -10951,7 +10640,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Count = ptr.Int32(int32(i64)) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -10960,7 +10648,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -10973,7 +10660,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -10982,7 +10668,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.DurationUnits = types.OfferingDurationUnits(jtv) } - case "end": if value != nil { jtv, ok := value.(string) @@ -10991,7 +10676,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.End = ptr.String(jtv) } - case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -11025,7 +10709,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11034,7 +10717,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Name = ptr.String(jtv) } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -11043,7 +10725,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingDescription = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -11052,7 +10733,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingId = ptr.String(jtv) } - case "offeringType": if value != nil { jtv, ok := value.(string) @@ -11061,7 +10741,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingType = types.OfferingType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -11070,12 +10749,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Region = ptr.String(jtv) } - case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } - case "reservationId": if value != nil { jtv, ok := value.(string) @@ -11084,12 +10761,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.ReservationId = ptr.String(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "start": if value != nil { jtv, ok := value.(string) @@ -11098,7 +10773,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Start = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -11107,12 +10781,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.State = types.ReservationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -11146,7 +10818,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } } - default: _, _ = key, value @@ -11320,12 +10991,10 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.NextToken = ptr.String(jtv) } - case "scheduleActions": if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } - default: _, _ = key, value @@ -11498,7 +11167,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThumbnailsOutput(v **DescribeThum if err := awsRestjson1_deserializeDocument__listOfThumbnailDetail(&sv.ThumbnailDetails, value); err != nil { return err } - default: _, _ = key, value @@ -11666,7 +11334,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Arn = ptr.String(jtv) } - case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -11675,7 +11342,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11688,7 +11354,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.CreatedAt = ptr.Time(t) } - case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -11701,7 +11366,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11710,7 +11374,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Description = ptr.String(jtv) } - case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -11723,7 +11386,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -11732,7 +11394,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11741,7 +11402,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Id = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -11750,7 +11410,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.MetricName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -11763,7 +11422,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11772,7 +11430,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Name = ptr.String(jtv) } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -11785,7 +11442,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Period = ptr.Int32(int32(i64)) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -11794,12 +11450,10 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -11808,7 +11462,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -11842,7 +11495,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } } - case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -11851,7 +11503,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } - default: _, _ = key, value @@ -12019,7 +11670,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12032,7 +11682,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12041,7 +11690,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12050,7 +11698,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12063,7 +11710,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12072,12 +11718,10 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12245,7 +11889,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12258,7 +11901,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12267,12 +11909,10 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Description = ptr.String(jtv) } - case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -12281,7 +11921,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -12290,7 +11929,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12299,7 +11937,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12312,7 +11949,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12321,12 +11957,10 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12494,7 +12128,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12507,7 +12140,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12516,7 +12148,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12525,7 +12156,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12538,7 +12168,6 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12547,12 +12176,10 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12720,12 +12347,10 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Arn = ptr.String(jtv) } - case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12738,7 +12363,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12747,7 +12371,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Description = ptr.String(jtv) } - case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -12756,7 +12379,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.DiscoveryEntryPointArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12765,17 +12387,14 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.ErrorMessage = ptr.String(jtv) } - case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } - case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12784,7 +12403,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Id = ptr.String(jtv) } - case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -12797,17 +12415,14 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.LastDiscoveredAt = ptr.Time(t) } - case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } - case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12820,7 +12435,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.ModifiedAt = ptr.Time(t) } - case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -12829,12 +12443,10 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } - case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12843,7 +12455,6 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12852,12 +12463,10 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13024,7 +12633,6 @@ func awsRestjson1_deserializeOpDocumentListChannelPlacementGroupsOutput(v **List if err := awsRestjson1_deserializeDocument__listOfDescribeChannelPlacementGroupSummary(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13033,7 +12641,6 @@ func awsRestjson1_deserializeOpDocumentListChannelPlacementGroupsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13200,7 +12807,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannelSummary(&sv.Channels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13209,7 +12815,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13373,7 +12978,6 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplateGroupsOutput(v if err := awsRestjson1_deserializeDocument__listOfCloudWatchAlarmTemplateGroupSummary(&sv.CloudWatchAlarmTemplateGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13382,7 +12986,6 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplateGroupsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13546,7 +13149,6 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplatesOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfCloudWatchAlarmTemplateSummary(&sv.CloudWatchAlarmTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13555,7 +13157,6 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplatesOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13722,7 +13323,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfDescribeClusterSummary(&sv.Clusters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13731,7 +13331,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13895,7 +13494,6 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplateGroupsOutput(v if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateGroupSummary(&sv.EventBridgeRuleTemplateGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13904,7 +13502,6 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplateGroupsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14068,7 +13665,6 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplatesOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateSummary(&sv.EventBridgeRuleTemplates, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14077,7 +13673,6 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplatesOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14244,7 +13839,6 @@ func awsRestjson1_deserializeOpDocumentListInputDevicesOutput(v **ListInputDevic if err := awsRestjson1_deserializeDocument__listOfInputDeviceSummary(&sv.InputDevices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14253,7 +13847,6 @@ func awsRestjson1_deserializeOpDocumentListInputDevicesOutput(v **ListInputDevic } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14423,7 +14016,6 @@ func awsRestjson1_deserializeOpDocumentListInputDeviceTransfersOutput(v **ListIn if err := awsRestjson1_deserializeDocument__listOfTransferringInputDeviceSummary(&sv.InputDeviceTransfers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14432,7 +14024,6 @@ func awsRestjson1_deserializeOpDocumentListInputDeviceTransfersOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14599,7 +14190,6 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va if err := awsRestjson1_deserializeDocument__listOfInput(&sv.Inputs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14608,7 +14198,6 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14775,7 +14364,6 @@ func awsRestjson1_deserializeOpDocumentListInputSecurityGroupsOutput(v **ListInp if err := awsRestjson1_deserializeDocument__listOfInputSecurityGroup(&sv.InputSecurityGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14784,7 +14372,6 @@ func awsRestjson1_deserializeOpDocumentListInputSecurityGroupsOutput(v **ListInp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14951,7 +14538,6 @@ func awsRestjson1_deserializeOpDocumentListMultiplexesOutput(v **ListMultiplexes if err := awsRestjson1_deserializeDocument__listOfMultiplexSummary(&sv.Multiplexes, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14960,7 +14546,6 @@ func awsRestjson1_deserializeOpDocumentListMultiplexesOutput(v **ListMultiplexes } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15130,7 +14715,6 @@ func awsRestjson1_deserializeOpDocumentListMultiplexProgramsOutput(v **ListMulti if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramSummary(&sv.MultiplexPrograms, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15139,7 +14723,6 @@ func awsRestjson1_deserializeOpDocumentListMultiplexProgramsOutput(v **ListMulti } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15306,7 +14889,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocument__listOfDescribeNetworkSummary(&sv.Networks, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15315,7 +14897,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15486,12 +15067,10 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOfDescribeNodeSummary(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -15662,12 +15241,10 @@ func awsRestjson1_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } - case "offerings": if err := awsRestjson1_deserializeDocument__listOfOffering(&sv.Offerings, value); err != nil { return err } - default: _, _ = key, value @@ -15838,12 +15415,10 @@ func awsRestjson1_deserializeOpDocumentListReservationsOutput(v **ListReservatio } sv.NextToken = ptr.String(jtv) } - case "reservations": if err := awsRestjson1_deserializeDocument__listOfReservation(&sv.Reservations, value); err != nil { return err } - default: _, _ = key, value @@ -16011,12 +15586,10 @@ func awsRestjson1_deserializeOpDocumentListSignalMapsOutput(v **ListSignalMapsOu } sv.NextToken = ptr.String(jtv) } - case "signalMaps": if err := awsRestjson1_deserializeDocument__listOfSignalMapSummary(&sv.SignalMaps, value); err != nil { return err } - default: _, _ = key, value @@ -16177,7 +15750,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16350,7 +15922,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } - default: _, _ = key, value @@ -16744,7 +16315,6 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -16753,12 +16323,10 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -16767,22 +16335,18 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16791,17 +16355,14 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -16810,12 +16371,10 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "maintenanceStatus": if value != nil { jtv, ok := value.(string) @@ -16824,7 +16383,6 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.MaintenanceStatus = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16833,12 +16391,10 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -16851,7 +16407,6 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16860,7 +16415,6 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -16869,17 +16423,14 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -17052,7 +16603,6 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -17061,12 +16611,10 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -17075,22 +16623,18 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17099,17 +16643,14 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -17118,12 +16659,10 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -17132,12 +16671,10 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -17150,7 +16687,6 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17159,7 +16695,6 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -17168,17 +16703,14 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -17349,12 +16881,10 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Arn = ptr.String(jtv) } - case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17367,7 +16897,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17376,7 +16905,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Description = ptr.String(jtv) } - case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -17385,7 +16913,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.DiscoveryEntryPointArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -17394,17 +16921,14 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.ErrorMessage = ptr.String(jtv) } - case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } - case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17413,7 +16937,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Id = ptr.String(jtv) } - case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -17426,17 +16949,14 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.LastDiscoveredAt = ptr.Time(t) } - case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } - case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -17449,7 +16969,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.ModifiedAt = ptr.Time(t) } - case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -17458,12 +16977,10 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } - case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -17472,7 +16989,6 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17481,12 +16997,10 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17875,12 +17389,10 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Arn = ptr.String(jtv) } - case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17893,7 +17405,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -17902,7 +17413,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Description = ptr.String(jtv) } - case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -17911,7 +17421,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.DiscoveryEntryPointArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -17920,17 +17429,14 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.ErrorMessage = ptr.String(jtv) } - case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } - case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17939,7 +17445,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Id = ptr.String(jtv) } - case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -17952,17 +17457,14 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.LastDiscoveredAt = ptr.Time(t) } - case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } - case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -17975,7 +17477,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.ModifiedAt = ptr.Time(t) } - case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -17984,12 +17485,10 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } - case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -17998,7 +17497,6 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18007,12 +17505,10 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18189,17 +17685,14 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -18208,12 +17701,10 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18222,7 +17713,6 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -18235,7 +17725,6 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -18248,7 +17737,6 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -18257,12 +17745,10 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18433,12 +17919,10 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Arn = ptr.String(jtv) } - case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18451,7 +17935,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18460,7 +17943,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Description = ptr.String(jtv) } - case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -18469,7 +17951,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.DiscoveryEntryPointArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18478,17 +17959,14 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.ErrorMessage = ptr.String(jtv) } - case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } - case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -18497,7 +17975,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Id = ptr.String(jtv) } - case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -18510,17 +17987,14 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.LastDiscoveredAt = ptr.Time(t) } - case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } - case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -18533,7 +18007,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.ModifiedAt = ptr.Time(t) } - case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -18542,12 +18015,10 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } - case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18556,7 +18027,6 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18565,12 +18035,10 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18743,7 +18211,6 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -18752,12 +18219,10 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -18766,22 +18231,18 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -18790,17 +18251,14 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -18809,12 +18267,10 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -18823,12 +18279,10 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -18841,7 +18295,6 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -18850,7 +18303,6 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -18859,17 +18311,14 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -19155,17 +18604,14 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -19174,12 +18620,10 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -19188,7 +18632,6 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -19201,7 +18644,6 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -19214,7 +18656,6 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -19223,12 +18664,10 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19510,7 +18949,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentAccountConfiguration(&sv.AccountConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -19680,7 +19118,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -19856,7 +19293,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelClassOutput(v **UpdateChanne if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } - default: _, _ = key, value @@ -20033,12 +19469,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Arn = ptr.String(jtv) } - case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -20047,7 +19481,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.ClusterId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20056,7 +19489,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20065,12 +19497,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Name = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -20079,7 +19509,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.State = types.ChannelPlacementGroupState(jtv) } - default: _, _ = key, value @@ -20250,7 +19679,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Arn = ptr.String(jtv) } - case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -20259,7 +19687,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20272,7 +19699,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.CreatedAt = ptr.Time(t) } - case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -20285,7 +19711,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -20294,7 +19719,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Description = ptr.String(jtv) } - case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -20307,7 +19731,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -20316,7 +19739,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20325,7 +19747,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Id = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -20334,7 +19755,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.MetricName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -20347,7 +19767,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20356,7 +19775,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Name = ptr.String(jtv) } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -20369,7 +19787,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Period = ptr.Int32(int32(i64)) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -20378,12 +19795,10 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -20392,7 +19807,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -20426,7 +19840,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } } - case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -20435,7 +19848,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } - default: _, _ = key, value @@ -20606,7 +20018,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20619,7 +20030,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -20628,7 +20038,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20637,7 +20046,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -20650,7 +20058,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20659,12 +20066,10 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20838,12 +20243,10 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Arn = ptr.String(jtv) } - case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -20852,7 +20255,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.ClusterType = types.ClusterType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20861,7 +20263,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20870,12 +20271,10 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -20884,7 +20283,6 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -21055,7 +20453,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -21068,7 +20465,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -21077,12 +20473,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Description = ptr.String(jtv) } - case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -21091,7 +20485,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -21100,7 +20493,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -21109,7 +20501,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -21122,7 +20513,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21131,12 +20521,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21307,7 +20695,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -21320,7 +20707,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -21329,7 +20715,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -21338,7 +20723,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -21351,7 +20735,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21360,12 +20743,10 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21535,7 +20916,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputOutput(v **UpdateInputOutput, if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } - default: _, _ = key, value @@ -21712,7 +21092,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -21721,7 +21100,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.AvailabilityZone = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -21730,7 +21108,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } - case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -21739,7 +21116,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } - case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -21748,12 +21124,10 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } - case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -21762,7 +21136,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Id = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -21771,12 +21144,10 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.MacAddress = ptr.String(jtv) } - case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -21785,12 +21156,10 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "outputType": if value != nil { jtv, ok := value.(string) @@ -21799,7 +21168,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.OutputType = types.InputDeviceOutputType(jtv) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -21808,12 +21176,10 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.SerialNumber = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -21822,12 +21188,10 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Type = types.InputDeviceType(jtv) } - case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -21997,7 +21361,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInputSecurityGroupOutput(v **Update if err := awsRestjson1_deserializeDocumentInputSecurityGroup(&sv.SecurityGroup, value); err != nil { return err } - default: _, _ = key, value @@ -22170,7 +21533,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMultiplexOutput(v **UpdateMultiplex if err := awsRestjson1_deserializeDocumentMultiplex(&sv.Multiplex, value); err != nil { return err } - default: _, _ = key, value @@ -22343,7 +21705,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMultiplexProgramOutput(v **UpdateMu if err := awsRestjson1_deserializeDocumentMultiplexProgram(&sv.MultiplexProgram, value); err != nil { return err } - default: _, _ = key, value @@ -22517,12 +21878,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Arn = ptr.String(jtv) } - case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -22531,12 +21890,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Id = ptr.String(jtv) } - case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -22545,12 +21902,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Name = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -22559,7 +21914,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.State = types.NetworkState(jtv) } - default: _, _ = key, value @@ -22733,12 +22087,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -22747,7 +22099,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -22756,7 +22107,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -22765,7 +22115,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -22774,7 +22123,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -22783,12 +22131,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -22797,7 +22143,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -22806,7 +22151,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -22983,12 +22327,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -22997,7 +22339,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -23006,7 +22347,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -23015,7 +22355,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -23024,7 +22363,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.InstanceArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -23033,12 +22371,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -23047,7 +22383,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -23056,7 +22391,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -23229,7 +22563,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReservationOutput(v **UpdateReserva if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } - default: _, _ = key, value @@ -26016,7 +25349,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -26025,7 +25357,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodingMode = types.AacCodingMode(jtv) } - case "inputType": if value != nil { jtv, ok := value.(string) @@ -26034,7 +25365,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.InputType = types.AacInputType(jtv) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -26043,7 +25373,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Profile = types.AacProfile(jtv) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -26052,7 +25381,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RateControlMode = types.AacRateControlMode(jtv) } - case "rawFormat": if value != nil { jtv, ok := value.(string) @@ -26061,7 +25389,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RawFormat = types.AacRawFormat(jtv) } - case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -26095,7 +25422,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } } - case "spec": if value != nil { jtv, ok := value.(string) @@ -26104,7 +25430,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Spec = types.AacSpec(jtv) } - case "vbrQuality": if value != nil { jtv, ok := value.(string) @@ -26113,7 +25438,6 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.VbrQuality = types.AacVbrQuality(jtv) } - default: _, _ = key, value @@ -26153,7 +25477,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.AttenuationControl = types.Ac3AttenuationControl(jtv) } - case "bitrate": if value != nil { switch jtv := value.(type) { @@ -26187,7 +25510,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } } - case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -26196,7 +25518,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.BitstreamMode = types.Ac3BitstreamMode(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -26205,7 +25526,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.CodingMode = types.Ac3CodingMode(jtv) } - case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -26218,7 +25538,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Dialnorm = ptr.Int32(int32(i64)) } - case "drcProfile": if value != nil { jtv, ok := value.(string) @@ -26227,7 +25546,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DrcProfile = types.Ac3DrcProfile(jtv) } - case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -26236,7 +25554,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.LfeFilter = types.Ac3LfeFilter(jtv) } - case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -26245,7 +25562,6 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.MetadataControl = types.Ac3MetadataControl(jtv) } - default: _, _ = key, value @@ -26285,7 +25601,6 @@ func awsRestjson1_deserializeDocumentAccountConfiguration(v **types.AccountConfi } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -26329,7 +25644,6 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.SourceAncillaryChannelNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26365,7 +25679,6 @@ func awsRestjson1_deserializeDocumentArchiveCdnSettings(v **types.ArchiveCdnSett if err := awsRestjson1_deserializeDocumentArchiveS3Settings(&sv.ArchiveS3Settings, value); err != nil { return err } - default: _, _ = key, value @@ -26401,12 +25714,10 @@ func awsRestjson1_deserializeDocumentArchiveContainerSettings(v **types.ArchiveC if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } - case "rawSettings": if err := awsRestjson1_deserializeDocumentRawSettings(&sv.RawSettings, value); err != nil { return err } - default: _, _ = key, value @@ -26442,12 +25753,10 @@ func awsRestjson1_deserializeDocumentArchiveGroupSettings(v **types.ArchiveGroup if err := awsRestjson1_deserializeDocumentArchiveCdnSettings(&sv.ArchiveCdnSettings, value); err != nil { return err } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "rolloverInterval": if value != nil { jtv, ok := value.(json.Number) @@ -26460,7 +25769,6 @@ func awsRestjson1_deserializeDocumentArchiveGroupSettings(v **types.ArchiveGroup } sv.RolloverInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26496,7 +25804,6 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp if err := awsRestjson1_deserializeDocumentArchiveContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "extension": if value != nil { jtv, ok := value.(string) @@ -26505,7 +25812,6 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp } sv.Extension = ptr.String(jtv) } - case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -26514,7 +25820,6 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp } sv.NameModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -26554,7 +25859,6 @@ func awsRestjson1_deserializeDocumentArchiveS3Settings(v **types.ArchiveS3Settin } sv.CannedAcl = types.S3CannedAcl(jtv) } - default: _, _ = key, value @@ -26652,7 +25956,6 @@ func awsRestjson1_deserializeDocumentAudioChannelMapping(v **types.AudioChannelM if err := awsRestjson1_deserializeDocument__listOfInputChannelLevel(&sv.InputChannelLevels, value); err != nil { return err } - case "outputChannel": if value != nil { jtv, ok := value.(json.Number) @@ -26665,7 +25968,6 @@ func awsRestjson1_deserializeDocumentAudioChannelMapping(v **types.AudioChannelM } sv.OutputChannel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26701,37 +26003,30 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett if err := awsRestjson1_deserializeDocumentAacSettings(&sv.AacSettings, value); err != nil { return err } - case "ac3Settings": if err := awsRestjson1_deserializeDocumentAc3Settings(&sv.Ac3Settings, value); err != nil { return err } - case "eac3AtmosSettings": if err := awsRestjson1_deserializeDocumentEac3AtmosSettings(&sv.Eac3AtmosSettings, value); err != nil { return err } - case "eac3Settings": if err := awsRestjson1_deserializeDocumentEac3Settings(&sv.Eac3Settings, value); err != nil { return err } - case "mp2Settings": if err := awsRestjson1_deserializeDocumentMp2Settings(&sv.Mp2Settings, value); err != nil { return err } - case "passThroughSettings": if err := awsRestjson1_deserializeDocumentPassThroughSettings(&sv.PassThroughSettings, value); err != nil { return err } - case "wavSettings": if err := awsRestjson1_deserializeDocumentWavSettings(&sv.WavSettings, value); err != nil { return err } - default: _, _ = key, value @@ -26767,12 +26062,10 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription if err := awsRestjson1_deserializeDocument__listOfDashRoleAudio(&sv.AudioDashRoles, value); err != nil { return err } - case "audioNormalizationSettings": if err := awsRestjson1_deserializeDocumentAudioNormalizationSettings(&sv.AudioNormalizationSettings, value); err != nil { return err } - case "audioSelectorName": if value != nil { jtv, ok := value.(string) @@ -26781,7 +26074,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioSelectorName = ptr.String(jtv) } - case "audioType": if value != nil { jtv, ok := value.(string) @@ -26790,7 +26082,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioType = types.AudioType(jtv) } - case "audioTypeControl": if value != nil { jtv, ok := value.(string) @@ -26799,17 +26090,14 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioTypeControl = types.AudioDescriptionAudioTypeControl(jtv) } - case "audioWatermarkingSettings": if err := awsRestjson1_deserializeDocumentAudioWatermarkSettings(&sv.AudioWatermarkingSettings, value); err != nil { return err } - case "codecSettings": if err := awsRestjson1_deserializeDocumentAudioCodecSettings(&sv.CodecSettings, value); err != nil { return err } - case "dvbDashAccessibility": if value != nil { jtv, ok := value.(string) @@ -26818,7 +26106,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.DvbDashAccessibility = types.DvbDashAccessibility(jtv) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -26827,7 +26114,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCode = ptr.String(jtv) } - case "languageCodeControl": if value != nil { jtv, ok := value.(string) @@ -26836,7 +26122,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCodeControl = types.AudioDescriptionLanguageCodeControl(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26845,12 +26130,10 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.Name = ptr.String(jtv) } - case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -26859,7 +26142,6 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -26899,7 +26181,6 @@ func awsRestjson1_deserializeDocumentAudioDolbyEDecode(v **types.AudioDolbyEDeco } sv.ProgramSelection = types.DolbyEProgramSelection(jtv) } - default: _, _ = key, value @@ -26939,7 +26220,6 @@ func awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(v **types.AudioH } sv.GroupId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -26948,7 +26228,6 @@ func awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(v **types.AudioH } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -26988,7 +26267,6 @@ func awsRestjson1_deserializeDocumentAudioLanguageSelection(v **types.AudioLangu } sv.LanguageCode = ptr.String(jtv) } - case "languageSelectionPolicy": if value != nil { jtv, ok := value.(string) @@ -26997,7 +26275,6 @@ func awsRestjson1_deserializeDocumentAudioLanguageSelection(v **types.AudioLangu } sv.LanguageSelectionPolicy = types.AudioLanguageSelectionPolicy(jtv) } - default: _, _ = key, value @@ -27037,7 +26314,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.Algorithm = types.AudioNormalizationAlgorithm(jtv) } - case "algorithmControl": if value != nil { jtv, ok := value.(string) @@ -27046,7 +26322,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.AlgorithmControl = types.AudioNormalizationAlgorithmControl(jtv) } - case "targetLkfs": if value != nil { switch jtv := value.(type) { @@ -27080,7 +26355,6 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } - default: _, _ = key, value @@ -27120,12 +26394,10 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.AudioGroupId = ptr.String(jtv) } - case "audioOnlyImage": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.AudioOnlyImage, value); err != nil { return err } - case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -27134,7 +26406,6 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.AudioTrackType = types.AudioOnlyHlsTrackType(jtv) } - case "segmentType": if value != nil { jtv, ok := value.(string) @@ -27143,7 +26414,6 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.SegmentType = types.AudioOnlyHlsSegmentType(jtv) } - default: _, _ = key, value @@ -27187,7 +26457,6 @@ func awsRestjson1_deserializeDocumentAudioPidSelection(v **types.AudioPidSelecti } sv.Pid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27227,12 +26496,10 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.Name = ptr.String(jtv) } - case "selectorSettings": if err := awsRestjson1_deserializeDocumentAudioSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } - default: _, _ = key, value @@ -27268,22 +26535,18 @@ func awsRestjson1_deserializeDocumentAudioSelectorSettings(v **types.AudioSelect if err := awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(&sv.AudioHlsRenditionSelection, value); err != nil { return err } - case "audioLanguageSelection": if err := awsRestjson1_deserializeDocumentAudioLanguageSelection(&sv.AudioLanguageSelection, value); err != nil { return err } - case "audioPidSelection": if err := awsRestjson1_deserializeDocumentAudioPidSelection(&sv.AudioPidSelection, value); err != nil { return err } - case "audioTrackSelection": if err := awsRestjson1_deserializeDocumentAudioTrackSelection(&sv.AudioTrackSelection, value); err != nil { return err } - default: _, _ = key, value @@ -27323,7 +26586,6 @@ func awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(v **types.Audi } sv.AudioSelectorName = ptr.String(jtv) } - case "audioSilenceThresholdMsec": if value != nil { jtv, ok := value.(json.Number) @@ -27336,7 +26598,6 @@ func awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(v **types.Audi } sv.AudioSilenceThresholdMsec = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27380,7 +26641,6 @@ func awsRestjson1_deserializeDocumentAudioTrack(v **types.AudioTrack, value inte } sv.Track = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27416,12 +26676,10 @@ func awsRestjson1_deserializeDocumentAudioTrackSelection(v **types.AudioTrackSel if err := awsRestjson1_deserializeDocumentAudioDolbyEDecode(&sv.DolbyEDecode, value); err != nil { return err } - case "tracks": if err := awsRestjson1_deserializeDocument__listOfAudioTrack(&sv.Tracks, value); err != nil { return err } - default: _, _ = key, value @@ -27457,7 +26715,6 @@ func awsRestjson1_deserializeDocumentAudioWatermarkSettings(v **types.AudioWater if err := awsRestjson1_deserializeDocumentNielsenWatermarksSettings(&sv.NielsenWatermarksSettings, value); err != nil { return err } - default: _, _ = key, value @@ -27501,12 +26758,10 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.ErrorClearTimeMsec = ptr.Int32(int32(i64)) } - case "failoverConditions": if err := awsRestjson1_deserializeDocument__listOfFailoverCondition(&sv.FailoverConditions, value); err != nil { return err } - case "inputPreference": if value != nil { jtv, ok := value.(string) @@ -27515,7 +26770,6 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.InputPreference = types.InputPreference(jtv) } - case "secondaryInputId": if value != nil { jtv, ok := value.(string) @@ -27524,7 +26778,6 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.SecondaryInputId = ptr.String(jtv) } - default: _, _ = key, value @@ -27560,22 +26813,18 @@ func awsRestjson1_deserializeDocumentAv1ColorSpaceSettings(v **types.Av1ColorSpa if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } - case "hdr10Settings": if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } - case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } - case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } - default: _, _ = key, value @@ -27615,7 +26864,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.AfdSignaling = types.AfdSignaling(jtv) } - case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -27628,12 +26876,10 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.BufSize = ptr.Int32(int32(i64)) } - case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentAv1ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } - case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -27642,7 +26888,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FixedAfd = types.FixedAfd(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -27655,7 +26900,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -27668,7 +26912,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -27702,7 +26945,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -27711,7 +26953,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.GopSizeUnits = types.Av1GopSizeUnits(jtv) } - case "level": if value != nil { jtv, ok := value.(string) @@ -27720,7 +26961,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.Level = types.Av1Level(jtv) } - case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -27729,7 +26969,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.LookAheadRateControl = types.Av1LookAheadRateControl(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -27742,7 +26981,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -27755,7 +26993,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -27768,7 +27005,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -27781,7 +27017,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -27794,7 +27029,6 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -27803,12 +27037,10 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.SceneChangeDetect = types.Av1SceneChangeDetect(jtv) } - case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } - default: _, _ = key, value @@ -27844,7 +27076,6 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu if err := awsRestjson1_deserializeDocumentInputLocation(&sv.AvailBlankingImage, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -27853,7 +27084,6 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu } sv.State = types.AvailBlankingState(jtv) } - default: _, _ = key, value @@ -27889,7 +27119,6 @@ func awsRestjson1_deserializeDocumentAvailConfiguration(v **types.AvailConfigura if err := awsRestjson1_deserializeDocumentAvailSettings(&sv.AvailSettings, value); err != nil { return err } - case "scte35SegmentationScope": if value != nil { jtv, ok := value.(string) @@ -27898,7 +27127,6 @@ func awsRestjson1_deserializeDocumentAvailConfiguration(v **types.AvailConfigura } sv.Scte35SegmentationScope = types.Scte35SegmentationScope(jtv) } - default: _, _ = key, value @@ -27934,17 +27162,14 @@ func awsRestjson1_deserializeDocumentAvailSettings(v **types.AvailSettings, valu if err := awsRestjson1_deserializeDocumentEsam(&sv.Esam, value); err != nil { return err } - case "scte35SpliceInsert": if err := awsRestjson1_deserializeDocumentScte35SpliceInsert(&sv.Scte35SpliceInsert, value); err != nil { return err } - case "scte35TimeSignalApos": if err := awsRestjson1_deserializeDocumentScte35TimeSignalApos(&sv.Scte35TimeSignalApos, value); err != nil { return err } - default: _, _ = key, value @@ -27974,15 +27199,9 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27990,15 +27209,11 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28023,15 +27238,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28039,15 +27248,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28082,7 +27287,6 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(v **types. } sv.PostFilterSharpening = types.BandwidthReductionPostFilterSharpening(jtv) } - case "strength": if value != nil { jtv, ok := value.(string) @@ -28091,7 +27295,6 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(v **types. } sv.Strength = types.BandwidthReductionFilterStrength(jtv) } - default: _, _ = key, value @@ -28131,7 +27334,6 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Arn = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -28140,7 +27342,6 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Code = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -28149,7 +27350,6 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Id = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -28158,7 +27358,6 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -28194,7 +27393,6 @@ func awsRestjson1_deserializeDocumentBatchScheduleActionCreateResult(v **types.B if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } - default: _, _ = key, value @@ -28230,7 +27428,6 @@ func awsRestjson1_deserializeDocumentBatchScheduleActionDeleteResult(v **types.B if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } - default: _, _ = key, value @@ -28270,7 +27467,6 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -28279,7 +27475,6 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.Id = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -28288,7 +27483,6 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -28324,7 +27518,6 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu if err := awsRestjson1_deserializeDocumentInputLocation(&sv.BlackoutSlateImage, value); err != nil { return err } - case "networkEndBlackout": if value != nil { jtv, ok := value.(string) @@ -28333,12 +27526,10 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.NetworkEndBlackout = types.BlackoutSlateNetworkEndBlackout(jtv) } - case "networkEndBlackoutImage": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.NetworkEndBlackoutImage, value); err != nil { return err } - case "networkId": if value != nil { jtv, ok := value.(string) @@ -28347,7 +27538,6 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.NetworkId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -28356,7 +27546,6 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.State = types.BlackoutSlateState(jtv) } - default: _, _ = key, value @@ -28396,7 +27585,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.Alignment = types.BurnInAlignment(jtv) } - case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -28405,7 +27593,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.BackgroundColor = types.BurnInBackgroundColor(jtv) } - case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -28418,12 +27605,10 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } - case "font": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Font, value); err != nil { return err } - case "fontColor": if value != nil { jtv, ok := value.(string) @@ -28432,7 +27617,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontColor = types.BurnInFontColor(jtv) } - case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -28445,7 +27629,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontOpacity = ptr.Int32(int32(i64)) } - case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -28458,7 +27641,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontResolution = ptr.Int32(int32(i64)) } - case "fontSize": if value != nil { jtv, ok := value.(string) @@ -28467,7 +27649,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontSize = ptr.String(jtv) } - case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -28476,7 +27657,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.OutlineColor = types.BurnInOutlineColor(jtv) } - case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -28489,7 +27669,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.OutlineSize = ptr.Int32(int32(i64)) } - case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -28498,7 +27677,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowColor = types.BurnInShadowColor(jtv) } - case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -28511,7 +27689,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } - case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -28524,7 +27701,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } - case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -28537,7 +27713,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } - case "teletextGridControl": if value != nil { jtv, ok := value.(string) @@ -28546,7 +27721,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.TeletextGridControl = types.BurnInTeletextGridControl(jtv) } - case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -28559,7 +27733,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.XPosition = ptr.Int32(int32(i64)) } - case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -28572,7 +27745,6 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.YPosition = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -28612,12 +27784,10 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.Accessibility = types.AccessibilityType(jtv) } - case "captionDashRoles": if err := awsRestjson1_deserializeDocument__listOfDashRoleCaption(&sv.CaptionDashRoles, value); err != nil { return err } - case "captionSelectorName": if value != nil { jtv, ok := value.(string) @@ -28626,12 +27796,10 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CaptionSelectorName = ptr.String(jtv) } - case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } - case "dvbDashAccessibility": if value != nil { jtv, ok := value.(string) @@ -28640,7 +27808,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.DvbDashAccessibility = types.DvbDashAccessibility(jtv) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -28649,7 +27816,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageCode = ptr.String(jtv) } - case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -28658,7 +27824,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageDescription = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -28667,7 +27832,6 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -28703,67 +27867,54 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio if err := awsRestjson1_deserializeDocumentAribDestinationSettings(&sv.AribDestinationSettings, value); err != nil { return err } - case "burnInDestinationSettings": if err := awsRestjson1_deserializeDocumentBurnInDestinationSettings(&sv.BurnInDestinationSettings, value); err != nil { return err } - case "dvbSubDestinationSettings": if err := awsRestjson1_deserializeDocumentDvbSubDestinationSettings(&sv.DvbSubDestinationSettings, value); err != nil { return err } - case "ebuTtDDestinationSettings": if err := awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(&sv.EbuTtDDestinationSettings, value); err != nil { return err } - case "embeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(&sv.EmbeddedDestinationSettings, value); err != nil { return err } - case "embeddedPlusScte20DestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedPlusScte20DestinationSettings(&sv.EmbeddedPlusScte20DestinationSettings, value); err != nil { return err } - case "rtmpCaptionInfoDestinationSettings": if err := awsRestjson1_deserializeDocumentRtmpCaptionInfoDestinationSettings(&sv.RtmpCaptionInfoDestinationSettings, value); err != nil { return err } - case "scte20PlusEmbeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentScte20PlusEmbeddedDestinationSettings(&sv.Scte20PlusEmbeddedDestinationSettings, value); err != nil { return err } - case "scte27DestinationSettings": if err := awsRestjson1_deserializeDocumentScte27DestinationSettings(&sv.Scte27DestinationSettings, value); err != nil { return err } - case "smpteTtDestinationSettings": if err := awsRestjson1_deserializeDocumentSmpteTtDestinationSettings(&sv.SmpteTtDestinationSettings, value); err != nil { return err } - case "teletextDestinationSettings": if err := awsRestjson1_deserializeDocumentTeletextDestinationSettings(&sv.TeletextDestinationSettings, value); err != nil { return err } - case "ttmlDestinationSettings": if err := awsRestjson1_deserializeDocumentTtmlDestinationSettings(&sv.TtmlDestinationSettings, value); err != nil { return err } - case "webvttDestinationSettings": if err := awsRestjson1_deserializeDocumentWebvttDestinationSettings(&sv.WebvttDestinationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -28807,7 +27958,6 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.CaptionChannel = ptr.Int32(int32(i64)) } - case "languageCode": if value != nil { jtv, ok := value.(string) @@ -28816,7 +27966,6 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.LanguageCode = ptr.String(jtv) } - case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -28825,7 +27974,6 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.LanguageDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -28890,7 +28038,6 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } - case "leftOffset": if value != nil { switch jtv := value.(type) { @@ -28924,7 +28071,6 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } - case "topOffset": if value != nil { switch jtv := value.(type) { @@ -28958,7 +28104,6 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } - case "width": if value != nil { switch jtv := value.(type) { @@ -28992,7 +28137,6 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } - default: _, _ = key, value @@ -29032,7 +28176,6 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.LanguageCode = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29041,12 +28184,10 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.Name = ptr.String(jtv) } - case "selectorSettings": if err := awsRestjson1_deserializeDocumentCaptionSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } - default: _, _ = key, value @@ -29082,37 +28223,30 @@ func awsRestjson1_deserializeDocumentCaptionSelectorSettings(v **types.CaptionSe if err := awsRestjson1_deserializeDocumentAncillarySourceSettings(&sv.AncillarySourceSettings, value); err != nil { return err } - case "aribSourceSettings": if err := awsRestjson1_deserializeDocumentAribSourceSettings(&sv.AribSourceSettings, value); err != nil { return err } - case "dvbSubSourceSettings": if err := awsRestjson1_deserializeDocumentDvbSubSourceSettings(&sv.DvbSubSourceSettings, value); err != nil { return err } - case "embeddedSourceSettings": if err := awsRestjson1_deserializeDocumentEmbeddedSourceSettings(&sv.EmbeddedSourceSettings, value); err != nil { return err } - case "scte20SourceSettings": if err := awsRestjson1_deserializeDocumentScte20SourceSettings(&sv.Scte20SourceSettings, value); err != nil { return err } - case "scte27SourceSettings": if err := awsRestjson1_deserializeDocumentScte27SourceSettings(&sv.Scte27SourceSettings, value); err != nil { return err } - case "teletextSourceSettings": if err := awsRestjson1_deserializeDocumentTeletextSourceSettings(&sv.TeletextSourceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -29152,7 +28286,6 @@ func awsRestjson1_deserializeDocumentCdiInputSpecification(v **types.CdiInputSpe } sv.Resolution = types.CdiInputResolution(jtv) } - default: _, _ = key, value @@ -29188,7 +28321,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -29197,12 +28329,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -29211,22 +28341,18 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -29235,17 +28361,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -29254,12 +28377,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -29268,12 +28389,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -29286,7 +28405,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -29295,7 +28413,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -29304,17 +28421,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -29354,7 +28468,6 @@ func awsRestjson1_deserializeDocumentChannelEgressEndpoint(v **types.ChannelEgre } sv.SourceIp = ptr.String(jtv) } - default: _, _ = key, value @@ -29390,7 +28503,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -29399,12 +28511,10 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Arn = ptr.String(jtv) } - case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } - case "channelClass": if value != nil { jtv, ok := value.(string) @@ -29413,17 +28523,14 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelClass = types.ChannelClass(jtv) } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -29432,17 +28539,14 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Id = ptr.String(jtv) } - case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } - case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -29451,12 +28555,10 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.LogLevel = types.LogLevel(jtv) } - case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -29465,7 +28567,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -29478,7 +28579,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -29487,7 +28587,6 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.RoleArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -29496,17 +28595,14 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.State = types.ChannelState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -29546,7 +28642,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -29559,7 +28654,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -29568,7 +28662,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -29577,7 +28670,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -29590,7 +28682,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29599,12 +28690,10 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "templateCount": if value != nil { jtv, ok := value.(json.Number) @@ -29617,7 +28706,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.TemplateCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29657,7 +28745,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Arn = ptr.String(jtv) } - case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -29666,7 +28753,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -29679,7 +28765,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.CreatedAt = ptr.Time(t) } - case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -29692,7 +28777,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "description": if value != nil { jtv, ok := value.(string) @@ -29701,7 +28785,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Description = ptr.String(jtv) } - case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -29714,7 +28797,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -29723,7 +28805,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -29732,7 +28813,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Id = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -29741,7 +28821,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.MetricName = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -29754,7 +28833,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -29763,7 +28841,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Name = ptr.String(jtv) } - case "period": if value != nil { jtv, ok := value.(json.Number) @@ -29776,7 +28853,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Period = ptr.Int32(int32(i64)) } - case "statistic": if value != nil { jtv, ok := value.(string) @@ -29785,12 +28861,10 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -29799,7 +28873,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } - case "threshold": if value != nil { switch jtv := value.(type) { @@ -29833,7 +28906,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } } - case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -29842,7 +28914,6 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } - default: _, _ = key, value @@ -29882,12 +28953,10 @@ func awsRestjson1_deserializeDocumentClusterNetworkSettings(v **types.ClusterNet } sv.DefaultRoute = ptr.String(jtv) } - case "interfaceMappings": if err := awsRestjson1_deserializeDocument__listOfInterfaceMapping(&sv.InterfaceMappings, value); err != nil { return err } - default: _, _ = key, value @@ -29923,7 +28992,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -29932,7 +29000,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.NielsenId3Behavior = types.CmafNielsenId3Behavior(jtv) } - case "scte35Type": if value != nil { jtv, ok := value.(string) @@ -29941,7 +29008,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.Scte35Type = types.Scte35Type(jtv) } - case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -29954,7 +29020,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SegmentLength = ptr.Int32(int32(i64)) } - case "segmentLengthUnits": if value != nil { jtv, ok := value.(string) @@ -29963,7 +29028,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SegmentLengthUnits = types.CmafIngestSegmentLengthUnits(jtv) } - case "sendDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -29976,7 +29040,6 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SendDelayMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30016,7 +29079,6 @@ func awsRestjson1_deserializeDocumentCmafIngestOutputSettings(v **types.CmafInge } sv.NameModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -30056,7 +29118,6 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.InputColorSpace = types.ColorSpace(jtv) } - case "outputColorSpace": if value != nil { jtv, ok := value.(string) @@ -30065,7 +29126,6 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.OutputColorSpace = types.ColorSpace(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -30074,7 +29134,6 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -30110,7 +29169,6 @@ func awsRestjson1_deserializeDocumentColorCorrectionSettings(v **types.ColorCorr if err := awsRestjson1_deserializeDocument__listOfColorCorrection(&sv.GlobalColorCorrections, value); err != nil { return err } - default: _, _ = key, value @@ -30171,15 +29229,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30187,15 +29239,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30230,7 +29278,6 @@ func awsRestjson1_deserializeDocumentDescribeAnywhereSettings(v **types.Describe } sv.ChannelPlacementGroupId = ptr.String(jtv) } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -30239,7 +29286,6 @@ func awsRestjson1_deserializeDocumentDescribeAnywhereSettings(v **types.Describe } sv.ClusterId = ptr.String(jtv) } - default: _, _ = key, value @@ -30279,12 +29325,10 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Arn = ptr.String(jtv) } - case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -30293,7 +29337,6 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.ClusterId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -30302,7 +29345,6 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30311,12 +29353,10 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Name = ptr.String(jtv) } - case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -30325,7 +29365,6 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.State = types.ChannelPlacementGroupState(jtv) } - default: _, _ = key, value @@ -30365,12 +29404,10 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Arn = ptr.String(jtv) } - case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } - case "clusterType": if value != nil { jtv, ok := value.(string) @@ -30379,7 +29416,6 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.ClusterType = types.ClusterType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -30388,7 +29424,6 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Id = ptr.String(jtv) } - case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -30397,7 +29432,6 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.InstanceRoleArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30406,12 +29440,10 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -30420,7 +29452,6 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.State = types.ClusterState(jtv) } - default: _, _ = key, value @@ -30460,12 +29491,10 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Arn = ptr.String(jtv) } - case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -30474,12 +29503,10 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Id = ptr.String(jtv) } - case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -30488,12 +29515,10 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Name = ptr.String(jtv) } - case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -30502,7 +29527,6 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.State = types.NetworkState(jtv) } - default: _, _ = key, value @@ -30542,12 +29566,10 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Arn = ptr.String(jtv) } - case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -30556,7 +29578,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ClusterId = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -30565,7 +29586,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ConnectionState = types.NodeConnectionState(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -30574,7 +29594,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Id = ptr.String(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -30583,7 +29602,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.InstanceArn = ptr.String(jtv) } - case "managedInstanceId": if value != nil { jtv, ok := value.(string) @@ -30592,7 +29610,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ManagedInstanceId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -30601,12 +29618,10 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Name = ptr.String(jtv) } - case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -30615,7 +29630,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Role = types.NodeRole(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -30624,7 +29638,6 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.State = types.NodeState(jtv) } - default: _, _ = key, value @@ -30699,7 +29712,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkId = ptr.Int32(int32(i64)) } - case "networkName": if value != nil { jtv, ok := value.(string) @@ -30708,7 +29720,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkName = ptr.String(jtv) } - case "repInterval": if value != nil { jtv, ok := value.(json.Number) @@ -30721,7 +29732,6 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30761,7 +29771,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.OutputSdt = types.DvbSdtOutputSdt(jtv) } - case "repInterval": if value != nil { jtv, ok := value.(json.Number) @@ -30774,7 +29783,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -30783,7 +29791,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceName = ptr.String(jtv) } - case "serviceProviderName": if value != nil { jtv, ok := value.(string) @@ -30792,7 +29799,6 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -30832,7 +29838,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Alignment = types.DvbSubDestinationAlignment(jtv) } - case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -30841,7 +29846,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundColor = types.DvbSubDestinationBackgroundColor(jtv) } - case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -30854,12 +29858,10 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } - case "font": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Font, value); err != nil { return err } - case "fontColor": if value != nil { jtv, ok := value.(string) @@ -30868,7 +29870,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontColor = types.DvbSubDestinationFontColor(jtv) } - case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -30881,7 +29882,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontOpacity = ptr.Int32(int32(i64)) } - case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -30894,7 +29894,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontResolution = ptr.Int32(int32(i64)) } - case "fontSize": if value != nil { jtv, ok := value.(string) @@ -30903,7 +29902,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontSize = ptr.String(jtv) } - case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -30912,7 +29910,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineColor = types.DvbSubDestinationOutlineColor(jtv) } - case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -30925,7 +29922,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineSize = ptr.Int32(int32(i64)) } - case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -30934,7 +29930,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowColor = types.DvbSubDestinationShadowColor(jtv) } - case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -30947,7 +29942,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } - case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -30960,7 +29954,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } - case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -30973,7 +29966,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } - case "teletextGridControl": if value != nil { jtv, ok := value.(string) @@ -30982,7 +29974,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.TeletextGridControl = types.DvbSubDestinationTeletextGridControl(jtv) } - case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -30995,7 +29986,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.XPosition = ptr.Int32(int32(i64)) } - case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -31008,7 +29998,6 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.YPosition = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31048,7 +30037,6 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.OcrLanguage = types.DvbSubOcrLanguage(jtv) } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -31061,7 +30049,6 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.Pid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31105,7 +30092,6 @@ func awsRestjson1_deserializeDocumentDvbTdtSettings(v **types.DvbTdtSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31170,7 +30156,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -31179,7 +30164,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.CodingMode = types.Eac3AtmosCodingMode(jtv) } - case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -31192,7 +30176,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.Dialnorm = ptr.Int32(int32(i64)) } - case "drcLine": if value != nil { jtv, ok := value.(string) @@ -31201,7 +30184,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DrcLine = types.Eac3AtmosDrcLine(jtv) } - case "drcRf": if value != nil { jtv, ok := value.(string) @@ -31210,7 +30192,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DrcRf = types.Eac3AtmosDrcRf(jtv) } - case "heightTrim": if value != nil { switch jtv := value.(type) { @@ -31244,7 +30225,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - case "surroundTrim": if value != nil { switch jtv := value.(type) { @@ -31278,7 +30258,6 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } - default: _, _ = key, value @@ -31318,7 +30297,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.AttenuationControl = types.Eac3AttenuationControl(jtv) } - case "bitrate": if value != nil { switch jtv := value.(type) { @@ -31352,7 +30330,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -31361,7 +30338,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.BitstreamMode = types.Eac3BitstreamMode(jtv) } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -31370,7 +30346,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.CodingMode = types.Eac3CodingMode(jtv) } - case "dcFilter": if value != nil { jtv, ok := value.(string) @@ -31379,7 +30354,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DcFilter = types.Eac3DcFilter(jtv) } - case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -31392,7 +30366,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Dialnorm = ptr.Int32(int32(i64)) } - case "drcLine": if value != nil { jtv, ok := value.(string) @@ -31401,7 +30374,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DrcLine = types.Eac3DrcLine(jtv) } - case "drcRf": if value != nil { jtv, ok := value.(string) @@ -31410,7 +30382,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DrcRf = types.Eac3DrcRf(jtv) } - case "lfeControl": if value != nil { jtv, ok := value.(string) @@ -31419,7 +30390,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeControl = types.Eac3LfeControl(jtv) } - case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -31428,7 +30398,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeFilter = types.Eac3LfeFilter(jtv) } - case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -31462,7 +30431,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -31496,7 +30464,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -31530,7 +30497,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -31564,7 +30530,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } - case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -31573,7 +30538,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.MetadataControl = types.Eac3MetadataControl(jtv) } - case "passthroughControl": if value != nil { jtv, ok := value.(string) @@ -31582,7 +30546,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PassthroughControl = types.Eac3PassthroughControl(jtv) } - case "phaseControl": if value != nil { jtv, ok := value.(string) @@ -31591,7 +30554,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PhaseControl = types.Eac3PhaseControl(jtv) } - case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -31600,7 +30562,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.StereoDownmix = types.Eac3StereoDownmix(jtv) } - case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -31609,7 +30570,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundExMode = types.Eac3SurroundExMode(jtv) } - case "surroundMode": if value != nil { jtv, ok := value.(string) @@ -31618,7 +30578,6 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundMode = types.Eac3SurroundMode(jtv) } - default: _, _ = key, value @@ -31658,7 +30617,6 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.CopyrightHolder = ptr.String(jtv) } - case "fillLineGap": if value != nil { jtv, ok := value.(string) @@ -31667,7 +30625,6 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.FillLineGap = types.EbuTtDFillLineGapControl(jtv) } - case "fontFamily": if value != nil { jtv, ok := value.(string) @@ -31676,7 +30633,6 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.FontFamily = ptr.String(jtv) } - case "styleControl": if value != nil { jtv, ok := value.(string) @@ -31685,7 +30641,6 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.StyleControl = types.EbuTtDDestinationStyleControl(jtv) } - default: _, _ = key, value @@ -31787,7 +30742,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Convert608To708 = types.EmbeddedConvert608To708(jtv) } - case "scte20Detection": if value != nil { jtv, ok := value.(string) @@ -31796,7 +30750,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Scte20Detection = types.EmbeddedScte20Detection(jtv) } - case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -31809,7 +30762,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } - case "source608TrackNumber": if value != nil { jtv, ok := value.(json.Number) @@ -31822,7 +30774,6 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608TrackNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31858,72 +30809,58 @@ func awsRestjson1_deserializeDocumentEncoderSettings(v **types.EncoderSettings, if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } - case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } - case "availConfiguration": if err := awsRestjson1_deserializeDocumentAvailConfiguration(&sv.AvailConfiguration, value); err != nil { return err } - case "blackoutSlate": if err := awsRestjson1_deserializeDocumentBlackoutSlate(&sv.BlackoutSlate, value); err != nil { return err } - case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescription(&sv.CaptionDescriptions, value); err != nil { return err } - case "colorCorrectionSettings": if err := awsRestjson1_deserializeDocumentColorCorrectionSettings(&sv.ColorCorrectionSettings, value); err != nil { return err } - case "featureActivations": if err := awsRestjson1_deserializeDocumentFeatureActivations(&sv.FeatureActivations, value); err != nil { return err } - case "globalConfiguration": if err := awsRestjson1_deserializeDocumentGlobalConfiguration(&sv.GlobalConfiguration, value); err != nil { return err } - case "motionGraphicsConfiguration": if err := awsRestjson1_deserializeDocumentMotionGraphicsConfiguration(&sv.MotionGraphicsConfiguration, value); err != nil { return err } - case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } - case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } - case "thumbnailConfiguration": if err := awsRestjson1_deserializeDocumentThumbnailConfiguration(&sv.ThumbnailConfiguration, value); err != nil { return err } - case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } - case "videoDescriptions": if err := awsRestjson1_deserializeDocument__listOfVideoDescription(&sv.VideoDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -31963,7 +30900,6 @@ func awsRestjson1_deserializeDocumentEpochLockingSettings(v **types.EpochLocking } sv.CustomEpoch = ptr.String(jtv) } - case "jamSyncTime": if value != nil { jtv, ok := value.(string) @@ -31972,7 +30908,6 @@ func awsRestjson1_deserializeDocumentEpochLockingSettings(v **types.EpochLocking } sv.JamSyncTime = ptr.String(jtv) } - default: _, _ = key, value @@ -32012,7 +30947,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.AcquisitionPointId = ptr.String(jtv) } - case "adAvailOffset": if value != nil { jtv, ok := value.(json.Number) @@ -32025,7 +30959,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.AdAvailOffset = ptr.Int32(int32(i64)) } - case "passwordParam": if value != nil { jtv, ok := value.(string) @@ -32034,7 +30967,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.PasswordParam = ptr.String(jtv) } - case "poisEndpoint": if value != nil { jtv, ok := value.(string) @@ -32043,7 +30975,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.PoisEndpoint = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -32052,7 +30983,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.Username = ptr.String(jtv) } - case "zoneIdentity": if value != nil { jtv, ok := value.(string) @@ -32061,7 +30991,6 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.ZoneIdentity = ptr.String(jtv) } - default: _, _ = key, value @@ -32101,7 +31030,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -32114,7 +31042,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -32123,7 +31050,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -32132,7 +31058,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -32145,7 +31070,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32154,12 +31078,10 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "templateCount": if value != nil { jtv, ok := value.(json.Number) @@ -32172,7 +31094,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.TemplateCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32212,7 +31133,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -32225,7 +31145,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -32234,7 +31153,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Description = ptr.String(jtv) } - case "eventTargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -32247,7 +31165,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.EventTargetCount = ptr.Int32(int32(i64)) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -32256,7 +31173,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -32265,7 +31181,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.GroupId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -32274,7 +31189,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -32287,7 +31201,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -32296,12 +31209,10 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -32341,7 +31252,6 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateTarget(v **types.Eve } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -32412,7 +31322,6 @@ func awsRestjson1_deserializeDocumentFailoverCondition(v **types.FailoverConditi if err := awsRestjson1_deserializeDocumentFailoverConditionSettings(&sv.FailoverConditionSettings, value); err != nil { return err } - default: _, _ = key, value @@ -32448,17 +31357,14 @@ func awsRestjson1_deserializeDocumentFailoverConditionSettings(v **types.Failove if err := awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(&sv.AudioSilenceSettings, value); err != nil { return err } - case "inputLossSettings": if err := awsRestjson1_deserializeDocumentInputLossFailoverSettings(&sv.InputLossSettings, value); err != nil { return err } - case "videoBlackSettings": if err := awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(&sv.VideoBlackSettings, value); err != nil { return err } - default: _, _ = key, value @@ -32498,7 +31404,6 @@ func awsRestjson1_deserializeDocumentFeatureActivations(v **types.FeatureActivat } sv.InputPrepareScheduleActions = types.FeatureActivationsInputPrepareScheduleActions(jtv) } - case "outputStaticImageOverlayScheduleActions": if value != nil { jtv, ok := value.(string) @@ -32507,7 +31412,6 @@ func awsRestjson1_deserializeDocumentFeatureActivations(v **types.FeatureActivat } sv.OutputStaticImageOverlayScheduleActions = types.FeatureActivationsOutputStaticImageOverlayScheduleActions(jtv) } - default: _, _ = key, value @@ -32551,7 +31455,6 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.ColumnDepth = ptr.Int32(int32(i64)) } - case "includeFec": if value != nil { jtv, ok := value.(string) @@ -32560,7 +31463,6 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.IncludeFec = types.FecOutputIncludeFec(jtv) } - case "rowLength": if value != nil { jtv, ok := value.(json.Number) @@ -32573,7 +31475,6 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.RowLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32613,7 +31514,6 @@ func awsRestjson1_deserializeDocumentFixedModeScheduleActionStartSettings(v **ty } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -32653,7 +31553,6 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.AudioRenditionSets = ptr.String(jtv) } - case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -32662,7 +31561,6 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.NielsenId3Behavior = types.Fmp4NielsenId3Behavior(jtv) } - case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -32671,7 +31569,6 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.TimedMetadataBehavior = types.Fmp4TimedMetadataBehavior(jtv) } - default: _, _ = key, value @@ -32711,7 +31608,6 @@ func awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(v **t } sv.FollowPoint = types.FollowPoint(jtv) } - case "referenceActionName": if value != nil { jtv, ok := value.(string) @@ -32720,7 +31616,6 @@ func awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(v **t } sv.ReferenceActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -32750,15 +31645,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32766,15 +31655,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32805,7 +31690,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureCdnSettings(v **types.FrameCapt if err := awsRestjson1_deserializeDocumentFrameCaptureS3Settings(&sv.FrameCaptureS3Settings, value); err != nil { return err } - default: _, _ = key, value @@ -32841,12 +31725,10 @@ func awsRestjson1_deserializeDocumentFrameCaptureGroupSettings(v **types.FrameCa if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "frameCaptureCdnSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureCdnSettings(&sv.FrameCaptureCdnSettings, value); err != nil { return err } - default: _, _ = key, value @@ -32917,7 +31799,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureOutputSettings(v **types.FrameC } sv.NameModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -32957,7 +31838,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureS3Settings(v **types.FrameCaptu } sv.CannedAcl = types.S3CannedAcl(jtv) } - default: _, _ = key, value @@ -33001,7 +31881,6 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.CaptureInterval = ptr.Int32(int32(i64)) } - case "captureIntervalUnits": if value != nil { jtv, ok := value.(string) @@ -33010,12 +31889,10 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.CaptureIntervalUnits = types.FrameCaptureIntervalUnit(jtv) } - case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } - default: _, _ = key, value @@ -33045,15 +31922,9 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33061,15 +31932,11 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33108,7 +31975,6 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.InitialAudioGain = ptr.Int32(int32(i64)) } - case "inputEndAction": if value != nil { jtv, ok := value.(string) @@ -33117,12 +31983,10 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.InputEndAction = types.GlobalConfigurationInputEndAction(jtv) } - case "inputLossBehavior": if err := awsRestjson1_deserializeDocumentInputLossBehavior(&sv.InputLossBehavior, value); err != nil { return err } - case "outputLockingMode": if value != nil { jtv, ok := value.(string) @@ -33131,12 +31995,10 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.OutputLockingMode = types.GlobalConfigurationOutputLockingMode(jtv) } - case "outputLockingSettings": if err := awsRestjson1_deserializeDocumentOutputLockingSettings(&sv.OutputLockingSettings, value); err != nil { return err } - case "outputTimingSource": if value != nil { jtv, ok := value.(string) @@ -33145,7 +32007,6 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.OutputTimingSource = types.GlobalConfigurationOutputTimingSource(jtv) } - case "supportLowFramerateInputs": if value != nil { jtv, ok := value.(string) @@ -33154,7 +32015,6 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.SupportLowFramerateInputs = types.GlobalConfigurationLowFramerateInputs(jtv) } - default: _, _ = key, value @@ -33190,17 +32050,14 @@ func awsRestjson1_deserializeDocumentH264ColorSpaceSettings(v **types.H264ColorS if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } - case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } - case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } - default: _, _ = key, value @@ -33236,12 +32093,10 @@ func awsRestjson1_deserializeDocumentH264FilterSettings(v **types.H264FilterSett if err := awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(&sv.BandwidthReductionFilterSettings, value); err != nil { return err } - case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } - default: _, _ = key, value @@ -33281,7 +32136,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AdaptiveQuantization = types.H264AdaptiveQuantization(jtv) } - case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -33290,7 +32144,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AfdSignaling = types.AfdSignaling(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -33303,7 +32156,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bufFillPct": if value != nil { jtv, ok := value.(json.Number) @@ -33316,7 +32168,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.BufFillPct = ptr.Int32(int32(i64)) } - case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -33329,7 +32180,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.BufSize = ptr.Int32(int32(i64)) } - case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -33338,12 +32188,10 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ColorMetadata = types.H264ColorMetadata(jtv) } - case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentH264ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } - case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -33352,12 +32200,10 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EntropyEncoding = types.H264EntropyEncoding(jtv) } - case "filterSettings": if err := awsRestjson1_deserializeDocumentH264FilterSettings(&sv.FilterSettings, value); err != nil { return err } - case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -33366,7 +32212,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FixedAfd = types.FixedAfd(jtv) } - case "flickerAq": if value != nil { jtv, ok := value.(string) @@ -33375,7 +32220,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FlickerAq = types.H264FlickerAq(jtv) } - case "forceFieldPictures": if value != nil { jtv, ok := value.(string) @@ -33384,7 +32228,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ForceFieldPictures = types.H264ForceFieldPictures(jtv) } - case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -33393,7 +32236,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateControl = types.H264FramerateControl(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -33406,7 +32248,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -33419,7 +32260,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -33428,7 +32268,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopBReference = types.H264GopBReference(jtv) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -33441,7 +32280,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopNumBFrames": if value != nil { jtv, ok := value.(json.Number) @@ -33454,7 +32292,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopNumBFrames = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -33488,7 +32325,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -33497,7 +32333,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopSizeUnits = types.H264GopSizeUnits(jtv) } - case "level": if value != nil { jtv, ok := value.(string) @@ -33506,7 +32341,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Level = types.H264Level(jtv) } - case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -33515,7 +32349,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.LookAheadRateControl = types.H264LookAheadRateControl(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -33528,7 +32361,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -33541,7 +32373,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "minQp": if value != nil { jtv, ok := value.(json.Number) @@ -33554,7 +32385,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinQp = ptr.Int32(int32(i64)) } - case "numRefFrames": if value != nil { jtv, ok := value.(json.Number) @@ -33567,7 +32397,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumRefFrames = ptr.Int32(int32(i64)) } - case "parControl": if value != nil { jtv, ok := value.(string) @@ -33576,7 +32405,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParControl = types.H264ParControl(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -33589,7 +32417,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -33602,7 +32429,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -33611,7 +32437,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Profile = types.H264Profile(jtv) } - case "qualityLevel": if value != nil { jtv, ok := value.(string) @@ -33620,7 +32445,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QualityLevel = types.H264QualityLevel(jtv) } - case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -33633,7 +32457,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -33642,7 +32465,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RateControlMode = types.H264RateControlMode(jtv) } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -33651,7 +32473,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ScanType = types.H264ScanType(jtv) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -33660,7 +32481,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SceneChangeDetect = types.H264SceneChangeDetect(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -33673,7 +32493,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Slices = ptr.Int32(int32(i64)) } - case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -33686,7 +32505,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Softness = ptr.Int32(int32(i64)) } - case "spatialAq": if value != nil { jtv, ok := value.(string) @@ -33695,7 +32513,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SpatialAq = types.H264SpatialAq(jtv) } - case "subgopLength": if value != nil { jtv, ok := value.(string) @@ -33704,7 +32521,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SubgopLength = types.H264SubGopLength(jtv) } - case "syntax": if value != nil { jtv, ok := value.(string) @@ -33713,7 +32529,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Syntax = types.H264Syntax(jtv) } - case "temporalAq": if value != nil { jtv, ok := value.(string) @@ -33722,12 +32537,10 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TemporalAq = types.H264TemporalAq(jtv) } - case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } - case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -33736,7 +32549,6 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TimecodeInsertion = types.H264TimecodeInsertionBehavior(jtv) } - default: _, _ = key, value @@ -33772,27 +32584,22 @@ func awsRestjson1_deserializeDocumentH265ColorSpaceSettings(v **types.H265ColorS if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } - case "dolbyVision81Settings": if err := awsRestjson1_deserializeDocumentDolbyVision81Settings(&sv.DolbyVision81Settings, value); err != nil { return err } - case "hdr10Settings": if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } - case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } - case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } - default: _, _ = key, value @@ -33828,12 +32635,10 @@ func awsRestjson1_deserializeDocumentH265FilterSettings(v **types.H265FilterSett if err := awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(&sv.BandwidthReductionFilterSettings, value); err != nil { return err } - case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } - default: _, _ = key, value @@ -33873,7 +32678,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AdaptiveQuantization = types.H265AdaptiveQuantization(jtv) } - case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -33882,7 +32686,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AfdSignaling = types.AfdSignaling(jtv) } - case "alternativeTransferFunction": if value != nil { jtv, ok := value.(string) @@ -33891,7 +32694,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AlternativeTransferFunction = types.H265AlternativeTransferFunction(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -33904,7 +32706,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -33917,7 +32718,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.BufSize = ptr.Int32(int32(i64)) } - case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -33926,17 +32726,14 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ColorMetadata = types.H265ColorMetadata(jtv) } - case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentH265ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } - case "filterSettings": if err := awsRestjson1_deserializeDocumentH265FilterSettings(&sv.FilterSettings, value); err != nil { return err } - case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -33945,7 +32742,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FixedAfd = types.FixedAfd(jtv) } - case "flickerAq": if value != nil { jtv, ok := value.(string) @@ -33954,7 +32750,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FlickerAq = types.H265FlickerAq(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -33967,7 +32762,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -33980,7 +32774,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -33993,7 +32786,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -34027,7 +32819,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -34036,7 +32827,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopSizeUnits = types.H265GopSizeUnits(jtv) } - case "level": if value != nil { jtv, ok := value.(string) @@ -34045,7 +32835,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Level = types.H265Level(jtv) } - case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -34054,7 +32843,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.LookAheadRateControl = types.H265LookAheadRateControl(jtv) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -34067,7 +32855,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -34080,7 +32867,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } - case "minQp": if value != nil { jtv, ok := value.(json.Number) @@ -34093,7 +32879,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinQp = ptr.Int32(int32(i64)) } - case "mvOverPictureBoundaries": if value != nil { jtv, ok := value.(string) @@ -34102,7 +32887,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MvOverPictureBoundaries = types.H265MvOverPictureBoundaries(jtv) } - case "mvTemporalPredictor": if value != nil { jtv, ok := value.(string) @@ -34111,7 +32895,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MvTemporalPredictor = types.H265MvTemporalPredictor(jtv) } - case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -34124,7 +32907,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } - case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -34137,7 +32919,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -34146,7 +32927,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Profile = types.H265Profile(jtv) } - case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -34159,7 +32939,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } - case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -34168,7 +32947,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.RateControlMode = types.H265RateControlMode(jtv) } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -34177,7 +32955,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ScanType = types.H265ScanType(jtv) } - case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -34186,7 +32963,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SceneChangeDetect = types.H265SceneChangeDetect(jtv) } - case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -34199,7 +32975,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Slices = ptr.Int32(int32(i64)) } - case "tier": if value != nil { jtv, ok := value.(string) @@ -34208,7 +32983,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Tier = types.H265Tier(jtv) } - case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -34221,7 +32995,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TileHeight = ptr.Int32(int32(i64)) } - case "tilePadding": if value != nil { jtv, ok := value.(string) @@ -34230,7 +33003,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TilePadding = types.H265TilePadding(jtv) } - case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -34243,12 +33015,10 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TileWidth = ptr.Int32(int32(i64)) } - case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } - case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -34257,7 +33027,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TimecodeInsertion = types.H265TimecodeInsertionBehavior(jtv) } - case "treeblockSize": if value != nil { jtv, ok := value.(string) @@ -34266,7 +33035,6 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TreeblockSize = types.H265TreeblockSize(jtv) } - default: _, _ = key, value @@ -34310,7 +33078,6 @@ func awsRestjson1_deserializeDocumentHdr10Settings(v **types.Hdr10Settings, valu } sv.MaxCll = ptr.Int32(int32(i64)) } - case "maxFall": if value != nil { jtv, ok := value.(json.Number) @@ -34323,7 +33090,6 @@ func awsRestjson1_deserializeDocumentHdr10Settings(v **types.Hdr10Settings, valu } sv.MaxFall = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34367,7 +33133,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -34380,7 +33145,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.FilecacheDuration = ptr.Int32(int32(i64)) } - case "httpTransferMode": if value != nil { jtv, ok := value.(string) @@ -34389,7 +33153,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.HttpTransferMode = types.HlsAkamaiHttpTransferMode(jtv) } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -34402,7 +33165,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.NumRetries = ptr.Int32(int32(i64)) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -34415,7 +33177,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } - case "salt": if value != nil { jtv, ok := value.(string) @@ -34424,7 +33185,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.Salt = ptr.String(jtv) } - case "token": if value != nil { jtv, ok := value.(string) @@ -34433,7 +33193,6 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -34477,7 +33236,6 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -34490,7 +33248,6 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.FilecacheDuration = ptr.Int32(int32(i64)) } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -34503,7 +33260,6 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.NumRetries = ptr.Int32(int32(i64)) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -34516,7 +33272,6 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.RestartDelay = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34552,27 +33307,22 @@ func awsRestjson1_deserializeDocumentHlsCdnSettings(v **types.HlsCdnSettings, va if err := awsRestjson1_deserializeDocumentHlsAkamaiSettings(&sv.HlsAkamaiSettings, value); err != nil { return err } - case "hlsBasicPutSettings": if err := awsRestjson1_deserializeDocumentHlsBasicPutSettings(&sv.HlsBasicPutSettings, value); err != nil { return err } - case "hlsMediaStoreSettings": if err := awsRestjson1_deserializeDocumentHlsMediaStoreSettings(&sv.HlsMediaStoreSettings, value); err != nil { return err } - case "hlsS3Settings": if err := awsRestjson1_deserializeDocumentHlsS3Settings(&sv.HlsS3Settings, value); err != nil { return err } - case "hlsWebdavSettings": if err := awsRestjson1_deserializeDocumentHlsWebdavSettings(&sv.HlsWebdavSettings, value); err != nil { return err } - default: _, _ = key, value @@ -34608,7 +33358,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings if err := awsRestjson1_deserializeDocument__listOfHlsAdMarkers(&sv.AdMarkers, value); err != nil { return err } - case "baseUrlContent": if value != nil { jtv, ok := value.(string) @@ -34617,7 +33366,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlContent = ptr.String(jtv) } - case "baseUrlContent1": if value != nil { jtv, ok := value.(string) @@ -34626,7 +33374,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlContent1 = ptr.String(jtv) } - case "baseUrlManifest": if value != nil { jtv, ok := value.(string) @@ -34635,7 +33382,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlManifest = ptr.String(jtv) } - case "baseUrlManifest1": if value != nil { jtv, ok := value.(string) @@ -34644,12 +33390,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlManifest1 = ptr.String(jtv) } - case "captionLanguageMappings": if err := awsRestjson1_deserializeDocument__listOfCaptionLanguageMapping(&sv.CaptionLanguageMappings, value); err != nil { return err } - case "captionLanguageSetting": if value != nil { jtv, ok := value.(string) @@ -34658,7 +33402,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionLanguageSetting = types.HlsCaptionLanguageSetting(jtv) } - case "clientCache": if value != nil { jtv, ok := value.(string) @@ -34667,7 +33410,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ClientCache = types.HlsClientCache(jtv) } - case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -34676,7 +33418,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CodecSpecification = types.HlsCodecSpecification(jtv) } - case "constantIv": if value != nil { jtv, ok := value.(string) @@ -34685,12 +33426,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ConstantIv = ptr.String(jtv) } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "directoryStructure": if value != nil { jtv, ok := value.(string) @@ -34699,7 +33438,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DirectoryStructure = types.HlsDirectoryStructure(jtv) } - case "discontinuityTags": if value != nil { jtv, ok := value.(string) @@ -34708,7 +33446,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DiscontinuityTags = types.HlsDiscontinuityTags(jtv) } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -34717,12 +33454,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.EncryptionType = types.HlsEncryptionType(jtv) } - case "hlsCdnSettings": if err := awsRestjson1_deserializeDocumentHlsCdnSettings(&sv.HlsCdnSettings, value); err != nil { return err } - case "hlsId3SegmentTagging": if value != nil { jtv, ok := value.(string) @@ -34731,7 +33466,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.HlsId3SegmentTagging = types.HlsId3SegmentTaggingState(jtv) } - case "iFrameOnlyPlaylists": if value != nil { jtv, ok := value.(string) @@ -34740,7 +33474,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IFrameOnlyPlaylists = types.IFrameOnlyPlaylistType(jtv) } - case "incompleteSegmentBehavior": if value != nil { jtv, ok := value.(string) @@ -34749,7 +33482,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IncompleteSegmentBehavior = types.HlsIncompleteSegmentBehavior(jtv) } - case "indexNSegments": if value != nil { jtv, ok := value.(json.Number) @@ -34762,7 +33494,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IndexNSegments = ptr.Int32(int32(i64)) } - case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -34771,7 +33502,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.InputLossAction = types.InputLossActionForHlsOut(jtv) } - case "ivInManifest": if value != nil { jtv, ok := value.(string) @@ -34780,7 +33510,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IvInManifest = types.HlsIvInManifest(jtv) } - case "ivSource": if value != nil { jtv, ok := value.(string) @@ -34789,7 +33518,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IvSource = types.HlsIvSource(jtv) } - case "keepSegments": if value != nil { jtv, ok := value.(json.Number) @@ -34802,7 +33530,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeepSegments = ptr.Int32(int32(i64)) } - case "keyFormat": if value != nil { jtv, ok := value.(string) @@ -34811,7 +33538,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeyFormat = ptr.String(jtv) } - case "keyFormatVersions": if value != nil { jtv, ok := value.(string) @@ -34820,12 +33546,10 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeyFormatVersions = ptr.String(jtv) } - case "keyProviderSettings": if err := awsRestjson1_deserializeDocumentKeyProviderSettings(&sv.KeyProviderSettings, value); err != nil { return err } - case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -34834,7 +33558,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestCompression = types.HlsManifestCompression(jtv) } - case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -34843,7 +33566,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestDurationFormat = types.HlsManifestDurationFormat(jtv) } - case "minSegmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -34856,7 +33578,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.MinSegmentLength = ptr.Int32(int32(i64)) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -34865,7 +33586,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.Mode = types.HlsMode(jtv) } - case "outputSelection": if value != nil { jtv, ok := value.(string) @@ -34874,7 +33594,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.OutputSelection = types.HlsOutputSelection(jtv) } - case "programDateTime": if value != nil { jtv, ok := value.(string) @@ -34883,7 +33602,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTime = types.HlsProgramDateTime(jtv) } - case "programDateTimeClock": if value != nil { jtv, ok := value.(string) @@ -34892,7 +33610,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimeClock = types.HlsProgramDateTimeClock(jtv) } - case "programDateTimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -34905,7 +33622,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimePeriod = ptr.Int32(int32(i64)) } - case "redundantManifest": if value != nil { jtv, ok := value.(string) @@ -34914,7 +33630,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.RedundantManifest = types.HlsRedundantManifest(jtv) } - case "segmentationMode": if value != nil { jtv, ok := value.(string) @@ -34923,7 +33638,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentationMode = types.HlsSegmentationMode(jtv) } - case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -34936,7 +33650,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLength = ptr.Int32(int32(i64)) } - case "segmentsPerSubdirectory": if value != nil { jtv, ok := value.(json.Number) @@ -34949,7 +33662,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentsPerSubdirectory = ptr.Int32(int32(i64)) } - case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -34958,7 +33670,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.StreamInfResolution = types.HlsStreamInfResolution(jtv) } - case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -34967,7 +33678,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Frame = types.HlsTimedMetadataId3Frame(jtv) } - case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -34980,7 +33690,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } - case "timestampDeltaMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -34993,7 +33702,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimestampDeltaMilliseconds = ptr.Int32(int32(i64)) } - case "tsFileMode": if value != nil { jtv, ok := value.(string) @@ -35002,7 +33710,6 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TsFileMode = types.HlsTsFileMode(jtv) } - default: _, _ = key, value @@ -35042,7 +33749,6 @@ func awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings( } sv.Id3 = ptr.String(jtv) } - case "tag": if value != nil { jtv, ok := value.(string) @@ -35051,7 +33757,6 @@ func awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings( } sv.Tag = ptr.String(jtv) } - default: _, _ = key, value @@ -35095,7 +33800,6 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Bandwidth = ptr.Int32(int32(i64)) } - case "bufferSegments": if value != nil { jtv, ok := value.(json.Number) @@ -35108,7 +33812,6 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.BufferSegments = ptr.Int32(int32(i64)) } - case "retries": if value != nil { jtv, ok := value.(json.Number) @@ -35121,7 +33824,6 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Retries = ptr.Int32(int32(i64)) } - case "retryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -35134,7 +33836,6 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.RetryInterval = ptr.Int32(int32(i64)) } - case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -35143,7 +33844,6 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Scte35Source = types.HlsScte35SourceType(jtv) } - default: _, _ = key, value @@ -35187,7 +33887,6 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -35200,7 +33899,6 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.FilecacheDuration = ptr.Int32(int32(i64)) } - case "mediaStoreStorageClass": if value != nil { jtv, ok := value.(string) @@ -35209,7 +33907,6 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.MediaStoreStorageClass = types.HlsMediaStoreStorageClass(jtv) } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -35222,7 +33919,6 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.NumRetries = ptr.Int32(int32(i64)) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -35235,7 +33931,6 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.RestartDelay = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -35275,12 +33970,10 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.H265PackagingType = types.HlsH265PackagingType(jtv) } - case "hlsSettings": if err := awsRestjson1_deserializeDocumentHlsSettings(&sv.HlsSettings, value); err != nil { return err } - case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -35289,7 +33982,6 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.NameModifier = ptr.String(jtv) } - case "segmentModifier": if value != nil { jtv, ok := value.(string) @@ -35298,7 +33990,6 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.SegmentModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -35338,7 +34029,6 @@ func awsRestjson1_deserializeDocumentHlsS3Settings(v **types.HlsS3Settings, valu } sv.CannedAcl = types.S3CannedAcl(jtv) } - default: _, _ = key, value @@ -35374,22 +34064,18 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in if err := awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(&sv.AudioOnlyHlsSettings, value); err != nil { return err } - case "fmp4HlsSettings": if err := awsRestjson1_deserializeDocumentFmp4HlsSettings(&sv.Fmp4HlsSettings, value); err != nil { return err } - case "frameCaptureHlsSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureHlsSettings(&sv.FrameCaptureHlsSettings, value); err != nil { return err } - case "standardHlsSettings": if err := awsRestjson1_deserializeDocumentStandardHlsSettings(&sv.StandardHlsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -35429,7 +34115,6 @@ func awsRestjson1_deserializeDocumentHlsTimedMetadataScheduleActionSettings(v ** } sv.Id3 = ptr.String(jtv) } - default: _, _ = key, value @@ -35473,7 +34158,6 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -35486,7 +34170,6 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.FilecacheDuration = ptr.Int32(int32(i64)) } - case "httpTransferMode": if value != nil { jtv, ok := value.(string) @@ -35495,7 +34178,6 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.HttpTransferMode = types.HlsWebdavHttpTransferMode(jtv) } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -35508,7 +34190,6 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.NumRetries = ptr.Int32(int32(i64)) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -35521,7 +34202,6 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -35623,17 +34303,14 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "attachedChannels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AttachedChannels, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfInputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -35642,7 +34319,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Id = ptr.String(jtv) } - case "inputClass": if value != nil { jtv, ok := value.(string) @@ -35651,12 +34327,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputClass = types.InputClass(jtv) } - case "inputDevices": if err := awsRestjson1_deserializeDocument__listOfInputDeviceSettings(&sv.InputDevices, value); err != nil { return err } - case "inputNetworkLocation": if value != nil { jtv, ok := value.(string) @@ -35665,12 +34339,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputNetworkLocation = types.InputNetworkLocation(jtv) } - case "inputPartnerIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.InputPartnerIds, value); err != nil { return err } - case "inputSourceType": if value != nil { jtv, ok := value.(string) @@ -35679,17 +34351,14 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputSourceType = types.InputSourceType(jtv) } - case "mediaConnectFlows": if err := awsRestjson1_deserializeDocument__listOfMediaConnectFlow(&sv.MediaConnectFlows, value); err != nil { return err } - case "multicastSettings": if err := awsRestjson1_deserializeDocumentMulticastSettings(&sv.MulticastSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -35698,7 +34367,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -35707,22 +34375,18 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.RoleArn = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocument__listOfInputSource(&sv.Sources, value); err != nil { return err } - case "srtSettings": if err := awsRestjson1_deserializeDocumentSrtSettings(&sv.SrtSettings, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -35731,12 +34395,10 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.State = types.InputState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -35745,7 +34407,6 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Type = types.InputType(jtv) } - default: _, _ = key, value @@ -35781,7 +34442,6 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, if err := awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(&sv.AutomaticInputFailoverSettings, value); err != nil { return err } - case "inputAttachmentName": if value != nil { jtv, ok := value.(string) @@ -35790,7 +34450,6 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, } sv.InputAttachmentName = ptr.String(jtv) } - case "inputId": if value != nil { jtv, ok := value.(string) @@ -35799,17 +34458,14 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, } sv.InputId = ptr.String(jtv) } - case "inputSettings": if err := awsRestjson1_deserializeDocumentInputSettings(&sv.InputSettings, value); err != nil { return err } - case "logicalInterfaceNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.LogicalInterfaceNames, value); err != nil { return err } - default: _, _ = key, value @@ -35853,7 +34509,6 @@ func awsRestjson1_deserializeDocumentInputChannelLevel(v **types.InputChannelLev } sv.Gain = ptr.Int32(int32(i64)) } - case "inputChannel": if value != nil { jtv, ok := value.(json.Number) @@ -35866,7 +34521,6 @@ func awsRestjson1_deserializeDocumentInputChannelLevel(v **types.InputChannelLev } sv.InputChannel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -35906,17 +34560,14 @@ func awsRestjson1_deserializeDocumentInputClippingSettings(v **types.InputClippi } sv.InputTimecodeSource = types.InputTimecodeSource(jtv) } - case "startTimecode": if err := awsRestjson1_deserializeDocumentStartTimecode(&sv.StartTimecode, value); err != nil { return err } - case "stopTimecode": if err := awsRestjson1_deserializeDocumentStopTimecode(&sv.StopTimecode, value); err != nil { return err } - default: _, _ = key, value @@ -35956,7 +34607,6 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Ip = ptr.String(jtv) } - case "network": if value != nil { jtv, ok := value.(string) @@ -35965,12 +34615,10 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Network = ptr.String(jtv) } - case "networkRoutes": if err := awsRestjson1_deserializeDocument__listOfInputDestinationRoute(&sv.NetworkRoutes, value); err != nil { return err } - case "port": if value != nil { jtv, ok := value.(string) @@ -35979,7 +34627,6 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Port = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -35988,12 +34635,10 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Url = ptr.String(jtv) } - case "vpc": if err := awsRestjson1_deserializeDocumentInputDestinationVpc(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -36033,7 +34678,6 @@ func awsRestjson1_deserializeDocumentInputDestinationRoute(v **types.InputDestin } sv.Cidr = ptr.String(jtv) } - case "gateway": if value != nil { jtv, ok := value.(string) @@ -36042,7 +34686,6 @@ func awsRestjson1_deserializeDocumentInputDestinationRoute(v **types.InputDestin } sv.Gateway = ptr.String(jtv) } - default: _, _ = key, value @@ -36082,7 +34725,6 @@ func awsRestjson1_deserializeDocumentInputDestinationVpc(v **types.InputDestinat } sv.AvailabilityZone = ptr.String(jtv) } - case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -36091,7 +34733,6 @@ func awsRestjson1_deserializeDocumentInputDestinationVpc(v **types.InputDestinat } sv.NetworkInterfaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -36131,7 +34772,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ActiveInput = types.InputDeviceActiveInput(jtv) } - case "configuredInput": if value != nil { jtv, ok := value.(string) @@ -36140,7 +34780,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ConfiguredInput = types.InputDeviceConfiguredInput(jtv) } - case "deviceState": if value != nil { jtv, ok := value.(string) @@ -36149,7 +34788,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.DeviceState = types.InputDeviceState(jtv) } - case "framerate": if value != nil { switch jtv := value.(type) { @@ -36183,7 +34821,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -36196,7 +34833,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.Height = ptr.Int32(int32(i64)) } - case "latencyMs": if value != nil { jtv, ok := value.(json.Number) @@ -36209,7 +34845,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.LatencyMs = ptr.Int32(int32(i64)) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -36222,7 +34857,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -36231,7 +34865,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ScanType = types.InputDeviceScanType(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -36244,7 +34877,6 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36284,7 +34916,6 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.FlowArn = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -36293,7 +34924,6 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.RoleArn = ptr.String(jtv) } - case "secretArn": if value != nil { jtv, ok := value.(string) @@ -36302,7 +34932,6 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.SecretArn = ptr.String(jtv) } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -36311,7 +34940,6 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.SourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -36347,7 +34975,6 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD if err := awsRestjson1_deserializeDocument__listOf__string(&sv.DnsAddresses, value); err != nil { return err } - case "gateway": if value != nil { jtv, ok := value.(string) @@ -36356,7 +34983,6 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.Gateway = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -36365,7 +34991,6 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.IpAddress = ptr.String(jtv) } - case "ipScheme": if value != nil { jtv, ok := value.(string) @@ -36374,7 +34999,6 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.IpScheme = types.InputDeviceIpScheme(jtv) } - case "subnetMask": if value != nil { jtv, ok := value.(string) @@ -36383,7 +35007,6 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.SubnetMask = ptr.String(jtv) } - default: _, _ = key, value @@ -36423,7 +35046,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSettings(v **types.InputDeviceSe } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -36463,7 +35085,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -36472,7 +35093,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.AvailabilityZone = ptr.String(jtv) } - case "connectionState": if value != nil { jtv, ok := value.(string) @@ -36481,7 +35101,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } - case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -36490,7 +35109,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } - case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -36499,12 +35117,10 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } - case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -36513,7 +35129,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Id = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -36522,12 +35137,10 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.MacAddress = ptr.String(jtv) } - case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -36536,12 +35149,10 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Name = ptr.String(jtv) } - case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - case "outputType": if value != nil { jtv, ok := value.(string) @@ -36550,7 +35161,6 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.OutputType = types.InputDeviceOutputType(jtv) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -36559,12 +35169,10 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.SerialNumber = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -36573,12 +35181,10 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Type = types.InputDeviceType(jtv) } - case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -36622,7 +35228,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdAudioChannelPairConfig(v **ty } sv.Id = ptr.Int32(int32(i64)) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -36631,7 +35236,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdAudioChannelPairConfig(v **ty } sv.Profile = types.InputDeviceUhdAudioChannelPairProfile(jtv) } - default: _, _ = key, value @@ -36671,12 +35275,10 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ActiveInput = types.InputDeviceActiveInput(jtv) } - case "audioChannelPairs": if err := awsRestjson1_deserializeDocument__listOfInputDeviceUhdAudioChannelPairConfig(&sv.AudioChannelPairs, value); err != nil { return err } - case "codec": if value != nil { jtv, ok := value.(string) @@ -36685,7 +35287,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Codec = types.InputDeviceCodec(jtv) } - case "configuredInput": if value != nil { jtv, ok := value.(string) @@ -36694,7 +35295,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ConfiguredInput = types.InputDeviceConfiguredInput(jtv) } - case "deviceState": if value != nil { jtv, ok := value.(string) @@ -36703,7 +35303,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.DeviceState = types.InputDeviceState(jtv) } - case "framerate": if value != nil { switch jtv := value.(type) { @@ -36737,7 +35336,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -36750,7 +35348,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Height = ptr.Int32(int32(i64)) } - case "latencyMs": if value != nil { jtv, ok := value.(json.Number) @@ -36763,7 +35360,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.LatencyMs = ptr.Int32(int32(i64)) } - case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -36776,12 +35372,10 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.MaxBitrate = ptr.Int32(int32(i64)) } - case "mediaconnectSettings": if err := awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(&sv.MediaconnectSettings, value); err != nil { return err } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -36790,7 +35384,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ScanType = types.InputDeviceScanType(jtv) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -36803,7 +35396,6 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36843,7 +35435,6 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.PasswordParam = ptr.String(jtv) } - case "uri": if value != nil { jtv, ok := value.(string) @@ -36852,7 +35443,6 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.Uri = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -36861,7 +35451,6 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -36905,7 +35494,6 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.BlackFrameMsec = ptr.Int32(int32(i64)) } - case "inputLossImageColor": if value != nil { jtv, ok := value.(string) @@ -36914,12 +35502,10 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.InputLossImageColor = ptr.String(jtv) } - case "inputLossImageSlate": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.InputLossImageSlate, value); err != nil { return err } - case "inputLossImageType": if value != nil { jtv, ok := value.(string) @@ -36928,7 +35514,6 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.InputLossImageType = types.InputLossImageType(jtv) } - case "repeatFrameMsec": if value != nil { jtv, ok := value.(json.Number) @@ -36941,7 +35526,6 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.RepeatFrameMsec = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36985,7 +35569,6 @@ func awsRestjson1_deserializeDocumentInputLossFailoverSettings(v **types.InputLo } sv.InputLossThresholdMsec = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -37025,17 +35608,14 @@ func awsRestjson1_deserializeDocumentInputPrepareScheduleActionSettings(v **type } sv.InputAttachmentNameReference = ptr.String(jtv) } - case "inputClippingSettings": if err := awsRestjson1_deserializeDocumentInputClippingSettings(&sv.InputClippingSettings, value); err != nil { return err } - case "urlPath": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.UrlPath, value); err != nil { return err } - default: _, _ = key, value @@ -37075,7 +35655,6 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -37084,12 +35663,10 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.Id = ptr.String(jtv) } - case "inputs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Inputs, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -37098,17 +35675,14 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.State = types.InputSecurityGroupState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "whitelistRules": if err := awsRestjson1_deserializeDocument__listOfInputWhitelistRule(&sv.WhitelistRules, value); err != nil { return err } - default: _, _ = key, value @@ -37144,12 +35718,10 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu if err := awsRestjson1_deserializeDocument__listOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } - case "captionSelectors": if err := awsRestjson1_deserializeDocument__listOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } - case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -37158,7 +35730,6 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.DeblockFilter = types.InputDeblockFilter(jtv) } - case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -37167,7 +35738,6 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } - case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -37180,7 +35750,6 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.FilterStrength = ptr.Int32(int32(i64)) } - case "inputFilter": if value != nil { jtv, ok := value.(string) @@ -37189,12 +35758,10 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.InputFilter = types.InputFilter(jtv) } - case "networkInputSettings": if err := awsRestjson1_deserializeDocumentNetworkInputSettings(&sv.NetworkInputSettings, value); err != nil { return err } - case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -37207,7 +35774,6 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.Scte35Pid = ptr.Int32(int32(i64)) } - case "smpte2038DataPreference": if value != nil { jtv, ok := value.(string) @@ -37216,7 +35782,6 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.Smpte2038DataPreference = types.Smpte2038DataPreference(jtv) } - case "sourceEndBehavior": if value != nil { jtv, ok := value.(string) @@ -37225,12 +35790,10 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.SourceEndBehavior = types.InputSourceEndBehavior(jtv) } - case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } - default: _, _ = key, value @@ -37270,7 +35833,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.PasswordParam = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -37279,7 +35841,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.Url = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -37288,7 +35849,6 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -37328,7 +35888,6 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.Codec = types.InputCodec(jtv) } - case "maximumBitrate": if value != nil { jtv, ok := value.(string) @@ -37337,7 +35896,6 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.MaximumBitrate = types.InputMaximumBitrate(jtv) } - case "resolution": if value != nil { jtv, ok := value.(string) @@ -37346,7 +35904,6 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.Resolution = types.InputResolution(jtv) } - default: _, _ = key, value @@ -37386,17 +35943,14 @@ func awsRestjson1_deserializeDocumentInputSwitchScheduleActionSettings(v **types } sv.InputAttachmentNameReference = ptr.String(jtv) } - case "inputClippingSettings": if err := awsRestjson1_deserializeDocumentInputClippingSettings(&sv.InputClippingSettings, value); err != nil { return err } - case "urlPath": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.UrlPath, value); err != nil { return err } - default: _, _ = key, value @@ -37436,7 +35990,6 @@ func awsRestjson1_deserializeDocumentInputWhitelistRule(v **types.InputWhitelist } sv.Cidr = ptr.String(jtv) } - default: _, _ = key, value @@ -37476,7 +36029,6 @@ func awsRestjson1_deserializeDocumentInterfaceMapping(v **types.InterfaceMapping } sv.LogicalInterfaceName = ptr.String(jtv) } - case "networkId": if value != nil { jtv, ok := value.(string) @@ -37485,7 +36037,6 @@ func awsRestjson1_deserializeDocumentInterfaceMapping(v **types.InterfaceMapping } sv.NetworkId = ptr.String(jtv) } - default: _, _ = key, value @@ -37515,15 +36066,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37531,15 +36076,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37574,7 +36115,6 @@ func awsRestjson1_deserializeDocumentIpPool(v **types.IpPool, value interface{}) } sv.Cidr = ptr.String(jtv) } - default: _, _ = key, value @@ -37610,7 +36150,6 @@ func awsRestjson1_deserializeDocumentKeyProviderSettings(v **types.KeyProviderSe if err := awsRestjson1_deserializeDocumentStaticKeySettings(&sv.StaticKeySettings, value); err != nil { return err } - default: _, _ = key, value @@ -37650,7 +36189,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AbsentInputAudioBehavior = types.M2tsAbsentInputAudioBehavior(jtv) } - case "arib": if value != nil { jtv, ok := value.(string) @@ -37659,7 +36197,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Arib = types.M2tsArib(jtv) } - case "aribCaptionsPid": if value != nil { jtv, ok := value.(string) @@ -37668,7 +36205,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AribCaptionsPid = ptr.String(jtv) } - case "aribCaptionsPidControl": if value != nil { jtv, ok := value.(string) @@ -37677,7 +36213,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AribCaptionsPidControl = types.M2tsAribCaptionsPidControl(jtv) } - case "audioBufferModel": if value != nil { jtv, ok := value.(string) @@ -37686,7 +36221,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } - case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -37699,7 +36233,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } - case "audioPids": if value != nil { jtv, ok := value.(string) @@ -37708,7 +36241,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioPids = ptr.String(jtv) } - case "audioStreamType": if value != nil { jtv, ok := value.(string) @@ -37717,7 +36249,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioStreamType = types.M2tsAudioStreamType(jtv) } - case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -37730,7 +36261,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } - case "bufferModel": if value != nil { jtv, ok := value.(string) @@ -37739,7 +36269,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.BufferModel = types.M2tsBufferModel(jtv) } - case "ccDescriptor": if value != nil { jtv, ok := value.(string) @@ -37748,17 +36277,14 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.CcDescriptor = types.M2tsCcDescriptor(jtv) } - case "dvbNitSettings": if err := awsRestjson1_deserializeDocumentDvbNitSettings(&sv.DvbNitSettings, value); err != nil { return err } - case "dvbSdtSettings": if err := awsRestjson1_deserializeDocumentDvbSdtSettings(&sv.DvbSdtSettings, value); err != nil { return err } - case "dvbSubPids": if value != nil { jtv, ok := value.(string) @@ -37767,12 +36293,10 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbSubPids = ptr.String(jtv) } - case "dvbTdtSettings": if err := awsRestjson1_deserializeDocumentDvbTdtSettings(&sv.DvbTdtSettings, value); err != nil { return err } - case "dvbTeletextPid": if value != nil { jtv, ok := value.(string) @@ -37781,7 +36305,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbTeletextPid = ptr.String(jtv) } - case "ebif": if value != nil { jtv, ok := value.(string) @@ -37790,7 +36313,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Ebif = types.M2tsEbifControl(jtv) } - case "ebpAudioInterval": if value != nil { jtv, ok := value.(string) @@ -37799,7 +36321,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpAudioInterval = types.M2tsAudioInterval(jtv) } - case "ebpLookaheadMs": if value != nil { jtv, ok := value.(json.Number) @@ -37812,7 +36333,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpLookaheadMs = ptr.Int32(int32(i64)) } - case "ebpPlacement": if value != nil { jtv, ok := value.(string) @@ -37821,7 +36341,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpPlacement = types.M2tsEbpPlacement(jtv) } - case "ecmPid": if value != nil { jtv, ok := value.(string) @@ -37830,7 +36349,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EcmPid = ptr.String(jtv) } - case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -37839,7 +36357,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } - case "etvPlatformPid": if value != nil { jtv, ok := value.(string) @@ -37848,7 +36365,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EtvPlatformPid = ptr.String(jtv) } - case "etvSignalPid": if value != nil { jtv, ok := value.(string) @@ -37857,7 +36373,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EtvSignalPid = ptr.String(jtv) } - case "fragmentTime": if value != nil { switch jtv := value.(type) { @@ -37891,7 +36406,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "klv": if value != nil { jtv, ok := value.(string) @@ -37900,7 +36414,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Klv = types.M2tsKlv(jtv) } - case "klvDataPids": if value != nil { jtv, ok := value.(string) @@ -37909,7 +36422,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.KlvDataPids = ptr.String(jtv) } - case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -37918,7 +36430,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.NielsenId3Behavior = types.M2tsNielsenId3Behavior(jtv) } - case "nullPacketBitrate": if value != nil { switch jtv := value.(type) { @@ -37952,7 +36463,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -37965,7 +36475,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PatInterval = ptr.Int32(int32(i64)) } - case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -37974,7 +36483,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrControl = types.M2tsPcrControl(jtv) } - case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -37987,7 +36495,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPeriod = ptr.Int32(int32(i64)) } - case "pcrPid": if value != nil { jtv, ok := value.(string) @@ -37996,7 +36503,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPid = ptr.String(jtv) } - case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -38009,7 +36515,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } - case "pmtPid": if value != nil { jtv, ok := value.(string) @@ -38018,7 +36523,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtPid = ptr.String(jtv) } - case "programNum": if value != nil { jtv, ok := value.(json.Number) @@ -38031,7 +36535,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ProgramNum = ptr.Int32(int32(i64)) } - case "rateMode": if value != nil { jtv, ok := value.(string) @@ -38040,7 +36543,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.RateMode = types.M2tsRateMode(jtv) } - case "scte27Pids": if value != nil { jtv, ok := value.(string) @@ -38049,7 +36551,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte27Pids = ptr.String(jtv) } - case "scte35Control": if value != nil { jtv, ok := value.(string) @@ -38058,7 +36559,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Control = types.M2tsScte35Control(jtv) } - case "scte35Pid": if value != nil { jtv, ok := value.(string) @@ -38067,7 +36567,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Pid = ptr.String(jtv) } - case "scte35PrerollPullupMilliseconds": if value != nil { switch jtv := value.(type) { @@ -38101,7 +36600,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "segmentationMarkers": if value != nil { jtv, ok := value.(string) @@ -38110,7 +36608,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationMarkers = types.M2tsSegmentationMarkers(jtv) } - case "segmentationStyle": if value != nil { jtv, ok := value.(string) @@ -38119,7 +36616,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationStyle = types.M2tsSegmentationStyle(jtv) } - case "segmentationTime": if value != nil { switch jtv := value.(type) { @@ -38153,7 +36649,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } - case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -38162,7 +36657,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataBehavior = types.M2tsTimedMetadataBehavior(jtv) } - case "timedMetadataPid": if value != nil { jtv, ok := value.(string) @@ -38171,7 +36665,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataPid = ptr.String(jtv) } - case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -38184,7 +36677,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } - case "videoPid": if value != nil { jtv, ok := value.(string) @@ -38193,7 +36685,6 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.VideoPid = ptr.String(jtv) } - default: _, _ = key, value @@ -38237,7 +36728,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } - case "audioPids": if value != nil { jtv, ok := value.(string) @@ -38246,7 +36736,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioPids = ptr.String(jtv) } - case "ecmPid": if value != nil { jtv, ok := value.(string) @@ -38255,7 +36744,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.EcmPid = ptr.String(jtv) } - case "klvBehavior": if value != nil { jtv, ok := value.(string) @@ -38264,7 +36752,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.KlvBehavior = types.M3u8KlvBehavior(jtv) } - case "klvDataPids": if value != nil { jtv, ok := value.(string) @@ -38273,7 +36760,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.KlvDataPids = ptr.String(jtv) } - case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -38282,7 +36768,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.NielsenId3Behavior = types.M3u8NielsenId3Behavior(jtv) } - case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -38295,7 +36780,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PatInterval = ptr.Int32(int32(i64)) } - case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -38304,7 +36788,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrControl = types.M3u8PcrControl(jtv) } - case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -38317,7 +36800,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPeriod = ptr.Int32(int32(i64)) } - case "pcrPid": if value != nil { jtv, ok := value.(string) @@ -38326,7 +36808,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPid = ptr.String(jtv) } - case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -38339,7 +36820,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } - case "pmtPid": if value != nil { jtv, ok := value.(string) @@ -38348,7 +36828,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtPid = ptr.String(jtv) } - case "programNum": if value != nil { jtv, ok := value.(json.Number) @@ -38361,7 +36840,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.ProgramNum = ptr.Int32(int32(i64)) } - case "scte35Behavior": if value != nil { jtv, ok := value.(string) @@ -38370,7 +36848,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Behavior = types.M3u8Scte35Behavior(jtv) } - case "scte35Pid": if value != nil { jtv, ok := value.(string) @@ -38379,7 +36856,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Pid = ptr.String(jtv) } - case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -38388,7 +36864,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataBehavior = types.M3u8TimedMetadataBehavior(jtv) } - case "timedMetadataPid": if value != nil { jtv, ok := value.(string) @@ -38397,7 +36872,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataPid = ptr.String(jtv) } - case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -38410,7 +36884,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } - case "videoPid": if value != nil { jtv, ok := value.(string) @@ -38419,7 +36892,6 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.VideoPid = ptr.String(jtv) } - default: _, _ = key, value @@ -38459,7 +36931,6 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceDay = types.MaintenanceDay(jtv) } - case "maintenanceDeadline": if value != nil { jtv, ok := value.(string) @@ -38468,7 +36939,6 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceDeadline = ptr.String(jtv) } - case "maintenanceScheduledDate": if value != nil { jtv, ok := value.(string) @@ -38477,7 +36947,6 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceScheduledDate = ptr.String(jtv) } - case "maintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -38486,7 +36955,6 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -38526,7 +36994,6 @@ func awsRestjson1_deserializeDocumentMediaConnectFlow(v **types.MediaConnectFlow } sv.FlowArn = ptr.String(jtv) } - default: _, _ = key, value @@ -38562,7 +37029,6 @@ func awsRestjson1_deserializeDocumentMediaPackageGroupSettings(v **types.MediaPa if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - default: _, _ = key, value @@ -38602,7 +37068,6 @@ func awsRestjson1_deserializeDocumentMediaPackageOutputDestinationSettings(v **t } sv.ChannelId = ptr.String(jtv) } - default: _, _ = key, value @@ -38669,7 +37134,6 @@ func awsRestjson1_deserializeDocumentMediaResource(v **types.MediaResource, valu if err := awsRestjson1_deserializeDocument__listOfMediaResourceNeighbor(&sv.Destinations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -38678,12 +37142,10 @@ func awsRestjson1_deserializeDocumentMediaResource(v **types.MediaResource, valu } sv.Name = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocument__listOfMediaResourceNeighbor(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -38758,7 +37220,6 @@ func awsRestjson1_deserializeDocumentMediaResourceNeighbor(v **types.MediaResour } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -38767,7 +37228,6 @@ func awsRestjson1_deserializeDocumentMediaResourceNeighbor(v **types.MediaResour } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -38807,7 +37267,6 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.DetailsUri = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -38816,7 +37275,6 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.ErrorMessage = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -38825,7 +37283,6 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.Status = types.SignalMapMonitorDeploymentStatus(jtv) } - default: _, _ = key, value @@ -38869,7 +37326,6 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Duration = ptr.Int64(i64) } - case "passwordParam": if value != nil { jtv, ok := value.(string) @@ -38878,7 +37334,6 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.PasswordParam = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -38887,7 +37342,6 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Url = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -38896,7 +37350,6 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -38936,12 +37389,10 @@ func awsRestjson1_deserializeDocumentMotionGraphicsConfiguration(v **types.Motio } sv.MotionGraphicsInsertion = types.MotionGraphicsInsertion(jtv) } - case "motionGraphicsSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsSettings(&sv.MotionGraphicsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -39008,7 +37459,6 @@ func awsRestjson1_deserializeDocumentMotionGraphicsSettings(v **types.MotionGrap if err := awsRestjson1_deserializeDocumentHtmlMotionGraphicsSettings(&sv.HtmlMotionGraphicsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -39073,7 +37523,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -39082,7 +37531,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.CodingMode = types.Mp2CodingMode(jtv) } - case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -39116,7 +37564,6 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } } - default: _, _ = key, value @@ -39152,7 +37599,6 @@ func awsRestjson1_deserializeDocumentMpeg2FilterSettings(v **types.Mpeg2FilterSe if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } - default: _, _ = key, value @@ -39192,7 +37638,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AdaptiveQuantization = types.Mpeg2AdaptiveQuantization(jtv) } - case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -39201,7 +37646,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AfdSignaling = types.AfdSignaling(jtv) } - case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -39210,7 +37654,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ColorMetadata = types.Mpeg2ColorMetadata(jtv) } - case "colorSpace": if value != nil { jtv, ok := value.(string) @@ -39219,7 +37662,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ColorSpace = types.Mpeg2ColorSpace(jtv) } - case "displayAspectRatio": if value != nil { jtv, ok := value.(string) @@ -39228,12 +37670,10 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.DisplayAspectRatio = types.Mpeg2DisplayRatio(jtv) } - case "filterSettings": if err := awsRestjson1_deserializeDocumentMpeg2FilterSettings(&sv.FilterSettings, value); err != nil { return err } - case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -39242,7 +37682,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FixedAfd = types.FixedAfd(jtv) } - case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -39255,7 +37694,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateDenominator = ptr.Int32(int32(i64)) } - case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -39268,7 +37706,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateNumerator = ptr.Int32(int32(i64)) } - case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -39281,7 +37718,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopClosedCadence = ptr.Int32(int32(i64)) } - case "gopNumBFrames": if value != nil { jtv, ok := value.(json.Number) @@ -39294,7 +37730,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopNumBFrames = ptr.Int32(int32(i64)) } - case "gopSize": if value != nil { switch jtv := value.(type) { @@ -39328,7 +37763,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } } - case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -39337,7 +37771,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopSizeUnits = types.Mpeg2GopSizeUnits(jtv) } - case "scanType": if value != nil { jtv, ok := value.(string) @@ -39346,7 +37779,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ScanType = types.Mpeg2ScanType(jtv) } - case "subgopLength": if value != nil { jtv, ok := value.(string) @@ -39355,12 +37787,10 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SubgopLength = types.Mpeg2SubGopLength(jtv) } - case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } - case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -39369,7 +37799,6 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.TimecodeInsertion = types.Mpeg2TimecodeInsertionBehavior(jtv) } - default: _, _ = key, value @@ -39409,7 +37838,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AcquisitionPointId = ptr.String(jtv) } - case "audioOnlyTimecodeControl": if value != nil { jtv, ok := value.(string) @@ -39418,7 +37846,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AudioOnlyTimecodeControl = types.SmoothGroupAudioOnlyTimecodeControl(jtv) } - case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -39427,7 +37854,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.CertificateMode = types.SmoothGroupCertificateMode(jtv) } - case "connectionRetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -39440,12 +37866,10 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -39454,7 +37878,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventId = ptr.String(jtv) } - case "eventIdMode": if value != nil { jtv, ok := value.(string) @@ -39463,7 +37886,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventIdMode = types.SmoothGroupEventIdMode(jtv) } - case "eventStopBehavior": if value != nil { jtv, ok := value.(string) @@ -39472,7 +37894,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventStopBehavior = types.SmoothGroupEventStopBehavior(jtv) } - case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -39485,7 +37906,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FilecacheDuration = ptr.Int32(int32(i64)) } - case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -39498,7 +37918,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLength = ptr.Int32(int32(i64)) } - case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -39507,7 +37926,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.InputLossAction = types.InputLossActionForMsSmoothOut(jtv) } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -39520,7 +37938,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.NumRetries = ptr.Int32(int32(i64)) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -39533,7 +37950,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.RestartDelay = ptr.Int32(int32(i64)) } - case "segmentationMode": if value != nil { jtv, ok := value.(string) @@ -39542,7 +37958,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SegmentationMode = types.SmoothGroupSegmentationMode(jtv) } - case "sendDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -39555,7 +37970,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SendDelayMs = ptr.Int32(int32(i64)) } - case "sparseTrackType": if value != nil { jtv, ok := value.(string) @@ -39564,7 +37978,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SparseTrackType = types.SmoothGroupSparseTrackType(jtv) } - case "streamManifestBehavior": if value != nil { jtv, ok := value.(string) @@ -39573,7 +37986,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.StreamManifestBehavior = types.SmoothGroupStreamManifestBehavior(jtv) } - case "timestampOffset": if value != nil { jtv, ok := value.(string) @@ -39582,7 +37994,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.TimestampOffset = ptr.String(jtv) } - case "timestampOffsetMode": if value != nil { jtv, ok := value.(string) @@ -39591,7 +38002,6 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.TimestampOffsetMode = types.SmoothGroupTimestampOffsetMode(jtv) } - default: _, _ = key, value @@ -39631,7 +38041,6 @@ func awsRestjson1_deserializeDocumentMsSmoothOutputSettings(v **types.MsSmoothOu } sv.H265PackagingType = types.MsSmoothH265PackagingType(jtv) } - case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -39640,7 +38049,6 @@ func awsRestjson1_deserializeDocumentMsSmoothOutputSettings(v **types.MsSmoothOu } sv.NameModifier = ptr.String(jtv) } - default: _, _ = key, value @@ -39680,7 +38088,6 @@ func awsRestjson1_deserializeDocumentMulticastInputSettings(v **types.MulticastI } sv.SourceIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -39716,7 +38123,6 @@ func awsRestjson1_deserializeDocumentMulticastSettings(v **types.MulticastSettin if err := awsRestjson1_deserializeDocument__listOfMulticastSource(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -39756,7 +38162,6 @@ func awsRestjson1_deserializeDocumentMulticastSource(v **types.MulticastSource, } sv.SourceIp = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -39765,7 +38170,6 @@ func awsRestjson1_deserializeDocumentMulticastSource(v **types.MulticastSource, } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -39805,17 +38209,14 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -39824,12 +38225,10 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -39838,7 +38237,6 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -39851,7 +38249,6 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -39864,7 +38261,6 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -39873,12 +38269,10 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -39914,7 +38308,6 @@ func awsRestjson1_deserializeDocumentMultiplexContainerSettings(v **types.Multip if err := awsRestjson1_deserializeDocumentMultiplexM2tsSettings(&sv.MultiplexM2tsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -39985,7 +38378,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AbsentInputAudioBehavior = types.M2tsAbsentInputAudioBehavior(jtv) } - case "arib": if value != nil { jtv, ok := value.(string) @@ -39994,7 +38386,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Arib = types.M2tsArib(jtv) } - case "audioBufferModel": if value != nil { jtv, ok := value.(string) @@ -40003,7 +38394,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } - case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -40016,7 +38406,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } - case "audioStreamType": if value != nil { jtv, ok := value.(string) @@ -40025,7 +38414,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioStreamType = types.M2tsAudioStreamType(jtv) } - case "ccDescriptor": if value != nil { jtv, ok := value.(string) @@ -40034,7 +38422,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.CcDescriptor = types.M2tsCcDescriptor(jtv) } - case "ebif": if value != nil { jtv, ok := value.(string) @@ -40043,7 +38430,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Ebif = types.M2tsEbifControl(jtv) } - case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -40052,7 +38438,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } - case "klv": if value != nil { jtv, ok := value.(string) @@ -40061,7 +38446,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Klv = types.M2tsKlv(jtv) } - case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -40070,7 +38454,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.NielsenId3Behavior = types.M2tsNielsenId3Behavior(jtv) } - case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -40079,7 +38462,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.PcrControl = types.M2tsPcrControl(jtv) } - case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -40092,7 +38474,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.PcrPeriod = ptr.Int32(int32(i64)) } - case "scte35Control": if value != nil { jtv, ok := value.(string) @@ -40101,7 +38482,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Scte35Control = types.M2tsScte35Control(jtv) } - case "scte35PrerollPullupMilliseconds": if value != nil { switch jtv := value.(type) { @@ -40135,7 +38515,6 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } } - default: _, _ = key, value @@ -40175,7 +38554,6 @@ func awsRestjson1_deserializeDocumentMultiplexMediaConnectOutputDestinationSetti } sv.EntitlementArn = ptr.String(jtv) } - default: _, _ = key, value @@ -40211,7 +38589,6 @@ func awsRestjson1_deserializeDocumentMultiplexOutputDestination(v **types.Multip if err := awsRestjson1_deserializeDocumentMultiplexMediaConnectOutputDestinationSettings(&sv.MediaConnectSettings, value); err != nil { return err } - default: _, _ = key, value @@ -40247,12 +38624,10 @@ func awsRestjson1_deserializeDocumentMultiplexOutputSettings(v **types.Multiplex if err := awsRestjson1_deserializeDocumentMultiplexContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - default: _, _ = key, value @@ -40292,22 +38667,18 @@ func awsRestjson1_deserializeDocumentMultiplexProgram(v **types.MultiplexProgram } sv.ChannelId = ptr.String(jtv) } - case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } - case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } - case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } - case "programName": if value != nil { jtv, ok := value.(string) @@ -40316,7 +38687,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgram(v **types.MultiplexProgram } sv.ProgramName = ptr.String(jtv) } - default: _, _ = key, value @@ -40356,7 +38726,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings( } sv.MultiplexId = ptr.String(jtv) } - case "programName": if value != nil { jtv, ok := value.(string) @@ -40365,7 +38734,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings( } sv.ProgramName = ptr.String(jtv) } - default: _, _ = key, value @@ -40409,17 +38777,14 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.AribCaptionsPid = ptr.Int32(int32(i64)) } - case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.AudioPids, value); err != nil { return err } - case "dvbSubPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.DvbSubPids, value); err != nil { return err } - case "dvbTeletextPid": if value != nil { jtv, ok := value.(json.Number) @@ -40432,12 +38797,10 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.DvbTeletextPid = ptr.Int32(int32(i64)) } - case "dvbTeletextPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.DvbTeletextPids, value); err != nil { return err } - case "ecmPid": if value != nil { jtv, ok := value.(json.Number) @@ -40450,7 +38813,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EcmPid = ptr.Int32(int32(i64)) } - case "etvPlatformPid": if value != nil { jtv, ok := value.(json.Number) @@ -40463,7 +38825,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EtvPlatformPid = ptr.Int32(int32(i64)) } - case "etvSignalPid": if value != nil { jtv, ok := value.(json.Number) @@ -40476,12 +38837,10 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EtvSignalPid = ptr.Int32(int32(i64)) } - case "klvDataPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.KlvDataPids, value); err != nil { return err } - case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -40494,7 +38853,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PcrPid = ptr.Int32(int32(i64)) } - case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -40507,7 +38865,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PmtPid = ptr.Int32(int32(i64)) } - case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -40520,12 +38877,10 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } - case "scte27Pids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.Scte27Pids, value); err != nil { return err } - case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -40538,7 +38893,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.Scte35Pid = ptr.Int32(int32(i64)) } - case "smpte2038Pid": if value != nil { jtv, ok := value.(json.Number) @@ -40551,7 +38905,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.Smpte2038Pid = ptr.Int32(int32(i64)) } - case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -40564,7 +38917,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } - case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -40577,7 +38929,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.VideoPid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40617,7 +38968,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPipelineDetail(v **types.Mu } sv.ActiveChannelPipeline = ptr.String(jtv) } - case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -40626,7 +38976,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPipelineDetail(v **types.Mu } sv.PipelineId = ptr.String(jtv) } - default: _, _ = key, value @@ -40666,7 +39015,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(v **types } sv.ProviderName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -40675,7 +39023,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(v **types } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -40715,7 +39062,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSettings(v **types.Multiple } sv.PreferredChannelPipeline = types.PreferredChannelPipeline(jtv) } - case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -40728,17 +39074,14 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSettings(v **types.Multiple } sv.ProgramNumber = ptr.Int32(int32(i64)) } - case "serviceDescriptor": if err := awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(&sv.ServiceDescriptor, value); err != nil { return err } - case "videoSettings": if err := awsRestjson1_deserializeDocumentMultiplexVideoSettings(&sv.VideoSettings, value); err != nil { return err } - default: _, _ = key, value @@ -40778,7 +39121,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSummary(v **types.Multiplex } sv.ChannelId = ptr.String(jtv) } - case "programName": if value != nil { jtv, ok := value.(string) @@ -40787,7 +39129,6 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSummary(v **types.Multiplex } sv.ProgramName = ptr.String(jtv) } - default: _, _ = key, value @@ -40831,7 +39172,6 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.MaximumVideoBufferDelayMilliseconds = ptr.Int32(int32(i64)) } - case "transportStreamBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -40844,7 +39184,6 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamBitrate = ptr.Int32(int32(i64)) } - case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -40857,7 +39196,6 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamId = ptr.Int32(int32(i64)) } - case "transportStreamReservedBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -40870,7 +39208,6 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamReservedBitrate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40914,7 +39251,6 @@ func awsRestjson1_deserializeDocumentMultiplexSettingsSummary(v **types.Multiple } sv.TransportStreamBitrate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40958,7 +39294,6 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.MaximumBitrate = ptr.Int32(int32(i64)) } - case "minimumBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -40971,7 +39306,6 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.MinimumBitrate = ptr.Int32(int32(i64)) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -40984,7 +39318,6 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41024,12 +39357,10 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Arn = ptr.String(jtv) } - case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -41038,12 +39369,10 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Id = ptr.String(jtv) } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettingsSummary(&sv.MultiplexSettings, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -41052,7 +39381,6 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Name = ptr.String(jtv) } - case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -41065,7 +39393,6 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } - case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -41078,7 +39405,6 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.ProgramCount = ptr.Int32(int32(i64)) } - case "state": if value != nil { jtv, ok := value.(string) @@ -41087,12 +39413,10 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.State = types.MultiplexState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -41136,12 +39460,10 @@ func awsRestjson1_deserializeDocumentMultiplexVideoSettings(v **types.MultiplexV } sv.ConstantBitrate = ptr.Int32(int32(i64)) } - case "statmuxSettings": if err := awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(&sv.StatmuxSettings, value); err != nil { return err } - default: _, _ = key, value @@ -41177,12 +39499,10 @@ func awsRestjson1_deserializeDocumentNetworkInputSettings(v **types.NetworkInput if err := awsRestjson1_deserializeDocumentHlsInputSettings(&sv.HlsInputSettings, value); err != nil { return err } - case "multicastInputSettings": if err := awsRestjson1_deserializeDocumentMulticastInputSettings(&sv.MulticastInputSettings, value); err != nil { return err } - case "serverValidation": if value != nil { jtv, ok := value.(string) @@ -41191,7 +39511,6 @@ func awsRestjson1_deserializeDocumentNetworkInputSettings(v **types.NetworkInput } sv.ServerValidation = types.NetworkInputServerValidation(jtv) } - default: _, _ = key, value @@ -41231,7 +39550,6 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.CbetCheckDigitString = ptr.String(jtv) } - case "cbetStepaside": if value != nil { jtv, ok := value.(string) @@ -41240,7 +39558,6 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.CbetStepaside = types.NielsenWatermarksCbetStepaside(jtv) } - case "csid": if value != nil { jtv, ok := value.(string) @@ -41249,7 +39566,6 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.Csid = ptr.String(jtv) } - default: _, _ = key, value @@ -41289,7 +39605,6 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.DistributorId = ptr.String(jtv) } - case "nielsenPcmToId3Tagging": if value != nil { jtv, ok := value.(string) @@ -41298,7 +39613,6 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.NielsenPcmToId3Tagging = types.NielsenPcmToId3TaggingState(jtv) } - default: _, _ = key, value @@ -41338,7 +39652,6 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } sv.CheckDigitString = ptr.String(jtv) } - case "sid": if value != nil { switch jtv := value.(type) { @@ -41372,7 +39685,6 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } } - case "timezone": if value != nil { jtv, ok := value.(string) @@ -41381,7 +39693,6 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } sv.Timezone = types.NielsenWatermarkTimezones(jtv) } - default: _, _ = key, value @@ -41417,7 +39728,6 @@ func awsRestjson1_deserializeDocumentNielsenWatermarksSettings(v **types.Nielsen if err := awsRestjson1_deserializeDocumentNielsenCBET(&sv.NielsenCbetSettings, value); err != nil { return err } - case "nielsenDistributionType": if value != nil { jtv, ok := value.(string) @@ -41426,12 +39736,10 @@ func awsRestjson1_deserializeDocumentNielsenWatermarksSettings(v **types.Nielsen } sv.NielsenDistributionType = types.NielsenWatermarksDistributionTypes(jtv) } - case "nielsenNaesIiNwSettings": if err := awsRestjson1_deserializeDocumentNielsenNaesIiNw(&sv.NielsenNaesIiNwSettings, value); err != nil { return err } - default: _, _ = key, value @@ -41471,7 +39779,6 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.LogicalInterfaceName = ptr.String(jtv) } - case "networkInterfaceMode": if value != nil { jtv, ok := value.(string) @@ -41480,7 +39787,6 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.NetworkInterfaceMode = types.NetworkInterfaceMode(jtv) } - case "physicalInterfaceName": if value != nil { jtv, ok := value.(string) @@ -41489,7 +39795,6 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.PhysicalInterfaceName = ptr.String(jtv) } - default: _, _ = key, value @@ -41519,15 +39824,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41535,15 +39834,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41578,7 +39873,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Arn = ptr.String(jtv) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -41587,7 +39881,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -41600,7 +39893,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -41609,7 +39901,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.DurationUnits = types.OfferingDurationUnits(jtv) } - case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -41643,7 +39934,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -41652,7 +39942,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingDescription = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -41661,7 +39950,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingId = ptr.String(jtv) } - case "offeringType": if value != nil { jtv, ok := value.(string) @@ -41670,7 +39958,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingType = types.OfferingType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -41679,12 +39966,10 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Region = ptr.String(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -41718,7 +40003,6 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } } - default: _, _ = key, value @@ -41754,12 +40038,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AudioDescriptionNames, value); err != nil { return err } - case "captionDescriptionNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CaptionDescriptionNames, value); err != nil { return err } - case "outputName": if value != nil { jtv, ok := value.(string) @@ -41768,12 +40050,10 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputName = ptr.String(jtv) } - case "outputSettings": if err := awsRestjson1_deserializeDocumentOutputSettings(&sv.OutputSettings, value); err != nil { return err } - case "videoDescriptionName": if value != nil { jtv, ok := value.(string) @@ -41782,7 +40062,6 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.VideoDescriptionName = ptr.String(jtv) } - default: _, _ = key, value @@ -41822,27 +40101,22 @@ func awsRestjson1_deserializeDocumentOutputDestination(v **types.OutputDestinati } sv.Id = ptr.String(jtv) } - case "mediaPackageSettings": if err := awsRestjson1_deserializeDocument__listOfMediaPackageOutputDestinationSettings(&sv.MediaPackageSettings, value); err != nil { return err } - case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings(&sv.MultiplexSettings, value); err != nil { return err } - case "settings": if err := awsRestjson1_deserializeDocument__listOfOutputDestinationSettings(&sv.Settings, value); err != nil { return err } - case "srtSettings": if err := awsRestjson1_deserializeDocument__listOfSrtOutputDestinationSettings(&sv.SrtSettings, value); err != nil { return err } - default: _, _ = key, value @@ -41882,7 +40156,6 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.PasswordParam = ptr.String(jtv) } - case "streamName": if value != nil { jtv, ok := value.(string) @@ -41891,7 +40164,6 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.StreamName = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -41900,7 +40172,6 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.Url = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -41909,7 +40180,6 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -41949,17 +40219,14 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.Name = ptr.String(jtv) } - case "outputGroupSettings": if err := awsRestjson1_deserializeDocumentOutputGroupSettings(&sv.OutputGroupSettings, value); err != nil { return err } - case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -41995,52 +40262,42 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe if err := awsRestjson1_deserializeDocumentArchiveGroupSettings(&sv.ArchiveGroupSettings, value); err != nil { return err } - case "cmafIngestGroupSettings": if err := awsRestjson1_deserializeDocumentCmafIngestGroupSettings(&sv.CmafIngestGroupSettings, value); err != nil { return err } - case "frameCaptureGroupSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureGroupSettings(&sv.FrameCaptureGroupSettings, value); err != nil { return err } - case "hlsGroupSettings": if err := awsRestjson1_deserializeDocumentHlsGroupSettings(&sv.HlsGroupSettings, value); err != nil { return err } - case "mediaPackageGroupSettings": if err := awsRestjson1_deserializeDocumentMediaPackageGroupSettings(&sv.MediaPackageGroupSettings, value); err != nil { return err } - case "msSmoothGroupSettings": if err := awsRestjson1_deserializeDocumentMsSmoothGroupSettings(&sv.MsSmoothGroupSettings, value); err != nil { return err } - case "multiplexGroupSettings": if err := awsRestjson1_deserializeDocumentMultiplexGroupSettings(&sv.MultiplexGroupSettings, value); err != nil { return err } - case "rtmpGroupSettings": if err := awsRestjson1_deserializeDocumentRtmpGroupSettings(&sv.RtmpGroupSettings, value); err != nil { return err } - case "srtGroupSettings": if err := awsRestjson1_deserializeDocumentSrtGroupSettings(&sv.SrtGroupSettings, value); err != nil { return err } - case "udpGroupSettings": if err := awsRestjson1_deserializeDocumentUdpGroupSettings(&sv.UdpGroupSettings, value); err != nil { return err } - default: _, _ = key, value @@ -42080,7 +40337,6 @@ func awsRestjson1_deserializeDocumentOutputLocationRef(v **types.OutputLocationR } sv.DestinationRefId = ptr.String(jtv) } - default: _, _ = key, value @@ -42116,12 +40372,10 @@ func awsRestjson1_deserializeDocumentOutputLockingSettings(v **types.OutputLocki if err := awsRestjson1_deserializeDocumentEpochLockingSettings(&sv.EpochLockingSettings, value); err != nil { return err } - case "pipelineLockingSettings": if err := awsRestjson1_deserializeDocumentPipelineLockingSettings(&sv.PipelineLockingSettings, value); err != nil { return err } - default: _, _ = key, value @@ -42157,52 +40411,42 @@ func awsRestjson1_deserializeDocumentOutputSettings(v **types.OutputSettings, va if err := awsRestjson1_deserializeDocumentArchiveOutputSettings(&sv.ArchiveOutputSettings, value); err != nil { return err } - case "cmafIngestOutputSettings": if err := awsRestjson1_deserializeDocumentCmafIngestOutputSettings(&sv.CmafIngestOutputSettings, value); err != nil { return err } - case "frameCaptureOutputSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureOutputSettings(&sv.FrameCaptureOutputSettings, value); err != nil { return err } - case "hlsOutputSettings": if err := awsRestjson1_deserializeDocumentHlsOutputSettings(&sv.HlsOutputSettings, value); err != nil { return err } - case "mediaPackageOutputSettings": if err := awsRestjson1_deserializeDocumentMediaPackageOutputSettings(&sv.MediaPackageOutputSettings, value); err != nil { return err } - case "msSmoothOutputSettings": if err := awsRestjson1_deserializeDocumentMsSmoothOutputSettings(&sv.MsSmoothOutputSettings, value); err != nil { return err } - case "multiplexOutputSettings": if err := awsRestjson1_deserializeDocumentMultiplexOutputSettings(&sv.MultiplexOutputSettings, value); err != nil { return err } - case "rtmpOutputSettings": if err := awsRestjson1_deserializeDocumentRtmpOutputSettings(&sv.RtmpOutputSettings, value); err != nil { return err } - case "srtOutputSettings": if err := awsRestjson1_deserializeDocumentSrtOutputSettings(&sv.SrtOutputSettings, value); err != nil { return err } - case "udpOutputSettings": if err := awsRestjson1_deserializeDocumentUdpOutputSettings(&sv.UdpOutputSettings, value); err != nil { return err } - default: _, _ = key, value @@ -42269,7 +40513,6 @@ func awsRestjson1_deserializeDocumentPauseStateScheduleActionSettings(v **types. if err := awsRestjson1_deserializeDocument__listOfPipelinePauseStateSettings(&sv.Pipelines, value); err != nil { return err } - default: _, _ = key, value @@ -42309,7 +40552,6 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveInputAttachmentName = ptr.String(jtv) } - case "activeInputSwitchActionName": if value != nil { jtv, ok := value.(string) @@ -42318,7 +40560,6 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveInputSwitchActionName = ptr.String(jtv) } - case "activeMotionGraphicsActionName": if value != nil { jtv, ok := value.(string) @@ -42327,7 +40568,6 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveMotionGraphicsActionName = ptr.String(jtv) } - case "activeMotionGraphicsUri": if value != nil { jtv, ok := value.(string) @@ -42336,7 +40576,6 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveMotionGraphicsUri = ptr.String(jtv) } - case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -42345,7 +40584,6 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.PipelineId = ptr.String(jtv) } - default: _, _ = key, value @@ -42416,7 +40654,6 @@ func awsRestjson1_deserializeDocumentPipelinePauseStateSettings(v **types.Pipeli } sv.PipelineId = types.PipelineId(jtv) } - default: _, _ = key, value @@ -42545,7 +40782,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu if err := awsRestjson1_deserializeDocument__listOfAudioChannelMapping(&sv.ChannelMappings, value); err != nil { return err } - case "channelsIn": if value != nil { jtv, ok := value.(json.Number) @@ -42558,7 +40794,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsIn = ptr.Int32(int32(i64)) } - case "channelsOut": if value != nil { jtv, ok := value.(json.Number) @@ -42571,7 +40806,6 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsOut = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42611,7 +40845,6 @@ func awsRestjson1_deserializeDocumentRenewalSettings(v **types.RenewalSettings, } sv.AutomaticRenewal = types.ReservationAutomaticRenewal(jtv) } - case "renewalCount": if value != nil { jtv, ok := value.(json.Number) @@ -42624,7 +40857,6 @@ func awsRestjson1_deserializeDocumentRenewalSettings(v **types.RenewalSettings, } sv.RenewalCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42664,7 +40896,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Arn = ptr.String(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -42677,7 +40908,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Count = ptr.Int32(int32(i64)) } - case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -42686,7 +40916,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.CurrencyCode = ptr.String(jtv) } - case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -42699,7 +40928,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Duration = ptr.Int32(int32(i64)) } - case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -42708,7 +40936,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.DurationUnits = types.OfferingDurationUnits(jtv) } - case "end": if value != nil { jtv, ok := value.(string) @@ -42717,7 +40944,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.End = ptr.String(jtv) } - case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -42751,7 +40977,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } } - case "name": if value != nil { jtv, ok := value.(string) @@ -42760,7 +40985,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Name = ptr.String(jtv) } - case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -42769,7 +40993,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingDescription = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -42778,7 +41001,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingId = ptr.String(jtv) } - case "offeringType": if value != nil { jtv, ok := value.(string) @@ -42787,7 +41009,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingType = types.OfferingType(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -42796,12 +41017,10 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Region = ptr.String(jtv) } - case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } - case "reservationId": if value != nil { jtv, ok := value.(string) @@ -42810,12 +41029,10 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationId = ptr.String(jtv) } - case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } - case "start": if value != nil { jtv, ok := value.(string) @@ -42824,7 +41041,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Start = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -42833,12 +41049,10 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.State = types.ReservationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -42872,7 +41086,6 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } } - default: _, _ = key, value @@ -42912,7 +41125,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.ChannelClass = types.ChannelClass(jtv) } - case "codec": if value != nil { jtv, ok := value.(string) @@ -42921,7 +41133,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.Codec = types.ReservationCodec(jtv) } - case "maximumBitrate": if value != nil { jtv, ok := value.(string) @@ -42930,7 +41141,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.MaximumBitrate = types.ReservationMaximumBitrate(jtv) } - case "maximumFramerate": if value != nil { jtv, ok := value.(string) @@ -42939,7 +41149,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.MaximumFramerate = types.ReservationMaximumFramerate(jtv) } - case "resolution": if value != nil { jtv, ok := value.(string) @@ -42948,7 +41157,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.Resolution = types.ReservationResolution(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -42957,7 +41165,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.ResourceType = types.ReservationResourceType(jtv) } - case "specialFeature": if value != nil { jtv, ok := value.(string) @@ -42966,7 +41173,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.SpecialFeature = types.ReservationSpecialFeature(jtv) } - case "videoQuality": if value != nil { jtv, ok := value.(string) @@ -42975,7 +41181,6 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.VideoQuality = types.ReservationVideoQuality(jtv) } - default: _, _ = key, value @@ -43015,7 +41220,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Cidr = ptr.String(jtv) } - case "gateway": if value != nil { jtv, ok := value.(string) @@ -43024,7 +41228,6 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Gateway = ptr.String(jtv) } - default: _, _ = key, value @@ -43091,7 +41294,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin if err := awsRestjson1_deserializeDocument__listOfRtmpAdMarkers(&sv.AdMarkers, value); err != nil { return err } - case "authenticationScheme": if value != nil { jtv, ok := value.(string) @@ -43100,7 +41302,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.AuthenticationScheme = types.AuthenticationScheme(jtv) } - case "cacheFullBehavior": if value != nil { jtv, ok := value.(string) @@ -43109,7 +41310,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CacheFullBehavior = types.RtmpCacheFullBehavior(jtv) } - case "cacheLength": if value != nil { jtv, ok := value.(json.Number) @@ -43122,7 +41322,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CacheLength = ptr.Int32(int32(i64)) } - case "captionData": if value != nil { jtv, ok := value.(string) @@ -43131,7 +41330,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CaptionData = types.RtmpCaptionData(jtv) } - case "includeFillerNalUnits": if value != nil { jtv, ok := value.(string) @@ -43140,7 +41338,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.IncludeFillerNalUnits = types.IncludeFillerNalUnits(jtv) } - case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -43149,7 +41346,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.InputLossAction = types.InputLossActionForRtmpOut(jtv) } - case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -43162,7 +41358,6 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43202,7 +41397,6 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.CertificateMode = types.RtmpOutputCertificateMode(jtv) } - case "connectionRetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -43215,12 +41409,10 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -43233,7 +41425,6 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.NumRetries = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43273,17 +41464,14 @@ func awsRestjson1_deserializeDocumentScheduleAction(v **types.ScheduleAction, va } sv.ActionName = ptr.String(jtv) } - case "scheduleActionSettings": if err := awsRestjson1_deserializeDocumentScheduleActionSettings(&sv.ScheduleActionSettings, value); err != nil { return err } - case "scheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentScheduleActionStartSettings(&sv.ScheduleActionStartSettings, value); err != nil { return err } - default: _, _ = key, value @@ -43319,77 +41507,62 @@ func awsRestjson1_deserializeDocumentScheduleActionSettings(v **types.ScheduleAc if err := awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings(&sv.HlsId3SegmentTaggingSettings, value); err != nil { return err } - case "hlsTimedMetadataSettings": if err := awsRestjson1_deserializeDocumentHlsTimedMetadataScheduleActionSettings(&sv.HlsTimedMetadataSettings, value); err != nil { return err } - case "inputPrepareSettings": if err := awsRestjson1_deserializeDocumentInputPrepareScheduleActionSettings(&sv.InputPrepareSettings, value); err != nil { return err } - case "inputSwitchSettings": if err := awsRestjson1_deserializeDocumentInputSwitchScheduleActionSettings(&sv.InputSwitchSettings, value); err != nil { return err } - case "motionGraphicsImageActivateSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSettings(&sv.MotionGraphicsImageActivateSettings, value); err != nil { return err } - case "motionGraphicsImageDeactivateSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsDeactivateScheduleActionSettings(&sv.MotionGraphicsImageDeactivateSettings, value); err != nil { return err } - case "pauseStateSettings": if err := awsRestjson1_deserializeDocumentPauseStateScheduleActionSettings(&sv.PauseStateSettings, value); err != nil { return err } - case "scte35InputSettings": if err := awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(&sv.Scte35InputSettings, value); err != nil { return err } - case "scte35ReturnToNetworkSettings": if err := awsRestjson1_deserializeDocumentScte35ReturnToNetworkScheduleActionSettings(&sv.Scte35ReturnToNetworkSettings, value); err != nil { return err } - case "scte35SpliceInsertSettings": if err := awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(&sv.Scte35SpliceInsertSettings, value); err != nil { return err } - case "scte35TimeSignalSettings": if err := awsRestjson1_deserializeDocumentScte35TimeSignalScheduleActionSettings(&sv.Scte35TimeSignalSettings, value); err != nil { return err } - case "staticImageActivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(&sv.StaticImageActivateSettings, value); err != nil { return err } - case "staticImageDeactivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings(&sv.StaticImageDeactivateSettings, value); err != nil { return err } - case "staticImageOutputActivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSettings(&sv.StaticImageOutputActivateSettings, value); err != nil { return err } - case "staticImageOutputDeactivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSettings(&sv.StaticImageOutputDeactivateSettings, value); err != nil { return err } - default: _, _ = key, value @@ -43425,17 +41598,14 @@ func awsRestjson1_deserializeDocumentScheduleActionStartSettings(v **types.Sched if err := awsRestjson1_deserializeDocumentFixedModeScheduleActionStartSettings(&sv.FixedModeScheduleActionStartSettings, value); err != nil { return err } - case "followModeScheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(&sv.FollowModeScheduleActionStartSettings, value); err != nil { return err } - case "immediateModeScheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentImmediateModeScheduleActionStartSettings(&sv.ImmediateModeScheduleActionStartSettings, value); err != nil { return err } - default: _, _ = key, value @@ -43506,7 +41676,6 @@ func awsRestjson1_deserializeDocumentScte20SourceSettings(v **types.Scte20Source } sv.Convert608To708 = types.Scte20Convert608To708(jtv) } - case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -43519,7 +41688,6 @@ func awsRestjson1_deserializeDocumentScte20SourceSettings(v **types.Scte20Source } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43590,7 +41758,6 @@ func awsRestjson1_deserializeDocumentScte27SourceSettings(v **types.Scte27Source } sv.OcrLanguage = types.Scte27OcrLanguage(jtv) } - case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -43603,7 +41770,6 @@ func awsRestjson1_deserializeDocumentScte27SourceSettings(v **types.Scte27Source } sv.Pid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43643,7 +41809,6 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.ArchiveAllowedFlag = types.Scte35ArchiveAllowedFlag(jtv) } - case "deviceRestrictions": if value != nil { jtv, ok := value.(string) @@ -43652,7 +41817,6 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.DeviceRestrictions = types.Scte35DeviceRestrictions(jtv) } - case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -43661,7 +41825,6 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.NoRegionalBlackoutFlag = types.Scte35NoRegionalBlackoutFlag(jtv) } - case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -43670,7 +41833,6 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.WebDeliveryAllowedFlag = types.Scte35WebDeliveryAllowedFlag(jtv) } - default: _, _ = key, value @@ -43706,7 +41868,6 @@ func awsRestjson1_deserializeDocumentScte35Descriptor(v **types.Scte35Descriptor if err := awsRestjson1_deserializeDocumentScte35DescriptorSettings(&sv.Scte35DescriptorSettings, value); err != nil { return err } - default: _, _ = key, value @@ -43742,7 +41903,6 @@ func awsRestjson1_deserializeDocumentScte35DescriptorSettings(v **types.Scte35De if err := awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(&sv.SegmentationDescriptorScte35DescriptorSettings, value); err != nil { return err } - default: _, _ = key, value @@ -43782,7 +41942,6 @@ func awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(v **types } sv.InputAttachmentNameReference = ptr.String(jtv) } - case "mode": if value != nil { jtv, ok := value.(string) @@ -43791,7 +41950,6 @@ func awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(v **types } sv.Mode = types.Scte35InputMode(jtv) } - default: _, _ = key, value @@ -43835,7 +41993,6 @@ func awsRestjson1_deserializeDocumentScte35ReturnToNetworkScheduleActionSettings } sv.SpliceEventId = ptr.Int64(i64) } - default: _, _ = key, value @@ -43871,7 +42028,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte if err := awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(&sv.DeliveryRestrictions, value); err != nil { return err } - case "segmentationCancelIndicator": if value != nil { jtv, ok := value.(string) @@ -43880,7 +42036,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationCancelIndicator = types.Scte35SegmentationCancelIndicator(jtv) } - case "segmentationDuration": if value != nil { jtv, ok := value.(json.Number) @@ -43893,7 +42048,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationDuration = ptr.Int64(i64) } - case "segmentationEventId": if value != nil { jtv, ok := value.(json.Number) @@ -43906,7 +42060,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationEventId = ptr.Int64(i64) } - case "segmentationTypeId": if value != nil { jtv, ok := value.(json.Number) @@ -43919,7 +42072,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationTypeId = ptr.Int32(int32(i64)) } - case "segmentationUpid": if value != nil { jtv, ok := value.(string) @@ -43928,7 +42080,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationUpid = ptr.String(jtv) } - case "segmentationUpidType": if value != nil { jtv, ok := value.(json.Number) @@ -43941,7 +42092,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationUpidType = ptr.Int32(int32(i64)) } - case "segmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -43954,7 +42104,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentNum = ptr.Int32(int32(i64)) } - case "segmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -43967,7 +42116,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentsExpected = ptr.Int32(int32(i64)) } - case "subSegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -43980,7 +42128,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SubSegmentNum = ptr.Int32(int32(i64)) } - case "subSegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -43993,7 +42140,6 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SubSegmentsExpected = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44037,7 +42183,6 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.AdAvailOffset = ptr.Int32(int32(i64)) } - case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -44046,7 +42191,6 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.NoRegionalBlackoutFlag = types.Scte35SpliceInsertNoRegionalBlackoutBehavior(jtv) } - case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -44055,7 +42199,6 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.WebDeliveryAllowedFlag = types.Scte35SpliceInsertWebDeliveryAllowedBehavior(jtv) } - default: _, _ = key, value @@ -44099,7 +42242,6 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(v } sv.Duration = ptr.Int64(i64) } - case "spliceEventId": if value != nil { jtv, ok := value.(json.Number) @@ -44112,7 +42254,6 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(v } sv.SpliceEventId = ptr.Int64(i64) } - default: _, _ = key, value @@ -44156,7 +42297,6 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.AdAvailOffset = ptr.Int32(int32(i64)) } - case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -44165,7 +42305,6 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.NoRegionalBlackoutFlag = types.Scte35AposNoRegionalBlackoutBehavior(jtv) } - case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -44174,7 +42313,6 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.WebDeliveryAllowedFlag = types.Scte35AposWebDeliveryAllowedBehavior(jtv) } - default: _, _ = key, value @@ -44210,7 +42348,6 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalScheduleActionSettings(v ** if err := awsRestjson1_deserializeDocument__listOfScte35Descriptor(&sv.Scte35Descriptors, value); err != nil { return err } - default: _, _ = key, value @@ -44250,7 +42387,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -44263,7 +42399,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -44272,7 +42407,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -44281,7 +42415,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -44294,7 +42427,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.ModifiedAt = ptr.Time(t) } - case "monitorDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -44303,7 +42435,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.MonitorDeploymentStatus = types.SignalMapMonitorDeploymentStatus(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -44312,7 +42443,6 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -44321,12 +42451,10 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Status = types.SignalMapStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -44397,7 +42525,6 @@ func awsRestjson1_deserializeDocumentSrtCallerDecryption(v **types.SrtCallerDecr } sv.Algorithm = types.Algorithm(jtv) } - case "passphraseSecretArn": if value != nil { jtv, ok := value.(string) @@ -44406,7 +42533,6 @@ func awsRestjson1_deserializeDocumentSrtCallerDecryption(v **types.SrtCallerDecr } sv.PassphraseSecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -44442,7 +42568,6 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, if err := awsRestjson1_deserializeDocumentSrtCallerDecryption(&sv.Decryption, value); err != nil { return err } - case "minimumLatency": if value != nil { jtv, ok := value.(json.Number) @@ -44455,7 +42580,6 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.MinimumLatency = ptr.Int32(int32(i64)) } - case "srtListenerAddress": if value != nil { jtv, ok := value.(string) @@ -44464,7 +42588,6 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.SrtListenerAddress = ptr.String(jtv) } - case "srtListenerPort": if value != nil { jtv, ok := value.(string) @@ -44473,7 +42596,6 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.SrtListenerPort = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -44482,7 +42604,6 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -44522,7 +42643,6 @@ func awsRestjson1_deserializeDocumentSrtGroupSettings(v **types.SrtGroupSettings } sv.InputLossAction = types.InputLossActionForUdpOut(jtv) } - default: _, _ = key, value @@ -44562,7 +42682,6 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.EncryptionPassphraseSecretArn = ptr.String(jtv) } - case "streamId": if value != nil { jtv, ok := value.(string) @@ -44571,7 +42690,6 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.StreamId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -44580,7 +42698,6 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -44624,17 +42741,14 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.BufferMsec = ptr.Int32(int32(i64)) } - case "containerSettings": if err := awsRestjson1_deserializeDocumentUdpContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -44643,7 +42757,6 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.EncryptionType = types.SrtEncryptionType(jtv) } - case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -44656,7 +42769,6 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.Latency = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44692,7 +42804,6 @@ func awsRestjson1_deserializeDocumentSrtSettings(v **types.SrtSettings, value in if err := awsRestjson1_deserializeDocument__listOfSrtCallerSource(&sv.SrtCallerSources, value); err != nil { return err } - default: _, _ = key, value @@ -44732,12 +42843,10 @@ func awsRestjson1_deserializeDocumentStandardHlsSettings(v **types.StandardHlsSe } sv.AudioRenditionSets = ptr.String(jtv) } - case "m3u8Settings": if err := awsRestjson1_deserializeDocumentM3u8Settings(&sv.M3u8Settings, value); err != nil { return err } - default: _, _ = key, value @@ -44777,7 +42886,6 @@ func awsRestjson1_deserializeDocumentStartTimecode(v **types.StartTimecode, valu } sv.Timecode = ptr.String(jtv) } - default: _, _ = key, value @@ -44821,7 +42929,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Duration = ptr.Int32(int32(i64)) } - case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -44834,7 +42941,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.FadeIn = ptr.Int32(int32(i64)) } - case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -44847,7 +42953,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.FadeOut = ptr.Int32(int32(i64)) } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -44860,12 +42965,10 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Height = ptr.Int32(int32(i64)) } - case "image": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Image, value); err != nil { return err } - case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -44878,7 +42981,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.ImageX = ptr.Int32(int32(i64)) } - case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -44891,7 +42993,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.ImageY = ptr.Int32(int32(i64)) } - case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -44904,7 +43005,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Layer = ptr.Int32(int32(i64)) } - case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -44917,7 +43017,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Opacity = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -44930,7 +43029,6 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44974,7 +43072,6 @@ func awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings } sv.FadeOut = ptr.Int32(int32(i64)) } - case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -44987,7 +43084,6 @@ func awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings } sv.Layer = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -45031,7 +43127,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Duration = ptr.Int32(int32(i64)) } - case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -45044,7 +43139,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.FadeIn = ptr.Int32(int32(i64)) } - case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -45057,7 +43151,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.FadeOut = ptr.Int32(int32(i64)) } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -45070,12 +43163,10 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Height = ptr.Int32(int32(i64)) } - case "image": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Image, value); err != nil { return err } - case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -45088,7 +43179,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.ImageX = ptr.Int32(int32(i64)) } - case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -45101,7 +43191,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.ImageY = ptr.Int32(int32(i64)) } - case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -45114,7 +43203,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Layer = ptr.Int32(int32(i64)) } - case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -45127,12 +43215,10 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Opacity = ptr.Int32(int32(i64)) } - case "outputNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.OutputNames, value); err != nil { return err } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -45145,7 +43231,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -45189,7 +43274,6 @@ func awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSe } sv.FadeOut = ptr.Int32(int32(i64)) } - case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -45202,12 +43286,10 @@ func awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSe } sv.Layer = ptr.Int32(int32(i64)) } - case "outputNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.OutputNames, value); err != nil { return err } - default: _, _ = key, value @@ -45243,7 +43325,6 @@ func awsRestjson1_deserializeDocumentStaticKeySettings(v **types.StaticKeySettin if err := awsRestjson1_deserializeDocumentInputLocation(&sv.KeyProviderServer, value); err != nil { return err } - case "staticKeyValue": if value != nil { jtv, ok := value.(string) @@ -45252,7 +43333,6 @@ func awsRestjson1_deserializeDocumentStaticKeySettings(v **types.StaticKeySettin } sv.StaticKeyValue = ptr.String(jtv) } - default: _, _ = key, value @@ -45292,7 +43372,6 @@ func awsRestjson1_deserializeDocumentStopTimecode(v **types.StopTimecode, value } sv.LastFrameClippingBehavior = types.LastFrameClippingBehavior(jtv) } - case "timecode": if value != nil { jtv, ok := value.(string) @@ -45301,7 +43380,6 @@ func awsRestjson1_deserializeDocumentStopTimecode(v **types.StopTimecode, value } sv.Timecode = ptr.String(jtv) } - default: _, _ = key, value @@ -45341,7 +43419,6 @@ func awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(v **types.Succe } sv.DetailsUri = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -45350,7 +43427,6 @@ func awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(v **types.Succe } sv.Status = types.SignalMapMonitorDeploymentStatus(jtv) } - default: _, _ = key, value @@ -45489,7 +43565,6 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo if err := awsRestjson1_deserializeDocumentCaptionRectangle(&sv.OutputRectangle, value); err != nil { return err } - case "pageNumber": if value != nil { jtv, ok := value.(string) @@ -45498,7 +43573,6 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo } sv.PageNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -45538,7 +43612,6 @@ func awsRestjson1_deserializeDocumentTemporalFilterSettings(v **types.TemporalFi } sv.PostFilterSharpening = types.TemporalFilterPostFilterSharpening(jtv) } - case "strength": if value != nil { jtv, ok := value.(string) @@ -45547,7 +43620,6 @@ func awsRestjson1_deserializeDocumentTemporalFilterSettings(v **types.TemporalFi } sv.Strength = types.TemporalFilterStrength(jtv) } - default: _, _ = key, value @@ -45587,7 +43659,6 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.Body = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -45596,7 +43667,6 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.ContentType = ptr.String(jtv) } - case "thumbnailType": if value != nil { jtv, ok := value.(string) @@ -45605,7 +43675,6 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.ThumbnailType = types.ThumbnailType(jtv) } - case "timeStamp": if value != nil { jtv, ok := value.(string) @@ -45618,7 +43687,6 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.TimeStamp = ptr.Time(t) } - default: _, _ = key, value @@ -45658,7 +43726,6 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.State = types.ThumbnailState(jtv) } - default: _, _ = key, value @@ -45698,12 +43765,10 @@ func awsRestjson1_deserializeDocumentThumbnailDetail(v **types.ThumbnailDetail, } sv.PipelineId = ptr.String(jtv) } - case "thumbnails": if err := awsRestjson1_deserializeDocument__listOfThumbnail(&sv.Thumbnails, value); err != nil { return err } - default: _, _ = key, value @@ -45743,7 +43808,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.FontSize = types.TimecodeBurninFontSize(jtv) } - case "position": if value != nil { jtv, ok := value.(string) @@ -45752,7 +43816,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.Position = types.TimecodeBurninPosition(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -45761,7 +43824,6 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -45801,7 +43863,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Source = types.TimecodeConfigSource(jtv) } - case "syncThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -45814,7 +43875,6 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.SyncThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -45844,15 +43904,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -45860,15 +43914,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -45903,7 +43953,6 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.Id = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -45912,7 +43961,6 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.Message = ptr.String(jtv) } - case "targetCustomerId": if value != nil { jtv, ok := value.(string) @@ -45921,7 +43969,6 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.TargetCustomerId = ptr.String(jtv) } - case "transferType": if value != nil { jtv, ok := value.(string) @@ -45930,7 +43977,6 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.TransferType = types.InputDeviceTransferType(jtv) } - default: _, _ = key, value @@ -45970,7 +44016,6 @@ func awsRestjson1_deserializeDocumentTtmlDestinationSettings(v **types.TtmlDesti } sv.StyleControl = types.TtmlDestinationStyleControl(jtv) } - default: _, _ = key, value @@ -46006,7 +44051,6 @@ func awsRestjson1_deserializeDocumentUdpContainerSettings(v **types.UdpContainer if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } - default: _, _ = key, value @@ -46046,7 +44090,6 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.InputLossAction = types.InputLossActionForUdpOut(jtv) } - case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -46055,7 +44098,6 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.TimedMetadataId3Frame = types.UdpTimedMetadataId3Frame(jtv) } - case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -46068,7 +44110,6 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46112,22 +44153,18 @@ func awsRestjson1_deserializeDocumentUdpOutputSettings(v **types.UdpOutputSettin } sv.BufferMsec = ptr.Int32(int32(i64)) } - case "containerSettings": if err := awsRestjson1_deserializeDocumentUdpContainerSettings(&sv.ContainerSettings, value); err != nil { return err } - case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } - case "fecOutputSettings": if err := awsRestjson1_deserializeDocumentFecOutputSettings(&sv.FecOutputSettings, value); err != nil { return err } - default: _, _ = key, value @@ -46157,15 +44194,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -46173,20 +44204,15 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - case "validationErrors": if err := awsRestjson1_deserializeDocument__listOfValidationError(&sv.ValidationErrors, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -46221,7 +44247,6 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ElementPath = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -46230,7 +44255,6 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -46295,7 +44319,6 @@ func awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(v **types.VideoB } } - case "videoBlackThresholdMsec": if value != nil { jtv, ok := value.(json.Number) @@ -46308,7 +44331,6 @@ func awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(v **types.VideoB } sv.VideoBlackThresholdMsec = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46344,27 +44366,22 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett if err := awsRestjson1_deserializeDocumentAv1Settings(&sv.Av1Settings, value); err != nil { return err } - case "frameCaptureSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureSettings(&sv.FrameCaptureSettings, value); err != nil { return err } - case "h264Settings": if err := awsRestjson1_deserializeDocumentH264Settings(&sv.H264Settings, value); err != nil { return err } - case "h265Settings": if err := awsRestjson1_deserializeDocumentH265Settings(&sv.H265Settings, value); err != nil { return err } - case "mpeg2Settings": if err := awsRestjson1_deserializeDocumentMpeg2Settings(&sv.Mpeg2Settings, value); err != nil { return err } - default: _, _ = key, value @@ -46400,7 +44417,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription if err := awsRestjson1_deserializeDocumentVideoCodecSettings(&sv.CodecSettings, value); err != nil { return err } - case "height": if value != nil { jtv, ok := value.(json.Number) @@ -46413,7 +44429,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Height = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -46422,7 +44437,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Name = ptr.String(jtv) } - case "respondToAfd": if value != nil { jtv, ok := value.(string) @@ -46431,7 +44445,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.RespondToAfd = types.VideoDescriptionRespondToAfd(jtv) } - case "scalingBehavior": if value != nil { jtv, ok := value.(string) @@ -46440,7 +44453,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ScalingBehavior = types.VideoDescriptionScalingBehavior(jtv) } - case "sharpness": if value != nil { jtv, ok := value.(json.Number) @@ -46453,7 +44465,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Sharpness = ptr.Int32(int32(i64)) } - case "width": if value != nil { jtv, ok := value.(json.Number) @@ -46466,7 +44477,6 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Width = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46506,12 +44516,10 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpace = types.VideoSelectorColorSpace(jtv) } - case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentVideoSelectorColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } - case "colorSpaceUsage": if value != nil { jtv, ok := value.(string) @@ -46520,12 +44528,10 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpaceUsage = types.VideoSelectorColorSpaceUsage(jtv) } - case "selectorSettings": if err := awsRestjson1_deserializeDocumentVideoSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } - default: _, _ = key, value @@ -46561,7 +44567,6 @@ func awsRestjson1_deserializeDocumentVideoSelectorColorSpaceSettings(v **types.V if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } - default: _, _ = key, value @@ -46605,7 +44610,6 @@ func awsRestjson1_deserializeDocumentVideoSelectorPid(v **types.VideoSelectorPid } sv.Pid = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46649,7 +44653,6 @@ func awsRestjson1_deserializeDocumentVideoSelectorProgramId(v **types.VideoSelec } sv.ProgramId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46685,12 +44688,10 @@ func awsRestjson1_deserializeDocumentVideoSelectorSettings(v **types.VideoSelect if err := awsRestjson1_deserializeDocumentVideoSelectorPid(&sv.VideoSelectorPid, value); err != nil { return err } - case "videoSelectorProgramId": if err := awsRestjson1_deserializeDocumentVideoSelectorProgramId(&sv.VideoSelectorProgramId, value); err != nil { return err } - default: _, _ = key, value @@ -46726,22 +44727,18 @@ func awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(v **types.VpcO if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } - case "networkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NetworkInterfaceIds, value); err != nil { return err } - case "securityGroupIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -46806,7 +44803,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } } - case "codingMode": if value != nil { jtv, ok := value.(string) @@ -46815,7 +44811,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.CodingMode = types.WavCodingMode(jtv) } - case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -46849,7 +44844,6 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } } - default: _, _ = key, value @@ -46889,7 +44883,6 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.StyleControl = types.WebvttDestinationStyleControl(jtv) } - default: _, _ = key, value diff --git a/service/mediapackage/deserializers.go b/service/mediapackage/deserializers.go index 128b6bd4356..1b278e5cdb5 100644 --- a/service/mediapackage/deserializers.go +++ b/service/mediapackage/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -200,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -209,17 +207,14 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -228,17 +223,14 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -409,7 +401,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -418,7 +409,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -427,17 +417,14 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -446,17 +433,14 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -627,7 +611,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Arn = ptr.String(jtv) } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -636,7 +619,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -645,7 +627,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.CreatedAt = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -654,7 +635,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.EndTime = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -663,7 +643,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Id = ptr.String(jtv) } - case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -672,12 +651,10 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.OriginEndpointId = ptr.String(jtv) } - case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -686,7 +663,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -695,7 +671,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -866,12 +841,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -880,12 +853,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelId = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -894,12 +865,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -908,12 +877,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Description = ptr.String(jtv) } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -922,7 +889,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Id = ptr.String(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -931,12 +897,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ManifestName = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "origination": if value != nil { jtv, ok := value.(string) @@ -945,7 +909,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Origination = types.Origination(jtv) } - case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -958,12 +921,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -976,7 +937,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } - case "url": if value != nil { jtv, ok := value.(string) @@ -985,12 +945,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Url = ptr.String(jtv) } - case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } - default: _, _ = key, value @@ -1367,7 +1325,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1376,7 +1333,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1385,17 +1341,14 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1404,17 +1357,14 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1585,7 +1535,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Arn = ptr.String(jtv) } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -1594,7 +1543,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.ChannelId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1603,7 +1551,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.CreatedAt = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -1612,7 +1559,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.EndTime = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1621,7 +1567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Id = ptr.String(jtv) } - case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -1630,12 +1575,10 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.OriginEndpointId = ptr.String(jtv) } - case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -1644,7 +1587,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1653,7 +1595,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -1824,12 +1765,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -1838,12 +1777,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.ChannelId = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1852,12 +1789,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -1866,12 +1801,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Description = ptr.String(jtv) } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1880,7 +1813,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Id = ptr.String(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -1889,12 +1821,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.ManifestName = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "origination": if value != nil { jtv, ok := value.(string) @@ -1903,7 +1833,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Origination = types.Origination(jtv) } - case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1916,12 +1845,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1934,7 +1861,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } - case "url": if value != nil { jtv, ok := value.(string) @@ -1943,12 +1869,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Url = ptr.String(jtv) } - case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } - default: _, _ = key, value @@ -2115,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannel(&sv.Channels, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2124,7 +2047,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2291,7 +2213,6 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs if err := awsRestjson1_deserializeDocument__listOfHarvestJob(&sv.HarvestJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2300,7 +2221,6 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2471,12 +2391,10 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE } sv.NextToken = ptr.String(jtv) } - case "originEndpoints": if err := awsRestjson1_deserializeDocument__listOfOriginEndpoint(&sv.OriginEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -2625,7 +2543,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2796,7 +2713,6 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2805,7 +2721,6 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2814,17 +2729,14 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2833,17 +2745,14 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3014,7 +2923,6 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3023,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3032,17 +2939,14 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3051,17 +2955,14 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3414,7 +3315,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3423,7 +3323,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3432,17 +3331,14 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3451,17 +3347,14 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3632,12 +3525,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -3646,12 +3537,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelId = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3660,12 +3549,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -3674,12 +3561,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Description = ptr.String(jtv) } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3688,7 +3573,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Id = ptr.String(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -3697,12 +3581,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ManifestName = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "origination": if value != nil { jtv, ok := value.(string) @@ -3711,7 +3593,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Origination = types.Origination(jtv) } - case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3724,12 +3605,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3742,7 +3621,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } - case "url": if value != nil { jtv, ok := value.(string) @@ -3751,12 +3629,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Url = ptr.String(jtv) } - case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } - default: _, _ = key, value @@ -4326,7 +4202,6 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.CdnIdentifierSecret = ptr.String(jtv) } - case "secretsRoleArn": if value != nil { jtv, ok := value.(string) @@ -4335,7 +4210,6 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.SecretsRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4375,7 +4249,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4384,7 +4257,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.CreatedAt = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4393,17 +4265,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Description = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4412,17 +4281,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } - case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4462,7 +4328,6 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.ConstantInitializationVector = ptr.String(jtv) } - case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -4471,7 +4336,6 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.EncryptionMethod = types.CmafEncryptionMethod(jtv) } - case "keyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4484,12 +4348,10 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -4525,12 +4387,10 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in if err := awsRestjson1_deserializeDocumentCmafEncryption(&sv.Encryption, value); err != nil { return err } - case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4543,7 +4403,6 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "segmentPrefix": if value != nil { jtv, ok := value.(string) @@ -4552,12 +4411,10 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentPrefix = ptr.String(jtv) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - default: _, _ = key, value @@ -4601,12 +4458,10 @@ func awsRestjson1_deserializeDocumentDashEncryption(v **types.DashEncryption, va } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -4646,17 +4501,14 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } - case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentDashEncryption(&sv.Encryption, value); err != nil { return err } - case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -4665,7 +4517,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } - case "manifestLayout": if value != nil { jtv, ok := value.(string) @@ -4674,7 +4525,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.ManifestLayout = types.ManifestLayout(jtv) } - case "manifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4687,7 +4537,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "minBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4700,7 +4549,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } - case "minUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4713,12 +4561,10 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } - case "periodTriggers": if err := awsRestjson1_deserializeDocument__listOf__PeriodTriggersElement(&sv.PeriodTriggers, value); err != nil { return err } - case "profile": if value != nil { jtv, ok := value.(string) @@ -4727,7 +4573,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.Profile = types.Profile(jtv) } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4740,7 +4585,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "segmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -4749,12 +4593,10 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentTemplateFormat = types.SegmentTemplateFormat(jtv) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - case "suggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4767,7 +4609,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } - case "utcTiming": if value != nil { jtv, ok := value.(string) @@ -4776,7 +4617,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.UtcTiming = types.UtcTiming(jtv) } - case "utcTimingUri": if value != nil { jtv, ok := value.(string) @@ -4785,7 +4625,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.UtcTimingUri = ptr.String(jtv) } - default: _, _ = key, value @@ -4825,7 +4664,6 @@ func awsRestjson1_deserializeDocumentEgressAccessLogs(v **types.EgressAccessLogs } sv.LogGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -4865,7 +4703,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } - case "presetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -4874,7 +4711,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } - default: _, _ = key, value @@ -4904,15 +4740,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4920,15 +4750,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4963,7 +4789,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Arn = ptr.String(jtv) } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -4972,7 +4797,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4981,7 +4805,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.CreatedAt = ptr.String(jtv) } - case "endTime": if value != nil { jtv, ok := value.(string) @@ -4990,7 +4813,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.EndTime = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4999,7 +4821,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Id = ptr.String(jtv) } - case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -5008,12 +4829,10 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.OriginEndpointId = ptr.String(jtv) } - case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -5022,7 +4841,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4849,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -5071,7 +4888,6 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.ConstantInitializationVector = ptr.String(jtv) } - case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -5080,7 +4896,6 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.EncryptionMethod = types.EncryptionMethod(jtv) } - case "keyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5093,7 +4908,6 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } - case "repeatExtXKey": if value != nil { jtv, ok := value.(bool) @@ -5102,12 +4916,10 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.RepeatExtXKey = ptr.Bool(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -5143,7 +4955,6 @@ func awsRestjson1_deserializeDocumentHlsIngest(v **types.HlsIngest, value interf if err := awsRestjson1_deserializeDocument__listOfIngestEndpoint(&sv.IngestEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -5183,7 +4994,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdMarkers = types.AdMarkers(jtv) } - case "adsOnDeliveryRestrictions": if value != nil { jtv, ok := value.(string) @@ -5192,12 +5002,10 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } - case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5206,7 +5014,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.Id = ptr.String(jtv) } - case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -5215,7 +5022,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -5224,7 +5030,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ManifestName = ptr.String(jtv) } - case "playlistType": if value != nil { jtv, ok := value.(string) @@ -5233,7 +5038,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.PlaylistType = types.PlaylistType(jtv) } - case "playlistWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5246,7 +5050,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.PlaylistWindowSeconds = ptr.Int32(int32(i64)) } - case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5259,7 +5062,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } - case "url": if value != nil { jtv, ok := value.(string) @@ -5268,7 +5070,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -5308,7 +5109,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.AdMarkers = types.AdMarkers(jtv) } - case "adsOnDeliveryRestrictions": if value != nil { jtv, ok := value.(string) @@ -5317,17 +5117,14 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } - case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentHlsEncryption(&sv.Encryption, value); err != nil { return err } - case "includeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -5336,7 +5133,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeDvbSubtitles = ptr.Bool(jtv) } - case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -5345,7 +5141,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } - case "playlistType": if value != nil { jtv, ok := value.(string) @@ -5354,7 +5149,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.PlaylistType = types.PlaylistType(jtv) } - case "playlistWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5367,7 +5161,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.PlaylistWindowSeconds = ptr.Int32(int32(i64)) } - case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5380,7 +5173,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5393,12 +5185,10 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - case "useAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -5407,7 +5197,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.UseAudioRenditionGroup = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5447,7 +5236,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Id = ptr.String(jtv) } - case "password": if value != nil { jtv, ok := value.(string) @@ -5456,7 +5244,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Password = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -5465,7 +5252,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Url = ptr.String(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -5474,7 +5260,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -5514,7 +5299,6 @@ func awsRestjson1_deserializeDocumentIngressAccessLogs(v **types.IngressAccessLo } sv.LogGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -5544,15 +5328,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5560,15 +5338,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5599,7 +5373,6 @@ func awsRestjson1_deserializeDocumentMssEncryption(v **types.MssEncryption, valu if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -5635,7 +5408,6 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte if err := awsRestjson1_deserializeDocumentMssEncryption(&sv.Encryption, value); err != nil { return err } - case "manifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5648,7 +5420,6 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5661,12 +5432,10 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - default: _, _ = key, value @@ -5696,15 +5465,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5712,15 +5475,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5755,12 +5514,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "channelId": if value != nil { jtv, ok := value.(string) @@ -5769,12 +5526,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.ChannelId = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5783,12 +5538,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5797,12 +5550,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Description = ptr.String(jtv) } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5811,7 +5562,6 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Id = ptr.String(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -5820,12 +5570,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.ManifestName = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "origination": if value != nil { jtv, ok := value.(string) @@ -5834,7 +5582,6 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Origination = types.Origination(jtv) } - case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5847,12 +5594,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5865,7 +5610,6 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } - case "url": if value != nil { jtv, ok := value.(string) @@ -5874,12 +5618,10 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Url = ptr.String(jtv) } - case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } - default: _, _ = key, value @@ -5919,7 +5661,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.BucketName = ptr.String(jtv) } - case "manifestKey": if value != nil { jtv, ok := value.(string) @@ -5928,7 +5669,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.ManifestKey = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5937,7 +5677,6 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5967,15 +5706,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5983,15 +5716,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6026,12 +5755,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.CertificateArn = ptr.String(jtv) } - case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6040,7 +5767,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6049,12 +5775,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } - case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SystemIds, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -6063,7 +5787,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -6107,7 +5830,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MaxVideoBitsPerSecond = ptr.Int32(int32(i64)) } - case "minVideoBitsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -6120,7 +5842,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MinVideoBitsPerSecond = ptr.Int32(int32(i64)) } - case "streamOrder": if value != nil { jtv, ok := value.(string) @@ -6129,7 +5850,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.StreamOrder = types.StreamOrder(jtv) } - default: _, _ = key, value @@ -6195,15 +5915,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6211,15 +5925,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6244,15 +5954,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6260,15 +5964,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/mediapackagev2/deserializers.go b/service/mediapackagev2/deserializers.go index d6c4fe6d4bb..bbdc6b1d971 100644 --- a/service/mediapackagev2/deserializers.go +++ b/service/mediapackagev2/deserializers.go @@ -298,7 +298,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -307,7 +306,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -316,7 +314,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -332,7 +329,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -341,7 +337,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -350,12 +345,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ETag = ptr.String(jtv) } - case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } - case "InputType": if value != nil { jtv, ok := value.(string) @@ -364,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.InputType = types.InputType(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -380,12 +372,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -559,7 +549,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -568,7 +557,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.ChannelGroupName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -584,7 +572,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -593,7 +580,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.Description = ptr.String(jtv) } - case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -602,7 +588,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.EgressDomain = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -611,7 +596,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.ETag = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -627,12 +611,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -806,7 +788,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -815,7 +796,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -824,7 +804,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -840,7 +819,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -849,12 +827,10 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Description = ptr.String(jtv) } - case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -863,7 +839,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ErrorMessage = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -872,12 +847,10 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ETag = ptr.String(jtv) } - case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } - case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -886,7 +859,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.HarvestJobName = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -902,7 +874,6 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -911,12 +882,10 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.OriginEndpointName = ptr.String(jtv) } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -925,12 +894,10 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Status = types.HarvestJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1104,7 +1071,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -1113,7 +1079,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1122,7 +1087,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelName = ptr.String(jtv) } - case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -1131,7 +1095,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ContainerType = types.ContainerType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -1147,12 +1110,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } } - case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1161,7 +1122,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -1170,22 +1130,18 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ETag = ptr.String(jtv) } - case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } - case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } - case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -1201,7 +1157,6 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -1210,12 +1165,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.OriginEndpointName = ptr.String(jtv) } - case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } - case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1228,12 +1181,10 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1898,7 +1849,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -1907,7 +1857,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1916,7 +1865,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -1932,7 +1880,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1941,7 +1888,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -1950,12 +1896,10 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ETag = ptr.String(jtv) } - case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } - case "InputType": if value != nil { jtv, ok := value.(string) @@ -1964,7 +1908,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.InputType = types.InputType(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -1980,12 +1923,10 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2153,7 +2094,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2162,7 +2102,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.ChannelGroupName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2178,7 +2117,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2187,7 +2125,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.Description = ptr.String(jtv) } - case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -2196,7 +2133,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.EgressDomain = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -2205,7 +2141,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.ETag = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2221,12 +2156,10 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2394,7 +2327,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2403,7 +2335,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.ChannelName = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -2412,7 +2343,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -2580,7 +2510,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2589,7 +2518,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2598,7 +2526,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2614,7 +2541,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2623,12 +2549,10 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Description = ptr.String(jtv) } - case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2637,7 +2561,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ErrorMessage = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -2646,12 +2569,10 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ETag = ptr.String(jtv) } - case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } - case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -2660,7 +2581,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.HarvestJobName = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2676,7 +2596,6 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -2685,12 +2604,10 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.OriginEndpointName = ptr.String(jtv) } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2699,12 +2616,10 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Status = types.HarvestJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2872,7 +2787,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2881,7 +2795,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2890,7 +2803,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ChannelName = ptr.String(jtv) } - case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -2899,7 +2811,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ContainerType = types.ContainerType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2915,12 +2826,10 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } } - case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2929,7 +2838,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -2938,22 +2846,18 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ETag = ptr.String(jtv) } - case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } - case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } - case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2969,7 +2873,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -2978,12 +2881,10 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.OriginEndpointName = ptr.String(jtv) } - case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } - case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2996,12 +2897,10 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3169,7 +3068,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -3178,7 +3076,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.ChannelName = ptr.String(jtv) } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -3187,7 +3084,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.OriginEndpointName = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -3196,7 +3092,6 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -3357,7 +3252,6 @@ func awsRestjson1_deserializeOpDocumentListChannelGroupsOutput(v **ListChannelGr if err := awsRestjson1_deserializeDocumentChannelGroupsList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3366,7 +3260,6 @@ func awsRestjson1_deserializeOpDocumentListChannelGroupsOutput(v **ListChannelGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3530,7 +3423,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3539,7 +3431,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3703,7 +3594,6 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs if err := awsRestjson1_deserializeDocumentHarvestJobsList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3712,7 +3602,6 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3876,7 +3765,6 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE if err := awsRestjson1_deserializeDocumentOriginEndpointsList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3885,7 +3773,6 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4037,7 +3924,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4602,7 +4488,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -4611,7 +4496,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -4620,7 +4504,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4636,7 +4519,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4645,7 +4527,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -4654,12 +4535,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ETag = ptr.String(jtv) } - case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } - case "InputType": if value != nil { jtv, ok := value.(string) @@ -4668,7 +4547,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.InputType = types.InputType(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -4684,12 +4562,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4860,7 +4736,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -4869,7 +4744,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.ChannelGroupName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4885,7 +4759,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4894,7 +4767,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.Description = ptr.String(jtv) } - case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -4903,7 +4775,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.EgressDomain = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -4912,7 +4783,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.ETag = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -4928,12 +4798,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5107,7 +4975,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -5116,7 +4983,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -5125,7 +4991,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelName = ptr.String(jtv) } - case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -5134,7 +4999,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ContainerType = types.ContainerType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5150,12 +5014,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } } - case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5164,7 +5026,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Description = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -5173,22 +5034,18 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ETag = ptr.String(jtv) } - case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } - case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } - case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5204,7 +5061,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -5213,12 +5069,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.OriginEndpointName = ptr.String(jtv) } - case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } - case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5231,12 +5085,10 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5518,15 +5370,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5534,15 +5380,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5577,7 +5419,6 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5427,6 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.ChannelGroupName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5602,7 +5442,6 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5611,7 +5450,6 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.Description = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5627,7 +5465,6 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } } - default: _, _ = key, value @@ -5735,7 +5572,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -5744,7 +5580,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -5753,7 +5588,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5769,7 +5603,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5778,7 +5611,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.Description = ptr.String(jtv) } - case "InputType": if value != nil { jtv, ok := value.(string) @@ -5787,7 +5619,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.InputType = types.InputType(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5803,7 +5634,6 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } } - default: _, _ = key, value @@ -5833,13 +5663,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ConflictExceptionType": if value != nil { @@ -5849,8 +5673,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictExceptionType = types.ConflictExceptionType(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5858,15 +5681,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5937,7 +5756,6 @@ func awsRestjson1_deserializeDocumentDashUtcTiming(v **types.DashUtcTiming, valu } sv.TimingMode = types.DashUtcTimingMode(jtv) } - case "TimingSource": if value != nil { jtv, ok := value.(string) @@ -5946,7 +5764,6 @@ func awsRestjson1_deserializeDocumentDashUtcTiming(v **types.DashUtcTiming, valu } sv.TimingSource = ptr.String(jtv) } - default: _, _ = key, value @@ -5982,7 +5799,6 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentS3DestinationConfig(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -6058,12 +5874,10 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ConstantInitializationVector = ptr.String(jtv) } - case "EncryptionMethod": if err := awsRestjson1_deserializeDocumentEncryptionMethod(&sv.EncryptionMethod, value); err != nil { return err } - case "KeyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6076,12 +5890,10 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } - case "SpekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -6121,7 +5933,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } - case "PresetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -6130,7 +5941,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } - default: _, _ = key, value @@ -6170,7 +5980,6 @@ func awsRestjson1_deserializeDocumentEncryptionMethod(v **types.EncryptionMethod } sv.CmafEncryptionMethod = types.CmafEncryptionMethod(jtv) } - case "TsEncryptionMethod": if value != nil { jtv, ok := value.(string) @@ -6179,7 +5988,6 @@ func awsRestjson1_deserializeDocumentEncryptionMethod(v **types.EncryptionMethod } sv.TsEncryptionMethod = types.TsEncryptionMethod(jtv) } - default: _, _ = key, value @@ -6262,7 +6070,6 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } - case "End": if value != nil { switch jtv := value.(type) { @@ -6278,7 +6085,6 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } - case "ManifestFilter": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6093,6 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } sv.ManifestFilter = ptr.String(jtv) } - case "Start": if value != nil { switch jtv := value.(type) { @@ -6303,7 +6108,6 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } - case "TimeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6316,7 +6120,6 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6352,7 +6155,6 @@ func awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(v **types.F if err := awsRestjson1_deserializeDocumentEndpointErrorConditions(&sv.EndpointErrorConditions, value); err != nil { return err } - default: _, _ = key, value @@ -6392,12 +6194,10 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.DrmSignaling = types.DashDrmSignaling(jtv) } - case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6406,7 +6206,6 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.ManifestName = ptr.String(jtv) } - case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6419,7 +6218,6 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "MinBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6432,7 +6230,6 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } - case "MinUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6445,17 +6242,14 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } - case "PeriodTriggers": if err := awsRestjson1_deserializeDocumentDashPeriodTriggers(&sv.PeriodTriggers, value); err != nil { return err } - case "ScteDash": if err := awsRestjson1_deserializeDocumentScteDash(&sv.ScteDash, value); err != nil { return err } - case "SegmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -6464,7 +6258,6 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.SegmentTemplateFormat = types.DashSegmentTemplateFormat(jtv) } - case "SuggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6477,7 +6270,6 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -6486,12 +6278,10 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.Url = ptr.String(jtv) } - case "UtcTiming": if err := awsRestjson1_deserializeDocumentDashUtcTiming(&sv.UtcTiming, value); err != nil { return err } - default: _, _ = key, value @@ -6565,12 +6355,10 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ChildManifestName = ptr.String(jtv) } - case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6367,6 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ManifestName = ptr.String(jtv) } - case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6592,7 +6379,6 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "ProgramDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6605,17 +6391,14 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } - case "ScteHls": if err := awsRestjson1_deserializeDocumentScteHls(&sv.ScteHls, value); err != nil { return err } - case "StartTag": if err := awsRestjson1_deserializeDocumentStartTag(&sv.StartTag, value); err != nil { return err } - case "Url": if value != nil { jtv, ok := value.(string) @@ -6624,7 +6407,6 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -6698,12 +6480,10 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ChildManifestName = ptr.String(jtv) } - case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6712,7 +6492,6 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ManifestName = ptr.String(jtv) } - case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6725,7 +6504,6 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "ProgramDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6738,17 +6516,14 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } - case "ScteHls": if err := awsRestjson1_deserializeDocumentScteHls(&sv.ScteHls, value); err != nil { return err } - case "StartTag": if err := awsRestjson1_deserializeDocumentStartTag(&sv.StartTag, value); err != nil { return err } - case "Url": if value != nil { jtv, ok := value.(string) @@ -6757,7 +6532,6 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -6831,7 +6605,6 @@ func awsRestjson1_deserializeDocumentHarvestedDashManifest(v **types.HarvestedDa } sv.ManifestName = ptr.String(jtv) } - default: _, _ = key, value @@ -6905,7 +6678,6 @@ func awsRestjson1_deserializeDocumentHarvestedHlsManifest(v **types.HarvestedHls } sv.ManifestName = ptr.String(jtv) } - default: _, _ = key, value @@ -6979,7 +6751,6 @@ func awsRestjson1_deserializeDocumentHarvestedLowLatencyHlsManifest(v **types.Ha } sv.ManifestName = ptr.String(jtv) } - default: _, _ = key, value @@ -7049,17 +6820,14 @@ func awsRestjson1_deserializeDocumentHarvestedManifests(v **types.HarvestedManif if err := awsRestjson1_deserializeDocumentHarvestedDashManifestsList(&sv.DashManifests, value); err != nil { return err } - case "HlsManifests": if err := awsRestjson1_deserializeDocumentHarvestedHlsManifestsList(&sv.HlsManifests, value); err != nil { return err } - case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentHarvestedLowLatencyHlsManifestsList(&sv.LowLatencyHlsManifests, value); err != nil { return err } - default: _, _ = key, value @@ -7106,7 +6874,6 @@ func awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(v **types.Ha } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7122,7 +6889,6 @@ func awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(v **types.Ha } } - default: _, _ = key, value @@ -7162,7 +6928,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -7171,7 +6936,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -7180,7 +6944,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelName = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7196,7 +6959,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7205,12 +6967,10 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Description = ptr.String(jtv) } - case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -7219,7 +6979,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ErrorMessage = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -7228,12 +6987,10 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ETag = ptr.String(jtv) } - case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } - case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -7242,7 +6999,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.HarvestJobName = ptr.String(jtv) } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -7258,7 +7014,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -7267,12 +7022,10 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.OriginEndpointName = ptr.String(jtv) } - case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7281,7 +7034,6 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Status = types.HarvestJobStatus(jtv) } - default: _, _ = key, value @@ -7355,7 +7107,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Id = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7364,7 +7115,6 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7428,15 +7178,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7444,15 +7188,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7487,7 +7227,6 @@ func awsRestjson1_deserializeDocumentListDashManifestConfiguration(v **types.Lis } sv.ManifestName = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7496,7 +7235,6 @@ func awsRestjson1_deserializeDocumentListDashManifestConfiguration(v **types.Lis } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7570,7 +7308,6 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.ChildManifestName = ptr.String(jtv) } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -7579,7 +7316,6 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.ManifestName = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7588,7 +7324,6 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7662,7 +7397,6 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.ChildManifestName = ptr.String(jtv) } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -7671,7 +7405,6 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.ManifestName = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7680,7 +7413,6 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7754,7 +7486,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.Arn = ptr.String(jtv) } - case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -7763,7 +7494,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ChannelGroupName = ptr.String(jtv) } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -7772,7 +7502,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ChannelName = ptr.String(jtv) } - case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -7781,7 +7510,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ContainerType = types.ContainerType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7797,12 +7525,10 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } } - case "DashManifests": if err := awsRestjson1_deserializeDocumentListDashManifests(&sv.DashManifests, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7811,22 +7537,18 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.Description = ptr.String(jtv) } - case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } - case "HlsManifests": if err := awsRestjson1_deserializeDocumentListHlsManifests(&sv.HlsManifests, value); err != nil { return err } - case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentListLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -7842,7 +7564,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } } - case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -7851,7 +7572,6 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.OriginEndpointName = ptr.String(jtv) } - default: _, _ = key, value @@ -7915,15 +7635,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7931,7 +7645,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceTypeNotFound": if value != nil { jtv, ok := value.(string) @@ -7940,15 +7653,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceTypeNotFound = types.ResourceTypeNotFound(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7983,7 +7692,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfig(v **types.S3Destination } sv.BucketName = ptr.String(jtv) } - case "DestinationPath": if value != nil { jtv, ok := value.(string) @@ -7992,7 +7700,6 @@ func awsRestjson1_deserializeDocumentS3DestinationConfig(v **types.S3Destination } sv.DestinationPath = ptr.String(jtv) } - default: _, _ = key, value @@ -8028,7 +7735,6 @@ func awsRestjson1_deserializeDocumentScte(v **types.Scte, value interface{}) err if err := awsRestjson1_deserializeDocumentScteFilterList(&sv.ScteFilter, value); err != nil { return err } - default: _, _ = key, value @@ -8068,7 +7774,6 @@ func awsRestjson1_deserializeDocumentScteDash(v **types.ScteDash, value interfac } sv.AdMarkerDash = types.AdMarkerDash(jtv) } - default: _, _ = key, value @@ -8144,7 +7849,6 @@ func awsRestjson1_deserializeDocumentScteHls(v **types.ScteHls, value interface{ } sv.AdMarkerHls = types.AdMarkerHls(jtv) } - default: _, _ = key, value @@ -8180,7 +7884,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } - case "IncludeIframeOnlyStreams": if value != nil { jtv, ok := value.(bool) @@ -8189,12 +7892,10 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.IncludeIframeOnlyStreams = ptr.Bool(jtv) } - case "Scte": if err := awsRestjson1_deserializeDocumentScte(&sv.Scte, value); err != nil { return err } - case "SegmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8207,7 +7908,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -8216,7 +7916,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.SegmentName = ptr.String(jtv) } - case "TsIncludeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -8225,7 +7924,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.TsIncludeDvbSubtitles = ptr.Bool(jtv) } - case "TsUseAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -8234,7 +7932,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.TsUseAudioRenditionGroup = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8264,15 +7961,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8280,15 +7971,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8319,12 +8006,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider if err := awsRestjson1_deserializeDocumentDrmSystems(&sv.DrmSystems, value); err != nil { return err } - case "EncryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8333,7 +8018,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8342,7 +8026,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -8351,7 +8034,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -8391,7 +8073,6 @@ func awsRestjson1_deserializeDocumentStartTag(v **types.StartTag, value interfac } sv.Precise = ptr.Bool(jtv) } - case "TimeOffset": if value != nil { switch jtv := value.(type) { @@ -8425,7 +8106,6 @@ func awsRestjson1_deserializeDocumentStartTag(v **types.StartTag, value interfac } } - default: _, _ = key, value @@ -8491,15 +8171,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8507,15 +8181,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8540,15 +8210,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8556,7 +8220,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "ValidationExceptionType": if value != nil { jtv, ok := value.(string) @@ -8565,15 +8228,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ValidationExceptionType = types.ValidationExceptionType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/mediapackagevod/deserializers.go b/service/mediapackagevod/deserializers.go index 2e2f5d82df0..6b6d40c5236 100644 --- a/service/mediapackagevod/deserializers.go +++ b/service/mediapackagevod/deserializers.go @@ -191,12 +191,10 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -205,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.CreatedAt = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -214,12 +211,10 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.DomainName = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -228,12 +223,10 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -404,7 +397,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -413,12 +405,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.CreatedAt = ptr.String(jtv) } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -427,7 +417,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Id = ptr.String(jtv) } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -436,7 +425,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.PackagingGroupId = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -445,7 +433,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.ResourceId = ptr.String(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -454,7 +441,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.SourceArn = ptr.String(jtv) } - case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -463,12 +449,10 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.SourceRoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -639,12 +623,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.Arn = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -653,17 +635,14 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -672,12 +651,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.Id = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -686,12 +663,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.PackagingGroupId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -862,12 +837,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -876,7 +849,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.CreatedAt = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -885,12 +857,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.DomainName = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -899,12 +869,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1384,7 +1352,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1393,12 +1360,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.CreatedAt = ptr.String(jtv) } - case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1407,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.Id = ptr.String(jtv) } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -1416,7 +1380,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.PackagingGroupId = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1425,7 +1388,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.ResourceId = ptr.String(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -1434,7 +1396,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.SourceArn = ptr.String(jtv) } - case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -1443,12 +1404,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.SourceRoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1619,12 +1578,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1633,17 +1590,14 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1652,12 +1606,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.Id = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -1666,12 +1618,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.PackagingGroupId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1846,7 +1796,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1855,12 +1804,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1869,7 +1816,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.CreatedAt = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -1878,12 +1824,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.DomainName = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1892,12 +1836,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2064,7 +2006,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocument__listOfAssetShallow(&sv.Assets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2073,7 +2014,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2244,12 +2184,10 @@ func awsRestjson1_deserializeOpDocumentListPackagingConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "packagingConfigurations": if err := awsRestjson1_deserializeDocument__listOfPackagingConfiguration(&sv.PackagingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -2420,12 +2358,10 @@ func awsRestjson1_deserializeOpDocumentListPackagingGroupsOutput(v **ListPackagi } sv.NextToken = ptr.String(jtv) } - case "packagingGroups": if err := awsRestjson1_deserializeDocument__listOfPackagingGroup(&sv.PackagingGroups, value); err != nil { return err } - default: _, _ = key, value @@ -2574,7 +2510,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2931,7 +2866,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2940,12 +2874,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2954,7 +2886,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.CreatedAt = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -2963,12 +2894,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.DomainName = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2977,12 +2906,10 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3584,7 +3511,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3593,7 +3519,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.CreatedAt = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3527,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.Id = ptr.String(jtv) } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3535,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.PackagingGroupId = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3620,7 +3543,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.ResourceId = ptr.String(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -3629,7 +3551,6 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.SourceArn = ptr.String(jtv) } - case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -3638,12 +3559,10 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.SourceRoleArn = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3683,7 +3602,6 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.CdnIdentifierSecret = ptr.String(jtv) } - case "secretsRoleArn": if value != nil { jtv, ok := value.(string) @@ -3692,7 +3610,6 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.SecretsRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3732,12 +3649,10 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.ConstantInitializationVector = ptr.String(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -3773,12 +3688,10 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in if err := awsRestjson1_deserializeDocumentCmafEncryption(&sv.Encryption, value); err != nil { return err } - case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } - case "includeEncoderConfigurationInSegments": if value != nil { jtv, ok := value.(bool) @@ -3787,7 +3700,6 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.IncludeEncoderConfigurationInSegments = ptr.Bool(jtv) } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3800,7 +3712,6 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3836,7 +3747,6 @@ func awsRestjson1_deserializeDocumentDashEncryption(v **types.DashEncryption, va if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -3876,7 +3786,6 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ManifestLayout = types.ManifestLayout(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -3885,7 +3794,6 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ManifestName = ptr.String(jtv) } - case "minBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3898,7 +3806,6 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } - case "profile": if value != nil { jtv, ok := value.(string) @@ -3907,7 +3814,6 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.Profile = types.Profile(jtv) } - case "scteMarkersSource": if value != nil { jtv, ok := value.(string) @@ -3916,12 +3822,10 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ScteMarkersSource = types.ScteMarkersSource(jtv) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - default: _, _ = key, value @@ -3957,12 +3861,10 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in if err := awsRestjson1_deserializeDocument__listOfDashManifest(&sv.DashManifests, value); err != nil { return err } - case "encryption": if err := awsRestjson1_deserializeDocumentDashEncryption(&sv.Encryption, value); err != nil { return err } - case "includeEncoderConfigurationInSegments": if value != nil { jtv, ok := value.(bool) @@ -3971,7 +3873,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeEncoderConfigurationInSegments = ptr.Bool(jtv) } - case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -3980,12 +3881,10 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } - case "periodTriggers": if err := awsRestjson1_deserializeDocument__listOf__PeriodTriggersElement(&sv.PeriodTriggers, value); err != nil { return err } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3998,7 +3897,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "segmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -4007,7 +3905,6 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentTemplateFormat = types.SegmentTemplateFormat(jtv) } - default: _, _ = key, value @@ -4047,7 +3944,6 @@ func awsRestjson1_deserializeDocumentEgressAccessLogs(v **types.EgressAccessLogs } sv.LogGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -4087,7 +3983,6 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.PackagingConfigurationId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4096,7 +3991,6 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.Status = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -4105,7 +3999,6 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -4145,7 +4038,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } - case "presetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4046,6 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } - default: _, _ = key, value @@ -4184,15 +4075,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4200,15 +4085,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4243,7 +4124,6 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.ConstantInitializationVector = ptr.String(jtv) } - case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -4252,12 +4132,10 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.EncryptionMethod = types.EncryptionMethod(jtv) } - case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -4297,7 +4175,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdMarkers = types.AdMarkers(jtv) } - case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -4306,7 +4183,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } - case "manifestName": if value != nil { jtv, ok := value.(string) @@ -4315,7 +4191,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ManifestName = ptr.String(jtv) } - case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4328,7 +4203,6 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } - case "repeatExtXKey": if value != nil { jtv, ok := value.(bool) @@ -4337,12 +4211,10 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.RepeatExtXKey = ptr.Bool(jtv) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - default: _, _ = key, value @@ -4378,12 +4250,10 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte if err := awsRestjson1_deserializeDocumentHlsEncryption(&sv.Encryption, value); err != nil { return err } - case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } - case "includeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -4392,7 +4262,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeDvbSubtitles = ptr.Bool(jtv) } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4405,7 +4274,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - case "useAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -4414,7 +4282,6 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.UseAudioRenditionGroup = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4444,15 +4311,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4460,15 +4321,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4499,7 +4356,6 @@ func awsRestjson1_deserializeDocumentMssEncryption(v **types.MssEncryption, valu if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } - default: _, _ = key, value @@ -4539,12 +4395,10 @@ func awsRestjson1_deserializeDocumentMssManifest(v **types.MssManifest, value in } sv.ManifestName = ptr.String(jtv) } - case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } - default: _, _ = key, value @@ -4580,12 +4434,10 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte if err := awsRestjson1_deserializeDocumentMssEncryption(&sv.Encryption, value); err != nil { return err } - case "mssManifests": if err := awsRestjson1_deserializeDocument__listOfMssManifest(&sv.MssManifests, value); err != nil { return err } - case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4598,7 +4450,6 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4628,15 +4479,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4644,15 +4489,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4687,12 +4528,10 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.Arn = ptr.String(jtv) } - case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4701,17 +4540,14 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.CreatedAt = ptr.String(jtv) } - case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } - case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4720,12 +4556,10 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.Id = ptr.String(jtv) } - case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } - case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -4734,12 +4568,10 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.PackagingGroupId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4783,7 +4615,6 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4792,12 +4623,10 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.Arn = ptr.String(jtv) } - case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4806,7 +4635,6 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.CreatedAt = ptr.String(jtv) } - case "domainName": if value != nil { jtv, ok := value.(string) @@ -4815,12 +4643,10 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.DomainName = ptr.String(jtv) } - case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4829,12 +4655,10 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4864,15 +4688,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4880,15 +4698,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4919,7 +4733,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4928,12 +4741,10 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } - case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SystemIds, value); err != nil { return err } - case "url": if value != nil { jtv, ok := value.(string) @@ -4942,7 +4753,6 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -4986,7 +4796,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MaxVideoBitsPerSecond = ptr.Int32(int32(i64)) } - case "minVideoBitsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -4999,7 +4808,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MinVideoBitsPerSecond = ptr.Int32(int32(i64)) } - case "streamOrder": if value != nil { jtv, ok := value.(string) @@ -5008,7 +4816,6 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.StreamOrder = types.StreamOrder(jtv) } - default: _, _ = key, value @@ -5074,15 +4881,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5090,15 +4891,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5123,15 +4920,9 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5139,15 +4930,11 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/mediastore/deserializers.go b/service/mediastore/deserializers.go index bdea5a22467..2818fec37a1 100644 --- a/service/mediastore/deserializers.go +++ b/service/mediastore/deserializers.go @@ -2849,7 +2849,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.AccessLoggingEnabled = ptr.Bool(jtv) } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -2858,7 +2857,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ARN = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2874,7 +2872,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2883,7 +2880,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Endpoint = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2892,7 +2888,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2901,7 +2896,6 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Status = types.ContainerStatus(jtv) } - default: _, _ = key, value @@ -2931,15 +2925,9 @@ func awsAwsjson11_deserializeDocumentContainerInUseException(v **types.Container sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2947,15 +2935,11 @@ func awsAwsjson11_deserializeDocumentContainerInUseException(v **types.Container } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3014,15 +2998,9 @@ func awsAwsjson11_deserializeDocumentContainerNotFoundException(v **types.Contai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3030,15 +3008,11 @@ func awsAwsjson11_deserializeDocumentContainerNotFoundException(v **types.Contai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3097,15 +3071,9 @@ func awsAwsjson11_deserializeDocumentCorsPolicyNotFoundException(v **types.CorsP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3113,15 +3081,11 @@ func awsAwsjson11_deserializeDocumentCorsPolicyNotFoundException(v **types.CorsP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3152,22 +3116,18 @@ func awsAwsjson11_deserializeDocumentCorsRule(v **types.CorsRule, value interfac if err := awsAwsjson11_deserializeDocumentAllowedHeaders(&sv.AllowedHeaders, value); err != nil { return err } - case "AllowedMethods": if err := awsAwsjson11_deserializeDocumentAllowedMethods(&sv.AllowedMethods, value); err != nil { return err } - case "AllowedOrigins": if err := awsAwsjson11_deserializeDocumentAllowedOrigins(&sv.AllowedOrigins, value); err != nil { return err } - case "ExposeHeaders": if err := awsAwsjson11_deserializeDocumentExposeHeaders(&sv.ExposeHeaders, value); err != nil { return err } - case "MaxAgeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3180,7 +3140,6 @@ func awsAwsjson11_deserializeDocumentCorsRule(v **types.CorsRule, value interfac } sv.MaxAgeSeconds = int32(i64) } - default: _, _ = key, value @@ -3246,15 +3205,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3262,15 +3215,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3295,15 +3244,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3311,15 +3254,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3354,12 +3293,10 @@ func awsAwsjson11_deserializeDocumentMetricPolicy(v **types.MetricPolicy, value } sv.ContainerLevelMetrics = types.ContainerLevelMetrics(jtv) } - case "MetricPolicyRules": if err := awsAwsjson11_deserializeDocumentMetricPolicyRules(&sv.MetricPolicyRules, value); err != nil { return err } - default: _, _ = key, value @@ -3399,7 +3336,6 @@ func awsAwsjson11_deserializeDocumentMetricPolicyRule(v **types.MetricPolicyRule } sv.ObjectGroup = ptr.String(jtv) } - case "ObjectGroupName": if value != nil { jtv, ok := value.(string) @@ -3408,7 +3344,6 @@ func awsAwsjson11_deserializeDocumentMetricPolicyRule(v **types.MetricPolicyRule } sv.ObjectGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3472,15 +3407,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3488,15 +3417,11 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3531,7 +3456,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3540,7 +3464,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3610,7 +3533,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerOutput(v **CreateContainer if err := awsAwsjson11_deserializeDocumentContainer(&sv.Container, value); err != nil { return err } - default: _, _ = key, value @@ -3801,7 +3723,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerOutput(v **DescribeConta if err := awsAwsjson11_deserializeDocumentContainer(&sv.Container, value); err != nil { return err } - default: _, _ = key, value @@ -3841,7 +3762,6 @@ func awsAwsjson11_deserializeOpDocumentGetContainerPolicyOutput(v **GetContainer } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -3877,7 +3797,6 @@ func awsAwsjson11_deserializeOpDocumentGetCorsPolicyOutput(v **GetCorsPolicyOutp if err := awsAwsjson11_deserializeDocumentCorsPolicy(&sv.CorsPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -3917,7 +3836,6 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.LifecyclePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -3953,7 +3871,6 @@ func awsAwsjson11_deserializeOpDocumentGetMetricPolicyOutput(v **GetMetricPolicy if err := awsAwsjson11_deserializeDocumentMetricPolicy(&sv.MetricPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -3989,7 +3906,6 @@ func awsAwsjson11_deserializeOpDocumentListContainersOutput(v **ListContainersOu if err := awsAwsjson11_deserializeDocumentContainerList(&sv.Containers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3998,7 +3914,6 @@ func awsAwsjson11_deserializeOpDocumentListContainersOutput(v **ListContainersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4034,7 +3949,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/mediastoredata/deserializers.go b/service/mediastoredata/deserializers.go index e86efe5270e..ea0ee236636 100644 --- a/service/mediastoredata/deserializers.go +++ b/service/mediastoredata/deserializers.go @@ -572,7 +572,6 @@ func awsRestjson1_deserializeOpDocumentListItemsOutput(v **ListItemsOutput, valu if err := awsRestjson1_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -581,7 +580,6 @@ func awsRestjson1_deserializeOpDocumentListItemsOutput(v **ListItemsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -740,7 +738,6 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.ContentSHA256 = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -749,7 +746,6 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.ETag = ptr.String(jtv) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -758,7 +754,6 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.StorageClass = types.StorageClass(jtv) } - default: _, _ = key, value @@ -932,15 +927,9 @@ func awsRestjson1_deserializeDocumentContainerNotFoundException(v **types.Contai sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -948,15 +937,11 @@ func awsRestjson1_deserializeDocumentContainerNotFoundException(v **types.Contai } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -981,15 +966,9 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -997,15 +976,11 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1044,7 +1019,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentLength = ptr.Int64(i64) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -1053,7 +1027,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentType = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -1062,7 +1035,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ETag = ptr.String(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -1078,7 +1050,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1087,7 +1058,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1096,7 +1066,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ItemType(jtv) } - default: _, _ = key, value @@ -1160,15 +1129,9 @@ func awsRestjson1_deserializeDocumentObjectNotFoundException(v **types.ObjectNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1176,15 +1139,11 @@ func awsRestjson1_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1209,15 +1168,9 @@ func awsRestjson1_deserializeDocumentRequestedRangeNotSatisfiableException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1225,15 +1178,11 @@ func awsRestjson1_deserializeDocumentRequestedRangeNotSatisfiableException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/mediatailor/deserializers.go b/service/mediatailor/deserializers.go index c9d81a04dee..110219adc1a 100644 --- a/service/mediatailor/deserializers.go +++ b/service/mediatailor/deserializers.go @@ -173,12 +173,10 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForChannelOutput(v **Configu } sv.ChannelName = ptr.String(jtv) } - case "LogTypes": if err := awsRestjson1_deserializeDocumentLogTypes(&sv.LogTypes, value); err != nil { return err } - default: _, _ = key, value @@ -335,7 +333,6 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForPlaybackConfigurationOutp } sv.PercentEnabled = int32(i64) } - case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -344,7 +341,6 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForPlaybackConfigurationOutp } sv.PlaybackConfigurationName = ptr.String(jtv) } - default: _, _ = key, value @@ -497,12 +493,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } - case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -511,7 +505,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } - case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -520,7 +513,6 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelState = types.ChannelState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -536,12 +528,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } - case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -557,12 +547,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } - case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } - case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -571,12 +559,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.PlaybackMode = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -585,12 +571,10 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Tier = ptr.String(jtv) } - case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -743,7 +727,6 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -759,12 +742,10 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -780,7 +761,6 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -789,7 +769,6 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.LiveSourceName = ptr.String(jtv) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -798,12 +777,10 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -956,12 +933,10 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.Arn = ptr.String(jtv) } - case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -970,7 +945,6 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.Name = ptr.String(jtv) } - case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -979,12 +953,10 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.PlaybackConfigurationName = ptr.String(jtv) } - case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } - case "StreamId": if value != nil { jtv, ok := value.(string) @@ -993,7 +965,6 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -1142,7 +1113,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1151,12 +1121,10 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.Arn = ptr.String(jtv) } - case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1165,12 +1133,10 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.ChannelName = ptr.String(jtv) } - case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1186,7 +1152,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1199,7 +1164,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.DurationMillis = ptr.Int64(i64) } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -1208,7 +1172,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.LiveSourceName = ptr.String(jtv) } - case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -1217,7 +1180,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.ProgramName = ptr.String(jtv) } - case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -1233,7 +1195,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1242,7 +1203,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -1251,7 +1211,6 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -1400,7 +1359,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1409,7 +1367,6 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1425,17 +1382,14 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } } - case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } - case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1451,12 +1405,10 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } } - case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1465,12 +1417,10 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1623,7 +1573,6 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1639,12 +1588,10 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1660,7 +1607,6 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1669,12 +1615,10 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -1683,7 +1627,6 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -2516,12 +2459,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } - case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2530,7 +2471,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelName = ptr.String(jtv) } - case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -2539,7 +2479,6 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelState = types.ChannelState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2555,12 +2494,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } } - case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2576,17 +2513,14 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfigurationForChannel(&sv.LogConfiguration, value); err != nil { return err } - case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } - case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -2595,12 +2529,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.PlaybackMode = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -2609,12 +2541,10 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Tier = ptr.String(jtv) } - case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2767,7 +2697,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2783,12 +2712,10 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2804,7 +2731,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -2813,7 +2739,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.LiveSourceName = ptr.String(jtv) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -2822,12 +2747,10 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2976,7 +2899,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -2985,12 +2907,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.Arn = ptr.String(jtv) } - case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2999,12 +2919,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.ChannelName = ptr.String(jtv) } - case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3020,7 +2938,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -3033,7 +2950,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.DurationMillis = ptr.Int64(i64) } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -3042,7 +2958,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.LiveSourceName = ptr.String(jtv) } - case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -3051,7 +2966,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.ProgramName = ptr.String(jtv) } - case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -3067,7 +2981,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -3076,7 +2989,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -3085,7 +2997,6 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -3234,7 +3145,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3243,7 +3153,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3259,17 +3168,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } } - case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } - case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3285,12 +3191,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } } - case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -3299,12 +3203,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3453,7 +3355,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo if err := awsRestjson1_deserializeDocumentAdBreakOpportunities(&sv.AdBreakOpportunities, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3462,7 +3363,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3478,12 +3378,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3499,7 +3397,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -3508,12 +3405,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -3522,7 +3417,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -3675,7 +3569,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -3824,7 +3717,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelScheduleOutput(v **GetChannelSc if err := awsRestjson1_deserializeDocument__listOfScheduleEntry(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3833,7 +3725,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelScheduleOutput(v **GetChannelSc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3986,37 +3877,30 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.AdDecisionServerUrl = ptr.String(jtv) } - case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } - case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } - case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } - case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } - case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } - case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } - case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -4025,22 +3909,18 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.InsertionMode = types.InsertionMode(jtv) } - case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4049,7 +3929,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.Name = ptr.String(jtv) } - case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4062,7 +3941,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } - case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -4071,7 +3949,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PlaybackConfigurationArn = ptr.String(jtv) } - case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -4080,7 +3957,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PlaybackEndpointPrefix = ptr.String(jtv) } - case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -4089,7 +3965,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } - case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -4098,12 +3973,10 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.SlateAdUrl = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -4112,7 +3985,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.TranscodeProfileName = ptr.String(jtv) } - case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -4121,7 +3993,6 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.VideoContentSourceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -4274,12 +4145,10 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.Arn = ptr.String(jtv) } - case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4288,7 +4157,6 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.Name = ptr.String(jtv) } - case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4297,12 +4165,10 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.PlaybackConfigurationName = ptr.String(jtv) } - case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } - case "StreamId": if value != nil { jtv, ok := value.(string) @@ -4311,7 +4177,6 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -4460,7 +4325,6 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va if err := awsRestjson1_deserializeDocument__listOfAlert(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4469,7 +4333,6 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4618,7 +4481,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannel(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4627,7 +4489,6 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4776,7 +4637,6 @@ func awsRestjson1_deserializeOpDocumentListLiveSourcesOutput(v **ListLiveSources if err := awsRestjson1_deserializeDocument__listOfLiveSource(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4785,7 +4645,6 @@ func awsRestjson1_deserializeOpDocumentListLiveSourcesOutput(v **ListLiveSources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4934,7 +4793,6 @@ func awsRestjson1_deserializeOpDocumentListPlaybackConfigurationsOutput(v **List if err := awsRestjson1_deserializeDocument__listOfPlaybackConfiguration(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4943,7 +4801,6 @@ func awsRestjson1_deserializeOpDocumentListPlaybackConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5092,7 +4949,6 @@ func awsRestjson1_deserializeOpDocumentListPrefetchSchedulesOutput(v **ListPrefe if err := awsRestjson1_deserializeDocument__listOfPrefetchSchedule(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5101,7 +4957,6 @@ func awsRestjson1_deserializeOpDocumentListPrefetchSchedulesOutput(v **ListPrefe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5250,7 +5105,6 @@ func awsRestjson1_deserializeOpDocumentListSourceLocationsOutput(v **ListSourceL if err := awsRestjson1_deserializeDocument__listOfSourceLocation(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5259,7 +5113,6 @@ func awsRestjson1_deserializeOpDocumentListSourceLocationsOutput(v **ListSourceL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5411,7 +5264,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5560,7 +5412,6 @@ func awsRestjson1_deserializeOpDocumentListVodSourcesOutput(v **ListVodSourcesOu if err := awsRestjson1_deserializeDocument__listOfVodSource(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5569,7 +5420,6 @@ func awsRestjson1_deserializeOpDocumentListVodSourcesOutput(v **ListVodSourcesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5807,37 +5657,30 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.AdDecisionServerUrl = ptr.String(jtv) } - case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } - case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } - case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } - case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } - case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } - case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } - case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -5846,22 +5689,18 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.InsertionMode = types.InsertionMode(jtv) } - case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5870,7 +5709,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.Name = ptr.String(jtv) } - case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5883,7 +5721,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } - case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5892,7 +5729,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PlaybackConfigurationArn = ptr.String(jtv) } - case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -5901,7 +5737,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PlaybackEndpointPrefix = ptr.String(jtv) } - case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -5910,7 +5745,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } - case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -5919,12 +5753,10 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.SlateAdUrl = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -5933,7 +5765,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.TranscodeProfileName = ptr.String(jtv) } - case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -5942,7 +5773,6 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.VideoContentSourceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -6453,12 +6283,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } - case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6467,7 +6295,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelName = ptr.String(jtv) } - case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -6476,7 +6303,6 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelState = types.ChannelState(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6492,12 +6318,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } - case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6513,12 +6337,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } - case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } - case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -6527,12 +6349,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.PlaybackMode = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -6541,12 +6361,10 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Tier = ptr.String(jtv) } - case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6699,7 +6517,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6715,12 +6532,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6736,7 +6551,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -6745,7 +6559,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.LiveSourceName = ptr.String(jtv) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -6754,12 +6567,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6908,7 +6719,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6917,12 +6727,10 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.Arn = ptr.String(jtv) } - case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6931,12 +6739,10 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.ChannelName = ptr.String(jtv) } - case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6952,7 +6758,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -6965,7 +6770,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.DurationMillis = ptr.Int64(i64) } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -6974,7 +6778,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.LiveSourceName = ptr.String(jtv) } - case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -6983,7 +6786,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.ProgramName = ptr.String(jtv) } - case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -6999,7 +6801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -7008,7 +6809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -7017,7 +6817,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -7166,7 +6965,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -7175,7 +6973,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7191,17 +6988,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } } - case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } - case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7217,12 +7011,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } } - case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -7231,12 +7023,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7389,7 +7179,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7405,12 +7194,10 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7426,7 +7213,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -7435,12 +7221,10 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -7449,7 +7233,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -8073,12 +7856,10 @@ func awsRestjson1_deserializeDocumentAccessConfiguration(v **types.AccessConfigu } sv.AccessType = types.AccessType(jtv) } - case "SecretsManagerAccessTokenConfiguration": if err := awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(&sv.SecretsManagerAccessTokenConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -8114,7 +7895,6 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ if err := awsRestjson1_deserializeDocumentAdBreakMetadataList(&sv.AdBreakMetadata, value); err != nil { return err } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -8123,7 +7903,6 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ } sv.MessageType = types.MessageType(jtv) } - case "OffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8136,22 +7915,18 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ } sv.OffsetMillis = i64 } - case "Slate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.Slate, value); err != nil { return err } - case "SpliceInsertMessage": if err := awsRestjson1_deserializeDocumentSpliceInsertMessage(&sv.SpliceInsertMessage, value); err != nil { return err } - case "TimeSignalMessage": if err := awsRestjson1_deserializeDocumentTimeSignalMessage(&sv.TimeSignalMessage, value); err != nil { return err } - default: _, _ = key, value @@ -8263,7 +8038,6 @@ func awsRestjson1_deserializeDocumentAdBreakOpportunity(v **types.AdBreakOpportu } sv.OffsetMillis = i64 } - default: _, _ = key, value @@ -8303,7 +8077,6 @@ func awsRestjson1_deserializeDocumentAdMarkerPassthrough(v **types.AdMarkerPasst } sv.Enabled = jtv } - default: _, _ = key, value @@ -8379,7 +8152,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertCode = ptr.String(jtv) } - case "AlertMessage": if value != nil { jtv, ok := value.(string) @@ -8388,7 +8160,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertMessage = ptr.String(jtv) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -8397,7 +8168,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.Category = types.AlertCategory(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8413,12 +8183,10 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } - case "RelatedResourceArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.RelatedResourceArns, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8427,7 +8195,6 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8463,12 +8230,10 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } - case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8481,7 +8246,6 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.DurationMillis = ptr.Int64(i64) } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -8490,7 +8254,6 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.LiveSourceName = ptr.String(jtv) } - case "ScheduledStartTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8503,7 +8266,6 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.ScheduledStartTimeMillis = ptr.Int64(i64) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -8512,7 +8274,6 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -8521,7 +8282,6 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -8557,7 +8317,6 @@ func awsRestjson1_deserializeDocumentAudienceMedia(v **types.AudienceMedia, valu if err := awsRestjson1_deserializeDocument__listOfAlternateMedia(&sv.AlternateMedia, value); err != nil { return err } - case "Audience": if value != nil { jtv, ok := value.(string) @@ -8566,7 +8325,6 @@ func awsRestjson1_deserializeDocumentAudienceMedia(v **types.AudienceMedia, valu } sv.Audience = ptr.String(jtv) } - default: _, _ = key, value @@ -8642,7 +8400,6 @@ func awsRestjson1_deserializeDocumentAvailMatchingCriteria(v **types.AvailMatchi } sv.DynamicVariable = ptr.String(jtv) } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -8651,7 +8408,6 @@ func awsRestjson1_deserializeDocumentAvailMatchingCriteria(v **types.AvailMatchi } sv.Operator = types.Operator(jtv) } - default: _, _ = key, value @@ -8691,7 +8447,6 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.FillPolicy = types.FillPolicy(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -8700,7 +8455,6 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.Mode = types.Mode(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8709,7 +8463,6 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8739,15 +8492,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8755,15 +8502,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8798,7 +8541,6 @@ func awsRestjson1_deserializeDocumentBumper(v **types.Bumper, value interface{}) } sv.EndUrl = ptr.String(jtv) } - case "StartUrl": if value != nil { jtv, ok := value.(string) @@ -8807,7 +8549,6 @@ func awsRestjson1_deserializeDocumentBumper(v **types.Bumper, value interface{}) } sv.StartUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -8847,7 +8588,6 @@ func awsRestjson1_deserializeDocumentCdnConfiguration(v **types.CdnConfiguration } sv.AdSegmentUrlPrefix = ptr.String(jtv) } - case "ContentSegmentUrlPrefix": if value != nil { jtv, ok := value.(string) @@ -8856,7 +8596,6 @@ func awsRestjson1_deserializeDocumentCdnConfiguration(v **types.CdnConfiguration } sv.ContentSegmentUrlPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -8896,12 +8635,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } - case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -8910,7 +8647,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelName = ptr.String(jtv) } - case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -8919,7 +8655,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelState = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8935,12 +8670,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8956,17 +8689,14 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfigurationForChannel(&sv.LogConfiguration, value); err != nil { return err } - case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } - case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -8975,12 +8705,10 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackMode = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -8989,7 +8717,6 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Tier = ptr.String(jtv) } - default: _, _ = key, value @@ -9033,7 +8760,6 @@ func awsRestjson1_deserializeDocumentClipRange(v **types.ClipRange, value interf } sv.EndOffsetMillis = ptr.Int64(i64) } - case "StartOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -9046,7 +8772,6 @@ func awsRestjson1_deserializeDocumentClipRange(v **types.ClipRange, value interf } sv.StartOffsetMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -9120,7 +8845,6 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.ManifestEndpointPrefix = ptr.String(jtv) } - case "MpdLocation": if value != nil { jtv, ok := value.(string) @@ -9129,7 +8853,6 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.MpdLocation = ptr.String(jtv) } - case "OriginManifestType": if value != nil { jtv, ok := value.(string) @@ -9138,7 +8861,6 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.OriginManifestType = types.OriginManifestType(jtv) } - default: _, _ = key, value @@ -9182,7 +8904,6 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - case "MinBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9195,7 +8916,6 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } - case "MinUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9208,7 +8928,6 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } - case "SuggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9221,7 +8940,6 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9261,7 +8979,6 @@ func awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(v **typ } sv.BaseUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9301,7 +9018,6 @@ func awsRestjson1_deserializeDocumentHlsConfiguration(v **types.HlsConfiguration } sv.ManifestEndpointPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -9337,7 +9053,6 @@ func awsRestjson1_deserializeDocumentHlsPlaylistSettings(v **types.HlsPlaylistSe if err := awsRestjson1_deserializeDocumentAdMarkupTypes(&sv.AdMarkupType, value); err != nil { return err } - case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9350,7 +9065,6 @@ func awsRestjson1_deserializeDocumentHlsPlaylistSettings(v **types.HlsPlaylistSe } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9390,7 +9104,6 @@ func awsRestjson1_deserializeDocumentHttpConfiguration(v **types.HttpConfigurati } sv.BaseUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9430,7 +9143,6 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.Path = ptr.String(jtv) } - case "SourceGroup": if value != nil { jtv, ok := value.(string) @@ -9439,7 +9151,6 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.SourceGroup = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9448,7 +9159,6 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -9522,7 +9232,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9531,7 +9240,6 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9571,7 +9279,6 @@ func awsRestjson1_deserializeDocumentLivePreRollConfiguration(v **types.LivePreR } sv.AdDecisionServerUrl = ptr.String(jtv) } - case "MaxDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9584,7 +9291,6 @@ func awsRestjson1_deserializeDocumentLivePreRollConfiguration(v **types.LivePreR } sv.MaxDurationSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9624,7 +9330,6 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9640,12 +9345,10 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9661,7 +9364,6 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -9670,7 +9372,6 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.LiveSourceName = ptr.String(jtv) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -9679,12 +9380,10 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9728,7 +9427,6 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.PercentEnabled = int32(i64) } - default: _, _ = key, value @@ -9764,7 +9462,6 @@ func awsRestjson1_deserializeDocumentLogConfigurationForChannel(v **types.LogCon if err := awsRestjson1_deserializeDocumentLogTypes(&sv.LogTypes, value); err != nil { return err } - default: _, _ = key, value @@ -9836,7 +9533,6 @@ func awsRestjson1_deserializeDocumentManifestProcessingRules(v **types.ManifestP if err := awsRestjson1_deserializeDocumentAdMarkerPassthrough(&sv.AdMarkerPassthrough, value); err != nil { return err } - default: _, _ = key, value @@ -9876,37 +9572,30 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.AdDecisionServerUrl = ptr.String(jtv) } - case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } - case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } - case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } - case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } - case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } - case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } - case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -9915,22 +9604,18 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.InsertionMode = types.InsertionMode(jtv) } - case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9939,7 +9624,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.Name = ptr.String(jtv) } - case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9952,7 +9636,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } - case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9961,7 +9644,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PlaybackConfigurationArn = ptr.String(jtv) } - case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -9970,7 +9652,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PlaybackEndpointPrefix = ptr.String(jtv) } - case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -9979,7 +9660,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } - case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -9988,12 +9668,10 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.SlateAdUrl = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -10002,7 +9680,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.TranscodeProfileName = ptr.String(jtv) } - case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -10011,7 +9688,6 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.VideoContentSourceUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10047,7 +9723,6 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu if err := awsRestjson1_deserializeDocument__listOfAvailMatchingCriteria(&sv.AvailMatchingCriteria, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10063,7 +9738,6 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10079,7 +9753,6 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu } } - default: _, _ = key, value @@ -10115,7 +9788,6 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.DynamicVariables, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10131,7 +9803,6 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10147,7 +9818,6 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev } } - default: _, _ = key, value @@ -10187,12 +9857,10 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.Arn = ptr.String(jtv) } - case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10201,7 +9869,6 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.Name = ptr.String(jtv) } - case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -10210,12 +9877,10 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.PlaybackConfigurationName = ptr.String(jtv) } - case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } - case "StreamId": if value != nil { jtv, ok := value.(string) @@ -10224,7 +9889,6 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -10260,12 +9924,10 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput if err := awsRestjson1_deserializeDocumentDashPlaylistSettings(&sv.DashPlaylistSettings, value); err != nil { return err } - case "HlsPlaylistSettings": if err := awsRestjson1_deserializeDocumentHlsPlaylistSettings(&sv.HlsPlaylistSettings, value); err != nil { return err } - case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -10274,7 +9936,6 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.ManifestName = ptr.String(jtv) } - case "PlaybackUrl": if value != nil { jtv, ok := value.(string) @@ -10283,7 +9944,6 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.PlaybackUrl = ptr.String(jtv) } - case "SourceGroup": if value != nil { jtv, ok := value.(string) @@ -10292,7 +9952,6 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.SourceGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -10370,7 +10029,6 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.ApproximateDurationSeconds = ptr.Int64(i64) } - case "ApproximateStartTime": if value != nil { switch jtv := value.(type) { @@ -10386,7 +10044,6 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10395,7 +10052,6 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10404,7 +10060,6 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -10448,7 +10103,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ApproximateDurationSeconds = ptr.Int64(i64) } - case "ApproximateStartTime": if value != nil { switch jtv := value.(type) { @@ -10464,7 +10118,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10473,12 +10126,10 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.Arn = ptr.String(jtv) } - case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -10487,7 +10138,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ChannelName = ptr.String(jtv) } - case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -10496,7 +10146,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.LiveSourceName = ptr.String(jtv) } - case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -10505,12 +10154,10 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ProgramName = ptr.String(jtv) } - case "ScheduleAdBreaks": if err := awsRestjson1_deserializeDocument__listOfScheduleAdBreak(&sv.ScheduleAdBreaks, value); err != nil { return err } - case "ScheduleEntryType": if value != nil { jtv, ok := value.(string) @@ -10519,7 +10166,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ScheduleEntryType = types.ScheduleEntryType(jtv) } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10528,7 +10174,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10537,7 +10182,6 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -10577,7 +10221,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.HeaderName = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10586,7 +10229,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.SecretArn = ptr.String(jtv) } - case "SecretStringKey": if value != nil { jtv, ok := value.(string) @@ -10595,7 +10237,6 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.SecretStringKey = ptr.String(jtv) } - default: _, _ = key, value @@ -10639,7 +10280,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationEventId = ptr.Int32(int32(i64)) } - case "SegmentationTypeId": if value != nil { jtv, ok := value.(json.Number) @@ -10652,7 +10292,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationTypeId = ptr.Int32(int32(i64)) } - case "SegmentationUpid": if value != nil { jtv, ok := value.(string) @@ -10661,7 +10300,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationUpid = ptr.String(jtv) } - case "SegmentationUpidType": if value != nil { jtv, ok := value.(json.Number) @@ -10674,7 +10312,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationUpidType = ptr.Int32(int32(i64)) } - case "SegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -10687,7 +10324,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentNum = ptr.Int32(int32(i64)) } - case "SegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -10700,7 +10336,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentsExpected = ptr.Int32(int32(i64)) } - case "SubSegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -10713,7 +10348,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SubSegmentNum = ptr.Int32(int32(i64)) } - case "SubSegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -10726,7 +10360,6 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SubSegmentsExpected = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10800,7 +10433,6 @@ func awsRestjson1_deserializeDocumentSegmentDeliveryConfiguration(v **types.Segm } sv.BaseUrl = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10809,7 +10441,6 @@ func awsRestjson1_deserializeDocumentSegmentDeliveryConfiguration(v **types.Segm } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10849,7 +10480,6 @@ func awsRestjson1_deserializeDocumentSlateSource(v **types.SlateSource, value in } sv.SourceLocationName = ptr.String(jtv) } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10858,7 +10488,6 @@ func awsRestjson1_deserializeDocumentSlateSource(v **types.SlateSource, value in } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -10894,7 +10523,6 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10903,7 +10531,6 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10919,17 +10546,14 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } } - case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } - case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10945,12 +10569,10 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } } - case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10959,12 +10581,10 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11008,7 +10628,6 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.AvailNum = ptr.Int32(int32(i64)) } - case "AvailsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -11021,7 +10640,6 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.AvailsExpected = ptr.Int32(int32(i64)) } - case "SpliceEventId": if value != nil { jtv, ok := value.(json.Number) @@ -11034,7 +10652,6 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.SpliceEventId = ptr.Int32(int32(i64)) } - case "UniqueProgramId": if value != nil { jtv, ok := value.(json.Number) @@ -11047,7 +10664,6 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.UniqueProgramId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11091,7 +10707,6 @@ func awsRestjson1_deserializeDocumentTimeShiftConfiguration(v **types.TimeShiftC } sv.MaxTimeDelaySeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11127,7 +10742,6 @@ func awsRestjson1_deserializeDocumentTimeSignalMessage(v **types.TimeSignalMessa if err := awsRestjson1_deserializeDocumentSegmentationDescriptorList(&sv.SegmentationDescriptors, value); err != nil { return err } - default: _, _ = key, value @@ -11167,7 +10781,6 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11183,12 +10796,10 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } } - case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11204,7 +10815,6 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } } - case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -11213,12 +10823,10 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.SourceLocationName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -11227,7 +10835,6 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.VodSourceName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/medicalimaging/deserializers.go b/service/medicalimaging/deserializers.go index fad413b952f..660df3372d8 100644 --- a/service/medicalimaging/deserializers.go +++ b/service/medicalimaging/deserializers.go @@ -193,17 +193,14 @@ func awsRestjson1_deserializeOpDocumentCopyImageSetOutput(v **CopyImageSetOutput } sv.DatastoreId = ptr.String(jtv) } - case "destinationImageSetProperties": if err := awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(&sv.DestinationImageSetProperties, value); err != nil { return err } - case "sourceImageSetProperties": if err := awsRestjson1_deserializeDocumentCopySourceImageSetProperties(&sv.SourceImageSetProperties, value); err != nil { return err } - default: _, _ = key, value @@ -374,7 +371,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreId = ptr.String(jtv) } - case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -383,7 +379,6 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - default: _, _ = key, value @@ -554,7 +549,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDatastoreOutput(v **DeleteDatastore } sv.DatastoreId = ptr.String(jtv) } - case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -563,7 +557,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDatastoreOutput(v **DeleteDatastore } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - default: _, _ = key, value @@ -734,7 +727,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.DatastoreId = ptr.String(jtv) } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -743,7 +735,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -752,7 +743,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetState = types.ImageSetState(jtv) } - case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -761,7 +751,6 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - default: _, _ = key, value @@ -925,7 +914,6 @@ func awsRestjson1_deserializeOpDocumentGetDatastoreOutput(v **GetDatastoreOutput if err := awsRestjson1_deserializeDocumentDatastoreProperties(&sv.DatastoreProperties, value); err != nil { return err } - default: _, _ = key, value @@ -1092,7 +1080,6 @@ func awsRestjson1_deserializeOpDocumentGetDICOMImportJobOutput(v **GetDICOMImpor if err := awsRestjson1_deserializeDocumentDICOMImportJobProperties(&sv.JobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -1404,7 +1391,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -1413,7 +1399,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.DatastoreId = ptr.String(jtv) } - case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -1429,7 +1414,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } - case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -1438,7 +1422,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetArn = ptr.String(jtv) } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -1447,7 +1430,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -1456,7 +1438,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetState = types.ImageSetState(jtv) } - case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -1465,7 +1446,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -1474,12 +1454,10 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.Message = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentOverrides(&sv.Overrides, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1495,7 +1473,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -1504,7 +1481,6 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1804,7 +1780,6 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu if err := awsRestjson1_deserializeDocumentDatastoreSummaries(&sv.DatastoreSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1813,7 +1788,6 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1980,7 +1954,6 @@ func awsRestjson1_deserializeOpDocumentListDICOMImportJobsOutput(v **ListDICOMIm if err := awsRestjson1_deserializeDocumentDICOMImportJobSummaries(&sv.JobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1989,7 +1962,6 @@ func awsRestjson1_deserializeOpDocumentListDICOMImportJobsOutput(v **ListDICOMIm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2156,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentListImageSetVersionsOutput(v **ListImageS if err := awsRestjson1_deserializeDocumentImageSetPropertiesList(&sv.ImageSetPropertiesList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2165,7 +2136,6 @@ func awsRestjson1_deserializeOpDocumentListImageSetVersionsOutput(v **ListImageS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2329,7 +2299,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2496,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentSearchImageSetsOutput(v **SearchImageSets if err := awsRestjson1_deserializeDocumentImageSetsMetadataSummaries(&sv.ImageSetsMetadataSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2505,12 +2473,10 @@ func awsRestjson1_deserializeOpDocumentSearchImageSetsOutput(v **SearchImageSets } sv.NextToken = ptr.String(jtv) } - case "sort": if err := awsRestjson1_deserializeDocumentSort(&sv.Sort, value); err != nil { return err } - default: _, _ = key, value @@ -2684,7 +2650,6 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.DatastoreId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -2693,7 +2658,6 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.JobId = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2702,7 +2666,6 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.JobStatus = types.JobStatus(jtv) } - case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -2718,7 +2681,6 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } } - default: _, _ = key, value @@ -3099,7 +3061,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3108,7 +3069,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.DatastoreId = ptr.String(jtv) } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3117,7 +3077,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3126,7 +3085,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetState = types.ImageSetState(jtv) } - case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3135,7 +3093,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3144,7 +3101,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.LatestVersionId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -3153,7 +3109,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.Message = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3169,7 +3124,6 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } } - default: _, _ = key, value @@ -3451,15 +3405,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3467,15 +3415,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3500,15 +3444,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3516,15 +3454,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3566,7 +3500,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } } - case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -3575,7 +3508,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetArn = ptr.String(jtv) } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3584,7 +3516,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3593,7 +3524,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetState = types.ImageSetState(jtv) } - case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3532,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3540,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.LatestVersionId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3627,7 +3555,6 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } } - default: _, _ = key, value @@ -3674,7 +3601,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } } - case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -3683,7 +3609,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetArn = ptr.String(jtv) } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3692,7 +3617,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3701,7 +3625,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetState = types.ImageSetState(jtv) } - case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3710,7 +3633,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3719,7 +3641,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.LatestVersionId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3735,7 +3656,6 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } } - default: _, _ = key, value @@ -3782,7 +3702,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } - case "datastoreArn": if value != nil { jtv, ok := value.(string) @@ -3791,7 +3710,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreArn = ptr.String(jtv) } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3800,7 +3718,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreId = ptr.String(jtv) } - case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -3809,7 +3726,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreName = ptr.String(jtv) } - case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3818,7 +3734,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3827,7 +3742,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.KmsKeyArn = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3843,7 +3757,6 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } - default: _, _ = key, value @@ -3924,7 +3837,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } - case "datastoreArn": if value != nil { jtv, ok := value.(string) @@ -3933,7 +3845,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreArn = ptr.String(jtv) } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3942,7 +3853,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreId = ptr.String(jtv) } - case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -3951,7 +3861,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreName = ptr.String(jtv) } - case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3960,7 +3869,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreStatus = types.DatastoreStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3976,7 +3884,6 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } - default: _, _ = key, value @@ -4016,7 +3923,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.DataAccessRoleArn = ptr.String(jtv) } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -4025,7 +3931,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.DatastoreId = ptr.String(jtv) } - case "endedAt": if value != nil { switch jtv := value.(type) { @@ -4041,7 +3946,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } } - case "inputS3Uri": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3954,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.InputS3Uri = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4059,7 +3962,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -4068,7 +3970,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobName = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -4077,7 +3978,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobStatus = types.JobStatus(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -4086,7 +3986,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.Message = ptr.String(jtv) } - case "outputS3Uri": if value != nil { jtv, ok := value.(string) @@ -4095,7 +3994,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.OutputS3Uri = ptr.String(jtv) } - case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -4111,7 +4009,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } } - default: _, _ = key, value @@ -4185,7 +4082,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.DataAccessRoleArn = ptr.String(jtv) } - case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -4194,7 +4090,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.DatastoreId = ptr.String(jtv) } - case "endedAt": if value != nil { switch jtv := value.(type) { @@ -4210,7 +4105,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4219,7 +4113,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobId = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -4228,7 +4121,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobName = ptr.String(jtv) } - case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -4237,7 +4129,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobStatus = types.JobStatus(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -4246,7 +4137,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.Message = ptr.String(jtv) } - case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -4262,7 +4152,6 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } } - default: _, _ = key, value @@ -4302,7 +4191,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMAccessionNumber = ptr.String(jtv) } - case "DICOMNumberOfStudyRelatedInstances": if value != nil { jtv, ok := value.(json.Number) @@ -4315,7 +4203,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMNumberOfStudyRelatedInstances = int32(i64) } - case "DICOMNumberOfStudyRelatedSeries": if value != nil { jtv, ok := value.(json.Number) @@ -4328,7 +4215,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMNumberOfStudyRelatedSeries = int32(i64) } - case "DICOMPatientBirthDate": if value != nil { jtv, ok := value.(string) @@ -4337,7 +4223,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientBirthDate = ptr.String(jtv) } - case "DICOMPatientId": if value != nil { jtv, ok := value.(string) @@ -4346,7 +4231,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientId = ptr.String(jtv) } - case "DICOMPatientName": if value != nil { jtv, ok := value.(string) @@ -4355,7 +4239,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientName = ptr.String(jtv) } - case "DICOMPatientSex": if value != nil { jtv, ok := value.(string) @@ -4364,7 +4247,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientSex = ptr.String(jtv) } - case "DICOMSeriesBodyPart": if value != nil { jtv, ok := value.(string) @@ -4373,7 +4255,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesBodyPart = ptr.String(jtv) } - case "DICOMSeriesInstanceUID": if value != nil { jtv, ok := value.(string) @@ -4382,7 +4263,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesInstanceUID = ptr.String(jtv) } - case "DICOMSeriesModality": if value != nil { jtv, ok := value.(string) @@ -4391,7 +4271,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesModality = ptr.String(jtv) } - case "DICOMSeriesNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4404,7 +4283,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesNumber = ptr.Int32(int32(i64)) } - case "DICOMStudyDate": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4291,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyDate = ptr.String(jtv) } - case "DICOMStudyDescription": if value != nil { jtv, ok := value.(string) @@ -4422,7 +4299,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyDescription = ptr.String(jtv) } - case "DICOMStudyId": if value != nil { jtv, ok := value.(string) @@ -4431,7 +4307,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyId = ptr.String(jtv) } - case "DICOMStudyInstanceUID": if value != nil { jtv, ok := value.(string) @@ -4440,7 +4315,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyInstanceUID = ptr.String(jtv) } - case "DICOMStudyTime": if value != nil { jtv, ok := value.(string) @@ -4449,7 +4323,6 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyTime = ptr.String(jtv) } - default: _, _ = key, value @@ -4496,7 +4369,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } - case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -4512,7 +4384,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -4521,7 +4392,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetId = ptr.String(jtv) } - case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -4530,7 +4400,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetState = types.ImageSetState(jtv) } - case "ImageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -4539,7 +4408,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -4548,12 +4416,10 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.Message = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentOverrides(&sv.Overrides, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4569,7 +4435,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } - case "versionId": if value != nil { jtv, ok := value.(string) @@ -4578,7 +4443,6 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4693,12 +4557,10 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } } - case "DICOMTags": if err := awsRestjson1_deserializeDocumentDICOMTags(&sv.DICOMTags, value); err != nil { return err } - case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -4707,7 +4569,6 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } sv.ImageSetId = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4723,7 +4584,6 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } } - case "version": if value != nil { jtv, ok := value.(json.Number) @@ -4736,7 +4596,6 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4766,15 +4625,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4782,15 +4635,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4825,7 +4674,6 @@ func awsRestjson1_deserializeDocumentOverrides(v **types.Overrides, value interf } sv.Forced = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4855,15 +4703,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4871,15 +4713,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4904,15 +4742,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4920,15 +4752,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4963,7 +4791,6 @@ func awsRestjson1_deserializeDocumentSort(v **types.Sort, value interface{}) err } sv.SortField = types.SortField(jtv) } - case "sortOrder": if value != nil { jtv, ok := value.(string) @@ -4972,7 +4799,6 @@ func awsRestjson1_deserializeDocumentSort(v **types.Sort, value interface{}) err } sv.SortOrder = types.SortOrder(jtv) } - default: _, _ = key, value @@ -5038,15 +4864,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5054,15 +4874,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5087,15 +4903,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5103,15 +4913,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/memorydb/deserializers.go b/service/memorydb/deserializers.go index 48f96ad8c49..6ad5e32cf43 100644 --- a/service/memorydb/deserializers.go +++ b/service/memorydb/deserializers.go @@ -6664,12 +6664,10 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.ARN = ptr.String(jtv) } - case "Clusters": if err := awsAwsjson11_deserializeDocumentACLClusterNameList(&sv.Clusters, value); err != nil { return err } - case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -6678,7 +6676,6 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.MinimumEngineVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6687,12 +6684,10 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.Name = ptr.String(jtv) } - case "PendingChanges": if err := awsAwsjson11_deserializeDocumentACLPendingChanges(&sv.PendingChanges, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6701,12 +6696,10 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.Status = ptr.String(jtv) } - case "UserNames": if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNames, value); err != nil { return err } - default: _, _ = key, value @@ -6736,15 +6729,9 @@ func awsAwsjson11_deserializeDocumentACLAlreadyExistsFault(v **types.ACLAlreadyE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6752,15 +6739,11 @@ func awsAwsjson11_deserializeDocumentACLAlreadyExistsFault(v **types.ACLAlreadyE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6891,15 +6874,9 @@ func awsAwsjson11_deserializeDocumentACLNotFoundFault(v **types.ACLNotFoundFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6907,15 +6884,11 @@ func awsAwsjson11_deserializeDocumentACLNotFoundFault(v **types.ACLNotFoundFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6946,12 +6919,10 @@ func awsAwsjson11_deserializeDocumentACLPendingChanges(v **types.ACLPendingChang if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNamesToAdd, value); err != nil { return err } - case "UserNamesToRemove": if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNamesToRemove, value); err != nil { return err } - default: _, _ = key, value @@ -6981,15 +6952,9 @@ func awsAwsjson11_deserializeDocumentACLQuotaExceededFault(v **types.ACLQuotaExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6997,15 +6962,11 @@ func awsAwsjson11_deserializeDocumentACLQuotaExceededFault(v **types.ACLQuotaExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7040,7 +7001,6 @@ func awsAwsjson11_deserializeDocumentACLsUpdateStatus(v **types.ACLsUpdateStatus } sv.ACLToApply = ptr.String(jtv) } - default: _, _ = key, value @@ -7070,15 +7030,9 @@ func awsAwsjson11_deserializeDocumentAPICallRateForCustomerExceededFault(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7086,15 +7040,11 @@ func awsAwsjson11_deserializeDocumentAPICallRateForCustomerExceededFault(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7133,7 +7083,6 @@ func awsAwsjson11_deserializeDocumentAuthentication(v **types.Authentication, va } sv.PasswordCount = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7142,7 +7091,6 @@ func awsAwsjson11_deserializeDocumentAuthentication(v **types.Authentication, va } sv.Type = types.AuthenticationType(jtv) } - default: _, _ = key, value @@ -7182,7 +7130,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7222,7 +7169,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ACLName = ptr.String(jtv) } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -7231,7 +7177,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ARN = ptr.String(jtv) } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -7240,7 +7185,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "AvailabilityMode": if value != nil { jtv, ok := value.(string) @@ -7249,12 +7193,10 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AvailabilityMode = types.AZStatus(jtv) } - case "ClusterEndpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.ClusterEndpoint, value); err != nil { return err } - case "DataTiering": if value != nil { jtv, ok := value.(string) @@ -7263,7 +7205,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.DataTiering = types.DataTieringStatus(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7272,7 +7213,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Description = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -7281,7 +7221,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Engine = ptr.String(jtv) } - case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -7290,7 +7229,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EnginePatchVersion = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7299,7 +7237,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EngineVersion = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7308,7 +7245,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.KmsKeyId = ptr.String(jtv) } - case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -7317,7 +7253,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.MaintenanceWindow = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7326,7 +7261,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -7335,7 +7269,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NodeType = ptr.String(jtv) } - case "NumberOfShards": if value != nil { jtv, ok := value.(json.Number) @@ -7348,7 +7281,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NumberOfShards = ptr.Int32(int32(i64)) } - case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -7357,7 +7289,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ParameterGroupName = ptr.String(jtv) } - case "ParameterGroupStatus": if value != nil { jtv, ok := value.(string) @@ -7366,22 +7297,18 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ParameterGroupStatus = ptr.String(jtv) } - case "PendingUpdates": if err := awsAwsjson11_deserializeDocumentClusterPendingUpdates(&sv.PendingUpdates, value); err != nil { return err } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupMembershipList(&sv.SecurityGroups, value); err != nil { return err } - case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } - case "SnapshotRetentionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -7394,7 +7321,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnapshotRetentionLimit = ptr.Int32(int32(i64)) } - case "SnapshotWindow": if value != nil { jtv, ok := value.(string) @@ -7403,7 +7329,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnapshotWindow = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -7412,7 +7337,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnsTopicArn = ptr.String(jtv) } - case "SnsTopicStatus": if value != nil { jtv, ok := value.(string) @@ -7421,7 +7345,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnsTopicStatus = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7430,7 +7353,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } - case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -7439,7 +7361,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SubnetGroupName = ptr.String(jtv) } - case "TLSEnabled": if value != nil { jtv, ok := value.(bool) @@ -7448,7 +7369,6 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TLSEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7478,15 +7398,9 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7494,15 +7408,11 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7537,7 +7447,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Description = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -7546,7 +7455,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Engine = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7555,7 +7463,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.EngineVersion = ptr.String(jtv) } - case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -7564,7 +7471,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.MaintenanceWindow = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7573,7 +7479,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Name = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -7582,7 +7487,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.NodeType = ptr.String(jtv) } - case "NumShards": if value != nil { jtv, ok := value.(json.Number) @@ -7595,7 +7499,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.NumShards = ptr.Int32(int32(i64)) } - case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -7604,7 +7507,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.ParameterGroupName = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -7617,12 +7519,10 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Port = ptr.Int32(int32(i64)) } - case "Shards": if err := awsAwsjson11_deserializeDocumentShardDetails(&sv.Shards, value); err != nil { return err } - case "SnapshotRetentionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -7635,7 +7535,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SnapshotRetentionLimit = ptr.Int32(int32(i64)) } - case "SnapshotWindow": if value != nil { jtv, ok := value.(string) @@ -7644,7 +7543,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SnapshotWindow = ptr.String(jtv) } - case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -7653,7 +7551,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SubnetGroupName = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -7662,7 +7559,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.TopicArn = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7671,7 +7567,6 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7735,15 +7630,9 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7751,15 +7640,11 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7790,17 +7675,14 @@ func awsAwsjson11_deserializeDocumentClusterPendingUpdates(v **types.ClusterPend if err := awsAwsjson11_deserializeDocumentACLsUpdateStatus(&sv.ACLs, value); err != nil { return err } - case "Resharding": if err := awsAwsjson11_deserializeDocumentReshardingStatus(&sv.Resharding, value); err != nil { return err } - case "ServiceUpdates": if err := awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdateList(&sv.ServiceUpdates, value); err != nil { return err } - default: _, _ = key, value @@ -7830,15 +7712,9 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7846,15 +7722,11 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7879,15 +7751,9 @@ func awsAwsjson11_deserializeDocumentDefaultUserRequired(v **types.DefaultUserRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7895,15 +7761,11 @@ func awsAwsjson11_deserializeDocumentDefaultUserRequired(v **types.DefaultUserRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7928,15 +7790,9 @@ func awsAwsjson11_deserializeDocumentDuplicateUserNameFault(v **types.DuplicateU sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7944,15 +7800,11 @@ func awsAwsjson11_deserializeDocumentDuplicateUserNameFault(v **types.DuplicateU } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7987,7 +7839,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -8000,7 +7851,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = int32(i64) } - default: _, _ = key, value @@ -8040,7 +7890,6 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.Engine = ptr.String(jtv) } - case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -8049,7 +7898,6 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.EnginePatchVersion = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -8058,7 +7906,6 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.EngineVersion = ptr.String(jtv) } - case "ParameterGroupFamily": if value != nil { jtv, ok := value.(string) @@ -8067,7 +7914,6 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.ParameterGroupFamily = ptr.String(jtv) } - default: _, _ = key, value @@ -8148,7 +7994,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -8157,7 +8002,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } - case "SourceName": if value != nil { jtv, ok := value.(string) @@ -8166,7 +8010,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceName = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8175,7 +8018,6 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -8239,15 +8081,9 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8255,15 +8091,11 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8288,15 +8120,9 @@ func awsAwsjson11_deserializeDocumentInvalidACLStateFault(v **types.InvalidACLSt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8304,15 +8130,11 @@ func awsAwsjson11_deserializeDocumentInvalidACLStateFault(v **types.InvalidACLSt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8337,15 +8159,9 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8353,15 +8169,11 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8386,15 +8198,9 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8402,15 +8208,11 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8435,15 +8237,9 @@ func awsAwsjson11_deserializeDocumentInvalidCredentialsException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8451,15 +8247,11 @@ func awsAwsjson11_deserializeDocumentInvalidCredentialsException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8484,15 +8276,9 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyFault(v **types.InvalidKMSKeyF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8500,15 +8286,11 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyFault(v **types.InvalidKMSKeyF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8533,15 +8315,9 @@ func awsAwsjson11_deserializeDocumentInvalidNodeStateFault(v **types.InvalidNode sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8549,15 +8325,11 @@ func awsAwsjson11_deserializeDocumentInvalidNodeStateFault(v **types.InvalidNode } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8582,15 +8354,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8598,15 +8364,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8631,15 +8393,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8647,15 +8403,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8680,15 +8432,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8696,15 +8442,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8729,15 +8471,9 @@ func awsAwsjson11_deserializeDocumentInvalidSnapshotStateFault(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8745,15 +8481,11 @@ func awsAwsjson11_deserializeDocumentInvalidSnapshotStateFault(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8778,15 +8510,9 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8794,15 +8520,11 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8827,15 +8549,9 @@ func awsAwsjson11_deserializeDocumentInvalidUserStateFault(v **types.InvalidUser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8843,15 +8559,11 @@ func awsAwsjson11_deserializeDocumentInvalidUserStateFault(v **types.InvalidUser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8876,15 +8588,9 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8892,15 +8598,11 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8935,7 +8637,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -8951,12 +8652,10 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } } - case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8965,7 +8664,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8974,7 +8672,6 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9038,15 +8735,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9054,15 +8745,11 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9087,15 +8774,9 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9103,15 +8784,11 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9172,15 +8849,9 @@ func awsAwsjson11_deserializeDocumentNoOperationFault(v **types.NoOperationFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9188,15 +8859,11 @@ func awsAwsjson11_deserializeDocumentNoOperationFault(v **types.NoOperationFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9231,7 +8898,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.AllowedValues = ptr.String(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -9240,7 +8906,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9249,7 +8914,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } - case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -9258,7 +8922,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.MinimumEngineVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9267,7 +8930,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9276,7 +8938,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9316,7 +8977,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9325,7 +8985,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Description = ptr.String(jtv) } - case "Family": if value != nil { jtv, ok := value.(string) @@ -9334,7 +8993,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Family = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9343,7 +9001,6 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9373,15 +9030,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9389,15 +9040,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9456,15 +9103,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9472,15 +9113,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9505,15 +9142,9 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9521,15 +9152,11 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9598,7 +9225,6 @@ func awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdate(v **types.Pend } sv.ServiceUpdateName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9607,7 +9233,6 @@ func awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdate(v **types.Pend } sv.Status = types.ServiceUpdateStatus(jtv) } - default: _, _ = key, value @@ -9706,7 +9331,6 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } - case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -9715,7 +9339,6 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } - default: _, _ = key, value @@ -9789,7 +9412,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ARN = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -9802,7 +9424,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.Duration = int32(i64) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -9836,7 +9457,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } } - case "NodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -9849,7 +9469,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.NodeCount = int32(i64) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9858,7 +9477,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.NodeType = ptr.String(jtv) } - case "OfferingType": if value != nil { jtv, ok := value.(string) @@ -9867,12 +9485,10 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.OfferingType = ptr.String(jtv) } - case "RecurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservationId": if value != nil { jtv, ok := value.(string) @@ -9881,7 +9497,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ReservationId = ptr.String(jtv) } - case "ReservedNodesOfferingId": if value != nil { jtv, ok := value.(string) @@ -9890,7 +9505,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ReservedNodesOfferingId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9906,7 +9520,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9915,7 +9528,6 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -9945,15 +9557,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeAlreadyExistsFault(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9961,15 +9567,11 @@ func awsAwsjson11_deserializeDocumentReservedNodeAlreadyExistsFault(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10028,15 +9630,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeNotFoundFault(v **types.Reserve sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10044,15 +9640,11 @@ func awsAwsjson11_deserializeDocumentReservedNodeNotFoundFault(v **types.Reserve } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10077,15 +9669,9 @@ func awsAwsjson11_deserializeDocumentReservedNodeQuotaExceededFault(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10093,15 +9679,11 @@ func awsAwsjson11_deserializeDocumentReservedNodeQuotaExceededFault(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10140,7 +9722,6 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.Duration = int32(i64) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -10174,7 +9755,6 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -10183,7 +9763,6 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.NodeType = ptr.String(jtv) } - case "OfferingType": if value != nil { jtv, ok := value.(string) @@ -10192,12 +9771,10 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.OfferingType = ptr.String(jtv) } - case "RecurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservedNodesOfferingId": if value != nil { jtv, ok := value.(string) @@ -10206,7 +9783,6 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.ReservedNodesOfferingId = ptr.String(jtv) } - default: _, _ = key, value @@ -10270,15 +9846,9 @@ func awsAwsjson11_deserializeDocumentReservedNodesOfferingNotFoundFault(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10286,15 +9856,11 @@ func awsAwsjson11_deserializeDocumentReservedNodesOfferingNotFoundFault(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10325,7 +9891,6 @@ func awsAwsjson11_deserializeDocumentReshardingStatus(v **types.ReshardingStatus if err := awsAwsjson11_deserializeDocumentSlotMigration(&sv.SlotMigration, value); err != nil { return err } - default: _, _ = key, value @@ -10365,7 +9930,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.SecurityGroupId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10374,7 +9938,6 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10438,15 +10001,9 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10454,15 +10011,11 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10504,7 +10057,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -10513,7 +10065,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.ClusterName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10522,7 +10073,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Description = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -10531,7 +10081,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Engine = ptr.String(jtv) } - case "NodesUpdated": if value != nil { jtv, ok := value.(string) @@ -10540,7 +10089,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.NodesUpdated = ptr.String(jtv) } - case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -10556,7 +10104,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } } - case "ServiceUpdateName": if value != nil { jtv, ok := value.(string) @@ -10565,7 +10112,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.ServiceUpdateName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10574,7 +10120,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Status = types.ServiceUpdateStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10583,7 +10128,6 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Type = types.ServiceUpdateType(jtv) } - default: _, _ = key, value @@ -10647,15 +10191,9 @@ func awsAwsjson11_deserializeDocumentServiceUpdateNotFoundFault(v **types.Servic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10663,15 +10201,11 @@ func awsAwsjson11_deserializeDocumentServiceUpdateNotFoundFault(v **types.Servic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10706,12 +10240,10 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } - case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -10724,7 +10256,6 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.NumberOfNodes = ptr.Int32(int32(i64)) } - case "Slots": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10264,6 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Slots = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10742,7 +10272,6 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10786,7 +10315,6 @@ func awsAwsjson11_deserializeDocumentShardConfiguration(v **types.ShardConfigura } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "Slots": if value != nil { jtv, ok := value.(string) @@ -10795,7 +10323,6 @@ func awsAwsjson11_deserializeDocumentShardConfiguration(v **types.ShardConfigura } sv.Slots = ptr.String(jtv) } - default: _, _ = key, value @@ -10831,7 +10358,6 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in if err := awsAwsjson11_deserializeDocumentShardConfiguration(&sv.Configuration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10840,7 +10366,6 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } sv.Name = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(string) @@ -10849,7 +10374,6 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } sv.Size = ptr.String(jtv) } - case "SnapshotCreationTime": if value != nil { switch jtv := value.(type) { @@ -10865,7 +10389,6 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } } - default: _, _ = key, value @@ -10963,15 +10486,9 @@ func awsAwsjson11_deserializeDocumentShardNotFoundFault(v **types.ShardNotFoundF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10979,15 +10496,11 @@ func awsAwsjson11_deserializeDocumentShardNotFoundFault(v **types.ShardNotFoundF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11012,15 +10525,9 @@ func awsAwsjson11_deserializeDocumentShardsPerClusterQuotaExceededFault(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11028,15 +10535,11 @@ func awsAwsjson11_deserializeDocumentShardsPerClusterQuotaExceededFault(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11096,7 +10599,6 @@ func awsAwsjson11_deserializeDocumentSlotMigration(v **types.SlotMigration, valu } } - default: _, _ = key, value @@ -11136,12 +10638,10 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ARN = ptr.String(jtv) } - case "ClusterConfiguration": if err := awsAwsjson11_deserializeDocumentClusterConfiguration(&sv.ClusterConfiguration, value); err != nil { return err } - case "DataTiering": if value != nil { jtv, ok := value.(string) @@ -11150,7 +10650,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.DataTiering = types.DataTieringStatus(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11159,7 +10658,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11168,7 +10666,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -11177,7 +10674,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Source = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11186,7 +10682,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11216,15 +10711,9 @@ func awsAwsjson11_deserializeDocumentSnapshotAlreadyExistsFault(v **types.Snapsh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11232,15 +10721,11 @@ func awsAwsjson11_deserializeDocumentSnapshotAlreadyExistsFault(v **types.Snapsh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11299,15 +10784,9 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFoundFault(v **types.SnapshotNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11315,15 +10794,11 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFoundFault(v **types.SnapshotNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11348,15 +10823,9 @@ func awsAwsjson11_deserializeDocumentSnapshotQuotaExceededFault(v **types.Snapsh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11364,15 +10833,11 @@ func awsAwsjson11_deserializeDocumentSnapshotQuotaExceededFault(v **types.Snapsh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11403,7 +10868,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZone(&sv.AvailabilityZone, value); err != nil { return err } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -11412,7 +10876,6 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -11452,7 +10915,6 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11461,7 +10923,6 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11470,12 +10931,10 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Name = ptr.String(jtv) } - case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11484,7 +10943,6 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -11514,15 +10972,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11530,15 +10982,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11563,15 +11011,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11579,15 +11021,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11646,15 +11084,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11662,15 +11094,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11695,15 +11123,9 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11711,15 +11133,11 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11744,15 +11162,9 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11760,15 +11172,11 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11827,15 +11235,9 @@ func awsAwsjson11_deserializeDocumentSubnetNotAllowedFault(v **types.SubnetNotAl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11843,15 +11245,11 @@ func awsAwsjson11_deserializeDocumentSubnetNotAllowedFault(v **types.SubnetNotAl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11876,15 +11274,9 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11892,15 +11284,11 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11935,7 +11323,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11944,7 +11331,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12008,15 +11394,9 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12024,15 +11404,11 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12057,15 +11433,9 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12073,15 +11443,11 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12106,15 +11472,9 @@ func awsAwsjson11_deserializeDocumentTestFailoverNotAvailableFault(v **types.Tes sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12122,15 +11482,11 @@ func awsAwsjson11_deserializeDocumentTestFailoverNotAvailableFault(v **types.Tes } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12165,7 +11521,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ClusterName = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12174,7 +11529,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -12183,7 +11537,6 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ErrorType = ptr.String(jtv) } - default: _, _ = key, value @@ -12257,12 +11610,10 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AccessString = ptr.String(jtv) } - case "ACLNames": if err := awsAwsjson11_deserializeDocumentACLNameList(&sv.ACLNames, value); err != nil { return err } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -12271,12 +11622,10 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ARN = ptr.String(jtv) } - case "Authentication": if err := awsAwsjson11_deserializeDocumentAuthentication(&sv.Authentication, value); err != nil { return err } - case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -12285,7 +11634,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.MinimumEngineVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12294,7 +11642,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12303,7 +11650,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -12333,15 +11679,9 @@ func awsAwsjson11_deserializeDocumentUserAlreadyExistsFault(v **types.UserAlread sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12349,15 +11689,11 @@ func awsAwsjson11_deserializeDocumentUserAlreadyExistsFault(v **types.UserAlread } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12452,15 +11788,9 @@ func awsAwsjson11_deserializeDocumentUserNotFoundFault(v **types.UserNotFoundFau sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12468,15 +11798,11 @@ func awsAwsjson11_deserializeDocumentUserNotFoundFault(v **types.UserNotFoundFau } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12501,15 +11827,9 @@ func awsAwsjson11_deserializeDocumentUserQuotaExceededFault(v **types.UserQuotaE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12517,15 +11837,11 @@ func awsAwsjson11_deserializeDocumentUserQuotaExceededFault(v **types.UserQuotaE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12556,12 +11872,10 @@ func awsAwsjson11_deserializeOpDocumentBatchUpdateClusterOutput(v **BatchUpdateC if err := awsAwsjson11_deserializeDocumentClusterList(&sv.ProcessedClusters, value); err != nil { return err } - case "UnprocessedClusters": if err := awsAwsjson11_deserializeDocumentUnprocessedClusterList(&sv.UnprocessedClusters, value); err != nil { return err } - default: _, _ = key, value @@ -12597,7 +11911,6 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotOutput(v **CopySnapshotOutput if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -12633,7 +11946,6 @@ func awsAwsjson11_deserializeOpDocumentCreateACLOutput(v **CreateACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } - default: _, _ = key, value @@ -12669,7 +11981,6 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -12705,7 +12016,6 @@ func awsAwsjson11_deserializeOpDocumentCreateParameterGroupOutput(v **CreatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -12741,7 +12051,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -12777,7 +12086,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSubnetGroupOutput(v **CreateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -12813,7 +12121,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -12849,7 +12156,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteACLOutput(v **DeleteACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } - default: _, _ = key, value @@ -12885,7 +12191,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -12921,7 +12226,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteParameterGroupOutput(v **DeletePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -12957,7 +12261,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -12993,7 +12296,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSubnetGroupOutput(v **DeleteSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13029,7 +12331,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteUserOutput(v **DeleteUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -13065,7 +12366,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeACLsOutput(v **DescribeACLsOutput if err := awsAwsjson11_deserializeDocumentACLList(&sv.ACLs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13074,7 +12374,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeACLsOutput(v **DescribeACLsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13110,7 +12409,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13119,7 +12417,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13155,7 +12452,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentEngineVersionInfoList(&sv.EngineVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13164,7 +12460,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13200,7 +12495,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13209,7 +12503,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13249,12 +12542,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeParameterGroupsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ParameterGroups": if err := awsAwsjson11_deserializeDocumentParameterGroupList(&sv.ParameterGroups, value); err != nil { return err } - default: _, _ = key, value @@ -13294,12 +12585,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -13339,12 +12628,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReservedNodesOfferingsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "ReservedNodesOfferings": if err := awsAwsjson11_deserializeDocumentReservedNodesOfferingList(&sv.ReservedNodesOfferings, value); err != nil { return err } - default: _, _ = key, value @@ -13384,12 +12671,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeReservedNodesOutput(v **DescribeR } sv.NextToken = ptr.String(jtv) } - case "ReservedNodes": if err := awsAwsjson11_deserializeDocumentReservedNodeList(&sv.ReservedNodes, value); err != nil { return err } - default: _, _ = key, value @@ -13429,12 +12714,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceUpdatesOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - case "ServiceUpdates": if err := awsAwsjson11_deserializeDocumentServiceUpdateList(&sv.ServiceUpdates, value); err != nil { return err } - default: _, _ = key, value @@ -13474,12 +12757,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } - case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.Snapshots, value); err != nil { return err } - default: _, _ = key, value @@ -13519,12 +12800,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubnetGroupsOutput(v **DescribeSu } sv.NextToken = ptr.String(jtv) } - case "SubnetGroups": if err := awsAwsjson11_deserializeDocumentSubnetGroupList(&sv.SubnetGroups, value); err != nil { return err } - default: _, _ = key, value @@ -13564,12 +12843,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -13605,7 +12882,6 @@ func awsAwsjson11_deserializeOpDocumentFailoverShardOutput(v **FailoverShardOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -13641,12 +12917,10 @@ func awsAwsjson11_deserializeOpDocumentListAllowedNodeTypeUpdatesOutput(v **List if err := awsAwsjson11_deserializeDocumentNodeTypeList(&sv.ScaleDownNodeTypes, value); err != nil { return err } - case "ScaleUpNodeTypes": if err := awsAwsjson11_deserializeDocumentNodeTypeList(&sv.ScaleUpNodeTypes, value); err != nil { return err } - default: _, _ = key, value @@ -13682,7 +12956,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -13718,7 +12991,6 @@ func awsAwsjson11_deserializeOpDocumentPurchaseReservedNodesOfferingOutput(v **P if err := awsAwsjson11_deserializeDocumentReservedNode(&sv.ReservedNode, value); err != nil { return err } - default: _, _ = key, value @@ -13754,7 +13026,6 @@ func awsAwsjson11_deserializeOpDocumentResetParameterGroupOutput(v **ResetParame if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13790,7 +13061,6 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -13826,7 +13096,6 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -13862,7 +13131,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateACLOutput(v **UpdateACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } - default: _, _ = key, value @@ -13898,7 +13166,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -13934,7 +13201,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParameterGroupOutput(v **UpdatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13970,7 +13236,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubnetGroupOutput(v **UpdateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -14006,7 +13271,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/mgn/deserializers.go b/service/mgn/deserializers.go index 49371f654a9..faa6b1a61ef 100644 --- a/service/mgn/deserializers.go +++ b/service/mgn/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -192,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -201,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -210,7 +207,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -219,7 +215,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -228,7 +223,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -237,7 +231,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -246,12 +239,10 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -260,7 +251,6 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -425,7 +415,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -434,7 +423,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -443,7 +431,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -452,7 +439,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -461,7 +447,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -470,17 +455,14 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -489,7 +471,6 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -848,7 +829,6 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -857,17 +837,14 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -876,7 +853,6 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -885,17 +861,14 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -904,12 +877,10 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -918,12 +889,10 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -932,7 +901,6 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -941,7 +909,6 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -1099,7 +1066,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -1108,7 +1074,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1117,7 +1082,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -1126,7 +1090,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1135,7 +1098,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -1144,7 +1106,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -1153,7 +1114,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1162,12 +1122,10 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -1176,7 +1134,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -1335,7 +1292,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.Arn = ptr.String(jtv) } - case "connectorID": if value != nil { jtv, ok := value.(string) @@ -1344,7 +1300,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorID = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1353,12 +1308,10 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.Name = ptr.String(jtv) } - case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } - case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -1367,12 +1320,10 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.SsmInstanceID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1534,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.Arn = ptr.String(jtv) } - case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -1543,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "bootMode": if value != nil { jtv, ok := value.(string) @@ -1552,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.BootMode = types.BootMode(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -1561,7 +1509,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -1570,7 +1517,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -1579,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -1588,12 +1533,10 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.EnableMapAutoTagging = ptr.Bool(jtv) } - case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } - case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -1602,7 +1545,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -1611,12 +1553,10 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -1625,17 +1565,14 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.MapAutoTaggingMpeID = ptr.String(jtv) } - case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } - case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } - case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -1648,12 +1585,10 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.SmallVolumeMaxSize = i64 } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -1662,7 +1597,6 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -1824,7 +1758,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -1833,7 +1766,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -1846,7 +1778,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -1855,7 +1786,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -1864,7 +1794,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -1873,7 +1802,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -1882,7 +1810,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1891,7 +1818,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -1900,7 +1826,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -1909,12 +1834,10 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -1923,17 +1846,14 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -1942,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -1951,7 +1870,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseFipsEndpoint = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2113,7 +2031,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -2122,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2131,7 +2047,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -2140,7 +2055,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -2149,7 +2063,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2158,17 +2071,14 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -2177,7 +2087,6 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -3096,7 +3005,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobLogs(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3105,7 +3013,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3260,7 +3167,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3269,7 +3175,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3427,7 +3332,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplates(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3436,7 +3340,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3594,7 +3497,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates if err := awsRestjson1_deserializeDocumentReplicationConfigurationTemplates(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3505,6 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3758,7 +3659,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS if err := awsRestjson1_deserializeDocumentSourceServersList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3767,7 +3667,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3925,7 +3824,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVcenterClientsOutput(v **Describe if err := awsRestjson1_deserializeDocumentVcenterClientList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3934,7 +3832,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVcenterClientsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4284,7 +4181,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4293,17 +4189,14 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -4312,7 +4205,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -4321,17 +4213,14 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -4340,12 +4229,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4354,12 +4241,10 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -4368,7 +4253,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -4377,7 +4261,6 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -4542,7 +4425,6 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4551,17 +4433,14 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -4570,7 +4449,6 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -4579,17 +4457,14 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -4598,12 +4473,10 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4612,12 +4485,10 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -4626,7 +4497,6 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -4635,7 +4505,6 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -4794,7 +4663,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.BootMode = types.BootMode(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -4803,7 +4671,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -4812,7 +4679,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -4821,7 +4687,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -4830,7 +4695,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.EnableMapAutoTagging = ptr.Bool(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -4839,12 +4703,10 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -4853,7 +4715,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.MapAutoTaggingMpeID = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4862,12 +4723,10 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Name = ptr.String(jtv) } - case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4876,7 +4735,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -4885,7 +4743,6 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -5044,7 +4901,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -5057,7 +4913,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -5066,7 +4921,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -5075,7 +4929,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -5084,7 +4937,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -5093,7 +4945,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -5102,7 +4953,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5111,12 +4961,10 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.Name = ptr.String(jtv) } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -5125,12 +4973,10 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -5139,7 +4985,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.SourceServerID = ptr.String(jtv) } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -5148,12 +4993,10 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -5162,7 +5005,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -5171,7 +5013,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseFipsEndpoint = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5414,7 +5255,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5423,7 +5263,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5578,7 +5417,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5587,7 +5425,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5742,7 +5579,6 @@ func awsRestjson1_deserializeOpDocumentListExportErrorsOutput(v **ListExportErro if err := awsRestjson1_deserializeDocumentExportErrors(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5751,7 +5587,6 @@ func awsRestjson1_deserializeOpDocumentListExportErrorsOutput(v **ListExportErro } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5903,7 +5738,6 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsRestjson1_deserializeDocumentExportsList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5912,7 +5746,6 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6067,7 +5900,6 @@ func awsRestjson1_deserializeOpDocumentListImportErrorsOutput(v **ListImportErro if err := awsRestjson1_deserializeDocumentImportErrors(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6076,7 +5908,6 @@ func awsRestjson1_deserializeOpDocumentListImportErrorsOutput(v **ListImportErro } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6231,7 +6062,6 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsRestjson1_deserializeDocumentImportList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6240,7 +6070,6 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6395,7 +6224,6 @@ func awsRestjson1_deserializeOpDocumentListManagedAccountsOutput(v **ListManaged if err := awsRestjson1_deserializeDocumentManagedAccounts(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6404,7 +6232,6 @@ func awsRestjson1_deserializeOpDocumentListManagedAccountsOutput(v **ListManaged } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6559,7 +6386,6 @@ func awsRestjson1_deserializeOpDocumentListSourceServerActionsOutput(v **ListSou if err := awsRestjson1_deserializeDocumentSourceServerActionDocuments(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6568,7 +6394,6 @@ func awsRestjson1_deserializeOpDocumentListSourceServerActionsOutput(v **ListSou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6732,7 +6557,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6887,7 +6711,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateActionsOutput(v **ListTemplat if err := awsRestjson1_deserializeDocumentTemplateActionDocuments(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6896,7 +6719,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateActionsOutput(v **ListTemplat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7048,7 +6870,6 @@ func awsRestjson1_deserializeOpDocumentListWavesOutput(v **ListWavesOutput, valu if err := awsRestjson1_deserializeDocumentWavesList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7057,7 +6878,6 @@ func awsRestjson1_deserializeOpDocumentListWavesOutput(v **ListWavesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7219,7 +7039,6 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -7228,17 +7047,14 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -7247,7 +7063,6 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -7256,17 +7071,14 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -7275,12 +7087,10 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7289,12 +7099,10 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -7303,7 +7111,6 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -7312,7 +7119,6 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -7480,7 +7286,6 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -7489,17 +7294,14 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -7508,7 +7310,6 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -7517,17 +7318,14 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -7536,12 +7334,10 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7550,12 +7346,10 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -7564,7 +7358,6 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -7573,7 +7366,6 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -7738,7 +7530,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.ActionID = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -7747,7 +7538,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.ActionName = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -7756,7 +7546,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7554,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Category = types.ActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7774,7 +7562,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Description = ptr.String(jtv) } - case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -7783,7 +7570,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.DocumentIdentifier = ptr.String(jtv) } - case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -7792,12 +7578,10 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.DocumentVersion = ptr.String(jtv) } - case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } - case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -7806,7 +7590,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.MustSucceedForCutover = ptr.Bool(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -7819,12 +7602,10 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7837,7 +7618,6 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8002,7 +7782,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.ActionID = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -8011,7 +7790,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.ActionName = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -8020,7 +7798,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -8029,7 +7806,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Category = types.ActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8038,7 +7814,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Description = ptr.String(jtv) } - case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -8047,7 +7822,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.DocumentIdentifier = ptr.String(jtv) } - case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -8056,12 +7830,10 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.DocumentVersion = ptr.String(jtv) } - case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } - case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -8070,7 +7842,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.MustSucceedForCutover = ptr.Bool(jtv) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -8079,7 +7850,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.OperatingSystem = ptr.String(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -8092,12 +7862,10 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8110,7 +7878,6 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8466,7 +8233,6 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8475,17 +8241,14 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -8494,7 +8257,6 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -8503,17 +8265,14 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -8522,12 +8281,10 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8536,12 +8293,10 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -8550,7 +8305,6 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -8559,7 +8313,6 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -8721,7 +8474,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8730,17 +8482,14 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -8749,7 +8498,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -8758,17 +8506,14 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -8777,12 +8522,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8791,12 +8534,10 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -8805,7 +8546,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -8814,7 +8554,6 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -8972,7 +8711,6 @@ func awsRestjson1_deserializeOpDocumentStartCutoverOutput(v **StartCutoverOutput if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -9130,7 +8868,6 @@ func awsRestjson1_deserializeOpDocumentStartExportOutput(v **StartExportOutput, if err := awsRestjson1_deserializeDocumentExportTask(&sv.ExportTask, value); err != nil { return err } - default: _, _ = key, value @@ -9294,7 +9031,6 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, if err := awsRestjson1_deserializeDocumentImportTask(&sv.ImportTask, value); err != nil { return err } - default: _, _ = key, value @@ -9462,7 +9198,6 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -9471,17 +9206,14 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -9490,7 +9222,6 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -9499,17 +9230,14 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -9518,12 +9246,10 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -9532,12 +9258,10 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -9546,7 +9270,6 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -9555,7 +9278,6 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -9713,7 +9435,6 @@ func awsRestjson1_deserializeOpDocumentStartTestOutput(v **StartTestOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -9881,7 +9602,6 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -9890,17 +9610,14 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -9909,7 +9626,6 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -9918,17 +9634,14 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -9937,12 +9650,10 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -9951,12 +9662,10 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9674,6 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -9974,7 +9682,6 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -10238,7 +9945,6 @@ func awsRestjson1_deserializeOpDocumentTerminateTargetInstancesOutput(v **Termin if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -10396,7 +10102,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -10405,7 +10110,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10414,7 +10118,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10423,7 +10126,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10432,7 +10134,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -10441,7 +10142,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -10450,7 +10150,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10459,12 +10158,10 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -10473,7 +10170,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -10635,7 +10331,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10644,7 +10339,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10653,7 +10347,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -10662,7 +10355,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -10671,7 +10363,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10680,17 +10371,14 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -10699,7 +10387,6 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -10963,7 +10650,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -10972,7 +10658,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10981,7 +10666,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10674,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10999,7 +10682,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -11008,7 +10690,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -11017,7 +10698,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11026,12 +10706,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -11040,7 +10718,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -11202,7 +10879,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.Arn = ptr.String(jtv) } - case "connectorID": if value != nil { jtv, ok := value.(string) @@ -11211,7 +10887,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorID = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11220,12 +10895,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.Name = ptr.String(jtv) } - case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } - case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -11234,12 +10907,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.SsmInstanceID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11404,7 +11075,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.BootMode = types.BootMode(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -11413,7 +11083,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -11422,7 +11091,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -11431,7 +11099,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -11440,7 +11107,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.EnableMapAutoTagging = ptr.Bool(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -11449,12 +11115,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -11463,7 +11127,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.MapAutoTaggingMpeID = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11472,12 +11135,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Name = ptr.String(jtv) } - case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11486,7 +11147,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -11495,7 +11155,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -11660,7 +11319,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.Arn = ptr.String(jtv) } - case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -11669,7 +11327,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "bootMode": if value != nil { jtv, ok := value.(string) @@ -11678,7 +11335,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.BootMode = types.BootMode(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -11687,7 +11343,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -11696,7 +11351,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -11705,7 +11359,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -11714,12 +11367,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.EnableMapAutoTagging = ptr.Bool(jtv) } - case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } - case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -11728,7 +11379,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -11737,12 +11387,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -11751,17 +11399,14 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.MapAutoTaggingMpeID = ptr.String(jtv) } - case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } - case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } - case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -11774,12 +11419,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.SmallVolumeMaxSize = i64 } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -11788,7 +11431,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -11956,7 +11598,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -11969,7 +11610,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -11978,7 +11618,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -11987,7 +11626,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -11996,7 +11634,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -12005,7 +11642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -12014,7 +11650,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12023,12 +11658,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -12037,12 +11670,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12051,7 +11682,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.SourceServerID = ptr.String(jtv) } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -12060,12 +11690,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -12074,7 +11702,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -12083,7 +11710,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseFipsEndpoint = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12248,7 +11874,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -12257,7 +11882,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -12270,7 +11894,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -12279,7 +11902,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -12288,7 +11910,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12297,7 +11918,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -12306,7 +11926,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -12315,7 +11934,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -12324,7 +11942,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -12333,12 +11950,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -12347,17 +11962,14 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -12366,7 +11978,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -12375,7 +11986,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseFipsEndpoint = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12537,7 +12147,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -12546,17 +12155,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -12565,7 +12171,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -12574,17 +12179,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -12593,12 +12195,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12607,12 +12207,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -12621,7 +12219,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -12630,7 +12227,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -12795,7 +12391,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -12804,17 +12399,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -12823,7 +12415,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -12832,17 +12423,14 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -12851,12 +12439,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12865,12 +12451,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -12879,7 +12463,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -12888,7 +12471,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -13050,7 +12632,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -13059,7 +12640,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13068,7 +12648,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -13077,7 +12656,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -13086,7 +12664,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13095,17 +12672,14 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -13114,7 +12688,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -13468,13 +13041,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13484,8 +13051,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13493,15 +13059,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13532,7 +13094,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -13541,7 +13102,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13550,7 +13110,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -13559,7 +13118,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13568,7 +13126,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -13577,7 +13134,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -13586,7 +13142,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13595,12 +13150,10 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -13609,7 +13162,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -13649,7 +13201,6 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.HealthStatus = types.ApplicationHealthStatus(jtv) } - case "lastUpdateDateTime": if value != nil { jtv, ok := value.(string) @@ -13658,7 +13209,6 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.LastUpdateDateTime = ptr.String(jtv) } - case "progressStatus": if value != nil { jtv, ok := value.(string) @@ -13667,7 +13217,6 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.ProgressStatus = types.ApplicationProgressStatus(jtv) } - case "totalSourceServers": if value != nil { jtv, ok := value.(json.Number) @@ -13680,7 +13229,6 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.TotalSourceServers = i64 } - default: _, _ = key, value @@ -13744,13 +13292,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13760,13 +13302,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - case "errors": if err := awsRestjson1_deserializeDocumentConflictExceptionErrors(&sv.Errors, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13774,7 +13314,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13783,7 +13322,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13792,15 +13330,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13869,7 +13403,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } - case "connectorID": if value != nil { jtv, ok := value.(string) @@ -13878,7 +13411,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorID = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13887,12 +13419,10 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Name = ptr.String(jtv) } - case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } - case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -13901,12 +13431,10 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.SsmInstanceID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13980,7 +13508,6 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.CloudWatchLogGroupName = ptr.String(jtv) } - case "cloudWatchOutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -13989,7 +13516,6 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.CloudWatchOutputEnabled = ptr.Bool(jtv) } - case "outputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -13998,7 +13524,6 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.OutputS3BucketName = ptr.String(jtv) } - case "s3OutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -14007,7 +13532,6 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.S3OutputEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14051,7 +13575,6 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Cores = i64 } - case "modelName": if value != nil { jtv, ok := value.(string) @@ -14060,7 +13583,6 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.ModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -14134,7 +13656,6 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.Error = types.DataReplicationErrorString(jtv) } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -14143,7 +13664,6 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.RawError = ptr.String(jtv) } - default: _, _ = key, value @@ -14179,12 +13699,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati if err := awsRestjson1_deserializeDocumentDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } - case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } - case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -14193,7 +13711,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.DataReplicationState = types.DataReplicationState(jtv) } - case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -14202,7 +13719,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.EtaDateTime = ptr.String(jtv) } - case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -14211,7 +13727,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LagDuration = ptr.String(jtv) } - case "lastSnapshotDateTime": if value != nil { jtv, ok := value.(string) @@ -14220,12 +13735,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LastSnapshotDateTime = ptr.String(jtv) } - case "replicatedDisks": if err := awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } - default: _, _ = key, value @@ -14269,7 +13782,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.BackloggedStorageBytes = i64 } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -14278,7 +13790,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.DeviceName = ptr.String(jtv) } - case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14291,7 +13802,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.ReplicatedStorageBytes = i64 } - case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14304,7 +13814,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.RescannedStorageBytes = i64 } - case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14317,7 +13826,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.TotalStorageBytes = i64 } - default: _, _ = key, value @@ -14391,7 +13899,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.NextAttemptDateTime = ptr.String(jtv) } - case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -14400,12 +13907,10 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.StartDateTime = ptr.String(jtv) } - case "steps": if err := awsRestjson1_deserializeDocumentDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -14445,7 +13950,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Name = types.DataReplicationInitiationStepName(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14454,7 +13958,6 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Status = types.DataReplicationInitiationStepStatus(jtv) } - default: _, _ = key, value @@ -14532,7 +14035,6 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Bytes = i64 } - case "deviceName": if value != nil { jtv, ok := value.(string) @@ -14541,7 +14043,6 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DeviceName = ptr.String(jtv) } - default: _, _ = key, value @@ -14615,7 +14116,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -14624,7 +14124,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14633,7 +14132,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14642,7 +14140,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -14682,7 +14179,6 @@ func awsRestjson1_deserializeDocumentExportErrorData(v **types.ExportErrorData, } sv.RawError = ptr.String(jtv) } - default: _, _ = key, value @@ -14790,7 +14286,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.CreationDateTime = ptr.String(jtv) } - case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -14799,7 +14294,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.EndDateTime = ptr.String(jtv) } - case "exportID": if value != nil { jtv, ok := value.(string) @@ -14808,7 +14302,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.ExportID = ptr.String(jtv) } - case "progressPercentage": if value != nil { switch jtv := value.(type) { @@ -14842,7 +14335,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -14851,7 +14343,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3Bucket = ptr.String(jtv) } - case "s3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -14860,7 +14351,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3BucketOwner = ptr.String(jtv) } - case "s3Key": if value != nil { jtv, ok := value.(string) @@ -14869,7 +14359,6 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3Key = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14878,12 +14367,10 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.Status = types.ExportStatus(jtv) } - case "summary": if err := awsRestjson1_deserializeDocumentExportTaskSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -14919,7 +14406,6 @@ func awsRestjson1_deserializeDocumentExportTaskError(v **types.ExportTaskError, if err := awsRestjson1_deserializeDocumentExportErrorData(&sv.ErrorData, value); err != nil { return err } - case "errorDateTime": if value != nil { jtv, ok := value.(string) @@ -14928,7 +14414,6 @@ func awsRestjson1_deserializeDocumentExportTaskError(v **types.ExportTaskError, } sv.ErrorDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -14972,7 +14457,6 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.ApplicationsCount = i64 } - case "serversCount": if value != nil { jtv, ok := value.(json.Number) @@ -14985,7 +14469,6 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.ServersCount = i64 } - case "wavesCount": if value != nil { jtv, ok := value.(json.Number) @@ -14998,7 +14481,6 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.WavesCount = i64 } - default: _, _ = key, value @@ -15038,7 +14520,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.AwsInstanceID = ptr.String(jtv) } - case "fqdn": if value != nil { jtv, ok := value.(string) @@ -15047,7 +14528,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Fqdn = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -15056,7 +14536,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Hostname = ptr.String(jtv) } - case "vmPath": if value != nil { jtv, ok := value.(string) @@ -15065,7 +14544,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmPath = ptr.String(jtv) } - case "vmWareUuid": if value != nil { jtv, ok := value.(string) @@ -15074,7 +14552,6 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmWareUuid = ptr.String(jtv) } - default: _, _ = key, value @@ -15114,7 +14591,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.AccountID = ptr.String(jtv) } - case "applicationID": if value != nil { jtv, ok := value.(string) @@ -15123,7 +14599,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.ApplicationID = ptr.String(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -15132,7 +14607,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -15141,7 +14615,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.RawError = ptr.String(jtv) } - case "rowNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15154,7 +14627,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.RowNumber = i64 } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -15163,7 +14635,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.SourceServerID = ptr.String(jtv) } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -15172,7 +14643,6 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -15280,7 +14750,6 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.CreationDateTime = ptr.String(jtv) } - case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -15289,7 +14758,6 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.EndDateTime = ptr.String(jtv) } - case "importID": if value != nil { jtv, ok := value.(string) @@ -15298,7 +14766,6 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportID = ptr.String(jtv) } - case "progressPercentage": if value != nil { switch jtv := value.(type) { @@ -15332,12 +14799,10 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } } - case "s3BucketSource": if err := awsRestjson1_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15346,12 +14811,10 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Status = types.ImportStatus(jtv) } - case "summary": if err := awsRestjson1_deserializeDocumentImportTaskSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -15387,7 +14850,6 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, if err := awsRestjson1_deserializeDocumentImportErrorData(&sv.ErrorData, value); err != nil { return err } - case "errorDateTime": if value != nil { jtv, ok := value.(string) @@ -15396,7 +14858,6 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, } sv.ErrorDateTime = ptr.String(jtv) } - case "errorType": if value != nil { jtv, ok := value.(string) @@ -15405,7 +14866,6 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, } sv.ErrorType = types.ImportErrorType(jtv) } - default: _, _ = key, value @@ -15441,17 +14901,14 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma if err := awsRestjson1_deserializeDocumentImportTaskSummaryApplications(&sv.Applications, value); err != nil { return err } - case "servers": if err := awsRestjson1_deserializeDocumentImportTaskSummaryServers(&sv.Servers, value); err != nil { return err } - case "waves": if err := awsRestjson1_deserializeDocumentImportTaskSummaryWaves(&sv.Waves, value); err != nil { return err } - default: _, _ = key, value @@ -15495,7 +14952,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryApplications(v **types.Imp } sv.CreatedCount = i64 } - case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -15508,7 +14964,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryApplications(v **types.Imp } sv.ModifiedCount = i64 } - default: _, _ = key, value @@ -15552,7 +15007,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryServers(v **types.ImportTa } sv.CreatedCount = i64 } - case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -15565,7 +15019,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryServers(v **types.ImportTa } sv.ModifiedCount = i64 } - default: _, _ = key, value @@ -15609,7 +15062,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryWaves(v **types.ImportTask } sv.CreatedCount = i64 } - case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -15622,7 +15074,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryWaves(v **types.ImportTask } sv.ModifiedCount = i64 } - default: _, _ = key, value @@ -15652,15 +15103,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15668,7 +15113,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15681,15 +15125,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = i64 } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15760,7 +15200,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -15769,7 +15208,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreationDateTime = ptr.String(jtv) } - case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -15778,7 +15216,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EndDateTime = ptr.String(jtv) } - case "initiatedBy": if value != nil { jtv, ok := value.(string) @@ -15787,7 +15224,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -15796,12 +15232,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobID = ptr.String(jtv) } - case "participatingServers": if err := awsRestjson1_deserializeDocumentParticipatingServers(&sv.ParticipatingServers, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15810,12 +15244,10 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -15824,7 +15256,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } - default: _, _ = key, value @@ -15864,12 +15295,10 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.Event = types.JobLogEvent(jtv) } - case "eventData": if err := awsRestjson1_deserializeDocumentJobLogEventData(&sv.EventData, value); err != nil { return err } - case "logDateTime": if value != nil { jtv, ok := value.(string) @@ -15878,7 +15307,6 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.LogDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -15918,7 +15346,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.ConversionServerID = ptr.String(jtv) } - case "rawError": if value != nil { jtv, ok := value.(string) @@ -15927,7 +15354,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.RawError = ptr.String(jtv) } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -15936,7 +15362,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.SourceServerID = ptr.String(jtv) } - case "targetInstanceID": if value != nil { jtv, ok := value.(string) @@ -15945,7 +15370,6 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.TargetInstanceID = ptr.String(jtv) } - default: _, _ = key, value @@ -16019,7 +15443,6 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.ExecutionID = ptr.String(jtv) } - case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -16028,7 +15451,6 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.ExecutionStatus = types.PostLaunchActionExecutionStatus(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -16037,12 +15459,10 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.FailureReason = ptr.String(jtv) } - case "ssmDocument": if err := awsRestjson1_deserializeDocumentSsmDocument(&sv.SsmDocument, value); err != nil { return err } - case "ssmDocumentType": if value != nil { jtv, ok := value.(string) @@ -16051,7 +15471,6 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.SsmDocumentType = types.SsmDocumentType(jtv) } - default: _, _ = key, value @@ -16125,7 +15544,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Arn = ptr.String(jtv) } - case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -16134,7 +15552,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "bootMode": if value != nil { jtv, ok := value.(string) @@ -16143,7 +15560,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.BootMode = types.BootMode(jtv) } - case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -16152,7 +15568,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyPrivateIp = ptr.Bool(jtv) } - case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -16161,7 +15576,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyTags = ptr.Bool(jtv) } - case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -16170,7 +15584,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } - case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -16179,12 +15592,10 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.EnableMapAutoTagging = ptr.Bool(jtv) } - case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } - case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -16193,7 +15604,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } - case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -16202,12 +15612,10 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } - case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } - case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -16216,17 +15624,14 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.MapAutoTaggingMpeID = ptr.String(jtv) } - case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } - case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } - case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -16239,12 +15644,10 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.SmallVolumeMaxSize = i64 } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -16253,7 +15656,6 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } - default: _, _ = key, value @@ -16327,7 +15729,6 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.Ec2InstanceID = ptr.String(jtv) } - case "firstBoot": if value != nil { jtv, ok := value.(string) @@ -16336,7 +15737,6 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.FirstBoot = types.FirstBoot(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -16345,7 +15745,6 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.JobID = ptr.String(jtv) } - default: _, _ = key, value @@ -16389,7 +15788,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.Iops = ptr.Int64(i64) } - case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16402,7 +15800,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.Throughput = ptr.Int64(i64) } - case "volumeType": if value != nil { jtv, ok := value.(string) @@ -16411,7 +15808,6 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -16451,7 +15847,6 @@ func awsRestjson1_deserializeDocumentLicensing(v **types.Licensing, value interf } sv.OsByol = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16491,7 +15886,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.AddedToServiceDateTime = ptr.String(jtv) } - case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -16500,7 +15894,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.ElapsedReplicationDuration = ptr.String(jtv) } - case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -16509,12 +15902,10 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.FirstByteDateTime = ptr.String(jtv) } - case "lastCutover": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutover(&sv.LastCutover, value); err != nil { return err } - case "lastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -16523,12 +15914,10 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.LastSeenByServiceDateTime = ptr.String(jtv) } - case "lastTest": if err := awsRestjson1_deserializeDocumentLifeCycleLastTest(&sv.LastTest, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -16537,7 +15926,6 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.State = types.LifeCycleState(jtv) } - default: _, _ = key, value @@ -16573,17 +15961,14 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutover(v **types.LifeCycleLas if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverFinalized(&sv.Finalized, value); err != nil { return err } - case "initiated": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(&sv.Initiated, value); err != nil { return err } - case "reverted": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverReverted(&sv.Reverted, value); err != nil { return err } - default: _, _ = key, value @@ -16623,7 +16008,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverFinalized(v **types.Lif } sv.ApiCallDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -16663,7 +16047,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(v **types.Lif } sv.ApiCallDateTime = ptr.String(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -16672,7 +16055,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(v **types.Lif } sv.JobID = ptr.String(jtv) } - default: _, _ = key, value @@ -16712,7 +16094,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverReverted(v **types.Life } sv.ApiCallDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -16748,17 +16129,14 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTest(v **types.LifeCycleLastTe if err := awsRestjson1_deserializeDocumentLifeCycleLastTestFinalized(&sv.Finalized, value); err != nil { return err } - case "initiated": if err := awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(&sv.Initiated, value); err != nil { return err } - case "reverted": if err := awsRestjson1_deserializeDocumentLifeCycleLastTestReverted(&sv.Reverted, value); err != nil { return err } - default: _, _ = key, value @@ -16798,7 +16176,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestFinalized(v **types.LifeCy } sv.ApiCallDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -16838,7 +16215,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(v **types.LifeCy } sv.ApiCallDateTime = ptr.String(jtv) } - case "jobID": if value != nil { jtv, ok := value.(string) @@ -16847,7 +16223,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(v **types.LifeCy } sv.JobID = ptr.String(jtv) } - default: _, _ = key, value @@ -16887,7 +16262,6 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestReverted(v **types.LifeCyc } sv.ApiCallDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -16927,7 +16301,6 @@ func awsRestjson1_deserializeDocumentManagedAccount(v **types.ManagedAccount, va } sv.AccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -16997,7 +16370,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIPsList(&sv.Ips, value); err != nil { return err } - case "isPrimary": if value != nil { jtv, ok := value.(bool) @@ -17006,7 +16378,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.IsPrimary = ptr.Bool(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -17015,7 +16386,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -17089,7 +16459,6 @@ func awsRestjson1_deserializeDocumentOS(v **types.OS, value interface{}) error { } sv.FullString = ptr.String(jtv) } - default: _, _ = key, value @@ -17129,7 +16498,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchedEc2InstanceID = ptr.String(jtv) } - case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -17138,12 +16506,10 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchStatus = types.LaunchStatus(jtv) } - case "postLaunchActionsStatus": if err := awsRestjson1_deserializeDocumentPostLaunchActionsStatus(&sv.PostLaunchActionsStatus, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -17152,7 +16518,6 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.SourceServerID = ptr.String(jtv) } - default: _, _ = key, value @@ -17226,7 +16591,6 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.CloudWatchLogGroupName = ptr.String(jtv) } - case "deployment": if value != nil { jtv, ok := value.(string) @@ -17235,7 +16599,6 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.Deployment = types.PostLaunchActionsDeploymentType(jtv) } - case "s3LogBucket": if value != nil { jtv, ok := value.(string) @@ -17244,7 +16607,6 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.S3LogBucket = ptr.String(jtv) } - case "s3OutputKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -17253,12 +16615,10 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.S3OutputKeyPrefix = ptr.String(jtv) } - case "ssmDocuments": if err := awsRestjson1_deserializeDocumentSsmDocuments(&sv.SsmDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -17328,7 +16688,6 @@ func awsRestjson1_deserializeDocumentPostLaunchActionsStatus(v **types.PostLaunc if err := awsRestjson1_deserializeDocumentPostLaunchActionsLaunchStatusList(&sv.PostLaunchActionsLaunchStatusList, value); err != nil { return err } - case "ssmAgentDiscoveryDatetime": if value != nil { jtv, ok := value.(string) @@ -17337,7 +16696,6 @@ func awsRestjson1_deserializeDocumentPostLaunchActionsStatus(v **types.PostLaunc } sv.SsmAgentDiscoveryDatetime = ptr.String(jtv) } - default: _, _ = key, value @@ -17377,7 +16735,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.DeviceName = ptr.String(jtv) } - case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -17390,7 +16747,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Iops = i64 } - case "isBootDisk": if value != nil { jtv, ok := value.(bool) @@ -17399,7 +16755,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.IsBootDisk = ptr.Bool(jtv) } - case "stagingDiskType": if value != nil { jtv, ok := value.(string) @@ -17408,7 +16763,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.StagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } - case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -17421,7 +16775,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Throughput = i64 } - default: _, _ = key, value @@ -17495,7 +16848,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.Arn = ptr.String(jtv) } - case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -17504,7 +16856,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } - case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -17517,7 +16868,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.BandwidthThrottling = i64 } - case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -17526,7 +16876,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.CreatePublicIP = ptr.Bool(jtv) } - case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -17535,7 +16884,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } - case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -17544,7 +16892,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } - case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -17553,7 +16900,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } - case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -17562,7 +16908,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryptionKeyArn = ptr.String(jtv) } - case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -17571,7 +16916,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } - case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -17580,12 +16924,10 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationServerInstanceType = ptr.String(jtv) } - case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } - case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -17594,17 +16936,14 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.StagingAreaSubnetId = ptr.String(jtv) } - case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -17613,7 +16952,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } - case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -17622,7 +16960,6 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseFipsEndpoint = ptr.Bool(jtv) } - default: _, _ = key, value @@ -17722,13 +17059,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -17738,8 +17069,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17747,7 +17077,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -17756,7 +17085,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -17765,15 +17093,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17808,7 +17132,6 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Bucket = ptr.String(jtv) } - case "s3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -17817,7 +17140,6 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3BucketOwner = ptr.String(jtv) } - case "s3Key": if value != nil { jtv, ok := value.(string) @@ -17826,7 +17148,6 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -17856,13 +17177,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -17872,8 +17187,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17881,7 +17195,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -17890,7 +17203,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "quotaValue": if value != nil { jtv, ok := value.(json.Number) @@ -17903,7 +17215,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaValue = ptr.Int32(int32(i64)) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -17912,7 +17223,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -17921,7 +17231,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -17930,15 +17239,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17969,17 +17274,14 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } - case "disks": if err := awsRestjson1_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } - case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -17988,17 +17290,14 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.LastUpdatedDateTime = ptr.String(jtv) } - case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } - case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18011,7 +17310,6 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RamBytes = i64 } - case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -18020,7 +17318,6 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RecommendedInstanceType = ptr.String(jtv) } - default: _, _ = key, value @@ -18060,7 +17357,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ApplicationID = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -18069,17 +17365,14 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.Arn = ptr.String(jtv) } - case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } - case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } - case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -18088,7 +17381,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.FqdnForActionFramework = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -18097,17 +17389,14 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.IsArchived = ptr.Bool(jtv) } - case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } - case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } - case "replicationType": if value != nil { jtv, ok := value.(string) @@ -18116,12 +17405,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReplicationType = types.ReplicationType(jtv) } - case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } - case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -18130,12 +17417,10 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceServerID = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -18144,7 +17429,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.UserProvidedID = ptr.String(jtv) } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -18153,7 +17437,6 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.VcenterClientID = ptr.String(jtv) } - default: _, _ = key, value @@ -18193,7 +17476,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.ActionID = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -18202,7 +17484,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.ActionName = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -18211,7 +17492,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -18220,7 +17500,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Category = types.ActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18229,7 +17508,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Description = ptr.String(jtv) } - case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -18238,7 +17516,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.DocumentIdentifier = ptr.String(jtv) } - case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -18247,12 +17524,10 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.DocumentVersion = ptr.String(jtv) } - case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } - case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -18261,7 +17536,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.MustSucceedForCutover = ptr.Bool(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -18274,12 +17548,10 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18292,7 +17564,6 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18366,7 +17637,6 @@ func awsRestjson1_deserializeDocumentSourceServerConnectorAction(v **types.Sourc } sv.ConnectorArn = ptr.String(jtv) } - case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -18375,7 +17645,6 @@ func awsRestjson1_deserializeDocumentSourceServerConnectorAction(v **types.Sourc } sv.CredentialsSecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18449,12 +17718,10 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.ActionName = ptr.String(jtv) } - case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } - case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -18463,12 +17730,10 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.MustSucceedForCutover = ptr.Bool(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "ssmDocumentName": if value != nil { jtv, ok := value.(string) @@ -18477,7 +17742,6 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.SsmDocumentName = ptr.String(jtv) } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18490,7 +17754,6 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18674,7 +17937,6 @@ func awsRestjson1_deserializeDocumentSsmParameterStoreParameter(v **types.SsmPar } sv.ParameterName = ptr.String(jtv) } - case "parameterType": if value != nil { jtv, ok := value.(string) @@ -18683,7 +17945,6 @@ func awsRestjson1_deserializeDocumentSsmParameterStoreParameter(v **types.SsmPar } sv.ParameterType = types.SsmParameterStoreParameterType(jtv) } - default: _, _ = key, value @@ -18793,7 +18054,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.ActionID = ptr.String(jtv) } - case "actionName": if value != nil { jtv, ok := value.(string) @@ -18802,7 +18062,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.ActionName = ptr.String(jtv) } - case "active": if value != nil { jtv, ok := value.(bool) @@ -18811,7 +18070,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Active = ptr.Bool(jtv) } - case "category": if value != nil { jtv, ok := value.(string) @@ -18820,7 +18078,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Category = types.ActionCategory(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18829,7 +18086,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Description = ptr.String(jtv) } - case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -18838,7 +18094,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.DocumentIdentifier = ptr.String(jtv) } - case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -18847,12 +18102,10 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.DocumentVersion = ptr.String(jtv) } - case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } - case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -18861,7 +18114,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.MustSucceedForCutover = ptr.Bool(jtv) } - case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -18870,7 +18122,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.OperatingSystem = ptr.String(jtv) } - case "order": if value != nil { jtv, ok := value.(json.Number) @@ -18883,12 +18134,10 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Order = ptr.Int32(int32(i64)) } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18901,7 +18150,6 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -18965,15 +18213,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18981,7 +18223,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -18990,7 +18231,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -18999,7 +18239,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -19008,15 +18247,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19041,13 +18276,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -19057,8 +18286,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19066,15 +18294,11 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19099,13 +18323,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -19115,13 +18333,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } - case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19129,7 +18345,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -19138,15 +18353,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19181,7 +18392,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19190,7 +18400,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19264,7 +18473,6 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.Arn = ptr.String(jtv) } - case "datacenterName": if value != nil { jtv, ok := value.(string) @@ -19273,7 +18481,6 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.DatacenterName = ptr.String(jtv) } - case "hostname": if value != nil { jtv, ok := value.(string) @@ -19282,7 +18489,6 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.Hostname = ptr.String(jtv) } - case "lastSeenDatetime": if value != nil { jtv, ok := value.(string) @@ -19291,17 +18497,14 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.LastSeenDatetime = ptr.String(jtv) } - case "sourceServerTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.SourceServerTags, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -19310,7 +18513,6 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.VcenterClientID = ptr.String(jtv) } - case "vcenterUUID": if value != nil { jtv, ok := value.(string) @@ -19319,7 +18521,6 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.VcenterUUID = ptr.String(jtv) } - default: _, _ = key, value @@ -19393,7 +18594,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -19402,7 +18602,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.CreationDateTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -19411,7 +18610,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Description = ptr.String(jtv) } - case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -19420,7 +18618,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.IsArchived = ptr.Bool(jtv) } - case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -19429,7 +18626,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.LastModifiedDateTime = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19438,17 +18634,14 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } - case "waveID": if value != nil { jtv, ok := value.(string) @@ -19457,7 +18650,6 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.WaveID = ptr.String(jtv) } - default: _, _ = key, value @@ -19497,7 +18689,6 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.HealthStatus = types.WaveHealthStatus(jtv) } - case "lastUpdateDateTime": if value != nil { jtv, ok := value.(string) @@ -19506,7 +18697,6 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.LastUpdateDateTime = ptr.String(jtv) } - case "progressStatus": if value != nil { jtv, ok := value.(string) @@ -19515,7 +18705,6 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.ProgressStatus = types.WaveProgressStatus(jtv) } - case "replicationStartedDateTime": if value != nil { jtv, ok := value.(string) @@ -19524,7 +18713,6 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.ReplicationStartedDateTime = ptr.String(jtv) } - case "totalApplications": if value != nil { jtv, ok := value.(json.Number) @@ -19537,7 +18725,6 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.TotalApplications = i64 } - default: _, _ = key, value diff --git a/service/migrationhub/deserializers.go b/service/migrationhub/deserializers.go index a163f4f4b15..223fc9c776a 100644 --- a/service/migrationhub/deserializers.go +++ b/service/migrationhub/deserializers.go @@ -2655,15 +2655,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2671,15 +2665,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2714,7 +2704,6 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } sv.ApplicationId = ptr.String(jtv) } - case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -2723,7 +2712,6 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2739,7 +2727,6 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } } - default: _, _ = key, value @@ -2813,7 +2800,6 @@ func awsAwsjson11_deserializeDocumentCreatedArtifact(v **types.CreatedArtifact, } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2822,7 +2808,6 @@ func awsAwsjson11_deserializeDocumentCreatedArtifact(v **types.CreatedArtifact, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2896,7 +2881,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.ConfigurationId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2905,7 +2889,6 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -2969,15 +2952,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2985,15 +2962,11 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3018,15 +2991,9 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3034,15 +3001,11 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3067,15 +3030,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3083,15 +3040,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3116,15 +3069,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3132,15 +3079,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3209,7 +3152,6 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } sv.MigrationTaskName = ptr.String(jtv) } - case "ProgressUpdateStream": if value != nil { jtv, ok := value.(string) @@ -3218,17 +3160,14 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } sv.ProgressUpdateStream = ptr.String(jtv) } - case "ResourceAttributeList": if err := awsAwsjson11_deserializeDocumentLatestResourceAttributeList(&sv.ResourceAttributeList, value); err != nil { return err } - case "Task": if err := awsAwsjson11_deserializeDocumentTask(&sv.Task, value); err != nil { return err } - case "UpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -3244,7 +3183,6 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } } - default: _, _ = key, value @@ -3284,7 +3222,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.MigrationTaskName = ptr.String(jtv) } - case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -3297,7 +3234,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.ProgressPercent = ptr.Int32(int32(i64)) } - case "ProgressUpdateStream": if value != nil { jtv, ok := value.(string) @@ -3306,7 +3242,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.ProgressUpdateStream = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3250,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.Status = types.Status(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -3324,7 +3258,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.StatusDetail = ptr.String(jtv) } - case "UpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -3340,7 +3273,6 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } } - default: _, _ = key, value @@ -3404,15 +3336,9 @@ func awsAwsjson11_deserializeDocumentPolicyErrorException(v **types.PolicyErrorE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3420,15 +3346,11 @@ func awsAwsjson11_deserializeDocumentPolicyErrorException(v **types.PolicyErrorE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3463,7 +3385,6 @@ func awsAwsjson11_deserializeDocumentProgressUpdateStreamSummary(v **types.Progr } sv.ProgressUpdateStreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -3537,7 +3458,6 @@ func awsAwsjson11_deserializeDocumentResourceAttribute(v **types.ResourceAttribu } sv.Type = types.ResourceAttributeType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3546,7 +3466,6 @@ func awsAwsjson11_deserializeDocumentResourceAttribute(v **types.ResourceAttribu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3576,15 +3495,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3592,15 +3505,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3625,15 +3534,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3641,15 +3544,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3688,7 +3587,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ProgressPercent = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3697,7 +3595,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Status = types.Status(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -3706,7 +3603,6 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StatusDetail = ptr.String(jtv) } - default: _, _ = key, value @@ -3736,15 +3632,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3752,7 +3642,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3765,15 +3654,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3798,15 +3683,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperation(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3814,15 +3693,11 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperation(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3981,7 +3856,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationStateOutput(v **Descri } sv.ApplicationStatus = types.ApplicationStatus(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3997,7 +3871,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationStateOutput(v **Descri } } - default: _, _ = key, value @@ -4033,7 +3906,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMigrationTaskOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentMigrationTask(&sv.MigrationTask, value); err != nil { return err } - default: _, _ = key, value @@ -4162,7 +4034,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationStatesOutput(v **ListAppli if err := awsAwsjson11_deserializeDocumentApplicationStateList(&sv.ApplicationStateList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4171,7 +4042,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationStatesOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4207,7 +4077,6 @@ func awsAwsjson11_deserializeOpDocumentListCreatedArtifactsOutput(v **ListCreate if err := awsAwsjson11_deserializeDocumentCreatedArtifactList(&sv.CreatedArtifactList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4216,7 +4085,6 @@ func awsAwsjson11_deserializeOpDocumentListCreatedArtifactsOutput(v **ListCreate } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4252,7 +4120,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis if err := awsAwsjson11_deserializeDocumentDiscoveredResourceList(&sv.DiscoveredResourceList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4261,7 +4128,6 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4297,7 +4163,6 @@ func awsAwsjson11_deserializeOpDocumentListMigrationTasksOutput(v **ListMigratio if err := awsAwsjson11_deserializeDocumentMigrationTaskSummaryList(&sv.MigrationTaskSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4306,7 +4171,6 @@ func awsAwsjson11_deserializeOpDocumentListMigrationTasksOutput(v **ListMigratio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4346,12 +4210,10 @@ func awsAwsjson11_deserializeOpDocumentListProgressUpdateStreamsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } - case "ProgressUpdateStreamSummaryList": if err := awsAwsjson11_deserializeDocumentProgressUpdateStreamSummaryList(&sv.ProgressUpdateStreamSummaryList, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/migrationhubconfig/deserializers.go b/service/migrationhubconfig/deserializers.go index 05894657cf1..e8f78a4cfcf 100644 --- a/service/migrationhubconfig/deserializers.go +++ b/service/migrationhubconfig/deserializers.go @@ -754,15 +754,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -770,15 +764,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -803,15 +793,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -819,15 +803,11 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -862,7 +842,6 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } sv.ControlId = ptr.String(jtv) } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -871,7 +850,6 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } sv.HomeRegion = ptr.String(jtv) } - case "RequestedTime": if value != nil { switch jtv := value.(type) { @@ -887,12 +865,10 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } } - case "Target": if err := awsAwsjson11_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -956,15 +932,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -972,15 +942,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1005,15 +971,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1021,15 +981,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1054,15 +1010,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1070,15 +1020,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1113,7 +1059,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1122,7 +1067,6 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Type = types.TargetType(jtv) } - default: _, _ = key, value @@ -1152,15 +1096,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1168,7 +1106,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1181,15 +1118,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1220,7 +1153,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHomeRegionControlOutput(v **CreateH if err := awsAwsjson11_deserializeDocumentHomeRegionControl(&sv.HomeRegionControl, value); err != nil { return err } - default: _, _ = key, value @@ -1287,7 +1219,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHomeRegionControlsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentHomeRegionControls(&sv.HomeRegionControls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1296,7 +1227,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHomeRegionControlsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1336,7 +1266,6 @@ func awsAwsjson11_deserializeOpDocumentGetHomeRegionOutput(v **GetHomeRegionOutp } sv.HomeRegion = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/migrationhuborchestrator/deserializers.go b/service/migrationhuborchestrator/deserializers.go index 7c4ab7d4980..0274d2e282f 100644 --- a/service/migrationhuborchestrator/deserializers.go +++ b/service/migrationhuborchestrator/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -192,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -201,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -366,7 +363,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.AdsApplicationConfigurationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -375,7 +371,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -391,7 +386,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -400,7 +394,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -409,7 +402,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -418,7 +410,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -427,17 +418,14 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "stepTargets": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTargets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -446,12 +434,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.TemplateId = ptr.String(jtv) } - case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } - default: _, _ = key, value @@ -616,7 +602,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -625,7 +610,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.Name = ptr.String(jtv) } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -634,7 +618,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.StepGroupId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -643,7 +626,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -815,7 +797,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } } - case "description": if value != nil { jtv, ok := value.(string) @@ -824,7 +805,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -833,7 +813,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -842,22 +821,18 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -866,7 +841,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -1134,7 +1108,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1143,7 +1116,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1152,7 +1124,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - default: _, _ = key, value @@ -1524,7 +1495,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1533,7 +1503,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1542,12 +1511,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Id = ptr.String(jtv) } - case "inputs": if err := awsRestjson1_deserializeDocumentTemplateInputList(&sv.Inputs, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1556,7 +1523,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Name = ptr.String(jtv) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -1565,7 +1531,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Owner = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1574,7 +1539,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Status = types.TemplateStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1583,12 +1547,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -1597,7 +1559,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateArn = ptr.String(jtv) } - case "templateClass": if value != nil { jtv, ok := value.(string) @@ -1606,12 +1567,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateClass = ptr.String(jtv) } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - default: _, _ = key, value @@ -1779,7 +1738,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.CreationTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1788,7 +1746,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1797,7 +1754,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1806,22 +1762,18 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "outputs": if err := awsRestjson1_deserializeDocumentStepOutputList(&sv.Outputs, value); err != nil { return err } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -1830,12 +1782,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.StepActionType = types.StepActionType(jtv) } - case "stepAutomationConfiguration": if err := awsRestjson1_deserializeDocumentStepAutomationConfiguration(&sv.StepAutomationConfiguration, value); err != nil { return err } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -1844,7 +1794,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.StepGroupId = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -1853,7 +1802,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -2028,7 +1976,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2037,7 +1984,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2046,7 +1992,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2062,7 +2007,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2071,17 +2015,14 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2090,7 +2031,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Status = types.StepGroupStatus(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -2099,12 +2039,10 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.TemplateId = ptr.String(jtv) } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - default: _, _ = key, value @@ -2272,7 +2210,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.AdsApplicationConfigurationId = ptr.String(jtv) } - case "adsApplicationName": if value != nil { jtv, ok := value.(string) @@ -2281,7 +2218,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.AdsApplicationName = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2290,7 +2226,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Arn = ptr.String(jtv) } - case "completedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -2303,7 +2238,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CompletedSteps = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2319,7 +2253,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2328,7 +2261,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -2344,7 +2276,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "id": if value != nil { jtv, ok := value.(string) @@ -2353,7 +2284,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2369,7 +2299,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -2385,7 +2314,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -2401,7 +2329,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2410,7 +2337,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2419,7 +2345,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2428,12 +2353,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -2442,12 +2365,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.TemplateId = ptr.String(jtv) } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - case "totalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -2460,7 +2381,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.TotalSteps = ptr.Int32(int32(i64)) } - case "workflowBucket": if value != nil { jtv, ok := value.(string) @@ -2469,12 +2389,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowBucket = ptr.String(jtv) } - case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } - default: _, _ = key, value @@ -2646,7 +2564,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } - case "description": if value != nil { jtv, ok := value.(string) @@ -2655,7 +2572,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -2671,7 +2587,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -2687,7 +2602,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2696,12 +2610,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "noOfSrvCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -2714,7 +2626,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.NoOfSrvCompleted = ptr.Int32(int32(i64)) } - case "noOfSrvFailed": if value != nil { jtv, ok := value.(json.Number) @@ -2727,12 +2638,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.NoOfSrvFailed = ptr.Int32(int32(i64)) } - case "outputs": if err := awsRestjson1_deserializeDocumentWorkflowStepOutputList(&sv.Outputs, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -2741,12 +2650,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Owner = types.Owner(jtv) } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "scriptOutputLocation": if value != nil { jtv, ok := value.(string) @@ -2755,7 +2662,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.ScriptOutputLocation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2764,7 +2670,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Status = types.StepStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2773,7 +2678,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StatusMessage = ptr.String(jtv) } - case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -2782,7 +2686,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepActionType = types.StepActionType(jtv) } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -2791,7 +2694,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepGroupId = ptr.String(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -2800,12 +2702,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepId = ptr.String(jtv) } - case "stepTarget": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTarget, value); err != nil { return err } - case "totalNoOfSrv": if value != nil { jtv, ok := value.(json.Number) @@ -2818,7 +2718,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.TotalNoOfSrv = ptr.Int32(int32(i64)) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -2827,12 +2726,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.WorkflowId = ptr.String(jtv) } - case "workflowStepAutomationConfiguration": if err := awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(&sv.WorkflowStepAutomationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3007,7 +2904,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3016,7 +2912,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Description = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -3032,7 +2927,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } - case "id": if value != nil { jtv, ok := value.(string) @@ -3041,7 +2935,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3057,7 +2950,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -3066,12 +2958,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -3080,12 +2970,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Owner = types.Owner(jtv) } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3094,12 +2982,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Status = types.StepGroupStatus(jtv) } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -3108,7 +2994,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -3270,12 +3155,10 @@ func awsRestjson1_deserializeOpDocumentListPluginsOutput(v **ListPluginsOutput, } sv.NextToken = ptr.String(jtv) } - case "plugins": if err := awsRestjson1_deserializeDocumentPluginSummaries(&sv.Plugins, value); err != nil { return err } - default: _, _ = key, value @@ -3430,7 +3313,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3592,12 +3474,10 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } - case "templateSummary": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.TemplateSummary, value); err != nil { return err } - default: _, _ = key, value @@ -3762,12 +3642,10 @@ func awsRestjson1_deserializeOpDocumentListTemplateStepGroupsOutput(v **ListTemp } sv.NextToken = ptr.String(jtv) } - case "templateStepGroupSummary": if err := awsRestjson1_deserializeDocumentTemplateStepGroupSummaryList(&sv.TemplateStepGroupSummary, value); err != nil { return err } - default: _, _ = key, value @@ -3935,12 +3813,10 @@ func awsRestjson1_deserializeOpDocumentListTemplateStepsOutput(v **ListTemplateS } sv.NextToken = ptr.String(jtv) } - case "templateStepSummaryList": if err := awsRestjson1_deserializeDocumentTemplateStepSummaryList(&sv.TemplateStepSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -4104,7 +3980,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentMigrationWorkflowSummaryList(&sv.MigrationWorkflowSummary, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4113,7 +3988,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4281,12 +4155,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepGroupsOutput(v **ListWork } sv.NextToken = ptr.String(jtv) } - case "workflowStepGroupsSummary": if err := awsRestjson1_deserializeDocumentWorkflowStepGroupsSummaryList(&sv.WorkflowStepGroupsSummary, value); err != nil { return err } - default: _, _ = key, value @@ -4451,12 +4323,10 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepsOutput(v **ListWorkflowS } sv.NextToken = ptr.String(jtv) } - case "workflowStepsSummary": if err := awsRestjson1_deserializeDocumentWorkflowStepsSummaryList(&sv.WorkflowStepsSummary, value); err != nil { return err } - default: _, _ = key, value @@ -4621,7 +4491,6 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4630,7 +4499,6 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.Status = types.StepStatus(jtv) } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -4639,7 +4507,6 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.StepGroupId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -4648,7 +4515,6 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -4816,7 +4682,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4825,7 +4690,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Id = ptr.String(jtv) } - case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -4841,7 +4705,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } } - case "status": if value != nil { jtv, ok := value.(string) @@ -4850,7 +4713,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4859,7 +4721,6 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5027,7 +4888,6 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5036,7 +4896,6 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Id = ptr.String(jtv) } - case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -5052,7 +4911,6 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } } - case "status": if value != nil { jtv, ok := value.(string) @@ -5061,7 +4919,6 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5070,7 +4927,6 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5416,7 +5272,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateArn": if value != nil { jtv, ok := value.(string) @@ -5425,7 +5280,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateArn = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -5434,7 +5288,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -5602,7 +5455,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.AdsApplicationConfigurationId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -5611,7 +5463,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5627,7 +5478,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5636,7 +5486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5645,7 +5494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5661,7 +5509,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5670,7 +5517,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5679,17 +5525,14 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "stepTargets": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTargets, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -5698,12 +5541,10 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.TemplateId = ptr.String(jtv) } - case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } - default: _, _ = key, value @@ -5868,7 +5709,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5877,7 +5717,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.Name = ptr.String(jtv) } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -5886,7 +5725,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.StepGroupId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -5895,7 +5733,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -6063,7 +5900,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6072,7 +5908,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6088,7 +5923,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6097,22 +5931,18 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -6121,7 +5951,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -6367,15 +6196,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6383,15 +6206,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6416,15 +6235,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6432,15 +6245,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6465,15 +6274,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6481,15 +6284,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6560,7 +6359,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.AdsApplicationConfigurationName = ptr.String(jtv) } - case "completedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -6573,7 +6371,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.CompletedSteps = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6589,7 +6386,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -6605,7 +6401,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } } - case "id": if value != nil { jtv, ok := value.(string) @@ -6614,7 +6409,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6623,7 +6417,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6632,7 +6425,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6641,7 +6433,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.StatusMessage = ptr.String(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -6650,7 +6441,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.TemplateId = ptr.String(jtv) } - case "totalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -6663,7 +6453,6 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.TotalSteps = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6737,7 +6526,6 @@ func awsRestjson1_deserializeDocumentPlatformCommand(v **types.PlatformCommand, } sv.Linux = ptr.String(jtv) } - case "windows": if value != nil { jtv, ok := value.(string) @@ -6746,7 +6534,6 @@ func awsRestjson1_deserializeDocumentPlatformCommand(v **types.PlatformCommand, } sv.Windows = ptr.String(jtv) } - default: _, _ = key, value @@ -6786,7 +6573,6 @@ func awsRestjson1_deserializeDocumentPlatformScriptKey(v **types.PlatformScriptK } sv.Linux = ptr.String(jtv) } - case "windows": if value != nil { jtv, ok := value.(string) @@ -6795,7 +6581,6 @@ func awsRestjson1_deserializeDocumentPlatformScriptKey(v **types.PlatformScriptK } sv.Windows = ptr.String(jtv) } - default: _, _ = key, value @@ -6869,7 +6654,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Hostname = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -6878,7 +6662,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.IpAddress = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -6887,7 +6670,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.PluginId = ptr.String(jtv) } - case "registeredTime": if value != nil { jtv, ok := value.(string) @@ -6896,7 +6678,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.RegisteredTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6905,7 +6686,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Status = types.PluginHealth(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -6914,7 +6694,6 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6944,15 +6723,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6960,15 +6733,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6999,7 +6768,6 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA if err := awsRestjson1_deserializeDocumentPlatformCommand(&sv.Command, value); err != nil { return err } - case "runEnvironment": if value != nil { jtv, ok := value.(string) @@ -7008,7 +6776,6 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.RunEnvironment = types.RunEnvironment(jtv) } - case "scriptLocationS3Bucket": if value != nil { jtv, ok := value.(string) @@ -7017,12 +6784,10 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.ScriptLocationS3Bucket = ptr.String(jtv) } - case "scriptLocationS3Key": if err := awsRestjson1_deserializeDocumentPlatformScriptKey(&sv.ScriptLocationS3Key, value); err != nil { return err } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -7031,7 +6796,6 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.TargetType = types.TargetType(jtv) } - default: _, _ = key, value @@ -7179,7 +6943,6 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.DataType = types.DataType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7188,7 +6951,6 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.Name = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -7197,7 +6959,6 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7379,7 +7140,6 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.DataType = types.DataType(jtv) } - case "inputName": if value != nil { jtv, ok := value.(string) @@ -7388,7 +7148,6 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.InputName = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -7397,7 +7156,6 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.Required = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7471,7 +7229,6 @@ func awsRestjson1_deserializeDocumentTemplateStepGroupSummary(v **types.Template } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7480,17 +7237,14 @@ func awsRestjson1_deserializeDocumentTemplateStepGroupSummary(v **types.Template } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - default: _, _ = key, value @@ -7564,7 +7318,6 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7573,12 +7326,10 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -7587,12 +7338,10 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Owner = types.Owner(jtv) } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -7601,7 +7350,6 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.StepActionType = types.StepActionType(jtv) } - case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -7610,7 +7358,6 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.StepGroupId = ptr.String(jtv) } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -7619,7 +7366,6 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.TargetType = types.TargetType(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -7628,7 +7374,6 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -7702,7 +7447,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7711,7 +7455,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7720,7 +7463,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7729,7 +7471,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7793,15 +7534,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7809,15 +7544,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7852,7 +7583,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Name = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -7861,7 +7591,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7925,15 +7654,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7941,15 +7664,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7980,7 +7699,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ if err := awsRestjson1_deserializeDocumentPlatformCommand(&sv.Command, value); err != nil { return err } - case "runEnvironment": if value != nil { jtv, ok := value.(string) @@ -7989,7 +7707,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.RunEnvironment = types.RunEnvironment(jtv) } - case "scriptLocationS3Bucket": if value != nil { jtv, ok := value.(string) @@ -7998,12 +7715,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.ScriptLocationS3Bucket = ptr.String(jtv) } - case "scriptLocationS3Key": if err := awsRestjson1_deserializeDocumentPlatformScriptKey(&sv.ScriptLocationS3Key, value); err != nil { return err } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -8012,7 +7727,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.TargetType = types.TargetType(jtv) } - default: _, _ = key, value @@ -8086,7 +7800,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8095,12 +7808,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "owner": if value != nil { jtv, ok := value.(string) @@ -8109,12 +7820,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Owner = types.Owner(jtv) } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8123,7 +7832,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Status = types.StepGroupStatus(jtv) } - default: _, _ = key, value @@ -8163,7 +7871,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.DataType = types.DataType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8172,7 +7879,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.Name = ptr.String(jtv) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -8181,12 +7887,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.Required = ptr.Bool(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentWorkflowStepOutputUnion(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -8360,7 +8064,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8369,12 +8072,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Name = ptr.String(jtv) } - case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } - case "noOfSrvCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -8387,7 +8088,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.NoOfSrvCompleted = ptr.Int32(int32(i64)) } - case "noOfSrvFailed": if value != nil { jtv, ok := value.(json.Number) @@ -8400,7 +8100,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.NoOfSrvFailed = ptr.Int32(int32(i64)) } - case "owner": if value != nil { jtv, ok := value.(string) @@ -8409,12 +8108,10 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Owner = types.Owner(jtv) } - case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } - case "scriptLocation": if value != nil { jtv, ok := value.(string) @@ -8423,7 +8120,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.ScriptLocation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8432,7 +8128,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Status = types.StepStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8441,7 +8136,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StatusMessage = ptr.String(jtv) } - case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -8450,7 +8144,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StepActionType = types.StepActionType(jtv) } - case "stepId": if value != nil { jtv, ok := value.(string) @@ -8459,7 +8152,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StepId = ptr.String(jtv) } - case "totalNoOfSrv": if value != nil { jtv, ok := value.(json.Number) @@ -8472,7 +8164,6 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.TotalNoOfSrv = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/migrationhubrefactorspaces/deserializers.go b/service/migrationhubrefactorspaces/deserializers.go index 83cc307d345..1122a54bbdc 100644 --- a/service/migrationhubrefactorspaces/deserializers.go +++ b/service/migrationhubrefactorspaces/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApiGatewayProxyInput(&sv.ApiGatewayProxy, value); err != nil { return err } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -199,7 +198,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -208,7 +206,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -217,7 +214,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -233,7 +229,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -242,7 +237,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -258,7 +252,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -267,7 +260,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -276,7 +268,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.OwnerAccountId = ptr.String(jtv) } - case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -285,7 +276,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ProxyType = types.ProxyType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -294,12 +284,10 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.State = types.ApplicationState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -308,7 +296,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -482,7 +469,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -498,7 +484,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -507,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -516,7 +500,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -532,7 +515,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -541,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } - case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -550,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.NetworkFabricType = types.NetworkFabricType(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -559,7 +539,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.OwnerAccountId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -568,12 +547,10 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.State = types.EnvironmentState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -747,7 +724,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -756,7 +732,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -765,7 +740,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -781,7 +755,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -797,7 +770,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -806,7 +778,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.OwnerAccountId = ptr.String(jtv) } - case "RouteId": if value != nil { jtv, ok := value.(string) @@ -815,7 +786,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteId = ptr.String(jtv) } - case "RouteType": if value != nil { jtv, ok := value.(string) @@ -824,7 +794,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteType = types.RouteType(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -833,7 +802,6 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -842,17 +810,14 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.State = types.RouteState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UriPathRoute": if err := awsRestjson1_deserializeDocumentUriPathRouteInput(&sv.UriPathRoute, value); err != nil { return err } - default: _, _ = key, value @@ -1026,7 +991,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1035,7 +999,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -1044,7 +1007,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1060,7 +1022,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1069,7 +1030,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Description = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -1078,7 +1038,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.EndpointType = types.ServiceEndpointType(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1087,12 +1046,10 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.EnvironmentId = ptr.String(jtv) } - case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointInput(&sv.LambdaEndpoint, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1108,7 +1065,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1117,7 +1073,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -1126,7 +1081,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.OwnerAccountId = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -1135,7 +1089,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1144,17 +1097,14 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.State = types.ServiceState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointInput(&sv.UrlEndpoint, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1113,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1334,7 +1283,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1343,7 +1291,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.Arn = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1352,7 +1299,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1368,7 +1314,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1377,7 +1322,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1386,7 +1330,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.State = types.ApplicationState(jtv) } - default: _, _ = key, value @@ -1557,7 +1500,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.Arn = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1566,7 +1508,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1582,7 +1523,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1591,7 +1531,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1600,7 +1539,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.State = types.EnvironmentState(jtv) } - default: _, _ = key, value @@ -1871,7 +1809,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1880,7 +1817,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.Arn = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1896,7 +1832,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } } - case "RouteId": if value != nil { jtv, ok := value.(string) @@ -1905,7 +1840,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.RouteId = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -1914,7 +1848,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1923,7 +1856,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.State = types.RouteState(jtv) } - default: _, _ = key, value @@ -2094,7 +2026,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -2103,7 +2034,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Arn = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2112,7 +2042,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2128,7 +2057,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2137,7 +2065,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Name = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -2146,7 +2073,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2155,7 +2081,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.State = types.ServiceState(jtv) } - default: _, _ = key, value @@ -2319,7 +2244,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApiGatewayProxyConfig(&sv.ApiGatewayProxy, value); err != nil { return err } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -2328,7 +2252,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -2337,7 +2260,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -2346,7 +2268,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2362,7 +2283,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2371,12 +2291,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2392,7 +2310,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2401,7 +2318,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -2410,7 +2326,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.OwnerAccountId = ptr.String(jtv) } - case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -2419,7 +2334,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ProxyType = types.ProxyType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2428,12 +2342,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.State = types.ApplicationState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -2442,7 +2354,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -2610,7 +2521,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2626,7 +2536,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2635,7 +2544,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2644,12 +2552,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2665,7 +2571,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2674,7 +2579,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } - case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -2683,7 +2587,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.NetworkFabricType = types.NetworkFabricType(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -2692,7 +2595,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.OwnerAccountId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2701,12 +2603,10 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.State = types.EnvironmentState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -2715,7 +2615,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.TransitGatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -2883,7 +2782,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -3051,7 +2949,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AppendSourcePath = ptr.Bool(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -3060,7 +2957,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3069,7 +2965,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -3078,7 +2973,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3094,7 +2988,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -3103,12 +2996,10 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -3117,7 +3008,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.IncludeChildPaths = ptr.Bool(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3133,12 +3023,10 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } } - case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -3147,12 +3035,10 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.OwnerAccountId = ptr.String(jtv) } - case "PathResourceToId": if err := awsRestjson1_deserializeDocumentPathResourceToId(&sv.PathResourceToId, value); err != nil { return err } - case "RouteId": if value != nil { jtv, ok := value.(string) @@ -3161,7 +3047,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteId = ptr.String(jtv) } - case "RouteType": if value != nil { jtv, ok := value.(string) @@ -3170,7 +3055,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteType = types.RouteType(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -3179,7 +3063,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ServiceId = ptr.String(jtv) } - case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -3188,7 +3071,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.SourcePath = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3197,12 +3079,10 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.State = types.RouteState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3370,7 +3250,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3379,7 +3258,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -3388,7 +3266,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3404,7 +3281,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3289,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Description = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -3422,7 +3297,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.EndpointType = types.ServiceEndpointType(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -3431,17 +3305,14 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointConfig(&sv.LambdaEndpoint, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3457,7 +3328,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3336,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -3475,7 +3344,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.OwnerAccountId = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -3484,7 +3352,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3493,17 +3360,14 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.State = types.ServiceState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointConfig(&sv.UrlEndpoint, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3512,7 +3376,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3682,7 +3545,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3691,7 +3553,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3855,7 +3716,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaries(&sv.EnvironmentSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3864,7 +3724,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4028,7 +3887,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentVpcsOutput(v **ListEnviron if err := awsRestjson1_deserializeDocumentEnvironmentVpcs(&sv.EnvironmentVpcList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4037,7 +3895,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentVpcsOutput(v **ListEnviron } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4211,12 +4068,10 @@ func awsRestjson1_deserializeOpDocumentListRoutesOutput(v **ListRoutesOutput, va } sv.NextToken = ptr.String(jtv) } - case "RouteSummaryList": if err := awsRestjson1_deserializeDocumentRouteSummaries(&sv.RouteSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -4390,12 +4245,10 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "ServiceSummaryList": if err := awsRestjson1_deserializeDocumentServiceSummaries(&sv.ServiceSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -4553,7 +4406,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5012,7 +4864,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -5021,7 +4872,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.Arn = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5037,7 +4887,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } } - case "RouteId": if value != nil { jtv, ok := value.(string) @@ -5046,7 +4895,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteId = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -5055,7 +4903,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -5064,7 +4911,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.State = types.RouteState(jtv) } - default: _, _ = key, value @@ -5402,15 +5248,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5418,15 +5258,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5497,7 +5333,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.ApiGatewayId = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -5506,7 +5341,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } - case "NlbArn": if value != nil { jtv, ok := value.(string) @@ -5515,7 +5349,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.NlbArn = ptr.String(jtv) } - case "NlbName": if value != nil { jtv, ok := value.(string) @@ -5524,7 +5357,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.NlbName = ptr.String(jtv) } - case "ProxyUrl": if value != nil { jtv, ok := value.(string) @@ -5533,7 +5365,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.ProxyUrl = ptr.String(jtv) } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -5542,7 +5373,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.StageName = ptr.String(jtv) } - case "VpcLinkId": if value != nil { jtv, ok := value.(string) @@ -5551,7 +5381,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.VpcLinkId = ptr.String(jtv) } - default: _, _ = key, value @@ -5591,7 +5420,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyInput(v **types.ApiGatewayPr } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -5600,7 +5428,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyInput(v **types.ApiGatewayPr } sv.StageName = ptr.String(jtv) } - default: _, _ = key, value @@ -5640,7 +5467,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.ApiGatewayId = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -5649,7 +5475,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } - case "NlbArn": if value != nil { jtv, ok := value.(string) @@ -5658,7 +5483,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.NlbArn = ptr.String(jtv) } - case "NlbName": if value != nil { jtv, ok := value.(string) @@ -5667,7 +5491,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.NlbName = ptr.String(jtv) } - case "ProxyUrl": if value != nil { jtv, ok := value.(string) @@ -5676,7 +5499,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.ProxyUrl = ptr.String(jtv) } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -5685,7 +5507,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.StageName = ptr.String(jtv) } - case "VpcLinkId": if value != nil { jtv, ok := value.(string) @@ -5694,7 +5515,6 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.VpcLinkId = ptr.String(jtv) } - default: _, _ = key, value @@ -5764,7 +5584,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum if err := awsRestjson1_deserializeDocumentApiGatewayProxySummary(&sv.ApiGatewayProxy, value); err != nil { return err } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -5773,7 +5592,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -5782,7 +5600,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -5791,7 +5608,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -5807,7 +5623,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -5816,12 +5631,10 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5837,7 +5650,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5846,7 +5658,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -5855,7 +5666,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.OwnerAccountId = ptr.String(jtv) } - case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -5864,7 +5674,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ProxyType = types.ProxyType(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -5873,12 +5682,10 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.State = types.ApplicationState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5887,7 +5694,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -5953,15 +5759,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5969,7 +5769,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5978,7 +5777,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5987,15 +5785,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6064,7 +5858,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6080,7 +5873,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6089,7 +5881,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6098,12 +5889,10 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6119,7 +5908,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6128,7 +5916,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } - case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -6137,7 +5924,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.NetworkFabricType = types.NetworkFabricType(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -6146,7 +5932,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.OwnerAccountId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6155,12 +5940,10 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.State = types.EnvironmentState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -6169,7 +5952,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TransitGatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -6209,12 +5991,10 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.AccountId = ptr.String(jtv) } - case "CidrBlocks": if err := awsRestjson1_deserializeDocumentCidrBlocks(&sv.CidrBlocks, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6230,7 +6010,6 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6239,7 +6018,6 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.EnvironmentId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6255,7 +6033,6 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6264,7 +6041,6 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.VpcId = ptr.String(jtv) } - case "VpcName": if value != nil { jtv, ok := value.(string) @@ -6273,7 +6049,6 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.VpcName = ptr.String(jtv) } - default: _, _ = key, value @@ -6347,12 +6122,10 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.AccountId = ptr.String(jtv) } - case "AdditionalDetails": if err := awsRestjson1_deserializeDocumentAdditionalDetails(&sv.AdditionalDetails, value); err != nil { return err } - case "Code": if value != nil { jtv, ok := value.(string) @@ -6361,7 +6134,6 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.Code = types.ErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6370,7 +6142,6 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.Message = ptr.String(jtv) } - case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -6379,7 +6150,6 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.ResourceIdentifier = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6388,7 +6158,6 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.ResourceType = types.ErrorResourceType(jtv) } - default: _, _ = key, value @@ -6454,15 +6223,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6470,15 +6233,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6503,15 +6262,9 @@ func awsRestjson1_deserializeDocumentInvalidResourcePolicyException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6519,15 +6272,11 @@ func awsRestjson1_deserializeDocumentInvalidResourcePolicyException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6562,7 +6311,6 @@ func awsRestjson1_deserializeDocumentLambdaEndpointConfig(v **types.LambdaEndpoi } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -6602,7 +6350,6 @@ func awsRestjson1_deserializeDocumentLambdaEndpointInput(v **types.LambdaEndpoin } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -6642,7 +6389,6 @@ func awsRestjson1_deserializeDocumentLambdaEndpointSummary(v **types.LambdaEndpo } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -6708,15 +6454,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6724,7 +6464,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6733,7 +6472,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6742,15 +6480,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6819,7 +6553,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.AppendSourcePath = ptr.Bool(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -6828,7 +6561,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6837,7 +6569,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -6846,7 +6577,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6862,7 +6592,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6871,12 +6600,10 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -6885,7 +6612,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.IncludeChildPaths = ptr.Bool(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6901,12 +6627,10 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } } - case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -6915,12 +6639,10 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.OwnerAccountId = ptr.String(jtv) } - case "PathResourceToId": if err := awsRestjson1_deserializeDocumentPathResourceToId(&sv.PathResourceToId, value); err != nil { return err } - case "RouteId": if value != nil { jtv, ok := value.(string) @@ -6929,7 +6651,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.RouteId = ptr.String(jtv) } - case "RouteType": if value != nil { jtv, ok := value.(string) @@ -6938,7 +6659,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.RouteType = types.RouteType(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6947,7 +6667,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.ServiceId = ptr.String(jtv) } - case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -6956,7 +6675,6 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.SourcePath = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6965,12 +6683,10 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.State = types.RouteState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7000,15 +6716,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7016,7 +6726,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6734,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7034,7 +6742,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7043,7 +6750,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7052,15 +6758,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7129,7 +6831,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -7138,7 +6839,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } - case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -7147,7 +6847,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CreatedByAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7163,7 +6862,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7172,7 +6870,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -7181,7 +6878,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.EndpointType = types.ServiceEndpointType(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -7190,17 +6886,14 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.EnvironmentId = ptr.String(jtv) } - case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } - case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointSummary(&sv.LambdaEndpoint, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7216,7 +6909,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7225,7 +6917,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -7234,7 +6925,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.OwnerAccountId = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -7243,7 +6933,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -7252,17 +6941,14 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.State = types.ServiceState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointSummary(&sv.UrlEndpoint, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7271,7 +6957,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7337,15 +7022,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7353,7 +7032,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7362,7 +7040,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7375,7 +7052,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7384,15 +7060,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7427,7 +7099,6 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.ActivationState = types.RouteActivationState(jtv) } - case "AppendSourcePath": if value != nil { jtv, ok := value.(bool) @@ -7436,7 +7107,6 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.AppendSourcePath = ptr.Bool(jtv) } - case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -7445,12 +7115,10 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.IncludeChildPaths = ptr.Bool(jtv) } - case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } - case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -7459,7 +7127,6 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -7499,7 +7166,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointConfig(v **types.UrlEndpointConf } sv.HealthUrl = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7508,7 +7174,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointConfig(v **types.UrlEndpointConf } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7548,7 +7213,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointInput(v **types.UrlEndpointInput } sv.HealthUrl = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7557,7 +7221,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointInput(v **types.UrlEndpointInput } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7597,7 +7260,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointSummary(v **types.UrlEndpointSum } sv.HealthUrl = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -7606,7 +7268,6 @@ func awsRestjson1_deserializeDocumentUrlEndpointSummary(v **types.UrlEndpointSum } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7636,15 +7297,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7652,15 +7307,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/migrationhubstrategy/deserializers.go b/service/migrationhubstrategy/deserializers.go index f929fcdcdd0..a6b7a34c97d 100644 --- a/service/migrationhubstrategy/deserializers.go +++ b/service/migrationhubstrategy/deserializers.go @@ -177,17 +177,14 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentDetailsOutput(v ** if err := awsRestjson1_deserializeDocumentApplicationComponentDetail(&sv.ApplicationComponentDetail, value); err != nil { return err } - case "associatedApplications": if err := awsRestjson1_deserializeDocumentAssociatedApplications(&sv.AssociatedApplications, value); err != nil { return err } - case "associatedServerIds": if err := awsRestjson1_deserializeDocumentAssociatedServerIDs(&sv.AssociatedServerIds, value); err != nil { return err } - case "moreApplicationResource": if value != nil { jtv, ok := value.(bool) @@ -196,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentDetailsOutput(v ** } sv.MoreApplicationResource = ptr.Bool(jtv) } - default: _, _ = key, value @@ -354,7 +350,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentStrategiesOutput(v if err := awsRestjson1_deserializeDocumentApplicationComponentStrategies(&sv.ApplicationComponentStrategies, value); err != nil { return err } - default: _, _ = key, value @@ -515,12 +510,10 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp if err := awsRestjson1_deserializeDocumentAssessmentTargets(&sv.AssessmentTargets, value); err != nil { return err } - case "dataCollectionDetails": if err := awsRestjson1_deserializeDocumentDataCollectionDetails(&sv.DataCollectionDetails, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -529,7 +522,6 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -704,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } } - case "id": if value != nil { jtv, ok := value.(string) @@ -713,7 +704,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.Id = ptr.String(jtv) } - case "importName": if value != nil { jtv, ok := value.(string) @@ -722,7 +712,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.ImportName = ptr.String(jtv) } - case "inputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -731,7 +720,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.InputS3Bucket = ptr.String(jtv) } - case "inputS3Key": if value != nil { jtv, ok := value.(string) @@ -740,7 +728,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.InputS3Key = ptr.String(jtv) } - case "numberOfRecordsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -753,7 +740,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.NumberOfRecordsFailed = ptr.Int32(int32(i64)) } - case "numberOfRecordsSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -766,7 +752,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.NumberOfRecordsSuccess = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -782,7 +767,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } } - case "status": if value != nil { jtv, ok := value.(string) @@ -791,7 +775,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.Status = types.ImportFileTaskStatus(jtv) } - case "statusReportS3Bucket": if value != nil { jtv, ok := value.(string) @@ -800,7 +783,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.StatusReportS3Bucket = ptr.String(jtv) } - case "statusReportS3Key": if value != nil { jtv, ok := value.(string) @@ -809,7 +791,6 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.StatusReportS3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -974,7 +955,6 @@ func awsRestjson1_deserializeOpDocumentGetLatestAssessmentIdOutput(v **GetLatest } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1139,22 +1119,18 @@ func awsRestjson1_deserializeOpDocumentGetPortfolioPreferencesOutput(v **GetPort } sv.ApplicationMode = types.ApplicationMode(jtv) } - case "applicationPreferences": if err := awsRestjson1_deserializeDocumentApplicationPreferences(&sv.ApplicationPreferences, value); err != nil { return err } - case "databasePreferences": if err := awsRestjson1_deserializeDocumentDatabasePreferences(&sv.DatabasePreferences, value); err != nil { return err } - case "prioritizeBusinessGoals": if err := awsRestjson1_deserializeDocumentPrioritizeBusinessGoals(&sv.PrioritizeBusinessGoals, value); err != nil { return err } - default: _, _ = key, value @@ -1312,7 +1288,6 @@ func awsRestjson1_deserializeOpDocumentGetPortfolioSummaryOutput(v **GetPortfoli if err := awsRestjson1_deserializeDocumentAssessmentSummary(&sv.AssessmentSummary, value); err != nil { return err } - default: _, _ = key, value @@ -1480,12 +1455,10 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationReportDetailsOutput(v ** } sv.Id = ptr.String(jtv) } - case "recommendationReportDetails": if err := awsRestjson1_deserializeDocumentRecommendationReportDetails(&sv.RecommendationReportDetails, value); err != nil { return err } - default: _, _ = key, value @@ -1649,7 +1622,6 @@ func awsRestjson1_deserializeOpDocumentGetServerDetailsOutput(v **GetServerDetai if err := awsRestjson1_deserializeDocumentAssociatedApplications(&sv.AssociatedApplications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1658,12 +1630,10 @@ func awsRestjson1_deserializeOpDocumentGetServerDetailsOutput(v **GetServerDetai } sv.NextToken = ptr.String(jtv) } - case "serverDetail": if err := awsRestjson1_deserializeDocumentServerDetail(&sv.ServerDetail, value); err != nil { return err } - default: _, _ = key, value @@ -1827,7 +1797,6 @@ func awsRestjson1_deserializeOpDocumentGetServerStrategiesOutput(v **GetServerSt if err := awsRestjson1_deserializeDocumentServerStrategies(&sv.ServerStrategies, value); err != nil { return err } - default: _, _ = key, value @@ -1988,7 +1957,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzableServersOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalyzableServerSummaryList(&sv.AnalyzableServers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1997,7 +1965,6 @@ func awsRestjson1_deserializeOpDocumentListAnalyzableServersOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2158,7 +2125,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationComponentsOutput(v **ListA if err := awsRestjson1_deserializeDocumentApplicationComponentDetails(&sv.ApplicationComponentInfos, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2167,7 +2133,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationComponentsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2328,7 +2293,6 @@ func awsRestjson1_deserializeOpDocumentListCollectorsOutput(v **ListCollectorsOu if err := awsRestjson1_deserializeDocumentCollectors(&sv.Collectors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2337,7 +2301,6 @@ func awsRestjson1_deserializeOpDocumentListCollectorsOutput(v **ListCollectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2502,12 +2465,10 @@ func awsRestjson1_deserializeOpDocumentListImportFileTaskOutput(v **ListImportFi } sv.NextToken = ptr.String(jtv) } - case "taskInfos": if err := awsRestjson1_deserializeDocumentListImportFileTaskInformation(&sv.TaskInfos, value); err != nil { return err } - default: _, _ = key, value @@ -2672,12 +2633,10 @@ func awsRestjson1_deserializeOpDocumentListServersOutput(v **ListServersOutput, } sv.NextToken = ptr.String(jtv) } - case "serverInfos": if err := awsRestjson1_deserializeDocumentServerDetails(&sv.ServerInfos, value); err != nil { return err } - default: _, _ = key, value @@ -2942,7 +2901,6 @@ func awsRestjson1_deserializeOpDocumentStartAssessmentOutput(v **StartAssessment } sv.AssessmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -3110,7 +3068,6 @@ func awsRestjson1_deserializeOpDocumentStartImportFileTaskOutput(v **StartImport } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3278,7 +3235,6 @@ func awsRestjson1_deserializeOpDocumentStartRecommendationReportGenerationOutput } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -3923,15 +3879,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3939,15 +3889,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4036,7 +3982,6 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.Hostname = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -4045,7 +3990,6 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.IpAddress = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -4054,7 +3998,6 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.Source = ptr.String(jtv) } - case "vmId": if value != nil { jtv, ok := value.(string) @@ -4063,7 +4006,6 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.VmId = ptr.String(jtv) } - default: _, _ = key, value @@ -4199,12 +4141,10 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte if err := awsRestjson1_deserializeDocumentAnalyzerNameUnion(&sv.AnalyzerName, value); err != nil { return err } - case "antiPatternReportS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntiPatternReportS3Object, value); err != nil { return err } - case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4213,7 +4153,6 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } - case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4222,7 +4161,6 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte } sv.AntipatternReportStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4300,7 +4238,6 @@ func awsRestjson1_deserializeDocumentAntipatternSeveritySummary(v **types.Antipa } sv.Count = ptr.Int32(int32(i64)) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -4309,7 +4246,6 @@ func awsRestjson1_deserializeDocumentAntipatternSeveritySummary(v **types.Antipa } sv.Severity = types.Severity(jtv) } - default: _, _ = key, value @@ -4349,12 +4285,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AnalysisStatus = types.SrcCodeOrDbAnalysisStatus(jtv) } - case "antipatternReportS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } - case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4363,7 +4297,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } - case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4372,7 +4305,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AntipatternReportStatusMessage = ptr.String(jtv) } - case "appType": if value != nil { jtv, ok := value.(string) @@ -4381,12 +4313,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AppType = types.AppType(jtv) } - case "appUnitError": if err := awsRestjson1_deserializeDocumentAppUnitError(&sv.AppUnitError, value); err != nil { return err } - case "associatedServerId": if value != nil { jtv, ok := value.(string) @@ -4395,12 +4325,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AssociatedServerId = ptr.String(jtv) } - case "databaseConfigDetail": if err := awsRestjson1_deserializeDocumentDatabaseConfigDetail(&sv.DatabaseConfigDetail, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4409,7 +4337,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.Id = ptr.String(jtv) } - case "inclusionStatus": if value != nil { jtv, ok := value.(string) @@ -4418,7 +4345,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.InclusionStatus = types.InclusionStatus(jtv) } - case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4434,12 +4360,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } } - case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } - case "moreServerAssociationExists": if value != nil { jtv, ok := value.(bool) @@ -4448,7 +4372,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.MoreServerAssociationExists = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4457,7 +4380,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.Name = ptr.String(jtv) } - case "osDriver": if value != nil { jtv, ok := value.(string) @@ -4466,7 +4388,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.OsDriver = ptr.String(jtv) } - case "osVersion": if value != nil { jtv, ok := value.(string) @@ -4475,12 +4396,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.OsVersion = ptr.String(jtv) } - case "recommendationSet": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.RecommendationSet, value); err != nil { return err } - case "resourceSubType": if value != nil { jtv, ok := value.(string) @@ -4489,12 +4408,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.ResourceSubType = types.ResourceSubType(jtv) } - case "resultList": if err := awsRestjson1_deserializeDocumentResultList(&sv.ResultList, value); err != nil { return err } - case "runtimeStatus": if value != nil { jtv, ok := value.(string) @@ -4503,7 +4420,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.RuntimeStatus = types.RuntimeAnalysisStatus(jtv) } - case "runtimeStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4512,12 +4428,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.RuntimeStatusMessage = ptr.String(jtv) } - case "sourceCodeRepositories": if err := awsRestjson1_deserializeDocumentSourceCodeRepositories(&sv.SourceCodeRepositories, value); err != nil { return err } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4526,7 +4440,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4604,7 +4517,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentStatusSummary(v **types } sv.Count = ptr.Int32(int32(i64)) } - case "srcCodeOrDbAnalysisStatus": if value != nil { jtv, ok := value.(string) @@ -4613,7 +4525,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentStatusSummary(v **types } sv.SrcCodeOrDbAnalysisStatus = types.SrcCodeOrDbAnalysisStatus(jtv) } - default: _, _ = key, value @@ -4687,12 +4598,10 @@ func awsRestjson1_deserializeDocumentApplicationComponentStrategy(v **types.Appl } sv.IsPreferred = ptr.Bool(jtv) } - case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.Recommendation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4610,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentStrategy(v **types.Appl } sv.Status = types.StrategyRecommendation(jtv) } - default: _, _ = key, value @@ -4741,7 +4649,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentSummary(v **types.Appli } sv.AppType = types.AppType(jtv) } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -4754,7 +4661,6 @@ func awsRestjson1_deserializeDocumentApplicationComponentSummary(v **types.Appli } sv.Count = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4790,7 +4696,6 @@ func awsRestjson1_deserializeDocumentApplicationPreferences(v **types.Applicatio if err := awsRestjson1_deserializeDocumentManagementPreference(&sv.ManagementPreference, value); err != nil { return err } - default: _, _ = key, value @@ -4830,7 +4735,6 @@ func awsRestjson1_deserializeDocumentAppUnitError(v **types.AppUnitError, value } sv.AppUnitErrorCategory = types.AppUnitErrorCategory(jtv) } - default: _, _ = key, value @@ -4866,7 +4770,6 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } - case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4875,7 +4778,6 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } - case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4884,7 +4786,6 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.AntipatternReportStatusMessage = ptr.String(jtv) } - case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4900,42 +4801,34 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } } - case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } - case "listApplicationComponentStatusSummary": if err := awsRestjson1_deserializeDocumentListApplicationComponentStatusSummary(&sv.ListApplicationComponentStatusSummary, value); err != nil { return err } - case "listApplicationComponentStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ListApplicationComponentStrategySummary, value); err != nil { return err } - case "listApplicationComponentSummary": if err := awsRestjson1_deserializeDocumentListApplicationComponentSummary(&sv.ListApplicationComponentSummary, value); err != nil { return err } - case "listServerStatusSummary": if err := awsRestjson1_deserializeDocumentListServerStatusSummary(&sv.ListServerStatusSummary, value); err != nil { return err } - case "listServerStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ListServerStrategySummary, value); err != nil { return err } - case "listServerSummary": if err := awsRestjson1_deserializeDocumentListServerSummary(&sv.ListServerSummary, value); err != nil { return err } - default: _, _ = key, value @@ -4975,7 +4868,6 @@ func awsRestjson1_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Condition = types.Condition(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4984,12 +4876,10 @@ func awsRestjson1_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Name = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentAssessmentTargetValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -5099,7 +4989,6 @@ func awsRestjson1_deserializeDocumentAssociatedApplication(v **types.AssociatedA } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5108,7 +4997,6 @@ func awsRestjson1_deserializeDocumentAssociatedApplication(v **types.AssociatedA } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5214,7 +5102,6 @@ func awsRestjson1_deserializeDocumentAwsManagedResources(v **types.AwsManagedRes if err := awsRestjson1_deserializeDocumentAwsManagedTargetDestinations(&sv.TargetDestination, value); err != nil { return err } - default: _, _ = key, value @@ -5294,7 +5181,6 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.LicenseCostReduction = ptr.Int32(int32(i64)) } - case "modernizeInfrastructureWithCloudNativeTechnologies": if value != nil { jtv, ok := value.(json.Number) @@ -5307,7 +5193,6 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.ModernizeInfrastructureWithCloudNativeTechnologies = ptr.Int32(int32(i64)) } - case "reduceOperationalOverheadWithManagedServices": if value != nil { jtv, ok := value.(json.Number) @@ -5320,7 +5205,6 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.ReduceOperationalOverheadWithManagedServices = ptr.Int32(int32(i64)) } - case "speedOfMigration": if value != nil { jtv, ok := value.(json.Number) @@ -5333,7 +5217,6 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.SpeedOfMigration = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5373,7 +5256,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorHealth = types.CollectorHealth(jtv) } - case "collectorId": if value != nil { jtv, ok := value.(string) @@ -5382,7 +5264,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorId = ptr.String(jtv) } - case "collectorVersion": if value != nil { jtv, ok := value.(string) @@ -5391,12 +5272,10 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorVersion = ptr.String(jtv) } - case "configurationSummary": if err := awsRestjson1_deserializeDocumentConfigurationSummary(&sv.ConfigurationSummary, value); err != nil { return err } - case "hostName": if value != nil { jtv, ok := value.(string) @@ -5405,7 +5284,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.HostName = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -5414,7 +5292,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.IpAddress = ptr.String(jtv) } - case "lastActivityTimeStamp": if value != nil { jtv, ok := value.(string) @@ -5423,7 +5300,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.LastActivityTimeStamp = ptr.String(jtv) } - case "registeredTimeStamp": if value != nil { jtv, ok := value.(string) @@ -5432,7 +5308,6 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.RegisteredTimeStamp = ptr.String(jtv) } - default: _, _ = key, value @@ -5502,27 +5377,22 @@ func awsRestjson1_deserializeDocumentConfigurationSummary(v **types.Configuratio if err := awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfoList(&sv.IpAddressBasedRemoteInfoList, value); err != nil { return err } - case "pipelineInfoList": if err := awsRestjson1_deserializeDocumentPipelineInfoList(&sv.PipelineInfoList, value); err != nil { return err } - case "remoteSourceCodeAnalysisServerInfo": if err := awsRestjson1_deserializeDocumentRemoteSourceCodeAnalysisServerInfo(&sv.RemoteSourceCodeAnalysisServerInfo, value); err != nil { return err } - case "vcenterBasedRemoteInfoList": if err := awsRestjson1_deserializeDocumentVcenterBasedRemoteInfoList(&sv.VcenterBasedRemoteInfoList, value); err != nil { return err } - case "versionControlInfoList": if err := awsRestjson1_deserializeDocumentVersionControlInfoList(&sv.VersionControlInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -5552,15 +5422,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5568,15 +5432,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5611,7 +5471,6 @@ func awsRestjson1_deserializeDocumentDatabaseConfigDetail(v **types.DatabaseConf } sv.SecretName = ptr.String(jtv) } - default: _, _ = key, value @@ -5711,12 +5570,10 @@ func awsRestjson1_deserializeDocumentDatabasePreferences(v **types.DatabasePrefe } sv.DatabaseManagementPreference = types.DatabaseManagementPreference(jtv) } - case "databaseMigrationPreference": if err := awsRestjson1_deserializeDocumentDatabaseMigrationPreference(&sv.DatabaseMigrationPreference, value); err != nil { return err } - default: _, _ = key, value @@ -5763,7 +5620,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -5776,7 +5632,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Failed = ptr.Int32(int32(i64)) } - case "inProgress": if value != nil { jtv, ok := value.(json.Number) @@ -5789,7 +5644,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.InProgress = ptr.Int32(int32(i64)) } - case "servers": if value != nil { jtv, ok := value.(json.Number) @@ -5802,7 +5656,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Servers = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -5818,7 +5671,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } } - case "status": if value != nil { jtv, ok := value.(string) @@ -5827,7 +5679,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Status = types.AssessmentStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5836,7 +5687,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.StatusMessage = ptr.String(jtv) } - case "success": if value != nil { jtv, ok := value.(json.Number) @@ -5849,7 +5699,6 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Success = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5879,15 +5728,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5895,15 +5738,11 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5934,7 +5773,6 @@ func awsRestjson1_deserializeDocumentHeterogeneous(v **types.Heterogeneous, valu if err := awsRestjson1_deserializeDocumentHeterogeneousTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } - default: _, _ = key, value @@ -6006,7 +5844,6 @@ func awsRestjson1_deserializeDocumentHomogeneous(v **types.Homogeneous, value in if err := awsRestjson1_deserializeDocumentHomogeneousTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } - default: _, _ = key, value @@ -6089,7 +5926,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } } - case "id": if value != nil { jtv, ok := value.(string) @@ -6098,7 +5934,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.Id = ptr.String(jtv) } - case "importName": if value != nil { jtv, ok := value.(string) @@ -6107,7 +5942,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.ImportName = ptr.String(jtv) } - case "inputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -6116,7 +5950,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.InputS3Bucket = ptr.String(jtv) } - case "inputS3Key": if value != nil { jtv, ok := value.(string) @@ -6125,7 +5958,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.InputS3Key = ptr.String(jtv) } - case "numberOfRecordsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -6138,7 +5970,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.NumberOfRecordsFailed = ptr.Int32(int32(i64)) } - case "numberOfRecordsSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -6151,7 +5982,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.NumberOfRecordsSuccess = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6167,7 +5997,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6176,7 +6005,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.Status = types.ImportFileTaskStatus(jtv) } - case "statusReportS3Bucket": if value != nil { jtv, ok := value.(string) @@ -6185,7 +6013,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.StatusReportS3Bucket = ptr.String(jtv) } - case "statusReportS3Key": if value != nil { jtv, ok := value.(string) @@ -6194,7 +6021,6 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.StatusReportS3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -6224,15 +6050,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6240,15 +6060,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6283,7 +6099,6 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.AuthType = types.AuthType(jtv) } - case "ipAddressConfigurationTimeStamp": if value != nil { jtv, ok := value.(string) @@ -6292,7 +6107,6 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.IpAddressConfigurationTimeStamp = ptr.String(jtv) } - case "osType": if value != nil { jtv, ok := value.(string) @@ -6301,7 +6115,6 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.OsType = types.OSType(jtv) } - default: _, _ = key, value @@ -6673,7 +6486,6 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.InterfaceName = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -6682,7 +6494,6 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.IpAddress = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -6691,7 +6502,6 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.MacAddress = ptr.String(jtv) } - case "netMask": if value != nil { jtv, ok := value.(string) @@ -6700,7 +6510,6 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.NetMask = ptr.String(jtv) } - default: _, _ = key, value @@ -6770,7 +6579,6 @@ func awsRestjson1_deserializeDocumentNoDatabaseMigrationPreference(v **types.NoD if err := awsRestjson1_deserializeDocumentTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } - default: _, _ = key, value @@ -6806,7 +6614,6 @@ func awsRestjson1_deserializeDocumentNoManagementPreference(v **types.NoManageme if err := awsRestjson1_deserializeDocumentNoPreferenceTargetDestinations(&sv.TargetDestination, value); err != nil { return err } - default: _, _ = key, value @@ -6882,7 +6689,6 @@ func awsRestjson1_deserializeDocumentOSInfo(v **types.OSInfo, value interface{}) } sv.Type = types.OSType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -6891,7 +6697,6 @@ func awsRestjson1_deserializeDocumentOSInfo(v **types.OSInfo, value interface{}) } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6931,7 +6736,6 @@ func awsRestjson1_deserializeDocumentPipelineInfo(v **types.PipelineInfo, value } sv.PipelineConfigurationTimeStamp = ptr.String(jtv) } - case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -6940,7 +6744,6 @@ func awsRestjson1_deserializeDocumentPipelineInfo(v **types.PipelineInfo, value } sv.PipelineType = types.PipelineType(jtv) } - default: _, _ = key, value @@ -7010,7 +6813,6 @@ func awsRestjson1_deserializeDocumentPrioritizeBusinessGoals(v **types.Prioritiz if err := awsRestjson1_deserializeDocumentBusinessGoals(&sv.BusinessGoals, value); err != nil { return err } - default: _, _ = key, value @@ -7057,7 +6859,6 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -7066,12 +6867,10 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.S3Bucket = ptr.String(jtv) } - case "s3Keys": if err := awsRestjson1_deserializeDocumentS3Keys(&sv.S3Keys, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -7087,7 +6886,6 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } } - case "status": if value != nil { jtv, ok := value.(string) @@ -7096,7 +6894,6 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.Status = types.RecommendationReportStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7105,7 +6902,6 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7145,7 +6941,6 @@ func awsRestjson1_deserializeDocumentRecommendationSet(v **types.RecommendationS } sv.Strategy = types.Strategy(jtv) } - case "targetDestination": if value != nil { jtv, ok := value.(string) @@ -7154,12 +6949,10 @@ func awsRestjson1_deserializeDocumentRecommendationSet(v **types.RecommendationS } sv.TargetDestination = types.TargetDestination(jtv) } - case "transformationTool": if err := awsRestjson1_deserializeDocumentTransformationTool(&sv.TransformationTool, value); err != nil { return err } - default: _, _ = key, value @@ -7199,7 +6992,6 @@ func awsRestjson1_deserializeDocumentRemoteSourceCodeAnalysisServerInfo(v **type } sv.RemoteSourceCodeAnalysisServerConfigurationTimestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -7229,15 +7021,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7245,15 +7031,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7284,7 +7066,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) if err := awsRestjson1_deserializeDocumentAnalysisStatusUnion(&sv.AnalysisStatus, value); err != nil { return err } - case "analysisType": if value != nil { jtv, ok := value.(string) @@ -7293,12 +7074,10 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.AnalysisType = types.AnalysisType(jtv) } - case "antipatternReportResultList": if err := awsRestjson1_deserializeDocumentAntipatternReportResultList(&sv.AntipatternReportResultList, value); err != nil { return err } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7307,7 +7086,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7417,7 +7195,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.S3Bucket = ptr.String(jtv) } - case "s3key": if value != nil { jtv, ok := value.(string) @@ -7426,7 +7203,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.S3key = ptr.String(jtv) } - default: _, _ = key, value @@ -7462,7 +7238,6 @@ func awsRestjson1_deserializeDocumentSelfManageResources(v **types.SelfManageRes if err := awsRestjson1_deserializeDocumentSelfManageTargetDestinations(&sv.TargetDestination, value); err != nil { return err } - default: _, _ = key, value @@ -7534,7 +7309,6 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } - case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -7543,7 +7317,6 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } - case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -7552,12 +7325,10 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.AntipatternReportStatusMessage = ptr.String(jtv) } - case "applicationComponentStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ApplicationComponentStrategySummary, value); err != nil { return err } - case "dataCollectionStatus": if value != nil { jtv, ok := value.(string) @@ -7566,7 +7337,6 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.DataCollectionStatus = types.RunTimeAssessmentStatus(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7575,7 +7345,6 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.Id = ptr.String(jtv) } - case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7591,12 +7360,10 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } } - case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7605,17 +7372,14 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.Name = ptr.String(jtv) } - case "recommendationSet": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.RecommendationSet, value); err != nil { return err } - case "serverError": if err := awsRestjson1_deserializeDocumentServerError(&sv.ServerError, value); err != nil { return err } - case "serverType": if value != nil { jtv, ok := value.(string) @@ -7624,7 +7388,6 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.ServerType = ptr.String(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7633,12 +7396,10 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.StatusMessage = ptr.String(jtv) } - case "systemInfo": if err := awsRestjson1_deserializeDocumentSystemInfo(&sv.SystemInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7712,7 +7473,6 @@ func awsRestjson1_deserializeDocumentServerError(v **types.ServerError, value in } sv.ServerErrorCategory = types.ServerErrorCategory(jtv) } - default: _, _ = key, value @@ -7756,7 +7516,6 @@ func awsRestjson1_deserializeDocumentServerStatusSummary(v **types.ServerStatusS } sv.Count = ptr.Int32(int32(i64)) } - case "runTimeAssessmentStatus": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7524,6 @@ func awsRestjson1_deserializeDocumentServerStatusSummary(v **types.ServerStatusS } sv.RunTimeAssessmentStatus = types.RunTimeAssessmentStatus(jtv) } - default: _, _ = key, value @@ -7839,7 +7597,6 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.IsPreferred = ptr.Bool(jtv) } - case "numberOfApplicationComponents": if value != nil { jtv, ok := value.(json.Number) @@ -7852,12 +7609,10 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.NumberOfApplicationComponents = ptr.Int32(int32(i64)) } - case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.Recommendation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7866,7 +7621,6 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.Status = types.StrategyRecommendation(jtv) } - default: _, _ = key, value @@ -7910,7 +7664,6 @@ func awsRestjson1_deserializeDocumentServerSummary(v **types.ServerSummary, valu } sv.Count = ptr.Int32(int32(i64)) } - case "ServerOsType": if value != nil { jtv, ok := value.(string) @@ -7919,7 +7672,6 @@ func awsRestjson1_deserializeDocumentServerSummary(v **types.ServerSummary, valu } sv.ServerOsType = types.ServerOsType(jtv) } - default: _, _ = key, value @@ -7949,15 +7701,9 @@ func awsRestjson1_deserializeDocumentServiceLinkedRoleLockClientException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7965,15 +7711,11 @@ func awsRestjson1_deserializeDocumentServiceLinkedRoleLockClientException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7998,15 +7740,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8014,15 +7750,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8091,7 +7823,6 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.Branch = ptr.String(jtv) } - case "projectName": if value != nil { jtv, ok := value.(string) @@ -8100,7 +7831,6 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.ProjectName = ptr.String(jtv) } - case "repository": if value != nil { jtv, ok := value.(string) @@ -8109,7 +7839,6 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.Repository = ptr.String(jtv) } - case "versionControlType": if value != nil { jtv, ok := value.(string) @@ -8118,7 +7847,6 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.VersionControlType = ptr.String(jtv) } - default: _, _ = key, value @@ -8162,7 +7890,6 @@ func awsRestjson1_deserializeDocumentStrategySummary(v **types.StrategySummary, } sv.Count = ptr.Int32(int32(i64)) } - case "strategy": if value != nil { jtv, ok := value.(string) @@ -8171,7 +7898,6 @@ func awsRestjson1_deserializeDocumentStrategySummary(v **types.StrategySummary, } sv.Strategy = types.Strategy(jtv) } - default: _, _ = key, value @@ -8211,7 +7937,6 @@ func awsRestjson1_deserializeDocumentSystemInfo(v **types.SystemInfo, value inte } sv.CpuArchitecture = ptr.String(jtv) } - case "fileSystemType": if value != nil { jtv, ok := value.(string) @@ -8220,17 +7945,14 @@ func awsRestjson1_deserializeDocumentSystemInfo(v **types.SystemInfo, value inte } sv.FileSystemType = ptr.String(jtv) } - case "networkInfoList": if err := awsRestjson1_deserializeDocumentNetworkInfoList(&sv.NetworkInfoList, value); err != nil { return err } - case "osInfo": if err := awsRestjson1_deserializeDocumentOSInfo(&sv.OsInfo, value); err != nil { return err } - default: _, _ = key, value @@ -8296,15 +8018,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8312,15 +8028,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8355,7 +8067,6 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8364,7 +8075,6 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.Name = types.TransformationToolName(jtv) } - case "tranformationToolInstallationLink": if value != nil { jtv, ok := value.(string) @@ -8373,7 +8083,6 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.TranformationToolInstallationLink = ptr.String(jtv) } - default: _, _ = key, value @@ -8403,15 +8112,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8419,15 +8122,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8462,7 +8161,6 @@ func awsRestjson1_deserializeDocumentVcenterBasedRemoteInfo(v **types.VcenterBas } sv.OsType = types.OSType(jtv) } - case "vcenterConfigurationTimeStamp": if value != nil { jtv, ok := value.(string) @@ -8471,7 +8169,6 @@ func awsRestjson1_deserializeDocumentVcenterBasedRemoteInfo(v **types.VcenterBas } sv.VcenterConfigurationTimeStamp = ptr.String(jtv) } - default: _, _ = key, value @@ -8545,7 +8242,6 @@ func awsRestjson1_deserializeDocumentVersionControlInfo(v **types.VersionControl } sv.VersionControlConfigurationTimeStamp = ptr.String(jtv) } - case "versionControlType": if value != nil { jtv, ok := value.(string) @@ -8554,7 +8250,6 @@ func awsRestjson1_deserializeDocumentVersionControlInfo(v **types.VersionControl } sv.VersionControlType = types.VersionControlType(jtv) } - default: _, _ = key, value diff --git a/service/mq/deserializers.go b/service/mq/deserializers.go index 2e4e5911691..67cc1094ff8 100644 --- a/service/mq/deserializers.go +++ b/service/mq/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCreateBrokerOutput(v **CreateBrokerOutput } sv.BrokerArn = ptr.String(jtv) } - case "brokerId": if value != nil { jtv, ok := value.(string) @@ -197,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentCreateBrokerOutput(v **CreateBrokerOutput } sv.BrokerId = ptr.String(jtv) } - default: _, _ = key, value @@ -362,7 +360,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Arn = ptr.String(jtv) } - case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -371,7 +368,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -384,7 +380,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Created = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -393,12 +388,10 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Id = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -407,7 +400,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -775,7 +767,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBrokerOutput(v **DeleteBrokerOutput } sv.BrokerId = ptr.String(jtv) } - default: _, _ = key, value @@ -1136,7 +1127,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu if err := awsRestjson1_deserializeDocument__listOfActionRequired(&sv.ActionsRequired, value); err != nil { return err } - case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1145,7 +1135,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "autoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -1154,7 +1143,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "brokerArn": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1151,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerArn = ptr.String(jtv) } - case "brokerId": if value != nil { jtv, ok := value.(string) @@ -1172,12 +1159,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerId = ptr.String(jtv) } - case "brokerInstances": if err := awsRestjson1_deserializeDocument__listOfBrokerInstance(&sv.BrokerInstances, value); err != nil { return err } - case "brokerName": if value != nil { jtv, ok := value.(string) @@ -1186,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerName = ptr.String(jtv) } - case "brokerState": if value != nil { jtv, ok := value.(string) @@ -1195,12 +1179,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerState = types.BrokerState(jtv) } - case "configurations": if err := awsRestjson1_deserializeDocumentConfigurations(&sv.Configurations, value); err != nil { return err } - case "created": if value != nil { jtv, ok := value.(string) @@ -1213,12 +1195,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.Created = ptr.Time(t) } - case "dataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.DataReplicationMetadata, value); err != nil { return err } - case "dataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -1227,7 +1207,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.DataReplicationMode = types.DataReplicationMode(jtv) } - case "deploymentMode": if value != nil { jtv, ok := value.(string) @@ -1236,12 +1215,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.DeploymentMode = types.DeploymentMode(jtv) } - case "encryptionOptions": if err := awsRestjson1_deserializeDocumentEncryptionOptions(&sv.EncryptionOptions, value); err != nil { return err } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -1250,7 +1227,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.EngineType = types.EngineType(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -1259,7 +1235,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.EngineVersion = ptr.String(jtv) } - case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -1268,22 +1243,18 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.HostInstanceType = ptr.String(jtv) } - case "ldapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.LdapServerMetadata, value); err != nil { return err } - case "logs": if err := awsRestjson1_deserializeDocumentLogsSummary(&sv.Logs, value); err != nil { return err } - case "maintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentWeeklyStartTime(&sv.MaintenanceWindowStartTime, value); err != nil { return err } - case "pendingAuthenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1292,12 +1263,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingAuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "pendingDataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.PendingDataReplicationMetadata, value); err != nil { return err } - case "pendingDataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -1306,7 +1275,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingDataReplicationMode = types.DataReplicationMode(jtv) } - case "pendingEngineVersion": if value != nil { jtv, ok := value.(string) @@ -1315,7 +1283,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingEngineVersion = ptr.String(jtv) } - case "pendingHostInstanceType": if value != nil { jtv, ok := value.(string) @@ -1324,17 +1291,14 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingHostInstanceType = ptr.String(jtv) } - case "pendingLdapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.PendingLdapServerMetadata, value); err != nil { return err } - case "pendingSecurityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.PendingSecurityGroups, value); err != nil { return err } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -1343,12 +1307,10 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -1357,22 +1319,18 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.StorageType = types.BrokerStorageType(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - case "users": if err := awsRestjson1_deserializeDocument__listOfUserSummary(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -1530,7 +1488,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr if err := awsRestjson1_deserializeDocument__listOfBrokerEngineType(&sv.BrokerEngineTypes, value); err != nil { return err } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1543,7 +1500,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1552,7 +1508,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1710,7 +1665,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D if err := awsRestjson1_deserializeDocument__listOfBrokerInstanceOption(&sv.BrokerInstanceOptions, value); err != nil { return err } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1723,7 +1677,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1732,7 +1685,6 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1897,7 +1849,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Arn = ptr.String(jtv) } - case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1906,7 +1857,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -1919,7 +1869,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Created = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1928,7 +1877,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Description = ptr.String(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -1937,7 +1885,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.EngineType = types.EngineType(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -1946,7 +1893,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.EngineVersion = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1955,12 +1901,10 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Id = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1969,12 +1913,10 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2139,7 +2081,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.ConfigurationId = ptr.String(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -2152,7 +2093,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Created = ptr.Time(t) } - case "data": if value != nil { jtv, ok := value.(string) @@ -2161,7 +2101,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Data = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2170,7 +2109,6 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -2335,7 +2273,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.BrokerId = ptr.String(jtv) } - case "consoleAccess": if value != nil { jtv, ok := value.(bool) @@ -2344,17 +2281,14 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ConsoleAccess = ptr.Bool(jtv) } - case "groups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Groups, value); err != nil { return err } - case "pending": if err := awsRestjson1_deserializeDocumentUserPendingChanges(&sv.Pending, value); err != nil { return err } - case "replicationUser": if value != nil { jtv, ok := value.(bool) @@ -2363,7 +2297,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ReplicationUser = ptr.Bool(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -2372,7 +2305,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -2530,7 +2462,6 @@ func awsRestjson1_deserializeOpDocumentListBrokersOutput(v **ListBrokersOutput, if err := awsRestjson1_deserializeDocument__listOfBrokerSummary(&sv.BrokerSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2539,7 +2470,6 @@ func awsRestjson1_deserializeOpDocumentListBrokersOutput(v **ListBrokersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2704,7 +2634,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.ConfigurationId = ptr.String(jtv) } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -2717,7 +2646,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2726,12 +2654,10 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "revisions": if err := awsRestjson1_deserializeDocument__listOfConfigurationRevision(&sv.Revisions, value); err != nil { return err } - default: _, _ = key, value @@ -2889,7 +2815,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsRestjson1_deserializeDocument__listOfConfiguration(&sv.Configurations, value); err != nil { return err } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -2902,7 +2827,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2911,7 +2835,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3072,7 +2995,6 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3237,7 +3159,6 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.BrokerId = ptr.String(jtv) } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -3250,7 +3171,6 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.MaxResults = ptr.Int32(int32(i64)) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3259,12 +3179,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "users": if err := awsRestjson1_deserializeDocument__listOfUserSummary(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -3429,7 +3347,6 @@ func awsRestjson1_deserializeOpDocumentPromoteOutput(v **PromoteOutput, value in } sv.BrokerId = ptr.String(jtv) } - default: _, _ = key, value @@ -3694,7 +3611,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "autoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -3703,7 +3619,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "brokerId": if value != nil { jtv, ok := value.(string) @@ -3712,17 +3627,14 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.BrokerId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Configuration, value); err != nil { return err } - case "dataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.DataReplicationMetadata, value); err != nil { return err } - case "dataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -3731,7 +3643,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.DataReplicationMode = types.DataReplicationMode(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -3740,7 +3651,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.EngineVersion = ptr.String(jtv) } - case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -3749,27 +3659,22 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.HostInstanceType = ptr.String(jtv) } - case "ldapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.LdapServerMetadata, value); err != nil { return err } - case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } - case "maintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentWeeklyStartTime(&sv.MaintenanceWindowStartTime, value); err != nil { return err } - case "pendingDataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.PendingDataReplicationMetadata, value); err != nil { return err } - case "pendingDataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -3778,12 +3683,10 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.PendingDataReplicationMode = types.DataReplicationMode(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -3951,7 +3854,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Arn = ptr.String(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -3964,7 +3866,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Created = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3973,12 +3874,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Id = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3987,12 +3886,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Name = ptr.String(jtv) } - case "warnings": if err := awsRestjson1_deserializeDocument__listOfSanitizationWarning(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -4864,7 +4761,6 @@ func awsRestjson1_deserializeDocumentActionRequired(v **types.ActionRequired, va } sv.ActionRequiredCode = ptr.String(jtv) } - case "actionRequiredInfo": if value != nil { jtv, ok := value.(string) @@ -4873,7 +4769,6 @@ func awsRestjson1_deserializeDocumentActionRequired(v **types.ActionRequired, va } sv.ActionRequiredInfo = ptr.String(jtv) } - default: _, _ = key, value @@ -4913,7 +4808,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4943,13 +4837,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -4959,8 +4847,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4968,15 +4855,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5011,12 +4894,10 @@ func awsRestjson1_deserializeDocumentBrokerEngineType(v **types.BrokerEngineType } sv.EngineType = types.EngineType(jtv) } - case "engineVersions": if err := awsRestjson1_deserializeDocument__listOfEngineVersion(&sv.EngineVersions, value); err != nil { return err } - default: _, _ = key, value @@ -5056,12 +4937,10 @@ func awsRestjson1_deserializeDocumentBrokerInstance(v **types.BrokerInstance, va } sv.ConsoleURL = ptr.String(jtv) } - case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -5070,7 +4949,6 @@ func awsRestjson1_deserializeDocumentBrokerInstance(v **types.BrokerInstance, va } sv.IpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -5106,7 +4984,6 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan if err := awsRestjson1_deserializeDocument__listOfAvailabilityZone(&sv.AvailabilityZones, value); err != nil { return err } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -5115,7 +4992,6 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.EngineType = types.EngineType(jtv) } - case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -5124,7 +5000,6 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.HostInstanceType = ptr.String(jtv) } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -5133,17 +5008,14 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.StorageType = types.BrokerStorageType(jtv) } - case "supportedDeploymentModes": if err := awsRestjson1_deserializeDocument__listOfDeploymentMode(&sv.SupportedDeploymentModes, value); err != nil { return err } - case "supportedEngineVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SupportedEngineVersions, value); err != nil { return err } - default: _, _ = key, value @@ -5183,7 +5055,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerArn = ptr.String(jtv) } - case "brokerId": if value != nil { jtv, ok := value.(string) @@ -5192,7 +5063,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerId = ptr.String(jtv) } - case "brokerName": if value != nil { jtv, ok := value.(string) @@ -5201,7 +5071,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerName = ptr.String(jtv) } - case "brokerState": if value != nil { jtv, ok := value.(string) @@ -5210,7 +5079,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerState = types.BrokerState(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -5223,7 +5091,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.Created = ptr.Time(t) } - case "deploymentMode": if value != nil { jtv, ok := value.(string) @@ -5232,7 +5099,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.DeploymentMode = types.DeploymentMode(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -5241,7 +5107,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.EngineType = types.EngineType(jtv) } - case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -5250,7 +5115,6 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.HostInstanceType = ptr.String(jtv) } - default: _, _ = key, value @@ -5290,7 +5154,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Arn = ptr.String(jtv) } - case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -5299,7 +5162,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } - case "created": if value != nil { jtv, ok := value.(string) @@ -5312,7 +5174,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Created = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5321,7 +5182,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Description = ptr.String(jtv) } - case "engineType": if value != nil { jtv, ok := value.(string) @@ -5330,7 +5190,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.EngineType = types.EngineType(jtv) } - case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -5339,7 +5198,6 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.EngineVersion = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5348,12 +5206,10 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Id = ptr.String(jtv) } - case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5362,12 +5218,10 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5407,7 +5261,6 @@ func awsRestjson1_deserializeDocumentConfigurationId(v **types.ConfigurationId, } sv.Id = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5420,7 +5273,6 @@ func awsRestjson1_deserializeDocumentConfigurationId(v **types.ConfigurationId, } sv.Revision = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5464,7 +5316,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Created = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5473,7 +5324,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Description = ptr.String(jtv) } - case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5486,7 +5336,6 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Revision = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5522,17 +5371,14 @@ func awsRestjson1_deserializeDocumentConfigurations(v **types.Configurations, va if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Current, value); err != nil { return err } - case "history": if err := awsRestjson1_deserializeDocument__listOfConfigurationId(&sv.History, value); err != nil { return err } - case "pending": if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Pending, value); err != nil { return err } - default: _, _ = key, value @@ -5562,13 +5408,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -5578,8 +5418,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5587,15 +5426,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5630,7 +5465,6 @@ func awsRestjson1_deserializeDocumentDataReplicationCounterpart(v **types.DataRe } sv.BrokerId = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -5639,7 +5473,6 @@ func awsRestjson1_deserializeDocumentDataReplicationCounterpart(v **types.DataRe } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -5675,7 +5508,6 @@ func awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(v **types.Dat if err := awsRestjson1_deserializeDocumentDataReplicationCounterpart(&sv.DataReplicationCounterpart, value); err != nil { return err } - case "dataReplicationRole": if value != nil { jtv, ok := value.(string) @@ -5684,7 +5516,6 @@ func awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(v **types.Dat } sv.DataReplicationRole = ptr.String(jtv) } - default: _, _ = key, value @@ -5724,7 +5555,6 @@ func awsRestjson1_deserializeDocumentEncryptionOptions(v **types.EncryptionOptio } sv.KmsKeyId = ptr.String(jtv) } - case "useAwsOwnedKey": if value != nil { jtv, ok := value.(bool) @@ -5733,7 +5563,6 @@ func awsRestjson1_deserializeDocumentEncryptionOptions(v **types.EncryptionOptio } sv.UseAwsOwnedKey = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5773,7 +5602,6 @@ func awsRestjson1_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5803,13 +5631,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -5819,8 +5641,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5828,15 +5649,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5861,13 +5678,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -5877,8 +5688,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5886,15 +5696,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5925,7 +5731,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Hosts, value); err != nil { return err } - case "roleBase": if value != nil { jtv, ok := value.(string) @@ -5934,7 +5739,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleBase = ptr.String(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -5943,7 +5747,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleName = ptr.String(jtv) } - case "roleSearchMatching": if value != nil { jtv, ok := value.(string) @@ -5952,7 +5755,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleSearchMatching = ptr.String(jtv) } - case "roleSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -5961,7 +5763,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleSearchSubtree = ptr.Bool(jtv) } - case "serviceAccountUsername": if value != nil { jtv, ok := value.(string) @@ -5970,7 +5771,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.ServiceAccountUsername = ptr.String(jtv) } - case "userBase": if value != nil { jtv, ok := value.(string) @@ -5979,7 +5779,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserBase = ptr.String(jtv) } - case "userRoleName": if value != nil { jtv, ok := value.(string) @@ -5988,7 +5787,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserRoleName = ptr.String(jtv) } - case "userSearchMatching": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5795,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserSearchMatching = ptr.String(jtv) } - case "userSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -6006,7 +5803,6 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserSearchSubtree = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6046,7 +5842,6 @@ func awsRestjson1_deserializeDocumentLogs(v **types.Logs, value interface{}) err } sv.Audit = ptr.Bool(jtv) } - case "general": if value != nil { jtv, ok := value.(bool) @@ -6055,7 +5850,6 @@ func awsRestjson1_deserializeDocumentLogs(v **types.Logs, value interface{}) err } sv.General = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6095,7 +5889,6 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.Audit = ptr.Bool(jtv) } - case "auditLogGroup": if value != nil { jtv, ok := value.(string) @@ -6104,7 +5897,6 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.AuditLogGroup = ptr.String(jtv) } - case "general": if value != nil { jtv, ok := value.(bool) @@ -6113,7 +5905,6 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.General = ptr.Bool(jtv) } - case "generalLogGroup": if value != nil { jtv, ok := value.(string) @@ -6122,12 +5913,10 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.GeneralLogGroup = ptr.String(jtv) } - case "pending": if err := awsRestjson1_deserializeDocumentPendingLogs(&sv.Pending, value); err != nil { return err } - default: _, _ = key, value @@ -6157,13 +5946,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -6173,8 +5956,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6182,15 +5964,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6225,7 +6003,6 @@ func awsRestjson1_deserializeDocumentPendingLogs(v **types.PendingLogs, value in } sv.Audit = ptr.Bool(jtv) } - case "general": if value != nil { jtv, ok := value.(bool) @@ -6234,7 +6011,6 @@ func awsRestjson1_deserializeDocumentPendingLogs(v **types.PendingLogs, value in } sv.General = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6274,7 +6050,6 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.AttributeName = ptr.String(jtv) } - case "elementName": if value != nil { jtv, ok := value.(string) @@ -6283,7 +6058,6 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.ElementName = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6292,7 +6066,6 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.Reason = types.SanitizationWarningReason(jtv) } - default: _, _ = key, value @@ -6322,13 +6095,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorAttribute": if value != nil { @@ -6338,8 +6105,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.ErrorAttribute = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6347,15 +6113,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6390,12 +6152,10 @@ func awsRestjson1_deserializeDocumentUserPendingChanges(v **types.UserPendingCha } sv.ConsoleAccess = ptr.Bool(jtv) } - case "groups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Groups, value); err != nil { return err } - case "pendingChange": if value != nil { jtv, ok := value.(string) @@ -6404,7 +6164,6 @@ func awsRestjson1_deserializeDocumentUserPendingChanges(v **types.UserPendingCha } sv.PendingChange = types.ChangeType(jtv) } - default: _, _ = key, value @@ -6444,7 +6203,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.PendingChange = types.ChangeType(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -6453,7 +6211,6 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -6493,7 +6250,6 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.DayOfWeek = types.DayOfWeek(jtv) } - case "timeOfDay": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6258,6 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.TimeOfDay = ptr.String(jtv) } - case "timeZone": if value != nil { jtv, ok := value.(string) @@ -6511,7 +6266,6 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.TimeZone = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/mturk/deserializers.go b/service/mturk/deserializers.go index 10b0e04d353..31f94b92036 100644 --- a/service/mturk/deserializers.go +++ b/service/mturk/deserializers.go @@ -4582,7 +4582,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "Answer": if value != nil { jtv, ok := value.(string) @@ -4591,7 +4590,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.Answer = ptr.String(jtv) } - case "ApprovalTime": if value != nil { switch jtv := value.(type) { @@ -4607,7 +4605,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "AssignmentId": if value != nil { jtv, ok := value.(string) @@ -4616,7 +4613,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.AssignmentId = ptr.String(jtv) } - case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -4625,7 +4621,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.AssignmentStatus = types.AssignmentStatus(jtv) } - case "AutoApprovalTime": if value != nil { switch jtv := value.(type) { @@ -4641,7 +4636,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "Deadline": if value != nil { switch jtv := value.(type) { @@ -4657,7 +4651,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "HITId": if value != nil { jtv, ok := value.(string) @@ -4666,7 +4659,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.HITId = ptr.String(jtv) } - case "RejectionTime": if value != nil { switch jtv := value.(type) { @@ -4682,7 +4674,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "RequesterFeedback": if value != nil { jtv, ok := value.(string) @@ -4691,7 +4682,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.RequesterFeedback = ptr.String(jtv) } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -4707,7 +4697,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -4716,7 +4705,6 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -4790,7 +4778,6 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.AssignmentId = ptr.String(jtv) } - case "BonusAmount": if value != nil { jtv, ok := value.(string) @@ -4799,7 +4786,6 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.BonusAmount = ptr.String(jtv) } - case "GrantTime": if value != nil { switch jtv := value.(type) { @@ -4815,7 +4801,6 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -4824,7 +4809,6 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.Reason = ptr.String(jtv) } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -4833,7 +4817,6 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -4911,7 +4894,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.AssignmentDurationInSeconds = ptr.Int64(i64) } - case "AutoApprovalDelayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4924,7 +4906,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.AutoApprovalDelayInSeconds = ptr.Int64(i64) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4940,7 +4921,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4949,7 +4929,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Description = ptr.String(jtv) } - case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4965,7 +4944,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } } - case "HITGroupId": if value != nil { jtv, ok := value.(string) @@ -4974,7 +4952,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITGroupId = ptr.String(jtv) } - case "HITId": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4960,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITId = ptr.String(jtv) } - case "HITLayoutId": if value != nil { jtv, ok := value.(string) @@ -4992,7 +4968,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITLayoutId = ptr.String(jtv) } - case "HITReviewStatus": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4976,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITReviewStatus = types.HITReviewStatus(jtv) } - case "HITStatus": if value != nil { jtv, ok := value.(string) @@ -5010,7 +4984,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITStatus = types.HITStatus(jtv) } - case "HITTypeId": if value != nil { jtv, ok := value.(string) @@ -5019,7 +4992,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITTypeId = ptr.String(jtv) } - case "Keywords": if value != nil { jtv, ok := value.(string) @@ -5028,7 +5000,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Keywords = ptr.String(jtv) } - case "MaxAssignments": if value != nil { jtv, ok := value.(json.Number) @@ -5041,7 +5012,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.MaxAssignments = ptr.Int32(int32(i64)) } - case "NumberOfAssignmentsAvailable": if value != nil { jtv, ok := value.(json.Number) @@ -5054,7 +5024,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsAvailable = ptr.Int32(int32(i64)) } - case "NumberOfAssignmentsCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -5067,7 +5036,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsCompleted = ptr.Int32(int32(i64)) } - case "NumberOfAssignmentsPending": if value != nil { jtv, ok := value.(json.Number) @@ -5080,12 +5048,10 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsPending = ptr.Int32(int32(i64)) } - case "QualificationRequirements": if err := awsAwsjson11_deserializeDocumentQualificationRequirementList(&sv.QualificationRequirements, value); err != nil { return err } - case "Question": if value != nil { jtv, ok := value.(string) @@ -5094,7 +5060,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Question = ptr.String(jtv) } - case "RequesterAnnotation": if value != nil { jtv, ok := value.(string) @@ -5103,7 +5068,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.RequesterAnnotation = ptr.String(jtv) } - case "Reward": if value != nil { jtv, ok := value.(string) @@ -5112,7 +5076,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Reward = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -5121,7 +5084,6 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,7 +5197,6 @@ func awsAwsjson11_deserializeDocumentLocale(v **types.Locale, value interface{}) } sv.Country = ptr.String(jtv) } - case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -5244,7 +5205,6 @@ func awsAwsjson11_deserializeDocumentLocale(v **types.Locale, value interface{}) } sv.Subdivision = ptr.String(jtv) } - default: _, _ = key, value @@ -5318,7 +5278,6 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.NotifyWorkersFailureCode = types.NotifyWorkersFailureCode(jtv) } - case "NotifyWorkersFailureMessage": if value != nil { jtv, ok := value.(string) @@ -5327,7 +5286,6 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.NotifyWorkersFailureMessage = ptr.String(jtv) } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5336,7 +5294,6 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5410,12 +5367,10 @@ func awsAwsjson11_deserializeDocumentParameterMapEntry(v **types.ParameterMapEnt } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -5489,17 +5444,14 @@ func awsAwsjson11_deserializeDocumentPolicyParameter(v **types.PolicyParameter, } sv.Key = ptr.String(jtv) } - case "MapEntries": if err := awsAwsjson11_deserializeDocumentParameterMapEntryList(&sv.MapEntries, value); err != nil { return err } - case "Values": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -5580,7 +5532,6 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } } - case "IntegerValue": if value != nil { jtv, ok := value.(json.Number) @@ -5593,12 +5544,10 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.IntegerValue = ptr.Int32(int32(i64)) } - case "LocaleValue": if err := awsAwsjson11_deserializeDocumentLocale(&sv.LocaleValue, value); err != nil { return err } - case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5607,7 +5556,6 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.QualificationTypeId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5616,7 +5564,6 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.Status = types.QualificationStatus(jtv) } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5625,7 +5572,6 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5699,7 +5645,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.Answer = ptr.String(jtv) } - case "QualificationRequestId": if value != nil { jtv, ok := value.(string) @@ -5708,7 +5653,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.QualificationRequestId = ptr.String(jtv) } - case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5717,7 +5661,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.QualificationTypeId = ptr.String(jtv) } - case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -5733,7 +5676,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } } - case "Test": if value != nil { jtv, ok := value.(string) @@ -5742,7 +5684,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.Test = ptr.String(jtv) } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5751,7 +5692,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5825,7 +5765,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.ActionsGuarded = types.HITAccessActions(jtv) } - case "Comparator": if value != nil { jtv, ok := value.(string) @@ -5834,17 +5773,14 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.Comparator = types.Comparator(jtv) } - case "IntegerValues": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.IntegerValues, value); err != nil { return err } - case "LocaleValues": if err := awsAwsjson11_deserializeDocumentLocaleList(&sv.LocaleValues, value); err != nil { return err } - case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5853,7 +5789,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.QualificationTypeId = ptr.String(jtv) } - case "RequiredToPreview": if value != nil { jtv, ok := value.(bool) @@ -5862,7 +5797,6 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.RequiredToPreview = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5936,7 +5870,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AnswerKey = ptr.String(jtv) } - case "AutoGranted": if value != nil { jtv, ok := value.(bool) @@ -5945,7 +5878,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AutoGranted = ptr.Bool(jtv) } - case "AutoGrantedValue": if value != nil { jtv, ok := value.(json.Number) @@ -5958,7 +5890,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AutoGrantedValue = ptr.Int32(int32(i64)) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5974,7 +5905,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5983,7 +5913,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Description = ptr.String(jtv) } - case "IsRequestable": if value != nil { jtv, ok := value.(bool) @@ -5992,7 +5921,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.IsRequestable = ptr.Bool(jtv) } - case "Keywords": if value != nil { jtv, ok := value.(string) @@ -6001,7 +5929,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Keywords = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6010,7 +5937,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Name = ptr.String(jtv) } - case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -6019,7 +5945,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.QualificationTypeId = ptr.String(jtv) } - case "QualificationTypeStatus": if value != nil { jtv, ok := value.(string) @@ -6028,7 +5953,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.QualificationTypeStatus = types.QualificationTypeStatus(jtv) } - case "RetryDelayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6041,7 +5965,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.RetryDelayInSeconds = ptr.Int64(i64) } - case "Test": if value != nil { jtv, ok := value.(string) @@ -6050,7 +5973,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Test = ptr.String(jtv) } - case "TestDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6063,7 +5985,6 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.TestDurationInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -6127,15 +6048,9 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6143,7 +6058,6 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value } sv.Message = ptr.String(jtv) } - case "TurkErrorCode": if value != nil { jtv, ok := value.(string) @@ -6152,15 +6066,11 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value } sv.TurkErrorCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6195,7 +6105,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ActionId = ptr.String(jtv) } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -6204,7 +6113,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ActionName = ptr.String(jtv) } - case "CompleteTime": if value != nil { switch jtv := value.(type) { @@ -6220,7 +6128,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -6229,7 +6136,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ErrorCode = ptr.String(jtv) } - case "Result": if value != nil { jtv, ok := value.(string) @@ -6238,7 +6144,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.Result = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6247,7 +6152,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.Status = types.ReviewActionStatus(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -6256,7 +6160,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -6265,7 +6168,6 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.TargetType = ptr.String(jtv) } - default: _, _ = key, value @@ -6335,7 +6237,6 @@ func awsAwsjson11_deserializeDocumentReviewPolicy(v **types.ReviewPolicy, value if err := awsAwsjson11_deserializeDocumentPolicyParameterList(&sv.Parameters, value); err != nil { return err } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -6344,7 +6245,6 @@ func awsAwsjson11_deserializeDocumentReviewPolicy(v **types.ReviewPolicy, value } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -6380,12 +6280,10 @@ func awsAwsjson11_deserializeDocumentReviewReport(v **types.ReviewReport, value if err := awsAwsjson11_deserializeDocumentReviewActionDetailList(&sv.ReviewActions, value); err != nil { return err } - case "ReviewResults": if err := awsAwsjson11_deserializeDocumentReviewResultDetailList(&sv.ReviewResults, value); err != nil { return err } - default: _, _ = key, value @@ -6425,7 +6323,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.ActionId = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -6434,7 +6331,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.Key = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -6443,7 +6339,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.QuestionId = ptr.String(jtv) } - case "SubjectId": if value != nil { jtv, ok := value.(string) @@ -6452,7 +6347,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.SubjectId = ptr.String(jtv) } - case "SubjectType": if value != nil { jtv, ok := value.(string) @@ -6461,7 +6355,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.SubjectType = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6470,7 +6363,6 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6534,15 +6426,9 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6550,7 +6436,6 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value } sv.Message = ptr.String(jtv) } - case "TurkErrorCode": if value != nil { jtv, ok := value.(string) @@ -6559,15 +6444,11 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value } sv.TurkErrorCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6638,7 +6519,6 @@ func awsAwsjson11_deserializeDocumentWorkerBlock(v **types.WorkerBlock, value in } sv.Reason = ptr.String(jtv) } - case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -6647,7 +6527,6 @@ func awsAwsjson11_deserializeDocumentWorkerBlock(v **types.WorkerBlock, value in } sv.WorkerId = ptr.String(jtv) } - default: _, _ = key, value @@ -6841,7 +6720,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHITOutput(v **CreateHITOutput, valu if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } - default: _, _ = key, value @@ -6881,7 +6759,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHITTypeOutput(v **CreateHITTypeOutp } sv.HITTypeId = ptr.String(jtv) } - default: _, _ = key, value @@ -6917,7 +6794,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHITWithHITTypeOutput(v **CreateHITW if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } - default: _, _ = key, value @@ -6953,7 +6829,6 @@ func awsAwsjson11_deserializeOpDocumentCreateQualificationTypeOutput(v **CreateQ if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } - default: _, _ = key, value @@ -7148,7 +7023,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountBalanceOutput(v **GetAccountBal } sv.AvailableBalance = ptr.String(jtv) } - case "OnHoldBalance": if value != nil { jtv, ok := value.(string) @@ -7157,7 +7031,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountBalanceOutput(v **GetAccountBal } sv.OnHoldBalance = ptr.String(jtv) } - default: _, _ = key, value @@ -7193,12 +7066,10 @@ func awsAwsjson11_deserializeOpDocumentGetAssignmentOutput(v **GetAssignmentOutp if err := awsAwsjson11_deserializeDocumentAssignment(&sv.Assignment, value); err != nil { return err } - case "HIT": if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } - default: _, _ = key, value @@ -7238,7 +7109,6 @@ func awsAwsjson11_deserializeOpDocumentGetFileUploadURLOutput(v **GetFileUploadU } sv.FileUploadURL = ptr.String(jtv) } - default: _, _ = key, value @@ -7274,7 +7144,6 @@ func awsAwsjson11_deserializeOpDocumentGetHITOutput(v **GetHITOutput, value inte if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } - default: _, _ = key, value @@ -7310,7 +7179,6 @@ func awsAwsjson11_deserializeOpDocumentGetQualificationScoreOutput(v **GetQualif if err := awsAwsjson11_deserializeDocumentQualification(&sv.Qualification, value); err != nil { return err } - default: _, _ = key, value @@ -7346,7 +7214,6 @@ func awsAwsjson11_deserializeOpDocumentGetQualificationTypeOutput(v **GetQualifi if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } - default: _, _ = key, value @@ -7382,7 +7249,6 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig if err := awsAwsjson11_deserializeDocumentAssignmentList(&sv.Assignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7391,7 +7257,6 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7404,7 +7269,6 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig } sv.NumResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7440,7 +7304,6 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym if err := awsAwsjson11_deserializeDocumentBonusPaymentList(&sv.BonusPayments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7449,7 +7312,6 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7462,7 +7324,6 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym } sv.NumResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7498,7 +7359,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7507,7 +7367,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7520,7 +7379,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li } sv.NumResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7556,7 +7414,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7565,7 +7422,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7578,7 +7434,6 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value } sv.NumResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7618,7 +7473,6 @@ func awsAwsjson11_deserializeOpDocumentListQualificationRequestsOutput(v **ListQ } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7631,12 +7485,10 @@ func awsAwsjson11_deserializeOpDocumentListQualificationRequestsOutput(v **ListQ } sv.NumResults = ptr.Int32(int32(i64)) } - case "QualificationRequests": if err := awsAwsjson11_deserializeDocumentQualificationRequestList(&sv.QualificationRequests, value); err != nil { return err } - default: _, _ = key, value @@ -7676,7 +7528,6 @@ func awsAwsjson11_deserializeOpDocumentListQualificationTypesOutput(v **ListQual } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7689,12 +7540,10 @@ func awsAwsjson11_deserializeOpDocumentListQualificationTypesOutput(v **ListQual } sv.NumResults = ptr.Int32(int32(i64)) } - case "QualificationTypes": if err := awsAwsjson11_deserializeDocumentQualificationTypeList(&sv.QualificationTypes, value); err != nil { return err } - default: _, _ = key, value @@ -7730,7 +7579,6 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7739,7 +7587,6 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7752,7 +7599,6 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab } sv.NumResults = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7788,12 +7634,10 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L if err := awsAwsjson11_deserializeDocumentReviewPolicy(&sv.AssignmentReviewPolicy, value); err != nil { return err } - case "AssignmentReviewReport": if err := awsAwsjson11_deserializeDocumentReviewReport(&sv.AssignmentReviewReport, value); err != nil { return err } - case "HITId": if value != nil { jtv, ok := value.(string) @@ -7802,17 +7646,14 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L } sv.HITId = ptr.String(jtv) } - case "HITReviewPolicy": if err := awsAwsjson11_deserializeDocumentReviewPolicy(&sv.HITReviewPolicy, value); err != nil { return err } - case "HITReviewReport": if err := awsAwsjson11_deserializeDocumentReviewReport(&sv.HITReviewReport, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7662,6 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7861,7 +7701,6 @@ func awsAwsjson11_deserializeOpDocumentListWorkerBlocksOutput(v **ListWorkerBloc } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7874,12 +7713,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkerBlocksOutput(v **ListWorkerBloc } sv.NumResults = ptr.Int32(int32(i64)) } - case "WorkerBlocks": if err := awsAwsjson11_deserializeDocumentWorkerBlockList(&sv.WorkerBlocks, value); err != nil { return err } - default: _, _ = key, value @@ -7919,7 +7756,6 @@ func awsAwsjson11_deserializeOpDocumentListWorkersWithQualificationTypeOutput(v } sv.NextToken = ptr.String(jtv) } - case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7932,12 +7768,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkersWithQualificationTypeOutput(v } sv.NumResults = ptr.Int32(int32(i64)) } - case "Qualifications": if err := awsAwsjson11_deserializeDocumentQualificationList(&sv.Qualifications, value); err != nil { return err } - default: _, _ = key, value @@ -7973,7 +7807,6 @@ func awsAwsjson11_deserializeOpDocumentNotifyWorkersOutput(v **NotifyWorkersOutp if err := awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatusList(&sv.NotifyWorkersFailureStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -8257,7 +8090,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateQualificationTypeOutput(v **UpdateQ if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/mwaa/deserializers.go b/service/mwaa/deserializers.go index 6f9532f3470..d105ef57fa8 100644 --- a/service/mwaa/deserializers.go +++ b/service/mwaa/deserializers.go @@ -177,7 +177,6 @@ func awsRestjson1_deserializeOpDocumentCreateCliTokenOutput(v **CreateCliTokenOu } sv.CliToken = ptr.String(jtv) } - case "WebServerHostname": if value != nil { jtv, ok := value.(string) @@ -186,7 +185,6 @@ func awsRestjson1_deserializeOpDocumentCreateCliTokenOutput(v **CreateCliTokenOu } sv.WebServerHostname = ptr.String(jtv) } - default: _, _ = key, value @@ -345,7 +343,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -510,7 +507,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.AirflowIdentity = ptr.String(jtv) } - case "IamIdentity": if value != nil { jtv, ok := value.(string) @@ -519,7 +515,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.IamIdentity = ptr.String(jtv) } - case "WebServerHostname": if value != nil { jtv, ok := value.(string) @@ -528,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.WebServerHostname = ptr.String(jtv) } - case "WebToken": if value != nil { jtv, ok := value.(string) @@ -537,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.WebToken = ptr.String(jtv) } - default: _, _ = key, value @@ -789,7 +782,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -956,7 +948,6 @@ func awsRestjson1_deserializeOpDocumentInvokeRestApiOutput(v **InvokeRestApiOutp if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } - case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -969,7 +960,6 @@ func awsRestjson1_deserializeOpDocumentInvokeRestApiOutput(v **InvokeRestApiOutp } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1124,7 +1114,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1133,7 +1122,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1291,7 +1279,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1732,7 +1719,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -1978,15 +1964,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1994,15 +1974,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2069,7 +2045,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in if err := awsRestjson1_deserializeDocumentAirflowConfigurationOptions(&sv.AirflowConfigurationOptions, value); err != nil { return err } - case "AirflowVersion": if value != nil { jtv, ok := value.(string) @@ -2078,7 +2053,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.AirflowVersion = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -2087,7 +2061,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } - case "CeleryExecutorQueue": if value != nil { jtv, ok := value.(string) @@ -2096,7 +2069,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.CeleryExecutorQueue = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2112,7 +2084,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } - case "DagS3Path": if value != nil { jtv, ok := value.(string) @@ -2121,7 +2092,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DagS3Path = ptr.String(jtv) } - case "DatabaseVpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -2130,7 +2100,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DatabaseVpcEndpointService = ptr.String(jtv) } - case "EndpointManagement": if value != nil { jtv, ok := value.(string) @@ -2139,7 +2108,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EndpointManagement = types.EndpointManagement(jtv) } - case "EnvironmentClass": if value != nil { jtv, ok := value.(string) @@ -2148,7 +2116,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentClass = ptr.String(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2157,7 +2124,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ExecutionRoleArn = ptr.String(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -2166,17 +2132,14 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKey = ptr.String(jtv) } - case "LastUpdate": if err := awsRestjson1_deserializeDocumentLastUpdate(&sv.LastUpdate, value); err != nil { return err } - case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - case "MaxWebservers": if value != nil { jtv, ok := value.(json.Number) @@ -2189,7 +2152,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MaxWebservers = ptr.Int32(int32(i64)) } - case "MaxWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -2202,7 +2164,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MaxWorkers = ptr.Int32(int32(i64)) } - case "MinWebservers": if value != nil { jtv, ok := value.(json.Number) @@ -2215,7 +2176,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MinWebservers = ptr.Int32(int32(i64)) } - case "MinWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -2228,7 +2188,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MinWorkers = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2237,12 +2196,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "PluginsS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2251,7 +2208,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PluginsS3ObjectVersion = ptr.String(jtv) } - case "PluginsS3Path": if value != nil { jtv, ok := value.(string) @@ -2260,7 +2216,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PluginsS3Path = ptr.String(jtv) } - case "RequirementsS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2269,7 +2224,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RequirementsS3ObjectVersion = ptr.String(jtv) } - case "RequirementsS3Path": if value != nil { jtv, ok := value.(string) @@ -2278,7 +2232,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RequirementsS3Path = ptr.String(jtv) } - case "Schedulers": if value != nil { jtv, ok := value.(json.Number) @@ -2291,7 +2244,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Schedulers = ptr.Int32(int32(i64)) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2300,7 +2252,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ServiceRoleArn = ptr.String(jtv) } - case "SourceBucketArn": if value != nil { jtv, ok := value.(string) @@ -2309,7 +2260,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SourceBucketArn = ptr.String(jtv) } - case "StartupScriptS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2318,7 +2268,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.StartupScriptS3ObjectVersion = ptr.String(jtv) } - case "StartupScriptS3Path": if value != nil { jtv, ok := value.(string) @@ -2327,7 +2276,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.StartupScriptS3Path = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2336,12 +2284,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Status = types.EnvironmentStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "WebserverAccessMode": if value != nil { jtv, ok := value.(string) @@ -2350,7 +2296,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverAccessMode = types.WebserverAccessMode(jtv) } - case "WebserverUrl": if value != nil { jtv, ok := value.(string) @@ -2359,7 +2304,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverUrl = ptr.String(jtv) } - case "WebserverVpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -2368,7 +2312,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverVpcEndpointService = ptr.String(jtv) } - case "WeeklyMaintenanceWindowStart": if value != nil { jtv, ok := value.(string) @@ -2377,7 +2320,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WeeklyMaintenanceWindowStart = ptr.String(jtv) } - default: _, _ = key, value @@ -2443,15 +2385,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2459,15 +2395,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2509,12 +2441,10 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } } - case "Error": if err := awsRestjson1_deserializeDocumentUpdateError(&sv.Error, value); err != nil { return err } - case "Source": if value != nil { jtv, ok := value.(string) @@ -2523,7 +2453,6 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } sv.Source = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2532,7 +2461,6 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } sv.Status = types.UpdateStatus(jtv) } - default: _, _ = key, value @@ -2568,27 +2496,22 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.DagProcessingLogs, value); err != nil { return err } - case "SchedulerLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.SchedulerLogs, value); err != nil { return err } - case "TaskLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.TaskLogs, value); err != nil { return err } - case "WebserverLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.WebserverLogs, value); err != nil { return err } - case "WorkerLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.WorkerLogs, value); err != nil { return err } - default: _, _ = key, value @@ -2628,7 +2551,6 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.CloudWatchLogGroupArn = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -2637,7 +2559,6 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.Enabled = ptr.Bool(jtv) } - case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -2646,7 +2567,6 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.LogLevel = types.LoggingLevel(jtv) } - default: _, _ = key, value @@ -2682,12 +2602,10 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -2717,15 +2635,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2733,15 +2645,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2766,19 +2674,12 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "RestApiResponse": if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } - case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -2791,15 +2692,11 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2832,19 +2729,12 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "RestApiResponse": if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } - case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -2857,15 +2747,11 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3008,7 +2894,6 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3017,7 +2902,6 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3047,15 +2931,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3063,15 +2941,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/neptunedata/deserializers.go b/service/neptunedata/deserializers.go index 1fee35af674..e2411f247ca 100644 --- a/service/neptunedata/deserializers.go +++ b/service/neptunedata/deserializers.go @@ -216,7 +216,6 @@ func awsRestjson1_deserializeOpDocumentCancelGremlinQueryOutput(v **CancelGremli } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -408,7 +407,6 @@ func awsRestjson1_deserializeOpDocumentCancelLoaderJobOutput(v **CancelLoaderJob } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -594,7 +592,6 @@ func awsRestjson1_deserializeOpDocumentCancelMLDataProcessingJobOutput(v **Cance } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -780,7 +777,6 @@ func awsRestjson1_deserializeOpDocumentCancelMLModelTrainingJobOutput(v **Cancel } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -966,7 +962,6 @@ func awsRestjson1_deserializeOpDocumentCancelMLModelTransformJobOutput(v **Cance } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1164,7 +1159,6 @@ func awsRestjson1_deserializeOpDocumentCancelOpenCypherQueryOutput(v **CancelOpe } sv.Payload = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1173,7 +1167,6 @@ func awsRestjson1_deserializeOpDocumentCancelOpenCypherQueryOutput(v **CancelOpe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1359,7 +1352,6 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.Arn = ptr.String(jtv) } - case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1372,7 +1364,6 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.CreationTimeInMillis = ptr.Int64(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1381,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1567,7 +1557,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMLEndpointOutput(v **DeleteMLEndpoi } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1769,7 +1758,6 @@ func awsRestjson1_deserializeOpDocumentDeletePropertygraphStatisticsOutput(v **D if err := awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1778,7 +1766,6 @@ func awsRestjson1_deserializeOpDocumentDeletePropertygraphStatisticsOutput(v **D } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -1980,7 +1967,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSparqlStatisticsOutput(v **DeleteSp if err := awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1989,7 +1975,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSparqlStatisticsOutput(v **DeleteSp } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2177,7 +2162,6 @@ func awsRestjson1_deserializeOpDocumentExecuteFastResetOutput(v **ExecuteFastRes if err := awsRestjson1_deserializeDocumentFastResetToken(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2186,7 +2170,6 @@ func awsRestjson1_deserializeOpDocumentExecuteFastResetOutput(v **ExecuteFastRes } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2739,7 +2722,6 @@ func awsRestjson1_deserializeOpDocumentExecuteGremlinQueryOutput(v **ExecuteGrem if err := awsRestjson1_deserializeDocumentDocument(&sv.Meta, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -2748,17 +2730,14 @@ func awsRestjson1_deserializeOpDocumentExecuteGremlinQueryOutput(v **ExecuteGrem } sv.RequestId = ptr.String(jtv) } - case "result": if err := awsRestjson1_deserializeDocumentDocument(&sv.Result, value); err != nil { return err } - case "status": if err := awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -3145,7 +3124,6 @@ func awsRestjson1_deserializeOpDocumentExecuteOpenCypherQueryOutput(v **ExecuteO if err := awsRestjson1_deserializeDocumentDocument(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -3322,7 +3300,6 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.DbEngineVersion = ptr.String(jtv) } - case "dfeQueryEngine": if value != nil { jtv, ok := value.(string) @@ -3331,27 +3308,22 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.DfeQueryEngine = ptr.String(jtv) } - case "features": if err := awsRestjson1_deserializeDocumentDocumentValuedMap(&sv.Features, value); err != nil { return err } - case "gremlin": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Gremlin, value); err != nil { return err } - case "labMode": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LabMode, value); err != nil { return err } - case "opencypher": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Opencypher, value); err != nil { return err } - case "role": if value != nil { jtv, ok := value.(string) @@ -3360,7 +3332,6 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.Role = ptr.String(jtv) } - case "rollingBackTrxCount": if value != nil { jtv, ok := value.(json.Number) @@ -3373,7 +3344,6 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.RollingBackTrxCount = ptr.Int32(int32(i64)) } - case "rollingBackTrxEarliestStartTime": if value != nil { jtv, ok := value.(string) @@ -3382,17 +3352,14 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.RollingBackTrxEarliestStartTime = ptr.String(jtv) } - case "settings": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.Settings, value); err != nil { return err } - case "sparql": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Sparql, value); err != nil { return err } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -3401,7 +3368,6 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.StartTime = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3410,7 +3376,6 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3607,7 +3572,6 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } - case "queryId": if value != nil { jtv, ok := value.(string) @@ -3616,7 +3580,6 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli } sv.QueryId = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -3625,7 +3588,6 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -3813,7 +3775,6 @@ func awsRestjson1_deserializeOpDocumentGetLoaderJobStatusOutput(v **GetLoaderJob if err := awsRestjson1_deserializeDocumentDocument(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -3822,7 +3783,6 @@ func awsRestjson1_deserializeOpDocumentGetLoaderJobStatusOutput(v **GetLoaderJob } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4008,12 +3968,10 @@ func awsRestjson1_deserializeOpDocumentGetMLDataProcessingJobOutput(v **GetMLDat } sv.Id = ptr.String(jtv) } - case "processingJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ProcessingJob, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4022,7 +3980,6 @@ func awsRestjson1_deserializeOpDocumentGetMLDataProcessingJobOutput(v **GetMLDat } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4204,12 +4161,10 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.Endpoint, value); err != nil { return err } - case "endpointConfig": if err := awsRestjson1_deserializeDocumentMlConfigDefinition(&sv.EndpointConfig, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4218,7 +4173,6 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4227,7 +4181,6 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4409,7 +4362,6 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.HpoJob, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4418,22 +4370,18 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode } sv.Id = ptr.String(jtv) } - case "mlModels": if err := awsRestjson1_deserializeDocumentMlModels(&sv.MlModels, value); err != nil { return err } - case "modelTransformJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ModelTransformJob, value); err != nil { return err } - case "processingJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ProcessingJob, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4442,7 +4390,6 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4624,7 +4571,6 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.BaseProcessingJob, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4633,17 +4579,14 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod } sv.Id = ptr.String(jtv) } - case "models": if err := awsRestjson1_deserializeDocumentModels(&sv.Models, value); err != nil { return err } - case "remoteModelTransformJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.RemoteModelTransformJob, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4652,7 +4595,6 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4852,7 +4794,6 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } - case "queryId": if value != nil { jtv, ok := value.(string) @@ -4861,7 +4802,6 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe } sv.QueryId = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -4870,7 +4810,6 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -5058,7 +4997,6 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStatisticsOutput(v **GetP if err := awsRestjson1_deserializeDocumentStatistics(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5067,7 +5005,6 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStatisticsOutput(v **GetP } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5256,12 +5193,10 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.Format = ptr.String(jtv) } - case "lastEventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LastEventId, value); err != nil { return err } - case "lastTrxTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -5274,12 +5209,10 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.LastTrxTimestampInMillis = ptr.Int64(i64) } - case "records": if err := awsRestjson1_deserializeDocumentPropertygraphRecordsList(&sv.Records, value); err != nil { return err } - case "totalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -5292,7 +5225,6 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.TotalRecords = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5494,7 +5426,6 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphSummaryOutput(v **GetProp if err := awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(&sv.Payload, value); err != nil { return err } - default: _, _ = key, value @@ -5696,7 +5627,6 @@ func awsRestjson1_deserializeOpDocumentGetRDFGraphSummaryOutput(v **GetRDFGraphS if err := awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(&sv.Payload, value); err != nil { return err } - default: _, _ = key, value @@ -5884,7 +5814,6 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStatisticsOutput(v **GetSparqlSt if err := awsRestjson1_deserializeDocumentStatistics(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5893,7 +5822,6 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStatisticsOutput(v **GetSparqlSt } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -6082,12 +6010,10 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.Format = ptr.String(jtv) } - case "lastEventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LastEventId, value); err != nil { return err } - case "lastTrxTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -6100,12 +6026,10 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.LastTrxTimestampInMillis = ptr.Int64(i64) } - case "records": if err := awsRestjson1_deserializeDocumentSparqlRecordsList(&sv.Records, value); err != nil { return err } - case "totalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -6118,7 +6042,6 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.TotalRecords = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6323,12 +6246,10 @@ func awsRestjson1_deserializeOpDocumentListGremlinQueriesOutput(v **ListGremlinQ } sv.AcceptedQueryCount = ptr.Int32(int32(i64)) } - case "queries": if err := awsRestjson1_deserializeDocumentGremlinQueries(&sv.Queries, value); err != nil { return err } - case "runningQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -6341,7 +6262,6 @@ func awsRestjson1_deserializeOpDocumentListGremlinQueriesOutput(v **ListGremlinQ } sv.RunningQueryCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6526,7 +6446,6 @@ func awsRestjson1_deserializeOpDocumentListLoaderJobsOutput(v **ListLoaderJobsOu if err := awsRestjson1_deserializeDocumentLoaderIdResult(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6535,7 +6454,6 @@ func awsRestjson1_deserializeOpDocumentListLoaderJobsOutput(v **ListLoaderJobsOu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -6717,7 +6635,6 @@ func awsRestjson1_deserializeOpDocumentListMLDataProcessingJobsOutput(v **ListML if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } - default: _, _ = key, value @@ -6899,7 +6816,6 @@ func awsRestjson1_deserializeOpDocumentListMLEndpointsOutput(v **ListMLEndpoints if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } - default: _, _ = key, value @@ -7081,7 +6997,6 @@ func awsRestjson1_deserializeOpDocumentListMLModelTrainingJobsOutput(v **ListMLM if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } - default: _, _ = key, value @@ -7263,7 +7178,6 @@ func awsRestjson1_deserializeOpDocumentListMLModelTransformJobsOutput(v **ListML if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } - default: _, _ = key, value @@ -7471,12 +7385,10 @@ func awsRestjson1_deserializeOpDocumentListOpenCypherQueriesOutput(v **ListOpenC } sv.AcceptedQueryCount = ptr.Int32(int32(i64)) } - case "queries": if err := awsRestjson1_deserializeDocumentOpenCypherQueries(&sv.Queries, value); err != nil { return err } - case "runningQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -7489,7 +7401,6 @@ func awsRestjson1_deserializeOpDocumentListOpenCypherQueriesOutput(v **ListOpenC } sv.RunningQueryCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7677,7 +7588,6 @@ func awsRestjson1_deserializeOpDocumentManagePropertygraphStatisticsOutput(v **M if err := awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7686,7 +7596,6 @@ func awsRestjson1_deserializeOpDocumentManagePropertygraphStatisticsOutput(v **M } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -7874,7 +7783,6 @@ func awsRestjson1_deserializeOpDocumentManageSparqlStatisticsOutput(v **ManageSp if err := awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7883,7 +7791,6 @@ func awsRestjson1_deserializeOpDocumentManageSparqlStatisticsOutput(v **ManageSp } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8074,7 +7981,6 @@ func awsRestjson1_deserializeOpDocumentStartLoaderJobOutput(v **StartLoaderJobOu if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.Payload, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8083,7 +7989,6 @@ func awsRestjson1_deserializeOpDocumentStartLoaderJobOutput(v **StartLoaderJobOu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8269,7 +8174,6 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.Arn = ptr.String(jtv) } - case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8282,7 +8186,6 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.CreationTimeInMillis = ptr.Int64(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8291,7 +8194,6 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -8477,7 +8379,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.Arn = ptr.String(jtv) } - case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8490,7 +8391,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.CreationTimeInMillis = ptr.Int64(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8499,7 +8399,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -8685,7 +8584,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.Arn = ptr.String(jtv) } - case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8698,7 +8596,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.CreationTimeInMillis = ptr.Int64(i64) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8707,7 +8604,6 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -9961,13 +9857,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -9977,7 +9867,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -9986,7 +9875,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -9995,15 +9883,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10028,13 +9912,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10044,7 +9922,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10053,7 +9930,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10062,15 +9938,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10095,13 +9967,7 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10111,7 +9977,6 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10120,7 +9985,6 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10129,15 +9993,11 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10162,13 +10022,7 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10178,7 +10032,6 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10187,7 +10040,6 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10196,15 +10048,11 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10265,13 +10113,7 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10281,7 +10123,6 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10290,7 +10131,6 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10299,15 +10139,11 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10332,13 +10168,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10348,7 +10178,6 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10357,7 +10186,6 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10366,15 +10194,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10399,13 +10223,7 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10415,7 +10233,6 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10424,7 +10241,6 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10433,15 +10249,11 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10476,7 +10288,6 @@ func awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(v **types.DeleteSt } sv.Active = ptr.Bool(jtv) } - case "statisticsId": if value != nil { jtv, ok := value.(string) @@ -10485,7 +10296,6 @@ func awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(v **types.DeleteSt } sv.StatisticsId = ptr.String(jtv) } - default: _, _ = key, value @@ -10635,12 +10445,10 @@ func awsRestjson1_deserializeDocumentEdgeStructure(v **types.EdgeStructure, valu } sv.Count = ptr.Int64(i64) } - case "edgeProperties": if err := awsRestjson1_deserializeDocumentEdgeProperties(&sv.EdgeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -10704,13 +10512,7 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10720,7 +10522,6 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10729,7 +10530,6 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10738,15 +10538,11 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10771,13 +10567,7 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -10787,7 +10577,6 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10796,7 +10585,6 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -10805,15 +10593,11 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10848,7 +10632,6 @@ func awsRestjson1_deserializeDocumentFastResetToken(v **types.FastResetToken, va } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -10918,7 +10701,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } - case "queryId": if value != nil { jtv, ok := value.(string) @@ -10927,7 +10709,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt } sv.QueryId = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -10936,7 +10717,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -10972,7 +10752,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem if err := awsRestjson1_deserializeDocumentDocument(&sv.Attributes, value); err != nil { return err } - case "code": if value != nil { jtv, ok := value.(json.Number) @@ -10985,7 +10764,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem } sv.Code = ptr.Int32(int32(i64)) } - case "message": if value != nil { jtv, ok := value.(string) @@ -10994,7 +10772,6 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -11024,13 +10801,7 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11040,7 +10811,6 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11049,7 +10819,6 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11058,15 +10827,11 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11091,13 +10856,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11107,7 +10866,6 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11116,7 +10874,6 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11125,15 +10882,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11158,13 +10911,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11174,7 +10921,6 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11183,7 +10929,6 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11192,15 +10937,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11225,13 +10966,7 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11241,7 +10976,6 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11250,7 +10984,6 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11259,15 +10992,11 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11292,13 +11021,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11308,7 +11031,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11317,7 +11039,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11326,15 +11047,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11365,7 +11082,6 @@ func awsRestjson1_deserializeDocumentLoaderIdResult(v **types.LoaderIdResult, va if err := awsRestjson1_deserializeDocumentStringList(&sv.LoadIds, value); err != nil { return err } - default: _, _ = key, value @@ -11395,13 +11111,7 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11411,7 +11121,6 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11420,7 +11129,6 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11429,15 +11137,11 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11534,13 +11238,7 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11550,7 +11248,6 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11559,7 +11256,6 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11568,15 +11264,11 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11601,13 +11293,7 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11617,7 +11303,6 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11626,7 +11311,6 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11635,15 +11319,11 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11668,13 +11348,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11684,7 +11358,6 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11693,7 +11366,6 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11702,15 +11374,11 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11735,13 +11403,7 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11751,7 +11413,6 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11760,7 +11421,6 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -11769,15 +11429,11 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11812,7 +11468,6 @@ func awsRestjson1_deserializeDocumentMlConfigDefinition(v **types.MlConfigDefini } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11821,7 +11476,6 @@ func awsRestjson1_deserializeDocumentMlConfigDefinition(v **types.MlConfigDefini } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11895,7 +11549,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Arn = ptr.String(jtv) } - case "cloudwatchLogUrl": if value != nil { jtv, ok := value.(string) @@ -11904,7 +11557,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.CloudwatchLogUrl = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11913,7 +11565,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.FailureReason = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11922,7 +11573,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Name = ptr.String(jtv) } - case "outputLocation": if value != nil { jtv, ok := value.(string) @@ -11931,7 +11581,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.OutputLocation = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11940,7 +11589,6 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11970,13 +11618,7 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -11986,7 +11628,6 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11995,7 +11636,6 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -12004,15 +11644,11 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12157,17 +11793,14 @@ func awsRestjson1_deserializeDocumentNodeStructure(v **types.NodeStructure, valu } sv.Count = ptr.Int64(i64) } - case "distinctOutgoingEdgeLabels": if err := awsRestjson1_deserializeDocumentOutgoingEdgeLabels(&sv.DistinctOutgoingEdgeLabels, value); err != nil { return err } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -12301,13 +11934,7 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -12317,7 +11944,6 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12326,7 +11952,6 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -12335,15 +11960,11 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12368,13 +11989,7 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -12384,7 +11999,6 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12393,7 +12007,6 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -12402,15 +12015,11 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12481,7 +12090,6 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.From = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12490,7 +12098,6 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Id = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -12499,7 +12106,6 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Key = ptr.String(jtv) } - case "to": if value != nil { jtv, ok := value.(string) @@ -12508,7 +12114,6 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.To = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12517,12 +12122,10 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Type = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDocument(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -12566,17 +12169,14 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.CommitTimestampInMillis = ptr.Int64(i64) } - case "data": if err := awsRestjson1_deserializeDocumentPropertygraphData(&sv.Data, value); err != nil { return err } - case "eventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.EventId, value); err != nil { return err } - case "isLastOp": if value != nil { jtv, ok := value.(bool) @@ -12585,7 +12185,6 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.IsLastOp = ptr.Bool(jtv) } - case "op": if value != nil { jtv, ok := value.(string) @@ -12594,7 +12193,6 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.Op = ptr.String(jtv) } - default: _, _ = key, value @@ -12664,32 +12262,26 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap if err := awsRestjson1_deserializeDocumentEdgeLabels(&sv.EdgeLabels, value); err != nil { return err } - case "edgeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.EdgeProperties, value); err != nil { return err } - case "edgeStructures": if err := awsRestjson1_deserializeDocumentEdgeStructures(&sv.EdgeStructures, value); err != nil { return err } - case "nodeLabels": if err := awsRestjson1_deserializeDocumentNodeLabels(&sv.NodeLabels, value); err != nil { return err } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.NodeProperties, value); err != nil { return err } - case "nodeStructures": if err := awsRestjson1_deserializeDocumentNodeStructures(&sv.NodeStructures, value); err != nil { return err } - case "numEdgeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12702,7 +12294,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdgeLabels = ptr.Int64(i64) } - case "numEdgeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -12715,7 +12306,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdgeProperties = ptr.Int64(i64) } - case "numEdges": if value != nil { jtv, ok := value.(json.Number) @@ -12728,7 +12318,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdges = ptr.Int64(i64) } - case "numNodeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12741,7 +12330,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodeLabels = ptr.Int64(i64) } - case "numNodeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -12754,7 +12342,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodeProperties = ptr.Int64(i64) } - case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12767,7 +12354,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodes = ptr.Int64(i64) } - case "totalEdgePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -12780,7 +12366,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.TotalEdgePropertyValues = ptr.Int64(i64) } - case "totalNodePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -12793,7 +12378,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.TotalNodePropertyValues = ptr.Int64(i64) } - default: _, _ = key, value @@ -12829,7 +12413,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop if err := awsRestjson1_deserializeDocumentPropertygraphSummary(&sv.GraphSummary, value); err != nil { return err } - case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -12842,7 +12425,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop } sv.LastStatisticsComputationTime = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -12851,7 +12433,6 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12891,7 +12472,6 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Cancelled = ptr.Bool(jtv) } - case "elapsed": if value != nil { jtv, ok := value.(json.Number) @@ -12904,12 +12484,10 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Elapsed = ptr.Int32(int32(i64)) } - case "subqueries": if err := awsRestjson1_deserializeDocumentDocument(&sv.Subqueries, value); err != nil { return err } - case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -12922,7 +12500,6 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Waited = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12962,7 +12539,6 @@ func awsRestjson1_deserializeDocumentQueryLanguageVersion(v **types.QueryLanguag } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12992,13 +12568,7 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13008,7 +12578,6 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13017,7 +12586,6 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13026,15 +12594,11 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13059,13 +12623,7 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13075,7 +12633,6 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13084,7 +12641,6 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13093,15 +12649,11 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13126,13 +12678,7 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13142,7 +12688,6 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13151,7 +12696,6 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13160,15 +12704,11 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13199,7 +12739,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, if err := awsRestjson1_deserializeDocumentClasses(&sv.Classes, value); err != nil { return err } - case "numClasses": if value != nil { jtv, ok := value.(json.Number) @@ -13212,7 +12751,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumClasses = ptr.Int64(i64) } - case "numDistinctPredicates": if value != nil { jtv, ok := value.(json.Number) @@ -13225,7 +12763,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumDistinctPredicates = ptr.Int64(i64) } - case "numDistinctSubjects": if value != nil { jtv, ok := value.(json.Number) @@ -13238,7 +12775,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumDistinctSubjects = ptr.Int64(i64) } - case "numQuads": if value != nil { jtv, ok := value.(json.Number) @@ -13251,17 +12787,14 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumQuads = ptr.Int64(i64) } - case "predicates": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.Predicates, value); err != nil { return err } - case "subjectStructures": if err := awsRestjson1_deserializeDocumentSubjectStructures(&sv.SubjectStructures, value); err != nil { return err } - default: _, _ = key, value @@ -13297,7 +12830,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS if err := awsRestjson1_deserializeDocumentRDFGraphSummary(&sv.GraphSummary, value); err != nil { return err } - case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -13310,7 +12842,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS } sv.LastStatisticsComputationTime = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13319,7 +12850,6 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13349,13 +12879,7 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13365,7 +12889,6 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13374,7 +12897,6 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13383,15 +12905,11 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13426,7 +12944,6 @@ func awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(v **types.RefreshSta } sv.StatisticsId = ptr.String(jtv) } - default: _, _ = key, value @@ -13456,13 +12973,7 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13472,7 +12983,6 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13481,7 +12991,6 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13490,15 +12999,11 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13523,13 +13028,7 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13539,7 +13038,6 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13548,7 +13046,6 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13557,15 +13054,11 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13600,7 +13093,6 @@ func awsRestjson1_deserializeDocumentSparqlData(v **types.SparqlData, value inte } sv.Stmt = ptr.String(jtv) } - default: _, _ = key, value @@ -13644,17 +13136,14 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.CommitTimestampInMillis = ptr.Int64(i64) } - case "data": if err := awsRestjson1_deserializeDocumentSparqlData(&sv.Data, value); err != nil { return err } - case "eventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.EventId, value); err != nil { return err } - case "isLastOp": if value != nil { jtv, ok := value.(bool) @@ -13663,7 +13152,6 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.IsLastOp = ptr.Bool(jtv) } - case "op": if value != nil { jtv, ok := value.(string) @@ -13672,7 +13160,6 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.Op = ptr.String(jtv) } - default: _, _ = key, value @@ -13746,7 +13233,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Active = ptr.Bool(jtv) } - case "autoCompute": if value != nil { jtv, ok := value.(bool) @@ -13755,7 +13241,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AutoCompute = ptr.Bool(jtv) } - case "date": if value != nil { jtv, ok := value.(string) @@ -13768,7 +13253,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Date = ptr.Time(t) } - case "note": if value != nil { jtv, ok := value.(string) @@ -13777,12 +13261,10 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Note = ptr.String(jtv) } - case "signatureInfo": if err := awsRestjson1_deserializeDocumentStatisticsSummary(&sv.SignatureInfo, value); err != nil { return err } - case "statisticsId": if value != nil { jtv, ok := value.(string) @@ -13791,7 +13273,6 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.StatisticsId = ptr.String(jtv) } - default: _, _ = key, value @@ -13821,13 +13302,7 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13837,7 +13312,6 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13846,7 +13320,6 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13855,15 +13328,11 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13902,7 +13371,6 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "predicateCount": if value != nil { jtv, ok := value.(json.Number) @@ -13915,7 +13383,6 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.PredicateCount = ptr.Int32(int32(i64)) } - case "signatureCount": if value != nil { jtv, ok := value.(json.Number) @@ -13928,7 +13395,6 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.SignatureCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13958,13 +13424,7 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -13974,7 +13434,6 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13983,7 +13442,6 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -13992,15 +13450,11 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14111,12 +13565,10 @@ func awsRestjson1_deserializeDocumentSubjectStructure(v **types.SubjectStructure } sv.Count = ptr.Int64(i64) } - case "predicates": if err := awsRestjson1_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } - default: _, _ = key, value @@ -14180,13 +13632,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14196,7 +13642,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -14205,7 +13650,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -14214,15 +13658,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14247,13 +13687,7 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14263,7 +13697,6 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -14272,7 +13705,6 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -14281,15 +13713,11 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14314,13 +13742,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14330,7 +13752,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -14339,7 +13760,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -14348,15 +13768,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14381,13 +13797,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -14397,7 +13807,6 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Code = ptr.String(jtv) } - case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -14406,7 +13815,6 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.DetailedMessage = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -14415,15 +13823,11 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/neptunegraph/deserializers.go b/service/neptunegraph/deserializers.go index 4145bea1691..42c9f643266 100644 --- a/service/neptunegraph/deserializers.go +++ b/service/neptunegraph/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Format = types.Format(jtv) } - case "graphId": if value != nil { jtv, ok := value.(string) @@ -197,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.GraphId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -206,7 +204,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.RoleArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -215,7 +212,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -224,7 +220,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Status = types.ImportTaskStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -233,7 +228,6 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -507,7 +501,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -516,7 +509,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -532,7 +524,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -541,7 +532,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -550,7 +540,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -559,7 +548,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -568,7 +556,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -577,7 +564,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -590,7 +576,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -599,7 +584,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -612,7 +596,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -621,7 +604,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -630,7 +612,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -639,12 +620,10 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -815,7 +794,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -824,7 +802,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -833,7 +810,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -842,7 +818,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Name = ptr.String(jtv) } - case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -858,7 +833,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } } - case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -867,7 +841,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.SourceGraphId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -876,7 +849,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Status = types.SnapshotStatus(jtv) } - default: _, _ = key, value @@ -1044,7 +1016,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Format = types.Format(jtv) } - case "graphId": if value != nil { jtv, ok := value.(string) @@ -1053,12 +1024,10 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.GraphId = ptr.String(jtv) } - case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1067,7 +1036,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.RoleArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -1076,7 +1044,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1085,7 +1052,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Status = types.ImportTaskStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -1094,7 +1060,6 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -1265,12 +1230,10 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.Status = types.PrivateGraphEndpointStatus(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -1279,7 +1242,6 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.VpcEndpointId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1288,7 +1250,6 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1456,7 +1417,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -1465,7 +1425,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -1481,7 +1440,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -1490,7 +1448,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1456,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1508,7 +1464,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -1517,7 +1472,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1526,7 +1480,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -1539,7 +1492,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -1548,7 +1500,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -1561,7 +1512,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -1570,7 +1520,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1579,7 +1528,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1588,12 +1536,10 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1761,7 +1707,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1770,7 +1715,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -1779,7 +1723,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1788,7 +1731,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Name = ptr.String(jtv) } - case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -1804,7 +1746,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } } - case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -1813,7 +1754,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.SourceGraphId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1822,7 +1762,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Status = types.SnapshotStatus(jtv) } - default: _, _ = key, value @@ -1990,12 +1929,10 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.Status = types.PrivateGraphEndpointStatus(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -2004,7 +1941,6 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.VpcEndpointId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2013,7 +1949,6 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -2295,7 +2230,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -2304,7 +2238,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -2320,7 +2253,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -2329,7 +2261,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -2338,7 +2269,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2347,7 +2277,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2356,7 +2285,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2365,7 +2293,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -2378,7 +2305,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -2387,7 +2313,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -2400,7 +2325,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -2409,7 +2333,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2418,7 +2341,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2427,12 +2349,10 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2597,7 +2517,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2606,7 +2525,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2615,7 +2533,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2624,7 +2541,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Name = ptr.String(jtv) } - case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -2640,7 +2556,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } } - case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -2649,7 +2564,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.SourceGraphId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2658,7 +2572,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Status = types.SnapshotStatus(jtv) } - default: _, _ = key, value @@ -2822,7 +2735,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary if err := awsRestjson1_deserializeDocumentGraphDataSummary(&sv.GraphSummary, value); err != nil { return err } - case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -2835,7 +2747,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary } sv.LastStatisticsComputationTime = ptr.Time(t) } - case "version": if value != nil { jtv, ok := value.(string) @@ -2844,7 +2755,6 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3013,7 +2923,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.AttemptNumber = ptr.Int32(int32(i64)) } - case "format": if value != nil { jtv, ok := value.(string) @@ -3022,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Format = types.Format(jtv) } - case "graphId": if value != nil { jtv, ok := value.(string) @@ -3031,17 +2939,14 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.GraphId = ptr.String(jtv) } - case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } - case "importTaskDetails": if err := awsRestjson1_deserializeDocumentImportTaskDetails(&sv.ImportTaskDetails, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3050,7 +2955,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.RoleArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -3059,7 +2963,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3068,7 +2971,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Status = types.ImportTaskStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3077,7 +2979,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.StatusReason = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -3086,7 +2987,6 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -3251,12 +3151,10 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.Status = types.PrivateGraphEndpointStatus(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -3265,7 +3163,6 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.VpcEndpointId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -3274,7 +3171,6 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3446,7 +3342,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Elapsed = ptr.Int32(int32(i64)) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3455,7 +3350,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Id = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -3464,7 +3358,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.QueryString = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -3473,7 +3366,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.State = types.QueryState(jtv) } - case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -3486,7 +3378,6 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Waited = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3644,7 +3535,6 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va if err := awsRestjson1_deserializeDocumentGraphSummaryList(&sv.Graphs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3653,7 +3543,6 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3814,7 +3703,6 @@ func awsRestjson1_deserializeOpDocumentListGraphSnapshotsOutput(v **ListGraphSna if err := awsRestjson1_deserializeDocumentGraphSnapshotSummaryList(&sv.GraphSnapshots, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3823,7 +3711,6 @@ func awsRestjson1_deserializeOpDocumentListGraphSnapshotsOutput(v **ListGraphSna } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3988,12 +3875,10 @@ func awsRestjson1_deserializeOpDocumentListImportTasksOutput(v **ListImportTasks } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentImportTaskSummaryList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -4158,12 +4043,10 @@ func awsRestjson1_deserializeOpDocumentListPrivateGraphEndpointsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } - case "privateGraphEndpoints": if err := awsRestjson1_deserializeDocumentPrivateGraphEndpointSummaryList(&sv.PrivateGraphEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -4324,7 +4207,6 @@ func awsRestjson1_deserializeOpDocumentListQueriesOutput(v **ListQueriesOutput, if err := awsRestjson1_deserializeDocumentQuerySummaryList(&sv.Queries, value); err != nil { return err } - default: _, _ = key, value @@ -4485,7 +4367,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4653,7 +4534,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -4662,7 +4542,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -4678,7 +4557,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -4687,7 +4565,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -4696,7 +4573,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4705,7 +4581,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4589,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4723,7 +4597,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -4736,7 +4609,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -4745,7 +4617,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -4758,7 +4629,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -4767,7 +4637,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4776,7 +4645,6 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4785,12 +4653,10 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4961,7 +4827,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -4970,7 +4835,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -4986,7 +4850,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -4995,7 +4858,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -5004,7 +4866,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5013,7 +4874,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -5022,7 +4882,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4890,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -5044,7 +4902,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -5053,7 +4910,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -5066,7 +4922,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -5075,7 +4930,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5084,7 +4938,6 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5093,12 +4946,10 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -5266,7 +5117,6 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Format = types.Format(jtv) } - case "graphId": if value != nil { jtv, ok := value.(string) @@ -5275,12 +5125,10 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.GraphId = ptr.String(jtv) } - case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5289,7 +5137,6 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.RoleArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -5298,7 +5145,6 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5307,7 +5153,6 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Status = types.ImportTaskStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -5316,7 +5161,6 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -5678,7 +5522,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Arn = ptr.String(jtv) } - case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -5687,7 +5530,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.BuildNumber = ptr.String(jtv) } - case "createTime": if value != nil { switch jtv := value.(type) { @@ -5703,7 +5545,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -5712,7 +5553,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -5721,7 +5561,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5730,7 +5569,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -5739,7 +5577,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5748,7 +5585,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -5761,7 +5597,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -5770,7 +5605,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -5783,7 +5617,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -5792,7 +5625,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5801,7 +5633,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Status = types.GraphStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5810,12 +5641,10 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.StatusReason = ptr.String(jtv) } - case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6133,15 +5962,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6149,15 +5972,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6182,15 +6001,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6198,7 +6011,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6207,15 +6019,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6326,12 +6134,10 @@ func awsRestjson1_deserializeDocumentEdgeStructure(v **types.EdgeStructure, valu } sv.Count = ptr.Int64(i64) } - case "edgeProperties": if err := awsRestjson1_deserializeDocumentEdgeProperties(&sv.EdgeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -6401,32 +6207,26 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary if err := awsRestjson1_deserializeDocumentEdgeLabels(&sv.EdgeLabels, value); err != nil { return err } - case "edgeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.EdgeProperties, value); err != nil { return err } - case "edgeStructures": if err := awsRestjson1_deserializeDocumentEdgeStructures(&sv.EdgeStructures, value); err != nil { return err } - case "nodeLabels": if err := awsRestjson1_deserializeDocumentNodeLabels(&sv.NodeLabels, value); err != nil { return err } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.NodeProperties, value); err != nil { return err } - case "nodeStructures": if err := awsRestjson1_deserializeDocumentNodeStructures(&sv.NodeStructures, value); err != nil { return err } - case "numEdgeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -6439,7 +6239,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdgeLabels = ptr.Int64(i64) } - case "numEdgeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -6452,7 +6251,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdgeProperties = ptr.Int64(i64) } - case "numEdges": if value != nil { jtv, ok := value.(json.Number) @@ -6465,7 +6263,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdges = ptr.Int64(i64) } - case "numNodeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -6478,7 +6275,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodeLabels = ptr.Int64(i64) } - case "numNodeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -6491,7 +6287,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodeProperties = ptr.Int64(i64) } - case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -6504,7 +6299,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodes = ptr.Int64(i64) } - case "totalEdgePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -6517,7 +6311,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.TotalEdgePropertyValues = ptr.Int64(i64) } - case "totalNodePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -6530,7 +6323,6 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.TotalNodePropertyValues = ptr.Int64(i64) } - default: _, _ = key, value @@ -6570,7 +6362,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6370,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6588,7 +6378,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6597,7 +6386,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Name = ptr.String(jtv) } - case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -6613,7 +6401,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } } - case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -6622,7 +6409,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.SourceGraphId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6631,7 +6417,6 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Status = types.SnapshotStatus(jtv) } - default: _, _ = key, value @@ -6705,7 +6490,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Arn = ptr.String(jtv) } - case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -6714,7 +6498,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.DeletionProtection = ptr.Bool(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6723,7 +6506,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6732,7 +6514,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Id = ptr.String(jtv) } - case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6741,7 +6522,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6750,7 +6530,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Name = ptr.String(jtv) } - case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -6763,7 +6542,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } - case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -6772,7 +6550,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.PublicConnectivity = ptr.Bool(jtv) } - case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -6785,7 +6562,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.ReplicaCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6794,7 +6570,6 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Status = types.GraphStatus(jtv) } - default: _, _ = key, value @@ -6912,7 +6687,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.DictionaryEntryCount = ptr.Int64(i64) } - case "errorCount": if value != nil { jtv, ok := value.(json.Number) @@ -6925,7 +6699,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ErrorCount = ptr.Int32(int32(i64)) } - case "errorDetails": if value != nil { jtv, ok := value.(string) @@ -6934,7 +6707,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ErrorDetails = ptr.String(jtv) } - case "progressPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -6947,7 +6719,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ProgressPercentage = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -6963,7 +6734,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } } - case "statementCount": if value != nil { jtv, ok := value.(json.Number) @@ -6976,7 +6746,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.StatementCount = ptr.Int64(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6985,7 +6754,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.Status = ptr.String(jtv) } - case "timeElapsedSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6998,7 +6766,6 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.TimeElapsedSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -7038,7 +6805,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Format = types.Format(jtv) } - case "graphId": if value != nil { jtv, ok := value.(string) @@ -7047,7 +6813,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.GraphId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7056,7 +6821,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.RoleArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -7065,7 +6829,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Source = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7074,7 +6837,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Status = types.ImportTaskStatus(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -7083,7 +6845,6 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -7147,15 +6908,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7163,15 +6918,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7278,7 +7029,6 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.PreserveDefaultVertexLabels = ptr.Bool(jtv) } - case "preserveEdgeIds": if value != nil { jtv, ok := value.(bool) @@ -7287,7 +7037,6 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.PreserveEdgeIds = ptr.Bool(jtv) } - case "s3ExportKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7296,7 +7045,6 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.S3ExportKmsKeyId = ptr.String(jtv) } - case "s3ExportPath": if value != nil { jtv, ok := value.(string) @@ -7305,7 +7053,6 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.S3ExportPath = ptr.String(jtv) } - default: _, _ = key, value @@ -7421,17 +7168,14 @@ func awsRestjson1_deserializeDocumentNodeStructure(v **types.NodeStructure, valu } sv.Count = ptr.Int64(i64) } - case "distinctOutgoingEdgeLabels": if err := awsRestjson1_deserializeDocumentOutgoingEdgeLabels(&sv.DistinctOutgoingEdgeLabels, value); err != nil { return err } - case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } - default: _, _ = key, value @@ -7541,12 +7285,10 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.Status = types.PrivateGraphEndpointStatus(jtv) } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -7555,7 +7297,6 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.VpcEndpointId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7564,7 +7305,6 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7642,7 +7382,6 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Elapsed = ptr.Int32(int32(i64)) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7651,7 +7390,6 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Id = ptr.String(jtv) } - case "queryString": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7398,6 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.QueryString = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7669,7 +7406,6 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.State = types.QueryState(jtv) } - case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -7682,7 +7418,6 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Waited = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7746,15 +7481,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7762,15 +7491,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7795,15 +7520,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7811,7 +7530,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7820,7 +7538,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7829,7 +7546,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7838,7 +7554,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7847,15 +7562,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7952,15 +7663,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7968,15 +7673,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8001,15 +7702,9 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8017,7 +7712,6 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -8026,15 +7720,11 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa } sv.Reason = types.UnprocessableExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8059,15 +7749,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8075,7 +7759,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -8084,15 +7767,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8131,7 +7810,6 @@ func awsRestjson1_deserializeDocumentVectorSearchConfiguration(v **types.VectorS } sv.Dimension = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/networkfirewall/deserializers.go b/service/networkfirewall/deserializers.go index afca41250ab..dfb5c399746 100644 --- a/service/networkfirewall/deserializers.go +++ b/service/networkfirewall/deserializers.go @@ -4888,7 +4888,6 @@ func awsAwsjson10_deserializeDocumentActionDefinition(v **types.ActionDefinition if err := awsAwsjson10_deserializeDocumentPublishMetricAction(&sv.PublishMetricAction, value); err != nil { return err } - default: _, _ = key, value @@ -4928,7 +4927,6 @@ func awsAwsjson10_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressDefinition = ptr.String(jtv) } - default: _, _ = key, value @@ -5002,12 +5000,10 @@ func awsAwsjson10_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.AnalysisDetail = ptr.String(jtv) } - case "IdentifiedRuleIds": if err := awsAwsjson10_deserializeDocumentRuleIdList(&sv.IdentifiedRuleIds, value); err != nil { return err } - case "IdentifiedType": if value != nil { jtv, ok := value.(string) @@ -5016,7 +5012,6 @@ func awsAwsjson10_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.IdentifiedType = types.IdentifiedType(jtv) } - default: _, _ = key, value @@ -5090,7 +5085,6 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.EndpointId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5099,7 +5093,6 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Status = types.AttachmentStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5108,7 +5101,6 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.StatusMessage = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -5117,7 +5109,6 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -5153,7 +5144,6 @@ func awsAwsjson10_deserializeDocumentCapacityUsageSummary(v **types.CapacityUsag if err := awsAwsjson10_deserializeDocumentCIDRSummary(&sv.CIDRs, value); err != nil { return err } - default: _, _ = key, value @@ -5227,7 +5217,6 @@ func awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(v * } sv.RevokedStatusAction = types.RevocationCheckAction(jtv) } - case "UnknownStatusAction": if value != nil { jtv, ok := value.(string) @@ -5236,7 +5225,6 @@ func awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(v * } sv.UnknownStatusAction = types.RevocationCheckAction(jtv) } - default: _, _ = key, value @@ -5280,12 +5268,10 @@ func awsAwsjson10_deserializeDocumentCIDRSummary(v **types.CIDRSummary, value in } sv.AvailableCIDRCount = ptr.Int32(int32(i64)) } - case "IPSetReferences": if err := awsAwsjson10_deserializeDocumentIPSetMetadataMap(&sv.IPSetReferences, value); err != nil { return err } - case "UtilizedCIDRCount": if value != nil { jtv, ok := value.(json.Number) @@ -5298,7 +5284,6 @@ func awsAwsjson10_deserializeDocumentCIDRSummary(v **types.CIDRSummary, value in } sv.UtilizedCIDRCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5334,7 +5319,6 @@ func awsAwsjson10_deserializeDocumentCustomAction(v **types.CustomAction, value if err := awsAwsjson10_deserializeDocumentActionDefinition(&sv.ActionDefinition, value); err != nil { return err } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -5343,7 +5327,6 @@ func awsAwsjson10_deserializeDocumentCustomAction(v **types.CustomAction, value } sv.ActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -5417,7 +5400,6 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5491,7 +5473,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KeyId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5500,7 +5481,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -5540,7 +5520,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.DeleteProtection = jtv } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5549,12 +5528,10 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.Description = ptr.String(jtv) } - case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -5563,7 +5540,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallArn = ptr.String(jtv) } - case "FirewallId": if value != nil { jtv, ok := value.(string) @@ -5572,7 +5548,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallId = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -5581,7 +5556,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallName = ptr.String(jtv) } - case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5590,7 +5564,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallPolicyArn = ptr.String(jtv) } - case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -5599,7 +5572,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallPolicyChangeProtection = jtv } - case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -5608,17 +5580,14 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.SubnetChangeProtection = jtv } - case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5627,7 +5596,6 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -5667,7 +5635,6 @@ func awsAwsjson10_deserializeDocumentFirewallMetadata(v **types.FirewallMetadata } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -5676,7 +5643,6 @@ func awsAwsjson10_deserializeDocumentFirewallMetadata(v **types.FirewallMetadata } sv.FirewallName = ptr.String(jtv) } - default: _, _ = key, value @@ -5746,42 +5712,34 @@ func awsAwsjson10_deserializeDocumentFirewallPolicy(v **types.FirewallPolicy, va if err := awsAwsjson10_deserializeDocumentPolicyVariables(&sv.PolicyVariables, value); err != nil { return err } - case "StatefulDefaultActions": if err := awsAwsjson10_deserializeDocumentStatefulActions(&sv.StatefulDefaultActions, value); err != nil { return err } - case "StatefulEngineOptions": if err := awsAwsjson10_deserializeDocumentStatefulEngineOptions(&sv.StatefulEngineOptions, value); err != nil { return err } - case "StatefulRuleGroupReferences": if err := awsAwsjson10_deserializeDocumentStatefulRuleGroupReferences(&sv.StatefulRuleGroupReferences, value); err != nil { return err } - case "StatelessCustomActions": if err := awsAwsjson10_deserializeDocumentCustomActions(&sv.StatelessCustomActions, value); err != nil { return err } - case "StatelessDefaultActions": if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.StatelessDefaultActions, value); err != nil { return err } - case "StatelessFragmentDefaultActions": if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } - case "StatelessRuleGroupReferences": if err := awsAwsjson10_deserializeDocumentStatelessRuleGroupReferences(&sv.StatelessRuleGroupReferences, value); err != nil { return err } - case "TLSInspectionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5790,7 +5748,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicy(v **types.FirewallPolicy, va } sv.TLSInspectionConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5830,7 +5787,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyMetadata(v **types.FirewallPo } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5839,7 +5795,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyMetadata(v **types.FirewallPo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5883,7 +5838,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.ConsumedStatefulRuleCapacity = ptr.Int32(int32(i64)) } - case "ConsumedStatelessRuleCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -5896,7 +5850,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.ConsumedStatelessRuleCapacity = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5905,12 +5858,10 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.Description = ptr.String(jtv) } - case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5919,7 +5870,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyArn = ptr.String(jtv) } - case "FirewallPolicyId": if value != nil { jtv, ok := value.(string) @@ -5928,7 +5878,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyId = ptr.String(jtv) } - case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -5937,7 +5886,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyName = ptr.String(jtv) } - case "FirewallPolicyStatus": if value != nil { jtv, ok := value.(string) @@ -5946,7 +5894,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyStatus = types.ResourceStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5962,7 +5909,6 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } } - case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -5975,12 +5921,10 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6050,7 +5994,6 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va if err := awsAwsjson10_deserializeDocumentCapacityUsageSummary(&sv.CapacityUsageSummary, value); err != nil { return err } - case "ConfigurationSyncStateSummary": if value != nil { jtv, ok := value.(string) @@ -6059,7 +6002,6 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va } sv.ConfigurationSyncStateSummary = types.ConfigurationSyncState(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6068,12 +6010,10 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va } sv.Status = types.FirewallStatusValue(jtv) } - case "SyncStates": if err := awsAwsjson10_deserializeDocumentSyncStates(&sv.SyncStates, value); err != nil { return err } - default: _, _ = key, value @@ -6153,7 +6093,6 @@ func awsAwsjson10_deserializeDocumentFlowTimeouts(v **types.FlowTimeouts, value } sv.TcpIdleTimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6193,7 +6132,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Destination = ptr.String(jtv) } - case "DestinationPort": if value != nil { jtv, ok := value.(string) @@ -6202,7 +6140,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.DestinationPort = ptr.String(jtv) } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -6211,7 +6148,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Direction = types.StatefulRuleDirection(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -6220,7 +6156,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Protocol = types.StatefulRuleProtocol(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -6229,7 +6164,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Source = ptr.String(jtv) } - case "SourcePort": if value != nil { jtv, ok := value.(string) @@ -6238,7 +6172,6 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.SourcePort = ptr.String(jtv) } - default: _, _ = key, value @@ -6268,15 +6201,9 @@ func awsAwsjson10_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6284,15 +6211,11 @@ func awsAwsjson10_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6317,15 +6240,9 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6333,15 +6250,11 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6366,15 +6279,9 @@ func awsAwsjson10_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6382,15 +6289,11 @@ func awsAwsjson10_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6415,15 +6318,9 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6431,15 +6328,11 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6464,15 +6357,9 @@ func awsAwsjson10_deserializeDocumentInvalidResourcePolicyException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6480,15 +6367,11 @@ func awsAwsjson10_deserializeDocumentInvalidResourcePolicyException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6513,15 +6396,9 @@ func awsAwsjson10_deserializeDocumentInvalidTokenException(v **types.InvalidToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6529,15 +6406,11 @@ func awsAwsjson10_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6568,7 +6441,6 @@ func awsAwsjson10_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson10_deserializeDocumentVariableDefinitionList(&sv.Definition, value); err != nil { return err } - default: _, _ = key, value @@ -6612,7 +6484,6 @@ func awsAwsjson10_deserializeDocumentIPSetMetadata(v **types.IPSetMetadata, valu } sv.ResolvedCIDRCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6687,7 +6558,6 @@ func awsAwsjson10_deserializeDocumentIPSetReference(v **types.IPSetReference, va } sv.ReferenceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6787,15 +6657,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6803,15 +6667,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6842,7 +6702,6 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati if err := awsAwsjson10_deserializeDocumentLogDestinationMap(&sv.LogDestination, value); err != nil { return err } - case "LogDestinationType": if value != nil { jtv, ok := value.(string) @@ -6851,7 +6710,6 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati } sv.LogDestinationType = types.LogDestinationType(jtv) } - case "LogType": if value != nil { jtv, ok := value.(string) @@ -6860,7 +6718,6 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati } sv.LogType = types.LogType(jtv) } - default: _, _ = key, value @@ -6960,15 +6817,9 @@ func awsAwsjson10_deserializeDocumentLogDestinationPermissionException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6976,15 +6827,11 @@ func awsAwsjson10_deserializeDocumentLogDestinationPermissionException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7015,7 +6862,6 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson10_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -7051,32 +6897,26 @@ func awsAwsjson10_deserializeDocumentMatchAttributes(v **types.MatchAttributes, if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.DestinationPorts, value); err != nil { return err } - case "Destinations": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Destinations, value); err != nil { return err } - case "Protocols": if err := awsAwsjson10_deserializeDocumentProtocolNumbers(&sv.Protocols, value); err != nil { return err } - case "SourcePorts": if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.SourcePorts, value); err != nil { return err } - case "Sources": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Sources, value); err != nil { return err } - case "TCPFlags": if err := awsAwsjson10_deserializeDocumentTCPFlags(&sv.TCPFlags, value); err != nil { return err } - default: _, _ = key, value @@ -7116,7 +6956,6 @@ func awsAwsjson10_deserializeDocumentPerObjectStatus(v **types.PerObjectStatus, } sv.SyncStatus = types.PerObjectSyncStatus(jtv) } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -7125,7 +6964,6 @@ func awsAwsjson10_deserializeDocumentPerObjectStatus(v **types.PerObjectStatus, } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7161,7 +6999,6 @@ func awsAwsjson10_deserializeDocumentPolicyVariables(v **types.PolicyVariables, if err := awsAwsjson10_deserializeDocumentIPSets(&sv.RuleVariables, value); err != nil { return err } - default: _, _ = key, value @@ -7205,7 +7042,6 @@ func awsAwsjson10_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.FromPort = int32(i64) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -7218,7 +7054,6 @@ func awsAwsjson10_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.ToPort = int32(i64) } - default: _, _ = key, value @@ -7288,7 +7123,6 @@ func awsAwsjson10_deserializeDocumentPortSet(v **types.PortSet, value interface{ if err := awsAwsjson10_deserializeDocumentVariableDefinitionList(&sv.Definition, value); err != nil { return err } - default: _, _ = key, value @@ -7399,7 +7233,6 @@ func awsAwsjson10_deserializeDocumentPublishMetricAction(v **types.PublishMetric if err := awsAwsjson10_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -7435,7 +7268,6 @@ func awsAwsjson10_deserializeDocumentReferenceSets(v **types.ReferenceSets, valu if err := awsAwsjson10_deserializeDocumentIPSetReferenceMap(&sv.IPSetReferences, value); err != nil { return err } - default: _, _ = key, value @@ -7465,15 +7297,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7481,15 +7307,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7514,15 +7336,9 @@ func awsAwsjson10_deserializeDocumentResourceOwnerCheckException(v **types.Resou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7530,15 +7346,11 @@ func awsAwsjson10_deserializeDocumentResourceOwnerCheckException(v **types.Resou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7569,12 +7381,10 @@ func awsAwsjson10_deserializeDocumentRuleDefinition(v **types.RuleDefinition, va if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.Actions, value); err != nil { return err } - case "MatchAttributes": if err := awsAwsjson10_deserializeDocumentMatchAttributes(&sv.MatchAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -7610,22 +7420,18 @@ func awsAwsjson10_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf if err := awsAwsjson10_deserializeDocumentReferenceSets(&sv.ReferenceSets, value); err != nil { return err } - case "RulesSource": if err := awsAwsjson10_deserializeDocumentRulesSource(&sv.RulesSource, value); err != nil { return err } - case "RuleVariables": if err := awsAwsjson10_deserializeDocumentRuleVariables(&sv.RuleVariables, value); err != nil { return err } - case "StatefulRuleOptions": if err := awsAwsjson10_deserializeDocumentStatefulRuleOptions(&sv.StatefulRuleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -7665,7 +7471,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupMetadata(v **types.RuleGroupMetada } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7674,7 +7479,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupMetadata(v **types.RuleGroupMetada } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7710,7 +7514,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon if err := awsAwsjson10_deserializeDocumentAnalysisResultList(&sv.AnalysisResults, value); err != nil { return err } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -7723,7 +7526,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Capacity = ptr.Int32(int32(i64)) } - case "ConsumedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -7736,7 +7538,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.ConsumedCapacity = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7745,12 +7546,10 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Description = ptr.String(jtv) } - case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7766,7 +7565,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } } - case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -7779,7 +7577,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } - case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -7788,7 +7585,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupArn = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -7797,7 +7593,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupId = ptr.String(jtv) } - case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -7806,7 +7601,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupName = ptr.String(jtv) } - case "RuleGroupStatus": if value != nil { jtv, ok := value.(string) @@ -7815,7 +7609,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupStatus = types.ResourceStatus(jtv) } - case "SnsTopic": if value != nil { jtv, ok := value.(string) @@ -7824,17 +7617,14 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.SnsTopic = ptr.String(jtv) } - case "SourceMetadata": if err := awsAwsjson10_deserializeDocumentSourceMetadata(&sv.SourceMetadata, value); err != nil { return err } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7843,7 +7633,6 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Type = types.RuleGroupType(jtv) } - default: _, _ = key, value @@ -7953,12 +7742,10 @@ func awsAwsjson10_deserializeDocumentRuleOption(v **types.RuleOption, value inte } sv.Keyword = ptr.String(jtv) } - case "Settings": if err := awsAwsjson10_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -8028,7 +7815,6 @@ func awsAwsjson10_deserializeDocumentRulesSource(v **types.RulesSource, value in if err := awsAwsjson10_deserializeDocumentRulesSourceList(&sv.RulesSourceList, value); err != nil { return err } - case "RulesString": if value != nil { jtv, ok := value.(string) @@ -8037,17 +7823,14 @@ func awsAwsjson10_deserializeDocumentRulesSource(v **types.RulesSource, value in } sv.RulesString = ptr.String(jtv) } - case "StatefulRules": if err := awsAwsjson10_deserializeDocumentStatefulRules(&sv.StatefulRules, value); err != nil { return err } - case "StatelessRulesAndCustomActions": if err := awsAwsjson10_deserializeDocumentStatelessRulesAndCustomActions(&sv.StatelessRulesAndCustomActions, value); err != nil { return err } - default: _, _ = key, value @@ -8087,17 +7870,14 @@ func awsAwsjson10_deserializeDocumentRulesSourceList(v **types.RulesSourceList, } sv.GeneratedRulesType = types.GeneratedRulesType(jtv) } - case "Targets": if err := awsAwsjson10_deserializeDocumentRuleTargets(&sv.Targets, value); err != nil { return err } - case "TargetTypes": if err := awsAwsjson10_deserializeDocumentTargetTypes(&sv.TargetTypes, value); err != nil { return err } - default: _, _ = key, value @@ -8169,12 +7949,10 @@ func awsAwsjson10_deserializeDocumentRuleVariables(v **types.RuleVariables, valu if err := awsAwsjson10_deserializeDocumentIPSets(&sv.IPSets, value); err != nil { return err } - case "PortSets": if err := awsAwsjson10_deserializeDocumentPortSets(&sv.PortSets, value); err != nil { return err } - default: _, _ = key, value @@ -8214,7 +7992,6 @@ func awsAwsjson10_deserializeDocumentServerCertificate(v **types.ServerCertifica } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8254,22 +8031,18 @@ func awsAwsjson10_deserializeDocumentServerCertificateConfiguration(v **types.Se } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CheckCertificateRevocationStatus": if err := awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(&sv.CheckCertificateRevocationStatus, value); err != nil { return err } - case "Scopes": if err := awsAwsjson10_deserializeDocumentServerCertificateScopes(&sv.Scopes, value); err != nil { return err } - case "ServerCertificates": if err := awsAwsjson10_deserializeDocumentServerCertificates(&sv.ServerCertificates, value); err != nil { return err } - default: _, _ = key, value @@ -8373,27 +8146,22 @@ func awsAwsjson10_deserializeDocumentServerCertificateScope(v **types.ServerCert if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.DestinationPorts, value); err != nil { return err } - case "Destinations": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Destinations, value); err != nil { return err } - case "Protocols": if err := awsAwsjson10_deserializeDocumentProtocolNumbers(&sv.Protocols, value); err != nil { return err } - case "SourcePorts": if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.SourcePorts, value); err != nil { return err } - case "Sources": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -8503,7 +8271,6 @@ func awsAwsjson10_deserializeDocumentSourceMetadata(v **types.SourceMetadata, va } sv.SourceArn = ptr.String(jtv) } - case "SourceUpdateToken": if value != nil { jtv, ok := value.(string) @@ -8512,7 +8279,6 @@ func awsAwsjson10_deserializeDocumentSourceMetadata(v **types.SourceMetadata, va } sv.SourceUpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8584,7 +8350,6 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng if err := awsAwsjson10_deserializeDocumentFlowTimeouts(&sv.FlowTimeouts, value); err != nil { return err } - case "RuleOrder": if value != nil { jtv, ok := value.(string) @@ -8593,7 +8358,6 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.RuleOrder = types.RuleOrder(jtv) } - case "StreamExceptionPolicy": if value != nil { jtv, ok := value.(string) @@ -8602,7 +8366,6 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.StreamExceptionPolicy = types.StreamExceptionPolicy(jtv) } - default: _, _ = key, value @@ -8642,17 +8405,14 @@ func awsAwsjson10_deserializeDocumentStatefulRule(v **types.StatefulRule, value } sv.Action = types.StatefulAction(jtv) } - case "Header": if err := awsAwsjson10_deserializeDocumentHeader(&sv.Header, value); err != nil { return err } - case "RuleOptions": if err := awsAwsjson10_deserializeDocumentRuleOptions(&sv.RuleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -8692,7 +8452,6 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupOverride(v **types.Statefu } sv.Action = types.OverrideAction(jtv) } - default: _, _ = key, value @@ -8728,7 +8487,6 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef if err := awsAwsjson10_deserializeDocumentStatefulRuleGroupOverride(&sv.Override, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -8741,7 +8499,6 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef } sv.Priority = ptr.Int32(int32(i64)) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8750,7 +8507,6 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8824,7 +8580,6 @@ func awsAwsjson10_deserializeDocumentStatefulRuleOptions(v **types.StatefulRuleO } sv.RuleOrder = types.RuleOrder(jtv) } - default: _, _ = key, value @@ -8938,12 +8693,10 @@ func awsAwsjson10_deserializeDocumentStatelessRule(v **types.StatelessRule, valu } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleDefinition": if err := awsAwsjson10_deserializeDocumentRuleDefinition(&sv.RuleDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -8987,7 +8740,6 @@ func awsAwsjson10_deserializeDocumentStatelessRuleGroupReference(v **types.State } sv.Priority = ptr.Int32(int32(i64)) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8996,7 +8748,6 @@ func awsAwsjson10_deserializeDocumentStatelessRuleGroupReference(v **types.State } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9100,12 +8851,10 @@ func awsAwsjson10_deserializeDocumentStatelessRulesAndCustomActions(v **types.St if err := awsAwsjson10_deserializeDocumentCustomActions(&sv.CustomActions, value); err != nil { return err } - case "StatelessRules": if err := awsAwsjson10_deserializeDocumentStatelessRules(&sv.StatelessRules, value); err != nil { return err } - default: _, _ = key, value @@ -9145,7 +8894,6 @@ func awsAwsjson10_deserializeDocumentSubnetMapping(v **types.SubnetMapping, valu } sv.IPAddressType = types.IPAddressType(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -9154,7 +8902,6 @@ func awsAwsjson10_deserializeDocumentSubnetMapping(v **types.SubnetMapping, valu } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -9224,12 +8971,10 @@ func awsAwsjson10_deserializeDocumentSyncState(v **types.SyncState, value interf if err := awsAwsjson10_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - case "Config": if err := awsAwsjson10_deserializeDocumentSyncStateConfig(&sv.Config, value); err != nil { return err } - default: _, _ = key, value @@ -9339,7 +9084,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9348,7 +9092,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9454,12 +9197,10 @@ func awsAwsjson10_deserializeDocumentTCPFlagField(v **types.TCPFlagField, value if err := awsAwsjson10_deserializeDocumentFlags(&sv.Flags, value); err != nil { return err } - case "Masks": if err := awsAwsjson10_deserializeDocumentFlags(&sv.Masks, value); err != nil { return err } - default: _, _ = key, value @@ -9523,15 +9264,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9539,15 +9274,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9582,7 +9313,6 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.CertificateArn = ptr.String(jtv) } - case "CertificateSerial": if value != nil { jtv, ok := value.(string) @@ -9591,7 +9321,6 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.CertificateSerial = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9600,7 +9329,6 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9609,7 +9337,6 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9645,7 +9372,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfiguration(v **types.TLSIns if err := awsAwsjson10_deserializeDocumentServerCertificateConfigurations(&sv.ServerCertificateConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -9685,7 +9411,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationMetadata(v **type } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9694,7 +9419,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationMetadata(v **type } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9730,12 +9454,10 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type if err := awsAwsjson10_deserializeDocumentTlsCertificateData(&sv.CertificateAuthority, value); err != nil { return err } - case "Certificates": if err := awsAwsjson10_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9744,12 +9466,10 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.Description = ptr.String(jtv) } - case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9765,7 +9485,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } } - case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -9778,12 +9497,10 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TLSInspectionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9792,7 +9509,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationArn = ptr.String(jtv) } - case "TLSInspectionConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9801,7 +9517,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationId = ptr.String(jtv) } - case "TLSInspectionConfigurationName": if value != nil { jtv, ok := value.(string) @@ -9810,7 +9525,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationName = ptr.String(jtv) } - case "TLSInspectionConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -9819,7 +9533,6 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationStatus = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -9883,15 +9596,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9899,15 +9606,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9978,7 +9681,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -9987,7 +9689,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallName = ptr.String(jtv) } - case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -9996,7 +9697,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallPolicyArn = ptr.String(jtv) } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10005,7 +9705,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10045,7 +9744,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -10054,12 +9752,10 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.FirewallName = ptr.String(jtv) } - case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10068,7 +9764,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10104,12 +9799,10 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallOutput(v **CreateFirewallOu if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } - case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } - default: _, _ = key, value @@ -10145,7 +9838,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallPolicyOutput(v **CreateFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10154,7 +9846,6 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallPolicyOutput(v **CreateFire } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10190,7 +9881,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10199,7 +9889,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10235,7 +9924,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10244,7 +9932,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTLSInspectionConfigurationOutput(v } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10280,12 +9967,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteFirewallOutput(v **DeleteFirewallOu if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } - case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } - default: _, _ = key, value @@ -10321,7 +10006,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteFirewallPolicyOutput(v **DeleteFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10388,7 +10072,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10424,7 +10107,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10460,12 +10142,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallOutput(v **DescribeFirewa if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } - case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10474,7 +10154,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallOutput(v **DescribeFirewa } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10510,12 +10189,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallPolicyOutput(v **Describe if err := awsAwsjson10_deserializeDocumentFirewallPolicy(&sv.FirewallPolicy, value); err != nil { return err } - case "FirewallPolicyResponse": if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10201,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallPolicyOutput(v **Describe } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10564,12 +10240,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeLoggingConfigurationOutput(v **De } sv.FirewallArn = ptr.String(jtv) } - case "LoggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10609,7 +10283,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -10653,7 +10326,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Capacity = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10662,7 +10334,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10678,7 +10349,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } } - case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -10687,7 +10357,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.RuleGroupArn = ptr.String(jtv) } - case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -10696,12 +10365,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.RuleGroupName = ptr.String(jtv) } - case "StatefulRuleOptions": if err := awsAwsjson10_deserializeDocumentStatefulRuleOptions(&sv.StatefulRuleOptions, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10710,7 +10377,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Type = types.RuleGroupType(jtv) } - default: _, _ = key, value @@ -10746,12 +10412,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupOutput(v **DescribeRuleG if err := awsAwsjson10_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - case "RuleGroupResponse": if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10760,7 +10424,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupOutput(v **DescribeRuleG } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10796,12 +10459,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeTLSInspectionConfigurationOutput( if err := awsAwsjson10_deserializeDocumentTLSInspectionConfiguration(&sv.TLSInspectionConfiguration, value); err != nil { return err } - case "TLSInspectionConfigurationResponse": if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10810,7 +10471,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeTLSInspectionConfigurationOutput( } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10850,7 +10510,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -10859,12 +10518,10 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.FirewallName = ptr.String(jtv) } - case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10873,7 +10530,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10909,7 +10565,6 @@ func awsAwsjson10_deserializeOpDocumentListFirewallPoliciesOutput(v **ListFirewa if err := awsAwsjson10_deserializeDocumentFirewallPolicies(&sv.FirewallPolicies, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10918,7 +10573,6 @@ func awsAwsjson10_deserializeOpDocumentListFirewallPoliciesOutput(v **ListFirewa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10954,7 +10608,6 @@ func awsAwsjson10_deserializeOpDocumentListFirewallsOutput(v **ListFirewallsOutp if err := awsAwsjson10_deserializeDocumentFirewalls(&sv.Firewalls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10963,7 +10616,6 @@ func awsAwsjson10_deserializeOpDocumentListFirewallsOutput(v **ListFirewallsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11003,12 +10655,10 @@ func awsAwsjson10_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextToken = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson10_deserializeDocumentRuleGroups(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -11048,12 +10698,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11093,12 +10741,10 @@ func awsAwsjson10_deserializeOpDocumentListTLSInspectionConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "TLSInspectionConfigurations": if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurations(&sv.TLSInspectionConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -11231,7 +10877,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.DeleteProtection = jtv } - case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -11240,7 +10885,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11249,7 +10893,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.FirewallName = ptr.String(jtv) } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11258,7 +10901,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11298,7 +10940,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.Description = ptr.String(jtv) } - case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -11307,7 +10948,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11316,7 +10956,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.FirewallName = ptr.String(jtv) } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11325,7 +10964,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11361,7 +10999,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -11370,7 +11007,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11379,7 +11015,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.FirewallName = ptr.String(jtv) } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11388,7 +11023,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11428,7 +11062,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11437,7 +11070,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallName = ptr.String(jtv) } - case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -11446,7 +11078,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallPolicyChangeProtection = jtv } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11455,7 +11086,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11491,7 +11121,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyOutput(v **UpdateFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11500,7 +11129,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyOutput(v **UpdateFire } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11540,7 +11168,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11549,12 +11176,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.FirewallName = ptr.String(jtv) } - case "LoggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11590,7 +11215,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11599,7 +11223,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11639,7 +11262,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.FirewallArn = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11648,7 +11270,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.FirewallName = ptr.String(jtv) } - case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -11657,7 +11278,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.SubnetChangeProtection = jtv } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11666,7 +11286,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11702,7 +11321,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } - case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11711,7 +11329,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTLSInspectionConfigurationOutput(v } sv.UpdateToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index bb5d54fa4bb..ef80a44d7b5 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentAcceptAttachmentOutput(v **AcceptAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - default: _, _ = key, value @@ -357,7 +356,6 @@ func awsRestjson1_deserializeOpDocumentAssociateConnectPeerOutput(v **AssociateC if err := awsRestjson1_deserializeDocumentConnectPeerAssociation(&sv.ConnectPeerAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -527,7 +525,6 @@ func awsRestjson1_deserializeOpDocumentAssociateCustomerGatewayOutput(v **Associ if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociation(&sv.CustomerGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -697,7 +694,6 @@ func awsRestjson1_deserializeOpDocumentAssociateLinkOutput(v **AssociateLinkOutp if err := awsRestjson1_deserializeDocumentLinkAssociation(&sv.LinkAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -867,7 +863,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTransitGatewayConnectPeerOutput( if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(&sv.TransitGatewayConnectPeerAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1034,7 +1029,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectAttachmentOutput(v **CreateC if err := awsRestjson1_deserializeDocumentConnectAttachment(&sv.ConnectAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -1201,7 +1195,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -1368,7 +1361,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectPeerOutput(v **CreateConnect if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } - default: _, _ = key, value @@ -1538,7 +1530,6 @@ func awsRestjson1_deserializeOpDocumentCreateCoreNetworkOutput(v **CreateCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -1708,7 +1699,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceOutput(v **CreateDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -1875,7 +1865,6 @@ func awsRestjson1_deserializeOpDocumentCreateGlobalNetworkOutput(v **CreateGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -2045,7 +2034,6 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } - default: _, _ = key, value @@ -2215,7 +2203,6 @@ func awsRestjson1_deserializeOpDocumentCreateSiteOutput(v **CreateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -2382,7 +2369,6 @@ func awsRestjson1_deserializeOpDocumentCreateSiteToSiteVpnAttachmentOutput(v **C if err := awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(&sv.SiteToSiteVpnAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -2549,7 +2535,6 @@ func awsRestjson1_deserializeOpDocumentCreateTransitGatewayPeeringOutput(v **Cre if err := awsRestjson1_deserializeDocumentTransitGatewayPeering(&sv.TransitGatewayPeering, value); err != nil { return err } - default: _, _ = key, value @@ -2716,7 +2701,6 @@ func awsRestjson1_deserializeOpDocumentCreateTransitGatewayRouteTableAttachmentO if err := awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(&sv.TransitGatewayRouteTableAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -2883,7 +2867,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcAttachmentOutput(v **CreateVpcAt if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -3050,7 +3033,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAttachmentOutput(v **DeleteAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - default: _, _ = key, value @@ -3217,7 +3199,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -3384,7 +3365,6 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectPeerOutput(v **DeleteConnect if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } - default: _, _ = key, value @@ -3551,7 +3531,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCoreNetworkOutput(v **DeleteCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -3718,7 +3697,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCoreNetworkPolicyVersionOutput(v ** if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -3885,7 +3863,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDeviceOutput(v **DeleteDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -4052,7 +4029,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGlobalNetworkOutput(v **DeleteGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -4219,7 +4195,6 @@ func awsRestjson1_deserializeOpDocumentDeleteLinkOutput(v **DeleteLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } - default: _, _ = key, value @@ -4386,7 +4361,6 @@ func awsRestjson1_deserializeOpDocumentDeletePeeringOutput(v **DeletePeeringOutp if err := awsRestjson1_deserializeDocumentPeering(&sv.Peering, value); err != nil { return err } - default: _, _ = key, value @@ -4653,7 +4627,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSiteOutput(v **DeleteSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -4820,7 +4793,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterTransitGatewayOutput(v **Deregi if err := awsRestjson1_deserializeDocumentTransitGatewayRegistration(&sv.TransitGatewayRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -4984,7 +4956,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalNetworksOutput(v **Describe if err := awsRestjson1_deserializeDocumentGlobalNetworkList(&sv.GlobalNetworks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4993,7 +4964,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalNetworksOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5160,7 +5130,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateConnectPeerOutput(v **Disasso if err := awsRestjson1_deserializeDocumentConnectPeerAssociation(&sv.ConnectPeerAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5327,7 +5296,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateCustomerGatewayOutput(v **Dis if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociation(&sv.CustomerGatewayAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5494,7 +5462,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateLinkOutput(v **DisassociateLi if err := awsRestjson1_deserializeDocumentLinkAssociation(&sv.LinkAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5661,7 +5628,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateTransitGatewayConnectPeerOutp if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(&sv.TransitGatewayConnectPeerAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -5928,7 +5894,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectAttachmentOutput(v **GetConnect if err := awsRestjson1_deserializeDocumentConnectAttachment(&sv.ConnectAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -6092,7 +6057,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu if err := awsRestjson1_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6101,7 +6065,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6265,7 +6228,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerOutput(v **GetConnectPeerOu if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } - default: _, _ = key, value @@ -6432,7 +6394,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerAssociationsOutput(v **GetC if err := awsRestjson1_deserializeDocumentConnectPeerAssociationList(&sv.ConnectPeerAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6441,7 +6402,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerAssociationsOutput(v **GetC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6605,7 +6565,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkOutput(v **GetCoreNetworkOu if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -6769,7 +6728,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeEventsOutput(v **GetC if err := awsRestjson1_deserializeDocumentCoreNetworkChangeEventList(&sv.CoreNetworkChangeEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6778,7 +6736,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeEventsOutput(v **GetC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6942,7 +6899,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeSetOutput(v **GetCore if err := awsRestjson1_deserializeDocumentCoreNetworkChangeList(&sv.CoreNetworkChanges, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6951,7 +6907,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeSetOutput(v **GetCore } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7115,7 +7070,6 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkPolicyOutput(v **GetCoreNet if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -7282,7 +7236,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomerGatewayAssociationsOutput(v ** if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociationList(&sv.CustomerGatewayAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7291,7 +7244,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomerGatewayAssociationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7455,7 +7407,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicesOutput(v **GetDevicesOutput, va if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7464,7 +7415,6 @@ func awsRestjson1_deserializeOpDocumentGetDevicesOutput(v **GetDevicesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7628,7 +7578,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkAssociationsOutput(v **GetLinkAsso if err := awsRestjson1_deserializeDocumentLinkAssociationList(&sv.LinkAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7637,7 +7586,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkAssociationsOutput(v **GetLinkAsso } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7801,7 +7749,6 @@ func awsRestjson1_deserializeOpDocumentGetLinksOutput(v **GetLinksOutput, value if err := awsRestjson1_deserializeDocumentLinkList(&sv.Links, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7810,7 +7757,6 @@ func awsRestjson1_deserializeOpDocumentGetLinksOutput(v **GetLinksOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7971,7 +7917,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceCountsOutput(v **GetNet if err := awsRestjson1_deserializeDocumentNetworkResourceCountList(&sv.NetworkResourceCounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7980,7 +7925,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceCountsOutput(v **GetNet } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8148,12 +8092,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceRelationshipsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "Relationships": if err := awsRestjson1_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } - default: _, _ = key, value @@ -8317,7 +8259,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourcesOutput(v **GetNetworkR if err := awsRestjson1_deserializeDocumentNetworkResourceList(&sv.NetworkResources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8326,7 +8267,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourcesOutput(v **GetNetworkR } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8490,12 +8430,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout if err := awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(&sv.CoreNetworkSegmentEdge, value); err != nil { return err } - case "NetworkRoutes": if err := awsRestjson1_deserializeDocumentNetworkRouteList(&sv.NetworkRoutes, value); err != nil { return err } - case "RouteTableArn": if value != nil { jtv, ok := value.(string) @@ -8504,7 +8442,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } sv.RouteTableArn = ptr.String(jtv) } - case "RouteTableTimestamp": if value != nil { switch jtv := value.(type) { @@ -8520,7 +8457,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } } - case "RouteTableType": if value != nil { jtv, ok := value.(string) @@ -8529,7 +8465,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } sv.RouteTableType = types.RouteTableType(jtv) } - default: _, _ = key, value @@ -8693,7 +8628,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkTelemetryOutput(v **GetNetworkT if err := awsRestjson1_deserializeDocumentNetworkTelemetryList(&sv.NetworkTelemetry, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8702,7 +8636,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkTelemetryOutput(v **GetNetworkT } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8867,7 +8800,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyDocument = ptr.String(jtv) } - default: _, _ = key, value @@ -9031,7 +8963,6 @@ func awsRestjson1_deserializeOpDocumentGetRouteAnalysisOutput(v **GetRouteAnalys if err := awsRestjson1_deserializeDocumentRouteAnalysis(&sv.RouteAnalysis, value); err != nil { return err } - default: _, _ = key, value @@ -9199,12 +9130,10 @@ func awsRestjson1_deserializeOpDocumentGetSitesOutput(v **GetSitesOutput, value } sv.NextToken = ptr.String(jtv) } - case "Sites": if err := awsRestjson1_deserializeDocumentSiteList(&sv.Sites, value); err != nil { return err } - default: _, _ = key, value @@ -9368,7 +9297,6 @@ func awsRestjson1_deserializeOpDocumentGetSiteToSiteVpnAttachmentOutput(v **GetS if err := awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(&sv.SiteToSiteVpnAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -9539,12 +9467,10 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayConnectPeerAssociationsO } sv.NextToken = ptr.String(jtv) } - case "TransitGatewayConnectPeerAssociations": if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociationList(&sv.TransitGatewayConnectPeerAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -9708,7 +9634,6 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayPeeringOutput(v **GetTra if err := awsRestjson1_deserializeDocumentTransitGatewayPeering(&sv.TransitGatewayPeering, value); err != nil { return err } - default: _, _ = key, value @@ -9876,12 +9801,10 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayRegistrationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "TransitGatewayRegistrations": if err := awsRestjson1_deserializeDocumentTransitGatewayRegistrationList(&sv.TransitGatewayRegistrations, value); err != nil { return err } - default: _, _ = key, value @@ -10045,7 +9968,6 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayRouteTableAttachmentOutp if err := awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(&sv.TransitGatewayRouteTableAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -10209,7 +10131,6 @@ func awsRestjson1_deserializeOpDocumentGetVpcAttachmentOutput(v **GetVpcAttachme if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -10370,7 +10291,6 @@ func awsRestjson1_deserializeOpDocumentListAttachmentsOutput(v **ListAttachments if err := awsRestjson1_deserializeDocumentAttachmentList(&sv.Attachments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10379,7 +10299,6 @@ func awsRestjson1_deserializeOpDocumentListAttachmentsOutput(v **ListAttachments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10540,7 +10459,6 @@ func awsRestjson1_deserializeOpDocumentListConnectPeersOutput(v **ListConnectPee if err := awsRestjson1_deserializeDocumentConnectPeerSummaryList(&sv.ConnectPeers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10549,7 +10467,6 @@ func awsRestjson1_deserializeOpDocumentListConnectPeersOutput(v **ListConnectPee } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10713,7 +10630,6 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworkPolicyVersionsOutput(v **L if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyVersionList(&sv.CoreNetworkPolicyVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10722,7 +10638,6 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworkPolicyVersionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10883,7 +10798,6 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworksOutput(v **ListCoreNetwor if err := awsRestjson1_deserializeDocumentCoreNetworkSummaryList(&sv.CoreNetworks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10892,7 +10806,6 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworksOutput(v **ListCoreNetwor } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11045,12 +10958,10 @@ func awsRestjson1_deserializeOpDocumentListOrganizationServiceAccessStatusOutput } sv.NextToken = ptr.String(jtv) } - case "OrganizationStatus": if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -11215,12 +11126,10 @@ func awsRestjson1_deserializeOpDocumentListPeeringsOutput(v **ListPeeringsOutput } sv.NextToken = ptr.String(jtv) } - case "Peerings": if err := awsRestjson1_deserializeDocumentPeeringList(&sv.Peerings, value); err != nil { return err } - default: _, _ = key, value @@ -11384,7 +11293,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -11554,7 +11462,6 @@ func awsRestjson1_deserializeOpDocumentPutCoreNetworkPolicyOutput(v **PutCoreNet if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -11824,7 +11731,6 @@ func awsRestjson1_deserializeOpDocumentRegisterTransitGatewayOutput(v **Register if err := awsRestjson1_deserializeDocumentTransitGatewayRegistration(&sv.TransitGatewayRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -11991,7 +11897,6 @@ func awsRestjson1_deserializeOpDocumentRejectAttachmentOutput(v **RejectAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - default: _, _ = key, value @@ -12158,7 +12063,6 @@ func awsRestjson1_deserializeOpDocumentRestoreCoreNetworkPolicyVersionOutput(v * if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -12325,7 +12229,6 @@ func awsRestjson1_deserializeOpDocumentStartOrganizationServiceAccessUpdateOutpu if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -12492,7 +12395,6 @@ func awsRestjson1_deserializeOpDocumentStartRouteAnalysisOutput(v **StartRouteAn if err := awsRestjson1_deserializeDocumentRouteAnalysis(&sv.RouteAnalysis, value); err != nil { return err } - default: _, _ = key, value @@ -12868,7 +12770,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -13035,7 +12936,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCoreNetworkOutput(v **UpdateCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -13202,7 +13102,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceOutput(v **UpdateDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -13369,7 +13268,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGlobalNetworkOutput(v **UpdateGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } - default: _, _ = key, value @@ -13539,7 +13437,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } - default: _, _ = key, value @@ -13706,7 +13603,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkResourceMetadataOutput(v **U if err := awsRestjson1_deserializeDocumentNetworkResourceMetadataMap(&sv.Metadata, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -13715,7 +13611,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkResourceMetadataOutput(v **U } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13882,7 +13777,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteOutput(v **UpdateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -14049,7 +13943,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcAttachmentOutput(v **UpdateVpcAt if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } - default: _, _ = key, value @@ -14407,15 +14300,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14423,15 +14310,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14466,7 +14349,6 @@ func awsRestjson1_deserializeDocumentAccountStatus(v **types.AccountStatus, valu } sv.AccountId = ptr.String(jtv) } - case "SLRDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -14475,7 +14357,6 @@ func awsRestjson1_deserializeDocumentAccountStatus(v **types.AccountStatus, valu } sv.SLRDeploymentStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -14549,7 +14430,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentId = ptr.String(jtv) } - case "AttachmentPolicyRuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14562,7 +14442,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } - case "AttachmentType": if value != nil { jtv, ok := value.(string) @@ -14571,7 +14450,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentType = types.AttachmentType(jtv) } - case "CoreNetworkArn": if value != nil { jtv, ok := value.(string) @@ -14580,7 +14458,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.CoreNetworkArn = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -14589,7 +14466,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -14605,7 +14481,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -14614,12 +14489,10 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.EdgeLocation = ptr.String(jtv) } - case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentAttachmentErrorList(&sv.LastModificationErrors, value); err != nil { return err } - case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -14628,7 +14501,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.NetworkFunctionGroupName = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -14637,17 +14509,14 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.OwnerAccountId = ptr.String(jtv) } - case "ProposedNetworkFunctionGroupChange": if err := awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(&sv.ProposedNetworkFunctionGroupChange, value); err != nil { return err } - case "ProposedSegmentChange": if err := awsRestjson1_deserializeDocumentProposedSegmentChange(&sv.ProposedSegmentChange, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14656,7 +14525,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.ResourceArn = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -14665,7 +14533,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.SegmentName = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14674,12 +14541,10 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.State = types.AttachmentState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14695,7 +14560,6 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } } - default: _, _ = key, value @@ -14735,7 +14599,6 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.Code = types.AttachmentErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -14744,7 +14607,6 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14753,7 +14615,6 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.RequestId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14762,7 +14623,6 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14870,7 +14730,6 @@ func awsRestjson1_deserializeDocumentAWSLocation(v **types.AWSLocation, value in } sv.SubnetArn = ptr.String(jtv) } - case "Zone": if value != nil { jtv, ok := value.(string) @@ -14879,7 +14738,6 @@ func awsRestjson1_deserializeDocumentAWSLocation(v **types.AWSLocation, value in } sv.Zone = ptr.String(jtv) } - default: _, _ = key, value @@ -14923,7 +14781,6 @@ func awsRestjson1_deserializeDocumentBandwidth(v **types.Bandwidth, value interf } sv.DownloadSpeed = ptr.Int32(int32(i64)) } - case "UploadSpeed": if value != nil { jtv, ok := value.(json.Number) @@ -14936,7 +14793,6 @@ func awsRestjson1_deserializeDocumentBandwidth(v **types.Bandwidth, value interf } sv.UploadSpeed = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14966,15 +14822,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14982,7 +14832,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -14991,7 +14840,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15000,15 +14848,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15039,12 +14883,10 @@ func awsRestjson1_deserializeDocumentConnectAttachment(v **types.ConnectAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - case "Options": if err := awsRestjson1_deserializeDocumentConnectAttachmentOptions(&sv.Options, value); err != nil { return err } - case "TransportAttachmentId": if value != nil { jtv, ok := value.(string) @@ -15053,7 +14895,6 @@ func awsRestjson1_deserializeDocumentConnectAttachment(v **types.ConnectAttachme } sv.TransportAttachmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -15093,7 +14934,6 @@ func awsRestjson1_deserializeDocumentConnectAttachmentOptions(v **types.ConnectA } sv.Protocol = types.TunnelProtocol(jtv) } - default: _, _ = key, value @@ -15133,7 +14973,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectedDeviceId = ptr.String(jtv) } - case "ConnectedLinkId": if value != nil { jtv, ok := value.(string) @@ -15142,7 +14981,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectedLinkId = ptr.String(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -15151,7 +14989,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -15160,7 +14997,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15176,7 +15012,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15185,7 +15020,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.Description = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -15194,7 +15028,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -15203,7 +15036,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -15212,7 +15044,6 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.LinkId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15221,12 +15052,10 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.State = types.ConnectionState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15266,7 +15095,6 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } sv.Status = types.ConnectionStatus(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -15282,7 +15110,6 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15291,7 +15118,6 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } sv.Type = types.ConnectionType(jtv) } - default: _, _ = key, value @@ -15361,7 +15187,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in if err := awsRestjson1_deserializeDocumentConnectPeerConfiguration(&sv.Configuration, value); err != nil { return err } - case "ConnectAttachmentId": if value != nil { jtv, ok := value.(string) @@ -15370,7 +15195,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.ConnectAttachmentId = ptr.String(jtv) } - case "ConnectPeerId": if value != nil { jtv, ok := value.(string) @@ -15379,7 +15203,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.ConnectPeerId = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -15388,7 +15211,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15404,7 +15226,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -15413,12 +15234,10 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.EdgeLocation = ptr.String(jtv) } - case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentConnectPeerErrorList(&sv.LastModificationErrors, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -15427,7 +15246,6 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.State = types.ConnectPeerState(jtv) } - case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -15436,12 +15254,10 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.SubnetArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15481,7 +15297,6 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.ConnectPeerId = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -15490,7 +15305,6 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -15499,7 +15313,6 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -15508,7 +15321,6 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.LinkId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15517,7 +15329,6 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.State = types.ConnectPeerAssociationState(jtv) } - default: _, _ = key, value @@ -15591,7 +15402,6 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.CoreNetworkAddress = ptr.String(jtv) } - case "CoreNetworkAsn": if value != nil { jtv, ok := value.(json.Number) @@ -15604,7 +15414,6 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.CoreNetworkAsn = ptr.Int64(i64) } - case "PeerAddress": if value != nil { jtv, ok := value.(string) @@ -15613,7 +15422,6 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.PeerAddress = ptr.String(jtv) } - case "PeerAsn": if value != nil { jtv, ok := value.(json.Number) @@ -15626,7 +15434,6 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.PeerAsn = ptr.Int64(i64) } - default: _, _ = key, value @@ -15696,7 +15503,6 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP if err := awsRestjson1_deserializeDocumentConnectPeerBgpConfigurationList(&sv.BgpConfigurations, value); err != nil { return err } - case "CoreNetworkAddress": if value != nil { jtv, ok := value.(string) @@ -15705,12 +15511,10 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.CoreNetworkAddress = ptr.String(jtv) } - case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } - case "PeerAddress": if value != nil { jtv, ok := value.(string) @@ -15719,7 +15523,6 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.PeerAddress = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15728,7 +15531,6 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.Protocol = types.TunnelProtocol(jtv) } - default: _, _ = key, value @@ -15768,7 +15570,6 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.Code = types.ConnectPeerErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15777,7 +15578,6 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15786,7 +15586,6 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.RequestId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -15795,7 +15594,6 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15869,7 +15667,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectAttachmentId = ptr.String(jtv) } - case "ConnectPeerId": if value != nil { jtv, ok := value.(string) @@ -15878,7 +15675,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectPeerId = ptr.String(jtv) } - case "ConnectPeerState": if value != nil { jtv, ok := value.(string) @@ -15887,7 +15683,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectPeerState = types.ConnectPeerState(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -15896,7 +15691,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15912,7 +15706,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -15921,7 +15714,6 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.EdgeLocation = ptr.String(jtv) } - case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -15930,12 +15722,10 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.SubnetArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16045,7 +15835,6 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.CoreNetworkArn = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -16054,7 +15843,6 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -16070,7 +15858,6 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16079,12 +15866,10 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.Description = ptr.String(jtv) } - case "Edges": if err := awsRestjson1_deserializeDocumentCoreNetworkEdgeList(&sv.Edges, value); err != nil { return err } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -16093,17 +15878,14 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.GlobalNetworkId = ptr.String(jtv) } - case "NetworkFunctionGroups": if err := awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroupList(&sv.NetworkFunctionGroups, value); err != nil { return err } - case "Segments": if err := awsRestjson1_deserializeDocumentCoreNetworkSegmentList(&sv.Segments, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -16112,12 +15894,10 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.State = types.CoreNetworkState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16157,7 +15937,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Action = types.ChangeAction(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -16166,7 +15945,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Identifier = ptr.String(jtv) } - case "IdentifierPath": if value != nil { jtv, ok := value.(string) @@ -16175,17 +15953,14 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.IdentifierPath = ptr.String(jtv) } - case "NewValues": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeValues(&sv.NewValues, value); err != nil { return err } - case "PreviousValues": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeValues(&sv.PreviousValues, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16194,7 +15969,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Type = types.ChangeType(jtv) } - default: _, _ = key, value @@ -16234,7 +16008,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Action = types.ChangeAction(jtv) } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -16250,7 +16023,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } } - case "IdentifierPath": if value != nil { jtv, ok := value.(string) @@ -16259,7 +16031,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.IdentifierPath = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16268,7 +16039,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Status = types.ChangeStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16277,12 +16047,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Type = types.ChangeType(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -16356,7 +16124,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.AttachmentId = ptr.String(jtv) } - case "Cidr": if value != nil { jtv, ok := value.(string) @@ -16365,7 +16132,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.Cidr = ptr.String(jtv) } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -16374,7 +16140,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.EdgeLocation = ptr.String(jtv) } - case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -16383,7 +16148,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.NetworkFunctionGroupName = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -16392,7 +16156,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.SegmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -16470,7 +16233,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.Asn = ptr.Int64(i64) } - case "Cidr": if value != nil { jtv, ok := value.(string) @@ -16479,7 +16241,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.Cidr = ptr.String(jtv) } - case "DestinationIdentifier": if value != nil { jtv, ok := value.(string) @@ -16488,17 +16249,14 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.DestinationIdentifier = ptr.String(jtv) } - case "EdgeLocations": if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } - case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } - case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -16507,7 +16265,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.NetworkFunctionGroupName = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -16516,17 +16273,14 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.SegmentName = ptr.String(jtv) } - case "ServiceInsertionActions": if err := awsRestjson1_deserializeDocumentServiceInsertionActionList(&sv.ServiceInsertionActions, value); err != nil { return err } - case "SharedSegments": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SharedSegments, value); err != nil { return err } - default: _, _ = key, value @@ -16570,7 +16324,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkEdge(v **types.CoreNetworkEdge, } sv.Asn = ptr.Int64(i64) } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -16579,12 +16332,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkEdge(v **types.CoreNetworkEdge, } sv.EdgeLocation = ptr.String(jtv) } - case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } - default: _, _ = key, value @@ -16654,7 +16405,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroup(v **types.C if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16663,12 +16413,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroup(v **types.C } sv.Name = ptr.String(jtv) } - case "Segments": if err := awsRestjson1_deserializeDocumentServiceInsertionSegments(&sv.Segments, value); err != nil { return err } - default: _, _ = key, value @@ -16742,7 +16490,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.Alias = types.CoreNetworkPolicyAlias(jtv) } - case "ChangeSetState": if value != nil { jtv, ok := value.(string) @@ -16751,7 +16498,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.ChangeSetState = types.ChangeSetState(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -16760,7 +16506,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -16776,7 +16521,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16785,7 +16529,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.Description = ptr.String(jtv) } - case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -16794,12 +16537,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.PolicyDocument = ptr.String(jtv) } - case "PolicyErrors": if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyErrorList(&sv.PolicyErrors, value); err != nil { return err } - case "PolicyVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -16812,7 +16553,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.PolicyVersionId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16852,7 +16592,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16861,7 +16600,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.Message = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -16870,7 +16608,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -16934,20 +16671,13 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Errors": if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyErrorList(&sv.Errors, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16955,15 +16685,11 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16998,7 +16724,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.Alias = types.CoreNetworkPolicyAlias(jtv) } - case "ChangeSetState": if value != nil { jtv, ok := value.(string) @@ -17007,7 +16732,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.ChangeSetState = types.ChangeSetState(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -17016,7 +16740,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -17032,7 +16755,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17041,7 +16763,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.Description = ptr.String(jtv) } - case "PolicyVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -17054,7 +16775,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.PolicyVersionId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17124,7 +16844,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegment(v **types.CoreNetworkSeg if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17133,12 +16852,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegment(v **types.CoreNetworkSeg } sv.Name = ptr.String(jtv) } - case "SharedSegments": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SharedSegments, value); err != nil { return err } - default: _, _ = key, value @@ -17178,7 +16895,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.CoreNetworkId = ptr.String(jtv) } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -17187,7 +16903,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.EdgeLocation = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -17196,7 +16911,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.SegmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -17270,7 +16984,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.CoreNetworkArn = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -17279,7 +16992,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.CoreNetworkId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17288,7 +17000,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.Description = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17297,7 +17008,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.GlobalNetworkId = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -17306,7 +17016,6 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.OwnerAccountId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17315,12 +17024,10 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.State = types.CoreNetworkState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17394,7 +17101,6 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.CustomerGatewayArn = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -17403,7 +17109,6 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17412,7 +17117,6 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -17421,7 +17125,6 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.LinkId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17430,7 +17133,6 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.State = types.CustomerGatewayAssociationState(jtv) } - default: _, _ = key, value @@ -17500,7 +17202,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) if err := awsRestjson1_deserializeDocumentAWSLocation(&sv.AWSLocation, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -17516,7 +17217,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17525,7 +17225,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Description = ptr.String(jtv) } - case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -17534,7 +17233,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceArn = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -17543,7 +17241,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17552,12 +17249,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.GlobalNetworkId = ptr.String(jtv) } - case "Location": if err := awsRestjson1_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "Model": if value != nil { jtv, ok := value.(string) @@ -17566,7 +17261,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } - case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -17575,7 +17269,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SerialNumber = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -17584,7 +17277,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SiteId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17593,12 +17285,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.State = types.DeviceState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17607,7 +17297,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = ptr.String(jtv) } - case "Vendor": if value != nil { jtv, ok := value.(string) @@ -17616,7 +17305,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Vendor = ptr.String(jtv) } - default: _, _ = key, value @@ -17686,7 +17374,6 @@ func awsRestjson1_deserializeDocumentEdgeOverride(v **types.EdgeOverride, value if err := awsRestjson1_deserializeDocumentEdgeSetList(&sv.EdgeSets, value); err != nil { return err } - case "UseEdge": if value != nil { jtv, ok := value.(string) @@ -17695,7 +17382,6 @@ func awsRestjson1_deserializeDocumentEdgeOverride(v **types.EdgeOverride, value } sv.UseEdge = ptr.String(jtv) } - default: _, _ = key, value @@ -17882,7 +17568,6 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17891,7 +17576,6 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.Description = ptr.String(jtv) } - case "GlobalNetworkArn": if value != nil { jtv, ok := value.(string) @@ -17900,7 +17584,6 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.GlobalNetworkArn = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17909,7 +17592,6 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.GlobalNetworkId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17918,12 +17600,10 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.State = types.GlobalNetworkState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17987,15 +17667,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18003,7 +17677,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18016,15 +17689,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18055,7 +17724,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err if err := awsRestjson1_deserializeDocumentBandwidth(&sv.Bandwidth, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18071,7 +17739,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18080,7 +17747,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Description = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -18089,7 +17755,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkArn": if value != nil { jtv, ok := value.(string) @@ -18098,7 +17763,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.LinkArn = ptr.String(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -18107,7 +17771,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.LinkId = ptr.String(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -18116,7 +17779,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Provider = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -18125,7 +17787,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.SiteId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18134,12 +17795,10 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.State = types.LinkState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18148,7 +17807,6 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -18188,7 +17846,6 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -18197,7 +17854,6 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkAssociationState": if value != nil { jtv, ok := value.(string) @@ -18206,7 +17862,6 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.LinkAssociationState = types.LinkAssociationState(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -18215,7 +17870,6 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.LinkId = ptr.String(jtv) } - default: _, _ = key, value @@ -18323,7 +17977,6 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Address = ptr.String(jtv) } - case "Latitude": if value != nil { jtv, ok := value.(string) @@ -18332,7 +17985,6 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Latitude = ptr.String(jtv) } - case "Longitude": if value != nil { jtv, ok := value.(string) @@ -18341,7 +17993,6 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Longitude = ptr.String(jtv) } - default: _, _ = key, value @@ -18381,7 +18032,6 @@ func awsRestjson1_deserializeDocumentNetworkFunctionGroup(v **types.NetworkFunct } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18455,7 +18105,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.AccountId = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -18464,7 +18113,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.AwsRegion = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -18473,7 +18121,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.CoreNetworkId = ptr.String(jtv) } - case "Definition": if value != nil { jtv, ok := value.(string) @@ -18482,7 +18129,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Definition = ptr.String(jtv) } - case "DefinitionTimestamp": if value != nil { switch jtv := value.(type) { @@ -18498,12 +18144,10 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } } - case "Metadata": if err := awsRestjson1_deserializeDocumentNetworkResourceMetadataMap(&sv.Metadata, value); err != nil { return err } - case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -18512,7 +18156,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.RegisteredGatewayArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18521,7 +18164,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18530,7 +18172,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18539,12 +18180,10 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceType = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18588,7 +18227,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceCount(v **types.NetworkResou } sv.Count = ptr.Int32(int32(i64)) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18597,7 +18235,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceCount(v **types.NetworkResou } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -18741,7 +18378,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.Definition = ptr.String(jtv) } - case "IsMiddlebox": if value != nil { jtv, ok := value.(bool) @@ -18750,7 +18386,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.IsMiddlebox = jtv } - case "NameTag": if value != nil { jtv, ok := value.(string) @@ -18759,7 +18394,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.NameTag = ptr.String(jtv) } - case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -18768,7 +18402,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.RegisteredGatewayArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18777,7 +18410,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.ResourceArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18786,7 +18418,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -18826,12 +18457,10 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.DestinationCidrBlock = ptr.String(jtv) } - case "Destinations": if err := awsRestjson1_deserializeDocumentNetworkRouteDestinationList(&sv.Destinations, value); err != nil { return err } - case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -18840,7 +18469,6 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.PrefixListId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18849,7 +18477,6 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.State = types.RouteState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18858,7 +18485,6 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.Type = types.RouteType(jtv) } - default: _, _ = key, value @@ -18898,7 +18524,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.CoreNetworkAttachmentId = ptr.String(jtv) } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -18907,7 +18532,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.EdgeLocation = ptr.String(jtv) } - case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -18916,7 +18540,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.NetworkFunctionGroupName = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18925,7 +18548,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18934,7 +18556,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.ResourceType = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -18943,7 +18564,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.SegmentName = ptr.String(jtv) } - case "TransitGatewayAttachmentId": if value != nil { jtv, ok := value.(string) @@ -18952,7 +18572,6 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.TransitGatewayAttachmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -19060,7 +18679,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.AccountId = ptr.String(jtv) } - case "Address": if value != nil { jtv, ok := value.(string) @@ -19069,7 +18687,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.Address = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -19078,7 +18695,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.AwsRegion = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -19087,12 +18703,10 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.CoreNetworkId = ptr.String(jtv) } - case "Health": if err := awsRestjson1_deserializeDocumentConnectionHealth(&sv.Health, value); err != nil { return err } - case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -19101,7 +18715,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.RegisteredGatewayArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19110,7 +18723,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -19119,7 +18731,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19128,7 +18739,6 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -19198,7 +18808,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt if err := awsRestjson1_deserializeDocumentAccountStatusList(&sv.AccountStatusList, value); err != nil { return err } - case "OrganizationAwsServiceAccessStatus": if value != nil { jtv, ok := value.(string) @@ -19207,7 +18816,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.OrganizationAwsServiceAccessStatus = ptr.String(jtv) } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -19216,7 +18824,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.OrganizationId = ptr.String(jtv) } - case "SLRDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -19225,7 +18832,6 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.SLRDeploymentStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -19265,12 +18871,10 @@ func awsRestjson1_deserializeDocumentPathComponent(v **types.PathComponent, valu } sv.DestinationCidrBlock = ptr.String(jtv) } - case "Resource": if err := awsRestjson1_deserializeDocumentNetworkResourceSummary(&sv.Resource, value); err != nil { return err } - case "Sequence": if value != nil { jtv, ok := value.(json.Number) @@ -19283,7 +18887,6 @@ func awsRestjson1_deserializeDocumentPathComponent(v **types.PathComponent, valu } sv.Sequence = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19357,7 +18960,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.CoreNetworkArn = ptr.String(jtv) } - case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -19366,7 +18968,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.CoreNetworkId = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -19382,7 +18983,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } } - case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -19391,12 +18991,10 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.EdgeLocation = ptr.String(jtv) } - case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentPeeringErrorList(&sv.LastModificationErrors, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -19405,7 +19003,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.OwnerAccountId = ptr.String(jtv) } - case "PeeringId": if value != nil { jtv, ok := value.(string) @@ -19414,7 +19011,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.PeeringId = ptr.String(jtv) } - case "PeeringType": if value != nil { jtv, ok := value.(string) @@ -19423,7 +19019,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.PeeringType = types.PeeringType(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19432,7 +19027,6 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.ResourceArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -19441,12 +19035,10 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.State = types.PeeringState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19486,7 +19078,6 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.Code = types.PeeringErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -19495,12 +19086,10 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.Message = ptr.String(jtv) } - case "MissingPermissionsContext": if err := awsRestjson1_deserializeDocumentPermissionsErrorContext(&sv.MissingPermissionsContext, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19509,7 +19098,6 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.RequestId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19518,7 +19106,6 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19626,7 +19213,6 @@ func awsRestjson1_deserializeDocumentPermissionsErrorContext(v **types.Permissio } sv.MissingPermission = ptr.String(jtv) } - default: _, _ = key, value @@ -19670,7 +19256,6 @@ func awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(v **type } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } - case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -19679,12 +19264,10 @@ func awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(v **type } sv.NetworkFunctionGroupName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19728,7 +19311,6 @@ func awsRestjson1_deserializeDocumentProposedSegmentChange(v **types.ProposedSeg } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -19737,12 +19319,10 @@ func awsRestjson1_deserializeDocumentProposedSegmentChange(v **types.ProposedSeg } sv.SegmentName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19818,7 +19398,6 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.From = ptr.String(jtv) } - case "To": if value != nil { jtv, ok := value.(string) @@ -19827,7 +19406,6 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.To = ptr.String(jtv) } - default: _, _ = key, value @@ -19891,20 +19469,13 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Context": if err := awsRestjson1_deserializeDocumentExceptionContextMap(&sv.Context, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19912,7 +19483,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -19921,7 +19491,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19930,15 +19499,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19969,12 +19534,10 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu if err := awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(&sv.Destination, value); err != nil { return err } - case "ForwardPath": if err := awsRestjson1_deserializeDocumentRouteAnalysisPath(&sv.ForwardPath, value); err != nil { return err } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -19983,7 +19546,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.GlobalNetworkId = ptr.String(jtv) } - case "IncludeReturnPath": if value != nil { jtv, ok := value.(bool) @@ -19992,7 +19554,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.IncludeReturnPath = jtv } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -20001,12 +19562,10 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.OwnerAccountId = ptr.String(jtv) } - case "ReturnPath": if err := awsRestjson1_deserializeDocumentRouteAnalysisPath(&sv.ReturnPath, value); err != nil { return err } - case "RouteAnalysisId": if value != nil { jtv, ok := value.(string) @@ -20015,12 +19574,10 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.RouteAnalysisId = ptr.String(jtv) } - case "Source": if err := awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(&sv.Source, value); err != nil { return err } - case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -20036,7 +19593,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20045,7 +19601,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.Status = types.RouteAnalysisStatus(jtv) } - case "UseMiddleboxes": if value != nil { jtv, ok := value.(bool) @@ -20054,7 +19609,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.UseMiddleboxes = jtv } - default: _, _ = key, value @@ -20094,12 +19648,10 @@ func awsRestjson1_deserializeDocumentRouteAnalysisCompletion(v **types.RouteAnal } sv.ReasonCode = types.RouteAnalysisCompletionReasonCode(jtv) } - case "ReasonContext": if err := awsRestjson1_deserializeDocumentReasonContextMap(&sv.ReasonContext, value); err != nil { return err } - case "ResultCode": if value != nil { jtv, ok := value.(string) @@ -20108,7 +19660,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysisCompletion(v **types.RouteAnal } sv.ResultCode = types.RouteAnalysisCompletionResultCode(jtv) } - default: _, _ = key, value @@ -20148,7 +19699,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.IpAddress = ptr.String(jtv) } - case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -20157,7 +19707,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.TransitGatewayArn = ptr.String(jtv) } - case "TransitGatewayAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -20166,7 +19715,6 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.TransitGatewayAttachmentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20202,12 +19750,10 @@ func awsRestjson1_deserializeDocumentRouteAnalysisPath(v **types.RouteAnalysisPa if err := awsRestjson1_deserializeDocumentRouteAnalysisCompletion(&sv.CompletionStatus, value); err != nil { return err } - case "Path": if err := awsRestjson1_deserializeDocumentPathComponentList(&sv.Path, value); err != nil { return err } - default: _, _ = key, value @@ -20247,7 +19793,6 @@ func awsRestjson1_deserializeDocumentServiceInsertionAction(v **types.ServiceIns } sv.Action = types.SegmentActionServiceInsertion(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -20256,17 +19801,14 @@ func awsRestjson1_deserializeDocumentServiceInsertionAction(v **types.ServiceIns } sv.Mode = types.SendViaMode(jtv) } - case "Via": if err := awsRestjson1_deserializeDocumentVia(&sv.Via, value); err != nil { return err } - case "WhenSentTo": if err := awsRestjson1_deserializeDocumentWhenSentTo(&sv.WhenSentTo, value); err != nil { return err } - default: _, _ = key, value @@ -20336,12 +19878,10 @@ func awsRestjson1_deserializeDocumentServiceInsertionSegments(v **types.ServiceI if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SendTo, value); err != nil { return err } - case "SendVia": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SendVia, value); err != nil { return err } - default: _, _ = key, value @@ -20371,13 +19911,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "LimitCode": if value != nil { @@ -20387,8 +19921,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20396,7 +19929,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -20405,7 +19937,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20414,7 +19945,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -20423,15 +19953,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20473,7 +19999,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -20482,7 +20007,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Description = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -20491,12 +20015,10 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.GlobalNetworkId = ptr.String(jtv) } - case "Location": if err := awsRestjson1_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } - case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -20505,7 +20027,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteArn = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -20514,7 +20035,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -20523,12 +20043,10 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.State = types.SiteState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20598,7 +20116,6 @@ func awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(v **types.SiteToSit if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - case "VpnConnectionArn": if value != nil { jtv, ok := value.(string) @@ -20607,7 +20124,6 @@ func awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(v **types.SiteToSit } sv.VpnConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20683,7 +20199,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -20692,7 +20207,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -20756,15 +20270,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20772,7 +20280,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20785,15 +20292,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20828,7 +20331,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.DeviceId = ptr.String(jtv) } - case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -20837,7 +20339,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.GlobalNetworkId = ptr.String(jtv) } - case "LinkId": if value != nil { jtv, ok := value.(string) @@ -20846,7 +20347,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.LinkId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -20855,7 +20355,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.State = types.TransitGatewayConnectPeerAssociationState(jtv) } - case "TransitGatewayConnectPeerArn": if value != nil { jtv, ok := value.(string) @@ -20864,7 +20363,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.TransitGatewayConnectPeerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20934,7 +20432,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate if err := awsRestjson1_deserializeDocumentPeering(&sv.Peering, value); err != nil { return err } - case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -20943,7 +20440,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate } sv.TransitGatewayArn = ptr.String(jtv) } - case "TransitGatewayPeeringAttachmentId": if value != nil { jtv, ok := value.(string) @@ -20952,7 +20448,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate } sv.TransitGatewayPeeringAttachmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -20992,12 +20487,10 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistration(v **types.Transi } sv.GlobalNetworkId = ptr.String(jtv) } - case "State": if err := awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(&sv.State, value); err != nil { return err } - case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -21006,7 +20499,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistration(v **types.Transi } sv.TransitGatewayArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21080,7 +20572,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(v **t } sv.Code = types.TransitGatewayRegistrationState(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -21089,7 +20580,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -21125,7 +20615,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - case "PeeringId": if value != nil { jtv, ok := value.(string) @@ -21134,7 +20623,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type } sv.PeeringId = ptr.String(jtv) } - case "TransitGatewayRouteTableArn": if value != nil { jtv, ok := value.(string) @@ -21143,7 +20631,6 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type } sv.TransitGatewayRouteTableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21173,20 +20660,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21194,7 +20674,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -21203,15 +20682,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21246,7 +20721,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21255,7 +20729,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21325,12 +20798,10 @@ func awsRestjson1_deserializeDocumentVia(v **types.Via, value interface{}) error if err := awsRestjson1_deserializeDocumentNetworkFunctionGroupList(&sv.NetworkFunctionGroups, value); err != nil { return err } - case "WithEdgeOverrides": if err := awsRestjson1_deserializeDocumentWithEdgeOverridesList(&sv.WithEdgeOverrides, value); err != nil { return err } - default: _, _ = key, value @@ -21366,17 +20837,14 @@ func awsRestjson1_deserializeDocumentVpcAttachment(v **types.VpcAttachment, valu if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - case "Options": if err := awsRestjson1_deserializeDocumentVpcOptions(&sv.Options, value); err != nil { return err } - case "SubnetArns": if err := awsRestjson1_deserializeDocumentSubnetArnList(&sv.SubnetArns, value); err != nil { return err } - default: _, _ = key, value @@ -21416,7 +20884,6 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.ApplianceModeSupport = jtv } - case "Ipv6Support": if value != nil { jtv, ok := value.(bool) @@ -21425,7 +20892,6 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.Ipv6Support = jtv } - default: _, _ = key, value @@ -21461,7 +20927,6 @@ func awsRestjson1_deserializeDocumentWhenSentTo(v **types.WhenSentTo, value inte if err := awsRestjson1_deserializeDocumentWhenSentToSegmentsList(&sv.WhenSentToSegmentsList, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/networkmonitor/deserializers.go b/service/networkmonitor/deserializers.go index 36e8b2d293a..110132c95a3 100644 --- a/service/networkmonitor/deserializers.go +++ b/service/networkmonitor/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.AggregationPeriod = ptr.Int64(i64) } - case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -203,7 +202,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } - case "monitorName": if value != nil { jtv, ok := value.(string) @@ -212,7 +210,6 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorName = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -221,12 +218,10 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.State = types.MonitorState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -397,7 +392,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.AddressFamily = types.AddressFamily(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -413,7 +407,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } } - case "destination": if value != nil { jtv, ok := value.(string) @@ -422,7 +415,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.Destination = ptr.String(jtv) } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -435,7 +427,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -451,7 +442,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } } - case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -464,7 +454,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.PacketSize = ptr.Int32(int32(i64)) } - case "probeArn": if value != nil { jtv, ok := value.(string) @@ -473,7 +462,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.ProbeArn = ptr.String(jtv) } - case "probeId": if value != nil { jtv, ok := value.(string) @@ -482,7 +470,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.ProbeId = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -491,7 +478,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.Protocol = types.Protocol(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -500,7 +486,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.SourceArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -509,12 +494,10 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.State = types.ProbeState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -523,7 +506,6 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -898,7 +880,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.AggregationPeriod = ptr.Int64(i64) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -914,7 +895,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -930,7 +910,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } } - case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -939,7 +918,6 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorArn = ptr.String(jtv) } - case "monitorName": if value != nil { jtv, ok := value.(string) @@ -948,12 +926,10 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorName = ptr.String(jtv) } - case "probes": if err := awsRestjson1_deserializeDocumentProbeList(&sv.Probes, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -962,12 +938,10 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.State = types.MonitorState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1135,7 +1109,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.AddressFamily = types.AddressFamily(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1151,7 +1124,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } } - case "destination": if value != nil { jtv, ok := value.(string) @@ -1160,7 +1132,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.Destination = ptr.String(jtv) } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -1173,7 +1144,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -1189,7 +1159,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } } - case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -1202,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.PacketSize = ptr.Int32(int32(i64)) } - case "probeArn": if value != nil { jtv, ok := value.(string) @@ -1211,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.ProbeArn = ptr.String(jtv) } - case "probeId": if value != nil { jtv, ok := value.(string) @@ -1220,7 +1187,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.ProbeId = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -1229,7 +1195,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.Protocol = types.Protocol(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -1238,7 +1203,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.SourceArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1247,12 +1211,10 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.State = types.ProbeState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1261,7 +1223,6 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1422,7 +1383,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1431,7 +1391,6 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1598,7 +1557,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1979,7 +1937,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.AggregationPeriod = ptr.Int64(i64) } - case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -1988,7 +1945,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } - case "monitorName": if value != nil { jtv, ok := value.(string) @@ -1997,7 +1953,6 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorName = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2006,12 +1961,10 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.State = types.MonitorState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2182,7 +2135,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.AddressFamily = types.AddressFamily(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2198,7 +2150,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } } - case "destination": if value != nil { jtv, ok := value.(string) @@ -2207,7 +2158,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.Destination = ptr.String(jtv) } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -2220,7 +2170,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -2236,7 +2185,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } } - case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -2249,7 +2197,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.PacketSize = ptr.Int32(int32(i64)) } - case "probeArn": if value != nil { jtv, ok := value.(string) @@ -2258,7 +2205,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.ProbeArn = ptr.String(jtv) } - case "probeId": if value != nil { jtv, ok := value.(string) @@ -2267,7 +2213,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.ProbeId = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -2276,7 +2221,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.Protocol = types.Protocol(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -2285,7 +2229,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.SourceArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2294,12 +2237,10 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.State = types.ProbeState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2308,7 +2249,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -2590,15 +2530,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2606,15 +2540,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2639,15 +2569,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2655,15 +2579,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2688,15 +2608,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2704,15 +2618,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2785,7 +2695,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.AggregationPeriod = ptr.Int64(i64) } - case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -2794,7 +2703,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorArn = ptr.String(jtv) } - case "monitorName": if value != nil { jtv, ok := value.(string) @@ -2803,7 +2711,6 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorName = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2812,12 +2719,10 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.State = types.MonitorState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2857,7 +2762,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.AddressFamily = types.AddressFamily(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2873,7 +2777,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } } - case "destination": if value != nil { jtv, ok := value.(string) @@ -2882,7 +2785,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.Destination = ptr.String(jtv) } - case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -2895,7 +2797,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -2911,7 +2812,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } } - case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -2924,7 +2824,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.PacketSize = ptr.Int32(int32(i64)) } - case "probeArn": if value != nil { jtv, ok := value.(string) @@ -2933,7 +2832,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.ProbeArn = ptr.String(jtv) } - case "probeId": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2840,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.ProbeId = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2848,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.Protocol = types.Protocol(jtv) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -2960,7 +2856,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.SourceArn = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2969,12 +2864,10 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.State = types.ProbeState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2983,7 +2876,6 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -3047,15 +2939,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3063,15 +2949,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3096,15 +2978,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3112,15 +2988,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3181,15 +3053,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3197,15 +3063,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3230,15 +3092,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3246,15 +3102,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/oam/deserializers.go b/service/oam/deserializers.go index 34cdc1e3087..761ce096a5f 100644 --- a/service/oam/deserializers.go +++ b/service/oam/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -196,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -205,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Label = ptr.String(jtv) } - case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -214,17 +211,14 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.LabelTemplate = ptr.String(jtv) } - case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -233,12 +227,10 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.SinkArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -406,7 +398,6 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -415,7 +406,6 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -424,12 +414,10 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -791,7 +779,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -800,7 +787,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -809,7 +795,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Label = ptr.String(jtv) } - case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -818,17 +803,14 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.LabelTemplate = ptr.String(jtv) } - case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -837,12 +819,10 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.SinkArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1007,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -1016,7 +995,6 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1025,12 +1003,10 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1195,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.Policy = ptr.String(jtv) } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -1204,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.SinkArn = ptr.String(jtv) } - case "SinkId": if value != nil { jtv, ok := value.(string) @@ -1213,7 +1187,6 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.SinkId = ptr.String(jtv) } - default: _, _ = key, value @@ -1374,7 +1347,6 @@ func awsRestjson1_deserializeOpDocumentListAttachedLinksOutput(v **ListAttachedL if err := awsRestjson1_deserializeDocumentListAttachedLinksItems(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1383,7 +1355,6 @@ func awsRestjson1_deserializeOpDocumentListAttachedLinksOutput(v **ListAttachedL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1541,7 +1512,6 @@ func awsRestjson1_deserializeOpDocumentListLinksOutput(v **ListLinksOutput, valu if err := awsRestjson1_deserializeDocumentListLinksItems(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1550,7 +1520,6 @@ func awsRestjson1_deserializeOpDocumentListLinksOutput(v **ListLinksOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1708,7 +1677,6 @@ func awsRestjson1_deserializeOpDocumentListSinksOutput(v **ListSinksOutput, valu if err := awsRestjson1_deserializeDocumentListSinksItems(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1717,7 +1685,6 @@ func awsRestjson1_deserializeOpDocumentListSinksOutput(v **ListSinksOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1872,7 +1839,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2037,7 +2003,6 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.Policy = ptr.String(jtv) } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -2046,7 +2011,6 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.SinkArn = ptr.String(jtv) } - case "SinkId": if value != nil { jtv, ok := value.(string) @@ -2055,7 +2019,6 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.SinkId = ptr.String(jtv) } - default: _, _ = key, value @@ -2405,7 +2368,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2414,7 +2376,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -2423,7 +2384,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Label = ptr.String(jtv) } - case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -2432,17 +2392,14 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.LabelTemplate = ptr.String(jtv) } - case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -2451,12 +2408,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.SinkArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2870,13 +2825,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -2886,8 +2835,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.AmznErrorType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2895,15 +2843,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2928,13 +2872,7 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -2944,8 +2882,7 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ } sv.AmznErrorType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2953,15 +2890,11 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2986,13 +2919,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -3002,8 +2929,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.AmznErrorType = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3011,15 +2937,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3050,12 +2972,10 @@ func awsRestjson1_deserializeDocumentLinkConfiguration(v **types.LinkConfigurati if err := awsRestjson1_deserializeDocumentLogGroupConfiguration(&sv.LogGroupConfiguration, value); err != nil { return err } - case "MetricConfiguration": if err := awsRestjson1_deserializeDocumentMetricConfiguration(&sv.MetricConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3095,7 +3015,6 @@ func awsRestjson1_deserializeDocumentListAttachedLinksItem(v **types.ListAttache } sv.Label = ptr.String(jtv) } - case "LinkArn": if value != nil { jtv, ok := value.(string) @@ -3104,12 +3023,10 @@ func awsRestjson1_deserializeDocumentListAttachedLinksItem(v **types.ListAttache } sv.LinkArn = ptr.String(jtv) } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -3183,7 +3100,6 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3192,7 +3108,6 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Id = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -3201,12 +3116,10 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Label = ptr.String(jtv) } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } - case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -3215,7 +3128,6 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.SinkArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3289,7 +3201,6 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3298,7 +3209,6 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3307,7 +3217,6 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3381,7 +3290,6 @@ func awsRestjson1_deserializeDocumentLogGroupConfiguration(v **types.LogGroupCon } sv.Filter = ptr.String(jtv) } - default: _, _ = key, value @@ -3421,7 +3329,6 @@ func awsRestjson1_deserializeDocumentMetricConfiguration(v **types.MetricConfigu } sv.Filter = ptr.String(jtv) } - default: _, _ = key, value @@ -3451,13 +3358,7 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -3467,8 +3368,7 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.AmznErrorType = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3476,15 +3376,11 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3509,13 +3405,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -3525,8 +3415,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.AmznErrorType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3534,15 +3423,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3603,13 +3488,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "amznErrorType": if value != nil { @@ -3619,8 +3498,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.AmznErrorType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3628,15 +3506,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3697,15 +3571,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3713,15 +3581,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3746,15 +3610,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3762,15 +3620,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/omics/deserializers.go b/service/omics/deserializers.go index afcf8afad8d..2160d9d3927 100644 --- a/service/omics/deserializers.go +++ b/service/omics/deserializers.go @@ -305,7 +305,6 @@ func awsRestjson1_deserializeOpDocumentAcceptShareOutput(v **AcceptShareOutput, } sv.Status = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -472,7 +471,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteReadSetOutput(v **BatchDeleteR if err := awsRestjson1_deserializeDocumentReadSetBatchErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -964,7 +962,6 @@ func awsRestjson1_deserializeOpDocumentCompleteMultipartReadSetUploadOutput(v ** } sv.ReadSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -1142,7 +1139,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1151,7 +1147,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1160,12 +1155,10 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1174,7 +1167,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Status = types.StoreStatus(jtv) } - case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -1183,12 +1175,10 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.StoreFormat = types.StoreFormat(jtv) } - case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -1197,7 +1187,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -1375,7 +1364,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1384,7 +1372,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1393,7 +1380,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1402,7 +1388,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Status = types.VersionStatus(jtv) } - case "storeId": if value != nil { jtv, ok := value.(string) @@ -1411,7 +1396,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.StoreId = ptr.String(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -1420,12 +1404,10 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.VersionName = ptr.String(jtv) } - case "versionOptions": if err := awsRestjson1_deserializeDocumentVersionOptions(&sv.VersionOptions, value); err != nil { return err } - default: _, _ = key, value @@ -1606,7 +1588,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1615,7 +1596,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.Description = ptr.String(jtv) } - case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -1624,7 +1604,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.GeneratedFrom = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1633,7 +1612,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.Name = ptr.String(jtv) } - case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -1642,7 +1620,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.ReferenceArn = ptr.String(jtv) } - case "sampleId": if value != nil { jtv, ok := value.(string) @@ -1651,7 +1628,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SampleId = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -1660,7 +1636,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SequenceStoreId = ptr.String(jtv) } - case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -1669,7 +1644,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SourceFileType = types.FileType(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -1678,12 +1652,10 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SubjectId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -1692,7 +1664,6 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -1863,7 +1834,6 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1876,7 +1846,6 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1885,7 +1854,6 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1894,7 +1862,6 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1903,12 +1870,10 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Name = ptr.String(jtv) } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2085,7 +2050,6 @@ func awsRestjson1_deserializeOpDocumentCreateRunGroupOutput(v **CreateRunGroupOu } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2094,12 +2058,10 @@ func awsRestjson1_deserializeOpDocumentCreateRunGroupOutput(v **CreateRunGroupOu } sv.Id = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2270,7 +2232,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2283,7 +2244,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2292,7 +2252,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Description = ptr.String(jtv) } - case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -2301,7 +2260,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } - case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -2310,7 +2268,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.FallbackLocation = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2319,7 +2276,6 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2328,12 +2284,10 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Name = ptr.String(jtv) } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2507,7 +2461,6 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.ShareId = ptr.String(jtv) } - case "shareName": if value != nil { jtv, ok := value.(string) @@ -2516,7 +2469,6 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.ShareName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2525,7 +2477,6 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.Status = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -2703,7 +2654,6 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2712,7 +2662,6 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2721,12 +2670,10 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2735,7 +2682,6 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Status = types.StoreStatus(jtv) } - default: _, _ = key, value @@ -2912,7 +2858,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2921,7 +2866,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2930,12 +2874,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Status = types.WorkflowStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3106,7 +3048,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnnotationStoreOutput(v **DeleteAnn } sv.Status = types.StoreStatus(jtv) } - default: _, _ = key, value @@ -3273,7 +3214,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnnotationStoreVersionsOutput(v **D if err := awsRestjson1_deserializeDocumentVersionDeleteErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -3995,7 +3935,6 @@ func awsRestjson1_deserializeOpDocumentDeleteShareOutput(v **DeleteShareOutput, } sv.Status = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -4166,7 +4105,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVariantStoreOutput(v **DeleteVarian } sv.Status = types.StoreStatus(jtv) } - default: _, _ = key, value @@ -4445,7 +4383,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -4458,7 +4395,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4471,7 +4407,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.CreationTime = ptr.Time(t) } - case "destinationName": if value != nil { jtv, ok := value.(string) @@ -4480,12 +4415,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.DestinationName = ptr.String(jtv) } - case "formatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4494,12 +4427,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.Id = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentAnnotationImportItemDetails(&sv.Items, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4508,7 +4439,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.RoleArn = ptr.String(jtv) } - case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -4517,7 +4447,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.RunLeftNormalization = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -4526,7 +4455,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.Status = types.JobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4535,7 +4463,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.StatusMessage = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4548,7 +4475,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.UpdateTime = ptr.Time(t) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -4557,7 +4483,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -4729,7 +4654,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4738,7 +4662,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4747,7 +4670,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4756,7 +4678,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Name = ptr.String(jtv) } - case "numVersions": if value != nil { jtv, ok := value.(json.Number) @@ -4769,17 +4690,14 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.NumVersions = ptr.Int32(int32(i64)) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4788,7 +4706,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Status = types.StoreStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4797,7 +4714,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StatusMessage = ptr.String(jtv) } - case "storeArn": if value != nil { jtv, ok := value.(string) @@ -4806,7 +4722,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreArn = ptr.String(jtv) } - case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -4815,12 +4730,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreFormat = types.StoreFormat(jtv) } - case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } - case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4833,12 +4746,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreSizeBytes = ptr.Int64(i64) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4851,7 +4762,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -5023,7 +4933,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5032,7 +4941,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5041,7 +4949,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5050,7 +4957,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5059,7 +4965,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Status = types.VersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5068,7 +4973,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.StatusMessage = ptr.String(jtv) } - case "storeId": if value != nil { jtv, ok := value.(string) @@ -5077,12 +4981,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.StoreId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5095,7 +4997,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.UpdateTime = ptr.Time(t) } - case "versionArn": if value != nil { jtv, ok := value.(string) @@ -5104,7 +5005,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionArn = ptr.String(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -5113,12 +5013,10 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionName = ptr.String(jtv) } - case "versionOptions": if err := awsRestjson1_deserializeDocumentVersionOptions(&sv.VersionOptions, value); err != nil { return err } - case "versionSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5131,7 +5029,6 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionSizeBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -5429,7 +5326,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5442,7 +5338,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5451,7 +5346,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.Id = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5460,12 +5354,10 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.SequenceStoreId = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentActivateReadSetSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5474,7 +5366,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.Status = types.ReadSetActivationJobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5483,7 +5374,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5658,7 +5548,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5671,7 +5560,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.CreationTime = ptr.Time(t) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -5680,7 +5568,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Destination = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5689,12 +5576,10 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Id = ptr.String(jtv) } - case "readSets": if err := awsRestjson1_deserializeDocumentExportReadSetDetailList(&sv.ReadSets, value); err != nil { return err } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5703,7 +5588,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5712,7 +5596,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Status = types.ReadSetExportJobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5721,7 +5604,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5896,7 +5778,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5909,7 +5790,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5918,7 +5798,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5927,7 +5806,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.RoleArn = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5936,12 +5814,10 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.SequenceStoreId = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentImportReadSetSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5950,7 +5826,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.Status = types.ReadSetImportJobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5959,7 +5834,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6130,7 +6004,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Arn = ptr.String(jtv) } - case "creationJobId": if value != nil { jtv, ok := value.(string) @@ -6139,7 +6012,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationJobId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6152,7 +6024,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationTime = ptr.Time(t) } - case "creationType": if value != nil { jtv, ok := value.(string) @@ -6161,7 +6032,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationType = types.CreationType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6170,17 +6040,14 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Description = ptr.String(jtv) } - case "etag": if err := awsRestjson1_deserializeDocumentETag(&sv.Etag, value); err != nil { return err } - case "files": if err := awsRestjson1_deserializeDocumentReadSetFiles(&sv.Files, value); err != nil { return err } - case "fileType": if value != nil { jtv, ok := value.(string) @@ -6189,7 +6056,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.FileType = types.FileType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6198,7 +6064,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6207,7 +6072,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Name = ptr.String(jtv) } - case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -6216,7 +6080,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.ReferenceArn = ptr.String(jtv) } - case "sampleId": if value != nil { jtv, ok := value.(string) @@ -6225,12 +6088,10 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SampleId = ptr.String(jtv) } - case "sequenceInformation": if err := awsRestjson1_deserializeDocumentSequenceInformation(&sv.SequenceInformation, value); err != nil { return err } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6239,7 +6100,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6248,7 +6108,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Status = types.ReadSetStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6257,7 +6116,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.StatusMessage = ptr.String(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -6266,7 +6124,6 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SubjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -6561,7 +6418,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6574,7 +6430,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6583,7 +6438,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.Id = ptr.String(jtv) } - case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6592,7 +6446,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.ReferenceStoreId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6601,12 +6454,10 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.RoleArn = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentImportReferenceSourceList(&sv.Sources, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6615,7 +6466,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.Status = types.ReferenceImportJobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6624,7 +6474,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -6795,7 +6644,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Arn = ptr.String(jtv) } - case "creationJobId": if value != nil { jtv, ok := value.(string) @@ -6804,7 +6652,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationJobId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6817,7 +6664,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationTime = ptr.Time(t) } - case "creationType": if value != nil { jtv, ok := value.(string) @@ -6826,7 +6672,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationType = types.ReferenceCreationType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6835,12 +6680,10 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Description = ptr.String(jtv) } - case "files": if err := awsRestjson1_deserializeDocumentReferenceFiles(&sv.Files, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6849,7 +6692,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Id = ptr.String(jtv) } - case "md5": if value != nil { jtv, ok := value.(string) @@ -6858,7 +6700,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Md5 = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6867,7 +6708,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Name = ptr.String(jtv) } - case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6876,7 +6716,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.ReferenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6885,7 +6724,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Status = types.ReferenceStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -6898,7 +6736,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -7069,7 +6906,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7082,7 +6918,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7091,7 +6926,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7100,7 +6934,6 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7109,12 +6942,10 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Name = ptr.String(jtv) } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -7291,7 +7122,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Accelerators = types.Accelerators(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7130,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7313,7 +7142,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.CreationTime = ptr.Time(t) } - case "definition": if value != nil { jtv, ok := value.(string) @@ -7322,7 +7150,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Definition = ptr.String(jtv) } - case "digest": if value != nil { jtv, ok := value.(string) @@ -7331,7 +7158,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Digest = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -7340,7 +7166,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.FailureReason = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7349,7 +7174,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Id = ptr.String(jtv) } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -7358,12 +7182,10 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.LogLevel = types.RunLogLevel(jtv) } - case "logLocation": if err := awsRestjson1_deserializeDocumentRunLogLocation(&sv.LogLocation, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7372,7 +7194,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Name = ptr.String(jtv) } - case "outputUri": if value != nil { jtv, ok := value.(string) @@ -7381,12 +7202,10 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.OutputUri = ptr.String(jtv) } - case "parameters": if err := awsRestjson1_deserializeDocumentRunParameters(&sv.Parameters, value); err != nil { return err } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7399,12 +7218,10 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Priority = ptr.Int32(int32(i64)) } - case "resourceDigests": if err := awsRestjson1_deserializeDocumentRunResourceDigests(&sv.ResourceDigests, value); err != nil { return err } - case "retentionMode": if value != nil { jtv, ok := value.(string) @@ -7413,7 +7230,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RetentionMode = types.RunRetentionMode(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7422,7 +7238,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RoleArn = ptr.String(jtv) } - case "runGroupId": if value != nil { jtv, ok := value.(string) @@ -7431,7 +7246,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunGroupId = ptr.String(jtv) } - case "runId": if value != nil { jtv, ok := value.(string) @@ -7440,7 +7254,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunId = ptr.String(jtv) } - case "runOutputUri": if value != nil { jtv, ok := value.(string) @@ -7449,7 +7262,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunOutputUri = ptr.String(jtv) } - case "startedBy": if value != nil { jtv, ok := value.(string) @@ -7458,7 +7270,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StartedBy = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -7471,7 +7282,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7480,7 +7290,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Status = types.RunStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7489,7 +7298,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StatusMessage = ptr.String(jtv) } - case "stopTime": if value != nil { jtv, ok := value.(string) @@ -7502,7 +7310,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StopTime = ptr.Time(t) } - case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -7515,7 +7322,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -7524,12 +7330,10 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StorageType = types.StorageType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "uuid": if value != nil { jtv, ok := value.(string) @@ -7538,7 +7342,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Uuid = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7547,7 +7350,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowId = ptr.String(jtv) } - case "workflowOwnerId": if value != nil { jtv, ok := value.(string) @@ -7556,7 +7358,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowOwnerId = ptr.String(jtv) } - case "workflowType": if value != nil { jtv, ok := value.(string) @@ -7565,7 +7366,6 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowType = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -7742,7 +7542,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7755,7 +7554,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7764,7 +7562,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Id = ptr.String(jtv) } - case "maxCpus": if value != nil { jtv, ok := value.(json.Number) @@ -7777,7 +7574,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxCpus = ptr.Int32(int32(i64)) } - case "maxDuration": if value != nil { jtv, ok := value.(json.Number) @@ -7790,7 +7586,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxDuration = ptr.Int32(int32(i64)) } - case "maxGpus": if value != nil { jtv, ok := value.(json.Number) @@ -7803,7 +7598,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxGpus = ptr.Int32(int32(i64)) } - case "maxRuns": if value != nil { jtv, ok := value.(json.Number) @@ -7816,7 +7610,6 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxRuns = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7825,12 +7618,10 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8011,7 +7802,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Cpus = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8024,7 +7814,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.CreationTime = ptr.Time(t) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8033,7 +7822,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.FailureReason = ptr.String(jtv) } - case "gpus": if value != nil { jtv, ok := value.(json.Number) @@ -8046,7 +7834,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Gpus = ptr.Int32(int32(i64)) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -8055,7 +7842,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.InstanceType = ptr.String(jtv) } - case "logStream": if value != nil { jtv, ok := value.(string) @@ -8064,7 +7850,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.LogStream = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -8077,7 +7862,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Memory = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8086,7 +7870,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Name = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -8099,7 +7882,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8108,7 +7890,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Status = types.TaskStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8117,7 +7898,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StatusMessage = ptr.String(jtv) } - case "stopTime": if value != nil { jtv, ok := value.(string) @@ -8130,7 +7910,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StopTime = ptr.Time(t) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -8139,7 +7918,6 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -8310,7 +8088,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8323,7 +8100,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8332,7 +8108,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Description = ptr.String(jtv) } - case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -8341,7 +8116,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } - case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -8350,7 +8124,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.FallbackLocation = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8359,7 +8132,6 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8368,17 +8140,14 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Name = ptr.String(jtv) } - case "s3Access": if err := awsRestjson1_deserializeDocumentSequenceStoreS3Access(&sv.S3Access, value); err != nil { return err } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8548,7 +8317,6 @@ func awsRestjson1_deserializeOpDocumentGetShareOutput(v **GetShareOutput, value if err := awsRestjson1_deserializeDocumentShareDetails(&sv.Share, value); err != nil { return err } - default: _, _ = key, value @@ -8712,7 +8480,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -8725,7 +8492,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8738,7 +8504,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.CreationTime = ptr.Time(t) } - case "destinationName": if value != nil { jtv, ok := value.(string) @@ -8747,7 +8512,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.DestinationName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8756,12 +8520,10 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.Id = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentVariantImportItemDetails(&sv.Items, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8770,7 +8532,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.RoleArn = ptr.String(jtv) } - case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -8779,7 +8540,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.RunLeftNormalization = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -8788,7 +8548,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.Status = types.JobStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8797,7 +8556,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.StatusMessage = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -8810,7 +8568,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -8982,7 +8739,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -8991,7 +8747,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9000,7 +8755,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9009,17 +8763,14 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9028,7 +8779,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Status = types.StoreStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -9037,7 +8787,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StatusMessage = ptr.String(jtv) } - case "storeArn": if value != nil { jtv, ok := value.(string) @@ -9046,7 +8795,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StoreArn = ptr.String(jtv) } - case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9059,12 +8807,10 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StoreSizeBytes = ptr.Int64(i64) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -9077,7 +8823,6 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -9254,7 +8999,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Accelerators = types.Accelerators(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -9263,7 +9007,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -9276,7 +9019,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CreationTime = ptr.Time(t) } - case "definition": if value != nil { jtv, ok := value.(string) @@ -9285,7 +9027,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Definition = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -9294,7 +9035,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Description = ptr.String(jtv) } - case "digest": if value != nil { jtv, ok := value.(string) @@ -9303,7 +9043,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Digest = ptr.String(jtv) } - case "engine": if value != nil { jtv, ok := value.(string) @@ -9312,7 +9051,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Engine = types.WorkflowEngine(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9321,7 +9059,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } - case "main": if value != nil { jtv, ok := value.(string) @@ -9330,12 +9067,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Main = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentWorkflowMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9344,12 +9079,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } - case "parameterTemplate": if err := awsRestjson1_deserializeDocumentWorkflowParameterTemplate(&sv.ParameterTemplate, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9358,7 +9091,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.WorkflowStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -9367,7 +9099,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StatusMessage = ptr.String(jtv) } - case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9380,12 +9111,10 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -9394,7 +9123,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Type = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -9558,7 +9286,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationImportJobsOutput(v **ListAn if err := awsRestjson1_deserializeDocumentAnnotationImportJobItems(&sv.AnnotationImportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9567,7 +9294,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationImportJobsOutput(v **ListAn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9731,7 +9457,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoresOutput(v **ListAnnota if err := awsRestjson1_deserializeDocumentAnnotationStoreItems(&sv.AnnotationStores, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9465,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoresOutput(v **ListAnnota } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9904,7 +9628,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoreVersionsOutput(v **Lis if err := awsRestjson1_deserializeDocumentAnnotationStoreVersionItems(&sv.AnnotationStoreVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9913,7 +9636,6 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoreVersionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10090,12 +9812,10 @@ func awsRestjson1_deserializeOpDocumentListMultipartReadSetUploadsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "uploads": if err := awsRestjson1_deserializeDocumentMultipartReadSetUploadList(&sv.Uploads, value); err != nil { return err } - default: _, _ = key, value @@ -10262,7 +9982,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetActivationJobsOutput(v **ListR if err := awsRestjson1_deserializeDocumentActivateReadSetJobList(&sv.ActivationJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10271,7 +9990,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetActivationJobsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10438,7 +10156,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetExportJobsOutput(v **ListReadS if err := awsRestjson1_deserializeDocumentExportReadSetJobDetailList(&sv.ExportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10447,7 +10164,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetExportJobsOutput(v **ListReadS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10614,7 +10330,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetImportJobsOutput(v **ListReadS if err := awsRestjson1_deserializeDocumentImportReadSetJobList(&sv.ImportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10623,7 +10338,6 @@ func awsRestjson1_deserializeOpDocumentListReadSetImportJobsOutput(v **ListReadS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10794,12 +10508,10 @@ func awsRestjson1_deserializeOpDocumentListReadSetsOutput(v **ListReadSetsOutput } sv.NextToken = ptr.String(jtv) } - case "readSets": if err := awsRestjson1_deserializeDocumentReadSetList(&sv.ReadSets, value); err != nil { return err } - default: _, _ = key, value @@ -10976,12 +10688,10 @@ func awsRestjson1_deserializeOpDocumentListReadSetUploadPartsOutput(v **ListRead } sv.NextToken = ptr.String(jtv) } - case "parts": if err := awsRestjson1_deserializeDocumentReadSetUploadPartList(&sv.Parts, value); err != nil { return err } - default: _, _ = key, value @@ -11148,7 +10858,6 @@ func awsRestjson1_deserializeOpDocumentListReferenceImportJobsOutput(v **ListRef if err := awsRestjson1_deserializeDocumentImportReferenceJobList(&sv.ImportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11157,7 +10866,6 @@ func awsRestjson1_deserializeOpDocumentListReferenceImportJobsOutput(v **ListRef } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11328,12 +11036,10 @@ func awsRestjson1_deserializeOpDocumentListReferencesOutput(v **ListReferencesOu } sv.NextToken = ptr.String(jtv) } - case "references": if err := awsRestjson1_deserializeDocumentReferenceList(&sv.References, value); err != nil { return err } - default: _, _ = key, value @@ -11501,12 +11207,10 @@ func awsRestjson1_deserializeOpDocumentListReferenceStoresOutput(v **ListReferen } sv.NextToken = ptr.String(jtv) } - case "referenceStores": if err := awsRestjson1_deserializeDocumentReferenceStoreDetailList(&sv.ReferenceStores, value); err != nil { return err } - default: _, _ = key, value @@ -11679,7 +11383,6 @@ func awsRestjson1_deserializeOpDocumentListRunGroupsOutput(v **ListRunGroupsOutp if err := awsRestjson1_deserializeDocumentRunGroupList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11688,7 +11391,6 @@ func awsRestjson1_deserializeOpDocumentListRunGroupsOutput(v **ListRunGroupsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11861,7 +11563,6 @@ func awsRestjson1_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value if err := awsRestjson1_deserializeDocumentRunList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11870,7 +11571,6 @@ func awsRestjson1_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12043,7 +11743,6 @@ func awsRestjson1_deserializeOpDocumentListRunTasksOutput(v **ListRunTasksOutput if err := awsRestjson1_deserializeDocumentTaskList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12052,7 +11751,6 @@ func awsRestjson1_deserializeOpDocumentListRunTasksOutput(v **ListRunTasksOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12220,12 +11918,10 @@ func awsRestjson1_deserializeOpDocumentListSequenceStoresOutput(v **ListSequence } sv.NextToken = ptr.String(jtv) } - case "sequenceStores": if err := awsRestjson1_deserializeDocumentSequenceStoreDetailList(&sv.SequenceStores, value); err != nil { return err } - default: _, _ = key, value @@ -12399,12 +12095,10 @@ func awsRestjson1_deserializeOpDocumentListSharesOutput(v **ListSharesOutput, va } sv.NextToken = ptr.String(jtv) } - case "shares": if err := awsRestjson1_deserializeDocumentShareDetailsList(&sv.Shares, value); err != nil { return err } - default: _, _ = key, value @@ -12577,7 +12271,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12745,12 +12438,10 @@ func awsRestjson1_deserializeOpDocumentListVariantImportJobsOutput(v **ListVaria } sv.NextToken = ptr.String(jtv) } - case "variantImportJobs": if err := awsRestjson1_deserializeDocumentVariantImportJobItems(&sv.VariantImportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -12918,12 +12609,10 @@ func awsRestjson1_deserializeOpDocumentListVariantStoresOutput(v **ListVariantSt } sv.NextToken = ptr.String(jtv) } - case "variantStores": if err := awsRestjson1_deserializeDocumentVariantStoreItems(&sv.VariantStores, value); err != nil { return err } - default: _, _ = key, value @@ -13096,7 +12785,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13105,7 +12793,6 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13276,7 +12963,6 @@ func awsRestjson1_deserializeOpDocumentStartAnnotationImportJobOutput(v **StartA } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -13454,7 +13140,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13463,7 +13148,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.Id = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13472,7 +13156,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13481,7 +13164,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.Status = types.ReadSetActivationJobStatus(jtv) } - default: _, _ = key, value @@ -13659,7 +13341,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.CreationTime = ptr.Time(t) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -13668,7 +13349,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Destination = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13677,7 +13357,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Id = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13686,7 +13365,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13695,7 +13373,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Status = types.ReadSetExportJobStatus(jtv) } - default: _, _ = key, value @@ -13873,7 +13550,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -13882,7 +13558,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13891,7 +13566,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.RoleArn = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13900,7 +13574,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13909,7 +13582,6 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.Status = types.ReadSetImportJobStatus(jtv) } - default: _, _ = key, value @@ -14087,7 +13759,6 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14096,7 +13767,6 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.Id = ptr.String(jtv) } - case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -14105,7 +13775,6 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.ReferenceStoreId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14114,7 +13783,6 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14123,7 +13791,6 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.Status = types.ReferenceImportJobStatus(jtv) } - default: _, _ = key, value @@ -14300,7 +13967,6 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14309,7 +13975,6 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Id = ptr.String(jtv) } - case "runOutputUri": if value != nil { jtv, ok := value.(string) @@ -14318,7 +13983,6 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.RunOutputUri = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14327,12 +13991,10 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Status = types.RunStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "uuid": if value != nil { jtv, ok := value.(string) @@ -14341,7 +14003,6 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Uuid = ptr.String(jtv) } - default: _, _ = key, value @@ -14512,7 +14173,6 @@ func awsRestjson1_deserializeOpDocumentStartVariantImportJobOutput(v **StartVari } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -14902,7 +14562,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -14911,7 +14570,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -14920,7 +14578,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14929,12 +14586,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14943,7 +14598,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Status = types.StoreStatus(jtv) } - case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -14952,12 +14606,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.StoreFormat = types.StoreFormat(jtv) } - case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -14970,7 +14622,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -15142,7 +14793,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15151,7 +14801,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15160,7 +14809,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15169,7 +14817,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15178,7 +14825,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Status = types.VersionStatus(jtv) } - case "storeId": if value != nil { jtv, ok := value.(string) @@ -15187,7 +14833,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.StoreId = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -15200,7 +14845,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.UpdateTime = ptr.Time(t) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -15209,7 +14853,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -15496,7 +15139,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -15505,7 +15147,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -15514,7 +15155,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15523,12 +15163,10 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15537,7 +15175,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Status = types.StoreStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -15550,7 +15187,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -15842,7 +15478,6 @@ func awsRestjson1_deserializeOpDocumentUploadReadSetPartOutput(v **UploadReadSet } sv.Checksum = ptr.String(jtv) } - default: _, _ = key, value @@ -16232,15 +15867,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16248,15 +15877,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16295,7 +15920,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -16308,7 +15932,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16317,7 +15940,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.Id = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -16326,7 +15948,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16335,7 +15956,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.Status = types.ReadSetActivationJobStatus(jtv) } - default: _, _ = key, value @@ -16409,7 +16029,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.ReadSetId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16418,7 +16037,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.Status = types.ReadSetActivationJobItemStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16427,7 +16045,6 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -16537,7 +16154,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportItemDetail(v **types.Annota } sv.JobStatus = types.JobStatus(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -16546,7 +16162,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportItemDetail(v **types.Annota } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -16616,7 +16231,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -16629,7 +16243,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -16642,7 +16255,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.CreationTime = ptr.Time(t) } - case "destinationName": if value != nil { jtv, ok := value.(string) @@ -16651,7 +16263,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.DestinationName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16660,7 +16271,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16669,7 +16279,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.RoleArn = ptr.String(jtv) } - case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -16678,7 +16287,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.RunLeftNormalization = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -16687,7 +16295,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.Status = types.JobStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -16700,7 +16307,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.UpdateTime = ptr.Time(t) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -16709,7 +16315,6 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -16787,7 +16392,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16796,7 +16400,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16805,7 +16408,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16814,17 +16416,14 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -16833,7 +16432,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Status = types.StoreStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16842,7 +16440,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StatusMessage = ptr.String(jtv) } - case "storeArn": if value != nil { jtv, ok := value.(string) @@ -16851,7 +16448,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreArn = ptr.String(jtv) } - case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -16860,7 +16456,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreFormat = types.StoreFormat(jtv) } - case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -16873,7 +16468,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreSizeBytes = ptr.Int64(i64) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -16886,7 +16480,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -16964,7 +16557,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16973,7 +16565,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16982,7 +16573,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -16991,7 +16581,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17000,7 +16589,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Status = types.VersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -17009,7 +16597,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.StatusMessage = ptr.String(jtv) } - case "storeId": if value != nil { jtv, ok := value.(string) @@ -17018,7 +16605,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.StoreId = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -17031,7 +16617,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.UpdateTime = ptr.Time(t) } - case "versionArn": if value != nil { jtv, ok := value.(string) @@ -17040,7 +16625,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionArn = ptr.String(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -17049,7 +16633,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionName = ptr.String(jtv) } - case "versionSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17062,7 +16645,6 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionSizeBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -17126,15 +16708,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17142,15 +16718,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17185,7 +16757,6 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Algorithm = types.ETagAlgorithm(jtv) } - case "source1": if value != nil { jtv, ok := value.(string) @@ -17194,7 +16765,6 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Source1 = ptr.String(jtv) } - case "source2": if value != nil { jtv, ok := value.(string) @@ -17203,7 +16773,6 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Source2 = ptr.String(jtv) } - default: _, _ = key, value @@ -17243,7 +16812,6 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17252,7 +16820,6 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.Status = types.ReadSetExportJobItemStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -17261,7 +16828,6 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -17339,7 +16905,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -17352,7 +16917,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.CreationTime = ptr.Time(t) } - case "destination": if value != nil { jtv, ok := value.(string) @@ -17361,7 +16925,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Destination = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17370,7 +16933,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Id = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17379,7 +16941,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17388,7 +16949,6 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Status = types.ReadSetExportJobStatus(jtv) } - default: _, _ = key, value @@ -17466,7 +17026,6 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.ContentLength = ptr.Int64(i64) } - case "partSize": if value != nil { jtv, ok := value.(json.Number) @@ -17479,12 +17038,10 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.PartSize = ptr.Int64(i64) } - case "s3Access": if err := awsRestjson1_deserializeDocumentReadSetS3Access(&sv.S3Access, value); err != nil { return err } - case "totalParts": if value != nil { jtv, ok := value.(json.Number) @@ -17497,7 +17054,6 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.TotalParts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17627,7 +17183,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -17640,7 +17195,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17649,7 +17203,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17658,7 +17211,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.RoleArn = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17667,7 +17219,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17676,7 +17227,6 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.Status = types.ReadSetImportJobStatus(jtv) } - default: _, _ = key, value @@ -17750,7 +17300,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Description = ptr.String(jtv) } - case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -17759,7 +17308,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.GeneratedFrom = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -17768,7 +17316,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Name = ptr.String(jtv) } - case "readSetId": if value != nil { jtv, ok := value.(string) @@ -17777,7 +17324,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.ReadSetId = ptr.String(jtv) } - case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -17786,7 +17332,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.ReferenceArn = ptr.String(jtv) } - case "sampleId": if value != nil { jtv, ok := value.(string) @@ -17795,12 +17340,10 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SampleId = ptr.String(jtv) } - case "sourceFiles": if err := awsRestjson1_deserializeDocumentSourceFiles(&sv.SourceFiles, value); err != nil { return err } - case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -17809,7 +17352,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SourceFileType = types.FileType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17818,7 +17360,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Status = types.ReadSetImportJobItemStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -17827,7 +17368,6 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.StatusMessage = ptr.String(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -17836,12 +17376,10 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SubjectId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17919,7 +17457,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -17932,7 +17469,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -17941,7 +17477,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.Id = ptr.String(jtv) } - case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17950,7 +17485,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.ReferenceStoreId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17959,7 +17493,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17968,7 +17501,6 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.Status = types.ReferenceImportJobStatus(jtv) } - default: _, _ = key, value @@ -18042,7 +17574,6 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18051,7 +17582,6 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Name = ptr.String(jtv) } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -18060,7 +17590,6 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.ReferenceId = ptr.String(jtv) } - case "sourceFile": if value != nil { jtv, ok := value.(string) @@ -18069,7 +17598,6 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.SourceFile = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18078,7 +17606,6 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Status = types.ReferenceImportJobItemStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -18087,12 +17614,10 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18156,15 +17681,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18172,15 +17691,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18253,7 +17768,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18262,7 +17776,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.Description = ptr.String(jtv) } - case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -18271,7 +17784,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.GeneratedFrom = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18280,7 +17792,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.Name = ptr.String(jtv) } - case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -18289,7 +17800,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.ReferenceArn = ptr.String(jtv) } - case "sampleId": if value != nil { jtv, ok := value.(string) @@ -18298,7 +17808,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SampleId = ptr.String(jtv) } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -18307,7 +17816,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SequenceStoreId = ptr.String(jtv) } - case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -18316,7 +17824,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SourceFileType = types.FileType(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -18325,12 +17832,10 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SubjectId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -18339,7 +17844,6 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -18369,15 +17873,9 @@ func awsRestjson1_deserializeDocumentNotSupportedOperationException(v **types.No sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18385,15 +17883,11 @@ func awsRestjson1_deserializeDocumentNotSupportedOperationException(v **types.No } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18418,15 +17912,9 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18434,15 +17922,11 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18477,7 +17961,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Comment = ptr.String(jtv) } - case "encoding": if value != nil { jtv, ok := value.(string) @@ -18486,7 +17969,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Encoding = ptr.String(jtv) } - case "escape": if value != nil { jtv, ok := value.(string) @@ -18495,7 +17977,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Escape = ptr.String(jtv) } - case "escapeQuotes": if value != nil { jtv, ok := value.(bool) @@ -18504,7 +17985,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.EscapeQuotes = jtv } - case "header": if value != nil { jtv, ok := value.(bool) @@ -18513,7 +17993,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Header = jtv } - case "lineSep": if value != nil { jtv, ok := value.(string) @@ -18522,7 +18001,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.LineSep = ptr.String(jtv) } - case "quote": if value != nil { jtv, ok := value.(string) @@ -18531,7 +18009,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Quote = ptr.String(jtv) } - case "quoteAll": if value != nil { jtv, ok := value.(bool) @@ -18540,7 +18017,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.QuoteAll = jtv } - case "sep": if value != nil { jtv, ok := value.(string) @@ -18549,7 +18025,6 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Sep = ptr.String(jtv) } - default: _, _ = key, value @@ -18589,7 +18064,6 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Code = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18598,7 +18072,6 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Id = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -18607,7 +18080,6 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -18677,17 +18149,14 @@ func awsRestjson1_deserializeDocumentReadSetFiles(v **types.ReadSetFiles, value if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Index, value); err != nil { return err } - case "source1": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source1, value); err != nil { return err } - case "source2": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source2, value); err != nil { return err } - default: _, _ = key, value @@ -18761,7 +18230,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -18774,7 +18242,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.CreationTime = ptr.Time(t) } - case "creationType": if value != nil { jtv, ok := value.(string) @@ -18783,7 +18250,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.CreationType = types.CreationType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -18792,12 +18258,10 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Description = ptr.String(jtv) } - case "etag": if err := awsRestjson1_deserializeDocumentETag(&sv.Etag, value); err != nil { return err } - case "fileType": if value != nil { jtv, ok := value.(string) @@ -18806,7 +18270,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.FileType = types.FileType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -18815,7 +18278,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -18824,7 +18286,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Name = ptr.String(jtv) } - case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -18833,7 +18294,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.ReferenceArn = ptr.String(jtv) } - case "sampleId": if value != nil { jtv, ok := value.(string) @@ -18842,12 +18302,10 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SampleId = ptr.String(jtv) } - case "sequenceInformation": if err := awsRestjson1_deserializeDocumentSequenceInformation(&sv.SequenceInformation, value); err != nil { return err } - case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -18856,7 +18314,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SequenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -18865,7 +18322,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Status = types.ReadSetStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -18874,7 +18330,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.StatusMessage = ptr.String(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -18883,7 +18338,6 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SubjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -18923,7 +18377,6 @@ func awsRestjson1_deserializeDocumentReadSetS3Access(v **types.ReadSetS3Access, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -18997,7 +18450,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.Checksum = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19010,7 +18462,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.CreationTime = ptr.Time(t) } - case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -19023,7 +18474,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.LastUpdatedTime = ptr.Time(t) } - case "partNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19036,7 +18486,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartNumber = ptr.Int32(int32(i64)) } - case "partSize": if value != nil { jtv, ok := value.(json.Number) @@ -19049,7 +18498,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartSize = ptr.Int64(i64) } - case "partSource": if value != nil { jtv, ok := value.(string) @@ -19058,7 +18506,6 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartSource = types.ReadSetPartSource(jtv) } - default: _, _ = key, value @@ -19094,12 +18541,10 @@ func awsRestjson1_deserializeDocumentReferenceFiles(v **types.ReferenceFiles, va if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Index, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -19215,7 +18660,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19228,7 +18672,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -19237,7 +18680,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19246,7 +18688,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Id = ptr.String(jtv) } - case "md5": if value != nil { jtv, ok := value.(string) @@ -19255,7 +18696,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Md5 = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19264,7 +18704,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Name = ptr.String(jtv) } - case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -19273,7 +18712,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.ReferenceStoreId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -19282,7 +18720,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Status = types.ReferenceStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -19295,7 +18732,6 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -19335,7 +18771,6 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19348,7 +18783,6 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -19357,7 +18791,6 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19366,7 +18799,6 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19375,12 +18807,10 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Name = ptr.String(jtv) } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -19444,15 +18874,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19460,15 +18884,11 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19493,15 +18913,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19509,15 +18923,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19586,7 +18996,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19599,7 +19008,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19608,7 +19016,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Id = ptr.String(jtv) } - case "maxCpus": if value != nil { jtv, ok := value.(json.Number) @@ -19621,7 +19028,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxCpus = ptr.Int32(int32(i64)) } - case "maxDuration": if value != nil { jtv, ok := value.(json.Number) @@ -19634,7 +19040,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxDuration = ptr.Int32(int32(i64)) } - case "maxGpus": if value != nil { jtv, ok := value.(json.Number) @@ -19647,7 +19052,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxGpus = ptr.Int32(int32(i64)) } - case "maxRuns": if value != nil { jtv, ok := value.(json.Number) @@ -19660,7 +19064,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxRuns = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19669,7 +19072,6 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19743,7 +19145,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19756,7 +19157,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.CreationTime = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -19765,7 +19165,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -19774,7 +19173,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -19787,7 +19185,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Priority = ptr.Int32(int32(i64)) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -19800,7 +19197,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -19809,7 +19205,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Status = types.RunStatus(jtv) } - case "stopTime": if value != nil { jtv, ok := value.(string) @@ -19822,7 +19217,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StopTime = ptr.Time(t) } - case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -19835,7 +19229,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StorageCapacity = ptr.Int32(int32(i64)) } - case "storageType": if value != nil { jtv, ok := value.(string) @@ -19844,7 +19237,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StorageType = types.StorageType(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -19853,7 +19245,6 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -19893,7 +19284,6 @@ func awsRestjson1_deserializeDocumentRunLogLocation(v **types.RunLogLocation, va } sv.EngineLogStream = ptr.String(jtv) } - case "runLogStream": if value != nil { jtv, ok := value.(string) @@ -19902,7 +19292,6 @@ func awsRestjson1_deserializeDocumentRunLogLocation(v **types.RunLogLocation, va } sv.RunLogStream = ptr.String(jtv) } - default: _, _ = key, value @@ -20054,7 +19443,6 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.Alignment = ptr.String(jtv) } - case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -20063,7 +19451,6 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.GeneratedFrom = ptr.String(jtv) } - case "totalBaseCount": if value != nil { jtv, ok := value.(json.Number) @@ -20076,7 +19463,6 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.TotalBaseCount = ptr.Int64(i64) } - case "totalReadCount": if value != nil { jtv, ok := value.(json.Number) @@ -20089,7 +19475,6 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.TotalReadCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -20129,7 +19514,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -20142,7 +19526,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -20151,7 +19534,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Description = ptr.String(jtv) } - case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -20160,7 +19542,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } - case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -20169,7 +19550,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.FallbackLocation = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -20178,7 +19558,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20187,12 +19566,10 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Name = ptr.String(jtv) } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - default: _, _ = key, value @@ -20266,7 +19643,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreS3Access(v **types.SequenceSto } sv.S3AccessPointArn = ptr.String(jtv) } - case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -20275,7 +19651,6 @@ func awsRestjson1_deserializeDocumentSequenceStoreS3Access(v **types.SequenceSto } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -20305,15 +19680,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20321,15 +19690,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20368,7 +19733,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.CreationTime = ptr.Time(t) } - case "ownerId": if value != nil { jtv, ok := value.(string) @@ -20377,7 +19741,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.OwnerId = ptr.String(jtv) } - case "principalSubscriber": if value != nil { jtv, ok := value.(string) @@ -20386,7 +19749,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.PrincipalSubscriber = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -20395,7 +19757,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20404,7 +19765,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ResourceId = ptr.String(jtv) } - case "shareId": if value != nil { jtv, ok := value.(string) @@ -20413,7 +19773,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ShareId = ptr.String(jtv) } - case "shareName": if value != nil { jtv, ok := value.(string) @@ -20422,7 +19781,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ShareName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20431,7 +19789,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.Status = types.ShareStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -20440,7 +19797,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.StatusMessage = ptr.String(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -20453,7 +19809,6 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -20527,7 +19882,6 @@ func awsRestjson1_deserializeDocumentSourceFiles(v **types.SourceFiles, value in } sv.Source1 = ptr.String(jtv) } - case "source2": if value != nil { jtv, ok := value.(string) @@ -20536,7 +19890,6 @@ func awsRestjson1_deserializeDocumentSourceFiles(v **types.SourceFiles, value in } sv.Source2 = ptr.String(jtv) } - default: _, _ = key, value @@ -20576,7 +19929,6 @@ func awsRestjson1_deserializeDocumentSseConfig(v **types.SseConfig, value interf } sv.KeyArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -20585,7 +19937,6 @@ func awsRestjson1_deserializeDocumentSseConfig(v **types.SseConfig, value interf } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -20739,7 +20090,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Cpus = ptr.Int32(int32(i64)) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -20752,7 +20102,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.CreationTime = ptr.Time(t) } - case "gpus": if value != nil { jtv, ok := value.(json.Number) @@ -20765,7 +20114,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Gpus = ptr.Int32(int32(i64)) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -20774,7 +20122,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.InstanceType = ptr.String(jtv) } - case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -20787,7 +20134,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Memory = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -20796,7 +20142,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Name = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -20809,7 +20154,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.StartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -20818,7 +20162,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Status = types.TaskStatus(jtv) } - case "stopTime": if value != nil { jtv, ok := value.(string) @@ -20831,7 +20174,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.StopTime = ptr.Time(t) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -20840,7 +20182,6 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -20870,15 +20211,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20886,15 +20221,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20925,7 +20256,6 @@ func awsRestjson1_deserializeDocumentTsvOptions(v **types.TsvOptions, value inte if err := awsRestjson1_deserializeDocumentReadOptions(&sv.ReadOptions, value); err != nil { return err } - default: _, _ = key, value @@ -20965,17 +20295,14 @@ func awsRestjson1_deserializeDocumentTsvStoreOptions(v **types.TsvStoreOptions, } sv.AnnotationType = types.AnnotationType(jtv) } - case "formatToHeader": if err := awsRestjson1_deserializeDocumentFormatToHeader(&sv.FormatToHeader, value); err != nil { return err } - case "schema": if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -21015,17 +20342,14 @@ func awsRestjson1_deserializeDocumentTsvVersionOptions(v **types.TsvVersionOptio } sv.AnnotationType = types.AnnotationType(jtv) } - case "formatToHeader": if err := awsRestjson1_deserializeDocumentFormatToHeader(&sv.FormatToHeader, value); err != nil { return err } - case "schema": if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -21055,15 +20379,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21071,15 +20389,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21114,7 +20428,6 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.JobStatus = types.JobStatus(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -21123,7 +20436,6 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.Source = ptr.String(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -21132,7 +20444,6 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -21202,7 +20513,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } - case "completionTime": if value != nil { jtv, ok := value.(string) @@ -21215,7 +20525,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.CompletionTime = ptr.Time(t) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -21228,7 +20537,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.CreationTime = ptr.Time(t) } - case "destinationName": if value != nil { jtv, ok := value.(string) @@ -21237,7 +20545,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.DestinationName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -21246,7 +20553,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.Id = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -21255,7 +20561,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.RoleArn = ptr.String(jtv) } - case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -21264,7 +20569,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.RunLeftNormalization = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -21273,7 +20577,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.Status = types.JobStatus(jtv) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -21286,7 +20589,6 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -21364,7 +20666,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -21373,7 +20674,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -21382,7 +20682,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -21391,17 +20690,14 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Name = ptr.String(jtv) } - case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } - case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -21410,7 +20706,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Status = types.StoreStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -21419,7 +20714,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StatusMessage = ptr.String(jtv) } - case "storeArn": if value != nil { jtv, ok := value.(string) @@ -21428,7 +20722,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StoreArn = ptr.String(jtv) } - case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21441,7 +20734,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StoreSizeBytes = ptr.Int64(i64) } - case "updateTime": if value != nil { jtv, ok := value.(string) @@ -21454,7 +20746,6 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -21528,7 +20819,6 @@ func awsRestjson1_deserializeDocumentVcfOptions(v **types.VcfOptions, value inte } sv.IgnoreFilterField = ptr.Bool(jtv) } - case "ignoreQualField": if value != nil { jtv, ok := value.(bool) @@ -21537,7 +20827,6 @@ func awsRestjson1_deserializeDocumentVcfOptions(v **types.VcfOptions, value inte } sv.IgnoreQualField = ptr.Bool(jtv) } - default: _, _ = key, value @@ -21577,7 +20866,6 @@ func awsRestjson1_deserializeDocumentVersionDeleteError(v **types.VersionDeleteE } sv.Message = ptr.String(jtv) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -21586,7 +20874,6 @@ func awsRestjson1_deserializeDocumentVersionDeleteError(v **types.VersionDeleteE } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -21734,7 +21021,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -21747,7 +21033,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.CreationTime = ptr.Time(t) } - case "digest": if value != nil { jtv, ok := value.(string) @@ -21756,7 +21041,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Digest = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -21765,12 +21049,10 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentWorkflowMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -21779,7 +21061,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -21788,7 +21069,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Status = types.WorkflowStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -21797,7 +21077,6 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Type = types.WorkflowType(jtv) } - default: _, _ = key, value @@ -21873,7 +21152,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Description = ptr.String(jtv) } - case "optional": if value != nil { jtv, ok := value.(bool) @@ -21882,7 +21160,6 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Optional = ptr.Bool(jtv) } - default: _, _ = key, value diff --git a/service/opensearch/deserializers.go b/service/opensearch/deserializers.go index 293ae1487c6..b2813a143ec 100644 --- a/service/opensearch/deserializers.go +++ b/service/opensearch/deserializers.go @@ -179,7 +179,6 @@ func awsRestjson1_deserializeOpDocumentAcceptInboundConnectionOutput(v **AcceptI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -353,7 +352,6 @@ func awsRestjson1_deserializeOpDocumentAddDataSourceOutput(v **AddDataSourceOutp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -623,7 +621,6 @@ func awsRestjson1_deserializeOpDocumentAssociatePackageOutput(v **AssociatePacka if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -790,7 +787,6 @@ func awsRestjson1_deserializeOpDocumentAuthorizeVpcEndpointAccessOutput(v **Auth if err := awsRestjson1_deserializeDocumentAuthorizedPrincipal(&sv.AuthorizedPrincipal, value); err != nil { return err } - default: _, _ = key, value @@ -954,12 +950,10 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel if err := awsRestjson1_deserializeDocumentGUIDList(&sv.CancelledChangeIds, value); err != nil { return err } - case "CancelledChangeProperties": if err := awsRestjson1_deserializeDocumentCancelledChangePropertyList(&sv.CancelledChangeProperties, value); err != nil { return err } - case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -968,7 +962,6 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel } sv.DryRun = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1129,7 +1122,6 @@ func awsRestjson1_deserializeOpDocumentCancelServiceSoftwareUpdateOutput(v **Can if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - default: _, _ = key, value @@ -1296,7 +1288,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1305,7 +1296,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1321,17 +1311,14 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1340,7 +1327,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1349,12 +1335,10 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - case "tagList": if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -1524,7 +1508,6 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -1689,7 +1672,6 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionAlias = ptr.String(jtv) } - case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -1698,7 +1680,6 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionId = ptr.String(jtv) } - case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -1707,27 +1688,22 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionMode = types.ConnectionMode(jtv) } - case "ConnectionProperties": if err := awsRestjson1_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } - case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } - case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -1897,7 +1873,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -2064,7 +2039,6 @@ func awsRestjson1_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -2341,7 +2315,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2502,7 +2475,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -2657,7 +2629,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInboundConnectionOutput(v **DeleteI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -2812,7 +2783,6 @@ func awsRestjson1_deserializeOpDocumentDeleteOutboundConnectionOutput(v **Delete if err := awsRestjson1_deserializeDocumentOutboundConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -2979,7 +2949,6 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -3140,7 +3109,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpointSummary(&sv.VpcEndpointSummary, value); err != nil { return err } - default: _, _ = key, value @@ -3301,7 +3269,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3462,7 +3429,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ if err := awsRestjson1_deserializeDocumentAutoTuneList(&sv.AutoTunes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3471,7 +3437,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3632,7 +3597,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainChangeProgressOutput(v **De if err := awsRestjson1_deserializeDocumentChangeProgressStatusDetails(&sv.ChangeProgressStatus, value); err != nil { return err } - default: _, _ = key, value @@ -3793,7 +3757,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigOutput(v **DescribeDo if err := awsRestjson1_deserializeDocumentDomainConfig(&sv.DomainConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3961,7 +3924,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.ActiveAvailabilityZoneCount = ptr.String(jtv) } - case "AvailabilityZoneCount": if value != nil { jtv, ok := value.(string) @@ -3970,7 +3932,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.AvailabilityZoneCount = ptr.String(jtv) } - case "ClusterHealth": if value != nil { jtv, ok := value.(string) @@ -3979,7 +3940,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.ClusterHealth = types.DomainHealth(jtv) } - case "DataNodeCount": if value != nil { jtv, ok := value.(string) @@ -3988,7 +3948,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DataNodeCount = ptr.String(jtv) } - case "DedicatedMaster": if value != nil { jtv, ok := value.(bool) @@ -3997,7 +3956,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DedicatedMaster = ptr.Bool(jtv) } - case "DomainState": if value != nil { jtv, ok := value.(string) @@ -4006,12 +3964,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DomainState = types.DomainState(jtv) } - case "EnvironmentInformation": if err := awsRestjson1_deserializeDocumentEnvironmentInfoList(&sv.EnvironmentInformation, value); err != nil { return err } - case "MasterEligibleNodeCount": if value != nil { jtv, ok := value.(string) @@ -4020,7 +3976,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.MasterEligibleNodeCount = ptr.String(jtv) } - case "MasterNode": if value != nil { jtv, ok := value.(string) @@ -4029,7 +3984,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.MasterNode = types.MasterNodeStatus(jtv) } - case "StandByAvailabilityZoneCount": if value != nil { jtv, ok := value.(string) @@ -4038,7 +3992,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.StandByAvailabilityZoneCount = ptr.String(jtv) } - case "TotalShards": if value != nil { jtv, ok := value.(string) @@ -4047,7 +4000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.TotalShards = ptr.String(jtv) } - case "TotalUnAssignedShards": if value != nil { jtv, ok := value.(string) @@ -4056,7 +4008,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.TotalUnAssignedShards = ptr.String(jtv) } - case "WarmNodeCount": if value != nil { jtv, ok := value.(string) @@ -4065,7 +4016,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.WarmNodeCount = ptr.String(jtv) } - default: _, _ = key, value @@ -4232,7 +4182,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainNodesOutput(v **DescribeDom if err := awsRestjson1_deserializeDocumentDomainNodesStatusList(&sv.DomainNodesStatusList, value); err != nil { return err } - default: _, _ = key, value @@ -4390,7 +4339,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainsOutput(v **DescribeDomains if err := awsRestjson1_deserializeDocumentDomainStatusList(&sv.DomainStatusList, value); err != nil { return err } - default: _, _ = key, value @@ -4554,17 +4502,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDryRunProgressOutput(v **Describe if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DryRunConfig, value); err != nil { return err } - case "DryRunProgressStatus": if err := awsRestjson1_deserializeDocumentDryRunProgressStatus(&sv.DryRunProgressStatus, value); err != nil { return err } - case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } - default: _, _ = key, value @@ -4719,7 +4664,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundConnectionsOutput(v **Desc if err := awsRestjson1_deserializeDocumentInboundConnections(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4728,7 +4672,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundConnectionsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4895,7 +4838,6 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceTypeLimitsOutput(v **Desc if err := awsRestjson1_deserializeDocumentLimitsByRole(&sv.LimitsByRole, value); err != nil { return err } - default: _, _ = key, value @@ -5050,7 +4992,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundConnectionsOutput(v **Des if err := awsRestjson1_deserializeDocumentOutboundConnections(&sv.Connections, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5059,7 +5000,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundConnectionsOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5227,12 +5167,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackagesOutput(v **DescribePackag } sv.NextToken = ptr.String(jtv) } - case "PackageDetailsList": if err := awsRestjson1_deserializeDocumentPackageDetailsList(&sv.PackageDetailsList, value); err != nil { return err } - default: _, _ = key, value @@ -5397,12 +5335,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedInstanceOfferingsOutput(v } sv.NextToken = ptr.String(jtv) } - case "ReservedInstanceOfferings": if err := awsRestjson1_deserializeDocumentReservedInstanceOfferingList(&sv.ReservedInstanceOfferings, value); err != nil { return err } - default: _, _ = key, value @@ -5567,12 +5503,10 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedInstancesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "ReservedInstances": if err := awsRestjson1_deserializeDocumentReservedInstanceList(&sv.ReservedInstances, value); err != nil { return err } - default: _, _ = key, value @@ -5733,12 +5667,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcEndpointsOutput(v **DescribeVp if err := awsRestjson1_deserializeDocumentVpcEndpointErrorList(&sv.VpcEndpointErrors, value); err != nil { return err } - case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpoints(&sv.VpcEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -5905,7 +5837,6 @@ func awsRestjson1_deserializeOpDocumentDissociatePackageOutput(v **DissociatePac if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -6072,7 +6003,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -6081,7 +6011,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6097,12 +6026,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6111,12 +6038,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Endpoint = ptr.String(jtv) } - case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6125,7 +6050,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6141,7 +6065,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6150,7 +6073,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6159,7 +6081,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationStatus(jtv) } - default: _, _ = key, value @@ -6323,7 +6244,6 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleVersionsOutput(v **GetCompat if err := awsRestjson1_deserializeDocumentCompatibleVersionsList(&sv.CompatibleVersions, value); err != nil { return err } - default: _, _ = key, value @@ -6490,7 +6410,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSourceType(&sv.DataSourceType, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6499,7 +6418,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6508,7 +6426,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6517,7 +6434,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -6685,7 +6601,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.Action = types.MaintenanceType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6701,7 +6616,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -6710,7 +6624,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.NodeId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6719,7 +6632,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.Status = types.MaintenanceStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -6728,7 +6640,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6744,7 +6655,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } } - default: _, _ = key, value @@ -6912,7 +6822,6 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.NextToken = ptr.String(jtv) } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -6921,12 +6830,10 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.PackageID = ptr.String(jtv) } - case "PackageVersionHistoryList": if err := awsRestjson1_deserializeDocumentPackageVersionHistoryList(&sv.PackageVersionHistoryList, value); err != nil { return err } - default: _, _ = key, value @@ -7094,12 +7001,10 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeHistoryOutput(v **GetUpgradeHis } sv.NextToken = ptr.String(jtv) } - case "UpgradeHistories": if err := awsRestjson1_deserializeDocumentUpgradeHistoryList(&sv.UpgradeHistories, value); err != nil { return err } - default: _, _ = key, value @@ -7267,7 +7172,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.StepStatus = types.UpgradeStatus(jtv) } - case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -7276,7 +7180,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeName = ptr.String(jtv) } - case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -7285,7 +7188,6 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeStep = types.UpgradeStep(jtv) } - default: _, _ = key, value @@ -7452,7 +7354,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7461,7 +7362,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7628,7 +7528,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceList(&sv.DataSources, value); err != nil { return err } - default: _, _ = key, value @@ -7792,7 +7691,6 @@ func awsRestjson1_deserializeOpDocumentListDomainMaintenancesOutput(v **ListDoma if err := awsRestjson1_deserializeDocumentDomainMaintenanceList(&sv.DomainMaintenances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7801,7 +7699,6 @@ func awsRestjson1_deserializeOpDocumentListDomainMaintenancesOutput(v **ListDoma } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7956,7 +7853,6 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainInfoList(&sv.DomainNames, value); err != nil { return err } - default: _, _ = key, value @@ -8120,7 +8016,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8129,7 +8024,6 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8290,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentListInstanceTypeDetailsOutput(v **ListIns if err := awsRestjson1_deserializeDocumentInstanceTypeDetailsList(&sv.InstanceTypeDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8299,7 +8192,6 @@ func awsRestjson1_deserializeOpDocumentListInstanceTypeDetailsOutput(v **ListIns } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8463,7 +8355,6 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8472,7 +8363,6 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8640,12 +8530,10 @@ func awsRestjson1_deserializeOpDocumentListScheduledActionsOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } - case "ScheduledActions": if err := awsRestjson1_deserializeDocumentScheduledActionsList(&sv.ScheduledActions, value); err != nil { return err } - default: _, _ = key, value @@ -8806,7 +8694,6 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -8971,12 +8858,10 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsRestjson1_deserializeDocumentVersionList(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -9137,7 +9022,6 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalList(&sv.AuthorizedPrincipalList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9146,7 +9030,6 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9308,12 +9191,10 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } - case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -9478,12 +9359,10 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsForDomainOutput(v **ListV } sv.NextToken = ptr.String(jtv) } - case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -9654,7 +9533,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedInstanceOfferingOutput(v } sv.ReservationName = ptr.String(jtv) } - case "ReservedInstanceId": if value != nil { jtv, ok := value.(string) @@ -9663,7 +9541,6 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedInstanceOfferingOutput(v } sv.ReservedInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -9818,7 +9695,6 @@ func awsRestjson1_deserializeOpDocumentRejectInboundConnectionOutput(v **RejectI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } - default: _, _ = key, value @@ -10186,7 +10062,6 @@ func awsRestjson1_deserializeOpDocumentStartDomainMaintenanceOutput(v **StartDom } sv.MaintenanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10347,7 +10222,6 @@ func awsRestjson1_deserializeOpDocumentStartServiceSoftwareUpdateOutput(v **Star if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - default: _, _ = key, value @@ -10517,7 +10391,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -10526,7 +10399,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10542,17 +10414,14 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10430,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10577,7 +10445,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10586,7 +10453,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10757,7 +10623,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10924,17 +10789,14 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigOutput(v **UpdateDomain if err := awsRestjson1_deserializeDocumentDomainConfig(&sv.DomainConfig, value); err != nil { return err } - case "DryRunProgressStatus": if err := awsRestjson1_deserializeDocumentDryRunProgressStatus(&sv.DryRunProgressStatus, value); err != nil { return err } - case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } - default: _, _ = key, value @@ -11101,7 +10963,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageOutput(v **UpdatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } - default: _, _ = key, value @@ -11271,7 +11132,6 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduledActionOutput(v **UpdateSch if err := awsRestjson1_deserializeDocumentScheduledAction(&sv.ScheduledAction, value); err != nil { return err } - default: _, _ = key, value @@ -11438,7 +11298,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -11605,12 +11464,10 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } - case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11619,7 +11476,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.DomainName = ptr.String(jtv) } - case "PerformCheckOnly": if value != nil { jtv, ok := value.(bool) @@ -11628,7 +11484,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.PerformCheckOnly = ptr.Bool(jtv) } - case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -11637,7 +11492,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.TargetVersion = ptr.String(jtv) } - case "UpgradeId": if value != nil { jtv, ok := value.(string) @@ -11646,7 +11500,6 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.UpgradeId = ptr.String(jtv) } - default: _, _ = key, value @@ -12144,15 +11997,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12160,15 +12007,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12203,12 +12046,10 @@ func awsRestjson1_deserializeDocumentAccessPoliciesStatus(v **types.AccessPolici } sv.Options = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12248,12 +12089,10 @@ func awsRestjson1_deserializeDocumentAdditionalLimit(v **types.AdditionalLimit, } sv.LimitName = ptr.String(jtv) } - case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } - default: _, _ = key, value @@ -12359,12 +12198,10 @@ func awsRestjson1_deserializeDocumentAdvancedOptionsStatus(v **types.AdvancedOpt if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12411,7 +12248,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } } - case "AnonymousAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -12420,7 +12256,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.AnonymousAuthEnabled = ptr.Bool(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -12429,7 +12264,6 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.Enabled = ptr.Bool(jtv) } - case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -12438,17 +12272,14 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } - case "JWTOptions": if err := awsRestjson1_deserializeDocumentJWTOptionsOutput(&sv.JWTOptions, value); err != nil { return err } - case "SAMLOptions": if err := awsRestjson1_deserializeDocumentSAMLOptionsOutput(&sv.SAMLOptions, value); err != nil { return err } - default: _, _ = key, value @@ -12484,12 +12315,10 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(v **types.Adv if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12525,7 +12354,6 @@ func awsRestjson1_deserializeDocumentAIMLOptionsOutput(v **types.AIMLOptionsOutp if err := awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput(&sv.NaturalLanguageQueryGenerationOptions, value); err != nil { return err } - default: _, _ = key, value @@ -12561,12 +12389,10 @@ func awsRestjson1_deserializeDocumentAIMLOptionsStatus(v **types.AIMLOptionsStat if err := awsRestjson1_deserializeDocumentAIMLOptionsOutput(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -12606,7 +12432,6 @@ func awsRestjson1_deserializeDocumentAppConfig(v **types.AppConfig, value interf } sv.Key = types.AppConfigType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -12615,7 +12440,6 @@ func awsRestjson1_deserializeDocumentAppConfig(v **types.AppConfig, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12723,7 +12547,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12739,7 +12562,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -12748,7 +12570,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12757,7 +12578,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12773,7 +12593,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12782,7 +12601,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12791,7 +12609,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Status = types.ApplicationStatus(jtv) } - default: _, _ = key, value @@ -12831,7 +12648,6 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.Principal = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -12840,7 +12656,6 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -12910,7 +12725,6 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac if err := awsRestjson1_deserializeDocumentAutoTuneDetails(&sv.AutoTuneDetails, value); err != nil { return err } - case "AutoTuneType": if value != nil { jtv, ok := value.(string) @@ -12919,7 +12733,6 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac } sv.AutoTuneType = types.AutoTuneType(jtv) } - default: _, _ = key, value @@ -12955,7 +12768,6 @@ func awsRestjson1_deserializeDocumentAutoTuneDetails(v **types.AutoTuneDetails, if err := awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(&sv.ScheduledAutoTuneDetails, value); err != nil { return err } - default: _, _ = key, value @@ -13029,12 +12841,10 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } sv.CronExpressionForRecurrence = ptr.String(jtv) } - case "Duration": if err := awsRestjson1_deserializeDocumentDuration(&sv.Duration, value); err != nil { return err } - case "StartAt": if value != nil { switch jtv := value.(type) { @@ -13050,7 +12860,6 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } } - default: _, _ = key, value @@ -13124,12 +12933,10 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.DesiredState = types.AutoTuneDesiredState(jtv) } - case "MaintenanceSchedules": if err := awsRestjson1_deserializeDocumentAutoTuneMaintenanceScheduleList(&sv.MaintenanceSchedules, value); err != nil { return err } - case "RollbackOnDisable": if value != nil { jtv, ok := value.(string) @@ -13138,7 +12945,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.RollbackOnDisable = types.RollbackOnDisable(jtv) } - case "UseOffPeakWindow": if value != nil { jtv, ok := value.(bool) @@ -13147,7 +12953,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.UseOffPeakWindow = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13187,7 +12992,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.ErrorMessage = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13196,7 +13000,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.State = types.AutoTuneState(jtv) } - case "UseOffPeakWindow": if value != nil { jtv, ok := value.(bool) @@ -13205,7 +13008,6 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.UseOffPeakWindow = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13241,12 +13043,10 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(v **types.AutoTuneOpt if err := awsRestjson1_deserializeDocumentAutoTuneOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentAutoTuneStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -13293,7 +13093,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13302,7 +13101,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.ErrorMessage = ptr.String(jtv) } - case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -13311,7 +13109,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.PendingDeletion = ptr.Bool(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13320,7 +13117,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.State = types.AutoTuneState(jtv) } - case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -13336,7 +13132,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } - case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -13349,7 +13144,6 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.UpdateVersion = int32(i64) } - default: _, _ = key, value @@ -13389,7 +13183,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.AvailabilityZoneName = ptr.String(jtv) } - case "AvailableDataNodeCount": if value != nil { jtv, ok := value.(string) @@ -13398,7 +13191,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.AvailableDataNodeCount = ptr.String(jtv) } - case "ConfiguredDataNodeCount": if value != nil { jtv, ok := value.(string) @@ -13407,7 +13199,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.ConfiguredDataNodeCount = ptr.String(jtv) } - case "TotalShards": if value != nil { jtv, ok := value.(string) @@ -13416,7 +13207,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.TotalShards = ptr.String(jtv) } - case "TotalUnAssignedShards": if value != nil { jtv, ok := value.(string) @@ -13425,7 +13215,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.TotalUnAssignedShards = ptr.String(jtv) } - case "ZoneStatus": if value != nil { jtv, ok := value.(string) @@ -13434,7 +13223,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.ZoneStatus = types.ZoneStatus(jtv) } - default: _, _ = key, value @@ -13544,7 +13332,6 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.DomainName = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -13553,7 +13340,6 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.OwnerId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -13562,7 +13348,6 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -13592,15 +13377,9 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13608,15 +13387,11 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13651,7 +13426,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.ActiveValue = ptr.String(jtv) } - case "CancelledValue": if value != nil { jtv, ok := value.(string) @@ -13660,7 +13434,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.CancelledValue = ptr.String(jtv) } - case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -13669,7 +13442,6 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.PropertyName = ptr.String(jtv) } - default: _, _ = key, value @@ -13743,7 +13515,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ChangeId = ptr.String(jtv) } - case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -13752,7 +13523,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } - case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -13761,7 +13531,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13777,7 +13546,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -13786,7 +13554,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.Message = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13802,7 +13569,6 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } - default: _, _ = key, value @@ -13842,7 +13608,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -13858,7 +13623,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13867,7 +13631,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13876,7 +13639,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -13950,17 +13712,14 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ChangeId = ptr.String(jtv) } - case "ChangeProgressStages": if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } - case "CompletedProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.CompletedProperties, value); err != nil { return err } - case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -13969,7 +13728,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } - case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -13978,7 +13736,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.InitiatedBy = types.InitiatedBy(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13994,12 +13751,10 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } - case "PendingProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingProperties, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14015,7 +13770,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14024,7 +13778,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.Status = types.OverallChangeStatus(jtv) } - case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -14037,7 +13790,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.TotalNumberOfStages = int32(i64) } - default: _, _ = key, value @@ -14073,7 +13825,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu if err := awsRestjson1_deserializeDocumentColdStorageOptions(&sv.ColdStorageOptions, value); err != nil { return err } - case "DedicatedMasterCount": if value != nil { jtv, ok := value.(json.Number) @@ -14086,7 +13837,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } - case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -14095,7 +13845,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } - case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -14104,7 +13853,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterType = types.OpenSearchPartitionInstanceType(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14117,7 +13865,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -14126,7 +13873,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } - case "MultiAZWithStandbyEnabled": if value != nil { jtv, ok := value.(bool) @@ -14135,12 +13881,10 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.MultiAZWithStandbyEnabled = ptr.Bool(jtv) } - case "NodeOptions": if err := awsRestjson1_deserializeDocumentNodeOptionsList(&sv.NodeOptions, value); err != nil { return err } - case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -14153,7 +13897,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmCount = ptr.Int32(int32(i64)) } - case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -14162,7 +13905,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmEnabled = ptr.Bool(jtv) } - case "WarmType": if value != nil { jtv, ok := value.(string) @@ -14171,12 +13913,10 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmType = types.OpenSearchWarmPartitionInstanceType(jtv) } - case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentZoneAwarenessConfig(&sv.ZoneAwarenessConfig, value); err != nil { return err } - case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -14185,7 +13925,6 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14221,12 +13960,10 @@ func awsRestjson1_deserializeDocumentClusterConfigStatus(v **types.ClusterConfig if err := awsRestjson1_deserializeDocumentClusterConfig(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -14266,7 +14003,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.Enabled = ptr.Bool(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -14275,7 +14011,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.IdentityPoolId = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -14284,7 +14019,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.RoleArn = ptr.String(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -14293,7 +14027,6 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -14329,12 +14062,10 @@ func awsRestjson1_deserializeDocumentCognitoOptionsStatus(v **types.CognitoOptio if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -14374,7 +14105,6 @@ func awsRestjson1_deserializeDocumentColdStorageOptions(v **types.ColdStorageOpt } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14448,12 +14178,10 @@ func awsRestjson1_deserializeDocumentCompatibleVersionsMap(v **types.CompatibleV } sv.SourceVersion = ptr.String(jtv) } - case "TargetVersions": if err := awsRestjson1_deserializeDocumentVersionList(&sv.TargetVersions, value); err != nil { return err } - default: _, _ = key, value @@ -14483,15 +14211,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14499,15 +14221,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14538,7 +14256,6 @@ func awsRestjson1_deserializeDocumentConnectionProperties(v **types.ConnectionPr if err := awsRestjson1_deserializeDocumentCrossClusterSearchConnectionProperties(&sv.CrossClusterSearch, value); err != nil { return err } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -14547,7 +14264,6 @@ func awsRestjson1_deserializeDocumentConnectionProperties(v **types.ConnectionPr } sv.Endpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -14587,7 +14303,6 @@ func awsRestjson1_deserializeDocumentCrossClusterSearchConnectionProperties(v ** } sv.SkipUnavailable = types.SkipUnavailableStatus(jtv) } - default: _, _ = key, value @@ -14627,7 +14342,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceArn = ptr.String(jtv) } - case "dataSourceDescription": if value != nil { jtv, ok := value.(string) @@ -14636,7 +14350,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -14672,7 +14385,6 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai if err := awsRestjson1_deserializeDocumentDataSourceType(&sv.DataSourceType, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14681,7 +14393,6 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14690,7 +14401,6 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14699,7 +14409,6 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Status = types.DataSourceStatus(jtv) } - default: _, _ = key, value @@ -14837,15 +14546,9 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14853,15 +14556,11 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14886,15 +14585,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14902,15 +14595,11 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14941,107 +14630,86 @@ func awsRestjson1_deserializeDocumentDomainConfig(v **types.DomainConfig, value if err := awsRestjson1_deserializeDocumentAccessPoliciesStatus(&sv.AccessPolicies, value); err != nil { return err } - case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptionsStatus(&sv.AdvancedOptions, value); err != nil { return err } - case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(&sv.AdvancedSecurityOptions, value); err != nil { return err } - case "AIMLOptions": if err := awsRestjson1_deserializeDocumentAIMLOptionsStatus(&sv.AIMLOptions, value); err != nil { return err } - case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(&sv.AutoTuneOptions, value); err != nil { return err } - case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "ClusterConfig": if err := awsRestjson1_deserializeDocumentClusterConfigStatus(&sv.ClusterConfig, value); err != nil { return err } - case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptionsStatus(&sv.CognitoOptions, value); err != nil { return err } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(&sv.DomainEndpointOptions, value); err != nil { return err } - case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptionsStatus(&sv.EBSOptions, value); err != nil { return err } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "EngineVersion": if err := awsRestjson1_deserializeDocumentVersionStatus(&sv.EngineVersion, value); err != nil { return err } - case "IdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIdentityCenterOptionsStatus(&sv.IdentityCenterOptions, value); err != nil { return err } - case "IPAddressType": if err := awsRestjson1_deserializeDocumentIPAddressTypeStatus(&sv.IPAddressType, value); err != nil { return err } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(&sv.LogPublishingOptions, value); err != nil { return err } - case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "OffPeakWindowOptions": if err := awsRestjson1_deserializeDocumentOffPeakWindowOptionsStatus(&sv.OffPeakWindowOptions, value); err != nil { return err } - case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptionsStatus(&sv.SnapshotOptions, value); err != nil { return err } - case "SoftwareUpdateOptions": if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptionsStatus(&sv.SoftwareUpdateOptions, value); err != nil { return err } - case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(&sv.VPCOptions, value); err != nil { return err } - default: _, _ = key, value @@ -15081,7 +14749,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpoint = ptr.String(jtv) } - case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -15090,7 +14757,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointCertificateArn = ptr.String(jtv) } - case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -15099,7 +14765,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointEnabled = ptr.Bool(jtv) } - case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -15108,7 +14773,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.EnforceHTTPS = ptr.Bool(jtv) } - case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -15117,7 +14781,6 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.TLSSecurityPolicy = types.TLSSecurityPolicy(jtv) } - default: _, _ = key, value @@ -15153,12 +14816,10 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(v **types.Domai if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -15198,7 +14859,6 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.DomainName = ptr.String(jtv) } - case "EngineType": if value != nil { jtv, ok := value.(string) @@ -15207,7 +14867,6 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.EngineType = types.EngineType(jtv) } - default: _, _ = key, value @@ -15277,7 +14936,6 @@ func awsRestjson1_deserializeDocumentDomainInformationContainer(v **types.Domain if err := awsRestjson1_deserializeDocumentAWSDomainInformation(&sv.AWSDomainInformation, value); err != nil { return err } - default: _, _ = key, value @@ -15317,7 +14975,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.Action = types.MaintenanceType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15333,7 +14990,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -15342,7 +14998,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.DomainName = ptr.String(jtv) } - case "MaintenanceId": if value != nil { jtv, ok := value.(string) @@ -15351,7 +15006,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.MaintenanceId = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -15360,7 +15014,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.NodeId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15369,7 +15022,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.Status = types.MaintenanceStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -15378,7 +15030,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15394,7 +15045,6 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } } - default: _, _ = key, value @@ -15468,7 +15118,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.AvailabilityZone = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -15477,7 +15126,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -15486,7 +15134,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeId = ptr.String(jtv) } - case "NodeStatus": if value != nil { jtv, ok := value.(string) @@ -15495,7 +15142,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeStatus = types.NodeStatus(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -15504,7 +15150,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeType = types.NodeType(jtv) } - case "StorageSize": if value != nil { jtv, ok := value.(string) @@ -15513,7 +15158,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageSize = ptr.String(jtv) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -15522,7 +15166,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageType = ptr.String(jtv) } - case "StorageVolumeType": if value != nil { jtv, ok := value.(string) @@ -15531,7 +15174,6 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageVolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -15605,7 +15247,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainName = ptr.String(jtv) } - case "DomainPackageStatus": if value != nil { jtv, ok := value.(string) @@ -15614,12 +15255,10 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainPackageStatus = types.DomainPackageStatus(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -15635,7 +15274,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -15644,7 +15282,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageID = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -15653,7 +15290,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageName = ptr.String(jtv) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -15662,7 +15298,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageType = types.PackageType(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -15671,7 +15306,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageVersion = ptr.String(jtv) } - case "ReferencePath": if value != nil { jtv, ok := value.(string) @@ -15680,7 +15314,6 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.ReferencePath = ptr.String(jtv) } - default: _, _ = key, value @@ -15754,22 +15387,18 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.AccessPolicies = ptr.String(jtv) } - case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } - case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.AdvancedSecurityOptions, value); err != nil { return err } - case "AIMLOptions": if err := awsRestjson1_deserializeDocumentAIMLOptionsOutput(&sv.AIMLOptions, value); err != nil { return err } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -15778,27 +15407,22 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.ARN = ptr.String(jtv) } - case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(&sv.AutoTuneOptions, value); err != nil { return err } - case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } - case "ClusterConfig": if err := awsRestjson1_deserializeDocumentClusterConfig(&sv.ClusterConfig, value); err != nil { return err } - case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.CognitoOptions, value); err != nil { return err } - case "Created": if value != nil { jtv, ok := value.(bool) @@ -15807,7 +15431,6 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Created = ptr.Bool(jtv) } - case "Deleted": if value != nil { jtv, ok := value.(bool) @@ -15816,12 +15439,10 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Deleted = ptr.Bool(jtv) } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } - case "DomainEndpointV2HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -15830,7 +15451,6 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainEndpointV2HostedZoneId = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -15839,7 +15459,6 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -15848,7 +15467,6 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainName = ptr.String(jtv) } - case "DomainProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -15857,17 +15475,14 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainProcessingStatus = types.DomainProcessingStatusType(jtv) } - case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.EBSOptions, value); err != nil { return err } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -15876,12 +15491,10 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Endpoint = ptr.String(jtv) } - case "Endpoints": if err := awsRestjson1_deserializeDocumentEndpointsMap(&sv.Endpoints, value); err != nil { return err } - case "EndpointV2": if value != nil { jtv, ok := value.(string) @@ -15890,7 +15503,6 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.EndpointV2 = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -15899,12 +15511,10 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.EngineVersion = ptr.String(jtv) } - case "IdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIdentityCenterOptions(&sv.IdentityCenterOptions, value); err != nil { return err } - case "IPAddressType": if value != nil { jtv, ok := value.(string) @@ -15913,27 +15523,22 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.IPAddressType = types.IPAddressType(jtv) } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } - case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "OffPeakWindowOptions": if err := awsRestjson1_deserializeDocumentOffPeakWindowOptions(&sv.OffPeakWindowOptions, value); err != nil { return err } - case "Processing": if value != nil { jtv, ok := value.(bool) @@ -15942,22 +15547,18 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Processing = ptr.Bool(jtv) } - case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.SnapshotOptions, value); err != nil { return err } - case "SoftwareUpdateOptions": if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptions(&sv.SoftwareUpdateOptions, value); err != nil { return err } - case "UpgradeProcessing": if value != nil { jtv, ok := value.(bool) @@ -15966,12 +15567,10 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.UpgradeProcessing = ptr.Bool(jtv) } - case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VPCOptions, value); err != nil { return err } - default: _, _ = key, value @@ -16045,7 +15644,6 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.CreationDate = ptr.String(jtv) } - case "DryRunId": if value != nil { jtv, ok := value.(string) @@ -16054,7 +15652,6 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.DryRunId = ptr.String(jtv) } - case "DryRunStatus": if value != nil { jtv, ok := value.(string) @@ -16063,7 +15660,6 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.DryRunStatus = ptr.String(jtv) } - case "UpdateDate": if value != nil { jtv, ok := value.(string) @@ -16072,12 +15668,10 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.UpdateDate = ptr.String(jtv) } - case "ValidationFailures": if err := awsRestjson1_deserializeDocumentValidationFailures(&sv.ValidationFailures, value); err != nil { return err } - default: _, _ = key, value @@ -16117,7 +15711,6 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.DeploymentType = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -16126,7 +15719,6 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -16166,7 +15758,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.TimeUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -16179,7 +15770,6 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -16219,7 +15809,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.EBSEnabled = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -16232,7 +15821,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Iops = ptr.Int32(int32(i64)) } - case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16245,7 +15833,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Throughput = ptr.Int32(int32(i64)) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -16258,7 +15845,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -16267,7 +15853,6 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -16303,12 +15888,10 @@ func awsRestjson1_deserializeDocumentEBSOptionsStatus(v **types.EBSOptionsStatus if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -16348,7 +15931,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.Enabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16357,7 +15939,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -16393,12 +15974,10 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(v **types.Enc if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -16470,7 +16049,6 @@ func awsRestjson1_deserializeDocumentEnvironmentInfo(v **types.EnvironmentInfo, if err := awsRestjson1_deserializeDocumentAvailabilityZoneInfoList(&sv.AvailabilityZoneInformation, value); err != nil { return err } - default: _, _ = key, value @@ -16544,7 +16122,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -16553,7 +16130,6 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorType = ptr.String(jtv) } - default: _, _ = key, value @@ -16629,7 +16205,6 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.Enabled = ptr.Bool(jtv) } - case "iamIdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -16638,7 +16213,6 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamIdentityCenterApplicationArn = ptr.String(jtv) } - case "iamIdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -16647,7 +16221,6 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamIdentityCenterInstanceArn = ptr.String(jtv) } - case "iamRoleForIdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -16656,7 +16229,6 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamRoleForIdentityCenterApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16696,7 +16268,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.EnabledAPIAccess = ptr.Bool(jtv) } - case "IdentityCenterApplicationARN": if value != nil { jtv, ok := value.(string) @@ -16705,7 +16276,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityCenterApplicationARN = ptr.String(jtv) } - case "IdentityCenterInstanceARN": if value != nil { jtv, ok := value.(string) @@ -16714,7 +16284,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityCenterInstanceARN = ptr.String(jtv) } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -16723,7 +16292,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityStoreId = ptr.String(jtv) } - case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -16732,7 +16300,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.RolesKey = types.RolesKeyIdCOption(jtv) } - case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -16741,7 +16308,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.SubjectKey = types.SubjectKeyIdCOption(jtv) } - default: _, _ = key, value @@ -16777,12 +16343,10 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptionsStatus(v **types.Ident if err := awsRestjson1_deserializeDocumentIdentityCenterOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -16822,7 +16386,6 @@ func awsRestjson1_deserializeDocumentInboundConnection(v **types.InboundConnecti } sv.ConnectionId = ptr.String(jtv) } - case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -16831,22 +16394,18 @@ func awsRestjson1_deserializeDocumentInboundConnection(v **types.InboundConnecti } sv.ConnectionMode = types.ConnectionMode(jtv) } - case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentInboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } - case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -16920,7 +16479,6 @@ func awsRestjson1_deserializeDocumentInboundConnectionStatus(v **types.InboundCo } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -16929,7 +16487,6 @@ func awsRestjson1_deserializeDocumentInboundConnectionStatus(v **types.InboundCo } sv.StatusCode = types.InboundConnectionStatusCode(jtv) } - default: _, _ = key, value @@ -16973,7 +16530,6 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MaximumInstanceCount = int32(i64) } - case "MinimumInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -16986,7 +16542,6 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MinimumInstanceCount = int32(i64) } - default: _, _ = key, value @@ -17022,7 +16577,6 @@ func awsRestjson1_deserializeDocumentInstanceLimits(v **types.InstanceLimits, va if err := awsRestjson1_deserializeDocumentInstanceCountLimits(&sv.InstanceCountLimits, value); err != nil { return err } - default: _, _ = key, value @@ -17098,7 +16652,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.AdvancedSecurityEnabled = ptr.Bool(jtv) } - case "AppLogsEnabled": if value != nil { jtv, ok := value.(bool) @@ -17107,12 +16660,10 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.AppLogsEnabled = ptr.Bool(jtv) } - case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } - case "CognitoEnabled": if value != nil { jtv, ok := value.(bool) @@ -17121,7 +16672,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.CognitoEnabled = ptr.Bool(jtv) } - case "EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17130,12 +16680,10 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.EncryptionEnabled = ptr.Bool(jtv) } - case "InstanceRole": if err := awsRestjson1_deserializeDocumentInstanceRoleList(&sv.InstanceRole, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -17144,7 +16692,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } - case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -17153,7 +16700,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.WarmEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -17217,15 +16763,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17233,15 +16773,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17266,15 +16802,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17282,15 +16812,11 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17315,15 +16841,9 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17331,15 +16851,11 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17374,12 +16890,10 @@ func awsRestjson1_deserializeDocumentIPAddressTypeStatus(v **types.IPAddressType } sv.Options = types.IPAddressType(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -17455,7 +16969,6 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.Enabled = ptr.Bool(jtv) } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -17464,7 +16977,6 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.PublicKey = ptr.String(jtv) } - case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -17473,7 +16985,6 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.RolesKey = ptr.String(jtv) } - case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -17482,7 +16993,6 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.SubjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -17512,15 +17022,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17528,15 +17032,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17567,17 +17067,14 @@ func awsRestjson1_deserializeDocumentLimits(v **types.Limits, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalLimitList(&sv.AdditionalLimits, value); err != nil { return err } - case "InstanceLimits": if err := awsRestjson1_deserializeDocumentInstanceLimits(&sv.InstanceLimits, value); err != nil { return err } - case "StorageTypes": if err := awsRestjson1_deserializeDocumentStorageTypeList(&sv.StorageTypes, value); err != nil { return err } - default: _, _ = key, value @@ -17688,7 +17185,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17697,7 +17193,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -17768,12 +17263,10 @@ func awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(v **types.LogPub if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -17813,7 +17306,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ActiveValue = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17822,7 +17314,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.Name = ptr.String(jtv) } - case "PendingValue": if value != nil { jtv, ok := value.(string) @@ -17831,7 +17322,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.PendingValue = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -17840,7 +17330,6 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ValueType = types.PropertyValueType(jtv) } - default: _, _ = key, value @@ -17914,7 +17403,6 @@ func awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput } sv.CurrentState = types.NaturalLanguageQueryGenerationCurrentState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -17923,7 +17411,6 @@ func awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput } sv.DesiredState = types.NaturalLanguageQueryGenerationDesiredState(jtv) } - default: _, _ = key, value @@ -17967,7 +17454,6 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Count = ptr.Int32(int32(i64)) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17976,7 +17462,6 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Enabled = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17985,7 +17470,6 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Type = types.OpenSearchPartitionInstanceType(jtv) } - default: _, _ = key, value @@ -18021,7 +17505,6 @@ func awsRestjson1_deserializeDocumentNodeOption(v **types.NodeOption, value inte if err := awsRestjson1_deserializeDocumentNodeConfig(&sv.NodeConfig, value); err != nil { return err } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -18030,7 +17513,6 @@ func awsRestjson1_deserializeDocumentNodeOption(v **types.NodeOption, value inte } sv.NodeType = types.NodeOptionsNodeType(jtv) } - default: _, _ = key, value @@ -18104,7 +17586,6 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(v **types.NodeT } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -18140,12 +17621,10 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(v **types if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -18181,7 +17660,6 @@ func awsRestjson1_deserializeDocumentOffPeakWindow(v **types.OffPeakWindow, valu if err := awsRestjson1_deserializeDocumentWindowStartTime(&sv.WindowStartTime, value); err != nil { return err } - default: _, _ = key, value @@ -18221,12 +17699,10 @@ func awsRestjson1_deserializeDocumentOffPeakWindowOptions(v **types.OffPeakWindo } sv.Enabled = ptr.Bool(jtv) } - case "OffPeakWindow": if err := awsRestjson1_deserializeDocumentOffPeakWindow(&sv.OffPeakWindow, value); err != nil { return err } - default: _, _ = key, value @@ -18262,12 +17738,10 @@ func awsRestjson1_deserializeDocumentOffPeakWindowOptionsStatus(v **types.OffPea if err := awsRestjson1_deserializeDocumentOffPeakWindowOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -18314,7 +17788,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } - case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -18323,7 +17796,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.PendingDeletion = ptr.Bool(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18332,7 +17804,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.State = types.OptionState(jtv) } - case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -18348,7 +17819,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } - case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -18361,7 +17831,6 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.UpdateVersion = int32(i64) } - default: _, _ = key, value @@ -18401,7 +17870,6 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionAlias = ptr.String(jtv) } - case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -18410,7 +17878,6 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionId = ptr.String(jtv) } - case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -18419,27 +17886,22 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionMode = types.ConnectionMode(jtv) } - case "ConnectionProperties": if err := awsRestjson1_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } - case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } - case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } - case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -18513,7 +17975,6 @@ func awsRestjson1_deserializeDocumentOutboundConnectionStatus(v **types.Outbound } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -18522,7 +17983,6 @@ func awsRestjson1_deserializeDocumentOutboundConnectionStatus(v **types.Outbound } sv.StatusCode = types.OutboundConnectionStatusCode(jtv) } - default: _, _ = key, value @@ -18562,12 +18022,10 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.AvailablePackageVersion = ptr.String(jtv) } - case "AvailablePluginProperties": if err := awsRestjson1_deserializeDocumentPluginProperties(&sv.AvailablePluginProperties, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18583,7 +18041,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -18592,12 +18049,10 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.EngineVersion = ptr.String(jtv) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -18613,7 +18068,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } - case "PackageDescription": if value != nil { jtv, ok := value.(string) @@ -18622,7 +18076,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageDescription = ptr.String(jtv) } - case "PackageID": if value != nil { jtv, ok := value.(string) @@ -18631,7 +18084,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageID = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -18640,7 +18092,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageName = ptr.String(jtv) } - case "PackageStatus": if value != nil { jtv, ok := value.(string) @@ -18649,7 +18100,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageStatus = types.PackageStatus(jtv) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -18658,7 +18108,6 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageType = types.PackageType(jtv) } - default: _, _ = key, value @@ -18732,7 +18181,6 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.CommitMessage = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18748,7 +18196,6 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -18757,12 +18204,10 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.PackageVersion = ptr.String(jtv) } - case "PluginProperties": if err := awsRestjson1_deserializeDocumentPluginProperties(&sv.PluginProperties, value); err != nil { return err } - default: _, _ = key, value @@ -18836,7 +18281,6 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.ClassName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18845,7 +18289,6 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18854,7 +18297,6 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Name = ptr.String(jtv) } - case "UncompressedSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18867,7 +18309,6 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.UncompressedSizeInBytes = ptr.Int64(i64) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -18876,7 +18317,6 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -18941,7 +18381,6 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } - case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -18950,7 +18389,6 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } - default: _, _ = key, value @@ -19028,7 +18466,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.BillingSubscriptionId = ptr.Int64(i64) } - case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -19037,7 +18474,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.CurrencyCode = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -19050,7 +18486,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.Duration = int32(i64) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -19084,7 +18519,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -19097,7 +18531,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.InstanceCount = int32(i64) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -19106,7 +18539,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -19115,12 +18547,10 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.PaymentOption = types.ReservedInstancePaymentOption(jtv) } - case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservationName": if value != nil { jtv, ok := value.(string) @@ -19129,7 +18559,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservationName = ptr.String(jtv) } - case "ReservedInstanceId": if value != nil { jtv, ok := value.(string) @@ -19138,7 +18567,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservedInstanceId = ptr.String(jtv) } - case "ReservedInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -19147,7 +18575,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservedInstanceOfferingId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -19163,7 +18590,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } - case "State": if value != nil { jtv, ok := value.(string) @@ -19172,7 +18598,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.State = ptr.String(jtv) } - case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -19206,7 +18631,6 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } - default: _, _ = key, value @@ -19280,7 +18704,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.CurrencyCode = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -19293,7 +18716,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.Duration = int32(i64) } - case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -19327,7 +18749,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -19336,7 +18757,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -19345,12 +18765,10 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.PaymentOption = types.ReservedInstancePaymentOption(jtv) } - case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } - case "ReservedInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -19359,7 +18777,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.ReservedInstanceOfferingId = ptr.String(jtv) } - case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -19393,7 +18810,6 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } } - default: _, _ = key, value @@ -19457,15 +18873,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19473,15 +18883,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19506,15 +18912,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19522,15 +18922,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19565,7 +18961,6 @@ func awsRestjson1_deserializeDocumentS3GlueDataCatalog(v **types.S3GlueDataCatal } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19605,7 +19000,6 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.EntityId = ptr.String(jtv) } - case "MetadataContent": if value != nil { jtv, ok := value.(string) @@ -19614,7 +19008,6 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.MetadataContent = ptr.String(jtv) } - default: _, _ = key, value @@ -19654,12 +19047,10 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.Enabled = ptr.Bool(jtv) } - case "Idp": if err := awsRestjson1_deserializeDocumentSAMLIdp(&sv.Idp, value); err != nil { return err } - case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -19668,7 +19059,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.RolesKey = ptr.String(jtv) } - case "SessionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -19681,7 +19071,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SessionTimeoutMinutes = ptr.Int32(int32(i64)) } - case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -19690,7 +19079,6 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SubjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -19730,7 +19118,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Cancellable = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19739,7 +19126,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -19748,7 +19134,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Id = ptr.String(jtv) } - case "Mandatory": if value != nil { jtv, ok := value.(bool) @@ -19757,7 +19142,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Mandatory = ptr.Bool(jtv) } - case "ScheduledBy": if value != nil { jtv, ok := value.(string) @@ -19766,7 +19150,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledBy = types.ScheduledBy(jtv) } - case "ScheduledTime": if value != nil { jtv, ok := value.(json.Number) @@ -19779,7 +19162,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledTime = ptr.Int64(i64) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -19788,7 +19170,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Severity = types.ActionSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19797,7 +19178,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Status = types.ActionStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19806,7 +19186,6 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Type = types.ActionType(jtv) } - default: _, _ = key, value @@ -19880,7 +19259,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Action = ptr.String(jtv) } - case "ActionType": if value != nil { jtv, ok := value.(string) @@ -19889,7 +19267,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.ActionType = types.ScheduledAutoTuneActionType(jtv) } - case "Date": if value != nil { switch jtv := value.(type) { @@ -19905,7 +19282,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -19914,7 +19290,6 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Severity = types.ScheduledAutoTuneSeverityType(jtv) } - default: _, _ = key, value @@ -19961,7 +19336,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } } - case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -19970,7 +19344,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Cancellable = ptr.Bool(jtv) } - case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -19979,7 +19352,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.CurrentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19988,7 +19360,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Description = ptr.String(jtv) } - case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -19997,7 +19368,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.NewVersion = ptr.String(jtv) } - case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -20006,7 +19376,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.OptionalDeployment = ptr.Bool(jtv) } - case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -20015,7 +19384,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateAvailable = ptr.Bool(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -20024,7 +19392,6 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateStatus = types.DeploymentStatus(jtv) } - default: _, _ = key, value @@ -20094,15 +19461,9 @@ func awsRestjson1_deserializeDocumentSlotNotAvailableException(v **types.SlotNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20110,20 +19471,15 @@ func awsRestjson1_deserializeDocumentSlotNotAvailableException(v **types.SlotNot } sv.Message = ptr.String(jtv) } - case "SlotSuggestions": if err := awsRestjson1_deserializeDocumentSlotList(&sv.SlotSuggestions, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20162,7 +19518,6 @@ func awsRestjson1_deserializeDocumentSnapshotOptions(v **types.SnapshotOptions, } sv.AutomatedSnapshotStartHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20198,12 +19553,10 @@ func awsRestjson1_deserializeDocumentSnapshotOptionsStatus(v **types.SnapshotOpt if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -20243,7 +19596,6 @@ func awsRestjson1_deserializeDocumentSoftwareUpdateOptions(v **types.SoftwareUpd } sv.AutoSoftwareUpdateEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -20279,12 +19631,10 @@ func awsRestjson1_deserializeDocumentSoftwareUpdateOptionsStatus(v **types.Softw if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptions(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -20324,12 +19674,10 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageSubTypeName = ptr.String(jtv) } - case "StorageTypeLimits": if err := awsRestjson1_deserializeDocumentStorageTypeLimitList(&sv.StorageTypeLimits, value); err != nil { return err } - case "StorageTypeName": if value != nil { jtv, ok := value.(string) @@ -20338,7 +19686,6 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageTypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -20378,12 +19725,10 @@ func awsRestjson1_deserializeDocumentStorageTypeLimit(v **types.StorageTypeLimit } sv.LimitName = ptr.String(jtv) } - case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } - default: _, _ = key, value @@ -20527,7 +19872,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -20536,7 +19880,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -20617,12 +19960,10 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } } - case "StepsList": if err := awsRestjson1_deserializeDocumentUpgradeStepsList(&sv.StepsList, value); err != nil { return err } - case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -20631,7 +19972,6 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeName = ptr.String(jtv) } - case "UpgradeStatus": if value != nil { jtv, ok := value.(string) @@ -20640,7 +19980,6 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeStatus = types.UpgradeStatus(jtv) } - default: _, _ = key, value @@ -20710,7 +20049,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } - case "ProgressPercent": if value != nil { switch jtv := value.(type) { @@ -20744,7 +20082,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } } - case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -20753,7 +20090,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStep = types.UpgradeStep(jtv) } - case "UpgradeStepStatus": if value != nil { jtv, ok := value.(string) @@ -20762,7 +20098,6 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStepStatus = types.UpgradeStatus(jtv) } - default: _, _ = key, value @@ -20826,15 +20161,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20842,15 +20171,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20885,7 +20210,6 @@ func awsRestjson1_deserializeDocumentValidationFailure(v **types.ValidationFailu } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -20894,7 +20218,6 @@ func awsRestjson1_deserializeDocumentValidationFailure(v **types.ValidationFailu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -21004,12 +20327,10 @@ func awsRestjson1_deserializeDocumentVersionStatus(v **types.VersionStatus, valu } sv.Options = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -21045,17 +20366,14 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -21064,7 +20382,6 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -21100,12 +20417,10 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(v **types.VPCDerivedIn if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.Options, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -21145,7 +20460,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.DomainArn = ptr.String(jtv) } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -21154,7 +20468,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Endpoint = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21163,7 +20476,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Status = types.VpcEndpointStatus(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -21172,7 +20484,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -21181,12 +20492,10 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointOwner = ptr.String(jtv) } - case "VpcOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VpcOptions, value); err != nil { return err } - default: _, _ = key, value @@ -21226,7 +20535,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorCode = types.VpcEndpointErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21235,7 +20543,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorMessage = ptr.String(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -21244,7 +20551,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.VpcEndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -21352,7 +20658,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.DomainArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21361,7 +20666,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -21370,7 +20674,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -21379,7 +20682,6 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointOwner = ptr.String(jtv) } - default: _, _ = key, value @@ -21457,7 +20759,6 @@ func awsRestjson1_deserializeDocumentWindowStartTime(v **types.WindowStartTime, } sv.Hours = i64 } - case "Minutes": if value != nil { jtv, ok := value.(json.Number) @@ -21470,7 +20771,6 @@ func awsRestjson1_deserializeDocumentWindowStartTime(v **types.WindowStartTime, } sv.Minutes = i64 } - default: _, _ = key, value @@ -21514,7 +20814,6 @@ func awsRestjson1_deserializeDocumentZoneAwarenessConfig(v **types.ZoneAwareness } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/opensearchserverless/deserializers.go b/service/opensearchserverless/deserializers.go index a472cee5378..f14b5d31d01 100644 --- a/service/opensearchserverless/deserializers.go +++ b/service/opensearchserverless/deserializers.go @@ -4628,7 +4628,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4637,7 +4636,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -4650,7 +4648,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4659,12 +4656,10 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Name = ptr.String(jtv) } - case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -4673,7 +4668,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4682,7 +4676,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Type = types.AccessPolicyType(jtv) } - default: _, _ = key, value @@ -4726,7 +4719,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicyStats(v **types.AccessPolicySta } sv.DataPolicyCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -4804,7 +4796,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4813,7 +4804,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -4826,7 +4816,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4835,7 +4824,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Name = ptr.String(jtv) } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -4844,7 +4832,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4853,7 +4840,6 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Type = types.AccessPolicyType(jtv) } - default: _, _ = key, value @@ -4889,7 +4875,6 @@ func awsAwsjson10_deserializeDocumentAccountSettingsDetail(v **types.AccountSett if err := awsAwsjson10_deserializeDocumentCapacityLimits(&sv.CapacityLimits, value); err != nil { return err } - default: _, _ = key, value @@ -4933,7 +4918,6 @@ func awsAwsjson10_deserializeDocumentCapacityLimits(v **types.CapacityLimits, va } sv.MaxIndexingCapacityInOCU = ptr.Int32(int32(i64)) } - case "maxSearchCapacityInOCU": if value != nil { jtv, ok := value.(json.Number) @@ -4946,7 +4930,6 @@ func awsAwsjson10_deserializeDocumentCapacityLimits(v **types.CapacityLimits, va } sv.MaxSearchCapacityInOCU = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4986,7 +4969,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Arn = ptr.String(jtv) } - case "collectionEndpoint": if value != nil { jtv, ok := value.(string) @@ -4995,7 +4977,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.CollectionEndpoint = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -5008,7 +4989,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.CreatedDate = ptr.Int64(i64) } - case "dashboardEndpoint": if value != nil { jtv, ok := value.(string) @@ -5017,7 +4997,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.DashboardEndpoint = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5026,7 +5005,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Description = ptr.String(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5035,7 +5013,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5044,7 +5021,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5053,7 +5029,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Id = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5062,7 +5037,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.KmsKeyArn = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -5075,7 +5049,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5084,7 +5057,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Name = ptr.String(jtv) } - case "standbyReplicas": if value != nil { jtv, ok := value.(string) @@ -5093,7 +5065,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.StandbyReplicas = types.StandbyReplicas(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5102,7 +5073,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Status = types.CollectionStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5111,7 +5081,6 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Type = types.CollectionType(jtv) } - default: _, _ = key, value @@ -5185,7 +5154,6 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5194,7 +5162,6 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5203,7 +5170,6 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5212,7 +5178,6 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5320,7 +5285,6 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5329,7 +5293,6 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5338,7 +5301,6 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5347,7 +5309,6 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Status = types.CollectionStatus(jtv) } - default: _, _ = key, value @@ -5377,15 +5338,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5393,15 +5348,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5436,7 +5387,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -5449,7 +5399,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5458,7 +5407,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5467,7 +5415,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Id = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5476,7 +5423,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.KmsKeyArn = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -5489,7 +5435,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5498,7 +5443,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Name = ptr.String(jtv) } - case "standbyReplicas": if value != nil { jtv, ok := value.(string) @@ -5507,7 +5451,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.StandbyReplicas = types.StandbyReplicas(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5516,7 +5459,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Status = types.CollectionStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5525,7 +5467,6 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Type = types.CollectionType(jtv) } - default: _, _ = key, value @@ -5565,7 +5506,6 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5574,7 +5514,6 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5583,7 +5522,6 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Status = types.VpcEndpointStatus(jtv) } - default: _, _ = key, value @@ -5623,7 +5561,6 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5632,7 +5569,6 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5641,7 +5577,6 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Status = types.CollectionStatus(jtv) } - default: _, _ = key, value @@ -5681,7 +5616,6 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5690,7 +5624,6 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5699,7 +5632,6 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Status = types.VpcEndpointStatus(jtv) } - default: _, _ = key, value @@ -5739,7 +5671,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.NoMinRetentionPeriod = ptr.Bool(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -5748,7 +5679,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.PolicyName = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -5757,7 +5687,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5766,7 +5695,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.ResourceType = types.ResourceType(jtv) } - case "retentionPeriod": if value != nil { jtv, ok := value.(string) @@ -5775,7 +5703,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.RetentionPeriod = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5784,7 +5711,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.Type = types.LifecyclePolicyType(jtv) } - default: _, _ = key, value @@ -5858,7 +5784,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5867,7 +5792,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.ErrorMessage = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -5876,7 +5800,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.Resource = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5885,7 +5808,6 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.Type = types.LifecyclePolicyType(jtv) } - default: _, _ = key, value @@ -5959,7 +5881,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationArn = ptr.String(jtv) } - case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -5968,7 +5889,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationDescription = ptr.String(jtv) } - case "applicationName": if value != nil { jtv, ok := value.(string) @@ -5977,7 +5897,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationName = ptr.String(jtv) } - case "groupAttribute": if value != nil { jtv, ok := value.(string) @@ -5986,7 +5905,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.GroupAttribute = types.IamIdentityCenterGroupAttribute(jtv) } - case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -5995,7 +5913,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.InstanceArn = ptr.String(jtv) } - case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6004,7 +5921,6 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.UserAttribute = types.IamIdentityCenterUserAttribute(jtv) } - default: _, _ = key, value @@ -6034,15 +5950,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6050,15 +5960,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6097,7 +6003,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6106,7 +6011,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6119,7 +6023,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6128,12 +6031,10 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Name = ptr.String(jtv) } - case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -6142,7 +6043,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6151,7 +6051,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Type = types.LifecyclePolicyType(jtv) } - default: _, _ = key, value @@ -6225,7 +6124,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6234,7 +6132,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.ErrorMessage = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6243,7 +6140,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6252,7 +6148,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.Type = types.LifecyclePolicyType(jtv) } - default: _, _ = key, value @@ -6330,7 +6225,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyStats(v **types.LifecyclePol } sv.RetentionPolicyCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6408,7 +6302,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6417,7 +6310,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6430,7 +6322,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6439,7 +6330,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Name = ptr.String(jtv) } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -6448,7 +6338,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6457,7 +6346,6 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Type = types.LifecyclePolicyType(jtv) } - default: _, _ = key, value @@ -6487,15 +6375,9 @@ func awsAwsjson10_deserializeDocumentOcuLimitExceededException(v **types.OcuLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6503,15 +6385,11 @@ func awsAwsjson10_deserializeDocumentOcuLimitExceededException(v **types.OcuLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6536,15 +6414,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6552,15 +6424,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6595,7 +6463,6 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.GroupAttribute = ptr.String(jtv) } - case "metadata": if value != nil { jtv, ok := value.(string) @@ -6604,7 +6471,6 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.Metadata = ptr.String(jtv) } - case "sessionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -6617,7 +6483,6 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.SessionTimeout = ptr.Int32(int32(i64)) } - case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6626,7 +6491,6 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.UserAttribute = ptr.String(jtv) } - default: _, _ = key, value @@ -6666,7 +6530,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.ConfigVersion = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -6679,7 +6542,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6688,12 +6550,10 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Description = ptr.String(jtv) } - case "iamIdentityCenterOptions": if err := awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6702,7 +6562,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Id = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6715,12 +6574,10 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.LastModifiedDate = ptr.Int64(i64) } - case "samlOptions": if err := awsAwsjson10_deserializeDocumentSamlConfigOptions(&sv.SamlOptions, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6729,7 +6586,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Type = types.SecurityConfigType(jtv) } - default: _, _ = key, value @@ -6773,7 +6629,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigStats(v **types.SecurityConfi } sv.SamlConfigCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6847,7 +6702,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.ConfigVersion = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -6860,7 +6714,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6869,7 +6722,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6878,7 +6730,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Id = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6891,7 +6742,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.LastModifiedDate = ptr.Int64(i64) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6900,7 +6750,6 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Type = types.SecurityConfigType(jtv) } - default: _, _ = key, value @@ -6980,7 +6829,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6989,7 +6837,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7002,7 +6849,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7011,12 +6857,10 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Name = ptr.String(jtv) } - case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -7025,7 +6869,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7034,7 +6877,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Type = types.SecurityPolicyType(jtv) } - default: _, _ = key, value @@ -7078,7 +6920,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyStats(v **types.SecurityPolic } sv.EncryptionPolicyCount = ptr.Int64(i64) } - case "NetworkPolicyCount": if value != nil { jtv, ok := value.(json.Number) @@ -7091,7 +6932,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyStats(v **types.SecurityPolic } sv.NetworkPolicyCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -7169,7 +7009,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7178,7 +7017,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Description = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7191,7 +7029,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7200,7 +7037,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Name = ptr.String(jtv) } - case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -7209,7 +7045,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.PolicyVersion = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7218,7 +7053,6 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Type = types.SecurityPolicyType(jtv) } - default: _, _ = key, value @@ -7248,15 +7082,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7264,7 +7092,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7273,7 +7100,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7282,7 +7108,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7291,7 +7116,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7300,15 +7124,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7379,7 +7199,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7388,7 +7207,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7462,7 +7280,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -7475,7 +7292,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.CreatedDate = ptr.Int64(i64) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7484,7 +7300,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7493,7 +7308,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Id = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7506,7 +7320,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7515,7 +7328,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7524,7 +7336,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Status = types.CollectionStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -7533,7 +7344,6 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Type = types.CollectionType(jtv) } - default: _, _ = key, value @@ -7573,7 +7383,6 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Id = ptr.String(jtv) } - case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7586,7 +7395,6 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.LastModifiedDate = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7595,12 +7403,10 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7609,12 +7415,10 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Status = types.VpcEndpointStatus(jtv) } - case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -7644,15 +7448,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7660,15 +7458,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7707,7 +7501,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.CreatedDate = ptr.Int64(i64) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -7716,7 +7509,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -7725,7 +7517,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7734,7 +7525,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7743,12 +7533,10 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Name = ptr.String(jtv) } - case "securityGroupIds": if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7757,12 +7545,10 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Status = types.VpcEndpointStatus(jtv) } - case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7771,7 +7557,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -7845,7 +7630,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -7854,7 +7638,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.ErrorMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7863,7 +7646,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -7971,7 +7753,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7980,7 +7761,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7989,7 +7769,6 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } - default: _, _ = key, value @@ -8033,12 +7812,10 @@ func awsAwsjson10_deserializeOpDocumentBatchGetCollectionOutput(v **BatchGetColl if err := awsAwsjson10_deserializeDocumentCollectionDetails(&sv.CollectionDetails, value); err != nil { return err } - case "collectionErrorDetails": if err := awsAwsjson10_deserializeDocumentCollectionErrorDetails(&sv.CollectionErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8074,12 +7851,10 @@ func awsAwsjson10_deserializeOpDocumentBatchGetEffectiveLifecyclePolicyOutput(v if err := awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetails(&sv.EffectiveLifecyclePolicyDetails, value); err != nil { return err } - case "effectiveLifecyclePolicyErrorDetails": if err := awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetails(&sv.EffectiveLifecyclePolicyErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8115,12 +7890,10 @@ func awsAwsjson10_deserializeOpDocumentBatchGetLifecyclePolicyOutput(v **BatchGe if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetails(&sv.LifecyclePolicyDetails, value); err != nil { return err } - case "lifecyclePolicyErrorDetails": if err := awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetails(&sv.LifecyclePolicyErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8156,12 +7929,10 @@ func awsAwsjson10_deserializeOpDocumentBatchGetVpcEndpointOutput(v **BatchGetVpc if err := awsAwsjson10_deserializeDocumentVpcEndpointDetails(&sv.VpcEndpointDetails, value); err != nil { return err } - case "vpcEndpointErrorDetails": if err := awsAwsjson10_deserializeDocumentVpcEndpointErrorDetails(&sv.VpcEndpointErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8197,7 +7968,6 @@ func awsAwsjson10_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8233,7 +8003,6 @@ func awsAwsjson10_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti if err := awsAwsjson10_deserializeDocumentCreateCollectionDetail(&sv.CreateCollectionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8269,7 +8038,6 @@ func awsAwsjson10_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(&sv.LifecyclePolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8305,7 +8073,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSecurityConfigOutput(v **CreateSecu if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8341,7 +8108,6 @@ func awsAwsjson10_deserializeOpDocumentCreateSecurityPolicyOutput(v **CreateSecu if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8377,7 +8143,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(&sv.CreateVpcEndpointDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8444,7 +8209,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteCollectionOutput(v **DeleteCollecti if err := awsAwsjson10_deserializeDocumentDeleteCollectionDetail(&sv.DeleteCollectionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8573,7 +8337,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(&sv.DeleteVpcEndpointDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8609,7 +8372,6 @@ func awsAwsjson10_deserializeOpDocumentGetAccessPolicyOutput(v **GetAccessPolicy if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8645,7 +8407,6 @@ func awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson10_deserializeDocumentAccountSettingsDetail(&sv.AccountSettingsDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8681,22 +8442,18 @@ func awsAwsjson10_deserializeOpDocumentGetPoliciesStatsOutput(v **GetPoliciesSta if err := awsAwsjson10_deserializeDocumentAccessPolicyStats(&sv.AccessPolicyStats, value); err != nil { return err } - case "LifecyclePolicyStats": if err := awsAwsjson10_deserializeDocumentLifecyclePolicyStats(&sv.LifecyclePolicyStats, value); err != nil { return err } - case "SecurityConfigStats": if err := awsAwsjson10_deserializeDocumentSecurityConfigStats(&sv.SecurityConfigStats, value); err != nil { return err } - case "SecurityPolicyStats": if err := awsAwsjson10_deserializeDocumentSecurityPolicyStats(&sv.SecurityPolicyStats, value); err != nil { return err } - case "TotalPolicyCount": if value != nil { jtv, ok := value.(json.Number) @@ -8709,7 +8466,6 @@ func awsAwsjson10_deserializeOpDocumentGetPoliciesStatsOutput(v **GetPoliciesSta } sv.TotalPolicyCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -8745,7 +8501,6 @@ func awsAwsjson10_deserializeOpDocumentGetSecurityConfigOutput(v **GetSecurityCo if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8781,7 +8536,6 @@ func awsAwsjson10_deserializeOpDocumentGetSecurityPolicyOutput(v **GetSecurityPo if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -8817,7 +8571,6 @@ func awsAwsjson10_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsAwsjson10_deserializeDocumentAccessPolicySummaries(&sv.AccessPolicySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8826,7 +8579,6 @@ func awsAwsjson10_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8862,7 +8614,6 @@ func awsAwsjson10_deserializeOpDocumentListCollectionsOutput(v **ListCollections if err := awsAwsjson10_deserializeDocumentCollectionSummaries(&sv.CollectionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8871,7 +8622,6 @@ func awsAwsjson10_deserializeOpDocumentListCollectionsOutput(v **ListCollections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8907,7 +8657,6 @@ func awsAwsjson10_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec if err := awsAwsjson10_deserializeDocumentLifecyclePolicySummaries(&sv.LifecyclePolicySummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8916,7 +8665,6 @@ func awsAwsjson10_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8956,12 +8704,10 @@ func awsAwsjson10_deserializeOpDocumentListSecurityConfigsOutput(v **ListSecurit } sv.NextToken = ptr.String(jtv) } - case "securityConfigSummaries": if err := awsAwsjson10_deserializeDocumentSecurityConfigSummaries(&sv.SecurityConfigSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9001,12 +8747,10 @@ func awsAwsjson10_deserializeOpDocumentListSecurityPoliciesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } - case "securityPolicySummaries": if err := awsAwsjson10_deserializeDocumentSecurityPolicySummaries(&sv.SecurityPolicySummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9042,7 +8786,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9082,12 +8825,10 @@ func awsAwsjson10_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } - case "vpcEndpointSummaries": if err := awsAwsjson10_deserializeDocumentVpcEndpointSummaries(&sv.VpcEndpointSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9185,7 +8926,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccessPolicyOutput(v **UpdateAccess if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9221,7 +8961,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsAwsjson10_deserializeDocumentAccountSettingsDetail(&sv.AccountSettingsDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9257,7 +8996,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateCollectionOutput(v **UpdateCollecti if err := awsAwsjson10_deserializeDocumentUpdateCollectionDetail(&sv.UpdateCollectionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9293,7 +9031,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateLifecyclePolicyOutput(v **UpdateLif if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(&sv.LifecyclePolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9329,7 +9066,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSecurityConfigOutput(v **UpdateSecu if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9365,7 +9101,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSecurityPolicyOutput(v **UpdateSecu if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } - default: _, _ = key, value @@ -9401,7 +9136,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(&sv.UpdateVpcEndpointDetail, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/opsworks/deserializers.go b/service/opsworks/deserializers.go index 638de02cf7c..3f31f926ec9 100644 --- a/service/opsworks/deserializers.go +++ b/service/opsworks/deserializers.go @@ -7703,7 +7703,6 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value if err := awsAwsjson11_deserializeDocumentStackConfigurationManager(&sv.ConfigurationManager, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -7712,7 +7711,6 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -7786,17 +7784,14 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppId = ptr.String(jtv) } - case "AppSource": if err := awsAwsjson11_deserializeDocumentSource(&sv.AppSource, value); err != nil { return err } - case "Attributes": if err := awsAwsjson11_deserializeDocumentAppAttributes(&sv.Attributes, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -7805,12 +7800,10 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.CreatedAt = ptr.String(jtv) } - case "DataSources": if err := awsAwsjson11_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7819,12 +7812,10 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } - case "Domains": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Domains, value); err != nil { return err } - case "EnableSsl": if value != nil { jtv, ok := value.(bool) @@ -7833,12 +7824,10 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableSsl = ptr.Bool(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7847,7 +7836,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } - case "Shortname": if value != nil { jtv, ok := value.(string) @@ -7856,12 +7844,10 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Shortname = ptr.String(jtv) } - case "SslConfiguration": if err := awsAwsjson11_deserializeDocumentSslConfiguration(&sv.SslConfiguration, value); err != nil { return err } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -7870,7 +7856,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.StackId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7879,7 +7864,6 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Type = types.AppType(jtv) } - default: _, _ = key, value @@ -7985,7 +7969,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling if err := awsAwsjson11_deserializeDocumentStrings(&sv.Alarms, value); err != nil { return err } - case "CpuThreshold": if value != nil { switch jtv := value.(type) { @@ -8019,7 +8002,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } - case "IgnoreMetricsTime": if value != nil { jtv, ok := value.(json.Number) @@ -8032,7 +8014,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.IgnoreMetricsTime = ptr.Int32(int32(i64)) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8045,7 +8026,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "LoadThreshold": if value != nil { switch jtv := value.(type) { @@ -8079,7 +8059,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } - case "MemoryThreshold": if value != nil { switch jtv := value.(type) { @@ -8113,7 +8092,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } - case "ThresholdsWaitTime": if value != nil { jtv, ok := value.(json.Number) @@ -8126,7 +8104,6 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.ThresholdsWaitTime = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8166,12 +8143,10 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.DeviceName = ptr.String(jtv) } - case "Ebs": if err := awsAwsjson11_deserializeDocumentEbsBlockDevice(&sv.Ebs, value); err != nil { return err } - case "NoDevice": if value != nil { jtv, ok := value.(string) @@ -8180,7 +8155,6 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.NoDevice = ptr.String(jtv) } - case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -8189,7 +8163,6 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.VirtualName = ptr.String(jtv) } - default: _, _ = key, value @@ -8263,7 +8236,6 @@ func awsAwsjson11_deserializeDocumentChefConfiguration(v **types.ChefConfigurati } sv.BerkshelfVersion = ptr.String(jtv) } - case "ManageBerkshelf": if value != nil { jtv, ok := value.(bool) @@ -8272,7 +8244,6 @@ func awsAwsjson11_deserializeDocumentChefConfiguration(v **types.ChefConfigurati } sv.ManageBerkshelf = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8312,12 +8283,10 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfiguration(v **types.Cloud } sv.Enabled = ptr.Bool(jtv) } - case "LogStreams": if err := awsAwsjson11_deserializeDocumentCloudWatchLogsLogStreams(&sv.LogStreams, value); err != nil { return err } - default: _, _ = key, value @@ -8361,7 +8330,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BatchCount = ptr.Int32(int32(i64)) } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -8374,7 +8342,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BatchSize = ptr.Int32(int32(i64)) } - case "BufferDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8387,7 +8354,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BufferDuration = ptr.Int32(int32(i64)) } - case "DatetimeFormat": if value != nil { jtv, ok := value.(string) @@ -8396,7 +8362,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.DatetimeFormat = ptr.String(jtv) } - case "Encoding": if value != nil { jtv, ok := value.(string) @@ -8405,7 +8370,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.Encoding = types.CloudWatchLogsEncoding(jtv) } - case "File": if value != nil { jtv, ok := value.(string) @@ -8414,7 +8378,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.File = ptr.String(jtv) } - case "FileFingerprintLines": if value != nil { jtv, ok := value.(string) @@ -8423,7 +8386,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.FileFingerprintLines = ptr.String(jtv) } - case "InitialPosition": if value != nil { jtv, ok := value.(string) @@ -8432,7 +8394,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.InitialPosition = types.CloudWatchLogsInitialPosition(jtv) } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -8441,7 +8402,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.LogGroupName = ptr.String(jtv) } - case "MultiLineStartPattern": if value != nil { jtv, ok := value.(string) @@ -8450,7 +8410,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.MultiLineStartPattern = ptr.String(jtv) } - case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -8459,7 +8418,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.TimeZone = types.CloudWatchLogsTimeZone(jtv) } - default: _, _ = key, value @@ -8533,7 +8491,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.AcknowledgedAt = ptr.String(jtv) } - case "CommandId": if value != nil { jtv, ok := value.(string) @@ -8542,7 +8499,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CommandId = ptr.String(jtv) } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -8551,7 +8507,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CompletedAt = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8560,7 +8515,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CreatedAt = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -8569,7 +8523,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DeploymentId = ptr.String(jtv) } - case "ExitCode": if value != nil { jtv, ok := value.(json.Number) @@ -8582,7 +8535,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ExitCode = ptr.Int32(int32(i64)) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -8591,7 +8543,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.InstanceId = ptr.String(jtv) } - case "LogUrl": if value != nil { jtv, ok := value.(string) @@ -8600,7 +8551,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.LogUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8609,7 +8559,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Status = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8618,7 +8567,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8728,7 +8676,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Arn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8737,7 +8684,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DatabaseName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8746,7 +8692,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8820,12 +8765,10 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.AppId = ptr.String(jtv) } - case "Command": if err := awsAwsjson11_deserializeDocumentDeploymentCommand(&sv.Command, value); err != nil { return err } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -8834,7 +8777,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Comment = ptr.String(jtv) } - case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -8843,7 +8785,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CompletedAt = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8852,7 +8793,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedAt = ptr.String(jtv) } - case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -8861,7 +8801,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CustomJson = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -8870,7 +8809,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8883,7 +8821,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Duration = ptr.Int32(int32(i64)) } - case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -8892,12 +8829,10 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IamUserArn = ptr.String(jtv) } - case "InstanceIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.InstanceIds, value); err != nil { return err } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -8906,7 +8841,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.StackId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8915,7 +8849,6 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -8951,7 +8884,6 @@ func awsAwsjson11_deserializeDocumentDeploymentCommand(v **types.DeploymentComma if err := awsAwsjson11_deserializeDocumentDeploymentCommandArgs(&sv.Args, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8960,7 +8892,6 @@ func awsAwsjson11_deserializeDocumentDeploymentCommand(v **types.DeploymentComma } sv.Name = types.DeploymentCommandName(jtv) } - default: _, _ = key, value @@ -9068,7 +8999,6 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -9081,7 +9011,6 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.Iops = ptr.Int32(int32(i64)) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -9090,7 +9019,6 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.SnapshotId = ptr.String(jtv) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -9103,7 +9031,6 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -9112,7 +9039,6 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.VolumeType = types.VolumeType(jtv) } - default: _, _ = key, value @@ -9152,7 +9078,6 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.EcsClusterArn = ptr.String(jtv) } - case "EcsClusterName": if value != nil { jtv, ok := value.(string) @@ -9161,7 +9086,6 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.EcsClusterName = ptr.String(jtv) } - case "RegisteredAt": if value != nil { jtv, ok := value.(string) @@ -9170,7 +9094,6 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.RegisteredAt = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -9179,7 +9102,6 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -9253,7 +9175,6 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Domain = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -9262,7 +9183,6 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.InstanceId = ptr.String(jtv) } - case "Ip": if value != nil { jtv, ok := value.(string) @@ -9271,7 +9191,6 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Ip = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9280,7 +9199,6 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Name = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -9289,7 +9207,6 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -9359,7 +9276,6 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa if err := awsAwsjson11_deserializeDocumentStrings(&sv.AvailabilityZones, value); err != nil { return err } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -9368,12 +9284,10 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.DnsName = ptr.String(jtv) } - case "Ec2InstanceIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Ec2InstanceIds, value); err != nil { return err } - case "ElasticLoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -9382,7 +9296,6 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.ElasticLoadBalancerName = ptr.String(jtv) } - case "LayerId": if value != nil { jtv, ok := value.(string) @@ -9391,7 +9304,6 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.LayerId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -9400,7 +9312,6 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.Region = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -9409,12 +9320,10 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.StackId = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9423,7 +9332,6 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9497,7 +9405,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Key = ptr.String(jtv) } - case "Secure": if value != nil { jtv, ok := value.(bool) @@ -9506,7 +9413,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Secure = ptr.Bool(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9515,7 +9421,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9589,7 +9494,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AgentVersion = ptr.String(jtv) } - case "AmiId": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9502,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiId = ptr.String(jtv) } - case "Architecture": if value != nil { jtv, ok := value.(string) @@ -9607,7 +9510,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Architecture = types.Architecture(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -9616,7 +9518,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } - case "AutoScalingType": if value != nil { jtv, ok := value.(string) @@ -9625,7 +9526,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AutoScalingType = types.AutoScalingType(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -9634,12 +9534,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AvailabilityZone = ptr.String(jtv) } - case "BlockDeviceMappings": if err := awsAwsjson11_deserializeDocumentBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -9648,7 +9546,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.CreatedAt = ptr.String(jtv) } - case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -9657,7 +9554,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EbsOptimized = ptr.Bool(jtv) } - case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -9666,7 +9562,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Ec2InstanceId = ptr.String(jtv) } - case "EcsClusterArn": if value != nil { jtv, ok := value.(string) @@ -9675,7 +9570,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EcsClusterArn = ptr.String(jtv) } - case "EcsContainerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -9684,7 +9578,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EcsContainerInstanceArn = ptr.String(jtv) } - case "ElasticIp": if value != nil { jtv, ok := value.(string) @@ -9693,7 +9586,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ElasticIp = ptr.String(jtv) } - case "Hostname": if value != nil { jtv, ok := value.(string) @@ -9702,7 +9594,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Hostname = ptr.String(jtv) } - case "InfrastructureClass": if value != nil { jtv, ok := value.(string) @@ -9711,7 +9602,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InfrastructureClass = ptr.String(jtv) } - case "InstallUpdatesOnBoot": if value != nil { jtv, ok := value.(bool) @@ -9720,7 +9610,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstallUpdatesOnBoot = ptr.Bool(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -9729,7 +9618,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } - case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9626,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceProfileArn = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9747,7 +9634,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } - case "LastServiceErrorId": if value != nil { jtv, ok := value.(string) @@ -9756,12 +9642,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.LastServiceErrorId = ptr.String(jtv) } - case "LayerIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.LayerIds, value); err != nil { return err } - case "Os": if value != nil { jtv, ok := value.(string) @@ -9770,7 +9654,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Os = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -9779,7 +9662,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Platform = ptr.String(jtv) } - case "PrivateDns": if value != nil { jtv, ok := value.(string) @@ -9788,7 +9670,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateDns = ptr.String(jtv) } - case "PrivateIp": if value != nil { jtv, ok := value.(string) @@ -9797,7 +9678,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIp = ptr.String(jtv) } - case "PublicDns": if value != nil { jtv, ok := value.(string) @@ -9806,7 +9686,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicDns = ptr.String(jtv) } - case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -9815,7 +9694,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIp = ptr.String(jtv) } - case "RegisteredBy": if value != nil { jtv, ok := value.(string) @@ -9824,7 +9702,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RegisteredBy = ptr.String(jtv) } - case "ReportedAgentVersion": if value != nil { jtv, ok := value.(string) @@ -9833,12 +9710,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ReportedAgentVersion = ptr.String(jtv) } - case "ReportedOs": if err := awsAwsjson11_deserializeDocumentReportedOs(&sv.ReportedOs, value); err != nil { return err } - case "RootDeviceType": if value != nil { jtv, ok := value.(string) @@ -9847,7 +9722,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceType = types.RootDeviceType(jtv) } - case "RootDeviceVolumeId": if value != nil { jtv, ok := value.(string) @@ -9856,12 +9730,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceVolumeId = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } - case "SshHostDsaKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -9870,7 +9742,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshHostDsaKeyFingerprint = ptr.String(jtv) } - case "SshHostRsaKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -9879,7 +9750,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshHostRsaKeyFingerprint = ptr.String(jtv) } - case "SshKeyName": if value != nil { jtv, ok := value.(string) @@ -9888,7 +9758,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshKeyName = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -9897,7 +9766,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.StackId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9906,7 +9774,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -9915,7 +9782,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubnetId = ptr.String(jtv) } - case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -9924,7 +9790,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Tenancy = ptr.String(jtv) } - case "VirtualizationType": if value != nil { jtv, ok := value.(string) @@ -9933,7 +9798,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.VirtualizationType = types.VirtualizationType(jtv) } - default: _, _ = key, value @@ -10011,7 +9875,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Assigning = ptr.Int32(int32(i64)) } - case "Booting": if value != nil { jtv, ok := value.(json.Number) @@ -10024,7 +9887,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Booting = ptr.Int32(int32(i64)) } - case "ConnectionLost": if value != nil { jtv, ok := value.(json.Number) @@ -10037,7 +9899,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.ConnectionLost = ptr.Int32(int32(i64)) } - case "Deregistering": if value != nil { jtv, ok := value.(json.Number) @@ -10050,7 +9911,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Deregistering = ptr.Int32(int32(i64)) } - case "Online": if value != nil { jtv, ok := value.(json.Number) @@ -10063,7 +9923,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Online = ptr.Int32(int32(i64)) } - case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -10076,7 +9935,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Pending = ptr.Int32(int32(i64)) } - case "Rebooting": if value != nil { jtv, ok := value.(json.Number) @@ -10089,7 +9947,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Rebooting = ptr.Int32(int32(i64)) } - case "Registered": if value != nil { jtv, ok := value.(json.Number) @@ -10102,7 +9959,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Registered = ptr.Int32(int32(i64)) } - case "Registering": if value != nil { jtv, ok := value.(json.Number) @@ -10115,7 +9971,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Registering = ptr.Int32(int32(i64)) } - case "Requested": if value != nil { jtv, ok := value.(json.Number) @@ -10128,7 +9983,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Requested = ptr.Int32(int32(i64)) } - case "RunningSetup": if value != nil { jtv, ok := value.(json.Number) @@ -10141,7 +9995,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.RunningSetup = ptr.Int32(int32(i64)) } - case "SetupFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10154,7 +10007,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.SetupFailed = ptr.Int32(int32(i64)) } - case "ShuttingDown": if value != nil { jtv, ok := value.(json.Number) @@ -10167,7 +10019,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.ShuttingDown = ptr.Int32(int32(i64)) } - case "StartFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10180,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.StartFailed = ptr.Int32(int32(i64)) } - case "StopFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10193,7 +10043,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.StopFailed = ptr.Int32(int32(i64)) } - case "Stopped": if value != nil { jtv, ok := value.(json.Number) @@ -10206,7 +10055,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Stopped = ptr.Int32(int32(i64)) } - case "Stopping": if value != nil { jtv, ok := value.(json.Number) @@ -10219,7 +10067,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Stopping = ptr.Int32(int32(i64)) } - case "Terminated": if value != nil { jtv, ok := value.(json.Number) @@ -10232,7 +10079,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Terminated = ptr.Int32(int32(i64)) } - case "Terminating": if value != nil { jtv, ok := value.(json.Number) @@ -10245,7 +10091,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Terminating = ptr.Int32(int32(i64)) } - case "Unassigning": if value != nil { jtv, ok := value.(json.Number) @@ -10258,7 +10103,6 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Unassigning = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10298,12 +10142,10 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "Attributes": if err := awsAwsjson11_deserializeDocumentLayerAttributes(&sv.Attributes, value); err != nil { return err } - case "AutoAssignElasticIps": if value != nil { jtv, ok := value.(bool) @@ -10312,7 +10154,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.AutoAssignElasticIps = ptr.Bool(jtv) } - case "AutoAssignPublicIps": if value != nil { jtv, ok := value.(bool) @@ -10321,12 +10162,10 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.AutoAssignPublicIps = ptr.Bool(jtv) } - case "CloudWatchLogsConfiguration": if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10335,7 +10174,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CreatedAt = ptr.String(jtv) } - case "CustomInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -10344,7 +10182,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CustomInstanceProfileArn = ptr.String(jtv) } - case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -10353,27 +10190,22 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CustomJson = ptr.String(jtv) } - case "CustomRecipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.CustomRecipes, value); err != nil { return err } - case "CustomSecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.CustomSecurityGroupIds, value); err != nil { return err } - case "DefaultRecipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.DefaultRecipes, value); err != nil { return err } - case "DefaultSecurityGroupNames": if err := awsAwsjson11_deserializeDocumentStrings(&sv.DefaultSecurityGroupNames, value); err != nil { return err } - case "EnableAutoHealing": if value != nil { jtv, ok := value.(bool) @@ -10382,7 +10214,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.EnableAutoHealing = ptr.Bool(jtv) } - case "InstallUpdatesOnBoot": if value != nil { jtv, ok := value.(bool) @@ -10391,7 +10222,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.InstallUpdatesOnBoot = ptr.Bool(jtv) } - case "LayerId": if value != nil { jtv, ok := value.(string) @@ -10400,12 +10230,10 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerId = ptr.String(jtv) } - case "LifecycleEventConfiguration": if err := awsAwsjson11_deserializeDocumentLifecycleEventConfiguration(&sv.LifecycleEventConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10414,12 +10242,10 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Packages": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Packages, value); err != nil { return err } - case "Shortname": if value != nil { jtv, ok := value.(string) @@ -10428,7 +10254,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Shortname = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -10437,7 +10262,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.StackId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10446,7 +10270,6 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Type = types.LayerType(jtv) } - case "UseEbsOptimizedInstances": if value != nil { jtv, ok := value.(bool) @@ -10455,12 +10278,10 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.UseEbsOptimizedInstances = ptr.Bool(jtv) } - case "VolumeConfigurations": if err := awsAwsjson11_deserializeDocumentVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -10566,7 +10387,6 @@ func awsAwsjson11_deserializeDocumentLifecycleEventConfiguration(v **types.Lifec if err := awsAwsjson11_deserializeDocumentShutdownEventConfiguration(&sv.Shutdown, value); err != nil { return err } - default: _, _ = key, value @@ -10602,7 +10422,6 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types if err := awsAwsjson11_deserializeDocumentAutoScalingThresholds(&sv.DownScaling, value); err != nil { return err } - case "Enable": if value != nil { jtv, ok := value.(bool) @@ -10611,7 +10430,6 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types } sv.Enable = ptr.Bool(jtv) } - case "LayerId": if value != nil { jtv, ok := value.(string) @@ -10620,12 +10438,10 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types } sv.LayerId = ptr.String(jtv) } - case "UpScaling": if err := awsAwsjson11_deserializeDocumentAutoScalingThresholds(&sv.UpScaling, value); err != nil { return err } - default: _, _ = key, value @@ -10695,7 +10511,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, if err := awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManagers(&sv.ConfigurationManagers, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10704,7 +10519,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10713,7 +10527,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Name = ptr.String(jtv) } - case "ReportedName": if value != nil { jtv, ok := value.(string) @@ -10722,7 +10535,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.ReportedName = ptr.String(jtv) } - case "ReportedVersion": if value != nil { jtv, ok := value.(string) @@ -10731,7 +10543,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.ReportedVersion = ptr.String(jtv) } - case "Supported": if value != nil { jtv, ok := value.(bool) @@ -10740,7 +10551,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Supported = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10749,7 +10559,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -10789,7 +10598,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManager(v **typ } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -10798,7 +10606,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManager(v **typ } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10942,7 +10749,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.AllowSsh = ptr.Bool(jtv) } - case "AllowSudo": if value != nil { jtv, ok := value.(bool) @@ -10951,7 +10757,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.AllowSudo = ptr.Bool(jtv) } - case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -10960,7 +10765,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.IamUserArn = ptr.String(jtv) } - case "Level": if value != nil { jtv, ok := value.(string) @@ -10969,7 +10773,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Level = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -10978,7 +10781,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -11052,7 +10854,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.AvailabilityZone = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11061,7 +10862,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.CreatedAt = ptr.String(jtv) } - case "Device": if value != nil { jtv, ok := value.(string) @@ -11070,7 +10870,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Device = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -11079,7 +10878,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.InstanceId = ptr.String(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -11092,7 +10890,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Iops = ptr.Int32(int32(i64)) } - case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -11101,7 +10898,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.MountPoint = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11110,7 +10906,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Name = ptr.String(jtv) } - case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -11123,7 +10918,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.NumberOfDisks = ptr.Int32(int32(i64)) } - case "RaidArrayId": if value != nil { jtv, ok := value.(string) @@ -11132,7 +10926,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.RaidArrayId = ptr.String(jtv) } - case "RaidLevel": if value != nil { jtv, ok := value.(json.Number) @@ -11145,7 +10938,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.RaidLevel = ptr.Int32(int32(i64)) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -11158,7 +10950,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Size = ptr.Int32(int32(i64)) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -11167,7 +10958,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.StackId = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -11176,7 +10966,6 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -11250,7 +11039,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Address = ptr.String(jtv) } - case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -11259,7 +11047,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbInstanceIdentifier = ptr.String(jtv) } - case "DbPassword": if value != nil { jtv, ok := value.(string) @@ -11268,7 +11055,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbPassword = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -11277,7 +11063,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbUser = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -11286,7 +11071,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Engine = ptr.String(jtv) } - case "MissingOnRds": if value != nil { jtv, ok := value.(bool) @@ -11295,7 +11079,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.MissingOnRds = ptr.Bool(jtv) } - case "RdsDbInstanceArn": if value != nil { jtv, ok := value.(string) @@ -11304,7 +11087,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.RdsDbInstanceArn = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -11313,7 +11095,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Region = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -11322,7 +11103,6 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -11392,27 +11172,22 @@ func awsAwsjson11_deserializeDocumentRecipes(v **types.Recipes, value interface{ if err := awsAwsjson11_deserializeDocumentStrings(&sv.Configure, value); err != nil { return err } - case "Deploy": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Deploy, value); err != nil { return err } - case "Setup": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Setup, value); err != nil { return err } - case "Shutdown": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Shutdown, value); err != nil { return err } - case "Undeploy": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Undeploy, value); err != nil { return err } - default: _, _ = key, value @@ -11452,7 +11227,6 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Family = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11461,7 +11235,6 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11470,7 +11243,6 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11500,15 +11272,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11516,15 +11282,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11559,7 +11321,6 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.IamUserArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11568,7 +11329,6 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.Name = ptr.String(jtv) } - case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -11577,7 +11337,6 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.SshPublicKey = ptr.String(jtv) } - case "SshUsername": if value != nil { jtv, ok := value.(string) @@ -11586,7 +11345,6 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.SshUsername = ptr.String(jtv) } - default: _, _ = key, value @@ -11626,7 +11384,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.CreatedAt = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -11635,7 +11392,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.InstanceId = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -11644,7 +11400,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.Message = ptr.String(jtv) } - case "ServiceErrorId": if value != nil { jtv, ok := value.(string) @@ -11653,7 +11408,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.ServiceErrorId = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -11662,7 +11416,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.StackId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11671,7 +11424,6 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11745,7 +11497,6 @@ func awsAwsjson11_deserializeDocumentShutdownEventConfiguration(v **types.Shutdo } sv.DelayUntilElbConnectionsDrained = ptr.Bool(jtv) } - case "ExecutionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -11758,7 +11509,6 @@ func awsAwsjson11_deserializeDocumentShutdownEventConfiguration(v **types.Shutdo } sv.ExecutionTimeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11798,7 +11548,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Password = ptr.String(jtv) } - case "Revision": if value != nil { jtv, ok := value.(string) @@ -11807,7 +11556,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Revision = ptr.String(jtv) } - case "SshKey": if value != nil { jtv, ok := value.(string) @@ -11816,7 +11564,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SshKey = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11825,7 +11572,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Type = types.SourceType(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -11834,7 +11580,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Url = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -11843,7 +11588,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -11883,7 +11627,6 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.Certificate = ptr.String(jtv) } - case "Chain": if value != nil { jtv, ok := value.(string) @@ -11892,7 +11635,6 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.Chain = ptr.String(jtv) } - case "PrivateKey": if value != nil { jtv, ok := value.(string) @@ -11901,7 +11643,6 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.PrivateKey = ptr.String(jtv) } - default: _, _ = key, value @@ -11941,7 +11682,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.AgentVersion = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -11950,22 +11690,18 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "Attributes": if err := awsAwsjson11_deserializeDocumentStackAttributes(&sv.Attributes, value); err != nil { return err } - case "ChefConfiguration": if err := awsAwsjson11_deserializeDocumentChefConfiguration(&sv.ChefConfiguration, value); err != nil { return err } - case "ConfigurationManager": if err := awsAwsjson11_deserializeDocumentStackConfigurationManager(&sv.ConfigurationManager, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11974,12 +11710,10 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.CreatedAt = ptr.String(jtv) } - case "CustomCookbooksSource": if err := awsAwsjson11_deserializeDocumentSource(&sv.CustomCookbooksSource, value); err != nil { return err } - case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -11988,7 +11722,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.CustomJson = ptr.String(jtv) } - case "DefaultAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11997,7 +11730,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultAvailabilityZone = ptr.String(jtv) } - case "DefaultInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -12006,7 +11738,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultInstanceProfileArn = ptr.String(jtv) } - case "DefaultOs": if value != nil { jtv, ok := value.(string) @@ -12015,7 +11746,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultOs = ptr.String(jtv) } - case "DefaultRootDeviceType": if value != nil { jtv, ok := value.(string) @@ -12024,7 +11754,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultRootDeviceType = types.RootDeviceType(jtv) } - case "DefaultSshKeyName": if value != nil { jtv, ok := value.(string) @@ -12033,7 +11762,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultSshKeyName = ptr.String(jtv) } - case "DefaultSubnetId": if value != nil { jtv, ok := value.(string) @@ -12042,7 +11770,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultSubnetId = ptr.String(jtv) } - case "HostnameTheme": if value != nil { jtv, ok := value.(string) @@ -12051,7 +11778,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.HostnameTheme = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12060,7 +11786,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -12069,7 +11794,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Region = ptr.String(jtv) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -12078,7 +11802,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.ServiceRoleArn = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -12087,7 +11810,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.StackId = ptr.String(jtv) } - case "UseCustomCookbooks": if value != nil { jtv, ok := value.(bool) @@ -12096,7 +11818,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.UseCustomCookbooks = ptr.Bool(jtv) } - case "UseOpsworksSecurityGroups": if value != nil { jtv, ok := value.(bool) @@ -12105,7 +11826,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.UseOpsworksSecurityGroups = ptr.Bool(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -12114,7 +11834,6 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12190,7 +11909,6 @@ func awsAwsjson11_deserializeDocumentStackConfigurationManager(v **types.StackCo } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -12199,7 +11917,6 @@ func awsAwsjson11_deserializeDocumentStackConfigurationManager(v **types.StackCo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -12277,7 +11994,6 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.AppsCount = ptr.Int32(int32(i64)) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -12286,12 +12002,10 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.Arn = ptr.String(jtv) } - case "InstancesCount": if err := awsAwsjson11_deserializeDocumentInstancesCount(&sv.InstancesCount, value); err != nil { return err } - case "LayersCount": if value != nil { jtv, ok := value.(json.Number) @@ -12304,7 +12018,6 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.LayersCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12313,7 +12026,6 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.Name = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -12322,7 +12034,6 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -12434,7 +12145,6 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.InstanceId = ptr.String(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -12443,7 +12153,6 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.Password = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -12452,7 +12161,6 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.Username = ptr.String(jtv) } - case "ValidForInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12465,7 +12173,6 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.ValidForInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12501,7 +12208,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfiguration(v **types if err := awsAwsjson11_deserializeDocumentWeeklyAutoScalingSchedule(&sv.AutoScalingSchedule, value); err != nil { return err } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -12510,7 +12216,6 @@ func awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfiguration(v **types } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12584,7 +12289,6 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.AllowSelfManagement = ptr.Bool(jtv) } - case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -12593,7 +12297,6 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.IamUserArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12602,7 +12305,6 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.Name = ptr.String(jtv) } - case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -12611,7 +12313,6 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.SshPublicKey = ptr.String(jtv) } - case "SshUsername": if value != nil { jtv, ok := value.(string) @@ -12620,7 +12321,6 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.SshUsername = ptr.String(jtv) } - default: _, _ = key, value @@ -12684,15 +12384,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12700,15 +12394,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12743,7 +12433,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.AvailabilityZone = ptr.String(jtv) } - case "Device": if value != nil { jtv, ok := value.(string) @@ -12752,7 +12441,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Device = ptr.String(jtv) } - case "Ec2VolumeId": if value != nil { jtv, ok := value.(string) @@ -12761,7 +12449,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Ec2VolumeId = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -12770,7 +12457,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Encrypted = ptr.Bool(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -12779,7 +12465,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.InstanceId = ptr.String(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -12792,7 +12477,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Iops = ptr.Int32(int32(i64)) } - case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -12801,7 +12485,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.MountPoint = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12810,7 +12493,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } - case "RaidArrayId": if value != nil { jtv, ok := value.(string) @@ -12819,7 +12501,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.RaidArrayId = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -12828,7 +12509,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Region = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12841,7 +12521,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Size = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12850,7 +12529,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Status = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -12859,7 +12537,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeId = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -12868,7 +12545,6 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -12908,7 +12584,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Encrypted = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -12921,7 +12596,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Iops = ptr.Int32(int32(i64)) } - case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -12930,7 +12604,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.MountPoint = ptr.String(jtv) } - case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -12943,7 +12616,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.NumberOfDisks = ptr.Int32(int32(i64)) } - case "RaidLevel": if value != nil { jtv, ok := value.(json.Number) @@ -12956,7 +12628,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.RaidLevel = ptr.Int32(int32(i64)) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12969,7 +12640,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Size = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -12978,7 +12648,6 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -13082,37 +12751,30 @@ func awsAwsjson11_deserializeDocumentWeeklyAutoScalingSchedule(v **types.WeeklyA if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Friday, value); err != nil { return err } - case "Monday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Monday, value); err != nil { return err } - case "Saturday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Saturday, value); err != nil { return err } - case "Sunday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Sunday, value); err != nil { return err } - case "Thursday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Thursday, value); err != nil { return err } - case "Tuesday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Tuesday, value); err != nil { return err } - case "Wednesday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Wednesday, value); err != nil { return err } - default: _, _ = key, value @@ -13152,7 +12814,6 @@ func awsAwsjson11_deserializeOpDocumentCloneStackOutput(v **CloneStackOutput, va } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -13192,7 +12853,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu } sv.AppId = ptr.String(jtv) } - default: _, _ = key, value @@ -13232,7 +12892,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } - default: _, _ = key, value @@ -13272,7 +12931,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -13312,7 +12970,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLayerOutput(v **CreateLayerOutput, } sv.LayerId = ptr.String(jtv) } - default: _, _ = key, value @@ -13352,7 +13009,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStackOutput(v **CreateStackOutput, } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -13392,7 +13048,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.IamUserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13428,7 +13083,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentVersionsOutput(v **DescribeA if err := awsAwsjson11_deserializeDocumentAgentVersions(&sv.AgentVersions, value); err != nil { return err } - default: _, _ = key, value @@ -13464,7 +13118,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppsOutput(v **DescribeAppsOutput if err := awsAwsjson11_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } - default: _, _ = key, value @@ -13500,7 +13153,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommandsOutput(v **DescribeComman if err := awsAwsjson11_deserializeDocumentCommands(&sv.Commands, value); err != nil { return err } - default: _, _ = key, value @@ -13536,7 +13188,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeploymentsOutput(v **DescribeDep if err := awsAwsjson11_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } - default: _, _ = key, value @@ -13572,7 +13223,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEcsClustersOutput(v **DescribeEcs if err := awsAwsjson11_deserializeDocumentEcsClusters(&sv.EcsClusters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13581,7 +13231,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEcsClustersOutput(v **DescribeEcs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13617,7 +13266,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeElasticIpsOutput(v **DescribeElas if err := awsAwsjson11_deserializeDocumentElasticIps(&sv.ElasticIps, value); err != nil { return err } - default: _, _ = key, value @@ -13653,7 +13301,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeElasticLoadBalancersOutput(v **De if err := awsAwsjson11_deserializeDocumentElasticLoadBalancers(&sv.ElasticLoadBalancers, value); err != nil { return err } - default: _, _ = key, value @@ -13689,7 +13336,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta if err := awsAwsjson11_deserializeDocumentInstances(&sv.Instances, value); err != nil { return err } - default: _, _ = key, value @@ -13725,7 +13371,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLayersOutput(v **DescribeLayersOu if err := awsAwsjson11_deserializeDocumentLayers(&sv.Layers, value); err != nil { return err } - default: _, _ = key, value @@ -13761,7 +13406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoadBasedAutoScalingOutput(v **De if err := awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfigurations(&sv.LoadBasedAutoScalingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -13797,7 +13441,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMyUserProfileOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentSelfUserProfile(&sv.UserProfile, value); err != nil { return err } - default: _, _ = key, value @@ -13833,7 +13476,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOperatingSystemsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentOperatingSystems(&sv.OperatingSystems, value); err != nil { return err } - default: _, _ = key, value @@ -13869,7 +13511,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionsOutput(v **DescribePer if err := awsAwsjson11_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -13905,7 +13546,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRaidArraysOutput(v **DescribeRaid if err := awsAwsjson11_deserializeDocumentRaidArrays(&sv.RaidArrays, value); err != nil { return err } - default: _, _ = key, value @@ -13941,7 +13581,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRdsDbInstancesOutput(v **Describe if err := awsAwsjson11_deserializeDocumentRdsDbInstances(&sv.RdsDbInstances, value); err != nil { return err } - default: _, _ = key, value @@ -13977,7 +13616,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceErrorsOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentServiceErrors(&sv.ServiceErrors, value); err != nil { return err } - default: _, _ = key, value @@ -14017,12 +13655,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStackProvisioningParametersOutput } sv.AgentInstallerUrl = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -14058,7 +13694,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStacksOutput(v **DescribeStacksOu if err := awsAwsjson11_deserializeDocumentStacks(&sv.Stacks, value); err != nil { return err } - default: _, _ = key, value @@ -14094,7 +13729,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStackSummaryOutput(v **DescribeSt if err := awsAwsjson11_deserializeDocumentStackSummary(&sv.StackSummary, value); err != nil { return err } - default: _, _ = key, value @@ -14130,7 +13764,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTimeBasedAutoScalingOutput(v **De if err := awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfigurations(&sv.TimeBasedAutoScalingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -14166,7 +13799,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfilesOutput(v **DescribeUs if err := awsAwsjson11_deserializeDocumentUserProfiles(&sv.UserProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -14202,7 +13834,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVolumesOutput(v **DescribeVolumes if err := awsAwsjson11_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -14242,7 +13873,6 @@ func awsAwsjson11_deserializeOpDocumentGetHostnameSuggestionOutput(v **GetHostna } sv.Hostname = ptr.String(jtv) } - case "LayerId": if value != nil { jtv, ok := value.(string) @@ -14251,7 +13881,6 @@ func awsAwsjson11_deserializeOpDocumentGetHostnameSuggestionOutput(v **GetHostna } sv.LayerId = ptr.String(jtv) } - default: _, _ = key, value @@ -14287,7 +13916,6 @@ func awsAwsjson11_deserializeOpDocumentGrantAccessOutput(v **GrantAccessOutput, if err := awsAwsjson11_deserializeDocumentTemporaryCredential(&sv.TemporaryCredential, value); err != nil { return err } - default: _, _ = key, value @@ -14327,12 +13955,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14372,7 +13998,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterEcsClusterOutput(v **RegisterEcsC } sv.EcsClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14412,7 +14037,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterElasticIpOutput(v **RegisterElast } sv.ElasticIp = ptr.String(jtv) } - default: _, _ = key, value @@ -14452,7 +14076,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterInstanceOutput(v **RegisterInstan } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -14492,7 +14115,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterVolumeOutput(v **RegisterVolumeOu } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/opsworkscm/deserializers.go b/service/opsworkscm/deserializers.go index 820b6392aa5..e56e5c09527 100644 --- a/service/opsworkscm/deserializers.go +++ b/service/opsworkscm/deserializers.go @@ -2487,7 +2487,6 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Maximum = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2496,7 +2495,6 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Name = ptr.String(jtv) } - case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -2509,7 +2507,6 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Used = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2583,7 +2580,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupArn = ptr.String(jtv) } - case "BackupId": if value != nil { jtv, ok := value.(string) @@ -2592,7 +2588,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } - case "BackupType": if value != nil { jtv, ok := value.(string) @@ -2601,7 +2596,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupType = types.BackupType(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2617,7 +2611,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2626,7 +2619,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Description = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -2635,7 +2627,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Engine = ptr.String(jtv) } - case "EngineModel": if value != nil { jtv, ok := value.(string) @@ -2644,7 +2635,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.EngineModel = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -2653,7 +2643,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.EngineVersion = ptr.String(jtv) } - case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -2662,7 +2651,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.InstanceProfileArn = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -2671,7 +2659,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.InstanceType = ptr.String(jtv) } - case "KeyPair": if value != nil { jtv, ok := value.(string) @@ -2680,7 +2667,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.KeyPair = ptr.String(jtv) } - case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -2689,7 +2675,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.PreferredBackupWindow = ptr.String(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -2698,7 +2683,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "S3DataSize": if value != nil { jtv, ok := value.(json.Number) @@ -2711,7 +2695,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3DataSize = ptr.Int32(int32(i64)) } - case "S3DataUrl": if value != nil { jtv, ok := value.(string) @@ -2720,7 +2703,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3DataUrl = ptr.String(jtv) } - case "S3LogUrl": if value != nil { jtv, ok := value.(string) @@ -2729,12 +2711,10 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3LogUrl = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -2743,7 +2723,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ServerName = ptr.String(jtv) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2752,7 +2731,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ServiceRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2761,7 +2739,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Status = types.BackupStatus(jtv) } - case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -2770,12 +2747,10 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.StatusDescription = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } - case "ToolsVersion": if value != nil { jtv, ok := value.(string) @@ -2784,7 +2759,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ToolsVersion = ptr.String(jtv) } - case "UserArn": if value != nil { jtv, ok := value.(string) @@ -2793,7 +2767,6 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.UserArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2867,7 +2840,6 @@ func awsAwsjson11_deserializeDocumentEngineAttribute(v **types.EngineAttribute, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2876,7 +2848,6 @@ func awsAwsjson11_deserializeDocumentEngineAttribute(v **types.EngineAttribute, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2940,15 +2911,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2956,15 +2921,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2989,15 +2950,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3005,15 +2960,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3038,15 +2989,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3054,15 +2999,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3087,15 +3028,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3103,15 +3038,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3136,15 +3067,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3152,15 +3077,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3195,7 +3116,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "BackupRetentionCount": if value != nil { jtv, ok := value.(json.Number) @@ -3208,7 +3128,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.BackupRetentionCount = ptr.Int32(int32(i64)) } - case "CloudFormationStackArn": if value != nil { jtv, ok := value.(string) @@ -3217,7 +3136,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.CloudFormationStackArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3233,7 +3151,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } } - case "CustomDomain": if value != nil { jtv, ok := value.(string) @@ -3242,7 +3159,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.CustomDomain = ptr.String(jtv) } - case "DisableAutomatedBackup": if value != nil { jtv, ok := value.(bool) @@ -3251,7 +3167,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.DisableAutomatedBackup = ptr.Bool(jtv) } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -3260,7 +3175,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Endpoint = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -3269,12 +3183,10 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Engine = ptr.String(jtv) } - case "EngineAttributes": if err := awsAwsjson11_deserializeDocumentEngineAttributes(&sv.EngineAttributes, value); err != nil { return err } - case "EngineModel": if value != nil { jtv, ok := value.(string) @@ -3283,7 +3195,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.EngineModel = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -3292,7 +3203,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.EngineVersion = ptr.String(jtv) } - case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -3301,7 +3211,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.InstanceProfileArn = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -3310,7 +3219,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.InstanceType = ptr.String(jtv) } - case "KeyPair": if value != nil { jtv, ok := value.(string) @@ -3319,7 +3227,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.KeyPair = ptr.String(jtv) } - case "MaintenanceStatus": if value != nil { jtv, ok := value.(string) @@ -3328,7 +3235,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.MaintenanceStatus = types.MaintenanceStatus(jtv) } - case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -3337,7 +3243,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.PreferredBackupWindow = ptr.String(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3346,12 +3251,10 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } - case "ServerArn": if value != nil { jtv, ok := value.(string) @@ -3360,7 +3263,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerArn = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -3369,7 +3271,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerName = ptr.String(jtv) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -3378,7 +3279,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServiceRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3387,7 +3287,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Status = types.ServerStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -3396,12 +3295,10 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.StatusReason = ptr.String(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3448,7 +3345,6 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } } - case "LogUrl": if value != nil { jtv, ok := value.(string) @@ -3457,7 +3353,6 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.LogUrl = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3361,6 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.Message = ptr.String(jtv) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -3475,7 +3369,6 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.ServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -3619,7 +3512,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3628,7 +3520,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3692,15 +3583,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3708,15 +3593,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3751,7 +3632,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateNodeOutput(v **AssociateNodeOutp } sv.NodeAssociationStatusToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3787,7 +3667,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } - default: _, _ = key, value @@ -3823,7 +3702,6 @@ func awsAwsjson11_deserializeOpDocumentCreateServerOutput(v **CreateServerOutput if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -3921,7 +3799,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAccountAttributes(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -3957,7 +3834,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3966,7 +3842,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4006,12 +3881,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } - case "ServerEvents": if err := awsAwsjson11_deserializeDocumentServerEvents(&sv.ServerEvents, value); err != nil { return err } - default: _, _ = key, value @@ -4047,7 +3920,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNodeAssociationStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentEngineAttributes(&sv.EngineAttributes, value); err != nil { return err } - case "NodeAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -4056,7 +3928,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNodeAssociationStatusOutput(v **D } sv.NodeAssociationStatus = types.NodeAssociationStatus(jtv) } - default: _, _ = key, value @@ -4096,12 +3967,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServersOutput(v **DescribeServers } sv.NextToken = ptr.String(jtv) } - case "Servers": if err := awsAwsjson11_deserializeDocumentServers(&sv.Servers, value); err != nil { return err } - default: _, _ = key, value @@ -4141,7 +4010,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateNodeOutput(v **DisassociateNo } sv.NodeAssociationStatusToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4177,7 +4045,6 @@ func awsAwsjson11_deserializeOpDocumentExportServerEngineAttributeOutput(v **Exp if err := awsAwsjson11_deserializeDocumentEngineAttribute(&sv.EngineAttribute, value); err != nil { return err } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -4186,7 +4053,6 @@ func awsAwsjson11_deserializeOpDocumentExportServerEngineAttributeOutput(v **Exp } sv.ServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -4226,12 +4092,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4267,7 +4131,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreServerOutput(v **RestoreServerOutp if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -4303,7 +4166,6 @@ func awsAwsjson11_deserializeOpDocumentStartMaintenanceOutput(v **StartMaintenan if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -4401,7 +4263,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerEngineAttributesOutput(v **Up if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -4437,7 +4298,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerOutput(v **UpdateServerOutput if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/organizations/deserializers.go b/service/organizations/deserializers.go index 26f1d0057c9..34ab5fedba2 100644 --- a/service/organizations/deserializers.go +++ b/service/organizations/deserializers.go @@ -8612,15 +8612,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8628,15 +8622,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8661,15 +8651,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8677,7 +8661,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -8686,15 +8669,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Reason = types.AccessDeniedForDependencyExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8729,7 +8708,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Arn = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -8738,7 +8716,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Email = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8747,7 +8724,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Id = ptr.String(jtv) } - case "JoinedMethod": if value != nil { jtv, ok := value.(string) @@ -8756,7 +8732,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.JoinedMethod = types.AccountJoinedMethod(jtv) } - case "JoinedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8772,7 +8747,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8781,7 +8755,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8790,7 +8763,6 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Status = types.AccountStatus(jtv) } - default: _, _ = key, value @@ -8820,15 +8792,9 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyClosedException(v **types.Acc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8836,15 +8802,11 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyClosedException(v **types.Acc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8869,15 +8831,9 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyRegisteredException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8885,15 +8841,11 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyRegisteredException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8918,15 +8870,9 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8934,15 +8880,11 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8967,15 +8909,9 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8983,15 +8919,11 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9016,15 +8948,9 @@ func awsAwsjson11_deserializeDocumentAccountOwnerNotVerifiedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9032,15 +8958,11 @@ func awsAwsjson11_deserializeDocumentAccountOwnerNotVerifiedException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9099,15 +9021,9 @@ func awsAwsjson11_deserializeDocumentAlreadyInOrganizationException(v **types.Al sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9115,15 +9031,11 @@ func awsAwsjson11_deserializeDocumentAlreadyInOrganizationException(v **types.Al } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9148,15 +9060,9 @@ func awsAwsjson11_deserializeDocumentAWSOrganizationsNotInUseException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9164,15 +9070,11 @@ func awsAwsjson11_deserializeDocumentAWSOrganizationsNotInUseException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9207,7 +9109,6 @@ func awsAwsjson11_deserializeDocumentChild(v **types.Child, value interface{}) e } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9216,7 +9117,6 @@ func awsAwsjson11_deserializeDocumentChild(v **types.Child, value interface{}) e } sv.Type = types.ChildType(jtv) } - default: _, _ = key, value @@ -9246,15 +9146,9 @@ func awsAwsjson11_deserializeDocumentChildNotFoundException(v **types.ChildNotFo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9262,15 +9156,11 @@ func awsAwsjson11_deserializeDocumentChildNotFoundException(v **types.ChildNotFo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9329,15 +9219,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9345,15 +9229,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9378,15 +9258,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9394,15 +9268,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9427,15 +9297,9 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9443,7 +9307,6 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -9452,15 +9315,11 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Reason = types.ConstraintViolationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9495,7 +9354,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.AccountId = ptr.String(jtv) } - case "AccountName": if value != nil { jtv, ok := value.(string) @@ -9504,7 +9362,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.AccountName = ptr.String(jtv) } - case "CompletedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9520,7 +9377,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9529,7 +9385,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.FailureReason = types.CreateAccountFailureReason(jtv) } - case "GovCloudAccountId": if value != nil { jtv, ok := value.(string) @@ -9538,7 +9393,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.GovCloudAccountId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9547,7 +9401,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.Id = ptr.String(jtv) } - case "RequestedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9563,7 +9416,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9572,7 +9424,6 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.State = types.CreateAccountState(jtv) } - default: _, _ = key, value @@ -9636,15 +9487,9 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatusNotFoundException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9652,15 +9497,11 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatusNotFoundException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9695,7 +9536,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Arn = ptr.String(jtv) } - case "DelegationEnabledDate": if value != nil { switch jtv := value.(type) { @@ -9711,7 +9551,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } } - case "Email": if value != nil { jtv, ok := value.(string) @@ -9720,7 +9559,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Email = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9729,7 +9567,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Id = ptr.String(jtv) } - case "JoinedMethod": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9575,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.JoinedMethod = types.AccountJoinedMethod(jtv) } - case "JoinedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9754,7 +9590,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9763,7 +9598,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9772,7 +9606,6 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Status = types.AccountStatus(jtv) } - default: _, _ = key, value @@ -9853,7 +9686,6 @@ func awsAwsjson11_deserializeDocumentDelegatedService(v **types.DelegatedService } } - case "ServicePrincipal": if value != nil { jtv, ok := value.(string) @@ -9862,7 +9694,6 @@ func awsAwsjson11_deserializeDocumentDelegatedService(v **types.DelegatedService } sv.ServicePrincipal = ptr.String(jtv) } - default: _, _ = key, value @@ -9926,15 +9757,9 @@ func awsAwsjson11_deserializeDocumentDestinationParentNotFoundException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9942,15 +9767,11 @@ func awsAwsjson11_deserializeDocumentDestinationParentNotFoundException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9975,15 +9796,9 @@ func awsAwsjson11_deserializeDocumentDuplicateAccountException(v **types.Duplica sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9991,15 +9806,11 @@ func awsAwsjson11_deserializeDocumentDuplicateAccountException(v **types.Duplica } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10024,15 +9835,9 @@ func awsAwsjson11_deserializeDocumentDuplicateHandshakeException(v **types.Dupli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10040,15 +9845,11 @@ func awsAwsjson11_deserializeDocumentDuplicateHandshakeException(v **types.Dupli } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10073,15 +9874,9 @@ func awsAwsjson11_deserializeDocumentDuplicateOrganizationalUnitException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10089,15 +9884,11 @@ func awsAwsjson11_deserializeDocumentDuplicateOrganizationalUnitException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10122,15 +9913,9 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyAttachmentException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10138,15 +9923,11 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyAttachmentException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10171,15 +9952,9 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyException(v **types.Duplicat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10187,15 +9962,11 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyException(v **types.Duplicat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10237,7 +10008,6 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } } - case "PolicyContent": if value != nil { jtv, ok := value.(string) @@ -10246,7 +10016,6 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyContent = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -10255,7 +10024,6 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyType = types.EffectivePolicyType(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10264,7 +10032,6 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.TargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10294,15 +10061,9 @@ func awsAwsjson11_deserializeDocumentEffectivePolicyNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10310,15 +10071,11 @@ func awsAwsjson11_deserializeDocumentEffectivePolicyNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10360,7 +10117,6 @@ func awsAwsjson11_deserializeDocumentEnabledServicePrincipal(v **types.EnabledSe } } - case "ServicePrincipal": if value != nil { jtv, ok := value.(string) @@ -10369,7 +10125,6 @@ func awsAwsjson11_deserializeDocumentEnabledServicePrincipal(v **types.EnabledSe } sv.ServicePrincipal = ptr.String(jtv) } - default: _, _ = key, value @@ -10433,15 +10188,9 @@ func awsAwsjson11_deserializeDocumentFinalizingOrganizationException(v **types.F sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10449,15 +10198,11 @@ func awsAwsjson11_deserializeDocumentFinalizingOrganizationException(v **types.F } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10492,7 +10237,6 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Action = types.ActionType(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10501,7 +10245,6 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Arn = ptr.String(jtv) } - case "ExpirationTimestamp": if value != nil { switch jtv := value.(type) { @@ -10517,7 +10260,6 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10526,12 +10268,10 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Id = ptr.String(jtv) } - case "Parties": if err := awsAwsjson11_deserializeDocumentHandshakeParties(&sv.Parties, value); err != nil { return err } - case "RequestedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10547,12 +10287,10 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } } - case "Resources": if err := awsAwsjson11_deserializeDocumentHandshakeResources(&sv.Resources, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -10561,7 +10299,6 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.State = types.HandshakeState(jtv) } - default: _, _ = key, value @@ -10591,15 +10328,9 @@ func awsAwsjson11_deserializeDocumentHandshakeAlreadyInStateException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10607,15 +10338,11 @@ func awsAwsjson11_deserializeDocumentHandshakeAlreadyInStateException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10640,15 +10367,9 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10656,7 +10377,6 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -10665,15 +10385,11 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t } sv.Reason = types.HandshakeConstraintViolationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10698,15 +10414,9 @@ func awsAwsjson11_deserializeDocumentHandshakeNotFoundException(v **types.Handsh sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10714,15 +10424,11 @@ func awsAwsjson11_deserializeDocumentHandshakeNotFoundException(v **types.Handsh } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10791,7 +10497,6 @@ func awsAwsjson11_deserializeDocumentHandshakeParty(v **types.HandshakeParty, va } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10800,7 +10505,6 @@ func awsAwsjson11_deserializeDocumentHandshakeParty(v **types.HandshakeParty, va } sv.Type = types.HandshakePartyType(jtv) } - default: _, _ = key, value @@ -10836,7 +10540,6 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour if err := awsAwsjson11_deserializeDocumentHandshakeResources(&sv.Resources, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10845,7 +10548,6 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour } sv.Type = types.HandshakeResourceType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10854,7 +10556,6 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10952,15 +10653,9 @@ func awsAwsjson11_deserializeDocumentInvalidHandshakeTransitionException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10968,15 +10663,11 @@ func awsAwsjson11_deserializeDocumentInvalidHandshakeTransitionException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11001,15 +10692,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11017,7 +10702,6 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -11026,15 +10710,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Reason = types.InvalidInputExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11059,15 +10739,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11075,15 +10749,11 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11108,15 +10778,9 @@ func awsAwsjson11_deserializeDocumentMasterCannotLeaveOrganizationException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11124,15 +10788,11 @@ func awsAwsjson11_deserializeDocumentMasterCannotLeaveOrganizationException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11167,12 +10827,10 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.Arn = ptr.String(jtv) } - case "AvailablePolicyTypes": if err := awsAwsjson11_deserializeDocumentPolicyTypes(&sv.AvailablePolicyTypes, value); err != nil { return err } - case "FeatureSet": if value != nil { jtv, ok := value.(string) @@ -11181,7 +10839,6 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.FeatureSet = types.OrganizationFeatureSet(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11190,7 +10847,6 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.Id = ptr.String(jtv) } - case "MasterAccountArn": if value != nil { jtv, ok := value.(string) @@ -11199,7 +10855,6 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountArn = ptr.String(jtv) } - case "MasterAccountEmail": if value != nil { jtv, ok := value.(string) @@ -11208,7 +10863,6 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountEmail = ptr.String(jtv) } - case "MasterAccountId": if value != nil { jtv, ok := value.(string) @@ -11217,7 +10871,6 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -11257,7 +10910,6 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11266,7 +10918,6 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11275,7 +10926,6 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11305,15 +10955,9 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotEmptyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11321,15 +10965,11 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotEmptyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11354,15 +10994,9 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotFoundException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11370,15 +11004,11 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotFoundException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11437,15 +11067,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotEmptyException(v **types.Org sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11453,15 +11077,11 @@ func awsAwsjson11_deserializeDocumentOrganizationNotEmptyException(v **types.Org } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11496,7 +11116,6 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11505,7 +11124,6 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Type = types.ParentType(jtv) } - default: _, _ = key, value @@ -11535,15 +11153,9 @@ func awsAwsjson11_deserializeDocumentParentNotFoundException(v **types.ParentNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11551,15 +11163,11 @@ func awsAwsjson11_deserializeDocumentParentNotFoundException(v **types.ParentNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11662,12 +11270,10 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.Content = ptr.String(jtv) } - case "PolicySummary": if err := awsAwsjson11_deserializeDocumentPolicySummary(&sv.PolicySummary, value); err != nil { return err } - default: _, _ = key, value @@ -11697,15 +11303,9 @@ func awsAwsjson11_deserializeDocumentPolicyChangesInProgressException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11713,15 +11313,11 @@ func awsAwsjson11_deserializeDocumentPolicyChangesInProgressException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11746,15 +11342,9 @@ func awsAwsjson11_deserializeDocumentPolicyInUseException(v **types.PolicyInUseE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11762,15 +11352,11 @@ func awsAwsjson11_deserializeDocumentPolicyInUseException(v **types.PolicyInUseE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11795,15 +11381,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotAttachedException(v **types.Policy sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11811,15 +11391,11 @@ func awsAwsjson11_deserializeDocumentPolicyNotAttachedException(v **types.Policy } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11844,15 +11420,9 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11860,15 +11430,11 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11903,7 +11469,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Arn = ptr.String(jtv) } - case "AwsManaged": if value != nil { jtv, ok := value.(bool) @@ -11912,7 +11477,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.AwsManaged = jtv } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11921,7 +11485,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11930,7 +11493,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11939,7 +11501,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11948,7 +11509,6 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Type = types.PolicyType(jtv) } - default: _, _ = key, value @@ -12022,7 +11582,6 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12031,7 +11590,6 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Name = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -12040,7 +11598,6 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.TargetId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12049,7 +11606,6 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Type = types.TargetType(jtv) } - default: _, _ = key, value @@ -12079,15 +11635,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeAlreadyEnabledException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12095,15 +11645,11 @@ func awsAwsjson11_deserializeDocumentPolicyTypeAlreadyEnabledException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12128,15 +11674,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotAvailableForOrganizationExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12144,15 +11684,11 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotAvailableForOrganizationExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12177,15 +11713,9 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotEnabledException(v **types.Pol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12193,15 +11723,11 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotEnabledException(v **types.Pol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12270,7 +11796,6 @@ func awsAwsjson11_deserializeDocumentPolicyTypeSummary(v **types.PolicyTypeSumma } sv.Status = types.PolicyTypeStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12279,7 +11804,6 @@ func awsAwsjson11_deserializeDocumentPolicyTypeSummary(v **types.PolicyTypeSumma } sv.Type = types.PolicyType(jtv) } - default: _, _ = key, value @@ -12319,12 +11843,10 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Content = ptr.String(jtv) } - case "ResourcePolicySummary": if err := awsAwsjson11_deserializeDocumentResourcePolicySummary(&sv.ResourcePolicySummary, value); err != nil { return err } - default: _, _ = key, value @@ -12354,15 +11876,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12370,15 +11886,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12413,7 +11925,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicySummary(v **types.ResourcePol } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12422,7 +11933,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicySummary(v **types.ResourcePol } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12462,7 +11972,6 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12471,7 +11980,6 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12480,12 +11988,10 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Name = ptr.String(jtv) } - case "PolicyTypes": if err := awsAwsjson11_deserializeDocumentPolicyTypes(&sv.PolicyTypes, value); err != nil { return err } - default: _, _ = key, value @@ -12515,15 +12021,9 @@ func awsAwsjson11_deserializeDocumentRootNotFoundException(v **types.RootNotFoun sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12531,15 +12031,11 @@ func awsAwsjson11_deserializeDocumentRootNotFoundException(v **types.RootNotFoun } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12598,15 +12094,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12614,15 +12104,11 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12647,15 +12133,9 @@ func awsAwsjson11_deserializeDocumentSourceParentNotFoundException(v **types.Sou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12663,15 +12143,11 @@ func awsAwsjson11_deserializeDocumentSourceParentNotFoundException(v **types.Sou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12706,7 +12182,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12715,7 +12190,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12779,15 +12253,9 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12795,15 +12263,11 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12828,15 +12292,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12844,7 +12302,6 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12853,15 +12310,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12886,15 +12339,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedAPIEndpointException(v **types.U sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12902,15 +12349,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedAPIEndpointException(v **types.U } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12941,7 +12384,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptHandshakeOutput(v **AcceptHandshake if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -12977,7 +12419,6 @@ func awsAwsjson11_deserializeOpDocumentCancelHandshakeOutput(v **CancelHandshake if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -13013,7 +12454,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountOutput(v **CreateAccountOutp if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13049,7 +12489,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGovCloudAccountOutput(v **CreateGov if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13085,7 +12524,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationalUnitOutput(v **Create if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } - default: _, _ = key, value @@ -13121,7 +12559,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationOutput(v **CreateOrgani if err := awsAwsjson11_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } - default: _, _ = key, value @@ -13157,7 +12594,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -13193,7 +12629,6 @@ func awsAwsjson11_deserializeOpDocumentDeclineHandshakeOutput(v **DeclineHandsha if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -13229,7 +12664,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount if err := awsAwsjson11_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } - default: _, _ = key, value @@ -13265,7 +12699,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateAccountStatusOutput(v **Des if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13301,7 +12734,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePolicyOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEffectivePolicy(&sv.EffectivePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -13337,7 +12769,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHandshakeOutput(v **DescribeHands if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -13373,7 +12804,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationalUnitOutput(v **Desc if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } - default: _, _ = key, value @@ -13409,7 +12839,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr if err := awsAwsjson11_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } - default: _, _ = key, value @@ -13445,7 +12874,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePolicyOutput(v **DescribePolicyOu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -13481,7 +12909,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -13517,7 +12944,6 @@ func awsAwsjson11_deserializeOpDocumentDisablePolicyTypeOutput(v **DisablePolicy if err := awsAwsjson11_deserializeDocumentRoot(&sv.Root, value); err != nil { return err } - default: _, _ = key, value @@ -13553,7 +12979,6 @@ func awsAwsjson11_deserializeOpDocumentEnableAllFeaturesOutput(v **EnableAllFeat if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -13589,7 +13014,6 @@ func awsAwsjson11_deserializeOpDocumentEnablePolicyTypeOutput(v **EnablePolicyTy if err := awsAwsjson11_deserializeDocumentRoot(&sv.Root, value); err != nil { return err } - default: _, _ = key, value @@ -13625,7 +13049,6 @@ func awsAwsjson11_deserializeOpDocumentInviteAccountToOrganizationOutput(v **Inv if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } - default: _, _ = key, value @@ -13661,7 +13084,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForParentOutput(v **ListAccou if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13670,7 +13092,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForParentOutput(v **ListAccou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13706,7 +13127,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13715,7 +13135,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13751,7 +13170,6 @@ func awsAwsjson11_deserializeOpDocumentListAWSServiceAccessForOrganizationOutput if err := awsAwsjson11_deserializeDocumentEnabledServicePrincipals(&sv.EnabledServicePrincipals, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13760,7 +13178,6 @@ func awsAwsjson11_deserializeOpDocumentListAWSServiceAccessForOrganizationOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13796,7 +13213,6 @@ func awsAwsjson11_deserializeOpDocumentListChildrenOutput(v **ListChildrenOutput if err := awsAwsjson11_deserializeDocumentChildren(&sv.Children, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13805,7 +13221,6 @@ func awsAwsjson11_deserializeOpDocumentListChildrenOutput(v **ListChildrenOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13841,7 +13256,6 @@ func awsAwsjson11_deserializeOpDocumentListCreateAccountStatusOutput(v **ListCre if err := awsAwsjson11_deserializeDocumentCreateAccountStatuses(&sv.CreateAccountStatuses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13850,7 +13264,6 @@ func awsAwsjson11_deserializeOpDocumentListCreateAccountStatusOutput(v **ListCre } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13886,7 +13299,6 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedAdministratorsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentDelegatedAdministrators(&sv.DelegatedAdministrators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13895,7 +13307,6 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedAdministratorsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13931,7 +13342,6 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedServicesForAccountOutput(v * if err := awsAwsjson11_deserializeDocumentDelegatedServices(&sv.DelegatedServices, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13940,7 +13350,6 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedServicesForAccountOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13976,7 +13385,6 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForAccountOutput(v **ListHa if err := awsAwsjson11_deserializeDocumentHandshakes(&sv.Handshakes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13985,7 +13393,6 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForAccountOutput(v **ListHa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14021,7 +13428,6 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForOrganizationOutput(v **L if err := awsAwsjson11_deserializeDocumentHandshakes(&sv.Handshakes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14030,7 +13436,6 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForOrganizationOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14070,12 +13475,10 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationalUnitsForParentOutput(v } sv.NextToken = ptr.String(jtv) } - case "OrganizationalUnits": if err := awsAwsjson11_deserializeDocumentOrganizationalUnits(&sv.OrganizationalUnits, value); err != nil { return err } - default: _, _ = key, value @@ -14115,12 +13518,10 @@ func awsAwsjson11_deserializeOpDocumentListParentsOutput(v **ListParentsOutput, } sv.NextToken = ptr.String(jtv) } - case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } - default: _, _ = key, value @@ -14160,12 +13561,10 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesForTargetOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -14205,12 +13604,10 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -14250,12 +13647,10 @@ func awsAwsjson11_deserializeOpDocumentListRootsOutput(v **ListRootsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Roots": if err := awsAwsjson11_deserializeDocumentRoots(&sv.Roots, value); err != nil { return err } - default: _, _ = key, value @@ -14295,12 +13690,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14340,12 +13733,10 @@ func awsAwsjson11_deserializeOpDocumentListTargetsForPolicyOutput(v **ListTarget } sv.NextToken = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentPolicyTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -14381,7 +13772,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -14417,7 +13807,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateOrganizationalUnitOutput(v **Update if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } - default: _, _ = key, value @@ -14453,7 +13842,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/osis/deserializers.go b/service/osis/deserializers.go index 00c987a4047..1ee6d0a08a7 100644 --- a/service/osis/deserializers.go +++ b/service/osis/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -456,7 +455,6 @@ func awsRestjson1_deserializeOpDocumentGetPipelineOutput(v **GetPipelineOutput, if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -620,7 +618,6 @@ func awsRestjson1_deserializeOpDocumentGetPipelineBlueprintOutput(v **GetPipelin if err := awsRestjson1_deserializeDocumentPipelineBlueprint(&sv.Blueprint, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -629,7 +626,6 @@ func awsRestjson1_deserializeOpDocumentGetPipelineBlueprintOutput(v **GetPipelin } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -793,7 +789,6 @@ func awsRestjson1_deserializeOpDocumentGetPipelineChangeProgressOutput(v **GetPi if err := awsRestjson1_deserializeDocumentChangeProgressStatusList(&sv.ChangeProgressStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -957,7 +952,6 @@ func awsRestjson1_deserializeOpDocumentListPipelineBlueprintsOutput(v **ListPipe if err := awsRestjson1_deserializeDocumentPipelineBlueprintsSummaryList(&sv.Blueprints, value); err != nil { return err } - default: _, _ = key, value @@ -1125,12 +1119,10 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } - case "Pipelines": if err := awsRestjson1_deserializeDocumentPipelineSummaryList(&sv.Pipelines, value); err != nil { return err } - default: _, _ = key, value @@ -1294,7 +1286,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1461,7 +1452,6 @@ func awsRestjson1_deserializeOpDocumentStartPipelineOutput(v **StartPipelineOutp if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -1628,7 +1618,6 @@ func awsRestjson1_deserializeOpDocumentStopPipelineOutput(v **StopPipelineOutput if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -1998,7 +1987,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -2159,7 +2147,6 @@ func awsRestjson1_deserializeOpDocumentValidatePipelineOutput(v **ValidatePipeli if err := awsRestjson1_deserializeDocumentValidationMessageList(&sv.Errors, value); err != nil { return err } - case "isValid": if value != nil { jtv, ok := value.(bool) @@ -2168,7 +2155,6 @@ func awsRestjson1_deserializeOpDocumentValidatePipelineOutput(v **ValidatePipeli } sv.IsValid = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2522,15 +2508,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2538,15 +2518,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2581,7 +2557,6 @@ func awsRestjson1_deserializeDocumentBufferOptions(v **types.BufferOptions, valu } sv.PersistentBufferEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2621,7 +2596,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2637,7 +2611,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2646,7 +2619,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2655,7 +2627,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = types.ChangeProgressStageStatuses(jtv) } - default: _, _ = key, value @@ -2725,7 +2696,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2741,7 +2711,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2750,7 +2719,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } sv.Status = types.ChangeProgressStatuses(jtv) } - case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -2763,7 +2731,6 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } sv.TotalNumberOfStages = int32(i64) } - default: _, _ = key, value @@ -2837,7 +2804,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogDestination(v **types.CloudWat } sv.LogGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -2867,15 +2833,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2883,15 +2843,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2916,15 +2872,9 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2932,15 +2882,11 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2975,7 +2921,6 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3041,15 +2986,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3057,15 +2996,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3090,15 +3025,9 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3106,15 +3035,11 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3139,15 +3064,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3155,15 +3074,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3194,7 +3109,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOptions(v **types.LogPublishin if err := awsRestjson1_deserializeDocumentCloudWatchLogDestination(&sv.CloudWatchLogDestination, value); err != nil { return err } - case "IsLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -3203,7 +3117,6 @@ func awsRestjson1_deserializeDocumentLogPublishingOptions(v **types.LogPublishin } sv.IsLoggingEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3239,7 +3152,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsRestjson1_deserializeDocumentBufferOptions(&sv.BufferOptions, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3255,22 +3167,18 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "Destinations": if err := awsRestjson1_deserializeDocumentPipelineDestinationList(&sv.Destinations, value); err != nil { return err } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "IngestEndpointUrls": if err := awsRestjson1_deserializeDocumentIngestEndpointUrlsList(&sv.IngestEndpointUrls, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3286,12 +3194,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } - case "MaxUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3304,7 +3210,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.MaxUnits = int32(i64) } - case "MinUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3317,7 +3222,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.MinUnits = int32(i64) } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -3326,7 +3230,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineArn = ptr.String(jtv) } - case "PipelineConfigurationBody": if value != nil { jtv, ok := value.(string) @@ -3335,7 +3238,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineConfigurationBody = ptr.String(jtv) } - case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -3344,12 +3246,10 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineName = ptr.String(jtv) } - case "ServiceVpcEndpoints": if err := awsRestjson1_deserializeDocumentServiceVpcEndpointsList(&sv.ServiceVpcEndpoints, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3358,22 +3258,18 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Status = types.PipelineStatus(jtv) } - case "StatusReason": if err := awsRestjson1_deserializeDocumentPipelineStatusReason(&sv.StatusReason, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpointsList(&sv.VpcEndpoints, value); err != nil { return err } - case "VpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -3382,7 +3278,6 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.VpcEndpointService = ptr.String(jtv) } - default: _, _ = key, value @@ -3422,7 +3317,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.BlueprintName = ptr.String(jtv) } - case "DisplayDescription": if value != nil { jtv, ok := value.(string) @@ -3431,7 +3325,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.DisplayDescription = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3440,7 +3333,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.DisplayName = ptr.String(jtv) } - case "PipelineConfigurationBody": if value != nil { jtv, ok := value.(string) @@ -3449,7 +3341,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.PipelineConfigurationBody = ptr.String(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -3458,7 +3349,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.Service = ptr.String(jtv) } - case "UseCase": if value != nil { jtv, ok := value.(string) @@ -3467,7 +3357,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.UseCase = ptr.String(jtv) } - default: _, _ = key, value @@ -3541,7 +3430,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.BlueprintName = ptr.String(jtv) } - case "DisplayDescription": if value != nil { jtv, ok := value.(string) @@ -3550,7 +3438,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.DisplayDescription = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3559,7 +3446,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.DisplayName = ptr.String(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -3568,7 +3454,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.Service = ptr.String(jtv) } - case "UseCase": if value != nil { jtv, ok := value.(string) @@ -3577,7 +3462,6 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.UseCase = ptr.String(jtv) } - default: _, _ = key, value @@ -3617,7 +3501,6 @@ func awsRestjson1_deserializeDocumentPipelineDestination(v **types.PipelineDesti } sv.Endpoint = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3509,6 @@ func awsRestjson1_deserializeDocumentPipelineDestination(v **types.PipelineDesti } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -3700,7 +3582,6 @@ func awsRestjson1_deserializeDocumentPipelineStatusReason(v **types.PipelineStat } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -3747,12 +3628,10 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "Destinations": if err := awsRestjson1_deserializeDocumentPipelineDestinationList(&sv.Destinations, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3768,7 +3647,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "MaxUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3781,7 +3659,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.MaxUnits = ptr.Int32(int32(i64)) } - case "MinUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3794,7 +3671,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.MinUnits = ptr.Int32(int32(i64)) } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -3803,7 +3679,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineArn = ptr.String(jtv) } - case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -3812,7 +3687,6 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3821,17 +3695,14 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Status = types.PipelineStatus(jtv) } - case "StatusReason": if err := awsRestjson1_deserializeDocumentPipelineStatusReason(&sv.StatusReason, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3895,15 +3766,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3911,15 +3776,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3944,15 +3805,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3960,15 +3815,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4039,7 +3890,6 @@ func awsRestjson1_deserializeDocumentServiceVpcEndpoint(v **types.ServiceVpcEndp } sv.ServiceName = types.VpcEndpointServiceName(jtv) } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -4048,7 +3898,6 @@ func awsRestjson1_deserializeDocumentServiceVpcEndpoint(v **types.ServiceVpcEndp } sv.VpcEndpointId = ptr.String(jtv) } - default: _, _ = key, value @@ -4158,7 +4007,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4167,7 +4015,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4231,15 +4078,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4247,15 +4088,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4290,7 +4127,6 @@ func awsRestjson1_deserializeDocumentValidationMessage(v **types.ValidationMessa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -4364,7 +4200,6 @@ func awsRestjson1_deserializeDocumentVpcAttachmentOptions(v **types.VpcAttachmen } sv.AttachToVpc = ptr.Bool(jtv) } - case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -4373,7 +4208,6 @@ func awsRestjson1_deserializeDocumentVpcAttachmentOptions(v **types.VpcAttachmen } sv.CidrBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -4413,7 +4247,6 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -4422,12 +4255,10 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcId = ptr.String(jtv) } - case "VpcOptions": if err := awsRestjson1_deserializeDocumentVpcOptions(&sv.VpcOptions, value); err != nil { return err } - default: _, _ = key, value @@ -4497,17 +4328,14 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcAttachmentOptions": if err := awsRestjson1_deserializeDocumentVpcAttachmentOptions(&sv.VpcAttachmentOptions, value); err != nil { return err } - case "VpcEndpointManagement": if value != nil { jtv, ok := value.(string) @@ -4516,7 +4344,6 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.VpcEndpointManagement = types.VpcEndpointManagement(jtv) } - default: _, _ = key, value diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index bdc2d518735..7385ea7bf35 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -387,7 +387,6 @@ func awsRestjson1_deserializeOpDocumentCreateOrderOutput(v **CreateOrderOutput, if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } - default: _, _ = key, value @@ -554,7 +553,6 @@ func awsRestjson1_deserializeOpDocumentCreateOutpostOutput(v **CreateOutpostOutp if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } - default: _, _ = key, value @@ -718,7 +716,6 @@ func awsRestjson1_deserializeOpDocumentCreateSiteOutput(v **CreateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -1083,7 +1080,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.CapacityTaskId = ptr.String(jtv) } - case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -1092,7 +1088,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -1108,7 +1103,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1124,7 +1118,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } - case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -1133,12 +1126,10 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.DryRun = jtv } - case "Failed": if err := awsRestjson1_deserializeDocumentCapacityTaskFailure(&sv.Failed, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -1154,7 +1145,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -1163,7 +1153,6 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.OrderId = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -1172,12 +1161,10 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.OutpostId = ptr.String(jtv) } - case "RequestedInstancePools": if err := awsRestjson1_deserializeDocumentRequestedInstancePools(&sv.RequestedInstancePools, value); err != nil { return err } - default: _, _ = key, value @@ -1335,7 +1322,6 @@ func awsRestjson1_deserializeOpDocumentGetCatalogItemOutput(v **GetCatalogItemOu if err := awsRestjson1_deserializeDocumentCatalogItem(&sv.CatalogItem, value); err != nil { return err } - default: _, _ = key, value @@ -1496,7 +1482,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsRestjson1_deserializeDocumentConnectionDetails(&sv.ConnectionDetails, value); err != nil { return err } - case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -1505,7 +1490,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.ConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1663,7 +1647,6 @@ func awsRestjson1_deserializeOpDocumentGetOrderOutput(v **GetOrderOutput, value if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } - default: _, _ = key, value @@ -1824,7 +1807,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostOutput(v **GetOutpostOutput, va if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } - default: _, _ = key, value @@ -1985,7 +1967,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp if err := awsRestjson1_deserializeDocumentInstanceTypeListDefinition(&sv.InstanceTypes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1994,7 +1975,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.NextToken = ptr.String(jtv) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -2003,7 +1983,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.OutpostArn = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -2012,7 +1991,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.OutpostId = ptr.String(jtv) } - default: _, _ = key, value @@ -2173,7 +2151,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostSupportedInstanceTypesOutput(v if err := awsRestjson1_deserializeDocumentInstanceTypeListDefinition(&sv.InstanceTypes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2182,7 +2159,6 @@ func awsRestjson1_deserializeOpDocumentGetOutpostSupportedInstanceTypesOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2343,7 +2319,6 @@ func awsRestjson1_deserializeOpDocumentGetSiteOutput(v **GetSiteOutput, value in if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -2504,7 +2479,6 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressType": if value != nil { jtv, ok := value.(string) @@ -2513,7 +2487,6 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu } sv.AddressType = types.AddressType(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -2522,7 +2495,6 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu } sv.SiteId = ptr.String(jtv) } - default: _, _ = key, value @@ -2683,7 +2655,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocumentAssetListDefinition(&sv.Assets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2692,7 +2663,6 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2853,7 +2823,6 @@ func awsRestjson1_deserializeOpDocumentListCapacityTasksOutput(v **ListCapacityT if err := awsRestjson1_deserializeDocumentCapacityTaskList(&sv.CapacityTasks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2862,7 +2831,6 @@ func awsRestjson1_deserializeOpDocumentListCapacityTasksOutput(v **ListCapacityT } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3020,7 +2988,6 @@ func awsRestjson1_deserializeOpDocumentListCatalogItemsOutput(v **ListCatalogIte if err := awsRestjson1_deserializeDocumentCatalogItemListDefinition(&sv.CatalogItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3029,7 +2996,6 @@ func awsRestjson1_deserializeOpDocumentListCatalogItemsOutput(v **ListCatalogIte } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3194,12 +3160,10 @@ func awsRestjson1_deserializeOpDocumentListOrdersOutput(v **ListOrdersOutput, va } sv.NextToken = ptr.String(jtv) } - case "Orders": if err := awsRestjson1_deserializeDocumentOrderSummaryListDefinition(&sv.Orders, value); err != nil { return err } - default: _, _ = key, value @@ -3361,12 +3325,10 @@ func awsRestjson1_deserializeOpDocumentListOutpostsOutput(v **ListOutpostsOutput } sv.NextToken = ptr.String(jtv) } - case "Outposts": if err := awsRestjson1_deserializeDocumentOutpostListDefinition(&sv.Outposts, value); err != nil { return err } - default: _, _ = key, value @@ -3528,12 +3490,10 @@ func awsRestjson1_deserializeOpDocumentListSitesOutput(v **ListSitesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Sites": if err := awsRestjson1_deserializeDocumentSiteListDefinition(&sv.Sites, value); err != nil { return err } - default: _, _ = key, value @@ -3691,7 +3651,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3859,7 +3818,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.CapacityTaskId = ptr.String(jtv) } - case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -3868,7 +3826,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -3884,7 +3841,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3900,7 +3856,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } - case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -3909,12 +3864,10 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.DryRun = jtv } - case "Failed": if err := awsRestjson1_deserializeDocumentCapacityTaskFailure(&sv.Failed, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3930,7 +3883,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -3939,7 +3891,6 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.OrderId = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -3948,12 +3899,10 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.OutpostId = ptr.String(jtv) } - case "RequestedInstancePools": if err := awsRestjson1_deserializeDocumentRequestedInstancePools(&sv.RequestedInstancePools, value); err != nil { return err } - default: _, _ = key, value @@ -4118,7 +4067,6 @@ func awsRestjson1_deserializeOpDocumentStartConnectionOutput(v **StartConnection } sv.ConnectionId = ptr.String(jtv) } - case "UnderlayIpAddress": if value != nil { jtv, ok := value.(string) @@ -4127,7 +4075,6 @@ func awsRestjson1_deserializeOpDocumentStartConnectionOutput(v **StartConnection } sv.UnderlayIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -4479,7 +4426,6 @@ func awsRestjson1_deserializeOpDocumentUpdateOutpostOutput(v **UpdateOutpostOutp if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } - default: _, _ = key, value @@ -4643,7 +4589,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteOutput(v **UpdateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -4807,7 +4752,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteAddressOutput(v **UpdateSiteAdd if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "AddressType": if value != nil { jtv, ok := value.(string) @@ -4816,7 +4760,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteAddressOutput(v **UpdateSiteAdd } sv.AddressType = types.AddressType(jtv) } - default: _, _ = key, value @@ -4980,7 +4923,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteRackPhysicalPropertiesOutput(v if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } - default: _, _ = key, value @@ -5226,15 +5168,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5242,15 +5178,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5285,7 +5217,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine1 = ptr.String(jtv) } - case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -5294,7 +5225,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine2 = ptr.String(jtv) } - case "AddressLine3": if value != nil { jtv, ok := value.(string) @@ -5303,7 +5233,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine3 = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -5312,7 +5241,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "ContactName": if value != nil { jtv, ok := value.(string) @@ -5321,7 +5249,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.ContactName = ptr.String(jtv) } - case "ContactPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -5330,7 +5257,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.ContactPhoneNumber = ptr.String(jtv) } - case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -5339,7 +5265,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.CountryCode = ptr.String(jtv) } - case "DistrictOrCounty": if value != nil { jtv, ok := value.(string) @@ -5348,7 +5273,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.DistrictOrCounty = ptr.String(jtv) } - case "Municipality": if value != nil { jtv, ok := value.(string) @@ -5357,7 +5281,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Municipality = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -5366,7 +5289,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "StateOrRegion": if value != nil { jtv, ok := value.(string) @@ -5375,7 +5297,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -5415,12 +5336,10 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.AssetId = ptr.String(jtv) } - case "AssetLocation": if err := awsRestjson1_deserializeDocumentAssetLocation(&sv.AssetLocation, value); err != nil { return err } - case "AssetType": if value != nil { jtv, ok := value.(string) @@ -5429,12 +5348,10 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.AssetType = types.AssetType(jtv) } - case "ComputeAttributes": if err := awsRestjson1_deserializeDocumentComputeAttributes(&sv.ComputeAttributes, value); err != nil { return err } - case "RackId": if value != nil { jtv, ok := value.(string) @@ -5443,7 +5360,6 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.RackId = ptr.String(jtv) } - default: _, _ = key, value @@ -5542,7 +5458,6 @@ func awsRestjson1_deserializeDocumentAssetLocation(v **types.AssetLocation, valu } } - default: _, _ = key, value @@ -5582,7 +5497,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskFailure(v **types.CapacityTaskF } sv.Reason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5591,7 +5505,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskFailure(v **types.CapacityTaskF } sv.Type = types.CapacityTaskFailureType(jtv) } - default: _, _ = key, value @@ -5665,7 +5578,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.CapacityTaskId = ptr.String(jtv) } - case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -5674,7 +5586,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } - case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -5690,7 +5601,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5706,7 +5616,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -5722,7 +5631,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -5731,7 +5639,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.OrderId = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -5740,7 +5647,6 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.OutpostId = ptr.String(jtv) } - default: _, _ = key, value @@ -5780,12 +5686,10 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.CatalogItemId = ptr.String(jtv) } - case "EC2Capacities": if err := awsRestjson1_deserializeDocumentEC2CapacityListDefinition(&sv.EC2Capacities, value); err != nil { return err } - case "ItemStatus": if value != nil { jtv, ok := value.(string) @@ -5794,7 +5698,6 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.ItemStatus = types.CatalogItemStatus(jtv) } - case "PowerKva": if value != nil { switch jtv := value.(type) { @@ -5828,17 +5731,14 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } } - case "SupportedStorage": if err := awsRestjson1_deserializeDocumentSupportedStorageList(&sv.SupportedStorage, value); err != nil { return err } - case "SupportedUplinkGbps": if err := awsRestjson1_deserializeDocumentSupportedUplinkGbpsListDefinition(&sv.SupportedUplinkGbps, value); err != nil { return err } - case "WeightLbs": if value != nil { jtv, ok := value.(json.Number) @@ -5851,7 +5751,6 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.WeightLbs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5961,12 +5860,10 @@ func awsRestjson1_deserializeDocumentComputeAttributes(v **types.ComputeAttribut } sv.HostId = ptr.String(jtv) } - case "InstanceFamilies": if err := awsRestjson1_deserializeDocumentInstanceFamilies(&sv.InstanceFamilies, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -5975,7 +5872,6 @@ func awsRestjson1_deserializeDocumentComputeAttributes(v **types.ComputeAttribut } sv.State = types.ComputeAssetState(jtv) } - default: _, _ = key, value @@ -6005,15 +5901,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6021,7 +5911,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6030,7 +5919,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6039,15 +5927,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6078,7 +5962,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai if err := awsRestjson1_deserializeDocumentCIDRList(&sv.AllowedIps, value); err != nil { return err } - case "ClientPublicKey": if value != nil { jtv, ok := value.(string) @@ -6087,7 +5970,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ClientPublicKey = ptr.String(jtv) } - case "ClientTunnelAddress": if value != nil { jtv, ok := value.(string) @@ -6096,7 +5978,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ClientTunnelAddress = ptr.String(jtv) } - case "ServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -6105,7 +5986,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerEndpoint = ptr.String(jtv) } - case "ServerPublicKey": if value != nil { jtv, ok := value.(string) @@ -6114,7 +5994,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerPublicKey = ptr.String(jtv) } - case "ServerTunnelAddress": if value != nil { jtv, ok := value.(string) @@ -6123,7 +6002,6 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerTunnelAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -6163,7 +6041,6 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.Family = ptr.String(jtv) } - case "MaxSize": if value != nil { jtv, ok := value.(string) @@ -6172,7 +6049,6 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.MaxSize = ptr.String(jtv) } - case "Quantity": if value != nil { jtv, ok := value.(string) @@ -6181,7 +6057,6 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.Quantity = ptr.String(jtv) } - default: _, _ = key, value @@ -6295,7 +6170,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeCapacity(v **types.InstanceType } sv.Count = int32(i64) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -6304,7 +6178,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeCapacity(v **types.InstanceType } sv.InstanceType = ptr.String(jtv) } - default: _, _ = key, value @@ -6344,7 +6217,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeItem(v **types.InstanceTypeItem } sv.InstanceType = ptr.String(jtv) } - case "VCPUs": if value != nil { jtv, ok := value.(json.Number) @@ -6357,7 +6229,6 @@ func awsRestjson1_deserializeDocumentInstanceTypeItem(v **types.InstanceTypeItem } sv.VCPUs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6421,15 +6292,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6437,15 +6302,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6476,7 +6337,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac if err := awsRestjson1_deserializeDocumentLineItemAssetInformationList(&sv.AssetInformationList, value); err != nil { return err } - case "CatalogItemId": if value != nil { jtv, ok := value.(string) @@ -6485,7 +6345,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.CatalogItemId = ptr.String(jtv) } - case "LineItemId": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6353,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.LineItemId = ptr.String(jtv) } - case "PreviousLineItemId": if value != nil { jtv, ok := value.(string) @@ -6503,7 +6361,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.PreviousLineItemId = ptr.String(jtv) } - case "PreviousOrderId": if value != nil { jtv, ok := value.(string) @@ -6512,7 +6369,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.PreviousOrderId = ptr.String(jtv) } - case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -6525,12 +6381,10 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.Quantity = ptr.Int32(int32(i64)) } - case "ShipmentInformation": if err := awsRestjson1_deserializeDocumentShipmentInformation(&sv.ShipmentInformation, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6539,7 +6393,6 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.Status = types.LineItemStatus(jtv) } - default: _, _ = key, value @@ -6579,12 +6432,10 @@ func awsRestjson1_deserializeDocumentLineItemAssetInformation(v **types.LineItem } sv.AssetId = ptr.String(jtv) } - case "MacAddressList": if err := awsRestjson1_deserializeDocumentMacAddressList(&sv.MacAddressList, value); err != nil { return err } - default: _, _ = key, value @@ -6758,15 +6609,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6774,15 +6619,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6813,7 +6654,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e if err := awsRestjson1_deserializeDocumentLineItemListDefinition(&sv.LineItems, value); err != nil { return err } - case "OrderFulfilledDate": if value != nil { switch jtv := value.(type) { @@ -6829,7 +6669,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -6838,7 +6677,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderId = ptr.String(jtv) } - case "OrderSubmissionDate": if value != nil { switch jtv := value.(type) { @@ -6854,7 +6692,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } } - case "OrderType": if value != nil { jtv, ok := value.(string) @@ -6863,7 +6700,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderType = types.OrderType(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -6872,7 +6708,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OutpostId = ptr.String(jtv) } - case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -6881,7 +6716,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.PaymentOption = types.PaymentOption(jtv) } - case "PaymentTerm": if value != nil { jtv, ok := value.(string) @@ -6890,7 +6724,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.PaymentTerm = types.PaymentTerm(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6899,7 +6732,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.Status = types.OrderStatus(jtv) } - default: _, _ = key, value @@ -6935,7 +6767,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value if err := awsRestjson1_deserializeDocumentLineItemStatusCounts(&sv.LineItemCountsByStatus, value); err != nil { return err } - case "OrderFulfilledDate": if value != nil { switch jtv := value.(type) { @@ -6951,7 +6782,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } } - case "OrderId": if value != nil { jtv, ok := value.(string) @@ -6960,7 +6790,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OrderId = ptr.String(jtv) } - case "OrderSubmissionDate": if value != nil { switch jtv := value.(type) { @@ -6976,7 +6805,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } } - case "OrderType": if value != nil { jtv, ok := value.(string) @@ -6985,7 +6813,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OrderType = types.OrderType(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -6994,7 +6821,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OutpostId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7003,7 +6829,6 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.Status = types.OrderStatus(jtv) } - default: _, _ = key, value @@ -7077,7 +6902,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.AvailabilityZone = ptr.String(jtv) } - case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -7086,7 +6910,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.AvailabilityZoneId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7095,7 +6918,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.Description = ptr.String(jtv) } - case "LifeCycleStatus": if value != nil { jtv, ok := value.(string) @@ -7104,7 +6926,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.LifeCycleStatus = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7113,7 +6934,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.Name = ptr.String(jtv) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -7122,7 +6942,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostArn = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -7131,7 +6950,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -7140,7 +6958,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OwnerId = ptr.String(jtv) } - case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -7149,7 +6966,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SiteArn = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -7158,7 +6974,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SiteId = ptr.String(jtv) } - case "SupportedHardwareType": if value != nil { jtv, ok := value.(string) @@ -7167,12 +6982,10 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SupportedHardwareType = types.SupportedHardwareType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7246,7 +7059,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.FiberOpticCableType = types.FiberOpticCableType(jtv) } - case "MaximumSupportedWeightLbs": if value != nil { jtv, ok := value.(string) @@ -7255,7 +7067,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.MaximumSupportedWeightLbs = types.MaximumSupportedWeightLbs(jtv) } - case "OpticalStandard": if value != nil { jtv, ok := value.(string) @@ -7264,7 +7075,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.OpticalStandard = types.OpticalStandard(jtv) } - case "PowerConnector": if value != nil { jtv, ok := value.(string) @@ -7273,7 +7083,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerConnector = types.PowerConnector(jtv) } - case "PowerDrawKva": if value != nil { jtv, ok := value.(string) @@ -7282,7 +7091,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerDrawKva = types.PowerDrawKva(jtv) } - case "PowerFeedDrop": if value != nil { jtv, ok := value.(string) @@ -7291,7 +7099,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerFeedDrop = types.PowerFeedDrop(jtv) } - case "PowerPhase": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7107,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerPhase = types.PowerPhase(jtv) } - case "UplinkCount": if value != nil { jtv, ok := value.(string) @@ -7309,7 +7115,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.UplinkCount = types.UplinkCount(jtv) } - case "UplinkGbps": if value != nil { jtv, ok := value.(string) @@ -7318,7 +7123,6 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.UplinkGbps = types.UplinkGbps(jtv) } - default: _, _ = key, value @@ -7382,15 +7186,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7398,15 +7196,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7441,7 +7235,6 @@ func awsRestjson1_deserializeDocumentShipmentInformation(v **types.ShipmentInfor } sv.ShipmentCarrier = types.ShipmentCarrier(jtv) } - case "ShipmentTrackingNumber": if value != nil { jtv, ok := value.(string) @@ -7450,7 +7243,6 @@ func awsRestjson1_deserializeDocumentShipmentInformation(v **types.ShipmentInfor } sv.ShipmentTrackingNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -7490,7 +7282,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.AccountId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7499,7 +7290,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7508,7 +7298,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -7517,7 +7306,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Notes = ptr.String(jtv) } - case "OperatingAddressCity": if value != nil { jtv, ok := value.(string) @@ -7526,7 +7314,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressCity = ptr.String(jtv) } - case "OperatingAddressCountryCode": if value != nil { jtv, ok := value.(string) @@ -7535,7 +7322,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressCountryCode = ptr.String(jtv) } - case "OperatingAddressStateOrRegion": if value != nil { jtv, ok := value.(string) @@ -7544,12 +7330,10 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressStateOrRegion = ptr.String(jtv) } - case "RackPhysicalProperties": if err := awsRestjson1_deserializeDocumentRackPhysicalProperties(&sv.RackPhysicalProperties, value); err != nil { return err } - case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7342,6 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteArn = ptr.String(jtv) } - case "SiteId": if value != nil { jtv, ok := value.(string) @@ -7567,12 +7350,10 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7748,15 +7529,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7764,15 +7539,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/panorama/deserializers.go b/service/panorama/deserializers.go index 4039cdb124c..b5d86474792 100644 --- a/service/panorama/deserializers.go +++ b/service/panorama/deserializers.go @@ -186,7 +186,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationInstanceOutput(v **Creat } sv.ApplicationInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -350,7 +349,6 @@ func awsRestjson1_deserializeOpDocumentCreateJobForDevicesOutput(v **CreateJobFo if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } - default: _, _ = key, value @@ -515,7 +513,6 @@ func awsRestjson1_deserializeOpDocumentCreateNodeFromTemplateJobOutput(v **Creat } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -680,7 +677,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.Arn = ptr.String(jtv) } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -689,12 +685,10 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageId = ptr.String(jtv) } - case "StorageLocation": if err := awsRestjson1_deserializeDocumentStorageLocation(&sv.StorageLocation, value); err != nil { return err } - default: _, _ = key, value @@ -859,7 +853,6 @@ func awsRestjson1_deserializeOpDocumentCreatePackageImportJobOutput(v **CreatePa } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -1027,7 +1020,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDeviceOutput(v **DeleteDeviceOutput } sv.DeviceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1395,7 +1387,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.ApplicationInstanceId = ptr.String(jtv) } - case "ApplicationInstanceIdToReplace": if value != nil { jtv, ok := value.(string) @@ -1404,7 +1395,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.ApplicationInstanceIdToReplace = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1413,7 +1403,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1429,7 +1418,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } } - case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -1438,7 +1426,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } - case "DefaultRuntimeContextDeviceName": if value != nil { jtv, ok := value.(string) @@ -1447,7 +1434,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.DefaultRuntimeContextDeviceName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1456,7 +1442,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Description = ptr.String(jtv) } - case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -1465,7 +1450,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.HealthStatus = types.ApplicationInstanceHealthStatus(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1481,7 +1465,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1490,12 +1473,10 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Name = ptr.String(jtv) } - case "RuntimeContextStates": if err := awsRestjson1_deserializeDocumentReportedRuntimeContextStates(&sv.RuntimeContextStates, value); err != nil { return err } - case "RuntimeRoleArn": if value != nil { jtv, ok := value.(string) @@ -1504,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.RuntimeRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1513,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Status = types.ApplicationInstanceStatus(jtv) } - case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -1522,12 +1501,10 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.StatusDescription = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1695,7 +1672,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.ApplicationInstanceId = ptr.String(jtv) } - case "ApplicationInstanceIdToReplace": if value != nil { jtv, ok := value.(string) @@ -1704,7 +1680,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.ApplicationInstanceIdToReplace = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1720,7 +1695,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } } - case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -1729,7 +1703,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1738,17 +1711,14 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.Description = ptr.String(jtv) } - case "ManifestOverridesPayload": if err := awsRestjson1_deserializeDocumentManifestOverridesPayload(&sv.ManifestOverridesPayload, value); err != nil { return err } - case "ManifestPayload": if err := awsRestjson1_deserializeDocumentManifestPayload(&sv.ManifestPayload, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1757,7 +1727,6 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1918,7 +1887,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu if err := awsRestjson1_deserializeDocumentAlternateSoftwares(&sv.AlternateSoftwares, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1927,7 +1895,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Arn = ptr.String(jtv) } - case "Brand": if value != nil { jtv, ok := value.(string) @@ -1936,7 +1903,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Brand = types.DeviceBrand(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1952,12 +1918,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - case "CurrentNetworkingStatus": if err := awsRestjson1_deserializeDocumentNetworkStatus(&sv.CurrentNetworkingStatus, value); err != nil { return err } - case "CurrentSoftware": if value != nil { jtv, ok := value.(string) @@ -1966,7 +1930,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.CurrentSoftware = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1975,7 +1938,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Description = ptr.String(jtv) } - case "DeviceAggregatedStatus": if value != nil { jtv, ok := value.(string) @@ -1984,7 +1946,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceAggregatedStatus = types.DeviceAggregatedStatus(jtv) } - case "DeviceConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -1993,7 +1954,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceConnectionStatus = types.DeviceConnectionStatus(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -2002,7 +1962,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceId = ptr.String(jtv) } - case "LatestAlternateSoftware": if value != nil { jtv, ok := value.(string) @@ -2011,12 +1970,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.LatestAlternateSoftware = ptr.String(jtv) } - case "LatestDeviceJob": if err := awsRestjson1_deserializeDocumentLatestDeviceJob(&sv.LatestDeviceJob, value); err != nil { return err } - case "LatestSoftware": if value != nil { jtv, ok := value.(string) @@ -2025,7 +1982,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.LatestSoftware = ptr.String(jtv) } - case "LeaseExpirationTime": if value != nil { switch jtv := value.(type) { @@ -2041,7 +1997,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2050,12 +2005,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Name = ptr.String(jtv) } - case "NetworkingConfiguration": if err := awsRestjson1_deserializeDocumentNetworkPayload(&sv.NetworkingConfiguration, value); err != nil { return err } - case "ProvisioningStatus": if value != nil { jtv, ok := value.(string) @@ -2064,7 +2017,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ProvisioningStatus = types.DeviceStatus(jtv) } - case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -2073,12 +2025,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.SerialNumber = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2087,7 +2037,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Type = types.DeviceType(jtv) } - default: _, _ = key, value @@ -2262,7 +2211,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } } - case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -2271,7 +2219,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceArn = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -2280,7 +2227,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceId = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -2289,7 +2235,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceName = ptr.String(jtv) } - case "DeviceType": if value != nil { jtv, ok := value.(string) @@ -2298,7 +2243,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceType = types.DeviceType(jtv) } - case "ImageVersion": if value != nil { jtv, ok := value.(string) @@ -2307,7 +2251,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.ImageVersion = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -2316,7 +2259,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.JobId = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -2325,7 +2267,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.JobType = types.JobType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2334,7 +2275,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.Status = types.UpdateProgress(jtv) } - default: _, _ = key, value @@ -2502,7 +2442,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.AssetName = ptr.String(jtv) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -2511,7 +2450,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Category = types.NodeCategory(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2527,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2536,7 +2473,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Description = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2552,7 +2488,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2561,7 +2496,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Name = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -2570,12 +2504,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.NodeId = ptr.String(jtv) } - case "NodeInterface": if err := awsRestjson1_deserializeDocumentNodeInterface(&sv.NodeInterface, value); err != nil { return err } - case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -2584,7 +2516,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.OwnerAccount = ptr.String(jtv) } - case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -2593,7 +2524,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageArn = ptr.String(jtv) } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -2602,7 +2532,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageId = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -2611,7 +2540,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageName = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -2620,7 +2548,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageVersion = ptr.String(jtv) } - case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -2629,7 +2556,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PatchVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2801,7 +2727,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -2810,12 +2735,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.JobId = ptr.String(jtv) } - case "JobTags": if err := awsRestjson1_deserializeDocumentJobTagsList(&sv.JobTags, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2831,7 +2754,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } } - case "NodeDescription": if value != nil { jtv, ok := value.(string) @@ -2840,7 +2762,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.NodeDescription = ptr.String(jtv) } - case "NodeName": if value != nil { jtv, ok := value.(string) @@ -2849,7 +2770,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.NodeName = ptr.String(jtv) } - case "OutputPackageName": if value != nil { jtv, ok := value.(string) @@ -2858,7 +2778,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.OutputPackageName = ptr.String(jtv) } - case "OutputPackageVersion": if value != nil { jtv, ok := value.(string) @@ -2867,7 +2786,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.OutputPackageVersion = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2876,7 +2794,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.Status = types.NodeFromTemplateJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2885,12 +2802,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.StatusMessage = ptr.String(jtv) } - case "TemplateParameters": if err := awsRestjson1_deserializeDocumentTemplateParametersMap(&sv.TemplateParameters, value); err != nil { return err } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -2899,7 +2814,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.TemplateType = types.TemplateType(jtv) } - default: _, _ = key, value @@ -3067,7 +2981,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3083,7 +2996,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -3092,7 +3004,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.PackageId = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -3101,27 +3012,22 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.PackageName = ptr.String(jtv) } - case "ReadAccessPrincipalArns": if err := awsRestjson1_deserializeDocumentPrincipalArnsList(&sv.ReadAccessPrincipalArns, value); err != nil { return err } - case "StorageLocation": if err := awsRestjson1_deserializeDocumentStorageLocation(&sv.StorageLocation, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "WriteAccessPrincipalArns": if err := awsRestjson1_deserializeDocumentPrincipalArnsList(&sv.WriteAccessPrincipalArns, value); err != nil { return err } - default: _, _ = key, value @@ -3286,7 +3192,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.ClientToken = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3302,12 +3207,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } } - case "InputConfig": if err := awsRestjson1_deserializeDocumentPackageImportJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -3316,12 +3219,10 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.JobId = ptr.String(jtv) } - case "JobTags": if err := awsRestjson1_deserializeDocumentJobTagsList(&sv.JobTags, value); err != nil { return err } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -3330,7 +3231,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.JobType = types.PackageImportJobType(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3346,17 +3246,14 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } } - case "Output": if err := awsRestjson1_deserializeDocumentPackageImportJobOutput(&sv.Output, value); err != nil { return err } - case "OutputConfig": if err := awsRestjson1_deserializeDocumentPackageImportJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3365,7 +3262,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.Status = types.PackageImportJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3374,7 +3270,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3542,7 +3437,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.IsLatestPatch = jtv } - case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -3551,7 +3445,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.OwnerAccount = ptr.String(jtv) } - case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -3560,7 +3453,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageArn = ptr.String(jtv) } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -3569,7 +3461,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageId = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -3578,7 +3469,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageName = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -3587,7 +3477,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageVersion = ptr.String(jtv) } - case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -3596,7 +3485,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PatchVersion = ptr.String(jtv) } - case "RegisteredTime": if value != nil { switch jtv := value.(type) { @@ -3612,7 +3500,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3621,7 +3508,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.Status = types.PackageVersionStatus(jtv) } - case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -3630,7 +3516,6 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.StatusDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -3789,12 +3674,10 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstanceDependenciesOutput } sv.NextToken = ptr.String(jtv) } - case "PackageObjects": if err := awsRestjson1_deserializeDocumentPackageObjects(&sv.PackageObjects, value); err != nil { return err } - default: _, _ = key, value @@ -3953,12 +3836,10 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstanceNodeInstancesOutpu } sv.NextToken = ptr.String(jtv) } - case "NodeInstances": if err := awsRestjson1_deserializeDocumentNodeInstances(&sv.NodeInstances, value); err != nil { return err } - default: _, _ = key, value @@ -4113,7 +3994,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstancesOutput(v **ListAp if err := awsRestjson1_deserializeDocumentApplicationInstances(&sv.ApplicationInstances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4122,7 +4002,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstancesOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4283,7 +4162,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4292,7 +4170,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4456,7 +4333,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesJobsOutput(v **ListDevicesJobs if err := awsRestjson1_deserializeDocumentDeviceJobList(&sv.DeviceJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4465,7 +4341,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesJobsOutput(v **ListDevicesJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4630,12 +4505,10 @@ func awsRestjson1_deserializeOpDocumentListNodeFromTemplateJobsOutput(v **ListNo } sv.NextToken = ptr.String(jtv) } - case "NodeFromTemplateJobs": if err := awsRestjson1_deserializeDocumentNodeFromTemplateJobList(&sv.NodeFromTemplateJobs, value); err != nil { return err } - default: _, _ = key, value @@ -4797,12 +4670,10 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Nodes": if err := awsRestjson1_deserializeDocumentNodesList(&sv.Nodes, value); err != nil { return err } - default: _, _ = key, value @@ -4967,12 +4838,10 @@ func awsRestjson1_deserializeOpDocumentListPackageImportJobsOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } - case "PackageImportJobs": if err := awsRestjson1_deserializeDocumentPackageImportJobList(&sv.PackageImportJobs, value); err != nil { return err } - default: _, _ = key, value @@ -5140,12 +5009,10 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } - case "Packages": if err := awsRestjson1_deserializeDocumentPackageList(&sv.Packages, value); err != nil { return err } - default: _, _ = key, value @@ -5303,7 +5170,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5471,7 +5337,6 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Arn = ptr.String(jtv) } - case "Certificates": if value != nil { jtv, ok := value.(string) @@ -5484,7 +5349,6 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Certificates = dv } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -5493,7 +5357,6 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.DeviceId = ptr.String(jtv) } - case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -5502,7 +5365,6 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.IotThingName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5511,7 +5373,6 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Status = types.DeviceStatus(jtv) } - default: _, _ = key, value @@ -5873,7 +5734,6 @@ func awsRestjson1_deserializeOpDocumentSignalApplicationInstanceNodeInstancesOut } sv.ApplicationInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6229,7 +6089,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceMetadataOutput(v **UpdateDevi } sv.DeviceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6495,15 +6354,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6511,15 +6364,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6554,7 +6403,6 @@ func awsRestjson1_deserializeDocumentAlternateSoftwareMetadata(v **types.Alterna } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6628,7 +6476,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.ApplicationInstanceId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -6637,7 +6484,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6653,7 +6499,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } } - case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -6662,7 +6507,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } - case "DefaultRuntimeContextDeviceName": if value != nil { jtv, ok := value.(string) @@ -6671,7 +6515,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.DefaultRuntimeContextDeviceName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6680,7 +6523,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Description = ptr.String(jtv) } - case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -6689,7 +6531,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.HealthStatus = types.ApplicationInstanceHealthStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6698,12 +6539,10 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Name = ptr.String(jtv) } - case "RuntimeContextStates": if err := awsRestjson1_deserializeDocumentReportedRuntimeContextStates(&sv.RuntimeContextStates, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6712,7 +6551,6 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Status = types.ApplicationInstanceStatus(jtv) } - case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -6721,12 +6559,10 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.StatusDescription = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6790,19 +6626,12 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorArguments": if err := awsRestjson1_deserializeDocumentConflictExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { return err } - case "ErrorId": if value != nil { jtv, ok := value.(string) @@ -6811,8 +6640,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6820,7 +6648,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6829,7 +6656,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6838,15 +6664,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6881,7 +6703,6 @@ func awsRestjson1_deserializeDocumentConflictExceptionErrorArgument(v **types.Co } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6890,7 +6711,6 @@ func awsRestjson1_deserializeDocumentConflictExceptionErrorArgument(v **types.Co } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6964,7 +6784,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Brand = types.DeviceBrand(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6980,7 +6799,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "CurrentSoftware": if value != nil { jtv, ok := value.(string) @@ -6989,7 +6807,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftware = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6998,7 +6815,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Description = ptr.String(jtv) } - case "DeviceAggregatedStatus": if value != nil { jtv, ok := value.(string) @@ -7007,7 +6823,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceAggregatedStatus = types.DeviceAggregatedStatus(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -7016,7 +6831,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7032,12 +6846,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "LatestDeviceJob": if err := awsRestjson1_deserializeDocumentLatestDeviceJob(&sv.LatestDeviceJob, value); err != nil { return err } - case "LeaseExpirationTime": if value != nil { switch jtv := value.(type) { @@ -7053,7 +6865,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7062,7 +6873,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } - case "ProvisioningStatus": if value != nil { jtv, ok := value.(string) @@ -7071,12 +6881,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ProvisioningStatus = types.DeviceStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7085,7 +6893,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = types.DeviceType(jtv) } - default: _, _ = key, value @@ -7132,7 +6939,6 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -7141,7 +6947,6 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.DeviceId = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -7150,7 +6955,6 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.DeviceName = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -7159,7 +6963,6 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.JobId = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -7168,7 +6971,6 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.JobType = types.JobType(jtv) } - default: _, _ = key, value @@ -7312,12 +7114,10 @@ func awsRestjson1_deserializeDocumentEthernetPayload(v **types.EthernetPayload, } sv.ConnectionType = types.ConnectionType(jtv) } - case "StaticIpConnectionInfo": if err := awsRestjson1_deserializeDocumentStaticIpConnectionInfo(&sv.StaticIpConnectionInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7357,7 +7157,6 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.ConnectionStatus = types.NetworkConnectionStatus(jtv) } - case "HwAddress": if value != nil { jtv, ok := value.(string) @@ -7366,7 +7165,6 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.HwAddress = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -7375,7 +7173,6 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.IpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -7439,15 +7236,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7455,7 +7246,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7468,15 +7258,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7511,7 +7297,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.DeviceId = ptr.String(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -7520,7 +7305,6 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7594,12 +7378,10 @@ func awsRestjson1_deserializeDocumentJobResourceTags(v **types.JobResourceTags, } sv.ResourceType = types.JobResourceType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7673,7 +7455,6 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.ImageVersion = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -7682,7 +7463,6 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.JobType = types.JobType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7691,7 +7471,6 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.Status = types.UpdateProgress(jtv) } - default: _, _ = key, value @@ -7811,17 +7590,14 @@ func awsRestjson1_deserializeDocumentNetworkPayload(v **types.NetworkPayload, va if err := awsRestjson1_deserializeDocumentEthernetPayload(&sv.Ethernet0, value); err != nil { return err } - case "Ethernet1": if err := awsRestjson1_deserializeDocumentEthernetPayload(&sv.Ethernet1, value); err != nil { return err } - case "Ntp": if err := awsRestjson1_deserializeDocumentNtpPayload(&sv.Ntp, value); err != nil { return err } - default: _, _ = key, value @@ -7857,12 +7633,10 @@ func awsRestjson1_deserializeDocumentNetworkStatus(v **types.NetworkStatus, valu if err := awsRestjson1_deserializeDocumentEthernetStatus(&sv.Ethernet0Status, value); err != nil { return err } - case "Ethernet1Status": if err := awsRestjson1_deserializeDocumentEthernetStatus(&sv.Ethernet1Status, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7878,12 +7652,10 @@ func awsRestjson1_deserializeDocumentNetworkStatus(v **types.NetworkStatus, valu } } - case "NtpStatus": if err := awsRestjson1_deserializeDocumentNtpStatus(&sv.NtpStatus, value); err != nil { return err } - default: _, _ = key, value @@ -7923,7 +7695,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Category = types.NodeCategory(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7939,7 +7710,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -7948,7 +7718,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7957,7 +7726,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -7966,7 +7734,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeId = ptr.String(jtv) } - case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -7975,7 +7742,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.OwnerAccount = ptr.String(jtv) } - case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -7984,7 +7750,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageArn = ptr.String(jtv) } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -7993,7 +7758,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageId = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -8002,7 +7766,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageName = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8011,7 +7774,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageVersion = ptr.String(jtv) } - case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -8020,7 +7782,6 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PatchVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8067,7 +7828,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -8076,7 +7836,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.JobId = ptr.String(jtv) } - case "NodeName": if value != nil { jtv, ok := value.(string) @@ -8085,7 +7844,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.NodeName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8094,7 +7852,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.Status = types.NodeFromTemplateJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -8103,7 +7860,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.StatusMessage = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -8112,7 +7868,6 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.TemplateType = types.TemplateType(jtv) } - default: _, _ = key, value @@ -8186,7 +7941,6 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.DefaultValue = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8195,7 +7949,6 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Description = ptr.String(jtv) } - case "MaxConnections": if value != nil { jtv, ok := value.(json.Number) @@ -8208,7 +7961,6 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.MaxConnections = int32(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8217,7 +7969,6 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8226,7 +7977,6 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Type = types.PortType(jtv) } - default: _, _ = key, value @@ -8266,7 +8016,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.CurrentStatus = types.NodeInstanceStatus(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -8275,7 +8024,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeId = ptr.String(jtv) } - case "NodeInstanceId": if value != nil { jtv, ok := value.(string) @@ -8284,7 +8032,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeInstanceId = ptr.String(jtv) } - case "NodeName": if value != nil { jtv, ok := value.(string) @@ -8293,7 +8040,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeName = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -8302,7 +8048,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackageName = ptr.String(jtv) } - case "PackagePatchVersion": if value != nil { jtv, ok := value.(string) @@ -8311,7 +8056,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackagePatchVersion = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8320,7 +8064,6 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackageVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8390,12 +8133,10 @@ func awsRestjson1_deserializeDocumentNodeInterface(v **types.NodeInterface, valu if err := awsRestjson1_deserializeDocumentInputPortList(&sv.Inputs, value); err != nil { return err } - case "Outputs": if err := awsRestjson1_deserializeDocumentOutputPortList(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -8435,7 +8176,6 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8444,7 +8184,6 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8453,7 +8192,6 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Type = types.PortType(jtv) } - default: _, _ = key, value @@ -8523,7 +8261,6 @@ func awsRestjson1_deserializeDocumentNtpPayload(v **types.NtpPayload, value inte if err := awsRestjson1_deserializeDocumentNtpServerList(&sv.NtpServers, value); err != nil { return err } - default: _, _ = key, value @@ -8599,7 +8336,6 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.ConnectionStatus = types.NetworkConnectionStatus(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -8608,7 +8344,6 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.IpAddress = ptr.String(jtv) } - case "NtpServerName": if value != nil { jtv, ok := value.(string) @@ -8617,7 +8352,6 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.NtpServerName = ptr.String(jtv) } - default: _, _ = key, value @@ -8691,7 +8425,6 @@ func awsRestjson1_deserializeDocumentOutPutS3Location(v **types.OutPutS3Location } sv.BucketName = ptr.String(jtv) } - case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -8700,7 +8433,6 @@ func awsRestjson1_deserializeDocumentOutPutS3Location(v **types.OutPutS3Location } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -8747,7 +8479,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -8756,7 +8487,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.JobId = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -8765,7 +8495,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.JobType = types.PackageImportJobType(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8781,7 +8510,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8790,7 +8518,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.Status = types.PackageImportJobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -8799,7 +8526,6 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8835,7 +8561,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobInputConfig(v **types.Packa if err := awsRestjson1_deserializeDocumentPackageVersionInputConfig(&sv.PackageVersionInputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8905,7 +8630,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp if err := awsRestjson1_deserializeDocumentOutPutS3Location(&sv.OutputS3Location, value); err != nil { return err } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -8914,7 +8638,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PackageId = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8923,7 +8646,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PackageVersion = ptr.String(jtv) } - case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -8932,7 +8654,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PatchVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8968,7 +8689,6 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutputConfig(v **types.Pack if err := awsRestjson1_deserializeDocumentPackageVersionOutputConfig(&sv.PackageVersionOutputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -9042,7 +8762,6 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -9058,7 +8777,6 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } } - case "PackageId": if value != nil { jtv, ok := value.(string) @@ -9067,7 +8785,6 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.PackageId = ptr.String(jtv) } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -9076,12 +8793,10 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.PackageName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9121,7 +8836,6 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.Name = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -9130,7 +8844,6 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.PackageVersion = ptr.String(jtv) } - case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -9139,7 +8852,6 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.PatchVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9209,7 +8921,6 @@ func awsRestjson1_deserializeDocumentPackageVersionInputConfig(v **types.Package if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -9249,7 +8960,6 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.MarkLatest = jtv } - case "PackageName": if value != nil { jtv, ok := value.(string) @@ -9258,7 +8968,6 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.PackageName = ptr.String(jtv) } - case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -9267,7 +8976,6 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.PackageVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9343,7 +9051,6 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.DesiredState = types.DesiredState(jtv) } - case "DeviceReportedStatus": if value != nil { jtv, ok := value.(string) @@ -9352,7 +9059,6 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.DeviceReportedStatus = types.DeviceReportedStatus(jtv) } - case "DeviceReportedTime": if value != nil { switch jtv := value.(type) { @@ -9368,7 +9074,6 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } } - case "RuntimeContextName": if value != nil { jtv, ok := value.(string) @@ -9377,7 +9082,6 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.RuntimeContextName = ptr.String(jtv) } - default: _, _ = key, value @@ -9441,15 +9145,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9457,7 +9155,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9466,7 +9163,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9475,15 +9171,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9518,7 +9210,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } - case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -9527,7 +9218,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectKey = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -9536,7 +9226,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -9566,15 +9255,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9582,7 +9265,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -9591,7 +9273,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9600,7 +9281,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9609,7 +9289,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -9618,15 +9297,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9661,12 +9336,10 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.DefaultGateway = ptr.String(jtv) } - case "Dns": if err := awsRestjson1_deserializeDocumentDnsList(&sv.Dns, value); err != nil { return err } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -9675,7 +9348,6 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.IpAddress = ptr.String(jtv) } - case "Mask": if value != nil { jtv, ok := value.(string) @@ -9684,7 +9356,6 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.Mask = ptr.String(jtv) } - default: _, _ = key, value @@ -9724,7 +9395,6 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.BinaryPrefixLocation = ptr.String(jtv) } - case "Bucket": if value != nil { jtv, ok := value.(string) @@ -9733,7 +9403,6 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.Bucket = ptr.String(jtv) } - case "GeneratedPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9742,7 +9411,6 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.GeneratedPrefixLocation = ptr.String(jtv) } - case "ManifestPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9419,6 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.ManifestPrefixLocation = ptr.String(jtv) } - case "RepoPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9760,7 +9427,6 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.RepoPrefixLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -9862,19 +9528,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorArguments": if err := awsRestjson1_deserializeDocumentValidationExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { return err } - case "ErrorId": if value != nil { jtv, ok := value.(string) @@ -9883,13 +9542,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorId = ptr.String(jtv) } - case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9897,7 +9554,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -9906,15 +9562,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9949,7 +9601,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionErrorArgument(v **types. } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9958,7 +9609,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionErrorArgument(v **types. } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10032,7 +9682,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10041,7 +9690,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/paymentcryptography/deserializers.go b/service/paymentcryptography/deserializers.go index 48c8420a2d6..a8d306093d8 100644 --- a/service/paymentcryptography/deserializers.go +++ b/service/paymentcryptography/deserializers.go @@ -2918,15 +2918,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2934,15 +2928,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2977,7 +2967,6 @@ func awsAwsjson10_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasName = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -2986,7 +2975,6 @@ func awsAwsjson10_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.KeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3050,15 +3038,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3066,15 +3048,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3099,15 +3077,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3115,15 +3087,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3165,7 +3133,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } - case "DeletePendingTimestamp": if value != nil { switch jtv := value.(type) { @@ -3181,7 +3148,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } - case "DeleteTimestamp": if value != nil { switch jtv := value.(type) { @@ -3197,7 +3163,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -3206,7 +3171,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } - case "Exportable": if value != nil { jtv, ok := value.(bool) @@ -3215,7 +3179,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.Exportable = ptr.Bool(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3224,12 +3187,10 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyArn = ptr.String(jtv) } - case "KeyAttributes": if err := awsAwsjson10_deserializeDocumentKeyAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3238,7 +3199,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyCheckValue = ptr.String(jtv) } - case "KeyCheckValueAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3247,7 +3207,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyCheckValueAlgorithm = types.KeyCheckValueAlgorithm(jtv) } - case "KeyOrigin": if value != nil { jtv, ok := value.(string) @@ -3256,7 +3215,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyOrigin = types.KeyOrigin(jtv) } - case "KeyState": if value != nil { jtv, ok := value.(string) @@ -3265,7 +3223,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyState = types.KeyState(jtv) } - case "UsageStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -3281,7 +3238,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } - case "UsageStopTimestamp": if value != nil { switch jtv := value.(type) { @@ -3297,7 +3253,6 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } - default: _, _ = key, value @@ -3337,7 +3292,6 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } - case "KeyClass": if value != nil { jtv, ok := value.(string) @@ -3346,12 +3300,10 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyClass = types.KeyClass(jtv) } - case "KeyModesOfUse": if err := awsAwsjson10_deserializeDocumentKeyModesOfUse(&sv.KeyModesOfUse, value); err != nil { return err } - case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -3360,7 +3312,6 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyUsage = types.KeyUsage(jtv) } - default: _, _ = key, value @@ -3400,7 +3351,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Decrypt = jtv } - case "DeriveKey": if value != nil { jtv, ok := value.(bool) @@ -3409,7 +3359,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.DeriveKey = jtv } - case "Encrypt": if value != nil { jtv, ok := value.(bool) @@ -3418,7 +3367,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Encrypt = jtv } - case "Generate": if value != nil { jtv, ok := value.(bool) @@ -3427,7 +3375,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Generate = jtv } - case "NoRestrictions": if value != nil { jtv, ok := value.(bool) @@ -3436,7 +3383,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.NoRestrictions = jtv } - case "Sign": if value != nil { jtv, ok := value.(bool) @@ -3445,7 +3391,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Sign = jtv } - case "Unwrap": if value != nil { jtv, ok := value.(bool) @@ -3454,7 +3399,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Unwrap = jtv } - case "Verify": if value != nil { jtv, ok := value.(bool) @@ -3463,7 +3407,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Verify = jtv } - case "Wrap": if value != nil { jtv, ok := value.(bool) @@ -3472,7 +3415,6 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Wrap = jtv } - default: _, _ = key, value @@ -3512,7 +3454,6 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.Enabled = ptr.Bool(jtv) } - case "Exportable": if value != nil { jtv, ok := value.(bool) @@ -3521,7 +3462,6 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.Exportable = ptr.Bool(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3530,12 +3470,10 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyArn = ptr.String(jtv) } - case "KeyAttributes": if err := awsAwsjson10_deserializeDocumentKeyAttributes(&sv.KeyAttributes, value); err != nil { return err } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3544,7 +3482,6 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyCheckValue = ptr.String(jtv) } - case "KeyState": if value != nil { jtv, ok := value.(string) @@ -3553,7 +3490,6 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyState = types.KeyState(jtv) } - default: _, _ = key, value @@ -3617,13 +3553,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ResourceId": if value != nil { @@ -3633,15 +3563,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3666,15 +3592,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3682,15 +3602,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3715,15 +3631,9 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3731,15 +3641,11 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3774,7 +3680,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3783,7 +3688,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3847,15 +3751,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3863,15 +3761,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3896,15 +3790,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3912,15 +3800,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3955,7 +3839,6 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyCheckValue = ptr.String(jtv) } - case "KeyCheckValueAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3964,7 +3847,6 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyCheckValueAlgorithm = types.KeyCheckValueAlgorithm(jtv) } - case "KeyMaterial": if value != nil { jtv, ok := value.(string) @@ -3973,7 +3855,6 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyMaterial = ptr.String(jtv) } - case "WrappedKeyMaterialFormat": if value != nil { jtv, ok := value.(string) @@ -3982,7 +3863,6 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.WrappedKeyMaterialFormat = types.WrappedKeyMaterialFormat(jtv) } - case "WrappingKeyArn": if value != nil { jtv, ok := value.(string) @@ -3991,7 +3871,6 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.WrappingKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4027,7 +3906,6 @@ func awsAwsjson10_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value @@ -4063,7 +3941,6 @@ func awsAwsjson10_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4130,7 +4007,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4166,7 +4042,6 @@ func awsAwsjson10_deserializeOpDocumentExportKeyOutput(v **ExportKeyOutput, valu if err := awsAwsjson10_deserializeDocumentWrappedKey(&sv.WrappedKey, value); err != nil { return err } - default: _, _ = key, value @@ -4202,7 +4077,6 @@ func awsAwsjson10_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value @@ -4238,7 +4112,6 @@ func awsAwsjson10_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4278,7 +4151,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.ExportToken = ptr.String(jtv) } - case "ParametersValidUntilTimestamp": if value != nil { switch jtv := value.(type) { @@ -4294,7 +4166,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } } - case "SigningKeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4303,7 +4174,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyAlgorithm = types.KeyAlgorithm(jtv) } - case "SigningKeyCertificate": if value != nil { jtv, ok := value.(string) @@ -4312,7 +4182,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyCertificate = ptr.String(jtv) } - case "SigningKeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4321,7 +4190,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyCertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -4361,7 +4229,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.ImportToken = ptr.String(jtv) } - case "ParametersValidUntilTimestamp": if value != nil { switch jtv := value.(type) { @@ -4377,7 +4244,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } } - case "WrappingKeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4386,7 +4252,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyAlgorithm = types.KeyAlgorithm(jtv) } - case "WrappingKeyCertificate": if value != nil { jtv, ok := value.(string) @@ -4395,7 +4260,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyCertificate = ptr.String(jtv) } - case "WrappingKeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4404,7 +4268,6 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyCertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -4444,7 +4307,6 @@ func awsAwsjson10_deserializeOpDocumentGetPublicKeyCertificateOutput(v **GetPubl } sv.KeyCertificate = ptr.String(jtv) } - case "KeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4453,7 +4315,6 @@ func awsAwsjson10_deserializeOpDocumentGetPublicKeyCertificateOutput(v **GetPubl } sv.KeyCertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -4489,7 +4350,6 @@ func awsAwsjson10_deserializeOpDocumentImportKeyOutput(v **ImportKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4525,7 +4385,6 @@ func awsAwsjson10_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson10_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4534,7 +4393,6 @@ func awsAwsjson10_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4570,7 +4428,6 @@ func awsAwsjson10_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsAwsjson10_deserializeDocumentKeySummaryList(&sv.Keys, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4579,7 +4436,6 @@ func awsAwsjson10_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4619,12 +4475,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4660,7 +4514,6 @@ func awsAwsjson10_deserializeOpDocumentRestoreKeyOutput(v **RestoreKeyOutput, va if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4696,7 +4549,6 @@ func awsAwsjson10_deserializeOpDocumentStartKeyUsageOutput(v **StartKeyUsageOutp if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4732,7 +4584,6 @@ func awsAwsjson10_deserializeOpDocumentStopKeyUsageOutput(v **StopKeyUsageOutput if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -4830,7 +4681,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/paymentcryptographydata/deserializers.go b/service/paymentcryptographydata/deserializers.go index 20da9e421b0..783298f4238 100644 --- a/service/paymentcryptographydata/deserializers.go +++ b/service/paymentcryptographydata/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -196,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.KeyCheckValue = ptr.String(jtv) } - case "PlainText": if value != nil { jtv, ok := value.(string) @@ -205,7 +203,6 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.PlainText = ptr.String(jtv) } - default: _, _ = key, value @@ -373,7 +370,6 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.CipherText = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -382,7 +378,6 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -391,7 +386,6 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.KeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -559,7 +553,6 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -568,7 +561,6 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.KeyCheckValue = ptr.String(jtv) } - case "ValidationData": if value != nil { jtv, ok := value.(string) @@ -577,7 +569,6 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.ValidationData = ptr.String(jtv) } - default: _, _ = key, value @@ -745,7 +736,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -754,7 +744,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyCheckValue = ptr.String(jtv) } - case "Mac": if value != nil { jtv, ok := value.(string) @@ -763,7 +752,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.Mac = ptr.String(jtv) } - default: _, _ = key, value @@ -931,7 +919,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.EncryptedPinBlock = ptr.String(jtv) } - case "Mac": if value != nil { jtv, ok := value.(string) @@ -940,7 +927,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.Mac = ptr.String(jtv) } - case "NewPinPekArn": if value != nil { jtv, ok := value.(string) @@ -949,7 +935,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.NewPinPekArn = ptr.String(jtv) } - case "NewPinPekKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -958,7 +943,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.NewPinPekKeyCheckValue = ptr.String(jtv) } - case "SecureMessagingConfidentialityKeyArn": if value != nil { jtv, ok := value.(string) @@ -967,7 +951,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingConfidentialityKeyArn = ptr.String(jtv) } - case "SecureMessagingConfidentialityKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -976,7 +959,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingConfidentialityKeyCheckValue = ptr.String(jtv) } - case "SecureMessagingIntegrityKeyArn": if value != nil { jtv, ok := value.(string) @@ -985,7 +967,6 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingIntegrityKeyArn = ptr.String(jtv) } - case "SecureMessagingIntegrityKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -994,12 +975,10 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingIntegrityKeyCheckValue = ptr.String(jtv) } - case "VisaAmexDerivationOutputs": if err := awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(&sv.VisaAmexDerivationOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -1167,7 +1146,6 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptedPinBlock = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1176,7 +1154,6 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptionKeyArn = ptr.String(jtv) } - case "EncryptionKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1185,7 +1162,6 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptionKeyCheckValue = ptr.String(jtv) } - case "GenerationKeyArn": if value != nil { jtv, ok := value.(string) @@ -1194,7 +1170,6 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.GenerationKeyArn = ptr.String(jtv) } - case "GenerationKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1203,12 +1178,10 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.GenerationKeyCheckValue = ptr.String(jtv) } - case "PinData": if err := awsRestjson1_deserializeDocumentPinData(&sv.PinData, value); err != nil { return err } - default: _, _ = key, value @@ -1376,7 +1349,6 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.CipherText = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1385,7 +1357,6 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1394,7 +1365,6 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.KeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -1562,7 +1532,6 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1571,7 +1540,6 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.KeyCheckValue = ptr.String(jtv) } - case "PinBlock": if value != nil { jtv, ok := value.(string) @@ -1580,7 +1548,6 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.PinBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -1751,7 +1718,6 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.AuthResponseValue = ptr.String(jtv) } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1760,7 +1726,6 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1769,7 +1734,6 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.KeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -1940,7 +1904,6 @@ func awsRestjson1_deserializeOpDocumentVerifyCardValidationDataOutput(v **Verify } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1949,7 +1912,6 @@ func awsRestjson1_deserializeOpDocumentVerifyCardValidationDataOutput(v **Verify } sv.KeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2120,7 +2082,6 @@ func awsRestjson1_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyArn = ptr.String(jtv) } - case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2129,7 +2090,6 @@ func awsRestjson1_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2300,7 +2260,6 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.EncryptionKeyArn = ptr.String(jtv) } - case "EncryptionKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2309,7 +2268,6 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.EncryptionKeyCheckValue = ptr.String(jtv) } - case "VerificationKeyArn": if value != nil { jtv, ok := value.(string) @@ -2318,7 +2276,6 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.VerificationKeyArn = ptr.String(jtv) } - case "VerificationKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2327,7 +2284,6 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.VerificationKeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2573,15 +2529,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2589,15 +2539,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2622,15 +2568,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2638,15 +2578,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2725,13 +2661,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ResourceId": if value != nil { @@ -2741,15 +2671,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2774,15 +2700,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2790,15 +2710,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2823,20 +2739,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2844,15 +2753,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2887,7 +2792,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -2896,7 +2800,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -2960,15 +2863,9 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2976,7 +2873,6 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2985,15 +2881,11 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif } sv.Reason = types.VerificationFailedReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3028,7 +2920,6 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.AuthorizationRequestKeyArn = ptr.String(jtv) } - case "AuthorizationRequestKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3037,7 +2928,6 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.AuthorizationRequestKeyCheckValue = ptr.String(jtv) } - case "CurrentPinPekArn": if value != nil { jtv, ok := value.(string) @@ -3046,7 +2936,6 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.CurrentPinPekArn = ptr.String(jtv) } - case "CurrentPinPekKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3055,7 +2944,6 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.CurrentPinPekKeyCheckValue = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/pcaconnectorad/deserializers.go b/service/pcaconnectorad/deserializers.go index 576f2f94f5b..63ab76426c2 100644 --- a/service/pcaconnectorad/deserializers.go +++ b/service/pcaconnectorad/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -365,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryRegistrationOutput(v **Cre } sv.DirectoryRegistrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -648,7 +646,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1463,7 +1460,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorOutput(v **GetConnectorOutput if err := awsRestjson1_deserializeDocumentConnector(&sv.Connector, value); err != nil { return err } - default: _, _ = key, value @@ -1627,7 +1623,6 @@ func awsRestjson1_deserializeOpDocumentGetDirectoryRegistrationOutput(v **GetDir if err := awsRestjson1_deserializeDocumentDirectoryRegistration(&sv.DirectoryRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -1791,7 +1786,6 @@ func awsRestjson1_deserializeOpDocumentGetServicePrincipalNameOutput(v **GetServ if err := awsRestjson1_deserializeDocumentServicePrincipalName(&sv.ServicePrincipalName, value); err != nil { return err } - default: _, _ = key, value @@ -1955,7 +1949,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, if err := awsRestjson1_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -2119,7 +2112,6 @@ func awsRestjson1_deserializeOpDocumentGetTemplateGroupAccessControlEntryOutput( if err := awsRestjson1_deserializeDocumentAccessControlEntry(&sv.AccessControlEntry, value); err != nil { return err } - default: _, _ = key, value @@ -2280,7 +2272,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2289,7 +2280,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2450,7 +2440,6 @@ func awsRestjson1_deserializeOpDocumentListDirectoryRegistrationsOutput(v **List if err := awsRestjson1_deserializeDocumentDirectoryRegistrationList(&sv.DirectoryRegistrations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2459,7 +2448,6 @@ func awsRestjson1_deserializeOpDocumentListDirectoryRegistrationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2627,12 +2615,10 @@ func awsRestjson1_deserializeOpDocumentListServicePrincipalNamesOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - case "ServicePrincipalNames": if err := awsRestjson1_deserializeDocumentServicePrincipalNameList(&sv.ServicePrincipalNames, value); err != nil { return err } - default: _, _ = key, value @@ -2796,7 +2782,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2960,7 +2945,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateGroupAccessControlEntriesOutp if err := awsRestjson1_deserializeDocumentAccessControlEntryList(&sv.AccessControlEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2969,7 +2953,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateGroupAccessControlEntriesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3137,12 +3120,10 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } - case "Templates": if err := awsRestjson1_deserializeDocumentTemplateList(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -3860,7 +3841,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE if err := awsRestjson1_deserializeDocumentAccessRights(&sv.AccessRights, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3876,7 +3856,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } } - case "GroupDisplayName": if value != nil { jtv, ok := value.(string) @@ -3885,7 +3864,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.GroupDisplayName = ptr.String(jtv) } - case "GroupSecurityIdentifier": if value != nil { jtv, ok := value.(string) @@ -3894,7 +3872,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.GroupSecurityIdentifier = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -3903,7 +3880,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.TemplateArn = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3919,7 +3895,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } } - default: _, _ = key, value @@ -3989,7 +3964,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC if err := awsRestjson1_deserializeDocumentAccessRights(&sv.AccessRights, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4005,7 +3979,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } } - case "GroupDisplayName": if value != nil { jtv, ok := value.(string) @@ -4014,7 +3987,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.GroupDisplayName = ptr.String(jtv) } - case "GroupSecurityIdentifier": if value != nil { jtv, ok := value.(string) @@ -4023,7 +3995,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.GroupSecurityIdentifier = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -4032,7 +4003,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.TemplateArn = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4048,7 +4018,6 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } } - default: _, _ = key, value @@ -4078,15 +4047,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4094,15 +4057,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4137,7 +4096,6 @@ func awsRestjson1_deserializeDocumentAccessRights(v **types.AccessRights, value } sv.AutoEnroll = types.AccessRight(jtv) } - case "Enroll": if value != nil { jtv, ok := value.(string) @@ -4146,7 +4104,6 @@ func awsRestjson1_deserializeDocumentAccessRights(v **types.AccessRights, value } sv.Enroll = types.AccessRight(jtv) } - default: _, _ = key, value @@ -4186,12 +4143,10 @@ func awsRestjson1_deserializeDocumentApplicationPolicies(v **types.ApplicationPo } sv.Critical = ptr.Bool(jtv) } - case "Policies": if err := awsRestjson1_deserializeDocumentApplicationPolicyList(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -4313,12 +4268,10 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa if err := awsRestjson1_deserializeDocumentValidityPeriod(&sv.RenewalPeriod, value); err != nil { return err } - case "ValidityPeriod": if err := awsRestjson1_deserializeDocumentValidityPeriod(&sv.ValidityPeriod, value); err != nil { return err } - default: _, _ = key, value @@ -4348,15 +4301,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4364,7 +4311,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4373,7 +4319,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4382,15 +4327,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4425,7 +4366,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4434,7 +4374,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CertificateEnrollmentPolicyServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -4443,7 +4382,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateEnrollmentPolicyServerEndpoint = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4459,7 +4397,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4468,7 +4405,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.DirectoryId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4477,7 +4413,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4486,7 +4421,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.StatusReason = types.ConnectorStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4502,12 +4436,10 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } - case "VpcInformation": if err := awsRestjson1_deserializeDocumentVpcInformation(&sv.VpcInformation, value); err != nil { return err } - default: _, _ = key, value @@ -4581,7 +4513,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4590,7 +4521,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CertificateEnrollmentPolicyServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -4599,7 +4529,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateEnrollmentPolicyServerEndpoint = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4615,7 +4544,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4624,7 +4552,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.DirectoryId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4633,7 +4560,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Status = types.ConnectorStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4642,7 +4568,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.StatusReason = types.ConnectorStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4658,12 +4583,10 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } - case "VpcInformation": if err := awsRestjson1_deserializeDocumentVpcInformation(&sv.VpcInformation, value); err != nil { return err } - default: _, _ = key, value @@ -4739,7 +4662,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4755,7 +4677,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4764,7 +4685,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.DirectoryId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4773,7 +4693,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.Status = types.DirectoryRegistrationStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4782,7 +4701,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.StatusReason = types.DirectoryRegistrationStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4798,7 +4716,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } } - default: _, _ = key, value @@ -4872,7 +4789,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4888,7 +4804,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4897,7 +4812,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.DirectoryId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4906,7 +4820,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.Status = types.DirectoryRegistrationStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4915,7 +4828,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.StatusReason = types.DirectoryRegistrationStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4931,7 +4843,6 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } } - default: _, _ = key, value @@ -4971,7 +4882,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } - case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -4980,7 +4890,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } - case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -4989,7 +4898,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } - case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -4998,7 +4906,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } - case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -5007,7 +4914,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5047,7 +4953,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } - case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -5056,7 +4961,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } - case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -5065,7 +4969,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } - case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -5074,7 +4977,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } - case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -5083,7 +4985,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5123,7 +5024,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } - case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -5132,7 +5032,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } - case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -5141,7 +5040,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } - case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -5150,7 +5048,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } - case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -5159,7 +5056,6 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5195,12 +5091,10 @@ func awsRestjson1_deserializeDocumentExtensionsV2(v **types.ExtensionsV2, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } - case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } - default: _, _ = key, value @@ -5236,12 +5130,10 @@ func awsRestjson1_deserializeDocumentExtensionsV3(v **types.ExtensionsV3, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } - case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } - default: _, _ = key, value @@ -5277,12 +5169,10 @@ func awsRestjson1_deserializeDocumentExtensionsV4(v **types.ExtensionsV4, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } - case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } - default: _, _ = key, value @@ -5322,7 +5212,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV2(v **types.GeneralFlagsV2, va } sv.AutoEnrollment = ptr.Bool(jtv) } - case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5331,7 +5220,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV2(v **types.GeneralFlagsV2, va } sv.MachineType = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5371,7 +5259,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV3(v **types.GeneralFlagsV3, va } sv.AutoEnrollment = ptr.Bool(jtv) } - case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5380,7 +5267,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV3(v **types.GeneralFlagsV3, va } sv.MachineType = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5420,7 +5306,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV4(v **types.GeneralFlagsV4, va } sv.AutoEnrollment = ptr.Bool(jtv) } - case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5429,7 +5314,6 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV4(v **types.GeneralFlagsV4, va } sv.MachineType = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5459,15 +5343,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5475,15 +5353,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5518,12 +5392,10 @@ func awsRestjson1_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.Critical = ptr.Bool(jtv) } - case "UsageFlags": if err := awsRestjson1_deserializeDocumentKeyUsageFlags(&sv.UsageFlags, value); err != nil { return err } - default: _, _ = key, value @@ -5563,7 +5435,6 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.DataEncipherment = ptr.Bool(jtv) } - case "DigitalSignature": if value != nil { jtv, ok := value.(bool) @@ -5572,7 +5443,6 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.DigitalSignature = ptr.Bool(jtv) } - case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -5581,7 +5451,6 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.KeyAgreement = ptr.Bool(jtv) } - case "KeyEncipherment": if value != nil { jtv, ok := value.(bool) @@ -5590,7 +5459,6 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.KeyEncipherment = ptr.Bool(jtv) } - case "NonRepudiation": if value != nil { jtv, ok := value.(bool) @@ -5599,7 +5467,6 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.NonRepudiation = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5691,7 +5558,6 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.Decrypt = ptr.Bool(jtv) } - case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -5700,7 +5566,6 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.KeyAgreement = ptr.Bool(jtv) } - case "Sign": if value != nil { jtv, ok := value.(bool) @@ -5709,7 +5574,6 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.Sign = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5745,7 +5609,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } - case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5754,7 +5617,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } - case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5767,7 +5629,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5807,12 +5668,10 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.Algorithm = types.PrivateKeyAlgorithm(jtv) } - case "CryptoProviders": if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } - case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5821,12 +5680,10 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } - case "KeyUsageProperty": if err := awsRestjson1_deserializeDocumentKeyUsageProperty(&sv.KeyUsageProperty, value); err != nil { return err } - case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5839,7 +5696,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5879,12 +5735,10 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.Algorithm = types.PrivateKeyAlgorithm(jtv) } - case "CryptoProviders": if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } - case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5893,12 +5747,10 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } - case "KeyUsageProperty": if err := awsRestjson1_deserializeDocumentKeyUsageProperty(&sv.KeyUsageProperty, value); err != nil { return err } - case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5911,7 +5763,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5951,7 +5802,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV2(jtv) } - case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -5960,7 +5810,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } - case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -5969,7 +5818,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6009,7 +5857,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV3(jtv) } - case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -6018,7 +5865,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } - case "RequireAlternateSignatureAlgorithm": if value != nil { jtv, ok := value.(bool) @@ -6027,7 +5873,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.RequireAlternateSignatureAlgorithm = ptr.Bool(jtv) } - case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -6036,7 +5881,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6076,7 +5920,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV4(jtv) } - case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -6085,7 +5928,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } - case "RequireAlternateSignatureAlgorithm": if value != nil { jtv, ok := value.(bool) @@ -6094,7 +5936,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.RequireAlternateSignatureAlgorithm = ptr.Bool(jtv) } - case "RequireSameKeyRenewal": if value != nil { jtv, ok := value.(bool) @@ -6103,7 +5944,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.RequireSameKeyRenewal = ptr.Bool(jtv) } - case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -6112,7 +5952,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } - case "UseLegacyProvider": if value != nil { jtv, ok := value.(bool) @@ -6121,7 +5960,6 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.UseLegacyProvider = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6151,15 +5989,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6167,7 +5999,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6176,7 +6007,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6185,15 +6015,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6264,7 +6090,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6280,7 +6105,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } } - case "DirectoryRegistrationArn": if value != nil { jtv, ok := value.(string) @@ -6289,7 +6113,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.DirectoryRegistrationArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6298,7 +6121,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.Status = types.ServicePrincipalNameStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6307,7 +6129,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.StatusReason = types.ServicePrincipalNameStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6323,7 +6144,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } } - default: _, _ = key, value @@ -6397,7 +6217,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6413,7 +6232,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } } - case "DirectoryRegistrationArn": if value != nil { jtv, ok := value.(string) @@ -6422,7 +6240,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.DirectoryRegistrationArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6431,7 +6248,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.Status = types.ServicePrincipalNameStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6440,7 +6256,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.StatusReason = types.ServicePrincipalNameStatusReason(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6456,7 +6271,6 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } } - default: _, _ = key, value @@ -6486,15 +6300,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6502,7 +6310,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6511,7 +6318,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6326,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6529,7 +6334,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6538,15 +6342,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6581,7 +6381,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } - case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6590,7 +6389,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } - case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6599,7 +6397,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } - case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6608,7 +6405,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } - case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6617,7 +6413,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } - case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6626,7 +6421,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } - case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6635,7 +6429,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } - case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6644,7 +6437,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } - case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6653,7 +6445,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } - case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6662,7 +6453,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6702,7 +6492,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } - case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6711,7 +6500,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } - case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6720,7 +6508,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } - case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6729,7 +6516,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } - case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6738,7 +6524,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } - case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6747,7 +6532,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } - case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6756,7 +6540,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } - case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6765,7 +6548,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } - case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6774,7 +6556,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } - case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6783,7 +6564,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6823,7 +6603,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } - case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6832,7 +6611,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } - case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6841,7 +6619,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } - case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6850,7 +6627,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } - case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6859,7 +6635,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } - case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6868,7 +6643,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } - case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6877,7 +6651,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } - case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6886,7 +6659,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } - case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6895,7 +6667,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } - case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6904,7 +6675,6 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6980,7 +6750,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Arn = ptr.String(jtv) } - case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -6989,7 +6758,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7005,12 +6773,10 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } - case "Definition": if err := awsRestjson1_deserializeDocumentTemplateDefinition(&sv.Definition, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7019,7 +6785,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } - case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -7028,7 +6793,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.ObjectIdentifier = ptr.String(jtv) } - case "PolicySchema": if value != nil { jtv, ok := value.(json.Number) @@ -7041,12 +6805,10 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.PolicySchema = ptr.Int32(int32(i64)) } - case "Revision": if err := awsRestjson1_deserializeDocumentTemplateRevision(&sv.Revision, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7055,7 +6817,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Status = types.TemplateStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7071,7 +6832,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } - default: _, _ = key, value @@ -7245,7 +7005,6 @@ func awsRestjson1_deserializeDocumentTemplateRevision(v **types.TemplateRevision } sv.MajorRevision = ptr.Int32(int32(i64)) } - case "MinorRevision": if value != nil { jtv, ok := value.(json.Number) @@ -7258,7 +7017,6 @@ func awsRestjson1_deserializeDocumentTemplateRevision(v **types.TemplateRevision } sv.MinorRevision = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7298,7 +7056,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } - case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -7307,7 +7064,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7323,12 +7079,10 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - case "Definition": if err := awsRestjson1_deserializeDocumentTemplateDefinition(&sv.Definition, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7337,7 +7091,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } - case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -7346,7 +7099,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.ObjectIdentifier = ptr.String(jtv) } - case "PolicySchema": if value != nil { jtv, ok := value.(json.Number) @@ -7359,12 +7111,10 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.PolicySchema = ptr.Int32(int32(i64)) } - case "Revision": if err := awsRestjson1_deserializeDocumentTemplateRevision(&sv.Revision, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7373,7 +7123,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Status = types.TemplateStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7389,7 +7138,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - default: _, _ = key, value @@ -7425,42 +7173,34 @@ func awsRestjson1_deserializeDocumentTemplateV2(v **types.TemplateV2, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } - case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV2(&sv.EnrollmentFlags, value); err != nil { return err } - case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV2(&sv.Extensions, value); err != nil { return err } - case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV2(&sv.GeneralFlags, value); err != nil { return err } - case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(&sv.PrivateKeyAttributes, value); err != nil { return err } - case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(&sv.PrivateKeyFlags, value); err != nil { return err } - case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV2(&sv.SubjectNameFlags, value); err != nil { return err } - case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -7496,22 +7236,18 @@ func awsRestjson1_deserializeDocumentTemplateV3(v **types.TemplateV3, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } - case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV3(&sv.EnrollmentFlags, value); err != nil { return err } - case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV3(&sv.Extensions, value); err != nil { return err } - case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV3(&sv.GeneralFlags, value); err != nil { return err } - case "HashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7520,27 +7256,22 @@ func awsRestjson1_deserializeDocumentTemplateV3(v **types.TemplateV3, value inte } sv.HashAlgorithm = types.HashAlgorithm(jtv) } - case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(&sv.PrivateKeyAttributes, value); err != nil { return err } - case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(&sv.PrivateKeyFlags, value); err != nil { return err } - case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV3(&sv.SubjectNameFlags, value); err != nil { return err } - case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -7576,22 +7307,18 @@ func awsRestjson1_deserializeDocumentTemplateV4(v **types.TemplateV4, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } - case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV4(&sv.EnrollmentFlags, value); err != nil { return err } - case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV4(&sv.Extensions, value); err != nil { return err } - case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV4(&sv.GeneralFlags, value); err != nil { return err } - case "HashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7600,27 +7327,22 @@ func awsRestjson1_deserializeDocumentTemplateV4(v **types.TemplateV4, value inte } sv.HashAlgorithm = types.HashAlgorithm(jtv) } - case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(&sv.PrivateKeyAttributes, value); err != nil { return err } - case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(&sv.PrivateKeyFlags, value); err != nil { return err } - case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV4(&sv.SubjectNameFlags, value); err != nil { return err } - case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -7650,15 +7372,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7666,7 +7382,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7675,7 +7390,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7684,15 +7398,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7717,15 +7427,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7733,7 +7437,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -7742,15 +7445,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7789,7 +7488,6 @@ func awsRestjson1_deserializeDocumentValidityPeriod(v **types.ValidityPeriod, va } sv.Period = ptr.Int64(i64) } - case "PeriodType": if value != nil { jtv, ok := value.(string) @@ -7798,7 +7496,6 @@ func awsRestjson1_deserializeDocumentValidityPeriod(v **types.ValidityPeriod, va } sv.PeriodType = types.ValidityPeriodType(jtv) } - default: _, _ = key, value @@ -7834,7 +7531,6 @@ func awsRestjson1_deserializeDocumentVpcInformation(v **types.VpcInformation, va if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/pcaconnectorscep/deserializers.go b/service/pcaconnectorscep/deserializers.go index 46f7ac96fa8..5389b02d538 100644 --- a/service/pcaconnectorscep/deserializers.go +++ b/service/pcaconnectorscep/deserializers.go @@ -193,7 +193,6 @@ func awsRestjson1_deserializeOpDocumentCreateChallengeOutput(v **CreateChallenge if err := awsRestjson1_deserializeDocumentChallenge(&sv.Challenge, value); err != nil { return err } - default: _, _ = key, value @@ -367,7 +366,6 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -749,7 +747,6 @@ func awsRestjson1_deserializeOpDocumentGetChallengeMetadataOutput(v **GetChallen if err := awsRestjson1_deserializeDocumentChallengeMetadata(&sv.ChallengeMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -917,7 +914,6 @@ func awsRestjson1_deserializeOpDocumentGetChallengePasswordOutput(v **GetChallen } sv.Password = ptr.String(jtv) } - default: _, _ = key, value @@ -1081,7 +1077,6 @@ func awsRestjson1_deserializeOpDocumentGetConnectorOutput(v **GetConnectorOutput if err := awsRestjson1_deserializeDocumentConnector(&sv.Connector, value); err != nil { return err } - default: _, _ = key, value @@ -1245,7 +1240,6 @@ func awsRestjson1_deserializeOpDocumentListChallengeMetadataOutput(v **ListChall if err := awsRestjson1_deserializeDocumentChallengeMetadataList(&sv.Challenges, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1254,7 +1248,6 @@ func awsRestjson1_deserializeOpDocumentListChallengeMetadataOutput(v **ListChall } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1415,7 +1408,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1424,7 +1416,6 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1588,7 +1579,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2118,15 +2108,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2134,15 +2118,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2167,15 +2147,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2183,15 +2157,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2226,7 +2196,6 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.Arn = ptr.String(jtv) } - case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2235,7 +2204,6 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2251,7 +2219,6 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } } - case "Password": if value != nil { jtv, ok := value.(string) @@ -2260,7 +2227,6 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.Password = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2276,7 +2242,6 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } } - default: _, _ = key, value @@ -2316,7 +2281,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } sv.Arn = ptr.String(jtv) } - case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2325,7 +2289,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2341,7 +2304,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2357,7 +2319,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } } - default: _, _ = key, value @@ -2431,7 +2392,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } sv.Arn = ptr.String(jtv) } - case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2440,7 +2400,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } sv.ConnectorArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2456,7 +2415,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2472,7 +2430,6 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } } - default: _, _ = key, value @@ -2502,15 +2459,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2518,7 +2469,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2527,7 +2477,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2536,15 +2485,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2579,7 +2524,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2588,7 +2532,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2604,7 +2547,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2613,17 +2555,14 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Endpoint = ptr.String(jtv) } - case "MobileDeviceManagement": if err := awsRestjson1_deserializeDocumentMobileDeviceManagement(&sv.MobileDeviceManagement, value); err != nil { return err } - case "OpenIdConfiguration": if err := awsRestjson1_deserializeDocumentOpenIdConfiguration(&sv.OpenIdConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2632,7 +2571,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2641,7 +2579,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.StatusReason = types.ConnectorStatusReason(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2650,7 +2587,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Type = types.ConnectorType(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2666,7 +2602,6 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } - default: _, _ = key, value @@ -2740,7 +2675,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2749,7 +2683,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2765,7 +2698,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2774,17 +2706,14 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Endpoint = ptr.String(jtv) } - case "MobileDeviceManagement": if err := awsRestjson1_deserializeDocumentMobileDeviceManagement(&sv.MobileDeviceManagement, value); err != nil { return err } - case "OpenIdConfiguration": if err := awsRestjson1_deserializeDocumentOpenIdConfiguration(&sv.OpenIdConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2793,7 +2722,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Status = types.ConnectorStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2802,7 +2730,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.StatusReason = types.ConnectorStatusReason(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2811,7 +2738,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Type = types.ConnectorType(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2827,7 +2753,6 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } - default: _, _ = key, value @@ -2857,15 +2782,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2873,15 +2792,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2916,7 +2831,6 @@ func awsRestjson1_deserializeDocumentIntuneConfiguration(v **types.IntuneConfigu } sv.AzureApplicationId = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -2925,7 +2839,6 @@ func awsRestjson1_deserializeDocumentIntuneConfiguration(v **types.IntuneConfigu } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -3005,7 +2918,6 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Audience = ptr.String(jtv) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -3014,7 +2926,6 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Issuer = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -3023,7 +2934,6 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -3053,15 +2963,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3069,7 +2973,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3078,7 +2981,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3087,15 +2989,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3120,15 +3018,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3136,7 +3028,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -3145,7 +3036,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3044,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -3163,15 +3052,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3232,15 +3117,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3248,15 +3127,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3281,15 +3156,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3297,7 +3166,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -3306,15 +3174,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/pcs/deserializers.go b/service/pcs/deserializers.go index e7e3c11fe75..8cd86c317ba 100644 --- a/service/pcs/deserializers.go +++ b/service/pcs/deserializers.go @@ -2474,15 +2474,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2490,15 +2484,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2533,7 +2523,6 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2546,17 +2535,14 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreatedAt = ptr.Time(t) } - case "endpoints": if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2565,7 +2551,6 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2578,7 +2563,6 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2587,17 +2571,14 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } - case "networking": if err := awsAwsjson10_deserializeDocumentNetworking(&sv.Networking, value); err != nil { return err } - case "scheduler": if err := awsAwsjson10_deserializeDocumentScheduler(&sv.Scheduler, value); err != nil { return err } - case "size": if value != nil { jtv, ok := value.(string) @@ -2606,12 +2587,10 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Size = types.Size(jtv) } - case "slurmConfiguration": if err := awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(&sv.SlurmConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2620,7 +2599,6 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.ClusterStatus(jtv) } - default: _, _ = key, value @@ -2690,7 +2668,6 @@ func awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(v **types.Cluster if err := awsAwsjson10_deserializeDocumentSlurmAuthKey(&sv.AuthKey, value); err != nil { return err } - case "scaleDownIdleTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2703,12 +2680,10 @@ func awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(v **types.Cluster } sv.ScaleDownIdleTimeInSeconds = ptr.Int32(int32(i64)) } - case "slurmCustomSettings": if err := awsAwsjson10_deserializeDocumentSlurmCustomSettings(&sv.SlurmCustomSettings, value); err != nil { return err } - default: _, _ = key, value @@ -2748,7 +2723,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2761,7 +2735,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2770,7 +2743,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2783,7 +2755,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2792,7 +2763,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2801,7 +2771,6 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Status = types.ClusterStatus(jtv) } - default: _, _ = key, value @@ -2841,7 +2810,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.AmiId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2850,7 +2818,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Arn = ptr.String(jtv) } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -2859,7 +2826,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.ClusterId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2872,17 +2838,14 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.CreatedAt = ptr.Time(t) } - case "customLaunchTemplate": if err := awsAwsjson10_deserializeDocumentCustomLaunchTemplate(&sv.CustomLaunchTemplate, value); err != nil { return err } - case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } - case "iamInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -2891,7 +2854,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.IamInstanceProfileArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2900,12 +2862,10 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Id = ptr.String(jtv) } - case "instanceConfigs": if err := awsAwsjson10_deserializeDocumentInstanceList(&sv.InstanceConfigs, value); err != nil { return err } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2918,7 +2878,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2927,7 +2886,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Name = ptr.String(jtv) } - case "purchaseOption": if value != nil { jtv, ok := value.(string) @@ -2936,22 +2894,18 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.PurchaseOption = types.PurchaseOption(jtv) } - case "scalingConfiguration": if err := awsAwsjson10_deserializeDocumentScalingConfiguration(&sv.ScalingConfiguration, value); err != nil { return err } - case "slurmConfiguration": if err := awsAwsjson10_deserializeDocumentComputeNodeGroupSlurmConfiguration(&sv.SlurmConfiguration, value); err != nil { return err } - case "spotOptions": if err := awsAwsjson10_deserializeDocumentSpotOptions(&sv.SpotOptions, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2960,12 +2914,10 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Status = types.ComputeNodeGroupStatus(jtv) } - case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3005,7 +2957,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupConfiguration(v **types.Com } sv.ComputeNodeGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -3109,7 +3060,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSlurmConfiguration(v **type if err := awsAwsjson10_deserializeDocumentSlurmCustomSettings(&sv.SlurmCustomSettings, value); err != nil { return err } - default: _, _ = key, value @@ -3149,7 +3099,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Arn = ptr.String(jtv) } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3158,7 +3107,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.ClusterId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3171,7 +3119,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3180,7 +3127,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3193,7 +3139,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3202,7 +3147,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3211,7 +3155,6 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Status = types.ComputeNodeGroupStatus(jtv) } - default: _, _ = key, value @@ -3241,15 +3184,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3257,7 +3194,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3266,7 +3202,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3275,15 +3210,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3318,7 +3249,6 @@ func awsAwsjson10_deserializeDocumentCustomLaunchTemplate(v **types.CustomLaunch } sv.Id = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -3327,7 +3257,6 @@ func awsAwsjson10_deserializeDocumentCustomLaunchTemplate(v **types.CustomLaunch } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -3367,7 +3296,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -3376,7 +3304,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } - case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -3385,7 +3312,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.PublicIpAddress = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3394,7 +3320,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Type = types.EndpointType(jtv) } - default: _, _ = key, value @@ -3468,7 +3393,6 @@ func awsAwsjson10_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -3477,7 +3401,6 @@ func awsAwsjson10_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -3551,7 +3474,6 @@ func awsAwsjson10_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceType = ptr.String(jtv) } - default: _, _ = key, value @@ -3615,15 +3537,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3631,15 +3547,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3670,12 +3582,10 @@ func awsAwsjson10_deserializeDocumentNetworking(v **types.Networking, value inte if err := awsAwsjson10_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3715,7 +3625,6 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3724,12 +3633,10 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ClusterId = ptr.String(jtv) } - case "computeNodeGroupConfigurations": if err := awsAwsjson10_deserializeDocumentComputeNodeGroupConfigurationList(&sv.ComputeNodeGroupConfigurations, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3742,12 +3649,10 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.CreatedAt = ptr.Time(t) } - case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3756,7 +3661,6 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3769,7 +3673,6 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3778,7 +3681,6 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3689,6 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } - default: _, _ = key, value @@ -3861,7 +3762,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Arn = ptr.String(jtv) } - case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3870,7 +3770,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.ClusterId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3883,7 +3782,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3892,7 +3790,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Id = ptr.String(jtv) } - case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3905,7 +3802,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.ModifiedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3914,7 +3810,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3923,7 +3818,6 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Status = types.QueueStatus(jtv) } - default: _, _ = key, value @@ -3953,15 +3847,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3969,7 +3857,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3978,7 +3865,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3987,15 +3873,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4070,7 +3952,6 @@ func awsAwsjson10_deserializeDocumentScalingConfiguration(v **types.ScalingConfi } sv.MaxInstanceCount = int32(i64) } - case "minInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -4083,7 +3964,6 @@ func awsAwsjson10_deserializeDocumentScalingConfiguration(v **types.ScalingConfi } sv.MinInstanceCount = int32(i64) } - default: _, _ = key, value @@ -4123,7 +4003,6 @@ func awsAwsjson10_deserializeDocumentScheduler(v **types.Scheduler, value interf } sv.Type = types.SchedulerType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4132,7 +4011,6 @@ func awsAwsjson10_deserializeDocumentScheduler(v **types.Scheduler, value interf } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4198,15 +4076,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4214,7 +4086,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4223,7 +4094,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4232,7 +4102,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4241,7 +4110,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4250,15 +4118,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4293,7 +4157,6 @@ func awsAwsjson10_deserializeDocumentSlurmAuthKey(v **types.SlurmAuthKey, value } sv.SecretArn = ptr.String(jtv) } - case "secretVersion": if value != nil { jtv, ok := value.(string) @@ -4302,7 +4165,6 @@ func awsAwsjson10_deserializeDocumentSlurmAuthKey(v **types.SlurmAuthKey, value } sv.SecretVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4342,7 +4204,6 @@ func awsAwsjson10_deserializeDocumentSlurmCustomSetting(v **types.SlurmCustomSet } sv.ParameterName = ptr.String(jtv) } - case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -4351,7 +4212,6 @@ func awsAwsjson10_deserializeDocumentSlurmCustomSetting(v **types.SlurmCustomSet } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -4425,7 +4285,6 @@ func awsAwsjson10_deserializeDocumentSpotOptions(v **types.SpotOptions, value in } sv.AllocationStrategy = types.SpotAllocationStrategy(jtv) } - default: _, _ = key, value @@ -4491,15 +4350,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4507,7 +4360,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4520,15 +4372,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4553,20 +4401,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4574,7 +4415,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4583,15 +4423,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4626,7 +4462,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4635,7 +4470,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4705,7 +4539,6 @@ func awsAwsjson10_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson10_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -4741,7 +4574,6 @@ func awsAwsjson10_deserializeOpDocumentCreateComputeNodeGroupOutput(v **CreateCo if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -4777,7 +4609,6 @@ func awsAwsjson10_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -4906,7 +4737,6 @@ func awsAwsjson10_deserializeOpDocumentGetClusterOutput(v **GetClusterOutput, va if err := awsAwsjson10_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -4942,7 +4772,6 @@ func awsAwsjson10_deserializeOpDocumentGetComputeNodeGroupOutput(v **GetComputeN if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -4978,7 +4807,6 @@ func awsAwsjson10_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value @@ -5014,7 +4842,6 @@ func awsAwsjson10_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson10_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5023,7 +4850,6 @@ func awsAwsjson10_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5059,7 +4885,6 @@ func awsAwsjson10_deserializeOpDocumentListComputeNodeGroupsOutput(v **ListCompu if err := awsAwsjson10_deserializeDocumentComputeNodeGroupList(&sv.ComputeNodeGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5068,7 +4893,6 @@ func awsAwsjson10_deserializeOpDocumentListComputeNodeGroupsOutput(v **ListCompu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5108,12 +4932,10 @@ func awsAwsjson10_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } - case "queues": if err := awsAwsjson10_deserializeDocumentQueueList(&sv.Queues, value); err != nil { return err } - default: _, _ = key, value @@ -5149,7 +4971,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResponseTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5185,7 +5006,6 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "nodeID": if value != nil { jtv, ok := value.(string) @@ -5194,7 +5014,6 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v } sv.NodeID = ptr.String(jtv) } - case "sharedSecret": if value != nil { jtv, ok := value.(string) @@ -5203,7 +5022,6 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v } sv.SharedSecret = ptr.String(jtv) } - default: _, _ = key, value @@ -5239,7 +5057,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateComputeNodeGroupOutput(v **UpdateCo if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -5275,7 +5092,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateQueueOutput(v **UpdateQueueOutput, if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/personalize/deserializers.go b/service/personalize/deserializers.go index be87bcf1055..c2b3969f716 100644 --- a/service/personalize/deserializers.go +++ b/service/personalize/deserializers.go @@ -8449,12 +8449,10 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.AlgorithmArn = ptr.String(jtv) } - case "algorithmImage": if err := awsAwsjson11_deserializeDocumentAlgorithmImage(&sv.AlgorithmImage, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8470,22 +8468,18 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } } - case "defaultHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultHyperParameterRanges(&sv.DefaultHyperParameterRanges, value); err != nil { return err } - case "defaultHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.DefaultHyperParameters, value); err != nil { return err } - case "defaultResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.DefaultResourceConfig, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8501,7 +8495,6 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8510,7 +8503,6 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8511,6 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.RoleArn = ptr.String(jtv) } - case "trainingInputMode": if value != nil { jtv, ok := value.(string) @@ -8528,7 +8519,6 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.TrainingInputMode = ptr.String(jtv) } - default: _, _ = key, value @@ -8568,7 +8558,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmImage(v **types.AlgorithmImage, va } sv.DockerURI = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8577,7 +8566,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmImage(v **types.AlgorithmImage, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8653,12 +8641,10 @@ func awsAwsjson11_deserializeDocumentAutoMLConfig(v **types.AutoMLConfig, value } sv.MetricName = ptr.String(jtv) } - case "recipeList": if err := awsAwsjson11_deserializeDocumentArnList(&sv.RecipeList, value); err != nil { return err } - default: _, _ = key, value @@ -8698,7 +8684,6 @@ func awsAwsjson11_deserializeDocumentAutoMLResult(v **types.AutoMLResult, value } sv.BestRecipeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8738,7 +8723,6 @@ func awsAwsjson11_deserializeDocumentAutoTrainingConfig(v **types.AutoTrainingCo } sv.SchedulingExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -8778,12 +8762,10 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.BatchInferenceJobArn = ptr.String(jtv) } - case "batchInferenceJobConfig": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobConfig(&sv.BatchInferenceJobConfig, value); err != nil { return err } - case "batchInferenceJobMode": if value != nil { jtv, ok := value.(string) @@ -8792,7 +8774,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.BatchInferenceJobMode = types.BatchInferenceJobMode(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8808,7 +8789,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8817,7 +8797,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.FailureReason = ptr.String(jtv) } - case "filterArn": if value != nil { jtv, ok := value.(string) @@ -8826,12 +8805,10 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.FilterArn = ptr.String(jtv) } - case "jobInput": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobInput(&sv.JobInput, value); err != nil { return err } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -8840,12 +8817,10 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.JobName = ptr.String(jtv) } - case "jobOutput": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobOutput(&sv.JobOutput, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8861,7 +8836,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } } - case "numResults": if value != nil { jtv, ok := value.(json.Number) @@ -8874,7 +8848,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.NumResults = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8883,7 +8856,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.RoleArn = ptr.String(jtv) } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -8892,7 +8864,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8901,12 +8872,10 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.Status = ptr.String(jtv) } - case "themeGenerationConfig": if err := awsAwsjson11_deserializeDocumentThemeGenerationConfig(&sv.ThemeGenerationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8942,7 +8911,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobConfig(v **types.BatchInfe if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -8978,7 +8946,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobInput(v **types.BatchInfer if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -9014,7 +8981,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobOutput(v **types.BatchInfe if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } - default: _, _ = key, value @@ -9088,7 +9054,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.BatchInferenceJobArn = ptr.String(jtv) } - case "batchInferenceJobMode": if value != nil { jtv, ok := value.(string) @@ -9097,7 +9062,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.BatchInferenceJobMode = types.BatchInferenceJobMode(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9113,7 +9077,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9122,7 +9085,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.FailureReason = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -9131,7 +9093,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9147,7 +9108,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9156,7 +9116,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9165,7 +9124,6 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9205,7 +9163,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.BatchSegmentJobArn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9221,7 +9178,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9230,7 +9186,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.FailureReason = ptr.String(jtv) } - case "filterArn": if value != nil { jtv, ok := value.(string) @@ -9239,12 +9194,10 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.FilterArn = ptr.String(jtv) } - case "jobInput": if err := awsAwsjson11_deserializeDocumentBatchSegmentJobInput(&sv.JobInput, value); err != nil { return err } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -9253,12 +9206,10 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.JobName = ptr.String(jtv) } - case "jobOutput": if err := awsAwsjson11_deserializeDocumentBatchSegmentJobOutput(&sv.JobOutput, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9274,7 +9225,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } } - case "numResults": if value != nil { jtv, ok := value.(json.Number) @@ -9287,7 +9237,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.NumResults = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9296,7 +9245,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.RoleArn = ptr.String(jtv) } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9305,7 +9253,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9314,7 +9261,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9350,7 +9296,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobInput(v **types.BatchSegment if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -9386,7 +9331,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobOutput(v **types.BatchSegmen if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } - default: _, _ = key, value @@ -9460,7 +9404,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.BatchSegmentJobArn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9476,7 +9419,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9485,7 +9427,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.FailureReason = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -9494,7 +9435,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9510,7 +9450,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9519,7 +9458,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9528,7 +9466,6 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9568,12 +9505,10 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.CampaignArn = ptr.String(jtv) } - case "campaignConfig": if err := awsAwsjson11_deserializeDocumentCampaignConfig(&sv.CampaignConfig, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9589,7 +9524,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9532,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9614,12 +9547,10 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } } - case "latestCampaignUpdate": if err := awsAwsjson11_deserializeDocumentCampaignUpdateSummary(&sv.LatestCampaignUpdate, value); err != nil { return err } - case "minProvisionedTPS": if value != nil { jtv, ok := value.(json.Number) @@ -9632,7 +9563,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.MinProvisionedTPS = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9641,7 +9571,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Name = ptr.String(jtv) } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9650,7 +9579,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9659,7 +9587,6 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9699,12 +9626,10 @@ func awsAwsjson11_deserializeDocumentCampaignConfig(v **types.CampaignConfig, va } sv.EnableMetadataWithRecommendations = ptr.Bool(jtv) } - case "itemExplorationConfig": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } - case "syncWithLatestSolutionVersion": if value != nil { jtv, ok := value.(bool) @@ -9713,7 +9638,6 @@ func awsAwsjson11_deserializeDocumentCampaignConfig(v **types.CampaignConfig, va } sv.SyncWithLatestSolutionVersion = ptr.Bool(jtv) } - default: _, _ = key, value @@ -9787,7 +9711,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.CampaignArn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9803,7 +9726,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9812,7 +9734,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9828,7 +9749,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9837,7 +9757,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9846,7 +9765,6 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9882,7 +9800,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd if err := awsAwsjson11_deserializeDocumentCampaignConfig(&sv.CampaignConfig, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9898,7 +9815,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9907,7 +9823,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9923,7 +9838,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } } - case "minProvisionedTPS": if value != nil { jtv, ok := value.(json.Number) @@ -9936,7 +9850,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.MinProvisionedTPS = ptr.Int32(int32(i64)) } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9945,7 +9858,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9954,7 +9866,6 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -9994,12 +9905,10 @@ func awsAwsjson11_deserializeDocumentCategoricalHyperParameterRange(v **types.Ca } sv.Name = ptr.String(jtv) } - case "values": if err := awsAwsjson11_deserializeDocumentCategoricalValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -10170,7 +10079,6 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } } - case "minValue": if value != nil { switch jtv := value.(type) { @@ -10204,7 +10112,6 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10213,7 +10120,6 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10294,7 +10200,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } } - case "dataDeletionJobArn": if value != nil { jtv, ok := value.(string) @@ -10303,7 +10208,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.DataDeletionJobArn = ptr.String(jtv) } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10312,12 +10216,10 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.DatasetGroupArn = ptr.String(jtv) } - case "dataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10326,7 +10228,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.FailureReason = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -10335,7 +10236,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10351,7 +10251,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } } - case "numDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -10364,7 +10263,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.NumDeleted = ptr.Int32(int32(i64)) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10373,7 +10271,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10382,7 +10279,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10463,7 +10359,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } } - case "dataDeletionJobArn": if value != nil { jtv, ok := value.(string) @@ -10472,7 +10367,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.DataDeletionJobArn = ptr.String(jtv) } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10481,7 +10375,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.DatasetGroupArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10383,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.FailureReason = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -10499,7 +10391,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10515,7 +10406,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } } - case "status": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10414,6 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10571,7 +10460,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -10580,7 +10468,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetArn = ptr.String(jtv) } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10589,7 +10476,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetGroupArn = ptr.String(jtv) } - case "datasetType": if value != nil { jtv, ok := value.(string) @@ -10598,7 +10484,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetType = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10614,12 +10499,10 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } } - case "latestDatasetUpdate": if err := awsAwsjson11_deserializeDocumentDatasetUpdateSummary(&sv.LatestDatasetUpdate, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10628,7 +10511,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -10637,7 +10519,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.SchemaArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10646,7 +10527,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Status = ptr.String(jtv) } - case "trackingId": if value != nil { jtv, ok := value.(string) @@ -10655,7 +10535,6 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.TrackingId = ptr.String(jtv) } - default: _, _ = key, value @@ -10702,7 +10581,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -10711,7 +10589,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.DatasetArn = ptr.String(jtv) } - case "datasetExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10720,7 +10597,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.DatasetExportJobArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10729,7 +10605,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.FailureReason = ptr.String(jtv) } - case "ingestionMode": if value != nil { jtv, ok := value.(string) @@ -10738,7 +10613,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.IngestionMode = types.IngestionMode(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -10747,12 +10621,10 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.JobName = ptr.String(jtv) } - case "jobOutput": if err := awsAwsjson11_deserializeDocumentDatasetExportJobOutput(&sv.JobOutput, value); err != nil { return err } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10768,7 +10640,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10777,7 +10648,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10786,7 +10656,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -10822,7 +10691,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobOutput(v **types.DatasetExp if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } - default: _, _ = key, value @@ -10903,7 +10771,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } } - case "datasetExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10912,7 +10779,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.DatasetExportJobArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10787,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.FailureReason = ptr.String(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -10930,7 +10795,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10946,7 +10810,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } } - case "status": if value != nil { jtv, ok := value.(string) @@ -10955,7 +10818,6 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11002,7 +10864,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -11011,7 +10872,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.DatasetGroupArn = ptr.String(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -11020,7 +10880,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Domain = types.Domain(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11029,7 +10888,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.FailureReason = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -11038,7 +10896,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.KmsKeyArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11054,7 +10911,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11063,7 +10919,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Name = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11072,7 +10927,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11081,7 +10935,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11162,7 +11015,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -11171,7 +11023,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupArn = ptr.String(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -11180,7 +11031,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Domain = types.Domain(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11189,7 +11039,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11205,7 +11054,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11214,7 +11062,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11223,7 +11070,6 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11270,7 +11116,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -11279,7 +11124,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.DatasetArn = ptr.String(jtv) } - case "datasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -11288,12 +11132,10 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.DatasetImportJobArn = ptr.String(jtv) } - case "dataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11302,7 +11144,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.FailureReason = ptr.String(jtv) } - case "importMode": if value != nil { jtv, ok := value.(string) @@ -11311,7 +11152,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.ImportMode = types.ImportMode(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -11320,7 +11160,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11336,7 +11175,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } } - case "publishAttributionMetricsToS3": if value != nil { jtv, ok := value.(bool) @@ -11345,7 +11183,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.PublishAttributionMetricsToS3 = ptr.Bool(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11354,7 +11191,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11363,7 +11199,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11444,7 +11279,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } - case "datasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -11453,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11462,7 +11295,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.FailureReason = ptr.String(jtv) } - case "importMode": if value != nil { jtv, ok := value.(string) @@ -11471,7 +11303,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.ImportMode = types.ImportMode(jtv) } - case "jobName": if value != nil { jtv, ok := value.(string) @@ -11480,7 +11311,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.JobName = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11496,7 +11326,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11505,7 +11334,6 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11586,7 +11414,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } } - case "domain": if value != nil { jtv, ok := value.(string) @@ -11595,7 +11422,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Domain = types.Domain(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11611,7 +11437,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11620,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -11629,7 +11453,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Schema = ptr.String(jtv) } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11638,7 +11461,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11685,7 +11507,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } } - case "domain": if value != nil { jtv, ok := value.(string) @@ -11694,7 +11515,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.Domain = types.Domain(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11710,7 +11530,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11719,7 +11538,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.Name = ptr.String(jtv) } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11728,7 +11546,6 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11775,7 +11592,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -11784,7 +11600,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } - case "datasetType": if value != nil { jtv, ok := value.(string) @@ -11793,7 +11608,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetType = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11809,7 +11623,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11818,7 +11631,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11639,6 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11874,7 +11685,6 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11883,7 +11693,6 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11899,7 +11708,6 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } } - case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11908,7 +11716,6 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.SchemaArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11917,7 +11724,6 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -11957,7 +11763,6 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -11997,7 +11802,6 @@ func awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRange(v **t } sv.IsTunable = jtv } - case "name": if value != nil { jtv, ok := value.(string) @@ -12006,12 +11810,10 @@ func awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRange(v **t } sv.Name = ptr.String(jtv) } - case "values": if err := awsAwsjson11_deserializeDocumentCategoricalValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -12085,7 +11887,6 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } sv.IsTunable = jtv } - case "maxValue": if value != nil { switch jtv := value.(type) { @@ -12119,7 +11920,6 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } } - case "minValue": if value != nil { switch jtv := value.(type) { @@ -12153,7 +11953,6 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12162,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12232,17 +12030,14 @@ func awsAwsjson11_deserializeDocumentDefaultHyperParameterRanges(v **types.Defau if err := awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRanges(&sv.CategoricalHyperParameterRanges, value); err != nil { return err } - case "continuousHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRanges(&sv.ContinuousHyperParameterRanges, value); err != nil { return err } - case "integerHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRanges(&sv.IntegerHyperParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -12282,7 +12077,6 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.IsTunable = jtv } - case "maxValue": if value != nil { jtv, ok := value.(json.Number) @@ -12295,7 +12089,6 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.MaxValue = int32(i64) } - case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -12308,7 +12101,6 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.MinValue = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12317,7 +12109,6 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12391,7 +12182,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.AccountId = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12407,7 +12197,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12416,7 +12205,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.DatasetGroupArn = ptr.String(jtv) } - case "eventTrackerArn": if value != nil { jtv, ok := value.(string) @@ -12425,7 +12213,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.EventTrackerArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12441,7 +12228,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12450,7 +12236,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12459,7 +12244,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.Status = ptr.String(jtv) } - case "trackingId": if value != nil { jtv, ok := value.(string) @@ -12468,7 +12252,6 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.TrackingId = ptr.String(jtv) } - default: _, _ = key, value @@ -12549,7 +12332,6 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } } - case "eventTrackerArn": if value != nil { jtv, ok := value.(string) @@ -12558,7 +12340,6 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.EventTrackerArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12574,7 +12355,6 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12583,7 +12363,6 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12592,7 +12371,6 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -12673,12 +12451,10 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } } - case "defaultParameters": if err := awsAwsjson11_deserializeDocumentFeaturizationParameters(&sv.DefaultParameters, value); err != nil { return err } - case "featureTransformationArn": if value != nil { jtv, ok := value.(string) @@ -12687,7 +12463,6 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.FeatureTransformationArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12703,7 +12478,6 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12712,7 +12486,6 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12721,7 +12494,6 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -12833,7 +12605,6 @@ func awsAwsjson11_deserializeDocumentFieldsForThemeGeneration(v **types.FieldsFo } sv.ItemName = ptr.String(jtv) } - default: _, _ = key, value @@ -12880,7 +12651,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12889,7 +12659,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.DatasetGroupArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -12898,7 +12667,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FailureReason = ptr.String(jtv) } - case "filterArn": if value != nil { jtv, ok := value.(string) @@ -12907,7 +12675,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterArn = ptr.String(jtv) } - case "filterExpression": if value != nil { jtv, ok := value.(string) @@ -12916,7 +12683,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterExpression = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12932,7 +12698,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12941,7 +12706,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12950,7 +12714,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -13031,7 +12794,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -13040,7 +12802,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.DatasetGroupArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13049,7 +12810,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.FailureReason = ptr.String(jtv) } - case "filterArn": if value != nil { jtv, ok := value.(string) @@ -13058,7 +12818,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.FilterArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13074,7 +12833,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13083,7 +12841,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13092,7 +12849,6 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -13128,17 +12884,14 @@ func awsAwsjson11_deserializeDocumentHPOConfig(v **types.HPOConfig, value interf if err := awsAwsjson11_deserializeDocumentHyperParameterRanges(&sv.AlgorithmHyperParameterRanges, value); err != nil { return err } - case "hpoObjective": if err := awsAwsjson11_deserializeDocumentHPOObjective(&sv.HpoObjective, value); err != nil { return err } - case "hpoResourceConfig": if err := awsAwsjson11_deserializeDocumentHPOResourceConfig(&sv.HpoResourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13178,7 +12931,6 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.MetricName = ptr.String(jtv) } - case "metricRegex": if value != nil { jtv, ok := value.(string) @@ -13187,7 +12939,6 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.MetricRegex = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -13196,7 +12947,6 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -13236,7 +12986,6 @@ func awsAwsjson11_deserializeDocumentHPOResourceConfig(v **types.HPOResourceConf } sv.MaxNumberOfTrainingJobs = ptr.String(jtv) } - case "maxParallelTrainingJobs": if value != nil { jtv, ok := value.(string) @@ -13245,7 +12994,6 @@ func awsAwsjson11_deserializeDocumentHPOResourceConfig(v **types.HPOResourceConf } sv.MaxParallelTrainingJobs = ptr.String(jtv) } - default: _, _ = key, value @@ -13281,17 +13029,14 @@ func awsAwsjson11_deserializeDocumentHyperParameterRanges(v **types.HyperParamet if err := awsAwsjson11_deserializeDocumentCategoricalHyperParameterRanges(&sv.CategoricalHyperParameterRanges, value); err != nil { return err } - case "continuousHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousHyperParameterRanges(&sv.ContinuousHyperParameterRanges, value); err != nil { return err } - case "integerHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerHyperParameterRanges(&sv.IntegerHyperParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -13371,7 +13116,6 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.MaxValue = int32(i64) } - case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -13384,7 +13128,6 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.MinValue = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13393,7 +13136,6 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13457,15 +13199,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13473,15 +13209,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13506,15 +13238,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13522,15 +13248,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13555,15 +13277,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13571,15 +13287,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13614,7 +13326,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.EventType = ptr.String(jtv) } - case "expression": if value != nil { jtv, ok := value.(string) @@ -13623,7 +13334,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.Expression = ptr.String(jtv) } - case "metricName": if value != nil { jtv, ok := value.(string) @@ -13632,7 +13342,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.MetricName = ptr.String(jtv) } - default: _, _ = key, value @@ -13713,7 +13422,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -13722,7 +13430,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.DatasetGroupArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13731,7 +13438,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13747,7 +13453,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } } - case "metricAttributionArn": if value != nil { jtv, ok := value.(string) @@ -13756,12 +13461,10 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.MetricAttributionArn = ptr.String(jtv) } - case "metricsOutputConfig": if err := awsAwsjson11_deserializeDocumentMetricAttributionOutput(&sv.MetricsOutputConfig, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13770,7 +13473,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13779,7 +13481,6 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -13819,12 +13520,10 @@ func awsAwsjson11_deserializeDocumentMetricAttributionOutput(v **types.MetricAtt } sv.RoleArn = ptr.String(jtv) } - case "s3DataDestination": if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } - default: _, _ = key, value @@ -13905,7 +13604,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13914,7 +13612,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13930,7 +13627,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } } - case "metricAttributionArn": if value != nil { jtv, ok := value.(string) @@ -13939,7 +13635,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.MetricAttributionArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13948,7 +13643,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13957,7 +13651,6 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14058,7 +13751,6 @@ func awsAwsjson11_deserializeDocumentOptimizationObjective(v **types.Optimizatio } sv.ItemAttribute = ptr.String(jtv) } - case "objectiveSensitivity": if value != nil { jtv, ok := value.(string) @@ -14067,7 +13759,6 @@ func awsAwsjson11_deserializeDocumentOptimizationObjective(v **types.Optimizatio } sv.ObjectiveSensitivity = types.ObjectiveSensitivity(jtv) } - default: _, _ = key, value @@ -14107,7 +13798,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.AlgorithmArn = ptr.String(jtv) } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -14123,7 +13813,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } - case "description": if value != nil { jtv, ok := value.(string) @@ -14132,7 +13821,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Description = ptr.String(jtv) } - case "featureTransformationArn": if value != nil { jtv, ok := value.(string) @@ -14141,7 +13829,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.FeatureTransformationArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14157,7 +13844,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14166,7 +13852,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14175,7 +13860,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeArn = ptr.String(jtv) } - case "recipeType": if value != nil { jtv, ok := value.(string) @@ -14184,7 +13868,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14193,7 +13876,6 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14274,7 +13956,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } } - case "domain": if value != nil { jtv, ok := value.(string) @@ -14283,7 +13964,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Domain = types.Domain(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14299,7 +13979,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14308,7 +13987,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Name = ptr.String(jtv) } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14317,7 +13995,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.RecipeArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14326,7 +14003,6 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14373,7 +14049,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14382,7 +14057,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.DatasetGroupArn = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -14391,7 +14065,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14407,17 +14080,14 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } } - case "latestRecommenderUpdate": if err := awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(&sv.LatestRecommenderUpdate, value); err != nil { return err } - case "modelMetrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.ModelMetrics, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -14426,7 +14096,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.Name = ptr.String(jtv) } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14435,7 +14104,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.RecipeArn = ptr.String(jtv) } - case "recommenderArn": if value != nil { jtv, ok := value.(string) @@ -14444,12 +14112,10 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.RecommenderArn = ptr.String(jtv) } - case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14458,7 +14124,6 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14498,12 +14163,10 @@ func awsAwsjson11_deserializeDocumentRecommenderConfig(v **types.RecommenderConf } sv.EnableMetadataWithRecommendations = ptr.Bool(jtv) } - case "itemExplorationConfig": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } - case "minRecommendationRequestsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -14516,12 +14179,10 @@ func awsAwsjson11_deserializeDocumentRecommenderConfig(v **types.RecommenderConf } sv.MinRecommendationRequestsPerSecond = ptr.Int32(int32(i64)) } - case "trainingDataConfig": if err := awsAwsjson11_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14602,7 +14263,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14611,7 +14271,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.DatasetGroupArn = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14627,7 +14286,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14636,7 +14294,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.Name = ptr.String(jtv) } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14645,7 +14302,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.RecipeArn = ptr.String(jtv) } - case "recommenderArn": if value != nil { jtv, ok := value.(string) @@ -14654,12 +14310,10 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.RecommenderArn = ptr.String(jtv) } - case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14668,7 +14322,6 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14715,7 +14368,6 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -14724,7 +14376,6 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14740,12 +14391,10 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } } - case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14754,7 +14403,6 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -14784,15 +14432,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14800,15 +14442,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14869,15 +14507,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14885,15 +14517,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14918,15 +14546,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14934,15 +14556,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14977,7 +14595,6 @@ func awsAwsjson11_deserializeDocumentS3DataConfig(v **types.S3DataConfig, value } sv.KmsKeyArn = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -14986,7 +14603,6 @@ func awsAwsjson11_deserializeDocumentS3DataConfig(v **types.S3DataConfig, value } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -15056,7 +14672,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac if err := awsAwsjson11_deserializeDocumentAutoMLResult(&sv.AutoMLResult, value); err != nil { return err } - case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -15072,7 +14687,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -15081,7 +14695,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.DatasetGroupArn = ptr.String(jtv) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -15090,7 +14703,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.EventType = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15106,17 +14718,14 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } } - case "latestSolutionUpdate": if err := awsAwsjson11_deserializeDocumentSolutionUpdateSummary(&sv.LatestSolutionUpdate, value); err != nil { return err } - case "latestSolutionVersion": if err := awsAwsjson11_deserializeDocumentSolutionVersionSummary(&sv.LatestSolutionVersion, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15125,7 +14734,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.Name = ptr.String(jtv) } - case "performAutoML": if value != nil { jtv, ok := value.(bool) @@ -15134,7 +14742,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformAutoML = jtv } - case "performAutoTraining": if value != nil { jtv, ok := value.(bool) @@ -15143,7 +14750,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformAutoTraining = ptr.Bool(jtv) } - case "performHPO": if value != nil { jtv, ok := value.(bool) @@ -15152,7 +14758,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformHPO = jtv } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -15161,7 +14766,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.RecipeArn = ptr.String(jtv) } - case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -15170,12 +14774,10 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.SolutionArn = ptr.String(jtv) } - case "solutionConfig": if err := awsAwsjson11_deserializeDocumentSolutionConfig(&sv.SolutionConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15184,7 +14786,6 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15220,17 +14821,14 @@ func awsAwsjson11_deserializeDocumentSolutionConfig(v **types.SolutionConfig, va if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.AlgorithmHyperParameters, value); err != nil { return err } - case "autoMLConfig": if err := awsAwsjson11_deserializeDocumentAutoMLConfig(&sv.AutoMLConfig, value); err != nil { return err } - case "autoTrainingConfig": if err := awsAwsjson11_deserializeDocumentAutoTrainingConfig(&sv.AutoTrainingConfig, value); err != nil { return err } - case "eventValueThreshold": if value != nil { jtv, ok := value.(string) @@ -15239,27 +14837,22 @@ func awsAwsjson11_deserializeDocumentSolutionConfig(v **types.SolutionConfig, va } sv.EventValueThreshold = ptr.String(jtv) } - case "featureTransformationParameters": if err := awsAwsjson11_deserializeDocumentFeatureTransformationParameters(&sv.FeatureTransformationParameters, value); err != nil { return err } - case "hpoConfig": if err := awsAwsjson11_deserializeDocumentHPOConfig(&sv.HpoConfig, value); err != nil { return err } - case "optimizationObjective": if err := awsAwsjson11_deserializeDocumentOptimizationObjective(&sv.OptimizationObjective, value); err != nil { return err } - case "trainingDataConfig": if err := awsAwsjson11_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15340,7 +14933,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15356,7 +14948,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15365,7 +14956,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.Name = ptr.String(jtv) } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -15374,7 +14964,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.RecipeArn = ptr.String(jtv) } - case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -15383,7 +14972,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.SolutionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15392,7 +14980,6 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15428,7 +15015,6 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateConfig(v **types.SolutionUpda if err := awsAwsjson11_deserializeDocumentAutoTrainingConfig(&sv.AutoTrainingConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15475,7 +15061,6 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15484,7 +15069,6 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15500,7 +15084,6 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } } - case "performAutoTraining": if value != nil { jtv, ok := value.(bool) @@ -15509,12 +15092,10 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.PerformAutoTraining = ptr.Bool(jtv) } - case "solutionUpdateConfig": if err := awsAwsjson11_deserializeDocumentSolutionUpdateConfig(&sv.SolutionUpdateConfig, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15523,7 +15104,6 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -15570,7 +15150,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } - case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -15579,7 +15158,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.DatasetGroupArn = ptr.String(jtv) } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -15588,7 +15166,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.EventType = ptr.String(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15597,7 +15174,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15613,7 +15189,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15622,7 +15197,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.Name = ptr.String(jtv) } - case "performAutoML": if value != nil { jtv, ok := value.(bool) @@ -15631,7 +15205,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.PerformAutoML = jtv } - case "performHPO": if value != nil { jtv, ok := value.(bool) @@ -15640,7 +15213,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.PerformHPO = jtv } - case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -15649,7 +15221,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.RecipeArn = ptr.String(jtv) } - case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -15658,12 +15229,10 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.SolutionArn = ptr.String(jtv) } - case "solutionConfig": if err := awsAwsjson11_deserializeDocumentSolutionConfig(&sv.SolutionConfig, value); err != nil { return err } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -15672,7 +15241,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15681,7 +15249,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.Status = ptr.String(jtv) } - case "trainingHours": if value != nil { switch jtv := value.(type) { @@ -15715,7 +15282,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } - case "trainingMode": if value != nil { jtv, ok := value.(string) @@ -15724,7 +15290,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.TrainingMode = types.TrainingMode(jtv) } - case "trainingType": if value != nil { jtv, ok := value.(string) @@ -15733,12 +15298,10 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.TrainingType = types.TrainingType(jtv) } - case "tunedHPOParams": if err := awsAwsjson11_deserializeDocumentTunedHPOParams(&sv.TunedHPOParams, value); err != nil { return err } - default: _, _ = key, value @@ -15819,7 +15382,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15828,7 +15390,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15844,7 +15405,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -15853,7 +15413,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.SolutionVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15862,7 +15421,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.Status = ptr.String(jtv) } - case "trainingMode": if value != nil { jtv, ok := value.(string) @@ -15871,7 +15429,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.TrainingMode = types.TrainingMode(jtv) } - case "trainingType": if value != nil { jtv, ok := value.(string) @@ -15880,7 +15437,6 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.TrainingType = types.TrainingType(jtv) } - default: _, _ = key, value @@ -15920,7 +15476,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } - case "tagValue": if value != nil { jtv, ok := value.(string) @@ -15929,7 +15484,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -15999,7 +15553,6 @@ func awsAwsjson11_deserializeDocumentThemeGenerationConfig(v **types.ThemeGenera if err := awsAwsjson11_deserializeDocumentFieldsForThemeGeneration(&sv.FieldsForThemeGeneration, value); err != nil { return err } - default: _, _ = key, value @@ -16029,15 +15582,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16045,15 +15592,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16078,15 +15621,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16094,15 +15631,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16133,7 +15666,6 @@ func awsAwsjson11_deserializeDocumentTrainingDataConfig(v **types.TrainingDataCo if err := awsAwsjson11_deserializeDocumentExcludedDatasetColumns(&sv.ExcludedDatasetColumns, value); err != nil { return err } - default: _, _ = key, value @@ -16169,7 +15701,6 @@ func awsAwsjson11_deserializeDocumentTunedHPOParams(v **types.TunedHPOParams, va if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.AlgorithmHyperParameters, value); err != nil { return err } - default: _, _ = key, value @@ -16209,7 +15740,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchInferenceJobOutput(v **CreateB } sv.BatchInferenceJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16249,7 +15779,6 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchSegmentJobOutput(v **CreateBat } sv.BatchSegmentJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16289,7 +15818,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.CampaignArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16329,7 +15857,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataDeletionJobOutput(v **CreateDat } sv.DataDeletionJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16369,7 +15896,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetExportJobOutput(v **CreateDa } sv.DatasetExportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16409,7 +15935,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.DatasetGroupArn = ptr.String(jtv) } - case "domain": if value != nil { jtv, ok := value.(string) @@ -16418,7 +15943,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.Domain = types.Domain(jtv) } - default: _, _ = key, value @@ -16458,7 +15982,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetImportJobOutput(v **CreateDa } sv.DatasetImportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16498,7 +16021,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16538,7 +16060,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventTrackerOutput(v **CreateEventT } sv.EventTrackerArn = ptr.String(jtv) } - case "trackingId": if value != nil { jtv, ok := value.(string) @@ -16547,7 +16068,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEventTrackerOutput(v **CreateEventT } sv.TrackingId = ptr.String(jtv) } - default: _, _ = key, value @@ -16587,7 +16107,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.FilterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16627,7 +16146,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMetricAttributionOutput(v **CreateM } sv.MetricAttributionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16667,7 +16185,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRecommenderOutput(v **CreateRecomme } sv.RecommenderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16707,7 +16224,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16747,7 +16263,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSolutionOutput(v **CreateSolutionOu } sv.SolutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16787,7 +16302,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSolutionVersionOutput(v **CreateSol } sv.SolutionVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16823,7 +16337,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor if err := awsAwsjson11_deserializeDocumentAlgorithm(&sv.Algorithm, value); err != nil { return err } - default: _, _ = key, value @@ -16859,7 +16372,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchInferenceJobOutput(v **Descr if err := awsAwsjson11_deserializeDocumentBatchInferenceJob(&sv.BatchInferenceJob, value); err != nil { return err } - default: _, _ = key, value @@ -16895,7 +16407,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchSegmentJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentBatchSegmentJob(&sv.BatchSegmentJob, value); err != nil { return err } - default: _, _ = key, value @@ -16931,7 +16442,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCampaignOutput(v **DescribeCampai if err := awsAwsjson11_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } - default: _, _ = key, value @@ -16967,7 +16477,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataDeletionJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentDataDeletionJob(&sv.DataDeletionJob, value); err != nil { return err } - default: _, _ = key, value @@ -17003,7 +16512,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetExportJobOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDatasetExportJob(&sv.DatasetExportJob, value); err != nil { return err } - default: _, _ = key, value @@ -17039,7 +16547,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa if err := awsAwsjson11_deserializeDocumentDatasetGroup(&sv.DatasetGroup, value); err != nil { return err } - default: _, _ = key, value @@ -17075,7 +16582,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDatasetImportJob(&sv.DatasetImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -17111,7 +16617,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -17147,7 +16652,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTrackerOutput(v **DescribeEv if err := awsAwsjson11_deserializeDocumentEventTracker(&sv.EventTracker, value); err != nil { return err } - default: _, _ = key, value @@ -17183,7 +16687,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureTransformationOutput(v **D if err := awsAwsjson11_deserializeDocumentFeatureTransformation(&sv.FeatureTransformation, value); err != nil { return err } - default: _, _ = key, value @@ -17219,7 +16722,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFilterOutput(v **DescribeFilterOu if err := awsAwsjson11_deserializeDocumentFilter(&sv.Filter, value); err != nil { return err } - default: _, _ = key, value @@ -17255,7 +16757,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricAttributionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentMetricAttribution(&sv.MetricAttribution, value); err != nil { return err } - default: _, _ = key, value @@ -17291,7 +16792,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu if err := awsAwsjson11_deserializeDocumentRecipe(&sv.Recipe, value); err != nil { return err } - default: _, _ = key, value @@ -17327,7 +16827,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommenderOutput(v **DescribeRec if err := awsAwsjson11_deserializeDocumentRecommender(&sv.Recommender, value); err != nil { return err } - default: _, _ = key, value @@ -17363,7 +16862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu if err := awsAwsjson11_deserializeDocumentDatasetSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -17399,7 +16897,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSolutionOutput(v **DescribeSoluti if err := awsAwsjson11_deserializeDocumentSolution(&sv.Solution, value); err != nil { return err } - default: _, _ = key, value @@ -17435,7 +16932,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSolutionVersionOutput(v **Describ if err := awsAwsjson11_deserializeDocumentSolutionVersion(&sv.SolutionVersion, value); err != nil { return err } - default: _, _ = key, value @@ -17471,7 +16967,6 @@ func awsAwsjson11_deserializeOpDocumentGetSolutionMetricsOutput(v **GetSolutionM if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } - case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -17480,7 +16975,6 @@ func awsAwsjson11_deserializeOpDocumentGetSolutionMetricsOutput(v **GetSolutionM } sv.SolutionVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17516,7 +17010,6 @@ func awsAwsjson11_deserializeOpDocumentListBatchInferenceJobsOutput(v **ListBatc if err := awsAwsjson11_deserializeDocumentBatchInferenceJobs(&sv.BatchInferenceJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17525,7 +17018,6 @@ func awsAwsjson11_deserializeOpDocumentListBatchInferenceJobsOutput(v **ListBatc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17561,7 +17053,6 @@ func awsAwsjson11_deserializeOpDocumentListBatchSegmentJobsOutput(v **ListBatchS if err := awsAwsjson11_deserializeDocumentBatchSegmentJobs(&sv.BatchSegmentJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17570,7 +17061,6 @@ func awsAwsjson11_deserializeOpDocumentListBatchSegmentJobsOutput(v **ListBatchS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17606,7 +17096,6 @@ func awsAwsjson11_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsAwsjson11_deserializeDocumentCampaigns(&sv.Campaigns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17615,7 +17104,6 @@ func awsAwsjson11_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17651,7 +17139,6 @@ func awsAwsjson11_deserializeOpDocumentListDataDeletionJobsOutput(v **ListDataDe if err := awsAwsjson11_deserializeDocumentDataDeletionJobs(&sv.DataDeletionJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17660,7 +17147,6 @@ func awsAwsjson11_deserializeOpDocumentListDataDeletionJobsOutput(v **ListDataDe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17696,7 +17182,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetExportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetExportJobs(&sv.DatasetExportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17705,7 +17190,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetExportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17741,7 +17225,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr if err := awsAwsjson11_deserializeDocumentDatasetGroups(&sv.DatasetGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17750,7 +17233,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17786,7 +17268,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetImportJobs(&sv.DatasetImportJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17795,7 +17276,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17831,7 +17311,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasets(&sv.Datasets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17840,7 +17319,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17876,7 +17354,6 @@ func awsAwsjson11_deserializeOpDocumentListEventTrackersOutput(v **ListEventTrac if err := awsAwsjson11_deserializeDocumentEventTrackers(&sv.EventTrackers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17885,7 +17362,6 @@ func awsAwsjson11_deserializeOpDocumentListEventTrackersOutput(v **ListEventTrac } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17921,7 +17397,6 @@ func awsAwsjson11_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsAwsjson11_deserializeDocumentFilters(&sv.Filters, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17930,7 +17405,6 @@ func awsAwsjson11_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17966,7 +17440,6 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionMetricsOutput(v **Li if err := awsAwsjson11_deserializeDocumentMetricAttributes(&sv.Metrics, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17975,7 +17448,6 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionMetricsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18011,7 +17483,6 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionsOutput(v **ListMetr if err := awsAwsjson11_deserializeDocumentMetricAttributions(&sv.MetricAttributions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18020,7 +17491,6 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionsOutput(v **ListMetr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18060,12 +17530,10 @@ func awsAwsjson11_deserializeOpDocumentListRecipesOutput(v **ListRecipesOutput, } sv.NextToken = ptr.String(jtv) } - case "recipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.Recipes, value); err != nil { return err } - default: _, _ = key, value @@ -18105,12 +17573,10 @@ func awsAwsjson11_deserializeOpDocumentListRecommendersOutput(v **ListRecommende } sv.NextToken = ptr.String(jtv) } - case "recommenders": if err := awsAwsjson11_deserializeDocumentRecommenders(&sv.Recommenders, value); err != nil { return err } - default: _, _ = key, value @@ -18150,12 +17616,10 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } - case "schemas": if err := awsAwsjson11_deserializeDocumentSchemas(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -18195,12 +17659,10 @@ func awsAwsjson11_deserializeOpDocumentListSolutionsOutput(v **ListSolutionsOutp } sv.NextToken = ptr.String(jtv) } - case "solutions": if err := awsAwsjson11_deserializeDocumentSolutions(&sv.Solutions, value); err != nil { return err } - default: _, _ = key, value @@ -18240,12 +17702,10 @@ func awsAwsjson11_deserializeOpDocumentListSolutionVersionsOutput(v **ListSoluti } sv.NextToken = ptr.String(jtv) } - case "solutionVersions": if err := awsAwsjson11_deserializeDocumentSolutionVersions(&sv.SolutionVersions, value); err != nil { return err } - default: _, _ = key, value @@ -18281,7 +17741,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18321,7 +17780,6 @@ func awsAwsjson11_deserializeOpDocumentStartRecommenderOutput(v **StartRecommend } sv.RecommenderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18361,7 +17819,6 @@ func awsAwsjson11_deserializeOpDocumentStopRecommenderOutput(v **StopRecommender } sv.RecommenderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18463,7 +17920,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.CampaignArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18503,7 +17959,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18543,7 +17998,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMetricAttributionOutput(v **UpdateM } sv.MetricAttributionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18583,7 +18037,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRecommenderOutput(v **UpdateRecomme } sv.RecommenderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18623,7 +18076,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSolutionOutput(v **UpdateSolutionOu } sv.SolutionArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/personalizeevents/deserializers.go b/service/personalizeevents/deserializers.go index 80bc821963c..360b6163244 100644 --- a/service/personalizeevents/deserializers.go +++ b/service/personalizeevents/deserializers.go @@ -652,15 +652,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -668,15 +662,11 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -701,15 +691,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -717,15 +701,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -750,15 +730,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -766,15 +740,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/personalizeruntime/deserializers.go b/service/personalizeruntime/deserializers.go index cb21ca43fd8..f4999a0befb 100644 --- a/service/personalizeruntime/deserializers.go +++ b/service/personalizeruntime/deserializers.go @@ -175,7 +175,6 @@ func awsRestjson1_deserializeOpDocumentGetActionRecommendationsOutput(v **GetAct if err := awsRestjson1_deserializeDocumentActionList(&sv.ActionList, value); err != nil { return err } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -184,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentGetActionRecommendationsOutput(v **GetAct } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -339,7 +337,6 @@ func awsRestjson1_deserializeOpDocumentGetPersonalizedRankingOutput(v **GetPerso if err := awsRestjson1_deserializeDocumentItemList(&sv.PersonalizedRanking, value); err != nil { return err } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -348,7 +345,6 @@ func awsRestjson1_deserializeOpDocumentGetPersonalizedRankingOutput(v **GetPerso } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -503,7 +499,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentItemList(&sv.ItemList, value); err != nil { return err } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -512,7 +507,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -648,15 +642,9 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -664,15 +652,11 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -777,7 +761,6 @@ func awsRestjson1_deserializeDocumentPredictedAction(v **types.PredictedAction, } sv.ActionId = ptr.String(jtv) } - case "score": if value != nil { switch jtv := value.(type) { @@ -811,7 +794,6 @@ func awsRestjson1_deserializeDocumentPredictedAction(v **types.PredictedAction, } } - default: _, _ = key, value @@ -851,12 +833,10 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } sv.ItemId = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "promotionName": if value != nil { jtv, ok := value.(string) @@ -865,12 +845,10 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } sv.PromotionName = ptr.String(jtv) } - case "reason": if err := awsRestjson1_deserializeDocumentReasonList(&sv.Reason, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -904,7 +882,6 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } } - default: _, _ = key, value @@ -970,15 +947,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -986,15 +957,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/pi/deserializers.go b/service/pi/deserializers.go index 97a5e40f401..e1025bc6971 100644 --- a/service/pi/deserializers.go +++ b/service/pi/deserializers.go @@ -1747,7 +1747,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.AnalysisReportId = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1763,7 +1762,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -1779,7 +1777,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1788,12 +1785,10 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.Identifier = ptr.String(jtv) } - case "Insights": if err := awsAwsjson11_deserializeDocumentInsightList(&sv.Insights, value); err != nil { return err } - case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -1802,7 +1797,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.ServiceType = types.ServiceType(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1818,7 +1812,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1827,7 +1820,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.Status = types.AnalysisStatus(jtv) } - default: _, _ = key, value @@ -1867,7 +1859,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } sv.AnalysisReportId = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1883,7 +1874,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -1899,7 +1889,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1915,7 +1904,6 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1924,12 +1912,10 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } sv.Status = types.AnalysisStatus(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1999,7 +1985,6 @@ func awsAwsjson11_deserializeDocumentData(v **types.Data, value interface{}) err if err := awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(&sv.PerformanceInsightsMetric, value); err != nil { return err } - default: _, _ = key, value @@ -2080,7 +2065,6 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } - case "Value": if value != nil { switch jtv := value.(type) { @@ -2114,7 +2098,6 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } - default: _, _ = key, value @@ -2224,7 +2207,6 @@ func awsAwsjson11_deserializeDocumentDimensionDetail(v **types.DimensionDetail, } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -2294,7 +2276,6 @@ func awsAwsjson11_deserializeDocumentDimensionGroupDetail(v **types.DimensionGro if err := awsAwsjson11_deserializeDocumentDimensionDetailList(&sv.Dimensions, value); err != nil { return err } - case "Group": if value != nil { jtv, ok := value.(string) @@ -2303,7 +2284,6 @@ func awsAwsjson11_deserializeDocumentDimensionGroupDetail(v **types.DimensionGro } sv.Group = ptr.String(jtv) } - default: _, _ = key, value @@ -2373,17 +2353,14 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDescription(v **types.Dimension if err := awsAwsjson11_deserializeDocumentAdditionalMetricsMap(&sv.AdditionalMetrics, value); err != nil { return err } - case "Dimensions": if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } - case "Partitions": if err := awsAwsjson11_deserializeDocumentMetricValuesList(&sv.Partitions, value); err != nil { return err } - case "Total": if value != nil { switch jtv := value.(type) { @@ -2417,7 +2394,6 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDescription(v **types.Dimension } } - default: _, _ = key, value @@ -2491,7 +2467,6 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Dimension = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2500,7 +2475,6 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Status = types.DetailStatus(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2509,7 +2483,6 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2619,7 +2592,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -2690,7 +2662,6 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsAwsjson11_deserializeDocumentDataList(&sv.BaselineData, value); err != nil { return err } - case "Context": if value != nil { jtv, ok := value.(string) @@ -2699,7 +2670,6 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Context = types.ContextType(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2708,7 +2678,6 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Description = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2724,12 +2693,10 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "InsightData": if err := awsAwsjson11_deserializeDocumentDataList(&sv.InsightData, value); err != nil { return err } - case "InsightId": if value != nil { jtv, ok := value.(string) @@ -2738,7 +2705,6 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightId = ptr.String(jtv) } - case "InsightType": if value != nil { jtv, ok := value.(string) @@ -2747,12 +2713,10 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightType = ptr.String(jtv) } - case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -2761,7 +2725,6 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Severity = types.Severity(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2777,12 +2740,10 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "SupportingInsights": if err := awsAwsjson11_deserializeDocumentInsightList(&sv.SupportingInsights, value); err != nil { return err } - default: _, _ = key, value @@ -2846,15 +2807,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2862,15 +2817,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2895,15 +2846,9 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2911,15 +2856,11 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2950,7 +2891,6 @@ func awsAwsjson11_deserializeDocumentMetricDimensionGroups(v **types.MetricDimen if err := awsAwsjson11_deserializeDocumentDimensionGroupDetailList(&sv.Groups, value); err != nil { return err } - case "Metric": if value != nil { jtv, ok := value.(string) @@ -2959,7 +2899,6 @@ func awsAwsjson11_deserializeDocumentMetricDimensionGroups(v **types.MetricDimen } sv.Metric = ptr.String(jtv) } - default: _, _ = key, value @@ -3029,12 +2968,10 @@ func awsAwsjson11_deserializeDocumentMetricKeyDataPoints(v **types.MetricKeyData if err := awsAwsjson11_deserializeDocumentDataPointsList(&sv.DataPoints, value); err != nil { return err } - case "Key": if err := awsAwsjson11_deserializeDocumentResponseResourceMetricKey(&sv.Key, value); err != nil { return err } - default: _, _ = key, value @@ -3159,15 +3096,9 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3175,15 +3106,11 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3214,7 +3141,6 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform if err := awsAwsjson11_deserializeDocumentDescriptiveMap(&sv.Dimensions, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3223,7 +3149,6 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } sv.DisplayName = ptr.String(jtv) } - case "Metric": if value != nil { jtv, ok := value.(string) @@ -3232,7 +3157,6 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } sv.Metric = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -3266,7 +3190,6 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } } - default: _, _ = key, value @@ -3306,7 +3229,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationDescription = ptr.String(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3315,7 +3237,6 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -3385,7 +3306,6 @@ func awsAwsjson11_deserializeDocumentResponsePartitionKey(v **types.ResponsePart if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -3459,7 +3379,6 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Description = ptr.String(jtv) } - case "Metric": if value != nil { jtv, ok := value.(string) @@ -3468,7 +3387,6 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Metric = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -3477,7 +3395,6 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -3513,7 +3430,6 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetricKey(v **types.Respons if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } - case "Metric": if value != nil { jtv, ok := value.(string) @@ -3522,7 +3438,6 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetricKey(v **types.Respons } sv.Metric = ptr.String(jtv) } - default: _, _ = key, value @@ -3596,7 +3511,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3605,7 +3519,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3679,7 +3592,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePerformanceAnalysisReportOutput(v * } sv.AnalysisReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -3757,7 +3669,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } } - case "AlignedStartTime": if value != nil { switch jtv := value.(type) { @@ -3773,12 +3684,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } } - case "Keys": if err := awsAwsjson11_deserializeDocumentDimensionKeyDescriptionList(&sv.Keys, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3787,12 +3696,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } sv.NextToken = ptr.String(jtv) } - case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentResponsePartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } - default: _, _ = key, value @@ -3828,7 +3735,6 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionKeyDetailsOutput(v **GetDimen if err := awsAwsjson11_deserializeDocumentDimensionKeyDetailList(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -3864,7 +3770,6 @@ func awsAwsjson11_deserializeOpDocumentGetPerformanceAnalysisReportOutput(v **Ge if err := awsAwsjson11_deserializeDocumentAnalysisReport(&sv.AnalysisReport, value); err != nil { return err } - default: _, _ = key, value @@ -3900,7 +3805,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetadataOutput(v **GetResource if err := awsAwsjson11_deserializeDocumentFeatureMetadataMap(&sv.Features, value); err != nil { return err } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -3909,7 +3813,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetadataOutput(v **GetResource } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -3956,7 +3859,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } } - case "AlignedStartTime": if value != nil { switch jtv := value.(type) { @@ -3972,7 +3874,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -3981,12 +3882,10 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } sv.Identifier = ptr.String(jtv) } - case "MetricList": if err := awsAwsjson11_deserializeDocumentMetricKeyDataPointsList(&sv.MetricList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3995,7 +3894,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4031,7 +3929,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceDimensionsOutput(v * if err := awsAwsjson11_deserializeDocumentMetricDimensionsList(&sv.MetricDimensions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3937,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceDimensionsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4076,7 +3972,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceMetricsOutput(v **Li if err := awsAwsjson11_deserializeDocumentResponseResourceMetricList(&sv.Metrics, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4085,7 +3980,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceMetricsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4121,7 +4015,6 @@ func awsAwsjson11_deserializeOpDocumentListPerformanceAnalysisReportsOutput(v ** if err := awsAwsjson11_deserializeDocumentAnalysisReportSummaryList(&sv.AnalysisReports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4130,7 +4023,6 @@ func awsAwsjson11_deserializeOpDocumentListPerformanceAnalysisReportsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4166,7 +4058,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/pinpoint/deserializers.go b/service/pinpoint/deserializers.go index 0cedbfc8fea..ba577b48a9d 100644 --- a/service/pinpoint/deserializers.go +++ b/service/pinpoint/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -361,7 +360,6 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } - default: _, _ = key, value @@ -525,7 +523,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailTemplateOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -695,7 +692,6 @@ func awsRestjson1_deserializeOpDocumentCreateExportJobOutput(v **CreateExportJob if err := awsRestjson1_deserializeDocumentExportJobResponse(&sv.ExportJobResponse, value); err != nil { return err } - default: _, _ = key, value @@ -865,7 +861,6 @@ func awsRestjson1_deserializeOpDocumentCreateImportJobOutput(v **CreateImportJob if err := awsRestjson1_deserializeDocumentImportJobResponse(&sv.ImportJobResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1029,7 +1024,6 @@ func awsRestjson1_deserializeOpDocumentCreateInAppTemplateOutput(v **CreateInApp if err := awsRestjson1_deserializeDocumentTemplateCreateMessageBody(&sv.TemplateCreateMessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -1199,7 +1193,6 @@ func awsRestjson1_deserializeOpDocumentCreateJourneyOutput(v **CreateJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1363,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentCreatePushTemplateOutput(v **CreatePushTe if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -1533,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1703,7 +1694,6 @@ func awsRestjson1_deserializeOpDocumentCreateSegmentOutput(v **CreateSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1867,7 +1857,6 @@ func awsRestjson1_deserializeOpDocumentCreateSmsTemplateOutput(v **CreateSmsTemp if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -2031,7 +2020,6 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceTemplateOutput(v **CreateVoice if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -2201,7 +2189,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAdmChannelOutput(v **DeleteAdmChann if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2371,7 +2358,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsChannelOutput(v **DeleteApnsCha if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2541,7 +2527,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsSandboxChannelOutput(v **Delete if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2711,7 +2696,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsVoipChannelOutput(v **DeleteApn if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2881,7 +2865,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsVoipSandboxChannelOutput(v **De if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -3051,7 +3034,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -3221,7 +3203,6 @@ func awsRestjson1_deserializeOpDocumentDeleteBaiduChannelOutput(v **DeleteBaiduC if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -3391,7 +3372,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } - default: _, _ = key, value @@ -3561,7 +3541,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEmailChannelOutput(v **DeleteEmailC if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -3731,7 +3710,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEmailTemplateOutput(v **DeleteEmail if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -3901,7 +3879,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEndpointOutput(v **DeleteEndpointOu if err := awsRestjson1_deserializeDocumentEndpointResponse(&sv.EndpointResponse, value); err != nil { return err } - default: _, _ = key, value @@ -4071,7 +4048,6 @@ func awsRestjson1_deserializeOpDocumentDeleteEventStreamOutput(v **DeleteEventSt if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } - default: _, _ = key, value @@ -4241,7 +4217,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGcmChannelOutput(v **DeleteGcmChann if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -4411,7 +4386,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInAppTemplateOutput(v **DeleteInApp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -4581,7 +4555,6 @@ func awsRestjson1_deserializeOpDocumentDeleteJourneyOutput(v **DeleteJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -4751,7 +4724,6 @@ func awsRestjson1_deserializeOpDocumentDeletePushTemplateOutput(v **DeletePushTe if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -4921,7 +4893,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -5091,7 +5062,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSegmentOutput(v **DeleteSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -5261,7 +5231,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSmsChannelOutput(v **DeleteSmsChann if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -5431,7 +5400,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSmsTemplateOutput(v **DeleteSmsTemp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -5601,7 +5569,6 @@ func awsRestjson1_deserializeOpDocumentDeleteUserEndpointsOutput(v **DeleteUserE if err := awsRestjson1_deserializeDocumentEndpointsResponse(&sv.EndpointsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -5771,7 +5738,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVoiceChannelOutput(v **DeleteVoiceC if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -5941,7 +5907,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVoiceTemplateOutput(v **DeleteVoice if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -6111,7 +6076,6 @@ func awsRestjson1_deserializeOpDocumentGetAdmChannelOutput(v **GetAdmChannelOutp if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6281,7 +6245,6 @@ func awsRestjson1_deserializeOpDocumentGetApnsChannelOutput(v **GetApnsChannelOu if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6451,7 +6414,6 @@ func awsRestjson1_deserializeOpDocumentGetApnsSandboxChannelOutput(v **GetApnsSa if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6621,7 +6583,6 @@ func awsRestjson1_deserializeOpDocumentGetApnsVoipChannelOutput(v **GetApnsVoipC if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6791,7 +6752,6 @@ func awsRestjson1_deserializeOpDocumentGetApnsVoipSandboxChannelOutput(v **GetAp if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6961,7 +6921,6 @@ func awsRestjson1_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -7131,7 +7090,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationDateRangeKpiOutput(v **GetA if err := awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(&sv.ApplicationDateRangeKpiResponse, value); err != nil { return err } - default: _, _ = key, value @@ -7301,7 +7259,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationSettingsOutput(v **GetAppli if err := awsRestjson1_deserializeDocumentApplicationSettingsResource(&sv.ApplicationSettingsResource, value); err != nil { return err } - default: _, _ = key, value @@ -7471,7 +7428,6 @@ func awsRestjson1_deserializeOpDocumentGetAppsOutput(v **GetAppsOutput, value in if err := awsRestjson1_deserializeDocumentApplicationsResponse(&sv.ApplicationsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -7641,7 +7597,6 @@ func awsRestjson1_deserializeOpDocumentGetBaiduChannelOutput(v **GetBaiduChannel if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -7811,7 +7766,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } - default: _, _ = key, value @@ -7981,7 +7935,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignActivitiesOutput(v **GetCampai if err := awsRestjson1_deserializeDocumentActivitiesResponse(&sv.ActivitiesResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8151,7 +8104,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignDateRangeKpiOutput(v **GetCamp if err := awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(&sv.CampaignDateRangeKpiResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8321,7 +8273,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignsOutput(v **GetCampaignsOutput if err := awsRestjson1_deserializeDocumentCampaignsResponse(&sv.CampaignsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8491,7 +8442,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignVersionOutput(v **GetCampaignV if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8661,7 +8611,6 @@ func awsRestjson1_deserializeOpDocumentGetCampaignVersionsOutput(v **GetCampaign if err := awsRestjson1_deserializeDocumentCampaignsResponse(&sv.CampaignsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8831,7 +8780,6 @@ func awsRestjson1_deserializeOpDocumentGetChannelsOutput(v **GetChannelsOutput, if err := awsRestjson1_deserializeDocumentChannelsResponse(&sv.ChannelsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9001,7 +8949,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailChannelOutput(v **GetEmailChannel if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9171,7 +9118,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla if err := awsRestjson1_deserializeDocumentEmailTemplateResponse(&sv.EmailTemplateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9341,7 +9287,6 @@ func awsRestjson1_deserializeOpDocumentGetEndpointOutput(v **GetEndpointOutput, if err := awsRestjson1_deserializeDocumentEndpointResponse(&sv.EndpointResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9511,7 +9456,6 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } - default: _, _ = key, value @@ -9681,7 +9625,6 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput if err := awsRestjson1_deserializeDocumentExportJobResponse(&sv.ExportJobResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9851,7 +9794,6 @@ func awsRestjson1_deserializeOpDocumentGetExportJobsOutput(v **GetExportJobsOutp if err := awsRestjson1_deserializeDocumentExportJobsResponse(&sv.ExportJobsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10021,7 +9963,6 @@ func awsRestjson1_deserializeOpDocumentGetGcmChannelOutput(v **GetGcmChannelOutp if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10191,7 +10132,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobResponse(&sv.ImportJobResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10361,7 +10301,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobsOutput(v **GetImportJobsOutp if err := awsRestjson1_deserializeDocumentImportJobsResponse(&sv.ImportJobsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10531,7 +10470,6 @@ func awsRestjson1_deserializeOpDocumentGetInAppMessagesOutput(v **GetInAppMessag if err := awsRestjson1_deserializeDocumentInAppMessagesResponse(&sv.InAppMessagesResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10701,7 +10639,6 @@ func awsRestjson1_deserializeOpDocumentGetInAppTemplateOutput(v **GetInAppTempla if err := awsRestjson1_deserializeDocumentInAppTemplateResponse(&sv.InAppTemplateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -10871,7 +10808,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyOutput(v **GetJourneyOutput, va if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11041,7 +10977,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyDateRangeKpiOutput(v **GetJourn if err := awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(&sv.JourneyDateRangeKpiResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11211,7 +11146,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyExecutionActivityMetricsOutput( if err := awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(&sv.JourneyExecutionActivityMetricsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11381,7 +11315,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyExecutionMetricsOutput(v **GetJ if err := awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(&sv.JourneyExecutionMetricsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11551,7 +11484,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunExecutionActivityMetricsOutp if err := awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse(&sv.JourneyRunExecutionActivityMetricsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11721,7 +11653,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunExecutionMetricsOutput(v **G if err := awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(&sv.JourneyRunExecutionMetricsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -11891,7 +11822,6 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunsOutput(v **GetJourneyRunsOu if err := awsRestjson1_deserializeDocumentJourneyRunsResponse(&sv.JourneyRunsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12061,7 +11991,6 @@ func awsRestjson1_deserializeOpDocumentGetPushTemplateOutput(v **GetPushTemplate if err := awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(&sv.PushNotificationTemplateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12231,7 +12160,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommenderConfigurationOutput(v **Get if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12401,7 +12329,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommenderConfigurationsOutput(v **Ge if err := awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(&sv.ListRecommenderConfigurationsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12571,7 +12498,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentOutput(v **GetSegmentOutput, va if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12741,7 +12667,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentExportJobsOutput(v **GetSegment if err := awsRestjson1_deserializeDocumentExportJobsResponse(&sv.ExportJobsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -12911,7 +12836,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentImportJobsOutput(v **GetSegment if err := awsRestjson1_deserializeDocumentImportJobsResponse(&sv.ImportJobsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13081,7 +13005,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentsOutput(v **GetSegmentsOutput, if err := awsRestjson1_deserializeDocumentSegmentsResponse(&sv.SegmentsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13251,7 +13174,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentVersionOutput(v **GetSegmentVer if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13421,7 +13343,6 @@ func awsRestjson1_deserializeOpDocumentGetSegmentVersionsOutput(v **GetSegmentVe if err := awsRestjson1_deserializeDocumentSegmentsResponse(&sv.SegmentsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13591,7 +13512,6 @@ func awsRestjson1_deserializeOpDocumentGetSmsChannelOutput(v **GetSmsChannelOutp if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13761,7 +13681,6 @@ func awsRestjson1_deserializeOpDocumentGetSmsTemplateOutput(v **GetSmsTemplateOu if err := awsRestjson1_deserializeDocumentSMSTemplateResponse(&sv.SMSTemplateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -13931,7 +13850,6 @@ func awsRestjson1_deserializeOpDocumentGetUserEndpointsOutput(v **GetUserEndpoin if err := awsRestjson1_deserializeDocumentEndpointsResponse(&sv.EndpointsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -14101,7 +14019,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceChannelOutput(v **GetVoiceChannel if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -14271,7 +14188,6 @@ func awsRestjson1_deserializeOpDocumentGetVoiceTemplateOutput(v **GetVoiceTempla if err := awsRestjson1_deserializeDocumentVoiceTemplateResponse(&sv.VoiceTemplateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -14441,7 +14357,6 @@ func awsRestjson1_deserializeOpDocumentListJourneysOutput(v **ListJourneysOutput if err := awsRestjson1_deserializeDocumentJourneysResponse(&sv.JourneysResponse, value); err != nil { return err } - default: _, _ = key, value @@ -14590,7 +14505,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsModel(&sv.TagsModel, value); err != nil { return err } - default: _, _ = key, value @@ -14754,7 +14668,6 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp if err := awsRestjson1_deserializeDocumentTemplatesResponse(&sv.TemplatesResponse, value); err != nil { return err } - default: _, _ = key, value @@ -14924,7 +14837,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla if err := awsRestjson1_deserializeDocumentTemplateVersionsResponse(&sv.TemplateVersionsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -15094,7 +15006,6 @@ func awsRestjson1_deserializeOpDocumentPhoneNumberValidateOutput(v **PhoneNumber if err := awsRestjson1_deserializeDocumentNumberValidateResponse(&sv.NumberValidateResponse, value); err != nil { return err } - default: _, _ = key, value @@ -15264,7 +15175,6 @@ func awsRestjson1_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsRestjson1_deserializeDocumentEventsResponse(&sv.EventsResponse, value); err != nil { return err } - default: _, _ = key, value @@ -15434,7 +15344,6 @@ func awsRestjson1_deserializeOpDocumentPutEventStreamOutput(v **PutEventStreamOu if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } - default: _, _ = key, value @@ -15604,7 +15513,6 @@ func awsRestjson1_deserializeOpDocumentRemoveAttributesOutput(v **RemoveAttribut if err := awsRestjson1_deserializeDocumentAttributesResource(&sv.AttributesResource, value); err != nil { return err } - default: _, _ = key, value @@ -15774,7 +15682,6 @@ func awsRestjson1_deserializeOpDocumentSendMessagesOutput(v **SendMessagesOutput if err := awsRestjson1_deserializeDocumentMessageResponse(&sv.MessageResponse, value); err != nil { return err } - default: _, _ = key, value @@ -15944,7 +15851,6 @@ func awsRestjson1_deserializeOpDocumentSendOTPMessageOutput(v **SendOTPMessageOu if err := awsRestjson1_deserializeDocumentMessageResponse(&sv.MessageResponse, value); err != nil { return err } - default: _, _ = key, value @@ -16114,7 +16020,6 @@ func awsRestjson1_deserializeOpDocumentSendUsersMessagesOutput(v **SendUsersMess if err := awsRestjson1_deserializeDocumentSendUsersMessageResponse(&sv.SendUsersMessageResponse, value); err != nil { return err } - default: _, _ = key, value @@ -16466,7 +16371,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAdmChannelOutput(v **UpdateAdmChann if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -16636,7 +16540,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsChannelOutput(v **UpdateApnsCha if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -16806,7 +16709,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsSandboxChannelOutput(v **Update if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -16976,7 +16878,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsVoipChannelOutput(v **UpdateApn if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -17146,7 +17047,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsVoipSandboxChannelOutput(v **Up if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -17316,7 +17216,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationSettingsOutput(v **Updat if err := awsRestjson1_deserializeDocumentApplicationSettingsResource(&sv.ApplicationSettingsResource, value); err != nil { return err } - default: _, _ = key, value @@ -17486,7 +17385,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBaiduChannelOutput(v **UpdateBaiduC if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -17656,7 +17554,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } - default: _, _ = key, value @@ -17826,7 +17723,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEmailChannelOutput(v **UpdateEmailC if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -17996,7 +17892,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEmailTemplateOutput(v **UpdateEmail if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -18166,7 +18061,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -18336,7 +18230,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEndpointsBatchOutput(v **UpdateEndp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -18506,7 +18399,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGcmChannelOutput(v **UpdateGcmChann if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -18676,7 +18568,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInAppTemplateOutput(v **UpdateInApp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -18849,7 +18740,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJourneyOutput(v **UpdateJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -19019,7 +18909,6 @@ func awsRestjson1_deserializeOpDocumentUpdateJourneyStateOutput(v **UpdateJourne if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } - default: _, _ = key, value @@ -19189,7 +19078,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePushTemplateOutput(v **UpdatePushTe if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -19359,7 +19247,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -19529,7 +19416,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSegmentOutput(v **UpdateSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } - default: _, _ = key, value @@ -19699,7 +19585,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSmsChannelOutput(v **UpdateSmsChann if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -19869,7 +19754,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSmsTemplateOutput(v **UpdateSmsTemp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -20039,7 +19923,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateActiveVersionOutput(v **Upd if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -20209,7 +20092,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceChannelOutput(v **UpdateVoiceC if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } - default: _, _ = key, value @@ -20379,7 +20261,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceTemplateOutput(v **UpdateVoice if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } - default: _, _ = key, value @@ -20549,7 +20430,6 @@ func awsRestjson1_deserializeOpDocumentVerifyOTPMessageOutput(v **VerifyOTPMessa if err := awsRestjson1_deserializeDocumentVerificationResponse(&sv.VerificationResponse, value); err != nil { return err } - default: _, _ = key, value @@ -20873,7 +20753,6 @@ func awsRestjson1_deserializeDocumentActivitiesResponse(v **types.ActivitiesResp if err := awsRestjson1_deserializeDocumentListOfActivityResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20882,7 +20761,6 @@ func awsRestjson1_deserializeDocumentActivitiesResponse(v **types.ActivitiesResp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20918,17 +20796,14 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac if err := awsRestjson1_deserializeDocumentConditionalSplitActivity(&sv.ConditionalSplit, value); err != nil { return err } - case "ContactCenter": if err := awsRestjson1_deserializeDocumentContactCenterActivity(&sv.ContactCenter, value); err != nil { return err } - case "CUSTOM": if err := awsRestjson1_deserializeDocumentCustomMessageActivity(&sv.CUSTOM, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -20937,42 +20812,34 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.Description = ptr.String(jtv) } - case "EMAIL": if err := awsRestjson1_deserializeDocumentEmailMessageActivity(&sv.EMAIL, value); err != nil { return err } - case "Holdout": if err := awsRestjson1_deserializeDocumentHoldoutActivity(&sv.Holdout, value); err != nil { return err } - case "MultiCondition": if err := awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(&sv.MultiCondition, value); err != nil { return err } - case "PUSH": if err := awsRestjson1_deserializeDocumentPushMessageActivity(&sv.PUSH, value); err != nil { return err } - case "RandomSplit": if err := awsRestjson1_deserializeDocumentRandomSplitActivity(&sv.RandomSplit, value); err != nil { return err } - case "SMS": if err := awsRestjson1_deserializeDocumentSMSMessageActivity(&sv.SMS, value); err != nil { return err } - case "Wait": if err := awsRestjson1_deserializeDocumentWaitActivity(&sv.Wait, value); err != nil { return err } - default: _, _ = key, value @@ -21012,7 +20879,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.ApplicationId = ptr.String(jtv) } - case "CampaignId": if value != nil { jtv, ok := value.(string) @@ -21021,7 +20887,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.CampaignId = ptr.String(jtv) } - case "End": if value != nil { jtv, ok := value.(string) @@ -21030,12 +20895,10 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.End = ptr.String(jtv) } - case "ExecutionMetrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.ExecutionMetrics, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21044,7 +20907,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Id = ptr.String(jtv) } - case "Result": if value != nil { jtv, ok := value.(string) @@ -21053,7 +20915,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Result = ptr.String(jtv) } - case "ScheduledStart": if value != nil { jtv, ok := value.(string) @@ -21062,7 +20923,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.ScheduledStart = ptr.String(jtv) } - case "Start": if value != nil { jtv, ok := value.(string) @@ -21071,7 +20931,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Start = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -21080,7 +20939,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.State = ptr.String(jtv) } - case "SuccessfulEndpointCount": if value != nil { jtv, ok := value.(json.Number) @@ -21093,7 +20951,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.SuccessfulEndpointCount = ptr.Int32(int32(i64)) } - case "TimezonesCompletedCount": if value != nil { jtv, ok := value.(json.Number) @@ -21106,7 +20963,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TimezonesCompletedCount = ptr.Int32(int32(i64)) } - case "TimezonesTotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -21119,7 +20975,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TimezonesTotalCount = ptr.Int32(int32(i64)) } - case "TotalEndpointCount": if value != nil { jtv, ok := value.(json.Number) @@ -21132,7 +20987,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TotalEndpointCount = ptr.Int32(int32(i64)) } - case "TreatmentId": if value != nil { jtv, ok := value.(string) @@ -21141,7 +20995,6 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TreatmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -21181,7 +21034,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21190,7 +21042,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.CreationDate = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21199,7 +21050,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21208,7 +21058,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21217,7 +21066,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21226,7 +21074,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21235,7 +21082,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21244,7 +21090,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -21253,7 +21098,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21266,7 +21110,6 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21306,7 +21149,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Action = types.Action(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -21315,7 +21157,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Body = ptr.String(jtv) } - case "ImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -21324,7 +21165,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.ImageIconUrl = ptr.String(jtv) } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -21333,7 +21173,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.ImageUrl = ptr.String(jtv) } - case "RawContent": if value != nil { jtv, ok := value.(string) @@ -21342,7 +21181,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.RawContent = ptr.String(jtv) } - case "SmallImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -21351,7 +21189,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.SmallImageIconUrl = ptr.String(jtv) } - case "Sound": if value != nil { jtv, ok := value.(string) @@ -21360,7 +21197,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Sound = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -21369,7 +21205,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Title = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -21378,7 +21213,6 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21418,7 +21252,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21427,7 +21260,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.CreationDate = ptr.String(jtv) } - case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21436,7 +21268,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.DefaultAuthenticationMethod = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21445,7 +21276,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21454,7 +21284,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.HasCredential = ptr.Bool(jtv) } - case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21463,7 +21292,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.HasTokenKey = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21472,7 +21300,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21481,7 +21308,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21490,7 +21316,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21499,7 +21324,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -21508,7 +21332,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21521,7 +21344,6 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21561,7 +21383,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Action = types.Action(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -21570,7 +21391,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Body = ptr.String(jtv) } - case "MediaUrl": if value != nil { jtv, ok := value.(string) @@ -21579,7 +21399,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.MediaUrl = ptr.String(jtv) } - case "RawContent": if value != nil { jtv, ok := value.(string) @@ -21588,7 +21407,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.RawContent = ptr.String(jtv) } - case "Sound": if value != nil { jtv, ok := value.(string) @@ -21597,7 +21415,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Sound = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -21606,7 +21423,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Title = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -21615,7 +21431,6 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -21655,7 +21470,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21664,7 +21478,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.CreationDate = ptr.String(jtv) } - case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21673,7 +21486,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.DefaultAuthenticationMethod = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21682,7 +21494,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21691,7 +21502,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.HasCredential = ptr.Bool(jtv) } - case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21700,7 +21510,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.HasTokenKey = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21709,7 +21518,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21718,7 +21526,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21727,7 +21534,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21736,7 +21542,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -21745,7 +21550,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21758,7 +21562,6 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21798,7 +21601,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21807,7 +21609,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.CreationDate = ptr.String(jtv) } - case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21816,7 +21617,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.DefaultAuthenticationMethod = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21825,7 +21625,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21834,7 +21633,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.HasCredential = ptr.Bool(jtv) } - case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21843,7 +21641,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.HasTokenKey = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21852,7 +21649,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21861,7 +21657,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21870,7 +21665,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21879,7 +21673,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -21888,7 +21681,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21901,7 +21693,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21941,7 +21732,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21950,7 +21740,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.CreationDate = ptr.String(jtv) } - case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21959,7 +21748,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.DefaultAuthenticationMethod = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21968,7 +21756,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21977,7 +21764,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.HasCredential = ptr.Bool(jtv) } - case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21986,7 +21772,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.HasTokenKey = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -21995,7 +21780,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -22004,7 +21788,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -22013,7 +21796,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22022,7 +21804,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -22031,7 +21812,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -22044,7 +21824,6 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22084,7 +21863,6 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.ApplicationId = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -22097,7 +21875,6 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.EndTime = ptr.Time(t) } - case "KpiName": if value != nil { jtv, ok := value.(string) @@ -22106,12 +21883,10 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.KpiName = ptr.String(jtv) } - case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22120,7 +21895,6 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.NextToken = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -22133,7 +21907,6 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -22173,7 +21946,6 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -22182,7 +21954,6 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.CreationDate = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22191,7 +21962,6 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22200,12 +21970,10 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -22249,12 +22017,10 @@ func awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(v **types. } sv.DailyCap = ptr.Int32(int32(i64)) } - case "TimeframeCap": if err := awsRestjson1_deserializeDocumentJourneyTimeframeCap(&sv.TimeframeCap, value); err != nil { return err } - case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -22267,7 +22033,6 @@ func awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(v **types. } sv.TotalCap = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22307,17 +22072,14 @@ func awsRestjson1_deserializeDocumentApplicationSettingsResource(v **types.Appli } sv.ApplicationId = ptr.String(jtv) } - case "CampaignHook": if err := awsRestjson1_deserializeDocumentCampaignHook(&sv.CampaignHook, value); err != nil { return err } - case "JourneyLimits": if err := awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(&sv.JourneyLimits, value); err != nil { return err } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22326,17 +22088,14 @@ func awsRestjson1_deserializeDocumentApplicationSettingsResource(v **types.Appli } sv.LastModifiedDate = ptr.String(jtv) } - case "Limits": if err := awsRestjson1_deserializeDocumentCampaignLimits(&sv.Limits, value); err != nil { return err } - case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } - default: _, _ = key, value @@ -22372,7 +22131,6 @@ func awsRestjson1_deserializeDocumentApplicationsResponse(v **types.Applications if err := awsRestjson1_deserializeDocumentListOfApplicationResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22381,7 +22139,6 @@ func awsRestjson1_deserializeDocumentApplicationsResponse(v **types.Applications } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -22421,12 +22178,10 @@ func awsRestjson1_deserializeDocumentAttributeDimension(v **types.AttributeDimen } sv.AttributeType = types.AttributeType(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -22466,12 +22221,10 @@ func awsRestjson1_deserializeDocumentAttributesResource(v **types.AttributesReso } sv.ApplicationId = ptr.String(jtv) } - case "Attributes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Attributes, value); err != nil { return err } - case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -22480,7 +22233,6 @@ func awsRestjson1_deserializeDocumentAttributesResource(v **types.AttributesReso } sv.AttributeType = ptr.String(jtv) } - default: _, _ = key, value @@ -22510,15 +22262,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22526,7 +22272,6 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -22535,15 +22280,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22578,7 +22319,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -22587,7 +22327,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.CreationDate = ptr.String(jtv) } - case "Credential": if value != nil { jtv, ok := value.(string) @@ -22596,7 +22335,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Credential = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -22605,7 +22343,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -22614,7 +22351,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22623,7 +22359,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -22632,7 +22367,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -22641,7 +22375,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22650,7 +22383,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -22659,7 +22391,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -22672,7 +22403,6 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -22708,7 +22438,6 @@ func awsRestjson1_deserializeDocumentBaseKpiResult(v **types.BaseKpiResult, valu if err := awsRestjson1_deserializeDocumentListOfResultRow(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -22748,7 +22477,6 @@ func awsRestjson1_deserializeDocumentCampaignCustomMessage(v **types.CampaignCus } sv.Data = ptr.String(jtv) } - default: _, _ = key, value @@ -22788,7 +22516,6 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.ApplicationId = ptr.String(jtv) } - case "CampaignId": if value != nil { jtv, ok := value.(string) @@ -22797,7 +22524,6 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.CampaignId = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -22810,7 +22536,6 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.EndTime = ptr.Time(t) } - case "KpiName": if value != nil { jtv, ok := value.(string) @@ -22819,12 +22544,10 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.KpiName = ptr.String(jtv) } - case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22833,7 +22556,6 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.NextToken = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -22846,7 +22568,6 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -22886,7 +22607,6 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.Body = ptr.String(jtv) } - case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -22895,12 +22615,10 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.FromAddress = ptr.String(jtv) } - case "Headers": if err := awsRestjson1_deserializeDocumentListOfMessageHeader(&sv.Headers, value); err != nil { return err } - case "HtmlBody": if value != nil { jtv, ok := value.(string) @@ -22909,7 +22627,6 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.HtmlBody = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -22918,7 +22635,6 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -22954,7 +22670,6 @@ func awsRestjson1_deserializeDocumentCampaignEventFilter(v **types.CampaignEvent if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } - case "FilterType": if value != nil { jtv, ok := value.(string) @@ -22963,7 +22678,6 @@ func awsRestjson1_deserializeDocumentCampaignEventFilter(v **types.CampaignEvent } sv.FilterType = types.FilterType(jtv) } - default: _, _ = key, value @@ -23003,7 +22717,6 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.LambdaFunctionName = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -23012,7 +22725,6 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.Mode = types.Mode(jtv) } - case "WebUrl": if value != nil { jtv, ok := value.(string) @@ -23021,7 +22733,6 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.WebUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -23061,17 +22772,14 @@ func awsRestjson1_deserializeDocumentCampaignInAppMessage(v **types.CampaignInAp } sv.Body = ptr.String(jtv) } - case "Content": if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } - case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } - case "Layout": if value != nil { jtv, ok := value.(string) @@ -23080,7 +22788,6 @@ func awsRestjson1_deserializeDocumentCampaignInAppMessage(v **types.CampaignInAp } sv.Layout = types.Layout(jtv) } - default: _, _ = key, value @@ -23124,7 +22831,6 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Daily = ptr.Int32(int32(i64)) } - case "MaximumDuration": if value != nil { jtv, ok := value.(json.Number) @@ -23137,7 +22843,6 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.MaximumDuration = ptr.Int32(int32(i64)) } - case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -23150,7 +22855,6 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } - case "Session": if value != nil { jtv, ok := value.(json.Number) @@ -23163,7 +22867,6 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Session = ptr.Int32(int32(i64)) } - case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -23176,7 +22879,6 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23212,7 +22914,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse if err := awsRestjson1_deserializeDocumentListOfTreatmentResource(&sv.AdditionalTreatments, value); err != nil { return err } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -23221,7 +22922,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -23230,7 +22930,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -23239,17 +22938,14 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.CreationDate = ptr.String(jtv) } - case "CustomDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(&sv.CustomDeliveryConfiguration, value); err != nil { return err } - case "DefaultState": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.DefaultState, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -23258,7 +22954,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Description = ptr.String(jtv) } - case "HoldoutPercent": if value != nil { jtv, ok := value.(json.Number) @@ -23271,12 +22966,10 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.HoldoutPercent = ptr.Int32(int32(i64)) } - case "Hook": if err := awsRestjson1_deserializeDocumentCampaignHook(&sv.Hook, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -23285,7 +22978,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Id = ptr.String(jtv) } - case "IsPaused": if value != nil { jtv, ok := value.(bool) @@ -23294,7 +22986,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.IsPaused = ptr.Bool(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -23303,17 +22994,14 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.LastModifiedDate = ptr.String(jtv) } - case "Limits": if err := awsRestjson1_deserializeDocumentCampaignLimits(&sv.Limits, value); err != nil { return err } - case "MessageConfiguration": if err := awsRestjson1_deserializeDocumentMessageConfiguration(&sv.MessageConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23322,7 +23010,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -23335,12 +23022,10 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Priority = ptr.Int32(int32(i64)) } - case "Schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -23349,7 +23034,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.SegmentId = ptr.String(jtv) } - case "SegmentVersion": if value != nil { jtv, ok := value.(json.Number) @@ -23362,22 +23046,18 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.SegmentVersion = ptr.Int32(int32(i64)) } - case "State": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.State, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateConfiguration": if err := awsRestjson1_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "TreatmentDescription": if value != nil { jtv, ok := value.(string) @@ -23386,7 +23066,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.TreatmentDescription = ptr.String(jtv) } - case "TreatmentName": if value != nil { jtv, ok := value.(string) @@ -23395,7 +23074,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.TreatmentName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -23408,7 +23086,6 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23448,7 +23125,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.Body = ptr.String(jtv) } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -23457,7 +23133,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.EntityId = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -23466,7 +23141,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.MessageType = types.MessageType(jtv) } - case "OriginationNumber": if value != nil { jtv, ok := value.(string) @@ -23475,7 +23149,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.OriginationNumber = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -23484,7 +23157,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.SenderId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -23493,7 +23165,6 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -23529,7 +23200,6 @@ func awsRestjson1_deserializeDocumentCampaignsResponse(v **types.CampaignsRespon if err := awsRestjson1_deserializeDocumentListOfCampaignResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23538,7 +23208,6 @@ func awsRestjson1_deserializeDocumentCampaignsResponse(v **types.CampaignsRespon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -23578,7 +23247,6 @@ func awsRestjson1_deserializeDocumentCampaignState(v **types.CampaignState, valu } sv.CampaignStatus = types.CampaignStatus(jtv) } - default: _, _ = key, value @@ -23618,7 +23286,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -23627,7 +23294,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.CreationDate = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23636,7 +23302,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -23645,7 +23310,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -23654,7 +23318,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -23663,7 +23326,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -23672,7 +23334,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -23681,7 +23342,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.LastModifiedDate = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -23694,7 +23354,6 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23730,7 +23389,6 @@ func awsRestjson1_deserializeDocumentChannelsResponse(v **types.ChannelsResponse if err := awsRestjson1_deserializeDocumentMapOfChannelResponse(&sv.Channels, value); err != nil { return err } - default: _, _ = key, value @@ -23766,27 +23424,22 @@ func awsRestjson1_deserializeDocumentClosedDays(v **types.ClosedDays, value inte if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.CUSTOM, value); err != nil { return err } - case "EMAIL": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.EMAIL, value); err != nil { return err } - case "PUSH": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.PUSH, value); err != nil { return err } - case "SMS": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.SMS, value); err != nil { return err } - case "VOICE": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.VOICE, value); err != nil { return err } - default: _, _ = key, value @@ -23826,7 +23479,6 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.EndDateTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23835,7 +23487,6 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.Name = ptr.String(jtv) } - case "StartDateTime": if value != nil { jtv, ok := value.(string) @@ -23844,7 +23495,6 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.StartDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -23880,7 +23530,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err := awsRestjson1_deserializeDocumentListOfSimpleCondition(&sv.Conditions, value); err != nil { return err } - case "Operator": if value != nil { jtv, ok := value.(string) @@ -23889,7 +23538,6 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Operator = types.Operator(jtv) } - default: _, _ = key, value @@ -23925,12 +23573,10 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio if err := awsRestjson1_deserializeDocumentCondition(&sv.Condition, value); err != nil { return err } - case "EvaluationWaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.EvaluationWaitTime, value); err != nil { return err } - case "FalseActivity": if value != nil { jtv, ok := value.(string) @@ -23939,7 +23585,6 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio } sv.FalseActivity = ptr.String(jtv) } - case "TrueActivity": if value != nil { jtv, ok := value.(string) @@ -23948,7 +23593,6 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio } sv.TrueActivity = ptr.String(jtv) } - default: _, _ = key, value @@ -23978,15 +23622,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23994,7 +23632,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -24003,15 +23640,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24046,7 +23679,6 @@ func awsRestjson1_deserializeDocumentContactCenterActivity(v **types.ContactCent } sv.NextActivity = ptr.String(jtv) } - default: _, _ = key, value @@ -24086,7 +23718,6 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -24095,7 +23726,6 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -24104,7 +23734,6 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value @@ -24144,12 +23773,10 @@ func awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(v **types.Custo } sv.DeliveryUri = ptr.String(jtv) } - case "EndpointTypes": if err := awsRestjson1_deserializeDocumentListOf__EndpointTypesElement(&sv.EndpointTypes, value); err != nil { return err } - default: _, _ = key, value @@ -24189,17 +23816,14 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.DeliveryUri = ptr.String(jtv) } - case "EndpointTypes": if err := awsRestjson1_deserializeDocumentListOf__EndpointTypesElement(&sv.EndpointTypes, value); err != nil { return err } - case "MessageConfig": if err := awsRestjson1_deserializeDocumentJourneyCustomMessage(&sv.MessageConfig, value); err != nil { return err } - case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -24208,7 +23832,6 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.NextActivity = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -24217,7 +23840,6 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.TemplateName = ptr.String(jtv) } - case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -24226,7 +23848,6 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -24266,7 +23887,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.BackgroundColor = ptr.String(jtv) } - case "BorderRadius": if value != nil { jtv, ok := value.(json.Number) @@ -24279,7 +23899,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.BorderRadius = ptr.Int32(int32(i64)) } - case "ButtonAction": if value != nil { jtv, ok := value.(string) @@ -24288,7 +23907,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.ButtonAction = types.ButtonAction(jtv) } - case "Link": if value != nil { jtv, ok := value.(string) @@ -24297,7 +23915,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.Link = ptr.String(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -24306,7 +23923,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.Text = ptr.String(jtv) } - case "TextColor": if value != nil { jtv, ok := value.(string) @@ -24315,7 +23931,6 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.TextColor = ptr.String(jtv) } - default: _, _ = key, value @@ -24355,7 +23970,6 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Action = types.Action(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -24364,7 +23978,6 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Body = ptr.String(jtv) } - case "Sound": if value != nil { jtv, ok := value.(string) @@ -24373,7 +23986,6 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Sound = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -24382,7 +23994,6 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Title = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -24391,7 +24002,6 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -24431,7 +24041,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.ApplicationId = ptr.String(jtv) } - case "ConfigurationSet": if value != nil { jtv, ok := value.(string) @@ -24440,7 +24049,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.ConfigurationSet = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -24449,7 +24057,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.CreationDate = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -24458,7 +24065,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Enabled = ptr.Bool(jtv) } - case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -24467,7 +24073,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.FromAddress = ptr.String(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -24476,7 +24081,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -24485,7 +24089,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Id = ptr.String(jtv) } - case "Identity": if value != nil { jtv, ok := value.(string) @@ -24494,7 +24097,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Identity = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -24503,7 +24105,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -24512,7 +24113,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -24521,7 +24121,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.LastModifiedDate = ptr.String(jtv) } - case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -24534,7 +24133,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } - case "OrchestrationSendingRoleArn": if value != nil { jtv, ok := value.(string) @@ -24543,7 +24141,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.OrchestrationSendingRoleArn = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -24552,7 +24149,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Platform = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -24561,7 +24157,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.RoleArn = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -24574,7 +24169,6 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24610,7 +24204,6 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage if err := awsRestjson1_deserializeDocumentJourneyEmailMessage(&sv.MessageConfig, value); err != nil { return err } - case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -24619,7 +24212,6 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.NextActivity = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -24628,7 +24220,6 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.TemplateName = ptr.String(jtv) } - case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -24637,7 +24228,6 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -24677,7 +24267,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -24686,7 +24275,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.CreationDate = ptr.String(jtv) } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -24695,12 +24283,10 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.DefaultSubstitutions = ptr.String(jtv) } - case "Headers": if err := awsRestjson1_deserializeDocumentListOfMessageHeader(&sv.Headers, value); err != nil { return err } - case "HtmlPart": if value != nil { jtv, ok := value.(string) @@ -24709,7 +24295,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.HtmlPart = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -24718,7 +24303,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.LastModifiedDate = ptr.String(jtv) } - case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -24727,7 +24311,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.RecommenderId = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -24736,12 +24319,10 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Subject = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -24750,7 +24331,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -24759,7 +24339,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -24768,7 +24347,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateType = types.TemplateType(jtv) } - case "TextPart": if value != nil { jtv, ok := value.(string) @@ -24777,7 +24355,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TextPart = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -24786,7 +24363,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -24826,7 +24402,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.AppVersion = ptr.String(jtv) } - case "Locale": if value != nil { jtv, ok := value.(string) @@ -24835,7 +24410,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Locale = ptr.String(jtv) } - case "Make": if value != nil { jtv, ok := value.(string) @@ -24844,7 +24418,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Make = ptr.String(jtv) } - case "Model": if value != nil { jtv, ok := value.(string) @@ -24853,7 +24426,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Model = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -24862,7 +24434,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.ModelVersion = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -24871,7 +24442,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Platform = ptr.String(jtv) } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -24880,7 +24450,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.PlatformVersion = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -24889,7 +24458,6 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -24929,7 +24497,6 @@ func awsRestjson1_deserializeDocumentEndpointItemResponse(v **types.EndpointItem } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -24942,7 +24509,6 @@ func awsRestjson1_deserializeDocumentEndpointItemResponse(v **types.EndpointItem } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24982,7 +24548,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.City = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -24991,7 +24556,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.Country = ptr.String(jtv) } - case "Latitude": if value != nil { switch jtv := value.(type) { @@ -25025,7 +24589,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } } - case "Longitude": if value != nil { switch jtv := value.(type) { @@ -25059,7 +24622,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -25068,7 +24630,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.PostalCode = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -25077,7 +24638,6 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -25117,7 +24677,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.Address = ptr.String(jtv) } - case "DeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -25126,7 +24685,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.DeliveryStatus = types.DeliveryStatus(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -25135,7 +24693,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.MessageId = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -25148,7 +24705,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.StatusCode = ptr.Int32(int32(i64)) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -25157,7 +24713,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedToken": if value != nil { jtv, ok := value.(string) @@ -25166,7 +24721,6 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.UpdatedToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25206,7 +24760,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.Address = ptr.String(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -25215,12 +24768,10 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.ApplicationId = ptr.String(jtv) } - case "Attributes": if err := awsRestjson1_deserializeDocumentMapOfListOf__string(&sv.Attributes, value); err != nil { return err } - case "ChannelType": if value != nil { jtv, ok := value.(string) @@ -25229,7 +24780,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.ChannelType = types.ChannelType(jtv) } - case "CohortId": if value != nil { jtv, ok := value.(string) @@ -25238,7 +24788,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.CohortId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -25247,12 +24796,10 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.CreationDate = ptr.String(jtv) } - case "Demographic": if err := awsRestjson1_deserializeDocumentEndpointDemographic(&sv.Demographic, value); err != nil { return err } - case "EffectiveDate": if value != nil { jtv, ok := value.(string) @@ -25261,7 +24808,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.EffectiveDate = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -25270,7 +24816,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.EndpointStatus = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -25279,17 +24824,14 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.Id = ptr.String(jtv) } - case "Location": if err := awsRestjson1_deserializeDocumentEndpointLocation(&sv.Location, value); err != nil { return err } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__double(&sv.Metrics, value); err != nil { return err } - case "OptOut": if value != nil { jtv, ok := value.(string) @@ -25298,7 +24840,6 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.OptOut = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25307,12 +24848,10 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.RequestId = ptr.String(jtv) } - case "User": if err := awsRestjson1_deserializeDocumentEndpointUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -25348,7 +24887,6 @@ func awsRestjson1_deserializeDocumentEndpointsResponse(v **types.EndpointsRespon if err := awsRestjson1_deserializeDocumentListOfEndpointResponse(&sv.Item, value); err != nil { return err } - default: _, _ = key, value @@ -25384,7 +24922,6 @@ func awsRestjson1_deserializeDocumentEndpointUser(v **types.EndpointUser, value if err := awsRestjson1_deserializeDocumentMapOfListOf__string(&sv.UserAttributes, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -25393,7 +24930,6 @@ func awsRestjson1_deserializeDocumentEndpointUser(v **types.EndpointUser, value } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -25429,7 +24965,6 @@ func awsRestjson1_deserializeDocumentEventCondition(v **types.EventCondition, va if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } - case "MessageActivity": if value != nil { jtv, ok := value.(string) @@ -25438,7 +24973,6 @@ func awsRestjson1_deserializeDocumentEventCondition(v **types.EventCondition, va } sv.MessageActivity = ptr.String(jtv) } - default: _, _ = key, value @@ -25474,17 +25008,14 @@ func awsRestjson1_deserializeDocumentEventDimensions(v **types.EventDimensions, if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.Attributes, value); err != nil { return err } - case "EventType": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.EventType, value); err != nil { return err } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOfMetricDimension(&sv.Metrics, value); err != nil { return err } - default: _, _ = key, value @@ -25520,7 +25051,6 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } - case "FilterType": if value != nil { jtv, ok := value.(string) @@ -25529,7 +25059,6 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in } sv.FilterType = types.FilterType(jtv) } - default: _, _ = key, value @@ -25569,7 +25098,6 @@ func awsRestjson1_deserializeDocumentEventItemResponse(v **types.EventItemRespon } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -25582,7 +25110,6 @@ func awsRestjson1_deserializeDocumentEventItemResponse(v **types.EventItemRespon } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25618,7 +25145,6 @@ func awsRestjson1_deserializeDocumentEventsResponse(v **types.EventsResponse, va if err := awsRestjson1_deserializeDocumentMapOfItemResponse(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -25654,7 +25180,6 @@ func awsRestjson1_deserializeDocumentEventStartCondition(v **types.EventStartCon if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } - case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -25663,7 +25188,6 @@ func awsRestjson1_deserializeDocumentEventStartCondition(v **types.EventStartCon } sv.SegmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -25703,7 +25227,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.ApplicationId = ptr.String(jtv) } - case "DestinationStreamArn": if value != nil { jtv, ok := value.(string) @@ -25712,7 +25235,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.DestinationStreamArn = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -25721,7 +25243,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.ExternalId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -25730,7 +25251,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.LastModifiedDate = ptr.String(jtv) } - case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -25739,7 +25259,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.LastUpdatedBy = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -25748,7 +25267,6 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -25788,7 +25306,6 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.RoleArn = ptr.String(jtv) } - case "S3UrlPrefix": if value != nil { jtv, ok := value.(string) @@ -25797,7 +25314,6 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.S3UrlPrefix = ptr.String(jtv) } - case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -25806,7 +25322,6 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.SegmentId = ptr.String(jtv) } - case "SegmentVersion": if value != nil { jtv, ok := value.(json.Number) @@ -25819,7 +25334,6 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.SegmentVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25859,7 +25373,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.ApplicationId = ptr.String(jtv) } - case "CompletedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25872,7 +25385,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CompletedPieces = ptr.Int32(int32(i64)) } - case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -25881,7 +25393,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CompletionDate = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -25890,12 +25401,10 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CreationDate = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentExportJobResource(&sv.Definition, value); err != nil { return err } - case "FailedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25908,12 +25417,10 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.FailedPieces = ptr.Int32(int32(i64)) } - case "Failures": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Failures, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -25922,7 +25429,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.Id = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -25931,7 +25437,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.JobStatus = types.JobStatus(jtv) } - case "TotalFailures": if value != nil { jtv, ok := value.(json.Number) @@ -25944,7 +25449,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalFailures = ptr.Int32(int32(i64)) } - case "TotalPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25957,7 +25461,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalPieces = ptr.Int32(int32(i64)) } - case "TotalProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -25970,7 +25473,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalProcessed = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -25979,7 +25481,6 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -26015,7 +25516,6 @@ func awsRestjson1_deserializeDocumentExportJobsResponse(v **types.ExportJobsResp if err := awsRestjson1_deserializeDocumentListOfExportJobResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26024,7 +25524,6 @@ func awsRestjson1_deserializeDocumentExportJobsResponse(v **types.ExportJobsResp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26054,15 +25553,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26070,7 +25563,6 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -26079,15 +25571,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26122,7 +25610,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -26131,7 +25618,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.CreationDate = ptr.String(jtv) } - case "Credential": if value != nil { jtv, ok := value.(string) @@ -26140,7 +25626,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Credential = ptr.String(jtv) } - case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -26149,7 +25634,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.DefaultAuthenticationMethod = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -26158,7 +25642,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -26167,7 +25650,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.HasCredential = ptr.Bool(jtv) } - case "HasFcmServiceCredentials": if value != nil { jtv, ok := value.(bool) @@ -26176,7 +25658,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.HasFcmServiceCredentials = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -26185,7 +25666,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -26194,7 +25674,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -26203,7 +25682,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -26212,7 +25690,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -26221,7 +25698,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -26234,7 +25710,6 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26299,7 +25774,6 @@ func awsRestjson1_deserializeDocumentGPSCoordinates(v **types.GPSCoordinates, va } } - case "Longitude": if value != nil { switch jtv := value.(type) { @@ -26333,7 +25807,6 @@ func awsRestjson1_deserializeDocumentGPSCoordinates(v **types.GPSCoordinates, va } } - default: _, _ = key, value @@ -26369,7 +25842,6 @@ func awsRestjson1_deserializeDocumentGPSPointDimension(v **types.GPSPointDimensi if err := awsRestjson1_deserializeDocumentGPSCoordinates(&sv.Coordinates, value); err != nil { return err } - case "RangeInKilometers": if value != nil { switch jtv := value.(type) { @@ -26403,7 +25875,6 @@ func awsRestjson1_deserializeDocumentGPSPointDimension(v **types.GPSPointDimensi } } - default: _, _ = key, value @@ -26443,7 +25914,6 @@ func awsRestjson1_deserializeDocumentHoldoutActivity(v **types.HoldoutActivity, } sv.NextActivity = ptr.String(jtv) } - case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -26456,7 +25926,6 @@ func awsRestjson1_deserializeDocumentHoldoutActivity(v **types.HoldoutActivity, } sv.Percentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26496,7 +25965,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.DefineSegment = ptr.Bool(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -26505,7 +25973,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.ExternalId = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -26514,7 +25981,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.Format = types.Format(jtv) } - case "RegisterEndpoints": if value != nil { jtv, ok := value.(bool) @@ -26523,7 +25989,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.RegisterEndpoints = ptr.Bool(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -26532,7 +25997,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.RoleArn = ptr.String(jtv) } - case "S3Url": if value != nil { jtv, ok := value.(string) @@ -26541,7 +26005,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.S3Url = ptr.String(jtv) } - case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -26550,7 +26013,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.SegmentId = ptr.String(jtv) } - case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -26559,7 +26021,6 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.SegmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -26599,7 +26060,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.ApplicationId = ptr.String(jtv) } - case "CompletedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26612,7 +26072,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CompletedPieces = ptr.Int32(int32(i64)) } - case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -26621,7 +26080,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CompletionDate = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -26630,12 +26088,10 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CreationDate = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentImportJobResource(&sv.Definition, value); err != nil { return err } - case "FailedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26648,12 +26104,10 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.FailedPieces = ptr.Int32(int32(i64)) } - case "Failures": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Failures, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -26662,7 +26116,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.Id = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -26671,7 +26124,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.JobStatus = types.JobStatus(jtv) } - case "TotalFailures": if value != nil { jtv, ok := value.(json.Number) @@ -26684,7 +26136,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalFailures = ptr.Int32(int32(i64)) } - case "TotalPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26697,7 +26148,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalPieces = ptr.Int32(int32(i64)) } - case "TotalProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -26710,7 +26160,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalProcessed = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -26719,7 +26168,6 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -26755,7 +26203,6 @@ func awsRestjson1_deserializeDocumentImportJobsResponse(v **types.ImportJobsResp if err := awsRestjson1_deserializeDocumentListOfImportJobResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26764,7 +26211,6 @@ func awsRestjson1_deserializeDocumentImportJobsResponse(v **types.ImportJobsResp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -26804,17 +26250,14 @@ func awsRestjson1_deserializeDocumentInAppCampaignSchedule(v **types.InAppCampai } sv.EndDate = ptr.String(jtv) } - case "EventFilter": if err := awsRestjson1_deserializeDocumentCampaignEventFilter(&sv.EventFilter, value); err != nil { return err } - case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } - default: _, _ = key, value @@ -26850,12 +26293,10 @@ func awsRestjson1_deserializeDocumentInAppMessage(v **types.InAppMessage, value if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } - case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } - case "Layout": if value != nil { jtv, ok := value.(string) @@ -26864,7 +26305,6 @@ func awsRestjson1_deserializeDocumentInAppMessage(v **types.InAppMessage, value } sv.Layout = types.Layout(jtv) } - default: _, _ = key, value @@ -26904,7 +26344,6 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.Alignment = types.Alignment(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -26913,7 +26352,6 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.Body = ptr.String(jtv) } - case "TextColor": if value != nil { jtv, ok := value.(string) @@ -26922,7 +26360,6 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.TextColor = ptr.String(jtv) } - default: _, _ = key, value @@ -26958,22 +26395,18 @@ func awsRestjson1_deserializeDocumentInAppMessageButton(v **types.InAppMessageBu if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.Android, value); err != nil { return err } - case "DefaultConfig": if err := awsRestjson1_deserializeDocumentDefaultButtonConfiguration(&sv.DefaultConfig, value); err != nil { return err } - case "IOS": if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.IOS, value); err != nil { return err } - case "Web": if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.Web, value); err != nil { return err } - default: _, _ = key, value @@ -27013,7 +26446,6 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.CampaignId = ptr.String(jtv) } - case "DailyCap": if value != nil { jtv, ok := value.(json.Number) @@ -27026,12 +26458,10 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.DailyCap = ptr.Int32(int32(i64)) } - case "InAppMessage": if err := awsRestjson1_deserializeDocumentInAppMessage(&sv.InAppMessage, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -27044,12 +26474,10 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.Priority = ptr.Int32(int32(i64)) } - case "Schedule": if err := awsRestjson1_deserializeDocumentInAppCampaignSchedule(&sv.Schedule, value); err != nil { return err } - case "SessionCap": if value != nil { jtv, ok := value.(json.Number) @@ -27062,7 +26490,6 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.SessionCap = ptr.Int32(int32(i64)) } - case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -27075,7 +26502,6 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.TotalCap = ptr.Int32(int32(i64)) } - case "TreatmentId": if value != nil { jtv, ok := value.(string) @@ -27084,7 +26510,6 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.TreatmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -27124,17 +26549,14 @@ func awsRestjson1_deserializeDocumentInAppMessageContent(v **types.InAppMessageC } sv.BackgroundColor = ptr.String(jtv) } - case "BodyConfig": if err := awsRestjson1_deserializeDocumentInAppMessageBodyConfig(&sv.BodyConfig, value); err != nil { return err } - case "HeaderConfig": if err := awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(&sv.HeaderConfig, value); err != nil { return err } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -27143,17 +26565,14 @@ func awsRestjson1_deserializeDocumentInAppMessageContent(v **types.InAppMessageC } sv.ImageUrl = ptr.String(jtv) } - case "PrimaryBtn": if err := awsRestjson1_deserializeDocumentInAppMessageButton(&sv.PrimaryBtn, value); err != nil { return err } - case "SecondaryBtn": if err := awsRestjson1_deserializeDocumentInAppMessageButton(&sv.SecondaryBtn, value); err != nil { return err } - default: _, _ = key, value @@ -27193,7 +26612,6 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.Alignment = types.Alignment(jtv) } - case "Header": if value != nil { jtv, ok := value.(string) @@ -27202,7 +26620,6 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.Header = ptr.String(jtv) } - case "TextColor": if value != nil { jtv, ok := value.(string) @@ -27211,7 +26628,6 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.TextColor = ptr.String(jtv) } - default: _, _ = key, value @@ -27247,7 +26663,6 @@ func awsRestjson1_deserializeDocumentInAppMessagesResponse(v **types.InAppMessag if err := awsRestjson1_deserializeDocumentListOfInAppMessageCampaign(&sv.InAppMessageCampaigns, value); err != nil { return err } - default: _, _ = key, value @@ -27287,12 +26702,10 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Arn = ptr.String(jtv) } - case "Content": if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -27301,12 +26714,10 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.CreationDate = ptr.String(jtv) } - case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -27315,7 +26726,6 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.LastModifiedDate = ptr.String(jtv) } - case "Layout": if value != nil { jtv, ok := value.(string) @@ -27324,12 +26734,10 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Layout = types.Layout(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -27338,7 +26746,6 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -27347,7 +26754,6 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -27356,7 +26762,6 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateType = types.TemplateType(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -27365,7 +26770,6 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -27395,15 +26799,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27411,7 +26809,6 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -27420,15 +26817,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27459,12 +26852,10 @@ func awsRestjson1_deserializeDocumentItemResponse(v **types.ItemResponse, value if err := awsRestjson1_deserializeDocumentEndpointItemResponse(&sv.EndpointItemResponse, value); err != nil { return err } - case "EventsItemResponse": if err := awsRestjson1_deserializeDocumentMapOfEventItemResponse(&sv.EventsItemResponse, value); err != nil { return err } - default: _, _ = key, value @@ -27504,7 +26895,6 @@ func awsRestjson1_deserializeDocumentJourneyChannelSettings(v **types.JourneyCha } sv.ConnectCampaignArn = ptr.String(jtv) } - case "ConnectCampaignExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -27513,7 +26903,6 @@ func awsRestjson1_deserializeDocumentJourneyChannelSettings(v **types.JourneyCha } sv.ConnectCampaignExecutionRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -27553,7 +26942,6 @@ func awsRestjson1_deserializeDocumentJourneyCustomMessage(v **types.JourneyCusto } sv.Data = ptr.String(jtv) } - default: _, _ = key, value @@ -27593,7 +26981,6 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.ApplicationId = ptr.String(jtv) } - case "EndTime": if value != nil { jtv, ok := value.(string) @@ -27606,7 +26993,6 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.EndTime = ptr.Time(t) } - case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27615,7 +27001,6 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.JourneyId = ptr.String(jtv) } - case "KpiName": if value != nil { jtv, ok := value.(string) @@ -27624,12 +27009,10 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.KpiName = ptr.String(jtv) } - case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27638,7 +27021,6 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.NextToken = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -27651,7 +27033,6 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -27691,7 +27072,6 @@ func awsRestjson1_deserializeDocumentJourneyEmailMessage(v **types.JourneyEmailM } sv.FromAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -27731,7 +27111,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.ActivityType = ptr.String(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -27740,7 +27119,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.ApplicationId = ptr.String(jtv) } - case "JourneyActivityId": if value != nil { jtv, ok := value.(string) @@ -27749,7 +27127,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.JourneyActivityId = ptr.String(jtv) } - case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27758,7 +27135,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.JourneyId = ptr.String(jtv) } - case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27767,12 +27143,10 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.LastEvaluatedTime = ptr.String(jtv) } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } - default: _, _ = key, value @@ -27812,7 +27186,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.ApplicationId = ptr.String(jtv) } - case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27821,7 +27194,6 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.JourneyId = ptr.String(jtv) } - case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27830,12 +27202,10 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.LastEvaluatedTime = ptr.String(jtv) } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } - default: _, _ = key, value @@ -27879,7 +27249,6 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.DailyCap = ptr.Int32(int32(i64)) } - case "EndpointReentryCap": if value != nil { jtv, ok := value.(json.Number) @@ -27892,7 +27261,6 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.EndpointReentryCap = ptr.Int32(int32(i64)) } - case "EndpointReentryInterval": if value != nil { jtv, ok := value.(string) @@ -27901,7 +27269,6 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.EndpointReentryInterval = ptr.String(jtv) } - case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -27914,12 +27281,10 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } - case "TimeframeCap": if err := awsRestjson1_deserializeDocumentJourneyTimeframeCap(&sv.TimeframeCap, value); err != nil { return err } - case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -27932,7 +27297,6 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.TotalCap = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27972,7 +27336,6 @@ func awsRestjson1_deserializeDocumentJourneyPushMessage(v **types.JourneyPushMes } sv.TimeToLive = ptr.String(jtv) } - default: _, _ = key, value @@ -28008,7 +27371,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, if err := awsRestjson1_deserializeDocumentMapOfActivity(&sv.Activities, value); err != nil { return err } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -28017,12 +27379,10 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.ApplicationId = ptr.String(jtv) } - case "ClosedDays": if err := awsRestjson1_deserializeDocumentClosedDays(&sv.ClosedDays, value); err != nil { return err } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -28031,7 +27391,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.CreationDate = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -28040,12 +27399,10 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.Id = ptr.String(jtv) } - case "JourneyChannelSettings": if err := awsRestjson1_deserializeDocumentJourneyChannelSettings(&sv.JourneyChannelSettings, value); err != nil { return err } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -28054,12 +27411,10 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.LastModifiedDate = ptr.String(jtv) } - case "Limits": if err := awsRestjson1_deserializeDocumentJourneyLimits(&sv.Limits, value); err != nil { return err } - case "LocalTime": if value != nil { jtv, ok := value.(bool) @@ -28068,7 +27423,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.LocalTime = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -28077,17 +27431,14 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.Name = ptr.String(jtv) } - case "OpenHours": if err := awsRestjson1_deserializeDocumentOpenHours(&sv.OpenHours, value); err != nil { return err } - case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } - case "RefreshFrequency": if value != nil { jtv, ok := value.(string) @@ -28096,7 +27447,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.RefreshFrequency = ptr.String(jtv) } - case "RefreshOnSegmentUpdate": if value != nil { jtv, ok := value.(bool) @@ -28105,12 +27455,10 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.RefreshOnSegmentUpdate = ptr.Bool(jtv) } - case "Schedule": if err := awsRestjson1_deserializeDocumentJourneySchedule(&sv.Schedule, value); err != nil { return err } - case "SendingSchedule": if value != nil { jtv, ok := value.(bool) @@ -28119,7 +27467,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.SendingSchedule = ptr.Bool(jtv) } - case "StartActivity": if value != nil { jtv, ok := value.(string) @@ -28128,12 +27475,10 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.StartActivity = ptr.String(jtv) } - case "StartCondition": if err := awsRestjson1_deserializeDocumentStartCondition(&sv.StartCondition, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -28142,17 +27487,14 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.State = types.State(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TimezoneEstimationMethods": if err := awsRestjson1_deserializeDocumentListOf__TimezoneEstimationMethodsElement(&sv.TimezoneEstimationMethods, value); err != nil { return err } - case "WaitForQuietTime": if value != nil { jtv, ok := value.(bool) @@ -28161,7 +27503,6 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.WaitForQuietTime = ptr.Bool(jtv) } - default: _, _ = key, value @@ -28201,7 +27542,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.ActivityType = ptr.String(jtv) } - case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -28210,7 +27550,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.ApplicationId = ptr.String(jtv) } - case "JourneyActivityId": if value != nil { jtv, ok := value.(string) @@ -28219,7 +27558,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.JourneyActivityId = ptr.String(jtv) } - case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -28228,7 +27566,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.JourneyId = ptr.String(jtv) } - case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -28237,12 +27574,10 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.LastEvaluatedTime = ptr.String(jtv) } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -28251,7 +27586,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -28291,7 +27625,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.ApplicationId = ptr.String(jtv) } - case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -28300,7 +27633,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.JourneyId = ptr.String(jtv) } - case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -28309,12 +27641,10 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.LastEvaluatedTime = ptr.String(jtv) } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -28323,7 +27653,6 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value @@ -28363,7 +27692,6 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.CreationTime = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -28372,7 +27700,6 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.LastUpdateTime = ptr.String(jtv) } - case "RunId": if value != nil { jtv, ok := value.(string) @@ -28381,7 +27708,6 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.RunId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -28390,7 +27716,6 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.Status = types.JourneyRunStatus(jtv) } - default: _, _ = key, value @@ -28426,7 +27751,6 @@ func awsRestjson1_deserializeDocumentJourneyRunsResponse(v **types.JourneyRunsRe if err := awsRestjson1_deserializeDocumentListOfJourneyRunResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28435,7 +27759,6 @@ func awsRestjson1_deserializeDocumentJourneyRunsResponse(v **types.JourneyRunsRe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -28479,7 +27802,6 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.EndTime = ptr.Time(t) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -28492,7 +27814,6 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.StartTime = ptr.Time(t) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -28501,7 +27822,6 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -28541,7 +27861,6 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.EntityId = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -28550,7 +27869,6 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.MessageType = types.MessageType(jtv) } - case "OriginationNumber": if value != nil { jtv, ok := value.(string) @@ -28559,7 +27877,6 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.OriginationNumber = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -28568,7 +27885,6 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.SenderId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -28577,7 +27893,6 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -28613,7 +27928,6 @@ func awsRestjson1_deserializeDocumentJourneysResponse(v **types.JourneysResponse if err := awsRestjson1_deserializeDocumentListOfJourneyResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28622,7 +27936,6 @@ func awsRestjson1_deserializeDocumentJourneysResponse(v **types.JourneysResponse } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -28666,7 +27979,6 @@ func awsRestjson1_deserializeDocumentJourneyTimeframeCap(v **types.JourneyTimefr } sv.Cap = ptr.Int32(int32(i64)) } - case "Days": if value != nil { jtv, ok := value.(json.Number) @@ -28679,7 +27991,6 @@ func awsRestjson1_deserializeDocumentJourneyTimeframeCap(v **types.JourneyTimefr } sv.Days = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29707,7 +29018,6 @@ func awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(v **t if err := awsRestjson1_deserializeDocumentListOfRecommenderConfigurationResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29716,7 +29026,6 @@ func awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(v **t } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30275,7 +29584,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Action = types.Action(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -30284,7 +29592,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } - case "ImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -30293,7 +29600,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageIconUrl = ptr.String(jtv) } - case "ImageSmallIconUrl": if value != nil { jtv, ok := value.(string) @@ -30302,7 +29608,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageSmallIconUrl = ptr.String(jtv) } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -30311,7 +29616,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageUrl = ptr.String(jtv) } - case "JsonBody": if value != nil { jtv, ok := value.(string) @@ -30320,7 +29624,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.JsonBody = ptr.String(jtv) } - case "MediaUrl": if value != nil { jtv, ok := value.(string) @@ -30329,7 +29632,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MediaUrl = ptr.String(jtv) } - case "RawContent": if value != nil { jtv, ok := value.(string) @@ -30338,7 +29640,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.RawContent = ptr.String(jtv) } - case "SilentPush": if value != nil { jtv, ok := value.(bool) @@ -30347,7 +29648,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.SilentPush = ptr.Bool(jtv) } - case "TimeToLive": if value != nil { jtv, ok := value.(json.Number) @@ -30360,7 +29660,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.TimeToLive = ptr.Int32(int32(i64)) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -30369,7 +29668,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Title = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -30378,7 +29676,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -30418,7 +29715,6 @@ func awsRestjson1_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30427,7 +29723,6 @@ func awsRestjson1_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value @@ -30463,47 +29758,38 @@ func awsRestjson1_deserializeDocumentMessageConfiguration(v **types.MessageConfi if err := awsRestjson1_deserializeDocumentMessage(&sv.ADMMessage, value); err != nil { return err } - case "APNSMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.APNSMessage, value); err != nil { return err } - case "BaiduMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.BaiduMessage, value); err != nil { return err } - case "CustomMessage": if err := awsRestjson1_deserializeDocumentCampaignCustomMessage(&sv.CustomMessage, value); err != nil { return err } - case "DefaultMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.DefaultMessage, value); err != nil { return err } - case "EmailMessage": if err := awsRestjson1_deserializeDocumentCampaignEmailMessage(&sv.EmailMessage, value); err != nil { return err } - case "GCMMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.GCMMessage, value); err != nil { return err } - case "InAppMessage": if err := awsRestjson1_deserializeDocumentCampaignInAppMessage(&sv.InAppMessage, value); err != nil { return err } - case "SMSMessage": if err := awsRestjson1_deserializeDocumentCampaignSmsMessage(&sv.SMSMessage, value); err != nil { return err } - default: _, _ = key, value @@ -30543,7 +29829,6 @@ func awsRestjson1_deserializeDocumentMessageHeader(v **types.MessageHeader, valu } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -30552,7 +29837,6 @@ func awsRestjson1_deserializeDocumentMessageHeader(v **types.MessageHeader, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -30592,12 +29876,10 @@ func awsRestjson1_deserializeDocumentMessageResponse(v **types.MessageResponse, } sv.ApplicationId = ptr.String(jtv) } - case "EndpointResult": if err := awsRestjson1_deserializeDocumentMapOfEndpointMessageResult(&sv.EndpointResult, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30606,12 +29888,10 @@ func awsRestjson1_deserializeDocumentMessageResponse(v **types.MessageResponse, } sv.RequestId = ptr.String(jtv) } - case "Result": if err := awsRestjson1_deserializeDocumentMapOfMessageResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -30651,7 +29931,6 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.DeliveryStatus = types.DeliveryStatus(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -30660,7 +29939,6 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.MessageId = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -30673,7 +29951,6 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.StatusCode = ptr.Int32(int32(i64)) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -30682,7 +29959,6 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.StatusMessage = ptr.String(jtv) } - case "UpdatedToken": if value != nil { jtv, ok := value.(string) @@ -30691,7 +29967,6 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.UpdatedToken = ptr.String(jtv) } - default: _, _ = key, value @@ -30721,15 +29996,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30737,7 +30006,6 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30746,15 +30014,11 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30789,7 +30053,6 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.ComparisonOperator = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -30823,7 +30086,6 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } } - default: _, _ = key, value @@ -30859,7 +30121,6 @@ func awsRestjson1_deserializeDocumentMultiConditionalBranch(v **types.MultiCondi if err := awsRestjson1_deserializeDocumentSimpleCondition(&sv.Condition, value); err != nil { return err } - case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -30868,7 +30129,6 @@ func awsRestjson1_deserializeDocumentMultiConditionalBranch(v **types.MultiCondi } sv.NextActivity = ptr.String(jtv) } - default: _, _ = key, value @@ -30904,7 +30164,6 @@ func awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(v **types.Mul if err := awsRestjson1_deserializeDocumentListOfMultiConditionalBranch(&sv.Branches, value); err != nil { return err } - case "DefaultActivity": if value != nil { jtv, ok := value.(string) @@ -30913,12 +30172,10 @@ func awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(v **types.Mul } sv.DefaultActivity = ptr.String(jtv) } - case "EvaluationWaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.EvaluationWaitTime, value); err != nil { return err } - default: _, _ = key, value @@ -30948,15 +30205,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30964,7 +30215,6 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30973,15 +30223,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31016,7 +30262,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Carrier = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -31025,7 +30270,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.City = ptr.String(jtv) } - case "CleansedPhoneNumberE164": if value != nil { jtv, ok := value.(string) @@ -31034,7 +30278,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CleansedPhoneNumberE164 = ptr.String(jtv) } - case "CleansedPhoneNumberNational": if value != nil { jtv, ok := value.(string) @@ -31043,7 +30286,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CleansedPhoneNumberNational = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -31052,7 +30294,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Country = ptr.String(jtv) } - case "CountryCodeIso2": if value != nil { jtv, ok := value.(string) @@ -31061,7 +30302,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CountryCodeIso2 = ptr.String(jtv) } - case "CountryCodeNumeric": if value != nil { jtv, ok := value.(string) @@ -31070,7 +30310,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CountryCodeNumeric = ptr.String(jtv) } - case "County": if value != nil { jtv, ok := value.(string) @@ -31079,7 +30318,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.County = ptr.String(jtv) } - case "OriginalCountryCodeIso2": if value != nil { jtv, ok := value.(string) @@ -31088,7 +30326,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.OriginalCountryCodeIso2 = ptr.String(jtv) } - case "OriginalPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -31097,7 +30334,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.OriginalPhoneNumber = ptr.String(jtv) } - case "PhoneType": if value != nil { jtv, ok := value.(string) @@ -31106,7 +30342,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.PhoneType = ptr.String(jtv) } - case "PhoneTypeCode": if value != nil { jtv, ok := value.(json.Number) @@ -31119,7 +30354,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.PhoneTypeCode = ptr.Int32(int32(i64)) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -31128,7 +30362,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Timezone = ptr.String(jtv) } - case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -31137,7 +30370,6 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.ZipCode = ptr.String(jtv) } - default: _, _ = key, value @@ -31173,27 +30405,22 @@ func awsRestjson1_deserializeDocumentOpenHours(v **types.OpenHours, value interf if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.CUSTOM, value); err != nil { return err } - case "EMAIL": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.EMAIL, value); err != nil { return err } - case "PUSH": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.PUSH, value); err != nil { return err } - case "SMS": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.SMS, value); err != nil { return err } - case "VOICE": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.VOICE, value); err != nil { return err } - default: _, _ = key, value @@ -31233,7 +30460,6 @@ func awsRestjson1_deserializeDocumentOpenHoursRule(v **types.OpenHoursRule, valu } sv.EndTime = ptr.String(jtv) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -31242,7 +30468,6 @@ func awsRestjson1_deserializeDocumentOpenHoursRule(v **types.OpenHoursRule, valu } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -31282,7 +30507,6 @@ func awsRestjson1_deserializeDocumentOverrideButtonConfiguration(v **types.Overr } sv.ButtonAction = types.ButtonAction(jtv) } - case "Link": if value != nil { jtv, ok := value.(string) @@ -31291,7 +30515,6 @@ func awsRestjson1_deserializeDocumentOverrideButtonConfiguration(v **types.Overr } sv.Link = ptr.String(jtv) } - default: _, _ = key, value @@ -31321,15 +30544,9 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31337,7 +30554,6 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -31346,15 +30562,11 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31385,7 +30597,6 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc if err := awsRestjson1_deserializeDocumentJourneyPushMessage(&sv.MessageConfig, value); err != nil { return err } - case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -31394,7 +30605,6 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.NextActivity = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -31403,7 +30613,6 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.TemplateName = ptr.String(jtv) } - case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -31412,7 +30621,6 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -31448,12 +30656,10 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.ADM, value); err != nil { return err } - case "APNS": if err := awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(&sv.APNS, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -31462,12 +30668,10 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.Arn = ptr.String(jtv) } - case "Baidu": if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.Baidu, value); err != nil { return err } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -31476,12 +30680,10 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.CreationDate = ptr.String(jtv) } - case "Default": if err := awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(&sv.Default, value); err != nil { return err } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -31490,12 +30692,10 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.DefaultSubstitutions = ptr.String(jtv) } - case "GCM": if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.GCM, value); err != nil { return err } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -31504,7 +30704,6 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.LastModifiedDate = ptr.String(jtv) } - case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -31513,12 +30712,10 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.RecommenderId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -31527,7 +30724,6 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -31536,7 +30732,6 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -31545,7 +30740,6 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateType = types.TemplateType(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -31554,7 +30748,6 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -31594,7 +30787,6 @@ func awsRestjson1_deserializeDocumentQuietTime(v **types.QuietTime, value interf } sv.End = ptr.String(jtv) } - case "Start": if value != nil { jtv, ok := value.(string) @@ -31603,7 +30795,6 @@ func awsRestjson1_deserializeDocumentQuietTime(v **types.QuietTime, value interf } sv.Start = ptr.String(jtv) } - default: _, _ = key, value @@ -31639,7 +30830,6 @@ func awsRestjson1_deserializeDocumentRandomSplitActivity(v **types.RandomSplitAc if err := awsRestjson1_deserializeDocumentListOfRandomSplitEntry(&sv.Branches, value); err != nil { return err } - default: _, _ = key, value @@ -31679,7 +30869,6 @@ func awsRestjson1_deserializeDocumentRandomSplitEntry(v **types.RandomSplitEntry } sv.NextActivity = ptr.String(jtv) } - case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -31692,7 +30881,6 @@ func awsRestjson1_deserializeDocumentRandomSplitEntry(v **types.RandomSplitEntry } sv.Percentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31732,7 +30920,6 @@ func awsRestjson1_deserializeDocumentRecencyDimension(v **types.RecencyDimension } sv.Duration = types.Duration(jtv) } - case "RecencyType": if value != nil { jtv, ok := value.(string) @@ -31741,7 +30928,6 @@ func awsRestjson1_deserializeDocumentRecencyDimension(v **types.RecencyDimension } sv.RecencyType = types.RecencyType(jtv) } - default: _, _ = key, value @@ -31777,7 +30963,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Attributes, value); err != nil { return err } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -31786,7 +30971,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.CreationDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -31795,7 +30979,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -31804,7 +30987,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Id = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -31813,7 +30995,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.LastModifiedDate = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31822,7 +31003,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Name = ptr.String(jtv) } - case "RecommendationProviderIdType": if value != nil { jtv, ok := value.(string) @@ -31831,7 +31011,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderIdType = ptr.String(jtv) } - case "RecommendationProviderRoleArn": if value != nil { jtv, ok := value.(string) @@ -31840,7 +31019,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderRoleArn = ptr.String(jtv) } - case "RecommendationProviderUri": if value != nil { jtv, ok := value.(string) @@ -31849,7 +31027,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderUri = ptr.String(jtv) } - case "RecommendationsDisplayName": if value != nil { jtv, ok := value.(string) @@ -31858,7 +31035,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationsDisplayName = ptr.String(jtv) } - case "RecommendationsPerMessage": if value != nil { jtv, ok := value.(json.Number) @@ -31871,7 +31047,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationsPerMessage = ptr.Int32(int32(i64)) } - case "RecommendationTransformerUri": if value != nil { jtv, ok := value.(string) @@ -31880,7 +31055,6 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationTransformerUri = ptr.String(jtv) } - default: _, _ = key, value @@ -31916,12 +31090,10 @@ func awsRestjson1_deserializeDocumentResultRow(v **types.ResultRow, value interf if err := awsRestjson1_deserializeDocumentListOfResultRowValue(&sv.GroupedBys, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentListOfResultRowValue(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -31961,7 +31133,6 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Key = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -31970,7 +31141,6 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -31979,7 +31149,6 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -32019,12 +31188,10 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.EndTime = ptr.String(jtv) } - case "EventFilter": if err := awsRestjson1_deserializeDocumentCampaignEventFilter(&sv.EventFilter, value); err != nil { return err } - case "Frequency": if value != nil { jtv, ok := value.(string) @@ -32033,7 +31200,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Frequency = types.Frequency(jtv) } - case "IsLocalTime": if value != nil { jtv, ok := value.(bool) @@ -32042,12 +31208,10 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.IsLocalTime = ptr.Bool(jtv) } - case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -32056,7 +31220,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.StartTime = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -32065,7 +31228,6 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -32101,7 +31263,6 @@ func awsRestjson1_deserializeDocumentSegmentBehaviors(v **types.SegmentBehaviors if err := awsRestjson1_deserializeDocumentRecencyDimension(&sv.Recency, value); err != nil { return err } - default: _, _ = key, value @@ -32141,7 +31302,6 @@ func awsRestjson1_deserializeDocumentSegmentCondition(v **types.SegmentCondition } sv.SegmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -32177,32 +31337,26 @@ func awsRestjson1_deserializeDocumentSegmentDemographics(v **types.SegmentDemogr if err := awsRestjson1_deserializeDocumentSetDimension(&sv.AppVersion, value); err != nil { return err } - case "Channel": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Channel, value); err != nil { return err } - case "DeviceType": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.DeviceType, value); err != nil { return err } - case "Make": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Make, value); err != nil { return err } - case "Model": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Model, value); err != nil { return err } - case "Platform": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Platform, value); err != nil { return err } - default: _, _ = key, value @@ -32238,32 +31392,26 @@ func awsRestjson1_deserializeDocumentSegmentDimensions(v **types.SegmentDimensio if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.Attributes, value); err != nil { return err } - case "Behavior": if err := awsRestjson1_deserializeDocumentSegmentBehaviors(&sv.Behavior, value); err != nil { return err } - case "Demographic": if err := awsRestjson1_deserializeDocumentSegmentDemographics(&sv.Demographic, value); err != nil { return err } - case "Location": if err := awsRestjson1_deserializeDocumentSegmentLocation(&sv.Location, value); err != nil { return err } - case "Metrics": if err := awsRestjson1_deserializeDocumentMapOfMetricDimension(&sv.Metrics, value); err != nil { return err } - case "UserAttributes": if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.UserAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -32299,12 +31447,10 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value if err := awsRestjson1_deserializeDocumentListOfSegmentDimensions(&sv.Dimensions, value); err != nil { return err } - case "SourceSegments": if err := awsRestjson1_deserializeDocumentListOfSegmentReference(&sv.SourceSegments, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -32313,7 +31459,6 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value } sv.SourceType = types.SourceType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -32322,7 +31467,6 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -32358,7 +31502,6 @@ func awsRestjson1_deserializeDocumentSegmentGroupList(v **types.SegmentGroupList if err := awsRestjson1_deserializeDocumentListOfSegmentGroup(&sv.Groups, value); err != nil { return err } - case "Include": if value != nil { jtv, ok := value.(string) @@ -32367,7 +31510,6 @@ func awsRestjson1_deserializeDocumentSegmentGroupList(v **types.SegmentGroupList } sv.Include = types.Include(jtv) } - default: _, _ = key, value @@ -32403,7 +31545,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo if err := awsRestjson1_deserializeDocumentMapOf__integer(&sv.ChannelCounts, value); err != nil { return err } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -32412,7 +31553,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.ExternalId = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -32421,7 +31561,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.Format = types.Format(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -32430,7 +31569,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.RoleArn = ptr.String(jtv) } - case "S3Url": if value != nil { jtv, ok := value.(string) @@ -32439,7 +31577,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.S3Url = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -32452,7 +31589,6 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32488,12 +31624,10 @@ func awsRestjson1_deserializeDocumentSegmentLocation(v **types.SegmentLocation, if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Country, value); err != nil { return err } - case "GPSPoint": if err := awsRestjson1_deserializeDocumentGPSPointDimension(&sv.GPSPoint, value); err != nil { return err } - default: _, _ = key, value @@ -32533,7 +31667,6 @@ func awsRestjson1_deserializeDocumentSegmentReference(v **types.SegmentReference } sv.Id = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -32546,7 +31679,6 @@ func awsRestjson1_deserializeDocumentSegmentReference(v **types.SegmentReference } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32586,7 +31718,6 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -32595,7 +31726,6 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -32604,12 +31734,10 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.CreationDate = ptr.String(jtv) } - case "Dimensions": if err := awsRestjson1_deserializeDocumentSegmentDimensions(&sv.Dimensions, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -32618,12 +31746,10 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Id = ptr.String(jtv) } - case "ImportDefinition": if err := awsRestjson1_deserializeDocumentSegmentImportResource(&sv.ImportDefinition, value); err != nil { return err } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32632,7 +31758,6 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.LastModifiedDate = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32641,12 +31766,10 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Name = ptr.String(jtv) } - case "SegmentGroups": if err := awsRestjson1_deserializeDocumentSegmentGroupList(&sv.SegmentGroups, value); err != nil { return err } - case "SegmentType": if value != nil { jtv, ok := value.(string) @@ -32655,12 +31778,10 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.SegmentType = types.SegmentType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -32673,7 +31794,6 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32709,7 +31829,6 @@ func awsRestjson1_deserializeDocumentSegmentsResponse(v **types.SegmentsResponse if err := awsRestjson1_deserializeDocumentListOfSegmentResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -32718,7 +31837,6 @@ func awsRestjson1_deserializeDocumentSegmentsResponse(v **types.SegmentsResponse } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -32758,7 +31876,6 @@ func awsRestjson1_deserializeDocumentSendUsersMessageResponse(v **types.SendUser } sv.ApplicationId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32767,12 +31884,10 @@ func awsRestjson1_deserializeDocumentSendUsersMessageResponse(v **types.SendUser } sv.RequestId = ptr.String(jtv) } - case "Result": if err := awsRestjson1_deserializeDocumentMapOfMapOfEndpointMessageResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -32812,12 +31927,10 @@ func awsRestjson1_deserializeDocumentSetDimension(v **types.SetDimension, value } sv.DimensionType = types.DimensionType(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -32853,17 +31966,14 @@ func awsRestjson1_deserializeDocumentSimpleCondition(v **types.SimpleCondition, if err := awsRestjson1_deserializeDocumentEventCondition(&sv.EventCondition, value); err != nil { return err } - case "SegmentCondition": if err := awsRestjson1_deserializeDocumentSegmentCondition(&sv.SegmentCondition, value); err != nil { return err } - case "segmentDimensions": if err := awsRestjson1_deserializeDocumentSegmentDimensions(&sv.SegmentDimensions, value); err != nil { return err } - default: _, _ = key, value @@ -32903,7 +32013,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -32912,7 +32021,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.CreationDate = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -32921,7 +32029,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -32930,7 +32037,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -32939,7 +32045,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -32948,7 +32053,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -32957,7 +32061,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32966,7 +32069,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -32975,7 +32077,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Platform = ptr.String(jtv) } - case "PromotionalMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -32988,7 +32089,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.PromotionalMessagesPerSecond = ptr.Int32(int32(i64)) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -32997,7 +32097,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.SenderId = ptr.String(jtv) } - case "ShortCode": if value != nil { jtv, ok := value.(string) @@ -33006,7 +32105,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.ShortCode = ptr.String(jtv) } - case "TransactionalMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -33019,7 +32117,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.TransactionalMessagesPerSecond = ptr.Int32(int32(i64)) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -33032,7 +32129,6 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33068,7 +32164,6 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi if err := awsRestjson1_deserializeDocumentJourneySMSMessage(&sv.MessageConfig, value); err != nil { return err } - case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -33077,7 +32172,6 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.NextActivity = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -33086,7 +32180,6 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.TemplateName = ptr.String(jtv) } - case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -33095,7 +32188,6 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.TemplateVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -33135,7 +32227,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Arn = ptr.String(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -33144,7 +32235,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Body = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -33153,7 +32243,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.CreationDate = ptr.String(jtv) } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -33162,7 +32251,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.DefaultSubstitutions = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -33171,7 +32259,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.LastModifiedDate = ptr.String(jtv) } - case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -33180,12 +32267,10 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.RecommenderId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -33194,7 +32279,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -33203,7 +32287,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -33212,7 +32295,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateType = types.TemplateType(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -33221,7 +32303,6 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -33261,17 +32342,14 @@ func awsRestjson1_deserializeDocumentStartCondition(v **types.StartCondition, va } sv.Description = ptr.String(jtv) } - case "EventStartCondition": if err := awsRestjson1_deserializeDocumentEventStartCondition(&sv.EventStartCondition, value); err != nil { return err } - case "SegmentStartCondition": if err := awsRestjson1_deserializeDocumentSegmentCondition(&sv.SegmentStartCondition, value); err != nil { return err } - default: _, _ = key, value @@ -33307,7 +32385,6 @@ func awsRestjson1_deserializeDocumentTagsModel(v **types.TagsModel, value interf if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -33347,7 +32424,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -33356,7 +32432,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -33392,27 +32467,22 @@ func awsRestjson1_deserializeDocumentTemplateConfiguration(v **types.TemplateCon if err := awsRestjson1_deserializeDocumentTemplate(&sv.EmailTemplate, value); err != nil { return err } - case "InAppTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.InAppTemplate, value); err != nil { return err } - case "PushTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.PushTemplate, value); err != nil { return err } - case "SMSTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.SMSTemplate, value); err != nil { return err } - case "VoiceTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.VoiceTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -33452,7 +32522,6 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -33461,7 +32530,6 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -33470,7 +32538,6 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value @@ -33510,7 +32577,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -33519,7 +32585,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.CreationDate = ptr.String(jtv) } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -33528,7 +32593,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.DefaultSubstitutions = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -33537,12 +32601,10 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.LastModifiedDate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -33551,7 +32613,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -33560,7 +32621,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -33569,7 +32629,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateType = types.TemplateType(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -33578,7 +32637,6 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -33614,7 +32672,6 @@ func awsRestjson1_deserializeDocumentTemplatesResponse(v **types.TemplatesRespon if err := awsRestjson1_deserializeDocumentListOfTemplateResponse(&sv.Item, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -33623,7 +32680,6 @@ func awsRestjson1_deserializeDocumentTemplatesResponse(v **types.TemplatesRespon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -33663,7 +32719,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.CreationDate = ptr.String(jtv) } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -33672,7 +32727,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.DefaultSubstitutions = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -33681,7 +32735,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.LastModifiedDate = ptr.String(jtv) } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -33690,7 +32743,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -33699,7 +32751,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -33708,7 +32759,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateType = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -33717,7 +32767,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -33753,7 +32802,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template if err := awsRestjson1_deserializeDocumentListOfTemplateVersionResponse(&sv.Item, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -33762,7 +32810,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.Message = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -33771,7 +32818,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.NextToken = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -33780,7 +32826,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value @@ -33810,15 +32855,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33826,7 +32865,6 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - case "RequestID": if value != nil { jtv, ok := value.(string) @@ -33835,15 +32873,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RequestID = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33874,7 +32908,6 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour if err := awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(&sv.CustomDeliveryConfiguration, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -33883,17 +32916,14 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.Id = ptr.String(jtv) } - case "MessageConfiguration": if err := awsRestjson1_deserializeDocumentMessageConfiguration(&sv.MessageConfiguration, value); err != nil { return err } - case "Schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "SizePercent": if value != nil { jtv, ok := value.(json.Number) @@ -33906,17 +32936,14 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.SizePercent = ptr.Int32(int32(i64)) } - case "State": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.State, value); err != nil { return err } - case "TemplateConfiguration": if err := awsRestjson1_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "TreatmentDescription": if value != nil { jtv, ok := value.(string) @@ -33925,7 +32952,6 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.TreatmentDescription = ptr.String(jtv) } - case "TreatmentName": if value != nil { jtv, ok := value.(string) @@ -33934,7 +32960,6 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.TreatmentName = ptr.String(jtv) } - default: _, _ = key, value @@ -33974,7 +32999,6 @@ func awsRestjson1_deserializeDocumentVerificationResponse(v **types.Verification } sv.Valid = ptr.Bool(jtv) } - default: _, _ = key, value @@ -34014,7 +33038,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.ApplicationId = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -34023,7 +33046,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.CreationDate = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -34032,7 +33054,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Enabled = ptr.Bool(jtv) } - case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -34041,7 +33062,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.HasCredential = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -34050,7 +33070,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Id = ptr.String(jtv) } - case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -34059,7 +33078,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.IsArchived = ptr.Bool(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -34068,7 +33086,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -34077,7 +33094,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.LastModifiedDate = ptr.String(jtv) } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -34086,7 +33102,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Platform = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -34099,7 +33114,6 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34139,7 +33153,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Arn = ptr.String(jtv) } - case "Body": if value != nil { jtv, ok := value.(string) @@ -34148,7 +33161,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Body = ptr.String(jtv) } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -34157,7 +33169,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.CreationDate = ptr.String(jtv) } - case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -34166,7 +33177,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.DefaultSubstitutions = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -34175,7 +33185,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.LanguageCode = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -34184,12 +33193,10 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.LastModifiedDate = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } - case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -34198,7 +33205,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateDescription = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -34207,7 +33213,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateName = ptr.String(jtv) } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -34216,7 +33221,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateType = types.TemplateType(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -34225,7 +33229,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Version = ptr.String(jtv) } - case "VoiceId": if value != nil { jtv, ok := value.(string) @@ -34234,7 +33237,6 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.VoiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -34274,12 +33276,10 @@ func awsRestjson1_deserializeDocumentWaitActivity(v **types.WaitActivity, value } sv.NextActivity = ptr.String(jtv) } - case "WaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.WaitTime, value); err != nil { return err } - default: _, _ = key, value @@ -34319,7 +33319,6 @@ func awsRestjson1_deserializeDocumentWaitTime(v **types.WaitTime, value interfac } sv.WaitFor = ptr.String(jtv) } - case "WaitUntil": if value != nil { jtv, ok := value.(string) @@ -34328,7 +33327,6 @@ func awsRestjson1_deserializeDocumentWaitTime(v **types.WaitTime, value interfac } sv.WaitUntil = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/pinpointemail/deserializers.go b/service/pinpointemail/deserializers.go index 5ea6ba1a4dc..001eeae5b58 100644 --- a/service/pinpointemail/deserializers.go +++ b/service/pinpointemail/deserializers.go @@ -503,7 +503,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } - case "ReportId": if value != nil { jtv, ok := value.(string) @@ -512,7 +511,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -673,7 +671,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -682,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.IdentityType = types.IdentityType(jtv) } - case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -691,7 +687,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.VerifiedForSendingStatus = jtv } - default: _, _ = key, value @@ -1235,7 +1230,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.DedicatedIpAutoWarmupEnabled = jtv } - case "EnforcementStatus": if value != nil { jtv, ok := value.(string) @@ -1244,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.EnforcementStatus = ptr.String(jtv) } - case "ProductionAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -1253,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ProductionAccessEnabled = jtv } - case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -1262,12 +1254,10 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.SendingEnabled = jtv } - case "SendQuota": if err := awsRestjson1_deserializeDocumentSendQuota(&sv.SendQuota, value); err != nil { return err } - default: _, _ = key, value @@ -1425,7 +1415,6 @@ func awsRestjson1_deserializeOpDocumentGetBlacklistReportsOutput(v **GetBlacklis if err := awsRestjson1_deserializeDocumentBlacklistReport(&sv.BlacklistReport, value); err != nil { return err } - default: _, _ = key, value @@ -1587,32 +1576,26 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetOutput(v **GetConfigur } sv.ConfigurationSetName = ptr.String(jtv) } - case "DeliveryOptions": if err := awsRestjson1_deserializeDocumentDeliveryOptions(&sv.DeliveryOptions, value); err != nil { return err } - case "ReputationOptions": if err := awsRestjson1_deserializeDocumentReputationOptions(&sv.ReputationOptions, value); err != nil { return err } - case "SendingOptions": if err := awsRestjson1_deserializeDocumentSendingOptions(&sv.SendingOptions, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrackingOptions": if err := awsRestjson1_deserializeDocumentTrackingOptions(&sv.TrackingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -1770,7 +1753,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } - default: _, _ = key, value @@ -1928,7 +1910,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpOutput(v **GetDedicatedIpOu if err := awsRestjson1_deserializeDocumentDedicatedIp(&sv.DedicatedIp, value); err != nil { return err } - default: _, _ = key, value @@ -2086,7 +2067,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps if err := awsRestjson1_deserializeDocumentDedicatedIpList(&sv.DedicatedIps, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2095,7 +2075,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2257,12 +2236,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.AccountStatus = types.DeliverabilityDashboardAccountStatus(jtv) } - case "ActiveSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.ActiveSubscribedDomains, value); err != nil { return err } - case "DashboardEnabled": if value != nil { jtv, ok := value.(bool) @@ -2271,12 +2248,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.DashboardEnabled = jtv } - case "PendingExpirationSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.PendingExpirationSubscribedDomains, value); err != nil { return err } - case "SubscriptionExpiryDate": if value != nil { switch jtv := value.(type) { @@ -2292,7 +2267,6 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } } - default: _, _ = key, value @@ -2450,12 +2424,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get if err := awsRestjson1_deserializeDocumentDeliverabilityTestReport(&sv.DeliverabilityTestReport, value); err != nil { return err } - case "IspPlacements": if err := awsRestjson1_deserializeDocumentIspPlacements(&sv.IspPlacements, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -2464,17 +2436,14 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get } sv.Message = ptr.String(jtv) } - case "OverallPlacement": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.OverallPlacement, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2632,7 +2601,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainDeliverabilityCampaignOutput(v * if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(&sv.DomainDeliverabilityCampaign, value); err != nil { return err } - default: _, _ = key, value @@ -2790,12 +2758,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainStatisticsReportOutput(v **GetDo if err := awsRestjson1_deserializeDocumentDailyVolumes(&sv.DailyVolumes, value); err != nil { return err } - case "OverallVolume": if err := awsRestjson1_deserializeDocumentOverallVolume(&sv.OverallVolume, value); err != nil { return err } - default: _, _ = key, value @@ -2953,7 +2919,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } - case "FeedbackForwardingStatus": if value != nil { jtv, ok := value.(bool) @@ -2962,7 +2927,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.FeedbackForwardingStatus = jtv } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -2971,17 +2935,14 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.IdentityType = types.IdentityType(jtv) } - case "MailFromAttributes": if err := awsRestjson1_deserializeDocumentMailFromAttributes(&sv.MailFromAttributes, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -2990,7 +2951,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerifiedForSendingStatus = jtv } - default: _, _ = key, value @@ -3145,7 +3105,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSetNameList(&sv.ConfigurationSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3113,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3309,7 +3267,6 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica if err := awsRestjson1_deserializeDocumentListOfDedicatedIpPools(&sv.DedicatedIpPools, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3318,7 +3275,6 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3476,7 +3432,6 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L if err := awsRestjson1_deserializeDocumentDeliverabilityTestReports(&sv.DeliverabilityTestReports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3485,7 +3440,6 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3643,7 +3597,6 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaignList(&sv.DomainDeliverabilityCampaigns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3652,7 +3605,6 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3807,7 +3759,6 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId if err := awsRestjson1_deserializeDocumentIdentityInfoList(&sv.EmailIdentities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3816,7 +3767,6 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3974,7 +3924,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5279,7 +5228,6 @@ func awsRestjson1_deserializeOpDocumentSendEmailOutput(v **SendEmailOutput, valu } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -5957,15 +5905,9 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5973,15 +5915,11 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6006,15 +5944,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6022,15 +5954,11 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6055,15 +5983,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6071,15 +5993,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6148,7 +6066,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.Description = ptr.String(jtv) } - case "ListingTime": if value != nil { switch jtv := value.(type) { @@ -6164,7 +6081,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } } - case "RblName": if value != nil { jtv, ok := value.(string) @@ -6173,7 +6089,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.RblName = ptr.String(jtv) } - default: _, _ = key, value @@ -6243,7 +6158,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDestination(v **types.CloudWatchD if err := awsRestjson1_deserializeDocumentCloudWatchDimensionConfigurations(&sv.DimensionConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -6283,7 +6197,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DefaultDimensionValue = ptr.String(jtv) } - case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -6292,7 +6205,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionName = ptr.String(jtv) } - case "DimensionValueSource": if value != nil { jtv, ok := value.(string) @@ -6301,7 +6213,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionValueSource = types.DimensionValueSource(jtv) } - default: _, _ = key, value @@ -6365,15 +6276,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6381,15 +6286,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6456,7 +6357,6 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -6472,12 +6372,10 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in } } - case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -6551,7 +6449,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.Ip = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -6560,7 +6457,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.PoolName = ptr.String(jtv) } - case "WarmupPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -6573,7 +6469,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupPercentage = ptr.Int32(int32(i64)) } - case "WarmupStatus": if value != nil { jtv, ok := value.(string) @@ -6582,7 +6477,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupStatus = types.WarmupStatus(jtv) } - default: _, _ = key, value @@ -6663,7 +6557,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } } - case "DeliverabilityTestStatus": if value != nil { jtv, ok := value.(string) @@ -6672,7 +6565,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } - case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6573,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.FromEmailAddress = ptr.String(jtv) } - case "ReportId": if value != nil { jtv, ok := value.(string) @@ -6690,7 +6581,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportId = ptr.String(jtv) } - case "ReportName": if value != nil { jtv, ok := value.(string) @@ -6699,7 +6589,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportName = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -6708,7 +6597,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -6782,7 +6670,6 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.SendingPoolName = ptr.String(jtv) } - case "TlsPolicy": if value != nil { jtv, ok := value.(string) @@ -6791,7 +6678,6 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.TlsPolicy = types.TlsPolicy(jtv) } - default: _, _ = key, value @@ -6831,7 +6717,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6840,12 +6725,10 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.Status = types.DkimStatus(jtv) } - case "Tokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.Tokens, value); err != nil { return err } - default: _, _ = key, value @@ -6921,7 +6804,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.CampaignId = ptr.String(jtv) } - case "DeleteRate": if value != nil { switch jtv := value.(type) { @@ -6955,12 +6837,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "Esps": if err := awsRestjson1_deserializeDocumentEsps(&sv.Esps, value); err != nil { return err } - case "FirstSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -6976,7 +6856,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -6985,7 +6864,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.FromAddress = ptr.String(jtv) } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -6994,7 +6872,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ImageUrl = ptr.String(jtv) } - case "InboxCount": if value != nil { jtv, ok := value.(json.Number) @@ -7007,7 +6884,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.InboxCount = ptr.Int64(i64) } - case "LastSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -7023,7 +6899,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "ProjectedVolume": if value != nil { jtv, ok := value.(json.Number) @@ -7036,7 +6911,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ProjectedVolume = ptr.Int64(i64) } - case "ReadDeleteRate": if value != nil { switch jtv := value.(type) { @@ -7070,7 +6944,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "ReadRate": if value != nil { switch jtv := value.(type) { @@ -7104,12 +6977,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "SendingIps": if err := awsRestjson1_deserializeDocumentIpList(&sv.SendingIps, value); err != nil { return err } - case "SpamCount": if value != nil { jtv, ok := value.(json.Number) @@ -7122,7 +6993,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.SpamCount = ptr.Int64(i64) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -7131,7 +7001,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -7205,12 +7074,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } sv.Domain = ptr.String(jtv) } - case "InboxPlacementTrackingOption": if err := awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(&sv.InboxPlacementTrackingOption, value); err != nil { return err } - case "SubscriptionStartDate": if value != nil { switch jtv := value.(type) { @@ -7226,7 +7093,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } } - default: _, _ = key, value @@ -7325,7 +7191,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } - case "InboxRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -7338,7 +7203,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.InboxRawCount = ptr.Int64(i64) } - case "IspName": if value != nil { jtv, ok := value.(string) @@ -7347,7 +7211,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.IspName = ptr.String(jtv) } - case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -7381,7 +7244,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } - case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -7394,7 +7256,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.SpamRawCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -7500,7 +7361,6 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchDestination(&sv.CloudWatchDestination, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -7509,17 +7369,14 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = jtv } - case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } - case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7528,17 +7385,14 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } - case "PinpointDestination": if err := awsRestjson1_deserializeDocumentPinpointDestination(&sv.PinpointDestination, value); err != nil { return err } - case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } - default: _, _ = key, value @@ -7648,7 +7502,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityName = ptr.String(jtv) } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -7657,7 +7510,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityType = types.IdentityType(jtv) } - case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -7666,7 +7518,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.SendingEnabled = jtv } - default: _, _ = key, value @@ -7740,12 +7591,10 @@ func awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(v **types.Inbo } sv.Global = jtv } - case "TrackedIsps": if err := awsRestjson1_deserializeDocumentIspNameList(&sv.TrackedIsps, value); err != nil { return err } - default: _, _ = key, value @@ -7857,12 +7706,10 @@ func awsRestjson1_deserializeDocumentIspPlacement(v **types.IspPlacement, value } sv.IspName = ptr.String(jtv) } - case "PlacementStatistics": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.PlacementStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -7936,7 +7783,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -7945,7 +7791,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7975,15 +7820,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7991,15 +7830,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8070,7 +7905,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.BehaviorOnMxFailure = types.BehaviorOnMxFailure(jtv) } - case "MailFromDomain": if value != nil { jtv, ok := value.(string) @@ -8079,7 +7913,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomain = ptr.String(jtv) } - case "MailFromDomainStatus": if value != nil { jtv, ok := value.(string) @@ -8088,7 +7921,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomainStatus = types.MailFromDomainStatus(jtv) } - default: _, _ = key, value @@ -8118,15 +7950,9 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8134,15 +7960,11 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8167,15 +7989,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8183,15 +7999,11 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8216,15 +8028,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8232,15 +8038,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8271,7 +8073,6 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } - case "ReadRatePercent": if value != nil { switch jtv := value.(type) { @@ -8305,12 +8106,10 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu } } - case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -8350,7 +8149,6 @@ func awsRestjson1_deserializeDocumentPinpointDestination(v **types.PinpointDesti } sv.ApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8415,7 +8213,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "InboxPercentage": if value != nil { switch jtv := value.(type) { @@ -8449,7 +8246,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "MissingPercentage": if value != nil { switch jtv := value.(type) { @@ -8483,7 +8279,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -8517,7 +8312,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "SpfPercentage": if value != nil { switch jtv := value.(type) { @@ -8551,7 +8345,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - default: _, _ = key, value @@ -8598,7 +8391,6 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } } - case "ReputationMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -8607,7 +8399,6 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } sv.ReputationMetricsEnabled = jtv } - default: _, _ = key, value @@ -8647,7 +8438,6 @@ func awsRestjson1_deserializeDocumentSendingOptions(v **types.SendingOptions, va } sv.SendingEnabled = jtv } - default: _, _ = key, value @@ -8677,15 +8467,9 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8693,15 +8477,11 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8761,7 +8541,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - case "MaxSendRate": if value != nil { switch jtv := value.(type) { @@ -8795,7 +8574,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - case "SentLast24Hours": if value != nil { switch jtv := value.(type) { @@ -8829,7 +8607,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - default: _, _ = key, value @@ -8869,7 +8646,6 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8909,7 +8685,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8918,7 +8693,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8982,15 +8756,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8998,15 +8766,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9041,7 +8805,6 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.CustomRedirectDomain = ptr.String(jtv) } - default: _, _ = key, value @@ -9085,7 +8848,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.InboxRawCount = ptr.Int64(i64) } - case "ProjectedInbox": if value != nil { jtv, ok := value.(json.Number) @@ -9098,7 +8860,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedInbox = ptr.Int64(i64) } - case "ProjectedSpam": if value != nil { jtv, ok := value.(json.Number) @@ -9111,7 +8872,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedSpam = ptr.Int64(i64) } - case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -9124,7 +8884,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.SpamRawCount = ptr.Int64(i64) } - default: _, _ = key, value diff --git a/service/pinpointsmsvoice/deserializers.go b/service/pinpointsmsvoice/deserializers.go index 60531436798..fbab2578cc7 100644 --- a/service/pinpointsmsvoice/deserializers.go +++ b/service/pinpointsmsvoice/deserializers.go @@ -577,7 +577,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } - default: _, _ = key, value @@ -735,7 +734,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSets(&sv.ConfigurationSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -744,7 +742,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -906,7 +903,6 @@ func awsRestjson1_deserializeOpDocumentSendVoiceMessageOutput(v **SendVoiceMessa } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -1249,15 +1245,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1265,15 +1255,11 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1298,15 +1284,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1314,15 +1294,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1357,7 +1333,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.IamRoleArn = ptr.String(jtv) } - case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -1366,7 +1341,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1438,7 +1412,6 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogsDestination, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -1447,17 +1420,14 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = ptr.Bool(jtv) } - case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } - case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1466,12 +1436,10 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } - case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } - default: _, _ = key, value @@ -1571,15 +1539,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1587,15 +1549,11 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1630,7 +1588,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -1639,7 +1596,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1669,15 +1625,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1685,15 +1635,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1718,15 +1664,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1734,15 +1674,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1777,7 +1713,6 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1807,15 +1742,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1823,15 +1752,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/pinpointsmsvoicev2/deserializers.go b/service/pinpointsmsvoicev2/deserializers.go index f277a56b2df..8c399436047 100644 --- a/service/pinpointsmsvoicev2/deserializers.go +++ b/service/pinpointsmsvoicev2/deserializers.go @@ -10863,15 +10863,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10879,7 +10873,6 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -10888,15 +10881,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10931,7 +10920,6 @@ func awsAwsjson10_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Name = types.AccountAttributeName(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10940,7 +10928,6 @@ func awsAwsjson10_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11018,7 +11005,6 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Max = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11027,7 +11013,6 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Name = types.AccountLimitName(jtv) } - case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -11040,7 +11025,6 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Used = i64 } - default: _, _ = key, value @@ -11114,7 +11098,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.IamRoleArn = ptr.String(jtv) } - case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -11123,7 +11106,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11163,7 +11145,6 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -11172,7 +11153,6 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ConfigurationSetName = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11188,7 +11168,6 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } } - case "DefaultMessageType": if value != nil { jtv, ok := value.(string) @@ -11197,7 +11176,6 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.DefaultMessageType = types.MessageType(jtv) } - case "DefaultSenderId": if value != nil { jtv, ok := value.(string) @@ -11206,12 +11184,10 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.DefaultSenderId = ptr.String(jtv) } - case "EventDestinations": if err := awsAwsjson10_deserializeDocumentEventDestinationList(&sv.EventDestinations, value); err != nil { return err } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -11220,7 +11196,6 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -11284,15 +11259,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11300,7 +11269,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -11309,7 +11277,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11318,7 +11285,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11327,15 +11293,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11366,7 +11328,6 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination if err := awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogsDestination, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -11375,7 +11336,6 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = ptr.Bool(jtv) } - case "EventDestinationName": if value != nil { jtv, ok := value.(string) @@ -11384,22 +11344,18 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination } sv.EventDestinationName = ptr.String(jtv) } - case "KinesisFirehoseDestination": if err := awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } - case "MatchingEventTypes": if err := awsAwsjson10_deserializeDocumentEventTypeList(&sv.MatchingEventTypes, value); err != nil { return err } - case "SnsDestination": if err := awsAwsjson10_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } - default: _, _ = key, value @@ -11499,15 +11455,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11515,7 +11465,6 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11524,15 +11473,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11567,7 +11512,6 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.Keyword = ptr.String(jtv) } - case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -11576,7 +11520,6 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.KeywordAction = types.KeywordAction(jtv) } - case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -11585,7 +11528,6 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.KeywordMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -11659,7 +11601,6 @@ func awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -11668,7 +11609,6 @@ func awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11780,7 +11720,6 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } sv.EndUserOptedOut = jtv } - case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -11789,7 +11728,6 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } sv.OptedOutNumber = ptr.String(jtv) } - case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -11805,7 +11743,6 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } } - default: _, _ = key, value @@ -11886,7 +11823,6 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -11895,7 +11831,6 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -11904,7 +11839,6 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } sv.OptOutListName = ptr.String(jtv) } - default: _, _ = key, value @@ -11978,12 +11912,10 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.IsoCountryCode = ptr.String(jtv) } - case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -11992,7 +11924,6 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -12001,7 +11932,6 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.OriginationIdentityArn = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -12010,7 +11940,6 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.PhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -12091,7 +12020,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12100,7 +12028,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -12109,7 +12036,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -12118,7 +12044,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.MessageType = types.MessageType(jtv) } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -12127,12 +12052,10 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } - case "NumberType": if value != nil { jtv, ok := value.(string) @@ -12141,7 +12064,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.NumberType = types.NumberType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -12150,7 +12072,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.OptOutListName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -12159,7 +12080,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -12168,7 +12088,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -12177,7 +12096,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumberId = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -12186,7 +12104,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PoolId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -12195,7 +12112,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.RegistrationId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -12204,7 +12120,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.SelfManagedOptOutsEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12213,7 +12128,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.Status = types.NumberStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -12222,7 +12136,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -12231,7 +12144,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12240,7 +12152,6 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -12321,7 +12232,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12330,7 +12240,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.DeletionProtectionEnabled = jtv } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -12339,7 +12248,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.MessageType = types.MessageType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -12348,7 +12256,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.OptOutListName = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -12357,7 +12264,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -12366,7 +12272,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.PoolId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -12375,7 +12280,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.SelfManagedOptOutsEnabled = jtv } - case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -12384,7 +12288,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.SharedRoutesEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12393,7 +12296,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.Status = types.PoolStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -12402,7 +12304,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -12411,7 +12312,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12420,7 +12320,6 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -12529,7 +12428,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSetInformati } sv.ProtectStatus = types.ProtectStatus(jtv) } - default: _, _ = key, value @@ -12569,7 +12467,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.AccountDefault = jtv } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12585,7 +12482,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12594,7 +12490,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.DeletionProtectionEnabled = jtv } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -12603,7 +12498,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -12612,7 +12506,6 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -12686,7 +12579,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.IsoCountryCode = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -12695,7 +12587,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.PhoneNumber = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12704,7 +12595,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12713,7 +12603,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12722,7 +12611,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -12796,7 +12684,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.AttachmentStatus = types.AttachmentStatus(jtv) } - case "AttachmentUploadErrorReason": if value != nil { jtv, ok := value.(string) @@ -12805,7 +12692,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.AttachmentUploadErrorReason = types.AttachmentUploadErrorReason(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12821,7 +12707,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } } - case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -12830,7 +12715,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.RegistrationAttachmentArn = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -12839,7 +12723,6 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.RegistrationAttachmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -12913,7 +12796,6 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.DocumentationLink = ptr.String(jtv) } - case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -12922,7 +12804,6 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.DocumentationTitle = ptr.String(jtv) } - case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -12931,7 +12812,6 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.LongDescription = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12940,7 +12820,6 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.Reason = ptr.String(jtv) } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -12949,7 +12828,6 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.ShortDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -13019,7 +12897,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis if err := awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(&sv.DisplayHints, value); err != nil { return err } - case "FieldPath": if value != nil { jtv, ok := value.(string) @@ -13028,7 +12905,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldPath = ptr.String(jtv) } - case "FieldRequirement": if value != nil { jtv, ok := value.(string) @@ -13037,7 +12913,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldRequirement = types.FieldRequirement(jtv) } - case "FieldType": if value != nil { jtv, ok := value.(string) @@ -13046,7 +12921,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldType = types.FieldType(jtv) } - case "SectionPath": if value != nil { jtv, ok := value.(string) @@ -13055,17 +12929,14 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.SectionPath = ptr.String(jtv) } - case "SelectValidation": if err := awsAwsjson10_deserializeDocumentSelectValidation(&sv.SelectValidation, value); err != nil { return err } - case "TextValidation": if err := awsAwsjson10_deserializeDocumentTextValidation(&sv.TextValidation, value); err != nil { return err } - default: _, _ = key, value @@ -13139,7 +13010,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.DocumentationLink = ptr.String(jtv) } - case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13148,7 +13018,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.DocumentationTitle = ptr.String(jtv) } - case "ExampleTextValue": if value != nil { jtv, ok := value.(string) @@ -13157,7 +13026,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.ExampleTextValue = ptr.String(jtv) } - case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13166,12 +13034,10 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.LongDescription = ptr.String(jtv) } - case "SelectOptionDescriptions": if err := awsAwsjson10_deserializeDocumentSelectOptionDescriptionsList(&sv.SelectOptionDescriptions, value); err != nil { return err } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13180,7 +13046,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.ShortDescription = ptr.String(jtv) } - case "TextValidationDescription": if value != nil { jtv, ok := value.(string) @@ -13189,7 +13054,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.TextValidationDescription = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -13198,7 +13062,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -13238,7 +13101,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.DeniedReason = ptr.String(jtv) } - case "FieldPath": if value != nil { jtv, ok := value.(string) @@ -13247,7 +13109,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.FieldPath = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -13256,12 +13117,10 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.RegistrationAttachmentId = ptr.String(jtv) } - case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } - case "TextValue": if value != nil { jtv, ok := value.(string) @@ -13270,7 +13129,6 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.TextValue = ptr.String(jtv) } - default: _, _ = key, value @@ -13340,7 +13198,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } - case "ApprovedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13353,7 +13210,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.ApprovedVersionNumber = ptr.Int64(i64) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13369,7 +13225,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } } - case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13382,7 +13237,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.CurrentVersionNumber = ptr.Int64(i64) } - case "LatestDeniedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13395,7 +13249,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.LatestDeniedVersionNumber = ptr.Int64(i64) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -13404,7 +13257,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -13413,7 +13265,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -13422,7 +13273,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -13431,7 +13281,6 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationType = ptr.String(jtv) } - default: _, _ = key, value @@ -13501,7 +13350,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDefinition(v **types.Reg if err := awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(&sv.DisplayHints, value); err != nil { return err } - case "SectionPath": if value != nil { jtv, ok := value.(string) @@ -13510,7 +13358,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDefinition(v **types.Reg } sv.SectionPath = ptr.String(jtv) } - default: _, _ = key, value @@ -13584,7 +13431,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.DocumentationLink = ptr.String(jtv) } - case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13593,7 +13439,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.DocumentationTitle = ptr.String(jtv) } - case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13602,7 +13447,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.LongDescription = ptr.String(jtv) } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13611,7 +13455,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.ShortDescription = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -13620,7 +13463,6 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -13656,7 +13498,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDefinition(v **types.Regist if err := awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(&sv.DisplayHints, value); err != nil { return err } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -13665,12 +13506,10 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDefinition(v **types.Regist } sv.RegistrationType = ptr.String(jtv) } - case "SupportedAssociations": if err := awsAwsjson10_deserializeDocumentSupportedAssociationList(&sv.SupportedAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -13744,7 +13583,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.DocumentationLink = ptr.String(jtv) } - case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13753,7 +13591,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.DocumentationTitle = ptr.String(jtv) } - case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13762,7 +13599,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.LongDescription = ptr.String(jtv) } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13771,7 +13607,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.ShortDescription = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -13780,7 +13615,6 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -13816,7 +13650,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re if err := awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformationList(&sv.DeniedReasons, value); err != nil { return err } - case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -13825,12 +13658,10 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } - case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13843,7 +13674,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -13924,7 +13754,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "ArchivedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13940,7 +13769,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "DeniedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13956,7 +13784,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "DiscardedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13972,7 +13799,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "DraftTimestamp": if value != nil { switch jtv := value.(type) { @@ -13988,7 +13814,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "ReviewingTimestamp": if value != nil { switch jtv := value.(type) { @@ -14004,7 +13829,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "RevokedTimestamp": if value != nil { switch jtv := value.(type) { @@ -14020,7 +13844,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - case "SubmittedTimestamp": if value != nil { switch jtv := value.(type) { @@ -14036,7 +13859,6 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } - default: _, _ = key, value @@ -14066,15 +13888,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14082,7 +13898,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -14091,7 +13906,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14100,15 +13914,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14179,7 +13989,6 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Description = ptr.String(jtv) } - case "Option": if value != nil { jtv, ok := value.(string) @@ -14188,7 +13997,6 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Option = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -14197,7 +14005,6 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -14275,7 +14082,6 @@ func awsAwsjson10_deserializeDocumentSelectValidation(v **types.SelectValidation } sv.MaxChoices = ptr.Int32(int32(i64)) } - case "MinChoices": if value != nil { jtv, ok := value.(json.Number) @@ -14288,12 +14094,10 @@ func awsAwsjson10_deserializeDocumentSelectValidation(v **types.SelectValidation } sv.MinChoices = ptr.Int32(int32(i64)) } - case "Options": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -14333,7 +14137,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -14342,12 +14145,10 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -14356,7 +14157,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "Registered": if value != nil { jtv, ok := value.(bool) @@ -14365,7 +14165,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.Registered = jtv } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -14374,7 +14173,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.RegistrationId = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -14383,7 +14181,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.SenderId = ptr.String(jtv) } - case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -14392,7 +14189,6 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.SenderIdArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14456,15 +14252,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14472,7 +14262,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -14481,15 +14270,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14524,7 +14309,6 @@ func awsAwsjson10_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14568,7 +14352,6 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.EnforcedLimit = i64 } - case "MaxLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14581,7 +14364,6 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.MaxLimit = i64 } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14590,7 +14372,6 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.Name = types.SpendLimitName(jtv) } - case "Overridden": if value != nil { jtv, ok := value.(bool) @@ -14599,7 +14380,6 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.Overridden = jtv } - default: _, _ = key, value @@ -14745,7 +14525,6 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.AssociationBehavior = types.RegistrationAssociationBehavior(jtv) } - case "DisassociationBehavior": if value != nil { jtv, ok := value.(string) @@ -14754,7 +14533,6 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.DisassociationBehavior = types.RegistrationDisassociationBehavior(jtv) } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -14763,7 +14541,6 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.IsoCountryCode = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14772,7 +14549,6 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -14846,7 +14622,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14855,7 +14630,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14933,7 +14707,6 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.MaxLength = ptr.Int32(int32(i64)) } - case "MinLength": if value != nil { jtv, ok := value.(json.Number) @@ -14946,7 +14719,6 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.MinLength = ptr.Int32(int32(i64)) } - case "Pattern": if value != nil { jtv, ok := value.(string) @@ -14955,7 +14727,6 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -14985,15 +14756,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15001,15 +14766,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15034,20 +14795,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15055,7 +14809,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -15064,15 +14817,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15107,7 +14856,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15116,7 +14864,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15197,7 +14944,6 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } } - case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15206,7 +14952,6 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.DestinationPhoneNumber = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15215,7 +14960,6 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.Status = types.VerificationStatus(jtv) } - case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -15224,7 +14968,6 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } - case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -15233,7 +14976,6 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.VerifiedDestinationNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -15307,7 +15049,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.IsoCountryCode = ptr.String(jtv) } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -15316,7 +15057,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -15325,7 +15065,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.OriginationIdentityArn = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -15334,7 +15073,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -15343,7 +15081,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.PoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -15383,7 +15120,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15392,7 +15128,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ConfigurationSetName = ptr.String(jtv) } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -15401,7 +15136,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -15410,7 +15144,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -15450,7 +15183,6 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15459,7 +15191,6 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } sv.ConfigurationSetName = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15475,12 +15206,10 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15520,7 +15249,6 @@ func awsAwsjson10_deserializeOpDocumentCreateEventDestinationOutput(v **CreateEv } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15529,12 +15257,10 @@ func awsAwsjson10_deserializeOpDocumentCreateEventDestinationOutput(v **CreateEv } sv.ConfigurationSetName = ptr.String(jtv) } - case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } - default: _, _ = key, value @@ -15581,7 +15307,6 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -15590,7 +15315,6 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -15599,12 +15323,10 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } sv.OptOutListName = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15651,7 +15373,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15660,7 +15381,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.DeletionProtectionEnabled = jtv } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -15669,7 +15389,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.MessageType = types.MessageType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -15678,7 +15397,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -15687,7 +15405,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -15696,7 +15413,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.PoolId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15705,7 +15421,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } - case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -15714,7 +15429,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.SharedRoutesEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15723,12 +15437,10 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.Status = types.PoolStatus(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -15737,7 +15449,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -15746,7 +15457,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -15755,7 +15465,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -15795,7 +15504,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.AccountDefault = jtv } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15811,7 +15519,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15820,7 +15527,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.DeletionProtectionEnabled = jtv } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -15829,7 +15535,6 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -15838,12 +15543,10 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.ProtectConfigurationId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15883,7 +15586,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.IsoCountryCode = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15892,7 +15594,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.PhoneNumber = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -15901,7 +15602,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -15910,7 +15610,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -15919,7 +15618,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationType = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -15928,7 +15626,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15937,7 +15634,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15946,7 +15642,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -15986,7 +15681,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.AttachmentStatus = types.AttachmentStatus(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16002,7 +15696,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } } - case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -16011,7 +15704,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.RegistrationAttachmentArn = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -16020,12 +15712,10 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.RegistrationAttachmentId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16061,7 +15751,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16077,7 +15766,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } } - case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16090,7 +15778,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.CurrentVersionNumber = ptr.Int64(i64) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -16099,7 +15786,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -16108,7 +15794,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -16117,7 +15802,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -16126,12 +15810,10 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationType = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16171,7 +15853,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -16180,7 +15861,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -16189,12 +15869,10 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } - case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16207,7 +15885,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -16254,7 +15931,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } } - case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -16263,7 +15939,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.DestinationPhoneNumber = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16272,12 +15947,10 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.Status = types.VerificationStatus(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -16286,7 +15959,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } - case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -16295,7 +15967,6 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -16335,7 +16006,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteAccountDefaultProtectConfigurationO } sv.DefaultProtectConfigurationArn = ptr.String(jtv) } - case "DefaultProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -16344,7 +16014,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteAccountDefaultProtectConfigurationO } sv.DefaultProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -16384,7 +16053,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16393,7 +16061,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.ConfigurationSetName = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16409,7 +16076,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } } - case "DefaultMessageType": if value != nil { jtv, ok := value.(string) @@ -16418,7 +16084,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.DefaultMessageType = types.MessageType(jtv) } - case "DefaultSenderId": if value != nil { jtv, ok := value.(string) @@ -16427,12 +16092,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.DefaultSenderId = ptr.String(jtv) } - case "EventDestinations": if err := awsAwsjson10_deserializeDocumentEventDestinationList(&sv.EventDestinations, value); err != nil { return err } - default: _, _ = key, value @@ -16472,7 +16135,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16481,7 +16143,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.ConfigurationSetName = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -16490,7 +16151,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.MessageType = types.MessageType(jtv) } - default: _, _ = key, value @@ -16530,7 +16190,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16539,7 +16198,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.ConfigurationSetName = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -16548,7 +16206,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.SenderId = ptr.String(jtv) } - default: _, _ = key, value @@ -16588,7 +16245,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteEventDestinationOutput(v **DeleteEv } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16597,12 +16253,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteEventDestinationOutput(v **DeleteEv } sv.ConfigurationSetName = ptr.String(jtv) } - case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } - default: _, _ = key, value @@ -16642,7 +16296,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.Keyword = ptr.String(jtv) } - case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -16651,7 +16304,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.KeywordAction = types.KeywordAction(jtv) } - case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -16660,7 +16312,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.KeywordMessage = ptr.String(jtv) } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -16669,7 +16320,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -16678,7 +16328,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.OriginationIdentityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16722,7 +16371,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteMediaMessageSpendLimitOverrideOutpu } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -16762,7 +16410,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.EndUserOptedOut = jtv } - case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -16771,7 +16418,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptedOutNumber = ptr.String(jtv) } - case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -16787,7 +16433,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -16796,7 +16441,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16805,7 +16449,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptOutListName = ptr.String(jtv) } - default: _, _ = key, value @@ -16852,7 +16495,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -16861,7 +16503,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16870,7 +16511,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } sv.OptOutListName = ptr.String(jtv) } - default: _, _ = key, value @@ -16917,7 +16557,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -16926,7 +16565,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.MessageType = types.MessageType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16935,7 +16573,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -16944,7 +16581,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -16953,7 +16589,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.PoolId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -16962,7 +16597,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } - case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -16971,7 +16605,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.SharedRoutesEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16980,7 +16613,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.Status = types.PoolStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -16989,7 +16621,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -16998,7 +16629,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -17007,7 +16637,6 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -17047,7 +16676,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.AccountDefault = jtv } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17063,7 +16691,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17072,7 +16699,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.DeletionProtectionEnabled = jtv } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -17081,7 +16707,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -17090,7 +16715,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -17130,7 +16754,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.AttachmentStatus = types.AttachmentStatus(jtv) } - case "AttachmentUploadErrorReason": if value != nil { jtv, ok := value.(string) @@ -17139,7 +16762,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.AttachmentUploadErrorReason = types.AttachmentUploadErrorReason(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17155,7 +16777,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } } - case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -17164,7 +16785,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.RegistrationAttachmentArn = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -17173,7 +16793,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.RegistrationAttachmentId = ptr.String(jtv) } - default: _, _ = key, value @@ -17213,7 +16832,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.FieldPath = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -17222,7 +16840,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -17231,7 +16848,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationAttachmentId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -17240,12 +16856,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationId = ptr.String(jtv) } - case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } - case "TextValue": if value != nil { jtv, ok := value.(string) @@ -17254,7 +16868,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.TextValue = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17267,7 +16880,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -17303,7 +16915,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } - case "ApprovedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17316,7 +16927,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.ApprovedVersionNumber = ptr.Int64(i64) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -17332,7 +16942,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } } - case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17345,7 +16954,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.CurrentVersionNumber = ptr.Int64(i64) } - case "LatestDeniedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17358,7 +16966,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.LatestDeniedVersionNumber = ptr.Int64(i64) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -17367,7 +16974,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -17376,7 +16982,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -17385,7 +16990,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -17394,7 +16998,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationType = ptr.String(jtv) } - default: _, _ = key, value @@ -17441,7 +17044,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -17450,7 +17052,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Policy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -17459,7 +17060,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17503,7 +17103,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTextMessageSpendLimitOverrideOutput } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -17550,7 +17149,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } } - case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -17559,7 +17157,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.DestinationPhoneNumber = ptr.String(jtv) } - case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -17568,7 +17165,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } - case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -17577,7 +17173,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberId = ptr.String(jtv) } - default: _, _ = key, value @@ -17621,7 +17216,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteVoiceMessageSpendLimitOverrideOutpu } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -17657,7 +17251,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson10_deserializeDocumentAccountAttributeList(&sv.AccountAttributes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17666,7 +17259,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17702,7 +17294,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountLimitsOutput(v **DescribeA if err := awsAwsjson10_deserializeDocumentAccountLimitList(&sv.AccountLimits, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17711,7 +17302,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountLimitsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17747,7 +17337,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeConfigurationSetsOutput(v **Descr if err := awsAwsjson10_deserializeDocumentConfigurationSetInformationList(&sv.ConfigurationSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17756,7 +17345,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeConfigurationSetsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17792,7 +17380,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor if err := awsAwsjson10_deserializeDocumentKeywordInformationList(&sv.Keywords, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17801,7 +17388,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.NextToken = ptr.String(jtv) } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -17810,7 +17396,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -17819,7 +17404,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.OriginationIdentityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17859,12 +17443,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "OptedOutNumbers": if err := awsAwsjson10_deserializeDocumentOptedOutNumberInformationList(&sv.OptedOutNumbers, value); err != nil { return err } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -17873,7 +17455,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -17882,7 +17463,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.OptOutListName = ptr.String(jtv) } - default: _, _ = key, value @@ -17922,12 +17502,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptOutListsOutput(v **DescribeOpt } sv.NextToken = ptr.String(jtv) } - case "OptOutLists": if err := awsAwsjson10_deserializeDocumentOptOutListInformationList(&sv.OptOutLists, value); err != nil { return err } - default: _, _ = key, value @@ -17967,12 +17545,10 @@ func awsAwsjson10_deserializeOpDocumentDescribePhoneNumbersOutput(v **DescribePh } sv.NextToken = ptr.String(jtv) } - case "PhoneNumbers": if err := awsAwsjson10_deserializeDocumentPhoneNumberInformationList(&sv.PhoneNumbers, value); err != nil { return err } - default: _, _ = key, value @@ -18012,12 +17588,10 @@ func awsAwsjson10_deserializeOpDocumentDescribePoolsOutput(v **DescribePoolsOutp } sv.NextToken = ptr.String(jtv) } - case "Pools": if err := awsAwsjson10_deserializeDocumentPoolInformationList(&sv.Pools, value); err != nil { return err } - default: _, _ = key, value @@ -18057,12 +17631,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeProtectConfigurationsOutput(v **D } sv.NextToken = ptr.String(jtv) } - case "ProtectConfigurations": if err := awsAwsjson10_deserializeDocumentProtectConfigurationInformationList(&sv.ProtectConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -18102,12 +17674,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationAttachmentsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "RegistrationAttachments": if err := awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformationList(&sv.RegistrationAttachments, value); err != nil { return err } - default: _, _ = key, value @@ -18147,12 +17717,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldDefinitionsOutpu } sv.NextToken = ptr.String(jtv) } - case "RegistrationFieldDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationFieldDefinitionList(&sv.RegistrationFieldDefinitions, value); err != nil { return err } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -18161,7 +17729,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldDefinitionsOutpu } sv.RegistrationType = ptr.String(jtv) } - default: _, _ = key, value @@ -18201,7 +17768,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -18210,12 +17776,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationFieldValues": if err := awsAwsjson10_deserializeDocumentRegistrationFieldValueInformationList(&sv.RegistrationFieldValues, value); err != nil { return err } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18224,7 +17788,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.RegistrationId = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18237,7 +17800,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -18277,12 +17839,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationSectionDefinitionsOut } sv.NextToken = ptr.String(jtv) } - case "RegistrationSectionDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationSectionDefinitionList(&sv.RegistrationSectionDefinitions, value); err != nil { return err } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -18291,7 +17851,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationSectionDefinitionsOut } sv.RegistrationType = ptr.String(jtv) } - default: _, _ = key, value @@ -18331,12 +17890,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationsOutput(v **DescribeR } sv.NextToken = ptr.String(jtv) } - case "Registrations": if err := awsAwsjson10_deserializeDocumentRegistrationInformationList(&sv.Registrations, value); err != nil { return err } - default: _, _ = key, value @@ -18376,12 +17933,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationTypeDefinitionsOutput } sv.NextToken = ptr.String(jtv) } - case "RegistrationTypeDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationTypeDefinitionList(&sv.RegistrationTypeDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -18421,7 +17976,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.NextToken = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -18430,7 +17984,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18439,12 +17992,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationVersions": if err := awsAwsjson10_deserializeDocumentRegistrationVersionInformationList(&sv.RegistrationVersions, value); err != nil { return err } - default: _, _ = key, value @@ -18484,12 +18035,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeSenderIdsOutput(v **DescribeSende } sv.NextToken = ptr.String(jtv) } - case "SenderIds": if err := awsAwsjson10_deserializeDocumentSenderIdInformationList(&sv.SenderIds, value); err != nil { return err } - default: _, _ = key, value @@ -18529,12 +18078,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpendLimitsOutput(v **DescribeSpe } sv.NextToken = ptr.String(jtv) } - case "SpendLimits": if err := awsAwsjson10_deserializeDocumentSpendLimitList(&sv.SpendLimits, value); err != nil { return err } - default: _, _ = key, value @@ -18574,12 +18121,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeVerifiedDestinationNumbersOutput( } sv.NextToken = ptr.String(jtv) } - case "VerifiedDestinationNumbers": if err := awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformationList(&sv.VerifiedDestinationNumbers, value); err != nil { return err } - default: _, _ = key, value @@ -18619,7 +18164,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.IsoCountryCode = ptr.String(jtv) } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -18628,7 +18172,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -18637,7 +18180,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.OriginationIdentityArn = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -18646,7 +18188,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18655,7 +18196,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.PoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -18695,7 +18235,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -18704,7 +18243,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ConfigurationSetName = ptr.String(jtv) } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -18713,7 +18251,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -18722,7 +18259,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -18762,7 +18298,6 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18771,7 +18306,6 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -18780,12 +18314,10 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } - case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18798,7 +18330,6 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -18834,7 +18365,6 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp if err := awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSet(&sv.CountryRuleSet, value); err != nil { return err } - case "NumberCapability": if value != nil { jtv, ok := value.(string) @@ -18843,7 +18373,6 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.NumberCapability = types.NumberCapability(jtv) } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -18852,7 +18381,6 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -18861,7 +18389,6 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -18908,7 +18435,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -18917,7 +18443,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18926,7 +18451,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18966,12 +18490,10 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "OriginationIdentities": if err := awsAwsjson10_deserializeDocumentOriginationIdentityMetadataList(&sv.OriginationIdentities, value); err != nil { return err } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -18980,7 +18502,6 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18989,7 +18510,6 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.PoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -19029,7 +18549,6 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -19038,12 +18557,10 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationAssociations": if err := awsAwsjson10_deserializeDocumentRegistrationAssociationMetadataList(&sv.RegistrationAssociations, value); err != nil { return err } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19052,7 +18569,6 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -19061,7 +18577,6 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationType = ptr.String(jtv) } - default: _, _ = key, value @@ -19101,12 +18616,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19146,7 +18659,6 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.Keyword = ptr.String(jtv) } - case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -19155,7 +18667,6 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.KeywordAction = types.KeywordAction(jtv) } - case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -19164,7 +18675,6 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.KeywordMessage = ptr.String(jtv) } - case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -19173,7 +18683,6 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.OriginationIdentity = ptr.String(jtv) } - case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -19182,7 +18691,6 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.OriginationIdentityArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19222,7 +18730,6 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.EndUserOptedOut = jtv } - case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -19231,7 +18738,6 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptedOutNumber = ptr.String(jtv) } - case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -19247,7 +18753,6 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } } - case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -19256,7 +18761,6 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptOutListArn = ptr.String(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -19265,7 +18769,6 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptOutListName = ptr.String(jtv) } - default: _, _ = key, value @@ -19305,7 +18808,6 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.FieldPath = ptr.String(jtv) } - case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -19314,7 +18816,6 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -19323,7 +18824,6 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationAttachmentId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19332,12 +18832,10 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationId = ptr.String(jtv) } - case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } - case "TextValue": if value != nil { jtv, ok := value.(string) @@ -19346,7 +18844,6 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.TextValue = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19359,7 +18856,6 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -19406,7 +18902,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -19415,7 +18910,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19424,7 +18918,6 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19471,7 +18964,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -19480,7 +18972,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -19489,7 +18980,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.MessageType = types.MessageType(jtv) } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19498,12 +18988,10 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } - case "NumberType": if value != nil { jtv, ok := value.(string) @@ -19512,7 +19000,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.NumberType = types.NumberType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -19521,7 +19008,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.OptOutListName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -19530,7 +19016,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -19539,7 +19024,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -19548,7 +19032,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumberId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19557,7 +19040,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.RegistrationId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -19566,7 +19048,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.SelfManagedOptOutsEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19575,7 +19056,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.Status = types.NumberStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -19584,7 +19064,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -19593,7 +19072,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -19602,7 +19080,6 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -19642,12 +19119,10 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19656,7 +19131,6 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "Registered": if value != nil { jtv, ok := value.(bool) @@ -19665,7 +19139,6 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.Registered = jtv } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19674,7 +19147,6 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.RegistrationId = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -19683,7 +19155,6 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.SenderId = ptr.String(jtv) } - case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -19692,7 +19163,6 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.SenderIdArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19739,7 +19209,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19748,7 +19217,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -19757,7 +19225,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -19766,7 +19233,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.MessageType = types.MessageType(jtv) } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19775,12 +19241,10 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } - case "NumberType": if value != nil { jtv, ok := value.(string) @@ -19789,7 +19253,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.NumberType = types.RequestableNumberType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -19798,7 +19261,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.OptOutListName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -19807,7 +19269,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -19816,7 +19277,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -19825,7 +19285,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumberId = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -19834,7 +19293,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PoolId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19843,7 +19301,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.RegistrationId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -19852,7 +19309,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.SelfManagedOptOutsEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19861,12 +19317,10 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.Status = types.NumberStatus(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -19875,7 +19329,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -19884,7 +19337,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -19893,7 +19345,6 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -19933,7 +19384,6 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -19942,12 +19392,10 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19956,7 +19404,6 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "Registered": if value != nil { jtv, ok := value.(bool) @@ -19965,7 +19412,6 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.Registered = jtv } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -19974,7 +19420,6 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.SenderId = ptr.String(jtv) } - case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -19983,12 +19428,10 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.SenderIdArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20028,7 +19471,6 @@ func awsAwsjson10_deserializeOpDocumentSendDestinationNumberVerificationCodeOutp } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -20068,7 +19510,6 @@ func awsAwsjson10_deserializeOpDocumentSendMediaMessageOutput(v **SendMediaMessa } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -20108,7 +19549,6 @@ func awsAwsjson10_deserializeOpDocumentSendTextMessageOutput(v **SendTextMessage } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -20148,7 +19588,6 @@ func awsAwsjson10_deserializeOpDocumentSendVoiceMessageOutput(v **SendVoiceMessa } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -20188,7 +19627,6 @@ func awsAwsjson10_deserializeOpDocumentSetAccountDefaultProtectConfigurationOutp } sv.DefaultProtectConfigurationArn = ptr.String(jtv) } - case "DefaultProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -20197,7 +19635,6 @@ func awsAwsjson10_deserializeOpDocumentSetAccountDefaultProtectConfigurationOutp } sv.DefaultProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -20237,7 +19674,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -20246,7 +19682,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.ConfigurationSetName = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -20255,7 +19690,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.MessageType = types.MessageType(jtv) } - default: _, _ = key, value @@ -20295,7 +19729,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -20304,7 +19737,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.ConfigurationSetName = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -20313,7 +19745,6 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.SenderId = ptr.String(jtv) } - default: _, _ = key, value @@ -20357,7 +19788,6 @@ func awsAwsjson10_deserializeOpDocumentSetMediaMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -20401,7 +19831,6 @@ func awsAwsjson10_deserializeOpDocumentSetTextMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -20445,7 +19874,6 @@ func awsAwsjson10_deserializeOpDocumentSetVoiceMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } - default: _, _ = key, value @@ -20485,7 +19913,6 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationArn = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -20494,7 +19921,6 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationId = ptr.String(jtv) } - case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -20503,12 +19929,10 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } - case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -20521,7 +19945,6 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -20623,7 +20046,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEventDestinationOutput(v **UpdateEv } sv.ConfigurationSetArn = ptr.String(jtv) } - case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -20632,12 +20054,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateEventDestinationOutput(v **UpdateEv } sv.ConfigurationSetName = ptr.String(jtv) } - case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } - default: _, _ = key, value @@ -20684,7 +20104,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -20693,7 +20112,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -20702,7 +20120,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -20711,7 +20128,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.MessageType = types.MessageType(jtv) } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -20720,12 +20136,10 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } - case "NumberType": if value != nil { jtv, ok := value.(string) @@ -20734,7 +20148,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.NumberType = types.NumberType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -20743,7 +20156,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.OptOutListName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -20752,7 +20164,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumber = ptr.String(jtv) } - case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -20761,7 +20172,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } - case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -20770,7 +20180,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberId = ptr.String(jtv) } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -20779,7 +20188,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.RegistrationId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -20788,7 +20196,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.SelfManagedOptOutsEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20797,7 +20204,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.Status = types.NumberStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -20806,7 +20212,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -20815,7 +20220,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -20824,7 +20228,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -20871,7 +20274,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -20880,7 +20282,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.DeletionProtectionEnabled = jtv } - case "MessageType": if value != nil { jtv, ok := value.(string) @@ -20889,7 +20290,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.MessageType = types.MessageType(jtv) } - case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -20898,7 +20298,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -20907,7 +20306,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -20916,7 +20314,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.PoolId = ptr.String(jtv) } - case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -20925,7 +20322,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } - case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -20934,7 +20330,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.SharedRoutesEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20943,7 +20338,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.Status = types.PoolStatus(jtv) } - case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -20952,7 +20346,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } - case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -20961,7 +20354,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } - case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -20970,7 +20362,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayEnabled = jtv } - default: _, _ = key, value @@ -21006,7 +20397,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO if err := awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSet(&sv.CountryRuleSet, value); err != nil { return err } - case "NumberCapability": if value != nil { jtv, ok := value.(string) @@ -21015,7 +20405,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.NumberCapability = types.NumberCapability(jtv) } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -21024,7 +20413,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -21033,7 +20421,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -21073,7 +20460,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.AccountDefault = jtv } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -21089,7 +20475,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -21098,7 +20483,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.DeletionProtectionEnabled = jtv } - case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -21107,7 +20491,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.ProtectConfigurationArn = ptr.String(jtv) } - case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -21116,7 +20499,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.ProtectConfigurationId = ptr.String(jtv) } - default: _, _ = key, value @@ -21156,7 +20538,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.DeletionProtectionEnabled = jtv } - case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -21165,12 +20546,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.IsoCountryCode = ptr.String(jtv) } - case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } - case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -21179,7 +20558,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.MonthlyLeasingPrice = ptr.String(jtv) } - case "Registered": if value != nil { jtv, ok := value.(bool) @@ -21188,7 +20566,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.Registered = jtv } - case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -21197,7 +20574,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.RegistrationId = ptr.String(jtv) } - case "SenderId": if value != nil { jtv, ok := value.(string) @@ -21206,7 +20582,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.SenderId = ptr.String(jtv) } - case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -21215,7 +20590,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.SenderIdArn = ptr.String(jtv) } - default: _, _ = key, value @@ -21262,7 +20636,6 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } } - case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -21271,7 +20644,6 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.DestinationPhoneNumber = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21280,7 +20652,6 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.Status = types.VerificationStatus(jtv) } - case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -21289,7 +20660,6 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } - case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -21298,7 +20668,6 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.VerifiedDestinationNumberId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/pipes/deserializers.go b/service/pipes/deserializers.go index ae859ca17ea..882219e8c2f 100644 --- a/service/pipes/deserializers.go +++ b/service/pipes/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -207,7 +206,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -216,7 +214,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -225,7 +222,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.DesiredState = types.RequestedPipeState(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -241,7 +237,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -250,7 +245,6 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -418,7 +412,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -434,7 +427,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -443,7 +435,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -452,7 +443,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.DesiredState = types.RequestedPipeStateDescribeResponse(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -468,7 +458,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -477,7 +466,6 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -642,7 +630,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -658,7 +645,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -667,7 +653,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.CurrentState = types.PipeState(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -676,7 +661,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Description = ptr.String(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -685,7 +669,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.DesiredState = types.RequestedPipeStateDescribeResponse(jtv) } - case "Enrichment": if value != nil { jtv, ok := value.(string) @@ -694,12 +677,10 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Enrichment = ptr.String(jtv) } - case "EnrichmentParameters": if err := awsRestjson1_deserializeDocumentPipeEnrichmentParameters(&sv.EnrichmentParameters, value); err != nil { return err } - case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -708,7 +689,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.KmsKeyIdentifier = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -724,12 +704,10 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentPipeLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -738,7 +716,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -747,7 +724,6 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.RoleArn = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -756,12 +732,10 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Source = ptr.String(jtv) } - case "SourceParameters": if err := awsRestjson1_deserializeDocumentPipeSourceParameters(&sv.SourceParameters, value); err != nil { return err } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -770,12 +744,10 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.StateReason = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Target": if value != nil { jtv, ok := value.(string) @@ -784,12 +756,10 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Target = ptr.String(jtv) } - case "TargetParameters": if err := awsRestjson1_deserializeDocumentPipeTargetParameters(&sv.TargetParameters, value); err != nil { return err } - default: _, _ = key, value @@ -951,12 +921,10 @@ func awsRestjson1_deserializeOpDocumentListPipesOutput(v **ListPipesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Pipes": if err := awsRestjson1_deserializeDocumentPipeList(&sv.Pipes, value); err != nil { return err } - default: _, _ = key, value @@ -1114,7 +1082,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1282,7 +1249,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1298,7 +1264,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1307,7 +1272,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1316,7 +1280,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.DesiredState = types.RequestedPipeState(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1332,7 +1295,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1341,7 +1303,6 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1509,7 +1470,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1525,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1534,7 +1493,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1543,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.DesiredState = types.RequestedPipeState(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1559,7 +1516,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1568,7 +1524,6 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1924,7 +1879,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1940,7 +1894,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1949,7 +1902,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1958,7 +1910,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.DesiredState = types.RequestedPipeState(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1974,7 +1925,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1983,7 +1933,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2279,17 +2228,14 @@ func awsRestjson1_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -2333,7 +2279,6 @@ func awsRestjson1_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2369,12 +2314,10 @@ func awsRestjson1_deserializeDocumentBatchContainerOverrides(v **types.BatchCont if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "Environment": if err := awsRestjson1_deserializeDocumentBatchEnvironmentVariableList(&sv.Environment, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -2383,12 +2326,10 @@ func awsRestjson1_deserializeDocumentBatchContainerOverrides(v **types.BatchCont } sv.InstanceType = ptr.String(jtv) } - case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentBatchResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } - default: _, _ = key, value @@ -2462,7 +2403,6 @@ func awsRestjson1_deserializeDocumentBatchEnvironmentVariable(v **types.BatchEnv } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2471,7 +2411,6 @@ func awsRestjson1_deserializeDocumentBatchEnvironmentVariable(v **types.BatchEnv } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2545,7 +2484,6 @@ func awsRestjson1_deserializeDocumentBatchJobDependency(v **types.BatchJobDepend } sv.JobId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2554,7 +2492,6 @@ func awsRestjson1_deserializeDocumentBatchJobDependency(v **types.BatchJobDepend } sv.Type = types.BatchJobDependencyType(jtv) } - default: _, _ = key, value @@ -2630,7 +2567,6 @@ func awsRestjson1_deserializeDocumentBatchResourceRequirement(v **types.BatchRes } sv.Type = types.BatchResourceRequirementType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2639,7 +2575,6 @@ func awsRestjson1_deserializeDocumentBatchResourceRequirement(v **types.BatchRes } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2717,7 +2652,6 @@ func awsRestjson1_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2795,7 +2729,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } - case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -2804,7 +2737,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -2817,7 +2749,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -2857,7 +2788,6 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsLogDestination(v **types.Clou } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2887,15 +2817,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2903,7 +2827,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2912,7 +2835,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2921,15 +2843,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2964,7 +2882,6 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -3004,7 +2921,6 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionName = ptr.String(jtv) } - case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -3013,7 +2929,6 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValue = ptr.String(jtv) } - case "DimensionValueType": if value != nil { jtv, ok := value.(string) @@ -3022,7 +2937,6 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValueType = types.DimensionValueType(jtv) } - default: _, _ = key, value @@ -3092,7 +3006,6 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } - case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -3105,17 +3018,14 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Cpu = ptr.Int32(int32(i64)) } - case "Environment": if err := awsRestjson1_deserializeDocumentEcsEnvironmentVariableList(&sv.Environment, value); err != nil { return err } - case "EnvironmentFiles": if err := awsRestjson1_deserializeDocumentEcsEnvironmentFileList(&sv.EnvironmentFiles, value); err != nil { return err } - case "Memory": if value != nil { jtv, ok := value.(json.Number) @@ -3128,7 +3038,6 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Memory = ptr.Int32(int32(i64)) } - case "MemoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -3141,7 +3050,6 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.MemoryReservation = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3150,12 +3058,10 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Name = ptr.String(jtv) } - case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentEcsResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } - default: _, _ = key, value @@ -3229,7 +3135,6 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentFile(v **types.EcsEnvironment } sv.Type = types.EcsEnvironmentFileType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3238,7 +3143,6 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentFile(v **types.EcsEnvironment } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3312,7 +3216,6 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentVariable(v **types.EcsEnviron } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3321,7 +3224,6 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentVariable(v **types.EcsEnviron } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3399,7 +3301,6 @@ func awsRestjson1_deserializeDocumentEcsEphemeralStorage(v **types.EcsEphemeralS } sv.SizeInGiB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3439,7 +3340,6 @@ func awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverride(v **types.E } sv.DeviceName = ptr.String(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -3448,7 +3348,6 @@ func awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverride(v **types.E } sv.DeviceType = ptr.String(jtv) } - default: _, _ = key, value @@ -3522,7 +3421,6 @@ func awsRestjson1_deserializeDocumentEcsResourceRequirement(v **types.EcsResourc } sv.Type = types.EcsResourceRequirementType(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3531,7 +3429,6 @@ func awsRestjson1_deserializeDocumentEcsResourceRequirement(v **types.EcsResourc } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3601,7 +3498,6 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, if err := awsRestjson1_deserializeDocumentEcsContainerOverrideList(&sv.ContainerOverrides, value); err != nil { return err } - case "Cpu": if value != nil { jtv, ok := value.(string) @@ -3610,12 +3506,10 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.Cpu = ptr.String(jtv) } - case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEcsEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3624,12 +3518,10 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.ExecutionRoleArn = ptr.String(jtv) } - case "InferenceAcceleratorOverrides": if err := awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverrideList(&sv.InferenceAcceleratorOverrides, value); err != nil { return err } - case "Memory": if value != nil { jtv, ok := value.(string) @@ -3638,7 +3530,6 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.Memory = ptr.String(jtv) } - case "TaskRoleArn": if value != nil { jtv, ok := value.(string) @@ -3647,7 +3538,6 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.TaskRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3723,7 +3613,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Pattern = ptr.String(jtv) } - default: _, _ = key, value @@ -3759,7 +3648,6 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -3833,7 +3721,6 @@ func awsRestjson1_deserializeDocumentFirehoseLogDestination(v **types.FirehoseLo } sv.DeliveryStreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3935,15 +3822,9 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3951,7 +3832,6 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3964,15 +3844,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4139,7 +4015,6 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValue = ptr.String(jtv) } - case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -4148,7 +4023,6 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.MeasureValueType(jtv) } - case "MultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -4157,7 +4031,6 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MultiMeasureAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -4227,7 +4100,6 @@ func awsRestjson1_deserializeDocumentMultiMeasureMapping(v **types.MultiMeasureM if err := awsRestjson1_deserializeDocumentMultiMeasureAttributeMappings(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } - case "MultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4108,6 @@ func awsRestjson1_deserializeDocumentMultiMeasureMapping(v **types.MultiMeasureM } sv.MultiMeasureName = ptr.String(jtv) } - default: _, _ = key, value @@ -4306,7 +4177,6 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4336,15 +4206,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4352,15 +4216,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4431,7 +4291,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4447,7 +4306,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } } - case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -4456,7 +4314,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.CurrentState = types.PipeState(jtv) } - case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -4465,7 +4322,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.DesiredState = types.RequestedPipeState(jtv) } - case "Enrichment": if value != nil { jtv, ok := value.(string) @@ -4474,7 +4330,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Enrichment = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4490,7 +4345,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4499,7 +4353,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -4508,7 +4361,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Source = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4517,7 +4369,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.StateReason = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -4526,7 +4377,6 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -4562,17 +4412,14 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentHttpParameters(v **types.Pipe if err := awsRestjson1_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } - case "PathParameterValues": if err := awsRestjson1_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } - case "QueryStringParameters": if err := awsRestjson1_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -4608,7 +4455,6 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentParameters(v **types.PipeEnri if err := awsRestjson1_deserializeDocumentPipeEnrichmentHttpParameters(&sv.HttpParameters, value); err != nil { return err } - case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -4617,7 +4463,6 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentParameters(v **types.PipeEnri } sv.InputTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -4687,17 +4532,14 @@ func awsRestjson1_deserializeDocumentPipeLogConfiguration(v **types.PipeLogConfi if err := awsRestjson1_deserializeDocumentCloudwatchLogsLogDestination(&sv.CloudwatchLogsLogDestination, value); err != nil { return err } - case "FirehoseLogDestination": if err := awsRestjson1_deserializeDocumentFirehoseLogDestination(&sv.FirehoseLogDestination, value); err != nil { return err } - case "IncludeExecutionData": if err := awsRestjson1_deserializeDocumentIncludeExecutionData(&sv.IncludeExecutionData, value); err != nil { return err } - case "Level": if value != nil { jtv, ok := value.(string) @@ -4706,12 +4548,10 @@ func awsRestjson1_deserializeDocumentPipeLogConfiguration(v **types.PipeLogConfi } sv.Level = types.LogLevel(jtv) } - case "S3LogDestination": if err := awsRestjson1_deserializeDocumentS3LogDestination(&sv.S3LogDestination, value); err != nil { return err } - default: _, _ = key, value @@ -4755,12 +4595,10 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } - case "Credentials": if err := awsRestjson1_deserializeDocumentMQBrokerAccessCredentials(&sv.Credentials, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4773,7 +4611,6 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "QueueName": if value != nil { jtv, ok := value.(string) @@ -4782,7 +4619,6 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.QueueName = ptr.String(jtv) } - default: _, _ = key, value @@ -4826,12 +4662,10 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4844,7 +4678,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4857,7 +4690,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -4870,7 +4702,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "OnPartialBatchItemFailure": if value != nil { jtv, ok := value.(string) @@ -4879,7 +4710,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.OnPartialBatchItemFailure = types.OnPartialBatchItemFailureStreams(jtv) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -4892,7 +4722,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4730,6 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.StartingPosition = types.DynamoDBStreamStartPosition(jtv) } - default: _, _ = key, value @@ -4945,12 +4773,10 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.BatchSize = ptr.Int32(int32(i64)) } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4963,7 +4789,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4976,7 +4801,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -4989,7 +4813,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - case "OnPartialBatchItemFailure": if value != nil { jtv, ok := value.(string) @@ -4998,7 +4821,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.OnPartialBatchItemFailure = types.OnPartialBatchItemFailureStreams(jtv) } - case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -5011,7 +4833,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -5020,7 +4841,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.StartingPosition = types.KinesisStreamStartPosition(jtv) } - case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -5036,7 +4856,6 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } } - default: _, _ = key, value @@ -5080,7 +4899,6 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.BatchSize = ptr.Int32(int32(i64)) } - case "ConsumerGroupID": if value != nil { jtv, ok := value.(string) @@ -5089,12 +4907,10 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.ConsumerGroupID = ptr.String(jtv) } - case "Credentials": if err := awsRestjson1_deserializeDocumentMSKAccessCredentials(&sv.Credentials, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5107,7 +4923,6 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -5116,7 +4931,6 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.StartingPosition = types.MSKStartPosition(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -5125,7 +4939,6 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -5161,42 +4974,34 @@ func awsRestjson1_deserializeDocumentPipeSourceParameters(v **types.PipeSourcePa if err := awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(&sv.ActiveMQBrokerParameters, value); err != nil { return err } - case "DynamoDBStreamParameters": if err := awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(&sv.DynamoDBStreamParameters, value); err != nil { return err } - case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } - case "KinesisStreamParameters": if err := awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(&sv.KinesisStreamParameters, value); err != nil { return err } - case "ManagedStreamingKafkaParameters": if err := awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(&sv.ManagedStreamingKafkaParameters, value); err != nil { return err } - case "RabbitMQBrokerParameters": if err := awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(&sv.RabbitMQBrokerParameters, value); err != nil { return err } - case "SelfManagedKafkaParameters": if err := awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(&sv.SelfManagedKafkaParameters, value); err != nil { return err } - case "SqsQueueParameters": if err := awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(&sv.SqsQueueParameters, value); err != nil { return err } - default: _, _ = key, value @@ -5240,12 +5045,10 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } - case "Credentials": if err := awsRestjson1_deserializeDocumentMQBrokerAccessCredentials(&sv.Credentials, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5258,7 +5061,6 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "QueueName": if value != nil { jtv, ok := value.(string) @@ -5267,7 +5069,6 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.QueueName = ptr.String(jtv) } - case "VirtualHost": if value != nil { jtv, ok := value.(string) @@ -5276,7 +5077,6 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.VirtualHost = ptr.String(jtv) } - default: _, _ = key, value @@ -5312,7 +5112,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty if err := awsRestjson1_deserializeDocumentKafkaBootstrapServers(&sv.AdditionalBootstrapServers, value); err != nil { return err } - case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -5325,7 +5124,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.BatchSize = ptr.Int32(int32(i64)) } - case "ConsumerGroupID": if value != nil { jtv, ok := value.(string) @@ -5334,12 +5132,10 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.ConsumerGroupID = ptr.String(jtv) } - case "Credentials": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationCredentials(&sv.Credentials, value); err != nil { return err } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5352,7 +5148,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - case "ServerRootCaCertificate": if value != nil { jtv, ok := value.(string) @@ -5361,7 +5156,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.ServerRootCaCertificate = ptr.String(jtv) } - case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -5370,7 +5164,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.StartingPosition = types.SelfManagedKafkaStartPosition(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -5379,12 +5172,10 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.TopicName = ptr.String(jtv) } - case "Vpc": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationVpc(&sv.Vpc, value); err != nil { return err } - default: _, _ = key, value @@ -5428,7 +5219,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(v **types.Pipe } sv.BatchSize = ptr.Int32(int32(i64)) } - case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5441,7 +5231,6 @@ func awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(v **types.Pipe } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5477,17 +5266,14 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe if err := awsRestjson1_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } - case "ContainerOverrides": if err := awsRestjson1_deserializeDocumentBatchContainerOverrides(&sv.ContainerOverrides, value); err != nil { return err } - case "DependsOn": if err := awsRestjson1_deserializeDocumentBatchDependsOn(&sv.DependsOn, value); err != nil { return err } - case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -5496,7 +5282,6 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe } sv.JobDefinition = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -5505,17 +5290,14 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe } sv.JobName = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentBatchParametersMap(&sv.Parameters, value); err != nil { return err } - case "RetryStrategy": if err := awsRestjson1_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - default: _, _ = key, value @@ -5555,7 +5337,6 @@ func awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(v **type } sv.LogStreamName = ptr.String(jtv) } - case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -5564,7 +5345,6 @@ func awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(v **type } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -5600,7 +5380,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT if err := awsRestjson1_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -5609,7 +5388,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.EnableECSManagedTags = jtv } - case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -5618,7 +5396,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.EnableExecuteCommand = jtv } - case "Group": if value != nil { jtv, ok := value.(string) @@ -5627,7 +5404,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.Group = ptr.String(jtv) } - case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -5636,27 +5412,22 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.LaunchType = types.LaunchType(jtv) } - case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "Overrides": if err := awsRestjson1_deserializeDocumentEcsTaskOverride(&sv.Overrides, value); err != nil { return err } - case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "PlacementStrategy": if err := awsRestjson1_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -5665,7 +5436,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.PlatformVersion = ptr.String(jtv) } - case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -5674,7 +5444,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.PropagateTags = types.PropagateTags(jtv) } - case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -5683,12 +5452,10 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.ReferenceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -5701,7 +5468,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.TaskCount = ptr.Int32(int32(i64)) } - case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -5710,7 +5476,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.TaskDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5750,7 +5515,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.DetailType = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -5759,12 +5523,10 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.EndpointId = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentEventBridgeEventResourceList(&sv.Resources, value); err != nil { return err } - case "Source": if value != nil { jtv, ok := value.(string) @@ -5773,7 +5535,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.Source = ptr.String(jtv) } - case "Time": if value != nil { jtv, ok := value.(string) @@ -5782,7 +5543,6 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.Time = ptr.String(jtv) } - default: _, _ = key, value @@ -5818,17 +5578,14 @@ func awsRestjson1_deserializeDocumentPipeTargetHttpParameters(v **types.PipeTarg if err := awsRestjson1_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } - case "PathParameterValues": if err := awsRestjson1_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } - case "QueryStringParameters": if err := awsRestjson1_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -5868,7 +5625,6 @@ func awsRestjson1_deserializeDocumentPipeTargetKinesisStreamParameters(v **types } sv.PartitionKey = ptr.String(jtv) } - default: _, _ = key, value @@ -5908,7 +5664,6 @@ func awsRestjson1_deserializeDocumentPipeTargetLambdaFunctionParameters(v **type } sv.InvocationType = types.PipeTargetInvocationType(jtv) } - default: _, _ = key, value @@ -5944,27 +5699,22 @@ func awsRestjson1_deserializeDocumentPipeTargetParameters(v **types.PipeTargetPa if err := awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } - case "CloudWatchLogsParameters": if err := awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(&sv.CloudWatchLogsParameters, value); err != nil { return err } - case "EcsTaskParameters": if err := awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(&sv.EcsTaskParameters, value); err != nil { return err } - case "EventBridgeEventBusParameters": if err := awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(&sv.EventBridgeEventBusParameters, value); err != nil { return err } - case "HttpParameters": if err := awsRestjson1_deserializeDocumentPipeTargetHttpParameters(&sv.HttpParameters, value); err != nil { return err } - case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -5973,42 +5723,34 @@ func awsRestjson1_deserializeDocumentPipeTargetParameters(v **types.PipeTargetPa } sv.InputTemplate = ptr.String(jtv) } - case "KinesisStreamParameters": if err := awsRestjson1_deserializeDocumentPipeTargetKinesisStreamParameters(&sv.KinesisStreamParameters, value); err != nil { return err } - case "LambdaFunctionParameters": if err := awsRestjson1_deserializeDocumentPipeTargetLambdaFunctionParameters(&sv.LambdaFunctionParameters, value); err != nil { return err } - case "RedshiftDataParameters": if err := awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } - case "SageMakerPipelineParameters": if err := awsRestjson1_deserializeDocumentPipeTargetSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } - case "SqsQueueParameters": if err := awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(&sv.SqsQueueParameters, value); err != nil { return err } - case "StepFunctionStateMachineParameters": if err := awsRestjson1_deserializeDocumentPipeTargetStateMachineParameters(&sv.StepFunctionStateMachineParameters, value); err != nil { return err } - case "TimestreamParameters": if err := awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(&sv.TimestreamParameters, value); err != nil { return err } - default: _, _ = key, value @@ -6048,7 +5790,6 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.Database = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -6057,7 +5798,6 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.DbUser = ptr.String(jtv) } - case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -6066,12 +5806,10 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.SecretManagerArn = ptr.String(jtv) } - case "Sqls": if err := awsRestjson1_deserializeDocumentSqls(&sv.Sqls, value); err != nil { return err } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -6080,7 +5818,6 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.StatementName = ptr.String(jtv) } - case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -6089,7 +5826,6 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.WithEvent = jtv } - default: _, _ = key, value @@ -6125,7 +5861,6 @@ func awsRestjson1_deserializeDocumentPipeTargetSageMakerPipelineParameters(v **t if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } - default: _, _ = key, value @@ -6165,7 +5900,6 @@ func awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(v **types.Pipe } sv.MessageDeduplicationId = ptr.String(jtv) } - case "MessageGroupId": if value != nil { jtv, ok := value.(string) @@ -6174,7 +5908,6 @@ func awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(v **types.Pipe } sv.MessageGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -6214,7 +5947,6 @@ func awsRestjson1_deserializeDocumentPipeTargetStateMachineParameters(v **types. } sv.InvocationType = types.PipeTargetInvocationType(jtv) } - default: _, _ = key, value @@ -6250,7 +5982,6 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi if err := awsRestjson1_deserializeDocumentDimensionMappings(&sv.DimensionMappings, value); err != nil { return err } - case "EpochTimeUnit": if value != nil { jtv, ok := value.(string) @@ -6259,17 +5990,14 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.EpochTimeUnit = types.EpochTimeUnit(jtv) } - case "MultiMeasureMappings": if err := awsRestjson1_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } - case "SingleMeasureMappings": if err := awsRestjson1_deserializeDocumentSingleMeasureMappings(&sv.SingleMeasureMappings, value); err != nil { return err } - case "TimeFieldType": if value != nil { jtv, ok := value.(string) @@ -6278,7 +6006,6 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimeFieldType = types.TimeFieldType(jtv) } - case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6014,6 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimestampFormat = ptr.String(jtv) } - case "TimeValue": if value != nil { jtv, ok := value.(string) @@ -6296,7 +6022,6 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimeValue = ptr.String(jtv) } - case "VersionValue": if value != nil { jtv, ok := value.(string) @@ -6305,7 +6030,6 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.VersionValue = ptr.String(jtv) } - default: _, _ = key, value @@ -6345,7 +6069,6 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6354,7 +6077,6 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } - default: _, _ = key, value @@ -6462,7 +6184,6 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6471,7 +6192,6 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } - default: _, _ = key, value @@ -6547,7 +6267,6 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.BucketName = ptr.String(jtv) } - case "BucketOwner": if value != nil { jtv, ok := value.(string) @@ -6556,7 +6275,6 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.BucketOwner = ptr.String(jtv) } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -6565,7 +6283,6 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.OutputFormat = types.S3OutputFormat(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -6574,7 +6291,6 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -6614,7 +6330,6 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6623,7 +6338,6 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6843,12 +6557,10 @@ func awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationVpc(v ** if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroup, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -6878,15 +6590,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6894,7 +6600,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6903,7 +6608,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6912,7 +6616,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6921,7 +6624,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6930,15 +6632,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6973,7 +6671,6 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureName = ptr.String(jtv) } - case "MeasureValue": if value != nil { jtv, ok := value.(string) @@ -6982,7 +6679,6 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureValue = ptr.String(jtv) } - case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -6991,7 +6687,6 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureValueType = types.MeasureValueType(jtv) } - default: _, _ = key, value @@ -7209,7 +6904,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7218,7 +6912,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7318,15 +7011,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7334,7 +7021,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7343,7 +7029,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7356,7 +7041,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7365,15 +7049,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7398,20 +7078,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7419,15 +7092,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7462,7 +7131,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7471,7 +7139,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/polly/deserializers.go b/service/polly/deserializers.go index e0246aab0a2..b2d28b3ea63 100644 --- a/service/polly/deserializers.go +++ b/service/polly/deserializers.go @@ -270,12 +270,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVoicesOutput(v **DescribeVoicesOu } sv.NextToken = ptr.String(jtv) } - case "Voices": if err := awsRestjson1_deserializeDocumentVoiceList(&sv.Voices, value); err != nil { return err } - default: _, _ = key, value @@ -430,12 +428,10 @@ func awsRestjson1_deserializeOpDocumentGetLexiconOutput(v **GetLexiconOutput, va if err := awsRestjson1_deserializeDocumentLexicon(&sv.Lexicon, value); err != nil { return err } - case "LexiconAttributes": if err := awsRestjson1_deserializeDocumentLexiconAttributes(&sv.LexiconAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -593,7 +589,6 @@ func awsRestjson1_deserializeOpDocumentGetSpeechSynthesisTaskOutput(v **GetSpeec if err := awsRestjson1_deserializeDocumentSynthesisTask(&sv.SynthesisTask, value); err != nil { return err } - default: _, _ = key, value @@ -748,7 +743,6 @@ func awsRestjson1_deserializeOpDocumentListLexiconsOutput(v **ListLexiconsOutput if err := awsRestjson1_deserializeDocumentLexiconDescriptionList(&sv.Lexicons, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -757,7 +751,6 @@ func awsRestjson1_deserializeOpDocumentListLexiconsOutput(v **ListLexiconsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -916,12 +909,10 @@ func awsRestjson1_deserializeOpDocumentListSpeechSynthesisTasksOutput(v **ListSp } sv.NextToken = ptr.String(jtv) } - case "SynthesisTasks": if err := awsRestjson1_deserializeDocumentSynthesisTasks(&sv.SynthesisTasks, value); err != nil { return err } - default: _, _ = key, value @@ -1212,7 +1203,6 @@ func awsRestjson1_deserializeOpDocumentStartSpeechSynthesisTaskOutput(v **StartS if err := awsRestjson1_deserializeDocumentSynthesisTask(&sv.SynthesisTask, value); err != nil { return err } - default: _, _ = key, value @@ -2186,15 +2176,9 @@ func awsRestjson1_deserializeDocumentEngineNotSupportedException(v **types.Engin sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2202,15 +2186,11 @@ func awsRestjson1_deserializeDocumentEngineNotSupportedException(v **types.Engin } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2235,15 +2215,9 @@ func awsRestjson1_deserializeDocumentInvalidLexiconException(v **types.InvalidLe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2251,15 +2225,11 @@ func awsRestjson1_deserializeDocumentInvalidLexiconException(v **types.InvalidLe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2284,15 +2254,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2300,15 +2264,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2333,15 +2293,9 @@ func awsRestjson1_deserializeDocumentInvalidS3BucketException(v **types.InvalidS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2349,15 +2303,11 @@ func awsRestjson1_deserializeDocumentInvalidS3BucketException(v **types.InvalidS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2382,15 +2332,9 @@ func awsRestjson1_deserializeDocumentInvalidS3KeyException(v **types.InvalidS3Ke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2398,15 +2342,11 @@ func awsRestjson1_deserializeDocumentInvalidS3KeyException(v **types.InvalidS3Ke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2431,15 +2371,9 @@ func awsRestjson1_deserializeDocumentInvalidSampleRateException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2447,15 +2381,11 @@ func awsRestjson1_deserializeDocumentInvalidSampleRateException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2480,15 +2410,9 @@ func awsRestjson1_deserializeDocumentInvalidSnsTopicArnException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2496,15 +2420,11 @@ func awsRestjson1_deserializeDocumentInvalidSnsTopicArnException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2529,15 +2449,9 @@ func awsRestjson1_deserializeDocumentInvalidSsmlException(v **types.InvalidSsmlE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2545,15 +2459,11 @@ func awsRestjson1_deserializeDocumentInvalidSsmlException(v **types.InvalidSsmlE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2578,15 +2488,9 @@ func awsRestjson1_deserializeDocumentInvalidTaskIdException(v **types.InvalidTas sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2594,15 +2498,11 @@ func awsRestjson1_deserializeDocumentInvalidTaskIdException(v **types.InvalidTas } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2663,15 +2563,9 @@ func awsRestjson1_deserializeDocumentLanguageNotSupportedException(v **types.Lan sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2679,15 +2573,11 @@ func awsRestjson1_deserializeDocumentLanguageNotSupportedException(v **types.Lan } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2722,7 +2612,6 @@ func awsRestjson1_deserializeDocumentLexicon(v **types.Lexicon, value interface{ } sv.Content = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2731,7 +2620,6 @@ func awsRestjson1_deserializeDocumentLexicon(v **types.Lexicon, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2771,7 +2659,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.Alphabet = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -2780,7 +2667,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -2796,7 +2682,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } } - case "LexemesCount": if value != nil { jtv, ok := value.(json.Number) @@ -2809,7 +2694,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LexemesCount = int32(i64) } - case "LexiconArn": if value != nil { jtv, ok := value.(string) @@ -2818,7 +2702,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LexiconArn = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -2831,7 +2714,6 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.Size = int32(i64) } - default: _, _ = key, value @@ -2867,7 +2749,6 @@ func awsRestjson1_deserializeDocumentLexiconDescription(v **types.LexiconDescrip if err := awsRestjson1_deserializeDocumentLexiconAttributes(&sv.Attributes, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2876,7 +2757,6 @@ func awsRestjson1_deserializeDocumentLexiconDescription(v **types.LexiconDescrip } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2976,15 +2856,9 @@ func awsRestjson1_deserializeDocumentLexiconNotFoundException(v **types.LexiconN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2992,15 +2866,11 @@ func awsRestjson1_deserializeDocumentLexiconNotFoundException(v **types.LexiconN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3025,15 +2895,9 @@ func awsRestjson1_deserializeDocumentLexiconSizeExceededException(v **types.Lexi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3041,15 +2905,11 @@ func awsRestjson1_deserializeDocumentLexiconSizeExceededException(v **types.Lexi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3074,15 +2934,9 @@ func awsRestjson1_deserializeDocumentMarksNotSupportedForFormatException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3090,15 +2944,11 @@ func awsRestjson1_deserializeDocumentMarksNotSupportedForFormatException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3123,15 +2973,9 @@ func awsRestjson1_deserializeDocumentMaxLexemeLengthExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3139,15 +2983,11 @@ func awsRestjson1_deserializeDocumentMaxLexemeLengthExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3172,15 +3012,9 @@ func awsRestjson1_deserializeDocumentMaxLexiconsNumberExceededException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3188,15 +3022,11 @@ func awsRestjson1_deserializeDocumentMaxLexiconsNumberExceededException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3221,15 +3051,9 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3237,15 +3061,11 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3306,15 +3126,9 @@ func awsRestjson1_deserializeDocumentSsmlMarksNotSupportedForTextTypeException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3322,15 +3136,11 @@ func awsRestjson1_deserializeDocumentSsmlMarksNotSupportedForTextTypeException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3372,7 +3182,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -3381,7 +3190,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.Engine = types.Engine(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3390,12 +3198,10 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.LanguageCode = types.LanguageCode(jtv) } - case "LexiconNames": if err := awsRestjson1_deserializeDocumentLexiconNameList(&sv.LexiconNames, value); err != nil { return err } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -3404,7 +3210,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.OutputFormat = types.OutputFormat(jtv) } - case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3218,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.OutputUri = ptr.String(jtv) } - case "RequestCharacters": if value != nil { jtv, ok := value.(json.Number) @@ -3426,7 +3230,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.RequestCharacters = int32(i64) } - case "SampleRate": if value != nil { jtv, ok := value.(string) @@ -3435,7 +3238,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.SampleRate = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -3444,12 +3246,10 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.SnsTopicArn = ptr.String(jtv) } - case "SpeechMarkTypes": if err := awsRestjson1_deserializeDocumentSpeechMarkTypeList(&sv.SpeechMarkTypes, value); err != nil { return err } - case "TaskId": if value != nil { jtv, ok := value.(string) @@ -3458,7 +3258,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskId = ptr.String(jtv) } - case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -3467,7 +3266,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskStatus = types.TaskStatus(jtv) } - case "TaskStatusReason": if value != nil { jtv, ok := value.(string) @@ -3476,7 +3274,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskStatusReason = ptr.String(jtv) } - case "TextType": if value != nil { jtv, ok := value.(string) @@ -3485,7 +3282,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TextType = types.TextType(jtv) } - case "VoiceId": if value != nil { jtv, ok := value.(string) @@ -3494,7 +3290,6 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.VoiceId = types.VoiceId(jtv) } - default: _, _ = key, value @@ -3524,15 +3319,9 @@ func awsRestjson1_deserializeDocumentSynthesisTaskNotFoundException(v **types.Sy sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3540,15 +3329,11 @@ func awsRestjson1_deserializeDocumentSynthesisTaskNotFoundException(v **types.Sy } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3607,15 +3392,9 @@ func awsRestjson1_deserializeDocumentTextLengthExceededException(v **types.TextL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3623,15 +3402,11 @@ func awsRestjson1_deserializeDocumentTextLengthExceededException(v **types.TextL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3656,15 +3431,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsAlphabetException(v **types.U sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3672,15 +3441,11 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsAlphabetException(v **types.U } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3705,15 +3470,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsLanguageException(v **types.U sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3721,15 +3480,11 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsLanguageException(v **types.U } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3760,7 +3515,6 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e if err := awsRestjson1_deserializeDocumentLanguageCodeList(&sv.AdditionalLanguageCodes, value); err != nil { return err } - case "Gender": if value != nil { jtv, ok := value.(string) @@ -3769,7 +3523,6 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Gender = types.Gender(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3778,7 +3531,6 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Id = types.VoiceId(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3787,7 +3539,6 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.LanguageCode = types.LanguageCode(jtv) } - case "LanguageName": if value != nil { jtv, ok := value.(string) @@ -3796,7 +3547,6 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.LanguageName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3805,12 +3555,10 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Name = ptr.String(jtv) } - case "SupportedEngines": if err := awsRestjson1_deserializeDocumentEngineList(&sv.SupportedEngines, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/pricing/deserializers.go b/service/pricing/deserializers.go index fbf396fa61c..815be032d88 100644 --- a/service/pricing/deserializers.go +++ b/service/pricing/deserializers.go @@ -965,15 +965,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -981,15 +975,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1060,7 +1050,6 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1124,15 +1113,9 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1140,15 +1123,11 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1209,15 +1188,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1225,15 +1198,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1258,15 +1227,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1274,15 +1237,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1307,15 +1266,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1323,15 +1276,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1356,15 +1305,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1372,15 +1315,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1415,12 +1354,10 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.CurrencyCode = ptr.String(jtv) } - case "FileFormats": if err := awsAwsjson11_deserializeDocumentFileFormats(&sv.FileFormats, value); err != nil { return err } - case "PriceListArn": if value != nil { jtv, ok := value.(string) @@ -1429,7 +1366,6 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.PriceListArn = ptr.String(jtv) } - case "RegionCode": if value != nil { jtv, ok := value.(string) @@ -1438,7 +1374,6 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.RegionCode = ptr.String(jtv) } - default: _, _ = key, value @@ -1538,15 +1473,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1554,15 +1483,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1593,7 +1518,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentAttributeNameList(&sv.AttributeNames, value); err != nil { return err } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -1602,7 +1526,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value @@ -1666,15 +1589,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1682,15 +1599,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1725,7 +1638,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic } sv.FormatVersion = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1734,12 +1646,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic } sv.NextToken = ptr.String(jtv) } - case "Services": if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -1775,7 +1685,6 @@ func awsAwsjson11_deserializeOpDocumentGetAttributeValuesOutput(v **GetAttribute if err := awsAwsjson11_deserializeDocumentAttributeValueList(&sv.AttributeValues, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1784,7 +1693,6 @@ func awsAwsjson11_deserializeOpDocumentGetAttributeValuesOutput(v **GetAttribute } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1824,7 +1732,6 @@ func awsAwsjson11_deserializeOpDocumentGetPriceListFileUrlOutput(v **GetPriceLis } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -1864,7 +1771,6 @@ func awsAwsjson11_deserializeOpDocumentGetProductsOutput(v **GetProductsOutput, } sv.FormatVersion = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1873,12 +1779,10 @@ func awsAwsjson11_deserializeOpDocumentGetProductsOutput(v **GetProductsOutput, } sv.NextToken = ptr.String(jtv) } - case "PriceList": if err := awsAwsjson11_deserializeDocumentPriceListJsonItems(&sv.PriceList, value); err != nil { return err } - default: _, _ = key, value @@ -1918,12 +1822,10 @@ func awsAwsjson11_deserializeOpDocumentListPriceListsOutput(v **ListPriceListsOu } sv.NextToken = ptr.String(jtv) } - case "PriceLists": if err := awsAwsjson11_deserializeDocumentPriceLists(&sv.PriceLists, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/privatenetworks/deserializers.go b/service/privatenetworks/deserializers.go index 3da9497afc3..beba1bf3533 100644 --- a/service/privatenetworks/deserializers.go +++ b/service/privatenetworks/deserializers.go @@ -179,7 +179,6 @@ func awsRestjson1_deserializeOpDocumentAcknowledgeOrderReceiptOutput(v **Acknowl if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } - default: _, _ = key, value @@ -337,12 +336,10 @@ func awsRestjson1_deserializeOpDocumentActivateDeviceIdentifierOutput(v **Activa if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -500,7 +497,6 @@ func awsRestjson1_deserializeOpDocumentActivateNetworkSiteOutput(v **ActivateNet if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - default: _, _ = key, value @@ -658,7 +654,6 @@ func awsRestjson1_deserializeOpDocumentConfigureAccessPointOutput(v **ConfigureA if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.AccessPoint, value); err != nil { return err } - default: _, _ = key, value @@ -816,12 +811,10 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -979,12 +972,10 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkSiteOutput(v **CreateNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1142,7 +1133,6 @@ func awsRestjson1_deserializeOpDocumentDeactivateDeviceIdentifierOutput(v **Deac if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -1303,7 +1293,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } - default: _, _ = key, value @@ -1464,7 +1453,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkSiteOutput(v **DeleteNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - default: _, _ = key, value @@ -1622,12 +1610,10 @@ func awsRestjson1_deserializeOpDocumentGetDeviceIdentifierOutput(v **GetDeviceId if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1785,12 +1771,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkOutput(v **GetNetworkOutput, va if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1948,12 +1932,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceOutput(v **GetNetworkRe if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.NetworkResource, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2111,12 +2093,10 @@ func awsRestjson1_deserializeOpDocumentGetNetworkSiteOutput(v **GetNetworkSiteOu if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2274,12 +2254,10 @@ func awsRestjson1_deserializeOpDocumentGetOrderOutput(v **GetOrderOutput, value if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2437,7 +2415,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceIdentifiersOutput(v **ListDevic if err := awsRestjson1_deserializeDocumentDeviceIdentifierList(&sv.DeviceIdentifiers, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2446,7 +2423,6 @@ func awsRestjson1_deserializeOpDocumentListDeviceIdentifiersOutput(v **ListDevic } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2604,7 +2580,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkResourcesOutput(v **ListNetwor if err := awsRestjson1_deserializeDocumentNetworkResourceList(&sv.NetworkResources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2613,7 +2588,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkResourcesOutput(v **ListNetwor } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2771,7 +2745,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocumentNetworkList(&sv.Networks, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2780,7 +2753,6 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2938,7 +2910,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkSitesOutput(v **ListNetworkSit if err := awsRestjson1_deserializeDocumentNetworkSiteList(&sv.NetworkSites, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2947,7 +2918,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkSitesOutput(v **ListNetworkSit } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3109,12 +3079,10 @@ func awsRestjson1_deserializeOpDocumentListOrdersOutput(v **ListOrdersOutput, va } sv.NextToken = ptr.String(jtv) } - case "orders": if err := awsRestjson1_deserializeDocumentOrderList(&sv.Orders, value); err != nil { return err } - default: _, _ = key, value @@ -3278,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3434,7 +3401,6 @@ func awsRestjson1_deserializeOpDocumentPingOutput(v **PingOutput, value interfac } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -3592,7 +3558,6 @@ func awsRestjson1_deserializeOpDocumentStartNetworkResourceUpdateOutput(v **Star if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.NetworkResource, value); err != nil { return err } - default: _, _ = key, value @@ -3950,12 +3915,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSiteOutput(v **UpdateNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4113,12 +4076,10 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSitePlanOutput(v **UpdateNet if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4384,15 +4345,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4400,15 +4355,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4443,7 +4394,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "company": if value != nil { jtv, ok := value.(string) @@ -4452,7 +4402,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Company = ptr.String(jtv) } - case "country": if value != nil { jtv, ok := value.(string) @@ -4461,7 +4410,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -4470,7 +4418,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.EmailAddress = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4479,7 +4426,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Name = ptr.String(jtv) } - case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -4488,7 +4434,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PhoneNumber = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -4497,7 +4442,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "stateOrProvince": if value != nil { jtv, ok := value.(string) @@ -4506,7 +4450,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrProvince = ptr.String(jtv) } - case "street1": if value != nil { jtv, ok := value.(string) @@ -4515,7 +4458,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street1 = ptr.String(jtv) } - case "street2": if value != nil { jtv, ok := value.(string) @@ -4524,7 +4466,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street2 = ptr.String(jtv) } - case "street3": if value != nil { jtv, ok := value.(string) @@ -4533,7 +4474,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street3 = ptr.String(jtv) } - default: _, _ = key, value @@ -4573,7 +4513,6 @@ func awsRestjson1_deserializeDocumentCommitmentConfiguration(v **types.Commitmen } sv.AutomaticRenewal = ptr.Bool(jtv) } - case "commitmentLength": if value != nil { jtv, ok := value.(string) @@ -4582,7 +4521,6 @@ func awsRestjson1_deserializeDocumentCommitmentConfiguration(v **types.Commitmen } sv.CommitmentLength = types.CommitmentLength(jtv) } - default: _, _ = key, value @@ -4618,7 +4556,6 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI if err := awsRestjson1_deserializeDocumentCommitmentConfiguration(&sv.CommitmentConfiguration, value); err != nil { return err } - case "expiresOn": if value != nil { jtv, ok := value.(string) @@ -4631,7 +4568,6 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI } sv.ExpiresOn = ptr.Time(t) } - case "startAt": if value != nil { jtv, ok := value.(string) @@ -4644,7 +4580,6 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI } sv.StartAt = ptr.Time(t) } - default: _, _ = key, value @@ -4688,7 +4623,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.CreatedAt = ptr.Time(t) } - case "deviceIdentifierArn": if value != nil { jtv, ok := value.(string) @@ -4697,7 +4631,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.DeviceIdentifierArn = ptr.String(jtv) } - case "iccid": if value != nil { jtv, ok := value.(string) @@ -4706,7 +4639,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Iccid = ptr.String(jtv) } - case "imsi": if value != nil { jtv, ok := value.(string) @@ -4715,7 +4647,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Imsi = ptr.String(jtv) } - case "networkArn": if value != nil { jtv, ok := value.(string) @@ -4724,7 +4655,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.NetworkArn = ptr.String(jtv) } - case "orderArn": if value != nil { jtv, ok := value.(string) @@ -4733,7 +4663,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.OrderArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4742,7 +4671,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Status = types.DeviceIdentifierStatus(jtv) } - case "trafficGroupArn": if value != nil { jtv, ok := value.(string) @@ -4751,7 +4679,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.TrafficGroupArn = ptr.String(jtv) } - case "vendor": if value != nil { jtv, ok := value.(string) @@ -4760,7 +4687,6 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Vendor = ptr.String(jtv) } - default: _, _ = key, value @@ -4824,15 +4750,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4840,7 +4760,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4853,15 +4772,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4886,15 +4801,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4902,15 +4811,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4945,7 +4850,6 @@ func awsRestjson1_deserializeDocumentNameValuePair(v **types.NameValuePair, valu } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -4954,7 +4858,6 @@ func awsRestjson1_deserializeDocumentNameValuePair(v **types.NameValuePair, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5032,7 +4935,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5041,7 +4943,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Description = ptr.String(jtv) } - case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5050,7 +4951,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.NetworkArn = ptr.String(jtv) } - case "networkName": if value != nil { jtv, ok := value.(string) @@ -5059,7 +4959,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.NetworkName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5068,7 +4967,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Status = types.NetworkStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5077,7 +4975,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5147,12 +5044,10 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, if err := awsRestjson1_deserializeDocumentNameValuePairs(&sv.Attributes, value); err != nil { return err } - case "commitmentInformation": if err := awsRestjson1_deserializeDocumentCommitmentInformation(&sv.CommitmentInformation, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5165,7 +5060,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5174,7 +5068,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Description = ptr.String(jtv) } - case "health": if value != nil { jtv, ok := value.(string) @@ -5183,7 +5076,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Health = types.HealthStatus(jtv) } - case "model": if value != nil { jtv, ok := value.(string) @@ -5192,7 +5084,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Model = ptr.String(jtv) } - case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5201,7 +5092,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkArn = ptr.String(jtv) } - case "networkResourceArn": if value != nil { jtv, ok := value.(string) @@ -5210,7 +5100,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkResourceArn = ptr.String(jtv) } - case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5219,7 +5108,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkSiteArn = ptr.String(jtv) } - case "orderArn": if value != nil { jtv, ok := value.(string) @@ -5228,17 +5116,14 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.OrderArn = ptr.String(jtv) } - case "position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } - case "returnInformation": if err := awsRestjson1_deserializeDocumentReturnInformation(&sv.ReturnInformation, value); err != nil { return err } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -5247,7 +5132,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.SerialNumber = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5256,7 +5140,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Status = types.NetworkResourceStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5265,7 +5148,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.StatusReason = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5274,7 +5156,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Type = types.NetworkResourceType(jtv) } - case "vendor": if value != nil { jtv, ok := value.(string) @@ -5283,7 +5164,6 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Vendor = ptr.String(jtv) } - default: _, _ = key, value @@ -5327,12 +5207,10 @@ func awsRestjson1_deserializeDocumentNetworkResourceDefinition(v **types.Network } sv.Count = ptr.Int32(int32(i64)) } - case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5219,6 @@ func awsRestjson1_deserializeDocumentNetworkResourceDefinition(v **types.Network } sv.Type = types.NetworkResourceDefinitionType(jtv) } - default: _, _ = key, value @@ -5449,7 +5326,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.AvailabilityZone = ptr.String(jtv) } - case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -5458,7 +5334,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.AvailabilityZoneId = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5471,12 +5346,10 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.CreatedAt = ptr.Time(t) } - case "currentPlan": if err := awsRestjson1_deserializeDocumentSitePlan(&sv.CurrentPlan, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -5485,7 +5358,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.Description = ptr.String(jtv) } - case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5494,7 +5366,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkArn = ptr.String(jtv) } - case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5503,7 +5374,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkSiteArn = ptr.String(jtv) } - case "networkSiteName": if value != nil { jtv, ok := value.(string) @@ -5512,12 +5382,10 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkSiteName = ptr.String(jtv) } - case "pendingPlan": if err := awsRestjson1_deserializeDocumentSitePlan(&sv.PendingPlan, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5526,7 +5394,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.Status = types.NetworkSiteStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5535,7 +5402,6 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -5643,7 +5509,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.AcknowledgmentStatus = types.AcknowledgmentStatus(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5656,7 +5521,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.CreatedAt = ptr.Time(t) } - case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5665,7 +5529,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.NetworkArn = ptr.String(jtv) } - case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5674,7 +5537,6 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.NetworkSiteArn = ptr.String(jtv) } - case "orderArn": if value != nil { jtv, ok := value.(string) @@ -5683,22 +5545,18 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderArn = ptr.String(jtv) } - case "orderedResources": if err := awsRestjson1_deserializeDocumentOrderedResourceDefinitions(&sv.OrderedResources, value); err != nil { return err } - case "shippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } - case "trackingInformation": if err := awsRestjson1_deserializeDocumentTrackingInformationList(&sv.TrackingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -5734,7 +5592,6 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered if err := awsRestjson1_deserializeDocumentCommitmentConfiguration(&sv.CommitmentConfiguration, value); err != nil { return err } - case "count": if value != nil { jtv, ok := value.(json.Number) @@ -5747,7 +5604,6 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered } sv.Count = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5756,7 +5612,6 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered } sv.Type = types.NetworkResourceDefinitionType(jtv) } - default: _, _ = key, value @@ -5889,7 +5744,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } - case "elevationReference": if value != nil { jtv, ok := value.(string) @@ -5898,7 +5752,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.ElevationReference = types.ElevationReference(jtv) } - case "elevationUnit": if value != nil { jtv, ok := value.(string) @@ -5907,7 +5760,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.ElevationUnit = types.ElevationUnit(jtv) } - case "latitude": if value != nil { switch jtv := value.(type) { @@ -5941,7 +5793,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } - case "longitude": if value != nil { switch jtv := value.(type) { @@ -5975,7 +5826,6 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } - default: _, _ = key, value @@ -6005,15 +5855,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6021,7 +5865,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6030,7 +5873,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6039,15 +5881,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6082,7 +5920,6 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ReplacementOrderArn = ptr.String(jtv) } - case "returnReason": if value != nil { jtv, ok := value.(string) @@ -6091,12 +5928,10 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ReturnReason = ptr.String(jtv) } - case "shippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } - case "shippingLabel": if value != nil { jtv, ok := value.(string) @@ -6105,7 +5940,6 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ShippingLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -6141,12 +5975,10 @@ func awsRestjson1_deserializeDocumentSitePlan(v **types.SitePlan, value interfac if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "resourceDefinitions": if err := awsRestjson1_deserializeDocumentNetworkResourceDefinitions(&sv.ResourceDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -6212,15 +6044,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6228,15 +6054,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6271,7 +6093,6 @@ func awsRestjson1_deserializeDocumentTrackingInformation(v **types.TrackingInfor } sv.TrackingNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6335,20 +6156,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6356,7 +6170,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6365,15 +6178,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6408,7 +6217,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6417,7 +6225,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/proton/deserializers.go b/service/proton/deserializers.go index fa64dfb79e6..803d9ef2f24 100644 --- a/service/proton/deserializers.go +++ b/service/proton/deserializers.go @@ -11133,15 +11133,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11149,15 +11143,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11192,12 +11182,10 @@ func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PipelineCodebuildRoleArn = ptr.String(jtv) } - case "pipelineProvisioningRepository": if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.PipelineProvisioningRepository, value); err != nil { return err } - case "pipelineServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11206,7 +11194,6 @@ func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PipelineServiceRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11246,7 +11233,6 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.Com } sv.MajorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -11255,7 +11241,6 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.Com } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -11329,7 +11314,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11345,7 +11329,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11354,7 +11337,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11363,7 +11345,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11372,7 +11353,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Description = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -11381,7 +11361,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.EnvironmentName = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11390,7 +11369,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastClientRequestToken": if value != nil { jtv, ok := value.(string) @@ -11399,7 +11377,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastClientRequestToken = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -11415,7 +11392,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -11431,7 +11407,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -11447,7 +11422,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11456,7 +11430,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11465,7 +11438,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } - case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -11474,7 +11446,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11483,7 +11454,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceName = ptr.String(jtv) } - case "serviceSpec": if value != nil { jtv, ok := value.(string) @@ -11492,7 +11462,6 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceSpec = ptr.String(jtv) } - default: _, _ = key, value @@ -11568,7 +11537,6 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11577,7 +11545,6 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceName = ptr.String(jtv) } - case "serviceSpec": if value != nil { jtv, ok := value.(string) @@ -11586,7 +11553,6 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceSpec = ptr.String(jtv) } - case "templateFile": if value != nil { jtv, ok := value.(string) @@ -11595,7 +11561,6 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.TemplateFile = ptr.String(jtv) } - default: _, _ = key, value @@ -11635,7 +11600,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11651,7 +11615,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11660,7 +11623,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11669,7 +11631,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -11678,7 +11639,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.EnvironmentName = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11687,7 +11647,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -11703,7 +11662,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -11719,7 +11677,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -11735,7 +11692,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11744,7 +11700,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11753,7 +11708,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } - case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -11762,7 +11716,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11771,7 +11724,6 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -11835,15 +11787,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11851,15 +11797,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11890,37 +11832,30 @@ func awsAwsjson10_deserializeDocumentCountsSummary(v **types.CountsSummary, valu if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Components, value); err != nil { return err } - case "environments": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Environments, value); err != nil { return err } - case "environmentTemplates": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.EnvironmentTemplates, value); err != nil { return err } - case "pipelines": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Pipelines, value); err != nil { return err } - case "serviceInstances": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.ServiceInstances, value); err != nil { return err } - case "services": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Services, value); err != nil { return err } - case "serviceTemplates": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.ServiceTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -11960,7 +11895,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Arn = ptr.String(jtv) } - case "completedAt": if value != nil { switch jtv := value.(type) { @@ -11976,7 +11910,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -11985,7 +11918,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ComponentName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12001,7 +11933,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12010,7 +11941,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12019,7 +11949,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12028,7 +11957,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12037,12 +11965,10 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } - case "initialState": if err := awsAwsjson10_deserializeDocumentDeploymentState(&sv.InitialState, value); err != nil { return err } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12051,7 +11977,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12067,7 +11992,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12076,7 +12000,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -12085,7 +12008,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -12094,7 +12016,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ServiceName = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12103,7 +12024,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetArn = ptr.String(jtv) } - case "targetResourceCreatedAt": if value != nil { switch jtv := value.(type) { @@ -12119,7 +12039,6 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -12128,12 +12047,10 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetResourceType = types.DeploymentTargetResourceType(jtv) } - case "targetState": if err := awsAwsjson10_deserializeDocumentDeploymentState(&sv.TargetState, value); err != nil { return err } - default: _, _ = key, value @@ -12243,7 +12160,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Arn = ptr.String(jtv) } - case "completedAt": if value != nil { switch jtv := value.(type) { @@ -12259,7 +12175,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "componentName": if value != nil { jtv, ok := value.(string) @@ -12268,7 +12183,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ComponentName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12284,7 +12198,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12293,7 +12206,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12302,7 +12214,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12311,7 +12222,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Id = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12320,7 +12230,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12336,7 +12245,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12345,7 +12253,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -12354,7 +12261,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -12363,7 +12269,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ServiceName = ptr.String(jtv) } - case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12372,7 +12277,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.TargetArn = ptr.String(jtv) } - case "targetResourceCreatedAt": if value != nil { switch jtv := value.(type) { @@ -12388,7 +12292,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } - case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -12397,7 +12300,6 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.TargetResourceType = types.DeploymentTargetResourceType(jtv) } - default: _, _ = key, value @@ -12471,7 +12373,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } - case "codebuildRoleArn": if value != nil { jtv, ok := value.(string) @@ -12480,7 +12381,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.CodebuildRoleArn = ptr.String(jtv) } - case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12489,7 +12389,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ComponentRoleArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12505,7 +12404,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12514,7 +12412,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12523,7 +12420,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12532,7 +12428,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } - case "environmentAccountConnectionId": if value != nil { jtv, ok := value.(string) @@ -12541,7 +12436,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentAccountConnectionId = ptr.String(jtv) } - case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12550,7 +12444,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentAccountId = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12559,7 +12452,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -12575,7 +12467,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -12591,7 +12482,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12600,7 +12490,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12609,7 +12498,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "protonServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -12618,7 +12506,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ProtonServiceRoleArn = ptr.String(jtv) } - case "provisioning": if value != nil { jtv, ok := value.(string) @@ -12627,12 +12514,10 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Provisioning = types.Provisioning(jtv) } - case "provisioningRepository": if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.ProvisioningRepository, value); err != nil { return err } - case "spec": if value != nil { jtv, ok := value.(string) @@ -12641,7 +12526,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -12650,7 +12534,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -12659,7 +12542,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -12668,7 +12550,6 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -12708,7 +12589,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Arn = ptr.String(jtv) } - case "codebuildRoleArn": if value != nil { jtv, ok := value.(string) @@ -12717,7 +12597,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.CodebuildRoleArn = ptr.String(jtv) } - case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12726,7 +12605,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.ComponentRoleArn = ptr.String(jtv) } - case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12735,7 +12613,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.EnvironmentAccountId = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12744,7 +12621,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12753,7 +12629,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Id = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12769,7 +12644,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } } - case "managementAccountId": if value != nil { jtv, ok := value.(string) @@ -12778,7 +12652,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.ManagementAccountId = ptr.String(jtv) } - case "requestedAt": if value != nil { switch jtv := value.(type) { @@ -12794,7 +12667,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12803,7 +12675,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12812,7 +12683,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Status = types.EnvironmentAccountConnectionStatus(jtv) } - default: _, _ = key, value @@ -12852,7 +12722,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Arn = ptr.String(jtv) } - case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12861,7 +12730,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.ComponentRoleArn = ptr.String(jtv) } - case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12870,7 +12738,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.EnvironmentAccountId = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12879,7 +12746,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.EnvironmentName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12888,7 +12754,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Id = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12904,7 +12769,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } } - case "managementAccountId": if value != nil { jtv, ok := value.(string) @@ -12913,7 +12777,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.ManagementAccountId = ptr.String(jtv) } - case "requestedAt": if value != nil { switch jtv := value.(type) { @@ -12929,7 +12792,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12938,7 +12800,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12947,7 +12808,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Status = types.EnvironmentAccountConnectionStatus(jtv) } - default: _, _ = key, value @@ -13021,7 +12881,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -13030,7 +12889,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13039,7 +12897,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -13048,7 +12905,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -13088,7 +12944,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } - case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -13097,7 +12952,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ComponentRoleArn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13113,7 +12967,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -13122,7 +12975,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -13131,7 +12983,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -13140,7 +12991,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } - case "environmentAccountConnectionId": if value != nil { jtv, ok := value.(string) @@ -13149,7 +12999,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentAccountConnectionId = ptr.String(jtv) } - case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -13158,7 +13007,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentAccountId = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13167,7 +13015,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -13183,7 +13030,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -13199,7 +13045,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13208,7 +13053,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13217,7 +13061,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } - case "protonServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -13226,7 +13069,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ProtonServiceRoleArn = ptr.String(jtv) } - case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13235,7 +13077,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Provisioning = types.Provisioning(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -13244,7 +13085,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13253,7 +13093,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -13262,7 +13101,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -13336,7 +13174,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13352,7 +13189,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13361,7 +13197,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -13370,7 +13205,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.DisplayName = ptr.String(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -13379,7 +13213,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.EncryptionKey = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13395,7 +13228,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13404,7 +13236,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Name = ptr.String(jtv) } - case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13413,7 +13244,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Provisioning = types.Provisioning(jtv) } - case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -13422,7 +13252,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.RecommendedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -13462,7 +13291,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13478,7 +13306,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13487,7 +13314,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -13496,7 +13322,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.DisplayName = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13512,7 +13337,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13521,7 +13345,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Name = ptr.String(jtv) } - case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13530,7 +13353,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Provisioning = types.Provisioning(jtv) } - case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -13539,7 +13361,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.RecommendedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -13613,7 +13434,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13629,7 +13449,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13638,7 +13457,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13654,7 +13472,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } } - case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -13663,7 +13480,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.MajorVersion = ptr.String(jtv) } - case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -13672,7 +13488,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.MinorVersion = ptr.String(jtv) } - case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13681,7 +13496,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.RecommendedMinorVersion = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -13690,7 +13504,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Schema = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13699,7 +13512,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Status = types.TemplateVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -13708,7 +13520,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.StatusMessage = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -13717,7 +13528,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -13757,7 +13567,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13773,7 +13582,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } } - case "description": if value != nil { jtv, ok := value.(string) @@ -13782,7 +13590,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13798,7 +13605,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } } - case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -13807,7 +13613,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.MajorVersion = ptr.String(jtv) } - case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -13816,7 +13621,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.MinorVersion = ptr.String(jtv) } - case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13825,7 +13629,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.RecommendedMinorVersion = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13834,7 +13637,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Status = types.TemplateVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -13843,7 +13645,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.StatusMessage = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -13852,7 +13653,6 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -13916,15 +13716,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13932,15 +13726,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14009,7 +13799,6 @@ func awsAwsjson10_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Key = ptr.String(jtv) } - case "valueString": if value != nil { jtv, ok := value.(string) @@ -14018,7 +13807,6 @@ func awsAwsjson10_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.ValueString = ptr.String(jtv) } - default: _, _ = key, value @@ -14092,7 +13880,6 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.Identifier = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14101,7 +13888,6 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.Name = ptr.String(jtv) } - case "provisioningEngine": if value != nil { jtv, ok := value.(string) @@ -14110,7 +13896,6 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.ProvisioningEngine = types.ProvisionedResourceEngine(jtv) } - default: _, _ = key, value @@ -14184,7 +13969,6 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Arn = ptr.String(jtv) } - case "connectionArn": if value != nil { jtv, ok := value.(string) @@ -14193,7 +13977,6 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.ConnectionArn = ptr.String(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -14202,7 +13985,6 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.EncryptionKey = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14211,7 +13993,6 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -14220,7 +14001,6 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Provider = types.RepositoryProvider(jtv) } - default: _, _ = key, value @@ -14260,7 +14040,6 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Arn = ptr.String(jtv) } - case "branch": if value != nil { jtv, ok := value.(string) @@ -14269,7 +14048,6 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Branch = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14278,7 +14056,6 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -14287,7 +14064,6 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Provider = types.RepositoryProvider(jtv) } - default: _, _ = key, value @@ -14327,7 +14103,6 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Arn = ptr.String(jtv) } - case "connectionArn": if value != nil { jtv, ok := value.(string) @@ -14336,7 +14111,6 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.ConnectionArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14345,7 +14119,6 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Name = ptr.String(jtv) } - case "provider": if value != nil { jtv, ok := value.(string) @@ -14354,7 +14127,6 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Provider = types.RepositoryProvider(jtv) } - default: _, _ = key, value @@ -14424,7 +14196,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEvents(&sv.Events, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14440,7 +14211,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } - case "status": if value != nil { jtv, ok := value.(string) @@ -14449,7 +14219,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } - default: _, _ = key, value @@ -14489,7 +14258,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } - case "directory": if value != nil { jtv, ok := value.(string) @@ -14498,7 +14266,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } - case "parent": if value != nil { jtv, ok := value.(string) @@ -14507,7 +14274,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -14516,7 +14282,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -14590,7 +14355,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -14599,7 +14363,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } - case "time": if value != nil { switch jtv := value.(type) { @@ -14615,7 +14378,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } - case "type": if value != nil { jtv, ok := value.(string) @@ -14624,7 +14386,6 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -14702,7 +14463,6 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.BehindMajor = ptr.Int32(int32(i64)) } - case "behindMinor": if value != nil { jtv, ok := value.(json.Number) @@ -14715,7 +14475,6 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.BehindMinor = ptr.Int32(int32(i64)) } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -14728,7 +14487,6 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.Failed = ptr.Int32(int32(i64)) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -14741,7 +14499,6 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.Total = ptr.Int32(int32(i64)) } - case "upToDate": if value != nil { jtv, ok := value.(json.Number) @@ -14754,7 +14511,6 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.UpToDate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14784,15 +14540,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14800,15 +14550,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14839,12 +14585,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEvents(&sv.Events, value); err != nil { return err } - case "initialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14860,7 +14604,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } - case "status": if value != nil { jtv, ok := value.(string) @@ -14869,7 +14612,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } - case "target": if value != nil { jtv, ok := value.(string) @@ -14878,12 +14620,10 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } - case "targetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } - default: _, _ = key, value @@ -14923,7 +14663,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } - case "externalId": if value != nil { jtv, ok := value.(string) @@ -14932,7 +14671,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } - case "time": if value != nil { switch jtv := value.(type) { @@ -14948,7 +14686,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } - case "type": if value != nil { jtv, ok := value.(string) @@ -14957,7 +14694,6 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -15031,7 +14767,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } - case "directory": if value != nil { jtv, ok := value.(string) @@ -15040,7 +14775,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15049,7 +14783,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } - case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -15058,7 +14791,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryProvider = types.RepositoryProvider(jtv) } - case "sha": if value != nil { jtv, ok := value.(string) @@ -15067,7 +14799,6 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } - default: _, _ = key, value @@ -15107,7 +14838,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Arn = ptr.String(jtv) } - case "branchName": if value != nil { jtv, ok := value.(string) @@ -15116,7 +14846,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.BranchName = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15132,7 +14861,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } - case "description": if value != nil { jtv, ok := value.(string) @@ -15141,7 +14869,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -15157,7 +14884,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15166,12 +14892,10 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } - case "pipeline": if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } - case "repositoryConnectionArn": if value != nil { jtv, ok := value.(string) @@ -15180,7 +14904,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.RepositoryConnectionArn = ptr.String(jtv) } - case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -15189,7 +14912,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.RepositoryId = ptr.String(jtv) } - case "spec": if value != nil { jtv, ok := value.(string) @@ -15198,7 +14920,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Spec = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15207,7 +14928,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = types.ServiceStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -15216,7 +14936,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.StatusMessage = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15225,7 +14944,6 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15265,7 +14983,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15281,7 +14998,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15290,7 +15006,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15299,7 +15014,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -15308,7 +15022,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.EnvironmentName = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15317,7 +15030,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastClientRequestToken": if value != nil { jtv, ok := value.(string) @@ -15326,7 +15038,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastClientRequestToken = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15342,7 +15053,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15358,7 +15068,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15367,7 +15076,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15376,7 +15084,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Name = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15385,7 +15092,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.ServiceName = ptr.String(jtv) } - case "spec": if value != nil { jtv, ok := value.(string) @@ -15394,7 +15100,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15403,7 +15108,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15412,7 +15116,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15421,7 +15124,6 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15457,7 +15159,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta if err := awsAwsjson10_deserializeDocumentComponentDeploymentIdList(&sv.LastSuccessfulComponentDeploymentIds, value); err != nil { return err } - case "lastSuccessfulEnvironmentDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15466,7 +15167,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.LastSuccessfulEnvironmentDeploymentId = ptr.String(jtv) } - case "lastSuccessfulServicePipelineDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15475,7 +15175,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.LastSuccessfulServicePipelineDeploymentId = ptr.String(jtv) } - case "spec": if value != nil { jtv, ok := value.(string) @@ -15484,7 +15183,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15493,7 +15191,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15502,7 +15199,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15511,7 +15207,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15551,7 +15246,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15567,7 +15261,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15576,7 +15269,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15585,7 +15277,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "environmentName": if value != nil { jtv, ok := value.(string) @@ -15594,7 +15285,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.EnvironmentName = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15603,7 +15293,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15619,7 +15308,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15635,7 +15323,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15644,7 +15331,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15653,7 +15339,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.Name = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15662,7 +15347,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.ServiceName = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15671,7 +15355,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15680,7 +15363,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15689,7 +15371,6 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15763,7 +15444,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15779,7 +15459,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } - case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15788,7 +15467,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.DeploymentStatus = types.DeploymentStatus(jtv) } - case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15797,7 +15475,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.DeploymentStatusMessage = ptr.String(jtv) } - case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15806,7 +15483,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.LastAttemptedDeploymentId = ptr.String(jtv) } - case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15822,7 +15498,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } - case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15838,7 +15513,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } - case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15847,7 +15521,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.LastSucceededDeploymentId = ptr.String(jtv) } - case "spec": if value != nil { jtv, ok := value.(string) @@ -15856,7 +15529,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15865,7 +15537,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15874,7 +15545,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15883,7 +15553,6 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15923,7 +15592,6 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.Spec = ptr.String(jtv) } - case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15932,7 +15600,6 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateMajorVersion = ptr.String(jtv) } - case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15941,7 +15608,6 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateMinorVersion = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -15950,7 +15616,6 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15980,15 +15645,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15996,15 +15655,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16039,7 +15694,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16055,7 +15709,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16064,7 +15717,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16080,7 +15732,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -16089,7 +15740,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16098,7 +15748,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16107,7 +15756,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.StatusMessage = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -16116,7 +15764,6 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -16186,7 +15833,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service if err := awsAwsjson10_deserializeDocumentLatestSyncBlockers(&sv.LatestBlockers, value); err != nil { return err } - case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -16195,7 +15841,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -16204,7 +15849,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -16244,7 +15888,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.Branch = ptr.String(jtv) } - case "filePath": if value != nil { jtv, ok := value.(string) @@ -16253,7 +15896,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.FilePath = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -16262,7 +15904,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.RepositoryName = ptr.String(jtv) } - case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -16271,7 +15912,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.RepositoryProvider = types.RepositoryProvider(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -16280,7 +15920,6 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -16320,7 +15959,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16336,7 +15974,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16345,7 +15982,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -16354,7 +15990,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.DisplayName = ptr.String(jtv) } - case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -16363,7 +15998,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.EncryptionKey = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16379,7 +16013,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -16388,7 +16021,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Name = ptr.String(jtv) } - case "pipelineProvisioning": if value != nil { jtv, ok := value.(string) @@ -16397,7 +16029,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.PipelineProvisioning = types.Provisioning(jtv) } - case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -16406,7 +16037,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.RecommendedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -16446,7 +16076,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16462,7 +16091,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16471,7 +16099,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -16480,7 +16107,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.DisplayName = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16496,7 +16122,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } } - case "name": if value != nil { jtv, ok := value.(string) @@ -16505,7 +16130,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Name = ptr.String(jtv) } - case "pipelineProvisioning": if value != nil { jtv, ok := value.(string) @@ -16514,7 +16138,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.PipelineProvisioning = types.Provisioning(jtv) } - case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -16523,7 +16146,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.RecommendedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -16633,12 +16255,10 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Arn = ptr.String(jtv) } - case "compatibleEnvironmentTemplates": if err := awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplateList(&sv.CompatibleEnvironmentTemplates, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16654,7 +16274,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16663,7 +16282,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16679,7 +16297,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } } - case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -16688,7 +16305,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.MajorVersion = ptr.String(jtv) } - case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -16697,7 +16313,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.MinorVersion = ptr.String(jtv) } - case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -16706,7 +16321,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.RecommendedMinorVersion = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -16715,7 +16329,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Schema = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16724,7 +16337,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Status = types.TemplateVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16733,12 +16345,10 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.StatusMessage = ptr.String(jtv) } - case "supportedComponentSources": if err := awsAwsjson10_deserializeDocumentServiceTemplateSupportedComponentSourceInputList(&sv.SupportedComponentSources, value); err != nil { return err } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -16747,7 +16357,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -16787,7 +16396,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16803,7 +16411,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16812,7 +16419,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Description = ptr.String(jtv) } - case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16828,7 +16434,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } } - case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -16837,7 +16442,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.MajorVersion = ptr.String(jtv) } - case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -16846,7 +16450,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.MinorVersion = ptr.String(jtv) } - case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -16855,7 +16458,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.RecommendedMinorVersion = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16864,7 +16466,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Status = types.TemplateVersionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16873,7 +16474,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.StatusMessage = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -16882,7 +16482,6 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -16952,7 +16551,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContexts(&sv.Contexts, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16968,7 +16566,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "createdReason": if value != nil { jtv, ok := value.(string) @@ -16977,7 +16574,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -16986,7 +16582,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } - case "resolvedAt": if value != nil { switch jtv := value.(type) { @@ -17002,7 +16597,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } - case "resolvedReason": if value != nil { jtv, ok := value.(string) @@ -17011,7 +16605,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -17020,7 +16613,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -17029,7 +16621,6 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } - default: _, _ = key, value @@ -17069,7 +16660,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17078,7 +16668,6 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17152,7 +16741,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17161,7 +16749,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17235,7 +16822,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.Branch = ptr.String(jtv) } - case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -17244,7 +16830,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.RepositoryName = ptr.String(jtv) } - case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -17253,7 +16838,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.RepositoryProvider = types.RepositoryProvider(jtv) } - case "subdirectory": if value != nil { jtv, ok := value.(string) @@ -17262,7 +16846,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.Subdirectory = ptr.String(jtv) } - case "templateName": if value != nil { jtv, ok := value.(string) @@ -17271,7 +16854,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.TemplateName = ptr.String(jtv) } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -17280,7 +16862,6 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.TemplateType = types.TemplateType(jtv) } - default: _, _ = key, value @@ -17310,15 +16891,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17326,15 +16901,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17359,15 +16930,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17375,15 +16940,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17414,7 +16975,6 @@ func awsAwsjson10_deserializeOpDocumentAcceptEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -17450,7 +17010,6 @@ func awsAwsjson10_deserializeOpDocumentCancelComponentDeploymentOutput(v **Cance if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -17486,7 +17045,6 @@ func awsAwsjson10_deserializeOpDocumentCancelEnvironmentDeploymentOutput(v **Can if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -17522,7 +17080,6 @@ func awsAwsjson10_deserializeOpDocumentCancelServiceInstanceDeploymentOutput(v * if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -17558,7 +17115,6 @@ func awsAwsjson10_deserializeOpDocumentCancelServicePipelineDeploymentOutput(v * if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -17594,7 +17150,6 @@ func awsAwsjson10_deserializeOpDocumentCreateComponentOutput(v **CreateComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -17630,7 +17185,6 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -17666,7 +17220,6 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -17702,7 +17255,6 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateOutput(v **Creat if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -17738,7 +17290,6 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -17774,7 +17325,6 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -17810,7 +17360,6 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceInstanceOutput(v **CreateSer if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -17846,7 +17395,6 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -17882,7 +17430,6 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceSyncConfigOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -17918,7 +17465,6 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceTemplateOutput(v **CreateSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -17954,7 +17500,6 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceTemplateVersionOutput(v **Cr if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -17990,7 +17535,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTemplateSyncConfigOutput(v **Create if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18026,7 +17570,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -18062,7 +17605,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme if err := awsAwsjson10_deserializeDocumentDeployment(&sv.Deployment, value); err != nil { return err } - default: _, _ = key, value @@ -18098,7 +17640,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -18134,7 +17675,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -18170,7 +17710,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateOutput(v **Delet if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -18206,7 +17745,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -18242,7 +17780,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -18278,7 +17815,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -18314,7 +17850,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceSyncConfigOutput(v **DeleteS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18350,7 +17885,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateOutput(v **DeleteSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -18386,7 +17920,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateVersionOutput(v **De if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -18422,7 +17955,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteTemplateSyncConfigOutput(v **Delete if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -18458,7 +17990,6 @@ func awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson10_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -18494,7 +18025,6 @@ func awsAwsjson10_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -18530,7 +18060,6 @@ func awsAwsjson10_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsAwsjson10_deserializeDocumentDeployment(&sv.Deployment, value); err != nil { return err } - default: _, _ = key, value @@ -18566,7 +18095,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentAccountConnectionOutput(v * if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -18602,7 +18130,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -18638,7 +18165,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateOutput(v **GetEnvir if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -18674,7 +18200,6 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateVersionOutput(v **G if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -18710,7 +18235,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryOutput(v **GetRepositoryOutp if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } - default: _, _ = key, value @@ -18746,7 +18270,6 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -18782,7 +18305,6 @@ func awsAwsjson10_deserializeOpDocumentGetResourcesSummaryOutput(v **GetResource if err := awsAwsjson10_deserializeDocumentCountsSummary(&sv.Counts, value); err != nil { return err } - default: _, _ = key, value @@ -18818,7 +18340,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceInstanceOutput(v **GetServiceIn if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -18854,17 +18375,14 @@ func awsAwsjson10_deserializeOpDocumentGetServiceInstanceSyncStatusOutput(v **Ge if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } - case "latestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } - case "latestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -18900,7 +18418,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -18936,7 +18453,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceSyncBlockerSummaryOutput(v **Ge if err := awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(&sv.ServiceSyncBlockerSummary, value); err != nil { return err } - default: _, _ = key, value @@ -18972,7 +18488,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceSyncConfigOutput(v **GetService if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -19008,7 +18523,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceTemplateOutput(v **GetServiceTe if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -19044,7 +18558,6 @@ func awsAwsjson10_deserializeOpDocumentGetServiceTemplateVersionOutput(v **GetSe if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -19080,7 +18593,6 @@ func awsAwsjson10_deserializeOpDocumentGetTemplateSyncConfigOutput(v **GetTempla if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -19116,17 +18628,14 @@ func awsAwsjson10_deserializeOpDocumentGetTemplateSyncStatusOutput(v **GetTempla if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } - case "latestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } - case "latestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } - default: _, _ = key, value @@ -19166,12 +18675,10 @@ func awsAwsjson10_deserializeOpDocumentListComponentOutputsOutput(v **ListCompon } sv.NextToken = ptr.String(jtv) } - case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -19211,12 +18718,10 @@ func awsAwsjson10_deserializeOpDocumentListComponentProvisionedResourcesOutput(v } sv.NextToken = ptr.String(jtv) } - case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } - default: _, _ = key, value @@ -19252,7 +18757,6 @@ func awsAwsjson10_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsAwsjson10_deserializeDocumentComponentSummaryList(&sv.Components, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19261,7 +18765,6 @@ func awsAwsjson10_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19297,7 +18800,6 @@ func awsAwsjson10_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsAwsjson10_deserializeDocumentDeploymentSummaryList(&sv.Deployments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19306,7 +18808,6 @@ func awsAwsjson10_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19342,7 +18843,6 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummaryList(&sv.EnvironmentAccountConnections, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19351,7 +18851,6 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19391,12 +18890,10 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentOutputsOutput(v **ListEnvi } sv.NextToken = ptr.String(jtv) } - case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -19436,12 +18933,10 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentProvisionedResourcesOutput } sv.NextToken = ptr.String(jtv) } - case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } - default: _, _ = key, value @@ -19477,7 +18972,6 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsAwsjson10_deserializeDocumentEnvironmentSummaryList(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19486,7 +18980,6 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19526,12 +19019,10 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentTemplatesOutput(v **ListEn } sv.NextToken = ptr.String(jtv) } - case "templates": if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateSummaryList(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -19571,12 +19062,10 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentTemplateVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "templateVersions": if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummaryList(&sv.TemplateVersions, value); err != nil { return err } - default: _, _ = key, value @@ -19616,12 +19105,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } - case "repositories": if err := awsAwsjson10_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } - default: _, _ = key, value @@ -19661,12 +19148,10 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "syncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.SyncDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -19706,12 +19191,10 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstanceOutputsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -19751,12 +19234,10 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstanceProvisionedResourcesOu } sv.NextToken = ptr.String(jtv) } - case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } - default: _, _ = key, value @@ -19796,12 +19277,10 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstancesOutput(v **ListServic } sv.NextToken = ptr.String(jtv) } - case "serviceInstances": if err := awsAwsjson10_deserializeDocumentServiceInstanceSummaryList(&sv.ServiceInstances, value); err != nil { return err } - default: _, _ = key, value @@ -19841,12 +19320,10 @@ func awsAwsjson10_deserializeOpDocumentListServicePipelineOutputsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -19886,12 +19363,10 @@ func awsAwsjson10_deserializeOpDocumentListServicePipelineProvisionedResourcesOu } sv.NextToken = ptr.String(jtv) } - case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } - default: _, _ = key, value @@ -19931,12 +19406,10 @@ func awsAwsjson10_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "services": if err := awsAwsjson10_deserializeDocumentServiceSummaryList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -19976,12 +19449,10 @@ func awsAwsjson10_deserializeOpDocumentListServiceTemplatesOutput(v **ListServic } sv.NextToken = ptr.String(jtv) } - case "templates": if err := awsAwsjson10_deserializeDocumentServiceTemplateSummaryList(&sv.Templates, value); err != nil { return err } - default: _, _ = key, value @@ -20021,12 +19492,10 @@ func awsAwsjson10_deserializeOpDocumentListServiceTemplateVersionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "templateVersions": if err := awsAwsjson10_deserializeDocumentServiceTemplateVersionSummaryList(&sv.TemplateVersions, value); err != nil { return err } - default: _, _ = key, value @@ -20066,12 +19535,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20138,7 +19605,6 @@ func awsAwsjson10_deserializeOpDocumentRejectEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -20236,7 +19702,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsAwsjson10_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -20272,7 +19737,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateComponentOutput(v **UpdateComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - default: _, _ = key, value @@ -20308,7 +19772,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } - default: _, _ = key, value @@ -20344,7 +19807,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -20380,7 +19842,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateOutput(v **Updat if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -20416,7 +19877,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -20452,7 +19912,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceInstanceOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } - default: _, _ = key, value @@ -20488,7 +19947,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -20524,7 +19982,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServicePipelineOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } - default: _, _ = key, value @@ -20564,7 +20021,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncBlockerOutput(v **Update } sv.ServiceInstanceName = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -20573,12 +20029,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncBlockerOutput(v **Update } sv.ServiceName = ptr.String(jtv) } - case "serviceSyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.ServiceSyncBlocker, value); err != nil { return err } - default: _, _ = key, value @@ -20614,7 +20068,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncConfigOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } - default: _, _ = key, value @@ -20650,7 +20103,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -20686,7 +20138,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateVersionOutput(v **Up if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } - default: _, _ = key, value @@ -20722,7 +20173,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTemplateSyncConfigOutput(v **Update if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/qapps/deserializers.go b/service/qapps/deserializers.go index c6d9a7e5e3d..349b02aab06 100644 --- a/service/qapps/deserializers.go +++ b/service/qapps/deserializers.go @@ -426,7 +426,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -435,7 +434,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.CreatedBy = ptr.String(jtv) } - case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -444,7 +442,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.IsVerified = ptr.Bool(jtv) } - case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -453,7 +450,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.LibraryItemId = ptr.String(jtv) } - case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -466,7 +462,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.RatingCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -475,7 +470,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.Status = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -488,7 +482,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -497,7 +490,6 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -674,7 +666,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppArn = ptr.String(jtv) } - case "appId": if value != nil { jtv, ok := value.(string) @@ -683,7 +674,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -696,7 +686,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppVersion = ptr.Int32(int32(i64)) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -709,7 +698,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -718,7 +706,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -727,7 +714,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Description = ptr.String(jtv) } - case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -736,12 +722,10 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.InitialPrompt = ptr.String(jtv) } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -750,7 +734,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Status = types.AppStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -759,7 +742,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -772,7 +754,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -781,7 +762,6 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -1397,7 +1377,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1410,12 +1389,10 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.AppVersion = ptr.Int32(int32(i64)) } - case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1428,7 +1405,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1437,7 +1413,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.CreatedBy = ptr.String(jtv) } - case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -1446,7 +1421,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.IsRatedByUser = ptr.Bool(jtv) } - case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -1455,7 +1429,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.IsVerified = ptr.Bool(jtv) } - case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -1464,7 +1437,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.LibraryItemId = ptr.String(jtv) } - case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -1477,7 +1449,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.RatingCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1486,7 +1457,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.Status = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1508,7 +1477,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UpdatedBy = ptr.String(jtv) } - case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -1521,7 +1489,6 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UserCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1692,12 +1659,10 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppArn = ptr.String(jtv) } - case "appDefinition": if err := awsRestjson1_deserializeDocumentAppDefinition(&sv.AppDefinition, value); err != nil { return err } - case "appId": if value != nil { jtv, ok := value.(string) @@ -1706,7 +1671,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1719,7 +1683,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppVersion = ptr.Int32(int32(i64)) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1732,7 +1695,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1741,7 +1703,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1750,7 +1711,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Description = ptr.String(jtv) } - case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -1759,12 +1719,10 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.InitialPrompt = ptr.String(jtv) } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1773,7 +1731,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Status = types.AppStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -1782,7 +1739,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1795,7 +1751,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1804,7 +1759,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -1974,7 +1928,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu if err := awsRestjson1_deserializeDocumentCardStatusMap(&sv.CardStatus, value); err != nil { return err } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -1983,7 +1936,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -1992,7 +1944,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.SessionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2001,7 +1952,6 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.Status = types.ExecutionStatus(jtv) } - default: _, _ = key, value @@ -2178,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentImportDocumentOutput(v **ImportDocumentOu } sv.FileId = ptr.String(jtv) } - default: _, _ = key, value @@ -2345,7 +2294,6 @@ func awsRestjson1_deserializeOpDocumentListLibraryItemsOutput(v **ListLibraryIte if err := awsRestjson1_deserializeDocumentLibraryItemList(&sv.LibraryItems, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2354,7 +2302,6 @@ func awsRestjson1_deserializeOpDocumentListLibraryItemsOutput(v **ListLibraryIte } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2518,7 +2465,6 @@ func awsRestjson1_deserializeOpDocumentListQAppsOutput(v **ListQAppsOutput, valu if err := awsRestjson1_deserializeDocumentUserAppsList(&sv.Apps, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2527,7 +2473,6 @@ func awsRestjson1_deserializeOpDocumentListQAppsOutput(v **ListQAppsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2691,7 +2636,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2855,7 +2799,6 @@ func awsRestjson1_deserializeOpDocumentPredictQAppOutput(v **PredictQAppOutput, if err := awsRestjson1_deserializeDocumentPredictAppDefinition(&sv.App, value); err != nil { return err } - case "problemStatement": if value != nil { jtv, ok := value.(string) @@ -2864,7 +2807,6 @@ func awsRestjson1_deserializeOpDocumentPredictQAppOutput(v **PredictQAppOutput, } sv.ProblemStatement = ptr.String(jtv) } - default: _, _ = key, value @@ -3038,7 +2980,6 @@ func awsRestjson1_deserializeOpDocumentStartQAppSessionOutput(v **StartQAppSessi } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -3047,7 +2988,6 @@ func awsRestjson1_deserializeOpDocumentStartQAppSessionOutput(v **StartQAppSessi } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -3536,7 +3476,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3549,12 +3488,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.AppVersion = ptr.Int32(int32(i64)) } - case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3567,7 +3504,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3576,7 +3512,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.CreatedBy = ptr.String(jtv) } - case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -3585,7 +3520,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.IsRatedByUser = ptr.Bool(jtv) } - case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -3594,7 +3528,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.IsVerified = ptr.Bool(jtv) } - case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3536,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.LibraryItemId = ptr.String(jtv) } - case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -3616,7 +3548,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.RatingCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3625,7 +3556,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.Status = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3638,7 +3568,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -3647,7 +3576,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UpdatedBy = ptr.String(jtv) } - case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -3660,7 +3588,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UserCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3946,7 +3873,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppArn = ptr.String(jtv) } - case "appId": if value != nil { jtv, ok := value.(string) @@ -3955,7 +3881,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3968,7 +3893,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppVersion = ptr.Int32(int32(i64)) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3981,7 +3905,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3990,7 +3913,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3999,7 +3921,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Description = ptr.String(jtv) } - case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -4008,12 +3929,10 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.InitialPrompt = ptr.String(jtv) } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4022,7 +3941,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Status = types.AppStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -4031,7 +3949,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4044,7 +3961,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -4053,7 +3969,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -4227,7 +4142,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppSessionOutput(v **UpdateQAppSes } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4150,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppSessionOutput(v **UpdateQAppSes } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4630,15 +4543,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4646,15 +4553,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4689,7 +4592,6 @@ func awsRestjson1_deserializeDocumentAppDefinition(v **types.AppDefinition, valu } sv.AppDefinitionVersion = ptr.String(jtv) } - case "canEdit": if value != nil { jtv, ok := value.(bool) @@ -4698,12 +4600,10 @@ func awsRestjson1_deserializeDocumentAppDefinition(v **types.AppDefinition, valu } sv.CanEdit = ptr.Bool(jtv) } - case "cards": if err := awsRestjson1_deserializeDocumentCardModelList(&sv.Cards, value); err != nil { return err } - default: _, _ = key, value @@ -4739,7 +4639,6 @@ func awsRestjson1_deserializeDocumentAppDefinitionInput(v **types.AppDefinitionI if err := awsRestjson1_deserializeDocumentCardList(&sv.Cards, value); err != nil { return err } - case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -4748,7 +4647,6 @@ func awsRestjson1_deserializeDocumentAppDefinitionInput(v **types.AppDefinitionI } sv.InitialPrompt = ptr.String(jtv) } - default: _, _ = key, value @@ -4820,52 +4718,42 @@ func awsRestjson1_deserializeDocumentAttributeFilter(v **types.AttributeFilter, if err := awsRestjson1_deserializeDocumentAttributeFilters(&sv.AndAllFilters, value); err != nil { return err } - case "containsAll": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.ContainsAll, value); err != nil { return err } - case "containsAny": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.ContainsAny, value); err != nil { return err } - case "equalsTo": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.EqualsTo, value); err != nil { return err } - case "greaterThan": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.GreaterThan, value); err != nil { return err } - case "greaterThanOrEquals": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.GreaterThanOrEquals, value); err != nil { return err } - case "lessThan": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.LessThan, value); err != nil { return err } - case "lessThanOrEquals": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.LessThanOrEquals, value); err != nil { return err } - case "notFilter": if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.NotFilter, value); err != nil { return err } - case "orAllFilters": if err := awsRestjson1_deserializeDocumentAttributeFilters(&sv.OrAllFilters, value); err != nil { return err } - default: _, _ = key, value @@ -5143,7 +5031,6 @@ func awsRestjson1_deserializeDocumentCardStatus(v **types.CardStatus, value inte } sv.CurrentState = types.ExecutionStatus(jtv) } - case "currentValue": if value != nil { jtv, ok := value.(string) @@ -5152,7 +5039,6 @@ func awsRestjson1_deserializeDocumentCardStatus(v **types.CardStatus, value inte } sv.CurrentValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5227,7 +5113,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Id = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -5236,7 +5121,6 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -5300,15 +5184,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5316,7 +5194,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5325,7 +5202,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5334,15 +5210,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5367,15 +5239,9 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5383,7 +5249,6 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5392,7 +5257,6 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5401,15 +5265,11 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5480,12 +5340,10 @@ func awsRestjson1_deserializeDocumentDocumentAttribute(v **types.DocumentAttribu } sv.Name = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -5646,12 +5504,10 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.AllowOverride = ptr.Bool(jtv) } - case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } - case "fileId": if value != nil { jtv, ok := value.(string) @@ -5660,7 +5516,6 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.FileId = ptr.String(jtv) } - case "filename": if value != nil { jtv, ok := value.(string) @@ -5669,7 +5524,6 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Filename = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5678,7 +5532,6 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Id = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -5687,7 +5540,6 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5696,7 +5548,6 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -5736,7 +5587,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.AllowOverride = ptr.Bool(jtv) } - case "fileId": if value != nil { jtv, ok := value.(string) @@ -5745,7 +5595,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.FileId = ptr.String(jtv) } - case "filename": if value != nil { jtv, ok := value.(string) @@ -5754,7 +5603,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Filename = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5763,7 +5611,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Id = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -5772,7 +5619,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5781,7 +5627,6 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -5811,15 +5656,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5827,7 +5666,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5840,15 +5678,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5917,7 +5751,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5930,12 +5763,10 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.AppVersion = ptr.Int32(int32(i64)) } - case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5948,7 +5779,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5957,7 +5787,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.CreatedBy = ptr.String(jtv) } - case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -5966,7 +5795,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.IsRatedByUser = ptr.Bool(jtv) } - case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -5975,7 +5803,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.IsVerified = ptr.Bool(jtv) } - case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -5984,7 +5811,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.LibraryItemId = ptr.String(jtv) } - case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -5997,7 +5823,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.RatingCount = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6006,7 +5831,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.Status = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6019,7 +5843,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UpdatedAt = ptr.Time(t) } - case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6028,7 +5851,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UpdatedBy = ptr.String(jtv) } - case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -6041,7 +5863,6 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UserCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6077,7 +5898,6 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe if err := awsRestjson1_deserializeDocumentAppDefinitionInput(&sv.AppDefinition, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -6086,7 +5906,6 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe } sv.Description = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6095,7 +5914,6 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6131,7 +5949,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6140,7 +5957,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Id = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -6149,7 +5965,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.PluginId = ptr.String(jtv) } - case "pluginType": if value != nil { jtv, ok := value.(string) @@ -6158,7 +5973,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.PluginType = types.PluginType(jtv) } - case "prompt": if value != nil { jtv, ok := value.(string) @@ -6167,7 +5981,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Prompt = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6176,7 +5989,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6185,7 +5997,6 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6225,7 +6036,6 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Id = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -6234,7 +6044,6 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.PluginId = ptr.String(jtv) } - case "prompt": if value != nil { jtv, ok := value.(string) @@ -6243,7 +6052,6 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Prompt = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6252,7 +6060,6 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6261,7 +6068,6 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6297,12 +6103,10 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.AttributeFilter, value); err != nil { return err } - case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6311,7 +6115,6 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Id = ptr.String(jtv) } - case "outputSource": if value != nil { jtv, ok := value.(string) @@ -6320,7 +6123,6 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.OutputSource = types.CardOutputSource(jtv) } - case "prompt": if value != nil { jtv, ok := value.(string) @@ -6329,7 +6131,6 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Prompt = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6338,7 +6139,6 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6347,7 +6147,6 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6383,7 +6182,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.AttributeFilter, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6392,7 +6190,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Id = ptr.String(jtv) } - case "outputSource": if value != nil { jtv, ok := value.(string) @@ -6401,7 +6198,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.OutputSource = types.CardOutputSource(jtv) } - case "prompt": if value != nil { jtv, ok := value.(string) @@ -6410,7 +6206,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Prompt = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6419,7 +6214,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6428,7 +6222,6 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6458,15 +6251,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6474,7 +6261,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6483,7 +6269,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6492,15 +6277,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6525,15 +6306,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6541,7 +6316,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6550,7 +6324,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6559,7 +6332,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6568,7 +6340,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6577,15 +6348,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6656,12 +6423,10 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.DefaultValue = ptr.String(jtv) } - case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -6670,7 +6435,6 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Id = ptr.String(jtv) } - case "placeholder": if value != nil { jtv, ok := value.(string) @@ -6679,7 +6443,6 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Placeholder = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6688,7 +6451,6 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6697,7 +6459,6 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6737,7 +6498,6 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.DefaultValue = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6746,7 +6506,6 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Id = ptr.String(jtv) } - case "placeholder": if value != nil { jtv, ok := value.(string) @@ -6755,7 +6514,6 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Placeholder = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6764,7 +6522,6 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Title = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6773,7 +6530,6 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Type = types.CardType(jtv) } - default: _, _ = key, value @@ -6803,15 +6559,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6819,7 +6569,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6828,7 +6577,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6841,7 +6589,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6850,15 +6597,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6883,15 +6626,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6899,15 +6636,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6942,7 +6675,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.AppArn = ptr.String(jtv) } - case "appId": if value != nil { jtv, ok := value.(string) @@ -6951,7 +6683,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.AppId = ptr.String(jtv) } - case "canEdit": if value != nil { jtv, ok := value.(bool) @@ -6960,7 +6691,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.CanEdit = ptr.Bool(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6973,7 +6703,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.CreatedAt = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6982,7 +6711,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Description = ptr.String(jtv) } - case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -6991,7 +6719,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.IsVerified = jtv } - case "status": if value != nil { jtv, ok := value.(string) @@ -7000,7 +6727,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Status = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -7009,7 +6735,6 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -7073,15 +6798,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7089,15 +6808,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/qbusiness/deserializers.go b/service/qbusiness/deserializers.go index 4c37b5fd2af..d80ce2bc59c 100644 --- a/service/qbusiness/deserializers.go +++ b/service/qbusiness/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDocumentOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -361,7 +360,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutDocumentOutput(v **BatchPutDocume if err := awsRestjson1_deserializeDocumentFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -637,12 +635,10 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value if err := awsRestjson1_deserializeDocumentActionReview(&sv.ActionReview, value); err != nil { return err } - case "authChallengeRequest": if err := awsRestjson1_deserializeDocumentAuthChallengeRequest(&sv.AuthChallengeRequest, value); err != nil { return err } - case "conversationId": if value != nil { jtv, ok := value.(string) @@ -651,17 +647,14 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.ConversationId = ptr.String(jtv) } - case "failedAttachments": if err := awsRestjson1_deserializeDocumentAttachmentsOutput(&sv.FailedAttachments, value); err != nil { return err } - case "sourceAttributions": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttributions, value); err != nil { return err } - case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -670,7 +663,6 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.SystemMessage = ptr.String(jtv) } - case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -679,7 +671,6 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.SystemMessageId = ptr.String(jtv) } - case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -688,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.UserMessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -862,7 +852,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -871,7 +860,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - default: _, _ = key, value @@ -1045,7 +1033,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceArn = ptr.String(jtv) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -1054,7 +1041,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1228,7 +1214,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.IndexArn = ptr.String(jtv) } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -1237,7 +1222,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.IndexId = ptr.String(jtv) } - default: _, _ = key, value @@ -1411,7 +1395,6 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.BuildStatus = types.PluginBuildStatus(jtv) } - case "pluginArn": if value != nil { jtv, ok := value.(string) @@ -1420,7 +1403,6 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.PluginArn = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -1429,7 +1411,6 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.PluginId = ptr.String(jtv) } - default: _, _ = key, value @@ -1603,7 +1584,6 @@ func awsRestjson1_deserializeOpDocumentCreateRetrieverOutput(v **CreateRetriever } sv.RetrieverArn = ptr.String(jtv) } - case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -1612,7 +1592,6 @@ func awsRestjson1_deserializeOpDocumentCreateRetrieverOutput(v **CreateRetriever } sv.RetrieverId = ptr.String(jtv) } - default: _, _ = key, value @@ -1892,7 +1871,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebExperienceOutput(v **CreateWebEx } sv.WebExperienceArn = ptr.String(jtv) } - case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -1901,7 +1879,6 @@ func awsRestjson1_deserializeOpDocumentCreateWebExperienceOutput(v **CreateWebEx } sv.WebExperienceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3096,7 +3073,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationArn = ptr.String(jtv) } - case "applicationId": if value != nil { jtv, ok := value.(string) @@ -3105,22 +3081,18 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } - case "attachmentsConfiguration": if err := awsRestjson1_deserializeDocumentAppliedAttachmentsConfiguration(&sv.AttachmentsConfiguration, value); err != nil { return err } - case "autoSubscriptionConfiguration": if err := awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(&sv.AutoSubscriptionConfiguration, value); err != nil { return err } - case "clientIdsForOIDC": if err := awsRestjson1_deserializeDocumentClientIdsForOIDC(&sv.ClientIdsForOIDC, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3136,7 +3108,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - case "description": if value != nil { jtv, ok := value.(string) @@ -3145,7 +3116,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -3154,17 +3124,14 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.DisplayName = ptr.String(jtv) } - case "encryptionConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "iamIdentityProviderArn": if value != nil { jtv, ok := value.(string) @@ -3173,7 +3140,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IamIdentityProviderArn = ptr.String(jtv) } - case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -3182,7 +3148,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IdentityCenterApplicationArn = ptr.String(jtv) } - case "identityType": if value != nil { jtv, ok := value.(string) @@ -3191,17 +3156,14 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IdentityType = types.IdentityType(jtv) } - case "personalizationConfiguration": if err := awsRestjson1_deserializeDocumentPersonalizationConfiguration(&sv.PersonalizationConfiguration, value); err != nil { return err } - case "qAppsConfiguration": if err := awsRestjson1_deserializeDocumentQAppsConfiguration(&sv.QAppsConfiguration, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3210,7 +3172,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3219,7 +3180,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3235,7 +3195,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } - default: _, _ = key, value @@ -3399,12 +3358,10 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(&sv.BlockedPhrases, value); err != nil { return err } - case "creatorModeConfiguration": if err := awsRestjson1_deserializeDocumentAppliedCreatorModeConfiguration(&sv.CreatorModeConfiguration, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3370,6 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - case "responseScope": if value != nil { jtv, ok := value.(string) @@ -3422,12 +3378,10 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge } sv.ResponseScope = types.ResponseScope(jtv) } - case "topicConfigurations": if err := awsRestjson1_deserializeDocumentTopicConfigurations(&sv.TopicConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -3595,12 +3549,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ApplicationId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3616,7 +3568,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "dataSourceArn": if value != nil { jtv, ok := value.(string) @@ -3625,7 +3576,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceArn = ptr.String(jtv) } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -3634,7 +3584,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3643,7 +3592,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -3652,17 +3600,14 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DisplayName = ptr.String(jtv) } - case "documentEnrichmentConfiguration": if err := awsRestjson1_deserializeDocumentDocumentEnrichmentConfiguration(&sv.DocumentEnrichmentConfiguration, value); err != nil { return err } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -3671,7 +3616,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.IndexId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3680,7 +3624,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3689,7 +3632,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } - case "syncSchedule": if value != nil { jtv, ok := value.(string) @@ -3698,7 +3640,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.SyncSchedule = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3707,7 +3648,6 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3723,12 +3663,10 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } - case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3895,12 +3833,10 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroupStatusDetail(&sv.Status, value); err != nil { return err } - case "statusHistory": if err := awsRestjson1_deserializeDocumentGroupStatusDetails(&sv.StatusHistory, value); err != nil { return err } - default: _, _ = key, value @@ -4068,12 +4004,10 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.ApplicationId = ptr.String(jtv) } - case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentIndexCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4089,7 +4023,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4098,7 +4031,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -4107,17 +4039,14 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.DisplayName = ptr.String(jtv) } - case "documentAttributeConfigurations": if err := awsRestjson1_deserializeDocumentDocumentAttributeConfigurations(&sv.DocumentAttributeConfigurations, value); err != nil { return err } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "indexArn": if value != nil { jtv, ok := value.(string) @@ -4126,7 +4055,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.IndexArn = ptr.String(jtv) } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -4135,12 +4063,10 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.IndexId = ptr.String(jtv) } - case "indexStatistics": if err := awsRestjson1_deserializeDocumentIndexStatistics(&sv.IndexStatistics, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4149,7 +4075,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Status = types.IndexStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4158,7 +4083,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Type = types.IndexType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4174,7 +4098,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } } - default: _, _ = key, value @@ -4342,12 +4265,10 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.ApplicationId = ptr.String(jtv) } - case "authConfiguration": if err := awsRestjson1_deserializeDocumentPluginAuthConfiguration(&sv.AuthConfiguration, value); err != nil { return err } - case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -4356,7 +4277,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.BuildStatus = types.PluginBuildStatus(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4372,12 +4292,10 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } } - case "customPluginConfiguration": if err := awsRestjson1_deserializeDocumentCustomPluginConfiguration(&sv.CustomPluginConfiguration, value); err != nil { return err } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -4386,7 +4304,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.DisplayName = ptr.String(jtv) } - case "pluginArn": if value != nil { jtv, ok := value.(string) @@ -4395,7 +4312,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.PluginArn = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -4404,7 +4320,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.PluginId = ptr.String(jtv) } - case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4328,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.ServerUrl = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -4422,7 +4336,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.State = types.PluginState(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4431,7 +4344,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.Type = types.PluginType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4447,7 +4359,6 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } } - default: _, _ = key, value @@ -4615,12 +4526,10 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.ApplicationId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentRetrieverConfiguration(&sv.Configuration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4636,7 +4545,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -4645,7 +4553,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.DisplayName = ptr.String(jtv) } - case "retrieverArn": if value != nil { jtv, ok := value.(string) @@ -4654,7 +4561,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RetrieverArn = ptr.String(jtv) } - case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -4663,7 +4569,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RetrieverId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4672,7 +4577,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RoleArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4681,7 +4585,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.Status = types.RetrieverStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4690,7 +4593,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.Type = types.RetrieverType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4706,7 +4608,6 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } } - default: _, _ = key, value @@ -4873,7 +4774,6 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliases, value); err != nil { return err } - default: _, _ = key, value @@ -5041,12 +4941,10 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.ApplicationId = ptr.String(jtv) } - case "authenticationConfiguration": if err := awsRestjson1_deserializeDocumentWebExperienceAuthConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5062,7 +4960,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } } - case "defaultEndpoint": if value != nil { jtv, ok := value.(string) @@ -5071,22 +4968,18 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.DefaultEndpoint = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "identityProviderConfiguration": if err := awsRestjson1_deserializeDocumentIdentityProviderConfiguration(&sv.IdentityProviderConfiguration, value); err != nil { return err } - case "origins": if err := awsRestjson1_deserializeDocumentWebExperienceOrigins(&sv.Origins, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5095,7 +4988,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.RoleArn = ptr.String(jtv) } - case "samplePromptsControlMode": if value != nil { jtv, ok := value.(string) @@ -5104,7 +4996,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.SamplePromptsControlMode = types.WebExperienceSamplePromptsControlMode(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5113,7 +5004,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Status = types.WebExperienceStatus(jtv) } - case "subtitle": if value != nil { jtv, ok := value.(string) @@ -5122,7 +5012,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Subtitle = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -5131,7 +5020,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5147,7 +5035,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } } - case "webExperienceArn": if value != nil { jtv, ok := value.(string) @@ -5156,7 +5043,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WebExperienceArn = ptr.String(jtv) } - case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -5165,7 +5051,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WebExperienceId = ptr.String(jtv) } - case "welcomeMessage": if value != nil { jtv, ok := value.(string) @@ -5174,7 +5059,6 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WelcomeMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5335,7 +5219,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5344,7 +5227,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5511,7 +5393,6 @@ func awsRestjson1_deserializeOpDocumentListConversationsOutput(v **ListConversat if err := awsRestjson1_deserializeDocumentConversations(&sv.Conversations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5520,7 +5401,6 @@ func awsRestjson1_deserializeOpDocumentListConversationsOutput(v **ListConversat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5684,7 +5564,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5693,7 +5572,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5857,7 +5735,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData if err := awsRestjson1_deserializeDocumentDataSourceSyncJobs(&sv.History, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5743,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6030,7 +5906,6 @@ func awsRestjson1_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp if err := awsRestjson1_deserializeDocumentDocumentDetailList(&sv.DocumentDetailList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6039,7 +5914,6 @@ func awsRestjson1_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6206,7 +6080,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6215,7 +6088,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6379,7 +6251,6 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsRestjson1_deserializeDocumentIndices(&sv.Indices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6388,7 +6259,6 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6555,7 +6425,6 @@ func awsRestjson1_deserializeOpDocumentListMessagesOutput(v **ListMessagesOutput if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6564,7 +6433,6 @@ func awsRestjson1_deserializeOpDocumentListMessagesOutput(v **ListMessagesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6732,12 +6600,10 @@ func awsRestjson1_deserializeOpDocumentListPluginsOutput(v **ListPluginsOutput, } sv.NextToken = ptr.String(jtv) } - case "plugins": if err := awsRestjson1_deserializeDocumentPlugins(&sv.Plugins, value); err != nil { return err } - default: _, _ = key, value @@ -6905,12 +6771,10 @@ func awsRestjson1_deserializeOpDocumentListRetrieversOutput(v **ListRetrieversOu } sv.NextToken = ptr.String(jtv) } - case "retrievers": if err := awsRestjson1_deserializeDocumentRetrievers(&sv.Retrievers, value); err != nil { return err } - default: _, _ = key, value @@ -7074,7 +6938,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7242,12 +7105,10 @@ func awsRestjson1_deserializeOpDocumentListWebExperiencesOutput(v **ListWebExper } sv.NextToken = ptr.String(jtv) } - case "webExperiences": if err := awsRestjson1_deserializeDocumentWebExperiences(&sv.WebExperiences, value); err != nil { return err } - default: _, _ = key, value @@ -7633,7 +7494,6 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceSyncJobOutput(v **StartDat } sv.ExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8733,17 +8593,14 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesAdded, value); err != nil { return err } - case "userAliasesDeleted": if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesDeleted, value); err != nil { return err } - case "userAliasesUpdated": if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesUpdated, value); err != nil { return err } - default: _, _ = key, value @@ -9184,12 +9041,10 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.ConversationId = ptr.String(jtv) } - case "payload": if err := awsRestjson1_deserializeDocumentActionReviewPayload(&sv.Payload, value); err != nil { return err } - case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -9198,7 +9053,6 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PayloadFieldNameSeparator = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -9207,7 +9061,6 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PluginId = ptr.String(jtv) } - case "pluginType": if value != nil { jtv, ok := value.(string) @@ -9216,7 +9069,6 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PluginType = types.PluginType(jtv) } - case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9225,7 +9077,6 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.SystemMessageId = ptr.String(jtv) } - case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9234,7 +9085,6 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.UserMessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -9309,17 +9159,14 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.AllowedFormat = ptr.String(jtv) } - case "allowedValues": if err := awsRestjson1_deserializeDocumentActionReviewPayloadFieldAllowedValues(&sv.AllowedValues, value); err != nil { return err } - case "arrayItemJsonSchema": if err := awsRestjson1_deserializeDocumentActionReviewPayloadFieldArrayItemJsonSchema(&sv.ArrayItemJsonSchema, value); err != nil { return err } - case "displayDescription": if value != nil { jtv, ok := value.(string) @@ -9328,7 +9175,6 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayDescription = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -9337,7 +9183,6 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayName = ptr.String(jtv) } - case "displayOrder": if value != nil { jtv, ok := value.(json.Number) @@ -9350,7 +9195,6 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayOrder = ptr.Int32(int32(i64)) } - case "required": if value != nil { jtv, ok := value.(bool) @@ -9359,7 +9203,6 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.Required = ptr.Bool(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9368,12 +9211,10 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.Type = types.ActionPayloadFieldType(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -9409,12 +9250,10 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadFieldAllowedValue(v **ty if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.DisplayValue, value); err != nil { return err } - case "value": if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -9492,7 +9331,6 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9501,7 +9339,6 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9510,7 +9347,6 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput } sv.Status = types.AttachmentStatus(jtv) } - default: _, _ = key, value @@ -9550,7 +9386,6 @@ func awsRestjson1_deserializeDocumentAuthChallengeRequestEvent(v **types.AuthCha } sv.AuthorizationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9590,7 +9425,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9599,7 +9433,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9635,7 +9468,6 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac if err := awsRestjson1_deserializeDocumentAttachmentOutput(&sv.Attachment, value); err != nil { return err } - case "conversationId": if value != nil { jtv, ok := value.(string) @@ -9644,7 +9476,6 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.ConversationId = ptr.String(jtv) } - case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9653,7 +9484,6 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.SystemMessageId = ptr.String(jtv) } - case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9662,7 +9492,6 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.UserMessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -9702,7 +9531,6 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.ConversationId = ptr.String(jtv) } - case "finalTextMessage": if value != nil { jtv, ok := value.(string) @@ -9711,12 +9539,10 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.FinalTextMessage = ptr.String(jtv) } - case "sourceAttributions": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttributions, value); err != nil { return err } - case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9725,7 +9551,6 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.SystemMessageId = ptr.String(jtv) } - case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9734,7 +9559,6 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.UserMessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -9774,7 +9598,6 @@ func awsRestjson1_deserializeDocumentSnippetExcerpt(v **types.SnippetExcerpt, va } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -9818,7 +9641,6 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.CitationNumber = ptr.Int32(int32(i64)) } - case "snippet": if value != nil { jtv, ok := value.(string) @@ -9827,12 +9649,10 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Snippet = ptr.String(jtv) } - case "textMessageSegments": if err := awsRestjson1_deserializeDocumentTextSegmentList(&sv.TextMessageSegments, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -9841,7 +9661,6 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Title = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9857,7 +9676,6 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } } - case "url": if value != nil { jtv, ok := value.(string) @@ -9866,7 +9684,6 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -9938,7 +9755,6 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.ConversationId = ptr.String(jtv) } - case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -9947,7 +9763,6 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.SystemMessage = ptr.String(jtv) } - case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9956,7 +9771,6 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.SystemMessageId = ptr.String(jtv) } - case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9779,6 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.UserMessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -10009,7 +9822,6 @@ func awsRestjson1_deserializeDocumentTextSegment(v **types.TextSegment, value in } sv.BeginOffset = ptr.Int32(int32(i64)) } - case "endOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10022,12 +9834,10 @@ func awsRestjson1_deserializeDocumentTextSegment(v **types.TextSegment, value in } sv.EndOffset = ptr.Int32(int32(i64)) } - case "snippetExcerpt": if err := awsRestjson1_deserializeDocumentSnippetExcerpt(&sv.SnippetExcerpt, value); err != nil { return err } - default: _, _ = key, value @@ -10379,15 +10189,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10395,15 +10199,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10434,7 +10234,6 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, if err := awsRestjson1_deserializeDocumentActionExecutionPayload(&sv.Payload, value); err != nil { return err } - case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -10443,7 +10242,6 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PayloadFieldNameSeparator = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -10452,7 +10250,6 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PluginId = ptr.String(jtv) } - default: _, _ = key, value @@ -10523,7 +10320,6 @@ func awsRestjson1_deserializeDocumentActionExecutionPayloadField(v **types.Actio if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -10559,7 +10355,6 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value if err := awsRestjson1_deserializeDocumentActionReviewPayload(&sv.Payload, value); err != nil { return err } - case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -10568,7 +10363,6 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PayloadFieldNameSeparator = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -10577,7 +10371,6 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PluginId = ptr.String(jtv) } - case "pluginType": if value != nil { jtv, ok := value.(string) @@ -10586,7 +10379,6 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PluginType = types.PluginType(jtv) } - default: _, _ = key, value @@ -10678,7 +10470,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationId = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10694,7 +10485,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -10703,7 +10493,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.DisplayName = ptr.String(jtv) } - case "identityType": if value != nil { jtv, ok := value.(string) @@ -10712,7 +10501,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.IdentityType = types.IdentityType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10721,7 +10509,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10737,7 +10524,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } - default: _, _ = key, value @@ -10811,7 +10597,6 @@ func awsRestjson1_deserializeDocumentAppliedAttachmentsConfiguration(v **types.A } sv.AttachmentsControlMode = types.AttachmentsControlMode(jtv) } - default: _, _ = key, value @@ -10851,7 +10636,6 @@ func awsRestjson1_deserializeDocumentAppliedCreatorModeConfiguration(v **types.A } sv.CreatorModeControl = types.CreatorModeControl(jtv) } - default: _, _ = key, value @@ -10925,7 +10709,6 @@ func awsRestjson1_deserializeDocumentAuthChallengeRequest(v **types.AuthChalleng } sv.AuthorizationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10965,7 +10748,6 @@ func awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(v **types.Aut } sv.AutoSubscribe = types.AutoSubscriptionStatus(jtv) } - case "defaultSubscriptionType": if value != nil { jtv, ok := value.(string) @@ -10974,7 +10756,6 @@ func awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(v **types.Aut } sv.DefaultSubscriptionType = types.SubscriptionType(jtv) } - default: _, _ = key, value @@ -11014,7 +10795,6 @@ func awsRestjson1_deserializeDocumentBasicAuthConfiguration(v **types.BasicAuthC } sv.RoleArn = ptr.String(jtv) } - case "secretArn": if value != nil { jtv, ok := value.(string) @@ -11023,7 +10803,6 @@ func awsRestjson1_deserializeDocumentBasicAuthConfiguration(v **types.BasicAuthC } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11095,7 +10874,6 @@ func awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(v **types.Block if err := awsRestjson1_deserializeDocumentBlockedPhrases(&sv.BlockedPhrases, value); err != nil { return err } - case "systemMessageOverride": if value != nil { jtv, ok := value.(string) @@ -11104,7 +10882,6 @@ func awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(v **types.Block } sv.SystemMessageOverride = ptr.String(jtv) } - default: _, _ = key, value @@ -11170,15 +10947,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11186,7 +10957,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11195,7 +10965,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11204,15 +10973,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11247,7 +11012,6 @@ func awsRestjson1_deserializeDocumentContentBlockerRule(v **types.ContentBlocker } sv.SystemMessageOverride = ptr.String(jtv) } - default: _, _ = key, value @@ -11283,7 +11047,6 @@ func awsRestjson1_deserializeDocumentContentRetrievalRule(v **types.ContentRetri if err := awsRestjson1_deserializeDocumentEligibleDataSources(&sv.EligibleDataSources, value); err != nil { return err } - default: _, _ = key, value @@ -11323,7 +11086,6 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } sv.ConversationId = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11339,7 +11101,6 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } } - case "title": if value != nil { jtv, ok := value.(string) @@ -11348,7 +11109,6 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -11418,7 +11178,6 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP if err := awsRestjson1_deserializeDocumentAPISchema(&sv.ApiSchema, value); err != nil { return err } - case "apiSchemaType": if value != nil { jtv, ok := value.(string) @@ -11427,7 +11186,6 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP } sv.ApiSchemaType = types.APISchemaType(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11436,7 +11194,6 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -11483,7 +11240,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -11492,7 +11248,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -11501,7 +11256,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DisplayName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11510,7 +11264,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.DataSourceStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11519,7 +11272,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = ptr.String(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -11535,7 +11287,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } - default: _, _ = key, value @@ -11617,7 +11368,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.DataSourceErrorCode = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -11633,12 +11383,10 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "executionId": if value != nil { jtv, ok := value.(string) @@ -11647,12 +11395,10 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ExecutionId = ptr.String(jtv) } - case "metrics": if err := awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(&sv.Metrics, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11668,7 +11414,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11677,7 +11422,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.Status = types.DataSourceSyncJobStatus(jtv) } - default: _, _ = key, value @@ -11717,7 +11461,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsAdded = ptr.String(jtv) } - case "documentsDeleted": if value != nil { jtv, ok := value.(string) @@ -11726,7 +11469,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsDeleted = ptr.String(jtv) } - case "documentsFailed": if value != nil { jtv, ok := value.(string) @@ -11735,7 +11477,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsFailed = ptr.String(jtv) } - case "documentsModified": if value != nil { jtv, ok := value.(string) @@ -11744,7 +11485,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsModified = ptr.String(jtv) } - case "documentsScanned": if value != nil { jtv, ok := value.(string) @@ -11753,7 +11493,6 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsScanned = ptr.String(jtv) } - default: _, _ = key, value @@ -11823,12 +11562,10 @@ func awsRestjson1_deserializeDocumentDataSourceVpcConfiguration(v **types.DataSo if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -11872,7 +11609,6 @@ func awsRestjson1_deserializeDocumentDateAttributeBoostingConfiguration(v **type } sv.BoostingDurationInSeconds = ptr.Int64(i64) } - case "boostingLevel": if value != nil { jtv, ok := value.(string) @@ -11881,7 +11617,6 @@ func awsRestjson1_deserializeDocumentDateAttributeBoostingConfiguration(v **type } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } - default: _, _ = key, value @@ -12025,7 +11760,6 @@ func awsRestjson1_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Key = ptr.String(jtv) } - case "operator": if value != nil { jtv, ok := value.(string) @@ -12034,12 +11768,10 @@ func awsRestjson1_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Operator = types.DocumentEnrichmentConditionOperator(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -12079,7 +11811,6 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Name = ptr.String(jtv) } - case "search": if value != nil { jtv, ok := value.(string) @@ -12088,7 +11819,6 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Search = types.Status(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12097,7 +11827,6 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Type = types.AttributeType(jtv) } - default: _, _ = key, value @@ -12207,7 +11936,6 @@ func awsRestjson1_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.AttributeValueOperator = types.AttributeValueOperator(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -12216,12 +11944,10 @@ func awsRestjson1_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.Key = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -12387,7 +12113,6 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } } - case "documentId": if value != nil { jtv, ok := value.(string) @@ -12396,12 +12121,10 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } sv.DocumentId = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12410,7 +12133,6 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } sv.Status = types.DocumentStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -12426,7 +12148,6 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } } - default: _, _ = key, value @@ -12462,17 +12183,14 @@ func awsRestjson1_deserializeDocumentDocumentEnrichmentConfiguration(v **types.D if err := awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfigurations(&sv.InlineConfigurations, value); err != nil { return err } - case "postExtractionHookConfiguration": if err := awsRestjson1_deserializeDocumentHookConfiguration(&sv.PostExtractionHookConfiguration, value); err != nil { return err } - case "preExtractionHookConfiguration": if err := awsRestjson1_deserializeDocumentHookConfiguration(&sv.PreExtractionHookConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12512,7 +12230,6 @@ func awsRestjson1_deserializeDocumentEligibleDataSource(v **types.EligibleDataSo } sv.DataSourceId = ptr.String(jtv) } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -12521,7 +12238,6 @@ func awsRestjson1_deserializeDocumentEligibleDataSource(v **types.EligibleDataSo } sv.IndexId = ptr.String(jtv) } - default: _, _ = key, value @@ -12595,7 +12311,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -12671,12 +12386,10 @@ func awsRestjson1_deserializeDocumentFailedDocument(v **types.FailedDocument, va } sv.DataSourceId = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12685,7 +12398,6 @@ func awsRestjson1_deserializeDocumentFailedDocument(v **types.FailedDocument, va } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -12755,7 +12467,6 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12771,7 +12482,6 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta } } - case "status": if value != nil { jtv, ok := value.(string) @@ -12780,7 +12490,6 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta } sv.Status = types.GroupStatus(jtv) } - default: _, _ = key, value @@ -12854,7 +12563,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12924,7 +12632,6 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati if err := awsRestjson1_deserializeDocumentDocumentAttributeCondition(&sv.InvocationCondition, value); err != nil { return err } - case "lambdaArn": if value != nil { jtv, ok := value.(string) @@ -12933,7 +12640,6 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.LambdaArn = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12942,7 +12648,6 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.RoleArn = ptr.String(jtv) } - case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -12951,7 +12656,6 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.S3BucketName = ptr.String(jtv) } - default: _, _ = key, value @@ -13048,7 +12752,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -13057,7 +12760,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -13066,7 +12768,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.IndexId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13075,7 +12776,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Status = types.IndexStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13091,7 +12791,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } } - default: _, _ = key, value @@ -13135,7 +12834,6 @@ func awsRestjson1_deserializeDocumentIndexCapacityConfiguration(v **types.IndexC } sv.Units = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13171,7 +12869,6 @@ func awsRestjson1_deserializeDocumentIndexStatistics(v **types.IndexStatistics, if err := awsRestjson1_deserializeDocumentTextDocumentStatistics(&sv.TextDocumentStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -13241,7 +12938,6 @@ func awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfiguration(v **t if err := awsRestjson1_deserializeDocumentDocumentAttributeCondition(&sv.Condition, value); err != nil { return err } - case "documentContentOperator": if value != nil { jtv, ok := value.(string) @@ -13250,12 +12946,10 @@ func awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfiguration(v **t } sv.DocumentContentOperator = types.DocumentContentOperator(jtv) } - case "target": if err := awsRestjson1_deserializeDocumentDocumentAttributeTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -13319,15 +13013,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13335,15 +13023,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13378,7 +13062,6 @@ func awsRestjson1_deserializeDocumentKendraIndexConfiguration(v **types.KendraIn } sv.IndexId = ptr.String(jtv) } - default: _, _ = key, value @@ -13408,15 +13091,9 @@ func awsRestjson1_deserializeDocumentLicenseNotFoundException(v **types.LicenseN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13424,15 +13101,11 @@ func awsRestjson1_deserializeDocumentLicenseNotFoundException(v **types.LicenseN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13463,17 +13136,14 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentActionExecution(&sv.ActionExecution, value); err != nil { return err } - case "actionReview": if err := awsRestjson1_deserializeDocumentActionReview(&sv.ActionReview, value); err != nil { return err } - case "attachments": if err := awsRestjson1_deserializeDocumentAttachmentsOutput(&sv.Attachments, value); err != nil { return err } - case "body": if value != nil { jtv, ok := value.(string) @@ -13482,7 +13152,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } - case "messageId": if value != nil { jtv, ok := value.(string) @@ -13491,12 +13160,10 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageId = ptr.String(jtv) } - case "sourceAttribution": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttribution, value); err != nil { return err } - case "time": if value != nil { switch jtv := value.(type) { @@ -13512,7 +13179,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } } - case "type": if value != nil { jtv, ok := value.(string) @@ -13521,7 +13187,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Type = types.MessageType(jtv) } - default: _, _ = key, value @@ -13591,7 +13256,6 @@ func awsRestjson1_deserializeDocumentNativeIndexConfiguration(v **types.NativeIn if err := awsRestjson1_deserializeDocumentDocumentAttributeBoostingOverrideMap(&sv.BoostingOverride, value); err != nil { return err } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -13600,7 +13264,6 @@ func awsRestjson1_deserializeDocumentNativeIndexConfiguration(v **types.NativeIn } sv.IndexId = ptr.String(jtv) } - default: _, _ = key, value @@ -13671,7 +13334,6 @@ func awsRestjson1_deserializeDocumentNumberAttributeBoostingConfiguration(v **ty } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } - case "boostingType": if value != nil { jtv, ok := value.(string) @@ -13680,7 +13342,6 @@ func awsRestjson1_deserializeDocumentNumberAttributeBoostingConfiguration(v **ty } sv.BoostingType = types.NumberAttributeBoostingType(jtv) } - default: _, _ = key, value @@ -13720,7 +13381,6 @@ func awsRestjson1_deserializeDocumentOAuth2ClientCredentialConfiguration(v **typ } sv.RoleArn = ptr.String(jtv) } - case "secretArn": if value != nil { jtv, ok := value.(string) @@ -13729,7 +13389,6 @@ func awsRestjson1_deserializeDocumentOAuth2ClientCredentialConfiguration(v **typ } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13769,7 +13428,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectProviderConfiguration(v **type } sv.SecretsArn = ptr.String(jtv) } - case "secretsRole": if value != nil { jtv, ok := value.(string) @@ -13778,7 +13436,6 @@ func awsRestjson1_deserializeDocumentOpenIDConnectProviderConfiguration(v **type } sv.SecretsRole = ptr.String(jtv) } - default: _, _ = key, value @@ -13818,7 +13475,6 @@ func awsRestjson1_deserializeDocumentPersonalizationConfiguration(v **types.Pers } sv.PersonalizationControlMode = types.PersonalizationControlMode(jtv) } - default: _, _ = key, value @@ -13858,7 +13514,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.BuildStatus = types.PluginBuildStatus(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13874,7 +13529,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -13883,7 +13537,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.DisplayName = ptr.String(jtv) } - case "pluginId": if value != nil { jtv, ok := value.(string) @@ -13892,7 +13545,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.PluginId = ptr.String(jtv) } - case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -13901,7 +13553,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.ServerUrl = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -13910,7 +13561,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.State = types.PluginState(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -13919,7 +13569,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.Type = types.PluginType(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13935,7 +13584,6 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } } - default: _, _ = key, value @@ -14069,7 +13717,6 @@ func awsRestjson1_deserializeDocumentQAppsConfiguration(v **types.QAppsConfigura } sv.QAppsControlMode = types.QAppsControlMode(jtv) } - default: _, _ = key, value @@ -14099,15 +13746,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14115,7 +13756,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14124,7 +13764,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14133,15 +13772,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14176,7 +13811,6 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.ApplicationId = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -14185,7 +13819,6 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.DisplayName = ptr.String(jtv) } - case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -14194,7 +13827,6 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.RetrieverId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14203,7 +13835,6 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.Status = types.RetrieverStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14212,7 +13843,6 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.Type = types.RetrieverType(jtv) } - default: _, _ = key, value @@ -14332,17 +13962,14 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentUsersAndGroups(&sv.ExcludedUsersAndGroups, value); err != nil { return err } - case "includedUsersAndGroups": if err := awsRestjson1_deserializeDocumentUsersAndGroups(&sv.IncludedUsersAndGroups, value); err != nil { return err } - case "ruleConfiguration": if err := awsRestjson1_deserializeDocumentRuleConfiguration(&sv.RuleConfiguration, value); err != nil { return err } - case "ruleType": if value != nil { jtv, ok := value.(string) @@ -14351,7 +13978,6 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleType = types.RuleType(jtv) } - default: _, _ = key, value @@ -14475,7 +14101,6 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -14484,7 +14109,6 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -14524,7 +14148,6 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.MetadataXML = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14533,7 +14156,6 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.RoleArn = ptr.String(jtv) } - case "userGroupAttribute": if value != nil { jtv, ok := value.(string) @@ -14542,7 +14164,6 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.UserGroupAttribute = ptr.String(jtv) } - case "userIdAttribute": if value != nil { jtv, ok := value.(string) @@ -14551,7 +14172,6 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.UserIdAttribute = ptr.String(jtv) } - default: _, _ = key, value @@ -14591,7 +14211,6 @@ func awsRestjson1_deserializeDocumentSamlProviderConfiguration(v **types.SamlPro } sv.AuthenticationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -14657,15 +14276,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14673,7 +14286,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14682,7 +14294,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14691,15 +14302,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14730,7 +14337,6 @@ func awsRestjson1_deserializeDocumentStringAttributeBoostingConfiguration(v **ty if err := awsRestjson1_deserializeDocumentStringAttributeValueBoosting(&sv.AttributeValueBoosting, value); err != nil { return err } - case "boostingLevel": if value != nil { jtv, ok := value.(string) @@ -14739,7 +14345,6 @@ func awsRestjson1_deserializeDocumentStringAttributeBoostingConfiguration(v **ty } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } - default: _, _ = key, value @@ -14815,7 +14420,6 @@ func awsRestjson1_deserializeDocumentStringListAttributeBoostingConfiguration(v } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } - default: _, _ = key, value @@ -14891,7 +14495,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -14900,7 +14503,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14978,7 +14580,6 @@ func awsRestjson1_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextBytes = ptr.Int64(i64) } - case "indexedTextDocumentCount": if value != nil { jtv, ok := value.(json.Number) @@ -14991,7 +14592,6 @@ func awsRestjson1_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextDocumentCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15021,15 +14621,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15037,15 +14631,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15080,12 +14670,10 @@ func awsRestjson1_deserializeDocumentTopicConfiguration(v **types.TopicConfigura } sv.Description = ptr.String(jtv) } - case "exampleChatMessages": if err := awsRestjson1_deserializeDocumentExampleChatMessages(&sv.ExampleChatMessages, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -15094,12 +14682,10 @@ func awsRestjson1_deserializeDocumentTopicConfiguration(v **types.TopicConfigura } sv.Name = ptr.String(jtv) } - case "rules": if err := awsRestjson1_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -15173,7 +14759,6 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.DataSourceId = ptr.String(jtv) } - case "indexId": if value != nil { jtv, ok := value.(string) @@ -15182,7 +14767,6 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.IndexId = ptr.String(jtv) } - case "userId": if value != nil { jtv, ok := value.(string) @@ -15191,7 +14775,6 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -15333,12 +14916,10 @@ func awsRestjson1_deserializeDocumentUsersAndGroups(v **types.UsersAndGroups, va if err := awsRestjson1_deserializeDocumentUserGroups(&sv.UserGroups, value); err != nil { return err } - case "userIds": if err := awsRestjson1_deserializeDocumentUserIds(&sv.UserIds, value); err != nil { return err } - default: _, _ = key, value @@ -15368,20 +14949,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15389,7 +14963,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -15398,15 +14971,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15441,7 +15010,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15450,7 +15018,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15531,7 +15098,6 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } } - case "defaultEndpoint": if value != nil { jtv, ok := value.(string) @@ -15540,7 +15106,6 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.DefaultEndpoint = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15549,7 +15114,6 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.Status = types.WebExperienceStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15565,7 +15129,6 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } } - case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -15574,7 +15137,6 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.WebExperienceId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/qconnect/deserializers.go b/service/qconnect/deserializers.go index 884642cba25..c412593b04e 100644 --- a/service/qconnect/deserializers.go +++ b/service/qconnect/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentOutput(v **CreateAIAgentOutp if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } - default: _, _ = key, value @@ -354,7 +353,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentVersionOutput(v **CreateAIAg if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -367,7 +365,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentVersionOutput(v **CreateAIAg } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -534,7 +531,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptOutput(v **CreateAIPromptOu if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } - default: _, _ = key, value @@ -701,7 +697,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptVersionOutput(v **CreateAIP if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -714,7 +709,6 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptVersionOutput(v **CreateAIP } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -875,7 +869,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantOutput(v **CreateAssistant if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } - default: _, _ = key, value @@ -1039,7 +1032,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantAssociationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1203,7 +1195,6 @@ func awsRestjson1_deserializeOpDocumentCreateContentOutput(v **CreateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -1370,7 +1361,6 @@ func awsRestjson1_deserializeOpDocumentCreateContentAssociationOutput(v **Create if err := awsRestjson1_deserializeDocumentContentAssociationData(&sv.ContentAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1531,7 +1521,6 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -1695,7 +1684,6 @@ func awsRestjson1_deserializeOpDocumentCreateQuickResponseOutput(v **CreateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1856,7 +1844,6 @@ func awsRestjson1_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -3075,7 +3062,6 @@ func awsRestjson1_deserializeOpDocumentGetAIAgentOutput(v **GetAIAgentOutput, va if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3088,7 +3074,6 @@ func awsRestjson1_deserializeOpDocumentGetAIAgentOutput(v **GetAIAgentOutput, va } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -3249,7 +3234,6 @@ func awsRestjson1_deserializeOpDocumentGetAIPromptOutput(v **GetAIPromptOutput, if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3262,7 +3246,6 @@ func awsRestjson1_deserializeOpDocumentGetAIPromptOutput(v **GetAIPromptOutput, } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -3420,7 +3403,6 @@ func awsRestjson1_deserializeOpDocumentGetAssistantOutput(v **GetAssistantOutput if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } - default: _, _ = key, value @@ -3578,7 +3560,6 @@ func awsRestjson1_deserializeOpDocumentGetAssistantAssociationOutput(v **GetAssi if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -3736,7 +3717,6 @@ func awsRestjson1_deserializeOpDocumentGetContentOutput(v **GetContentOutput, va if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -3894,7 +3874,6 @@ func awsRestjson1_deserializeOpDocumentGetContentAssociationOutput(v **GetConten if err := awsRestjson1_deserializeDocumentContentAssociationData(&sv.ContentAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -4052,7 +4031,6 @@ func awsRestjson1_deserializeOpDocumentGetContentSummaryOutput(v **GetContentSum if err := awsRestjson1_deserializeDocumentContentSummary(&sv.ContentSummary, value); err != nil { return err } - default: _, _ = key, value @@ -4210,7 +4188,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -4368,7 +4345,6 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -4526,7 +4502,6 @@ func awsRestjson1_deserializeOpDocumentGetQuickResponseOutput(v **GetQuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -4684,12 +4659,10 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } - case "triggers": if err := awsRestjson1_deserializeDocumentRecommendationTriggerList(&sv.Triggers, value); err != nil { return err } - default: _, _ = key, value @@ -4847,7 +4820,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -5008,7 +4980,6 @@ func awsRestjson1_deserializeOpDocumentListAIAgentsOutput(v **ListAIAgentsOutput if err := awsRestjson1_deserializeDocumentAIAgentSummaryList(&sv.AiAgentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5017,7 +4988,6 @@ func awsRestjson1_deserializeOpDocumentListAIAgentsOutput(v **ListAIAgentsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5178,7 +5148,6 @@ func awsRestjson1_deserializeOpDocumentListAIAgentVersionsOutput(v **ListAIAgent if err := awsRestjson1_deserializeDocumentAIAgentVersionSummariesList(&sv.AiAgentVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5187,7 +5156,6 @@ func awsRestjson1_deserializeOpDocumentListAIAgentVersionsOutput(v **ListAIAgent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5348,7 +5316,6 @@ func awsRestjson1_deserializeOpDocumentListAIPromptsOutput(v **ListAIPromptsOutp if err := awsRestjson1_deserializeDocumentAIPromptSummaryList(&sv.AiPromptSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5357,7 +5324,6 @@ func awsRestjson1_deserializeOpDocumentListAIPromptsOutput(v **ListAIPromptsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5518,7 +5484,6 @@ func awsRestjson1_deserializeOpDocumentListAIPromptVersionsOutput(v **ListAIProm if err := awsRestjson1_deserializeDocumentAIPromptVersionSummariesList(&sv.AiPromptVersionSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5527,7 +5492,6 @@ func awsRestjson1_deserializeOpDocumentListAIPromptVersionsOutput(v **ListAIProm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5685,7 +5649,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssistantAssociationSummaryList(&sv.AssistantAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5694,7 +5657,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5849,7 +5811,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu if err := awsRestjson1_deserializeDocumentAssistantList(&sv.AssistantSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5858,7 +5819,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6016,7 +5976,6 @@ func awsRestjson1_deserializeOpDocumentListContentAssociationsOutput(v **ListCon if err := awsRestjson1_deserializeDocumentContentAssociationSummaryList(&sv.ContentAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6025,7 +5984,6 @@ func awsRestjson1_deserializeOpDocumentListContentAssociationsOutput(v **ListCon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6183,7 +6141,6 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6192,7 +6149,6 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6347,7 +6303,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobList(&sv.ImportJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6356,7 +6311,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6511,7 +6465,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseList(&sv.KnowledgeBaseSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6520,7 +6473,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6682,12 +6634,10 @@ func awsRestjson1_deserializeOpDocumentListQuickResponsesOutput(v **ListQuickRes } sv.NextToken = ptr.String(jtv) } - case "quickResponseSummaries": if err := awsRestjson1_deserializeDocumentQuickResponseSummaryList(&sv.QuickResponseSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -6839,7 +6789,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6997,12 +6946,10 @@ func awsRestjson1_deserializeOpDocumentNotifyRecommendationsReceivedOutput(v **N if err := awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedErrorList(&sv.Errors, value); err != nil { return err } - case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } - default: _, _ = key, value @@ -7164,7 +7111,6 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -7173,12 +7119,10 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.AssistantId = ptr.String(jtv) } - case "contentFeedback": if err := awsRestjson1_deserializeDocumentContentFeedbackData(&sv.ContentFeedback, value); err != nil { return err } - case "targetId": if value != nil { jtv, ok := value.(string) @@ -7187,7 +7131,6 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.TargetId = ptr.String(jtv) } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -7196,7 +7139,6 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.TargetType = types.TargetType(jtv) } - default: _, _ = key, value @@ -7361,12 +7303,10 @@ func awsRestjson1_deserializeOpDocumentQueryAssistantOutput(v **QueryAssistantOu } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentQueryResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -7715,7 +7655,6 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7724,7 +7663,6 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7889,12 +7827,10 @@ func awsRestjson1_deserializeOpDocumentSearchQuickResponsesOutput(v **SearchQuic } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentQuickResponseSearchResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -8056,12 +7992,10 @@ func awsRestjson1_deserializeOpDocumentSearchSessionsOutput(v **SearchSessionsOu } sv.NextToken = ptr.String(jtv) } - case "sessionSummaries": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.SessionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8219,7 +8153,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent if err := awsRestjson1_deserializeDocumentHeaders(&sv.HeadersToInclude, value); err != nil { return err } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -8228,7 +8161,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.UploadId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -8237,7 +8169,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -8253,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } } - default: _, _ = key, value @@ -8417,7 +8347,6 @@ func awsRestjson1_deserializeOpDocumentStartImportJobOutput(v **StartImportJobOu if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -8760,7 +8689,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAIAgentOutput(v **UpdateAIAgentOutp if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } - default: _, _ = key, value @@ -8924,7 +8852,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAIPromptOutput(v **UpdateAIPromptOu if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } - default: _, _ = key, value @@ -9085,7 +9012,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAssistantAIAgentOutput(v **UpdateAs if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } - default: _, _ = key, value @@ -9246,7 +9172,6 @@ func awsRestjson1_deserializeOpDocumentUpdateContentOutput(v **UpdateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -9404,7 +9329,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseTemplateUriOutput(v ** if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -9568,7 +9492,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQuickResponseOutput(v **UpdateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -9726,7 +9649,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionOutput(v **UpdateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -9884,7 +9806,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession if err := awsRestjson1_deserializeDocumentRuntimeSessionDataList(&sv.Data, value); err != nil { return err } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -9893,7 +9814,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.Namespace = types.SessionDataNamespace(jtv) } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -9902,7 +9822,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -9911,7 +9830,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10265,15 +10183,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10281,15 +10193,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10374,7 +10282,6 @@ func awsRestjson1_deserializeDocumentAIAgentConfigurationData(v **types.AIAgentC } sv.AiAgentId = ptr.String(jtv) } - default: _, _ = key, value @@ -10449,7 +10356,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AiAgentArn = ptr.String(jtv) } - case "aiAgentId": if value != nil { jtv, ok := value.(string) @@ -10458,7 +10364,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AiAgentId = ptr.String(jtv) } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10467,7 +10372,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10476,12 +10380,10 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AssistantId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAIAgentConfiguration(&sv.Configuration, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -10490,7 +10392,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Description = ptr.String(jtv) } - case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10506,7 +10407,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10515,7 +10415,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Name = ptr.String(jtv) } - case "origin": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10423,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Origin = types.Origin(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10533,12 +10431,10 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Status = types.Status(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10547,7 +10443,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Type = types.AIAgentType(jtv) } - case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10556,7 +10451,6 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.VisibilityStatus = types.VisibilityStatus(jtv) } - default: _, _ = key, value @@ -10596,7 +10490,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AiAgentArn = ptr.String(jtv) } - case "aiAgentId": if value != nil { jtv, ok := value.(string) @@ -10605,7 +10498,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AiAgentId = ptr.String(jtv) } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10614,7 +10506,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10623,12 +10514,10 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AssistantId = ptr.String(jtv) } - case "configuration": if err := awsRestjson1_deserializeDocumentAIAgentConfiguration(&sv.Configuration, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -10637,7 +10526,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Description = ptr.String(jtv) } - case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10653,7 +10541,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10662,7 +10549,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Name = ptr.String(jtv) } - case "origin": if value != nil { jtv, ok := value.(string) @@ -10671,7 +10557,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Origin = types.Origin(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10680,12 +10565,10 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Status = types.Status(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -10694,7 +10577,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Type = types.AIAgentType(jtv) } - case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10703,7 +10585,6 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.VisibilityStatus = types.VisibilityStatus(jtv) } - default: _, _ = key, value @@ -10807,7 +10688,6 @@ func awsRestjson1_deserializeDocumentAIAgentVersionSummary(v **types.AIAgentVers if err := awsRestjson1_deserializeDocumentAIAgentSummary(&sv.AiAgentSummary, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10820,7 +10700,6 @@ func awsRestjson1_deserializeDocumentAIAgentVersionSummary(v **types.AIAgentVers } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -10860,7 +10739,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AiPromptArn = ptr.String(jtv) } - case "aiPromptId": if value != nil { jtv, ok := value.(string) @@ -10869,7 +10747,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AiPromptId = ptr.String(jtv) } - case "apiFormat": if value != nil { jtv, ok := value.(string) @@ -10878,7 +10755,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.ApiFormat = types.AIPromptAPIFormat(jtv) } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10887,7 +10763,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10896,7 +10771,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AssistantId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10779,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -10914,7 +10787,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.ModelId = ptr.String(jtv) } - case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10930,7 +10802,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10939,7 +10810,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Name = ptr.String(jtv) } - case "origin": if value != nil { jtv, ok := value.(string) @@ -10948,7 +10818,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Origin = types.Origin(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10957,17 +10826,14 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Status = types.Status(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "templateConfiguration": if err := awsRestjson1_deserializeDocumentAIPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -10976,7 +10842,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.TemplateType = types.AIPromptTemplateType(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10985,7 +10850,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Type = types.AIPromptType(jtv) } - case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10994,7 +10858,6 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.VisibilityStatus = types.VisibilityStatus(jtv) } - default: _, _ = key, value @@ -11034,7 +10897,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AiPromptArn = ptr.String(jtv) } - case "aiPromptId": if value != nil { jtv, ok := value.(string) @@ -11043,7 +10905,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AiPromptId = ptr.String(jtv) } - case "apiFormat": if value != nil { jtv, ok := value.(string) @@ -11052,7 +10913,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.ApiFormat = types.AIPromptAPIFormat(jtv) } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -11061,7 +10921,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11070,7 +10929,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AssistantId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -11079,7 +10937,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Description = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -11088,7 +10945,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.ModelId = ptr.String(jtv) } - case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -11104,7 +10960,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11113,7 +10968,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Name = ptr.String(jtv) } - case "origin": if value != nil { jtv, ok := value.(string) @@ -11122,7 +10976,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Origin = types.Origin(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11131,12 +10984,10 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Status = types.Status(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "templateType": if value != nil { jtv, ok := value.(string) @@ -11145,7 +10996,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.TemplateType = types.AIPromptTemplateType(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11154,7 +11004,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Type = types.AIPromptType(jtv) } - case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -11163,7 +11012,6 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.VisibilityStatus = types.VisibilityStatus(jtv) } - default: _, _ = key, value @@ -11307,7 +11155,6 @@ func awsRestjson1_deserializeDocumentAIPromptVersionSummary(v **types.AIPromptVe if err := awsRestjson1_deserializeDocumentAIPromptSummary(&sv.AiPromptSummary, value); err != nil { return err } - case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11320,7 +11167,6 @@ func awsRestjson1_deserializeDocumentAIPromptVersionSummary(v **types.AIPromptVe } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -11360,7 +11206,6 @@ func awsRestjson1_deserializeDocumentAmazonConnectGuideAssociationData(v **types } sv.FlowId = ptr.String(jtv) } - default: _, _ = key, value @@ -11434,12 +11279,10 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.AnswerGenerationAIPromptId = ptr.String(jtv) } - case "associationConfigurations": if err := awsRestjson1_deserializeDocumentAssociationConfigurationList(&sv.AssociationConfigurations, value); err != nil { return err } - case "intentLabelingGenerationAIPromptId": if value != nil { jtv, ok := value.(string) @@ -11448,7 +11291,6 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.IntentLabelingGenerationAIPromptId = ptr.String(jtv) } - case "queryReformulationAIPromptId": if value != nil { jtv, ok := value.(string) @@ -11457,7 +11299,6 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.QueryReformulationAIPromptId = ptr.String(jtv) } - default: _, _ = key, value @@ -11497,12 +11338,10 @@ func awsRestjson1_deserializeDocumentAppIntegrationsConfiguration(v **types.AppI } sv.AppIntegrationArn = ptr.String(jtv) } - case "objectFields": if err := awsRestjson1_deserializeDocumentObjectFieldsList(&sv.ObjectFields, value); err != nil { return err } - default: _, _ = key, value @@ -11542,7 +11381,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantArn = ptr.String(jtv) } - case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -11551,7 +11389,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationArn = ptr.String(jtv) } - case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -11560,7 +11397,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationId = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11569,12 +11405,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantId = ptr.String(jtv) } - case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -11583,12 +11417,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssociationType = types.AssociationType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11668,7 +11500,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantArn = ptr.String(jtv) } - case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -11677,7 +11508,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationArn = ptr.String(jtv) } - case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -11686,7 +11516,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationId = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11695,12 +11524,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantId = ptr.String(jtv) } - case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -11709,12 +11536,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssociationType = types.AssociationType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11788,7 +11613,6 @@ func awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(v **types. } sv.Type = types.AssistantCapabilityType(jtv) } - default: _, _ = key, value @@ -11824,7 +11648,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -11833,7 +11656,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11842,12 +11664,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantId = ptr.String(jtv) } - case "capabilityConfiguration": if err := awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(&sv.CapabilityConfiguration, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -11856,12 +11676,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11870,12 +11688,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Name = ptr.String(jtv) } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11884,12 +11700,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Status = types.AssistantStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -11898,7 +11712,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Type = types.AssistantType(jtv) } - default: _, _ = key, value @@ -11938,7 +11751,6 @@ func awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(v **types } sv.TopicIntegrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12008,7 +11820,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } - case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -12017,7 +11828,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -12026,12 +11836,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantId = ptr.String(jtv) } - case "capabilityConfiguration": if err := awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(&sv.CapabilityConfiguration, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -12040,12 +11848,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12054,12 +11860,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Name = ptr.String(jtv) } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12068,12 +11872,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Status = types.AssistantStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12082,7 +11884,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Type = types.AssistantType(jtv) } - default: _, _ = key, value @@ -12118,7 +11919,6 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat if err := awsRestjson1_deserializeDocumentAssociationConfigurationData(&sv.AssociationConfigurationData, value); err != nil { return err } - case "associationId": if value != nil { jtv, ok := value.(string) @@ -12127,7 +11927,6 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat } sv.AssociationId = ptr.String(jtv) } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -12136,7 +11935,6 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat } sv.AssociationType = types.AIAgentAssociationConfigurationType(jtv) } - default: _, _ = key, value @@ -12250,12 +12048,10 @@ func awsRestjson1_deserializeDocumentBedrockFoundationModelConfigurationForParsi } sv.ModelArn = ptr.String(jtv) } - case "parsingPrompt": if err := awsRestjson1_deserializeDocumentParsingPrompt(&sv.ParsingPrompt, value); err != nil { return err } - default: _, _ = key, value @@ -12331,22 +12127,18 @@ func awsRestjson1_deserializeDocumentChunkingConfiguration(v **types.ChunkingCon } sv.ChunkingStrategy = types.ChunkingStrategy(jtv) } - case "fixedSizeChunkingConfiguration": if err := awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(&sv.FixedSizeChunkingConfiguration, value); err != nil { return err } - case "hierarchicalChunkingConfiguration": if err := awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(&sv.HierarchicalChunkingConfiguration, value); err != nil { return err } - case "semanticChunkingConfiguration": if err := awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(&sv.SemanticChunkingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12390,7 +12182,6 @@ func awsRestjson1_deserializeDocumentCitationSpan(v **types.CitationSpan, value } sv.BeginOffsetInclusive = int32(i64) } - case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -12403,7 +12194,6 @@ func awsRestjson1_deserializeDocumentCitationSpan(v **types.CitationSpan, value } sv.EndOffsetExclusive = int32(i64) } - default: _, _ = key, value @@ -12473,15 +12263,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12489,15 +12273,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12532,7 +12312,6 @@ func awsRestjson1_deserializeDocumentConnectConfiguration(v **types.ConnectConfi } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12644,7 +12423,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss if err := awsRestjson1_deserializeDocumentContentAssociationContents(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -12653,7 +12431,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.AssociationType = types.ContentAssociationType(jtv) } - case "contentArn": if value != nil { jtv, ok := value.(string) @@ -12662,7 +12439,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentArn = ptr.String(jtv) } - case "contentAssociationArn": if value != nil { jtv, ok := value.(string) @@ -12671,7 +12447,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentAssociationArn = ptr.String(jtv) } - case "contentAssociationId": if value != nil { jtv, ok := value.(string) @@ -12680,7 +12455,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentAssociationId = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -12689,7 +12463,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentId = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12698,7 +12471,6 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12707,12 +12479,10 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.KnowledgeBaseId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12748,7 +12518,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content if err := awsRestjson1_deserializeDocumentContentAssociationContents(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -12757,7 +12526,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.AssociationType = types.ContentAssociationType(jtv) } - case "contentArn": if value != nil { jtv, ok := value.(string) @@ -12766,7 +12534,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentArn = ptr.String(jtv) } - case "contentAssociationArn": if value != nil { jtv, ok := value.(string) @@ -12775,7 +12542,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentAssociationArn = ptr.String(jtv) } - case "contentAssociationId": if value != nil { jtv, ok := value.(string) @@ -12784,7 +12550,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentAssociationId = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -12793,7 +12558,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentId = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12802,7 +12566,6 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12811,12 +12574,10 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.KnowledgeBaseId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12890,7 +12651,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -12899,7 +12659,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentId = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -12908,7 +12667,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentType = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12917,7 +12675,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12926,7 +12683,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseId = ptr.String(jtv) } - case "linkOutUri": if value != nil { jtv, ok := value.(string) @@ -12935,12 +12691,10 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.LinkOutUri = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12949,7 +12703,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -12958,7 +12711,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.RevisionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12967,12 +12719,10 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Status = types.ContentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -12981,7 +12731,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Title = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -12990,7 +12739,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -13006,7 +12754,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } } - default: _, _ = key, value @@ -13042,12 +12789,10 @@ func awsRestjson1_deserializeDocumentContentDataDetails(v **types.ContentDataDet if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } - case "textData": if err := awsRestjson1_deserializeDocumentTextData(&sv.TextData, value); err != nil { return err } - default: _, _ = key, value @@ -13163,7 +12908,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -13172,7 +12916,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentId = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -13181,7 +12924,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13190,7 +12932,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseId = ptr.String(jtv) } - case "referenceType": if value != nil { jtv, ok := value.(string) @@ -13199,7 +12940,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ReferenceType = types.ReferenceType(jtv) } - case "sourceURL": if value != nil { jtv, ok := value.(string) @@ -13208,7 +12948,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.SourceURL = ptr.String(jtv) } - default: _, _ = key, value @@ -13248,7 +12987,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -13257,7 +12995,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentId = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -13266,7 +13003,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentType = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -13275,7 +13011,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13284,12 +13019,10 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseId = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13298,7 +13031,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -13307,7 +13039,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.RevisionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13316,12 +13047,10 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Status = types.ContentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -13330,7 +13059,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -13520,12 +13248,10 @@ func awsRestjson1_deserializeDocumentDataSummary(v **types.DataSummary, value in if err := awsRestjson1_deserializeDocumentDataDetails(&sv.Details, value); err != nil { return err } - case "reference": if err := awsRestjson1_deserializeDocumentDataReference(&sv.Reference, value); err != nil { return err } - default: _, _ = key, value @@ -13595,17 +13321,14 @@ func awsRestjson1_deserializeDocumentDocument(v **types.Document, value interfac if err := awsRestjson1_deserializeDocumentContentReference(&sv.ContentReference, value); err != nil { return err } - case "excerpt": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } - case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -13641,7 +13364,6 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -13650,7 +13372,6 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -13686,7 +13407,6 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -13695,7 +13415,6 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter } sv.Source = types.ExternalSource(jtv) } - default: _, _ = key, value @@ -13775,7 +13494,6 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.MaxTokens = ptr.Int32(int32(i64)) } - case "overlapPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13788,7 +13506,6 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.OverlapPercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13828,7 +13545,6 @@ func awsRestjson1_deserializeDocumentGenerativeContentFeedbackData(v **types.Gen } sv.Relevance = types.Relevance(jtv) } - default: _, _ = key, value @@ -13868,17 +13584,14 @@ func awsRestjson1_deserializeDocumentGenerativeDataDetails(v **types.GenerativeD } sv.Completion = ptr.String(jtv) } - case "rankingData": if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } - case "references": if err := awsRestjson1_deserializeDocumentDataSummaryList(&sv.References, value); err != nil { return err } - default: _, _ = key, value @@ -13918,7 +13631,6 @@ func awsRestjson1_deserializeDocumentGenerativeReference(v **types.GenerativeRef } sv.GenerationId = ptr.String(jtv) } - case "modelId": if value != nil { jtv, ok := value.(string) @@ -13927,7 +13639,6 @@ func awsRestjson1_deserializeDocumentGenerativeReference(v **types.GenerativeRef } sv.ModelId = ptr.String(jtv) } - default: _, _ = key, value @@ -13967,12 +13678,10 @@ func awsRestjson1_deserializeDocumentGroupingConfiguration(v **types.GroupingCon } sv.Criteria = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentGroupingValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -14080,7 +13789,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types if err := awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfigurations(&sv.LevelConfigurations, value); err != nil { return err } - case "overlapTokens": if value != nil { jtv, ok := value.(json.Number) @@ -14093,7 +13801,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types } sv.OverlapTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14137,7 +13844,6 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfiguration(v ** } sv.MaxTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -14215,7 +13921,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffsetInclusive = int32(i64) } - case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -14228,7 +13933,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffsetExclusive = int32(i64) } - default: _, _ = key, value @@ -14309,12 +14013,10 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } - case "failedRecordReport": if value != nil { jtv, ok := value.(string) @@ -14323,7 +14025,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.FailedRecordReport = ptr.String(jtv) } - case "importJobId": if value != nil { jtv, ok := value.(string) @@ -14332,7 +14033,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobId = ptr.String(jtv) } - case "importJobType": if value != nil { jtv, ok := value.(string) @@ -14341,7 +14041,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobType = types.ImportJobType(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14350,7 +14049,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14359,7 +14057,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14375,12 +14072,10 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14389,7 +14084,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Status = types.ImportJobStatus(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -14398,7 +14092,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.UploadId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -14407,7 +14100,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -14423,7 +14115,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - default: _, _ = key, value @@ -14504,12 +14195,10 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } - case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } - case "importJobId": if value != nil { jtv, ok := value.(string) @@ -14518,7 +14207,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobId = ptr.String(jtv) } - case "importJobType": if value != nil { jtv, ok := value.(string) @@ -14527,7 +14215,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobType = types.ImportJobType(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14536,7 +14223,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14545,7 +14231,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14561,12 +14246,10 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14575,7 +14258,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.Status = types.ImportJobStatus(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -14584,7 +14266,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -14624,7 +14305,6 @@ func awsRestjson1_deserializeDocumentIntentDetectedDataDetails(v **types.IntentD } sv.Intent = ptr.String(jtv) } - case "intentId": if value != nil { jtv, ok := value.(string) @@ -14633,7 +14313,6 @@ func awsRestjson1_deserializeDocumentIntentDetectedDataDetails(v **types.IntentD } sv.IntentId = ptr.String(jtv) } - default: _, _ = key, value @@ -14669,7 +14348,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v if err := awsRestjson1_deserializeDocumentTagFilter(&sv.ContentTagFilter, value); err != nil { return err } - case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14682,7 +14360,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v } sv.MaxResults = ptr.Int32(int32(i64)) } - case "overrideKnowledgeBaseSearchType": if value != nil { jtv, ok := value.(string) @@ -14691,7 +14368,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v } sv.OverrideKnowledgeBaseSearchType = types.KnowledgeBaseSearchType(jtv) } - default: _, _ = key, value @@ -14731,7 +14407,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14740,7 +14415,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -14780,12 +14454,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Description = ptr.String(jtv) } - case "ingestionFailureReasons": if err := awsRestjson1_deserializeDocumentFailureReason(&sv.IngestionFailureReasons, value); err != nil { return err } - case "ingestionStatus": if value != nil { jtv, ok := value.(string) @@ -14794,7 +14466,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.IngestionStatus = types.SyncStatus(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14803,7 +14474,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14812,7 +14482,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -14821,7 +14490,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } - case "lastContentModificationTime": if value != nil { switch jtv := value.(type) { @@ -14837,7 +14505,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14846,22 +14513,18 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Name = ptr.String(jtv) } - case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14870,17 +14533,14 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -14954,7 +14614,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14963,7 +14622,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14972,7 +14630,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -14981,7 +14638,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -14990,22 +14646,18 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } - case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15014,17 +14666,14 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15104,12 +14753,10 @@ func awsRestjson1_deserializeDocumentManualSearchAIAgentConfiguration(v **types. } sv.AnswerGenerationAIPromptId = ptr.String(jtv) } - case "associationConfigurations": if err := awsRestjson1_deserializeDocumentAssociationConfigurationList(&sv.AssociationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -15149,7 +14796,6 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.Message = ptr.String(jtv) } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -15158,7 +14804,6 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -15344,7 +14989,6 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi if err := awsRestjson1_deserializeDocumentBedrockFoundationModelConfigurationForParsing(&sv.BedrockFoundationModelConfiguration, value); err != nil { return err } - case "parsingStrategy": if value != nil { jtv, ok := value.(string) @@ -15353,7 +14997,6 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi } sv.ParsingStrategy = types.ParsingStrategy(jtv) } - default: _, _ = key, value @@ -15393,7 +15036,6 @@ func awsRestjson1_deserializeDocumentParsingPrompt(v **types.ParsingPrompt, valu } sv.ParsingPromptText = ptr.String(jtv) } - default: _, _ = key, value @@ -15423,15 +15065,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15439,15 +15075,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15482,7 +15114,6 @@ func awsRestjson1_deserializeDocumentQueryRecommendationTriggerData(v **types.Qu } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -15594,12 +15225,10 @@ func awsRestjson1_deserializeDocumentQuickResponseContents(v **types.QuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.Markdown, value); err != nil { return err } - case "plainText": if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.PlainText, value); err != nil { return err } - default: _, _ = key, value @@ -15635,12 +15264,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -15649,7 +15276,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -15665,7 +15291,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } - case "description": if value != nil { jtv, ok := value.(string) @@ -15674,12 +15299,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Description = ptr.String(jtv) } - case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -15688,7 +15311,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -15697,7 +15319,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15706,7 +15327,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseId = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -15715,7 +15335,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Language = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -15724,7 +15343,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15740,7 +15358,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15749,7 +15366,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -15758,7 +15374,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -15767,7 +15382,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseId = ptr.String(jtv) } - case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -15776,7 +15390,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ShortcutKey = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15785,12 +15398,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -15826,22 +15437,18 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesInterpolated, value); err != nil { return err } - case "attributesNotInterpolated": if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesNotInterpolated, value); err != nil { return err } - case "channels": if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -15850,7 +15457,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -15866,7 +15472,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } - case "description": if value != nil { jtv, ok := value.(string) @@ -15875,12 +15480,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Description = ptr.String(jtv) } - case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -15889,7 +15492,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -15898,7 +15500,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15907,7 +15508,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseId = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -15916,7 +15516,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Language = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -15925,7 +15524,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15941,7 +15539,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15950,7 +15547,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -15959,7 +15555,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -15968,7 +15563,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseId = ptr.String(jtv) } - case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -15977,7 +15571,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ShortcutKey = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -15986,12 +15579,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16061,7 +15652,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -16070,7 +15660,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -16086,7 +15675,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } - case "description": if value != nil { jtv, ok := value.(string) @@ -16095,7 +15683,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Description = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -16104,7 +15691,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -16113,7 +15699,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16122,7 +15707,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -16131,7 +15715,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -16147,7 +15730,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } - case "name": if value != nil { jtv, ok := value.(string) @@ -16156,7 +15738,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -16165,7 +15746,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -16174,7 +15754,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16183,12 +15762,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16262,7 +15839,6 @@ func awsRestjson1_deserializeDocumentRankingData(v **types.RankingData, value in } sv.RelevanceLevel = types.RelevanceLevel(jtv) } - case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -16296,7 +15872,6 @@ func awsRestjson1_deserializeDocumentRankingData(v **types.RankingData, value in } } - default: _, _ = key, value @@ -16332,12 +15907,10 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsRestjson1_deserializeDocumentDataSummary(&sv.Data, value); err != nil { return err } - case "document": if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -16346,7 +15919,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RecommendationId = ptr.String(jtv) } - case "relevanceLevel": if value != nil { jtv, ok := value.(string) @@ -16355,7 +15927,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RelevanceLevel = types.RelevanceLevel(jtv) } - case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -16389,7 +15960,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } } - case "type": if value != nil { jtv, ok := value.(string) @@ -16398,7 +15968,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.Type = types.RecommendationType(jtv) } - default: _, _ = key, value @@ -16504,7 +16073,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat if err := awsRestjson1_deserializeDocumentRecommendationTriggerData(&sv.Data, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -16513,12 +16081,10 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Id = ptr.String(jtv) } - case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -16527,7 +16093,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Source = types.RecommendationSourceType(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16536,7 +16101,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Type = types.RecommendationTriggerType(jtv) } - default: _, _ = key, value @@ -16650,7 +16214,6 @@ func awsRestjson1_deserializeDocumentRenderingConfiguration(v **types.RenderingC } sv.TemplateUri = ptr.String(jtv) } - default: _, _ = key, value @@ -16680,15 +16243,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16696,15 +16253,11 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16729,15 +16282,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16745,7 +16292,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -16754,15 +16300,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16793,12 +16335,10 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte if err := awsRestjson1_deserializeDocumentDataSummary(&sv.Data, value); err != nil { return err } - case "document": if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } - case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -16832,7 +16372,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } } - case "resultId": if value != nil { jtv, ok := value.(string) @@ -16841,7 +16380,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.ResultId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16850,7 +16388,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.Type = types.QueryResultType(jtv) } - default: _, _ = key, value @@ -16890,12 +16427,10 @@ func awsRestjson1_deserializeDocumentRuntimeSessionData(v **types.RuntimeSession } sv.Key = ptr.String(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentRuntimeSessionDataValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -17011,7 +16546,6 @@ func awsRestjson1_deserializeDocumentSeedUrl(v **types.SeedUrl, value interface{ } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -17089,7 +16623,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BreakpointPercentileThreshold = ptr.Int32(int32(i64)) } - case "bufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -17102,7 +16635,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BufferSize = ptr.Int32(int32(i64)) } - case "maxTokens": if value != nil { jtv, ok := value.(json.Number) @@ -17115,7 +16647,6 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.MaxTokens = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17155,7 +16686,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -17185,15 +16715,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17201,15 +16725,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17240,7 +16760,6 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -17249,12 +16768,10 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -17263,7 +16780,6 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Name = ptr.String(jtv) } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -17272,7 +16788,6 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -17281,17 +16796,14 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionId = ptr.String(jtv) } - case "tagFilter": if err := awsRestjson1_deserializeDocumentTagFilter(&sv.TagFilter, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17331,7 +16843,6 @@ func awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(v **types.S } sv.TopicIntegrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17405,7 +16916,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -17414,7 +16924,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantId = ptr.String(jtv) } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -17423,7 +16932,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -17432,7 +16940,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17516,7 +17023,6 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo if err := awsRestjson1_deserializeDocumentCitationSpan(&sv.CitationSpan, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -17525,17 +17031,14 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo } sv.Id = ptr.String(jtv) } - case "rankingData": if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } - case "textData": if err := awsRestjson1_deserializeDocumentTextData(&sv.TextData, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -17544,7 +17047,6 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo } sv.Type = types.SourceContentType(jtv) } - default: _, _ = key, value @@ -17584,7 +17086,6 @@ func awsRestjson1_deserializeDocumentTagCondition(v **types.TagCondition, value } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -17593,7 +17094,6 @@ func awsRestjson1_deserializeDocumentTagCondition(v **types.TagCondition, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17721,12 +17221,10 @@ func awsRestjson1_deserializeDocumentTextData(v **types.TextData, value interfac if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } - case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -17766,7 +17264,6 @@ func awsRestjson1_deserializeDocumentTextFullAIPromptEditTemplateConfiguration(v } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -17796,15 +17293,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17812,15 +17303,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17845,15 +17332,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17861,7 +17342,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -17870,15 +17350,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17909,7 +17385,6 @@ func awsRestjson1_deserializeDocumentUrlConfiguration(v **types.UrlConfiguration if err := awsRestjson1_deserializeDocumentSeedUrls(&sv.SeedUrls, value); err != nil { return err } - default: _, _ = key, value @@ -17975,15 +17450,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17991,15 +17460,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18030,12 +17495,10 @@ func awsRestjson1_deserializeDocumentVectorIngestionConfiguration(v **types.Vect if err := awsRestjson1_deserializeDocumentChunkingConfiguration(&sv.ChunkingConfiguration, value); err != nil { return err } - case "parsingConfiguration": if err := awsRestjson1_deserializeDocumentParsingConfiguration(&sv.ParsingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18071,17 +17534,14 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsRestjson1_deserializeDocumentWebCrawlerLimits(&sv.CrawlerLimits, value); err != nil { return err } - case "exclusionFilters": if err := awsRestjson1_deserializeDocumentUrlFilterList(&sv.ExclusionFilters, value); err != nil { return err } - case "inclusionFilters": if err := awsRestjson1_deserializeDocumentUrlFilterList(&sv.InclusionFilters, value); err != nil { return err } - case "scope": if value != nil { jtv, ok := value.(string) @@ -18090,12 +17550,10 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.Scope = types.WebScopeType(jtv) } - case "urlConfiguration": if err := awsRestjson1_deserializeDocumentUrlConfiguration(&sv.UrlConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18139,7 +17597,6 @@ func awsRestjson1_deserializeDocumentWebCrawlerLimits(v **types.WebCrawlerLimits } sv.RateLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/qldb/deserializers.go b/service/qldb/deserializers.go index 1be38d24649..bacc2c408c5 100644 --- a/service/qldb/deserializers.go +++ b/service/qldb/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentCancelJournalKinesisStreamOutput(v **Canc } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -348,7 +347,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.Arn = ptr.String(jtv) } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -364,7 +362,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } } - case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -373,7 +370,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.DeletionProtection = ptr.Bool(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -382,7 +378,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.KmsKeyArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -391,7 +386,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.Name = ptr.String(jtv) } - case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -400,7 +394,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.PermissionsMode = types.PermissionsMode(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -409,7 +402,6 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.State = types.LedgerState(jtv) } - default: _, _ = key, value @@ -670,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJournalKinesisStreamOutput(v **De if err := awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(&sv.Stream, value); err != nil { return err } - default: _, _ = key, value @@ -822,7 +813,6 @@ func awsRestjson1_deserializeOpDocumentDescribeJournalS3ExportOutput(v **Describ if err := awsRestjson1_deserializeDocumentJournalS3ExportDescription(&sv.ExportDescription, value); err != nil { return err } - default: _, _ = key, value @@ -981,7 +971,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.Arn = ptr.String(jtv) } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -997,7 +986,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } } - case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -1006,12 +994,10 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.DeletionProtection = ptr.Bool(jtv) } - case "EncryptionDescription": if err := awsRestjson1_deserializeDocumentLedgerEncryptionDescription(&sv.EncryptionDescription, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1020,7 +1006,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.Name = ptr.String(jtv) } - case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -1029,7 +1014,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.PermissionsMode = types.PermissionsMode(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1038,7 +1022,6 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.State = types.LedgerState(jtv) } - default: _, _ = key, value @@ -1197,7 +1180,6 @@ func awsRestjson1_deserializeOpDocumentExportJournalToS3Output(v **ExportJournal } sv.ExportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1355,12 +1337,10 @@ func awsRestjson1_deserializeOpDocumentGetBlockOutput(v **GetBlockOutput, value if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Block, value); err != nil { return err } - case "Proof": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Proof, value); err != nil { return err } - default: _, _ = key, value @@ -1526,12 +1506,10 @@ func awsRestjson1_deserializeOpDocumentGetDigestOutput(v **GetDigestOutput, valu } sv.Digest = dv } - case "DigestTipAddress": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.DigestTipAddress, value); err != nil { return err } - default: _, _ = key, value @@ -1689,12 +1667,10 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Proof, value); err != nil { return err } - case "Revision": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Revision, value); err != nil { return err } - default: _, _ = key, value @@ -1856,12 +1832,10 @@ func awsRestjson1_deserializeOpDocumentListJournalKinesisStreamsForLedgerOutput( } sv.NextToken = ptr.String(jtv) } - case "Streams": if err := awsRestjson1_deserializeDocumentJournalKinesisStreamDescriptionList(&sv.Streams, value); err != nil { return err } - default: _, _ = key, value @@ -2010,7 +1984,6 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsOutput(v **ListJourna if err := awsRestjson1_deserializeDocumentJournalS3ExportList(&sv.JournalS3Exports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2019,7 +1992,6 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsOutput(v **ListJourna } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2168,7 +2140,6 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsForLedgerOutput(v **L if err := awsRestjson1_deserializeDocumentJournalS3ExportList(&sv.JournalS3Exports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2177,7 +2148,6 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsForLedgerOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2326,7 +2296,6 @@ func awsRestjson1_deserializeOpDocumentListLedgersOutput(v **ListLedgersOutput, if err := awsRestjson1_deserializeDocumentLedgerList(&sv.Ledgers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2335,7 +2304,6 @@ func awsRestjson1_deserializeOpDocumentListLedgersOutput(v **ListLedgersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2490,7 +2458,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2652,7 +2619,6 @@ func awsRestjson1_deserializeOpDocumentStreamJournalToKinesisOutput(v **StreamJo } sv.StreamId = ptr.String(jtv) } - default: _, _ = key, value @@ -2993,7 +2959,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.Arn = ptr.String(jtv) } - case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -3009,7 +2974,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } } - case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -3018,12 +2982,10 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.DeletionProtection = ptr.Bool(jtv) } - case "EncryptionDescription": if err := awsRestjson1_deserializeDocumentLedgerEncryptionDescription(&sv.EncryptionDescription, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3032,7 +2994,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3041,7 +3002,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.State = types.LedgerState(jtv) } - default: _, _ = key, value @@ -3200,7 +3160,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3209,7 +3168,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.Name = ptr.String(jtv) } - case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -3218,7 +3176,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.PermissionsMode = types.PermissionsMode(jtv) } - default: _, _ = key, value @@ -3464,15 +3421,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3480,7 +3431,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -3489,15 +3439,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3532,7 +3478,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3548,7 +3493,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } - case "ErrorCause": if value != nil { jtv, ok := value.(string) @@ -3557,7 +3501,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.ErrorCause = types.ErrorCause(jtv) } - case "ExclusiveEndTime": if value != nil { switch jtv := value.(type) { @@ -3573,7 +3516,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } - case "InclusiveStartTime": if value != nil { switch jtv := value.(type) { @@ -3589,12 +3531,10 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } - case "KinesisConfiguration": if err := awsRestjson1_deserializeDocumentKinesisConfiguration(&sv.KinesisConfiguration, value); err != nil { return err } - case "LedgerName": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3543,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.LedgerName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3612,7 +3551,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3621,7 +3559,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.Status = types.StreamStatus(jtv) } - case "StreamId": if value != nil { jtv, ok := value.(string) @@ -3630,7 +3567,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.StreamId = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3639,7 +3575,6 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -3720,7 +3655,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } - case "ExportCreationTime": if value != nil { switch jtv := value.(type) { @@ -3736,7 +3670,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } - case "ExportId": if value != nil { jtv, ok := value.(string) @@ -3745,7 +3678,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.ExportId = ptr.String(jtv) } - case "InclusiveStartTime": if value != nil { switch jtv := value.(type) { @@ -3761,7 +3693,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } - case "LedgerName": if value != nil { jtv, ok := value.(string) @@ -3770,7 +3701,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.LedgerName = ptr.String(jtv) } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -3779,7 +3709,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.OutputFormat = types.OutputFormat(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3788,12 +3717,10 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.RoleArn = ptr.String(jtv) } - case "S3ExportConfiguration": if err := awsRestjson1_deserializeDocumentS3ExportConfiguration(&sv.S3ExportConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3802,7 +3729,6 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.Status = types.ExportStatus(jtv) } - default: _, _ = key, value @@ -3876,7 +3802,6 @@ func awsRestjson1_deserializeDocumentKinesisConfiguration(v **types.KinesisConfi } sv.AggregationEnabled = ptr.Bool(jtv) } - case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -3885,7 +3810,6 @@ func awsRestjson1_deserializeDocumentKinesisConfiguration(v **types.KinesisConfi } sv.StreamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3925,7 +3849,6 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } sv.EncryptionStatus = types.EncryptionStatus(jtv) } - case "InaccessibleKmsKeyDateTime": if value != nil { switch jtv := value.(type) { @@ -3941,7 +3864,6 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3950,7 +3872,6 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4031,7 +3952,6 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4040,7 +3960,6 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4049,7 +3968,6 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } sv.State = types.LedgerState(jtv) } - default: _, _ = key, value @@ -4079,15 +3997,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4095,7 +4007,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4104,15 +4015,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4137,15 +4044,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4153,7 +4054,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4162,7 +4062,6 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4171,15 +4070,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4204,15 +4099,9 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4220,7 +4109,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4229,7 +4117,6 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4238,15 +4125,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4271,15 +4154,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4287,7 +4164,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4296,7 +4172,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4305,15 +4180,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4338,15 +4209,9 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4354,7 +4219,6 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4363,7 +4227,6 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.ResourceName = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4372,15 +4235,11 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4415,7 +4274,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfiguration(v **types.S3Encry } sv.KmsKeyArn = ptr.String(jtv) } - case "ObjectEncryptionType": if value != nil { jtv, ok := value.(string) @@ -4424,7 +4282,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfiguration(v **types.S3Encry } sv.ObjectEncryptionType = types.S3ObjectEncryptionType(jtv) } - default: _, _ = key, value @@ -4464,12 +4321,10 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.Bucket = ptr.String(jtv) } - case "EncryptionConfiguration": if err := awsRestjson1_deserializeDocumentS3EncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -4478,7 +4333,6 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4554,7 +4408,6 @@ func awsRestjson1_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonText = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/qldbsession/deserializers.go b/service/qldbsession/deserializers.go index 88230e71a58..cd1680d59f7 100644 --- a/service/qldbsession/deserializers.go +++ b/service/qldbsession/deserializers.go @@ -392,7 +392,6 @@ func awsAwsjson10_deserializeDocumentAbortTransactionResult(v **types.AbortTrans if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -422,13 +421,7 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -438,8 +431,7 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -447,15 +439,11 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -480,15 +468,9 @@ func awsAwsjson10_deserializeDocumentCapacityExceededException(v **types.Capacit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -496,15 +478,11 @@ func awsAwsjson10_deserializeDocumentCapacityExceededException(v **types.Capacit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -543,17 +521,14 @@ func awsAwsjson10_deserializeDocumentCommitTransactionResult(v **types.CommitTra } sv.CommitDigest = dv } - case "ConsumedIOs": if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } - case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -562,7 +537,6 @@ func awsAwsjson10_deserializeDocumentCommitTransactionResult(v **types.CommitTra } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -598,7 +572,6 @@ func awsAwsjson10_deserializeDocumentEndSessionResult(v **types.EndSessionResult if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -634,17 +607,14 @@ func awsAwsjson10_deserializeDocumentExecuteStatementResult(v **types.ExecuteSta if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } - case "FirstPage": if err := awsAwsjson10_deserializeDocumentPage(&sv.FirstPage, value); err != nil { return err } - case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -680,17 +650,14 @@ func awsAwsjson10_deserializeDocumentFetchPageResult(v **types.FetchPageResult, if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } - case "Page": if err := awsAwsjson10_deserializeDocumentPage(&sv.Page, value); err != nil { return err } - case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -720,13 +687,7 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -736,8 +697,7 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -745,15 +705,11 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -792,7 +748,6 @@ func awsAwsjson10_deserializeDocumentIOUsage(v **types.IOUsage, value interface{ } sv.ReadIOs = i64 } - case "WriteIOs": if value != nil { jtv, ok := value.(json.Number) @@ -805,7 +760,6 @@ func awsAwsjson10_deserializeDocumentIOUsage(v **types.IOUsage, value interface{ } sv.WriteIOs = i64 } - default: _, _ = key, value @@ -835,15 +789,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -851,15 +799,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -884,15 +828,9 @@ func awsAwsjson10_deserializeDocumentOccConflictException(v **types.OccConflictE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -900,15 +838,11 @@ func awsAwsjson10_deserializeDocumentOccConflictException(v **types.OccConflictE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -943,12 +877,10 @@ func awsAwsjson10_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.NextPageToken = ptr.String(jtv) } - case "Values": if err := awsAwsjson10_deserializeDocumentValueHolders(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -978,15 +910,9 @@ func awsAwsjson10_deserializeDocumentRateExceededException(v **types.RateExceede sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -994,15 +920,11 @@ func awsAwsjson10_deserializeDocumentRateExceededException(v **types.RateExceede } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1037,12 +959,10 @@ func awsAwsjson10_deserializeDocumentStartSessionResult(v **types.StartSessionRe } sv.SessionToken = ptr.String(jtv) } - case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - default: _, _ = key, value @@ -1078,7 +998,6 @@ func awsAwsjson10_deserializeDocumentStartTransactionResult(v **types.StartTrans if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } - case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -1087,7 +1006,6 @@ func awsAwsjson10_deserializeDocumentStartTransactionResult(v **types.StartTrans } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1131,7 +1049,6 @@ func awsAwsjson10_deserializeDocumentTimingInformation(v **types.TimingInformati } sv.ProcessingTimeMilliseconds = i64 } - default: _, _ = key, value @@ -1175,7 +1092,6 @@ func awsAwsjson10_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonBinary = dv } - case "IonText": if value != nil { jtv, ok := value.(string) @@ -1184,7 +1100,6 @@ func awsAwsjson10_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonText = ptr.String(jtv) } - default: _, _ = key, value @@ -1254,37 +1169,30 @@ func awsAwsjson10_deserializeOpDocumentSendCommandOutput(v **SendCommandOutput, if err := awsAwsjson10_deserializeDocumentAbortTransactionResult(&sv.AbortTransaction, value); err != nil { return err } - case "CommitTransaction": if err := awsAwsjson10_deserializeDocumentCommitTransactionResult(&sv.CommitTransaction, value); err != nil { return err } - case "EndSession": if err := awsAwsjson10_deserializeDocumentEndSessionResult(&sv.EndSession, value); err != nil { return err } - case "ExecuteStatement": if err := awsAwsjson10_deserializeDocumentExecuteStatementResult(&sv.ExecuteStatement, value); err != nil { return err } - case "FetchPage": if err := awsAwsjson10_deserializeDocumentFetchPageResult(&sv.FetchPage, value); err != nil { return err } - case "StartSession": if err := awsAwsjson10_deserializeDocumentStartSessionResult(&sv.StartSession, value); err != nil { return err } - case "StartTransaction": if err := awsAwsjson10_deserializeDocumentStartTransactionResult(&sv.StartTransaction, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index bbd93d19adb..5be5b8c47d5 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -198,7 +198,6 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** if err := awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswers(&sv.InvalidAnswers, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -207,12 +206,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.RequestId = ptr.String(jtv) } - case "SucceededAnswers": if err := awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswers(&sv.SucceededAnswers, value); err != nil { return err } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -221,7 +218,6 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -230,7 +226,6 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -411,7 +406,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** if err := awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswers(&sv.InvalidAnswers, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -420,12 +414,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.RequestId = ptr.String(jtv) } - case "SucceededAnswers": if err := awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswers(&sv.SucceededAnswers, value); err != nil { return err } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -434,7 +426,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -443,7 +434,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -628,7 +618,6 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.Arn = ptr.String(jtv) } - case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -637,7 +626,6 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.IngestionId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -646,7 +634,6 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -833,7 +820,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -842,7 +828,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.Arn = ptr.String(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -851,7 +836,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.AwsAccountId = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -860,7 +844,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.Namespace = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -869,7 +852,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1063,12 +1045,10 @@ func awsRestjson1_deserializeOpDocumentCreateAccountSubscriptionOutput(v **Creat } sv.RequestId = ptr.String(jtv) } - case "SignupResponse": if err := awsRestjson1_deserializeDocumentSignupResponse(&sv.SignupResponse, value); err != nil { return err } - default: _, _ = key, value @@ -1259,7 +1239,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -1268,7 +1247,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1277,7 +1255,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.CreationStatus = types.ResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1286,7 +1263,6 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1477,7 +1453,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1486,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.CreationStatus = types.ResourceStatus(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -1495,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1504,7 +1477,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.RequestId = ptr.String(jtv) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -1513,7 +1485,6 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1707,7 +1678,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Arn = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -1716,7 +1686,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.DataSetId = ptr.String(jtv) } - case "IngestionArn": if value != nil { jtv, ok := value.(string) @@ -1725,7 +1694,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.IngestionArn = ptr.String(jtv) } - case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -1734,7 +1702,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.IngestionId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1743,7 +1710,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -1937,7 +1903,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1946,7 +1911,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.CreationStatus = types.ResourceStatus(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -1955,7 +1919,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1964,7 +1927,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2158,7 +2120,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -2167,7 +2128,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.FolderId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2176,7 +2136,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2349,7 +2308,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo if err := awsRestjson1_deserializeDocumentFolderMember(&sv.FolderMember, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2358,7 +2316,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -2371,7 +2328,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo } sv.Status = int32(i64) } - default: _, _ = key, value @@ -2561,7 +2517,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2570,7 +2525,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2754,7 +2708,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro if err := awsRestjson1_deserializeDocumentGroupMember(&sv.GroupMember, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2763,7 +2716,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -2951,7 +2903,6 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentId = ptr.String(jtv) } - case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -2960,7 +2911,6 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentName = ptr.String(jtv) } - case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -2969,12 +2919,10 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentStatus = types.AssignmentStatus(jtv) } - case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -2983,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.PolicyArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2992,7 +2939,6 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3180,7 +3126,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.Arn = ptr.String(jtv) } - case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -3189,7 +3134,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.IngestionId = ptr.String(jtv) } - case "IngestionStatus": if value != nil { jtv, ok := value.(string) @@ -3198,7 +3142,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.IngestionStatus = types.IngestionStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3207,7 +3150,6 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3404,7 +3346,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.Arn = ptr.String(jtv) } - case "CapacityRegion": if value != nil { jtv, ok := value.(string) @@ -3413,7 +3354,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.CapacityRegion = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -3422,7 +3362,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.CreationStatus = types.NamespaceStatus(jtv) } - case "IdentityStore": if value != nil { jtv, ok := value.(string) @@ -3431,7 +3370,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.IdentityStore = types.IdentityStore(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3440,7 +3378,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.Name = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3449,7 +3386,6 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -3640,7 +3576,6 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3649,7 +3584,6 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.RequestId = ptr.String(jtv) } - case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -3658,7 +3592,6 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.ScheduleId = ptr.String(jtv) } - default: _, _ = key, value @@ -3846,7 +3779,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoleMembershipOutput(v **CreateRole } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -4040,7 +3972,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -4049,7 +3980,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.CreationStatus = types.ResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4058,7 +3988,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.RequestId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -4067,7 +3996,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -4076,7 +4004,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4264,12 +4191,10 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateAliasOutput(v **CreateTempl } sv.RequestId = ptr.String(jtv) } - case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } - default: _, _ = key, value @@ -4460,7 +4385,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -4469,7 +4393,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.CreationStatus = types.ResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4478,7 +4401,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.RequestId = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -4487,7 +4409,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.ThemeId = ptr.String(jtv) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -4496,7 +4417,6 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4687,12 +4607,10 @@ func awsRestjson1_deserializeOpDocumentCreateThemeAliasOutput(v **CreateThemeAli } sv.RequestId = ptr.String(jtv) } - case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } - default: _, _ = key, value @@ -4883,7 +4801,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.Arn = ptr.String(jtv) } - case "RefreshArn": if value != nil { jtv, ok := value.(string) @@ -4892,7 +4809,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.RefreshArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4817,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.RequestId = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -4910,7 +4825,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -5101,7 +5015,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.DatasetArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5110,7 +5023,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -5119,7 +5031,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -5128,7 +5039,6 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -5319,7 +5229,6 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.Arn = ptr.String(jtv) } - case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -5328,7 +5237,6 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -5337,7 +5245,6 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.CreationStatus = types.VPCConnectionResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5346,7 +5253,6 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.RequestId = ptr.String(jtv) } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -5355,7 +5261,6 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.VPCConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5549,7 +5454,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAccountCustomizationOutput(v **Dele } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5737,7 +5641,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAccountSubscriptionOutput(v **Delet } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -5922,7 +5825,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -5931,7 +5833,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.Arn = ptr.String(jtv) } - case "DeletionTime": if value != nil { switch jtv := value.(type) { @@ -5947,7 +5848,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5956,7 +5856,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -6141,7 +6040,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.Arn = ptr.String(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -6150,7 +6048,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.DashboardId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6159,7 +6056,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -6341,7 +6237,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.Arn = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -6350,7 +6245,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.DataSetId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6359,7 +6253,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -6547,7 +6440,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetRefreshPropertiesOutput(v ** } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -6729,7 +6621,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Arn = ptr.String(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -6738,7 +6629,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6747,7 +6637,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -6938,7 +6827,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -6947,7 +6835,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.FolderId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6956,7 +6843,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7127,7 +7013,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderMembershipOutput(v **DeleteFo } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -7140,7 +7025,6 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderMembershipOutput(v **DeleteFo } sv.Status = int32(i64) } - default: _, _ = key, value @@ -7328,7 +7212,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupOutput(v **DeleteGroupOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7516,7 +7399,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupMembershipOutput(v **DeleteGro } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7704,7 +7586,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIAMPolicyAssignmentOutput(v **Delet } sv.AssignmentName = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -7713,7 +7594,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIAMPolicyAssignmentOutput(v **Delet } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -7895,7 +7775,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIdentityPropagationConfigOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8083,7 +7962,6 @@ func awsRestjson1_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8268,7 +8146,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8277,7 +8154,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.RequestId = ptr.String(jtv) } - case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -8286,7 +8162,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.ScheduleId = ptr.String(jtv) } - default: _, _ = key, value @@ -8460,7 +8335,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleCustomPermissionOutput(v **Dele } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -8473,7 +8347,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleCustomPermissionOutput(v **Dele } sv.Status = int32(i64) } - default: _, _ = key, value @@ -8661,7 +8534,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleMembershipOutput(v **DeleteRole } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -8849,7 +8721,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8858,7 +8729,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.RequestId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -8867,7 +8737,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -9049,7 +8918,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.AliasName = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -9058,7 +8926,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9067,7 +8934,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.RequestId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -9076,7 +8942,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -9264,7 +9129,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9273,7 +9137,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.RequestId = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -9282,7 +9145,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -9467,7 +9329,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.AliasName = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -9476,7 +9337,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9485,7 +9345,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.RequestId = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -9494,7 +9353,6 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -9679,7 +9537,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9688,7 +9545,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.RequestId = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -9697,7 +9553,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -9888,7 +9743,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.DatasetArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9897,7 +9751,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -9906,7 +9759,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -9915,7 +9767,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -10103,7 +9954,6 @@ func awsRestjson1_deserializeOpDocumentDeleteUserOutput(v **DeleteUserOutput, va } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -10291,7 +10141,6 @@ func awsRestjson1_deserializeOpDocumentDeleteUserByPrincipalIdOutput(v **DeleteU } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -10479,7 +10328,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.Arn = ptr.String(jtv) } - case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -10488,7 +10336,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } - case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -10497,7 +10344,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.DeletionStatus = types.VPCConnectionResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10506,7 +10352,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.RequestId = ptr.String(jtv) } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -10515,7 +10360,6 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.VPCConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10696,7 +10540,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10705,7 +10548,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.Arn = ptr.String(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -10714,7 +10556,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -10723,7 +10564,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.Namespace = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10732,7 +10572,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -10913,7 +10752,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10922,7 +10760,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11103,7 +10940,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSubscriptionOutput(v **Des if err := awsRestjson1_deserializeDocumentAccountInfo(&sv.AccountInfo, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11112,7 +10948,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSubscriptionOutput(v **Des } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11293,7 +11128,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisOutput(v **DescribeAnalys if err := awsRestjson1_deserializeDocumentAnalysis(&sv.Analysis, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11302,7 +11136,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisOutput(v **DescribeAnalys } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11493,17 +11326,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.AnalysisId = ptr.String(jtv) } - case "Definition": if err := awsRestjson1_deserializeDocumentAnalysisDefinition(&sv.Definition, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentAnalysisErrorList(&sv.Errors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11512,7 +11342,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.Name = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11521,7 +11350,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.RequestId = ptr.String(jtv) } - case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -11530,7 +11358,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.ResourceStatus = types.ResourceStatus(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -11539,7 +11366,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.ThemeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11721,7 +11547,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.AnalysisArn = ptr.String(jtv) } - case "AnalysisId": if value != nil { jtv, ok := value.(string) @@ -11730,12 +11555,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.AnalysisId = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11744,7 +11567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -11920,7 +11742,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.Arn = ptr.String(jtv) } - case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -11929,7 +11750,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.AssetBundleExportJobId = ptr.String(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -11938,12 +11758,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } - case "CloudFormationOverridePropertyConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleCloudFormationOverridePropertyConfiguration(&sv.CloudFormationOverridePropertyConfiguration, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11959,7 +11777,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } } - case "DownloadUrl": if value != nil { jtv, ok := value.(string) @@ -11968,12 +11785,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.DownloadUrl = ptr.String(jtv) } - case "Errors": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobErrorList(&sv.Errors, value); err != nil { return err } - case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -11982,7 +11797,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.ExportFormat = types.AssetBundleExportFormat(jtv) } - case "IncludeAllDependencies": if value != nil { jtv, ok := value.(bool) @@ -11991,7 +11805,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeAllDependencies = jtv } - case "IncludeFolderMembers": if value != nil { jtv, ok := value.(string) @@ -12000,7 +11813,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeFolderMembers = types.IncludeFolderMembers(jtv) } - case "IncludeFolderMemberships": if value != nil { jtv, ok := value.(bool) @@ -12009,7 +11821,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeFolderMemberships = jtv } - case "IncludePermissions": if value != nil { jtv, ok := value.(bool) @@ -12018,7 +11829,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludePermissions = jtv } - case "IncludeTags": if value != nil { jtv, ok := value.(bool) @@ -12027,7 +11837,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeTags = jtv } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12036,7 +11845,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.JobStatus = types.AssetBundleExportJobStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12045,22 +11853,18 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.RequestId = ptr.String(jtv) } - case "ResourceArns": if err := awsRestjson1_deserializeDocumentAssetBundleResourceArns(&sv.ResourceArns, value); err != nil { return err } - case "ValidationStrategy": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobValidationStrategy(&sv.ValidationStrategy, value); err != nil { return err } - case "Warnings": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobWarningList(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -12236,7 +12040,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.Arn = ptr.String(jtv) } - case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -12245,12 +12048,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.AssetBundleImportJobId = ptr.String(jtv) } - case "AssetBundleImportSource": if err := awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(&sv.AssetBundleImportSource, value); err != nil { return err } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -12259,7 +12060,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12275,12 +12075,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } } - case "Errors": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobErrorList(&sv.Errors, value); err != nil { return err } - case "FailureAction": if value != nil { jtv, ok := value.(string) @@ -12289,7 +12087,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.FailureAction = types.AssetBundleImportFailureAction(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12298,27 +12095,22 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.JobStatus = types.AssetBundleImportJobStatus(jtv) } - case "OverrideParameters": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideParameters(&sv.OverrideParameters, value); err != nil { return err } - case "OverridePermissions": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverridePermissions(&sv.OverridePermissions, value); err != nil { return err } - case "OverrideTags": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideTags(&sv.OverrideTags, value); err != nil { return err } - case "OverrideValidationStrategy": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideValidationStrategy(&sv.OverrideValidationStrategy, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12327,17 +12119,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.RequestId = ptr.String(jtv) } - case "RollbackErrors": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobErrorList(&sv.RollbackErrors, value); err != nil { return err } - case "Warnings": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobWarningList(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -12518,7 +12307,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb if err := awsRestjson1_deserializeDocumentDashboard(&sv.Dashboard, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12527,7 +12315,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -12718,22 +12505,18 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.DashboardId = ptr.String(jtv) } - case "DashboardPublishOptions": if err := awsRestjson1_deserializeDocumentDashboardPublishOptions(&sv.DashboardPublishOptions, value); err != nil { return err } - case "Definition": if err := awsRestjson1_deserializeDocumentDashboardVersionDefinition(&sv.Definition, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentDashboardErrorList(&sv.Errors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12742,7 +12525,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.Name = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12751,7 +12533,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.RequestId = ptr.String(jtv) } - case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -12760,7 +12541,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.ResourceStatus = types.ResourceStatus(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -12769,7 +12549,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.ThemeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12951,7 +12730,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.DashboardArn = ptr.String(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -12960,17 +12738,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.DashboardId = ptr.String(jtv) } - case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12979,7 +12754,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -13147,7 +12921,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.Arn = ptr.String(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -13156,7 +12929,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13172,7 +12944,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -13181,7 +12952,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.DashboardId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -13190,7 +12960,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.JobStatus = types.SnapshotJobStatus(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13206,7 +12975,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13215,12 +12983,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.RequestId = ptr.String(jtv) } - case "SnapshotConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotConfiguration(&sv.SnapshotConfiguration, value); err != nil { return err } - case "SnapshotJobId": if value != nil { jtv, ok := value.(string) @@ -13229,7 +12995,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.SnapshotJobId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -13242,12 +13007,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.Status = int32(i64) } - case "UserConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotUserConfigurationRedacted(&sv.UserConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -13435,7 +13198,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13451,12 +13213,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } } - case "ErrorInfo": if err := awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -13465,7 +13225,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.JobStatus = types.SnapshotJobStatus(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13481,7 +13240,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13490,12 +13248,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.RequestId = ptr.String(jtv) } - case "Result": if err := awsRestjson1_deserializeDocumentSnapshotJobResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -13673,7 +13429,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetOutput(v **DescribeDataSet if err := awsRestjson1_deserializeDocumentDataSet(&sv.DataSet, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13682,7 +13437,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetOutput(v **DescribeDataSet } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -13864,7 +13618,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.DataSetArn = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -13873,12 +13626,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.DataSetId = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13887,7 +13638,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -14071,7 +13821,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetRefreshPropertiesOutput(v if err := awsRestjson1_deserializeDocumentDataSetRefreshProperties(&sv.DataSetRefreshProperties, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14080,7 +13829,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetRefreshPropertiesOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -14258,7 +14006,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14267,7 +14014,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -14449,7 +14195,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.DataSourceArn = ptr.String(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -14458,12 +14203,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.DataSourceId = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14472,7 +14215,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -14653,7 +14395,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderOutput(v **DescribeFolderOu if err := awsRestjson1_deserializeDocumentFolder(&sv.Folder, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14662,7 +14403,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderOutput(v **DescribeFolderOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -14850,7 +14590,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -14859,7 +14598,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.FolderId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14868,12 +14606,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14882,7 +14618,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -15070,7 +14805,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -15079,7 +14813,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.FolderId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15088,12 +14821,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15102,7 +14833,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -15286,7 +15016,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15295,7 +15024,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -15479,7 +15207,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ if err := awsRestjson1_deserializeDocumentGroupMember(&sv.GroupMember, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15488,7 +15215,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -15669,7 +15395,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIAMPolicyAssignmentOutput(v **Des if err := awsRestjson1_deserializeDocumentIAMPolicyAssignment(&sv.IAMPolicyAssignment, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15678,7 +15403,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIAMPolicyAssignmentOutput(v **Des } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -15859,7 +15583,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIngestionOutput(v **DescribeInges if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15868,7 +15591,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIngestionOutput(v **DescribeInges } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -16050,7 +15772,6 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.AwsAccountId = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -16059,12 +15780,10 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.Enabled = ptr.Bool(jtv) } - case "IpRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentIpRestrictionRuleMap(&sv.IpRestrictionRuleMap, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16073,17 +15792,14 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.RequestId = ptr.String(jtv) } - case "VpcEndpointIdRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentVpcEndpointIdRestrictionRuleMap(&sv.VpcEndpointIdRestrictionRuleMap, value); err != nil { return err } - case "VpcIdRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentVpcIdRestrictionRuleMap(&sv.VpcIdRestrictionRuleMap, value); err != nil { return err } - default: _, _ = key, value @@ -16248,12 +15964,10 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.AwsAccountId = ptr.String(jtv) } - case "KeyRegistration": if err := awsRestjson1_deserializeDocumentKeyRegistration(&sv.KeyRegistration, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16262,7 +15976,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -16275,7 +15988,6 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.Status = int32(i64) } - default: _, _ = key, value @@ -16456,7 +16168,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames if err := awsRestjson1_deserializeDocumentNamespaceInfoV2(&sv.Namespace, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16465,7 +16176,6 @@ func awsRestjson1_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -16650,7 +16360,6 @@ func awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutp } sv.PersonalizationMode = types.PersonalizationMode(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16659,7 +16368,6 @@ func awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -16844,12 +16552,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRefreshScheduleOutput(v **Describ } sv.Arn = ptr.String(jtv) } - case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16858,7 +16564,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRefreshScheduleOutput(v **Describ } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -17032,7 +16737,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.CustomPermissionsName = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -17041,7 +16745,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -17054,7 +16757,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.Status = int32(i64) } - default: _, _ = key, value @@ -17245,12 +16947,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateOutput(v **DescribeTempla } sv.RequestId = ptr.String(jtv) } - case "Template": if err := awsRestjson1_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -17429,12 +17129,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateAliasOutput(v **DescribeT } sv.RequestId = ptr.String(jtv) } - case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } - default: _, _ = key, value @@ -17621,12 +17319,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc if err := awsRestjson1_deserializeDocumentTemplateVersionDefinition(&sv.Definition, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentTemplateErrorList(&sv.Errors, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17635,7 +17331,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.Name = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -17644,7 +17339,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.RequestId = ptr.String(jtv) } - case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -17653,7 +17347,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.ResourceStatus = types.ResourceStatus(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -17662,7 +17355,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.TemplateId = ptr.String(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -17671,7 +17363,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.ThemeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17852,7 +17543,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -17861,7 +17551,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.RequestId = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17870,7 +17559,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.TemplateArn = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -17879,7 +17567,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -18067,12 +17754,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThemeOutput(v **DescribeThemeOutp } sv.RequestId = ptr.String(jtv) } - case "Theme": if err := awsRestjson1_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } - default: _, _ = key, value @@ -18257,12 +17942,10 @@ func awsRestjson1_deserializeOpDocumentDescribeThemeAliasOutput(v **DescribeThem } sv.RequestId = ptr.String(jtv) } - case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } - default: _, _ = key, value @@ -18443,7 +18126,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18452,7 +18134,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.RequestId = ptr.String(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -18461,7 +18142,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.ThemeArn = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -18470,7 +18150,6 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -18652,7 +18331,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18661,12 +18339,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.RequestId = ptr.String(jtv) } - case "Topic": if err := awsRestjson1_deserializeDocumentTopicDetails(&sv.Topic, value); err != nil { return err } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -18675,7 +18351,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -18853,7 +18528,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18862,7 +18536,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -18871,7 +18544,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -18880,7 +18552,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -19058,7 +18729,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshOutput(v **DescribeTo if err := awsRestjson1_deserializeDocumentTopicRefreshDetails(&sv.RefreshDetails, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19067,7 +18737,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshOutput(v **DescribeTo } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -19258,12 +18927,10 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.DatasetArn = ptr.String(jtv) } - case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentTopicRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19272,7 +18939,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -19281,7 +18947,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -19290,7 +18955,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -19478,12 +19142,10 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.RequestId = ptr.String(jtv) } - case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -19654,7 +19316,6 @@ func awsRestjson1_deserializeOpDocumentDescribeVPCConnectionOutput(v **DescribeV } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -19667,12 +19328,10 @@ func awsRestjson1_deserializeOpDocumentDescribeVPCConnectionOutput(v **DescribeV } sv.Status = int32(i64) } - case "VPCConnection": if err := awsRestjson1_deserializeDocumentVPCConnection(&sv.VPCConnection, value); err != nil { return err } - default: _, _ = key, value @@ -19863,7 +19522,6 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.AnonymousUserArn = ptr.String(jtv) } - case "EmbedUrl": if value != nil { jtv, ok := value.(string) @@ -19872,7 +19530,6 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.EmbedUrl = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19881,7 +19538,6 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -20075,7 +19731,6 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForRegisteredUserOutput(v } sv.EmbedUrl = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20084,7 +19739,6 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForRegisteredUserOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -20287,7 +19941,6 @@ func awsRestjson1_deserializeOpDocumentGetDashboardEmbedUrlOutput(v **GetDashboa } sv.EmbedUrl = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20296,7 +19949,6 @@ func awsRestjson1_deserializeOpDocumentGetDashboardEmbedUrlOutput(v **GetDashboa } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -20490,7 +20142,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionEmbedUrlOutput(v **GetSessionEm } sv.EmbedUrl = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20499,7 +20150,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionEmbedUrlOutput(v **GetSessionEm } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -20674,7 +20324,6 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput if err := awsRestjson1_deserializeDocumentAnalysisSummaryList(&sv.AnalysisSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20683,7 +20332,6 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20692,7 +20340,6 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -20870,7 +20517,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssetBundleExportJobSummaryList(&sv.AssetBundleExportJobSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20879,7 +20525,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20888,7 +20533,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -21066,7 +20710,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssetBundleImportJobSummaryList(&sv.AssetBundleImportJobSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21075,7 +20718,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21084,7 +20726,6 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -21259,7 +20900,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu if err := awsRestjson1_deserializeDocumentDashboardSummaryList(&sv.DashboardSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21268,7 +20908,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21277,7 +20916,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -21458,7 +21096,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb if err := awsRestjson1_deserializeDocumentDashboardVersionSummaryList(&sv.DashboardVersionSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21467,7 +21104,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21476,7 +21112,6 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -21654,7 +21289,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentDataSetSummaryList(&sv.DataSetSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21663,7 +21297,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21672,7 +21305,6 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -21850,7 +21482,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceList(&sv.DataSources, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21859,7 +21490,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21868,7 +21498,6 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -22052,7 +21681,6 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem if err := awsRestjson1_deserializeDocumentFolderMemberList(&sv.FolderMemberList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22061,7 +21689,6 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22070,7 +21697,6 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -22254,7 +21880,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, if err := awsRestjson1_deserializeDocumentFolderSummaryList(&sv.FolderSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22263,7 +21888,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22272,7 +21896,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -22456,7 +22079,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold if err := awsRestjson1_deserializeDocumentFoldersForResourceArnList(&sv.Folders, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22465,7 +22087,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22474,7 +22095,6 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -22661,7 +22281,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM if err := awsRestjson1_deserializeDocumentGroupMemberList(&sv.GroupMemberList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22670,7 +22289,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22679,7 +22297,6 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -22866,7 +22483,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22875,7 +22491,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22884,7 +22499,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -23065,7 +22679,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA if err := awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummaryList(&sv.IAMPolicyAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23074,7 +22687,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23083,7 +22695,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -23267,7 +22878,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * if err := awsRestjson1_deserializeDocumentActiveIAMPolicyAssignmentList(&sv.ActiveAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23276,7 +22886,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23285,7 +22894,6 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -23467,7 +23075,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityPropagationConfigsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23476,12 +23083,10 @@ func awsRestjson1_deserializeOpDocumentListIdentityPropagationConfigsOutput(v ** } sv.RequestId = ptr.String(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentAuthorizedTargetsByServices(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -23665,7 +23270,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu if err := awsRestjson1_deserializeDocumentIngestions(&sv.Ingestions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23674,7 +23278,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23683,7 +23286,6 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -23870,7 +23472,6 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsRestjson1_deserializeDocumentNamespaces(&sv.Namespaces, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23879,7 +23480,6 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23888,7 +23488,6 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -24069,7 +23668,6 @@ func awsRestjson1_deserializeOpDocumentListRefreshSchedulesOutput(v **ListRefres if err := awsRestjson1_deserializeDocumentRefreshSchedules(&sv.RefreshSchedules, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24078,7 +23676,6 @@ func awsRestjson1_deserializeOpDocumentListRefreshSchedulesOutput(v **ListRefres } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -24268,7 +23865,6 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem if err := awsRestjson1_deserializeDocumentGroupsList(&sv.MembersList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24277,7 +23873,6 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24286,7 +23881,6 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -24468,12 +24062,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.RequestId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -24655,7 +24247,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateAliasesOutput(v **ListTemplat } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24664,12 +24255,10 @@ func awsRestjson1_deserializeOpDocumentListTemplateAliasesOutput(v **ListTemplat } sv.RequestId = ptr.String(jtv) } - case "TemplateAliasList": if err := awsRestjson1_deserializeDocumentTemplateAliasList(&sv.TemplateAliasList, value); err != nil { return err } - default: _, _ = key, value @@ -24854,7 +24443,6 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24863,12 +24451,10 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.RequestId = ptr.String(jtv) } - case "TemplateSummaryList": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.TemplateSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25053,7 +24639,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25062,12 +24647,10 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla } sv.RequestId = ptr.String(jtv) } - case "TemplateVersionSummaryList": if err := awsRestjson1_deserializeDocumentTemplateVersionSummaryList(&sv.TemplateVersionSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25255,7 +24838,6 @@ func awsRestjson1_deserializeOpDocumentListThemeAliasesOutput(v **ListThemeAlias } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25264,12 +24846,10 @@ func awsRestjson1_deserializeOpDocumentListThemeAliasesOutput(v **ListThemeAlias } sv.RequestId = ptr.String(jtv) } - case "ThemeAliasList": if err := awsRestjson1_deserializeDocumentThemeAliasList(&sv.ThemeAliasList, value); err != nil { return err } - default: _, _ = key, value @@ -25457,7 +25037,6 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25466,12 +25045,10 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.RequestId = ptr.String(jtv) } - case "ThemeSummaryList": if err := awsRestjson1_deserializeDocumentThemeSummaryList(&sv.ThemeSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25659,7 +25236,6 @@ func awsRestjson1_deserializeOpDocumentListThemeVersionsOutput(v **ListThemeVers } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25668,12 +25244,10 @@ func awsRestjson1_deserializeOpDocumentListThemeVersionsOutput(v **ListThemeVers } sv.RequestId = ptr.String(jtv) } - case "ThemeVersionSummaryList": if err := awsRestjson1_deserializeDocumentThemeVersionSummaryList(&sv.ThemeVersionSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -25860,7 +25434,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT if err := awsRestjson1_deserializeDocumentTopicRefreshScheduleSummaries(&sv.RefreshSchedules, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25869,7 +25442,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -25878,7 +25450,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -25887,7 +25458,6 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -26065,7 +25635,6 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo if err := awsRestjson1_deserializeDocumentTopicReviewedAnswers(&sv.Answers, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26074,7 +25643,6 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -26083,7 +25651,6 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -26092,7 +25659,6 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -26274,7 +25840,6 @@ func awsRestjson1_deserializeOpDocumentListTopicsOutput(v **ListTopicsOutput, va } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26283,12 +25848,10 @@ func awsRestjson1_deserializeOpDocumentListTopicsOutput(v **ListTopicsOutput, va } sv.RequestId = ptr.String(jtv) } - case "TopicsSummaries": if err := awsRestjson1_deserializeDocumentTopicSummaries(&sv.TopicsSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -26472,7 +26035,6 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26481,7 +26043,6 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26490,7 +26051,6 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -26681,7 +26241,6 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26690,12 +26249,10 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.RequestId = ptr.String(jtv) } - case "UserList": if err := awsRestjson1_deserializeDocumentUserList(&sv.UserList, value); err != nil { return err } - default: _, _ = key, value @@ -26880,7 +26437,6 @@ func awsRestjson1_deserializeOpDocumentListVPCConnectionsOutput(v **ListVPCConne } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26889,12 +26445,10 @@ func awsRestjson1_deserializeOpDocumentListVPCConnectionsOutput(v **ListVPCConne } sv.RequestId = ptr.String(jtv) } - case "VPCConnectionSummaries": if err := awsRestjson1_deserializeDocumentVPCConnectionSummaryList(&sv.VPCConnectionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -27085,7 +26639,6 @@ func awsRestjson1_deserializeOpDocumentPutDataSetRefreshPropertiesOutput(v **Put } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -27279,12 +26832,10 @@ func awsRestjson1_deserializeOpDocumentRegisterUserOutput(v **RegisterUserOutput } sv.RequestId = ptr.String(jtv) } - case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - case "UserInvitationUrl": if value != nil { jtv, ok := value.(string) @@ -27293,7 +26844,6 @@ func awsRestjson1_deserializeOpDocumentRegisterUserOutput(v **RegisterUserOutput } sv.UserInvitationUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -27484,7 +27034,6 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -27493,7 +27042,6 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27502,12 +27050,10 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.RequestId = ptr.String(jtv) } - case "RestorationFailedFolderArns": if err := awsRestjson1_deserializeDocumentFolderArnList(&sv.RestorationFailedFolderArns, value); err != nil { return err } - default: _, _ = key, value @@ -27688,7 +27234,6 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu if err := awsRestjson1_deserializeDocumentAnalysisSummaryList(&sv.AnalysisSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27697,7 +27242,6 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27706,7 +27250,6 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -27887,7 +27430,6 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar if err := awsRestjson1_deserializeDocumentDashboardSummaryList(&sv.DashboardSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27896,7 +27438,6 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27905,7 +27446,6 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -28086,7 +27626,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu if err := awsRestjson1_deserializeDocumentDataSetSummaryList(&sv.DataSetSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28095,7 +27634,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28104,7 +27642,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -28285,7 +27822,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou if err := awsRestjson1_deserializeDocumentDataSourceSummaryList(&sv.DataSourceSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28294,7 +27830,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28303,7 +27838,6 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -28490,7 +28024,6 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp if err := awsRestjson1_deserializeDocumentFolderSummaryList(&sv.FolderSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28499,7 +28032,6 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28508,7 +28040,6 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -28695,7 +28226,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28704,7 +28234,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.NextToken = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28713,7 +28242,6 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -28901,7 +28429,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.Arn = ptr.String(jtv) } - case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -28910,7 +28437,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.AssetBundleExportJobId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28919,7 +28445,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -29107,7 +28632,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.Arn = ptr.String(jtv) } - case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -29116,7 +28640,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.AssetBundleImportJobId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -29125,7 +28648,6 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -29319,7 +28841,6 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -29328,7 +28849,6 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } - case "SnapshotJobId": if value != nil { jtv, ok := value.(string) @@ -29337,7 +28857,6 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.SnapshotJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -29525,7 +29044,6 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobScheduleOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -29710,7 +29228,6 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -29892,7 +29409,6 @@ func awsRestjson1_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -30076,7 +29592,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -30085,7 +29600,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.Arn = ptr.String(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -30094,7 +29608,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.AwsAccountId = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -30103,7 +29616,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.Namespace = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30112,7 +29624,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -30297,7 +29808,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -30485,7 +29995,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -30494,7 +30003,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30503,7 +30011,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.RequestId = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -30512,7 +30019,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.UpdateStatus = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -30700,7 +30206,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.AnalysisArn = ptr.String(jtv) } - case "AnalysisId": if value != nil { jtv, ok := value.(string) @@ -30709,12 +30214,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.AnalysisId = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30723,7 +30226,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -30897,7 +30399,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -30906,7 +30407,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.CreationStatus = types.ResourceStatus(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -30915,7 +30415,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.DashboardId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30924,7 +30423,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -30937,7 +30435,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.Status = int32(i64) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -30946,7 +30443,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -31134,12 +30630,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardLinksOutput(v **UpdateDash } sv.DashboardArn = ptr.String(jtv) } - case "LinkEntities": if err := awsRestjson1_deserializeDocumentLinkEntityArnList(&sv.LinkEntities, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31148,7 +30642,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardLinksOutput(v **UpdateDash } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -31336,7 +30829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.DashboardArn = ptr.String(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -31345,17 +30837,14 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.DashboardId = ptr.String(jtv) } - case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31364,7 +30853,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -31549,7 +31037,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.DashboardArn = ptr.String(jtv) } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -31558,7 +31045,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.DashboardId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31567,7 +31053,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -31758,7 +31243,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Arn = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -31767,7 +31251,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.DataSetId = ptr.String(jtv) } - case "IngestionArn": if value != nil { jtv, ok := value.(string) @@ -31776,7 +31259,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.IngestionArn = ptr.String(jtv) } - case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -31785,7 +31267,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.IngestionId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31794,7 +31275,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -31979,7 +31459,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.DataSetArn = ptr.String(jtv) } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -31988,7 +31467,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.DataSetId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31997,7 +31475,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -32185,7 +31662,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Arn = ptr.String(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -32194,7 +31670,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DataSourceId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32203,7 +31678,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.RequestId = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -32212,7 +31686,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.UpdateStatus = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -32397,7 +31870,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.DataSourceArn = ptr.String(jtv) } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -32406,7 +31878,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.DataSourceId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32415,7 +31886,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -32606,7 +32076,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -32615,7 +32084,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.FolderId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32624,7 +32092,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -32798,7 +32265,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.Arn = ptr.String(jtv) } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -32807,12 +32273,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.FolderId = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32821,7 +32285,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -32834,7 +32297,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.Status = int32(i64) } - default: _, _ = key, value @@ -33018,7 +32480,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33027,7 +32488,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -33215,7 +32675,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentId = ptr.String(jtv) } - case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -33224,7 +32683,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentName = ptr.String(jtv) } - case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -33233,12 +32691,10 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentStatus = types.AssignmentStatus(jtv) } - case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -33247,7 +32703,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.PolicyArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33256,7 +32711,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -33438,7 +32892,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityPropagationConfigOutput(v * } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -33623,7 +33076,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIpRestrictionOutput(v **UpdateIpRes } sv.AwsAccountId = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33632,7 +33084,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIpRestrictionOutput(v **UpdateIpRes } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -33793,7 +33244,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyRegistrationOutput(v **UpdateKey if err := awsRestjson1_deserializeDocumentFailedKeyRegistrationEntries(&sv.FailedKeyRegistration, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33802,12 +33252,10 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyRegistrationOutput(v **UpdateKey } sv.RequestId = ptr.String(jtv) } - case "SuccessfulKeyRegistration": if err := awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntries(&sv.SuccessfulKeyRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -33992,7 +33440,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePublicSharingSettingsOutput(v **Upd } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -34180,7 +33627,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput } sv.PersonalizationMode = types.PersonalizationMode(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -34189,7 +33635,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -34377,7 +33822,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.Arn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -34386,7 +33830,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.RequestId = ptr.String(jtv) } - case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -34395,7 +33838,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.ScheduleId = ptr.String(jtv) } - default: _, _ = key, value @@ -34569,7 +34011,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleCustomPermissionOutput(v **Upda } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -34582,7 +34023,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleCustomPermissionOutput(v **Upda } sv.Status = int32(i64) } - default: _, _ = key, value @@ -34764,7 +34204,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSPICECapacityConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value @@ -34955,7 +34394,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -34964,7 +34402,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.CreationStatus = types.ResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -34973,7 +34410,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.RequestId = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -34982,7 +34418,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateId = ptr.String(jtv) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -34991,7 +34426,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -35173,12 +34607,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateAliasOutput(v **UpdateTempl } sv.RequestId = ptr.String(jtv) } - case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } - default: _, _ = key, value @@ -35362,7 +34794,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35371,7 +34802,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.RequestId = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -35380,7 +34810,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.TemplateArn = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -35389,7 +34818,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -35580,7 +35008,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.Arn = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -35589,7 +35016,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.CreationStatus = types.ResourceStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35598,7 +35024,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.RequestId = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -35607,7 +35032,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.ThemeId = ptr.String(jtv) } - case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -35616,7 +35040,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.VersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -35804,12 +35227,10 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeAliasOutput(v **UpdateThemeAli } sv.RequestId = ptr.String(jtv) } - case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } - default: _, _ = key, value @@ -35993,7 +35414,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36002,7 +35422,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.RequestId = ptr.String(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -36011,7 +35430,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.ThemeArn = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -36020,7 +35438,6 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -36211,7 +35628,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.Arn = ptr.String(jtv) } - case "RefreshArn": if value != nil { jtv, ok := value.(string) @@ -36220,7 +35636,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.RefreshArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36229,7 +35644,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.RequestId = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -36238,7 +35652,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -36425,7 +35838,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36434,7 +35846,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -36443,7 +35854,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -36452,7 +35862,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -36643,7 +36052,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.DatasetArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36652,7 +36060,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.RequestId = ptr.String(jtv) } - case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -36661,7 +36068,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.TopicArn = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -36670,7 +36076,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.TopicId = ptr.String(jtv) } - default: _, _ = key, value @@ -36858,12 +36263,10 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.RequestId = ptr.String(jtv) } - case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -37054,7 +36457,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.Arn = ptr.String(jtv) } - case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -37063,7 +36465,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -37072,7 +36473,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.RequestId = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -37081,7 +36481,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.UpdateStatus = types.VPCConnectionResourceStatus(jtv) } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -37090,7 +36489,6 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.VPCConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -37840,15 +37238,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37856,7 +37248,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -37865,15 +37256,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37908,7 +37295,6 @@ func awsRestjson1_deserializeDocumentAccountCustomization(v **types.AccountCusto } sv.DefaultEmailCustomizationTemplate = ptr.String(jtv) } - case "DefaultTheme": if value != nil { jtv, ok := value.(string) @@ -37917,7 +37303,6 @@ func awsRestjson1_deserializeDocumentAccountCustomization(v **types.AccountCusto } sv.DefaultTheme = ptr.String(jtv) } - default: _, _ = key, value @@ -37957,7 +37342,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountName = ptr.String(jtv) } - case "AccountSubscriptionStatus": if value != nil { jtv, ok := value.(string) @@ -37966,7 +37350,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountSubscriptionStatus = ptr.String(jtv) } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -37975,7 +37358,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AuthenticationType = ptr.String(jtv) } - case "Edition": if value != nil { jtv, ok := value.(string) @@ -37984,7 +37366,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.Edition = types.Edition(jtv) } - case "IAMIdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -37993,7 +37374,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.IAMIdentityCenterInstanceArn = ptr.String(jtv) } - case "NotificationEmail": if value != nil { jtv, ok := value.(string) @@ -38002,7 +37382,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.NotificationEmail = ptr.String(jtv) } - default: _, _ = key, value @@ -38042,7 +37421,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.AccountName = ptr.String(jtv) } - case "DefaultNamespace": if value != nil { jtv, ok := value.(string) @@ -38051,7 +37429,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DefaultNamespace = ptr.String(jtv) } - case "Edition": if value != nil { jtv, ok := value.(string) @@ -38060,7 +37437,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.Edition = types.Edition(jtv) } - case "NotificationEmail": if value != nil { jtv, ok := value.(string) @@ -38069,7 +37445,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.NotificationEmail = ptr.String(jtv) } - case "PublicSharingEnabled": if value != nil { jtv, ok := value.(bool) @@ -38078,7 +37453,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PublicSharingEnabled = jtv } - case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -38087,7 +37461,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.TerminationProtectionEnabled = jtv } - default: _, _ = key, value @@ -38163,7 +37536,6 @@ func awsRestjson1_deserializeDocumentActiveIAMPolicyAssignment(v **types.ActiveI } sv.AssignmentName = ptr.String(jtv) } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -38172,7 +37544,6 @@ func awsRestjson1_deserializeDocumentActiveIAMPolicyAssignment(v **types.ActiveI } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -38246,7 +37617,6 @@ func awsRestjson1_deserializeDocumentAdHocFilteringOption(v **types.AdHocFilteri } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -38286,12 +37656,10 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.Aggregation = types.AggType(jtv) } - case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggFunctionParamMap(&sv.AggregationFunctionParameters, value); err != nil { return err } - case "Period": if value != nil { jtv, ok := value.(string) @@ -38300,7 +37668,6 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.Period = types.TopicTimeGranularity(jtv) } - case "PeriodField": if value != nil { jtv, ok := value.(string) @@ -38309,7 +37676,6 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.PeriodField = ptr.String(jtv) } - default: _, _ = key, value @@ -38381,7 +37747,6 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu if err := awsRestjson1_deserializeDocumentAttributeAggregationFunction(&sv.AttributeAggregationFunction, value); err != nil { return err } - case "CategoricalAggregationFunction": if value != nil { jtv, ok := value.(string) @@ -38390,7 +37755,6 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu } sv.CategoricalAggregationFunction = types.CategoricalAggregationFunction(jtv) } - case "DateAggregationFunction": if value != nil { jtv, ok := value.(string) @@ -38399,12 +37763,10 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu } sv.DateAggregationFunction = types.DateAggregationFunction(jtv) } - case "NumericalAggregationFunction": if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.NumericalAggregationFunction, value); err != nil { return err } - default: _, _ = key, value @@ -38480,7 +37842,6 @@ func awsRestjson1_deserializeDocumentAggregationPartitionBy(v **types.Aggregatio } sv.FieldName = ptr.String(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -38489,7 +37850,6 @@ func awsRestjson1_deserializeDocumentAggregationPartitionBy(v **types.Aggregatio } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -38559,12 +37919,10 @@ func awsRestjson1_deserializeDocumentAggregationSortConfiguration(v **types.Aggr if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -38573,7 +37931,6 @@ func awsRestjson1_deserializeDocumentAggregationSortConfiguration(v **types.Aggr } sv.SortDirection = types.SortDirection(jtv) } - default: _, _ = key, value @@ -38678,7 +38035,6 @@ func awsRestjson1_deserializeDocumentAmazonElasticsearchParameters(v **types.Ama } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -38718,7 +38074,6 @@ func awsRestjson1_deserializeDocumentAmazonOpenSearchParameters(v **types.Amazon } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -38758,7 +38113,6 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -38767,7 +38121,6 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -38783,17 +38136,14 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } } - case "DataSetArns": if err := awsRestjson1_deserializeDocumentDataSetArnsList(&sv.DataSetArns, value); err != nil { return err } - case "Errors": if err := awsRestjson1_deserializeDocumentAnalysisErrorList(&sv.Errors, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -38809,7 +38159,6 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38818,12 +38167,10 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Name = ptr.String(jtv) } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38832,7 +38179,6 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Status = types.ResourceStatus(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -38841,7 +38187,6 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.ThemeArn = ptr.String(jtv) } - default: _, _ = key, value @@ -38877,7 +38222,6 @@ func awsRestjson1_deserializeDocumentAnalysisDefaults(v **types.AnalysisDefaults if err := awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(&sv.DefaultNewSheetConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -38913,47 +38257,38 @@ func awsRestjson1_deserializeDocumentAnalysisDefinition(v **types.AnalysisDefini if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } - case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } - case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } - case "DataSetIdentifierDeclarations": if err := awsRestjson1_deserializeDocumentDataSetIdentifierDeclarationList(&sv.DataSetIdentifierDeclarations, value); err != nil { return err } - case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } - case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } - case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } - case "QueryExecutionOptions": if err := awsRestjson1_deserializeDocumentQueryExecutionOptions(&sv.QueryExecutionOptions, value); err != nil { return err } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } - default: _, _ = key, value @@ -38993,7 +38328,6 @@ func awsRestjson1_deserializeDocumentAnalysisError(v **types.AnalysisError, valu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -39002,12 +38336,10 @@ func awsRestjson1_deserializeDocumentAnalysisError(v **types.AnalysisError, valu } sv.Type = types.AnalysisErrorType(jtv) } - case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } - default: _, _ = key, value @@ -39081,7 +38413,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.AnalysisId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -39090,7 +38421,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -39106,7 +38436,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -39122,7 +38451,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39131,7 +38459,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -39140,7 +38467,6 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Status = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -39214,7 +38540,6 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.AnchorType = types.AnchorType(jtv) } - case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -39227,7 +38552,6 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.Offset = int32(i64) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -39236,7 +38560,6 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -39276,7 +38599,6 @@ func awsRestjson1_deserializeDocumentAnchorDateConfiguration(v **types.AnchorDat } sv.AnchorOption = types.AnchorOption(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -39285,7 +38607,6 @@ func awsRestjson1_deserializeDocumentAnchorDateConfiguration(v **types.AnchorDat } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value @@ -39321,7 +38642,6 @@ func awsRestjson1_deserializeDocumentAnonymousUserSnapshotJobResult(v **types.An if err := awsRestjson1_deserializeDocumentSnapshotJobResultFileGroupList(&sv.FileGroups, value); err != nil { return err } - default: _, _ = key, value @@ -39391,7 +38711,6 @@ func awsRestjson1_deserializeDocumentArcAxisConfiguration(v **types.ArcAxisConfi if err := awsRestjson1_deserializeDocumentArcAxisDisplayRange(&sv.Range, value); err != nil { return err } - case "ReserveRange": if value != nil { jtv, ok := value.(json.Number) @@ -39404,7 +38723,6 @@ func awsRestjson1_deserializeDocumentArcAxisConfiguration(v **types.ArcAxisConfi } sv.ReserveRange = int32(i64) } - default: _, _ = key, value @@ -39469,7 +38787,6 @@ func awsRestjson1_deserializeDocumentArcAxisDisplayRange(v **types.ArcAxisDispla } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -39503,7 +38820,6 @@ func awsRestjson1_deserializeDocumentArcAxisDisplayRange(v **types.ArcAxisDispla } } - default: _, _ = key, value @@ -39568,7 +38884,6 @@ func awsRestjson1_deserializeDocumentArcConfiguration(v **types.ArcConfiguration } } - case "ArcThickness": if value != nil { jtv, ok := value.(string) @@ -39577,7 +38892,6 @@ func awsRestjson1_deserializeDocumentArcConfiguration(v **types.ArcConfiguration } sv.ArcThickness = types.ArcThicknessOptions(jtv) } - default: _, _ = key, value @@ -39617,7 +38931,6 @@ func awsRestjson1_deserializeDocumentArcOptions(v **types.ArcOptions, value inte } sv.ArcThickness = types.ArcThickness(jtv) } - default: _, _ = key, value @@ -39653,47 +38966,38 @@ func awsRestjson1_deserializeDocumentAssetBundleCloudFormationOverridePropertyCo if err := awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisOverridePropertiesList(&sv.Analyses, value); err != nil { return err } - case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardOverridePropertiesList(&sv.Dashboards, value); err != nil { return err } - case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetOverridePropertiesList(&sv.DataSets, value); err != nil { return err } - case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourceOverridePropertiesList(&sv.DataSources, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobFolderOverridePropertiesList(&sv.Folders, value); err != nil { return err } - case "RefreshSchedules": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshScheduleOverridePropertiesList(&sv.RefreshSchedules, value); err != nil { return err } - case "ResourceIdOverrideConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobResourceIdOverrideConfiguration(&sv.ResourceIdOverrideConfiguration, value); err != nil { return err } - case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobThemeOverridePropertiesList(&sv.Themes, value); err != nil { return err } - case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionOverridePropertiesList(&sv.VPCConnections, value); err != nil { return err } - default: _, _ = key, value @@ -39733,12 +39037,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisOverridePropert } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisPropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -39848,12 +39150,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardOverrideProper } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardPropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -39963,12 +39263,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetOverrideProperti } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetPropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40078,12 +39376,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourceOverridePrope } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourcePropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40193,7 +39489,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -40202,7 +39497,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -40211,7 +39505,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -40285,12 +39578,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobFolderOverridePropertie } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobFolderPropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40400,12 +39691,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshScheduleOverride } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshSchedulePropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40515,7 +39804,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobResourceIdOverrideConfi } sv.PrefixForAllResources = jtv } - default: _, _ = key, value @@ -40555,7 +39843,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.Arn = ptr.String(jtv) } - case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -40564,7 +39851,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.AssetBundleExportJobId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -40580,7 +39866,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } } - case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -40589,7 +39874,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.ExportFormat = types.AssetBundleExportFormat(jtv) } - case "IncludeAllDependencies": if value != nil { jtv, ok := value.(bool) @@ -40598,7 +39882,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludeAllDependencies = jtv } - case "IncludePermissions": if value != nil { jtv, ok := value.(bool) @@ -40607,7 +39890,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludePermissions = jtv } - case "IncludeTags": if value != nil { jtv, ok := value.(bool) @@ -40616,7 +39898,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludeTags = jtv } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -40625,7 +39906,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.JobStatus = types.AssetBundleExportJobStatus(jtv) } - default: _, _ = key, value @@ -40699,12 +39979,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobThemeOverrideProperties } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobThemePropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40814,7 +40092,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobValidationStrategy(v ** } sv.StrictModeForAllResources = jtv } - default: _, _ = key, value @@ -40854,12 +40131,10 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionOverridePr } sv.Arn = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionPropertyToOverrideList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -40969,7 +40244,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobWarning(v **types.Asset } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -40978,7 +40252,6 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobWarning(v **types.Asset } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -41052,7 +40325,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParamet } sv.AnalysisId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41061,7 +40333,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParamet } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41131,12 +40402,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverridePermiss if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.AnalysisIds, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -41206,12 +40475,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideTags(v if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.AnalysisIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -41285,7 +40552,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParame } sv.DashboardId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41294,7 +40560,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParame } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41364,17 +40629,14 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverridePermis if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DashboardIds, value); err != nil { return err } - case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleResourceLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -41444,12 +40706,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideTags(v if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DashboardIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -41523,7 +40783,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParamete } sv.DataSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41532,7 +40791,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParamete } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -41602,12 +40860,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverridePermissi if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSetIds, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -41677,12 +40933,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideTags(v * if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSetIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -41756,7 +41010,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPai } sv.Password = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -41765,7 +41018,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPai } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -41801,7 +41053,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(v if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPair(&sv.CredentialPair, value); err != nil { return err } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -41810,7 +41061,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(v } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -41846,7 +41096,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(&sv.Credentials, value); err != nil { return err } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -41855,12 +41104,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam } sv.DataSourceId = ptr.String(jtv) } - case "DataSourceParameters": if err := awsRestjson1_deserializeDocumentDataSourceParameters(&sv.DataSourceParameters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41869,17 +41116,14 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam } sv.Name = ptr.String(jtv) } - case "SslProperties": if err := awsRestjson1_deserializeDocumentSslProperties(&sv.SslProperties, value); err != nil { return err } - case "VpcConnectionProperties": if err := awsRestjson1_deserializeDocumentVpcConnectionProperties(&sv.VpcConnectionProperties, value); err != nil { return err } - default: _, _ = key, value @@ -41949,12 +41193,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverridePermi if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSourceIds, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -42024,12 +41266,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideTags( if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSourceIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -42103,7 +41343,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -42112,7 +41351,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -42121,7 +41359,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -42195,7 +41432,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.FolderId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -42204,7 +41440,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.Name = ptr.String(jtv) } - case "ParentFolderArn": if value != nil { jtv, ok := value.(string) @@ -42213,7 +41448,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.ParentFolderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -42283,12 +41517,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverridePermissio if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.FolderIds, value); err != nil { return err } - case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -42358,12 +41590,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideTags(v ** if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.FolderIds, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -42433,47 +41663,38 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideParameters(v ** if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParametersList(&sv.Analyses, value); err != nil { return err } - case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParametersList(&sv.Dashboards, value); err != nil { return err } - case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParametersList(&sv.DataSets, value); err != nil { return err } - case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParametersList(&sv.DataSources, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParametersList(&sv.Folders, value); err != nil { return err } - case "RefreshSchedules": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverrideParametersList(&sv.RefreshSchedules, value); err != nil { return err } - case "ResourceIdOverrideConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobResourceIdOverrideConfiguration(&sv.ResourceIdOverrideConfiguration, value); err != nil { return err } - case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParametersList(&sv.Themes, value); err != nil { return err } - case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideParametersList(&sv.VPCConnections, value); err != nil { return err } - default: _, _ = key, value @@ -42509,32 +41730,26 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverridePermissions(v * if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverridePermissionsList(&sv.Analyses, value); err != nil { return err } - case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverridePermissionsList(&sv.Dashboards, value); err != nil { return err } - case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverridePermissionsList(&sv.DataSets, value); err != nil { return err } - case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverridePermissionsList(&sv.DataSources, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverridePermissionsList(&sv.Folders, value); err != nil { return err } - case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverridePermissionsList(&sv.Themes, value); err != nil { return err } - default: _, _ = key, value @@ -42570,37 +41785,30 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideTags(v **types. if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideTagsList(&sv.Analyses, value); err != nil { return err } - case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideTagsList(&sv.Dashboards, value); err != nil { return err } - case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideTagsList(&sv.DataSets, value); err != nil { return err } - case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideTagsList(&sv.DataSources, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideTagsList(&sv.Folders, value); err != nil { return err } - case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideTagsList(&sv.Themes, value); err != nil { return err } - case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideTagsList(&sv.VPCConnections, value); err != nil { return err } - default: _, _ = key, value @@ -42640,7 +41848,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideValidationStrat } sv.StrictModeForAllResources = jtv } - default: _, _ = key, value @@ -42680,7 +41887,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } sv.DataSetId = ptr.String(jtv) } - case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -42689,7 +41895,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } sv.ScheduleId = ptr.String(jtv) } - case "StartAfterDateTime": if value != nil { switch jtv := value.(type) { @@ -42705,7 +41910,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } } - default: _, _ = key, value @@ -42779,7 +41983,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobResourceIdOverrideConfi } sv.PrefixForAllResources = ptr.String(jtv) } - default: _, _ = key, value @@ -42819,7 +42022,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.Arn = ptr.String(jtv) } - case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -42828,7 +42030,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.AssetBundleImportJobId = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -42844,7 +42045,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } } - case "FailureAction": if value != nil { jtv, ok := value.(string) @@ -42853,7 +42053,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.FailureAction = types.AssetBundleImportFailureAction(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -42862,7 +42061,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.JobStatus = types.AssetBundleImportJobStatus(jtv) } - default: _, _ = key, value @@ -42936,7 +42134,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParameters } sv.Name = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -42945,7 +42142,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParameters } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -43015,12 +42211,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverridePermission if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - case "ThemeIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.ThemeIds, value); err != nil { return err } - default: _, _ = key, value @@ -43090,12 +42284,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideTags(v **t if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "ThemeIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.ThemeIds, value); err != nil { return err } - default: _, _ = key, value @@ -43165,7 +42357,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa if err := awsRestjson1_deserializeDocumentDnsResolverList(&sv.DnsResolvers, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -43174,7 +42365,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -43183,17 +42373,14 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.RoleArn = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -43202,7 +42389,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.VPCConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -43272,12 +42458,10 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideTa if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VPCConnectionIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.VPCConnectionIds, value); err != nil { return err } - default: _, _ = key, value @@ -43351,7 +42535,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobWarning(v **types.Asset } sv.Arn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -43360,7 +42543,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobWarning(v **types.Asset } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -43434,7 +42616,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(v **type } sv.Body = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -43443,7 +42624,6 @@ func awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(v **type } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -43551,7 +42731,6 @@ func awsRestjson1_deserializeDocumentAssetBundleResourceLinkSharingConfiguration if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -43587,12 +42766,10 @@ func awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(v **types.As if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "Principals": if err := awsRestjson1_deserializeDocumentAssetBundlePrincipalList(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -43668,7 +42845,6 @@ func awsRestjson1_deserializeDocumentAssetOptions(v **types.AssetOptions, value } sv.Timezone = ptr.String(jtv) } - case "WeekStart": if value != nil { jtv, ok := value.(string) @@ -43677,7 +42853,6 @@ func awsRestjson1_deserializeDocumentAssetOptions(v **types.AssetOptions, value } sv.WeekStart = types.DayOfTheWeek(jtv) } - default: _, _ = key, value @@ -43717,7 +42892,6 @@ func awsRestjson1_deserializeDocumentAthenaParameters(v **types.AthenaParameters } sv.RoleArn = ptr.String(jtv) } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -43726,7 +42900,6 @@ func awsRestjson1_deserializeDocumentAthenaParameters(v **types.AthenaParameters } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -43766,7 +42939,6 @@ func awsRestjson1_deserializeDocumentAttributeAggregationFunction(v **types.Attr } sv.SimpleAttributeAggregation = types.SimpleAttributeAggregationFunction(jtv) } - case "ValueForMultipleValues": if value != nil { jtv, ok := value.(string) @@ -43775,7 +42947,6 @@ func awsRestjson1_deserializeDocumentAttributeAggregationFunction(v **types.Attr } sv.ValueForMultipleValues = ptr.String(jtv) } - default: _, _ = key, value @@ -43815,7 +42986,6 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -43824,7 +42994,6 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43837,7 +43006,6 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43877,7 +43045,6 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -43886,7 +43053,6 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43899,7 +43065,6 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43935,7 +43100,6 @@ func awsRestjson1_deserializeDocumentAuthorizedTargetsByService(v **types.Author if err := awsRestjson1_deserializeDocumentAuthorizedTargetsList(&sv.AuthorizedTargets, value); err != nil { return err } - case "Service": if value != nil { jtv, ok := value.(string) @@ -43944,7 +43108,6 @@ func awsRestjson1_deserializeDocumentAuthorizedTargetsByService(v **types.Author } sv.Service = types.ServiceType(jtv) } - default: _, _ = key, value @@ -44090,7 +43253,6 @@ func awsRestjson1_deserializeDocumentAwsIotAnalyticsParameters(v **types.AwsIotA } sv.DataSetName = ptr.String(jtv) } - default: _, _ = key, value @@ -44126,12 +43288,10 @@ func awsRestjson1_deserializeDocumentAxisDataOptions(v **types.AxisDataOptions, if err := awsRestjson1_deserializeDocumentDateAxisOptions(&sv.DateAxisOptions, value); err != nil { return err } - case "NumericAxisOptions": if err := awsRestjson1_deserializeDocumentNumericAxisOptions(&sv.NumericAxisOptions, value); err != nil { return err } - default: _, _ = key, value @@ -44227,7 +43387,6 @@ func awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(v **types.AxisDispla } } - case "Minimum": if value != nil { switch jtv := value.(type) { @@ -44261,7 +43420,6 @@ func awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(v **types.AxisDispla } } - default: _, _ = key, value @@ -44301,7 +43459,6 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.AxisLineVisibility = types.Visibility(jtv) } - case "AxisOffset": if value != nil { jtv, ok := value.(string) @@ -44310,12 +43467,10 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.AxisOffset = ptr.String(jtv) } - case "DataOptions": if err := awsRestjson1_deserializeDocumentAxisDataOptions(&sv.DataOptions, value); err != nil { return err } - case "GridLineVisibility": if value != nil { jtv, ok := value.(string) @@ -44324,17 +43479,14 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.GridLineVisibility = types.Visibility(jtv) } - case "ScrollbarOptions": if err := awsRestjson1_deserializeDocumentScrollBarOptions(&sv.ScrollbarOptions, value); err != nil { return err } - case "TickLabelOptions": if err := awsRestjson1_deserializeDocumentAxisTickLabelOptions(&sv.TickLabelOptions, value); err != nil { return err } - default: _, _ = key, value @@ -44370,12 +43522,10 @@ func awsRestjson1_deserializeDocumentAxisDisplayRange(v **types.AxisDisplayRange if err := awsRestjson1_deserializeDocumentAxisDisplayDataDrivenRange(&sv.DataDriven, value); err != nil { return err } - case "MinMax": if err := awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(&sv.MinMax, value); err != nil { return err } - default: _, _ = key, value @@ -44411,7 +43561,6 @@ func awsRestjson1_deserializeDocumentAxisLabelOptions(v **types.AxisLabelOptions if err := awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(&sv.ApplyTo, value); err != nil { return err } - case "CustomLabel": if value != nil { jtv, ok := value.(string) @@ -44420,12 +43569,10 @@ func awsRestjson1_deserializeDocumentAxisLabelOptions(v **types.AxisLabelOptions } sv.CustomLabel = ptr.String(jtv) } - case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -44495,7 +43642,6 @@ func awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(v **types.AxisLab if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -44504,7 +43650,6 @@ func awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(v **types.AxisLab } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -44548,7 +43693,6 @@ func awsRestjson1_deserializeDocumentAxisLinearScale(v **types.AxisLinearScale, } sv.StepCount = ptr.Int32(int32(i64)) } - case "StepSize": if value != nil { switch jtv := value.(type) { @@ -44582,7 +43726,6 @@ func awsRestjson1_deserializeDocumentAxisLinearScale(v **types.AxisLinearScale, } } - default: _, _ = key, value @@ -44647,7 +43790,6 @@ func awsRestjson1_deserializeDocumentAxisLogarithmicScale(v **types.AxisLogarith } } - default: _, _ = key, value @@ -44683,12 +43825,10 @@ func awsRestjson1_deserializeDocumentAxisScale(v **types.AxisScale, value interf if err := awsRestjson1_deserializeDocumentAxisLinearScale(&sv.Linear, value); err != nil { return err } - case "Logarithmic": if err := awsRestjson1_deserializeDocumentAxisLogarithmicScale(&sv.Logarithmic, value); err != nil { return err } - default: _, _ = key, value @@ -44724,7 +43864,6 @@ func awsRestjson1_deserializeDocumentAxisTickLabelOptions(v **types.AxisTickLabe if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.LabelOptions, value); err != nil { return err } - case "RotationAngle": if value != nil { switch jtv := value.(type) { @@ -44758,7 +43897,6 @@ func awsRestjson1_deserializeDocumentAxisTickLabelOptions(v **types.AxisTickLabe } } - default: _, _ = key, value @@ -44794,22 +43932,18 @@ func awsRestjson1_deserializeDocumentBarChartAggregatedFieldWells(v **types.BarC if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } - case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -44849,47 +43983,38 @@ func awsRestjson1_deserializeDocumentBarChartConfiguration(v **types.BarChartCon } sv.BarsArrangement = types.BarsArrangement(jtv) } - case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } - case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } - case "ContributionAnalysisDefaults": if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentBarChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "Orientation": if value != nil { jtv, ok := value.(string) @@ -44898,42 +44023,34 @@ func awsRestjson1_deserializeDocumentBarChartConfiguration(v **types.BarChartCon } sv.Orientation = types.BarChartOrientation(jtv) } - case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } - case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentBarChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "ValueAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.ValueAxis, value); err != nil { return err } - case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -44969,7 +44086,6 @@ func awsRestjson1_deserializeDocumentBarChartFieldWells(v **types.BarChartFieldW if err := awsRestjson1_deserializeDocumentBarChartAggregatedFieldWells(&sv.BarChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -45005,32 +44121,26 @@ func awsRestjson1_deserializeDocumentBarChartSortConfiguration(v **types.BarChar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } - case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } - case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } - case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } - default: _, _ = key, value @@ -45066,27 +44176,22 @@ func awsRestjson1_deserializeDocumentBarChartVisual(v **types.BarChartVisual, va if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentBarChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -45095,7 +44200,6 @@ func awsRestjson1_deserializeDocumentBarChartVisual(v **types.BarChartVisual, va } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -45135,7 +44239,6 @@ func awsRestjson1_deserializeDocumentBigQueryParameters(v **types.BigQueryParame } sv.DataSetRegion = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -45144,7 +44247,6 @@ func awsRestjson1_deserializeDocumentBigQueryParameters(v **types.BigQueryParame } sv.ProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -45188,7 +44290,6 @@ func awsRestjson1_deserializeDocumentBinCountOptions(v **types.BinCountOptions, } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -45232,7 +44333,6 @@ func awsRestjson1_deserializeDocumentBinWidthOptions(v **types.BinWidthOptions, } sv.BinCountLimit = ptr.Int64(i64) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -45266,7 +44366,6 @@ func awsRestjson1_deserializeDocumentBinWidthOptions(v **types.BinWidthOptions, } } - default: _, _ = key, value @@ -45302,17 +44401,14 @@ func awsRestjson1_deserializeDocumentBodySectionConfiguration(v **types.BodySect if err := awsRestjson1_deserializeDocumentBodySectionContent(&sv.Content, value); err != nil { return err } - case "PageBreakConfiguration": if err := awsRestjson1_deserializeDocumentSectionPageBreakConfiguration(&sv.PageBreakConfiguration, value); err != nil { return err } - case "RepeatConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionRepeatConfiguration(&sv.RepeatConfiguration, value); err != nil { return err } - case "SectionId": if value != nil { jtv, ok := value.(string) @@ -45321,12 +44417,10 @@ func awsRestjson1_deserializeDocumentBodySectionConfiguration(v **types.BodySect } sv.SectionId = ptr.String(jtv) } - case "Style": if err := awsRestjson1_deserializeDocumentSectionStyle(&sv.Style, value); err != nil { return err } - default: _, _ = key, value @@ -45396,7 +44490,6 @@ func awsRestjson1_deserializeDocumentBodySectionContent(v **types.BodySectionCon if err := awsRestjson1_deserializeDocumentSectionLayoutConfiguration(&sv.Layout, value); err != nil { return err } - default: _, _ = key, value @@ -45432,7 +44525,6 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfigur if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -45445,12 +44537,10 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfigur } sv.Limit = ptr.Int32(int32(i64)) } - case "SortByMetrics": if err := awsRestjson1_deserializeDocumentBodySectionDynamicDimensionSortConfigurationList(&sv.SortByMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -45520,7 +44610,6 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfigura if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -45533,12 +44622,10 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfigura } sv.Limit = ptr.Int32(int32(i64)) } - case "SortByMetrics": if err := awsRestjson1_deserializeDocumentBodySectionDynamicDimensionSortConfigurationList(&sv.SortByMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -45574,17 +44661,14 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatConfiguration(v **types.Bo if err := awsRestjson1_deserializeDocumentBodySectionRepeatDimensionConfigurationList(&sv.DimensionConfigurations, value); err != nil { return err } - case "NonRepeatingVisuals": if err := awsRestjson1_deserializeDocumentNonRepeatingVisualsList(&sv.NonRepeatingVisuals, value); err != nil { return err } - case "PageBreakConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionRepeatPageBreakConfiguration(&sv.PageBreakConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -45620,12 +44704,10 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatDimensionConfiguration(v * if err := awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfiguration(&sv.DynamicCategoryDimensionConfiguration, value); err != nil { return err } - case "DynamicNumericDimensionConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfiguration(&sv.DynamicNumericDimensionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -45695,7 +44777,6 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatPageBreakConfiguration(v * if err := awsRestjson1_deserializeDocumentSectionAfterPageBreak(&sv.After, value); err != nil { return err } - default: _, _ = key, value @@ -45735,7 +44816,6 @@ func awsRestjson1_deserializeDocumentBorderStyle(v **types.BorderStyle, value in } sv.Show = ptr.Bool(jtv) } - default: _, _ = key, value @@ -45771,12 +44851,10 @@ func awsRestjson1_deserializeDocumentBoxPlotAggregatedFieldWells(v **types.BoxPl if err := awsRestjson1_deserializeDocumentBoxPlotDimensionFieldList(&sv.GroupBy, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentBoxPlotMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -45812,62 +44890,50 @@ func awsRestjson1_deserializeDocumentBoxPlotChartConfiguration(v **types.BoxPlot if err := awsRestjson1_deserializeDocumentBoxPlotOptions(&sv.BoxPlotOptions, value); err != nil { return err } - case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } - case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentBoxPlotFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } - case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } - case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentBoxPlotSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -45937,7 +45003,6 @@ func awsRestjson1_deserializeDocumentBoxPlotFieldWells(v **types.BoxPlotFieldWel if err := awsRestjson1_deserializeDocumentBoxPlotAggregatedFieldWells(&sv.BoxPlotAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -46011,7 +45076,6 @@ func awsRestjson1_deserializeDocumentBoxPlotOptions(v **types.BoxPlotOptions, va } sv.AllDataPointsVisibility = types.Visibility(jtv) } - case "OutlierVisibility": if value != nil { jtv, ok := value.(string) @@ -46020,12 +45084,10 @@ func awsRestjson1_deserializeDocumentBoxPlotOptions(v **types.BoxPlotOptions, va } sv.OutlierVisibility = types.Visibility(jtv) } - case "StyleOptions": if err := awsRestjson1_deserializeDocumentBoxPlotStyleOptions(&sv.StyleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -46061,12 +45123,10 @@ func awsRestjson1_deserializeDocumentBoxPlotSortConfiguration(v **types.BoxPlotS if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "PaginationConfiguration": if err := awsRestjson1_deserializeDocumentPaginationConfiguration(&sv.PaginationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -46106,7 +45166,6 @@ func awsRestjson1_deserializeDocumentBoxPlotStyleOptions(v **types.BoxPlotStyleO } sv.FillStyle = types.BoxPlotFillStyle(jtv) } - default: _, _ = key, value @@ -46142,27 +45201,22 @@ func awsRestjson1_deserializeDocumentBoxPlotVisual(v **types.BoxPlotVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentBoxPlotChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -46171,7 +45225,6 @@ func awsRestjson1_deserializeDocumentBoxPlotVisual(v **types.BoxPlotVisual, valu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -46211,7 +45264,6 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.ColumnId = ptr.String(jtv) } - case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -46220,7 +45272,6 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.ColumnName = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -46229,7 +45280,6 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -46303,7 +45353,6 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.DataSetIdentifier = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -46312,7 +45361,6 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.Expression = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -46321,7 +45369,6 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -46429,7 +45476,6 @@ func awsRestjson1_deserializeDocumentCalculatedMeasureField(v **types.Calculated } sv.Expression = ptr.String(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -46438,7 +45484,6 @@ func awsRestjson1_deserializeDocumentCalculatedMeasureField(v **types.Calculated } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -46474,7 +45519,6 @@ func awsRestjson1_deserializeDocumentCascadingControlConfiguration(v **types.Cas if err := awsRestjson1_deserializeDocumentCascadingControlSourceList(&sv.SourceControls, value); err != nil { return err } - default: _, _ = key, value @@ -46510,7 +45554,6 @@ func awsRestjson1_deserializeDocumentCascadingControlSource(v **types.CascadingC if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.ColumnToMatch, value); err != nil { return err } - case "SourceSheetControlId": if value != nil { jtv, ok := value.(string) @@ -46519,7 +45562,6 @@ func awsRestjson1_deserializeDocumentCascadingControlSource(v **types.CascadingC } sv.SourceSheetControlId = ptr.String(jtv) } - default: _, _ = key, value @@ -46593,7 +45635,6 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.ColumnName = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -46602,7 +45643,6 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.Format = ptr.String(jtv) } - case "NewColumnType": if value != nil { jtv, ok := value.(string) @@ -46611,7 +45651,6 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.NewColumnType = types.ColumnDataType(jtv) } - case "SubType": if value != nil { jtv, ok := value.(string) @@ -46620,7 +45659,6 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.SubType = types.ColumnDataSubType(jtv) } - default: _, _ = key, value @@ -46656,7 +45694,6 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -46665,12 +45702,10 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -46679,7 +45714,6 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -46719,12 +45753,10 @@ func awsRestjson1_deserializeDocumentCategoricalMeasureField(v **types.Categoric } sv.AggregationFunction = types.CategoricalAggregationFunction(jtv) } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -46733,12 +45765,10 @@ func awsRestjson1_deserializeDocumentCategoricalMeasureField(v **types.Categoric } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -46774,12 +45804,10 @@ func awsRestjson1_deserializeDocumentCategoryDrillDownFilter(v **types.CategoryD if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - default: _, _ = key, value @@ -46815,17 +45843,14 @@ func awsRestjson1_deserializeDocumentCategoryFilter(v **types.CategoryFilter, va if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Configuration": if err := awsRestjson1_deserializeDocumentCategoryFilterConfiguration(&sv.Configuration, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -46834,7 +45859,6 @@ func awsRestjson1_deserializeDocumentCategoryFilter(v **types.CategoryFilter, va } sv.FilterId = ptr.String(jtv) } - default: _, _ = key, value @@ -46870,17 +45894,14 @@ func awsRestjson1_deserializeDocumentCategoryFilterConfiguration(v **types.Categ if err := awsRestjson1_deserializeDocumentCustomFilterConfiguration(&sv.CustomFilterConfiguration, value); err != nil { return err } - case "CustomFilterListConfiguration": if err := awsRestjson1_deserializeDocumentCustomFilterListConfiguration(&sv.CustomFilterListConfiguration, value); err != nil { return err } - case "FilterListConfiguration": if err := awsRestjson1_deserializeDocumentFilterListConfiguration(&sv.FilterListConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -46916,17 +45937,14 @@ func awsRestjson1_deserializeDocumentCategoryInnerFilter(v **types.CategoryInner if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Configuration": if err := awsRestjson1_deserializeDocumentCategoryFilterConfiguration(&sv.Configuration, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -47002,12 +46020,10 @@ func awsRestjson1_deserializeDocumentCellValueSynonym(v **types.CellValueSynonym } sv.CellValue = ptr.String(jtv) } - case "Synonyms": if err := awsRestjson1_deserializeDocumentStringList(&sv.Synonyms, value); err != nil { return err } - default: _, _ = key, value @@ -47077,7 +46093,6 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa if err := awsRestjson1_deserializeDocumentAxisLabelOptionsList(&sv.AxisLabelOptions, value); err != nil { return err } - case "SortIconVisibility": if value != nil { jtv, ok := value.(string) @@ -47086,7 +46101,6 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa } sv.SortIconVisibility = types.Visibility(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -47095,7 +46109,6 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -47131,7 +46144,6 @@ func awsRestjson1_deserializeDocumentClusterMarker(v **types.ClusterMarker, valu if err := awsRestjson1_deserializeDocumentSimpleClusterMarker(&sv.SimpleClusterMarker, value); err != nil { return err } - default: _, _ = key, value @@ -47167,7 +46179,6 @@ func awsRestjson1_deserializeDocumentClusterMarkerConfiguration(v **types.Cluste if err := awsRestjson1_deserializeDocumentClusterMarker(&sv.ClusterMarker, value); err != nil { return err } - default: _, _ = key, value @@ -47203,7 +46214,6 @@ func awsRestjson1_deserializeDocumentCollectiveConstant(v **types.CollectiveCons if err := awsRestjson1_deserializeDocumentStringList(&sv.ValueList, value); err != nil { return err } - default: _, _ = key, value @@ -47243,7 +46253,6 @@ func awsRestjson1_deserializeDocumentCollectiveConstantEntry(v **types.Collectiv } sv.ConstantType = types.ConstantType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -47252,7 +46261,6 @@ func awsRestjson1_deserializeDocumentCollectiveConstantEntry(v **types.Collectiv } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -47362,17 +46370,14 @@ func awsRestjson1_deserializeDocumentColorScale(v **types.ColorScale, value inte } sv.ColorFillType = types.ColorFillType(jtv) } - case "Colors": if err := awsRestjson1_deserializeDocumentColorScaleColorList(&sv.Colors, value); err != nil { return err } - case "NullValueColor": if err := awsRestjson1_deserializeDocumentDataColor(&sv.NullValueColor, value); err != nil { return err } - default: _, _ = key, value @@ -47442,7 +46447,6 @@ func awsRestjson1_deserializeDocumentColorsConfiguration(v **types.ColorsConfigu if err := awsRestjson1_deserializeDocumentCustomColorsList(&sv.CustomColors, value); err != nil { return err } - default: _, _ = key, value @@ -47478,17 +46482,14 @@ func awsRestjson1_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu if err := awsRestjson1_deserializeDocumentColorsConfiguration(&sv.ColorsConfiguration, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -47497,7 +46498,6 @@ func awsRestjson1_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.Role = types.ColumnRole(jtv) } - default: _, _ = key, value @@ -47571,7 +46571,6 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -47607,7 +46606,6 @@ func awsRestjson1_deserializeDocumentColumnGroup(v **types.ColumnGroup, value in if err := awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(&sv.GeoSpatialColumnGroup, value); err != nil { return err } - default: _, _ = key, value @@ -47647,7 +46645,6 @@ func awsRestjson1_deserializeDocumentColumnGroupColumnSchema(v **types.ColumnGro } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -47751,7 +46748,6 @@ func awsRestjson1_deserializeDocumentColumnGroupSchema(v **types.ColumnGroupSche if err := awsRestjson1_deserializeDocumentColumnGroupColumnSchemaList(&sv.ColumnGroupColumnSchemaList, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47760,7 +46756,6 @@ func awsRestjson1_deserializeDocumentColumnGroupSchema(v **types.ColumnGroupSche } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -47830,17 +46825,14 @@ func awsRestjson1_deserializeDocumentColumnHierarchy(v **types.ColumnHierarchy, if err := awsRestjson1_deserializeDocumentDateTimeHierarchy(&sv.DateTimeHierarchy, value); err != nil { return err } - case "ExplicitHierarchy": if err := awsRestjson1_deserializeDocumentExplicitHierarchy(&sv.ExplicitHierarchy, value); err != nil { return err } - case "PredefinedHierarchy": if err := awsRestjson1_deserializeDocumentPredefinedHierarchy(&sv.PredefinedHierarchy, value); err != nil { return err } - default: _, _ = key, value @@ -47914,7 +46906,6 @@ func awsRestjson1_deserializeDocumentColumnIdentifier(v **types.ColumnIdentifier } sv.ColumnName = ptr.String(jtv) } - case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -47923,7 +46914,6 @@ func awsRestjson1_deserializeDocumentColumnIdentifier(v **types.ColumnIdentifier } sv.DataSetIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -47959,12 +46949,10 @@ func awsRestjson1_deserializeDocumentColumnLevelPermissionRule(v **types.ColumnL if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.ColumnNames, value); err != nil { return err } - case "Principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -48110,7 +47098,6 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.DataType = ptr.String(jtv) } - case "GeographicRole": if value != nil { jtv, ok := value.(string) @@ -48119,7 +47106,6 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.GeographicRole = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48128,7 +47114,6 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -48198,7 +47183,6 @@ func awsRestjson1_deserializeDocumentColumnSort(v **types.ColumnSort, value inte if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -48207,12 +47191,10 @@ func awsRestjson1_deserializeDocumentColumnSort(v **types.ColumnSort, value inte } sv.Direction = types.SortDirection(jtv) } - case "SortBy": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.SortBy, value); err != nil { return err } - default: _, _ = key, value @@ -48248,7 +47230,6 @@ func awsRestjson1_deserializeDocumentColumnTag(v **types.ColumnTag, value interf if err := awsRestjson1_deserializeDocumentColumnDescription(&sv.ColumnDescription, value); err != nil { return err } - case "ColumnGeographicRole": if value != nil { jtv, ok := value.(string) @@ -48257,7 +47238,6 @@ func awsRestjson1_deserializeDocumentColumnTag(v **types.ColumnTag, value interf } sv.ColumnGeographicRole = types.GeoSpatialDataRole(jtv) } - default: _, _ = key, value @@ -48363,12 +47343,10 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.Aggregation, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Label": if value != nil { jtv, ok := value.(string) @@ -48377,7 +47355,6 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.Label = ptr.String(jtv) } - case "TooltipTarget": if value != nil { jtv, ok := value.(string) @@ -48386,7 +47363,6 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.TooltipTarget = types.TooltipTarget(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -48395,7 +47371,6 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -48431,22 +47406,18 @@ func awsRestjson1_deserializeDocumentComboChartAggregatedFieldWells(v **types.Co if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.BarValues, value); err != nil { return err } - case "Category": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } - case "LineValues": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.LineValues, value); err != nil { return err } - default: _, _ = key, value @@ -48482,7 +47453,6 @@ func awsRestjson1_deserializeDocumentComboChartConfiguration(v **types.ComboChar if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.BarDataLabels, value); err != nil { return err } - case "BarsArrangement": if value != nil { jtv, ok := value.(string) @@ -48491,87 +47461,70 @@ func awsRestjson1_deserializeDocumentComboChartConfiguration(v **types.ComboChar } sv.BarsArrangement = types.BarsArrangement(jtv) } - case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } - case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentComboChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "LineDataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.LineDataLabels, value); err != nil { return err } - case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } - case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } - case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } - case "SecondaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.SecondaryYAxisDisplayOptions, value); err != nil { return err } - case "SecondaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SecondaryYAxisLabelOptions, value); err != nil { return err } - case "SingleAxisOptions": if err := awsRestjson1_deserializeDocumentSingleAxisOptions(&sv.SingleAxisOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentComboChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -48607,7 +47560,6 @@ func awsRestjson1_deserializeDocumentComboChartFieldWells(v **types.ComboChartFi if err := awsRestjson1_deserializeDocumentComboChartAggregatedFieldWells(&sv.ComboChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -48643,22 +47595,18 @@ func awsRestjson1_deserializeDocumentComboChartSortConfiguration(v **types.Combo if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } - case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } - default: _, _ = key, value @@ -48694,27 +47642,22 @@ func awsRestjson1_deserializeDocumentComboChartVisual(v **types.ComboChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentComboChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -48723,7 +47666,6 @@ func awsRestjson1_deserializeDocumentComboChartVisual(v **types.ComboChartVisual } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -48759,7 +47701,6 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder if err := awsRestjson1_deserializeDocumentStringList(&sv.SpecifedOrder, value); err != nil { return err } - case "TreatUndefinedSpecifiedValues": if value != nil { jtv, ok := value.(string) @@ -48768,7 +47709,6 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder } sv.TreatUndefinedSpecifiedValues = types.UndefinedSpecifiedValueType(jtv) } - case "UseOrdering": if value != nil { jtv, ok := value.(string) @@ -48777,7 +47717,6 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder } sv.UseOrdering = types.ColumnOrderingType(jtv) } - default: _, _ = key, value @@ -48813,7 +47752,6 @@ func awsRestjson1_deserializeDocumentComparisonConfiguration(v **types.Compariso if err := awsRestjson1_deserializeDocumentComparisonFormatConfiguration(&sv.ComparisonFormat, value); err != nil { return err } - case "ComparisonMethod": if value != nil { jtv, ok := value.(string) @@ -48822,7 +47760,6 @@ func awsRestjson1_deserializeDocumentComparisonConfiguration(v **types.Compariso } sv.ComparisonMethod = types.ComparisonMethod(jtv) } - default: _, _ = key, value @@ -48858,12 +47795,10 @@ func awsRestjson1_deserializeDocumentComparisonFormatConfiguration(v **types.Com if err := awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(&sv.NumberDisplayFormatConfiguration, value); err != nil { return err } - case "PercentageDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(&sv.PercentageDisplayFormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -48899,52 +47834,42 @@ func awsRestjson1_deserializeDocumentComputation(v **types.Computation, value in if err := awsRestjson1_deserializeDocumentForecastComputation(&sv.Forecast, value); err != nil { return err } - case "GrowthRate": if err := awsRestjson1_deserializeDocumentGrowthRateComputation(&sv.GrowthRate, value); err != nil { return err } - case "MaximumMinimum": if err := awsRestjson1_deserializeDocumentMaximumMinimumComputation(&sv.MaximumMinimum, value); err != nil { return err } - case "MetricComparison": if err := awsRestjson1_deserializeDocumentMetricComparisonComputation(&sv.MetricComparison, value); err != nil { return err } - case "PeriodOverPeriod": if err := awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(&sv.PeriodOverPeriod, value); err != nil { return err } - case "PeriodToDate": if err := awsRestjson1_deserializeDocumentPeriodToDateComputation(&sv.PeriodToDate, value); err != nil { return err } - case "TopBottomMovers": if err := awsRestjson1_deserializeDocumentTopBottomMoversComputation(&sv.TopBottomMovers, value); err != nil { return err } - case "TopBottomRanked": if err := awsRestjson1_deserializeDocumentTopBottomRankedComputation(&sv.TopBottomRanked, value); err != nil { return err } - case "TotalAggregation": if err := awsRestjson1_deserializeDocumentTotalAggregationComputation(&sv.TotalAggregation, value); err != nil { return err } - case "UniqueValues": if err := awsRestjson1_deserializeDocumentUniqueValuesComputation(&sv.UniqueValues, value); err != nil { return err } - default: _, _ = key, value @@ -49008,15 +47933,9 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49024,7 +47943,6 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -49033,15 +47951,11 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49072,12 +47986,10 @@ func awsRestjson1_deserializeDocumentConditionalFormattingColor(v **types.Condit if err := awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(&sv.Gradient, value); err != nil { return err } - case "Solid": if err := awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(&sv.Solid, value); err != nil { return err } - default: _, _ = key, value @@ -49117,12 +48029,10 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(v } sv.Color = ptr.String(jtv) } - case "DisplayConfiguration": if err := awsRestjson1_deserializeDocumentConditionalFormattingIconDisplayConfiguration(&sv.DisplayConfiguration, value); err != nil { return err } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -49131,12 +48041,10 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(v } sv.Expression = ptr.String(jtv) } - case "IconOptions": if err := awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(&sv.IconOptions, value); err != nil { return err } - default: _, _ = key, value @@ -49176,7 +48084,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(v ** } sv.Icon = types.Icon(jtv) } - case "UnicodeIcon": if value != nil { jtv, ok := value.(string) @@ -49185,7 +48092,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(v ** } sv.UnicodeIcon = ptr.String(jtv) } - default: _, _ = key, value @@ -49221,7 +48127,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(v **type if err := awsRestjson1_deserializeDocumentGradientColor(&sv.Color, value); err != nil { return err } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -49230,7 +48135,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(v **type } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -49266,12 +48170,10 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIcon(v **types.Conditi if err := awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(&sv.CustomCondition, value); err != nil { return err } - case "IconSet": if err := awsRestjson1_deserializeDocumentConditionalFormattingIconSet(&sv.IconSet, value); err != nil { return err } - default: _, _ = key, value @@ -49311,7 +48213,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconDisplayConfigurati } sv.IconDisplayOption = types.ConditionalFormattingIconDisplayOption(jtv) } - default: _, _ = key, value @@ -49351,7 +48252,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconSet(v **types.Cond } sv.Expression = ptr.String(jtv) } - case "IconSetType": if value != nil { jtv, ok := value.(string) @@ -49360,7 +48260,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconSet(v **types.Cond } sv.IconSetType = types.ConditionalFormattingIconSetType(jtv) } - default: _, _ = key, value @@ -49400,7 +48299,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(v **types.C } sv.Color = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -49409,7 +48307,6 @@ func awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(v **types.C } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -49439,15 +48336,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -49455,7 +48346,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -49464,15 +48354,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -49507,7 +48393,6 @@ func awsRestjson1_deserializeDocumentContextMenuOption(v **types.ContextMenuOpti } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -49543,7 +48428,6 @@ func awsRestjson1_deserializeDocumentContributionAnalysisDefault(v **types.Contr if err := awsRestjson1_deserializeDocumentContributorDimensionList(&sv.ContributorDimensions, value); err != nil { return err } - case "MeasureFieldId": if value != nil { jtv, ok := value.(string) @@ -49552,7 +48436,6 @@ func awsRestjson1_deserializeDocumentContributionAnalysisDefault(v **types.Contr } sv.MeasureFieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -49626,7 +48509,6 @@ func awsRestjson1_deserializeDocumentContributionAnalysisFactor(v **types.Contri } sv.FieldName = ptr.String(jtv) } - default: _, _ = key, value @@ -49696,12 +48578,10 @@ func awsRestjson1_deserializeDocumentContributionAnalysisTimeRanges(v **types.Co if err := awsRestjson1_deserializeDocumentTopicIRFilterOption(&sv.EndRange, value); err != nil { return err } - case "StartRange": if err := awsRestjson1_deserializeDocumentTopicIRFilterOption(&sv.StartRange, value); err != nil { return err } - default: _, _ = key, value @@ -49771,7 +48651,6 @@ func awsRestjson1_deserializeDocumentCreateColumnsOperation(v **types.CreateColu if err := awsRestjson1_deserializeDocumentCalculatedColumnList(&sv.Columns, value); err != nil { return err } - default: _, _ = key, value @@ -49807,17 +48686,14 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } - case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } - case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } - case "NumberScale": if value != nil { jtv, ok := value.(string) @@ -49826,7 +48702,6 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.NumberScale = types.NumberScale(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -49835,12 +48710,10 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Prefix = ptr.String(jtv) } - case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -49849,7 +48722,6 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Suffix = ptr.String(jtv) } - case "Symbol": if value != nil { jtv, ok := value.(string) @@ -49858,7 +48730,6 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Symbol = ptr.String(jtv) } - default: _, _ = key, value @@ -49928,12 +48799,10 @@ func awsRestjson1_deserializeDocumentCustomActionFilterOperation(v **types.Custo if err := awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration(&sv.SelectedFieldsConfiguration, value); err != nil { return err } - case "TargetVisualsConfiguration": if err := awsRestjson1_deserializeDocumentFilterOperationTargetVisualsConfiguration(&sv.TargetVisualsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -49969,7 +48838,6 @@ func awsRestjson1_deserializeDocumentCustomActionNavigationOperation(v **types.C if err := awsRestjson1_deserializeDocumentLocalNavigationConfiguration(&sv.LocalNavigationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -50005,7 +48873,6 @@ func awsRestjson1_deserializeDocumentCustomActionSetParametersOperation(v **type if err := awsRestjson1_deserializeDocumentSetParameterValueConfigurationList(&sv.ParameterValueConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -50045,7 +48912,6 @@ func awsRestjson1_deserializeDocumentCustomActionURLOperation(v **types.CustomAc } sv.URLTarget = types.URLTargetConfiguration(jtv) } - case "URLTemplate": if value != nil { jtv, ok := value.(string) @@ -50054,7 +48920,6 @@ func awsRestjson1_deserializeDocumentCustomActionURLOperation(v **types.CustomAc } sv.URLTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -50094,7 +48959,6 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.Color = ptr.String(jtv) } - case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -50103,7 +48967,6 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.FieldValue = ptr.String(jtv) } - case "SpecialValue": if value != nil { jtv, ok := value.(string) @@ -50112,7 +48975,6 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.SpecialValue = types.SpecialValue(jtv) } - default: _, _ = key, value @@ -50186,7 +49048,6 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ContentType = types.CustomContentType(jtv) } - case "ContentUrl": if value != nil { jtv, ok := value.(string) @@ -50195,7 +49056,6 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ContentUrl = ptr.String(jtv) } - case "ImageScaling": if value != nil { jtv, ok := value.(string) @@ -50204,12 +49064,10 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ImageScaling = types.CustomContentImageScalingConfiguration(jtv) } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - default: _, _ = key, value @@ -50245,12 +49103,10 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentCustomContentConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -50259,17 +49115,14 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent } sv.DataSetIdentifier = ptr.String(jtv) } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -50278,7 +49131,6 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -50308,15 +49160,9 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -50324,7 +49170,6 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -50333,15 +49178,11 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -50376,7 +49217,6 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.CategoryValue = ptr.String(jtv) } - case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -50385,7 +49225,6 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -50394,7 +49233,6 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.NullOption = types.FilterNullOption(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -50403,7 +49241,6 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.ParameterName = ptr.String(jtv) } - case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -50412,7 +49249,6 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } - default: _, _ = key, value @@ -50448,7 +49284,6 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } - case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -50457,7 +49292,6 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -50466,7 +49300,6 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.NullOption = types.FilterNullOption(jtv) } - case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -50475,7 +49308,6 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } - default: _, _ = key, value @@ -50515,7 +49347,6 @@ func awsRestjson1_deserializeDocumentCustomNarrativeOptions(v **types.CustomNarr } sv.Narrative = ptr.String(jtv) } - default: _, _ = key, value @@ -50551,22 +49382,18 @@ func awsRestjson1_deserializeDocumentCustomParameterValues(v **types.CustomParam if err := awsRestjson1_deserializeDocumentDateTimeDefaultValueList(&sv.DateTimeValues, value); err != nil { return err } - case "DecimalValues": if err := awsRestjson1_deserializeDocumentDecimalDefaultValueList(&sv.DecimalValues, value); err != nil { return err } - case "IntegerValues": if err := awsRestjson1_deserializeDocumentIntegerDefaultValueList(&sv.IntegerValues, value); err != nil { return err } - case "StringValues": if err := awsRestjson1_deserializeDocumentStringDefaultValueList(&sv.StringValues, value); err != nil { return err } - default: _, _ = key, value @@ -50602,7 +49429,6 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.Columns, value); err != nil { return err } - case "DataSourceArn": if value != nil { jtv, ok := value.(string) @@ -50611,7 +49437,6 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.DataSourceArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50620,7 +49445,6 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.Name = ptr.String(jtv) } - case "SqlQuery": if value != nil { jtv, ok := value.(string) @@ -50629,7 +49453,6 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.SqlQuery = ptr.String(jtv) } - default: _, _ = key, value @@ -50665,7 +49488,6 @@ func awsRestjson1_deserializeDocumentCustomValuesConfiguration(v **types.CustomV if err := awsRestjson1_deserializeDocumentCustomParameterValues(&sv.CustomValues, value); err != nil { return err } - case "IncludeNullValue": if value != nil { jtv, ok := value.(bool) @@ -50674,7 +49496,6 @@ func awsRestjson1_deserializeDocumentCustomValuesConfiguration(v **types.CustomV } sv.IncludeNullValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -50714,7 +49535,6 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -50730,7 +49550,6 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -50739,7 +49558,6 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.DashboardId = ptr.String(jtv) } - case "LastPublishedTime": if value != nil { switch jtv := value.(type) { @@ -50755,7 +49573,6 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -50771,12 +49588,10 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } - case "LinkEntities": if err := awsRestjson1_deserializeDocumentLinkEntityArnList(&sv.LinkEntities, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50785,12 +49600,10 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.Name = ptr.String(jtv) } - case "Version": if err := awsRestjson1_deserializeDocumentDashboardVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -50830,7 +49643,6 @@ func awsRestjson1_deserializeDocumentDashboardError(v **types.DashboardError, va } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -50839,12 +49651,10 @@ func awsRestjson1_deserializeDocumentDashboardError(v **types.DashboardError, va } sv.Type = types.DashboardErrorType(jtv) } - case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } - default: _, _ = key, value @@ -50914,57 +49724,46 @@ func awsRestjson1_deserializeDocumentDashboardPublishOptions(v **types.Dashboard if err := awsRestjson1_deserializeDocumentAdHocFilteringOption(&sv.AdHocFilteringOption, value); err != nil { return err } - case "DataPointDrillUpDownOption": if err := awsRestjson1_deserializeDocumentDataPointDrillUpDownOption(&sv.DataPointDrillUpDownOption, value); err != nil { return err } - case "DataPointMenuLabelOption": if err := awsRestjson1_deserializeDocumentDataPointMenuLabelOption(&sv.DataPointMenuLabelOption, value); err != nil { return err } - case "DataPointTooltipOption": if err := awsRestjson1_deserializeDocumentDataPointTooltipOption(&sv.DataPointTooltipOption, value); err != nil { return err } - case "ExportToCSVOption": if err := awsRestjson1_deserializeDocumentExportToCSVOption(&sv.ExportToCSVOption, value); err != nil { return err } - case "ExportWithHiddenFieldsOption": if err := awsRestjson1_deserializeDocumentExportWithHiddenFieldsOption(&sv.ExportWithHiddenFieldsOption, value); err != nil { return err } - case "SheetControlsOption": if err := awsRestjson1_deserializeDocumentSheetControlsOption(&sv.SheetControlsOption, value); err != nil { return err } - case "SheetLayoutElementMaximizationOption": if err := awsRestjson1_deserializeDocumentSheetLayoutElementMaximizationOption(&sv.SheetLayoutElementMaximizationOption, value); err != nil { return err } - case "VisualAxisSortOption": if err := awsRestjson1_deserializeDocumentVisualAxisSortOption(&sv.VisualAxisSortOption, value); err != nil { return err } - case "VisualMenuOption": if err := awsRestjson1_deserializeDocumentVisualMenuOption(&sv.VisualMenuOption, value); err != nil { return err } - case "VisualPublishOptions": if err := awsRestjson1_deserializeDocumentDashboardVisualPublishOptions(&sv.VisualPublishOptions, value); err != nil { return err } - default: _, _ = key, value @@ -51004,7 +49803,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -51020,7 +49818,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } - case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -51029,7 +49826,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.DashboardId = ptr.String(jtv) } - case "LastPublishedTime": if value != nil { switch jtv := value.(type) { @@ -51045,7 +49841,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -51061,7 +49856,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -51070,7 +49864,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Name = ptr.String(jtv) } - case "PublishedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -51083,7 +49876,6 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.PublishedVersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -51157,7 +49949,6 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -51173,12 +49964,10 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } } - case "DataSetArns": if err := awsRestjson1_deserializeDocumentDataSetArnsList(&sv.DataSetArns, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -51187,17 +49976,14 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Description = ptr.String(jtv) } - case "Errors": if err := awsRestjson1_deserializeDocumentDashboardErrorList(&sv.Errors, value); err != nil { return err } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } - case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -51206,7 +49992,6 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.SourceEntityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -51215,7 +50000,6 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Status = types.ResourceStatus(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -51224,7 +50008,6 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.ThemeArn = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -51237,7 +50020,6 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -51273,42 +50055,34 @@ func awsRestjson1_deserializeDocumentDashboardVersionDefinition(v **types.Dashbo if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } - case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } - case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } - case "DataSetIdentifierDeclarations": if err := awsRestjson1_deserializeDocumentDataSetIdentifierDeclarationList(&sv.DataSetIdentifierDeclarations, value); err != nil { return err } - case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } - case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } - case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } - default: _, _ = key, value @@ -51348,7 +50122,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -51364,7 +50137,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -51373,7 +50145,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Description = ptr.String(jtv) } - case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -51382,7 +50153,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.SourceEntityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -51391,7 +50161,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Status = types.ResourceStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -51404,7 +50173,6 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -51474,7 +50242,6 @@ func awsRestjson1_deserializeDocumentDashboardVisualPublishOptions(v **types.Das if err := awsRestjson1_deserializeDocumentExportHiddenFieldsOption(&sv.ExportHiddenFieldsOption, value); err != nil { return err } - default: _, _ = key, value @@ -51514,7 +50281,6 @@ func awsRestjson1_deserializeDocumentDataAggregation(v **types.DataAggregation, } sv.DatasetRowDateGranularity = types.TopicTimeGranularity(jtv) } - case "DefaultDateColumnName": if value != nil { jtv, ok := value.(string) @@ -51523,7 +50289,6 @@ func awsRestjson1_deserializeDocumentDataAggregation(v **types.DataAggregation, } sv.DefaultDateColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -51563,7 +50328,6 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.FieldId = ptr.String(jtv) } - case "NegativeColor": if value != nil { jtv, ok := value.(string) @@ -51572,7 +50336,6 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.NegativeColor = ptr.String(jtv) } - case "PositiveColor": if value != nil { jtv, ok := value.(string) @@ -51581,7 +50344,6 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.PositiveColor = ptr.String(jtv) } - default: _, _ = key, value @@ -51657,7 +50419,6 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -51670,7 +50431,6 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.Port = ptr.Int32(int32(i64)) } - case "SqlEndpointPath": if value != nil { jtv, ok := value.(string) @@ -51679,7 +50439,6 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.SqlEndpointPath = ptr.String(jtv) } - default: _, _ = key, value @@ -51719,7 +50478,6 @@ func awsRestjson1_deserializeDocumentDataColor(v **types.DataColor, value interf } sv.Color = ptr.String(jtv) } - case "DataValue": if value != nil { switch jtv := value.(type) { @@ -51753,7 +50511,6 @@ func awsRestjson1_deserializeDocumentDataColor(v **types.DataColor, value interf } } - default: _, _ = key, value @@ -51789,7 +50546,6 @@ func awsRestjson1_deserializeDocumentDataColorPalette(v **types.DataColorPalette if err := awsRestjson1_deserializeDocumentColorList(&sv.Colors, value); err != nil { return err } - case "EmptyFillColor": if value != nil { jtv, ok := value.(string) @@ -51798,12 +50554,10 @@ func awsRestjson1_deserializeDocumentDataColorPalette(v **types.DataColorPalette } sv.EmptyFillColor = ptr.String(jtv) } - case "MinMaxGradient": if err := awsRestjson1_deserializeDocumentColorList(&sv.MinMaxGradient, value); err != nil { return err } - default: _, _ = key, value @@ -51843,7 +50597,6 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.AxisBinding = types.AxisBinding(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -51852,7 +50605,6 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.FieldId = ptr.String(jtv) } - case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -51861,12 +50613,10 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.FieldValue = ptr.String(jtv) } - case "Settings": if err := awsRestjson1_deserializeDocumentLineChartSeriesSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -51906,12 +50656,10 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.CategoryLabelVisibility = types.Visibility(jtv) } - case "DataLabelTypes": if err := awsRestjson1_deserializeDocumentDataLabelTypes(&sv.DataLabelTypes, value); err != nil { return err } - case "LabelColor": if value != nil { jtv, ok := value.(string) @@ -51920,7 +50668,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.LabelColor = ptr.String(jtv) } - case "LabelContent": if value != nil { jtv, ok := value.(string) @@ -51929,12 +50676,10 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.LabelContent = types.DataLabelContent(jtv) } - case "LabelFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.LabelFontConfiguration, value); err != nil { return err } - case "MeasureLabelVisibility": if value != nil { jtv, ok := value.(string) @@ -51943,7 +50688,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.MeasureLabelVisibility = types.Visibility(jtv) } - case "Overlap": if value != nil { jtv, ok := value.(string) @@ -51952,7 +50696,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Overlap = types.DataLabelOverlap(jtv) } - case "Position": if value != nil { jtv, ok := value.(string) @@ -51961,7 +50704,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Position = types.DataLabelPosition(jtv) } - case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -51970,7 +50712,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.TotalsVisibility = types.Visibility(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -51979,7 +50720,6 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -52015,27 +50755,22 @@ func awsRestjson1_deserializeDocumentDataLabelType(v **types.DataLabelType, valu if err := awsRestjson1_deserializeDocumentDataPathLabelType(&sv.DataPathLabelType, value); err != nil { return err } - case "FieldLabelType": if err := awsRestjson1_deserializeDocumentFieldLabelType(&sv.FieldLabelType, value); err != nil { return err } - case "MaximumLabelType": if err := awsRestjson1_deserializeDocumentMaximumLabelType(&sv.MaximumLabelType, value); err != nil { return err } - case "MinimumLabelType": if err := awsRestjson1_deserializeDocumentMinimumLabelType(&sv.MinimumLabelType, value); err != nil { return err } - case "RangeEndsLabelType": if err := awsRestjson1_deserializeDocumentRangeEndsLabelType(&sv.RangeEndsLabelType, value); err != nil { return err } - default: _, _ = key, value @@ -52109,12 +50844,10 @@ func awsRestjson1_deserializeDocumentDataPathColor(v **types.DataPathColor, valu } sv.Color = ptr.String(jtv) } - case "Element": if err := awsRestjson1_deserializeDocumentDataPathValue(&sv.Element, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -52123,7 +50856,6 @@ func awsRestjson1_deserializeDocumentDataPathColor(v **types.DataPathColor, valu } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -52197,7 +50929,6 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.FieldId = ptr.String(jtv) } - case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -52206,7 +50937,6 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.FieldValue = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -52215,7 +50945,6 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -52255,12 +50984,10 @@ func awsRestjson1_deserializeDocumentDataPathSort(v **types.DataPathSort, value } sv.Direction = types.SortDirection(jtv) } - case "SortPaths": if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.SortPaths, value); err != nil { return err } - default: _, _ = key, value @@ -52300,7 +51027,6 @@ func awsRestjson1_deserializeDocumentDataPathType(v **types.DataPathType, value } sv.PivotTableDataPathType = types.PivotTableDataPathType(jtv) } - default: _, _ = key, value @@ -52336,7 +51062,6 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu if err := awsRestjson1_deserializeDocumentDataPathType(&sv.DataPathType, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -52345,7 +51070,6 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu } sv.FieldId = ptr.String(jtv) } - case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -52354,7 +51078,6 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu } sv.FieldValue = ptr.String(jtv) } - default: _, _ = key, value @@ -52428,7 +51151,6 @@ func awsRestjson1_deserializeDocumentDataPointDrillUpDownOption(v **types.DataPo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -52468,7 +51190,6 @@ func awsRestjson1_deserializeDocumentDataPointMenuLabelOption(v **types.DataPoin } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -52508,7 +51229,6 @@ func awsRestjson1_deserializeDocumentDataPointTooltipOption(v **types.DataPointT } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -52548,17 +51268,14 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Arn = ptr.String(jtv) } - case "ColumnGroups": if err := awsRestjson1_deserializeDocumentColumnGroupList(&sv.ColumnGroups, value); err != nil { return err } - case "ColumnLevelPermissionRules": if err := awsRestjson1_deserializeDocumentColumnLevelPermissionRuleList(&sv.ColumnLevelPermissionRules, value); err != nil { return err } - case "ConsumedSpiceCapacityInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -52571,7 +51288,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.ConsumedSpiceCapacityInBytes = i64 } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -52587,7 +51303,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -52596,22 +51311,18 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.DataSetId = ptr.String(jtv) } - case "DatasetParameters": if err := awsRestjson1_deserializeDocumentDatasetParameterList(&sv.DatasetParameters, value); err != nil { return err } - case "DataSetUsageConfiguration": if err := awsRestjson1_deserializeDocumentDataSetUsageConfiguration(&sv.DataSetUsageConfiguration, value); err != nil { return err } - case "FieldFolders": if err := awsRestjson1_deserializeDocumentFieldFolderMap(&sv.FieldFolders, value); err != nil { return err } - case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -52620,7 +51331,6 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.ImportMode = types.DataSetImportMode(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -52636,12 +51346,10 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } } - case "LogicalTableMap": if err := awsRestjson1_deserializeDocumentLogicalTableMap(&sv.LogicalTableMap, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52650,27 +51358,22 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Name = ptr.String(jtv) } - case "OutputColumns": if err := awsRestjson1_deserializeDocumentOutputColumnList(&sv.OutputColumns, value); err != nil { return err } - case "PhysicalTableMap": if err := awsRestjson1_deserializeDocumentPhysicalTableMap(&sv.PhysicalTableMap, value); err != nil { return err } - case "RowLevelPermissionDataSet": if err := awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(&sv.RowLevelPermissionDataSet, value); err != nil { return err } - case "RowLevelPermissionTagConfiguration": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagConfiguration(&sv.RowLevelPermissionTagConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -52742,12 +51445,10 @@ func awsRestjson1_deserializeDocumentDataSetConfiguration(v **types.DataSetConfi if err := awsRestjson1_deserializeDocumentColumnGroupSchemaList(&sv.ColumnGroupSchemaList, value); err != nil { return err } - case "DataSetSchema": if err := awsRestjson1_deserializeDocumentDataSetSchema(&sv.DataSetSchema, value); err != nil { return err } - case "Placeholder": if value != nil { jtv, ok := value.(string) @@ -52756,7 +51457,6 @@ func awsRestjson1_deserializeDocumentDataSetConfiguration(v **types.DataSetConfi } sv.Placeholder = ptr.String(jtv) } - default: _, _ = key, value @@ -52830,7 +51530,6 @@ func awsRestjson1_deserializeDocumentDataSetIdentifierDeclaration(v **types.Data } sv.DataSetArn = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -52839,7 +51538,6 @@ func awsRestjson1_deserializeDocumentDataSetIdentifierDeclaration(v **types.Data } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -52909,17 +51607,14 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, if err := awsRestjson1_deserializeDocumentTopicCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } - case "Columns": if err := awsRestjson1_deserializeDocumentTopicColumns(&sv.Columns, value); err != nil { return err } - case "DataAggregation": if err := awsRestjson1_deserializeDocumentDataAggregation(&sv.DataAggregation, value); err != nil { return err } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -52928,7 +51623,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetArn = ptr.String(jtv) } - case "DatasetDescription": if value != nil { jtv, ok := value.(string) @@ -52937,7 +51631,6 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetDescription = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -52946,17 +51639,14 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetName = ptr.String(jtv) } - case "Filters": if err := awsRestjson1_deserializeDocumentTopicFilters(&sv.Filters, value); err != nil { return err } - case "NamedEntities": if err := awsRestjson1_deserializeDocumentTopicNamedEntities(&sv.NamedEntities, value); err != nil { return err } - default: _, _ = key, value @@ -52992,22 +51682,18 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameter(&sv.DateTimeDatasetParameter, value); err != nil { return err } - case "DecimalDatasetParameter": if err := awsRestjson1_deserializeDocumentDecimalDatasetParameter(&sv.DecimalDatasetParameter, value); err != nil { return err } - case "IntegerDatasetParameter": if err := awsRestjson1_deserializeDocumentIntegerDatasetParameter(&sv.IntegerDatasetParameter, value); err != nil { return err } - case "StringDatasetParameter": if err := awsRestjson1_deserializeDocumentStringDatasetParameter(&sv.StringDatasetParameter, value); err != nil { return err } - default: _, _ = key, value @@ -53077,7 +51763,6 @@ func awsRestjson1_deserializeDocumentDataSetRefreshProperties(v **types.DataSetR if err := awsRestjson1_deserializeDocumentRefreshConfiguration(&sv.RefreshConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -53147,7 +51832,6 @@ func awsRestjson1_deserializeDocumentDataSetSchema(v **types.DataSetSchema, valu if err := awsRestjson1_deserializeDocumentColumnSchemaList(&sv.ColumnSchemaList, value); err != nil { return err } - default: _, _ = key, value @@ -53187,7 +51871,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Arn = ptr.String(jtv) } - case "ColumnLevelPermissionRulesApplied": if value != nil { jtv, ok := value.(bool) @@ -53196,7 +51879,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.ColumnLevelPermissionRulesApplied = jtv } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -53212,7 +51894,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } - case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -53221,7 +51902,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetId = ptr.String(jtv) } - case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -53230,7 +51910,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.ImportMode = types.DataSetImportMode(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -53246,7 +51925,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53255,12 +51933,10 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Name = ptr.String(jtv) } - case "RowLevelPermissionDataSet": if err := awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(&sv.RowLevelPermissionDataSet, value); err != nil { return err } - case "RowLevelPermissionTagConfigurationApplied": if value != nil { jtv, ok := value.(bool) @@ -53269,7 +51945,6 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.RowLevelPermissionTagConfigurationApplied = jtv } - default: _, _ = key, value @@ -53343,7 +52018,6 @@ func awsRestjson1_deserializeDocumentDataSetUsageConfiguration(v **types.DataSet } sv.DisableUseAsDirectQuerySource = jtv } - case "DisableUseAsImportedSource": if value != nil { jtv, ok := value.(bool) @@ -53352,7 +52026,6 @@ func awsRestjson1_deserializeDocumentDataSetUsageConfiguration(v **types.DataSet } sv.DisableUseAsImportedSource = jtv } - default: _, _ = key, value @@ -53388,7 +52061,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentDataSourceParametersList(&sv.AlternateDataSourceParameters, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -53397,7 +52069,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -53413,7 +52084,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -53422,17 +52092,14 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } - case "DataSourceParameters": if err := awsRestjson1_deserializeDocumentDataSourceParameters(&sv.DataSourceParameters, value); err != nil { return err } - case "ErrorInfo": if err := awsRestjson1_deserializeDocumentDataSourceErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -53448,7 +52115,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53457,7 +52123,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -53466,12 +52131,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.SecretArn = ptr.String(jtv) } - case "SslProperties": if err := awsRestjson1_deserializeDocumentSslProperties(&sv.SslProperties, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -53480,7 +52143,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.ResourceStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53489,12 +52151,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } - case "VpcConnectionProperties": if err := awsRestjson1_deserializeDocumentVpcConnectionProperties(&sv.VpcConnectionProperties, value); err != nil { return err } - default: _, _ = key, value @@ -53534,7 +52194,6 @@ func awsRestjson1_deserializeDocumentDataSourceErrorInfo(v **types.DataSourceErr } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53543,7 +52202,6 @@ func awsRestjson1_deserializeDocumentDataSourceErrorInfo(v **types.DataSourceErr } sv.Type = types.DataSourceErrorInfoType(jtv) } - default: _, _ = key, value @@ -53939,7 +52597,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -53955,7 +52612,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } - case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -53964,7 +52620,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -53980,7 +52635,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53989,7 +52643,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53998,7 +52651,6 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = types.DataSourceType(jtv) } - default: _, _ = key, value @@ -54072,7 +52724,6 @@ func awsRestjson1_deserializeDocumentDateAxisOptions(v **types.DateAxisOptions, } sv.MissingDateVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -54108,7 +52759,6 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DateGranularity": if value != nil { jtv, ok := value.(string) @@ -54117,7 +52767,6 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.DateGranularity = types.TimeGranularity(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -54126,12 +52775,10 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -54140,7 +52787,6 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -54180,12 +52826,10 @@ func awsRestjson1_deserializeDocumentDateMeasureField(v **types.DateMeasureField } sv.AggregationFunction = types.DateAggregationFunction(jtv) } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -54194,12 +52838,10 @@ func awsRestjson1_deserializeDocumentDateMeasureField(v **types.DateMeasureField } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -54235,7 +52877,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54244,7 +52885,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54253,7 +52893,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.Name = ptr.String(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -54262,7 +52901,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.TimeGranularity = types.TimeGranularity(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -54271,7 +52909,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.ValueType = types.DatasetParameterValueType(jtv) } - default: _, _ = key, value @@ -54307,7 +52944,6 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameterDefaultValues(v **t if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -54429,17 +53065,14 @@ func awsRestjson1_deserializeDocumentDateTimeDefaultValues(v **types.DateTimeDef if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } - case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } - case "StaticValues": if err := awsRestjson1_deserializeDocumentDateTimeDefaultValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -54479,17 +53112,14 @@ func awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(v **types.DateT } sv.DateTimeFormat = ptr.String(jtv) } - case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } - case "NumericFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.NumericFormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -54525,7 +53155,6 @@ func awsRestjson1_deserializeDocumentDateTimeHierarchy(v **types.DateTimeHierarc if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -54534,7 +53163,6 @@ func awsRestjson1_deserializeDocumentDateTimeHierarchy(v **types.DateTimeHierarc } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -54574,12 +53202,10 @@ func awsRestjson1_deserializeDocumentDateTimeParameter(v **types.DateTimeParamet } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentSensitiveTimestampList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -54615,12 +53241,10 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date if err := awsRestjson1_deserializeDocumentDateTimeDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54629,7 +53253,6 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date } sv.Name = ptr.String(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -54638,12 +53261,10 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date } sv.TimeGranularity = types.TimeGranularity(jtv) } - case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } - default: _, _ = key, value @@ -54717,7 +53338,6 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.DateIconVisibility = types.Visibility(jtv) } - case "DateTimeFormat": if value != nil { jtv, ok := value.(string) @@ -54726,7 +53346,6 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.DateTimeFormat = ptr.String(jtv) } - case "HelperTextVisibility": if value != nil { jtv, ok := value.(string) @@ -54735,17 +53354,14 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.HelperTextVisibility = types.Visibility(jtv) } - case "InfoIconLabelOptions": if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -54792,7 +53408,6 @@ func awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(v **typ } } - case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -54801,7 +53416,6 @@ func awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(v **typ } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } - default: _, _ = key, value @@ -54837,7 +53451,6 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54846,7 +53459,6 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54855,7 +53467,6 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.Name = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -54864,7 +53475,6 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.ValueType = types.DatasetParameterValueType(jtv) } - default: _, _ = key, value @@ -54900,7 +53510,6 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameterDefaultValues(v **ty if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -55058,12 +53667,10 @@ func awsRestjson1_deserializeDocumentDecimalDefaultValues(v **types.DecimalDefau if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } - case "StaticValues": if err := awsRestjson1_deserializeDocumentDecimalDefaultValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -55103,12 +53710,10 @@ func awsRestjson1_deserializeDocumentDecimalParameter(v **types.DecimalParameter } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentSensitiveDoubleList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -55144,12 +53749,10 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim if err := awsRestjson1_deserializeDocumentDecimalDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55158,7 +53761,6 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim } sv.Name = ptr.String(jtv) } - case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -55167,12 +53769,10 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim } sv.ParameterValueType = types.ParameterValueType(jtv) } - case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } - default: _, _ = key, value @@ -55250,7 +53850,6 @@ func awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(v **types.Decima } sv.DecimalPlaces = ptr.Int64(i64) } - default: _, _ = key, value @@ -55315,7 +53914,6 @@ func awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(v **type } } - case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -55324,7 +53922,6 @@ func awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(v **type } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } - default: _, _ = key, value @@ -55364,12 +53961,10 @@ func awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(v **typ } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -55378,7 +53973,6 @@ func awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(v **typ } sv.Type = types.SheetControlDateTimePickerType(jtv) } - default: _, _ = key, value @@ -55414,7 +54008,6 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(v **types if err := awsRestjson1_deserializeDocumentDefaultFilterControlOptions(&sv.ControlOptions, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -55423,7 +54016,6 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(v **types } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -55459,37 +54051,30 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlOptions(v **types.Defau if err := awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(&sv.DefaultDateTimePickerOptions, value); err != nil { return err } - case "DefaultDropdownOptions": if err := awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(&sv.DefaultDropdownOptions, value); err != nil { return err } - case "DefaultListOptions": if err := awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(&sv.DefaultListOptions, value); err != nil { return err } - case "DefaultRelativeDateTimeOptions": if err := awsRestjson1_deserializeDocumentDefaultRelativeDateTimeControlOptions(&sv.DefaultRelativeDateTimeOptions, value); err != nil { return err } - case "DefaultSliderOptions": if err := awsRestjson1_deserializeDocumentDefaultSliderControlOptions(&sv.DefaultSliderOptions, value); err != nil { return err } - case "DefaultTextAreaOptions": if err := awsRestjson1_deserializeDocumentDefaultTextAreaControlOptions(&sv.DefaultTextAreaOptions, value); err != nil { return err } - case "DefaultTextFieldOptions": if err := awsRestjson1_deserializeDocumentDefaultTextFieldControlOptions(&sv.DefaultTextFieldOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55529,17 +54114,14 @@ func awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(v **typ } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -55548,7 +54130,6 @@ func awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(v **typ } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -55584,12 +54165,10 @@ func awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(v **types.D if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -55598,7 +54177,6 @@ func awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(v **types.D } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -55638,12 +54216,10 @@ func awsRestjson1_deserializeDocumentDefaultFormatting(v **types.DefaultFormatti } sv.DisplayFormat = types.DisplayFormat(jtv) } - case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55679,7 +54255,6 @@ func awsRestjson1_deserializeDocumentDefaultFreeFormLayoutConfiguration(v **type if err := awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55715,7 +54290,6 @@ func awsRestjson1_deserializeDocumentDefaultGridLayoutConfiguration(v **types.De if err := awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55751,12 +54325,10 @@ func awsRestjson1_deserializeDocumentDefaultInteractiveLayoutConfiguration(v **t if err := awsRestjson1_deserializeDocumentDefaultFreeFormLayoutConfiguration(&sv.FreeForm, value); err != nil { return err } - case "Grid": if err := awsRestjson1_deserializeDocumentDefaultGridLayoutConfiguration(&sv.Grid, value); err != nil { return err } - default: _, _ = key, value @@ -55792,12 +54364,10 @@ func awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(v **types.Defa if err := awsRestjson1_deserializeDocumentDefaultInteractiveLayoutConfiguration(&sv.InteractiveLayoutConfiguration, value); err != nil { return err } - case "PaginatedLayoutConfiguration": if err := awsRestjson1_deserializeDocumentDefaultPaginatedLayoutConfiguration(&sv.PaginatedLayoutConfiguration, value); err != nil { return err } - case "SheetContentType": if value != nil { jtv, ok := value.(string) @@ -55806,7 +54376,6 @@ func awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(v **types.Defa } sv.SheetContentType = types.SheetContentType(jtv) } - default: _, _ = key, value @@ -55842,7 +54411,6 @@ func awsRestjson1_deserializeDocumentDefaultPaginatedLayoutConfiguration(v **typ if err := awsRestjson1_deserializeDocumentDefaultSectionBasedLayoutConfiguration(&sv.SectionBased, value); err != nil { return err } - default: _, _ = key, value @@ -55882,12 +54450,10 @@ func awsRestjson1_deserializeDocumentDefaultRelativeDateTimeControlOptions(v **t } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55923,7 +54489,6 @@ func awsRestjson1_deserializeDocumentDefaultSectionBasedLayoutConfiguration(v ** if err := awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -55959,7 +54524,6 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -55993,7 +54557,6 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } - case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -56027,7 +54590,6 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } - case "StepSize": if value != nil { switch jtv := value.(type) { @@ -56061,7 +54623,6 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -56070,7 +54631,6 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } sv.Type = types.SheetControlSliderType(jtv) } - default: _, _ = key, value @@ -56110,12 +54670,10 @@ func awsRestjson1_deserializeDocumentDefaultTextAreaControlOptions(v **types.Def } sv.Delimiter = ptr.String(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - default: _, _ = key, value @@ -56151,7 +54709,6 @@ func awsRestjson1_deserializeDocumentDefaultTextFieldControlOptions(v **types.De if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - default: _, _ = key, value @@ -56187,7 +54744,6 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** if err := awsRestjson1_deserializeDocumentCustomValuesConfiguration(&sv.CustomValuesConfiguration, value); err != nil { return err } - case "SelectAllValueOptions": if value != nil { jtv, ok := value.(string) @@ -56196,12 +54752,10 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SelectAllValueOptions = types.SelectAllValueOptions(jtv) } - case "SourceColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.SourceColumn, value); err != nil { return err } - case "SourceField": if value != nil { jtv, ok := value.(string) @@ -56210,7 +54764,6 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SourceField = ptr.String(jtv) } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -56219,7 +54772,6 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SourceParameterName = ptr.String(jtv) } - default: _, _ = key, value @@ -56255,17 +54807,14 @@ func awsRestjson1_deserializeDocumentDimensionField(v **types.DimensionField, va if err := awsRestjson1_deserializeDocumentCategoricalDimensionField(&sv.CategoricalDimensionField, value); err != nil { return err } - case "DateDimensionField": if err := awsRestjson1_deserializeDocumentDateDimensionField(&sv.DateDimensionField, value); err != nil { return err } - case "NumericalDimensionField": if err := awsRestjson1_deserializeDocumentNumericalDimensionField(&sv.NumericalDimensionField, value); err != nil { return err } - default: _, _ = key, value @@ -56339,7 +54888,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.BlankCellFormat = ptr.String(jtv) } - case "CurrencySymbol": if value != nil { jtv, ok := value.(string) @@ -56348,7 +54896,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.CurrencySymbol = ptr.String(jtv) } - case "DateFormat": if value != nil { jtv, ok := value.(string) @@ -56357,7 +54904,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.DateFormat = ptr.String(jtv) } - case "DecimalSeparator": if value != nil { jtv, ok := value.(string) @@ -56366,7 +54912,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.DecimalSeparator = types.TopicNumericSeparatorSymbol(jtv) } - case "FractionDigits": if value != nil { jtv, ok := value.(json.Number) @@ -56379,7 +54924,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.FractionDigits = int32(i64) } - case "GroupingSeparator": if value != nil { jtv, ok := value.(string) @@ -56388,12 +54932,10 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.GroupingSeparator = ptr.String(jtv) } - case "NegativeFormat": if err := awsRestjson1_deserializeDocumentNegativeFormat(&sv.NegativeFormat, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -56402,7 +54944,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.Prefix = ptr.String(jtv) } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -56411,7 +54952,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.Suffix = ptr.String(jtv) } - case "UnitScaler": if value != nil { jtv, ok := value.(string) @@ -56420,7 +54960,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UnitScaler = types.NumberScale(jtv) } - case "UseBlankCellFormat": if value != nil { jtv, ok := value.(bool) @@ -56429,7 +54968,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UseBlankCellFormat = jtv } - case "UseGrouping": if value != nil { jtv, ok := value.(bool) @@ -56438,7 +54976,6 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UseGrouping = jtv } - default: _, _ = key, value @@ -56504,15 +55041,9 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -56520,7 +55051,6 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -56529,15 +55059,11 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -56572,7 +55098,6 @@ func awsRestjson1_deserializeDocumentDonutCenterOptions(v **types.DonutCenterOpt } sv.LabelVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -56608,12 +55133,10 @@ func awsRestjson1_deserializeDocumentDonutOptions(v **types.DonutOptions, value if err := awsRestjson1_deserializeDocumentArcOptions(&sv.ArcOptions, value); err != nil { return err } - case "DonutCenterOptions": if err := awsRestjson1_deserializeDocumentDonutCenterOptions(&sv.DonutCenterOptions, value); err != nil { return err } - default: _, _ = key, value @@ -56649,17 +55172,14 @@ func awsRestjson1_deserializeDocumentDrillDownFilter(v **types.DrillDownFilter, if err := awsRestjson1_deserializeDocumentCategoryDrillDownFilter(&sv.CategoryFilter, value); err != nil { return err } - case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(&sv.NumericEqualityFilter, value); err != nil { return err } - case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(&sv.TimeRangeFilter, value); err != nil { return err } - default: _, _ = key, value @@ -56729,17 +55249,14 @@ func awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(v **types.Dro if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "SelectAllOptions": if err := awsRestjson1_deserializeDocumentListControlSelectAllOptions(&sv.SelectAllOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -56775,17 +55292,14 @@ func awsRestjson1_deserializeDocumentDynamicDefaultValue(v **types.DynamicDefaul if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.DefaultValueColumn, value); err != nil { return err } - case "GroupNameColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.GroupNameColumn, value); err != nil { return err } - case "UserNameColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.UserNameColumn, value); err != nil { return err } - default: _, _ = key, value @@ -56821,7 +55335,6 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -56830,7 +55343,6 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in } sv.DataSetIdentifier = ptr.String(jtv) } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -56839,7 +55351,6 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -56879,7 +55390,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -56953,7 +55463,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -56962,7 +55471,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Type = types.IngestionErrorType(jtv) } - default: _, _ = key, value @@ -57002,7 +55510,6 @@ func awsRestjson1_deserializeDocumentExasolParameters(v **types.ExasolParameters } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -57015,7 +55522,6 @@ func awsRestjson1_deserializeDocumentExasolParameters(v **types.ExasolParameters } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -57059,7 +55565,6 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Amount = ptr.Int32(int32(i64)) } - case "Granularity": if value != nil { jtv, ok := value.(string) @@ -57068,7 +55573,6 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Granularity = types.TimeGranularity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -57077,7 +55581,6 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Status = types.WidgetStatus(jtv) } - default: _, _ = key, value @@ -57113,12 +55616,10 @@ func awsRestjson1_deserializeDocumentExplicitHierarchy(v **types.ExplicitHierarc if err := awsRestjson1_deserializeDocumentExplicitHierarchyColumnList(&sv.Columns, value); err != nil { return err } - case "DrillDownFilters": if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -57127,7 +55628,6 @@ func awsRestjson1_deserializeDocumentExplicitHierarchy(v **types.ExplicitHierarc } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -57201,7 +55701,6 @@ func awsRestjson1_deserializeDocumentExportHiddenFieldsOption(v **types.ExportHi } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -57241,7 +55740,6 @@ func awsRestjson1_deserializeDocumentExportToCSVOption(v **types.ExportToCSVOpti } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -57281,7 +55779,6 @@ func awsRestjson1_deserializeDocumentExportWithHiddenFieldsOption(v **types.Expo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -57355,7 +55852,6 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.KeyArn = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -57364,7 +55860,6 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.Message = ptr.String(jtv) } - case "SenderFault": if value != nil { jtv, ok := value.(bool) @@ -57373,7 +55868,6 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.SenderFault = jtv } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -57386,7 +55880,6 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.StatusCode = int32(i64) } - default: _, _ = key, value @@ -57426,12 +55919,10 @@ func awsRestjson1_deserializeDocumentFieldBasedTooltip(v **types.FieldBasedToolt } sv.AggregationVisibility = types.Visibility(jtv) } - case "TooltipFields": if err := awsRestjson1_deserializeDocumentTooltipItemList(&sv.TooltipFields, value); err != nil { return err } - case "TooltipTitleType": if value != nil { jtv, ok := value.(string) @@ -57440,7 +55931,6 @@ func awsRestjson1_deserializeDocumentFieldBasedTooltip(v **types.FieldBasedToolt } sv.TooltipTitleType = types.TooltipTitleType(jtv) } - default: _, _ = key, value @@ -57476,7 +55966,6 @@ func awsRestjson1_deserializeDocumentFieldFolder(v **types.FieldFolder, value in if err := awsRestjson1_deserializeDocumentFolderColumnList(&sv.Columns, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -57485,7 +55974,6 @@ func awsRestjson1_deserializeDocumentFieldFolder(v **types.FieldFolder, value in } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -57560,7 +56048,6 @@ func awsRestjson1_deserializeDocumentFieldLabelType(v **types.FieldLabelType, va } sv.FieldId = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -57569,7 +56056,6 @@ func awsRestjson1_deserializeDocumentFieldLabelType(v **types.FieldLabelType, va } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -57645,7 +56131,6 @@ func awsRestjson1_deserializeDocumentFieldSeriesItem(v **types.FieldSeriesItem, } sv.AxisBinding = types.AxisBinding(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -57654,12 +56139,10 @@ func awsRestjson1_deserializeDocumentFieldSeriesItem(v **types.FieldSeriesItem, } sv.FieldId = ptr.String(jtv) } - case "Settings": if err := awsRestjson1_deserializeDocumentLineChartSeriesSettings(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -57699,7 +56182,6 @@ func awsRestjson1_deserializeDocumentFieldSort(v **types.FieldSort, value interf } sv.Direction = types.SortDirection(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -57708,7 +56190,6 @@ func awsRestjson1_deserializeDocumentFieldSort(v **types.FieldSort, value interf } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -57744,12 +56225,10 @@ func awsRestjson1_deserializeDocumentFieldSortOptions(v **types.FieldSortOptions if err := awsRestjson1_deserializeDocumentColumnSort(&sv.ColumnSort, value); err != nil { return err } - case "FieldSort": if err := awsRestjson1_deserializeDocumentFieldSort(&sv.FieldSort, value); err != nil { return err } - default: _, _ = key, value @@ -57823,7 +56302,6 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.FieldId = ptr.String(jtv) } - case "Label": if value != nil { jtv, ok := value.(string) @@ -57832,7 +56310,6 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.Label = ptr.String(jtv) } - case "TooltipTarget": if value != nil { jtv, ok := value.(string) @@ -57841,7 +56318,6 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.TooltipTarget = types.TooltipTarget(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -57850,7 +56326,6 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -57886,12 +56361,10 @@ func awsRestjson1_deserializeDocumentFilledMapAggregatedFieldWells(v **types.Fil if err := awsRestjson1_deserializeDocumentFilledMapDimensionFieldList(&sv.Geospatial, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentFilledMapMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -57927,7 +56400,6 @@ func awsRestjson1_deserializeDocumentFilledMapConditionalFormatting(v **types.Fi if err := awsRestjson1_deserializeDocumentFilledMapConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -57963,7 +56435,6 @@ func awsRestjson1_deserializeDocumentFilledMapConditionalFormattingOption(v **ty if err := awsRestjson1_deserializeDocumentFilledMapShapeConditionalFormatting(&sv.Shape, value); err != nil { return err } - default: _, _ = key, value @@ -58033,37 +56504,30 @@ func awsRestjson1_deserializeDocumentFilledMapConfiguration(v **types.FilledMapC if err := awsRestjson1_deserializeDocumentFilledMapFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "MapStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(&sv.MapStyleOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentFilledMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "WindowOptions": if err := awsRestjson1_deserializeDocumentGeospatialWindowOptions(&sv.WindowOptions, value); err != nil { return err } - default: _, _ = key, value @@ -58133,7 +56597,6 @@ func awsRestjson1_deserializeDocumentFilledMapFieldWells(v **types.FilledMapFiel if err := awsRestjson1_deserializeDocumentFilledMapAggregatedFieldWells(&sv.FilledMapAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -58207,12 +56670,10 @@ func awsRestjson1_deserializeDocumentFilledMapShapeConditionalFormatting(v **typ } sv.FieldId = ptr.String(jtv) } - case "Format": if err := awsRestjson1_deserializeDocumentShapeConditionalFormat(&sv.Format, value); err != nil { return err } - default: _, _ = key, value @@ -58248,7 +56709,6 @@ func awsRestjson1_deserializeDocumentFilledMapSortConfiguration(v **types.Filled if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - default: _, _ = key, value @@ -58284,32 +56744,26 @@ func awsRestjson1_deserializeDocumentFilledMapVisual(v **types.FilledMapVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentFilledMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentFilledMapConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -58318,7 +56772,6 @@ func awsRestjson1_deserializeDocumentFilledMapVisual(v **types.FilledMapVisual, } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -58354,42 +56807,34 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) if err := awsRestjson1_deserializeDocumentCategoryFilter(&sv.CategoryFilter, value); err != nil { return err } - case "NestedFilter": if err := awsRestjson1_deserializeDocumentNestedFilter(&sv.NestedFilter, value); err != nil { return err } - case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentNumericEqualityFilter(&sv.NumericEqualityFilter, value); err != nil { return err } - case "NumericRangeFilter": if err := awsRestjson1_deserializeDocumentNumericRangeFilter(&sv.NumericRangeFilter, value); err != nil { return err } - case "RelativeDatesFilter": if err := awsRestjson1_deserializeDocumentRelativeDatesFilter(&sv.RelativeDatesFilter, value); err != nil { return err } - case "TimeEqualityFilter": if err := awsRestjson1_deserializeDocumentTimeEqualityFilter(&sv.TimeEqualityFilter, value); err != nil { return err } - case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeFilter(&sv.TimeRangeFilter, value); err != nil { return err } - case "TopBottomFilter": if err := awsRestjson1_deserializeDocumentTopBottomFilter(&sv.TopBottomFilter, value); err != nil { return err } - default: _, _ = key, value @@ -58429,12 +56874,10 @@ func awsRestjson1_deserializeDocumentFilterAggMetrics(v **types.FilterAggMetrics } sv.Function = types.AggType(jtv) } - case "MetricOperand": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.MetricOperand, value); err != nil { return err } - case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -58443,7 +56886,6 @@ func awsRestjson1_deserializeDocumentFilterAggMetrics(v **types.FilterAggMetrics } sv.SortDirection = types.TopicSortDirection(jtv) } - default: _, _ = key, value @@ -58513,42 +56955,34 @@ func awsRestjson1_deserializeDocumentFilterControl(v **types.FilterControl, valu if err := awsRestjson1_deserializeDocumentFilterCrossSheetControl(&sv.CrossSheet, value); err != nil { return err } - case "DateTimePicker": if err := awsRestjson1_deserializeDocumentFilterDateTimePickerControl(&sv.DateTimePicker, value); err != nil { return err } - case "Dropdown": if err := awsRestjson1_deserializeDocumentFilterDropDownControl(&sv.Dropdown, value); err != nil { return err } - case "List": if err := awsRestjson1_deserializeDocumentFilterListControl(&sv.List, value); err != nil { return err } - case "RelativeDateTime": if err := awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(&sv.RelativeDateTime, value); err != nil { return err } - case "Slider": if err := awsRestjson1_deserializeDocumentFilterSliderControl(&sv.Slider, value); err != nil { return err } - case "TextArea": if err := awsRestjson1_deserializeDocumentFilterTextAreaControl(&sv.TextArea, value); err != nil { return err } - case "TextField": if err := awsRestjson1_deserializeDocumentFilterTextFieldControl(&sv.TextField, value); err != nil { return err } - default: _, _ = key, value @@ -58618,7 +57052,6 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -58627,7 +57060,6 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro } sv.FilterControlId = ptr.String(jtv) } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -58636,7 +57068,6 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro } sv.SourceFilterId = ptr.String(jtv) } - default: _, _ = key, value @@ -58676,12 +57107,10 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -58690,7 +57119,6 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.FilterControlId = ptr.String(jtv) } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -58699,7 +57127,6 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -58708,7 +57135,6 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -58717,7 +57143,6 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.Type = types.SheetControlDateTimePickerType(jtv) } - default: _, _ = key, value @@ -58753,7 +57178,6 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } - case "CommitMode": if value != nil { jtv, ok := value.(string) @@ -58762,12 +57186,10 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -58776,12 +57198,10 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.FilterControlId = ptr.String(jtv) } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -58790,7 +57210,6 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -58799,7 +57218,6 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -58808,7 +57226,6 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -58884,7 +57301,6 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.CrossDataset = types.CrossDatasetTypes(jtv) } - case "FilterGroupId": if value != nil { jtv, ok := value.(string) @@ -58893,17 +57309,14 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.FilterGroupId = ptr.String(jtv) } - case "Filters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } - case "ScopeConfiguration": if err := awsRestjson1_deserializeDocumentFilterScopeConfiguration(&sv.ScopeConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -58912,7 +57325,6 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.Status = types.WidgetStatus(jtv) } - default: _, _ = key, value @@ -59016,7 +57428,6 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } - case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -59025,7 +57436,6 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -59034,7 +57444,6 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.NullOption = types.FilterNullOption(jtv) } - case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -59043,7 +57452,6 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } - default: _, _ = key, value @@ -59079,12 +57487,10 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -59093,12 +57499,10 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.FilterControlId = ptr.String(jtv) } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -59107,7 +57511,6 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -59116,7 +57519,6 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -59125,7 +57527,6 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -59165,7 +57566,6 @@ func awsRestjson1_deserializeDocumentFilterOperation(v **types.FilterOperation, } sv.ConditionExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -59201,7 +57601,6 @@ func awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration( if err := awsRestjson1_deserializeDocumentCustomActionColumnList(&sv.SelectedColumns, value); err != nil { return err } - case "SelectedFieldOptions": if value != nil { jtv, ok := value.(string) @@ -59210,12 +57609,10 @@ func awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration( } sv.SelectedFieldOptions = types.SelectedFieldOptions(jtv) } - case "SelectedFields": if err := awsRestjson1_deserializeDocumentSelectedFieldList(&sv.SelectedFields, value); err != nil { return err } - default: _, _ = key, value @@ -59251,7 +57648,6 @@ func awsRestjson1_deserializeDocumentFilterOperationTargetVisualsConfiguration(v if err := awsRestjson1_deserializeDocumentSameSheetTargetVisualConfiguration(&sv.SameSheetTargetVisualConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -59291,12 +57687,10 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -59305,7 +57699,6 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.FilterControlId = ptr.String(jtv) } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -59314,7 +57707,6 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -59323,7 +57715,6 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -59359,12 +57750,10 @@ func awsRestjson1_deserializeDocumentFilterScopeConfiguration(v **types.FilterSc if err := awsRestjson1_deserializeDocumentAllSheetsFilterScopeConfiguration(&sv.AllSheets, value); err != nil { return err } - case "SelectedSheets": if err := awsRestjson1_deserializeDocumentSelectedSheetsFilterScopeConfiguration(&sv.SelectedSheets, value); err != nil { return err } - default: _, _ = key, value @@ -59400,7 +57789,6 @@ func awsRestjson1_deserializeDocumentFilterSelectableValues(v **types.FilterSele if err := awsRestjson1_deserializeDocumentParameterSelectableValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -59436,7 +57824,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -59445,7 +57832,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.FilterControlId = ptr.String(jtv) } - case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -59479,7 +57865,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } - case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -59513,7 +57898,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -59522,7 +57906,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.SourceFilterId = ptr.String(jtv) } - case "StepSize": if value != nil { switch jtv := value.(type) { @@ -59556,7 +57939,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } - case "Title": if value != nil { jtv, ok := value.(string) @@ -59565,7 +57947,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -59574,7 +57955,6 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.Type = types.SheetControlSliderType(jtv) } - default: _, _ = key, value @@ -59614,12 +57994,10 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.Delimiter = ptr.String(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -59628,7 +58006,6 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.FilterControlId = ptr.String(jtv) } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -59637,7 +58014,6 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -59646,7 +58022,6 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -59682,7 +58057,6 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -59691,7 +58065,6 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.FilterControlId = ptr.String(jtv) } - case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -59700,7 +58073,6 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.SourceFilterId = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -59709,7 +58081,6 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -59749,7 +58120,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -59765,7 +58135,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -59774,12 +58143,10 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.FolderId = ptr.String(jtv) } - case "FolderPath": if err := awsRestjson1_deserializeDocumentPath(&sv.FolderPath, value); err != nil { return err } - case "FolderType": if value != nil { jtv, ok := value.(string) @@ -59788,7 +58155,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.FolderType = types.FolderType(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -59804,7 +58170,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -59813,7 +58178,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.Name = ptr.String(jtv) } - case "SharingModel": if value != nil { jtv, ok := value.(string) @@ -59822,7 +58186,6 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.SharingModel = types.SharingModel(jtv) } - default: _, _ = key, value @@ -59934,7 +58297,6 @@ func awsRestjson1_deserializeDocumentFolderMember(v **types.FolderMember, value } sv.MemberId = ptr.String(jtv) } - case "MemberType": if value != nil { jtv, ok := value.(string) @@ -59943,7 +58305,6 @@ func awsRestjson1_deserializeDocumentFolderMember(v **types.FolderMember, value } sv.MemberType = types.MemberType(jtv) } - default: _, _ = key, value @@ -60053,7 +58414,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -60069,7 +58429,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } } - case "FolderId": if value != nil { jtv, ok := value.(string) @@ -60078,7 +58437,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.FolderId = ptr.String(jtv) } - case "FolderType": if value != nil { jtv, ok := value.(string) @@ -60087,7 +58445,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.FolderType = types.FolderType(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -60103,7 +58460,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60112,7 +58468,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.Name = ptr.String(jtv) } - case "SharingModel": if value != nil { jtv, ok := value.(string) @@ -60121,7 +58476,6 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.SharingModel = types.SharingModel(jtv) } - default: _, _ = key, value @@ -60195,7 +58549,6 @@ func awsRestjson1_deserializeDocumentFont(v **types.Font, value interface{}) err } sv.FontFamily = ptr.String(jtv) } - default: _, _ = key, value @@ -60235,7 +58588,6 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontColor = ptr.String(jtv) } - case "FontDecoration": if value != nil { jtv, ok := value.(string) @@ -60244,12 +58596,10 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontDecoration = types.FontDecoration(jtv) } - case "FontSize": if err := awsRestjson1_deserializeDocumentFontSize(&sv.FontSize, value); err != nil { return err } - case "FontStyle": if value != nil { jtv, ok := value.(string) @@ -60258,12 +58608,10 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontStyle = types.FontStyle(jtv) } - case "FontWeight": if err := awsRestjson1_deserializeDocumentFontWeight(&sv.FontWeight, value); err != nil { return err } - default: _, _ = key, value @@ -60337,7 +58685,6 @@ func awsRestjson1_deserializeDocumentFontSize(v **types.FontSize, value interfac } sv.Relative = types.RelativeFontSize(jtv) } - default: _, _ = key, value @@ -60377,7 +58724,6 @@ func awsRestjson1_deserializeDocumentFontWeight(v **types.FontWeight, value inte } sv.Name = types.FontWeightName(jtv) } - default: _, _ = key, value @@ -60417,7 +58763,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.ComputationId = ptr.String(jtv) } - case "CustomSeasonalityValue": if value != nil { jtv, ok := value.(json.Number) @@ -60430,7 +58775,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.CustomSeasonalityValue = ptr.Int32(int32(i64)) } - case "LowerBoundary": if value != nil { switch jtv := value.(type) { @@ -60464,7 +58808,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -60473,7 +58816,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.Name = ptr.String(jtv) } - case "PeriodsBackward": if value != nil { jtv, ok := value.(json.Number) @@ -60486,7 +58828,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PeriodsBackward = ptr.Int32(int32(i64)) } - case "PeriodsForward": if value != nil { jtv, ok := value.(json.Number) @@ -60499,7 +58840,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PeriodsForward = ptr.Int32(int32(i64)) } - case "PredictionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -60512,7 +58852,6 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PredictionInterval = ptr.Int32(int32(i64)) } - case "Seasonality": if value != nil { jtv, ok := value.(string) @@ -60521,12 +58860,10 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.Seasonality = types.ForecastComputationSeasonality(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "UpperBoundary": if value != nil { switch jtv := value.(type) { @@ -60560,12 +58897,10 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -60601,12 +58936,10 @@ func awsRestjson1_deserializeDocumentForecastConfiguration(v **types.ForecastCon if err := awsRestjson1_deserializeDocumentTimeBasedForecastProperties(&sv.ForecastProperties, value); err != nil { return err } - case "Scenario": if err := awsRestjson1_deserializeDocumentForecastScenario(&sv.Scenario, value); err != nil { return err } - default: _, _ = key, value @@ -60676,12 +59009,10 @@ func awsRestjson1_deserializeDocumentForecastScenario(v **types.ForecastScenario if err := awsRestjson1_deserializeDocumentWhatIfPointScenario(&sv.WhatIfPointScenario, value); err != nil { return err } - case "WhatIfRangeScenario": if err := awsRestjson1_deserializeDocumentWhatIfRangeScenario(&sv.WhatIfRangeScenario, value); err != nil { return err } - default: _, _ = key, value @@ -60717,17 +59048,14 @@ func awsRestjson1_deserializeDocumentFormatConfiguration(v **types.FormatConfigu if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.DateTimeFormatConfiguration, value); err != nil { return err } - case "NumberFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.NumberFormatConfiguration, value); err != nil { return err } - case "StringFormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.StringFormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -60763,7 +59091,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(v **types.F if err := awsRestjson1_deserializeDocumentFreeFormLayoutScreenCanvasSizeOptions(&sv.ScreenCanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -60799,12 +59126,10 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutConfiguration(v **types.FreeF if err := awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - case "Elements": if err := awsRestjson1_deserializeDocumentFreeFromLayoutElementList(&sv.Elements, value); err != nil { return err } - default: _, _ = key, value @@ -60840,12 +59165,10 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(&sv.BackgroundStyle, value); err != nil { return err } - case "BorderStyle": if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(&sv.BorderStyle, value); err != nil { return err } - case "ElementId": if value != nil { jtv, ok := value.(string) @@ -60854,7 +59177,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.ElementId = ptr.String(jtv) } - case "ElementType": if value != nil { jtv, ok := value.(string) @@ -60863,7 +59185,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.ElementType = types.LayoutElementType(jtv) } - case "Height": if value != nil { jtv, ok := value.(string) @@ -60872,22 +59193,18 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Height = ptr.String(jtv) } - case "LoadingAnimation": if err := awsRestjson1_deserializeDocumentLoadingAnimation(&sv.LoadingAnimation, value); err != nil { return err } - case "RenderingRules": if err := awsRestjson1_deserializeDocumentSheetElementRenderingRuleList(&sv.RenderingRules, value); err != nil { return err } - case "SelectedBorderStyle": if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(&sv.SelectedBorderStyle, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -60896,7 +59213,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Visibility = types.Visibility(jtv) } - case "Width": if value != nil { jtv, ok := value.(string) @@ -60905,7 +59221,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Width = ptr.String(jtv) } - case "XAxisLocation": if value != nil { jtv, ok := value.(string) @@ -60914,7 +59229,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.XAxisLocation = ptr.String(jtv) } - case "YAxisLocation": if value != nil { jtv, ok := value.(string) @@ -60923,7 +59237,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.YAxisLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -60963,7 +59276,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(v **ty } sv.Color = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -60972,7 +59284,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(v **ty } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -61012,7 +59323,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(v **types. } sv.Color = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -61021,7 +59331,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(v **types. } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -61061,7 +59370,6 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutScreenCanvasSizeOptions(v **t } sv.OptimizedViewPortWidth = ptr.String(jtv) } - default: _, _ = key, value @@ -61097,7 +59405,6 @@ func awsRestjson1_deserializeDocumentFreeFormSectionLayoutConfiguration(v **type if err := awsRestjson1_deserializeDocumentFreeFromLayoutElementList(&sv.Elements, value); err != nil { return err } - default: _, _ = key, value @@ -61167,12 +59474,10 @@ func awsRestjson1_deserializeDocumentFunnelChartAggregatedFieldWells(v **types.F if err := awsRestjson1_deserializeDocumentFunnelChartDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentFunnelChartMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -61208,42 +59513,34 @@ func awsRestjson1_deserializeDocumentFunnelChartConfiguration(v **types.FunnelCh if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "DataLabelOptions": if err := awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(&sv.DataLabelOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentFunnelChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentFunnelChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -61283,7 +59580,6 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.CategoryLabelVisibility = types.Visibility(jtv) } - case "LabelColor": if value != nil { jtv, ok := value.(string) @@ -61292,12 +59588,10 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.LabelColor = ptr.String(jtv) } - case "LabelFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.LabelFontConfiguration, value); err != nil { return err } - case "MeasureDataLabelStyle": if value != nil { jtv, ok := value.(string) @@ -61306,7 +59600,6 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.MeasureDataLabelStyle = types.FunnelChartMeasureDataLabelStyle(jtv) } - case "MeasureLabelVisibility": if value != nil { jtv, ok := value.(string) @@ -61315,7 +59608,6 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.MeasureLabelVisibility = types.Visibility(jtv) } - case "Position": if value != nil { jtv, ok := value.(string) @@ -61324,7 +59616,6 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.Position = types.DataLabelPosition(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -61333,7 +59624,6 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -61403,7 +59693,6 @@ func awsRestjson1_deserializeDocumentFunnelChartFieldWells(v **types.FunnelChart if err := awsRestjson1_deserializeDocumentFunnelChartAggregatedFieldWells(&sv.FunnelChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -61473,12 +59762,10 @@ func awsRestjson1_deserializeDocumentFunnelChartSortConfiguration(v **types.Funn if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - default: _, _ = key, value @@ -61514,27 +59801,22 @@ func awsRestjson1_deserializeDocumentFunnelChartVisual(v **types.FunnelChartVisu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentFunnelChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -61543,7 +59825,6 @@ func awsRestjson1_deserializeDocumentFunnelChartVisual(v **types.FunnelChartVisu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -61579,7 +59860,6 @@ func awsRestjson1_deserializeDocumentGaugeChartArcConditionalFormatting(v **type if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.ForegroundColor, value); err != nil { return err } - default: _, _ = key, value @@ -61619,7 +59899,6 @@ func awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(v **types.Gaug } sv.BackgroundColor = ptr.String(jtv) } - case "ForegroundColor": if value != nil { jtv, ok := value.(string) @@ -61628,7 +59907,6 @@ func awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(v **types.Gaug } sv.ForegroundColor = ptr.String(jtv) } - default: _, _ = key, value @@ -61664,7 +59942,6 @@ func awsRestjson1_deserializeDocumentGaugeChartConditionalFormatting(v **types.G if err := awsRestjson1_deserializeDocumentGaugeChartConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -61700,12 +59977,10 @@ func awsRestjson1_deserializeDocumentGaugeChartConditionalFormattingOption(v **t if err := awsRestjson1_deserializeDocumentGaugeChartArcConditionalFormatting(&sv.Arc, value); err != nil { return err } - case "PrimaryValue": if err := awsRestjson1_deserializeDocumentGaugeChartPrimaryValueConditionalFormatting(&sv.PrimaryValue, value); err != nil { return err } - default: _, _ = key, value @@ -61775,37 +60050,30 @@ func awsRestjson1_deserializeDocumentGaugeChartConfiguration(v **types.GaugeChar if err := awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(&sv.ColorConfiguration, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentGaugeChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "GaugeChartOptions": if err := awsRestjson1_deserializeDocumentGaugeChartOptions(&sv.GaugeChartOptions, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "TooltipOptions": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.TooltipOptions, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -61841,12 +60109,10 @@ func awsRestjson1_deserializeDocumentGaugeChartFieldWells(v **types.GaugeChartFi if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.TargetValues, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -61882,17 +60148,14 @@ func awsRestjson1_deserializeDocumentGaugeChartOptions(v **types.GaugeChartOptio if err := awsRestjson1_deserializeDocumentArcConfiguration(&sv.Arc, value); err != nil { return err } - case "ArcAxis": if err := awsRestjson1_deserializeDocumentArcAxisConfiguration(&sv.ArcAxis, value); err != nil { return err } - case "Comparison": if err := awsRestjson1_deserializeDocumentComparisonConfiguration(&sv.Comparison, value); err != nil { return err } - case "PrimaryValueDisplayType": if value != nil { jtv, ok := value.(string) @@ -61901,12 +60164,10 @@ func awsRestjson1_deserializeDocumentGaugeChartOptions(v **types.GaugeChartOptio } sv.PrimaryValueDisplayType = types.PrimaryValueDisplayType(jtv) } - case "PrimaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.PrimaryValueFontConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -61942,12 +60203,10 @@ func awsRestjson1_deserializeDocumentGaugeChartPrimaryValueConditionalFormatting if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -61983,27 +60242,22 @@ func awsRestjson1_deserializeDocumentGaugeChartVisual(v **types.GaugeChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentGaugeChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentGaugeChartConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -62012,7 +60266,6 @@ func awsRestjson1_deserializeDocumentGaugeChartVisual(v **types.GaugeChartVisual } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -62048,7 +60301,6 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } - case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -62057,7 +60309,6 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC } sv.CountryCode = types.GeoSpatialCountryCode(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -62066,7 +60317,6 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -62131,7 +60381,6 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } - case "North": if value != nil { switch jtv := value.(type) { @@ -62165,7 +60414,6 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } - case "South": if value != nil { switch jtv := value.(type) { @@ -62199,7 +60447,6 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } - case "West": if value != nil { switch jtv := value.(type) { @@ -62233,7 +60480,6 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } - default: _, _ = key, value @@ -62269,7 +60515,6 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapColorScale(v **types.Geosp if err := awsRestjson1_deserializeDocumentGeospatialHeatmapDataColorList(&sv.Colors, value); err != nil { return err } - default: _, _ = key, value @@ -62305,7 +60550,6 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapConfiguration(v **types.Ge if err := awsRestjson1_deserializeDocumentGeospatialHeatmapColorScale(&sv.HeatmapColor, value); err != nil { return err } - default: _, _ = key, value @@ -62345,7 +60589,6 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapDataColor(v **types.Geospa } sv.Color = ptr.String(jtv) } - default: _, _ = key, value @@ -62415,17 +60658,14 @@ func awsRestjson1_deserializeDocumentGeospatialMapAggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } - case "Geospatial": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Geospatial, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -62461,42 +60701,34 @@ func awsRestjson1_deserializeDocumentGeospatialMapConfiguration(v **types.Geospa if err := awsRestjson1_deserializeDocumentGeospatialMapFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "MapStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(&sv.MapStyleOptions, value); err != nil { return err } - case "PointStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(&sv.PointStyleOptions, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - case "WindowOptions": if err := awsRestjson1_deserializeDocumentGeospatialWindowOptions(&sv.WindowOptions, value); err != nil { return err } - default: _, _ = key, value @@ -62532,7 +60764,6 @@ func awsRestjson1_deserializeDocumentGeospatialMapFieldWells(v **types.Geospatia if err := awsRestjson1_deserializeDocumentGeospatialMapAggregatedFieldWells(&sv.GeospatialMapAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -62572,7 +60803,6 @@ func awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(v **types.Geospat } sv.BaseMapStyle = types.BaseMapStyleType(jtv) } - default: _, _ = key, value @@ -62608,27 +60838,22 @@ func awsRestjson1_deserializeDocumentGeospatialMapVisual(v **types.GeospatialMap if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentGeospatialMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -62637,7 +60862,6 @@ func awsRestjson1_deserializeDocumentGeospatialMapVisual(v **types.GeospatialMap } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -62673,12 +60897,10 @@ func awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(v **types.Geosp if err := awsRestjson1_deserializeDocumentClusterMarkerConfiguration(&sv.ClusterMarkerConfiguration, value); err != nil { return err } - case "HeatmapConfiguration": if err := awsRestjson1_deserializeDocumentGeospatialHeatmapConfiguration(&sv.HeatmapConfiguration, value); err != nil { return err } - case "SelectedPointStyle": if value != nil { jtv, ok := value.(string) @@ -62687,7 +60909,6 @@ func awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(v **types.Geosp } sv.SelectedPointStyle = types.GeospatialSelectedPointStyle(jtv) } - default: _, _ = key, value @@ -62723,7 +60944,6 @@ func awsRestjson1_deserializeDocumentGeospatialWindowOptions(v **types.Geospatia if err := awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(&sv.Bounds, value); err != nil { return err } - case "MapZoomMode": if value != nil { jtv, ok := value.(string) @@ -62732,7 +60952,6 @@ func awsRestjson1_deserializeDocumentGeospatialWindowOptions(v **types.Geospatia } sv.MapZoomMode = types.MapZoomMode(jtv) } - default: _, _ = key, value @@ -62768,12 +60987,10 @@ func awsRestjson1_deserializeDocumentGlobalTableBorderOptions(v **types.GlobalTa if err := awsRestjson1_deserializeDocumentTableSideBorderOptions(&sv.SideSpecificBorder, value); err != nil { return err } - case "UniformBorder": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.UniformBorder, value); err != nil { return err } - default: _, _ = key, value @@ -62809,7 +61026,6 @@ func awsRestjson1_deserializeDocumentGradientColor(v **types.GradientColor, valu if err := awsRestjson1_deserializeDocumentGradientStopList(&sv.Stops, value); err != nil { return err } - default: _, _ = key, value @@ -62849,7 +61065,6 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } sv.Color = ptr.String(jtv) } - case "DataValue": if value != nil { switch jtv := value.(type) { @@ -62883,7 +61098,6 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } } - case "GradientOffset": if value != nil { switch jtv := value.(type) { @@ -62917,7 +61131,6 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } } - default: _, _ = key, value @@ -62987,7 +61200,6 @@ func awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(v **types.GridL if err := awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(&sv.ScreenCanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -63023,12 +61235,10 @@ func awsRestjson1_deserializeDocumentGridLayoutConfiguration(v **types.GridLayou if err := awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - case "Elements": if err := awsRestjson1_deserializeDocumentGridLayoutElementList(&sv.Elements, value); err != nil { return err } - default: _, _ = key, value @@ -63072,7 +61282,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ColumnIndex = ptr.Int32(int32(i64)) } - case "ColumnSpan": if value != nil { jtv, ok := value.(json.Number) @@ -63085,7 +61294,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ColumnSpan = ptr.Int32(int32(i64)) } - case "ElementId": if value != nil { jtv, ok := value.(string) @@ -63094,7 +61302,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ElementId = ptr.String(jtv) } - case "ElementType": if value != nil { jtv, ok := value.(string) @@ -63103,7 +61310,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ElementType = types.LayoutElementType(jtv) } - case "RowIndex": if value != nil { jtv, ok := value.(json.Number) @@ -63116,7 +61322,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.RowIndex = ptr.Int32(int32(i64)) } - case "RowSpan": if value != nil { jtv, ok := value.(json.Number) @@ -63129,7 +61334,6 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.RowSpan = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -63203,7 +61407,6 @@ func awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(v **types } sv.OptimizedViewPortWidth = ptr.String(jtv) } - case "ResizeOption": if value != nil { jtv, ok := value.(string) @@ -63212,7 +61415,6 @@ func awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(v **types } sv.ResizeOption = types.ResizeOption(jtv) } - default: _, _ = key, value @@ -63252,7 +61454,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -63261,7 +61462,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -63270,7 +61470,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupName = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -63279,7 +61478,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.PrincipalId = ptr.String(jtv) } - default: _, _ = key, value @@ -63353,7 +61551,6 @@ func awsRestjson1_deserializeDocumentGroupMember(v **types.GroupMember, value in } sv.Arn = ptr.String(jtv) } - case "MemberName": if value != nil { jtv, ok := value.(string) @@ -63362,7 +61559,6 @@ func awsRestjson1_deserializeDocumentGroupMember(v **types.GroupMember, value in } sv.MemberName = ptr.String(jtv) } - default: _, _ = key, value @@ -63472,7 +61668,6 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -63481,7 +61676,6 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.Name = ptr.String(jtv) } - case "PeriodSize": if value != nil { jtv, ok := value.(json.Number) @@ -63494,17 +61688,14 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.PeriodSize = ptr.Int32(int32(i64)) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -63544,7 +61735,6 @@ func awsRestjson1_deserializeDocumentGutterStyle(v **types.GutterStyle, value in } sv.Show = ptr.Bool(jtv) } - default: _, _ = key, value @@ -63580,7 +61770,6 @@ func awsRestjson1_deserializeDocumentHeaderFooterSectionConfiguration(v **types. if err := awsRestjson1_deserializeDocumentSectionLayoutConfiguration(&sv.Layout, value); err != nil { return err } - case "SectionId": if value != nil { jtv, ok := value.(string) @@ -63589,12 +61778,10 @@ func awsRestjson1_deserializeDocumentHeaderFooterSectionConfiguration(v **types. } sv.SectionId = ptr.String(jtv) } - case "Style": if err := awsRestjson1_deserializeDocumentSectionStyle(&sv.Style, value); err != nil { return err } - default: _, _ = key, value @@ -63664,17 +61851,14 @@ func awsRestjson1_deserializeDocumentHeatMapAggregatedFieldWells(v **types.HeatM if err := awsRestjson1_deserializeDocumentHeatMapDimensionFieldList(&sv.Columns, value); err != nil { return err } - case "Rows": if err := awsRestjson1_deserializeDocumentHeatMapDimensionFieldList(&sv.Rows, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentHeatMapMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -63710,47 +61894,38 @@ func awsRestjson1_deserializeDocumentHeatMapConfiguration(v **types.HeatMapConfi if err := awsRestjson1_deserializeDocumentColorScale(&sv.ColorScale, value); err != nil { return err } - case "ColumnLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColumnLabelOptions, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentHeatMapFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "RowLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.RowLabelOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentHeatMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - default: _, _ = key, value @@ -63820,7 +61995,6 @@ func awsRestjson1_deserializeDocumentHeatMapFieldWells(v **types.HeatMapFieldWel if err := awsRestjson1_deserializeDocumentHeatMapAggregatedFieldWells(&sv.HeatMapAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -63890,22 +62064,18 @@ func awsRestjson1_deserializeDocumentHeatMapSortConfiguration(v **types.HeatMapS if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.HeatMapColumnItemsLimitConfiguration, value); err != nil { return err } - case "HeatMapColumnSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.HeatMapColumnSort, value); err != nil { return err } - case "HeatMapRowItemsLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.HeatMapRowItemsLimitConfiguration, value); err != nil { return err } - case "HeatMapRowSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.HeatMapRowSort, value); err != nil { return err } - default: _, _ = key, value @@ -63941,27 +62111,22 @@ func awsRestjson1_deserializeDocumentHeatMapVisual(v **types.HeatMapVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentHeatMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -63970,7 +62135,6 @@ func awsRestjson1_deserializeDocumentHeatMapVisual(v **types.HeatMapVisual, valu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -64006,7 +62170,6 @@ func awsRestjson1_deserializeDocumentHistogramAggregatedFieldWells(v **types.His if err := awsRestjson1_deserializeDocumentHistogramMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -64042,12 +62205,10 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO if err := awsRestjson1_deserializeDocumentBinCountOptions(&sv.BinCount, value); err != nil { return err } - case "BinWidth": if err := awsRestjson1_deserializeDocumentBinWidthOptions(&sv.BinWidth, value); err != nil { return err } - case "SelectedBinType": if value != nil { jtv, ok := value.(string) @@ -64056,7 +62217,6 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO } sv.SelectedBinType = types.HistogramBinType(jtv) } - case "StartValue": if value != nil { switch jtv := value.(type) { @@ -64090,7 +62250,6 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO } } - default: _, _ = key, value @@ -64126,47 +62285,38 @@ func awsRestjson1_deserializeDocumentHistogramConfiguration(v **types.HistogramC if err := awsRestjson1_deserializeDocumentHistogramBinOptions(&sv.BinOptions, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentHistogramFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } - case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } - case "YAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.YAxisDisplayOptions, value); err != nil { return err } - default: _, _ = key, value @@ -64202,7 +62352,6 @@ func awsRestjson1_deserializeDocumentHistogramFieldWells(v **types.HistogramFiel if err := awsRestjson1_deserializeDocumentHistogramAggregatedFieldWells(&sv.HistogramAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -64272,22 +62421,18 @@ func awsRestjson1_deserializeDocumentHistogramVisual(v **types.HistogramVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentHistogramConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -64296,7 +62441,6 @@ func awsRestjson1_deserializeDocumentHistogramVisual(v **types.HistogramVisual, } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -64336,7 +62480,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentId = ptr.String(jtv) } - case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -64345,7 +62488,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentName = ptr.String(jtv) } - case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -64354,7 +62496,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentStatus = types.AssignmentStatus(jtv) } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -64363,12 +62504,10 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AwsAccountId = ptr.String(jtv) } - case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } - case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -64377,7 +62516,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -64417,7 +62555,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummary(v **types.IAMPol } sv.AssignmentName = ptr.String(jtv) } - case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -64426,7 +62563,6 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummary(v **types.IAMPol } sv.AssignmentStatus = types.AssignmentStatus(jtv) } - default: _, _ = key, value @@ -64500,7 +62636,6 @@ func awsRestjson1_deserializeDocumentIdentifier(v **types.Identifier, value inte } sv.Identity = ptr.String(jtv) } - default: _, _ = key, value @@ -64540,7 +62675,6 @@ func awsRestjson1_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.EnableIdentityPropagation = ptr.Bool(jtv) } - default: _, _ = key, value @@ -64640,15 +62774,9 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -64656,7 +62784,6 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -64665,15 +62792,11 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -64704,7 +62827,6 @@ func awsRestjson1_deserializeDocumentIncrementalRefresh(v **types.IncrementalRef if err := awsRestjson1_deserializeDocumentLookbackWindow(&sv.LookbackWindow, value); err != nil { return err } - default: _, _ = key, value @@ -64744,7 +62866,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -64760,12 +62881,10 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } } - case "ErrorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } - case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -64774,7 +62893,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionId = ptr.String(jtv) } - case "IngestionSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -64787,7 +62905,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionSizeInBytes = ptr.Int64(i64) } - case "IngestionStatus": if value != nil { jtv, ok := value.(string) @@ -64796,7 +62913,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionStatus = types.IngestionStatus(jtv) } - case "IngestionTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -64809,12 +62925,10 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionTimeInSeconds = ptr.Int64(i64) } - case "QueueInfo": if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { return err } - case "RequestSource": if value != nil { jtv, ok := value.(string) @@ -64823,7 +62937,6 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.RequestSource = types.IngestionRequestSource(jtv) } - case "RequestType": if value != nil { jtv, ok := value.(string) @@ -64832,12 +62945,10 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.RequestType = types.IngestionRequestType(jtv) } - case "RowInfo": if err := awsRestjson1_deserializeDocumentRowInfo(&sv.RowInfo, value); err != nil { return err } - default: _, _ = key, value @@ -64907,7 +63018,6 @@ func awsRestjson1_deserializeDocumentInnerFilter(v **types.InnerFilter, value in if err := awsRestjson1_deserializeDocumentCategoryInnerFilter(&sv.CategoryInnerFilter, value); err != nil { return err } - default: _, _ = key, value @@ -64947,7 +63057,6 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.Name = ptr.String(jtv) } - case "SubType": if value != nil { jtv, ok := value.(string) @@ -64956,7 +63065,6 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.SubType = types.ColumnDataSubType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -64965,7 +63073,6 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.Type = types.InputColumnDataType(jtv) } - default: _, _ = key, value @@ -65035,17 +63142,14 @@ func awsRestjson1_deserializeDocumentInsightConfiguration(v **types.InsightConfi if err := awsRestjson1_deserializeDocumentComputationList(&sv.Computations, value); err != nil { return err } - case "CustomNarrative": if err := awsRestjson1_deserializeDocumentCustomNarrativeOptions(&sv.CustomNarrative, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - default: _, _ = key, value @@ -65081,7 +63185,6 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -65090,22 +63193,18 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu } sv.DataSetIdentifier = ptr.String(jtv) } - case "InsightConfiguration": if err := awsRestjson1_deserializeDocumentInsightConfiguration(&sv.InsightConfiguration, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -65114,7 +63213,6 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -65150,7 +63248,6 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -65159,7 +63256,6 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -65168,7 +63264,6 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.Name = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -65177,7 +63272,6 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.ValueType = types.DatasetParameterValueType(jtv) } - default: _, _ = key, value @@ -65213,7 +63307,6 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameterDefaultValues(v **ty if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -65329,12 +63422,10 @@ func awsRestjson1_deserializeDocumentIntegerDefaultValues(v **types.IntegerDefau if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } - case "StaticValues": if err := awsRestjson1_deserializeDocumentIntegerDefaultValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -65374,12 +63465,10 @@ func awsRestjson1_deserializeDocumentIntegerParameter(v **types.IntegerParameter } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentSensitiveLongList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -65415,12 +63504,10 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ if err := awsRestjson1_deserializeDocumentIntegerDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -65429,7 +63516,6 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ } sv.Name = ptr.String(jtv) } - case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -65438,12 +63524,10 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ } sv.ParameterValueType = types.ParameterValueType(jtv) } - case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } - default: _, _ = key, value @@ -65521,7 +63605,6 @@ func awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(v **type } sv.CustomValue = ptr.Int64(i64) } - case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -65530,7 +63613,6 @@ func awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(v **type } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } - default: _, _ = key, value @@ -65560,15 +63642,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -65576,7 +63652,6 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -65585,15 +63660,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -65618,15 +63689,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -65634,7 +63699,6 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -65643,15 +63707,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -65676,15 +63736,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -65692,7 +63746,6 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -65701,15 +63754,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -65734,15 +63783,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -65750,7 +63793,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -65759,15 +63801,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -65802,7 +63840,6 @@ func awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswer(v **types.Invali } sv.AnswerId = ptr.String(jtv) } - case "Error": if value != nil { jtv, ok := value.(string) @@ -65811,7 +63848,6 @@ func awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswer(v **types.Invali } sv.Error = types.ReviewedAnswerErrorCode(jtv) } - default: _, _ = key, value @@ -65925,7 +63961,6 @@ func awsRestjson1_deserializeDocumentItemsLimitConfiguration(v **types.ItemsLimi } sv.ItemsLimit = ptr.Int64(i64) } - case "OtherCategories": if value != nil { jtv, ok := value.(string) @@ -65934,7 +63969,6 @@ func awsRestjson1_deserializeDocumentItemsLimitConfiguration(v **types.ItemsLimi } sv.OtherCategories = types.OtherCategories(jtv) } - default: _, _ = key, value @@ -65974,7 +64008,6 @@ func awsRestjson1_deserializeDocumentJiraParameters(v **types.JiraParameters, va } sv.SiteBaseUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -66010,7 +64043,6 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, if err := awsRestjson1_deserializeDocumentJoinKeyProperties(&sv.LeftJoinKeyProperties, value); err != nil { return err } - case "LeftOperand": if value != nil { jtv, ok := value.(string) @@ -66019,7 +64051,6 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.LeftOperand = ptr.String(jtv) } - case "OnClause": if value != nil { jtv, ok := value.(string) @@ -66028,12 +64059,10 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.OnClause = ptr.String(jtv) } - case "RightJoinKeyProperties": if err := awsRestjson1_deserializeDocumentJoinKeyProperties(&sv.RightJoinKeyProperties, value); err != nil { return err } - case "RightOperand": if value != nil { jtv, ok := value.(string) @@ -66042,7 +64071,6 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.RightOperand = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -66051,7 +64079,6 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.Type = types.JoinType(jtv) } - default: _, _ = key, value @@ -66091,7 +64118,6 @@ func awsRestjson1_deserializeDocumentJoinKeyProperties(v **types.JoinKeyProperti } sv.UniqueKey = ptr.Bool(jtv) } - default: _, _ = key, value @@ -66161,12 +64187,10 @@ func awsRestjson1_deserializeDocumentKPIActualValueConditionalFormatting(v **typ if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -66202,12 +64226,10 @@ func awsRestjson1_deserializeDocumentKPIComparisonValueConditionalFormatting(v * if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -66243,7 +64265,6 @@ func awsRestjson1_deserializeDocumentKPIConditionalFormatting(v **types.KPICondi if err := awsRestjson1_deserializeDocumentKPIConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -66279,22 +64300,18 @@ func awsRestjson1_deserializeDocumentKPIConditionalFormattingOption(v **types.KP if err := awsRestjson1_deserializeDocumentKPIActualValueConditionalFormatting(&sv.ActualValue, value); err != nil { return err } - case "ComparisonValue": if err := awsRestjson1_deserializeDocumentKPIComparisonValueConditionalFormatting(&sv.ComparisonValue, value); err != nil { return err } - case "PrimaryValue": if err := awsRestjson1_deserializeDocumentKPIPrimaryValueConditionalFormatting(&sv.PrimaryValue, value); err != nil { return err } - case "ProgressBar": if err := awsRestjson1_deserializeDocumentKPIProgressBarConditionalFormatting(&sv.ProgressBar, value); err != nil { return err } - default: _, _ = key, value @@ -66364,22 +64381,18 @@ func awsRestjson1_deserializeDocumentKPIConfiguration(v **types.KPIConfiguration if err := awsRestjson1_deserializeDocumentKPIFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "KPIOptions": if err := awsRestjson1_deserializeDocumentKPIOptions(&sv.KPIOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentKPISortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -66415,17 +64428,14 @@ func awsRestjson1_deserializeDocumentKPIFieldWells(v **types.KPIFieldWells, valu if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.TargetValues, value); err != nil { return err } - case "TrendGroups": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.TrendGroups, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -66461,7 +64471,6 @@ func awsRestjson1_deserializeDocumentKPIOptions(v **types.KPIOptions, value inte if err := awsRestjson1_deserializeDocumentComparisonConfiguration(&sv.Comparison, value); err != nil { return err } - case "PrimaryValueDisplayType": if value != nil { jtv, ok := value.(string) @@ -66470,42 +64479,34 @@ func awsRestjson1_deserializeDocumentKPIOptions(v **types.KPIOptions, value inte } sv.PrimaryValueDisplayType = types.PrimaryValueDisplayType(jtv) } - case "PrimaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.PrimaryValueFontConfiguration, value); err != nil { return err } - case "ProgressBar": if err := awsRestjson1_deserializeDocumentProgressBarOptions(&sv.ProgressBar, value); err != nil { return err } - case "SecondaryValue": if err := awsRestjson1_deserializeDocumentSecondaryValueOptions(&sv.SecondaryValue, value); err != nil { return err } - case "SecondaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.SecondaryValueFontConfiguration, value); err != nil { return err } - case "Sparkline": if err := awsRestjson1_deserializeDocumentKPISparklineOptions(&sv.Sparkline, value); err != nil { return err } - case "TrendArrows": if err := awsRestjson1_deserializeDocumentTrendArrowOptions(&sv.TrendArrows, value); err != nil { return err } - case "VisualLayoutOptions": if err := awsRestjson1_deserializeDocumentKPIVisualLayoutOptions(&sv.VisualLayoutOptions, value); err != nil { return err } - default: _, _ = key, value @@ -66541,12 +64542,10 @@ func awsRestjson1_deserializeDocumentKPIPrimaryValueConditionalFormatting(v **ty if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -66582,7 +64581,6 @@ func awsRestjson1_deserializeDocumentKPIProgressBarConditionalFormatting(v **typ if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.ForegroundColor, value); err != nil { return err } - default: _, _ = key, value @@ -66618,7 +64616,6 @@ func awsRestjson1_deserializeDocumentKPISortConfiguration(v **types.KPISortConfi if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.TrendGroupSort, value); err != nil { return err } - default: _, _ = key, value @@ -66658,7 +64655,6 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Color = ptr.String(jtv) } - case "TooltipVisibility": if value != nil { jtv, ok := value.(string) @@ -66667,7 +64663,6 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.TooltipVisibility = types.Visibility(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -66676,7 +64671,6 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Type = types.KPISparklineType(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -66685,7 +64679,6 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -66721,32 +64714,26 @@ func awsRestjson1_deserializeDocumentKPIVisual(v **types.KPIVisual, value interf if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentKPIConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentKPIConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -66755,7 +64742,6 @@ func awsRestjson1_deserializeDocumentKPIVisual(v **types.KPIVisual, value interf } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -66791,7 +64777,6 @@ func awsRestjson1_deserializeDocumentKPIVisualLayoutOptions(v **types.KPIVisualL if err := awsRestjson1_deserializeDocumentKPIVisualStandardLayout(&sv.StandardLayout, value); err != nil { return err } - default: _, _ = key, value @@ -66831,7 +64816,6 @@ func awsRestjson1_deserializeDocumentKPIVisualStandardLayout(v **types.KPIVisual } sv.Type = types.KPIVisualStandardLayoutType(jtv) } - default: _, _ = key, value @@ -66871,12 +64855,10 @@ func awsRestjson1_deserializeDocumentLabelOptions(v **types.LabelOptions, value } sv.CustomLabel = ptr.String(jtv) } - case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -66885,7 +64867,6 @@ func awsRestjson1_deserializeDocumentLabelOptions(v **types.LabelOptions, value } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -66921,7 +64902,6 @@ func awsRestjson1_deserializeDocumentLayout(v **types.Layout, value interface{}) if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -66957,17 +64937,14 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu if err := awsRestjson1_deserializeDocumentFreeFormLayoutConfiguration(&sv.FreeFormLayout, value); err != nil { return err } - case "GridLayout": if err := awsRestjson1_deserializeDocumentGridLayoutConfiguration(&sv.GridLayout, value); err != nil { return err } - case "SectionBasedLayout": if err := awsRestjson1_deserializeDocumentSectionBasedLayoutConfiguration(&sv.SectionBasedLayout, value); err != nil { return err } - default: _, _ = key, value @@ -67041,7 +65018,6 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Height = ptr.String(jtv) } - case "Position": if value != nil { jtv, ok := value.(string) @@ -67050,12 +65026,10 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Position = types.LegendPosition(jtv) } - case "Title": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.Title, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -67064,7 +65038,6 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Visibility = types.Visibility(jtv) } - case "Width": if value != nil { jtv, ok := value.(string) @@ -67073,7 +65046,6 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Width = ptr.String(jtv) } - default: _, _ = key, value @@ -67103,15 +65075,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -67119,7 +65085,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -67128,7 +65093,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RequestId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -67137,15 +65101,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = types.ExceptionResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -67176,22 +65136,18 @@ func awsRestjson1_deserializeDocumentLineChartAggregatedFieldWells(v **types.Lin if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } - case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -67227,87 +65183,70 @@ func awsRestjson1_deserializeDocumentLineChartConfiguration(v **types.LineChartC if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "DefaultSeriesSettings": if err := awsRestjson1_deserializeDocumentLineChartDefaultSeriesSettings(&sv.DefaultSeriesSettings, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentLineChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "ForecastConfigurations": if err := awsRestjson1_deserializeDocumentForecastConfigurationList(&sv.ForecastConfigurations, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } - case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } - case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } - case "SecondaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(&sv.SecondaryYAxisDisplayOptions, value); err != nil { return err } - case "SecondaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SecondaryYAxisLabelOptions, value); err != nil { return err } - case "Series": if err := awsRestjson1_deserializeDocumentSeriesItemList(&sv.Series, value); err != nil { return err } - case "SingleAxisOptions": if err := awsRestjson1_deserializeDocumentSingleAxisOptions(&sv.SingleAxisOptions, value); err != nil { return err } - case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentLineChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -67316,22 +65255,18 @@ func awsRestjson1_deserializeDocumentLineChartConfiguration(v **types.LineChartC } sv.Type = types.LineChartType(jtv) } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } - case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } - default: _, _ = key, value @@ -67371,17 +65306,14 @@ func awsRestjson1_deserializeDocumentLineChartDefaultSeriesSettings(v **types.Li } sv.AxisBinding = types.AxisBinding(jtv) } - case "LineStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartLineStyleSettings(&sv.LineStyleSettings, value); err != nil { return err } - case "MarkerStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(&sv.MarkerStyleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -67417,7 +65349,6 @@ func awsRestjson1_deserializeDocumentLineChartFieldWells(v **types.LineChartFiel if err := awsRestjson1_deserializeDocumentLineChartAggregatedFieldWells(&sv.LineChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -67457,7 +65388,6 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineInterpolation = types.LineInterpolation(jtv) } - case "LineStyle": if value != nil { jtv, ok := value.(string) @@ -67466,7 +65396,6 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineStyle = types.LineChartLineStyle(jtv) } - case "LineVisibility": if value != nil { jtv, ok := value.(string) @@ -67475,7 +65404,6 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineVisibility = types.Visibility(jtv) } - case "LineWidth": if value != nil { jtv, ok := value.(string) @@ -67484,7 +65412,6 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineWidth = ptr.String(jtv) } - default: _, _ = key, value @@ -67524,7 +65451,6 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerColor = ptr.String(jtv) } - case "MarkerShape": if value != nil { jtv, ok := value.(string) @@ -67533,7 +65459,6 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerShape = types.LineChartMarkerShape(jtv) } - case "MarkerSize": if value != nil { jtv, ok := value.(string) @@ -67542,7 +65467,6 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerSize = ptr.String(jtv) } - case "MarkerVisibility": if value != nil { jtv, ok := value.(string) @@ -67551,7 +65475,6 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -67587,12 +65510,10 @@ func awsRestjson1_deserializeDocumentLineChartSeriesSettings(v **types.LineChart if err := awsRestjson1_deserializeDocumentLineChartLineStyleSettings(&sv.LineStyleSettings, value); err != nil { return err } - case "MarkerStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(&sv.MarkerStyleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -67628,27 +65549,22 @@ func awsRestjson1_deserializeDocumentLineChartSortConfiguration(v **types.LineCh if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimitConfiguration, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "ColorItemsLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimitConfiguration, value); err != nil { return err } - case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } - case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } - default: _, _ = key, value @@ -67684,27 +65600,22 @@ func awsRestjson1_deserializeDocumentLineChartVisual(v **types.LineChartVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentLineChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -67713,7 +65624,6 @@ func awsRestjson1_deserializeDocumentLineChartVisual(v **types.LineChartVisual, } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -67749,12 +65659,10 @@ func awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(v **types.Line if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.AxisOptions, value); err != nil { return err } - case "MissingDataConfigurations": if err := awsRestjson1_deserializeDocumentMissingDataConfigurationList(&sv.MissingDataConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -67826,7 +65734,6 @@ func awsRestjson1_deserializeDocumentLinkSharingConfiguration(v **types.LinkShar if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -67862,22 +65769,18 @@ func awsRestjson1_deserializeDocumentListControlDisplayOptions(v **types.ListCon if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "SearchOptions": if err := awsRestjson1_deserializeDocumentListControlSearchOptions(&sv.SearchOptions, value); err != nil { return err } - case "SelectAllOptions": if err := awsRestjson1_deserializeDocumentListControlSelectAllOptions(&sv.SelectAllOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -67917,7 +65820,6 @@ func awsRestjson1_deserializeDocumentListControlSearchOptions(v **types.ListCont } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -67957,7 +65859,6 @@ func awsRestjson1_deserializeDocumentListControlSelectAllOptions(v **types.ListC } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -67997,7 +65898,6 @@ func awsRestjson1_deserializeDocumentLoadingAnimation(v **types.LoadingAnimation } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -68037,7 +65937,6 @@ func awsRestjson1_deserializeDocumentLocalNavigationConfiguration(v **types.Loca } sv.TargetSheetId = ptr.String(jtv) } - default: _, _ = key, value @@ -68077,17 +65976,14 @@ func awsRestjson1_deserializeDocumentLogicalTable(v **types.LogicalTable, value } sv.Alias = ptr.String(jtv) } - case "DataTransforms": if err := awsRestjson1_deserializeDocumentTransformOperationList(&sv.DataTransforms, value); err != nil { return err } - case "Source": if err := awsRestjson1_deserializeDocumentLogicalTableSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -68162,12 +66058,10 @@ func awsRestjson1_deserializeDocumentLogicalTableSource(v **types.LogicalTableSo } sv.DataSetArn = ptr.String(jtv) } - case "JoinInstruction": if err := awsRestjson1_deserializeDocumentJoinInstruction(&sv.JoinInstruction, value); err != nil { return err } - case "PhysicalTableId": if value != nil { jtv, ok := value.(string) @@ -68176,7 +66070,6 @@ func awsRestjson1_deserializeDocumentLogicalTableSource(v **types.LogicalTableSo } sv.PhysicalTableId = ptr.String(jtv) } - default: _, _ = key, value @@ -68216,7 +66109,6 @@ func awsRestjson1_deserializeDocumentLongFormatText(v **types.LongFormatText, va } sv.PlainText = ptr.String(jtv) } - case "RichText": if value != nil { jtv, ok := value.(string) @@ -68225,7 +66117,6 @@ func awsRestjson1_deserializeDocumentLongFormatText(v **types.LongFormatText, va } sv.RichText = ptr.String(jtv) } - default: _, _ = key, value @@ -68265,7 +66156,6 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.ColumnName = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -68278,7 +66168,6 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.Size = ptr.Int64(i64) } - case "SizeUnit": if value != nil { jtv, ok := value.(string) @@ -68287,7 +66176,6 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.SizeUnit = types.LookbackWindowSizeUnit(jtv) } - default: _, _ = key, value @@ -68327,7 +66215,6 @@ func awsRestjson1_deserializeDocumentManifestFileLocation(v **types.ManifestFile } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -68336,7 +66223,6 @@ func awsRestjson1_deserializeDocumentManifestFileLocation(v **types.ManifestFile } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -68376,7 +66262,6 @@ func awsRestjson1_deserializeDocumentMappedDataSetParameter(v **types.MappedData } sv.DataSetIdentifier = ptr.String(jtv) } - case "DataSetParameterName": if value != nil { jtv, ok := value.(string) @@ -68385,7 +66270,6 @@ func awsRestjson1_deserializeDocumentMappedDataSetParameter(v **types.MappedData } sv.DataSetParameterName = ptr.String(jtv) } - default: _, _ = key, value @@ -68459,7 +66343,6 @@ func awsRestjson1_deserializeDocumentMarginStyle(v **types.MarginStyle, value in } sv.Show = ptr.Bool(jtv) } - default: _, _ = key, value @@ -68499,7 +66382,6 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -68508,7 +66390,6 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -68521,7 +66402,6 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -68561,7 +66441,6 @@ func awsRestjson1_deserializeDocumentMaximumLabelType(v **types.MaximumLabelType } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -68601,7 +66480,6 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -68610,12 +66488,10 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.Name = ptr.String(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -68624,12 +66500,10 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.Type = types.MaximumMinimumComputationType(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -68665,22 +66539,18 @@ func awsRestjson1_deserializeDocumentMeasureField(v **types.MeasureField, value if err := awsRestjson1_deserializeDocumentCalculatedMeasureField(&sv.CalculatedMeasureField, value); err != nil { return err } - case "CategoricalMeasureField": if err := awsRestjson1_deserializeDocumentCategoricalMeasureField(&sv.CategoricalMeasureField, value); err != nil { return err } - case "DateMeasureField": if err := awsRestjson1_deserializeDocumentDateMeasureField(&sv.DateMeasureField, value); err != nil { return err } - case "NumericalMeasureField": if err := awsRestjson1_deserializeDocumentNumericalMeasureField(&sv.NumericalMeasureField, value); err != nil { return err } - default: _, _ = key, value @@ -68754,7 +66624,6 @@ func awsRestjson1_deserializeDocumentMemberIdArnPair(v **types.MemberIdArnPair, } sv.MemberArn = ptr.String(jtv) } - case "MemberId": if value != nil { jtv, ok := value.(string) @@ -68763,7 +66632,6 @@ func awsRestjson1_deserializeDocumentMemberIdArnPair(v **types.MemberIdArnPair, } sv.MemberId = ptr.String(jtv) } - default: _, _ = key, value @@ -68803,12 +66671,10 @@ func awsRestjson1_deserializeDocumentMetricComparisonComputation(v **types.Metri } sv.ComputationId = ptr.String(jtv) } - case "FromValue": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.FromValue, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -68817,17 +66683,14 @@ func awsRestjson1_deserializeDocumentMetricComparisonComputation(v **types.Metri } sv.Name = ptr.String(jtv) } - case "TargetValue": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.TargetValue, value); err != nil { return err } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - default: _, _ = key, value @@ -68867,7 +66730,6 @@ func awsRestjson1_deserializeDocumentMinimumLabelType(v **types.MinimumLabelType } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -68907,7 +66769,6 @@ func awsRestjson1_deserializeDocumentMissingDataConfiguration(v **types.MissingD } sv.TreatmentOption = types.MissingDataTreatmentOption(jtv) } - default: _, _ = key, value @@ -68981,7 +66842,6 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -68990,7 +66850,6 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -69003,7 +66862,6 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -69043,12 +66901,10 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.FieldName = ptr.String(jtv) } - case "Metric": if err := awsRestjson1_deserializeDocumentNamedEntityDefinitionMetric(&sv.Metric, value); err != nil { return err } - case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -69057,7 +66913,6 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyName = ptr.String(jtv) } - case "PropertyRole": if value != nil { jtv, ok := value.(string) @@ -69066,7 +66921,6 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyRole = types.PropertyRole(jtv) } - case "PropertyUsage": if value != nil { jtv, ok := value.(string) @@ -69075,7 +66929,6 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyUsage = types.PropertyUsage(jtv) } - default: _, _ = key, value @@ -69115,12 +66968,10 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinitionMetric(v **types.Named } sv.Aggregation = types.NamedEntityAggType(jtv) } - case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggregationFunctionParameters(&sv.AggregationFunctionParameters, value); err != nil { return err } - default: _, _ = key, value @@ -69194,7 +67045,6 @@ func awsRestjson1_deserializeDocumentNamedEntityRef(v **types.NamedEntityRef, va } sv.NamedEntityName = ptr.String(jtv) } - default: _, _ = key, value @@ -69234,7 +67084,6 @@ func awsRestjson1_deserializeDocumentNamespaceError(v **types.NamespaceError, va } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -69243,7 +67092,6 @@ func awsRestjson1_deserializeDocumentNamespaceError(v **types.NamespaceError, va } sv.Type = types.NamespaceErrorType(jtv) } - default: _, _ = key, value @@ -69283,7 +67131,6 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.Arn = ptr.String(jtv) } - case "CapacityRegion": if value != nil { jtv, ok := value.(string) @@ -69292,7 +67139,6 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.CapacityRegion = ptr.String(jtv) } - case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -69301,7 +67147,6 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.CreationStatus = types.NamespaceStatus(jtv) } - case "IdentityStore": if value != nil { jtv, ok := value.(string) @@ -69310,7 +67155,6 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.IdentityStore = types.IdentityStore(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -69319,12 +67163,10 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.Name = ptr.String(jtv) } - case "NamespaceError": if err := awsRestjson1_deserializeDocumentNamespaceError(&sv.NamespaceError, value); err != nil { return err } - default: _, _ = key, value @@ -69398,7 +67240,6 @@ func awsRestjson1_deserializeDocumentNegativeFormat(v **types.NegativeFormat, va } sv.Prefix = ptr.String(jtv) } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -69407,7 +67248,6 @@ func awsRestjson1_deserializeDocumentNegativeFormat(v **types.NegativeFormat, va } sv.Suffix = ptr.String(jtv) } - default: _, _ = key, value @@ -69447,7 +67287,6 @@ func awsRestjson1_deserializeDocumentNegativeValueConfiguration(v **types.Negati } sv.DisplayMode = types.NegativeValueDisplayMode(jtv) } - default: _, _ = key, value @@ -69483,7 +67322,6 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -69492,7 +67330,6 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value } sv.FilterId = ptr.String(jtv) } - case "IncludeInnerSet": if value != nil { jtv, ok := value.(bool) @@ -69501,12 +67338,10 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value } sv.IncludeInnerSet = jtv } - case "InnerFilter": if err := awsRestjson1_deserializeDocumentInnerFilter(&sv.InnerFilter, value); err != nil { return err } - default: _, _ = key, value @@ -69546,7 +67381,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AvailabilityZone = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -69555,7 +67389,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.ErrorMessage = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -69564,7 +67397,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -69573,7 +67405,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Status = types.NetworkInterfaceStatus(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -69582,7 +67413,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -69652,22 +67482,18 @@ func awsRestjson1_deserializeDocumentNewDefaultValues(v **types.NewDefaultValues if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterValueList(&sv.DateTimeStaticValues, value); err != nil { return err } - case "DecimalStaticValues": if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterValueList(&sv.DecimalStaticValues, value); err != nil { return err } - case "IntegerStaticValues": if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterValueList(&sv.IntegerStaticValues, value); err != nil { return err } - case "StringStaticValues": if err := awsRestjson1_deserializeDocumentStringDatasetParameterValueList(&sv.StringStaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -69743,7 +67569,6 @@ func awsRestjson1_deserializeDocumentNullValueFormatConfiguration(v **types.Null } sv.NullString = ptr.String(jtv) } - default: _, _ = key, value @@ -69779,17 +67604,14 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } - case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } - case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } - case "NumberScale": if value != nil { jtv, ok := value.(string) @@ -69798,7 +67620,6 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.NumberScale = types.NumberScale(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -69807,12 +67628,10 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.Prefix = ptr.String(jtv) } - case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -69821,7 +67640,6 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.Suffix = ptr.String(jtv) } - default: _, _ = key, value @@ -69857,7 +67675,6 @@ func awsRestjson1_deserializeDocumentNumberFormatConfiguration(v **types.NumberF if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -69893,7 +67710,6 @@ func awsRestjson1_deserializeDocumentNumericalAggregationFunction(v **types.Nume if err := awsRestjson1_deserializeDocumentPercentileAggregation(&sv.PercentileAggregation, value); err != nil { return err } - case "SimpleNumericalAggregation": if value != nil { jtv, ok := value.(string) @@ -69902,7 +67718,6 @@ func awsRestjson1_deserializeDocumentNumericalAggregationFunction(v **types.Nume } sv.SimpleNumericalAggregation = types.SimpleNumericalAggregationFunction(jtv) } - default: _, _ = key, value @@ -69938,7 +67753,6 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -69947,12 +67761,10 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -69961,7 +67773,6 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -69997,12 +67808,10 @@ func awsRestjson1_deserializeDocumentNumericalMeasureField(v **types.NumericalMe if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -70011,12 +67820,10 @@ func awsRestjson1_deserializeDocumentNumericalMeasureField(v **types.NumericalMe } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -70052,12 +67859,10 @@ func awsRestjson1_deserializeDocumentNumericAxisOptions(v **types.NumericAxisOpt if err := awsRestjson1_deserializeDocumentAxisDisplayRange(&sv.Range, value); err != nil { return err } - case "Scale": if err := awsRestjson1_deserializeDocumentAxisScale(&sv.Scale, value); err != nil { return err } - default: _, _ = key, value @@ -70093,7 +67898,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(v **types.Nu if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -70127,7 +67931,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(v **types.Nu } } - default: _, _ = key, value @@ -70163,17 +67966,14 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -70182,7 +67982,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.FilterId = ptr.String(jtv) } - case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -70191,7 +67990,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.MatchOperator = types.NumericEqualityMatchOperator(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -70200,7 +67998,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.NullOption = types.FilterNullOption(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -70209,7 +68006,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.ParameterName = ptr.String(jtv) } - case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -70218,7 +68014,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.SelectAllOptions = types.NumericFilterSelectAllOptions(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -70252,7 +68047,6 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } } - default: _, _ = key, value @@ -70288,17 +68082,14 @@ func awsRestjson1_deserializeDocumentNumericFormatConfiguration(v **types.Numeri if err := awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(&sv.CurrencyDisplayFormatConfiguration, value); err != nil { return err } - case "NumberDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(&sv.NumberDisplayFormatConfiguration, value); err != nil { return err } - case "PercentageDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(&sv.PercentageDisplayFormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -70334,17 +68125,14 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -70353,7 +68141,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.FilterId = ptr.String(jtv) } - case "IncludeMaximum": if value != nil { jtv, ok := value.(bool) @@ -70362,7 +68149,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.IncludeMaximum = ptr.Bool(jtv) } - case "IncludeMinimum": if value != nil { jtv, ok := value.(bool) @@ -70371,7 +68157,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.IncludeMinimum = ptr.Bool(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -70380,17 +68165,14 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.NullOption = types.FilterNullOption(jtv) } - case "RangeMaximum": if err := awsRestjson1_deserializeDocumentNumericRangeFilterValue(&sv.RangeMaximum, value); err != nil { return err } - case "RangeMinimum": if err := awsRestjson1_deserializeDocumentNumericRangeFilterValue(&sv.RangeMinimum, value); err != nil { return err } - case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -70399,7 +68181,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.SelectAllOptions = types.NumericFilterSelectAllOptions(jtv) } - default: _, _ = key, value @@ -70439,7 +68220,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilterValue(v **types.NumericRa } sv.Parameter = ptr.String(jtv) } - case "StaticValue": if value != nil { switch jtv := value.(type) { @@ -70473,7 +68253,6 @@ func awsRestjson1_deserializeDocumentNumericRangeFilterValue(v **types.NumericRa } } - default: _, _ = key, value @@ -70513,12 +68292,10 @@ func awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(v **types.Num } sv.DecimalSeparator = types.NumericSeparatorSymbol(jtv) } - case "ThousandsSeparator": if err := awsRestjson1_deserializeDocumentThousandSeparatorOptions(&sv.ThousandsSeparator, value); err != nil { return err } - default: _, _ = key, value @@ -70592,7 +68369,6 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -70601,7 +68377,6 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -70614,7 +68389,6 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -70654,7 +68428,6 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -70663,7 +68436,6 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Name = ptr.String(jtv) } - case "SubType": if value != nil { jtv, ok := value.(string) @@ -70672,7 +68444,6 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.SubType = types.ColumnDataSubType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -70681,7 +68452,6 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Type = types.ColumnDataType(jtv) } - default: _, _ = key, value @@ -70751,7 +68521,6 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types if err := awsRestjson1_deserializeDocumentNewDefaultValues(&sv.NewDefaultValues, value); err != nil { return err } - case "NewParameterName": if value != nil { jtv, ok := value.(string) @@ -70760,7 +68529,6 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types } sv.NewParameterName = ptr.String(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -70769,7 +68537,6 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value @@ -70813,7 +68580,6 @@ func awsRestjson1_deserializeDocumentPaginationConfiguration(v **types.Paginatio } sv.PageNumber = ptr.Int64(i64) } - case "PageSize": if value != nil { jtv, ok := value.(json.Number) @@ -70826,7 +68592,6 @@ func awsRestjson1_deserializeDocumentPaginationConfiguration(v **types.Paginatio } sv.PageSize = ptr.Int64(i64) } - default: _, _ = key, value @@ -70866,7 +68631,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BackgroundColor = ptr.String(jtv) } - case "BackgroundVisibility": if value != nil { jtv, ok := value.(string) @@ -70875,7 +68639,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BackgroundVisibility = types.Visibility(jtv) } - case "BorderColor": if value != nil { jtv, ok := value.(string) @@ -70884,7 +68647,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderColor = ptr.String(jtv) } - case "BorderStyle": if value != nil { jtv, ok := value.(string) @@ -70893,7 +68655,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderStyle = types.PanelBorderStyle(jtv) } - case "BorderThickness": if value != nil { jtv, ok := value.(string) @@ -70902,7 +68663,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderThickness = ptr.String(jtv) } - case "BorderVisibility": if value != nil { jtv, ok := value.(string) @@ -70911,7 +68671,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderVisibility = types.Visibility(jtv) } - case "GutterSpacing": if value != nil { jtv, ok := value.(string) @@ -70920,7 +68679,6 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.GutterSpacing = ptr.String(jtv) } - case "GutterVisibility": if value != nil { jtv, ok := value.(string) @@ -70929,12 +68687,10 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.GutterVisibility = types.Visibility(jtv) } - case "Title": if err := awsRestjson1_deserializeDocumentPanelTitleOptions(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -70970,7 +68726,6 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - case "HorizontalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -70979,7 +68734,6 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio } sv.HorizontalTextAlignment = types.HorizontalTextAlignment(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -70988,7 +68742,6 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -71024,32 +68777,26 @@ func awsRestjson1_deserializeDocumentParameterControl(v **types.ParameterControl if err := awsRestjson1_deserializeDocumentParameterDateTimePickerControl(&sv.DateTimePicker, value); err != nil { return err } - case "Dropdown": if err := awsRestjson1_deserializeDocumentParameterDropDownControl(&sv.Dropdown, value); err != nil { return err } - case "List": if err := awsRestjson1_deserializeDocumentParameterListControl(&sv.List, value); err != nil { return err } - case "Slider": if err := awsRestjson1_deserializeDocumentParameterSliderControl(&sv.Slider, value); err != nil { return err } - case "TextArea": if err := awsRestjson1_deserializeDocumentParameterTextAreaControl(&sv.TextArea, value); err != nil { return err } - case "TextField": if err := awsRestjson1_deserializeDocumentParameterTextFieldControl(&sv.TextField, value); err != nil { return err } - default: _, _ = key, value @@ -71119,7 +68866,6 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71128,7 +68874,6 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.ParameterControlId = ptr.String(jtv) } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71137,7 +68882,6 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.SourceParameterName = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71146,7 +68890,6 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -71182,22 +68925,18 @@ func awsRestjson1_deserializeDocumentParameterDeclaration(v **types.ParameterDec if err := awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(&sv.DateTimeParameterDeclaration, value); err != nil { return err } - case "DecimalParameterDeclaration": if err := awsRestjson1_deserializeDocumentDecimalParameterDeclaration(&sv.DecimalParameterDeclaration, value); err != nil { return err } - case "IntegerParameterDeclaration": if err := awsRestjson1_deserializeDocumentIntegerParameterDeclaration(&sv.IntegerParameterDeclaration, value); err != nil { return err } - case "StringParameterDeclaration": if err := awsRestjson1_deserializeDocumentStringParameterDeclaration(&sv.StringParameterDeclaration, value); err != nil { return err } - default: _, _ = key, value @@ -71267,7 +69006,6 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } - case "CommitMode": if value != nil { jtv, ok := value.(string) @@ -71276,12 +69014,10 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.CommitMode = types.CommitMode(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71290,12 +69026,10 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.ParameterControlId = ptr.String(jtv) } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentParameterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71304,7 +69038,6 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.SourceParameterName = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71313,7 +69046,6 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -71322,7 +69054,6 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -71358,12 +69089,10 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71372,12 +69101,10 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.ParameterControlId = ptr.String(jtv) } - case "SelectableValues": if err := awsRestjson1_deserializeDocumentParameterSelectableValues(&sv.SelectableValues, value); err != nil { return err } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71386,7 +69113,6 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.SourceParameterName = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71395,7 +69121,6 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.Title = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -71404,7 +69129,6 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.Type = types.SheetControlListType(jtv) } - default: _, _ = key, value @@ -71440,22 +69164,18 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte if err := awsRestjson1_deserializeDocumentDateTimeParameterList(&sv.DateTimeParameters, value); err != nil { return err } - case "DecimalParameters": if err := awsRestjson1_deserializeDocumentDecimalParameterList(&sv.DecimalParameters, value); err != nil { return err } - case "IntegerParameters": if err := awsRestjson1_deserializeDocumentIntegerParameterList(&sv.IntegerParameters, value); err != nil { return err } - case "StringParameters": if err := awsRestjson1_deserializeDocumentStringParameterList(&sv.StringParameters, value); err != nil { return err } - default: _, _ = key, value @@ -71527,12 +69247,10 @@ func awsRestjson1_deserializeDocumentParameterSelectableValues(v **types.Paramet if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.LinkToDataSetColumn, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentParameterSelectableValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -71568,7 +69286,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -71602,7 +69319,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } - case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -71636,7 +69352,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71645,7 +69360,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.ParameterControlId = ptr.String(jtv) } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71654,7 +69368,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.SourceParameterName = ptr.String(jtv) } - case "StepSize": if value != nil { switch jtv := value.(type) { @@ -71688,7 +69401,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71697,7 +69409,6 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -71737,12 +69448,10 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.Delimiter = ptr.String(jtv) } - case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71751,7 +69460,6 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.ParameterControlId = ptr.String(jtv) } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71760,7 +69468,6 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.SourceParameterName = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71769,7 +69476,6 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -71805,7 +69511,6 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } - case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -71814,7 +69519,6 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.ParameterControlId = ptr.String(jtv) } - case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -71823,7 +69527,6 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.SourceParameterName = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -71832,7 +69535,6 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -71904,17 +69606,14 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } - case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } - case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -71923,12 +69622,10 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty } sv.Prefix = ptr.String(jtv) } - case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } - case "Suffix": if value != nil { jtv, ok := value.(string) @@ -71937,7 +69634,6 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty } sv.Suffix = ptr.String(jtv) } - default: _, _ = key, value @@ -72002,7 +69698,6 @@ func awsRestjson1_deserializeDocumentPercentileAggregation(v **types.PercentileA } } - default: _, _ = key, value @@ -72067,7 +69762,6 @@ func awsRestjson1_deserializeDocumentPercentVisibleRange(v **types.PercentVisibl } } - case "To": if value != nil { switch jtv := value.(type) { @@ -72101,7 +69795,6 @@ func awsRestjson1_deserializeDocumentPercentVisibleRange(v **types.PercentVisibl } } - default: _, _ = key, value @@ -72141,7 +69834,6 @@ func awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(v **types.Perio } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -72150,17 +69842,14 @@ func awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(v **types.Perio } sv.Name = ptr.String(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -72200,7 +69889,6 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -72209,7 +69897,6 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.Name = ptr.String(jtv) } - case "PeriodTimeGranularity": if value != nil { jtv, ok := value.(string) @@ -72218,17 +69905,14 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.PeriodTimeGranularity = types.TimeGranularity(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -72358,17 +70042,14 @@ func awsRestjson1_deserializeDocumentPieChartAggregatedFieldWells(v **types.PieC if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -72404,62 +70085,50 @@ func awsRestjson1_deserializeDocumentPieChartConfiguration(v **types.PieChartCon if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "ContributionAnalysisDefaults": if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "DonutOptions": if err := awsRestjson1_deserializeDocumentDonutOptions(&sv.DonutOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentPieChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentPieChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -72495,7 +70164,6 @@ func awsRestjson1_deserializeDocumentPieChartFieldWells(v **types.PieChartFieldW if err := awsRestjson1_deserializeDocumentPieChartAggregatedFieldWells(&sv.PieChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -72531,22 +70199,18 @@ func awsRestjson1_deserializeDocumentPieChartSortConfiguration(v **types.PieChar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } - case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } - default: _, _ = key, value @@ -72582,27 +70246,22 @@ func awsRestjson1_deserializeDocumentPieChartVisual(v **types.PieChartVisual, va if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentPieChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -72611,7 +70270,6 @@ func awsRestjson1_deserializeDocumentPieChartVisual(v **types.PieChartVisual, va } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -72651,12 +70309,10 @@ func awsRestjson1_deserializeDocumentPivotFieldSortOptions(v **types.PivotFieldS } sv.FieldId = ptr.String(jtv) } - case "SortBy": if err := awsRestjson1_deserializeDocumentPivotTableSortBy(&sv.SortBy, value); err != nil { return err } - default: _, _ = key, value @@ -72760,17 +70416,14 @@ func awsRestjson1_deserializeDocumentPivotTableAggregatedFieldWells(v **types.Pi if err := awsRestjson1_deserializeDocumentPivotTableDimensionList(&sv.Columns, value); err != nil { return err } - case "Rows": if err := awsRestjson1_deserializeDocumentPivotTableDimensionList(&sv.Rows, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentPivotMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -72810,22 +70463,18 @@ func awsRestjson1_deserializeDocumentPivotTableCellConditionalFormatting(v **typ } sv.FieldId = ptr.String(jtv) } - case "Scope": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScope(&sv.Scope, value); err != nil { return err } - case "Scopes": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScopeList(&sv.Scopes, value); err != nil { return err } - case "TextFormat": if err := awsRestjson1_deserializeDocumentTextConditionalFormat(&sv.TextFormat, value); err != nil { return err } - default: _, _ = key, value @@ -72861,7 +70510,6 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormatting(v **types.P if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -72897,7 +70545,6 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormattingOption(v **t if err := awsRestjson1_deserializeDocumentPivotTableCellConditionalFormatting(&sv.Cell, value); err != nil { return err } - default: _, _ = key, value @@ -72971,7 +70618,6 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScope(v **ty } sv.Role = types.PivotTableConditionalFormattingScopeRole(jtv) } - default: _, _ = key, value @@ -73041,37 +70687,30 @@ func awsRestjson1_deserializeDocumentPivotTableConfiguration(v **types.PivotTabl if err := awsRestjson1_deserializeDocumentPivotTableFieldOptions(&sv.FieldOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentPivotTableFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "PaginatedReportOptions": if err := awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(&sv.PaginatedReportOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentPivotTableSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "TableOptions": if err := awsRestjson1_deserializeDocumentPivotTableOptions(&sv.TableOptions, value); err != nil { return err } - case "TotalOptions": if err := awsRestjson1_deserializeDocumentPivotTableTotalOptions(&sv.TotalOptions, value); err != nil { return err } - default: _, _ = key, value @@ -73107,7 +70746,6 @@ func awsRestjson1_deserializeDocumentPivotTableDataPathOption(v **types.PivotTab if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.DataPathList, value); err != nil { return err } - case "Width": if value != nil { jtv, ok := value.(string) @@ -73116,7 +70754,6 @@ func awsRestjson1_deserializeDocumentPivotTableDataPathOption(v **types.PivotTab } sv.Width = ptr.String(jtv) } - default: _, _ = key, value @@ -73224,12 +70861,10 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateOption(v **type } sv.State = types.PivotTableFieldCollapseState(jtv) } - case "Target": if err := awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -73299,7 +70934,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(v **type if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.FieldDataPathValues, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -73308,7 +70942,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(v **type } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -73348,7 +70981,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.CustomLabel = ptr.String(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -73357,7 +70989,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.FieldId = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -73366,7 +70997,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -73436,17 +71066,14 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOptions(v **types.PivotTable if err := awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateOptionList(&sv.CollapseStateOptions, value); err != nil { return err } - case "DataPathOptions": if err := awsRestjson1_deserializeDocumentPivotTableDataPathOptionList(&sv.DataPathOptions, value); err != nil { return err } - case "SelectedFieldOptions": if err := awsRestjson1_deserializeDocumentPivotTableFieldOptionList(&sv.SelectedFieldOptions, value); err != nil { return err } - default: _, _ = key, value @@ -73486,7 +71113,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldSubtotalOptions(v **types.Pi } sv.FieldId = ptr.String(jtv) } - default: _, _ = key, value @@ -73556,7 +71182,6 @@ func awsRestjson1_deserializeDocumentPivotTableFieldWells(v **types.PivotTableFi if err := awsRestjson1_deserializeDocumentPivotTableAggregatedFieldWells(&sv.PivotTableAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -73592,7 +71217,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.CellStyle, value); err != nil { return err } - case "CollapsedRowDimensionsVisibility": if value != nil { jtv, ok := value.(string) @@ -73601,12 +71225,10 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.CollapsedRowDimensionsVisibility = types.Visibility(jtv) } - case "ColumnHeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ColumnHeaderStyle, value); err != nil { return err } - case "ColumnNamesVisibility": if value != nil { jtv, ok := value.(string) @@ -73615,7 +71237,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.ColumnNamesVisibility = types.Visibility(jtv) } - case "DefaultCellWidth": if value != nil { jtv, ok := value.(string) @@ -73624,7 +71245,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.DefaultCellWidth = ptr.String(jtv) } - case "MetricPlacement": if value != nil { jtv, ok := value.(string) @@ -73633,27 +71253,22 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.MetricPlacement = types.PivotTableMetricPlacement(jtv) } - case "RowAlternateColorOptions": if err := awsRestjson1_deserializeDocumentRowAlternateColorOptions(&sv.RowAlternateColorOptions, value); err != nil { return err } - case "RowFieldNamesStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.RowFieldNamesStyle, value); err != nil { return err } - case "RowHeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.RowHeaderStyle, value); err != nil { return err } - case "RowsLabelOptions": if err := awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(&sv.RowsLabelOptions, value); err != nil { return err } - case "RowsLayout": if value != nil { jtv, ok := value.(string) @@ -73662,7 +71277,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.RowsLayout = types.PivotTableRowsLayout(jtv) } - case "SingleMetricVisibility": if value != nil { jtv, ok := value.(string) @@ -73671,7 +71285,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.SingleMetricVisibility = types.Visibility(jtv) } - case "ToggleButtonsVisibility": if value != nil { jtv, ok := value.(string) @@ -73680,7 +71293,6 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.ToggleButtonsVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -73720,7 +71332,6 @@ func awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(v **types. } sv.OverflowColumnHeaderVisibility = types.Visibility(jtv) } - case "VerticalOverflowVisibility": if value != nil { jtv, ok := value.(string) @@ -73729,7 +71340,6 @@ func awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(v **types. } sv.VerticalOverflowVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -73769,7 +71379,6 @@ func awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(v **types.PivotT } sv.CustomLabel = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -73778,7 +71387,6 @@ func awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(v **types.PivotT } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -73814,17 +71422,14 @@ func awsRestjson1_deserializeDocumentPivotTableSortBy(v **types.PivotTableSortBy if err := awsRestjson1_deserializeDocumentColumnSort(&sv.Column, value); err != nil { return err } - case "DataPath": if err := awsRestjson1_deserializeDocumentDataPathSort(&sv.DataPath, value); err != nil { return err } - case "Field": if err := awsRestjson1_deserializeDocumentFieldSort(&sv.Field, value); err != nil { return err } - default: _, _ = key, value @@ -73860,7 +71465,6 @@ func awsRestjson1_deserializeDocumentPivotTableSortConfiguration(v **types.Pivot if err := awsRestjson1_deserializeDocumentPivotFieldSortOptionsList(&sv.FieldSortOptions, value); err != nil { return err } - default: _, _ = key, value @@ -73896,22 +71500,18 @@ func awsRestjson1_deserializeDocumentPivotTableTotalOptions(v **types.PivotTable if err := awsRestjson1_deserializeDocumentSubtotalOptions(&sv.ColumnSubtotalOptions, value); err != nil { return err } - case "ColumnTotalOptions": if err := awsRestjson1_deserializeDocumentPivotTotalOptions(&sv.ColumnTotalOptions, value); err != nil { return err } - case "RowSubtotalOptions": if err := awsRestjson1_deserializeDocumentSubtotalOptions(&sv.RowSubtotalOptions, value); err != nil { return err } - case "RowTotalOptions": if err := awsRestjson1_deserializeDocumentPivotTotalOptions(&sv.RowTotalOptions, value); err != nil { return err } - default: _, _ = key, value @@ -73947,27 +71547,22 @@ func awsRestjson1_deserializeDocumentPivotTableVisual(v **types.PivotTableVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentPivotTableConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -73976,7 +71571,6 @@ func awsRestjson1_deserializeDocumentPivotTableVisual(v **types.PivotTableVisual } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -74016,12 +71610,10 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.CustomLabel = ptr.String(jtv) } - case "MetricHeaderCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.MetricHeaderCellStyle, value); err != nil { return err } - case "Placement": if value != nil { jtv, ok := value.(string) @@ -74030,7 +71622,6 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.Placement = types.TableTotalsPlacement(jtv) } - case "ScrollStatus": if value != nil { jtv, ok := value.(string) @@ -74039,17 +71630,14 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.ScrollStatus = types.TableTotalsScrollStatus(jtv) } - case "TotalAggregationOptions": if err := awsRestjson1_deserializeDocumentTotalAggregationOptionList(&sv.TotalAggregationOptions, value); err != nil { return err } - case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } - case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -74058,12 +71646,10 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.TotalsVisibility = types.Visibility(jtv) } - case "ValueCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ValueCellStyle, value); err != nil { return err } - default: _, _ = key, value @@ -74103,7 +71689,6 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -74112,7 +71697,6 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -74125,7 +71709,6 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -74155,15 +71738,9 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -74171,7 +71748,6 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -74180,15 +71756,11 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -74219,12 +71791,10 @@ func awsRestjson1_deserializeDocumentPredefinedHierarchy(v **types.PredefinedHie if err := awsRestjson1_deserializeDocumentPredefinedHierarchyColumnList(&sv.Columns, value); err != nil { return err } - case "DrillDownFilters": if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } - case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -74233,7 +71803,6 @@ func awsRestjson1_deserializeDocumentPredefinedHierarchy(v **types.PredefinedHie } sv.HierarchyId = ptr.String(jtv) } - default: _, _ = key, value @@ -74307,7 +71876,6 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Catalog = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -74316,7 +71884,6 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -74329,7 +71896,6 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -74405,7 +71971,6 @@ func awsRestjson1_deserializeDocumentProgressBarOptions(v **types.ProgressBarOpt } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -74477,7 +72042,6 @@ func awsRestjson1_deserializeDocumentProjectOperation(v **types.ProjectOperation if err := awsRestjson1_deserializeDocumentProjectedColumnList(&sv.ProjectedColumns, value); err != nil { return err } - default: _, _ = key, value @@ -74517,7 +72081,6 @@ func awsRestjson1_deserializeDocumentQueryExecutionOptions(v **types.QueryExecut } sv.QueryExecutionMode = types.QueryExecutionMode(jtv) } - default: _, _ = key, value @@ -74557,7 +72120,6 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.QueuedIngestion = ptr.String(jtv) } - case "WaitingOnIngestion": if value != nil { jtv, ok := value.(string) @@ -74566,7 +72128,6 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.WaitingOnIngestion = ptr.String(jtv) } - default: _, _ = key, value @@ -74596,15 +72157,9 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -74612,7 +72167,6 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -74621,15 +72175,11 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -74660,17 +72210,14 @@ func awsRestjson1_deserializeDocumentRadarChartAggregatedFieldWells(v **types.Ra if err := awsRestjson1_deserializeDocumentRadarChartCategoryFieldList(&sv.Category, value); err != nil { return err } - case "Color": if err := awsRestjson1_deserializeDocumentRadarChartColorFieldList(&sv.Color, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentRadarChartValuesFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -74710,7 +72257,6 @@ func awsRestjson1_deserializeDocumentRadarChartAreaStyleSettings(v **types.Radar } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -74818,7 +72364,6 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandColorsVisibility = types.Visibility(jtv) } - case "AlternateBandEvenColor": if value != nil { jtv, ok := value.(string) @@ -74827,7 +72372,6 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandEvenColor = ptr.String(jtv) } - case "AlternateBandOddColor": if value != nil { jtv, ok := value.(string) @@ -74836,7 +72380,6 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandOddColor = ptr.String(jtv) } - case "AxesRangeScale": if value != nil { jtv, ok := value.(string) @@ -74845,47 +72388,38 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AxesRangeScale = types.RadarChartAxesRangeScale(jtv) } - case "BaseSeriesSettings": if err := awsRestjson1_deserializeDocumentRadarChartSeriesSettings(&sv.BaseSeriesSettings, value); err != nil { return err } - case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } - case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "ColorAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.ColorAxis, value); err != nil { return err } - case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentRadarChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "Shape": if value != nil { jtv, ok := value.(string) @@ -74894,12 +72428,10 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.Shape = types.RadarChartShape(jtv) } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentRadarChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "StartAngle": if value != nil { switch jtv := value.(type) { @@ -74933,12 +72465,10 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - default: _, _ = key, value @@ -74974,7 +72504,6 @@ func awsRestjson1_deserializeDocumentRadarChartFieldWells(v **types.RadarChartFi if err := awsRestjson1_deserializeDocumentRadarChartAggregatedFieldWells(&sv.RadarChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -75010,7 +72539,6 @@ func awsRestjson1_deserializeDocumentRadarChartSeriesSettings(v **types.RadarCha if err := awsRestjson1_deserializeDocumentRadarChartAreaStyleSettings(&sv.AreaStyleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -75046,22 +72574,18 @@ func awsRestjson1_deserializeDocumentRadarChartSortConfiguration(v **types.Radar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } - case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } - default: _, _ = key, value @@ -75131,27 +72655,22 @@ func awsRestjson1_deserializeDocumentRadarChartVisual(v **types.RadarChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentRadarChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -75160,7 +72679,6 @@ func awsRestjson1_deserializeDocumentRadarChartVisual(v **types.RadarChartVisual } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -75200,7 +72718,6 @@ func awsRestjson1_deserializeDocumentRangeConstant(v **types.RangeConstant, valu } sv.Maximum = ptr.String(jtv) } - case "Minimum": if value != nil { jtv, ok := value.(string) @@ -75209,7 +72726,6 @@ func awsRestjson1_deserializeDocumentRangeConstant(v **types.RangeConstant, valu } sv.Minimum = ptr.String(jtv) } - default: _, _ = key, value @@ -75249,7 +72765,6 @@ func awsRestjson1_deserializeDocumentRangeEndsLabelType(v **types.RangeEndsLabel } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -75289,7 +72804,6 @@ func awsRestjson1_deserializeDocumentRdsParameters(v **types.RdsParameters, valu } sv.Database = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -75298,7 +72812,6 @@ func awsRestjson1_deserializeDocumentRdsParameters(v **types.RdsParameters, valu } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -75338,12 +72851,10 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.AutoCreateDatabaseUser = jtv } - case "DatabaseGroups": if err := awsRestjson1_deserializeDocumentDatabaseGroupList(&sv.DatabaseGroups, value); err != nil { return err } - case "DatabaseUser": if value != nil { jtv, ok := value.(string) @@ -75352,7 +72863,6 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.DatabaseUser = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -75361,7 +72871,6 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -75401,7 +72910,6 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.ClusterId = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -75410,7 +72918,6 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -75419,17 +72926,14 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Host = ptr.String(jtv) } - case "IAMParameters": if err := awsRestjson1_deserializeDocumentRedshiftIAMParameters(&sv.IAMParameters, value); err != nil { return err } - case "IdentityCenterConfiguration": if err := awsRestjson1_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -75442,7 +72946,6 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Port = int32(i64) } - default: _, _ = key, value @@ -75478,12 +72981,10 @@ func awsRestjson1_deserializeDocumentReferenceLine(v **types.ReferenceLine, valu if err := awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(&sv.DataConfiguration, value); err != nil { return err } - case "LabelConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(&sv.LabelConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -75492,12 +72993,10 @@ func awsRestjson1_deserializeDocumentReferenceLine(v **types.ReferenceLine, valu } sv.Status = types.WidgetStatus(jtv) } - case "StyleConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(&sv.StyleConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -75537,7 +73036,6 @@ func awsRestjson1_deserializeDocumentReferenceLineCustomLabelConfiguration(v **t } sv.CustomLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -75577,12 +73075,10 @@ func awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(v **types.Re } sv.AxisBinding = types.AxisBinding(jtv) } - case "DynamicConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineDynamicDataConfiguration(&sv.DynamicConfiguration, value); err != nil { return err } - case "SeriesType": if value != nil { jtv, ok := value.(string) @@ -75591,12 +73087,10 @@ func awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(v **types.Re } sv.SeriesType = types.ReferenceLineSeriesType(jtv) } - case "StaticConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineStaticDataConfiguration(&sv.StaticConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -75632,17 +73126,14 @@ func awsRestjson1_deserializeDocumentReferenceLineDynamicDataConfiguration(v **t if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.Calculation, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "MeasureAggregationFunction": if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.MeasureAggregationFunction, value); err != nil { return err } - default: _, _ = key, value @@ -75678,7 +73169,6 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R if err := awsRestjson1_deserializeDocumentReferenceLineCustomLabelConfiguration(&sv.CustomLabelConfiguration, value); err != nil { return err } - case "FontColor": if value != nil { jtv, ok := value.(string) @@ -75687,12 +73177,10 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.FontColor = ptr.String(jtv) } - case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - case "HorizontalPosition": if value != nil { jtv, ok := value.(string) @@ -75701,12 +73189,10 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.HorizontalPosition = types.ReferenceLineLabelHorizontalPosition(jtv) } - case "ValueLabelConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(&sv.ValueLabelConfiguration, value); err != nil { return err } - case "VerticalPosition": if value != nil { jtv, ok := value.(string) @@ -75715,7 +73201,6 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.VerticalPosition = types.ReferenceLineLabelVerticalPosition(jtv) } - default: _, _ = key, value @@ -75814,7 +73299,6 @@ func awsRestjson1_deserializeDocumentReferenceLineStaticDataConfiguration(v **ty } } - default: _, _ = key, value @@ -75854,7 +73338,6 @@ func awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(v **types.R } sv.Color = ptr.String(jtv) } - case "Pattern": if value != nil { jtv, ok := value.(string) @@ -75863,7 +73346,6 @@ func awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(v **types.R } sv.Pattern = types.ReferenceLinePatternType(jtv) } - default: _, _ = key, value @@ -75899,7 +73381,6 @@ func awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(v **ty if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - case "RelativePosition": if value != nil { jtv, ok := value.(string) @@ -75908,7 +73389,6 @@ func awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(v **ty } sv.RelativePosition = types.ReferenceLineValueLabelRelativePosition(jtv) } - default: _, _ = key, value @@ -75944,7 +73424,6 @@ func awsRestjson1_deserializeDocumentRefreshConfiguration(v **types.RefreshConfi if err := awsRestjson1_deserializeDocumentIncrementalRefresh(&sv.IncrementalRefresh, value); err != nil { return err } - default: _, _ = key, value @@ -75984,12 +73463,10 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.Interval = types.RefreshInterval(jtv) } - case "RefreshOnDay": if err := awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(&sv.RefreshOnDay, value); err != nil { return err } - case "TimeOfTheDay": if value != nil { jtv, ok := value.(string) @@ -75998,7 +73475,6 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.TimeOfTheDay = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -76007,7 +73483,6 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -76047,7 +73522,6 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.Arn = ptr.String(jtv) } - case "RefreshType": if value != nil { jtv, ok := value.(string) @@ -76056,12 +73530,10 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.RefreshType = types.IngestionType(jtv) } - case "ScheduleFrequency": if err := awsRestjson1_deserializeDocumentRefreshFrequency(&sv.ScheduleFrequency, value); err != nil { return err } - case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -76070,7 +73542,6 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.ScheduleId = ptr.String(jtv) } - case "StartAfterDateTime": if value != nil { switch jtv := value.(type) { @@ -76086,7 +73557,6 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } } - default: _, _ = key, value @@ -76160,7 +73630,6 @@ func awsRestjson1_deserializeDocumentRegisteredCustomerManagedKey(v **types.Regi } sv.DefaultKey = jtv } - case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -76169,7 +73638,6 @@ func awsRestjson1_deserializeDocumentRegisteredCustomerManagedKey(v **types.Regi } sv.KeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -76209,7 +73677,6 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Catalog = ptr.String(jtv) } - case "DataSourceArn": if value != nil { jtv, ok := value.(string) @@ -76218,12 +73685,10 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.DataSourceArn = ptr.String(jtv) } - case "InputColumns": if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.InputColumns, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -76232,7 +73697,6 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Name = ptr.String(jtv) } - case "Schema": if value != nil { jtv, ok := value.(string) @@ -76241,7 +73705,6 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -76277,22 +73740,18 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates if err := awsRestjson1_deserializeDocumentAnchorDateConfiguration(&sv.AnchorDateConfiguration, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "ExcludePeriodConfiguration": if err := awsRestjson1_deserializeDocumentExcludePeriodConfiguration(&sv.ExcludePeriodConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -76301,7 +73760,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.FilterId = ptr.String(jtv) } - case "MinimumGranularity": if value != nil { jtv, ok := value.(string) @@ -76310,7 +73768,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.MinimumGranularity = types.TimeGranularity(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -76319,7 +73776,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.NullOption = types.FilterNullOption(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -76328,7 +73784,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.ParameterName = ptr.String(jtv) } - case "RelativeDateType": if value != nil { jtv, ok := value.(string) @@ -76337,7 +73792,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.RelativeDateType = types.RelativeDateType(jtv) } - case "RelativeDateValue": if value != nil { jtv, ok := value.(json.Number) @@ -76350,7 +73804,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.RelativeDateValue = ptr.Int32(int32(i64)) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -76359,7 +73812,6 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -76399,17 +73851,14 @@ func awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(v **t } sv.DateTimeFormat = ptr.String(jtv) } - case "InfoIconLabelOptions": if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -76449,7 +73898,6 @@ func awsRestjson1_deserializeDocumentRenameColumnOperation(v **types.RenameColum } sv.ColumnName = ptr.String(jtv) } - case "NewColumnName": if value != nil { jtv, ok := value.(string) @@ -76458,7 +73906,6 @@ func awsRestjson1_deserializeDocumentRenameColumnOperation(v **types.RenameColum } sv.NewColumnName = ptr.String(jtv) } - default: _, _ = key, value @@ -76488,15 +73935,9 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -76504,7 +73945,6 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -76513,7 +73953,6 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.RequestId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -76522,15 +73961,11 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = types.ExceptionResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -76555,15 +73990,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -76571,7 +74000,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -76580,7 +74008,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -76589,15 +74016,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ExceptionResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -76628,7 +74051,6 @@ func awsRestjson1_deserializeDocumentResourcePermission(v **types.ResourcePermis if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "Principal": if value != nil { jtv, ok := value.(string) @@ -76637,7 +74059,6 @@ func awsRestjson1_deserializeDocumentResourcePermission(v **types.ResourcePermis } sv.Principal = ptr.String(jtv) } - default: _, _ = key, value @@ -76701,15 +74122,9 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -76717,7 +74132,6 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -76726,7 +74140,6 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.RequestId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -76735,15 +74148,11 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceType = types.ExceptionResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -76778,7 +74187,6 @@ func awsRestjson1_deserializeDocumentRollingDateConfiguration(v **types.RollingD } sv.DataSetIdentifier = ptr.String(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -76787,7 +74195,6 @@ func awsRestjson1_deserializeDocumentRollingDateConfiguration(v **types.RollingD } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -76859,7 +74266,6 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter if err := awsRestjson1_deserializeDocumentRowAlternateColorList(&sv.RowAlternateColors, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -76868,7 +74274,6 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter } sv.Status = types.WidgetStatus(jtv) } - case "UsePrimaryBackgroundColor": if value != nil { jtv, ok := value.(string) @@ -76877,7 +74282,6 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter } sv.UsePrimaryBackgroundColor = types.WidgetStatus(jtv) } - default: _, _ = key, value @@ -76921,7 +74325,6 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.RowsDropped = ptr.Int64(i64) } - case "RowsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -76934,7 +74337,6 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.RowsIngested = ptr.Int64(i64) } - case "TotalRowsInDataset": if value != nil { jtv, ok := value.(json.Number) @@ -76947,7 +74349,6 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.TotalRowsInDataset = ptr.Int64(i64) } - default: _, _ = key, value @@ -76987,7 +74388,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Arn = ptr.String(jtv) } - case "FormatVersion": if value != nil { jtv, ok := value.(string) @@ -76996,7 +74396,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.FormatVersion = types.RowLevelPermissionFormatVersion(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -77005,7 +74404,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Namespace = ptr.String(jtv) } - case "PermissionPolicy": if value != nil { jtv, ok := value.(string) @@ -77014,7 +74412,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.PermissionPolicy = types.RowLevelPermissionPolicy(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -77023,7 +74420,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -77063,17 +74459,14 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagConfiguration(v **type } sv.Status = types.Status(jtv) } - case "TagRuleConfigurations": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagRuleConfigurationList(&sv.TagRuleConfigurations, value); err != nil { return err } - case "TagRules": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagRuleList(&sv.TagRules, value); err != nil { return err } - default: _, _ = key, value @@ -77113,7 +74506,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.ColumnName = ptr.String(jtv) } - case "MatchAllValue": if value != nil { jtv, ok := value.(string) @@ -77122,7 +74514,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.MatchAllValue = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -77131,7 +74522,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.TagKey = ptr.String(jtv) } - case "TagMultiValueDelimiter": if value != nil { jtv, ok := value.(string) @@ -77140,7 +74530,6 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.TagMultiValueDelimiter = ptr.String(jtv) } - default: _, _ = key, value @@ -77316,7 +74705,6 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketName = ptr.String(jtv) } - case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -77325,7 +74713,6 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketPrefix = ptr.String(jtv) } - case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -77334,7 +74721,6 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -77370,7 +74756,6 @@ func awsRestjson1_deserializeDocumentS3Parameters(v **types.S3Parameters, value if err := awsRestjson1_deserializeDocumentManifestFileLocation(&sv.ManifestFileLocation, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -77379,7 +74764,6 @@ func awsRestjson1_deserializeDocumentS3Parameters(v **types.S3Parameters, value } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -77419,17 +74803,14 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.DataSourceArn = ptr.String(jtv) } - case "InputColumns": if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.InputColumns, value); err != nil { return err } - case "UploadSettings": if err := awsRestjson1_deserializeDocumentUploadSettings(&sv.UploadSettings, value); err != nil { return err } - default: _, _ = key, value @@ -77469,12 +74850,10 @@ func awsRestjson1_deserializeDocumentSameSheetTargetVisualConfiguration(v **type } sv.TargetVisualOptions = types.TargetVisualOptions(jtv) } - case "TargetVisuals": if err := awsRestjson1_deserializeDocumentTargetVisualList(&sv.TargetVisuals, value); err != nil { return err } - default: _, _ = key, value @@ -77510,17 +74889,14 @@ func awsRestjson1_deserializeDocumentSankeyDiagramAggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Destination, value); err != nil { return err } - case "Source": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Source, value); err != nil { return err } - case "Weight": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Weight, value); err != nil { return err } - default: _, _ = key, value @@ -77556,22 +74932,18 @@ func awsRestjson1_deserializeDocumentSankeyDiagramChartConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentSankeyDiagramFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentSankeyDiagramSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -77607,7 +74979,6 @@ func awsRestjson1_deserializeDocumentSankeyDiagramFieldWells(v **types.SankeyDia if err := awsRestjson1_deserializeDocumentSankeyDiagramAggregatedFieldWells(&sv.SankeyDiagramAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -77643,17 +75014,14 @@ func awsRestjson1_deserializeDocumentSankeyDiagramSortConfiguration(v **types.Sa if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.DestinationItemsLimit, value); err != nil { return err } - case "SourceItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SourceItemsLimit, value); err != nil { return err } - case "WeightSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.WeightSort, value); err != nil { return err } - default: _, _ = key, value @@ -77689,22 +75057,18 @@ func awsRestjson1_deserializeDocumentSankeyDiagramVisual(v **types.SankeyDiagram if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentSankeyDiagramChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -77713,7 +75077,6 @@ func awsRestjson1_deserializeDocumentSankeyDiagramVisual(v **types.SankeyDiagram } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -77749,27 +75112,22 @@ func awsRestjson1_deserializeDocumentScatterPlotCategoricallyAggregatedFieldWell if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Label": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Label, value); err != nil { return err } - case "Size": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Size, value); err != nil { return err } - case "XAxis": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.XAxis, value); err != nil { return err } - case "YAxis": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.YAxis, value); err != nil { return err } - default: _, _ = key, value @@ -77805,57 +75163,46 @@ func awsRestjson1_deserializeDocumentScatterPlotConfiguration(v **types.ScatterP if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentScatterPlotFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentScatterPlotSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } - case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } - case "YAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.YAxisDisplayOptions, value); err != nil { return err } - case "YAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.YAxisLabelOptions, value); err != nil { return err } - default: _, _ = key, value @@ -77891,12 +75238,10 @@ func awsRestjson1_deserializeDocumentScatterPlotFieldWells(v **types.ScatterPlot if err := awsRestjson1_deserializeDocumentScatterPlotCategoricallyAggregatedFieldWells(&sv.ScatterPlotCategoricallyAggregatedFieldWells, value); err != nil { return err } - case "ScatterPlotUnaggregatedFieldWells": if err := awsRestjson1_deserializeDocumentScatterPlotUnaggregatedFieldWells(&sv.ScatterPlotUnaggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -77932,7 +75277,6 @@ func awsRestjson1_deserializeDocumentScatterPlotSortConfiguration(v **types.Scat if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ScatterPlotLimitConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -77968,27 +75312,22 @@ func awsRestjson1_deserializeDocumentScatterPlotUnaggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } - case "Label": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Label, value); err != nil { return err } - case "Size": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Size, value); err != nil { return err } - case "XAxis": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.XAxis, value); err != nil { return err } - case "YAxis": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.YAxis, value); err != nil { return err } - default: _, _ = key, value @@ -78024,27 +75363,22 @@ func awsRestjson1_deserializeDocumentScatterPlotVisual(v **types.ScatterPlotVisu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentScatterPlotConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -78053,7 +75387,6 @@ func awsRestjson1_deserializeDocumentScatterPlotVisual(v **types.ScatterPlotVisu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -78093,7 +75426,6 @@ func awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(v **types.ScheduleR } sv.DayOfMonth = ptr.String(jtv) } - case "DayOfWeek": if value != nil { jtv, ok := value.(string) @@ -78102,7 +75434,6 @@ func awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(v **types.ScheduleR } sv.DayOfWeek = types.DayOfWeek(jtv) } - default: _, _ = key, value @@ -78142,12 +75473,10 @@ func awsRestjson1_deserializeDocumentScrollBarOptions(v **types.ScrollBarOptions } sv.Visibility = types.Visibility(jtv) } - case "VisibleRange": if err := awsRestjson1_deserializeDocumentVisibleRangeOptions(&sv.VisibleRange, value); err != nil { return err } - default: _, _ = key, value @@ -78187,7 +75516,6 @@ func awsRestjson1_deserializeDocumentSecondaryValueOptions(v **types.SecondaryVa } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -78227,7 +75555,6 @@ func awsRestjson1_deserializeDocumentSectionAfterPageBreak(v **types.SectionAfte } sv.Status = types.SectionPageBreakStatus(jtv) } - default: _, _ = key, value @@ -78263,7 +75590,6 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(v **typ if err := awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(&sv.PaperCanvasSizeOptions, value); err != nil { return err } - default: _, _ = key, value @@ -78299,22 +75625,18 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentBodySectionConfigurationList(&sv.BodySections, value); err != nil { return err } - case "CanvasSizeOptions": if err := awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } - case "FooterSections": if err := awsRestjson1_deserializeDocumentHeaderFooterSectionConfigurationList(&sv.FooterSections, value); err != nil { return err } - case "HeaderSections": if err := awsRestjson1_deserializeDocumentHeaderFooterSectionConfigurationList(&sv.HeaderSections, value); err != nil { return err } - default: _, _ = key, value @@ -78350,7 +75672,6 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v if err := awsRestjson1_deserializeDocumentSpacing(&sv.PaperMargin, value); err != nil { return err } - case "PaperOrientation": if value != nil { jtv, ok := value.(string) @@ -78359,7 +75680,6 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v } sv.PaperOrientation = types.PaperOrientation(jtv) } - case "PaperSize": if value != nil { jtv, ok := value.(string) @@ -78368,7 +75688,6 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v } sv.PaperSize = types.PaperSize(jtv) } - default: _, _ = key, value @@ -78404,7 +75723,6 @@ func awsRestjson1_deserializeDocumentSectionLayoutConfiguration(v **types.Sectio if err := awsRestjson1_deserializeDocumentFreeFormSectionLayoutConfiguration(&sv.FreeFormLayout, value); err != nil { return err } - default: _, _ = key, value @@ -78440,7 +75758,6 @@ func awsRestjson1_deserializeDocumentSectionPageBreakConfiguration(v **types.Sec if err := awsRestjson1_deserializeDocumentSectionAfterPageBreak(&sv.After, value); err != nil { return err } - default: _, _ = key, value @@ -78480,12 +75797,10 @@ func awsRestjson1_deserializeDocumentSectionStyle(v **types.SectionStyle, value } sv.Height = ptr.String(jtv) } - case "Padding": if err := awsRestjson1_deserializeDocumentSpacing(&sv.Padding, value); err != nil { return err } - default: _, _ = key, value @@ -78593,7 +75908,6 @@ func awsRestjson1_deserializeDocumentSelectedSheetsFilterScopeConfiguration(v ** if err := awsRestjson1_deserializeDocumentSheetVisualScopingConfigurations(&sv.SheetVisualScopingConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -78633,7 +75947,6 @@ func awsRestjson1_deserializeDocumentSemanticEntityType(v **types.SemanticEntity } sv.SubTypeName = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -78642,12 +75955,10 @@ func awsRestjson1_deserializeDocumentSemanticEntityType(v **types.SemanticEntity } sv.TypeName = ptr.String(jtv) } - case "TypeParameters": if err := awsRestjson1_deserializeDocumentTypeParameters(&sv.TypeParameters, value); err != nil { return err } - default: _, _ = key, value @@ -78687,12 +75998,10 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.FalseyCellValue = ptr.String(jtv) } - case "FalseyCellValueSynonyms": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.FalseyCellValueSynonyms, value); err != nil { return err } - case "SubTypeName": if value != nil { jtv, ok := value.(string) @@ -78701,7 +76010,6 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.SubTypeName = ptr.String(jtv) } - case "TruthyCellValue": if value != nil { jtv, ok := value.(string) @@ -78710,12 +76018,10 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.TruthyCellValue = ptr.String(jtv) } - case "TruthyCellValueSynonyms": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.TruthyCellValueSynonyms, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -78724,12 +76030,10 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.TypeName = ptr.String(jtv) } - case "TypeParameters": if err := awsRestjson1_deserializeDocumentTypeParameters(&sv.TypeParameters, value); err != nil { return err } - default: _, _ = key, value @@ -78945,12 +76249,10 @@ func awsRestjson1_deserializeDocumentSeriesItem(v **types.SeriesItem, value inte if err := awsRestjson1_deserializeDocumentDataFieldSeriesItem(&sv.DataFieldSeriesItem, value); err != nil { return err } - case "FieldSeriesItem": if err := awsRestjson1_deserializeDocumentFieldSeriesItem(&sv.FieldSeriesItem, value); err != nil { return err } - default: _, _ = key, value @@ -79024,7 +76326,6 @@ func awsRestjson1_deserializeDocumentServiceNowParameters(v **types.ServiceNowPa } sv.SiteBaseUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -79054,15 +76355,9 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -79070,7 +76365,6 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -79079,15 +76373,11 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -79158,12 +76448,10 @@ func awsRestjson1_deserializeDocumentSetParameterValueConfiguration(v **types.Se } sv.DestinationParameterName = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -79233,7 +76521,6 @@ func awsRestjson1_deserializeDocumentShapeConditionalFormat(v **types.ShapeCondi if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } - default: _, _ = key, value @@ -79273,7 +76560,6 @@ func awsRestjson1_deserializeDocumentSheet(v **types.Sheet, value interface{}) e } sv.Name = ptr.String(jtv) } - case "SheetId": if value != nil { jtv, ok := value.(string) @@ -79282,7 +76568,6 @@ func awsRestjson1_deserializeDocumentSheet(v **types.Sheet, value interface{}) e } sv.SheetId = ptr.String(jtv) } - default: _, _ = key, value @@ -79322,7 +76607,6 @@ func awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(v **types. } sv.InfoIconText = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -79331,7 +76615,6 @@ func awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(v **types. } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -79367,7 +76650,6 @@ func awsRestjson1_deserializeDocumentSheetControlLayout(v **types.SheetControlLa if err := awsRestjson1_deserializeDocumentSheetControlLayoutConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -79403,7 +76685,6 @@ func awsRestjson1_deserializeDocumentSheetControlLayoutConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentGridLayoutConfiguration(&sv.GridLayout, value); err != nil { return err } - default: _, _ = key, value @@ -79477,7 +76758,6 @@ func awsRestjson1_deserializeDocumentSheetControlsOption(v **types.SheetControls } sv.VisibilityState = types.DashboardUIState(jtv) } - default: _, _ = key, value @@ -79517,7 +76797,6 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.ContentType = types.SheetContentType(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -79526,17 +76805,14 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Description = ptr.String(jtv) } - case "FilterControls": if err := awsRestjson1_deserializeDocumentFilterControlList(&sv.FilterControls, value); err != nil { return err } - case "Layouts": if err := awsRestjson1_deserializeDocumentLayoutList(&sv.Layouts, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -79545,17 +76821,14 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Name = ptr.String(jtv) } - case "ParameterControls": if err := awsRestjson1_deserializeDocumentParameterControlList(&sv.ParameterControls, value); err != nil { return err } - case "SheetControlLayouts": if err := awsRestjson1_deserializeDocumentSheetControlLayoutList(&sv.SheetControlLayouts, value); err != nil { return err } - case "SheetId": if value != nil { jtv, ok := value.(string) @@ -79564,12 +76837,10 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.SheetId = ptr.String(jtv) } - case "TextBoxes": if err := awsRestjson1_deserializeDocumentSheetTextBoxList(&sv.TextBoxes, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -79578,12 +76849,10 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Title = ptr.String(jtv) } - case "Visuals": if err := awsRestjson1_deserializeDocumentVisualList(&sv.Visuals, value); err != nil { return err } - default: _, _ = key, value @@ -79657,7 +76926,6 @@ func awsRestjson1_deserializeDocumentSheetElementConfigurationOverrides(v **type } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -79693,7 +76961,6 @@ func awsRestjson1_deserializeDocumentSheetElementRenderingRule(v **types.SheetEl if err := awsRestjson1_deserializeDocumentSheetElementConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -79702,7 +76969,6 @@ func awsRestjson1_deserializeDocumentSheetElementRenderingRule(v **types.SheetEl } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -79776,7 +77042,6 @@ func awsRestjson1_deserializeDocumentSheetLayoutElementMaximizationOption(v **ty } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -79846,12 +77111,10 @@ func awsRestjson1_deserializeDocumentSheetStyle(v **types.SheetStyle, value inte if err := awsRestjson1_deserializeDocumentTileStyle(&sv.Tile, value); err != nil { return err } - case "TileLayout": if err := awsRestjson1_deserializeDocumentTileLayoutStyle(&sv.TileLayout, value); err != nil { return err } - default: _, _ = key, value @@ -79891,7 +77154,6 @@ func awsRestjson1_deserializeDocumentSheetTextBox(v **types.SheetTextBox, value } sv.Content = ptr.String(jtv) } - case "SheetTextBoxId": if value != nil { jtv, ok := value.(string) @@ -79900,7 +77162,6 @@ func awsRestjson1_deserializeDocumentSheetTextBox(v **types.SheetTextBox, value } sv.SheetTextBoxId = ptr.String(jtv) } - default: _, _ = key, value @@ -79974,7 +77235,6 @@ func awsRestjson1_deserializeDocumentSheetVisualScopingConfiguration(v **types.S } sv.Scope = types.FilterVisualScope(jtv) } - case "SheetId": if value != nil { jtv, ok := value.(string) @@ -79983,12 +77243,10 @@ func awsRestjson1_deserializeDocumentSheetVisualScopingConfiguration(v **types.S } sv.SheetId = ptr.String(jtv) } - case "VisualIds": if err := awsRestjson1_deserializeDocumentFilteredVisualsList(&sv.VisualIds, value); err != nil { return err } - default: _, _ = key, value @@ -80062,7 +77320,6 @@ func awsRestjson1_deserializeDocumentShortFormatText(v **types.ShortFormatText, } sv.PlainText = ptr.String(jtv) } - case "RichText": if value != nil { jtv, ok := value.(string) @@ -80071,7 +77328,6 @@ func awsRestjson1_deserializeDocumentShortFormatText(v **types.ShortFormatText, } sv.RichText = ptr.String(jtv) } - default: _, _ = key, value @@ -80111,7 +77367,6 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.AccountName = ptr.String(jtv) } - case "directoryType": if value != nil { jtv, ok := value.(string) @@ -80120,7 +77375,6 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.DirectoryType = ptr.String(jtv) } - case "IAMUser": if value != nil { jtv, ok := value.(bool) @@ -80129,7 +77383,6 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.IAMUser = jtv } - case "userLoginName": if value != nil { jtv, ok := value.(string) @@ -80138,7 +77391,6 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.UserLoginName = ptr.String(jtv) } - default: _, _ = key, value @@ -80178,7 +77430,6 @@ func awsRestjson1_deserializeDocumentSimpleClusterMarker(v **types.SimpleCluster } sv.Color = ptr.String(jtv) } - default: _, _ = key, value @@ -80214,7 +77465,6 @@ func awsRestjson1_deserializeDocumentSingleAxisOptions(v **types.SingleAxisOptio if err := awsRestjson1_deserializeDocumentYAxisOptions(&sv.YAxisOptions, value); err != nil { return err } - default: _, _ = key, value @@ -80250,12 +77500,10 @@ func awsRestjson1_deserializeDocumentSliderControlDisplayOptions(v **types.Slide if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -80295,7 +77543,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotId = ptr.String(jtv) } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -80304,7 +77551,6 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -80378,7 +77624,6 @@ func awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(v **types.Smal } sv.Placement = types.SmallMultiplesAxisPlacement(jtv) } - case "Scale": if value != nil { jtv, ok := value.(string) @@ -80387,7 +77632,6 @@ func awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(v **types.Smal } sv.Scale = types.SmallMultiplesAxisScale(jtv) } - default: _, _ = key, value @@ -80465,7 +77709,6 @@ func awsRestjson1_deserializeDocumentSmallMultiplesOptions(v **types.SmallMultip } sv.MaxVisibleColumns = ptr.Int64(i64) } - case "MaxVisibleRows": if value != nil { jtv, ok := value.(json.Number) @@ -80478,22 +77721,18 @@ func awsRestjson1_deserializeDocumentSmallMultiplesOptions(v **types.SmallMultip } sv.MaxVisibleRows = ptr.Int64(i64) } - case "PanelConfiguration": if err := awsRestjson1_deserializeDocumentPanelConfiguration(&sv.PanelConfiguration, value); err != nil { return err } - case "XAxis": if err := awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(&sv.XAxis, value); err != nil { return err } - case "YAxis": if err := awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(&sv.YAxis, value); err != nil { return err } - default: _, _ = key, value @@ -80529,7 +77768,6 @@ func awsRestjson1_deserializeDocumentSnapshotAnonymousUserRedacted(v **types.Sna if err := awsRestjson1_deserializeDocumentSessionTagKeyList(&sv.RowLevelPermissionTagKeys, value); err != nil { return err } - default: _, _ = key, value @@ -80599,17 +77837,14 @@ func awsRestjson1_deserializeDocumentSnapshotConfiguration(v **types.SnapshotCon if err := awsRestjson1_deserializeDocumentSnapshotDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } - case "FileGroups": if err := awsRestjson1_deserializeDocumentSnapshotFileGroupList(&sv.FileGroups, value); err != nil { return err } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -80645,7 +77880,6 @@ func awsRestjson1_deserializeDocumentSnapshotDestinationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentSnapshotS3DestinationConfigurationList(&sv.S3Destinations, value); err != nil { return err } - default: _, _ = key, value @@ -80685,12 +77919,10 @@ func awsRestjson1_deserializeDocumentSnapshotFile(v **types.SnapshotFile, value } sv.FormatType = types.SnapshotFileFormatType(jtv) } - case "SheetSelections": if err := awsRestjson1_deserializeDocumentSnapshotFileSheetSelectionList(&sv.SheetSelections, value); err != nil { return err } - default: _, _ = key, value @@ -80726,7 +77958,6 @@ func awsRestjson1_deserializeDocumentSnapshotFileGroup(v **types.SnapshotFileGro if err := awsRestjson1_deserializeDocumentSnapshotFileList(&sv.Files, value); err != nil { return err } - default: _, _ = key, value @@ -80834,7 +78065,6 @@ func awsRestjson1_deserializeDocumentSnapshotFileSheetSelection(v **types.Snapsh } sv.SelectionScope = types.SnapshotFileSheetSelectionScope(jtv) } - case "SheetId": if value != nil { jtv, ok := value.(string) @@ -80843,12 +78073,10 @@ func awsRestjson1_deserializeDocumentSnapshotFileSheetSelection(v **types.Snapsh } sv.SheetId = ptr.String(jtv) } - case "VisualIds": if err := awsRestjson1_deserializeDocumentSnapshotFileSheetSelectionVisualIdList(&sv.VisualIds, value); err != nil { return err } - default: _, _ = key, value @@ -80958,7 +78186,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(v **types.SnapshotJobE } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -80967,7 +78194,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(v **types.SnapshotJobE } sv.ErrorType = ptr.String(jtv) } - default: _, _ = key, value @@ -81003,7 +78229,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobResult(v **types.SnapshotJobResu if err := awsRestjson1_deserializeDocumentAnonymousUserSnapshotJobResultList(&sv.AnonymousUsers, value); err != nil { return err } - default: _, _ = key, value @@ -81043,7 +78268,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfo(v **types.Snapsh } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -81052,7 +78276,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfo(v **types.Snapsh } sv.ErrorType = ptr.String(jtv) } - default: _, _ = key, value @@ -81122,12 +78345,10 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultFileGroup(v **types.Snapsh if err := awsRestjson1_deserializeDocumentSnapshotFileList(&sv.Files, value); err != nil { return err } - case "S3Results": if err := awsRestjson1_deserializeDocumentSnapshotJobS3ResultList(&sv.S3Results, value); err != nil { return err } - default: _, _ = key, value @@ -81197,12 +78418,10 @@ func awsRestjson1_deserializeDocumentSnapshotJobS3Result(v **types.SnapshotJobS3 if err := awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } - case "S3DestinationConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotS3DestinationConfiguration(&sv.S3DestinationConfiguration, value); err != nil { return err } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -81211,7 +78430,6 @@ func awsRestjson1_deserializeDocumentSnapshotJobS3Result(v **types.SnapshotJobS3 } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -81281,7 +78499,6 @@ func awsRestjson1_deserializeDocumentSnapshotS3DestinationConfiguration(v **type if err := awsRestjson1_deserializeDocumentS3BucketConfiguration(&sv.BucketConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -81351,7 +78568,6 @@ func awsRestjson1_deserializeDocumentSnapshotUserConfigurationRedacted(v **types if err := awsRestjson1_deserializeDocumentSnapshotAnonymousUserRedactedList(&sv.AnonymousUsers, value); err != nil { return err } - default: _, _ = key, value @@ -81391,7 +78607,6 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -81400,7 +78615,6 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Host = ptr.String(jtv) } - case "Warehouse": if value != nil { jtv, ok := value.(string) @@ -81409,7 +78623,6 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Warehouse = ptr.String(jtv) } - default: _, _ = key, value @@ -81449,7 +78662,6 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Bottom = ptr.String(jtv) } - case "Left": if value != nil { jtv, ok := value.(string) @@ -81458,7 +78670,6 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Left = ptr.String(jtv) } - case "Right": if value != nil { jtv, ok := value.(string) @@ -81467,7 +78678,6 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Right = ptr.String(jtv) } - case "Top": if value != nil { jtv, ok := value.(string) @@ -81476,7 +78686,6 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Top = ptr.String(jtv) } - default: _, _ = key, value @@ -81516,7 +78725,6 @@ func awsRestjson1_deserializeDocumentSparkParameters(v **types.SparkParameters, } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -81529,7 +78737,6 @@ func awsRestjson1_deserializeDocumentSparkParameters(v **types.SparkParameters, } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -81569,7 +78776,6 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -81578,7 +78784,6 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -81591,7 +78796,6 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -81631,7 +78835,6 @@ func awsRestjson1_deserializeDocumentSslProperties(v **types.SslProperties, valu } sv.DisableSsl = jtv } - default: _, _ = key, value @@ -81671,7 +78874,6 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Catalog = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -81680,7 +78882,6 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -81693,7 +78894,6 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Port = ptr.Int32(int32(i64)) } - case "ProductType": if value != nil { jtv, ok := value.(string) @@ -81702,7 +78902,6 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.ProductType = types.StarburstProductType(jtv) } - default: _, _ = key, value @@ -81738,7 +78937,6 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData if err := awsRestjson1_deserializeDocumentStringDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -81747,7 +78945,6 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -81756,7 +78953,6 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.Name = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -81765,7 +78961,6 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.ValueType = types.DatasetParameterValueType(jtv) } - default: _, _ = key, value @@ -81801,7 +78996,6 @@ func awsRestjson1_deserializeDocumentStringDatasetParameterDefaultValues(v **typ if err := awsRestjson1_deserializeDocumentStringDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -81909,12 +79103,10 @@ func awsRestjson1_deserializeDocumentStringDefaultValues(v **types.StringDefault if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } - case "StaticValues": if err := awsRestjson1_deserializeDocumentStringDefaultValueList(&sv.StaticValues, value); err != nil { return err } - default: _, _ = key, value @@ -81950,12 +79142,10 @@ func awsRestjson1_deserializeDocumentStringFormatConfiguration(v **types.StringF if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } - case "NumericFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.NumericFormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -82031,12 +79221,10 @@ func awsRestjson1_deserializeDocumentStringParameter(v **types.StringParameter, } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -82072,12 +79260,10 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String if err := awsRestjson1_deserializeDocumentStringDefaultValues(&sv.DefaultValues, value); err != nil { return err } - case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -82086,7 +79272,6 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String } sv.Name = ptr.String(jtv) } - case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -82095,12 +79280,10 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String } sv.ParameterValueType = types.ParameterValueType(jtv) } - case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } - default: _, _ = key, value @@ -82174,7 +79357,6 @@ func awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(v **types } sv.CustomValue = ptr.String(jtv) } - case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -82183,7 +79365,6 @@ func awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(v **types } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } - default: _, _ = key, value @@ -82259,7 +79440,6 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.CustomLabel = ptr.String(jtv) } - case "FieldLevel": if value != nil { jtv, ok := value.(string) @@ -82268,27 +79448,22 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.FieldLevel = types.PivotTableSubtotalLevel(jtv) } - case "FieldLevelOptions": if err := awsRestjson1_deserializeDocumentPivotTableFieldSubtotalOptionsList(&sv.FieldLevelOptions, value); err != nil { return err } - case "MetricHeaderCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.MetricHeaderCellStyle, value); err != nil { return err } - case "StyleTargets": if err := awsRestjson1_deserializeDocumentTableStyleTargetList(&sv.StyleTargets, value); err != nil { return err } - case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } - case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -82297,12 +79472,10 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.TotalsVisibility = types.Visibility(jtv) } - case "ValueCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ValueCellStyle, value); err != nil { return err } - default: _, _ = key, value @@ -82342,7 +79515,6 @@ func awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswer(v **types.Succ } sv.AnswerId = ptr.String(jtv) } - default: _, _ = key, value @@ -82450,7 +79622,6 @@ func awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntry(v **types.Su } sv.KeyArn = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -82463,7 +79634,6 @@ func awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntry(v **types.Su } sv.StatusCode = int32(i64) } - default: _, _ = key, value @@ -82535,12 +79705,10 @@ func awsRestjson1_deserializeDocumentTableAggregatedFieldWells(v **types.TableAg if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.GroupBy, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -82580,7 +79748,6 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Color = ptr.String(jtv) } - case "Style": if value != nil { jtv, ok := value.(string) @@ -82589,7 +79756,6 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Style = types.TableBorderStyle(jtv) } - case "Thickness": if value != nil { jtv, ok := value.(json.Number) @@ -82602,7 +79768,6 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Thickness = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -82642,12 +79807,10 @@ func awsRestjson1_deserializeDocumentTableCellConditionalFormatting(v **types.Ta } sv.FieldId = ptr.String(jtv) } - case "TextFormat": if err := awsRestjson1_deserializeDocumentTextConditionalFormat(&sv.TextFormat, value); err != nil { return err } - default: _, _ = key, value @@ -82687,7 +79850,6 @@ func awsRestjson1_deserializeDocumentTableCellImageSizingConfiguration(v **types } sv.TableCellImageScalingConfiguration = types.TableCellImageScalingConfiguration(jtv) } - default: _, _ = key, value @@ -82727,17 +79889,14 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.BackgroundColor = ptr.String(jtv) } - case "Border": if err := awsRestjson1_deserializeDocumentGlobalTableBorderOptions(&sv.Border, value); err != nil { return err } - case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -82750,7 +79909,6 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.Height = ptr.Int32(int32(i64)) } - case "HorizontalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -82759,7 +79917,6 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.HorizontalTextAlignment = types.HorizontalTextAlignment(jtv) } - case "TextWrap": if value != nil { jtv, ok := value.(string) @@ -82768,7 +79925,6 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.TextWrap = types.TextWrap(jtv) } - case "VerticalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -82777,7 +79933,6 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.VerticalTextAlignment = types.VerticalTextAlignment(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -82786,7 +79941,6 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -82822,7 +79976,6 @@ func awsRestjson1_deserializeDocumentTableConditionalFormatting(v **types.TableC if err := awsRestjson1_deserializeDocumentTableConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -82858,12 +80011,10 @@ func awsRestjson1_deserializeDocumentTableConditionalFormattingOption(v **types. if err := awsRestjson1_deserializeDocumentTableCellConditionalFormatting(&sv.Cell, value); err != nil { return err } - case "Row": if err := awsRestjson1_deserializeDocumentTableRowConditionalFormatting(&sv.Row, value); err != nil { return err } - default: _, _ = key, value @@ -82933,42 +80084,34 @@ func awsRestjson1_deserializeDocumentTableConfiguration(v **types.TableConfigura if err := awsRestjson1_deserializeDocumentTableFieldOptions(&sv.FieldOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentTableFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "PaginatedReportOptions": if err := awsRestjson1_deserializeDocumentTablePaginatedReportOptions(&sv.PaginatedReportOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentTableSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "TableInlineVisualizations": if err := awsRestjson1_deserializeDocumentTableInlineVisualizationList(&sv.TableInlineVisualizations, value); err != nil { return err } - case "TableOptions": if err := awsRestjson1_deserializeDocumentTableOptions(&sv.TableOptions, value); err != nil { return err } - case "TotalOptions": if err := awsRestjson1_deserializeDocumentTotalOptions(&sv.TotalOptions, value); err != nil { return err } - default: _, _ = key, value @@ -83008,7 +80151,6 @@ func awsRestjson1_deserializeDocumentTableFieldCustomIconContent(v **types.Table } sv.Icon = types.TableFieldIconSetType(jtv) } - default: _, _ = key, value @@ -83044,7 +80186,6 @@ func awsRestjson1_deserializeDocumentTableFieldCustomTextContent(v **types.Table if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } - case "Value": if value != nil { jtv, ok := value.(string) @@ -83053,7 +80194,6 @@ func awsRestjson1_deserializeDocumentTableFieldCustomTextContent(v **types.Table } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -83089,7 +80229,6 @@ func awsRestjson1_deserializeDocumentTableFieldImageConfiguration(v **types.Tabl if err := awsRestjson1_deserializeDocumentTableCellImageSizingConfiguration(&sv.SizingOptions, value); err != nil { return err } - default: _, _ = key, value @@ -83125,7 +80264,6 @@ func awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(v **types.Table if err := awsRestjson1_deserializeDocumentTableFieldLinkContentConfiguration(&sv.Content, value); err != nil { return err } - case "Target": if value != nil { jtv, ok := value.(string) @@ -83134,7 +80272,6 @@ func awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(v **types.Table } sv.Target = types.URLTargetConfiguration(jtv) } - default: _, _ = key, value @@ -83170,12 +80307,10 @@ func awsRestjson1_deserializeDocumentTableFieldLinkContentConfiguration(v **type if err := awsRestjson1_deserializeDocumentTableFieldCustomIconContent(&sv.CustomIconContent, value); err != nil { return err } - case "CustomTextContent": if err := awsRestjson1_deserializeDocumentTableFieldCustomTextContent(&sv.CustomTextContent, value); err != nil { return err } - default: _, _ = key, value @@ -83215,7 +80350,6 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.CustomLabel = ptr.String(jtv) } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -83224,12 +80358,10 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.FieldId = ptr.String(jtv) } - case "URLStyling": if err := awsRestjson1_deserializeDocumentTableFieldURLConfiguration(&sv.URLStyling, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -83238,7 +80370,6 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.Visibility = types.Visibility(jtv) } - case "Width": if value != nil { jtv, ok := value.(string) @@ -83247,7 +80378,6 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.Width = ptr.String(jtv) } - default: _, _ = key, value @@ -83317,17 +80447,14 @@ func awsRestjson1_deserializeDocumentTableFieldOptions(v **types.TableFieldOptio if err := awsRestjson1_deserializeDocumentFieldOrderList(&sv.Order, value); err != nil { return err } - case "PinnedFieldOptions": if err := awsRestjson1_deserializeDocumentTablePinnedFieldOptions(&sv.PinnedFieldOptions, value); err != nil { return err } - case "SelectedFieldOptions": if err := awsRestjson1_deserializeDocumentTableFieldOptionList(&sv.SelectedFieldOptions, value); err != nil { return err } - default: _, _ = key, value @@ -83399,12 +80526,10 @@ func awsRestjson1_deserializeDocumentTableFieldURLConfiguration(v **types.TableF if err := awsRestjson1_deserializeDocumentTableFieldImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } - case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -83440,12 +80565,10 @@ func awsRestjson1_deserializeDocumentTableFieldWells(v **types.TableFieldWells, if err := awsRestjson1_deserializeDocumentTableAggregatedFieldWells(&sv.TableAggregatedFieldWells, value); err != nil { return err } - case "TableUnaggregatedFieldWells": if err := awsRestjson1_deserializeDocumentTableUnaggregatedFieldWells(&sv.TableUnaggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -83481,7 +80604,6 @@ func awsRestjson1_deserializeDocumentTableInlineVisualization(v **types.TableInl if err := awsRestjson1_deserializeDocumentDataBarsOptions(&sv.DataBars, value); err != nil { return err } - default: _, _ = key, value @@ -83551,12 +80673,10 @@ func awsRestjson1_deserializeDocumentTableOptions(v **types.TableOptions, value if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.CellStyle, value); err != nil { return err } - case "HeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.HeaderStyle, value); err != nil { return err } - case "Orientation": if value != nil { jtv, ok := value.(string) @@ -83565,12 +80685,10 @@ func awsRestjson1_deserializeDocumentTableOptions(v **types.TableOptions, value } sv.Orientation = types.TableOrientation(jtv) } - case "RowAlternateColorOptions": if err := awsRestjson1_deserializeDocumentRowAlternateColorOptions(&sv.RowAlternateColorOptions, value); err != nil { return err } - default: _, _ = key, value @@ -83610,7 +80728,6 @@ func awsRestjson1_deserializeDocumentTablePaginatedReportOptions(v **types.Table } sv.OverflowColumnHeaderVisibility = types.Visibility(jtv) } - case "VerticalOverflowVisibility": if value != nil { jtv, ok := value.(string) @@ -83619,7 +80736,6 @@ func awsRestjson1_deserializeDocumentTablePaginatedReportOptions(v **types.Table } sv.VerticalOverflowVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -83655,7 +80771,6 @@ func awsRestjson1_deserializeDocumentTablePinnedFieldOptions(v **types.TablePinn if err := awsRestjson1_deserializeDocumentTableFieldOrderList(&sv.PinnedLeftFields, value); err != nil { return err } - default: _, _ = key, value @@ -83691,12 +80806,10 @@ func awsRestjson1_deserializeDocumentTableRowConditionalFormatting(v **types.Tab if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -83732,32 +80845,26 @@ func awsRestjson1_deserializeDocumentTableSideBorderOptions(v **types.TableSideB if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Bottom, value); err != nil { return err } - case "InnerHorizontal": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.InnerHorizontal, value); err != nil { return err } - case "InnerVertical": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.InnerVertical, value); err != nil { return err } - case "Left": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Left, value); err != nil { return err } - case "Right": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Right, value); err != nil { return err } - case "Top": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Top, value); err != nil { return err } - default: _, _ = key, value @@ -83793,12 +80900,10 @@ func awsRestjson1_deserializeDocumentTableSortConfiguration(v **types.TableSortC if err := awsRestjson1_deserializeDocumentPaginationConfiguration(&sv.PaginationConfiguration, value); err != nil { return err } - case "RowSort": if err := awsRestjson1_deserializeDocumentRowSortList(&sv.RowSort, value); err != nil { return err } - default: _, _ = key, value @@ -83838,7 +80943,6 @@ func awsRestjson1_deserializeDocumentTableStyleTarget(v **types.TableStyleTarget } sv.CellType = types.StyledCellType(jtv) } - default: _, _ = key, value @@ -83908,7 +81012,6 @@ func awsRestjson1_deserializeDocumentTableUnaggregatedFieldWells(v **types.Table if err := awsRestjson1_deserializeDocumentUnaggregatedFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -83944,27 +81047,22 @@ func awsRestjson1_deserializeDocumentTableVisual(v **types.TableVisual, value in if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentTableConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentTableConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -83973,7 +81071,6 @@ func awsRestjson1_deserializeDocumentTableVisual(v **types.TableVisual, value in } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -84013,7 +81110,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -84022,7 +81118,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -84062,12 +81157,10 @@ func awsRestjson1_deserializeDocumentTagColumnOperation(v **types.TagColumnOpera } sv.ColumnName = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentColumnTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -84177,7 +81270,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -84193,7 +81285,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -84209,7 +81300,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -84218,7 +81308,6 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -84227,12 +81316,10 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.TemplateId = ptr.String(jtv) } - case "Version": if err := awsRestjson1_deserializeDocumentTemplateVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -84272,7 +81359,6 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.AliasName = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -84281,7 +81367,6 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.Arn = ptr.String(jtv) } - case "TemplateVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -84294,7 +81379,6 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.TemplateVersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -84368,7 +81452,6 @@ func awsRestjson1_deserializeDocumentTemplateError(v **types.TemplateError, valu } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -84377,12 +81460,10 @@ func awsRestjson1_deserializeDocumentTemplateError(v **types.TemplateError, valu } sv.Type = types.TemplateErrorType(jtv) } - case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } - default: _, _ = key, value @@ -84456,7 +81537,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -84472,7 +81552,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -84488,7 +81567,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -84501,7 +81579,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.LatestVersionNumber = ptr.Int64(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -84510,7 +81587,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } - case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -84519,7 +81595,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -84600,12 +81675,10 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } } - case "DataSetConfigurations": if err := awsRestjson1_deserializeDocumentDataSetConfigurationList(&sv.DataSetConfigurations, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -84614,17 +81687,14 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.Description = ptr.String(jtv) } - case "Errors": if err := awsRestjson1_deserializeDocumentTemplateErrorList(&sv.Errors, value); err != nil { return err } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } - case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -84633,7 +81703,6 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.SourceEntityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -84642,7 +81711,6 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.Status = types.ResourceStatus(jtv) } - case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -84651,7 +81719,6 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.ThemeArn = ptr.String(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -84664,7 +81731,6 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -84700,47 +81766,38 @@ func awsRestjson1_deserializeDocumentTemplateVersionDefinition(v **types.Templat if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } - case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } - case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } - case "DataSetConfigurations": if err := awsRestjson1_deserializeDocumentDataSetConfigurationList(&sv.DataSetConfigurations, value); err != nil { return err } - case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } - case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } - case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } - case "QueryExecutionOptions": if err := awsRestjson1_deserializeDocumentQueryExecutionOptions(&sv.QueryExecutionOptions, value); err != nil { return err } - case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } - default: _, _ = key, value @@ -84780,7 +81837,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -84796,7 +81852,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -84805,7 +81860,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Description = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -84814,7 +81868,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Status = types.ResourceStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -84827,7 +81880,6 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -84901,7 +81953,6 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Database = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -84910,7 +81961,6 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -84923,7 +81973,6 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -84959,17 +82008,14 @@ func awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(v **types.Tex if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "PlaceholderOptions": if err := awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(&sv.PlaceholderOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -85005,17 +82051,14 @@ func awsRestjson1_deserializeDocumentTextConditionalFormat(v **types.TextConditi if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } - case "Icon": if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } - case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } - default: _, _ = key, value @@ -85055,7 +82098,6 @@ func awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(v **types.Tex } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -85091,17 +82133,14 @@ func awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(v **types.Te if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } - case "PlaceholderOptions": if err := awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(&sv.PlaceholderOptions, value); err != nil { return err } - case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -85141,7 +82180,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -85157,7 +82195,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -85173,7 +82210,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -85182,7 +82218,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Name = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -85191,7 +82226,6 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -85200,12 +82234,10 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Type = types.ThemeType(jtv) } - case "Version": if err := awsRestjson1_deserializeDocumentThemeVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -85245,7 +82277,6 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.AliasName = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -85254,7 +82285,6 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.Arn = ptr.String(jtv) } - case "ThemeVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -85267,7 +82297,6 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.ThemeVersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -85337,22 +82366,18 @@ func awsRestjson1_deserializeDocumentThemeConfiguration(v **types.ThemeConfigura if err := awsRestjson1_deserializeDocumentDataColorPalette(&sv.DataColorPalette, value); err != nil { return err } - case "Sheet": if err := awsRestjson1_deserializeDocumentSheetStyle(&sv.Sheet, value); err != nil { return err } - case "Typography": if err := awsRestjson1_deserializeDocumentTypography(&sv.Typography, value); err != nil { return err } - case "UIColorPalette": if err := awsRestjson1_deserializeDocumentUIColorPalette(&sv.UIColorPalette, value); err != nil { return err } - default: _, _ = key, value @@ -85392,7 +82417,6 @@ func awsRestjson1_deserializeDocumentThemeError(v **types.ThemeError, value inte } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -85401,7 +82425,6 @@ func awsRestjson1_deserializeDocumentThemeError(v **types.ThemeError, value inte } sv.Type = types.ThemeErrorType(jtv) } - default: _, _ = key, value @@ -85475,7 +82498,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -85491,7 +82513,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -85507,7 +82528,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } } - case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -85520,7 +82540,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.LatestVersionNumber = ptr.Int64(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -85529,7 +82548,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Name = ptr.String(jtv) } - case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -85538,7 +82556,6 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.ThemeId = ptr.String(jtv) } - default: _, _ = key, value @@ -85612,7 +82629,6 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Arn = ptr.String(jtv) } - case "BaseThemeId": if value != nil { jtv, ok := value.(string) @@ -85621,12 +82637,10 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.BaseThemeId = ptr.String(jtv) } - case "Configuration": if err := awsRestjson1_deserializeDocumentThemeConfiguration(&sv.Configuration, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -85642,7 +82656,6 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -85651,12 +82664,10 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Description = ptr.String(jtv) } - case "Errors": if err := awsRestjson1_deserializeDocumentThemeErrorList(&sv.Errors, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -85665,7 +82676,6 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Status = types.ResourceStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -85678,7 +82688,6 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -85718,7 +82727,6 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -85734,7 +82742,6 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -85743,7 +82750,6 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Description = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -85752,7 +82758,6 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Status = types.ResourceStatus(jtv) } - case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -85765,7 +82770,6 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.VersionNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -85839,7 +82843,6 @@ func awsRestjson1_deserializeDocumentThousandSeparatorOptions(v **types.Thousand } sv.Symbol = types.NumericSeparatorSymbol(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -85848,7 +82851,6 @@ func awsRestjson1_deserializeDocumentThousandSeparatorOptions(v **types.Thousand } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -85878,15 +82880,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -85894,7 +82890,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -85903,15 +82898,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -85942,12 +82933,10 @@ func awsRestjson1_deserializeDocumentTileLayoutStyle(v **types.TileLayoutStyle, if err := awsRestjson1_deserializeDocumentGutterStyle(&sv.Gutter, value); err != nil { return err } - case "Margin": if err := awsRestjson1_deserializeDocumentMarginStyle(&sv.Margin, value); err != nil { return err } - default: _, _ = key, value @@ -85983,7 +82972,6 @@ func awsRestjson1_deserializeDocumentTileStyle(v **types.TileStyle, value interf if err := awsRestjson1_deserializeDocumentBorderStyle(&sv.Border, value); err != nil { return err } - default: _, _ = key, value @@ -86048,7 +83036,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } } - case "PeriodsBackward": if value != nil { jtv, ok := value.(json.Number) @@ -86061,7 +83048,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PeriodsBackward = ptr.Int32(int32(i64)) } - case "PeriodsForward": if value != nil { jtv, ok := value.(json.Number) @@ -86074,7 +83060,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PeriodsForward = ptr.Int32(int32(i64)) } - case "PredictionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -86087,7 +83072,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PredictionInterval = ptr.Int32(int32(i64)) } - case "Seasonality": if value != nil { jtv, ok := value.(json.Number) @@ -86100,7 +83084,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.Seasonality = ptr.Int32(int32(i64)) } - case "UpperBoundary": if value != nil { switch jtv := value.(type) { @@ -86134,7 +83117,6 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } } - default: _, _ = key, value @@ -86170,12 +83152,10 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -86184,7 +83164,6 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.FilterId = ptr.String(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -86193,12 +83172,10 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.ParameterName = ptr.String(jtv) } - case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -86207,7 +83184,6 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.TimeGranularity = types.TimeGranularity(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -86223,7 +83199,6 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } } - default: _, _ = key, value @@ -86259,7 +83234,6 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "RangeMaximum": if value != nil { switch jtv := value.(type) { @@ -86275,7 +83249,6 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } } - case "RangeMinimum": if value != nil { switch jtv := value.(type) { @@ -86291,7 +83264,6 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -86300,7 +83272,6 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -86336,17 +83307,14 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "ExcludePeriodConfiguration": if err := awsRestjson1_deserializeDocumentExcludePeriodConfiguration(&sv.ExcludePeriodConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -86355,7 +83323,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.FilterId = ptr.String(jtv) } - case "IncludeMaximum": if value != nil { jtv, ok := value.(bool) @@ -86364,7 +83331,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.IncludeMaximum = ptr.Bool(jtv) } - case "IncludeMinimum": if value != nil { jtv, ok := value.(bool) @@ -86373,7 +83339,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.IncludeMinimum = ptr.Bool(jtv) } - case "NullOption": if value != nil { jtv, ok := value.(string) @@ -86382,17 +83347,14 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.NullOption = types.FilterNullOption(jtv) } - case "RangeMaximumValue": if err := awsRestjson1_deserializeDocumentTimeRangeFilterValue(&sv.RangeMaximumValue, value); err != nil { return err } - case "RangeMinimumValue": if err := awsRestjson1_deserializeDocumentTimeRangeFilterValue(&sv.RangeMinimumValue, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -86401,7 +83363,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -86441,12 +83402,10 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterValue(v **types.TimeRangeFil } sv.Parameter = ptr.String(jtv) } - case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } - case "StaticValue": if value != nil { switch jtv := value.(type) { @@ -86462,7 +83421,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterValue(v **types.TimeRangeFil } } - default: _, _ = key, value @@ -86498,12 +83456,10 @@ func awsRestjson1_deserializeDocumentTooltipItem(v **types.TooltipItem, value in if err := awsRestjson1_deserializeDocumentColumnTooltipItem(&sv.ColumnTooltipItem, value); err != nil { return err } - case "FieldTooltipItem": if err := awsRestjson1_deserializeDocumentFieldTooltipItem(&sv.FieldTooltipItem, value); err != nil { return err } - default: _, _ = key, value @@ -86573,7 +83529,6 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va if err := awsRestjson1_deserializeDocumentFieldBasedTooltip(&sv.FieldBasedTooltip, value); err != nil { return err } - case "SelectedTooltipType": if value != nil { jtv, ok := value.(string) @@ -86582,7 +83537,6 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va } sv.SelectedTooltipType = types.SelectedTooltipType(jtv) } - case "TooltipVisibility": if value != nil { jtv, ok := value.(string) @@ -86591,7 +83545,6 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va } sv.TooltipVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -86627,17 +83580,14 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, if err := awsRestjson1_deserializeDocumentAggregationSortConfigurationList(&sv.AggregationSortConfigurations, value); err != nil { return err } - case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } - case "FilterId": if value != nil { jtv, ok := value.(string) @@ -86646,7 +83596,6 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.FilterId = ptr.String(jtv) } - case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -86659,7 +83608,6 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.Limit = ptr.Int32(int32(i64)) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -86668,7 +83616,6 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.ParameterName = ptr.String(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -86677,7 +83624,6 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.TimeGranularity = types.TimeGranularity(jtv) } - default: _, _ = key, value @@ -86713,7 +83659,6 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } - case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -86722,7 +83667,6 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.ComputationId = ptr.String(jtv) } - case "MoverSize": if value != nil { jtv, ok := value.(json.Number) @@ -86735,7 +83679,6 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.MoverSize = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -86744,7 +83687,6 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.Name = ptr.String(jtv) } - case "SortOrder": if value != nil { jtv, ok := value.(string) @@ -86753,12 +83695,10 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.SortOrder = types.TopBottomSortOrder(jtv) } - case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -86767,12 +83707,10 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.Type = types.TopBottomComputationType(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -86808,7 +83746,6 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } - case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -86817,7 +83754,6 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -86826,7 +83762,6 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.Name = ptr.String(jtv) } - case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -86839,7 +83774,6 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.ResultSize = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -86848,12 +83782,10 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.Type = types.TopBottomComputationType(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -86893,12 +83825,10 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.Aggregation = types.DefaultAggregation(jtv) } - case "AllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.AllowedAggregations, value); err != nil { return err } - case "CalculatedFieldDescription": if value != nil { jtv, ok := value.(string) @@ -86907,7 +83837,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.CalculatedFieldDescription = ptr.String(jtv) } - case "CalculatedFieldName": if value != nil { jtv, ok := value.(string) @@ -86916,17 +83845,14 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.CalculatedFieldName = ptr.String(jtv) } - case "CalculatedFieldSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.CalculatedFieldSynonyms, value); err != nil { return err } - case "CellValueSynonyms": if err := awsRestjson1_deserializeDocumentCellValueSynonyms(&sv.CellValueSynonyms, value); err != nil { return err } - case "ColumnDataRole": if value != nil { jtv, ok := value.(string) @@ -86935,17 +83861,14 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.ColumnDataRole = types.ColumnDataRole(jtv) } - case "ComparativeOrder": if err := awsRestjson1_deserializeDocumentComparativeOrder(&sv.ComparativeOrder, value); err != nil { return err } - case "DefaultFormatting": if err := awsRestjson1_deserializeDocumentDefaultFormatting(&sv.DefaultFormatting, value); err != nil { return err } - case "DisableIndexing": if value != nil { jtv, ok := value.(bool) @@ -86954,7 +83877,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.DisableIndexing = ptr.Bool(jtv) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -86963,7 +83885,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.Expression = ptr.String(jtv) } - case "IsIncludedInTopic": if value != nil { jtv, ok := value.(bool) @@ -86972,7 +83893,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.IsIncludedInTopic = jtv } - case "NeverAggregateInFilter": if value != nil { jtv, ok := value.(bool) @@ -86981,7 +83901,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.NeverAggregateInFilter = jtv } - case "NonAdditive": if value != nil { jtv, ok := value.(bool) @@ -86990,17 +83909,14 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.NonAdditive = ptr.Bool(jtv) } - case "NotAllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.NotAllowedAggregations, value); err != nil { return err } - case "SemanticType": if err := awsRestjson1_deserializeDocumentSemanticType(&sv.SemanticType, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -87009,7 +83925,6 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } - default: _, _ = key, value @@ -87083,7 +83998,6 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.CategoryFilterFunction = types.CategoryFilterFunction(jtv) } - case "CategoryFilterType": if value != nil { jtv, ok := value.(string) @@ -87092,12 +84006,10 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.CategoryFilterType = types.CategoryFilterType(jtv) } - case "Constant": if err := awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(&sv.Constant, value); err != nil { return err } - case "Inverse": if value != nil { jtv, ok := value.(bool) @@ -87106,7 +84018,6 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.Inverse = jtv } - default: _, _ = key, value @@ -87142,7 +84053,6 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic if err := awsRestjson1_deserializeDocumentCollectiveConstant(&sv.CollectiveConstant, value); err != nil { return err } - case "ConstantType": if value != nil { jtv, ok := value.(string) @@ -87151,7 +84061,6 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic } sv.ConstantType = types.ConstantType(jtv) } - case "SingularConstant": if value != nil { jtv, ok := value.(string) @@ -87160,7 +84069,6 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic } sv.SingularConstant = ptr.String(jtv) } - default: _, _ = key, value @@ -87200,17 +84108,14 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.Aggregation = types.DefaultAggregation(jtv) } - case "AllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.AllowedAggregations, value); err != nil { return err } - case "CellValueSynonyms": if err := awsRestjson1_deserializeDocumentCellValueSynonyms(&sv.CellValueSynonyms, value); err != nil { return err } - case "ColumnDataRole": if value != nil { jtv, ok := value.(string) @@ -87219,7 +84124,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnDataRole = types.ColumnDataRole(jtv) } - case "ColumnDescription": if value != nil { jtv, ok := value.(string) @@ -87228,7 +84132,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnDescription = ptr.String(jtv) } - case "ColumnFriendlyName": if value != nil { jtv, ok := value.(string) @@ -87237,7 +84140,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnFriendlyName = ptr.String(jtv) } - case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -87246,22 +84148,18 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnName = ptr.String(jtv) } - case "ColumnSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.ColumnSynonyms, value); err != nil { return err } - case "ComparativeOrder": if err := awsRestjson1_deserializeDocumentComparativeOrder(&sv.ComparativeOrder, value); err != nil { return err } - case "DefaultFormatting": if err := awsRestjson1_deserializeDocumentDefaultFormatting(&sv.DefaultFormatting, value); err != nil { return err } - case "DisableIndexing": if value != nil { jtv, ok := value.(bool) @@ -87270,7 +84168,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.DisableIndexing = ptr.Bool(jtv) } - case "IsIncludedInTopic": if value != nil { jtv, ok := value.(bool) @@ -87279,7 +84176,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.IsIncludedInTopic = jtv } - case "NeverAggregateInFilter": if value != nil { jtv, ok := value.(bool) @@ -87288,7 +84184,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.NeverAggregateInFilter = jtv } - case "NonAdditive": if value != nil { jtv, ok := value.(bool) @@ -87297,17 +84192,14 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.NonAdditive = ptr.Bool(jtv) } - case "NotAllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.NotAllowedAggregations, value); err != nil { return err } - case "SemanticType": if err := awsRestjson1_deserializeDocumentSemanticType(&sv.SemanticType, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -87316,7 +84208,6 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } - default: _, _ = key, value @@ -87390,7 +84281,6 @@ func awsRestjson1_deserializeDocumentTopicConfigOptions(v **types.TopicConfigOpt } sv.QBusinessInsightsEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -87430,7 +84320,6 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.ConstantType = types.ConstantType(jtv) } - case "Maximum": if value != nil { jtv, ok := value.(string) @@ -87439,7 +84328,6 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Maximum = ptr.String(jtv) } - case "Minimum": if value != nil { jtv, ok := value.(string) @@ -87448,7 +84336,6 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Minimum = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -87457,12 +84344,10 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Value = ptr.String(jtv) } - case "ValueList": if err := awsRestjson1_deserializeDocumentCollectiveConstantEntryList(&sv.ValueList, value); err != nil { return err } - default: _, _ = key, value @@ -87498,7 +84383,6 @@ func awsRestjson1_deserializeDocumentTopicDateRangeFilter(v **types.TopicDateRan if err := awsRestjson1_deserializeDocumentTopicRangeFilterConstant(&sv.Constant, value); err != nil { return err } - case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -87507,7 +84391,6 @@ func awsRestjson1_deserializeDocumentTopicDateRangeFilter(v **types.TopicDateRan } sv.Inclusive = jtv } - default: _, _ = key, value @@ -87543,12 +84426,10 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value if err := awsRestjson1_deserializeDocumentTopicConfigOptions(&sv.ConfigOptions, value); err != nil { return err } - case "DataSets": if err := awsRestjson1_deserializeDocumentDatasets(&sv.DataSets, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -87557,7 +84438,6 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -87566,7 +84446,6 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.Name = ptr.String(jtv) } - case "UserExperienceVersion": if value != nil { jtv, ok := value.(string) @@ -87575,7 +84454,6 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.UserExperienceVersion = types.TopicUserExperienceVersion(jtv) } - default: _, _ = key, value @@ -87611,12 +84489,10 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in if err := awsRestjson1_deserializeDocumentTopicCategoryFilter(&sv.CategoryFilter, value); err != nil { return err } - case "DateRangeFilter": if err := awsRestjson1_deserializeDocumentTopicDateRangeFilter(&sv.DateRangeFilter, value); err != nil { return err } - case "FilterClass": if value != nil { jtv, ok := value.(string) @@ -87625,7 +84501,6 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterClass = types.FilterClass(jtv) } - case "FilterDescription": if value != nil { jtv, ok := value.(string) @@ -87634,7 +84509,6 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterDescription = ptr.String(jtv) } - case "FilterName": if value != nil { jtv, ok := value.(string) @@ -87643,12 +84517,10 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterName = ptr.String(jtv) } - case "FilterSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.FilterSynonyms, value); err != nil { return err } - case "FilterType": if value != nil { jtv, ok := value.(string) @@ -87657,17 +84529,14 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterType = types.NamedFilterType(jtv) } - case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentTopicNumericEqualityFilter(&sv.NumericEqualityFilter, value); err != nil { return err } - case "NumericRangeFilter": if err := awsRestjson1_deserializeDocumentTopicNumericRangeFilter(&sv.NumericRangeFilter, value); err != nil { return err } - case "OperandFieldName": if value != nil { jtv, ok := value.(string) @@ -87676,12 +84545,10 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.OperandFieldName = ptr.String(jtv) } - case "RelativeDateFilter": if err := awsRestjson1_deserializeDocumentTopicRelativeDateFilter(&sv.RelativeDateFilter, value); err != nil { return err } - default: _, _ = key, value @@ -87751,32 +84618,26 @@ func awsRestjson1_deserializeDocumentTopicIR(v **types.TopicIR, value interface{ if err := awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(&sv.ContributionAnalysis, value); err != nil { return err } - case "Filters": if err := awsRestjson1_deserializeDocumentTopicIRFilterList(&sv.Filters, value); err != nil { return err } - case "GroupByList": if err := awsRestjson1_deserializeDocumentTopicIRGroupByList(&sv.GroupByList, value); err != nil { return err } - case "Metrics": if err := awsRestjson1_deserializeDocumentTopicIRMetricList(&sv.Metrics, value); err != nil { return err } - case "Sort": if err := awsRestjson1_deserializeDocumentTopicSortClause(&sv.Sort, value); err != nil { return err } - case "Visual": if err := awsRestjson1_deserializeDocumentVisualOptions(&sv.Visual, value); err != nil { return err } - default: _, _ = key, value @@ -87816,7 +84677,6 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.Period = types.TopicTimeGranularity(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -87825,7 +84685,6 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.Type = types.ComparisonMethodType(jtv) } - case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -87838,7 +84697,6 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.WindowSize = int32(i64) } - default: _, _ = key, value @@ -87878,12 +84736,10 @@ func awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(v **types.Topic } sv.Direction = types.ContributionAnalysisDirection(jtv) } - case "Factors": if err := awsRestjson1_deserializeDocumentContributionAnalysisFactorsList(&sv.Factors, value); err != nil { return err } - case "SortType": if value != nil { jtv, ok := value.(string) @@ -87892,12 +84748,10 @@ func awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(v **types.Topic } sv.SortType = types.ContributionAnalysisSortType(jtv) } - case "TimeRanges": if err := awsRestjson1_deserializeDocumentContributionAnalysisTimeRanges(&sv.TimeRanges, value); err != nil { return err } - default: _, _ = key, value @@ -87999,7 +84853,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter if err := awsRestjson1_deserializeDocumentFilterAggMetricsList(&sv.AggMetrics, value); err != nil { return err } - case "Aggregation": if value != nil { jtv, ok := value.(string) @@ -88008,27 +84861,22 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Aggregation = types.AggType(jtv) } - case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggFunctionParamMap(&sv.AggregationFunctionParameters, value); err != nil { return err } - case "AggregationPartitionBy": if err := awsRestjson1_deserializeDocumentAggregationPartitionByList(&sv.AggregationPartitionBy, value); err != nil { return err } - case "Anchor": if err := awsRestjson1_deserializeDocumentAnchor(&sv.Anchor, value); err != nil { return err } - case "Constant": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.Constant, value); err != nil { return err } - case "FilterClass": if value != nil { jtv, ok := value.(string) @@ -88037,7 +84885,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.FilterClass = types.FilterClass(jtv) } - case "FilterType": if value != nil { jtv, ok := value.(string) @@ -88046,7 +84893,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.FilterType = types.TopicIRFilterType(jtv) } - case "Function": if value != nil { jtv, ok := value.(string) @@ -88055,7 +84901,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Function = types.TopicIRFilterFunction(jtv) } - case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -88064,7 +84909,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Inclusive = jtv } - case "Inverse": if value != nil { jtv, ok := value.(bool) @@ -88073,12 +84917,10 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Inverse = jtv } - case "LastNextOffset": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.LastNextOffset, value); err != nil { return err } - case "NullFilter": if value != nil { jtv, ok := value.(string) @@ -88087,17 +84929,14 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.NullFilter = types.NullFilterOption(jtv) } - case "OperandField": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.OperandField, value); err != nil { return err } - case "Range": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.Range, value); err != nil { return err } - case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -88106,7 +84945,6 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.SortDirection = types.TopicSortDirection(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -88115,12 +84953,10 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.TimeGranularity = types.TimeGranularity(jtv) } - case "TopBottomLimit": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.TopBottomLimit, value); err != nil { return err } - default: _, _ = key, value @@ -88160,27 +84996,22 @@ func awsRestjson1_deserializeDocumentTopicIRGroupBy(v **types.TopicIRGroupBy, va } sv.DisplayFormat = types.DisplayFormat(jtv) } - case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } - case "FieldName": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.FieldName, value); err != nil { return err } - case "NamedEntity": if err := awsRestjson1_deserializeDocumentNamedEntityRef(&sv.NamedEntity, value); err != nil { return err } - case "Sort": if err := awsRestjson1_deserializeDocumentTopicSortClause(&sv.Sort, value); err != nil { return err } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -88189,7 +85020,6 @@ func awsRestjson1_deserializeDocumentTopicIRGroupBy(v **types.TopicIRGroupBy, va } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } - default: _, _ = key, value @@ -88259,12 +85089,10 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu if err := awsRestjson1_deserializeDocumentCalculatedFieldReferenceList(&sv.CalculatedFieldReferences, value); err != nil { return err } - case "ComparisonMethod": if err := awsRestjson1_deserializeDocumentTopicIRComparisonMethod(&sv.ComparisonMethod, value); err != nil { return err } - case "DisplayFormat": if value != nil { jtv, ok := value.(string) @@ -88273,12 +85101,10 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu } sv.DisplayFormat = types.DisplayFormat(jtv) } - case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -88287,27 +85113,22 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu } sv.Expression = ptr.String(jtv) } - case "Function": if err := awsRestjson1_deserializeDocumentAggFunction(&sv.Function, value); err != nil { return err } - case "MetricId": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.MetricId, value); err != nil { return err } - case "NamedEntity": if err := awsRestjson1_deserializeDocumentNamedEntityRef(&sv.NamedEntity, value); err != nil { return err } - case "Operands": if err := awsRestjson1_deserializeDocumentOperandList(&sv.Operands, value); err != nil { return err } - default: _, _ = key, value @@ -88411,7 +85232,6 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity if err := awsRestjson1_deserializeDocumentNamedEntityDefinitions(&sv.Definition, value); err != nil { return err } - case "EntityDescription": if value != nil { jtv, ok := value.(string) @@ -88420,7 +85240,6 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity } sv.EntityDescription = ptr.String(jtv) } - case "EntityName": if value != nil { jtv, ok := value.(string) @@ -88429,17 +85248,14 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity } sv.EntityName = ptr.String(jtv) } - case "EntitySynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.EntitySynonyms, value); err != nil { return err } - case "SemanticEntityType": if err := awsRestjson1_deserializeDocumentSemanticEntityType(&sv.SemanticEntityType, value); err != nil { return err } - default: _, _ = key, value @@ -88479,12 +85295,10 @@ func awsRestjson1_deserializeDocumentTopicNumericEqualityFilter(v **types.TopicN } sv.Aggregation = types.NamedFilterAggType(jtv) } - case "Constant": if err := awsRestjson1_deserializeDocumentTopicSingularFilterConstant(&sv.Constant, value); err != nil { return err } - default: _, _ = key, value @@ -88524,12 +85338,10 @@ func awsRestjson1_deserializeDocumentTopicNumericRangeFilter(v **types.TopicNume } sv.Aggregation = types.NamedFilterAggType(jtv) } - case "Constant": if err := awsRestjson1_deserializeDocumentTopicRangeFilterConstant(&sv.Constant, value); err != nil { return err } - case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -88538,7 +85350,6 @@ func awsRestjson1_deserializeDocumentTopicNumericRangeFilter(v **types.TopicNume } sv.Inclusive = jtv } - default: _, _ = key, value @@ -88578,12 +85389,10 @@ func awsRestjson1_deserializeDocumentTopicRangeFilterConstant(v **types.TopicRan } sv.ConstantType = types.ConstantType(jtv) } - case "RangeConstant": if err := awsRestjson1_deserializeDocumentRangeConstant(&sv.RangeConstant, value); err != nil { return err } - default: _, _ = key, value @@ -88623,7 +85432,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshArn = ptr.String(jtv) } - case "RefreshId": if value != nil { jtv, ok := value.(string) @@ -88632,7 +85440,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshId = ptr.String(jtv) } - case "RefreshStatus": if value != nil { jtv, ok := value.(string) @@ -88641,7 +85448,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshStatus = types.TopicRefreshStatus(jtv) } - default: _, _ = key, value @@ -88681,7 +85487,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.BasedOnSpiceSchedule = jtv } - case "IsEnabled": if value != nil { jtv, ok := value.(bool) @@ -88690,7 +85495,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.IsEnabled = ptr.Bool(jtv) } - case "RepeatAt": if value != nil { jtv, ok := value.(string) @@ -88699,7 +85503,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.RepeatAt = ptr.String(jtv) } - case "StartingAt": if value != nil { switch jtv := value.(type) { @@ -88715,7 +85518,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -88724,7 +85526,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.Timezone = ptr.String(jtv) } - case "TopicScheduleType": if value != nil { jtv, ok := value.(string) @@ -88733,7 +85534,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.TopicScheduleType = types.TopicScheduleType(jtv) } - default: _, _ = key, value @@ -88807,7 +85607,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetArn = ptr.String(jtv) } - case "DatasetId": if value != nil { jtv, ok := value.(string) @@ -88816,7 +85615,6 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetId = ptr.String(jtv) } - case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -88825,12 +85623,10 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetName = ptr.String(jtv) } - case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentTopicRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } - default: _, _ = key, value @@ -88866,7 +85662,6 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela if err := awsRestjson1_deserializeDocumentTopicSingularFilterConstant(&sv.Constant, value); err != nil { return err } - case "RelativeDateFilterFunction": if value != nil { jtv, ok := value.(string) @@ -88875,7 +85670,6 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela } sv.RelativeDateFilterFunction = types.TopicRelativeDateFilterFunction(jtv) } - case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -88884,7 +85678,6 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } - default: _, _ = key, value @@ -88924,7 +85717,6 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.AnswerId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -88933,7 +85725,6 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.Arn = ptr.String(jtv) } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -88942,17 +85733,14 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.DatasetArn = ptr.String(jtv) } - case "Mir": if err := awsRestjson1_deserializeDocumentTopicIR(&sv.Mir, value); err != nil { return err } - case "PrimaryVisual": if err := awsRestjson1_deserializeDocumentTopicVisual(&sv.PrimaryVisual, value); err != nil { return err } - case "Question": if value != nil { jtv, ok := value.(string) @@ -88961,12 +85749,10 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.Question = ptr.String(jtv) } - case "Template": if err := awsRestjson1_deserializeDocumentTopicTemplate(&sv.Template, value); err != nil { return err } - default: _, _ = key, value @@ -89040,7 +85826,6 @@ func awsRestjson1_deserializeDocumentTopicSingularFilterConstant(v **types.Topic } sv.ConstantType = types.ConstantType(jtv) } - case "SingularConstant": if value != nil { jtv, ok := value.(string) @@ -89049,7 +85834,6 @@ func awsRestjson1_deserializeDocumentTopicSingularFilterConstant(v **types.Topic } sv.SingularConstant = ptr.String(jtv) } - default: _, _ = key, value @@ -89085,7 +85869,6 @@ func awsRestjson1_deserializeDocumentTopicSortClause(v **types.TopicSortClause, if err := awsRestjson1_deserializeDocumentIdentifier(&sv.Operand, value); err != nil { return err } - case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -89094,7 +85877,6 @@ func awsRestjson1_deserializeDocumentTopicSortClause(v **types.TopicSortClause, } sv.SortDirection = types.TopicSortDirection(jtv) } - default: _, _ = key, value @@ -89168,7 +85950,6 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -89177,7 +85958,6 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.Name = ptr.String(jtv) } - case "TopicId": if value != nil { jtv, ok := value.(string) @@ -89186,7 +85966,6 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.TopicId = ptr.String(jtv) } - case "UserExperienceVersion": if value != nil { jtv, ok := value.(string) @@ -89195,7 +85974,6 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.UserExperienceVersion = types.TopicUserExperienceVersion(jtv) } - default: _, _ = key, value @@ -89231,7 +86009,6 @@ func awsRestjson1_deserializeDocumentTopicTemplate(v **types.TopicTemplate, valu if err := awsRestjson1_deserializeDocumentSlots(&sv.Slots, value); err != nil { return err } - case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -89240,7 +86017,6 @@ func awsRestjson1_deserializeDocumentTopicTemplate(v **types.TopicTemplate, valu } sv.TemplateType = ptr.String(jtv) } - default: _, _ = key, value @@ -89276,7 +86052,6 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in if err := awsRestjson1_deserializeDocumentTopicIR(&sv.Ir, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -89285,12 +86060,10 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in } sv.Role = types.VisualRole(jtv) } - case "SupportingVisuals": if err := awsRestjson1_deserializeDocumentTopicVisuals(&sv.SupportingVisuals, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -89299,7 +86072,6 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -89373,7 +86145,6 @@ func awsRestjson1_deserializeDocumentTotalAggregationComputation(v **types.Total } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -89382,12 +86153,10 @@ func awsRestjson1_deserializeDocumentTotalAggregationComputation(v **types.Total } sv.Name = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -89427,7 +86196,6 @@ func awsRestjson1_deserializeDocumentTotalAggregationFunction(v **types.TotalAgg } sv.SimpleTotalAggregationFunction = types.SimpleTotalAggregationFunction(jtv) } - default: _, _ = key, value @@ -89467,12 +86235,10 @@ func awsRestjson1_deserializeDocumentTotalAggregationOption(v **types.TotalAggre } sv.FieldId = ptr.String(jtv) } - case "TotalAggregationFunction": if err := awsRestjson1_deserializeDocumentTotalAggregationFunction(&sv.TotalAggregationFunction, value); err != nil { return err } - default: _, _ = key, value @@ -89546,7 +86312,6 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.CustomLabel = ptr.String(jtv) } - case "Placement": if value != nil { jtv, ok := value.(string) @@ -89555,7 +86320,6 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.Placement = types.TableTotalsPlacement(jtv) } - case "ScrollStatus": if value != nil { jtv, ok := value.(string) @@ -89564,17 +86328,14 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.ScrollStatus = types.TableTotalsScrollStatus(jtv) } - case "TotalAggregationOptions": if err := awsRestjson1_deserializeDocumentTotalAggregationOptionList(&sv.TotalAggregationOptions, value); err != nil { return err } - case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } - case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -89583,7 +86344,6 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.TotalsVisibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -89761,17 +86521,14 @@ func awsRestjson1_deserializeDocumentTreeMapAggregatedFieldWells(v **types.TreeM if err := awsRestjson1_deserializeDocumentTreeMapMeasureFieldList(&sv.Colors, value); err != nil { return err } - case "Groups": if err := awsRestjson1_deserializeDocumentTreeMapDimensionFieldList(&sv.Groups, value); err != nil { return err } - case "Sizes": if err := awsRestjson1_deserializeDocumentTreeMapMeasureFieldList(&sv.Sizes, value); err != nil { return err } - default: _, _ = key, value @@ -89807,52 +86564,42 @@ func awsRestjson1_deserializeDocumentTreeMapConfiguration(v **types.TreeMapConfi if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } - case "ColorScale": if err := awsRestjson1_deserializeDocumentColorScale(&sv.ColorScale, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentTreeMapFieldWells(&sv.FieldWells, value); err != nil { return err } - case "GroupLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.GroupLabelOptions, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "SizeLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SizeLabelOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentTreeMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } - default: _, _ = key, value @@ -89922,7 +86669,6 @@ func awsRestjson1_deserializeDocumentTreeMapFieldWells(v **types.TreeMapFieldWel if err := awsRestjson1_deserializeDocumentTreeMapAggregatedFieldWells(&sv.TreeMapAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -89992,12 +86738,10 @@ func awsRestjson1_deserializeDocumentTreeMapSortConfiguration(v **types.TreeMapS if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.TreeMapGroupItemsLimitConfiguration, value); err != nil { return err } - case "TreeMapSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.TreeMapSort, value); err != nil { return err } - default: _, _ = key, value @@ -90033,27 +86777,22 @@ func awsRestjson1_deserializeDocumentTreeMapVisual(v **types.TreeMapVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentTreeMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -90062,7 +86801,6 @@ func awsRestjson1_deserializeDocumentTreeMapVisual(v **types.TreeMapVisual, valu } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -90102,7 +86840,6 @@ func awsRestjson1_deserializeDocumentTrendArrowOptions(v **types.TrendArrowOptio } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -90142,7 +86879,6 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Catalog = ptr.String(jtv) } - case "Host": if value != nil { jtv, ok := value.(string) @@ -90151,7 +86887,6 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Host = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -90164,7 +86899,6 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -90208,7 +86942,6 @@ func awsRestjson1_deserializeDocumentTwitterParameters(v **types.TwitterParamete } sv.MaxRows = ptr.Int32(int32(i64)) } - case "Query": if value != nil { jtv, ok := value.(string) @@ -90217,7 +86950,6 @@ func awsRestjson1_deserializeDocumentTwitterParameters(v **types.TwitterParamete } sv.Query = ptr.String(jtv) } - default: _, _ = key, value @@ -90289,7 +87021,6 @@ func awsRestjson1_deserializeDocumentTypography(v **types.Typography, value inte if err := awsRestjson1_deserializeDocumentFontList(&sv.FontFamilies, value); err != nil { return err } - default: _, _ = key, value @@ -90329,7 +87060,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Accent = ptr.String(jtv) } - case "AccentForeground": if value != nil { jtv, ok := value.(string) @@ -90338,7 +87068,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.AccentForeground = ptr.String(jtv) } - case "Danger": if value != nil { jtv, ok := value.(string) @@ -90347,7 +87076,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Danger = ptr.String(jtv) } - case "DangerForeground": if value != nil { jtv, ok := value.(string) @@ -90356,7 +87084,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.DangerForeground = ptr.String(jtv) } - case "Dimension": if value != nil { jtv, ok := value.(string) @@ -90365,7 +87092,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Dimension = ptr.String(jtv) } - case "DimensionForeground": if value != nil { jtv, ok := value.(string) @@ -90374,7 +87100,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.DimensionForeground = ptr.String(jtv) } - case "Measure": if value != nil { jtv, ok := value.(string) @@ -90383,7 +87108,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Measure = ptr.String(jtv) } - case "MeasureForeground": if value != nil { jtv, ok := value.(string) @@ -90392,7 +87116,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.MeasureForeground = ptr.String(jtv) } - case "PrimaryBackground": if value != nil { jtv, ok := value.(string) @@ -90401,7 +87124,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.PrimaryBackground = ptr.String(jtv) } - case "PrimaryForeground": if value != nil { jtv, ok := value.(string) @@ -90410,7 +87132,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.PrimaryForeground = ptr.String(jtv) } - case "SecondaryBackground": if value != nil { jtv, ok := value.(string) @@ -90419,7 +87140,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SecondaryBackground = ptr.String(jtv) } - case "SecondaryForeground": if value != nil { jtv, ok := value.(string) @@ -90428,7 +87148,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SecondaryForeground = ptr.String(jtv) } - case "Success": if value != nil { jtv, ok := value.(string) @@ -90437,7 +87156,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Success = ptr.String(jtv) } - case "SuccessForeground": if value != nil { jtv, ok := value.(string) @@ -90446,7 +87164,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SuccessForeground = ptr.String(jtv) } - case "Warning": if value != nil { jtv, ok := value.(string) @@ -90455,7 +87172,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Warning = ptr.String(jtv) } - case "WarningForeground": if value != nil { jtv, ok := value.(string) @@ -90464,7 +87180,6 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.WarningForeground = ptr.String(jtv) } - default: _, _ = key, value @@ -90500,7 +87215,6 @@ func awsRestjson1_deserializeDocumentUnaggregatedField(v **types.UnaggregatedFie if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } - case "FieldId": if value != nil { jtv, ok := value.(string) @@ -90509,12 +87223,10 @@ func awsRestjson1_deserializeDocumentUnaggregatedField(v **types.UnaggregatedFie } sv.FieldId = ptr.String(jtv) } - case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -90584,7 +87296,6 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } - case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -90593,7 +87304,6 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal } sv.ComputationId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -90602,7 +87312,6 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -90632,15 +87341,9 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -90648,7 +87351,6 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -90657,15 +87359,11 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -90690,15 +87388,9 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -90706,7 +87398,6 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U } sv.Message = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -90715,15 +87406,11 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -90758,12 +87445,10 @@ func awsRestjson1_deserializeDocumentUntagColumnOperation(v **types.UntagColumnO } sv.ColumnName = ptr.String(jtv) } - case "TagNames": if err := awsRestjson1_deserializeDocumentColumnTagNames(&sv.TagNames, value); err != nil { return err } - default: _, _ = key, value @@ -90837,7 +87522,6 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.ContainsHeader = ptr.Bool(jtv) } - case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -90846,7 +87530,6 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.Delimiter = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -90855,7 +87538,6 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.Format = types.FileFormat(jtv) } - case "StartFromRow": if value != nil { jtv, ok := value.(json.Number) @@ -90868,7 +87550,6 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.StartFromRow = ptr.Int32(int32(i64)) } - case "TextQualifier": if value != nil { jtv, ok := value.(string) @@ -90877,7 +87558,6 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.TextQualifier = types.TextQualifier(jtv) } - default: _, _ = key, value @@ -90917,7 +87597,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Active = jtv } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -90926,7 +87605,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } - case "CustomPermissionsName": if value != nil { jtv, ok := value.(string) @@ -90935,7 +87613,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.CustomPermissionsName = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -90944,7 +87621,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Email = ptr.String(jtv) } - case "ExternalLoginFederationProviderType": if value != nil { jtv, ok := value.(string) @@ -90953,7 +87629,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginFederationProviderType = ptr.String(jtv) } - case "ExternalLoginFederationProviderUrl": if value != nil { jtv, ok := value.(string) @@ -90962,7 +87637,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginFederationProviderUrl = ptr.String(jtv) } - case "ExternalLoginId": if value != nil { jtv, ok := value.(string) @@ -90971,7 +87645,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginId = ptr.String(jtv) } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -90980,7 +87653,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityType = types.IdentityType(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -90989,7 +87661,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrincipalId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -90998,7 +87669,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Role = types.UserRole(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -91007,7 +87677,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -91077,7 +87746,6 @@ func awsRestjson1_deserializeDocumentVisibleRangeOptions(v **types.VisibleRangeO if err := awsRestjson1_deserializeDocumentPercentVisibleRange(&sv.PercentRange, value); err != nil { return err } - default: _, _ = key, value @@ -91113,117 +87781,94 @@ func awsRestjson1_deserializeDocumentVisual(v **types.Visual, value interface{}) if err := awsRestjson1_deserializeDocumentBarChartVisual(&sv.BarChartVisual, value); err != nil { return err } - case "BoxPlotVisual": if err := awsRestjson1_deserializeDocumentBoxPlotVisual(&sv.BoxPlotVisual, value); err != nil { return err } - case "ComboChartVisual": if err := awsRestjson1_deserializeDocumentComboChartVisual(&sv.ComboChartVisual, value); err != nil { return err } - case "CustomContentVisual": if err := awsRestjson1_deserializeDocumentCustomContentVisual(&sv.CustomContentVisual, value); err != nil { return err } - case "EmptyVisual": if err := awsRestjson1_deserializeDocumentEmptyVisual(&sv.EmptyVisual, value); err != nil { return err } - case "FilledMapVisual": if err := awsRestjson1_deserializeDocumentFilledMapVisual(&sv.FilledMapVisual, value); err != nil { return err } - case "FunnelChartVisual": if err := awsRestjson1_deserializeDocumentFunnelChartVisual(&sv.FunnelChartVisual, value); err != nil { return err } - case "GaugeChartVisual": if err := awsRestjson1_deserializeDocumentGaugeChartVisual(&sv.GaugeChartVisual, value); err != nil { return err } - case "GeospatialMapVisual": if err := awsRestjson1_deserializeDocumentGeospatialMapVisual(&sv.GeospatialMapVisual, value); err != nil { return err } - case "HeatMapVisual": if err := awsRestjson1_deserializeDocumentHeatMapVisual(&sv.HeatMapVisual, value); err != nil { return err } - case "HistogramVisual": if err := awsRestjson1_deserializeDocumentHistogramVisual(&sv.HistogramVisual, value); err != nil { return err } - case "InsightVisual": if err := awsRestjson1_deserializeDocumentInsightVisual(&sv.InsightVisual, value); err != nil { return err } - case "KPIVisual": if err := awsRestjson1_deserializeDocumentKPIVisual(&sv.KPIVisual, value); err != nil { return err } - case "LineChartVisual": if err := awsRestjson1_deserializeDocumentLineChartVisual(&sv.LineChartVisual, value); err != nil { return err } - case "PieChartVisual": if err := awsRestjson1_deserializeDocumentPieChartVisual(&sv.PieChartVisual, value); err != nil { return err } - case "PivotTableVisual": if err := awsRestjson1_deserializeDocumentPivotTableVisual(&sv.PivotTableVisual, value); err != nil { return err } - case "RadarChartVisual": if err := awsRestjson1_deserializeDocumentRadarChartVisual(&sv.RadarChartVisual, value); err != nil { return err } - case "SankeyDiagramVisual": if err := awsRestjson1_deserializeDocumentSankeyDiagramVisual(&sv.SankeyDiagramVisual, value); err != nil { return err } - case "ScatterPlotVisual": if err := awsRestjson1_deserializeDocumentScatterPlotVisual(&sv.ScatterPlotVisual, value); err != nil { return err } - case "TableVisual": if err := awsRestjson1_deserializeDocumentTableVisual(&sv.TableVisual, value); err != nil { return err } - case "TreeMapVisual": if err := awsRestjson1_deserializeDocumentTreeMapVisual(&sv.TreeMapVisual, value); err != nil { return err } - case "WaterfallVisual": if err := awsRestjson1_deserializeDocumentWaterfallVisual(&sv.WaterfallVisual, value); err != nil { return err } - case "WordCloudVisual": if err := awsRestjson1_deserializeDocumentWordCloudVisual(&sv.WordCloudVisual, value); err != nil { return err } - default: _, _ = key, value @@ -91263,7 +87908,6 @@ func awsRestjson1_deserializeDocumentVisualAxisSortOption(v **types.VisualAxisSo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -91299,7 +87943,6 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc if err := awsRestjson1_deserializeDocumentVisualCustomActionOperationList(&sv.ActionOperations, value); err != nil { return err } - case "CustomActionId": if value != nil { jtv, ok := value.(string) @@ -91308,7 +87951,6 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.CustomActionId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -91317,7 +87959,6 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -91326,7 +87967,6 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Status = types.WidgetStatus(jtv) } - case "Trigger": if value != nil { jtv, ok := value.(string) @@ -91335,7 +87975,6 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Trigger = types.VisualCustomActionTrigger(jtv) } - default: _, _ = key, value @@ -91405,22 +88044,18 @@ func awsRestjson1_deserializeDocumentVisualCustomActionOperation(v **types.Visua if err := awsRestjson1_deserializeDocumentCustomActionFilterOperation(&sv.FilterOperation, value); err != nil { return err } - case "NavigationOperation": if err := awsRestjson1_deserializeDocumentCustomActionNavigationOperation(&sv.NavigationOperation, value); err != nil { return err } - case "SetParametersOperation": if err := awsRestjson1_deserializeDocumentCustomActionSetParametersOperation(&sv.SetParametersOperation, value); err != nil { return err } - case "URLOperation": if err := awsRestjson1_deserializeDocumentCustomActionURLOperation(&sv.URLOperation, value); err != nil { return err } - default: _, _ = key, value @@ -91490,12 +88125,10 @@ func awsRestjson1_deserializeDocumentVisualInteractionOptions(v **types.VisualIn if err := awsRestjson1_deserializeDocumentContextMenuOption(&sv.ContextMenuOption, value); err != nil { return err } - case "VisualMenuOption": if err := awsRestjson1_deserializeDocumentVisualMenuOption(&sv.VisualMenuOption, value); err != nil { return err } - default: _, _ = key, value @@ -91569,7 +88202,6 @@ func awsRestjson1_deserializeDocumentVisualMenuOption(v **types.VisualMenuOption } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } - default: _, _ = key, value @@ -91609,7 +88241,6 @@ func awsRestjson1_deserializeDocumentVisualOptions(v **types.VisualOptions, valu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -91649,12 +88280,10 @@ func awsRestjson1_deserializeDocumentVisualPalette(v **types.VisualPalette, valu } sv.ChartColor = ptr.String(jtv) } - case "ColorMap": if err := awsRestjson1_deserializeDocumentDataPathColorList(&sv.ColorMap, value); err != nil { return err } - default: _, _ = key, value @@ -91690,7 +88319,6 @@ func awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(v **types.Visual if err := awsRestjson1_deserializeDocumentLongFormatText(&sv.FormatText, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -91699,7 +88327,6 @@ func awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(v **types.Visual } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -91735,7 +88362,6 @@ func awsRestjson1_deserializeDocumentVisualTitleLabelOptions(v **types.VisualTit if err := awsRestjson1_deserializeDocumentShortFormatText(&sv.FormatText, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -91744,7 +88370,6 @@ func awsRestjson1_deserializeDocumentVisualTitleLabelOptions(v **types.VisualTit } sv.Visibility = types.Visibility(jtv) } - default: _, _ = key, value @@ -91784,7 +88409,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Arn = ptr.String(jtv) } - case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -91793,7 +88417,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -91809,12 +88432,10 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } } - case "DnsResolvers": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsResolvers, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -91830,7 +88451,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -91839,12 +88459,10 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Name = ptr.String(jtv) } - case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91853,12 +88471,10 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.RoleArn = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -91867,7 +88483,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Status = types.VPCConnectionResourceStatus(jtv) } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -91876,7 +88491,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.VPCConnectionId = ptr.String(jtv) } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -91885,7 +88499,6 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -91925,7 +88538,6 @@ func awsRestjson1_deserializeDocumentVpcConnectionProperties(v **types.VpcConnec } sv.VpcConnectionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -91965,7 +88577,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Arn = ptr.String(jtv) } - case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -91974,7 +88585,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -91990,12 +88600,10 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } } - case "DnsResolvers": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsResolvers, value); err != nil { return err } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -92011,7 +88619,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -92020,12 +88627,10 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Name = ptr.String(jtv) } - case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -92034,12 +88639,10 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.RoleArn = ptr.String(jtv) } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -92048,7 +88651,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Status = types.VPCConnectionResourceStatus(jtv) } - case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -92057,7 +88659,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.VPCConnectionId = ptr.String(jtv) } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -92066,7 +88667,6 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -92208,17 +88808,14 @@ func awsRestjson1_deserializeDocumentWaterfallChartAggregatedFieldWells(v **type if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Breakdowns, value); err != nil { return err } - case "Categories": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Categories, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -92254,7 +88851,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartColorConfiguration(v **types. if err := awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(&sv.GroupColorConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -92290,62 +88886,50 @@ func awsRestjson1_deserializeDocumentWaterfallChartConfiguration(v **types.Water if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxisDisplayOptions, value); err != nil { return err } - case "CategoryAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryAxisLabelOptions, value); err != nil { return err } - case "ColorConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartColorConfiguration(&sv.ColorConfiguration, value); err != nil { return err } - case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentWaterfallChartFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } - case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } - case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } - case "WaterfallChartOptions": if err := awsRestjson1_deserializeDocumentWaterfallChartOptions(&sv.WaterfallChartOptions, value); err != nil { return err } - default: _, _ = key, value @@ -92381,7 +88965,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartFieldWells(v **types.Waterfal if err := awsRestjson1_deserializeDocumentWaterfallChartAggregatedFieldWells(&sv.WaterfallChartAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -92421,7 +89004,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.NegativeBarColor = ptr.String(jtv) } - case "PositiveBarColor": if value != nil { jtv, ok := value.(string) @@ -92430,7 +89012,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.PositiveBarColor = ptr.String(jtv) } - case "TotalBarColor": if value != nil { jtv, ok := value.(string) @@ -92439,7 +89020,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.TotalBarColor = ptr.String(jtv) } - default: _, _ = key, value @@ -92479,7 +89059,6 @@ func awsRestjson1_deserializeDocumentWaterfallChartOptions(v **types.WaterfallCh } sv.TotalBarLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -92515,12 +89094,10 @@ func awsRestjson1_deserializeDocumentWaterfallChartSortConfiguration(v **types.W if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.BreakdownItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - default: _, _ = key, value @@ -92556,27 +89133,22 @@ func awsRestjson1_deserializeDocumentWaterfallVisual(v **types.WaterfallVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -92585,7 +89157,6 @@ func awsRestjson1_deserializeDocumentWaterfallVisual(v **types.WaterfallVisual, } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -92632,7 +89203,6 @@ func awsRestjson1_deserializeDocumentWhatIfPointScenario(v **types.WhatIfPointSc } } - case "Value": if value != nil { switch jtv := value.(type) { @@ -92666,7 +89236,6 @@ func awsRestjson1_deserializeDocumentWhatIfPointScenario(v **types.WhatIfPointSc } } - default: _, _ = key, value @@ -92713,7 +89282,6 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -92729,7 +89297,6 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } - case "Value": if value != nil { switch jtv := value.(type) { @@ -92763,7 +89330,6 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } - default: _, _ = key, value @@ -92799,12 +89365,10 @@ func awsRestjson1_deserializeDocumentWordCloudAggregatedFieldWells(v **types.Wor if err := awsRestjson1_deserializeDocumentWordCloudDimensionFieldList(&sv.GroupBy, value); err != nil { return err } - case "Size": if err := awsRestjson1_deserializeDocumentWordCloudMeasureFieldList(&sv.Size, value); err != nil { return err } - default: _, _ = key, value @@ -92840,27 +89404,22 @@ func awsRestjson1_deserializeDocumentWordCloudChartConfiguration(v **types.WordC if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } - case "FieldWells": if err := awsRestjson1_deserializeDocumentWordCloudFieldWells(&sv.FieldWells, value); err != nil { return err } - case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } - case "SortConfiguration": if err := awsRestjson1_deserializeDocumentWordCloudSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } - case "WordCloudOptions": if err := awsRestjson1_deserializeDocumentWordCloudOptions(&sv.WordCloudOptions, value); err != nil { return err } - default: _, _ = key, value @@ -92930,7 +89489,6 @@ func awsRestjson1_deserializeDocumentWordCloudFieldWells(v **types.WordCloudFiel if err := awsRestjson1_deserializeDocumentWordCloudAggregatedFieldWells(&sv.WordCloudAggregatedFieldWells, value); err != nil { return err } - default: _, _ = key, value @@ -93004,7 +89562,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.CloudLayout = types.WordCloudCloudLayout(jtv) } - case "MaximumStringLength": if value != nil { jtv, ok := value.(json.Number) @@ -93017,7 +89574,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.MaximumStringLength = ptr.Int32(int32(i64)) } - case "WordCasing": if value != nil { jtv, ok := value.(string) @@ -93026,7 +89582,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordCasing = types.WordCloudWordCasing(jtv) } - case "WordOrientation": if value != nil { jtv, ok := value.(string) @@ -93035,7 +89590,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordOrientation = types.WordCloudWordOrientation(jtv) } - case "WordPadding": if value != nil { jtv, ok := value.(string) @@ -93044,7 +89598,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordPadding = types.WordCloudWordPadding(jtv) } - case "WordScaling": if value != nil { jtv, ok := value.(string) @@ -93053,7 +89606,6 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordScaling = types.WordCloudWordScaling(jtv) } - default: _, _ = key, value @@ -93089,12 +89641,10 @@ func awsRestjson1_deserializeDocumentWordCloudSortConfiguration(v **types.WordCl if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } - case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } - default: _, _ = key, value @@ -93130,27 +89680,22 @@ func awsRestjson1_deserializeDocumentWordCloudVisual(v **types.WordCloudVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } - case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentWordCloudChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } - case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } - case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } - case "VisualId": if value != nil { jtv, ok := value.(string) @@ -93159,7 +89704,6 @@ func awsRestjson1_deserializeDocumentWordCloudVisual(v **types.WordCloudVisual, } sv.VisualId = ptr.String(jtv) } - default: _, _ = key, value @@ -93199,7 +89743,6 @@ func awsRestjson1_deserializeDocumentYAxisOptions(v **types.YAxisOptions, value } sv.YAxis = types.SingleYAxisOption(jtv) } - default: _, _ = key, value diff --git a/service/ram/deserializers.go b/service/ram/deserializers.go index 0e628d29294..2ce09dea942 100644 --- a/service/ram/deserializers.go +++ b/service/ram/deserializers.go @@ -202,12 +202,10 @@ func awsRestjson1_deserializeOpDocumentAcceptResourceShareInvitationOutput(v **A } sv.ClientToken = ptr.String(jtv) } - case "resourceShareInvitation": if err := awsRestjson1_deserializeDocumentResourceShareInvitation(&sv.ResourceShareInvitation, value); err != nil { return err } - default: _, _ = key, value @@ -393,12 +391,10 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceShareOutput(v **Associat } sv.ClientToken = ptr.String(jtv) } - case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -572,7 +568,6 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceSharePermissionOutput(v } sv.ClientToken = ptr.String(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -581,7 +576,6 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceSharePermissionOutput(v } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -764,12 +758,10 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionOutput(v **CreatePermissi } sv.ClientToken = ptr.String(jtv) } - case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionSummary(&sv.Permission, value); err != nil { return err } - default: _, _ = key, value @@ -952,12 +944,10 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionVersionOutput(v **CreateP } sv.ClientToken = ptr.String(jtv) } - case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionDetail(&sv.Permission, value); err != nil { return err } - default: _, _ = key, value @@ -1146,12 +1136,10 @@ func awsRestjson1_deserializeOpDocumentCreateResourceShareOutput(v **CreateResou } sv.ClientToken = ptr.String(jtv) } - case "resourceShare": if err := awsRestjson1_deserializeDocumentResourceShare(&sv.ResourceShare, value); err != nil { return err } - default: _, _ = key, value @@ -1325,7 +1313,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.ClientToken = ptr.String(jtv) } - case "permissionStatus": if value != nil { jtv, ok := value.(string) @@ -1334,7 +1321,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.PermissionStatus = types.PermissionStatus(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1343,7 +1329,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1520,7 +1505,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.ClientToken = ptr.String(jtv) } - case "permissionStatus": if value != nil { jtv, ok := value.(string) @@ -1529,7 +1513,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.PermissionStatus = types.PermissionStatus(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1538,7 +1521,6 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1718,7 +1700,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourceShareOutput(v **DeleteResou } sv.ClientToken = ptr.String(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1727,7 +1708,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourceShareOutput(v **DeleteResou } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -1910,12 +1890,10 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceShareOutput(v **Disas } sv.ClientToken = ptr.String(jtv) } - case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -2092,7 +2070,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceSharePermissionOutput } sv.ClientToken = ptr.String(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -2101,7 +2078,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceSharePermissionOutput } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2263,7 +2239,6 @@ func awsRestjson1_deserializeOpDocumentEnableSharingWithAwsOrganizationOutput(v } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2430,7 +2405,6 @@ func awsRestjson1_deserializeOpDocumentGetPermissionOutput(v **GetPermissionOutp if err := awsRestjson1_deserializeDocumentResourceSharePermissionDetail(&sv.Permission, value); err != nil { return err } - default: _, _ = key, value @@ -2601,12 +2575,10 @@ func awsRestjson1_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } - case "policies": if err := awsRestjson1_deserializeDocumentPolicyList(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -2780,12 +2752,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceShareAssociationsOutput(v **Ge } sv.NextToken = ptr.String(jtv) } - case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -2962,12 +2932,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceShareInvitationsOutput(v **Get } sv.NextToken = ptr.String(jtv) } - case "resourceShareInvitations": if err := awsRestjson1_deserializeDocumentResourceShareInvitationList(&sv.ResourceShareInvitations, value); err != nil { return err } - default: _, _ = key, value @@ -3138,12 +3106,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceSharesOutput(v **GetResourceSh } sv.NextToken = ptr.String(jtv) } - case "resourceShares": if err := awsRestjson1_deserializeDocumentResourceShareList(&sv.ResourceShares, value); err != nil { return err } - default: _, _ = key, value @@ -3323,12 +3289,10 @@ func awsRestjson1_deserializeOpDocumentListPendingInvitationResourcesOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -3496,12 +3460,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentAssociatedPermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -3669,12 +3631,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -3848,12 +3808,10 @@ func awsRestjson1_deserializeOpDocumentListPermissionVersionsOutput(v **ListPerm } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -4024,12 +3982,10 @@ func awsRestjson1_deserializeOpDocumentListPrincipalsOutput(v **ListPrincipalsOu } sv.NextToken = ptr.String(jtv) } - case "principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -4194,12 +4150,10 @@ func awsRestjson1_deserializeOpDocumentListReplacePermissionAssociationsWorkOutp } sv.NextToken = ptr.String(jtv) } - case "replacePermissionAssociationsWorks": if err := awsRestjson1_deserializeDocumentReplacePermissionAssociationsWorkList(&sv.ReplacePermissionAssociationsWorks, value); err != nil { return err } - default: _, _ = key, value @@ -4373,12 +4327,10 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -4552,12 +4504,10 @@ func awsRestjson1_deserializeOpDocumentListResourceSharePermissionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -4722,12 +4672,10 @@ func awsRestjson1_deserializeOpDocumentListResourceTypesOutput(v **ListResourceT } sv.NextToken = ptr.String(jtv) } - case "resourceTypes": if err := awsRestjson1_deserializeDocumentServiceNameAndResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -4901,12 +4849,10 @@ func awsRestjson1_deserializeOpDocumentPromotePermissionCreatedFromPolicyOutput( } sv.ClientToken = ptr.String(jtv) } - case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionSummary(&sv.Permission, value); err != nil { return err } - default: _, _ = key, value @@ -5089,7 +5035,6 @@ func awsRestjson1_deserializeOpDocumentPromoteResourceShareCreatedFromPolicyOutp } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5272,12 +5217,10 @@ func awsRestjson1_deserializeOpDocumentRejectResourceShareInvitationOutput(v **R } sv.ClientToken = ptr.String(jtv) } - case "resourceShareInvitation": if err := awsRestjson1_deserializeDocumentResourceShareInvitation(&sv.ResourceShareInvitation, value); err != nil { return err } - default: _, _ = key, value @@ -5454,12 +5397,10 @@ func awsRestjson1_deserializeOpDocumentReplacePermissionAssociationsOutput(v **R } sv.ClientToken = ptr.String(jtv) } - case "replacePermissionAssociationsWork": if err := awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(&sv.ReplacePermissionAssociationsWork, value); err != nil { return err } - default: _, _ = key, value @@ -5633,7 +5574,6 @@ func awsRestjson1_deserializeOpDocumentSetDefaultPermissionVersionOutput(v **Set } sv.ClientToken = ptr.String(jtv) } - case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -5642,7 +5582,6 @@ func awsRestjson1_deserializeOpDocumentSetDefaultPermissionVersionOutput(v **Set } sv.ReturnValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6031,12 +5970,10 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceShareOutput(v **UpdateResou } sv.ClientToken = ptr.String(jtv) } - case "resourceShare": if err := awsRestjson1_deserializeDocumentResourceShare(&sv.ResourceShare, value); err != nil { return err } - default: _, _ = key, value @@ -7084,7 +7021,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.Arn = ptr.String(jtv) } - case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -7093,7 +7029,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.DefaultVersion = ptr.Bool(jtv) } - case "featureSet": if value != nil { jtv, ok := value.(string) @@ -7102,7 +7037,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.FeatureSet = types.PermissionFeatureSet(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7118,7 +7052,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } } - case "permissionVersion": if value != nil { jtv, ok := value.(string) @@ -7127,7 +7060,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.PermissionVersion = ptr.String(jtv) } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -7136,7 +7068,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.ResourceShareArn = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7145,7 +7076,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.ResourceType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7154,7 +7084,6 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -7218,15 +7147,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7234,15 +7157,11 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7267,15 +7186,9 @@ func awsRestjson1_deserializeDocumentInvalidClientTokenException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7283,15 +7196,11 @@ func awsRestjson1_deserializeDocumentInvalidClientTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7316,15 +7225,9 @@ func awsRestjson1_deserializeDocumentInvalidMaxResultsException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7332,15 +7235,11 @@ func awsRestjson1_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7365,15 +7264,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7381,15 +7274,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7414,15 +7303,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7430,15 +7313,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7463,15 +7342,9 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7479,15 +7352,11 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7512,15 +7381,9 @@ func awsRestjson1_deserializeDocumentInvalidResourceTypeException(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7528,15 +7391,11 @@ func awsRestjson1_deserializeDocumentInvalidResourceTypeException(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7561,15 +7420,9 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7577,15 +7430,11 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7610,15 +7459,9 @@ func awsRestjson1_deserializeDocumentMalformedArnException(v **types.MalformedAr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7626,15 +7469,11 @@ func awsRestjson1_deserializeDocumentMalformedArnException(v **types.MalformedAr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7659,15 +7498,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyTemplateException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7675,15 +7508,11 @@ func awsRestjson1_deserializeDocumentMalformedPolicyTemplateException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7708,15 +7537,9 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7724,15 +7547,11 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7757,15 +7576,9 @@ func awsRestjson1_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7773,15 +7586,11 @@ func awsRestjson1_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7806,15 +7615,9 @@ func awsRestjson1_deserializeDocumentPermissionAlreadyExistsException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7822,15 +7625,11 @@ func awsRestjson1_deserializeDocumentPermissionAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7855,15 +7654,9 @@ func awsRestjson1_deserializeDocumentPermissionLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7871,15 +7664,11 @@ func awsRestjson1_deserializeDocumentPermissionLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7904,15 +7693,9 @@ func awsRestjson1_deserializeDocumentPermissionVersionsLimitExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7920,15 +7703,11 @@ func awsRestjson1_deserializeDocumentPermissionVersionsLimitExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8006,7 +7785,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } } - case "external": if value != nil { jtv, ok := value.(bool) @@ -8015,7 +7793,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.External = ptr.Bool(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8024,7 +7801,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8040,7 +7816,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8049,7 +7824,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.ResourceShareArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8130,7 +7904,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } } - case "fromPermissionArn": if value != nil { jtv, ok := value.(string) @@ -8139,7 +7912,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.FromPermissionArn = ptr.String(jtv) } - case "fromPermissionVersion": if value != nil { jtv, ok := value.(string) @@ -8148,7 +7920,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.FromPermissionVersion = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8157,7 +7928,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.Id = ptr.String(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8173,7 +7943,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } } - case "status": if value != nil { jtv, ok := value.(string) @@ -8182,7 +7951,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.Status = types.ReplacePermissionAssociationsWorkStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8191,7 +7959,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.StatusMessage = ptr.String(jtv) } - case "toPermissionArn": if value != nil { jtv, ok := value.(string) @@ -8200,7 +7967,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.ToPermissionArn = ptr.String(jtv) } - case "toPermissionVersion": if value != nil { jtv, ok := value.(string) @@ -8209,7 +7975,6 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.ToPermissionVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8283,7 +8048,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8299,7 +8063,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8315,7 +8078,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } } - case "resourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -8324,7 +8086,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceGroupArn = ptr.String(jtv) } - case "resourceRegionScope": if value != nil { jtv, ok := value.(string) @@ -8333,7 +8094,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceRegionScope = types.ResourceRegionScope(jtv) } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8342,7 +8102,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceShareArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8351,7 +8110,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Status = types.ResourceStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8360,7 +8118,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.StatusMessage = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -8369,7 +8126,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8399,15 +8155,9 @@ func awsRestjson1_deserializeDocumentResourceArnNotFoundException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8415,15 +8165,11 @@ func awsRestjson1_deserializeDocumentResourceArnNotFoundException(v **types.Reso } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8492,7 +8238,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.AllowExternalPrincipals = ptr.Bool(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8508,7 +8253,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } } - case "featureSet": if value != nil { jtv, ok := value.(string) @@ -8517,7 +8261,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.FeatureSet = types.ResourceShareFeatureSet(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8533,7 +8276,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8542,7 +8284,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.Name = ptr.String(jtv) } - case "owningAccountId": if value != nil { jtv, ok := value.(string) @@ -8551,7 +8292,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.OwningAccountId = ptr.String(jtv) } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8560,7 +8300,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.ResourceShareArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8569,7 +8308,6 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.Status = types.ResourceShareStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8578,12 +8316,10 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.StatusMessage = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8623,7 +8359,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.AssociatedEntity = ptr.String(jtv) } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -8632,7 +8367,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.AssociationType = types.ResourceShareAssociationType(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8648,7 +8382,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } } - case "external": if value != nil { jtv, ok := value.(bool) @@ -8657,7 +8390,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.External = ptr.Bool(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8673,7 +8405,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8682,7 +8413,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.ResourceShareArn = ptr.String(jtv) } - case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -8691,7 +8421,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.ResourceShareName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8700,7 +8429,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.Status = types.ResourceShareAssociationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8709,7 +8437,6 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -8790,7 +8517,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } } - case "receiverAccountId": if value != nil { jtv, ok := value.(string) @@ -8799,7 +8525,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ReceiverAccountId = ptr.String(jtv) } - case "receiverArn": if value != nil { jtv, ok := value.(string) @@ -8808,7 +8533,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ReceiverArn = ptr.String(jtv) } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8817,12 +8541,10 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareArn = ptr.String(jtv) } - case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } - case "resourceShareInvitationArn": if value != nil { jtv, ok := value.(string) @@ -8831,7 +8553,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareInvitationArn = ptr.String(jtv) } - case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -8840,7 +8561,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareName = ptr.String(jtv) } - case "senderAccountId": if value != nil { jtv, ok := value.(string) @@ -8849,7 +8569,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.SenderAccountId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8858,7 +8577,6 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.Status = types.ResourceShareInvitationStatus(jtv) } - default: _, _ = key, value @@ -8888,15 +8606,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyAcceptedExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8904,15 +8616,11 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyAcceptedExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8937,15 +8645,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyRejectedExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8953,15 +8655,11 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyRejectedExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8986,15 +8684,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationArnNotFoundException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9002,15 +8694,11 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationArnNotFoundException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9035,15 +8723,9 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationExpiredException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9051,15 +8733,11 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationExpiredException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9118,15 +8796,9 @@ func awsRestjson1_deserializeDocumentResourceShareLimitExceededException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9134,15 +8806,11 @@ func awsRestjson1_deserializeDocumentResourceShareLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9211,7 +8879,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9227,7 +8894,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } } - case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -9236,7 +8902,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.DefaultVersion = ptr.Bool(jtv) } - case "featureSet": if value != nil { jtv, ok := value.(string) @@ -9245,7 +8910,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.FeatureSet = types.PermissionFeatureSet(jtv) } - case "isResourceTypeDefault": if value != nil { jtv, ok := value.(bool) @@ -9254,7 +8918,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.IsResourceTypeDefault = ptr.Bool(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9270,7 +8933,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9279,7 +8941,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Name = ptr.String(jtv) } - case "permission": if value != nil { jtv, ok := value.(string) @@ -9288,7 +8949,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Permission = ptr.String(jtv) } - case "permissionType": if value != nil { jtv, ok := value.(string) @@ -9297,7 +8957,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.PermissionType = types.PermissionType(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9306,7 +8965,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.ResourceType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9315,12 +8973,10 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Status = types.PermissionStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -9329,7 +8985,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9403,7 +9058,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9419,7 +9073,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } } - case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -9428,7 +9081,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.DefaultVersion = ptr.Bool(jtv) } - case "featureSet": if value != nil { jtv, ok := value.(string) @@ -9437,7 +9089,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.FeatureSet = types.PermissionFeatureSet(jtv) } - case "isResourceTypeDefault": if value != nil { jtv, ok := value.(bool) @@ -9446,7 +9097,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.IsResourceTypeDefault = ptr.Bool(jtv) } - case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9462,7 +9112,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9471,7 +9120,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Name = ptr.String(jtv) } - case "permissionType": if value != nil { jtv, ok := value.(string) @@ -9480,7 +9128,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.PermissionType = types.PermissionType(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9489,7 +9136,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.ResourceType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9498,12 +9144,10 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Status = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -9512,7 +9156,6 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -9542,15 +9185,9 @@ func awsRestjson1_deserializeDocumentServerInternalException(v **types.ServerInt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9558,15 +9195,11 @@ func awsRestjson1_deserializeDocumentServerInternalException(v **types.ServerInt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9601,7 +9234,6 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ResourceRegionScope = types.ResourceRegionScope(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9610,7 +9242,6 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ResourceType = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -9619,7 +9250,6 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -9683,15 +9313,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9699,15 +9323,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9742,7 +9362,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9751,7 +9370,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9781,15 +9399,9 @@ func awsRestjson1_deserializeDocumentTagLimitExceededException(v **types.TagLimi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9797,15 +9409,11 @@ func awsRestjson1_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9864,15 +9472,9 @@ func awsRestjson1_deserializeDocumentTagPolicyViolationException(v **types.TagPo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9880,15 +9482,11 @@ func awsRestjson1_deserializeDocumentTagPolicyViolationException(v **types.TagPo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9913,15 +9511,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9929,15 +9521,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9962,15 +9550,9 @@ func awsRestjson1_deserializeDocumentUnknownResourceException(v **types.UnknownR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9978,15 +9560,11 @@ func awsRestjson1_deserializeDocumentUnknownResourceException(v **types.UnknownR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10011,15 +9589,9 @@ func awsRestjson1_deserializeDocumentUnmatchedPolicyPermissionException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10027,15 +9599,11 @@ func awsRestjson1_deserializeDocumentUnmatchedPolicyPermissionException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/rbin/deserializers.go b/service/rbin/deserializers.go index 194d60cb461..419d13606b9 100644 --- a/service/rbin/deserializers.go +++ b/service/rbin/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -190,12 +189,10 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Identifier = ptr.String(jtv) } - case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -204,12 +201,10 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.LockState = types.LockState(jtv) } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -218,12 +213,10 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -232,7 +225,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -241,12 +233,10 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Status = types.RuleStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -505,7 +495,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -514,12 +503,10 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Identifier = ptr.String(jtv) } - case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } - case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -535,7 +522,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -544,12 +530,10 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.LockState = types.LockState(jtv) } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -558,12 +542,10 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.ResourceType = types.ResourceType(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -572,7 +554,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -581,7 +562,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Status = types.RuleStatus(jtv) } - default: _, _ = key, value @@ -740,12 +720,10 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -903,7 +881,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1068,7 +1045,6 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1077,12 +1053,10 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Identifier = ptr.String(jtv) } - case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -1091,12 +1065,10 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.LockState = types.LockState(jtv) } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1105,12 +1077,10 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.ResourceType = types.ResourceType(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1119,7 +1089,6 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.RuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1128,7 +1097,6 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Status = types.RuleStatus(jtv) } - default: _, _ = key, value @@ -1390,7 +1358,6 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1399,12 +1366,10 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Identifier = ptr.String(jtv) } - case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } - case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -1420,7 +1385,6 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -1429,12 +1393,10 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.LockState = types.LockState(jtv) } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1443,12 +1405,10 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1457,7 +1417,6 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.RuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1466,7 +1425,6 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Status = types.RuleStatus(jtv) } - default: _, _ = key, value @@ -1728,7 +1686,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1737,7 +1694,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Identifier = ptr.String(jtv) } - case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -1753,7 +1709,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -1762,12 +1717,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.LockState = types.LockState(jtv) } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1776,12 +1729,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1790,7 +1741,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1799,7 +1749,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Status = types.RuleStatus(jtv) } - default: _, _ = key, value @@ -2009,15 +1958,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2025,7 +1968,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2034,15 +1976,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2067,15 +2005,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2083,15 +2015,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2122,7 +2050,6 @@ func awsRestjson1_deserializeDocumentLockConfiguration(v **types.LockConfigurati if err := awsRestjson1_deserializeDocumentUnlockDelay(&sv.UnlockDelay, value); err != nil { return err } - default: _, _ = key, value @@ -2152,15 +2079,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2168,7 +2089,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2177,15 +2097,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = types.ResourceNotFoundExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2220,7 +2136,6 @@ func awsRestjson1_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceTagKey = ptr.String(jtv) } - case "ResourceTagValue": if value != nil { jtv, ok := value.(string) @@ -2229,7 +2144,6 @@ func awsRestjson1_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceTagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -2303,7 +2217,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.RetentionPeriodUnit = types.RetentionPeriodUnit(jtv) } - case "RetentionPeriodValue": if value != nil { jtv, ok := value.(json.Number) @@ -2316,7 +2229,6 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.RetentionPeriodValue = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2356,7 +2268,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Description = ptr.String(jtv) } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -2365,7 +2276,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Identifier = ptr.String(jtv) } - case "LockState": if value != nil { jtv, ok := value.(string) @@ -2374,12 +2284,10 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.LockState = types.LockState(jtv) } - case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -2388,7 +2296,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2452,15 +2359,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2468,7 +2369,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2477,15 +2377,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2520,7 +2416,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2529,7 +2424,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2603,7 +2497,6 @@ func awsRestjson1_deserializeDocumentUnlockDelay(v **types.UnlockDelay, value in } sv.UnlockDelayUnit = types.UnlockDelayUnit(jtv) } - case "UnlockDelayValue": if value != nil { jtv, ok := value.(json.Number) @@ -2616,7 +2509,6 @@ func awsRestjson1_deserializeDocumentUnlockDelay(v **types.UnlockDelay, value in } sv.UnlockDelayValue = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2646,15 +2538,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2662,7 +2548,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -2671,15 +2556,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/rdsdata/deserializers.go b/service/rdsdata/deserializers.go index 8069544d57d..ab0f075f0db 100644 --- a/service/rdsdata/deserializers.go +++ b/service/rdsdata/deserializers.go @@ -209,7 +209,6 @@ func awsRestjson1_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec if err := awsRestjson1_deserializeDocumentUpdateResults(&sv.UpdateResults, value); err != nil { return err } - default: _, _ = key, value @@ -401,7 +400,6 @@ func awsRestjson1_deserializeOpDocumentBeginTransactionOutput(v **BeginTransacti } sv.TransactionId = ptr.String(jtv) } - default: _, _ = key, value @@ -596,7 +594,6 @@ func awsRestjson1_deserializeOpDocumentCommitTransactionOutput(v **CommitTransac } sv.TransactionStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -760,7 +757,6 @@ func awsRestjson1_deserializeOpDocumentExecuteSqlOutput(v **ExecuteSqlOutput, va if err := awsRestjson1_deserializeDocumentSqlStatementResults(&sv.SqlStatementResults, value); err != nil { return err } - default: _, _ = key, value @@ -951,7 +947,6 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme if err := awsRestjson1_deserializeDocumentMetadata(&sv.ColumnMetadata, value); err != nil { return err } - case "formattedRecords": if value != nil { jtv, ok := value.(string) @@ -960,12 +955,10 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.FormattedRecords = ptr.String(jtv) } - case "generatedFields": if err := awsRestjson1_deserializeDocumentFieldList(&sv.GeneratedFields, value); err != nil { return err } - case "numberOfRecordsUpdated": if value != nil { jtv, ok := value.(json.Number) @@ -978,12 +971,10 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.NumberOfRecordsUpdated = i64 } - case "records": if err := awsRestjson1_deserializeDocumentSqlRecords(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -1178,7 +1169,6 @@ func awsRestjson1_deserializeOpDocumentRollbackTransactionOutput(v **RollbackTra } sv.TransactionStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -1655,15 +1645,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1671,15 +1655,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1838,15 +1818,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1854,15 +1828,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1937,7 +1907,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.ArrayBaseColumnType = int32(i64) } - case "isAutoIncrement": if value != nil { jtv, ok := value.(bool) @@ -1946,7 +1915,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsAutoIncrement = jtv } - case "isCaseSensitive": if value != nil { jtv, ok := value.(bool) @@ -1955,7 +1923,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCaseSensitive = jtv } - case "isCurrency": if value != nil { jtv, ok := value.(bool) @@ -1964,7 +1931,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCurrency = jtv } - case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -1973,7 +1939,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsSigned = jtv } - case "label": if value != nil { jtv, ok := value.(string) @@ -1982,7 +1947,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Label = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1991,7 +1955,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Name = ptr.String(jtv) } - case "nullable": if value != nil { jtv, ok := value.(json.Number) @@ -2004,7 +1967,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Nullable = int32(i64) } - case "precision": if value != nil { jtv, ok := value.(json.Number) @@ -2017,7 +1979,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Precision = int32(i64) } - case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -2030,7 +1991,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Scale = int32(i64) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -2039,7 +1999,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.SchemaName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -2048,7 +2007,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TableName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(json.Number) @@ -2061,7 +2019,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Type = int32(i64) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -2070,7 +2027,6 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -2100,15 +2056,9 @@ func awsRestjson1_deserializeDocumentDatabaseErrorException(v **types.DatabaseEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2116,15 +2066,11 @@ func awsRestjson1_deserializeDocumentDatabaseErrorException(v **types.DatabaseEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2149,15 +2095,9 @@ func awsRestjson1_deserializeDocumentDatabaseNotFoundException(v **types.Databas sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2165,15 +2105,11 @@ func awsRestjson1_deserializeDocumentDatabaseNotFoundException(v **types.Databas } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2198,22 +2134,13 @@ func awsRestjson1_deserializeDocumentDatabaseUnavailableException(v **types.Data sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2474,15 +2401,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2490,15 +2411,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2523,15 +2440,9 @@ func awsRestjson1_deserializeDocumentHttpEndpointNotEnabledException(v **types.H sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2539,15 +2450,11 @@ func awsRestjson1_deserializeDocumentHttpEndpointNotEnabledException(v **types.H } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2572,22 +2479,13 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2612,15 +2510,9 @@ func awsRestjson1_deserializeDocumentInvalidSecretException(v **types.InvalidSec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2628,15 +2520,11 @@ func awsRestjson1_deserializeDocumentInvalidSecretException(v **types.InvalidSec } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2735,15 +2623,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2751,15 +2633,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2790,7 +2668,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) if err := awsRestjson1_deserializeDocumentRow(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -2860,12 +2737,10 @@ func awsRestjson1_deserializeDocumentResultFrame(v **types.ResultFrame, value in if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } - case "resultSetMetadata": if err := awsRestjson1_deserializeDocumentResultSetMetadata(&sv.ResultSetMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -2909,12 +2784,10 @@ func awsRestjson1_deserializeDocumentResultSetMetadata(v **types.ResultSetMetada } sv.ColumnCount = i64 } - case "columnMetadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.ColumnMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -2976,15 +2849,9 @@ func awsRestjson1_deserializeDocumentSecretsErrorException(v **types.SecretsErro sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2992,15 +2859,11 @@ func awsRestjson1_deserializeDocumentSecretsErrorException(v **types.SecretsErro } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3025,22 +2888,13 @@ func awsRestjson1_deserializeDocumentServiceUnavailableError(v **types.ServiceUn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3111,12 +2965,10 @@ func awsRestjson1_deserializeDocumentSqlStatementResult(v **types.SqlStatementRe } sv.NumberOfRecordsUpdated = i64 } - case "resultFrame": if err := awsRestjson1_deserializeDocumentResultFrame(&sv.ResultFrame, value); err != nil { return err } - default: _, _ = key, value @@ -3180,13 +3032,7 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "dbConnectionId": if value != nil { @@ -3200,8 +3046,7 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme } sv.DbConnectionId = i64 } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3209,15 +3054,11 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3284,7 +3125,6 @@ func awsRestjson1_deserializeDocumentStructValue(v **types.StructValue, value in if err := awsRestjson1_deserializeDocumentArrayValueList(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -3314,15 +3154,9 @@ func awsRestjson1_deserializeDocumentTransactionNotFoundException(v **types.Tran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3330,15 +3164,11 @@ func awsRestjson1_deserializeDocumentTransactionNotFoundException(v **types.Tran } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3363,15 +3193,9 @@ func awsRestjson1_deserializeDocumentUnsupportedResultException(v **types.Unsupp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3379,15 +3203,11 @@ func awsRestjson1_deserializeDocumentUnsupportedResultException(v **types.Unsupp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3418,7 +3238,6 @@ func awsRestjson1_deserializeDocumentUpdateResult(v **types.UpdateResult, value if err := awsRestjson1_deserializeDocumentFieldList(&sv.GeneratedFields, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/redshiftdata/deserializers.go b/service/redshiftdata/deserializers.go index dba401016fc..acd837842d4 100644 --- a/service/redshiftdata/deserializers.go +++ b/service/redshiftdata/deserializers.go @@ -1677,15 +1677,9 @@ func awsAwsjson11_deserializeDocumentActiveSessionsExceededException(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1693,15 +1687,11 @@ func awsAwsjson11_deserializeDocumentActiveSessionsExceededException(v **types.A } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1726,15 +1716,9 @@ func awsAwsjson11_deserializeDocumentActiveStatementsExceededException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1742,15 +1726,11 @@ func awsAwsjson11_deserializeDocumentActiveStatementsExceededException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1775,15 +1755,9 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1791,7 +1765,6 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba } sv.Message = ptr.String(jtv) } - case "StatementId": if value != nil { jtv, ok := value.(string) @@ -1800,15 +1773,11 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba } sv.StatementId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1877,7 +1846,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.ColumnDefault = ptr.String(jtv) } - case "isCaseSensitive": if value != nil { jtv, ok := value.(bool) @@ -1886,7 +1854,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCaseSensitive = jtv } - case "isCurrency": if value != nil { jtv, ok := value.(bool) @@ -1895,7 +1862,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCurrency = jtv } - case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -1904,7 +1870,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsSigned = jtv } - case "label": if value != nil { jtv, ok := value.(string) @@ -1913,7 +1878,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Label = ptr.String(jtv) } - case "length": if value != nil { jtv, ok := value.(json.Number) @@ -1926,7 +1890,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Length = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1935,7 +1898,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Name = ptr.String(jtv) } - case "nullable": if value != nil { jtv, ok := value.(json.Number) @@ -1948,7 +1910,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Nullable = int32(i64) } - case "precision": if value != nil { jtv, ok := value.(json.Number) @@ -1961,7 +1922,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Precision = int32(i64) } - case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -1974,7 +1934,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Scale = int32(i64) } - case "schemaName": if value != nil { jtv, ok := value.(string) @@ -1983,7 +1942,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.SchemaName = ptr.String(jtv) } - case "tableName": if value != nil { jtv, ok := value.(string) @@ -1992,7 +1950,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TableName = ptr.String(jtv) } - case "typeName": if value != nil { jtv, ok := value.(string) @@ -2001,7 +1958,6 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -2065,15 +2021,9 @@ func awsAwsjson11_deserializeDocumentDatabaseConnectionException(v **types.Datab sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2081,15 +2031,11 @@ func awsAwsjson11_deserializeDocumentDatabaseConnectionException(v **types.Datab } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2186,15 +2132,9 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2202,7 +2142,6 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute } sv.Message = ptr.String(jtv) } - case "StatementId": if value != nil { jtv, ok := value.(string) @@ -2211,15 +2150,11 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute } sv.StatementId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2443,15 +2378,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2459,15 +2388,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2534,15 +2459,9 @@ func awsAwsjson11_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2550,15 +2469,11 @@ func awsAwsjson11_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2583,15 +2498,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2599,7 +2508,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2608,15 +2516,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2687,7 +2591,6 @@ func awsAwsjson11_deserializeDocumentSqlParameter(v **types.SqlParameter, value } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2696,7 +2599,6 @@ func awsAwsjson11_deserializeDocumentSqlParameter(v **types.SqlParameter, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2809,7 +2711,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2818,7 +2719,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.Id = ptr.String(jtv) } - case "IsBatchStatement": if value != nil { jtv, ok := value.(bool) @@ -2827,12 +2727,10 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.IsBatchStatement = ptr.Bool(jtv) } - case "QueryParameters": if err := awsAwsjson11_deserializeDocumentSqlParametersList(&sv.QueryParameters, value); err != nil { return err } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -2841,12 +2739,10 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.QueryString = ptr.String(jtv) } - case "QueryStrings": if err := awsAwsjson11_deserializeDocumentStatementStringList(&sv.QueryStrings, value); err != nil { return err } - case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -2855,7 +2751,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.ResultFormat = types.ResultFormatString(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -2864,7 +2759,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.SecretArn = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -2873,7 +2767,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.SessionId = ptr.String(jtv) } - case "StatementName": if value != nil { jtv, ok := value.(string) @@ -2882,7 +2775,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.StatementName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2891,7 +2783,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.Status = types.StatusString(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2907,7 +2798,6 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } } - default: _, _ = key, value @@ -3024,7 +2914,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3037,7 +2926,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Duration = i64 } - case "Error": if value != nil { jtv, ok := value.(string) @@ -3046,7 +2934,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Error = ptr.String(jtv) } - case "HasResultSet": if value != nil { jtv, ok := value.(bool) @@ -3055,7 +2942,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.HasResultSet = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3064,7 +2950,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Id = ptr.String(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -3073,7 +2958,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.QueryString = ptr.String(jtv) } - case "RedshiftQueryId": if value != nil { jtv, ok := value.(json.Number) @@ -3086,7 +2970,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.RedshiftQueryId = i64 } - case "ResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -3099,7 +2982,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.ResultRows = i64 } - case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -3112,7 +2994,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.ResultSize = i64 } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3121,7 +3002,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Status = types.StatementStatusString(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3137,7 +3017,6 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } } - default: _, _ = key, value @@ -3245,7 +3124,6 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Name = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -3254,7 +3132,6 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Schema = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3263,7 +3140,6 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -3293,15 +3169,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3309,15 +3179,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3352,7 +3218,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.ClusterIdentifier = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3368,7 +3233,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } } - case "Database": if value != nil { jtv, ok := value.(string) @@ -3377,12 +3241,10 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.Database = ptr.String(jtv) } - case "DbGroups": if err := awsAwsjson11_deserializeDocumentDbGroupList(&sv.DbGroups, value); err != nil { return err } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3391,7 +3253,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.DbUser = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3400,7 +3261,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.Id = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3409,7 +3269,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.SecretArn = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3418,7 +3277,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.SessionId = ptr.String(jtv) } - case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3427,7 +3285,6 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3467,7 +3324,6 @@ func awsAwsjson11_deserializeOpDocumentCancelStatementOutput(v **CancelStatement } sv.Status = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3507,7 +3363,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ClusterIdentifier = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3523,7 +3378,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } } - case "Database": if value != nil { jtv, ok := value.(string) @@ -3532,7 +3386,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Database = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3541,7 +3394,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.DbUser = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3554,7 +3406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Duration = i64 } - case "Error": if value != nil { jtv, ok := value.(string) @@ -3563,7 +3414,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Error = ptr.String(jtv) } - case "HasResultSet": if value != nil { jtv, ok := value.(bool) @@ -3572,7 +3422,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.HasResultSet = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3581,12 +3430,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Id = ptr.String(jtv) } - case "QueryParameters": if err := awsAwsjson11_deserializeDocumentSqlParametersList(&sv.QueryParameters, value); err != nil { return err } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -3595,7 +3442,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.QueryString = ptr.String(jtv) } - case "RedshiftPid": if value != nil { jtv, ok := value.(json.Number) @@ -3608,7 +3454,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.RedshiftPid = i64 } - case "RedshiftQueryId": if value != nil { jtv, ok := value.(json.Number) @@ -3621,7 +3466,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.RedshiftQueryId = i64 } - case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -3630,7 +3474,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultFormat = types.ResultFormatString(jtv) } - case "ResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -3643,7 +3486,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultRows = i64 } - case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -3656,7 +3498,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultSize = i64 } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3665,7 +3506,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.SecretArn = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3674,7 +3514,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.SessionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3683,12 +3522,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Status = types.StatusString(jtv) } - case "SubStatements": if err := awsAwsjson11_deserializeDocumentSubStatementList(&sv.SubStatements, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3704,7 +3541,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } } - case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3713,7 +3549,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3749,7 +3584,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson11_deserializeDocumentColumnList(&sv.ColumnList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3758,7 +3592,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp } sv.NextToken = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -3767,7 +3600,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -3807,7 +3639,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.ClusterIdentifier = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3823,7 +3654,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } } - case "Database": if value != nil { jtv, ok := value.(string) @@ -3832,12 +3662,10 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.Database = ptr.String(jtv) } - case "DbGroups": if err := awsAwsjson11_deserializeDocumentDbGroupList(&sv.DbGroups, value); err != nil { return err } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3846,7 +3674,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.DbUser = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3855,7 +3682,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.Id = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3864,7 +3690,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.SecretArn = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3873,7 +3698,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.SessionId = ptr.String(jtv) } - case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3882,7 +3706,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3918,7 +3741,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement if err := awsAwsjson11_deserializeDocumentColumnMetadataList(&sv.ColumnMetadata, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3927,12 +3749,10 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement } sv.NextToken = ptr.String(jtv) } - case "Records": if err := awsAwsjson11_deserializeDocumentSqlRecords(&sv.Records, value); err != nil { return err } - case "TotalNumRows": if value != nil { jtv, ok := value.(json.Number) @@ -3945,7 +3765,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement } sv.TotalNumRows = i64 } - default: _, _ = key, value @@ -3981,7 +3800,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme if err := awsAwsjson11_deserializeDocumentColumnMetadataList(&sv.ColumnMetadata, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3990,12 +3808,10 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.NextToken = ptr.String(jtv) } - case "Records": if err := awsAwsjson11_deserializeDocumentFormattedSqlRecords(&sv.Records, value); err != nil { return err } - case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -4004,7 +3820,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.ResultFormat = types.ResultFormatString(jtv) } - case "TotalNumRows": if value != nil { jtv, ok := value.(json.Number) @@ -4017,7 +3832,6 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.TotalNumRows = i64 } - default: _, _ = key, value @@ -4053,7 +3867,6 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4062,7 +3875,6 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4102,12 +3914,10 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -4147,12 +3957,10 @@ func awsAwsjson11_deserializeOpDocumentListStatementsOutput(v **ListStatementsOu } sv.NextToken = ptr.String(jtv) } - case "Statements": if err := awsAwsjson11_deserializeDocumentStatementList(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -4192,12 +4000,10 @@ func awsAwsjson11_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } - case "Tables": if err := awsAwsjson11_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/redshiftserverless/deserializers.go b/service/redshiftserverless/deserializers.go index 81a283d9cf5..077ccdf8a16 100644 --- a/service/redshiftserverless/deserializers.go +++ b/service/redshiftserverless/deserializers.go @@ -7074,13 +7074,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -7090,8 +7084,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7099,15 +7092,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7178,7 +7167,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainCertificateArn = ptr.String(jtv) } - case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -7191,7 +7179,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -7200,7 +7187,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainName = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -7209,7 +7195,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7283,7 +7268,6 @@ func awsAwsjson11_deserializeDocumentConfigParameter(v **types.ConfigParameter, } sv.ParameterKey = ptr.String(jtv) } - case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -7292,7 +7276,6 @@ func awsAwsjson11_deserializeDocumentConfigParameter(v **types.ConfigParameter, } sv.ParameterValue = ptr.String(jtv) } - default: _, _ = key, value @@ -7356,15 +7339,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7372,15 +7349,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7415,7 +7388,6 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.NamespaceName = ptr.String(jtv) } - case "retentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -7428,7 +7400,6 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "snapshotNamePrefix": if value != nil { jtv, ok := value.(string) @@ -7437,12 +7408,10 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.SnapshotNamePrefix = ptr.String(jtv) } - case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7482,7 +7451,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -7495,12 +7463,10 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.Int32(int32(i64)) } - case "vpcEndpoints": if err := awsAwsjson11_deserializeDocumentVpcEndpointList(&sv.VpcEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -7540,7 +7506,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.Address = ptr.String(jtv) } - case "endpointArn": if value != nil { jtv, ok := value.(string) @@ -7549,7 +7514,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointArn = ptr.String(jtv) } - case "endpointCreateTime": if value != nil { jtv, ok := value.(string) @@ -7562,7 +7526,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointCreateTime = ptr.Time(t) } - case "endpointName": if value != nil { jtv, ok := value.(string) @@ -7571,7 +7534,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointName = ptr.String(jtv) } - case "endpointStatus": if value != nil { jtv, ok := value.(string) @@ -7580,7 +7542,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointStatus = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -7593,22 +7554,18 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.Port = ptr.Int32(int32(i64)) } - case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcEndpoint": if err := awsAwsjson11_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } - case "vpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(&sv.VpcSecurityGroups, value); err != nil { return err } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -7617,7 +7574,6 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -7717,15 +7673,9 @@ func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.Ins sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7733,15 +7683,11 @@ func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7766,15 +7712,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7782,15 +7722,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7815,15 +7751,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7831,15 +7761,11 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7864,15 +7790,9 @@ func awsAwsjson11_deserializeDocumentIpv6CidrBlockNotFoundException(v **types.Ip sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7880,15 +7800,11 @@ func awsAwsjson11_deserializeDocumentIpv6CidrBlockNotFoundException(v **types.Ip } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7959,7 +7875,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminPasswordSecretArn = ptr.String(jtv) } - case "adminPasswordSecretKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7968,7 +7883,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminPasswordSecretKmsKeyId = ptr.String(jtv) } - case "adminUsername": if value != nil { jtv, ok := value.(string) @@ -7977,7 +7891,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminUsername = ptr.String(jtv) } - case "creationDate": if value != nil { jtv, ok := value.(string) @@ -7990,7 +7903,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.CreationDate = ptr.Time(t) } - case "dbName": if value != nil { jtv, ok := value.(string) @@ -7999,7 +7911,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.DbName = ptr.String(jtv) } - case "defaultIamRoleArn": if value != nil { jtv, ok := value.(string) @@ -8008,12 +7919,10 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.DefaultIamRoleArn = ptr.String(jtv) } - case "iamRoles": if err := awsAwsjson11_deserializeDocumentIamRoleArnList(&sv.IamRoles, value); err != nil { return err } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -8022,12 +7931,10 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.KmsKeyId = ptr.String(jtv) } - case "logExports": if err := awsAwsjson11_deserializeDocumentLogExportList(&sv.LogExports, value); err != nil { return err } - case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -8036,7 +7943,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceId": if value != nil { jtv, ok := value.(string) @@ -8045,7 +7951,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceId = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8054,7 +7959,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8063,7 +7967,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Status = types.NamespaceStatus(jtv) } - default: _, _ = key, value @@ -8137,7 +8040,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AvailabilityZone = ptr.String(jtv) } - case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -8146,7 +8048,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } - case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8155,7 +8056,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -8164,7 +8064,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } - case "subnetId": if value != nil { jtv, ok := value.(string) @@ -8173,7 +8072,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -8294,7 +8192,6 @@ func awsAwsjson11_deserializeDocumentPerformanceTarget(v **types.PerformanceTarg } sv.Level = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -8303,7 +8200,6 @@ func awsAwsjson11_deserializeDocumentPerformanceTarget(v **types.PerformanceTarg } sv.Status = types.PerformanceTargetStatus(jtv) } - default: _, _ = key, value @@ -8343,7 +8239,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8352,7 +8247,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.NamespaceName = ptr.String(jtv) } - case "recoveryPointCreateTime": if value != nil { jtv, ok := value.(string) @@ -8365,7 +8259,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.RecoveryPointCreateTime = ptr.Time(t) } - case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -8374,7 +8267,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.RecoveryPointId = ptr.String(jtv) } - case "totalSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -8408,7 +8300,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -8417,7 +8308,6 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -8481,15 +8371,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8497,7 +8381,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -8506,15 +8389,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8549,7 +8428,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Policy = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8558,7 +8436,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8659,7 +8536,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionAssociation(v **types.Schedu } sv.NamespaceName = ptr.String(jtv) } - case "scheduledActionName": if value != nil { jtv, ok := value.(string) @@ -8668,7 +8544,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionAssociation(v **types.Schedu } sv.ScheduledActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -8715,7 +8590,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8724,12 +8598,10 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.NamespaceName = ptr.String(jtv) } - case "nextInvocations": if err := awsAwsjson11_deserializeDocumentNextInvocationsList(&sv.NextInvocations, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8738,12 +8610,10 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.RoleArn = ptr.String(jtv) } - case "schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } - case "scheduledActionDescription": if value != nil { jtv, ok := value.(string) @@ -8752,7 +8622,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionDescription = ptr.String(jtv) } - case "scheduledActionName": if value != nil { jtv, ok := value.(string) @@ -8761,7 +8630,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionName = ptr.String(jtv) } - case "scheduledActionUuid": if value != nil { jtv, ok := value.(string) @@ -8770,7 +8638,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionUuid = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -8786,7 +8653,6 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } } - case "state": if value != nil { jtv, ok := value.(string) @@ -8795,12 +8661,10 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.State = types.State(jtv) } - case "targetAction": if err := awsAwsjson11_deserializeDocumentTargetAction(&sv.TargetAction, value); err != nil { return err } - default: _, _ = key, value @@ -8900,15 +8764,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8916,15 +8774,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8955,12 +8809,10 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithProvisionedRestoreAccess, value); err != nil { return err } - case "accountsWithRestoreAccess": if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithRestoreAccess, value); err != nil { return err } - case "actualIncrementalBackupSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -8994,7 +8846,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - case "adminPasswordSecretArn": if value != nil { jtv, ok := value.(string) @@ -9003,7 +8854,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminPasswordSecretArn = ptr.String(jtv) } - case "adminPasswordSecretKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9012,7 +8862,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminPasswordSecretKmsKeyId = ptr.String(jtv) } - case "adminUsername": if value != nil { jtv, ok := value.(string) @@ -9021,7 +8870,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminUsername = ptr.String(jtv) } - case "backupProgressInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -9055,7 +8903,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - case "currentBackupRateInMegaBytesPerSecond": if value != nil { switch jtv := value.(type) { @@ -9089,7 +8936,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - case "elapsedTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9102,7 +8948,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ElapsedTimeInSeconds = ptr.Int64(i64) } - case "estimatedSecondsToCompletion": if value != nil { jtv, ok := value.(json.Number) @@ -9115,7 +8960,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.EstimatedSecondsToCompletion = ptr.Int64(i64) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9124,7 +8968,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -9133,7 +8976,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.NamespaceArn = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -9142,7 +8984,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.NamespaceName = ptr.String(jtv) } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -9151,7 +8992,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.OwnerAccount = ptr.String(jtv) } - case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -9160,7 +9000,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotArn = ptr.String(jtv) } - case "snapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -9173,7 +9012,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotCreateTime = ptr.Time(t) } - case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -9182,7 +9020,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotName = ptr.String(jtv) } - case "snapshotRemainingDays": if value != nil { jtv, ok := value.(json.Number) @@ -9195,7 +9032,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRemainingDays = ptr.Int32(int32(i64)) } - case "snapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9208,7 +9044,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - case "snapshotRetentionStartTime": if value != nil { jtv, ok := value.(string) @@ -9221,7 +9056,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRetentionStartTime = ptr.Time(t) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9230,7 +9064,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = types.SnapshotStatus(jtv) } - case "totalBackupSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -9264,7 +9097,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - default: _, _ = key, value @@ -9304,7 +9136,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.DestinationKmsKeyId = ptr.String(jtv) } - case "destinationRegion": if value != nil { jtv, ok := value.(string) @@ -9313,7 +9144,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.DestinationRegion = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -9322,7 +9152,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.NamespaceName = ptr.String(jtv) } - case "snapshotCopyConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9331,7 +9160,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotCopyConfigurationArn = ptr.String(jtv) } - case "snapshotCopyConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9340,7 +9168,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotCopyConfigurationId = ptr.String(jtv) } - case "snapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9353,7 +9180,6 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9497,7 +9323,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.Message = ptr.String(jtv) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -9506,7 +9331,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.NamespaceName = ptr.String(jtv) } - case "newTableName": if value != nil { jtv, ok := value.(string) @@ -9515,7 +9339,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.NewTableName = ptr.String(jtv) } - case "progressInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9528,7 +9351,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.ProgressInMegaBytes = ptr.Int64(i64) } - case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -9537,7 +9359,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.RecoveryPointId = ptr.String(jtv) } - case "requestTime": if value != nil { switch jtv := value.(type) { @@ -9553,7 +9374,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } } - case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -9562,7 +9382,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SnapshotName = ptr.String(jtv) } - case "sourceDatabaseName": if value != nil { jtv, ok := value.(string) @@ -9571,7 +9390,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceDatabaseName = ptr.String(jtv) } - case "sourceSchemaName": if value != nil { jtv, ok := value.(string) @@ -9580,7 +9398,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceSchemaName = ptr.String(jtv) } - case "sourceTableName": if value != nil { jtv, ok := value.(string) @@ -9589,7 +9406,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceTableName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9598,7 +9414,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.Status = ptr.String(jtv) } - case "tableRestoreRequestId": if value != nil { jtv, ok := value.(string) @@ -9607,7 +9422,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TableRestoreRequestId = ptr.String(jtv) } - case "targetDatabaseName": if value != nil { jtv, ok := value.(string) @@ -9616,7 +9430,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TargetDatabaseName = ptr.String(jtv) } - case "targetSchemaName": if value != nil { jtv, ok := value.(string) @@ -9625,7 +9438,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TargetSchemaName = ptr.String(jtv) } - case "totalDataInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9638,7 +9450,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TotalDataInMegaBytes = ptr.Int64(i64) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -9647,7 +9458,6 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -9721,7 +9531,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -9730,7 +9539,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9834,13 +9642,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -9850,8 +9652,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9859,15 +9660,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9892,15 +9689,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9908,7 +9699,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9917,15 +9707,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9964,7 +9750,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.Amount = ptr.Int64(i64) } - case "breachAction": if value != nil { jtv, ok := value.(string) @@ -9973,7 +9758,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.BreachAction = types.UsageLimitBreachAction(jtv) } - case "period": if value != nil { jtv, ok := value.(string) @@ -9982,7 +9766,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.Period = types.UsageLimitPeriod(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9991,7 +9774,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.ResourceArn = ptr.String(jtv) } - case "usageLimitArn": if value != nil { jtv, ok := value.(string) @@ -10000,7 +9782,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageLimitArn = ptr.String(jtv) } - case "usageLimitId": if value != nil { jtv, ok := value.(string) @@ -10009,7 +9790,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageLimitId = ptr.String(jtv) } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -10018,7 +9798,6 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageType = types.UsageLimitUsageType(jtv) } - default: _, _ = key, value @@ -10082,15 +9861,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10098,15 +9871,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10137,7 +9906,6 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in if err := awsAwsjson11_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } - case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -10146,7 +9914,6 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10155,7 +9922,6 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -10265,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.Status = ptr.String(jtv) } - case "vpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -10274,7 +10039,6 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.VpcSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -10352,12 +10116,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.BaseCapacity = ptr.Int32(int32(i64)) } - case "configParameters": if err := awsAwsjson11_deserializeDocumentConfigParameterList(&sv.ConfigParameters, value); err != nil { return err } - case "creationDate": if value != nil { jtv, ok := value.(string) @@ -10370,12 +10132,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CreationDate = ptr.Time(t) } - case "crossAccountVpcs": if err := awsAwsjson11_deserializeDocumentVpcIds(&sv.CrossAccountVpcs, value); err != nil { return err } - case "customDomainCertificateArn": if value != nil { jtv, ok := value.(string) @@ -10384,7 +10144,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainCertificateArn = ptr.String(jtv) } - case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -10397,7 +10156,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -10406,12 +10164,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainName = ptr.String(jtv) } - case "endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - case "enhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -10420,7 +10176,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.EnhancedVpcRouting = ptr.Bool(jtv) } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -10429,7 +10184,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.IpAddressType = ptr.String(jtv) } - case "maxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -10442,7 +10196,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -10451,7 +10204,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.NamespaceName = ptr.String(jtv) } - case "patchVersion": if value != nil { jtv, ok := value.(string) @@ -10460,7 +10212,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.PatchVersion = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10473,12 +10224,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.Port = ptr.Int32(int32(i64)) } - case "pricePerformanceTarget": if err := awsAwsjson11_deserializeDocumentPerformanceTarget(&sv.PricePerformanceTarget, value); err != nil { return err } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -10487,12 +10236,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "securityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -10501,12 +10248,10 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.Status = types.WorkgroupStatus(jtv) } - case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "workgroupArn": if value != nil { jtv, ok := value.(string) @@ -10515,7 +10260,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupArn = ptr.String(jtv) } - case "workgroupId": if value != nil { jtv, ok := value.(string) @@ -10524,7 +10268,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupId = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -10533,7 +10276,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupName = ptr.String(jtv) } - case "workgroupVersion": if value != nil { jtv, ok := value.(string) @@ -10542,7 +10284,6 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10612,7 +10353,6 @@ func awsAwsjson11_deserializeOpDocumentConvertRecoveryPointToSnapshotOutput(v ** if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -10652,7 +10392,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainCertificateArn = ptr.String(jtv) } - case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -10665,7 +10404,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -10674,7 +10412,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainName = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -10683,7 +10420,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -10719,7 +10455,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointAccessOutput(v **CreateEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -10755,7 +10490,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - default: _, _ = key, value @@ -10791,7 +10525,6 @@ func awsAwsjson11_deserializeOpDocumentCreateScheduledActionOutput(v **CreateSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } - default: _, _ = key, value @@ -10827,7 +10560,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -10863,7 +10595,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -10899,7 +10630,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageLimitOutput(v **CreateUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } - default: _, _ = key, value @@ -10935,7 +10665,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkgroupOutput(v **CreateWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } - default: _, _ = key, value @@ -11002,7 +10731,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteEndpointAccessOutput(v **DeleteEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -11038,7 +10766,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - default: _, _ = key, value @@ -11105,7 +10832,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteScheduledActionOutput(v **DeleteSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } - default: _, _ = key, value @@ -11141,7 +10867,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -11177,7 +10902,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -11213,7 +10937,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteUsageLimitOutput(v **DeleteUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } - default: _, _ = key, value @@ -11249,7 +10972,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkgroupOutput(v **DeleteWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } - default: _, _ = key, value @@ -11289,7 +11011,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } sv.DbPassword = ptr.String(jtv) } - case "dbUser": if value != nil { jtv, ok := value.(string) @@ -11298,7 +11019,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } sv.DbUser = ptr.String(jtv) } - case "expiration": if value != nil { switch jtv := value.(type) { @@ -11314,7 +11034,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } } - case "nextRefreshTime": if value != nil { switch jtv := value.(type) { @@ -11330,7 +11049,6 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } } - default: _, _ = key, value @@ -11370,7 +11088,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainCertificateArn = ptr.String(jtv) } - case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -11383,7 +11100,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -11392,7 +11108,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainName = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11116,6 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -11437,7 +11151,6 @@ func awsAwsjson11_deserializeOpDocumentGetEndpointAccessOutput(v **GetEndpointAc if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -11473,7 +11186,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(v **GetNamespaceOutput if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - default: _, _ = key, value @@ -11509,7 +11221,6 @@ func awsAwsjson11_deserializeOpDocumentGetRecoveryPointOutput(v **GetRecoveryPoi if err := awsAwsjson11_deserializeDocumentRecoveryPoint(&sv.RecoveryPoint, value); err != nil { return err } - default: _, _ = key, value @@ -11545,7 +11256,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -11581,7 +11291,6 @@ func awsAwsjson11_deserializeOpDocumentGetScheduledActionOutput(v **GetScheduled if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } - default: _, _ = key, value @@ -11617,7 +11326,6 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotOutput(v **GetSnapshotOutput, if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -11653,7 +11361,6 @@ func awsAwsjson11_deserializeOpDocumentGetTableRestoreStatusOutput(v **GetTableR if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } - default: _, _ = key, value @@ -11689,7 +11396,6 @@ func awsAwsjson11_deserializeOpDocumentGetUsageLimitOutput(v **GetUsageLimitOutp if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } - default: _, _ = key, value @@ -11725,7 +11431,6 @@ func awsAwsjson11_deserializeOpDocumentGetWorkgroupOutput(v **GetWorkgroupOutput if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } - default: _, _ = key, value @@ -11761,7 +11466,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomDomainAssociationsOutput(v **Li if err := awsAwsjson11_deserializeDocumentAssociationList(&sv.Associations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11770,7 +11474,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomDomainAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11806,7 +11509,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(v **ListEndpoint if err := awsAwsjson11_deserializeDocumentEndpointAccessList(&sv.Endpoints, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11815,7 +11517,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(v **ListEndpoint } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11851,7 +11552,6 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsAwsjson11_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11860,7 +11560,6 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11900,12 +11599,10 @@ func awsAwsjson11_deserializeOpDocumentListRecoveryPointsOutput(v **ListRecovery } sv.NextToken = ptr.String(jtv) } - case "recoveryPoints": if err := awsAwsjson11_deserializeDocumentRecoveryPointList(&sv.RecoveryPoints, value); err != nil { return err } - default: _, _ = key, value @@ -11945,12 +11642,10 @@ func awsAwsjson11_deserializeOpDocumentListScheduledActionsOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } - case "scheduledActions": if err := awsAwsjson11_deserializeDocumentScheduledActionsList(&sv.ScheduledActions, value); err != nil { return err } - default: _, _ = key, value @@ -11990,12 +11685,10 @@ func awsAwsjson11_deserializeOpDocumentListSnapshotCopyConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "snapshotCopyConfigurations": if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfigurations(&sv.SnapshotCopyConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -12035,12 +11728,10 @@ func awsAwsjson11_deserializeOpDocumentListSnapshotsOutput(v **ListSnapshotsOutp } sv.NextToken = ptr.String(jtv) } - case "snapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.Snapshots, value); err != nil { return err } - default: _, _ = key, value @@ -12080,12 +11771,10 @@ func awsAwsjson11_deserializeOpDocumentListTableRestoreStatusOutput(v **ListTabl } sv.NextToken = ptr.String(jtv) } - case "tableRestoreStatuses": if err := awsAwsjson11_deserializeDocumentTableRestoreStatusList(&sv.TableRestoreStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -12121,7 +11810,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12161,12 +11849,10 @@ func awsAwsjson11_deserializeOpDocumentListUsageLimitsOutput(v **ListUsageLimits } sv.NextToken = ptr.String(jtv) } - case "usageLimits": if err := awsAwsjson11_deserializeDocumentUsageLimits(&sv.UsageLimits, value); err != nil { return err } - default: _, _ = key, value @@ -12206,12 +11892,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkgroupsOutput(v **ListWorkgroupsOu } sv.NextToken = ptr.String(jtv) } - case "workgroups": if err := awsAwsjson11_deserializeDocumentWorkgroupList(&sv.Workgroups, value); err != nil { return err } - default: _, _ = key, value @@ -12247,7 +11931,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -12283,7 +11966,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(v **Restor if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -12292,7 +11974,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(v **Restor } sv.RecoveryPointId = ptr.String(jtv) } - default: _, _ = key, value @@ -12328,7 +12009,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12337,7 +12017,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom } sv.OwnerAccount = ptr.String(jtv) } - case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -12346,7 +12025,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom } sv.SnapshotName = ptr.String(jtv) } - default: _, _ = key, value @@ -12382,7 +12060,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreTableFromRecoveryPointOutput(v **R if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } - default: _, _ = key, value @@ -12418,7 +12095,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreTableFromSnapshotOutput(v **Restor if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } - default: _, _ = key, value @@ -12520,7 +12196,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainCertificateArn = ptr.String(jtv) } - case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -12533,7 +12208,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -12542,7 +12216,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainName = ptr.String(jtv) } - case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -12551,7 +12224,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.WorkgroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -12587,7 +12259,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointAccessOutput(v **UpdateEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } - default: _, _ = key, value @@ -12623,7 +12294,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateNamespaceOutput(v **UpdateNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - default: _, _ = key, value @@ -12659,7 +12329,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateScheduledActionOutput(v **UpdateSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } - default: _, _ = key, value @@ -12695,7 +12364,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -12731,7 +12399,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(v **UpdateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } - default: _, _ = key, value @@ -12767,7 +12434,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUsageLimitOutput(v **UpdateUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } - default: _, _ = key, value @@ -12803,7 +12469,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkgroupOutput(v **UpdateWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/rekognition/deserializers.go b/service/rekognition/deserializers.go index b9dbf7d92aa..ed4ea55a415 100644 --- a/service/rekognition/deserializers.go +++ b/service/rekognition/deserializers.go @@ -10678,13 +10678,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10694,7 +10688,6 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -10703,8 +10696,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10712,15 +10704,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10759,7 +10747,6 @@ func awsAwsjson11_deserializeDocumentAgeRange(v **types.AgeRange, value interfac } sv.High = ptr.Int32(int32(i64)) } - case "Low": if value != nil { jtv, ok := value.(json.Number) @@ -10772,7 +10759,6 @@ func awsAwsjson11_deserializeDocumentAgeRange(v **types.AgeRange, value interfac } sv.Low = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10808,7 +10794,6 @@ func awsAwsjson11_deserializeDocumentAsset(v **types.Asset, value interface{}) e if err := awsAwsjson11_deserializeDocumentGroundTruthManifest(&sv.GroundTruthManifest, value); err != nil { return err } - default: _, _ = key, value @@ -10882,7 +10867,6 @@ func awsAwsjson11_deserializeDocumentAssociatedFace(v **types.AssociatedFace, va } sv.FaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10956,7 +10940,6 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.Codec = ptr.String(jtv) } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10969,7 +10952,6 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.DurationMillis = ptr.Int64(i64) } - case "NumberOfChannels": if value != nil { jtv, ok := value.(json.Number) @@ -10982,7 +10964,6 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.NumberOfChannels = ptr.Int64(i64) } - case "SampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -10995,7 +10976,6 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.SampleRate = ptr.Int64(i64) } - default: _, _ = key, value @@ -11065,7 +11045,6 @@ func awsAwsjson11_deserializeDocumentAuditImage(v **types.AuditImage, value inte if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Bytes": if value != nil { jtv, ok := value.(string) @@ -11078,12 +11057,10 @@ func awsAwsjson11_deserializeDocumentAuditImage(v **types.AuditImage, value inte } sv.Bytes = dv } - case "S3Object": if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -11182,7 +11159,6 @@ func awsAwsjson11_deserializeDocumentBeard(v **types.Beard, value interface{}) e } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -11191,7 +11167,6 @@ func awsAwsjson11_deserializeDocumentBeard(v **types.Beard, value interface{}) e } sv.Value = jtv } - default: _, _ = key, value @@ -11290,7 +11265,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Left": if value != nil { switch jtv := value.(type) { @@ -11324,7 +11298,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Top": if value != nil { switch jtv := value.(type) { @@ -11358,7 +11331,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Width": if value != nil { switch jtv := value.(type) { @@ -11392,7 +11364,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - default: _, _ = key, value @@ -11428,7 +11399,6 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf if err := awsAwsjson11_deserializeDocumentComparedFace(&sv.Face, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11437,12 +11407,10 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } sv.Id = ptr.String(jtv) } - case "KnownGender": if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } - case "MatchConfidence": if value != nil { switch jtv := value.(type) { @@ -11476,7 +11444,6 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11485,12 +11452,10 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } sv.Name = ptr.String(jtv) } - case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } - default: _, _ = key, value @@ -11526,7 +11491,6 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11560,12 +11524,10 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } } - case "Face": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11574,12 +11536,10 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } sv.Id = ptr.String(jtv) } - case "KnownGender": if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11588,12 +11548,10 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } sv.Name = ptr.String(jtv) } - case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } - default: _, _ = key, value @@ -11663,7 +11621,6 @@ func awsAwsjson11_deserializeDocumentCelebrityRecognition(v **types.CelebrityRec if err := awsAwsjson11_deserializeDocumentCelebrityDetail(&sv.Celebrity, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -11676,7 +11633,6 @@ func awsAwsjson11_deserializeDocumentCelebrityRecognition(v **types.CelebrityRec } sv.Timestamp = i64 } - default: _, _ = key, value @@ -11782,7 +11738,6 @@ func awsAwsjson11_deserializeDocumentComparedFace(v **types.ComparedFace, value if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11816,32 +11771,26 @@ func awsAwsjson11_deserializeDocumentComparedFace(v **types.ComparedFace, value } } - case "Emotions": if err := awsAwsjson11_deserializeDocumentEmotions(&sv.Emotions, value); err != nil { return err } - case "Landmarks": if err := awsAwsjson11_deserializeDocumentLandmarks(&sv.Landmarks, value); err != nil { return err } - case "Pose": if err := awsAwsjson11_deserializeDocumentPose(&sv.Pose, value); err != nil { return err } - case "Quality": if err := awsAwsjson11_deserializeDocumentImageQuality(&sv.Quality, value); err != nil { return err } - case "Smile": if err := awsAwsjson11_deserializeDocumentSmile(&sv.Smile, value); err != nil { return err } - default: _, _ = key, value @@ -11911,7 +11860,6 @@ func awsAwsjson11_deserializeDocumentComparedSourceImageFace(v **types.ComparedS if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11945,7 +11893,6 @@ func awsAwsjson11_deserializeDocumentComparedSourceImageFace(v **types.ComparedS } } - default: _, _ = key, value @@ -11981,7 +11928,6 @@ func awsAwsjson11_deserializeDocumentCompareFacesMatch(v **types.CompareFacesMat if err := awsAwsjson11_deserializeDocumentComparedFace(&sv.Face, value); err != nil { return err } - case "Similarity": if value != nil { switch jtv := value.(type) { @@ -12015,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentCompareFacesMatch(v **types.CompareFacesMat } } - default: _, _ = key, value @@ -12113,13 +12058,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -12129,7 +12068,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -12138,8 +12076,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12147,15 +12084,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12222,7 +12155,6 @@ func awsAwsjson11_deserializeDocumentConnectedHomeSettings(v **types.ConnectedHo if err := awsAwsjson11_deserializeDocumentConnectedHomeLabels(&sv.Labels, value); err != nil { return err } - case "MinConfidence": if value != nil { switch jtv := value.(type) { @@ -12256,7 +12188,6 @@ func awsAwsjson11_deserializeDocumentConnectedHomeSettings(v **types.ConnectedHo } } - default: _, _ = key, value @@ -12292,7 +12223,6 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.ContentTypes, value); err != nil { return err } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12305,7 +12235,6 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.DurationMillis = ptr.Int64(i64) } - case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12318,12 +12247,10 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.EndTimestampMillis = ptr.Int64(i64) } - case "ModerationLabel": if err := awsAwsjson11_deserializeDocumentModerationLabel(&sv.ModerationLabel, value); err != nil { return err } - case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12336,7 +12263,6 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.StartTimestampMillis = ptr.Int64(i64) } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12349,7 +12275,6 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.Timestamp = i64 } - default: _, _ = key, value @@ -12448,7 +12373,6 @@ func awsAwsjson11_deserializeDocumentContentType(v **types.ContentType, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12457,7 +12381,6 @@ func awsAwsjson11_deserializeDocumentContentType(v **types.ContentType, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12556,7 +12479,6 @@ func awsAwsjson11_deserializeDocumentCoversBodyPart(v **types.CoversBodyPart, va } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -12565,7 +12487,6 @@ func awsAwsjson11_deserializeDocumentCoversBodyPart(v **types.CoversBodyPart, va } sv.Value = jtv } - default: _, _ = key, value @@ -12601,7 +12522,6 @@ func awsAwsjson11_deserializeDocumentCustomizationFeatureConfig(v **types.Custom if err := awsAwsjson11_deserializeDocumentCustomizationFeatureContentModerationConfig(&sv.ContentModeration, value); err != nil { return err } - default: _, _ = key, value @@ -12666,7 +12586,6 @@ func awsAwsjson11_deserializeDocumentCustomizationFeatureContentModerationConfig } } - default: _, _ = key, value @@ -12731,12 +12650,10 @@ func awsAwsjson11_deserializeDocumentCustomLabel(v **types.CustomLabel, value in } } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12745,7 +12662,6 @@ func awsAwsjson11_deserializeDocumentCustomLabel(v **types.CustomLabel, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12826,12 +12742,10 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } - case "DatasetStats": if err := awsAwsjson11_deserializeDocumentDatasetStats(&sv.DatasetStats, value); err != nil { return err } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12847,7 +12761,6 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12856,7 +12769,6 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.Status = types.DatasetStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -12865,7 +12777,6 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessage = ptr.String(jtv) } - case "StatusMessageCode": if value != nil { jtv, ok := value.(string) @@ -12874,7 +12785,6 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessageCode = types.DatasetStatusMessageCode(jtv) } - default: _, _ = key, value @@ -12950,12 +12860,10 @@ func awsAwsjson11_deserializeDocumentDatasetLabelDescription(v **types.DatasetLa } sv.LabelName = ptr.String(jtv) } - case "LabelStats": if err := awsAwsjson11_deserializeDocumentDatasetLabelStats(&sv.LabelStats, value); err != nil { return err } - default: _, _ = key, value @@ -13033,7 +12941,6 @@ func awsAwsjson11_deserializeDocumentDatasetLabelStats(v **types.DatasetLabelSta } sv.BoundingBoxCount = ptr.Int32(int32(i64)) } - case "EntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -13046,7 +12953,6 @@ func awsAwsjson11_deserializeDocumentDatasetLabelStats(v **types.DatasetLabelSta } sv.EntryCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13093,7 +12999,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } } - case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -13102,7 +13007,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetArn = ptr.String(jtv) } - case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -13111,7 +13015,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetType = types.DatasetType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13120,7 +13023,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.Status = types.DatasetStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13129,7 +13031,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessage = ptr.String(jtv) } - case "StatusMessageCode": if value != nil { jtv, ok := value.(string) @@ -13138,7 +13039,6 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessageCode = types.DatasetStatusMessageCode(jtv) } - default: _, _ = key, value @@ -13216,7 +13116,6 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.ErrorEntries = ptr.Int32(int32(i64)) } - case "LabeledEntries": if value != nil { jtv, ok := value.(json.Number) @@ -13229,7 +13128,6 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.LabeledEntries = ptr.Int32(int32(i64)) } - case "TotalEntries": if value != nil { jtv, ok := value.(json.Number) @@ -13242,7 +13140,6 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.TotalEntries = ptr.Int32(int32(i64)) } - case "TotalLabels": if value != nil { jtv, ok := value.(json.Number) @@ -13255,7 +13152,6 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.TotalLabels = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13291,12 +13187,10 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageBackground(v **types.Detec if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } - case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } - default: _, _ = key, value @@ -13332,12 +13226,10 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageForeground(v **types.Detec if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } - case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } - default: _, _ = key, value @@ -13373,22 +13265,18 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageProperties(v **types.Detec if err := awsAwsjson11_deserializeDocumentDetectLabelsImageBackground(&sv.Background, value); err != nil { return err } - case "DominantColors": if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } - case "Foreground": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageForeground(&sv.Foreground, value); err != nil { return err } - case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } - default: _, _ = key, value @@ -13453,7 +13341,6 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } - case "Contrast": if value != nil { switch jtv := value.(type) { @@ -13487,7 +13374,6 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } - case "Sharpness": if value != nil { switch jtv := value.(type) { @@ -13521,7 +13407,6 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } - default: _, _ = key, value @@ -13561,7 +13446,6 @@ func awsAwsjson11_deserializeDocumentDisassociatedFace(v **types.DisassociatedFa } sv.FaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -13639,7 +13523,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Blue = ptr.Int32(int32(i64)) } - case "CSSColor": if value != nil { jtv, ok := value.(string) @@ -13648,7 +13531,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.CSSColor = ptr.String(jtv) } - case "Green": if value != nil { jtv, ok := value.(json.Number) @@ -13661,7 +13543,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Green = ptr.Int32(int32(i64)) } - case "HexCode": if value != nil { jtv, ok := value.(string) @@ -13670,7 +13551,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.HexCode = ptr.String(jtv) } - case "PixelPercent": if value != nil { switch jtv := value.(type) { @@ -13704,7 +13584,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } } - case "Red": if value != nil { jtv, ok := value.(json.Number) @@ -13717,7 +13596,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Red = ptr.Int32(int32(i64)) } - case "SimplifiedColor": if value != nil { jtv, ok := value.(string) @@ -13726,7 +13604,6 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.SimplifiedColor = ptr.String(jtv) } - default: _, _ = key, value @@ -13825,7 +13702,6 @@ func awsAwsjson11_deserializeDocumentEmotion(v **types.Emotion, value interface{ } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13834,7 +13710,6 @@ func awsAwsjson11_deserializeDocumentEmotion(v **types.Emotion, value interface{ } sv.Type = types.EmotionName(jtv) } - default: _, _ = key, value @@ -13904,7 +13779,6 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -13938,12 +13812,10 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec } } - case "CoversBodyPart": if err := awsAwsjson11_deserializeDocumentCoversBodyPart(&sv.CoversBodyPart, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13952,7 +13824,6 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec } sv.Type = types.ProtectiveEquipmentType(jtv) } - default: _, _ = key, value @@ -14051,12 +13922,10 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } - case "Summary": if err := awsAwsjson11_deserializeDocumentSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -14121,7 +13990,6 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } - case "Pitch": if value != nil { switch jtv := value.(type) { @@ -14155,7 +14023,6 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } - case "Yaw": if value != nil { switch jtv := value.(type) { @@ -14189,7 +14056,6 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } - default: _, _ = key, value @@ -14254,7 +14120,6 @@ func awsAwsjson11_deserializeDocumentEyeglasses(v **types.Eyeglasses, value inte } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -14263,7 +14128,6 @@ func awsAwsjson11_deserializeDocumentEyeglasses(v **types.Eyeglasses, value inte } sv.Value = jtv } - default: _, _ = key, value @@ -14328,7 +14192,6 @@ func awsAwsjson11_deserializeDocumentEyeOpen(v **types.EyeOpen, value interface{ } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -14337,7 +14200,6 @@ func awsAwsjson11_deserializeDocumentEyeOpen(v **types.EyeOpen, value interface{ } sv.Value = jtv } - default: _, _ = key, value @@ -14373,7 +14235,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -14407,7 +14268,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } } - case "ExternalImageId": if value != nil { jtv, ok := value.(string) @@ -14416,7 +14276,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.ExternalImageId = ptr.String(jtv) } - case "FaceId": if value != nil { jtv, ok := value.(string) @@ -14425,7 +14284,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.FaceId = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -14434,7 +14292,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.ImageId = ptr.String(jtv) } - case "IndexFacesModelVersion": if value != nil { jtv, ok := value.(string) @@ -14443,7 +14300,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.IndexFacesModelVersion = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -14452,7 +14308,6 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -14488,17 +14343,14 @@ func awsAwsjson11_deserializeDocumentFaceDetail(v **types.FaceDetail, value inte if err := awsAwsjson11_deserializeDocumentAgeRange(&sv.AgeRange, value); err != nil { return err } - case "Beard": if err := awsAwsjson11_deserializeDocumentBeard(&sv.Beard, value); err != nil { return err } - case "BoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -14532,72 +14384,58 @@ func awsAwsjson11_deserializeDocumentFaceDetail(v **types.FaceDetail, value inte } } - case "Emotions": if err := awsAwsjson11_deserializeDocumentEmotions(&sv.Emotions, value); err != nil { return err } - case "EyeDirection": if err := awsAwsjson11_deserializeDocumentEyeDirection(&sv.EyeDirection, value); err != nil { return err } - case "Eyeglasses": if err := awsAwsjson11_deserializeDocumentEyeglasses(&sv.Eyeglasses, value); err != nil { return err } - case "EyesOpen": if err := awsAwsjson11_deserializeDocumentEyeOpen(&sv.EyesOpen, value); err != nil { return err } - case "FaceOccluded": if err := awsAwsjson11_deserializeDocumentFaceOccluded(&sv.FaceOccluded, value); err != nil { return err } - case "Gender": if err := awsAwsjson11_deserializeDocumentGender(&sv.Gender, value); err != nil { return err } - case "Landmarks": if err := awsAwsjson11_deserializeDocumentLandmarks(&sv.Landmarks, value); err != nil { return err } - case "MouthOpen": if err := awsAwsjson11_deserializeDocumentMouthOpen(&sv.MouthOpen, value); err != nil { return err } - case "Mustache": if err := awsAwsjson11_deserializeDocumentMustache(&sv.Mustache, value); err != nil { return err } - case "Pose": if err := awsAwsjson11_deserializeDocumentPose(&sv.Pose, value); err != nil { return err } - case "Quality": if err := awsAwsjson11_deserializeDocumentImageQuality(&sv.Quality, value); err != nil { return err } - case "Smile": if err := awsAwsjson11_deserializeDocumentSmile(&sv.Smile, value); err != nil { return err } - case "Sunglasses": if err := awsAwsjson11_deserializeDocumentSunglasses(&sv.Sunglasses, value); err != nil { return err } - default: _, _ = key, value @@ -14667,7 +14505,6 @@ func awsAwsjson11_deserializeDocumentFaceDetection(v **types.FaceDetection, valu if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -14680,7 +14517,6 @@ func awsAwsjson11_deserializeDocumentFaceDetection(v **types.FaceDetection, valu } sv.Timestamp = i64 } - default: _, _ = key, value @@ -14820,7 +14656,6 @@ func awsAwsjson11_deserializeDocumentFaceMatch(v **types.FaceMatch, value interf if err := awsAwsjson11_deserializeDocumentFace(&sv.Face, value); err != nil { return err } - case "Similarity": if value != nil { switch jtv := value.(type) { @@ -14854,7 +14689,6 @@ func awsAwsjson11_deserializeDocumentFaceMatch(v **types.FaceMatch, value interf } } - default: _, _ = key, value @@ -14989,7 +14823,6 @@ func awsAwsjson11_deserializeDocumentFaceOccluded(v **types.FaceOccluded, value } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -14998,7 +14831,6 @@ func awsAwsjson11_deserializeDocumentFaceOccluded(v **types.FaceOccluded, value } sv.Value = jtv } - default: _, _ = key, value @@ -15034,12 +14866,10 @@ func awsAwsjson11_deserializeDocumentFaceRecord(v **types.FaceRecord, value inte if err := awsAwsjson11_deserializeDocumentFace(&sv.Face, value); err != nil { return err } - case "FaceDetail": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } - default: _, _ = key, value @@ -15113,7 +14943,6 @@ func awsAwsjson11_deserializeDocumentFaceSearchSettings(v **types.FaceSearchSett } sv.CollectionId = ptr.String(jtv) } - case "FaceMatchThreshold": if value != nil { switch jtv := value.(type) { @@ -15147,7 +14976,6 @@ func awsAwsjson11_deserializeDocumentFaceSearchSettings(v **types.FaceSearchSett } } - default: _, _ = key, value @@ -15212,7 +15040,6 @@ func awsAwsjson11_deserializeDocumentGender(v **types.Gender, value interface{}) } } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15221,7 +15048,6 @@ func awsAwsjson11_deserializeDocumentGender(v **types.Gender, value interface{}) } sv.Value = types.GenderType(jtv) } - default: _, _ = key, value @@ -15257,12 +15083,10 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -15302,7 +15126,6 @@ func awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(v **typ } sv.AggregateBy = types.ContentModerationAggregateBy(jtv) } - case "SortBy": if value != nil { jtv, ok := value.(string) @@ -15311,7 +15134,6 @@ func awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(v **typ } sv.SortBy = types.ContentModerationSortBy(jtv) } - default: _, _ = key, value @@ -15351,7 +15173,6 @@ func awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(v **types. } sv.AggregateBy = types.LabelDetectionAggregateBy(jtv) } - case "SortBy": if value != nil { jtv, ok := value.(string) @@ -15360,7 +15181,6 @@ func awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(v **types. } sv.SortBy = types.LabelDetectionSortBy(jtv) } - default: _, _ = key, value @@ -15396,7 +15216,6 @@ func awsAwsjson11_deserializeDocumentGroundTruthManifest(v **types.GroundTruthMa if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -15436,12 +15255,10 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopActivationConditionsEvaluationResults = ptr.String(jtv) } - case "HumanLoopActivationReasons": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationReasons(&sv.HumanLoopActivationReasons, value); err != nil { return err } - case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -15450,7 +15267,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15516,13 +15332,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15532,7 +15342,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -15541,8 +15350,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15550,7 +15358,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -15559,7 +15366,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.QuotaCode = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15568,7 +15374,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -15577,15 +15382,11 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15610,13 +15411,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15626,7 +15421,6 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -15635,8 +15429,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15644,15 +15437,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15712,7 +15501,6 @@ func awsAwsjson11_deserializeDocumentImageQuality(v **types.ImageQuality, value } } - case "Sharpness": if value != nil { switch jtv := value.(type) { @@ -15746,7 +15534,6 @@ func awsAwsjson11_deserializeDocumentImageQuality(v **types.ImageQuality, value } } - default: _, _ = key, value @@ -15776,13 +15563,7 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15792,7 +15573,6 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -15801,8 +15581,7 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15810,15 +15589,11 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15849,7 +15624,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -15883,12 +15657,10 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "DominantColors": if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } - default: _, _ = key, value @@ -15952,13 +15724,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -15968,7 +15734,6 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -15977,8 +15742,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15986,15 +15750,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16019,13 +15779,7 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16035,7 +15789,6 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16044,8 +15797,7 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16053,15 +15805,11 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16086,13 +15834,7 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16102,7 +15844,6 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16111,8 +15852,7 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16120,15 +15860,11 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16153,13 +15889,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16169,7 +15899,6 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16178,8 +15907,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16187,15 +15915,11 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16220,13 +15944,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16236,7 +15954,6 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16245,8 +15962,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16254,15 +15970,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16287,13 +15999,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16303,7 +16009,6 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16312,8 +16017,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16321,15 +16025,11 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16354,13 +16054,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -16370,7 +16064,6 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -16379,8 +16072,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16388,15 +16080,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16431,7 +16119,6 @@ func awsAwsjson11_deserializeDocumentKinesisDataStream(v **types.KinesisDataStre } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -16471,7 +16158,6 @@ func awsAwsjson11_deserializeDocumentKinesisVideoStream(v **types.KinesisVideoSt } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -16511,7 +16197,6 @@ func awsAwsjson11_deserializeDocumentKnownGender(v **types.KnownGender, value in } sv.Type = types.KnownGenderType(jtv) } - default: _, _ = key, value @@ -16547,12 +16232,10 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e if err := awsAwsjson11_deserializeDocumentLabelAliases(&sv.Aliases, value); err != nil { return err } - case "Categories": if err := awsAwsjson11_deserializeDocumentLabelCategories(&sv.Categories, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -16586,12 +16269,10 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } } - case "Instances": if err := awsAwsjson11_deserializeDocumentInstances(&sv.Instances, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16600,12 +16281,10 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } - default: _, _ = key, value @@ -16645,7 +16324,6 @@ func awsAwsjson11_deserializeDocumentLabelAlias(v **types.LabelAlias, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16753,7 +16431,6 @@ func awsAwsjson11_deserializeDocumentLabelCategory(v **types.LabelCategory, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16797,7 +16474,6 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.DurationMillis = ptr.Int64(i64) } - case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -16810,12 +16486,10 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.EndTimestampMillis = ptr.Int64(i64) } - case "Label": if err := awsAwsjson11_deserializeDocumentLabel(&sv.Label, value); err != nil { return err } - case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -16828,7 +16502,6 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.StartTimestampMillis = ptr.Int64(i64) } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -16841,7 +16514,6 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.Timestamp = i64 } - default: _, _ = key, value @@ -16949,7 +16621,6 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } sv.Type = types.LandmarkType(jtv) } - case "X": if value != nil { switch jtv := value.(type) { @@ -16983,7 +16654,6 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } } - case "Y": if value != nil { switch jtv := value.(type) { @@ -17017,7 +16687,6 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } } - default: _, _ = key, value @@ -17081,13 +16750,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17097,7 +16760,6 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -17106,8 +16768,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17115,15 +16776,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17148,13 +16805,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -17164,7 +16815,6 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -17173,8 +16823,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17182,15 +16831,11 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17225,7 +16870,6 @@ func awsAwsjson11_deserializeDocumentMatchedUser(v **types.MatchedUser, value in } sv.UserId = ptr.String(jtv) } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -17234,7 +16878,6 @@ func awsAwsjson11_deserializeDocumentMatchedUser(v **types.MatchedUser, value in } sv.UserStatus = types.UserStatus(jtv) } - default: _, _ = key, value @@ -17299,7 +16942,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(v } } - case "ProjectVersion": if value != nil { jtv, ok := value.(string) @@ -17308,7 +16950,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(v } sv.ProjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -17344,7 +16985,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisInput(v **types.MediaAnalysisI if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -17391,7 +17031,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -17407,17 +17046,14 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "Input": if err := awsAwsjson11_deserializeDocumentMediaAnalysisInput(&sv.Input, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -17426,7 +17062,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -17435,7 +17070,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.JobName = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -17444,27 +17078,22 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.KmsKeyId = ptr.String(jtv) } - case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(&sv.ManifestSummary, value); err != nil { return err } - case "OperationsConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(&sv.OperationsConfig, value); err != nil { return err } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Results": if err := awsAwsjson11_deserializeDocumentMediaAnalysisResults(&sv.Results, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17473,7 +17102,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.Status = types.MediaAnalysisJobStatus(jtv) } - default: _, _ = key, value @@ -17547,7 +17175,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(v **types.Me } sv.Code = types.MediaAnalysisJobFailureCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17556,7 +17183,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(v **types.Me } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -17592,7 +17218,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(v **types.Medi if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -17632,7 +17257,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisModelVersions(v **types.MediaA } sv.Moderation = ptr.String(jtv) } - default: _, _ = key, value @@ -17668,7 +17292,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(v **types.Med if err := awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(&sv.DetectModerationLabels, value); err != nil { return err } - default: _, _ = key, value @@ -17708,7 +17331,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(v **types.MediaAn } sv.S3Bucket = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -17717,7 +17339,6 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(v **types.MediaAn } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -17753,12 +17374,10 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisResults(v **types.MediaAnalysi if err := awsAwsjson11_deserializeDocumentMediaAnalysisModelVersions(&sv.ModelVersions, value); err != nil { return err } - case "S3Object": if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -17823,7 +17442,6 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17832,7 +17450,6 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.Name = ptr.String(jtv) } - case "ParentName": if value != nil { jtv, ok := value.(string) @@ -17841,7 +17458,6 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.ParentName = ptr.String(jtv) } - case "TaxonomyLevel": if value != nil { jtv, ok := value.(json.Number) @@ -17854,7 +17470,6 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.TaxonomyLevel = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17953,7 +17568,6 @@ func awsAwsjson11_deserializeDocumentMouthOpen(v **types.MouthOpen, value interf } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -17962,7 +17576,6 @@ func awsAwsjson11_deserializeDocumentMouthOpen(v **types.MouthOpen, value interf } sv.Value = jtv } - default: _, _ = key, value @@ -18027,7 +17640,6 @@ func awsAwsjson11_deserializeDocumentMustache(v **types.Mustache, value interfac } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -18036,7 +17648,6 @@ func awsAwsjson11_deserializeDocumentMustache(v **types.Mustache, value interfac } sv.Value = jtv } - default: _, _ = key, value @@ -18076,7 +17687,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Bucket = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -18085,7 +17695,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -18125,7 +17734,6 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18195,12 +17803,10 @@ func awsAwsjson11_deserializeDocumentPersonDetail(v **types.PersonDetail, value if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Face": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -18213,7 +17819,6 @@ func awsAwsjson11_deserializeDocumentPersonDetail(v **types.PersonDetail, value } sv.Index = i64 } - default: _, _ = key, value @@ -18249,7 +17854,6 @@ func awsAwsjson11_deserializeDocumentPersonDetection(v **types.PersonDetection, if err := awsAwsjson11_deserializeDocumentPersonDetail(&sv.Person, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -18262,7 +17866,6 @@ func awsAwsjson11_deserializeDocumentPersonDetection(v **types.PersonDetection, } sv.Timestamp = i64 } - default: _, _ = key, value @@ -18332,12 +17935,10 @@ func awsAwsjson11_deserializeDocumentPersonMatch(v **types.PersonMatch, value in if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } - case "Person": if err := awsAwsjson11_deserializeDocumentPersonDetail(&sv.Person, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -18350,7 +17951,6 @@ func awsAwsjson11_deserializeDocumentPersonMatch(v **types.PersonMatch, value in } sv.Timestamp = i64 } - default: _, _ = key, value @@ -18449,7 +18049,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - case "Y": if value != nil { switch jtv := value.(type) { @@ -18483,7 +18082,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - default: _, _ = key, value @@ -18582,7 +18180,6 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } - case "Roll": if value != nil { switch jtv := value.(type) { @@ -18616,7 +18213,6 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } - case "Yaw": if value != nil { switch jtv := value.(type) { @@ -18650,7 +18246,6 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } - default: _, _ = key, value @@ -18690,7 +18285,6 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.AutoUpdate = types.ProjectAutoUpdate(jtv) } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -18706,12 +18300,10 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } - case "Datasets": if err := awsAwsjson11_deserializeDocumentDatasetMetadataList(&sv.Datasets, value); err != nil { return err } - case "Feature": if value != nil { jtv, ok := value.(string) @@ -18720,7 +18312,6 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Feature = types.CustomizationFeature(jtv) } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -18729,7 +18320,6 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18738,7 +18328,6 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Status = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -18853,7 +18442,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18869,7 +18457,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } } - case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -18878,7 +18465,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyDocument = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -18887,7 +18473,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyName = ptr.String(jtv) } - case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -18896,7 +18481,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyRevisionId = ptr.String(jtv) } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -18905,7 +18489,6 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.ProjectArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18945,7 +18528,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.BaseModelVersion = ptr.String(jtv) } - case "BillableTrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18958,7 +18540,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.BillableTrainingTimeInSeconds = ptr.Int64(i64) } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -18974,12 +18555,10 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } } - case "EvaluationResult": if err := awsAwsjson11_deserializeDocumentEvaluationResult(&sv.EvaluationResult, value); err != nil { return err } - case "Feature": if value != nil { jtv, ok := value.(string) @@ -18988,12 +18567,10 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.Feature = types.CustomizationFeature(jtv) } - case "FeatureConfig": if err := awsAwsjson11_deserializeDocumentCustomizationFeatureConfig(&sv.FeatureConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19002,12 +18579,10 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.KmsKeyId = ptr.String(jtv) } - case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentGroundTruthManifest(&sv.ManifestSummary, value); err != nil { return err } - case "MaxInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -19020,7 +18595,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.MaxInferenceUnits = ptr.Int32(int32(i64)) } - case "MinInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -19033,12 +18607,10 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.MinInferenceUnits = ptr.Int32(int32(i64)) } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "ProjectVersionArn": if value != nil { jtv, ok := value.(string) @@ -19047,7 +18619,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.ProjectVersionArn = ptr.String(jtv) } - case "SourceProjectVersionArn": if value != nil { jtv, ok := value.(string) @@ -19056,7 +18627,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.SourceProjectVersionArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19065,7 +18635,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.Status = types.ProjectVersionStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19074,17 +18643,14 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.StatusMessage = ptr.String(jtv) } - case "TestingDataResult": if err := awsAwsjson11_deserializeDocumentTestingDataResult(&sv.TestingDataResult, value); err != nil { return err } - case "TrainingDataResult": if err := awsAwsjson11_deserializeDocumentTrainingDataResult(&sv.TrainingDataResult, value); err != nil { return err } - case "TrainingEndTimestamp": if value != nil { switch jtv := value.(type) { @@ -19100,7 +18666,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } } - case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -19109,7 +18674,6 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.VersionDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -19208,12 +18772,10 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentBodyPart(v **types.Prote } } - case "EquipmentDetections": if err := awsAwsjson11_deserializeDocumentEquipmentDetections(&sv.EquipmentDetections, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19222,7 +18784,6 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentBodyPart(v **types.Prote } sv.Name = types.BodyPart(jtv) } - default: _, _ = key, value @@ -19258,12 +18819,10 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect if err := awsAwsjson11_deserializeDocumentBodyParts(&sv.BodyParts, value); err != nil { return err } - case "BoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -19297,7 +18856,6 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect } } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -19310,7 +18868,6 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect } sv.Id = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19420,17 +18977,14 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentSummary(v **types.Protec if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsIndeterminate, value); err != nil { return err } - case "PersonsWithoutRequiredEquipment": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsWithoutRequiredEquipment, value); err != nil { return err } - case "PersonsWithRequiredEquipment": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsWithRequiredEquipment, value); err != nil { return err } - default: _, _ = key, value @@ -19460,13 +19014,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19476,7 +19024,6 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -19485,8 +19032,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19494,15 +19040,11 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19569,12 +19111,10 @@ func awsAwsjson11_deserializeDocumentRegionOfInterest(v **types.RegionOfInterest if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -19638,13 +19178,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19654,7 +19188,6 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -19663,8 +19196,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19672,15 +19204,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19705,13 +19233,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19721,7 +19243,6 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -19730,8 +19251,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19739,15 +19259,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19772,13 +19288,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19788,7 +19298,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -19797,8 +19306,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19806,15 +19314,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19839,13 +19343,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -19855,7 +19353,6 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -19864,8 +19361,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19873,15 +19369,11 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19916,7 +19408,6 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } - case "KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -19925,7 +19416,6 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -19965,7 +19455,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19974,7 +19463,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -19983,7 +19471,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -20023,7 +19510,6 @@ func awsAwsjson11_deserializeDocumentSearchedFace(v **types.SearchedFace, value } sv.FaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -20059,7 +19545,6 @@ func awsAwsjson11_deserializeDocumentSearchedFaceDetails(v **types.SearchedFaceD if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } - default: _, _ = key, value @@ -20099,7 +19584,6 @@ func awsAwsjson11_deserializeDocumentSearchedUser(v **types.SearchedUser, value } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -20143,7 +19627,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationFrames = ptr.Int64(i64) } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -20156,7 +19639,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationMillis = ptr.Int64(i64) } - case "DurationSMPTE": if value != nil { jtv, ok := value.(string) @@ -20165,7 +19647,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationSMPTE = ptr.String(jtv) } - case "EndFrameNumber": if value != nil { jtv, ok := value.(json.Number) @@ -20178,7 +19659,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndFrameNumber = ptr.Int64(i64) } - case "EndTimecodeSMPTE": if value != nil { jtv, ok := value.(string) @@ -20187,7 +19667,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndTimecodeSMPTE = ptr.String(jtv) } - case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -20200,12 +19679,10 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndTimestampMillis = i64 } - case "ShotSegment": if err := awsAwsjson11_deserializeDocumentShotSegment(&sv.ShotSegment, value); err != nil { return err } - case "StartFrameNumber": if value != nil { jtv, ok := value.(json.Number) @@ -20218,7 +19695,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartFrameNumber = ptr.Int64(i64) } - case "StartTimecodeSMPTE": if value != nil { jtv, ok := value.(string) @@ -20227,7 +19703,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartTimecodeSMPTE = ptr.String(jtv) } - case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -20240,12 +19715,10 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartTimestampMillis = i64 } - case "TechnicalCueSegment": if err := awsAwsjson11_deserializeDocumentTechnicalCueSegment(&sv.TechnicalCueSegment, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20254,7 +19727,6 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.Type = types.SegmentType(jtv) } - default: _, _ = key, value @@ -20328,7 +19800,6 @@ func awsAwsjson11_deserializeDocumentSegmentTypeInfo(v **types.SegmentTypeInfo, } sv.ModelVersion = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -20337,7 +19808,6 @@ func awsAwsjson11_deserializeDocumentSegmentTypeInfo(v **types.SegmentTypeInfo, } sv.Type = types.SegmentType(jtv) } - default: _, _ = key, value @@ -20401,13 +19871,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -20417,7 +19881,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -20426,8 +19889,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20435,15 +19897,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20468,13 +19926,7 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -20484,7 +19936,6 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -20493,8 +19944,7 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -20502,15 +19952,11 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -20570,7 +20016,6 @@ func awsAwsjson11_deserializeDocumentShotSegment(v **types.ShotSegment, value in } } - case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -20583,7 +20028,6 @@ func awsAwsjson11_deserializeDocumentShotSegment(v **types.ShotSegment, value in } sv.Index = ptr.Int64(i64) } - default: _, _ = key, value @@ -20648,7 +20092,6 @@ func awsAwsjson11_deserializeDocumentSmile(v **types.Smile, value interface{}) e } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -20657,7 +20100,6 @@ func awsAwsjson11_deserializeDocumentSmile(v **types.Smile, value interface{}) e } sv.Value = jtv } - default: _, _ = key, value @@ -20697,7 +20139,6 @@ func awsAwsjson11_deserializeDocumentStreamProcessor(v **types.StreamProcessor, } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20706,7 +20147,6 @@ func awsAwsjson11_deserializeDocumentStreamProcessor(v **types.StreamProcessor, } sv.Status = types.StreamProcessorStatus(jtv) } - default: _, _ = key, value @@ -20746,7 +20186,6 @@ func awsAwsjson11_deserializeDocumentStreamProcessorDataSharingPreference(v **ty } sv.OptIn = jtv } - default: _, _ = key, value @@ -20782,7 +20221,6 @@ func awsAwsjson11_deserializeDocumentStreamProcessorInput(v **types.StreamProces if err := awsAwsjson11_deserializeDocumentKinesisVideoStream(&sv.KinesisVideoStream, value); err != nil { return err } - default: _, _ = key, value @@ -20856,7 +20294,6 @@ func awsAwsjson11_deserializeDocumentStreamProcessorNotificationChannel(v **type } sv.SNSTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20892,12 +20329,10 @@ func awsAwsjson11_deserializeDocumentStreamProcessorOutput(v **types.StreamProce if err := awsAwsjson11_deserializeDocumentKinesisDataStream(&sv.KinesisDataStream, value); err != nil { return err } - case "S3Destination": if err := awsAwsjson11_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } - default: _, _ = key, value @@ -20933,12 +20368,10 @@ func awsAwsjson11_deserializeDocumentStreamProcessorSettings(v **types.StreamPro if err := awsAwsjson11_deserializeDocumentConnectedHomeSettings(&sv.ConnectedHome, value); err != nil { return err } - case "FaceSearch": if err := awsAwsjson11_deserializeDocumentFaceSearchSettings(&sv.FaceSearch, value); err != nil { return err } - default: _, _ = key, value @@ -20974,7 +20407,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -21039,7 +20471,6 @@ func awsAwsjson11_deserializeDocumentSunglasses(v **types.Sunglasses, value inte } } - case "Value": if value != nil { jtv, ok := value.(bool) @@ -21048,7 +20479,6 @@ func awsAwsjson11_deserializeDocumentSunglasses(v **types.Sunglasses, value inte } sv.Value = jtv } - default: _, _ = key, value @@ -21149,7 +20579,6 @@ func awsAwsjson11_deserializeDocumentTechnicalCueSegment(v **types.TechnicalCueS } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21158,7 +20587,6 @@ func awsAwsjson11_deserializeDocumentTechnicalCueSegment(v **types.TechnicalCueS } sv.Type = types.TechnicalCueType(jtv) } - default: _, _ = key, value @@ -21194,7 +20622,6 @@ func awsAwsjson11_deserializeDocumentTestingData(v **types.TestingData, value in if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } - case "AutoCreate": if value != nil { jtv, ok := value.(bool) @@ -21203,7 +20630,6 @@ func awsAwsjson11_deserializeDocumentTestingData(v **types.TestingData, value in } sv.AutoCreate = jtv } - default: _, _ = key, value @@ -21239,17 +20665,14 @@ func awsAwsjson11_deserializeDocumentTestingDataResult(v **types.TestingDataResu if err := awsAwsjson11_deserializeDocumentTestingData(&sv.Input, value); err != nil { return err } - case "Output": if err := awsAwsjson11_deserializeDocumentTestingData(&sv.Output, value); err != nil { return err } - case "Validation": if err := awsAwsjson11_deserializeDocumentValidationData(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -21314,7 +20737,6 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } } - case "DetectedText": if value != nil { jtv, ok := value.(string) @@ -21323,12 +20745,10 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.DetectedText = ptr.String(jtv) } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -21341,7 +20761,6 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.Id = ptr.Int32(int32(i64)) } - case "ParentId": if value != nil { jtv, ok := value.(json.Number) @@ -21354,7 +20773,6 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.ParentId = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21363,7 +20781,6 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.Type = types.TextTypes(jtv) } - default: _, _ = key, value @@ -21433,7 +20850,6 @@ func awsAwsjson11_deserializeDocumentTextDetectionResult(v **types.TextDetection if err := awsAwsjson11_deserializeDocumentTextDetection(&sv.TextDetection, value); err != nil { return err } - case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -21446,7 +20862,6 @@ func awsAwsjson11_deserializeDocumentTextDetectionResult(v **types.TextDetection } sv.Timestamp = i64 } - default: _, _ = key, value @@ -21510,13 +20925,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -21526,7 +20935,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -21535,8 +20943,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21544,15 +20951,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -21583,7 +20986,6 @@ func awsAwsjson11_deserializeDocumentTrainingData(v **types.TrainingData, value if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } - default: _, _ = key, value @@ -21619,17 +21021,14 @@ func awsAwsjson11_deserializeDocumentTrainingDataResult(v **types.TrainingDataRe if err := awsAwsjson11_deserializeDocumentTrainingData(&sv.Input, value); err != nil { return err } - case "Output": if err := awsAwsjson11_deserializeDocumentTrainingData(&sv.Output, value); err != nil { return err } - case "Validation": if err := awsAwsjson11_deserializeDocumentValidationData(&sv.Validation, value); err != nil { return err } - default: _, _ = key, value @@ -21665,12 +21064,10 @@ func awsAwsjson11_deserializeDocumentUnindexedFace(v **types.UnindexedFace, valu if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } - case "Reasons": if err := awsAwsjson11_deserializeDocumentReasons(&sv.Reasons, value); err != nil { return err } - default: _, _ = key, value @@ -21740,12 +21137,10 @@ func awsAwsjson11_deserializeDocumentUnsearchedFace(v **types.UnsearchedFace, va if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetails, value); err != nil { return err } - case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsearchedFaceReasons(&sv.Reasons, value); err != nil { return err } - default: _, _ = key, value @@ -21880,7 +21275,6 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } } - case "FaceId": if value != nil { jtv, ok := value.(string) @@ -21889,12 +21283,10 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } sv.FaceId = ptr.String(jtv) } - case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociationReasons(&sv.Reasons, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -21903,7 +21295,6 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -22013,12 +21404,10 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletion(v **types.Unsucces } sv.FaceId = ptr.String(jtv) } - case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletionReasons(&sv.Reasons, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -22027,7 +21416,6 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletion(v **types.Unsucces } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -22137,12 +21525,10 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociation(v **types.Un } sv.FaceId = ptr.String(jtv) } - case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociationReasons(&sv.Reasons, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -22151,7 +21537,6 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociation(v **types.Un } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -22297,7 +21682,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -22306,7 +21690,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserStatus = types.UserStatus(jtv) } - default: _, _ = key, value @@ -22405,12 +21788,10 @@ func awsAwsjson11_deserializeDocumentUserMatch(v **types.UserMatch, value interf } } - case "User": if err := awsAwsjson11_deserializeDocumentMatchedUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -22480,7 +21861,6 @@ func awsAwsjson11_deserializeDocumentValidationData(v **types.ValidationData, va if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } - default: _, _ = key, value @@ -22516,7 +21896,6 @@ func awsAwsjson11_deserializeDocumentVideo(v **types.Video, value interface{}) e if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } - default: _, _ = key, value @@ -22556,7 +21935,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.Codec = ptr.String(jtv) } - case "ColorRange": if value != nil { jtv, ok := value.(string) @@ -22565,7 +21943,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.ColorRange = types.VideoColorRange(jtv) } - case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -22578,7 +21955,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.DurationMillis = ptr.Int64(i64) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -22587,7 +21963,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.Format = ptr.String(jtv) } - case "FrameHeight": if value != nil { jtv, ok := value.(json.Number) @@ -22600,7 +21975,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.FrameHeight = ptr.Int64(i64) } - case "FrameRate": if value != nil { switch jtv := value.(type) { @@ -22634,7 +22008,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } } - case "FrameWidth": if value != nil { jtv, ok := value.(json.Number) @@ -22647,7 +22020,6 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.FrameWidth = ptr.Int64(i64) } - default: _, _ = key, value @@ -22711,13 +22083,7 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -22727,7 +22093,6 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Code = ptr.String(jtv) } - case "Logref": if value != nil { jtv, ok := value.(string) @@ -22736,8 +22101,7 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Logref = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22745,15 +22109,11 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22784,12 +22144,10 @@ func awsAwsjson11_deserializeOpDocumentAssociateFacesOutput(v **AssociateFacesOu if err := awsAwsjson11_deserializeDocumentAssociatedFacesList(&sv.AssociatedFaces, value); err != nil { return err } - case "UnsuccessfulFaceAssociations": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociationList(&sv.UnsuccessfulFaceAssociations, value); err != nil { return err } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -22798,7 +22156,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateFacesOutput(v **AssociateFacesOu } sv.UserStatus = types.UserStatus(jtv) } - default: _, _ = key, value @@ -22834,12 +22191,10 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput if err := awsAwsjson11_deserializeDocumentCompareFacesMatchList(&sv.FaceMatches, value); err != nil { return err } - case "SourceImageFace": if err := awsAwsjson11_deserializeDocumentComparedSourceImageFace(&sv.SourceImageFace, value); err != nil { return err } - case "SourceImageOrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -22848,7 +22203,6 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput } sv.SourceImageOrientationCorrection = types.OrientationCorrection(jtv) } - case "TargetImageOrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -22857,12 +22211,10 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput } sv.TargetImageOrientationCorrection = types.OrientationCorrection(jtv) } - case "UnmatchedFaces": if err := awsAwsjson11_deserializeDocumentCompareFacesUnmatchList(&sv.UnmatchedFaces, value); err != nil { return err } - default: _, _ = key, value @@ -22902,7 +22254,6 @@ func awsAwsjson11_deserializeOpDocumentCopyProjectVersionOutput(v **CopyProjectV } sv.ProjectVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -22942,7 +22293,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.CollectionArn = ptr.String(jtv) } - case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -22951,7 +22301,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.FaceModelVersion = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -22964,7 +22313,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23004,7 +22352,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23044,7 +22391,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFaceLivenessSessionOutput(v **Creat } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -23084,7 +22430,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23124,7 +22469,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectVersionOutput(v **CreateProj } sv.ProjectVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23164,7 +22508,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamProcessorOutput(v **CreateStr } sv.StreamProcessorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23239,7 +22582,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteCollectionOutput(v **DeleteCollecti } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23306,12 +22648,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteFacesOutput(v **DeleteFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceIdList(&sv.DeletedFaces, value); err != nil { return err } - case "UnsuccessfulFaceDeletions": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletionsList(&sv.UnsuccessfulFaceDeletions, value); err != nil { return err } - default: _, _ = key, value @@ -23351,7 +22691,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Status = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -23422,7 +22761,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteProjectVersionOutput(v **DeleteProj } sv.Status = types.ProjectVersionStatus(jtv) } - default: _, _ = key, value @@ -23524,7 +22862,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.CollectionARN = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -23540,7 +22877,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } } - case "FaceCount": if value != nil { jtv, ok := value.(json.Number) @@ -23553,7 +22889,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.FaceCount = ptr.Int64(i64) } - case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -23562,7 +22897,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.FaceModelVersion = ptr.String(jtv) } - case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -23575,7 +22909,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.UserCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -23611,7 +22944,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDatasetDescription(&sv.DatasetDescription, value); err != nil { return err } - default: _, _ = key, value @@ -23651,12 +22983,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectsOutput(v **DescribeProjec } sv.NextToken = ptr.String(jtv) } - case "ProjectDescriptions": if err := awsAwsjson11_deserializeDocumentProjectDescriptions(&sv.ProjectDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -23696,12 +23026,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectVersionsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "ProjectVersionDescriptions": if err := awsAwsjson11_deserializeDocumentProjectVersionDescriptions(&sv.ProjectVersionDescriptions, value); err != nil { return err } - default: _, _ = key, value @@ -23748,17 +23076,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } } - case "DataSharingPreference": if err := awsAwsjson11_deserializeDocumentStreamProcessorDataSharingPreference(&sv.DataSharingPreference, value); err != nil { return err } - case "Input": if err := awsAwsjson11_deserializeDocumentStreamProcessorInput(&sv.Input, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -23767,7 +23092,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.KmsKeyId = ptr.String(jtv) } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -23783,7 +23107,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23792,22 +23115,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.Name = ptr.String(jtv) } - case "NotificationChannel": if err := awsAwsjson11_deserializeDocumentStreamProcessorNotificationChannel(&sv.NotificationChannel, value); err != nil { return err } - case "Output": if err := awsAwsjson11_deserializeDocumentStreamProcessorOutput(&sv.Output, value); err != nil { return err } - case "RegionsOfInterest": if err := awsAwsjson11_deserializeDocumentRegionsOfInterest(&sv.RegionsOfInterest, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -23816,12 +23135,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.RoleArn = ptr.String(jtv) } - case "Settings": if err := awsAwsjson11_deserializeDocumentStreamProcessorSettings(&sv.Settings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23830,7 +23147,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.Status = types.StreamProcessorStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23839,7 +23155,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.StatusMessage = ptr.String(jtv) } - case "StreamProcessorArn": if value != nil { jtv, ok := value.(string) @@ -23848,7 +23163,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.StreamProcessorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23884,7 +23198,6 @@ func awsAwsjson11_deserializeOpDocumentDetectCustomLabelsOutput(v **DetectCustom if err := awsAwsjson11_deserializeDocumentCustomLabels(&sv.CustomLabels, value); err != nil { return err } - default: _, _ = key, value @@ -23920,7 +23233,6 @@ func awsAwsjson11_deserializeOpDocumentDetectFacesOutput(v **DetectFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceDetailList(&sv.FaceDetails, value); err != nil { return err } - case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -23929,7 +23241,6 @@ func awsAwsjson11_deserializeOpDocumentDetectFacesOutput(v **DetectFacesOutput, } sv.OrientationCorrection = types.OrientationCorrection(jtv) } - default: _, _ = key, value @@ -23965,7 +23276,6 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput if err := awsAwsjson11_deserializeDocumentDetectLabelsImageProperties(&sv.ImageProperties, value); err != nil { return err } - case "LabelModelVersion": if value != nil { jtv, ok := value.(string) @@ -23974,12 +23284,10 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput } sv.LabelModelVersion = ptr.String(jtv) } - case "Labels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.Labels, value); err != nil { return err } - case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -23988,7 +23296,6 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput } sv.OrientationCorrection = types.OrientationCorrection(jtv) } - default: _, _ = key, value @@ -24024,17 +23331,14 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.ContentTypes, value); err != nil { return err } - case "HumanLoopActivationOutput": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(&sv.HumanLoopActivationOutput, value); err != nil { return err } - case "ModerationLabels": if err := awsAwsjson11_deserializeDocumentModerationLabels(&sv.ModerationLabels, value); err != nil { return err } - case "ModerationModelVersion": if value != nil { jtv, ok := value.(string) @@ -24043,7 +23347,6 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo } sv.ModerationModelVersion = ptr.String(jtv) } - case "ProjectVersion": if value != nil { jtv, ok := value.(string) @@ -24052,7 +23355,6 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo } sv.ProjectVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -24088,7 +23390,6 @@ func awsAwsjson11_deserializeOpDocumentDetectProtectiveEquipmentOutput(v **Detec if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersons(&sv.Persons, value); err != nil { return err } - case "ProtectiveEquipmentModelVersion": if value != nil { jtv, ok := value.(string) @@ -24097,12 +23398,10 @@ func awsAwsjson11_deserializeOpDocumentDetectProtectiveEquipmentOutput(v **Detec } sv.ProtectiveEquipmentModelVersion = ptr.String(jtv) } - case "Summary": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -24138,7 +23437,6 @@ func awsAwsjson11_deserializeOpDocumentDetectTextOutput(v **DetectTextOutput, va if err := awsAwsjson11_deserializeDocumentTextDetectionList(&sv.TextDetections, value); err != nil { return err } - case "TextModelVersion": if value != nil { jtv, ok := value.(string) @@ -24147,7 +23445,6 @@ func awsAwsjson11_deserializeOpDocumentDetectTextOutput(v **DetectTextOutput, va } sv.TextModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -24183,12 +23480,10 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFacesOutput(v **DisassociateF if err := awsAwsjson11_deserializeDocumentDisassociatedFacesList(&sv.DisassociatedFaces, value); err != nil { return err } - case "UnsuccessfulFaceDisassociations": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociationList(&sv.UnsuccessfulFaceDisassociations, value); err != nil { return err } - case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -24197,7 +23492,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFacesOutput(v **DisassociateF } sv.UserStatus = types.UserStatus(jtv) } - default: _, _ = key, value @@ -24264,7 +23558,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityInfoOutput(v **GetCelebrityIn if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -24273,12 +23566,10 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityInfoOutput(v **GetCelebrityIn } sv.Name = ptr.String(jtv) } - case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } - default: _, _ = key, value @@ -24314,7 +23605,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele if err := awsAwsjson11_deserializeDocumentCelebrityRecognitions(&sv.Celebrities, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24323,7 +23613,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24332,7 +23621,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24341,7 +23629,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24350,7 +23637,6 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24359,17 +23645,14 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -24405,7 +23688,6 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent if err := awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(&sv.GetRequestMetadata, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24414,7 +23696,6 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24423,7 +23704,6 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24432,12 +23712,10 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobTag = ptr.String(jtv) } - case "ModerationLabels": if err := awsAwsjson11_deserializeDocumentContentModerationDetections(&sv.ModerationLabels, value); err != nil { return err } - case "ModerationModelVersion": if value != nil { jtv, ok := value.(string) @@ -24446,7 +23724,6 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.ModerationModelVersion = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24455,7 +23732,6 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24464,17 +23740,14 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -24510,7 +23783,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti if err := awsAwsjson11_deserializeDocumentFaceDetections(&sv.Faces, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24519,7 +23791,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24528,7 +23799,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24537,7 +23807,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24546,7 +23815,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24555,17 +23823,14 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -24601,7 +23866,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G if err := awsAwsjson11_deserializeDocumentAuditImages(&sv.AuditImages, value); err != nil { return err } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -24635,12 +23899,10 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } } - case "ReferenceImage": if err := awsAwsjson11_deserializeDocumentAuditImage(&sv.ReferenceImage, value); err != nil { return err } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -24649,7 +23911,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } sv.SessionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -24658,7 +23919,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } sv.Status = types.LivenessSessionStatus(jtv) } - default: _, _ = key, value @@ -24698,7 +23958,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24707,7 +23966,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24716,7 +23974,6 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24725,12 +23982,10 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.NextToken = ptr.String(jtv) } - case "Persons": if err := awsAwsjson11_deserializeDocumentPersonMatches(&sv.Persons, value); err != nil { return err } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24739,17 +23994,14 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -24785,7 +24037,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec if err := awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(&sv.GetRequestMetadata, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24794,7 +24045,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24803,7 +24053,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24812,7 +24061,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobTag = ptr.String(jtv) } - case "LabelModelVersion": if value != nil { jtv, ok := value.(string) @@ -24821,12 +24069,10 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.LabelModelVersion = ptr.String(jtv) } - case "Labels": if err := awsAwsjson11_deserializeDocumentLabelDetections(&sv.Labels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24835,7 +24081,6 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24844,17 +24089,14 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -24901,7 +24143,6 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -24917,17 +24158,14 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "Input": if err := awsAwsjson11_deserializeDocumentMediaAnalysisInput(&sv.Input, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -24936,7 +24174,6 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -24945,7 +24182,6 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.JobName = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -24954,27 +24190,22 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.KmsKeyId = ptr.String(jtv) } - case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(&sv.ManifestSummary, value); err != nil { return err } - case "OperationsConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(&sv.OperationsConfig, value); err != nil { return err } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Results": if err := awsAwsjson11_deserializeDocumentMediaAnalysisResults(&sv.Results, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -24983,7 +24214,6 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.Status = types.MediaAnalysisJobStatus(jtv) } - default: _, _ = key, value @@ -25023,7 +24253,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -25032,7 +24261,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -25041,7 +24269,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25050,12 +24277,10 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.NextToken = ptr.String(jtv) } - case "Persons": if err := awsAwsjson11_deserializeDocumentPersonDetections(&sv.Persons, value); err != nil { return err } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -25064,17 +24289,14 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -25110,7 +24332,6 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD if err := awsAwsjson11_deserializeDocumentAudioMetadataList(&sv.AudioMetadata, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -25119,7 +24340,6 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -25128,7 +24348,6 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -25137,7 +24356,6 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25146,17 +24364,14 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.NextToken = ptr.String(jtv) } - case "Segments": if err := awsAwsjson11_deserializeDocumentSegmentDetections(&sv.Segments, value); err != nil { return err } - case "SelectedSegmentTypes": if err := awsAwsjson11_deserializeDocumentSegmentTypesInfo(&sv.SelectedSegmentTypes, value); err != nil { return err } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -25165,17 +24380,14 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.StatusMessage = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadataList(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -25215,7 +24427,6 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -25224,7 +24435,6 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobStatus = types.VideoJobStatus(jtv) } - case "JobTag": if value != nil { jtv, ok := value.(string) @@ -25233,7 +24443,6 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobTag = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25242,7 +24451,6 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -25251,12 +24459,10 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.StatusMessage = ptr.String(jtv) } - case "TextDetections": if err := awsAwsjson11_deserializeDocumentTextDetectionResults(&sv.TextDetections, value); err != nil { return err } - case "TextModelVersion": if value != nil { jtv, ok := value.(string) @@ -25265,17 +24471,14 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.TextModelVersion = ptr.String(jtv) } - case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } - case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -25315,12 +24518,10 @@ func awsAwsjson11_deserializeOpDocumentIndexFacesOutput(v **IndexFacesOutput, va } sv.FaceModelVersion = ptr.String(jtv) } - case "FaceRecords": if err := awsAwsjson11_deserializeDocumentFaceRecordList(&sv.FaceRecords, value); err != nil { return err } - case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -25329,12 +24530,10 @@ func awsAwsjson11_deserializeOpDocumentIndexFacesOutput(v **IndexFacesOutput, va } sv.OrientationCorrection = types.OrientationCorrection(jtv) } - case "UnindexedFaces": if err := awsAwsjson11_deserializeDocumentUnindexedFaces(&sv.UnindexedFaces, value); err != nil { return err } - default: _, _ = key, value @@ -25370,12 +24569,10 @@ func awsAwsjson11_deserializeOpDocumentListCollectionsOutput(v **ListCollections if err := awsAwsjson11_deserializeDocumentCollectionIdList(&sv.CollectionIds, value); err != nil { return err } - case "FaceModelVersions": if err := awsAwsjson11_deserializeDocumentFaceModelVersionList(&sv.FaceModelVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25384,7 +24581,6 @@ func awsAwsjson11_deserializeOpDocumentListCollectionsOutput(v **ListCollections } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25420,7 +24616,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE if err := awsAwsjson11_deserializeDocumentDatasetEntries(&sv.DatasetEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25429,7 +24624,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25465,7 +24659,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetLabelsOutput(v **ListDatasetLa if err := awsAwsjson11_deserializeDocumentDatasetLabelDescriptions(&sv.DatasetLabelDescriptions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25474,7 +24667,6 @@ func awsAwsjson11_deserializeOpDocumentListDatasetLabelsOutput(v **ListDatasetLa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25514,12 +24706,10 @@ func awsAwsjson11_deserializeOpDocumentListFacesOutput(v **ListFacesOutput, valu } sv.FaceModelVersion = ptr.String(jtv) } - case "Faces": if err := awsAwsjson11_deserializeDocumentFaceList(&sv.Faces, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25528,7 +24718,6 @@ func awsAwsjson11_deserializeOpDocumentListFacesOutput(v **ListFacesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25564,7 +24753,6 @@ func awsAwsjson11_deserializeOpDocumentListMediaAnalysisJobsOutput(v **ListMedia if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobDescriptions(&sv.MediaAnalysisJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25573,7 +24761,6 @@ func awsAwsjson11_deserializeOpDocumentListMediaAnalysisJobsOutput(v **ListMedia } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -25613,12 +24800,10 @@ func awsAwsjson11_deserializeOpDocumentListProjectPoliciesOutput(v **ListProject } sv.NextToken = ptr.String(jtv) } - case "ProjectPolicies": if err := awsAwsjson11_deserializeDocumentProjectPolicies(&sv.ProjectPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -25658,12 +24843,10 @@ func awsAwsjson11_deserializeOpDocumentListStreamProcessorsOutput(v **ListStream } sv.NextToken = ptr.String(jtv) } - case "StreamProcessors": if err := awsAwsjson11_deserializeDocumentStreamProcessorList(&sv.StreamProcessors, value); err != nil { return err } - default: _, _ = key, value @@ -25699,7 +24882,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -25739,12 +24921,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -25784,7 +24964,6 @@ func awsAwsjson11_deserializeOpDocumentPutProjectPolicyOutput(v **PutProjectPoli } sv.PolicyRevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -25820,7 +24999,6 @@ func awsAwsjson11_deserializeOpDocumentRecognizeCelebritiesOutput(v **RecognizeC if err := awsAwsjson11_deserializeDocumentCelebrityList(&sv.CelebrityFaces, value); err != nil { return err } - case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -25829,12 +25007,10 @@ func awsAwsjson11_deserializeOpDocumentRecognizeCelebritiesOutput(v **RecognizeC } sv.OrientationCorrection = types.OrientationCorrection(jtv) } - case "UnrecognizedFaces": if err := awsAwsjson11_deserializeDocumentComparedFaceList(&sv.UnrecognizedFaces, value); err != nil { return err } - default: _, _ = key, value @@ -25870,7 +25046,6 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } - case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -25879,12 +25054,10 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB } sv.FaceModelVersion = ptr.String(jtv) } - case "SearchedFaceBoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.SearchedFaceBoundingBox, value); err != nil { return err } - case "SearchedFaceConfidence": if value != nil { switch jtv := value.(type) { @@ -25918,7 +25091,6 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB } } - default: _, _ = key, value @@ -25954,7 +25126,6 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } - case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -25963,7 +25134,6 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, } sv.FaceModelVersion = ptr.String(jtv) } - case "SearchedFaceId": if value != nil { jtv, ok := value.(string) @@ -25972,7 +25142,6 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, } sv.SearchedFaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -26012,22 +25181,18 @@ func awsAwsjson11_deserializeOpDocumentSearchUsersByImageOutput(v **SearchUsersB } sv.FaceModelVersion = ptr.String(jtv) } - case "SearchedFace": if err := awsAwsjson11_deserializeDocumentSearchedFaceDetails(&sv.SearchedFace, value); err != nil { return err } - case "UnsearchedFaces": if err := awsAwsjson11_deserializeDocumentUnsearchedFacesList(&sv.UnsearchedFaces, value); err != nil { return err } - case "UserMatches": if err := awsAwsjson11_deserializeDocumentUserMatchList(&sv.UserMatches, value); err != nil { return err } - default: _, _ = key, value @@ -26067,22 +25232,18 @@ func awsAwsjson11_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.FaceModelVersion = ptr.String(jtv) } - case "SearchedFace": if err := awsAwsjson11_deserializeDocumentSearchedFace(&sv.SearchedFace, value); err != nil { return err } - case "SearchedUser": if err := awsAwsjson11_deserializeDocumentSearchedUser(&sv.SearchedUser, value); err != nil { return err } - case "UserMatches": if err := awsAwsjson11_deserializeDocumentUserMatchList(&sv.UserMatches, value); err != nil { return err } - default: _, _ = key, value @@ -26122,7 +25283,6 @@ func awsAwsjson11_deserializeOpDocumentStartCelebrityRecognitionOutput(v **Start } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26162,7 +25322,6 @@ func awsAwsjson11_deserializeOpDocumentStartContentModerationOutput(v **StartCon } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26202,7 +25361,6 @@ func awsAwsjson11_deserializeOpDocumentStartFaceDetectionOutput(v **StartFaceDet } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26242,7 +25400,6 @@ func awsAwsjson11_deserializeOpDocumentStartFaceSearchOutput(v **StartFaceSearch } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26282,7 +25439,6 @@ func awsAwsjson11_deserializeOpDocumentStartLabelDetectionOutput(v **StartLabelD } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26322,7 +25478,6 @@ func awsAwsjson11_deserializeOpDocumentStartMediaAnalysisJobOutput(v **StartMedi } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26362,7 +25517,6 @@ func awsAwsjson11_deserializeOpDocumentStartPersonTrackingOutput(v **StartPerson } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26402,7 +25556,6 @@ func awsAwsjson11_deserializeOpDocumentStartProjectVersionOutput(v **StartProjec } sv.Status = types.ProjectVersionStatus(jtv) } - default: _, _ = key, value @@ -26442,7 +25595,6 @@ func awsAwsjson11_deserializeOpDocumentStartSegmentDetectionOutput(v **StartSegm } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26482,7 +25634,6 @@ func awsAwsjson11_deserializeOpDocumentStartStreamProcessorOutput(v **StartStrea } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -26522,7 +25673,6 @@ func awsAwsjson11_deserializeOpDocumentStartTextDetectionOutput(v **StartTextDet } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -26562,7 +25712,6 @@ func awsAwsjson11_deserializeOpDocumentStopProjectVersionOutput(v **StopProjectV } sv.Status = types.ProjectVersionStatus(jtv) } - default: _, _ = key, value diff --git a/service/repostspace/deserializers.go b/service/repostspace/deserializers.go index f0d99419cae..4fb85336012 100644 --- a/service/repostspace/deserializers.go +++ b/service/repostspace/deserializers.go @@ -185,12 +185,10 @@ func awsRestjson1_deserializeOpDocumentBatchAddRoleOutput(v **BatchAddRoleOutput if err := awsRestjson1_deserializeDocumentAccessorIdList(&sv.AddedAccessorIds, value); err != nil { return err } - case "errors": if err := awsRestjson1_deserializeDocumentBatchErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -354,12 +352,10 @@ func awsRestjson1_deserializeOpDocumentBatchRemoveRoleOutput(v **BatchRemoveRole if err := awsRestjson1_deserializeDocumentBatchErrorList(&sv.Errors, value); err != nil { return err } - case "removedAccessorIds": if err := awsRestjson1_deserializeDocumentAccessorIdList(&sv.RemovedAccessorIds, value); err != nil { return err } - default: _, _ = key, value @@ -533,7 +529,6 @@ func awsRestjson1_deserializeOpDocumentCreateSpaceOutput(v **CreateSpaceOutput, } sv.SpaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -913,7 +908,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Arn = ptr.String(jtv) } - case "clientId": if value != nil { jtv, ok := value.(string) @@ -922,7 +916,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ClientId = ptr.String(jtv) } - case "configurationStatus": if value != nil { jtv, ok := value.(string) @@ -931,7 +924,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ConfigurationStatus = types.ConfigurationStatus(jtv) } - case "contentSize": if value != nil { jtv, ok := value.(json.Number) @@ -944,7 +936,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ContentSize = ptr.Int64(i64) } - case "createDateTime": if value != nil { jtv, ok := value.(string) @@ -957,7 +948,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.CreateDateTime = ptr.Time(t) } - case "customerRoleArn": if value != nil { jtv, ok := value.(string) @@ -966,7 +956,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.CustomerRoleArn = ptr.String(jtv) } - case "deleteDateTime": if value != nil { jtv, ok := value.(string) @@ -979,7 +968,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.DeleteDateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -988,12 +976,10 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Description = ptr.String(jtv) } - case "groupAdmins": if err := awsRestjson1_deserializeDocumentGroupAdmins(&sv.GroupAdmins, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1002,7 +988,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Name = ptr.String(jtv) } - case "randomDomain": if value != nil { jtv, ok := value.(string) @@ -1011,12 +996,10 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.RandomDomain = ptr.String(jtv) } - case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } - case "spaceId": if value != nil { jtv, ok := value.(string) @@ -1025,7 +1008,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.SpaceId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1034,7 +1016,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Status = ptr.String(jtv) } - case "storageLimit": if value != nil { jtv, ok := value.(json.Number) @@ -1047,7 +1028,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.StorageLimit = ptr.Int64(i64) } - case "tier": if value != nil { jtv, ok := value.(string) @@ -1056,12 +1036,10 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Tier = types.TierLevel(jtv) } - case "userAdmins": if err := awsRestjson1_deserializeDocumentUserAdmins(&sv.UserAdmins, value); err != nil { return err } - case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -1074,7 +1052,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.UserCount = ptr.Int32(int32(i64)) } - case "userKMSKey": if value != nil { jtv, ok := value.(string) @@ -1083,7 +1060,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.UserKMSKey = ptr.String(jtv) } - case "vanityDomain": if value != nil { jtv, ok := value.(string) @@ -1092,7 +1068,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.VanityDomain = ptr.String(jtv) } - case "vanityDomainStatus": if value != nil { jtv, ok := value.(string) @@ -1101,7 +1076,6 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.VanityDomainStatus = types.VanityDomainStatus(jtv) } - default: _, _ = key, value @@ -1266,12 +1240,10 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } - case "spaces": if err := awsRestjson1_deserializeDocumentSpacesList(&sv.Spaces, value); err != nil { return err } - default: _, _ = key, value @@ -1435,7 +1407,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2278,15 +2249,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2294,15 +2259,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2373,7 +2334,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.AccessorId = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(json.Number) @@ -2386,7 +2346,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Error = ptr.Int32(int32(i64)) } - case "message": if value != nil { jtv, ok := value.(string) @@ -2395,7 +2354,6 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2459,15 +2417,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2475,7 +2427,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2484,7 +2435,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2493,15 +2443,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2562,15 +2508,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2578,7 +2518,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2591,15 +2530,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2624,15 +2559,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2640,7 +2569,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2649,7 +2577,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2658,15 +2585,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2761,15 +2684,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2777,7 +2694,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2786,7 +2702,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2795,7 +2710,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2804,7 +2718,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2813,15 +2726,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2856,7 +2765,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Arn = ptr.String(jtv) } - case "configurationStatus": if value != nil { jtv, ok := value.(string) @@ -2865,7 +2773,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.ConfigurationStatus = types.ConfigurationStatus(jtv) } - case "contentSize": if value != nil { jtv, ok := value.(json.Number) @@ -2878,7 +2785,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.ContentSize = ptr.Int64(i64) } - case "createDateTime": if value != nil { jtv, ok := value.(string) @@ -2891,7 +2797,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.CreateDateTime = ptr.Time(t) } - case "deleteDateTime": if value != nil { jtv, ok := value.(string) @@ -2904,7 +2809,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.DeleteDateTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2913,7 +2817,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2922,7 +2825,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Name = ptr.String(jtv) } - case "randomDomain": if value != nil { jtv, ok := value.(string) @@ -2931,7 +2833,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.RandomDomain = ptr.String(jtv) } - case "spaceId": if value != nil { jtv, ok := value.(string) @@ -2940,7 +2841,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.SpaceId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2949,7 +2849,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Status = ptr.String(jtv) } - case "storageLimit": if value != nil { jtv, ok := value.(json.Number) @@ -2962,7 +2861,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.StorageLimit = ptr.Int64(i64) } - case "tier": if value != nil { jtv, ok := value.(string) @@ -2971,7 +2869,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Tier = types.TierLevel(jtv) } - case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -2984,7 +2881,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.UserCount = ptr.Int32(int32(i64)) } - case "userKMSKey": if value != nil { jtv, ok := value.(string) @@ -2993,7 +2889,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.UserKMSKey = ptr.String(jtv) } - case "vanityDomain": if value != nil { jtv, ok := value.(string) @@ -3002,7 +2897,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.VanityDomain = ptr.String(jtv) } - case "vanityDomainStatus": if value != nil { jtv, ok := value.(string) @@ -3011,7 +2905,6 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.VanityDomainStatus = types.VanityDomainStatus(jtv) } - default: _, _ = key, value @@ -3111,15 +3004,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3127,7 +3014,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -3136,7 +3022,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3149,7 +3034,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -3158,15 +3042,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3227,20 +3107,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3248,7 +3121,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -3257,15 +3129,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3300,7 +3168,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3309,7 +3176,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/resiliencehub/deserializers.go b/service/resiliencehub/deserializers.go index 7011e34c841..63f012f93fa 100644 --- a/service/resiliencehub/deserializers.go +++ b/service/resiliencehub/deserializers.go @@ -188,12 +188,10 @@ func awsRestjson1_deserializeOpDocumentAcceptResourceGroupingRecommendationsOutp } sv.AppArn = ptr.String(jtv) } - case "failedEntries": if err := awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntries(&sv.FailedEntries, value); err != nil { return err } - default: _, _ = key, value @@ -367,7 +365,6 @@ func awsRestjson1_deserializeOpDocumentAddDraftAppVersionResourceMappingsOutput( } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -376,12 +373,10 @@ func awsRestjson1_deserializeOpDocumentAddDraftAppVersionResourceMappingsOutput( } sv.AppVersion = ptr.String(jtv) } - case "resourceMappings": if err := awsRestjson1_deserializeDocumentResourceMappingList(&sv.ResourceMappings, value); err != nil { return err } - default: _, _ = key, value @@ -549,17 +544,14 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRecommendationStatusOutput(v * } sv.AppArn = ptr.String(jtv) } - case "failedEntries": if err := awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntries(&sv.FailedEntries, value); err != nil { return err } - case "successfulEntries": if err := awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEntries(&sv.SuccessfulEntries, value); err != nil { return err } - default: _, _ = key, value @@ -729,7 +721,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -903,12 +894,10 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionAppComponentOutput(v **Cr } sv.AppArn = ptr.String(jtv) } - case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -917,7 +906,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionAppComponentOutput(v **Cr } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -1091,7 +1079,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionResourceOutput(v **Create } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -1100,12 +1087,10 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionResourceOutput(v **Create } sv.AppVersion = ptr.String(jtv) } - case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } - default: _, _ = key, value @@ -1275,7 +1260,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecommendationTemplateOutput(v **Cr if err := awsRestjson1_deserializeDocumentRecommendationTemplate(&sv.RecommendationTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -1442,7 +1426,6 @@ func awsRestjson1_deserializeOpDocumentCreateResiliencyPolicyOutput(v **CreateRe if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -1610,7 +1593,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu } sv.AppArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1781,7 +1763,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppAssessmentOutput(v **DeleteAppAs } sv.AssessmentArn = ptr.String(jtv) } - case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -1790,7 +1771,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppAssessmentOutput(v **DeleteAppAs } sv.AssessmentStatus = types.AssessmentStatus(jtv) } - default: _, _ = key, value @@ -1961,12 +1941,10 @@ func awsRestjson1_deserializeOpDocumentDeleteAppInputSourceOutput(v **DeleteAppI } sv.AppArn = ptr.String(jtv) } - case "appInputSource": if err := awsRestjson1_deserializeDocumentAppInputSource(&sv.AppInputSource, value); err != nil { return err } - default: _, _ = key, value @@ -2137,12 +2115,10 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionAppComponentOutput(v **De } sv.AppArn = ptr.String(jtv) } - case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -2151,7 +2127,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionAppComponentOutput(v **De } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2322,7 +2297,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionResourceOutput(v **Delete } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -2331,12 +2305,10 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionResourceOutput(v **Delete } sv.AppVersion = ptr.String(jtv) } - case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } - default: _, _ = key, value @@ -2504,7 +2476,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommendationTemplateOutput(v **De } sv.RecommendationTemplateArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2513,7 +2484,6 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommendationTemplateOutput(v **De } sv.Status = types.RecommendationTemplateStatus(jtv) } - default: _, _ = key, value @@ -2684,7 +2654,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResiliencyPolicyOutput(v **DeleteRe } sv.PolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2848,7 +2817,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -3012,7 +2980,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppAssessmentOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentAppAssessment(&sv.Assessment, value); err != nil { return err } - default: _, _ = key, value @@ -3176,7 +3143,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } - case "appArn": if value != nil { jtv, ok := value.(string) @@ -3185,7 +3151,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3194,7 +3159,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3365,12 +3329,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionAppComponentOutput(v ** } sv.AppArn = ptr.String(jtv) } - case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3379,7 +3341,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionAppComponentOutput(v ** } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3550,7 +3511,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourceOutput(v **Desc } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3559,12 +3519,10 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourceOutput(v **Desc } sv.AppVersion = ptr.String(jtv) } - case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } - default: _, _ = key, value @@ -3732,7 +3690,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3741,7 +3698,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.AppVersion = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3750,7 +3706,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.ErrorMessage = ptr.String(jtv) } - case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -3759,7 +3714,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.ResolutionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3768,7 +3722,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.Status = types.ResourceResolutionStatusType(jtv) } - default: _, _ = key, value @@ -3936,7 +3889,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppArn = ptr.String(jtv) } - case "appTemplateBody": if value != nil { jtv, ok := value.(string) @@ -3945,7 +3897,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppTemplateBody = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3954,7 +3905,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4122,7 +4072,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -4131,12 +4080,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.AppVersion = ptr.String(jtv) } - case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetailList(&sv.ErrorDetails, value); err != nil { return err } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4092,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.ErrorMessage = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4100,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.Status = types.ResourceImportStatusType(jtv) } - case "statusChangeTime": if value != nil { switch jtv := value.(type) { @@ -4170,7 +4115,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } } - default: _, _ = key, value @@ -4334,7 +4278,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResiliencyPolicyOutput(v **Descri if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -4502,7 +4445,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.ErrorMessage = ptr.String(jtv) } - case "groupingId": if value != nil { jtv, ok := value.(string) @@ -4511,7 +4453,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.GroupingId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4520,7 +4461,6 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.Status = types.ResourcesGroupingRecGenStatusType(jtv) } - default: _, _ = key, value @@ -4694,7 +4634,6 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -4703,17 +4642,14 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.AppVersion = ptr.String(jtv) } - case "eksSources": if err := awsRestjson1_deserializeDocumentEksSourceList(&sv.EksSources, value); err != nil { return err } - case "sourceArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.SourceArns, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4722,12 +4658,10 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.Status = types.ResourceImportStatusType(jtv) } - case "terraformSources": if err := awsRestjson1_deserializeDocumentTerraformSourceList(&sv.TerraformSources, value); err != nil { return err } - default: _, _ = key, value @@ -4891,7 +4825,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmRecommendationsOutput(v **ListAl if err := awsRestjson1_deserializeDocumentAlarmRecommendationList(&sv.AlarmRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4900,7 +4833,6 @@ func awsRestjson1_deserializeOpDocumentListAlarmRecommendationsOutput(v **ListAl } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5061,7 +4993,6 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentComplianceDriftsOutput(v if err := awsRestjson1_deserializeDocumentComplianceDriftList(&sv.ComplianceDrifts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5070,7 +5001,6 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentComplianceDriftsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,12 +5165,10 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentResourceDriftsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "resourceDrifts": if err := awsRestjson1_deserializeDocumentResourceDriftList(&sv.ResourceDrifts, value); err != nil { return err } - default: _, _ = key, value @@ -5404,7 +5332,6 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentsOutput(v **ListAppAsses if err := awsRestjson1_deserializeDocumentAppAssessmentSummaryList(&sv.AssessmentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5413,7 +5340,6 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentsOutput(v **ListAppAsses } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5577,7 +5503,6 @@ func awsRestjson1_deserializeOpDocumentListAppComponentCompliancesOutput(v **Lis if err := awsRestjson1_deserializeDocumentComponentCompliancesList(&sv.ComponentCompliances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5511,6 @@ func awsRestjson1_deserializeOpDocumentListAppComponentCompliancesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5750,7 +5674,6 @@ func awsRestjson1_deserializeOpDocumentListAppComponentRecommendationsOutput(v * if err := awsRestjson1_deserializeDocumentComponentRecommendationList(&sv.ComponentRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5759,7 +5682,6 @@ func awsRestjson1_deserializeOpDocumentListAppComponentRecommendationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5923,7 +5845,6 @@ func awsRestjson1_deserializeOpDocumentListAppInputSourcesOutput(v **ListAppInpu if err := awsRestjson1_deserializeDocumentAppInputSourceList(&sv.AppInputSources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5932,7 +5853,6 @@ func awsRestjson1_deserializeOpDocumentListAppInputSourcesOutput(v **ListAppInpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6093,7 +6013,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentAppSummaryList(&sv.AppSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6102,7 +6021,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6273,12 +6191,10 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.AppArn = ptr.String(jtv) } - case "appComponents": if err := awsRestjson1_deserializeDocumentAppComponentList(&sv.AppComponents, value); err != nil { return err } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6203,6 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.AppVersion = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6296,7 +6211,6 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6464,12 +6378,10 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourceMappingsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "resourceMappings": if err := awsRestjson1_deserializeDocumentResourceMappingList(&sv.ResourceMappings, value); err != nil { return err } - default: _, _ = key, value @@ -6640,12 +6552,10 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourcesOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } - case "physicalResources": if err := awsRestjson1_deserializeDocumentPhysicalResourceList(&sv.PhysicalResources, value); err != nil { return err } - case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -6654,7 +6564,6 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourcesOutput(v **ListApp } sv.ResolutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6815,7 +6724,6 @@ func awsRestjson1_deserializeOpDocumentListAppVersionsOutput(v **ListAppVersions if err := awsRestjson1_deserializeDocumentAppVersionList(&sv.AppVersions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6824,7 +6732,6 @@ func awsRestjson1_deserializeOpDocumentListAppVersionsOutput(v **ListAppVersions } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6989,12 +6896,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationTemplatesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "recommendationTemplates": if err := awsRestjson1_deserializeDocumentRecommendationTemplateList(&sv.RecommendationTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -7162,12 +7067,10 @@ func awsRestjson1_deserializeOpDocumentListResiliencyPoliciesOutput(v **ListResi } sv.NextToken = ptr.String(jtv) } - case "resiliencyPolicies": if err := awsRestjson1_deserializeDocumentResiliencyPolicies(&sv.ResiliencyPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -7331,7 +7234,6 @@ func awsRestjson1_deserializeOpDocumentListResourceGroupingRecommendationsOutput if err := awsRestjson1_deserializeDocumentGroupingRecommendationList(&sv.GroupingRecommendations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7340,7 +7242,6 @@ func awsRestjson1_deserializeOpDocumentListResourceGroupingRecommendationsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7511,12 +7412,10 @@ func awsRestjson1_deserializeOpDocumentListSopRecommendationsOutput(v **ListSopR } sv.NextToken = ptr.String(jtv) } - case "sopRecommendations": if err := awsRestjson1_deserializeDocumentSopRecommendationList(&sv.SopRecommendations, value); err != nil { return err } - default: _, _ = key, value @@ -7684,12 +7583,10 @@ func awsRestjson1_deserializeOpDocumentListSuggestedResiliencyPoliciesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "resiliencyPolicies": if err := awsRestjson1_deserializeDocumentResiliencyPolicies(&sv.ResiliencyPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -7853,7 +7750,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8024,12 +7920,10 @@ func awsRestjson1_deserializeOpDocumentListTestRecommendationsOutput(v **ListTes } sv.NextToken = ptr.String(jtv) } - case "testRecommendations": if err := awsRestjson1_deserializeDocumentTestRecommendationList(&sv.TestRecommendations, value); err != nil { return err } - default: _, _ = key, value @@ -8200,7 +8094,6 @@ func awsRestjson1_deserializeOpDocumentListUnsupportedAppVersionResourcesOutput( } sv.NextToken = ptr.String(jtv) } - case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -8209,12 +8102,10 @@ func awsRestjson1_deserializeOpDocumentListUnsupportedAppVersionResourcesOutput( } sv.ResolutionId = ptr.String(jtv) } - case "unsupportedResources": if err := awsRestjson1_deserializeDocumentUnsupportedResourceList(&sv.UnsupportedResources, value); err != nil { return err } - default: _, _ = key, value @@ -8385,7 +8276,6 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8394,7 +8284,6 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.AppVersion = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(json.Number) @@ -8407,7 +8296,6 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.Identifier = ptr.Int64(i64) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -8416,7 +8304,6 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -8587,7 +8474,6 @@ func awsRestjson1_deserializeOpDocumentPutDraftAppVersionTemplateOutput(v **PutD } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8596,7 +8482,6 @@ func awsRestjson1_deserializeOpDocumentPutDraftAppVersionTemplateOutput(v **PutD } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -8764,12 +8649,10 @@ func awsRestjson1_deserializeOpDocumentRejectResourceGroupingRecommendationsOutp } sv.AppArn = ptr.String(jtv) } - case "failedEntries": if err := awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntries(&sv.FailedEntries, value); err != nil { return err } - default: _, _ = key, value @@ -8940,7 +8823,6 @@ func awsRestjson1_deserializeOpDocumentRemoveDraftAppVersionResourceMappingsOutp } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8949,7 +8831,6 @@ func awsRestjson1_deserializeOpDocumentRemoveDraftAppVersionResourceMappingsOutp } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9120,7 +9001,6 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -9129,7 +9009,6 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.AppVersion = ptr.String(jtv) } - case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -9138,7 +9017,6 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.ResolutionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9147,7 +9025,6 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.Status = types.ResourceResolutionStatusType(jtv) } - default: _, _ = key, value @@ -9317,7 +9194,6 @@ func awsRestjson1_deserializeOpDocumentStartAppAssessmentOutput(v **StartAppAsse if err := awsRestjson1_deserializeDocumentAppAssessment(&sv.Assessment, value); err != nil { return err } - default: _, _ = key, value @@ -9488,7 +9364,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.AppArn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9497,7 +9372,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.ErrorMessage = ptr.String(jtv) } - case "groupingId": if value != nil { jtv, ok := value.(string) @@ -9506,7 +9380,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.GroupingId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9515,7 +9388,6 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.Status = types.ResourcesGroupingRecGenStatusType(jtv) } - default: _, _ = key, value @@ -9882,7 +9754,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } - default: _, _ = key, value @@ -10049,7 +9920,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } - case "appArn": if value != nil { jtv, ok := value.(string) @@ -10058,7 +9928,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -10067,7 +9936,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10238,12 +10106,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionAppComponentOutput(v **Up } sv.AppArn = ptr.String(jtv) } - case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -10252,7 +10118,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionAppComponentOutput(v **Up } sv.AppVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -10426,7 +10291,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionResourceOutput(v **Update } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -10435,12 +10299,10 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionResourceOutput(v **Update } sv.AppVersion = ptr.String(jtv) } - case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } - default: _, _ = key, value @@ -10607,7 +10469,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResiliencyPolicyOutput(v **UpdateRe if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } - default: _, _ = key, value @@ -10889,15 +10750,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10905,15 +10760,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11018,12 +10869,10 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.AppComponentName = ptr.String(jtv) } - case "appComponentNames": if err := awsRestjson1_deserializeDocumentAppComponentNameList(&sv.AppComponentNames, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -11032,12 +10881,10 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Description = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11046,7 +10893,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Name = ptr.String(jtv) } - case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -11055,7 +10901,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Prerequisite = ptr.String(jtv) } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -11064,7 +10909,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.RecommendationId = ptr.String(jtv) } - case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -11073,7 +10917,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -11082,7 +10925,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.ReferenceId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11091,7 +10933,6 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Type = types.AlarmType(jtv) } - default: _, _ = key, value @@ -11201,7 +11042,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppArn = ptr.String(jtv) } - case "assessmentSchedule": if value != nil { jtv, ok := value.(string) @@ -11210,7 +11050,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AssessmentSchedule = types.AppAssessmentScheduleType(jtv) } - case "awsApplicationArn": if value != nil { jtv, ok := value.(string) @@ -11219,7 +11058,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AwsApplicationArn = ptr.String(jtv) } - case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11228,7 +11066,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.ComplianceStatus = types.AppComplianceStatusType(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11244,7 +11081,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "description": if value != nil { jtv, ok := value.(string) @@ -11253,7 +11089,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } - case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11262,12 +11097,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.DriftStatus = types.AppDriftStatusType(jtv) } - case "eventSubscriptions": if err := awsRestjson1_deserializeDocumentEventSubscriptionList(&sv.EventSubscriptions, value); err != nil { return err } - case "lastAppComplianceEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11283,7 +11116,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "lastDriftEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11299,7 +11131,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "lastResiliencyScoreEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11315,7 +11146,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "name": if value != nil { jtv, ok := value.(string) @@ -11324,12 +11154,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } - case "permissionModel": if err := awsRestjson1_deserializeDocumentPermissionModel(&sv.PermissionModel, value); err != nil { return err } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -11338,7 +11166,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.PolicyArn = ptr.String(jtv) } - case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -11372,7 +11199,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } - case "rpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -11385,7 +11211,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RpoInSecs = ptr.Int32(int32(i64)) } - case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -11398,7 +11223,6 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RtoInSecs = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11407,12 +11231,10 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Status = types.AppStatusType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11452,7 +11274,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -11461,7 +11282,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AppVersion = ptr.String(jtv) } - case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -11470,7 +11290,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentArn = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11479,7 +11298,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentName = ptr.String(jtv) } - case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -11488,12 +11306,10 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentStatus = types.AssessmentStatus(jtv) } - case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } - case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11502,12 +11318,10 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.ComplianceStatus = types.ComplianceStatus(jtv) } - case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } - case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11516,7 +11330,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.DriftStatus = types.DriftStatus(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -11532,7 +11345,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } } - case "invoker": if value != nil { jtv, ok := value.(string) @@ -11541,7 +11353,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.Invoker = types.AssessmentInvoker(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11550,22 +11361,18 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.Message = ptr.String(jtv) } - case "policy": if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } - case "resiliencyScore": if err := awsRestjson1_deserializeDocumentResiliencyScore(&sv.ResiliencyScore, value); err != nil { return err } - case "resourceErrorsDetails": if err := awsRestjson1_deserializeDocumentResourceErrorsDetails(&sv.ResourceErrorsDetails, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11581,17 +11388,14 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } } - case "summary": if err := awsRestjson1_deserializeDocumentAssessmentSummary(&sv.Summary, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -11600,7 +11404,6 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -11640,7 +11443,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -11649,7 +11451,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AppVersion = ptr.String(jtv) } - case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -11658,7 +11459,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentArn = ptr.String(jtv) } - case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11667,7 +11467,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentName = ptr.String(jtv) } - case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -11676,7 +11475,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentStatus = types.AssessmentStatus(jtv) } - case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11685,12 +11483,10 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.ComplianceStatus = types.ComplianceStatus(jtv) } - case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } - case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11699,7 +11495,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.DriftStatus = types.DriftStatus(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -11715,7 +11510,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } - case "invoker": if value != nil { jtv, ok := value.(string) @@ -11724,7 +11518,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.Invoker = types.AssessmentInvoker(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11733,7 +11526,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.Message = ptr.String(jtv) } - case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -11767,7 +11559,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11783,7 +11574,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -11792,7 +11582,6 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -11862,7 +11651,6 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11871,7 +11659,6 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11880,7 +11667,6 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -11889,7 +11675,6 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11929,17 +11714,14 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.AppComponentName = ptr.String(jtv) } - case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } - case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } - case "message": if value != nil { jtv, ok := value.(string) @@ -11948,12 +11730,10 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.Message = ptr.String(jtv) } - case "resiliencyScore": if err := awsRestjson1_deserializeDocumentResiliencyScore(&sv.ResiliencyScore, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -11962,7 +11742,6 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.Status = types.ComplianceStatus(jtv) } - default: _, _ = key, value @@ -12068,7 +11847,6 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va if err := awsRestjson1_deserializeDocumentEksSourceClusterNamespace(&sv.EksSourceClusterNamespace, value); err != nil { return err } - case "importType": if value != nil { jtv, ok := value.(string) @@ -12077,7 +11855,6 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.ImportType = types.ResourceMappingType(jtv) } - case "resourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -12090,7 +11867,6 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.ResourceCount = int32(i64) } - case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -12099,7 +11875,6 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.SourceArn = ptr.String(jtv) } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -12108,12 +11883,10 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.SourceName = ptr.String(jtv) } - case "terraformSource": if err := awsRestjson1_deserializeDocumentTerraformSource(&sv.TerraformSource, value); err != nil { return err } - default: _, _ = key, value @@ -12187,7 +11960,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AppArn = ptr.String(jtv) } - case "assessmentSchedule": if value != nil { jtv, ok := value.(string) @@ -12196,7 +11968,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AssessmentSchedule = types.AppAssessmentScheduleType(jtv) } - case "awsApplicationArn": if value != nil { jtv, ok := value.(string) @@ -12205,7 +11976,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AwsApplicationArn = ptr.String(jtv) } - case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -12214,7 +11984,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ComplianceStatus = types.AppComplianceStatusType(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12230,7 +11999,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -12239,7 +12007,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Description = ptr.String(jtv) } - case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -12248,7 +12015,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.DriftStatus = types.AppDriftStatusType(jtv) } - case "lastAppComplianceEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -12264,7 +12030,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12273,7 +12038,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Name = ptr.String(jtv) } - case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -12307,7 +12071,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "rpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -12320,7 +12083,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RpoInSecs = ptr.Int32(int32(i64)) } - case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -12333,7 +12095,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RtoInSecs = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12342,7 +12103,6 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Status = types.AppStatusType(jtv) } - default: _, _ = key, value @@ -12450,7 +12210,6 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.AppVersion = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12466,7 +12225,6 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } } - case "identifier": if value != nil { jtv, ok := value.(json.Number) @@ -12479,7 +12237,6 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.Identifier = ptr.Int64(i64) } - case "versionName": if value != nil { jtv, ok := value.(string) @@ -12488,7 +12245,6 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -12595,7 +12351,6 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse if err := awsRestjson1_deserializeDocumentAppComponentNameList(&sv.AppComponents, value); err != nil { return err } - case "recommendation": if value != nil { jtv, ok := value.(string) @@ -12604,7 +12359,6 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse } sv.Recommendation = ptr.String(jtv) } - case "risk": if value != nil { jtv, ok := value.(string) @@ -12613,7 +12367,6 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse } sv.Risk = ptr.String(jtv) } - default: _, _ = key, value @@ -12683,7 +12436,6 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma if err := awsRestjson1_deserializeDocumentAssessmentRiskRecommendationList(&sv.RiskRecommendations, value); err != nil { return err } - case "summary": if value != nil { jtv, ok := value.(string) @@ -12692,7 +12444,6 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.Summary = ptr.String(jtv) } - default: _, _ = key, value @@ -12766,7 +12517,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntry( } sv.EntryId = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12775,7 +12525,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntry( } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -12849,7 +12598,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.EntryId = ptr.String(jtv) } - case "excluded": if value != nil { jtv, ok := value.(bool) @@ -12858,7 +12606,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.Excluded = ptr.Bool(jtv) } - case "excludeReason": if value != nil { jtv, ok := value.(string) @@ -12867,12 +12614,10 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.ExcludeReason = types.ExcludeRecommendationReason(jtv) } - case "item": if err := awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(&sv.Item, value); err != nil { return err } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -12881,7 +12626,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.ReferenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12921,12 +12665,10 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.ActualReferenceId = ptr.String(jtv) } - case "actualValue": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.ActualValue, value); err != nil { return err } - case "appId": if value != nil { jtv, ok := value.(string) @@ -12935,7 +12677,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.AppId = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -12944,7 +12685,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.AppVersion = ptr.String(jtv) } - case "diffType": if value != nil { jtv, ok := value.(string) @@ -12953,7 +12693,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.DiffType = types.DifferenceType(jtv) } - case "driftType": if value != nil { jtv, ok := value.(string) @@ -12962,7 +12701,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.DriftType = types.DriftType(jtv) } - case "entityId": if value != nil { jtv, ok := value.(string) @@ -12971,7 +12709,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -12980,7 +12717,6 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.EntityType = ptr.String(jtv) } - case "expectedReferenceId": if value != nil { jtv, ok := value.(string) @@ -12989,12 +12725,10 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.ExpectedReferenceId = ptr.String(jtv) } - case "expectedValue": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.ExpectedValue, value); err != nil { return err } - default: _, _ = key, value @@ -13102,12 +12836,10 @@ func awsRestjson1_deserializeDocumentComponentRecommendation(v **types.Component } sv.AppComponentName = ptr.String(jtv) } - case "configRecommendations": if err := awsRestjson1_deserializeDocumentConfigRecommendationList(&sv.ConfigRecommendations, value); err != nil { return err } - case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -13116,7 +12848,6 @@ func awsRestjson1_deserializeDocumentComponentRecommendation(v **types.Component } sv.RecommendationStatus = types.RecommendationComplianceStatus(jtv) } - default: _, _ = key, value @@ -13190,17 +12921,14 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.AppComponentName = ptr.String(jtv) } - case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } - case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -13209,7 +12937,6 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.Description = ptr.String(jtv) } - case "haArchitecture": if value != nil { jtv, ok := value.(string) @@ -13218,7 +12945,6 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.HaArchitecture = types.HaArchitecture(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13227,7 +12953,6 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.Name = ptr.String(jtv) } - case "optimizationType": if value != nil { jtv, ok := value.(string) @@ -13236,12 +12961,10 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.OptimizationType = types.ConfigRecommendationOptimizationType(jtv) } - case "recommendationCompliance": if err := awsRestjson1_deserializeDocumentRecommendationCompliance(&sv.RecommendationCompliance, value); err != nil { return err } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -13250,12 +12973,10 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.ReferenceId = ptr.String(jtv) } - case "suggestedChanges": if err := awsRestjson1_deserializeDocumentSuggestedChangesList(&sv.SuggestedChanges, value); err != nil { return err } - default: _, _ = key, value @@ -13319,15 +13040,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13335,7 +13050,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13344,7 +13058,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13353,15 +13066,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13421,7 +13130,6 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } } - case "currency": if value != nil { jtv, ok := value.(string) @@ -13430,7 +13138,6 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } sv.Currency = ptr.String(jtv) } - case "frequency": if value != nil { jtv, ok := value.(string) @@ -13439,7 +13146,6 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } sv.Frequency = types.CostFrequency(jtv) } - default: _, _ = key, value @@ -13483,7 +13189,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.AchievableRpoInSecs = int32(i64) } - case "achievableRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13496,7 +13201,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.AchievableRtoInSecs = int32(i64) } - case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -13505,7 +13209,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.ComplianceStatus = types.ComplianceStatus(jtv) } - case "currentRpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13518,7 +13221,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.CurrentRpoInSecs = int32(i64) } - case "currentRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13531,7 +13233,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.CurrentRtoInSecs = int32(i64) } - case "message": if value != nil { jtv, ok := value.(string) @@ -13540,7 +13241,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.Message = ptr.String(jtv) } - case "rpoDescription": if value != nil { jtv, ok := value.(string) @@ -13549,7 +13249,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RpoDescription = ptr.String(jtv) } - case "rpoReferenceId": if value != nil { jtv, ok := value.(string) @@ -13558,7 +13257,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RpoReferenceId = ptr.String(jtv) } - case "rtoDescription": if value != nil { jtv, ok := value.(string) @@ -13567,7 +13265,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RtoDescription = ptr.String(jtv) } - case "rtoReferenceId": if value != nil { jtv, ok := value.(string) @@ -13576,7 +13273,6 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RtoReferenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -13748,12 +13444,10 @@ func awsRestjson1_deserializeDocumentEksSource(v **types.EksSource, value interf } sv.EksClusterArn = ptr.String(jtv) } - case "namespaces": if err := awsRestjson1_deserializeDocumentEksNamespaceList(&sv.Namespaces, value); err != nil { return err } - default: _, _ = key, value @@ -13793,7 +13487,6 @@ func awsRestjson1_deserializeDocumentEksSourceClusterNamespace(v **types.EksSour } sv.EksClusterArn = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -13802,7 +13495,6 @@ func awsRestjson1_deserializeDocumentEksSourceClusterNamespace(v **types.EksSour } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -13876,7 +13568,6 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -13950,7 +13641,6 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.EventType = types.EventType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13959,7 +13649,6 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Name = ptr.String(jtv) } - case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -13968,7 +13657,6 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14076,7 +13764,6 @@ func awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntry(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "groupingRecommendationId": if value != nil { jtv, ok := value.(string) @@ -14085,7 +13772,6 @@ func awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntry(v **types } sv.GroupingRecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -14129,7 +13815,6 @@ func awsRestjson1_deserializeDocumentFailurePolicy(v **types.FailurePolicy, valu } sv.RpoInSecs = int32(i64) } - case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -14142,7 +13827,6 @@ func awsRestjson1_deserializeDocumentFailurePolicy(v **types.FailurePolicy, valu } sv.RtoInSecs = int32(i64) } - default: _, _ = key, value @@ -14182,7 +13866,6 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentId = ptr.String(jtv) } - case "appComponentName": if value != nil { jtv, ok := value.(string) @@ -14191,7 +13874,6 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentName = ptr.String(jtv) } - case "appComponentType": if value != nil { jtv, ok := value.(string) @@ -14200,7 +13882,6 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentType = ptr.String(jtv) } - default: _, _ = key, value @@ -14240,7 +13921,6 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.ConfidenceLevel = types.GroupingRecommendationConfidenceLevel(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -14256,12 +13936,10 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } } - case "groupingAppComponent": if err := awsRestjson1_deserializeDocumentGroupingAppComponent(&sv.GroupingAppComponent, value); err != nil { return err } - case "groupingRecommendationId": if value != nil { jtv, ok := value.(string) @@ -14270,12 +13948,10 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.GroupingRecommendationId = ptr.String(jtv) } - case "recommendationReasons": if err := awsRestjson1_deserializeDocumentString255List(&sv.RecommendationReasons, value); err != nil { return err } - case "rejectionReason": if value != nil { jtv, ok := value.(string) @@ -14284,12 +13960,10 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.RejectionReason = types.GroupingRecommendationRejectionReason(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentGroupingResourceList(&sv.Resources, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -14323,7 +13997,6 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } } - case "status": if value != nil { jtv, ok := value.(string) @@ -14332,7 +14005,6 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.Status = types.GroupingRecommendationStatusType(jtv) } - default: _, _ = key, value @@ -14402,12 +14074,10 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } - case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14416,7 +14086,6 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14425,12 +14094,10 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource } sv.ResourceType = ptr.String(jtv) } - case "sourceAppComponentIds": if err := awsRestjson1_deserializeDocumentString255List(&sv.SourceAppComponentIds, value); err != nil { return err } - default: _, _ = key, value @@ -14530,15 +14197,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14546,15 +14207,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14589,7 +14246,6 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.EksSourceName = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -14598,7 +14254,6 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.Identifier = ptr.String(jtv) } - case "logicalStackName": if value != nil { jtv, ok := value.(string) @@ -14607,7 +14262,6 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.LogicalStackName = ptr.String(jtv) } - case "resourceGroupName": if value != nil { jtv, ok := value.(string) @@ -14616,7 +14270,6 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.ResourceGroupName = ptr.String(jtv) } - case "terraformSourceName": if value != nil { jtv, ok := value.(string) @@ -14625,7 +14278,6 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.TerraformSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -14661,7 +14313,6 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, if err := awsRestjson1_deserializeDocumentIamRoleArnList(&sv.CrossAccountRoleArns, value); err != nil { return err } - case "invokerRoleName": if value != nil { jtv, ok := value.(string) @@ -14670,7 +14321,6 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, } sv.InvokerRoleName = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14679,7 +14329,6 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, } sv.Type = types.PermissionModelType(jtv) } - default: _, _ = key, value @@ -14715,12 +14364,10 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } - case "appComponents": if err := awsRestjson1_deserializeDocumentAppComponentList(&sv.AppComponents, value); err != nil { return err } - case "excluded": if value != nil { jtv, ok := value.(bool) @@ -14729,12 +14376,10 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.Excluded = ptr.Bool(jtv) } - case "logicalResourceId": if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } - case "parentResourceName": if value != nil { jtv, ok := value.(string) @@ -14743,12 +14388,10 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ParentResourceName = ptr.String(jtv) } - case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14757,7 +14400,6 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14766,7 +14408,6 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ResourceType = ptr.String(jtv) } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -14775,7 +14416,6 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.SourceType = types.ResourceSourceType(jtv) } - default: _, _ = key, value @@ -14815,7 +14455,6 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.AwsAccountId = ptr.String(jtv) } - case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -14824,7 +14463,6 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.AwsRegion = ptr.String(jtv) } - case "identifier": if value != nil { jtv, ok := value.(string) @@ -14833,7 +14471,6 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.Identifier = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -14842,7 +14479,6 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.Type = types.PhysicalIdentifierType(jtv) } - default: _, _ = key, value @@ -14951,7 +14587,6 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedComplianceStatus = types.ComplianceStatus(jtv) } - case "expectedRpoDescription": if value != nil { jtv, ok := value.(string) @@ -14960,7 +14595,6 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRpoDescription = ptr.String(jtv) } - case "expectedRpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -14973,7 +14607,6 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRpoInSecs = int32(i64) } - case "expectedRtoDescription": if value != nil { jtv, ok := value.(string) @@ -14982,7 +14615,6 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRtoDescription = ptr.String(jtv) } - case "expectedRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -14995,7 +14627,6 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRtoInSecs = int32(i64) } - default: _, _ = key, value @@ -15071,7 +14702,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.AlreadyImplemented = ptr.Bool(jtv) } - case "excluded": if value != nil { jtv, ok := value.(bool) @@ -15080,7 +14710,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.Excluded = ptr.Bool(jtv) } - case "excludeReason": if value != nil { jtv, ok := value.(string) @@ -15089,7 +14718,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.ExcludeReason = types.ExcludeRecommendationReason(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15098,7 +14726,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.ResourceId = ptr.String(jtv) } - case "targetAccountId": if value != nil { jtv, ok := value.(string) @@ -15107,7 +14734,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.TargetAccountId = ptr.String(jtv) } - case "targetRegion": if value != nil { jtv, ok := value.(string) @@ -15116,7 +14742,6 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.TargetRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -15190,7 +14815,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.AppArn = ptr.String(jtv) } - case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -15199,7 +14823,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.AssessmentArn = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -15215,7 +14838,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } } - case "format": if value != nil { jtv, ok := value.(string) @@ -15224,7 +14846,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Format = types.TemplateFormat(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -15233,7 +14854,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15242,7 +14862,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Name = ptr.String(jtv) } - case "needsReplacements": if value != nil { jtv, ok := value.(bool) @@ -15251,12 +14870,10 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.NeedsReplacements = ptr.Bool(jtv) } - case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } - case "recommendationTemplateArn": if value != nil { jtv, ok := value.(string) @@ -15265,12 +14882,10 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.RecommendationTemplateArn = ptr.String(jtv) } - case "recommendationTypes": if err := awsRestjson1_deserializeDocumentRenderRecommendationTypeList(&sv.RecommendationTypes, value); err != nil { return err } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -15286,7 +14901,6 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } } - case "status": if value != nil { jtv, ok := value.(string) @@ -15295,17 +14909,14 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Status = types.RecommendationTemplateStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "templatesLocation": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TemplatesLocation, value); err != nil { return err } - default: _, _ = key, value @@ -15456,7 +15067,6 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } } - case "dataLocationConstraint": if value != nil { jtv, ok := value.(string) @@ -15465,7 +15075,6 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.DataLocationConstraint = types.DataLocationConstraint(jtv) } - case "estimatedCostTier": if value != nil { jtv, ok := value.(string) @@ -15474,12 +15083,10 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.EstimatedCostTier = types.EstimatedCostTier(jtv) } - case "policy": if err := awsRestjson1_deserializeDocumentDisruptionPolicy(&sv.Policy, value); err != nil { return err } - case "policyArn": if value != nil { jtv, ok := value.(string) @@ -15488,7 +15095,6 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyArn = ptr.String(jtv) } - case "policyDescription": if value != nil { jtv, ok := value.(string) @@ -15497,7 +15103,6 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyDescription = ptr.String(jtv) } - case "policyName": if value != nil { jtv, ok := value.(string) @@ -15506,12 +15111,10 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "tier": if value != nil { jtv, ok := value.(string) @@ -15520,7 +15123,6 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.Tier = types.ResiliencyPolicyTier(jtv) } - default: _, _ = key, value @@ -15556,12 +15158,10 @@ func awsRestjson1_deserializeDocumentResiliencyScore(v **types.ResiliencyScore, if err := awsRestjson1_deserializeDocumentScoringComponentResiliencyScores(&sv.ComponentScore, value); err != nil { return err } - case "disruptionScore": if err := awsRestjson1_deserializeDocumentDisruptionResiliencyScore(&sv.DisruptionScore, value); err != nil { return err } - case "score": if value != nil { switch jtv := value.(type) { @@ -15595,7 +15195,6 @@ func awsRestjson1_deserializeDocumentResiliencyScore(v **types.ResiliencyScore, } } - default: _, _ = key, value @@ -15635,7 +15234,6 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.AppArn = ptr.String(jtv) } - case "appVersion": if value != nil { jtv, ok := value.(string) @@ -15644,7 +15242,6 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.AppVersion = ptr.String(jtv) } - case "diffType": if value != nil { jtv, ok := value.(string) @@ -15653,7 +15250,6 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.DiffType = types.DifferenceType(jtv) } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -15662,12 +15258,10 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.ReferenceId = ptr.String(jtv) } - case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -15741,7 +15335,6 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.LogicalResourceId = ptr.String(jtv) } - case "physicalResourceId": if value != nil { jtv, ok := value.(string) @@ -15750,7 +15343,6 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.PhysicalResourceId = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -15759,7 +15351,6 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -15833,12 +15424,10 @@ func awsRestjson1_deserializeDocumentResourceErrorsDetails(v **types.ResourceErr } sv.HasMoreErrors = ptr.Bool(jtv) } - case "resourceErrors": if err := awsRestjson1_deserializeDocumentResourceErrorList(&sv.ResourceErrors, value); err != nil { return err } - default: _, _ = key, value @@ -15874,7 +15463,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -15883,7 +15471,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -15923,7 +15510,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.AppRegistryAppName = ptr.String(jtv) } - case "eksSourceName": if value != nil { jtv, ok := value.(string) @@ -15932,7 +15518,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.EksSourceName = ptr.String(jtv) } - case "logicalStackName": if value != nil { jtv, ok := value.(string) @@ -15941,7 +15526,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.LogicalStackName = ptr.String(jtv) } - case "mappingType": if value != nil { jtv, ok := value.(string) @@ -15950,12 +15534,10 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.MappingType = types.ResourceMappingType(jtv) } - case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } - case "resourceGroupName": if value != nil { jtv, ok := value.(string) @@ -15964,7 +15546,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.ResourceGroupName = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -15973,7 +15554,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.ResourceName = ptr.String(jtv) } - case "terraformSourceName": if value != nil { jtv, ok := value.(string) @@ -15982,7 +15562,6 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.TerraformSourceName = ptr.String(jtv) } - default: _, _ = key, value @@ -16046,15 +15625,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16062,7 +15635,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -16071,7 +15643,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -16080,15 +15651,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16123,7 +15690,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -16132,7 +15698,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -16176,7 +15741,6 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } sv.ExcludedCount = i64 } - case "outstandingCount": if value != nil { jtv, ok := value.(json.Number) @@ -16189,7 +15753,6 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } sv.OutstandingCount = i64 } - case "possibleScore": if value != nil { switch jtv := value.(type) { @@ -16223,7 +15786,6 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } } - case "score": if value != nil { switch jtv := value.(type) { @@ -16257,7 +15819,6 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } } - default: _, _ = key, value @@ -16322,15 +15883,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16338,15 +15893,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16381,7 +15932,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.AppComponentName = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -16390,12 +15940,10 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Description = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -16404,7 +15952,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Name = ptr.String(jtv) } - case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -16413,7 +15960,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Prerequisite = ptr.String(jtv) } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -16422,7 +15968,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.RecommendationId = ptr.String(jtv) } - case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -16431,7 +15976,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -16440,7 +15984,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.ReferenceId = ptr.String(jtv) } - case "serviceType": if value != nil { jtv, ok := value.(string) @@ -16449,7 +15992,6 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.ServiceType = types.SopServiceType(jtv) } - default: _, _ = key, value @@ -16631,7 +16173,6 @@ func awsRestjson1_deserializeDocumentTerraformSource(v **types.TerraformSource, } sv.S3StateFileUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -16705,12 +16246,10 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.AppComponentName = ptr.String(jtv) } - case "dependsOnAlarms": if err := awsRestjson1_deserializeDocumentAlarmReferenceIdList(&sv.DependsOnAlarms, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -16719,7 +16258,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Description = ptr.String(jtv) } - case "intent": if value != nil { jtv, ok := value.(string) @@ -16728,12 +16266,10 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Intent = ptr.String(jtv) } - case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -16742,7 +16278,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Name = ptr.String(jtv) } - case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -16751,7 +16286,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Prerequisite = ptr.String(jtv) } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -16760,7 +16294,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.RecommendationId = ptr.String(jtv) } - case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -16769,7 +16302,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - case "referenceId": if value != nil { jtv, ok := value.(string) @@ -16778,7 +16310,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.ReferenceId = ptr.String(jtv) } - case "risk": if value != nil { jtv, ok := value.(string) @@ -16787,7 +16318,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Risk = types.TestRisk(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -16796,7 +16326,6 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Type = types.TestType(jtv) } - default: _, _ = key, value @@ -16860,15 +16389,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16876,7 +16399,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16889,15 +16411,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16928,12 +16446,10 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } - case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -16942,7 +16458,6 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe } sv.ResourceType = ptr.String(jtv) } - case "unsupportedResourceStatus": if value != nil { jtv, ok := value.(string) @@ -16951,7 +16466,6 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe } sv.UnsupportedResourceStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -17025,7 +16539,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.ResourceId = ptr.String(jtv) } - case "targetAccountId": if value != nil { jtv, ok := value.(string) @@ -17034,7 +16547,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.TargetAccountId = ptr.String(jtv) } - case "targetRegion": if value != nil { jtv, ok := value.(string) @@ -17043,7 +16555,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.TargetRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -17073,15 +16584,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17089,15 +16594,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/resourceexplorer2/deserializers.go b/service/resourceexplorer2/deserializers.go index 63192b4ee31..685522dfc10 100644 --- a/service/resourceexplorer2/deserializers.go +++ b/service/resourceexplorer2/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentAssociateDefaultViewOutput(v **AssociateD } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -354,12 +353,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetViewOutput(v **BatchGetViewOutput if err := awsRestjson1_deserializeDocumentBatchGetViewErrors(&sv.Errors, value); err != nil { return err } - case "Views": if err := awsRestjson1_deserializeDocumentViewList(&sv.Views, value); err != nil { return err } - default: _, _ = key, value @@ -527,7 +524,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -540,7 +536,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.CreatedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -549,7 +544,6 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.State = types.IndexState(jtv) } - default: _, _ = key, value @@ -719,7 +713,6 @@ func awsRestjson1_deserializeOpDocumentCreateViewOutput(v **CreateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -887,7 +880,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.Arn = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -900,7 +892,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.LastUpdatedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -909,7 +900,6 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.State = types.IndexState(jtv) } - default: _, _ = key, value @@ -1080,7 +1070,6 @@ func awsRestjson1_deserializeOpDocumentDeleteViewOutput(v **DeleteViewOutput, va } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1347,7 +1336,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountLevelServiceConfigurationOutput if err := awsRestjson1_deserializeDocumentOrgConfiguration(&sv.OrgConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1515,7 +1503,6 @@ func awsRestjson1_deserializeOpDocumentGetDefaultViewOutput(v **GetDefaultViewOu } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1683,7 +1670,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1696,7 +1682,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.CreatedAt = ptr.Time(t) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1709,17 +1694,14 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.LastUpdatedAt = ptr.Time(t) } - case "ReplicatingFrom": if err := awsRestjson1_deserializeDocumentRegionList(&sv.ReplicatingFrom, value); err != nil { return err } - case "ReplicatingTo": if err := awsRestjson1_deserializeDocumentRegionList(&sv.ReplicatingTo, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -1728,12 +1710,10 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.State = types.IndexState(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1742,7 +1722,6 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Type = types.IndexType(jtv) } - default: _, _ = key, value @@ -1909,12 +1888,10 @@ func awsRestjson1_deserializeOpDocumentGetViewOutput(v **GetViewOutput, value in if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "View": if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -2075,7 +2052,6 @@ func awsRestjson1_deserializeOpDocumentListIndexesOutput(v **ListIndexesOutput, if err := awsRestjson1_deserializeDocumentIndexList(&sv.Indexes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2084,7 +2060,6 @@ func awsRestjson1_deserializeOpDocumentListIndexesOutput(v **ListIndexesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2245,7 +2220,6 @@ func awsRestjson1_deserializeOpDocumentListIndexesForMembersOutput(v **ListIndex if err := awsRestjson1_deserializeDocumentMemberIndexList(&sv.Indexes, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2254,7 +2228,6 @@ func awsRestjson1_deserializeOpDocumentListIndexesForMembersOutput(v **ListIndex } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2425,12 +2398,10 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -2439,7 +2410,6 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2604,12 +2574,10 @@ func awsRestjson1_deserializeOpDocumentListSupportedResourceTypesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -2776,7 +2744,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2941,12 +2908,10 @@ func awsRestjson1_deserializeOpDocumentListViewsOutput(v **ListViewsOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Views": if err := awsRestjson1_deserializeDocumentViewArnList(&sv.Views, value); err != nil { return err } - default: _, _ = key, value @@ -3113,7 +3078,6 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentResourceCount(&sv.Count, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3122,12 +3086,10 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -3136,7 +3098,6 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3516,7 +3477,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.Arn = ptr.String(jtv) } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3529,7 +3489,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.LastUpdatedAt = ptr.Time(t) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3538,7 +3497,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.State = types.IndexState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3547,7 +3505,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.Type = types.IndexType(jtv) } - default: _, _ = key, value @@ -3714,7 +3671,6 @@ func awsRestjson1_deserializeOpDocumentUpdateViewOutput(v **UpdateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } - default: _, _ = key, value @@ -4032,15 +3988,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4048,15 +3998,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4091,7 +4037,6 @@ func awsRestjson1_deserializeDocumentBatchGetViewError(v **types.BatchGetViewErr } sv.ErrorMessage = ptr.String(jtv) } - case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -4100,7 +4045,6 @@ func awsRestjson1_deserializeDocumentBatchGetViewError(v **types.BatchGetViewErr } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4164,15 +4108,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4180,15 +4118,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4223,7 +4157,6 @@ func awsRestjson1_deserializeDocumentIncludedProperty(v **types.IncludedProperty } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4297,7 +4230,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -4306,7 +4238,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Region = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4315,7 +4246,6 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Type = types.IndexType(jtv) } - default: _, _ = key, value @@ -4379,15 +4309,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4395,15 +4319,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4438,7 +4358,6 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.AccountId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -4447,7 +4366,6 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Arn = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -4456,7 +4374,6 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Region = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4465,7 +4382,6 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Type = types.IndexType(jtv) } - default: _, _ = key, value @@ -4539,7 +4455,6 @@ func awsRestjson1_deserializeDocumentOrgConfiguration(v **types.OrgConfiguration } sv.AWSServiceAccessStatus = types.AWSServiceAccessStatus(jtv) } - case "ServiceLinkedRole": if value != nil { jtv, ok := value.(string) @@ -4548,7 +4463,6 @@ func awsRestjson1_deserializeDocumentOrgConfiguration(v **types.OrgConfiguration } sv.ServiceLinkedRole = ptr.String(jtv) } - default: _, _ = key, value @@ -4624,7 +4538,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } - case "LastReportedAt": if value != nil { jtv, ok := value.(string) @@ -4637,7 +4550,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.LastReportedAt = ptr.Time(t) } - case "OwningAccountId": if value != nil { jtv, ok := value.(string) @@ -4646,12 +4558,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.OwningAccountId = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentResourcePropertyList(&sv.Properties, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -4660,7 +4570,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4669,7 +4578,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -4678,7 +4586,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Service = ptr.String(jtv) } - default: _, _ = key, value @@ -4718,7 +4625,6 @@ func awsRestjson1_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.Complete = ptr.Bool(jtv) } - case "TotalResources": if value != nil { jtv, ok := value.(json.Number) @@ -4731,7 +4637,6 @@ func awsRestjson1_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.TotalResources = ptr.Int64(i64) } - default: _, _ = key, value @@ -4795,15 +4700,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4811,15 +4710,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4850,7 +4745,6 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty if err := awsRestjson1_deserializeDocumentDocument(&sv.Data, value); err != nil { return err } - case "LastReportedAt": if value != nil { jtv, ok := value.(string) @@ -4863,7 +4757,6 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty } sv.LastReportedAt = ptr.Time(t) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4872,7 +4765,6 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4980,7 +4872,6 @@ func awsRestjson1_deserializeDocumentSearchFilter(v **types.SearchFilter, value } sv.FilterString = ptr.String(jtv) } - default: _, _ = key, value @@ -5010,15 +4901,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5026,7 +4911,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5035,7 +4919,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5044,15 +4927,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Value = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5087,7 +4966,6 @@ func awsRestjson1_deserializeDocumentSupportedResourceType(v **types.SupportedRe } sv.ResourceType = ptr.String(jtv) } - case "Service": if value != nil { jtv, ok := value.(string) @@ -5096,7 +4974,6 @@ func awsRestjson1_deserializeDocumentSupportedResourceType(v **types.SupportedRe } sv.Service = ptr.String(jtv) } - default: _, _ = key, value @@ -5162,15 +5039,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5178,15 +5049,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5211,15 +5078,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5227,15 +5088,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5260,20 +5117,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5281,15 +5131,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5324,7 +5170,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - case "ValidationIssue": if value != nil { jtv, ok := value.(string) @@ -5333,7 +5178,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.ValidationIssue = ptr.String(jtv) } - default: _, _ = key, value @@ -5403,12 +5247,10 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err if err := awsRestjson1_deserializeDocumentSearchFilter(&sv.Filters, value); err != nil { return err } - case "IncludedProperties": if err := awsRestjson1_deserializeDocumentIncludedPropertyList(&sv.IncludedProperties, value); err != nil { return err } - case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5421,7 +5263,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.LastUpdatedAt = ptr.Time(t) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -5430,7 +5271,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Owner = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -5439,7 +5279,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Scope = ptr.String(jtv) } - case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -5448,7 +5287,6 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.ViewArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/resourcegroups/deserializers.go b/service/resourcegroups/deserializers.go index 54564e8f945..a7bb8eeaa01 100644 --- a/service/resourcegroups/deserializers.go +++ b/service/resourcegroups/deserializers.go @@ -293,22 +293,18 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - case "GroupConfiguration": if err := awsRestjson1_deserializeDocumentGroupConfiguration(&sv.GroupConfiguration, value); err != nil { return err } - case "ResourceQuery": if err := awsRestjson1_deserializeDocumentResourceQuery(&sv.ResourceQuery, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -475,7 +471,6 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupOutput(v **DeleteGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -639,7 +634,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -806,7 +800,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -973,7 +966,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupConfigurationOutput(v **GetGroupC if err := awsRestjson1_deserializeDocumentGroupConfiguration(&sv.GroupConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -1140,7 +1132,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupQueryOutput(v **GetGroupQueryOutp if err := awsRestjson1_deserializeDocumentGroupQuery(&sv.GroupQuery, value); err != nil { return err } - default: _, _ = key, value @@ -1311,12 +1302,10 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.Arn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1497,7 +1486,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -1506,7 +1494,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.ErrorMessage = ptr.String(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -1515,7 +1502,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.GroupArn = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -1524,7 +1510,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.GroupName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -1533,7 +1518,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1542,7 +1526,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.Status = types.TagSyncTaskStatus(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -1551,7 +1534,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -1560,7 +1542,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TagValue = ptr.String(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -1569,7 +1550,6 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1736,17 +1716,14 @@ func awsRestjson1_deserializeOpDocumentGroupResourcesOutput(v **GroupResourcesOu if err := awsRestjson1_deserializeDocumentFailedResourceList(&sv.Failed, value); err != nil { return err } - case "Pending": if err := awsRestjson1_deserializeDocumentPendingResourceList(&sv.Pending, value); err != nil { return err } - case "Succeeded": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.Succeeded, value); err != nil { return err } - default: _, _ = key, value @@ -1914,12 +1891,10 @@ func awsRestjson1_deserializeOpDocumentListGroupingStatusesOutput(v **ListGroupi } sv.Group = ptr.String(jtv) } - case "GroupingStatuses": if err := awsRestjson1_deserializeDocumentGroupingStatusesList(&sv.GroupingStatuses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1928,7 +1903,6 @@ func awsRestjson1_deserializeOpDocumentListGroupingStatusesOutput(v **ListGroupi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2102,22 +2076,18 @@ func awsRestjson1_deserializeOpDocumentListGroupResourcesOutput(v **ListGroupRes } sv.NextToken = ptr.String(jtv) } - case "QueryErrors": if err := awsRestjson1_deserializeDocumentQueryErrorList(&sv.QueryErrors, value); err != nil { return err } - case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } - case "Resources": if err := awsRestjson1_deserializeDocumentListGroupResourcesItemList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -2281,12 +2251,10 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupIdentifierList(&sv.GroupIdentifiers, value); err != nil { return err } - case "Groups": if err := awsRestjson1_deserializeDocumentGroupList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2295,7 +2263,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2466,12 +2433,10 @@ func awsRestjson1_deserializeOpDocumentListTagSyncTasksOutput(v **ListTagSyncTas } sv.NextToken = ptr.String(jtv) } - case "TagSyncTasks": if err := awsRestjson1_deserializeDocumentTagSyncTaskList(&sv.TagSyncTasks, value); err != nil { return err } - default: _, _ = key, value @@ -2745,17 +2710,14 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.NextToken = ptr.String(jtv) } - case "QueryErrors": if err := awsRestjson1_deserializeDocumentQueryErrorList(&sv.QueryErrors, value); err != nil { return err } - case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -2929,7 +2891,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.GroupArn = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -2938,7 +2899,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.GroupName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2947,7 +2907,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.RoleArn = ptr.String(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -2956,7 +2915,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -2965,7 +2923,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TagValue = ptr.String(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -2974,7 +2931,6 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3145,12 +3101,10 @@ func awsRestjson1_deserializeOpDocumentTagOutput(v **TagOutput, value interface{ } sv.Arn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3317,17 +3271,14 @@ func awsRestjson1_deserializeOpDocumentUngroupResourcesOutput(v **UngroupResourc if err := awsRestjson1_deserializeDocumentFailedResourceList(&sv.Failed, value); err != nil { return err } - case "Pending": if err := awsRestjson1_deserializeDocumentPendingResourceList(&sv.Pending, value); err != nil { return err } - case "Succeeded": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.Succeeded, value); err != nil { return err } - default: _, _ = key, value @@ -3498,12 +3449,10 @@ func awsRestjson1_deserializeOpDocumentUntagOutput(v **UntagOutput, value interf } sv.Arn = ptr.String(jtv) } - case "Keys": if err := awsRestjson1_deserializeDocumentTagKeyList(&sv.Keys, value); err != nil { return err } - default: _, _ = key, value @@ -3667,7 +3616,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } - default: _, _ = key, value @@ -3834,7 +3782,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -4001,7 +3948,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupQueryOutput(v **UpdateGroupQue if err := awsRestjson1_deserializeDocumentGroupQuery(&sv.GroupQuery, value); err != nil { return err } - default: _, _ = key, value @@ -4293,7 +4239,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsDesiredStatus = types.GroupLifecycleEventsDesiredStatus(jtv) } - case "GroupLifecycleEventsStatus": if value != nil { jtv, ok := value.(string) @@ -4302,7 +4247,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsStatus = types.GroupLifecycleEventsStatus(jtv) } - case "GroupLifecycleEventsStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4311,7 +4255,6 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4377,15 +4320,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4393,15 +4330,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4436,7 +4369,6 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4445,7 +4377,6 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ErrorMessage = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4454,7 +4385,6 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4518,15 +4448,9 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4534,15 +4458,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4573,7 +4493,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e if err := awsRestjson1_deserializeDocumentApplicationTag(&sv.ApplicationTag, value); err != nil { return err } - case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -4586,7 +4505,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Criticality = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4595,7 +4513,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4604,7 +4521,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -4613,7 +4529,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4622,7 +4537,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4631,7 +4545,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Owner = ptr.String(jtv) } - default: _, _ = key, value @@ -4667,7 +4580,6 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura if err := awsRestjson1_deserializeDocumentGroupConfigurationList(&sv.Configuration, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -4676,12 +4588,10 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura } sv.FailureReason = ptr.String(jtv) } - case "ProposedConfiguration": if err := awsRestjson1_deserializeDocumentGroupConfigurationList(&sv.ProposedConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4690,7 +4600,6 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura } sv.Status = types.GroupConfigurationStatus(jtv) } - default: _, _ = key, value @@ -4726,7 +4635,6 @@ func awsRestjson1_deserializeDocumentGroupConfigurationItem(v **types.GroupConfi if err := awsRestjson1_deserializeDocumentGroupParameterList(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4735,7 +4643,6 @@ func awsRestjson1_deserializeDocumentGroupConfigurationItem(v **types.GroupConfi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4809,12 +4716,10 @@ func awsRestjson1_deserializeDocumentGroupConfigurationParameter(v **types.Group } sv.Name = ptr.String(jtv) } - case "Values": if err := awsRestjson1_deserializeDocumentGroupConfigurationParameterValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -4894,7 +4799,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Criticality = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4903,7 +4807,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4912,7 +4815,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.DisplayName = ptr.String(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -4921,7 +4823,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupArn = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -4930,7 +4831,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupName = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4939,7 +4839,6 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Owner = ptr.String(jtv) } - default: _, _ = key, value @@ -5013,7 +4912,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.Action = types.GroupingType(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -5022,7 +4920,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4928,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ErrorMessage = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5040,7 +4936,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ResourceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5049,7 +4944,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.Status = types.GroupingStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5065,7 +4959,6 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } } - default: _, _ = key, value @@ -5207,12 +5100,10 @@ func awsRestjson1_deserializeDocumentGroupQuery(v **types.GroupQuery, value inte } sv.GroupName = ptr.String(jtv) } - case "ResourceQuery": if err := awsRestjson1_deserializeDocumentResourceQuery(&sv.ResourceQuery, value); err != nil { return err } - default: _, _ = key, value @@ -5242,15 +5133,9 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5258,15 +5143,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5297,12 +5178,10 @@ func awsRestjson1_deserializeDocumentListGroupResourcesItem(v **types.ListGroupR if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.Identifier, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -5366,15 +5245,9 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5382,15 +5255,11 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5415,15 +5284,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5431,15 +5294,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5474,7 +5333,6 @@ func awsRestjson1_deserializeDocumentPendingResource(v **types.PendingResource, } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5548,7 +5406,6 @@ func awsRestjson1_deserializeDocumentQueryError(v **types.QueryError, value inte } sv.ErrorCode = types.QueryErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -5557,7 +5414,6 @@ func awsRestjson1_deserializeDocumentQueryError(v **types.QueryError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5667,7 +5523,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5676,7 +5531,6 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -5750,7 +5604,6 @@ func awsRestjson1_deserializeDocumentResourceQuery(v **types.ResourceQuery, valu } sv.Query = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5759,7 +5612,6 @@ func awsRestjson1_deserializeDocumentResourceQuery(v **types.ResourceQuery, valu } sv.Type = types.QueryType(jtv) } - default: _, _ = key, value @@ -5799,7 +5651,6 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Name = types.ResourceStatusValue(jtv) } - default: _, _ = key, value @@ -5918,7 +5769,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5927,7 +5777,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.ErrorMessage = ptr.String(jtv) } - case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -5936,7 +5785,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.GroupArn = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -5945,7 +5793,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.GroupName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5954,7 +5801,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5963,7 +5809,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.Status = types.TagSyncTaskStatus(jtv) } - case "TagKey": if value != nil { jtv, ok := value.(string) @@ -5972,7 +5817,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TagKey = ptr.String(jtv) } - case "TagValue": if value != nil { jtv, ok := value.(string) @@ -5981,7 +5825,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TagValue = ptr.String(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -5990,7 +5833,6 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TaskArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6054,15 +5896,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6070,15 +5906,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6103,15 +5935,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6119,15 +5945,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/resourcegroupstaggingapi/deserializers.go b/service/resourcegroupstaggingapi/deserializers.go index a8db76ec0d5..6e0653f8e6c 100644 --- a/service/resourcegroupstaggingapi/deserializers.go +++ b/service/resourcegroupstaggingapi/deserializers.go @@ -1226,17 +1226,14 @@ func awsAwsjson11_deserializeDocumentComplianceDetails(v **types.ComplianceDetai } sv.ComplianceStatus = ptr.Bool(jtv) } - case "KeysWithNoncompliantValues": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.KeysWithNoncompliantValues, value); err != nil { return err } - case "NoncompliantKeys": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.NoncompliantKeys, value); err != nil { return err } - default: _, _ = key, value @@ -1266,15 +1263,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1282,15 +1273,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1315,15 +1302,9 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1331,15 +1312,11 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1409,7 +1386,6 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -1418,7 +1394,6 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorMessage = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1431,7 +1406,6 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.StatusCode = int32(i64) } - default: _, _ = key, value @@ -1461,15 +1435,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1477,15 +1445,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1510,15 +1474,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1526,15 +1484,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1559,15 +1513,9 @@ func awsAwsjson11_deserializeDocumentPaginationTokenExpiredException(v **types.P sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1575,15 +1523,11 @@ func awsAwsjson11_deserializeDocumentPaginationTokenExpiredException(v **types.P } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1614,7 +1558,6 @@ func awsAwsjson11_deserializeDocumentResourceTagMapping(v **types.ResourceTagMap if err := awsAwsjson11_deserializeDocumentComplianceDetails(&sv.ComplianceDetails, value); err != nil { return err } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -1623,12 +1566,10 @@ func awsAwsjson11_deserializeDocumentResourceTagMapping(v **types.ResourceTagMap } sv.ResourceARN = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1702,7 +1643,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.LastUpdated = ptr.String(jtv) } - case "NonCompliantResources": if value != nil { jtv, ok := value.(json.Number) @@ -1715,7 +1655,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.NonCompliantResources = i64 } - case "Region": if value != nil { jtv, ok := value.(string) @@ -1724,7 +1663,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.Region = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1733,7 +1671,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.ResourceType = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -1742,7 +1679,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.TargetId = ptr.String(jtv) } - case "TargetIdType": if value != nil { jtv, ok := value.(string) @@ -1751,7 +1687,6 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.TargetIdType = types.TargetIdType(jtv) } - default: _, _ = key, value @@ -1825,7 +1760,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -1834,7 +1768,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -1970,15 +1903,9 @@ func awsAwsjson11_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1986,15 +1913,11 @@ func awsAwsjson11_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2029,7 +1952,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.ErrorMessage = ptr.String(jtv) } - case "S3Location": if value != nil { jtv, ok := value.(string) @@ -2038,7 +1960,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.S3Location = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -2047,7 +1968,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.StartDate = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2056,7 +1976,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -2096,12 +2015,10 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryOutput(v **GetComplia } sv.PaginationToken = ptr.String(jtv) } - case "SummaryList": if err := awsAwsjson11_deserializeDocumentSummaryList(&sv.SummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -2141,12 +2058,10 @@ func awsAwsjson11_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.PaginationToken = ptr.String(jtv) } - case "ResourceTagMappingList": if err := awsAwsjson11_deserializeDocumentResourceTagMappingList(&sv.ResourceTagMappingList, value); err != nil { return err } - default: _, _ = key, value @@ -2186,12 +2101,10 @@ func awsAwsjson11_deserializeOpDocumentGetTagKeysOutput(v **GetTagKeysOutput, va } sv.PaginationToken = ptr.String(jtv) } - case "TagKeys": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.TagKeys, value); err != nil { return err } - default: _, _ = key, value @@ -2231,12 +2144,10 @@ func awsAwsjson11_deserializeOpDocumentGetTagValuesOutput(v **GetTagValuesOutput } sv.PaginationToken = ptr.String(jtv) } - case "TagValues": if err := awsAwsjson11_deserializeDocumentTagValuesOutputList(&sv.TagValues, value); err != nil { return err } - default: _, _ = key, value @@ -2303,7 +2214,6 @@ func awsAwsjson11_deserializeOpDocumentTagResourcesOutput(v **TagResourcesOutput if err := awsAwsjson11_deserializeDocumentFailedResourcesMap(&sv.FailedResourcesMap, value); err != nil { return err } - default: _, _ = key, value @@ -2339,7 +2249,6 @@ func awsAwsjson11_deserializeOpDocumentUntagResourcesOutput(v **UntagResourcesOu if err := awsAwsjson11_deserializeDocumentFailedResourcesMap(&sv.FailedResourcesMap, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/robomaker/deserializers.go b/service/robomaker/deserializers.go index 51411b45cdc..92060653ef5 100644 --- a/service/robomaker/deserializers.go +++ b/service/robomaker/deserializers.go @@ -178,7 +178,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteWorldsOutput(v **BatchDeleteWo if err := awsRestjson1_deserializeDocumentArns(&sv.UnprocessedWorlds, value); err != nil { return err } - default: _, _ = key, value @@ -339,12 +338,10 @@ func awsRestjson1_deserializeOpDocumentBatchDescribeSimulationJobOutput(v **Batc if err := awsRestjson1_deserializeDocumentSimulationJobs(&sv.Jobs, value); err != nil { return err } - case "unprocessedJobs": if err := awsRestjson1_deserializeDocumentArns(&sv.UnprocessedJobs, value); err != nil { return err } - default: _, _ = key, value @@ -1003,7 +1000,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1019,17 +1015,14 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } } - case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } - case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -1038,7 +1031,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1047,7 +1039,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.FailureReason = ptr.String(jtv) } - case "fleet": if value != nil { jtv, ok := value.(string) @@ -1056,7 +1047,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Fleet = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1065,12 +1055,10 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Status = types.DeploymentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1235,7 +1223,6 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1251,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -1260,12 +1246,10 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1433,7 +1417,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Architecture = types.Architecture(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1442,7 +1425,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1458,7 +1440,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } } - case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -1467,7 +1448,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.GreengrassGroupId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1476,12 +1456,10 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1652,12 +1630,10 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1673,7 +1649,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -1682,7 +1657,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1691,22 +1665,18 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -1715,7 +1685,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -1883,12 +1852,10 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1904,7 +1871,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } } - case "name": if value != nil { jtv, ok := value.(string) @@ -1913,7 +1879,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1922,17 +1887,14 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -1941,7 +1903,6 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2112,12 +2073,10 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2133,7 +2092,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2142,12 +2100,10 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Name = ptr.String(jtv) } - case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2156,27 +2112,22 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2185,7 +2136,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2353,12 +2303,10 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2374,7 +2322,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } } - case "name": if value != nil { jtv, ok := value.(string) @@ -2383,12 +2330,10 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Name = ptr.String(jtv) } - case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2397,22 +2342,18 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -2421,7 +2362,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -2595,7 +2535,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -2604,17 +2543,14 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.ClientRequestToken = ptr.String(jtv) } - case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -2623,7 +2559,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.FailureBehavior = types.FailureBehavior(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -2632,7 +2567,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.FailureCode = types.SimulationJobErrorCode(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -2641,7 +2575,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.IamRole = ptr.String(jtv) } - case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -2657,7 +2590,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2673,12 +2605,10 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } } - case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2691,22 +2621,18 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.MaxJobDurationInSeconds = i64 } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } - case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } - case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -2719,7 +2645,6 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.SimulationTimeMillis = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -2728,17 +2653,14 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.Status = types.SimulationJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -2909,7 +2831,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -2918,7 +2839,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2934,7 +2854,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -2943,7 +2862,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.FailureCode = types.WorldExportJobErrorCode(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -2952,12 +2870,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.IamRole = ptr.String(jtv) } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -2966,12 +2882,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.Status = types.WorldExportJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3145,7 +3059,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3067,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3170,7 +3082,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -3179,7 +3090,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3188,12 +3098,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Status = types.WorldGenerationJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "template": if value != nil { jtv, ok := value.(string) @@ -3202,17 +3110,14 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Template = ptr.String(jtv) } - case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } - case "worldTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.WorldTags, value); err != nil { return err } - default: _, _ = key, value @@ -3383,7 +3288,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -3392,7 +3296,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3408,7 +3311,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } } - case "name": if value != nil { jtv, ok := value.(string) @@ -3417,12 +3319,10 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4060,7 +3960,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterRobotOutput(v **DeregisterRobot } sv.Fleet = ptr.String(jtv) } - case "robot": if value != nil { jtv, ok := value.(string) @@ -4069,7 +3968,6 @@ func awsRestjson1_deserializeOpDocumentDeregisterRobotOutput(v **DeregisterRobot } sv.Robot = ptr.String(jtv) } - default: _, _ = key, value @@ -4234,7 +4132,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4250,17 +4147,14 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } } - case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } - case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4269,7 +4163,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4278,7 +4171,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.FailureReason = ptr.String(jtv) } - case "fleet": if value != nil { jtv, ok := value.(string) @@ -4287,12 +4179,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Fleet = ptr.String(jtv) } - case "robotDeploymentSummary": if err := awsRestjson1_deserializeDocumentRobotDeploymentSummary(&sv.RobotDeploymentSummary, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4301,12 +4191,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Status = types.DeploymentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4471,7 +4359,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4487,7 +4374,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } } - case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -4496,7 +4382,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.LastDeploymentJob = ptr.String(jtv) } - case "lastDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -4505,7 +4390,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.LastDeploymentStatus = types.DeploymentStatus(jtv) } - case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -4521,7 +4405,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } } - case "name": if value != nil { jtv, ok := value.(string) @@ -4530,17 +4413,14 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.Name = ptr.String(jtv) } - case "robots": if err := awsRestjson1_deserializeDocumentRobots(&sv.Robots, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4705,7 +4585,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Architecture = types.Architecture(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4714,7 +4593,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4730,7 +4608,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } } - case "fleetArn": if value != nil { jtv, ok := value.(string) @@ -4739,7 +4616,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.FleetArn = ptr.String(jtv) } - case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -4748,7 +4624,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.GreengrassGroupId = ptr.String(jtv) } - case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -4757,7 +4632,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.LastDeploymentJob = ptr.String(jtv) } - case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -4773,7 +4647,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } } - case "name": if value != nil { jtv, ok := value.(string) @@ -4782,7 +4655,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4791,12 +4663,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Status = types.RobotStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4961,12 +4831,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -4975,7 +4843,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.ImageDigest = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4991,7 +4858,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5000,7 +4866,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5009,22 +4874,18 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -5033,7 +4894,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5198,12 +5058,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -5212,7 +5070,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.ImageDigest = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5228,7 +5085,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } } - case "name": if value != nil { jtv, ok := value.(string) @@ -5237,12 +5093,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Name = ptr.String(jtv) } - case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5251,27 +5105,22 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -5280,7 +5129,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5445,7 +5293,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5454,17 +5301,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.ClientRequestToken = ptr.String(jtv) } - case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -5473,7 +5317,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureBehavior = types.FailureBehavior(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5482,7 +5325,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureCode = types.SimulationJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -5491,7 +5333,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureReason = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -5500,7 +5341,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.IamRole = ptr.String(jtv) } - case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -5516,7 +5356,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5532,12 +5371,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } } - case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5550,7 +5387,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.MaxJobDurationInSeconds = i64 } - case "name": if value != nil { jtv, ok := value.(string) @@ -5559,27 +5395,22 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Name = ptr.String(jtv) } - case "networkInterface": if err := awsRestjson1_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } - case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } - case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -5592,7 +5423,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.SimulationTimeMillis = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -5601,17 +5431,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Status = types.SimulationJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5773,12 +5600,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.Arn = ptr.String(jtv) } - case "batchPolicy": if err := awsRestjson1_deserializeDocumentBatchPolicy(&sv.BatchPolicy, value); err != nil { return err } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5787,7 +5612,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5803,17 +5627,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } } - case "createdRequests": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.CreatedRequests, value); err != nil { return err } - case "failedRequests": if err := awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequests(&sv.FailedRequests, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5822,7 +5643,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.FailureCode = types.SimulationJobBatchErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -5831,7 +5651,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5847,12 +5666,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } } - case "pendingRequests": if err := awsRestjson1_deserializeDocumentCreateSimulationJobRequests(&sv.PendingRequests, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5861,12 +5678,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.Status = types.SimulationJobBatchStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6031,7 +5846,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6047,7 +5861,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } } - case "generationJob": if value != nil { jtv, ok := value.(string) @@ -6056,12 +5869,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.GenerationJob = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "template": if value != nil { jtv, ok := value.(string) @@ -6070,7 +5881,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.Template = ptr.String(jtv) } - case "worldDescriptionBody": if value != nil { jtv, ok := value.(string) @@ -6079,7 +5889,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.WorldDescriptionBody = ptr.String(jtv) } - default: _, _ = key, value @@ -6244,7 +6053,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6253,7 +6061,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6269,7 +6076,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -6278,7 +6084,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.FailureCode = types.WorldExportJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6287,7 +6092,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -6296,12 +6100,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.IamRole = ptr.String(jtv) } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6310,17 +6112,14 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.Status = types.WorldExportJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "worlds": if err := awsRestjson1_deserializeDocumentArns(&sv.Worlds, value); err != nil { return err } - default: _, _ = key, value @@ -6485,7 +6284,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6292,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6510,7 +6307,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -6519,7 +6315,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6528,12 +6323,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } - case "finishedWorldsSummary": if err := awsRestjson1_deserializeDocumentFinishedWorldsSummary(&sv.FinishedWorldsSummary, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6542,12 +6335,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Status = types.WorldGenerationJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "template": if value != nil { jtv, ok := value.(string) @@ -6556,17 +6347,14 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Template = ptr.String(jtv) } - case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } - case "worldTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.WorldTags, value); err != nil { return err } - default: _, _ = key, value @@ -6731,7 +6519,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6740,7 +6527,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6756,7 +6542,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6772,7 +6557,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6781,12 +6565,10 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -6795,7 +6577,6 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6960,7 +6741,6 @@ func awsRestjson1_deserializeOpDocumentGetWorldTemplateBodyOutput(v **GetWorldTe } sv.TemplateBody = ptr.String(jtv) } - default: _, _ = key, value @@ -7121,7 +6901,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentJobsOutput(v **ListDeployme if err := awsRestjson1_deserializeDocumentDeploymentJobs(&sv.DeploymentJobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7130,7 +6909,6 @@ func awsRestjson1_deserializeOpDocumentListDeploymentJobsOutput(v **ListDeployme } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7291,7 +7069,6 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsRestjson1_deserializeDocumentFleets(&sv.FleetDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7300,7 +7077,6 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7462,12 +7238,10 @@ func awsRestjson1_deserializeOpDocumentListRobotApplicationsOutput(v **ListRobot } sv.NextToken = ptr.String(jtv) } - case "robotApplicationSummaries": if err := awsRestjson1_deserializeDocumentRobotApplicationSummaries(&sv.RobotApplicationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7632,12 +7406,10 @@ func awsRestjson1_deserializeOpDocumentListRobotsOutput(v **ListRobotsOutput, va } sv.NextToken = ptr.String(jtv) } - case "robots": if err := awsRestjson1_deserializeDocumentRobots(&sv.Robots, value); err != nil { return err } - default: _, _ = key, value @@ -7799,12 +7571,10 @@ func awsRestjson1_deserializeOpDocumentListSimulationApplicationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "simulationApplicationSummaries": if err := awsRestjson1_deserializeDocumentSimulationApplicationSummaries(&sv.SimulationApplicationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7963,12 +7733,10 @@ func awsRestjson1_deserializeOpDocumentListSimulationJobBatchesOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } - case "simulationJobBatchSummaries": if err := awsRestjson1_deserializeDocumentSimulationJobBatchSummaries(&sv.SimulationJobBatchSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8130,12 +7898,10 @@ func awsRestjson1_deserializeOpDocumentListSimulationJobsOutput(v **ListSimulati } sv.NextToken = ptr.String(jtv) } - case "simulationJobSummaries": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.SimulationJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8296,7 +8062,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8458,12 +8223,10 @@ func awsRestjson1_deserializeOpDocumentListWorldExportJobsOutput(v **ListWorldEx } sv.NextToken = ptr.String(jtv) } - case "worldExportJobSummaries": if err := awsRestjson1_deserializeDocumentWorldExportJobSummaries(&sv.WorldExportJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8625,12 +8388,10 @@ func awsRestjson1_deserializeOpDocumentListWorldGenerationJobsOutput(v **ListWor } sv.NextToken = ptr.String(jtv) } - case "worldGenerationJobSummaries": if err := awsRestjson1_deserializeDocumentWorldGenerationJobSummaries(&sv.WorldGenerationJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8792,12 +8553,10 @@ func awsRestjson1_deserializeOpDocumentListWorldsOutput(v **ListWorldsOutput, va } sv.NextToken = ptr.String(jtv) } - case "worldSummaries": if err := awsRestjson1_deserializeDocumentWorldSummaries(&sv.WorldSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8959,12 +8718,10 @@ func awsRestjson1_deserializeOpDocumentListWorldTemplatesOutput(v **ListWorldTem } sv.NextToken = ptr.String(jtv) } - case "templateSummaries": if err := awsRestjson1_deserializeDocumentTemplateSummaries(&sv.TemplateSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9132,7 +8889,6 @@ func awsRestjson1_deserializeOpDocumentRegisterRobotOutput(v **RegisterRobotOutp } sv.Fleet = ptr.String(jtv) } - case "robot": if value != nil { jtv, ok := value.(string) @@ -9141,7 +8897,6 @@ func awsRestjson1_deserializeOpDocumentRegisterRobotOutput(v **RegisterRobotOutp } sv.Robot = ptr.String(jtv) } - default: _, _ = key, value @@ -9409,12 +9164,10 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.Arn = ptr.String(jtv) } - case "batchPolicy": if err := awsRestjson1_deserializeDocumentBatchPolicy(&sv.BatchPolicy, value); err != nil { return err } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -9423,7 +9176,6 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.ClientRequestToken = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9439,17 +9191,14 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } } - case "createdRequests": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.CreatedRequests, value); err != nil { return err } - case "failedRequests": if err := awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequests(&sv.FailedRequests, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -9458,7 +9207,6 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.FailureCode = types.SimulationJobBatchErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9467,12 +9215,10 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.FailureReason = ptr.String(jtv) } - case "pendingRequests": if err := awsRestjson1_deserializeDocumentCreateSimulationJobRequests(&sv.PendingRequests, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9481,12 +9227,10 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.Status = types.SimulationJobBatchStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9660,7 +9404,6 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9676,17 +9419,14 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } } - case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } - case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -9695,7 +9435,6 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9704,7 +9443,6 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.FailureReason = ptr.String(jtv) } - case "fleet": if value != nil { jtv, ok := value.(string) @@ -9713,7 +9451,6 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Fleet = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9722,7 +9459,6 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Status = types.DeploymentStatus(jtv) } - default: _, _ = key, value @@ -10084,12 +9820,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10105,7 +9839,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10114,7 +9847,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -10123,17 +9855,14 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -10142,7 +9871,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10310,12 +10038,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Arn = ptr.String(jtv) } - case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10331,7 +10057,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10340,12 +10065,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Name = ptr.String(jtv) } - case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -10354,22 +10077,18 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.RevisionId = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } - case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -10378,7 +10097,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10543,7 +10261,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10559,7 +10276,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10575,7 +10291,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10584,7 +10299,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10988,7 +10702,6 @@ func awsRestjson1_deserializeDocumentBatchPolicy(v **types.BatchPolicy, value in } sv.MaxConcurrency = ptr.Int32(int32(i64)) } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11001,7 +10714,6 @@ func awsRestjson1_deserializeDocumentBatchPolicy(v **types.BatchPolicy, value in } sv.TimeoutInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -11077,7 +10789,6 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeType = types.ComputeType(jtv) } - case "gpuUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11090,7 +10801,6 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GpuUnitLimit = ptr.Int32(int32(i64)) } - case "simulationUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11103,7 +10813,6 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.SimulationUnitLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11143,7 +10852,6 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.ComputeType = types.ComputeType(jtv) } - case "gpuUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11156,7 +10864,6 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.GpuUnitLimit = ptr.Int32(int32(i64)) } - case "simulationUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11169,7 +10876,6 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.SimulationUnitLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11199,15 +10905,9 @@ func awsRestjson1_deserializeDocumentConcurrentDeploymentException(v **types.Con sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11215,15 +10915,11 @@ func awsRestjson1_deserializeDocumentConcurrentDeploymentException(v **types.Con } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11292,7 +10988,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Destination = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11301,7 +10996,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -11310,12 +11004,10 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.S3Bucket = ptr.String(jtv) } - case "s3Keys": if err := awsRestjson1_deserializeDocumentS3KeyOutputs(&sv.S3Keys, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -11324,7 +11016,6 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } - default: _, _ = key, value @@ -11364,7 +11055,6 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Destination = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11373,7 +11063,6 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Name = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -11382,12 +11071,10 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.S3Bucket = ptr.String(jtv) } - case "s3Keys": if err := awsRestjson1_deserializeDocumentS3KeysOrPrefixes(&sv.S3Keys, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -11396,7 +11083,6 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Type = types.DataSourceType(jtv) } - default: _, _ = key, value @@ -11540,7 +11226,6 @@ func awsRestjson1_deserializeDocumentDeploymentApplicationConfig(v **types.Deplo } sv.Application = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -11549,12 +11234,10 @@ func awsRestjson1_deserializeDocumentDeploymentApplicationConfig(v **types.Deplo } sv.ApplicationVersion = ptr.String(jtv) } - case "launchConfig": if err := awsRestjson1_deserializeDocumentDeploymentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } - default: _, _ = key, value @@ -11632,12 +11315,10 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.ConcurrentDeploymentPercentage = ptr.Int32(int32(i64)) } - case "downloadConditionFile": if err := awsRestjson1_deserializeDocumentS3Object(&sv.DownloadConditionFile, value); err != nil { return err } - case "failureThresholdPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -11650,7 +11331,6 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.FailureThresholdPercentage = ptr.Int32(int32(i64)) } - case "robotDeploymentTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11663,7 +11343,6 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.RobotDeploymentTimeoutInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -11703,7 +11382,6 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11719,17 +11397,14 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } } - case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } - case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -11738,7 +11413,6 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11747,7 +11421,6 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.FailureReason = ptr.String(jtv) } - case "fleet": if value != nil { jtv, ok := value.(string) @@ -11756,7 +11429,6 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Fleet = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11765,7 +11437,6 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Status = types.DeploymentStatus(jtv) } - default: _, _ = key, value @@ -11835,7 +11506,6 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } - case "launchFile": if value != nil { jtv, ok := value.(string) @@ -11844,7 +11514,6 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.LaunchFile = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -11853,7 +11522,6 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PackageName = ptr.String(jtv) } - case "postLaunchFile": if value != nil { jtv, ok := value.(string) @@ -11862,7 +11530,6 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PostLaunchFile = ptr.String(jtv) } - case "preLaunchFile": if value != nil { jtv, ok := value.(string) @@ -11871,7 +11538,6 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PreLaunchFile = ptr.String(jtv) } - default: _, _ = key, value @@ -11911,7 +11577,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -11994,7 +11659,6 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -12003,7 +11667,6 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } sv.FailureCode = types.SimulationJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -12012,12 +11675,10 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } sv.FailureReason = ptr.String(jtv) } - case "request": if err := awsRestjson1_deserializeDocumentSimulationJobRequest(&sv.Request, value); err != nil { return err } - default: _, _ = key, value @@ -12087,7 +11748,6 @@ func awsRestjson1_deserializeDocumentFailureSummary(v **types.FailureSummary, va if err := awsRestjson1_deserializeDocumentWorldFailures(&sv.Failures, value); err != nil { return err } - case "totalFailureCount": if value != nil { jtv, ok := value.(json.Number) @@ -12100,7 +11760,6 @@ func awsRestjson1_deserializeDocumentFailureSummary(v **types.FailureSummary, va } sv.TotalFailureCount = int32(i64) } - default: _, _ = key, value @@ -12136,7 +11795,6 @@ func awsRestjson1_deserializeDocumentFinishedWorldsSummary(v **types.FinishedWor if err := awsRestjson1_deserializeDocumentFailureSummary(&sv.FailureSummary, value); err != nil { return err } - case "finishedCount": if value != nil { jtv, ok := value.(json.Number) @@ -12149,12 +11807,10 @@ func awsRestjson1_deserializeDocumentFinishedWorldsSummary(v **types.FinishedWor } sv.FinishedCount = int32(i64) } - case "succeededWorlds": if err := awsRestjson1_deserializeDocumentArns(&sv.SucceededWorlds, value); err != nil { return err } - default: _, _ = key, value @@ -12194,7 +11850,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12210,7 +11865,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } - case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -12219,7 +11873,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.LastDeploymentJob = ptr.String(jtv) } - case "lastDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12228,7 +11881,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.LastDeploymentStatus = types.DeploymentStatus(jtv) } - case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -12244,7 +11896,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } - case "name": if value != nil { jtv, ok := value.(string) @@ -12253,7 +11904,6 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -12317,15 +11967,9 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12333,15 +11977,11 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12366,15 +12006,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12382,15 +12016,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12415,15 +12045,9 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12431,15 +12055,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12470,12 +12090,10 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value if err := awsRestjson1_deserializeDocumentCommandList(&sv.Command, value); err != nil { return err } - case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } - case "launchFile": if value != nil { jtv, ok := value.(string) @@ -12484,7 +12102,6 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.LaunchFile = ptr.String(jtv) } - case "packageName": if value != nil { jtv, ok := value.(string) @@ -12493,12 +12110,10 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.PackageName = ptr.String(jtv) } - case "portForwardingConfig": if err := awsRestjson1_deserializeDocumentPortForwardingConfig(&sv.PortForwardingConfig, value); err != nil { return err } - case "streamUI": if value != nil { jtv, ok := value.(bool) @@ -12507,7 +12122,6 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.StreamUI = jtv } - default: _, _ = key, value @@ -12537,15 +12151,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12553,15 +12161,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12596,7 +12200,6 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.RecordAllRosTopics = ptr.Bool(jtv) } - default: _, _ = key, value @@ -12636,7 +12239,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -12645,7 +12247,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } - case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -12654,7 +12255,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -12694,7 +12294,6 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va } sv.S3Bucket = ptr.String(jtv) } - case "s3Prefix": if value != nil { jtv, ok := value.(string) @@ -12703,7 +12302,6 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va } sv.S3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -12739,7 +12337,6 @@ func awsRestjson1_deserializeDocumentPortForwardingConfig(v **types.PortForwardi if err := awsRestjson1_deserializeDocumentPortMappingList(&sv.PortMappings, value); err != nil { return err } - default: _, _ = key, value @@ -12783,7 +12380,6 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ApplicationPort = ptr.Int32(int32(i64)) } - case "enableOnPublicIp": if value != nil { jtv, ok := value.(bool) @@ -12792,7 +12388,6 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EnableOnPublicIp = jtv } - case "jobPort": if value != nil { jtv, ok := value.(json.Number) @@ -12805,7 +12400,6 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.JobPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12879,7 +12473,6 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.CurrentProgress = types.RobotDeploymentStep(jtv) } - case "estimatedTimeRemainingSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12892,7 +12485,6 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.EstimatedTimeRemainingSeconds = ptr.Int32(int32(i64)) } - case "percentDone": if value != nil { switch jtv := value.(type) { @@ -12926,7 +12518,6 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } } - case "targetResource": if value != nil { jtv, ok := value.(string) @@ -12935,7 +12526,6 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.TargetResource = ptr.String(jtv) } - default: _, _ = key, value @@ -12975,7 +12565,6 @@ func awsRestjson1_deserializeDocumentRenderingEngine(v **types.RenderingEngine, } sv.Name = types.RenderingEngineType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -12984,7 +12573,6 @@ func awsRestjson1_deserializeDocumentRenderingEngine(v **types.RenderingEngine, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13014,15 +12602,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13030,15 +12612,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13063,15 +12641,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13079,15 +12651,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13122,7 +12690,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Architecture = types.Architecture(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -13131,7 +12698,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13147,7 +12713,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } } - case "fleetArn": if value != nil { jtv, ok := value.(string) @@ -13156,7 +12721,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.FleetArn = ptr.String(jtv) } - case "greenGrassGroupId": if value != nil { jtv, ok := value.(string) @@ -13165,7 +12729,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.GreenGrassGroupId = ptr.String(jtv) } - case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -13174,7 +12737,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.LastDeploymentJob = ptr.String(jtv) } - case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -13190,7 +12752,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13199,7 +12760,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13208,7 +12768,6 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Status = types.RobotStatus(jtv) } - default: _, _ = key, value @@ -13248,7 +12807,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.Application = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -13257,22 +12815,18 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.ApplicationVersion = ptr.String(jtv) } - case "launchConfig": if err := awsRestjson1_deserializeDocumentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } - case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } - case "uploadConfigurations": if err := awsRestjson1_deserializeDocumentUploadConfigurations(&sv.UploadConfigurations, value); err != nil { return err } - case "useDefaultTools": if value != nil { jtv, ok := value.(bool) @@ -13281,7 +12835,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.UseDefaultTools = ptr.Bool(jtv) } - case "useDefaultUploadConfigurations": if value != nil { jtv, ok := value.(bool) @@ -13290,7 +12843,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.UseDefaultUploadConfigurations = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13434,7 +12986,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Arn = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13450,7 +13001,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } } - case "name": if value != nil { jtv, ok := value.(string) @@ -13459,12 +13009,10 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Name = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -13473,7 +13021,6 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -13513,7 +13060,6 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.Arn = ptr.String(jtv) } - case "deploymentFinishTime": if value != nil { switch jtv := value.(type) { @@ -13529,7 +13075,6 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } } - case "deploymentStartTime": if value != nil { switch jtv := value.(type) { @@ -13545,7 +13090,6 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -13554,7 +13098,6 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13563,12 +13106,10 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.FailureReason = ptr.String(jtv) } - case "progressDetail": if err := awsRestjson1_deserializeDocumentProgressDetail(&sv.ProgressDetail, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -13577,7 +13118,6 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.Status = types.RobotStatus(jtv) } - default: _, _ = key, value @@ -13685,7 +13225,6 @@ func awsRestjson1_deserializeDocumentRobotSoftwareSuite(v **types.RobotSoftwareS } sv.Name = types.RobotSoftwareSuiteType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -13694,7 +13233,6 @@ func awsRestjson1_deserializeDocumentRobotSoftwareSuite(v **types.RobotSoftwareS } sv.Version = types.RobotSoftwareSuiteVersionType(jtv) } - default: _, _ = key, value @@ -13734,7 +13272,6 @@ func awsRestjson1_deserializeDocumentS3KeyOutput(v **types.S3KeyOutput, value in } sv.Etag = ptr.String(jtv) } - case "s3Key": if value != nil { jtv, ok := value.(string) @@ -13743,7 +13280,6 @@ func awsRestjson1_deserializeDocumentS3KeyOutput(v **types.S3KeyOutput, value in } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -13853,7 +13389,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } - case "etag": if value != nil { jtv, ok := value.(string) @@ -13862,7 +13397,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Etag = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -13871,7 +13405,6 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -13937,15 +13470,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13953,15 +13480,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13996,7 +13519,6 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.Application = ptr.String(jtv) } - case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -14005,22 +13527,18 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.ApplicationVersion = ptr.String(jtv) } - case "launchConfig": if err := awsRestjson1_deserializeDocumentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } - case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } - case "uploadConfigurations": if err := awsRestjson1_deserializeDocumentUploadConfigurations(&sv.UploadConfigurations, value); err != nil { return err } - case "useDefaultTools": if value != nil { jtv, ok := value.(bool) @@ -14029,7 +13547,6 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.UseDefaultTools = ptr.Bool(jtv) } - case "useDefaultUploadConfigurations": if value != nil { jtv, ok := value.(bool) @@ -14038,12 +13555,10 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.UseDefaultUploadConfigurations = ptr.Bool(jtv) } - case "worldConfigs": if err := awsRestjson1_deserializeDocumentWorldConfigs(&sv.WorldConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -14187,7 +13702,6 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Arn = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14203,7 +13717,6 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14212,17 +13725,14 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Name = ptr.String(jtv) } - case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } - case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } - case "version": if value != nil { jtv, ok := value.(string) @@ -14231,7 +13741,6 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14271,7 +13780,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Arn = ptr.String(jtv) } - case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -14280,17 +13788,14 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.ClientRequestToken = ptr.String(jtv) } - case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } - case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -14299,7 +13804,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureBehavior = types.FailureBehavior(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -14308,7 +13812,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureCode = types.SimulationJobErrorCode(jtv) } - case "failureReason": if value != nil { jtv, ok := value.(string) @@ -14317,7 +13820,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureReason = ptr.String(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -14326,7 +13828,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.IamRole = ptr.String(jtv) } - case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -14342,7 +13843,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14358,12 +13858,10 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } } - case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -14376,7 +13874,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.MaxJobDurationInSeconds = i64 } - case "name": if value != nil { jtv, ok := value.(string) @@ -14385,27 +13882,22 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Name = ptr.String(jtv) } - case "networkInterface": if err := awsRestjson1_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } - case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } - case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -14418,7 +13910,6 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.SimulationTimeMillis = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -14427,17 +13918,14 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Status = types.SimulationJobStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14511,7 +13999,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14527,7 +14014,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } } - case "createdRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14540,7 +14026,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.CreatedRequestCount = int32(i64) } - case "failedRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14553,7 +14038,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.FailedRequestCount = int32(i64) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14569,7 +14053,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } } - case "pendingRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14582,7 +14065,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.PendingRequestCount = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -14591,7 +14073,6 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.Status = types.SimulationJobBatchStatus(jtv) } - default: _, _ = key, value @@ -14627,12 +14108,10 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo if err := awsRestjson1_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } - case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigs(&sv.DataSources, value); err != nil { return err } - case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -14641,7 +14120,6 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.FailureBehavior = types.FailureBehavior(jtv) } - case "iamRole": if value != nil { jtv, ok := value.(string) @@ -14650,12 +14128,10 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.IamRole = ptr.String(jtv) } - case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } - case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -14668,27 +14144,22 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.MaxJobDurationInSeconds = i64 } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } - case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "useDefaultApplications": if value != nil { jtv, ok := value.(bool) @@ -14697,12 +14168,10 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.UseDefaultApplications = ptr.Bool(jtv) } - case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14810,7 +14279,6 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Arn = ptr.String(jtv) } - case "computeType": if value != nil { jtv, ok := value.(string) @@ -14819,12 +14287,10 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.ComputeType = types.ComputeType(jtv) } - case "dataSourceNames": if err := awsRestjson1_deserializeDocumentDataSourceNames(&sv.DataSourceNames, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14840,7 +14306,6 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } } - case "name": if value != nil { jtv, ok := value.(string) @@ -14849,17 +14314,14 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Name = ptr.String(jtv) } - case "robotApplicationNames": if err := awsRestjson1_deserializeDocumentRobotApplicationNames(&sv.RobotApplicationNames, value); err != nil { return err } - case "simulationApplicationNames": if err := awsRestjson1_deserializeDocumentSimulationApplicationNames(&sv.SimulationApplicationNames, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -14868,7 +14330,6 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Status = types.SimulationJobStatus(jtv) } - default: _, _ = key, value @@ -14908,7 +14369,6 @@ func awsRestjson1_deserializeDocumentSimulationSoftwareSuite(v **types.Simulatio } sv.Name = types.SimulationSoftwareSuiteType(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -14917,7 +14377,6 @@ func awsRestjson1_deserializeDocumentSimulationSoftwareSuite(v **types.Simulatio } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -14957,7 +14416,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Architecture = types.Architecture(jtv) } - case "etag": if value != nil { jtv, ok := value.(string) @@ -14966,7 +14424,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Etag = ptr.String(jtv) } - case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -14975,7 +14432,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.S3Bucket = ptr.String(jtv) } - case "s3Key": if value != nil { jtv, ok := value.(string) @@ -14984,7 +14440,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.S3Key = ptr.String(jtv) } - default: _, _ = key, value @@ -15164,7 +14619,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15180,7 +14634,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15196,7 +14649,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -15205,7 +14657,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -15214,7 +14665,6 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15244,15 +14694,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15260,15 +14704,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15303,7 +14743,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Command = ptr.String(jtv) } - case "exitBehavior": if value != nil { jtv, ok := value.(string) @@ -15312,7 +14751,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.ExitBehavior = types.ExitBehavior(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -15321,7 +14759,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Name = ptr.String(jtv) } - case "streamOutputToCloudWatch": if value != nil { jtv, ok := value.(bool) @@ -15330,7 +14767,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.StreamOutputToCloudWatch = ptr.Bool(jtv) } - case "streamUI": if value != nil { jtv, ok := value.(bool) @@ -15339,7 +14775,6 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.StreamUI = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15413,7 +14848,6 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -15422,7 +14856,6 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.Path = ptr.String(jtv) } - case "uploadBehavior": if value != nil { jtv, ok := value.(string) @@ -15431,7 +14864,6 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.UploadBehavior = types.UploadBehavior(jtv) } - default: _, _ = key, value @@ -15505,17 +14937,14 @@ func awsRestjson1_deserializeDocumentVPCConfig(v **types.VPCConfig, value interf } sv.AssignPublicIp = jtv } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -15555,17 +14984,14 @@ func awsRestjson1_deserializeDocumentVPCConfigResponse(v **types.VPCConfigRespon } sv.AssignPublicIp = jtv } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15574,7 +15000,6 @@ func awsRestjson1_deserializeDocumentVPCConfigResponse(v **types.VPCConfigRespon } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -15614,7 +15039,6 @@ func awsRestjson1_deserializeDocumentWorldConfig(v **types.WorldConfig, value in } sv.World = ptr.String(jtv) } - default: _, _ = key, value @@ -15692,7 +15116,6 @@ func awsRestjson1_deserializeDocumentWorldCount(v **types.WorldCount, value inte } sv.FloorplanCount = ptr.Int32(int32(i64)) } - case "interiorCountPerFloorplan": if value != nil { jtv, ok := value.(json.Number) @@ -15705,7 +15128,6 @@ func awsRestjson1_deserializeDocumentWorldCount(v **types.WorldCount, value inte } sv.InteriorCountPerFloorplan = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -15779,7 +15201,6 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15795,12 +15216,10 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } } - case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -15809,12 +15228,10 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } sv.Status = types.WorldExportJobStatus(jtv) } - case "worlds": if err := awsRestjson1_deserializeDocumentArns(&sv.Worlds, value); err != nil { return err } - default: _, _ = key, value @@ -15854,7 +15271,6 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } - case "failureCount": if value != nil { jtv, ok := value.(json.Number) @@ -15867,7 +15283,6 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.FailureCount = int32(i64) } - case "sampleFailureReason": if value != nil { jtv, ok := value.(string) @@ -15876,7 +15291,6 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.SampleFailureReason = ptr.String(jtv) } - default: _, _ = key, value @@ -15984,7 +15398,6 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16000,7 +15413,6 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } } - case "failedWorldCount": if value != nil { jtv, ok := value.(json.Number) @@ -16013,7 +15425,6 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.FailedWorldCount = int32(i64) } - case "status": if value != nil { jtv, ok := value.(string) @@ -16022,7 +15433,6 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Status = types.WorldGenerationJobStatus(jtv) } - case "succeededWorldCount": if value != nil { jtv, ok := value.(json.Number) @@ -16035,7 +15445,6 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.SucceededWorldCount = int32(i64) } - case "template": if value != nil { jtv, ok := value.(string) @@ -16044,12 +15453,10 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Template = ptr.String(jtv) } - case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } - default: _, _ = key, value @@ -16123,7 +15530,6 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16139,7 +15545,6 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } } - case "generationJob": if value != nil { jtv, ok := value.(string) @@ -16148,7 +15553,6 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.GenerationJob = ptr.String(jtv) } - case "template": if value != nil { jtv, ok := value.(string) @@ -16157,7 +15561,6 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.Template = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/rolesanywhere/deserializers.go b/service/rolesanywhere/deserializers.go index 4d8a2f626be..8a294f2f11d 100644 --- a/service/rolesanywhere/deserializers.go +++ b/service/rolesanywhere/deserializers.go @@ -175,7 +175,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -330,7 +329,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrustAnchorOutput(v **CreateTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -488,7 +486,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAttributeMappingOutput(v **DeleteAt if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -643,7 +640,6 @@ func awsRestjson1_deserializeOpDocumentDeleteCrlOutput(v **DeleteCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -798,7 +794,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -953,7 +948,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTrustAnchorOutput(v **DeleteTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -1108,7 +1102,6 @@ func awsRestjson1_deserializeOpDocumentDisableCrlOutput(v **DisableCrlOutput, va if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -1263,7 +1256,6 @@ func awsRestjson1_deserializeOpDocumentDisableProfileOutput(v **DisableProfileOu if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -1418,7 +1410,6 @@ func awsRestjson1_deserializeOpDocumentDisableTrustAnchorOutput(v **DisableTrust if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -1573,7 +1564,6 @@ func awsRestjson1_deserializeOpDocumentEnableCrlOutput(v **EnableCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -1728,7 +1718,6 @@ func awsRestjson1_deserializeOpDocumentEnableProfileOutput(v **EnableProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -1883,7 +1872,6 @@ func awsRestjson1_deserializeOpDocumentEnableTrustAnchorOutput(v **EnableTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -2035,7 +2023,6 @@ func awsRestjson1_deserializeOpDocumentGetCrlOutput(v **GetCrlOutput, value inte if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -2190,7 +2177,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -2345,7 +2331,6 @@ func awsRestjson1_deserializeOpDocumentGetSubjectOutput(v **GetSubjectOutput, va if err := awsRestjson1_deserializeDocumentSubjectDetail(&sv.Subject, value); err != nil { return err } - default: _, _ = key, value @@ -2503,7 +2488,6 @@ func awsRestjson1_deserializeOpDocumentGetTrustAnchorOutput(v **GetTrustAnchorOu if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -2658,7 +2642,6 @@ func awsRestjson1_deserializeOpDocumentImportCrlOutput(v **ImportCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -2813,7 +2796,6 @@ func awsRestjson1_deserializeOpDocumentListCrlsOutput(v **ListCrlsOutput, value if err := awsRestjson1_deserializeDocumentCrlDetails(&sv.Crls, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2822,7 +2804,6 @@ func awsRestjson1_deserializeOpDocumentListCrlsOutput(v **ListCrlsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2981,12 +2962,10 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } - case "profiles": if err := awsRestjson1_deserializeDocumentProfileDetails(&sv.Profiles, value); err != nil { return err } - default: _, _ = key, value @@ -3145,12 +3124,10 @@ func awsRestjson1_deserializeOpDocumentListSubjectsOutput(v **ListSubjectsOutput } sv.NextToken = ptr.String(jtv) } - case "subjects": if err := awsRestjson1_deserializeDocumentSubjectSummaries(&sv.Subjects, value); err != nil { return err } - default: _, _ = key, value @@ -3308,7 +3285,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3467,12 +3443,10 @@ func awsRestjson1_deserializeOpDocumentListTrustAnchorsOutput(v **ListTrustAncho } sv.NextToken = ptr.String(jtv) } - case "trustAnchors": if err := awsRestjson1_deserializeDocumentTrustAnchorDetails(&sv.TrustAnchors, value); err != nil { return err } - default: _, _ = key, value @@ -3630,7 +3604,6 @@ func awsRestjson1_deserializeOpDocumentPutAttributeMappingOutput(v **PutAttribut if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -3788,7 +3761,6 @@ func awsRestjson1_deserializeOpDocumentPutNotificationSettingsOutput(v **PutNoti if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -3946,7 +3918,6 @@ func awsRestjson1_deserializeOpDocumentResetNotificationSettingsOutput(v **Reset if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -4295,7 +4266,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCrlOutput(v **UpdateCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } - default: _, _ = key, value @@ -4453,7 +4423,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -4611,7 +4580,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTrustAnchorOutput(v **UpdateTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } - default: _, _ = key, value @@ -4785,15 +4753,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4801,15 +4763,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4844,12 +4802,10 @@ func awsRestjson1_deserializeDocumentAttributeMapping(v **types.AttributeMapping } sv.CertificateField = types.CertificateField(jtv) } - case "mappingRules": if err := awsRestjson1_deserializeDocumentMappingRules(&sv.MappingRules, value); err != nil { return err } - default: _, _ = key, value @@ -4957,7 +4913,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Enabled = ptr.Bool(jtv) } - case "failed": if value != nil { jtv, ok := value.(bool) @@ -4966,7 +4921,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Failed = ptr.Bool(jtv) } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -4975,7 +4929,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Issuer = ptr.String(jtv) } - case "seenAt": if value != nil { jtv, ok := value.(string) @@ -4988,7 +4941,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.SeenAt = ptr.Time(t) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -4997,7 +4949,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.SerialNumber = ptr.String(jtv) } - case "x509CertificateData": if value != nil { jtv, ok := value.(string) @@ -5006,7 +4957,6 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.X509CertificateData = ptr.String(jtv) } - default: _, _ = key, value @@ -5050,7 +5000,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CreatedAt = ptr.Time(t) } - case "crlArn": if value != nil { jtv, ok := value.(string) @@ -5059,7 +5008,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlArn = ptr.String(jtv) } - case "crlData": if value != nil { jtv, ok := value.(string) @@ -5072,7 +5020,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlData = dv } - case "crlId": if value != nil { jtv, ok := value.(string) @@ -5081,7 +5028,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlId = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5090,7 +5036,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.Enabled = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5099,7 +5044,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.Name = ptr.String(jtv) } - case "trustAnchorArn": if value != nil { jtv, ok := value.(string) @@ -5108,7 +5052,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.TrustAnchorArn = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5121,7 +5064,6 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5229,12 +5171,10 @@ func awsRestjson1_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Failed = ptr.Bool(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentInstancePropertyMap(&sv.Properties, value); err != nil { return err } - case "seenAt": if value != nil { jtv, ok := value.(string) @@ -5247,7 +5187,6 @@ func awsRestjson1_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SeenAt = ptr.Time(t) } - default: _, _ = key, value @@ -5359,7 +5298,6 @@ func awsRestjson1_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Specifier = ptr.String(jtv) } - default: _, _ = key, value @@ -5433,7 +5371,6 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Channel = types.NotificationChannel(jtv) } - case "configuredBy": if value != nil { jtv, ok := value.(string) @@ -5442,7 +5379,6 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.ConfiguredBy = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5451,7 +5387,6 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Enabled = ptr.Bool(jtv) } - case "event": if value != nil { jtv, ok := value.(string) @@ -5460,7 +5395,6 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Event = types.NotificationEvent(jtv) } - case "threshold": if value != nil { jtv, ok := value.(json.Number) @@ -5473,7 +5407,6 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Threshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5547,12 +5480,10 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.AcceptRoleSessionName = ptr.Bool(jtv) } - case "attributeMappings": if err := awsRestjson1_deserializeDocumentAttributeMappings(&sv.AttributeMappings, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5565,7 +5496,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5574,7 +5504,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.CreatedBy = ptr.String(jtv) } - case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5587,7 +5516,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.DurationSeconds = ptr.Int32(int32(i64)) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5596,12 +5524,10 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.Enabled = ptr.Bool(jtv) } - case "managedPolicyArns": if err := awsRestjson1_deserializeDocumentManagedPolicyList(&sv.ManagedPolicyArns, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5610,7 +5536,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.Name = ptr.String(jtv) } - case "profileArn": if value != nil { jtv, ok := value.(string) @@ -5619,7 +5544,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.ProfileArn = ptr.String(jtv) } - case "profileId": if value != nil { jtv, ok := value.(string) @@ -5628,7 +5552,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.ProfileId = ptr.String(jtv) } - case "requireInstanceProperties": if value != nil { jtv, ok := value.(bool) @@ -5637,12 +5560,10 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.RequireInstanceProperties = ptr.Bool(jtv) } - case "roleArns": if err := awsRestjson1_deserializeDocumentRoleArnList(&sv.RoleArns, value); err != nil { return err } - case "sessionPolicy": if value != nil { jtv, ok := value.(string) @@ -5651,7 +5572,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.SessionPolicy = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5664,7 +5584,6 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -5728,15 +5647,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5744,15 +5657,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5819,7 +5728,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentSourceData(&sv.SourceData, value); err != nil { return err } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -5828,7 +5736,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceType = types.TrustAnchorType(jtv) } - default: _, _ = key, value @@ -5926,12 +5833,10 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.CreatedAt = ptr.Time(t) } - case "credentials": if err := awsRestjson1_deserializeDocumentCredentialSummaries(&sv.Credentials, value); err != nil { return err } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5940,12 +5845,10 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.Enabled = ptr.Bool(jtv) } - case "instanceProperties": if err := awsRestjson1_deserializeDocumentInstanceProperties(&sv.InstanceProperties, value); err != nil { return err } - case "lastSeenAt": if value != nil { jtv, ok := value.(string) @@ -5958,7 +5861,6 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.LastSeenAt = ptr.Time(t) } - case "subjectArn": if value != nil { jtv, ok := value.(string) @@ -5967,7 +5869,6 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.SubjectArn = ptr.String(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -5976,7 +5877,6 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.SubjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5989,7 +5889,6 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.UpdatedAt = ptr.Time(t) } - case "x509Subject": if value != nil { jtv, ok := value.(string) @@ -5998,7 +5897,6 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.X509Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -6076,7 +5974,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.CreatedAt = ptr.Time(t) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -6085,7 +5982,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.Enabled = ptr.Bool(jtv) } - case "lastSeenAt": if value != nil { jtv, ok := value.(string) @@ -6098,7 +5994,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.LastSeenAt = ptr.Time(t) } - case "subjectArn": if value != nil { jtv, ok := value.(string) @@ -6107,7 +6002,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.SubjectArn = ptr.String(jtv) } - case "subjectId": if value != nil { jtv, ok := value.(string) @@ -6116,7 +6010,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.SubjectId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6129,7 +6022,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.UpdatedAt = ptr.Time(t) } - case "x509Subject": if value != nil { jtv, ok := value.(string) @@ -6138,7 +6030,6 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.X509Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -6178,7 +6069,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6187,7 +6077,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6251,15 +6140,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6267,15 +6150,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6314,7 +6193,6 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.CreatedAt = ptr.Time(t) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -6323,7 +6201,6 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.Enabled = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6332,17 +6209,14 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.Name = ptr.String(jtv) } - case "notificationSettings": if err := awsRestjson1_deserializeDocumentNotificationSettingDetails(&sv.NotificationSettings, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "trustAnchorArn": if value != nil { jtv, ok := value.(string) @@ -6351,7 +6225,6 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.TrustAnchorArn = ptr.String(jtv) } - case "trustAnchorId": if value != nil { jtv, ok := value.(string) @@ -6360,7 +6233,6 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.TrustAnchorId = ptr.String(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6373,7 +6245,6 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6437,15 +6308,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6453,15 +6318,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/route53domains/deserializers.go b/service/route53domains/deserializers.go index 08a8b6ccb0f..8863760413f 100644 --- a/service/route53domains/deserializers.go +++ b/service/route53domains/deserializers.go @@ -4274,7 +4274,6 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4283,7 +4282,6 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.DomainName = ptr.String(jtv) } - case "InvoiceId": if value != nil { jtv, ok := value.(string) @@ -4292,7 +4290,6 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.InvoiceId = ptr.String(jtv) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -4301,7 +4298,6 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.Operation = types.OperationType(jtv) } - case "Price": if value != nil { switch jtv := value.(type) { @@ -4335,7 +4331,6 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } } - default: _, _ = key, value @@ -4409,7 +4404,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.AddressLine1 = ptr.String(jtv) } - case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -4418,7 +4412,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.AddressLine2 = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -4427,7 +4420,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.City = ptr.String(jtv) } - case "ContactType": if value != nil { jtv, ok := value.(string) @@ -4436,7 +4428,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.ContactType = types.ContactType(jtv) } - case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -4445,7 +4436,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.CountryCode = types.CountryCode(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -4454,12 +4444,10 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.Email = ptr.String(jtv) } - case "ExtraParams": if err := awsAwsjson11_deserializeDocumentExtraParamList(&sv.ExtraParams, value); err != nil { return err } - case "Fax": if value != nil { jtv, ok := value.(string) @@ -4468,7 +4456,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.Fax = ptr.String(jtv) } - case "FirstName": if value != nil { jtv, ok := value.(string) @@ -4477,7 +4464,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.FirstName = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -4486,7 +4472,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.LastName = ptr.String(jtv) } - case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -4495,7 +4480,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.OrganizationName = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -4504,7 +4488,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.PhoneNumber = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4513,7 +4496,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.State = ptr.String(jtv) } - case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -4522,7 +4504,6 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.ZipCode = ptr.String(jtv) } - default: _, _ = key, value @@ -4566,7 +4547,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Algorithm = ptr.Int32(int32(i64)) } - case "Digest": if value != nil { jtv, ok := value.(string) @@ -4575,7 +4555,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Digest = ptr.String(jtv) } - case "DigestType": if value != nil { jtv, ok := value.(json.Number) @@ -4588,7 +4567,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.DigestType = ptr.Int32(int32(i64)) } - case "Flags": if value != nil { jtv, ok := value.(json.Number) @@ -4601,7 +4579,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Flags = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4610,7 +4587,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Id = ptr.String(jtv) } - case "KeyTag": if value != nil { jtv, ok := value.(json.Number) @@ -4623,7 +4599,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.KeyTag = ptr.Int32(int32(i64)) } - case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -4632,7 +4607,6 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.PublicKey = ptr.String(jtv) } - default: _, _ = key, value @@ -4696,15 +4670,9 @@ func awsAwsjson11_deserializeDocumentDnssecLimitExceeded(v **types.DnssecLimitEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4712,15 +4680,11 @@ func awsAwsjson11_deserializeDocumentDnssecLimitExceeded(v **types.DnssecLimitEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4745,15 +4709,9 @@ func awsAwsjson11_deserializeDocumentDomainLimitExceeded(v **types.DomainLimitEx sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4761,15 +4719,11 @@ func awsAwsjson11_deserializeDocumentDomainLimitExceeded(v **types.DomainLimitEx } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4800,7 +4754,6 @@ func awsAwsjson11_deserializeDocumentDomainPrice(v **types.DomainPrice, value in if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.ChangeOwnershipPrice, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4809,27 +4762,22 @@ func awsAwsjson11_deserializeDocumentDomainPrice(v **types.DomainPrice, value in } sv.Name = ptr.String(jtv) } - case "RegistrationPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RegistrationPrice, value); err != nil { return err } - case "RenewalPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RenewalPrice, value); err != nil { return err } - case "RestorationPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RestorationPrice, value); err != nil { return err } - case "TransferPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.TransferPrice, value); err != nil { return err } - default: _, _ = key, value @@ -4939,7 +4887,6 @@ func awsAwsjson11_deserializeDocumentDomainSuggestion(v **types.DomainSuggestion } sv.Availability = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4948,7 +4895,6 @@ func awsAwsjson11_deserializeDocumentDomainSuggestion(v **types.DomainSuggestion } sv.DomainName = ptr.String(jtv) } - default: _, _ = key, value @@ -5022,7 +4968,6 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.AutoRenew = ptr.Bool(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4976,6 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainName = ptr.String(jtv) } - case "Expiry": if value != nil { switch jtv := value.(type) { @@ -5047,7 +4991,6 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "TransferLock": if value != nil { jtv, ok := value.(bool) @@ -5056,7 +4999,6 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.TransferLock = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5130,7 +5072,6 @@ func awsAwsjson11_deserializeDocumentDomainTransferability(v **types.DomainTrans } sv.Transferable = types.Transferable(jtv) } - default: _, _ = key, value @@ -5160,15 +5101,9 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5176,7 +5111,6 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.Message = ptr.String(jtv) } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -5185,15 +5119,11 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.RequestId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5228,7 +5158,6 @@ func awsAwsjson11_deserializeDocumentExtraParam(v **types.ExtraParam, value inte } sv.Name = types.ExtraParamName(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5237,7 +5166,6 @@ func awsAwsjson11_deserializeDocumentExtraParam(v **types.ExtraParam, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5337,15 +5265,9 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5353,15 +5275,11 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5392,7 +5310,6 @@ func awsAwsjson11_deserializeDocumentNameserver(v **types.Nameserver, value inte if err := awsAwsjson11_deserializeDocumentGlueIpList(&sv.GlueIps, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5401,7 +5318,6 @@ func awsAwsjson11_deserializeDocumentNameserver(v **types.Nameserver, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5465,15 +5381,9 @@ func awsAwsjson11_deserializeDocumentOperationLimitExceeded(v **types.OperationL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5481,15 +5391,11 @@ func awsAwsjson11_deserializeDocumentOperationLimitExceeded(v **types.OperationL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5524,7 +5430,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -5540,7 +5445,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -5549,7 +5453,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Message = ptr.String(jtv) } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -5558,7 +5461,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.OperationId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5567,7 +5469,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } - case "StatusFlag": if value != nil { jtv, ok := value.(string) @@ -5576,7 +5477,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.StatusFlag = types.StatusFlag(jtv) } - case "SubmittedDate": if value != nil { switch jtv := value.(type) { @@ -5592,7 +5492,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5601,7 +5500,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Type = types.OperationType(jtv) } - default: _, _ = key, value @@ -5675,7 +5573,6 @@ func awsAwsjson11_deserializeDocumentPriceWithCurrency(v **types.PriceWithCurren } sv.Currency = ptr.String(jtv) } - case "Price": if value != nil { switch jtv := value.(type) { @@ -5709,7 +5606,6 @@ func awsAwsjson11_deserializeDocumentPriceWithCurrency(v **types.PriceWithCurren } } - default: _, _ = key, value @@ -5749,7 +5645,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5758,7 +5653,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5822,15 +5716,9 @@ func awsAwsjson11_deserializeDocumentTLDRulesViolation(v **types.TLDRulesViolati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5838,15 +5726,11 @@ func awsAwsjson11_deserializeDocumentTLDRulesViolation(v **types.TLDRulesViolati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5871,15 +5755,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedTLD(v **types.UnsupportedTLD, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5887,15 +5765,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedTLD(v **types.UnsupportedTLD, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5930,7 +5804,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptDomainTransferFromAnotherAwsAccount } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -5970,7 +5843,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateDelegationSignerToDomainOutput(v } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6010,7 +5882,6 @@ func awsAwsjson11_deserializeOpDocumentCancelDomainTransferToAnotherAwsAccountOu } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6050,7 +5921,6 @@ func awsAwsjson11_deserializeOpDocumentCheckDomainAvailabilityOutput(v **CheckDo } sv.Availability = types.DomainAvailability(jtv) } - default: _, _ = key, value @@ -6090,12 +5960,10 @@ func awsAwsjson11_deserializeOpDocumentCheckDomainTransferabilityOutput(v **Chec } sv.Message = ptr.String(jtv) } - case "Transferability": if err := awsAwsjson11_deserializeDocumentDomainTransferability(&sv.Transferability, value); err != nil { return err } - default: _, _ = key, value @@ -6135,7 +6003,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6237,7 +6104,6 @@ func awsAwsjson11_deserializeOpDocumentDisableDomainTransferLockOutput(v **Disab } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6277,7 +6143,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateDelegationSignerFromDomainOut } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6348,7 +6213,6 @@ func awsAwsjson11_deserializeOpDocumentEnableDomainTransferLockOutput(v **Enable } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6388,7 +6252,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactReachabilityStatusOutput(v **Ge } sv.DomainName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6397,7 +6260,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactReachabilityStatusOutput(v **Ge } sv.Status = types.ReachabilityStatus(jtv) } - default: _, _ = key, value @@ -6437,7 +6299,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AbuseContactEmail = ptr.String(jtv) } - case "AbuseContactPhone": if value != nil { jtv, ok := value.(string) @@ -6446,12 +6307,10 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AbuseContactPhone = ptr.String(jtv) } - case "AdminContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.AdminContact, value); err != nil { return err } - case "AdminPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6460,7 +6319,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AdminPrivacy = ptr.Bool(jtv) } - case "AutoRenew": if value != nil { jtv, ok := value.(bool) @@ -6469,12 +6327,10 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AutoRenew = ptr.Bool(jtv) } - case "BillingContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.BillingContact, value); err != nil { return err } - case "BillingPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6483,7 +6339,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.BillingPrivacy = ptr.Bool(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -6499,7 +6354,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } - case "DnsSec": if value != nil { jtv, ok := value.(string) @@ -6508,12 +6362,10 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.DnsSec = ptr.String(jtv) } - case "DnssecKeys": if err := awsAwsjson11_deserializeDocumentDnssecKeyList(&sv.DnssecKeys, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -6522,7 +6374,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.DomainName = ptr.String(jtv) } - case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -6538,17 +6389,14 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } - case "Nameservers": if err := awsAwsjson11_deserializeDocumentNameserverList(&sv.Nameservers, value); err != nil { return err } - case "RegistrantContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.RegistrantContact, value); err != nil { return err } - case "RegistrantPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6557,7 +6405,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrantPrivacy = ptr.Bool(jtv) } - case "RegistrarName": if value != nil { jtv, ok := value.(string) @@ -6566,7 +6413,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrarName = ptr.String(jtv) } - case "RegistrarUrl": if value != nil { jtv, ok := value.(string) @@ -6575,7 +6421,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrarUrl = ptr.String(jtv) } - case "RegistryDomainId": if value != nil { jtv, ok := value.(string) @@ -6584,7 +6429,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistryDomainId = ptr.String(jtv) } - case "Reseller": if value != nil { jtv, ok := value.(string) @@ -6593,17 +6437,14 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.Reseller = ptr.String(jtv) } - case "StatusList": if err := awsAwsjson11_deserializeDocumentDomainStatusList(&sv.StatusList, value); err != nil { return err } - case "TechContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.TechContact, value); err != nil { return err } - case "TechPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6612,7 +6453,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.TechPrivacy = ptr.Bool(jtv) } - case "UpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6628,7 +6468,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } - case "WhoIsServer": if value != nil { jtv, ok := value.(string) @@ -6637,7 +6476,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.WhoIsServer = ptr.String(jtv) } - default: _, _ = key, value @@ -6673,7 +6511,6 @@ func awsAwsjson11_deserializeOpDocumentGetDomainSuggestionsOutput(v **GetDomainS if err := awsAwsjson11_deserializeDocumentDomainSuggestionsList(&sv.SuggestionsList, value); err != nil { return err } - default: _, _ = key, value @@ -6713,7 +6550,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.DomainName = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6729,7 +6565,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -6738,7 +6573,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Message = ptr.String(jtv) } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -6747,7 +6581,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.OperationId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6756,7 +6589,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Status = types.OperationStatus(jtv) } - case "StatusFlag": if value != nil { jtv, ok := value.(string) @@ -6765,7 +6597,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.StatusFlag = types.StatusFlag(jtv) } - case "SubmittedDate": if value != nil { switch jtv := value.(type) { @@ -6781,7 +6612,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6790,7 +6620,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Type = types.OperationType(jtv) } - default: _, _ = key, value @@ -6826,7 +6655,6 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson11_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } - case "NextPageMarker": if value != nil { jtv, ok := value.(string) @@ -6835,7 +6663,6 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextPageMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -6875,12 +6702,10 @@ func awsAwsjson11_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextPageMarker = ptr.String(jtv) } - case "Operations": if err := awsAwsjson11_deserializeDocumentOperationSummaryList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -6920,12 +6745,10 @@ func awsAwsjson11_deserializeOpDocumentListPricesOutput(v **ListPricesOutput, va } sv.NextPageMarker = ptr.String(jtv) } - case "Prices": if err := awsAwsjson11_deserializeDocumentDomainPriceList(&sv.Prices, value); err != nil { return err } - default: _, _ = key, value @@ -6961,7 +6784,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForDomainOutput(v **ListTagsForDo if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -7001,7 +6823,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterDomainOutput(v **RegisterDomainOu } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7041,7 +6862,6 @@ func awsAwsjson11_deserializeOpDocumentRejectDomainTransferFromAnotherAwsAccount } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7081,7 +6901,6 @@ func awsAwsjson11_deserializeOpDocumentRenewDomainOutput(v **RenewDomainOutput, } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7121,7 +6940,6 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.DomainName = ptr.String(jtv) } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -7130,7 +6948,6 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.EmailAddress = ptr.String(jtv) } - case "isAlreadyVerified": if value != nil { jtv, ok := value.(bool) @@ -7139,7 +6956,6 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.IsAlreadyVerified = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7179,7 +6995,6 @@ func awsAwsjson11_deserializeOpDocumentRetrieveDomainAuthCodeOutput(v **Retrieve } sv.AuthCode = ptr.String(jtv) } - default: _, _ = key, value @@ -7219,7 +7034,6 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainOutput(v **TransferDomainOu } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7259,7 +7073,6 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainToAnotherAwsAccountOutput(v } sv.OperationId = ptr.String(jtv) } - case "Password": if value != nil { jtv, ok := value.(string) @@ -7268,7 +7081,6 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainToAnotherAwsAccountOutput(v } sv.Password = ptr.String(jtv) } - default: _, _ = key, value @@ -7308,7 +7120,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainContactOutput(v **UpdateDomai } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7348,7 +7159,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainContactPrivacyOutput(v **Upda } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7388,7 +7198,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainNameserversOutput(v **UpdateD } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7455,7 +7264,6 @@ func awsAwsjson11_deserializeOpDocumentViewBillingOutput(v **ViewBillingOutput, if err := awsAwsjson11_deserializeDocumentBillingRecords(&sv.BillingRecords, value); err != nil { return err } - case "NextPageMarker": if value != nil { jtv, ok := value.(string) @@ -7464,7 +7272,6 @@ func awsAwsjson11_deserializeOpDocumentViewBillingOutput(v **ViewBillingOutput, } sv.NextPageMarker = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/route53profiles/deserializers.go b/service/route53profiles/deserializers.go index 22618083bc4..2c1e96bc1d6 100644 --- a/service/route53profiles/deserializers.go +++ b/service/route53profiles/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentAssociateProfileOutput(v **AssociateProfi if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -365,7 +364,6 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceToProfileOutput(v **Asso if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -693,7 +690,6 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -860,7 +856,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateProfileOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1033,7 +1028,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceFromProfileOutput(v * if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1194,7 +1188,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -1355,7 +1348,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileAssociationOutput(v **GetProfil if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1519,7 +1511,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileResourceAssociationOutput(v **G if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -1687,12 +1678,10 @@ func awsRestjson1_deserializeOpDocumentListProfileAssociationsOutput(v **ListPro } sv.NextToken = ptr.String(jtv) } - case "ProfileAssociations": if err := awsRestjson1_deserializeDocumentProfileAssociations(&sv.ProfileAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -1866,12 +1855,10 @@ func awsRestjson1_deserializeOpDocumentListProfileResourceAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "ProfileResourceAssociations": if err := awsRestjson1_deserializeDocumentProfileResourceAssociations(&sv.ProfileResourceAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -2039,12 +2026,10 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } - case "ProfileSummaries": if err := awsRestjson1_deserializeDocumentProfileSummaryList(&sv.ProfileSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2208,7 +2193,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2578,7 +2562,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileResourceAssociationOutput(v if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -2968,15 +2951,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2984,15 +2961,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3017,15 +2990,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3033,15 +3000,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3066,15 +3029,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3082,15 +3039,11 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3115,15 +3068,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3131,15 +3078,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3164,13 +3107,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FieldName": if value != nil { @@ -3180,8 +3117,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FieldName = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3189,15 +3125,11 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3222,15 +3154,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3238,7 +3164,6 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3247,15 +3172,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3290,7 +3211,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Arn = ptr.String(jtv) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -3299,7 +3219,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ClientToken = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3315,7 +3234,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3324,7 +3242,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Id = ptr.String(jtv) } - case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3340,7 +3257,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3349,7 +3265,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3358,7 +3273,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.OwnerId = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -3367,7 +3281,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ShareStatus = types.ShareStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3376,7 +3289,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Status = types.ProfileStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3385,7 +3297,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3432,7 +3343,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3441,7 +3351,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Id = ptr.String(jtv) } - case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3457,7 +3366,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3374,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3475,7 +3382,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.OwnerId = ptr.String(jtv) } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -3484,7 +3390,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.ProfileId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3493,7 +3398,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.ResourceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3502,7 +3406,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Status = types.ProfileStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3511,7 +3414,6 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3592,7 +3494,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3601,7 +3502,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Id = ptr.String(jtv) } - case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3617,7 +3517,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3525,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3533,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.OwnerId = ptr.String(jtv) } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -3644,7 +3541,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ProfileId = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3653,7 +3549,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceArn = ptr.String(jtv) } - case "ResourceProperties": if value != nil { jtv, ok := value.(string) @@ -3662,7 +3557,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceProperties = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3671,7 +3565,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3680,7 +3573,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Status = types.ProfileStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3689,7 +3581,6 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3763,7 +3654,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3772,7 +3662,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3781,7 +3670,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Name = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -3790,7 +3678,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ShareStatus = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -3854,15 +3741,9 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3870,7 +3751,6 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3879,15 +3759,11 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3912,15 +3788,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3928,7 +3798,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3937,15 +3806,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4006,15 +3871,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4022,15 +3881,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4055,15 +3910,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4071,15 +3920,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/route53recoverycluster/deserializers.go b/service/route53recoverycluster/deserializers.go index 47c3a4ddfce..fc799042daa 100644 --- a/service/route53recoverycluster/deserializers.go +++ b/service/route53recoverycluster/deserializers.go @@ -842,15 +842,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -858,15 +852,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -891,15 +881,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -907,7 +891,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -916,7 +899,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -925,15 +907,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -958,15 +936,9 @@ func awsAwsjson10_deserializeDocumentEndpointTemporarilyUnavailableException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -974,15 +946,11 @@ func awsAwsjson10_deserializeDocumentEndpointTemporarilyUnavailableException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1007,15 +975,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1023,7 +985,6 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1036,15 +997,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1069,15 +1026,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1085,7 +1036,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1094,7 +1044,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1103,15 +1052,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1146,7 +1091,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelArn = ptr.String(jtv) } - case "ControlPanelName": if value != nil { jtv, ok := value.(string) @@ -1155,7 +1099,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelName = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -1164,7 +1107,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Owner = ptr.String(jtv) } - case "RoutingControlArn": if value != nil { jtv, ok := value.(string) @@ -1173,7 +1115,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlArn = ptr.String(jtv) } - case "RoutingControlName": if value != nil { jtv, ok := value.(string) @@ -1182,7 +1123,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlName = ptr.String(jtv) } - case "RoutingControlState": if value != nil { jtv, ok := value.(string) @@ -1191,7 +1131,6 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlState = types.RoutingControlState(jtv) } - default: _, _ = key, value @@ -1255,13 +1194,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "limitCode": if value != nil { @@ -1271,8 +1204,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1280,7 +1212,6 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1289,7 +1220,6 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1298,7 +1228,6 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -1307,15 +1236,11 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1340,15 +1265,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1356,7 +1275,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1369,15 +1287,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1402,20 +1316,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1423,7 +1330,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -1432,15 +1338,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1475,7 +1377,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1484,7 +1385,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1558,7 +1458,6 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlArn = ptr.String(jtv) } - case "RoutingControlName": if value != nil { jtv, ok := value.(string) @@ -1567,7 +1466,6 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlName = ptr.String(jtv) } - case "RoutingControlState": if value != nil { jtv, ok := value.(string) @@ -1576,7 +1474,6 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlState = types.RoutingControlState(jtv) } - default: _, _ = key, value @@ -1616,12 +1513,10 @@ func awsAwsjson10_deserializeOpDocumentListRoutingControlsOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } - case "RoutingControls": if err := awsAwsjson10_deserializeDocumentRoutingControls(&sv.RoutingControls, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/route53recoverycontrolconfig/deserializers.go b/service/route53recoverycontrolconfig/deserializers.go index 5c40854f8d9..864cf0a4495 100644 --- a/service/route53recoverycontrolconfig/deserializers.go +++ b/service/route53recoverycontrolconfig/deserializers.go @@ -189,7 +189,6 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -359,7 +358,6 @@ func awsRestjson1_deserializeOpDocumentCreateControlPanelOutput(v **CreateContro if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingControlOutput(v **CreateRout if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } - default: _, _ = key, value @@ -684,12 +681,10 @@ func awsRestjson1_deserializeOpDocumentCreateSafetyRuleOutput(v **CreateSafetyRu if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } - case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } - default: _, _ = key, value @@ -1259,7 +1254,6 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } - default: _, _ = key, value @@ -1426,7 +1420,6 @@ func awsRestjson1_deserializeOpDocumentDescribeControlPanelOutput(v **DescribeCo if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } - default: _, _ = key, value @@ -1593,7 +1586,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRoutingControlOutput(v **Describe if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } - default: _, _ = key, value @@ -1748,12 +1740,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSafetyRuleOutput(v **DescribeSafe if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } - case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } - default: _, _ = key, value @@ -1912,7 +1902,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -2070,7 +2059,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedRoute53HealthChecksOutput(v if err := awsRestjson1_deserializeDocument__listOf__stringMax36PatternS(&sv.HealthCheckIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2079,7 +2067,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedRoute53HealthChecksOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2243,7 +2230,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfCluster(&sv.Clusters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2252,7 +2238,6 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2416,7 +2401,6 @@ func awsRestjson1_deserializeOpDocumentListControlPanelsOutput(v **ListControlPa if err := awsRestjson1_deserializeDocument__listOfControlPanel(&sv.ControlPanels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2425,7 +2409,6 @@ func awsRestjson1_deserializeOpDocumentListControlPanelsOutput(v **ListControlPa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2593,12 +2576,10 @@ func awsRestjson1_deserializeOpDocumentListRoutingControlsOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } - case "RoutingControls": if err := awsRestjson1_deserializeDocument__listOfRoutingControl(&sv.RoutingControls, value); err != nil { return err } - default: _, _ = key, value @@ -2766,12 +2747,10 @@ func awsRestjson1_deserializeOpDocumentListSafetyRulesOutput(v **ListSafetyRules } sv.NextToken = ptr.String(jtv) } - case "SafetyRules": if err := awsRestjson1_deserializeDocument__listOfRule(&sv.SafetyRules, value); err != nil { return err } - default: _, _ = key, value @@ -2929,7 +2908,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__stringMin0Max256PatternS(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3284,7 +3262,6 @@ func awsRestjson1_deserializeOpDocumentUpdateControlPanelOutput(v **UpdateContro if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } - default: _, _ = key, value @@ -3451,7 +3428,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRoutingControlOutput(v **UpdateRout if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } - default: _, _ = key, value @@ -3609,12 +3585,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSafetyRuleOutput(v **UpdateSafetyRu if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } - case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } - default: _, _ = key, value @@ -4174,15 +4148,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4190,15 +4158,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4229,7 +4193,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.AssertedControls, value); err != nil { return err } - case "ControlPanelArn": if value != nil { jtv, ok := value.(string) @@ -4238,7 +4201,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.ControlPanelArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4247,7 +4209,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4256,12 +4217,10 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Owner = ptr.String(jtv) } - case "RuleConfig": if err := awsRestjson1_deserializeDocumentRuleConfig(&sv.RuleConfig, value); err != nil { return err } - case "SafetyRuleArn": if value != nil { jtv, ok := value.(string) @@ -4270,7 +4229,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.SafetyRuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4279,7 +4237,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Status = types.Status(jtv) } - case "WaitPeriodMs": if value != nil { jtv, ok := value.(json.Number) @@ -4292,7 +4249,6 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.WaitPeriodMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4332,12 +4288,10 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } - case "ClusterEndpoints": if err := awsRestjson1_deserializeDocument__listOfClusterEndpoint(&sv.ClusterEndpoints, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4346,7 +4300,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4355,7 +4308,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Owner = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4364,7 +4316,6 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -4404,7 +4355,6 @@ func awsRestjson1_deserializeDocumentClusterEndpoint(v **types.ClusterEndpoint, } sv.Endpoint = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4363,6 @@ func awsRestjson1_deserializeDocumentClusterEndpoint(v **types.ClusterEndpoint, } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -4443,15 +4392,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4459,15 +4402,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4502,7 +4441,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.ClusterArn = ptr.String(jtv) } - case "ControlPanelArn": if value != nil { jtv, ok := value.(string) @@ -4511,7 +4449,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.ControlPanelArn = ptr.String(jtv) } - case "DefaultControlPanel": if value != nil { jtv, ok := value.(bool) @@ -4520,7 +4457,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.DefaultControlPanel = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4529,7 +4465,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4538,7 +4473,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Owner = ptr.String(jtv) } - case "RoutingControlCount": if value != nil { jtv, ok := value.(json.Number) @@ -4551,7 +4485,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.RoutingControlCount = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4560,7 +4493,6 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -4600,12 +4532,10 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.ControlPanelArn = ptr.String(jtv) } - case "GatingControls": if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.GatingControls, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4614,7 +4544,6 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4623,12 +4552,10 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Owner = ptr.String(jtv) } - case "RuleConfig": if err := awsRestjson1_deserializeDocumentRuleConfig(&sv.RuleConfig, value); err != nil { return err } - case "SafetyRuleArn": if value != nil { jtv, ok := value.(string) @@ -4637,7 +4564,6 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.SafetyRuleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4646,12 +4572,10 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Status = types.Status(jtv) } - case "TargetControls": if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.TargetControls, value); err != nil { return err } - case "WaitPeriodMs": if value != nil { jtv, ok := value.(json.Number) @@ -4664,7 +4588,6 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.WaitPeriodMs = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4694,15 +4617,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4710,15 +4627,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4743,15 +4656,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4759,15 +4666,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4802,7 +4705,6 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4811,7 +4713,6 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -4820,7 +4721,6 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Owner = ptr.String(jtv) } - case "RoutingControlArn": if value != nil { jtv, ok := value.(string) @@ -4829,7 +4729,6 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4838,7 +4737,6 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -4874,12 +4772,10 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.ASSERTION, value); err != nil { return err } - case "GATING": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GATING, value); err != nil { return err } - default: _, _ = key, value @@ -4919,7 +4815,6 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Inverted = ptr.Bool(jtv) } - case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -4932,7 +4827,6 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Threshold = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4941,7 +4835,6 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Type = types.RuleType(jtv) } - default: _, _ = key, value @@ -4971,15 +4864,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4987,15 +4874,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5020,15 +4903,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5036,15 +4913,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5069,15 +4942,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5085,15 +4952,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/route53recoveryreadiness/deserializers.go b/service/route53recoveryreadiness/deserializers.go index 30b61b359d6..bdda76482a1 100644 --- a/service/route53recoveryreadiness/deserializers.go +++ b/service/route53recoveryreadiness/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCreateCellOutput(v **CreateCellOutput, va } sv.CellArn = ptr.String(jtv) } - case "cellName": if value != nil { jtv, ok := value.(string) @@ -197,22 +196,18 @@ func awsRestjson1_deserializeOpDocumentCreateCellOutput(v **CreateCellOutput, va } sv.CellName = ptr.String(jtv) } - case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -380,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentCreateCrossAccountAuthorizationOutput(v * } sv.CrossAccountAuthorization = ptr.String(jtv) } - default: _, _ = key, value @@ -548,7 +542,6 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ReadinessCheckArn = ptr.String(jtv) } - case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -557,7 +550,6 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ReadinessCheckName = ptr.String(jtv) } - case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -566,12 +558,10 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ResourceSet = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -735,7 +725,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -744,7 +733,6 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov } sv.RecoveryGroupArn = ptr.String(jtv) } - case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -753,12 +741,10 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov } sv.RecoveryGroupName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -922,7 +908,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } - case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -931,7 +916,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetArn = ptr.String(jtv) } - case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -940,7 +924,6 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetName = ptr.String(jtv) } - case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -949,12 +932,10 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetType = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1647,7 +1628,6 @@ func awsRestjson1_deserializeOpDocumentGetArchitectureRecommendationsOutput(v ** } sv.LastAuditTimestamp = ptr.Time(t) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1656,12 +1636,10 @@ func awsRestjson1_deserializeOpDocumentGetArchitectureRecommendationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "recommendations": if err := awsRestjson1_deserializeDocument__listOfRecommendation(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -1829,7 +1807,6 @@ func awsRestjson1_deserializeOpDocumentGetCellOutput(v **GetCellOutput, value in } sv.CellArn = ptr.String(jtv) } - case "cellName": if value != nil { jtv, ok := value.(string) @@ -1838,22 +1815,18 @@ func awsRestjson1_deserializeOpDocumentGetCellOutput(v **GetCellOutput, value in } sv.CellName = ptr.String(jtv) } - case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2021,7 +1994,6 @@ func awsRestjson1_deserializeOpDocumentGetCellReadinessSummaryOutput(v **GetCell } sv.NextToken = ptr.String(jtv) } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -2030,12 +2002,10 @@ func awsRestjson1_deserializeOpDocumentGetCellReadinessSummaryOutput(v **GetCell } sv.Readiness = types.Readiness(jtv) } - case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckSummary(&sv.ReadinessChecks, value); err != nil { return err } - default: _, _ = key, value @@ -2203,7 +2173,6 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ReadinessCheckArn = ptr.String(jtv) } - case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -2212,7 +2181,6 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ReadinessCheckName = ptr.String(jtv) } - case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -2221,12 +2189,10 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ResourceSet = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2394,7 +2360,6 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckResourceStatusOutput(v * } sv.NextToken = ptr.String(jtv) } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -2403,12 +2368,10 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckResourceStatusOutput(v * } sv.Readiness = types.Readiness(jtv) } - case "rules": if err := awsRestjson1_deserializeDocument__listOfRuleResult(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -2572,7 +2535,6 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead if err := awsRestjson1_deserializeDocument__listOfMessage(&sv.Messages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2581,7 +2543,6 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead } sv.NextToken = ptr.String(jtv) } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -2590,12 +2551,10 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead } sv.Readiness = types.Readiness(jtv) } - case "resources": if err := awsRestjson1_deserializeDocument__listOfResourceResult(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -2759,7 +2718,6 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -2768,7 +2726,6 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro } sv.RecoveryGroupArn = ptr.String(jtv) } - case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -2777,12 +2734,10 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro } sv.RecoveryGroupName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2950,7 +2905,6 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupReadinessSummaryOutput(v } sv.NextToken = ptr.String(jtv) } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -2959,12 +2913,10 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupReadinessSummaryOutput(v } sv.Readiness = types.Readiness(jtv) } - case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckSummary(&sv.ReadinessChecks, value); err != nil { return err } - default: _, _ = key, value @@ -3128,7 +3080,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } - case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -3137,7 +3088,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } - case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -3146,7 +3096,6 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetName = ptr.String(jtv) } - case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -3155,12 +3104,10 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetType = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3321,7 +3268,6 @@ func awsRestjson1_deserializeOpDocumentListCellsOutput(v **ListCellsOutput, valu if err := awsRestjson1_deserializeDocument__listOfCellOutput(&sv.Cells, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3330,7 +3276,6 @@ func awsRestjson1_deserializeOpDocumentListCellsOutput(v **ListCellsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3491,7 +3436,6 @@ func awsRestjson1_deserializeOpDocumentListCrossAccountAuthorizationsOutput(v ** if err := awsRestjson1_deserializeDocument__listOfCrossAccountAuthorization(&sv.CrossAccountAuthorizations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3500,7 +3444,6 @@ func awsRestjson1_deserializeOpDocumentListCrossAccountAuthorizationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3665,12 +3608,10 @@ func awsRestjson1_deserializeOpDocumentListReadinessChecksOutput(v **ListReadine } sv.NextToken = ptr.String(jtv) } - case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckOutput(&sv.ReadinessChecks, value); err != nil { return err } - default: _, _ = key, value @@ -3835,12 +3776,10 @@ func awsRestjson1_deserializeOpDocumentListRecoveryGroupsOutput(v **ListRecovery } sv.NextToken = ptr.String(jtv) } - case "recoveryGroups": if err := awsRestjson1_deserializeDocument__listOfRecoveryGroupOutput(&sv.RecoveryGroups, value); err != nil { return err } - default: _, _ = key, value @@ -4005,12 +3944,10 @@ func awsRestjson1_deserializeOpDocumentListResourceSetsOutput(v **ListResourceSe } sv.NextToken = ptr.String(jtv) } - case "resourceSets": if err := awsRestjson1_deserializeDocument__listOfResourceSetOutput(&sv.ResourceSets, value); err != nil { return err } - default: _, _ = key, value @@ -4175,12 +4112,10 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - case "rules": if err := awsRestjson1_deserializeDocument__listOfListRulesOutput(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -4338,7 +4273,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsFo if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4700,7 +4634,6 @@ func awsRestjson1_deserializeOpDocumentUpdateCellOutput(v **UpdateCellOutput, va } sv.CellArn = ptr.String(jtv) } - case "cellName": if value != nil { jtv, ok := value.(string) @@ -4709,22 +4642,18 @@ func awsRestjson1_deserializeOpDocumentUpdateCellOutput(v **UpdateCellOutput, va } sv.CellName = ptr.String(jtv) } - case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4892,7 +4821,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ReadinessCheckArn = ptr.String(jtv) } - case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -4901,7 +4829,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ReadinessCheckName = ptr.String(jtv) } - case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -4910,12 +4837,10 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ResourceSet = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5079,7 +5004,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -5088,7 +5012,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov } sv.RecoveryGroupArn = ptr.String(jtv) } - case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -5097,12 +5020,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov } sv.RecoveryGroupName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5266,7 +5187,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } - case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -5275,7 +5195,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetArn = ptr.String(jtv) } - case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -5284,7 +5203,6 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetName = ptr.String(jtv) } - case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -5293,12 +5211,10 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetType = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5990,15 +5906,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6006,15 +5916,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6049,7 +5955,6 @@ func awsRestjson1_deserializeDocumentCellOutput(v **types.CellOutput, value inte } sv.CellArn = ptr.String(jtv) } - case "cellName": if value != nil { jtv, ok := value.(string) @@ -6058,22 +5963,18 @@ func awsRestjson1_deserializeDocumentCellOutput(v **types.CellOutput, value inte } sv.CellName = ptr.String(jtv) } - case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6103,15 +6004,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6119,15 +6014,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6162,7 +6053,6 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.DomainName = ptr.String(jtv) } - case "hostedZoneArn": if value != nil { jtv, ok := value.(string) @@ -6171,7 +6061,6 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.HostedZoneArn = ptr.String(jtv) } - case "recordSetId": if value != nil { jtv, ok := value.(string) @@ -6180,7 +6069,6 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.RecordSetId = ptr.String(jtv) } - case "recordType": if value != nil { jtv, ok := value.(string) @@ -6189,12 +6077,10 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.RecordType = ptr.String(jtv) } - case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } - default: _, _ = key, value @@ -6224,15 +6110,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6240,15 +6120,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6283,7 +6159,6 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.ResourceType = ptr.String(jtv) } - case "ruleDescription": if value != nil { jtv, ok := value.(string) @@ -6292,7 +6167,6 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.RuleDescription = ptr.String(jtv) } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -6301,7 +6175,6 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -6341,7 +6214,6 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageText = ptr.String(jtv) } - default: _, _ = key, value @@ -6381,7 +6253,6 @@ func awsRestjson1_deserializeDocumentNLBResource(v **types.NLBResource, value in } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -6421,7 +6292,6 @@ func awsRestjson1_deserializeDocumentR53ResourceRecord(v **types.R53ResourceReco } sv.DomainName = ptr.String(jtv) } - case "recordSetId": if value != nil { jtv, ok := value.(string) @@ -6430,7 +6300,6 @@ func awsRestjson1_deserializeDocumentR53ResourceRecord(v **types.R53ResourceReco } sv.RecordSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -6470,7 +6339,6 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ReadinessCheckArn = ptr.String(jtv) } - case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -6479,7 +6347,6 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ReadinessCheckName = ptr.String(jtv) } - case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -6488,12 +6355,10 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ResourceSet = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6533,7 +6398,6 @@ func awsRestjson1_deserializeDocumentReadinessCheckSummary(v **types.ReadinessCh } sv.Readiness = types.Readiness(jtv) } - case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -6542,7 +6406,6 @@ func awsRestjson1_deserializeDocumentReadinessCheckSummary(v **types.ReadinessCh } sv.ReadinessCheckName = ptr.String(jtv) } - default: _, _ = key, value @@ -6582,7 +6445,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationText = ptr.String(jtv) } - default: _, _ = key, value @@ -6618,7 +6480,6 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } - case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -6627,7 +6488,6 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup } sv.RecoveryGroupArn = ptr.String(jtv) } - case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -6636,12 +6496,10 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup } sv.RecoveryGroupName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6681,17 +6539,14 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ComponentId = ptr.String(jtv) } - case "dnsTargetResource": if err := awsRestjson1_deserializeDocumentDNSTargetResource(&sv.DnsTargetResource, value); err != nil { return err } - case "readinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReadinessScopes, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6700,7 +6555,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6730,15 +6584,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6746,15 +6594,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6789,7 +6633,6 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.ComponentId = ptr.String(jtv) } - case "lastCheckedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6802,7 +6645,6 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.LastCheckedTimestamp = ptr.Time(t) } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -6811,7 +6653,6 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.Readiness = types.Readiness(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6820,7 +6661,6 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6856,7 +6696,6 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } - case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -6865,7 +6704,6 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetArn = ptr.String(jtv) } - case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -6874,7 +6712,6 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetName = ptr.String(jtv) } - case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -6883,12 +6720,10 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetType = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6932,12 +6767,10 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.LastCheckedTimestamp = ptr.Time(t) } - case "messages": if err := awsRestjson1_deserializeDocument__listOfMessage(&sv.Messages, value); err != nil { return err } - case "readiness": if value != nil { jtv, ok := value.(string) @@ -6946,7 +6779,6 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.Readiness = types.Readiness(jtv) } - case "ruleId": if value != nil { jtv, ok := value.(string) @@ -6955,7 +6787,6 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -7027,12 +6858,10 @@ func awsRestjson1_deserializeDocumentTargetResource(v **types.TargetResource, va if err := awsRestjson1_deserializeDocumentNLBResource(&sv.NLBResource, value); err != nil { return err } - case "r53Resource": if err := awsRestjson1_deserializeDocumentR53ResourceRecord(&sv.R53Resource, value); err != nil { return err } - default: _, _ = key, value @@ -7062,15 +6891,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7078,15 +6901,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7111,15 +6930,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7127,15 +6940,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/route53resolver/deserializers.go b/service/route53resolver/deserializers.go index c86e8987e12..f5cf55f148d 100644 --- a/service/route53resolver/deserializers.go +++ b/service/route53resolver/deserializers.go @@ -9143,15 +9143,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9159,15 +9153,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9192,15 +9182,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9208,15 +9192,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9251,7 +9231,6 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.FirewallFailOpen = types.FirewallFailOpenStatus(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9260,7 +9239,6 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.Id = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9269,7 +9247,6 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.OwnerId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9278,7 +9255,6 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -9352,7 +9328,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9361,7 +9336,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9370,7 +9344,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.CreatorRequestId = ptr.String(jtv) } - case "DomainCount": if value != nil { jtv, ok := value.(json.Number) @@ -9383,7 +9356,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.DomainCount = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9392,7 +9364,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Id = ptr.String(jtv) } - case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9401,7 +9372,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.ManagedOwnerName = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9410,7 +9380,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9419,7 +9388,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9428,7 +9396,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Status = types.FirewallDomainListStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9437,7 +9404,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9477,7 +9443,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Arn = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9486,7 +9451,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.CreatorRequestId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9495,7 +9459,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Id = ptr.String(jtv) } - case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9504,7 +9467,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.ManagedOwnerName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9513,7 +9475,6 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9623,7 +9584,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Action = types.Action(jtv) } - case "BlockOverrideDnsType": if value != nil { jtv, ok := value.(string) @@ -9632,7 +9592,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideDnsType = types.BlockOverrideDnsType(jtv) } - case "BlockOverrideDomain": if value != nil { jtv, ok := value.(string) @@ -9641,7 +9600,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideDomain = ptr.String(jtv) } - case "BlockOverrideTtl": if value != nil { jtv, ok := value.(json.Number) @@ -9654,7 +9612,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideTtl = ptr.Int32(int32(i64)) } - case "BlockResponse": if value != nil { jtv, ok := value.(string) @@ -9663,7 +9620,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockResponse = types.BlockResponse(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9672,7 +9628,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9681,7 +9636,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.CreatorRequestId = ptr.String(jtv) } - case "FirewallDomainListId": if value != nil { jtv, ok := value.(string) @@ -9690,7 +9644,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallDomainListId = ptr.String(jtv) } - case "FirewallDomainRedirectionAction": if value != nil { jtv, ok := value.(string) @@ -9699,7 +9652,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallDomainRedirectionAction = types.FirewallDomainRedirectionAction(jtv) } - case "FirewallRuleGroupId": if value != nil { jtv, ok := value.(string) @@ -9708,7 +9660,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallRuleGroupId = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9717,7 +9668,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9726,7 +9676,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -9739,7 +9688,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Priority = ptr.Int32(int32(i64)) } - case "Qtype": if value != nil { jtv, ok := value.(string) @@ -9748,7 +9696,6 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Qtype = ptr.String(jtv) } - default: _, _ = key, value @@ -9788,7 +9735,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9797,7 +9743,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9806,7 +9751,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.CreatorRequestId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9815,7 +9759,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Id = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9824,7 +9767,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9833,7 +9775,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9842,7 +9783,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.OwnerId = ptr.String(jtv) } - case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -9855,7 +9795,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.RuleCount = ptr.Int32(int32(i64)) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -9864,7 +9803,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.ShareStatus = types.ShareStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9873,7 +9811,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Status = types.FirewallRuleGroupStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9882,7 +9819,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -9922,7 +9858,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9931,7 +9866,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9940,7 +9874,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.CreatorRequestId = ptr.String(jtv) } - case "FirewallRuleGroupId": if value != nil { jtv, ok := value.(string) @@ -9949,7 +9882,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.FirewallRuleGroupId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9958,7 +9890,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Id = ptr.String(jtv) } - case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9967,7 +9898,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.ManagedOwnerName = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9976,7 +9906,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.ModificationTime = ptr.String(jtv) } - case "MutationProtection": if value != nil { jtv, ok := value.(string) @@ -9985,7 +9914,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.MutationProtection = types.MutationProtectionStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9994,7 +9922,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -10007,7 +9934,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Priority = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10016,7 +9942,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Status = types.FirewallRuleGroupAssociationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10025,7 +9950,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.StatusMessage = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9958,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -10108,7 +10031,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Arn = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -10117,7 +10039,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.CreatorRequestId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10126,7 +10047,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10135,7 +10055,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10144,7 +10063,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.OwnerId = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -10153,7 +10071,6 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.ShareStatus = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -10251,15 +10168,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10267,15 +10178,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10300,15 +10207,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10316,15 +10217,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10349,13 +10246,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "FieldName": if value != nil { @@ -10365,8 +10256,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FieldName = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10374,15 +10264,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10407,15 +10293,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyDocument(v **types.InvalidPoli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10423,15 +10303,11 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyDocument(v **types.InvalidPoli } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10456,15 +10332,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10472,15 +10342,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10505,15 +10371,9 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10521,15 +10381,11 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10598,7 +10454,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.CreationTime = ptr.String(jtv) } - case "Ip": if value != nil { jtv, ok := value.(string) @@ -10607,7 +10462,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Ip = ptr.String(jtv) } - case "IpId": if value != nil { jtv, ok := value.(string) @@ -10616,7 +10470,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.IpId = ptr.String(jtv) } - case "Ipv6": if value != nil { jtv, ok := value.(string) @@ -10625,7 +10478,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Ipv6 = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -10634,7 +10486,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.ModificationTime = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10643,7 +10494,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Status = types.IpAddressStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10652,7 +10502,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.StatusMessage = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -10661,7 +10510,6 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -10691,15 +10539,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10707,7 +10549,6 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10716,15 +10557,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10759,7 +10596,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -10768,7 +10604,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -10777,7 +10612,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.CreatorRequestId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10786,7 +10620,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Id = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10799,7 +10632,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -10808,7 +10640,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10817,7 +10648,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Name = ptr.String(jtv) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -10826,7 +10656,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.OutpostArn = ptr.String(jtv) } - case "PreferredInstanceType": if value != nil { jtv, ok := value.(string) @@ -10835,7 +10664,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.PreferredInstanceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10844,7 +10672,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Status = types.OutpostResolverStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10853,7 +10680,6 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -10963,7 +10789,6 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.AutodefinedReverse = types.ResolverAutodefinedReverseStatus(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10972,7 +10797,6 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.Id = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10981,7 +10805,6 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.OwnerId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10813,6 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -11064,7 +10886,6 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.Id = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -11073,7 +10894,6 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.OwnerId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11082,7 +10902,6 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.ResourceId = ptr.String(jtv) } - case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -11091,7 +10910,6 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.ValidationStatus = types.ResolverDNSSECValidationStatus(jtv) } - default: _, _ = key, value @@ -11165,7 +10983,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -11174,7 +10991,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -11183,7 +10999,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.CreatorRequestId = ptr.String(jtv) } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -11192,7 +11007,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Direction = types.ResolverEndpointDirection(jtv) } - case "HostVPCId": if value != nil { jtv, ok := value.(string) @@ -11201,7 +11015,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.HostVPCId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11210,7 +11023,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Id = ptr.String(jtv) } - case "IpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -11223,7 +11035,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.IpAddressCount = ptr.Int32(int32(i64)) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -11232,7 +11043,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11241,7 +11051,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Name = ptr.String(jtv) } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -11250,7 +11059,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.OutpostArn = ptr.String(jtv) } - case "PreferredInstanceType": if value != nil { jtv, ok := value.(string) @@ -11259,12 +11067,10 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.PreferredInstanceType = ptr.String(jtv) } - case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocolList(&sv.Protocols, value); err != nil { return err } - case "ResolverEndpointType": if value != nil { jtv, ok := value.(string) @@ -11273,12 +11079,10 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.ResolverEndpointType = types.ResolverEndpointType(jtv) } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11287,7 +11091,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Status = types.ResolverEndpointStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11296,7 +11099,6 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -11370,7 +11172,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Arn = ptr.String(jtv) } - case "AssociationCount": if value != nil { jtv, ok := value.(json.Number) @@ -11383,7 +11184,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.AssociationCount = int32(i64) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -11392,7 +11192,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11200,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.CreatorRequestId = ptr.String(jtv) } - case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -11410,7 +11208,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.DestinationArn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11419,7 +11216,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11428,7 +11224,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -11437,7 +11232,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.OwnerId = ptr.String(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11446,7 +11240,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.ShareStatus = types.ShareStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11455,7 +11248,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Status = types.ResolverQueryLogConfigStatus(jtv) } - default: _, _ = key, value @@ -11495,7 +11287,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.CreationTime = ptr.String(jtv) } - case "Error": if value != nil { jtv, ok := value.(string) @@ -11504,7 +11295,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Error = types.ResolverQueryLogConfigAssociationError(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11513,7 +11303,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11522,7 +11311,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Id = ptr.String(jtv) } - case "ResolverQueryLogConfigId": if value != nil { jtv, ok := value.(string) @@ -11531,7 +11319,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ResolverQueryLogConfigId = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11540,7 +11327,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ResourceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11549,7 +11335,6 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Status = types.ResolverQueryLogConfigAssociationStatus(jtv) } - default: _, _ = key, value @@ -11657,7 +11442,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -11666,7 +11450,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.CreationTime = ptr.String(jtv) } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -11675,7 +11458,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.CreatorRequestId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11684,7 +11466,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.DomainName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11693,7 +11474,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Id = ptr.String(jtv) } - case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -11702,7 +11482,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ModificationTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11711,7 +11490,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Name = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -11720,7 +11498,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.OwnerId = ptr.String(jtv) } - case "ResolverEndpointId": if value != nil { jtv, ok := value.(string) @@ -11729,7 +11506,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ResolverEndpointId = ptr.String(jtv) } - case "RuleType": if value != nil { jtv, ok := value.(string) @@ -11738,7 +11514,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.RuleType = types.RuleTypeOption(jtv) } - case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11747,7 +11522,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ShareStatus = types.ShareStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11756,7 +11530,6 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Status = types.ResolverRuleStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11765,12 +11538,10 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.StatusMessage = ptr.String(jtv) } - case "TargetIps": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.TargetIps, value); err != nil { return err } - default: _, _ = key, value @@ -11810,7 +11581,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11819,7 +11589,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Name = ptr.String(jtv) } - case "ResolverRuleId": if value != nil { jtv, ok := value.(string) @@ -11828,7 +11597,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.ResolverRuleId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11837,7 +11605,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Status = types.ResolverRuleAssociationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11846,7 +11613,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.StatusMessage = ptr.String(jtv) } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -11855,7 +11621,6 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -11953,15 +11718,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11969,7 +11728,6 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11978,15 +11736,11 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12011,15 +11765,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12027,7 +11775,6 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12036,15 +11783,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12069,15 +11812,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12085,7 +11822,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12094,15 +11830,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12127,15 +11859,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12143,7 +11869,6 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12152,15 +11877,11 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12221,15 +11942,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12237,15 +11952,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12280,7 +11991,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12289,7 +11999,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12363,7 +12072,6 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Ip = ptr.String(jtv) } - case "Ipv6": if value != nil { jtv, ok := value.(string) @@ -12372,7 +12080,6 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Ipv6 = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -12385,7 +12092,6 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Port = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -12394,7 +12100,6 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Protocol = types.Protocol(jtv) } - case "ServerNameIndication": if value != nil { jtv, ok := value.(string) @@ -12403,7 +12108,6 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.ServerNameIndication = ptr.String(jtv) } - default: _, _ = key, value @@ -12467,15 +12171,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12483,15 +12181,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12516,15 +12210,9 @@ func awsAwsjson11_deserializeDocumentUnknownResourceException(v **types.UnknownR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12532,15 +12220,11 @@ func awsAwsjson11_deserializeDocumentUnknownResourceException(v **types.UnknownR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12565,15 +12249,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12581,15 +12259,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12620,7 +12294,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateFirewallRuleGroupOutput(v **Asso if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -12656,7 +12329,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverEndpointIpAddressOutput( if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -12692,7 +12364,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverQueryLogConfigOutput(v * if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -12728,7 +12399,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverRuleOutput(v **Associate if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -12764,7 +12434,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallDomainListOutput(v **Create if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } - default: _, _ = key, value @@ -12800,7 +12469,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallRuleGroupOutput(v **CreateF if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -12836,7 +12504,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallRuleOutput(v **CreateFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } - default: _, _ = key, value @@ -12872,7 +12539,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOutpostResolverOutput(v **CreateOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } - default: _, _ = key, value @@ -12908,7 +12574,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverEndpointOutput(v **CreateRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -12944,7 +12609,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverQueryLogConfigOutput(v **Cr if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } - default: _, _ = key, value @@ -12980,7 +12644,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverRuleOutput(v **CreateResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } - default: _, _ = key, value @@ -13016,7 +12679,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallDomainListOutput(v **Delete if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } - default: _, _ = key, value @@ -13052,7 +12714,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallRuleGroupOutput(v **DeleteF if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13088,7 +12749,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallRuleOutput(v **DeleteFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } - default: _, _ = key, value @@ -13124,7 +12784,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteOutpostResolverOutput(v **DeleteOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } - default: _, _ = key, value @@ -13160,7 +12819,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverEndpointOutput(v **DeleteRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -13196,7 +12854,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverQueryLogConfigOutput(v **De if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13232,7 +12889,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverRuleOutput(v **DeleteResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } - default: _, _ = key, value @@ -13268,7 +12924,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFirewallRuleGroupOutput(v **D if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13304,7 +12959,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverEndpointIpAddressOutp if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -13340,7 +12994,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverQueryLogConfigOutput( if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13376,7 +13029,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverRuleOutput(v **Disass if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13412,7 +13064,6 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallConfigOutput(v **GetFirewallCo if err := awsAwsjson11_deserializeDocumentFirewallConfig(&sv.FirewallConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13448,7 +13099,6 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallDomainListOutput(v **GetFirewa if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } - default: _, _ = key, value @@ -13484,7 +13134,6 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13520,7 +13169,6 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupOutput(v **GetFirewal if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -13560,7 +13208,6 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupPolicyOutput(v **GetF } sv.FirewallRuleGroupPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -13596,7 +13243,6 @@ func awsAwsjson11_deserializeOpDocumentGetOutpostResolverOutput(v **GetOutpostRe if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } - default: _, _ = key, value @@ -13632,7 +13278,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverConfigOutput(v **GetResolverCo if err := awsAwsjson11_deserializeDocumentResolverConfig(&sv.ResolverConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13668,7 +13313,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverDnssecConfigOutput(v **GetReso if err := awsAwsjson11_deserializeDocumentResolverDnssecConfig(&sv.ResolverDNSSECConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13704,7 +13348,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverEndpointOutput(v **GetResolver if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -13740,7 +13383,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigAssociationOutpu if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13776,7 +13418,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigOutput(v **GetRe if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13816,7 +13457,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigPolicyOutput(v * } sv.ResolverQueryLogConfigPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -13852,7 +13492,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRuleAssociationOutput(v **GetR if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -13888,7 +13527,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRuleOutput(v **GetResolverRule if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } - default: _, _ = key, value @@ -13928,7 +13566,6 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRulePolicyOutput(v **GetResolv } sv.ResolverRulePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -13968,7 +13605,6 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13977,7 +13613,6 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13986,7 +13621,6 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Status = types.FirewallDomainListStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13995,7 +13629,6 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -14031,7 +13664,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallConfigsOutput(v **ListFirewal if err := awsAwsjson11_deserializeDocumentFirewallConfigList(&sv.FirewallConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14040,7 +13672,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallConfigsOutput(v **ListFirewal } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14076,7 +13707,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainListsOutput(v **ListFir if err := awsAwsjson11_deserializeDocumentFirewallDomainListMetadataList(&sv.FirewallDomainLists, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14085,7 +13715,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainListsOutput(v **ListFir } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14121,7 +13750,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainsOutput(v **ListFirewal if err := awsAwsjson11_deserializeDocumentFirewallDomains(&sv.Domains, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14130,7 +13758,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainsOutput(v **ListFirewal } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14166,7 +13793,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupAssociationsOutput(v if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociations(&sv.FirewallRuleGroupAssociations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14175,7 +13801,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14211,7 +13836,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupsOutput(v **ListFire if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadataList(&sv.FirewallRuleGroups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14220,7 +13844,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupsOutput(v **ListFire } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14256,7 +13879,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRulesOutput(v **ListFirewallR if err := awsAwsjson11_deserializeDocumentFirewallRules(&sv.FirewallRules, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14265,7 +13887,6 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRulesOutput(v **ListFirewallR } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14305,12 +13926,10 @@ func awsAwsjson11_deserializeOpDocumentListOutpostResolversOutput(v **ListOutpos } sv.NextToken = ptr.String(jtv) } - case "OutpostResolvers": if err := awsAwsjson11_deserializeDocumentOutpostResolverList(&sv.OutpostResolvers, value); err != nil { return err } - default: _, _ = key, value @@ -14350,12 +13969,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverConfigsOutput(v **ListResolve } sv.NextToken = ptr.String(jtv) } - case "ResolverConfigs": if err := awsAwsjson11_deserializeDocumentResolverConfigList(&sv.ResolverConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -14395,12 +14012,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverDnssecConfigsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - case "ResolverDnssecConfigs": if err := awsAwsjson11_deserializeDocumentResolverDnssecConfigList(&sv.ResolverDnssecConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -14436,7 +14051,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * if err := awsAwsjson11_deserializeDocumentIpAddressesResponse(&sv.IpAddresses, value); err != nil { return err } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14449,7 +14063,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * } sv.MaxResults = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14458,7 +14071,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14502,7 +14114,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointsOutput(v **ListResol } sv.MaxResults = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14511,12 +14122,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointsOutput(v **ListResol } sv.NextToken = ptr.String(jtv) } - case "ResolverEndpoints": if err := awsAwsjson11_deserializeDocumentResolverEndpoints(&sv.ResolverEndpoints, value); err != nil { return err } - default: _, _ = key, value @@ -14556,12 +14165,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.NextToken = ptr.String(jtv) } - case "ResolverQueryLogConfigAssociations": if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociationList(&sv.ResolverQueryLogConfigAssociations, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -14574,7 +14181,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.TotalCount = int32(i64) } - case "TotalFilteredCount": if value != nil { jtv, ok := value.(json.Number) @@ -14587,7 +14193,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.TotalFilteredCount = int32(i64) } - default: _, _ = key, value @@ -14627,12 +14232,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "ResolverQueryLogConfigs": if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigList(&sv.ResolverQueryLogConfigs, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -14645,7 +14248,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.TotalCount = int32(i64) } - case "TotalFilteredCount": if value != nil { jtv, ok := value.(json.Number) @@ -14658,7 +14260,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.TotalFilteredCount = int32(i64) } - default: _, _ = key, value @@ -14702,7 +14303,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverRuleAssociationsOutput(v **Li } sv.MaxResults = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14711,12 +14311,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverRuleAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "ResolverRuleAssociations": if err := awsAwsjson11_deserializeDocumentResolverRuleAssociations(&sv.ResolverRuleAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -14760,7 +14358,6 @@ func awsAwsjson11_deserializeOpDocumentListResolverRulesOutput(v **ListResolverR } sv.MaxResults = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14769,12 +14366,10 @@ func awsAwsjson11_deserializeOpDocumentListResolverRulesOutput(v **ListResolverR } sv.NextToken = ptr.String(jtv) } - case "ResolverRules": if err := awsAwsjson11_deserializeDocumentResolverRules(&sv.ResolverRules, value); err != nil { return err } - default: _, _ = key, value @@ -14814,12 +14409,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14859,7 +14452,6 @@ func awsAwsjson11_deserializeOpDocumentPutFirewallRuleGroupPolicyOutput(v **PutF } sv.ReturnValue = jtv } - default: _, _ = key, value @@ -14899,7 +14491,6 @@ func awsAwsjson11_deserializeOpDocumentPutResolverQueryLogConfigPolicyOutput(v * } sv.ReturnValue = jtv } - default: _, _ = key, value @@ -14939,7 +14530,6 @@ func awsAwsjson11_deserializeOpDocumentPutResolverRulePolicyOutput(v **PutResolv } sv.ReturnValue = jtv } - default: _, _ = key, value @@ -15037,7 +14627,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallConfigOutput(v **UpdateFire if err := awsAwsjson11_deserializeDocumentFirewallConfig(&sv.FirewallConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15077,7 +14666,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15086,7 +14674,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15095,7 +14682,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Status = types.FirewallDomainListStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -15104,7 +14690,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -15140,7 +14725,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallRuleGroupAssociationOutput( if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -15176,7 +14760,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallRuleOutput(v **UpdateFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } - default: _, _ = key, value @@ -15212,7 +14795,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateOutpostResolverOutput(v **UpdateOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } - default: _, _ = key, value @@ -15248,7 +14830,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverConfigOutput(v **UpdateReso if err := awsAwsjson11_deserializeDocumentResolverConfig(&sv.ResolverConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15284,7 +14865,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverDnssecConfigOutput(v **Upda if err := awsAwsjson11_deserializeDocumentResolverDnssecConfig(&sv.ResolverDNSSECConfig, value); err != nil { return err } - default: _, _ = key, value @@ -15320,7 +14900,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverEndpointOutput(v **UpdateRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } - default: _, _ = key, value @@ -15356,7 +14935,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverRuleOutput(v **UpdateResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/rum/deserializers.go b/service/rum/deserializers.go index bb98aac0415..eccf86eb515 100644 --- a/service/rum/deserializers.go +++ b/service/rum/deserializers.go @@ -191,12 +191,10 @@ func awsRestjson1_deserializeOpDocumentBatchCreateRumMetricDefinitionsOutput(v * if err := awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsErrors(&sv.Errors, value); err != nil { return err } - case "MetricDefinitions": if err := awsRestjson1_deserializeDocumentMetricDefinitions(&sv.MetricDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -363,12 +361,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRumMetricDefinitionsOutput(v * if err := awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsErrors(&sv.Errors, value); err != nil { return err } - case "MetricDefinitionIds": if err := awsRestjson1_deserializeDocumentMetricDefinitionIds(&sv.MetricDefinitionIds, value); err != nil { return err } - default: _, _ = key, value @@ -529,7 +525,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetRumMetricDefinitionsOutput(v **Ba if err := awsRestjson1_deserializeDocumentMetricDefinitions(&sv.MetricDefinitions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -538,7 +533,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetRumMetricDefinitionsOutput(v **Ba } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -712,7 +706,6 @@ func awsRestjson1_deserializeOpDocumentCreateAppMonitorOutput(v **CreateAppMonit } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -1082,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorOutput(v **GetAppMonitorOutp if err := awsRestjson1_deserializeDocumentAppMonitor(&sv.AppMonitor, value); err != nil { return err } - default: _, _ = key, value @@ -1246,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorDataOutput(v **GetAppMonitor if err := awsRestjson1_deserializeDocumentEventDataList(&sv.Events, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1255,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorDataOutput(v **GetAppMonitor } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1416,7 +1406,6 @@ func awsRestjson1_deserializeOpDocumentListAppMonitorsOutput(v **ListAppMonitors if err := awsRestjson1_deserializeDocumentAppMonitorSummaryList(&sv.AppMonitorSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1425,7 +1414,6 @@ func awsRestjson1_deserializeOpDocumentListAppMonitorsOutput(v **ListAppMonitors } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1586,7 +1574,6 @@ func awsRestjson1_deserializeOpDocumentListRumMetricsDestinationsOutput(v **List if err := awsRestjson1_deserializeDocumentMetricDestinationSummaryList(&sv.Destinations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1595,7 +1582,6 @@ func awsRestjson1_deserializeOpDocumentListRumMetricsDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1757,12 +1743,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2684,15 +2668,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2700,15 +2678,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2739,7 +2713,6 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte if err := awsRestjson1_deserializeDocumentAppMonitorConfiguration(&sv.AppMonitorConfiguration, value); err != nil { return err } - case "Created": if value != nil { jtv, ok := value.(string) @@ -2748,17 +2721,14 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Created = ptr.String(jtv) } - case "CustomEvents": if err := awsRestjson1_deserializeDocumentCustomEvents(&sv.CustomEvents, value); err != nil { return err } - case "DataStorage": if err := awsRestjson1_deserializeDocumentDataStorage(&sv.DataStorage, value); err != nil { return err } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -2767,7 +2737,6 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Domain = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2776,7 +2745,6 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Id = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -2785,7 +2753,6 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.LastModified = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2794,7 +2761,6 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -2803,12 +2769,10 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.State = types.StateEnum(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2848,7 +2812,6 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.AllowCookies = ptr.Bool(jtv) } - case "EnableXRay": if value != nil { jtv, ok := value.(bool) @@ -2857,17 +2820,14 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.EnableXRay = ptr.Bool(jtv) } - case "ExcludedPages": if err := awsRestjson1_deserializeDocumentPages(&sv.ExcludedPages, value); err != nil { return err } - case "FavoritePages": if err := awsRestjson1_deserializeDocumentFavoritePages(&sv.FavoritePages, value); err != nil { return err } - case "GuestRoleArn": if value != nil { jtv, ok := value.(string) @@ -2876,7 +2836,6 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.GuestRoleArn = ptr.String(jtv) } - case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -2885,12 +2844,10 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.IdentityPoolId = ptr.String(jtv) } - case "IncludedPages": if err := awsRestjson1_deserializeDocumentPages(&sv.IncludedPages, value); err != nil { return err } - case "SessionSampleRate": if value != nil { switch jtv := value.(type) { @@ -2924,12 +2881,10 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } } - case "Telemetries": if err := awsRestjson1_deserializeDocumentTelemetries(&sv.Telemetries, value); err != nil { return err } - default: _, _ = key, value @@ -2969,7 +2924,6 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Created = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2978,7 +2932,6 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Id = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -2987,7 +2940,6 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.LastModified = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2996,7 +2948,6 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3005,7 +2956,6 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.State = types.StateEnum(jtv) } - default: _, _ = key, value @@ -3079,7 +3029,6 @@ func awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsError(v **ty } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3088,12 +3037,10 @@ func awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsError(v **ty } sv.ErrorMessage = ptr.String(jtv) } - case "MetricDefinition": if err := awsRestjson1_deserializeDocumentMetricDefinitionRequest(&sv.MetricDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -3167,7 +3114,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3176,7 +3122,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.ErrorMessage = ptr.String(jtv) } - case "MetricDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3185,7 +3130,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.MetricDefinitionId = ptr.String(jtv) } - default: _, _ = key, value @@ -3249,15 +3193,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3265,7 +3203,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3274,7 +3211,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3283,15 +3219,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3326,7 +3258,6 @@ func awsRestjson1_deserializeDocumentCustomEvents(v **types.CustomEvents, value } sv.Status = types.CustomEventsStatus(jtv) } - default: _, _ = key, value @@ -3366,7 +3297,6 @@ func awsRestjson1_deserializeDocumentCwLog(v **types.CwLog, value interface{}) e } sv.CwLogEnabled = ptr.Bool(jtv) } - case "CwLogGroup": if value != nil { jtv, ok := value.(string) @@ -3375,7 +3305,6 @@ func awsRestjson1_deserializeDocumentCwLog(v **types.CwLog, value interface{}) e } sv.CwLogGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -3411,7 +3340,6 @@ func awsRestjson1_deserializeDocumentDataStorage(v **types.DataStorage, value in if err := awsRestjson1_deserializeDocumentCwLog(&sv.CwLog, value); err != nil { return err } - default: _, _ = key, value @@ -3549,15 +3477,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3565,7 +3487,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3578,15 +3499,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3617,7 +3534,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition if err := awsRestjson1_deserializeDocumentDimensionKeysMap(&sv.DimensionKeys, value); err != nil { return err } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3542,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EventPattern = ptr.String(jtv) } - case "MetricDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3550,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.MetricDefinitionId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3644,7 +3558,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3653,7 +3566,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Namespace = ptr.String(jtv) } - case "UnitLabel": if value != nil { jtv, ok := value.(string) @@ -3662,7 +3574,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.UnitLabel = ptr.String(jtv) } - case "ValueKey": if value != nil { jtv, ok := value.(string) @@ -3671,7 +3582,6 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.ValueKey = ptr.String(jtv) } - default: _, _ = key, value @@ -3743,7 +3653,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef if err := awsRestjson1_deserializeDocumentDimensionKeysMap(&sv.DimensionKeys, value); err != nil { return err } - case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -3752,7 +3661,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.EventPattern = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3761,7 +3669,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.Name = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3770,7 +3677,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.Namespace = ptr.String(jtv) } - case "UnitLabel": if value != nil { jtv, ok := value.(string) @@ -3779,7 +3685,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.UnitLabel = ptr.String(jtv) } - case "ValueKey": if value != nil { jtv, ok := value.(string) @@ -3788,7 +3693,6 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.ValueKey = ptr.String(jtv) } - default: _, _ = key, value @@ -3862,7 +3766,6 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.Destination = types.MetricDestination(jtv) } - case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -3871,7 +3774,6 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.DestinationArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3880,7 +3782,6 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3980,15 +3881,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3996,7 +3891,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -4005,7 +3899,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4014,15 +3907,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4047,15 +3936,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4063,15 +3946,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4168,15 +4047,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4184,7 +4057,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4193,7 +4065,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4206,7 +4077,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4215,15 +4085,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4248,15 +4114,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4264,15 +4124,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/s3outposts/deserializers.go b/service/s3outposts/deserializers.go index a93dfa48489..0390a558422 100644 --- a/service/s3outposts/deserializers.go +++ b/service/s3outposts/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -467,7 +466,6 @@ func awsRestjson1_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -476,7 +474,6 @@ func awsRestjson1_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -641,12 +638,10 @@ func awsRestjson1_deserializeOpDocumentListOutpostsWithS3Output(v **ListOutposts } sv.NextToken = ptr.String(jtv) } - case "Outposts": if err := awsRestjson1_deserializeDocumentOutposts(&sv.Outposts, value); err != nil { return err } - default: _, _ = key, value @@ -810,7 +805,6 @@ func awsRestjson1_deserializeOpDocumentListSharedEndpointsOutput(v **ListSharedE if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -819,7 +813,6 @@ func awsRestjson1_deserializeOpDocumentListSharedEndpointsOutput(v **ListSharedE } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1101,15 +1094,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1117,15 +1104,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1150,15 +1133,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1166,15 +1143,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1209,7 +1182,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.AccessType = types.EndpointAccessType(jtv) } - case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -1218,7 +1190,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CidrBlock = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1234,7 +1205,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } - case "CustomerOwnedIpv4Pool": if value != nil { jtv, ok := value.(string) @@ -1243,7 +1213,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CustomerOwnedIpv4Pool = ptr.String(jtv) } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -1252,17 +1221,14 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } - case "FailedReason": if err := awsRestjson1_deserializeDocumentFailedReason(&sv.FailedReason, value); err != nil { return err } - case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } - case "OutpostsId": if value != nil { jtv, ok := value.(string) @@ -1271,7 +1237,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.OutpostsId = ptr.String(jtv) } - case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -1280,7 +1245,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SecurityGroupId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1289,7 +1253,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Status = types.EndpointStatus(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -1298,7 +1261,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -1307,7 +1269,6 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -1381,7 +1342,6 @@ func awsRestjson1_deserializeDocumentFailedReason(v **types.FailedReason, value } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -1390,7 +1350,6 @@ func awsRestjson1_deserializeDocumentFailedReason(v **types.FailedReason, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -1420,15 +1379,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1436,15 +1389,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1479,7 +1428,6 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -1557,7 +1505,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.CapacityInBytes = i64 } - case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -1566,7 +1513,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostArn = ptr.String(jtv) } - case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -1575,7 +1521,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -1584,7 +1529,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OwnerId = ptr.String(jtv) } - case "S3OutpostArn": if value != nil { jtv, ok := value.(string) @@ -1593,7 +1537,6 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.S3OutpostArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1623,15 +1566,9 @@ func awsRestjson1_deserializeDocumentOutpostOfflineException(v **types.OutpostOf sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1639,15 +1576,11 @@ func awsRestjson1_deserializeDocumentOutpostOfflineException(v **types.OutpostOf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1706,15 +1639,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1722,15 +1649,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1755,15 +1678,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1771,15 +1688,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1804,15 +1717,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1820,15 +1727,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index f21ef0801d8..9726134a4c8 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -36230,7 +36230,6 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceId = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -36239,7 +36238,6 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceType = ptr.String(jtv) } - case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -36248,7 +36246,6 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -36322,7 +36319,6 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionArn = ptr.String(jtv) } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -36331,7 +36327,6 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionName = ptr.String(jtv) } - case "ActionType": if value != nil { jtv, ok := value.(string) @@ -36340,7 +36335,6 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionType = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -36356,7 +36350,6 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36372,12 +36365,10 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } } - case "Source": if err := awsAwsjson11_deserializeDocumentActionSource(&sv.Source, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -36386,7 +36377,6 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Status = types.ActionStatus(jtv) } - default: _, _ = key, value @@ -36458,7 +36448,6 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( if err := awsAwsjson11_deserializeDocumentModelPackageContainerDefinitionList(&sv.Containers, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -36467,7 +36456,6 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -36476,27 +36464,22 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( } sv.Name = ptr.String(jtv) } - case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } - case "SupportedRealtimeInferenceInstanceTypes": if err := awsAwsjson11_deserializeDocumentRealtimeInferenceInstanceTypes(&sv.SupportedRealtimeInferenceInstanceTypes, value); err != nil { return err } - case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } - case "SupportedTransformInstanceTypes": if err := awsAwsjson11_deserializeDocumentTransformInstanceTypes(&sv.SupportedTransformInstanceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -36570,12 +36553,10 @@ func awsAwsjson11_deserializeDocumentAdditionalModelDataSource(v **types.Additio } sv.ChannelName = ptr.String(jtv) } - case "S3DataSource": if err := awsAwsjson11_deserializeDocumentS3ModelDataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -36649,7 +36630,6 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.CompressionType = types.CompressionType(jtv) } - case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -36658,7 +36638,6 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.S3DataType = types.AdditionalS3DataSourceDataType(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -36667,7 +36646,6 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -36711,7 +36689,6 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentCount = ptr.Int64(i64) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -36720,7 +36697,6 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -36830,7 +36806,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmName = ptr.String(jtv) } - default: _, _ = key, value @@ -36904,17 +36879,14 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.AlgorithmName = ptr.String(jtv) } - case "ContainerArguments": if err := awsAwsjson11_deserializeDocumentTrainingContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentTrainingContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "EnableSageMakerMetricsTimeSeries": if value != nil { jtv, ok := value.(bool) @@ -36923,12 +36895,10 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.EnableSageMakerMetricsTimeSeries = ptr.Bool(jtv) } - case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } - case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -36937,12 +36907,10 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.TrainingImage = ptr.String(jtv) } - case "TrainingImageConfig": if err := awsAwsjson11_deserializeDocumentTrainingImageConfig(&sv.TrainingImageConfig, value); err != nil { return err } - case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -36951,7 +36919,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.TrainingInputMode = types.TrainingInputMode(jtv) } - default: _, _ = key, value @@ -36987,12 +36954,10 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusDetails(v **types.AlgorithmS if err := awsAwsjson11_deserializeDocumentAlgorithmStatusItemList(&sv.ImageScanStatuses, value); err != nil { return err } - case "ValidationStatuses": if err := awsAwsjson11_deserializeDocumentAlgorithmStatusItemList(&sv.ValidationStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -37032,7 +36997,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.FailureReason = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37041,7 +37005,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -37050,7 +37013,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.Status = types.DetailedAlgorithmStatus(jtv) } - default: _, _ = key, value @@ -37124,7 +37086,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmArn = ptr.String(jtv) } - case "AlgorithmDescription": if value != nil { jtv, ok := value.(string) @@ -37133,7 +37094,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmDescription = ptr.String(jtv) } - case "AlgorithmName": if value != nil { jtv, ok := value.(string) @@ -37142,7 +37102,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmName = ptr.String(jtv) } - case "AlgorithmStatus": if value != nil { jtv, ok := value.(string) @@ -37151,7 +37110,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmStatus = types.AlgorithmStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37167,7 +37125,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } } - default: _, _ = key, value @@ -37241,17 +37198,14 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationProfile(v **types.Algori } sv.ProfileName = ptr.String(jtv) } - case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } - case "TransformJobDefinition": if err := awsAwsjson11_deserializeDocumentTransformJobDefinition(&sv.TransformJobDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -37321,7 +37275,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(v **types. if err := awsAwsjson11_deserializeDocumentAlgorithmValidationProfiles(&sv.ValidationProfiles, value); err != nil { return err } - case "ValidationRole": if value != nil { jtv, ok := value.(string) @@ -37330,7 +37283,6 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(v **types. } sv.ValidationRole = ptr.String(jtv) } - default: _, _ = key, value @@ -37370,7 +37322,6 @@ func awsAwsjson11_deserializeDocumentAmazonQSettings(v **types.AmazonQSettings, } sv.QProfileArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -37379,7 +37330,6 @@ func awsAwsjson11_deserializeDocumentAmazonQSettings(v **types.AmazonQSettings, } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -37419,7 +37369,6 @@ func awsAwsjson11_deserializeDocumentAnnotationConsolidationConfig(v **types.Ann } sv.AnnotationConsolidationLambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -37459,7 +37408,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.AppName = ptr.String(jtv) } - case "AppType": if value != nil { jtv, ok := value.(string) @@ -37468,7 +37416,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.AppType = types.AppType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37484,7 +37431,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -37493,12 +37439,10 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.DomainId = ptr.String(jtv) } - case "ResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.ResourceSpec, value); err != nil { return err } - case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -37507,7 +37451,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.SpaceName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -37516,7 +37459,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.Status = types.AppStatus(jtv) } - case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -37525,7 +37467,6 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.UserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -37565,7 +37506,6 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } sv.AppImageConfigArn = ptr.String(jtv) } - case "AppImageConfigName": if value != nil { jtv, ok := value.(string) @@ -37574,12 +37514,10 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } sv.AppImageConfigName = ptr.String(jtv) } - case "CodeEditorAppImageConfig": if err := awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(&sv.CodeEditorAppImageConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37595,17 +37533,14 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } } - case "JupyterLabAppImageConfig": if err := awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(&sv.JupyterLabAppImageConfig, value); err != nil { return err } - case "KernelGatewayImageConfig": if err := awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(&sv.KernelGatewayImageConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -37621,7 +37556,6 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } } - default: _, _ = key, value @@ -37691,7 +37625,6 @@ func awsAwsjson11_deserializeDocumentAppLifecycleManagement(v **types.AppLifecyc if err := awsAwsjson11_deserializeDocumentIdleSettings(&sv.IdleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -37761,12 +37694,10 @@ func awsAwsjson11_deserializeDocumentAppSpecification(v **types.AppSpecification if err := awsAwsjson11_deserializeDocumentContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -37775,7 +37706,6 @@ func awsAwsjson11_deserializeDocumentAppSpecification(v **types.AppSpecification } sv.ImageUri = ptr.String(jtv) } - default: _, _ = key, value @@ -37811,7 +37741,6 @@ func awsAwsjson11_deserializeDocumentArtifactSource(v **types.ArtifactSource, va if err := awsAwsjson11_deserializeDocumentArtifactSourceTypes(&sv.SourceTypes, value); err != nil { return err } - case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -37820,7 +37749,6 @@ func awsAwsjson11_deserializeDocumentArtifactSource(v **types.ArtifactSource, va } sv.SourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -37860,7 +37788,6 @@ func awsAwsjson11_deserializeDocumentArtifactSourceType(v **types.ArtifactSource } sv.SourceIdType = types.ArtifactSourceIdType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -37869,7 +37796,6 @@ func awsAwsjson11_deserializeDocumentArtifactSourceType(v **types.ArtifactSource } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -37977,7 +37903,6 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactArn = ptr.String(jtv) } - case "ArtifactName": if value != nil { jtv, ok := value.(string) @@ -37986,7 +37911,6 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactName = ptr.String(jtv) } - case "ArtifactType": if value != nil { jtv, ok := value.(string) @@ -37995,7 +37919,6 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactType = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -38011,7 +37934,6 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -38027,12 +37949,10 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } } - case "Source": if err := awsAwsjson11_deserializeDocumentArtifactSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -38106,12 +38026,10 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.AssociationType = types.AssociationEdgeType(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -38127,7 +38045,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } } - case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -38136,7 +38053,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationArn = ptr.String(jtv) } - case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -38145,7 +38061,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationName = ptr.String(jtv) } - case "DestinationType": if value != nil { jtv, ok := value.(string) @@ -38154,7 +38069,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationType = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -38163,7 +38077,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceArn = ptr.String(jtv) } - case "SourceName": if value != nil { jtv, ok := value.(string) @@ -38172,7 +38085,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceName = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -38181,7 +38093,6 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -38261,7 +38172,6 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceClientConfig(v **types.AsyncI } sv.MaxConcurrentInvocationsPerInstance = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -38297,12 +38207,10 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceConfig(v **types.AsyncInferen if err := awsAwsjson11_deserializeDocumentAsyncInferenceClientConfig(&sv.ClientConfig, value); err != nil { return err } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(&sv.OutputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -38342,12 +38250,10 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(v **types. } sv.ErrorTopic = ptr.String(jtv) } - case "IncludeInferenceResponseIn": if err := awsAwsjson11_deserializeDocumentAsyncNotificationTopicTypeList(&sv.IncludeInferenceResponseIn, value); err != nil { return err } - case "SuccessTopic": if value != nil { jtv, ok := value.(string) @@ -38356,7 +38262,6 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(v **types. } sv.SuccessTopic = ptr.String(jtv) } - default: _, _ = key, value @@ -38396,12 +38301,10 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.KmsKeyId = ptr.String(jtv) } - case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } - case "S3FailurePath": if value != nil { jtv, ok := value.(string) @@ -38410,7 +38313,6 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.S3FailurePath = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -38419,7 +38321,6 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -38495,7 +38396,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.Catalog = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -38504,7 +38404,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.Database = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -38513,7 +38412,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.KmsKeyId = ptr.String(jtv) } - case "OutputCompression": if value != nil { jtv, ok := value.(string) @@ -38522,7 +38420,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputCompression = types.AthenaResultCompressionType(jtv) } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -38531,7 +38428,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputFormat = types.AthenaResultFormat(jtv) } - case "OutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -38540,7 +38436,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputS3Uri = ptr.String(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -38549,7 +38444,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.QueryString = ptr.String(jtv) } - case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -38558,7 +38452,6 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.WorkGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -38666,7 +38559,6 @@ func awsAwsjson11_deserializeDocumentAutoMLAlgorithmConfig(v **types.AutoMLAlgor if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithms(&sv.AutoMLAlgorithms, value); err != nil { return err } - default: _, _ = key, value @@ -38776,12 +38668,10 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.CandidateName = ptr.String(jtv) } - case "CandidateProperties": if err := awsAwsjson11_deserializeDocumentCandidateProperties(&sv.CandidateProperties, value); err != nil { return err } - case "CandidateStatus": if value != nil { jtv, ok := value.(string) @@ -38790,12 +38680,10 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.CandidateStatus = types.CandidateStatus(jtv) } - case "CandidateSteps": if err := awsAwsjson11_deserializeDocumentCandidateSteps(&sv.CandidateSteps, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -38811,7 +38699,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -38827,7 +38714,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -38836,22 +38722,18 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.FailureReason = ptr.String(jtv) } - case "FinalAutoMLJobObjectiveMetric": if err := awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(&sv.FinalAutoMLJobObjectiveMetric, value); err != nil { return err } - case "InferenceContainerDefinitions": if err := awsAwsjson11_deserializeDocumentAutoMLInferenceContainerDefinitions(&sv.InferenceContainerDefinitions, value); err != nil { return err } - case "InferenceContainers": if err := awsAwsjson11_deserializeDocumentAutoMLContainerDefinitions(&sv.InferenceContainers, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -38867,7 +38749,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } - case "ObjectiveStatus": if value != nil { jtv, ok := value.(string) @@ -38876,7 +38757,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.ObjectiveStatus = types.ObjectiveStatus(jtv) } - default: _, _ = key, value @@ -38912,7 +38792,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(v **types.A if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithmsConfig(&sv.AlgorithmsConfig, value); err != nil { return err } - case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -38921,7 +38800,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(v **types.A } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -38995,7 +38873,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepArn = ptr.String(jtv) } - case "CandidateStepName": if value != nil { jtv, ok := value.(string) @@ -39004,7 +38881,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepName = ptr.String(jtv) } - case "CandidateStepType": if value != nil { jtv, ok := value.(string) @@ -39013,7 +38889,6 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepType = types.CandidateStepType(jtv) } - default: _, _ = key, value @@ -39053,7 +38928,6 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.ChannelType = types.AutoMLChannelType(jtv) } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -39062,7 +38936,6 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.CompressionType = types.CompressionType(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -39071,12 +38944,10 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.ContentType = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentAutoMLDataSource(&sv.DataSource, value); err != nil { return err } - case "SampleWeightAttributeName": if value != nil { jtv, ok := value.(string) @@ -39085,7 +38956,6 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.SampleWeightAttributeName = ptr.String(jtv) } - case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -39094,7 +38964,6 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.TargetAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -39130,7 +38999,6 @@ func awsAwsjson11_deserializeDocumentAutoMLComputeConfig(v **types.AutoMLCompute if err := awsAwsjson11_deserializeDocumentEmrServerlessComputeConfig(&sv.EmrServerlessComputeConfig, value); err != nil { return err } - default: _, _ = key, value @@ -39166,7 +39034,6 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "Image": if value != nil { jtv, ok := value.(string) @@ -39175,7 +39042,6 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC } sv.Image = ptr.String(jtv) } - case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -39184,7 +39050,6 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC } sv.ModelDataUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -39254,7 +39119,6 @@ func awsAwsjson11_deserializeDocumentAutoMLDataSource(v **types.AutoMLDataSource if err := awsAwsjson11_deserializeDocumentAutoMLS3DataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -39319,7 +39183,6 @@ func awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(v **types.AutoMLDataS } } - default: _, _ = key, value @@ -39427,7 +39290,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(v **types.AutoMLJobArtif } sv.CandidateDefinitionNotebookLocation = ptr.String(jtv) } - case "DataExplorationNotebookLocation": if value != nil { jtv, ok := value.(string) @@ -39436,7 +39298,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(v **types.AutoMLJobArtif } sv.DataExplorationNotebookLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -39476,7 +39337,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.ChannelType = types.AutoMLChannelType(jtv) } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -39485,7 +39345,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.CompressionType = types.CompressionType(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -39494,12 +39353,10 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.ContentType = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentAutoMLDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -39543,7 +39400,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxAutoMLJobRuntimeInSeconds = ptr.Int32(int32(i64)) } - case "MaxCandidates": if value != nil { jtv, ok := value.(json.Number) @@ -39556,7 +39412,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxCandidates = ptr.Int32(int32(i64)) } - case "MaxRuntimePerTrainingJobInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -39569,7 +39424,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxRuntimePerTrainingJobInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -39605,17 +39459,14 @@ func awsAwsjson11_deserializeDocumentAutoMLJobConfig(v **types.AutoMLJobConfig, if err := awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "DataSplitConfig": if err := awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(&sv.DataSplitConfig, value); err != nil { return err } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -39624,12 +39475,10 @@ func awsAwsjson11_deserializeDocumentAutoMLJobConfig(v **types.AutoMLJobConfig, } sv.Mode = types.AutoMLMode(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -39703,7 +39552,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobObjective(v **types.AutoMLJobObjec } sv.MetricName = types.AutoMLMetricEnum(jtv) } - default: _, _ = key, value @@ -39743,7 +39591,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobStepMetadata(v **types.AutoMLJobSt } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -39817,7 +39664,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobArn = ptr.String(jtv) } - case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -39826,7 +39672,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobName = ptr.String(jtv) } - case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -39835,7 +39680,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } - case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -39844,7 +39688,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -39860,7 +39703,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -39876,7 +39718,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -39885,7 +39726,6 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39901,12 +39741,10 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } - case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } - default: _, _ = key, value @@ -39946,7 +39784,6 @@ func awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(v **types.AutoMLOutp } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -39955,7 +39792,6 @@ func awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(v **types.AutoMLOutp } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -39995,7 +39831,6 @@ func awsAwsjson11_deserializeDocumentAutoMLPartialFailureReason(v **types.AutoML } sv.PartialFailureMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -40195,17 +40030,14 @@ func awsAwsjson11_deserializeDocumentAutoMLResolvedAttributes(v **types.AutoMLRe if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } - case "AutoMLProblemTypeResolvedAttributes": if err := awsAwsjson11_deserializeDocumentAutoMLProblemTypeResolvedAttributes(&sv.AutoMLProblemTypeResolvedAttributes, value); err != nil { return err } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -40245,7 +40077,6 @@ func awsAwsjson11_deserializeDocumentAutoMLS3DataSource(v **types.AutoMLS3DataSo } sv.S3DataType = types.AutoMLS3DataType(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -40254,7 +40085,6 @@ func awsAwsjson11_deserializeDocumentAutoMLS3DataSource(v **types.AutoMLS3DataSo } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -40294,7 +40124,6 @@ func awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(v **types.AutoMLSecuri } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40303,12 +40132,10 @@ func awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(v **types.AutoMLSecuri } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -40348,7 +40175,6 @@ func awsAwsjson11_deserializeDocumentAutoParameter(v **types.AutoParameter, valu } sv.Name = ptr.String(jtv) } - case "ValueHint": if value != nil { jtv, ok := value.(string) @@ -40357,7 +40183,6 @@ func awsAwsjson11_deserializeDocumentAutoParameter(v **types.AutoParameter, valu } sv.ValueHint = ptr.String(jtv) } - default: _, _ = key, value @@ -40427,7 +40252,6 @@ func awsAwsjson11_deserializeDocumentAutoRollbackConfig(v **types.AutoRollbackCo if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } - default: _, _ = key, value @@ -40467,7 +40291,6 @@ func awsAwsjson11_deserializeDocumentAutotune(v **types.Autotune, value interfac } sv.Mode = types.AutotuneMode(jtv) } - default: _, _ = key, value @@ -40507,7 +40330,6 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.DestinationS3Uri = ptr.String(jtv) } - case "GenerateInferenceId": if value != nil { jtv, ok := value.(bool) @@ -40516,7 +40338,6 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.GenerateInferenceId = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40525,7 +40346,6 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -40565,7 +40385,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.Code = types.BatchDeleteClusterNodesErrorCode(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -40574,7 +40393,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.Message = ptr.String(jtv) } - case "NodeId": if value != nil { jtv, ok := value.(string) @@ -40583,7 +40401,6 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.NodeId = ptr.String(jtv) } - default: _, _ = key, value @@ -40657,7 +40474,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageError(v **types.Ba } sv.ErrorCode = ptr.String(jtv) } - case "ErrorResponse": if value != nil { jtv, ok := value.(string) @@ -40666,7 +40482,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageError(v **types.Ba } sv.ErrorResponse = ptr.String(jtv) } - default: _, _ = key, value @@ -40748,12 +40563,10 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } } - case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } - case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -40762,7 +40575,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } - case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -40771,7 +40583,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageArn = ptr.String(jtv) } - case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -40780,7 +40591,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -40789,7 +40599,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -40798,7 +40607,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } - case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -40811,7 +40619,6 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40851,12 +40658,10 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.DataCapturedDestinationS3Uri = ptr.String(jtv) } - case "DatasetFormat": if err := awsAwsjson11_deserializeDocumentMonitoringDatasetFormat(&sv.DatasetFormat, value); err != nil { return err } - case "EndTimeOffset": if value != nil { jtv, ok := value.(string) @@ -40865,7 +40670,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.EndTimeOffset = ptr.String(jtv) } - case "ExcludeFeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -40874,7 +40678,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.ExcludeFeaturesAttribute = ptr.String(jtv) } - case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -40883,7 +40686,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.FeaturesAttribute = ptr.String(jtv) } - case "InferenceAttribute": if value != nil { jtv, ok := value.(string) @@ -40892,7 +40694,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.InferenceAttribute = ptr.String(jtv) } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -40901,7 +40702,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.LocalPath = ptr.String(jtv) } - case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -40910,7 +40710,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.ProbabilityAttribute = ptr.String(jtv) } - case "ProbabilityThresholdAttribute": if value != nil { switch jtv := value.(type) { @@ -40944,7 +40743,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } } - case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -40953,7 +40751,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } - case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -40962,7 +40759,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } - case "StartTimeOffset": if value != nil { jtv, ok := value.(string) @@ -40971,7 +40767,6 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.StartTimeOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -41015,7 +40810,6 @@ func awsAwsjson11_deserializeDocumentBestObjectiveNotImproving(v **types.BestObj } sv.MaxNumberOfTrainingJobsNotImproving = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41051,17 +40845,14 @@ func awsAwsjson11_deserializeDocumentBias(v **types.Bias, value interface{}) err if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PostTrainingReport, value); err != nil { return err } - case "PreTrainingReport": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PreTrainingReport, value); err != nil { return err } - case "Report": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Report, value); err != nil { return err } - default: _, _ = key, value @@ -41105,7 +40896,6 @@ func awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(v **types.BlueGreenUp } sv.MaximumExecutionTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "TerminationWaitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -41118,12 +40908,10 @@ func awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(v **types.BlueGreenUp } sv.TerminationWaitInSeconds = ptr.Int32(int32(i64)) } - case "TrafficRoutingConfiguration": if err := awsAwsjson11_deserializeDocumentTrafficRoutingConfig(&sv.TrafficRoutingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -41163,7 +40951,6 @@ func awsAwsjson11_deserializeDocumentCacheHitResult(v **types.CacheHitResult, va } sv.SourcePipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -41203,12 +40990,10 @@ func awsAwsjson11_deserializeDocumentCallbackStepMetadata(v **types.CallbackStep } sv.CallbackToken = ptr.String(jtv) } - case "OutputParameters": if err := awsAwsjson11_deserializeDocumentOutputParameterList(&sv.OutputParameters, value); err != nil { return err } - case "SqsQueueUrl": if value != nil { jtv, ok := value.(string) @@ -41217,7 +41002,6 @@ func awsAwsjson11_deserializeDocumentCallbackStepMetadata(v **types.CallbackStep } sv.SqsQueueUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -41257,7 +41041,6 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.BacktestResults = ptr.String(jtv) } - case "Explainability": if value != nil { jtv, ok := value.(string) @@ -41266,7 +41049,6 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.Explainability = ptr.String(jtv) } - case "ModelInsights": if value != nil { jtv, ok := value.(string) @@ -41275,7 +41057,6 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.ModelInsights = ptr.String(jtv) } - default: _, _ = key, value @@ -41311,7 +41092,6 @@ func awsAwsjson11_deserializeDocumentCandidateGenerationConfig(v **types.Candida if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithmsConfig(&sv.AlgorithmsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -41347,12 +41127,10 @@ func awsAwsjson11_deserializeDocumentCandidateProperties(v **types.CandidateProp if err := awsAwsjson11_deserializeDocumentCandidateArtifactLocations(&sv.CandidateArtifactLocations, value); err != nil { return err } - case "CandidateMetrics": if err := awsAwsjson11_deserializeDocumentMetricDataList(&sv.CandidateMetrics, value); err != nil { return err } - default: _, _ = key, value @@ -41422,42 +41200,34 @@ func awsAwsjson11_deserializeDocumentCanvasAppSettings(v **types.CanvasAppSettin if err := awsAwsjson11_deserializeDocumentDirectDeploySettings(&sv.DirectDeploySettings, value); err != nil { return err } - case "EmrServerlessSettings": if err := awsAwsjson11_deserializeDocumentEmrServerlessSettings(&sv.EmrServerlessSettings, value); err != nil { return err } - case "GenerativeAiSettings": if err := awsAwsjson11_deserializeDocumentGenerativeAiSettings(&sv.GenerativeAiSettings, value); err != nil { return err } - case "IdentityProviderOAuthSettings": if err := awsAwsjson11_deserializeDocumentIdentityProviderOAuthSettings(&sv.IdentityProviderOAuthSettings, value); err != nil { return err } - case "KendraSettings": if err := awsAwsjson11_deserializeDocumentKendraSettings(&sv.KendraSettings, value); err != nil { return err } - case "ModelRegisterSettings": if err := awsAwsjson11_deserializeDocumentModelRegisterSettings(&sv.ModelRegisterSettings, value); err != nil { return err } - case "TimeSeriesForecastingSettings": if err := awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(&sv.TimeSeriesForecastingSettings, value); err != nil { return err } - case "WorkspaceSettings": if err := awsAwsjson11_deserializeDocumentWorkspaceSettings(&sv.WorkspaceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -41497,7 +41267,6 @@ func awsAwsjson11_deserializeDocumentCapacitySize(v **types.CapacitySize, value } sv.Type = types.CapacitySizeType(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -41510,7 +41279,6 @@ func awsAwsjson11_deserializeDocumentCapacitySize(v **types.CapacitySize, value } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41546,12 +41314,10 @@ func awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(v **types.CaptureC if err := awsAwsjson11_deserializeDocumentCsvContentTypes(&sv.CsvContentTypes, value); err != nil { return err } - case "JsonContentTypes": if err := awsAwsjson11_deserializeDocumentJsonContentTypes(&sv.JsonContentTypes, value); err != nil { return err } - default: _, _ = key, value @@ -41591,7 +41357,6 @@ func awsAwsjson11_deserializeDocumentCaptureOption(v **types.CaptureOption, valu } sv.CaptureMode = types.CaptureMode(jtv) } - default: _, _ = key, value @@ -41665,12 +41430,10 @@ func awsAwsjson11_deserializeDocumentCategoricalParameter(v **types.CategoricalP } sv.Name = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentCategoricalParameterRangeValues(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -41710,12 +41473,10 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRange(v **types.Categor } sv.Name = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentParameterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -41785,7 +41546,6 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRangeSpecification(v ** if err := awsAwsjson11_deserializeDocumentParameterValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -41895,7 +41655,6 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelName = ptr.String(jtv) } - case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -41904,7 +41663,6 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.CompressionType = types.CompressionType(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -41913,12 +41671,10 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ContentType = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } - case "InputMode": if value != nil { jtv, ok := value.(string) @@ -41927,7 +41683,6 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.InputMode = types.TrainingInputMode(jtv) } - case "RecordWrapperType": if value != nil { jtv, ok := value.(string) @@ -41936,12 +41691,10 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RecordWrapperType = types.RecordWrapper(jtv) } - case "ShuffleConfig": if err := awsAwsjson11_deserializeDocumentShuffleConfig(&sv.ShuffleConfig, value); err != nil { return err } - default: _, _ = key, value @@ -41981,7 +41734,6 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.Description = ptr.String(jtv) } - case "IsRequired": if value != nil { jtv, ok := value.(bool) @@ -41990,7 +41742,6 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.IsRequired = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41999,22 +41750,18 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.Name = ptr.String(jtv) } - case "SupportedCompressionTypes": if err := awsAwsjson11_deserializeDocumentCompressionTypes(&sv.SupportedCompressionTypes, value); err != nil { return err } - case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } - case "SupportedInputModes": if err := awsAwsjson11_deserializeDocumentInputModes(&sv.SupportedInputModes, value); err != nil { return err } - default: _, _ = key, value @@ -42088,7 +41835,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfig(v **types.CheckpointConfig } sv.LocalPath = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -42097,7 +41843,6 @@ func awsAwsjson11_deserializeDocumentCheckpointConfig(v **types.CheckpointConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -42173,7 +41918,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.BaselineUsedForDriftCheckConstraints = ptr.String(jtv) } - case "CalculatedBaselineConstraints": if value != nil { jtv, ok := value.(string) @@ -42182,7 +41926,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CalculatedBaselineConstraints = ptr.String(jtv) } - case "CheckJobArn": if value != nil { jtv, ok := value.(string) @@ -42191,7 +41934,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CheckJobArn = ptr.String(jtv) } - case "CheckType": if value != nil { jtv, ok := value.(string) @@ -42200,7 +41942,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CheckType = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -42209,7 +41950,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.ModelPackageGroupName = ptr.String(jtv) } - case "RegisterNewBaseline": if value != nil { jtv, ok := value.(bool) @@ -42218,7 +41958,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.RegisterNewBaseline = ptr.Bool(jtv) } - case "SkipCheck": if value != nil { jtv, ok := value.(bool) @@ -42227,7 +41966,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.SkipCheck = ptr.Bool(jtv) } - case "ViolationReport": if value != nil { jtv, ok := value.(string) @@ -42236,7 +41974,6 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.ViolationReport = ptr.String(jtv) } - default: _, _ = key, value @@ -42276,17 +42013,14 @@ func awsAwsjson11_deserializeDocumentClarifyExplainerConfig(v **types.ClarifyExp } sv.EnableExplanations = ptr.String(jtv) } - case "InferenceConfig": if err := awsAwsjson11_deserializeDocumentClarifyInferenceConfig(&sv.InferenceConfig, value); err != nil { return err } - case "ShapConfig": if err := awsAwsjson11_deserializeDocumentClarifyShapConfig(&sv.ShapConfig, value); err != nil { return err } - default: _, _ = key, value @@ -42398,12 +42132,10 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ContentTemplate = ptr.String(jtv) } - case "FeatureHeaders": if err := awsAwsjson11_deserializeDocumentClarifyFeatureHeaders(&sv.FeatureHeaders, value); err != nil { return err } - case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -42412,12 +42144,10 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.FeaturesAttribute = ptr.String(jtv) } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentClarifyFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - case "LabelAttribute": if value != nil { jtv, ok := value.(string) @@ -42426,12 +42156,10 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.LabelAttribute = ptr.String(jtv) } - case "LabelHeaders": if err := awsAwsjson11_deserializeDocumentClarifyLabelHeaders(&sv.LabelHeaders, value); err != nil { return err } - case "LabelIndex": if value != nil { jtv, ok := value.(json.Number) @@ -42444,7 +42172,6 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.LabelIndex = ptr.Int32(int32(i64)) } - case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -42457,7 +42184,6 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } - case "MaxRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -42470,7 +42196,6 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.MaxRecordCount = ptr.Int32(int32(i64)) } - case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -42479,7 +42204,6 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ProbabilityAttribute = ptr.String(jtv) } - case "ProbabilityIndex": if value != nil { jtv, ok := value.(json.Number) @@ -42492,7 +42216,6 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ProbabilityIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42568,7 +42291,6 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.MimeType = ptr.String(jtv) } - case "ShapBaseline": if value != nil { jtv, ok := value.(string) @@ -42577,7 +42299,6 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.ShapBaseline = ptr.String(jtv) } - case "ShapBaselineUri": if value != nil { jtv, ok := value.(string) @@ -42586,7 +42307,6 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.ShapBaselineUri = ptr.String(jtv) } - default: _, _ = key, value @@ -42630,7 +42350,6 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.NumberOfSamples = ptr.Int32(int32(i64)) } - case "Seed": if value != nil { jtv, ok := value.(json.Number) @@ -42643,17 +42362,14 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.Seed = ptr.Int32(int32(i64)) } - case "ShapBaselineConfig": if err := awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(&sv.ShapBaselineConfig, value); err != nil { return err } - case "TextConfig": if err := awsAwsjson11_deserializeDocumentClarifyTextConfig(&sv.TextConfig, value); err != nil { return err } - case "UseLogit": if value != nil { jtv, ok := value.(bool) @@ -42662,7 +42378,6 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.UseLogit = ptr.Bool(jtv) } - default: _, _ = key, value @@ -42702,7 +42417,6 @@ func awsAwsjson11_deserializeDocumentClarifyTextConfig(v **types.ClarifyTextConf } sv.Granularity = types.ClarifyTextGranularity(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -42711,7 +42425,6 @@ func awsAwsjson11_deserializeDocumentClarifyTextConfig(v **types.ClarifyTextConf } sv.Language = types.ClarifyTextLanguage(jtv) } - default: _, _ = key, value @@ -42755,7 +42468,6 @@ func awsAwsjson11_deserializeDocumentClusterEbsVolumeConfig(v **types.ClusterEbs } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42799,7 +42511,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.CurrentCount = ptr.Int32(int32(i64)) } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -42808,7 +42519,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.ExecutionRole = ptr.String(jtv) } - case "InstanceGroupName": if value != nil { jtv, ok := value.(string) @@ -42817,12 +42527,10 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.InstanceGroupName = ptr.String(jtv) } - case "InstanceStorageConfigs": if err := awsAwsjson11_deserializeDocumentClusterInstanceStorageConfigs(&sv.InstanceStorageConfigs, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -42831,17 +42539,14 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.InstanceType = types.ClusterInstanceType(jtv) } - case "LifeCycleConfig": if err := awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(&sv.LifeCycleConfig, value); err != nil { return err } - case "OnStartDeepHealthChecks": if err := awsAwsjson11_deserializeDocumentOnStartDeepHealthChecks(&sv.OnStartDeepHealthChecks, value); err != nil { return err } - case "TargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -42854,7 +42559,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.TargetCount = ptr.Int32(int32(i64)) } - case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -42867,7 +42571,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42941,7 +42644,6 @@ func awsAwsjson11_deserializeDocumentClusterInstancePlacement(v **types.ClusterI } sv.AvailabilityZone = ptr.String(jtv) } - case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -42950,7 +42652,6 @@ func awsAwsjson11_deserializeDocumentClusterInstancePlacement(v **types.ClusterI } sv.AvailabilityZoneId = ptr.String(jtv) } - default: _, _ = key, value @@ -42990,7 +42691,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(v **types.Clus } sv.Message = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -42999,7 +42699,6 @@ func awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(v **types.Clus } sv.Status = types.ClusterInstanceStatus(jtv) } - default: _, _ = key, value @@ -43111,7 +42810,6 @@ func awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(v **types.ClusterLif } sv.OnCreate = ptr.String(jtv) } - case "SourceS3Uri": if value != nil { jtv, ok := value.(string) @@ -43120,7 +42818,6 @@ func awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(v **types.ClusterLif } sv.SourceS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -43160,7 +42857,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceGroupName = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -43169,17 +42865,14 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceId = ptr.String(jtv) } - case "InstanceStatus": if err := awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(&sv.InstanceStatus, value); err != nil { return err } - case "InstanceStorageConfigs": if err := awsAwsjson11_deserializeDocumentClusterInstanceStorageConfigs(&sv.InstanceStorageConfigs, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -43188,7 +42881,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceType = types.ClusterInstanceType(jtv) } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -43204,17 +42896,14 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } } - case "LifeCycleConfig": if err := awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(&sv.LifeCycleConfig, value); err != nil { return err } - case "Placement": if err := awsAwsjson11_deserializeDocumentClusterInstancePlacement(&sv.Placement, value); err != nil { return err } - case "PrivateDnsHostname": if value != nil { jtv, ok := value.(string) @@ -43223,7 +42912,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.PrivateDnsHostname = ptr.String(jtv) } - case "PrivatePrimaryIp": if value != nil { jtv, ok := value.(string) @@ -43232,7 +42920,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.PrivatePrimaryIp = ptr.String(jtv) } - case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -43245,7 +42932,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43355,7 +43041,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceGroupName = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -43364,12 +43049,10 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceId = ptr.String(jtv) } - case "InstanceStatus": if err := awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(&sv.InstanceStatus, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -43378,7 +43061,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceType = types.ClusterInstanceType(jtv) } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -43394,7 +43076,6 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } } - default: _, _ = key, value @@ -43430,7 +43111,6 @@ func awsAwsjson11_deserializeDocumentClusterOrchestrator(v **types.ClusterOrches if err := awsAwsjson11_deserializeDocumentClusterOrchestratorEksConfig(&sv.Eks, value); err != nil { return err } - default: _, _ = key, value @@ -43470,7 +43150,6 @@ func awsAwsjson11_deserializeDocumentClusterOrchestratorEksConfig(v **types.Clus } sv.ClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -43544,7 +43223,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterArn = ptr.String(jtv) } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -43553,7 +43231,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterName = ptr.String(jtv) } - case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -43562,7 +43239,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterStatus = types.ClusterStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43578,7 +43254,6 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } } - default: _, _ = key, value @@ -43614,12 +43289,10 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(v **types.CodeEdit if err := awsAwsjson11_deserializeDocumentContainerConfig(&sv.ContainerConfig, value); err != nil { return err } - case "FileSystemConfig": if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } - default: _, _ = key, value @@ -43655,7 +43328,6 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppSettings(v **types.CodeEditorA if err := awsAwsjson11_deserializeDocumentAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } - case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -43664,22 +43336,18 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppSettings(v **types.CodeEditorA } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } - case "CustomImages": if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } - default: _, _ = key, value @@ -43753,7 +43421,6 @@ func awsAwsjson11_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.RepositoryUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -43793,7 +43460,6 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } sv.CodeRepositoryArn = ptr.String(jtv) } - case "CodeRepositoryName": if value != nil { jtv, ok := value.(string) @@ -43802,7 +43468,6 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } sv.CodeRepositoryName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43818,12 +43483,10 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } } - case "GitConfig": if err := awsAwsjson11_deserializeDocumentGitConfig(&sv.GitConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -43839,7 +43502,6 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } } - default: _, _ = key, value @@ -43913,7 +43575,6 @@ func awsAwsjson11_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.ClientId = ptr.String(jtv) } - case "UserPool": if value != nil { jtv, ok := value.(string) @@ -43922,7 +43583,6 @@ func awsAwsjson11_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.UserPool = ptr.String(jtv) } - default: _, _ = key, value @@ -43962,7 +43622,6 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.ClientId = ptr.String(jtv) } - case "UserGroup": if value != nil { jtv, ok := value.(string) @@ -43971,7 +43630,6 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.UserGroup = ptr.String(jtv) } - case "UserPool": if value != nil { jtv, ok := value.(string) @@ -43980,7 +43638,6 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.UserPool = ptr.String(jtv) } - default: _, _ = key, value @@ -44060,12 +43717,10 @@ func awsAwsjson11_deserializeDocumentCollectionConfiguration(v **types.Collectio } sv.CollectionName = ptr.String(jtv) } - case "CollectionParameters": if err := awsAwsjson11_deserializeDocumentCollectionParameters(&sv.CollectionParameters, value); err != nil { return err } - default: _, _ = key, value @@ -44216,7 +43871,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } - case "CompilationJobArn": if value != nil { jtv, ok := value.(string) @@ -44225,7 +43879,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobArn = ptr.String(jtv) } - case "CompilationJobName": if value != nil { jtv, ok := value.(string) @@ -44234,7 +43887,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobName = ptr.String(jtv) } - case "CompilationJobStatus": if value != nil { jtv, ok := value.(string) @@ -44243,7 +43895,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobStatus = types.CompilationJobStatus(jtv) } - case "CompilationStartTime": if value != nil { switch jtv := value.(type) { @@ -44259,7 +43910,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } - case "CompilationTargetDevice": if value != nil { jtv, ok := value.(string) @@ -44268,7 +43918,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetDevice = types.TargetDevice(jtv) } - case "CompilationTargetPlatformAccelerator": if value != nil { jtv, ok := value.(string) @@ -44277,7 +43926,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformAccelerator = types.TargetPlatformAccelerator(jtv) } - case "CompilationTargetPlatformArch": if value != nil { jtv, ok := value.(string) @@ -44286,7 +43934,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformArch = types.TargetPlatformArch(jtv) } - case "CompilationTargetPlatformOs": if value != nil { jtv, ok := value.(string) @@ -44295,7 +43942,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformOs = types.TargetPlatformOs(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -44311,7 +43957,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44327,7 +43972,6 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } - default: _, _ = key, value @@ -44403,7 +44047,6 @@ func awsAwsjson11_deserializeDocumentConditionStepMetadata(v **types.ConditionSt } sv.Outcome = types.ConditionOutcome(jtv) } - default: _, _ = key, value @@ -44433,15 +44076,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -44449,15 +44086,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -44524,17 +44157,14 @@ func awsAwsjson11_deserializeDocumentContainerConfig(v **types.ContainerConfig, if err := awsAwsjson11_deserializeDocumentCustomImageContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentCustomImageContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "ContainerEnvironmentVariables": if err := awsAwsjson11_deserializeDocumentCustomImageContainerEnvironmentVariables(&sv.ContainerEnvironmentVariables, value); err != nil { return err } - default: _, _ = key, value @@ -44570,7 +44200,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentAdditionalModelDataSources(&sv.AdditionalModelDataSources, value); err != nil { return err } - case "ContainerHostname": if value != nil { jtv, ok := value.(string) @@ -44579,12 +44208,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ContainerHostname = ptr.String(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "Image": if value != nil { jtv, ok := value.(string) @@ -44593,12 +44220,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Image = ptr.String(jtv) } - case "ImageConfig": if err := awsAwsjson11_deserializeDocumentImageConfig(&sv.ImageConfig, value); err != nil { return err } - case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -44607,7 +44232,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.InferenceSpecificationName = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -44616,12 +44240,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Mode = types.ContainerMode(jtv) } - case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } - case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -44630,7 +44252,6 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ModelDataUrl = ptr.String(jtv) } - case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -44639,12 +44260,10 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ModelPackageName = ptr.String(jtv) } - case "MultiModelConfig": if err := awsAwsjson11_deserializeDocumentMultiModelConfig(&sv.MultiModelConfig, value); err != nil { return err } - default: _, _ = key, value @@ -44826,7 +44445,6 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceId = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -44835,7 +44453,6 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceType = ptr.String(jtv) } - case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -44844,7 +44461,6 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -44918,7 +44534,6 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextArn = ptr.String(jtv) } - case "ContextName": if value != nil { jtv, ok := value.(string) @@ -44927,7 +44542,6 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextName = ptr.String(jtv) } - case "ContextType": if value != nil { jtv, ok := value.(string) @@ -44936,7 +44550,6 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextType = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -44952,7 +44565,6 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44968,12 +44580,10 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } } - case "Source": if err := awsAwsjson11_deserializeDocumentContextSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -45013,7 +44623,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -45022,7 +44631,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.MinValue = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -45031,7 +44639,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.Name = ptr.String(jtv) } - case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -45040,7 +44647,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.ScalingType = types.HyperParameterScalingType(jtv) } - default: _, _ = key, value @@ -45114,7 +44720,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(v **t } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -45123,7 +44728,6 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(v **t } sv.MinValue = ptr.String(jtv) } - default: _, _ = key, value @@ -45163,7 +44767,6 @@ func awsAwsjson11_deserializeDocumentConvergenceDetected(v **types.ConvergenceDe } sv.CompleteOnConvergence = types.CompleteOnConvergence(jtv) } - default: _, _ = key, value @@ -45419,7 +45022,6 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.AppImageConfigName = ptr.String(jtv) } - case "ImageName": if value != nil { jtv, ok := value.(string) @@ -45428,7 +45030,6 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.ImageName = ptr.String(jtv) } - case "ImageVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -45441,7 +45042,6 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.ImageVersionNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -45623,7 +45223,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -45632,7 +45231,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Namespace = ptr.String(jtv) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -45641,7 +45239,6 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Statistic = types.Statistic(jtv) } - default: _, _ = key, value @@ -45685,7 +45282,6 @@ func awsAwsjson11_deserializeDocumentCustomPosixUserConfig(v **types.CustomPosix } sv.Gid = ptr.Int64(i64) } - case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -45698,7 +45294,6 @@ func awsAwsjson11_deserializeDocumentCustomPosixUserConfig(v **types.CustomPosix } sv.Uid = ptr.Int64(i64) } - default: _, _ = key, value @@ -45734,12 +45329,10 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf if err := awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(&sv.CaptureContentTypeHeader, value); err != nil { return err } - case "CaptureOptions": if err := awsAwsjson11_deserializeDocumentCaptureOptionList(&sv.CaptureOptions, value); err != nil { return err } - case "DestinationS3Uri": if value != nil { jtv, ok := value.(string) @@ -45748,7 +45341,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.DestinationS3Uri = ptr.String(jtv) } - case "EnableCapture": if value != nil { jtv, ok := value.(bool) @@ -45757,7 +45349,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.EnableCapture = ptr.Bool(jtv) } - case "InitialSamplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -45770,7 +45361,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.InitialSamplingPercentage = ptr.Int32(int32(i64)) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -45779,7 +45369,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -45819,7 +45408,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.CaptureStatus = types.CaptureStatus(jtv) } - case "CurrentSamplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -45832,7 +45420,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.CurrentSamplingPercentage = ptr.Int32(int32(i64)) } - case "DestinationS3Uri": if value != nil { jtv, ok := value.(string) @@ -45841,7 +45428,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.DestinationS3Uri = ptr.String(jtv) } - case "EnableCapture": if value != nil { jtv, ok := value.(bool) @@ -45850,7 +45436,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.EnableCapture = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -45859,7 +45444,6 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -45899,7 +45483,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.Catalog = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -45908,7 +45491,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.Database = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -45917,7 +45499,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -45957,7 +45538,6 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.InputFilter = ptr.String(jtv) } - case "JoinSource": if value != nil { jtv, ok := value.(string) @@ -45966,7 +45546,6 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.JoinSource = types.JoinSource(jtv) } - case "OutputFilter": if value != nil { jtv, ok := value.(string) @@ -45975,7 +45554,6 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.OutputFilter = ptr.String(jtv) } - default: _, _ = key, value @@ -46011,17 +45589,14 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -46030,7 +45605,6 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.ImageUri = ptr.String(jtv) } - case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -46039,7 +45613,6 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } - case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -46048,7 +45621,6 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -46088,17 +45660,14 @@ func awsAwsjson11_deserializeDocumentDataQualityBaselineConfig(v **types.DataQua } sv.BaseliningJobName = ptr.String(jtv) } - case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } - case "StatisticsResource": if err := awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(&sv.StatisticsResource, value); err != nil { return err } - default: _, _ = key, value @@ -46134,12 +45703,10 @@ func awsAwsjson11_deserializeDocumentDataQualityJobInput(v **types.DataQualityJo if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } - default: _, _ = key, value @@ -46175,7 +45742,6 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti if err := awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(&sv.AthenaDatasetDefinition, value); err != nil { return err } - case "DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -46184,7 +45750,6 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.DataDistributionType = types.DataDistributionType(jtv) } - case "InputMode": if value != nil { jtv, ok := value.(string) @@ -46193,7 +45758,6 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.InputMode = types.InputMode(jtv) } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -46202,12 +45766,10 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.LocalPath = ptr.String(jtv) } - case "RedshiftDatasetDefinition": if err := awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(&sv.RedshiftDatasetDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -46243,12 +45805,10 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentFileSystemDataSource(&sv.FileSystemDataSource, value); err != nil { return err } - case "S3DataSource": if err := awsAwsjson11_deserializeDocumentS3DataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -46284,12 +45844,10 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, if err := awsAwsjson11_deserializeDocumentCollectionConfigurations(&sv.CollectionConfigurations, value); err != nil { return err } - case "HookParameters": if err := awsAwsjson11_deserializeDocumentHookParameters(&sv.HookParameters, value); err != nil { return err } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -46298,7 +45856,6 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, } sv.LocalPath = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -46307,7 +45864,6 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -46347,7 +45903,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.InstanceType = types.ProcessingInstanceType(jtv) } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -46356,7 +45911,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.LocalPath = ptr.String(jtv) } - case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -46365,7 +45919,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.RuleConfigurationName = ptr.String(jtv) } - case "RuleEvaluatorImage": if value != nil { jtv, ok := value.(string) @@ -46374,12 +45927,10 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.RuleEvaluatorImage = ptr.String(jtv) } - case "RuleParameters": if err := awsAwsjson11_deserializeDocumentRuleParameters(&sv.RuleParameters, value); err != nil { return err } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -46388,7 +45939,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.S3OutputPath = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -46401,7 +45951,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46482,7 +46031,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } } - case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -46491,7 +46039,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleConfigurationName = ptr.String(jtv) } - case "RuleEvaluationJobArn": if value != nil { jtv, ok := value.(string) @@ -46500,7 +46047,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleEvaluationJobArn = ptr.String(jtv) } - case "RuleEvaluationStatus": if value != nil { jtv, ok := value.(string) @@ -46509,7 +46055,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleEvaluationStatus = types.RuleEvaluationStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -46518,7 +46063,6 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.StatusDetails = ptr.String(jtv) } - default: _, _ = key, value @@ -46596,7 +46140,6 @@ func awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(v **types.Default } sv.DefaultEbsVolumeSizeInGb = ptr.Int32(int32(i64)) } - case "MaximumEbsVolumeSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -46609,7 +46152,6 @@ func awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(v **types.Default } sv.MaximumEbsVolumeSizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46645,12 +46187,10 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceSettings(v **types.DefaultSpace if err := awsAwsjson11_deserializeDocumentCustomFileSystemConfigs(&sv.CustomFileSystemConfigs, value); err != nil { return err } - case "CustomPosixUserConfig": if err := awsAwsjson11_deserializeDocumentCustomPosixUserConfig(&sv.CustomPosixUserConfig, value); err != nil { return err } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -46659,32 +46199,26 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceSettings(v **types.DefaultSpace } sv.ExecutionRole = ptr.String(jtv) } - case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } - case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } - case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } - case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } - default: _, _ = key, value @@ -46720,7 +46254,6 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(v **types.Defau if err := awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(&sv.DefaultEbsStorageSettings, value); err != nil { return err } - default: _, _ = key, value @@ -46767,7 +46300,6 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } } - case "ResolvedImage": if value != nil { jtv, ok := value.(string) @@ -46776,7 +46308,6 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } sv.ResolvedImage = ptr.String(jtv) } - case "SpecifiedImage": if value != nil { jtv, ok := value.(string) @@ -46785,7 +46316,6 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } sv.SpecifiedImage = ptr.String(jtv) } - default: _, _ = key, value @@ -46855,17 +46385,14 @@ func awsAwsjson11_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig if err := awsAwsjson11_deserializeDocumentAutoRollbackConfig(&sv.AutoRollbackConfiguration, value); err != nil { return err } - case "BlueGreenUpdatePolicy": if err := awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(&sv.BlueGreenUpdatePolicy, value); err != nil { return err } - case "RollingUpdatePolicy": if err := awsAwsjson11_deserializeDocumentRollingUpdatePolicy(&sv.RollingUpdatePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -46901,7 +46428,6 @@ func awsAwsjson11_deserializeDocumentDeploymentRecommendation(v **types.Deployme if err := awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendations(&sv.RealTimeInferenceRecommendations, value); err != nil { return err } - case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -46910,7 +46436,6 @@ func awsAwsjson11_deserializeDocumentDeploymentRecommendation(v **types.Deployme } sv.RecommendationStatus = types.RecommendationStatus(jtv) } - default: _, _ = key, value @@ -46980,17 +46505,14 @@ func awsAwsjson11_deserializeDocumentDeploymentStageStatusSummary(v **types.Depl if err := awsAwsjson11_deserializeDocumentEdgeDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } - case "DeploymentStatus": if err := awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(&sv.DeploymentStatus, value); err != nil { return err } - case "DeviceSelectionConfig": if err := awsAwsjson11_deserializeDocumentDeviceSelectionConfig(&sv.DeviceSelectionConfig, value); err != nil { return err } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -46999,7 +46521,6 @@ func awsAwsjson11_deserializeDocumentDeploymentStageStatusSummary(v **types.Depl } sv.StageName = ptr.String(jtv) } - default: _, _ = key, value @@ -47039,7 +46560,6 @@ func awsAwsjson11_deserializeDocumentDerivedInformation(v **types.DerivedInforma } sv.DerivedDataInputConfig = ptr.String(jtv) } - default: _, _ = key, value @@ -47113,7 +46633,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeployedStageName = ptr.String(jtv) } - case "DeploymentStartTime": if value != nil { switch jtv := value.(type) { @@ -47129,7 +46648,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -47138,7 +46656,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.Description = ptr.String(jtv) } - case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -47147,7 +46664,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceArn = ptr.String(jtv) } - case "DeviceDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -47156,7 +46672,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceDeploymentStatus = types.DeviceDeploymentStatus(jtv) } - case "DeviceDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -47165,7 +46680,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceDeploymentStatusMessage = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -47174,7 +46688,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceFleetName = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -47183,7 +46696,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceName = ptr.String(jtv) } - case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -47192,7 +46704,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } - case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -47201,7 +46712,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.EdgeDeploymentPlanName = ptr.String(jtv) } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -47210,7 +46720,6 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.StageName = ptr.String(jtv) } - default: _, _ = key, value @@ -47291,7 +46800,6 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } } - case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -47300,7 +46808,6 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } sv.DeviceFleetArn = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -47309,7 +46816,6 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } sv.DeviceFleetName = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47325,7 +46831,6 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } } - default: _, _ = key, value @@ -47401,12 +46906,10 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.DeviceNameContains = ptr.String(jtv) } - case "DeviceNames": if err := awsAwsjson11_deserializeDocumentDeviceNames(&sv.DeviceNames, value); err != nil { return err } - case "DeviceSubsetType": if value != nil { jtv, ok := value.(string) @@ -47415,7 +46918,6 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.DeviceSubsetType = types.DeviceSubsetType(jtv) } - case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -47428,7 +46930,6 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.Percentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -47472,7 +46973,6 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in } sv.ConnectedDeviceCount = ptr.Int64(i64) } - case "RegisteredDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -47485,7 +46985,6 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in } sv.RegisteredDeviceCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -47559,7 +47058,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.AgentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -47568,7 +47066,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Description = ptr.String(jtv) } - case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -47577,7 +47074,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceArn = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -47586,7 +47082,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceFleetName = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -47595,7 +47090,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceName = ptr.String(jtv) } - case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -47604,7 +47098,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.IotThingName = ptr.String(jtv) } - case "LatestHeartbeat": if value != nil { switch jtv := value.(type) { @@ -47620,12 +47113,10 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - case "Models": if err := awsAwsjson11_deserializeDocumentEdgeModelSummaries(&sv.Models, value); err != nil { return err } - case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -47641,7 +47132,6 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - default: _, _ = key, value @@ -47681,7 +47171,6 @@ func awsAwsjson11_deserializeDocumentDirectDeploySettings(v **types.DirectDeploy } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -47721,12 +47210,10 @@ func awsAwsjson11_deserializeDocumentDockerSettings(v **types.DockerSettings, va } sv.EnableDockerAccess = types.FeatureStatus(jtv) } - case "VpcOnlyTrustedAccounts": if err := awsAwsjson11_deserializeDocumentVpcOnlyTrustedAccounts(&sv.VpcOnlyTrustedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -47773,7 +47260,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } } - case "DomainArn": if value != nil { jtv, ok := value.(string) @@ -47782,7 +47268,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainArn = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -47791,7 +47276,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -47800,7 +47284,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainName = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47816,7 +47299,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47825,7 +47307,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Status = types.DomainStatus(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -47834,7 +47315,6 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -47940,12 +47420,10 @@ func awsAwsjson11_deserializeDocumentDomainSettings(v **types.DomainSettings, va if err := awsAwsjson11_deserializeDocumentAmazonQSettings(&sv.AmazonQSettings, value); err != nil { return err } - case "DockerSettings": if err := awsAwsjson11_deserializeDocumentDockerSettings(&sv.DockerSettings, value); err != nil { return err } - case "ExecutionRoleIdentityConfig": if value != nil { jtv, ok := value.(string) @@ -47954,17 +47432,14 @@ func awsAwsjson11_deserializeDocumentDomainSettings(v **types.DomainSettings, va } sv.ExecutionRoleIdentityConfig = types.ExecutionRoleIdentityConfig(jtv) } - case "RStudioServerProDomainSettings": if err := awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(&sv.RStudioServerProDomainSettings, value); err != nil { return err } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentDomainSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - default: _, _ = key, value @@ -48000,22 +47475,18 @@ func awsAwsjson11_deserializeDocumentDriftCheckBaselines(v **types.DriftCheckBas if err := awsAwsjson11_deserializeDocumentDriftCheckBias(&sv.Bias, value); err != nil { return err } - case "Explainability": if err := awsAwsjson11_deserializeDocumentDriftCheckExplainability(&sv.Explainability, value); err != nil { return err } - case "ModelDataQuality": if err := awsAwsjson11_deserializeDocumentDriftCheckModelDataQuality(&sv.ModelDataQuality, value); err != nil { return err } - case "ModelQuality": if err := awsAwsjson11_deserializeDocumentDriftCheckModelQuality(&sv.ModelQuality, value); err != nil { return err } - default: _, _ = key, value @@ -48051,17 +47522,14 @@ func awsAwsjson11_deserializeDocumentDriftCheckBias(v **types.DriftCheckBias, va if err := awsAwsjson11_deserializeDocumentFileSource(&sv.ConfigFile, value); err != nil { return err } - case "PostTrainingConstraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PostTrainingConstraints, value); err != nil { return err } - case "PreTrainingConstraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PreTrainingConstraints, value); err != nil { return err } - default: _, _ = key, value @@ -48097,12 +47565,10 @@ func awsAwsjson11_deserializeDocumentDriftCheckExplainability(v **types.DriftChe if err := awsAwsjson11_deserializeDocumentFileSource(&sv.ConfigFile, value); err != nil { return err } - case "Constraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } - default: _, _ = key, value @@ -48138,12 +47604,10 @@ func awsAwsjson11_deserializeDocumentDriftCheckModelDataQuality(v **types.DriftC if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } - case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -48179,12 +47643,10 @@ func awsAwsjson11_deserializeDocumentDriftCheckModelQuality(v **types.DriftCheck if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } - case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -48228,7 +47690,6 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.MaxCapacity = ptr.Int32(int32(i64)) } - case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -48241,7 +47702,6 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.MinCapacity = ptr.Int32(int32(i64)) } - case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -48254,7 +47714,6 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } - case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -48267,12 +47726,10 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } - case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -48316,7 +47773,6 @@ func awsAwsjson11_deserializeDocumentEbsStorageSettings(v **types.EbsStorageSett } sv.EbsVolumeSizeInGb = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -48356,7 +47812,6 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.AssociationType = types.AssociationEdgeType(jtv) } - case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -48365,7 +47820,6 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.DestinationArn = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -48374,7 +47828,6 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -48414,7 +47867,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentConfig(v **types.EdgeDeployme } sv.FailureHandlingPolicy = types.FailureHandlingPolicy(jtv) } - default: _, _ = key, value @@ -48454,7 +47906,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfig(v **types.EdgeDep } sv.EdgePackagingJobName = ptr.String(jtv) } - case "ModelHandle": if value != nil { jtv, ok := value.(string) @@ -48463,7 +47914,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfig(v **types.EdgeDep } sv.ModelHandle = ptr.String(jtv) } - default: _, _ = key, value @@ -48578,7 +48028,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -48587,7 +48036,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.DeviceFleetName = ptr.String(jtv) } - case "EdgeDeploymentFailed": if value != nil { jtv, ok := value.(json.Number) @@ -48600,7 +48048,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } - case "EdgeDeploymentPending": if value != nil { jtv, ok := value.(json.Number) @@ -48613,7 +48060,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } - case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -48622,7 +48068,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } - case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -48631,7 +48076,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPlanName = ptr.String(jtv) } - case "EdgeDeploymentSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -48644,7 +48088,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -48660,7 +48103,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } } - default: _, _ = key, value @@ -48704,7 +48146,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentFailedInStage = ptr.Int32(int32(i64)) } - case "EdgeDeploymentPendingInStage": if value != nil { jtv, ok := value.(json.Number) @@ -48717,7 +48158,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentPendingInStage = ptr.Int32(int32(i64)) } - case "EdgeDeploymentStageStartTime": if value != nil { switch jtv := value.(type) { @@ -48733,7 +48173,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } } - case "EdgeDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -48742,7 +48181,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentStatusMessage = ptr.String(jtv) } - case "EdgeDeploymentSuccessInStage": if value != nil { jtv, ok := value.(json.Number) @@ -48755,7 +48193,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentSuccessInStage = ptr.Int32(int32(i64)) } - case "StageStatus": if value != nil { jtv, ok := value.(string) @@ -48764,7 +48201,6 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.StageStatus = types.StageStatus(jtv) } - default: _, _ = key, value @@ -48811,7 +48247,6 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } } - case "LatestSampleTime": if value != nil { switch jtv := value.(type) { @@ -48827,7 +48262,6 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -48836,7 +48270,6 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48845,7 +48278,6 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } sv.ModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -48923,7 +48355,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ActiveDeviceCount = ptr.Int64(i64) } - case "ConnectedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48936,7 +48367,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ConnectedDeviceCount = ptr.Int64(i64) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -48945,7 +48375,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48954,7 +48383,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ModelVersion = ptr.String(jtv) } - case "OfflineDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48967,7 +48395,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.OfflineDeviceCount = ptr.Int64(i64) } - case "SamplingDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48980,7 +48407,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.SamplingDeviceCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -49088,7 +48514,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelSummary(v **types.EdgeModelSummary } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -49097,7 +48522,6 @@ func awsAwsjson11_deserializeDocumentEdgeModelSummary(v **types.EdgeModelSummary } sv.ModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -49137,7 +48561,6 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.KmsKeyId = ptr.String(jtv) } - case "PresetDeploymentConfig": if value != nil { jtv, ok := value.(string) @@ -49146,7 +48569,6 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.PresetDeploymentConfig = ptr.String(jtv) } - case "PresetDeploymentType": if value != nil { jtv, ok := value.(string) @@ -49155,7 +48577,6 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.PresetDeploymentType = types.EdgePresetDeploymentType(jtv) } - case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -49164,7 +48585,6 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.S3OutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -49238,7 +48658,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.CompilationJobName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -49254,7 +48673,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } } - case "EdgePackagingJobArn": if value != nil { jtv, ok := value.(string) @@ -49263,7 +48681,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobArn = ptr.String(jtv) } - case "EdgePackagingJobName": if value != nil { jtv, ok := value.(string) @@ -49272,7 +48689,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobName = ptr.String(jtv) } - case "EdgePackagingJobStatus": if value != nil { jtv, ok := value.(string) @@ -49281,7 +48697,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobStatus = types.EdgePackagingJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -49297,7 +48712,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -49306,7 +48720,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.ModelName = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -49315,7 +48728,6 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.ModelVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -49355,7 +48767,6 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Artifact = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -49364,7 +48775,6 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Status = types.EdgePresetDeploymentStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -49373,7 +48783,6 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.StatusMessage = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -49382,7 +48791,6 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Type = types.EdgePresetDeploymentType(jtv) } - default: _, _ = key, value @@ -49456,7 +48864,6 @@ func awsAwsjson11_deserializeDocumentEFSFileSystem(v **types.EFSFileSystem, valu } sv.FileSystemId = ptr.String(jtv) } - default: _, _ = key, value @@ -49496,7 +48903,6 @@ func awsAwsjson11_deserializeDocumentEFSFileSystemConfig(v **types.EFSFileSystem } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemPath": if value != nil { jtv, ok := value.(string) @@ -49505,7 +48911,6 @@ func awsAwsjson11_deserializeDocumentEFSFileSystemConfig(v **types.EFSFileSystem } sv.FileSystemPath = ptr.String(jtv) } - default: _, _ = key, value @@ -49545,7 +48950,6 @@ func awsAwsjson11_deserializeDocumentEmrServerlessComputeConfig(v **types.EmrSer } sv.ExecutionRoleARN = ptr.String(jtv) } - default: _, _ = key, value @@ -49585,7 +48989,6 @@ func awsAwsjson11_deserializeDocumentEmrServerlessSettings(v **types.EmrServerle } sv.ExecutionRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -49594,7 +48997,6 @@ func awsAwsjson11_deserializeDocumentEmrServerlessSettings(v **types.EmrServerle } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -49630,12 +49032,10 @@ func awsAwsjson11_deserializeDocumentEmrSettings(v **types.EmrSettings, value in if err := awsAwsjson11_deserializeDocumentAssumableRoleArns(&sv.AssumableRoleArns, value); err != nil { return err } - case "ExecutionRoleArns": if err := awsAwsjson11_deserializeDocumentExecutionRoleArns(&sv.ExecutionRoleArns, value); err != nil { return err } - default: _, _ = key, value @@ -49675,7 +49075,6 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.ClusterId = ptr.String(jtv) } - case "LogFilePath": if value != nil { jtv, ok := value.(string) @@ -49684,7 +49083,6 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.LogFilePath = ptr.String(jtv) } - case "StepId": if value != nil { jtv, ok := value.(string) @@ -49693,7 +49091,6 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.StepId = ptr.String(jtv) } - case "StepName": if value != nil { jtv, ok := value.(string) @@ -49702,7 +49099,6 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.StepName = ptr.String(jtv) } - default: _, _ = key, value @@ -49749,12 +49145,10 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } - case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(&sv.DataCaptureConfig, value); err != nil { return err } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -49763,7 +49157,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } - case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -49772,7 +49165,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointConfigName = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -49781,7 +49173,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointName = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -49790,7 +49181,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointStatus = types.EndpointStatus(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -49799,7 +49189,6 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -49815,27 +49204,22 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } - case "MonitoringSchedules": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleList(&sv.MonitoringSchedules, value); err != nil { return err } - case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } - case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -49875,7 +49259,6 @@ func awsAwsjson11_deserializeDocumentEndpointConfigStepMetadata(v **types.Endpoi } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -49922,7 +49305,6 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } } - case "EndpointConfigArn": if value != nil { jtv, ok := value.(string) @@ -49931,7 +49313,6 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } sv.EndpointConfigArn = ptr.String(jtv) } - case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -49940,7 +49321,6 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } sv.EndpointConfigName = ptr.String(jtv) } - default: _, _ = key, value @@ -50014,7 +49394,6 @@ func awsAwsjson11_deserializeDocumentEndpointInfo(v **types.EndpointInfo, value } sv.EndpointName = ptr.String(jtv) } - default: _, _ = key, value @@ -50054,7 +49433,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.EndpointName = ptr.String(jtv) } - case "EndTimeOffset": if value != nil { jtv, ok := value.(string) @@ -50063,7 +49441,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.EndTimeOffset = ptr.String(jtv) } - case "ExcludeFeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -50072,7 +49449,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.ExcludeFeaturesAttribute = ptr.String(jtv) } - case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -50081,7 +49457,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.FeaturesAttribute = ptr.String(jtv) } - case "InferenceAttribute": if value != nil { jtv, ok := value.(string) @@ -50090,7 +49465,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.InferenceAttribute = ptr.String(jtv) } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -50099,7 +49473,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.LocalPath = ptr.String(jtv) } - case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -50108,7 +49481,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.ProbabilityAttribute = ptr.String(jtv) } - case "ProbabilityThresholdAttribute": if value != nil { switch jtv := value.(type) { @@ -50142,7 +49514,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } } - case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -50151,7 +49522,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } - case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -50160,7 +49530,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } - case "StartTimeOffset": if value != nil { jtv, ok := value.(string) @@ -50169,7 +49538,6 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.StartTimeOffset = ptr.String(jtv) } - default: _, _ = key, value @@ -50205,7 +49573,6 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi if err := awsAwsjson11_deserializeDocumentEnvironmentParameterRanges(&sv.EnvironmentParameterRanges, value); err != nil { return err } - case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -50214,7 +49581,6 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi } sv.InferenceSpecificationName = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -50223,12 +49589,10 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } - case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } - default: _, _ = key, value @@ -50302,7 +49666,6 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointConfigName = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -50311,7 +49674,6 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointName = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -50320,7 +49682,6 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointStatus = types.EndpointStatus(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -50329,7 +49690,6 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.FailureReason = ptr.String(jtv) } - default: _, _ = key, value @@ -50369,7 +49729,6 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.EndpointName = ptr.String(jtv) } - case "InitialInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -50382,7 +49741,6 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.InitialInstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -50391,12 +49749,10 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } - case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -50405,7 +49761,6 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.VariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -50441,12 +49796,10 @@ func awsAwsjson11_deserializeDocumentEndpointPerformance(v **types.EndpointPerfo if err := awsAwsjson11_deserializeDocumentEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } - case "Metrics": if err := awsAwsjson11_deserializeDocumentInferenceMetrics(&sv.Metrics, value); err != nil { return err } - default: _, _ = key, value @@ -50554,7 +49907,6 @@ func awsAwsjson11_deserializeDocumentEndpointStepMetadata(v **types.EndpointStep } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -50601,7 +49953,6 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -50610,7 +49961,6 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointArn = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -50619,7 +49969,6 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointName = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -50628,7 +49977,6 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointStatus = types.EndpointStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50644,7 +49992,6 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } } - default: _, _ = key, value @@ -50754,7 +50101,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -50763,7 +50109,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.Value = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -50772,7 +50117,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.ValueType = ptr.String(jtv) } - default: _, _ = key, value @@ -50808,7 +50152,6 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameterRanges(v **types.Enviro if err := awsAwsjson11_deserializeDocumentCategoricalParameters(&sv.CategoricalParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -50914,7 +50257,6 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -50930,7 +50272,6 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50939,7 +50280,6 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -50948,7 +50288,6 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.DisplayName = ptr.String(jtv) } - case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -50957,7 +50296,6 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentArn = ptr.String(jtv) } - case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -50966,12 +50304,10 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentName = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50987,17 +50323,14 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } } - case "Source": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.Source, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -51037,7 +50370,6 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.ExperimentName = ptr.String(jtv) } - case "RunName": if value != nil { jtv, ok := value.(string) @@ -51046,7 +50378,6 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.RunName = ptr.String(jtv) } - case "TrialComponentDisplayName": if value != nil { jtv, ok := value.(string) @@ -51055,7 +50386,6 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.TrialComponentDisplayName = ptr.String(jtv) } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -51064,7 +50394,6 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.TrialName = ptr.String(jtv) } - default: _, _ = key, value @@ -51104,7 +50433,6 @@ func awsAwsjson11_deserializeDocumentExperimentSource(v **types.ExperimentSource } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -51113,7 +50441,6 @@ func awsAwsjson11_deserializeDocumentExperimentSource(v **types.ExperimentSource } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -51194,7 +50521,6 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -51203,7 +50529,6 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.DisplayName = ptr.String(jtv) } - case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -51212,7 +50537,6 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentArn = ptr.String(jtv) } - case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -51221,12 +50545,10 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentName = ptr.String(jtv) } - case "ExperimentSource": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.ExperimentSource, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51242,7 +50564,6 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } - default: _, _ = key, value @@ -51278,7 +50599,6 @@ func awsAwsjson11_deserializeDocumentExplainability(v **types.Explainability, va if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Report, value); err != nil { return err } - default: _, _ = key, value @@ -51314,7 +50634,6 @@ func awsAwsjson11_deserializeDocumentExplainerConfig(v **types.ExplainerConfig, if err := awsAwsjson11_deserializeDocumentClarifyExplainerConfig(&sv.ClarifyExplainerConfig, value); err != nil { return err } - default: _, _ = key, value @@ -51354,7 +50673,6 @@ func awsAwsjson11_deserializeDocumentFailStepMetadata(v **types.FailStepMetadata } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -51390,7 +50708,6 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti if err := awsAwsjson11_deserializeDocumentCollectionConfig(&sv.CollectionConfig, value); err != nil { return err } - case "CollectionType": if value != nil { jtv, ok := value.(string) @@ -51399,7 +50716,6 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.CollectionType = types.CollectionType(jtv) } - case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -51408,7 +50724,6 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.FeatureName = ptr.String(jtv) } - case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -51417,7 +50732,6 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.FeatureType = types.FeatureType(jtv) } - default: _, _ = key, value @@ -51498,7 +50812,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -51507,7 +50820,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.Description = ptr.String(jtv) } - case "EventTimeFeatureName": if value != nil { jtv, ok := value.(string) @@ -51516,7 +50828,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.EventTimeFeatureName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -51525,12 +50836,10 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FailureReason = ptr.String(jtv) } - case "FeatureDefinitions": if err := awsAwsjson11_deserializeDocumentFeatureDefinitions(&sv.FeatureDefinitions, value); err != nil { return err } - case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -51539,7 +50848,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupArn = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -51548,7 +50856,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -51557,7 +50864,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51573,27 +50879,22 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } } - case "LastUpdateStatus": if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { return err } - case "OfflineStoreConfig": if err := awsAwsjson11_deserializeDocumentOfflineStoreConfig(&sv.OfflineStoreConfig, value); err != nil { return err } - case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } - case "OnlineStoreConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreConfig(&sv.OnlineStoreConfig, value); err != nil { return err } - case "RecordIdentifierFeatureName": if value != nil { jtv, ok := value.(string) @@ -51602,7 +50903,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.RecordIdentifierFeatureName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -51611,12 +50911,10 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -51697,7 +50995,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } } - case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -51706,7 +51003,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupArn = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -51715,7 +51011,6 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -51724,12 +51019,10 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } - case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } - default: _, _ = key, value @@ -51776,7 +51069,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -51785,7 +51077,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.Description = ptr.String(jtv) } - case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -51794,7 +51085,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureGroupArn = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -51803,7 +51093,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -51812,7 +51101,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureName = ptr.String(jtv) } - case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -51821,7 +51109,6 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureType = types.FeatureType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51837,12 +51124,10 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } } - case "Parameters": if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -51882,7 +51167,6 @@ func awsAwsjson11_deserializeDocumentFeatureParameter(v **types.FeatureParameter } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -51891,7 +51175,6 @@ func awsAwsjson11_deserializeDocumentFeatureParameter(v **types.FeatureParameter } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -51965,7 +51248,6 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.ContentDigest = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -51974,7 +51256,6 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.ContentType = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -51983,7 +51264,6 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -52027,7 +51307,6 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.DefaultGid = ptr.Int32(int32(i64)) } - case "DefaultUid": if value != nil { jtv, ok := value.(json.Number) @@ -52040,7 +51319,6 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.DefaultUid = ptr.Int32(int32(i64)) } - case "MountPath": if value != nil { jtv, ok := value.(string) @@ -52049,7 +51327,6 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.MountPath = ptr.String(jtv) } - default: _, _ = key, value @@ -52089,7 +51366,6 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.DirectoryPath = ptr.String(jtv) } - case "FileSystemAccessMode": if value != nil { jtv, ok := value.(string) @@ -52098,7 +51374,6 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemAccessMode = types.FileSystemAccessMode(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -52107,7 +51382,6 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemId = ptr.String(jtv) } - case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -52116,7 +51390,6 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemType = types.FileSystemType(jtv) } - default: _, _ = key, value @@ -52226,7 +51499,6 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.MetricName = types.AutoMLMetricEnum(jtv) } - case "StandardMetricName": if value != nil { jtv, ok := value.(string) @@ -52235,7 +51507,6 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.StandardMetricName = types.AutoMLMetricEnum(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52244,7 +51515,6 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.Type = types.AutoMLJobObjectiveType(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -52278,7 +51548,6 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } } - default: _, _ = key, value @@ -52318,7 +51587,6 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } sv.MetricName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52327,7 +51595,6 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } sv.Type = types.HyperParameterTuningJobObjectiveType(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -52361,7 +51628,6 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } } - default: _, _ = key, value @@ -52435,7 +51701,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(v **types.FlowDe } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -52444,7 +51709,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(v **types.FlowDe } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -52525,7 +51789,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -52534,7 +51797,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FailureReason = ptr.String(jtv) } - case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -52543,7 +51805,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionArn = ptr.String(jtv) } - case "FlowDefinitionName": if value != nil { jtv, ok := value.(string) @@ -52552,7 +51813,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionName = ptr.String(jtv) } - case "FlowDefinitionStatus": if value != nil { jtv, ok := value.(string) @@ -52561,7 +51821,6 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionStatus = types.FlowDefinitionStatus(jtv) } - default: _, _ = key, value @@ -52673,7 +51932,6 @@ func awsAwsjson11_deserializeDocumentGenerativeAiSettings(v **types.GenerativeAi } sv.AmazonBedrockRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -52713,7 +51971,6 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.Branch = ptr.String(jtv) } - case "RepositoryUrl": if value != nil { jtv, ok := value.(string) @@ -52722,7 +51979,6 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.RepositoryUrl = ptr.String(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -52731,7 +51987,6 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.SecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -52951,12 +52206,10 @@ func awsAwsjson11_deserializeDocumentHiddenSageMakerImage(v **types.HiddenSageMa } sv.SageMakerImageName = types.SageMakerImageName(jtv) } - case "VersionAliases": if err := awsAwsjson11_deserializeDocumentVersionAliasesList(&sv.VersionAliases, value); err != nil { return err } - default: _, _ = key, value @@ -53064,7 +52317,6 @@ func awsAwsjson11_deserializeDocumentHolidayConfigAttributes(v **types.HolidayCo } sv.CountryCode = ptr.String(jtv) } - default: _, _ = key, value @@ -53140,7 +52392,6 @@ func awsAwsjson11_deserializeDocumentHubContentDependency(v **types.HubContentDe } sv.DependencyCopyPath = ptr.String(jtv) } - case "DependencyOriginPath": if value != nil { jtv, ok := value.(string) @@ -53149,7 +52400,6 @@ func awsAwsjson11_deserializeDocumentHubContentDependency(v **types.HubContentDe } sv.DependencyOriginPath = ptr.String(jtv) } - default: _, _ = key, value @@ -53230,7 +52480,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } } - case "DocumentSchemaVersion": if value != nil { jtv, ok := value.(string) @@ -53239,7 +52488,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.DocumentSchemaVersion = ptr.String(jtv) } - case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -53248,7 +52496,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentArn = ptr.String(jtv) } - case "HubContentDescription": if value != nil { jtv, ok := value.(string) @@ -53257,7 +52504,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentDescription = ptr.String(jtv) } - case "HubContentDisplayName": if value != nil { jtv, ok := value.(string) @@ -53266,7 +52512,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentDisplayName = ptr.String(jtv) } - case "HubContentName": if value != nil { jtv, ok := value.(string) @@ -53275,12 +52520,10 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentName = ptr.String(jtv) } - case "HubContentSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubContentSearchKeywordList(&sv.HubContentSearchKeywords, value); err != nil { return err } - case "HubContentStatus": if value != nil { jtv, ok := value.(string) @@ -53289,7 +52532,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentStatus = types.HubContentStatus(jtv) } - case "HubContentType": if value != nil { jtv, ok := value.(string) @@ -53298,7 +52540,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentType = types.HubContentType(jtv) } - case "HubContentVersion": if value != nil { jtv, ok := value.(string) @@ -53307,7 +52548,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentVersion = ptr.String(jtv) } - case "OriginalCreationTime": if value != nil { switch jtv := value.(type) { @@ -53323,7 +52563,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } } - case "SageMakerPublicHubContentArn": if value != nil { jtv, ok := value.(string) @@ -53332,7 +52571,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.SageMakerPublicHubContentArn = ptr.String(jtv) } - case "SupportStatus": if value != nil { jtv, ok := value.(string) @@ -53341,7 +52579,6 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.SupportStatus = types.HubContentSupportStatus(jtv) } - default: _, _ = key, value @@ -53458,7 +52695,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } } - case "HubArn": if value != nil { jtv, ok := value.(string) @@ -53467,7 +52703,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubArn = ptr.String(jtv) } - case "HubDescription": if value != nil { jtv, ok := value.(string) @@ -53476,7 +52711,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubDescription = ptr.String(jtv) } - case "HubDisplayName": if value != nil { jtv, ok := value.(string) @@ -53485,7 +52719,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubDisplayName = ptr.String(jtv) } - case "HubName": if value != nil { jtv, ok := value.(string) @@ -53494,12 +52727,10 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubName = ptr.String(jtv) } - case "HubSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubSearchKeywordList(&sv.HubSearchKeywords, value); err != nil { return err } - case "HubStatus": if value != nil { jtv, ok := value.(string) @@ -53508,7 +52739,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubStatus = types.HubStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -53524,7 +52754,6 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } } - default: _, _ = key, value @@ -53598,7 +52827,6 @@ func awsAwsjson11_deserializeDocumentHubS3StorageConfig(v **types.HubS3StorageCo } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -53674,7 +52902,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationConditionsConfig(v **typ } sv.HumanLoopActivationConditions = ptr.String(jtv) } - default: _, _ = key, value @@ -53710,7 +52937,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationConfig(v **types.HumanLo if err := awsAwsjson11_deserializeDocumentHumanLoopActivationConditionsConfig(&sv.HumanLoopActivationConditionsConfig, value); err != nil { return err } - default: _, _ = key, value @@ -53750,12 +52976,10 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.HumanTaskUiArn = ptr.String(jtv) } - case "PublicWorkforceTaskPrice": if err := awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(&sv.PublicWorkforceTaskPrice, value); err != nil { return err } - case "TaskAvailabilityLifetimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53768,7 +52992,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskAvailabilityLifetimeInSeconds = ptr.Int32(int32(i64)) } - case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -53781,7 +53004,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskCount = ptr.Int32(int32(i64)) } - case "TaskDescription": if value != nil { jtv, ok := value.(string) @@ -53790,12 +53012,10 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskDescription = ptr.String(jtv) } - case "TaskKeywords": if err := awsAwsjson11_deserializeDocumentFlowDefinitionTaskKeywords(&sv.TaskKeywords, value); err != nil { return err } - case "TaskTimeLimitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53808,7 +53028,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskTimeLimitInSeconds = ptr.Int32(int32(i64)) } - case "TaskTitle": if value != nil { jtv, ok := value.(string) @@ -53817,7 +53036,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskTitle = ptr.String(jtv) } - case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -53826,7 +53044,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.WorkteamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -53866,7 +53083,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopRequestSource(v **types.HumanLoopR } sv.AwsManagedHumanLoopRequestSource = types.AwsManagedHumanLoopRequestSource(jtv) } - default: _, _ = key, value @@ -53902,7 +53118,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, if err := awsAwsjson11_deserializeDocumentAnnotationConsolidationConfig(&sv.AnnotationConsolidationConfig, value); err != nil { return err } - case "MaxConcurrentTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -53915,7 +53130,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.MaxConcurrentTaskCount = ptr.Int32(int32(i64)) } - case "NumberOfHumanWorkersPerDataObject": if value != nil { jtv, ok := value.(json.Number) @@ -53928,7 +53142,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.NumberOfHumanWorkersPerDataObject = ptr.Int32(int32(i64)) } - case "PreHumanTaskLambdaArn": if value != nil { jtv, ok := value.(string) @@ -53937,12 +53150,10 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.PreHumanTaskLambdaArn = ptr.String(jtv) } - case "PublicWorkforceTaskPrice": if err := awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(&sv.PublicWorkforceTaskPrice, value); err != nil { return err } - case "TaskAvailabilityLifetimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53955,7 +53166,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskAvailabilityLifetimeInSeconds = ptr.Int32(int32(i64)) } - case "TaskDescription": if value != nil { jtv, ok := value.(string) @@ -53964,12 +53174,10 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskDescription = ptr.String(jtv) } - case "TaskKeywords": if err := awsAwsjson11_deserializeDocumentTaskKeywords(&sv.TaskKeywords, value); err != nil { return err } - case "TaskTimeLimitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53982,7 +53190,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskTimeLimitInSeconds = ptr.Int32(int32(i64)) } - case "TaskTitle": if value != nil { jtv, ok := value.(string) @@ -53991,12 +53198,10 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskTitle = ptr.String(jtv) } - case "UiConfig": if err := awsAwsjson11_deserializeDocumentUiConfig(&sv.UiConfig, value); err != nil { return err } - case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -54005,7 +53210,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.WorkteamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -54086,7 +53290,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } } - case "HumanTaskUiArn": if value != nil { jtv, ok := value.(string) @@ -54095,7 +53298,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } sv.HumanTaskUiArn = ptr.String(jtv) } - case "HumanTaskUiName": if value != nil { jtv, ok := value.(string) @@ -54104,7 +53306,6 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } sv.HumanTaskUiName = ptr.String(jtv) } - default: _, _ = key, value @@ -54148,7 +53349,6 @@ func awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(v **types.Hyperband } sv.MaxResource = ptr.Int32(int32(i64)) } - case "MinResource": if value != nil { jtv, ok := value.(json.Number) @@ -54161,7 +53361,6 @@ func awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(v **types.Hyperband } sv.MinResource = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -54201,12 +53400,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.AlgorithmName = ptr.String(jtv) } - case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } - case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -54215,7 +53412,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.TrainingImage = ptr.String(jtv) } - case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -54224,7 +53420,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.TrainingInputMode = types.TrainingInputMode(jtv) } - default: _, _ = key, value @@ -54300,7 +53495,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.DefaultValue = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -54309,7 +53503,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Description = ptr.String(jtv) } - case "IsRequired": if value != nil { jtv, ok := value.(bool) @@ -54318,7 +53511,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.IsRequired = ptr.Bool(jtv) } - case "IsTunable": if value != nil { jtv, ok := value.(bool) @@ -54327,7 +53519,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.IsTunable = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54336,12 +53527,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Name = ptr.String(jtv) } - case "Range": if err := awsAwsjson11_deserializeDocumentParameterRange(&sv.Range, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -54350,7 +53539,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Type = types.ParameterType(jtv) } - default: _, _ = key, value @@ -54420,12 +53608,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ if err := awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } - case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } - case "DefinitionName": if value != nil { jtv, ok := value.(string) @@ -54434,7 +53620,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.DefinitionName = ptr.String(jtv) } - case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -54443,7 +53628,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -54452,7 +53636,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -54461,42 +53644,34 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "HyperParameterRanges": if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.HyperParameterRanges, value); err != nil { return err } - case "HyperParameterTuningResourceConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(&sv.HyperParameterTuningResourceConfig, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -54505,27 +53680,22 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.RoleArn = ptr.String(jtv) } - case "StaticHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.StaticHyperParameters, value); err != nil { return err } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "TuningObjective": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(&sv.TuningObjective, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -54676,7 +53846,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -54685,12 +53854,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.FailureReason = ptr.String(jtv) } - case "FinalHyperParameterTuningJobObjectiveMetric": if err := awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric(&sv.FinalHyperParameterTuningJobObjectiveMetric, value); err != nil { return err } - case "ObjectiveStatus": if value != nil { jtv, ok := value.(string) @@ -54699,7 +53866,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.ObjectiveStatus = types.ObjectiveStatus(jtv) } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -54715,7 +53881,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -54724,7 +53889,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobArn = ptr.String(jtv) } - case "TrainingJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -54733,7 +53897,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobDefinitionName = ptr.String(jtv) } - case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -54742,7 +53905,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobName = ptr.String(jtv) } - case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -54751,7 +53913,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } - case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -54767,12 +53928,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } - case "TunedHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.TunedHyperParameters, value); err != nil { return err } - case "TuningJobName": if value != nil { jtv, ok := value.(string) @@ -54781,7 +53940,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TuningJobName = ptr.String(jtv) } - default: _, _ = key, value @@ -54825,7 +53983,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -54834,7 +53991,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.InstanceType = types.TrainingInstanceType(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -54847,7 +54003,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -54928,7 +54083,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(v } } - case "NumberOfTrainingJobsObjectiveNotImproving": if value != nil { jtv, ok := value.(json.Number) @@ -54941,7 +54095,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(v } sv.NumberOfTrainingJobsObjectiveNotImproving = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -54977,12 +54130,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(&sv.HyperParameterTuningJobObjective, value); err != nil { return err } - case "ParameterRanges": if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.ParameterRanges, value); err != nil { return err } - case "RandomSeed": if value != nil { jtv, ok := value.(json.Number) @@ -54995,12 +54146,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.RandomSeed = ptr.Int32(int32(i64)) } - case "ResourceLimits": if err := awsAwsjson11_deserializeDocumentResourceLimits(&sv.ResourceLimits, value); err != nil { return err } - case "Strategy": if value != nil { jtv, ok := value.(string) @@ -55009,12 +54158,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.Strategy = types.HyperParameterTuningJobStrategyType(jtv) } - case "StrategyConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobStrategyConfig(&sv.StrategyConfig, value); err != nil { return err } - case "TrainingJobEarlyStoppingType": if value != nil { jtv, ok := value.(string) @@ -55023,12 +54170,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.TrainingJobEarlyStoppingType = types.TrainingJobEarlyStoppingType(jtv) } - case "TuningJobCompletionCriteria": if err := awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(&sv.TuningJobCompletionCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -55072,7 +54217,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(v } sv.RuntimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55112,7 +54256,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(v **types. } sv.MetricName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -55121,7 +54264,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(v **types. } sv.Type = types.HyperParameterTuningJobObjectiveType(jtv) } - default: _, _ = key, value @@ -55191,12 +54333,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.BestTrainingJob, value); err != nil { return err } - case "ConsumedResources": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(&sv.ConsumedResources, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -55212,7 +54352,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -55221,7 +54360,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.FailureReason = ptr.String(jtv) } - case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -55237,7 +54375,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } - case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -55246,12 +54383,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobArn = ptr.String(jtv) } - case "HyperParameterTuningJobConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HyperParameterTuningJobConfig, value); err != nil { return err } - case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -55260,7 +54395,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobName = ptr.String(jtv) } - case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -55269,7 +54403,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55285,47 +54418,38 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } - case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } - case "OverallBestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.OverallBestTrainingJob, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } - case "TrainingJobDefinitions": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinitions(&sv.TrainingJobDefinitions, value); err != nil { return err } - case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } - case "TuningJobCompletionDetails": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(&sv.TuningJobCompletionDetails, value); err != nil { return err } - case "WarmStartConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(&sv.WarmStartConfig, value); err != nil { return err } - default: _, _ = key, value @@ -55361,7 +54485,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobStrategyConfig(v **t if err := awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(&sv.HyperbandStrategyConfig, value); err != nil { return err } - default: _, _ = key, value @@ -55442,7 +54565,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } - case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -55458,7 +54580,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } - case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -55467,7 +54588,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobArn = ptr.String(jtv) } - case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -55476,7 +54596,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobName = ptr.String(jtv) } - case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -55485,7 +54604,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55501,17 +54619,14 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } - case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } - case "ResourceLimits": if err := awsAwsjson11_deserializeDocumentResourceLimits(&sv.ResourceLimits, value); err != nil { return err } - case "Strategy": if value != nil { jtv, ok := value.(string) @@ -55520,12 +54635,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.Strategy = types.HyperParameterTuningJobStrategyType(jtv) } - case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } - default: _, _ = key, value @@ -55561,7 +54674,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(v ** if err := awsAwsjson11_deserializeDocumentParentHyperParameterTuningJobs(&sv.ParentHyperParameterTuningJobs, value); err != nil { return err } - case "WarmStartType": if value != nil { jtv, ok := value.(string) @@ -55570,7 +54682,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(v ** } sv.WarmStartType = types.HyperParameterTuningJobWarmStartType(jtv) } - default: _, _ = key, value @@ -55610,12 +54721,10 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.AllocationStrategy = types.HyperParameterTuningAllocationStrategy(jtv) } - case "InstanceConfigs": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfigs(&sv.InstanceConfigs, value); err != nil { return err } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -55628,7 +54737,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -55637,7 +54745,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.InstanceType = types.TrainingInstanceType(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -55646,7 +54753,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -55659,7 +54765,6 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55699,7 +54804,6 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.Arn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -55708,7 +54812,6 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.PrincipalId = ptr.String(jtv) } - case "SourceIdentity": if value != nil { jtv, ok := value.(string) @@ -55717,7 +54820,6 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.SourceIdentity = ptr.String(jtv) } - default: _, _ = key, value @@ -55757,7 +54859,6 @@ func awsAwsjson11_deserializeDocumentIamPolicyConstraints(v **types.IamPolicyCon } sv.SourceIp = types.EnabledOrDisabled(jtv) } - case "VpcSourceIp": if value != nil { jtv, ok := value.(string) @@ -55766,7 +54867,6 @@ func awsAwsjson11_deserializeDocumentIamPolicyConstraints(v **types.IamPolicyCon } sv.VpcSourceIp = types.EnabledOrDisabled(jtv) } - default: _, _ = key, value @@ -55806,7 +54906,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.DataSourceName = types.DataSourceName(jtv) } - case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -55815,7 +54914,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.SecretArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -55824,7 +54922,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -55902,7 +54999,6 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.IdleTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "LifecycleManagement": if value != nil { jtv, ok := value.(string) @@ -55911,7 +55007,6 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.LifecycleManagement = types.LifecycleManagement(jtv) } - case "MaxIdleTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -55924,7 +55019,6 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.MaxIdleTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "MinIdleTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -55937,7 +55031,6 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.MinIdleTimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55984,7 +55077,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -55993,7 +55085,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -56002,7 +55093,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -56011,7 +55101,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.FailureReason = ptr.String(jtv) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -56020,7 +55109,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageArn = ptr.String(jtv) } - case "ImageName": if value != nil { jtv, ok := value.(string) @@ -56029,7 +55117,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageName = ptr.String(jtv) } - case "ImageStatus": if value != nil { jtv, ok := value.(string) @@ -56038,7 +55125,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageStatus = types.ImageStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56054,7 +55140,6 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } - default: _, _ = key, value @@ -56090,7 +55175,6 @@ func awsAwsjson11_deserializeDocumentImageClassificationJobConfig(v **types.Imag if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -56130,12 +55214,10 @@ func awsAwsjson11_deserializeDocumentImageConfig(v **types.ImageConfig, value in } sv.RepositoryAccessMode = types.RepositoryAccessMode(jtv) } - case "RepositoryAuthConfig": if err := awsAwsjson11_deserializeDocumentRepositoryAuthConfig(&sv.RepositoryAuthConfig, value); err != nil { return err } - default: _, _ = key, value @@ -56216,7 +55298,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -56225,7 +55306,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.FailureReason = ptr.String(jtv) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -56234,7 +55314,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageArn = ptr.String(jtv) } - case "ImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -56243,7 +55322,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageVersionArn = ptr.String(jtv) } - case "ImageVersionStatus": if value != nil { jtv, ok := value.(string) @@ -56252,7 +55330,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageVersionStatus = types.ImageVersionStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56268,7 +55345,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -56281,7 +55357,6 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -56359,7 +55434,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } sv.MaxMemoryRequiredInMb = ptr.Int32(int32(i64)) } - case "MinMemoryRequiredInMb": if value != nil { jtv, ok := value.(json.Number) @@ -56372,7 +55446,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } sv.MinMemoryRequiredInMb = ptr.Int32(int32(i64)) } - case "NumberOfAcceleratorDevicesRequired": if value != nil { switch jtv := value.(type) { @@ -56406,7 +55479,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } } - case "NumberOfCpuCoresRequired": if value != nil { switch jtv := value.(type) { @@ -56440,7 +55512,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } } - default: _, _ = key, value @@ -56480,17 +55551,14 @@ func awsAwsjson11_deserializeDocumentInferenceComponentContainerSpecificationSum } sv.ArtifactUrl = ptr.String(jtv) } - case "DeployedImage": if err := awsAwsjson11_deserializeDocumentDeployedImage(&sv.DeployedImage, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -56534,7 +55602,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(v ** } sv.CurrentCopyCount = ptr.Int32(int32(i64)) } - case "DesiredCopyCount": if value != nil { jtv, ok := value.(json.Number) @@ -56547,7 +55614,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(v ** } sv.DesiredCopyCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -56583,12 +55649,10 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(v ** if err := awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequirements(&sv.ComputeResourceRequirements, value); err != nil { return err } - case "Container": if err := awsAwsjson11_deserializeDocumentInferenceComponentContainerSpecificationSummary(&sv.Container, value); err != nil { return err } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -56597,12 +55661,10 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(v ** } sv.ModelName = ptr.String(jtv) } - case "StartupParameters": if err := awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(&sv.StartupParameters, value); err != nil { return err } - default: _, _ = key, value @@ -56646,7 +55708,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(v **typ } sv.ContainerStartupHealthCheckTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "ModelDataDownloadTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -56659,7 +55720,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(v **typ } sv.ModelDataDownloadTimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -56706,7 +55766,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -56715,7 +55774,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.EndpointArn = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -56724,7 +55782,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.EndpointName = ptr.String(jtv) } - case "InferenceComponentArn": if value != nil { jtv, ok := value.(string) @@ -56733,7 +55790,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentArn = ptr.String(jtv) } - case "InferenceComponentName": if value != nil { jtv, ok := value.(string) @@ -56742,7 +55798,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentName = ptr.String(jtv) } - case "InferenceComponentStatus": if value != nil { jtv, ok := value.(string) @@ -56751,7 +55806,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentStatus = types.InferenceComponentStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56767,7 +55821,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -56776,7 +55829,6 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.VariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -56850,7 +55902,6 @@ func awsAwsjson11_deserializeDocumentInferenceExecutionConfig(v **types.Inferenc } sv.Mode = types.InferenceExecutionMode(jtv) } - default: _, _ = key, value @@ -56886,7 +55937,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty if err := awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(&sv.ContentType, value); err != nil { return err } - case "Destination": if value != nil { jtv, ok := value.(string) @@ -56895,7 +55945,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty } sv.Destination = ptr.String(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -56904,7 +55953,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -56985,7 +56033,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(v **types.Infer } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -57001,7 +56048,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(v **types.Infer } } - default: _, _ = key, value @@ -57048,7 +56094,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -57064,7 +56109,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -57073,7 +56117,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Description = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -57089,7 +56132,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -57098,7 +56140,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -57107,12 +56148,10 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.RoleArn = ptr.String(jtv) } - case "Schedule": if err := awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(&sv.Schedule, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -57121,7 +56160,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Status = types.InferenceExperimentStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -57130,7 +56168,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.StatusReason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -57139,7 +56176,6 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Type = types.InferenceExperimentType(jtv) } - default: _, _ = key, value @@ -57179,7 +56215,6 @@ func awsAwsjson11_deserializeDocumentInferenceHubAccessConfig(v **types.Inferenc } sv.HubContentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57223,7 +56258,6 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics } sv.MaxInvocations = ptr.Int32(int32(i64)) } - case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -57236,7 +56270,6 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics } sv.ModelLatency = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -57272,7 +56305,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference if err := awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "InvocationEndTime": if value != nil { switch jtv := value.(type) { @@ -57288,7 +56320,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } } - case "InvocationStartTime": if value != nil { switch jtv := value.(type) { @@ -57304,17 +56335,14 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } } - case "Metrics": if err := awsAwsjson11_deserializeDocumentRecommendationMetrics(&sv.Metrics, value); err != nil { return err } - case "ModelConfiguration": if err := awsAwsjson11_deserializeDocumentModelConfiguration(&sv.ModelConfiguration, value); err != nil { return err } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -57323,7 +56351,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -57404,7 +56431,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -57420,7 +56446,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -57429,7 +56454,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.FailureReason = ptr.String(jtv) } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -57438,7 +56462,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobArn = ptr.String(jtv) } - case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -57447,7 +56470,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobDescription = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -57456,7 +56478,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobName = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -57465,7 +56486,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobType = types.RecommendationJobType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -57481,7 +56501,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -57490,7 +56509,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.ModelName = ptr.String(jtv) } - case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -57499,7 +56517,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.ModelPackageVersionArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -57508,7 +56525,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.RoleArn = ptr.String(jtv) } - case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -57517,7 +56533,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.SamplePayloadUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -57526,7 +56541,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.Status = types.RecommendationJobStatus(jtv) } - default: _, _ = key, value @@ -57596,7 +56610,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I if err := awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(&sv.InferenceBenchmark, value); err != nil { return err } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -57605,7 +56618,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.JobName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -57614,7 +56626,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.Status = types.RecommendationJobStatus(jtv) } - case "StepType": if value != nil { jtv, ok := value.(string) @@ -57623,7 +56634,6 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.StepType = types.RecommendationStepType(jtv) } - default: _, _ = key, value @@ -57693,27 +56703,22 @@ func awsAwsjson11_deserializeDocumentInferenceSpecification(v **types.InferenceS if err := awsAwsjson11_deserializeDocumentModelPackageContainerDefinitionList(&sv.Containers, value); err != nil { return err } - case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } - case "SupportedRealtimeInferenceInstanceTypes": if err := awsAwsjson11_deserializeDocumentRealtimeInferenceInstanceTypes(&sv.SupportedRealtimeInferenceInstanceTypes, value); err != nil { return err } - case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } - case "SupportedTransformInstanceTypes": if err := awsAwsjson11_deserializeDocumentTransformInstanceTypes(&sv.SupportedTransformInstanceTypes, value); err != nil { return err } - default: _, _ = key, value @@ -57753,7 +56758,6 @@ func awsAwsjson11_deserializeDocumentInfraCheckConfig(v **types.InfraCheckConfig } sv.EnableInfraCheck = ptr.Bool(jtv) } - default: _, _ = key, value @@ -57793,7 +56797,6 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.DataInputConfig = ptr.String(jtv) } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -57802,7 +56805,6 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.Framework = types.Framework(jtv) } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -57811,7 +56813,6 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.FrameworkVersion = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -57820,7 +56821,6 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -57934,7 +56934,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceGroupName": if value != nil { jtv, ok := value.(string) @@ -57943,7 +56942,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceGroupName = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -57952,7 +56950,6 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceType = types.TrainingInstanceType(jtv) } - default: _, _ = key, value @@ -58062,7 +57059,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(v **ty } sv.MinimumInstanceMetadataServiceVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -58102,7 +57098,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -58111,7 +57106,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MinValue = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58120,7 +57114,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.Name = ptr.String(jtv) } - case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -58129,7 +57122,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.ScalingType = types.HyperParameterScalingType(jtv) } - default: _, _ = key, value @@ -58203,7 +57195,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(v **type } sv.MaxValue = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -58212,7 +57203,6 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(v **type } sv.MinValue = ptr.String(jtv) } - default: _, _ = key, value @@ -58284,12 +57274,10 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(v **types.JupyterL if err := awsAwsjson11_deserializeDocumentContainerConfig(&sv.ContainerConfig, value); err != nil { return err } - case "FileSystemConfig": if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } - default: _, _ = key, value @@ -58325,7 +57313,6 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppSettings(v **types.JupyterLabA if err := awsAwsjson11_deserializeDocumentAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } - case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -58334,32 +57321,26 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppSettings(v **types.JupyterLabA } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } - case "CodeRepositories": if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } - case "CustomImages": if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - case "EmrSettings": if err := awsAwsjson11_deserializeDocumentEmrSettings(&sv.EmrSettings, value); err != nil { return err } - case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } - default: _, _ = key, value @@ -58395,17 +57376,14 @@ func awsAwsjson11_deserializeDocumentJupyterServerAppSettings(v **types.JupyterS if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } - default: _, _ = key, value @@ -58445,7 +57423,6 @@ func awsAwsjson11_deserializeDocumentKendraSettings(v **types.KendraSettings, va } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -58481,17 +57458,14 @@ func awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(v **types.KernelGa if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } - default: _, _ = key, value @@ -58527,12 +57501,10 @@ func awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(v **types.KernelGa if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } - case "KernelSpecs": if err := awsAwsjson11_deserializeDocumentKernelSpecs(&sv.KernelSpecs, value); err != nil { return err } - default: _, _ = key, value @@ -58572,7 +57544,6 @@ func awsAwsjson11_deserializeDocumentKernelSpec(v **types.KernelSpec, value inte } sv.DisplayName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58581,7 +57552,6 @@ func awsAwsjson11_deserializeDocumentKernelSpec(v **types.KernelSpec, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -58659,7 +57629,6 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.FailedNonRetryableError = ptr.Int32(int32(i64)) } - case "HumanLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -58672,7 +57641,6 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.HumanLabeled = ptr.Int32(int32(i64)) } - case "MachineLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -58685,7 +57653,6 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.MachineLabeled = ptr.Int32(int32(i64)) } - case "TotalLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -58698,7 +57665,6 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.TotalLabeled = ptr.Int32(int32(i64)) } - case "Unlabeled": if value != nil { jtv, ok := value.(json.Number) @@ -58711,7 +57677,6 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.Unlabeled = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58755,7 +57720,6 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.HumanLabeled = ptr.Int32(int32(i64)) } - case "PendingHuman": if value != nil { jtv, ok := value.(json.Number) @@ -58768,7 +57732,6 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.PendingHuman = ptr.Int32(int32(i64)) } - case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -58781,7 +57744,6 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.Total = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58821,7 +57783,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(v **types.Label } sv.InitialActiveLearningModelArn = ptr.String(jtv) } - case "LabelingJobAlgorithmSpecificationArn": if value != nil { jtv, ok := value.(string) @@ -58830,12 +57791,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(v **types.Label } sv.LabelingJobAlgorithmSpecificationArn = ptr.String(jtv) } - case "LabelingJobResourceConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobResourceConfig(&sv.LabelingJobResourceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -58871,7 +57830,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobDataAttributes(v **types.Labelin if err := awsAwsjson11_deserializeDocumentContentClassifiers(&sv.ContentClassifiers, value); err != nil { return err } - default: _, _ = key, value @@ -58907,12 +57865,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobDataSource(v **types.LabelingJob if err := awsAwsjson11_deserializeDocumentLabelingJobS3DataSource(&sv.S3DataSource, value); err != nil { return err } - case "SnsDataSource": if err := awsAwsjson11_deserializeDocumentLabelingJobSnsDataSource(&sv.SnsDataSource, value); err != nil { return err } - default: _, _ = key, value @@ -58959,7 +57915,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } } - case "JobReferenceCode": if value != nil { jtv, ok := value.(string) @@ -58968,12 +57923,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.JobReferenceCode = ptr.String(jtv) } - case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(&sv.LabelCounters, value); err != nil { return err } - case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -58982,7 +57935,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.LabelingJobName = ptr.String(jtv) } - case "NumberOfHumanWorkersPerDataObject": if value != nil { jtv, ok := value.(json.Number) @@ -58995,7 +57947,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.NumberOfHumanWorkersPerDataObject = ptr.Int32(int32(i64)) } - case "WorkRequesterAccountId": if value != nil { jtv, ok := value.(string) @@ -59004,7 +57955,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.WorkRequesterAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -59074,12 +58024,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobInputConfig(v **types.LabelingJo if err := awsAwsjson11_deserializeDocumentLabelingJobDataAttributes(&sv.DataAttributes, value); err != nil { return err } - case "DataSource": if err := awsAwsjson11_deserializeDocumentLabelingJobDataSource(&sv.DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -59119,7 +58067,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutput(v **types.LabelingJobOutp } sv.FinalActiveLearningModelArn = ptr.String(jtv) } - case "OutputDatasetS3Uri": if value != nil { jtv, ok := value.(string) @@ -59128,7 +58075,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutput(v **types.LabelingJobOutp } sv.OutputDatasetS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -59168,7 +58114,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -59177,7 +58122,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.S3OutputPath = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -59186,7 +58130,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -59226,12 +58169,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobResourceConfig(v **types.Labelin } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -59271,7 +58212,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobS3DataSource(v **types.LabelingJ } sv.ManifestS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -59311,7 +58251,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSnsDataSource(v **types.Labeling } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -59355,7 +58294,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(v **types.Lab } sv.MaxHumanLabeledObjectCount = ptr.Int32(int32(i64)) } - case "MaxPercentageOfInputDatasetLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -59368,7 +58306,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(v **types.Lab } sv.MaxPercentageOfInputDatasetLabeled = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -59408,7 +58345,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.AnnotationConsolidationLambdaArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -59424,7 +58360,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -59433,17 +58368,14 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.FailureReason = ptr.String(jtv) } - case "InputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCounters(&sv.LabelCounters, value); err != nil { return err } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -59452,7 +58384,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobArn = ptr.String(jtv) } - case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -59461,12 +58392,10 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobName = ptr.String(jtv) } - case "LabelingJobOutput": if err := awsAwsjson11_deserializeDocumentLabelingJobOutput(&sv.LabelingJobOutput, value); err != nil { return err } - case "LabelingJobStatus": if value != nil { jtv, ok := value.(string) @@ -59475,7 +58404,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobStatus = types.LabelingJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -59491,7 +58419,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } } - case "PreHumanTaskLambdaArn": if value != nil { jtv, ok := value.(string) @@ -59500,7 +58427,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.PreHumanTaskLambdaArn = ptr.String(jtv) } - case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -59509,7 +58435,6 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.WorkteamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -59583,12 +58508,10 @@ func awsAwsjson11_deserializeDocumentLambdaStepMetadata(v **types.LambdaStepMeta } sv.Arn = ptr.String(jtv) } - case "OutputParameters": if err := awsAwsjson11_deserializeDocumentOutputParameterList(&sv.OutputParameters, value); err != nil { return err } - default: _, _ = key, value @@ -59628,7 +58551,6 @@ func awsAwsjson11_deserializeDocumentLastUpdateStatus(v **types.LastUpdateStatus } sv.FailureReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -59637,7 +58559,6 @@ func awsAwsjson11_deserializeDocumentLastUpdateStatus(v **types.LastUpdateStatus } sv.Status = types.LastUpdateStatusValue(jtv) } - default: _, _ = key, value @@ -59790,7 +58711,6 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -59799,7 +58719,6 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.DisplayName = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -59815,7 +58734,6 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -59824,7 +58742,6 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.LineageGroupArn = ptr.String(jtv) } - case "LineageGroupName": if value != nil { jtv, ok := value.(string) @@ -59833,7 +58750,6 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.LineageGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -59869,12 +58785,10 @@ func awsAwsjson11_deserializeDocumentMemberDefinition(v **types.MemberDefinition if err := awsAwsjson11_deserializeDocumentCognitoMemberDefinition(&sv.CognitoMemberDefinition, value); err != nil { return err } - case "OidcMemberDefinition": if err := awsAwsjson11_deserializeDocumentOidcMemberDefinition(&sv.OidcMemberDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -59948,7 +58862,6 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.CommitId = ptr.String(jtv) } - case "GeneratedBy": if value != nil { jtv, ok := value.(string) @@ -59957,7 +58870,6 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.GeneratedBy = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -59966,7 +58878,6 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.ProjectId = ptr.String(jtv) } - case "Repository": if value != nil { jtv, ok := value.(string) @@ -59975,7 +58886,6 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.Repository = ptr.String(jtv) } - default: _, _ = key, value @@ -60015,7 +58925,6 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } sv.MetricName = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -60031,7 +58940,6 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } } - case "Value": if value != nil { switch jtv := value.(type) { @@ -60065,7 +58973,6 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } } - default: _, _ = key, value @@ -60139,7 +59046,6 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.MetricName = types.AutoMLMetricEnum(jtv) } - case "Set": if value != nil { jtv, ok := value.(string) @@ -60148,7 +59054,6 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.Set = types.MetricSetSource(jtv) } - case "StandardMetricName": if value != nil { jtv, ok := value.(string) @@ -60157,7 +59062,6 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.StandardMetricName = types.AutoMLMetricExtendedEnum(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -60191,7 +59095,6 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } } - default: _, _ = key, value @@ -60231,7 +59134,6 @@ func awsAwsjson11_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } - case "Regex": if value != nil { jtv, ok := value.(string) @@ -60240,7 +59142,6 @@ func awsAwsjson11_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Regex = ptr.String(jtv) } - default: _, _ = key, value @@ -60364,7 +59265,6 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.ContentDigest = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -60373,7 +59273,6 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.ContentType = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -60382,7 +59281,6 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -60418,7 +59316,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.Containers, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -60434,12 +59331,10 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } } - case "DeploymentRecommendation": if err := awsAwsjson11_deserializeDocumentDeploymentRecommendation(&sv.DeploymentRecommendation, value); err != nil { return err } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -60448,7 +59343,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -60457,12 +59351,10 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ExecutionRoleArn = ptr.String(jtv) } - case "InferenceExecutionConfig": if err := awsAwsjson11_deserializeDocumentInferenceExecutionConfig(&sv.InferenceExecutionConfig, value); err != nil { return err } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -60471,7 +59363,6 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -60480,22 +59371,18 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelName = ptr.String(jtv) } - case "PrimaryContainer": if err := awsAwsjson11_deserializeDocumentContainerDefinition(&sv.PrimaryContainer, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -60535,7 +59422,6 @@ func awsAwsjson11_deserializeDocumentModelAccessConfig(v **types.ModelAccessConf } sv.AcceptEula = ptr.Bool(jtv) } - default: _, _ = key, value @@ -60575,7 +59461,6 @@ func awsAwsjson11_deserializeDocumentModelArtifacts(v **types.ModelArtifacts, va } sv.S3ModelArtifacts = ptr.String(jtv) } - default: _, _ = key, value @@ -60615,12 +59500,10 @@ func awsAwsjson11_deserializeDocumentModelBiasAppSpecification(v **types.ModelBi } sv.ConfigUri = ptr.String(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -60629,7 +59512,6 @@ func awsAwsjson11_deserializeDocumentModelBiasAppSpecification(v **types.ModelBi } sv.ImageUri = ptr.String(jtv) } - default: _, _ = key, value @@ -60669,12 +59551,10 @@ func awsAwsjson11_deserializeDocumentModelBiasBaselineConfig(v **types.ModelBias } sv.BaseliningJobName = ptr.String(jtv) } - case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } - default: _, _ = key, value @@ -60710,17 +59590,14 @@ func awsAwsjson11_deserializeDocumentModelBiasJobInput(v **types.ModelBiasJobInp if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } - case "GroundTruthS3Input": if err := awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(&sv.GroundTruthS3Input, value); err != nil { return err } - default: _, _ = key, value @@ -60760,12 +59637,10 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.Content = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -60781,12 +59656,10 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60802,7 +59675,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } } - case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -60811,7 +59683,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardArn = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -60820,7 +59691,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -60829,7 +59699,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -60842,7 +59711,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - case "ModelId": if value != nil { jtv, ok := value.(string) @@ -60851,7 +59719,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelId = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -60860,7 +59727,6 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelPackageGroupName = ptr.String(jtv) } - case "RiskRating": if value != nil { jtv, ok := value.(string) @@ -60869,17 +59735,14 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.RiskRating = ptr.String(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -60919,7 +59782,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportArtifacts(v **types.ModelCar } sv.S3ExportArtifacts = ptr.String(jtv) } - default: _, _ = key, value @@ -60966,7 +59828,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } } - case "LastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -60982,7 +59843,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } } - case "ModelCardExportJobArn": if value != nil { jtv, ok := value.(string) @@ -60991,7 +59851,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardExportJobArn = ptr.String(jtv) } - case "ModelCardExportJobName": if value != nil { jtv, ok := value.(string) @@ -61000,7 +59859,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardExportJobName = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -61009,7 +59867,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -61022,7 +59879,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -61031,7 +59887,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.Status = types.ModelCardExportJobStatus(jtv) } - default: _, _ = key, value @@ -61105,7 +59960,6 @@ func awsAwsjson11_deserializeDocumentModelCardExportOutputConfig(v **types.Model } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -61145,7 +59999,6 @@ func awsAwsjson11_deserializeDocumentModelCardSecurityConfig(v **types.ModelCard } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -61192,7 +60045,6 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -61208,7 +60060,6 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } } - case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -61217,7 +60068,6 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardArn = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -61226,7 +60076,6 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -61235,7 +60084,6 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - default: _, _ = key, value @@ -61316,7 +60164,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -61332,7 +60179,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } } - case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -61341,7 +60187,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardArn = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -61350,7 +60195,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -61359,7 +60203,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -61372,7 +60215,6 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -61450,7 +60292,6 @@ func awsAwsjson11_deserializeDocumentModelClientConfig(v **types.ModelClientConf } sv.InvocationsMaxRetries = ptr.Int32(int32(i64)) } - case "InvocationsTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -61463,7 +60304,6 @@ func awsAwsjson11_deserializeDocumentModelClientConfig(v **types.ModelClientConf } sv.InvocationsTimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -61503,12 +60343,10 @@ func awsAwsjson11_deserializeDocumentModelCompilationConfig(v **types.ModelCompi } sv.Image = ptr.String(jtv) } - case "OverrideEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OverrideEnvironment, value); err != nil { return err } - default: _, _ = key, value @@ -61548,12 +60386,10 @@ func awsAwsjson11_deserializeDocumentModelConfiguration(v **types.ModelConfigura } sv.CompilationJobName = ptr.String(jtv) } - case "EnvironmentParameters": if err := awsAwsjson11_deserializeDocumentEnvironmentParameters(&sv.EnvironmentParameters, value); err != nil { return err } - case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -61562,7 +60398,6 @@ func awsAwsjson11_deserializeDocumentModelConfiguration(v **types.ModelConfigura } sv.InferenceSpecificationName = ptr.String(jtv) } - default: _, _ = key, value @@ -61609,7 +60444,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -61618,7 +60452,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointArn = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -61627,7 +60460,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointName = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -61636,7 +60468,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointStatus = types.EndpointStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -61652,7 +60483,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } } - default: _, _ = key, value @@ -61726,7 +60556,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardIndicatorAction(v **types.Mod } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -61762,27 +60591,22 @@ func awsAwsjson11_deserializeDocumentModelDashboardModel(v **types.ModelDashboar if err := awsAwsjson11_deserializeDocumentModelDashboardEndpoints(&sv.Endpoints, value); err != nil { return err } - case "LastBatchTransformJob": if err := awsAwsjson11_deserializeDocumentTransformJob(&sv.LastBatchTransformJob, value); err != nil { return err } - case "Model": if err := awsAwsjson11_deserializeDocumentModel(&sv.Model, value); err != nil { return err } - case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelDashboardModelCard(&sv.ModelCard, value); err != nil { return err } - case "MonitoringSchedules": if err := awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedules(&sv.MonitoringSchedules, value); err != nil { return err } - default: _, _ = key, value @@ -61818,7 +60642,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -61834,12 +60657,10 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -61855,7 +60676,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } } - case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -61864,7 +60684,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardArn = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -61873,7 +60692,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -61882,7 +60700,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -61895,7 +60712,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - case "ModelId": if value != nil { jtv, ok := value.(string) @@ -61904,7 +60720,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelId = ptr.String(jtv) } - case "RiskRating": if value != nil { jtv, ok := value.(string) @@ -61913,17 +60728,14 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.RiskRating = ptr.String(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -61959,7 +60771,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -61975,7 +60786,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -61984,7 +60794,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.EndpointName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -61993,7 +60802,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -62009,17 +60817,14 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } } - case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } - case "MonitoringAlertSummaries": if err := awsAwsjson11_deserializeDocumentMonitoringAlertSummaryList(&sv.MonitoringAlertSummaries, value); err != nil { return err } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -62028,12 +60833,10 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -62042,7 +60845,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleName = ptr.String(jtv) } - case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -62051,7 +60853,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -62060,7 +60861,6 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringType = types.MonitoringType(jtv) } - default: _, _ = key, value @@ -62130,12 +60930,10 @@ func awsAwsjson11_deserializeDocumentModelDataQuality(v **types.ModelDataQuality if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } - case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -62171,7 +60969,6 @@ func awsAwsjson11_deserializeDocumentModelDataSource(v **types.ModelDataSource, if err := awsAwsjson11_deserializeDocumentS3ModelDataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -62211,7 +61008,6 @@ func awsAwsjson11_deserializeDocumentModelDeployConfig(v **types.ModelDeployConf } sv.AutoGenerateEndpointName = ptr.Bool(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -62220,7 +61016,6 @@ func awsAwsjson11_deserializeDocumentModelDeployConfig(v **types.ModelDeployConf } sv.EndpointName = ptr.String(jtv) } - default: _, _ = key, value @@ -62260,7 +61055,6 @@ func awsAwsjson11_deserializeDocumentModelDeployResult(v **types.ModelDeployResu } sv.EndpointName = ptr.String(jtv) } - default: _, _ = key, value @@ -62300,7 +61094,6 @@ func awsAwsjson11_deserializeDocumentModelDigests(v **types.ModelDigests, value } sv.ArtifactDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -62340,12 +61133,10 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(v **typ } sv.ConfigUri = ptr.String(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -62354,7 +61145,6 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(v **typ } sv.ImageUri = ptr.String(jtv) } - default: _, _ = key, value @@ -62394,12 +61184,10 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityBaselineConfig(v **types } sv.BaseliningJobName = ptr.String(jtv) } - case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } - default: _, _ = key, value @@ -62435,12 +61223,10 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityJobInput(v **types.Model if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } - default: _, _ = key, value @@ -62480,12 +61266,10 @@ func awsAwsjson11_deserializeDocumentModelInfrastructureConfig(v **types.ModelIn } sv.InfrastructureType = types.ModelInfrastructureType(jtv) } - case "RealTimeInferenceConfig": if err := awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(&sv.RealTimeInferenceConfig, value); err != nil { return err } - default: _, _ = key, value @@ -62525,7 +61309,6 @@ func awsAwsjson11_deserializeDocumentModelInput(v **types.ModelInput, value inte } sv.DataInputConfig = ptr.String(jtv) } - default: _, _ = key, value @@ -62565,7 +61348,6 @@ func awsAwsjson11_deserializeDocumentModelLatencyThreshold(v **types.ModelLatenc } sv.Percentile = ptr.String(jtv) } - case "ValueInMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -62578,7 +61360,6 @@ func awsAwsjson11_deserializeDocumentModelLatencyThreshold(v **types.ModelLatenc } sv.ValueInMilliseconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -62652,7 +61433,6 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.Stage = ptr.String(jtv) } - case "StageDescription": if value != nil { jtv, ok := value.(string) @@ -62661,7 +61441,6 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.StageDescription = ptr.String(jtv) } - case "StageStatus": if value != nil { jtv, ok := value.(string) @@ -62670,7 +61449,6 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.StageStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -62744,7 +61522,6 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Domain = ptr.String(jtv) } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -62753,7 +61530,6 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Framework = ptr.String(jtv) } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -62762,7 +61538,6 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.FrameworkVersion = ptr.String(jtv) } - case "Model": if value != nil { jtv, ok := value.(string) @@ -62771,7 +61546,6 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Model = ptr.String(jtv) } - case "Task": if value != nil { jtv, ok := value.(string) @@ -62780,7 +61554,6 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Task = ptr.String(jtv) } - default: _, _ = key, value @@ -62816,22 +61589,18 @@ func awsAwsjson11_deserializeDocumentModelMetrics(v **types.ModelMetrics, value if err := awsAwsjson11_deserializeDocumentBias(&sv.Bias, value); err != nil { return err } - case "Explainability": if err := awsAwsjson11_deserializeDocumentExplainability(&sv.Explainability, value); err != nil { return err } - case "ModelDataQuality": if err := awsAwsjson11_deserializeDocumentModelDataQuality(&sv.ModelDataQuality, value); err != nil { return err } - case "ModelQuality": if err := awsAwsjson11_deserializeDocumentModelQuality(&sv.ModelQuality, value); err != nil { return err } - default: _, _ = key, value @@ -62867,7 +61636,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value if err := awsAwsjson11_deserializeDocumentAdditionalInferenceSpecifications(&sv.AdditionalInferenceSpecifications, value); err != nil { return err } - case "ApprovalDescription": if value != nil { jtv, ok := value.(string) @@ -62876,7 +61644,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ApprovalDescription = ptr.String(jtv) } - case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -62885,12 +61652,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.CertifyForMarketplace = ptr.Bool(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -62906,12 +61671,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } } - case "CustomerMetadataProperties": if err := awsAwsjson11_deserializeDocumentCustomerMetadataMap(&sv.CustomerMetadataProperties, value); err != nil { return err } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -62920,22 +61683,18 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.Domain = ptr.String(jtv) } - case "DriftCheckBaselines": if err := awsAwsjson11_deserializeDocumentDriftCheckBaselines(&sv.DriftCheckBaselines, value); err != nil { return err } - case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -62951,12 +61710,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -62965,22 +61722,18 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } - case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelPackageModelCard(&sv.ModelCard, value); err != nil { return err } - case "ModelLifeCycle": if err := awsAwsjson11_deserializeDocumentModelLifeCycle(&sv.ModelLifeCycle, value); err != nil { return err } - case "ModelMetrics": if err := awsAwsjson11_deserializeDocumentModelMetrics(&sv.ModelMetrics, value); err != nil { return err } - case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -62989,7 +61742,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageArn = ptr.String(jtv) } - case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -62998,7 +61750,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -63007,7 +61758,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -63016,7 +61766,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageName = ptr.String(jtv) } - case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -63025,12 +61774,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } - case "ModelPackageStatusDetails": if err := awsAwsjson11_deserializeDocumentModelPackageStatusDetails(&sv.ModelPackageStatusDetails, value); err != nil { return err } - case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -63043,7 +61790,6 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } - case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -63052,12 +61798,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SamplePayloadUrl = ptr.String(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - case "SkipModelValidation": if value != nil { jtv, ok := value.(string) @@ -63066,12 +61810,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SkipModelValidation = types.SkipModelValidation(jtv) } - case "SourceAlgorithmSpecification": if err := awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(&sv.SourceAlgorithmSpecification, value); err != nil { return err } - case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -63080,12 +61822,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SourceUri = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Task": if value != nil { jtv, ok := value.(string) @@ -63094,12 +61834,10 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.Task = ptr.String(jtv) } - case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -63135,7 +61873,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M if err := awsAwsjson11_deserializeDocumentAdditionalS3DataSource(&sv.AdditionalS3DataSource, value); err != nil { return err } - case "ContainerHostname": if value != nil { jtv, ok := value.(string) @@ -63144,12 +61881,10 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ContainerHostname = ptr.String(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -63158,7 +61893,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.Framework = ptr.String(jtv) } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -63167,7 +61901,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.FrameworkVersion = ptr.String(jtv) } - case "Image": if value != nil { jtv, ok := value.(string) @@ -63176,7 +61909,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.Image = ptr.String(jtv) } - case "ImageDigest": if value != nil { jtv, ok := value.(string) @@ -63185,12 +61917,10 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ImageDigest = ptr.String(jtv) } - case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } - case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -63199,12 +61929,10 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ModelDataUrl = ptr.String(jtv) } - case "ModelInput": if err := awsAwsjson11_deserializeDocumentModelInput(&sv.ModelInput, value); err != nil { return err } - case "NearestModelName": if value != nil { jtv, ok := value.(string) @@ -63213,7 +61941,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.NearestModelName = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -63222,7 +61949,6 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ProductId = ptr.String(jtv) } - default: _, _ = key, value @@ -63292,7 +62018,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -63308,7 +62033,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } } - case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -63317,7 +62041,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupArn = ptr.String(jtv) } - case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -63326,7 +62049,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -63335,7 +62057,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -63344,12 +62065,10 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -63396,7 +62115,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } } - case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -63405,7 +62123,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupArn = ptr.String(jtv) } - case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -63414,7 +62131,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -63423,7 +62139,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -63432,7 +62147,6 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } - default: _, _ = key, value @@ -63506,7 +62220,6 @@ func awsAwsjson11_deserializeDocumentModelPackageModelCard(v **types.ModelPackag } sv.ModelCardContent = ptr.String(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -63515,7 +62228,6 @@ func awsAwsjson11_deserializeDocumentModelPackageModelCard(v **types.ModelPackag } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - default: _, _ = key, value @@ -63555,7 +62267,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(v **types.ModelP } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -63591,12 +62302,10 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusDetails(v **types.ModelPa if err := awsAwsjson11_deserializeDocumentModelPackageStatusItemList(&sv.ImageScanStatuses, value); err != nil { return err } - case "ValidationStatuses": if err := awsAwsjson11_deserializeDocumentModelPackageStatusItemList(&sv.ValidationStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -63636,7 +62345,6 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.FailureReason = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -63645,7 +62353,6 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -63654,7 +62361,6 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.Status = types.DetailedModelPackageStatus(jtv) } - default: _, _ = key, value @@ -63770,7 +62476,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } } - case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -63779,7 +62484,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } - case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -63788,7 +62492,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageArn = ptr.String(jtv) } - case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -63797,7 +62500,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -63806,7 +62508,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -63815,7 +62516,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageName = ptr.String(jtv) } - case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -63824,7 +62524,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } - case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -63837,7 +62536,6 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -63911,12 +62609,10 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationProfile(v **types.Mod } sv.ProfileName = ptr.String(jtv) } - case "TransformJobDefinition": if err := awsAwsjson11_deserializeDocumentTransformJobDefinition(&sv.TransformJobDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -63986,7 +62682,6 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(v **typ if err := awsAwsjson11_deserializeDocumentModelPackageValidationProfiles(&sv.ValidationProfiles, value); err != nil { return err } - case "ValidationRole": if value != nil { jtv, ok := value.(string) @@ -63995,7 +62690,6 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(v **typ } sv.ValidationRole = ptr.String(jtv) } - default: _, _ = key, value @@ -64031,12 +62725,10 @@ func awsAwsjson11_deserializeDocumentModelQuality(v **types.ModelQuality, value if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } - case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -64072,17 +62764,14 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -64091,7 +62780,6 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.ImageUri = ptr.String(jtv) } - case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -64100,7 +62788,6 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } - case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -64109,7 +62796,6 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.ProblemType = types.MonitoringProblemType(jtv) } - case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -64118,7 +62804,6 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -64158,12 +62843,10 @@ func awsAwsjson11_deserializeDocumentModelQualityBaselineConfig(v **types.ModelQ } sv.BaseliningJobName = ptr.String(jtv) } - case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } - default: _, _ = key, value @@ -64199,17 +62882,14 @@ func awsAwsjson11_deserializeDocumentModelQualityJobInput(v **types.ModelQuality if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } - case "GroundTruthS3Input": if err := awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(&sv.GroundTruthS3Input, value); err != nil { return err } - default: _, _ = key, value @@ -64249,12 +62929,10 @@ func awsAwsjson11_deserializeDocumentModelQuantizationConfig(v **types.ModelQuan } sv.Image = ptr.String(jtv) } - case "OverrideEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OverrideEnvironment, value); err != nil { return err } - default: _, _ = key, value @@ -64294,7 +62972,6 @@ func awsAwsjson11_deserializeDocumentModelRegisterSettings(v **types.ModelRegist } sv.CrossAccountModelRegisterRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -64303,7 +62980,6 @@ func awsAwsjson11_deserializeDocumentModelRegisterSettings(v **types.ModelRegist } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -64343,7 +63019,6 @@ func awsAwsjson11_deserializeDocumentModelStepMetadata(v **types.ModelStepMetada } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -64390,7 +63065,6 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -64399,7 +63073,6 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -64408,7 +63081,6 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -64478,7 +63150,6 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa if err := awsAwsjson11_deserializeDocumentModelInfrastructureConfig(&sv.InfrastructureConfig, value); err != nil { return err } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -64487,7 +63158,6 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.ModelName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -64496,7 +63166,6 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.Status = types.ModelVariantStatus(jtv) } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -64505,7 +63174,6 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.VariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -64575,7 +63243,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertActions(v **types.Monitoring if err := awsAwsjson11_deserializeDocumentModelDashboardIndicatorAction(&sv.ModelDashboardIndicator, value); err != nil { return err } - default: _, _ = key, value @@ -64649,7 +63316,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.AlertStatus = types.MonitoringAlertStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -64665,7 +63331,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } } - case "MonitoringAlertName": if value != nil { jtv, ok := value.(string) @@ -64674,7 +63339,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.MonitoringAlertName = ptr.String(jtv) } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -64683,7 +63347,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.MonitoringScheduleName = ptr.String(jtv) } - default: _, _ = key, value @@ -64719,7 +63382,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring if err := awsAwsjson11_deserializeDocumentMonitoringAlertActions(&sv.Actions, value); err != nil { return err } - case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -64728,7 +63390,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.AlertStatus = types.MonitoringAlertStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -64744,7 +63405,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } } - case "DatapointsToAlert": if value != nil { jtv, ok := value.(json.Number) @@ -64757,7 +63417,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.DatapointsToAlert = ptr.Int32(int32(i64)) } - case "EvaluationPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -64770,7 +63429,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.EvaluationPeriod = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -64786,7 +63444,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } } - case "MonitoringAlertName": if value != nil { jtv, ok := value.(string) @@ -64795,7 +63452,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.MonitoringAlertName = ptr.String(jtv) } - default: _, _ = key, value @@ -64865,12 +63521,10 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } - case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } - case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -64879,7 +63533,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.ImageUri = ptr.String(jtv) } - case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -64888,7 +63541,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } - case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -64897,7 +63549,6 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -64937,17 +63588,14 @@ func awsAwsjson11_deserializeDocumentMonitoringBaselineConfig(v **types.Monitori } sv.BaseliningJobName = ptr.String(jtv) } - case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } - case "StatisticsResource": if err := awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(&sv.StatisticsResource, value); err != nil { return err } - default: _, _ = key, value @@ -64991,7 +63639,6 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -65000,7 +63647,6 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.InstanceType = types.ProcessingInstanceType(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -65009,7 +63655,6 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -65022,7 +63667,6 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -65062,7 +63706,6 @@ func awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(v **types.Mon } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -65138,7 +63781,6 @@ func awsAwsjson11_deserializeDocumentMonitoringCsvDatasetFormat(v **types.Monito } sv.Header = ptr.Bool(jtv) } - default: _, _ = key, value @@ -65174,17 +63816,14 @@ func awsAwsjson11_deserializeDocumentMonitoringDatasetFormat(v **types.Monitorin if err := awsAwsjson11_deserializeDocumentMonitoringCsvDatasetFormat(&sv.Csv, value); err != nil { return err } - case "Json": if err := awsAwsjson11_deserializeDocumentMonitoringJsonDatasetFormat(&sv.Json, value); err != nil { return err } - case "Parquet": if err := awsAwsjson11_deserializeDocumentMonitoringParquetDatasetFormat(&sv.Parquet, value); err != nil { return err } - default: _, _ = key, value @@ -65267,7 +63906,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -65276,7 +63914,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.EndpointName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -65285,7 +63922,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -65301,7 +63937,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } - case "MonitoringExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -65310,7 +63945,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringExecutionStatus = types.ExecutionStatus(jtv) } - case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -65319,7 +63953,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringJobDefinitionName = ptr.String(jtv) } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -65328,7 +63961,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringScheduleName = ptr.String(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -65337,7 +63969,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringType = types.MonitoringType(jtv) } - case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -65346,7 +63977,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.ProcessingJobArn = ptr.String(jtv) } - case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -65362,7 +63992,6 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } - default: _, _ = key, value @@ -65436,7 +64065,6 @@ func awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(v **types.Moni } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -65472,12 +64100,10 @@ func awsAwsjson11_deserializeDocumentMonitoringInput(v **types.MonitoringInput, if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } - case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } - default: _, _ = key, value @@ -65547,37 +64173,30 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinition(v **types.Monitorin if err := awsAwsjson11_deserializeDocumentMonitoringBaselineConfig(&sv.BaselineConfig, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "MonitoringAppSpecification": if err := awsAwsjson11_deserializeDocumentMonitoringAppSpecification(&sv.MonitoringAppSpecification, value); err != nil { return err } - case "MonitoringInputs": if err := awsAwsjson11_deserializeDocumentMonitoringInputs(&sv.MonitoringInputs, value); err != nil { return err } - case "MonitoringOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.MonitoringOutputConfig, value); err != nil { return err } - case "MonitoringResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.MonitoringResources, value); err != nil { return err } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -65586,12 +64205,10 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinition(v **types.Monitorin } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - default: _, _ = key, value @@ -65638,7 +64255,6 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -65647,7 +64263,6 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.EndpointName = ptr.String(jtv) } - case "MonitoringJobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -65656,7 +64271,6 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.MonitoringJobDefinitionArn = ptr.String(jtv) } - case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -65665,7 +64279,6 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.MonitoringJobDefinitionName = ptr.String(jtv) } - default: _, _ = key, value @@ -65739,7 +64352,6 @@ func awsAwsjson11_deserializeDocumentMonitoringJsonDatasetFormat(v **types.Monit } sv.Line = ptr.Bool(jtv) } - default: _, _ = key, value @@ -65779,7 +64391,6 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -65788,12 +64399,10 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -65829,7 +64438,6 @@ func awsAwsjson11_deserializeDocumentMonitoringOutput(v **types.MonitoringOutput if err := awsAwsjson11_deserializeDocumentMonitoringS3Output(&sv.S3Output, value); err != nil { return err } - default: _, _ = key, value @@ -65869,12 +64477,10 @@ func awsAwsjson11_deserializeDocumentMonitoringOutputConfig(v **types.Monitoring } sv.KmsKeyId = ptr.String(jtv) } - case "MonitoringOutputs": if err := awsAwsjson11_deserializeDocumentMonitoringOutputs(&sv.MonitoringOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -65975,7 +64581,6 @@ func awsAwsjson11_deserializeDocumentMonitoringResources(v **types.MonitoringRes if err := awsAwsjson11_deserializeDocumentMonitoringClusterConfig(&sv.ClusterConfig, value); err != nil { return err } - default: _, _ = key, value @@ -66015,7 +64620,6 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.LocalPath = ptr.String(jtv) } - case "S3UploadMode": if value != nil { jtv, ok := value.(string) @@ -66024,7 +64628,6 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.S3UploadMode = types.ProcessingS3UploadMode(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -66033,7 +64636,6 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -66080,7 +64682,6 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -66089,7 +64690,6 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.EndpointName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -66098,7 +64698,6 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -66114,12 +64713,10 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } } - case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -66128,12 +64725,10 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -66142,7 +64737,6 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleName = ptr.String(jtv) } - case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -66151,7 +64745,6 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -66160,12 +64753,10 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringType = types.MonitoringType(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -66201,7 +64792,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinition(&sv.MonitoringJobDefinition, value); err != nil { return err } - case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -66210,7 +64800,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori } sv.MonitoringJobDefinitionName = ptr.String(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -66219,12 +64808,10 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori } sv.MonitoringType = types.MonitoringType(jtv) } - case "ScheduleConfig": if err := awsAwsjson11_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } - default: _, _ = key, value @@ -66305,7 +64892,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -66314,7 +64900,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.EndpointName = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -66330,7 +64915,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } } - case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -66339,7 +64923,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringJobDefinitionName = ptr.String(jtv) } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -66348,7 +64931,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -66357,7 +64939,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleName = ptr.String(jtv) } - case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -66366,7 +64947,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -66375,7 +64955,6 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringType = types.MonitoringType(jtv) } - default: _, _ = key, value @@ -66449,7 +65028,6 @@ func awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(v **types.Moni } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -66493,7 +65071,6 @@ func awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(v **types.Monit } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -66533,7 +65110,6 @@ func awsAwsjson11_deserializeDocumentMultiModelConfig(v **types.MultiModelConfig } sv.ModelCacheSetting = types.ModelCacheSetting(jtv) } - default: _, _ = key, value @@ -66569,12 +65145,10 @@ func awsAwsjson11_deserializeDocumentNeoVpcConfig(v **types.NeoVpcConfig, value if err := awsAwsjson11_deserializeDocumentNeoVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentNeoVpcSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -66686,7 +65260,6 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -66695,12 +65268,10 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -66817,7 +65388,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -66833,7 +65403,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } } - case "NotebookInstanceLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -66842,7 +65411,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -66851,7 +65419,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } - default: _, _ = key, value @@ -66925,7 +65492,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleHook(v **types.Not } sv.Content = ptr.String(jtv) } - default: _, _ = key, value @@ -66961,7 +65527,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI if err := awsAwsjson11_deserializeDocumentAdditionalCodeRepositoryNamesOrUrls(&sv.AdditionalCodeRepositories, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -66977,7 +65542,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } } - case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -66986,7 +65550,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.DefaultCodeRepository = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -66995,7 +65558,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.InstanceType = types.InstanceType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -67011,7 +65573,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } } - case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -67020,7 +65581,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceArn = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -67029,7 +65589,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } - case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -67038,7 +65597,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceName = ptr.String(jtv) } - case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -67047,7 +65605,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceStatus = types.NotebookInstanceStatus(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -67056,7 +65613,6 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -67130,7 +65686,6 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.NotificationTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -67174,7 +65729,6 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Failed = ptr.Int32(int32(i64)) } - case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -67187,7 +65741,6 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Pending = ptr.Int32(int32(i64)) } - case "Succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -67200,7 +65753,6 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Succeeded = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -67236,7 +65788,6 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo if err := awsAwsjson11_deserializeDocumentDataCatalogConfig(&sv.DataCatalogConfig, value); err != nil { return err } - case "DisableGlueTableCreation": if value != nil { jtv, ok := value.(bool) @@ -67245,12 +65796,10 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo } sv.DisableGlueTableCreation = ptr.Bool(jtv) } - case "S3StorageConfig": if err := awsAwsjson11_deserializeDocumentS3StorageConfig(&sv.S3StorageConfig, value); err != nil { return err } - case "TableFormat": if value != nil { jtv, ok := value.(string) @@ -67259,7 +65808,6 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo } sv.TableFormat = types.TableFormat(jtv) } - default: _, _ = key, value @@ -67299,7 +65847,6 @@ func awsAwsjson11_deserializeDocumentOfflineStoreStatus(v **types.OfflineStoreSt } sv.BlockedReason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -67308,7 +65855,6 @@ func awsAwsjson11_deserializeDocumentOfflineStoreStatus(v **types.OfflineStoreSt } sv.Status = types.OfflineStoreStatusValue(jtv) } - default: _, _ = key, value @@ -67344,7 +65890,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF if err := awsAwsjson11_deserializeDocumentAuthenticationRequestExtraParams(&sv.AuthenticationRequestExtraParams, value); err != nil { return err } - case "AuthorizationEndpoint": if value != nil { jtv, ok := value.(string) @@ -67353,7 +65898,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.AuthorizationEndpoint = ptr.String(jtv) } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -67362,7 +65906,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.ClientId = ptr.String(jtv) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -67371,7 +65914,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.Issuer = ptr.String(jtv) } - case "JwksUri": if value != nil { jtv, ok := value.(string) @@ -67380,7 +65922,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.JwksUri = ptr.String(jtv) } - case "LogoutEndpoint": if value != nil { jtv, ok := value.(string) @@ -67389,7 +65930,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.LogoutEndpoint = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -67398,7 +65938,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.Scope = ptr.String(jtv) } - case "TokenEndpoint": if value != nil { jtv, ok := value.(string) @@ -67407,7 +65946,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.TokenEndpoint = ptr.String(jtv) } - case "UserInfoEndpoint": if value != nil { jtv, ok := value.(string) @@ -67416,7 +65954,6 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.UserInfoEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -67452,7 +65989,6 @@ func awsAwsjson11_deserializeDocumentOidcMemberDefinition(v **types.OidcMemberDe if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - default: _, _ = key, value @@ -67492,12 +66028,10 @@ func awsAwsjson11_deserializeDocumentOnlineStoreConfig(v **types.OnlineStoreConf } sv.EnableOnlineStore = ptr.Bool(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -67506,12 +66040,10 @@ func awsAwsjson11_deserializeDocumentOnlineStoreConfig(v **types.OnlineStoreConf } sv.StorageType = types.StorageType(jtv) } - case "TtlDuration": if err := awsAwsjson11_deserializeDocumentTtlDuration(&sv.TtlDuration, value); err != nil { return err } - default: _, _ = key, value @@ -67551,7 +66083,6 @@ func awsAwsjson11_deserializeDocumentOnlineStoreSecurityConfig(v **types.OnlineS } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -67741,7 +66272,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSource(v **types.Optimi if err := awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -67777,7 +66307,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(v **types.Opti if err := awsAwsjson11_deserializeDocumentOptimizationModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -67786,7 +66315,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(v **types.Opti } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -67826,7 +66354,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(v **types.Optim } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -67835,7 +66362,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(v **types.Optim } sv.S3OutputLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -67916,7 +66442,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } - case "DeploymentInstanceType": if value != nil { jtv, ok := value.(string) @@ -67925,7 +66450,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.DeploymentInstanceType = types.OptimizationJobDeploymentInstanceType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -67941,7 +66465,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } - case "OptimizationEndTime": if value != nil { switch jtv := value.(type) { @@ -67957,7 +66480,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } - case "OptimizationJobArn": if value != nil { jtv, ok := value.(string) @@ -67966,7 +66488,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobArn = ptr.String(jtv) } - case "OptimizationJobName": if value != nil { jtv, ok := value.(string) @@ -67975,7 +66496,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobName = ptr.String(jtv) } - case "OptimizationJobStatus": if value != nil { jtv, ok := value.(string) @@ -67984,7 +66504,6 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobStatus = types.OptimizationJobStatus(jtv) } - case "OptimizationStartTime": if value != nil { switch jtv := value.(type) { @@ -68000,12 +66519,10 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } - case "OptimizationTypes": if err := awsAwsjson11_deserializeDocumentOptimizationTypes(&sv.OptimizationTypes, value); err != nil { return err } - default: _, _ = key, value @@ -68045,7 +66562,6 @@ func awsAwsjson11_deserializeDocumentOptimizationModelAccessConfig(v **types.Opt } sv.AcceptEula = ptr.Bool(jtv) } - default: _, _ = key, value @@ -68085,7 +66601,6 @@ func awsAwsjson11_deserializeDocumentOptimizationOutput(v **types.OptimizationOu } sv.RecommendedInferenceImage = ptr.String(jtv) } - default: _, _ = key, value @@ -68157,12 +66672,10 @@ func awsAwsjson11_deserializeDocumentOptimizationVpcConfig(v **types.Optimizatio if err := awsAwsjson11_deserializeDocumentOptimizationVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentOptimizationVpcSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -68274,7 +66787,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.CompilerOptions = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -68283,7 +66795,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -68292,7 +66803,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3OutputLocation = ptr.String(jtv) } - case "TargetDevice": if value != nil { jtv, ok := value.(string) @@ -68301,12 +66811,10 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.TargetDevice = types.TargetDevice(jtv) } - case "TargetPlatform": if err := awsAwsjson11_deserializeDocumentTargetPlatform(&sv.TargetPlatform, value); err != nil { return err } - default: _, _ = key, value @@ -68346,7 +66854,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.CompressionType = types.OutputCompressionType(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -68355,7 +66862,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -68364,7 +66870,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -68404,7 +66909,6 @@ func awsAwsjson11_deserializeDocumentOutputParameter(v **types.OutputParameter, } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -68413,7 +66917,6 @@ func awsAwsjson11_deserializeDocumentOutputParameter(v **types.OutputParameter, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -68487,7 +66990,6 @@ func awsAwsjson11_deserializeDocumentOwnershipSettings(v **types.OwnershipSettin } sv.OwnerUserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -68527,7 +67029,6 @@ func awsAwsjson11_deserializeDocumentOwnershipSettingsSummary(v **types.Ownershi } sv.OwnerUserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -68571,7 +67072,6 @@ func awsAwsjson11_deserializeDocumentParallelismConfiguration(v **types.Parallel } sv.MaxParallelExecutionSteps = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -68611,7 +67111,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -68620,7 +67119,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -68690,17 +67188,14 @@ func awsAwsjson11_deserializeDocumentParameterRange(v **types.ParameterRange, va if err := awsAwsjson11_deserializeDocumentCategoricalParameterRangeSpecification(&sv.CategoricalParameterRangeSpecification, value); err != nil { return err } - case "ContinuousParameterRangeSpecification": if err := awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(&sv.ContinuousParameterRangeSpecification, value); err != nil { return err } - case "IntegerParameterRangeSpecification": if err := awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(&sv.IntegerParameterRangeSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -68736,22 +67231,18 @@ func awsAwsjson11_deserializeDocumentParameterRanges(v **types.ParameterRanges, if err := awsAwsjson11_deserializeDocumentAutoParameters(&sv.AutoParameters, value); err != nil { return err } - case "CategoricalParameterRanges": if err := awsAwsjson11_deserializeDocumentCategoricalParameterRanges(&sv.CategoricalParameterRanges, value); err != nil { return err } - case "ContinuousParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousParameterRanges(&sv.ContinuousParameterRanges, value); err != nil { return err } - case "IntegerParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerParameterRanges(&sv.IntegerParameterRanges, value); err != nil { return err } - default: _, _ = key, value @@ -68827,7 +67318,6 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.ExperimentName = ptr.String(jtv) } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -68836,7 +67326,6 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.TrialName = ptr.String(jtv) } - default: _, _ = key, value @@ -68876,7 +67365,6 @@ func awsAwsjson11_deserializeDocumentParentHyperParameterTuningJob(v **types.Par } sv.HyperParameterTuningJobName = ptr.String(jtv) } - default: _, _ = key, value @@ -68984,17 +67472,14 @@ func awsAwsjson11_deserializeDocumentPendingDeploymentSummary(v **types.PendingD } sv.EndpointConfigName = ptr.String(jtv) } - case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentPendingProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } - case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentPendingProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -69010,7 +67495,6 @@ func awsAwsjson11_deserializeDocumentPendingDeploymentSummary(v **types.PendingD } } - default: _, _ = key, value @@ -69050,7 +67534,6 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.AcceleratorType = types.ProductionVariantAcceleratorType(jtv) } - case "CurrentInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -69063,12 +67546,10 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.CurrentInstanceCount = ptr.Int32(int32(i64)) } - case "CurrentServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.CurrentServerlessConfig, value); err != nil { return err } - case "CurrentWeight": if value != nil { switch jtv := value.(type) { @@ -69102,12 +67583,10 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } } - case "DeployedImages": if err := awsAwsjson11_deserializeDocumentDeployedImages(&sv.DeployedImages, value); err != nil { return err } - case "DesiredInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -69120,12 +67599,10 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.DesiredInstanceCount = ptr.Int32(int32(i64)) } - case "DesiredServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.DesiredServerlessConfig, value); err != nil { return err } - case "DesiredWeight": if value != nil { switch jtv := value.(type) { @@ -69159,7 +67636,6 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -69168,17 +67644,14 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } - case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -69187,12 +67660,10 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.VariantName = ptr.String(jtv) } - case "VariantStatus": if err := awsAwsjson11_deserializeDocumentProductionVariantStatusList(&sv.VariantStatus, value); err != nil { return err } - default: _, _ = key, value @@ -69270,7 +67741,6 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "InitialNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -69283,7 +67753,6 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.InitialNumberOfUsers = ptr.Int32(int32(i64)) } - case "SpawnRate": if value != nil { jtv, ok := value.(json.Number) @@ -69296,7 +67765,6 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.SpawnRate = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -69366,7 +67834,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -69382,12 +67849,10 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -69403,7 +67868,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "LastRunTime": if value != nil { switch jtv := value.(type) { @@ -69419,12 +67883,10 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } - case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -69433,7 +67895,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineArn = ptr.String(jtv) } - case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -69442,7 +67903,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineDescription = ptr.String(jtv) } - case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -69451,7 +67911,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineDisplayName = ptr.String(jtv) } - case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -69460,7 +67919,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineName = ptr.String(jtv) } - case "PipelineStatus": if value != nil { jtv, ok := value.(string) @@ -69469,7 +67927,6 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineStatus = types.PipelineStatus(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -69478,12 +67935,10 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.RoleArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -69519,7 +67974,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -69535,7 +67989,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -69544,12 +67997,10 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -69565,12 +68016,10 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } } - case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -69579,7 +68028,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineArn = ptr.String(jtv) } - case "PipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -69588,7 +68036,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionArn = ptr.String(jtv) } - case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -69597,7 +68044,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionDescription = ptr.String(jtv) } - case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -69606,7 +68052,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionDisplayName = ptr.String(jtv) } - case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -69615,22 +68060,18 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } - case "PipelineExperimentConfig": if err := awsAwsjson11_deserializeDocumentPipelineExperimentConfig(&sv.PipelineExperimentConfig, value); err != nil { return err } - case "PipelineParameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.PipelineParameters, value); err != nil { return err } - case "SelectiveExecutionConfig": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(&sv.SelectiveExecutionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -69674,12 +68115,10 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.AttemptCount = ptr.Int32(int32(i64)) } - case "CacheHitResult": if err := awsAwsjson11_deserializeDocumentCacheHitResult(&sv.CacheHitResult, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -69695,7 +68134,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -69704,17 +68142,14 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.FailureReason = ptr.String(jtv) } - case "Metadata": if err := awsAwsjson11_deserializeDocumentPipelineExecutionStepMetadata(&sv.Metadata, value); err != nil { return err } - case "SelectiveExecutionResult": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionResult(&sv.SelectiveExecutionResult, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -69730,7 +68165,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } } - case "StepDescription": if value != nil { jtv, ok := value.(string) @@ -69739,7 +68173,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepDescription = ptr.String(jtv) } - case "StepDisplayName": if value != nil { jtv, ok := value.(string) @@ -69748,7 +68181,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepDisplayName = ptr.String(jtv) } - case "StepName": if value != nil { jtv, ok := value.(string) @@ -69757,7 +68189,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepName = ptr.String(jtv) } - case "StepStatus": if value != nil { jtv, ok := value.(string) @@ -69766,7 +68197,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepStatus = types.StepStatus(jtv) } - default: _, _ = key, value @@ -69836,82 +68266,66 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStepMetadata(v **types.Pip if err := awsAwsjson11_deserializeDocumentAutoMLJobStepMetadata(&sv.AutoMLJob, value); err != nil { return err } - case "Callback": if err := awsAwsjson11_deserializeDocumentCallbackStepMetadata(&sv.Callback, value); err != nil { return err } - case "ClarifyCheck": if err := awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(&sv.ClarifyCheck, value); err != nil { return err } - case "Condition": if err := awsAwsjson11_deserializeDocumentConditionStepMetadata(&sv.Condition, value); err != nil { return err } - case "EMR": if err := awsAwsjson11_deserializeDocumentEMRStepMetadata(&sv.EMR, value); err != nil { return err } - case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpointStepMetadata(&sv.Endpoint, value); err != nil { return err } - case "EndpointConfig": if err := awsAwsjson11_deserializeDocumentEndpointConfigStepMetadata(&sv.EndpointConfig, value); err != nil { return err } - case "Fail": if err := awsAwsjson11_deserializeDocumentFailStepMetadata(&sv.Fail, value); err != nil { return err } - case "Lambda": if err := awsAwsjson11_deserializeDocumentLambdaStepMetadata(&sv.Lambda, value); err != nil { return err } - case "Model": if err := awsAwsjson11_deserializeDocumentModelStepMetadata(&sv.Model, value); err != nil { return err } - case "ProcessingJob": if err := awsAwsjson11_deserializeDocumentProcessingJobStepMetadata(&sv.ProcessingJob, value); err != nil { return err } - case "QualityCheck": if err := awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(&sv.QualityCheck, value); err != nil { return err } - case "RegisterModel": if err := awsAwsjson11_deserializeDocumentRegisterModelStepMetadata(&sv.RegisterModel, value); err != nil { return err } - case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJobStepMetadata(&sv.TrainingJob, value); err != nil { return err } - case "TransformJob": if err := awsAwsjson11_deserializeDocumentTransformJobStepMetadata(&sv.TransformJob, value); err != nil { return err } - case "TuningJob": if err := awsAwsjson11_deserializeDocumentTuningJobStepMetaData(&sv.TuningJob, value); err != nil { return err } - default: _, _ = key, value @@ -69951,7 +68365,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionArn = ptr.String(jtv) } - case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -69960,7 +68373,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionDescription = ptr.String(jtv) } - case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -69969,7 +68381,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionDisplayName = ptr.String(jtv) } - case "PipelineExecutionFailureReason": if value != nil { jtv, ok := value.(string) @@ -69978,7 +68389,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionFailureReason = ptr.String(jtv) } - case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -69987,7 +68397,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -70003,7 +68412,6 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } - default: _, _ = key, value @@ -70077,7 +68485,6 @@ func awsAwsjson11_deserializeDocumentPipelineExperimentConfig(v **types.Pipeline } sv.ExperimentName = ptr.String(jtv) } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -70086,7 +68493,6 @@ func awsAwsjson11_deserializeDocumentPipelineExperimentConfig(v **types.Pipeline } sv.TrialName = ptr.String(jtv) } - default: _, _ = key, value @@ -70133,7 +68539,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -70149,7 +68554,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -70165,7 +68569,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -70174,7 +68577,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineArn = ptr.String(jtv) } - case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -70183,7 +68585,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineDescription = ptr.String(jtv) } - case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -70192,7 +68593,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineDisplayName = ptr.String(jtv) } - case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -70201,7 +68601,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -70210,7 +68609,6 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -70284,7 +68682,6 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.PredefinedMetricType = ptr.String(jtv) } - default: _, _ = key, value @@ -70328,7 +68725,6 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -70337,7 +68733,6 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.InstanceType = types.ProcessingInstanceType(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -70346,7 +68741,6 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -70359,7 +68753,6 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -70435,7 +68828,6 @@ func awsAwsjson11_deserializeDocumentProcessingFeatureStoreOutput(v **types.Proc } sv.FeatureGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -70475,12 +68867,10 @@ func awsAwsjson11_deserializeDocumentProcessingInput(v **types.ProcessingInput, } sv.AppManaged = ptr.Bool(jtv) } - case "DatasetDefinition": if err := awsAwsjson11_deserializeDocumentDatasetDefinition(&sv.DatasetDefinition, value); err != nil { return err } - case "InputName": if value != nil { jtv, ok := value.(string) @@ -70489,12 +68879,10 @@ func awsAwsjson11_deserializeDocumentProcessingInput(v **types.ProcessingInput, } sv.InputName = ptr.String(jtv) } - case "S3Input": if err := awsAwsjson11_deserializeDocumentProcessingS3Input(&sv.S3Input, value); err != nil { return err } - default: _, _ = key, value @@ -70564,7 +68952,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu if err := awsAwsjson11_deserializeDocumentAppSpecification(&sv.AppSpecification, value); err != nil { return err } - case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -70573,7 +68960,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.AutoMLJobArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -70589,12 +68975,10 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } - case "Environment": if err := awsAwsjson11_deserializeDocumentProcessingEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -70603,12 +68987,10 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ExitMessage = ptr.String(jtv) } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -70617,7 +68999,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -70633,7 +69014,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -70642,12 +69022,10 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -70663,12 +69041,10 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } - case "ProcessingInputs": if err := awsAwsjson11_deserializeDocumentProcessingInputs(&sv.ProcessingInputs, value); err != nil { return err } - case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -70677,7 +69053,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobArn = ptr.String(jtv) } - case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -70686,7 +69061,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobName = ptr.String(jtv) } - case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -70695,17 +69069,14 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } - case "ProcessingOutputConfig": if err := awsAwsjson11_deserializeDocumentProcessingOutputConfig(&sv.ProcessingOutputConfig, value); err != nil { return err } - case "ProcessingResources": if err := awsAwsjson11_deserializeDocumentProcessingResources(&sv.ProcessingResources, value); err != nil { return err } - case "ProcessingStartTime": if value != nil { switch jtv := value.(type) { @@ -70721,7 +69092,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -70730,17 +69100,14 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentProcessingStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -70749,7 +69116,6 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.TrainingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -70789,7 +69155,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobStepMetadata(v **types.Process } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -70870,7 +69235,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } - case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -70879,7 +69243,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ExitMessage = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -70888,7 +69251,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -70904,7 +69266,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } - case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -70920,7 +69281,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } - case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -70929,7 +69289,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobArn = ptr.String(jtv) } - case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -70938,7 +69297,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobName = ptr.String(jtv) } - case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -70947,7 +69305,6 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } - default: _, _ = key, value @@ -70987,12 +69344,10 @@ func awsAwsjson11_deserializeDocumentProcessingOutput(v **types.ProcessingOutput } sv.AppManaged = ptr.Bool(jtv) } - case "FeatureStoreOutput": if err := awsAwsjson11_deserializeDocumentProcessingFeatureStoreOutput(&sv.FeatureStoreOutput, value); err != nil { return err } - case "OutputName": if value != nil { jtv, ok := value.(string) @@ -71001,12 +69356,10 @@ func awsAwsjson11_deserializeDocumentProcessingOutput(v **types.ProcessingOutput } sv.OutputName = ptr.String(jtv) } - case "S3Output": if err := awsAwsjson11_deserializeDocumentProcessingS3Output(&sv.S3Output, value); err != nil { return err } - default: _, _ = key, value @@ -71046,12 +69399,10 @@ func awsAwsjson11_deserializeDocumentProcessingOutputConfig(v **types.Processing } sv.KmsKeyId = ptr.String(jtv) } - case "Outputs": if err := awsAwsjson11_deserializeDocumentProcessingOutputs(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -71121,7 +69472,6 @@ func awsAwsjson11_deserializeDocumentProcessingResources(v **types.ProcessingRes if err := awsAwsjson11_deserializeDocumentProcessingClusterConfig(&sv.ClusterConfig, value); err != nil { return err } - default: _, _ = key, value @@ -71161,7 +69511,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.LocalPath = ptr.String(jtv) } - case "S3CompressionType": if value != nil { jtv, ok := value.(string) @@ -71170,7 +69519,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3CompressionType = types.ProcessingS3CompressionType(jtv) } - case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -71179,7 +69527,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } - case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -71188,7 +69535,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3DataType = types.ProcessingS3DataType(jtv) } - case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -71197,7 +69543,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -71206,7 +69551,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -71246,7 +69590,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.LocalPath = ptr.String(jtv) } - case "S3UploadMode": if value != nil { jtv, ok := value.(string) @@ -71255,7 +69598,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.S3UploadMode = types.ProcessingS3UploadMode(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -71264,7 +69606,6 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -71308,7 +69649,6 @@ func awsAwsjson11_deserializeDocumentProcessingStoppingCondition(v **types.Proce } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -71348,7 +69688,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.AcceleratorType = types.ProductionVariantAcceleratorType(jtv) } - case "ContainerStartupHealthCheckTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -71361,12 +69700,10 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ContainerStartupHealthCheckTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "CoreDumpConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(&sv.CoreDumpConfig, value); err != nil { return err } - case "EnableSSMAccess": if value != nil { jtv, ok := value.(bool) @@ -71375,7 +69712,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.EnableSSMAccess = ptr.Bool(jtv) } - case "InferenceAmiVersion": if value != nil { jtv, ok := value.(string) @@ -71384,7 +69720,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InferenceAmiVersion = types.ProductionVariantInferenceAmiVersion(jtv) } - case "InitialInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -71397,7 +69732,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InitialInstanceCount = ptr.Int32(int32(i64)) } - case "InitialVariantWeight": if value != nil { switch jtv := value.(type) { @@ -71431,7 +69765,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -71440,12 +69773,10 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } - case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } - case "ModelDataDownloadTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -71458,7 +69789,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ModelDataDownloadTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -71467,17 +69797,14 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ModelName = ptr.String(jtv) } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -71486,7 +69813,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.VariantName = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -71499,7 +69825,6 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -71539,7 +69864,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(v **types.P } sv.DestinationS3Uri = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -71548,7 +69872,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(v **types.P } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -71626,7 +69949,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.MaxInstanceCount = ptr.Int32(int32(i64)) } - case "MinInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -71639,7 +69961,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.MinInstanceCount = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -71648,7 +69969,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.Status = types.ManagedInstanceScalingStatus(jtv) } - default: _, _ = key, value @@ -71688,7 +70008,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(v **types.Pr } sv.RoutingStrategy = types.RoutingStrategy(jtv) } - default: _, _ = key, value @@ -71732,7 +70051,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.MaxConcurrency = ptr.Int32(int32(i64)) } - case "MemorySizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -71745,7 +70063,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.MemorySizeInMB = ptr.Int32(int32(i64)) } - case "ProvisionedConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -71758,7 +70075,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.ProvisionedConcurrency = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -71805,7 +70121,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -71814,7 +70129,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } sv.Status = types.VariantStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -71823,7 +70137,6 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -71901,12 +70214,10 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.CurrentInstanceCount = ptr.Int32(int32(i64)) } - case "CurrentServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.CurrentServerlessConfig, value); err != nil { return err } - case "CurrentWeight": if value != nil { switch jtv := value.(type) { @@ -71940,12 +70251,10 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } } - case "DeployedImages": if err := awsAwsjson11_deserializeDocumentDeployedImages(&sv.DeployedImages, value); err != nil { return err } - case "DesiredInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -71958,12 +70267,10 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.DesiredInstanceCount = ptr.Int32(int32(i64)) } - case "DesiredServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.DesiredServerlessConfig, value); err != nil { return err } - case "DesiredWeight": if value != nil { switch jtv := value.(type) { @@ -71997,17 +70304,14 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } } - case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } - case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -72016,12 +70320,10 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.VariantName = ptr.String(jtv) } - case "VariantStatus": if err := awsAwsjson11_deserializeDocumentProductionVariantStatusList(&sv.VariantStatus, value); err != nil { return err } - default: _, _ = key, value @@ -72131,7 +70433,6 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.DisableProfiler = ptr.Bool(jtv) } - case "ProfilingIntervalInMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -72144,12 +70445,10 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.ProfilingIntervalInMilliseconds = ptr.Int64(i64) } - case "ProfilingParameters": if err := awsAwsjson11_deserializeDocumentProfilingParameters(&sv.ProfilingParameters, value); err != nil { return err } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -72158,7 +70457,6 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -72198,7 +70496,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.InstanceType = types.ProcessingInstanceType(jtv) } - case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -72207,7 +70504,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.LocalPath = ptr.String(jtv) } - case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -72216,7 +70512,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.RuleConfigurationName = ptr.String(jtv) } - case "RuleEvaluatorImage": if value != nil { jtv, ok := value.(string) @@ -72225,12 +70520,10 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.RuleEvaluatorImage = ptr.String(jtv) } - case "RuleParameters": if err := awsAwsjson11_deserializeDocumentRuleParameters(&sv.RuleParameters, value); err != nil { return err } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -72239,7 +70532,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.S3OutputPath = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -72252,7 +70544,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -72333,7 +70624,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } } - case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -72342,7 +70632,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleConfigurationName = ptr.String(jtv) } - case "RuleEvaluationJobArn": if value != nil { jtv, ok := value.(string) @@ -72351,7 +70640,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleEvaluationJobArn = ptr.String(jtv) } - case "RuleEvaluationStatus": if value != nil { jtv, ok := value.(string) @@ -72360,7 +70648,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleEvaluationStatus = types.RuleEvaluationStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -72369,7 +70656,6 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.StatusDetails = ptr.String(jtv) } - default: _, _ = key, value @@ -72475,7 +70761,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -72491,12 +70776,10 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -72512,7 +70795,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -72521,7 +70803,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectArn = ptr.String(jtv) } - case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -72530,7 +70811,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectDescription = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -72539,7 +70819,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectId = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -72548,7 +70827,6 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectName = ptr.String(jtv) } - case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -72557,22 +70835,18 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectStatus = types.ProjectStatus(jtv) } - case "ServiceCatalogProvisionedProductDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(&sv.ServiceCatalogProvisionedProductDetails, value); err != nil { return err } - case "ServiceCatalogProvisioningDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(&sv.ServiceCatalogProvisioningDetails, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -72619,7 +70893,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -72628,7 +70901,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectArn = ptr.String(jtv) } - case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -72637,7 +70909,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectDescription = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -72646,7 +70917,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectId = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -72655,7 +70925,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectName = ptr.String(jtv) } - case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -72664,7 +70933,6 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectStatus = types.ProjectStatus(jtv) } - default: _, _ = key, value @@ -72738,7 +71006,6 @@ func awsAwsjson11_deserializeDocumentPropertyNameSuggestion(v **types.PropertyNa } sv.PropertyName = ptr.String(jtv) } - default: _, _ = key, value @@ -72812,7 +71079,6 @@ func awsAwsjson11_deserializeDocumentProvisioningParameter(v **types.Provisionin } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -72821,7 +71087,6 @@ func awsAwsjson11_deserializeDocumentProvisioningParameter(v **types.Provisionin } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -72891,7 +71156,6 @@ func awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(v **types.PublicWo if err := awsAwsjson11_deserializeDocumentUSD(&sv.AmountInUsd, value); err != nil { return err } - default: _, _ = key, value @@ -72931,7 +71195,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.BaselineUsedForDriftCheckConstraints = ptr.String(jtv) } - case "BaselineUsedForDriftCheckStatistics": if value != nil { jtv, ok := value.(string) @@ -72940,7 +71203,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.BaselineUsedForDriftCheckStatistics = ptr.String(jtv) } - case "CalculatedBaselineConstraints": if value != nil { jtv, ok := value.(string) @@ -72949,7 +71211,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CalculatedBaselineConstraints = ptr.String(jtv) } - case "CalculatedBaselineStatistics": if value != nil { jtv, ok := value.(string) @@ -72958,7 +71219,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CalculatedBaselineStatistics = ptr.String(jtv) } - case "CheckJobArn": if value != nil { jtv, ok := value.(string) @@ -72967,7 +71227,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CheckJobArn = ptr.String(jtv) } - case "CheckType": if value != nil { jtv, ok := value.(string) @@ -72976,7 +71235,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CheckType = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -72985,7 +71243,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.ModelPackageGroupName = ptr.String(jtv) } - case "RegisterNewBaseline": if value != nil { jtv, ok := value.(bool) @@ -72994,7 +71251,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.RegisterNewBaseline = ptr.Bool(jtv) } - case "SkipCheck": if value != nil { jtv, ok := value.(bool) @@ -73003,7 +71259,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.SkipCheck = ptr.Bool(jtv) } - case "ViolationReport": if value != nil { jtv, ok := value.(string) @@ -73012,7 +71267,6 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.ViolationReport = ptr.String(jtv) } - default: _, _ = key, value @@ -73056,7 +71310,6 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(v **types.RealTimeI } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -73065,7 +71318,6 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(v **types.RealTimeI } sv.InstanceType = types.InstanceType(jtv) } - default: _, _ = key, value @@ -73137,7 +71389,6 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -73146,7 +71397,6 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -73155,7 +71405,6 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -73229,7 +71478,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.DataInputConfig = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -73238,7 +71486,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Domain = ptr.String(jtv) } - case "Framework": if value != nil { jtv, ok := value.(string) @@ -73247,7 +71494,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Framework = ptr.String(jtv) } - case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -73256,7 +71502,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.FrameworkVersion = ptr.String(jtv) } - case "NearestModelName": if value != nil { jtv, ok := value.(string) @@ -73265,12 +71510,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.NearestModelName = ptr.String(jtv) } - case "PayloadConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobPayloadConfig(&sv.PayloadConfig, value); err != nil { return err } - case "SupportedEndpointType": if value != nil { jtv, ok := value.(string) @@ -73279,17 +71522,14 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.SupportedEndpointType = types.RecommendationJobSupportedEndpointType(jtv) } - case "SupportedInstanceTypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedInstanceTypes(&sv.SupportedInstanceTypes, value); err != nil { return err } - case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } - case "Task": if value != nil { jtv, ok := value.(string) @@ -73298,7 +71538,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Task = ptr.String(jtv) } - default: _, _ = key, value @@ -73334,12 +71573,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ if err := awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "EndpointMetrics": if err := awsAwsjson11_deserializeDocumentInferenceMetrics(&sv.EndpointMetrics, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -73348,7 +71585,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } sv.FailureReason = ptr.String(jtv) } - case "InvocationEndTime": if value != nil { switch jtv := value.(type) { @@ -73364,7 +71600,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } } - case "InvocationStartTime": if value != nil { switch jtv := value.(type) { @@ -73380,17 +71615,14 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } } - case "Metrics": if err := awsAwsjson11_deserializeDocumentRecommendationMetrics(&sv.Metrics, value); err != nil { return err } - case "ModelConfiguration": if err := awsAwsjson11_deserializeDocumentModelConfiguration(&sv.ModelConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -73426,17 +71658,14 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco if err := awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(&sv.ContainerConfig, value); err != nil { return err } - case "EndpointConfigurations": if err := awsAwsjson11_deserializeDocumentEndpointInputConfigurations(&sv.EndpointConfigurations, value); err != nil { return err } - case "Endpoints": if err := awsAwsjson11_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - case "JobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -73449,7 +71678,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.JobDurationInSeconds = ptr.Int32(int32(i64)) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -73458,7 +71686,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.ModelName = ptr.String(jtv) } - case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -73467,17 +71694,14 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.ModelPackageVersionArn = ptr.String(jtv) } - case "ResourceLimit": if err := awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(&sv.ResourceLimit, value); err != nil { return err } - case "TrafficPattern": if err := awsAwsjson11_deserializeDocumentTrafficPattern(&sv.TrafficPattern, value); err != nil { return err } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -73486,12 +71710,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -73531,12 +71753,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobPayloadConfig(v **types.Re } sv.SamplePayloadUrl = ptr.String(jtv) } - case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } - default: _, _ = key, value @@ -73580,7 +71800,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(v **types.Re } sv.MaxNumberOfTests = ptr.Int32(int32(i64)) } - case "MaxParallelOfTests": if value != nil { jtv, ok := value.(json.Number) @@ -73593,7 +71812,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(v **types.Re } sv.MaxParallelOfTests = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -73633,7 +71851,6 @@ func awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(v **typ } sv.FlatInvocations = types.FlatInvocations(jtv) } - case "MaxInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -73646,12 +71863,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(v **typ } sv.MaxInvocations = ptr.Int32(int32(i64)) } - case "ModelLatencyThresholds": if err := awsAwsjson11_deserializeDocumentModelLatencyThresholds(&sv.ModelLatencyThresholds, value); err != nil { return err } - default: _, _ = key, value @@ -73795,12 +72010,10 @@ func awsAwsjson11_deserializeDocumentRecommendationJobVpcConfig(v **types.Recomm if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -73937,7 +72150,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } - case "CostPerInference": if value != nil { switch jtv := value.(type) { @@ -73971,7 +72183,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } - case "CpuUtilization": if value != nil { switch jtv := value.(type) { @@ -74005,7 +72216,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } - case "MaxInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -74018,7 +72228,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.MaxInvocations = ptr.Int32(int32(i64)) } - case "MemoryUtilization": if value != nil { switch jtv := value.(type) { @@ -74052,7 +72261,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } - case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -74065,7 +72273,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.ModelLatency = ptr.Int32(int32(i64)) } - case "ModelSetupTime": if value != nil { jtv, ok := value.(json.Number) @@ -74078,7 +72285,6 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.ModelSetupTime = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -74118,7 +72324,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.ClusterId = ptr.String(jtv) } - case "ClusterRoleArn": if value != nil { jtv, ok := value.(string) @@ -74127,7 +72332,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.ClusterRoleArn = ptr.String(jtv) } - case "Database": if value != nil { jtv, ok := value.(string) @@ -74136,7 +72340,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.Database = ptr.String(jtv) } - case "DbUser": if value != nil { jtv, ok := value.(string) @@ -74145,7 +72348,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.DbUser = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -74154,7 +72356,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.KmsKeyId = ptr.String(jtv) } - case "OutputCompression": if value != nil { jtv, ok := value.(string) @@ -74163,7 +72364,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputCompression = types.RedshiftResultCompressionType(jtv) } - case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -74172,7 +72372,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputFormat = types.RedshiftResultFormat(jtv) } - case "OutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -74181,7 +72380,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputS3Uri = ptr.String(jtv) } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -74190,7 +72388,6 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -74230,7 +72427,6 @@ func awsAwsjson11_deserializeDocumentRegisterModelStepMetadata(v **types.Registe } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -74270,7 +72466,6 @@ func awsAwsjson11_deserializeDocumentRemoteDebugConfig(v **types.RemoteDebugConf } sv.EnableRemoteDebug = ptr.Bool(jtv) } - default: _, _ = key, value @@ -74310,7 +72505,6 @@ func awsAwsjson11_deserializeDocumentRenderingError(v **types.RenderingError, va } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -74319,7 +72513,6 @@ func awsAwsjson11_deserializeDocumentRenderingError(v **types.RenderingError, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -74393,7 +72586,6 @@ func awsAwsjson11_deserializeDocumentRepositoryAuthConfig(v **types.RepositoryAu } sv.RepositoryCredentialsProviderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -74429,12 +72621,10 @@ func awsAwsjson11_deserializeDocumentResolvedAttributes(v **types.ResolvedAttrib if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -74443,7 +72633,6 @@ func awsAwsjson11_deserializeDocumentResolvedAttributes(v **types.ResolvedAttrib } sv.ProblemType = types.ProblemType(jtv) } - default: _, _ = key, value @@ -74490,7 +72679,6 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -74499,7 +72687,6 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.Description = ptr.String(jtv) } - case "ResourceCatalogArn": if value != nil { jtv, ok := value.(string) @@ -74508,7 +72695,6 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.ResourceCatalogArn = ptr.String(jtv) } - case "ResourceCatalogName": if value != nil { jtv, ok := value.(string) @@ -74517,7 +72703,6 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.ResourceCatalogName = ptr.String(jtv) } - default: _, _ = key, value @@ -74595,12 +72780,10 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentInstanceGroups(&sv.InstanceGroups, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -74609,7 +72792,6 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.InstanceType = types.TrainingInstanceType(jtv) } - case "KeepAlivePeriodInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -74622,7 +72804,6 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.KeepAlivePeriodInSeconds = ptr.Int32(int32(i64)) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -74631,7 +72812,6 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.VolumeKmsKeyId = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -74644,7 +72824,6 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -74674,15 +72853,9 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -74690,15 +72863,11 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -74723,15 +72892,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -74739,15 +72902,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -74786,7 +72945,6 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxNumberOfTrainingJobs = ptr.Int32(int32(i64)) } - case "MaxParallelTrainingJobs": if value != nil { jtv, ok := value.(json.Number) @@ -74799,7 +72957,6 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxParallelTrainingJobs = ptr.Int32(int32(i64)) } - case "MaxRuntimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -74812,7 +72969,6 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -74842,15 +72998,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -74858,15 +73008,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -74901,7 +73047,6 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.InstanceType = types.AppInstanceType(jtv) } - case "LifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -74910,7 +73055,6 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.LifecycleConfigArn = ptr.String(jtv) } - case "SageMakerImageArn": if value != nil { jtv, ok := value.(string) @@ -74919,7 +73063,6 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageArn = ptr.String(jtv) } - case "SageMakerImageVersionAlias": if value != nil { jtv, ok := value.(string) @@ -74928,7 +73071,6 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageVersionAlias = ptr.String(jtv) } - case "SageMakerImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -74937,7 +73079,6 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -75017,7 +73158,6 @@ func awsAwsjson11_deserializeDocumentRetryStrategy(v **types.RetryStrategy, valu } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -75053,7 +73193,6 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.MaximumBatchSize, value); err != nil { return err } - case "MaximumExecutionTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -75066,12 +73205,10 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate } sv.MaximumExecutionTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "RollbackMaximumBatchSize": if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.RollbackMaximumBatchSize, value); err != nil { return err } - case "WaitIntervalInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -75084,7 +73221,6 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate } sv.WaitIntervalInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -75120,12 +73256,10 @@ func awsAwsjson11_deserializeDocumentRSessionAppSettings(v **types.RSessionAppSe if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - default: _, _ = key, value @@ -75165,7 +73299,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(v **types.RStud } sv.AccessStatus = types.RStudioServerProAccessStatus(jtv) } - case "UserGroup": if value != nil { jtv, ok := value.(string) @@ -75174,7 +73307,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(v **types.RStud } sv.UserGroup = types.RStudioServerProUserGroup(jtv) } - default: _, _ = key, value @@ -75210,7 +73342,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - case "DomainExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -75219,7 +73350,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.DomainExecutionRoleArn = ptr.String(jtv) } - case "RStudioConnectUrl": if value != nil { jtv, ok := value.(string) @@ -75228,7 +73358,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.RStudioConnectUrl = ptr.String(jtv) } - case "RStudioPackageManagerUrl": if value != nil { jtv, ok := value.(string) @@ -75237,7 +73366,6 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.RStudioPackageManagerUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -75309,12 +73437,10 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value if err := awsAwsjson11_deserializeDocumentAttributeNames(&sv.AttributeNames, value); err != nil { return err } - case "InstanceGroupNames": if err := awsAwsjson11_deserializeDocumentInstanceGroupNames(&sv.InstanceGroupNames, value); err != nil { return err } - case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -75323,7 +73449,6 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3DataDistributionType = types.S3DataDistribution(jtv) } - case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -75332,7 +73457,6 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3DataType = types.S3DataType(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -75341,7 +73465,6 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -75381,12 +73504,10 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.CompressionType = types.ModelCompressionType(jtv) } - case "HubAccessConfig": if err := awsAwsjson11_deserializeDocumentInferenceHubAccessConfig(&sv.HubAccessConfig, value); err != nil { return err } - case "ManifestS3Uri": if value != nil { jtv, ok := value.(string) @@ -75395,12 +73516,10 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.ManifestS3Uri = ptr.String(jtv) } - case "ModelAccessConfig": if err := awsAwsjson11_deserializeDocumentModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } - case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -75409,7 +73528,6 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.S3DataType = types.S3ModelDataType(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -75418,7 +73536,6 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -75454,7 +73571,6 @@ func awsAwsjson11_deserializeDocumentS3Presign(v **types.S3Presign, value interf if err := awsAwsjson11_deserializeDocumentIamPolicyConstraints(&sv.IamPolicyConstraints, value); err != nil { return err } - default: _, _ = key, value @@ -75494,7 +73610,6 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.KmsKeyId = ptr.String(jtv) } - case "ResolvedOutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -75503,7 +73618,6 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.ResolvedOutputS3Uri = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -75512,7 +73626,6 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -75664,7 +73777,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy } sv.InvocationsPerInstance = ptr.Int32(int32(i64)) } - case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -75677,7 +73789,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy } sv.ModelLatency = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -75721,7 +73832,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol } sv.MaxInvocationsPerMinute = ptr.Int32(int32(i64)) } - case "MinInvocationsPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -75734,7 +73844,6 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol } sv.MinInvocationsPerMinute = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -75774,7 +73883,6 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DataAnalysisEndTime = ptr.String(jtv) } - case "DataAnalysisStartTime": if value != nil { jtv, ok := value.(string) @@ -75783,7 +73891,6 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DataAnalysisStartTime = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -75792,7 +73899,6 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.ScheduleExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -75828,77 +73934,62 @@ func awsAwsjson11_deserializeDocumentSearchRecord(v **types.SearchRecord, value if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } - case "Experiment": if err := awsAwsjson11_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } - case "FeatureGroup": if err := awsAwsjson11_deserializeDocumentFeatureGroup(&sv.FeatureGroup, value); err != nil { return err } - case "FeatureMetadata": if err := awsAwsjson11_deserializeDocumentFeatureMetadata(&sv.FeatureMetadata, value); err != nil { return err } - case "HyperParameterTuningJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(&sv.HyperParameterTuningJob, value); err != nil { return err } - case "Model": if err := awsAwsjson11_deserializeDocumentModelDashboardModel(&sv.Model, value); err != nil { return err } - case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelCard(&sv.ModelCard, value); err != nil { return err } - case "ModelPackage": if err := awsAwsjson11_deserializeDocumentModelPackage(&sv.ModelPackage, value); err != nil { return err } - case "ModelPackageGroup": if err := awsAwsjson11_deserializeDocumentModelPackageGroup(&sv.ModelPackageGroup, value); err != nil { return err } - case "Pipeline": if err := awsAwsjson11_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } - case "PipelineExecution": if err := awsAwsjson11_deserializeDocumentPipelineExecution(&sv.PipelineExecution, value); err != nil { return err } - case "Project": if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } - case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJob(&sv.TrainingJob, value); err != nil { return err } - case "Trial": if err := awsAwsjson11_deserializeDocumentTrial(&sv.Trial, value); err != nil { return err } - case "TrialComponent": if err := awsAwsjson11_deserializeDocumentTrialComponent(&sv.TrialComponent, value); err != nil { return err } - default: _, _ = key, value @@ -75979,7 +74070,6 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -75995,7 +74085,6 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -76004,7 +74093,6 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } sv.Status = types.SecondaryStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -76013,7 +74101,6 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -76123,7 +74210,6 @@ func awsAwsjson11_deserializeDocumentSelectedStep(v **types.SelectedStep, value } sv.StepName = ptr.String(jtv) } - default: _, _ = key, value @@ -76193,7 +74279,6 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(v **types.Selectiv if err := awsAwsjson11_deserializeDocumentSelectedStepList(&sv.SelectedSteps, value); err != nil { return err } - case "SourcePipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -76202,7 +74287,6 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(v **types.Selectiv } sv.SourcePipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -76242,7 +74326,6 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionResult(v **types.Selectiv } sv.SourcePipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -76282,7 +74365,6 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(v * } sv.ProvisionedProductId = ptr.String(jtv) } - case "ProvisionedProductStatusMessage": if value != nil { jtv, ok := value.(string) @@ -76291,7 +74373,6 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(v * } sv.ProvisionedProductStatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -76331,7 +74412,6 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.PathId = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -76340,7 +74420,6 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.ProductId = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -76349,12 +74428,10 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ProvisioningParameters": if err := awsAwsjson11_deserializeDocumentProvisioningParameters(&sv.ProvisioningParameters, value); err != nil { return err } - default: _, _ = key, value @@ -76390,7 +74467,6 @@ func awsAwsjson11_deserializeDocumentShadowModeConfig(v **types.ShadowModeConfig if err := awsAwsjson11_deserializeDocumentShadowModelVariantConfigList(&sv.ShadowModelVariants, value); err != nil { return err } - case "SourceModelVariantName": if value != nil { jtv, ok := value.(string) @@ -76399,7 +74475,6 @@ func awsAwsjson11_deserializeDocumentShadowModeConfig(v **types.ShadowModeConfig } sv.SourceModelVariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -76443,7 +74518,6 @@ func awsAwsjson11_deserializeDocumentShadowModelVariantConfig(v **types.ShadowMo } sv.SamplingPercentage = ptr.Int32(int32(i64)) } - case "ShadowModelVariantName": if value != nil { jtv, ok := value.(string) @@ -76452,7 +74526,6 @@ func awsAwsjson11_deserializeDocumentShadowModelVariantConfig(v **types.ShadowMo } sv.ShadowModelVariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -76526,7 +74599,6 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.NotebookOutputOption = types.NotebookOutputOption(jtv) } - case "S3KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -76535,7 +74607,6 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.S3KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -76544,7 +74615,6 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -76588,7 +74658,6 @@ func awsAwsjson11_deserializeDocumentShuffleConfig(v **types.ShuffleConfig, valu } sv.Seed = ptr.Int64(i64) } - default: _, _ = key, value @@ -76628,12 +74697,10 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithm(v **types.SourceAlgorithm, } sv.AlgorithmName = ptr.String(jtv) } - case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } - case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -76642,7 +74709,6 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithm(v **types.SourceAlgorithm, } sv.ModelDataUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -76712,7 +74778,6 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(v **types.Sour if err := awsAwsjson11_deserializeDocumentSourceAlgorithmList(&sv.SourceAlgorithms, value); err != nil { return err } - default: _, _ = key, value @@ -76748,7 +74813,6 @@ func awsAwsjson11_deserializeDocumentSourceIpConfig(v **types.SourceIpConfig, va if err := awsAwsjson11_deserializeDocumentCidrs(&sv.Cidrs, value); err != nil { return err } - default: _, _ = key, value @@ -76784,7 +74848,6 @@ func awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(v **types.Space if err := awsAwsjson11_deserializeDocumentSpaceIdleSettings(&sv.IdleSettings, value); err != nil { return err } - default: _, _ = key, value @@ -76820,12 +74883,10 @@ func awsAwsjson11_deserializeDocumentSpaceCodeEditorAppSettings(v **types.SpaceC if err := awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - default: _, _ = key, value @@ -76872,7 +74933,6 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -76881,7 +74941,6 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.DomainId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -76897,12 +74956,10 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } } - case "OwnershipSettingsSummary": if err := awsAwsjson11_deserializeDocumentOwnershipSettingsSummary(&sv.OwnershipSettingsSummary, value); err != nil { return err } - case "SpaceDisplayName": if value != nil { jtv, ok := value.(string) @@ -76911,7 +74968,6 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.SpaceDisplayName = ptr.String(jtv) } - case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -76920,17 +74976,14 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.SpaceName = ptr.String(jtv) } - case "SpaceSettingsSummary": if err := awsAwsjson11_deserializeDocumentSpaceSettingsSummary(&sv.SpaceSettingsSummary, value); err != nil { return err } - case "SpaceSharingSettingsSummary": if err := awsAwsjson11_deserializeDocumentSpaceSharingSettingsSummary(&sv.SpaceSharingSettingsSummary, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -76939,7 +74992,6 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.Status = types.SpaceStatus(jtv) } - default: _, _ = key, value @@ -76983,7 +75035,6 @@ func awsAwsjson11_deserializeDocumentSpaceIdleSettings(v **types.SpaceIdleSettin } sv.IdleTimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -77019,17 +75070,14 @@ func awsAwsjson11_deserializeDocumentSpaceJupyterLabAppSettings(v **types.SpaceJ if err := awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } - case "CodeRepositories": if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } - case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - default: _, _ = key, value @@ -77103,37 +75151,30 @@ func awsAwsjson11_deserializeDocumentSpaceSettings(v **types.SpaceSettings, valu } sv.AppType = types.AppType(jtv) } - case "CodeEditorAppSettings": if err := awsAwsjson11_deserializeDocumentSpaceCodeEditorAppSettings(&sv.CodeEditorAppSettings, value); err != nil { return err } - case "CustomFileSystems": if err := awsAwsjson11_deserializeDocumentCustomFileSystems(&sv.CustomFileSystems, value); err != nil { return err } - case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentSpaceJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } - case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } - case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } - case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } - default: _, _ = key, value @@ -77173,12 +75214,10 @@ func awsAwsjson11_deserializeDocumentSpaceSettingsSummary(v **types.SpaceSetting } sv.AppType = types.AppType(jtv) } - case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } - default: _, _ = key, value @@ -77218,7 +75257,6 @@ func awsAwsjson11_deserializeDocumentSpaceSharingSettings(v **types.SpaceSharing } sv.SharingType = types.SharingType(jtv) } - default: _, _ = key, value @@ -77258,7 +75296,6 @@ func awsAwsjson11_deserializeDocumentSpaceSharingSettingsSummary(v **types.Space } sv.SharingType = types.SharingType(jtv) } - default: _, _ = key, value @@ -77294,7 +75331,6 @@ func awsAwsjson11_deserializeDocumentSpaceStorageSettings(v **types.SpaceStorage if err := awsAwsjson11_deserializeDocumentEbsStorageSettings(&sv.EbsStorageSettings, value); err != nil { return err } - default: _, _ = key, value @@ -77338,7 +75374,6 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "NumberOfSteps": if value != nil { jtv, ok := value.(json.Number) @@ -77351,7 +75386,6 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.NumberOfSteps = ptr.Int32(int32(i64)) } - case "UsersPerStep": if value != nil { jtv, ok := value.(json.Number) @@ -77364,7 +75398,6 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.UsersPerStep = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -77408,7 +75441,6 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxPendingTimeInSeconds = ptr.Int32(int32(i64)) } - case "MaxRuntimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -77421,7 +75453,6 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } - case "MaxWaitTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -77434,7 +75465,6 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxWaitTimeInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -77481,7 +75511,6 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -77497,7 +75526,6 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } } - case "StudioLifecycleConfigAppType": if value != nil { jtv, ok := value.(string) @@ -77506,7 +75534,6 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigAppType = types.StudioLifecycleConfigAppType(jtv) } - case "StudioLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -77515,7 +75542,6 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigArn = ptr.String(jtv) } - case "StudioLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -77524,7 +75550,6 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigName = ptr.String(jtv) } - default: _, _ = key, value @@ -77594,22 +75619,18 @@ func awsAwsjson11_deserializeDocumentStudioWebPortalSettings(v **types.StudioWeb if err := awsAwsjson11_deserializeDocumentHiddenAppTypesList(&sv.HiddenAppTypes, value); err != nil { return err } - case "HiddenInstanceTypes": if err := awsAwsjson11_deserializeDocumentHiddenInstanceTypesList(&sv.HiddenInstanceTypes, value); err != nil { return err } - case "HiddenMlTools": if err := awsAwsjson11_deserializeDocumentHiddenMlToolsList(&sv.HiddenMlTools, value); err != nil { return err } - case "HiddenSageMakerImageVersionAliases": if err := awsAwsjson11_deserializeDocumentHiddenSageMakerImageVersionAliasesList(&sv.HiddenSageMakerImageVersionAliases, value); err != nil { return err } - default: _, _ = key, value @@ -77685,7 +75706,6 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.ListingId = ptr.String(jtv) } - case "MarketplaceDescription": if value != nil { jtv, ok := value.(string) @@ -77694,7 +75714,6 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.MarketplaceDescription = ptr.String(jtv) } - case "MarketplaceTitle": if value != nil { jtv, ok := value.(string) @@ -77703,7 +75722,6 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.MarketplaceTitle = ptr.String(jtv) } - case "SellerName": if value != nil { jtv, ok := value.(string) @@ -77712,7 +75730,6 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.SellerName = ptr.String(jtv) } - case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -77721,7 +75738,6 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.WorkteamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -77791,12 +75807,10 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig if err := awsAwsjson11_deserializeDocumentCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -77805,7 +75819,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } - case "GenerateCandidateDefinitionsOnly": if value != nil { jtv, ok := value.(bool) @@ -77814,7 +75827,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -77823,7 +75835,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.Mode = types.AutoMLMode(jtv) } - case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -77832,7 +75843,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.ProblemType = types.ProblemType(jtv) } - case "SampleWeightAttributeName": if value != nil { jtv, ok := value.(string) @@ -77841,7 +75851,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.SampleWeightAttributeName = ptr.String(jtv) } - case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -77850,7 +75859,6 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.TargetAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -77890,7 +75898,6 @@ func awsAwsjson11_deserializeDocumentTabularResolvedAttributes(v **types.Tabular } sv.ProblemType = types.ProblemType(jtv) } - default: _, _ = key, value @@ -77930,7 +75937,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -77939,7 +75945,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -78013,7 +76018,6 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Accelerator = types.TargetPlatformAccelerator(jtv) } - case "Arch": if value != nil { jtv, ok := value.(string) @@ -78022,7 +76026,6 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Arch = types.TargetPlatformArch(jtv) } - case "Os": if value != nil { jtv, ok := value.(string) @@ -78031,7 +76034,6 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Os = types.TargetPlatformOs(jtv) } - default: _, _ = key, value @@ -78067,7 +76069,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v if err := awsAwsjson11_deserializeDocumentMetricSpecification(&sv.MetricSpecification, value); err != nil { return err } - case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -78101,7 +76102,6 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } - default: _, _ = key, value @@ -78173,7 +76173,6 @@ func awsAwsjson11_deserializeDocumentTensorBoardAppSettings(v **types.TensorBoar if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } - default: _, _ = key, value @@ -78213,7 +76212,6 @@ func awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(v **types.TensorBoa } sv.LocalPath = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -78222,7 +76220,6 @@ func awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(v **types.TensorBoa } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -78258,7 +76255,6 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "ContentColumn": if value != nil { jtv, ok := value.(string) @@ -78267,7 +76263,6 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC } sv.ContentColumn = ptr.String(jtv) } - case "TargetLabelColumn": if value != nil { jtv, ok := value.(string) @@ -78276,7 +76271,6 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC } sv.TargetLabelColumn = ptr.String(jtv) } - default: _, _ = key, value @@ -78352,22 +76346,18 @@ func awsAwsjson11_deserializeDocumentTextGenerationJobConfig(v **types.TextGener } sv.BaseModelName = ptr.String(jtv) } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "ModelAccessConfig": if err := awsAwsjson11_deserializeDocumentModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } - case "TextGenerationHyperParameters": if err := awsAwsjson11_deserializeDocumentTextGenerationHyperParameters(&sv.TextGenerationHyperParameters, value); err != nil { return err } - default: _, _ = key, value @@ -78407,7 +76397,6 @@ func awsAwsjson11_deserializeDocumentTextGenerationResolvedAttributes(v **types. } sv.BaseModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -78451,7 +76440,6 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ProvisionedReadCapacityUnits = ptr.Int32(int32(i64)) } - case "ProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -78464,7 +76452,6 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ProvisionedWriteCapacityUnits = ptr.Int32(int32(i64)) } - case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -78473,7 +76460,6 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ThroughputMode = types.ThroughputMode(jtv) } - default: _, _ = key, value @@ -78509,7 +76495,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig if err := awsAwsjson11_deserializeDocumentGroupingAttributeNames(&sv.GroupingAttributeNames, value); err != nil { return err } - case "ItemIdentifierAttributeName": if value != nil { jtv, ok := value.(string) @@ -78518,7 +76503,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.ItemIdentifierAttributeName = ptr.String(jtv) } - case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -78527,7 +76511,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.TargetAttributeName = ptr.String(jtv) } - case "TimestampAttributeName": if value != nil { jtv, ok := value.(string) @@ -78536,7 +76519,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.TimestampAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -78572,12 +76554,10 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti if err := awsAwsjson11_deserializeDocumentCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } - case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } - case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -78586,7 +76566,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } - case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -78595,7 +76574,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.ForecastFrequency = ptr.String(jtv) } - case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -78608,27 +76586,22 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.ForecastHorizon = ptr.Int32(int32(i64)) } - case "ForecastQuantiles": if err := awsAwsjson11_deserializeDocumentForecastQuantiles(&sv.ForecastQuantiles, value); err != nil { return err } - case "HolidayConfig": if err := awsAwsjson11_deserializeDocumentHolidayConfig(&sv.HolidayConfig, value); err != nil { return err } - case "TimeSeriesConfig": if err := awsAwsjson11_deserializeDocumentTimeSeriesConfig(&sv.TimeSeriesConfig, value); err != nil { return err } - case "Transformations": if err := awsAwsjson11_deserializeDocumentTimeSeriesTransformations(&sv.Transformations, value); err != nil { return err } - default: _, _ = key, value @@ -78668,7 +76641,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(v **types.Tim } sv.AmazonForecastRoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -78677,7 +76649,6 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(v **types.Tim } sv.Status = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -78713,12 +76684,10 @@ func awsAwsjson11_deserializeDocumentTimeSeriesTransformations(v **types.TimeSer if err := awsAwsjson11_deserializeDocumentAggregationTransformations(&sv.Aggregation, value); err != nil { return err } - case "Filling": if err := awsAwsjson11_deserializeDocumentFillingTransformations(&sv.Filling, value); err != nil { return err } - default: _, _ = key, value @@ -78765,7 +76734,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } } - case "IsActive": if value != nil { jtv, ok := value.(string) @@ -78774,7 +76742,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.IsActive = types.IsTrackingServerActive(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -78790,7 +76757,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } } - case "MlflowVersion": if value != nil { jtv, ok := value.(string) @@ -78799,7 +76765,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.MlflowVersion = ptr.String(jtv) } - case "TrackingServerArn": if value != nil { jtv, ok := value.(string) @@ -78808,7 +76773,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerArn = ptr.String(jtv) } - case "TrackingServerName": if value != nil { jtv, ok := value.(string) @@ -78817,7 +76781,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerName = ptr.String(jtv) } - case "TrackingServerStatus": if value != nil { jtv, ok := value.(string) @@ -78826,7 +76789,6 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerStatus = types.TrackingServerStatus(jtv) } - default: _, _ = key, value @@ -78896,12 +76858,10 @@ func awsAwsjson11_deserializeDocumentTrafficPattern(v **types.TrafficPattern, va if err := awsAwsjson11_deserializeDocumentPhases(&sv.Phases, value); err != nil { return err } - case "Stairs": if err := awsAwsjson11_deserializeDocumentStairs(&sv.Stairs, value); err != nil { return err } - case "TrafficType": if value != nil { jtv, ok := value.(string) @@ -78910,7 +76870,6 @@ func awsAwsjson11_deserializeDocumentTrafficPattern(v **types.TrafficPattern, va } sv.TrafficType = types.TrafficType(jtv) } - default: _, _ = key, value @@ -78946,12 +76905,10 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.CanarySize, value); err != nil { return err } - case "LinearStepSize": if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.LinearStepSize, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -78960,7 +76917,6 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.Type = types.TrafficRoutingConfigType(jtv) } - case "WaitIntervalInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -78973,7 +76929,6 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.WaitIntervalInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -79121,12 +77076,10 @@ func awsAwsjson11_deserializeDocumentTrainingImageConfig(v **types.TrainingImage } sv.TrainingRepositoryAccessMode = types.TrainingRepositoryAccessMode(jtv) } - case "TrainingRepositoryAuthConfig": if err := awsAwsjson11_deserializeDocumentTrainingRepositoryAuthConfig(&sv.TrainingRepositoryAuthConfig, value); err != nil { return err } - default: _, _ = key, value @@ -79198,7 +77151,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in if err := awsAwsjson11_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } - case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -79207,7 +77159,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.AutoMLJobArn = ptr.String(jtv) } - case "BillableTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -79220,12 +77171,10 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.BillableTimeInSeconds = ptr.Int32(int32(i64)) } - case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -79241,22 +77190,18 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } - case "DebugHookConfig": if err := awsAwsjson11_deserializeDocumentDebugHookConfig(&sv.DebugHookConfig, value); err != nil { return err } - case "DebugRuleConfigurations": if err := awsAwsjson11_deserializeDocumentDebugRuleConfigurations(&sv.DebugRuleConfigurations, value); err != nil { return err } - case "DebugRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatuses(&sv.DebugRuleEvaluationStatuses, value); err != nil { return err } - case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -79265,7 +77210,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -79274,7 +77218,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -79283,17 +77226,14 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentTrainingEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -79302,22 +77242,18 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.FailureReason = ptr.String(jtv) } - case "FinalMetricDataList": if err := awsAwsjson11_deserializeDocumentFinalMetricDataList(&sv.FinalMetricDataList, value); err != nil { return err } - case "HyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -79326,7 +77262,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.LabelingJobArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -79342,32 +77277,26 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } - case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "ProfilerConfig": if err := awsAwsjson11_deserializeDocumentProfilerConfig(&sv.ProfilerConfig, value); err != nil { return err } - case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -79376,7 +77305,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.RoleArn = ptr.String(jtv) } - case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -79385,27 +77313,22 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.SecondaryStatus = types.SecondaryStatus(jtv) } - case "SecondaryStatusTransitions": if err := awsAwsjson11_deserializeDocumentSecondaryStatusTransitions(&sv.SecondaryStatusTransitions, value); err != nil { return err } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TensorBoardOutputConfig": if err := awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(&sv.TensorBoardOutputConfig, value); err != nil { return err } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -79421,7 +77344,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -79430,7 +77352,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobArn = ptr.String(jtv) } - case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -79439,7 +77360,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobName = ptr.String(jtv) } - case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -79448,7 +77368,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } - case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -79464,7 +77383,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } - case "TrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -79477,7 +77395,6 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingTimeInSeconds = ptr.Int32(int32(i64)) } - case "TuningJobArn": if value != nil { jtv, ok := value.(string) @@ -79486,12 +77403,10 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TuningJobArn = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -79527,27 +77442,22 @@ func awsAwsjson11_deserializeDocumentTrainingJobDefinition(v **types.TrainingJob if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -79556,7 +77466,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobDefinition(v **types.TrainingJob } sv.TrainingInputMode = types.TrainingInputMode(jtv) } - default: _, _ = key, value @@ -79600,7 +77509,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.Completed = ptr.Int32(int32(i64)) } - case "InProgress": if value != nil { jtv, ok := value.(json.Number) @@ -79613,7 +77521,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.InProgress = ptr.Int32(int32(i64)) } - case "NonRetryableError": if value != nil { jtv, ok := value.(json.Number) @@ -79626,7 +77533,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.NonRetryableError = ptr.Int32(int32(i64)) } - case "RetryableError": if value != nil { jtv, ok := value.(json.Number) @@ -79639,7 +77545,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.RetryableError = ptr.Int32(int32(i64)) } - case "Stopped": if value != nil { jtv, ok := value.(json.Number) @@ -79652,7 +77557,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.Stopped = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -79692,7 +77596,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobStepMetadata(v **types.TrainingJ } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -79773,7 +77676,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -79789,7 +77691,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } - case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -79798,7 +77699,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.SecondaryStatus = types.SecondaryStatus(jtv) } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -79814,7 +77714,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -79823,7 +77722,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobArn = ptr.String(jtv) } - case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -79832,7 +77730,6 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobName = ptr.String(jtv) } - case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -79841,12 +77738,10 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } - case "WarmPoolStatus": if err := awsAwsjson11_deserializeDocumentWarmPoolStatus(&sv.WarmPoolStatus, value); err != nil { return err } - default: _, _ = key, value @@ -79886,7 +77781,6 @@ func awsAwsjson11_deserializeDocumentTrainingRepositoryAuthConfig(v **types.Trai } sv.TrainingRepositoryCredentialsProviderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -79922,27 +77816,22 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe if err := awsAwsjson11_deserializeDocumentAdditionalS3DataSource(&sv.AdditionalS3DataSource, value); err != nil { return err } - case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } - case "SupportedHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameterSpecifications(&sv.SupportedHyperParameters, value); err != nil { return err } - case "SupportedTrainingInstanceTypes": if err := awsAwsjson11_deserializeDocumentTrainingInstanceTypes(&sv.SupportedTrainingInstanceTypes, value); err != nil { return err } - case "SupportedTuningJobObjectiveMetrics": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjectives(&sv.SupportedTuningJobObjectiveMetrics, value); err != nil { return err } - case "SupportsDistributedTraining": if value != nil { jtv, ok := value.(bool) @@ -79951,12 +77840,10 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.SupportsDistributedTraining = ptr.Bool(jtv) } - case "TrainingChannels": if err := awsAwsjson11_deserializeDocumentChannelSpecifications(&sv.TrainingChannels, value); err != nil { return err } - case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -79965,7 +77852,6 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.TrainingImage = ptr.String(jtv) } - case "TrainingImageDigest": if value != nil { jtv, ok := value.(string) @@ -79974,7 +77860,6 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.TrainingImageDigest = ptr.String(jtv) } - default: _, _ = key, value @@ -80010,7 +77895,6 @@ func awsAwsjson11_deserializeDocumentTransformDataSource(v **types.TransformData if err := awsAwsjson11_deserializeDocumentTransformS3DataSource(&sv.S3DataSource, value); err != nil { return err } - default: _, _ = key, value @@ -80086,7 +77970,6 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.CompressionType = types.CompressionType(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -80095,12 +77978,10 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.ContentType = ptr.String(jtv) } - case "DataSource": if err := awsAwsjson11_deserializeDocumentTransformDataSource(&sv.DataSource, value); err != nil { return err } - case "SplitType": if value != nil { jtv, ok := value.(string) @@ -80109,7 +77990,6 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.SplitType = types.SplitType(jtv) } - default: _, _ = key, value @@ -80185,7 +78065,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.AutoMLJobArn = ptr.String(jtv) } - case "BatchStrategy": if value != nil { jtv, ok := value.(string) @@ -80194,7 +78073,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.BatchStrategy = types.BatchStrategy(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -80210,27 +78088,22 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } - case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } - case "DataProcessing": if err := awsAwsjson11_deserializeDocumentDataProcessing(&sv.DataProcessing, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -80239,7 +78112,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.FailureReason = ptr.String(jtv) } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -80248,7 +78120,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.LabelingJobArn = ptr.String(jtv) } - case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -80261,7 +78132,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } - case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -80274,12 +78144,10 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } - case "ModelClientConfig": if err := awsAwsjson11_deserializeDocumentModelClientConfig(&sv.ModelClientConfig, value); err != nil { return err } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -80288,12 +78156,10 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.ModelName = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -80309,12 +78175,10 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } - case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } - case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -80323,7 +78187,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobArn = ptr.String(jtv) } - case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -80332,7 +78195,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobName = ptr.String(jtv) } - case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -80341,17 +78203,14 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobStatus = types.TransformJobStatus(jtv) } - case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } - case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } - case "TransformStartTime": if value != nil { switch jtv := value.(type) { @@ -80367,7 +78226,6 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } - default: _, _ = key, value @@ -80407,12 +78265,10 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.BatchStrategy = types.BatchStrategy(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -80425,7 +78281,6 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } - case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -80438,22 +78293,18 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } - case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } - case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } - case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } - default: _, _ = key, value @@ -80493,7 +78344,6 @@ func awsAwsjson11_deserializeDocumentTransformJobStepMetadata(v **types.Transfor } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -80574,7 +78424,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -80583,7 +78432,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -80599,7 +78447,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } - case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -80615,7 +78462,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } - case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -80624,7 +78470,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobArn = ptr.String(jtv) } - case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -80633,7 +78478,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobName = ptr.String(jtv) } - case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -80642,7 +78486,6 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobStatus = types.TransformJobStatus(jtv) } - default: _, _ = key, value @@ -80682,7 +78525,6 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.Accept = ptr.String(jtv) } - case "AssembleWith": if value != nil { jtv, ok := value.(string) @@ -80691,7 +78533,6 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.AssembleWith = types.AssemblyType(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -80700,7 +78541,6 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.KmsKeyId = ptr.String(jtv) } - case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -80709,7 +78549,6 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.S3OutputPath = ptr.String(jtv) } - default: _, _ = key, value @@ -80753,7 +78592,6 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -80762,7 +78600,6 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.InstanceType = types.TransformInstanceType(jtv) } - case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -80771,7 +78608,6 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.VolumeKmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -80811,7 +78647,6 @@ func awsAwsjson11_deserializeDocumentTransformS3DataSource(v **types.TransformS3 } sv.S3DataType = types.S3DataType(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -80820,7 +78655,6 @@ func awsAwsjson11_deserializeDocumentTransformS3DataSource(v **types.TransformS3 } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -80856,7 +78690,6 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -80872,7 +78705,6 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -80881,7 +78713,6 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -80890,12 +78721,10 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.ExperimentName = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -80911,22 +78740,18 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.Source, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -80935,12 +78760,10 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.TrialArn = ptr.String(jtv) } - case "TrialComponentSummaries": if err := awsAwsjson11_deserializeDocumentTrialComponentSimpleSummaries(&sv.TrialComponentSummaries, value); err != nil { return err } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -80949,7 +78772,6 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.TrialName = ptr.String(jtv) } - default: _, _ = key, value @@ -80985,7 +78807,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -81001,7 +78822,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -81010,7 +78830,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.DisplayName = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -81026,17 +78845,14 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } - case "InputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.InputArtifacts, value); err != nil { return err } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -81052,7 +78868,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -81061,32 +78876,26 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.LineageGroupArn = ptr.String(jtv) } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Metrics": if err := awsAwsjson11_deserializeDocumentTrialComponentMetricSummaries(&sv.Metrics, value); err != nil { return err } - case "OutputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.OutputArtifacts, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentTrialComponentParameters(&sv.Parameters, value); err != nil { return err } - case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } - case "RunName": if value != nil { jtv, ok := value.(string) @@ -81095,17 +78904,14 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.RunName = ptr.String(jtv) } - case "Source": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.Source, value); err != nil { return err } - case "SourceDetail": if err := awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(&sv.SourceDetail, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -81121,17 +78927,14 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } - case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -81140,7 +78943,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.TrialComponentArn = ptr.String(jtv) } - case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -81149,7 +78951,6 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.TrialComponentName = ptr.String(jtv) } - default: _, _ = key, value @@ -81189,7 +78990,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentArtifact(v **types.TrialCompo } sv.MediaType = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -81198,7 +78998,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentArtifact(v **types.TrialCompo } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -81332,7 +79131,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -81345,7 +79143,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.Count = ptr.Int32(int32(i64)) } - case "Last": if value != nil { switch jtv := value.(type) { @@ -81379,7 +79176,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - case "Max": if value != nil { switch jtv := value.(type) { @@ -81413,7 +79209,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -81422,7 +79217,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.MetricName = ptr.String(jtv) } - case "Min": if value != nil { switch jtv := value.(type) { @@ -81456,7 +79250,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -81465,7 +79258,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.SourceArn = ptr.String(jtv) } - case "StdDev": if value != nil { switch jtv := value.(type) { @@ -81499,7 +79291,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -81515,7 +79306,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } - default: _, _ = key, value @@ -81698,7 +79488,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -81714,7 +79503,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -81723,7 +79511,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } sv.TrialComponentArn = ptr.String(jtv) } - case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -81732,12 +79519,10 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } sv.TrialComponentName = ptr.String(jtv) } - case "TrialComponentSource": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.TrialComponentSource, value); err != nil { return err } - default: _, _ = key, value @@ -81777,7 +79562,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSource(v **types.TrialCompone } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -81786,7 +79570,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSource(v **types.TrialCompone } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -81822,7 +79605,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(v **types.TrialC if err := awsAwsjson11_deserializeDocumentProcessingJob(&sv.ProcessingJob, value); err != nil { return err } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -81831,17 +79613,14 @@ func awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(v **types.TrialC } sv.SourceArn = ptr.String(jtv) } - case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJob(&sv.TrainingJob, value); err != nil { return err } - case "TransformJob": if err := awsAwsjson11_deserializeDocumentTransformJob(&sv.TransformJob, value); err != nil { return err } - default: _, _ = key, value @@ -81915,7 +79694,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentStatus(v **types.TrialCompone } sv.Message = ptr.String(jtv) } - case "PrimaryStatus": if value != nil { jtv, ok := value.(string) @@ -81924,7 +79702,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentStatus(v **types.TrialCompone } sv.PrimaryStatus = types.TrialComponentPrimaryStatus(jtv) } - default: _, _ = key, value @@ -81994,7 +79771,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -82010,7 +79786,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -82019,7 +79794,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.DisplayName = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -82035,12 +79809,10 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -82056,7 +79828,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -82072,12 +79843,10 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } - case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -82086,7 +79855,6 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.TrialComponentArn = ptr.String(jtv) } - case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -82095,12 +79863,10 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.TrialComponentName = ptr.String(jtv) } - case "TrialComponentSource": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.TrialComponentSource, value); err != nil { return err } - default: _, _ = key, value @@ -82140,7 +79906,6 @@ func awsAwsjson11_deserializeDocumentTrialSource(v **types.TrialSource, value in } sv.SourceArn = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -82149,7 +79914,6 @@ func awsAwsjson11_deserializeDocumentTrialSource(v **types.TrialSource, value in } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -82230,7 +79994,6 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -82239,7 +80002,6 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.DisplayName = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -82255,7 +80017,6 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } } - case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -82264,7 +80025,6 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.TrialArn = ptr.String(jtv) } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -82273,12 +80033,10 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.TrialName = ptr.String(jtv) } - case "TrialSource": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.TrialSource, value); err != nil { return err } - default: _, _ = key, value @@ -82318,7 +80076,6 @@ func awsAwsjson11_deserializeDocumentTtlDuration(v **types.TtlDuration, value in } sv.Unit = types.TtlDurationUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -82331,7 +80088,6 @@ func awsAwsjson11_deserializeDocumentTtlDuration(v **types.TtlDuration, value in } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -82367,12 +80123,10 @@ func awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(v **types.Tunin if err := awsAwsjson11_deserializeDocumentBestObjectiveNotImproving(&sv.BestObjectiveNotImproving, value); err != nil { return err } - case "ConvergenceDetected": if err := awsAwsjson11_deserializeDocumentConvergenceDetected(&sv.ConvergenceDetected, value); err != nil { return err } - case "TargetObjectiveMetricValue": if value != nil { switch jtv := value.(type) { @@ -82406,7 +80160,6 @@ func awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(v **types.Tunin } } - default: _, _ = key, value @@ -82446,7 +80199,6 @@ func awsAwsjson11_deserializeDocumentTuningJobStepMetaData(v **types.TuningJobSt } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -82486,7 +80238,6 @@ func awsAwsjson11_deserializeDocumentUiConfig(v **types.UiConfig, value interfac } sv.HumanTaskUiArn = ptr.String(jtv) } - case "UiTemplateS3Uri": if value != nil { jtv, ok := value.(string) @@ -82495,7 +80246,6 @@ func awsAwsjson11_deserializeDocumentUiConfig(v **types.UiConfig, value interfac } sv.UiTemplateS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -82535,7 +80285,6 @@ func awsAwsjson11_deserializeDocumentUiTemplateInfo(v **types.UiTemplateInfo, va } sv.ContentSha256 = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -82544,7 +80293,6 @@ func awsAwsjson11_deserializeDocumentUiTemplateInfo(v **types.UiTemplateInfo, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -82588,7 +80336,6 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.Cents = ptr.Int32(int32(i64)) } - case "Dollars": if value != nil { jtv, ok := value.(json.Number) @@ -82601,7 +80348,6 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.Dollars = ptr.Int32(int32(i64)) } - case "TenthFractionsOfACent": if value != nil { jtv, ok := value.(json.Number) @@ -82614,7 +80360,6 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.TenthFractionsOfACent = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -82654,12 +80399,10 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.DomainId = ptr.String(jtv) } - case "IamIdentity": if err := awsAwsjson11_deserializeDocumentIamIdentity(&sv.IamIdentity, value); err != nil { return err } - case "UserProfileArn": if value != nil { jtv, ok := value.(string) @@ -82668,7 +80411,6 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.UserProfileArn = ptr.String(jtv) } - case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -82677,7 +80419,6 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.UserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -82724,7 +80465,6 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -82733,7 +80473,6 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.DomainId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -82749,7 +80488,6 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -82758,7 +80496,6 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.Status = types.UserProfileStatus(jtv) } - case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -82767,7 +80504,6 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.UserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -82841,27 +80577,22 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.AutoMountHomeEFS = types.AutoMountHomeEFS(jtv) } - case "CanvasAppSettings": if err := awsAwsjson11_deserializeDocumentCanvasAppSettings(&sv.CanvasAppSettings, value); err != nil { return err } - case "CodeEditorAppSettings": if err := awsAwsjson11_deserializeDocumentCodeEditorAppSettings(&sv.CodeEditorAppSettings, value); err != nil { return err } - case "CustomFileSystemConfigs": if err := awsAwsjson11_deserializeDocumentCustomFileSystemConfigs(&sv.CustomFileSystemConfigs, value); err != nil { return err } - case "CustomPosixUserConfig": if err := awsAwsjson11_deserializeDocumentCustomPosixUserConfig(&sv.CustomPosixUserConfig, value); err != nil { return err } - case "DefaultLandingUri": if value != nil { jtv, ok := value.(string) @@ -82870,7 +80601,6 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DefaultLandingUri = ptr.String(jtv) } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -82879,47 +80609,38 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.ExecutionRole = ptr.String(jtv) } - case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } - case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } - case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } - case "RSessionAppSettings": if err := awsAwsjson11_deserializeDocumentRSessionAppSettings(&sv.RSessionAppSettings, value); err != nil { return err } - case "RStudioServerProAppSettings": if err := awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(&sv.RStudioServerProAppSettings, value); err != nil { return err } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } - case "SharingSettings": if err := awsAwsjson11_deserializeDocumentSharingSettings(&sv.SharingSettings, value); err != nil { return err } - case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } - case "StudioWebPortal": if value != nil { jtv, ok := value.(string) @@ -82928,17 +80649,14 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.StudioWebPortal = types.StudioWebPortal(jtv) } - case "StudioWebPortalSettings": if err := awsAwsjson11_deserializeDocumentStudioWebPortalSettings(&sv.StudioWebPortalSettings, value); err != nil { return err } - case "TensorBoardAppSettings": if err := awsAwsjson11_deserializeDocumentTensorBoardAppSettings(&sv.TensorBoardAppSettings, value); err != nil { return err } - default: _, _ = key, value @@ -82982,7 +80700,6 @@ func awsAwsjson11_deserializeDocumentVectorConfig(v **types.VectorConfig, value } sv.Dimension = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -83058,7 +80775,6 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.Arn = ptr.String(jtv) } - case "LineageType": if value != nil { jtv, ok := value.(string) @@ -83067,7 +80783,6 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.LineageType = types.LineageType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -83076,7 +80791,6 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -83146,12 +80860,10 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -83267,7 +80979,6 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.ResourceRetainedBillableTimeInSeconds = ptr.Int32(int32(i64)) } - case "ReusedByJob": if value != nil { jtv, ok := value.(string) @@ -83276,7 +80987,6 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.ReusedByJob = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -83285,7 +80995,6 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.Status = types.WarmPoolResourceStatus(jtv) } - default: _, _ = key, value @@ -83321,7 +81030,6 @@ func awsAwsjson11_deserializeDocumentWorkerAccessConfiguration(v **types.WorkerA if err := awsAwsjson11_deserializeDocumentS3Presign(&sv.S3Presign, value); err != nil { return err } - default: _, _ = key, value @@ -83357,7 +81065,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf if err := awsAwsjson11_deserializeDocumentCognitoConfig(&sv.CognitoConfig, value); err != nil { return err } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -83373,7 +81080,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -83382,7 +81088,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.FailureReason = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -83398,17 +81103,14 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } } - case "OidcConfig": if err := awsAwsjson11_deserializeDocumentOidcConfigForResponse(&sv.OidcConfig, value); err != nil { return err } - case "SourceIpConfig": if err := awsAwsjson11_deserializeDocumentSourceIpConfig(&sv.SourceIpConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -83417,7 +81119,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.Status = types.WorkforceStatus(jtv) } - case "SubDomain": if value != nil { jtv, ok := value.(string) @@ -83426,7 +81127,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.SubDomain = ptr.String(jtv) } - case "WorkforceArn": if value != nil { jtv, ok := value.(string) @@ -83435,7 +81135,6 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.WorkforceArn = ptr.String(jtv) } - case "WorkforceName": if value != nil { jtv, ok := value.(string) @@ -83444,12 +81143,10 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.WorkforceName = ptr.String(jtv) } - case "WorkforceVpcConfig": if err := awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(&sv.WorkforceVpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -83591,12 +81288,10 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo if err := awsAwsjson11_deserializeDocumentWorkforceSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsAwsjson11_deserializeDocumentWorkforceSubnets(&sv.Subnets, value); err != nil { return err } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -83605,7 +81300,6 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -83614,7 +81308,6 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -83654,7 +81347,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceSettings(v **types.WorkspaceSettin } sv.S3ArtifactPath = ptr.String(jtv) } - case "S3KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -83663,7 +81355,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceSettings(v **types.WorkspaceSettin } sv.S3KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -83710,7 +81401,6 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -83719,7 +81409,6 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.Description = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -83735,22 +81424,18 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } } - case "MemberDefinitions": if err := awsAwsjson11_deserializeDocumentMemberDefinitions(&sv.MemberDefinitions, value); err != nil { return err } - case "NotificationConfiguration": if err := awsAwsjson11_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - case "ProductListingIds": if err := awsAwsjson11_deserializeDocumentProductListings(&sv.ProductListingIds, value); err != nil { return err } - case "SubDomain": if value != nil { jtv, ok := value.(string) @@ -83759,12 +81444,10 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.SubDomain = ptr.String(jtv) } - case "WorkerAccessConfiguration": if err := awsAwsjson11_deserializeDocumentWorkerAccessConfiguration(&sv.WorkerAccessConfiguration, value); err != nil { return err } - case "WorkforceArn": if value != nil { jtv, ok := value.(string) @@ -83773,7 +81456,6 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkforceArn = ptr.String(jtv) } - case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -83782,7 +81464,6 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkteamArn = ptr.String(jtv) } - case "WorkteamName": if value != nil { jtv, ok := value.(string) @@ -83791,7 +81472,6 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkteamName = ptr.String(jtv) } - default: _, _ = key, value @@ -83865,7 +81545,6 @@ func awsAwsjson11_deserializeOpDocumentAddAssociationOutput(v **AddAssociationOu } sv.DestinationArn = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -83874,7 +81553,6 @@ func awsAwsjson11_deserializeOpDocumentAddAssociationOutput(v **AddAssociationOu } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -83910,7 +81588,6 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -83950,7 +81627,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateTrialComponentOutput(v **Associa } sv.TrialArn = ptr.String(jtv) } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -83959,7 +81635,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateTrialComponentOutput(v **Associa } sv.TrialComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -83995,12 +81670,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteClusterNodesOutput(v **BatchDe if err := awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesErrorList(&sv.Failed, value); err != nil { return err } - case "Successful": if err := awsAwsjson11_deserializeDocumentClusterNodeIds(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -84036,12 +81709,10 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeModelPackageOutput(v **Batch if err := awsAwsjson11_deserializeDocumentBatchDescribeModelPackageErrorMap(&sv.BatchDescribeModelPackageErrorMap, value); err != nil { return err } - case "ModelPackageSummaries": if err := awsAwsjson11_deserializeDocumentModelPackageSummaries(&sv.ModelPackageSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -84081,7 +81752,6 @@ func awsAwsjson11_deserializeOpDocumentCreateActionOutput(v **CreateActionOutput } sv.ActionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84121,7 +81791,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAlgorithmOutput(v **CreateAlgorithm } sv.AlgorithmArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84161,7 +81830,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppImageConfigOutput(v **CreateAppI } sv.AppImageConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84201,7 +81869,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu } sv.AppArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84241,7 +81908,6 @@ func awsAwsjson11_deserializeOpDocumentCreateArtifactOutput(v **CreateArtifactOu } sv.ArtifactArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84281,7 +81947,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoMLJobOutput(v **CreateAutoMLJob } sv.AutoMLJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84321,7 +81986,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoMLJobV2Output(v **CreateAutoMLJ } sv.AutoMLJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84361,7 +82025,6 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84401,7 +82064,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCodeRepositoryOutput(v **CreateCode } sv.CodeRepositoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84441,7 +82103,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCompilationJobOutput(v **CreateComp } sv.CompilationJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84481,7 +82142,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContextOutput(v **CreateContextOutp } sv.ContextArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84521,7 +82181,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataQualityJobDefinitionOutput(v ** } sv.JobDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84561,7 +82220,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainArn = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -84570,7 +82228,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -84610,7 +82267,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEdgeDeploymentPlanOutput(v **Create } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84650,7 +82306,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointConfigOutput(v **CreateEndp } sv.EndpointConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84690,7 +82345,6 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84730,7 +82384,6 @@ func awsAwsjson11_deserializeOpDocumentCreateExperimentOutput(v **CreateExperime } sv.ExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84770,7 +82423,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFeatureGroupOutput(v **CreateFeatur } sv.FeatureGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84810,7 +82462,6 @@ func awsAwsjson11_deserializeOpDocumentCreateFlowDefinitionOutput(v **CreateFlow } sv.FlowDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84850,7 +82501,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHubContentReferenceOutput(v **Creat } sv.HubArn = ptr.String(jtv) } - case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -84859,7 +82509,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHubContentReferenceOutput(v **Creat } sv.HubContentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84899,7 +82548,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHubOutput(v **CreateHubOutput, valu } sv.HubArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84939,7 +82587,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHumanTaskUiOutput(v **CreateHumanTa } sv.HumanTaskUiArn = ptr.String(jtv) } - default: _, _ = key, value @@ -84979,7 +82626,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHyperParameterTuningJobOutput(v **C } sv.HyperParameterTuningJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85019,7 +82665,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ImageArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85059,7 +82704,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImageVersionOutput(v **CreateImageV } sv.ImageVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85099,7 +82743,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceComponentOutput(v **Create } sv.InferenceComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85139,7 +82782,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceExperimentOutput(v **Creat } sv.InferenceExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85179,7 +82821,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceRecommendationsJobOutput(v } sv.JobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85219,7 +82860,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLabelingJobOutput(v **CreateLabelin } sv.LabelingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85259,7 +82899,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMlflowTrackingServerOutput(v **Crea } sv.TrackingServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85299,7 +82938,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelBiasJobDefinitionOutput(v **Cr } sv.JobDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85339,7 +82977,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelCardExportJobOutput(v **Create } sv.ModelCardExportJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85379,7 +83016,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelCardOutput(v **CreateModelCard } sv.ModelCardArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85419,7 +83055,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelExplainabilityJobDefinitionOut } sv.JobDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85459,7 +83094,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85499,7 +83133,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelPackageGroupOutput(v **CreateM } sv.ModelPackageGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85539,7 +83172,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelPackageOutput(v **CreateModelP } sv.ModelPackageArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85579,7 +83211,6 @@ func awsAwsjson11_deserializeOpDocumentCreateModelQualityJobDefinitionOutput(v * } sv.JobDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85619,7 +83250,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMonitoringScheduleOutput(v **Create } sv.MonitoringScheduleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85659,7 +83289,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookInstanceLifecycleConfigOutp } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85699,7 +83328,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookInstanceOutput(v **CreateNo } sv.NotebookInstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85739,7 +83367,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOptimizationJobOutput(v **CreateOpt } sv.OptimizationJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85779,7 +83406,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85819,7 +83445,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedDomainUrlOutput(v **Create } sv.AuthorizedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -85859,7 +83484,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedMlflowTrackingServerUrlOut } sv.AuthorizedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -85899,7 +83523,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookInstanceUrlOutput( } sv.AuthorizedUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -85939,7 +83562,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProcessingJobOutput(v **CreateProce } sv.ProcessingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -85979,7 +83601,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -85988,7 +83609,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectId = ptr.String(jtv) } - default: _, _ = key, value @@ -86028,7 +83648,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSpaceOutput(v **CreateSpaceOutput, } sv.SpaceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86068,7 +83687,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioLifecycleConfigOutput(v **Cre } sv.StudioLifecycleConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86108,7 +83726,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrainingJobOutput(v **CreateTrainin } sv.TrainingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86148,7 +83765,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTransformJobOutput(v **CreateTransf } sv.TransformJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86188,7 +83804,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrialComponentOutput(v **CreateTria } sv.TrialComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86228,7 +83843,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrialOutput(v **CreateTrialOutput, } sv.TrialArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86268,7 +83882,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.UserProfileArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86308,7 +83921,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkforceOutput(v **CreateWorkforce } sv.WorkforceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86348,7 +83960,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkteamOutput(v **CreateWorkteamOu } sv.WorkteamArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86388,7 +83999,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteActionOutput(v **DeleteActionOutput } sv.ActionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86428,7 +84038,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteArtifactOutput(v **DeleteArtifactOu } sv.ArtifactArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86468,7 +84077,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAssociationOutput(v **DeleteAssocia } sv.DestinationArn = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -86477,7 +84085,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAssociationOutput(v **DeleteAssocia } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86517,7 +84124,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86557,7 +84163,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteContextOutput(v **DeleteContextOutp } sv.ContextArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86597,7 +84202,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteExperimentOutput(v **DeleteExperime } sv.ExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86761,7 +84365,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInferenceExperimentOutput(v **Delet } sv.InferenceExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86801,7 +84404,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteMlflowTrackingServerOutput(v **Dele } sv.TrackingServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86841,7 +84443,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePipelineOutput(v **DeletePipelineOu } sv.PipelineArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86912,7 +84513,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrialComponentOutput(v **DeleteTria } sv.TrialComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -86952,7 +84552,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrialOutput(v **DeleteTrialOutput, } sv.TrialArn = ptr.String(jtv) } - default: _, _ = key, value @@ -87023,7 +84622,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkteamOutput(v **DeleteWorkteamOu } sv.Success = ptr.Bool(jtv) } - default: _, _ = key, value @@ -87063,7 +84661,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionArn = ptr.String(jtv) } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -87072,7 +84669,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionName = ptr.String(jtv) } - case "ActionType": if value != nil { jtv, ok := value.(string) @@ -87081,12 +84677,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionType = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87102,7 +84696,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -87111,12 +84704,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87132,7 +84723,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -87141,22 +84731,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.LineageGroupArn = ptr.String(jtv) } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentActionSource(&sv.Source, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -87165,7 +84751,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.Status = types.ActionStatus(jtv) } - default: _, _ = key, value @@ -87205,7 +84790,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmArn = ptr.String(jtv) } - case "AlgorithmDescription": if value != nil { jtv, ok := value.(string) @@ -87214,7 +84798,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmDescription = ptr.String(jtv) } - case "AlgorithmName": if value != nil { jtv, ok := value.(string) @@ -87223,7 +84806,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmName = ptr.String(jtv) } - case "AlgorithmStatus": if value != nil { jtv, ok := value.(string) @@ -87232,12 +84814,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmStatus = types.AlgorithmStatus(jtv) } - case "AlgorithmStatusDetails": if err := awsAwsjson11_deserializeDocumentAlgorithmStatusDetails(&sv.AlgorithmStatusDetails, value); err != nil { return err } - case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -87246,7 +84826,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.CertifyForMarketplace = ptr.Bool(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87262,12 +84841,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } } - case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -87276,17 +84853,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.ProductId = ptr.String(jtv) } - case "TrainingSpecification": if err := awsAwsjson11_deserializeDocumentTrainingSpecification(&sv.TrainingSpecification, value); err != nil { return err } - case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -87326,7 +84900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } sv.AppImageConfigArn = ptr.String(jtv) } - case "AppImageConfigName": if value != nil { jtv, ok := value.(string) @@ -87335,12 +84908,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } sv.AppImageConfigName = ptr.String(jtv) } - case "CodeEditorAppImageConfig": if err := awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(&sv.CodeEditorAppImageConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87356,17 +84927,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } } - case "JupyterLabAppImageConfig": if err := awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(&sv.JupyterLabAppImageConfig, value); err != nil { return err } - case "KernelGatewayImageConfig": if err := awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(&sv.KernelGatewayImageConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87382,7 +84950,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } } - default: _, _ = key, value @@ -87422,7 +84989,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppArn = ptr.String(jtv) } - case "AppName": if value != nil { jtv, ok := value.(string) @@ -87431,7 +84997,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppName = ptr.String(jtv) } - case "AppType": if value != nil { jtv, ok := value.(string) @@ -87440,7 +85005,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppType = types.AppType(jtv) } - case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -87449,7 +85013,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87465,7 +85028,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -87474,7 +85036,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.DomainId = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87483,7 +85044,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.FailureReason = ptr.String(jtv) } - case "LastHealthCheckTimestamp": if value != nil { switch jtv := value.(type) { @@ -87499,7 +85059,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } - case "LastUserActivityTimestamp": if value != nil { switch jtv := value.(type) { @@ -87515,12 +85074,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } - case "ResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.ResourceSpec, value); err != nil { return err } - case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -87529,7 +85086,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.SpaceName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -87538,7 +85094,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Status = types.AppStatus(jtv) } - case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -87547,7 +85102,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.UserProfileName = ptr.String(jtv) } - default: _, _ = key, value @@ -87587,7 +85141,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactArn = ptr.String(jtv) } - case "ArtifactName": if value != nil { jtv, ok := value.(string) @@ -87596,7 +85149,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactName = ptr.String(jtv) } - case "ArtifactType": if value != nil { jtv, ok := value.(string) @@ -87605,12 +85157,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactType = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87626,12 +85176,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87647,7 +85195,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -87656,22 +85203,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.LineageGroupArn = ptr.String(jtv) } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentArtifactSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -87711,17 +85254,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobArn = ptr.String(jtv) } - case "AutoMLJobArtifacts": if err := awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(&sv.AutoMLJobArtifacts, value); err != nil { return err } - case "AutoMLJobConfig": if err := awsAwsjson11_deserializeDocumentAutoMLJobConfig(&sv.AutoMLJobConfig, value); err != nil { return err } - case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -87730,12 +85270,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobName = ptr.String(jtv) } - case "AutoMLJobObjective": if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } - case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -87744,7 +85282,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } - case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -87753,12 +85290,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } - case "BestCandidate": if err := awsAwsjson11_deserializeDocumentAutoMLCandidate(&sv.BestCandidate, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87774,7 +85309,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -87790,7 +85324,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87799,7 +85332,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.FailureReason = ptr.String(jtv) } - case "GenerateCandidateDefinitionsOnly": if value != nil { jtv, ok := value.(bool) @@ -87808,12 +85340,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87829,27 +85359,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } - case "ModelDeployConfig": if err := awsAwsjson11_deserializeDocumentModelDeployConfig(&sv.ModelDeployConfig, value); err != nil { return err } - case "ModelDeployResult": if err := awsAwsjson11_deserializeDocumentModelDeployResult(&sv.ModelDeployResult, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } - case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -87858,12 +85383,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.ProblemType = types.ProblemType(jtv) } - case "ResolvedAttributes": if err := awsAwsjson11_deserializeDocumentResolvedAttributes(&sv.ResolvedAttributes, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -87872,7 +85395,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -87908,7 +85430,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut if err := awsAwsjson11_deserializeDocumentAutoMLComputeConfig(&sv.AutoMLComputeConfig, value); err != nil { return err } - case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -87917,17 +85438,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobArn = ptr.String(jtv) } - case "AutoMLJobArtifacts": if err := awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(&sv.AutoMLJobArtifacts, value); err != nil { return err } - case "AutoMLJobInputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLJobInputDataConfig(&sv.AutoMLJobInputDataConfig, value); err != nil { return err } - case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -87936,12 +85454,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobName = ptr.String(jtv) } - case "AutoMLJobObjective": if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } - case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -87950,7 +85466,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } - case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -87959,12 +85474,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } - case "AutoMLProblemTypeConfig": if err := awsAwsjson11_deserializeDocumentAutoMLProblemTypeConfig(&sv.AutoMLProblemTypeConfig, value); err != nil { return err } - case "AutoMLProblemTypeConfigName": if value != nil { jtv, ok := value.(string) @@ -87973,12 +85486,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLProblemTypeConfigName = types.AutoMLProblemTypeConfigName(jtv) } - case "BestCandidate": if err := awsAwsjson11_deserializeDocumentAutoMLCandidate(&sv.BestCandidate, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87994,12 +85505,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } - case "DataSplitConfig": if err := awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(&sv.DataSplitConfig, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -88015,7 +85524,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88024,7 +85532,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88040,32 +85547,26 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } - case "ModelDeployConfig": if err := awsAwsjson11_deserializeDocumentModelDeployConfig(&sv.ModelDeployConfig, value); err != nil { return err } - case "ModelDeployResult": if err := awsAwsjson11_deserializeDocumentModelDeployResult(&sv.ModelDeployResult, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } - case "ResolvedAttributes": if err := awsAwsjson11_deserializeDocumentAutoMLResolvedAttributes(&sv.ResolvedAttributes, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88074,12 +85575,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.RoleArn = ptr.String(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -88115,7 +85614,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterNodeOutput(v **DescribeClu if err := awsAwsjson11_deserializeDocumentClusterNodeDetails(&sv.NodeDetails, value); err != nil { return err } - default: _, _ = key, value @@ -88155,7 +85653,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterArn = ptr.String(jtv) } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -88164,7 +85661,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterName = ptr.String(jtv) } - case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -88173,7 +85669,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterStatus = types.ClusterStatus(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88189,7 +85684,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -88198,12 +85692,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.FailureMessage = ptr.String(jtv) } - case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentClusterInstanceGroupDetailsList(&sv.InstanceGroups, value); err != nil { return err } - case "NodeRecovery": if value != nil { jtv, ok := value.(string) @@ -88212,17 +85704,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.NodeRecovery = types.ClusterNodeRecovery(jtv) } - case "Orchestrator": if err := awsAwsjson11_deserializeDocumentClusterOrchestrator(&sv.Orchestrator, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -88262,7 +85751,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } sv.CodeRepositoryArn = ptr.String(jtv) } - case "CodeRepositoryName": if value != nil { jtv, ok := value.(string) @@ -88271,7 +85759,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } sv.CodeRepositoryName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88287,12 +85774,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } } - case "GitConfig": if err := awsAwsjson11_deserializeDocumentGitConfig(&sv.GitConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88308,7 +85793,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } } - default: _, _ = key, value @@ -88355,7 +85839,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } - case "CompilationJobArn": if value != nil { jtv, ok := value.(string) @@ -88364,7 +85847,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobArn = ptr.String(jtv) } - case "CompilationJobName": if value != nil { jtv, ok := value.(string) @@ -88373,7 +85855,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobName = ptr.String(jtv) } - case "CompilationJobStatus": if value != nil { jtv, ok := value.(string) @@ -88382,7 +85863,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobStatus = types.CompilationJobStatus(jtv) } - case "CompilationStartTime": if value != nil { switch jtv := value.(type) { @@ -88398,7 +85878,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88414,12 +85893,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } - case "DerivedInformation": if err := awsAwsjson11_deserializeDocumentDerivedInformation(&sv.DerivedInformation, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88428,7 +85905,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } - case "InferenceImage": if value != nil { jtv, ok := value.(string) @@ -88437,12 +85913,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.InferenceImage = ptr.String(jtv) } - case "InputConfig": if err := awsAwsjson11_deserializeDocumentInputConfig(&sv.InputConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88458,17 +85932,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } - case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } - case "ModelDigests": if err := awsAwsjson11_deserializeDocumentModelDigests(&sv.ModelDigests, value); err != nil { return err } - case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -88477,12 +85948,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.ModelPackageVersionArn = ptr.String(jtv) } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88491,17 +85960,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentNeoVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -88541,7 +86007,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextArn = ptr.String(jtv) } - case "ContextName": if value != nil { jtv, ok := value.(string) @@ -88550,7 +86015,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextName = ptr.String(jtv) } - case "ContextType": if value != nil { jtv, ok := value.(string) @@ -88559,12 +86023,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextType = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88580,7 +86042,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -88589,12 +86050,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88610,7 +86069,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -88619,17 +86077,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.LineageGroupArn = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentContextSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -88676,27 +86131,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } } - case "DataQualityAppSpecification": if err := awsAwsjson11_deserializeDocumentDataQualityAppSpecification(&sv.DataQualityAppSpecification, value); err != nil { return err } - case "DataQualityBaselineConfig": if err := awsAwsjson11_deserializeDocumentDataQualityBaselineConfig(&sv.DataQualityBaselineConfig, value); err != nil { return err } - case "DataQualityJobInput": if err := awsAwsjson11_deserializeDocumentDataQualityJobInput(&sv.DataQualityJobInput, value); err != nil { return err } - case "DataQualityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.DataQualityJobOutputConfig, value); err != nil { return err } - case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -88705,7 +86155,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.JobDefinitionArn = ptr.String(jtv) } - case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -88714,17 +86163,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.JobDefinitionName = ptr.String(jtv) } - case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88733,12 +86179,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - default: _, _ = key, value @@ -88785,7 +86229,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -88794,7 +86237,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.Description = ptr.String(jtv) } - case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -88803,7 +86245,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.DeviceFleetArn = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -88812,7 +86253,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.DeviceFleetName = ptr.String(jtv) } - case "IotRoleAlias": if value != nil { jtv, ok := value.(string) @@ -88821,7 +86261,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.IotRoleAlias = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88837,12 +86276,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88851,7 +86288,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -88891,7 +86327,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.AgentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -88900,7 +86335,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Description = ptr.String(jtv) } - case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -88909,7 +86343,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceArn = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -88918,7 +86351,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceFleetName = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -88927,7 +86359,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceName = ptr.String(jtv) } - case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -88936,7 +86367,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.IotThingName = ptr.String(jtv) } - case "LatestHeartbeat": if value != nil { switch jtv := value.(type) { @@ -88952,7 +86382,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - case "MaxModels": if value != nil { jtv, ok := value.(json.Number) @@ -88965,12 +86394,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.MaxModels = ptr.Int32(int32(i64)) } - case "Models": if err := awsAwsjson11_deserializeDocumentEdgeModels(&sv.Models, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -88979,7 +86406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.NextToken = ptr.String(jtv) } - case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -88995,7 +86421,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - default: _, _ = key, value @@ -89035,7 +86460,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AppNetworkAccessType = types.AppNetworkAccessType(jtv) } - case "AppSecurityGroupManagement": if value != nil { jtv, ok := value.(string) @@ -89044,7 +86468,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AppSecurityGroupManagement = types.AppSecurityGroupManagement(jtv) } - case "AuthMode": if value != nil { jtv, ok := value.(string) @@ -89053,7 +86476,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AuthMode = types.AuthMode(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89069,17 +86491,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } } - case "DefaultSpaceSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceSettings(&sv.DefaultSpaceSettings, value); err != nil { return err } - case "DefaultUserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.DefaultUserSettings, value); err != nil { return err } - case "DomainArn": if value != nil { jtv, ok := value.(string) @@ -89088,7 +86507,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainArn = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -89097,7 +86515,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -89106,12 +86523,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainName = ptr.String(jtv) } - case "DomainSettings": if err := awsAwsjson11_deserializeDocumentDomainSettings(&sv.DomainSettings, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -89120,7 +86535,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.FailureReason = ptr.String(jtv) } - case "HomeEfsFileSystemId": if value != nil { jtv, ok := value.(string) @@ -89129,7 +86543,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.HomeEfsFileSystemId = ptr.String(jtv) } - case "HomeEfsFileSystemKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -89138,7 +86551,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.HomeEfsFileSystemKmsKeyId = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -89147,7 +86559,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.KmsKeyId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89163,7 +86574,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } } - case "SecurityGroupIdForDomainBoundary": if value != nil { jtv, ok := value.(string) @@ -89172,7 +86582,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SecurityGroupIdForDomainBoundary = ptr.String(jtv) } - case "SingleSignOnApplicationArn": if value != nil { jtv, ok := value.(string) @@ -89181,7 +86590,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SingleSignOnApplicationArn = ptr.String(jtv) } - case "SingleSignOnManagedApplicationInstanceId": if value != nil { jtv, ok := value.(string) @@ -89190,7 +86598,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SingleSignOnManagedApplicationInstanceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -89199,12 +86606,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.Status = types.DomainStatus(jtv) } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.SubnetIds, value); err != nil { return err } - case "TagPropagation": if value != nil { jtv, ok := value.(string) @@ -89213,7 +86618,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.TagPropagation = types.TagPropagation(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -89222,7 +86626,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.Url = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -89231,7 +86634,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -89278,7 +86680,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -89287,7 +86688,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.DeviceFleetName = ptr.String(jtv) } - case "EdgeDeploymentFailed": if value != nil { jtv, ok := value.(json.Number) @@ -89300,7 +86700,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } - case "EdgeDeploymentPending": if value != nil { jtv, ok := value.(json.Number) @@ -89313,7 +86712,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } - case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -89322,7 +86720,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } - case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -89331,7 +86728,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPlanName = ptr.String(jtv) } - case "EdgeDeploymentSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -89344,7 +86740,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89360,12 +86755,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } } - case "ModelConfigs": if err := awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfigs(&sv.ModelConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -89374,12 +86767,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - case "Stages": if err := awsAwsjson11_deserializeDocumentDeploymentStageStatusSummaries(&sv.Stages, value); err != nil { return err } - default: _, _ = key, value @@ -89419,7 +86810,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.CompilationJobName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89435,7 +86825,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } } - case "EdgePackagingJobArn": if value != nil { jtv, ok := value.(string) @@ -89444,7 +86833,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobArn = ptr.String(jtv) } - case "EdgePackagingJobName": if value != nil { jtv, ok := value.(string) @@ -89453,7 +86841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobName = ptr.String(jtv) } - case "EdgePackagingJobStatus": if value != nil { jtv, ok := value.(string) @@ -89462,7 +86849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobStatus = types.EdgePackagingJobStatus(jtv) } - case "EdgePackagingJobStatusMessage": if value != nil { jtv, ok := value.(string) @@ -89471,7 +86857,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobStatusMessage = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89487,7 +86872,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } } - case "ModelArtifact": if value != nil { jtv, ok := value.(string) @@ -89496,7 +86880,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelArtifact = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -89505,7 +86888,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelName = ptr.String(jtv) } - case "ModelSignature": if value != nil { jtv, ok := value.(string) @@ -89514,7 +86896,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelSignature = ptr.String(jtv) } - case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -89523,17 +86904,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelVersion = ptr.String(jtv) } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "PresetDeploymentOutput": if err := awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(&sv.PresetDeploymentOutput, value); err != nil { return err } - case "ResourceKey": if value != nil { jtv, ok := value.(string) @@ -89542,7 +86920,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ResourceKey = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -89551,7 +86928,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -89587,7 +86963,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe if err := awsAwsjson11_deserializeDocumentAsyncInferenceConfig(&sv.AsyncInferenceConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89603,12 +86978,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } } - case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -89617,7 +86990,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "EndpointConfigArn": if value != nil { jtv, ok := value.(string) @@ -89626,7 +86998,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EndpointConfigArn = ptr.String(jtv) } - case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -89635,7 +87006,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EndpointConfigName = ptr.String(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -89644,12 +87014,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ExplainerConfig": if err := awsAwsjson11_deserializeDocumentExplainerConfig(&sv.ExplainerConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -89658,22 +87026,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.KmsKeyId = ptr.String(jtv) } - case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantList(&sv.ProductionVariants, value); err != nil { return err } - case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantList(&sv.ShadowProductionVariants, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -89709,7 +87073,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi if err := awsAwsjson11_deserializeDocumentAsyncInferenceConfig(&sv.AsyncInferenceConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89725,12 +87088,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } - case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(&sv.DataCaptureConfig, value); err != nil { return err } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -89739,7 +87100,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointArn = ptr.String(jtv) } - case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -89748,7 +87108,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointConfigName = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -89757,7 +87116,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointName = ptr.String(jtv) } - case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -89766,12 +87124,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointStatus = types.EndpointStatus(jtv) } - case "ExplainerConfig": if err := awsAwsjson11_deserializeDocumentExplainerConfig(&sv.ExplainerConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -89780,12 +87136,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.FailureReason = ptr.String(jtv) } - case "LastDeploymentConfig": if err := awsAwsjson11_deserializeDocumentDeploymentConfig(&sv.LastDeploymentConfig, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89801,22 +87155,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } - case "PendingDeploymentSummary": if err := awsAwsjson11_deserializeDocumentPendingDeploymentSummary(&sv.PendingDeploymentSummary, value); err != nil { return err } - case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } - case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } - default: _, _ = key, value @@ -89852,7 +87202,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89868,7 +87217,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -89877,7 +87225,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -89886,7 +87233,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.DisplayName = ptr.String(jtv) } - case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -89895,7 +87241,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.ExperimentArn = ptr.String(jtv) } - case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -89904,12 +87249,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.ExperimentName = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89925,12 +87268,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } } - case "Source": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -89977,7 +87318,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -89986,7 +87326,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.Description = ptr.String(jtv) } - case "EventTimeFeatureName": if value != nil { jtv, ok := value.(string) @@ -89995,7 +87334,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.EventTimeFeatureName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90004,12 +87342,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FailureReason = ptr.String(jtv) } - case "FeatureDefinitions": if err := awsAwsjson11_deserializeDocumentFeatureDefinitions(&sv.FeatureDefinitions, value); err != nil { return err } - case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -90018,7 +87354,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupArn = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -90027,7 +87362,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -90036,7 +87370,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90052,12 +87385,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } } - case "LastUpdateStatus": if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -90066,22 +87397,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.NextToken = ptr.String(jtv) } - case "OfflineStoreConfig": if err := awsAwsjson11_deserializeDocumentOfflineStoreConfig(&sv.OfflineStoreConfig, value); err != nil { return err } - case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } - case "OnlineStoreConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreConfig(&sv.OnlineStoreConfig, value); err != nil { return err } - case "OnlineStoreTotalSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -90094,7 +87421,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.OnlineStoreTotalSizeBytes = ptr.Int64(i64) } - case "RecordIdentifierFeatureName": if value != nil { jtv, ok := value.(string) @@ -90103,7 +87429,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.RecordIdentifierFeatureName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -90112,12 +87437,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.RoleArn = ptr.String(jtv) } - case "ThroughputConfig": if err := awsAwsjson11_deserializeDocumentThroughputConfigDescription(&sv.ThroughputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -90164,7 +87487,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -90173,7 +87495,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.Description = ptr.String(jtv) } - case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -90182,7 +87503,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureGroupArn = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -90191,7 +87511,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -90200,7 +87519,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureName = ptr.String(jtv) } - case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -90209,7 +87527,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureType = types.FeatureType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90225,12 +87542,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } } - case "Parameters": if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -90277,7 +87592,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90286,7 +87600,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } - case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -90295,7 +87608,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionArn = ptr.String(jtv) } - case "FlowDefinitionName": if value != nil { jtv, ok := value.(string) @@ -90304,7 +87616,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionName = ptr.String(jtv) } - case "FlowDefinitionStatus": if value != nil { jtv, ok := value.(string) @@ -90313,27 +87624,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionStatus = types.FlowDefinitionStatus(jtv) } - case "HumanLoopActivationConfig": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationConfig(&sv.HumanLoopActivationConfig, value); err != nil { return err } - case "HumanLoopConfig": if err := awsAwsjson11_deserializeDocumentHumanLoopConfig(&sv.HumanLoopConfig, value); err != nil { return err } - case "HumanLoopRequestSource": if err := awsAwsjson11_deserializeDocumentHumanLoopRequestSource(&sv.HumanLoopRequestSource, value); err != nil { return err } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -90342,7 +87648,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -90389,7 +87694,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } } - case "DocumentSchemaVersion": if value != nil { jtv, ok := value.(string) @@ -90398,7 +87702,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.DocumentSchemaVersion = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90407,7 +87710,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.FailureReason = ptr.String(jtv) } - case "HubArn": if value != nil { jtv, ok := value.(string) @@ -90416,7 +87718,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubArn = ptr.String(jtv) } - case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -90425,12 +87726,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentArn = ptr.String(jtv) } - case "HubContentDependencies": if err := awsAwsjson11_deserializeDocumentHubContentDependencyList(&sv.HubContentDependencies, value); err != nil { return err } - case "HubContentDescription": if value != nil { jtv, ok := value.(string) @@ -90439,7 +87738,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDescription = ptr.String(jtv) } - case "HubContentDisplayName": if value != nil { jtv, ok := value.(string) @@ -90448,7 +87746,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDisplayName = ptr.String(jtv) } - case "HubContentDocument": if value != nil { jtv, ok := value.(string) @@ -90457,7 +87754,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDocument = ptr.String(jtv) } - case "HubContentMarkdown": if value != nil { jtv, ok := value.(string) @@ -90466,7 +87762,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentMarkdown = ptr.String(jtv) } - case "HubContentName": if value != nil { jtv, ok := value.(string) @@ -90475,12 +87770,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentName = ptr.String(jtv) } - case "HubContentSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubContentSearchKeywordList(&sv.HubContentSearchKeywords, value); err != nil { return err } - case "HubContentStatus": if value != nil { jtv, ok := value.(string) @@ -90489,7 +87782,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentStatus = types.HubContentStatus(jtv) } - case "HubContentType": if value != nil { jtv, ok := value.(string) @@ -90498,7 +87790,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentType = types.HubContentType(jtv) } - case "HubContentVersion": if value != nil { jtv, ok := value.(string) @@ -90507,7 +87798,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentVersion = ptr.String(jtv) } - case "HubName": if value != nil { jtv, ok := value.(string) @@ -90516,7 +87806,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubName = ptr.String(jtv) } - case "ReferenceMinVersion": if value != nil { jtv, ok := value.(string) @@ -90525,7 +87814,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.ReferenceMinVersion = ptr.String(jtv) } - case "SageMakerPublicHubContentArn": if value != nil { jtv, ok := value.(string) @@ -90534,7 +87822,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.SageMakerPublicHubContentArn = ptr.String(jtv) } - case "SupportStatus": if value != nil { jtv, ok := value.(string) @@ -90543,7 +87830,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.SupportStatus = types.HubContentSupportStatus(jtv) } - default: _, _ = key, value @@ -90590,7 +87876,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90599,7 +87884,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.FailureReason = ptr.String(jtv) } - case "HubArn": if value != nil { jtv, ok := value.(string) @@ -90608,7 +87892,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubArn = ptr.String(jtv) } - case "HubDescription": if value != nil { jtv, ok := value.(string) @@ -90617,7 +87900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubDescription = ptr.String(jtv) } - case "HubDisplayName": if value != nil { jtv, ok := value.(string) @@ -90626,7 +87908,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubDisplayName = ptr.String(jtv) } - case "HubName": if value != nil { jtv, ok := value.(string) @@ -90635,12 +87916,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubName = ptr.String(jtv) } - case "HubSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubSearchKeywordList(&sv.HubSearchKeywords, value); err != nil { return err } - case "HubStatus": if value != nil { jtv, ok := value.(string) @@ -90649,7 +87928,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubStatus = types.HubStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90665,12 +87943,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } } - case "S3StorageConfig": if err := awsAwsjson11_deserializeDocumentHubS3StorageConfig(&sv.S3StorageConfig, value); err != nil { return err } - default: _, _ = key, value @@ -90717,7 +87993,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } } - case "HumanTaskUiArn": if value != nil { jtv, ok := value.(string) @@ -90726,7 +88001,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiArn = ptr.String(jtv) } - case "HumanTaskUiName": if value != nil { jtv, ok := value.(string) @@ -90735,7 +88009,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiName = ptr.String(jtv) } - case "HumanTaskUiStatus": if value != nil { jtv, ok := value.(string) @@ -90744,12 +88017,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiStatus = types.HumanTaskUiStatus(jtv) } - case "UiTemplate": if err := awsAwsjson11_deserializeDocumentUiTemplateInfo(&sv.UiTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -90785,17 +88056,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * if err := awsAwsjson11_deserializeDocumentAutotune(&sv.Autotune, value); err != nil { return err } - case "BestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.BestTrainingJob, value); err != nil { return err } - case "ConsumedResources": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(&sv.ConsumedResources, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -90811,7 +88079,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90820,7 +88087,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.FailureReason = ptr.String(jtv) } - case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -90836,7 +88102,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } - case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -90845,12 +88110,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobArn = ptr.String(jtv) } - case "HyperParameterTuningJobConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HyperParameterTuningJobConfig, value); err != nil { return err } - case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -90859,7 +88122,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobName = ptr.String(jtv) } - case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -90868,7 +88130,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90884,42 +88145,34 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } - case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } - case "OverallBestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.OverallBestTrainingJob, value); err != nil { return err } - case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } - case "TrainingJobDefinitions": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinitions(&sv.TrainingJobDefinitions, value); err != nil { return err } - case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } - case "TuningJobCompletionDetails": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(&sv.TuningJobCompletionDetails, value); err != nil { return err } - case "WarmStartConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(&sv.WarmStartConfig, value); err != nil { return err } - default: _, _ = key, value @@ -90966,7 +88219,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -90975,7 +88227,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -90984,7 +88235,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.DisplayName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90993,7 +88243,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.FailureReason = ptr.String(jtv) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -91002,7 +88251,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageArn = ptr.String(jtv) } - case "ImageName": if value != nil { jtv, ok := value.(string) @@ -91011,7 +88259,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageName = ptr.String(jtv) } - case "ImageStatus": if value != nil { jtv, ok := value.(string) @@ -91020,7 +88267,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageStatus = types.ImageStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91036,7 +88282,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91045,7 +88290,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -91085,7 +88329,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.BaseImage = ptr.String(jtv) } - case "ContainerImage": if value != nil { jtv, ok := value.(string) @@ -91094,7 +88337,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ContainerImage = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91110,7 +88352,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91119,7 +88360,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.FailureReason = ptr.String(jtv) } - case "Horovod": if value != nil { jtv, ok := value.(bool) @@ -91128,7 +88368,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Horovod = ptr.Bool(jtv) } - case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -91137,7 +88376,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageArn = ptr.String(jtv) } - case "ImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -91146,7 +88384,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageVersionArn = ptr.String(jtv) } - case "ImageVersionStatus": if value != nil { jtv, ok := value.(string) @@ -91155,7 +88392,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageVersionStatus = types.ImageVersionStatus(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -91164,7 +88400,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.JobType = types.JobType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91180,7 +88415,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } } - case "MLFramework": if value != nil { jtv, ok := value.(string) @@ -91189,7 +88423,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.MLFramework = ptr.String(jtv) } - case "Processor": if value != nil { jtv, ok := value.(string) @@ -91198,7 +88431,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Processor = types.Processor(jtv) } - case "ProgrammingLang": if value != nil { jtv, ok := value.(string) @@ -91207,7 +88439,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ProgrammingLang = ptr.String(jtv) } - case "ReleaseNotes": if value != nil { jtv, ok := value.(string) @@ -91216,7 +88447,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ReleaseNotes = ptr.String(jtv) } - case "VendorGuidance": if value != nil { jtv, ok := value.(string) @@ -91225,7 +88455,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.VendorGuidance = types.VendorGuidance(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -91238,7 +88467,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -91285,7 +88513,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -91294,7 +88521,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.EndpointArn = ptr.String(jtv) } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -91303,7 +88529,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.EndpointName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91312,7 +88537,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } - case "InferenceComponentArn": if value != nil { jtv, ok := value.(string) @@ -91321,7 +88545,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentArn = ptr.String(jtv) } - case "InferenceComponentName": if value != nil { jtv, ok := value.(string) @@ -91330,7 +88553,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentName = ptr.String(jtv) } - case "InferenceComponentStatus": if value != nil { jtv, ok := value.(string) @@ -91339,7 +88561,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentStatus = types.InferenceComponentStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91355,17 +88576,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } } - case "RuntimeConfig": if err := awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(&sv.RuntimeConfig, value); err != nil { return err } - case "Specification": if err := awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(&sv.Specification, value); err != nil { return err } - case "VariantName": if value != nil { jtv, ok := value.(string) @@ -91374,7 +88592,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.VariantName = ptr.String(jtv) } - default: _, _ = key, value @@ -91414,7 +88631,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Arn = ptr.String(jtv) } - case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -91430,7 +88646,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91446,12 +88661,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } - case "DataStorageConfig": if err := awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(&sv.DataStorageConfig, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -91460,12 +88673,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Description = ptr.String(jtv) } - case "EndpointMetadata": if err := awsAwsjson11_deserializeDocumentEndpointMetadata(&sv.EndpointMetadata, value); err != nil { return err } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -91474,7 +88685,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.KmsKey = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91490,12 +88700,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } - case "ModelVariants": if err := awsAwsjson11_deserializeDocumentModelVariantConfigSummaryList(&sv.ModelVariants, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -91504,7 +88712,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91513,17 +88720,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.RoleArn = ptr.String(jtv) } - case "Schedule": if err := awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(&sv.Schedule, value); err != nil { return err } - case "ShadowModeConfig": if err := awsAwsjson11_deserializeDocumentShadowModeConfig(&sv.ShadowModeConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -91532,7 +88736,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Status = types.InferenceExperimentStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -91541,7 +88744,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.StatusReason = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -91550,7 +88752,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Type = types.InferenceExperimentType(jtv) } - default: _, _ = key, value @@ -91597,7 +88798,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91613,12 +88813,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } - case "EndpointPerformances": if err := awsAwsjson11_deserializeDocumentEndpointPerformances(&sv.EndpointPerformances, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91627,17 +88825,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.FailureReason = ptr.String(jtv) } - case "InferenceRecommendations": if err := awsAwsjson11_deserializeDocumentInferenceRecommendations(&sv.InferenceRecommendations, value); err != nil { return err } - case "InputConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "JobArn": if value != nil { jtv, ok := value.(string) @@ -91646,7 +88841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobArn = ptr.String(jtv) } - case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -91655,7 +88849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobDescription = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -91664,7 +88857,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobName = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -91673,7 +88865,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobType = types.RecommendationJobType(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91689,7 +88880,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91698,7 +88888,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -91707,12 +88896,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.Status = types.RecommendationJobStatus(jtv) } - case "StoppingConditions": if err := awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(&sv.StoppingConditions, value); err != nil { return err } - default: _, _ = key, value @@ -91759,7 +88946,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91768,17 +88954,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.FailureReason = ptr.String(jtv) } - case "HumanTaskConfig": if err := awsAwsjson11_deserializeDocumentHumanTaskConfig(&sv.HumanTaskConfig, value); err != nil { return err } - case "InputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "JobReferenceCode": if value != nil { jtv, ok := value.(string) @@ -91787,7 +88970,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.JobReferenceCode = ptr.String(jtv) } - case "LabelAttributeName": if value != nil { jtv, ok := value.(string) @@ -91796,7 +88978,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelAttributeName = ptr.String(jtv) } - case "LabelCategoryConfigS3Uri": if value != nil { jtv, ok := value.(string) @@ -91805,17 +88986,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelCategoryConfigS3Uri = ptr.String(jtv) } - case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCounters(&sv.LabelCounters, value); err != nil { return err } - case "LabelingJobAlgorithmsConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(&sv.LabelingJobAlgorithmsConfig, value); err != nil { return err } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -91824,7 +89002,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobArn = ptr.String(jtv) } - case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -91833,12 +89010,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobName = ptr.String(jtv) } - case "LabelingJobOutput": if err := awsAwsjson11_deserializeDocumentLabelingJobOutput(&sv.LabelingJobOutput, value); err != nil { return err } - case "LabelingJobStatus": if value != nil { jtv, ok := value.(string) @@ -91847,7 +89022,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobStatus = types.LabelingJobStatus(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91863,12 +89037,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91877,17 +89049,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.RoleArn = ptr.String(jtv) } - case "StoppingConditions": if err := awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(&sv.StoppingConditions, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -91923,7 +89092,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91939,7 +89107,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -91948,7 +89115,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -91957,12 +89123,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.DisplayName = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91978,7 +89142,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -91987,7 +89150,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.LineageGroupArn = ptr.String(jtv) } - case "LineageGroupName": if value != nil { jtv, ok := value.(string) @@ -91996,7 +89158,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.LineageGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -92036,7 +89197,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.ArtifactStoreUri = ptr.String(jtv) } - case "AutomaticModelRegistration": if value != nil { jtv, ok := value.(bool) @@ -92045,12 +89205,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.AutomaticModelRegistration = ptr.Bool(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92066,7 +89224,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } } - case "IsActive": if value != nil { jtv, ok := value.(string) @@ -92075,12 +89232,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.IsActive = types.IsTrackingServerActive(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92096,7 +89251,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } } - case "MlflowVersion": if value != nil { jtv, ok := value.(string) @@ -92105,7 +89259,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.MlflowVersion = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -92114,7 +89267,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.RoleArn = ptr.String(jtv) } - case "TrackingServerArn": if value != nil { jtv, ok := value.(string) @@ -92123,7 +89275,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerArn = ptr.String(jtv) } - case "TrackingServerName": if value != nil { jtv, ok := value.(string) @@ -92132,7 +89283,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerName = ptr.String(jtv) } - case "TrackingServerSize": if value != nil { jtv, ok := value.(string) @@ -92141,7 +89291,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerSize = types.TrackingServerSize(jtv) } - case "TrackingServerStatus": if value != nil { jtv, ok := value.(string) @@ -92150,7 +89299,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerStatus = types.TrackingServerStatus(jtv) } - case "TrackingServerUrl": if value != nil { jtv, ok := value.(string) @@ -92159,7 +89307,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerUrl = ptr.String(jtv) } - case "WeeklyMaintenanceWindowStart": if value != nil { jtv, ok := value.(string) @@ -92168,7 +89315,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.WeeklyMaintenanceWindowStart = ptr.String(jtv) } - default: _, _ = key, value @@ -92215,7 +89361,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } } - case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -92224,7 +89369,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.JobDefinitionArn = ptr.String(jtv) } - case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -92233,37 +89377,30 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.JobDefinitionName = ptr.String(jtv) } - case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } - case "ModelBiasAppSpecification": if err := awsAwsjson11_deserializeDocumentModelBiasAppSpecification(&sv.ModelBiasAppSpecification, value); err != nil { return err } - case "ModelBiasBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelBiasBaselineConfig(&sv.ModelBiasBaselineConfig, value); err != nil { return err } - case "ModelBiasJobInput": if err := awsAwsjson11_deserializeDocumentModelBiasJobInput(&sv.ModelBiasJobInput, value); err != nil { return err } - case "ModelBiasJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelBiasJobOutputConfig, value); err != nil { return err } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -92272,12 +89409,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - default: _, _ = key, value @@ -92324,12 +89459,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } } - case "ExportArtifacts": if err := awsAwsjson11_deserializeDocumentModelCardExportArtifacts(&sv.ExportArtifacts, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -92338,7 +89471,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -92354,7 +89486,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } } - case "ModelCardExportJobArn": if value != nil { jtv, ok := value.(string) @@ -92363,7 +89494,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardExportJobArn = ptr.String(jtv) } - case "ModelCardExportJobName": if value != nil { jtv, ok := value.(string) @@ -92372,7 +89502,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardExportJobName = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -92381,7 +89510,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -92394,12 +89522,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentModelCardExportOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -92408,7 +89534,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.Status = types.ModelCardExportJobStatus(jtv) } - default: _, _ = key, value @@ -92448,12 +89573,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.Content = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92469,12 +89592,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92490,7 +89611,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } } - case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -92499,7 +89619,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardArn = ptr.String(jtv) } - case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -92508,7 +89627,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardName = ptr.String(jtv) } - case "ModelCardProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -92517,7 +89635,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardProcessingStatus = types.ModelCardProcessingStatus(jtv) } - case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -92526,7 +89643,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardStatus = types.ModelCardStatus(jtv) } - case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -92539,12 +89655,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardVersion = ptr.Int32(int32(i64)) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -92591,7 +89705,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } } - case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -92600,7 +89713,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.JobDefinitionArn = ptr.String(jtv) } - case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -92609,37 +89721,30 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.JobDefinitionName = ptr.String(jtv) } - case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } - case "ModelExplainabilityAppSpecification": if err := awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(&sv.ModelExplainabilityAppSpecification, value); err != nil { return err } - case "ModelExplainabilityBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelExplainabilityBaselineConfig(&sv.ModelExplainabilityBaselineConfig, value); err != nil { return err } - case "ModelExplainabilityJobInput": if err := awsAwsjson11_deserializeDocumentModelExplainabilityJobInput(&sv.ModelExplainabilityJobInput, value); err != nil { return err } - case "ModelExplainabilityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelExplainabilityJobOutputConfig, value); err != nil { return err } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -92648,12 +89753,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - default: _, _ = key, value @@ -92689,7 +89792,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.Containers, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92705,12 +89807,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } - case "DeploymentRecommendation": if err := awsAwsjson11_deserializeDocumentDeploymentRecommendation(&sv.DeploymentRecommendation, value); err != nil { return err } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -92719,7 +89819,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -92728,12 +89827,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ExecutionRoleArn = ptr.String(jtv) } - case "InferenceExecutionConfig": if err := awsAwsjson11_deserializeDocumentInferenceExecutionConfig(&sv.InferenceExecutionConfig, value); err != nil { return err } - case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -92742,7 +89839,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelArn = ptr.String(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -92751,17 +89847,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelName = ptr.String(jtv) } - case "PrimaryContainer": if err := awsAwsjson11_deserializeDocumentContainerDefinition(&sv.PrimaryContainer, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -92797,7 +89890,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92813,7 +89905,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } } - case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -92822,7 +89913,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupArn = ptr.String(jtv) } - case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -92831,7 +89921,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -92840,7 +89929,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -92849,7 +89937,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } - default: _, _ = key, value @@ -92885,7 +89972,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo if err := awsAwsjson11_deserializeDocumentAdditionalInferenceSpecifications(&sv.AdditionalInferenceSpecifications, value); err != nil { return err } - case "ApprovalDescription": if value != nil { jtv, ok := value.(string) @@ -92894,7 +89980,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ApprovalDescription = ptr.String(jtv) } - case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -92903,12 +89988,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.CertifyForMarketplace = ptr.Bool(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92924,12 +90007,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } } - case "CustomerMetadataProperties": if err := awsAwsjson11_deserializeDocumentCustomerMetadataMap(&sv.CustomerMetadataProperties, value); err != nil { return err } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -92938,22 +90019,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.Domain = ptr.String(jtv) } - case "DriftCheckBaselines": if err := awsAwsjson11_deserializeDocumentDriftCheckBaselines(&sv.DriftCheckBaselines, value); err != nil { return err } - case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92969,12 +90046,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -92983,22 +90058,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } - case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelPackageModelCard(&sv.ModelCard, value); err != nil { return err } - case "ModelLifeCycle": if err := awsAwsjson11_deserializeDocumentModelLifeCycle(&sv.ModelLifeCycle, value); err != nil { return err } - case "ModelMetrics": if err := awsAwsjson11_deserializeDocumentModelMetrics(&sv.ModelMetrics, value); err != nil { return err } - case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -93007,7 +90078,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageArn = ptr.String(jtv) } - case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -93016,7 +90086,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageDescription = ptr.String(jtv) } - case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -93025,7 +90094,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageGroupName = ptr.String(jtv) } - case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -93034,7 +90102,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageName = ptr.String(jtv) } - case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -93043,12 +90110,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } - case "ModelPackageStatusDetails": if err := awsAwsjson11_deserializeDocumentModelPackageStatusDetails(&sv.ModelPackageStatusDetails, value); err != nil { return err } - case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -93061,7 +90126,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } - case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -93070,12 +90134,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SamplePayloadUrl = ptr.String(jtv) } - case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } - case "SkipModelValidation": if value != nil { jtv, ok := value.(string) @@ -93084,12 +90146,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SkipModelValidation = types.SkipModelValidation(jtv) } - case "SourceAlgorithmSpecification": if err := awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(&sv.SourceAlgorithmSpecification, value); err != nil { return err } - case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -93098,7 +90158,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SourceUri = ptr.String(jtv) } - case "Task": if value != nil { jtv, ok := value.(string) @@ -93107,12 +90166,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.Task = ptr.String(jtv) } - case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } - default: _, _ = key, value @@ -93159,7 +90216,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } } - case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -93168,7 +90224,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.JobDefinitionArn = ptr.String(jtv) } - case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -93177,37 +90232,30 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.JobDefinitionName = ptr.String(jtv) } - case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } - case "ModelQualityAppSpecification": if err := awsAwsjson11_deserializeDocumentModelQualityAppSpecification(&sv.ModelQualityAppSpecification, value); err != nil { return err } - case "ModelQualityBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelQualityBaselineConfig(&sv.ModelQualityBaselineConfig, value); err != nil { return err } - case "ModelQualityJobInput": if err := awsAwsjson11_deserializeDocumentModelQualityJobInput(&sv.ModelQualityJobInput, value); err != nil { return err } - case "ModelQualityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelQualityJobOutputConfig, value); err != nil { return err } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -93216,12 +90264,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - default: _, _ = key, value @@ -93268,7 +90314,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -93277,7 +90322,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.EndpointName = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -93286,7 +90330,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -93302,12 +90345,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } } - case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -93316,12 +90357,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } - case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -93330,7 +90369,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleName = ptr.String(jtv) } - case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -93339,7 +90377,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } - case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -93348,7 +90385,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringType = types.MonitoringType(jtv) } - default: _, _ = key, value @@ -93395,7 +90431,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -93411,7 +90446,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } } - case "NotebookInstanceLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -93420,7 +90454,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -93429,17 +90462,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } - case "OnCreate": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigList(&sv.OnCreate, value); err != nil { return err } - case "OnStart": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigList(&sv.OnStart, value); err != nil { return err } - default: _, _ = key, value @@ -93475,12 +90505,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri if err := awsAwsjson11_deserializeDocumentNotebookInstanceAcceleratorTypes(&sv.AcceleratorTypes, value); err != nil { return err } - case "AdditionalCodeRepositories": if err := awsAwsjson11_deserializeDocumentAdditionalCodeRepositoryNamesOrUrls(&sv.AdditionalCodeRepositories, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -93496,7 +90524,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } } - case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -93505,7 +90532,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.DefaultCodeRepository = ptr.String(jtv) } - case "DirectInternetAccess": if value != nil { jtv, ok := value.(string) @@ -93514,7 +90540,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.DirectInternetAccess = types.DirectInternetAccess(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -93523,12 +90548,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.FailureReason = ptr.String(jtv) } - case "InstanceMetadataServiceConfiguration": if err := awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(&sv.InstanceMetadataServiceConfiguration, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -93537,7 +90560,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.InstanceType = types.InstanceType(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -93546,7 +90568,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.KmsKeyId = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -93562,7 +90583,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -93571,7 +90591,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NetworkInterfaceId = ptr.String(jtv) } - case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -93580,7 +90599,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceArn = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -93589,7 +90607,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } - case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -93598,7 +90615,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceName = ptr.String(jtv) } - case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -93607,7 +90623,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceStatus = types.NotebookInstanceStatus(jtv) } - case "PlatformIdentifier": if value != nil { jtv, ok := value.(string) @@ -93616,7 +90631,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.PlatformIdentifier = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -93625,7 +90639,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } - case "RootAccess": if value != nil { jtv, ok := value.(string) @@ -93634,12 +90647,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.RootAccess = types.RootAccess(jtv) } - case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -93648,7 +90659,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.SubnetId = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -93657,7 +90667,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.Url = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -93670,7 +90679,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -93717,7 +90725,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } - case "DeploymentInstanceType": if value != nil { jtv, ok := value.(string) @@ -93726,7 +90733,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.DeploymentInstanceType = types.OptimizationJobDeploymentInstanceType(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -93735,7 +90741,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -93751,17 +90756,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } - case "ModelSource": if err := awsAwsjson11_deserializeDocumentOptimizationJobModelSource(&sv.ModelSource, value); err != nil { return err } - case "OptimizationConfigs": if err := awsAwsjson11_deserializeDocumentOptimizationConfigs(&sv.OptimizationConfigs, value); err != nil { return err } - case "OptimizationEndTime": if value != nil { switch jtv := value.(type) { @@ -93777,12 +90779,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } - case "OptimizationEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OptimizationEnvironment, value); err != nil { return err } - case "OptimizationJobArn": if value != nil { jtv, ok := value.(string) @@ -93791,7 +90791,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobArn = ptr.String(jtv) } - case "OptimizationJobName": if value != nil { jtv, ok := value.(string) @@ -93800,7 +90799,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobName = ptr.String(jtv) } - case "OptimizationJobStatus": if value != nil { jtv, ok := value.(string) @@ -93809,12 +90807,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobStatus = types.OptimizationJobStatus(jtv) } - case "OptimizationOutput": if err := awsAwsjson11_deserializeDocumentOptimizationOutput(&sv.OptimizationOutput, value); err != nil { return err } - case "OptimizationStartTime": if value != nil { switch jtv := value.(type) { @@ -93830,12 +90826,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -93844,17 +90838,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentOptimizationVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -93901,7 +90892,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOut } } - case "PipelineDefinition": if value != nil { jtv, ok := value.(string) @@ -93910,7 +90900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOut } sv.PipelineDefinition = ptr.String(jtv) } - default: _, _ = key, value @@ -93946,7 +90935,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -93962,7 +90950,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -93971,12 +90958,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -93992,12 +90977,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } } - case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -94006,7 +90989,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineArn = ptr.String(jtv) } - case "PipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -94015,7 +90997,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionArn = ptr.String(jtv) } - case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -94024,7 +91005,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionDescription = ptr.String(jtv) } - case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -94033,7 +91013,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionDisplayName = ptr.String(jtv) } - case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -94042,17 +91021,14 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } - case "PipelineExperimentConfig": if err := awsAwsjson11_deserializeDocumentPipelineExperimentConfig(&sv.PipelineExperimentConfig, value); err != nil { return err } - case "SelectiveExecutionConfig": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(&sv.SelectiveExecutionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -94088,7 +91064,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -94104,12 +91079,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -94125,7 +91098,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } - case "LastRunTime": if value != nil { switch jtv := value.(type) { @@ -94141,12 +91113,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } - case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } - case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -94155,7 +91125,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineArn = ptr.String(jtv) } - case "PipelineDefinition": if value != nil { jtv, ok := value.(string) @@ -94164,7 +91133,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDefinition = ptr.String(jtv) } - case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -94173,7 +91141,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDescription = ptr.String(jtv) } - case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -94182,7 +91149,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDisplayName = ptr.String(jtv) } - case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -94191,7 +91157,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineName = ptr.String(jtv) } - case "PipelineStatus": if value != nil { jtv, ok := value.(string) @@ -94200,7 +91165,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineStatus = types.PipelineStatus(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -94209,7 +91173,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -94245,7 +91208,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP if err := awsAwsjson11_deserializeDocumentAppSpecification(&sv.AppSpecification, value); err != nil { return err } - case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -94254,7 +91216,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.AutoMLJobArn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -94270,12 +91231,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } - case "Environment": if err := awsAwsjson11_deserializeDocumentProcessingEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -94284,12 +91243,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ExitMessage = ptr.String(jtv) } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -94298,7 +91255,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.FailureReason = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -94314,7 +91270,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -94323,12 +91278,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.MonitoringScheduleArn = ptr.String(jtv) } - case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } - case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -94344,12 +91297,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } - case "ProcessingInputs": if err := awsAwsjson11_deserializeDocumentProcessingInputs(&sv.ProcessingInputs, value); err != nil { return err } - case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -94358,7 +91309,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobArn = ptr.String(jtv) } - case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -94367,7 +91317,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobName = ptr.String(jtv) } - case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -94376,17 +91325,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } - case "ProcessingOutputConfig": if err := awsAwsjson11_deserializeDocumentProcessingOutputConfig(&sv.ProcessingOutputConfig, value); err != nil { return err } - case "ProcessingResources": if err := awsAwsjson11_deserializeDocumentProcessingResources(&sv.ProcessingResources, value); err != nil { return err } - case "ProcessingStartTime": if value != nil { switch jtv := value.(type) { @@ -94402,7 +91348,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -94411,12 +91356,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.RoleArn = ptr.String(jtv) } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentProcessingStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -94425,7 +91368,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.TrainingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -94461,7 +91403,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -94477,12 +91418,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -94498,7 +91437,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } - case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -94507,7 +91445,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectArn = ptr.String(jtv) } - case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -94516,7 +91453,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectDescription = ptr.String(jtv) } - case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -94525,7 +91461,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectId = ptr.String(jtv) } - case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -94534,7 +91469,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectName = ptr.String(jtv) } - case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -94543,17 +91477,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectStatus = types.ProjectStatus(jtv) } - case "ServiceCatalogProvisionedProductDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(&sv.ServiceCatalogProvisionedProductDetails, value); err != nil { return err } - case "ServiceCatalogProvisioningDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(&sv.ServiceCatalogProvisioningDetails, value); err != nil { return err } - default: _, _ = key, value @@ -94600,7 +91531,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -94609,7 +91539,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.DomainId = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -94618,7 +91547,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.FailureReason = ptr.String(jtv) } - case "HomeEfsFileSystemUid": if value != nil { jtv, ok := value.(string) @@ -94627,7 +91555,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.HomeEfsFileSystemUid = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -94643,12 +91570,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } } - case "OwnershipSettings": if err := awsAwsjson11_deserializeDocumentOwnershipSettings(&sv.OwnershipSettings, value); err != nil { return err } - case "SpaceArn": if value != nil { jtv, ok := value.(string) @@ -94657,7 +91582,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceArn = ptr.String(jtv) } - case "SpaceDisplayName": if value != nil { jtv, ok := value.(string) @@ -94666,7 +91590,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceDisplayName = ptr.String(jtv) } - case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -94675,17 +91598,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceName = ptr.String(jtv) } - case "SpaceSettings": if err := awsAwsjson11_deserializeDocumentSpaceSettings(&sv.SpaceSettings, value); err != nil { return err } - case "SpaceSharingSettings": if err := awsAwsjson11_deserializeDocumentSpaceSharingSettings(&sv.SpaceSharingSettings, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -94694,7 +91614,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.Status = types.SpaceStatus(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -94703,7 +91622,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -94750,7 +91668,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -94766,7 +91683,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } } - case "StudioLifecycleConfigAppType": if value != nil { jtv, ok := value.(string) @@ -94775,7 +91691,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigAppType = types.StudioLifecycleConfigAppType(jtv) } - case "StudioLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -94784,7 +91699,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigArn = ptr.String(jtv) } - case "StudioLifecycleConfigContent": if value != nil { jtv, ok := value.(string) @@ -94793,7 +91707,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigContent = ptr.String(jtv) } - case "StudioLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -94802,7 +91715,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigName = ptr.String(jtv) } - default: _, _ = key, value @@ -94838,7 +91750,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscribedWorkteamOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSubscribedWorkteam(&sv.SubscribedWorkteam, value); err != nil { return err } - default: _, _ = key, value @@ -94874,7 +91785,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra if err := awsAwsjson11_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } - case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -94883,7 +91793,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.AutoMLJobArn = ptr.String(jtv) } - case "BillableTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -94896,12 +91805,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.BillableTimeInSeconds = ptr.Int32(int32(i64)) } - case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -94917,22 +91824,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } - case "DebugHookConfig": if err := awsAwsjson11_deserializeDocumentDebugHookConfig(&sv.DebugHookConfig, value); err != nil { return err } - case "DebugRuleConfigurations": if err := awsAwsjson11_deserializeDocumentDebugRuleConfigurations(&sv.DebugRuleConfigurations, value); err != nil { return err } - case "DebugRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatuses(&sv.DebugRuleEvaluationStatuses, value); err != nil { return err } - case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -94941,7 +91844,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } - case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -94950,7 +91852,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } - case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -94959,17 +91860,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableNetworkIsolation = ptr.Bool(jtv) } - case "Environment": if err := awsAwsjson11_deserializeDocumentTrainingEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -94978,27 +91876,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.FailureReason = ptr.String(jtv) } - case "FinalMetricDataList": if err := awsAwsjson11_deserializeDocumentFinalMetricDataList(&sv.FinalMetricDataList, value); err != nil { return err } - case "HyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } - case "InfraCheckConfig": if err := awsAwsjson11_deserializeDocumentInfraCheckConfig(&sv.InfraCheckConfig, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -95007,7 +91900,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.LabelingJobArn = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -95023,32 +91915,26 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } - case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "ProfilerConfig": if err := awsAwsjson11_deserializeDocumentProfilerConfig(&sv.ProfilerConfig, value); err != nil { return err } - case "ProfilerRuleConfigurations": if err := awsAwsjson11_deserializeDocumentProfilerRuleConfigurations(&sv.ProfilerRuleConfigurations, value); err != nil { return err } - case "ProfilerRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatuses(&sv.ProfilerRuleEvaluationStatuses, value); err != nil { return err } - case "ProfilingStatus": if value != nil { jtv, ok := value.(string) @@ -95057,22 +91943,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.ProfilingStatus = types.ProfilingStatus(jtv) } - case "RemoteDebugConfig": if err := awsAwsjson11_deserializeDocumentRemoteDebugConfig(&sv.RemoteDebugConfig, value); err != nil { return err } - case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } - case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -95081,7 +91963,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.RoleArn = ptr.String(jtv) } - case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -95090,22 +91971,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.SecondaryStatus = types.SecondaryStatus(jtv) } - case "SecondaryStatusTransitions": if err := awsAwsjson11_deserializeDocumentSecondaryStatusTransitions(&sv.SecondaryStatusTransitions, value); err != nil { return err } - case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } - case "TensorBoardOutputConfig": if err := awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(&sv.TensorBoardOutputConfig, value); err != nil { return err } - case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -95121,7 +91998,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } - case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -95130,7 +92006,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobArn = ptr.String(jtv) } - case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -95139,7 +92014,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobName = ptr.String(jtv) } - case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -95148,7 +92022,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } - case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -95164,7 +92037,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } - case "TrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -95177,7 +92049,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingTimeInSeconds = ptr.Int32(int32(i64)) } - case "TuningJobArn": if value != nil { jtv, ok := value.(string) @@ -95186,17 +92057,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TuningJobArn = ptr.String(jtv) } - case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } - case "WarmPoolStatus": if err := awsAwsjson11_deserializeDocumentWarmPoolStatus(&sv.WarmPoolStatus, value); err != nil { return err } - default: _, _ = key, value @@ -95236,7 +92104,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.AutoMLJobArn = ptr.String(jtv) } - case "BatchStrategy": if value != nil { jtv, ok := value.(string) @@ -95245,7 +92112,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.BatchStrategy = types.BatchStrategy(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -95261,27 +92127,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } - case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } - case "DataProcessing": if err := awsAwsjson11_deserializeDocumentDataProcessing(&sv.DataProcessing, value); err != nil { return err } - case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } - case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -95290,7 +92151,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.FailureReason = ptr.String(jtv) } - case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -95299,7 +92159,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.LabelingJobArn = ptr.String(jtv) } - case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -95312,7 +92171,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } - case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -95325,12 +92183,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } - case "ModelClientConfig": if err := awsAwsjson11_deserializeDocumentModelClientConfig(&sv.ModelClientConfig, value); err != nil { return err } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -95339,7 +92195,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.ModelName = ptr.String(jtv) } - case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -95355,12 +92210,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } - case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } - case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -95369,7 +92222,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobArn = ptr.String(jtv) } - case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -95378,7 +92230,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobName = ptr.String(jtv) } - case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -95387,17 +92238,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobStatus = types.TransformJobStatus(jtv) } - case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } - case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } - case "TransformStartTime": if value != nil { switch jtv := value.(type) { @@ -95413,7 +92261,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } - default: _, _ = key, value @@ -95449,7 +92296,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -95465,7 +92311,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -95474,7 +92319,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.DisplayName = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -95490,17 +92334,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } - case "InputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.InputArtifacts, value); err != nil { return err } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -95516,7 +92357,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } - case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -95525,37 +92365,30 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.LineageGroupArn = ptr.String(jtv) } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Metrics": if err := awsAwsjson11_deserializeDocumentTrialComponentMetricSummaries(&sv.Metrics, value); err != nil { return err } - case "OutputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.OutputArtifacts, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentTrialComponentParameters(&sv.Parameters, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.Source, value); err != nil { return err } - case "Sources": if err := awsAwsjson11_deserializeDocumentTrialComponentSources(&sv.Sources, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -95571,12 +92404,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } - case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -95585,7 +92416,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.TrialComponentArn = ptr.String(jtv) } - case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -95594,7 +92424,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.TrialComponentName = ptr.String(jtv) } - default: _, _ = key, value @@ -95630,7 +92459,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -95646,7 +92474,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -95655,7 +92482,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.DisplayName = ptr.String(jtv) } - case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -95664,12 +92490,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.ExperimentName = ptr.String(jtv) } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -95685,17 +92509,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } } - case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } - case "Source": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.Source, value); err != nil { return err } - case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -95704,7 +92525,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.TrialArn = ptr.String(jtv) } - case "TrialName": if value != nil { jtv, ok := value.(string) @@ -95713,7 +92533,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.TrialName = ptr.String(jtv) } - default: _, _ = key, value @@ -95760,7 +92579,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -95769,7 +92587,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.DomainId = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -95778,7 +92595,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.FailureReason = ptr.String(jtv) } - case "HomeEfsFileSystemUid": if value != nil { jtv, ok := value.(string) @@ -95787,7 +92603,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.HomeEfsFileSystemUid = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -95803,7 +92618,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } } - case "SingleSignOnUserIdentifier": if value != nil { jtv, ok := value.(string) @@ -95812,7 +92626,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.SingleSignOnUserIdentifier = ptr.String(jtv) } - case "SingleSignOnUserValue": if value != nil { jtv, ok := value.(string) @@ -95821,7 +92634,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.SingleSignOnUserValue = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -95830,7 +92642,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.Status = types.UserProfileStatus(jtv) } - case "UserProfileArn": if value != nil { jtv, ok := value.(string) @@ -95839,7 +92650,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.UserProfileArn = ptr.String(jtv) } - case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -95848,12 +92658,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.UserProfileName = ptr.String(jtv) } - case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -95889,7 +92697,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkforceOutput(v **DescribeWorkf if err := awsAwsjson11_deserializeDocumentWorkforce(&sv.Workforce, value); err != nil { return err } - default: _, _ = key, value @@ -95925,7 +92732,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkteamOutput(v **DescribeWorkte if err := awsAwsjson11_deserializeDocumentWorkteam(&sv.Workteam, value); err != nil { return err } - default: _, _ = key, value @@ -95996,7 +92802,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(v **Disa } sv.TrialArn = ptr.String(jtv) } - case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -96005,7 +92810,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(v **Disa } sv.TrialComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -96072,7 +92876,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF if err := awsAwsjson11_deserializeDocumentAgentVersions(&sv.AgentVersions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -96081,7 +92884,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.Description = ptr.String(jtv) } - case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -96090,7 +92892,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.DeviceFleetArn = ptr.String(jtv) } - case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -96099,22 +92900,18 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.DeviceFleetName = ptr.String(jtv) } - case "DeviceStats": if err := awsAwsjson11_deserializeDocumentDeviceStats(&sv.DeviceStats, value); err != nil { return err } - case "ModelStats": if err := awsAwsjson11_deserializeDocumentEdgeModelStats(&sv.ModelStats, value); err != nil { return err } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "ReportGenerated": if value != nil { switch jtv := value.(type) { @@ -96130,7 +92927,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } } - default: _, _ = key, value @@ -96170,7 +92966,6 @@ func awsAwsjson11_deserializeOpDocumentGetLineageGroupPolicyOutput(v **GetLineag } sv.LineageGroupArn = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -96179,7 +92974,6 @@ func awsAwsjson11_deserializeOpDocumentGetLineageGroupPolicyOutput(v **GetLineag } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -96219,7 +93013,6 @@ func awsAwsjson11_deserializeOpDocumentGetModelPackageGroupPolicyOutput(v **GetM } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -96259,7 +93052,6 @@ func awsAwsjson11_deserializeOpDocumentGetSagemakerServicecatalogPortfolioStatus } sv.Status = types.SagemakerServicecatalogStatus(jtv) } - default: _, _ = key, value @@ -96295,7 +93087,6 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp if err := awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(&sv.DynamicScalingConfiguration, value); err != nil { return err } - case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -96304,7 +93095,6 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.EndpointName = ptr.String(jtv) } - case "InferenceRecommendationsJobName": if value != nil { jtv, ok := value.(string) @@ -96313,12 +93103,10 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.InferenceRecommendationsJobName = ptr.String(jtv) } - case "Metric": if err := awsAwsjson11_deserializeDocumentScalingPolicyMetric(&sv.Metric, value); err != nil { return err } - case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -96327,12 +93115,10 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.RecommendationId = ptr.String(jtv) } - case "ScalingPolicyObjective": if err := awsAwsjson11_deserializeDocumentScalingPolicyObjective(&sv.ScalingPolicyObjective, value); err != nil { return err } - case "TargetCpuUtilizationPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -96345,7 +93131,6 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.TargetCpuUtilizationPerCore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -96381,7 +93166,6 @@ func awsAwsjson11_deserializeOpDocumentGetSearchSuggestionsOutput(v **GetSearchS if err := awsAwsjson11_deserializeDocumentPropertyNameSuggestionList(&sv.PropertyNameSuggestions, value); err != nil { return err } - default: _, _ = key, value @@ -96421,7 +93205,6 @@ func awsAwsjson11_deserializeOpDocumentImportHubContentOutput(v **ImportHubConte } sv.HubArn = ptr.String(jtv) } - case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -96430,7 +93213,6 @@ func awsAwsjson11_deserializeOpDocumentImportHubContentOutput(v **ImportHubConte } sv.HubContentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -96466,7 +93248,6 @@ func awsAwsjson11_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsAwsjson11_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96475,7 +93256,6 @@ func awsAwsjson11_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96511,7 +93291,6 @@ func awsAwsjson11_deserializeOpDocumentListAlgorithmsOutput(v **ListAlgorithmsOu if err := awsAwsjson11_deserializeDocumentAlgorithmSummaryList(&sv.AlgorithmSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96520,7 +93299,6 @@ func awsAwsjson11_deserializeOpDocumentListAlgorithmsOutput(v **ListAlgorithmsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96560,12 +93338,10 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } - case "SageMakerImageVersionAliases": if err := awsAwsjson11_deserializeDocumentSageMakerImageVersionAliases(&sv.SageMakerImageVersionAliases, value); err != nil { return err } - default: _, _ = key, value @@ -96601,7 +93377,6 @@ func awsAwsjson11_deserializeOpDocumentListAppImageConfigsOutput(v **ListAppImag if err := awsAwsjson11_deserializeDocumentAppImageConfigList(&sv.AppImageConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96610,7 +93385,6 @@ func awsAwsjson11_deserializeOpDocumentListAppImageConfigsOutput(v **ListAppImag } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96646,7 +93420,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsAwsjson11_deserializeDocumentAppList(&sv.Apps, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96655,7 +93428,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96691,7 +93463,6 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsAwsjson11_deserializeDocumentArtifactSummaries(&sv.ArtifactSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96700,7 +93471,6 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96736,7 +93506,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio if err := awsAwsjson11_deserializeDocumentAssociationSummaries(&sv.AssociationSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96745,7 +93514,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96781,7 +93549,6 @@ func awsAwsjson11_deserializeOpDocumentListAutoMLJobsOutput(v **ListAutoMLJobsOu if err := awsAwsjson11_deserializeDocumentAutoMLJobSummaries(&sv.AutoMLJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96790,7 +93557,6 @@ func awsAwsjson11_deserializeOpDocumentListAutoMLJobsOutput(v **ListAutoMLJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96826,7 +93592,6 @@ func awsAwsjson11_deserializeOpDocumentListCandidatesForAutoMLJobOutput(v **List if err := awsAwsjson11_deserializeDocumentAutoMLCandidates(&sv.Candidates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96835,7 +93600,6 @@ func awsAwsjson11_deserializeOpDocumentListCandidatesForAutoMLJobOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96871,7 +93635,6 @@ func awsAwsjson11_deserializeOpDocumentListClusterNodesOutput(v **ListClusterNod if err := awsAwsjson11_deserializeDocumentClusterNodeSummaries(&sv.ClusterNodeSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96880,7 +93643,6 @@ func awsAwsjson11_deserializeOpDocumentListClusterNodesOutput(v **ListClusterNod } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96916,7 +93678,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterSummaries(&sv.ClusterSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96925,7 +93686,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -96961,7 +93721,6 @@ func awsAwsjson11_deserializeOpDocumentListCodeRepositoriesOutput(v **ListCodeRe if err := awsAwsjson11_deserializeDocumentCodeRepositorySummaryList(&sv.CodeRepositorySummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96970,7 +93729,6 @@ func awsAwsjson11_deserializeOpDocumentListCodeRepositoriesOutput(v **ListCodeRe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97006,7 +93764,6 @@ func awsAwsjson11_deserializeOpDocumentListCompilationJobsOutput(v **ListCompila if err := awsAwsjson11_deserializeDocumentCompilationJobSummaries(&sv.CompilationJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97015,7 +93772,6 @@ func awsAwsjson11_deserializeOpDocumentListCompilationJobsOutput(v **ListCompila } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97051,7 +93807,6 @@ func awsAwsjson11_deserializeOpDocumentListContextsOutput(v **ListContextsOutput if err := awsAwsjson11_deserializeDocumentContextSummaries(&sv.ContextSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97060,7 +93815,6 @@ func awsAwsjson11_deserializeOpDocumentListContextsOutput(v **ListContextsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97096,7 +93850,6 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityJobDefinitionsOutput(v **L if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97105,7 +93858,6 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityJobDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97141,7 +93893,6 @@ func awsAwsjson11_deserializeOpDocumentListDeviceFleetsOutput(v **ListDeviceFlee if err := awsAwsjson11_deserializeDocumentDeviceFleetSummaries(&sv.DeviceFleetSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97150,7 +93901,6 @@ func awsAwsjson11_deserializeOpDocumentListDeviceFleetsOutput(v **ListDeviceFlee } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97186,7 +93936,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDeviceSummaries(&sv.DeviceSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97195,7 +93944,6 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97231,7 +93979,6 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97240,7 +93987,6 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97276,7 +94022,6 @@ func awsAwsjson11_deserializeOpDocumentListEdgeDeploymentPlansOutput(v **ListEdg if err := awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummaries(&sv.EdgeDeploymentPlanSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97285,7 +94030,6 @@ func awsAwsjson11_deserializeOpDocumentListEdgeDeploymentPlansOutput(v **ListEdg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97321,7 +94065,6 @@ func awsAwsjson11_deserializeOpDocumentListEdgePackagingJobsOutput(v **ListEdgeP if err := awsAwsjson11_deserializeDocumentEdgePackagingJobSummaries(&sv.EdgePackagingJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97330,7 +94073,6 @@ func awsAwsjson11_deserializeOpDocumentListEdgePackagingJobsOutput(v **ListEdgeP } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97366,7 +94108,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointConfigsOutput(v **ListEndpoin if err := awsAwsjson11_deserializeDocumentEndpointConfigSummaryList(&sv.EndpointConfigs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97375,7 +94116,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointConfigsOutput(v **ListEndpoin } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97411,7 +94151,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointSummaryList(&sv.Endpoints, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97420,7 +94159,6 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97456,7 +94194,6 @@ func awsAwsjson11_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsAwsjson11_deserializeDocumentExperimentSummaries(&sv.ExperimentSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97465,7 +94202,6 @@ func awsAwsjson11_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97501,7 +94237,6 @@ func awsAwsjson11_deserializeOpDocumentListFeatureGroupsOutput(v **ListFeatureGr if err := awsAwsjson11_deserializeDocumentFeatureGroupSummaries(&sv.FeatureGroupSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97510,7 +94245,6 @@ func awsAwsjson11_deserializeOpDocumentListFeatureGroupsOutput(v **ListFeatureGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97546,7 +94280,6 @@ func awsAwsjson11_deserializeOpDocumentListFlowDefinitionsOutput(v **ListFlowDef if err := awsAwsjson11_deserializeDocumentFlowDefinitionSummaries(&sv.FlowDefinitionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97555,7 +94288,6 @@ func awsAwsjson11_deserializeOpDocumentListFlowDefinitionsOutput(v **ListFlowDef } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97591,7 +94323,6 @@ func awsAwsjson11_deserializeOpDocumentListHubContentsOutput(v **ListHubContents if err := awsAwsjson11_deserializeDocumentHubContentInfoList(&sv.HubContentSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97600,7 +94331,6 @@ func awsAwsjson11_deserializeOpDocumentListHubContentsOutput(v **ListHubContents } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97636,7 +94366,6 @@ func awsAwsjson11_deserializeOpDocumentListHubContentVersionsOutput(v **ListHubC if err := awsAwsjson11_deserializeDocumentHubContentInfoList(&sv.HubContentSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97645,7 +94374,6 @@ func awsAwsjson11_deserializeOpDocumentListHubContentVersionsOutput(v **ListHubC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97681,7 +94409,6 @@ func awsAwsjson11_deserializeOpDocumentListHubsOutput(v **ListHubsOutput, value if err := awsAwsjson11_deserializeDocumentHubInfoList(&sv.HubSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97690,7 +94417,6 @@ func awsAwsjson11_deserializeOpDocumentListHubsOutput(v **ListHubsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97726,7 +94452,6 @@ func awsAwsjson11_deserializeOpDocumentListHumanTaskUisOutput(v **ListHumanTaskU if err := awsAwsjson11_deserializeDocumentHumanTaskUiSummaries(&sv.HumanTaskUiSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97735,7 +94460,6 @@ func awsAwsjson11_deserializeOpDocumentListHumanTaskUisOutput(v **ListHumanTaskU } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97771,7 +94495,6 @@ func awsAwsjson11_deserializeOpDocumentListHyperParameterTuningJobsOutput(v **Li if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummaries(&sv.HyperParameterTuningJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97780,7 +94503,6 @@ func awsAwsjson11_deserializeOpDocumentListHyperParameterTuningJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97816,7 +94538,6 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsAwsjson11_deserializeDocumentImages(&sv.Images, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97825,7 +94546,6 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97861,7 +94581,6 @@ func awsAwsjson11_deserializeOpDocumentListImageVersionsOutput(v **ListImageVers if err := awsAwsjson11_deserializeDocumentImageVersions(&sv.ImageVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97870,7 +94589,6 @@ func awsAwsjson11_deserializeOpDocumentListImageVersionsOutput(v **ListImageVers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97906,7 +94624,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceComponentsOutput(v **ListInf if err := awsAwsjson11_deserializeDocumentInferenceComponentSummaryList(&sv.InferenceComponents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97915,7 +94632,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceComponentsOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97951,7 +94667,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceExperimentsOutput(v **ListIn if err := awsAwsjson11_deserializeDocumentInferenceExperimentList(&sv.InferenceExperiments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -97960,7 +94675,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceExperimentsOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -97996,7 +94710,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobsOutput(v if err := awsAwsjson11_deserializeDocumentInferenceRecommendationsJobs(&sv.InferenceRecommendationsJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98005,7 +94718,6 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98045,12 +94757,10 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobStepsOutpu } sv.NextToken = ptr.String(jtv) } - case "Steps": if err := awsAwsjson11_deserializeDocumentInferenceRecommendationsJobSteps(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -98086,7 +94796,6 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsForWorkteamOutput(v **Lis if err := awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummaryList(&sv.LabelingJobSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98095,7 +94804,6 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsForWorkteamOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98131,7 +94839,6 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsOutput(v **ListLabelingJo if err := awsAwsjson11_deserializeDocumentLabelingJobSummaryList(&sv.LabelingJobSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98140,7 +94847,6 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsOutput(v **ListLabelingJo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98176,7 +94882,6 @@ func awsAwsjson11_deserializeOpDocumentListLineageGroupsOutput(v **ListLineageGr if err := awsAwsjson11_deserializeDocumentLineageGroupSummaries(&sv.LineageGroupSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98185,7 +94890,6 @@ func awsAwsjson11_deserializeOpDocumentListLineageGroupsOutput(v **ListLineageGr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98225,12 +94929,10 @@ func awsAwsjson11_deserializeOpDocumentListMlflowTrackingServersOutput(v **ListM } sv.NextToken = ptr.String(jtv) } - case "TrackingServerSummaries": if err := awsAwsjson11_deserializeDocumentTrackingServerSummaryList(&sv.TrackingServerSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -98266,7 +94968,6 @@ func awsAwsjson11_deserializeOpDocumentListModelBiasJobDefinitionsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98275,7 +94976,6 @@ func awsAwsjson11_deserializeOpDocumentListModelBiasJobDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98311,7 +95011,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardExportJobsOutput(v **ListMod if err := awsAwsjson11_deserializeDocumentModelCardExportJobSummaryList(&sv.ModelCardExportJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98320,7 +95019,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardExportJobsOutput(v **ListMod } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98356,7 +95054,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardsOutput(v **ListModelCardsOu if err := awsAwsjson11_deserializeDocumentModelCardSummaryList(&sv.ModelCardSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98365,7 +95062,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardsOutput(v **ListModelCardsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98401,7 +95097,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardVersionsOutput(v **ListModel if err := awsAwsjson11_deserializeDocumentModelCardVersionSummaryList(&sv.ModelCardVersionSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98410,7 +95105,6 @@ func awsAwsjson11_deserializeOpDocumentListModelCardVersionsOutput(v **ListModel } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98446,7 +95140,6 @@ func awsAwsjson11_deserializeOpDocumentListModelExplainabilityJobDefinitionsOutp if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98455,7 +95148,6 @@ func awsAwsjson11_deserializeOpDocumentListModelExplainabilityJobDefinitionsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98491,7 +95183,6 @@ func awsAwsjson11_deserializeOpDocumentListModelMetadataOutput(v **ListModelMeta if err := awsAwsjson11_deserializeDocumentModelMetadataSummaries(&sv.ModelMetadataSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98500,7 +95191,6 @@ func awsAwsjson11_deserializeOpDocumentListModelMetadataOutput(v **ListModelMeta } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98536,7 +95226,6 @@ func awsAwsjson11_deserializeOpDocumentListModelPackageGroupsOutput(v **ListMode if err := awsAwsjson11_deserializeDocumentModelPackageGroupSummaryList(&sv.ModelPackageGroupSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98545,7 +95234,6 @@ func awsAwsjson11_deserializeOpDocumentListModelPackageGroupsOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98581,7 +95269,6 @@ func awsAwsjson11_deserializeOpDocumentListModelPackagesOutput(v **ListModelPack if err := awsAwsjson11_deserializeDocumentModelPackageSummaryList(&sv.ModelPackageSummaryList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98590,7 +95277,6 @@ func awsAwsjson11_deserializeOpDocumentListModelPackagesOutput(v **ListModelPack } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98626,7 +95312,6 @@ func awsAwsjson11_deserializeOpDocumentListModelQualityJobDefinitionsOutput(v ** if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98635,7 +95320,6 @@ func awsAwsjson11_deserializeOpDocumentListModelQualityJobDefinitionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98671,7 +95355,6 @@ func awsAwsjson11_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsAwsjson11_deserializeDocumentModelSummaryList(&sv.Models, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98680,7 +95363,6 @@ func awsAwsjson11_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98716,7 +95398,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertHistoryOutput(v **List if err := awsAwsjson11_deserializeDocumentMonitoringAlertHistoryList(&sv.MonitoringAlertHistory, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98725,7 +95406,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertHistoryOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98761,7 +95441,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertsOutput(v **ListMonito if err := awsAwsjson11_deserializeDocumentMonitoringAlertSummaryList(&sv.MonitoringAlertSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98770,7 +95449,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertsOutput(v **ListMonito } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98806,7 +95484,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringExecutionsOutput(v **ListMo if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummaryList(&sv.MonitoringExecutionSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98815,7 +95492,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringExecutionsOutput(v **ListMo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98851,7 +95527,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringSchedulesOutput(v **ListMon if err := awsAwsjson11_deserializeDocumentMonitoringScheduleSummaryList(&sv.MonitoringScheduleSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -98860,7 +95535,6 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringSchedulesOutput(v **ListMon } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -98900,12 +95574,10 @@ func awsAwsjson11_deserializeOpDocumentListNotebookInstanceLifecycleConfigsOutpu } sv.NextToken = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigs": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummaryList(&sv.NotebookInstanceLifecycleConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -98945,12 +95617,10 @@ func awsAwsjson11_deserializeOpDocumentListNotebookInstancesOutput(v **ListNoteb } sv.NextToken = ptr.String(jtv) } - case "NotebookInstances": if err := awsAwsjson11_deserializeDocumentNotebookInstanceSummaryList(&sv.NotebookInstances, value); err != nil { return err } - default: _, _ = key, value @@ -98990,12 +95660,10 @@ func awsAwsjson11_deserializeOpDocumentListOptimizationJobsOutput(v **ListOptimi } sv.NextToken = ptr.String(jtv) } - case "OptimizationJobSummaries": if err := awsAwsjson11_deserializeDocumentOptimizationJobSummaries(&sv.OptimizationJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99035,12 +95703,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionsOutput(v **ListPipe } sv.NextToken = ptr.String(jtv) } - case "PipelineExecutionSummaries": if err := awsAwsjson11_deserializeDocumentPipelineExecutionSummaryList(&sv.PipelineExecutionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99080,12 +95746,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionStepsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "PipelineExecutionSteps": if err := awsAwsjson11_deserializeDocumentPipelineExecutionStepList(&sv.PipelineExecutionSteps, value); err != nil { return err } - default: _, _ = key, value @@ -99125,12 +95789,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelineParametersForExecutionOutput( } sv.NextToken = ptr.String(jtv) } - case "PipelineParameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.PipelineParameters, value); err != nil { return err } - default: _, _ = key, value @@ -99170,12 +95832,10 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } - case "PipelineSummaries": if err := awsAwsjson11_deserializeDocumentPipelineSummaryList(&sv.PipelineSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99215,12 +95875,10 @@ func awsAwsjson11_deserializeOpDocumentListProcessingJobsOutput(v **ListProcessi } sv.NextToken = ptr.String(jtv) } - case "ProcessingJobSummaries": if err := awsAwsjson11_deserializeDocumentProcessingJobSummaries(&sv.ProcessingJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99260,12 +95918,10 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } - case "ProjectSummaryList": if err := awsAwsjson11_deserializeDocumentProjectSummaryList(&sv.ProjectSummaryList, value); err != nil { return err } - default: _, _ = key, value @@ -99305,12 +95961,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceCatalogsOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } - case "ResourceCatalogs": if err := awsAwsjson11_deserializeDocumentResourceCatalogList(&sv.ResourceCatalogs, value); err != nil { return err } - default: _, _ = key, value @@ -99350,12 +96004,10 @@ func awsAwsjson11_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } - case "Spaces": if err := awsAwsjson11_deserializeDocumentSpaceList(&sv.Spaces, value); err != nil { return err } - default: _, _ = key, value @@ -99391,7 +96043,6 @@ func awsAwsjson11_deserializeOpDocumentListStageDevicesOutput(v **ListStageDevic if err := awsAwsjson11_deserializeDocumentDeviceDeploymentSummaries(&sv.DeviceDeploymentSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -99400,7 +96051,6 @@ func awsAwsjson11_deserializeOpDocumentListStageDevicesOutput(v **ListStageDevic } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -99440,12 +96090,10 @@ func awsAwsjson11_deserializeOpDocumentListStudioLifecycleConfigsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "StudioLifecycleConfigs": if err := awsAwsjson11_deserializeDocumentStudioLifecycleConfigsList(&sv.StudioLifecycleConfigs, value); err != nil { return err } - default: _, _ = key, value @@ -99485,12 +96133,10 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedWorkteamsOutput(v **ListSub } sv.NextToken = ptr.String(jtv) } - case "SubscribedWorkteams": if err := awsAwsjson11_deserializeDocumentSubscribedWorkteams(&sv.SubscribedWorkteams, value); err != nil { return err } - default: _, _ = key, value @@ -99530,12 +96176,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -99575,12 +96219,10 @@ func awsAwsjson11_deserializeOpDocumentListTrainingJobsForHyperParameterTuningJo } sv.NextToken = ptr.String(jtv) } - case "TrainingJobSummaries": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummaries(&sv.TrainingJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99620,12 +96262,10 @@ func awsAwsjson11_deserializeOpDocumentListTrainingJobsOutput(v **ListTrainingJo } sv.NextToken = ptr.String(jtv) } - case "TrainingJobSummaries": if err := awsAwsjson11_deserializeDocumentTrainingJobSummaries(&sv.TrainingJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99665,12 +96305,10 @@ func awsAwsjson11_deserializeOpDocumentListTransformJobsOutput(v **ListTransform } sv.NextToken = ptr.String(jtv) } - case "TransformJobSummaries": if err := awsAwsjson11_deserializeDocumentTransformJobSummaries(&sv.TransformJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99710,12 +96348,10 @@ func awsAwsjson11_deserializeOpDocumentListTrialComponentsOutput(v **ListTrialCo } sv.NextToken = ptr.String(jtv) } - case "TrialComponentSummaries": if err := awsAwsjson11_deserializeDocumentTrialComponentSummaries(&sv.TrialComponentSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99755,12 +96391,10 @@ func awsAwsjson11_deserializeOpDocumentListTrialsOutput(v **ListTrialsOutput, va } sv.NextToken = ptr.String(jtv) } - case "TrialSummaries": if err := awsAwsjson11_deserializeDocumentTrialSummaries(&sv.TrialSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -99800,12 +96434,10 @@ func awsAwsjson11_deserializeOpDocumentListUserProfilesOutput(v **ListUserProfil } sv.NextToken = ptr.String(jtv) } - case "UserProfiles": if err := awsAwsjson11_deserializeDocumentUserProfileList(&sv.UserProfiles, value); err != nil { return err } - default: _, _ = key, value @@ -99845,12 +96477,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkforcesOutput(v **ListWorkforcesOu } sv.NextToken = ptr.String(jtv) } - case "Workforces": if err := awsAwsjson11_deserializeDocumentWorkforces(&sv.Workforces, value); err != nil { return err } - default: _, _ = key, value @@ -99890,12 +96520,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkteamsOutput(v **ListWorkteamsOutp } sv.NextToken = ptr.String(jtv) } - case "Workteams": if err := awsAwsjson11_deserializeDocumentWorkteams(&sv.Workteams, value); err != nil { return err } - default: _, _ = key, value @@ -99935,7 +96563,6 @@ func awsAwsjson11_deserializeOpDocumentPutModelPackageGroupPolicyOutput(v **PutM } sv.ModelPackageGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -99971,7 +96598,6 @@ func awsAwsjson11_deserializeOpDocumentQueryLineageOutput(v **QueryLineageOutput if err := awsAwsjson11_deserializeDocumentEdges(&sv.Edges, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -99980,12 +96606,10 @@ func awsAwsjson11_deserializeOpDocumentQueryLineageOutput(v **QueryLineageOutput } sv.NextToken = ptr.String(jtv) } - case "Vertices": if err := awsAwsjson11_deserializeDocumentVertices(&sv.Vertices, value); err != nil { return err } - default: _, _ = key, value @@ -100021,7 +96645,6 @@ func awsAwsjson11_deserializeOpDocumentRenderUiTemplateOutput(v **RenderUiTempla if err := awsAwsjson11_deserializeDocumentRenderingErrorList(&sv.Errors, value); err != nil { return err } - case "RenderedContent": if value != nil { jtv, ok := value.(string) @@ -100030,7 +96653,6 @@ func awsAwsjson11_deserializeOpDocumentRenderUiTemplateOutput(v **RenderUiTempla } sv.RenderedContent = ptr.String(jtv) } - default: _, _ = key, value @@ -100070,7 +96692,6 @@ func awsAwsjson11_deserializeOpDocumentRetryPipelineExecutionOutput(v **RetryPip } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100110,12 +96731,10 @@ func awsAwsjson11_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentSearchResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -100155,7 +96774,6 @@ func awsAwsjson11_deserializeOpDocumentSendPipelineExecutionStepFailureOutput(v } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100195,7 +96813,6 @@ func awsAwsjson11_deserializeOpDocumentSendPipelineExecutionStepSuccessOutput(v } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100235,7 +96852,6 @@ func awsAwsjson11_deserializeOpDocumentStartInferenceExperimentOutput(v **StartI } sv.InferenceExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100275,7 +96891,6 @@ func awsAwsjson11_deserializeOpDocumentStartMlflowTrackingServerOutput(v **Start } sv.TrackingServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100315,7 +96930,6 @@ func awsAwsjson11_deserializeOpDocumentStartPipelineExecutionOutput(v **StartPip } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100355,7 +96969,6 @@ func awsAwsjson11_deserializeOpDocumentStopInferenceExperimentOutput(v **StopInf } sv.InferenceExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100395,7 +97008,6 @@ func awsAwsjson11_deserializeOpDocumentStopMlflowTrackingServerOutput(v **StopMl } sv.TrackingServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100435,7 +97047,6 @@ func awsAwsjson11_deserializeOpDocumentStopPipelineExecutionOutput(v **StopPipel } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100475,7 +97086,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateActionOutput(v **UpdateActionOutput } sv.ActionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100515,7 +97125,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppImageConfigOutput(v **UpdateAppI } sv.AppImageConfigArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100555,7 +97164,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateArtifactOutput(v **UpdateArtifactOu } sv.ArtifactArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100595,7 +97203,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.ClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100635,7 +97242,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterSoftwareOutput(v **UpdateClu } sv.ClusterArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100675,7 +97281,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCodeRepositoryOutput(v **UpdateCode } sv.CodeRepositoryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100715,7 +97320,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateContextOutput(v **UpdateContextOutp } sv.ContextArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100755,7 +97359,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100795,7 +97398,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100835,7 +97437,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointWeightsAndCapacitiesOutput( } sv.EndpointArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100875,7 +97476,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateExperimentOutput(v **UpdateExperime } sv.ExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100915,7 +97515,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFeatureGroupOutput(v **UpdateFeatur } sv.FeatureGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100955,7 +97554,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateHubOutput(v **UpdateHubOutput, valu } sv.HubArn = ptr.String(jtv) } - default: _, _ = key, value @@ -100995,7 +97593,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateImageOutput(v **UpdateImageOutput, } sv.ImageArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101035,7 +97632,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateImageVersionOutput(v **UpdateImageV } sv.ImageVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101075,7 +97671,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceComponentOutput(v **Update } sv.InferenceComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101115,7 +97710,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceComponentRuntimeConfigOutp } sv.InferenceComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101155,7 +97749,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceExperimentOutput(v **Updat } sv.InferenceExperimentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101195,7 +97788,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMlflowTrackingServerOutput(v **Upda } sv.TrackingServerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101235,7 +97827,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelCardOutput(v **UpdateModelCard } sv.ModelCardArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101275,7 +97866,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelPackageOutput(v **UpdateModelP } sv.ModelPackageArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101315,7 +97905,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringAlertOutput(v **UpdateMon } sv.MonitoringAlertName = ptr.String(jtv) } - case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -101324,7 +97913,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringAlertOutput(v **UpdateMon } sv.MonitoringScheduleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101364,7 +97952,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringScheduleOutput(v **Update } sv.MonitoringScheduleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101466,7 +98053,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineExecutionOutput(v **UpdateP } sv.PipelineExecutionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101506,7 +98092,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu } sv.PipelineArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101546,7 +98131,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.ProjectArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101586,7 +98170,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.SpaceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101626,7 +98209,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrainingJobOutput(v **UpdateTrainin } sv.TrainingJobArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101666,7 +98248,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrialComponentOutput(v **UpdateTria } sv.TrialComponentArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101706,7 +98287,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrialOutput(v **UpdateTrialOutput, } sv.TrialArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101746,7 +98326,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.UserProfileArn = ptr.String(jtv) } - default: _, _ = key, value @@ -101782,7 +98361,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkforceOutput(v **UpdateWorkforce if err := awsAwsjson11_deserializeDocumentWorkforce(&sv.Workforce, value); err != nil { return err } - default: _, _ = key, value @@ -101818,7 +98396,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkteamOutput(v **UpdateWorkteamOu if err := awsAwsjson11_deserializeDocumentWorkteam(&sv.Workteam, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/sagemakera2iruntime/deserializers.go b/service/sagemakera2iruntime/deserializers.go index fb2a02e6f2e..1bd1dd26714 100644 --- a/service/sagemakera2iruntime/deserializers.go +++ b/service/sagemakera2iruntime/deserializers.go @@ -285,7 +285,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.CreationTime = ptr.Time(t) } - case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -294,7 +293,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FailureCode = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -303,7 +301,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FailureReason = ptr.String(jtv) } - case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -312,7 +309,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FlowDefinitionArn = ptr.String(jtv) } - case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -321,7 +317,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopArn = ptr.String(jtv) } - case "HumanLoopName": if value != nil { jtv, ok := value.(string) @@ -330,12 +325,10 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopName = ptr.String(jtv) } - case "HumanLoopOutput": if err := awsRestjson1_deserializeDocumentHumanLoopOutput(&sv.HumanLoopOutput, value); err != nil { return err } - case "HumanLoopStatus": if value != nil { jtv, ok := value.(string) @@ -344,7 +337,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopStatus = types.HumanLoopStatus(jtv) } - default: _, _ = key, value @@ -505,7 +497,6 @@ func awsRestjson1_deserializeOpDocumentListHumanLoopsOutput(v **ListHumanLoopsOu if err := awsRestjson1_deserializeDocumentHumanLoopSummaries(&sv.HumanLoopSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -514,7 +505,6 @@ func awsRestjson1_deserializeOpDocumentListHumanLoopsOutput(v **ListHumanLoopsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -682,7 +672,6 @@ func awsRestjson1_deserializeOpDocumentStartHumanLoopOutput(v **StartHumanLoopOu } sv.HumanLoopArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1025,15 +1014,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1041,15 +1024,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1084,7 +1063,6 @@ func awsRestjson1_deserializeDocumentHumanLoopOutput(v **types.HumanLoopOutput, } sv.OutputS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -1162,7 +1140,6 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.CreationTime = ptr.Time(t) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -1171,7 +1148,6 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.FailureReason = ptr.String(jtv) } - case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -1180,7 +1156,6 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.FlowDefinitionArn = ptr.String(jtv) } - case "HumanLoopName": if value != nil { jtv, ok := value.(string) @@ -1189,7 +1164,6 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.HumanLoopName = ptr.String(jtv) } - case "HumanLoopStatus": if value != nil { jtv, ok := value.(string) @@ -1198,7 +1172,6 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.HumanLoopStatus = types.HumanLoopStatus(jtv) } - default: _, _ = key, value @@ -1228,15 +1201,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1244,15 +1211,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1277,15 +1240,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1293,15 +1250,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1326,15 +1279,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1342,15 +1289,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1375,15 +1318,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1391,15 +1328,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1424,15 +1357,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1440,15 +1367,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sagemakeredge/deserializers.go b/service/sagemakeredge/deserializers.go index b8ebffaa023..d7f45b859b9 100644 --- a/service/sagemakeredge/deserializers.go +++ b/service/sagemakeredge/deserializers.go @@ -172,7 +172,6 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocumentEdgeDeployments(&sv.Deployments, value); err != nil { return err } - default: _, _ = key, value @@ -328,7 +327,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceRegistrationOutput(v **GetDevice } sv.CacheTTL = ptr.String(jtv) } - case "DeviceRegistration": if value != nil { jtv, ok := value.(string) @@ -337,7 +335,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceRegistrationOutput(v **GetDevice } sv.DeviceRegistration = ptr.String(jtv) } - default: _, _ = key, value @@ -507,7 +504,6 @@ func awsRestjson1_deserializeDocumentChecksum(v **types.Checksum, value interfac } sv.Sum = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -516,7 +512,6 @@ func awsRestjson1_deserializeDocumentChecksum(v **types.Checksum, value interfac } sv.Type = types.ChecksumType(jtv) } - default: _, _ = key, value @@ -552,7 +547,6 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte if err := awsRestjson1_deserializeDocumentChecksum(&sv.Checksum, value); err != nil { return err } - case "ModelHandle": if value != nil { jtv, ok := value.(string) @@ -561,7 +555,6 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.ModelHandle = ptr.String(jtv) } - case "S3Url": if value != nil { jtv, ok := value.(string) @@ -570,7 +563,6 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.S3Url = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -579,7 +571,6 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.State = types.ModelState(jtv) } - default: _, _ = key, value @@ -649,7 +640,6 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va if err := awsRestjson1_deserializeDocumentDefinitions(&sv.Definitions, value); err != nil { return err } - case "DeploymentName": if value != nil { jtv, ok := value.(string) @@ -658,7 +648,6 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.DeploymentName = ptr.String(jtv) } - case "FailureHandlingPolicy": if value != nil { jtv, ok := value.(string) @@ -667,7 +656,6 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.FailureHandlingPolicy = types.FailureHandlingPolicy(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -676,7 +664,6 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.Type = types.DeploymentType(jtv) } - default: _, _ = key, value @@ -740,15 +727,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -756,15 +737,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sagemakerfeaturestoreruntime/deserializers.go b/service/sagemakerfeaturestoreruntime/deserializers.go index ecde566cff7..7a2f2bc059f 100644 --- a/service/sagemakerfeaturestoreruntime/deserializers.go +++ b/service/sagemakerfeaturestoreruntime/deserializers.go @@ -181,17 +181,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetRecordOutput(v **BatchGetRecordOu if err := awsRestjson1_deserializeDocumentBatchGetRecordErrors(&sv.Errors, value); err != nil { return err } - case "Records": if err := awsRestjson1_deserializeDocumentBatchGetRecordResultDetails(&sv.Records, value); err != nil { return err } - case "UnprocessedIdentifiers": if err := awsRestjson1_deserializeDocumentUnprocessedIdentifiers(&sv.UnprocessedIdentifiers, value); err != nil { return err } - default: _, _ = key, value @@ -462,12 +459,10 @@ func awsRestjson1_deserializeOpDocumentGetRecordOutput(v **GetRecordOutput, valu } sv.ExpiresAt = ptr.String(jtv) } - case "Record": if err := awsRestjson1_deserializeDocumentRecord(&sv.Record, value); err != nil { return err } - default: _, _ = key, value @@ -780,15 +775,9 @@ func awsRestjson1_deserializeDocumentAccessForbidden(v **types.AccessForbidden, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -796,15 +785,11 @@ func awsRestjson1_deserializeDocumentAccessForbidden(v **types.AccessForbidden, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -839,7 +824,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -848,7 +832,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.ErrorMessage = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -857,7 +840,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.FeatureGroupName = ptr.String(jtv) } - case "RecordIdentifierValueAsString": if value != nil { jtv, ok := value.(string) @@ -866,7 +848,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.RecordIdentifierValueAsString = ptr.String(jtv) } - default: _, _ = key, value @@ -940,17 +921,14 @@ func awsRestjson1_deserializeDocumentBatchGetRecordIdentifier(v **types.BatchGet } sv.FeatureGroupName = ptr.String(jtv) } - case "FeatureNames": if err := awsRestjson1_deserializeDocumentFeatureNames(&sv.FeatureNames, value); err != nil { return err } - case "RecordIdentifiersValueAsString": if err := awsRestjson1_deserializeDocumentRecordIdentifiers(&sv.RecordIdentifiersValueAsString, value); err != nil { return err } - default: _, _ = key, value @@ -990,7 +968,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.ExpiresAt = ptr.String(jtv) } - case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -999,12 +976,10 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.FeatureGroupName = ptr.String(jtv) } - case "Record": if err := awsRestjson1_deserializeDocumentRecord(&sv.Record, value); err != nil { return err } - case "RecordIdentifierValueAsString": if value != nil { jtv, ok := value.(string) @@ -1013,7 +988,6 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.RecordIdentifierValueAsString = ptr.String(jtv) } - default: _, _ = key, value @@ -1123,7 +1097,6 @@ func awsRestjson1_deserializeDocumentFeatureValue(v **types.FeatureValue, value } sv.FeatureName = ptr.String(jtv) } - case "ValueAsString": if value != nil { jtv, ok := value.(string) @@ -1132,12 +1105,10 @@ func awsRestjson1_deserializeDocumentFeatureValue(v **types.FeatureValue, value } sv.ValueAsString = ptr.String(jtv) } - case "ValueAsStringList": if err := awsRestjson1_deserializeDocumentValueAsStringList(&sv.ValueAsStringList, value); err != nil { return err } - default: _, _ = key, value @@ -1167,15 +1138,9 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1183,15 +1148,11 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1286,15 +1247,9 @@ func awsRestjson1_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1302,15 +1257,11 @@ func awsRestjson1_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1335,15 +1286,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1351,15 +1296,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1418,15 +1359,9 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1434,15 +1369,11 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sagemakergeospatial/deserializers.go b/service/sagemakergeospatial/deserializers.go index 83d1be2b1bb..42dacf8efc1 100644 --- a/service/sagemakergeospatial/deserializers.go +++ b/service/sagemakergeospatial/deserializers.go @@ -400,7 +400,6 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -413,7 +412,6 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.CreationTime = ptr.Time(t) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -422,7 +420,6 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ExportSourceImages": if value != nil { jtv, ok := value.(bool) @@ -431,7 +428,6 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExportSourceImages = ptr.Bool(jtv) } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -440,12 +436,10 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExportStatus = types.EarthObservationJobExportStatus(jtv) } - case "OutputConfig": if err := awsRestjson1_deserializeDocumentOutputConfigInput(&sv.OutputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -619,7 +613,6 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -632,7 +625,6 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.CreationTime = ptr.Time(t) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -641,7 +633,6 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -650,12 +641,10 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.ExportStatus = types.VectorEnrichmentJobExportStatus(jtv) } - case "OutputConfig": if err := awsRestjson1_deserializeDocumentExportVectorEnrichmentJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } - default: _, _ = key, value @@ -823,7 +812,6 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -836,7 +824,6 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -849,12 +836,10 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -863,12 +848,10 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ExportErrorDetails": if err := awsRestjson1_deserializeDocumentExportErrorDetails(&sv.ExportErrorDetails, value); err != nil { return err } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -877,17 +860,14 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.ExportStatus = types.EarthObservationJobExportStatus(jtv) } - case "InputConfig": if err := awsRestjson1_deserializeDocumentInputConfigOutput(&sv.InputConfig, value); err != nil { return err } - case "JobConfig": if err := awsRestjson1_deserializeDocumentJobConfigInput(&sv.JobConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -896,7 +876,6 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -905,12 +884,10 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Name = ptr.String(jtv) } - case "OutputBands": if err := awsRestjson1_deserializeDocumentEarthObservationJobOutputBands(&sv.OutputBands, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -919,12 +896,10 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Status = types.EarthObservationJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1092,7 +1067,6 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1101,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Description = ptr.String(jtv) } - case "DescriptionPageUrl": if value != nil { jtv, ok := value.(string) @@ -1110,12 +1083,10 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.DescriptionPageUrl = ptr.String(jtv) } - case "ImageSourceBands": if err := awsRestjson1_deserializeDocumentImageSourceBandList(&sv.ImageSourceBands, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1124,17 +1095,14 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Name = ptr.String(jtv) } - case "SupportedFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.SupportedFilters, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1143,7 +1111,6 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Type = types.DataCollectionType(jtv) } - default: _, _ = key, value @@ -1425,7 +1392,6 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -1438,7 +1404,6 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1451,12 +1416,10 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ErrorDetails": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1465,12 +1428,10 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.ExecutionRoleArn = ptr.String(jtv) } - case "ExportErrorDetails": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(&sv.ExportErrorDetails, value); err != nil { return err } - case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -1479,17 +1440,14 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.ExportStatus = types.VectorEnrichmentJobExportStatus(jtv) } - case "InputConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "JobConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobConfig(&sv.JobConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1498,7 +1456,6 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1507,7 +1464,6 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1516,12 +1472,10 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Status = types.VectorEnrichmentJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1530,7 +1484,6 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Type = types.VectorEnrichmentJobType(jtv) } - default: _, _ = key, value @@ -1694,7 +1647,6 @@ func awsRestjson1_deserializeOpDocumentListEarthObservationJobsOutput(v **ListEa if err := awsRestjson1_deserializeDocumentEarthObservationJobList(&sv.EarthObservationJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1703,7 +1655,6 @@ func awsRestjson1_deserializeOpDocumentListEarthObservationJobsOutput(v **ListEa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1871,12 +1822,10 @@ func awsRestjson1_deserializeOpDocumentListRasterDataCollectionsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - case "RasterDataCollectionSummaries": if err := awsRestjson1_deserializeDocumentDataCollectionsList(&sv.RasterDataCollectionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2040,7 +1989,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2208,12 +2156,10 @@ func awsRestjson1_deserializeOpDocumentListVectorEnrichmentJobsOutput(v **ListVe } sv.NextToken = ptr.String(jtv) } - case "VectorEnrichmentJobSummaries": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobList(&sv.VectorEnrichmentJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2385,12 +2331,10 @@ func awsRestjson1_deserializeOpDocumentSearchRasterDataCollectionOutput(v **Sear } sv.ApproximateResultCount = ptr.Int32(int32(i64)) } - case "Items": if err := awsRestjson1_deserializeDocumentItemSourceList(&sv.Items, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2399,7 +2343,6 @@ func awsRestjson1_deserializeOpDocumentSearchRasterDataCollectionOutput(v **Sear } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2573,7 +2516,6 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2528,6 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2599,7 +2540,6 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2608,17 +2548,14 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.ExecutionRoleArn = ptr.String(jtv) } - case "InputConfig": if err := awsRestjson1_deserializeDocumentInputConfigOutput(&sv.InputConfig, value); err != nil { return err } - case "JobConfig": if err := awsRestjson1_deserializeDocumentJobConfigInput(&sv.JobConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2627,7 +2564,6 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2636,7 +2572,6 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2645,12 +2580,10 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Status = types.EarthObservationJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2824,7 +2757,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -2837,7 +2769,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2850,7 +2781,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2859,17 +2789,14 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.ExecutionRoleArn = ptr.String(jtv) } - case "InputConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(&sv.InputConfig, value); err != nil { return err } - case "JobConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobConfig(&sv.JobConfig, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2878,7 +2805,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2887,7 +2813,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2896,12 +2821,10 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Status = types.VectorEnrichmentJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2910,7 +2833,6 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Type = types.VectorEnrichmentJobType(jtv) } - default: _, _ = key, value @@ -3598,15 +3520,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3614,15 +3530,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3780,7 +3692,6 @@ func awsRestjson1_deserializeDocumentAssetValue(v **types.AssetValue, value inte } sv.Href = ptr.String(jtv) } - default: _, _ = key, value @@ -3816,12 +3727,10 @@ func awsRestjson1_deserializeDocumentBandMathConfigInput(v **types.BandMathConfi if err := awsRestjson1_deserializeDocumentCustomIndicesInput(&sv.CustomIndices, value); err != nil { return err } - case "PredefinedIndices": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.PredefinedIndices, value); err != nil { return err } - default: _, _ = key, value @@ -3892,7 +3801,6 @@ func awsRestjson1_deserializeDocumentCloudRemovalConfigInput(v **types.CloudRemo } sv.AlgorithmName = types.AlgorithmNameCloudRemoval(jtv) } - case "InterpolationValue": if value != nil { jtv, ok := value.(string) @@ -3901,12 +3809,10 @@ func awsRestjson1_deserializeDocumentCloudRemovalConfigInput(v **types.CloudRemo } sv.InterpolationValue = ptr.String(jtv) } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - default: _, _ = key, value @@ -3936,15 +3842,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3952,7 +3852,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3961,15 +3860,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4000,7 +3895,6 @@ func awsRestjson1_deserializeDocumentCustomIndicesInput(v **types.CustomIndicesI if err := awsRestjson1_deserializeDocumentOperationsListInput(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -4074,7 +3968,6 @@ func awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(v **types.E } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4083,7 +3976,6 @@ func awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(v **types.E } sv.Type = types.EarthObservationJobErrorType(jtv) } - default: _, _ = key, value @@ -4216,7 +4108,6 @@ func awsRestjson1_deserializeDocumentEoCloudCoverInput(v **types.EoCloudCoverInp } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -4250,7 +4141,6 @@ func awsRestjson1_deserializeDocumentEoCloudCoverInput(v **types.EoCloudCoverInp } } - default: _, _ = key, value @@ -4286,12 +4176,10 @@ func awsRestjson1_deserializeDocumentExportErrorDetails(v **types.ExportErrorDet if err := awsRestjson1_deserializeDocumentExportErrorDetailsOutput(&sv.ExportResults, value); err != nil { return err } - case "ExportSourceImages": if err := awsRestjson1_deserializeDocumentExportErrorDetailsOutput(&sv.ExportSourceImages, value); err != nil { return err } - default: _, _ = key, value @@ -4331,7 +4219,6 @@ func awsRestjson1_deserializeDocumentExportErrorDetailsOutput(v **types.ExportEr } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4340,7 +4227,6 @@ func awsRestjson1_deserializeDocumentExportErrorDetailsOutput(v **types.ExportEr } sv.Type = types.ExportErrorType(jtv) } - default: _, _ = key, value @@ -4380,7 +4266,6 @@ func awsRestjson1_deserializeDocumentExportS3DataInput(v **types.ExportS3DataInp } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -4389,7 +4274,6 @@ func awsRestjson1_deserializeDocumentExportS3DataInput(v **types.ExportS3DataInp } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -4425,7 +4309,6 @@ func awsRestjson1_deserializeDocumentExportVectorEnrichmentJobOutputConfig(v **t if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(&sv.S3Data, value); err != nil { return err } - default: _, _ = key, value @@ -4490,7 +4373,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - case "Minimum": if value != nil { switch jtv := value.(type) { @@ -4524,7 +4406,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4533,7 +4414,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4542,7 +4422,6 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4612,7 +4491,6 @@ func awsRestjson1_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Coordinates, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4621,7 +4499,6 @@ func awsRestjson1_deserializeDocumentGeometry(v **types.Geometry, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -4661,12 +4538,10 @@ func awsRestjson1_deserializeDocumentGeoMosaicConfigInput(v **types.GeoMosaicCon } sv.AlgorithmName = types.AlgorithmNameGeoMosaic(jtv) } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - default: _, _ = key, value @@ -4742,12 +4617,10 @@ func awsRestjson1_deserializeDocumentInputConfigOutput(v **types.InputConfigOutp } sv.PreviousEarthObservationJobArn = ptr.String(jtv) } - case "RasterDataCollectionQuery": if err := awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(&sv.RasterDataCollectionQuery, value); err != nil { return err } - default: _, _ = key, value @@ -4777,15 +4650,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4793,7 +4660,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4802,15 +4668,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4841,7 +4703,6 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte if err := awsRestjson1_deserializeDocumentAssetsMap(&sv.Assets, value); err != nil { return err } - case "DateTime": if value != nil { switch jtv := value.(type) { @@ -4857,12 +4718,10 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte } } - case "Geometry": if err := awsRestjson1_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4871,12 +4730,10 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte } sv.Id = ptr.String(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentProperties(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -5126,7 +4983,6 @@ func awsRestjson1_deserializeDocumentLandsatCloudCoverLandInput(v **types.Landsa } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -5160,7 +5016,6 @@ func awsRestjson1_deserializeDocumentLandsatCloudCoverLandInput(v **types.Landsa } } - default: _, _ = key, value @@ -5296,7 +5151,6 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5163,6 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5322,7 +5175,6 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5331,7 +5183,6 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Name = ptr.String(jtv) } - case "OperationType": if value != nil { jtv, ok := value.(string) @@ -5340,7 +5191,6 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.OperationType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5349,12 +5199,10 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Status = types.EarthObservationJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5394,7 +5242,6 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5254,6 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.CreationTime = ptr.Time(t) } - case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5420,7 +5266,6 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5429,7 +5274,6 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5438,12 +5282,10 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Status = types.VectorEnrichmentJobStatus(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5452,7 +5294,6 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Type = types.VectorEnrichmentJobType(jtv) } - default: _, _ = key, value @@ -5492,7 +5333,6 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.IdAttributeName = ptr.String(jtv) } - case "TimestampAttributeName": if value != nil { jtv, ok := value.(string) @@ -5501,7 +5341,6 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.TimestampAttributeName = ptr.String(jtv) } - case "XAttributeName": if value != nil { jtv, ok := value.(string) @@ -5510,7 +5349,6 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.XAttributeName = ptr.String(jtv) } - case "YAttributeName": if value != nil { jtv, ok := value.(string) @@ -5519,7 +5357,6 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.YAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -5555,7 +5392,6 @@ func awsRestjson1_deserializeDocumentMultiPolygonGeometryInput(v **types.MultiPo if err := awsRestjson1_deserializeDocumentLinearRingsList(&sv.Coordinates, value); err != nil { return err } - default: _, _ = key, value @@ -5595,7 +5431,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Equation = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5604,7 +5439,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Name = ptr.String(jtv) } - case "OutputType": if value != nil { jtv, ok := value.(string) @@ -5613,7 +5447,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.OutputType = types.OutputType(jtv) } - default: _, _ = key, value @@ -5687,7 +5520,6 @@ func awsRestjson1_deserializeDocumentOutputBand(v **types.OutputBand, value inte } sv.BandName = ptr.String(jtv) } - case "OutputDataType": if value != nil { jtv, ok := value.(string) @@ -5696,7 +5528,6 @@ func awsRestjson1_deserializeDocumentOutputBand(v **types.OutputBand, value inte } sv.OutputDataType = types.OutputType(jtv) } - default: _, _ = key, value @@ -5732,7 +5563,6 @@ func awsRestjson1_deserializeDocumentOutputConfigInput(v **types.OutputConfigInp if err := awsRestjson1_deserializeDocumentExportS3DataInput(&sv.S3Data, value); err != nil { return err } - default: _, _ = key, value @@ -5768,7 +5598,6 @@ func awsRestjson1_deserializeDocumentOutputResolutionResamplingInput(v **types.O if err := awsRestjson1_deserializeDocumentUserDefined(&sv.UserDefined, value); err != nil { return err } - default: _, _ = key, value @@ -5808,12 +5637,10 @@ func awsRestjson1_deserializeDocumentOutputResolutionStackInput(v **types.Output } sv.Predefined = types.PredefinedResolution(jtv) } - case "UserDefined": if err := awsRestjson1_deserializeDocumentUserDefined(&sv.UserDefined, value); err != nil { return err } - default: _, _ = key, value @@ -5853,7 +5680,6 @@ func awsRestjson1_deserializeDocumentPlatformInput(v **types.PlatformInput, valu } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5862,7 +5688,6 @@ func awsRestjson1_deserializeDocumentPlatformInput(v **types.PlatformInput, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5898,7 +5723,6 @@ func awsRestjson1_deserializeDocumentPolygonGeometryInput(v **types.PolygonGeome if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Coordinates, value); err != nil { return err } - default: _, _ = key, value @@ -6024,7 +5848,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } - case "LandsatCloudCoverLand": if value != nil { switch jtv := value.(type) { @@ -6058,7 +5881,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } - case "Platform": if value != nil { jtv, ok := value.(string) @@ -6067,7 +5889,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } sv.Platform = ptr.String(jtv) } - case "ViewOffNadir": if value != nil { switch jtv := value.(type) { @@ -6101,7 +5922,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } - case "ViewSunAzimuth": if value != nil { switch jtv := value.(type) { @@ -6135,7 +5955,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } - case "ViewSunElevation": if value != nil { switch jtv := value.(type) { @@ -6169,7 +5988,6 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } - default: _, _ = key, value @@ -6295,7 +6113,6 @@ func awsRestjson1_deserializeDocumentPropertyFilter(v **types.PropertyFilter, va if err := awsRestjson1_deserializeDocumentProperty(&sv.Property, value); err != nil { return err } - default: _, _ = key, value @@ -6335,12 +6152,10 @@ func awsRestjson1_deserializeDocumentPropertyFilters(v **types.PropertyFilters, } sv.LogicalOperator = types.LogicalOperator(jtv) } - case "Properties": if err := awsRestjson1_deserializeDocumentPropertyFiltersList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -6414,7 +6229,6 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6423,7 +6237,6 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Description = ptr.String(jtv) } - case "DescriptionPageUrl": if value != nil { jtv, ok := value.(string) @@ -6432,7 +6245,6 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.DescriptionPageUrl = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6441,17 +6253,14 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Name = ptr.String(jtv) } - case "SupportedFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.SupportedFilters, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6460,7 +6269,6 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Type = types.DataCollectionType(jtv) } - default: _, _ = key, value @@ -6496,12 +6304,10 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R if err := awsRestjson1_deserializeDocumentAreaOfInterest(&sv.AreaOfInterest, value); err != nil { return err } - case "PropertyFilters": if err := awsRestjson1_deserializeDocumentPropertyFilters(&sv.PropertyFilters, value); err != nil { return err } - case "RasterDataCollectionArn": if value != nil { jtv, ok := value.(string) @@ -6510,7 +6316,6 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R } sv.RasterDataCollectionArn = ptr.String(jtv) } - case "RasterDataCollectionName": if value != nil { jtv, ok := value.(string) @@ -6519,12 +6324,10 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R } sv.RasterDataCollectionName = ptr.String(jtv) } - case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeFilterOutput(&sv.TimeRangeFilter, value); err != nil { return err } - default: _, _ = key, value @@ -6564,17 +6367,14 @@ func awsRestjson1_deserializeDocumentResamplingConfigInput(v **types.ResamplingC } sv.AlgorithmName = types.AlgorithmNameResampling(jtv) } - case "OutputResolution": if err := awsRestjson1_deserializeDocumentOutputResolutionResamplingInput(&sv.OutputResolution, value); err != nil { return err } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - default: _, _ = key, value @@ -6604,15 +6404,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6620,7 +6414,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6629,15 +6422,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6672,7 +6461,6 @@ func awsRestjson1_deserializeDocumentReverseGeocodingConfig(v **types.ReverseGeo } sv.XAttributeName = ptr.String(jtv) } - case "YAttributeName": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6469,6 @@ func awsRestjson1_deserializeDocumentReverseGeocodingConfig(v **types.ReverseGeo } sv.YAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -6711,15 +6498,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6727,7 +6508,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6736,15 +6516,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6775,12 +6551,10 @@ func awsRestjson1_deserializeDocumentStackConfigInput(v **types.StackConfigInput if err := awsRestjson1_deserializeDocumentOutputResolutionStackInput(&sv.OutputResolution, value); err != nil { return err } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - default: _, _ = key, value @@ -6892,17 +6666,14 @@ func awsRestjson1_deserializeDocumentTemporalStatisticsConfigInput(v **types.Tem } sv.GroupBy = types.GroupBy(jtv) } - case "Statistics": if err := awsRestjson1_deserializeDocumentTemporalStatisticsListInput(&sv.Statistics, value); err != nil { return err } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - default: _, _ = key, value @@ -6968,15 +6739,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6984,7 +6749,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6993,15 +6757,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7040,7 +6800,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterOutput(v **types.TimeRangeFi } sv.EndTime = ptr.Time(t) } - case "StartTime": if value != nil { jtv, ok := value.(string) @@ -7053,7 +6812,6 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterOutput(v **types.TimeRangeFi } sv.StartTime = ptr.Time(t) } - default: _, _ = key, value @@ -7093,7 +6851,6 @@ func awsRestjson1_deserializeDocumentUserDefined(v **types.UserDefined, value in } sv.Unit = types.Unit(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -7127,7 +6884,6 @@ func awsRestjson1_deserializeDocumentUserDefined(v **types.UserDefined, value in } } - default: _, _ = key, value @@ -7157,15 +6913,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7173,7 +6923,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7182,15 +6931,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7315,7 +7060,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(v **types.V } sv.ErrorMessage = ptr.String(jtv) } - case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -7324,7 +7068,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(v **types.V } sv.ErrorType = types.VectorEnrichmentJobErrorType(jtv) } - default: _, _ = key, value @@ -7364,7 +7107,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(v **t } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7373,7 +7115,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(v **t } sv.Type = types.VectorEnrichmentJobExportErrorType(jtv) } - default: _, _ = key, value @@ -7409,7 +7150,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(v **types.Ve if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobDataSourceConfigInput(&sv.DataSourceConfig, value); err != nil { return err } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -7418,7 +7158,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(v **types.Ve } sv.DocumentType = types.VectorEnrichmentJobDocumentType(jtv) } - default: _, _ = key, value @@ -7492,7 +7231,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(v **types.VectorE } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -7501,7 +7239,6 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(v **types.VectorE } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -7566,7 +7303,6 @@ func awsRestjson1_deserializeDocumentViewOffNadirInput(v **types.ViewOffNadirInp } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7600,7 +7336,6 @@ func awsRestjson1_deserializeDocumentViewOffNadirInput(v **types.ViewOffNadirInp } } - default: _, _ = key, value @@ -7665,7 +7400,6 @@ func awsRestjson1_deserializeDocumentViewSunAzimuthInput(v **types.ViewSunAzimut } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7699,7 +7433,6 @@ func awsRestjson1_deserializeDocumentViewSunAzimuthInput(v **types.ViewSunAzimut } } - default: _, _ = key, value @@ -7764,7 +7497,6 @@ func awsRestjson1_deserializeDocumentViewSunElevationInput(v **types.ViewSunElev } } - case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7798,7 +7530,6 @@ func awsRestjson1_deserializeDocumentViewSunElevationInput(v **types.ViewSunElev } } - default: _, _ = key, value @@ -7834,12 +7565,10 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS if err := awsRestjson1_deserializeDocumentZonalStatisticsListInput(&sv.Statistics, value); err != nil { return err } - case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } - case "ZoneS3Path": if value != nil { jtv, ok := value.(string) @@ -7848,7 +7577,6 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS } sv.ZoneS3Path = ptr.String(jtv) } - case "ZoneS3PathKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7857,7 +7585,6 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS } sv.ZoneS3PathKmsKeyId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/sagemakermetrics/deserializers.go b/service/sagemakermetrics/deserializers.go index ae2fe747a12..faaf704e25f 100644 --- a/service/sagemakermetrics/deserializers.go +++ b/service/sagemakermetrics/deserializers.go @@ -169,7 +169,6 @@ func awsRestjson1_deserializeOpDocumentBatchGetMetricsOutput(v **BatchGetMetrics if err := awsRestjson1_deserializeDocumentMetricQueryResultList(&sv.MetricQueryResults, value); err != nil { return err } - default: _, _ = key, value @@ -318,7 +317,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutMetricsOutput(v **BatchPutMetrics if err := awsRestjson1_deserializeDocumentBatchPutMetricsErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -358,7 +356,6 @@ func awsRestjson1_deserializeDocumentBatchPutMetricsError(v **types.BatchPutMetr } sv.Code = types.PutMetricsErrorCode(jtv) } - case "MetricIndex": if value != nil { jtv, ok := value.(json.Number) @@ -371,7 +368,6 @@ func awsRestjson1_deserializeDocumentBatchPutMetricsError(v **types.BatchPutMetr } sv.MetricIndex = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -445,12 +441,10 @@ func awsRestjson1_deserializeDocumentMetricQueryResult(v **types.MetricQueryResu } sv.Message = ptr.String(jtv) } - case "MetricValues": if err := awsRestjson1_deserializeDocumentMetricValues(&sv.MetricValues, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -459,12 +453,10 @@ func awsRestjson1_deserializeDocumentMetricQueryResult(v **types.MetricQueryResu } sv.Status = types.MetricQueryResultStatus(jtv) } - case "XAxisValues": if err := awsRestjson1_deserializeDocumentXAxisValues(&sv.XAxisValues, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/sagemakerruntime/deserializers.go b/service/sagemakerruntime/deserializers.go index 50a4dc758e8..9f0f54a0181 100644 --- a/service/sagemakerruntime/deserializers.go +++ b/service/sagemakerruntime/deserializers.go @@ -372,7 +372,6 @@ func awsRestjson1_deserializeOpDocumentInvokeEndpointAsyncOutput(v **InvokeEndpo } sv.InferenceId = ptr.String(jtv) } - default: _, _ = key, value @@ -690,15 +689,9 @@ func awsRestjson1_deserializeDocumentInternalStreamFailure(v **types.InternalStr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -706,15 +699,11 @@ func awsRestjson1_deserializeDocumentInternalStreamFailure(v **types.InternalStr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -739,13 +728,7 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ErrorCode": if value != nil { @@ -755,8 +738,7 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError } sv.ErrorCode_ = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -764,15 +746,11 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1085,15 +1063,9 @@ func awsRestjson1_deserializeDocumentInternalDependencyException(v **types.Inter sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1101,15 +1073,11 @@ func awsRestjson1_deserializeDocumentInternalDependencyException(v **types.Inter } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1134,15 +1102,9 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1150,15 +1112,11 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1183,13 +1141,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "LogStreamArn": if value != nil { @@ -1199,8 +1151,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.LogStreamArn = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1208,7 +1159,6 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.Message = ptr.String(jtv) } - case "OriginalMessage": if value != nil { jtv, ok := value.(string) @@ -1217,7 +1167,6 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.OriginalMessage = ptr.String(jtv) } - case "OriginalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1230,15 +1179,11 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1263,15 +1208,9 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1279,15 +1218,11 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1312,15 +1247,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1328,15 +1257,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1361,15 +1286,9 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1377,15 +1296,11 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/savingsplans/deserializers.go b/service/savingsplans/deserializers.go index 20500451629..a37af1c95b3 100644 --- a/service/savingsplans/deserializers.go +++ b/service/savingsplans/deserializers.go @@ -184,7 +184,6 @@ func awsRestjson1_deserializeOpDocumentCreateSavingsPlanOutput(v **CreateSavings } sv.SavingsPlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -440,7 +439,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlanRatesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "savingsPlanId": if value != nil { jtv, ok := value.(string) @@ -449,12 +447,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlanRatesOutput(v **Descri } sv.SavingsPlanId = ptr.String(jtv) } - case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanRateList(&sv.SearchResults, value); err != nil { return err } - default: _, _ = key, value @@ -613,12 +609,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOutput(v **DescribeSa } sv.NextToken = ptr.String(jtv) } - case "savingsPlans": if err := awsRestjson1_deserializeDocumentSavingsPlanList(&sv.SavingsPlans, value); err != nil { return err } - default: _, _ = key, value @@ -777,12 +771,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOfferingRatesOutput(v } sv.NextToken = ptr.String(jtv) } - case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingRatesList(&sv.SearchResults, value); err != nil { return err } - default: _, _ = key, value @@ -941,12 +933,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOfferingsOutput(v **D } sv.NextToken = ptr.String(jtv) } - case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingsList(&sv.SearchResults, value); err != nil { return err } - default: _, _ = key, value @@ -1104,7 +1094,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1269,7 +1258,6 @@ func awsRestjson1_deserializeOpDocumentReturnSavingsPlanOutput(v **ReturnSavings } sv.SavingsPlanId = ptr.String(jtv) } - default: _, _ = key, value @@ -1634,15 +1622,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1650,15 +1632,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1693,7 +1671,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.Currency = types.CurrencyCode(jtv) } - case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1706,7 +1683,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.DurationSeconds = i64 } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -1715,7 +1691,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.OfferingId = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1724,7 +1699,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } - case "planDescription": if value != nil { jtv, ok := value.(string) @@ -1733,7 +1707,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PlanDescription = ptr.String(jtv) } - case "planType": if value != nil { jtv, ok := value.(string) @@ -1742,7 +1715,6 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PlanType = types.SavingsPlanType(jtv) } - default: _, _ = key, value @@ -1772,15 +1744,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1788,15 +1754,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1831,7 +1793,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Commitment = ptr.String(jtv) } - case "currency": if value != nil { jtv, ok := value.(string) @@ -1840,7 +1801,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Currency = types.CurrencyCode(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1849,7 +1809,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Description = ptr.String(jtv) } - case "ec2InstanceFamily": if value != nil { jtv, ok := value.(string) @@ -1858,7 +1817,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Ec2InstanceFamily = ptr.String(jtv) } - case "end": if value != nil { jtv, ok := value.(string) @@ -1867,7 +1825,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.End = ptr.String(jtv) } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -1876,7 +1833,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.OfferingId = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1885,12 +1841,10 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } - case "productTypes": if err := awsRestjson1_deserializeDocumentSavingsPlanProductTypeList(&sv.ProductTypes, value); err != nil { return err } - case "recurringPaymentAmount": if value != nil { jtv, ok := value.(string) @@ -1899,7 +1853,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.RecurringPaymentAmount = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -1908,7 +1861,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Region = ptr.String(jtv) } - case "returnableUntil": if value != nil { jtv, ok := value.(string) @@ -1917,7 +1869,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.ReturnableUntil = ptr.String(jtv) } - case "savingsPlanArn": if value != nil { jtv, ok := value.(string) @@ -1926,7 +1877,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanArn = ptr.String(jtv) } - case "savingsPlanId": if value != nil { jtv, ok := value.(string) @@ -1935,7 +1885,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanId = ptr.String(jtv) } - case "savingsPlanType": if value != nil { jtv, ok := value.(string) @@ -1944,7 +1893,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanType = types.SavingsPlanType(jtv) } - case "start": if value != nil { jtv, ok := value.(string) @@ -1953,7 +1901,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Start = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -1962,12 +1909,10 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.State = types.SavingsPlanState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "termDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1980,7 +1925,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.TermDurationInSeconds = i64 } - case "upfrontPaymentAmount": if value != nil { jtv, ok := value.(string) @@ -1989,7 +1933,6 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.UpfrontPaymentAmount = ptr.String(jtv) } - default: _, _ = key, value @@ -2063,7 +2006,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Currency = types.CurrencyCode(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2072,7 +2014,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Description = ptr.String(jtv) } - case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2085,7 +2026,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.DurationSeconds = i64 } - case "offeringId": if value != nil { jtv, ok := value.(string) @@ -2094,7 +2034,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.OfferingId = ptr.String(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -2103,7 +2042,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Operation = ptr.String(jtv) } - case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2112,7 +2050,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } - case "planType": if value != nil { jtv, ok := value.(string) @@ -2121,17 +2058,14 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.PlanType = types.SavingsPlanType(jtv) } - case "productTypes": if err := awsRestjson1_deserializeDocumentSavingsPlanProductTypeList(&sv.ProductTypes, value); err != nil { return err } - case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingPropertyList(&sv.Properties, value); err != nil { return err } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2140,7 +2074,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.ServiceCode = ptr.String(jtv) } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -2149,7 +2082,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -2189,7 +2121,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingProperty(v **types.Savin } sv.Name = types.SavingsPlanOfferingPropertyKey(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2198,7 +2129,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingProperty(v **types.Savin } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2272,7 +2202,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Operation = ptr.String(jtv) } - case "productType": if value != nil { jtv, ok := value.(string) @@ -2281,12 +2210,10 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.ProductType = types.SavingsPlanProductType(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingRatePropertyList(&sv.Properties, value); err != nil { return err } - case "rate": if value != nil { jtv, ok := value.(string) @@ -2295,12 +2222,10 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Rate = ptr.String(jtv) } - case "savingsPlanOffering": if err := awsRestjson1_deserializeDocumentParentSavingsPlanOffering(&sv.SavingsPlanOffering, value); err != nil { return err } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2309,7 +2234,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.ServiceCode = types.SavingsPlanRateServiceCode(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -2318,7 +2242,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Unit = types.SavingsPlanRateUnit(jtv) } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -2327,7 +2250,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -2367,7 +2289,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRateProperty(v **types.S } sv.Name = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2376,7 +2297,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRateProperty(v **types.S } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2554,7 +2474,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Currency = types.CurrencyCode(jtv) } - case "operation": if value != nil { jtv, ok := value.(string) @@ -2563,7 +2482,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Operation = ptr.String(jtv) } - case "productType": if value != nil { jtv, ok := value.(string) @@ -2572,12 +2490,10 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.ProductType = types.SavingsPlanProductType(jtv) } - case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanRatePropertyList(&sv.Properties, value); err != nil { return err } - case "rate": if value != nil { jtv, ok := value.(string) @@ -2586,7 +2502,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Rate = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2510,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.ServiceCode = types.SavingsPlanRateServiceCode(jtv) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -2604,7 +2518,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Unit = types.SavingsPlanRateUnit(jtv) } - case "usageType": if value != nil { jtv, ok := value.(string) @@ -2613,7 +2526,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.UsageType = ptr.String(jtv) } - default: _, _ = key, value @@ -2687,7 +2599,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRateProperty(v **types.SavingsPl } sv.Name = types.SavingsPlanRatePropertyKey(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -2696,7 +2607,6 @@ func awsRestjson1_deserializeDocumentSavingsPlanRateProperty(v **types.SavingsPl } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2760,15 +2670,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2776,15 +2680,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2845,15 +2745,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2861,15 +2755,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/scheduler/deserializers.go b/service/scheduler/deserializers.go index 711bb1af752..4af19423931 100644 --- a/service/scheduler/deserializers.go +++ b/service/scheduler/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleOutput(v **CreateScheduleOu } sv.ScheduleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -358,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleGroupOutput(v **CreateSched } sv.ScheduleGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -723,7 +721,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ActionAfterCompletion = types.ActionAfterCompletion(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -732,7 +729,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -748,7 +744,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -757,7 +752,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Description = ptr.String(jtv) } - case "EndDate": if value != nil { switch jtv := value.(type) { @@ -773,12 +767,10 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } - case "FlexibleTimeWindow": if err := awsRestjson1_deserializeDocumentFlexibleTimeWindow(&sv.FlexibleTimeWindow, value); err != nil { return err } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -787,7 +779,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.GroupName = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -796,7 +787,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.KmsKeyArn = ptr.String(jtv) } - case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -812,7 +802,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -821,7 +810,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Name = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -830,7 +818,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -839,7 +826,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ScheduleExpressionTimezone = ptr.String(jtv) } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -855,7 +841,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } - case "State": if value != nil { jtv, ok := value.(string) @@ -864,12 +849,10 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.State = types.ScheduleState(jtv) } - case "Target": if err := awsRestjson1_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -1034,7 +1017,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1050,7 +1032,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } } - case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -1066,7 +1047,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1075,7 +1055,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1084,7 +1063,6 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.State = types.ScheduleGroupState(jtv) } - default: _, _ = key, value @@ -1246,12 +1224,10 @@ func awsRestjson1_deserializeOpDocumentListScheduleGroupsOutput(v **ListSchedule } sv.NextToken = ptr.String(jtv) } - case "ScheduleGroups": if err := awsRestjson1_deserializeDocumentScheduleGroupList(&sv.ScheduleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -1416,12 +1392,10 @@ func awsRestjson1_deserializeOpDocumentListSchedulesOutput(v **ListSchedulesOutp } sv.NextToken = ptr.String(jtv) } - case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } - default: _, _ = key, value @@ -1582,7 +1556,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1950,7 +1923,6 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduleOutput(v **UpdateScheduleOu } sv.ScheduleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2206,17 +2178,14 @@ func awsRestjson1_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -2294,7 +2263,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } - case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -2303,7 +2271,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -2316,7 +2283,6 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -2346,15 +2312,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2362,15 +2322,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2405,7 +2361,6 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -2441,7 +2396,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsRestjson1_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -2450,7 +2404,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = ptr.Bool(jtv) } - case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -2459,7 +2412,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = ptr.Bool(jtv) } - case "Group": if value != nil { jtv, ok := value.(string) @@ -2468,7 +2420,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } - case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -2477,22 +2428,18 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } - case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } - case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } - case "PlacementStrategy": if err := awsRestjson1_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -2501,7 +2448,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } - case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -2510,7 +2456,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } - case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -2519,12 +2464,10 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -2537,7 +2480,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } - case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -2546,7 +2488,6 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2586,7 +2527,6 @@ func awsRestjson1_deserializeDocumentEventBridgeParameters(v **types.EventBridge } sv.DetailType = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -2595,7 +2535,6 @@ func awsRestjson1_deserializeDocumentEventBridgeParameters(v **types.EventBridge } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -2639,7 +2578,6 @@ func awsRestjson1_deserializeDocumentFlexibleTimeWindow(v **types.FlexibleTimeWi } sv.MaximumWindowInMinutes = ptr.Int32(int32(i64)) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -2648,7 +2586,6 @@ func awsRestjson1_deserializeDocumentFlexibleTimeWindow(v **types.FlexibleTimeWi } sv.Mode = types.FlexibleTimeWindowMode(jtv) } - default: _, _ = key, value @@ -2678,15 +2615,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2694,15 +2625,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2737,7 +2664,6 @@ func awsRestjson1_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKey = ptr.String(jtv) } - default: _, _ = key, value @@ -2773,7 +2699,6 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -2813,7 +2738,6 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2822,7 +2746,6 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } - default: _, _ = key, value @@ -2930,7 +2853,6 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2939,7 +2861,6 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } - default: _, _ = key, value @@ -2969,15 +2890,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2985,15 +2900,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3032,7 +2943,6 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -3045,7 +2955,6 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3085,7 +2994,6 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3094,7 +3002,6 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3164,7 +3071,6 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } - default: _, _ = key, value @@ -3238,7 +3144,6 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3254,7 +3159,6 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } } - case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -3270,7 +3174,6 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3279,7 +3182,6 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3288,7 +3190,6 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.State = types.ScheduleGroupState(jtv) } - default: _, _ = key, value @@ -3362,7 +3263,6 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.Arn = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3378,7 +3278,6 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -3387,7 +3286,6 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.GroupName = ptr.String(jtv) } - case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -3403,7 +3301,6 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3412,7 +3309,6 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -3421,12 +3317,10 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.State = types.ScheduleState(jtv) } - case "Target": if err := awsRestjson1_deserializeDocumentTargetSummary(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -3492,15 +3386,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3508,15 +3396,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3551,7 +3435,6 @@ func awsRestjson1_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -3627,7 +3510,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -3636,7 +3518,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3778,22 +3659,18 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "EcsParameters": if err := awsRestjson1_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } - case "EventBridgeParameters": if err := awsRestjson1_deserializeDocumentEventBridgeParameters(&sv.EventBridgeParameters, value); err != nil { return err } - case "Input": if value != nil { jtv, ok := value.(string) @@ -3802,17 +3679,14 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } - case "KinesisParameters": if err := awsRestjson1_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } - case "RetryPolicy": if err := awsRestjson1_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3821,17 +3695,14 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } - case "SageMakerPipelineParameters": if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } - case "SqsParameters": if err := awsRestjson1_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } - default: _, _ = key, value @@ -3871,7 +3742,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -3901,15 +3771,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3917,15 +3781,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3950,15 +3810,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3966,15 +3820,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/schemas/deserializers.go b/service/schemas/deserializers.go index 6be0a671977..d8ffa99626b 100644 --- a/service/schemas/deserializers.go +++ b/service/schemas/deserializers.go @@ -191,7 +191,6 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.CrossAccount = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -200,7 +199,6 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.Description = ptr.String(jtv) } - case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -209,7 +207,6 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.DiscovererArn = ptr.String(jtv) } - case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -218,7 +215,6 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.DiscovererId = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -227,7 +223,6 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.SourceArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -236,12 +231,10 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.State = types.DiscovererState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -412,7 +405,6 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -421,7 +413,6 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -430,12 +421,10 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -600,7 +589,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Description = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -613,7 +601,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.LastModified = ptr.Time(t) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -622,7 +609,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -631,7 +617,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -640,12 +625,10 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -654,7 +637,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Type = ptr.String(jtv) } - case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -667,7 +649,6 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.VersionCreatedDate = ptr.Time(t) } - default: _, _ = key, value @@ -1387,7 +1368,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.CreationDate = ptr.Time(t) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -1400,7 +1380,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.LastModified = ptr.Time(t) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -1409,7 +1388,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.SchemaVersion = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -1418,7 +1396,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.Status = types.CodeGenerationStatus(jtv) } - default: _, _ = key, value @@ -1589,7 +1566,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.CrossAccount = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -1598,7 +1574,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.Description = ptr.String(jtv) } - case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -1607,7 +1582,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.DiscovererArn = ptr.String(jtv) } - case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -1616,7 +1590,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.DiscovererId = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -1625,7 +1598,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.SourceArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -1634,12 +1606,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.State = types.DiscovererState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1810,7 +1780,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -1819,7 +1788,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -1828,12 +1796,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2004,7 +1970,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Content = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2013,7 +1978,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Description = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -2026,7 +1990,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.LastModified = ptr.Time(t) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -2035,7 +1998,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -2044,7 +2006,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -2053,12 +2014,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2067,7 +2026,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Type = ptr.String(jtv) } - case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -2080,7 +2038,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.VersionCreatedDate = ptr.Time(t) } - default: _, _ = key, value @@ -2254,7 +2211,6 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.Content = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -2263,7 +2219,6 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -2272,7 +2227,6 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -2281,7 +2235,6 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2290,7 +2243,6 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2588,7 +2540,6 @@ func awsRestjson1_deserializeOpDocumentGetDiscoveredSchemaOutput(v **GetDiscover } sv.Content = ptr.String(jtv) } - default: _, _ = key, value @@ -2759,7 +2710,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -2768,7 +2718,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2932,7 +2881,6 @@ func awsRestjson1_deserializeOpDocumentListDiscoverersOutput(v **ListDiscoverers if err := awsRestjson1_deserializeDocument__listOfDiscovererSummary(&sv.Discoverers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2941,7 +2889,6 @@ func awsRestjson1_deserializeOpDocumentListDiscoverersOutput(v **ListDiscoverers } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3109,12 +3056,10 @@ func awsRestjson1_deserializeOpDocumentListRegistriesOutput(v **ListRegistriesOu } sv.NextToken = ptr.String(jtv) } - case "Registries": if err := awsRestjson1_deserializeDocument__listOfRegistrySummary(&sv.Registries, value); err != nil { return err } - default: _, _ = key, value @@ -3282,12 +3227,10 @@ func awsRestjson1_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsRestjson1_deserializeDocument__listOfSchemaSummary(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -3458,12 +3401,10 @@ func awsRestjson1_deserializeOpDocumentListSchemaVersionsOutput(v **ListSchemaVe } sv.NextToken = ptr.String(jtv) } - case "SchemaVersions": if err := awsRestjson1_deserializeDocument__listOfSchemaVersionSummary(&sv.SchemaVersions, value); err != nil { return err } - default: _, _ = key, value @@ -3624,7 +3565,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3802,7 +3742,6 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.CreationDate = ptr.Time(t) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -3815,7 +3754,6 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.LastModified = ptr.Time(t) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -3824,7 +3762,6 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.SchemaVersion = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3833,7 +3770,6 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.Status = types.CodeGenerationStatus(jtv) } - default: _, _ = key, value @@ -4007,7 +3943,6 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -4016,7 +3951,6 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4184,12 +4118,10 @@ func awsRestjson1_deserializeOpDocumentSearchSchemasOutput(v **SearchSchemasOutp } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsRestjson1_deserializeDocument__listOfSearchSchemaSummary(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -4360,7 +4292,6 @@ func awsRestjson1_deserializeOpDocumentStartDiscovererOutput(v **StartDiscoverer } sv.DiscovererId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4369,7 +4300,6 @@ func awsRestjson1_deserializeOpDocumentStartDiscovererOutput(v **StartDiscoverer } sv.State = types.DiscovererState(jtv) } - default: _, _ = key, value @@ -4540,7 +4470,6 @@ func awsRestjson1_deserializeOpDocumentStopDiscovererOutput(v **StopDiscovererOu } sv.DiscovererId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4549,7 +4478,6 @@ func awsRestjson1_deserializeOpDocumentStopDiscovererOutput(v **StopDiscovererOu } sv.State = types.DiscovererState(jtv) } - default: _, _ = key, value @@ -4926,7 +4854,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.CrossAccount = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4935,7 +4862,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.Description = ptr.String(jtv) } - case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -4944,7 +4870,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.DiscovererArn = ptr.String(jtv) } - case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -4953,7 +4878,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.DiscovererId = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -4962,7 +4886,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.SourceArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4971,12 +4894,10 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.State = types.DiscovererState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5147,7 +5068,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -5156,7 +5076,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -5165,12 +5084,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5338,7 +5255,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.Description = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -5351,7 +5267,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.LastModified = ptr.Time(t) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -5360,7 +5275,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -5369,7 +5283,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -5378,12 +5291,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5392,7 +5303,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.Type = ptr.String(jtv) } - case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -5405,7 +5315,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.VersionCreatedDate = ptr.Time(t) } - default: _, _ = key, value @@ -5999,13 +5908,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6015,8 +5918,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6024,15 +5926,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6057,13 +5955,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6073,8 +5965,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6082,15 +5973,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6125,7 +6012,6 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.CrossAccount = ptr.Bool(jtv) } - case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -6134,7 +6020,6 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.DiscovererArn = ptr.String(jtv) } - case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -6143,7 +6028,6 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.DiscovererId = ptr.String(jtv) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -6152,7 +6036,6 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.SourceArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -6161,12 +6044,10 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.State = types.DiscovererState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6196,13 +6077,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6212,8 +6087,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6221,15 +6095,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6254,13 +6124,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6270,8 +6134,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6279,15 +6142,11 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6312,13 +6171,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6328,8 +6181,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6337,15 +6189,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6370,13 +6218,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6386,8 +6228,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6395,15 +6236,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6428,13 +6265,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6444,8 +6275,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6453,15 +6283,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6496,7 +6322,6 @@ func awsRestjson1_deserializeDocumentRegistrySummary(v **types.RegistrySummary, } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -6505,12 +6330,10 @@ func awsRestjson1_deserializeDocumentRegistrySummary(v **types.RegistrySummary, } sv.RegistryName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6554,7 +6377,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.LastModified = ptr.Time(t) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -6563,7 +6385,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6572,12 +6393,10 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.SchemaName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VersionCount": if value != nil { jtv, ok := value.(json.Number) @@ -6590,7 +6409,6 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.VersionCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6630,7 +6448,6 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6639,7 +6456,6 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -6648,7 +6464,6 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaVersion = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6657,7 +6472,6 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -6697,7 +6511,6 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.RegistryName = ptr.String(jtv) } - case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -6706,7 +6519,6 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.SchemaArn = ptr.String(jtv) } - case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6715,12 +6527,10 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.SchemaName = ptr.String(jtv) } - case "SchemaVersions": if err := awsRestjson1_deserializeDocument__listOfSearchSchemaVersionSummary(&sv.SchemaVersions, value); err != nil { return err } - default: _, _ = key, value @@ -6764,7 +6574,6 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.CreatedDate = ptr.Time(t) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -6773,7 +6582,6 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.SchemaVersion = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6782,7 +6590,6 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -6812,13 +6619,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6828,8 +6629,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6837,15 +6637,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6906,13 +6702,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6922,8 +6712,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6931,15 +6720,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6964,13 +6749,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6980,8 +6759,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6989,15 +6767,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/secretsmanager/deserializers.go b/service/secretsmanager/deserializers.go index db7fb487980..c73e110a631 100644 --- a/service/secretsmanager/deserializers.go +++ b/service/secretsmanager/deserializers.go @@ -3294,7 +3294,6 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3303,7 +3302,6 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.Message = ptr.String(jtv) } - case "SecretId": if value != nil { jtv, ok := value.(string) @@ -3312,7 +3310,6 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.SecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -3342,15 +3339,9 @@ func awsAwsjson11_deserializeDocumentDecryptionFailure(v **types.DecryptionFailu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3358,15 +3349,11 @@ func awsAwsjson11_deserializeDocumentDecryptionFailure(v **types.DecryptionFailu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3391,15 +3378,9 @@ func awsAwsjson11_deserializeDocumentEncryptionFailure(v **types.EncryptionFailu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3407,15 +3388,11 @@ func awsAwsjson11_deserializeDocumentEncryptionFailure(v **types.EncryptionFailu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3440,15 +3417,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3456,15 +3427,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3489,15 +3456,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3505,15 +3466,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3538,15 +3495,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3554,15 +3505,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3587,15 +3534,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3603,15 +3544,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3672,15 +3609,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3688,15 +3619,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3721,15 +3648,9 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3737,15 +3658,11 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3770,15 +3687,9 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3786,15 +3697,11 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3819,15 +3726,9 @@ func awsAwsjson11_deserializeDocumentPublicPolicyException(v **types.PublicPolic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3835,15 +3736,11 @@ func awsAwsjson11_deserializeDocumentPublicPolicyException(v **types.PublicPolic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3912,7 +3809,6 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.KmsKeyId = ptr.String(jtv) } - case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -3928,7 +3824,6 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } } - case "Region": if value != nil { jtv, ok := value.(string) @@ -3937,7 +3832,6 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.Region = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3946,7 +3840,6 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.Status = types.StatusType(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3955,7 +3848,6 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3985,15 +3877,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4001,15 +3887,11 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4034,15 +3916,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4050,15 +3926,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4097,7 +3969,6 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.AutomaticallyAfterDays = ptr.Int64(i64) } - case "Duration": if value != nil { jtv, ok := value.(string) @@ -4106,7 +3977,6 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.Duration = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -4115,7 +3985,6 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.ScheduleExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -4155,7 +4024,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.ARN = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -4171,7 +4039,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "DeletedDate": if value != nil { switch jtv := value.(type) { @@ -4187,7 +4054,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4196,7 +4062,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.Description = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4205,7 +4070,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.KmsKeyId = ptr.String(jtv) } - case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -4221,7 +4085,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "LastChangedDate": if value != nil { switch jtv := value.(type) { @@ -4237,7 +4100,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "LastRotatedDate": if value != nil { switch jtv := value.(type) { @@ -4253,7 +4115,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4262,7 +4123,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.Name = ptr.String(jtv) } - case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -4278,7 +4138,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } - case "OwningService": if value != nil { jtv, ok := value.(string) @@ -4287,7 +4146,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.OwningService = ptr.String(jtv) } - case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -4296,7 +4154,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.PrimaryRegion = ptr.String(jtv) } - case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -4305,7 +4162,6 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.RotationEnabled = ptr.Bool(jtv) } - case "RotationLambdaARN": if value != nil { jtv, ok := value.(string) @@ -4314,22 +4170,18 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.RotationLambdaARN = ptr.String(jtv) } - case "RotationRules": if err := awsAwsjson11_deserializeDocumentRotationRulesType(&sv.RotationRules, value); err != nil { return err } - case "SecretVersionsToStages": if err := awsAwsjson11_deserializeDocumentSecretVersionsToStagesMapType(&sv.SecretVersionsToStages, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagListType(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4403,7 +4255,6 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.ARN = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -4419,7 +4270,6 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4428,7 +4278,6 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.Name = ptr.String(jtv) } - case "SecretBinary": if value != nil { jtv, ok := value.(string) @@ -4441,7 +4290,6 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.SecretBinary = dv } - case "SecretString": if value != nil { jtv, ok := value.(string) @@ -4450,7 +4298,6 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.SecretString = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4459,12 +4306,10 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.VersionId = ptr.String(jtv) } - case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } - default: _, _ = key, value @@ -4545,12 +4390,10 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } } - case "KmsKeyIds": if err := awsAwsjson11_deserializeDocumentKmsKeyIdListType(&sv.KmsKeyIds, value); err != nil { return err } - case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -4566,7 +4409,6 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4575,12 +4417,10 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } sv.VersionId = ptr.String(jtv) } - case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } - default: _, _ = key, value @@ -4724,7 +4564,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4733,7 +4572,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4807,7 +4645,6 @@ func awsAwsjson11_deserializeDocumentValidationErrorsEntry(v **types.ValidationE } sv.CheckName = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4816,7 +4653,6 @@ func awsAwsjson11_deserializeDocumentValidationErrorsEntry(v **types.ValidationE } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4886,7 +4722,6 @@ func awsAwsjson11_deserializeOpDocumentBatchGetSecretValueOutput(v **BatchGetSec if err := awsAwsjson11_deserializeDocumentAPIErrorListType(&sv.Errors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4895,12 +4730,10 @@ func awsAwsjson11_deserializeOpDocumentBatchGetSecretValueOutput(v **BatchGetSec } sv.NextToken = ptr.String(jtv) } - case "SecretValues": if err := awsAwsjson11_deserializeDocumentSecretValuesType(&sv.SecretValues, value); err != nil { return err } - default: _, _ = key, value @@ -4940,7 +4773,6 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4949,7 +4781,6 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.Name = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4958,7 +4789,6 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -4998,7 +4828,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5007,12 +4836,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.Name = ptr.String(jtv) } - case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5021,7 +4848,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -5061,7 +4887,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5070,7 +4895,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5110,7 +4934,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } sv.ARN = ptr.String(jtv) } - case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -5126,7 +4949,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5135,7 +4957,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5175,7 +4996,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.ARN = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -5191,7 +5011,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "DeletedDate": if value != nil { switch jtv := value.(type) { @@ -5207,7 +5026,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5216,7 +5034,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.Description = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5225,7 +5042,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.KmsKeyId = ptr.String(jtv) } - case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -5241,7 +5057,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "LastChangedDate": if value != nil { switch jtv := value.(type) { @@ -5257,7 +5072,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "LastRotatedDate": if value != nil { switch jtv := value.(type) { @@ -5273,7 +5087,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5282,7 +5095,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.Name = ptr.String(jtv) } - case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -5298,7 +5110,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } - case "OwningService": if value != nil { jtv, ok := value.(string) @@ -5307,7 +5118,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.OwningService = ptr.String(jtv) } - case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -5316,12 +5126,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.PrimaryRegion = ptr.String(jtv) } - case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } - case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -5330,7 +5138,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.RotationEnabled = ptr.Bool(jtv) } - case "RotationLambdaARN": if value != nil { jtv, ok := value.(string) @@ -5339,22 +5146,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.RotationLambdaARN = ptr.String(jtv) } - case "RotationRules": if err := awsAwsjson11_deserializeDocumentRotationRulesType(&sv.RotationRules, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagListType(&sv.Tags, value); err != nil { return err } - case "VersionIdsToStages": if err := awsAwsjson11_deserializeDocumentSecretVersionsToStagesMapType(&sv.VersionIdsToStages, value); err != nil { return err } - default: _, _ = key, value @@ -5394,7 +5197,6 @@ func awsAwsjson11_deserializeOpDocumentGetRandomPasswordOutput(v **GetRandomPass } sv.RandomPassword = ptr.String(jtv) } - default: _, _ = key, value @@ -5434,7 +5236,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5443,7 +5244,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Name = ptr.String(jtv) } - case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -5452,7 +5252,6 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -5492,7 +5291,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.ARN = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -5508,7 +5306,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5517,7 +5314,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.Name = ptr.String(jtv) } - case "SecretBinary": if value != nil { jtv, ok := value.(string) @@ -5530,7 +5326,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.SecretBinary = dv } - case "SecretString": if value != nil { jtv, ok := value.(string) @@ -5539,7 +5334,6 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.SecretString = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5548,12 +5342,10 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.VersionId = ptr.String(jtv) } - case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } - default: _, _ = key, value @@ -5593,12 +5385,10 @@ func awsAwsjson11_deserializeOpDocumentListSecretsOutput(v **ListSecretsOutput, } sv.NextToken = ptr.String(jtv) } - case "SecretList": if err := awsAwsjson11_deserializeDocumentSecretListType(&sv.SecretList, value); err != nil { return err } - default: _, _ = key, value @@ -5638,7 +5428,6 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5647,7 +5436,6 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.Name = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5656,12 +5444,10 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.NextToken = ptr.String(jtv) } - case "Versions": if err := awsAwsjson11_deserializeDocumentSecretVersionsListType(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -5701,7 +5487,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5710,7 +5495,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5750,7 +5534,6 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5759,7 +5542,6 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.Name = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5768,12 +5550,10 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.VersionId = ptr.String(jtv) } - case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } - default: _, _ = key, value @@ -5813,12 +5593,10 @@ func awsAwsjson11_deserializeOpDocumentRemoveRegionsFromReplicationOutput(v **Re } sv.ARN = ptr.String(jtv) } - case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -5858,12 +5636,10 @@ func awsAwsjson11_deserializeOpDocumentReplicateSecretToRegionsOutput(v **Replic } sv.ARN = ptr.String(jtv) } - case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -5903,7 +5679,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreSecretOutput(v **RestoreSecretOutp } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5912,7 +5687,6 @@ func awsAwsjson11_deserializeOpDocumentRestoreSecretOutput(v **RestoreSecretOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5952,7 +5726,6 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5961,7 +5734,6 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.Name = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5970,7 +5742,6 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6010,7 +5781,6 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationToReplicaOutput(v **StopRe } sv.ARN = ptr.String(jtv) } - default: _, _ = key, value @@ -6050,7 +5820,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6059,7 +5828,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.Name = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -6068,7 +5836,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -6108,7 +5875,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretVersionStageOutput(v **Update } sv.ARN = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6117,7 +5883,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretVersionStageOutput(v **Update } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6157,12 +5922,10 @@ func awsAwsjson11_deserializeOpDocumentValidateResourcePolicyOutput(v **Validate } sv.PolicyValidationPassed = jtv } - case "ValidationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrorsType(&sv.ValidationErrors, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/securityhub/deserializers.go b/service/securityhub/deserializers.go index 3aa40432b71..4343c3ff69e 100644 --- a/service/securityhub/deserializers.go +++ b/service/securityhub/deserializers.go @@ -384,12 +384,10 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteAutomationRulesOutput(v **Batc if err := awsRestjson1_deserializeDocumentAutomationRulesArnsList(&sv.ProcessedAutomationRules, value); err != nil { return err } - case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } - default: _, _ = key, value @@ -553,7 +551,6 @@ func awsRestjson1_deserializeOpDocumentBatchDisableStandardsOutput(v **BatchDisa if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -717,7 +714,6 @@ func awsRestjson1_deserializeOpDocumentBatchEnableStandardsOutput(v **BatchEnabl if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -884,12 +880,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetAutomationRulesOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentAutomationRulesConfigList(&sv.Rules, value); err != nil { return err } - case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } - default: _, _ = key, value @@ -1056,12 +1050,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetConfigurationPolicyAssociationsOu if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociationList(&sv.ConfigurationPolicyAssociations, value); err != nil { return err } - case "UnprocessedConfigurationPolicyAssociations": if err := awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociationList(&sv.UnprocessedConfigurationPolicyAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -1222,12 +1214,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetSecurityControlsOutput(v **BatchG if err := awsRestjson1_deserializeDocumentSecurityControls(&sv.SecurityControls, value); err != nil { return err } - case "UnprocessedIds": if err := awsRestjson1_deserializeDocumentUnprocessedSecurityControls(&sv.UnprocessedIds, value); err != nil { return err } - default: _, _ = key, value @@ -1388,12 +1378,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetStandardsControlAssociationsOutpu if err := awsRestjson1_deserializeDocumentStandardsControlAssociationDetails(&sv.StandardsControlAssociationDetails, value); err != nil { return err } - case "UnprocessedAssociations": if err := awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociations(&sv.UnprocessedAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -1562,12 +1550,10 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport } sv.FailedCount = ptr.Int32(int32(i64)) } - case "FailedFindings": if err := awsRestjson1_deserializeDocumentImportFindingsErrorList(&sv.FailedFindings, value); err != nil { return err } - case "SuccessCount": if value != nil { jtv, ok := value.(json.Number) @@ -1580,7 +1566,6 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport } sv.SuccessCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1744,12 +1729,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateAutomationRulesOutput(v **Batc if err := awsRestjson1_deserializeDocumentAutomationRulesArnsList(&sv.ProcessedAutomationRules, value); err != nil { return err } - case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } - default: _, _ = key, value @@ -1910,12 +1893,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateFindingsOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifierList(&sv.ProcessedFindings, value); err != nil { return err } - case "UnprocessedFindings": if err := awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFindingsList(&sv.UnprocessedFindings, value); err != nil { return err } - default: _, _ = key, value @@ -2079,7 +2060,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateStandardsControlAssociationsOu if err := awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdates(&sv.UnprocessedAssociationUpdates, value); err != nil { return err } - default: _, _ = key, value @@ -2247,7 +2227,6 @@ func awsRestjson1_deserializeOpDocumentCreateActionTargetOutput(v **CreateAction } sv.ActionTargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2415,7 +2394,6 @@ func awsRestjson1_deserializeOpDocumentCreateAutomationRuleOutput(v **CreateAuto } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2586,12 +2564,10 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Arn = ptr.String(jtv) } - case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2604,7 +2580,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2613,7 +2588,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2622,7 +2596,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2631,7 +2604,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Name = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2644,7 +2616,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -2812,7 +2783,6 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.FindingAggregationRegion = ptr.String(jtv) } - case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -2821,7 +2791,6 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.FindingAggregatorArn = ptr.String(jtv) } - case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -2830,12 +2799,10 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.RegionLinkingMode = ptr.String(jtv) } - case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -3003,7 +2970,6 @@ func awsRestjson1_deserializeOpDocumentCreateInsightOutput(v **CreateInsightOutp } sv.InsightArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3170,7 +3136,6 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -3331,7 +3296,6 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -3496,7 +3460,6 @@ func awsRestjson1_deserializeOpDocumentDeleteActionTargetOutput(v **DeleteAction } sv.ActionTargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3873,7 +3836,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInsightOutput(v **DeleteInsightOutp } sv.InsightArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4037,7 +3999,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -4201,7 +4162,6 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -4362,7 +4322,6 @@ func awsRestjson1_deserializeOpDocumentDescribeActionTargetsOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentActionTargetList(&sv.ActionTargets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4371,7 +4330,6 @@ func awsRestjson1_deserializeOpDocumentDescribeActionTargetsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4539,7 +4497,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.AutoEnableControls = ptr.Bool(jtv) } - case "ControlFindingGenerator": if value != nil { jtv, ok := value.(string) @@ -4548,7 +4505,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.ControlFindingGenerator = types.ControlFindingGenerator(jtv) } - case "HubArn": if value != nil { jtv, ok := value.(string) @@ -4557,7 +4513,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubArn = ptr.String(jtv) } - case "SubscribedAt": if value != nil { jtv, ok := value.(string) @@ -4566,7 +4521,6 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.SubscribedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -4731,7 +4685,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } - case "AutoEnableStandards": if value != nil { jtv, ok := value.(string) @@ -4740,7 +4693,6 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnableStandards = types.AutoEnableStandards(jtv) } - case "MemberAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -4749,12 +4701,10 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MemberAccountLimitReached = ptr.Bool(jtv) } - case "OrganizationConfiguration": if err := awsRestjson1_deserializeDocumentOrganizationConfiguration(&sv.OrganizationConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4919,12 +4869,10 @@ func awsRestjson1_deserializeOpDocumentDescribeProductsOutput(v **DescribeProduc } sv.NextToken = ptr.String(jtv) } - case "Products": if err := awsRestjson1_deserializeDocumentProductsList(&sv.Products, value); err != nil { return err } - default: _, _ = key, value @@ -5086,12 +5034,10 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsOutput(v **DescribeStand } sv.NextToken = ptr.String(jtv) } - case "Standards": if err := awsRestjson1_deserializeDocumentStandards(&sv.Standards, value); err != nil { return err } - default: _, _ = key, value @@ -5252,7 +5198,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsControlsOutput(v **Descr if err := awsRestjson1_deserializeDocumentStandardsControls(&sv.Controls, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5261,7 +5206,6 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsControlsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6032,7 +5976,6 @@ func awsRestjson1_deserializeOpDocumentEnableImportFindingsForProductOutput(v ** } sv.ProductSubscriptionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6396,7 +6339,6 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentInvitation(&sv.Administrator, value); err != nil { return err } - default: _, _ = key, value @@ -6567,12 +6509,10 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Arn = ptr.String(jtv) } - case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6585,7 +6525,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6594,7 +6533,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6603,7 +6541,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6612,7 +6549,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Name = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6625,7 +6561,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6796,7 +6731,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } - case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -6805,7 +6739,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationStatusMessage = ptr.String(jtv) } - case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -6814,7 +6747,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationType = types.AssociationType(jtv) } - case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -6823,7 +6755,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.ConfigurationPolicyId = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -6832,7 +6763,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -6841,7 +6771,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.TargetType = types.TargetType(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6854,7 +6783,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -7019,12 +6947,10 @@ func awsRestjson1_deserializeOpDocumentGetEnabledStandardsOutput(v **GetEnabledS } sv.NextToken = ptr.String(jtv) } - case "StandardsSubscriptions": if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -7195,7 +7121,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.FindingAggregationRegion = ptr.String(jtv) } - case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -7204,7 +7129,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.FindingAggregatorArn = ptr.String(jtv) } - case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -7213,12 +7137,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.RegionLinkingMode = ptr.String(jtv) } - case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -7383,12 +7305,10 @@ func awsRestjson1_deserializeOpDocumentGetFindingHistoryOutput(v **GetFindingHis } sv.NextToken = ptr.String(jtv) } - case "Records": if err := awsRestjson1_deserializeDocumentFindingHistoryRecordList(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -7549,7 +7469,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentAwsSecurityFindingList(&sv.Findings, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7477,6 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7722,7 +7640,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightResultsOutput(v **GetInsightRes if err := awsRestjson1_deserializeDocumentInsightResults(&sv.InsightResults, value); err != nil { return err } - default: _, _ = key, value @@ -7886,7 +7803,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, if err := awsRestjson1_deserializeDocumentInsightList(&sv.Insights, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7895,7 +7811,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8064,7 +7979,6 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8228,7 +8142,6 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentInvitation(&sv.Master, value); err != nil { return err } - default: _, _ = key, value @@ -8392,12 +8305,10 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } - case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -8561,7 +8472,6 @@ func awsRestjson1_deserializeOpDocumentGetSecurityControlDefinitionOutput(v **Ge if err := awsRestjson1_deserializeDocumentSecurityControlDefinition(&sv.SecurityControlDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -8725,7 +8635,6 @@ func awsRestjson1_deserializeOpDocumentInviteMembersOutput(v **InviteMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } - default: _, _ = key, value @@ -8889,7 +8798,6 @@ func awsRestjson1_deserializeOpDocumentListAutomationRulesOutput(v **ListAutomat if err := awsRestjson1_deserializeDocumentAutomationRulesMetadataList(&sv.AutomationRulesMetadata, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8898,7 +8806,6 @@ func awsRestjson1_deserializeOpDocumentListAutomationRulesOutput(v **ListAutomat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9062,7 +8969,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPoliciesOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationPolicySummaryList(&sv.ConfigurationPolicySummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9071,7 +8977,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPoliciesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9235,7 +9140,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPolicyAssociationsOutput if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummaryList(&sv.ConfigurationPolicyAssociationSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9244,7 +9148,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPolicyAssociationsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9406,12 +9309,10 @@ func awsRestjson1_deserializeOpDocumentListEnabledProductsForImportOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "ProductSubscriptions": if err := awsRestjson1_deserializeDocumentProductSubscriptionArnList(&sv.ProductSubscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -9575,7 +9476,6 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregatorsOutput(v **ListFind if err := awsRestjson1_deserializeDocumentFindingAggregatorList(&sv.FindingAggregators, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9584,7 +9484,6 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregatorsOutput(v **ListFind } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9745,7 +9644,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitationList(&sv.Invitations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9754,7 +9652,6 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9915,7 +9812,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9924,7 +9820,6 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10085,7 +9980,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdminAccounts(&sv.AdminAccounts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10094,7 +9988,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10259,12 +10152,10 @@ func awsRestjson1_deserializeOpDocumentListSecurityControlDefinitionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "SecurityControlDefinitions": if err := awsRestjson1_deserializeDocumentSecurityControlDefinitions(&sv.SecurityControlDefinitions, value); err != nil { return err } - default: _, _ = key, value @@ -10429,12 +10320,10 @@ func awsRestjson1_deserializeOpDocumentListStandardsControlAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "StandardsControlAssociationSummaries": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationSummaries(&sv.StandardsControlAssociationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -10592,7 +10481,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10763,7 +10651,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } - case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -10772,7 +10659,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationStatusMessage = ptr.String(jtv) } - case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -10781,7 +10667,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationType = types.AssociationType(jtv) } - case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -10790,7 +10675,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.ConfigurationPolicyId = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10799,7 +10683,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -10808,7 +10691,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.TargetType = types.TargetType(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10821,7 +10703,6 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11383,12 +11264,10 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Arn = ptr.String(jtv) } - case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11280,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11410,7 +11288,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11419,7 +11296,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11428,7 +11304,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Name = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11441,7 +11316,6 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -11612,7 +11486,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.FindingAggregationRegion = ptr.String(jtv) } - case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -11621,7 +11494,6 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.FindingAggregatorArn = ptr.String(jtv) } - case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -11630,12 +11502,10 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.RegionLinkingMode = ptr.String(jtv) } - case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } - default: _, _ = key, value @@ -12568,13 +12438,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -12584,8 +12448,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12593,15 +12456,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12636,27 +12495,22 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = ptr.String(jtv) } - case "AwsApiCallAction": if err := awsRestjson1_deserializeDocumentAwsApiCallAction(&sv.AwsApiCallAction, value); err != nil { return err } - case "DnsRequestAction": if err := awsRestjson1_deserializeDocumentDnsRequestAction(&sv.DnsRequestAction, value); err != nil { return err } - case "NetworkConnectionAction": if err := awsRestjson1_deserializeDocumentNetworkConnectionAction(&sv.NetworkConnectionAction, value); err != nil { return err } - case "PortProbeAction": if err := awsRestjson1_deserializeDocumentPortProbeAction(&sv.PortProbeAction, value); err != nil { return err } - default: _, _ = key, value @@ -12730,7 +12584,6 @@ func awsRestjson1_deserializeDocumentActionLocalIpDetails(v **types.ActionLocalI } sv.IpAddressV4 = ptr.String(jtv) } - default: _, _ = key, value @@ -12774,7 +12627,6 @@ func awsRestjson1_deserializeDocumentActionLocalPortDetails(v **types.ActionLoca } sv.Port = ptr.Int32(int32(i64)) } - case "PortName": if value != nil { jtv, ok := value.(string) @@ -12783,7 +12635,6 @@ func awsRestjson1_deserializeDocumentActionLocalPortDetails(v **types.ActionLoca } sv.PortName = ptr.String(jtv) } - default: _, _ = key, value @@ -12819,17 +12670,14 @@ func awsRestjson1_deserializeDocumentActionRemoteIpDetails(v **types.ActionRemot if err := awsRestjson1_deserializeDocumentCity(&sv.City, value); err != nil { return err } - case "Country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } - case "GeoLocation": if err := awsRestjson1_deserializeDocumentGeoLocation(&sv.GeoLocation, value); err != nil { return err } - case "IpAddressV4": if value != nil { jtv, ok := value.(string) @@ -12838,12 +12686,10 @@ func awsRestjson1_deserializeDocumentActionRemoteIpDetails(v **types.ActionRemot } sv.IpAddressV4 = ptr.String(jtv) } - case "Organization": if err := awsRestjson1_deserializeDocumentIpOrganizationDetails(&sv.Organization, value); err != nil { return err } - default: _, _ = key, value @@ -12887,7 +12733,6 @@ func awsRestjson1_deserializeDocumentActionRemotePortDetails(v **types.ActionRem } sv.Port = ptr.Int32(int32(i64)) } - case "PortName": if value != nil { jtv, ok := value.(string) @@ -12896,7 +12741,6 @@ func awsRestjson1_deserializeDocumentActionRemotePortDetails(v **types.ActionRem } sv.PortName = ptr.String(jtv) } - default: _, _ = key, value @@ -12936,7 +12780,6 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ActionTargetArn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12945,7 +12788,6 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12954,7 +12796,6 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13028,7 +12869,6 @@ func awsRestjson1_deserializeDocumentAdjustment(v **types.Adjustment, value inte } sv.Metric = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -13037,7 +12877,6 @@ func awsRestjson1_deserializeDocumentAdjustment(v **types.Adjustment, value inte } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -13111,7 +12950,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AccountId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13120,7 +12958,6 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.Status = types.AdminStatus(jtv) } - default: _, _ = key, value @@ -13194,7 +13031,6 @@ func awsRestjson1_deserializeDocumentAssociatedStandard(v **types.AssociatedStan } sv.StandardsId = ptr.String(jtv) } - default: _, _ = key, value @@ -13264,7 +13100,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association if err := awsRestjson1_deserializeDocumentAssociationStateDetails(&sv.AssociationState, value); err != nil { return err } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -13273,7 +13108,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.GatewayId = ptr.String(jtv) } - case "Main": if value != nil { jtv, ok := value.(bool) @@ -13282,7 +13116,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.Main = ptr.Bool(jtv) } - case "RouteTableAssociationId": if value != nil { jtv, ok := value.(string) @@ -13291,7 +13124,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.RouteTableAssociationId = ptr.String(jtv) } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -13300,7 +13132,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.RouteTableId = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -13309,7 +13140,6 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -13383,7 +13213,6 @@ func awsRestjson1_deserializeDocumentAssociationStateDetails(v **types.Associati } sv.State = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13392,7 +13221,6 @@ func awsRestjson1_deserializeDocumentAssociationStateDetails(v **types.Associati } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -13428,7 +13256,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesAction(v **types.AutomationR if err := awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(&sv.FindingFieldsUpdate, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13437,7 +13264,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesAction(v **types.AutomationR } sv.Type = types.AutomationRulesActionType(jtv) } - default: _, _ = key, value @@ -13509,7 +13335,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -13522,7 +13347,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.CreatedAt = ptr.Time(t) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13531,12 +13355,10 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.CreatedBy = ptr.String(jtv) } - case "Criteria": if err := awsRestjson1_deserializeDocumentAutomationRulesFindingFilters(&sv.Criteria, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13545,7 +13367,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.Description = ptr.String(jtv) } - case "IsTerminal": if value != nil { jtv, ok := value.(bool) @@ -13554,7 +13375,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.IsTerminal = ptr.Bool(jtv) } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -13563,7 +13383,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleArn = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -13572,7 +13391,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleName = ptr.String(jtv) } - case "RuleOrder": if value != nil { jtv, ok := value.(json.Number) @@ -13585,7 +13403,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleOrder = ptr.Int32(int32(i64)) } - case "RuleStatus": if value != nil { jtv, ok := value.(string) @@ -13594,7 +13411,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleStatus = types.RuleStatus(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -13607,7 +13423,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -13685,7 +13500,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.Confidence = ptr.Int32(int32(i64)) } - case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -13698,32 +13512,26 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.Criticality = ptr.Int32(int32(i64)) } - case "Note": if err := awsRestjson1_deserializeDocumentNoteUpdate(&sv.Note, value); err != nil { return err } - case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } - case "Severity": if err := awsRestjson1_deserializeDocumentSeverityUpdate(&sv.Severity, value); err != nil { return err } - case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } - case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.UserDefinedFields, value); err != nil { return err } - case "VerificationState": if value != nil { jtv, ok := value.(string) @@ -13732,12 +13540,10 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.VerificationState = types.VerificationState(jtv) } - case "Workflow": if err := awsRestjson1_deserializeDocumentWorkflowUpdate(&sv.Workflow, value); err != nil { return err } - default: _, _ = key, value @@ -13773,192 +13579,154 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFilters(v **types.Aut if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } - case "AwsAccountName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountName, value); err != nil { return err } - case "CompanyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CompanyName, value); err != nil { return err } - case "ComplianceAssociatedStandardsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceAssociatedStandardsId, value); err != nil { return err } - case "ComplianceSecurityControlId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlId, value); err != nil { return err } - case "ComplianceStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceStatus, value); err != nil { return err } - case "Confidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Confidence, value); err != nil { return err } - case "CreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.CreatedAt, value); err != nil { return err } - case "Criticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Criticality, value); err != nil { return err } - case "Description": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Description, value); err != nil { return err } - case "FirstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } - case "GeneratorId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.GeneratorId, value); err != nil { return err } - case "Id": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Id, value); err != nil { return err } - case "LastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } - case "NoteText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteText, value); err != nil { return err } - case "NoteUpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.NoteUpdatedAt, value); err != nil { return err } - case "NoteUpdatedBy": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteUpdatedBy, value); err != nil { return err } - case "ProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductArn, value); err != nil { return err } - case "ProductName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductName, value); err != nil { return err } - case "RecordState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecordState, value); err != nil { return err } - case "RelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsId, value); err != nil { return err } - case "RelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsProductArn, value); err != nil { return err } - case "ResourceApplicationArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationArn, value); err != nil { return err } - case "ResourceApplicationName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationName, value); err != nil { return err } - case "ResourceDetailsOther": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceDetailsOther, value); err != nil { return err } - case "ResourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } - case "ResourcePartition": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourcePartition, value); err != nil { return err } - case "ResourceRegion": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceRegion, value); err != nil { return err } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } - case "SeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SeverityLabel, value); err != nil { return err } - case "SourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SourceUrl, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } - case "Type": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Type, value); err != nil { return err } - case "UpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } - case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.UserDefinedFields, value); err != nil { return err } - case "VerificationState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VerificationState, value); err != nil { return err } - case "WorkflowStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowStatus, value); err != nil { return err } - default: _, _ = key, value @@ -14002,7 +13770,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.CreatedAt = ptr.Time(t) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -14011,7 +13778,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.CreatedBy = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14020,7 +13786,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.Description = ptr.String(jtv) } - case "IsTerminal": if value != nil { jtv, ok := value.(bool) @@ -14029,7 +13794,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.IsTerminal = ptr.Bool(jtv) } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -14038,7 +13802,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleArn = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -14047,7 +13810,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleName = ptr.String(jtv) } - case "RuleOrder": if value != nil { jtv, ok := value.(json.Number) @@ -14060,7 +13822,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleOrder = ptr.Int32(int32(i64)) } - case "RuleStatus": if value != nil { jtv, ok := value.(string) @@ -14069,7 +13830,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleStatus = types.RuleStatus(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -14082,7 +13842,6 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -14156,7 +13915,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.SubnetId = ptr.String(jtv) } - case "ZoneName": if value != nil { jtv, ok := value.(string) @@ -14165,7 +13923,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.ZoneName = ptr.String(jtv) } - default: _, _ = key, value @@ -14239,7 +13996,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.AuthenticationStrategy = ptr.String(jtv) } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -14248,7 +14004,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "BrokerArn": if value != nil { jtv, ok := value.(string) @@ -14257,7 +14012,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerArn = ptr.String(jtv) } - case "BrokerId": if value != nil { jtv, ok := value.(string) @@ -14266,7 +14020,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerId = ptr.String(jtv) } - case "BrokerName": if value != nil { jtv, ok := value.(string) @@ -14275,7 +14028,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerName = ptr.String(jtv) } - case "DeploymentMode": if value != nil { jtv, ok := value.(string) @@ -14284,12 +14036,10 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.DeploymentMode = ptr.String(jtv) } - case "EncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(&sv.EncryptionOptions, value); err != nil { return err } - case "EngineType": if value != nil { jtv, ok := value.(string) @@ -14298,7 +14048,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.EngineType = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -14307,7 +14056,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.EngineVersion = ptr.String(jtv) } - case "HostInstanceType": if value != nil { jtv, ok := value.(string) @@ -14316,22 +14064,18 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.HostInstanceType = ptr.String(jtv) } - case "LdapServerMetadata": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails(&sv.LdapServerMetadata, value); err != nil { return err } - case "Logs": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(&sv.Logs, value); err != nil { return err } - case "MaintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails(&sv.MaintenanceWindowStartTime, value); err != nil { return err } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -14340,12 +14084,10 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -14354,17 +14096,14 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.StorageType = ptr.String(jtv) } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } - case "Users": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -14404,7 +14143,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v } sv.KmsKeyId = ptr.String(jtv) } - case "UseAwsOwnedKey": if value != nil { jtv, ok := value.(bool) @@ -14413,7 +14151,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v } sv.UseAwsOwnedKey = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14449,7 +14186,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( if err := awsRestjson1_deserializeDocumentStringList(&sv.Hosts, value); err != nil { return err } - case "RoleBase": if value != nil { jtv, ok := value.(string) @@ -14458,7 +14194,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleBase = ptr.String(jtv) } - case "RoleName": if value != nil { jtv, ok := value.(string) @@ -14467,7 +14202,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleName = ptr.String(jtv) } - case "RoleSearchMatching": if value != nil { jtv, ok := value.(string) @@ -14476,7 +14210,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleSearchMatching = ptr.String(jtv) } - case "RoleSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -14485,7 +14218,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleSearchSubtree = ptr.Bool(jtv) } - case "ServiceAccountUsername": if value != nil { jtv, ok := value.(string) @@ -14494,7 +14226,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.ServiceAccountUsername = ptr.String(jtv) } - case "UserBase": if value != nil { jtv, ok := value.(string) @@ -14503,7 +14234,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserBase = ptr.String(jtv) } - case "UserRoleName": if value != nil { jtv, ok := value.(string) @@ -14512,7 +14242,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserRoleName = ptr.String(jtv) } - case "UserSearchMatching": if value != nil { jtv, ok := value.(string) @@ -14521,7 +14250,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserSearchMatching = ptr.String(jtv) } - case "UserSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -14530,7 +14258,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserSearchSubtree = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14570,7 +14297,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.Audit = ptr.Bool(jtv) } - case "AuditLogGroup": if value != nil { jtv, ok := value.(string) @@ -14579,7 +14305,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.AuditLogGroup = ptr.String(jtv) } - case "General": if value != nil { jtv, ok := value.(bool) @@ -14588,7 +14313,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.General = ptr.Bool(jtv) } - case "GeneralLogGroup": if value != nil { jtv, ok := value.(string) @@ -14597,12 +14321,10 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.GeneralLogGroup = ptr.String(jtv) } - case "Pending": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(&sv.Pending, value); err != nil { return err } - default: _, _ = key, value @@ -14642,7 +14364,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ } sv.Audit = ptr.Bool(jtv) } - case "General": if value != nil { jtv, ok := value.(bool) @@ -14651,7 +14372,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ } sv.General = ptr.Bool(jtv) } - default: _, _ = key, value @@ -14691,7 +14411,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.DayOfWeek = ptr.String(jtv) } - case "TimeOfDay": if value != nil { jtv, ok := value.(string) @@ -14700,7 +14419,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.TimeOfDay = ptr.String(jtv) } - case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -14709,7 +14427,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.TimeZone = ptr.String(jtv) } - default: _, _ = key, value @@ -14749,7 +14466,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersDetails(v **types.Aws } sv.PendingChange = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -14758,7 +14474,6 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersDetails(v **types.Aws } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -14828,7 +14543,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction if err := awsRestjson1_deserializeDocumentFieldMap(&sv.AffectedResources, value); err != nil { return err } - case "Api": if value != nil { jtv, ok := value.(string) @@ -14837,7 +14551,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.Api = ptr.String(jtv) } - case "CallerType": if value != nil { jtv, ok := value.(string) @@ -14846,12 +14559,10 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.CallerType = ptr.String(jtv) } - case "DomainDetails": if err := awsRestjson1_deserializeDocumentAwsApiCallActionDomainDetails(&sv.DomainDetails, value); err != nil { return err } - case "FirstSeen": if value != nil { jtv, ok := value.(string) @@ -14860,7 +14571,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.FirstSeen = ptr.String(jtv) } - case "LastSeen": if value != nil { jtv, ok := value.(string) @@ -14869,12 +14579,10 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.LastSeen = ptr.String(jtv) } - case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -14883,7 +14591,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -14923,7 +14630,6 @@ func awsRestjson1_deserializeDocumentAwsApiCallActionDomainDetails(v **types.Aws } sv.Domain = ptr.String(jtv) } - default: _, _ = key, value @@ -14963,7 +14669,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(v **types.Aw } sv.DestinationArn = ptr.String(jtv) } - case "Format": if value != nil { jtv, ok := value.(string) @@ -14972,7 +14677,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(v **types.Aw } sv.Format = ptr.String(jtv) } - default: _, _ = key, value @@ -15012,7 +14716,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } sv.DeploymentId = ptr.String(jtv) } - case "PercentTraffic": if value != nil { switch jtv := value.(type) { @@ -15046,12 +14749,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } } - case "StageVariableOverrides": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.StageVariableOverrides, value); err != nil { return err } - case "UseStageCache": if value != nil { jtv, ok := value.(bool) @@ -15060,7 +14761,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } sv.UseStageCache = ptr.Bool(jtv) } - default: _, _ = key, value @@ -15096,7 +14796,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayEndpointConfiguration(v **type if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -15136,7 +14835,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CacheDataEncrypted = ptr.Bool(jtv) } - case "CacheTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15149,7 +14847,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CacheTtlInSeconds = ptr.Int32(int32(i64)) } - case "CachingEnabled": if value != nil { jtv, ok := value.(bool) @@ -15158,7 +14855,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CachingEnabled = ptr.Bool(jtv) } - case "DataTraceEnabled": if value != nil { jtv, ok := value.(bool) @@ -15167,7 +14863,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.DataTraceEnabled = ptr.Bool(jtv) } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -15176,7 +14871,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.HttpMethod = ptr.String(jtv) } - case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -15185,7 +14879,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.LoggingLevel = ptr.String(jtv) } - case "MetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15194,7 +14887,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.MetricsEnabled = ptr.Bool(jtv) } - case "RequireAuthorizationForCacheControl": if value != nil { jtv, ok := value.(bool) @@ -15203,7 +14895,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.RequireAuthorizationForCacheControl = ptr.Bool(jtv) } - case "ResourcePath": if value != nil { jtv, ok := value.(string) @@ -15212,7 +14903,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.ResourcePath = ptr.String(jtv) } - case "ThrottlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15225,7 +14915,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } - case "ThrottlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -15259,7 +14948,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } } - case "UnauthorizedCacheControlHeaderStrategy": if value != nil { jtv, ok := value.(string) @@ -15268,7 +14956,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.UnauthorizedCacheControlHeaderStrategy = ptr.String(jtv) } - default: _, _ = key, value @@ -15342,12 +15029,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.ApiKeySource = ptr.String(jtv) } - case "BinaryMediaTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BinaryMediaTypes, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15356,7 +15041,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15365,12 +15049,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Description = ptr.String(jtv) } - case "EndpointConfiguration": if err := awsRestjson1_deserializeDocumentAwsApiGatewayEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15379,7 +15061,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Id = ptr.String(jtv) } - case "MinimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -15392,7 +15073,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15401,7 +15081,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -15410,7 +15089,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15446,7 +15124,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG if err := awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "CacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -15455,7 +15132,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterEnabled = ptr.Bool(jtv) } - case "CacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -15464,7 +15140,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterSize = ptr.String(jtv) } - case "CacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -15473,12 +15148,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterStatus = ptr.String(jtv) } - case "CanarySettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(&sv.CanarySettings, value); err != nil { return err } - case "ClientCertificateId": if value != nil { jtv, ok := value.(string) @@ -15487,7 +15160,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.ClientCertificateId = ptr.String(jtv) } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15496,7 +15168,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CreatedDate = ptr.String(jtv) } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15505,7 +15176,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.DeploymentId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15514,7 +15184,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.Description = ptr.String(jtv) } - case "DocumentationVersion": if value != nil { jtv, ok := value.(string) @@ -15523,7 +15192,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.DocumentationVersion = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -15532,12 +15200,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.LastUpdatedDate = ptr.String(jtv) } - case "MethodSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettingsList(&sv.MethodSettings, value); err != nil { return err } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -15546,7 +15212,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.StageName = ptr.String(jtv) } - case "TracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -15555,12 +15220,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.TracingEnabled = ptr.Bool(jtv) } - case "Variables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Variables, value); err != nil { return err } - case "WebAclArn": if value != nil { jtv, ok := value.(string) @@ -15569,7 +15232,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.WebAclArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15609,7 +15271,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiEndpoint = ptr.String(jtv) } - case "ApiId": if value != nil { jtv, ok := value.(string) @@ -15618,7 +15279,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiId = ptr.String(jtv) } - case "ApiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15627,12 +15287,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiKeySelectionExpression = ptr.String(jtv) } - case "CorsConfiguration": if err := awsRestjson1_deserializeDocumentAwsCorsConfiguration(&sv.CorsConfiguration, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15641,7 +15299,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.CreatedDate = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15650,7 +15307,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15659,7 +15315,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Name = ptr.String(jtv) } - case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -15668,7 +15323,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ProtocolType = ptr.String(jtv) } - case "RouteSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15677,7 +15331,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.RouteSelectionExpression = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -15686,7 +15339,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -15726,7 +15378,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.DataTraceEnabled = ptr.Bool(jtv) } - case "DetailedMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15735,7 +15386,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.DetailedMetricsEnabled = ptr.Bool(jtv) } - case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -15744,7 +15394,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.LoggingLevel = ptr.String(jtv) } - case "ThrottlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15757,7 +15406,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } - case "ThrottlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -15791,7 +15439,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } } - default: _, _ = key, value @@ -15827,7 +15474,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp if err := awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } - case "ApiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -15836,7 +15482,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.ApiGatewayManaged = ptr.Bool(jtv) } - case "AutoDeploy": if value != nil { jtv, ok := value.(bool) @@ -15845,7 +15490,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.AutoDeploy = ptr.Bool(jtv) } - case "ClientCertificateId": if value != nil { jtv, ok := value.(string) @@ -15854,7 +15498,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.ClientCertificateId = ptr.String(jtv) } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15863,12 +15506,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.CreatedDate = ptr.String(jtv) } - case "DefaultRouteSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } - case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15877,7 +15518,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.DeploymentId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15886,7 +15526,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.Description = ptr.String(jtv) } - case "LastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15895,7 +15534,6 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.LastDeploymentStatusMessage = ptr.String(jtv) } - case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -15904,12 +15542,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.LastUpdatedDate = ptr.String(jtv) } - case "RouteSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(&sv.RouteSettings, value); err != nil { return err } - case "StageName": if value != nil { jtv, ok := value.(string) @@ -15918,12 +15554,10 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.StageName = ptr.String(jtv) } - case "StageVariables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.StageVariables, value); err != nil { return err } - default: _, _ = key, value @@ -15963,22 +15597,18 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiAdditionalAuthenticatio } sv.AuthenticationType = ptr.String(jtv) } - case "LambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails(&sv.LambdaAuthorizerConfig, value); err != nil { return err } - case "OpenIdConnectConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetails(&sv.OpenIdConnectConfig, value); err != nil { return err } - case "UserPoolConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(&sv.UserPoolConfig, value); err != nil { return err } - default: _, _ = key, value @@ -16048,7 +15678,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiAdditionalAuthenticationProvidersList(&sv.AdditionalAuthenticationProviders, value); err != nil { return err } - case "ApiId": if value != nil { jtv, ok := value.(string) @@ -16057,7 +15686,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.ApiId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -16066,7 +15694,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Arn = ptr.String(jtv) } - case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -16075,7 +15702,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.AuthenticationType = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16084,17 +15710,14 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Id = ptr.String(jtv) } - case "LambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails(&sv.LambdaAuthorizerConfig, value); err != nil { return err } - case "LogConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(&sv.LogConfig, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16103,17 +15726,14 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Name = ptr.String(jtv) } - case "OpenIdConnectConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetails(&sv.OpenIdConnectConfig, value); err != nil { return err } - case "UserPoolConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(&sv.UserPoolConfig, value); err != nil { return err } - case "WafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -16122,7 +15742,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.WafWebAclArn = ptr.String(jtv) } - case "XrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -16131,7 +15750,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.XrayEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16175,7 +15793,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } - case "AuthorizerUri": if value != nil { jtv, ok := value.(string) @@ -16184,7 +15801,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.AuthorizerUri = ptr.String(jtv) } - case "IdentityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -16193,7 +15809,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.IdentityValidationExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -16233,7 +15848,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "ExcludeVerboseContent": if value != nil { jtv, ok := value.(bool) @@ -16242,7 +15856,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.ExcludeVerboseContent = ptr.Bool(jtv) } - case "FieldLogLevel": if value != nil { jtv, ok := value.(string) @@ -16251,7 +15864,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.FieldLogLevel = ptr.String(jtv) } - default: _, _ = key, value @@ -16295,7 +15907,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.AuthTtL = ptr.Int64(i64) } - case "ClientId": if value != nil { jtv, ok := value.(string) @@ -16304,7 +15915,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.ClientId = ptr.String(jtv) } - case "IatTtL": if value != nil { jtv, ok := value.(json.Number) @@ -16317,7 +15927,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.IatTtL = ptr.Int64(i64) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -16326,7 +15935,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.Issuer = ptr.String(jtv) } - default: _, _ = key, value @@ -16366,7 +15974,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.AppIdClientRegex = ptr.String(jtv) } - case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -16375,7 +15982,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.AwsRegion = ptr.String(jtv) } - case "DefaultAction": if value != nil { jtv, ok := value.(string) @@ -16384,7 +15990,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.DefaultAction = ptr.String(jtv) } - case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -16393,7 +15998,6 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.UserPoolId = ptr.String(jtv) } - default: _, _ = key, value @@ -16429,7 +16033,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationDetails(v ** if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfigurationDetails(&sv.ResultConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16465,7 +16068,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails(&sv.EncryptionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16505,7 +16107,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig } sv.EncryptionOption = ptr.String(jtv) } - case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -16514,7 +16115,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig } sv.KmsKey = ptr.String(jtv) } - default: _, _ = key, value @@ -16550,7 +16150,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationDetails(&sv.Configuration, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16559,7 +16158,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16568,7 +16166,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -16577,7 +16174,6 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -16651,7 +16247,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupAvailabilityZ } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16687,7 +16282,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupAvailabilityZonesList(&sv.AvailabilityZones, value); err != nil { return err } - case "CapacityRebalance": if value != nil { jtv, ok := value.(bool) @@ -16696,7 +16290,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.CapacityRebalance = ptr.Bool(jtv) } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -16705,7 +16298,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.CreatedTime = ptr.String(jtv) } - case "HealthCheckGracePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -16718,7 +16310,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.HealthCheckGracePeriod = ptr.Int32(int32(i64)) } - case "HealthCheckType": if value != nil { jtv, ok := value.(string) @@ -16727,7 +16318,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.HealthCheckType = ptr.String(jtv) } - case "LaunchConfigurationName": if value != nil { jtv, ok := value.(string) @@ -16736,22 +16326,18 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.LaunchConfigurationName = ptr.String(jtv) } - case "LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } - case "LoadBalancerNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.LoadBalancerNames, value); err != nil { return err } - case "MixedInstancesPolicy": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails(&sv.MixedInstancesPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -16791,7 +16377,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.LaunchTemplateId = ptr.String(jtv) } - case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -16800,7 +16385,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.LaunchTemplateName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -16809,7 +16393,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -16845,12 +16428,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails(&sv.InstancesDistribution, value); err != nil { return err } - case "LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails(&sv.LaunchTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -16890,7 +16471,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandAllocationStrategy = ptr.String(jtv) } - case "OnDemandBaseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -16903,7 +16483,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandBaseCapacity = ptr.Int32(int32(i64)) } - case "OnDemandPercentageAboveBaseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -16916,7 +16495,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandPercentageAboveBaseCapacity = ptr.Int32(int32(i64)) } - case "SpotAllocationStrategy": if value != nil { jtv, ok := value.(string) @@ -16925,7 +16503,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotAllocationStrategy = ptr.String(jtv) } - case "SpotInstancePools": if value != nil { jtv, ok := value.(json.Number) @@ -16938,7 +16515,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotInstancePools = ptr.Int32(int32(i64)) } - case "SpotMaxPrice": if value != nil { jtv, ok := value.(string) @@ -16947,7 +16523,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotMaxPrice = ptr.String(jtv) } - default: _, _ = key, value @@ -16983,12 +16558,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification(&sv.LaunchTemplateSpecification, value); err != nil { return err } - case "Overrides": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList(&sv.Overrides, value); err != nil { return err } - default: _, _ = key, value @@ -17028,7 +16601,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.LaunchTemplateId = ptr.String(jtv) } - case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -17037,7 +16609,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.LaunchTemplateName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -17046,7 +16617,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -17120,7 +16690,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.InstanceType = ptr.String(jtv) } - case "WeightedCapacity": if value != nil { jtv, ok := value.(string) @@ -17129,7 +16698,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.WeightedCapacity = ptr.String(jtv) } - default: _, _ = key, value @@ -17169,12 +16737,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.DeviceName = ptr.String(jtv) } - case "Ebs": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(&sv.Ebs, value); err != nil { return err } - case "NoDevice": if value != nil { jtv, ok := value.(bool) @@ -17183,7 +16749,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.NoDevice = ptr.Bool(jtv) } - case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -17192,7 +16757,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VirtualName = ptr.String(jtv) } - default: _, _ = key, value @@ -17232,7 +16796,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -17241,7 +16804,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.Encrypted = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -17254,7 +16816,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.Iops = ptr.Int32(int32(i64)) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -17263,7 +16824,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.SnapshotId = ptr.String(jtv) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -17276,7 +16836,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -17285,7 +16844,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -17359,12 +16917,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "BlockDeviceMappings": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(&sv.BlockDeviceMappings, value); err != nil { return err } - case "ClassicLinkVpcId": if value != nil { jtv, ok := value.(string) @@ -17373,12 +16929,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.ClassicLinkVpcId = ptr.String(jtv) } - case "ClassicLinkVpcSecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ClassicLinkVpcSecurityGroups, value); err != nil { return err } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -17387,7 +16941,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.CreatedTime = ptr.String(jtv) } - case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -17396,7 +16949,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.EbsOptimized = ptr.Bool(jtv) } - case "IamInstanceProfile": if value != nil { jtv, ok := value.(string) @@ -17405,7 +16957,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.IamInstanceProfile = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -17414,12 +16965,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.ImageId = ptr.String(jtv) } - case "InstanceMonitoring": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(&sv.InstanceMonitoring, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -17428,7 +16977,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.InstanceType = ptr.String(jtv) } - case "KernelId": if value != nil { jtv, ok := value.(string) @@ -17437,7 +16985,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.KernelId = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -17446,7 +16993,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.KeyName = ptr.String(jtv) } - case "LaunchConfigurationName": if value != nil { jtv, ok := value.(string) @@ -17455,12 +17001,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.LaunchConfigurationName = ptr.String(jtv) } - case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } - case "PlacementTenancy": if value != nil { jtv, ok := value.(string) @@ -17469,7 +17013,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.PlacementTenancy = ptr.String(jtv) } - case "RamdiskId": if value != nil { jtv, ok := value.(string) @@ -17478,12 +17021,10 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.RamdiskId = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } - case "SpotPrice": if value != nil { jtv, ok := value.(string) @@ -17492,7 +17033,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.SpotPrice = ptr.String(jtv) } - case "UserData": if value != nil { jtv, ok := value.(string) @@ -17501,7 +17041,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.UserData = ptr.String(jtv) } - default: _, _ = key, value @@ -17541,7 +17080,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationInstanceMo } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -17581,7 +17119,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpEndpoint = ptr.String(jtv) } - case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -17594,7 +17131,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } - case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -17603,7 +17139,6 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpTokens = ptr.String(jtv) } - default: _, _ = key, value @@ -17639,7 +17174,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsDe if err := awsRestjson1_deserializeDocumentFieldMap(&sv.BackupOptions, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17648,7 +17182,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsDe } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -17718,7 +17251,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsList(&sv.AdvancedBackupSettings, value); err != nil { return err } - case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -17727,12 +17259,10 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(v **ty } sv.BackupPlanName = ptr.String(jtv) } - case "BackupPlanRule": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleList(&sv.BackupPlanRule, value); err != nil { return err } - default: _, _ = key, value @@ -17768,7 +17298,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(&sv.BackupPlan, value); err != nil { return err } - case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -17777,7 +17306,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -17786,7 +17314,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.BackupPlanId = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -17795,7 +17322,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -17839,7 +17365,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ } sv.DeleteAfterDays = ptr.Int64(i64) } - case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -17852,7 +17377,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } - default: _, _ = key, value @@ -17892,12 +17416,10 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleCopyActionsDetails(v } sv.DestinationBackupVaultArn = ptr.String(jtv) } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } - default: _, _ = key, value @@ -17975,12 +17497,10 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.CompletionWindowMinutes = ptr.Int64(i64) } - case "CopyActions": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleCopyActionsList(&sv.CopyActions, value); err != nil { return err } - case "EnableContinuousBackup": if value != nil { jtv, ok := value.(bool) @@ -17989,12 +17509,10 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.EnableContinuousBackup = ptr.Bool(jtv) } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -18003,7 +17521,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.RuleId = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -18012,7 +17529,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.RuleName = ptr.String(jtv) } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -18021,7 +17537,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.ScheduleExpression = ptr.String(jtv) } - case "StartWindowMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -18034,7 +17549,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.StartWindowMinutes = ptr.Int64(i64) } - case "TargetBackupVault": if value != nil { jtv, ok := value.(string) @@ -18043,7 +17557,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.TargetBackupVault = ptr.String(jtv) } - default: _, _ = key, value @@ -18117,7 +17630,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.AccessPolicy = ptr.String(jtv) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -18126,7 +17638,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -18135,7 +17646,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.BackupVaultName = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -18144,12 +17654,10 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.EncryptionKeyArn = ptr.String(jtv) } - case "Notifications": if err := awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(&sv.Notifications, value); err != nil { return err } - default: _, _ = key, value @@ -18185,7 +17693,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(v if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BackupVaultEvents, value); err != nil { return err } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -18194,7 +17701,6 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(v } sv.SnsTopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18234,7 +17740,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDe } sv.DeleteAt = ptr.String(jtv) } - case "MoveToColdStorageAt": if value != nil { jtv, ok := value.(string) @@ -18243,7 +17748,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDe } sv.MoveToColdStorageAt = ptr.String(jtv) } - default: _, _ = key, value @@ -18283,7 +17787,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanArn = ptr.String(jtv) } - case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -18292,7 +17795,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanId = ptr.String(jtv) } - case "BackupPlanVersion": if value != nil { jtv, ok := value.(string) @@ -18301,7 +17803,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanVersion = ptr.String(jtv) } - case "BackupRuleId": if value != nil { jtv, ok := value.(string) @@ -18310,7 +17811,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupRuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -18354,7 +17854,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupSizeInBytes = ptr.Int64(i64) } - case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -18363,7 +17862,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupVaultArn = ptr.String(jtv) } - case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -18372,12 +17870,10 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupVaultName = ptr.String(jtv) } - case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDetails(&sv.CalculatedLifecycle, value); err != nil { return err } - case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -18386,12 +17882,10 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.CompletionDate = ptr.String(jtv) } - case "CreatedBy": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(&sv.CreatedBy, value); err != nil { return err } - case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -18400,7 +17894,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.CreationDate = ptr.String(jtv) } - case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -18409,7 +17902,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.EncryptionKeyArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -18418,7 +17910,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.IamRoleArn = ptr.String(jtv) } - case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -18427,7 +17918,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.IsEncrypted = ptr.Bool(jtv) } - case "LastRestoreTime": if value != nil { jtv, ok := value.(string) @@ -18436,12 +17926,10 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.LastRestoreTime = ptr.String(jtv) } - case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } - case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -18450,7 +17938,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.RecoveryPointArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18459,7 +17946,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.ResourceArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18468,7 +17954,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.ResourceType = ptr.String(jtv) } - case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -18477,7 +17962,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.SourceBackupVaultArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18486,7 +17970,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18495,7 +17978,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.StatusMessage = ptr.String(jtv) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -18504,7 +17986,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.StorageClass = ptr.String(jtv) } - default: _, _ = key, value @@ -18548,7 +18029,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** } sv.DeleteAfterDays = ptr.Int64(i64) } - case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -18561,7 +18041,6 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } - default: _, _ = key, value @@ -18601,7 +18080,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -18610,7 +18088,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.CreatedAt = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -18619,17 +18096,14 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.DomainName = ptr.String(jtv) } - case "DomainValidationOptions": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValidationOptions(&sv.DomainValidationOptions, value); err != nil { return err } - case "ExtendedKeyUsages": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKeyUsages(&sv.ExtendedKeyUsages, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -18638,7 +18112,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.FailureReason = ptr.String(jtv) } - case "ImportedAt": if value != nil { jtv, ok := value.(string) @@ -18647,12 +18120,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.ImportedAt = ptr.String(jtv) } - case "InUseBy": if err := awsRestjson1_deserializeDocumentStringList(&sv.InUseBy, value); err != nil { return err } - case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -18661,7 +18132,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.IssuedAt = ptr.String(jtv) } - case "Issuer": if value != nil { jtv, ok := value.(string) @@ -18670,7 +18140,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Issuer = ptr.String(jtv) } - case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18679,12 +18148,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.KeyAlgorithm = ptr.String(jtv) } - case "KeyUsages": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateKeyUsages(&sv.KeyUsages, value); err != nil { return err } - case "NotAfter": if value != nil { jtv, ok := value.(string) @@ -18693,7 +18160,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.NotAfter = ptr.String(jtv) } - case "NotBefore": if value != nil { jtv, ok := value.(string) @@ -18702,12 +18168,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.NotBefore = ptr.String(jtv) } - case "Options": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateOptions(&sv.Options, value); err != nil { return err } - case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -18716,12 +18180,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.RenewalEligibility = ptr.String(jtv) } - case "RenewalSummary": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } - case "Serial": if value != nil { jtv, ok := value.(string) @@ -18730,7 +18192,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Serial = ptr.String(jtv) } - case "SignatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18739,7 +18200,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.SignatureAlgorithm = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18748,7 +18208,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Status = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -18757,12 +18216,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Subject = ptr.String(jtv) } - case "SubjectAlternativeNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubjectAlternativeNames, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18771,7 +18228,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -18811,12 +18267,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.DomainName = ptr.String(jtv) } - case "ResourceRecord": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRecord(&sv.ResourceRecord, value); err != nil { return err } - case "ValidationDomain": if value != nil { jtv, ok := value.(string) @@ -18825,12 +18279,10 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationDomain = ptr.String(jtv) } - case "ValidationEmails": if err := awsRestjson1_deserializeDocumentStringList(&sv.ValidationEmails, value); err != nil { return err } - case "ValidationMethod": if value != nil { jtv, ok := value.(string) @@ -18839,7 +18291,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationMethod = ptr.String(jtv) } - case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -18848,7 +18299,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -18922,7 +18372,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKey } sv.Name = ptr.String(jtv) } - case "OId": if value != nil { jtv, ok := value.(string) @@ -18931,7 +18380,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKey } sv.OId = ptr.String(jtv) } - default: _, _ = key, value @@ -19005,7 +18453,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateKeyUsage(v } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -19079,7 +18526,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateOptions(v * } sv.CertificateTransparencyLoggingPreference = ptr.String(jtv) } - default: _, _ = key, value @@ -19115,7 +18561,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValidationOptions(&sv.DomainValidationOptions, value); err != nil { return err } - case "RenewalStatus": if value != nil { jtv, ok := value.(string) @@ -19124,7 +18569,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.RenewalStatus = ptr.String(jtv) } - case "RenewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -19133,7 +18577,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.RenewalStatusReason = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -19142,7 +18585,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.UpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -19182,7 +18624,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -19191,7 +18632,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19200,7 +18640,6 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19236,7 +18675,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Capabilities, value); err != nil { return err } - case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -19245,7 +18683,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.CreationTime = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19254,7 +18691,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.Description = ptr.String(jtv) } - case "DisableRollback": if value != nil { jtv, ok := value.(bool) @@ -19263,12 +18699,10 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.DisableRollback = ptr.Bool(jtv) } - case "DriftInformation": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackDriftInformationDetails(&sv.DriftInformation, value); err != nil { return err } - case "EnableTerminationProtection": if value != nil { jtv, ok := value.(bool) @@ -19277,7 +18711,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.EnableTerminationProtection = ptr.Bool(jtv) } - case "LastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -19286,17 +18719,14 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.LastUpdatedTime = ptr.String(jtv) } - case "NotificationArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.NotificationArns, value); err != nil { return err } - case "Outputs": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsList(&sv.Outputs, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -19305,7 +18735,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.RoleArn = ptr.String(jtv) } - case "StackId": if value != nil { jtv, ok := value.(string) @@ -19314,7 +18743,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackId = ptr.String(jtv) } - case "StackName": if value != nil { jtv, ok := value.(string) @@ -19323,7 +18751,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackName = ptr.String(jtv) } - case "StackStatus": if value != nil { jtv, ok := value.(string) @@ -19332,7 +18759,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackStatus = ptr.String(jtv) } - case "StackStatusReason": if value != nil { jtv, ok := value.(string) @@ -19341,7 +18767,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackStatusReason = ptr.String(jtv) } - case "TimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -19354,7 +18779,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -19394,7 +18818,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDriftInformationDetai } sv.StackDriftStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -19434,7 +18857,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.Description = ptr.String(jtv) } - case "OutputKey": if value != nil { jtv, ok := value.(string) @@ -19443,7 +18865,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.OutputKey = ptr.String(jtv) } - case "OutputValue": if value != nil { jtv, ok := value.(string) @@ -19452,7 +18873,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.OutputValue = ptr.String(jtv) } - default: _, _ = key, value @@ -19526,7 +18946,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehavior(v ** } sv.ViewerProtocolPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -19562,7 +18981,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviors(v * if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviorsItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -19636,7 +19054,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDefaultCacheBehavi } sv.ViewerProtocolPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -19672,12 +19089,10 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviors(&sv.CacheBehaviors, value); err != nil { return err } - case "DefaultCacheBehavior": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDefaultCacheBehavior(&sv.DefaultCacheBehavior, value); err != nil { return err } - case "DefaultRootObject": if value != nil { jtv, ok := value.(string) @@ -19686,7 +19101,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.DefaultRootObject = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -19695,7 +19109,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.DomainName = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -19704,7 +19117,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.ETag = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -19713,22 +19125,18 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.LastModifiedTime = ptr.String(jtv) } - case "Logging": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(&sv.Logging, value); err != nil { return err } - case "OriginGroups": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroups(&sv.OriginGroups, value); err != nil { return err } - case "Origins": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOrigins(&sv.Origins, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19737,12 +19145,10 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.Status = ptr.String(jtv) } - case "ViewerCertificate": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate(&sv.ViewerCertificate, value); err != nil { return err } - case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -19751,7 +19157,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.WebAclId = ptr.String(jtv) } - default: _, _ = key, value @@ -19791,7 +19196,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Bucket = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -19800,7 +19204,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Enabled = ptr.Bool(jtv) } - case "IncludeCookies": if value != nil { jtv, ok := value.(bool) @@ -19809,7 +19212,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.IncludeCookies = ptr.Bool(jtv) } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -19818,7 +19220,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -19862,7 +19263,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.HttpPort = ptr.Int32(int32(i64)) } - case "HttpsPort": if value != nil { jtv, ok := value.(json.Number) @@ -19875,7 +19275,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.HttpsPort = ptr.Int32(int32(i64)) } - case "OriginKeepaliveTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19888,7 +19287,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginKeepaliveTimeout = ptr.Int32(int32(i64)) } - case "OriginProtocolPolicy": if value != nil { jtv, ok := value.(string) @@ -19897,7 +19295,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginProtocolPolicy = ptr.String(jtv) } - case "OriginReadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19910,12 +19307,10 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginReadTimeout = ptr.Int32(int32(i64)) } - case "OriginSslProtocols": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols(&sv.OriginSslProtocols, value); err != nil { return err } - default: _, _ = key, value @@ -19951,7 +19346,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroup(v **ty if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailover(&sv.FailoverCriteria, value); err != nil { return err } - default: _, _ = key, value @@ -19987,7 +19381,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailoverStatusCodes(&sv.StatusCodes, value); err != nil { return err } - default: _, _ = key, value @@ -20023,7 +19416,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList(&sv.Items, value); err != nil { return err } - case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -20036,7 +19428,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove } sv.Quantity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20112,7 +19503,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroups(v **t if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupsItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -20182,7 +19572,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOriginConfig(&sv.CustomOriginConfig, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -20191,7 +19580,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.DomainName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -20200,7 +19588,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.Id = ptr.String(jtv) } - case "OriginPath": if value != nil { jtv, ok := value.(string) @@ -20209,12 +19596,10 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.OriginPath = ptr.String(jtv) } - case "S3OriginConfig": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginS3OriginConfig(&sv.S3OriginConfig, value); err != nil { return err } - default: _, _ = key, value @@ -20284,7 +19669,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOrigins(v **types. if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItemList(&sv.Items, value); err != nil { return err } - default: _, _ = key, value @@ -20324,7 +19708,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginS3OriginConf } sv.OriginAccessIdentity = ptr.String(jtv) } - default: _, _ = key, value @@ -20360,7 +19743,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Items, value); err != nil { return err } - case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -20373,7 +19755,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols } sv.Quantity = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -20413,7 +19794,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.AcmCertificateArn = ptr.String(jtv) } - case "Certificate": if value != nil { jtv, ok := value.(string) @@ -20422,7 +19802,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.Certificate = ptr.String(jtv) } - case "CertificateSource": if value != nil { jtv, ok := value.(string) @@ -20431,7 +19810,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.CertificateSource = ptr.String(jtv) } - case "CloudFrontDefaultCertificate": if value != nil { jtv, ok := value.(bool) @@ -20440,7 +19818,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.CloudFrontDefaultCertificate = ptr.Bool(jtv) } - case "IamCertificateId": if value != nil { jtv, ok := value.(string) @@ -20449,7 +19826,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.IamCertificateId = ptr.String(jtv) } - case "MinimumProtocolVersion": if value != nil { jtv, ok := value.(string) @@ -20458,7 +19834,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.MinimumProtocolVersion = ptr.String(jtv) } - case "SslSupportMethod": if value != nil { jtv, ok := value.(string) @@ -20467,7 +19842,6 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.SslSupportMethod = ptr.String(jtv) } - default: _, _ = key, value @@ -20507,7 +19881,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -20516,7 +19889,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } - case "HasCustomEventSelectors": if value != nil { jtv, ok := value.(bool) @@ -20525,7 +19897,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.HasCustomEventSelectors = ptr.Bool(jtv) } - case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -20534,7 +19905,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.HomeRegion = ptr.String(jtv) } - case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -20543,7 +19913,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } - case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -20552,7 +19921,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IsMultiRegionTrail = ptr.Bool(jtv) } - case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -20561,7 +19929,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IsOrganizationTrail = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20570,7 +19937,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.KmsKeyId = ptr.String(jtv) } - case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -20579,7 +19945,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.LogFileValidationEnabled = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -20588,7 +19953,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.Name = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -20597,7 +19961,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -20606,7 +19969,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.S3KeyPrefix = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -20615,7 +19977,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.SnsTopicArn = ptr.String(jtv) } - case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -20624,7 +19985,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.SnsTopicName = ptr.String(jtv) } - case "TrailArn": if value != nil { jtv, ok := value.(string) @@ -20633,7 +19993,6 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.TrailArn = ptr.String(jtv) } - default: _, _ = key, value @@ -20673,12 +20032,10 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ActionsEnabled = ptr.Bool(jtv) } - case "AlarmActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AlarmActions, value); err != nil { return err } - case "AlarmArn": if value != nil { jtv, ok := value.(string) @@ -20687,7 +20044,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmArn = ptr.String(jtv) } - case "AlarmConfigurationUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20696,7 +20052,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmConfigurationUpdatedTimestamp = ptr.String(jtv) } - case "AlarmDescription": if value != nil { jtv, ok := value.(string) @@ -20705,7 +20060,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmDescription = ptr.String(jtv) } - case "AlarmName": if value != nil { jtv, ok := value.(string) @@ -20714,7 +20068,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmName = ptr.String(jtv) } - case "ComparisonOperator": if value != nil { jtv, ok := value.(string) @@ -20723,7 +20076,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ComparisonOperator = ptr.String(jtv) } - case "DatapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -20736,12 +20088,10 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } - case "Dimensions": if err := awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsList(&sv.Dimensions, value); err != nil { return err } - case "EvaluateLowSampleCountPercentile": if value != nil { jtv, ok := value.(string) @@ -20750,7 +20100,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.EvaluateLowSampleCountPercentile = ptr.String(jtv) } - case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -20763,7 +20112,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case "ExtendedStatistic": if value != nil { jtv, ok := value.(string) @@ -20772,12 +20120,10 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ExtendedStatistic = ptr.String(jtv) } - case "InsufficientDataActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.InsufficientDataActions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -20786,7 +20132,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.MetricName = ptr.String(jtv) } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -20795,12 +20140,10 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Namespace = ptr.String(jtv) } - case "OkActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.OkActions, value); err != nil { return err } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -20813,7 +20156,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Period = ptr.Int32(int32(i64)) } - case "Statistic": if value != nil { jtv, ok := value.(string) @@ -20822,7 +20164,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Statistic = ptr.String(jtv) } - case "Threshold": if value != nil { switch jtv := value.(type) { @@ -20856,7 +20197,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } } - case "ThresholdMetricId": if value != nil { jtv, ok := value.(string) @@ -20865,7 +20205,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ThresholdMetricId = ptr.String(jtv) } - case "TreatMissingData": if value != nil { jtv, ok := value.(string) @@ -20874,7 +20213,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.TreatMissingData = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -20883,7 +20221,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -20923,7 +20260,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsDetails(v **typ } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -20932,7 +20268,6 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsDetails(v **typ } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -21006,7 +20341,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.ArtifactIdentifier = ptr.String(jtv) } - case "EncryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -21015,7 +20349,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -21024,7 +20357,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Location = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21033,7 +20365,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Name = ptr.String(jtv) } - case "NamespaceType": if value != nil { jtv, ok := value.(string) @@ -21042,7 +20373,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.NamespaceType = ptr.String(jtv) } - case "OverrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -21051,7 +20381,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.OverrideArtifactName = ptr.Bool(jtv) } - case "Packaging": if value != nil { jtv, ok := value.(string) @@ -21060,7 +20389,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Packaging = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -21069,7 +20397,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Path = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21078,7 +20405,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -21148,7 +20474,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsList(&sv.Artifacts, value); err != nil { return err } - case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -21157,17 +20482,14 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.EncryptionKey = ptr.String(jtv) } - case "Environment": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(&sv.Environment, value); err != nil { return err } - case "LogsConfig": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigDetails(&sv.LogsConfig, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -21176,12 +20498,10 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.Name = ptr.String(jtv) } - case "SecondaryArtifacts": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -21190,17 +20510,14 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.ServiceRole = ptr.String(jtv) } - case "Source": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(&sv.Source, value); err != nil { return err } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -21240,12 +20557,10 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.Certificate = ptr.String(jtv) } - case "EnvironmentVariables": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVariablesList(&sv.EnvironmentVariables, value); err != nil { return err } - case "ImagePullCredentialsType": if value != nil { jtv, ok := value.(string) @@ -21254,7 +20569,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.ImagePullCredentialsType = ptr.String(jtv) } - case "PrivilegedMode": if value != nil { jtv, ok := value.(bool) @@ -21263,12 +20577,10 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.PrivilegedMode = ptr.Bool(jtv) } - case "RegistryCredential": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCredential(&sv.RegistryCredential, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21277,7 +20589,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -21317,7 +20628,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21326,7 +20636,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -21335,7 +20644,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -21409,7 +20717,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCrede } sv.Credential = ptr.String(jtv) } - case "CredentialProvider": if value != nil { jtv, ok := value.(string) @@ -21418,7 +20725,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCrede } sv.CredentialProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -21458,7 +20764,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.GroupName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21467,7 +20772,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.Status = ptr.String(jtv) } - case "StreamName": if value != nil { jtv, ok := value.(string) @@ -21476,7 +20780,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.StreamName = ptr.String(jtv) } - default: _, _ = key, value @@ -21512,12 +20815,10 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogsDetails(&sv.CloudWatchLogs, value); err != nil { return err } - case "S3Logs": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -21557,7 +20858,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.EncryptionDisabled = ptr.Bool(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -21566,7 +20866,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.Location = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -21575,7 +20874,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -21619,7 +20917,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.GitCloneDepth = ptr.Int32(int32(i64)) } - case "InsecureSsl": if value != nil { jtv, ok := value.(bool) @@ -21628,7 +20925,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.InsecureSsl = ptr.Bool(jtv) } - case "Location": if value != nil { jtv, ok := value.(string) @@ -21637,7 +20933,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.Location = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -21646,7 +20941,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -21682,12 +20976,10 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(v **types.AwsC if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Subnets, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -21696,7 +20988,6 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(v **types.AwsC } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -21736,27 +21027,22 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi } sv.AllowCredentials = ptr.Bool(jtv) } - case "AllowHeaders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowHeaders, value); err != nil { return err } - case "AllowMethods": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowMethods, value); err != nil { return err } - case "AllowOrigins": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowOrigins, value); err != nil { return err } - case "ExposeHeaders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ExposeHeaders, value); err != nil { return err } - case "MaxAge": if value != nil { jtv, ok := value.(json.Number) @@ -21769,7 +21055,6 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi } sv.MaxAge = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -21809,7 +21094,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.CertificateArn = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21818,7 +21102,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.DatabaseName = ptr.String(jtv) } - case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -21827,7 +21110,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointArn = ptr.String(jtv) } - case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -21836,7 +21118,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointIdentifier = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -21845,7 +21126,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointType = ptr.String(jtv) } - case "EngineName": if value != nil { jtv, ok := value.(string) @@ -21854,7 +21134,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EngineName = ptr.String(jtv) } - case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -21863,7 +21142,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ExternalId = ptr.String(jtv) } - case "ExtraConnectionAttributes": if value != nil { jtv, ok := value.(string) @@ -21872,7 +21150,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ExtraConnectionAttributes = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -21881,7 +21158,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.KmsKeyId = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21894,7 +21170,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.Port = ptr.Int32(int32(i64)) } - case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21903,7 +21178,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ServerName = ptr.String(jtv) } - case "SslMode": if value != nil { jtv, ok := value.(string) @@ -21912,7 +21186,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.SslMode = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -21921,7 +21194,6 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -21965,7 +21237,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -21974,7 +21245,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -21983,7 +21253,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AvailabilityZone = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -21992,7 +21261,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.EngineVersion = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -22001,7 +21269,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.KmsKeyId = ptr.String(jtv) } - case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -22010,7 +21277,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.MultiAZ = ptr.Bool(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -22019,7 +21285,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -22028,7 +21293,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -22037,7 +21301,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.ReplicationInstanceClass = ptr.String(jtv) } - case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -22046,17 +21309,14 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } - case "ReplicationSubnetGroup": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceReplicationSubnetGroupDetails(&sv.ReplicationSubnetGroup, value); err != nil { return err } - case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceVpcSecurityGroupsList(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -22096,7 +21356,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceReplicationSubnetG } sv.ReplicationSubnetGroupIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -22136,7 +21395,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceVpcSecurityGroupsD } sv.VpcSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -22210,7 +21468,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStartPosition = ptr.String(jtv) } - case "CdcStartTime": if value != nil { jtv, ok := value.(string) @@ -22219,7 +21476,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStartTime = ptr.String(jtv) } - case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -22228,7 +21484,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStopPosition = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -22237,7 +21492,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.Id = ptr.String(jtv) } - case "MigrationType": if value != nil { jtv, ok := value.(string) @@ -22246,7 +21500,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.MigrationType = ptr.String(jtv) } - case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -22255,7 +21508,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationInstanceArn = ptr.String(jtv) } - case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -22264,7 +21516,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationTaskIdentifier = ptr.String(jtv) } - case "ReplicationTaskSettings": if value != nil { jtv, ok := value.(string) @@ -22273,7 +21524,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationTaskSettings = ptr.String(jtv) } - case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -22282,7 +21532,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ResourceIdentifier = ptr.String(jtv) } - case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -22291,7 +21540,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.SourceEndpointArn = ptr.String(jtv) } - case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -22300,7 +21548,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TableMappings = ptr.String(jtv) } - case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -22309,7 +21556,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TargetEndpointArn = ptr.String(jtv) } - case "TaskData": if value != nil { jtv, ok := value.(string) @@ -22318,7 +21564,6 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TaskData = ptr.String(jtv) } - default: _, _ = key, value @@ -22358,7 +21603,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinition(v **typ } sv.AttributeName = ptr.String(jtv) } - case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -22367,7 +21611,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinition(v **typ } sv.AttributeType = ptr.String(jtv) } - default: _, _ = key, value @@ -22441,7 +21684,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(v **type } sv.BillingMode = ptr.String(jtv) } - case "LastUpdateToPayPerRequestDateTime": if value != nil { jtv, ok := value.(string) @@ -22450,7 +21692,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(v **type } sv.LastUpdateToPayPerRequestDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -22486,12 +21727,10 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinitionList(&sv.AttributeDefinitions, value); err != nil { return err } - case "BillingModeSummary": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(&sv.BillingModeSummary, value); err != nil { return err } - case "CreationDateTime": if value != nil { jtv, ok := value.(string) @@ -22500,7 +21739,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.CreationDateTime = ptr.String(jtv) } - case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -22509,12 +21747,10 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.DeletionProtectionEnabled = ptr.Bool(jtv) } - case "GlobalSecondaryIndexes": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "GlobalTableVersion": if value != nil { jtv, ok := value.(string) @@ -22523,7 +21759,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.GlobalTableVersion = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -22536,12 +21771,10 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.ItemCount = ptr.Int32(int32(i64)) } - case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } - case "LatestStreamArn": if value != nil { jtv, ok := value.(string) @@ -22550,7 +21783,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.LatestStreamArn = ptr.String(jtv) } - case "LatestStreamLabel": if value != nil { jtv, ok := value.(string) @@ -22559,37 +21791,30 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.LatestStreamLabel = ptr.String(jtv) } - case "LocalSecondaryIndexes": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndexList(&sv.LocalSecondaryIndexes, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - case "Replicas": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaList(&sv.Replicas, value); err != nil { return err } - case "RestoreSummary": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(&sv.RestoreSummary, value); err != nil { return err } - case "SseDescription": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(&sv.SseDescription, value); err != nil { return err } - case "StreamSpecification": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(&sv.StreamSpecification, value); err != nil { return err } - case "TableId": if value != nil { jtv, ok := value.(string) @@ -22598,7 +21823,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableId = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -22607,7 +21831,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableName = ptr.String(jtv) } - case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -22620,7 +21843,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableSizeBytes = ptr.Int64(i64) } - case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -22629,7 +21851,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -22669,7 +21890,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.Backfilling = ptr.Bool(jtv) } - case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -22678,7 +21898,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -22687,7 +21906,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexName = ptr.String(jtv) } - case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -22700,7 +21918,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexSizeBytes = ptr.Int64(i64) } - case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -22709,7 +21926,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexStatus = ptr.String(jtv) } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -22722,22 +21938,18 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.ItemCount = ptr.Int32(int32(i64)) } - case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } - case "Projection": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(&sv.Projection, value); err != nil { return err } - case "ProvisionedThroughput": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } - default: _, _ = key, value @@ -22811,7 +22023,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchema(v **types.AwsDyna } sv.AttributeName = ptr.String(jtv) } - case "KeyType": if value != nil { jtv, ok := value.(string) @@ -22820,7 +22031,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchema(v **types.AwsDyna } sv.KeyType = ptr.String(jtv) } - default: _, _ = key, value @@ -22894,7 +22104,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndex(v **typ } sv.IndexArn = ptr.String(jtv) } - case "IndexName": if value != nil { jtv, ok := value.(string) @@ -22903,17 +22112,14 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndex(v **typ } sv.IndexName = ptr.String(jtv) } - case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } - case "Projection": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(&sv.Projection, value); err != nil { return err } - default: _, _ = key, value @@ -22983,7 +22189,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(v **types.AwsDyn if err := awsRestjson1_deserializeDocumentStringList(&sv.NonKeyAttributes, value); err != nil { return err } - case "ProjectionType": if value != nil { jtv, ok := value.(string) @@ -22992,7 +22197,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(v **types.AwsDyn } sv.ProjectionType = ptr.String(jtv) } - default: _, _ = key, value @@ -23032,7 +22236,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.LastDecreaseDateTime = ptr.String(jtv) } - case "LastIncreaseDateTime": if value != nil { jtv, ok := value.(string) @@ -23041,7 +22244,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.LastIncreaseDateTime = ptr.String(jtv) } - case "NumberOfDecreasesToday": if value != nil { jtv, ok := value.(json.Number) @@ -23054,7 +22256,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.NumberOfDecreasesToday = ptr.Int32(int32(i64)) } - case "ReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -23067,7 +22268,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } - case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -23080,7 +22280,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.WriteCapacityUnits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23124,7 +22323,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverri } sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -23160,7 +22358,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } - case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -23169,12 +22366,10 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.KmsMasterKeyId = ptr.String(jtv) } - case "ProvisionedThroughputOverride": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } - case "RegionName": if value != nil { jtv, ok := value.(string) @@ -23183,7 +22378,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.RegionName = ptr.String(jtv) } - case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -23192,7 +22386,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.ReplicaStatus = ptr.String(jtv) } - case "ReplicaStatusDescription": if value != nil { jtv, ok := value.(string) @@ -23201,7 +22394,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.ReplicaStatusDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -23241,12 +22433,10 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaGlobalSecondaryIndex } sv.IndexName = ptr.String(jtv) } - case "ProvisionedThroughputOverride": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } - default: _, _ = key, value @@ -23354,7 +22544,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.RestoreDateTime = ptr.String(jtv) } - case "RestoreInProgress": if value != nil { jtv, ok := value.(bool) @@ -23363,7 +22552,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.RestoreInProgress = ptr.Bool(jtv) } - case "SourceBackupArn": if value != nil { jtv, ok := value.(string) @@ -23372,7 +22560,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.SourceBackupArn = ptr.String(jtv) } - case "SourceTableArn": if value != nil { jtv, ok := value.(string) @@ -23381,7 +22568,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.SourceTableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23421,7 +22607,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.InaccessibleEncryptionDateTime = ptr.String(jtv) } - case "KmsMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -23430,7 +22615,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.KmsMasterKeyArn = ptr.String(jtv) } - case "SseType": if value != nil { jtv, ok := value.(string) @@ -23439,7 +22623,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.SseType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23448,7 +22631,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -23488,7 +22670,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(v **typ } sv.StreamEnabled = ptr.Bool(jtv) } - case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -23497,7 +22678,6 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(v **typ } sv.StreamViewType = ptr.String(jtv) } - default: _, _ = key, value @@ -23537,7 +22717,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.DirectoryId = ptr.String(jtv) } - default: _, _ = key, value @@ -23573,17 +22752,14 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsActiveDirectoryDetails(&sv.ActiveDirectory, value); err != nil { return err } - case "FederatedAuthentication": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsFederatedAuthenticationDetails(&sv.FederatedAuthentication, value); err != nil { return err } - case "MutualAuthentication": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsMutualAuthenticationDetails(&sv.MutualAuthentication, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -23592,7 +22768,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -23632,7 +22807,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.SamlProviderArn = ptr.String(jtv) } - case "SelfServiceSamlProviderArn": if value != nil { jtv, ok := value.(string) @@ -23641,7 +22815,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.SelfServiceSamlProviderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -23715,7 +22888,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.ClientRootCertificateChain = ptr.String(jtv) } - default: _, _ = key, value @@ -23755,7 +22927,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Enabled = ptr.Bool(jtv) } - case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -23764,12 +22935,10 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.LambdaFunctionArn = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -23809,7 +22978,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -23818,7 +22986,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -23858,7 +23025,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOpt } sv.BannerText = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23867,7 +23033,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOpt } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -23907,7 +23072,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.CloudwatchLogGroup = ptr.String(jtv) } - case "CloudwatchLogStream": if value != nil { jtv, ok := value.(string) @@ -23916,7 +23080,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.CloudwatchLogStream = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23925,7 +23088,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -23961,7 +23123,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsList(&sv.AuthenticationOptions, value); err != nil { return err } - case "ClientCidrBlock": if value != nil { jtv, ok := value.(string) @@ -23970,17 +23131,14 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ClientCidrBlock = ptr.String(jtv) } - case "ClientConnectOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptionsDetails(&sv.ClientConnectOptions, value); err != nil { return err } - case "ClientLoginBannerOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails(&sv.ClientLoginBannerOptions, value); err != nil { return err } - case "ClientVpnEndpointId": if value != nil { jtv, ok := value.(string) @@ -23989,12 +23147,10 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ClientVpnEndpointId = ptr.String(jtv) } - case "ConnectionLogOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptionsDetails(&sv.ConnectionLogOptions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -24003,17 +23159,14 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.Description = ptr.String(jtv) } - case "DnsServer": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsServer, value); err != nil { return err } - case "SecurityGroupIdSet": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIdSet, value); err != nil { return err } - case "SelfServicePortalUrl": if value != nil { jtv, ok := value.(string) @@ -24022,7 +23175,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SelfServicePortalUrl = ptr.String(jtv) } - case "ServerCertificateArn": if value != nil { jtv, ok := value.(string) @@ -24031,7 +23183,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ServerCertificateArn = ptr.String(jtv) } - case "SessionTimeoutHours": if value != nil { jtv, ok := value.(json.Number) @@ -24044,7 +23195,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SessionTimeoutHours = ptr.Int32(int32(i64)) } - case "SplitTunnel": if value != nil { jtv, ok := value.(bool) @@ -24053,7 +23203,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SplitTunnel = ptr.Bool(jtv) } - case "TransportProtocol": if value != nil { jtv, ok := value.(string) @@ -24062,7 +23211,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.TransportProtocol = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -24071,7 +23219,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.VpcId = ptr.String(jtv) } - case "VpnPort": if value != nil { jtv, ok := value.(json.Number) @@ -24084,7 +23231,6 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.VpnPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24124,7 +23270,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.AllocationId = ptr.String(jtv) } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -24133,7 +23278,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.AssociationId = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -24142,7 +23286,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.Domain = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -24151,7 +23294,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.InstanceId = ptr.String(jtv) } - case "NetworkBorderGroup": if value != nil { jtv, ok := value.(string) @@ -24160,7 +23302,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkBorderGroup = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -24169,7 +23310,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkInterfaceId = ptr.String(jtv) } - case "NetworkInterfaceOwnerId": if value != nil { jtv, ok := value.(string) @@ -24178,7 +23318,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkInterfaceOwnerId = ptr.String(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -24187,7 +23326,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PrivateIpAddress = ptr.String(jtv) } - case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -24196,7 +23334,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PublicIp = ptr.String(jtv) } - case "PublicIpv4Pool": if value != nil { jtv, ok := value.(string) @@ -24205,7 +23342,6 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PublicIpv4Pool = ptr.String(jtv) } - default: _, _ = key, value @@ -24245,7 +23381,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.IamInstanceProfileArn = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -24254,17 +23389,14 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.ImageId = ptr.String(jtv) } - case "IpV4Addresses": if err := awsRestjson1_deserializeDocumentStringList(&sv.IpV4Addresses, value); err != nil { return err } - case "IpV6Addresses": if err := awsRestjson1_deserializeDocumentStringList(&sv.IpV6Addresses, value); err != nil { return err } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -24273,7 +23405,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.KeyName = ptr.String(jtv) } - case "LaunchedAt": if value != nil { jtv, ok := value.(string) @@ -24282,22 +23413,18 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.LaunchedAt = ptr.String(jtv) } - case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } - case "Monitoring": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceMonitoringDetails(&sv.Monitoring, value); err != nil { return err } - case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceNetworkInterfacesList(&sv.NetworkInterfaces, value); err != nil { return err } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -24306,7 +23433,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.SubnetId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -24315,7 +23441,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Type = ptr.String(jtv) } - case "VirtualizationType": if value != nil { jtv, ok := value.(string) @@ -24324,7 +23449,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VirtualizationType = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -24333,7 +23457,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -24373,7 +23496,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpEndpoint = ptr.String(jtv) } - case "HttpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -24382,7 +23504,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpProtocolIpv6 = ptr.String(jtv) } - case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -24395,7 +23516,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } - case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -24404,7 +23524,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpTokens = ptr.String(jtv) } - case "InstanceMetadataTags": if value != nil { jtv, ok := value.(string) @@ -24413,7 +23532,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.InstanceMetadataTags = ptr.String(jtv) } - default: _, _ = key, value @@ -24453,7 +23571,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMonitoringDetails(v **types.A } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -24493,7 +23610,6 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceNetworkInterfacesDetails(v ** } sv.NetworkInterfaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -24567,12 +23683,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.DeviceName = ptr.String(jtv) } - case "Ebs": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(&sv.Ebs, value); err != nil { return err } - case "NoDevice": if value != nil { jtv, ok := value.(string) @@ -24581,7 +23695,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.NoDevice = ptr.String(jtv) } - case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -24590,7 +23703,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VirtualName = ptr.String(jtv) } - default: _, _ = key, value @@ -24630,7 +23742,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -24639,7 +23750,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Encrypted = ptr.Bool(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -24652,7 +23762,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Iops = ptr.Int32(int32(i64)) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -24661,7 +23770,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.KmsKeyId = ptr.String(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -24670,7 +23778,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.SnapshotId = ptr.String(jtv) } - case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -24683,7 +23790,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Throughput = ptr.Int32(int32(i64)) } - case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -24696,7 +23802,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VolumeSize = ptr.Int32(int32(i64)) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -24705,7 +23810,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -24779,7 +23883,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationId = ptr.String(jtv) } - case "CapacityReservationResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -24788,7 +23891,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationResourceGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -24828,12 +23930,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationPreference = ptr.String(jtv) } - case "CapacityReservationTarget": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(&sv.CapacityReservationTarget, value); err != nil { return err } - default: _, _ = key, value @@ -24877,7 +23977,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v } sv.CoreCount = ptr.Int32(int32(i64)) } - case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -24890,7 +23989,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -24930,7 +24028,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCreditSpecification } sv.CpuCredits = ptr.String(jtv) } - default: _, _ = key, value @@ -24966,22 +24063,18 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSetList(&sv.BlockDeviceMappingSet, value); err != nil { return err } - case "CapacityReservationSpecification": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(&sv.CapacityReservationSpecification, value); err != nil { return err } - case "CpuOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(&sv.CpuOptions, value); err != nil { return err } - case "CreditSpecification": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCreditSpecificationDetails(&sv.CreditSpecification, value); err != nil { return err } - case "DisableApiStop": if value != nil { jtv, ok := value.(bool) @@ -24990,7 +24083,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.DisableApiStop = ptr.Bool(jtv) } - case "DisableApiTermination": if value != nil { jtv, ok := value.(bool) @@ -24999,7 +24091,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.DisableApiTermination = ptr.Bool(jtv) } - case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -25008,32 +24099,26 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.EbsOptimized = ptr.Bool(jtv) } - case "ElasticGpuSpecificationSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(&sv.ElasticGpuSpecificationSet, value); err != nil { return err } - case "ElasticInferenceAcceleratorSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(&sv.ElasticInferenceAcceleratorSet, value); err != nil { return err } - case "EnclaveOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetails(&sv.EnclaveOptions, value); err != nil { return err } - case "HibernationOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsDetails(&sv.HibernationOptions, value); err != nil { return err } - case "IamInstanceProfile": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileDetails(&sv.IamInstanceProfile, value); err != nil { return err } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -25042,7 +24127,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.ImageId = ptr.String(jtv) } - case "InstanceInitiatedShutdownBehavior": if value != nil { jtv, ok := value.(string) @@ -25051,17 +24135,14 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.InstanceInitiatedShutdownBehavior = ptr.String(jtv) } - case "InstanceMarketOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(&sv.InstanceMarketOptions, value); err != nil { return err } - case "InstanceRequirements": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsDetails(&sv.InstanceRequirements, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -25070,7 +24151,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.InstanceType = ptr.String(jtv) } - case "KernelId": if value != nil { jtv, ok := value.(string) @@ -25079,7 +24159,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.KernelId = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -25088,42 +24167,34 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.KeyName = ptr.String(jtv) } - case "LicenseSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataLicenseSetList(&sv.LicenseSet, value); err != nil { return err } - case "MaintenanceOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMaintenanceOptionsDetails(&sv.MaintenanceOptions, value); err != nil { return err } - case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDetails(&sv.MetadataOptions, value); err != nil { return err } - case "Monitoring": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(&sv.Monitoring, value); err != nil { return err } - case "NetworkInterfaceSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetList(&sv.NetworkInterfaceSet, value); err != nil { return err } - case "Placement": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(&sv.Placement, value); err != nil { return err } - case "PrivateDnsNameOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(&sv.PrivateDnsNameOptions, value); err != nil { return err } - case "RamDiskId": if value != nil { jtv, ok := value.(string) @@ -25132,17 +24203,14 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.RamDiskId = ptr.String(jtv) } - case "SecurityGroupIdSet": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIdSet, value); err != nil { return err } - case "SecurityGroupSet": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupSet, value); err != nil { return err } - case "UserData": if value != nil { jtv, ok := value.(string) @@ -25151,7 +24219,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.UserData = ptr.String(jtv) } - default: _, _ = key, value @@ -25191,7 +24258,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticGpuSpecifica } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -25269,7 +24335,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcc } sv.Count = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -25278,7 +24343,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -25352,7 +24416,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetai } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -25392,7 +24455,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsD } sv.Configured = ptr.Bool(jtv) } - default: _, _ = key, value @@ -25432,7 +24494,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileD } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -25441,7 +24502,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileD } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -25481,12 +24541,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.MarketType = ptr.String(jtv) } - case "SpotOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(&sv.SpotOptions, value); err != nil { return err } - default: _, _ = key, value @@ -25530,7 +24588,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } - case "InstanceInterruptionBehavior": if value != nil { jtv, ok := value.(string) @@ -25539,7 +24596,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.InstanceInterruptionBehavior = ptr.String(jtv) } - case "MaxPrice": if value != nil { jtv, ok := value.(string) @@ -25548,7 +24604,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.MaxPrice = ptr.String(jtv) } - case "SpotInstanceType": if value != nil { jtv, ok := value.(string) @@ -25557,7 +24612,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.SpotInstanceType = ptr.String(jtv) } - case "ValidUntil": if value != nil { jtv, ok := value.(string) @@ -25566,7 +24620,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.ValidUntil = ptr.String(jtv) } - default: _, _ = key, value @@ -25610,7 +24663,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25623,7 +24675,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25667,7 +24718,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25680,7 +24730,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25724,7 +24773,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25737,7 +24785,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -25773,27 +24820,22 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(&sv.AcceleratorCount, value); err != nil { return err } - case "AcceleratorManufacturers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorManufacturers, value); err != nil { return err } - case "AcceleratorNames": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorNames, value); err != nil { return err } - case "AcceleratorTotalMemoryMiB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(&sv.AcceleratorTotalMemoryMiB, value); err != nil { return err } - case "AcceleratorTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorTypes, value); err != nil { return err } - case "BareMetal": if value != nil { jtv, ok := value.(string) @@ -25802,12 +24844,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.BareMetal = ptr.String(jtv) } - case "BaselineEbsBandwidthMbps": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(&sv.BaselineEbsBandwidthMbps, value); err != nil { return err } - case "BurstablePerformance": if value != nil { jtv, ok := value.(string) @@ -25816,22 +24856,18 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.BurstablePerformance = ptr.String(jtv) } - case "CpuManufacturers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CpuManufacturers, value); err != nil { return err } - case "ExcludedInstanceTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ExcludedInstanceTypes, value); err != nil { return err } - case "InstanceGenerations": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.InstanceGenerations, value); err != nil { return err } - case "LocalStorage": if value != nil { jtv, ok := value.(string) @@ -25840,27 +24876,22 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.LocalStorage = ptr.String(jtv) } - case "LocalStorageTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.LocalStorageTypes, value); err != nil { return err } - case "MemoryGiBPerVCpu": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(&sv.MemoryGiBPerVCpu, value); err != nil { return err } - case "MemoryMiB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(&sv.MemoryMiB, value); err != nil { return err } - case "NetworkInterfaceCount": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(&sv.NetworkInterfaceCount, value); err != nil { return err } - case "OnDemandMaxPricePercentageOverLowestPrice": if value != nil { jtv, ok := value.(json.Number) @@ -25873,7 +24904,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.OnDemandMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } - case "RequireHibernateSupport": if value != nil { jtv, ok := value.(bool) @@ -25882,7 +24912,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.RequireHibernateSupport = ptr.Bool(jtv) } - case "SpotMaxPricePercentageOverLowestPrice": if value != nil { jtv, ok := value.(json.Number) @@ -25895,17 +24924,14 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.SpotMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } - case "TotalLocalStorageGB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(&sv.TotalLocalStorageGB, value); err != nil { return err } - case "VCpuCount": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(&sv.VCpuCount, value); err != nil { return err } - default: _, _ = key, value @@ -25970,7 +24996,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -26004,7 +25029,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } - default: _, _ = key, value @@ -26048,7 +25072,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -26061,7 +25084,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26105,7 +25127,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -26118,7 +25139,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26183,7 +25203,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -26217,7 +25236,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } - default: _, _ = key, value @@ -26261,7 +25279,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -26274,7 +25291,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -26314,7 +25330,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataLicenseSetDetails(v } sv.LicenseConfigurationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -26388,7 +25403,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMaintenanceOptionsD } sv.AutoRecovery = ptr.String(jtv) } - default: _, _ = key, value @@ -26428,7 +25442,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpEndpoint = ptr.String(jtv) } - case "HttpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -26437,7 +25450,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpProtocolIpv6 = ptr.String(jtv) } - case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -26450,7 +25462,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } - case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -26459,7 +25470,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpTokens = ptr.String(jtv) } - case "InstanceMetadataTags": if value != nil { jtv, ok := value.(string) @@ -26468,7 +25478,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.InstanceMetadataTags = ptr.String(jtv) } - default: _, _ = key, value @@ -26508,7 +25517,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(v } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -26548,7 +25556,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.AssociateCarrierIpAddress = ptr.Bool(jtv) } - case "AssociatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -26557,7 +25564,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -26566,7 +25572,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -26575,7 +25580,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Description = ptr.String(jtv) } - case "DeviceIndex": if value != nil { jtv, ok := value.(json.Number) @@ -26588,12 +25592,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.DeviceIndex = ptr.Int32(int32(i64)) } - case "Groups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Groups, value); err != nil { return err } - case "InterfaceType": if value != nil { jtv, ok := value.(string) @@ -26602,7 +25604,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.InterfaceType = ptr.String(jtv) } - case "Ipv4PrefixCount": if value != nil { jtv, ok := value.(json.Number) @@ -26615,12 +25616,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv4PrefixCount = ptr.Int32(int32(i64)) } - case "Ipv4Prefixes": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(&sv.Ipv4Prefixes, value); err != nil { return err } - case "Ipv6AddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -26633,12 +25632,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6AddressCount = ptr.Int32(int32(i64)) } - case "Ipv6Addresses": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(&sv.Ipv6Addresses, value); err != nil { return err } - case "Ipv6PrefixCount": if value != nil { jtv, ok := value.(json.Number) @@ -26651,12 +25648,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6PrefixCount = ptr.Int32(int32(i64)) } - case "Ipv6Prefixes": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(&sv.Ipv6Prefixes, value); err != nil { return err } - case "NetworkCardIndex": if value != nil { jtv, ok := value.(json.Number) @@ -26669,7 +25664,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.NetworkCardIndex = ptr.Int32(int32(i64)) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -26678,7 +25672,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.NetworkInterfaceId = ptr.String(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -26687,12 +25680,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.PrivateIpAddress = ptr.String(jtv) } - case "PrivateIpAddresses": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(&sv.PrivateIpAddresses, value); err != nil { return err } - case "SecondaryPrivateIpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -26705,7 +25696,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.SecondaryPrivateIpAddressCount = ptr.Int32(int32(i64)) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -26714,7 +25704,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -26754,7 +25743,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv4Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -26828,7 +25816,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6Address = ptr.String(jtv) } - default: _, _ = key, value @@ -26902,7 +25889,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -27010,7 +25996,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Primary = ptr.Bool(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -27019,7 +26004,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.PrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -27093,7 +26077,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.Affinity = ptr.String(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -27102,7 +26085,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.AvailabilityZone = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -27111,7 +26093,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.GroupName = ptr.String(jtv) } - case "HostId": if value != nil { jtv, ok := value.(string) @@ -27120,7 +26101,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.HostId = ptr.String(jtv) } - case "HostResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -27129,7 +26109,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.HostResourceGroupArn = ptr.String(jtv) } - case "PartitionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -27142,7 +26121,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.PartitionNumber = ptr.Int32(int32(i64)) } - case "SpreadDomain": if value != nil { jtv, ok := value.(string) @@ -27151,7 +26129,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.SpreadDomain = ptr.String(jtv) } - case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -27160,7 +26137,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.Tenancy = ptr.String(jtv) } - default: _, _ = key, value @@ -27200,7 +26176,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.EnableResourceNameDnsAAAARecord = ptr.Bool(jtv) } - case "EnableResourceNameDnsARecord": if value != nil { jtv, ok := value.(bool) @@ -27209,7 +26184,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.EnableResourceNameDnsARecord = ptr.Bool(jtv) } - case "HostnameType": if value != nil { jtv, ok := value.(string) @@ -27218,7 +26192,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.HostnameType = ptr.String(jtv) } - default: _, _ = key, value @@ -27262,7 +26235,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.DefaultVersionNumber = ptr.Int64(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -27271,7 +26243,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.Id = ptr.String(jtv) } - case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -27284,12 +26255,10 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.LatestVersionNumber = ptr.Int64(i64) } - case "LaunchTemplateData": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(&sv.LaunchTemplateData, value); err != nil { return err } - case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -27298,7 +26267,6 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.LaunchTemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -27338,7 +26306,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.NetworkAclAssociationId = ptr.String(jtv) } - case "NetworkAclId": if value != nil { jtv, ok := value.(string) @@ -27347,7 +26314,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.NetworkAclId = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -27356,7 +26322,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -27426,12 +26391,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociationList(&sv.Associations, value); err != nil { return err } - case "Entries": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntryList(&sv.Entries, value); err != nil { return err } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -27440,7 +26403,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.IsDefault = ptr.Bool(jtv) } - case "NetworkAclId": if value != nil { jtv, ok := value.(string) @@ -27449,7 +26411,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.NetworkAclId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -27458,7 +26419,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.OwnerId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -27467,7 +26427,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -27507,7 +26466,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.CidrBlock = ptr.String(jtv) } - case "Egress": if value != nil { jtv, ok := value.(bool) @@ -27516,12 +26474,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Egress = ptr.Bool(jtv) } - case "IcmpTypeCode": if err := awsRestjson1_deserializeDocumentIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } - case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -27530,12 +26486,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Ipv6CidrBlock = ptr.String(jtv) } - case "PortRange": if err := awsRestjson1_deserializeDocumentPortRangeFromTo(&sv.PortRange, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -27544,7 +26498,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Protocol = ptr.String(jtv) } - case "RuleAction": if value != nil { jtv, ok := value.(string) @@ -27553,7 +26506,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.RuleAction = ptr.String(jtv) } - case "RuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -27566,7 +26518,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.RuleNumber = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -27640,7 +26591,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.AttachmentId = ptr.String(jtv) } - case "AttachTime": if value != nil { jtv, ok := value.(string) @@ -27649,7 +26599,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.AttachTime = ptr.String(jtv) } - case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -27658,7 +26607,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "DeviceIndex": if value != nil { jtv, ok := value.(json.Number) @@ -27671,7 +26619,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.DeviceIndex = ptr.Int32(int32(i64)) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -27680,7 +26627,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.InstanceId = ptr.String(jtv) } - case "InstanceOwnerId": if value != nil { jtv, ok := value.(string) @@ -27689,7 +26635,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.InstanceOwnerId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -27698,7 +26643,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -27734,12 +26678,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(&sv.Attachment, value); err != nil { return err } - case "IpV6Addresses": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceIpV6AddressList(&sv.IpV6Addresses, value); err != nil { return err } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -27748,12 +26690,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.NetworkInterfaceId = ptr.String(jtv) } - case "PrivateIpAddresses": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressList(&sv.PrivateIpAddresses, value); err != nil { return err } - case "PublicDnsName": if value != nil { jtv, ok := value.(string) @@ -27762,7 +26702,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.PublicDnsName = ptr.String(jtv) } - case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -27771,12 +26710,10 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.PublicIp = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } - case "SourceDestCheck": if value != nil { jtv, ok := value.(bool) @@ -27785,7 +26722,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.SourceDestCheck = ptr.Bool(jtv) } - default: _, _ = key, value @@ -27825,7 +26761,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceIpV6AddressDetail(v * } sv.IpV6Address = ptr.String(jtv) } - default: _, _ = key, value @@ -27899,7 +26834,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressDetai } sv.PrivateDnsName = ptr.String(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -27908,7 +26842,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressDetai } sv.PrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -27982,7 +26915,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroup(v **typ } sv.GroupId = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -27991,7 +26923,6 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroup(v **typ } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -28061,7 +26992,6 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou if err := awsRestjson1_deserializeDocumentAssociationSetList(&sv.AssociationSet, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -28070,17 +27000,14 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.OwnerId = ptr.String(jtv) } - case "PropagatingVgwSet": if err := awsRestjson1_deserializeDocumentPropagatingVgwSetList(&sv.PropagatingVgwSet, value); err != nil { return err } - case "RouteSet": if err := awsRestjson1_deserializeDocumentRouteSetList(&sv.RouteSet, value); err != nil { return err } - case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -28089,7 +27016,6 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.RouteTableId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -28098,7 +27024,6 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -28138,7 +27063,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.GroupId = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -28147,17 +27071,14 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.GroupName = ptr.String(jtv) } - case "IpPermissions": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermissionList(&sv.IpPermissions, value); err != nil { return err } - case "IpPermissionsEgress": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermissionList(&sv.IpPermissionsEgress, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -28166,7 +27087,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.OwnerId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -28175,7 +27095,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -28219,7 +27138,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.FromPort = ptr.Int32(int32(i64)) } - case "IpProtocol": if value != nil { jtv, ok := value.(string) @@ -28228,22 +27146,18 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.IpProtocol = ptr.String(jtv) } - case "IpRanges": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpRangeList(&sv.IpRanges, value); err != nil { return err } - case "Ipv6Ranges": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpv6RangeList(&sv.Ipv6Ranges, value); err != nil { return err } - case "PrefixListIds": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupPrefixListIdList(&sv.PrefixListIds, value); err != nil { return err } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -28256,12 +27170,10 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.ToPort = ptr.Int32(int32(i64)) } - case "UserIdGroupPairs": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPairList(&sv.UserIdGroupPairs, value); err != nil { return err } - default: _, _ = key, value @@ -28335,7 +27247,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpRange(v **types.AwsEc2 } sv.CidrIp = ptr.String(jtv) } - default: _, _ = key, value @@ -28409,7 +27320,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpv6Range(v **types.AwsE } sv.CidrIpv6 = ptr.String(jtv) } - default: _, _ = key, value @@ -28483,7 +27393,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupPrefixListId(v **types.A } sv.PrefixListId = ptr.String(jtv) } - default: _, _ = key, value @@ -28557,7 +27466,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.GroupId = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -28566,7 +27474,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.GroupName = ptr.String(jtv) } - case "PeeringStatus": if value != nil { jtv, ok := value.(string) @@ -28575,7 +27482,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.PeeringStatus = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -28584,7 +27490,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.UserId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -28593,7 +27498,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.VpcId = ptr.String(jtv) } - case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -28602,7 +27506,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.VpcPeeringConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -28676,7 +27579,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AssignIpv6AddressOnCreation = ptr.Bool(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -28685,7 +27587,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailabilityZone = ptr.String(jtv) } - case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -28694,7 +27595,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailabilityZoneId = ptr.String(jtv) } - case "AvailableIpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -28707,7 +27607,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailableIpAddressCount = ptr.Int32(int32(i64)) } - case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -28716,7 +27615,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.CidrBlock = ptr.String(jtv) } - case "DefaultForAz": if value != nil { jtv, ok := value.(bool) @@ -28725,12 +27623,10 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.DefaultForAz = ptr.Bool(jtv) } - case "Ipv6CidrBlockAssociationSet": if err := awsRestjson1_deserializeDocumentIpv6CidrBlockAssociationList(&sv.Ipv6CidrBlockAssociationSet, value); err != nil { return err } - case "MapPublicIpOnLaunch": if value != nil { jtv, ok := value.(bool) @@ -28739,7 +27635,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.MapPublicIpOnLaunch = ptr.Bool(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -28748,7 +27643,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.OwnerId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -28757,7 +27651,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.State = ptr.String(jtv) } - case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -28766,7 +27659,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.SubnetArn = ptr.String(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -28775,7 +27667,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.SubnetId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -28784,7 +27675,6 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -28828,7 +27718,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AmazonSideAsn = ptr.Int32(int32(i64)) } - case "AssociationDefaultRouteTableId": if value != nil { jtv, ok := value.(string) @@ -28837,7 +27726,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AssociationDefaultRouteTableId = ptr.String(jtv) } - case "AutoAcceptSharedAttachments": if value != nil { jtv, ok := value.(string) @@ -28846,7 +27734,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AutoAcceptSharedAttachments = ptr.String(jtv) } - case "DefaultRouteTableAssociation": if value != nil { jtv, ok := value.(string) @@ -28855,7 +27742,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DefaultRouteTableAssociation = ptr.String(jtv) } - case "DefaultRouteTablePropagation": if value != nil { jtv, ok := value.(string) @@ -28864,7 +27750,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DefaultRouteTablePropagation = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -28873,7 +27758,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.Description = ptr.String(jtv) } - case "DnsSupport": if value != nil { jtv, ok := value.(string) @@ -28882,7 +27766,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DnsSupport = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -28891,7 +27774,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.Id = ptr.String(jtv) } - case "MulticastSupport": if value != nil { jtv, ok := value.(string) @@ -28900,7 +27782,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.MulticastSupport = ptr.String(jtv) } - case "PropagationDefaultRouteTableId": if value != nil { jtv, ok := value.(string) @@ -28909,12 +27790,10 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.PropagationDefaultRouteTableId = ptr.String(jtv) } - case "TransitGatewayCidrBlocks": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.TransitGatewayCidrBlocks, value); err != nil { return err } - case "VpnEcmpSupport": if value != nil { jtv, ok := value.(string) @@ -28923,7 +27802,6 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.VpnEcmpSupport = ptr.String(jtv) } - default: _, _ = key, value @@ -28963,7 +27841,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.AttachTime = ptr.String(jtv) } - case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -28972,7 +27849,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28981,7 +27857,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.InstanceId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -28990,7 +27865,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -29060,7 +27934,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD if err := awsRestjson1_deserializeDocumentAwsEc2VolumeAttachmentList(&sv.Attachments, value); err != nil { return err } - case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -29069,7 +27942,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.CreateTime = ptr.String(jtv) } - case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -29078,7 +27950,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.DeviceName = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -29087,7 +27958,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Encrypted = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -29096,7 +27966,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.KmsKeyId = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -29109,7 +27978,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Size = ptr.Int32(int32(i64)) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -29118,7 +27986,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.SnapshotId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -29127,7 +27994,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Status = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -29136,7 +28002,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeId = ptr.String(jtv) } - case "VolumeScanStatus": if value != nil { jtv, ok := value.(string) @@ -29145,7 +28010,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeScanStatus = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -29154,7 +28018,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -29190,7 +28053,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails if err := awsRestjson1_deserializeDocumentCidrBlockAssociationList(&sv.CidrBlockAssociationSet, value); err != nil { return err } - case "DhcpOptionsId": if value != nil { jtv, ok := value.(string) @@ -29199,12 +28061,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails } sv.DhcpOptionsId = ptr.String(jtv) } - case "Ipv6CidrBlockAssociationSet": if err := awsRestjson1_deserializeDocumentIpv6CidrBlockAssociationList(&sv.Ipv6CidrBlockAssociationSet, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -29213,7 +28073,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -29253,22 +28112,18 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.AcceptanceRequired = ptr.Bool(jtv) } - case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "BaseEndpointDnsNames": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BaseEndpointDnsNames, value); err != nil { return err } - case "GatewayLoadBalancerArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.GatewayLoadBalancerArns, value); err != nil { return err } - case "ManagesVpcEndpoints": if value != nil { jtv, ok := value.(bool) @@ -29277,12 +28132,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ManagesVpcEndpoints = ptr.Bool(jtv) } - case "NetworkLoadBalancerArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.NetworkLoadBalancerArns, value); err != nil { return err } - case "PrivateDnsName": if value != nil { jtv, ok := value.(string) @@ -29291,7 +28144,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.PrivateDnsName = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -29300,7 +28152,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceId = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -29309,7 +28160,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceName = ptr.String(jtv) } - case "ServiceState": if value != nil { jtv, ok := value.(string) @@ -29318,12 +28168,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceState = ptr.String(jtv) } - case "ServiceType": if err := awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceServiceTypeList(&sv.ServiceType, value); err != nil { return err } - default: _, _ = key, value @@ -29363,7 +28211,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceServiceTypeDetails( } sv.ServiceType = ptr.String(jtv) } - default: _, _ = key, value @@ -29433,7 +28280,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(&sv.AccepterVpcInfo, value); err != nil { return err } - case "ExpirationTime": if value != nil { jtv, ok := value.(string) @@ -29442,17 +28288,14 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types } sv.ExpirationTime = ptr.String(jtv) } - case "RequesterVpcInfo": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(&sv.RequesterVpcInfo, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(&sv.Status, value); err != nil { return err } - case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -29461,7 +28304,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types } sv.VpcPeeringConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -29501,7 +28343,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(v * } sv.Code = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -29510,7 +28351,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -29550,17 +28390,14 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.CidrBlock = ptr.String(jtv) } - case "CidrBlockSet": if err := awsRestjson1_deserializeDocumentVpcInfoCidrBlockSetList(&sv.CidrBlockSet, value); err != nil { return err } - case "Ipv6CidrBlockSet": if err := awsRestjson1_deserializeDocumentVpcInfoIpv6CidrBlockSetList(&sv.Ipv6CidrBlockSet, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -29569,12 +28406,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.OwnerId = ptr.String(jtv) } - case "PeeringOptions": if err := awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(&sv.PeeringOptions, value); err != nil { return err } - case "Region": if value != nil { jtv, ok := value.(string) @@ -29583,7 +28418,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.Region = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -29592,7 +28426,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -29632,7 +28465,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.Category = ptr.String(jtv) } - case "CustomerGatewayConfiguration": if value != nil { jtv, ok := value.(string) @@ -29641,7 +28473,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.CustomerGatewayConfiguration = ptr.String(jtv) } - case "CustomerGatewayId": if value != nil { jtv, ok := value.(string) @@ -29650,17 +28481,14 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.CustomerGatewayId = ptr.String(jtv) } - case "Options": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsDetails(&sv.Options, value); err != nil { return err } - case "Routes": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesList(&sv.Routes, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -29669,7 +28497,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.State = ptr.String(jtv) } - case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -29678,7 +28505,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.TransitGatewayId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -29687,12 +28513,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.Type = ptr.String(jtv) } - case "VgwTelemetry": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryList(&sv.VgwTelemetry, value); err != nil { return err } - case "VpnConnectionId": if value != nil { jtv, ok := value.(string) @@ -29701,7 +28525,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.VpnConnectionId = ptr.String(jtv) } - case "VpnGatewayId": if value != nil { jtv, ok := value.(string) @@ -29710,7 +28533,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.VpnGatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -29750,12 +28572,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsDetails(v **types } sv.StaticRoutesOnly = ptr.Bool(jtv) } - case "TunnelOptions": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsList(&sv.TunnelOptions, value); err != nil { return err } - default: _, _ = key, value @@ -29799,12 +28619,10 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.DpdTimeoutSeconds = ptr.Int32(int32(i64)) } - case "IkeVersions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.IkeVersions, value); err != nil { return err } - case "OutsideIpAddress": if value != nil { jtv, ok := value.(string) @@ -29813,22 +28631,18 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.OutsideIpAddress = ptr.String(jtv) } - case "Phase1DhGroupNumbers": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.Phase1DhGroupNumbers, value); err != nil { return err } - case "Phase1EncryptionAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase1EncryptionAlgorithms, value); err != nil { return err } - case "Phase1IntegrityAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase1IntegrityAlgorithms, value); err != nil { return err } - case "Phase1LifetimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -29841,22 +28655,18 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.Phase1LifetimeSeconds = ptr.Int32(int32(i64)) } - case "Phase2DhGroupNumbers": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.Phase2DhGroupNumbers, value); err != nil { return err } - case "Phase2EncryptionAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase2EncryptionAlgorithms, value); err != nil { return err } - case "Phase2IntegrityAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase2IntegrityAlgorithms, value); err != nil { return err } - case "Phase2LifetimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -29869,7 +28679,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.Phase2LifetimeSeconds = ptr.Int32(int32(i64)) } - case "PreSharedKey": if value != nil { jtv, ok := value.(string) @@ -29878,7 +28687,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.PreSharedKey = ptr.String(jtv) } - case "RekeyFuzzPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -29891,7 +28699,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.RekeyFuzzPercentage = ptr.Int32(int32(i64)) } - case "RekeyMarginTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -29904,7 +28711,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.RekeyMarginTimeSeconds = ptr.Int32(int32(i64)) } - case "ReplayWindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -29917,7 +28723,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.ReplayWindowSize = ptr.Int32(int32(i64)) } - case "TunnelInsideCidr": if value != nil { jtv, ok := value.(string) @@ -29926,7 +28731,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.TunnelInsideCidr = ptr.String(jtv) } - default: _, _ = key, value @@ -30000,7 +28804,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesDetails(v **types. } sv.DestinationCidrBlock = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -30009,7 +28812,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesDetails(v **types. } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -30087,7 +28889,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.AcceptedRouteCount = ptr.Int32(int32(i64)) } - case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -30096,7 +28897,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.CertificateArn = ptr.String(jtv) } - case "LastStatusChange": if value != nil { jtv, ok := value.(string) @@ -30105,7 +28905,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.LastStatusChange = ptr.String(jtv) } - case "OutsideIpAddress": if value != nil { jtv, ok := value.(string) @@ -30114,7 +28913,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.OutsideIpAddress = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -30123,7 +28921,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -30132,7 +28929,6 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -30206,7 +29002,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } - case "ImageDigest": if value != nil { jtv, ok := value.(string) @@ -30215,7 +29010,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageDigest = ptr.String(jtv) } - case "ImagePublishedAt": if value != nil { jtv, ok := value.(string) @@ -30224,12 +29018,10 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImagePublishedAt = ptr.String(jtv) } - case "ImageTags": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ImageTags, value); err != nil { return err } - case "RegistryId": if value != nil { jtv, ok := value.(string) @@ -30238,7 +29030,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RegistryId = ptr.String(jtv) } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -30247,7 +29038,6 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } - default: _, _ = key, value @@ -30287,12 +29077,10 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.Arn = ptr.String(jtv) } - case "ImageScanningConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryImageScanningConfigurationDetails(&sv.ImageScanningConfiguration, value); err != nil { return err } - case "ImageTagMutability": if value != nil { jtv, ok := value.(string) @@ -30301,12 +29089,10 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.ImageTagMutability = ptr.String(jtv) } - case "LifecyclePolicy": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(&sv.LifecyclePolicy, value); err != nil { return err } - case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -30315,7 +29101,6 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.RepositoryName = ptr.String(jtv) } - case "RepositoryPolicyText": if value != nil { jtv, ok := value.(string) @@ -30324,7 +29109,6 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.RepositoryPolicyText = ptr.String(jtv) } - default: _, _ = key, value @@ -30364,7 +29148,6 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryImageScanningConfigurationD } sv.ScanOnPush = ptr.Bool(jtv) } - default: _, _ = key, value @@ -30404,7 +29187,6 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(v ** } sv.LifecyclePolicyText = ptr.String(jtv) } - case "RegistryId": if value != nil { jtv, ok := value.(string) @@ -30413,7 +29195,6 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(v ** } sv.RegistryId = ptr.String(jtv) } - default: _, _ = key, value @@ -30453,7 +29234,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsDetails(v **typ } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -30462,7 +29242,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsDetails(v **typ } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -30532,7 +29311,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationDetails(v **types if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandConfigurationDetails(&sv.ExecuteCommandConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -30572,12 +29350,10 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.KmsKeyId = ptr.String(jtv) } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails(&sv.LogConfiguration, value); err != nil { return err } - case "Logging": if value != nil { jtv, ok := value.(string) @@ -30586,7 +29362,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.Logging = ptr.String(jtv) } - default: _, _ = key, value @@ -30626,7 +29401,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.CloudWatchEncryptionEnabled = ptr.Bool(jtv) } - case "CloudWatchLogGroupName": if value != nil { jtv, ok := value.(string) @@ -30635,7 +29409,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.CloudWatchLogGroupName = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -30644,7 +29417,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3BucketName = ptr.String(jtv) } - case "S3EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -30653,7 +29425,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3EncryptionEnabled = ptr.Bool(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -30662,7 +29433,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -30706,7 +29476,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.Base = ptr.Int32(int32(i64)) } - case "CapacityProvider": if value != nil { jtv, ok := value.(string) @@ -30715,7 +29484,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.CapacityProvider = ptr.String(jtv) } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -30728,7 +29496,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -30806,12 +29573,10 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ActiveServicesCount = ptr.Int32(int32(i64)) } - case "CapacityProviders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CapacityProviders, value); err != nil { return err } - case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -30820,7 +29585,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ClusterArn = ptr.String(jtv) } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -30829,22 +29593,18 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ClusterName = ptr.String(jtv) } - case "ClusterSettings": if err := awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsList(&sv.ClusterSettings, value); err != nil { return err } - case "Configuration": if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationDetails(&sv.Configuration, value); err != nil { return err } - case "DefaultCapacityProviderStrategy": if err := awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrategyList(&sv.DefaultCapacityProviderStrategy, value); err != nil { return err } - case "RegisteredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -30857,7 +29617,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } - case "RunningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -30870,7 +29629,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.RunningTasksCount = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -30879,7 +29637,6 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -30919,12 +29676,10 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Image = ptr.String(jtv) } - case "MountPoints": if err := awsRestjson1_deserializeDocumentAwsMountPointList(&sv.MountPoints, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -30933,7 +29688,6 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Name = ptr.String(jtv) } - case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -30942,7 +29696,6 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Privileged = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31020,7 +29773,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.Base = ptr.Int32(int32(i64)) } - case "CapacityProvider": if value != nil { jtv, ok := value.(string) @@ -31029,7 +29781,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.CapacityProvider = ptr.String(jtv) } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -31042,7 +29793,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31116,7 +29866,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym } sv.Enable = ptr.Bool(jtv) } - case "Rollback": if value != nil { jtv, ok := value.(bool) @@ -31125,7 +29874,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym } sv.Rollback = ptr.Bool(jtv) } - default: _, _ = key, value @@ -31161,7 +29909,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails(&sv.DeploymentCircuitBreaker, value); err != nil { return err } - case "MaximumPercent": if value != nil { jtv, ok := value.(json.Number) @@ -31174,7 +29921,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails } sv.MaximumPercent = ptr.Int32(int32(i64)) } - case "MinimumHealthyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -31187,7 +29933,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails } sv.MinimumHealthyPercent = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -31227,7 +29972,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentControllerDetails(v } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -31263,7 +30007,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if err := awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyList(&sv.CapacityProviderStrategy, value); err != nil { return err } - case "Cluster": if value != nil { jtv, ok := value.(string) @@ -31272,17 +30015,14 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Cluster = ptr.String(jtv) } - case "DeploymentConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails(&sv.DeploymentConfiguration, value); err != nil { return err } - case "DeploymentController": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentControllerDetails(&sv.DeploymentController, value); err != nil { return err } - case "DesiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -31295,7 +30035,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.DesiredCount = ptr.Int32(int32(i64)) } - case "EnableEcsManagedTags": if value != nil { jtv, ok := value.(bool) @@ -31304,7 +30043,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.EnableEcsManagedTags = ptr.Bool(jtv) } - case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -31313,7 +30051,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.EnableExecuteCommand = ptr.Bool(jtv) } - case "HealthCheckGracePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -31326,7 +30063,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.HealthCheckGracePeriodSeconds = ptr.Int32(int32(i64)) } - case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -31335,12 +30071,10 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.LaunchType = ptr.String(jtv) } - case "LoadBalancers": if err := awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersList(&sv.LoadBalancers, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -31349,22 +30083,18 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Name = ptr.String(jtv) } - case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationDetails(&sv.NetworkConfiguration, value); err != nil { return err } - case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsList(&sv.PlacementConstraints, value); err != nil { return err } - case "PlacementStrategies": if err := awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesList(&sv.PlacementStrategies, value); err != nil { return err } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -31373,7 +30103,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.PlatformVersion = ptr.String(jtv) } - case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -31382,7 +30111,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.PropagateTags = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -31391,7 +30119,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Role = ptr.String(jtv) } - case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -31400,7 +30127,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.SchedulingStrategy = ptr.String(jtv) } - case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -31409,7 +30135,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.ServiceArn = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -31418,12 +30143,10 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.ServiceName = ptr.String(jtv) } - case "ServiceRegistries": if err := awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesList(&sv.ServiceRegistries, value); err != nil { return err } - case "TaskDefinition": if value != nil { jtv, ok := value.(string) @@ -31432,7 +30155,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.TaskDefinition = ptr.String(jtv) } - default: _, _ = key, value @@ -31472,7 +30194,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.ContainerName = ptr.String(jtv) } - case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -31485,7 +30206,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "LoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -31494,7 +30214,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.LoadBalancerName = ptr.String(jtv) } - case "TargetGroupArn": if value != nil { jtv, ok := value.(string) @@ -31503,7 +30222,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.TargetGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -31577,17 +30295,14 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationAwsVpcConf } sv.AssignPublicIp = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Subnets, value); err != nil { return err } - default: _, _ = key, value @@ -31623,7 +30338,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationDetails(v if err := awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails(&sv.AwsVpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -31663,7 +30377,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsDetails(v } sv.Expression = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -31672,7 +30385,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsDetails(v } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -31746,7 +30458,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesDetails(v * } sv.Field = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -31755,7 +30466,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesDetails(v * } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -31829,7 +30539,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.ContainerName = ptr.String(jtv) } - case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -31842,7 +30551,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -31855,7 +30563,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.Port = ptr.Int32(int32(i64)) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -31864,7 +30571,6 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.RegistryArn = ptr.String(jtv) } - default: _, _ = key, value @@ -31938,7 +30644,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDep } sv.Condition = ptr.String(jtv) } - case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -31947,7 +30652,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDep } sv.ContainerName = ptr.String(jtv) } - default: _, _ = key, value @@ -32017,7 +30721,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Command, value); err != nil { return err } - case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -32030,12 +30733,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Cpu = ptr.Int32(int32(i64)) } - case "DependsOn": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDependsOnList(&sv.DependsOn, value); err != nil { return err } - case "DisableNetworking": if value != nil { jtv, ok := value.(bool) @@ -32044,42 +30745,34 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.DisableNetworking = ptr.Bool(jtv) } - case "DnsSearchDomains": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DnsSearchDomains, value); err != nil { return err } - case "DnsServers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DnsServers, value); err != nil { return err } - case "DockerLabels": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DockerLabels, value); err != nil { return err } - case "DockerSecurityOptions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DockerSecurityOptions, value); err != nil { return err } - case "EntryPoint": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.EntryPoint, value); err != nil { return err } - case "Environment": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnvironmentList(&sv.Environment, value); err != nil { return err } - case "EnvironmentFiles": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesList(&sv.EnvironmentFiles, value); err != nil { return err } - case "Essential": if value != nil { jtv, ok := value.(bool) @@ -32088,22 +30781,18 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Essential = ptr.Bool(jtv) } - case "ExtraHosts": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExtraHostsList(&sv.ExtraHosts, value); err != nil { return err } - case "FirelensConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails(&sv.FirelensConfiguration, value); err != nil { return err } - case "HealthCheck": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails(&sv.HealthCheck, value); err != nil { return err } - case "Hostname": if value != nil { jtv, ok := value.(string) @@ -32112,7 +30801,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Hostname = ptr.String(jtv) } - case "Image": if value != nil { jtv, ok := value.(string) @@ -32121,7 +30809,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Image = ptr.String(jtv) } - case "Interactive": if value != nil { jtv, ok := value.(bool) @@ -32130,22 +30817,18 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Interactive = ptr.Bool(jtv) } - case "Links": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Links, value); err != nil { return err } - case "LinuxParameters": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails(&sv.LinuxParameters, value); err != nil { return err } - case "LogConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails(&sv.LogConfiguration, value); err != nil { return err } - case "Memory": if value != nil { jtv, ok := value.(json.Number) @@ -32158,7 +30841,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Memory = ptr.Int32(int32(i64)) } - case "MemoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -32171,12 +30853,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.MemoryReservation = ptr.Int32(int32(i64)) } - case "MountPoints": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMountPointsList(&sv.MountPoints, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32185,12 +30865,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Name = ptr.String(jtv) } - case "PortMappings": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPortMappingsList(&sv.PortMappings, value); err != nil { return err } - case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -32199,7 +30877,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Privileged = ptr.Bool(jtv) } - case "PseudoTerminal": if value != nil { jtv, ok := value.(bool) @@ -32208,7 +30885,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.PseudoTerminal = ptr.Bool(jtv) } - case "ReadonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -32217,22 +30893,18 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } - case "RepositoryCredentials": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails(&sv.RepositoryCredentials, value); err != nil { return err } - case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } - case "Secrets": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSecretsList(&sv.Secrets, value); err != nil { return err } - case "StartTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -32245,7 +30917,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.StartTimeout = ptr.Int32(int32(i64)) } - case "StopTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -32258,17 +30929,14 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.StopTimeout = ptr.Int32(int32(i64)) } - case "SystemControls": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSystemControlsList(&sv.SystemControls, value); err != nil { return err } - case "Ulimits": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUlimitsList(&sv.Ulimits, value); err != nil { return err } - case "User": if value != nil { jtv, ok := value.(string) @@ -32277,12 +30945,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.User = ptr.String(jtv) } - case "VolumesFrom": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVolumesFromList(&sv.VolumesFrom, value); err != nil { return err } - case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -32291,7 +30957,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.WorkingDirectory = ptr.String(jtv) } - default: _, _ = key, value @@ -32331,7 +30996,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -32340,7 +31004,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -32380,7 +31043,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -32389,7 +31051,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -32497,7 +31158,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExt } sv.Hostname = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -32506,7 +31166,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExt } sv.IpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -32576,7 +31235,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFir if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Options, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -32585,7 +31243,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFir } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -32621,7 +31278,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Command, value); err != nil { return err } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -32634,7 +31290,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Interval = ptr.Int32(int32(i64)) } - case "Retries": if value != nil { jtv, ok := value.(json.Number) @@ -32647,7 +31302,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Retries = ptr.Int32(int32(i64)) } - case "StartPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -32660,7 +31314,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.StartPeriod = ptr.Int32(int32(i64)) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -32673,7 +31326,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -32709,12 +31361,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Add, value); err != nil { return err } - case "Drop": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Drop, value); err != nil { return err } - default: _, _ = key, value @@ -32750,12 +31400,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails(&sv.Capabilities, value); err != nil { return err } - case "Devices": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList(&sv.Devices, value); err != nil { return err } - case "InitProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -32764,7 +31412,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.InitProcessEnabled = ptr.Bool(jtv) } - case "MaxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -32777,7 +31424,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.MaxSwap = ptr.Int32(int32(i64)) } - case "SharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -32790,7 +31436,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.SharedMemorySize = ptr.Int32(int32(i64)) } - case "Swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -32803,12 +31448,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.Swappiness = ptr.Int32(int32(i64)) } - case "Tmpfs": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList(&sv.Tmpfs, value); err != nil { return err } - default: _, _ = key, value @@ -32848,7 +31491,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.ContainerPath = ptr.String(jtv) } - case "HostPath": if value != nil { jtv, ok := value.(string) @@ -32857,12 +31499,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.HostPath = ptr.String(jtv) } - case "Permissions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -32936,12 +31576,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.ContainerPath = ptr.String(jtv) } - case "MountOptions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.MountOptions, value); err != nil { return err } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -32954,7 +31592,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.Size = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33062,17 +31699,14 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.LogDriver = ptr.String(jtv) } - case "Options": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Options, value); err != nil { return err } - case "SecretOptions": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsList(&sv.SecretOptions, value); err != nil { return err } - default: _, _ = key, value @@ -33112,7 +31746,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.Name = ptr.String(jtv) } - case "ValueFrom": if value != nil { jtv, ok := value.(string) @@ -33121,7 +31754,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.ValueFrom = ptr.String(jtv) } - default: _, _ = key, value @@ -33195,7 +31827,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.ContainerPath = ptr.String(jtv) } - case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -33204,7 +31835,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.ReadOnly = ptr.Bool(jtv) } - case "SourceVolume": if value != nil { jtv, ok := value.(string) @@ -33213,7 +31843,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.SourceVolume = ptr.String(jtv) } - default: _, _ = key, value @@ -33291,7 +31920,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.ContainerPort = ptr.Int32(int32(i64)) } - case "HostPort": if value != nil { jtv, ok := value.(json.Number) @@ -33304,7 +31932,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.HostPort = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -33313,7 +31940,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -33387,7 +32013,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRep } sv.CredentialsParameter = ptr.String(jtv) } - default: _, _ = key, value @@ -33427,7 +32052,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRes } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -33436,7 +32060,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRes } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -33510,7 +32133,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSec } sv.Name = ptr.String(jtv) } - case "ValueFrom": if value != nil { jtv, ok := value.(string) @@ -33519,7 +32141,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSec } sv.ValueFrom = ptr.String(jtv) } - default: _, _ = key, value @@ -33593,7 +32214,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSys } sv.Namespace = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -33602,7 +32222,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSys } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -33680,7 +32299,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.HardLimit = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -33689,7 +32307,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.Name = ptr.String(jtv) } - case "SoftLimit": if value != nil { jtv, ok := value.(json.Number) @@ -33702,7 +32319,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.SoftLimit = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -33776,7 +32392,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVol } sv.ReadOnly = ptr.Bool(jtv) } - case "SourceContainer": if value != nil { jtv, ok := value.(string) @@ -33785,7 +32400,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVol } sv.SourceContainer = ptr.String(jtv) } - default: _, _ = key, value @@ -33855,7 +32469,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsList(&sv.ContainerDefinitions, value); err != nil { return err } - case "Cpu": if value != nil { jtv, ok := value.(string) @@ -33864,7 +32477,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Cpu = ptr.String(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -33873,7 +32485,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.ExecutionRoleArn = ptr.String(jtv) } - case "Family": if value != nil { jtv, ok := value.(string) @@ -33882,12 +32493,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Family = ptr.String(jtv) } - case "InferenceAccelerators": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsList(&sv.InferenceAccelerators, value); err != nil { return err } - case "IpcMode": if value != nil { jtv, ok := value.(string) @@ -33896,7 +32505,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.IpcMode = ptr.String(jtv) } - case "Memory": if value != nil { jtv, ok := value.(string) @@ -33905,7 +32513,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Memory = ptr.String(jtv) } - case "NetworkMode": if value != nil { jtv, ok := value.(string) @@ -33914,7 +32521,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.NetworkMode = ptr.String(jtv) } - case "PidMode": if value != nil { jtv, ok := value.(string) @@ -33923,22 +32529,18 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.PidMode = ptr.String(jtv) } - case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsList(&sv.PlacementConstraints, value); err != nil { return err } - case "ProxyConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetails(&sv.ProxyConfiguration, value); err != nil { return err } - case "RequiresCompatibilities": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.RequiresCompatibilities, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -33947,7 +32549,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Status = ptr.String(jtv) } - case "TaskRoleArn": if value != nil { jtv, ok := value.(string) @@ -33956,12 +32557,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.TaskRoleArn = ptr.String(jtv) } - case "Volumes": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesList(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -34001,7 +32600,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsDe } sv.DeviceName = ptr.String(jtv) } - case "DeviceType": if value != nil { jtv, ok := value.(string) @@ -34010,7 +32608,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsDe } sv.DeviceType = ptr.String(jtv) } - default: _, _ = key, value @@ -34084,7 +32681,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsDet } sv.Expression = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -34093,7 +32689,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsDet } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -34167,12 +32762,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetai } sv.ContainerName = ptr.String(jtv) } - case "ProxyConfigurationProperties": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesList(&sv.ProxyConfigurationProperties, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -34181,7 +32774,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetai } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -34221,7 +32813,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxy } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -34230,7 +32821,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxy } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -34300,17 +32890,14 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDetails(v **type if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails(&sv.DockerVolumeConfiguration, value); err != nil { return err } - case "EfsVolumeConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails(&sv.EfsVolumeConfiguration, value); err != nil { return err } - case "Host": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesHostDetails(&sv.Host, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34319,7 +32906,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDetails(v **type } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -34359,7 +32945,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Autoprovision = ptr.Bool(jtv) } - case "Driver": if value != nil { jtv, ok := value.(string) @@ -34368,17 +32953,14 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Driver = ptr.String(jtv) } - case "DriverOpts": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DriverOpts, value); err != nil { return err } - case "Labels": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Labels, value); err != nil { return err } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -34387,7 +32969,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Scope = ptr.String(jtv) } - default: _, _ = key, value @@ -34427,7 +33008,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.AccessPointId = ptr.String(jtv) } - case "Iam": if value != nil { jtv, ok := value.(string) @@ -34436,7 +33016,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.Iam = ptr.String(jtv) } - default: _, _ = key, value @@ -34472,7 +33051,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails(&sv.AuthorizationConfig, value); err != nil { return err } - case "FilesystemId": if value != nil { jtv, ok := value.(string) @@ -34481,7 +33059,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.FilesystemId = ptr.String(jtv) } - case "RootDirectory": if value != nil { jtv, ok := value.(string) @@ -34490,7 +33067,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.RootDirectory = ptr.String(jtv) } - case "TransitEncryption": if value != nil { jtv, ok := value.(string) @@ -34499,7 +33075,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.TransitEncryption = ptr.String(jtv) } - case "TransitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -34512,7 +33087,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34552,7 +33126,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesHostDetails(v ** } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -34626,12 +33199,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.ClusterArn = ptr.String(jtv) } - case "Containers": if err := awsRestjson1_deserializeDocumentAwsEcsContainerDetailsList(&sv.Containers, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -34640,7 +33211,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.CreatedAt = ptr.String(jtv) } - case "Group": if value != nil { jtv, ok := value.(string) @@ -34649,7 +33219,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.Group = ptr.String(jtv) } - case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -34658,7 +33227,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.StartedAt = ptr.String(jtv) } - case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -34667,7 +33235,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.StartedBy = ptr.String(jtv) } - case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -34676,7 +33243,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.TaskDefinitionArn = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -34685,12 +33251,10 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.Version = ptr.String(jtv) } - case "Volumes": if err := awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetailsList(&sv.Volumes, value); err != nil { return err } - default: _, _ = key, value @@ -34726,7 +33290,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetails(v **types.AwsEcsTas if err := awsRestjson1_deserializeDocumentAwsEcsTaskVolumeHostDetails(&sv.Host, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34735,7 +33298,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetails(v **types.AwsEcsTas } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -34809,7 +33371,6 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeHostDetails(v **types.AwsEc } sv.SourcePath = ptr.String(jtv) } - default: _, _ = key, value @@ -34849,7 +33410,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.AccessPointId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -34858,7 +33418,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.Arn = ptr.String(jtv) } - case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -34867,7 +33426,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.ClientToken = ptr.String(jtv) } - case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -34876,17 +33434,14 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.FileSystemId = ptr.String(jtv) } - case "PosixUser": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(&sv.PosixUser, value); err != nil { return err } - case "RootDirectory": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(&sv.RootDirectory, value); err != nil { return err } - default: _, _ = key, value @@ -34926,12 +33481,10 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(v **types } sv.Gid = ptr.String(jtv) } - case "SecondaryGids": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecondaryGids, value); err != nil { return err } - case "Uid": if value != nil { jtv, ok := value.(string) @@ -34940,7 +33493,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(v **types } sv.Uid = ptr.String(jtv) } - default: _, _ = key, value @@ -34980,7 +33532,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.OwnerGid = ptr.String(jtv) } - case "OwnerUid": if value != nil { jtv, ok := value.(string) @@ -34989,7 +33540,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.OwnerUid = ptr.String(jtv) } - case "Permissions": if value != nil { jtv, ok := value.(string) @@ -34998,7 +33548,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.Permissions = ptr.String(jtv) } - default: _, _ = key, value @@ -35034,7 +33583,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(v **t if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoDetails(&sv.CreationInfo, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -35043,7 +33591,6 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(v **t } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -35083,7 +33630,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Arn = ptr.String(jtv) } - case "CertificateAuthorityData": if value != nil { jtv, ok := value.(string) @@ -35092,7 +33638,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.CertificateAuthorityData = ptr.String(jtv) } - case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -35101,7 +33646,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.ClusterStatus = ptr.String(jtv) } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -35110,12 +33654,10 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Endpoint = ptr.String(jtv) } - case "Logging": if err := awsRestjson1_deserializeDocumentAwsEksClusterLoggingDetails(&sv.Logging, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -35124,12 +33666,10 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Name = ptr.String(jtv) } - case "ResourcesVpcConfig": if err := awsRestjson1_deserializeDocumentAwsEksClusterResourcesVpcConfigDetails(&sv.ResourcesVpcConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -35138,7 +33678,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.RoleArn = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -35147,7 +33686,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -35187,12 +33725,10 @@ func awsRestjson1_deserializeDocumentAwsEksClusterLoggingClusterLoggingDetails(v } sv.Enabled = ptr.Bool(jtv) } - case "Types": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -35262,7 +33798,6 @@ func awsRestjson1_deserializeDocumentAwsEksClusterLoggingDetails(v **types.AwsEk if err := awsRestjson1_deserializeDocumentAwsEksClusterLoggingClusterLoggingList(&sv.ClusterLogging, value); err != nil { return err } - default: _, _ = key, value @@ -35302,17 +33837,14 @@ func awsRestjson1_deserializeDocumentAwsEksClusterResourcesVpcConfigDetails(v ** } sv.EndpointPublicAccess = ptr.Bool(jtv) } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -35352,7 +33884,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.ApplicationName = ptr.String(jtv) } - case "Cname": if value != nil { jtv, ok := value.(string) @@ -35361,7 +33892,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Cname = ptr.String(jtv) } - case "DateCreated": if value != nil { jtv, ok := value.(string) @@ -35370,7 +33900,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.DateCreated = ptr.String(jtv) } - case "DateUpdated": if value != nil { jtv, ok := value.(string) @@ -35379,7 +33908,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.DateUpdated = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -35388,7 +33916,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Description = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -35397,7 +33924,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EndpointUrl = ptr.String(jtv) } - case "EnvironmentArn": if value != nil { jtv, ok := value.(string) @@ -35406,7 +33932,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentArn = ptr.String(jtv) } - case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -35415,12 +33940,10 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentId = ptr.String(jtv) } - case "EnvironmentLinks": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLinks(&sv.EnvironmentLinks, value); err != nil { return err } - case "EnvironmentName": if value != nil { jtv, ok := value.(string) @@ -35429,12 +33952,10 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentName = ptr.String(jtv) } - case "OptionSettings": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSettings(&sv.OptionSettings, value); err != nil { return err } - case "PlatformArn": if value != nil { jtv, ok := value.(string) @@ -35443,7 +33964,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.PlatformArn = ptr.String(jtv) } - case "SolutionStackName": if value != nil { jtv, ok := value.(string) @@ -35452,7 +33972,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.SolutionStackName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -35461,12 +33980,10 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Status = ptr.String(jtv) } - case "Tier": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(&sv.Tier, value); err != nil { return err } - case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -35475,7 +33992,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.VersionLabel = ptr.String(jtv) } - default: _, _ = key, value @@ -35515,7 +34031,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLi } sv.EnvironmentName = ptr.String(jtv) } - case "LinkName": if value != nil { jtv, ok := value.(string) @@ -35524,7 +34039,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLi } sv.LinkName = ptr.String(jtv) } - default: _, _ = key, value @@ -35598,7 +34112,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.Namespace = ptr.String(jtv) } - case "OptionName": if value != nil { jtv, ok := value.(string) @@ -35607,7 +34120,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.OptionName = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -35616,7 +34128,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.ResourceName = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -35625,7 +34136,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35699,7 +34209,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -35708,7 +34217,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Type = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -35717,7 +34225,6 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -35757,12 +34264,10 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.AccessPolicies = ptr.String(jtv) } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -35771,7 +34276,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.DomainId = ptr.String(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -35780,12 +34284,10 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.DomainName = ptr.String(jtv) } - case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterConfigDetails(&sv.ElasticsearchClusterConfig, value); err != nil { return err } - case "ElasticsearchVersion": if value != nil { jtv, ok := value.(string) @@ -35794,12 +34296,10 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.ElasticsearchVersion = ptr.String(jtv) } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -35808,32 +34308,26 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.Endpoint = ptr.String(jtv) } - case "Endpoints": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Endpoints, value); err != nil { return err } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } - case "VPCOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(&sv.VPCOptions, value); err != nil { return err } - default: _, _ = key, value @@ -35873,7 +34367,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions } sv.EnforceHTTPS = ptr.Bool(jtv) } - case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -35882,7 +34375,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions } sv.TLSSecurityPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -35926,7 +34418,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } - case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -35935,7 +34426,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } - case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -35944,7 +34434,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterType = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -35957,7 +34446,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -35966,12 +34454,10 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.InstanceType = ptr.String(jtv) } - case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails(&sv.ZoneAwarenessConfig, value); err != nil { return err } - case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -35980,7 +34466,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -36024,7 +34509,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36064,7 +34548,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptio } sv.Enabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -36073,7 +34556,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptio } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -36109,17 +34591,14 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptions( if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.AuditLogs, value); err != nil { return err } - case "IndexSlowLogs": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.IndexSlowLogs, value); err != nil { return err } - case "SearchSlowLogs": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.SearchSlowLogs, value); err != nil { return err } - default: _, _ = key, value @@ -36159,7 +34638,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsL } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -36168,7 +34646,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsL } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -36208,7 +34685,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionO } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -36248,7 +34724,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.AutomatedUpdateDate = ptr.String(jtv) } - case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -36257,7 +34732,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.Cancellable = ptr.Bool(jtv) } - case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -36266,7 +34740,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.CurrentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -36275,7 +34748,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.Description = ptr.String(jtv) } - case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -36284,7 +34756,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.NewVersion = ptr.String(jtv) } - case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -36293,7 +34764,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.UpdateAvailable = ptr.Bool(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -36302,7 +34772,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.UpdateStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -36338,17 +34807,14 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(v **types. if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } - case "VPCId": if value != nil { jtv, ok := value.(string) @@ -36357,7 +34823,6 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(v **types. } sv.VPCId = ptr.String(jtv) } - default: _, _ = key, value @@ -36431,7 +34896,6 @@ func awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicy(v **types.A } sv.CookieName = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -36440,7 +34904,6 @@ func awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicy(v **types.A } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -36518,7 +34981,6 @@ func awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicy(v **types.Aw } sv.CookieExpirationPeriod = ptr.Int64(i64) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -36527,7 +34989,6 @@ func awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicy(v **types.Aw } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -36571,7 +35032,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.EmitInterval = ptr.Int32(int32(i64)) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -36580,7 +35040,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.Enabled = ptr.Bool(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -36589,7 +35048,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.S3BucketName = ptr.String(jtv) } - case "S3BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -36598,7 +35056,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.S3BucketPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -36638,7 +35095,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttribute(v **t } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -36647,7 +35103,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttribute(v **t } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -36717,27 +35172,22 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAttributes(v **types.AwsE if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(&sv.AccessLog, value); err != nil { return err } - case "AdditionalAttributes": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } - case "ConnectionDraining": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(&sv.ConnectionDraining, value); err != nil { return err } - case "ConnectionSettings": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionSettings(&sv.ConnectionSettings, value); err != nil { return err } - case "CrossZoneLoadBalancing": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(&sv.CrossZoneLoadBalancing, value); err != nil { return err } - default: _, _ = key, value @@ -36781,12 +35231,10 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerBackendServerDescription( } sv.InstancePort = ptr.Int32(int32(i64)) } - case "PolicyNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.PolicyNames, value); err != nil { return err } - default: _, _ = key, value @@ -36860,7 +35308,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty } sv.Enabled = ptr.Bool(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -36873,7 +35320,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty } sv.Timeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36917,7 +35363,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionSettings(v **ty } sv.IdleTimeout = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -36957,7 +35402,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(v } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -36993,12 +35437,10 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "BackendServerDescriptions": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerBackendServerDescriptions(&sv.BackendServerDescriptions, value); err != nil { return err } - case "CanonicalHostedZoneName": if value != nil { jtv, ok := value.(string) @@ -37007,7 +35449,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CanonicalHostedZoneName = ptr.String(jtv) } - case "CanonicalHostedZoneNameID": if value != nil { jtv, ok := value.(string) @@ -37016,7 +35457,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CanonicalHostedZoneNameID = ptr.String(jtv) } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -37025,7 +35465,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CreatedTime = ptr.String(jtv) } - case "DnsName": if value != nil { jtv, ok := value.(string) @@ -37034,27 +35473,22 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.DnsName = ptr.String(jtv) } - case "HealthCheck": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(&sv.HealthCheck, value); err != nil { return err } - case "Instances": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerInstances(&sv.Instances, value); err != nil { return err } - case "ListenerDescriptions": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerListenerDescriptions(&sv.ListenerDescriptions, value); err != nil { return err } - case "LoadBalancerAttributes": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAttributes(&sv.LoadBalancerAttributes, value); err != nil { return err } - case "LoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -37063,12 +35497,10 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.LoadBalancerName = ptr.String(jtv) } - case "Policies": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerPolicies(&sv.Policies, value); err != nil { return err } - case "Scheme": if value != nil { jtv, ok := value.(string) @@ -37077,22 +35509,18 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.Scheme = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } - case "SourceSecurityGroup": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(&sv.SourceSecurityGroup, value); err != nil { return err } - case "Subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -37101,7 +35529,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -37145,7 +35572,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.HealthyThreshold = ptr.Int32(int32(i64)) } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -37158,7 +35584,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Interval = ptr.Int32(int32(i64)) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -37167,7 +35592,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Target = ptr.String(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -37180,7 +35604,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Timeout = ptr.Int32(int32(i64)) } - case "UnhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -37193,7 +35616,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -37233,7 +35655,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerInstance(v **types.AwsElb } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -37311,7 +35732,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.InstancePort = ptr.Int32(int32(i64)) } - case "InstanceProtocol": if value != nil { jtv, ok := value.(string) @@ -37320,7 +35740,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.InstanceProtocol = ptr.String(jtv) } - case "LoadBalancerPort": if value != nil { jtv, ok := value.(json.Number) @@ -37333,7 +35752,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.LoadBalancerPort = ptr.Int32(int32(i64)) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -37342,7 +35760,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.Protocol = ptr.String(jtv) } - case "SslCertificateId": if value != nil { jtv, ok := value.(string) @@ -37351,7 +35768,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.SslCertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -37387,12 +35803,10 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListenerDescription(v **t if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(&sv.Listener, value); err != nil { return err } - case "PolicyNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.PolicyNames, value); err != nil { return err } - default: _, _ = key, value @@ -37462,17 +35876,14 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerPolicies(v **types.AwsElb if err := awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicies(&sv.AppCookieStickinessPolicies, value); err != nil { return err } - case "LbCookieStickinessPolicies": if err := awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicies(&sv.LbCookieStickinessPolicies, value); err != nil { return err } - case "OtherPolicies": if err := awsRestjson1_deserializeDocumentStringList(&sv.OtherPolicies, value); err != nil { return err } - default: _, _ = key, value @@ -37512,7 +35923,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(v **t } sv.GroupName = ptr.String(jtv) } - case "OwnerAlias": if value != nil { jtv, ok := value.(string) @@ -37521,7 +35931,6 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(v **t } sv.OwnerAlias = ptr.String(jtv) } - default: _, _ = key, value @@ -37561,7 +35970,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttribute(v **types.Aws } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -37570,7 +35978,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttribute(v **types.Aws } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -37640,7 +36047,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl if err := awsRestjson1_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } - case "CanonicalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -37649,7 +36055,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.CanonicalHostedZoneId = ptr.String(jtv) } - case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -37658,7 +36063,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.CreatedTime = ptr.String(jtv) } - case "DNSName": if value != nil { jtv, ok := value.(string) @@ -37667,7 +36071,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.DNSName = ptr.String(jtv) } - case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -37676,12 +36079,10 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.IpAddressType = ptr.String(jtv) } - case "LoadBalancerAttributes": if err := awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttributes(&sv.LoadBalancerAttributes, value); err != nil { return err } - case "Scheme": if value != nil { jtv, ok := value.(string) @@ -37690,17 +36091,14 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.Scheme = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } - case "State": if err := awsRestjson1_deserializeDocumentLoadBalancerState(&sv.State, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -37709,7 +36107,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.Type = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -37718,7 +36115,6 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -37758,7 +36154,6 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.Description = ptr.String(jtv) } - case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -37767,7 +36162,6 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.RegistryArn = ptr.String(jtv) } - case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -37776,7 +36170,6 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.RegistryName = ptr.String(jtv) } - default: _, _ = key, value @@ -37816,7 +36209,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -37825,7 +36217,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Description = ptr.String(jtv) } - case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -37834,7 +36225,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.EndpointId = ptr.String(jtv) } - case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -37843,12 +36233,10 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.EndpointUrl = ptr.String(jtv) } - case "EventBuses": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointEventBusesList(&sv.EventBuses, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37857,12 +36245,10 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Name = ptr.String(jtv) } - case "ReplicationConfig": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointReplicationConfigDetails(&sv.ReplicationConfig, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -37871,12 +36257,10 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.RoleArn = ptr.String(jtv) } - case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigDetails(&sv.RoutingConfig, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -37885,7 +36269,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.State = ptr.String(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -37894,7 +36277,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.StateReason = ptr.String(jtv) } - default: _, _ = key, value @@ -37934,7 +36316,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointEventBusesDetails(v **type } sv.EventBusArn = ptr.String(jtv) } - default: _, _ = key, value @@ -38008,7 +36389,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointReplicationConfigDetails(v } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -38044,7 +36424,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigDetails(v **t if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigDetails(&sv.FailoverConfig, value); err != nil { return err } - default: _, _ = key, value @@ -38080,12 +36459,10 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails(&sv.Primary, value); err != nil { return err } - case "Secondary": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails(&sv.Secondary, value); err != nil { return err } - default: _, _ = key, value @@ -38125,7 +36502,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi } sv.HealthCheck = ptr.String(jtv) } - default: _, _ = key, value @@ -38165,7 +36541,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi } sv.Route = ptr.String(jtv) } - default: _, _ = key, value @@ -38205,7 +36580,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38214,7 +36588,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Name = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -38223,7 +36596,6 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -38263,7 +36635,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesCloudTrailDe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38299,32 +36670,26 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDetails(v ** if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesCloudTrailDetails(&sv.CloudTrail, value); err != nil { return err } - case "DnsLogs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDnsLogsDetails(&sv.DnsLogs, value); err != nil { return err } - case "FlowLogs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesFlowLogsDetails(&sv.FlowLogs, value); err != nil { return err } - case "Kubernetes": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesDetails(&sv.Kubernetes, value); err != nil { return err } - case "MalwareProtection": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionDetails(&sv.MalwareProtection, value); err != nil { return err } - case "S3Logs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesS3LogsDetails(&sv.S3Logs, value); err != nil { return err } - default: _, _ = key, value @@ -38364,7 +36729,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDnsLogsDetai } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38404,7 +36768,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesFlowLogsDeta } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38444,7 +36807,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesAu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38480,7 +36842,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesDe if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails(&sv.AuditLogs, value); err != nil { return err } - default: _, _ = key, value @@ -38516,7 +36877,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -38525,7 +36885,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.ServiceRole = ptr.String(jtv) } - default: _, _ = key, value @@ -38561,7 +36920,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails(&sv.EbsVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -38601,7 +36959,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.Reason = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38610,7 +36967,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38650,7 +37006,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesS3LogsDetail } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38686,12 +37041,10 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDetails(&sv.DataSources, value); err != nil { return err } - case "Features": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesList(&sv.Features, value); err != nil { return err } - case "FindingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -38700,7 +37053,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.FindingPublishingFrequency = ptr.String(jtv) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -38709,7 +37061,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.ServiceRole = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38718,7 +37069,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38758,7 +37108,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesDetails(v **typ } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38767,7 +37116,6 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesDetails(v **typ } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -38841,7 +37189,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.AccessKeyId = ptr.String(jtv) } - case "AccountId": if value != nil { jtv, ok := value.(string) @@ -38850,7 +37197,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.AccountId = ptr.String(jtv) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -38859,7 +37205,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.CreatedAt = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -38868,7 +37213,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalName": if value != nil { jtv, ok := value.(string) @@ -38877,7 +37221,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalName = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -38886,12 +37229,10 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalType = ptr.String(jtv) } - case "SessionContext": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContext(&sv.SessionContext, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -38900,7 +37241,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.Status = types.AwsIamAccessKeyStatus(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -38909,7 +37249,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -38945,12 +37284,10 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContext(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(&sv.Attributes, value); err != nil { return err } - case "SessionIssuer": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer(&sv.SessionIssuer, value); err != nil { return err } - default: _, _ = key, value @@ -38990,7 +37327,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(v * } sv.CreationDate = ptr.String(jtv) } - case "MfaAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -38999,7 +37335,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(v * } sv.MfaAuthenticated = ptr.Bool(jtv) } - default: _, _ = key, value @@ -39039,7 +37374,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.AccountId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -39048,7 +37382,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.Arn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -39057,7 +37390,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.PrincipalId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -39066,7 +37398,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.Type = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -39075,7 +37406,6 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -39115,7 +37445,6 @@ func awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicy(v **types.AwsIa } sv.PolicyArn = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -39124,7 +37453,6 @@ func awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicy(v **types.AwsIa } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -39194,7 +37522,6 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -39203,7 +37530,6 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.CreateDate = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -39212,7 +37538,6 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.GroupId = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -39221,12 +37546,10 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.GroupName = ptr.String(jtv) } - case "GroupPolicyList": if err := awsRestjson1_deserializeDocumentAwsIamGroupPolicyList(&sv.GroupPolicyList, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -39235,7 +37558,6 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -39275,7 +37597,6 @@ func awsRestjson1_deserializeDocumentAwsIamGroupPolicy(v **types.AwsIamGroupPoli } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -39349,7 +37670,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.Arn = ptr.String(jtv) } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -39358,7 +37678,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.CreateDate = ptr.String(jtv) } - case "InstanceProfileId": if value != nil { jtv, ok := value.(string) @@ -39367,7 +37686,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.InstanceProfileId = ptr.String(jtv) } - case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -39376,7 +37694,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.InstanceProfileName = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -39385,12 +37702,10 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.Path = ptr.String(jtv) } - case "Roles": if err := awsRestjson1_deserializeDocumentAwsIamInstanceProfileRoles(&sv.Roles, value); err != nil { return err } - default: _, _ = key, value @@ -39464,7 +37779,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.Arn = ptr.String(jtv) } - case "AssumeRolePolicyDocument": if value != nil { jtv, ok := value.(string) @@ -39473,7 +37787,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.AssumeRolePolicyDocument = ptr.String(jtv) } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -39482,7 +37795,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.CreateDate = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -39491,7 +37803,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.Path = ptr.String(jtv) } - case "RoleId": if value != nil { jtv, ok := value.(string) @@ -39500,7 +37811,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.RoleId = ptr.String(jtv) } - case "RoleName": if value != nil { jtv, ok := value.(string) @@ -39509,7 +37819,6 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.RoleName = ptr.String(jtv) } - default: _, _ = key, value @@ -39583,7 +37892,6 @@ func awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(v **types.AwsIamP } sv.PermissionsBoundaryArn = ptr.String(jtv) } - case "PermissionsBoundaryType": if value != nil { jtv, ok := value.(string) @@ -39592,7 +37900,6 @@ func awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(v **types.AwsIamP } sv.PermissionsBoundaryType = ptr.String(jtv) } - default: _, _ = key, value @@ -39636,7 +37943,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.AttachmentCount = ptr.Int32(int32(i64)) } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -39645,7 +37951,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.CreateDate = ptr.String(jtv) } - case "DefaultVersionId": if value != nil { jtv, ok := value.(string) @@ -39654,7 +37959,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.DefaultVersionId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -39663,7 +37967,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.Description = ptr.String(jtv) } - case "IsAttachable": if value != nil { jtv, ok := value.(bool) @@ -39672,7 +37975,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.IsAttachable = ptr.Bool(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -39681,7 +37983,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.Path = ptr.String(jtv) } - case "PermissionsBoundaryUsageCount": if value != nil { jtv, ok := value.(json.Number) @@ -39694,7 +37995,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PermissionsBoundaryUsageCount = ptr.Int32(int32(i64)) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -39703,7 +38003,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PolicyId = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -39712,12 +38011,10 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PolicyName = ptr.String(jtv) } - case "PolicyVersionList": if err := awsRestjson1_deserializeDocumentAwsIamPolicyVersionList(&sv.PolicyVersionList, value); err != nil { return err } - case "UpdateDate": if value != nil { jtv, ok := value.(string) @@ -39726,7 +38023,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.UpdateDate = ptr.String(jtv) } - default: _, _ = key, value @@ -39766,7 +38062,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.CreateDate = ptr.String(jtv) } - case "IsDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -39775,7 +38070,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.IsDefaultVersion = ptr.Bool(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -39784,7 +38078,6 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -39858,12 +38151,10 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.AssumeRolePolicyDocument = ptr.String(jtv) } - case "AttachedManagedPolicies": if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -39872,12 +38163,10 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.CreateDate = ptr.String(jtv) } - case "InstanceProfileList": if err := awsRestjson1_deserializeDocumentAwsIamInstanceProfileList(&sv.InstanceProfileList, value); err != nil { return err } - case "MaxSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -39890,7 +38179,6 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.MaxSessionDuration = ptr.Int32(int32(i64)) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -39899,12 +38187,10 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.Path = ptr.String(jtv) } - case "PermissionsBoundary": if err := awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } - case "RoleId": if value != nil { jtv, ok := value.(string) @@ -39913,7 +38199,6 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.RoleId = ptr.String(jtv) } - case "RoleName": if value != nil { jtv, ok := value.(string) @@ -39922,12 +38207,10 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.RoleName = ptr.String(jtv) } - case "RolePolicyList": if err := awsRestjson1_deserializeDocumentAwsIamRolePolicyList(&sv.RolePolicyList, value); err != nil { return err } - default: _, _ = key, value @@ -39967,7 +38250,6 @@ func awsRestjson1_deserializeDocumentAwsIamRolePolicy(v **types.AwsIamRolePolicy } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -40037,7 +38319,6 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } - case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -40046,12 +38327,10 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.CreateDate = ptr.String(jtv) } - case "GroupList": if err := awsRestjson1_deserializeDocumentStringList(&sv.GroupList, value); err != nil { return err } - case "Path": if value != nil { jtv, ok := value.(string) @@ -40060,12 +38339,10 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.Path = ptr.String(jtv) } - case "PermissionsBoundary": if err := awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -40074,7 +38351,6 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.UserId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -40083,12 +38359,10 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.UserName = ptr.String(jtv) } - case "UserPolicyList": if err := awsRestjson1_deserializeDocumentAwsIamUserPolicyList(&sv.UserPolicyList, value); err != nil { return err } - default: _, _ = key, value @@ -40128,7 +38402,6 @@ func awsRestjson1_deserializeDocumentAwsIamUserPolicy(v **types.AwsIamUserPolicy } sv.PolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -40202,7 +38475,6 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -40211,7 +38483,6 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.Name = ptr.String(jtv) } - case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -40224,7 +38495,6 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } - case "ShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -40237,12 +38507,10 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.ShardCount = ptr.Int32(int32(i64)) } - case "StreamEncryption": if err := awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(&sv.StreamEncryption, value); err != nil { return err } - default: _, _ = key, value @@ -40282,7 +38550,6 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(v * } sv.EncryptionType = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -40291,7 +38558,6 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(v * } sv.KeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -40331,7 +38597,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.AWSAccountId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -40365,7 +38630,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -40374,7 +38638,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.Description = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -40383,7 +38646,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyId = ptr.String(jtv) } - case "KeyManager": if value != nil { jtv, ok := value.(string) @@ -40392,7 +38654,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyManager = ptr.String(jtv) } - case "KeyRotationStatus": if value != nil { jtv, ok := value.(bool) @@ -40401,7 +38662,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyRotationStatus = ptr.Bool(jtv) } - case "KeyState": if value != nil { jtv, ok := value.(string) @@ -40410,7 +38670,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyState = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -40419,7 +38678,6 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.Origin = ptr.String(jtv) } - default: _, _ = key, value @@ -40459,7 +38717,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3Bucket = ptr.String(jtv) } - case "S3Key": if value != nil { jtv, ok := value.(string) @@ -40468,7 +38725,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3Key = ptr.String(jtv) } - case "S3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -40477,7 +38733,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3ObjectVersion = ptr.String(jtv) } - case "ZipFile": if value != nil { jtv, ok := value.(string) @@ -40486,7 +38741,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.ZipFile = ptr.String(jtv) } - default: _, _ = key, value @@ -40526,7 +38780,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDeadLetterConfig(v **types } sv.TargetArn = ptr.String(jtv) } - default: _, _ = key, value @@ -40562,12 +38815,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Architectures, value); err != nil { return err } - case "Code": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(&sv.Code, value); err != nil { return err } - case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -40576,17 +38827,14 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.CodeSha256 = ptr.String(jtv) } - case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } - case "Environment": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironment(&sv.Environment, value); err != nil { return err } - case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -40595,7 +38843,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.FunctionName = ptr.String(jtv) } - case "Handler": if value != nil { jtv, ok := value.(string) @@ -40604,7 +38851,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Handler = ptr.String(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -40613,7 +38859,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.KmsKeyArn = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -40622,12 +38867,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.LastModified = ptr.String(jtv) } - case "Layers": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionLayerList(&sv.Layers, value); err != nil { return err } - case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -40636,7 +38879,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.MasterArn = ptr.String(jtv) } - case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -40649,7 +38891,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.MemorySize = ptr.Int32(int32(i64)) } - case "PackageType": if value != nil { jtv, ok := value.(string) @@ -40658,7 +38899,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.PackageType = ptr.String(jtv) } - case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -40667,7 +38907,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.RevisionId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -40676,7 +38915,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Role = ptr.String(jtv) } - case "Runtime": if value != nil { jtv, ok := value.(string) @@ -40685,7 +38923,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Runtime = ptr.String(jtv) } - case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -40698,12 +38935,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Timeout = ptr.Int32(int32(i64)) } - case "TracingConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionTracingConfig(&sv.TracingConfig, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(string) @@ -40712,12 +38947,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Version = ptr.String(jtv) } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -40753,12 +38986,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironment(v **types.AwsL if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(&sv.Error, value); err != nil { return err } - case "Variables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -40798,7 +39029,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(v **types } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -40807,7 +39037,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -40847,7 +39076,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionLayer(v **types.AwsLambdaF } sv.Arn = ptr.String(jtv) } - case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -40860,7 +39088,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionLayer(v **types.AwsLambdaF } sv.CodeSize = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -40934,7 +39161,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionTracingConfig(v **types.Aw } sv.Mode = ptr.String(jtv) } - default: _, _ = key, value @@ -40970,12 +39196,10 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(v **types.AwsLam if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -40984,7 +39208,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(v **types.AwsLam } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -41020,7 +39243,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CompatibleRuntimes, value); err != nil { return err } - case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -41029,7 +39251,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL } sv.CreatedDate = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -41042,7 +39263,6 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL } sv.Version = ptr.Int64(i64) } - default: _, _ = key, value @@ -41082,7 +39302,6 @@ func awsRestjson1_deserializeDocumentAwsMountPoint(v **types.AwsMountPoint, valu } sv.ContainerPath = ptr.String(jtv) } - case "SourceVolume": if value != nil { jtv, ok := value.(string) @@ -41091,7 +39310,6 @@ func awsRestjson1_deserializeDocumentAwsMountPoint(v **types.AwsMountPoint, valu } sv.SourceVolume = ptr.String(jtv) } - default: _, _ = key, value @@ -41161,17 +39379,14 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslDetails(&sv.Sasl, value); err != nil { return err } - case "Tls": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationTlsDetails(&sv.Tls, value); err != nil { return err } - case "Unauthenticated": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails(&sv.Unauthenticated, value); err != nil { return err } - default: _, _ = key, value @@ -41207,12 +39422,10 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslIamDetails(&sv.Iam, value); err != nil { return err } - case "Scram": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslScramDetails(&sv.Scram, value); err != nil { return err } - default: _, _ = key, value @@ -41252,7 +39465,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -41292,7 +39504,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -41328,7 +39539,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentStringList(&sv.CertificateAuthorityArnList, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -41337,7 +39547,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -41377,7 +39586,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -41413,7 +39621,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationDetails(&sv.ClientAuthentication, value); err != nil { return err } - case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -41422,7 +39629,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.ClusterName = ptr.String(jtv) } - case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -41431,12 +39637,10 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.CurrentVersion = ptr.String(jtv) } - case "EncryptionInfo": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoDetails(&sv.EncryptionInfo, value); err != nil { return err } - case "EnhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -41445,7 +39649,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.EnhancedMonitoring = ptr.String(jtv) } - case "NumberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -41458,7 +39661,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -41494,12 +39696,10 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoDetai if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails(&sv.EncryptionAtRest, value); err != nil { return err } - case "EncryptionInTransit": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncryptionInTransitDetails(&sv.EncryptionInTransit, value); err != nil { return err } - default: _, _ = key, value @@ -41539,7 +39739,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.DataVolumeKMSKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -41579,7 +39778,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.ClientBroker = ptr.String(jtv) } - case "InCluster": if value != nil { jtv, ok := value.(bool) @@ -41588,7 +39786,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.InCluster = ptr.Bool(jtv) } - default: _, _ = key, value @@ -41624,7 +39821,6 @@ func awsRestjson1_deserializeDocumentAwsMskClusterDetails(v **types.AwsMskCluste if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(&sv.ClusterInfo, value); err != nil { return err } - default: _, _ = key, value @@ -41664,7 +39860,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.DeleteProtection = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -41673,7 +39868,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.Description = ptr.String(jtv) } - case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -41682,7 +39876,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallArn = ptr.String(jtv) } - case "FirewallId": if value != nil { jtv, ok := value.(string) @@ -41691,7 +39884,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallId = ptr.String(jtv) } - case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -41700,7 +39892,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallName = ptr.String(jtv) } - case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -41709,7 +39900,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallPolicyArn = ptr.String(jtv) } - case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -41718,7 +39908,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallPolicyChangeProtection = ptr.Bool(jtv) } - case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -41727,12 +39916,10 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.SubnetChangeProtection = ptr.Bool(jtv) } - case "SubnetMappings": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallSubnetMappingsList(&sv.SubnetMappings, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -41741,7 +39928,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -41781,12 +39967,10 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.Description = ptr.String(jtv) } - case "FirewallPolicy": if err := awsRestjson1_deserializeDocumentFirewallPolicyDetails(&sv.FirewallPolicy, value); err != nil { return err } - case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -41795,7 +39979,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyArn = ptr.String(jtv) } - case "FirewallPolicyId": if value != nil { jtv, ok := value.(string) @@ -41804,7 +39987,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyId = ptr.String(jtv) } - case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -41813,7 +39995,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyName = ptr.String(jtv) } - default: _, _ = key, value @@ -41853,7 +40034,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallSubnetMappingsDet } sv.SubnetId = ptr.String(jtv) } - default: _, _ = key, value @@ -41931,7 +40111,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Capacity = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -41940,12 +40119,10 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Description = ptr.String(jtv) } - case "RuleGroup": if err := awsRestjson1_deserializeDocumentRuleGroupDetails(&sv.RuleGroup, value); err != nil { return err } - case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -41954,7 +40131,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupArn = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -41963,7 +40139,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupId = ptr.String(jtv) } - case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -41972,7 +40147,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -41981,7 +40155,6 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -42021,7 +40194,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO } sv.Enabled = ptr.Bool(jtv) } - case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -42030,12 +40202,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } - case "MasterUserOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptionsDetails(&sv.MasterUserOptions, value); err != nil { return err } - default: _, _ = key, value @@ -42079,7 +40249,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } - case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -42088,7 +40257,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } - case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -42097,7 +40265,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterType = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -42110,7 +40277,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -42119,7 +40285,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.InstanceType = ptr.String(jtv) } - case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -42132,7 +40297,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmCount = ptr.Int32(int32(i64)) } - case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -42141,7 +40305,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmEnabled = ptr.Bool(jtv) } - case "WarmType": if value != nil { jtv, ok := value.(string) @@ -42150,12 +40313,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmType = ptr.String(jtv) } - case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails(&sv.ZoneAwarenessConfig, value); err != nil { return err } - case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -42164,7 +40325,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -42208,7 +40368,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigZone } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -42248,12 +40407,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.AccessPolicies = ptr.String(jtv) } - case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(&sv.AdvancedSecurityOptions, value); err != nil { return err } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -42262,12 +40419,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.Arn = ptr.String(jtv) } - case "ClusterConfig": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDetails(&sv.ClusterConfig, value); err != nil { return err } - case "DomainEndpoint": if value != nil { jtv, ok := value.(string) @@ -42276,17 +40431,14 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.DomainEndpoint = ptr.String(jtv) } - case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOptionsDetails(&sv.DomainEndpointOptions, value); err != nil { return err } - case "DomainEndpoints": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DomainEndpoints, value); err != nil { return err } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -42295,12 +40447,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.DomainName = ptr.String(jtv) } - case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails(&sv.EncryptionAtRestOptions, value); err != nil { return err } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -42309,7 +40459,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.EngineVersion = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -42318,27 +40467,22 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.Id = ptr.String(jtv) } - case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOptionsDetails(&sv.LogPublishingOptions, value); err != nil { return err } - case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } - case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOptionsDetails(&sv.ServiceSoftwareOptions, value); err != nil { return err } - case "VpcOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainVpcOptionsDetails(&sv.VpcOptions, value); err != nil { return err } - default: _, _ = key, value @@ -42378,7 +40522,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpoint = ptr.String(jtv) } - case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -42387,7 +40530,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpointCertificateArn = ptr.String(jtv) } - case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -42396,7 +40538,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpointEnabled = ptr.Bool(jtv) } - case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -42405,7 +40546,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.EnforceHTTPS = ptr.Bool(jtv) } - case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -42414,7 +40554,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.TLSSecurityPolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -42454,7 +40593,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestO } sv.Enabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -42463,7 +40601,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestO } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -42503,7 +40640,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -42512,7 +40648,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -42548,17 +40683,14 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.AuditLogs, value); err != nil { return err } - case "IndexSlowLogs": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.IndexSlowLogs, value); err != nil { return err } - case "SearchSlowLogs": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.SearchSlowLogs, value); err != nil { return err } - default: _, _ = key, value @@ -42598,7 +40730,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserArn = ptr.String(jtv) } - case "MasterUserName": if value != nil { jtv, ok := value.(string) @@ -42607,7 +40738,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserName = ptr.String(jtv) } - case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -42616,7 +40746,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserPassword = ptr.String(jtv) } - default: _, _ = key, value @@ -42656,7 +40785,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncrypt } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -42696,7 +40824,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.AutomatedUpdateDate = ptr.String(jtv) } - case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -42705,7 +40832,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.Cancellable = ptr.Bool(jtv) } - case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -42714,7 +40840,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.CurrentVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -42723,7 +40848,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.Description = ptr.String(jtv) } - case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -42732,7 +40856,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.NewVersion = ptr.String(jtv) } - case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -42741,7 +40864,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.OptionalDeployment = ptr.Bool(jtv) } - case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -42750,7 +40872,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.UpdateAvailable = ptr.Bool(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -42759,7 +40880,6 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.UpdateStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -42795,12 +40915,10 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainVpcOptionsDetails if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -42840,7 +40958,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRole(v **types.Aws } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -42849,7 +40966,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRole(v **types.Aws } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -42923,7 +41039,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ActivityStreamStatus = ptr.String(jtv) } - case "AllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -42936,12 +41051,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "AssociatedRoles": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRoles(&sv.AssociatedRoles, value); err != nil { return err } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -42950,12 +41063,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -42968,7 +41079,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } - case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -42977,7 +41087,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ClusterCreateTime = ptr.String(jtv) } - case "CopyTagsToSnapshot": if value != nil { jtv, ok := value.(bool) @@ -42986,7 +41095,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.CopyTagsToSnapshot = ptr.Bool(jtv) } - case "CrossAccountClone": if value != nil { jtv, ok := value.(bool) @@ -42995,12 +41103,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.CrossAccountClone = ptr.Bool(jtv) } - case "CustomEndpoints": if err := awsRestjson1_deserializeDocumentStringList(&sv.CustomEndpoints, value); err != nil { return err } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -43009,7 +41115,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DatabaseName = ptr.String(jtv) } - case "DbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -43018,17 +41123,14 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterIdentifier = ptr.String(jtv) } - case "DbClusterMembers": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterMembers(&sv.DbClusterMembers, value); err != nil { return err } - case "DbClusterOptionGroupMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMemberships(&sv.DbClusterOptionGroupMemberships, value); err != nil { return err } - case "DbClusterParameterGroup": if value != nil { jtv, ok := value.(string) @@ -43037,7 +41139,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterParameterGroup = ptr.String(jtv) } - case "DbClusterResourceId": if value != nil { jtv, ok := value.(string) @@ -43046,7 +41147,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterResourceId = ptr.String(jtv) } - case "DbSubnetGroup": if value != nil { jtv, ok := value.(string) @@ -43055,7 +41155,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbSubnetGroup = ptr.String(jtv) } - case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -43064,17 +41163,14 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DeletionProtection = ptr.Bool(jtv) } - case "DomainMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbDomainMemberships(&sv.DomainMemberships, value); err != nil { return err } - case "EnabledCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentStringList(&sv.EnabledCloudWatchLogsExports, value); err != nil { return err } - case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -43083,7 +41179,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Endpoint = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -43092,7 +41187,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Engine = ptr.String(jtv) } - case "EngineMode": if value != nil { jtv, ok := value.(string) @@ -43101,7 +41195,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.EngineMode = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -43110,7 +41203,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.EngineVersion = ptr.String(jtv) } - case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -43119,7 +41211,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.HostedZoneId = ptr.String(jtv) } - case "HttpEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -43128,7 +41219,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.HttpEndpointEnabled = ptr.Bool(jtv) } - case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -43137,7 +41227,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -43146,7 +41235,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.KmsKeyId = ptr.String(jtv) } - case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -43155,7 +41243,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.MasterUsername = ptr.String(jtv) } - case "MultiAz": if value != nil { jtv, ok := value.(bool) @@ -43164,7 +41251,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.MultiAz = ptr.Bool(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43177,7 +41263,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Port = ptr.Int32(int32(i64)) } - case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -43186,7 +41271,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.PreferredBackupWindow = ptr.String(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -43195,7 +41279,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "ReaderEndpoint": if value != nil { jtv, ok := value.(string) @@ -43204,12 +41287,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ReaderEndpoint = ptr.String(jtv) } - case "ReadReplicaIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaIdentifiers, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -43218,7 +41299,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Status = ptr.String(jtv) } - case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -43227,12 +41307,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.StorageEncrypted = ptr.Bool(jtv) } - case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -43272,7 +41350,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.DbClusterParameterGroupStatus = ptr.String(jtv) } - case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -43281,7 +41358,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.DbInstanceIdentifier = ptr.String(jtv) } - case "IsClusterWriter": if value != nil { jtv, ok := value.(bool) @@ -43290,7 +41366,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.IsClusterWriter = ptr.Bool(jtv) } - case "PromotionTier": if value != nil { jtv, ok := value.(json.Number) @@ -43303,7 +41378,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.PromotionTier = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -43377,7 +41451,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMembership(v **ty } sv.DbClusterOptionGroupName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -43386,7 +41459,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMembership(v **ty } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -43460,12 +41532,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDbClusterSnapshotAtt } sv.AttributeName = ptr.String(jtv) } - case "AttributeValues": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AttributeValues, value); err != nil { return err } - default: _, _ = key, value @@ -43543,12 +41613,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } - case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -43557,7 +41625,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.ClusterCreateTime = ptr.String(jtv) } - case "DbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -43566,12 +41633,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.DbClusterIdentifier = ptr.String(jtv) } - case "DbClusterSnapshotAttributes": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDbClusterSnapshotAttributes(&sv.DbClusterSnapshotAttributes, value); err != nil { return err } - case "DbClusterSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -43580,7 +41645,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.DbClusterSnapshotIdentifier = ptr.String(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -43589,7 +41653,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Engine = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -43598,7 +41661,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.EngineVersion = ptr.String(jtv) } - case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -43607,7 +41669,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -43616,7 +41677,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.KmsKeyId = ptr.String(jtv) } - case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -43625,7 +41685,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.LicenseModel = ptr.String(jtv) } - case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -43634,7 +41693,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.MasterUsername = ptr.String(jtv) } - case "PercentProgress": if value != nil { jtv, ok := value.(json.Number) @@ -43647,7 +41705,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.PercentProgress = ptr.Int32(int32(i64)) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43660,7 +41717,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Port = ptr.Int32(int32(i64)) } - case "SnapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -43669,7 +41725,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.SnapshotCreateTime = ptr.String(jtv) } - case "SnapshotType": if value != nil { jtv, ok := value.(string) @@ -43678,7 +41733,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.SnapshotType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -43687,7 +41741,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Status = ptr.String(jtv) } - case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -43696,7 +41749,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.StorageEncrypted = ptr.Bool(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -43705,7 +41757,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -43745,7 +41796,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Domain = ptr.String(jtv) } - case "Fqdn": if value != nil { jtv, ok := value.(string) @@ -43754,7 +41804,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Fqdn = ptr.String(jtv) } - case "IamRoleName": if value != nil { jtv, ok := value.(string) @@ -43763,7 +41812,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.IamRoleName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -43772,7 +41820,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -43846,7 +41893,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.FeatureName = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -43855,7 +41901,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.RoleArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -43864,7 +41909,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -43942,12 +41986,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "AssociatedRoles": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRoles(&sv.AssociatedRoles, value); err != nil { return err } - case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -43956,7 +41998,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -43965,7 +42006,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AvailabilityZone = ptr.String(jtv) } - case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -43978,7 +42018,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } - case "CACertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -43987,7 +42026,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CACertificateIdentifier = ptr.String(jtv) } - case "CharacterSetName": if value != nil { jtv, ok := value.(string) @@ -43996,7 +42034,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CharacterSetName = ptr.String(jtv) } - case "CopyTagsToSnapshot": if value != nil { jtv, ok := value.(bool) @@ -44005,7 +42042,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CopyTagsToSnapshot = ptr.Bool(jtv) } - case "DBClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -44014,7 +42050,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBClusterIdentifier = ptr.String(jtv) } - case "DBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -44023,7 +42058,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBInstanceClass = ptr.String(jtv) } - case "DBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -44032,7 +42066,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBInstanceIdentifier = ptr.String(jtv) } - case "DbInstancePort": if value != nil { jtv, ok := value.(json.Number) @@ -44045,7 +42078,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbInstancePort = ptr.Int32(int32(i64)) } - case "DbInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -44054,7 +42086,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbInstanceStatus = ptr.String(jtv) } - case "DbiResourceId": if value != nil { jtv, ok := value.(string) @@ -44063,7 +42094,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbiResourceId = ptr.String(jtv) } - case "DBName": if value != nil { jtv, ok := value.(string) @@ -44072,22 +42102,18 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBName = ptr.String(jtv) } - case "DbParameterGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbParameterGroups(&sv.DbParameterGroups, value); err != nil { return err } - case "DbSecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.DbSecurityGroups, value); err != nil { return err } - case "DbSubnetGroup": if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(&sv.DbSubnetGroup, value); err != nil { return err } - case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -44096,22 +42122,18 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DeletionProtection = ptr.Bool(jtv) } - case "DomainMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbDomainMemberships(&sv.DomainMemberships, value); err != nil { return err } - case "EnabledCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentStringList(&sv.EnabledCloudWatchLogsExports, value); err != nil { return err } - case "Endpoint": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(&sv.Endpoint, value); err != nil { return err } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -44120,7 +42142,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Engine = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -44129,7 +42150,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.EngineVersion = ptr.String(jtv) } - case "EnhancedMonitoringResourceArn": if value != nil { jtv, ok := value.(string) @@ -44138,7 +42158,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.EnhancedMonitoringResourceArn = ptr.String(jtv) } - case "IAMDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -44147,7 +42166,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(jtv) } - case "InstanceCreateTime": if value != nil { jtv, ok := value.(string) @@ -44156,7 +42174,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.InstanceCreateTime = ptr.String(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -44169,7 +42186,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Iops = ptr.Int32(int32(i64)) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -44178,7 +42194,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.KmsKeyId = ptr.String(jtv) } - case "LatestRestorableTime": if value != nil { jtv, ok := value.(string) @@ -44187,7 +42202,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.LatestRestorableTime = ptr.String(jtv) } - case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -44196,12 +42210,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.LicenseModel = ptr.String(jtv) } - case "ListenerEndpoint": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(&sv.ListenerEndpoint, value); err != nil { return err } - case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -44210,7 +42222,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MasterUsername = ptr.String(jtv) } - case "MaxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -44223,7 +42234,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MaxAllocatedStorage = ptr.Int32(int32(i64)) } - case "MonitoringInterval": if value != nil { jtv, ok := value.(json.Number) @@ -44236,7 +42246,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MonitoringInterval = ptr.Int32(int32(i64)) } - case "MonitoringRoleArn": if value != nil { jtv, ok := value.(string) @@ -44245,7 +42254,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MonitoringRoleArn = ptr.String(jtv) } - case "MultiAz": if value != nil { jtv, ok := value.(bool) @@ -44254,17 +42262,14 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MultiAz = ptr.Bool(jtv) } - case "OptionGroupMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMemberships(&sv.OptionGroupMemberships, value); err != nil { return err } - case "PendingModifiedValues": if err := awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } - case "PerformanceInsightsEnabled": if value != nil { jtv, ok := value.(bool) @@ -44273,7 +42278,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsEnabled = ptr.Bool(jtv) } - case "PerformanceInsightsKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -44282,7 +42286,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsKmsKeyId = ptr.String(jtv) } - case "PerformanceInsightsRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44295,7 +42298,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsRetentionPeriod = ptr.Int32(int32(i64)) } - case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -44304,7 +42306,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PreferredBackupWindow = ptr.String(jtv) } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -44313,12 +42314,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } - case "PromotionTier": if value != nil { jtv, ok := value.(json.Number) @@ -44331,7 +42330,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PromotionTier = ptr.Int32(int32(i64)) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -44340,17 +42338,14 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "ReadReplicaDBClusterIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaDBClusterIdentifiers, value); err != nil { return err } - case "ReadReplicaDBInstanceIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaDBInstanceIdentifiers, value); err != nil { return err } - case "ReadReplicaSourceDBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -44359,7 +42354,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.ReadReplicaSourceDBInstanceIdentifier = ptr.String(jtv) } - case "SecondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -44368,12 +42362,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "StatusInfos": if err := awsRestjson1_deserializeDocumentAwsRdsDbStatusInfos(&sv.StatusInfos, value); err != nil { return err } - case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -44382,7 +42374,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.StorageEncrypted = ptr.Bool(jtv) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -44391,7 +42382,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.StorageType = ptr.String(jtv) } - case "TdeCredentialArn": if value != nil { jtv, ok := value.(string) @@ -44400,7 +42390,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.TdeCredentialArn = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -44409,12 +42398,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Timezone = ptr.String(jtv) } - case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -44454,7 +42441,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.Address = ptr.String(jtv) } - case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -44463,7 +42449,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.HostedZoneId = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -44476,7 +42461,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -44516,7 +42500,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroup(v **types. } sv.Status = ptr.String(jtv) } - case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -44525,7 +42508,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroup(v **types. } sv.VpcSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -44599,7 +42581,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMembership(v **types.Aws } sv.OptionGroupName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -44608,7 +42589,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMembership(v **types.Aws } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -44682,7 +42662,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbParameterGroup(v **types.AwsRdsDbPa } sv.DbParameterGroupName = ptr.String(jtv) } - case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -44691,7 +42670,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbParameterGroup(v **types.AwsRdsDbPa } sv.ParameterApplyStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -44769,7 +42747,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44782,7 +42759,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } - case "CaCertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -44791,7 +42767,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.CaCertificateIdentifier = ptr.String(jtv) } - case "DbInstanceClass": if value != nil { jtv, ok := value.(string) @@ -44800,7 +42775,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbInstanceClass = ptr.String(jtv) } - case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -44809,7 +42783,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbInstanceIdentifier = ptr.String(jtv) } - case "DbSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -44818,7 +42791,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbSubnetGroupName = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -44827,7 +42799,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.EngineVersion = ptr.String(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -44840,7 +42811,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.Iops = ptr.Int32(int32(i64)) } - case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -44849,7 +42819,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.LicenseModel = ptr.String(jtv) } - case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -44858,7 +42827,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.MasterUserPassword = ptr.String(jtv) } - case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -44867,12 +42835,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.MultiAZ = ptr.Bool(jtv) } - case "PendingCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentAwsRdsPendingCloudWatchLogsExports(&sv.PendingCloudWatchLogsExports, value); err != nil { return err } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -44885,12 +42851,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.Port = ptr.Int32(int32(i64)) } - case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -44899,7 +42863,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.StorageType = ptr.String(jtv) } - default: _, _ = key, value @@ -44939,7 +42902,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeature(v **types.AwsRdsDb } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -44948,7 +42910,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeature(v **types.AwsRdsDb } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -45022,7 +42983,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupArn = ptr.String(jtv) } - case "DbSecurityGroupDescription": if value != nil { jtv, ok := value.(string) @@ -45031,7 +42991,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupDescription = ptr.String(jtv) } - case "DbSecurityGroupName": if value != nil { jtv, ok := value.(string) @@ -45040,17 +42999,14 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupName = ptr.String(jtv) } - case "Ec2SecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroups(&sv.Ec2SecurityGroups, value); err != nil { return err } - case "IpRanges": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRanges(&sv.IpRanges, value); err != nil { return err } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -45059,7 +43015,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.OwnerId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -45068,7 +43023,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -45108,7 +43062,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupId = ptr.String(jtv) } - case "Ec2SecurityGroupName": if value != nil { jtv, ok := value.(string) @@ -45117,7 +43070,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupName = ptr.String(jtv) } - case "Ec2SecurityGroupOwnerId": if value != nil { jtv, ok := value.(string) @@ -45126,7 +43078,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupOwnerId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45135,7 +43086,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -45209,7 +43159,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRange(v **types.AwsR } sv.CidrIp = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45218,7 +43167,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRange(v **types.AwsR } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -45296,7 +43244,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -45305,7 +43252,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.AvailabilityZone = ptr.String(jtv) } - case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -45314,7 +43260,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbInstanceIdentifier = ptr.String(jtv) } - case "DbiResourceId": if value != nil { jtv, ok := value.(string) @@ -45323,7 +43268,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbiResourceId = ptr.String(jtv) } - case "DbSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -45332,7 +43276,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbSnapshotIdentifier = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -45341,7 +43284,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Encrypted = ptr.Bool(jtv) } - case "Engine": if value != nil { jtv, ok := value.(string) @@ -45350,7 +43292,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Engine = ptr.String(jtv) } - case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -45359,7 +43300,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.EngineVersion = ptr.String(jtv) } - case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -45368,7 +43308,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } - case "InstanceCreateTime": if value != nil { jtv, ok := value.(string) @@ -45377,7 +43316,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.InstanceCreateTime = ptr.String(jtv) } - case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -45390,7 +43328,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Iops = ptr.Int32(int32(i64)) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -45399,7 +43336,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.KmsKeyId = ptr.String(jtv) } - case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -45408,7 +43344,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.LicenseModel = ptr.String(jtv) } - case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -45417,7 +43352,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.MasterUsername = ptr.String(jtv) } - case "OptionGroupName": if value != nil { jtv, ok := value.(string) @@ -45426,7 +43360,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.OptionGroupName = ptr.String(jtv) } - case "PercentProgress": if value != nil { jtv, ok := value.(json.Number) @@ -45439,7 +43372,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.PercentProgress = ptr.Int32(int32(i64)) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -45452,12 +43384,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Port = ptr.Int32(int32(i64)) } - case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } - case "SnapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -45466,7 +43396,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SnapshotCreateTime = ptr.String(jtv) } - case "SnapshotType": if value != nil { jtv, ok := value.(string) @@ -45475,7 +43404,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SnapshotType = ptr.String(jtv) } - case "SourceDbSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -45484,7 +43412,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SourceDbSnapshotIdentifier = ptr.String(jtv) } - case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -45493,7 +43420,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SourceRegion = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45502,7 +43428,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Status = ptr.String(jtv) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -45511,7 +43436,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.StorageType = ptr.String(jtv) } - case "TdeCredentialArn": if value != nil { jtv, ok := value.(string) @@ -45520,7 +43444,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.TdeCredentialArn = ptr.String(jtv) } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -45529,7 +43452,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Timezone = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -45538,7 +43460,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -45578,7 +43499,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Message = ptr.String(jtv) } - case "Normal": if value != nil { jtv, ok := value.(bool) @@ -45587,7 +43507,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Normal = ptr.Bool(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45596,7 +43515,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Status = ptr.String(jtv) } - case "StatusType": if value != nil { jtv, ok := value.(string) @@ -45605,7 +43523,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.StatusType = ptr.String(jtv) } - default: _, _ = key, value @@ -45679,7 +43596,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupArn = ptr.String(jtv) } - case "DbSubnetGroupDescription": if value != nil { jtv, ok := value.(string) @@ -45688,7 +43604,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupDescription = ptr.String(jtv) } - case "DbSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -45697,7 +43612,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupName = ptr.String(jtv) } - case "SubnetGroupStatus": if value != nil { jtv, ok := value.(string) @@ -45706,12 +43620,10 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.SubnetGroupStatus = ptr.String(jtv) } - case "Subnets": if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnets(&sv.Subnets, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -45720,7 +43632,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -45756,7 +43667,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnetAvailabilityZone(&sv.SubnetAvailabilityZone, value); err != nil { return err } - case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -45765,7 +43675,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD } sv.SubnetIdentifier = ptr.String(jtv) } - case "SubnetStatus": if value != nil { jtv, ok := value.(string) @@ -45774,7 +43683,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD } sv.SubnetStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -45814,7 +43722,6 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnetAvailabilityZone(v } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -45888,7 +43795,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.CustomerAwsId = ptr.String(jtv) } - case "CustSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -45897,7 +43803,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.CustSubscriptionId = ptr.String(jtv) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -45906,12 +43811,10 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.Enabled = ptr.Bool(jtv) } - case "EventCategoriesList": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.EventCategoriesList, value); err != nil { return err } - case "EventSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -45920,7 +43823,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.EventSubscriptionArn = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -45929,12 +43831,10 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SnsTopicArn = ptr.String(jtv) } - case "SourceIdsList": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SourceIdsList, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -45943,7 +43843,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SourceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -45952,7 +43851,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.Status = ptr.String(jtv) } - case "SubscriptionCreationTime": if value != nil { jtv, ok := value.(string) @@ -45961,7 +43859,6 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SubscriptionCreationTime = ptr.String(jtv) } - default: _, _ = key, value @@ -45997,12 +43894,10 @@ func awsRestjson1_deserializeDocumentAwsRdsPendingCloudWatchLogsExports(v **type if err := awsRestjson1_deserializeDocumentStringList(&sv.LogTypesToDisable, value); err != nil { return err } - case "LogTypesToEnable": if err := awsRestjson1_deserializeDocumentStringList(&sv.LogTypesToEnable, value); err != nil { return err } - default: _, _ = key, value @@ -46042,7 +43937,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.NodeRole = ptr.String(jtv) } - case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -46051,7 +43945,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.PrivateIpAddress = ptr.String(jtv) } - case "PublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -46060,7 +43953,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.PublicIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -46130,7 +44022,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatusList(&sv.ClusterParameterStatusList, value); err != nil { return err } - case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -46139,7 +44030,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * } sv.ParameterApplyStatus = ptr.String(jtv) } - case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -46148,7 +44038,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * } sv.ParameterGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -46222,7 +44111,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterApplyErrorDescription = ptr.String(jtv) } - case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -46231,7 +44119,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterApplyStatus = ptr.String(jtv) } - case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -46240,7 +44127,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterName = ptr.String(jtv) } - default: _, _ = key, value @@ -46314,7 +44200,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroup(v ** } sv.ClusterSecurityGroupName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46323,7 +44208,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroup(v ** } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -46397,7 +44281,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.DestinationRegion = ptr.String(jtv) } - case "ManualSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -46410,7 +44293,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -46423,7 +44305,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.RetentionPeriod = ptr.Int32(int32(i64)) } - case "SnapshotCopyGrantName": if value != nil { jtv, ok := value.(string) @@ -46432,7 +44313,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.SnapshotCopyGrantName = ptr.String(jtv) } - default: _, _ = key, value @@ -46472,7 +44352,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceEndTime = ptr.String(jtv) } - case "DeferMaintenanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -46481,7 +44360,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceIdentifier = ptr.String(jtv) } - case "DeferMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -46490,7 +44368,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceStartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -46564,7 +44441,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AllowVersionUpgrade = ptr.Bool(jtv) } - case "AutomatedSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -46577,7 +44453,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -46586,7 +44461,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AvailabilityZone = ptr.String(jtv) } - case "ClusterAvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -46595,7 +44469,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterAvailabilityStatus = ptr.String(jtv) } - case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -46604,7 +44477,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterCreateTime = ptr.String(jtv) } - case "ClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -46613,17 +44485,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterIdentifier = ptr.String(jtv) } - case "ClusterNodes": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNodes(&sv.ClusterNodes, value); err != nil { return err } - case "ClusterParameterGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroups(&sv.ClusterParameterGroups, value); err != nil { return err } - case "ClusterPublicKey": if value != nil { jtv, ok := value.(string) @@ -46632,7 +44501,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterPublicKey = ptr.String(jtv) } - case "ClusterRevisionNumber": if value != nil { jtv, ok := value.(string) @@ -46641,17 +44509,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterRevisionNumber = ptr.String(jtv) } - case "ClusterSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroups(&sv.ClusterSecurityGroups, value); err != nil { return err } - case "ClusterSnapshotCopyStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus(&sv.ClusterSnapshotCopyStatus, value); err != nil { return err } - case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -46660,7 +44525,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterStatus = ptr.String(jtv) } - case "ClusterSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -46669,7 +44533,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterSubnetGroupName = ptr.String(jtv) } - case "ClusterVersion": if value != nil { jtv, ok := value.(string) @@ -46678,7 +44541,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterVersion = ptr.String(jtv) } - case "DBName": if value != nil { jtv, ok := value.(string) @@ -46687,17 +44549,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.DBName = ptr.String(jtv) } - case "DeferredMaintenanceWindows": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindows(&sv.DeferredMaintenanceWindows, value); err != nil { return err } - case "ElasticIpStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(&sv.ElasticIpStatus, value); err != nil { return err } - case "ElasticResizeNumberOfNodeOptions": if value != nil { jtv, ok := value.(string) @@ -46706,7 +44565,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ElasticResizeNumberOfNodeOptions = ptr.String(jtv) } - case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -46715,12 +44573,10 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.Encrypted = ptr.Bool(jtv) } - case "Endpoint": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(&sv.Endpoint, value); err != nil { return err } - case "EnhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -46729,7 +44585,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.EnhancedVpcRouting = ptr.Bool(jtv) } - case "ExpectedNextSnapshotScheduleTime": if value != nil { jtv, ok := value.(string) @@ -46738,7 +44593,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ExpectedNextSnapshotScheduleTime = ptr.String(jtv) } - case "ExpectedNextSnapshotScheduleTimeStatus": if value != nil { jtv, ok := value.(string) @@ -46747,17 +44601,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ExpectedNextSnapshotScheduleTimeStatus = ptr.String(jtv) } - case "HsmStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(&sv.HsmStatus, value); err != nil { return err } - case "IamRoles": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRoles(&sv.IamRoles, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -46766,12 +44617,10 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.KmsKeyId = ptr.String(jtv) } - case "LoggingStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(&sv.LoggingStatus, value); err != nil { return err } - case "MaintenanceTrackName": if value != nil { jtv, ok := value.(string) @@ -46780,7 +44629,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.MaintenanceTrackName = ptr.String(jtv) } - case "ManualSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -46793,7 +44641,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -46802,7 +44649,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.MasterUsername = ptr.String(jtv) } - case "NextMaintenanceWindowStartTime": if value != nil { jtv, ok := value.(string) @@ -46811,7 +44657,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NextMaintenanceWindowStartTime = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -46820,7 +44665,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NodeType = ptr.String(jtv) } - case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -46833,17 +44677,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NumberOfNodes = ptr.Int32(int32(i64)) } - case "PendingActions": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingActions, value); err != nil { return err } - case "PendingModifiedValues": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } - case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -46852,7 +44693,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.PreferredMaintenanceWindow = ptr.String(jtv) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -46861,17 +44701,14 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "ResizeInfo": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(&sv.ResizeInfo, value); err != nil { return err } - case "RestoreStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(&sv.RestoreStatus, value); err != nil { return err } - case "SnapshotScheduleIdentifier": if value != nil { jtv, ok := value.(string) @@ -46880,7 +44717,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.SnapshotScheduleIdentifier = ptr.String(jtv) } - case "SnapshotScheduleState": if value != nil { jtv, ok := value.(string) @@ -46889,7 +44725,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.SnapshotScheduleState = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -46898,12 +44733,10 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.VpcId = ptr.String(jtv) } - case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } - default: _, _ = key, value @@ -46943,7 +44776,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(v **types } sv.ElasticIp = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46952,7 +44784,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(v **types } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -46992,7 +44823,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(v **types.AwsRed } sv.Address = ptr.String(jtv) } - case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -47005,7 +44835,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(v **types.AwsRed } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -47045,7 +44874,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.HsmClientCertificateIdentifier = ptr.String(jtv) } - case "HsmConfigurationIdentifier": if value != nil { jtv, ok := value.(string) @@ -47054,7 +44882,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.HsmConfigurationIdentifier = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47063,7 +44890,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -47103,7 +44929,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRole(v **types.AwsReds } sv.ApplyStatus = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -47112,7 +44937,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRole(v **types.AwsReds } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -47186,7 +45010,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.BucketName = ptr.String(jtv) } - case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -47195,7 +45018,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastFailureMessage = ptr.String(jtv) } - case "LastFailureTime": if value != nil { jtv, ok := value.(string) @@ -47204,7 +45026,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastFailureTime = ptr.String(jtv) } - case "LastSuccessfulDeliveryTime": if value != nil { jtv, ok := value.(string) @@ -47213,7 +45034,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastSuccessfulDeliveryTime = ptr.String(jtv) } - case "LoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -47222,7 +45042,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LoggingEnabled = ptr.Bool(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -47231,7 +45050,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.S3KeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -47275,7 +45093,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } - case "ClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -47284,7 +45101,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterIdentifier = ptr.String(jtv) } - case "ClusterType": if value != nil { jtv, ok := value.(string) @@ -47293,7 +45109,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterType = ptr.String(jtv) } - case "ClusterVersion": if value != nil { jtv, ok := value.(string) @@ -47302,7 +45117,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterVersion = ptr.String(jtv) } - case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -47311,7 +45125,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.EncryptionType = ptr.String(jtv) } - case "EnhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -47320,7 +45133,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.EnhancedVpcRouting = ptr.Bool(jtv) } - case "MaintenanceTrackName": if value != nil { jtv, ok := value.(string) @@ -47329,7 +45141,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.MaintenanceTrackName = ptr.String(jtv) } - case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -47338,7 +45149,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.MasterUserPassword = ptr.String(jtv) } - case "NodeType": if value != nil { jtv, ok := value.(string) @@ -47347,7 +45157,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.NodeType = ptr.String(jtv) } - case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -47360,7 +45169,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.NumberOfNodes = ptr.Int32(int32(i64)) } - case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -47369,7 +45177,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.PubliclyAccessible = ptr.Bool(jtv) } - default: _, _ = key, value @@ -47409,7 +45216,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(v **types.AwsR } sv.AllowCancelResize = ptr.Bool(jtv) } - case "ResizeType": if value != nil { jtv, ok := value.(string) @@ -47418,7 +45224,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(v **types.AwsR } sv.ResizeType = ptr.String(jtv) } - default: _, _ = key, value @@ -47483,7 +45288,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } } - case "ElapsedTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -47496,7 +45300,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.ElapsedTimeInSeconds = ptr.Int64(i64) } - case "EstimatedTimeToCompletionInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -47509,7 +45312,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.EstimatedTimeToCompletionInSeconds = ptr.Int64(i64) } - case "ProgressInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -47522,7 +45324,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.ProgressInMegaBytes = ptr.Int64(i64) } - case "SnapshotSizeInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -47535,7 +45336,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.SnapshotSizeInMegaBytes = ptr.Int64(i64) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47544,7 +45344,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -47584,7 +45383,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroup(v **type } sv.Status = ptr.String(jtv) } - case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -47593,7 +45391,6 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroup(v **type } sv.VpcSecurityGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -47667,7 +45464,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneConfigDetails(v **types } sv.Comment = ptr.String(jtv) } - default: _, _ = key, value @@ -47703,22 +45499,18 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneDetails(v **types.AwsRo if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(&sv.HostedZone, value); err != nil { return err } - case "NameServers": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneNameServersList(&sv.NameServers, value); err != nil { return err } - case "QueryLoggingConfig": if err := awsRestjson1_deserializeDocumentAwsRoute53QueryLoggingConfigDetails(&sv.QueryLoggingConfig, value); err != nil { return err } - case "Vpcs": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcsList(&sv.Vpcs, value); err != nil { return err } - default: _, _ = key, value @@ -47790,7 +45582,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneConfigDetails(&sv.Config, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -47799,7 +45590,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47808,7 +45598,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -47848,7 +45637,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcDetails(v **types.Aw } sv.Id = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -47857,7 +45645,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcDetails(v **types.Aw } sv.Region = ptr.String(jtv) } - default: _, _ = key, value @@ -47927,7 +45714,6 @@ func awsRestjson1_deserializeDocumentAwsRoute53QueryLoggingConfigDetails(v **typ if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(&sv.CloudWatchLogsLogGroupArn, value); err != nil { return err } - default: _, _ = key, value @@ -47967,7 +45753,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.AccessPointArn = ptr.String(jtv) } - case "Alias": if value != nil { jtv, ok := value.(string) @@ -47976,7 +45761,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Alias = ptr.String(jtv) } - case "Bucket": if value != nil { jtv, ok := value.(string) @@ -47985,7 +45769,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Bucket = ptr.String(jtv) } - case "BucketAccountId": if value != nil { jtv, ok := value.(string) @@ -47994,7 +45777,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.BucketAccountId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48003,7 +45785,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Name = ptr.String(jtv) } - case "NetworkOrigin": if value != nil { jtv, ok := value.(string) @@ -48012,17 +45793,14 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.NetworkOrigin = ptr.String(jtv) } - case "PublicAccessBlockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.PublicAccessBlockConfiguration, value); err != nil { return err } - case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccessPointVpcConfigurationDetails(&sv.VpcConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -48062,7 +45840,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointVpcConfigurationDetails(v * } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -48102,7 +45879,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.BlockPublicAcls = ptr.Bool(jtv) } - case "BlockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -48111,7 +45887,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.BlockPublicPolicy = ptr.Bool(jtv) } - case "IgnorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -48120,7 +45895,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.IgnorePublicAcls = ptr.Bool(jtv) } - case "RestrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -48129,7 +45903,6 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.RestrictPublicBuckets = ptr.Bool(jtv) } - default: _, _ = key, value @@ -48165,7 +45938,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationDeta if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -48209,7 +45981,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.DaysAfterInitiation = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -48245,7 +46016,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(&sv.AbortIncompleteMultipartUpload, value); err != nil { return err } - case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -48254,7 +46024,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpirationDate = ptr.String(jtv) } - case "ExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -48267,7 +46036,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpirationInDays = ptr.Int32(int32(i64)) } - case "ExpiredObjectDeleteMarker": if value != nil { jtv, ok := value.(bool) @@ -48276,12 +46044,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpiredObjectDeleteMarker = ptr.Bool(jtv) } - case "Filter": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterDetails(&sv.Filter, value); err != nil { return err } - case "ID": if value != nil { jtv, ok := value.(string) @@ -48290,7 +46056,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ID = ptr.String(jtv) } - case "NoncurrentVersionExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -48303,12 +46068,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.NoncurrentVersionExpirationInDays = ptr.Int32(int32(i64)) } - case "NoncurrentVersionTransitions": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList(&sv.NoncurrentVersionTransitions, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -48317,7 +46080,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -48326,12 +46088,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Status = ptr.String(jtv) } - case "Transitions": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesTransitionsList(&sv.Transitions, value); err != nil { return err } - default: _, _ = key, value @@ -48367,7 +46127,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails(&sv.Predicate, value); err != nil { return err } - default: _, _ = key, value @@ -48403,7 +46162,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsList(&sv.Operands, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -48412,12 +46170,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } - case "Tag": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails(&sv.Tag, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -48426,7 +46182,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -48466,12 +46221,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } - case "Tag": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails(&sv.Tag, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -48480,7 +46233,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -48554,7 +46306,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -48563,7 +46314,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -48603,7 +46353,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -48612,7 +46361,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -48690,7 +46438,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Days = ptr.Int32(int32(i64)) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -48699,7 +46446,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.StorageClass = ptr.String(jtv) } - default: _, _ = key, value @@ -48773,7 +46519,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Date = ptr.String(jtv) } - case "Days": if value != nil { jtv, ok := value.(json.Number) @@ -48786,7 +46531,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Days = ptr.Int32(int32(i64)) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -48795,7 +46539,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.StorageClass = ptr.String(jtv) } - default: _, _ = key, value @@ -48869,7 +46612,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(v } sv.IsMfaDeleteEnabled = ptr.Bool(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -48878,7 +46620,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(v } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -48918,32 +46659,26 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.AccessControlList = ptr.String(jtv) } - case "BucketLifecycleConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationDetails(&sv.BucketLifecycleConfiguration, value); err != nil { return err } - case "BucketLoggingConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(&sv.BucketLoggingConfiguration, value); err != nil { return err } - case "BucketNotificationConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfiguration(&sv.BucketNotificationConfiguration, value); err != nil { return err } - case "BucketVersioningConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(&sv.BucketVersioningConfiguration, value); err != nil { return err } - case "BucketWebsiteConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(&sv.BucketWebsiteConfiguration, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -48952,7 +46687,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.CreatedAt = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48961,12 +46695,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.Name = ptr.String(jtv) } - case "ObjectLockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfiguration(&sv.ObjectLockConfiguration, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -48975,7 +46707,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerAccountId = ptr.String(jtv) } - case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -48984,7 +46715,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerId = ptr.String(jtv) } - case "OwnerName": if value != nil { jtv, ok := value.(string) @@ -48993,17 +46723,14 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerName = ptr.String(jtv) } - case "PublicAccessBlockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.PublicAccessBlockConfiguration, value); err != nil { return err } - case "ServerSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -49043,7 +46770,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(v **types.A } sv.DestinationBucketName = ptr.String(jtv) } - case "LogFilePrefix": if value != nil { jtv, ok := value.(string) @@ -49052,7 +46778,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(v **types.A } sv.LogFilePrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -49088,7 +46813,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfiguration(v **ty if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetails(&sv.Configurations, value); err != nil { return err } - default: _, _ = key, value @@ -49128,17 +46852,14 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetail( } sv.Destination = ptr.String(jtv) } - case "Events": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationEvents(&sv.Events, value); err != nil { return err } - case "Filter": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationFilter(&sv.Filter, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -49147,7 +46868,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetail( } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -49253,7 +46973,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationFilter( if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFilter(&sv.S3KeyFilter, value); err != nil { return err } - default: _, _ = key, value @@ -49289,7 +47008,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFilterRules(&sv.FilterRules, value); err != nil { return err } - default: _, _ = key, value @@ -49329,7 +47047,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi } sv.Name = types.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -49338,7 +47055,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -49412,12 +47128,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfiguration(v **type } sv.ObjectLockEnabled = ptr.String(jtv) } - case "Rule": if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDetails(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -49461,7 +47175,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Days = ptr.Int32(int32(i64)) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -49470,7 +47183,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Mode = ptr.String(jtv) } - case "Years": if value != nil { jtv, ok := value.(json.Number) @@ -49483,7 +47195,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Years = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -49519,7 +47230,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDetai if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(&sv.DefaultRetention, value); err != nil { return err } - default: _, _ = key, value @@ -49559,7 +47269,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(v } sv.KMSMasterKeyID = ptr.String(jtv) } - case "SSEAlgorithm": if value != nil { jtv, ok := value.(string) @@ -49568,7 +47277,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(v } sv.SSEAlgorithm = ptr.String(jtv) } - default: _, _ = key, value @@ -49604,7 +47312,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionConfiguratio if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionRules(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -49640,7 +47347,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionRule(v **typ if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(&sv.ApplyServerSideEncryptionByDefault, value); err != nil { return err } - default: _, _ = key, value @@ -49714,7 +47420,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(v **types.A } sv.ErrorDocument = ptr.String(jtv) } - case "IndexDocumentSuffix": if value != nil { jtv, ok := value.(string) @@ -49723,17 +47428,14 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(v **types.A } sv.IndexDocumentSuffix = ptr.String(jtv) } - case "RedirectAllRequestsTo": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(&sv.RedirectAllRequestsTo, value); err != nil { return err } - case "RoutingRules": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRules(&sv.RoutingRules, value); err != nil { return err } - default: _, _ = key, value @@ -49773,7 +47475,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(v } sv.Hostname = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -49782,7 +47483,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(v } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -49818,12 +47518,10 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRule( if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleCondition(&sv.Condition, value); err != nil { return err } - case "Redirect": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleRedirect(&sv.Redirect, value); err != nil { return err } - default: _, _ = key, value @@ -49863,7 +47561,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleC } sv.HttpErrorCodeReturnedEquals = ptr.String(jtv) } - case "KeyPrefixEquals": if value != nil { jtv, ok := value.(string) @@ -49872,7 +47569,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleC } sv.KeyPrefixEquals = ptr.String(jtv) } - default: _, _ = key, value @@ -49912,7 +47608,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.Hostname = ptr.String(jtv) } - case "HttpRedirectCode": if value != nil { jtv, ok := value.(string) @@ -49921,7 +47616,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.HttpRedirectCode = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -49930,7 +47624,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.Protocol = ptr.String(jtv) } - case "ReplaceKeyPrefixWith": if value != nil { jtv, ok := value.(string) @@ -49939,7 +47632,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.ReplaceKeyPrefixWith = ptr.String(jtv) } - case "ReplaceKeyWith": if value != nil { jtv, ok := value.(string) @@ -49948,7 +47640,6 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.ReplaceKeyWith = ptr.String(jtv) } - default: _, _ = key, value @@ -50022,7 +47713,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ContentType = ptr.String(jtv) } - case "ETag": if value != nil { jtv, ok := value.(string) @@ -50031,7 +47721,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ETag = ptr.String(jtv) } - case "LastModified": if value != nil { jtv, ok := value.(string) @@ -50040,7 +47729,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.LastModified = ptr.String(jtv) } - case "ServerSideEncryption": if value != nil { jtv, ok := value.(string) @@ -50049,7 +47737,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ServerSideEncryption = ptr.String(jtv) } - case "SSEKMSKeyId": if value != nil { jtv, ok := value.(string) @@ -50058,7 +47745,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.SSEKMSKeyId = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -50067,7 +47753,6 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -50103,12 +47788,10 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorTypes, value); err != nil { return err } - case "AdditionalCodeRepositories": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AdditionalCodeRepositories, value); err != nil { return err } - case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -50117,7 +47800,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.DefaultCodeRepository = ptr.String(jtv) } - case "DirectInternetAccess": if value != nil { jtv, ok := value.(string) @@ -50126,7 +47808,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.DirectInternetAccess = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -50135,12 +47816,10 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.FailureReason = ptr.String(jtv) } - case "InstanceMetadataServiceConfiguration": if err := awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(&sv.InstanceMetadataServiceConfiguration, value); err != nil { return err } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -50149,7 +47828,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.InstanceType = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -50158,7 +47836,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.KmsKeyId = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -50167,7 +47844,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NetworkInterfaceId = ptr.String(jtv) } - case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -50176,7 +47852,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceArn = ptr.String(jtv) } - case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -50185,7 +47860,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } - case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -50194,7 +47868,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceName = ptr.String(jtv) } - case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -50203,7 +47876,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceStatus = ptr.String(jtv) } - case "PlatformIdentifier": if value != nil { jtv, ok := value.(string) @@ -50212,7 +47884,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.PlatformIdentifier = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -50221,7 +47892,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.RoleArn = ptr.String(jtv) } - case "RootAccess": if value != nil { jtv, ok := value.(string) @@ -50230,12 +47900,10 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.RootAccess = ptr.String(jtv) } - case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -50244,7 +47912,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.SubnetId = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -50253,7 +47920,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.Url = ptr.String(jtv) } - case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -50266,7 +47932,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -50306,7 +47971,6 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceMetadataService } sv.MinimumInstanceMetadataServiceVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -50346,7 +48010,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Deleted = ptr.Bool(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50355,7 +48018,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Description = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -50364,7 +48026,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.KmsKeyId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50373,7 +48034,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Name = ptr.String(jtv) } - case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -50382,7 +48042,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationEnabled = ptr.Bool(jtv) } - case "RotationLambdaArn": if value != nil { jtv, ok := value.(string) @@ -50391,7 +48050,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationLambdaArn = ptr.String(jtv) } - case "RotationOccurredWithinFrequency": if value != nil { jtv, ok := value.(bool) @@ -50400,12 +48058,10 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationOccurredWithinFrequency = ptr.Bool(jtv) } - case "RotationRules": if err := awsRestjson1_deserializeDocumentAwsSecretsManagerSecretRotationRules(&sv.RotationRules, value); err != nil { return err } - default: _, _ = key, value @@ -50449,7 +48105,6 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretRotationRules(v **ty } sv.AutomaticallyAfterDays = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -50485,7 +48140,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } - case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -50494,7 +48148,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.AwsAccountId = ptr.String(jtv) } - case "AwsAccountName": if value != nil { jtv, ok := value.(string) @@ -50503,7 +48156,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.AwsAccountName = ptr.String(jtv) } - case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -50512,12 +48164,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.CompanyName = ptr.String(jtv) } - case "Compliance": if err := awsRestjson1_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } - case "Confidence": if value != nil { jtv, ok := value.(json.Number) @@ -50530,7 +48180,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Confidence = ptr.Int32(int32(i64)) } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -50539,7 +48188,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.CreatedAt = ptr.String(jtv) } - case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -50552,7 +48200,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Criticality = ptr.Int32(int32(i64)) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50561,12 +48208,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Description = ptr.String(jtv) } - case "FindingProviderFields": if err := awsRestjson1_deserializeDocumentFindingProviderFields(&sv.FindingProviderFields, value); err != nil { return err } - case "FirstObservedAt": if value != nil { jtv, ok := value.(string) @@ -50575,12 +48220,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.FirstObservedAt = ptr.String(jtv) } - case "GeneratorDetails": if err := awsRestjson1_deserializeDocumentGeneratorDetails(&sv.GeneratorDetails, value); err != nil { return err } - case "GeneratorId": if value != nil { jtv, ok := value.(string) @@ -50589,7 +48232,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.GeneratorId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -50598,7 +48240,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Id = ptr.String(jtv) } - case "LastObservedAt": if value != nil { jtv, ok := value.(string) @@ -50607,37 +48248,30 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.LastObservedAt = ptr.String(jtv) } - case "Malware": if err := awsRestjson1_deserializeDocumentMalwareList(&sv.Malware, value); err != nil { return err } - case "Network": if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } - case "NetworkPath": if err := awsRestjson1_deserializeDocumentNetworkPathList(&sv.NetworkPath, value); err != nil { return err } - case "Note": if err := awsRestjson1_deserializeDocumentNote(&sv.Note, value); err != nil { return err } - case "PatchSummary": if err := awsRestjson1_deserializeDocumentPatchSummary(&sv.PatchSummary, value); err != nil { return err } - case "Process": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.Process, value); err != nil { return err } - case "ProcessedAt": if value != nil { jtv, ok := value.(string) @@ -50646,7 +48280,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProcessedAt = ptr.String(jtv) } - case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -50655,12 +48288,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProductArn = ptr.String(jtv) } - case "ProductFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.ProductFields, value); err != nil { return err } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -50669,7 +48300,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProductName = ptr.String(jtv) } - case "RecordState": if value != nil { jtv, ok := value.(string) @@ -50678,7 +48308,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.RecordState = types.RecordState(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -50687,22 +48316,18 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Region = ptr.String(jtv) } - case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } - case "Remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } - case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } - case "Sample": if value != nil { jtv, ok := value.(bool) @@ -50711,7 +48336,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Sample = ptr.Bool(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -50720,12 +48344,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.SchemaVersion = ptr.String(jtv) } - case "Severity": if err := awsRestjson1_deserializeDocumentSeverity(&sv.Severity, value); err != nil { return err } - case "SourceUrl": if value != nil { jtv, ok := value.(string) @@ -50734,17 +48356,14 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.SourceUrl = ptr.String(jtv) } - case "ThreatIntelIndicators": if err := awsRestjson1_deserializeDocumentThreatIntelIndicatorList(&sv.ThreatIntelIndicators, value); err != nil { return err } - case "Threats": if err := awsRestjson1_deserializeDocumentThreatList(&sv.Threats, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -50753,12 +48372,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Title = ptr.String(jtv) } - case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -50767,12 +48384,10 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.UpdatedAt = ptr.String(jtv) } - case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.UserDefinedFields, value); err != nil { return err } - case "VerificationState": if value != nil { jtv, ok := value.(string) @@ -50781,17 +48396,14 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.VerificationState = types.VerificationState(jtv) } - case "Vulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityList(&sv.Vulnerabilities, value); err != nil { return err } - case "Workflow": if err := awsRestjson1_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } - case "WorkflowState": if value != nil { jtv, ok := value.(string) @@ -50800,7 +48412,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.WorkflowState = types.WorkflowState(jtv) } - default: _, _ = key, value @@ -50836,522 +48447,418 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingFilters(v **types.AwsSecu if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } - case "AwsAccountName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountName, value); err != nil { return err } - case "CompanyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CompanyName, value); err != nil { return err } - case "ComplianceAssociatedStandardsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceAssociatedStandardsId, value); err != nil { return err } - case "ComplianceSecurityControlId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlId, value); err != nil { return err } - case "ComplianceSecurityControlParametersName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlParametersName, value); err != nil { return err } - case "ComplianceSecurityControlParametersValue": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlParametersValue, value); err != nil { return err } - case "ComplianceStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceStatus, value); err != nil { return err } - case "Confidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Confidence, value); err != nil { return err } - case "CreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.CreatedAt, value); err != nil { return err } - case "Criticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Criticality, value); err != nil { return err } - case "Description": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Description, value); err != nil { return err } - case "FindingProviderFieldsConfidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.FindingProviderFieldsConfidence, value); err != nil { return err } - case "FindingProviderFieldsCriticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.FindingProviderFieldsCriticality, value); err != nil { return err } - case "FindingProviderFieldsRelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsRelatedFindingsId, value); err != nil { return err } - case "FindingProviderFieldsRelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsRelatedFindingsProductArn, value); err != nil { return err } - case "FindingProviderFieldsSeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsSeverityLabel, value); err != nil { return err } - case "FindingProviderFieldsSeverityOriginal": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsSeverityOriginal, value); err != nil { return err } - case "FindingProviderFieldsTypes": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsTypes, value); err != nil { return err } - case "FirstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } - case "GeneratorId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.GeneratorId, value); err != nil { return err } - case "Id": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Id, value); err != nil { return err } - case "Keyword": if err := awsRestjson1_deserializeDocumentKeywordFilterList(&sv.Keyword, value); err != nil { return err } - case "LastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } - case "MalwareName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareName, value); err != nil { return err } - case "MalwarePath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwarePath, value); err != nil { return err } - case "MalwareState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareState, value); err != nil { return err } - case "MalwareType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareType, value); err != nil { return err } - case "NetworkDestinationDomain": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkDestinationDomain, value); err != nil { return err } - case "NetworkDestinationIpV4": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkDestinationIpV4, value); err != nil { return err } - case "NetworkDestinationIpV6": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkDestinationIpV6, value); err != nil { return err } - case "NetworkDestinationPort": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.NetworkDestinationPort, value); err != nil { return err } - case "NetworkDirection": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkDirection, value); err != nil { return err } - case "NetworkProtocol": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkProtocol, value); err != nil { return err } - case "NetworkSourceDomain": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkSourceDomain, value); err != nil { return err } - case "NetworkSourceIpV4": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkSourceIpV4, value); err != nil { return err } - case "NetworkSourceIpV6": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkSourceIpV6, value); err != nil { return err } - case "NetworkSourceMac": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkSourceMac, value); err != nil { return err } - case "NetworkSourcePort": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.NetworkSourcePort, value); err != nil { return err } - case "NoteText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteText, value); err != nil { return err } - case "NoteUpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.NoteUpdatedAt, value); err != nil { return err } - case "NoteUpdatedBy": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteUpdatedBy, value); err != nil { return err } - case "ProcessLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ProcessLaunchedAt, value); err != nil { return err } - case "ProcessName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProcessName, value); err != nil { return err } - case "ProcessParentPid": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.ProcessParentPid, value); err != nil { return err } - case "ProcessPath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProcessPath, value); err != nil { return err } - case "ProcessPid": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.ProcessPid, value); err != nil { return err } - case "ProcessTerminatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ProcessTerminatedAt, value); err != nil { return err } - case "ProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductArn, value); err != nil { return err } - case "ProductFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ProductFields, value); err != nil { return err } - case "ProductName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductName, value); err != nil { return err } - case "RecommendationText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecommendationText, value); err != nil { return err } - case "RecordState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecordState, value); err != nil { return err } - case "Region": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Region, value); err != nil { return err } - case "RelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsId, value); err != nil { return err } - case "RelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsProductArn, value); err != nil { return err } - case "ResourceApplicationArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationArn, value); err != nil { return err } - case "ResourceApplicationName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationName, value); err != nil { return err } - case "ResourceAwsEc2InstanceIamInstanceProfileArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceIamInstanceProfileArn, value); err != nil { return err } - case "ResourceAwsEc2InstanceImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceImageId, value); err != nil { return err } - case "ResourceAwsEc2InstanceIpV4Addresses": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.ResourceAwsEc2InstanceIpV4Addresses, value); err != nil { return err } - case "ResourceAwsEc2InstanceIpV6Addresses": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.ResourceAwsEc2InstanceIpV6Addresses, value); err != nil { return err } - case "ResourceAwsEc2InstanceKeyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceKeyName, value); err != nil { return err } - case "ResourceAwsEc2InstanceLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceAwsEc2InstanceLaunchedAt, value); err != nil { return err } - case "ResourceAwsEc2InstanceSubnetId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceSubnetId, value); err != nil { return err } - case "ResourceAwsEc2InstanceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceType, value); err != nil { return err } - case "ResourceAwsEc2InstanceVpcId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceVpcId, value); err != nil { return err } - case "ResourceAwsIamAccessKeyCreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceAwsIamAccessKeyCreatedAt, value); err != nil { return err } - case "ResourceAwsIamAccessKeyPrincipalName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyPrincipalName, value); err != nil { return err } - case "ResourceAwsIamAccessKeyStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyStatus, value); err != nil { return err } - case "ResourceAwsIamAccessKeyUserName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyUserName, value); err != nil { return err } - case "ResourceAwsIamUserUserName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamUserUserName, value); err != nil { return err } - case "ResourceAwsS3BucketOwnerId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsS3BucketOwnerId, value); err != nil { return err } - case "ResourceAwsS3BucketOwnerName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsS3BucketOwnerName, value); err != nil { return err } - case "ResourceContainerImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerImageId, value); err != nil { return err } - case "ResourceContainerImageName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerImageName, value); err != nil { return err } - case "ResourceContainerLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceContainerLaunchedAt, value); err != nil { return err } - case "ResourceContainerName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerName, value); err != nil { return err } - case "ResourceDetailsOther": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceDetailsOther, value); err != nil { return err } - case "ResourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } - case "ResourcePartition": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourcePartition, value); err != nil { return err } - case "ResourceRegion": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceRegion, value); err != nil { return err } - case "ResourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } - case "ResourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } - case "Sample": if err := awsRestjson1_deserializeDocumentBooleanFilterList(&sv.Sample, value); err != nil { return err } - case "SeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SeverityLabel, value); err != nil { return err } - case "SeverityNormalized": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.SeverityNormalized, value); err != nil { return err } - case "SeverityProduct": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.SeverityProduct, value); err != nil { return err } - case "SourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SourceUrl, value); err != nil { return err } - case "ThreatIntelIndicatorCategory": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorCategory, value); err != nil { return err } - case "ThreatIntelIndicatorLastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ThreatIntelIndicatorLastObservedAt, value); err != nil { return err } - case "ThreatIntelIndicatorSource": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorSource, value); err != nil { return err } - case "ThreatIntelIndicatorSourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorSourceUrl, value); err != nil { return err } - case "ThreatIntelIndicatorType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorType, value); err != nil { return err } - case "ThreatIntelIndicatorValue": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorValue, value); err != nil { return err } - case "Title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } - case "Type": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Type, value); err != nil { return err } - case "UpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } - case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.UserDefinedFields, value); err != nil { return err } - case "VerificationState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VerificationState, value); err != nil { return err } - case "VulnerabilitiesExploitAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitiesExploitAvailable, value); err != nil { return err } - case "VulnerabilitiesFixAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitiesFixAvailable, value); err != nil { return err } - case "WorkflowState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowState, value); err != nil { return err } - case "WorkflowStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowStatus, value); err != nil { return err } - default: _, _ = key, value @@ -51391,7 +48898,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(v **types.AwsS } sv.Id = ptr.String(jtv) } - case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -51400,7 +48906,6 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(v **types.AwsS } sv.ProductArn = ptr.String(jtv) } - default: _, _ = key, value @@ -51508,7 +49013,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.ApplicationSuccessFeedbackRoleArn = ptr.String(jtv) } - case "FirehoseFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51517,7 +49021,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.FirehoseFailureFeedbackRoleArn = ptr.String(jtv) } - case "FirehoseSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51526,7 +49029,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.FirehoseSuccessFeedbackRoleArn = ptr.String(jtv) } - case "HttpFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51535,7 +49037,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.HttpFailureFeedbackRoleArn = ptr.String(jtv) } - case "HttpSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51544,7 +49045,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.HttpSuccessFeedbackRoleArn = ptr.String(jtv) } - case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -51553,7 +49053,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.KmsMasterKeyId = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -51562,7 +49061,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.Owner = ptr.String(jtv) } - case "SqsFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51571,7 +49069,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.SqsFailureFeedbackRoleArn = ptr.String(jtv) } - case "SqsSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -51580,12 +49077,10 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.SqsSuccessFeedbackRoleArn = ptr.String(jtv) } - case "Subscription": if err := awsRestjson1_deserializeDocumentAwsSnsTopicSubscriptionList(&sv.Subscription, value); err != nil { return err } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -51594,7 +49089,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -51634,7 +49128,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicSubscription(v **types.AwsSnsTop } sv.Endpoint = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -51643,7 +49136,6 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicSubscription(v **types.AwsSnsTop } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -51717,7 +49209,6 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.DeadLetterTargetArn = ptr.String(jtv) } - case "KmsDataKeyReusePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -51730,7 +49221,6 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.KmsDataKeyReusePeriodSeconds = ptr.Int32(int32(i64)) } - case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -51739,7 +49229,6 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.KmsMasterKeyId = ptr.String(jtv) } - case "QueueName": if value != nil { jtv, ok := value.(string) @@ -51748,7 +49237,6 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.QueueName = ptr.String(jtv) } - default: _, _ = key, value @@ -51788,7 +49276,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.ComplianceType = ptr.String(jtv) } - case "CompliantCriticalCount": if value != nil { jtv, ok := value.(json.Number) @@ -51801,7 +49288,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantCriticalCount = ptr.Int32(int32(i64)) } - case "CompliantHighCount": if value != nil { jtv, ok := value.(json.Number) @@ -51814,7 +49300,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantHighCount = ptr.Int32(int32(i64)) } - case "CompliantInformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -51827,7 +49312,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantInformationalCount = ptr.Int32(int32(i64)) } - case "CompliantLowCount": if value != nil { jtv, ok := value.(json.Number) @@ -51840,7 +49324,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantLowCount = ptr.Int32(int32(i64)) } - case "CompliantMediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -51853,7 +49336,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantMediumCount = ptr.Int32(int32(i64)) } - case "CompliantUnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -51866,7 +49348,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantUnspecifiedCount = ptr.Int32(int32(i64)) } - case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -51875,7 +49356,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.ExecutionType = ptr.String(jtv) } - case "NonCompliantCriticalCount": if value != nil { jtv, ok := value.(json.Number) @@ -51888,7 +49368,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantCriticalCount = ptr.Int32(int32(i64)) } - case "NonCompliantHighCount": if value != nil { jtv, ok := value.(json.Number) @@ -51901,7 +49380,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantHighCount = ptr.Int32(int32(i64)) } - case "NonCompliantInformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -51914,7 +49392,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantInformationalCount = ptr.Int32(int32(i64)) } - case "NonCompliantLowCount": if value != nil { jtv, ok := value.(json.Number) @@ -51927,7 +49404,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantLowCount = ptr.Int32(int32(i64)) } - case "NonCompliantMediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -51940,7 +49416,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantMediumCount = ptr.Int32(int32(i64)) } - case "NonCompliantUnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -51953,7 +49428,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantUnspecifiedCount = ptr.Int32(int32(i64)) } - case "OverallSeverity": if value != nil { jtv, ok := value.(string) @@ -51962,7 +49436,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.OverallSeverity = ptr.String(jtv) } - case "PatchBaselineId": if value != nil { jtv, ok := value.(string) @@ -51971,7 +49444,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.PatchBaselineId = ptr.String(jtv) } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -51980,7 +49452,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.PatchGroup = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -51989,7 +49460,6 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -52025,7 +49495,6 @@ func awsRestjson1_deserializeDocumentAwsSsmPatch(v **types.AwsSsmPatch, value in if err := awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } - default: _, _ = key, value @@ -52061,7 +49530,6 @@ func awsRestjson1_deserializeDocumentAwsSsmPatchComplianceDetails(v **types.AwsS if err := awsRestjson1_deserializeDocumentAwsSsmPatch(&sv.Patch, value); err != nil { return err } - default: _, _ = key, value @@ -52101,12 +49569,10 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Label = ptr.String(jtv) } - case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDetails(&sv.LoggingConfiguration, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52115,7 +49581,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -52124,7 +49589,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.RoleArn = ptr.String(jtv) } - case "StateMachineArn": if value != nil { jtv, ok := value.(string) @@ -52133,7 +49597,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.StateMachineArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -52142,12 +49605,10 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Status = ptr.String(jtv) } - case "TracingConfiguration": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineTracingConfigurationDetails(&sv.TracingConfiguration, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52156,7 +49617,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -52196,7 +49656,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -52232,7 +49691,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } - default: _, _ = key, value @@ -52302,7 +49760,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDestinationsList(&sv.Destinations, value); err != nil { return err } - case "IncludeExecutionData": if value != nil { jtv, ok := value.(bool) @@ -52311,7 +49768,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.IncludeExecutionData = ptr.Bool(jtv) } - case "Level": if value != nil { jtv, ok := value.(string) @@ -52320,7 +49776,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.Level = ptr.String(jtv) } - default: _, _ = key, value @@ -52360,7 +49815,6 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineTracingConfigura } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -52396,7 +49850,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicateList(&sv.MatchPredicates, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -52405,7 +49858,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52414,7 +49866,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.Name = ptr.String(jtv) } - case "RateKey": if value != nil { jtv, ok := value.(string) @@ -52423,7 +49874,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RateKey = ptr.String(jtv) } - case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -52436,7 +49886,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RateLimit = ptr.Int64(i64) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -52445,7 +49894,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -52485,7 +49933,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -52494,7 +49941,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52503,7 +49949,6 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -52573,7 +50018,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type if err := awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicateList(&sv.MatchPredicates, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -52582,7 +50026,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52591,7 +50034,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.Name = ptr.String(jtv) } - case "RateKey": if value != nil { jtv, ok := value.(string) @@ -52600,7 +50042,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RateKey = ptr.String(jtv) } - case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -52613,7 +50054,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RateLimit = ptr.Int64(i64) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -52622,7 +50062,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -52662,7 +50101,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -52671,7 +50109,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52680,7 +50117,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -52754,7 +50190,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52763,12 +50198,10 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.Name = ptr.String(jtv) } - case "PredicateList": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateList(&sv.PredicateList, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -52777,7 +50210,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -52817,7 +50249,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -52826,7 +50257,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -52835,12 +50265,10 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.RuleGroupId = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -52880,7 +50308,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesActionDetails(v } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -52916,7 +50343,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesActionDetails(&sv.Action, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -52929,7 +50355,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -52938,7 +50363,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -52947,7 +50371,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53055,7 +50478,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -53064,7 +50486,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53073,7 +50494,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53113,7 +50533,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.DefaultAction = ptr.String(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -53122,7 +50541,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53131,12 +50549,10 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.Name = ptr.String(jtv) } - case "RulesList": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesList(&sv.RulesList, value); err != nil { return err } - case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -53145,7 +50561,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.WebAclId = ptr.String(jtv) } - default: _, _ = key, value @@ -53219,7 +50634,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListActionDetails( } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53255,12 +50669,10 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListActionDetails(&sv.Action, value); err != nil { return err } - case "OverrideAction": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListOverrideActionDetails(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -53273,7 +50685,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -53282,7 +50693,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53291,7 +50701,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53331,7 +50740,6 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListOverrideAction } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53371,7 +50779,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53380,12 +50787,10 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.Name = ptr.String(jtv) } - case "PredicateList": if err := awsRestjson1_deserializeDocumentAwsWafRulePredicateList(&sv.PredicateList, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -53394,7 +50799,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -53434,7 +50838,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -53443,7 +50846,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -53452,12 +50854,10 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.RuleGroupId = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -53497,7 +50897,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesActionDetails(v **types } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53533,7 +50932,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesActionDetails(&sv.Action, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -53546,7 +50944,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -53555,7 +50952,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53564,7 +50960,6 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53672,7 +51067,6 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -53681,7 +51075,6 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -53690,7 +51083,6 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -53726,7 +51118,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -53762,7 +51153,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(&sv.CustomResponse, value); err != nil { return err } - default: _, _ = key, value @@ -53802,7 +51192,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomHttpHeader(v **types.AwsWafv2 } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -53811,7 +51200,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomHttpHeader(v **types.AwsWafv2 } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -53847,7 +51235,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsWafv2InsertHeadersList(&sv.InsertHeaders, value); err != nil { return err } - default: _, _ = key, value @@ -53887,7 +51274,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(v **types.Aws } sv.CustomResponseBodyKey = ptr.String(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -53900,12 +51286,10 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(v **types.Aws } sv.ResponseCode = ptr.Int32(int32(i64)) } - case "ResponseHeaders": if err := awsRestjson1_deserializeDocumentAwsWafv2InsertHeadersList(&sv.ResponseHeaders, value); err != nil { return err } - default: _, _ = key, value @@ -53979,7 +51363,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Arn = ptr.String(jtv) } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -53992,7 +51375,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Capacity = ptr.Int64(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -54001,7 +51383,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54010,7 +51391,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54019,12 +51399,10 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesList(&sv.Rules, value); err != nil { return err } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -54033,12 +51411,10 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Scope = ptr.String(jtv) } - case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -54074,7 +51450,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionCaptchaDetails(v **types if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -54110,7 +51485,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionCountDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -54146,22 +51520,18 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(&sv.Allow, value); err != nil { return err } - case "Block": if err := awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(&sv.Block, value); err != nil { return err } - case "Captcha": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionCaptchaDetails(&sv.Captcha, value); err != nil { return err } - case "Count": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionCountDetails(&sv.Count, value); err != nil { return err } - default: _, _ = key, value @@ -54197,7 +51567,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionDetails(&sv.Action, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54206,7 +51575,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.Name = ptr.String(jtv) } - case "OverrideAction": if value != nil { jtv, ok := value.(string) @@ -54215,7 +51583,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.OverrideAction = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -54228,12 +51595,10 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.Priority = ptr.Int32(int32(i64)) } - case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -54307,7 +51672,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -54316,7 +51680,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.MetricName = ptr.String(jtv) } - case "SampledRequestsEnabled": if value != nil { jtv, ok := value.(bool) @@ -54325,7 +51688,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.SampledRequestsEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -54361,12 +51723,10 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclActionDetails(v **types.AwsWa if err := awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(&sv.Allow, value); err != nil { return err } - case "Block": if err := awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(&sv.Block, value); err != nil { return err } - default: _, _ = key, value @@ -54402,7 +51762,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigDetails(v **type if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(&sv.ImmunityTimeProperty, value); err != nil { return err } - default: _, _ = key, value @@ -54446,7 +51805,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimeProp } sv.ImmunityTime = ptr.Int64(i64) } - default: _, _ = key, value @@ -54486,7 +51844,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Arn = ptr.String(jtv) } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -54499,17 +51856,14 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Capacity = ptr.Int64(i64) } - case "CaptchaConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigDetails(&sv.CaptchaConfig, value); err != nil { return err } - case "DefaultAction": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclActionDetails(&sv.DefaultAction, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -54518,7 +51872,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -54527,7 +51880,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Id = ptr.String(jtv) } - case "ManagedbyFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -54536,7 +51888,6 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.ManagedbyFirewallManager = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54545,17 +51896,14 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesList(&sv.Rules, value); err != nil { return err } - case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -54595,7 +51943,6 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.DefaultAction = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -54604,12 +51951,10 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafWebAclRuleList(&sv.Rules, value); err != nil { return err } - case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -54618,7 +51963,6 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.WebAclId = ptr.String(jtv) } - default: _, _ = key, value @@ -54654,17 +51998,14 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule if err := awsRestjson1_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } - case "ExcludedRules": if err := awsRestjson1_deserializeDocumentWafExcludedRuleList(&sv.ExcludedRules, value); err != nil { return err } - case "OverrideAction": if err := awsRestjson1_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -54677,7 +52018,6 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -54686,7 +52026,6 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -54695,7 +52034,6 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -54769,7 +52107,6 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.KeyId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -54778,7 +52115,6 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.Status = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -54787,7 +52123,6 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -54827,7 +52162,6 @@ func awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFinding(v **t } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -54836,12 +52170,10 @@ func awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFinding(v **t } sv.ErrorMessage = ptr.String(jtv) } - case "FindingIdentifier": if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(&sv.FindingIdentifier, value); err != nil { return err } - default: _, _ = key, value @@ -54915,7 +52247,6 @@ func awsRestjson1_deserializeDocumentBooleanConfigurationOptions(v **types.Boole } sv.DefaultValue = ptr.Bool(jtv) } - default: _, _ = key, value @@ -54955,7 +52286,6 @@ func awsRestjson1_deserializeDocumentBooleanFilter(v **types.BooleanFilter, valu } sv.Value = ptr.Bool(jtv) } - default: _, _ = key, value @@ -55065,7 +52395,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.CellReference = ptr.String(jtv) } - case "Column": if value != nil { jtv, ok := value.(json.Number) @@ -55078,7 +52407,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Column = ptr.Int64(i64) } - case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -55087,7 +52415,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.ColumnName = ptr.String(jtv) } - case "Row": if value != nil { jtv, ok := value.(json.Number) @@ -55100,7 +52427,6 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Row = ptr.Int64(i64) } - default: _, _ = key, value @@ -55174,7 +52500,6 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.AssociationId = ptr.String(jtv) } - case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -55183,7 +52508,6 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.CidrBlock = ptr.String(jtv) } - case "CidrBlockState": if value != nil { jtv, ok := value.(string) @@ -55192,7 +52516,6 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.CidrBlockState = ptr.String(jtv) } - default: _, _ = key, value @@ -55266,7 +52589,6 @@ func awsRestjson1_deserializeDocumentCity(v **types.City, value interface{}) err } sv.CityName = ptr.String(jtv) } - default: _, _ = key, value @@ -55306,12 +52628,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.AdditionalOccurrences = ptr.Bool(jtv) } - case "CustomDataIdentifiers": if err := awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(&sv.CustomDataIdentifiers, value); err != nil { return err } - case "MimeType": if value != nil { jtv, ok := value.(string) @@ -55320,12 +52640,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.MimeType = ptr.String(jtv) } - case "SensitiveData": if err := awsRestjson1_deserializeDocumentSensitiveDataResultList(&sv.SensitiveData, value); err != nil { return err } - case "SizeClassified": if value != nil { jtv, ok := value.(json.Number) @@ -55338,12 +52656,10 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.SizeClassified = ptr.Int64(i64) } - case "Status": if err := awsRestjson1_deserializeDocumentClassificationStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -55383,7 +52699,6 @@ func awsRestjson1_deserializeDocumentClassificationStatus(v **types.Classificati } sv.Code = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -55392,7 +52707,6 @@ func awsRestjson1_deserializeDocumentClassificationStatus(v **types.Classificati } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -55432,7 +52746,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } - case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -55441,7 +52754,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.HostedZoneId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -55450,7 +52762,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -55494,7 +52805,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.EndLine = ptr.Int32(int32(i64)) } - case "FileName": if value != nil { jtv, ok := value.(string) @@ -55503,7 +52813,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.FileName = ptr.String(jtv) } - case "FilePath": if value != nil { jtv, ok := value.(string) @@ -55512,7 +52821,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.FilePath = ptr.String(jtv) } - case "StartLine": if value != nil { jtv, ok := value.(json.Number) @@ -55525,7 +52833,6 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.StartLine = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -55561,12 +52868,10 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte if err := awsRestjson1_deserializeDocumentAssociatedStandardsList(&sv.AssociatedStandards, value); err != nil { return err } - case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -55575,12 +52880,10 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.SecurityControlId = ptr.String(jtv) } - case "SecurityControlParameters": if err := awsRestjson1_deserializeDocumentSecurityControlParametersList(&sv.SecurityControlParameters, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -55589,12 +52892,10 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.Status = types.ComplianceStatus(jtv) } - case "StatusReasons": if err := awsRestjson1_deserializeDocumentStatusReasonsList(&sv.StatusReasons, value); err != nil { return err } - default: _, _ = key, value @@ -55740,7 +53041,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociation(v **types.Co if err := awsRestjson1_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -55814,7 +53114,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } - case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -55823,7 +53122,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationStatusMessage = ptr.String(jtv) } - case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -55832,7 +53130,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationType = types.AssociationType(jtv) } - case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -55841,7 +53138,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.ConfigurationPolicyId = ptr.String(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -55850,7 +53146,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -55859,7 +53154,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.TargetType = types.TargetType(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -55872,7 +53166,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -55946,7 +53239,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -55955,7 +53247,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -55964,7 +53255,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -55973,7 +53263,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Name = ptr.String(jtv) } - case "ServiceEnabled": if value != nil { jtv, ok := value.(bool) @@ -55982,7 +53271,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.ServiceEnabled = ptr.Bool(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -55995,7 +53283,6 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -56069,7 +53356,6 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ContainerRuntime = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -56078,7 +53364,6 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ImageId = ptr.String(jtv) } - case "ImageName": if value != nil { jtv, ok := value.(string) @@ -56087,7 +53372,6 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ImageName = ptr.String(jtv) } - case "LaunchedAt": if value != nil { jtv, ok := value.(string) @@ -56096,7 +53380,6 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.LaunchedAt = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -56105,7 +53388,6 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.Name = ptr.String(jtv) } - case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -56114,12 +53396,10 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.Privileged = ptr.Bool(jtv) } - case "VolumeMounts": if err := awsRestjson1_deserializeDocumentVolumeMountList(&sv.VolumeMounts, value); err != nil { return err } - default: _, _ = key, value @@ -56159,7 +53439,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryCode = ptr.String(jtv) } - case "CountryName": if value != nil { jtv, ok := value.(string) @@ -56168,7 +53447,6 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryName = ptr.String(jtv) } - default: _, _ = key, value @@ -56208,7 +53486,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Arn = ptr.String(jtv) } - case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -56221,7 +53498,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Count = ptr.Int64(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -56230,12 +53506,10 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Name = ptr.String(jtv) } - case "Occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } - default: _, _ = key, value @@ -56305,7 +53579,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(v **types.Custo if err := awsRestjson1_deserializeDocumentCustomDataIdentifiersDetectionsList(&sv.Detections, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -56318,7 +53591,6 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(v **types.Custo } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -56390,7 +53662,6 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err if err := awsRestjson1_deserializeDocumentAdjustmentList(&sv.Adjustments, value); err != nil { return err } - case "BaseScore": if value != nil { switch jtv := value.(type) { @@ -56424,7 +53695,6 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } } - case "BaseVector": if value != nil { jtv, ok := value.(string) @@ -56433,7 +53703,6 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.BaseVector = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -56442,7 +53711,6 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.Source = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -56451,7 +53719,6 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -56525,12 +53792,10 @@ func awsRestjson1_deserializeDocumentDataClassificationDetails(v **types.DataCla } sv.DetailedResultsLocation = ptr.String(jtv) } - case "Result": if err := awsRestjson1_deserializeDocumentClassificationResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -56566,7 +53831,6 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte if err := awsRestjson1_deserializeDocumentDateRange(&sv.DateRange, value); err != nil { return err } - case "End": if value != nil { jtv, ok := value.(string) @@ -56575,7 +53839,6 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } sv.End = ptr.String(jtv) } - case "Start": if value != nil { jtv, ok := value.(string) @@ -56584,7 +53847,6 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } sv.Start = ptr.String(jtv) } - default: _, _ = key, value @@ -56658,7 +53920,6 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } sv.Unit = types.DateRangeUnit(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -56671,7 +53932,6 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } sv.Value = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -56747,7 +54007,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Blocked = ptr.Bool(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -56756,7 +54015,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Domain = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -56765,7 +54023,6 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Protocol = ptr.String(jtv) } - default: _, _ = key, value @@ -56830,7 +54087,6 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } - case "Max": if value != nil { switch jtv := value.(type) { @@ -56864,7 +54120,6 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } - case "Min": if value != nil { switch jtv := value.(type) { @@ -56898,7 +54153,6 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } - default: _, _ = key, value @@ -57006,7 +54260,6 @@ func awsRestjson1_deserializeDocumentEnumConfigurationOptions(v **types.EnumConf if err := awsRestjson1_deserializeDocumentStringList(&sv.AllowedValues, value); err != nil { return err } - case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -57015,7 +54268,6 @@ func awsRestjson1_deserializeDocumentEnumConfigurationOptions(v **types.EnumConf } sv.DefaultValue = ptr.String(jtv) } - default: _, _ = key, value @@ -57051,12 +54303,10 @@ func awsRestjson1_deserializeDocumentEnumListConfigurationOptions(v **types.Enum if err := awsRestjson1_deserializeDocumentStringList(&sv.AllowedValues, value); err != nil { return err } - case "DefaultValue": if err := awsRestjson1_deserializeDocumentStringList(&sv.DefaultValue, value); err != nil { return err } - case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -57069,7 +54319,6 @@ func awsRestjson1_deserializeDocumentEnumListConfigurationOptions(v **types.Enum } sv.MaxItems = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -57179,7 +54428,6 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.FileName = ptr.String(jtv) } - case "FilePath": if value != nil { jtv, ok := value.(string) @@ -57188,7 +54436,6 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.FilePath = ptr.String(jtv) } - case "Hash": if value != nil { jtv, ok := value.(string) @@ -57197,7 +54444,6 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.Hash = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -57206,7 +54452,6 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -57246,7 +54491,6 @@ func awsRestjson1_deserializeDocumentFindingAggregator(v **types.FindingAggregat } sv.FindingAggregatorArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57320,12 +54564,10 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.FindingCreated = ptr.Bool(jtv) } - case "FindingIdentifier": if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(&sv.FindingIdentifier, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -57334,17 +54576,14 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.NextToken = ptr.String(jtv) } - case "Updates": if err := awsRestjson1_deserializeDocumentFindingHistoryUpdatesList(&sv.Updates, value); err != nil { return err } - case "UpdateSource": if err := awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(&sv.UpdateSource, value); err != nil { return err } - case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -57357,7 +54596,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.UpdateTime = ptr.Time(t) } - default: _, _ = key, value @@ -57431,7 +54669,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.NewValue = ptr.String(jtv) } - case "OldValue": if value != nil { jtv, ok := value.(string) @@ -57440,7 +54677,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.OldValue = ptr.String(jtv) } - case "UpdatedField": if value != nil { jtv, ok := value.(string) @@ -57449,7 +54685,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.UpdatedField = ptr.String(jtv) } - default: _, _ = key, value @@ -57523,7 +54758,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(v **types.Findin } sv.Identity = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -57532,7 +54766,6 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(v **types.Findin } sv.Type = types.FindingHistoryUpdateSourceType(jtv) } - default: _, _ = key, value @@ -57576,7 +54809,6 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv } sv.Confidence = ptr.Int32(int32(i64)) } - case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -57589,22 +54821,18 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv } sv.Criticality = ptr.Int32(int32(i64)) } - case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } - case "Severity": if err := awsRestjson1_deserializeDocumentFindingProviderSeverity(&sv.Severity, value); err != nil { return err } - case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -57644,7 +54872,6 @@ func awsRestjson1_deserializeDocumentFindingProviderSeverity(v **types.FindingPr } sv.Label = types.SeverityLabel(jtv) } - case "Original": if value != nil { jtv, ok := value.(string) @@ -57653,7 +54880,6 @@ func awsRestjson1_deserializeDocumentFindingProviderSeverity(v **types.FindingPr } sv.Original = ptr.String(jtv) } - default: _, _ = key, value @@ -57689,27 +54915,22 @@ func awsRestjson1_deserializeDocumentFirewallPolicyDetails(v **types.FirewallPol if err := awsRestjson1_deserializeDocumentFirewallPolicyStatefulRuleGroupReferencesList(&sv.StatefulRuleGroupReferences, value); err != nil { return err } - case "StatelessCustomActions": if err := awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsList(&sv.StatelessCustomActions, value); err != nil { return err } - case "StatelessDefaultActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.StatelessDefaultActions, value); err != nil { return err } - case "StatelessFragmentDefaultActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } - case "StatelessRuleGroupReferences": if err := awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesList(&sv.StatelessRuleGroupReferences, value); err != nil { return err } - default: _, _ = key, value @@ -57749,7 +54970,6 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatefulRuleGroupReferencesDe } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57819,7 +55039,6 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsDetails if err := awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(&sv.ActionDefinition, value); err != nil { return err } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -57828,7 +55047,6 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsDetails } sv.ActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -57906,7 +55124,6 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesD } sv.Priority = ptr.Int32(int32(i64)) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -57915,7 +55132,6 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesD } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -57989,12 +55205,10 @@ func awsRestjson1_deserializeDocumentGeneratorDetails(v **types.GeneratorDetails } sv.Description = ptr.String(jtv) } - case "Labels": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Labels, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58003,7 +55217,6 @@ func awsRestjson1_deserializeDocumentGeneratorDetails(v **types.GeneratorDetails } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -58068,7 +55281,6 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } - case "Lon": if value != nil { switch jtv := value.(type) { @@ -58102,7 +55314,6 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } - default: _, _ = key, value @@ -58146,7 +55357,6 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Code = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(json.Number) @@ -58159,7 +55369,6 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Type = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58199,7 +55408,6 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -58208,7 +55416,6 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -58217,7 +55424,6 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -58287,7 +55493,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentAwsSecurityFindingFilters(&sv.Filters, value); err != nil { return err } - case "GroupByAttribute": if value != nil { jtv, ok := value.(string) @@ -58296,7 +55501,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupByAttribute = ptr.String(jtv) } - case "InsightArn": if value != nil { jtv, ok := value.(string) @@ -58305,7 +55509,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -58314,7 +55517,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -58388,7 +55590,6 @@ func awsRestjson1_deserializeDocumentInsightResults(v **types.InsightResults, va } sv.GroupByAttribute = ptr.String(jtv) } - case "InsightArn": if value != nil { jtv, ok := value.(string) @@ -58397,12 +55598,10 @@ func awsRestjson1_deserializeDocumentInsightResults(v **types.InsightResults, va } sv.InsightArn = ptr.String(jtv) } - case "ResultValues": if err := awsRestjson1_deserializeDocumentInsightResultValueList(&sv.ResultValues, value); err != nil { return err } - default: _, _ = key, value @@ -58446,7 +55645,6 @@ func awsRestjson1_deserializeDocumentInsightResultValue(v **types.InsightResultV } sv.Count = ptr.Int32(int32(i64)) } - case "GroupByAttributeValue": if value != nil { jtv, ok := value.(string) @@ -58455,7 +55653,6 @@ func awsRestjson1_deserializeDocumentInsightResultValue(v **types.InsightResultV } sv.GroupByAttributeValue = ptr.String(jtv) } - default: _, _ = key, value @@ -58533,7 +55730,6 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.DefaultValue = ptr.Int32(int32(i64)) } - case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -58546,7 +55742,6 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.Max = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -58559,7 +55754,6 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58635,7 +55829,6 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I if err := awsRestjson1_deserializeDocumentIntegerList(&sv.DefaultValue, value); err != nil { return err } - case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -58648,7 +55841,6 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.Max = ptr.Int32(int32(i64)) } - case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -58661,7 +55853,6 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.MaxItems = ptr.Int32(int32(i64)) } - case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -58674,7 +55865,6 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.Min = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -58740,13 +55930,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -58756,8 +55940,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -58765,15 +55948,11 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58798,13 +55977,7 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -58814,8 +55987,7 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -58823,15 +55995,11 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58856,13 +56024,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -58872,8 +56034,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -58881,15 +56042,11 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -58924,7 +56081,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } - case "InvitationId": if value != nil { jtv, ok := value.(string) @@ -58933,7 +56089,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } - case "InvitedAt": if value != nil { jtv, ok := value.(string) @@ -58946,7 +56101,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.Time(t) } - case "MemberStatus": if value != nil { jtv, ok := value.(string) @@ -58955,7 +56109,6 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.MemberStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -59029,7 +56182,6 @@ func awsRestjson1_deserializeDocumentIpFilter(v **types.IpFilter, value interfac } sv.Cidr = ptr.String(jtv) } - default: _, _ = key, value @@ -59107,7 +56259,6 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Asn = ptr.Int32(int32(i64)) } - case "AsnOrg": if value != nil { jtv, ok := value.(string) @@ -59116,7 +56267,6 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.AsnOrg = ptr.String(jtv) } - case "Isp": if value != nil { jtv, ok := value.(string) @@ -59125,7 +56275,6 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Isp = ptr.String(jtv) } - case "Org": if value != nil { jtv, ok := value.(string) @@ -59134,7 +56283,6 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Org = ptr.String(jtv) } - default: _, _ = key, value @@ -59174,7 +56322,6 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.AssociationId = ptr.String(jtv) } - case "CidrBlockState": if value != nil { jtv, ok := value.(string) @@ -59183,7 +56330,6 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.CidrBlockState = ptr.String(jtv) } - case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -59192,7 +56338,6 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.Ipv6CidrBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -59266,7 +56411,6 @@ func awsRestjson1_deserializeDocumentKeywordFilter(v **types.KeywordFilter, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -59330,13 +56474,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -59346,8 +56484,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -59355,15 +56492,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -59398,7 +56531,6 @@ func awsRestjson1_deserializeDocumentLoadBalancerState(v **types.LoadBalancerSta } sv.Code = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -59407,7 +56539,6 @@ func awsRestjson1_deserializeDocumentLoadBalancerState(v **types.LoadBalancerSta } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -59447,7 +56578,6 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Name = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -59456,7 +56586,6 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Path = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -59465,7 +56594,6 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.State = types.MalwareState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -59474,7 +56602,6 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Type = types.MalwareType(jtv) } - default: _, _ = key, value @@ -59548,7 +56675,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Comparison = types.MapFilterComparison(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -59557,7 +56683,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -59566,7 +56691,6 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -59640,7 +56764,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "AdministratorId": if value != nil { jtv, ok := value.(string) @@ -59649,7 +56772,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorId = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -59658,7 +56780,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } - case "InvitedAt": if value != nil { jtv, ok := value.(string) @@ -59671,7 +56792,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.Time(t) } - case "MasterId": if value != nil { jtv, ok := value.(string) @@ -59680,7 +56800,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterId = ptr.String(jtv) } - case "MemberStatus": if value != nil { jtv, ok := value.(string) @@ -59689,7 +56808,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberStatus = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -59702,7 +56820,6 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -59776,7 +56893,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationDomain = ptr.String(jtv) } - case "DestinationIpV4": if value != nil { jtv, ok := value.(string) @@ -59785,7 +56901,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationIpV4 = ptr.String(jtv) } - case "DestinationIpV6": if value != nil { jtv, ok := value.(string) @@ -59794,7 +56909,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationIpV6 = ptr.String(jtv) } - case "DestinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -59807,7 +56921,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationPort = ptr.Int32(int32(i64)) } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -59816,12 +56929,10 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Direction = types.NetworkDirection(jtv) } - case "OpenPortRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.OpenPortRange, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -59830,7 +56941,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Protocol = ptr.String(jtv) } - case "SourceDomain": if value != nil { jtv, ok := value.(string) @@ -59839,7 +56949,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceDomain = ptr.String(jtv) } - case "SourceIpV4": if value != nil { jtv, ok := value.(string) @@ -59848,7 +56957,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceIpV4 = ptr.String(jtv) } - case "SourceIpV6": if value != nil { jtv, ok := value.(string) @@ -59857,7 +56965,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceIpV6 = ptr.String(jtv) } - case "SourceMac": if value != nil { jtv, ok := value.(string) @@ -59866,7 +56973,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceMac = ptr.String(jtv) } - case "SourcePort": if value != nil { jtv, ok := value.(json.Number) @@ -59879,7 +56985,6 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourcePort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -59919,7 +57024,6 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Blocked = ptr.Bool(jtv) } - case "ConnectionDirection": if value != nil { jtv, ok := value.(string) @@ -59928,12 +57032,10 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.ConnectionDirection = ptr.String(jtv) } - case "LocalPortDetails": if err := awsRestjson1_deserializeDocumentActionLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -59942,17 +57044,14 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Protocol = ptr.String(jtv) } - case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - case "RemotePortDetails": if err := awsRestjson1_deserializeDocumentActionRemotePortDetails(&sv.RemotePortDetails, value); err != nil { return err } - default: _, _ = key, value @@ -59988,7 +57087,6 @@ func awsRestjson1_deserializeDocumentNetworkHeader(v **types.NetworkHeader, valu if err := awsRestjson1_deserializeDocumentNetworkPathComponentDetails(&sv.Destination, value); err != nil { return err } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -59997,12 +57095,10 @@ func awsRestjson1_deserializeDocumentNetworkHeader(v **types.NetworkHeader, valu } sv.Protocol = ptr.String(jtv) } - case "Source": if err := awsRestjson1_deserializeDocumentNetworkPathComponentDetails(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -60042,7 +57138,6 @@ func awsRestjson1_deserializeDocumentNetworkPathComponent(v **types.NetworkPathC } sv.ComponentId = ptr.String(jtv) } - case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -60051,17 +57146,14 @@ func awsRestjson1_deserializeDocumentNetworkPathComponent(v **types.NetworkPathC } sv.ComponentType = ptr.String(jtv) } - case "Egress": if err := awsRestjson1_deserializeDocumentNetworkHeader(&sv.Egress, value); err != nil { return err } - case "Ingress": if err := awsRestjson1_deserializeDocumentNetworkHeader(&sv.Ingress, value); err != nil { return err } - default: _, _ = key, value @@ -60097,12 +57189,10 @@ func awsRestjson1_deserializeDocumentNetworkPathComponentDetails(v **types.Netwo if err := awsRestjson1_deserializeDocumentStringList(&sv.Address, value); err != nil { return err } - case "PortRanges": if err := awsRestjson1_deserializeDocumentPortRangeList(&sv.PortRanges, value); err != nil { return err } - default: _, _ = key, value @@ -60212,7 +57302,6 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.Text = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -60221,7 +57310,6 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.UpdatedAt = ptr.String(jtv) } - case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -60230,7 +57318,6 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -60270,7 +57357,6 @@ func awsRestjson1_deserializeDocumentNoteUpdate(v **types.NoteUpdate, value inte } sv.Text = ptr.String(jtv) } - case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -60279,7 +57365,6 @@ func awsRestjson1_deserializeDocumentNoteUpdate(v **types.NoteUpdate, value inte } sv.UpdatedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -60344,7 +57429,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - case "Gt": if value != nil { switch jtv := value.(type) { @@ -60378,7 +57462,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - case "Gte": if value != nil { switch jtv := value.(type) { @@ -60412,7 +57495,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - case "Lt": if value != nil { switch jtv := value.(type) { @@ -60446,7 +57528,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - case "Lte": if value != nil { switch jtv := value.(type) { @@ -60480,7 +57561,6 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } - default: _, _ = key, value @@ -60550,27 +57630,22 @@ func awsRestjson1_deserializeDocumentOccurrences(v **types.Occurrences, value in if err := awsRestjson1_deserializeDocumentCells(&sv.Cells, value); err != nil { return err } - case "LineRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.LineRanges, value); err != nil { return err } - case "OffsetRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.OffsetRanges, value); err != nil { return err } - case "Pages": if err := awsRestjson1_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } - case "Records": if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -60610,7 +57685,6 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.ConfigurationType = types.OrganizationConfigurationConfigurationType(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -60619,7 +57693,6 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.Status = types.OrganizationConfigurationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -60628,7 +57701,6 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -60664,12 +57736,10 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err if err := awsRestjson1_deserializeDocumentRange(&sv.LineRange, value); err != nil { return err } - case "OffsetRange": if err := awsRestjson1_deserializeDocumentRange(&sv.OffsetRange, value); err != nil { return err } - case "PageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -60682,7 +57752,6 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageNumber = ptr.Int64(i64) } - default: _, _ = key, value @@ -60752,7 +57821,6 @@ func awsRestjson1_deserializeDocumentParameterConfiguration(v **types.ParameterC if err := awsRestjson1_deserializeDocumentParameterValue(&sv.Value, value); err != nil { return err } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -60761,7 +57829,6 @@ func awsRestjson1_deserializeDocumentParameterConfiguration(v **types.ParameterC } sv.ValueType = types.ParameterValueType(jtv) } - default: _, _ = key, value @@ -60797,7 +57864,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi if err := awsRestjson1_deserializeDocumentConfigurationOptions(&sv.ConfigurationOptions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -60806,7 +57872,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -61063,7 +58128,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.FailedCount = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -61072,7 +58136,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.Id = ptr.String(jtv) } - case "InstalledCount": if value != nil { jtv, ok := value.(json.Number) @@ -61085,7 +58148,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledCount = ptr.Int32(int32(i64)) } - case "InstalledOtherCount": if value != nil { jtv, ok := value.(json.Number) @@ -61098,7 +58160,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledOtherCount = ptr.Int32(int32(i64)) } - case "InstalledPendingReboot": if value != nil { jtv, ok := value.(json.Number) @@ -61111,7 +58172,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledPendingReboot = ptr.Int32(int32(i64)) } - case "InstalledRejectedCount": if value != nil { jtv, ok := value.(json.Number) @@ -61124,7 +58184,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledRejectedCount = ptr.Int32(int32(i64)) } - case "MissingCount": if value != nil { jtv, ok := value.(json.Number) @@ -61137,7 +58196,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.MissingCount = ptr.Int32(int32(i64)) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -61146,7 +58204,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.Operation = ptr.String(jtv) } - case "OperationEndTime": if value != nil { jtv, ok := value.(string) @@ -61155,7 +58212,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.OperationEndTime = ptr.String(jtv) } - case "OperationStartTime": if value != nil { jtv, ok := value.(string) @@ -61164,7 +58220,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.OperationStartTime = ptr.String(jtv) } - case "RebootOption": if value != nil { jtv, ok := value.(string) @@ -61173,7 +58228,6 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.RebootOption = ptr.String(jtv) } - default: _, _ = key, value @@ -61253,12 +58307,10 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, } sv.Blocked = ptr.Bool(jtv) } - case "PortProbeDetails": if err := awsRestjson1_deserializeDocumentPortProbeDetailList(&sv.PortProbeDetails, value); err != nil { return err } - default: _, _ = key, value @@ -61294,17 +58346,14 @@ func awsRestjson1_deserializeDocumentPortProbeDetail(v **types.PortProbeDetail, if err := awsRestjson1_deserializeDocumentActionLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } - case "LocalPortDetails": if err := awsRestjson1_deserializeDocumentActionLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } - case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } - default: _, _ = key, value @@ -61382,7 +58431,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.Begin = ptr.Int32(int32(i64)) } - case "End": if value != nil { jtv, ok := value.(json.Number) @@ -61395,7 +58443,6 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.End = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -61439,7 +58486,6 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, } sv.From = ptr.Int32(int32(i64)) } - case "To": if value != nil { jtv, ok := value.(json.Number) @@ -61452,7 +58498,6 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, } sv.To = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -61526,7 +58571,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.LaunchedAt = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -61535,7 +58579,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Name = ptr.String(jtv) } - case "ParentPid": if value != nil { jtv, ok := value.(json.Number) @@ -61548,7 +58591,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ParentPid = ptr.Int32(int32(i64)) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -61557,7 +58599,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Path = ptr.String(jtv) } - case "Pid": if value != nil { jtv, ok := value.(json.Number) @@ -61570,7 +58611,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pid = ptr.Int32(int32(i64)) } - case "TerminatedAt": if value != nil { jtv, ok := value.(string) @@ -61579,7 +58619,6 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.TerminatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -61619,12 +58658,10 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ActivationUrl = ptr.String(jtv) } - case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -61633,7 +58670,6 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.CompanyName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -61642,12 +58678,10 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.Description = ptr.String(jtv) } - case "IntegrationTypes": if err := awsRestjson1_deserializeDocumentIntegrationTypeList(&sv.IntegrationTypes, value); err != nil { return err } - case "MarketplaceUrl": if value != nil { jtv, ok := value.(string) @@ -61656,7 +58690,6 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.MarketplaceUrl = ptr.String(jtv) } - case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -61665,7 +58698,6 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductArn = ptr.String(jtv) } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -61674,7 +58706,6 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductName = ptr.String(jtv) } - case "ProductSubscriptionResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -61683,7 +58714,6 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductSubscriptionResourcePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -61793,7 +58823,6 @@ func awsRestjson1_deserializeDocumentPropagatingVgwSetDetails(v **types.Propagat } sv.GatewayId = ptr.String(jtv) } - default: _, _ = key, value @@ -61871,7 +58900,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.End = ptr.Int64(i64) } - case "Start": if value != nil { jtv, ok := value.(json.Number) @@ -61884,7 +58912,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Start = ptr.Int64(i64) } - case "StartColumn": if value != nil { jtv, ok := value.(json.Number) @@ -61897,7 +58924,6 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.StartColumn = ptr.Int64(i64) } - default: _, _ = key, value @@ -61971,7 +58997,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -61980,7 +59005,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -62020,7 +59044,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.JsonPath = ptr.String(jtv) } - case "RecordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -62033,7 +59056,6 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.RecordIndex = ptr.Int64(i64) } - default: _, _ = key, value @@ -62107,7 +59129,6 @@ func awsRestjson1_deserializeDocumentRelatedFinding(v **types.RelatedFinding, va } sv.Id = ptr.String(jtv) } - case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -62116,7 +59137,6 @@ func awsRestjson1_deserializeDocumentRelatedFinding(v **types.RelatedFinding, va } sv.ProductArn = ptr.String(jtv) } - default: _, _ = key, value @@ -62222,7 +59242,6 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } - default: _, _ = key, value @@ -62262,7 +59281,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ApplicationArn = ptr.String(jtv) } - case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -62271,17 +59289,14 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ApplicationName = ptr.String(jtv) } - case "DataClassification": if err := awsRestjson1_deserializeDocumentDataClassificationDetails(&sv.DataClassification, value); err != nil { return err } - case "Details": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -62290,7 +59305,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "Partition": if value != nil { jtv, ok := value.(string) @@ -62299,7 +59313,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Partition = types.Partition(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -62308,7 +59321,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } - case "ResourceRole": if value != nil { jtv, ok := value.(string) @@ -62317,12 +59329,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceRole = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -62331,7 +59341,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -62361,13 +59370,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -62377,8 +59380,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -62386,15 +59388,11 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -62425,497 +59423,398 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(&sv.AwsAmazonMqBroker, value); err != nil { return err } - case "AwsApiGatewayRestApi": if err := awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(&sv.AwsApiGatewayRestApi, value); err != nil { return err } - case "AwsApiGatewayStage": if err := awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(&sv.AwsApiGatewayStage, value); err != nil { return err } - case "AwsApiGatewayV2Api": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(&sv.AwsApiGatewayV2Api, value); err != nil { return err } - case "AwsApiGatewayV2Stage": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(&sv.AwsApiGatewayV2Stage, value); err != nil { return err } - case "AwsAppSyncGraphQlApi": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(&sv.AwsAppSyncGraphQlApi, value); err != nil { return err } - case "AwsAthenaWorkGroup": if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(&sv.AwsAthenaWorkGroup, value); err != nil { return err } - case "AwsAutoScalingAutoScalingGroup": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(&sv.AwsAutoScalingAutoScalingGroup, value); err != nil { return err } - case "AwsAutoScalingLaunchConfiguration": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(&sv.AwsAutoScalingLaunchConfiguration, value); err != nil { return err } - case "AwsBackupBackupPlan": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(&sv.AwsBackupBackupPlan, value); err != nil { return err } - case "AwsBackupBackupVault": if err := awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(&sv.AwsBackupBackupVault, value); err != nil { return err } - case "AwsBackupRecoveryPoint": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(&sv.AwsBackupRecoveryPoint, value); err != nil { return err } - case "AwsCertificateManagerCertificate": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(&sv.AwsCertificateManagerCertificate, value); err != nil { return err } - case "AwsCloudFormationStack": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(&sv.AwsCloudFormationStack, value); err != nil { return err } - case "AwsCloudFrontDistribution": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(&sv.AwsCloudFrontDistribution, value); err != nil { return err } - case "AwsCloudTrailTrail": if err := awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(&sv.AwsCloudTrailTrail, value); err != nil { return err } - case "AwsCloudWatchAlarm": if err := awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(&sv.AwsCloudWatchAlarm, value); err != nil { return err } - case "AwsCodeBuildProject": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(&sv.AwsCodeBuildProject, value); err != nil { return err } - case "AwsDmsEndpoint": if err := awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(&sv.AwsDmsEndpoint, value); err != nil { return err } - case "AwsDmsReplicationInstance": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(&sv.AwsDmsReplicationInstance, value); err != nil { return err } - case "AwsDmsReplicationTask": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(&sv.AwsDmsReplicationTask, value); err != nil { return err } - case "AwsDynamoDbTable": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(&sv.AwsDynamoDbTable, value); err != nil { return err } - case "AwsEc2ClientVpnEndpoint": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(&sv.AwsEc2ClientVpnEndpoint, value); err != nil { return err } - case "AwsEc2Eip": if err := awsRestjson1_deserializeDocumentAwsEc2EipDetails(&sv.AwsEc2Eip, value); err != nil { return err } - case "AwsEc2Instance": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(&sv.AwsEc2Instance, value); err != nil { return err } - case "AwsEc2LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(&sv.AwsEc2LaunchTemplate, value); err != nil { return err } - case "AwsEc2NetworkAcl": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(&sv.AwsEc2NetworkAcl, value); err != nil { return err } - case "AwsEc2NetworkInterface": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(&sv.AwsEc2NetworkInterface, value); err != nil { return err } - case "AwsEc2RouteTable": if err := awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(&sv.AwsEc2RouteTable, value); err != nil { return err } - case "AwsEc2SecurityGroup": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(&sv.AwsEc2SecurityGroup, value); err != nil { return err } - case "AwsEc2Subnet": if err := awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(&sv.AwsEc2Subnet, value); err != nil { return err } - case "AwsEc2TransitGateway": if err := awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(&sv.AwsEc2TransitGateway, value); err != nil { return err } - case "AwsEc2Volume": if err := awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(&sv.AwsEc2Volume, value); err != nil { return err } - case "AwsEc2Vpc": if err := awsRestjson1_deserializeDocumentAwsEc2VpcDetails(&sv.AwsEc2Vpc, value); err != nil { return err } - case "AwsEc2VpcEndpointService": if err := awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(&sv.AwsEc2VpcEndpointService, value); err != nil { return err } - case "AwsEc2VpcPeeringConnection": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(&sv.AwsEc2VpcPeeringConnection, value); err != nil { return err } - case "AwsEc2VpnConnection": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(&sv.AwsEc2VpnConnection, value); err != nil { return err } - case "AwsEcrContainerImage": if err := awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } - case "AwsEcrRepository": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(&sv.AwsEcrRepository, value); err != nil { return err } - case "AwsEcsCluster": if err := awsRestjson1_deserializeDocumentAwsEcsClusterDetails(&sv.AwsEcsCluster, value); err != nil { return err } - case "AwsEcsContainer": if err := awsRestjson1_deserializeDocumentAwsEcsContainerDetails(&sv.AwsEcsContainer, value); err != nil { return err } - case "AwsEcsService": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDetails(&sv.AwsEcsService, value); err != nil { return err } - case "AwsEcsTask": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDetails(&sv.AwsEcsTask, value); err != nil { return err } - case "AwsEcsTaskDefinition": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(&sv.AwsEcsTaskDefinition, value); err != nil { return err } - case "AwsEfsAccessPoint": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(&sv.AwsEfsAccessPoint, value); err != nil { return err } - case "AwsEksCluster": if err := awsRestjson1_deserializeDocumentAwsEksClusterDetails(&sv.AwsEksCluster, value); err != nil { return err } - case "AwsElasticBeanstalkEnvironment": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(&sv.AwsElasticBeanstalkEnvironment, value); err != nil { return err } - case "AwsElasticsearchDomain": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(&sv.AwsElasticsearchDomain, value); err != nil { return err } - case "AwsElbLoadBalancer": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(&sv.AwsElbLoadBalancer, value); err != nil { return err } - case "AwsElbv2LoadBalancer": if err := awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(&sv.AwsElbv2LoadBalancer, value); err != nil { return err } - case "AwsEventSchemasRegistry": if err := awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(&sv.AwsEventSchemasRegistry, value); err != nil { return err } - case "AwsEventsEndpoint": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(&sv.AwsEventsEndpoint, value); err != nil { return err } - case "AwsEventsEventbus": if err := awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(&sv.AwsEventsEventbus, value); err != nil { return err } - case "AwsGuardDutyDetector": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(&sv.AwsGuardDutyDetector, value); err != nil { return err } - case "AwsIamAccessKey": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(&sv.AwsIamAccessKey, value); err != nil { return err } - case "AwsIamGroup": if err := awsRestjson1_deserializeDocumentAwsIamGroupDetails(&sv.AwsIamGroup, value); err != nil { return err } - case "AwsIamPolicy": if err := awsRestjson1_deserializeDocumentAwsIamPolicyDetails(&sv.AwsIamPolicy, value); err != nil { return err } - case "AwsIamRole": if err := awsRestjson1_deserializeDocumentAwsIamRoleDetails(&sv.AwsIamRole, value); err != nil { return err } - case "AwsIamUser": if err := awsRestjson1_deserializeDocumentAwsIamUserDetails(&sv.AwsIamUser, value); err != nil { return err } - case "AwsKinesisStream": if err := awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(&sv.AwsKinesisStream, value); err != nil { return err } - case "AwsKmsKey": if err := awsRestjson1_deserializeDocumentAwsKmsKeyDetails(&sv.AwsKmsKey, value); err != nil { return err } - case "AwsLambdaFunction": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(&sv.AwsLambdaFunction, value); err != nil { return err } - case "AwsLambdaLayerVersion": if err := awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(&sv.AwsLambdaLayerVersion, value); err != nil { return err } - case "AwsMskCluster": if err := awsRestjson1_deserializeDocumentAwsMskClusterDetails(&sv.AwsMskCluster, value); err != nil { return err } - case "AwsNetworkFirewallFirewall": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(&sv.AwsNetworkFirewallFirewall, value); err != nil { return err } - case "AwsNetworkFirewallFirewallPolicy": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(&sv.AwsNetworkFirewallFirewallPolicy, value); err != nil { return err } - case "AwsNetworkFirewallRuleGroup": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(&sv.AwsNetworkFirewallRuleGroup, value); err != nil { return err } - case "AwsOpenSearchServiceDomain": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(&sv.AwsOpenSearchServiceDomain, value); err != nil { return err } - case "AwsRdsDbCluster": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(&sv.AwsRdsDbCluster, value); err != nil { return err } - case "AwsRdsDbClusterSnapshot": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(&sv.AwsRdsDbClusterSnapshot, value); err != nil { return err } - case "AwsRdsDbInstance": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(&sv.AwsRdsDbInstance, value); err != nil { return err } - case "AwsRdsDbSecurityGroup": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(&sv.AwsRdsDbSecurityGroup, value); err != nil { return err } - case "AwsRdsDbSnapshot": if err := awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(&sv.AwsRdsDbSnapshot, value); err != nil { return err } - case "AwsRdsEventSubscription": if err := awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(&sv.AwsRdsEventSubscription, value); err != nil { return err } - case "AwsRedshiftCluster": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(&sv.AwsRedshiftCluster, value); err != nil { return err } - case "AwsRoute53HostedZone": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneDetails(&sv.AwsRoute53HostedZone, value); err != nil { return err } - case "AwsS3AccessPoint": if err := awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(&sv.AwsS3AccessPoint, value); err != nil { return err } - case "AwsS3AccountPublicAccessBlock": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.AwsS3AccountPublicAccessBlock, value); err != nil { return err } - case "AwsS3Bucket": if err := awsRestjson1_deserializeDocumentAwsS3BucketDetails(&sv.AwsS3Bucket, value); err != nil { return err } - case "AwsS3Object": if err := awsRestjson1_deserializeDocumentAwsS3ObjectDetails(&sv.AwsS3Object, value); err != nil { return err } - case "AwsSageMakerNotebookInstance": if err := awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(&sv.AwsSageMakerNotebookInstance, value); err != nil { return err } - case "AwsSecretsManagerSecret": if err := awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(&sv.AwsSecretsManagerSecret, value); err != nil { return err } - case "AwsSnsTopic": if err := awsRestjson1_deserializeDocumentAwsSnsTopicDetails(&sv.AwsSnsTopic, value); err != nil { return err } - case "AwsSqsQueue": if err := awsRestjson1_deserializeDocumentAwsSqsQueueDetails(&sv.AwsSqsQueue, value); err != nil { return err } - case "AwsSsmPatchCompliance": if err := awsRestjson1_deserializeDocumentAwsSsmPatchComplianceDetails(&sv.AwsSsmPatchCompliance, value); err != nil { return err } - case "AwsStepFunctionStateMachine": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(&sv.AwsStepFunctionStateMachine, value); err != nil { return err } - case "AwsWafRateBasedRule": if err := awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(&sv.AwsWafRateBasedRule, value); err != nil { return err } - case "AwsWafRegionalRateBasedRule": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(&sv.AwsWafRegionalRateBasedRule, value); err != nil { return err } - case "AwsWafRegionalRule": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(&sv.AwsWafRegionalRule, value); err != nil { return err } - case "AwsWafRegionalRuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(&sv.AwsWafRegionalRuleGroup, value); err != nil { return err } - case "AwsWafRegionalWebAcl": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(&sv.AwsWafRegionalWebAcl, value); err != nil { return err } - case "AwsWafRule": if err := awsRestjson1_deserializeDocumentAwsWafRuleDetails(&sv.AwsWafRule, value); err != nil { return err } - case "AwsWafRuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(&sv.AwsWafRuleGroup, value); err != nil { return err } - case "AwsWafv2RuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(&sv.AwsWafv2RuleGroup, value); err != nil { return err } - case "AwsWafv2WebAcl": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(&sv.AwsWafv2WebAcl, value); err != nil { return err } - case "AwsWafWebAcl": if err := awsRestjson1_deserializeDocumentAwsWafWebAclDetails(&sv.AwsWafWebAcl, value); err != nil { return err } - case "AwsXrayEncryptionConfig": if err := awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(&sv.AwsXrayEncryptionConfig, value); err != nil { return err } - case "Container": if err := awsRestjson1_deserializeDocumentContainerDetails(&sv.Container, value); err != nil { return err } - case "Other": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Other, value); err != nil { return err } - default: _, _ = key, value @@ -62945,13 +59844,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -62961,8 +59854,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -62970,15 +59862,11 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -63037,13 +59925,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -63053,8 +59935,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -63062,15 +59943,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -63105,7 +59982,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.AccountId = ptr.String(jtv) } - case "ProcessingResult": if value != nil { jtv, ok := value.(string) @@ -63114,7 +59990,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ProcessingResult = ptr.String(jtv) } - default: _, _ = key, value @@ -63188,7 +60063,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.CarrierGatewayId = ptr.String(jtv) } - case "CoreNetworkArn": if value != nil { jtv, ok := value.(string) @@ -63197,7 +60071,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.CoreNetworkArn = ptr.String(jtv) } - case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -63206,7 +60079,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationCidrBlock = ptr.String(jtv) } - case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -63215,7 +60087,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } - case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -63224,7 +60095,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationPrefixListId = ptr.String(jtv) } - case "EgressOnlyInternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -63233,7 +60103,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.EgressOnlyInternetGatewayId = ptr.String(jtv) } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -63242,7 +60111,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.GatewayId = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -63251,7 +60119,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.InstanceId = ptr.String(jtv) } - case "InstanceOwnerId": if value != nil { jtv, ok := value.(string) @@ -63260,7 +60127,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.InstanceOwnerId = ptr.String(jtv) } - case "LocalGatewayId": if value != nil { jtv, ok := value.(string) @@ -63269,7 +60135,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.LocalGatewayId = ptr.String(jtv) } - case "NatGatewayId": if value != nil { jtv, ok := value.(string) @@ -63278,7 +60143,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.NatGatewayId = ptr.String(jtv) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -63287,7 +60151,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.NetworkInterfaceId = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -63296,7 +60159,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.Origin = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -63305,7 +60167,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.State = ptr.String(jtv) } - case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -63314,7 +60175,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.TransitGatewayId = ptr.String(jtv) } - case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -63323,7 +60183,6 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.VpcPeeringConnectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -63393,12 +60252,10 @@ func awsRestjson1_deserializeDocumentRuleGroupDetails(v **types.RuleGroupDetails if err := awsRestjson1_deserializeDocumentRuleGroupSource(&sv.RulesSource, value); err != nil { return err } - case "RuleVariables": if err := awsRestjson1_deserializeDocumentRuleGroupVariables(&sv.RuleVariables, value); err != nil { return err } - default: _, _ = key, value @@ -63434,7 +60291,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSource(v **types.RuleGroupSource, if err := awsRestjson1_deserializeDocumentRuleGroupSourceListDetails(&sv.RulesSourceList, value); err != nil { return err } - case "RulesString": if value != nil { jtv, ok := value.(string) @@ -63443,17 +60299,14 @@ func awsRestjson1_deserializeDocumentRuleGroupSource(v **types.RuleGroupSource, } sv.RulesString = ptr.String(jtv) } - case "StatefulRules": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesList(&sv.StatefulRules, value); err != nil { return err } - case "StatelessRulesAndCustomActions": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesAndCustomActionsDetails(&sv.StatelessRulesAndCustomActions, value); err != nil { return err } - default: _, _ = key, value @@ -63489,7 +60342,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsDetails(v **typ if err := awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(&sv.ActionDefinition, value); err != nil { return err } - case "ActionName": if value != nil { jtv, ok := value.(string) @@ -63498,7 +60350,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsDetails(v **typ } sv.ActionName = ptr.String(jtv) } - default: _, _ = key, value @@ -63572,17 +60423,14 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceListDetails(v **types.RuleGr } sv.GeneratedRulesType = ptr.String(jtv) } - case "Targets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Targets, value); err != nil { return err } - case "TargetTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.TargetTypes, value); err != nil { return err } - default: _, _ = key, value @@ -63622,17 +60470,14 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesDetails(v **typ } sv.Action = ptr.String(jtv) } - case "Header": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(&sv.Header, value); err != nil { return err } - case "RuleOptions": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesOptionsList(&sv.RuleOptions, value); err != nil { return err } - default: _, _ = key, value @@ -63672,7 +60517,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Destination = ptr.String(jtv) } - case "DestinationPort": if value != nil { jtv, ok := value.(string) @@ -63681,7 +60525,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.DestinationPort = ptr.String(jtv) } - case "Direction": if value != nil { jtv, ok := value.(string) @@ -63690,7 +60533,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Direction = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -63699,7 +60541,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Protocol = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -63708,7 +60549,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Source = ptr.String(jtv) } - case "SourcePort": if value != nil { jtv, ok := value.(string) @@ -63717,7 +60557,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.SourcePort = ptr.String(jtv) } - default: _, _ = key, value @@ -63791,12 +60630,10 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesOptionsDetails( } sv.Keyword = ptr.String(jtv) } - case "Settings": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesRuleOptionsSettingsList(&sv.Settings, value); err != nil { return err } - default: _, _ = key, value @@ -63902,12 +60739,10 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleDefinition(v ** if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Actions, value); err != nil { return err } - case "MatchAttributes": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes(&sv.MatchAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -63943,32 +60778,26 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList(&sv.DestinationPorts, value); err != nil { return err } - case "Destinations": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesDestinationsList(&sv.Destinations, value); err != nil { return err } - case "Protocols": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesProtocolsList(&sv.Protocols, value); err != nil { return err } - case "SourcePorts": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesSourcePortsList(&sv.SourcePorts, value); err != nil { return err } - case "Sources": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesSourcesList(&sv.Sources, value); err != nil { return err } - case "TcpFlags": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList(&sv.TcpFlags, value); err != nil { return err } - default: _, _ = key, value @@ -64012,7 +60841,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.FromPort = ptr.Int32(int32(i64)) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -64025,7 +60853,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -64099,7 +60926,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.AddressDefinition = ptr.String(jtv) } - default: _, _ = key, value @@ -64217,7 +61043,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.FromPort = ptr.Int32(int32(i64)) } - case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -64230,7 +61055,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.ToPort = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -64304,7 +61128,6 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.AddressDefinition = ptr.String(jtv) } - default: _, _ = key, value @@ -64374,12 +61197,10 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Flags, value); err != nil { return err } - case "Masks": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Masks, value); err != nil { return err } - default: _, _ = key, value @@ -64449,12 +61270,10 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesAndCustomActio if err := awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsList(&sv.CustomActions, value); err != nil { return err } - case "StatelessRules": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesList(&sv.StatelessRules, value); err != nil { return err } - default: _, _ = key, value @@ -64498,12 +61317,10 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesDetails(v **ty } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleDefinition": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleDefinition(&sv.RuleDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -64573,12 +61390,10 @@ func awsRestjson1_deserializeDocumentRuleGroupVariables(v **types.RuleGroupVaria if err := awsRestjson1_deserializeDocumentRuleGroupVariablesIpSetsDetails(&sv.IpSets, value); err != nil { return err } - case "PortSets": if err := awsRestjson1_deserializeDocumentRuleGroupVariablesPortSetsDetails(&sv.PortSets, value); err != nil { return err } - default: _, _ = key, value @@ -64614,7 +61429,6 @@ func awsRestjson1_deserializeDocumentRuleGroupVariablesIpSetsDetails(v **types.R if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Definition, value); err != nil { return err } - default: _, _ = key, value @@ -64650,7 +61464,6 @@ func awsRestjson1_deserializeDocumentRuleGroupVariablesPortSetsDetails(v **types if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Definition, value); err != nil { return err } - default: _, _ = key, value @@ -64690,7 +61503,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.Description = ptr.String(jtv) } - case "LastUpdateReason": if value != nil { jtv, ok := value.(string) @@ -64699,12 +61511,10 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.LastUpdateReason = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -64713,7 +61523,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.RemediationUrl = ptr.String(jtv) } - case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -64722,7 +61531,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlArn = ptr.String(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -64731,7 +61539,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlId = ptr.String(jtv) } - case "SecurityControlStatus": if value != nil { jtv, ok := value.(string) @@ -64740,7 +61547,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlStatus = types.ControlStatus(jtv) } - case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -64749,7 +61555,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SeverityRating = types.SeverityRating(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -64758,7 +61563,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.Title = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -64767,7 +61571,6 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.UpdateStatus = types.UpdateStatus(jtv) } - default: _, _ = key, value @@ -64803,7 +61606,6 @@ func awsRestjson1_deserializeDocumentSecurityControlCustomParameter(v **types.Se if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -64812,7 +61614,6 @@ func awsRestjson1_deserializeDocumentSecurityControlCustomParameter(v **types.Se } sv.SecurityControlId = ptr.String(jtv) } - default: _, _ = key, value @@ -64886,12 +61687,10 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.CurrentRegionAvailability = types.RegionAvailabilityStatus(jtv) } - case "CustomizableProperties": if err := awsRestjson1_deserializeDocumentCustomizableProperties(&sv.CustomizableProperties, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -64900,12 +61699,10 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.Description = ptr.String(jtv) } - case "ParameterDefinitions": if err := awsRestjson1_deserializeDocumentParameterDefinitions(&sv.ParameterDefinitions, value); err != nil { return err } - case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -64914,7 +61711,6 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.RemediationUrl = ptr.String(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -64923,7 +61719,6 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.SecurityControlId = ptr.String(jtv) } - case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -64932,7 +61727,6 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.SeverityRating = types.SeverityRating(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -64941,7 +61735,6 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -65015,12 +61808,10 @@ func awsRestjson1_deserializeDocumentSecurityControlParameter(v **types.Security } sv.Name = ptr.String(jtv) } - case "Value": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -65124,17 +61915,14 @@ func awsRestjson1_deserializeDocumentSecurityControlsConfiguration(v **types.Sec if err := awsRestjson1_deserializeDocumentDisabledSecurityControlIdentifierList(&sv.DisabledSecurityControlIdentifiers, value); err != nil { return err } - case "EnabledSecurityControlIdentifiers": if err := awsRestjson1_deserializeDocumentEnabledSecurityControlIdentifierList(&sv.EnabledSecurityControlIdentifiers, value); err != nil { return err } - case "SecurityControlCustomParameters": if err := awsRestjson1_deserializeDocumentSecurityControlCustomParametersList(&sv.SecurityControlCustomParameters, value); err != nil { return err } - default: _, _ = key, value @@ -65206,12 +61994,10 @@ func awsRestjson1_deserializeDocumentSecurityHubPolicy(v **types.SecurityHubPoli if err := awsRestjson1_deserializeDocumentEnabledStandardIdentifierList(&sv.EnabledStandardIdentifiers, value); err != nil { return err } - case "SecurityControlsConfiguration": if err := awsRestjson1_deserializeDocumentSecurityControlsConfiguration(&sv.SecurityControlsConfiguration, value); err != nil { return err } - case "ServiceEnabled": if value != nil { jtv, ok := value.(bool) @@ -65220,7 +62006,6 @@ func awsRestjson1_deserializeDocumentSecurityHubPolicy(v **types.SecurityHubPoli } sv.ServiceEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -65264,12 +62049,10 @@ func awsRestjson1_deserializeDocumentSensitiveDataDetections(v **types.Sensitive } sv.Count = ptr.Int64(i64) } - case "Occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -65278,7 +62061,6 @@ func awsRestjson1_deserializeDocumentSensitiveDataDetections(v **types.Sensitive } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -65352,12 +62134,10 @@ func awsRestjson1_deserializeDocumentSensitiveDataResult(v **types.SensitiveData } sv.Category = ptr.String(jtv) } - case "Detections": if err := awsRestjson1_deserializeDocumentSensitiveDataDetectionsList(&sv.Detections, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -65370,7 +62150,6 @@ func awsRestjson1_deserializeDocumentSensitiveDataResult(v **types.SensitiveData } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -65444,7 +62223,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Label = types.SeverityLabel(jtv) } - case "Normalized": if value != nil { jtv, ok := value.(json.Number) @@ -65457,7 +62235,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Normalized = ptr.Int32(int32(i64)) } - case "Original": if value != nil { jtv, ok := value.(string) @@ -65466,7 +62243,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Original = ptr.String(jtv) } - case "Product": if value != nil { switch jtv := value.(type) { @@ -65500,7 +62276,6 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } } - default: _, _ = key, value @@ -65540,7 +62315,6 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } sv.Label = types.SeverityLabel(jtv) } - case "Normalized": if value != nil { jtv, ok := value.(json.Number) @@ -65553,7 +62327,6 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } sv.Normalized = ptr.Int32(int32(i64)) } - case "Product": if value != nil { switch jtv := value.(type) { @@ -65587,7 +62360,6 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } } - default: _, _ = key, value @@ -65627,7 +62399,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Architecture = ptr.String(jtv) } - case "Epoch": if value != nil { jtv, ok := value.(string) @@ -65636,7 +62407,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Epoch = ptr.String(jtv) } - case "FilePath": if value != nil { jtv, ok := value.(string) @@ -65645,7 +62415,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.FilePath = ptr.String(jtv) } - case "FixedInVersion": if value != nil { jtv, ok := value.(string) @@ -65654,7 +62423,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.FixedInVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -65663,7 +62431,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Name = ptr.String(jtv) } - case "PackageManager": if value != nil { jtv, ok := value.(string) @@ -65672,7 +62439,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.PackageManager = ptr.String(jtv) } - case "Release": if value != nil { jtv, ok := value.(string) @@ -65681,7 +62447,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Release = ptr.String(jtv) } - case "Remediation": if value != nil { jtv, ok := value.(string) @@ -65690,7 +62455,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Remediation = ptr.String(jtv) } - case "SourceLayerArn": if value != nil { jtv, ok := value.(string) @@ -65699,7 +62463,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.SourceLayerArn = ptr.String(jtv) } - case "SourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -65708,7 +62471,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.SourceLayerHash = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -65717,7 +62479,6 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -65791,7 +62552,6 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.Description = ptr.String(jtv) } - case "EnabledByDefault": if value != nil { jtv, ok := value.(bool) @@ -65800,7 +62560,6 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.EnabledByDefault = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -65809,7 +62568,6 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.Name = ptr.String(jtv) } - case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -65818,12 +62576,10 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.StandardsArn = ptr.String(jtv) } - case "StandardsManagedBy": if err := awsRestjson1_deserializeDocumentStandardsManagedBy(&sv.StandardsManagedBy, value); err != nil { return err } - default: _, _ = key, value @@ -65897,7 +62653,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlId = ptr.String(jtv) } - case "ControlStatus": if value != nil { jtv, ok := value.(string) @@ -65906,7 +62661,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlStatus = types.ControlStatus(jtv) } - case "ControlStatusUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -65919,7 +62673,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlStatusUpdatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -65928,7 +62681,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.Description = ptr.String(jtv) } - case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -65937,12 +62689,10 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.DisabledReason = ptr.String(jtv) } - case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } - case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -65951,7 +62701,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.RemediationUrl = ptr.String(jtv) } - case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -65960,7 +62709,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.SeverityRating = types.SeverityRating(jtv) } - case "StandardsControlArn": if value != nil { jtv, ok := value.(string) @@ -65969,7 +62717,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.StandardsControlArn = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -65978,7 +62725,6 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -66054,12 +62800,10 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.AssociationStatus = types.AssociationStatus(jtv) } - case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } - case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -66068,7 +62812,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.SecurityControlArn = ptr.String(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -66077,7 +62820,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.SecurityControlId = ptr.String(jtv) } - case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -66086,12 +62828,10 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsArn = ptr.String(jtv) } - case "StandardsControlArns": if err := awsRestjson1_deserializeDocumentStandardsControlArnList(&sv.StandardsControlArns, value); err != nil { return err } - case "StandardsControlDescription": if value != nil { jtv, ok := value.(string) @@ -66100,7 +62840,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsControlDescription = ptr.String(jtv) } - case "StandardsControlTitle": if value != nil { jtv, ok := value.(string) @@ -66109,7 +62848,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsControlTitle = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -66122,7 +62860,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.UpdatedAt = ptr.Time(t) } - case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -66131,7 +62868,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.UpdatedReason = ptr.String(jtv) } - default: _, _ = key, value @@ -66205,7 +62941,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationId(v **types.Sta } sv.SecurityControlId = ptr.String(jtv) } - case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -66214,7 +62949,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationId(v **types.Sta } sv.StandardsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -66288,12 +63022,10 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.AssociationStatus = types.AssociationStatus(jtv) } - case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } - case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -66302,7 +63034,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.SecurityControlArn = ptr.String(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -66311,7 +63042,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.SecurityControlId = ptr.String(jtv) } - case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -66320,7 +63050,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsArn = ptr.String(jtv) } - case "StandardsControlDescription": if value != nil { jtv, ok := value.(string) @@ -66329,7 +63058,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsControlDescription = ptr.String(jtv) } - case "StandardsControlTitle": if value != nil { jtv, ok := value.(string) @@ -66338,7 +63066,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsControlTitle = ptr.String(jtv) } - case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -66351,7 +63078,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.UpdatedAt = ptr.Time(t) } - case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -66360,7 +63086,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.UpdatedReason = ptr.String(jtv) } - default: _, _ = key, value @@ -66400,7 +63125,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.AssociationStatus = types.AssociationStatus(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -66409,7 +63133,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.SecurityControlId = ptr.String(jtv) } - case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -66418,7 +63141,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.StandardsArn = ptr.String(jtv) } - case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -66427,7 +63149,6 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.UpdatedReason = ptr.String(jtv) } - default: _, _ = key, value @@ -66537,7 +63258,6 @@ func awsRestjson1_deserializeDocumentStandardsManagedBy(v **types.StandardsManag } sv.Company = ptr.String(jtv) } - case "Product": if value != nil { jtv, ok := value.(string) @@ -66546,7 +63266,6 @@ func awsRestjson1_deserializeDocumentStandardsManagedBy(v **types.StandardsManag } sv.Product = ptr.String(jtv) } - default: _, _ = key, value @@ -66586,7 +63305,6 @@ func awsRestjson1_deserializeDocumentStandardsStatusReason(v **types.StandardsSt } sv.StatusReasonCode = types.StatusReasonCode(jtv) } - default: _, _ = key, value @@ -66626,12 +63344,10 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsArn = ptr.String(jtv) } - case "StandardsInput": if err := awsRestjson1_deserializeDocumentStandardsInputParameterMap(&sv.StandardsInput, value); err != nil { return err } - case "StandardsStatus": if value != nil { jtv, ok := value.(string) @@ -66640,12 +63356,10 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsStatus = types.StandardsStatus(jtv) } - case "StandardsStatusReason": if err := awsRestjson1_deserializeDocumentStandardsStatusReason(&sv.StandardsStatusReason, value); err != nil { return err } - case "StandardsSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -66654,7 +63368,6 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsSubscriptionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -66724,7 +63437,6 @@ func awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(v **types.S if err := awsRestjson1_deserializeDocumentStatelessCustomPublishMetricAction(&sv.PublishMetricAction, value); err != nil { return err } - default: _, _ = key, value @@ -66760,7 +63472,6 @@ func awsRestjson1_deserializeDocumentStatelessCustomPublishMetricAction(v **type if err := awsRestjson1_deserializeDocumentStatelessCustomPublishMetricActionDimensionsList(&sv.Dimensions, value); err != nil { return err } - default: _, _ = key, value @@ -66800,7 +63511,6 @@ func awsRestjson1_deserializeDocumentStatelessCustomPublishMetricActionDimension } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -66874,7 +63584,6 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.Description = ptr.String(jtv) } - case "ReasonCode": if value != nil { jtv, ok := value.(string) @@ -66883,7 +63592,6 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.ReasonCode = ptr.String(jtv) } - default: _, _ = key, value @@ -66957,7 +63665,6 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.DefaultValue = ptr.String(jtv) } - case "ExpressionDescription": if value != nil { jtv, ok := value.(string) @@ -66966,7 +63673,6 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.ExpressionDescription = ptr.String(jtv) } - case "Re2Expression": if value != nil { jtv, ok := value.(string) @@ -66975,7 +63681,6 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.Re2Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -67015,7 +63720,6 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Comparison = types.StringFilterComparison(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -67024,7 +63728,6 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -67130,7 +63833,6 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St if err := awsRestjson1_deserializeDocumentStringList(&sv.DefaultValue, value); err != nil { return err } - case "ExpressionDescription": if value != nil { jtv, ok := value.(string) @@ -67139,7 +63841,6 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.ExpressionDescription = ptr.String(jtv) } - case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -67152,7 +63853,6 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.MaxItems = ptr.Int32(int32(i64)) } - case "Re2Expression": if value != nil { jtv, ok := value.(string) @@ -67161,7 +63861,6 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.Re2Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -67299,7 +63998,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) if err := awsRestjson1_deserializeDocumentFilePathList(&sv.FilePaths, value); err != nil { return err } - case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -67312,7 +64010,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.ItemCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -67321,7 +64018,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Name = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -67330,7 +64026,6 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Severity = ptr.String(jtv) } - default: _, _ = key, value @@ -67370,7 +64065,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Category = types.ThreatIntelIndicatorCategory(jtv) } - case "LastObservedAt": if value != nil { jtv, ok := value.(string) @@ -67379,7 +64073,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.LastObservedAt = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -67388,7 +64081,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Source = ptr.String(jtv) } - case "SourceUrl": if value != nil { jtv, ok := value.(string) @@ -67397,7 +64089,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.SourceUrl = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -67406,7 +64097,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Type = types.ThreatIntelIndicatorType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -67415,7 +64105,6 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -67563,7 +64252,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.ErrorCode = ptr.Int32(int32(i64)) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -67572,7 +64260,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.ErrorMessage = ptr.String(jtv) } - case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -67581,7 +64268,6 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.RuleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -67651,7 +64337,6 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociation(&sv.ConfigurationPolicyAssociationIdentifiers, value); err != nil { return err } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -67660,7 +64345,6 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v } sv.ErrorCode = ptr.String(jtv) } - case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -67669,7 +64353,6 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v } sv.ErrorReason = ptr.String(jtv) } - default: _, _ = key, value @@ -67743,7 +64426,6 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } - case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -67752,7 +64434,6 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.ErrorReason = ptr.String(jtv) } - case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -67761,7 +64442,6 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.SecurityControlId = ptr.String(jtv) } - default: _, _ = key, value @@ -67835,7 +64515,6 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociation(v ** } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } - case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -67844,12 +64523,10 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociation(v ** } sv.ErrorReason = ptr.String(jtv) } - case "StandardsControlAssociationId": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationId(&sv.StandardsControlAssociationId, value); err != nil { return err } - default: _, _ = key, value @@ -67923,7 +64600,6 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdat } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } - case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -67932,12 +64608,10 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdat } sv.ErrorReason = ptr.String(jtv) } - case "StandardsControlAssociationUpdate": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(&sv.StandardsControlAssociationUpdate, value); err != nil { return err } - default: _, _ = key, value @@ -68011,7 +64685,6 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.MountPath = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -68020,7 +64693,6 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -68094,7 +64766,6 @@ func awsRestjson1_deserializeDocumentVpcInfoCidrBlockSetDetails(v **types.VpcInf } sv.CidrBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -68168,7 +64839,6 @@ func awsRestjson1_deserializeDocumentVpcInfoIpv6CidrBlockSetDetails(v **types.Vp } sv.Ipv6CidrBlock = ptr.String(jtv) } - default: _, _ = key, value @@ -68242,7 +64912,6 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowDnsResolutionFromRemoteVpc = ptr.Bool(jtv) } - case "AllowEgressFromLocalClassicLinkToRemoteVpc": if value != nil { jtv, ok := value.(bool) @@ -68251,7 +64920,6 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowEgressFromLocalClassicLinkToRemoteVpc = ptr.Bool(jtv) } - case "AllowEgressFromLocalVpcToRemoteClassicLink": if value != nil { jtv, ok := value.(bool) @@ -68260,7 +64928,6 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowEgressFromLocalVpcToRemoteClassicLink = ptr.Bool(jtv) } - default: _, _ = key, value @@ -68296,12 +64963,10 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilitiesList(&sv.CodeVulnerabilities, value); err != nil { return err } - case "Cvss": if err := awsRestjson1_deserializeDocumentCvssList(&sv.Cvss, value); err != nil { return err } - case "EpssScore": if value != nil { switch jtv := value.(type) { @@ -68335,7 +65000,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } - case "ExploitAvailable": if value != nil { jtv, ok := value.(string) @@ -68344,7 +65008,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.ExploitAvailable = types.VulnerabilityExploitAvailable(jtv) } - case "FixAvailable": if value != nil { jtv, ok := value.(string) @@ -68353,7 +65016,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.FixAvailable = types.VulnerabilityFixAvailable(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -68362,7 +65024,6 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } - case "LastKnownExploitAt": if value != nil { jtv, ok := value.(string) @@ -68371,27 +65032,22 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.LastKnownExploitAt = ptr.String(jtv) } - case "ReferenceUrls": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReferenceUrls, value); err != nil { return err } - case "RelatedVulnerabilities": if err := awsRestjson1_deserializeDocumentStringList(&sv.RelatedVulnerabilities, value); err != nil { return err } - case "Vendor": if err := awsRestjson1_deserializeDocumentVulnerabilityVendor(&sv.Vendor, value); err != nil { return err } - case "VulnerablePackages": if err := awsRestjson1_deserializeDocumentSoftwarePackageList(&sv.VulnerablePackages, value); err != nil { return err } - default: _, _ = key, value @@ -68427,12 +65083,10 @@ func awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilities(v **types. if err := awsRestjson1_deserializeDocumentTypeList(&sv.Cwes, value); err != nil { return err } - case "FilePath": if err := awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(&sv.FilePath, value); err != nil { return err } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -68441,7 +65095,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilities(v **types. } sv.SourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -68549,7 +65202,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.Name = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -68558,7 +65210,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.Url = ptr.String(jtv) } - case "VendorCreatedAt": if value != nil { jtv, ok := value.(string) @@ -68567,7 +65218,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorCreatedAt = ptr.String(jtv) } - case "VendorSeverity": if value != nil { jtv, ok := value.(string) @@ -68576,7 +65226,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorSeverity = ptr.String(jtv) } - case "VendorUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -68585,7 +65234,6 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorUpdatedAt = ptr.String(jtv) } - default: _, _ = key, value @@ -68625,7 +65273,6 @@ func awsRestjson1_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -68665,7 +65312,6 @@ func awsRestjson1_deserializeDocumentWafExcludedRule(v **types.WafExcludedRule, } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -68739,7 +65385,6 @@ func awsRestjson1_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -68779,7 +65424,6 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Status = types.WorkflowStatus(jtv) } - default: _, _ = key, value @@ -68819,7 +65463,6 @@ func awsRestjson1_deserializeDocumentWorkflowUpdate(v **types.WorkflowUpdate, va } sv.Status = types.WorkflowStatus(jtv) } - default: _, _ = key, value diff --git a/service/securitylake/deserializers.go b/service/securitylake/deserializers.go index 5d152226812..b5432514999 100644 --- a/service/securitylake/deserializers.go +++ b/service/securitylake/deserializers.go @@ -187,7 +187,6 @@ func awsRestjson1_deserializeOpDocumentCreateAwsLogSourceOutput(v **CreateAwsLog if err := awsRestjson1_deserializeDocumentAccountList(&sv.Failed, value); err != nil { return err } - default: _, _ = key, value @@ -354,7 +353,6 @@ func awsRestjson1_deserializeOpDocumentCreateCustomLogSourceOutput(v **CreateCus if err := awsRestjson1_deserializeDocumentCustomLogSourceResource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -521,7 +519,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataLakeOutput(v **CreateDataLakeOu if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } - default: _, _ = key, value @@ -894,7 +891,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriberOutput(v **CreateSubscrib if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } - default: _, _ = key, value @@ -1065,7 +1061,6 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriberNotificationOutput(v **Cr } sv.SubscriberEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -1232,7 +1227,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAwsLogSourceOutput(v **DeleteAwsLog if err := awsRestjson1_deserializeDocumentAccountList(&sv.Failed, value); err != nil { return err } - default: _, _ = key, value @@ -2128,7 +2122,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.ExceptionTimeToLive = ptr.Int64(i64) } - case "notificationEndpoint": if value != nil { jtv, ok := value.(string) @@ -2137,7 +2130,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.NotificationEndpoint = ptr.String(jtv) } - case "subscriptionProtocol": if value != nil { jtv, ok := value.(string) @@ -2146,7 +2138,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.SubscriptionProtocol = ptr.String(jtv) } - default: _, _ = key, value @@ -2313,7 +2304,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeOrganizationConfigurationOutpu if err := awsRestjson1_deserializeDocumentDataLakeAutoEnableNewAccountConfigurationList(&sv.AutoEnableNewAccount, value); err != nil { return err } - default: _, _ = key, value @@ -2484,12 +2474,10 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSourcesOutput(v **GetDataLakeS } sv.DataLakeArn = ptr.String(jtv) } - case "dataLakeSources": if err := awsRestjson1_deserializeDocumentDataLakeSourceList(&sv.DataLakeSources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2498,7 +2486,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSourcesOutput(v **GetDataLakeS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2665,7 +2652,6 @@ func awsRestjson1_deserializeOpDocumentGetSubscriberOutput(v **GetSubscriberOutp if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } - default: _, _ = key, value @@ -2832,7 +2818,6 @@ func awsRestjson1_deserializeOpDocumentListDataLakeExceptionsOutput(v **ListData if err := awsRestjson1_deserializeDocumentDataLakeExceptionList(&sv.Exceptions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2841,7 +2826,6 @@ func awsRestjson1_deserializeOpDocumentListDataLakeExceptionsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3008,7 +2992,6 @@ func awsRestjson1_deserializeOpDocumentListDataLakesOutput(v **ListDataLakesOutp if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } - default: _, _ = key, value @@ -3179,12 +3162,10 @@ func awsRestjson1_deserializeOpDocumentListLogSourcesOutput(v **ListLogSourcesOu } sv.NextToken = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentLogSourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -3355,12 +3336,10 @@ func awsRestjson1_deserializeOpDocumentListSubscribersOutput(v **ListSubscribers } sv.NextToken = ptr.String(jtv) } - case "subscribers": if err := awsRestjson1_deserializeDocumentSubscriberResourceList(&sv.Subscribers, value); err != nil { return err } - default: _, _ = key, value @@ -3527,7 +3506,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4003,7 +3981,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataLakeOutput(v **UpdateDataLakeOu if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } - default: _, _ = key, value @@ -4273,7 +4250,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriberOutput(v **UpdateSubscrib if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } - default: _, _ = key, value @@ -4444,7 +4420,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriberNotificationOutput(v **Up } sv.SubscriberEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -4710,13 +4685,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -4726,8 +4695,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4735,15 +4703,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4850,7 +4814,6 @@ func awsRestjson1_deserializeDocumentAwsIdentity(v **types.AwsIdentity, value in } sv.ExternalId = ptr.String(jtv) } - case "principal": if value != nil { jtv, ok := value.(string) @@ -4859,7 +4822,6 @@ func awsRestjson1_deserializeDocumentAwsIdentity(v **types.AwsIdentity, value in } sv.Principal = ptr.String(jtv) } - default: _, _ = key, value @@ -4899,7 +4861,6 @@ func awsRestjson1_deserializeDocumentAwsLogSourceResource(v **types.AwsLogSource } sv.SourceName = types.AwsLogSourceName(jtv) } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -4908,7 +4869,6 @@ func awsRestjson1_deserializeDocumentAwsLogSourceResource(v **types.AwsLogSource } sv.SourceVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4972,15 +4932,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4988,15 +4942,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5021,15 +4971,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5037,7 +4981,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -5046,7 +4989,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5055,15 +4997,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5098,7 +5036,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.CrawlerArn = ptr.String(jtv) } - case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -5107,7 +5044,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.DatabaseArn = ptr.String(jtv) } - case "tableArn": if value != nil { jtv, ok := value.(string) @@ -5116,7 +5052,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.TableArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5156,7 +5091,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceProvider(v **types.CustomLog } sv.Location = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5165,7 +5099,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceProvider(v **types.CustomLog } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5201,12 +5134,10 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog if err := awsRestjson1_deserializeDocumentCustomLogSourceAttributes(&sv.Attributes, value); err != nil { return err } - case "provider": if err := awsRestjson1_deserializeDocumentCustomLogSourceProvider(&sv.Provider, value); err != nil { return err } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5215,7 +5146,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog } sv.SourceName = ptr.String(jtv) } - case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -5224,7 +5154,6 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog } sv.SourceVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -5264,12 +5193,10 @@ func awsRestjson1_deserializeDocumentDataLakeAutoEnableNewAccountConfiguration(v } sv.Region = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentAwsLogSourceResourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -5343,7 +5270,6 @@ func awsRestjson1_deserializeDocumentDataLakeEncryptionConfiguration(v **types.D } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -5383,7 +5309,6 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Exception = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -5392,7 +5317,6 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Region = ptr.String(jtv) } - case "remediation": if value != nil { jtv, ok := value.(string) @@ -5401,7 +5325,6 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Remediation = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -5414,7 +5337,6 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Timestamp = ptr.Time(t) } - default: _, _ = key, value @@ -5484,12 +5406,10 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleConfiguration(v **types.Da if err := awsRestjson1_deserializeDocumentDataLakeLifecycleExpiration(&sv.Expiration, value); err != nil { return err } - case "transitions": if err := awsRestjson1_deserializeDocumentDataLakeLifecycleTransitionList(&sv.Transitions, value); err != nil { return err } - default: _, _ = key, value @@ -5533,7 +5453,6 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleExpiration(v **types.DataL } sv.Days = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5577,7 +5496,6 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleTransition(v **types.DataL } sv.Days = ptr.Int32(int32(i64)) } - case "storageClass": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5504,6 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleTransition(v **types.DataL } sv.StorageClass = ptr.String(jtv) } - default: _, _ = key, value @@ -5656,7 +5573,6 @@ func awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5665,7 +5581,6 @@ func awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(v **types. } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5705,7 +5620,6 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.CreateStatus = types.DataLakeStatus(jtv) } - case "dataLakeArn": if value != nil { jtv, ok := value.(string) @@ -5714,17 +5628,14 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.DataLakeArn = ptr.String(jtv) } - case "encryptionConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "lifecycleConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeLifecycleConfiguration(&sv.LifecycleConfiguration, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -5733,12 +5644,10 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.Region = ptr.String(jtv) } - case "replicationConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } - case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -5747,12 +5656,10 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.S3BucketArn = ptr.String(jtv) } - case "updateStatus": if err := awsRestjson1_deserializeDocumentDataLakeUpdateStatus(&sv.UpdateStatus, value); err != nil { return err } - default: _, _ = key, value @@ -5826,12 +5733,10 @@ func awsRestjson1_deserializeDocumentDataLakeSource(v **types.DataLakeSource, va } sv.Account = ptr.String(jtv) } - case "eventClasses": if err := awsRestjson1_deserializeDocumentOcsfEventClassList(&sv.EventClasses, value); err != nil { return err } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5840,12 +5745,10 @@ func awsRestjson1_deserializeDocumentDataLakeSource(v **types.DataLakeSource, va } sv.SourceName = ptr.String(jtv) } - case "sourceStatuses": if err := awsRestjson1_deserializeDocumentDataLakeSourceStatusList(&sv.SourceStatuses, value); err != nil { return err } - default: _, _ = key, value @@ -5919,7 +5822,6 @@ func awsRestjson1_deserializeDocumentDataLakeSourceStatus(v **types.DataLakeSour } sv.Resource = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5928,7 +5830,6 @@ func awsRestjson1_deserializeDocumentDataLakeSourceStatus(v **types.DataLakeSour } sv.Status = types.SourceCollectionStatus(jtv) } - default: _, _ = key, value @@ -6002,7 +5903,6 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateException(v **types.DataLakeU } sv.Code = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -6011,7 +5911,6 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateException(v **types.DataLakeU } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -6047,7 +5946,6 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda if err := awsRestjson1_deserializeDocumentDataLakeUpdateException(&sv.Exception, value); err != nil { return err } - case "requestId": if value != nil { jtv, ok := value.(string) @@ -6056,7 +5954,6 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda } sv.RequestId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6065,7 +5962,6 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda } sv.Status = types.DataLakeStatus(jtv) } - default: _, _ = key, value @@ -6095,15 +5991,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6111,15 +6001,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6154,7 +6040,6 @@ func awsRestjson1_deserializeDocumentLogSource(v **types.LogSource, value interf } sv.Account = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -6163,12 +6048,10 @@ func awsRestjson1_deserializeDocumentLogSource(v **types.LogSource, value interf } sv.Region = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentLogSourceResourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -6386,15 +6269,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6402,7 +6279,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -6411,7 +6287,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6420,15 +6295,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6459,7 +6330,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso if err := awsRestjson1_deserializeDocumentAccessTypeList(&sv.AccessTypes, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6472,7 +6342,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.CreatedAt = ptr.Time(t) } - case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -6481,7 +6350,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.ResourceShareArn = ptr.String(jtv) } - case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -6490,7 +6358,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.ResourceShareName = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6499,7 +6366,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.RoleArn = ptr.String(jtv) } - case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -6508,12 +6374,10 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.S3BucketArn = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentLogSourceResourceList(&sv.Sources, value); err != nil { return err } - case "subscriberArn": if value != nil { jtv, ok := value.(string) @@ -6522,7 +6386,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberArn = ptr.String(jtv) } - case "subscriberDescription": if value != nil { jtv, ok := value.(string) @@ -6531,7 +6394,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberDescription = ptr.String(jtv) } - case "subscriberEndpoint": if value != nil { jtv, ok := value.(string) @@ -6540,7 +6402,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberEndpoint = ptr.String(jtv) } - case "subscriberId": if value != nil { jtv, ok := value.(string) @@ -6549,12 +6410,10 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberId = ptr.String(jtv) } - case "subscriberIdentity": if err := awsRestjson1_deserializeDocumentAwsIdentity(&sv.SubscriberIdentity, value); err != nil { return err } - case "subscriberName": if value != nil { jtv, ok := value.(string) @@ -6563,7 +6422,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberName = ptr.String(jtv) } - case "subscriberStatus": if value != nil { jtv, ok := value.(string) @@ -6572,7 +6430,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberStatus = types.SubscriberStatus(jtv) } - case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6585,7 +6442,6 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.UpdatedAt = ptr.Time(t) } - default: _, _ = key, value @@ -6659,7 +6515,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -6668,7 +6523,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6732,15 +6586,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6748,7 +6596,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6757,7 +6604,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6770,7 +6616,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6779,15 +6624,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/serverlessapplicationrepository/deserializers.go b/service/serverlessapplicationrepository/deserializers.go index 751cb4ceb04..b14c8916558 100644 --- a/service/serverlessapplicationrepository/deserializers.go +++ b/service/serverlessapplicationrepository/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -197,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Author = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -206,7 +204,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreationTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -215,7 +212,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } - case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -224,7 +220,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.HomePageUrl = ptr.String(jtv) } - case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -233,12 +228,10 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.IsVerifiedAuthor = ptr.Bool(jtv) } - case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } - case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -247,7 +240,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.LicenseUrl = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -256,7 +248,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } - case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -265,7 +256,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ReadmeUrl = ptr.String(jtv) } - case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -274,7 +264,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.SpdxLicenseId = ptr.String(jtv) } - case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -283,12 +272,10 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.VerifiedAuthorUrl = ptr.String(jtv) } - case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -456,7 +443,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -465,17 +451,14 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.CreationTime = ptr.String(jtv) } - case "parameterDefinitions": if err := awsRestjson1_deserializeDocument__listOfParameterDefinition(&sv.ParameterDefinitions, value); err != nil { return err } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocument__listOfCapability(&sv.RequiredCapabilities, value); err != nil { return err } - case "resourcesSupported": if value != nil { jtv, ok := value.(bool) @@ -484,7 +467,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.ResourcesSupported = ptr.Bool(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -493,7 +475,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SemanticVersion = ptr.String(jtv) } - case "sourceCodeArchiveUrl": if value != nil { jtv, ok := value.(string) @@ -502,7 +483,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SourceCodeArchiveUrl = ptr.String(jtv) } - case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -511,7 +491,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SourceCodeUrl = ptr.String(jtv) } - case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -520,7 +499,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.TemplateUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -685,7 +663,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.ApplicationId = ptr.String(jtv) } - case "changeSetId": if value != nil { jtv, ok := value.(string) @@ -694,7 +671,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.ChangeSetId = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -703,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.SemanticVersion = ptr.String(jtv) } - case "stackId": if value != nil { jtv, ok := value.(string) @@ -712,7 +687,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.StackId = ptr.String(jtv) } - default: _, _ = key, value @@ -880,7 +854,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -889,7 +862,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.CreationTime = ptr.String(jtv) } - case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -898,7 +870,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.ExpirationTime = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -907,7 +878,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.SemanticVersion = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -916,7 +886,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.Status = types.Status(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -925,7 +894,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.TemplateId = ptr.String(jtv) } - case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -934,7 +902,6 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.TemplateUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -1211,7 +1178,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -1220,7 +1186,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Author = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1229,7 +1194,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreationTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1238,7 +1202,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -1247,7 +1210,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.HomePageUrl = ptr.String(jtv) } - case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -1256,12 +1218,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IsVerifiedAuthor = ptr.Bool(jtv) } - case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } - case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -1270,7 +1230,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LicenseUrl = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1279,7 +1238,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -1288,7 +1246,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ReadmeUrl = ptr.String(jtv) } - case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -1297,7 +1254,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.SpdxLicenseId = ptr.String(jtv) } - case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -1306,12 +1262,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.VerifiedAuthorUrl = ptr.String(jtv) } - case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -1475,7 +1429,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationPolicyOutput(v **GetApplica if err := awsRestjson1_deserializeDocument__listOfApplicationPolicyStatement(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -1643,7 +1596,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1652,7 +1604,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.CreationTime = ptr.String(jtv) } - case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -1661,7 +1612,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.ExpirationTime = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -1670,7 +1620,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.SemanticVersion = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1679,7 +1628,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.Status = types.Status(jtv) } - case "templateId": if value != nil { jtv, ok := value.(string) @@ -1688,7 +1636,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.TemplateId = ptr.String(jtv) } - case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -1697,7 +1644,6 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.TemplateUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -1861,7 +1807,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationDependenciesOutput(v **Lis if err := awsRestjson1_deserializeDocument__listOfApplicationDependencySummary(&sv.Dependencies, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1870,7 +1815,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationDependenciesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2031,7 +1975,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocument__listOfApplicationSummary(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2040,7 +1983,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2208,12 +2150,10 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } - case "versions": if err := awsRestjson1_deserializeDocument__listOfVersionSummary(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -2377,7 +2317,6 @@ func awsRestjson1_deserializeOpDocumentPutApplicationPolicyOutput(v **PutApplica if err := awsRestjson1_deserializeDocument__listOfApplicationPolicyStatement(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -2654,7 +2593,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationId = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -2663,7 +2601,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Author = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2672,7 +2609,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.CreationTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2681,7 +2617,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } - case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -2690,7 +2625,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.HomePageUrl = ptr.String(jtv) } - case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -2699,12 +2633,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.IsVerifiedAuthor = ptr.Bool(jtv) } - case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } - case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -2713,7 +2645,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.LicenseUrl = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2722,7 +2653,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } - case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -2731,7 +2661,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ReadmeUrl = ptr.String(jtv) } - case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -2740,7 +2669,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.SpdxLicenseId = ptr.String(jtv) } - case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -2749,12 +2677,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.VerifiedAuthorUrl = ptr.String(jtv) } - case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } - default: _, _ = key, value @@ -3252,7 +3178,6 @@ func awsRestjson1_deserializeDocumentApplicationDependencySummary(v **types.Appl } sv.ApplicationId = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -3261,7 +3186,6 @@ func awsRestjson1_deserializeDocumentApplicationDependencySummary(v **types.Appl } sv.SemanticVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3297,17 +3221,14 @@ func awsRestjson1_deserializeDocumentApplicationPolicyStatement(v **types.Applic if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Actions, value); err != nil { return err } - case "principalOrgIDs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.PrincipalOrgIDs, value); err != nil { return err } - case "principals": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Principals, value); err != nil { return err } - case "statementId": if value != nil { jtv, ok := value.(string) @@ -3316,7 +3237,6 @@ func awsRestjson1_deserializeDocumentApplicationPolicyStatement(v **types.Applic } sv.StatementId = ptr.String(jtv) } - default: _, _ = key, value @@ -3356,7 +3276,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } - case "author": if value != nil { jtv, ok := value.(string) @@ -3365,7 +3284,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Author = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3374,7 +3292,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreationTime = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3383,7 +3300,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } - case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -3392,12 +3308,10 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.HomePageUrl = ptr.String(jtv) } - case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3406,7 +3320,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -3415,7 +3328,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.SpdxLicenseId = ptr.String(jtv) } - default: _, _ = key, value @@ -3445,13 +3357,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3461,8 +3367,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3470,15 +3375,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3503,13 +3404,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3519,8 +3414,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3528,15 +3422,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3561,13 +3451,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3577,8 +3461,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3586,15 +3469,11 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3619,13 +3498,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3635,8 +3508,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3644,15 +3516,11 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3677,13 +3545,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3693,8 +3555,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3702,15 +3563,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3745,12 +3602,10 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.AllowedPattern = ptr.String(jtv) } - case "allowedValues": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowedValues, value); err != nil { return err } - case "constraintDescription": if value != nil { jtv, ok := value.(string) @@ -3759,7 +3614,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.ConstraintDescription = ptr.String(jtv) } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3768,7 +3622,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.DefaultValue = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3777,7 +3630,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Description = ptr.String(jtv) } - case "maxLength": if value != nil { jtv, ok := value.(json.Number) @@ -3790,7 +3642,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MaxLength = ptr.Int32(int32(i64)) } - case "maxValue": if value != nil { jtv, ok := value.(json.Number) @@ -3803,7 +3654,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MaxValue = ptr.Int32(int32(i64)) } - case "minLength": if value != nil { jtv, ok := value.(json.Number) @@ -3816,7 +3666,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MinLength = ptr.Int32(int32(i64)) } - case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -3829,7 +3678,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MinValue = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3838,7 +3686,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Name = ptr.String(jtv) } - case "noEcho": if value != nil { jtv, ok := value.(bool) @@ -3847,12 +3694,10 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.NoEcho = ptr.Bool(jtv) } - case "referencedByResources": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReferencedByResources, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -3861,7 +3706,6 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -3891,13 +3735,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3907,8 +3745,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3916,15 +3753,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3959,7 +3792,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3968,17 +3800,14 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.CreationTime = ptr.String(jtv) } - case "parameterDefinitions": if err := awsRestjson1_deserializeDocument__listOfParameterDefinition(&sv.ParameterDefinitions, value); err != nil { return err } - case "requiredCapabilities": if err := awsRestjson1_deserializeDocument__listOfCapability(&sv.RequiredCapabilities, value); err != nil { return err } - case "resourcesSupported": if value != nil { jtv, ok := value.(bool) @@ -3987,7 +3816,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.ResourcesSupported = ptr.Bool(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -3996,7 +3824,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SemanticVersion = ptr.String(jtv) } - case "sourceCodeArchiveUrl": if value != nil { jtv, ok := value.(string) @@ -4005,7 +3832,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SourceCodeArchiveUrl = ptr.String(jtv) } - case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -4014,7 +3840,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SourceCodeUrl = ptr.String(jtv) } - case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -4023,7 +3848,6 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.TemplateUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -4063,7 +3887,6 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.ApplicationId = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4072,7 +3895,6 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.CreationTime = ptr.String(jtv) } - case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -4081,7 +3903,6 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.SemanticVersion = ptr.String(jtv) } - case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -4090,7 +3911,6 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.SourceCodeUrl = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/servicecatalog/deserializers.go b/service/servicecatalog/deserializers.go index 023c67c2b53..005b87cf09f 100644 --- a/service/servicecatalog/deserializers.go +++ b/service/servicecatalog/deserializers.go @@ -10764,7 +10764,6 @@ func awsAwsjson11_deserializeDocumentBudgetDetail(v **types.BudgetDetail, value } sv.BudgetName = ptr.String(jtv) } - default: _, _ = key, value @@ -10838,7 +10837,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchDashboard(v **types.CloudWatchDas } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10912,7 +10910,6 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.ArtifactPath = ptr.String(jtv) } - case "Branch": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10918,6 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.Branch = ptr.String(jtv) } - case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -10930,7 +10926,6 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.ConnectionArn = ptr.String(jtv) } - case "Repository": if value != nil { jtv, ok := value.(string) @@ -10939,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.Repository = ptr.String(jtv) } - default: _, _ = key, value @@ -10979,7 +10973,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.ConstraintId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10988,7 +10981,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Description = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -10997,7 +10989,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Owner = ptr.String(jtv) } - case "PortfolioId": if value != nil { jtv, ok := value.(string) @@ -11006,7 +10997,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.PortfolioId = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -11015,7 +11005,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.ProductId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11024,7 +11013,6 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11132,7 +11120,6 @@ func awsAwsjson11_deserializeDocumentConstraintSummary(v **types.ConstraintSumma } sv.Description = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11141,7 +11128,6 @@ func awsAwsjson11_deserializeDocumentConstraintSummary(v **types.ConstraintSumma } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11171,15 +11157,9 @@ func awsAwsjson11_deserializeDocumentDuplicateResourceException(v **types.Duplic sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11187,15 +11167,11 @@ func awsAwsjson11_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11226,7 +11202,6 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam if err := awsAwsjson11_deserializeDocumentExecutionParameterValueList(&sv.DefaultValues, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11235,7 +11210,6 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11244,7 +11218,6 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -11354,7 +11327,6 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ErrorCode = types.ServiceActionAssociationErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11363,7 +11335,6 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ErrorMessage = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -11372,7 +11343,6 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ProductId = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -11381,7 +11351,6 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ServiceActionId": if value != nil { jtv, ok := value.(string) @@ -11390,7 +11359,6 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ServiceActionId = ptr.String(jtv) } - default: _, _ = key, value @@ -11454,15 +11422,9 @@ func awsAwsjson11_deserializeDocumentInvalidParametersException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11470,15 +11432,11 @@ func awsAwsjson11_deserializeDocumentInvalidParametersException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11503,15 +11461,9 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11519,15 +11471,11 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11562,7 +11510,6 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSuccessfulSyncProvisioningArtifactId = ptr.String(jtv) } - case "LastSuccessfulSyncTime": if value != nil { switch jtv := value.(type) { @@ -11578,7 +11525,6 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } } - case "LastSyncStatus": if value != nil { jtv, ok := value.(string) @@ -11587,7 +11533,6 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSyncStatus = types.LastSyncStatus(jtv) } - case "LastSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11596,7 +11541,6 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSyncStatusMessage = ptr.String(jtv) } - case "LastSyncTime": if value != nil { switch jtv := value.(type) { @@ -11612,7 +11556,6 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } } - default: _, _ = key, value @@ -11652,7 +11595,6 @@ func awsAwsjson11_deserializeDocumentLaunchPath(v **types.LaunchPath, value inte } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11661,7 +11603,6 @@ func awsAwsjson11_deserializeDocumentLaunchPath(v **types.LaunchPath, value inte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11765,7 +11706,6 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma if err := awsAwsjson11_deserializeDocumentConstraintSummaries(&sv.ConstraintSummaries, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11774,7 +11714,6 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11783,12 +11722,10 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11818,15 +11755,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11834,15 +11765,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11939,15 +11866,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11955,15 +11876,11 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11998,7 +11915,6 @@ func awsAwsjson11_deserializeDocumentOrganizationNode(v **types.OrganizationNode } sv.Type = types.OrganizationNodeType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12007,7 +11923,6 @@ func awsAwsjson11_deserializeDocumentOrganizationNode(v **types.OrganizationNode } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12081,12 +11996,10 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.AllowedPattern = ptr.String(jtv) } - case "AllowedValues": if err := awsAwsjson11_deserializeDocumentAllowedValues(&sv.AllowedValues, value); err != nil { return err } - case "ConstraintDescription": if value != nil { jtv, ok := value.(string) @@ -12095,7 +12008,6 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.ConstraintDescription = ptr.String(jtv) } - case "MaxLength": if value != nil { jtv, ok := value.(string) @@ -12104,7 +12016,6 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MaxLength = ptr.String(jtv) } - case "MaxValue": if value != nil { jtv, ok := value.(string) @@ -12113,7 +12024,6 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MaxValue = ptr.String(jtv) } - case "MinLength": if value != nil { jtv, ok := value.(string) @@ -12122,7 +12032,6 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MinLength = ptr.String(jtv) } - case "MinValue": if value != nil { jtv, ok := value.(string) @@ -12131,7 +12040,6 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MinValue = ptr.String(jtv) } - default: _, _ = key, value @@ -12171,7 +12079,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.ARN = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12187,7 +12094,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12196,7 +12102,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12205,7 +12110,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.DisplayName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12214,7 +12118,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.Id = ptr.String(jtv) } - case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -12223,7 +12126,6 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.ProviderName = ptr.String(jtv) } - default: _, _ = key, value @@ -12297,7 +12199,6 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.Accepted = jtv } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -12306,7 +12207,6 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.PrincipalId = ptr.String(jtv) } - case "SharePrincipals": if value != nil { jtv, ok := value.(bool) @@ -12315,7 +12215,6 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.SharePrincipals = jtv } - case "ShareTagOptions": if value != nil { jtv, ok := value.(bool) @@ -12324,7 +12223,6 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.ShareTagOptions = jtv } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12333,7 +12231,6 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.Type = types.DescribePortfolioShareType(jtv) } - default: _, _ = key, value @@ -12407,7 +12304,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.PrincipalARN = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -12416,7 +12312,6 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -12528,7 +12423,6 @@ func awsAwsjson11_deserializeDocumentProductViewAggregationValue(v **types.Produ } sv.ApproximateCount = int32(i64) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12537,7 +12431,6 @@ func awsAwsjson11_deserializeDocumentProductViewAggregationValue(v **types.Produ } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12618,7 +12511,6 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } } - case "ProductARN": if value != nil { jtv, ok := value.(string) @@ -12627,17 +12519,14 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } sv.ProductARN = ptr.String(jtv) } - case "ProductViewSummary": if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } - case "SourceConnection": if err := awsAwsjson11_deserializeDocumentSourceConnectionDetail(&sv.SourceConnection, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12646,7 +12535,6 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -12754,7 +12642,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Distributor = ptr.String(jtv) } - case "HasDefaultPath": if value != nil { jtv, ok := value.(bool) @@ -12763,7 +12650,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.HasDefaultPath = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12772,7 +12658,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12781,7 +12666,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -12790,7 +12674,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Owner = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -12799,7 +12682,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.ProductId = ptr.String(jtv) } - case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -12808,7 +12690,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.ShortDescription = ptr.String(jtv) } - case "SupportDescription": if value != nil { jtv, ok := value.(string) @@ -12817,7 +12698,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportDescription = ptr.String(jtv) } - case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -12826,7 +12706,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportEmail = ptr.String(jtv) } - case "SupportUrl": if value != nil { jtv, ok := value.(string) @@ -12835,7 +12714,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportUrl = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12844,7 +12722,6 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Type = types.ProductType(jtv) } - default: _, _ = key, value @@ -12884,7 +12761,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12900,7 +12776,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12909,7 +12784,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Id = ptr.String(jtv) } - case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -12918,7 +12792,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.IdempotencyToken = ptr.String(jtv) } - case "LastProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -12927,7 +12800,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastProvisioningRecordId = ptr.String(jtv) } - case "LastRecordId": if value != nil { jtv, ok := value.(string) @@ -12936,7 +12808,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastRecordId = ptr.String(jtv) } - case "LastSuccessfulProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -12945,7 +12816,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastSuccessfulProvisioningRecordId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12954,7 +12824,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Name = ptr.String(jtv) } - case "PhysicalId": if value != nil { jtv, ok := value.(string) @@ -12963,7 +12832,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.PhysicalId = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -12972,7 +12840,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProductId = ptr.String(jtv) } - case "ProductName": if value != nil { jtv, ok := value.(string) @@ -12981,7 +12848,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProductName = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -12990,7 +12856,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ProvisioningArtifactName": if value != nil { jtv, ok := value.(string) @@ -12999,7 +12864,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProvisioningArtifactName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13008,7 +12872,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Status = types.ProvisionedProductStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13017,12 +12880,10 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.StatusMessage = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13031,7 +12892,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Type = ptr.String(jtv) } - case "UserArn": if value != nil { jtv, ok := value.(string) @@ -13040,7 +12900,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.UserArn = ptr.String(jtv) } - case "UserArnSession": if value != nil { jtv, ok := value.(string) @@ -13049,7 +12908,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.UserArnSession = ptr.String(jtv) } - default: _, _ = key, value @@ -13123,7 +12981,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13139,7 +12996,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13148,7 +13004,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Id = ptr.String(jtv) } - case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -13157,7 +13012,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.IdempotencyToken = ptr.String(jtv) } - case "LastProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -13166,7 +13020,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastProvisioningRecordId = ptr.String(jtv) } - case "LastRecordId": if value != nil { jtv, ok := value.(string) @@ -13175,7 +13028,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastRecordId = ptr.String(jtv) } - case "LastSuccessfulProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -13184,7 +13036,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastSuccessfulProvisioningRecordId = ptr.String(jtv) } - case "LaunchRoleArn": if value != nil { jtv, ok := value.(string) @@ -13193,7 +13044,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LaunchRoleArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13202,7 +13052,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Name = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -13211,7 +13060,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.ProductId = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13220,7 +13068,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13229,7 +13076,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Status = types.ProvisionedProductStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13238,7 +13084,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.StatusMessage = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13247,7 +13092,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -13328,12 +13172,10 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } } - case "NotificationArns": if err := awsAwsjson11_deserializeDocumentNotificationArns(&sv.NotificationArns, value); err != nil { return err } - case "PathId": if value != nil { jtv, ok := value.(string) @@ -13342,7 +13184,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PathId = ptr.String(jtv) } - case "PlanId": if value != nil { jtv, ok := value.(string) @@ -13351,7 +13192,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanId = ptr.String(jtv) } - case "PlanName": if value != nil { jtv, ok := value.(string) @@ -13360,7 +13200,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanName = ptr.String(jtv) } - case "PlanType": if value != nil { jtv, ok := value.(string) @@ -13369,7 +13208,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanType = types.ProvisionedProductPlanType(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -13378,7 +13216,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProductId = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13387,12 +13224,10 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ProvisioningParameters": if err := awsAwsjson11_deserializeDocumentUpdateProvisioningParameters(&sv.ProvisioningParameters, value); err != nil { return err } - case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -13401,7 +13236,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisionProductId = ptr.String(jtv) } - case "ProvisionProductName": if value != nil { jtv, ok := value.(string) @@ -13410,7 +13244,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisionProductName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13419,7 +13252,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.Status = types.ProvisionedProductPlanStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13428,12 +13260,10 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.StatusMessage = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13449,7 +13279,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } } - default: _, _ = key, value @@ -13523,7 +13352,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanId = ptr.String(jtv) } - case "PlanName": if value != nil { jtv, ok := value.(string) @@ -13532,7 +13360,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanName = ptr.String(jtv) } - case "PlanType": if value != nil { jtv, ok := value.(string) @@ -13541,7 +13368,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanType = types.ProvisionedProductPlanType(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13550,7 +13376,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -13559,7 +13384,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisionProductId = ptr.String(jtv) } - case "ProvisionProductName": if value != nil { jtv, ok := value.(string) @@ -13568,7 +13392,6 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisionProductName = ptr.String(jtv) } - default: _, _ = key, value @@ -13651,7 +13474,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13660,7 +13482,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Description = ptr.String(jtv) } - case "Guidance": if value != nil { jtv, ok := value.(string) @@ -13669,7 +13490,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Guidance = types.ProvisioningArtifactGuidance(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13678,7 +13498,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13687,7 +13506,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13727,7 +13545,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Active = ptr.Bool(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13743,7 +13560,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13752,7 +13568,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Description = ptr.String(jtv) } - case "Guidance": if value != nil { jtv, ok := value.(string) @@ -13761,7 +13576,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Guidance = types.ProvisioningArtifactGuidance(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13770,7 +13584,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13779,7 +13592,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Name = ptr.String(jtv) } - case "SourceRevision": if value != nil { jtv, ok := value.(string) @@ -13788,7 +13600,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.SourceRevision = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13797,7 +13608,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Type = types.ProvisioningArtifactType(jtv) } - default: _, _ = key, value @@ -13907,7 +13717,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactOutput(v **types.Provis } sv.Description = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -13916,7 +13725,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactOutput(v **types.Provis } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -13990,7 +13798,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.DefaultValue = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13999,7 +13806,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.Description = ptr.String(jtv) } - case "IsNoEcho": if value != nil { jtv, ok := value.(bool) @@ -14008,12 +13814,10 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.IsNoEcho = jtv } - case "ParameterConstraints": if err := awsAwsjson11_deserializeDocumentParameterConstraints(&sv.ParameterConstraints, value); err != nil { return err } - case "ParameterKey": if value != nil { jtv, ok := value.(string) @@ -14022,7 +13826,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.ParameterKey = ptr.String(jtv) } - case "ParameterType": if value != nil { jtv, ok := value.(string) @@ -14031,7 +13834,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.ParameterType = ptr.String(jtv) } - default: _, _ = key, value @@ -14101,12 +13903,10 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactPreferences(v **types.P if err := awsAwsjson11_deserializeDocumentStackSetAccounts(&sv.StackSetAccounts, value); err != nil { return err } - case "StackSetRegions": if err := awsAwsjson11_deserializeDocumentStackSetRegions(&sv.StackSetRegions, value); err != nil { return err } - default: _, _ = key, value @@ -14221,7 +14021,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14230,7 +14029,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14239,7 +14037,6 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14248,12 +14045,10 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Name = ptr.String(jtv) } - case "ProvisioningArtifactMetadata": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.ProvisioningArtifactMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -14289,12 +14084,10 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactView(v **types.Provisio if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } - case "ProvisioningArtifact": if err := awsAwsjson11_deserializeDocumentProvisioningArtifact(&sv.ProvisioningArtifact, value); err != nil { return err } - default: _, _ = key, value @@ -14375,7 +14168,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } } - case "LaunchRoleArn": if value != nil { jtv, ok := value.(string) @@ -14384,7 +14176,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.LaunchRoleArn = ptr.String(jtv) } - case "PathId": if value != nil { jtv, ok := value.(string) @@ -14393,7 +14184,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.PathId = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -14402,7 +14192,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProductId = ptr.String(jtv) } - case "ProvisionedProductId": if value != nil { jtv, ok := value.(string) @@ -14411,7 +14200,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductId = ptr.String(jtv) } - case "ProvisionedProductName": if value != nil { jtv, ok := value.(string) @@ -14420,7 +14208,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductName = ptr.String(jtv) } - case "ProvisionedProductType": if value != nil { jtv, ok := value.(string) @@ -14429,7 +14216,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductType = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -14438,12 +14224,10 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "RecordErrors": if err := awsAwsjson11_deserializeDocumentRecordErrors(&sv.RecordErrors, value); err != nil { return err } - case "RecordId": if value != nil { jtv, ok := value.(string) @@ -14452,12 +14236,10 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.RecordId = ptr.String(jtv) } - case "RecordTags": if err := awsAwsjson11_deserializeDocumentRecordTags(&sv.RecordTags, value); err != nil { return err } - case "RecordType": if value != nil { jtv, ok := value.(string) @@ -14466,7 +14248,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.RecordType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14475,7 +14256,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.Status = types.RecordStatus(jtv) } - case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -14491,7 +14271,6 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } } - default: _, _ = key, value @@ -14565,7 +14344,6 @@ func awsAwsjson11_deserializeDocumentRecordError(v **types.RecordError, value in } sv.Code = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14574,7 +14352,6 @@ func awsAwsjson11_deserializeDocumentRecordError(v **types.RecordError, value in } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -14648,7 +14425,6 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.Description = ptr.String(jtv) } - case "OutputKey": if value != nil { jtv, ok := value.(string) @@ -14657,7 +14433,6 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.OutputKey = ptr.String(jtv) } - case "OutputValue": if value != nil { jtv, ok := value.(string) @@ -14666,7 +14441,6 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.OutputValue = ptr.String(jtv) } - default: _, _ = key, value @@ -14740,7 +14514,6 @@ func awsAwsjson11_deserializeDocumentRecordTag(v **types.RecordTag, value interf } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -14749,7 +14522,6 @@ func awsAwsjson11_deserializeDocumentRecordTag(v **types.RecordTag, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -14823,12 +14595,10 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.Action = types.ChangeAction(jtv) } - case "Details": if err := awsAwsjson11_deserializeDocumentResourceChangeDetails(&sv.Details, value); err != nil { return err } - case "LogicalResourceId": if value != nil { jtv, ok := value.(string) @@ -14837,7 +14607,6 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.LogicalResourceId = ptr.String(jtv) } - case "PhysicalResourceId": if value != nil { jtv, ok := value.(string) @@ -14846,7 +14615,6 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.PhysicalResourceId = ptr.String(jtv) } - case "Replacement": if value != nil { jtv, ok := value.(string) @@ -14855,7 +14623,6 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.Replacement = types.Replacement(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14864,12 +14631,10 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.ResourceType = ptr.String(jtv) } - case "Scope": if err := awsAwsjson11_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } - default: _, _ = key, value @@ -14909,7 +14674,6 @@ func awsAwsjson11_deserializeDocumentResourceChangeDetail(v **types.ResourceChan } sv.CausingEntity = ptr.String(jtv) } - case "Evaluation": if value != nil { jtv, ok := value.(string) @@ -14918,12 +14682,10 @@ func awsAwsjson11_deserializeDocumentResourceChangeDetail(v **types.ResourceChan } sv.Evaluation = types.EvaluationType(jtv) } - case "Target": if err := awsAwsjson11_deserializeDocumentResourceTargetDefinition(&sv.Target, value); err != nil { return err } - default: _, _ = key, value @@ -15031,7 +14793,6 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.ARN = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -15047,7 +14808,6 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15056,7 +14816,6 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15065,7 +14824,6 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15074,7 +14832,6 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15138,15 +14895,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15154,15 +14905,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15187,15 +14934,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15203,15 +14944,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15246,7 +14983,6 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.Attribute = types.ResourceAttribute(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15255,7 +14991,6 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.Name = ptr.String(jtv) } - case "RequiresRecreation": if value != nil { jtv, ok := value.(string) @@ -15264,7 +14999,6 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.RequiresRecreation = types.RequiresRecreation(jtv) } - default: _, _ = key, value @@ -15372,12 +15106,10 @@ func awsAwsjson11_deserializeDocumentServiceActionDetail(v **types.ServiceAction if err := awsAwsjson11_deserializeDocumentServiceActionDefinitionMap(&sv.Definition, value); err != nil { return err } - case "ServiceActionSummary": if err := awsAwsjson11_deserializeDocumentServiceActionSummary(&sv.ServiceActionSummary, value); err != nil { return err } - default: _, _ = key, value @@ -15451,7 +15183,6 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.DefinitionType = types.ServiceActionDefinitionType(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -15460,7 +15191,6 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15469,7 +15199,6 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15478,7 +15207,6 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -15514,12 +15242,10 @@ func awsAwsjson11_deserializeDocumentShareDetails(v **types.ShareDetails, value if err := awsAwsjson11_deserializeDocumentShareErrors(&sv.ShareErrors, value); err != nil { return err } - case "SuccessfulShares": if err := awsAwsjson11_deserializeDocumentSuccessfulShares(&sv.SuccessfulShares, value); err != nil { return err } - default: _, _ = key, value @@ -15555,7 +15281,6 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte if err := awsAwsjson11_deserializeDocumentNamespaces(&sv.Accounts, value); err != nil { return err } - case "Error": if value != nil { jtv, ok := value.(string) @@ -15564,7 +15289,6 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte } sv.Error = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -15573,7 +15297,6 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -15643,12 +15366,10 @@ func awsAwsjson11_deserializeDocumentSourceConnectionDetail(v **types.SourceConn if err := awsAwsjson11_deserializeDocumentSourceConnectionParameters(&sv.ConnectionParameters, value); err != nil { return err } - case "LastSync": if err := awsAwsjson11_deserializeDocumentLastSync(&sv.LastSync, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15657,7 +15378,6 @@ func awsAwsjson11_deserializeDocumentSourceConnectionDetail(v **types.SourceConn } sv.Type = types.SourceType(jtv) } - default: _, _ = key, value @@ -15693,7 +15413,6 @@ func awsAwsjson11_deserializeDocumentSourceConnectionParameters(v **types.Source if err := awsAwsjson11_deserializeDocumentCodeStarParameters(&sv.CodeStar, value); err != nil { return err } - default: _, _ = key, value @@ -15733,7 +15452,6 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.Account = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -15742,7 +15460,6 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.Region = ptr.String(jtv) } - case "StackInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -15751,7 +15468,6 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.StackInstanceStatus = types.StackInstanceStatus(jtv) } - default: _, _ = key, value @@ -15933,7 +15649,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15942,7 +15657,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15982,7 +15696,6 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Active = ptr.Bool(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15991,7 +15704,6 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Id = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -16000,7 +15712,6 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Key = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -16009,7 +15720,6 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Owner = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16018,7 +15728,6 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16082,15 +15791,9 @@ func awsAwsjson11_deserializeDocumentTagOptionNotMigratedException(v **types.Tag sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16098,15 +15801,11 @@ func awsAwsjson11_deserializeDocumentTagOptionNotMigratedException(v **types.Tag } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16175,12 +15874,10 @@ func awsAwsjson11_deserializeDocumentTagOptionSummary(v **types.TagOptionSummary } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentTagOptionValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -16290,7 +15987,6 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.Key = ptr.String(jtv) } - case "UsePreviousValue": if value != nil { jtv, ok := value.(bool) @@ -16299,7 +15995,6 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.UsePreviousValue = jtv } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16308,7 +16003,6 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16382,7 +16076,6 @@ func awsAwsjson11_deserializeDocumentUsageInstruction(v **types.UsageInstruction } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16391,7 +16084,6 @@ func awsAwsjson11_deserializeDocumentUsageInstruction(v **types.UsageInstruction } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16647,7 +16339,6 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateServiceActionWithProvisioni if err := awsAwsjson11_deserializeDocumentFailedServiceActionAssociations(&sv.FailedServiceActionAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -16683,7 +16374,6 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateServiceActionFromProvisi if err := awsAwsjson11_deserializeDocumentFailedServiceActionAssociations(&sv.FailedServiceActionAssociations, value); err != nil { return err } - default: _, _ = key, value @@ -16723,7 +16413,6 @@ func awsAwsjson11_deserializeOpDocumentCopyProductOutput(v **CopyProductOutput, } sv.CopyProductToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16759,7 +16448,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } - case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -16768,7 +16456,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai } sv.ConstraintParameters = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16777,7 +16464,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -16813,12 +16499,10 @@ func awsAwsjson11_deserializeOpDocumentCreatePortfolioOutput(v **CreatePortfolio if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16858,7 +16542,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePortfolioShareOutput(v **CreatePort } sv.PortfolioShareToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16894,17 +16577,14 @@ func awsAwsjson11_deserializeOpDocumentCreateProductOutput(v **CreateProductOutp if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } - case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -16944,7 +16624,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.PlanId = ptr.String(jtv) } - case "PlanName": if value != nil { jtv, ok := value.(string) @@ -16953,7 +16632,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.PlanName = ptr.String(jtv) } - case "ProvisionedProductName": if value != nil { jtv, ok := value.(string) @@ -16962,7 +16640,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisionedProductName = ptr.String(jtv) } - case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -16971,7 +16648,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisioningArtifactId = ptr.String(jtv) } - case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -16980,7 +16656,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisionProductId = ptr.String(jtv) } - default: _, _ = key, value @@ -17016,12 +16691,10 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisioningArtifactOutput(v **Crea if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } - case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17030,7 +16703,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisioningArtifactOutput(v **Crea } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -17066,7 +16738,6 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceActionOutput(v **CreateServi if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -17102,7 +16773,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTagOptionOutput(v **CreateTagOption if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -17204,7 +16874,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePortfolioShareOutput(v **DeletePort } sv.PortfolioShareToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17395,7 +17064,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } - case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -17404,7 +17072,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons } sv.ConstraintParameters = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17413,7 +17080,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -17453,7 +17119,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.CopyProductStatus = types.CopyProductStatus(jtv) } - case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -17462,7 +17127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.StatusDetail = ptr.String(jtv) } - case "TargetProductId": if value != nil { jtv, ok := value.(string) @@ -17471,7 +17135,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.TargetProductId = ptr.String(jtv) } - default: _, _ = key, value @@ -17507,22 +17170,18 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioOutput(v **DescribePortf if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } - case "PortfolioDetail": if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } - case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptions, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17562,12 +17221,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioSharesOutput(v **Describ } sv.NextPageToken = ptr.String(jtv) } - case "PortfolioShareDetails": if err := awsAwsjson11_deserializeDocumentPortfolioShareDetails(&sv.PortfolioShareDetails, value); err != nil { return err } - default: _, _ = key, value @@ -17607,7 +17264,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.OrganizationNodeValue = ptr.String(jtv) } - case "PortfolioId": if value != nil { jtv, ok := value.(string) @@ -17616,7 +17272,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.PortfolioId = ptr.String(jtv) } - case "PortfolioShareToken": if value != nil { jtv, ok := value.(string) @@ -17625,12 +17280,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.PortfolioShareToken = ptr.String(jtv) } - case "ShareDetails": if err := awsAwsjson11_deserializeDocumentShareDetails(&sv.ShareDetails, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17639,7 +17292,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.Status = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -17675,27 +17327,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductAsAdminOutput(v **Describe if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } - case "ProductViewDetail": if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } - case "ProvisioningArtifactSummaries": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactSummaries(&sv.ProvisioningArtifactSummaries, value); err != nil { return err } - case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptions, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -17731,22 +17378,18 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductOutput(v **DescribeProduct if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } - case "LaunchPaths": if err := awsAwsjson11_deserializeDocumentLaunchPaths(&sv.LaunchPaths, value); err != nil { return err } - case "ProductViewSummary": if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } - case "ProvisioningArtifacts": if err := awsAwsjson11_deserializeDocumentProvisioningArtifacts(&sv.ProvisioningArtifacts, value); err != nil { return err } - default: _, _ = key, value @@ -17782,12 +17425,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductViewOutput(v **DescribePro if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } - case "ProvisioningArtifacts": if err := awsAwsjson11_deserializeDocumentProvisioningArtifacts(&sv.ProvisioningArtifacts, value); err != nil { return err } - default: _, _ = key, value @@ -17823,12 +17464,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisionedProductOutput(v **Desc if err := awsAwsjson11_deserializeDocumentCloudWatchDashboards(&sv.CloudWatchDashboards, value); err != nil { return err } - case "ProvisionedProductDetail": if err := awsAwsjson11_deserializeDocumentProvisionedProductDetail(&sv.ProvisionedProductDetail, value); err != nil { return err } - default: _, _ = key, value @@ -17868,17 +17507,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisionedProductPlanOutput(v ** } sv.NextPageToken = ptr.String(jtv) } - case "ProvisionedProductPlanDetails": if err := awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(&sv.ProvisionedProductPlanDetails, value); err != nil { return err } - case "ResourceChanges": if err := awsAwsjson11_deserializeDocumentResourceChanges(&sv.ResourceChanges, value); err != nil { return err } - default: _, _ = key, value @@ -17914,17 +17550,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningArtifactOutput(v **De if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } - case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } - case "ProvisioningArtifactParameters": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactParameters(&sv.ProvisioningArtifactParameters, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17933,7 +17566,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningArtifactOutput(v **De } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -17969,37 +17601,30 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningParametersOutput(v ** if err := awsAwsjson11_deserializeDocumentConstraintSummaries(&sv.ConstraintSummaries, value); err != nil { return err } - case "ProvisioningArtifactOutputKeys": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactOutputs(&sv.ProvisioningArtifactOutputKeys, value); err != nil { return err } - case "ProvisioningArtifactOutputs": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactOutputs(&sv.ProvisioningArtifactOutputs, value); err != nil { return err } - case "ProvisioningArtifactParameters": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactParameters(&sv.ProvisioningArtifactParameters, value); err != nil { return err } - case "ProvisioningArtifactPreferences": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactPreferences(&sv.ProvisioningArtifactPreferences, value); err != nil { return err } - case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionSummaries(&sv.TagOptions, value); err != nil { return err } - case "UsageInstructions": if err := awsAwsjson11_deserializeDocumentUsageInstructions(&sv.UsageInstructions, value); err != nil { return err } - default: _, _ = key, value @@ -18039,17 +17664,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecordOutput(v **DescribeRecordOu } sv.NextPageToken = ptr.String(jtv) } - case "RecordDetail": if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - case "RecordOutputs": if err := awsAwsjson11_deserializeDocumentRecordOutputs(&sv.RecordOutputs, value); err != nil { return err } - default: _, _ = key, value @@ -18085,7 +17707,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceActionExecutionParametersO if err := awsAwsjson11_deserializeDocumentExecutionParameters(&sv.ServiceActionParameters, value); err != nil { return err } - default: _, _ = key, value @@ -18121,7 +17742,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceActionOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -18157,7 +17777,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagOptionOutput(v **DescribeTagOp if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -18410,7 +18029,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteProvisionedProductPlanOutput(v **E if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -18446,7 +18064,6 @@ func awsAwsjson11_deserializeOpDocumentExecuteProvisionedProductServiceActionOut if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -18486,7 +18103,6 @@ func awsAwsjson11_deserializeOpDocumentGetAWSOrganizationsAccessStatusOutput(v * } sv.AccessStatus = types.AccessStatus(jtv) } - default: _, _ = key, value @@ -18526,12 +18142,10 @@ func awsAwsjson11_deserializeOpDocumentGetProvisionedProductOutputsOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } - case "Outputs": if err := awsAwsjson11_deserializeDocumentRecordOutputs(&sv.Outputs, value); err != nil { return err } - default: _, _ = key, value @@ -18567,7 +18181,6 @@ func awsAwsjson11_deserializeOpDocumentImportAsProvisionedProductOutput(v **Impo if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -18607,12 +18220,10 @@ func awsAwsjson11_deserializeOpDocumentListAcceptedPortfolioSharesOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } - case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18648,7 +18259,6 @@ func awsAwsjson11_deserializeOpDocumentListBudgetsForResourceOutput(v **ListBudg if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18657,7 +18267,6 @@ func awsAwsjson11_deserializeOpDocumentListBudgetsForResourceOutput(v **ListBudg } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18693,7 +18302,6 @@ func awsAwsjson11_deserializeOpDocumentListConstraintsForPortfolioOutput(v **Lis if err := awsAwsjson11_deserializeDocumentConstraintDetails(&sv.ConstraintDetails, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18702,7 +18310,6 @@ func awsAwsjson11_deserializeOpDocumentListConstraintsForPortfolioOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18738,7 +18345,6 @@ func awsAwsjson11_deserializeOpDocumentListLaunchPathsOutput(v **ListLaunchPaths if err := awsAwsjson11_deserializeDocumentLaunchPathSummaries(&sv.LaunchPathSummaries, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18747,7 +18353,6 @@ func awsAwsjson11_deserializeOpDocumentListLaunchPathsOutput(v **ListLaunchPaths } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18787,12 +18392,10 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationPortfolioAccessOutput(v * } sv.NextPageToken = ptr.String(jtv) } - case "OrganizationNodes": if err := awsAwsjson11_deserializeDocumentOrganizationNodes(&sv.OrganizationNodes, value); err != nil { return err } - default: _, _ = key, value @@ -18828,7 +18431,6 @@ func awsAwsjson11_deserializeOpDocumentListPortfolioAccessOutput(v **ListPortfol if err := awsAwsjson11_deserializeDocumentAccountIds(&sv.AccountIds, value); err != nil { return err } - case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18837,7 +18439,6 @@ func awsAwsjson11_deserializeOpDocumentListPortfolioAccessOutput(v **ListPortfol } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18877,12 +18478,10 @@ func awsAwsjson11_deserializeOpDocumentListPortfoliosForProductOutput(v **ListPo } sv.NextPageToken = ptr.String(jtv) } - case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18922,12 +18521,10 @@ func awsAwsjson11_deserializeOpDocumentListPortfoliosOutput(v **ListPortfoliosOu } sv.NextPageToken = ptr.String(jtv) } - case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } - default: _, _ = key, value @@ -18967,12 +18564,10 @@ func awsAwsjson11_deserializeOpDocumentListPrincipalsForPortfolioOutput(v **List } sv.NextPageToken = ptr.String(jtv) } - case "Principals": if err := awsAwsjson11_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -19012,12 +18607,10 @@ func awsAwsjson11_deserializeOpDocumentListProvisionedProductPlansOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } - case "ProvisionedProductPlans": if err := awsAwsjson11_deserializeDocumentProvisionedProductPlans(&sv.ProvisionedProductPlans, value); err != nil { return err } - default: _, _ = key, value @@ -19057,12 +18650,10 @@ func awsAwsjson11_deserializeOpDocumentListProvisioningArtifactsForServiceAction } sv.NextPageToken = ptr.String(jtv) } - case "ProvisioningArtifactViews": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactViews(&sv.ProvisioningArtifactViews, value); err != nil { return err } - default: _, _ = key, value @@ -19102,12 +18693,10 @@ func awsAwsjson11_deserializeOpDocumentListProvisioningArtifactsOutput(v **ListP } sv.NextPageToken = ptr.String(jtv) } - case "ProvisioningArtifactDetails": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetails(&sv.ProvisioningArtifactDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19147,12 +18736,10 @@ func awsAwsjson11_deserializeOpDocumentListRecordHistoryOutput(v **ListRecordHis } sv.NextPageToken = ptr.String(jtv) } - case "RecordDetails": if err := awsAwsjson11_deserializeDocumentRecordDetails(&sv.RecordDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19192,12 +18779,10 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForTagOptionOutput(v **ListR } sv.PageToken = ptr.String(jtv) } - case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19237,12 +18822,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceActionsForProvisioningArtifact } sv.NextPageToken = ptr.String(jtv) } - case "ServiceActionSummaries": if err := awsAwsjson11_deserializeDocumentServiceActionSummaries(&sv.ServiceActionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -19282,12 +18865,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceActionsOutput(v **ListServiceA } sv.NextPageToken = ptr.String(jtv) } - case "ServiceActionSummaries": if err := awsAwsjson11_deserializeDocumentServiceActionSummaries(&sv.ServiceActionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -19327,12 +18908,10 @@ func awsAwsjson11_deserializeOpDocumentListStackInstancesForProvisionedProductOu } sv.NextPageToken = ptr.String(jtv) } - case "StackInstances": if err := awsAwsjson11_deserializeDocumentStackInstances(&sv.StackInstances, value); err != nil { return err } - default: _, _ = key, value @@ -19372,12 +18951,10 @@ func awsAwsjson11_deserializeOpDocumentListTagOptionsOutput(v **ListTagOptionsOu } sv.PageToken = ptr.String(jtv) } - case "TagOptionDetails": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptionDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19506,7 +19083,6 @@ func awsAwsjson11_deserializeOpDocumentProvisionProductOutput(v **ProvisionProdu if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -19577,12 +19153,10 @@ func awsAwsjson11_deserializeOpDocumentScanProvisionedProductsOutput(v **ScanPro } sv.NextPageToken = ptr.String(jtv) } - case "ProvisionedProducts": if err := awsAwsjson11_deserializeDocumentProvisionedProductDetails(&sv.ProvisionedProducts, value); err != nil { return err } - default: _, _ = key, value @@ -19622,12 +19196,10 @@ func awsAwsjson11_deserializeOpDocumentSearchProductsAsAdminOutput(v **SearchPro } sv.NextPageToken = ptr.String(jtv) } - case "ProductViewDetails": if err := awsAwsjson11_deserializeDocumentProductViewDetails(&sv.ProductViewDetails, value); err != nil { return err } - default: _, _ = key, value @@ -19667,17 +19239,14 @@ func awsAwsjson11_deserializeOpDocumentSearchProductsOutput(v **SearchProductsOu } sv.NextPageToken = ptr.String(jtv) } - case "ProductViewAggregations": if err := awsAwsjson11_deserializeDocumentProductViewAggregations(&sv.ProductViewAggregations, value); err != nil { return err } - case "ProductViewSummaries": if err := awsAwsjson11_deserializeDocumentProductViewSummaries(&sv.ProductViewSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -19717,12 +19286,10 @@ func awsAwsjson11_deserializeOpDocumentSearchProvisionedProductsOutput(v **Searc } sv.NextPageToken = ptr.String(jtv) } - case "ProvisionedProducts": if err := awsAwsjson11_deserializeDocumentProvisionedProductAttributes(&sv.ProvisionedProducts, value); err != nil { return err } - case "TotalResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19735,7 +19302,6 @@ func awsAwsjson11_deserializeOpDocumentSearchProvisionedProductsOutput(v **Searc } sv.TotalResultsCount = int32(i64) } - default: _, _ = key, value @@ -19771,7 +19337,6 @@ func awsAwsjson11_deserializeOpDocumentTerminateProvisionedProductOutput(v **Ter if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -19807,7 +19372,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } - case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -19816,7 +19380,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai } sv.ConstraintParameters = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19825,7 +19388,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -19861,12 +19423,10 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioOutput(v **UpdatePortfolio if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19906,7 +19466,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioShareOutput(v **UpdatePort } sv.PortfolioShareToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19915,7 +19474,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioShareOutput(v **UpdatePort } sv.Status = types.ShareStatus(jtv) } - default: _, _ = key, value @@ -19951,12 +19509,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateProductOutput(v **UpdateProductOutp if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -19992,7 +19548,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductOutput(v **Update if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } - default: _, _ = key, value @@ -20032,12 +19587,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.ProvisionedProductId = ptr.String(jtv) } - case "ProvisionedProductProperties": if err := awsAwsjson11_deserializeDocumentProvisionedProductProperties(&sv.ProvisionedProductProperties, value); err != nil { return err } - case "RecordId": if value != nil { jtv, ok := value.(string) @@ -20046,7 +19599,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.RecordId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20055,7 +19607,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.Status = types.RecordStatus(jtv) } - default: _, _ = key, value @@ -20091,12 +19642,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisioningArtifactOutput(v **Upda if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } - case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -20105,7 +19654,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisioningArtifactOutput(v **Upda } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -20141,7 +19689,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceActionOutput(v **UpdateServi if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } - default: _, _ = key, value @@ -20177,7 +19724,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateTagOptionOutput(v **UpdateTagOption if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/servicecatalogappregistry/deserializers.go b/service/servicecatalogappregistry/deserializers.go index c85262aa298..885c2d1b562 100644 --- a/service/servicecatalogappregistry/deserializers.go +++ b/service/servicecatalogappregistry/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAttributeGroupOutput(v **Associa } sv.ApplicationArn = ptr.String(jtv) } - case "attributeGroupArn": if value != nil { jtv, ok := value.(string) @@ -197,7 +196,6 @@ func awsRestjson1_deserializeOpDocumentAssociateAttributeGroupOutput(v **Associa } sv.AttributeGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -368,12 +366,10 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceOutput(v **AssociateReso } sv.ApplicationArn = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -382,7 +378,6 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceOutput(v **AssociateReso } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -546,7 +541,6 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -707,7 +701,6 @@ func awsRestjson1_deserializeOpDocumentCreateAttributeGroupOutput(v **CreateAttr if err := awsRestjson1_deserializeDocumentAttributeGroup(&sv.AttributeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -865,7 +858,6 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica if err := awsRestjson1_deserializeDocumentApplicationSummary(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -1023,7 +1015,6 @@ func awsRestjson1_deserializeOpDocumentDeleteAttributeGroupOutput(v **DeleteAttr if err := awsRestjson1_deserializeDocumentAttributeGroupSummary(&sv.AttributeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -1185,7 +1176,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateAttributeGroupOutput(v **Disa } sv.ApplicationArn = ptr.String(jtv) } - case "attributeGroupArn": if value != nil { jtv, ok := value.(string) @@ -1194,7 +1184,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateAttributeGroupOutput(v **Disa } sv.AttributeGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1359,7 +1348,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceOutput(v **Disassocia } sv.ApplicationArn = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -1368,7 +1356,6 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceOutput(v **Disassocia } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1529,7 +1516,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplicationTagDefinition(&sv.ApplicationTag, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1538,7 +1524,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } - case "associatedResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -1551,7 +1536,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.AssociatedResourceCount = int32(i64) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1564,7 +1548,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1573,7 +1556,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1582,12 +1564,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } - case "integrations": if err := awsRestjson1_deserializeDocumentIntegrations(&sv.Integrations, value); err != nil { return err } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -1600,7 +1580,6 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1609,12 +1588,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1772,17 +1749,14 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedResourceOutput(v **GetAssoci if err := awsRestjson1_deserializeDocumentApplicationTagResult(&sv.ApplicationTagResult, value); err != nil { return err } - case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -1947,7 +1921,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Arn = ptr.String(jtv) } - case "attributes": if value != nil { jtv, ok := value.(string) @@ -1956,7 +1929,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Attributes = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1965,7 +1937,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.CreatedBy = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1978,7 +1949,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1987,7 +1957,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1996,7 +1965,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -2009,7 +1977,6 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2018,12 +1985,10 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2175,7 +2140,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationOutput(v **GetConfigurati if err := awsRestjson1_deserializeDocumentAppRegistryConfiguration(&sv.Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -2330,7 +2294,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.Applications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2339,7 +2302,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2497,7 +2459,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAttributeGroupsOutput(v **L if err := awsRestjson1_deserializeDocumentAttributeGroupIds(&sv.AttributeGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2506,7 +2467,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAttributeGroupsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2668,12 +2628,10 @@ func awsRestjson1_deserializeOpDocumentListAssociatedResourcesOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -2828,7 +2786,6 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsOutput(v **ListAttribu if err := awsRestjson1_deserializeDocumentAttributeGroupSummaries(&sv.AttributeGroups, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2837,7 +2794,6 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsOutput(v **ListAttribu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2995,7 +2951,6 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsForApplicationOutput(v if err := awsRestjson1_deserializeDocumentAttributeGroupDetailsList(&sv.AttributeGroupsDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3004,7 +2959,6 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsForApplicationOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3162,7 +3116,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3430,7 +3383,6 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ActionTaken = types.SyncAction(jtv) } - case "applicationArn": if value != nil { jtv, ok := value.(string) @@ -3439,7 +3391,6 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ApplicationArn = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3448,7 +3399,6 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3800,7 +3750,6 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - default: _, _ = key, value @@ -3961,7 +3910,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAttributeGroupOutput(v **UpdateAttr if err := awsRestjson1_deserializeDocumentAttributeGroup(&sv.AttributeGroup, value); err != nil { return err } - default: _, _ = key, value @@ -4213,7 +4161,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationTagDefinition(&sv.ApplicationTag, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4222,7 +4169,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4235,7 +4181,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4244,7 +4189,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4253,7 +4197,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4266,7 +4209,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4275,12 +4217,10 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4354,7 +4294,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4367,7 +4306,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4376,7 +4314,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4385,7 +4322,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4398,7 +4334,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4407,7 +4342,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4483,7 +4417,6 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.ApplicationTagStatus = types.ApplicationTagStatus(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4492,7 +4425,6 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.ErrorMessage = ptr.String(jtv) } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4501,12 +4433,10 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResourcesList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -4542,7 +4472,6 @@ func awsRestjson1_deserializeDocumentAppRegistryConfiguration(v **types.AppRegis if err := awsRestjson1_deserializeDocumentTagQueryConfiguration(&sv.TagQueryConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4582,7 +4511,6 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4595,7 +4523,6 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4604,7 +4531,6 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4613,7 +4539,6 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4626,7 +4551,6 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4635,12 +4559,10 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Name = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4680,7 +4602,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4689,7 +4610,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.CreatedBy = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4698,7 +4618,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4707,7 +4626,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4851,7 +4769,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4860,7 +4777,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.CreatedBy = ptr.String(jtv) } - case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4873,7 +4789,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.CreationTime = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -4882,7 +4797,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4891,7 +4805,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Id = ptr.String(jtv) } - case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4904,7 +4817,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.LastUpdateTime = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4913,7 +4825,6 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4943,15 +4854,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4959,15 +4864,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4998,12 +4899,10 @@ func awsRestjson1_deserializeDocumentIntegrations(v **types.Integrations, value if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ApplicationTagResourceGroup, value); err != nil { return err } - case "resourceGroup": if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ResourceGroup, value); err != nil { return err } - default: _, _ = key, value @@ -5033,15 +4932,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5049,15 +4942,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5128,7 +5017,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } - case "associationTime": if value != nil { jtv, ok := value.(string) @@ -5141,12 +5029,10 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.AssociationTime = ptr.Time(t) } - case "integrations": if err := awsRestjson1_deserializeDocumentResourceIntegrations(&sv.Integrations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -5155,7 +5041,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5195,7 +5080,6 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.TagValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5235,7 +5119,6 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.Arn = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5244,7 +5127,6 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.ErrorMessage = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -5253,7 +5135,6 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.State = types.ResourceGroupState(jtv) } - default: _, _ = key, value @@ -5293,7 +5174,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.Arn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5302,17 +5182,14 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.Name = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } - case "resourceDetails": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5321,7 +5198,6 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -5357,7 +5233,6 @@ func awsRestjson1_deserializeDocumentResourceIntegrations(v **types.ResourceInte if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ResourceGroup, value); err != nil { return err } - default: _, _ = key, value @@ -5387,15 +5262,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5403,15 +5272,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5514,7 +5379,6 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ErrorMessage = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -5523,7 +5387,6 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ResourceArn = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5532,7 +5395,6 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ResourceType = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5541,7 +5403,6 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -5571,15 +5432,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5587,15 +5442,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5630,7 +5481,6 @@ func awsRestjson1_deserializeDocumentTagQueryConfiguration(v **types.TagQueryCon } sv.TagKey = ptr.String(jtv) } - default: _, _ = key, value @@ -5696,15 +5546,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5712,7 +5556,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5721,15 +5564,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5754,15 +5593,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5770,15 +5603,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/servicediscovery/deserializers.go b/service/servicediscovery/deserializers.go index 1e7b1608503..77852b3a386 100644 --- a/service/servicediscovery/deserializers.go +++ b/service/servicediscovery/deserializers.go @@ -3734,15 +3734,9 @@ func awsAwsjson11_deserializeDocumentCustomHealthNotFound(v **types.CustomHealth sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3750,15 +3744,11 @@ func awsAwsjson11_deserializeDocumentCustomHealthNotFound(v **types.CustomHealth } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3789,7 +3779,6 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf if err := awsAwsjson11_deserializeDocumentDnsRecordList(&sv.DnsRecords, value); err != nil { return err } - case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -3798,7 +3787,6 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf } sv.NamespaceId = ptr.String(jtv) } - case "RoutingPolicy": if value != nil { jtv, ok := value.(string) @@ -3807,7 +3795,6 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf } sv.RoutingPolicy = types.RoutingPolicy(jtv) } - default: _, _ = key, value @@ -3847,12 +3834,10 @@ func awsAwsjson11_deserializeDocumentDnsProperties(v **types.DnsProperties, valu } sv.HostedZoneId = ptr.String(jtv) } - case "SOA": if err := awsAwsjson11_deserializeDocumentSOA(&sv.SOA, value); err != nil { return err } - default: _, _ = key, value @@ -3896,7 +3881,6 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.TTL = ptr.Int64(i64) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3905,7 +3889,6 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Type = types.RecordType(jtv) } - default: _, _ = key, value @@ -3969,13 +3952,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "DuplicateOperationId": if value != nil { @@ -3985,8 +3962,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.DuplicateOperationId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3994,15 +3970,11 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4041,7 +4013,6 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.FailureThreshold = ptr.Int32(int32(i64)) } - case "ResourcePath": if value != nil { jtv, ok := value.(string) @@ -4050,7 +4021,6 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.ResourcePath = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4059,7 +4029,6 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Type = types.HealthCheckType(jtv) } - default: _, _ = key, value @@ -4103,7 +4072,6 @@ func awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(v **types.HealthChe } sv.FailureThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4139,7 +4107,6 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -4148,7 +4115,6 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.HealthStatus = types.HealthStatus(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -4157,7 +4123,6 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.InstanceId = ptr.String(jtv) } - case "NamespaceName": if value != nil { jtv, ok := value.(string) @@ -4166,7 +4131,6 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.NamespaceName = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4175,7 +4139,6 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -4249,7 +4212,6 @@ func awsAwsjson11_deserializeDocumentHttpProperties(v **types.HttpProperties, va } sv.HttpName = ptr.String(jtv) } - default: _, _ = key, value @@ -4285,7 +4247,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -4294,7 +4255,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.CreatorRequestId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4303,7 +4263,6 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4369,15 +4328,9 @@ func awsAwsjson11_deserializeDocumentInstanceNotFound(v **types.InstanceNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4385,15 +4338,11 @@ func awsAwsjson11_deserializeDocumentInstanceNotFound(v **types.InstanceNotFound } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4424,7 +4373,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4433,7 +4381,6 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4497,15 +4444,9 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4513,15 +4454,11 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4556,7 +4493,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Arn = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -4572,7 +4508,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -4581,7 +4516,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.CreatorRequestId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4590,7 +4524,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4599,7 +4532,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4608,12 +4540,10 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Name = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentNamespaceProperties(&sv.Properties, value); err != nil { return err } - case "ServiceCount": if value != nil { jtv, ok := value.(json.Number) @@ -4626,7 +4556,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.ServiceCount = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4635,7 +4564,6 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Type = types.NamespaceType(jtv) } - default: _, _ = key, value @@ -4665,13 +4593,7 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "CreatorRequestId": if value != nil { @@ -4681,8 +4603,7 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.CreatorRequestId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4690,7 +4611,6 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.Message = ptr.String(jtv) } - case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -4699,15 +4619,11 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.NamespaceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4732,15 +4648,9 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFound(v **types.NamespaceNotFou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4748,15 +4658,11 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFound(v **types.NamespaceNotFou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4787,12 +4693,10 @@ func awsAwsjson11_deserializeDocumentNamespaceProperties(v **types.NamespaceProp if err := awsAwsjson11_deserializeDocumentDnsProperties(&sv.DnsProperties, value); err != nil { return err } - case "HttpProperties": if err := awsAwsjson11_deserializeDocumentHttpProperties(&sv.HttpProperties, value); err != nil { return err } - default: _, _ = key, value @@ -4866,7 +4770,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Arn = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -4882,7 +4785,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4891,7 +4793,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4900,7 +4801,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4909,12 +4809,10 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Name = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentNamespaceProperties(&sv.Properties, value); err != nil { return err } - case "ServiceCount": if value != nil { jtv, ok := value.(json.Number) @@ -4927,7 +4825,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.ServiceCount = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4936,7 +4833,6 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Type = types.NamespaceType(jtv) } - default: _, _ = key, value @@ -4983,7 +4879,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -4992,7 +4887,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4895,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorMessage = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5010,7 +4903,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5019,12 +4911,10 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentOperationTargetsMap(&sv.Targets, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5033,7 +4923,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Type = types.OperationType(jtv) } - case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -5049,7 +4938,6 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } - default: _, _ = key, value @@ -5079,15 +4967,9 @@ func awsAwsjson11_deserializeDocumentOperationNotFound(v **types.OperationNotFou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5095,15 +4977,11 @@ func awsAwsjson11_deserializeDocumentOperationNotFound(v **types.OperationNotFou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5138,7 +5016,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Id = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5147,7 +5024,6 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } - default: _, _ = key, value @@ -5247,15 +5123,9 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5263,15 +5133,11 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5296,15 +5162,9 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5312,15 +5172,11 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5345,15 +5201,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5361,15 +5211,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5394,15 +5240,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5410,15 +5250,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5453,7 +5289,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Arn = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -5469,7 +5304,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } } - case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -5478,7 +5312,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.CreatorRequestId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5487,22 +5320,18 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Description = ptr.String(jtv) } - case "DnsConfig": if err := awsAwsjson11_deserializeDocumentDnsConfig(&sv.DnsConfig, value); err != nil { return err } - case "HealthCheckConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckConfig(&sv.HealthCheckConfig, value); err != nil { return err } - case "HealthCheckCustomConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(&sv.HealthCheckCustomConfig, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5511,7 +5340,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Id = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -5524,7 +5352,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5533,7 +5360,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } - case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -5542,7 +5368,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.NamespaceId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5551,7 +5376,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Type = types.ServiceType(jtv) } - default: _, _ = key, value @@ -5581,13 +5405,7 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "CreatorRequestId": if value != nil { @@ -5597,8 +5415,7 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.CreatorRequestId = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5606,7 +5423,6 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.Message = ptr.String(jtv) } - case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -5615,15 +5431,11 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.ServiceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5648,15 +5460,9 @@ func awsAwsjson11_deserializeDocumentServiceNotFound(v **types.ServiceNotFound, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5664,15 +5470,11 @@ func awsAwsjson11_deserializeDocumentServiceNotFound(v **types.ServiceNotFound, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5741,7 +5543,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } - case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -5757,7 +5558,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5766,22 +5566,18 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } - case "DnsConfig": if err := awsAwsjson11_deserializeDocumentDnsConfig(&sv.DnsConfig, value); err != nil { return err } - case "HealthCheckConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckConfig(&sv.HealthCheckConfig, value); err != nil { return err } - case "HealthCheckCustomConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(&sv.HealthCheckCustomConfig, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -5790,7 +5586,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Id = ptr.String(jtv) } - case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -5803,7 +5598,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.InstanceCount = ptr.Int32(int32(i64)) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5812,7 +5606,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5821,7 +5614,6 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Type = types.ServiceType(jtv) } - default: _, _ = key, value @@ -5865,7 +5657,6 @@ func awsAwsjson11_deserializeDocumentSOA(v **types.SOA, value interface{}) error } sv.TTL = ptr.Int64(i64) } - default: _, _ = key, value @@ -5905,7 +5696,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5914,7 +5704,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5978,15 +5767,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5994,7 +5777,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -6003,15 +5785,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6046,7 +5824,6 @@ func awsAwsjson11_deserializeOpDocumentCreateHttpNamespaceOutput(v **CreateHttpN } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6086,7 +5863,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateDnsNamespaceOutput(v **Creat } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6126,7 +5902,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicDnsNamespaceOutput(v **Create } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6162,7 +5937,6 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -6202,7 +5976,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6273,7 +6046,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterInstanceOutput(v **DeregisterIn } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6309,7 +6081,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesOutput(v **DiscoverInsta if err := awsAwsjson11_deserializeDocumentHttpInstanceSummaryList(&sv.Instances, value); err != nil { return err } - case "InstancesRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6322,7 +6093,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesOutput(v **DiscoverInsta } sv.InstancesRevision = ptr.Int64(i64) } - default: _, _ = key, value @@ -6366,7 +6136,6 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesRevisionOutput(v **Disco } sv.InstancesRevision = ptr.Int64(i64) } - default: _, _ = key, value @@ -6402,7 +6171,6 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsAwsjson11_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -6442,12 +6210,10 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesHealthStatusOutput(v **GetIns } sv.NextToken = ptr.String(jtv) } - case "Status": if err := awsAwsjson11_deserializeDocumentInstanceHealthStatusMap(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -6483,7 +6249,6 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(v **GetNamespaceOutput if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } - default: _, _ = key, value @@ -6519,7 +6284,6 @@ func awsAwsjson11_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -6555,7 +6319,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } - default: _, _ = key, value @@ -6591,7 +6354,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceSummaryList(&sv.Instances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6600,7 +6362,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6636,7 +6397,6 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsAwsjson11_deserializeDocumentNamespaceSummariesList(&sv.Namespaces, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6645,7 +6405,6 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6685,12 +6444,10 @@ func awsAwsjson11_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } - case "Operations": if err := awsAwsjson11_deserializeDocumentOperationSummaryList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -6730,12 +6487,10 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "Services": if err := awsAwsjson11_deserializeDocumentServiceSummariesList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -6771,7 +6526,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6811,7 +6565,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterInstanceOutput(v **RegisterInstan } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6913,7 +6666,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateHttpNamespaceOutput(v **UpdateHttpN } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6953,7 +6705,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePrivateDnsNamespaceOutput(v **Updat } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -6993,7 +6744,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePublicDnsNamespaceOutput(v **Update } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7033,7 +6783,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/servicequotas/deserializers.go b/service/servicequotas/deserializers.go index fdab6c6e4cf..a6abc794493 100644 --- a/service/servicequotas/deserializers.go +++ b/service/servicequotas/deserializers.go @@ -3087,15 +3087,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3103,15 +3097,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3136,15 +3126,9 @@ func awsAwsjson11_deserializeDocumentAWSServiceAccessNotEnabledException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3152,15 +3136,11 @@ func awsAwsjson11_deserializeDocumentAWSServiceAccessNotEnabledException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3185,15 +3165,9 @@ func awsAwsjson11_deserializeDocumentDependencyAccessDeniedException(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3201,15 +3175,11 @@ func awsAwsjson11_deserializeDocumentDependencyAccessDeniedException(v **types.D } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3244,7 +3214,6 @@ func awsAwsjson11_deserializeDocumentErrorReason(v **types.ErrorReason, value in } sv.ErrorCode = types.ErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3253,7 +3222,6 @@ func awsAwsjson11_deserializeDocumentErrorReason(v **types.ErrorReason, value in } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -3283,15 +3251,9 @@ func awsAwsjson11_deserializeDocumentIllegalArgumentException(v **types.IllegalA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3299,15 +3261,11 @@ func awsAwsjson11_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3332,15 +3290,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3348,15 +3300,11 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3381,15 +3329,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3397,15 +3339,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3472,7 +3410,6 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte if err := awsAwsjson11_deserializeDocumentMetricDimensionsMapDefinition(&sv.MetricDimensions, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3481,7 +3418,6 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricName = ptr.String(jtv) } - case "MetricNamespace": if value != nil { jtv, ok := value.(string) @@ -3490,7 +3426,6 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricNamespace = ptr.String(jtv) } - case "MetricStatisticRecommendation": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3434,6 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricStatisticRecommendation = ptr.String(jtv) } - default: _, _ = key, value @@ -3529,15 +3463,9 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3545,15 +3473,11 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3578,15 +3502,9 @@ func awsAwsjson11_deserializeDocumentNoSuchResourceException(v **types.NoSuchRes sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3594,15 +3512,11 @@ func awsAwsjson11_deserializeDocumentNoSuchResourceException(v **types.NoSuchRes } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3627,15 +3541,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3643,15 +3551,11 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3720,7 +3624,6 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextId = ptr.String(jtv) } - case "ContextScope": if value != nil { jtv, ok := value.(string) @@ -3729,7 +3632,6 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextScope = types.QuotaContextScope(jtv) } - case "ContextScopeType": if value != nil { jtv, ok := value.(string) @@ -3738,7 +3640,6 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextScopeType = ptr.String(jtv) } - default: _, _ = key, value @@ -3768,15 +3669,9 @@ func awsAwsjson11_deserializeDocumentQuotaExceededException(v **types.QuotaExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3784,15 +3679,11 @@ func awsAwsjson11_deserializeDocumentQuotaExceededException(v **types.QuotaExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3827,7 +3718,6 @@ func awsAwsjson11_deserializeDocumentQuotaPeriod(v **types.QuotaPeriod, value in } sv.PeriodUnit = types.PeriodUnit(jtv) } - case "PeriodValue": if value != nil { jtv, ok := value.(json.Number) @@ -3840,7 +3730,6 @@ func awsAwsjson11_deserializeDocumentQuotaPeriod(v **types.QuotaPeriod, value in } sv.PeriodValue = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3880,7 +3769,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.CaseId = ptr.String(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -3896,7 +3784,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } - case "DesiredValue": if value != nil { switch jtv := value.(type) { @@ -3930,7 +3817,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } - case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -3939,7 +3825,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.GlobalQuota = jtv } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3948,7 +3833,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Id = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3964,7 +3848,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } - case "QuotaArn": if value != nil { jtv, ok := value.(string) @@ -3973,7 +3856,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaArn = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -3982,12 +3864,10 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaCode = ptr.String(jtv) } - case "QuotaContext": if err := awsAwsjson11_deserializeDocumentQuotaContextInfo(&sv.QuotaContext, value); err != nil { return err } - case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -3996,7 +3876,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaName = ptr.String(jtv) } - case "QuotaRequestedAtLevel": if value != nil { jtv, ok := value.(string) @@ -4005,7 +3884,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaRequestedAtLevel = types.AppliedLevelEnum(jtv) } - case "Requester": if value != nil { jtv, ok := value.(string) @@ -4014,7 +3892,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Requester = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -4023,7 +3900,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.ServiceCode = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4032,7 +3908,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.ServiceName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4041,7 +3916,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Status = types.RequestStatus(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3924,6 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -4114,15 +3987,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4130,15 +3997,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4163,15 +4026,9 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4179,15 +4036,11 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4222,7 +4075,6 @@ func awsAwsjson11_deserializeDocumentServiceInfo(v **types.ServiceInfo, value in } sv.ServiceCode = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4231,7 +4083,6 @@ func awsAwsjson11_deserializeDocumentServiceInfo(v **types.ServiceInfo, value in } sv.ServiceName = ptr.String(jtv) } - default: _, _ = key, value @@ -4305,12 +4156,10 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.Adjustable = jtv } - case "ErrorReason": if err := awsAwsjson11_deserializeDocumentErrorReason(&sv.ErrorReason, value); err != nil { return err } - case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -4319,12 +4168,10 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.GlobalQuota = jtv } - case "Period": if err := awsAwsjson11_deserializeDocumentQuotaPeriod(&sv.Period, value); err != nil { return err } - case "QuotaAppliedAtLevel": if value != nil { jtv, ok := value.(string) @@ -4333,7 +4180,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaAppliedAtLevel = types.AppliedLevelEnum(jtv) } - case "QuotaArn": if value != nil { jtv, ok := value.(string) @@ -4342,7 +4188,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaArn = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -4351,12 +4196,10 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaCode = ptr.String(jtv) } - case "QuotaContext": if err := awsAwsjson11_deserializeDocumentQuotaContextInfo(&sv.QuotaContext, value); err != nil { return err } - case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -4365,7 +4208,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaName = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -4374,7 +4216,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.ServiceCode = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4383,7 +4224,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.ServiceName = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -4392,12 +4232,10 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.Unit = ptr.String(jtv) } - case "UsageMetric": if err := awsAwsjson11_deserializeDocumentMetricInfo(&sv.UsageMetric, value); err != nil { return err } - case "Value": if value != nil { switch jtv := value.(type) { @@ -4431,7 +4269,6 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } } - default: _, _ = key, value @@ -4471,7 +4308,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.AwsRegion = ptr.String(jtv) } - case "DesiredValue": if value != nil { switch jtv := value.(type) { @@ -4505,7 +4341,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } } - case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -4514,7 +4349,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.GlobalQuota = jtv } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -4523,7 +4357,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.QuotaCode = ptr.String(jtv) } - case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -4532,7 +4365,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.QuotaName = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -4541,7 +4373,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.ServiceCode = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4550,7 +4381,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.ServiceName = ptr.String(jtv) } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -4559,7 +4389,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -4657,15 +4486,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaTemplateNotInUseException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4673,15 +4496,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaTemplateNotInUseException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4716,7 +4535,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4725,7 +4543,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4755,15 +4572,9 @@ func awsAwsjson11_deserializeDocumentTagPolicyViolationException(v **types.TagPo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4771,15 +4582,11 @@ func awsAwsjson11_deserializeDocumentTagPolicyViolationException(v **types.TagPo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4804,15 +4611,9 @@ func awsAwsjson11_deserializeDocumentTemplatesNotAvailableInRegionException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4820,15 +4621,11 @@ func awsAwsjson11_deserializeDocumentTemplatesNotAvailableInRegionException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4853,15 +4650,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4869,15 +4660,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4902,15 +4689,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4918,15 +4699,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5054,7 +4831,6 @@ func awsAwsjson11_deserializeOpDocumentGetAssociationForServiceQuotaTemplateOutp } sv.ServiceQuotaTemplateAssociationStatus = types.ServiceQuotaTemplateAssociationStatus(jtv) } - default: _, _ = key, value @@ -5090,7 +4866,6 @@ func awsAwsjson11_deserializeOpDocumentGetAWSDefaultServiceQuotaOutput(v **GetAW if err := awsAwsjson11_deserializeDocumentServiceQuota(&sv.Quota, value); err != nil { return err } - default: _, _ = key, value @@ -5126,7 +4901,6 @@ func awsAwsjson11_deserializeOpDocumentGetRequestedServiceQuotaChangeOutput(v ** if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(&sv.RequestedQuota, value); err != nil { return err } - default: _, _ = key, value @@ -5162,7 +4936,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceQuotaIncreaseRequestFromTemplat if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(&sv.ServiceQuotaIncreaseRequestInTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -5198,7 +4971,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceQuotaOutput(v **GetServiceQuota if err := awsAwsjson11_deserializeDocumentServiceQuota(&sv.Quota, value); err != nil { return err } - default: _, _ = key, value @@ -5238,12 +5010,10 @@ func awsAwsjson11_deserializeOpDocumentListAWSDefaultServiceQuotasOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "Quotas": if err := awsAwsjson11_deserializeDocumentServiceQuotaListDefinition(&sv.Quotas, value); err != nil { return err } - default: _, _ = key, value @@ -5283,12 +5053,10 @@ func awsAwsjson11_deserializeOpDocumentListRequestedServiceQuotaChangeHistoryByQ } sv.NextToken = ptr.String(jtv) } - case "RequestedQuotas": if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChangeHistoryListDefinition(&sv.RequestedQuotas, value); err != nil { return err } - default: _, _ = key, value @@ -5328,12 +5096,10 @@ func awsAwsjson11_deserializeOpDocumentListRequestedServiceQuotaChangeHistoryOut } sv.NextToken = ptr.String(jtv) } - case "RequestedQuotas": if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChangeHistoryListDefinition(&sv.RequestedQuotas, value); err != nil { return err } - default: _, _ = key, value @@ -5373,12 +5139,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceQuotaIncreaseRequestsInTemplat } sv.NextToken = ptr.String(jtv) } - case "ServiceQuotaIncreaseRequestInTemplateList": if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplateList(&sv.ServiceQuotaIncreaseRequestInTemplateList, value); err != nil { return err } - default: _, _ = key, value @@ -5418,12 +5182,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceQuotasOutput(v **ListServiceQu } sv.NextToken = ptr.String(jtv) } - case "Quotas": if err := awsAwsjson11_deserializeDocumentServiceQuotaListDefinition(&sv.Quotas, value); err != nil { return err } - default: _, _ = key, value @@ -5463,12 +5225,10 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - case "Services": if err := awsAwsjson11_deserializeDocumentServiceInfoListDefinition(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -5504,7 +5264,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentOutputTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5540,7 +5299,6 @@ func awsAwsjson11_deserializeOpDocumentPutServiceQuotaIncreaseRequestIntoTemplat if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(&sv.ServiceQuotaIncreaseRequestInTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -5576,7 +5334,6 @@ func awsAwsjson11_deserializeOpDocumentRequestServiceQuotaIncreaseOutput(v **Req if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(&sv.RequestedQuota, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/sesv2/deserializers.go b/service/sesv2/deserializers.go index 60ef725411a..2a3d5c769ed 100644 --- a/service/sesv2/deserializers.go +++ b/service/sesv2/deserializers.go @@ -181,12 +181,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetMetricDataOutput(v **BatchGetMetr if err := awsRestjson1_deserializeDocumentMetricDataErrorList(&sv.Errors, value); err != nil { return err } - case "Results": if err := awsRestjson1_deserializeDocumentMetricDataResultList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -1057,7 +1055,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } - case "ReportId": if value != nil { jtv, ok := value.(string) @@ -1066,7 +1063,6 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.ReportId = ptr.String(jtv) } - default: _, _ = key, value @@ -1233,7 +1229,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -1242,7 +1237,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.IdentityType = types.IdentityType(jtv) } - case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -1251,7 +1245,6 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.VerifiedForSendingStatus = jtv } - default: _, _ = key, value @@ -1613,7 +1606,6 @@ func awsRestjson1_deserializeOpDocumentCreateExportJobOutput(v **CreateExportJob } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -1775,7 +1767,6 @@ func awsRestjson1_deserializeOpDocumentCreateImportJobOutput(v **CreateImportJob } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -2886,12 +2877,10 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.DedicatedIpAutoWarmupEnabled = jtv } - case "Details": if err := awsRestjson1_deserializeDocumentAccountDetails(&sv.Details, value); err != nil { return err } - case "EnforcementStatus": if value != nil { jtv, ok := value.(string) @@ -2900,7 +2889,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.EnforcementStatus = ptr.String(jtv) } - case "ProductionAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -2909,7 +2897,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ProductionAccessEnabled = jtv } - case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -2918,22 +2905,18 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.SendingEnabled = jtv } - case "SendQuota": if err := awsRestjson1_deserializeDocumentSendQuota(&sv.SendQuota, value); err != nil { return err } - case "SuppressionAttributes": if err := awsRestjson1_deserializeDocumentSuppressionAttributes(&sv.SuppressionAttributes, value); err != nil { return err } - case "VdmAttributes": if err := awsRestjson1_deserializeDocumentVdmAttributes(&sv.VdmAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -3091,7 +3074,6 @@ func awsRestjson1_deserializeOpDocumentGetBlacklistReportsOutput(v **GetBlacklis if err := awsRestjson1_deserializeDocumentBlacklistReport(&sv.BlacklistReport, value); err != nil { return err } - default: _, _ = key, value @@ -3253,42 +3235,34 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetOutput(v **GetConfigur } sv.ConfigurationSetName = ptr.String(jtv) } - case "DeliveryOptions": if err := awsRestjson1_deserializeDocumentDeliveryOptions(&sv.DeliveryOptions, value); err != nil { return err } - case "ReputationOptions": if err := awsRestjson1_deserializeDocumentReputationOptions(&sv.ReputationOptions, value); err != nil { return err } - case "SendingOptions": if err := awsRestjson1_deserializeDocumentSendingOptions(&sv.SendingOptions, value); err != nil { return err } - case "SuppressionOptions": if err := awsRestjson1_deserializeDocumentSuppressionOptions(&sv.SuppressionOptions, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TrackingOptions": if err := awsRestjson1_deserializeDocumentTrackingOptions(&sv.TrackingOptions, value); err != nil { return err } - case "VdmOptions": if err := awsRestjson1_deserializeDocumentVdmOptions(&sv.VdmOptions, value); err != nil { return err } - default: _, _ = key, value @@ -3446,7 +3420,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } - default: _, _ = key, value @@ -3608,7 +3581,6 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.AttributesData = ptr.String(jtv) } - case "ContactListName": if value != nil { jtv, ok := value.(string) @@ -3617,7 +3589,6 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.ContactListName = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3633,7 +3604,6 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -3642,7 +3612,6 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.EmailAddress = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3658,17 +3627,14 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } } - case "TopicDefaultPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicDefaultPreferences, value); err != nil { return err } - case "TopicPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicPreferences, value); err != nil { return err } - case "UnsubscribeAll": if value != nil { jtv, ok := value.(bool) @@ -3677,7 +3643,6 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.UnsubscribeAll = jtv } - default: _, _ = key, value @@ -3839,7 +3804,6 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } sv.ContactListName = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3855,7 +3819,6 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3864,7 +3827,6 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } sv.Description = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3880,17 +3842,14 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } - default: _, _ = key, value @@ -4052,7 +4011,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.FailureRedirectionURL = ptr.String(jtv) } - case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -4061,7 +4019,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.FromEmailAddress = ptr.String(jtv) } - case "SuccessRedirectionURL": if value != nil { jtv, ok := value.(string) @@ -4070,7 +4027,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.SuccessRedirectionURL = ptr.String(jtv) } - case "TemplateContent": if value != nil { jtv, ok := value.(string) @@ -4079,7 +4035,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateContent = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -4088,7 +4043,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateName = ptr.String(jtv) } - case "TemplateSubject": if value != nil { jtv, ok := value.(string) @@ -4097,7 +4051,6 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateSubject = ptr.String(jtv) } - default: _, _ = key, value @@ -4255,7 +4208,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpOutput(v **GetDedicatedIpOu if err := awsRestjson1_deserializeDocumentDedicatedIp(&sv.DedicatedIp, value); err != nil { return err } - default: _, _ = key, value @@ -4413,7 +4365,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpPoolOutput(v **GetDedicated if err := awsRestjson1_deserializeDocumentDedicatedIpPool(&sv.DedicatedIpPool, value); err != nil { return err } - default: _, _ = key, value @@ -4571,7 +4522,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps if err := awsRestjson1_deserializeDocumentDedicatedIpList(&sv.DedicatedIps, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4580,7 +4530,6 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4742,12 +4691,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.AccountStatus = types.DeliverabilityDashboardAccountStatus(jtv) } - case "ActiveSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.ActiveSubscribedDomains, value); err != nil { return err } - case "DashboardEnabled": if value != nil { jtv, ok := value.(bool) @@ -4756,12 +4703,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.DashboardEnabled = jtv } - case "PendingExpirationSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.PendingExpirationSubscribedDomains, value); err != nil { return err } - case "SubscriptionExpiryDate": if value != nil { switch jtv := value.(type) { @@ -4777,7 +4722,6 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } } - default: _, _ = key, value @@ -4935,12 +4879,10 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get if err := awsRestjson1_deserializeDocumentDeliverabilityTestReport(&sv.DeliverabilityTestReport, value); err != nil { return err } - case "IspPlacements": if err := awsRestjson1_deserializeDocumentIspPlacements(&sv.IspPlacements, value); err != nil { return err } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4949,17 +4891,14 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get } sv.Message = ptr.String(jtv) } - case "OverallPlacement": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.OverallPlacement, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5117,7 +5056,6 @@ func awsRestjson1_deserializeOpDocumentGetDomainDeliverabilityCampaignOutput(v * if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(&sv.DomainDeliverabilityCampaign, value); err != nil { return err } - default: _, _ = key, value @@ -5275,12 +5213,10 @@ func awsRestjson1_deserializeOpDocumentGetDomainStatisticsReportOutput(v **GetDo if err := awsRestjson1_deserializeDocumentDailyVolumes(&sv.DailyVolumes, value); err != nil { return err } - case "OverallVolume": if err := awsRestjson1_deserializeDocumentOverallVolume(&sv.OverallVolume, value); err != nil { return err } - default: _, _ = key, value @@ -5442,12 +5378,10 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.ConfigurationSetName = ptr.String(jtv) } - case "DkimAttributes": if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } - case "FeedbackForwardingStatus": if value != nil { jtv, ok := value.(bool) @@ -5456,7 +5390,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.FeedbackForwardingStatus = jtv } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -5465,27 +5398,22 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.IdentityType = types.IdentityType(jtv) } - case "MailFromAttributes": if err := awsRestjson1_deserializeDocumentMailFromAttributes(&sv.MailFromAttributes, value); err != nil { return err } - case "Policies": if err := awsRestjson1_deserializeDocumentPolicyMap(&sv.Policies, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VerificationInfo": if err := awsRestjson1_deserializeDocumentVerificationInfo(&sv.VerificationInfo, value); err != nil { return err } - case "VerificationStatus": if value != nil { jtv, ok := value.(string) @@ -5494,7 +5422,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerificationStatus = types.VerificationStatus(jtv) } - case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -5503,7 +5430,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerifiedForSendingStatus = jtv } - default: _, _ = key, value @@ -5661,7 +5587,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityPoliciesOutput(v **GetEma if err := awsRestjson1_deserializeDocumentPolicyMap(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -5819,7 +5744,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla if err := awsRestjson1_deserializeDocumentEmailTemplateContent(&sv.TemplateContent, value); err != nil { return err } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -5828,7 +5752,6 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -5997,7 +5920,6 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6013,17 +5935,14 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } } - case "ExportDataSource": if err := awsRestjson1_deserializeDocumentExportDataSource(&sv.ExportDataSource, value); err != nil { return err } - case "ExportDestination": if err := awsRestjson1_deserializeDocumentExportDestination(&sv.ExportDestination, value); err != nil { return err } - case "ExportSourceType": if value != nil { jtv, ok := value.(string) @@ -6032,12 +5951,10 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.ExportSourceType = types.ExportSourceType(jtv) } - case "FailureInfo": if err := awsRestjson1_deserializeDocumentFailureInfo(&sv.FailureInfo, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -6046,7 +5963,6 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6055,12 +5971,10 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.JobStatus = types.JobStatus(jtv) } - case "Statistics": if err := awsRestjson1_deserializeDocumentExportStatistics(&sv.Statistics, value); err != nil { return err } - default: _, _ = key, value @@ -6229,7 +6143,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6245,7 +6158,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } } - case "FailedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6258,22 +6170,18 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } - case "FailureInfo": if err := awsRestjson1_deserializeDocumentFailureInfo(&sv.FailureInfo, value); err != nil { return err } - case "ImportDataSource": if err := awsRestjson1_deserializeDocumentImportDataSource(&sv.ImportDataSource, value); err != nil { return err } - case "ImportDestination": if err := awsRestjson1_deserializeDocumentImportDestination(&sv.ImportDestination, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -6282,7 +6190,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6291,7 +6198,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.JobStatus = types.JobStatus(jtv) } - case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6304,7 +6210,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6462,7 +6367,6 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn if err := awsRestjson1_deserializeDocumentMessageTagList(&sv.EmailTags, value); err != nil { return err } - case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -6471,12 +6375,10 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.FromEmailAddress = ptr.String(jtv) } - case "Insights": if err := awsRestjson1_deserializeDocumentEmailInsightsList(&sv.Insights, value); err != nil { return err } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6485,7 +6387,6 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.MessageId = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -6494,7 +6395,6 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -6652,7 +6552,6 @@ func awsRestjson1_deserializeOpDocumentGetSuppressedDestinationOutput(v **GetSup if err := awsRestjson1_deserializeDocumentSuppressedDestination(&sv.SuppressedDestination, value); err != nil { return err } - default: _, _ = key, value @@ -6807,7 +6706,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSetNameList(&sv.ConfigurationSets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6816,7 +6714,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6971,7 +6868,6 @@ func awsRestjson1_deserializeOpDocumentListContactListsOutput(v **ListContactLis if err := awsRestjson1_deserializeDocumentListOfContactLists(&sv.ContactLists, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6980,7 +6876,6 @@ func awsRestjson1_deserializeOpDocumentListContactListsOutput(v **ListContactLis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7138,7 +7033,6 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsRestjson1_deserializeDocumentListOfContacts(&sv.Contacts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7147,7 +7041,6 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7302,7 +7195,6 @@ func awsRestjson1_deserializeOpDocumentListCustomVerificationEmailTemplatesOutpu if err := awsRestjson1_deserializeDocumentCustomVerificationEmailTemplatesList(&sv.CustomVerificationEmailTemplates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7311,7 +7203,6 @@ func awsRestjson1_deserializeOpDocumentListCustomVerificationEmailTemplatesOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7466,7 +7357,6 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica if err := awsRestjson1_deserializeDocumentListOfDedicatedIpPools(&sv.DedicatedIpPools, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7475,7 +7365,6 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7633,7 +7522,6 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L if err := awsRestjson1_deserializeDocumentDeliverabilityTestReports(&sv.DeliverabilityTestReports, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7642,7 +7530,6 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7800,7 +7687,6 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaignList(&sv.DomainDeliverabilityCampaigns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7809,7 +7695,6 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7964,7 +7849,6 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId if err := awsRestjson1_deserializeDocumentIdentityInfoList(&sv.EmailIdentities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7973,7 +7857,6 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8132,12 +8015,10 @@ func awsRestjson1_deserializeOpDocumentListEmailTemplatesOutput(v **ListEmailTem } sv.NextToken = ptr.String(jtv) } - case "TemplatesMetadata": if err := awsRestjson1_deserializeDocumentEmailTemplateMetadataList(&sv.TemplatesMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -8292,7 +8173,6 @@ func awsRestjson1_deserializeOpDocumentListExportJobsOutput(v **ListExportJobsOu if err := awsRestjson1_deserializeDocumentExportJobSummaryList(&sv.ExportJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8301,7 +8181,6 @@ func awsRestjson1_deserializeOpDocumentListExportJobsOutput(v **ListExportJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8456,7 +8335,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobSummaryList(&sv.ImportJobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8465,7 +8343,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8627,12 +8504,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } - case "Recommendations": if err := awsRestjson1_deserializeDocumentRecommendationsList(&sv.Recommendations, value); err != nil { return err } - default: _, _ = key, value @@ -8794,12 +8669,10 @@ func awsRestjson1_deserializeOpDocumentListSuppressedDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "SuppressedDestinationSummaries": if err := awsRestjson1_deserializeDocumentSuppressedDestinationSummaries(&sv.SuppressedDestinationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8957,7 +8830,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10714,12 +10586,10 @@ func awsRestjson1_deserializeOpDocumentPutEmailIdentityDkimSigningAttributesOutp } sv.DkimStatus = types.DkimStatus(jtv) } - case "DkimTokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.DkimTokens, value); err != nil { return err } - default: _, _ = key, value @@ -11171,7 +11041,6 @@ func awsRestjson1_deserializeOpDocumentSendBulkEmailOutput(v **SendBulkEmailOutp if err := awsRestjson1_deserializeDocumentBulkEmailEntryResultList(&sv.BulkEmailEntryResults, value); err != nil { return err } - default: _, _ = key, value @@ -11345,7 +11214,6 @@ func awsRestjson1_deserializeOpDocumentSendCustomVerificationEmailOutput(v **Sen } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -11522,7 +11390,6 @@ func awsRestjson1_deserializeOpDocumentSendEmailOutput(v **SendEmailOutput, valu } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -11781,7 +11648,6 @@ func awsRestjson1_deserializeOpDocumentTestRenderEmailTemplateOutput(v **TestRen } sv.RenderedTemplate = ptr.String(jtv) } - default: _, _ = key, value @@ -12952,7 +12818,6 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va if err := awsRestjson1_deserializeDocumentAdditionalContactEmailAddresses(&sv.AdditionalContactEmailAddresses, value); err != nil { return err } - case "ContactLanguage": if value != nil { jtv, ok := value.(string) @@ -12961,7 +12826,6 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.ContactLanguage = types.ContactLanguage(jtv) } - case "MailType": if value != nil { jtv, ok := value.(string) @@ -12970,12 +12834,10 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.MailType = types.MailType(jtv) } - case "ReviewDetails": if err := awsRestjson1_deserializeDocumentReviewDetails(&sv.ReviewDetails, value); err != nil { return err } - case "UseCaseDescription": if value != nil { jtv, ok := value.(string) @@ -12984,7 +12846,6 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.UseCaseDescription = ptr.String(jtv) } - case "WebsiteURL": if value != nil { jtv, ok := value.(string) @@ -12993,7 +12854,6 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.WebsiteURL = ptr.String(jtv) } - default: _, _ = key, value @@ -13023,15 +12883,9 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13039,15 +12893,11 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13108,15 +12958,9 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13124,15 +12968,11 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13157,15 +12997,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13173,15 +13007,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13250,7 +13080,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.Description = ptr.String(jtv) } - case "ListingTime": if value != nil { switch jtv := value.(type) { @@ -13266,7 +13095,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } } - case "RblName": if value != nil { jtv, ok := value.(string) @@ -13275,7 +13103,6 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.RblName = ptr.String(jtv) } - default: _, _ = key, value @@ -13349,7 +13176,6 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.BounceSubType = ptr.String(jtv) } - case "BounceType": if value != nil { jtv, ok := value.(string) @@ -13358,7 +13184,6 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.BounceType = types.BounceType(jtv) } - case "DiagnosticCode": if value != nil { jtv, ok := value.(string) @@ -13367,7 +13192,6 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.DiagnosticCode = ptr.String(jtv) } - default: _, _ = key, value @@ -13407,7 +13231,6 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.Error = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -13416,7 +13239,6 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.MessageId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13425,7 +13247,6 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.Status = types.BulkEmailStatus(jtv) } - default: _, _ = key, value @@ -13495,7 +13316,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDestination(v **types.CloudWatchD if err := awsRestjson1_deserializeDocumentCloudWatchDimensionConfigurations(&sv.DimensionConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -13535,7 +13355,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DefaultDimensionValue = ptr.String(jtv) } - case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -13544,7 +13363,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionName = ptr.String(jtv) } - case "DimensionValueSource": if value != nil { jtv, ok := value.(string) @@ -13553,7 +13371,6 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionValueSource = types.DimensionValueSource(jtv) } - default: _, _ = key, value @@ -13627,7 +13444,6 @@ func awsRestjson1_deserializeDocumentComplaint(v **types.Complaint, value interf } sv.ComplaintFeedbackType = ptr.String(jtv) } - case "ComplaintSubType": if value != nil { jtv, ok := value.(string) @@ -13636,7 +13452,6 @@ func awsRestjson1_deserializeDocumentComplaint(v **types.Complaint, value interf } sv.ComplaintSubType = ptr.String(jtv) } - default: _, _ = key, value @@ -13666,15 +13481,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13682,15 +13491,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13751,15 +13556,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13767,15 +13566,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13810,7 +13605,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.EmailAddress = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13826,17 +13620,14 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } - case "TopicDefaultPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicDefaultPreferences, value); err != nil { return err } - case "TopicPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicPreferences, value); err != nil { return err } - case "UnsubscribeAll": if value != nil { jtv, ok := value.(bool) @@ -13845,7 +13636,6 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.UnsubscribeAll = jtv } - default: _, _ = key, value @@ -13885,7 +13675,6 @@ func awsRestjson1_deserializeDocumentContactList(v **types.ContactList, value in } sv.ContactListName = ptr.String(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13901,7 +13690,6 @@ func awsRestjson1_deserializeDocumentContactList(v **types.ContactList, value in } } - default: _, _ = key, value @@ -13941,7 +13729,6 @@ func awsRestjson1_deserializeDocumentContactListDestination(v **types.ContactLis } sv.ContactListImportAction = types.ContactListImportAction(jtv) } - case "ContactListName": if value != nil { jtv, ok := value.(string) @@ -13950,7 +13737,6 @@ func awsRestjson1_deserializeDocumentContactListDestination(v **types.ContactLis } sv.ContactListName = ptr.String(jtv) } - default: _, _ = key, value @@ -13990,7 +13776,6 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.FailureRedirectionURL = ptr.String(jtv) } - case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13999,7 +13784,6 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.FromEmailAddress = ptr.String(jtv) } - case "SuccessRedirectionURL": if value != nil { jtv, ok := value.(string) @@ -14008,7 +13792,6 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.SuccessRedirectionURL = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -14017,7 +13800,6 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.TemplateName = ptr.String(jtv) } - case "TemplateSubject": if value != nil { jtv, ok := value.(string) @@ -14026,7 +13808,6 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.TemplateSubject = ptr.String(jtv) } - default: _, _ = key, value @@ -14096,7 +13877,6 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -14112,12 +13892,10 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in } } - case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -14191,7 +13969,6 @@ func awsRestjson1_deserializeDocumentDashboardAttributes(v **types.DashboardAttr } sv.EngagementMetrics = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -14231,7 +14008,6 @@ func awsRestjson1_deserializeDocumentDashboardOptions(v **types.DashboardOptions } sv.EngagementMetrics = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -14271,7 +14047,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.Ip = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -14280,7 +14055,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.PoolName = ptr.String(jtv) } - case "WarmupPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -14293,7 +14067,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupPercentage = ptr.Int32(int32(i64)) } - case "WarmupStatus": if value != nil { jtv, ok := value.(string) @@ -14302,7 +14075,6 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupStatus = types.WarmupStatus(jtv) } - default: _, _ = key, value @@ -14376,7 +14148,6 @@ func awsRestjson1_deserializeDocumentDedicatedIpPool(v **types.DedicatedIpPool, } sv.PoolName = ptr.String(jtv) } - case "ScalingMode": if value != nil { jtv, ok := value.(string) @@ -14385,7 +14156,6 @@ func awsRestjson1_deserializeDocumentDedicatedIpPool(v **types.DedicatedIpPool, } sv.ScalingMode = types.ScalingMode(jtv) } - default: _, _ = key, value @@ -14432,7 +14202,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } } - case "DeliverabilityTestStatus": if value != nil { jtv, ok := value.(string) @@ -14441,7 +14210,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } - case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -14450,7 +14218,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.FromEmailAddress = ptr.String(jtv) } - case "ReportId": if value != nil { jtv, ok := value.(string) @@ -14459,7 +14226,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportId = ptr.String(jtv) } - case "ReportName": if value != nil { jtv, ok := value.(string) @@ -14468,7 +14234,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportName = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -14477,7 +14242,6 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -14555,7 +14319,6 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.MaxDeliverySeconds = ptr.Int64(i64) } - case "SendingPoolName": if value != nil { jtv, ok := value.(string) @@ -14564,7 +14327,6 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.SendingPoolName = ptr.String(jtv) } - case "TlsPolicy": if value != nil { jtv, ok := value.(string) @@ -14573,7 +14335,6 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.TlsPolicy = types.TlsPolicy(jtv) } - default: _, _ = key, value @@ -14613,7 +14374,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.CurrentSigningKeyLength = types.DkimSigningKeyLength(jtv) } - case "LastKeyGenerationTimestamp": if value != nil { switch jtv := value.(type) { @@ -14629,7 +14389,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } } - case "NextSigningKeyLength": if value != nil { jtv, ok := value.(string) @@ -14638,7 +14397,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.NextSigningKeyLength = types.DkimSigningKeyLength(jtv) } - case "SigningAttributesOrigin": if value != nil { jtv, ok := value.(string) @@ -14647,7 +14405,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningAttributesOrigin = types.DkimSigningAttributesOrigin(jtv) } - case "SigningEnabled": if value != nil { jtv, ok := value.(bool) @@ -14656,7 +14413,6 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningEnabled = jtv } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14665,12 +14421,10 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.Status = types.DkimStatus(jtv) } - case "Tokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.Tokens, value); err != nil { return err } - default: _, _ = key, value @@ -14746,7 +14500,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.CampaignId = ptr.String(jtv) } - case "DeleteRate": if value != nil { switch jtv := value.(type) { @@ -14780,12 +14533,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "Esps": if err := awsRestjson1_deserializeDocumentEsps(&sv.Esps, value); err != nil { return err } - case "FirstSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -14801,7 +14552,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -14810,7 +14560,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.FromAddress = ptr.String(jtv) } - case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -14819,7 +14568,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ImageUrl = ptr.String(jtv) } - case "InboxCount": if value != nil { jtv, ok := value.(json.Number) @@ -14832,7 +14580,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.InboxCount = ptr.Int64(i64) } - case "LastSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -14848,7 +14595,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "ProjectedVolume": if value != nil { jtv, ok := value.(json.Number) @@ -14861,7 +14607,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ProjectedVolume = ptr.Int64(i64) } - case "ReadDeleteRate": if value != nil { switch jtv := value.(type) { @@ -14895,7 +14640,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "ReadRate": if value != nil { switch jtv := value.(type) { @@ -14929,12 +14673,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } - case "SendingIps": if err := awsRestjson1_deserializeDocumentIpList(&sv.SendingIps, value); err != nil { return err } - case "SpamCount": if value != nil { jtv, ok := value.(json.Number) @@ -14947,7 +14689,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.SpamCount = ptr.Int64(i64) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -14956,7 +14697,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -15030,12 +14770,10 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } sv.Domain = ptr.String(jtv) } - case "InboxPlacementTrackingOption": if err := awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(&sv.InboxPlacementTrackingOption, value); err != nil { return err } - case "SubscriptionStartDate": if value != nil { switch jtv := value.(type) { @@ -15051,7 +14789,6 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } } - default: _, _ = key, value @@ -15150,7 +14887,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } - case "InboxRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -15163,7 +14899,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.InboxRawCount = ptr.Int64(i64) } - case "IspName": if value != nil { jtv, ok := value.(string) @@ -15172,7 +14907,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.IspName = ptr.String(jtv) } - case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -15206,7 +14940,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } - case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -15219,7 +14952,6 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.SpamRawCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -15329,12 +15061,10 @@ func awsRestjson1_deserializeDocumentEmailInsights(v **types.EmailInsights, valu } sv.Destination = ptr.String(jtv) } - case "Events": if err := awsRestjson1_deserializeDocumentInsightsEvents(&sv.Events, value); err != nil { return err } - case "Isp": if value != nil { jtv, ok := value.(string) @@ -15343,7 +15073,6 @@ func awsRestjson1_deserializeDocumentEmailInsights(v **types.EmailInsights, valu } sv.Isp = ptr.String(jtv) } - default: _, _ = key, value @@ -15453,7 +15182,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Html = ptr.String(jtv) } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -15462,7 +15190,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Subject = ptr.String(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -15471,7 +15198,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -15518,7 +15244,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateMetadata(v **types.EmailTempla } } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -15527,7 +15252,6 @@ func awsRestjson1_deserializeDocumentEmailTemplateMetadata(v **types.EmailTempla } sv.TemplateName = ptr.String(jtv) } - default: _, _ = key, value @@ -15637,7 +15361,6 @@ func awsRestjson1_deserializeDocumentEventBridgeDestination(v **types.EventBridg } sv.EventBusArn = ptr.String(jtv) } - default: _, _ = key, value @@ -15673,7 +15396,6 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchDestination(&sv.CloudWatchDestination, value); err != nil { return err } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -15682,22 +15404,18 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = jtv } - case "EventBridgeDestination": if err := awsRestjson1_deserializeDocumentEventBridgeDestination(&sv.EventBridgeDestination, value); err != nil { return err } - case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } - case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15706,17 +15424,14 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } - case "PinpointDestination": if err := awsRestjson1_deserializeDocumentPinpointDestination(&sv.PinpointDestination, value); err != nil { return err } - case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } - default: _, _ = key, value @@ -15786,12 +15501,10 @@ func awsRestjson1_deserializeDocumentEventDetails(v **types.EventDetails, value if err := awsRestjson1_deserializeDocumentBounce(&sv.Bounce, value); err != nil { return err } - case "Complaint": if err := awsRestjson1_deserializeDocumentComplaint(&sv.Complaint, value); err != nil { return err } - default: _, _ = key, value @@ -15863,12 +15576,10 @@ func awsRestjson1_deserializeDocumentExportDataSource(v **types.ExportDataSource if err := awsRestjson1_deserializeDocumentMessageInsightsDataSource(&sv.MessageInsightsDataSource, value); err != nil { return err } - case "MetricsDataSource": if err := awsRestjson1_deserializeDocumentMetricsDataSource(&sv.MetricsDataSource, value); err != nil { return err } - default: _, _ = key, value @@ -15908,7 +15619,6 @@ func awsRestjson1_deserializeDocumentExportDestination(v **types.ExportDestinati } sv.DataFormat = types.DataFormat(jtv) } - case "S3Url": if value != nil { jtv, ok := value.(string) @@ -15917,7 +15627,6 @@ func awsRestjson1_deserializeDocumentExportDestination(v **types.ExportDestinati } sv.S3Url = ptr.String(jtv) } - default: _, _ = key, value @@ -16034,7 +15743,6 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16050,7 +15758,6 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } } - case "ExportSourceType": if value != nil { jtv, ok := value.(string) @@ -16059,7 +15766,6 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.ExportSourceType = types.ExportSourceType(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -16068,7 +15774,6 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -16077,7 +15782,6 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -16151,7 +15855,6 @@ func awsRestjson1_deserializeDocumentExportMetric(v **types.ExportMetric, value } sv.Aggregation = types.MetricAggregation(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16160,7 +15863,6 @@ func awsRestjson1_deserializeDocumentExportMetric(v **types.ExportMetric, value } sv.Name = types.Metric(jtv) } - default: _, _ = key, value @@ -16238,7 +15940,6 @@ func awsRestjson1_deserializeDocumentExportStatistics(v **types.ExportStatistics } sv.ExportedRecordsCount = ptr.Int32(int32(i64)) } - case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -16251,7 +15952,6 @@ func awsRestjson1_deserializeDocumentExportStatistics(v **types.ExportStatistics } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16291,7 +15991,6 @@ func awsRestjson1_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorMessage = ptr.String(jtv) } - case "FailedRecordsS3Url": if value != nil { jtv, ok := value.(string) @@ -16300,7 +15999,6 @@ func awsRestjson1_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.FailedRecordsS3Url = ptr.String(jtv) } - default: _, _ = key, value @@ -16340,7 +16038,6 @@ func awsRestjson1_deserializeDocumentGuardianAttributes(v **types.GuardianAttrib } sv.OptimizedSharedDelivery = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -16380,7 +16077,6 @@ func awsRestjson1_deserializeDocumentGuardianOptions(v **types.GuardianOptions, } sv.OptimizedSharedDelivery = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -16420,7 +16116,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityName = ptr.String(jtv) } - case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -16429,7 +16124,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityType = types.IdentityType(jtv) } - case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -16438,7 +16132,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.SendingEnabled = jtv } - case "VerificationStatus": if value != nil { jtv, ok := value.(string) @@ -16447,7 +16140,6 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.VerificationStatus = types.VerificationStatus(jtv) } - default: _, _ = key, value @@ -16521,7 +16213,6 @@ func awsRestjson1_deserializeDocumentImportDataSource(v **types.ImportDataSource } sv.DataFormat = types.DataFormat(jtv) } - case "S3Url": if value != nil { jtv, ok := value.(string) @@ -16530,7 +16221,6 @@ func awsRestjson1_deserializeDocumentImportDataSource(v **types.ImportDataSource } sv.S3Url = ptr.String(jtv) } - default: _, _ = key, value @@ -16566,12 +16256,10 @@ func awsRestjson1_deserializeDocumentImportDestination(v **types.ImportDestinati if err := awsRestjson1_deserializeDocumentContactListDestination(&sv.ContactListDestination, value); err != nil { return err } - case "SuppressionListDestination": if err := awsRestjson1_deserializeDocumentSuppressionListDestination(&sv.SuppressionListDestination, value); err != nil { return err } - default: _, _ = key, value @@ -16618,7 +16306,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } - case "FailedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -16631,12 +16318,10 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } - case "ImportDestination": if err := awsRestjson1_deserializeDocumentImportDestination(&sv.ImportDestination, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -16645,7 +16330,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -16654,7 +16338,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.JobStatus = types.JobStatus(jtv) } - case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -16667,7 +16350,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16741,12 +16423,10 @@ func awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(v **types.Inbo } sv.Global = jtv } - case "TrackedIsps": if err := awsRestjson1_deserializeDocumentIspNameList(&sv.TrackedIsps, value); err != nil { return err } - default: _, _ = key, value @@ -16782,7 +16462,6 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu if err := awsRestjson1_deserializeDocumentEventDetails(&sv.Details, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -16798,7 +16477,6 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -16807,7 +16485,6 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu } sv.Type = types.EventType(jtv) } - default: _, _ = key, value @@ -16871,15 +16548,9 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16887,15 +16558,11 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16920,15 +16587,9 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16936,15 +16597,11 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17087,12 +16744,10 @@ func awsRestjson1_deserializeDocumentIspPlacement(v **types.IspPlacement, value } sv.IspName = ptr.String(jtv) } - case "PlacementStatistics": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.PlacementStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -17166,7 +16821,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } - case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17175,7 +16829,6 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17277,15 +16930,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17293,15 +16940,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17440,7 +17083,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.BehaviorOnMxFailure = types.BehaviorOnMxFailure(jtv) } - case "MailFromDomain": if value != nil { jtv, ok := value.(string) @@ -17449,7 +17091,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomain = ptr.String(jtv) } - case "MailFromDomainStatus": if value != nil { jtv, ok := value.(string) @@ -17458,7 +17099,6 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomainStatus = types.MailFromDomainStatus(jtv) } - default: _, _ = key, value @@ -17488,15 +17128,9 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17504,15 +17138,11 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17554,17 +17184,14 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } } - case "Exclude": if err := awsRestjson1_deserializeDocumentMessageInsightsFilters(&sv.Exclude, value); err != nil { return err } - case "Include": if err := awsRestjson1_deserializeDocumentMessageInsightsFilters(&sv.Include, value); err != nil { return err } - case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -17577,7 +17204,6 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } sv.MaxResults = ptr.Int32(int32(i64)) } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -17593,7 +17219,6 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } } - default: _, _ = key, value @@ -17629,32 +17254,26 @@ func awsRestjson1_deserializeDocumentMessageInsightsFilters(v **types.MessageIns if err := awsRestjson1_deserializeDocumentEmailAddressFilterList(&sv.Destination, value); err != nil { return err } - case "FromEmailAddress": if err := awsRestjson1_deserializeDocumentEmailAddressFilterList(&sv.FromEmailAddress, value); err != nil { return err } - case "Isp": if err := awsRestjson1_deserializeDocumentIspFilterList(&sv.Isp, value); err != nil { return err } - case "LastDeliveryEvent": if err := awsRestjson1_deserializeDocumentLastDeliveryEventList(&sv.LastDeliveryEvent, value); err != nil { return err } - case "LastEngagementEvent": if err := awsRestjson1_deserializeDocumentLastEngagementEventList(&sv.LastEngagementEvent, value); err != nil { return err } - case "Subject": if err := awsRestjson1_deserializeDocumentEmailSubjectFilterList(&sv.Subject, value); err != nil { return err } - default: _, _ = key, value @@ -17684,15 +17303,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17700,15 +17313,11 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17743,7 +17352,6 @@ func awsRestjson1_deserializeDocumentMessageTag(v **types.MessageTag, value inte } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -17752,7 +17360,6 @@ func awsRestjson1_deserializeDocumentMessageTag(v **types.MessageTag, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -17826,7 +17433,6 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Code = types.QueryErrorCode(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -17835,7 +17441,6 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Id = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -17844,7 +17449,6 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -17918,17 +17522,14 @@ func awsRestjson1_deserializeDocumentMetricDataResult(v **types.MetricDataResult } sv.Id = ptr.String(jtv) } - case "Timestamps": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.Timestamps, value); err != nil { return err } - case "Values": if err := awsRestjson1_deserializeDocumentMetricValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -17998,7 +17599,6 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour if err := awsRestjson1_deserializeDocumentExportDimensions(&sv.Dimensions, value); err != nil { return err } - case "EndDate": if value != nil { switch jtv := value.(type) { @@ -18014,12 +17614,10 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } } - case "Metrics": if err := awsRestjson1_deserializeDocumentExportMetrics(&sv.Metrics, value); err != nil { return err } - case "Namespace": if value != nil { jtv, ok := value.(string) @@ -18028,7 +17626,6 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } sv.Namespace = types.MetricNamespace(jtv) } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -18044,7 +17641,6 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } } - default: _, _ = key, value @@ -18114,15 +17710,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18130,15 +17720,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18169,7 +17755,6 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } - case "ReadRatePercent": if value != nil { switch jtv := value.(type) { @@ -18203,12 +17788,10 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu } } - case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -18248,7 +17831,6 @@ func awsRestjson1_deserializeDocumentPinpointDestination(v **types.PinpointDesti } sv.ApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -18313,7 +17895,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "InboxPercentage": if value != nil { switch jtv := value.(type) { @@ -18347,7 +17928,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "MissingPercentage": if value != nil { switch jtv := value.(type) { @@ -18381,7 +17961,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -18415,7 +17994,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - case "SpfPercentage": if value != nil { switch jtv := value.(type) { @@ -18449,7 +18027,6 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } - default: _, _ = key, value @@ -18532,7 +18109,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18541,7 +18117,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } - case "Impact": if value != nil { jtv, ok := value.(string) @@ -18550,7 +18125,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Impact = types.RecommendationImpact(jtv) } - case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18566,7 +18140,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18575,7 +18148,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18584,7 +18156,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = types.RecommendationStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18593,7 +18164,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Type = types.RecommendationType(jtv) } - default: _, _ = key, value @@ -18674,7 +18244,6 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } } - case "ReputationMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -18683,7 +18252,6 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } sv.ReputationMetricsEnabled = jtv } - default: _, _ = key, value @@ -18723,7 +18291,6 @@ func awsRestjson1_deserializeDocumentReviewDetails(v **types.ReviewDetails, valu } sv.CaseId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18732,7 +18299,6 @@ func awsRestjson1_deserializeDocumentReviewDetails(v **types.ReviewDetails, valu } sv.Status = types.ReviewStatus(jtv) } - default: _, _ = key, value @@ -18772,7 +18338,6 @@ func awsRestjson1_deserializeDocumentSendingOptions(v **types.SendingOptions, va } sv.SendingEnabled = jtv } - default: _, _ = key, value @@ -18802,15 +18367,9 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18818,15 +18377,11 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18886,7 +18441,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - case "MaxSendRate": if value != nil { switch jtv := value.(type) { @@ -18920,7 +18474,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - case "SentLast24Hours": if value != nil { switch jtv := value.(type) { @@ -18954,7 +18507,6 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } - default: _, _ = key, value @@ -18994,7 +18546,6 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -19034,7 +18585,6 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.AdminEmail = ptr.String(jtv) } - case "PrimaryNameServer": if value != nil { jtv, ok := value.(string) @@ -19043,7 +18593,6 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.PrimaryNameServer = ptr.String(jtv) } - case "SerialNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19056,7 +18605,6 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.SerialNumber = i64 } - default: _, _ = key, value @@ -19092,7 +18640,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD if err := awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(&sv.Attributes, value); err != nil { return err } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -19101,7 +18648,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } sv.EmailAddress = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19117,7 +18663,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -19126,7 +18671,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } sv.Reason = types.SuppressionListReason(jtv) } - default: _, _ = key, value @@ -19166,7 +18710,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(v **types.S } sv.FeedbackId = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -19175,7 +18718,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(v **types.S } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -19249,7 +18791,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } sv.EmailAddress = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19265,7 +18806,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -19274,7 +18814,6 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } sv.Reason = types.SuppressionListReason(jtv) } - default: _, _ = key, value @@ -19310,7 +18849,6 @@ func awsRestjson1_deserializeDocumentSuppressionAttributes(v **types.Suppression if err := awsRestjson1_deserializeDocumentSuppressionListReasons(&sv.SuppressedReasons, value); err != nil { return err } - default: _, _ = key, value @@ -19350,7 +18888,6 @@ func awsRestjson1_deserializeDocumentSuppressionListDestination(v **types.Suppre } sv.SuppressionListImportAction = types.SuppressionListImportAction(jtv) } - default: _, _ = key, value @@ -19422,7 +18959,6 @@ func awsRestjson1_deserializeDocumentSuppressionOptions(v **types.SuppressionOpt if err := awsRestjson1_deserializeDocumentSuppressionListReasons(&sv.SuppressedReasons, value); err != nil { return err } - default: _, _ = key, value @@ -19462,7 +18998,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -19471,7 +19006,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -19578,15 +19112,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -19594,15 +19122,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -19637,7 +19161,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.DefaultSubscriptionStatus = types.SubscriptionStatus(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19646,7 +19169,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -19655,7 +19177,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.DisplayName = ptr.String(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -19664,7 +19185,6 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -19704,7 +19224,6 @@ func awsRestjson1_deserializeDocumentTopicPreference(v **types.TopicPreference, } sv.SubscriptionStatus = types.SubscriptionStatus(jtv) } - case "TopicName": if value != nil { jtv, ok := value.(string) @@ -19713,7 +19232,6 @@ func awsRestjson1_deserializeDocumentTopicPreference(v **types.TopicPreference, } sv.TopicName = ptr.String(jtv) } - default: _, _ = key, value @@ -19821,7 +19339,6 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.CustomRedirectDomain = ptr.String(jtv) } - case "HttpsPolicy": if value != nil { jtv, ok := value.(string) @@ -19830,7 +19347,6 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.HttpsPolicy = types.HttpsPolicy(jtv) } - default: _, _ = key, value @@ -19866,12 +19382,10 @@ func awsRestjson1_deserializeDocumentVdmAttributes(v **types.VdmAttributes, valu if err := awsRestjson1_deserializeDocumentDashboardAttributes(&sv.DashboardAttributes, value); err != nil { return err } - case "GuardianAttributes": if err := awsRestjson1_deserializeDocumentGuardianAttributes(&sv.GuardianAttributes, value); err != nil { return err } - case "VdmEnabled": if value != nil { jtv, ok := value.(string) @@ -19880,7 +19394,6 @@ func awsRestjson1_deserializeDocumentVdmAttributes(v **types.VdmAttributes, valu } sv.VdmEnabled = types.FeatureStatus(jtv) } - default: _, _ = key, value @@ -19916,12 +19429,10 @@ func awsRestjson1_deserializeDocumentVdmOptions(v **types.VdmOptions, value inte if err := awsRestjson1_deserializeDocumentDashboardOptions(&sv.DashboardOptions, value); err != nil { return err } - case "GuardianOptions": if err := awsRestjson1_deserializeDocumentGuardianOptions(&sv.GuardianOptions, value); err != nil { return err } - default: _, _ = key, value @@ -19961,7 +19472,6 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } sv.ErrorType = types.VerificationError(jtv) } - case "LastCheckedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19977,7 +19487,6 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } } - case "LastSuccessTimestamp": if value != nil { switch jtv := value.(type) { @@ -19993,12 +19502,10 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } } - case "SOARecord": if err := awsRestjson1_deserializeDocumentSOARecord(&sv.SOARecord, value); err != nil { return err } - default: _, _ = key, value @@ -20042,7 +19549,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.InboxRawCount = ptr.Int64(i64) } - case "ProjectedInbox": if value != nil { jtv, ok := value.(json.Number) @@ -20055,7 +19561,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedInbox = ptr.Int64(i64) } - case "ProjectedSpam": if value != nil { jtv, ok := value.(json.Number) @@ -20068,7 +19573,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedSpam = ptr.Int64(i64) } - case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -20081,7 +19585,6 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.SpamRawCount = ptr.Int64(i64) } - default: _, _ = key, value diff --git a/service/sfn/deserializers.go b/service/sfn/deserializers.go index e60bf510df6..f5d099e40c9 100644 --- a/service/sfn/deserializers.go +++ b/service/sfn/deserializers.go @@ -5735,15 +5735,9 @@ func awsAwsjson10_deserializeDocumentActivityAlreadyExists(v **types.ActivityAlr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5751,15 +5745,11 @@ func awsAwsjson10_deserializeDocumentActivityAlreadyExists(v **types.ActivityAlr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5784,15 +5774,9 @@ func awsAwsjson10_deserializeDocumentActivityDoesNotExist(v **types.ActivityDoes sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5800,15 +5784,11 @@ func awsAwsjson10_deserializeDocumentActivityDoesNotExist(v **types.ActivityDoes } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5843,7 +5823,6 @@ func awsAwsjson10_deserializeDocumentActivityFailedEventDetails(v **types.Activi } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -5852,7 +5831,6 @@ func awsAwsjson10_deserializeDocumentActivityFailedEventDetails(v **types.Activi } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -5882,15 +5860,9 @@ func awsAwsjson10_deserializeDocumentActivityLimitExceeded(v **types.ActivityLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5898,15 +5870,11 @@ func awsAwsjson10_deserializeDocumentActivityLimitExceeded(v **types.ActivityLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5975,7 +5943,6 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } sv.ActivityArn = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -5991,7 +5958,6 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } } - case "name": if value != nil { jtv, ok := value.(string) @@ -6000,7 +5966,6 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -6044,7 +6009,6 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.HeartbeatInSeconds = ptr.Int64(i64) } - case "input": if value != nil { jtv, ok := value.(string) @@ -6053,12 +6017,10 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -6067,7 +6029,6 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.Resource = ptr.String(jtv) } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6080,7 +6041,6 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.TimeoutInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -6120,7 +6080,6 @@ func awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(v **type } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6129,7 +6088,6 @@ func awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(v **type } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -6169,7 +6127,6 @@ func awsAwsjson10_deserializeDocumentActivityStartedEventDetails(v **types.Activ } sv.WorkerName = ptr.String(jtv) } - default: _, _ = key, value @@ -6209,12 +6166,10 @@ func awsAwsjson10_deserializeDocumentActivitySucceededEventDetails(v **types.Act } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - default: _, _ = key, value @@ -6254,7 +6209,6 @@ func awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(v **types.Acti } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6263,7 +6217,6 @@ func awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(v **types.Acti } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -6293,15 +6246,9 @@ func awsAwsjson10_deserializeDocumentActivityWorkerLimitExceeded(v **types.Activ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6309,15 +6256,11 @@ func awsAwsjson10_deserializeDocumentActivityWorkerLimitExceeded(v **types.Activ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6356,7 +6299,6 @@ func awsAwsjson10_deserializeDocumentBillingDetails(v **types.BillingDetails, va } sv.BilledDurationInMilliseconds = i64 } - case "billedMemoryUsedInMB": if value != nil { jtv, ok := value.(json.Number) @@ -6369,7 +6311,6 @@ func awsAwsjson10_deserializeDocumentBillingDetails(v **types.BillingDetails, va } sv.BilledMemoryUsedInMB = i64 } - default: _, _ = key, value @@ -6409,7 +6350,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(v **ty } sv.Included = jtv } - default: _, _ = key, value @@ -6449,7 +6389,6 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsLogGroup(v **types.CloudWatch } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6479,15 +6418,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6495,15 +6428,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6542,7 +6471,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsDataKeyReusePeriodSeconds = ptr.Int32(int32(i64)) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6551,7 +6479,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6560,7 +6487,6 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -6600,7 +6526,6 @@ func awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(v **types.Exec } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6609,7 +6534,6 @@ func awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(v **types.Exec } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -6639,15 +6563,9 @@ func awsAwsjson10_deserializeDocumentExecutionAlreadyExists(v **types.ExecutionA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6655,15 +6573,11 @@ func awsAwsjson10_deserializeDocumentExecutionAlreadyExists(v **types.ExecutionA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6688,15 +6602,9 @@ func awsAwsjson10_deserializeDocumentExecutionDoesNotExist(v **types.ExecutionDo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6704,15 +6612,11 @@ func awsAwsjson10_deserializeDocumentExecutionDoesNotExist(v **types.ExecutionDo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6747,7 +6651,6 @@ func awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(v **types.Execu } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -6756,7 +6659,6 @@ func awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(v **types.Execu } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -6786,15 +6688,9 @@ func awsAwsjson10_deserializeDocumentExecutionLimitExceeded(v **types.ExecutionL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6802,15 +6698,11 @@ func awsAwsjson10_deserializeDocumentExecutionLimitExceeded(v **types.ExecutionL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6879,7 +6771,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.ExecutionArn = ptr.String(jtv) } - case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -6892,7 +6783,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.ItemCount = ptr.Int32(int32(i64)) } - case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -6901,7 +6791,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.MapRunArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6910,7 +6799,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.Name = ptr.String(jtv) } - case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -6923,7 +6811,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.RedriveCount = ptr.Int32(int32(i64)) } - case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -6939,7 +6826,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -6955,7 +6841,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -6964,7 +6849,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineAliasArn = ptr.String(jtv) } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -6973,7 +6857,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineArn = ptr.String(jtv) } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -6982,7 +6865,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6991,7 +6873,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.Status = types.ExecutionStatus(jtv) } - case "stopDate": if value != nil { switch jtv := value.(type) { @@ -7007,7 +6888,6 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } - default: _, _ = key, value @@ -7037,15 +6917,9 @@ func awsAwsjson10_deserializeDocumentExecutionNotRedrivable(v **types.ExecutionN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7053,15 +6927,11 @@ func awsAwsjson10_deserializeDocumentExecutionNotRedrivable(v **types.ExecutionN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7100,7 +6970,6 @@ func awsAwsjson10_deserializeDocumentExecutionRedrivenEventDetails(v **types.Exe } sv.RedriveCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7140,12 +7009,10 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7154,7 +7021,6 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.RoleArn = ptr.String(jtv) } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -7163,7 +7029,6 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.StateMachineAliasArn = ptr.String(jtv) } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -7172,7 +7037,6 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.StateMachineVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7212,12 +7076,10 @@ func awsAwsjson10_deserializeDocumentExecutionSucceededEventDetails(v **types.Ex } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - default: _, _ = key, value @@ -7257,7 +7119,6 @@ func awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(v **types.Exe } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -7266,7 +7127,6 @@ func awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(v **types.Exe } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -7302,62 +7162,50 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value if err := awsAwsjson10_deserializeDocumentActivityFailedEventDetails(&sv.ActivityFailedEventDetails, value); err != nil { return err } - case "activityScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(&sv.ActivityScheduledEventDetails, value); err != nil { return err } - case "activityScheduleFailedEventDetails": if err := awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(&sv.ActivityScheduleFailedEventDetails, value); err != nil { return err } - case "activityStartedEventDetails": if err := awsAwsjson10_deserializeDocumentActivityStartedEventDetails(&sv.ActivityStartedEventDetails, value); err != nil { return err } - case "activitySucceededEventDetails": if err := awsAwsjson10_deserializeDocumentActivitySucceededEventDetails(&sv.ActivitySucceededEventDetails, value); err != nil { return err } - case "activityTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(&sv.ActivityTimedOutEventDetails, value); err != nil { return err } - case "executionAbortedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(&sv.ExecutionAbortedEventDetails, value); err != nil { return err } - case "executionFailedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(&sv.ExecutionFailedEventDetails, value); err != nil { return err } - case "executionRedrivenEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionRedrivenEventDetails(&sv.ExecutionRedrivenEventDetails, value); err != nil { return err } - case "executionStartedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(&sv.ExecutionStartedEventDetails, value); err != nil { return err } - case "executionSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionSucceededEventDetails(&sv.ExecutionSucceededEventDetails, value); err != nil { return err } - case "executionTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(&sv.ExecutionTimedOutEventDetails, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(json.Number) @@ -7370,77 +7218,62 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.Id = i64 } - case "lambdaFunctionFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(&sv.LambdaFunctionFailedEventDetails, value); err != nil { return err } - case "lambdaFunctionScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(&sv.LambdaFunctionScheduledEventDetails, value); err != nil { return err } - case "lambdaFunctionScheduleFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(&sv.LambdaFunctionScheduleFailedEventDetails, value); err != nil { return err } - case "lambdaFunctionStartFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(&sv.LambdaFunctionStartFailedEventDetails, value); err != nil { return err } - case "lambdaFunctionSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionSucceededEventDetails(&sv.LambdaFunctionSucceededEventDetails, value); err != nil { return err } - case "lambdaFunctionTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(&sv.LambdaFunctionTimedOutEventDetails, value); err != nil { return err } - case "mapIterationAbortedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationAbortedEventDetails, value); err != nil { return err } - case "mapIterationFailedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationFailedEventDetails, value); err != nil { return err } - case "mapIterationStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationStartedEventDetails, value); err != nil { return err } - case "mapIterationSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationSucceededEventDetails, value); err != nil { return err } - case "mapRunFailedEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(&sv.MapRunFailedEventDetails, value); err != nil { return err } - case "mapRunRedrivenEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(&sv.MapRunRedrivenEventDetails, value); err != nil { return err } - case "mapRunStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunStartedEventDetails(&sv.MapRunStartedEventDetails, value); err != nil { return err } - case "mapStateStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapStateStartedEventDetails(&sv.MapStateStartedEventDetails, value); err != nil { return err } - case "previousEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7453,57 +7286,46 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.PreviousEventId = i64 } - case "stateEnteredEventDetails": if err := awsAwsjson10_deserializeDocumentStateEnteredEventDetails(&sv.StateEnteredEventDetails, value); err != nil { return err } - case "stateExitedEventDetails": if err := awsAwsjson10_deserializeDocumentStateExitedEventDetails(&sv.StateExitedEventDetails, value); err != nil { return err } - case "taskFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskFailedEventDetails(&sv.TaskFailedEventDetails, value); err != nil { return err } - case "taskScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(&sv.TaskScheduledEventDetails, value); err != nil { return err } - case "taskStartedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskStartedEventDetails(&sv.TaskStartedEventDetails, value); err != nil { return err } - case "taskStartFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(&sv.TaskStartFailedEventDetails, value); err != nil { return err } - case "taskSubmitFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(&sv.TaskSubmitFailedEventDetails, value); err != nil { return err } - case "taskSubmittedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(&sv.TaskSubmittedEventDetails, value); err != nil { return err } - case "taskSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(&sv.TaskSucceededEventDetails, value); err != nil { return err } - case "taskTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(&sv.TaskTimedOutEventDetails, value); err != nil { return err } - case "timestamp": if value != nil { switch jtv := value.(type) { @@ -7519,7 +7341,6 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } } - case "type": if value != nil { jtv, ok := value.(string) @@ -7528,7 +7349,6 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.Type = types.HistoryEventType(jtv) } - default: _, _ = key, value @@ -7568,7 +7388,6 @@ func awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(v **types. } sv.Truncated = jtv } - default: _, _ = key, value @@ -7642,7 +7461,6 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterInputPath = ptr.String(jtv) } - case "afterParameters": if value != nil { jtv, ok := value.(string) @@ -7651,7 +7469,6 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterParameters = ptr.String(jtv) } - case "afterResultPath": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7477,6 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterResultPath = ptr.String(jtv) } - case "afterResultSelector": if value != nil { jtv, ok := value.(string) @@ -7669,7 +7485,6 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterResultSelector = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -7678,17 +7493,14 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.Input = ptr.String(jtv) } - case "request": if err := awsAwsjson10_deserializeDocumentInspectionDataRequest(&sv.Request, value); err != nil { return err } - case "response": if err := awsAwsjson10_deserializeDocumentInspectionDataResponse(&sv.Response, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -7697,7 +7509,6 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -7737,7 +7548,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Body = ptr.String(jtv) } - case "headers": if value != nil { jtv, ok := value.(string) @@ -7746,7 +7556,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Headers = ptr.String(jtv) } - case "method": if value != nil { jtv, ok := value.(string) @@ -7755,7 +7564,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Method = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -7764,7 +7572,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Protocol = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -7773,7 +7580,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -7813,7 +7619,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Body = ptr.String(jtv) } - case "headers": if value != nil { jtv, ok := value.(string) @@ -7822,7 +7627,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Headers = ptr.String(jtv) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -7831,7 +7635,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Protocol = ptr.String(jtv) } - case "statusCode": if value != nil { jtv, ok := value.(string) @@ -7840,7 +7643,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.StatusCode = ptr.String(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7849,7 +7651,6 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -7879,15 +7680,9 @@ func awsAwsjson10_deserializeDocumentInvalidArn(v **types.InvalidArn, value inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7895,15 +7690,11 @@ func awsAwsjson10_deserializeDocumentInvalidArn(v **types.InvalidArn, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7928,15 +7719,9 @@ func awsAwsjson10_deserializeDocumentInvalidDefinition(v **types.InvalidDefiniti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7944,15 +7729,11 @@ func awsAwsjson10_deserializeDocumentInvalidDefinition(v **types.InvalidDefiniti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7977,15 +7758,9 @@ func awsAwsjson10_deserializeDocumentInvalidEncryptionConfiguration(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7993,15 +7768,11 @@ func awsAwsjson10_deserializeDocumentInvalidEncryptionConfiguration(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8026,15 +7797,9 @@ func awsAwsjson10_deserializeDocumentInvalidExecutionInput(v **types.InvalidExec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8042,15 +7807,11 @@ func awsAwsjson10_deserializeDocumentInvalidExecutionInput(v **types.InvalidExec } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8075,15 +7836,9 @@ func awsAwsjson10_deserializeDocumentInvalidLoggingConfiguration(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8091,15 +7846,11 @@ func awsAwsjson10_deserializeDocumentInvalidLoggingConfiguration(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8124,15 +7875,9 @@ func awsAwsjson10_deserializeDocumentInvalidName(v **types.InvalidName, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8140,15 +7885,11 @@ func awsAwsjson10_deserializeDocumentInvalidName(v **types.InvalidName, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8173,15 +7914,9 @@ func awsAwsjson10_deserializeDocumentInvalidOutput(v **types.InvalidOutput, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8189,15 +7924,11 @@ func awsAwsjson10_deserializeDocumentInvalidOutput(v **types.InvalidOutput, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8222,15 +7953,9 @@ func awsAwsjson10_deserializeDocumentInvalidToken(v **types.InvalidToken, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8238,15 +7963,11 @@ func awsAwsjson10_deserializeDocumentInvalidToken(v **types.InvalidToken, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8271,15 +7992,9 @@ func awsAwsjson10_deserializeDocumentInvalidTracingConfiguration(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8287,15 +8002,11 @@ func awsAwsjson10_deserializeDocumentInvalidTracingConfiguration(v **types.Inval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8320,15 +8031,9 @@ func awsAwsjson10_deserializeDocumentKmsAccessDeniedException(v **types.KmsAcces sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8336,15 +8041,11 @@ func awsAwsjson10_deserializeDocumentKmsAccessDeniedException(v **types.KmsAcces } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8369,13 +8070,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "kmsKeyState": if value != nil { @@ -8385,8 +8080,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval } sv.KmsKeyState = types.KmsKeyState(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8394,15 +8088,11 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8427,15 +8117,9 @@ func awsAwsjson10_deserializeDocumentKmsThrottlingException(v **types.KmsThrottl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8443,15 +8127,11 @@ func awsAwsjson10_deserializeDocumentKmsThrottlingException(v **types.KmsThrottl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8486,7 +8166,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(v **types. } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8495,7 +8174,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(v **types. } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -8535,12 +8213,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -8549,12 +8225,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.Resource = ptr.String(jtv) } - case "taskCredentials": if err := awsAwsjson10_deserializeDocumentTaskCredentials(&sv.TaskCredentials, value); err != nil { return err } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8567,7 +8241,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.TimeoutInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -8607,7 +8280,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(v } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8616,7 +8288,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(v } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -8656,7 +8327,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(v **t } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8665,7 +8335,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(v **t } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -8705,12 +8374,10 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionSucceededEventDetails(v **typ } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - default: _, _ = key, value @@ -8750,7 +8417,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(v **type } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -8759,7 +8425,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(v **type } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -8795,7 +8460,6 @@ func awsAwsjson10_deserializeDocumentLogDestination(v **types.LogDestination, va if err := awsAwsjson10_deserializeDocumentCloudWatchLogsLogGroup(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } - default: _, _ = key, value @@ -8865,7 +8529,6 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson10_deserializeDocumentLogDestinationList(&sv.Destinations, value); err != nil { return err } - case "includeExecutionData": if value != nil { jtv, ok := value.(bool) @@ -8874,7 +8537,6 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.IncludeExecutionData = jtv } - case "level": if value != nil { jtv, ok := value.(string) @@ -8883,7 +8545,6 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.Level = types.LogLevel(jtv) } - default: _, _ = key, value @@ -8927,7 +8588,6 @@ func awsAwsjson10_deserializeDocumentMapIterationEventDetails(v **types.MapItera } sv.Index = int32(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8936,7 +8596,6 @@ func awsAwsjson10_deserializeDocumentMapIterationEventDetails(v **types.MapItera } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8980,7 +8639,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Aborted = i64 } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -8993,7 +8651,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Failed = i64 } - case "failuresNotRedrivable": if value != nil { jtv, ok := value.(json.Number) @@ -9006,7 +8663,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.FailuresNotRedrivable = ptr.Int64(i64) } - case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -9019,7 +8675,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Pending = i64 } - case "pendingRedrive": if value != nil { jtv, ok := value.(json.Number) @@ -9032,7 +8687,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.PendingRedrive = ptr.Int64(i64) } - case "resultsWritten": if value != nil { jtv, ok := value.(json.Number) @@ -9045,7 +8699,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.ResultsWritten = i64 } - case "running": if value != nil { jtv, ok := value.(json.Number) @@ -9058,7 +8711,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Running = i64 } - case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -9071,7 +8723,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Succeeded = i64 } - case "timedOut": if value != nil { jtv, ok := value.(json.Number) @@ -9084,7 +8735,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.TimedOut = i64 } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -9097,7 +8747,6 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Total = i64 } - default: _, _ = key, value @@ -9137,7 +8786,6 @@ func awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(v **types.MapRunFa } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -9146,7 +8794,6 @@ func awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(v **types.MapRunFa } sv.Error = ptr.String(jtv) } - default: _, _ = key, value @@ -9190,7 +8837,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Aborted = i64 } - case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -9203,7 +8849,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Failed = i64 } - case "failuresNotRedrivable": if value != nil { jtv, ok := value.(json.Number) @@ -9216,7 +8861,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.FailuresNotRedrivable = ptr.Int64(i64) } - case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -9229,7 +8873,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Pending = i64 } - case "pendingRedrive": if value != nil { jtv, ok := value.(json.Number) @@ -9242,7 +8885,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.PendingRedrive = ptr.Int64(i64) } - case "resultsWritten": if value != nil { jtv, ok := value.(json.Number) @@ -9255,7 +8897,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.ResultsWritten = i64 } - case "running": if value != nil { jtv, ok := value.(json.Number) @@ -9268,7 +8909,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Running = i64 } - case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -9281,7 +8921,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Succeeded = i64 } - case "timedOut": if value != nil { jtv, ok := value.(json.Number) @@ -9294,7 +8933,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.TimedOut = i64 } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -9307,7 +8945,6 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Total = i64 } - default: _, _ = key, value @@ -9381,7 +9018,6 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.ExecutionArn = ptr.String(jtv) } - case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -9390,7 +9026,6 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.MapRunArn = ptr.String(jtv) } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -9406,7 +9041,6 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -9415,7 +9049,6 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.StateMachineArn = ptr.String(jtv) } - case "stopDate": if value != nil { switch jtv := value.(type) { @@ -9431,7 +9064,6 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } } - default: _, _ = key, value @@ -9471,7 +9103,6 @@ func awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(v **types.MapRun } sv.MapRunArn = ptr.String(jtv) } - case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -9484,7 +9115,6 @@ func awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(v **types.MapRun } sv.RedriveCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9524,7 +9154,6 @@ func awsAwsjson10_deserializeDocumentMapRunStartedEventDetails(v **types.MapRunS } sv.MapRunArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9568,7 +9197,6 @@ func awsAwsjson10_deserializeDocumentMapStateStartedEventDetails(v **types.MapSt } sv.Length = int32(i64) } - default: _, _ = key, value @@ -9598,15 +9226,9 @@ func awsAwsjson10_deserializeDocumentMissingRequiredParameter(v **types.MissingR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9614,15 +9236,11 @@ func awsAwsjson10_deserializeDocumentMissingRequiredParameter(v **types.MissingR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9647,15 +9265,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9663,7 +9275,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9672,15 +9283,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9749,7 +9356,6 @@ func awsAwsjson10_deserializeDocumentRoutingConfigurationListItem(v **types.Rout } sv.StateMachineVersionArn = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -9762,7 +9368,6 @@ func awsAwsjson10_deserializeDocumentRoutingConfigurationListItem(v **types.Rout } sv.Weight = int32(i64) } - default: _, _ = key, value @@ -9792,15 +9397,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9808,15 +9407,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9851,12 +9446,10 @@ func awsAwsjson10_deserializeDocumentStateEnteredEventDetails(v **types.StateEnt } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -9865,7 +9458,6 @@ func awsAwsjson10_deserializeDocumentStateEnteredEventDetails(v **types.StateEnt } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9905,7 +9497,6 @@ func awsAwsjson10_deserializeDocumentStateExitedEventDetails(v **types.StateExit } sv.Name = ptr.String(jtv) } - case "output": if value != nil { jtv, ok := value.(string) @@ -9914,12 +9505,10 @@ func awsAwsjson10_deserializeDocumentStateExitedEventDetails(v **types.StateExit } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - default: _, _ = key, value @@ -10000,7 +9589,6 @@ func awsAwsjson10_deserializeDocumentStateMachineAliasListItem(v **types.StateMa } } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -10009,7 +9597,6 @@ func awsAwsjson10_deserializeDocumentStateMachineAliasListItem(v **types.StateMa } sv.StateMachineAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10039,15 +9626,9 @@ func awsAwsjson10_deserializeDocumentStateMachineAlreadyExists(v **types.StateMa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10055,15 +9636,11 @@ func awsAwsjson10_deserializeDocumentStateMachineAlreadyExists(v **types.StateMa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10088,15 +9665,9 @@ func awsAwsjson10_deserializeDocumentStateMachineDeleting(v **types.StateMachine sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10104,15 +9675,11 @@ func awsAwsjson10_deserializeDocumentStateMachineDeleting(v **types.StateMachine } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10137,15 +9704,9 @@ func awsAwsjson10_deserializeDocumentStateMachineDoesNotExist(v **types.StateMac sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10153,15 +9714,11 @@ func awsAwsjson10_deserializeDocumentStateMachineDoesNotExist(v **types.StateMac } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10186,15 +9743,9 @@ func awsAwsjson10_deserializeDocumentStateMachineLimitExceeded(v **types.StateMa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10202,15 +9753,11 @@ func awsAwsjson10_deserializeDocumentStateMachineLimitExceeded(v **types.StateMa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10286,7 +9833,6 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } } - case "name": if value != nil { jtv, ok := value.(string) @@ -10295,7 +9841,6 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.Name = ptr.String(jtv) } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -10304,7 +9849,6 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.StateMachineArn = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -10313,7 +9857,6 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.Type = types.StateMachineType(jtv) } - default: _, _ = key, value @@ -10343,15 +9886,9 @@ func awsAwsjson10_deserializeDocumentStateMachineTypeNotSupported(v **types.Stat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10359,15 +9896,11 @@ func awsAwsjson10_deserializeDocumentStateMachineTypeNotSupported(v **types.Stat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10443,7 +9976,6 @@ func awsAwsjson10_deserializeDocumentStateMachineVersionListItem(v **types.State } } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -10452,7 +9984,6 @@ func awsAwsjson10_deserializeDocumentStateMachineVersionListItem(v **types.State } sv.StateMachineVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10492,7 +10023,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -10501,7 +10031,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10575,7 +10104,6 @@ func awsAwsjson10_deserializeDocumentTaskCredentials(v **types.TaskCredentials, } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10605,15 +10133,9 @@ func awsAwsjson10_deserializeDocumentTaskDoesNotExist(v **types.TaskDoesNotExist sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10621,15 +10143,11 @@ func awsAwsjson10_deserializeDocumentTaskDoesNotExist(v **types.TaskDoesNotExist } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10664,7 +10182,6 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -10673,7 +10190,6 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Error = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -10682,7 +10198,6 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10691,7 +10206,6 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -10735,7 +10249,6 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.HeartbeatInSeconds = ptr.Int64(i64) } - case "parameters": if value != nil { jtv, ok := value.(string) @@ -10744,7 +10257,6 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Parameters = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -10753,7 +10265,6 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Region = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -10762,7 +10273,6 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10771,12 +10281,10 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.ResourceType = ptr.String(jtv) } - case "taskCredentials": if err := awsAwsjson10_deserializeDocumentTaskCredentials(&sv.TaskCredentials, value); err != nil { return err } - case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10789,7 +10297,6 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.TimeoutInSeconds = ptr.Int64(i64) } - default: _, _ = key, value @@ -10829,7 +10336,6 @@ func awsAwsjson10_deserializeDocumentTaskStartedEventDetails(v **types.TaskStart } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10838,7 +10344,6 @@ func awsAwsjson10_deserializeDocumentTaskStartedEventDetails(v **types.TaskStart } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -10878,7 +10383,6 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -10887,7 +10391,6 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Error = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -10896,7 +10399,6 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10905,7 +10407,6 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -10945,7 +10446,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -10954,7 +10454,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Error = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -10963,7 +10462,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10972,7 +10470,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -11012,12 +10509,10 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -11026,7 +10521,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11035,7 +10529,6 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -11075,12 +10568,10 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - case "resource": if value != nil { jtv, ok := value.(string) @@ -11089,7 +10580,6 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11098,7 +10588,6 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -11128,15 +10617,9 @@ func awsAwsjson10_deserializeDocumentTaskTimedOut(v **types.TaskTimedOut, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11144,15 +10627,11 @@ func awsAwsjson10_deserializeDocumentTaskTimedOut(v **types.TaskTimedOut, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11187,7 +10666,6 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -11196,7 +10674,6 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Error = ptr.String(jtv) } - case "resource": if value != nil { jtv, ok := value.(string) @@ -11205,7 +10682,6 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Resource = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11214,7 +10690,6 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -11244,15 +10719,9 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11260,7 +10729,6 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -11269,15 +10737,11 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11312,7 +10776,6 @@ func awsAwsjson10_deserializeDocumentTracingConfiguration(v **types.TracingConfi } sv.Enabled = jtv } - default: _, _ = key, value @@ -11352,7 +10815,6 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Code = ptr.String(jtv) } - case "location": if value != nil { jtv, ok := value.(string) @@ -11361,7 +10823,6 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Location = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -11370,7 +10831,6 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Message = ptr.String(jtv) } - case "severity": if value != nil { jtv, ok := value.(string) @@ -11379,7 +10839,6 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Severity = types.ValidateStateMachineDefinitionSeverity(jtv) } - default: _, _ = key, value @@ -11443,15 +10902,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11459,7 +10912,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -11468,15 +10920,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11511,7 +10959,6 @@ func awsAwsjson10_deserializeOpDocumentCreateActivityOutput(v **CreateActivityOu } sv.ActivityArn = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11527,7 +10974,6 @@ func awsAwsjson10_deserializeOpDocumentCreateActivityOutput(v **CreateActivityOu } } - default: _, _ = key, value @@ -11574,7 +11020,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineAliasOutput(v **CreateS } } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -11583,7 +11028,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineAliasOutput(v **CreateS } sv.StateMachineAliasArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11630,7 +11074,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -11639,7 +11082,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } sv.StateMachineArn = ptr.String(jtv) } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -11648,7 +11090,6 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } sv.StateMachineVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11812,7 +11253,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } sv.ActivityArn = ptr.String(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11828,12 +11268,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } } - case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11842,7 +11280,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11882,7 +11319,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -11891,7 +11327,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Error = ptr.String(jtv) } - case "executionArn": if value != nil { jtv, ok := value.(string) @@ -11900,7 +11335,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ExecutionArn = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -11909,12 +11343,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -11923,7 +11355,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.MapRunArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11932,7 +11363,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Name = ptr.String(jtv) } - case "output": if value != nil { jtv, ok := value.(string) @@ -11941,12 +11371,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -11959,7 +11387,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveCount = ptr.Int32(int32(i64)) } - case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -11975,7 +11402,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } - case "redriveStatus": if value != nil { jtv, ok := value.(string) @@ -11984,7 +11410,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveStatus = types.ExecutionRedriveStatus(jtv) } - case "redriveStatusReason": if value != nil { jtv, ok := value.(string) @@ -11993,7 +11418,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveStatusReason = ptr.String(jtv) } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -12009,7 +11433,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -12018,7 +11441,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineAliasArn = ptr.String(jtv) } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -12027,7 +11449,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineArn = ptr.String(jtv) } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -12036,7 +11457,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineVersionArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12045,7 +11465,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Status = types.ExecutionStatus(jtv) } - case "stopDate": if value != nil { switch jtv := value.(type) { @@ -12061,7 +11480,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } - case "traceHeader": if value != nil { jtv, ok := value.(string) @@ -12070,7 +11488,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.TraceHeader = ptr.String(jtv) } - default: _, _ = key, value @@ -12110,17 +11527,14 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.ExecutionArn = ptr.String(jtv) } - case "executionCounts": if err := awsAwsjson10_deserializeDocumentMapRunExecutionCounts(&sv.ExecutionCounts, value); err != nil { return err } - case "itemCounts": if err := awsAwsjson10_deserializeDocumentMapRunItemCounts(&sv.ItemCounts, value); err != nil { return err } - case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -12129,7 +11543,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.MapRunArn = ptr.String(jtv) } - case "maxConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -12142,7 +11555,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.MaxConcurrency = int32(i64) } - case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -12155,7 +11567,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.RedriveCount = ptr.Int32(int32(i64)) } - case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -12171,7 +11582,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -12187,7 +11597,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } - case "status": if value != nil { jtv, ok := value.(string) @@ -12196,7 +11605,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.Status = types.MapRunStatus(jtv) } - case "stopDate": if value != nil { switch jtv := value.(type) { @@ -12212,7 +11620,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } - case "toleratedFailureCount": if value != nil { jtv, ok := value.(json.Number) @@ -12225,7 +11632,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.ToleratedFailureCount = i64 } - case "toleratedFailurePercentage": if value != nil { switch jtv := value.(type) { @@ -12259,7 +11665,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } - default: _, _ = key, value @@ -12306,7 +11711,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } } - case "description": if value != nil { jtv, ok := value.(string) @@ -12315,7 +11719,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12324,12 +11727,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.Name = ptr.String(jtv) } - case "routingConfiguration": if err := awsAwsjson10_deserializeDocumentRoutingConfigurationList(&sv.RoutingConfiguration, value); err != nil { return err } - case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -12338,7 +11739,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.StateMachineAliasArn = ptr.String(jtv) } - case "updateDate": if value != nil { switch jtv := value.(type) { @@ -12354,7 +11754,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } } - default: _, _ = key, value @@ -12394,12 +11793,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Definition = ptr.String(jtv) } - case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "label": if value != nil { jtv, ok := value.(string) @@ -12408,12 +11805,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Label = ptr.String(jtv) } - case "loggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -12422,7 +11817,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.MapRunArn = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12431,7 +11825,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -12440,7 +11833,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.RevisionId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12449,7 +11841,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.RoleArn = ptr.String(jtv) } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -12458,12 +11849,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.StateMachineArn = ptr.String(jtv) } - case "tracingConfiguration": if err := awsAwsjson10_deserializeDocumentTracingConfiguration(&sv.TracingConfiguration, value); err != nil { return err } - case "updateDate": if value != nil { switch jtv := value.(type) { @@ -12479,7 +11868,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } } - default: _, _ = key, value @@ -12526,7 +11914,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } } - case "definition": if value != nil { jtv, ok := value.(string) @@ -12535,7 +11922,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Definition = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -12544,12 +11930,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Description = ptr.String(jtv) } - case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } - case "label": if value != nil { jtv, ok := value.(string) @@ -12558,12 +11942,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Label = ptr.String(jtv) } - case "loggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -12572,7 +11954,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -12581,7 +11962,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.RevisionId = ptr.String(jtv) } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12590,7 +11970,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.RoleArn = ptr.String(jtv) } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -12599,7 +11978,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.StateMachineArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12608,12 +11986,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Status = types.StateMachineStatus(jtv) } - case "tracingConfiguration": if err := awsAwsjson10_deserializeDocumentTracingConfiguration(&sv.TracingConfiguration, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -12622,7 +11998,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Type = types.StateMachineType(jtv) } - default: _, _ = key, value @@ -12662,7 +12037,6 @@ func awsAwsjson10_deserializeOpDocumentGetActivityTaskOutput(v **GetActivityTask } sv.Input = ptr.String(jtv) } - case "taskToken": if value != nil { jtv, ok := value.(string) @@ -12671,7 +12045,6 @@ func awsAwsjson10_deserializeOpDocumentGetActivityTaskOutput(v **GetActivityTask } sv.TaskToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12707,7 +12080,6 @@ func awsAwsjson10_deserializeOpDocumentGetExecutionHistoryOutput(v **GetExecutio if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12716,7 +12088,6 @@ func awsAwsjson10_deserializeOpDocumentGetExecutionHistoryOutput(v **GetExecutio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12752,7 +12123,6 @@ func awsAwsjson10_deserializeOpDocumentListActivitiesOutput(v **ListActivitiesOu if err := awsAwsjson10_deserializeDocumentActivityList(&sv.Activities, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12761,7 +12131,6 @@ func awsAwsjson10_deserializeOpDocumentListActivitiesOutput(v **ListActivitiesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12797,7 +12166,6 @@ func awsAwsjson10_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson10_deserializeDocumentExecutionList(&sv.Executions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12806,7 +12174,6 @@ func awsAwsjson10_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12842,7 +12209,6 @@ func awsAwsjson10_deserializeOpDocumentListMapRunsOutput(v **ListMapRunsOutput, if err := awsAwsjson10_deserializeDocumentMapRunList(&sv.MapRuns, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12851,7 +12217,6 @@ func awsAwsjson10_deserializeOpDocumentListMapRunsOutput(v **ListMapRunsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -12891,12 +12256,10 @@ func awsAwsjson10_deserializeOpDocumentListStateMachineAliasesOutput(v **ListSta } sv.NextToken = ptr.String(jtv) } - case "stateMachineAliases": if err := awsAwsjson10_deserializeDocumentStateMachineAliasList(&sv.StateMachineAliases, value); err != nil { return err } - default: _, _ = key, value @@ -12936,12 +12299,10 @@ func awsAwsjson10_deserializeOpDocumentListStateMachinesOutput(v **ListStateMach } sv.NextToken = ptr.String(jtv) } - case "stateMachines": if err := awsAwsjson10_deserializeDocumentStateMachineList(&sv.StateMachines, value); err != nil { return err } - default: _, _ = key, value @@ -12981,12 +12342,10 @@ func awsAwsjson10_deserializeOpDocumentListStateMachineVersionsOutput(v **ListSt } sv.NextToken = ptr.String(jtv) } - case "stateMachineVersions": if err := awsAwsjson10_deserializeDocumentStateMachineVersionList(&sv.StateMachineVersions, value); err != nil { return err } - default: _, _ = key, value @@ -13022,7 +12381,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13069,7 +12427,6 @@ func awsAwsjson10_deserializeOpDocumentPublishStateMachineVersionOutput(v **Publ } } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -13078,7 +12435,6 @@ func awsAwsjson10_deserializeOpDocumentPublishStateMachineVersionOutput(v **Publ } sv.StateMachineVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13125,7 +12481,6 @@ func awsAwsjson10_deserializeOpDocumentRedriveExecutionOutput(v **RedriveExecuti } } - default: _, _ = key, value @@ -13258,7 +12613,6 @@ func awsAwsjson10_deserializeOpDocumentStartExecutionOutput(v **StartExecutionOu } sv.ExecutionArn = ptr.String(jtv) } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -13274,7 +12628,6 @@ func awsAwsjson10_deserializeOpDocumentStartExecutionOutput(v **StartExecutionOu } } - default: _, _ = key, value @@ -13310,7 +12663,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe if err := awsAwsjson10_deserializeDocumentBillingDetails(&sv.BillingDetails, value); err != nil { return err } - case "cause": if value != nil { jtv, ok := value.(string) @@ -13319,7 +12671,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -13328,7 +12679,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Error = ptr.String(jtv) } - case "executionArn": if value != nil { jtv, ok := value.(string) @@ -13337,7 +12687,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.ExecutionArn = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -13346,12 +12695,10 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Input = ptr.String(jtv) } - case "inputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -13360,7 +12707,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Name = ptr.String(jtv) } - case "output": if value != nil { jtv, ok := value.(string) @@ -13369,12 +12715,10 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Output = ptr.String(jtv) } - case "outputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } - case "startDate": if value != nil { switch jtv := value.(type) { @@ -13390,7 +12734,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } } - case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -13399,7 +12742,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.StateMachineArn = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13408,7 +12750,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Status = types.SyncExecutionStatus(jtv) } - case "stopDate": if value != nil { switch jtv := value.(type) { @@ -13424,7 +12765,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } } - case "traceHeader": if value != nil { jtv, ok := value.(string) @@ -13433,7 +12773,6 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.TraceHeader = ptr.String(jtv) } - default: _, _ = key, value @@ -13480,7 +12819,6 @@ func awsAwsjson10_deserializeOpDocumentStopExecutionOutput(v **StopExecutionOutp } } - default: _, _ = key, value @@ -13551,7 +12889,6 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Cause = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -13560,12 +12897,10 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Error = ptr.String(jtv) } - case "inspectionData": if err := awsAwsjson10_deserializeDocumentInspectionData(&sv.InspectionData, value); err != nil { return err } - case "nextState": if value != nil { jtv, ok := value.(string) @@ -13574,7 +12909,6 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.NextState = ptr.String(jtv) } - case "output": if value != nil { jtv, ok := value.(string) @@ -13583,7 +12917,6 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Output = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -13592,7 +12925,6 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Status = types.TestExecutionStatus(jtv) } - default: _, _ = key, value @@ -13701,7 +13033,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineAliasOutput(v **UpdateS } } - default: _, _ = key, value @@ -13741,7 +13072,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } sv.RevisionId = ptr.String(jtv) } - case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -13750,7 +13080,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } sv.StateMachineVersionArn = ptr.String(jtv) } - case "updateDate": if value != nil { switch jtv := value.(type) { @@ -13766,7 +13095,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } } - default: _, _ = key, value @@ -13802,7 +13130,6 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** if err := awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnosticList(&sv.Diagnostics, value); err != nil { return err } - case "result": if value != nil { jtv, ok := value.(string) @@ -13811,7 +13138,6 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** } sv.Result = types.ValidateStateMachineDefinitionResultCode(jtv) } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -13820,7 +13146,6 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** } sv.Truncated = ptr.Bool(jtv) } - default: _, _ = key, value diff --git a/service/shield/deserializers.go b/service/shield/deserializers.go index f1f09f29aec..38990a28113 100644 --- a/service/shield/deserializers.go +++ b/service/shield/deserializers.go @@ -4819,15 +4819,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4835,15 +4829,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4868,15 +4858,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4884,15 +4868,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4923,7 +4903,6 @@ func awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfigurat if err := awsAwsjson11_deserializeDocumentResponseAction(&sv.Action, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4932,7 +4911,6 @@ func awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfigurat } sv.Status = types.ApplicationLayerAutomaticResponseStatus(jtv) } - default: _, _ = key, value @@ -4968,7 +4946,6 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.AttackCounters, value); err != nil { return err } - case "AttackId": if value != nil { jtv, ok := value.(string) @@ -4977,12 +4954,10 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } sv.AttackId = ptr.String(jtv) } - case "AttackProperties": if err := awsAwsjson11_deserializeDocumentAttackProperties(&sv.AttackProperties, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -4998,12 +4973,10 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } } - case "Mitigations": if err := awsAwsjson11_deserializeDocumentMitigationList(&sv.Mitigations, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5012,7 +4985,6 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } sv.ResourceArn = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5028,12 +5000,10 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } } - case "SubResources": if err := awsAwsjson11_deserializeDocumentSubResourceSummaryList(&sv.SubResources, value); err != nil { return err } - default: _, _ = key, value @@ -5107,7 +5077,6 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.AttackLayer = types.AttackLayer(jtv) } - case "AttackPropertyIdentifier": if value != nil { jtv, ok := value.(string) @@ -5116,12 +5085,10 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.AttackPropertyIdentifier = types.AttackPropertyIdentifier(jtv) } - case "TopContributors": if err := awsAwsjson11_deserializeDocumentTopContributors(&sv.TopContributors, value); err != nil { return err } - case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -5134,7 +5101,6 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.Total = i64 } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -5143,7 +5109,6 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.Unit = types.Unit(jtv) } - default: _, _ = key, value @@ -5187,12 +5152,10 @@ func awsAwsjson11_deserializeDocumentAttackStatisticsDataItem(v **types.AttackSt } sv.AttackCount = i64 } - case "AttackVolume": if err := awsAwsjson11_deserializeDocumentAttackVolume(&sv.AttackVolume, value); err != nil { return err } - default: _, _ = key, value @@ -5300,12 +5263,10 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } sv.AttackId = ptr.String(jtv) } - case "AttackVectors": if err := awsAwsjson11_deserializeDocumentAttackVectorDescriptionList(&sv.AttackVectors, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5321,7 +5282,6 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5330,7 +5290,6 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } sv.ResourceArn = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5346,7 +5305,6 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } } - default: _, _ = key, value @@ -5386,7 +5344,6 @@ func awsAwsjson11_deserializeDocumentAttackVectorDescription(v **types.AttackVec } sv.VectorType = ptr.String(jtv) } - default: _, _ = key, value @@ -5456,17 +5413,14 @@ func awsAwsjson11_deserializeDocumentAttackVolume(v **types.AttackVolume, value if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.BitsPerSecond, value); err != nil { return err } - case "PacketsPerSecond": if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.PacketsPerSecond, value); err != nil { return err } - case "RequestsPerSecond": if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.RequestsPerSecond, value); err != nil { return err } - default: _, _ = key, value @@ -5531,7 +5485,6 @@ func awsAwsjson11_deserializeDocumentAttackVolumeStatistics(v **types.AttackVolu } } - default: _, _ = key, value @@ -5602,7 +5555,6 @@ func awsAwsjson11_deserializeDocumentContributor(v **types.Contributor, value in } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -5615,7 +5567,6 @@ func awsAwsjson11_deserializeDocumentContributor(v **types.Contributor, value in } sv.Value = i64 } - default: _, _ = key, value @@ -5686,7 +5637,6 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.ContactNotes = ptr.String(jtv) } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5695,7 +5645,6 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.EmailAddress = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -5704,7 +5653,6 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.PhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -5804,15 +5752,9 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5820,15 +5762,11 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5853,15 +5791,9 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5869,15 +5801,11 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5902,15 +5830,9 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5918,15 +5840,11 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5951,20 +5869,13 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5972,7 +5883,6 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5981,15 +5891,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6014,15 +5920,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6030,15 +5930,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6077,7 +5973,6 @@ func awsAwsjson11_deserializeDocumentLimit(v **types.Limit, value interface{}) e } sv.Max = i64 } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6086,7 +5981,6 @@ func awsAwsjson11_deserializeDocumentLimit(v **types.Limit, value interface{}) e } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6150,13 +6044,7 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Limit": if value != nil { @@ -6170,8 +6058,7 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Limit = i64 } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6179,7 +6066,6 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6188,15 +6074,11 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Type = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6221,15 +6103,9 @@ func awsAwsjson11_deserializeDocumentLockedSubscriptionException(v **types.Locke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6237,15 +6113,11 @@ func awsAwsjson11_deserializeDocumentLockedSubscriptionException(v **types.Locke } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6316,7 +6188,6 @@ func awsAwsjson11_deserializeDocumentMitigation(v **types.Mitigation, value inte } sv.MitigationName = ptr.String(jtv) } - default: _, _ = key, value @@ -6380,15 +6251,9 @@ func awsAwsjson11_deserializeDocumentNoAssociatedRoleException(v **types.NoAssoc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6396,15 +6261,11 @@ func awsAwsjson11_deserializeDocumentNoAssociatedRoleException(v **types.NoAssoc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6429,15 +6290,9 @@ func awsAwsjson11_deserializeDocumentOptimisticLockException(v **types.Optimisti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6445,15 +6300,11 @@ func awsAwsjson11_deserializeDocumentOptimisticLockException(v **types.Optimisti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6484,12 +6335,10 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte if err := awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfiguration(&sv.ApplicationLayerAutomaticResponseConfiguration, value); err != nil { return err } - case "HealthCheckIds": if err := awsAwsjson11_deserializeDocumentHealthCheckIds(&sv.HealthCheckIds, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -6498,7 +6347,6 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6507,7 +6355,6 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.Name = ptr.String(jtv) } - case "ProtectionArn": if value != nil { jtv, ok := value.(string) @@ -6516,7 +6363,6 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.ProtectionArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -6525,7 +6371,6 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6565,12 +6410,10 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.Aggregation = types.ProtectionGroupAggregation(jtv) } - case "Members": if err := awsAwsjson11_deserializeDocumentProtectionGroupMembers(&sv.Members, value); err != nil { return err } - case "Pattern": if value != nil { jtv, ok := value.(string) @@ -6579,7 +6422,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.Pattern = types.ProtectionGroupPattern(jtv) } - case "ProtectionGroupArn": if value != nil { jtv, ok := value.(string) @@ -6588,7 +6430,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ProtectionGroupArn = ptr.String(jtv) } - case "ProtectionGroupId": if value != nil { jtv, ok := value.(string) @@ -6597,7 +6438,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ProtectionGroupId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6606,7 +6446,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ResourceType = types.ProtectedResourceType(jtv) } - default: _, _ = key, value @@ -6650,7 +6489,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroupArbitraryPatternLimits(v **t } sv.MaxMembers = i64 } - default: _, _ = key, value @@ -6694,12 +6532,10 @@ func awsAwsjson11_deserializeDocumentProtectionGroupLimits(v **types.ProtectionG } sv.MaxProtectionGroups = i64 } - case "PatternTypeLimits": if err := awsAwsjson11_deserializeDocumentProtectionGroupPatternTypeLimits(&sv.PatternTypeLimits, value); err != nil { return err } - default: _, _ = key, value @@ -6771,7 +6607,6 @@ func awsAwsjson11_deserializeDocumentProtectionGroupPatternTypeLimits(v **types. if err := awsAwsjson11_deserializeDocumentProtectionGroupArbitraryPatternLimits(&sv.ArbitraryPatternLimits, value); err != nil { return err } - default: _, _ = key, value @@ -6841,7 +6676,6 @@ func awsAwsjson11_deserializeDocumentProtectionLimits(v **types.ProtectionLimits if err := awsAwsjson11_deserializeDocumentLimits(&sv.ProtectedResourceTypeLimits, value); err != nil { return err } - default: _, _ = key, value @@ -6905,15 +6739,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6921,7 +6749,6 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6930,15 +6757,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6999,15 +6822,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7015,7 +6832,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7024,15 +6840,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7063,12 +6875,10 @@ func awsAwsjson11_deserializeDocumentResponseAction(v **types.ResponseAction, va if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } - case "Count": if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } - default: _, _ = key, value @@ -7104,12 +6914,10 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum if err := awsAwsjson11_deserializeDocumentSummarizedAttackVectorList(&sv.AttackVectors, value); err != nil { return err } - case "Counters": if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.Counters, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -7118,7 +6926,6 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7127,7 +6934,6 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum } sv.Type = types.SubResourceType(jtv) } - default: _, _ = key, value @@ -7201,7 +7007,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.AutoRenew = types.AutoRenew(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7217,12 +7022,10 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } } - case "Limits": if err := awsAwsjson11_deserializeDocumentLimits(&sv.Limits, value); err != nil { return err } - case "ProactiveEngagementStatus": if value != nil { jtv, ok := value.(string) @@ -7231,7 +7034,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.ProactiveEngagementStatus = types.ProactiveEngagementStatus(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7247,7 +7049,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } } - case "SubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -7256,12 +7057,10 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.SubscriptionArn = ptr.String(jtv) } - case "SubscriptionLimits": if err := awsAwsjson11_deserializeDocumentSubscriptionLimits(&sv.SubscriptionLimits, value); err != nil { return err } - case "TimeCommitmentInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7274,7 +7073,6 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.TimeCommitmentInSeconds = i64 } - default: _, _ = key, value @@ -7310,12 +7108,10 @@ func awsAwsjson11_deserializeDocumentSubscriptionLimits(v **types.SubscriptionLi if err := awsAwsjson11_deserializeDocumentProtectionGroupLimits(&sv.ProtectionGroupLimits, value); err != nil { return err } - case "ProtectionLimits": if err := awsAwsjson11_deserializeDocumentProtectionLimits(&sv.ProtectionLimits, value); err != nil { return err } - default: _, _ = key, value @@ -7351,7 +7147,6 @@ func awsAwsjson11_deserializeDocumentSummarizedAttackVector(v **types.Summarized if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.VectorCounters, value); err != nil { return err } - case "VectorType": if value != nil { jtv, ok := value.(string) @@ -7360,7 +7155,6 @@ func awsAwsjson11_deserializeDocumentSummarizedAttackVector(v **types.Summarized } sv.VectorType = ptr.String(jtv) } - default: _, _ = key, value @@ -7459,7 +7253,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } - case "Max": if value != nil { switch jtv := value.(type) { @@ -7493,7 +7286,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } - case "N": if value != nil { jtv, ok := value.(json.Number) @@ -7506,7 +7298,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.N = int32(i64) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7515,7 +7306,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.Name = ptr.String(jtv) } - case "Sum": if value != nil { switch jtv := value.(type) { @@ -7549,7 +7339,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } - case "Unit": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7347,6 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.Unit = ptr.String(jtv) } - default: _, _ = key, value @@ -7632,7 +7420,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7641,7 +7428,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7722,7 +7508,6 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } - case "ToExclusive": if value != nil { switch jtv := value.(type) { @@ -7738,7 +7523,6 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } - default: _, _ = key, value @@ -7812,7 +7596,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7604,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8050,7 +7832,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProtectionOutput(v **CreateProtecti } sv.ProtectionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8210,7 +7991,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttackOutput(v **DescribeAttackOu if err := awsAwsjson11_deserializeDocumentAttackDetail(&sv.Attack, value); err != nil { return err } - default: _, _ = key, value @@ -8246,12 +8026,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttackStatisticsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAttackStatisticsDataList(&sv.DataItems, value); err != nil { return err } - case "TimeRange": if err := awsAwsjson11_deserializeDocumentTimeRange(&sv.TimeRange, value); err != nil { return err } - default: _, _ = key, value @@ -8287,7 +8065,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDRTAccessOutput(v **DescribeDRTAc if err := awsAwsjson11_deserializeDocumentLogBucketList(&sv.LogBucketList, value); err != nil { return err } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8296,7 +8073,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDRTAccessOutput(v **DescribeDRTAc } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8332,7 +8108,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmergencyContactSettingsOutput(v if err := awsAwsjson11_deserializeDocumentEmergencyContactList(&sv.EmergencyContactList, value); err != nil { return err } - default: _, _ = key, value @@ -8368,7 +8143,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProtectionGroupOutput(v **Describ if err := awsAwsjson11_deserializeDocumentProtectionGroup(&sv.ProtectionGroup, value); err != nil { return err } - default: _, _ = key, value @@ -8404,7 +8178,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProtectionOutput(v **DescribeProt if err := awsAwsjson11_deserializeDocumentProtection(&sv.Protection, value); err != nil { return err } - default: _, _ = key, value @@ -8440,7 +8213,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscriptionOutput(v **DescribeSu if err := awsAwsjson11_deserializeDocumentSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -8697,7 +8469,6 @@ func awsAwsjson11_deserializeOpDocumentGetSubscriptionStateOutput(v **GetSubscri } sv.SubscriptionState = types.SubscriptionState(jtv) } - default: _, _ = key, value @@ -8733,7 +8504,6 @@ func awsAwsjson11_deserializeOpDocumentListAttacksOutput(v **ListAttacksOutput, if err := awsAwsjson11_deserializeDocumentAttackSummaries(&sv.AttackSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8742,7 +8512,6 @@ func awsAwsjson11_deserializeOpDocumentListAttacksOutput(v **ListAttacksOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8782,12 +8551,10 @@ func awsAwsjson11_deserializeOpDocumentListProtectionGroupsOutput(v **ListProtec } sv.NextToken = ptr.String(jtv) } - case "ProtectionGroups": if err := awsAwsjson11_deserializeDocumentProtectionGroups(&sv.ProtectionGroups, value); err != nil { return err } - default: _, _ = key, value @@ -8827,12 +8594,10 @@ func awsAwsjson11_deserializeOpDocumentListProtectionsOutput(v **ListProtections } sv.NextToken = ptr.String(jtv) } - case "Protections": if err := awsAwsjson11_deserializeDocumentProtections(&sv.Protections, value); err != nil { return err } - default: _, _ = key, value @@ -8872,12 +8637,10 @@ func awsAwsjson11_deserializeOpDocumentListResourcesInProtectionGroupOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "ResourceArns": if err := awsAwsjson11_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } - default: _, _ = key, value @@ -8913,7 +8676,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/signer/deserializers.go b/service/signer/deserializers.go index 8508f619081..1452b1e0395 100644 --- a/service/signer/deserializers.go +++ b/service/signer/deserializers.go @@ -195,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentAddProfilePermissionOutput(v **AddProfile } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -470,7 +469,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -486,7 +484,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -495,7 +492,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobId = ptr.String(jtv) } - case "jobInvoker": if value != nil { jtv, ok := value.(string) @@ -504,7 +500,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobInvoker = ptr.String(jtv) } - case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -513,12 +508,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobOwner = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentSigningPlatformOverrides(&sv.Overrides, value); err != nil { return err } - case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -527,7 +520,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.PlatformDisplayName = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -536,7 +528,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.PlatformId = ptr.String(jtv) } - case "profileName": if value != nil { jtv, ok := value.(string) @@ -545,7 +536,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.ProfileName = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -554,7 +544,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.ProfileVersion = ptr.String(jtv) } - case "requestedBy": if value != nil { jtv, ok := value.(string) @@ -563,12 +552,10 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.RequestedBy = ptr.String(jtv) } - case "revocationRecord": if err := awsRestjson1_deserializeDocumentSigningJobRevocationRecord(&sv.RevocationRecord, value); err != nil { return err } - case "signatureExpiresAt": if value != nil { switch jtv := value.(type) { @@ -584,27 +571,22 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } - case "signedObject": if err := awsRestjson1_deserializeDocumentSignedObject(&sv.SignedObject, value); err != nil { return err } - case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } - case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -613,7 +595,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.Status = types.SigningStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -622,7 +603,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -783,7 +763,6 @@ func awsRestjson1_deserializeOpDocumentGetRevocationStatusOutput(v **GetRevocati if err := awsRestjson1_deserializeDocumentRevokedEntities(&sv.RevokedEntities, value); err != nil { return err } - default: _, _ = key, value @@ -948,7 +927,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Category = types.Category(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -957,7 +935,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.DisplayName = ptr.String(jtv) } - case "maxSizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -970,7 +947,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.MaxSizeInMB = int32(i64) } - case "partner": if value != nil { jtv, ok := value.(string) @@ -979,7 +955,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Partner = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -988,7 +963,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.PlatformId = ptr.String(jtv) } - case "revocationSupported": if value != nil { jtv, ok := value.(bool) @@ -997,17 +971,14 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.RevocationSupported = jtv } - case "signingConfiguration": if err := awsRestjson1_deserializeDocumentSigningConfiguration(&sv.SigningConfiguration, value); err != nil { return err } - case "signingImageFormat": if err := awsRestjson1_deserializeDocumentSigningImageFormat(&sv.SigningImageFormat, value); err != nil { return err } - case "target": if value != nil { jtv, ok := value.(string) @@ -1016,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -1181,12 +1151,10 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.Arn = ptr.String(jtv) } - case "overrides": if err := awsRestjson1_deserializeDocumentSigningPlatformOverrides(&sv.Overrides, value); err != nil { return err } - case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -1195,7 +1163,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.PlatformDisplayName = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -1204,7 +1171,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.PlatformId = ptr.String(jtv) } - case "profileName": if value != nil { jtv, ok := value.(string) @@ -1213,7 +1179,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileName = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -1222,7 +1187,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileVersion = ptr.String(jtv) } - case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -1231,27 +1195,22 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileVersionArn = ptr.String(jtv) } - case "revocationRecord": if err := awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(&sv.RevocationRecord, value); err != nil { return err } - case "signatureValidityPeriod": if err := awsRestjson1_deserializeDocumentSignatureValidityPeriod(&sv.SignatureValidityPeriod, value); err != nil { return err } - case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } - case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1260,7 +1219,6 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.Status = types.SigningProfileStatus(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1269,12 +1227,10 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.StatusReason = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1442,12 +1398,10 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.NextToken = ptr.String(jtv) } - case "permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } - case "policySizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1460,7 +1414,6 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.PolicySizeBytes = int32(i64) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1469,7 +1422,6 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -1630,7 +1582,6 @@ func awsRestjson1_deserializeOpDocumentListSigningJobsOutput(v **ListSigningJobs if err := awsRestjson1_deserializeDocumentSigningJobs(&sv.Jobs, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1639,7 +1590,6 @@ func awsRestjson1_deserializeOpDocumentListSigningJobsOutput(v **ListSigningJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1804,12 +1754,10 @@ func awsRestjson1_deserializeOpDocumentListSigningPlatformsOutput(v **ListSignin } sv.NextToken = ptr.String(jtv) } - case "platforms": if err := awsRestjson1_deserializeDocumentSigningPlatforms(&sv.Platforms, value); err != nil { return err } - default: _, _ = key, value @@ -1971,12 +1919,10 @@ func awsRestjson1_deserializeOpDocumentListSigningProfilesOutput(v **ListSigning } sv.NextToken = ptr.String(jtv) } - case "profiles": if err := awsRestjson1_deserializeDocumentSigningProfiles(&sv.Profiles, value); err != nil { return err } - default: _, _ = key, value @@ -2137,7 +2083,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2305,7 +2250,6 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.Arn = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -2314,7 +2258,6 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.ProfileVersion = ptr.String(jtv) } - case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -2323,7 +2266,6 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.ProfileVersionArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2494,7 +2436,6 @@ func awsRestjson1_deserializeOpDocumentRemoveProfilePermissionOutput(v **RemoveP } sv.RevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2874,7 +2815,6 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.JobId = ptr.String(jtv) } - case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -2883,12 +2823,10 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.JobOwner = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "signature": if value != nil { jtv, ok := value.(string) @@ -2901,7 +2839,6 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.Signature = dv } - default: _, _ = key, value @@ -3072,7 +3009,6 @@ func awsRestjson1_deserializeOpDocumentStartSigningJobOutput(v **StartSigningJob } sv.JobId = ptr.String(jtv) } - case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -3081,7 +3017,6 @@ func awsRestjson1_deserializeOpDocumentStartSigningJobOutput(v **StartSigningJob } sv.JobOwner = ptr.String(jtv) } - default: _, _ = key, value @@ -3665,13 +3600,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3681,8 +3610,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3690,15 +3618,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3723,13 +3647,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3739,8 +3657,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3748,15 +3665,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3781,13 +3694,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -3797,8 +3704,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3806,15 +3712,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3845,7 +3747,6 @@ func awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(v **types.Encryp if err := awsRestjson1_deserializeDocumentEncryptionAlgorithms(&sv.AllowedValues, value); err != nil { return err } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3854,7 +3755,6 @@ func awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(v **types.Encryp } sv.DefaultValue = types.EncryptionAlgorithm(jtv) } - default: _, _ = key, value @@ -3926,7 +3826,6 @@ func awsRestjson1_deserializeDocumentHashAlgorithmOptions(v **types.HashAlgorith if err := awsRestjson1_deserializeDocumentHashAlgorithms(&sv.AllowedValues, value); err != nil { return err } - case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3935,7 +3834,6 @@ func awsRestjson1_deserializeDocumentHashAlgorithmOptions(v **types.HashAlgorith } sv.DefaultValue = types.HashAlgorithm(jtv) } - default: _, _ = key, value @@ -4037,13 +3935,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4053,8 +3945,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4062,15 +3953,11 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4131,13 +4018,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4147,8 +4028,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4156,15 +4036,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4199,7 +4075,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Action = ptr.String(jtv) } - case "principal": if value != nil { jtv, ok := value.(string) @@ -4208,7 +4083,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Principal = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -4217,7 +4091,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.ProfileVersion = ptr.String(jtv) } - case "statementId": if value != nil { jtv, ok := value.(string) @@ -4226,7 +4099,6 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.StatementId = ptr.String(jtv) } - default: _, _ = key, value @@ -4290,13 +4162,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4306,8 +4172,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4315,15 +4180,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4394,7 +4255,6 @@ func awsRestjson1_deserializeDocumentS3SignedObject(v **types.S3SignedObject, va } sv.BucketName = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -4403,7 +4263,6 @@ func awsRestjson1_deserializeDocumentS3SignedObject(v **types.S3SignedObject, va } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -4443,7 +4302,6 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.BucketName = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -4452,7 +4310,6 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.Key = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4461,7 +4318,6 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4491,13 +4347,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -4507,8 +4357,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4516,15 +4365,11 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4559,7 +4404,6 @@ func awsRestjson1_deserializeDocumentSignatureValidityPeriod(v **types.Signature } sv.Type = types.ValidityType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -4572,7 +4416,6 @@ func awsRestjson1_deserializeDocumentSignatureValidityPeriod(v **types.Signature } sv.Value = int32(i64) } - default: _, _ = key, value @@ -4608,7 +4451,6 @@ func awsRestjson1_deserializeDocumentSignedObject(v **types.SignedObject, value if err := awsRestjson1_deserializeDocumentS3SignedObject(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -4644,12 +4486,10 @@ func awsRestjson1_deserializeDocumentSigningConfiguration(v **types.SigningConfi if err := awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(&sv.EncryptionAlgorithmOptions, value); err != nil { return err } - case "hashAlgorithmOptions": if err := awsRestjson1_deserializeDocumentHashAlgorithmOptions(&sv.HashAlgorithmOptions, value); err != nil { return err } - default: _, _ = key, value @@ -4689,7 +4529,6 @@ func awsRestjson1_deserializeDocumentSigningConfigurationOverrides(v **types.Sig } sv.EncryptionAlgorithm = types.EncryptionAlgorithm(jtv) } - case "hashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4698,7 +4537,6 @@ func awsRestjson1_deserializeDocumentSigningConfigurationOverrides(v **types.Sig } sv.HashAlgorithm = types.HashAlgorithm(jtv) } - default: _, _ = key, value @@ -4738,12 +4576,10 @@ func awsRestjson1_deserializeDocumentSigningImageFormat(v **types.SigningImageFo } sv.DefaultFormat = types.ImageFormat(jtv) } - case "supportedFormats": if err := awsRestjson1_deserializeDocumentImageFormats(&sv.SupportedFormats, value); err != nil { return err } - default: _, _ = key, value @@ -4790,7 +4626,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } } - case "isRevoked": if value != nil { jtv, ok := value.(bool) @@ -4799,7 +4634,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.IsRevoked = jtv } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -4808,7 +4642,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobId = ptr.String(jtv) } - case "jobInvoker": if value != nil { jtv, ok := value.(string) @@ -4817,7 +4650,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobInvoker = ptr.String(jtv) } - case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -4826,7 +4658,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobOwner = ptr.String(jtv) } - case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -4835,7 +4666,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.PlatformDisplayName = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -4844,7 +4674,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.PlatformId = ptr.String(jtv) } - case "profileName": if value != nil { jtv, ok := value.(string) @@ -4853,7 +4682,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.ProfileName = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -4862,7 +4690,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.ProfileVersion = ptr.String(jtv) } - case "signatureExpiresAt": if value != nil { switch jtv := value.(type) { @@ -4878,22 +4705,18 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } } - case "signedObject": if err := awsRestjson1_deserializeDocumentSignedObject(&sv.SignedObject, value); err != nil { return err } - case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } - case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4902,7 +4725,6 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.Status = types.SigningStatus(jtv) } - default: _, _ = key, value @@ -4942,7 +4764,6 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } sv.Reason = ptr.String(jtv) } - case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -4958,7 +4779,6 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } } - case "revokedBy": if value != nil { jtv, ok := value.(string) @@ -4967,7 +4787,6 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } sv.RevokedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -5041,7 +4860,6 @@ func awsRestjson1_deserializeDocumentSigningMaterial(v **types.SigningMaterial, } sv.CertificateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5117,7 +4935,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Category = types.Category(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -5126,7 +4943,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.DisplayName = ptr.String(jtv) } - case "maxSizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -5139,7 +4955,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.MaxSizeInMB = int32(i64) } - case "partner": if value != nil { jtv, ok := value.(string) @@ -5148,7 +4963,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Partner = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -5157,7 +4971,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.PlatformId = ptr.String(jtv) } - case "revocationSupported": if value != nil { jtv, ok := value.(bool) @@ -5166,17 +4979,14 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.RevocationSupported = jtv } - case "signingConfiguration": if err := awsRestjson1_deserializeDocumentSigningConfiguration(&sv.SigningConfiguration, value); err != nil { return err } - case "signingImageFormat": if err := awsRestjson1_deserializeDocumentSigningImageFormat(&sv.SigningImageFormat, value); err != nil { return err } - case "target": if value != nil { jtv, ok := value.(string) @@ -5185,7 +4995,6 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -5221,7 +5030,6 @@ func awsRestjson1_deserializeDocumentSigningPlatformOverrides(v **types.SigningP if err := awsRestjson1_deserializeDocumentSigningConfigurationOverrides(&sv.SigningConfiguration, value); err != nil { return err } - case "signingImageFormat": if value != nil { jtv, ok := value.(string) @@ -5230,7 +5038,6 @@ func awsRestjson1_deserializeDocumentSigningPlatformOverrides(v **types.SigningP } sv.SigningImageFormat = types.ImageFormat(jtv) } - default: _, _ = key, value @@ -5304,7 +5111,6 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.Arn = ptr.String(jtv) } - case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -5313,7 +5119,6 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.PlatformDisplayName = ptr.String(jtv) } - case "platformId": if value != nil { jtv, ok := value.(string) @@ -5322,7 +5127,6 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.PlatformId = ptr.String(jtv) } - case "profileName": if value != nil { jtv, ok := value.(string) @@ -5331,7 +5135,6 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileName = ptr.String(jtv) } - case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -5340,7 +5143,6 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileVersion = ptr.String(jtv) } - case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -5349,22 +5151,18 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileVersionArn = ptr.String(jtv) } - case "signatureValidityPeriod": if err := awsRestjson1_deserializeDocumentSignatureValidityPeriod(&sv.SignatureValidityPeriod, value); err != nil { return err } - case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } - case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5373,12 +5171,10 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.Status = types.SigningProfileStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5425,7 +5221,6 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } } - case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -5441,7 +5236,6 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } } - case "revokedBy": if value != nil { jtv, ok := value.(string) @@ -5450,7 +5244,6 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } sv.RevokedBy = ptr.String(jtv) } - default: _, _ = key, value @@ -5520,7 +5313,6 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentS3Source(&sv.S3, value); err != nil { return err } - default: _, _ = key, value @@ -5586,13 +5378,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5602,8 +5388,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5611,15 +5396,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5644,13 +5425,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5660,8 +5435,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5669,15 +5443,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5702,13 +5472,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "code": if value != nil { @@ -5718,8 +5482,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5727,15 +5490,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/simspaceweaver/deserializers.go b/service/simspaceweaver/deserializers.go index 39f387b8079..30a80094548 100644 --- a/service/simspaceweaver/deserializers.go +++ b/service/simspaceweaver/deserializers.go @@ -484,7 +484,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Description = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -493,17 +492,14 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Domain = ptr.String(jtv) } - case "EndpointInfo": if err := awsRestjson1_deserializeDocumentSimulationAppEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } - case "LaunchOverrides": if err := awsRestjson1_deserializeDocumentLaunchOverrides(&sv.LaunchOverrides, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -512,7 +508,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Name = ptr.String(jtv) } - case "Simulation": if value != nil { jtv, ok := value.(string) @@ -521,7 +516,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Simulation = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -530,7 +524,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Status = types.SimulationAppStatus(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -539,7 +532,6 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.TargetStatus = types.SimulationAppTargetStatus(jtv) } - default: _, _ = key, value @@ -704,7 +696,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -720,7 +711,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -729,7 +719,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Description = ptr.String(jtv) } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -738,17 +727,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.ExecutionId = ptr.String(jtv) } - case "LiveSimulationState": if err := awsRestjson1_deserializeDocumentLiveSimulationState(&sv.LiveSimulationState, value); err != nil { return err } - case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - case "MaximumDuration": if value != nil { jtv, ok := value.(string) @@ -757,7 +743,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.MaximumDuration = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -766,7 +751,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Name = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -775,7 +759,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.RoleArn = ptr.String(jtv) } - case "SchemaError": if value != nil { jtv, ok := value.(string) @@ -784,17 +767,14 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.SchemaError = ptr.String(jtv) } - case "SchemaS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.SchemaS3Location, value); err != nil { return err } - case "SnapshotS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.SnapshotS3Location, value); err != nil { return err } - case "StartError": if value != nil { jtv, ok := value.(string) @@ -803,7 +783,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.StartError = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -812,7 +791,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Status = types.SimulationStatus(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -821,7 +799,6 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.TargetStatus = types.SimulationTargetStatus(jtv) } - default: _, _ = key, value @@ -982,7 +959,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentSimulationAppList(&sv.Apps, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -991,7 +967,6 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1153,12 +1128,10 @@ func awsRestjson1_deserializeOpDocumentListSimulationsOutput(v **ListSimulations } sv.NextToken = ptr.String(jtv) } - case "Simulations": if err := awsRestjson1_deserializeDocumentSimulationList(&sv.Simulations, value); err != nil { return err } - default: _, _ = key, value @@ -1313,7 +1286,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1481,7 +1453,6 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Domain = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -1490,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Name = ptr.String(jtv) } - case "Simulation": if value != nil { jtv, ok := value.(string) @@ -1499,7 +1469,6 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Simulation = ptr.String(jtv) } - default: _, _ = key, value @@ -1767,7 +1736,6 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1783,7 +1751,6 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -1792,7 +1759,6 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } sv.ExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -2559,15 +2525,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2575,15 +2535,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2652,7 +2608,6 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroup(v **types.CloudWatch } sv.LogGroupArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2682,15 +2637,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2698,15 +2647,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2741,7 +2686,6 @@ func awsRestjson1_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Lifecycle = types.LifecycleManagementStrategy(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2750,7 +2694,6 @@ func awsRestjson1_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2814,15 +2757,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2830,15 +2767,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2905,7 +2838,6 @@ func awsRestjson1_deserializeDocumentLaunchOverrides(v **types.LaunchOverrides, if err := awsRestjson1_deserializeDocumentLaunchCommandList(&sv.LaunchCommands, value); err != nil { return err } - default: _, _ = key, value @@ -2941,12 +2873,10 @@ func awsRestjson1_deserializeDocumentLiveSimulationState(v **types.LiveSimulatio if err := awsRestjson1_deserializeDocumentSimulationClockList(&sv.Clocks, value); err != nil { return err } - case "Domains": if err := awsRestjson1_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } - default: _, _ = key, value @@ -2982,7 +2912,6 @@ func awsRestjson1_deserializeDocumentLogDestination(v **types.LogDestination, va if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogGroup(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } - default: _, _ = key, value @@ -3052,7 +2981,6 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsRestjson1_deserializeDocumentLogDestinations(&sv.Destinations, value); err != nil { return err } - default: _, _ = key, value @@ -3082,15 +3010,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3098,15 +3020,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3141,7 +3059,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } - case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3150,7 +3067,6 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -3180,15 +3096,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3196,15 +3106,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3239,12 +3145,10 @@ func awsRestjson1_deserializeDocumentSimulationAppEndpointInfo(v **types.Simulat } sv.Address = ptr.String(jtv) } - case "IngressPortMappings": if err := awsRestjson1_deserializeDocumentAppPortMappings(&sv.IngressPortMappings, value); err != nil { return err } - default: _, _ = key, value @@ -3318,7 +3222,6 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Domain = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3327,7 +3230,6 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Name = ptr.String(jtv) } - case "Simulation": if value != nil { jtv, ok := value.(string) @@ -3336,7 +3238,6 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Simulation = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3345,7 +3246,6 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Status = types.SimulationAppStatus(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3354,7 +3254,6 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.TargetStatus = types.SimulationAppTargetStatus(jtv) } - default: _, _ = key, value @@ -3398,7 +3297,6 @@ func awsRestjson1_deserializeDocumentSimulationAppPortMapping(v **types.Simulati } sv.Actual = ptr.Int32(int32(i64)) } - case "Declared": if value != nil { jtv, ok := value.(json.Number) @@ -3411,7 +3309,6 @@ func awsRestjson1_deserializeDocumentSimulationAppPortMapping(v **types.Simulati } sv.Declared = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3451,7 +3348,6 @@ func awsRestjson1_deserializeDocumentSimulationClock(v **types.SimulationClock, } sv.Status = types.ClockStatus(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3460,7 +3356,6 @@ func awsRestjson1_deserializeDocumentSimulationClock(v **types.SimulationClock, } sv.TargetStatus = types.ClockTargetStatus(jtv) } - default: _, _ = key, value @@ -3568,7 +3463,6 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3584,7 +3478,6 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3593,7 +3486,6 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3602,7 +3494,6 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Status = types.SimulationStatus(jtv) } - case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3611,7 +3502,6 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.TargetStatus = types.SimulationTargetStatus(jtv) } - default: _, _ = key, value @@ -3677,15 +3567,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3693,15 +3577,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3726,15 +3606,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3742,15 +3616,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sms/deserializers.go b/service/sms/deserializers.go index 791603cd7fb..4c32c5085c3 100644 --- a/service/sms/deserializers.go +++ b/service/sms/deserializers.go @@ -4809,7 +4809,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AppId = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -4825,7 +4824,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4834,7 +4832,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Description = ptr.String(jtv) } - case "importedAppId": if value != nil { jtv, ok := value.(string) @@ -4843,7 +4840,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ImportedAppId = ptr.String(jtv) } - case "lastModified": if value != nil { switch jtv := value.(type) { @@ -4859,7 +4855,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "latestReplicationTime": if value != nil { switch jtv := value.(type) { @@ -4875,7 +4870,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } - case "launchConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4884,12 +4878,10 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchConfigurationStatus = types.AppLaunchConfigurationStatus(jtv) } - case "launchDetails": if err := awsAwsjson11_deserializeDocumentLaunchDetails(&sv.LaunchDetails, value); err != nil { return err } - case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -4898,7 +4890,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchStatus = types.AppLaunchStatus(jtv) } - case "launchStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4907,7 +4898,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchStatusMessage = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4916,7 +4906,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Name = ptr.String(jtv) } - case "replicationConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4925,7 +4914,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationConfigurationStatus = types.AppReplicationConfigurationStatus(jtv) } - case "replicationStatus": if value != nil { jtv, ok := value.(string) @@ -4934,7 +4922,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationStatus = types.AppReplicationStatus(jtv) } - case "replicationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4943,7 +4930,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationStatusMessage = ptr.String(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -4952,7 +4938,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RoleName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4961,7 +4946,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Status = types.AppStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4970,7 +4954,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.StatusMessage = ptr.String(jtv) } - case "totalServerGroups": if value != nil { jtv, ok := value.(json.Number) @@ -4983,7 +4966,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.TotalServerGroups = ptr.Int32(int32(i64)) } - case "totalServers": if value != nil { jtv, ok := value.(json.Number) @@ -4996,7 +4978,6 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.TotalServers = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5036,7 +5017,6 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.AppValidationStrategy = types.AppValidationStrategy(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5045,12 +5025,10 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.Name = ptr.String(jtv) } - case "ssmValidationParameters": if err := awsAwsjson11_deserializeDocumentSSMValidationParameters(&sv.SsmValidationParameters, value); err != nil { return err } - case "validationId": if value != nil { jtv, ok := value.(string) @@ -5059,7 +5037,6 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.ValidationId = ptr.String(jtv) } - default: _, _ = key, value @@ -5129,7 +5106,6 @@ func awsAwsjson11_deserializeDocumentAppValidationOutput(v **types.AppValidation if err := awsAwsjson11_deserializeDocumentSSMOutput(&sv.SsmOutput, value); err != nil { return err } - default: _, _ = key, value @@ -5176,12 +5152,10 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } } - case "capabilityList": if err := awsAwsjson11_deserializeDocumentConnectorCapabilityList(&sv.CapabilityList, value); err != nil { return err } - case "connectorId": if value != nil { jtv, ok := value.(string) @@ -5190,7 +5164,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorId = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -5199,7 +5172,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.IpAddress = ptr.String(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -5208,7 +5180,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.MacAddress = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5217,7 +5188,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5226,7 +5196,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.Version = ptr.String(jtv) } - case "vmManagerId": if value != nil { jtv, ok := value.(string) @@ -5235,7 +5204,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerId = ptr.String(jtv) } - case "vmManagerName": if value != nil { jtv, ok := value.(string) @@ -5244,7 +5212,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerName = ptr.String(jtv) } - case "vmManagerType": if value != nil { jtv, ok := value.(string) @@ -5253,7 +5220,6 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerType = types.VmManagerType(jtv) } - default: _, _ = key, value @@ -5353,15 +5319,9 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5369,15 +5329,11 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5402,15 +5358,9 @@ func awsAwsjson11_deserializeDocumentInternalError(v **types.InternalError, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5418,15 +5368,11 @@ func awsAwsjson11_deserializeDocumentInternalError(v **types.InternalError, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5451,15 +5397,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5467,15 +5407,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5517,7 +5453,6 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } } - case "stackId": if value != nil { jtv, ok := value.(string) @@ -5526,7 +5461,6 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } sv.StackId = ptr.String(jtv) } - case "stackName": if value != nil { jtv, ok := value.(string) @@ -5535,7 +5469,6 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } sv.StackName = ptr.String(jtv) } - default: _, _ = key, value @@ -5565,15 +5498,9 @@ func awsAwsjson11_deserializeDocumentMissingRequiredParameterException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5581,15 +5508,11 @@ func awsAwsjson11_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5614,15 +5537,9 @@ func awsAwsjson11_deserializeDocumentNoConnectorsAvailableException(v **types.No sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5630,15 +5547,11 @@ func awsAwsjson11_deserializeDocumentNoConnectorsAvailableException(v **types.No } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5663,15 +5576,9 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5679,15 +5586,11 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5722,7 +5625,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Description = ptr.String(jtv) } - case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -5731,7 +5633,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Encrypted = ptr.Bool(jtv) } - case "frequency": if value != nil { jtv, ok := value.(json.Number) @@ -5744,7 +5645,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Frequency = ptr.Int32(int32(i64)) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5753,7 +5653,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.KmsKeyId = ptr.String(jtv) } - case "latestAmiId": if value != nil { jtv, ok := value.(string) @@ -5762,7 +5661,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.LatestAmiId = ptr.String(jtv) } - case "licenseType": if value != nil { jtv, ok := value.(string) @@ -5771,7 +5669,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.LicenseType = types.LicenseType(jtv) } - case "nextReplicationRunStartTime": if value != nil { switch jtv := value.(type) { @@ -5787,7 +5684,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } } - case "numberOfRecentAmisToKeep": if value != nil { jtv, ok := value.(json.Number) @@ -5800,7 +5696,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.NumberOfRecentAmisToKeep = ptr.Int32(int32(i64)) } - case "replicationJobId": if value != nil { jtv, ok := value.(string) @@ -5809,12 +5704,10 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ReplicationJobId = ptr.String(jtv) } - case "replicationRunList": if err := awsAwsjson11_deserializeDocumentReplicationRunList(&sv.ReplicationRunList, value); err != nil { return err } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -5823,7 +5716,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.RoleName = ptr.String(jtv) } - case "runOnce": if value != nil { jtv, ok := value.(bool) @@ -5832,7 +5724,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.RunOnce = ptr.Bool(jtv) } - case "seedReplicationTime": if value != nil { switch jtv := value.(type) { @@ -5848,7 +5739,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } } - case "serverId": if value != nil { jtv, ok := value.(string) @@ -5857,7 +5747,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ServerId = ptr.String(jtv) } - case "serverType": if value != nil { jtv, ok := value.(string) @@ -5866,7 +5755,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ServerType = types.ServerType(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -5875,7 +5763,6 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.State = types.ReplicationJobState(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5884,12 +5771,10 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.StatusMessage = ptr.String(jtv) } - case "vmServer": if err := awsAwsjson11_deserializeDocumentVmServer(&sv.VmServer, value); err != nil { return err } - default: _, _ = key, value @@ -5919,15 +5804,9 @@ func awsAwsjson11_deserializeDocumentReplicationJobAlreadyExistsException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5935,15 +5814,11 @@ func awsAwsjson11_deserializeDocumentReplicationJobAlreadyExistsException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6002,15 +5877,9 @@ func awsAwsjson11_deserializeDocumentReplicationJobNotFoundException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6018,15 +5887,11 @@ func awsAwsjson11_deserializeDocumentReplicationJobNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6061,7 +5926,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.AmiId = ptr.String(jtv) } - case "completedTime": if value != nil { switch jtv := value.(type) { @@ -6077,7 +5941,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } } - case "description": if value != nil { jtv, ok := value.(string) @@ -6086,7 +5949,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Description = ptr.String(jtv) } - case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -6095,7 +5957,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Encrypted = ptr.Bool(jtv) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6104,7 +5965,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.KmsKeyId = ptr.String(jtv) } - case "replicationRunId": if value != nil { jtv, ok := value.(string) @@ -6113,7 +5973,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.ReplicationRunId = ptr.String(jtv) } - case "scheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -6129,12 +5988,10 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } } - case "stageDetails": if err := awsAwsjson11_deserializeDocumentReplicationRunStageDetails(&sv.StageDetails, value); err != nil { return err } - case "state": if value != nil { jtv, ok := value.(string) @@ -6143,7 +6000,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.State = types.ReplicationRunState(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6152,7 +6008,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.StatusMessage = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -6161,7 +6016,6 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Type = types.ReplicationRunType(jtv) } - default: _, _ = key, value @@ -6191,15 +6045,9 @@ func awsAwsjson11_deserializeDocumentReplicationRunLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6207,15 +6055,11 @@ func awsAwsjson11_deserializeDocumentReplicationRunLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6284,7 +6128,6 @@ func awsAwsjson11_deserializeDocumentReplicationRunStageDetails(v **types.Replic } sv.Stage = ptr.String(jtv) } - case "stageProgress": if value != nil { jtv, ok := value.(string) @@ -6293,7 +6136,6 @@ func awsAwsjson11_deserializeDocumentReplicationRunStageDetails(v **types.Replic } sv.StageProgress = ptr.String(jtv) } - default: _, _ = key, value @@ -6333,7 +6175,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } - case "key": if value != nil { jtv, ok := value.(string) @@ -6342,7 +6183,6 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -6382,7 +6222,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ReplicationJobId = ptr.String(jtv) } - case "replicationJobTerminated": if value != nil { jtv, ok := value.(bool) @@ -6391,7 +6230,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ReplicationJobTerminated = ptr.Bool(jtv) } - case "serverId": if value != nil { jtv, ok := value.(string) @@ -6400,7 +6238,6 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerId = ptr.String(jtv) } - case "serverType": if value != nil { jtv, ok := value.(string) @@ -6409,12 +6246,10 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerType = types.ServerType(jtv) } - case "vmServer": if err := awsAwsjson11_deserializeDocumentVmServer(&sv.VmServer, value); err != nil { return err } - default: _, _ = key, value @@ -6444,15 +6279,9 @@ func awsAwsjson11_deserializeDocumentServerCannotBeReplicatedException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6460,15 +6289,11 @@ func awsAwsjson11_deserializeDocumentServerCannotBeReplicatedException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6503,7 +6328,6 @@ func awsAwsjson11_deserializeDocumentServerGroup(v **types.ServerGroup, value in } sv.Name = ptr.String(jtv) } - case "serverGroupId": if value != nil { jtv, ok := value.(string) @@ -6512,12 +6336,10 @@ func awsAwsjson11_deserializeDocumentServerGroup(v **types.ServerGroup, value in } sv.ServerGroupId = ptr.String(jtv) } - case "serverList": if err := awsAwsjson11_deserializeDocumentServerList(&sv.ServerList, value); err != nil { return err } - default: _, _ = key, value @@ -6561,7 +6383,6 @@ func awsAwsjson11_deserializeDocumentServerGroupLaunchConfiguration(v **types.Se } sv.LaunchOrder = ptr.Int32(int32(i64)) } - case "serverGroupId": if value != nil { jtv, ok := value.(string) @@ -6570,12 +6391,10 @@ func awsAwsjson11_deserializeDocumentServerGroupLaunchConfiguration(v **types.Se } sv.ServerGroupId = ptr.String(jtv) } - case "serverLaunchConfigurations": if err := awsAwsjson11_deserializeDocumentServerLaunchConfigurations(&sv.ServerLaunchConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -6649,12 +6468,10 @@ func awsAwsjson11_deserializeDocumentServerGroupReplicationConfiguration(v **typ } sv.ServerGroupId = ptr.String(jtv) } - case "serverReplicationConfigurations": if err := awsAwsjson11_deserializeDocumentServerReplicationConfigurations(&sv.ServerReplicationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -6762,12 +6579,10 @@ func awsAwsjson11_deserializeDocumentServerGroupValidationConfiguration(v **type } sv.ServerGroupId = ptr.String(jtv) } - case "serverValidationConfigurations": if err := awsAwsjson11_deserializeDocumentServerValidationConfigurations(&sv.ServerValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -6841,12 +6656,10 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } - case "configureScript": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.ConfigureScript, value); err != nil { return err } - case "configureScriptType": if value != nil { jtv, ok := value.(string) @@ -6855,7 +6668,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.ConfigureScriptType = types.ScriptType(jtv) } - case "ec2KeyName": if value != nil { jtv, ok := value.(string) @@ -6864,7 +6676,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Ec2KeyName = ptr.String(jtv) } - case "iamInstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -6873,7 +6684,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.IamInstanceProfileName = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -6882,7 +6692,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.InstanceType = ptr.String(jtv) } - case "logicalId": if value != nil { jtv, ok := value.(string) @@ -6891,7 +6700,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.LogicalId = ptr.String(jtv) } - case "securityGroup": if value != nil { jtv, ok := value.(string) @@ -6900,12 +6708,10 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.SecurityGroup = ptr.String(jtv) } - case "server": if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - case "subnet": if value != nil { jtv, ok := value.(string) @@ -6914,12 +6720,10 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Subnet = ptr.String(jtv) } - case "userData": if err := awsAwsjson11_deserializeDocumentUserData(&sv.UserData, value); err != nil { return err } - case "vpc": if value != nil { jtv, ok := value.(string) @@ -6928,7 +6732,6 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Vpc = ptr.String(jtv) } - default: _, _ = key, value @@ -7032,12 +6835,10 @@ func awsAwsjson11_deserializeDocumentServerReplicationConfiguration(v **types.Se if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - case "serverReplicationParameters": if err := awsAwsjson11_deserializeDocumentServerReplicationParameters(&sv.ServerReplicationParameters, value); err != nil { return err } - default: _, _ = key, value @@ -7111,7 +6912,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.Encrypted = ptr.Bool(jtv) } - case "frequency": if value != nil { jtv, ok := value.(json.Number) @@ -7124,7 +6924,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.Frequency = ptr.Int32(int32(i64)) } - case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7133,7 +6932,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.KmsKeyId = ptr.String(jtv) } - case "licenseType": if value != nil { jtv, ok := value.(string) @@ -7142,7 +6940,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.LicenseType = types.LicenseType(jtv) } - case "numberOfRecentAmisToKeep": if value != nil { jtv, ok := value.(json.Number) @@ -7155,7 +6952,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.NumberOfRecentAmisToKeep = ptr.Int32(int32(i64)) } - case "runOnce": if value != nil { jtv, ok := value.(bool) @@ -7164,7 +6960,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.RunOnce = ptr.Bool(jtv) } - case "seedTime": if value != nil { switch jtv := value.(type) { @@ -7180,7 +6975,6 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } } - default: _, _ = key, value @@ -7220,12 +7014,10 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.Name = ptr.String(jtv) } - case "server": if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - case "serverValidationStrategy": if value != nil { jtv, ok := value.(string) @@ -7234,12 +7026,10 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.ServerValidationStrategy = types.ServerValidationStrategy(jtv) } - case "userDataValidationParameters": if err := awsAwsjson11_deserializeDocumentUserDataValidationParameters(&sv.UserDataValidationParameters, value); err != nil { return err } - case "validationId": if value != nil { jtv, ok := value.(string) @@ -7248,7 +7038,6 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.ValidationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7318,7 +7107,6 @@ func awsAwsjson11_deserializeDocumentServerValidationOutput(v **types.ServerVali if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -7354,7 +7142,6 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -7390,7 +7177,6 @@ func awsAwsjson11_deserializeDocumentSSMOutput(v **types.SSMOutput, value interf if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -7430,7 +7216,6 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.Command = ptr.String(jtv) } - case "executionTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7443,7 +7228,6 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.ExecutionTimeoutSeconds = int32(i64) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -7452,7 +7236,6 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.InstanceId = ptr.String(jtv) } - case "outputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -7461,7 +7244,6 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.OutputS3BucketName = ptr.String(jtv) } - case "scriptType": if value != nil { jtv, ok := value.(string) @@ -7470,12 +7252,10 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.ScriptType = types.ScriptType(jtv) } - case "source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -7515,7 +7295,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7524,7 +7303,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7588,22 +7366,13 @@ func awsAwsjson11_deserializeDocumentTemporarilyUnavailableException(v **types.T sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7628,15 +7397,9 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperationException(v **types.Un sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7644,15 +7407,11 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7683,7 +7442,6 @@ func awsAwsjson11_deserializeDocumentUserData(v **types.UserData, value interfac if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -7723,12 +7481,10 @@ func awsAwsjson11_deserializeDocumentUserDataValidationParameters(v **types.User } sv.ScriptType = types.ScriptType(jtv) } - case "source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -7764,7 +7520,6 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput if err := awsAwsjson11_deserializeDocumentAppValidationOutput(&sv.AppValidationOutput, value); err != nil { return err } - case "latestValidationTime": if value != nil { switch jtv := value.(type) { @@ -7780,7 +7535,6 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } } - case "name": if value != nil { jtv, ok := value.(string) @@ -7789,12 +7543,10 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.Name = ptr.String(jtv) } - case "serverValidationOutput": if err := awsAwsjson11_deserializeDocumentServerValidationOutput(&sv.ServerValidationOutput, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7803,7 +7555,6 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.Status = types.ValidationStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7812,7 +7563,6 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.StatusMessage = ptr.String(jtv) } - case "validationId": if value != nil { jtv, ok := value.(string) @@ -7821,7 +7571,6 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.ValidationId = ptr.String(jtv) } - default: _, _ = key, value @@ -7895,7 +7644,6 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmManagerName = ptr.String(jtv) } - case "vmManagerType": if value != nil { jtv, ok := value.(string) @@ -7904,7 +7652,6 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmManagerType = types.VmManagerType(jtv) } - case "vmName": if value != nil { jtv, ok := value.(string) @@ -7913,7 +7660,6 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmName = ptr.String(jtv) } - case "vmPath": if value != nil { jtv, ok := value.(string) @@ -7922,12 +7668,10 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmPath = ptr.String(jtv) } - case "vmServerAddress": if err := awsAwsjson11_deserializeDocumentVmServerAddress(&sv.VmServerAddress, value); err != nil { return err } - default: _, _ = key, value @@ -7967,7 +7711,6 @@ func awsAwsjson11_deserializeDocumentVmServerAddress(v **types.VmServerAddress, } sv.VmId = ptr.String(jtv) } - case "vmManagerId": if value != nil { jtv, ok := value.(string) @@ -7976,7 +7719,6 @@ func awsAwsjson11_deserializeDocumentVmServerAddress(v **types.VmServerAddress, } sv.VmManagerId = ptr.String(jtv) } - default: _, _ = key, value @@ -8012,17 +7754,14 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } - case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8062,7 +7801,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationJobOutput(v **CreateRepl } sv.ReplicationJobId = ptr.String(jtv) } - default: _, _ = key, value @@ -8315,7 +8053,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateChangeSetOutput(v **GenerateChang if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -8351,7 +8088,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateTemplateOutput(v **GenerateTempla if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -8391,7 +8127,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.AppId = ptr.String(jtv) } - case "autoLaunch": if value != nil { jtv, ok := value.(bool) @@ -8400,7 +8135,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.AutoLaunch = ptr.Bool(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -8409,12 +8143,10 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.RoleName = ptr.String(jtv) } - case "serverGroupLaunchConfigurations": if err := awsAwsjson11_deserializeDocumentServerGroupLaunchConfigurations(&sv.ServerGroupLaunchConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -8450,17 +8182,14 @@ func awsAwsjson11_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } - case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8496,7 +8225,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppReplicationConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentServerGroupReplicationConfigurations(&sv.ServerGroupReplicationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -8532,12 +8260,10 @@ func awsAwsjson11_deserializeOpDocumentGetAppValidationConfigurationOutput(v **G if err := awsAwsjson11_deserializeDocumentAppValidationConfigurations(&sv.AppValidationConfigurations, value); err != nil { return err } - case "serverGroupValidationConfigurations": if err := awsAwsjson11_deserializeDocumentServerGroupValidationConfigurations(&sv.ServerGroupValidationConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -8573,7 +8299,6 @@ func awsAwsjson11_deserializeOpDocumentGetAppValidationOutputOutput(v **GetAppVa if err := awsAwsjson11_deserializeDocumentValidationOutputList(&sv.ValidationOutputList, value); err != nil { return err } - default: _, _ = key, value @@ -8609,7 +8334,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectorsOutput(v **GetConnectorsOutp if err := awsAwsjson11_deserializeDocumentConnectorList(&sv.ConnectorList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8618,7 +8342,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectorsOutput(v **GetConnectorsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -8658,12 +8381,10 @@ func awsAwsjson11_deserializeOpDocumentGetReplicationJobsOutput(v **GetReplicati } sv.NextToken = ptr.String(jtv) } - case "replicationJobList": if err := awsAwsjson11_deserializeDocumentReplicationJobList(&sv.ReplicationJobList, value); err != nil { return err } - default: _, _ = key, value @@ -8703,17 +8424,14 @@ func awsAwsjson11_deserializeOpDocumentGetReplicationRunsOutput(v **GetReplicati } sv.NextToken = ptr.String(jtv) } - case "replicationJob": if err := awsAwsjson11_deserializeDocumentReplicationJob(&sv.ReplicationJob, value); err != nil { return err } - case "replicationRunList": if err := awsAwsjson11_deserializeDocumentReplicationRunList(&sv.ReplicationRunList, value); err != nil { return err } - default: _, _ = key, value @@ -8760,7 +8478,6 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8769,7 +8486,6 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } sv.NextToken = ptr.String(jtv) } - case "serverCatalogStatus": if value != nil { jtv, ok := value.(string) @@ -8778,12 +8494,10 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } sv.ServerCatalogStatus = types.ServerCatalogStatus(jtv) } - case "serverList": if err := awsAwsjson11_deserializeDocumentServerList(&sv.ServerList, value); err != nil { return err } - default: _, _ = key, value @@ -8912,7 +8626,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsAwsjson11_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8921,7 +8634,6 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9147,7 +8859,6 @@ func awsAwsjson11_deserializeOpDocumentStartOnDemandReplicationRunOutput(v **Sta } sv.ReplicationRunId = ptr.String(jtv) } - default: _, _ = key, value @@ -9245,17 +8956,14 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } - case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } - case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/snowball/deserializers.go b/service/snowball/deserializers.go index 80d06cc3a8d..0ec2be844ec 100644 --- a/service/snowball/deserializers.go +++ b/service/snowball/deserializers.go @@ -3547,7 +3547,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressId = ptr.String(jtv) } - case "City": if value != nil { jtv, ok := value.(string) @@ -3556,7 +3555,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "Company": if value != nil { jtv, ok := value.(string) @@ -3565,7 +3563,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Company = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -3574,7 +3571,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } - case "IsRestricted": if value != nil { jtv, ok := value.(bool) @@ -3583,7 +3579,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.IsRestricted = jtv } - case "Landmark": if value != nil { jtv, ok := value.(string) @@ -3592,7 +3587,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Landmark = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3601,7 +3595,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Name = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3610,7 +3603,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PhoneNumber = ptr.String(jtv) } - case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -3619,7 +3611,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "PrefectureOrDistrict": if value != nil { jtv, ok := value.(string) @@ -3628,7 +3619,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PrefectureOrDistrict = ptr.String(jtv) } - case "StateOrProvince": if value != nil { jtv, ok := value.(string) @@ -3637,7 +3627,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrProvince = ptr.String(jtv) } - case "Street1": if value != nil { jtv, ok := value.(string) @@ -3646,7 +3635,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street1 = ptr.String(jtv) } - case "Street2": if value != nil { jtv, ok := value.(string) @@ -3655,7 +3643,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street2 = ptr.String(jtv) } - case "Street3": if value != nil { jtv, ok := value.(string) @@ -3664,7 +3651,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street3 = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3673,7 +3659,6 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Type = types.AddressType(jtv) } - default: _, _ = key, value @@ -3737,15 +3722,9 @@ func awsAwsjson11_deserializeDocumentClusterLimitExceededException(v **types.Clu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3753,15 +3732,11 @@ func awsAwsjson11_deserializeDocumentClusterLimitExceededException(v **types.Clu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3796,7 +3771,6 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.ClusterId = ptr.String(jtv) } - case "ClusterState": if value != nil { jtv, ok := value.(string) @@ -3805,7 +3779,6 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.ClusterState = types.ClusterState(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3821,7 +3794,6 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3830,7 +3802,6 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -3904,7 +3875,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.AddressId = ptr.String(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3913,7 +3883,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ClusterId = ptr.String(jtv) } - case "ClusterState": if value != nil { jtv, ok := value.(string) @@ -3922,7 +3891,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ClusterState = types.ClusterState(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3938,7 +3906,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3947,7 +3914,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.Description = ptr.String(jtv) } - case "ForwardingAddressId": if value != nil { jtv, ok := value.(string) @@ -3956,7 +3922,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ForwardingAddressId = ptr.String(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -3965,7 +3930,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.JobType = types.JobType(jtv) } - case "KmsKeyARN": if value != nil { jtv, ok := value.(string) @@ -3974,22 +3938,18 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.KmsKeyARN = ptr.String(jtv) } - case "Notification": if err := awsAwsjson11_deserializeDocumentNotification(&sv.Notification, value); err != nil { return err } - case "OnDeviceServiceConfiguration": if err := awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(&sv.OnDeviceServiceConfiguration, value); err != nil { return err } - case "Resources": if err := awsAwsjson11_deserializeDocumentJobResource(&sv.Resources, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3998,7 +3958,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.RoleARN = ptr.String(jtv) } - case "ShippingOption": if value != nil { jtv, ok := value.(string) @@ -4007,7 +3966,6 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ShippingOption = types.ShippingOption(jtv) } - case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -4016,12 +3974,10 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.SnowballType = types.SnowballType(jtv) } - case "TaxDocuments": if err := awsAwsjson11_deserializeDocumentTaxDocuments(&sv.TaxDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -4061,7 +4017,6 @@ func awsAwsjson11_deserializeDocumentCompatibleImage(v **types.CompatibleImage, } sv.AmiId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4070,7 +4025,6 @@ func awsAwsjson11_deserializeDocumentCompatibleImage(v **types.CompatibleImage, } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4134,13 +4088,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ConflictResource": if value != nil { @@ -4150,8 +4098,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictResource = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4159,15 +4106,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4206,7 +4149,6 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.BytesTransferred = i64 } - case "ObjectsTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -4219,7 +4161,6 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.ObjectsTransferred = i64 } - case "TotalBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4232,7 +4173,6 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.TotalBytes = i64 } - case "TotalObjects": if value != nil { jtv, ok := value.(json.Number) @@ -4245,7 +4185,6 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.TotalObjects = i64 } - default: _, _ = key, value @@ -4285,12 +4224,10 @@ func awsAwsjson11_deserializeDocumentDependentService(v **types.DependentService } sv.ServiceName = types.ServiceName(jtv) } - case "ServiceVersion": if err := awsAwsjson11_deserializeDocumentServiceVersion(&sv.ServiceVersion, value); err != nil { return err } - default: _, _ = key, value @@ -4360,7 +4297,6 @@ func awsAwsjson11_deserializeDocumentDeviceConfiguration(v **types.DeviceConfigu if err := awsAwsjson11_deserializeDocumentSnowconeDeviceConfiguration(&sv.SnowconeDeviceConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4400,7 +4336,6 @@ func awsAwsjson11_deserializeDocumentEc2AmiResource(v **types.Ec2AmiResource, va } sv.AmiId = ptr.String(jtv) } - case "SnowballAmiId": if value != nil { jtv, ok := value.(string) @@ -4409,7 +4344,6 @@ func awsAwsjson11_deserializeDocumentEc2AmiResource(v **types.Ec2AmiResource, va } sv.SnowballAmiId = ptr.String(jtv) } - default: _, _ = key, value @@ -4473,15 +4407,9 @@ func awsAwsjson11_deserializeDocumentEc2RequestFailedException(v **types.Ec2Requ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4489,15 +4417,11 @@ func awsAwsjson11_deserializeDocumentEc2RequestFailedException(v **types.Ec2Requ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4532,7 +4456,6 @@ func awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(v **types.E } sv.EKSAnywhereVersion = ptr.String(jtv) } - case "KubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -4541,7 +4464,6 @@ func awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(v **types.E } sv.KubernetesVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4581,7 +4503,6 @@ func awsAwsjson11_deserializeDocumentEventTriggerDefinition(v **types.EventTrigg } sv.EventResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -4655,7 +4576,6 @@ func awsAwsjson11_deserializeDocumentINDTaxDocuments(v **types.INDTaxDocuments, } sv.GSTIN = ptr.String(jtv) } - default: _, _ = key, value @@ -4685,15 +4605,9 @@ func awsAwsjson11_deserializeDocumentInvalidAddressException(v **types.InvalidAd sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4701,15 +4615,11 @@ func awsAwsjson11_deserializeDocumentInvalidAddressException(v **types.InvalidAd } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4734,15 +4644,9 @@ func awsAwsjson11_deserializeDocumentInvalidInputCombinationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4750,15 +4654,11 @@ func awsAwsjson11_deserializeDocumentInvalidInputCombinationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4783,15 +4683,9 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4799,15 +4693,11 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4832,15 +4722,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4848,15 +4732,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4881,15 +4761,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4897,7 +4771,6 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4906,15 +4779,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4956,7 +4825,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4965,7 +4833,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.Description = ptr.String(jtv) } - case "IsMaster": if value != nil { jtv, ok := value.(bool) @@ -4974,7 +4841,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.IsMaster = jtv } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4849,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobId = ptr.String(jtv) } - case "JobState": if value != nil { jtv, ok := value.(string) @@ -4992,7 +4857,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobState = types.JobState(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4865,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobType = types.JobType(jtv) } - case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -5010,7 +4873,6 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.SnowballType = types.SnowballType(jtv) } - default: _, _ = key, value @@ -5084,7 +4946,6 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobCompletionReportURI = ptr.String(jtv) } - case "JobFailureLogURI": if value != nil { jtv, ok := value.(string) @@ -5093,7 +4954,6 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobFailureLogURI = ptr.String(jtv) } - case "JobSuccessLogURI": if value != nil { jtv, ok := value.(string) @@ -5102,7 +4962,6 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobSuccessLogURI = ptr.String(jtv) } - default: _, _ = key, value @@ -5142,7 +5001,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.AddressId = ptr.String(jtv) } - case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -5151,7 +5009,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ClusterId = ptr.String(jtv) } - case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5167,12 +5024,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } } - case "DataTransferProgress": if err := awsAwsjson11_deserializeDocumentDataTransfer(&sv.DataTransferProgress, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -5181,12 +5036,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.Description = ptr.String(jtv) } - case "DeviceConfiguration": if err := awsAwsjson11_deserializeDocumentDeviceConfiguration(&sv.DeviceConfiguration, value); err != nil { return err } - case "ForwardingAddressId": if value != nil { jtv, ok := value.(string) @@ -5195,7 +5048,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ForwardingAddressId = ptr.String(jtv) } - case "ImpactLevel": if value != nil { jtv, ok := value.(string) @@ -5204,7 +5056,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ImpactLevel = types.ImpactLevel(jtv) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -5213,12 +5064,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobId = ptr.String(jtv) } - case "JobLogInfo": if err := awsAwsjson11_deserializeDocumentJobLogs(&sv.JobLogInfo, value); err != nil { return err } - case "JobState": if value != nil { jtv, ok := value.(string) @@ -5227,7 +5076,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobState = types.JobState(jtv) } - case "JobType": if value != nil { jtv, ok := value.(string) @@ -5236,7 +5084,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobType = types.JobType(jtv) } - case "KmsKeyARN": if value != nil { jtv, ok := value.(string) @@ -5245,7 +5092,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.KmsKeyARN = ptr.String(jtv) } - case "LongTermPricingId": if value != nil { jtv, ok := value.(string) @@ -5254,22 +5100,18 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.LongTermPricingId = ptr.String(jtv) } - case "Notification": if err := awsAwsjson11_deserializeDocumentNotification(&sv.Notification, value); err != nil { return err } - case "OnDeviceServiceConfiguration": if err := awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(&sv.OnDeviceServiceConfiguration, value); err != nil { return err } - case "PickupDetails": if err := awsAwsjson11_deserializeDocumentPickupDetails(&sv.PickupDetails, value); err != nil { return err } - case "RemoteManagement": if value != nil { jtv, ok := value.(string) @@ -5278,12 +5120,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.RemoteManagement = types.RemoteManagement(jtv) } - case "Resources": if err := awsAwsjson11_deserializeDocumentJobResource(&sv.Resources, value); err != nil { return err } - case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5292,12 +5132,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.RoleARN = ptr.String(jtv) } - case "ShippingDetails": if err := awsAwsjson11_deserializeDocumentShippingDetails(&sv.ShippingDetails, value); err != nil { return err } - case "SnowballCapacityPreference": if value != nil { jtv, ok := value.(string) @@ -5306,7 +5144,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballCapacityPreference = types.SnowballCapacity(jtv) } - case "SnowballId": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5152,6 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballId = ptr.String(jtv) } - case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -5324,12 +5160,10 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballType = types.SnowballType(jtv) } - case "TaxDocuments": if err := awsAwsjson11_deserializeDocumentTaxDocuments(&sv.TaxDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -5399,17 +5233,14 @@ func awsAwsjson11_deserializeDocumentJobResource(v **types.JobResource, value in if err := awsAwsjson11_deserializeDocumentEc2AmiResourceList(&sv.Ec2AmiResources, value); err != nil { return err } - case "LambdaResources": if err := awsAwsjson11_deserializeDocumentLambdaResourceList(&sv.LambdaResources, value); err != nil { return err } - case "S3Resources": if err := awsAwsjson11_deserializeDocumentS3ResourceList(&sv.S3Resources, value); err != nil { return err } - default: _, _ = key, value @@ -5485,7 +5316,6 @@ func awsAwsjson11_deserializeDocumentKeyRange(v **types.KeyRange, value interfac } sv.BeginMarker = ptr.String(jtv) } - case "EndMarker": if value != nil { jtv, ok := value.(string) @@ -5494,7 +5324,6 @@ func awsAwsjson11_deserializeDocumentKeyRange(v **types.KeyRange, value interfac } sv.EndMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -5524,15 +5353,9 @@ func awsAwsjson11_deserializeDocumentKMSRequestFailedException(v **types.KMSRequ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5540,15 +5363,11 @@ func awsAwsjson11_deserializeDocumentKMSRequestFailedException(v **types.KMSRequ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5579,7 +5398,6 @@ func awsAwsjson11_deserializeDocumentLambdaResource(v **types.LambdaResource, va if err := awsAwsjson11_deserializeDocumentEventTriggerDefinitionList(&sv.EventTriggers, value); err != nil { return err } - case "LambdaArn": if value != nil { jtv, ok := value.(string) @@ -5588,7 +5406,6 @@ func awsAwsjson11_deserializeDocumentLambdaResource(v **types.LambdaResource, va } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5732,7 +5549,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.CurrentActiveJob = ptr.String(jtv) } - case "IsLongTermPricingAutoRenew": if value != nil { jtv, ok := value.(bool) @@ -5741,12 +5557,10 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.IsLongTermPricingAutoRenew = ptr.Bool(jtv) } - case "JobIds": if err := awsAwsjson11_deserializeDocumentLongTermPricingAssociatedJobIdList(&sv.JobIds, value); err != nil { return err } - case "LongTermPricingEndDate": if value != nil { switch jtv := value.(type) { @@ -5762,7 +5576,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } } - case "LongTermPricingId": if value != nil { jtv, ok := value.(string) @@ -5771,7 +5584,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingId = ptr.String(jtv) } - case "LongTermPricingStartDate": if value != nil { switch jtv := value.(type) { @@ -5787,7 +5599,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } } - case "LongTermPricingStatus": if value != nil { jtv, ok := value.(string) @@ -5796,7 +5607,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingStatus = ptr.String(jtv) } - case "LongTermPricingType": if value != nil { jtv, ok := value.(string) @@ -5805,7 +5615,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingType = types.LongTermPricingType(jtv) } - case "ReplacementJob": if value != nil { jtv, ok := value.(string) @@ -5814,7 +5623,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.ReplacementJob = ptr.String(jtv) } - case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -5823,7 +5631,6 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.SnowballType = types.SnowballType(jtv) } - default: _, _ = key, value @@ -5867,7 +5674,6 @@ func awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(v **types.N } sv.StorageLimit = int32(i64) } - case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -5876,7 +5682,6 @@ func awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(v **types.N } sv.StorageUnit = types.StorageUnit(jtv) } - default: _, _ = key, value @@ -5916,12 +5721,10 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.DevicePickupSnsTopicARN = ptr.String(jtv) } - case "JobStatesToNotify": if err := awsAwsjson11_deserializeDocumentJobStateList(&sv.JobStatesToNotify, value); err != nil { return err } - case "NotifyAll": if value != nil { jtv, ok := value.(bool) @@ -5930,7 +5733,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotifyAll = jtv } - case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -5939,7 +5741,6 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.SnsTopicARN = ptr.String(jtv) } - default: _, _ = key, value @@ -5975,22 +5776,18 @@ func awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(v **types.OnDe if err := awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(&sv.EKSOnDeviceService, value); err != nil { return err } - case "NFSOnDeviceService": if err := awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(&sv.NFSOnDeviceService, value); err != nil { return err } - case "S3OnDeviceService": if err := awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(&sv.S3OnDeviceService, value); err != nil { return err } - case "TGWOnDeviceService": if err := awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(&sv.TGWOnDeviceService, value); err != nil { return err } - default: _, _ = key, value @@ -6030,7 +5827,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.DevicePickupId = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -6039,7 +5835,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.Email = ptr.String(jtv) } - case "IdentificationExpirationDate": if value != nil { switch jtv := value.(type) { @@ -6055,7 +5850,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } } - case "IdentificationIssuingOrg": if value != nil { jtv, ok := value.(string) @@ -6064,7 +5858,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.IdentificationIssuingOrg = ptr.String(jtv) } - case "IdentificationNumber": if value != nil { jtv, ok := value.(string) @@ -6073,7 +5866,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.IdentificationNumber = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6082,7 +5874,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.Name = ptr.String(jtv) } - case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -6091,7 +5882,6 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.PhoneNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6121,15 +5911,9 @@ func awsAwsjson11_deserializeDocumentReturnShippingLabelAlreadyExistsException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6137,15 +5921,11 @@ func awsAwsjson11_deserializeDocumentReturnShippingLabelAlreadyExistsException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6184,7 +5964,6 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.FaultTolerance = ptr.Int32(int32(i64)) } - case "ServiceSize": if value != nil { jtv, ok := value.(json.Number) @@ -6197,7 +5976,6 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.ServiceSize = ptr.Int32(int32(i64)) } - case "StorageLimit": if value != nil { switch jtv := value.(type) { @@ -6231,7 +6009,6 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } } - case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -6240,7 +6017,6 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.StorageUnit = types.StorageUnit(jtv) } - default: _, _ = key, value @@ -6280,17 +6056,14 @@ func awsAwsjson11_deserializeDocumentS3Resource(v **types.S3Resource, value inte } sv.BucketArn = ptr.String(jtv) } - case "KeyRange": if err := awsAwsjson11_deserializeDocumentKeyRange(&sv.KeyRange, value); err != nil { return err } - case "TargetOnDeviceServices": if err := awsAwsjson11_deserializeDocumentTargetOnDeviceServiceList(&sv.TargetOnDeviceServices, value); err != nil { return err } - default: _, _ = key, value @@ -6364,7 +6137,6 @@ func awsAwsjson11_deserializeDocumentServiceVersion(v **types.ServiceVersion, va } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -6438,7 +6210,6 @@ func awsAwsjson11_deserializeDocumentShipment(v **types.Shipment, value interfac } sv.Status = ptr.String(jtv) } - case "TrackingNumber": if value != nil { jtv, ok := value.(string) @@ -6447,7 +6218,6 @@ func awsAwsjson11_deserializeDocumentShipment(v **types.Shipment, value interfac } sv.TrackingNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6483,12 +6253,10 @@ func awsAwsjson11_deserializeDocumentShippingDetails(v **types.ShippingDetails, if err := awsAwsjson11_deserializeDocumentShipment(&sv.InboundShipment, value); err != nil { return err } - case "OutboundShipment": if err := awsAwsjson11_deserializeDocumentShipment(&sv.OutboundShipment, value); err != nil { return err } - case "ShippingOption": if value != nil { jtv, ok := value.(string) @@ -6497,7 +6265,6 @@ func awsAwsjson11_deserializeDocumentShippingDetails(v **types.ShippingDetails, } sv.ShippingOption = types.ShippingOption(jtv) } - default: _, _ = key, value @@ -6533,7 +6300,6 @@ func awsAwsjson11_deserializeDocumentSnowconeDeviceConfiguration(v **types.Snowc if err := awsAwsjson11_deserializeDocumentWirelessConnection(&sv.WirelessConnection, value); err != nil { return err } - default: _, _ = key, value @@ -6573,7 +6339,6 @@ func awsAwsjson11_deserializeDocumentTargetOnDeviceService(v **types.TargetOnDev } sv.ServiceName = types.DeviceServiceName(jtv) } - case "TransferOption": if value != nil { jtv, ok := value.(string) @@ -6582,7 +6347,6 @@ func awsAwsjson11_deserializeDocumentTargetOnDeviceService(v **types.TargetOnDev } sv.TransferOption = types.TransferOption(jtv) } - default: _, _ = key, value @@ -6652,7 +6416,6 @@ func awsAwsjson11_deserializeDocumentTaxDocuments(v **types.TaxDocuments, value if err := awsAwsjson11_deserializeDocumentINDTaxDocuments(&sv.IND, value); err != nil { return err } - default: _, _ = key, value @@ -6696,7 +6459,6 @@ func awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(v **types.T } sv.StorageLimit = int32(i64) } - case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -6705,7 +6467,6 @@ func awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(v **types.T } sv.StorageUnit = types.StorageUnit(jtv) } - default: _, _ = key, value @@ -6735,15 +6496,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedAddressException(v **types.Unsup sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6751,15 +6506,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedAddressException(v **types.Unsup } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6794,7 +6545,6 @@ func awsAwsjson11_deserializeDocumentWirelessConnection(v **types.WirelessConnec } sv.IsWifiEnabled = jtv } - default: _, _ = key, value @@ -6896,7 +6646,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAddressOutput(v **CreateAddressOutp } sv.AddressId = ptr.String(jtv) } - default: _, _ = key, value @@ -6936,12 +6685,10 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterId = ptr.String(jtv) } - case "JobListEntries": if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } - default: _, _ = key, value @@ -6981,7 +6728,6 @@ func awsAwsjson11_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -7021,7 +6767,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLongTermPricingOutput(v **CreateLon } sv.LongTermPricingId = ptr.String(jtv) } - default: _, _ = key, value @@ -7061,7 +6806,6 @@ func awsAwsjson11_deserializeOpDocumentCreateReturnShippingLabelOutput(v **Creat } sv.Status = types.ShippingLabelStatus(jtv) } - default: _, _ = key, value @@ -7097,7 +6841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressesOutput(v **DescribeAddre if err := awsAwsjson11_deserializeDocumentAddressList(&sv.Addresses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7106,7 +6849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressesOutput(v **DescribeAddre } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7142,7 +6884,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressOutput(v **DescribeAddress if err := awsAwsjson11_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - default: _, _ = key, value @@ -7178,7 +6919,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsAwsjson11_deserializeDocumentClusterMetadata(&sv.ClusterMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -7214,12 +6954,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, if err := awsAwsjson11_deserializeDocumentJobMetadata(&sv.JobMetadata, value); err != nil { return err } - case "SubJobMetadata": if err := awsAwsjson11_deserializeDocumentJobMetadataList(&sv.SubJobMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -7266,7 +7004,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } } - case "ReturnShippingLabelURI": if value != nil { jtv, ok := value.(string) @@ -7275,7 +7012,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } sv.ReturnShippingLabelURI = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7284,7 +7020,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } sv.Status = types.ShippingLabelStatus(jtv) } - default: _, _ = key, value @@ -7324,7 +7059,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobManifestOutput(v **GetJobManifestOu } sv.ManifestURI = ptr.String(jtv) } - default: _, _ = key, value @@ -7364,7 +7098,6 @@ func awsAwsjson11_deserializeOpDocumentGetJobUnlockCodeOutput(v **GetJobUnlockCo } sv.UnlockCode = ptr.String(jtv) } - default: _, _ = key, value @@ -7408,7 +7141,6 @@ func awsAwsjson11_deserializeOpDocumentGetSnowballUsageOutput(v **GetSnowballUsa } sv.SnowballLimit = ptr.Int32(int32(i64)) } - case "SnowballsInUse": if value != nil { jtv, ok := value.(json.Number) @@ -7421,7 +7153,6 @@ func awsAwsjson11_deserializeOpDocumentGetSnowballUsageOutput(v **GetSnowballUsa } sv.SnowballsInUse = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7461,7 +7192,6 @@ func awsAwsjson11_deserializeOpDocumentGetSoftwareUpdatesOutput(v **GetSoftwareU } sv.UpdatesURI = ptr.String(jtv) } - default: _, _ = key, value @@ -7497,7 +7227,6 @@ func awsAwsjson11_deserializeOpDocumentListClusterJobsOutput(v **ListClusterJobs if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7506,7 +7235,6 @@ func awsAwsjson11_deserializeOpDocumentListClusterJobsOutput(v **ListClusterJobs } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7542,7 +7270,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterListEntryList(&sv.ClusterListEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7551,7 +7278,6 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7587,7 +7313,6 @@ func awsAwsjson11_deserializeOpDocumentListCompatibleImagesOutput(v **ListCompat if err := awsAwsjson11_deserializeDocumentCompatibleImageList(&sv.CompatibleImages, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7596,7 +7321,6 @@ func awsAwsjson11_deserializeOpDocumentListCompatibleImagesOutput(v **ListCompat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7632,7 +7356,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7641,7 +7364,6 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7677,7 +7399,6 @@ func awsAwsjson11_deserializeOpDocumentListLongTermPricingOutput(v **ListLongTer if err := awsAwsjson11_deserializeDocumentLongTermPricingEntryList(&sv.LongTermPricingEntries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7686,7 +7407,6 @@ func awsAwsjson11_deserializeOpDocumentListLongTermPricingOutput(v **ListLongTer } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7722,7 +7442,6 @@ func awsAwsjson11_deserializeOpDocumentListPickupLocationsOutput(v **ListPickupL if err := awsAwsjson11_deserializeDocumentAddressList(&sv.Addresses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7731,7 +7450,6 @@ func awsAwsjson11_deserializeOpDocumentListPickupLocationsOutput(v **ListPickupL } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7767,7 +7485,6 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService if err := awsAwsjson11_deserializeDocumentDependentServiceList(&sv.DependentServices, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7776,7 +7493,6 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService } sv.NextToken = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -7785,12 +7501,10 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService } sv.ServiceName = types.ServiceName(jtv) } - case "ServiceVersions": if err := awsAwsjson11_deserializeDocumentServiceVersionList(&sv.ServiceVersions, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/snowdevicemanagement/deserializers.go b/service/snowdevicemanagement/deserializers.go index 361c0185d6b..c40f172f2d0 100644 --- a/service/snowdevicemanagement/deserializers.go +++ b/service/snowdevicemanagement/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCancelTaskOutput(v **CancelTaskOutput, va } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -359,7 +358,6 @@ func awsRestjson1_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskArn = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -368,7 +366,6 @@ func awsRestjson1_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -536,12 +533,10 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.AssociatedWithJob = ptr.String(jtv) } - case "deviceCapacities": if err := awsRestjson1_deserializeDocumentCapacityList(&sv.DeviceCapacities, value); err != nil { return err } - case "deviceState": if value != nil { jtv, ok := value.(string) @@ -550,7 +545,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceState = types.UnlockState(jtv) } - case "deviceType": if value != nil { jtv, ok := value.(string) @@ -559,7 +553,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceType = ptr.String(jtv) } - case "lastReachedOutAt": if value != nil { switch jtv := value.(type) { @@ -575,7 +568,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -591,7 +583,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } - case "managedDeviceArn": if value != nil { jtv, ok := value.(string) @@ -600,7 +591,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ManagedDeviceArn = ptr.String(jtv) } - case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -609,22 +599,18 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ManagedDeviceId = ptr.String(jtv) } - case "physicalNetworkInterfaces": if err := awsRestjson1_deserializeDocumentPhysicalNetworkInterfaceList(&sv.PhysicalNetworkInterfaces, value); err != nil { return err } - case "software": if err := awsRestjson1_deserializeDocumentSoftwareInformation(&sv.Software, value); err != nil { return err } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -788,7 +774,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceEc2InstancesOutput(v **Desc if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.Instances, value); err != nil { return err } - default: _, _ = key, value @@ -956,7 +941,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ExecutionId = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -972,7 +956,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } - case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -981,7 +964,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ManagedDeviceId = ptr.String(jtv) } - case "startedAt": if value != nil { switch jtv := value.(type) { @@ -997,7 +979,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } - case "state": if value != nil { jtv, ok := value.(string) @@ -1006,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.State = types.ExecutionState(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -1015,7 +995,6 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -1190,7 +1169,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1206,7 +1184,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } - case "description": if value != nil { jtv, ok := value.(string) @@ -1215,7 +1192,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Description = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1231,7 +1207,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } - case "state": if value != nil { jtv, ok := value.(string) @@ -1240,17 +1215,14 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.State = types.TaskState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "targets": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -1259,7 +1231,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskArn = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -1268,7 +1239,6 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -1436,12 +1406,10 @@ func awsRestjson1_deserializeOpDocumentListDeviceResourcesOutput(v **ListDeviceR } sv.NextToken = ptr.String(jtv) } - case "resources": if err := awsRestjson1_deserializeDocumentResourceSummaryList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -1602,7 +1570,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceSummaryList(&sv.Devices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1611,7 +1578,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1775,7 +1741,6 @@ func awsRestjson1_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsRestjson1_deserializeDocumentExecutionSummaryList(&sv.Executions, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1784,7 +1749,6 @@ func awsRestjson1_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1942,7 +1906,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2107,12 +2070,10 @@ func awsRestjson1_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } - case "tasks": if err := awsRestjson1_deserializeDocumentTaskSummaryList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -2558,15 +2519,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2574,15 +2529,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2621,7 +2572,6 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Available = ptr.Int64(i64) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2630,7 +2580,6 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Name = ptr.String(jtv) } - case "total": if value != nil { jtv, ok := value.(json.Number) @@ -2643,7 +2592,6 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Total = ptr.Int64(i64) } - case "unit": if value != nil { jtv, ok := value.(string) @@ -2652,7 +2600,6 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Unit = ptr.String(jtv) } - case "used": if value != nil { jtv, ok := value.(json.Number) @@ -2665,7 +2612,6 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Used = ptr.Int64(i64) } - default: _, _ = key, value @@ -2743,7 +2689,6 @@ func awsRestjson1_deserializeDocumentCpuOptions(v **types.CpuOptions, value inte } sv.CoreCount = ptr.Int32(int32(i64)) } - case "threadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -2756,7 +2701,6 @@ func awsRestjson1_deserializeDocumentCpuOptions(v **types.CpuOptions, value inte } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2796,7 +2740,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.AssociatedWithJob = ptr.String(jtv) } - case "managedDeviceArn": if value != nil { jtv, ok := value.(string) @@ -2805,7 +2748,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ManagedDeviceArn = ptr.String(jtv) } - case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -2814,12 +2756,10 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ManagedDeviceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2900,7 +2840,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } } - case "deleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -2909,7 +2848,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.DeleteOnTermination = ptr.Bool(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2918,7 +2856,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.Status = types.AttachmentStatus(jtv) } - case "volumeId": if value != nil { jtv, ok := value.(string) @@ -2927,7 +2864,6 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.VolumeId = ptr.String(jtv) } - default: _, _ = key, value @@ -2967,7 +2903,6 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.ExecutionId = ptr.String(jtv) } - case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -2976,7 +2911,6 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.ManagedDeviceId = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -2985,7 +2919,6 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.State = types.ExecutionState(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -2994,7 +2927,6 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -3072,17 +3004,14 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiLaunchIndex = ptr.Int32(int32(i64)) } - case "blockDeviceMappings": if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappingList(&sv.BlockDeviceMappings, value); err != nil { return err } - case "cpuOptions": if err := awsRestjson1_deserializeDocumentCpuOptions(&sv.CpuOptions, value); err != nil { return err } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3098,7 +3027,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "imageId": if value != nil { jtv, ok := value.(string) @@ -3107,7 +3035,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ImageId = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -3116,7 +3043,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3125,7 +3051,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } - case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -3134,7 +3059,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } - case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -3143,7 +3067,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } - case "rootDeviceName": if value != nil { jtv, ok := value.(string) @@ -3152,17 +3075,14 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceName = ptr.String(jtv) } - case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupIdentifierList(&sv.SecurityGroups, value); err != nil { return err } - case "state": if err := awsRestjson1_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3178,7 +3098,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - default: _, _ = key, value @@ -3218,12 +3137,10 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.DeviceName = ptr.String(jtv) } - case "ebs": if err := awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(&sv.Ebs, value); err != nil { return err } - default: _, _ = key, value @@ -3301,7 +3218,6 @@ func awsRestjson1_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Code = ptr.Int32(int32(i64)) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3310,7 +3226,6 @@ func awsRestjson1_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Name = types.InstanceStateName(jtv) } - default: _, _ = key, value @@ -3346,7 +3261,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3362,7 +3276,6 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } - default: _, _ = key, value @@ -3426,15 +3339,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3442,15 +3349,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3485,7 +3388,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.DefaultGateway = ptr.String(jtv) } - case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -3494,7 +3396,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.IpAddress = ptr.String(jtv) } - case "ipAddressAssignment": if value != nil { jtv, ok := value.(string) @@ -3503,7 +3404,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.IpAddressAssignment = types.IpAddressAssignment(jtv) } - case "macAddress": if value != nil { jtv, ok := value.(string) @@ -3512,7 +3412,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.MacAddress = ptr.String(jtv) } - case "netmask": if value != nil { jtv, ok := value.(string) @@ -3521,7 +3420,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.Netmask = ptr.String(jtv) } - case "physicalConnectorType": if value != nil { jtv, ok := value.(string) @@ -3530,7 +3428,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.PhysicalConnectorType = types.PhysicalConnectorType(jtv) } - case "physicalNetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -3539,7 +3436,6 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.PhysicalNetworkInterfaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3603,15 +3499,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3619,15 +3509,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3662,7 +3548,6 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3671,7 +3556,6 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.Id = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3680,7 +3564,6 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -3754,7 +3637,6 @@ func awsRestjson1_deserializeDocumentSecurityGroupIdentifier(v **types.SecurityG } sv.GroupId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -3763,7 +3645,6 @@ func awsRestjson1_deserializeDocumentSecurityGroupIdentifier(v **types.SecurityG } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -3827,15 +3708,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3843,15 +3718,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3886,7 +3757,6 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstalledVersion = ptr.String(jtv) } - case "installingVersion": if value != nil { jtv, ok := value.(string) @@ -3895,7 +3765,6 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstallingVersion = ptr.String(jtv) } - case "installState": if value != nil { jtv, ok := value.(string) @@ -3904,7 +3773,6 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstallState = ptr.String(jtv) } - default: _, _ = key, value @@ -4016,12 +3884,10 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.State = types.TaskState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "taskArn": if value != nil { jtv, ok := value.(string) @@ -4030,7 +3896,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskArn = ptr.String(jtv) } - case "taskId": if value != nil { jtv, ok := value.(string) @@ -4039,7 +3904,6 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -4103,15 +3967,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4119,15 +3977,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4152,15 +4006,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4168,15 +4016,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/socialmessaging/deserializers.go b/service/socialmessaging/deserializers.go index 800cac6bb69..18b845b91e3 100644 --- a/service/socialmessaging/deserializers.go +++ b/service/socialmessaging/deserializers.go @@ -183,7 +183,6 @@ func awsRestjson1_deserializeOpDocumentAssociateWhatsAppBusinessAccountOutput(v if err := awsRestjson1_deserializeDocumentWhatsAppSignupCallbackResult(&sv.SignupCallbackResult, value); err != nil { return err } - case "statusCode": if value != nil { jtv, ok := value.(json.Number) @@ -196,7 +195,6 @@ func awsRestjson1_deserializeOpDocumentAssociateWhatsAppBusinessAccountOutput(v } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -373,7 +371,6 @@ func awsRestjson1_deserializeOpDocumentDeleteWhatsAppMessageMediaOutput(v **Dele } sv.Success = ptr.Bool(jtv) } - default: _, _ = key, value @@ -646,7 +643,6 @@ func awsRestjson1_deserializeOpDocumentGetLinkedWhatsAppBusinessAccountOutput(v if err := awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(&sv.Account, value); err != nil { return err } - default: _, _ = key, value @@ -820,12 +816,10 @@ func awsRestjson1_deserializeOpDocumentGetLinkedWhatsAppBusinessAccountPhoneNumb } sv.LinkedWhatsAppBusinessAccountId = ptr.String(jtv) } - case "phoneNumber": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(&sv.PhoneNumber, value); err != nil { return err } - default: _, _ = key, value @@ -1006,7 +1000,6 @@ func awsRestjson1_deserializeOpDocumentGetWhatsAppMessageMediaOutput(v **GetWhat } sv.FileSize = ptr.Int64(i64) } - case "mimeType": if value != nil { jtv, ok := value.(string) @@ -1015,7 +1008,6 @@ func awsRestjson1_deserializeOpDocumentGetWhatsAppMessageMediaOutput(v **GetWhat } sv.MimeType = ptr.String(jtv) } - default: _, _ = key, value @@ -1182,7 +1174,6 @@ func awsRestjson1_deserializeOpDocumentListLinkedWhatsAppBusinessAccountsOutput( if err := awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummaryList(&sv.LinkedAccounts, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1191,7 +1182,6 @@ func awsRestjson1_deserializeOpDocumentListLinkedWhatsAppBusinessAccountsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1363,12 +1353,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.StatusCode = ptr.Int32(int32(i64)) } - case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1545,7 +1533,6 @@ func awsRestjson1_deserializeOpDocumentPostWhatsAppMessageMediaOutput(v **PostWh } sv.MediaId = ptr.String(jtv) } - default: _, _ = key, value @@ -1819,7 +1806,6 @@ func awsRestjson1_deserializeOpDocumentSendWhatsAppMessageOutput(v **SendWhatsAp } sv.MessageId = ptr.String(jtv) } - default: _, _ = key, value @@ -1991,7 +1977,6 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2163,7 +2148,6 @@ func awsRestjson1_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -2481,15 +2465,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedByMetaException(v **types.Acces sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2497,15 +2475,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedByMetaException(v **types.Acces } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2530,15 +2504,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2546,15 +2514,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2579,15 +2543,9 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2595,15 +2553,11 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2628,15 +2582,9 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2644,15 +2592,11 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2677,15 +2621,9 @@ func awsRestjson1_deserializeDocumentInvalidParametersException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2693,15 +2631,11 @@ func awsRestjson1_deserializeDocumentInvalidParametersException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2771,12 +2705,10 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.Arn = ptr.String(jtv) } - case "eventDestinations": if err := awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestinations(&sv.EventDestinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2785,7 +2717,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.Id = ptr.String(jtv) } - case "linkDate": if value != nil { switch jtv := value.(type) { @@ -2801,12 +2732,10 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } } - case "phoneNumbers": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummaryList(&sv.PhoneNumbers, value); err != nil { return err } - case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2815,7 +2744,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "wabaId": if value != nil { jtv, ok := value.(string) @@ -2824,7 +2752,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.WabaId = ptr.String(jtv) } - case "wabaName": if value != nil { jtv, ok := value.(string) @@ -2833,7 +2760,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.WabaName = ptr.String(jtv) } - default: _, _ = key, value @@ -2873,7 +2799,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountIdMetaData(v * } sv.AccountName = ptr.String(jtv) } - case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2882,12 +2807,10 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountIdMetaData(v * } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "unregisteredWhatsAppPhoneNumbers": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetailList(&sv.UnregisteredWhatsAppPhoneNumbers, value); err != nil { return err } - default: _, _ = key, value @@ -2927,12 +2850,10 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.Arn = ptr.String(jtv) } - case "eventDestinations": if err := awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestinations(&sv.EventDestinations, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2941,7 +2862,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.Id = ptr.String(jtv) } - case "linkDate": if value != nil { switch jtv := value.(type) { @@ -2957,7 +2877,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } } - case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2966,7 +2885,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.RegistrationStatus = types.RegistrationStatus(jtv) } - case "wabaId": if value != nil { jtv, ok := value.(string) @@ -2975,7 +2893,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.WabaId = ptr.String(jtv) } - case "wabaName": if value != nil { jtv, ok := value.(string) @@ -2984,7 +2901,6 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.WabaName = ptr.String(jtv) } - default: _, _ = key, value @@ -3048,15 +2964,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3064,15 +2974,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3107,7 +3013,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -3116,7 +3021,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -3180,15 +3084,9 @@ func awsRestjson1_deserializeDocumentThrottledRequestException(v **types.Throttl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3196,15 +3094,11 @@ func awsRestjson1_deserializeDocumentThrottledRequestException(v **types.Throttl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3229,15 +3123,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3245,15 +3133,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3288,7 +3172,6 @@ func awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestination(v * } sv.EventDestinationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3362,7 +3245,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.Arn = ptr.String(jtv) } - case "displayPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3371,7 +3253,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.DisplayPhoneNumber = ptr.String(jtv) } - case "displayPhoneNumberName": if value != nil { jtv, ok := value.(string) @@ -3380,7 +3261,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.DisplayPhoneNumberName = ptr.String(jtv) } - case "metaPhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3389,7 +3269,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.MetaPhoneNumberId = ptr.String(jtv) } - case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -3398,7 +3277,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.PhoneNumber = ptr.String(jtv) } - case "phoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3407,7 +3285,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.PhoneNumberId = ptr.String(jtv) } - case "qualityRating": if value != nil { jtv, ok := value.(string) @@ -3416,7 +3293,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.QualityRating = ptr.String(jtv) } - default: _, _ = key, value @@ -3490,7 +3366,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.Arn = ptr.String(jtv) } - case "displayPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3499,7 +3374,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.DisplayPhoneNumber = ptr.String(jtv) } - case "displayPhoneNumberName": if value != nil { jtv, ok := value.(string) @@ -3508,7 +3382,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.DisplayPhoneNumberName = ptr.String(jtv) } - case "metaPhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3517,7 +3390,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.MetaPhoneNumberId = ptr.String(jtv) } - case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -3526,7 +3398,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.PhoneNumber = ptr.String(jtv) } - case "phoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3535,7 +3406,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.PhoneNumberId = ptr.String(jtv) } - case "qualityRating": if value != nil { jtv, ok := value.(string) @@ -3544,7 +3414,6 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.QualityRating = ptr.String(jtv) } - default: _, _ = key, value @@ -3618,12 +3487,10 @@ func awsRestjson1_deserializeDocumentWhatsAppSignupCallbackResult(v **types.What } sv.AssociateInProgressToken = ptr.String(jtv) } - case "linkedAccountsWithIncompleteSetup": if err := awsRestjson1_deserializeDocumentLinkedAccountWithIncompleteSetup(&sv.LinkedAccountsWithIncompleteSetup, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/sqs/deserializers.go b/service/sqs/deserializers.go index 721b2186f62..71e0de92c71 100644 --- a/service/sqs/deserializers.go +++ b/service/sqs/deserializers.go @@ -4010,15 +4010,9 @@ func awsAwsjson10_deserializeDocumentBatchEntryIdsNotDistinct(v **types.BatchEnt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4026,15 +4020,11 @@ func awsAwsjson10_deserializeDocumentBatchEntryIdsNotDistinct(v **types.BatchEnt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4059,15 +4049,9 @@ func awsAwsjson10_deserializeDocumentBatchRequestTooLong(v **types.BatchRequestT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4075,15 +4059,11 @@ func awsAwsjson10_deserializeDocumentBatchRequestTooLong(v **types.BatchRequestT } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4118,7 +4098,6 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Code = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4127,7 +4106,6 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Id = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4136,7 +4114,6 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Message = ptr.String(jtv) } - case "SenderFault": if value != nil { jtv, ok := value.(bool) @@ -4145,7 +4122,6 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.SenderFault = jtv } - default: _, _ = key, value @@ -4259,7 +4235,6 @@ func awsAwsjson10_deserializeDocumentChangeMessageVisibilityBatchResultEntry(v * } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4333,7 +4308,6 @@ func awsAwsjson10_deserializeDocumentDeleteMessageBatchResultEntry(v **types.Del } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -4397,15 +4371,9 @@ func awsAwsjson10_deserializeDocumentEmptyBatchRequest(v **types.EmptyBatchReque sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4413,15 +4381,11 @@ func awsAwsjson10_deserializeDocumentEmptyBatchRequest(v **types.EmptyBatchReque } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4446,15 +4410,9 @@ func awsAwsjson10_deserializeDocumentInvalidAddress(v **types.InvalidAddress, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4462,15 +4420,11 @@ func awsAwsjson10_deserializeDocumentInvalidAddress(v **types.InvalidAddress, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4495,15 +4449,9 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeName(v **types.InvalidAttri sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4511,15 +4459,11 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeName(v **types.InvalidAttri } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4544,15 +4488,9 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeValue(v **types.InvalidAttr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4560,15 +4498,11 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeValue(v **types.InvalidAttr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4593,15 +4527,9 @@ func awsAwsjson10_deserializeDocumentInvalidBatchEntryId(v **types.InvalidBatchE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4609,15 +4537,11 @@ func awsAwsjson10_deserializeDocumentInvalidBatchEntryId(v **types.InvalidBatchE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4642,22 +4566,13 @@ func awsAwsjson10_deserializeDocumentInvalidIdFormat(v **types.InvalidIdFormat, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4682,15 +4597,9 @@ func awsAwsjson10_deserializeDocumentInvalidMessageContents(v **types.InvalidMes sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4698,15 +4607,11 @@ func awsAwsjson10_deserializeDocumentInvalidMessageContents(v **types.InvalidMes } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4731,15 +4636,9 @@ func awsAwsjson10_deserializeDocumentInvalidSecurity(v **types.InvalidSecurity, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4747,15 +4646,11 @@ func awsAwsjson10_deserializeDocumentInvalidSecurity(v **types.InvalidSecurity, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4780,15 +4675,9 @@ func awsAwsjson10_deserializeDocumentKmsAccessDenied(v **types.KmsAccessDenied, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4796,15 +4685,11 @@ func awsAwsjson10_deserializeDocumentKmsAccessDenied(v **types.KmsAccessDenied, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4829,15 +4714,9 @@ func awsAwsjson10_deserializeDocumentKmsDisabled(v **types.KmsDisabled, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4845,15 +4724,11 @@ func awsAwsjson10_deserializeDocumentKmsDisabled(v **types.KmsDisabled, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4878,15 +4753,9 @@ func awsAwsjson10_deserializeDocumentKmsInvalidKeyUsage(v **types.KmsInvalidKeyU sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4894,15 +4763,11 @@ func awsAwsjson10_deserializeDocumentKmsInvalidKeyUsage(v **types.KmsInvalidKeyU } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4927,15 +4792,9 @@ func awsAwsjson10_deserializeDocumentKmsInvalidState(v **types.KmsInvalidState, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4943,15 +4802,11 @@ func awsAwsjson10_deserializeDocumentKmsInvalidState(v **types.KmsInvalidState, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4976,15 +4831,9 @@ func awsAwsjson10_deserializeDocumentKmsNotFound(v **types.KmsNotFound, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4992,15 +4841,11 @@ func awsAwsjson10_deserializeDocumentKmsNotFound(v **types.KmsNotFound, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5025,15 +4870,9 @@ func awsAwsjson10_deserializeDocumentKmsOptInRequired(v **types.KmsOptInRequired sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5041,15 +4880,11 @@ func awsAwsjson10_deserializeDocumentKmsOptInRequired(v **types.KmsOptInRequired } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5074,15 +4909,9 @@ func awsAwsjson10_deserializeDocumentKmsThrottled(v **types.KmsThrottled, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5090,15 +4919,11 @@ func awsAwsjson10_deserializeDocumentKmsThrottled(v **types.KmsThrottled, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5137,7 +4962,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.ApproximateNumberOfMessagesMoved = i64 } - case "ApproximateNumberOfMessagesToMove": if value != nil { jtv, ok := value.(json.Number) @@ -5150,7 +4974,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.ApproximateNumberOfMessagesToMove = ptr.Int64(i64) } - case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -5159,7 +4982,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.DestinationArn = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -5168,7 +4990,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.FailureReason = ptr.String(jtv) } - case "MaxNumberOfMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -5181,7 +5002,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.MaxNumberOfMessagesPerSecond = ptr.Int32(int32(i64)) } - case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -5190,7 +5010,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.SourceArn = ptr.String(jtv) } - case "StartedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -5203,7 +5022,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.StartedTimestamp = i64 } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5212,7 +5030,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.Status = ptr.String(jtv) } - case "TaskHandle": if value != nil { jtv, ok := value.(string) @@ -5221,7 +5038,6 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.TaskHandle = ptr.String(jtv) } - default: _, _ = key, value @@ -5291,7 +5107,6 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsAwsjson10_deserializeDocumentMessageSystemAttributeMap(&sv.Attributes, value); err != nil { return err } - case "Body": if value != nil { jtv, ok := value.(string) @@ -5300,7 +5115,6 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } - case "MD5OfBody": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5123,6 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MD5OfBody = ptr.String(jtv) } - case "MD5OfMessageAttributes": if value != nil { jtv, ok := value.(string) @@ -5318,12 +5131,10 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MD5OfMessageAttributes = ptr.String(jtv) } - case "MessageAttributes": if err := awsAwsjson10_deserializeDocumentMessageBodyAttributeMap(&sv.MessageAttributes, value); err != nil { return err } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -5332,7 +5143,6 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageId = ptr.String(jtv) } - case "ReceiptHandle": if value != nil { jtv, ok := value.(string) @@ -5341,7 +5151,6 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ReceiptHandle = ptr.String(jtv) } - default: _, _ = key, value @@ -5377,7 +5186,6 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr if err := awsAwsjson10_deserializeDocumentBinaryList(&sv.BinaryListValues, value); err != nil { return err } - case "BinaryValue": if value != nil { jtv, ok := value.(string) @@ -5390,7 +5198,6 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.BinaryValue = dv } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -5399,12 +5206,10 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.DataType = ptr.String(jtv) } - case "StringListValues": if err := awsAwsjson10_deserializeDocumentStringList(&sv.StringListValues, value); err != nil { return err } - case "StringValue": if value != nil { jtv, ok := value.(string) @@ -5413,7 +5218,6 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.StringValue = ptr.String(jtv) } - default: _, _ = key, value @@ -5512,22 +5316,13 @@ func awsAwsjson10_deserializeDocumentMessageNotInflight(v **types.MessageNotInfl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5588,15 +5383,9 @@ func awsAwsjson10_deserializeDocumentOverLimit(v **types.OverLimit, value interf sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5604,15 +5393,11 @@ func awsAwsjson10_deserializeDocumentOverLimit(v **types.OverLimit, value interf } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5637,15 +5422,9 @@ func awsAwsjson10_deserializeDocumentPurgeQueueInProgress(v **types.PurgeQueueIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5653,15 +5432,11 @@ func awsAwsjson10_deserializeDocumentPurgeQueueInProgress(v **types.PurgeQueueIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5722,15 +5497,9 @@ func awsAwsjson10_deserializeDocumentQueueDeletedRecently(v **types.QueueDeleted sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5738,15 +5507,11 @@ func awsAwsjson10_deserializeDocumentQueueDeletedRecently(v **types.QueueDeleted } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5771,15 +5536,9 @@ func awsAwsjson10_deserializeDocumentQueueDoesNotExist(v **types.QueueDoesNotExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5787,15 +5546,11 @@ func awsAwsjson10_deserializeDocumentQueueDoesNotExist(v **types.QueueDoesNotExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5820,15 +5575,9 @@ func awsAwsjson10_deserializeDocumentQueueNameExists(v **types.QueueNameExists, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5836,15 +5585,11 @@ func awsAwsjson10_deserializeDocumentQueueNameExists(v **types.QueueNameExists, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5905,15 +5650,9 @@ func awsAwsjson10_deserializeDocumentReceiptHandleIsInvalid(v **types.ReceiptHan sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5921,15 +5660,11 @@ func awsAwsjson10_deserializeDocumentReceiptHandleIsInvalid(v **types.ReceiptHan } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5954,15 +5689,9 @@ func awsAwsjson10_deserializeDocumentRequestThrottled(v **types.RequestThrottled sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5970,15 +5699,11 @@ func awsAwsjson10_deserializeDocumentRequestThrottled(v **types.RequestThrottled } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6003,15 +5728,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6019,15 +5738,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6062,7 +5777,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.Id = ptr.String(jtv) } - case "MD5OfMessageAttributes": if value != nil { jtv, ok := value.(string) @@ -6071,7 +5785,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageAttributes = ptr.String(jtv) } - case "MD5OfMessageBody": if value != nil { jtv, ok := value.(string) @@ -6080,7 +5793,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageBody = ptr.String(jtv) } - case "MD5OfMessageSystemAttributes": if value != nil { jtv, ok := value.(string) @@ -6089,7 +5801,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageSystemAttributes = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6098,7 +5809,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MessageId = ptr.String(jtv) } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6107,7 +5817,6 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.SequenceNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6243,15 +5952,9 @@ func awsAwsjson10_deserializeDocumentTooManyEntriesInBatchRequest(v **types.TooM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6259,15 +5962,11 @@ func awsAwsjson10_deserializeDocumentTooManyEntriesInBatchRequest(v **types.TooM } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6292,15 +5991,9 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6308,15 +6001,11 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6355,7 +6044,6 @@ func awsAwsjson10_deserializeOpDocumentCancelMessageMoveTaskOutput(v **CancelMes } sv.ApproximateNumberOfMessagesMoved = i64 } - default: _, _ = key, value @@ -6391,12 +6079,10 @@ func awsAwsjson10_deserializeOpDocumentChangeMessageVisibilityBatchOutput(v **Ch if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } - case "Successful": if err := awsAwsjson10_deserializeDocumentChangeMessageVisibilityBatchResultEntryList(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -6436,7 +6122,6 @@ func awsAwsjson10_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -6472,12 +6157,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteMessageBatchOutput(v **DeleteMessag if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } - case "Successful": if err := awsAwsjson10_deserializeDocumentDeleteMessageBatchResultEntryList(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -6513,7 +6196,6 @@ func awsAwsjson10_deserializeOpDocumentGetQueueAttributesOutput(v **GetQueueAttr if err := awsAwsjson10_deserializeDocumentQueueAttributeMap(&sv.Attributes, value); err != nil { return err } - default: _, _ = key, value @@ -6553,7 +6235,6 @@ func awsAwsjson10_deserializeOpDocumentGetQueueUrlOutput(v **GetQueueUrlOutput, } sv.QueueUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -6593,12 +6274,10 @@ func awsAwsjson10_deserializeOpDocumentListDeadLetterSourceQueuesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "queueUrls": if err := awsAwsjson10_deserializeDocumentQueueUrlList(&sv.QueueUrls, value); err != nil { return err } - default: _, _ = key, value @@ -6634,7 +6313,6 @@ func awsAwsjson10_deserializeOpDocumentListMessageMoveTasksOutput(v **ListMessag if err := awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntryList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6674,12 +6352,10 @@ func awsAwsjson10_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } - case "QueueUrls": if err := awsAwsjson10_deserializeDocumentQueueUrlList(&sv.QueueUrls, value); err != nil { return err } - default: _, _ = key, value @@ -6715,7 +6391,6 @@ func awsAwsjson10_deserializeOpDocumentListQueueTagsOutput(v **ListQueueTagsOutp if err := awsAwsjson10_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6751,7 +6426,6 @@ func awsAwsjson10_deserializeOpDocumentReceiveMessageOutput(v **ReceiveMessageOu if err := awsAwsjson10_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } - default: _, _ = key, value @@ -6787,12 +6461,10 @@ func awsAwsjson10_deserializeOpDocumentSendMessageBatchOutput(v **SendMessageBat if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } - case "Successful": if err := awsAwsjson10_deserializeDocumentSendMessageBatchResultEntryList(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -6832,7 +6504,6 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageAttributes = ptr.String(jtv) } - case "MD5OfMessageBody": if value != nil { jtv, ok := value.(string) @@ -6841,7 +6512,6 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageBody = ptr.String(jtv) } - case "MD5OfMessageSystemAttributes": if value != nil { jtv, ok := value.(string) @@ -6850,7 +6520,6 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageSystemAttributes = ptr.String(jtv) } - case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6859,7 +6528,6 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MessageId = ptr.String(jtv) } - case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6868,7 +6536,6 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.SequenceNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -6908,7 +6575,6 @@ func awsAwsjson10_deserializeOpDocumentStartMessageMoveTaskOutput(v **StartMessa } sv.TaskHandle = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ssm/deserializers.go b/service/ssm/deserializers.go index a0619ab7918..0758a5d6629 100644 --- a/service/ssm/deserializers.go +++ b/service/ssm/deserializers.go @@ -21503,7 +21503,6 @@ func awsAwsjson11_deserializeDocumentAccountSharingInfo(v **types.AccountSharing } sv.AccountId = ptr.String(jtv) } - case "SharedDocumentVersion": if value != nil { jtv, ok := value.(string) @@ -21512,7 +21511,6 @@ func awsAwsjson11_deserializeDocumentAccountSharingInfo(v **types.AccountSharing } sv.SharedDocumentVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -21586,7 +21584,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.ActivationId = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -21602,7 +21599,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } } - case "DefaultInstanceName": if value != nil { jtv, ok := value.(string) @@ -21611,7 +21607,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.DefaultInstanceName = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -21620,7 +21615,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.Description = ptr.String(jtv) } - case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -21636,7 +21630,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } } - case "Expired": if value != nil { jtv, ok := value.(bool) @@ -21645,7 +21638,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.Expired = jtv } - case "IamRole": if value != nil { jtv, ok := value.(string) @@ -21654,7 +21646,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.IamRole = ptr.String(jtv) } - case "RegistrationLimit": if value != nil { jtv, ok := value.(json.Number) @@ -21667,7 +21658,6 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.RegistrationLimit = ptr.Int32(int32(i64)) } - case "RegistrationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -21680,12 +21670,10 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.RegistrationsCount = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -21759,7 +21747,6 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -21795,7 +21782,6 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } - case "IgnorePollAlarmFailure": if value != nil { jtv, ok := value.(bool) @@ -21804,7 +21790,6 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.IgnorePollAlarmFailure = jtv } - default: _, _ = key, value @@ -21878,7 +21863,6 @@ func awsAwsjson11_deserializeDocumentAlarmStateInformation(v **types.AlarmStateI } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -21887,7 +21871,6 @@ func awsAwsjson11_deserializeDocumentAlarmStateInformation(v **types.AlarmStateI } sv.State = types.ExternalAlarmState(jtv) } - default: _, _ = key, value @@ -21951,15 +21934,9 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -21967,15 +21944,11 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22000,22 +21973,13 @@ func awsAwsjson11_deserializeDocumentAssociatedInstances(v **types.AssociatedIns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22050,7 +22014,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationId = ptr.String(jtv) } - case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -22059,7 +22022,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationName = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22068,7 +22030,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationVersion = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -22077,7 +22038,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.DocumentVersion = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -22090,7 +22050,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.Duration = ptr.Int32(int32(i64)) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -22099,7 +22058,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.InstanceId = ptr.String(jtv) } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22115,7 +22073,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22124,12 +22081,10 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.Name = ptr.String(jtv) } - case "Overview": if err := awsAwsjson11_deserializeDocumentAssociationOverview(&sv.Overview, value); err != nil { return err } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22138,7 +22093,6 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -22151,17 +22105,14 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -22191,22 +22142,13 @@ func awsAwsjson11_deserializeDocumentAssociationAlreadyExists(v **types.Associat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22237,7 +22179,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "ApplyOnlyAtCronInterval": if value != nil { jtv, ok := value.(bool) @@ -22246,7 +22187,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ApplyOnlyAtCronInterval = jtv } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -22255,7 +22195,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationId = ptr.String(jtv) } - case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -22264,7 +22203,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationName = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22273,7 +22211,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationVersion = ptr.String(jtv) } - case "AutomationTargetParameterName": if value != nil { jtv, ok := value.(string) @@ -22282,12 +22219,10 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AutomationTargetParameterName = ptr.String(jtv) } - case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } - case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -22296,7 +22231,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } - case "Date": if value != nil { switch jtv := value.(type) { @@ -22312,7 +22246,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -22321,7 +22254,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.DocumentVersion = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -22334,7 +22266,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.Duration = ptr.Int32(int32(i64)) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -22343,7 +22274,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.InstanceId = ptr.String(jtv) } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22359,7 +22289,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } - case "LastSuccessfulExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22375,7 +22304,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } - case "LastUpdateAssociationDate": if value != nil { switch jtv := value.(type) { @@ -22391,7 +22319,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -22400,7 +22327,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -22409,7 +22335,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -22418,22 +22343,18 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.Name = ptr.String(jtv) } - case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "Overview": if err := awsAwsjson11_deserializeDocumentAssociationOverview(&sv.Overview, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22442,7 +22363,6 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -22455,12 +22375,10 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "Status": if err := awsAwsjson11_deserializeDocumentAssociationStatus(&sv.Status, value); err != nil { return err } - case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -22469,27 +22387,22 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } - case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - default: _, _ = key, value @@ -22553,15 +22466,9 @@ func awsAwsjson11_deserializeDocumentAssociationDoesNotExist(v **types.Associati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22569,15 +22476,11 @@ func awsAwsjson11_deserializeDocumentAssociationDoesNotExist(v **types.Associati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22608,7 +22511,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -22617,7 +22519,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.AssociationId = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22626,7 +22527,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.AssociationVersion = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -22642,7 +22542,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } } - case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -22651,7 +22550,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.DetailedStatus = ptr.String(jtv) } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -22660,7 +22558,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.ExecutionId = ptr.String(jtv) } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22676,7 +22573,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } } - case "ResourceCountByStatus": if value != nil { jtv, ok := value.(string) @@ -22685,7 +22581,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.ResourceCountByStatus = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22694,12 +22589,10 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.Status = ptr.String(jtv) } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - default: _, _ = key, value @@ -22729,15 +22622,9 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionDoesNotExist(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -22745,15 +22632,11 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionDoesNotExist(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -22822,7 +22705,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.AssociationId = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22831,7 +22713,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.AssociationVersion = ptr.String(jtv) } - case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -22840,7 +22721,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.DetailedStatus = ptr.String(jtv) } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -22849,7 +22729,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ExecutionId = ptr.String(jtv) } - case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22865,12 +22744,10 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } } - case "OutputSource": if err := awsAwsjson11_deserializeDocumentOutputSource(&sv.OutputSource, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -22879,7 +22756,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -22888,7 +22764,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ResourceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -22897,7 +22772,6 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -22961,22 +22835,13 @@ func awsAwsjson11_deserializeDocumentAssociationLimitExceeded(v **types.Associat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23041,7 +22906,6 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv if err := awsAwsjson11_deserializeDocumentAssociationStatusAggregatedCount(&sv.AssociationStatusAggregatedCount, value); err != nil { return err } - case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -23050,7 +22914,6 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv } sv.DetailedStatus = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -23059,7 +22922,6 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -23099,7 +22961,6 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.AdditionalInfo = ptr.String(jtv) } - case "Date": if value != nil { switch jtv := value.(type) { @@ -23115,7 +22976,6 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -23124,7 +22984,6 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23133,7 +22992,6 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.Name = types.AssociationStatusName(jtv) } - default: _, _ = key, value @@ -23213,7 +23071,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ApplyOnlyAtCronInterval = jtv } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23222,7 +23079,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationId = ptr.String(jtv) } - case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -23231,7 +23087,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationName = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -23240,12 +23095,10 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationVersion = ptr.String(jtv) } - case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } - case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -23254,7 +23107,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -23270,7 +23122,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -23279,7 +23130,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.DocumentVersion = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -23292,7 +23142,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.Duration = ptr.Int32(int32(i64)) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -23301,7 +23150,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -23310,7 +23158,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23319,17 +23166,14 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.Name = ptr.String(jtv) } - case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -23338,7 +23182,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -23351,7 +23194,6 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -23360,22 +23202,18 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } - case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -23405,15 +23243,9 @@ func awsAwsjson11_deserializeDocumentAssociationVersionLimitExceeded(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23421,15 +23253,11 @@ func awsAwsjson11_deserializeDocumentAssociationVersionLimitExceeded(v **types.A } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23498,7 +23326,6 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Hash = ptr.String(jtv) } - case "HashType": if value != nil { jtv, ok := value.(string) @@ -23507,7 +23334,6 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.HashType = types.AttachmentHashType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -23516,7 +23342,6 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Name = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -23529,7 +23354,6 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Size = i64 } - case "Url": if value != nil { jtv, ok := value.(string) @@ -23538,7 +23362,6 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -23612,7 +23435,6 @@ func awsAwsjson11_deserializeDocumentAttachmentInformation(v **types.AttachmentI } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -23676,15 +23498,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotApprovedException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23692,15 +23508,11 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotApprovedException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23725,15 +23537,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotFoundException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23741,15 +23547,11 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotFoundException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23774,15 +23576,9 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionVersionNotFoundExceptio sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -23790,15 +23586,11 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionVersionNotFoundExceptio } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -23829,7 +23621,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23838,7 +23629,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AssociationId = ptr.String(jtv) } - case "AutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -23847,7 +23637,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationExecutionId = ptr.String(jtv) } - case "AutomationExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -23856,7 +23645,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationExecutionStatus = types.AutomationExecutionStatus(jtv) } - case "AutomationSubtype": if value != nil { jtv, ok := value.(string) @@ -23865,7 +23653,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationSubtype = types.AutomationSubtype(jtv) } - case "ChangeRequestName": if value != nil { jtv, ok := value.(string) @@ -23874,7 +23661,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ChangeRequestName = ptr.String(jtv) } - case "CurrentAction": if value != nil { jtv, ok := value.(string) @@ -23883,7 +23669,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.CurrentAction = ptr.String(jtv) } - case "CurrentStepName": if value != nil { jtv, ok := value.(string) @@ -23892,7 +23677,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.CurrentStepName = ptr.String(jtv) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -23901,7 +23685,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -23910,7 +23693,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.DocumentVersion = ptr.String(jtv) } - case "ExecutedBy": if value != nil { jtv, ok := value.(string) @@ -23919,7 +23701,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ExecutedBy = ptr.String(jtv) } - case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -23935,7 +23716,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } - case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -23951,7 +23731,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -23960,7 +23739,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.FailureMessage = ptr.String(jtv) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -23969,7 +23747,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -23978,7 +23755,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.MaxErrors = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -23987,7 +23763,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.Mode = types.ExecutionMode(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -23996,17 +23771,14 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.OpsItemId = ptr.String(jtv) } - case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } - case "ParentAutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -24015,22 +23787,18 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ParentAutomationExecutionId = ptr.String(jtv) } - case "ProgressCounters": if err := awsAwsjson11_deserializeDocumentProgressCounters(&sv.ProgressCounters, value); err != nil { return err } - case "ResolvedTargets": if err := awsAwsjson11_deserializeDocumentResolvedTargets(&sv.ResolvedTargets, value); err != nil { return err } - case "Runbooks": if err := awsAwsjson11_deserializeDocumentRunbooks(&sv.Runbooks, value); err != nil { return err } - case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -24046,12 +23814,10 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } - case "StepExecutions": if err := awsAwsjson11_deserializeDocumentStepExecutionList(&sv.StepExecutions, value); err != nil { return err } - case "StepExecutionsTruncated": if value != nil { jtv, ok := value.(bool) @@ -24060,7 +23826,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.StepExecutionsTruncated = jtv } - case "Target": if value != nil { jtv, ok := value.(string) @@ -24069,12 +23834,10 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.Target = ptr.String(jtv) } - case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } - case "TargetLocationsURL": if value != nil { jtv, ok := value.(string) @@ -24083,12 +23846,10 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.TargetLocationsURL = ptr.String(jtv) } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -24097,22 +23858,18 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.TargetParameterName = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - case "Variables": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Variables, value); err != nil { return err } - default: _, _ = key, value @@ -24142,15 +23899,9 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionLimitExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24158,15 +23909,11 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionLimitExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24197,7 +23944,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -24206,7 +23952,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AssociationId = ptr.String(jtv) } - case "AutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -24215,7 +23960,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationExecutionId = ptr.String(jtv) } - case "AutomationExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -24224,7 +23968,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationExecutionStatus = types.AutomationExecutionStatus(jtv) } - case "AutomationSubtype": if value != nil { jtv, ok := value.(string) @@ -24233,7 +23976,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationSubtype = types.AutomationSubtype(jtv) } - case "AutomationType": if value != nil { jtv, ok := value.(string) @@ -24242,7 +23984,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationType = types.AutomationType(jtv) } - case "ChangeRequestName": if value != nil { jtv, ok := value.(string) @@ -24251,7 +23992,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ChangeRequestName = ptr.String(jtv) } - case "CurrentAction": if value != nil { jtv, ok := value.(string) @@ -24260,7 +24000,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.CurrentAction = ptr.String(jtv) } - case "CurrentStepName": if value != nil { jtv, ok := value.(string) @@ -24269,7 +24008,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.CurrentStepName = ptr.String(jtv) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -24278,7 +24016,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -24287,7 +24024,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.DocumentVersion = ptr.String(jtv) } - case "ExecutedBy": if value != nil { jtv, ok := value.(string) @@ -24296,7 +24032,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ExecutedBy = ptr.String(jtv) } - case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -24312,7 +24047,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } - case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -24328,7 +24062,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -24337,7 +24070,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.FailureMessage = ptr.String(jtv) } - case "LogFile": if value != nil { jtv, ok := value.(string) @@ -24346,7 +24078,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.LogFile = ptr.String(jtv) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -24355,7 +24086,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -24364,7 +24094,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.MaxErrors = ptr.String(jtv) } - case "Mode": if value != nil { jtv, ok := value.(string) @@ -24373,7 +24102,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.Mode = types.ExecutionMode(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -24382,12 +24110,10 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.OpsItemId = ptr.String(jtv) } - case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } - case "ParentAutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -24396,17 +24122,14 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ParentAutomationExecutionId = ptr.String(jtv) } - case "ResolvedTargets": if err := awsAwsjson11_deserializeDocumentResolvedTargets(&sv.ResolvedTargets, value); err != nil { return err } - case "Runbooks": if err := awsAwsjson11_deserializeDocumentRunbooks(&sv.Runbooks, value); err != nil { return err } - case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -24422,7 +24145,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } - case "Target": if value != nil { jtv, ok := value.(string) @@ -24431,7 +24153,6 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.Target = ptr.String(jtv) } - case "TargetLocationsURL": if value != nil { jtv, ok := value.(string) @@ -24440,12 +24161,10 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.TargetLocationsURL = ptr.String(jtv) } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -24454,17 +24173,14 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.TargetParameterName = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - default: _, _ = key, value @@ -24528,15 +24244,9 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionNotFoundException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24544,15 +24254,11 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionNotFoundException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24647,15 +24353,9 @@ func awsAwsjson11_deserializeDocumentAutomationStepNotFoundException(v **types.A sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -24663,15 +24363,11 @@ func awsAwsjson11_deserializeDocumentAutomationStepNotFoundException(v **types.A } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -24814,7 +24510,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(v **types.CloudWatch } sv.CloudWatchLogGroupName = ptr.String(jtv) } - case "CloudWatchOutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -24823,7 +24518,6 @@ func awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(v **types.CloudWatch } sv.CloudWatchOutputEnabled = jtv } - default: _, _ = key, value @@ -24859,12 +24553,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "CloudWatchOutputConfig": if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } - case "CommandId": if value != nil { jtv, ok := value.(string) @@ -24873,7 +24565,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CommandId = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -24882,7 +24573,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Comment = ptr.String(jtv) } - case "CompletedCount": if value != nil { jtv, ok := value.(json.Number) @@ -24895,7 +24585,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CompletedCount = int32(i64) } - case "DeliveryTimedOutCount": if value != nil { jtv, ok := value.(json.Number) @@ -24908,7 +24597,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DeliveryTimedOutCount = int32(i64) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -24917,7 +24605,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -24926,7 +24613,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DocumentVersion = ptr.String(jtv) } - case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -24939,7 +24625,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ErrorCount = int32(i64) } - case "ExpiresAfter": if value != nil { switch jtv := value.(type) { @@ -24955,12 +24640,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } } - case "InstanceIds": if err := awsAwsjson11_deserializeDocumentInstanceIdList(&sv.InstanceIds, value); err != nil { return err } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -24969,7 +24652,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -24978,12 +24660,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.MaxErrors = ptr.String(jtv) } - case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } - case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -24992,7 +24672,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3BucketName = ptr.String(jtv) } - case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -25001,7 +24680,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3KeyPrefix = ptr.String(jtv) } - case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -25010,12 +24688,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3Region = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "RequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -25031,7 +24707,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -25040,7 +24715,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ServiceRole = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25049,7 +24723,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Status = types.CommandStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -25058,7 +24731,6 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.StatusDetails = ptr.String(jtv) } - case "TargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -25071,12 +24743,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.TargetCount = int32(i64) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -25089,12 +24759,10 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - default: _, _ = key, value @@ -25130,7 +24798,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } - case "CommandId": if value != nil { jtv, ok := value.(string) @@ -25139,12 +24806,10 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.CommandId = ptr.String(jtv) } - case "CommandPlugins": if err := awsAwsjson11_deserializeDocumentCommandPluginList(&sv.CommandPlugins, value); err != nil { return err } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -25153,7 +24818,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.Comment = ptr.String(jtv) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -25162,7 +24826,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -25171,7 +24834,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.DocumentVersion = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -25180,7 +24842,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.InstanceId = ptr.String(jtv) } - case "InstanceName": if value != nil { jtv, ok := value.(string) @@ -25189,12 +24850,10 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.InstanceName = ptr.String(jtv) } - case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } - case "RequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -25210,7 +24869,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -25219,7 +24877,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.ServiceRole = ptr.String(jtv) } - case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -25228,7 +24885,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StandardErrorUrl = ptr.String(jtv) } - case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -25237,7 +24893,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StandardOutputUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25246,7 +24901,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.Status = types.CommandInvocationStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -25255,7 +24909,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StatusDetails = ptr.String(jtv) } - case "TraceOutput": if value != nil { jtv, ok := value.(string) @@ -25264,7 +24917,6 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.TraceOutput = ptr.String(jtv) } - default: _, _ = key, value @@ -25372,7 +25024,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Name = ptr.String(jtv) } - case "Output": if value != nil { jtv, ok := value.(string) @@ -25381,7 +25032,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Output = ptr.String(jtv) } - case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -25390,7 +25040,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3BucketName = ptr.String(jtv) } - case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -25399,7 +25048,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3KeyPrefix = ptr.String(jtv) } - case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -25408,7 +25056,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3Region = ptr.String(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -25421,7 +25068,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.ResponseCode = int32(i64) } - case "ResponseFinishDateTime": if value != nil { switch jtv := value.(type) { @@ -25437,7 +25083,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } } - case "ResponseStartDateTime": if value != nil { switch jtv := value.(type) { @@ -25453,7 +25098,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } } - case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -25462,7 +25106,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StandardErrorUrl = ptr.String(jtv) } - case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -25471,7 +25114,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StandardOutputUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25480,7 +25122,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Status = types.CommandPluginStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -25489,7 +25130,6 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StatusDetails = ptr.String(jtv) } - default: _, _ = key, value @@ -25563,7 +25203,6 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } sv.ExecutionId = ptr.String(jtv) } - case "ExecutionTime": if value != nil { switch jtv := value.(type) { @@ -25579,7 +25218,6 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } } - case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -25588,7 +25226,6 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } sv.ExecutionType = ptr.String(jtv) } - default: _, _ = key, value @@ -25628,17 +25265,14 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ComplianceType = ptr.String(jtv) } - case "Details": if err := awsAwsjson11_deserializeDocumentComplianceItemDetails(&sv.Details, value); err != nil { return err } - case "ExecutionSummary": if err := awsAwsjson11_deserializeDocumentComplianceExecutionSummary(&sv.ExecutionSummary, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -25647,7 +25281,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Id = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -25656,7 +25289,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -25665,7 +25297,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ResourceType = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -25674,7 +25305,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Severity = types.ComplianceSeverity(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -25683,7 +25313,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Status = types.ComplianceStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -25692,7 +25321,6 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -25802,17 +25430,14 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryItem(v **types.ComplianceS } sv.ComplianceType = ptr.String(jtv) } - case "CompliantSummary": if err := awsAwsjson11_deserializeDocumentCompliantSummary(&sv.CompliantSummary, value); err != nil { return err } - case "NonCompliantSummary": if err := awsAwsjson11_deserializeDocumentNonCompliantSummary(&sv.NonCompliantSummary, value); err != nil { return err } - default: _, _ = key, value @@ -25876,15 +25501,9 @@ func awsAwsjson11_deserializeDocumentComplianceTypeCountLimitExceededException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -25892,15 +25511,11 @@ func awsAwsjson11_deserializeDocumentComplianceTypeCountLimitExceededException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -25939,12 +25554,10 @@ func awsAwsjson11_deserializeDocumentCompliantSummary(v **types.CompliantSummary } sv.CompliantCount = int32(i64) } - case "SeveritySummary": if err := awsAwsjson11_deserializeDocumentSeveritySummary(&sv.SeveritySummary, value); err != nil { return err } - default: _, _ = key, value @@ -25980,7 +25593,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "ApplyOnlyAtCronInterval": if value != nil { jtv, ok := value.(bool) @@ -25989,7 +25601,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ApplyOnlyAtCronInterval = jtv } - case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -25998,7 +25609,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.AssociationName = ptr.String(jtv) } - case "AutomationTargetParameterName": if value != nil { jtv, ok := value.(string) @@ -26007,12 +25617,10 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.AutomationTargetParameterName = ptr.String(jtv) } - case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } - case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -26021,7 +25629,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -26030,7 +25637,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.DocumentVersion = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -26043,7 +25649,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.Duration = ptr.Int32(int32(i64)) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -26052,7 +25657,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.InstanceId = ptr.String(jtv) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -26061,7 +25665,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -26070,7 +25673,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -26079,17 +25681,14 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.Name = ptr.String(jtv) } - case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -26098,7 +25697,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ScheduleExpression = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -26111,7 +25709,6 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -26120,22 +25717,18 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } - case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -26165,15 +25758,9 @@ func awsAwsjson11_deserializeDocumentCustomSchemaCountLimitExceededException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26181,15 +25768,11 @@ func awsAwsjson11_deserializeDocumentCustomSchemaCountLimitExceededException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26214,15 +25797,9 @@ func awsAwsjson11_deserializeDocumentDocumentAlreadyExists(v **types.DocumentAlr sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26230,15 +25807,11 @@ func awsAwsjson11_deserializeDocumentDocumentAlreadyExists(v **types.DocumentAlr } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26273,7 +25846,6 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.DefaultVersion = ptr.String(jtv) } - case "DefaultVersionName": if value != nil { jtv, ok := value.(string) @@ -26282,7 +25854,6 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.DefaultVersionName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -26291,7 +25862,6 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -26331,12 +25901,10 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.ApprovedVersion = ptr.String(jtv) } - case "AttachmentsInformation": if err := awsAwsjson11_deserializeDocumentAttachmentInformationList(&sv.AttachmentsInformation, value); err != nil { return err } - case "Author": if value != nil { jtv, ok := value.(string) @@ -26345,17 +25913,14 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Author = ptr.String(jtv) } - case "Category": if err := awsAwsjson11_deserializeDocumentCategoryList(&sv.Category, value); err != nil { return err } - case "CategoryEnum": if err := awsAwsjson11_deserializeDocumentCategoryEnumList(&sv.CategoryEnum, value); err != nil { return err } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -26371,7 +25936,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } } - case "DefaultVersion": if value != nil { jtv, ok := value.(string) @@ -26380,7 +25944,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DefaultVersion = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -26389,7 +25952,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -26398,7 +25960,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DisplayName = ptr.String(jtv) } - case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -26407,7 +25968,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentFormat = types.DocumentFormat(jtv) } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -26416,7 +25976,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentType = types.DocumentType(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -26425,7 +25984,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentVersion = ptr.String(jtv) } - case "Hash": if value != nil { jtv, ok := value.(string) @@ -26434,7 +25992,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Hash = ptr.String(jtv) } - case "HashType": if value != nil { jtv, ok := value.(string) @@ -26443,7 +26000,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.HashType = types.DocumentHashType(jtv) } - case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -26452,7 +26008,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.LatestVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -26461,7 +26016,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -26470,12 +26024,10 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Owner = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentDocumentParameterList(&sv.Parameters, value); err != nil { return err } - case "PendingReviewVersion": if value != nil { jtv, ok := value.(string) @@ -26484,22 +26036,18 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.PendingReviewVersion = ptr.String(jtv) } - case "PlatformTypes": if err := awsAwsjson11_deserializeDocumentPlatformTypeList(&sv.PlatformTypes, value); err != nil { return err } - case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } - case "ReviewInformation": if err := awsAwsjson11_deserializeDocumentReviewInformationList(&sv.ReviewInformation, value); err != nil { return err } - case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26508,7 +26056,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.ReviewStatus = types.ReviewStatus(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -26517,7 +26064,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.SchemaVersion = ptr.String(jtv) } - case "Sha1": if value != nil { jtv, ok := value.(string) @@ -26526,7 +26072,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Sha1 = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -26535,7 +26080,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Status = types.DocumentStatus(jtv) } - case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -26544,12 +26088,10 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.StatusInformation = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -26558,7 +26100,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.TargetType = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26567,7 +26108,6 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -26607,7 +26147,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Author = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -26623,7 +26162,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -26632,7 +26170,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DisplayName = ptr.String(jtv) } - case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -26641,7 +26178,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentFormat = types.DocumentFormat(jtv) } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -26650,7 +26186,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentType = types.DocumentType(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -26659,7 +26194,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -26668,7 +26202,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -26677,17 +26210,14 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Owner = ptr.String(jtv) } - case "PlatformTypes": if err := awsAwsjson11_deserializeDocumentPlatformTypeList(&sv.PlatformTypes, value); err != nil { return err } - case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } - case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26696,7 +26226,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.ReviewStatus = types.ReviewStatus(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -26705,12 +26234,10 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.SchemaVersion = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -26719,7 +26246,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.TargetType = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26728,7 +26254,6 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -26792,15 +26317,9 @@ func awsAwsjson11_deserializeDocumentDocumentLimitExceeded(v **types.DocumentLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26808,15 +26327,11 @@ func awsAwsjson11_deserializeDocumentDocumentLimitExceeded(v **types.DocumentLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -26847,7 +26362,6 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataResponseInfo(v **types.Docu if err := awsAwsjson11_deserializeDocumentDocumentReviewerResponseList(&sv.ReviewerResponse, value); err != nil { return err } - default: _, _ = key, value @@ -26887,7 +26401,6 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.DefaultValue = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -26896,7 +26409,6 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -26905,7 +26417,6 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -26914,7 +26425,6 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Type = types.DocumentParameterType(jtv) } - default: _, _ = key, value @@ -26978,15 +26488,9 @@ func awsAwsjson11_deserializeDocumentDocumentPermissionLimit(v **types.DocumentP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -26994,15 +26498,11 @@ func awsAwsjson11_deserializeDocumentDocumentPermissionLimit(v **types.DocumentP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27037,7 +26537,6 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.Name = ptr.String(jtv) } - case "RequireType": if value != nil { jtv, ok := value.(string) @@ -27046,7 +26545,6 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.RequireType = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -27055,7 +26553,6 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.Version = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -27064,7 +26561,6 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -27172,7 +26668,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewCommentSource(v **types.Docum } sv.Content = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -27181,7 +26676,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewCommentSource(v **types.Docum } sv.Type = types.DocumentReviewCommentType(jtv) } - default: _, _ = key, value @@ -27251,7 +26745,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do if err := awsAwsjson11_deserializeDocumentDocumentReviewCommentList(&sv.Comment, value); err != nil { return err } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -27267,7 +26760,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } } - case "Reviewer": if value != nil { jtv, ok := value.(string) @@ -27276,7 +26768,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } sv.Reviewer = ptr.String(jtv) } - case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -27285,7 +26776,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } sv.ReviewStatus = types.ReviewStatus(jtv) } - case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -27301,7 +26791,6 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } } - default: _, _ = key, value @@ -27348,7 +26837,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -27357,7 +26845,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DisplayName = ptr.String(jtv) } - case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -27366,7 +26853,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DocumentFormat = types.DocumentFormat(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -27375,7 +26861,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DocumentVersion = ptr.String(jtv) } - case "IsDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -27384,7 +26869,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.IsDefaultVersion = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -27393,7 +26877,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.Name = ptr.String(jtv) } - case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -27402,7 +26885,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.ReviewStatus = types.ReviewStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -27411,7 +26893,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.Status = types.DocumentStatus(jtv) } - case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -27420,7 +26901,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.StatusInformation = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -27429,7 +26909,6 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -27459,15 +26938,9 @@ func awsAwsjson11_deserializeDocumentDocumentVersionLimitExceeded(v **types.Docu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27475,15 +26948,11 @@ func awsAwsjson11_deserializeDocumentDocumentVersionLimitExceeded(v **types.Docu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27542,15 +27011,9 @@ func awsAwsjson11_deserializeDocumentDoesNotExistException(v **types.DoesNotExis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27558,15 +27021,11 @@ func awsAwsjson11_deserializeDocumentDoesNotExistException(v **types.DoesNotExis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27591,15 +27050,9 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentContent(v **types.Duplicat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27607,15 +27060,11 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentContent(v **types.Duplicat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27640,15 +27089,9 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentVersionName(v **types.Dupl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27656,15 +27099,11 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentVersionName(v **types.Dupl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27689,22 +27128,13 @@ func awsAwsjson11_deserializeDocumentDuplicateInstanceId(v **types.DuplicateInst sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -27735,12 +27165,10 @@ func awsAwsjson11_deserializeDocumentEffectivePatch(v **types.EffectivePatch, va if err := awsAwsjson11_deserializeDocumentPatch(&sv.Patch, value); err != nil { return err } - case "PatchStatus": if err := awsAwsjson11_deserializeDocumentPatchStatus(&sv.PatchStatus, value); err != nil { return err } - default: _, _ = key, value @@ -27846,7 +27274,6 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre if err := awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(&sv.Entry, value); err != nil { return err } - case "Fault": if value != nil { jtv, ok := value.(string) @@ -27855,7 +27282,6 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre } sv.Fault = types.Fault(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -27864,7 +27290,6 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -27934,7 +27359,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Details, value); err != nil { return err } - case "FailureStage": if value != nil { jtv, ok := value.(string) @@ -27943,7 +27367,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.FailureStage = ptr.String(jtv) } - case "FailureType": if value != nil { jtv, ok := value.(string) @@ -27952,7 +27375,6 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.FailureType = ptr.String(jtv) } - default: _, _ = key, value @@ -27982,15 +27404,9 @@ func awsAwsjson11_deserializeDocumentFeatureNotAvailableException(v **types.Feat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -27998,15 +27414,11 @@ func awsAwsjson11_deserializeDocumentFeatureNotAvailableException(v **types.Feat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28075,7 +27487,6 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.Policy = ptr.String(jtv) } - case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -28084,7 +27495,6 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.PolicyHash = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -28093,7 +27503,6 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.PolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -28123,15 +27532,9 @@ func awsAwsjson11_deserializeDocumentHierarchyLevelLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28139,15 +27542,11 @@ func awsAwsjson11_deserializeDocumentHierarchyLevelLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28172,15 +27571,9 @@ func awsAwsjson11_deserializeDocumentHierarchyTypeMismatchException(v **types.Hi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28188,15 +27581,11 @@ func awsAwsjson11_deserializeDocumentHierarchyTypeMismatchException(v **types.Hi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28221,15 +27610,9 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28237,15 +27620,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28270,15 +27649,9 @@ func awsAwsjson11_deserializeDocumentIncompatiblePolicyException(v **types.Incom sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -28286,15 +27659,11 @@ func awsAwsjson11_deserializeDocumentIncompatiblePolicyException(v **types.Incom } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -28329,12 +27698,10 @@ func awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(v **t } sv.DetailedStatus = ptr.String(jtv) } - case "InstanceAssociationStatusAggregatedCount": if err := awsAwsjson11_deserializeDocumentInstanceAssociationStatusAggregatedCount(&sv.InstanceAssociationStatusAggregatedCount, value); err != nil { return err } - default: _, _ = key, value @@ -28374,7 +27741,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.AssociationId = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -28383,7 +27749,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.AssociationVersion = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -28392,7 +27757,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.Content = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28401,7 +27765,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -28471,7 +27834,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(v **types if err := awsAwsjson11_deserializeDocumentS3OutputLocation(&sv.S3Location, value); err != nil { return err } - default: _, _ = key, value @@ -28507,7 +27869,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationOutputUrl(v **types.Inst if err := awsAwsjson11_deserializeDocumentS3OutputUrl(&sv.S3OutputUrl, value); err != nil { return err } - default: _, _ = key, value @@ -28587,7 +27948,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationId = ptr.String(jtv) } - case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -28596,7 +27956,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationName = ptr.String(jtv) } - case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -28605,7 +27964,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationVersion = ptr.String(jtv) } - case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -28614,7 +27972,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.DetailedStatus = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -28623,7 +27980,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.DocumentVersion = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -28632,7 +27988,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.ErrorCode = ptr.String(jtv) } - case "ExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28648,7 +28003,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } } - case "ExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -28657,7 +28011,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.ExecutionSummary = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28666,7 +28019,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.InstanceId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -28675,12 +28027,10 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.Name = ptr.String(jtv) } - case "OutputUrl": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputUrl(&sv.OutputUrl, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -28689,7 +28039,6 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -28799,7 +28148,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ActivationId = ptr.String(jtv) } - case "AgentVersion": if value != nil { jtv, ok := value.(string) @@ -28808,12 +28156,10 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.AgentVersion = ptr.String(jtv) } - case "AssociationOverview": if err := awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(&sv.AssociationOverview, value); err != nil { return err } - case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -28822,7 +28168,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.AssociationStatus = ptr.String(jtv) } - case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -28831,7 +28176,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ComputerName = ptr.String(jtv) } - case "IamRole": if value != nil { jtv, ok := value.(string) @@ -28840,7 +28184,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IamRole = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28849,7 +28192,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.InstanceId = ptr.String(jtv) } - case "IPAddress": if value != nil { jtv, ok := value.(string) @@ -28858,7 +28200,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IPAddress = ptr.String(jtv) } - case "IsLatestVersion": if value != nil { jtv, ok := value.(bool) @@ -28867,7 +28208,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IsLatestVersion = ptr.Bool(jtv) } - case "LastAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28883,7 +28223,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } - case "LastPingDateTime": if value != nil { switch jtv := value.(type) { @@ -28899,7 +28238,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } - case "LastSuccessfulAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28915,7 +28253,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -28924,7 +28261,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.Name = ptr.String(jtv) } - case "PingStatus": if value != nil { jtv, ok := value.(string) @@ -28933,7 +28269,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PingStatus = types.PingStatus(jtv) } - case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -28942,7 +28277,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformName = ptr.String(jtv) } - case "PlatformType": if value != nil { jtv, ok := value.(string) @@ -28951,7 +28285,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformType = types.PlatformType(jtv) } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -28960,7 +28293,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformVersion = ptr.String(jtv) } - case "RegistrationDate": if value != nil { switch jtv := value.(type) { @@ -28976,7 +28308,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -28985,7 +28316,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ResourceType = types.ResourceType(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -28994,7 +28324,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.SourceId = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -29003,7 +28332,6 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -29077,7 +28405,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.BaselineId = ptr.String(jtv) } - case "CriticalNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -29090,7 +28417,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.CriticalNonCompliantCount = ptr.Int32(int32(i64)) } - case "FailedCount": if value != nil { jtv, ok := value.(json.Number) @@ -29103,7 +28429,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.FailedCount = int32(i64) } - case "InstalledCount": if value != nil { jtv, ok := value.(json.Number) @@ -29116,7 +28441,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledCount = int32(i64) } - case "InstalledOtherCount": if value != nil { jtv, ok := value.(json.Number) @@ -29129,7 +28453,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledOtherCount = int32(i64) } - case "InstalledPendingRebootCount": if value != nil { jtv, ok := value.(json.Number) @@ -29142,7 +28465,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledPendingRebootCount = ptr.Int32(int32(i64)) } - case "InstalledRejectedCount": if value != nil { jtv, ok := value.(json.Number) @@ -29155,7 +28477,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledRejectedCount = ptr.Int32(int32(i64)) } - case "InstallOverrideList": if value != nil { jtv, ok := value.(string) @@ -29164,7 +28485,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstallOverrideList = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -29173,7 +28493,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstanceId = ptr.String(jtv) } - case "LastNoRebootInstallOperationTime": if value != nil { switch jtv := value.(type) { @@ -29189,7 +28508,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } - case "MissingCount": if value != nil { jtv, ok := value.(json.Number) @@ -29202,7 +28520,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.MissingCount = int32(i64) } - case "NotApplicableCount": if value != nil { jtv, ok := value.(json.Number) @@ -29215,7 +28532,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.NotApplicableCount = int32(i64) } - case "Operation": if value != nil { jtv, ok := value.(string) @@ -29224,7 +28540,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.Operation = types.PatchOperationType(jtv) } - case "OperationEndTime": if value != nil { switch jtv := value.(type) { @@ -29240,7 +28555,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } - case "OperationStartTime": if value != nil { switch jtv := value.(type) { @@ -29256,7 +28570,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } - case "OtherNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -29269,7 +28582,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.OtherNonCompliantCount = ptr.Int32(int32(i64)) } - case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -29278,7 +28590,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.OwnerInformation = ptr.String(jtv) } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -29287,7 +28598,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.PatchGroup = ptr.String(jtv) } - case "RebootOption": if value != nil { jtv, ok := value.(string) @@ -29296,7 +28606,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.RebootOption = types.RebootOption(jtv) } - case "SecurityNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -29309,7 +28618,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.SecurityNonCompliantCount = ptr.Int32(int32(i64)) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -29318,7 +28626,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.SnapshotId = ptr.String(jtv) } - case "UnreportedNotApplicableCount": if value != nil { jtv, ok := value.(json.Number) @@ -29331,7 +28638,6 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.UnreportedNotApplicableCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -29473,7 +28779,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ActivationId = ptr.String(jtv) } - case "AgentVersion": if value != nil { jtv, ok := value.(string) @@ -29482,7 +28787,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.AgentVersion = ptr.String(jtv) } - case "Architecture": if value != nil { jtv, ok := value.(string) @@ -29491,12 +28795,10 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Architecture = ptr.String(jtv) } - case "AssociationOverview": if err := awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(&sv.AssociationOverview, value); err != nil { return err } - case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -29505,7 +28807,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.AssociationStatus = ptr.String(jtv) } - case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -29514,7 +28815,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ComputerName = ptr.String(jtv) } - case "IamRole": if value != nil { jtv, ok := value.(string) @@ -29523,7 +28823,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.IamRole = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -29532,7 +28831,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceId = ptr.String(jtv) } - case "InstanceRole": if value != nil { jtv, ok := value.(string) @@ -29541,7 +28839,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceRole = ptr.String(jtv) } - case "InstanceState": if value != nil { jtv, ok := value.(string) @@ -29550,7 +28847,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceState = ptr.String(jtv) } - case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -29559,7 +28855,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceType = ptr.String(jtv) } - case "IPAddress": if value != nil { jtv, ok := value.(string) @@ -29568,7 +28863,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.IPAddress = ptr.String(jtv) } - case "KeyName": if value != nil { jtv, ok := value.(string) @@ -29577,7 +28871,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.KeyName = ptr.String(jtv) } - case "LastAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -29593,7 +28886,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } - case "LastPingDateTime": if value != nil { switch jtv := value.(type) { @@ -29609,7 +28901,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } - case "LastSuccessfulAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -29625,7 +28916,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } - case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -29641,7 +28931,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -29650,7 +28939,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Name = ptr.String(jtv) } - case "PingStatus": if value != nil { jtv, ok := value.(string) @@ -29659,7 +28947,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PingStatus = types.PingStatus(jtv) } - case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -29668,7 +28955,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformName = ptr.String(jtv) } - case "PlatformType": if value != nil { jtv, ok := value.(string) @@ -29677,7 +28963,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformType = types.PlatformType(jtv) } - case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -29686,7 +28971,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformVersion = ptr.String(jtv) } - case "RegistrationDate": if value != nil { switch jtv := value.(type) { @@ -29702,7 +28986,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -29711,7 +28994,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ResourceType = ptr.String(jtv) } - case "SourceId": if value != nil { jtv, ok := value.(string) @@ -29720,7 +29002,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SourceId = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -29729,7 +29010,6 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SourceType = types.SourceType(jtv) } - default: _, _ = key, value @@ -29759,15 +29039,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29775,15 +29049,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29808,15 +29078,9 @@ func awsAwsjson11_deserializeDocumentInvalidActivation(v **types.InvalidActivati sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29824,15 +29088,11 @@ func awsAwsjson11_deserializeDocumentInvalidActivation(v **types.InvalidActivati } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29857,15 +29117,9 @@ func awsAwsjson11_deserializeDocumentInvalidActivationId(v **types.InvalidActiva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29873,15 +29127,11 @@ func awsAwsjson11_deserializeDocumentInvalidActivationId(v **types.InvalidActiva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29906,15 +29156,9 @@ func awsAwsjson11_deserializeDocumentInvalidAggregatorException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29922,15 +29166,11 @@ func awsAwsjson11_deserializeDocumentInvalidAggregatorException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -29955,15 +29195,9 @@ func awsAwsjson11_deserializeDocumentInvalidAllowedPatternException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -29971,15 +29205,11 @@ func awsAwsjson11_deserializeDocumentInvalidAllowedPatternException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30004,15 +29234,9 @@ func awsAwsjson11_deserializeDocumentInvalidAssociation(v **types.InvalidAssocia sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30020,15 +29244,11 @@ func awsAwsjson11_deserializeDocumentInvalidAssociation(v **types.InvalidAssocia } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30053,15 +29273,9 @@ func awsAwsjson11_deserializeDocumentInvalidAssociationVersion(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30069,15 +29283,11 @@ func awsAwsjson11_deserializeDocumentInvalidAssociationVersion(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30102,15 +29312,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationExecutionParametersExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30118,15 +29322,11 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationExecutionParametersExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30151,15 +29351,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationSignalException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30167,15 +29361,11 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationSignalException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30200,15 +29390,9 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationStatusUpdateException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30216,15 +29400,11 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationStatusUpdateException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30249,22 +29429,13 @@ func awsAwsjson11_deserializeDocumentInvalidCommandId(v **types.InvalidCommandId sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30289,15 +29460,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeleteInventoryParametersException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30305,15 +29470,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeleteInventoryParametersException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30338,15 +29499,9 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionIdException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30354,15 +29509,11 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionIdException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30387,15 +29538,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocument(v **types.InvalidDocument, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30403,15 +29548,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocument(v **types.InvalidDocument, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30436,15 +29577,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentContent(v **types.InvalidDoc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30452,15 +29587,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentContent(v **types.InvalidDoc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30485,15 +29616,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentOperation(v **types.InvalidD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30501,15 +29626,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentOperation(v **types.InvalidD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30534,15 +29655,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentSchemaVersion(v **types.Inva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30550,15 +29665,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentSchemaVersion(v **types.Inva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30583,15 +29694,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentType(v **types.InvalidDocume sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30599,15 +29704,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentType(v **types.InvalidDocume } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30632,15 +29733,9 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentVersion(v **types.InvalidDoc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30648,15 +29743,11 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentVersion(v **types.InvalidDoc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30681,15 +29772,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilter(v **types.InvalidFilter, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30697,15 +29782,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilter(v **types.InvalidFilter, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30730,22 +29811,13 @@ func awsAwsjson11_deserializeDocumentInvalidFilterKey(v **types.InvalidFilterKey sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30770,15 +29842,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterOption(v **types.InvalidFilter sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30786,15 +29852,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilterOption(v **types.InvalidFilter } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30819,15 +29881,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterValue(v **types.InvalidFilterV sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30835,15 +29891,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilterValue(v **types.InvalidFilterV } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30868,15 +29920,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceId(v **types.InvalidInstance sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30884,15 +29930,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceId(v **types.InvalidInstance } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30917,15 +29959,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceInformationFilterValue(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30933,15 +29969,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceInformationFilterValue(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -30966,15 +29998,9 @@ func awsAwsjson11_deserializeDocumentInvalidInstancePropertyFilterValue(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -30982,15 +30008,11 @@ func awsAwsjson11_deserializeDocumentInvalidInstancePropertyFilterValue(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31015,15 +30037,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryGroupException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31031,15 +30047,11 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryGroupException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31064,15 +30076,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryItemContextException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31080,15 +30086,11 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryItemContextException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31113,15 +30115,9 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryRequestException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31129,15 +30125,11 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryRequestException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31162,15 +30154,9 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31178,7 +30164,6 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval } sv.Message = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31187,15 +30172,11 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31220,15 +30201,9 @@ func awsAwsjson11_deserializeDocumentInvalidKeyId(v **types.InvalidKeyId, value sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31236,15 +30211,11 @@ func awsAwsjson11_deserializeDocumentInvalidKeyId(v **types.InvalidKeyId, value } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31269,15 +30240,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextToken(v **types.InvalidNextToken sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31285,15 +30250,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextToken(v **types.InvalidNextToken } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31318,15 +30279,9 @@ func awsAwsjson11_deserializeDocumentInvalidNotificationConfig(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31334,15 +30289,11 @@ func awsAwsjson11_deserializeDocumentInvalidNotificationConfig(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31367,15 +30318,9 @@ func awsAwsjson11_deserializeDocumentInvalidOptionException(v **types.InvalidOpt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31383,15 +30328,11 @@ func awsAwsjson11_deserializeDocumentInvalidOptionException(v **types.InvalidOpt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31416,22 +30357,13 @@ func awsAwsjson11_deserializeDocumentInvalidOutputFolder(v **types.InvalidOutput sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31456,22 +30388,13 @@ func awsAwsjson11_deserializeDocumentInvalidOutputLocation(v **types.InvalidOutp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31496,15 +30419,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameters(v **types.InvalidParamete sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31512,15 +30429,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameters(v **types.InvalidParamete } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31545,15 +30458,9 @@ func awsAwsjson11_deserializeDocumentInvalidPermissionType(v **types.InvalidPerm sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31561,15 +30468,11 @@ func awsAwsjson11_deserializeDocumentInvalidPermissionType(v **types.InvalidPerm } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31594,22 +30497,13 @@ func awsAwsjson11_deserializeDocumentInvalidPluginName(v **types.InvalidPluginNa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31634,15 +30528,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyAttributeException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31650,15 +30538,11 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyAttributeException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31683,15 +30567,9 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyTypeException(v **types.Invali sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31699,15 +30577,11 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyTypeException(v **types.Invali } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31732,22 +30606,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceId(v **types.InvalidResource sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31772,22 +30637,13 @@ func awsAwsjson11_deserializeDocumentInvalidResourceType(v **types.InvalidResour sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31812,15 +30668,9 @@ func awsAwsjson11_deserializeDocumentInvalidResultAttributeException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31828,15 +30678,11 @@ func awsAwsjson11_deserializeDocumentInvalidResultAttributeException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31861,15 +30707,9 @@ func awsAwsjson11_deserializeDocumentInvalidRole(v **types.InvalidRole, value in sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31877,15 +30717,11 @@ func awsAwsjson11_deserializeDocumentInvalidRole(v **types.InvalidRole, value in } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31910,15 +30746,9 @@ func awsAwsjson11_deserializeDocumentInvalidSchedule(v **types.InvalidSchedule, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31926,15 +30756,11 @@ func awsAwsjson11_deserializeDocumentInvalidSchedule(v **types.InvalidSchedule, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -31959,15 +30785,9 @@ func awsAwsjson11_deserializeDocumentInvalidTag(v **types.InvalidTag, value inte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -31975,15 +30795,11 @@ func awsAwsjson11_deserializeDocumentInvalidTag(v **types.InvalidTag, value inte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32008,15 +30824,9 @@ func awsAwsjson11_deserializeDocumentInvalidTarget(v **types.InvalidTarget, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32024,15 +30834,11 @@ func awsAwsjson11_deserializeDocumentInvalidTarget(v **types.InvalidTarget, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32057,15 +30863,9 @@ func awsAwsjson11_deserializeDocumentInvalidTargetMaps(v **types.InvalidTargetMa sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32073,15 +30873,11 @@ func awsAwsjson11_deserializeDocumentInvalidTargetMaps(v **types.InvalidTargetMa } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32106,15 +30902,9 @@ func awsAwsjson11_deserializeDocumentInvalidTypeNameException(v **types.InvalidT sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32122,15 +30912,11 @@ func awsAwsjson11_deserializeDocumentInvalidTypeNameException(v **types.InvalidT } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32155,15 +30941,9 @@ func awsAwsjson11_deserializeDocumentInvalidUpdate(v **types.InvalidUpdate, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32171,15 +30951,11 @@ func awsAwsjson11_deserializeDocumentInvalidUpdate(v **types.InvalidUpdate, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32248,7 +31024,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.DeletionId = ptr.String(jtv) } - case "DeletionStartTime": if value != nil { switch jtv := value.(type) { @@ -32264,12 +31039,10 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } } - case "DeletionSummary": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummary(&sv.DeletionSummary, value); err != nil { return err } - case "LastStatus": if value != nil { jtv, ok := value.(string) @@ -32278,7 +31051,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.LastStatus = types.InventoryDeletionStatus(jtv) } - case "LastStatusMessage": if value != nil { jtv, ok := value.(string) @@ -32287,7 +31059,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.LastStatusMessage = ptr.String(jtv) } - case "LastStatusUpdateTime": if value != nil { switch jtv := value.(type) { @@ -32303,7 +31074,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -32312,7 +31082,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -32356,12 +31125,10 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummary(v **types.Inventor } sv.RemainingCount = int32(i64) } - case "SummaryItems": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItems(&sv.SummaryItems, value); err != nil { return err } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -32374,7 +31141,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummary(v **types.Inventor } sv.TotalCount = int32(i64) } - default: _, _ = key, value @@ -32418,7 +31184,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.Count = int32(i64) } - case "RemainingCount": if value != nil { jtv, ok := value.(json.Number) @@ -32431,7 +31196,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.RemainingCount = int32(i64) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -32440,7 +31204,6 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -32514,7 +31277,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemAttribute(v **types.InventoryI } sv.DataType = types.InventoryAttributeDataType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -32523,7 +31285,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemAttribute(v **types.InventoryI } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -32661,7 +31422,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem if err := awsAwsjson11_deserializeDocumentInventoryItemAttributeList(&sv.Attributes, value); err != nil { return err } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -32670,7 +31430,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.DisplayName = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -32679,7 +31438,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.TypeName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -32688,7 +31446,6 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -32758,7 +31515,6 @@ func awsAwsjson11_deserializeDocumentInventoryResultEntity(v **types.InventoryRe if err := awsAwsjson11_deserializeDocumentInventoryResultItemMap(&sv.Data, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -32767,7 +31523,6 @@ func awsAwsjson11_deserializeDocumentInventoryResultEntity(v **types.InventoryRe } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -32841,12 +31596,10 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.CaptureTime = ptr.String(jtv) } - case "Content": if err := awsAwsjson11_deserializeDocumentInventoryItemEntryList(&sv.Content, value); err != nil { return err } - case "ContentHash": if value != nil { jtv, ok := value.(string) @@ -32855,7 +31608,6 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.ContentHash = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -32864,7 +31616,6 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.SchemaVersion = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -32873,7 +31624,6 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -32938,22 +31688,13 @@ func awsAwsjson11_deserializeDocumentInvocationDoesNotExist(v **types.Invocation sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -32978,15 +31719,9 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -32994,7 +31729,6 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item } sv.Message = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -33003,15 +31737,11 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33036,15 +31766,9 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -33052,7 +31776,6 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It } sv.Message = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -33061,15 +31784,11 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -33104,7 +31823,6 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3BucketName = ptr.String(jtv) } - case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -33113,7 +31831,6 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3KeyPrefix = ptr.String(jtv) } - case "S3Region": if value != nil { jtv, ok := value.(string) @@ -33122,7 +31839,6 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3Region = ptr.String(jtv) } - default: _, _ = key, value @@ -33162,12 +31878,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowAutomationParameters(v **t } sv.DocumentVersion = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -33214,7 +31928,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -33230,7 +31943,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -33239,7 +31951,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -33248,7 +31959,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.StatusDetails = ptr.String(jtv) } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -33257,7 +31967,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.WindowExecutionId = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -33266,7 +31975,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -33336,7 +32044,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -33352,7 +32059,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -33368,7 +32074,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -33377,7 +32082,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -33386,7 +32090,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.StatusDetails = ptr.String(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -33395,7 +32098,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskArn = ptr.String(jtv) } - case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -33404,7 +32106,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskExecutionId = ptr.String(jtv) } - case "TaskType": if value != nil { jtv, ok := value.(string) @@ -33413,12 +32114,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -33427,7 +32126,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.WindowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -33544,7 +32242,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -33553,7 +32250,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.ExecutionId = ptr.String(jtv) } - case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -33562,7 +32258,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.InvocationId = ptr.String(jtv) } - case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -33571,7 +32266,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.OwnerInformation = ptr.String(jtv) } - case "Parameters": if value != nil { jtv, ok := value.(string) @@ -33580,7 +32274,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.Parameters = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -33596,7 +32289,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -33605,7 +32297,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -33614,7 +32305,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.StatusDetails = ptr.String(jtv) } - case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -33623,7 +32313,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.TaskExecutionId = ptr.String(jtv) } - case "TaskType": if value != nil { jtv, ok := value.(string) @@ -33632,7 +32321,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -33641,7 +32329,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.WindowExecutionId = ptr.String(jtv) } - case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -33650,7 +32337,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -33728,7 +32414,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Cutoff = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -33737,7 +32422,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Description = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -33750,7 +32434,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Duration = ptr.Int32(int32(i64)) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -33759,7 +32442,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Enabled = jtv } - case "EndDate": if value != nil { jtv, ok := value.(string) @@ -33768,7 +32450,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.EndDate = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -33777,7 +32458,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Name = ptr.String(jtv) } - case "NextExecutionTime": if value != nil { jtv, ok := value.(string) @@ -33786,7 +32466,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.NextExecutionTime = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -33795,7 +32474,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Schedule = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -33808,7 +32486,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -33817,7 +32494,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.ScheduleTimezone = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -33826,7 +32502,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.StartDate = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -33835,7 +32510,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -33875,7 +32549,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityForTarget(v **type } sv.Name = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -33884,7 +32557,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityForTarget(v **type } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -33958,7 +32630,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.ClientContext = ptr.String(jtv) } - case "Payload": if value != nil { jtv, ok := value.(string) @@ -33971,7 +32642,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.Payload = dv } - case "Qualifier": if value != nil { jtv, ok := value.(string) @@ -33980,7 +32650,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.Qualifier = ptr.String(jtv) } - default: _, _ = key, value @@ -34016,7 +32685,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -34025,7 +32693,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.Comment = ptr.String(jtv) } - case "DocumentHash": if value != nil { jtv, ok := value.(string) @@ -34034,7 +32701,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentHash = ptr.String(jtv) } - case "DocumentHashType": if value != nil { jtv, ok := value.(string) @@ -34043,7 +32709,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentHashType = types.DocumentHashType(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -34052,12 +32717,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentVersion = ptr.String(jtv) } - case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } - case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -34066,7 +32729,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.OutputS3BucketName = ptr.String(jtv) } - case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -34075,12 +32737,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.OutputS3KeyPrefix = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -34089,7 +32749,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.ServiceRoleArn = ptr.String(jtv) } - case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -34102,7 +32761,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -34176,7 +32834,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(v } sv.Input = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34185,7 +32842,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(v } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -34225,7 +32881,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34234,7 +32889,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.Name = ptr.String(jtv) } - case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -34243,7 +32897,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.OwnerInformation = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -34252,12 +32905,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.ResourceType = types.MaintenanceWindowResourceType(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -34266,7 +32917,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.WindowId = ptr.String(jtv) } - case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -34275,7 +32925,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -34345,7 +32994,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -34354,7 +33002,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -34363,12 +33010,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Description = ptr.String(jtv) } - case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -34377,7 +33022,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -34386,7 +33030,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -34395,7 +33038,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -34408,7 +33050,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Priority = int32(i64) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -34417,12 +33058,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.ServiceRoleArn = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -34431,12 +33070,10 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.TaskArn = ptr.String(jtv) } - case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -34445,7 +33082,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Type = types.MaintenanceWindowTaskType(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -34454,7 +33090,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.WindowId = ptr.String(jtv) } - case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -34463,7 +33098,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.WindowTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -34499,22 +33133,18 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(v if err := awsAwsjson11_deserializeDocumentMaintenanceWindowAutomationParameters(&sv.Automation, value); err != nil { return err } - case "Lambda": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(&sv.Lambda, value); err != nil { return err } - case "RunCommand": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(&sv.RunCommand, value); err != nil { return err } - case "StepFunctions": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(&sv.StepFunctions, value); err != nil { return err } - default: _, _ = key, value @@ -34651,7 +33281,6 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameterValueExpressi if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameterValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -34717,15 +33346,9 @@ func awsAwsjson11_deserializeDocumentMalformedResourcePolicyDocumentException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34733,15 +33356,11 @@ func awsAwsjson11_deserializeDocumentMalformedResourcePolicyDocumentException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34766,15 +33385,9 @@ func awsAwsjson11_deserializeDocumentMaxDocumentSizeExceeded(v **types.MaxDocume sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -34782,15 +33395,11 @@ func awsAwsjson11_deserializeDocumentMaxDocumentSizeExceeded(v **types.MaxDocume } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -34860,7 +33469,6 @@ func awsAwsjson11_deserializeDocumentMetadataValue(v **types.MetadataValue, valu } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -34904,12 +33512,10 @@ func awsAwsjson11_deserializeDocumentNonCompliantSummary(v **types.NonCompliantS } sv.NonCompliantCount = int32(i64) } - case "SeveritySummary": if err := awsAwsjson11_deserializeDocumentSeveritySummary(&sv.SeveritySummary, value); err != nil { return err } - default: _, _ = key, value @@ -34985,12 +33591,10 @@ func awsAwsjson11_deserializeDocumentNotificationConfig(v **types.NotificationCo } sv.NotificationArn = ptr.String(jtv) } - case "NotificationEvents": if err := awsAwsjson11_deserializeDocumentNotificationEventList(&sv.NotificationEvents, value); err != nil { return err } - case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -34999,7 +33603,6 @@ func awsAwsjson11_deserializeDocumentNotificationConfig(v **types.NotificationCo } sv.NotificationType = types.NotificationType(jtv) } - default: _, _ = key, value @@ -35071,7 +33674,6 @@ func awsAwsjson11_deserializeDocumentOpsEntity(v **types.OpsEntity, value interf if err := awsAwsjson11_deserializeDocumentOpsEntityItemMap(&sv.Data, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -35080,7 +33682,6 @@ func awsAwsjson11_deserializeDocumentOpsEntity(v **types.OpsEntity, value interf } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -35120,12 +33721,10 @@ func awsAwsjson11_deserializeDocumentOpsEntityItem(v **types.OpsEntityItem, valu } sv.CaptureTime = ptr.String(jtv) } - case "Content": if err := awsAwsjson11_deserializeDocumentOpsEntityItemEntryList(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -35309,7 +33908,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "ActualStartTime": if value != nil { switch jtv := value.(type) { @@ -35325,7 +33923,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "Category": if value != nil { jtv, ok := value.(string) @@ -35334,7 +33931,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Category = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -35343,7 +33939,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -35359,7 +33954,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -35368,7 +33962,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Description = ptr.String(jtv) } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -35377,7 +33970,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -35393,17 +33985,14 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "Notifications": if err := awsAwsjson11_deserializeDocumentOpsItemNotifications(&sv.Notifications, value); err != nil { return err } - case "OperationalData": if err := awsAwsjson11_deserializeDocumentOpsItemOperationalData(&sv.OperationalData, value); err != nil { return err } - case "OpsItemArn": if value != nil { jtv, ok := value.(string) @@ -35412,7 +34001,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemArn = ptr.String(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -35421,7 +34009,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemId = ptr.String(jtv) } - case "OpsItemType": if value != nil { jtv, ok := value.(string) @@ -35430,7 +34017,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemType = ptr.String(jtv) } - case "PlannedEndTime": if value != nil { switch jtv := value.(type) { @@ -35446,7 +34032,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "PlannedStartTime": if value != nil { switch jtv := value.(type) { @@ -35462,7 +34047,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -35475,12 +34059,10 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Priority = ptr.Int32(int32(i64)) } - case "RelatedOpsItems": if err := awsAwsjson11_deserializeDocumentRelatedOpsItems(&sv.RelatedOpsItems, value); err != nil { return err } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -35489,7 +34071,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Severity = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -35498,7 +34079,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Source = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -35507,7 +34087,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Status = types.OpsItemStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -35516,7 +34095,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Title = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -35525,7 +34103,6 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -35555,15 +34132,9 @@ func awsAwsjson11_deserializeDocumentOpsItemAccessDeniedException(v **types.OpsI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35571,15 +34142,11 @@ func awsAwsjson11_deserializeDocumentOpsItemAccessDeniedException(v **types.OpsI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35604,15 +34171,9 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35620,7 +34181,6 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops } sv.Message = ptr.String(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -35629,15 +34189,11 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops } sv.OpsItemId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35662,15 +34218,9 @@ func awsAwsjson11_deserializeDocumentOpsItemConflictException(v **types.OpsItemC sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35678,15 +34228,11 @@ func awsAwsjson11_deserializeDocumentOpsItemConflictException(v **types.OpsItemC } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35721,7 +34267,6 @@ func awsAwsjson11_deserializeDocumentOpsItemDataValue(v **types.OpsItemDataValue } sv.Type = types.OpsItemDataType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -35730,7 +34275,6 @@ func awsAwsjson11_deserializeDocumentOpsItemDataValue(v **types.OpsItemDataValue } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -35800,7 +34344,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -35816,7 +34359,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } } - case "Detail": if value != nil { jtv, ok := value.(string) @@ -35825,7 +34367,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.Detail = ptr.String(jtv) } - case "DetailType": if value != nil { jtv, ok := value.(string) @@ -35834,7 +34375,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.DetailType = ptr.String(jtv) } - case "EventId": if value != nil { jtv, ok := value.(string) @@ -35843,7 +34383,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.EventId = ptr.String(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -35852,7 +34391,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.OpsItemId = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -35861,7 +34399,6 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -35901,7 +34438,6 @@ func awsAwsjson11_deserializeDocumentOpsItemIdentity(v **types.OpsItemIdentity, } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -35931,15 +34467,9 @@ func awsAwsjson11_deserializeDocumentOpsItemInvalidParameterException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -35947,20 +34477,15 @@ func awsAwsjson11_deserializeDocumentOpsItemInvalidParameterException(v **types. } sv.Message = ptr.String(jtv) } - case "ParameterNames": if err := awsAwsjson11_deserializeDocumentOpsItemParameterNamesList(&sv.ParameterNames, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -35985,13 +34510,7 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Limit": if value != nil { @@ -36005,7 +34524,6 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.Limit = int32(i64) } - case "LimitType": if value != nil { jtv, ok := value.(string) @@ -36014,8 +34532,7 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.LimitType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36023,20 +34540,15 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.Message = ptr.String(jtv) } - case "ResourceTypes": if err := awsAwsjson11_deserializeDocumentOpsItemParameterNamesList(&sv.ResourceTypes, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36061,15 +34573,9 @@ func awsAwsjson11_deserializeDocumentOpsItemNotFoundException(v **types.OpsItemN sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36077,15 +34583,11 @@ func awsAwsjson11_deserializeDocumentOpsItemNotFoundException(v **types.OpsItemN } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36120,7 +34622,6 @@ func awsAwsjson11_deserializeDocumentOpsItemNotification(v **types.OpsItemNotifi } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -36255,15 +34756,9 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36271,7 +34766,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.Message = ptr.String(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -36280,7 +34774,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.OpsItemId = ptr.String(jtv) } - case "ResourceUri": if value != nil { jtv, ok := value.(string) @@ -36289,15 +34782,11 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.ResourceUri = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36322,15 +34811,9 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAssociationNotFoundExcept sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36338,15 +34821,11 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAssociationNotFoundExcept } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36415,7 +34894,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.AssociationId = ptr.String(jtv) } - case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -36424,12 +34902,10 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.AssociationType = ptr.String(jtv) } - case "CreatedBy": if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.CreatedBy, value); err != nil { return err } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -36445,12 +34921,10 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } } - case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.LastModifiedBy, value); err != nil { return err } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36466,7 +34940,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -36475,7 +34948,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.OpsItemId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -36484,7 +34956,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.ResourceType = ptr.String(jtv) } - case "ResourceUri": if value != nil { jtv, ok := value.(string) @@ -36493,7 +34964,6 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.ResourceUri = ptr.String(jtv) } - default: _, _ = key, value @@ -36574,7 +35044,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "ActualStartTime": if value != nil { switch jtv := value.(type) { @@ -36590,7 +35059,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "Category": if value != nil { jtv, ok := value.(string) @@ -36599,7 +35067,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Category = ptr.String(jtv) } - case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -36608,7 +35075,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.CreatedBy = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -36624,7 +35090,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -36633,7 +35098,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.LastModifiedBy = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36649,12 +35113,10 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "OperationalData": if err := awsAwsjson11_deserializeDocumentOpsItemOperationalData(&sv.OperationalData, value); err != nil { return err } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -36663,7 +35125,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.OpsItemId = ptr.String(jtv) } - case "OpsItemType": if value != nil { jtv, ok := value.(string) @@ -36672,7 +35133,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.OpsItemType = ptr.String(jtv) } - case "PlannedEndTime": if value != nil { switch jtv := value.(type) { @@ -36688,7 +35148,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "PlannedStartTime": if value != nil { switch jtv := value.(type) { @@ -36704,7 +35163,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -36717,7 +35175,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Priority = ptr.Int32(int32(i64)) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -36726,7 +35183,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Severity = ptr.String(jtv) } - case "Source": if value != nil { jtv, ok := value.(string) @@ -36735,7 +35191,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Source = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -36744,7 +35199,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Status = types.OpsItemStatus(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -36753,7 +35207,6 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -36800,7 +35253,6 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -36816,7 +35268,6 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } } - case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -36825,7 +35276,6 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.LastModifiedUser = ptr.String(jtv) } - case "OpsMetadataArn": if value != nil { jtv, ok := value.(string) @@ -36834,7 +35284,6 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.OpsMetadataArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -36843,7 +35292,6 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -36873,15 +35321,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataAlreadyExistsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36889,15 +35331,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36922,15 +35360,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataInvalidArgumentException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36938,15 +35370,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataInvalidArgumentException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -36971,15 +35399,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataKeyLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -36987,15 +35409,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataKeyLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37020,15 +35438,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataLimitExceededException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37036,15 +35448,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataLimitExceededException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37103,15 +35511,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataNotFoundException(v **types.OpsM sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37119,15 +35521,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataNotFoundException(v **types.OpsM } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37152,15 +35550,9 @@ func awsAwsjson11_deserializeDocumentOpsMetadataTooManyUpdatesException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37168,15 +35560,11 @@ func awsAwsjson11_deserializeDocumentOpsMetadataTooManyUpdatesException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37211,7 +35599,6 @@ func awsAwsjson11_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputSourceId = ptr.String(jtv) } - case "OutputSourceType": if value != nil { jtv, ok := value.(string) @@ -37220,7 +35607,6 @@ func awsAwsjson11_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputSourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -37260,7 +35646,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ARN = ptr.String(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -37269,7 +35654,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37285,7 +35669,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37294,7 +35677,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } - case "Selector": if value != nil { jtv, ok := value.(string) @@ -37303,7 +35685,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Selector = ptr.String(jtv) } - case "SourceResult": if value != nil { jtv, ok := value.(string) @@ -37312,7 +35693,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.SourceResult = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -37321,7 +35701,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Type = types.ParameterType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -37330,7 +35709,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -37343,7 +35721,6 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Version = i64 } - default: _, _ = key, value @@ -37373,15 +35750,9 @@ func awsAwsjson11_deserializeDocumentParameterAlreadyExists(v **types.ParameterA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37389,15 +35760,11 @@ func awsAwsjson11_deserializeDocumentParameterAlreadyExists(v **types.ParameterA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37432,7 +35799,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.AllowedPattern = ptr.String(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -37441,7 +35807,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.DataType = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -37450,7 +35815,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Description = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -37459,12 +35823,10 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.KeyId = ptr.String(jtv) } - case "Labels": if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.Labels, value); err != nil { return err } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37480,7 +35842,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } } - case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -37489,7 +35850,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.LastModifiedUser = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37498,12 +35858,10 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Name = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentParameterPolicyList(&sv.Policies, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -37512,7 +35870,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Tier = types.ParameterTier(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -37521,7 +35878,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Type = types.ParameterType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -37530,7 +35886,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Value = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -37543,7 +35898,6 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Version = i64 } - default: _, _ = key, value @@ -37617,7 +35971,6 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyStatus = ptr.String(jtv) } - case "PolicyText": if value != nil { jtv, ok := value.(string) @@ -37626,7 +35979,6 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyText = ptr.String(jtv) } - case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -37635,7 +35987,6 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyType = ptr.String(jtv) } - default: _, _ = key, value @@ -37701,15 +36052,9 @@ func awsAwsjson11_deserializeDocumentParameterLimitExceeded(v **types.ParameterL sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37717,15 +36062,11 @@ func awsAwsjson11_deserializeDocumentParameterLimitExceeded(v **types.ParameterL } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37784,15 +36125,9 @@ func awsAwsjson11_deserializeDocumentParameterMaxVersionLimitExceeded(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -37800,15 +36135,11 @@ func awsAwsjson11_deserializeDocumentParameterMaxVersionLimitExceeded(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -37843,7 +36174,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.AllowedPattern = ptr.String(jtv) } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -37852,7 +36182,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.ARN = ptr.String(jtv) } - case "DataType": if value != nil { jtv, ok := value.(string) @@ -37861,7 +36190,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.DataType = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -37870,7 +36198,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Description = ptr.String(jtv) } - case "KeyId": if value != nil { jtv, ok := value.(string) @@ -37879,7 +36206,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.KeyId = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37895,7 +36221,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } } - case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -37904,7 +36229,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.LastModifiedUser = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -37913,12 +36237,10 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Name = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentParameterPolicyList(&sv.Policies, value); err != nil { return err } - case "Tier": if value != nil { jtv, ok := value.(string) @@ -37927,7 +36249,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Tier = types.ParameterTier(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -37936,7 +36257,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Type = types.ParameterType(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -37949,7 +36269,6 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Version = i64 } - default: _, _ = key, value @@ -38049,15 +36368,9 @@ func awsAwsjson11_deserializeDocumentParameterNotFound(v **types.ParameterNotFou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38065,15 +36378,11 @@ func awsAwsjson11_deserializeDocumentParameterNotFound(v **types.ParameterNotFou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38098,15 +36407,9 @@ func awsAwsjson11_deserializeDocumentParameterPatternMismatchException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38114,15 +36417,11 @@ func awsAwsjson11_deserializeDocumentParameterPatternMismatchException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38251,15 +36550,9 @@ func awsAwsjson11_deserializeDocumentParameterVersionLabelLimitExceeded(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38267,15 +36560,11 @@ func awsAwsjson11_deserializeDocumentParameterVersionLabelLimitExceeded(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38300,15 +36589,9 @@ func awsAwsjson11_deserializeDocumentParameterVersionNotFound(v **types.Paramete sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -38316,15 +36599,11 @@ func awsAwsjson11_deserializeDocumentParameterVersionNotFound(v **types.Paramete } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -38359,7 +36638,6 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.Action = ptr.String(jtv) } - case "Iteration": if value != nil { jtv, ok := value.(json.Number) @@ -38372,7 +36650,6 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.Iteration = ptr.Int32(int32(i64)) } - case "IteratorValue": if value != nil { jtv, ok := value.(string) @@ -38381,7 +36658,6 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.IteratorValue = ptr.String(jtv) } - case "StepExecutionId": if value != nil { jtv, ok := value.(string) @@ -38390,7 +36666,6 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.StepExecutionId = ptr.String(jtv) } - case "StepName": if value != nil { jtv, ok := value.(string) @@ -38399,7 +36674,6 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.StepName = ptr.String(jtv) } - default: _, _ = key, value @@ -38435,7 +36709,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e if err := awsAwsjson11_deserializeDocumentPatchAdvisoryIdList(&sv.AdvisoryIds, value); err != nil { return err } - case "Arch": if value != nil { jtv, ok := value.(string) @@ -38444,12 +36717,10 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Arch = ptr.String(jtv) } - case "BugzillaIds": if err := awsAwsjson11_deserializeDocumentPatchBugzillaIdList(&sv.BugzillaIds, value); err != nil { return err } - case "Classification": if value != nil { jtv, ok := value.(string) @@ -38458,7 +36729,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Classification = ptr.String(jtv) } - case "ContentUrl": if value != nil { jtv, ok := value.(string) @@ -38467,12 +36737,10 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.ContentUrl = ptr.String(jtv) } - case "CVEIds": if err := awsAwsjson11_deserializeDocumentPatchCVEIdList(&sv.CVEIds, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -38481,7 +36749,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Description = ptr.String(jtv) } - case "Epoch": if value != nil { jtv, ok := value.(json.Number) @@ -38494,7 +36761,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Epoch = int32(i64) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -38503,7 +36769,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Id = ptr.String(jtv) } - case "KbNumber": if value != nil { jtv, ok := value.(string) @@ -38512,7 +36777,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.KbNumber = ptr.String(jtv) } - case "Language": if value != nil { jtv, ok := value.(string) @@ -38521,7 +36785,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Language = ptr.String(jtv) } - case "MsrcNumber": if value != nil { jtv, ok := value.(string) @@ -38530,7 +36793,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.MsrcNumber = ptr.String(jtv) } - case "MsrcSeverity": if value != nil { jtv, ok := value.(string) @@ -38539,7 +36801,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.MsrcSeverity = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -38548,7 +36809,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Product": if value != nil { jtv, ok := value.(string) @@ -38557,7 +36817,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Product = ptr.String(jtv) } - case "ProductFamily": if value != nil { jtv, ok := value.(string) @@ -38566,7 +36825,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.ProductFamily = ptr.String(jtv) } - case "Release": if value != nil { jtv, ok := value.(string) @@ -38575,7 +36833,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Release = ptr.String(jtv) } - case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -38591,7 +36848,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } } - case "Repository": if value != nil { jtv, ok := value.(string) @@ -38600,7 +36856,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Repository = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -38609,7 +36864,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Severity = ptr.String(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -38618,7 +36872,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Title = ptr.String(jtv) } - case "Vendor": if value != nil { jtv, ok := value.(string) @@ -38627,7 +36880,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Vendor = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -38636,7 +36888,6 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -38712,7 +36963,6 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineDescription = ptr.String(jtv) } - case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -38721,7 +36971,6 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineId = ptr.String(jtv) } - case "BaselineName": if value != nil { jtv, ok := value.(string) @@ -38730,7 +36979,6 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineName = ptr.String(jtv) } - case "DefaultBaseline": if value != nil { jtv, ok := value.(bool) @@ -38739,7 +36987,6 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.DefaultBaseline = jtv } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -38748,7 +36995,6 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.OperatingSystem = types.OperatingSystem(jtv) } - default: _, _ = key, value @@ -38858,7 +37104,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Classification = ptr.String(jtv) } - case "CVEIds": if value != nil { jtv, ok := value.(string) @@ -38867,7 +37112,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.CVEIds = ptr.String(jtv) } - case "InstalledTime": if value != nil { switch jtv := value.(type) { @@ -38883,7 +37127,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } } - case "KBId": if value != nil { jtv, ok := value.(string) @@ -38892,7 +37135,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.KBId = ptr.String(jtv) } - case "Severity": if value != nil { jtv, ok := value.(string) @@ -38901,7 +37143,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Severity = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -38910,7 +37151,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.State = types.PatchComplianceDataState(jtv) } - case "Title": if value != nil { jtv, ok := value.(string) @@ -38919,7 +37159,6 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -39029,12 +37268,10 @@ func awsAwsjson11_deserializeDocumentPatchFilter(v **types.PatchFilter, value in } sv.Key = types.PatchFilterKey(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentPatchFilterValueList(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -39070,7 +37307,6 @@ func awsAwsjson11_deserializeDocumentPatchFilterGroup(v **types.PatchFilterGroup if err := awsAwsjson11_deserializeDocumentPatchFilterList(&sv.PatchFilters, value); err != nil { return err } - default: _, _ = key, value @@ -39212,7 +37448,6 @@ func awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMapping(v **types.Pa if err := awsAwsjson11_deserializeDocumentPatchBaselineIdentity(&sv.BaselineIdentity, value); err != nil { return err } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -39221,7 +37456,6 @@ func awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMapping(v **types.Pa } sv.PatchGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -39437,7 +37671,6 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ApproveAfterDays = ptr.Int32(int32(i64)) } - case "ApproveUntilDate": if value != nil { jtv, ok := value.(string) @@ -39446,7 +37679,6 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ApproveUntilDate = ptr.String(jtv) } - case "ComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -39455,7 +37687,6 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ComplianceLevel = types.PatchComplianceLevel(jtv) } - case "EnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -39464,12 +37695,10 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.EnableNonSecurity = ptr.Bool(jtv) } - case "PatchFilterGroup": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.PatchFilterGroup, value); err != nil { return err } - default: _, _ = key, value @@ -39505,7 +37734,6 @@ func awsAwsjson11_deserializeDocumentPatchRuleGroup(v **types.PatchRuleGroup, va if err := awsAwsjson11_deserializeDocumentPatchRuleList(&sv.PatchRules, value); err != nil { return err } - default: _, _ = key, value @@ -39579,7 +37807,6 @@ func awsAwsjson11_deserializeDocumentPatchSource(v **types.PatchSource, value in } sv.Configuration = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -39588,12 +37815,10 @@ func awsAwsjson11_deserializeDocumentPatchSource(v **types.PatchSource, value in } sv.Name = ptr.String(jtv) } - case "Products": if err := awsAwsjson11_deserializeDocumentPatchSourceProductList(&sv.Products, value); err != nil { return err } - default: _, _ = key, value @@ -39710,7 +37935,6 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } } - case "ComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -39719,7 +37943,6 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } sv.ComplianceLevel = types.PatchComplianceLevel(jtv) } - case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -39728,7 +37951,6 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } sv.DeploymentStatus = types.PatchDeploymentStatus(jtv) } - default: _, _ = key, value @@ -39794,15 +38016,9 @@ func awsAwsjson11_deserializeDocumentPoliciesLimitExceededException(v **types.Po sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -39810,15 +38026,11 @@ func awsAwsjson11_deserializeDocumentPoliciesLimitExceededException(v **types.Po } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -39857,7 +38069,6 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.CancelledSteps = int32(i64) } - case "FailedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -39870,7 +38081,6 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.FailedSteps = int32(i64) } - case "SuccessSteps": if value != nil { jtv, ok := value.(json.Number) @@ -39883,7 +38093,6 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.SuccessSteps = int32(i64) } - case "TimedOutSteps": if value != nil { jtv, ok := value.(json.Number) @@ -39896,7 +38105,6 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.TimedOutSteps = int32(i64) } - case "TotalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -39909,7 +38117,6 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.TotalSteps = int32(i64) } - default: _, _ = key, value @@ -39985,7 +38192,6 @@ func awsAwsjson11_deserializeDocumentRelatedOpsItem(v **types.RelatedOpsItem, va } sv.OpsItemId = ptr.String(jtv) } - default: _, _ = key, value @@ -40055,7 +38261,6 @@ func awsAwsjson11_deserializeDocumentResolvedTargets(v **types.ResolvedTargets, if err := awsAwsjson11_deserializeDocumentTargetParameterList(&sv.ParameterValues, value); err != nil { return err } - case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -40064,7 +38269,6 @@ func awsAwsjson11_deserializeDocumentResolvedTargets(v **types.ResolvedTargets, } sv.Truncated = jtv } - default: _, _ = key, value @@ -40104,22 +38308,18 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ComplianceType = ptr.String(jtv) } - case "CompliantSummary": if err := awsAwsjson11_deserializeDocumentCompliantSummary(&sv.CompliantSummary, value); err != nil { return err } - case "ExecutionSummary": if err := awsAwsjson11_deserializeDocumentComplianceExecutionSummary(&sv.ExecutionSummary, value); err != nil { return err } - case "NonCompliantSummary": if err := awsAwsjson11_deserializeDocumentNonCompliantSummary(&sv.NonCompliantSummary, value); err != nil { return err } - case "OverallSeverity": if value != nil { jtv, ok := value.(string) @@ -40128,7 +38328,6 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.OverallSeverity = types.ComplianceSeverity(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -40137,7 +38336,6 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -40146,7 +38344,6 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ResourceType = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -40155,7 +38352,6 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.Status = types.ComplianceStatus(jtv) } - default: _, _ = key, value @@ -40219,13 +38415,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAlreadyExistsException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "SyncName": if value != nil { @@ -40235,15 +38425,11 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAlreadyExistsException(v ** } sv.SyncName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40274,7 +38460,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(v ** if err := awsAwsjson11_deserializeDocumentResourceDataSyncOrganizationalUnitList(&sv.OrganizationalUnits, value); err != nil { return err } - case "OrganizationSourceType": if value != nil { jtv, ok := value.(string) @@ -40283,7 +38468,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(v ** } sv.OrganizationSourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -40313,15 +38497,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncConflictException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -40329,15 +38507,11 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncConflictException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40362,15 +38536,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncCountExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -40378,15 +38546,11 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncCountExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40421,7 +38585,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncDestinationDataSharing(v ** } sv.DestinationDataSharingType = ptr.String(jtv) } - default: _, _ = key, value @@ -40451,15 +38614,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncInvalidConfigurationExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -40467,15 +38624,11 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncInvalidConfigurationExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40510,7 +38663,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.LastStatus = types.LastResourceDataSyncStatus(jtv) } - case "LastSuccessfulSyncTime": if value != nil { switch jtv := value.(type) { @@ -40526,7 +38678,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } - case "LastSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -40535,7 +38686,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.LastSyncStatusMessage = ptr.String(jtv) } - case "LastSyncTime": if value != nil { switch jtv := value.(type) { @@ -40551,12 +38701,10 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } - case "S3Destination": if err := awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(&sv.S3Destination, value); err != nil { return err } - case "SyncCreatedTime": if value != nil { switch jtv := value.(type) { @@ -40572,7 +38720,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } - case "SyncLastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -40588,7 +38735,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } - case "SyncName": if value != nil { jtv, ok := value.(string) @@ -40597,12 +38743,10 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.SyncName = ptr.String(jtv) } - case "SyncSource": if err := awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(&sv.SyncSource, value); err != nil { return err } - case "SyncType": if value != nil { jtv, ok := value.(string) @@ -40611,7 +38755,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.SyncType = ptr.String(jtv) } - default: _, _ = key, value @@ -40675,15 +38818,9 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -40691,7 +38828,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.Message = ptr.String(jtv) } - case "SyncName": if value != nil { jtv, ok := value.(string) @@ -40700,7 +38836,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.SyncName = ptr.String(jtv) } - case "SyncType": if value != nil { jtv, ok := value.(string) @@ -40709,15 +38844,11 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.SyncType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -40752,7 +38883,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncOrganizationalUnit(v **type } sv.OrganizationalUnitId = ptr.String(jtv) } - default: _, _ = key, value @@ -40826,7 +38956,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.AWSKMSKeyARN = ptr.String(jtv) } - case "BucketName": if value != nil { jtv, ok := value.(string) @@ -40835,12 +38964,10 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.BucketName = ptr.String(jtv) } - case "DestinationDataSharing": if err := awsAwsjson11_deserializeDocumentResourceDataSyncDestinationDataSharing(&sv.DestinationDataSharing, value); err != nil { return err } - case "Prefix": if value != nil { jtv, ok := value.(string) @@ -40849,7 +38976,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.Prefix = ptr.String(jtv) } - case "Region": if value != nil { jtv, ok := value.(string) @@ -40858,7 +38984,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.Region = ptr.String(jtv) } - case "SyncFormat": if value != nil { jtv, ok := value.(string) @@ -40867,7 +38992,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.SyncFormat = types.ResourceDataSyncS3Format(jtv) } - default: _, _ = key, value @@ -40939,7 +39063,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R if err := awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(&sv.AwsOrganizationsSource, value); err != nil { return err } - case "EnableAllOpsDataSources": if value != nil { jtv, ok := value.(bool) @@ -40948,7 +39071,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.EnableAllOpsDataSources = jtv } - case "IncludeFutureRegions": if value != nil { jtv, ok := value.(bool) @@ -40957,12 +39079,10 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.IncludeFutureRegions = jtv } - case "SourceRegions": if err := awsAwsjson11_deserializeDocumentResourceDataSyncSourceRegionList(&sv.SourceRegions, value); err != nil { return err } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -40971,7 +39091,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.SourceType = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -40980,7 +39099,6 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -41010,15 +39128,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41026,15 +39138,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41059,15 +39167,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41075,15 +39177,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41108,15 +39206,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41124,15 +39216,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41157,15 +39245,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyConflictException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41173,15 +39255,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyConflictException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41206,15 +39284,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyInvalidParameterException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41222,20 +39294,15 @@ func awsAwsjson11_deserializeDocumentResourcePolicyInvalidParameterException(v * } sv.Message = ptr.String(jtv) } - case "ParameterNames": if err := awsAwsjson11_deserializeDocumentResourcePolicyParameterNamesList(&sv.ParameterNames, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41260,13 +39327,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Limit": if value != nil { @@ -41280,7 +39341,6 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.Limit = int32(i64) } - case "LimitType": if value != nil { jtv, ok := value.(string) @@ -41289,8 +39349,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.LimitType = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41298,15 +39357,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41331,15 +39386,9 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41347,15 +39396,11 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41433,7 +39478,6 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } } - case "Reviewer": if value != nil { jtv, ok := value.(string) @@ -41442,7 +39486,6 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } sv.Reviewer = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -41451,7 +39494,6 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } sv.Status = types.ReviewStatus(jtv) } - default: _, _ = key, value @@ -41525,7 +39567,6 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -41534,7 +39575,6 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.DocumentVersion = ptr.String(jtv) } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -41543,7 +39583,6 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -41552,22 +39591,18 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.MaxErrors = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } - case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } - case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } - case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -41576,12 +39611,10 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.TargetParameterName = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -41655,7 +39688,6 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3BucketName = ptr.String(jtv) } - case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -41664,7 +39696,6 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3KeyPrefix = ptr.String(jtv) } - case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -41673,7 +39704,6 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3Region = ptr.String(jtv) } - default: _, _ = key, value @@ -41713,7 +39743,6 @@ func awsAwsjson11_deserializeDocumentS3OutputUrl(v **types.S3OutputUrl, value in } sv.OutputUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -41753,7 +39782,6 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.ExecutionTime = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -41762,7 +39790,6 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.Name = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -41771,7 +39798,6 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -41845,7 +39871,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.ARN = ptr.String(jtv) } - case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -41861,7 +39886,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } } - case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -41870,7 +39894,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.LastModifiedUser = ptr.String(jtv) } - case "SettingId": if value != nil { jtv, ok := value.(string) @@ -41879,7 +39902,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.SettingId = ptr.String(jtv) } - case "SettingValue": if value != nil { jtv, ok := value.(string) @@ -41888,7 +39910,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.SettingValue = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -41897,7 +39918,6 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -41927,15 +39947,9 @@ func awsAwsjson11_deserializeDocumentServiceSettingNotFound(v **types.ServiceSet sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -41943,15 +39957,11 @@ func awsAwsjson11_deserializeDocumentServiceSettingNotFound(v **types.ServiceSet } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -41986,7 +39996,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Details = ptr.String(jtv) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -41995,7 +40004,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.DocumentName = ptr.String(jtv) } - case "EndDate": if value != nil { switch jtv := value.(type) { @@ -42011,7 +40019,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "MaxSessionDuration": if value != nil { jtv, ok := value.(string) @@ -42020,12 +40027,10 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.MaxSessionDuration = ptr.String(jtv) } - case "OutputUrl": if err := awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(&sv.OutputUrl, value); err != nil { return err } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -42034,7 +40039,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Owner = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -42043,7 +40047,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Reason = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -42052,7 +40055,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } - case "StartDate": if value != nil { switch jtv := value.(type) { @@ -42068,7 +40070,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -42077,7 +40078,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -42086,7 +40086,6 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -42160,7 +40159,6 @@ func awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(v **types.SessionMa } sv.CloudWatchOutputUrl = ptr.String(jtv) } - case "S3OutputUrl": if value != nil { jtv, ok := value.(string) @@ -42169,7 +40167,6 @@ func awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(v **types.SessionMa } sv.S3OutputUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -42213,7 +40210,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.CriticalCount = int32(i64) } - case "HighCount": if value != nil { jtv, ok := value.(json.Number) @@ -42226,7 +40222,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.HighCount = int32(i64) } - case "InformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -42239,7 +40234,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.InformationalCount = int32(i64) } - case "LowCount": if value != nil { jtv, ok := value.(json.Number) @@ -42252,7 +40246,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.LowCount = int32(i64) } - case "MediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -42265,7 +40258,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.MediumCount = int32(i64) } - case "UnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -42278,7 +40270,6 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.UnspecifiedCount = int32(i64) } - default: _, _ = key, value @@ -42308,22 +40299,13 @@ func awsAwsjson11_deserializeDocumentStatusUnchanged(v **types.StatusUnchanged, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42358,7 +40340,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.Action = ptr.String(jtv) } - case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -42374,7 +40355,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } } - case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -42390,12 +40370,10 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } } - case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -42404,12 +40382,10 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.FailureMessage = ptr.String(jtv) } - case "Inputs": if err := awsAwsjson11_deserializeDocumentNormalStringMap(&sv.Inputs, value); err != nil { return err } - case "IsCritical": if value != nil { jtv, ok := value.(bool) @@ -42418,7 +40394,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.IsCritical = ptr.Bool(jtv) } - case "IsEnd": if value != nil { jtv, ok := value.(bool) @@ -42427,7 +40402,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.IsEnd = ptr.Bool(jtv) } - case "MaxAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -42440,7 +40414,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.MaxAttempts = ptr.Int32(int32(i64)) } - case "NextStep": if value != nil { jtv, ok := value.(string) @@ -42449,7 +40422,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.NextStep = ptr.String(jtv) } - case "OnFailure": if value != nil { jtv, ok := value.(string) @@ -42458,22 +40430,18 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.OnFailure = ptr.String(jtv) } - case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } - case "OverriddenParameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.OverriddenParameters, value); err != nil { return err } - case "ParentStepDetails": if err := awsAwsjson11_deserializeDocumentParentStepDetails(&sv.ParentStepDetails, value); err != nil { return err } - case "Response": if value != nil { jtv, ok := value.(string) @@ -42482,7 +40450,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.Response = ptr.String(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(string) @@ -42491,7 +40458,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.ResponseCode = ptr.String(jtv) } - case "StepExecutionId": if value != nil { jtv, ok := value.(string) @@ -42500,7 +40466,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepExecutionId = ptr.String(jtv) } - case "StepName": if value != nil { jtv, ok := value.(string) @@ -42509,7 +40474,6 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepName = ptr.String(jtv) } - case "StepStatus": if value != nil { jtv, ok := value.(string) @@ -42518,17 +40482,14 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepStatus = types.AutomationExecutionStatus(jtv) } - case "TargetLocation": if err := awsAwsjson11_deserializeDocumentTargetLocation(&sv.TargetLocation, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -42541,17 +40502,14 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.TimeoutSeconds = ptr.Int64(i64) } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - case "ValidNextSteps": if err := awsAwsjson11_deserializeDocumentValidNextStepList(&sv.ValidNextSteps, value); err != nil { return err } - default: _, _ = key, value @@ -42615,15 +40573,9 @@ func awsAwsjson11_deserializeDocumentSubTypeCountLimitExceededException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42631,15 +40583,11 @@ func awsAwsjson11_deserializeDocumentSubTypeCountLimitExceededException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42674,7 +40622,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -42683,7 +40630,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -42757,12 +40703,10 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Key = ptr.String(jtv) } - case "Values": if err := awsAwsjson11_deserializeDocumentTargetValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -42792,15 +40736,9 @@ func awsAwsjson11_deserializeDocumentTargetInUseException(v **types.TargetInUseE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -42808,15 +40746,11 @@ func awsAwsjson11_deserializeDocumentTargetInUseException(v **types.TargetInUseE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -42847,12 +40781,10 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } - case "ExcludeAccounts": if err := awsAwsjson11_deserializeDocumentExcludeAccounts(&sv.ExcludeAccounts, value); err != nil { return err } - case "ExecutionRoleName": if value != nil { jtv, ok := value.(string) @@ -42861,7 +40793,6 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.ExecutionRoleName = ptr.String(jtv) } - case "IncludeChildOrganizationUnits": if value != nil { jtv, ok := value.(bool) @@ -42870,17 +40801,14 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.IncludeChildOrganizationUnits = jtv } - case "Regions": if err := awsAwsjson11_deserializeDocumentRegions(&sv.Regions, value); err != nil { return err } - case "TargetLocationAlarmConfiguration": if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.TargetLocationAlarmConfiguration, value); err != nil { return err } - case "TargetLocationMaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -42889,7 +40817,6 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetLocationMaxConcurrency = ptr.String(jtv) } - case "TargetLocationMaxErrors": if value != nil { jtv, ok := value.(string) @@ -42898,12 +40825,10 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetLocationMaxErrors = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TargetsMaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -42912,7 +40837,6 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetsMaxConcurrency = ptr.String(jtv) } - case "TargetsMaxErrors": if value != nil { jtv, ok := value.(string) @@ -42921,7 +40845,6 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetsMaxErrors = ptr.String(jtv) } - default: _, _ = key, value @@ -43087,15 +41010,9 @@ func awsAwsjson11_deserializeDocumentTargetNotConnected(v **types.TargetNotConne sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43103,15 +41020,11 @@ func awsAwsjson11_deserializeDocumentTargetNotConnected(v **types.TargetNotConne } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43242,22 +41155,13 @@ func awsAwsjson11_deserializeDocumentTooManyTagsError(v **types.TooManyTagsError sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43282,15 +41186,9 @@ func awsAwsjson11_deserializeDocumentTooManyUpdates(v **types.TooManyUpdates, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43298,15 +41196,11 @@ func awsAwsjson11_deserializeDocumentTooManyUpdates(v **types.TooManyUpdates, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43331,15 +41225,9 @@ func awsAwsjson11_deserializeDocumentTotalSizeLimitExceededException(v **types.T sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43347,15 +41235,11 @@ func awsAwsjson11_deserializeDocumentTotalSizeLimitExceededException(v **types.T } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43380,15 +41264,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedCalendarException(v **types.Unsu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43396,15 +41274,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedCalendarException(v **types.Unsu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43429,15 +41303,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureRequiredException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43445,15 +41313,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureRequiredException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43478,15 +41342,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43494,7 +41352,6 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v } sv.Message = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -43503,15 +41360,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43536,15 +41389,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventorySchemaVersionException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43552,15 +41399,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventorySchemaVersionException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43585,15 +41428,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperatingSystem(v **types.Unsupp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43601,15 +41438,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperatingSystem(v **types.Unsupp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43634,15 +41467,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedParameterType(v **types.Unsuppor sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43650,15 +41477,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedParameterType(v **types.Unsuppor } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43683,15 +41506,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedPlatformType(v **types.Unsupport sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -43699,15 +41516,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedPlatformType(v **types.Unsupport } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -43809,7 +41622,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateOpsItemRelatedItemOutput(v **Ass } sv.AssociationId = ptr.String(jtv) } - default: _, _ = key, value @@ -43880,7 +41692,6 @@ func awsAwsjson11_deserializeOpDocumentCancelMaintenanceWindowExecutionOutput(v } sv.WindowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -43920,7 +41731,6 @@ func awsAwsjson11_deserializeOpDocumentCreateActivationOutput(v **CreateActivati } sv.ActivationCode = ptr.String(jtv) } - case "ActivationId": if value != nil { jtv, ok := value.(string) @@ -43929,7 +41739,6 @@ func awsAwsjson11_deserializeOpDocumentCreateActivationOutput(v **CreateActivati } sv.ActivationId = ptr.String(jtv) } - default: _, _ = key, value @@ -43965,12 +41774,10 @@ func awsAwsjson11_deserializeOpDocumentCreateAssociationBatchOutput(v **CreateAs if err := awsAwsjson11_deserializeDocumentFailedCreateAssociationList(&sv.Failed, value); err != nil { return err } - case "Successful": if err := awsAwsjson11_deserializeDocumentAssociationDescriptionList(&sv.Successful, value); err != nil { return err } - default: _, _ = key, value @@ -44006,7 +41813,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAssociationOutput(v **CreateAssocia if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -44042,7 +41848,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDocumentOutput(v **CreateDocumentOu if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.DocumentDescription, value); err != nil { return err } - default: _, _ = key, value @@ -44082,7 +41887,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMaintenanceWindowOutput(v **CreateM } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -44122,7 +41926,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsItemOutput(v **CreateOpsItemOutp } sv.OpsItemArn = ptr.String(jtv) } - case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -44131,7 +41934,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsItemOutput(v **CreateOpsItemOutp } sv.OpsItemId = ptr.String(jtv) } - default: _, _ = key, value @@ -44171,7 +41973,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsMetadataOutput(v **CreateOpsMeta } sv.OpsMetadataArn = ptr.String(jtv) } - default: _, _ = key, value @@ -44211,7 +42012,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePatchBaselineOutput(v **CreatePatch } sv.BaselineId = ptr.String(jtv) } - default: _, _ = key, value @@ -44375,12 +42175,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteInventoryOutput(v **DeleteInventory } sv.DeletionId = ptr.String(jtv) } - case "DeletionSummary": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummary(&sv.DeletionSummary, value); err != nil { return err } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -44389,7 +42187,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteInventoryOutput(v **DeleteInventory } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -44429,7 +42226,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteMaintenanceWindowOutput(v **DeleteM } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -44558,12 +42354,10 @@ func awsAwsjson11_deserializeOpDocumentDeleteParametersOutput(v **DeleteParamete if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.DeletedParameters, value); err != nil { return err } - case "InvalidParameters": if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.InvalidParameters, value); err != nil { return err } - default: _, _ = key, value @@ -44603,7 +42397,6 @@ func awsAwsjson11_deserializeOpDocumentDeletePatchBaselineOutput(v **DeletePatch } sv.BaselineId = ptr.String(jtv) } - default: _, _ = key, value @@ -44736,7 +42529,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterPatchBaselineForPatchGroupOutpu } sv.BaselineId = ptr.String(jtv) } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -44745,7 +42537,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterPatchBaselineForPatchGroupOutpu } sv.PatchGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -44785,7 +42576,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTargetFromMaintenanceWindowOutp } sv.WindowId = ptr.String(jtv) } - case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -44794,7 +42584,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTargetFromMaintenanceWindowOutp } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -44834,7 +42623,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskFromMaintenanceWindowOutput } sv.WindowId = ptr.String(jtv) } - case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -44843,7 +42631,6 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskFromMaintenanceWindowOutput } sv.WindowTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -44879,7 +42666,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActivationsOutput(v **DescribeAct if err := awsAwsjson11_deserializeDocumentActivationList(&sv.ActivationList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -44888,7 +42674,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeActivationsOutput(v **DescribeAct } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -44924,7 +42709,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionsOutput(v **D if err := awsAwsjson11_deserializeDocumentAssociationExecutionsList(&sv.AssociationExecutions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -44933,7 +42717,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionsOutput(v **D } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -44969,7 +42752,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionTargetsOutput if err := awsAwsjson11_deserializeDocumentAssociationExecutionTargetsList(&sv.AssociationExecutionTargets, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -44978,7 +42760,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionTargetsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45014,7 +42795,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationOutput(v **DescribeAss if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -45050,7 +42830,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationExecutionsOutput(v **De if err := awsAwsjson11_deserializeDocumentAutomationExecutionMetadataList(&sv.AutomationExecutionMetadataList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45059,7 +42838,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationExecutionsOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45099,12 +42877,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationStepExecutionsOutput(v } sv.NextToken = ptr.String(jtv) } - case "StepExecutions": if err := awsAwsjson11_deserializeDocumentStepExecutionList(&sv.StepExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -45144,12 +42920,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailablePatchesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - case "Patches": if err := awsAwsjson11_deserializeDocumentPatchList(&sv.Patches, value); err != nil { return err } - default: _, _ = key, value @@ -45185,7 +42959,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentOutput(v **DescribeDocume if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.Document, value); err != nil { return err } - default: _, _ = key, value @@ -45221,12 +42994,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentPermissionOutput(v **Desc if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountIds, value); err != nil { return err } - case "AccountSharingInfoList": if err := awsAwsjson11_deserializeDocumentAccountSharingInfoList(&sv.AccountSharingInfoList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45235,7 +43006,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentPermissionOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45271,7 +43041,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectiveInstanceAssociationsOutp if err := awsAwsjson11_deserializeDocumentInstanceAssociationList(&sv.Associations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45280,7 +43049,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectiveInstanceAssociationsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45316,7 +43084,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePatchesForPatchBaselineO if err := awsAwsjson11_deserializeDocumentEffectivePatchList(&sv.EffectivePatches, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45325,7 +43092,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePatchesForPatchBaselineO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45361,7 +43127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAssociationsStatusOutput( if err := awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfos(&sv.InstanceAssociationStatusInfos, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45370,7 +43135,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAssociationsStatusOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45406,7 +43170,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceInformationOutput(v **Des if err := awsAwsjson11_deserializeDocumentInstanceInformationList(&sv.InstanceInformationList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45415,7 +43178,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceInformationOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45455,12 +43217,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "Patches": if err := awsAwsjson11_deserializeDocumentPatchComplianceDataList(&sv.Patches, value); err != nil { return err } - default: _, _ = key, value @@ -45496,7 +43256,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesForPatchGroupO if err := awsAwsjson11_deserializeDocumentInstancePatchStatesList(&sv.InstancePatchStates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45505,7 +43264,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesForPatchGroupO } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45541,7 +43299,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesOutput(v **Des if err := awsAwsjson11_deserializeDocumentInstancePatchStateList(&sv.InstancePatchStates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45550,7 +43307,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45586,7 +43342,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePropertiesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentInstanceProperties(&sv.InstanceProperties, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45595,7 +43350,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePropertiesOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45631,7 +43385,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInventoryDeletionsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentInventoryDeletionsList(&sv.InventoryDeletions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45640,7 +43393,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInventoryDeletionsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -45680,12 +43432,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionsOutput } sv.NextToken = ptr.String(jtv) } - case "WindowExecutions": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionList(&sv.WindowExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -45725,12 +43475,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionTaskInv } sv.NextToken = ptr.String(jtv) } - case "WindowExecutionTaskInvocationIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIdentityList(&sv.WindowExecutionTaskInvocationIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -45770,12 +43518,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionTasksOu } sv.NextToken = ptr.String(jtv) } - case "WindowExecutionTaskIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentityList(&sv.WindowExecutionTaskIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -45815,12 +43561,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowScheduleOutput(v } sv.NextToken = ptr.String(jtv) } - case "ScheduledWindowExecutions": if err := awsAwsjson11_deserializeDocumentScheduledWindowExecutionList(&sv.ScheduledWindowExecutions, value); err != nil { return err } - default: _, _ = key, value @@ -45860,12 +43604,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowsForTargetOutput } sv.NextToken = ptr.String(jtv) } - case "WindowIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowsForTargetList(&sv.WindowIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -45905,12 +43647,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } - case "WindowIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityList(&sv.WindowIdentities, value); err != nil { return err } - default: _, _ = key, value @@ -45950,12 +43690,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowTargetsOutput(v } sv.NextToken = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTargetList(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -45995,12 +43733,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowTasksOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Tasks": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskList(&sv.Tasks, value); err != nil { return err } - default: _, _ = key, value @@ -46040,12 +43776,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeOpsItemsOutput(v **DescribeOpsIte } sv.NextToken = ptr.String(jtv) } - case "OpsItemSummaries": if err := awsAwsjson11_deserializeDocumentOpsItemSummaries(&sv.OpsItemSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -46085,12 +43819,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterMetadataList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -46126,7 +43858,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchBaselinesOutput(v **Describe if err := awsAwsjson11_deserializeDocumentPatchBaselineIdentityList(&sv.BaselineIdentities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46135,7 +43866,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchBaselinesOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -46171,7 +43901,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupsOutput(v **DescribePat if err := awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMappingList(&sv.Mappings, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46180,7 +43909,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupsOutput(v **DescribePat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -46224,7 +43952,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.Instances = int32(i64) } - case "InstancesWithCriticalNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46237,7 +43964,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithCriticalNonCompliantPatches = ptr.Int32(int32(i64)) } - case "InstancesWithFailedPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46250,7 +43976,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithFailedPatches = int32(i64) } - case "InstancesWithInstalledOtherPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46263,7 +43988,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledOtherPatches = int32(i64) } - case "InstancesWithInstalledPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46276,7 +44000,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledPatches = int32(i64) } - case "InstancesWithInstalledPendingRebootPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46289,7 +44012,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledPendingRebootPatches = ptr.Int32(int32(i64)) } - case "InstancesWithInstalledRejectedPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46302,7 +44024,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledRejectedPatches = ptr.Int32(int32(i64)) } - case "InstancesWithMissingPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46315,7 +44036,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithMissingPatches = int32(i64) } - case "InstancesWithNotApplicablePatches": if value != nil { jtv, ok := value.(json.Number) @@ -46328,7 +44048,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithNotApplicablePatches = int32(i64) } - case "InstancesWithOtherNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46341,7 +44060,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithOtherNonCompliantPatches = ptr.Int32(int32(i64)) } - case "InstancesWithSecurityNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -46354,7 +44072,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithSecurityNonCompliantPatches = ptr.Int32(int32(i64)) } - case "InstancesWithUnreportedNotApplicablePatches": if value != nil { jtv, ok := value.(json.Number) @@ -46367,7 +44084,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithUnreportedNotApplicablePatches = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -46407,12 +44123,10 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchPropertiesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "Properties": if err := awsAwsjson11_deserializeDocumentPatchPropertiesList(&sv.Properties, value); err != nil { return err } - default: _, _ = key, value @@ -46452,12 +44166,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSessionsOutput(v **DescribeSessio } sv.NextToken = ptr.String(jtv) } - case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -46524,7 +44236,6 @@ func awsAwsjson11_deserializeOpDocumentGetAutomationExecutionOutput(v **GetAutom if err := awsAwsjson11_deserializeDocumentAutomationExecution(&sv.AutomationExecution, value); err != nil { return err } - default: _, _ = key, value @@ -46564,7 +44275,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.AtTime = ptr.String(jtv) } - case "NextTransitionTime": if value != nil { jtv, ok := value.(string) @@ -46573,7 +44283,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.NextTransitionTime = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -46582,7 +44291,6 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.State = types.CalendarState(jtv) } - default: _, _ = key, value @@ -46618,7 +44326,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } - case "CommandId": if value != nil { jtv, ok := value.(string) @@ -46627,7 +44334,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.CommandId = ptr.String(jtv) } - case "Comment": if value != nil { jtv, ok := value.(string) @@ -46636,7 +44342,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.Comment = ptr.String(jtv) } - case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -46645,7 +44350,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.DocumentName = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -46654,7 +44358,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.DocumentVersion = ptr.String(jtv) } - case "ExecutionElapsedTime": if value != nil { jtv, ok := value.(string) @@ -46663,7 +44366,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionElapsedTime = ptr.String(jtv) } - case "ExecutionEndDateTime": if value != nil { jtv, ok := value.(string) @@ -46672,7 +44374,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionEndDateTime = ptr.String(jtv) } - case "ExecutionStartDateTime": if value != nil { jtv, ok := value.(string) @@ -46681,7 +44382,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionStartDateTime = ptr.String(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -46690,7 +44390,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.InstanceId = ptr.String(jtv) } - case "PluginName": if value != nil { jtv, ok := value.(string) @@ -46699,7 +44398,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.PluginName = ptr.String(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -46712,7 +44410,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ResponseCode = int32(i64) } - case "StandardErrorContent": if value != nil { jtv, ok := value.(string) @@ -46721,7 +44418,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardErrorContent = ptr.String(jtv) } - case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -46730,7 +44426,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardErrorUrl = ptr.String(jtv) } - case "StandardOutputContent": if value != nil { jtv, ok := value.(string) @@ -46739,7 +44434,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardOutputContent = ptr.String(jtv) } - case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -46748,7 +44442,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardOutputUrl = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -46757,7 +44450,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.Status = types.CommandInvocationStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -46766,7 +44458,6 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StatusDetails = ptr.String(jtv) } - default: _, _ = key, value @@ -46806,7 +44497,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionStatusOutput(v **GetConnecti } sv.Status = types.ConnectionStatus(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -46815,7 +44505,6 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionStatusOutput(v **GetConnecti } sv.Target = ptr.String(jtv) } - default: _, _ = key, value @@ -46855,7 +44544,6 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultPatchBaselineOutput(v **GetDefa } sv.BaselineId = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -46864,7 +44552,6 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultPatchBaselineOutput(v **GetDefa } sv.OperatingSystem = types.OperatingSystem(jtv) } - default: _, _ = key, value @@ -46904,7 +44591,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.InstanceId = ptr.String(jtv) } - case "Product": if value != nil { jtv, ok := value.(string) @@ -46913,7 +44599,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.Product = ptr.String(jtv) } - case "SnapshotDownloadUrl": if value != nil { jtv, ok := value.(string) @@ -46922,7 +44607,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.SnapshotDownloadUrl = ptr.String(jtv) } - case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -46931,7 +44615,6 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.SnapshotId = ptr.String(jtv) } - default: _, _ = key, value @@ -46967,7 +44650,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, if err := awsAwsjson11_deserializeDocumentAttachmentContentList(&sv.AttachmentsContent, value); err != nil { return err } - case "Content": if value != nil { jtv, ok := value.(string) @@ -46976,7 +44658,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Content = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -46992,7 +44673,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -47001,7 +44681,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DisplayName = ptr.String(jtv) } - case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -47010,7 +44689,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentFormat = types.DocumentFormat(jtv) } - case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -47019,7 +44697,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentType = types.DocumentType(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -47028,7 +44705,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47037,12 +44713,10 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Name = ptr.String(jtv) } - case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } - case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -47051,7 +44725,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.ReviewStatus = types.ReviewStatus(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47060,7 +44733,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Status = types.DocumentStatus(jtv) } - case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -47069,7 +44741,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.StatusInformation = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -47078,7 +44749,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -47114,7 +44784,6 @@ func awsAwsjson11_deserializeOpDocumentGetInventoryOutput(v **GetInventoryOutput if err := awsAwsjson11_deserializeDocumentInventoryResultEntityList(&sv.Entities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -47123,7 +44792,6 @@ func awsAwsjson11_deserializeOpDocumentGetInventoryOutput(v **GetInventoryOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -47163,12 +44831,10 @@ func awsAwsjson11_deserializeOpDocumentGetInventorySchemaOutput(v **GetInventory } sv.NextToken = ptr.String(jtv) } - case "Schemas": if err := awsAwsjson11_deserializeDocumentInventoryItemSchemaResultList(&sv.Schemas, value); err != nil { return err } - default: _, _ = key, value @@ -47215,7 +44881,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -47231,7 +44896,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47240,7 +44904,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -47249,12 +44912,10 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.StatusDetails = ptr.String(jtv) } - case "TaskIds": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdList(&sv.TaskIds, value); err != nil { return err } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -47263,7 +44924,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.WindowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -47310,7 +44970,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } } - case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -47319,7 +44978,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.ExecutionId = ptr.String(jtv) } - case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -47328,7 +44986,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.InvocationId = ptr.String(jtv) } - case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -47337,7 +44994,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.OwnerInformation = ptr.String(jtv) } - case "Parameters": if value != nil { jtv, ok := value.(string) @@ -47346,7 +45002,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.Parameters = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -47362,7 +45017,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47371,7 +45025,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -47380,7 +45033,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.StatusDetails = ptr.String(jtv) } - case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -47389,7 +45041,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.TaskExecutionId = ptr.String(jtv) } - case "TaskType": if value != nil { jtv, ok := value.(string) @@ -47398,7 +45049,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -47407,7 +45057,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.WindowExecutionId = ptr.String(jtv) } - case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -47416,7 +45065,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -47452,7 +45100,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -47468,7 +45115,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -47477,7 +45123,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -47486,7 +45131,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.MaxErrors = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -47499,7 +45143,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Priority = int32(i64) } - case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -47508,7 +45151,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.ServiceRole = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -47524,7 +45166,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -47533,7 +45174,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } - case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -47542,7 +45182,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.StatusDetails = ptr.String(jtv) } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -47551,7 +45190,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.TaskArn = ptr.String(jtv) } - case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -47560,17 +45198,14 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.TaskExecutionId = ptr.String(jtv) } - case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParametersList(&sv.TaskParameters, value); err != nil { return err } - case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -47579,7 +45214,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Type = types.MaintenanceWindowTaskType(jtv) } - case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -47588,7 +45222,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.WindowExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -47628,7 +45261,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.AllowUnassociatedTargets = jtv } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -47644,7 +45276,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } } - case "Cutoff": if value != nil { jtv, ok := value.(json.Number) @@ -47657,7 +45288,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Cutoff = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -47666,7 +45296,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Description = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -47679,7 +45308,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Duration = ptr.Int32(int32(i64)) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -47688,7 +45316,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Enabled = jtv } - case "EndDate": if value != nil { jtv, ok := value.(string) @@ -47697,7 +45324,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.EndDate = ptr.String(jtv) } - case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -47713,7 +45339,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47722,7 +45347,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Name = ptr.String(jtv) } - case "NextExecutionTime": if value != nil { jtv, ok := value.(string) @@ -47731,7 +45355,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.NextExecutionTime = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -47740,7 +45363,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Schedule = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -47753,7 +45375,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -47762,7 +45383,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.ScheduleTimezone = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -47771,7 +45391,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.StartDate = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -47780,7 +45399,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -47816,7 +45434,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -47825,7 +45442,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -47834,12 +45450,10 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Description = ptr.String(jtv) } - case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -47848,7 +45462,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -47857,7 +45470,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -47866,7 +45478,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -47879,7 +45490,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Priority = int32(i64) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -47888,12 +45498,10 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.ServiceRoleArn = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -47902,17 +45510,14 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.TaskArn = ptr.String(jtv) } - case "TaskInvocationParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(&sv.TaskInvocationParameters, value); err != nil { return err } - case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } - case "TaskType": if value != nil { jtv, ok := value.(string) @@ -47921,7 +45526,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -47930,7 +45534,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.WindowId = ptr.String(jtv) } - case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -47939,7 +45542,6 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.WindowTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -47975,7 +45577,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsItemOutput(v **GetOpsItemOutput, va if err := awsAwsjson11_deserializeDocumentOpsItem(&sv.OpsItem, value); err != nil { return err } - default: _, _ = key, value @@ -48011,7 +45612,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu if err := awsAwsjson11_deserializeDocumentMetadataMap(&sv.Metadata, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48020,7 +45620,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu } sv.NextToken = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -48029,7 +45628,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -48065,7 +45663,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsSummaryOutput(v **GetOpsSummaryOutp if err := awsAwsjson11_deserializeDocumentOpsEntityList(&sv.Entities, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48074,7 +45671,6 @@ func awsAwsjson11_deserializeOpDocumentGetOpsSummaryOutput(v **GetOpsSummaryOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48114,12 +45710,10 @@ func awsAwsjson11_deserializeOpDocumentGetParameterHistoryOutput(v **GetParamete } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterHistoryList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -48155,7 +45749,6 @@ func awsAwsjson11_deserializeOpDocumentGetParameterOutput(v **GetParameterOutput if err := awsAwsjson11_deserializeDocumentParameter(&sv.Parameter, value); err != nil { return err } - default: _, _ = key, value @@ -48195,12 +45788,10 @@ func awsAwsjson11_deserializeOpDocumentGetParametersByPathOutput(v **GetParamete } sv.NextToken = ptr.String(jtv) } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -48236,12 +45827,10 @@ func awsAwsjson11_deserializeOpDocumentGetParametersOutput(v **GetParametersOutp if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.InvalidParameters, value); err != nil { return err } - case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -48281,7 +45870,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.BaselineId = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -48290,7 +45878,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -48299,7 +45886,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.PatchGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -48335,12 +45921,10 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli if err := awsAwsjson11_deserializeDocumentPatchRuleGroup(&sv.ApprovalRules, value); err != nil { return err } - case "ApprovedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.ApprovedPatches, value); err != nil { return err } - case "ApprovedPatchesComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -48349,7 +45933,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.ApprovedPatchesComplianceLevel = types.PatchComplianceLevel(jtv) } - case "ApprovedPatchesEnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -48358,7 +45941,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.ApprovedPatchesEnableNonSecurity = ptr.Bool(jtv) } - case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -48367,7 +45949,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.BaselineId = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -48383,7 +45964,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -48392,12 +45972,10 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.Description = ptr.String(jtv) } - case "GlobalFilters": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.GlobalFilters, value); err != nil { return err } - case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -48413,7 +45991,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48422,7 +45999,6 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -48431,17 +46007,14 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "PatchGroups": if err := awsAwsjson11_deserializeDocumentPatchGroupList(&sv.PatchGroups, value); err != nil { return err } - case "RejectedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.RejectedPatches, value); err != nil { return err } - case "RejectedPatchesAction": if value != nil { jtv, ok := value.(string) @@ -48450,12 +46023,10 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.RejectedPatchesAction = types.PatchAction(jtv) } - case "Sources": if err := awsAwsjson11_deserializeDocumentPatchSourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value @@ -48495,12 +46066,10 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } - case "Policies": if err := awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntries(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -48536,7 +46105,6 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingOutput(v **GetServiceSet if err := awsAwsjson11_deserializeDocumentServiceSetting(&sv.ServiceSetting, value); err != nil { return err } - default: _, _ = key, value @@ -48572,7 +46140,6 @@ func awsAwsjson11_deserializeOpDocumentLabelParameterVersionOutput(v **LabelPara if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.InvalidLabels, value); err != nil { return err } - case "ParameterVersion": if value != nil { jtv, ok := value.(json.Number) @@ -48585,7 +46152,6 @@ func awsAwsjson11_deserializeOpDocumentLabelParameterVersionOutput(v **LabelPara } sv.ParameterVersion = i64 } - default: _, _ = key, value @@ -48621,7 +46187,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio if err := awsAwsjson11_deserializeDocumentAssociationList(&sv.Associations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48630,7 +46195,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48666,7 +46230,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationVersionsOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentAssociationVersionList(&sv.AssociationVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48675,7 +46238,6 @@ func awsAwsjson11_deserializeOpDocumentListAssociationVersionsOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48711,7 +46273,6 @@ func awsAwsjson11_deserializeOpDocumentListCommandInvocationsOutput(v **ListComm if err := awsAwsjson11_deserializeDocumentCommandInvocationList(&sv.CommandInvocations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48720,7 +46281,6 @@ func awsAwsjson11_deserializeOpDocumentListCommandInvocationsOutput(v **ListComm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48756,7 +46316,6 @@ func awsAwsjson11_deserializeOpDocumentListCommandsOutput(v **ListCommandsOutput if err := awsAwsjson11_deserializeDocumentCommandList(&sv.Commands, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48765,7 +46324,6 @@ func awsAwsjson11_deserializeOpDocumentListCommandsOutput(v **ListCommandsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48801,7 +46359,6 @@ func awsAwsjson11_deserializeOpDocumentListComplianceItemsOutput(v **ListComplia if err := awsAwsjson11_deserializeDocumentComplianceItemList(&sv.ComplianceItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48810,7 +46367,6 @@ func awsAwsjson11_deserializeOpDocumentListComplianceItemsOutput(v **ListComplia } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48846,7 +46402,6 @@ func awsAwsjson11_deserializeOpDocumentListComplianceSummariesOutput(v **ListCom if err := awsAwsjson11_deserializeDocumentComplianceSummaryItemList(&sv.ComplianceSummaryItems, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48855,7 +46410,6 @@ func awsAwsjson11_deserializeOpDocumentListComplianceSummariesOutput(v **ListCom } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48895,7 +46449,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.Author = ptr.String(jtv) } - case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -48904,12 +46457,10 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.DocumentVersion = ptr.String(jtv) } - case "Metadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadataResponseInfo(&sv.Metadata, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -48918,7 +46469,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.Name = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48927,7 +46477,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -48963,7 +46512,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp if err := awsAwsjson11_deserializeDocumentDocumentIdentifierList(&sv.DocumentIdentifiers, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -48972,7 +46520,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -49008,7 +46555,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentVersionsOutput(v **ListDocume if err := awsAwsjson11_deserializeDocumentDocumentVersionList(&sv.DocumentVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -49017,7 +46563,6 @@ func awsAwsjson11_deserializeOpDocumentListDocumentVersionsOutput(v **ListDocume } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -49057,12 +46602,10 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.CaptureTime = ptr.String(jtv) } - case "Entries": if err := awsAwsjson11_deserializeDocumentInventoryItemEntryList(&sv.Entries, value); err != nil { return err } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -49071,7 +46614,6 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.InstanceId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -49080,7 +46622,6 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.NextToken = ptr.String(jtv) } - case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -49089,7 +46630,6 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.SchemaVersion = ptr.String(jtv) } - case "TypeName": if value != nil { jtv, ok := value.(string) @@ -49098,7 +46638,6 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.TypeName = ptr.String(jtv) } - default: _, _ = key, value @@ -49138,12 +46677,10 @@ func awsAwsjson11_deserializeOpDocumentListOpsItemEventsOutput(v **ListOpsItemEv } sv.NextToken = ptr.String(jtv) } - case "Summaries": if err := awsAwsjson11_deserializeDocumentOpsItemEventSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -49183,12 +46720,10 @@ func awsAwsjson11_deserializeOpDocumentListOpsItemRelatedItemsOutput(v **ListOps } sv.NextToken = ptr.String(jtv) } - case "Summaries": if err := awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummaries(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -49228,12 +46763,10 @@ func awsAwsjson11_deserializeOpDocumentListOpsMetadataOutput(v **ListOpsMetadata } sv.NextToken = ptr.String(jtv) } - case "OpsMetadataList": if err := awsAwsjson11_deserializeDocumentOpsMetadataList(&sv.OpsMetadataList, value); err != nil { return err } - default: _, _ = key, value @@ -49273,12 +46806,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceComplianceSummariesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "ResourceComplianceSummaryItems": if err := awsAwsjson11_deserializeDocumentResourceComplianceSummaryItemList(&sv.ResourceComplianceSummaryItems, value); err != nil { return err } - default: _, _ = key, value @@ -49318,12 +46849,10 @@ func awsAwsjson11_deserializeOpDocumentListResourceDataSyncOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } - case "ResourceDataSyncItems": if err := awsAwsjson11_deserializeDocumentResourceDataSyncItemList(&sv.ResourceDataSyncItems, value); err != nil { return err } - default: _, _ = key, value @@ -49359,7 +46888,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -49461,7 +46989,6 @@ func awsAwsjson11_deserializeOpDocumentPutInventoryOutput(v **PutInventoryOutput } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -49501,7 +47028,6 @@ func awsAwsjson11_deserializeOpDocumentPutParameterOutput(v **PutParameterOutput } sv.Tier = types.ParameterTier(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -49514,7 +47040,6 @@ func awsAwsjson11_deserializeOpDocumentPutParameterOutput(v **PutParameterOutput } sv.Version = i64 } - default: _, _ = key, value @@ -49554,7 +47079,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyHash = ptr.String(jtv) } - case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -49563,7 +47087,6 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -49603,7 +47126,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterDefaultPatchBaselineOutput(v **Re } sv.BaselineId = ptr.String(jtv) } - default: _, _ = key, value @@ -49643,7 +47165,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterPatchBaselineForPatchGroupOutput( } sv.BaselineId = ptr.String(jtv) } - case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -49652,7 +47173,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterPatchBaselineForPatchGroupOutput( } sv.PatchGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -49692,7 +47212,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterTargetWithMaintenanceWindowOutput } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -49732,7 +47251,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterTaskWithMaintenanceWindowOutput(v } sv.WindowTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -49799,7 +47317,6 @@ func awsAwsjson11_deserializeOpDocumentResetServiceSettingOutput(v **ResetServic if err := awsAwsjson11_deserializeDocumentServiceSetting(&sv.ServiceSetting, value); err != nil { return err } - default: _, _ = key, value @@ -49839,7 +47356,6 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.SessionId = ptr.String(jtv) } - case "StreamUrl": if value != nil { jtv, ok := value.(string) @@ -49848,7 +47364,6 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.StreamUrl = ptr.String(jtv) } - case "TokenValue": if value != nil { jtv, ok := value.(string) @@ -49857,7 +47372,6 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.TokenValue = ptr.String(jtv) } - default: _, _ = key, value @@ -49924,7 +47438,6 @@ func awsAwsjson11_deserializeOpDocumentSendCommandOutput(v **SendCommandOutput, if err := awsAwsjson11_deserializeDocumentCommand(&sv.Command, value); err != nil { return err } - default: _, _ = key, value @@ -49995,7 +47508,6 @@ func awsAwsjson11_deserializeOpDocumentStartAutomationExecutionOutput(v **StartA } sv.AutomationExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -50035,7 +47547,6 @@ func awsAwsjson11_deserializeOpDocumentStartChangeRequestExecutionOutput(v **Sta } sv.AutomationExecutionId = ptr.String(jtv) } - default: _, _ = key, value @@ -50075,7 +47586,6 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.SessionId = ptr.String(jtv) } - case "StreamUrl": if value != nil { jtv, ok := value.(string) @@ -50084,7 +47594,6 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.StreamUrl = ptr.String(jtv) } - case "TokenValue": if value != nil { jtv, ok := value.(string) @@ -50093,7 +47602,6 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.TokenValue = ptr.String(jtv) } - default: _, _ = key, value @@ -50164,7 +47672,6 @@ func awsAwsjson11_deserializeOpDocumentTerminateSessionOutput(v **TerminateSessi } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -50200,12 +47707,10 @@ func awsAwsjson11_deserializeOpDocumentUnlabelParameterVersionOutput(v **Unlabel if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.InvalidLabels, value); err != nil { return err } - case "RemovedLabels": if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.RemovedLabels, value); err != nil { return err } - default: _, _ = key, value @@ -50241,7 +47746,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAssociationOutput(v **UpdateAssocia if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -50277,7 +47781,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAssociationStatusOutput(v **UpdateA if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } - default: _, _ = key, value @@ -50313,7 +47816,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDocumentDefaultVersionOutput(v **Up if err := awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(&sv.Description, value); err != nil { return err } - default: _, _ = key, value @@ -50380,7 +47882,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateDocumentOutput(v **UpdateDocumentOu if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.DocumentDescription, value); err != nil { return err } - default: _, _ = key, value @@ -50420,7 +47921,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.AllowUnassociatedTargets = jtv } - case "Cutoff": if value != nil { jtv, ok := value.(json.Number) @@ -50433,7 +47933,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Cutoff = int32(i64) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50442,7 +47941,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Description = ptr.String(jtv) } - case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -50455,7 +47953,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Duration = ptr.Int32(int32(i64)) } - case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -50464,7 +47961,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Enabled = jtv } - case "EndDate": if value != nil { jtv, ok := value.(string) @@ -50473,7 +47969,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.EndDate = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50482,7 +47977,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Name = ptr.String(jtv) } - case "Schedule": if value != nil { jtv, ok := value.(string) @@ -50491,7 +47985,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Schedule = ptr.String(jtv) } - case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -50504,7 +47997,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.ScheduleOffset = ptr.Int32(int32(i64)) } - case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -50513,7 +48005,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.ScheduleTimezone = ptr.String(jtv) } - case "StartDate": if value != nil { jtv, ok := value.(string) @@ -50522,7 +48013,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.StartDate = ptr.String(jtv) } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -50531,7 +48021,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.WindowId = ptr.String(jtv) } - default: _, _ = key, value @@ -50571,7 +48060,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50580,7 +48068,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.Name = ptr.String(jtv) } - case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -50589,12 +48076,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.OwnerInformation = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -50603,7 +48088,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.WindowId = ptr.String(jtv) } - case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -50612,7 +48096,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.WindowTargetId = ptr.String(jtv) } - default: _, _ = key, value @@ -50648,7 +48131,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } - case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -50657,7 +48139,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50666,12 +48147,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Description = ptr.String(jtv) } - case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } - case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -50680,7 +48159,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.MaxConcurrency = ptr.String(jtv) } - case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -50689,7 +48167,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.MaxErrors = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50698,7 +48175,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Name = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -50711,7 +48187,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Priority = int32(i64) } - case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -50720,12 +48195,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.ServiceRoleArn = ptr.String(jtv) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } - case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -50734,17 +48207,14 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.TaskArn = ptr.String(jtv) } - case "TaskInvocationParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(&sv.TaskInvocationParameters, value); err != nil { return err } - case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } - case "WindowId": if value != nil { jtv, ok := value.(string) @@ -50753,7 +48223,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.WindowId = ptr.String(jtv) } - case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -50762,7 +48231,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.WindowTaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -50864,7 +48332,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateOpsMetadataOutput(v **UpdateOpsMeta } sv.OpsMetadataArn = ptr.String(jtv) } - default: _, _ = key, value @@ -50900,12 +48367,10 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch if err := awsAwsjson11_deserializeDocumentPatchRuleGroup(&sv.ApprovalRules, value); err != nil { return err } - case "ApprovedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.ApprovedPatches, value); err != nil { return err } - case "ApprovedPatchesComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -50914,7 +48379,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.ApprovedPatchesComplianceLevel = types.PatchComplianceLevel(jtv) } - case "ApprovedPatchesEnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -50923,7 +48387,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.ApprovedPatchesEnableNonSecurity = ptr.Bool(jtv) } - case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -50932,7 +48395,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.BaselineId = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -50948,7 +48410,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -50957,12 +48418,10 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.Description = ptr.String(jtv) } - case "GlobalFilters": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.GlobalFilters, value); err != nil { return err } - case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -50978,7 +48437,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -50987,7 +48445,6 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -50996,12 +48453,10 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.OperatingSystem = types.OperatingSystem(jtv) } - case "RejectedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.RejectedPatches, value); err != nil { return err } - case "RejectedPatchesAction": if value != nil { jtv, ok := value.(string) @@ -51010,12 +48465,10 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.RejectedPatchesAction = types.PatchAction(jtv) } - case "Sources": if err := awsAwsjson11_deserializeDocumentPatchSourceList(&sv.Sources, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/ssmcontacts/deserializers.go b/service/ssmcontacts/deserializers.go index 880c9a333f7..6c9e8e99b09 100644 --- a/service/ssmcontacts/deserializers.go +++ b/service/ssmcontacts/deserializers.go @@ -5186,15 +5186,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5202,15 +5196,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5245,7 +5235,6 @@ func awsAwsjson11_deserializeDocumentChannelTargetInfo(v **types.ChannelTargetIn } sv.ContactChannelId = ptr.String(jtv) } - case "RetryIntervalInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5258,7 +5247,6 @@ func awsAwsjson11_deserializeDocumentChannelTargetInfo(v **types.ChannelTargetIn } sv.RetryIntervalInMinutes = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5288,20 +5276,13 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "DependentEntities": if err := awsAwsjson11_deserializeDocumentDependentEntityList(&sv.DependentEntities, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5309,7 +5290,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5318,7 +5298,6 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5327,15 +5306,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5370,7 +5345,6 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Alias = ptr.String(jtv) } - case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -5379,7 +5353,6 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.ContactArn = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -5388,7 +5361,6 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.DisplayName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5397,7 +5369,6 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Type = types.ContactType(jtv) } - default: _, _ = key, value @@ -5437,7 +5408,6 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ActivationStatus = types.ActivationStatus(jtv) } - case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -5446,7 +5416,6 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ContactArn = ptr.String(jtv) } - case "ContactChannelArn": if value != nil { jtv, ok := value.(string) @@ -5455,12 +5424,10 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ContactChannelArn = ptr.String(jtv) } - case "DeliveryAddress": if err := awsAwsjson11_deserializeDocumentContactChannelAddress(&sv.DeliveryAddress, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5469,7 +5436,6 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5478,7 +5444,6 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -5518,7 +5483,6 @@ func awsAwsjson11_deserializeDocumentContactChannelAddress(v **types.ContactChan } sv.SimpleAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -5626,7 +5590,6 @@ func awsAwsjson11_deserializeDocumentContactTargetInfo(v **types.ContactTargetIn } sv.ContactId = ptr.String(jtv) } - case "IsEssential": if value != nil { jtv, ok := value.(bool) @@ -5635,7 +5598,6 @@ func awsAwsjson11_deserializeDocumentContactTargetInfo(v **types.ContactTargetIn } sv.IsEssential = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5671,12 +5633,10 @@ func awsAwsjson11_deserializeDocumentCoverageTime(v **types.CoverageTime, value if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.End, value); err != nil { return err } - case "Start": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.Start, value); err != nil { return err } - default: _, _ = key, value @@ -5774,15 +5734,9 @@ func awsAwsjson11_deserializeDocumentDataEncryptionException(v **types.DataEncry sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5790,15 +5744,11 @@ func awsAwsjson11_deserializeDocumentDataEncryptionException(v **types.DataEncry } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5829,7 +5779,6 @@ func awsAwsjson11_deserializeDocumentDependentEntity(v **types.DependentEntity, if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.DependentResourceIds, value); err != nil { return err } - case "RelationType": if value != nil { jtv, ok := value.(string) @@ -5838,7 +5787,6 @@ func awsAwsjson11_deserializeDocumentDependentEntity(v **types.DependentEntity, } sv.RelationType = ptr.String(jtv) } - default: _, _ = key, value @@ -5912,7 +5860,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.ContactArn = ptr.String(jtv) } - case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -5921,7 +5868,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.EngagementArn = ptr.String(jtv) } - case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -5930,7 +5876,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.IncidentId = ptr.String(jtv) } - case "Sender": if value != nil { jtv, ok := value.(string) @@ -5939,7 +5884,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.Sender = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5955,7 +5899,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } } - case "StopTime": if value != nil { switch jtv := value.(type) { @@ -5971,7 +5914,6 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } } - default: _, _ = key, value @@ -6049,7 +5991,6 @@ func awsAwsjson11_deserializeDocumentHandOffTime(v **types.HandOffTime, value in } sv.HourOfDay = int32(i64) } - case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -6062,7 +6003,6 @@ func awsAwsjson11_deserializeDocumentHandOffTime(v **types.HandOffTime, value in } sv.MinuteOfHour = int32(i64) } - default: _, _ = key, value @@ -6092,15 +6032,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6108,7 +6042,6 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6121,15 +6054,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6168,12 +6097,10 @@ func awsAwsjson11_deserializeDocumentMonthlySetting(v **types.MonthlySetting, va } sv.DayOfMonth = ptr.Int32(int32(i64)) } - case "HandOffTime": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.HandOffTime, value); err != nil { return err } - default: _, _ = key, value @@ -6247,7 +6174,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.ContactArn = ptr.String(jtv) } - case "DeliveryTime": if value != nil { switch jtv := value.(type) { @@ -6263,7 +6189,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } - case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -6272,7 +6197,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.EngagementArn = ptr.String(jtv) } - case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -6281,7 +6205,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.IncidentId = ptr.String(jtv) } - case "PageArn": if value != nil { jtv, ok := value.(string) @@ -6290,7 +6213,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageArn = ptr.String(jtv) } - case "ReadTime": if value != nil { switch jtv := value.(type) { @@ -6306,7 +6228,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } - case "Sender": if value != nil { jtv, ok := value.(string) @@ -6315,7 +6236,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.Sender = ptr.String(jtv) } - case "SentTime": if value != nil { switch jtv := value.(type) { @@ -6331,7 +6251,6 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } - default: _, _ = key, value @@ -6401,12 +6320,10 @@ func awsAwsjson11_deserializeDocumentPlan(v **types.Plan, value interface{}) err if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.RotationIds, value); err != nil { return err } - case "Stages": if err := awsAwsjson11_deserializeDocumentStagesList(&sv.Stages, value); err != nil { return err } - default: _, _ = key, value @@ -6446,7 +6363,6 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ContactChannelArn = ptr.String(jtv) } - case "ReceiptInfo": if value != nil { jtv, ok := value.(string) @@ -6455,7 +6371,6 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReceiptInfo = ptr.String(jtv) } - case "ReceiptTime": if value != nil { switch jtv := value.(type) { @@ -6471,7 +6386,6 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } } - case "ReceiptType": if value != nil { jtv, ok := value.(string) @@ -6480,7 +6394,6 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReceiptType = types.ReceiptType(jtv) } - default: _, _ = key, value @@ -6550,12 +6463,10 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett if err := awsAwsjson11_deserializeDocumentDailySettings(&sv.DailySettings, value); err != nil { return err } - case "MonthlySettings": if err := awsAwsjson11_deserializeDocumentMonthlySettings(&sv.MonthlySettings, value); err != nil { return err } - case "NumberOfOnCalls": if value != nil { jtv, ok := value.(json.Number) @@ -6568,7 +6479,6 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett } sv.NumberOfOnCalls = ptr.Int32(int32(i64)) } - case "RecurrenceMultiplier": if value != nil { jtv, ok := value.(json.Number) @@ -6581,17 +6491,14 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett } sv.RecurrenceMultiplier = ptr.Int32(int32(i64)) } - case "ShiftCoverages": if err := awsAwsjson11_deserializeDocumentShiftCoveragesMap(&sv.ShiftCoverages, value); err != nil { return err } - case "WeeklySettings": if err := awsAwsjson11_deserializeDocumentWeeklySettings(&sv.WeeklySettings, value); err != nil { return err } - default: _, _ = key, value @@ -6631,7 +6538,6 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.ContactArn = ptr.String(jtv) } - case "StageIndex": if value != nil { jtv, ok := value.(json.Number) @@ -6644,7 +6550,6 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.StageIndex = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6653,7 +6558,6 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.Type = types.ContactType(jtv) } - default: _, _ = key, value @@ -6717,15 +6621,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6733,7 +6631,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6742,7 +6639,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6751,15 +6647,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6790,7 +6682,6 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.ContactIds, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6799,12 +6690,10 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.Name = ptr.String(jtv) } - case "Recurrence": if err := awsAwsjson11_deserializeDocumentRecurrenceSettings(&sv.Recurrence, value); err != nil { return err } - case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -6813,7 +6702,6 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.RotationArn = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6829,7 +6717,6 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } } - case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -6838,7 +6725,6 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.TimeZoneId = ptr.String(jtv) } - default: _, _ = key, value @@ -6921,7 +6807,6 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -6937,12 +6822,10 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } - case "NewContactIds": if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.NewContactIds, value); err != nil { return err } - case "RotationOverrideId": if value != nil { jtv, ok := value.(string) @@ -6951,7 +6834,6 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } sv.RotationOverrideId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6967,7 +6849,6 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } - default: _, _ = key, value @@ -7071,7 +6952,6 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.ContactIds, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7087,12 +6967,10 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } } - case "ShiftDetails": if err := awsAwsjson11_deserializeDocumentShiftDetails(&sv.ShiftDetails, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7108,7 +6986,6 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7117,7 +6994,6 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } sv.Type = types.ShiftType(jtv) } - default: _, _ = key, value @@ -7181,15 +7057,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7197,7 +7067,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7206,7 +7075,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7215,7 +7083,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7224,7 +7091,6 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7233,15 +7099,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7306,7 +7168,6 @@ func awsAwsjson11_deserializeDocumentShiftDetails(v **types.ShiftDetails, value if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.OverriddenContactIds, value); err != nil { return err } - default: _, _ = key, value @@ -7386,12 +7247,10 @@ func awsAwsjson11_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DurationInMinutes = ptr.Int32(int32(i64)) } - case "Targets": if err := awsAwsjson11_deserializeDocumentTargetsList(&sv.Targets, value); err != nil { return err } - default: _, _ = key, value @@ -7465,7 +7324,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7474,7 +7332,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7544,12 +7401,10 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) if err := awsAwsjson11_deserializeDocumentChannelTargetInfo(&sv.ChannelTargetInfo, value); err != nil { return err } - case "ContactTargetInfo": if err := awsAwsjson11_deserializeDocumentContactTargetInfo(&sv.ContactTargetInfo, value); err != nil { return err } - default: _, _ = key, value @@ -7613,15 +7468,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7629,7 +7478,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7638,7 +7486,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7651,7 +7498,6 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7660,15 +7506,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7693,20 +7535,13 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7714,7 +7549,6 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -7723,15 +7557,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7766,7 +7596,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7775,7 +7604,6 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7849,12 +7677,10 @@ func awsAwsjson11_deserializeDocumentWeeklySetting(v **types.WeeklySetting, valu } sv.DayOfWeek = types.DayOfWeek(jtv) } - case "HandOffTime": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.HandOffTime, value); err != nil { return err } - default: _, _ = key, value @@ -7990,7 +7816,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContactChannelOutput(v **CreateCont } sv.ContactChannelArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8030,7 +7855,6 @@ func awsAwsjson11_deserializeOpDocumentCreateContactOutput(v **CreateContactOutp } sv.ContactArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8070,7 +7894,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRotationOutput(v **CreateRotationOu } sv.RotationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8110,7 +7933,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRotationOverrideOutput(v **CreateRo } sv.RotationOverrideId = ptr.String(jtv) } - default: _, _ = key, value @@ -8305,7 +8127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.ContactArn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -8314,7 +8135,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Content = ptr.String(jtv) } - case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -8323,7 +8143,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.EngagementArn = ptr.String(jtv) } - case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -8332,7 +8151,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.IncidentId = ptr.String(jtv) } - case "PublicContent": if value != nil { jtv, ok := value.(string) @@ -8341,7 +8159,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.PublicContent = ptr.String(jtv) } - case "PublicSubject": if value != nil { jtv, ok := value.(string) @@ -8350,7 +8167,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.PublicSubject = ptr.String(jtv) } - case "Sender": if value != nil { jtv, ok := value.(string) @@ -8359,7 +8175,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Sender = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8375,7 +8190,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } } - case "StopTime": if value != nil { switch jtv := value.(type) { @@ -8391,7 +8205,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -8400,7 +8213,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -8440,7 +8252,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.ContactArn = ptr.String(jtv) } - case "Content": if value != nil { jtv, ok := value.(string) @@ -8449,7 +8260,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Content = ptr.String(jtv) } - case "DeliveryTime": if value != nil { switch jtv := value.(type) { @@ -8465,7 +8275,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } - case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -8474,7 +8283,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.EngagementArn = ptr.String(jtv) } - case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -8483,7 +8291,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.IncidentId = ptr.String(jtv) } - case "PageArn": if value != nil { jtv, ok := value.(string) @@ -8492,7 +8299,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PageArn = ptr.String(jtv) } - case "PublicContent": if value != nil { jtv, ok := value.(string) @@ -8501,7 +8307,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PublicContent = ptr.String(jtv) } - case "PublicSubject": if value != nil { jtv, ok := value.(string) @@ -8510,7 +8315,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PublicSubject = ptr.String(jtv) } - case "ReadTime": if value != nil { switch jtv := value.(type) { @@ -8526,7 +8330,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } - case "Sender": if value != nil { jtv, ok := value.(string) @@ -8535,7 +8338,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Sender = ptr.String(jtv) } - case "SentTime": if value != nil { switch jtv := value.(type) { @@ -8551,7 +8353,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } - case "Subject": if value != nil { jtv, ok := value.(string) @@ -8560,7 +8361,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Subject = ptr.String(jtv) } - default: _, _ = key, value @@ -8600,7 +8400,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ActivationStatus = types.ActivationStatus(jtv) } - case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -8609,7 +8408,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ContactArn = ptr.String(jtv) } - case "ContactChannelArn": if value != nil { jtv, ok := value.(string) @@ -8618,12 +8416,10 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ContactChannelArn = ptr.String(jtv) } - case "DeliveryAddress": if err := awsAwsjson11_deserializeDocumentContactChannelAddress(&sv.DeliveryAddress, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8632,7 +8428,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8641,7 +8436,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.Type = types.ChannelType(jtv) } - default: _, _ = key, value @@ -8681,7 +8475,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.Alias = ptr.String(jtv) } - case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -8690,7 +8483,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.ContactArn = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -8699,12 +8491,10 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.DisplayName = ptr.String(jtv) } - case "Plan": if err := awsAwsjson11_deserializeDocumentPlan(&sv.Plan, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8713,7 +8503,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.Type = types.ContactType(jtv) } - default: _, _ = key, value @@ -8753,7 +8542,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactPolicyOutput(v **GetContactPoli } sv.ContactArn = ptr.String(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -8762,7 +8550,6 @@ func awsAwsjson11_deserializeOpDocumentGetContactPolicyOutput(v **GetContactPoli } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -8798,7 +8585,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, if err := awsAwsjson11_deserializeDocumentRotationContactsArnList(&sv.ContactIds, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8807,12 +8593,10 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.Name = ptr.String(jtv) } - case "Recurrence": if err := awsAwsjson11_deserializeDocumentRecurrenceSettings(&sv.Recurrence, value); err != nil { return err } - case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -8821,7 +8605,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.RotationArn = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8837,7 +8620,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } } - case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -8846,7 +8628,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.TimeZoneId = ptr.String(jtv) } - default: _, _ = key, value @@ -8893,7 +8674,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8909,12 +8689,10 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } - case "NewContactIds": if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.NewContactIds, value); err != nil { return err } - case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -8923,7 +8701,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } sv.RotationArn = ptr.String(jtv) } - case "RotationOverrideId": if value != nil { jtv, ok := value.(string) @@ -8932,7 +8709,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } sv.RotationOverrideId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8948,7 +8724,6 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } - default: _, _ = key, value @@ -8984,7 +8759,6 @@ func awsAwsjson11_deserializeOpDocumentListContactChannelsOutput(v **ListContact if err := awsAwsjson11_deserializeDocumentContactChannelList(&sv.ContactChannels, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8993,7 +8767,6 @@ func awsAwsjson11_deserializeOpDocumentListContactChannelsOutput(v **ListContact } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9029,7 +8802,6 @@ func awsAwsjson11_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsAwsjson11_deserializeDocumentContactsList(&sv.Contacts, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9038,7 +8810,6 @@ func awsAwsjson11_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9074,7 +8845,6 @@ func awsAwsjson11_deserializeOpDocumentListEngagementsOutput(v **ListEngagements if err := awsAwsjson11_deserializeDocumentEngagementsList(&sv.Engagements, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9083,7 +8853,6 @@ func awsAwsjson11_deserializeOpDocumentListEngagementsOutput(v **ListEngagements } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9123,12 +8892,10 @@ func awsAwsjson11_deserializeOpDocumentListPageReceiptsOutput(v **ListPageReceip } sv.NextToken = ptr.String(jtv) } - case "Receipts": if err := awsAwsjson11_deserializeDocumentReceiptsList(&sv.Receipts, value); err != nil { return err } - default: _, _ = key, value @@ -9168,12 +8935,10 @@ func awsAwsjson11_deserializeOpDocumentListPageResolutionsOutput(v **ListPageRes } sv.NextToken = ptr.String(jtv) } - case "PageResolutions": if err := awsAwsjson11_deserializeDocumentResolutionList(&sv.PageResolutions, value); err != nil { return err } - default: _, _ = key, value @@ -9213,12 +8978,10 @@ func awsAwsjson11_deserializeOpDocumentListPagesByContactOutput(v **ListPagesByC } sv.NextToken = ptr.String(jtv) } - case "Pages": if err := awsAwsjson11_deserializeDocumentPagesList(&sv.Pages, value); err != nil { return err } - default: _, _ = key, value @@ -9258,12 +9021,10 @@ func awsAwsjson11_deserializeOpDocumentListPagesByEngagementOutput(v **ListPages } sv.NextToken = ptr.String(jtv) } - case "Pages": if err := awsAwsjson11_deserializeDocumentPagesList(&sv.Pages, value); err != nil { return err } - default: _, _ = key, value @@ -9303,12 +9064,10 @@ func awsAwsjson11_deserializeOpDocumentListPreviewRotationShiftsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } - case "RotationShifts": if err := awsAwsjson11_deserializeDocumentRotationShifts(&sv.RotationShifts, value); err != nil { return err } - default: _, _ = key, value @@ -9348,12 +9107,10 @@ func awsAwsjson11_deserializeOpDocumentListRotationOverridesOutput(v **ListRotat } sv.NextToken = ptr.String(jtv) } - case "RotationOverrides": if err := awsAwsjson11_deserializeDocumentRotationOverrides(&sv.RotationOverrides, value); err != nil { return err } - default: _, _ = key, value @@ -9393,12 +9150,10 @@ func awsAwsjson11_deserializeOpDocumentListRotationShiftsOutput(v **ListRotation } sv.NextToken = ptr.String(jtv) } - case "RotationShifts": if err := awsAwsjson11_deserializeDocumentRotationShifts(&sv.RotationShifts, value); err != nil { return err } - default: _, _ = key, value @@ -9438,12 +9193,10 @@ func awsAwsjson11_deserializeOpDocumentListRotationsOutput(v **ListRotationsOutp } sv.NextToken = ptr.String(jtv) } - case "Rotations": if err := awsAwsjson11_deserializeDocumentRotations(&sv.Rotations, value); err != nil { return err } - default: _, _ = key, value @@ -9479,7 +9232,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9581,7 +9333,6 @@ func awsAwsjson11_deserializeOpDocumentStartEngagementOutput(v **StartEngagement } sv.EngagementArn = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/ssmincidents/deserializers.go b/service/ssmincidents/deserializers.go index 4458f31bcd8..48dd20b7e26 100644 --- a/service/ssmincidents/deserializers.go +++ b/service/ssmincidents/deserializers.go @@ -183,12 +183,10 @@ func awsRestjson1_deserializeOpDocumentBatchGetIncidentFindingsOutput(v **BatchG if err := awsRestjson1_deserializeDocumentBatchGetIncidentFindingsErrorList(&sv.Errors, value); err != nil { return err } - case "findings": if err := awsRestjson1_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } - default: _, _ = key, value @@ -359,7 +357,6 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationSetOutput(v **CreateRepl } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -530,7 +527,6 @@ func awsRestjson1_deserializeOpDocumentCreateResponsePlanOutput(v **CreateRespon } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -701,7 +697,6 @@ func awsRestjson1_deserializeOpDocumentCreateTimelineEventOutput(v **CreateTimel } sv.EventId = ptr.String(jtv) } - case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -710,7 +705,6 @@ func awsRestjson1_deserializeOpDocumentCreateTimelineEventOutput(v **CreateTimel } sv.IncidentRecordArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1365,7 +1359,6 @@ func awsRestjson1_deserializeOpDocumentGetIncidentRecordOutput(v **GetIncidentRe if err := awsRestjson1_deserializeDocumentIncidentRecord(&sv.IncidentRecord, value); err != nil { return err } - default: _, _ = key, value @@ -1529,7 +1522,6 @@ func awsRestjson1_deserializeOpDocumentGetReplicationSetOutput(v **GetReplicatio if err := awsRestjson1_deserializeDocumentReplicationSet(&sv.ReplicationSet, value); err != nil { return err } - default: _, _ = key, value @@ -1697,12 +1689,10 @@ func awsRestjson1_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } - case "resourcePolicies": if err := awsRestjson1_deserializeDocumentResourcePolicyList(&sv.ResourcePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -1866,7 +1856,6 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan if err := awsRestjson1_deserializeDocumentActionsList(&sv.Actions, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1875,12 +1864,10 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.Arn = ptr.String(jtv) } - case "chatChannel": if err := awsRestjson1_deserializeDocumentChatChannel(&sv.ChatChannel, value); err != nil { return err } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -1889,22 +1876,18 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.DisplayName = ptr.String(jtv) } - case "engagements": if err := awsRestjson1_deserializeDocumentEngagementSet(&sv.Engagements, value); err != nil { return err } - case "incidentTemplate": if err := awsRestjson1_deserializeDocumentIncidentTemplate(&sv.IncidentTemplate, value); err != nil { return err } - case "integrations": if err := awsRestjson1_deserializeDocumentIntegrations(&sv.Integrations, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -1913,7 +1896,6 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2077,7 +2059,6 @@ func awsRestjson1_deserializeOpDocumentGetTimelineEventOutput(v **GetTimelineEve if err := awsRestjson1_deserializeDocumentTimelineEvent(&sv.Event, value); err != nil { return err } - default: _, _ = key, value @@ -2241,7 +2222,6 @@ func awsRestjson1_deserializeOpDocumentListIncidentFindingsOutput(v **ListIncide if err := awsRestjson1_deserializeDocumentFindingSummaryList(&sv.Findings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2250,7 +2230,6 @@ func awsRestjson1_deserializeOpDocumentListIncidentFindingsOutput(v **ListIncide } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2411,7 +2390,6 @@ func awsRestjson1_deserializeOpDocumentListIncidentRecordsOutput(v **ListInciden if err := awsRestjson1_deserializeDocumentIncidentRecordSummaryList(&sv.IncidentRecordSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2420,7 +2398,6 @@ func awsRestjson1_deserializeOpDocumentListIncidentRecordsOutput(v **ListInciden } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2585,12 +2562,10 @@ func awsRestjson1_deserializeOpDocumentListRelatedItemsOutput(v **ListRelatedIte } sv.NextToken = ptr.String(jtv) } - case "relatedItems": if err := awsRestjson1_deserializeDocumentRelatedItemList(&sv.RelatedItems, value); err != nil { return err } - default: _, _ = key, value @@ -2755,12 +2730,10 @@ func awsRestjson1_deserializeOpDocumentListReplicationSetsOutput(v **ListReplica } sv.NextToken = ptr.String(jtv) } - case "replicationSetArns": if err := awsRestjson1_deserializeDocumentReplicationSetArnList(&sv.ReplicationSetArns, value); err != nil { return err } - default: _, _ = key, value @@ -2925,12 +2898,10 @@ func awsRestjson1_deserializeOpDocumentListResponsePlansOutput(v **ListResponseP } sv.NextToken = ptr.String(jtv) } - case "responsePlanSummaries": if err := awsRestjson1_deserializeDocumentResponsePlanSummaryList(&sv.ResponsePlanSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -3094,7 +3065,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3255,7 +3225,6 @@ func awsRestjson1_deserializeOpDocumentListTimelineEventsOutput(v **ListTimeline if err := awsRestjson1_deserializeDocumentEventSummaryList(&sv.EventSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3264,7 +3233,6 @@ func awsRestjson1_deserializeOpDocumentListTimelineEventsOutput(v **ListTimeline } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3432,7 +3400,6 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -3603,7 +3570,6 @@ func awsRestjson1_deserializeOpDocumentStartIncidentOutput(v **StartIncidentOutp } sv.IncidentRecordArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4709,15 +4675,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4725,15 +4685,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4914,7 +4870,6 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.Code = ptr.String(jtv) } - case "findingId": if value != nil { jtv, ok := value.(string) @@ -4923,7 +4878,6 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.FindingId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -4932,7 +4886,6 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -5097,7 +5050,6 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } } - case "stackArn": if value != nil { jtv, ok := value.(string) @@ -5106,7 +5058,6 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } sv.StackArn = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -5122,7 +5073,6 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } } - default: _, _ = key, value @@ -5162,7 +5112,6 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } sv.DeploymentGroupArn = ptr.String(jtv) } - case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -5171,7 +5120,6 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } sv.DeploymentId = ptr.String(jtv) } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -5187,7 +5135,6 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -5203,7 +5150,6 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } } - default: _, _ = key, value @@ -5233,15 +5179,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5249,7 +5189,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -5258,7 +5197,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceIdentifier = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5267,7 +5205,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } - case "retryAfter": if value != nil { switch jtv := value.(type) { @@ -5283,15 +5220,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5555,12 +5488,10 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.EventId = ptr.String(jtv) } - case "eventReferences": if err := awsRestjson1_deserializeDocumentEventReferenceList(&sv.EventReferences, value); err != nil { return err } - case "eventTime": if value != nil { switch jtv := value.(type) { @@ -5576,7 +5507,6 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -5585,7 +5515,6 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.EventType = ptr.String(jtv) } - case "eventUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5601,7 +5530,6 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } } - case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -5610,7 +5538,6 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.IncidentRecordArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5691,12 +5618,10 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - case "details": if err := awsRestjson1_deserializeDocumentFindingDetails(&sv.Details, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -5705,7 +5630,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5721,7 +5645,6 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } - default: _, _ = key, value @@ -5845,7 +5768,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Id = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5861,7 +5783,6 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } } - default: _, _ = key, value @@ -5935,17 +5856,14 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Arn = ptr.String(jtv) } - case "automationExecutions": if err := awsRestjson1_deserializeDocumentAutomationExecutionSet(&sv.AutomationExecutions, value); err != nil { return err } - case "chatChannel": if err := awsRestjson1_deserializeDocumentChatChannel(&sv.ChatChannel, value); err != nil { return err } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5961,7 +5879,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } - case "dedupeString": if value != nil { jtv, ok := value.(string) @@ -5970,7 +5887,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.DedupeString = ptr.String(jtv) } - case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -5983,12 +5899,10 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Impact = ptr.Int32(int32(i64)) } - case "incidentRecordSource": if err := awsRestjson1_deserializeDocumentIncidentRecordSource(&sv.IncidentRecordSource, value); err != nil { return err } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -5997,7 +5911,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6013,12 +5926,10 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } - case "notificationTargets": if err := awsRestjson1_deserializeDocumentNotificationTargetSet(&sv.NotificationTargets, value); err != nil { return err } - case "resolvedTime": if value != nil { switch jtv := value.(type) { @@ -6034,7 +5945,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6043,7 +5953,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Status = types.IncidentRecordStatus(jtv) } - case "summary": if value != nil { jtv, ok := value.(string) @@ -6052,7 +5961,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Summary = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6061,7 +5969,6 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6101,7 +6008,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.CreatedBy = ptr.String(jtv) } - case "invokedBy": if value != nil { jtv, ok := value.(string) @@ -6110,7 +6016,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.InvokedBy = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6119,7 +6024,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.ResourceArn = ptr.String(jtv) } - case "source": if value != nil { jtv, ok := value.(string) @@ -6128,7 +6032,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.Source = ptr.String(jtv) } - default: _, _ = key, value @@ -6168,7 +6071,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Arn = ptr.String(jtv) } - case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6184,7 +6086,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } } - case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -6197,12 +6098,10 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Impact = ptr.Int32(int32(i64)) } - case "incidentRecordSource": if err := awsRestjson1_deserializeDocumentIncidentRecordSource(&sv.IncidentRecordSource, value); err != nil { return err } - case "resolvedTime": if value != nil { switch jtv := value.(type) { @@ -6218,7 +6117,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } } - case "status": if value != nil { jtv, ok := value.(string) @@ -6227,7 +6125,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Status = types.IncidentRecordStatus(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6236,7 +6133,6 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6310,7 +6206,6 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.DedupeString = ptr.String(jtv) } - case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -6323,17 +6218,14 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Impact = ptr.Int32(int32(i64)) } - case "incidentTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.IncidentTags, value); err != nil { return err } - case "notificationTargets": if err := awsRestjson1_deserializeDocumentNotificationTargetSet(&sv.NotificationTargets, value); err != nil { return err } - case "summary": if value != nil { jtv, ok := value.(string) @@ -6342,7 +6234,6 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Summary = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -6351,7 +6242,6 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -6453,15 +6343,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6469,15 +6353,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6512,12 +6392,10 @@ func awsRestjson1_deserializeDocumentItemIdentifier(v **types.ItemIdentifier, va } sv.Type = types.ItemType(jtv) } - case "value": if err := awsRestjson1_deserializeDocumentItemValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -6707,12 +6585,10 @@ func awsRestjson1_deserializeDocumentPagerDutyConfiguration(v **types.PagerDutyC } sv.Name = ptr.String(jtv) } - case "pagerDutyIncidentConfiguration": if err := awsRestjson1_deserializeDocumentPagerDutyIncidentConfiguration(&sv.PagerDutyIncidentConfiguration, value); err != nil { return err } - case "secretId": if value != nil { jtv, ok := value.(string) @@ -6721,7 +6597,6 @@ func awsRestjson1_deserializeDocumentPagerDutyConfiguration(v **types.PagerDutyC } sv.SecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -6761,7 +6636,6 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentConfiguration(v **types.Pa } sv.ServiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -6801,7 +6675,6 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.AutoResolve = ptr.Bool(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6810,7 +6683,6 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.Id = ptr.String(jtv) } - case "secretId": if value != nil { jtv, ok := value.(string) @@ -6819,7 +6691,6 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.SecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -6859,7 +6730,6 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.SseKmsKeyId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6868,7 +6738,6 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.Status = types.RegionStatus(jtv) } - case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6877,7 +6746,6 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.StatusMessage = ptr.String(jtv) } - case "statusUpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -6893,7 +6761,6 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } } - default: _, _ = key, value @@ -6968,12 +6835,10 @@ func awsRestjson1_deserializeDocumentRelatedItem(v **types.RelatedItem, value in } sv.GeneratedId = ptr.String(jtv) } - case "identifier": if err := awsRestjson1_deserializeDocumentItemIdentifier(&sv.Identifier, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -6982,7 +6847,6 @@ func awsRestjson1_deserializeDocumentRelatedItem(v **types.RelatedItem, value in } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -7056,7 +6920,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7065,7 +6928,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.CreatedBy = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7081,7 +6943,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } } - case "deletionProtected": if value != nil { jtv, ok := value.(bool) @@ -7090,7 +6951,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.DeletionProtected = ptr.Bool(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -7099,7 +6959,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7115,12 +6974,10 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } } - case "regionMap": if err := awsRestjson1_deserializeDocumentRegionInfoMap(&sv.RegionMap, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -7129,7 +6986,6 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.Status = types.ReplicationSetStatus(jtv) } - default: _, _ = key, value @@ -7195,15 +7051,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7211,7 +7061,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -7220,7 +7069,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceIdentifier = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7229,15 +7077,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7272,7 +7116,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } - case "policyId": if value != nil { jtv, ok := value.(string) @@ -7281,7 +7124,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyId = ptr.String(jtv) } - case "ramResourceShareRegion": if value != nil { jtv, ok := value.(string) @@ -7290,7 +7132,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.RamResourceShareRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -7364,7 +7205,6 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.Arn = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -7373,7 +7213,6 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.DisplayName = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7382,7 +7221,6 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -7446,15 +7284,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7462,7 +7294,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7471,7 +7302,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -7480,7 +7310,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceIdentifier = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7489,7 +7318,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7498,15 +7326,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = types.ServiceCode(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7541,7 +7365,6 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.DocumentName = ptr.String(jtv) } - case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -7550,17 +7373,14 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.DocumentVersion = ptr.String(jtv) } - case "dynamicParameters": if err := awsRestjson1_deserializeDocumentDynamicSsmParameters(&sv.DynamicParameters, value); err != nil { return err } - case "parameters": if err := awsRestjson1_deserializeDocumentSsmParameters(&sv.Parameters, value); err != nil { return err } - case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7569,7 +7389,6 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.RoleArn = ptr.String(jtv) } - case "targetAccount": if value != nil { jtv, ok := value.(string) @@ -7578,7 +7397,6 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.TargetAccount = types.SsmTargetAccount(jtv) } - default: _, _ = key, value @@ -7714,15 +7532,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7730,7 +7542,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7739,7 +7550,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7748,15 +7558,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = types.ServiceCode(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7791,7 +7597,6 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventData = ptr.String(jtv) } - case "eventId": if value != nil { jtv, ok := value.(string) @@ -7800,12 +7605,10 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventId = ptr.String(jtv) } - case "eventReferences": if err := awsRestjson1_deserializeDocumentEventReferenceList(&sv.EventReferences, value); err != nil { return err } - case "eventTime": if value != nil { switch jtv := value.(type) { @@ -7821,7 +7624,6 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -7830,7 +7632,6 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventType = ptr.String(jtv) } - case "eventUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7846,7 +7647,6 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } } - case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -7855,7 +7655,6 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.IncidentRecordArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7885,15 +7684,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7901,15 +7694,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/ssmquicksetup/deserializers.go b/service/ssmquicksetup/deserializers.go index 99224de9760..6154d1a21f0 100644 --- a/service/ssmquicksetup/deserializers.go +++ b/service/ssmquicksetup/deserializers.go @@ -188,7 +188,6 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationManagerOutput(v **Crea } sv.ManagerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -464,7 +463,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf if err := awsRestjson1_deserializeDocumentConfigurationDefinitionsList(&sv.ConfigurationDefinitions, value); err != nil { return err } - case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -477,7 +475,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.CreatedAt = ptr.Time(t) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -486,7 +483,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.Description = ptr.String(jtv) } - case "LastModifiedAt": if value != nil { jtv, ok := value.(string) @@ -499,7 +495,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.LastModifiedAt = ptr.Time(t) } - case "ManagerArn": if value != nil { jtv, ok := value.(string) @@ -508,7 +503,6 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.ManagerArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -517,17 +511,14 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.Name = ptr.String(jtv) } - case "StatusSummaries": if err := awsRestjson1_deserializeDocumentStatusSummariesList(&sv.StatusSummaries, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -688,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe if err := awsRestjson1_deserializeDocumentServiceSettings(&sv.ServiceSettings, value); err != nil { return err } - default: _, _ = key, value @@ -852,7 +842,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationManagersOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationManagerList(&sv.ConfigurationManagersList, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -861,7 +850,6 @@ func awsRestjson1_deserializeOpDocumentListConfigurationManagersOutput(v **ListC } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1022,7 +1010,6 @@ func awsRestjson1_deserializeOpDocumentListQuickSetupTypesOutput(v **ListQuickSe if err := awsRestjson1_deserializeDocumentQuickSetupTypeList(&sv.QuickSetupTypeList, value); err != nil { return err } - default: _, _ = key, value @@ -1189,7 +1176,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1977,15 +1963,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1993,15 +1973,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2036,7 +2012,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.Id = ptr.String(jtv) } - case "LocalDeploymentAdministrationRoleArn": if value != nil { jtv, ok := value.(string) @@ -2045,7 +2020,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.LocalDeploymentAdministrationRoleArn = ptr.String(jtv) } - case "LocalDeploymentExecutionRoleName": if value != nil { jtv, ok := value.(string) @@ -2054,12 +2028,10 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.LocalDeploymentExecutionRoleName = ptr.String(jtv) } - case "Parameters": if err := awsRestjson1_deserializeDocumentConfigurationParametersMap(&sv.Parameters, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2068,7 +2040,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.Type = ptr.String(jtv) } - case "TypeVersion": if value != nil { jtv, ok := value.(string) @@ -2077,7 +2048,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.TypeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2181,7 +2151,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co if err := awsRestjson1_deserializeDocumentConfigurationParametersMap(&sv.FirstClassParameters, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -2190,7 +2159,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2199,7 +2167,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.Type = ptr.String(jtv) } - case "TypeVersion": if value != nil { jtv, ok := value.(string) @@ -2208,7 +2175,6 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.TypeVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -2278,7 +2244,6 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi if err := awsRestjson1_deserializeDocumentConfigurationDefinitionSummariesList(&sv.ConfigurationDefinitionSummaries, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -2287,7 +2252,6 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.Description = ptr.String(jtv) } - case "ManagerArn": if value != nil { jtv, ok := value.(string) @@ -2296,7 +2260,6 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.ManagerArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2305,12 +2268,10 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.Name = ptr.String(jtv) } - case "StatusSummaries": if err := awsRestjson1_deserializeDocumentStatusSummariesList(&sv.StatusSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2376,15 +2337,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2392,15 +2347,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2425,15 +2376,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2441,15 +2386,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2518,7 +2459,6 @@ func awsRestjson1_deserializeDocumentQuickSetupTypeOutput(v **types.QuickSetupTy } sv.LatestVersion = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2527,7 +2467,6 @@ func awsRestjson1_deserializeDocumentQuickSetupTypeOutput(v **types.QuickSetupTy } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -2557,15 +2496,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2573,15 +2506,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2616,7 +2545,6 @@ func awsRestjson1_deserializeDocumentServiceSettings(v **types.ServiceSettings, } sv.ExplorerEnablingRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2730,7 +2658,6 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.LastUpdatedAt = ptr.Time(t) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -2739,12 +2666,10 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.Status = types.Status(jtv) } - case "StatusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2753,7 +2678,6 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.StatusMessage = ptr.String(jtv) } - case "StatusType": if value != nil { jtv, ok := value.(string) @@ -2762,7 +2686,6 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.StatusType = types.StatusType(jtv) } - default: _, _ = key, value @@ -2802,7 +2725,6 @@ func awsRestjson1_deserializeDocumentTagEntry(v **types.TagEntry, value interfac } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -2811,7 +2733,6 @@ func awsRestjson1_deserializeDocumentTagEntry(v **types.TagEntry, value interfac } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -2911,15 +2832,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2927,15 +2842,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2960,15 +2871,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2976,15 +2881,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/ssmsap/deserializers.go b/service/ssmsap/deserializers.go index 9b3597c12cb..7c1a5e35268 100644 --- a/service/ssmsap/deserializers.go +++ b/service/ssmsap/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePermissionOutput(v **Delete } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -430,12 +429,10 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -593,12 +590,10 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -753,12 +748,10 @@ func awsRestjson1_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsRestjson1_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -913,7 +906,6 @@ func awsRestjson1_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsRestjson1_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } - default: _, _ = key, value @@ -1075,7 +1067,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePermissionOutput(v **GetResour } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -1233,7 +1224,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaryList(&sv.Applications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1242,7 +1232,6 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1403,7 +1392,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.Components, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1412,7 +1400,6 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1570,7 +1557,6 @@ func awsRestjson1_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsRestjson1_deserializeDocumentDatabaseSummaryList(&sv.Databases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1579,7 +1565,6 @@ func awsRestjson1_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1738,12 +1723,10 @@ func awsRestjson1_deserializeOpDocumentListOperationEventsOutput(v **ListOperati } sv.NextToken = ptr.String(jtv) } - case "OperationEvents": if err := awsRestjson1_deserializeDocumentOperationEventList(&sv.OperationEvents, value); err != nil { return err } - default: _, _ = key, value @@ -1902,12 +1885,10 @@ func awsRestjson1_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } - case "Operations": if err := awsRestjson1_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } - default: _, _ = key, value @@ -2065,7 +2046,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2227,7 +2207,6 @@ func awsRestjson1_deserializeOpDocumentPutResourcePermissionOutput(v **PutResour } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -2388,7 +2367,6 @@ func awsRestjson1_deserializeOpDocumentRegisterApplicationOutput(v **RegisterApp if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } - case "OperationId": if value != nil { jtv, ok := value.(string) @@ -2397,7 +2375,6 @@ func awsRestjson1_deserializeOpDocumentRegisterApplicationOutput(v **RegisterApp } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -2562,7 +2539,6 @@ func awsRestjson1_deserializeOpDocumentStartApplicationOutput(v **StartApplicati } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -2730,7 +2706,6 @@ func awsRestjson1_deserializeOpDocumentStartApplicationRefreshOutput(v **StartAp } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -2895,7 +2870,6 @@ func awsRestjson1_deserializeOpDocumentStopApplicationOutput(v **StopApplication } sv.OperationId = ptr.String(jtv) } - default: _, _ = key, value @@ -3251,12 +3225,10 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationSettingsOutput(v **Updat } sv.Message = ptr.String(jtv) } - case "OperationIds": if err := awsRestjson1_deserializeDocumentOperationIdList(&sv.OperationIds, value); err != nil { return err } - default: _, _ = key, value @@ -3476,7 +3448,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.AppRegistryArn = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3485,17 +3456,14 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } - case "AssociatedApplicationArns": if err := awsRestjson1_deserializeDocumentApplicationArnList(&sv.AssociatedApplicationArns, value); err != nil { return err } - case "Components": if err := awsRestjson1_deserializeDocumentComponentIdList(&sv.Components, value); err != nil { return err } - case "DiscoveryStatus": if value != nil { jtv, ok := value.(string) @@ -3504,7 +3472,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.DiscoveryStatus = types.ApplicationDiscoveryStatus(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3513,7 +3480,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3529,7 +3495,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3538,7 +3503,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3547,7 +3511,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.StatusMessage = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3556,7 +3519,6 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Type = types.ApplicationType(jtv) } - default: _, _ = key, value @@ -3632,7 +3594,6 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.CredentialType = types.CredentialType(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -3641,7 +3602,6 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.DatabaseName = ptr.String(jtv) } - case "SecretId": if value != nil { jtv, ok := value.(string) @@ -3650,7 +3610,6 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.SecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -3724,7 +3683,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } - case "DiscoveryStatus": if value != nil { jtv, ok := value.(string) @@ -3733,7 +3691,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.DiscoveryStatus = types.ApplicationDiscoveryStatus(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3742,12 +3699,10 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3756,7 +3711,6 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Type = types.ApplicationType(jtv) } - default: _, _ = key, value @@ -3830,7 +3784,6 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.Ec2InstanceId = ptr.String(jtv) } - case "Hostname": if value != nil { jtv, ok := value.(string) @@ -3839,12 +3792,10 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.Hostname = ptr.String(jtv) } - case "IpAddresses": if err := awsRestjson1_deserializeDocumentIpAddressList(&sv.IpAddresses, value); err != nil { return err } - case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -3853,7 +3804,6 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.OsVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -3893,7 +3843,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -3902,17 +3851,14 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } - case "AssociatedHost": if err := awsRestjson1_deserializeDocumentAssociatedHost(&sv.AssociatedHost, value); err != nil { return err } - case "ChildComponents": if err := awsRestjson1_deserializeDocumentComponentIdList(&sv.ChildComponents, value); err != nil { return err } - case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -3921,7 +3867,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentId = ptr.String(jtv) } - case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -3930,17 +3875,14 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentType = types.ComponentType(jtv) } - case "DatabaseConnection": if err := awsRestjson1_deserializeDocumentDatabaseConnection(&sv.DatabaseConnection, value); err != nil { return err } - case "Databases": if err := awsRestjson1_deserializeDocumentDatabaseIdList(&sv.Databases, value); err != nil { return err } - case "HdbVersion": if value != nil { jtv, ok := value.(string) @@ -3949,12 +3891,10 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.HdbVersion = ptr.String(jtv) } - case "Hosts": if err := awsRestjson1_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3970,7 +3910,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } } - case "ParentComponent": if value != nil { jtv, ok := value.(string) @@ -3979,7 +3918,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ParentComponent = ptr.String(jtv) } - case "PrimaryHost": if value != nil { jtv, ok := value.(string) @@ -3988,12 +3926,10 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.PrimaryHost = ptr.String(jtv) } - case "Resilience": if err := awsRestjson1_deserializeDocumentResilience(&sv.Resilience, value); err != nil { return err } - case "SapFeature": if value != nil { jtv, ok := value.(string) @@ -4002,7 +3938,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapFeature = ptr.String(jtv) } - case "SapHostname": if value != nil { jtv, ok := value.(string) @@ -4011,7 +3946,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapHostname = ptr.String(jtv) } - case "SapKernelVersion": if value != nil { jtv, ok := value.(string) @@ -4020,7 +3954,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapKernelVersion = ptr.String(jtv) } - case "Sid": if value != nil { jtv, ok := value.(string) @@ -4029,7 +3962,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Sid = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4038,7 +3970,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Status = types.ComponentStatus(jtv) } - case "SystemNumber": if value != nil { jtv, ok := value.(string) @@ -4047,7 +3978,6 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SystemNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -4159,7 +4089,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -4168,7 +4097,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } - case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4177,7 +4105,6 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentId = ptr.String(jtv) } - case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -4186,12 +4113,10 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentType = types.ComponentType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4255,15 +4180,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4271,15 +4190,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4314,7 +4229,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -4323,7 +4237,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Arn = ptr.String(jtv) } - case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4332,17 +4245,14 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.ComponentId = ptr.String(jtv) } - case "ConnectedComponentArns": if err := awsRestjson1_deserializeDocumentComponentArnList(&sv.ConnectedComponentArns, value); err != nil { return err } - case "Credentials": if err := awsRestjson1_deserializeDocumentApplicationCredentialList(&sv.Credentials, value); err != nil { return err } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -4351,7 +4261,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseId = ptr.String(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4360,7 +4269,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseName = ptr.String(jtv) } - case "DatabaseType": if value != nil { jtv, ok := value.(string) @@ -4369,7 +4277,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseType = types.DatabaseType(jtv) } - case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -4385,7 +4292,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } } - case "PrimaryHost": if value != nil { jtv, ok := value.(string) @@ -4394,7 +4300,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.PrimaryHost = ptr.String(jtv) } - case "SQLPort": if value != nil { jtv, ok := value.(json.Number) @@ -4407,7 +4312,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.SQLPort = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4416,7 +4320,6 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Status = types.DatabaseStatus(jtv) } - default: _, _ = key, value @@ -4456,7 +4359,6 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.ConnectionIp = ptr.String(jtv) } - case "DatabaseArn": if value != nil { jtv, ok := value.(string) @@ -4465,7 +4367,6 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.DatabaseArn = ptr.String(jtv) } - case "DatabaseConnectionMethod": if value != nil { jtv, ok := value.(string) @@ -4474,7 +4375,6 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.DatabaseConnectionMethod = types.DatabaseConnectionMethod(jtv) } - default: _, _ = key, value @@ -4550,7 +4450,6 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.ApplicationId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -4559,7 +4458,6 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.Arn = ptr.String(jtv) } - case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4568,7 +4466,6 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.ComponentId = ptr.String(jtv) } - case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -4577,7 +4474,6 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.DatabaseId = ptr.String(jtv) } - case "DatabaseType": if value != nil { jtv, ok := value.(string) @@ -4586,12 +4482,10 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.DatabaseType = types.DatabaseType(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4665,7 +4559,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.EC2InstanceId = ptr.String(jtv) } - case "HostIp": if value != nil { jtv, ok := value.(string) @@ -4674,7 +4567,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostIp = ptr.String(jtv) } - case "HostName": if value != nil { jtv, ok := value.(string) @@ -4683,7 +4575,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostName = ptr.String(jtv) } - case "HostRole": if value != nil { jtv, ok := value.(string) @@ -4692,7 +4583,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostRole = types.HostRole(jtv) } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -4701,7 +4591,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.InstanceId = ptr.String(jtv) } - case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -4710,7 +4599,6 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.OsVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -4774,15 +4662,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4790,15 +4672,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4867,7 +4745,6 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.AllocationType = types.AllocationType(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -4876,7 +4753,6 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.IpAddress = ptr.String(jtv) } - case "Primary": if value != nil { jtv, ok := value.(bool) @@ -4885,7 +4761,6 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.Primary = ptr.Bool(jtv) } - default: _, _ = key, value @@ -4932,7 +4807,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4941,7 +4815,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4957,12 +4830,10 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } - case "Properties": if err := awsRestjson1_deserializeDocumentOperationProperties(&sv.Properties, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4971,7 +4842,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceArn = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4980,7 +4850,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4989,7 +4858,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceType = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5005,7 +4873,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4881,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5023,7 +4889,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.StatusMessage = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5032,7 +4897,6 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5072,12 +4936,10 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.Description = ptr.String(jtv) } - case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5086,7 +4948,6 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.Status = types.OperationEventStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5095,7 +4956,6 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.StatusMessage = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -5111,7 +4971,6 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } } - default: _, _ = key, value @@ -5291,7 +5150,6 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.ClusterStatus = types.ClusterStatus(jtv) } - case "EnqueueReplication": if value != nil { jtv, ok := value.(bool) @@ -5300,7 +5158,6 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.EnqueueReplication = ptr.Bool(jtv) } - case "HsrOperationMode": if value != nil { jtv, ok := value.(string) @@ -5309,7 +5166,6 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrOperationMode = types.OperationMode(jtv) } - case "HsrReplicationMode": if value != nil { jtv, ok := value.(string) @@ -5318,7 +5174,6 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrReplicationMode = types.ReplicationMode(jtv) } - case "HsrTier": if value != nil { jtv, ok := value.(string) @@ -5327,7 +5182,6 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrTier = ptr.String(jtv) } - default: _, _ = key, value @@ -5367,7 +5221,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceArn = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5376,7 +5229,6 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value @@ -5406,15 +5258,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5422,15 +5268,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5491,15 +5333,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5507,15 +5343,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5540,15 +5372,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5556,15 +5382,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/sso/deserializers.go b/service/sso/deserializers.go index 2e3c800eb07..6f4d8ecf6d1 100644 --- a/service/sso/deserializers.go +++ b/service/sso/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentGetRoleCredentialsOutput(v **GetRoleCrede if err := awsRestjson1_deserializeDocumentRoleCredentials(&sv.RoleCredentials, value); err != nil { return err } - default: _, _ = key, value @@ -346,12 +345,10 @@ func awsRestjson1_deserializeOpDocumentListAccountRolesOutput(v **ListAccountRol } sv.NextToken = ptr.String(jtv) } - case "roleList": if err := awsRestjson1_deserializeDocumentRoleListType(&sv.RoleList, value); err != nil { return err } - default: _, _ = key, value @@ -512,7 +509,6 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsRestjson1_deserializeDocumentAccountListType(&sv.AccountList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -521,7 +517,6 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -805,7 +800,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountId = ptr.String(jtv) } - case "accountName": if value != nil { jtv, ok := value.(string) @@ -814,7 +808,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountName = ptr.String(jtv) } - case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -823,7 +816,6 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.EmailAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -887,15 +879,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -903,15 +889,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -936,15 +918,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -952,15 +928,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -995,7 +967,6 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.AccessKeyId = ptr.String(jtv) } - case "expiration": if value != nil { jtv, ok := value.(json.Number) @@ -1008,7 +979,6 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.Expiration = i64 } - case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -1017,7 +987,6 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.SecretAccessKey = ptr.String(jtv) } - case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -1026,7 +995,6 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.SessionToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1066,7 +1034,6 @@ func awsRestjson1_deserializeDocumentRoleInfo(v **types.RoleInfo, value interfac } sv.AccountId = ptr.String(jtv) } - case "roleName": if value != nil { jtv, ok := value.(string) @@ -1075,7 +1042,6 @@ func awsRestjson1_deserializeDocumentRoleInfo(v **types.RoleInfo, value interfac } sv.RoleName = ptr.String(jtv) } - default: _, _ = key, value @@ -1139,15 +1105,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1155,15 +1115,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1188,15 +1144,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1204,15 +1154,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/ssoadmin/deserializers.go b/service/ssoadmin/deserializers.go index d78cbbab982..a63cbfc27c6 100644 --- a/service/ssoadmin/deserializers.go +++ b/service/ssoadmin/deserializers.go @@ -9268,12 +9268,10 @@ func awsAwsjson11_deserializeDocumentAccessControlAttribute(v **types.AccessCont } sv.Key = ptr.String(jtv) } - case "Value": if err := awsAwsjson11_deserializeDocumentAccessControlAttributeValue(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -9343,7 +9341,6 @@ func awsAwsjson11_deserializeDocumentAccessControlAttributeValue(v **types.Acces if err := awsAwsjson11_deserializeDocumentAccessControlAttributeValueSourceList(&sv.Source, value); err != nil { return err } - default: _, _ = key, value @@ -9409,15 +9406,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9425,15 +9416,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9468,7 +9455,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.AccountId = ptr.String(jtv) } - case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9477,7 +9463,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PermissionSetArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9486,7 +9471,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9495,7 +9479,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -9535,7 +9518,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.AccountId = ptr.String(jtv) } - case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9544,7 +9526,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PermissionSetArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9553,7 +9534,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9562,7 +9542,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -9677,7 +9656,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9686,7 +9664,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.FailureReason = ptr.String(jtv) } - case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9695,7 +9672,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PermissionSetArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9704,7 +9680,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9713,7 +9688,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PrincipalType = types.PrincipalType(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9722,7 +9696,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9731,7 +9704,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.Status = types.StatusValues(jtv) } - case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9740,7 +9712,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.TargetId = ptr.String(jtv) } - case "TargetType": if value != nil { jtv, ok := value.(string) @@ -9749,7 +9720,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.TargetType = types.TargetType(jtv) } - default: _, _ = key, value @@ -9830,7 +9800,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9839,7 +9808,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9848,7 +9816,6 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } sv.Status = types.StatusValues(jtv) } - default: _, _ = key, value @@ -9932,7 +9899,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationAccount = ptr.String(jtv) } - case "ApplicationArn": if value != nil { jtv, ok := value.(string) @@ -9941,7 +9907,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationArn = ptr.String(jtv) } - case "ApplicationProviderArn": if value != nil { jtv, ok := value.(string) @@ -9950,7 +9915,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationProviderArn = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -9966,7 +9930,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9975,7 +9938,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -9984,7 +9946,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.InstanceArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9993,12 +9954,10 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } - case "PortalOptions": if err := awsAwsjson11_deserializeDocumentPortalOptions(&sv.PortalOptions, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10007,7 +9966,6 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } - default: _, _ = key, value @@ -10047,7 +10005,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.ApplicationArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -10056,7 +10013,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -10065,7 +10021,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -10105,7 +10060,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.ApplicationArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -10114,7 +10068,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -10123,7 +10076,6 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -10265,12 +10217,10 @@ func awsAwsjson11_deserializeDocumentApplicationProvider(v **types.ApplicationPr } sv.ApplicationProviderArn = ptr.String(jtv) } - case "DisplayData": if err := awsAwsjson11_deserializeDocumentDisplayData(&sv.DisplayData, value); err != nil { return err } - case "FederationProtocol": if value != nil { jtv, ok := value.(string) @@ -10279,12 +10229,10 @@ func awsAwsjson11_deserializeDocumentApplicationProvider(v **types.ApplicationPr } sv.FederationProtocol = types.FederationProtocol(jtv) } - case "ResourceServerConfig": if err := awsAwsjson11_deserializeDocumentResourceServerConfig(&sv.ResourceServerConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10358,7 +10306,6 @@ func awsAwsjson11_deserializeDocumentAttachedManagedPolicy(v **types.AttachedMan } sv.Arn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10367,7 +10314,6 @@ func awsAwsjson11_deserializeDocumentAttachedManagedPolicy(v **types.AttachedMan } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10477,7 +10423,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationMethodItem(v **types.Authenti if err := awsAwsjson11_deserializeDocumentAuthenticationMethod(&sv.AuthenticationMethod, value); err != nil { return err } - case "AuthenticationMethodType": if value != nil { jtv, ok := value.(string) @@ -10486,7 +10431,6 @@ func awsAwsjson11_deserializeDocumentAuthenticationMethodItem(v **types.Authenti } sv.AuthenticationMethodType = types.AuthenticationMethodType(jtv) } - default: _, _ = key, value @@ -10556,7 +10500,6 @@ func awsAwsjson11_deserializeDocumentAuthorizationCodeGrant(v **types.Authorizat if err := awsAwsjson11_deserializeDocumentRedirectUris(&sv.RedirectUris, value); err != nil { return err } - default: _, _ = key, value @@ -10592,7 +10535,6 @@ func awsAwsjson11_deserializeDocumentAuthorizedTokenIssuer(v **types.AuthorizedT if err := awsAwsjson11_deserializeDocumentTokenIssuerAudiences(&sv.AuthorizedAudiences, value); err != nil { return err } - case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -10601,7 +10543,6 @@ func awsAwsjson11_deserializeDocumentAuthorizedTokenIssuer(v **types.AuthorizedT } sv.TrustedTokenIssuerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10665,15 +10606,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10681,15 +10616,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10724,7 +10655,6 @@ func awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(v **types.Cu } sv.Name = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10663,6 @@ func awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(v **types.Cu } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -10807,7 +10736,6 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.Description = ptr.String(jtv) } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10816,7 +10744,6 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.DisplayName = ptr.String(jtv) } - case "IconUrl": if value != nil { jtv, ok := value.(string) @@ -10825,7 +10752,6 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.IconUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10931,7 +10857,6 @@ func awsAwsjson11_deserializeDocumentGrantItem(v **types.GrantItem, value interf if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } - case "GrantType": if value != nil { jtv, ok := value.(string) @@ -10940,7 +10865,6 @@ func awsAwsjson11_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.GrantType = types.GrantType(jtv) } - default: _, _ = key, value @@ -11010,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentIamAuthenticationMethod(v **types.IamAuthen if err := awsAwsjson11_deserializeDocumentActorPolicyDocument(&sv.ActorPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -11046,7 +10969,6 @@ func awsAwsjson11_deserializeDocumentInstanceAccessControlAttributeConfiguration if err := awsAwsjson11_deserializeDocumentAccessControlAttributeList(&sv.AccessControlAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -11127,7 +11049,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -11136,7 +11057,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.IdentityStoreId = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -11145,7 +11065,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.InstanceArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11154,7 +11073,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -11163,7 +11081,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.OwnerAccountId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11172,7 +11089,6 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.Status = types.InstanceStatus(jtv) } - default: _, _ = key, value @@ -11202,15 +11118,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11218,15 +11128,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11257,7 +11163,6 @@ func awsAwsjson11_deserializeDocumentJwtBearerGrant(v **types.JwtBearerGrant, va if err := awsAwsjson11_deserializeDocumentAuthorizedTokenIssuers(&sv.AuthorizedTokenIssuers, value); err != nil { return err } - default: _, _ = key, value @@ -11297,7 +11202,6 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.ClaimAttributePath = ptr.String(jtv) } - case "IdentityStoreAttributePath": if value != nil { jtv, ok := value.(string) @@ -11306,7 +11210,6 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.IdentityStoreAttributePath = ptr.String(jtv) } - case "IssuerUrl": if value != nil { jtv, ok := value.(string) @@ -11315,7 +11218,6 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.IssuerUrl = ptr.String(jtv) } - case "JwksRetrievalOption": if value != nil { jtv, ok := value.(string) @@ -11324,7 +11226,6 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.JwksRetrievalOption = types.JwksRetrievalOption(jtv) } - default: _, _ = key, value @@ -11360,7 +11261,6 @@ func awsAwsjson11_deserializeDocumentPermissionsBoundary(v **types.PermissionsBo if err := awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(&sv.CustomerManagedPolicyReference, value); err != nil { return err } - case "ManagedPolicyArn": if value != nil { jtv, ok := value.(string) @@ -11369,7 +11269,6 @@ func awsAwsjson11_deserializeDocumentPermissionsBoundary(v **types.PermissionsBo } sv.ManagedPolicyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11416,7 +11315,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11425,7 +11323,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11434,7 +11331,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.Name = ptr.String(jtv) } - case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -11443,7 +11339,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.PermissionSetArn = ptr.String(jtv) } - case "RelayState": if value != nil { jtv, ok := value.(string) @@ -11452,7 +11347,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.RelayState = ptr.String(jtv) } - case "SessionDuration": if value != nil { jtv, ok := value.(string) @@ -11461,7 +11355,6 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.SessionDuration = ptr.String(jtv) } - default: _, _ = key, value @@ -11537,7 +11430,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.AccountId = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -11553,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -11562,7 +11453,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.FailureReason = ptr.String(jtv) } - case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -11571,7 +11461,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.PermissionSetArn = ptr.String(jtv) } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11580,7 +11469,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11589,7 +11477,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.Status = types.StatusValues(jtv) } - default: _, _ = key, value @@ -11670,7 +11557,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } } - case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11679,7 +11565,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } sv.RequestId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11688,7 +11573,6 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } sv.Status = types.StatusValues(jtv) } - default: _, _ = key, value @@ -11724,7 +11608,6 @@ func awsAwsjson11_deserializeDocumentPortalOptions(v **types.PortalOptions, valu if err := awsAwsjson11_deserializeDocumentSignInOptions(&sv.SignInOptions, value); err != nil { return err } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -11733,7 +11616,6 @@ func awsAwsjson11_deserializeDocumentPortalOptions(v **types.PortalOptions, valu } sv.Visibility = types.ApplicationVisibility(jtv) } - default: _, _ = key, value @@ -11830,15 +11712,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11846,15 +11722,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11885,7 +11757,6 @@ func awsAwsjson11_deserializeDocumentResourceServerConfig(v **types.ResourceServ if err := awsAwsjson11_deserializeDocumentResourceServerScopes(&sv.Scopes, value); err != nil { return err } - default: _, _ = key, value @@ -11925,7 +11796,6 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeDetails(v **types.Resour } sv.DetailedTitle = ptr.String(jtv) } - case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -11934,7 +11804,6 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeDetails(v **types.Resour } sv.LongDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -12005,7 +11874,6 @@ func awsAwsjson11_deserializeDocumentScopeDetails(v **types.ScopeDetails, value if err := awsAwsjson11_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -12014,7 +11882,6 @@ func awsAwsjson11_deserializeDocumentScopeDetails(v **types.ScopeDetails, value } sv.Scope = ptr.String(jtv) } - default: _, _ = key, value @@ -12114,15 +11981,9 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12130,15 +11991,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12173,7 +12030,6 @@ func awsAwsjson11_deserializeDocumentSignInOptions(v **types.SignInOptions, valu } sv.ApplicationUrl = ptr.String(jtv) } - case "Origin": if value != nil { jtv, ok := value.(string) @@ -12182,7 +12038,6 @@ func awsAwsjson11_deserializeDocumentSignInOptions(v **types.SignInOptions, valu } sv.Origin = types.SignInOrigin(jtv) } - default: _, _ = key, value @@ -12222,7 +12077,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12231,7 +12085,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12295,15 +12148,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12311,15 +12158,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12495,7 +12338,6 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.Name = ptr.String(jtv) } - case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -12504,7 +12346,6 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.TrustedTokenIssuerArn = ptr.String(jtv) } - case "TrustedTokenIssuerType": if value != nil { jtv, ok := value.(string) @@ -12513,7 +12354,6 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.TrustedTokenIssuerType = types.TrustedTokenIssuerType(jtv) } - default: _, _ = key, value @@ -12543,15 +12383,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12559,15 +12393,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12660,7 +12490,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountAssignmentOutput(v **CreateA if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentCreationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -12731,7 +12560,6 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12802,7 +12630,6 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.InstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12838,7 +12665,6 @@ func awsAwsjson11_deserializeOpDocumentCreatePermissionSetOutput(v **CreatePermi if err := awsAwsjson11_deserializeDocumentPermissionSet(&sv.PermissionSet, value); err != nil { return err } - default: _, _ = key, value @@ -12878,7 +12704,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTrustedTokenIssuerOutput(v **Create } sv.TrustedTokenIssuerArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12914,7 +12739,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountAssignmentOutput(v **DeleteA if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentDeletionStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13198,7 +13022,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAssignmentCreationStatusOu if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentCreationStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13234,7 +13057,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAssignmentDeletionStatusOu if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentDeletionStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13274,7 +13096,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.ApplicationArn = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -13283,7 +13104,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.PrincipalId = ptr.String(jtv) } - case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -13292,7 +13112,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.PrincipalType = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -13332,7 +13151,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationAccount = ptr.String(jtv) } - case "ApplicationArn": if value != nil { jtv, ok := value.(string) @@ -13341,7 +13159,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationArn = ptr.String(jtv) } - case "ApplicationProviderArn": if value != nil { jtv, ok := value.(string) @@ -13350,7 +13167,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationProviderArn = ptr.String(jtv) } - case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -13366,7 +13182,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -13375,7 +13190,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Description = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13384,7 +13198,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.InstanceArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13393,12 +13206,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Name = ptr.String(jtv) } - case "PortalOptions": if err := awsAwsjson11_deserializeDocumentPortalOptions(&sv.PortalOptions, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13407,7 +13218,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Status = types.ApplicationStatus(jtv) } - default: _, _ = key, value @@ -13447,12 +13257,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationProviderOutput(v **Des } sv.ApplicationProviderArn = ptr.String(jtv) } - case "DisplayData": if err := awsAwsjson11_deserializeDocumentDisplayData(&sv.DisplayData, value); err != nil { return err } - case "FederationProtocol": if value != nil { jtv, ok := value.(string) @@ -13461,12 +13269,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationProviderOutput(v **Des } sv.FederationProtocol = types.FederationProtocol(jtv) } - case "ResourceServerConfig": if err := awsAwsjson11_deserializeDocumentResourceServerConfig(&sv.ResourceServerConfig, value); err != nil { return err } - default: _, _ = key, value @@ -13502,7 +13308,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon if err := awsAwsjson11_deserializeDocumentInstanceAccessControlAttributeConfiguration(&sv.InstanceAccessControlAttributeConfiguration, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13511,7 +13316,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon } sv.Status = types.InstanceAccessControlAttributeConfigurationStatus(jtv) } - case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -13520,7 +13324,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon } sv.StatusReason = ptr.String(jtv) } - default: _, _ = key, value @@ -13567,7 +13370,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } } - case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -13576,7 +13378,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.IdentityStoreId = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13585,7 +13386,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.InstanceArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13594,7 +13394,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.Name = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -13603,7 +13402,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.OwnerAccountId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13612,7 +13410,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.Status = types.InstanceStatus(jtv) } - default: _, _ = key, value @@ -13648,7 +13445,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionSetOutput(v **DescribeP if err := awsAwsjson11_deserializeDocumentPermissionSet(&sv.PermissionSet, value); err != nil { return err } - default: _, _ = key, value @@ -13684,7 +13480,6 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionSetProvisioningStatusOu if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(&sv.PermissionSetProvisioningStatus, value); err != nil { return err } - default: _, _ = key, value @@ -13724,7 +13519,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.Name = ptr.String(jtv) } - case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -13733,12 +13527,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.TrustedTokenIssuerArn = ptr.String(jtv) } - case "TrustedTokenIssuerConfiguration": if err := awsAwsjson11_deserializeDocumentTrustedTokenIssuerConfiguration(&sv.TrustedTokenIssuerConfiguration, value); err != nil { return err } - case "TrustedTokenIssuerType": if value != nil { jtv, ok := value.(string) @@ -13747,7 +13539,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.TrustedTokenIssuerType = types.TrustedTokenIssuerType(jtv) } - default: _, _ = key, value @@ -13845,7 +13636,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAccessScopeOutput(v **GetAp if err := awsAwsjson11_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -13854,7 +13644,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAccessScopeOutput(v **GetAp } sv.Scope = ptr.String(jtv) } - default: _, _ = key, value @@ -13894,7 +13683,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAssignmentConfigurationOutp } sv.AssignmentRequired = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13930,7 +13718,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAuthenticationMethodOutput( if err := awsAwsjson11_deserializeDocumentAuthenticationMethod(&sv.AuthenticationMethod, value); err != nil { return err } - default: _, _ = key, value @@ -13966,7 +13753,6 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationGrantOutput(v **GetApplicat if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } - default: _, _ = key, value @@ -14006,7 +13792,6 @@ func awsAwsjson11_deserializeOpDocumentGetInlinePolicyForPermissionSetOutput(v * } sv.InlinePolicy = ptr.String(jtv) } - default: _, _ = key, value @@ -14042,7 +13827,6 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionsBoundaryForPermissionSetOut if err := awsAwsjson11_deserializeDocumentPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } - default: _, _ = key, value @@ -14078,7 +13862,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentCreationStatusOutput if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusList(&sv.AccountAssignmentsCreationStatus, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14087,7 +13870,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentCreationStatusOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14123,7 +13905,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentDeletionStatusOutput if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusList(&sv.AccountAssignmentsDeletionStatus, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14132,7 +13913,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentDeletionStatusOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14168,7 +13948,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsForPrincipalOutput( if err := awsAwsjson11_deserializeDocumentAccountAssignmentListForPrincipal(&sv.AccountAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14177,7 +13956,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsForPrincipalOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14213,7 +13991,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsOutput(v **ListAcco if err := awsAwsjson11_deserializeDocumentAccountAssignmentList(&sv.AccountAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14222,7 +13999,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsOutput(v **ListAcco } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14258,7 +14034,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForProvisionedPermissionSetOu if err := awsAwsjson11_deserializeDocumentAccountList(&sv.AccountIds, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14267,7 +14042,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForProvisionedPermissionSetOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14307,12 +14081,10 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAccessScopesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "Scopes": if err := awsAwsjson11_deserializeDocumentScopes(&sv.Scopes, value); err != nil { return err } - default: _, _ = key, value @@ -14348,7 +14120,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsForPrincipalOut if err := awsAwsjson11_deserializeDocumentApplicationAssignmentListForPrincipal(&sv.ApplicationAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14357,7 +14128,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsForPrincipalOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14393,7 +14163,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsOutput(v **List if err := awsAwsjson11_deserializeDocumentApplicationAssignmentsList(&sv.ApplicationAssignments, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14402,7 +14171,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14438,7 +14206,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAuthenticationMethodsOutpu if err := awsAwsjson11_deserializeDocumentAuthenticationMethods(&sv.AuthenticationMethods, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14447,7 +14214,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAuthenticationMethodsOutpu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14483,7 +14249,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationGrantsOutput(v **ListAppli if err := awsAwsjson11_deserializeDocumentGrants(&sv.Grants, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14492,7 +14257,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationGrantsOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14528,7 +14292,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationProvidersOutput(v **ListAp if err := awsAwsjson11_deserializeDocumentApplicationProviderList(&sv.ApplicationProviders, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14537,7 +14300,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationProvidersOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14573,7 +14335,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14582,7 +14343,6 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14618,7 +14378,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomerManagedPolicyReferencesInPerm if err := awsAwsjson11_deserializeDocumentCustomerManagedPolicyReferenceList(&sv.CustomerManagedPolicyReferences, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14627,7 +14386,6 @@ func awsAwsjson11_deserializeOpDocumentListCustomerManagedPolicyReferencesInPerm } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14663,7 +14421,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14672,7 +14429,6 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14708,7 +14464,6 @@ func awsAwsjson11_deserializeOpDocumentListManagedPoliciesInPermissionSetOutput( if err := awsAwsjson11_deserializeDocumentAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14717,7 +14472,6 @@ func awsAwsjson11_deserializeOpDocumentListManagedPoliciesInPermissionSetOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14757,12 +14511,10 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetProvisioningStatusOutput } sv.NextToken = ptr.String(jtv) } - case "PermissionSetsProvisioningStatus": if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusList(&sv.PermissionSetsProvisioningStatus, value); err != nil { return err } - default: _, _ = key, value @@ -14802,12 +14554,10 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetsOutput(v **ListPermissi } sv.NextToken = ptr.String(jtv) } - case "PermissionSets": if err := awsAwsjson11_deserializeDocumentPermissionSetList(&sv.PermissionSets, value); err != nil { return err } - default: _, _ = key, value @@ -14847,12 +14597,10 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetsProvisionedToAccountOut } sv.NextToken = ptr.String(jtv) } - case "PermissionSets": if err := awsAwsjson11_deserializeDocumentPermissionSetList(&sv.PermissionSets, value); err != nil { return err } - default: _, _ = key, value @@ -14892,12 +14640,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14937,12 +14683,10 @@ func awsAwsjson11_deserializeOpDocumentListTrustedTokenIssuersOutput(v **ListTru } sv.NextToken = ptr.String(jtv) } - case "TrustedTokenIssuers": if err := awsAwsjson11_deserializeDocumentTrustedTokenIssuerList(&sv.TrustedTokenIssuers, value); err != nil { return err } - default: _, _ = key, value @@ -14978,7 +14722,6 @@ func awsAwsjson11_deserializeOpDocumentProvisionPermissionSetOutput(v **Provisio if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(&sv.PermissionSetProvisioningStatus, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/ssooidc/deserializers.go b/service/ssooidc/deserializers.go index ef827dfcb2b..c1c66c20b4f 100644 --- a/service/ssooidc/deserializers.go +++ b/service/ssooidc/deserializers.go @@ -205,7 +205,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.AccessToken = ptr.String(jtv) } - case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -218,7 +217,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.ExpiresIn = int32(i64) } - case "idToken": if value != nil { jtv, ok := value.(string) @@ -227,7 +225,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.IdToken = ptr.String(jtv) } - case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -236,7 +233,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.RefreshToken = ptr.String(jtv) } - case "tokenType": if value != nil { jtv, ok := value.(string) @@ -245,7 +241,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenType = ptr.String(jtv) } - default: _, _ = key, value @@ -434,7 +429,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.AccessToken = ptr.String(jtv) } - case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -447,7 +441,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.ExpiresIn = int32(i64) } - case "idToken": if value != nil { jtv, ok := value.(string) @@ -456,7 +449,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.IdToken = ptr.String(jtv) } - case "issuedTokenType": if value != nil { jtv, ok := value.(string) @@ -465,7 +457,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.IssuedTokenType = ptr.String(jtv) } - case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -474,12 +465,10 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.RefreshToken = ptr.String(jtv) } - case "scope": if err := awsRestjson1_deserializeDocumentScopes(&sv.Scope, value); err != nil { return err } - case "tokenType": if value != nil { jtv, ok := value.(string) @@ -488,7 +477,6 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.TokenType = ptr.String(jtv) } - default: _, _ = key, value @@ -659,7 +647,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.AuthorizationEndpoint = ptr.String(jtv) } - case "clientId": if value != nil { jtv, ok := value.(string) @@ -668,7 +655,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientId = ptr.String(jtv) } - case "clientIdIssuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -681,7 +667,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientIdIssuedAt = i64 } - case "clientSecret": if value != nil { jtv, ok := value.(string) @@ -690,7 +675,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientSecret = ptr.String(jtv) } - case "clientSecretExpiresAt": if value != nil { jtv, ok := value.(json.Number) @@ -703,7 +687,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientSecretExpiresAt = i64 } - case "tokenEndpoint": if value != nil { jtv, ok := value.(string) @@ -712,7 +695,6 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.TokenEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -880,7 +862,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.DeviceCode = ptr.String(jtv) } - case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -893,7 +874,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.ExpiresIn = int32(i64) } - case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -906,7 +886,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.Interval = int32(i64) } - case "userCode": if value != nil { jtv, ok := value.(string) @@ -915,7 +894,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.UserCode = ptr.String(jtv) } - case "verificationUri": if value != nil { jtv, ok := value.(string) @@ -924,7 +902,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.VerificationUri = ptr.String(jtv) } - case "verificationUriComplete": if value != nil { jtv, ok := value.(string) @@ -933,7 +910,6 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.VerificationUriComplete = ptr.String(jtv) } - default: _, _ = key, value @@ -1467,13 +1443,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1483,7 +1453,6 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1492,15 +1461,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1525,13 +1490,7 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1541,7 +1500,6 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1550,15 +1508,11 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1583,13 +1537,7 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1599,7 +1547,6 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1608,15 +1555,11 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1641,13 +1584,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1657,7 +1594,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1666,15 +1602,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1699,13 +1631,7 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1715,7 +1641,6 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1724,15 +1649,11 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1757,13 +1678,7 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1773,7 +1688,6 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1782,15 +1696,11 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1815,13 +1725,7 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1831,7 +1735,6 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1840,15 +1743,11 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1873,13 +1772,7 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1889,7 +1782,6 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1898,15 +1790,11 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1931,13 +1819,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -1947,7 +1829,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -1956,15 +1837,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1989,13 +1866,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "endpoint": if value != nil { @@ -2005,7 +1876,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Endpoint = ptr.String(jtv) } - case "error": if value != nil { jtv, ok := value.(string) @@ -2014,7 +1884,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -2023,7 +1892,6 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Error_description = ptr.String(jtv) } - case "region": if value != nil { jtv, ok := value.(string) @@ -2032,15 +1900,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Region = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2065,13 +1929,7 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -2081,7 +1939,6 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -2090,15 +1947,11 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2159,13 +2012,7 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -2175,7 +2022,6 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -2184,15 +2030,11 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2217,13 +2059,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -2233,7 +2069,6 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -2242,15 +2077,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2275,13 +2106,7 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if value != nil { @@ -2291,7 +2116,6 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns } sv.Error_ = ptr.String(jtv) } - case "error_description": if value != nil { jtv, ok := value.(string) @@ -2300,15 +2124,11 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns } sv.Error_description = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/storagegateway/deserializers.go b/service/storagegateway/deserializers.go index 626fedf4593..43303534687 100644 --- a/service/storagegateway/deserializers.go +++ b/service/storagegateway/deserializers.go @@ -10427,7 +10427,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfo(v **types.A if err := awsAwsjson11_deserializeDocumentAutomaticTapeCreationRules(&sv.AutomaticTapeCreationRules, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -10436,7 +10435,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfo(v **types.A } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -10514,7 +10512,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.MinimumNumTapes = ptr.Int32(int32(i64)) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -10523,7 +10520,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.PoolId = ptr.String(jtv) } - case "TapeBarcodePrefix": if value != nil { jtv, ok := value.(string) @@ -10532,7 +10528,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.TapeBarcodePrefix = ptr.String(jtv) } - case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10545,7 +10540,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.TapeSizeInBytes = ptr.Int64(i64) } - case "Worm": if value != nil { jtv, ok := value.(bool) @@ -10554,7 +10548,6 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.Worm = jtv } - default: _, _ = key, value @@ -10632,7 +10625,6 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageDownloadRateLimitInBitsPerSec = ptr.Int64(i64) } - case "AverageUploadRateLimitInBitsPerSec": if value != nil { jtv, ok := value.(json.Number) @@ -10645,12 +10637,10 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } - case "DaysOfWeek": if err := awsAwsjson11_deserializeDocumentDaysOfWeek(&sv.DaysOfWeek, value); err != nil { return err } - case "EndHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -10663,7 +10653,6 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndHourOfDay = ptr.Int32(int32(i64)) } - case "EndMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -10676,7 +10665,6 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndMinuteOfHour = ptr.Int32(int32(i64)) } - case "StartHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -10689,7 +10677,6 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartHourOfDay = ptr.Int32(int32(i64)) } - case "StartMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -10702,7 +10689,6 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartMinuteOfHour = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10780,7 +10766,6 @@ func awsAwsjson11_deserializeDocumentCacheAttributes(v **types.CacheAttributes, } sv.CacheStaleTimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10827,7 +10812,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -10836,7 +10820,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.KMSKey = ptr.String(jtv) } - case "SourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -10845,7 +10828,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.SourceSnapshotId = ptr.String(jtv) } - case "TargetName": if value != nil { jtv, ok := value.(string) @@ -10854,7 +10836,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.TargetName = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -10863,7 +10844,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeARN = ptr.String(jtv) } - case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -10872,7 +10852,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeAttachmentStatus = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -10881,12 +10860,10 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeId = ptr.String(jtv) } - case "VolumeiSCSIAttributes": if err := awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(&sv.VolumeiSCSIAttributes, value); err != nil { return err } - case "VolumeProgress": if value != nil { switch jtv := value.(type) { @@ -10920,7 +10897,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } } - case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10933,7 +10909,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeSizeInBytes = i64 } - case "VolumeStatus": if value != nil { jtv, ok := value.(string) @@ -10942,7 +10917,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeStatus = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -10951,7 +10925,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeType = ptr.String(jtv) } - case "VolumeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10964,7 +10937,6 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeUsedInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -11072,7 +11044,6 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.InitiatorName = ptr.String(jtv) } - case "SecretToAuthenticateInitiator": if value != nil { jtv, ok := value.(string) @@ -11081,7 +11052,6 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.SecretToAuthenticateInitiator = ptr.String(jtv) } - case "SecretToAuthenticateTarget": if value != nil { jtv, ok := value.(string) @@ -11090,7 +11060,6 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.SecretToAuthenticateTarget = ptr.String(jtv) } - case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -11099,7 +11068,6 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.TargetARN = ptr.String(jtv) } - default: _, _ = key, value @@ -11179,7 +11147,6 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.ChapEnabled = jtv } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11188,7 +11155,6 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.NetworkInterfaceId = ptr.String(jtv) } - case "NetworkInterfacePort": if value != nil { jtv, ok := value.(json.Number) @@ -11201,7 +11167,6 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.NetworkInterfacePort = int32(i64) } - case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -11210,7 +11175,6 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.TargetARN = ptr.String(jtv) } - default: _, _ = key, value @@ -11250,7 +11214,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskAllocationResource = ptr.String(jtv) } - case "DiskAllocationType": if value != nil { jtv, ok := value.(string) @@ -11259,12 +11222,10 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskAllocationType = ptr.String(jtv) } - case "DiskAttributeList": if err := awsAwsjson11_deserializeDocumentDiskAttributeList(&sv.DiskAttributeList, value); err != nil { return err } - case "DiskId": if value != nil { jtv, ok := value.(string) @@ -11273,7 +11234,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskId = ptr.String(jtv) } - case "DiskNode": if value != nil { jtv, ok := value.(string) @@ -11282,7 +11242,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskNode = ptr.String(jtv) } - case "DiskPath": if value != nil { jtv, ok := value.(string) @@ -11291,7 +11250,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskPath = ptr.String(jtv) } - case "DiskSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11304,7 +11262,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskSizeInBytes = i64 } - case "DiskStatus": if value != nil { jtv, ok := value.(string) @@ -11313,7 +11270,6 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -11455,7 +11411,6 @@ func awsAwsjson11_deserializeDocumentEndpointNetworkConfiguration(v **types.Endp if err := awsAwsjson11_deserializeDocumentIpAddressList(&sv.IpAddresses, value); err != nil { return err } - default: _, _ = key, value @@ -11567,7 +11522,6 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareARN = ptr.String(jtv) } - case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -11576,7 +11530,6 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareId = ptr.String(jtv) } - case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -11585,7 +11538,6 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareStatus = ptr.String(jtv) } - case "FileShareType": if value != nil { jtv, ok := value.(string) @@ -11594,7 +11546,6 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareType = types.FileShareType(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11603,7 +11554,6 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -11677,17 +11627,14 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.AuditDestinationARN = ptr.String(jtv) } - case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } - case "EndpointNetworkConfiguration": if err := awsAwsjson11_deserializeDocumentEndpointNetworkConfiguration(&sv.EndpointNetworkConfiguration, value); err != nil { return err } - case "FileSystemAssociationARN": if value != nil { jtv, ok := value.(string) @@ -11696,7 +11643,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.FileSystemAssociationARN = ptr.String(jtv) } - case "FileSystemAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -11705,12 +11651,10 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.FileSystemAssociationStatus = ptr.String(jtv) } - case "FileSystemAssociationStatusDetails": if err := awsAwsjson11_deserializeDocumentFileSystemAssociationStatusDetails(&sv.FileSystemAssociationStatusDetails, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11719,7 +11663,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.GatewayARN = ptr.String(jtv) } - case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -11728,12 +11671,10 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.LocationARN = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11807,7 +11748,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationStatusDetail(v **types } sv.ErrorCode = ptr.String(jtv) } - default: _, _ = key, value @@ -11881,7 +11821,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationARN = ptr.String(jtv) } - case "FileSystemAssociationId": if value != nil { jtv, ok := value.(string) @@ -11890,7 +11829,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationId = ptr.String(jtv) } - case "FileSystemAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -11899,7 +11837,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationStatus = ptr.String(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11908,7 +11845,6 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -11982,7 +11918,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.DeprecationDate = ptr.String(jtv) } - case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -11991,7 +11926,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.Ec2InstanceId = ptr.String(jtv) } - case "Ec2InstanceRegion": if value != nil { jtv, ok := value.(string) @@ -12000,7 +11934,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.Ec2InstanceRegion = ptr.String(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -12009,7 +11942,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayARN = ptr.String(jtv) } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -12018,7 +11950,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayId = ptr.String(jtv) } - case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -12027,7 +11958,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayName = ptr.String(jtv) } - case "GatewayOperationalState": if value != nil { jtv, ok := value.(string) @@ -12036,7 +11966,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayOperationalState = ptr.String(jtv) } - case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -12045,7 +11974,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayType = ptr.String(jtv) } - case "HostEnvironment": if value != nil { jtv, ok := value.(string) @@ -12054,7 +11982,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.HostEnvironment = types.HostEnvironment(jtv) } - case "HostEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -12063,7 +11990,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.HostEnvironmentId = ptr.String(jtv) } - case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -12072,7 +11998,6 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.SoftwareVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -12206,20 +12131,13 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12227,15 +12145,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12260,20 +12174,13 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12281,15 +12188,11 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12360,7 +12263,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv4Address = ptr.String(jtv) } - case "Ipv6Address": if value != nil { jtv, ok := value.(string) @@ -12369,7 +12271,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } - case "MacAddress": if value != nil { jtv, ok := value.(string) @@ -12378,7 +12279,6 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -12418,7 +12318,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.DirectoryMode = ptr.String(jtv) } - case "FileMode": if value != nil { jtv, ok := value.(string) @@ -12427,7 +12326,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.FileMode = ptr.String(jtv) } - case "GroupId": if value != nil { jtv, ok := value.(json.Number) @@ -12440,7 +12338,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.GroupId = ptr.Int64(i64) } - case "OwnerId": if value != nil { jtv, ok := value.(json.Number) @@ -12453,7 +12350,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.OwnerId = ptr.Int64(i64) } - default: _, _ = key, value @@ -12493,7 +12389,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.AuditDestinationARN = ptr.String(jtv) } - case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -12502,17 +12397,14 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.BucketRegion = ptr.String(jtv) } - case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } - case "ClientList": if err := awsAwsjson11_deserializeDocumentFileShareClientList(&sv.ClientList, value); err != nil { return err } - case "DefaultStorageClass": if value != nil { jtv, ok := value.(string) @@ -12521,7 +12413,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.DefaultStorageClass = ptr.String(jtv) } - case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -12530,7 +12421,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.EncryptionType = types.EncryptionType(jtv) } - case "FileShareARN": if value != nil { jtv, ok := value.(string) @@ -12539,7 +12429,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareARN = ptr.String(jtv) } - case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -12548,7 +12437,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareId = ptr.String(jtv) } - case "FileShareName": if value != nil { jtv, ok := value.(string) @@ -12557,7 +12445,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareName = ptr.String(jtv) } - case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -12566,7 +12453,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareStatus = ptr.String(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -12575,7 +12461,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.GatewayARN = ptr.String(jtv) } - case "GuessMIMETypeEnabled": if value != nil { jtv, ok := value.(bool) @@ -12584,7 +12469,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.GuessMIMETypeEnabled = ptr.Bool(jtv) } - case "KMSEncrypted": if value != nil { jtv, ok := value.(bool) @@ -12593,7 +12477,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.KMSEncrypted = jtv } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -12602,7 +12485,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.KMSKey = ptr.String(jtv) } - case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -12611,12 +12493,10 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.LocationARN = ptr.String(jtv) } - case "NFSFileShareDefaults": if err := awsAwsjson11_deserializeDocumentNFSFileShareDefaults(&sv.NFSFileShareDefaults, value); err != nil { return err } - case "NotificationPolicy": if value != nil { jtv, ok := value.(string) @@ -12625,7 +12505,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.NotificationPolicy = ptr.String(jtv) } - case "ObjectACL": if value != nil { jtv, ok := value.(string) @@ -12634,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.ObjectACL = types.ObjectACL(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -12643,7 +12521,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Path = ptr.String(jtv) } - case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -12652,7 +12529,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.ReadOnly = ptr.Bool(jtv) } - case "RequesterPays": if value != nil { jtv, ok := value.(bool) @@ -12661,7 +12537,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.RequesterPays = ptr.Bool(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -12670,7 +12545,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Role = ptr.String(jtv) } - case "Squash": if value != nil { jtv, ok := value.(string) @@ -12679,12 +12553,10 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Squash = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VPCEndpointDNSName": if value != nil { jtv, ok := value.(string) @@ -12693,7 +12565,6 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.VPCEndpointDNSName = ptr.String(jtv) } - default: _, _ = key, value @@ -12767,7 +12638,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolARN = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -12776,7 +12646,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolName = ptr.String(jtv) } - case "PoolStatus": if value != nil { jtv, ok := value.(string) @@ -12785,7 +12654,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolStatus = types.PoolStatus(jtv) } - case "RetentionLockTimeInDays": if value != nil { jtv, ok := value.(json.Number) @@ -12798,7 +12666,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.RetentionLockTimeInDays = ptr.Int32(int32(i64)) } - case "RetentionLockType": if value != nil { jtv, ok := value.(string) @@ -12807,7 +12674,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.RetentionLockType = types.RetentionLockType(jtv) } - case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -12816,7 +12682,6 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.StorageClass = types.TapeStorageClass(jtv) } - default: _, _ = key, value @@ -12880,20 +12745,13 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "error": if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12901,15 +12759,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12944,12 +12798,10 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.AccessBasedEnumeration = ptr.Bool(jtv) } - case "AdminUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.AdminUserList, value); err != nil { return err } - case "AuditDestinationARN": if value != nil { jtv, ok := value.(string) @@ -12958,7 +12810,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.AuditDestinationARN = ptr.String(jtv) } - case "Authentication": if value != nil { jtv, ok := value.(string) @@ -12967,7 +12818,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Authentication = ptr.String(jtv) } - case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -12976,12 +12826,10 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.BucketRegion = ptr.String(jtv) } - case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } - case "CaseSensitivity": if value != nil { jtv, ok := value.(string) @@ -12990,7 +12838,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.CaseSensitivity = types.CaseSensitivity(jtv) } - case "DefaultStorageClass": if value != nil { jtv, ok := value.(string) @@ -12999,7 +12846,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.DefaultStorageClass = ptr.String(jtv) } - case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -13008,7 +12854,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.EncryptionType = types.EncryptionType(jtv) } - case "FileShareARN": if value != nil { jtv, ok := value.(string) @@ -13017,7 +12862,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareARN = ptr.String(jtv) } - case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -13026,7 +12870,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareId = ptr.String(jtv) } - case "FileShareName": if value != nil { jtv, ok := value.(string) @@ -13035,7 +12878,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareName = ptr.String(jtv) } - case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -13044,7 +12886,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareStatus = ptr.String(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -13053,7 +12894,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.GatewayARN = ptr.String(jtv) } - case "GuessMIMETypeEnabled": if value != nil { jtv, ok := value.(bool) @@ -13062,12 +12902,10 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.GuessMIMETypeEnabled = ptr.Bool(jtv) } - case "InvalidUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.InvalidUserList, value); err != nil { return err } - case "KMSEncrypted": if value != nil { jtv, ok := value.(bool) @@ -13076,7 +12914,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.KMSEncrypted = jtv } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -13085,7 +12922,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.KMSKey = ptr.String(jtv) } - case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -13094,7 +12930,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.LocationARN = ptr.String(jtv) } - case "NotificationPolicy": if value != nil { jtv, ok := value.(string) @@ -13103,7 +12938,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.NotificationPolicy = ptr.String(jtv) } - case "ObjectACL": if value != nil { jtv, ok := value.(string) @@ -13112,7 +12946,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.ObjectACL = types.ObjectACL(jtv) } - case "OplocksEnabled": if value != nil { jtv, ok := value.(bool) @@ -13121,7 +12954,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.OplocksEnabled = ptr.Bool(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -13130,7 +12962,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Path = ptr.String(jtv) } - case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -13139,7 +12970,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.ReadOnly = ptr.Bool(jtv) } - case "RequesterPays": if value != nil { jtv, ok := value.(bool) @@ -13148,7 +12978,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.RequesterPays = ptr.Bool(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -13157,7 +12986,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Role = ptr.String(jtv) } - case "SMBACLEnabled": if value != nil { jtv, ok := value.(bool) @@ -13166,17 +12994,14 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.SMBACLEnabled = ptr.Bool(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "ValidUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.ValidUserList, value); err != nil { return err } - case "VPCEndpointDNSName": if value != nil { jtv, ok := value.(string) @@ -13185,7 +13010,6 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.VPCEndpointDNSName = ptr.String(jtv) } - default: _, _ = key, value @@ -13255,7 +13079,6 @@ func awsAwsjson11_deserializeDocumentSMBLocalGroups(v **types.SMBLocalGroups, va if err := awsAwsjson11_deserializeDocumentUserList(&sv.GatewayAdmins, value); err != nil { return err } - default: _, _ = key, value @@ -13295,7 +13118,6 @@ func awsAwsjson11_deserializeDocumentSoftwareUpdatePreferences(v **types.Softwar } sv.AutomaticUpdatePolicy = types.AutomaticUpdatePolicy(jtv) } - default: _, _ = key, value @@ -13335,12 +13157,10 @@ func awsAwsjson11_deserializeDocumentStorageGatewayError(v **types.StorageGatewa } sv.ErrorCode = types.ErrorCode(jtv) } - case "errorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } - default: _, _ = key, value @@ -13387,7 +13207,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -13396,7 +13215,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.KMSKey = ptr.String(jtv) } - case "PreservedExistingData": if value != nil { jtv, ok := value.(bool) @@ -13405,7 +13223,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.PreservedExistingData = jtv } - case "SourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -13414,7 +13231,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.SourceSnapshotId = ptr.String(jtv) } - case "TargetName": if value != nil { jtv, ok := value.(string) @@ -13423,7 +13239,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.TargetName = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -13432,7 +13247,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeARN = ptr.String(jtv) } - case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -13441,7 +13255,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeAttachmentStatus = ptr.String(jtv) } - case "VolumeDiskId": if value != nil { jtv, ok := value.(string) @@ -13450,7 +13263,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeDiskId = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -13459,12 +13271,10 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeId = ptr.String(jtv) } - case "VolumeiSCSIAttributes": if err := awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(&sv.VolumeiSCSIAttributes, value); err != nil { return err } - case "VolumeProgress": if value != nil { switch jtv := value.(type) { @@ -13498,7 +13308,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } } - case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13511,7 +13320,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeSizeInBytes = i64 } - case "VolumeStatus": if value != nil { jtv, ok := value.(string) @@ -13520,7 +13328,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeStatus = ptr.String(jtv) } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -13529,7 +13336,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeType = ptr.String(jtv) } - case "VolumeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13542,7 +13348,6 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeUsedInBytes = ptr.Int64(i64) } - default: _, _ = key, value @@ -13652,7 +13457,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -13661,7 +13465,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13735,7 +13538,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.KMSKey = ptr.String(jtv) } - case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -13751,7 +13553,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -13760,7 +13561,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.PoolId = ptr.String(jtv) } - case "Progress": if value != nil { switch jtv := value.(type) { @@ -13794,7 +13594,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } - case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -13810,7 +13609,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } - case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -13819,7 +13617,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeARN = ptr.String(jtv) } - case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -13828,7 +13625,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeBarcode = ptr.String(jtv) } - case "TapeCreatedDate": if value != nil { switch jtv := value.(type) { @@ -13844,7 +13640,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } - case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13857,7 +13652,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeSizeInBytes = ptr.Int64(i64) } - case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -13866,7 +13660,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeStatus = ptr.String(jtv) } - case "TapeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13879,7 +13672,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeUsedInBytes = ptr.Int64(i64) } - case "VTLDevice": if value != nil { jtv, ok := value.(string) @@ -13888,7 +13680,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.VTLDevice = ptr.String(jtv) } - case "Worm": if value != nil { jtv, ok := value.(bool) @@ -13897,7 +13688,6 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.Worm = jtv } - default: _, _ = key, value @@ -13944,7 +13734,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } - case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -13953,7 +13742,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.KMSKey = ptr.String(jtv) } - case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -13969,7 +13757,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -13978,7 +13765,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.PoolId = ptr.String(jtv) } - case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -13994,7 +13780,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } - case "RetrievedTo": if value != nil { jtv, ok := value.(string) @@ -14003,7 +13788,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.RetrievedTo = ptr.String(jtv) } - case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -14012,7 +13796,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeARN = ptr.String(jtv) } - case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -14021,7 +13804,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeBarcode = ptr.String(jtv) } - case "TapeCreatedDate": if value != nil { switch jtv := value.(type) { @@ -14037,7 +13819,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } - case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14050,7 +13831,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeSizeInBytes = ptr.Int64(i64) } - case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -14059,7 +13839,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeStatus = ptr.String(jtv) } - case "TapeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14072,7 +13851,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeUsedInBytes = ptr.Int64(i64) } - case "Worm": if value != nil { jtv, ok := value.(bool) @@ -14081,7 +13859,6 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.Worm = jtv } - default: _, _ = key, value @@ -14191,7 +13968,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.GatewayARN = ptr.String(jtv) } - case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -14207,7 +13983,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -14216,7 +13991,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.PoolId = ptr.String(jtv) } - case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -14232,7 +14006,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } } - case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -14241,7 +14014,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeARN = ptr.String(jtv) } - case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -14250,7 +14022,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeBarcode = ptr.String(jtv) } - case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14263,7 +14034,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeSizeInBytes = ptr.Int64(i64) } - case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -14272,7 +14042,6 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -14346,7 +14115,6 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeARN = ptr.String(jtv) } - case "TapeRecoveryPointTime": if value != nil { switch jtv := value.(type) { @@ -14362,7 +14130,6 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } } - case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14375,7 +14142,6 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeSizeInBytes = ptr.Int64(i64) } - case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -14384,7 +14150,6 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeStatus = ptr.String(jtv) } - default: _, _ = key, value @@ -14528,7 +14293,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.GatewayARN = ptr.String(jtv) } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -14537,7 +14301,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.GatewayId = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -14546,7 +14309,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeARN = ptr.String(jtv) } - case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -14555,7 +14317,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeAttachmentStatus = ptr.String(jtv) } - case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -14564,7 +14325,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeId = ptr.String(jtv) } - case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14577,7 +14337,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeSizeInBytes = i64 } - case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -14586,7 +14345,6 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeType = ptr.String(jtv) } - default: _, _ = key, value @@ -14660,7 +14418,6 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.ChapEnabled = jtv } - case "LunNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14673,7 +14430,6 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.LunNumber = ptr.Int32(int32(i64)) } - case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -14682,7 +14438,6 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.NetworkInterfaceId = ptr.String(jtv) } - case "NetworkInterfacePort": if value != nil { jtv, ok := value.(json.Number) @@ -14695,7 +14450,6 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.NetworkInterfacePort = int32(i64) } - case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -14704,7 +14458,6 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.TargetARN = ptr.String(jtv) } - default: _, _ = key, value @@ -14744,7 +14497,6 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeARN = ptr.String(jtv) } - case "VolumeRecoveryPointTime": if value != nil { jtv, ok := value.(string) @@ -14753,7 +14505,6 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeRecoveryPointTime = ptr.String(jtv) } - case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14766,7 +14517,6 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeSizeInBytes = i64 } - case "VolumeUsageInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14779,7 +14529,6 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeUsageInBytes = i64 } - default: _, _ = key, value @@ -14849,7 +14598,6 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf if err := awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(&sv.DeviceiSCSIAttributes, value); err != nil { return err } - case "VTLDeviceARN": if value != nil { jtv, ok := value.(string) @@ -14858,7 +14606,6 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceARN = ptr.String(jtv) } - case "VTLDeviceProductIdentifier": if value != nil { jtv, ok := value.(string) @@ -14867,7 +14614,6 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceProductIdentifier = ptr.String(jtv) } - case "VTLDeviceType": if value != nil { jtv, ok := value.(string) @@ -14876,7 +14622,6 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceType = ptr.String(jtv) } - case "VTLDeviceVendor": if value != nil { jtv, ok := value.(string) @@ -14885,7 +14630,6 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceVendor = ptr.String(jtv) } - default: _, _ = key, value @@ -14959,7 +14703,6 @@ func awsAwsjson11_deserializeOpDocumentActivateGatewayOutput(v **ActivateGateway } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -14999,7 +14742,6 @@ func awsAwsjson11_deserializeOpDocumentAddCacheOutput(v **AddCacheOutput, value } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15039,7 +14781,6 @@ func awsAwsjson11_deserializeOpDocumentAddTagsToResourceOutput(v **AddTagsToReso } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15079,7 +14820,6 @@ func awsAwsjson11_deserializeOpDocumentAddUploadBufferOutput(v **AddUploadBuffer } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15119,7 +14859,6 @@ func awsAwsjson11_deserializeOpDocumentAddWorkingStorageOutput(v **AddWorkingSto } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15159,7 +14898,6 @@ func awsAwsjson11_deserializeOpDocumentAssignTapePoolOutput(v **AssignTapePoolOu } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15199,7 +14937,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateFileSystemOutput(v **AssociateFi } sv.FileSystemAssociationARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15239,7 +14976,6 @@ func awsAwsjson11_deserializeOpDocumentAttachVolumeOutput(v **AttachVolumeOutput } sv.TargetARN = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15248,7 +14984,6 @@ func awsAwsjson11_deserializeOpDocumentAttachVolumeOutput(v **AttachVolumeOutput } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15288,7 +15023,6 @@ func awsAwsjson11_deserializeOpDocumentCancelArchivalOutput(v **CancelArchivalOu } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15328,7 +15062,6 @@ func awsAwsjson11_deserializeOpDocumentCancelRetrievalOutput(v **CancelRetrieval } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15368,7 +15101,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCachediSCSIVolumeOutput(v **CreateC } sv.TargetARN = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15377,7 +15109,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCachediSCSIVolumeOutput(v **CreateC } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15417,7 +15148,6 @@ func awsAwsjson11_deserializeOpDocumentCreateNFSFileShareOutput(v **CreateNFSFil } sv.FileShareARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15457,7 +15187,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSMBFileShareOutput(v **CreateSMBFil } sv.FileShareARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15497,7 +15226,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.SnapshotId = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15506,7 +15234,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.VolumeARN = ptr.String(jtv) } - case "VolumeRecoveryPointTime": if value != nil { jtv, ok := value.(string) @@ -15515,7 +15242,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.VolumeRecoveryPointTime = ptr.String(jtv) } - default: _, _ = key, value @@ -15555,7 +15281,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.SnapshotId = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15564,7 +15289,6 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15604,7 +15328,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.TargetARN = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15613,7 +15336,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.VolumeARN = ptr.String(jtv) } - case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15626,7 +15348,6 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.VolumeSizeInBytes = i64 } - default: _, _ = key, value @@ -15666,7 +15387,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTapePoolOutput(v **CreateTapePoolOu } sv.PoolARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15702,7 +15422,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTapesOutput(v **CreateTapesOutput, if err := awsAwsjson11_deserializeDocumentTapeARNs(&sv.TapeARNs, value); err != nil { return err } - default: _, _ = key, value @@ -15742,7 +15461,6 @@ func awsAwsjson11_deserializeOpDocumentCreateTapeWithBarcodeOutput(v **CreateTap } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15782,7 +15500,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAutomaticTapeCreationPolicyOutput(v } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15822,7 +15539,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteBandwidthRateLimitOutput(v **Delete } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15862,7 +15578,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteChapCredentialsOutput(v **DeleteCha } sv.InitiatorName = ptr.String(jtv) } - case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -15871,7 +15586,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteChapCredentialsOutput(v **DeleteCha } sv.TargetARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15911,7 +15625,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileShareOutput(v **DeleteFileShare } sv.FileShareARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15951,7 +15664,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -15991,7 +15703,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotScheduleOutput(v **DeleteSn } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16031,7 +15742,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapeArchiveOutput(v **DeleteTapeArc } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16071,7 +15781,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapeOutput(v **DeleteTapeOutput, va } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16111,7 +15820,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapePoolOutput(v **DeleteTapePoolOu } sv.PoolARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16151,7 +15859,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16191,7 +15898,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } sv.GatewayARN = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -16207,7 +15913,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -16216,7 +15921,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } sv.Status = types.AvailabilityMonitorTestStatus(jtv) } - default: _, _ = key, value @@ -16260,7 +15964,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.AverageDownloadRateLimitInBitsPerSec = ptr.Int64(i64) } - case "AverageUploadRateLimitInBitsPerSec": if value != nil { jtv, ok := value.(json.Number) @@ -16273,7 +15976,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16282,7 +15984,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16318,7 +16019,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitScheduleOutput( if err := awsAwsjson11_deserializeDocumentBandwidthRateLimitIntervals(&sv.BandwidthRateLimitIntervals, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16327,7 +16027,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitScheduleOutput( } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16363,7 +16062,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCachediSCSIVolumesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentCachediSCSIVolumes(&sv.CachediSCSIVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -16407,7 +16105,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } sv.CacheAllocatedInBytes = i64 } - case "CacheDirtyPercentage": if value != nil { switch jtv := value.(type) { @@ -16441,7 +16138,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } - case "CacheHitPercentage": if value != nil { switch jtv := value.(type) { @@ -16475,7 +16171,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } - case "CacheMissPercentage": if value != nil { switch jtv := value.(type) { @@ -16509,7 +16204,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } - case "CacheUsedPercentage": if value != nil { switch jtv := value.(type) { @@ -16543,12 +16237,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } - case "DiskIds": if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16557,7 +16249,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -16593,7 +16284,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeChapCredentialsOutput(v **Describ if err := awsAwsjson11_deserializeDocumentChapCredentials(&sv.ChapCredentials, value); err != nil { return err } - default: _, _ = key, value @@ -16629,7 +16319,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAssociationsOutput(v ** if err := awsAwsjson11_deserializeDocumentFileSystemAssociationInfoList(&sv.FileSystemAssociationInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -16669,7 +16358,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.CloudWatchLogGroupARN = ptr.String(jtv) } - case "DeprecationDate": if value != nil { jtv, ok := value.(string) @@ -16678,7 +16366,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.DeprecationDate = ptr.String(jtv) } - case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -16687,7 +16374,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.Ec2InstanceId = ptr.String(jtv) } - case "Ec2InstanceRegion": if value != nil { jtv, ok := value.(string) @@ -16696,7 +16382,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.Ec2InstanceRegion = ptr.String(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -16705,7 +16390,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.EndpointType = ptr.String(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16714,7 +16398,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } - case "GatewayCapacity": if value != nil { jtv, ok := value.(string) @@ -16723,7 +16406,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayCapacity = types.GatewayCapacity(jtv) } - case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -16732,7 +16414,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayId = ptr.String(jtv) } - case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -16741,12 +16422,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayName = ptr.String(jtv) } - case "GatewayNetworkInterfaces": if err := awsAwsjson11_deserializeDocumentGatewayNetworkInterfaces(&sv.GatewayNetworkInterfaces, value); err != nil { return err } - case "GatewayState": if value != nil { jtv, ok := value.(string) @@ -16755,7 +16434,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayState = ptr.String(jtv) } - case "GatewayTimezone": if value != nil { jtv, ok := value.(string) @@ -16764,7 +16442,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayTimezone = ptr.String(jtv) } - case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -16773,7 +16450,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayType = ptr.String(jtv) } - case "HostEnvironment": if value != nil { jtv, ok := value.(string) @@ -16782,7 +16458,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.HostEnvironment = types.HostEnvironment(jtv) } - case "HostEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -16791,7 +16466,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.HostEnvironmentId = ptr.String(jtv) } - case "LastSoftwareUpdate": if value != nil { jtv, ok := value.(string) @@ -16800,7 +16474,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.LastSoftwareUpdate = ptr.String(jtv) } - case "NextUpdateAvailabilityDate": if value != nil { jtv, ok := value.(string) @@ -16809,7 +16482,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.NextUpdateAvailabilityDate = ptr.String(jtv) } - case "SoftwareUpdatesEndDate": if value != nil { jtv, ok := value.(string) @@ -16818,7 +16490,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.SoftwareUpdatesEndDate = ptr.String(jtv) } - case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -16827,17 +16498,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.SoftwareVersion = ptr.String(jtv) } - case "SupportedGatewayCapacities": if err := awsAwsjson11_deserializeDocumentSupportedGatewayCapacities(&sv.SupportedGatewayCapacities, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "VPCEndpoint": if value != nil { jtv, ok := value.(string) @@ -16846,7 +16514,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.VPCEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -16890,7 +16557,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.DayOfMonth = ptr.Int32(int32(i64)) } - case "DayOfWeek": if value != nil { jtv, ok := value.(json.Number) @@ -16903,7 +16569,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.DayOfWeek = ptr.Int32(int32(i64)) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16912,7 +16577,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.GatewayARN = ptr.String(jtv) } - case "HourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -16925,7 +16589,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.HourOfDay = ptr.Int32(int32(i64)) } - case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -16938,12 +16601,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.MinuteOfHour = ptr.Int32(int32(i64)) } - case "SoftwareUpdatePreferences": if err := awsAwsjson11_deserializeDocumentSoftwareUpdatePreferences(&sv.SoftwareUpdatePreferences, value); err != nil { return err } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -16952,7 +16613,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.Timezone = ptr.String(jtv) } - default: _, _ = key, value @@ -16988,7 +16648,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeNFSFileSharesOutput(v **DescribeN if err := awsAwsjson11_deserializeDocumentNFSFileShareInfoList(&sv.NFSFileShareInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -17024,7 +16683,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBFileSharesOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentSMBFileShareInfoList(&sv.SMBFileShareInfoList, value); err != nil { return err } - default: _, _ = key, value @@ -17064,7 +16722,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.ActiveDirectoryStatus = types.ActiveDirectoryStatus(jtv) } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -17073,7 +16730,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.DomainName = ptr.String(jtv) } - case "FileSharesVisible": if value != nil { jtv, ok := value.(bool) @@ -17082,7 +16738,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.FileSharesVisible = ptr.Bool(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17091,7 +16746,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.GatewayARN = ptr.String(jtv) } - case "SMBGuestPasswordSet": if value != nil { jtv, ok := value.(bool) @@ -17100,12 +16754,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.SMBGuestPasswordSet = ptr.Bool(jtv) } - case "SMBLocalGroups": if err := awsAwsjson11_deserializeDocumentSMBLocalGroups(&sv.SMBLocalGroups, value); err != nil { return err } - case "SMBSecurityStrategy": if value != nil { jtv, ok := value.(string) @@ -17114,7 +16766,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.SMBSecurityStrategy = types.SMBSecurityStrategy(jtv) } - default: _, _ = key, value @@ -17154,7 +16805,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.Description = ptr.String(jtv) } - case "RecurrenceInHours": if value != nil { jtv, ok := value.(json.Number) @@ -17167,7 +16817,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.RecurrenceInHours = ptr.Int32(int32(i64)) } - case "StartAt": if value != nil { jtv, ok := value.(json.Number) @@ -17180,12 +16829,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.StartAt = ptr.Int32(int32(i64)) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Timezone": if value != nil { jtv, ok := value.(string) @@ -17194,7 +16841,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.Timezone = ptr.String(jtv) } - case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -17203,7 +16849,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17239,7 +16884,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorediSCSIVolumesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentStorediSCSIVolumes(&sv.StorediSCSIVolumes, value); err != nil { return err } - default: _, _ = key, value @@ -17279,12 +16923,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeArchivesOutput(v **DescribeTa } sv.Marker = ptr.String(jtv) } - case "TapeArchives": if err := awsAwsjson11_deserializeDocumentTapeArchives(&sv.TapeArchives, value); err != nil { return err } - default: _, _ = key, value @@ -17324,7 +16966,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeRecoveryPointsOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -17333,12 +16974,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeRecoveryPointsOutput(v **Desc } sv.Marker = ptr.String(jtv) } - case "TapeRecoveryPointInfos": if err := awsAwsjson11_deserializeDocumentTapeRecoveryPointInfos(&sv.TapeRecoveryPointInfos, value); err != nil { return err } - default: _, _ = key, value @@ -17378,12 +17017,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapesOutput(v **DescribeTapesOutp } sv.Marker = ptr.String(jtv) } - case "Tapes": if err := awsAwsjson11_deserializeDocumentTapes(&sv.Tapes, value); err != nil { return err } - default: _, _ = key, value @@ -17419,7 +17056,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17428,7 +17064,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.GatewayARN = ptr.String(jtv) } - case "UploadBufferAllocatedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17441,7 +17076,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.UploadBufferAllocatedInBytes = i64 } - case "UploadBufferUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17454,7 +17088,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.UploadBufferUsedInBytes = i64 } - default: _, _ = key, value @@ -17494,7 +17127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeVTLDevicesOutput(v **DescribeVTLD } sv.GatewayARN = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -17503,12 +17135,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeVTLDevicesOutput(v **DescribeVTLD } sv.Marker = ptr.String(jtv) } - case "VTLDevices": if err := awsAwsjson11_deserializeDocumentVTLDevices(&sv.VTLDevices, value); err != nil { return err } - default: _, _ = key, value @@ -17544,7 +17174,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17553,7 +17182,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.GatewayARN = ptr.String(jtv) } - case "WorkingStorageAllocatedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17566,7 +17194,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.WorkingStorageAllocatedInBytes = i64 } - case "WorkingStorageUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17579,7 +17206,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.WorkingStorageUsedInBytes = i64 } - default: _, _ = key, value @@ -17619,7 +17245,6 @@ func awsAwsjson11_deserializeOpDocumentDetachVolumeOutput(v **DetachVolumeOutput } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17659,7 +17284,6 @@ func awsAwsjson11_deserializeOpDocumentDisableGatewayOutput(v **DisableGatewayOu } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17699,7 +17323,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFileSystemOutput(v **Disassoc } sv.FileSystemAssociationARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17739,7 +17362,6 @@ func awsAwsjson11_deserializeOpDocumentJoinDomainOutput(v **JoinDomainOutput, va } sv.ActiveDirectoryStatus = types.ActiveDirectoryStatus(jtv) } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17748,7 +17370,6 @@ func awsAwsjson11_deserializeOpDocumentJoinDomainOutput(v **JoinDomainOutput, va } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -17784,7 +17405,6 @@ func awsAwsjson11_deserializeOpDocumentListAutomaticTapeCreationPoliciesOutput(v if err := awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfos(&sv.AutomaticTapeCreationPolicyInfos, value); err != nil { return err } - default: _, _ = key, value @@ -17820,7 +17440,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu if err := awsAwsjson11_deserializeDocumentFileShareInfoList(&sv.FileShareInfoList, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -17829,7 +17448,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu } sv.Marker = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17838,7 +17456,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17874,7 +17491,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List if err := awsAwsjson11_deserializeDocumentFileSystemAssociationSummaryList(&sv.FileSystemAssociationSummaryList, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -17883,7 +17499,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List } sv.Marker = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17892,7 +17507,6 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17928,7 +17542,6 @@ func awsAwsjson11_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsAwsjson11_deserializeDocumentGateways(&sv.Gateways, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -17937,7 +17550,6 @@ func awsAwsjson11_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -17973,7 +17585,6 @@ func awsAwsjson11_deserializeOpDocumentListLocalDisksOutput(v **ListLocalDisksOu if err := awsAwsjson11_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } - case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17982,7 +17593,6 @@ func awsAwsjson11_deserializeOpDocumentListLocalDisksOutput(v **ListLocalDisksOu } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18022,7 +17632,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.Marker = ptr.String(jtv) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -18031,12 +17640,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceARN = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -18076,12 +17683,10 @@ func awsAwsjson11_deserializeOpDocumentListTapePoolsOutput(v **ListTapePoolsOutp } sv.Marker = ptr.String(jtv) } - case "PoolInfos": if err := awsAwsjson11_deserializeDocumentPoolInfos(&sv.PoolInfos, value); err != nil { return err } - default: _, _ = key, value @@ -18121,12 +17726,10 @@ func awsAwsjson11_deserializeOpDocumentListTapesOutput(v **ListTapesOutput, valu } sv.Marker = ptr.String(jtv) } - case "TapeInfos": if err := awsAwsjson11_deserializeDocumentTapeInfos(&sv.TapeInfos, value); err != nil { return err } - default: _, _ = key, value @@ -18162,7 +17765,6 @@ func awsAwsjson11_deserializeOpDocumentListVolumeInitiatorsOutput(v **ListVolume if err := awsAwsjson11_deserializeDocumentInitiators(&sv.Initiators, value); err != nil { return err } - default: _, _ = key, value @@ -18202,12 +17804,10 @@ func awsAwsjson11_deserializeOpDocumentListVolumeRecoveryPointsOutput(v **ListVo } sv.GatewayARN = ptr.String(jtv) } - case "VolumeRecoveryPointInfos": if err := awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfos(&sv.VolumeRecoveryPointInfos, value); err != nil { return err } - default: _, _ = key, value @@ -18247,7 +17847,6 @@ func awsAwsjson11_deserializeOpDocumentListVolumesOutput(v **ListVolumesOutput, } sv.GatewayARN = ptr.String(jtv) } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -18256,12 +17855,10 @@ func awsAwsjson11_deserializeOpDocumentListVolumesOutput(v **ListVolumesOutput, } sv.Marker = ptr.String(jtv) } - case "VolumeInfos": if err := awsAwsjson11_deserializeDocumentVolumeInfos(&sv.VolumeInfos, value); err != nil { return err } - default: _, _ = key, value @@ -18301,7 +17898,6 @@ func awsAwsjson11_deserializeOpDocumentNotifyWhenUploadedOutput(v **NotifyWhenUp } sv.FileShareARN = ptr.String(jtv) } - case "NotificationId": if value != nil { jtv, ok := value.(string) @@ -18310,7 +17906,6 @@ func awsAwsjson11_deserializeOpDocumentNotifyWhenUploadedOutput(v **NotifyWhenUp } sv.NotificationId = ptr.String(jtv) } - default: _, _ = key, value @@ -18350,7 +17945,6 @@ func awsAwsjson11_deserializeOpDocumentRefreshCacheOutput(v **RefreshCacheOutput } sv.FileShareARN = ptr.String(jtv) } - case "NotificationId": if value != nil { jtv, ok := value.(string) @@ -18359,7 +17953,6 @@ func awsAwsjson11_deserializeOpDocumentRefreshCacheOutput(v **RefreshCacheOutput } sv.NotificationId = ptr.String(jtv) } - default: _, _ = key, value @@ -18399,7 +17992,6 @@ func awsAwsjson11_deserializeOpDocumentRemoveTagsFromResourceOutput(v **RemoveTa } sv.ResourceARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18439,7 +18031,6 @@ func awsAwsjson11_deserializeOpDocumentResetCacheOutput(v **ResetCacheOutput, va } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18479,7 +18070,6 @@ func awsAwsjson11_deserializeOpDocumentRetrieveTapeArchiveOutput(v **RetrieveTap } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18519,7 +18109,6 @@ func awsAwsjson11_deserializeOpDocumentRetrieveTapeRecoveryPointOutput(v **Retri } sv.TapeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18559,7 +18148,6 @@ func awsAwsjson11_deserializeOpDocumentSetLocalConsolePasswordOutput(v **SetLoca } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18599,7 +18187,6 @@ func awsAwsjson11_deserializeOpDocumentSetSMBGuestPasswordOutput(v **SetSMBGuest } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18639,7 +18226,6 @@ func awsAwsjson11_deserializeOpDocumentShutdownGatewayOutput(v **ShutdownGateway } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18679,7 +18265,6 @@ func awsAwsjson11_deserializeOpDocumentStartAvailabilityMonitorTestOutput(v **St } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18719,7 +18304,6 @@ func awsAwsjson11_deserializeOpDocumentStartGatewayOutput(v **StartGatewayOutput } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18759,7 +18343,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAutomaticTapeCreationPolicyOutput(v } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18799,7 +18382,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBandwidthRateLimitOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18839,7 +18421,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateBandwidthRateLimitScheduleOutput(v } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18879,7 +18460,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateChapCredentialsOutput(v **UpdateCha } sv.InitiatorName = ptr.String(jtv) } - case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -18888,7 +18468,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateChapCredentialsOutput(v **UpdateCha } sv.TargetARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18928,7 +18507,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileSystemAssociationOutput(v **Upd } sv.FileSystemAssociationARN = ptr.String(jtv) } - default: _, _ = key, value @@ -18968,7 +18546,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } - case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -18977,7 +18554,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayName = ptr.String(jtv) } - default: _, _ = key, value @@ -19017,7 +18593,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19057,7 +18632,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceStartTimeOutput(v **Upda } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19097,7 +18671,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateNFSFileShareOutput(v **UpdateNFSFil } sv.FileShareARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19137,7 +18710,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBFileShareOutput(v **UpdateSMBFil } sv.FileShareARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19177,7 +18749,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBFileShareVisibilityOutput(v **Up } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19217,7 +18788,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBLocalGroupsOutput(v **UpdateSMBL } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19257,7 +18827,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBSecurityStrategyOutput(v **Updat } sv.GatewayARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19297,7 +18866,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotScheduleOutput(v **UpdateSn } sv.VolumeARN = ptr.String(jtv) } - default: _, _ = key, value @@ -19337,7 +18905,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVTLDeviceTypeOutput(v **UpdateVTLDe } sv.VTLDeviceARN = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/supplychain/deserializers.go b/service/supplychain/deserializers.go index cacf7b19909..5a3027a9281 100644 --- a/service/supplychain/deserializers.go +++ b/service/supplychain/deserializers.go @@ -194,7 +194,6 @@ func awsRestjson1_deserializeOpDocumentCreateBillOfMaterialsImportJobOutput(v ** } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -368,7 +367,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationFlowOutput(v **Creat } sv.InstanceId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -377,7 +375,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationFlowOutput(v **Creat } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -547,7 +544,6 @@ func awsRestjson1_deserializeOpDocumentCreateDataLakeDatasetOutput(v **CreateDat if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -717,7 +713,6 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -891,7 +886,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataIntegrationFlowOutput(v **Delet } sv.InstanceId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -900,7 +894,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataIntegrationFlowOutput(v **Delet } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1074,7 +1067,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.InstanceId = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1083,7 +1075,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -1092,7 +1083,6 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -1262,7 +1252,6 @@ func awsRestjson1_deserializeOpDocumentDeleteInstanceOutput(v **DeleteInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -1432,7 +1421,6 @@ func awsRestjson1_deserializeOpDocumentGetBillOfMaterialsImportJobOutput(v **Get if err := awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -1602,7 +1590,6 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationFlowOutput(v **GetDataI if err := awsRestjson1_deserializeDocumentDataIntegrationFlow(&sv.Flow, value); err != nil { return err } - default: _, _ = key, value @@ -1772,7 +1759,6 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeDatasetOutput(v **GetDataLakeD if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -1942,7 +1928,6 @@ func awsRestjson1_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -2112,7 +2097,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationFlowsOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataIntegrationFlowList(&sv.Flows, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2121,7 +2105,6 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationFlowsOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2291,7 +2274,6 @@ func awsRestjson1_deserializeOpDocumentListDataLakeDatasetsOutput(v **ListDataLa if err := awsRestjson1_deserializeDocumentDataLakeDatasetList(&sv.Datasets, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2300,7 +2282,6 @@ func awsRestjson1_deserializeOpDocumentListDataLakeDatasetsOutput(v **ListDataLa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2470,7 +2451,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2479,7 +2459,6 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2649,7 +2628,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2823,7 +2801,6 @@ func awsRestjson1_deserializeOpDocumentSendDataIntegrationEventOutput(v **SendDa } sv.EventId = ptr.String(jtv) } - default: _, _ = key, value @@ -3205,7 +3182,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataIntegrationFlowOutput(v **Updat if err := awsRestjson1_deserializeDocumentDataIntegrationFlow(&sv.Flow, value); err != nil { return err } - default: _, _ = key, value @@ -3375,7 +3351,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDataLakeDatasetOutput(v **UpdateDat if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } - default: _, _ = key, value @@ -3545,7 +3520,6 @@ func awsRestjson1_deserializeOpDocumentUpdateInstanceOutput(v **UpdateInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } - default: _, _ = key, value @@ -3827,15 +3801,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3843,15 +3811,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3886,7 +3850,6 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.InstanceId = ptr.String(jtv) } - case "jobId": if value != nil { jtv, ok := value.(string) @@ -3895,7 +3858,6 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.JobId = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -3904,7 +3866,6 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.Message = ptr.String(jtv) } - case "s3uri": if value != nil { jtv, ok := value.(string) @@ -3913,7 +3874,6 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.S3uri = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3922,7 +3882,6 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.Status = types.ConfigurationJobStatus(jtv) } - default: _, _ = key, value @@ -3952,15 +3911,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3968,15 +3921,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4018,7 +3967,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -4027,7 +3975,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } sv.InstanceId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4043,7 +3990,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } } - case "name": if value != nil { jtv, ok := value.(string) @@ -4052,22 +3998,18 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } sv.Name = ptr.String(jtv) } - case "sources": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowSourceList(&sv.Sources, value); err != nil { return err } - case "target": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(&sv.Target, value); err != nil { return err } - case "transformation": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(&sv.Transformation, value); err != nil { return err } - default: _, _ = key, value @@ -4107,7 +4049,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(v **types } sv.DedupeRecords = ptr.Bool(jtv) } - case "loadType": if value != nil { jtv, ok := value.(string) @@ -4116,7 +4057,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(v **types } sv.LoadType = types.DataIntegrationFlowLoadType(jtv) } - default: _, _ = key, value @@ -4156,12 +4096,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetSourceConfigurati } sv.DatasetIdentifier = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -4201,12 +4139,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetTargetConfigurati } sv.DatasetIdentifier = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(&sv.Options, value); err != nil { return err } - default: _, _ = key, value @@ -4280,7 +4216,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(v **types.Data } sv.FileType = types.DataIntegrationFlowFileType(jtv) } - default: _, _ = key, value @@ -4320,12 +4255,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(v } sv.BucketName = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(&sv.Options, value); err != nil { return err } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -4334,7 +4267,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(v } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4374,12 +4306,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(v } sv.BucketName = ptr.String(jtv) } - case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(&sv.Options, value); err != nil { return err } - case "prefix": if value != nil { jtv, ok := value.(string) @@ -4388,7 +4318,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(v } sv.Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4424,12 +4353,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetSourceConfiguration(&sv.DatasetSource, value); err != nil { return err } - case "s3Source": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(&sv.S3Source, value); err != nil { return err } - case "sourceName": if value != nil { jtv, ok := value.(string) @@ -4438,7 +4365,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt } sv.SourceName = ptr.String(jtv) } - case "sourceType": if value != nil { jtv, ok := value.(string) @@ -4447,7 +4373,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt } sv.SourceType = types.DataIntegrationFlowSourceType(jtv) } - default: _, _ = key, value @@ -4521,7 +4446,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSQLTransformationConfigu } sv.Query = ptr.String(jtv) } - default: _, _ = key, value @@ -4557,12 +4481,10 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(v **types.DataInt if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetTargetConfiguration(&sv.DatasetTarget, value); err != nil { return err } - case "s3Target": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(&sv.S3Target, value); err != nil { return err } - case "targetType": if value != nil { jtv, ok := value.(string) @@ -4571,7 +4493,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(v **types.DataInt } sv.TargetType = types.DataIntegrationFlowTargetType(jtv) } - default: _, _ = key, value @@ -4607,7 +4528,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(v **types if err := awsRestjson1_deserializeDocumentDataIntegrationFlowSQLTransformationConfiguration(&sv.SqlTransformation, value); err != nil { return err } - case "transformationType": if value != nil { jtv, ok := value.(string) @@ -4616,7 +4536,6 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(v **types } sv.TransformationType = types.DataIntegrationFlowTransformationType(jtv) } - default: _, _ = key, value @@ -4656,7 +4575,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Arn = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -4672,7 +4590,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } } - case "description": if value != nil { jtv, ok := value.(string) @@ -4681,7 +4598,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Description = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -4690,7 +4606,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.InstanceId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4706,7 +4621,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } } - case "name": if value != nil { jtv, ok := value.(string) @@ -4715,7 +4629,6 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Name = ptr.String(jtv) } - case "namespace": if value != nil { jtv, ok := value.(string) @@ -4724,12 +4637,10 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Namespace = ptr.String(jtv) } - case "schema": if err := awsRestjson1_deserializeDocumentDataLakeDatasetSchema(&sv.Schema, value); err != nil { return err } - default: _, _ = key, value @@ -4799,7 +4710,6 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchema(v **types.DataLakeDat if err := awsRestjson1_deserializeDocumentDataLakeDatasetSchemaFieldList(&sv.Fields, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4808,7 +4718,6 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchema(v **types.DataLakeDat } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4848,7 +4757,6 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.IsRequired = ptr.Bool(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4857,7 +4765,6 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.Name = ptr.String(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -4866,7 +4773,6 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.Type = types.DataLakeDatasetSchemaFieldType(jtv) } - default: _, _ = key, value @@ -4940,7 +4846,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AwsAccountId = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -4956,7 +4861,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4965,7 +4869,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ErrorMessage = ptr.String(jtv) } - case "instanceDescription": if value != nil { jtv, ok := value.(string) @@ -4974,7 +4877,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceDescription = ptr.String(jtv) } - case "instanceId": if value != nil { jtv, ok := value.(string) @@ -4983,7 +4885,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } - case "instanceName": if value != nil { jtv, ok := value.(string) @@ -4992,7 +4893,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceName = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5001,7 +4901,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.KmsKeyArn = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5017,7 +4916,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "state": if value != nil { jtv, ok := value.(string) @@ -5026,7 +4924,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.State = types.InstanceState(jtv) } - case "versionNumber": if value != nil { switch jtv := value.(type) { @@ -5060,7 +4957,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } - case "webAppDnsDomain": if value != nil { jtv, ok := value.(string) @@ -5069,7 +4965,6 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.WebAppDnsDomain = ptr.String(jtv) } - default: _, _ = key, value @@ -5133,15 +5028,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5149,15 +5038,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5182,15 +5067,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5198,15 +5077,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5231,15 +5106,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5247,15 +5116,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5316,15 +5181,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5332,15 +5191,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5365,15 +5220,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5381,15 +5230,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/support/deserializers.go b/service/support/deserializers.go index df643319e27..8f461dd3ff9 100644 --- a/service/support/deserializers.go +++ b/service/support/deserializers.go @@ -2254,7 +2254,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Data = dv } - case "fileName": if value != nil { jtv, ok := value.(string) @@ -2263,7 +2262,6 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.FileName = ptr.String(jtv) } - default: _, _ = key, value @@ -2303,7 +2301,6 @@ func awsAwsjson11_deserializeDocumentAttachmentDetails(v **types.AttachmentDetai } sv.AttachmentId = ptr.String(jtv) } - case "fileName": if value != nil { jtv, ok := value.(string) @@ -2312,7 +2309,6 @@ func awsAwsjson11_deserializeDocumentAttachmentDetails(v **types.AttachmentDetai } sv.FileName = ptr.String(jtv) } - default: _, _ = key, value @@ -2342,15 +2338,9 @@ func awsAwsjson11_deserializeDocumentAttachmentIdNotFound(v **types.AttachmentId sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2358,15 +2348,11 @@ func awsAwsjson11_deserializeDocumentAttachmentIdNotFound(v **types.AttachmentId } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2391,15 +2377,9 @@ func awsAwsjson11_deserializeDocumentAttachmentLimitExceeded(v **types.Attachmen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2407,15 +2387,11 @@ func awsAwsjson11_deserializeDocumentAttachmentLimitExceeded(v **types.Attachmen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2474,15 +2450,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetExpired(v **types.AttachmentSe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2490,15 +2460,11 @@ func awsAwsjson11_deserializeDocumentAttachmentSetExpired(v **types.AttachmentSe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2523,15 +2489,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetIdNotFound(v **types.Attachmen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2539,15 +2499,11 @@ func awsAwsjson11_deserializeDocumentAttachmentSetIdNotFound(v **types.Attachmen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2572,15 +2528,9 @@ func awsAwsjson11_deserializeDocumentAttachmentSetSizeLimitExceeded(v **types.At sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2588,15 +2538,11 @@ func awsAwsjson11_deserializeDocumentAttachmentSetSizeLimitExceeded(v **types.At } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2621,15 +2567,9 @@ func awsAwsjson11_deserializeDocumentCaseCreationLimitExceeded(v **types.CaseCre sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2637,15 +2577,11 @@ func awsAwsjson11_deserializeDocumentCaseCreationLimitExceeded(v **types.CaseCre } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2680,7 +2616,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.CaseId = ptr.String(jtv) } - case "categoryCode": if value != nil { jtv, ok := value.(string) @@ -2689,12 +2624,10 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.CategoryCode = ptr.String(jtv) } - case "ccEmailAddresses": if err := awsAwsjson11_deserializeDocumentCcEmailAddressList(&sv.CcEmailAddresses, value); err != nil { return err } - case "displayId": if value != nil { jtv, ok := value.(string) @@ -2703,7 +2636,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.DisplayId = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -2712,12 +2644,10 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Language = ptr.String(jtv) } - case "recentCommunications": if err := awsAwsjson11_deserializeDocumentRecentCaseCommunications(&sv.RecentCommunications, value); err != nil { return err } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2726,7 +2656,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.ServiceCode = ptr.String(jtv) } - case "severityCode": if value != nil { jtv, ok := value.(string) @@ -2735,7 +2664,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.SeverityCode = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2744,7 +2672,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Status = ptr.String(jtv) } - case "subject": if value != nil { jtv, ok := value.(string) @@ -2753,7 +2680,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Subject = ptr.String(jtv) } - case "submittedBy": if value != nil { jtv, ok := value.(string) @@ -2762,7 +2688,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.SubmittedBy = ptr.String(jtv) } - case "timeCreated": if value != nil { jtv, ok := value.(string) @@ -2771,7 +2696,6 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.TimeCreated = ptr.String(jtv) } - default: _, _ = key, value @@ -2801,15 +2725,9 @@ func awsAwsjson11_deserializeDocumentCaseIdNotFound(v **types.CaseIdNotFound, va sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2817,15 +2735,11 @@ func awsAwsjson11_deserializeDocumentCaseIdNotFound(v **types.CaseIdNotFound, va } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2894,7 +2808,6 @@ func awsAwsjson11_deserializeDocumentCategory(v **types.Category, value interfac } sv.Code = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2903,7 +2816,6 @@ func awsAwsjson11_deserializeDocumentCategory(v **types.Category, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3009,7 +2921,6 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu if err := awsAwsjson11_deserializeDocumentAttachmentSet(&sv.AttachmentSet, value); err != nil { return err } - case "body": if value != nil { jtv, ok := value.(string) @@ -3018,7 +2929,6 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.Body = ptr.String(jtv) } - case "caseId": if value != nil { jtv, ok := value.(string) @@ -3027,7 +2937,6 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.CaseId = ptr.String(jtv) } - case "submittedBy": if value != nil { jtv, ok := value.(string) @@ -3036,7 +2945,6 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.SubmittedBy = ptr.String(jtv) } - case "timeCreated": if value != nil { jtv, ok := value.(string) @@ -3045,7 +2953,6 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.TimeCreated = ptr.String(jtv) } - default: _, _ = key, value @@ -3115,12 +3022,10 @@ func awsAwsjson11_deserializeDocumentCommunicationTypeOptions(v **types.Communic if err := awsAwsjson11_deserializeDocumentDatesWithoutSupportList(&sv.DatesWithoutSupport, value); err != nil { return err } - case "supportedHours": if err := awsAwsjson11_deserializeDocumentSupportedHoursList(&sv.SupportedHours, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -3129,7 +3034,6 @@ func awsAwsjson11_deserializeDocumentCommunicationTypeOptions(v **types.Communic } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -3203,7 +3107,6 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.EndDateTime = ptr.String(jtv) } - case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -3212,7 +3115,6 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.StartDateTime = ptr.String(jtv) } - default: _, _ = key, value @@ -3276,15 +3178,9 @@ func awsAwsjson11_deserializeDocumentDescribeAttachmentLimitExceeded(v **types.D sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3292,15 +3188,11 @@ func awsAwsjson11_deserializeDocumentDescribeAttachmentLimitExceeded(v **types.D } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3325,15 +3217,9 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3341,15 +3227,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3380,7 +3262,6 @@ func awsAwsjson11_deserializeDocumentRecentCaseCommunications(v **types.RecentCa if err := awsAwsjson11_deserializeDocumentCommunicationList(&sv.Communications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3389,7 +3270,6 @@ func awsAwsjson11_deserializeDocumentRecentCaseCommunications(v **types.RecentCa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3425,7 +3305,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } - case "code": if value != nil { jtv, ok := value.(string) @@ -3434,7 +3313,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Code = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3443,7 +3321,6 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3517,7 +3394,6 @@ func awsAwsjson11_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Code = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3526,7 +3402,6 @@ func awsAwsjson11_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -3636,7 +3511,6 @@ func awsAwsjson11_deserializeDocumentSupportedHour(v **types.SupportedHour, valu } sv.EndTime = ptr.String(jtv) } - case "startTime": if value != nil { jtv, ok := value.(string) @@ -3645,7 +3519,6 @@ func awsAwsjson11_deserializeDocumentSupportedHour(v **types.SupportedHour, valu } sv.StartTime = ptr.String(jtv) } - default: _, _ = key, value @@ -3719,7 +3592,6 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Code = ptr.String(jtv) } - case "display": if value != nil { jtv, ok := value.(string) @@ -3728,7 +3600,6 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Display = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -3737,7 +3608,6 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Language = ptr.String(jtv) } - default: _, _ = key, value @@ -3801,15 +3671,9 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3817,15 +3681,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3856,7 +3716,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(v **t if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(&sv.CostOptimizing, value); err != nil { return err } - default: _, _ = key, value @@ -3896,7 +3755,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Category = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3905,7 +3763,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3914,12 +3771,10 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3928,7 +3783,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4002,7 +3856,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.CheckId = ptr.String(jtv) } - case "millisUntilNextRefreshable": if value != nil { jtv, ok := value.(json.Number) @@ -4015,7 +3868,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.MillisUntilNextRefreshable = i64 } - case "status": if value != nil { jtv, ok := value.(string) @@ -4024,7 +3876,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4094,7 +3945,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } - case "checkId": if value != nil { jtv, ok := value.(string) @@ -4103,17 +3953,14 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.CheckId = ptr.String(jtv) } - case "flaggedResources": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetailList(&sv.FlaggedResources, value); err != nil { return err } - case "resourcesSummary": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(&sv.ResourcesSummary, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4122,7 +3969,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.Status = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -4131,7 +3977,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -4167,7 +4012,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } - case "checkId": if value != nil { jtv, ok := value.(string) @@ -4176,7 +4020,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.CheckId = ptr.String(jtv) } - case "hasFlaggedResources": if value != nil { jtv, ok := value.(bool) @@ -4185,12 +4028,10 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.HasFlaggedResources = jtv } - case "resourcesSummary": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(&sv.ResourcesSummary, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -4199,7 +4040,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.Status = ptr.String(jtv) } - case "timestamp": if value != nil { jtv, ok := value.(string) @@ -4208,7 +4048,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.Timestamp = ptr.String(jtv) } - default: _, _ = key, value @@ -4307,7 +4146,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(v **typ } } - case "estimatedPercentMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -4341,7 +4179,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(v **typ } } - default: _, _ = key, value @@ -4381,12 +4218,10 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.IsSuppressed = jtv } - case "metadata": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Metadata, value); err != nil { return err } - case "region": if value != nil { jtv, ok := value.(string) @@ -4395,7 +4230,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.Region = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4404,7 +4238,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.ResourceId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4246,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.Status = ptr.String(jtv) } - default: _, _ = key, value @@ -4491,7 +4323,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesFlagged = i64 } - case "resourcesIgnored": if value != nil { jtv, ok := value.(json.Number) @@ -4504,7 +4335,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesIgnored = i64 } - case "resourcesProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -4517,7 +4347,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesProcessed = i64 } - case "resourcesSuppressed": if value != nil { jtv, ok := value.(json.Number) @@ -4530,7 +4359,6 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesSuppressed = i64 } - default: _, _ = key, value @@ -4570,7 +4398,6 @@ func awsAwsjson11_deserializeOpDocumentAddAttachmentsToSetOutput(v **AddAttachme } sv.AttachmentSetId = ptr.String(jtv) } - case "expiryTime": if value != nil { jtv, ok := value.(string) @@ -4579,7 +4406,6 @@ func awsAwsjson11_deserializeOpDocumentAddAttachmentsToSetOutput(v **AddAttachme } sv.ExpiryTime = ptr.String(jtv) } - default: _, _ = key, value @@ -4619,7 +4445,6 @@ func awsAwsjson11_deserializeOpDocumentAddCommunicationToCaseOutput(v **AddCommu } sv.Result = jtv } - default: _, _ = key, value @@ -4659,7 +4484,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -4695,7 +4519,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttachmentOutput(v **DescribeAtta if err := awsAwsjson11_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } - default: _, _ = key, value @@ -4731,7 +4554,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCasesOutput(v **DescribeCasesOutp if err := awsAwsjson11_deserializeDocumentCaseList(&sv.Cases, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4740,7 +4562,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCasesOutput(v **DescribeCasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4776,7 +4597,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommunicationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentCommunicationList(&sv.Communications, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4785,7 +4605,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommunicationsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4821,7 +4640,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateCaseOptionsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentCommunicationTypeOptionsList(&sv.CommunicationTypes, value); err != nil { return err } - case "languageAvailability": if value != nil { jtv, ok := value.(string) @@ -4830,7 +4648,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateCaseOptionsOutput(v **Descr } sv.LanguageAvailability = ptr.String(jtv) } - default: _, _ = key, value @@ -4866,7 +4683,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -4902,7 +4718,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSeverityLevelsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentSeverityLevelsList(&sv.SeverityLevels, value); err != nil { return err } - default: _, _ = key, value @@ -4938,7 +4753,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSupportedLanguagesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSupportedLanguagesList(&sv.SupportedLanguages, value); err != nil { return err } - default: _, _ = key, value @@ -4974,7 +4788,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckRefreshStatuse if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatusList(&sv.Statuses, value); err != nil { return err } - default: _, _ = key, value @@ -5010,7 +4823,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckResultOutput(v if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -5046,7 +4858,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorChecksOutput(v **De if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckList(&sv.Checks, value); err != nil { return err } - default: _, _ = key, value @@ -5082,7 +4893,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckSummariesOutpu if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummaryList(&sv.Summaries, value); err != nil { return err } - default: _, _ = key, value @@ -5118,7 +4928,6 @@ func awsAwsjson11_deserializeOpDocumentRefreshTrustedAdvisorCheckOutput(v **Refr if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(&sv.Status, value); err != nil { return err } - default: _, _ = key, value @@ -5158,7 +4967,6 @@ func awsAwsjson11_deserializeOpDocumentResolveCaseOutput(v **ResolveCaseOutput, } sv.FinalCaseStatus = ptr.String(jtv) } - case "initialCaseStatus": if value != nil { jtv, ok := value.(string) @@ -5167,7 +4975,6 @@ func awsAwsjson11_deserializeOpDocumentResolveCaseOutput(v **ResolveCaseOutput, } sv.InitialCaseStatus = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/supportapp/deserializers.go b/service/supportapp/deserializers.go index 0144f9e19a7..d1508b4a9b4 100644 --- a/service/supportapp/deserializers.go +++ b/service/supportapp/deserializers.go @@ -569,7 +569,6 @@ func awsRestjson1_deserializeOpDocumentGetAccountAliasOutput(v **GetAccountAlias } sv.AccountAlias = ptr.String(jtv) } - default: _, _ = key, value @@ -728,12 +727,10 @@ func awsRestjson1_deserializeOpDocumentListSlackChannelConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "slackChannelConfigurations": if err := awsRestjson1_deserializeDocumentSlackChannelConfigurationList(&sv.SlackChannelConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -892,12 +889,10 @@ func awsRestjson1_deserializeOpDocumentListSlackWorkspaceConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "slackWorkspaceConfigurations": if err := awsRestjson1_deserializeDocumentSlackWorkspaceConfigurationList(&sv.SlackWorkspaceConfigurations, value); err != nil { return err } - default: _, _ = key, value @@ -1159,7 +1154,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.AccountType = types.AccountType(jtv) } - case "teamId": if value != nil { jtv, ok := value.(string) @@ -1168,7 +1162,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.TeamId = ptr.String(jtv) } - case "teamName": if value != nil { jtv, ok := value.(string) @@ -1177,7 +1170,6 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.TeamName = ptr.String(jtv) } - default: _, _ = key, value @@ -1345,7 +1337,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelId = ptr.String(jtv) } - case "channelName": if value != nil { jtv, ok := value.(string) @@ -1354,7 +1345,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelName = ptr.String(jtv) } - case "channelRoleArn": if value != nil { jtv, ok := value.(string) @@ -1363,7 +1353,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelRoleArn = ptr.String(jtv) } - case "notifyOnAddCorrespondenceToCase": if value != nil { jtv, ok := value.(bool) @@ -1372,7 +1361,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnAddCorrespondenceToCase = ptr.Bool(jtv) } - case "notifyOnCaseSeverity": if value != nil { jtv, ok := value.(string) @@ -1381,7 +1369,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnCaseSeverity = types.NotificationSeverityLevel(jtv) } - case "notifyOnCreateOrReopenCase": if value != nil { jtv, ok := value.(bool) @@ -1390,7 +1377,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnCreateOrReopenCase = ptr.Bool(jtv) } - case "notifyOnResolveCase": if value != nil { jtv, ok := value.(bool) @@ -1399,7 +1385,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnResolveCase = ptr.Bool(jtv) } - case "teamId": if value != nil { jtv, ok := value.(string) @@ -1408,7 +1393,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.TeamId = ptr.String(jtv) } - default: _, _ = key, value @@ -1654,15 +1638,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1670,15 +1648,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1703,15 +1677,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1719,15 +1687,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1752,15 +1716,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1768,15 +1726,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1801,15 +1755,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1817,15 +1765,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1850,15 +1794,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1866,15 +1804,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1909,7 +1843,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelId = ptr.String(jtv) } - case "channelName": if value != nil { jtv, ok := value.(string) @@ -1918,7 +1851,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelName = ptr.String(jtv) } - case "channelRoleArn": if value != nil { jtv, ok := value.(string) @@ -1927,7 +1859,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelRoleArn = ptr.String(jtv) } - case "notifyOnAddCorrespondenceToCase": if value != nil { jtv, ok := value.(bool) @@ -1936,7 +1867,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnAddCorrespondenceToCase = ptr.Bool(jtv) } - case "notifyOnCaseSeverity": if value != nil { jtv, ok := value.(string) @@ -1945,7 +1875,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnCaseSeverity = types.NotificationSeverityLevel(jtv) } - case "notifyOnCreateOrReopenCase": if value != nil { jtv, ok := value.(bool) @@ -1954,7 +1883,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnCreateOrReopenCase = ptr.Bool(jtv) } - case "notifyOnResolveCase": if value != nil { jtv, ok := value.(bool) @@ -1963,7 +1891,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnResolveCase = ptr.Bool(jtv) } - case "teamId": if value != nil { jtv, ok := value.(string) @@ -1972,7 +1899,6 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.TeamId = ptr.String(jtv) } - default: _, _ = key, value @@ -2046,7 +1972,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.AllowOrganizationMemberAccount = ptr.Bool(jtv) } - case "teamId": if value != nil { jtv, ok := value.(string) @@ -2055,7 +1980,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.TeamId = ptr.String(jtv) } - case "teamName": if value != nil { jtv, ok := value.(string) @@ -2064,7 +1988,6 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.TeamName = ptr.String(jtv) } - default: _, _ = key, value @@ -2128,15 +2051,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2144,15 +2061,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/swf/deserializers.go b/service/swf/deserializers.go index 103362c3799..cdf74d74274 100644 --- a/service/swf/deserializers.go +++ b/service/swf/deserializers.go @@ -4520,7 +4520,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.Details = ptr.String(jtv) } - case "latestCancelRequestedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4533,7 +4532,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.LatestCancelRequestedEventId = i64 } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4546,7 +4544,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4559,7 +4556,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.StartedEventId = i64 } - default: _, _ = key, value @@ -4599,7 +4595,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes( } sv.ActivityId = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4612,7 +4607,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes( } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -4652,7 +4646,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.Result = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4665,7 +4658,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4678,7 +4670,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.StartedEventId = i64 } - default: _, _ = key, value @@ -4718,7 +4709,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.Details = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4727,7 +4717,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.Reason = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4740,7 +4729,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4753,7 +4741,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.StartedEventId = i64 } - default: _, _ = key, value @@ -4793,12 +4780,10 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ActivityId = ptr.String(jtv) } - case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } - case "control": if value != nil { jtv, ok := value.(string) @@ -4807,7 +4792,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4820,7 +4804,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.DecisionTaskCompletedEventId = i64 } - case "heartbeatTimeout": if value != nil { jtv, ok := value.(string) @@ -4829,7 +4812,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.HeartbeatTimeout = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -4838,7 +4820,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.Input = ptr.String(jtv) } - case "scheduleToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -4847,7 +4828,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ScheduleToCloseTimeout = ptr.String(jtv) } - case "scheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -4856,7 +4836,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ScheduleToStartTimeout = ptr.String(jtv) } - case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -4865,12 +4844,10 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.StartToCloseTimeout = ptr.String(jtv) } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -4879,7 +4856,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.TaskPriority = ptr.String(jtv) } - default: _, _ = key, value @@ -4919,7 +4895,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(v **type } sv.Identity = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4932,7 +4907,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(v **type } sv.ScheduledEventId = i64 } - default: _, _ = key, value @@ -4972,7 +4946,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.Details = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4985,7 +4958,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4998,7 +4970,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.StartedEventId = i64 } - case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -5007,7 +4978,6 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.TimeoutType = types.ActivityTaskTimeoutType(jtv) } - default: _, _ = key, value @@ -5047,7 +5017,6 @@ func awsAwsjson10_deserializeDocumentActivityType(v **types.ActivityType, value } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -5056,7 +5025,6 @@ func awsAwsjson10_deserializeDocumentActivityType(v **types.ActivityType, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -5096,12 +5064,10 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskHeartbeatTimeout = ptr.String(jtv) } - case "defaultTaskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.DefaultTaskList, value); err != nil { return err } - case "defaultTaskPriority": if value != nil { jtv, ok := value.(string) @@ -5110,7 +5076,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskPriority = ptr.String(jtv) } - case "defaultTaskScheduleToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -5119,7 +5084,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskScheduleToCloseTimeout = ptr.String(jtv) } - case "defaultTaskScheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -5128,7 +5092,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskScheduleToStartTimeout = ptr.String(jtv) } - case "defaultTaskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -5137,7 +5100,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskStartToCloseTimeout = ptr.String(jtv) } - default: _, _ = key, value @@ -5173,7 +5135,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -5189,7 +5150,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } } - case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -5205,7 +5165,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -5214,7 +5173,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } sv.Description = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5223,7 +5181,6 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } sv.Status = types.RegistrationStatus(jtv) } - default: _, _ = key, value @@ -5297,7 +5254,6 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.Cause = types.CancelTimerFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5310,7 +5266,6 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.DecisionTaskCompletedEventId = i64 } - case "timerId": if value != nil { jtv, ok := value.(string) @@ -5319,7 +5274,6 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.TimerId = ptr.String(jtv) } - default: _, _ = key, value @@ -5359,7 +5313,6 @@ func awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttribute } sv.Cause = types.CancelWorkflowExecutionFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5372,7 +5325,6 @@ func awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttribute } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -5412,7 +5364,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.Details = ptr.String(jtv) } - case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5425,7 +5376,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.InitiatedEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5438,17 +5388,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.StartedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5492,7 +5439,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.InitiatedEventId = i64 } - case "result": if value != nil { jtv, ok := value.(string) @@ -5501,7 +5447,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.Result = ptr.String(jtv) } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5514,17 +5459,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.StartedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5564,7 +5506,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.Details = ptr.String(jtv) } - case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5577,7 +5518,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.InitiatedEventId = i64 } - case "reason": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5526,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.Reason = ptr.String(jtv) } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5599,17 +5538,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.StartedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5653,17 +5589,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionStartedEventAttribute } sv.InitiatedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5707,7 +5640,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttrib } sv.InitiatedEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5720,17 +5652,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttrib } sv.StartedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5774,7 +5703,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.InitiatedEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5787,7 +5715,6 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.StartedEventId = i64 } - case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -5796,17 +5723,14 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.TimeoutType = types.WorkflowExecutionTimeoutType(jtv) } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -5846,7 +5770,6 @@ func awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttribu } sv.Cause = types.CompleteWorkflowExecutionFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5859,7 +5782,6 @@ func awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttribu } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -5899,7 +5821,6 @@ func awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAt } sv.Cause = types.ContinueAsNewWorkflowExecutionFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5912,7 +5833,6 @@ func awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAt } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -5952,7 +5872,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.ExecutionContext = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5965,7 +5884,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5978,12 +5896,10 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.StartedEventId = i64 } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskListScheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -5992,7 +5908,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.TaskListScheduleToStartTimeout = ptr.String(jtv) } - default: _, _ = key, value @@ -6032,7 +5947,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.ScheduleToStartTimeout = ptr.String(jtv) } - case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -6041,12 +5955,10 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.StartToCloseTimeout = ptr.String(jtv) } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -6055,7 +5967,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.TaskPriority = ptr.String(jtv) } - default: _, _ = key, value @@ -6095,7 +6006,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(v **type } sv.Identity = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6108,7 +6018,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(v **type } sv.ScheduledEventId = i64 } - default: _, _ = key, value @@ -6152,7 +6061,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6165,7 +6073,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.StartedEventId = i64 } - case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -6174,7 +6081,6 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.TimeoutType = types.DecisionTaskTimeoutType(jtv) } - default: _, _ = key, value @@ -6204,15 +6110,9 @@ func awsAwsjson10_deserializeDocumentDefaultUndefinedFault(v **types.DefaultUnde sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6220,15 +6120,11 @@ func awsAwsjson10_deserializeDocumentDefaultUndefinedFault(v **types.DefaultUnde } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6253,15 +6149,9 @@ func awsAwsjson10_deserializeDocumentDomainAlreadyExistsFault(v **types.DomainAl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6269,15 +6159,11 @@ func awsAwsjson10_deserializeDocumentDomainAlreadyExistsFault(v **types.DomainAl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6312,7 +6198,6 @@ func awsAwsjson10_deserializeDocumentDomainConfiguration(v **types.DomainConfigu } sv.WorkflowExecutionRetentionPeriodInDays = ptr.String(jtv) } - default: _, _ = key, value @@ -6342,15 +6227,9 @@ func awsAwsjson10_deserializeDocumentDomainDeprecatedFault(v **types.DomainDepre sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6358,15 +6237,11 @@ func awsAwsjson10_deserializeDocumentDomainDeprecatedFault(v **types.DomainDepre } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6401,7 +6276,6 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6410,7 +6284,6 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Description = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -6419,7 +6292,6 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -6428,7 +6300,6 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Status = types.RegistrationStatus(jtv) } - default: _, _ = key, value @@ -6506,12 +6377,10 @@ func awsAwsjson10_deserializeDocumentExternalWorkflowExecutionCancelRequestedEve } sv.InitiatedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - default: _, _ = key, value @@ -6555,12 +6424,10 @@ func awsAwsjson10_deserializeDocumentExternalWorkflowExecutionSignaledEventAttri } sv.InitiatedEventId = i64 } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - default: _, _ = key, value @@ -6600,7 +6467,6 @@ func awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes( } sv.Cause = types.FailWorkflowExecutionFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6613,7 +6479,6 @@ func awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes( } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -6649,107 +6514,86 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value if err := awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(&sv.ActivityTaskCanceledEventAttributes, value); err != nil { return err } - case "activityTaskCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes(&sv.ActivityTaskCancelRequestedEventAttributes, value); err != nil { return err } - case "activityTaskCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(&sv.ActivityTaskCompletedEventAttributes, value); err != nil { return err } - case "activityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(&sv.ActivityTaskFailedEventAttributes, value); err != nil { return err } - case "activityTaskScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(&sv.ActivityTaskScheduledEventAttributes, value); err != nil { return err } - case "activityTaskStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(&sv.ActivityTaskStartedEventAttributes, value); err != nil { return err } - case "activityTaskTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(&sv.ActivityTaskTimedOutEventAttributes, value); err != nil { return err } - case "cancelTimerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(&sv.CancelTimerFailedEventAttributes, value); err != nil { return err } - case "cancelWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttributes(&sv.CancelWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttributes(&sv.ChildWorkflowExecutionCanceledEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttributes(&sv.ChildWorkflowExecutionCompletedEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes(&sv.ChildWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionStartedEventAttributes(&sv.ChildWorkflowExecutionStartedEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionTerminatedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttributes(&sv.ChildWorkflowExecutionTerminatedEventAttributes, value); err != nil { return err } - case "childWorkflowExecutionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttributes(&sv.ChildWorkflowExecutionTimedOutEventAttributes, value); err != nil { return err } - case "completeWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttributes(&sv.CompleteWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "continueAsNewWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAttributes(&sv.ContinueAsNewWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "decisionTaskCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(&sv.DecisionTaskCompletedEventAttributes, value); err != nil { return err } - case "decisionTaskScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(&sv.DecisionTaskScheduledEventAttributes, value); err != nil { return err } - case "decisionTaskStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(&sv.DecisionTaskStartedEventAttributes, value); err != nil { return err } - case "decisionTaskTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(&sv.DecisionTaskTimedOutEventAttributes, value); err != nil { return err } - case "eventId": if value != nil { jtv, ok := value.(json.Number) @@ -6762,7 +6606,6 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.EventId = i64 } - case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -6778,7 +6621,6 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } } - case "eventType": if value != nil { jtv, ok := value.(string) @@ -6787,172 +6629,138 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.EventType = types.EventType(jtv) } - case "externalWorkflowExecutionCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentExternalWorkflowExecutionCancelRequestedEventAttributes(&sv.ExternalWorkflowExecutionCancelRequestedEventAttributes, value); err != nil { return err } - case "externalWorkflowExecutionSignaledEventAttributes": if err := awsAwsjson10_deserializeDocumentExternalWorkflowExecutionSignaledEventAttributes(&sv.ExternalWorkflowExecutionSignaledEventAttributes, value); err != nil { return err } - case "failWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes(&sv.FailWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "lambdaFunctionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(&sv.LambdaFunctionCompletedEventAttributes, value); err != nil { return err } - case "lambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(&sv.LambdaFunctionFailedEventAttributes, value); err != nil { return err } - case "lambdaFunctionScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(&sv.LambdaFunctionScheduledEventAttributes, value); err != nil { return err } - case "lambdaFunctionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionStartedEventAttributes(&sv.LambdaFunctionStartedEventAttributes, value); err != nil { return err } - case "lambdaFunctionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(&sv.LambdaFunctionTimedOutEventAttributes, value); err != nil { return err } - case "markerRecordedEventAttributes": if err := awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(&sv.MarkerRecordedEventAttributes, value); err != nil { return err } - case "recordMarkerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(&sv.RecordMarkerFailedEventAttributes, value); err != nil { return err } - case "requestCancelActivityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttributes(&sv.RequestCancelActivityTaskFailedEventAttributes, value); err != nil { return err } - case "requestCancelExternalWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFailedEventAttributes(&sv.RequestCancelExternalWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(&sv.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } - case "scheduleActivityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(&sv.ScheduleActivityTaskFailedEventAttributes, value); err != nil { return err } - case "scheduleLambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes(&sv.ScheduleLambdaFunctionFailedEventAttributes, value); err != nil { return err } - case "signalExternalWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventAttributes(&sv.SignalExternalWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "signalExternalWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEventAttributes(&sv.SignalExternalWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } - case "startChildWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttributes(&sv.StartChildWorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "startChildWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAttributes(&sv.StartChildWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } - case "startLambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(&sv.StartLambdaFunctionFailedEventAttributes, value); err != nil { return err } - case "startTimerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(&sv.StartTimerFailedEventAttributes, value); err != nil { return err } - case "timerCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(&sv.TimerCanceledEventAttributes, value); err != nil { return err } - case "timerFiredEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(&sv.TimerFiredEventAttributes, value); err != nil { return err } - case "timerStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(&sv.TimerStartedEventAttributes, value); err != nil { return err } - case "workflowExecutionCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(&sv.WorkflowExecutionCanceledEventAttributes, value); err != nil { return err } - case "workflowExecutionCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttributes(&sv.WorkflowExecutionCancelRequestedEventAttributes, value); err != nil { return err } - case "workflowExecutionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(&sv.WorkflowExecutionCompletedEventAttributes, value); err != nil { return err } - case "workflowExecutionContinuedAsNewEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttributes(&sv.WorkflowExecutionContinuedAsNewEventAttributes, value); err != nil { return err } - case "workflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(&sv.WorkflowExecutionFailedEventAttributes, value); err != nil { return err } - case "workflowExecutionSignaledEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(&sv.WorkflowExecutionSignaledEventAttributes, value); err != nil { return err } - case "workflowExecutionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(&sv.WorkflowExecutionStartedEventAttributes, value); err != nil { return err } - case "workflowExecutionTerminatedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes(&sv.WorkflowExecutionTerminatedEventAttributes, value); err != nil { return err } - case "workflowExecutionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(&sv.WorkflowExecutionTimedOutEventAttributes, value); err != nil { return err } - default: _, _ = key, value @@ -7026,7 +6834,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.Result = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7039,7 +6846,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7052,7 +6858,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.StartedEventId = i64 } - default: _, _ = key, value @@ -7092,7 +6897,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.Details = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -7101,7 +6905,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.Reason = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7114,7 +6917,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7127,7 +6929,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.StartedEventId = i64 } - default: _, _ = key, value @@ -7167,7 +6968,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7180,7 +6980,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.DecisionTaskCompletedEventId = i64 } - case "id": if value != nil { jtv, ok := value.(string) @@ -7189,7 +6988,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Id = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -7198,7 +6996,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Input = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7207,7 +7004,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Name = ptr.String(jtv) } - case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -7216,7 +7012,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.StartToCloseTimeout = ptr.String(jtv) } - default: _, _ = key, value @@ -7260,7 +7055,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartedEventAttributes(v **ty } sv.ScheduledEventId = i64 } - default: _, _ = key, value @@ -7304,7 +7098,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.ScheduledEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7317,7 +7110,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.StartedEventId = i64 } - case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -7326,7 +7118,6 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.TimeoutType = types.LambdaFunctionTimeoutType(jtv) } - default: _, _ = key, value @@ -7356,15 +7147,9 @@ func awsAwsjson10_deserializeDocumentLimitExceededFault(v **types.LimitExceededF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7372,15 +7157,11 @@ func awsAwsjson10_deserializeDocumentLimitExceededFault(v **types.LimitExceededF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7419,7 +7200,6 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.DecisionTaskCompletedEventId = i64 } - case "details": if value != nil { jtv, ok := value.(string) @@ -7428,7 +7208,6 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.Details = ptr.String(jtv) } - case "markerName": if value != nil { jtv, ok := value.(string) @@ -7437,7 +7216,6 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.MarkerName = ptr.String(jtv) } - default: _, _ = key, value @@ -7467,15 +7245,9 @@ func awsAwsjson10_deserializeDocumentOperationNotPermittedFault(v **types.Operat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7483,15 +7255,11 @@ func awsAwsjson10_deserializeDocumentOperationNotPermittedFault(v **types.Operat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7526,7 +7294,6 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.Cause = types.RecordMarkerFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7539,7 +7306,6 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.DecisionTaskCompletedEventId = i64 } - case "markerName": if value != nil { jtv, ok := value.(string) @@ -7548,7 +7314,6 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.MarkerName = ptr.String(jtv) } - default: _, _ = key, value @@ -7588,7 +7353,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.ActivityId = ptr.String(jtv) } - case "cause": if value != nil { jtv, ok := value.(string) @@ -7597,7 +7361,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.Cause = types.RequestCancelActivityTaskFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7610,7 +7373,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -7650,7 +7412,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.Cause = types.RequestCancelExternalWorkflowExecutionFailedCause(jtv) } - case "control": if value != nil { jtv, ok := value.(string) @@ -7659,7 +7420,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7672,7 +7432,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.DecisionTaskCompletedEventId = i64 } - case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7685,7 +7444,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.InitiatedEventId = i64 } - case "runId": if value != nil { jtv, ok := value.(string) @@ -7694,7 +7452,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.RunId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7703,7 +7460,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -7743,7 +7499,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7756,7 +7511,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.DecisionTaskCompletedEventId = i64 } - case "runId": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7519,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.RunId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7774,7 +7527,6 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -7814,7 +7566,6 @@ func awsAwsjson10_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } - case "value": if value != nil { jtv, ok := value.(string) @@ -7823,7 +7574,6 @@ func awsAwsjson10_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7897,12 +7647,10 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.ActivityId = ptr.String(jtv) } - case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } - case "cause": if value != nil { jtv, ok := value.(string) @@ -7911,7 +7659,6 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.Cause = types.ScheduleActivityTaskFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7924,7 +7671,6 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } - default: _, _ = key, value @@ -7964,7 +7710,6 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Cause = types.ScheduleLambdaFunctionFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7977,7 +7722,6 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.DecisionTaskCompletedEventId = i64 } - case "id": if value != nil { jtv, ok := value.(string) @@ -7986,7 +7730,6 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -7995,7 +7738,6 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8035,7 +7777,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.Cause = types.SignalExternalWorkflowExecutionFailedCause(jtv) } - case "control": if value != nil { jtv, ok := value.(string) @@ -8044,7 +7785,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8057,7 +7797,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.DecisionTaskCompletedEventId = i64 } - case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8070,7 +7809,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.InitiatedEventId = i64 } - case "runId": if value != nil { jtv, ok := value.(string) @@ -8079,7 +7817,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.RunId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8088,7 +7825,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -8128,7 +7864,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8141,7 +7876,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.DecisionTaskCompletedEventId = i64 } - case "input": if value != nil { jtv, ok := value.(string) @@ -8150,7 +7884,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.Input = ptr.String(jtv) } - case "runId": if value != nil { jtv, ok := value.(string) @@ -8159,7 +7892,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.RunId = ptr.String(jtv) } - case "signalName": if value != nil { jtv, ok := value.(string) @@ -8168,7 +7900,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.SignalName = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8177,7 +7908,6 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -8217,7 +7947,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.Cause = types.StartChildWorkflowExecutionFailedCause(jtv) } - case "control": if value != nil { jtv, ok := value.(string) @@ -8226,7 +7955,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8239,7 +7967,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.DecisionTaskCompletedEventId = i64 } - case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8252,7 +7979,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.InitiatedEventId = i64 } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8261,12 +7987,10 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.WorkflowId = ptr.String(jtv) } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -8306,7 +8030,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "control": if value != nil { jtv, ok := value.(string) @@ -8315,7 +8038,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8328,7 +8050,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.DecisionTaskCompletedEventId = i64 } - case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8337,7 +8058,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -8346,7 +8066,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.Input = ptr.String(jtv) } - case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -8355,17 +8074,14 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.LambdaRole = ptr.String(jtv) } - case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -8374,7 +8090,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.TaskPriority = ptr.String(jtv) } - case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8383,7 +8098,6 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.TaskStartToCloseTimeout = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8392,12 +8106,10 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.WorkflowId = ptr.String(jtv) } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -8437,7 +8149,6 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.Cause = types.StartLambdaFunctionFailedCause(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -8446,7 +8157,6 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.Message = ptr.String(jtv) } - case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8459,7 +8169,6 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.ScheduledEventId = i64 } - default: _, _ = key, value @@ -8499,7 +8208,6 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.Cause = types.StartTimerFailedCause(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8512,7 +8220,6 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.DecisionTaskCompletedEventId = i64 } - case "timerId": if value != nil { jtv, ok := value.(string) @@ -8521,7 +8228,6 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.TimerId = ptr.String(jtv) } - default: _, _ = key, value @@ -8597,7 +8303,6 @@ func awsAwsjson10_deserializeDocumentTaskList(v **types.TaskList, value interfac } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8641,7 +8346,6 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.DecisionTaskCompletedEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8654,7 +8358,6 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.StartedEventId = i64 } - case "timerId": if value != nil { jtv, ok := value.(string) @@ -8663,7 +8366,6 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.TimerId = ptr.String(jtv) } - default: _, _ = key, value @@ -8707,7 +8409,6 @@ func awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(v **types.TimerFi } sv.StartedEventId = i64 } - case "timerId": if value != nil { jtv, ok := value.(string) @@ -8716,7 +8417,6 @@ func awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(v **types.TimerFi } sv.TimerId = ptr.String(jtv) } - default: _, _ = key, value @@ -8756,7 +8456,6 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.Control = ptr.String(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8769,7 +8468,6 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.DecisionTaskCompletedEventId = i64 } - case "startToFireTimeout": if value != nil { jtv, ok := value.(string) @@ -8778,7 +8476,6 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.StartToFireTimeout = ptr.String(jtv) } - case "timerId": if value != nil { jtv, ok := value.(string) @@ -8787,7 +8484,6 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.TimerId = ptr.String(jtv) } - default: _, _ = key, value @@ -8817,15 +8513,9 @@ func awsAwsjson10_deserializeDocumentTooManyTagsFault(v **types.TooManyTagsFault sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8833,15 +8523,11 @@ func awsAwsjson10_deserializeDocumentTooManyTagsFault(v **types.TooManyTagsFault } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8866,15 +8552,9 @@ func awsAwsjson10_deserializeDocumentTypeAlreadyExistsFault(v **types.TypeAlread sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8882,15 +8562,11 @@ func awsAwsjson10_deserializeDocumentTypeAlreadyExistsFault(v **types.TypeAlread } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8915,15 +8591,9 @@ func awsAwsjson10_deserializeDocumentTypeDeprecatedFault(v **types.TypeDeprecate sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8931,15 +8601,11 @@ func awsAwsjson10_deserializeDocumentTypeDeprecatedFault(v **types.TypeDeprecate } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8964,15 +8630,9 @@ func awsAwsjson10_deserializeDocumentTypeNotDeprecatedFault(v **types.TypeNotDep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8980,15 +8640,11 @@ func awsAwsjson10_deserializeDocumentTypeNotDeprecatedFault(v **types.TypeNotDep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9013,15 +8669,9 @@ func awsAwsjson10_deserializeDocumentUnknownResourceFault(v **types.UnknownResou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9029,15 +8679,11 @@ func awsAwsjson10_deserializeDocumentUnknownResourceFault(v **types.UnknownResou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9072,7 +8718,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecution(v **types.WorkflowExecuti } sv.RunId = ptr.String(jtv) } - case "workflowId": if value != nil { jtv, ok := value.(string) @@ -9081,7 +8726,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecution(v **types.WorkflowExecuti } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -9111,15 +8755,9 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionAlreadyStartedFault(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9127,15 +8765,11 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionAlreadyStartedFault(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9174,7 +8808,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } - case "details": if value != nil { jtv, ok := value.(string) @@ -9183,7 +8816,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(v } sv.Details = ptr.String(jtv) } - default: _, _ = key, value @@ -9223,7 +8855,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttrib } sv.Cause = types.WorkflowExecutionCancelRequestedCause(jtv) } - case "externalInitiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -9236,12 +8867,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttrib } sv.ExternalInitiatedEventId = i64 } - case "externalWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ExternalWorkflowExecution, value); err != nil { return err } - default: _, _ = key, value @@ -9285,7 +8914,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } - case "result": if value != nil { jtv, ok := value.(string) @@ -9294,7 +8922,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(v } sv.Result = ptr.String(jtv) } - default: _, _ = key, value @@ -9334,7 +8961,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9343,7 +8969,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } - case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -9352,12 +8977,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.LambdaRole = ptr.String(jtv) } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -9366,7 +8989,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.TaskPriority = ptr.String(jtv) } - case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9375,7 +8997,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.TaskStartToCloseTimeout = ptr.String(jtv) } - default: _, _ = key, value @@ -9415,7 +9036,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -9428,7 +9048,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.DecisionTaskCompletedEventId = i64 } - case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9437,7 +9056,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -9446,7 +9064,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.Input = ptr.String(jtv) } - case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -9455,7 +9072,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.LambdaRole = ptr.String(jtv) } - case "newExecutionRunId": if value != nil { jtv, ok := value.(string) @@ -9464,17 +9080,14 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.NewExecutionRunId = ptr.String(jtv) } - case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -9483,7 +9096,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.TaskPriority = ptr.String(jtv) } - case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9492,12 +9104,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.TaskStartToCloseTimeout = ptr.String(jtv) } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -9541,7 +9151,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.DecisionTaskCompletedEventId = i64 } - case "details": if value != nil { jtv, ok := value.(string) @@ -9550,7 +9159,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.Details = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -9559,7 +9167,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -9599,7 +9206,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.CancelRequested = jtv } - case "closeStatus": if value != nil { jtv, ok := value.(string) @@ -9608,7 +9214,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.CloseStatus = types.CloseStatus(jtv) } - case "closeTimestamp": if value != nil { switch jtv := value.(type) { @@ -9624,12 +9229,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } } - case "execution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.Execution, value); err != nil { return err } - case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -9638,12 +9241,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.ExecutionStatus = types.ExecutionStatus(jtv) } - case "parent": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.Parent, value); err != nil { return err } - case "startTimestamp": if value != nil { switch jtv := value.(type) { @@ -9659,17 +9260,14 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } } - case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -9747,7 +9345,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenActivityTasks = int32(i64) } - case "openChildWorkflowExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -9760,7 +9357,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenChildWorkflowExecutions = int32(i64) } - case "openDecisionTasks": if value != nil { jtv, ok := value.(json.Number) @@ -9773,7 +9369,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenDecisionTasks = int32(i64) } - case "openLambdaFunctions": if value != nil { jtv, ok := value.(json.Number) @@ -9786,7 +9381,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenLambdaFunctions = int32(i64) } - case "openTimers": if value != nil { jtv, ok := value.(json.Number) @@ -9799,7 +9393,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenTimers = int32(i64) } - default: _, _ = key, value @@ -9843,12 +9436,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.ExternalInitiatedEventId = i64 } - case "externalWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ExternalWorkflowExecution, value); err != nil { return err } - case "input": if value != nil { jtv, ok := value.(string) @@ -9857,7 +9448,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.Input = ptr.String(jtv) } - case "signalName": if value != nil { jtv, ok := value.(string) @@ -9866,7 +9456,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.SignalName = ptr.String(jtv) } - default: _, _ = key, value @@ -9906,7 +9495,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "continuedExecutionRunId": if value != nil { jtv, ok := value.(string) @@ -9915,7 +9503,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ContinuedExecutionRunId = ptr.String(jtv) } - case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9924,7 +9511,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } - case "input": if value != nil { jtv, ok := value.(string) @@ -9933,7 +9519,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.Input = ptr.String(jtv) } - case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -9942,7 +9527,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.LambdaRole = ptr.String(jtv) } - case "parentInitiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -9955,22 +9539,18 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ParentInitiatedEventId = i64 } - case "parentWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ParentWorkflowExecution, value); err != nil { return err } - case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } - case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -9979,7 +9559,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.TaskPriority = ptr.String(jtv) } - case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9988,12 +9567,10 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.TaskStartToCloseTimeout = ptr.String(jtv) } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -10033,7 +9610,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Cause = types.WorkflowExecutionTerminatedCause(jtv) } - case "childPolicy": if value != nil { jtv, ok := value.(string) @@ -10042,7 +9618,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "details": if value != nil { jtv, ok := value.(string) @@ -10051,7 +9626,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Details = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -10060,7 +9634,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value @@ -10100,7 +9673,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(v } sv.ChildPolicy = types.ChildPolicy(jtv) } - case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -10109,7 +9681,6 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(v } sv.TimeoutType = types.WorkflowExecutionTimeoutType(jtv) } - default: _, _ = key, value @@ -10149,7 +9720,6 @@ func awsAwsjson10_deserializeDocumentWorkflowType(v **types.WorkflowType, value } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -10158,7 +9728,6 @@ func awsAwsjson10_deserializeDocumentWorkflowType(v **types.WorkflowType, value } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -10198,7 +9767,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultChildPolicy = types.ChildPolicy(jtv) } - case "defaultExecutionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -10207,7 +9775,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultExecutionStartToCloseTimeout = ptr.String(jtv) } - case "defaultLambdaRole": if value != nil { jtv, ok := value.(string) @@ -10216,12 +9783,10 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultLambdaRole = ptr.String(jtv) } - case "defaultTaskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.DefaultTaskList, value); err != nil { return err } - case "defaultTaskPriority": if value != nil { jtv, ok := value.(string) @@ -10230,7 +9795,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultTaskPriority = ptr.String(jtv) } - case "defaultTaskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -10239,7 +9803,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultTaskStartToCloseTimeout = ptr.String(jtv) } - default: _, _ = key, value @@ -10286,7 +9849,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } } - case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -10302,7 +9864,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10311,7 +9872,6 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } sv.Description = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -10320,12 +9880,10 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } sv.Status = types.RegistrationStatus(jtv) } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -10403,7 +9961,6 @@ func awsAwsjson10_deserializeOpDocumentCountClosedWorkflowExecutionsOutput(v **C } sv.Count = int32(i64) } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10412,7 +9969,6 @@ func awsAwsjson10_deserializeOpDocumentCountClosedWorkflowExecutionsOutput(v **C } sv.Truncated = jtv } - default: _, _ = key, value @@ -10456,7 +10012,6 @@ func awsAwsjson10_deserializeOpDocumentCountOpenWorkflowExecutionsOutput(v **Cou } sv.Count = int32(i64) } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10465,7 +10020,6 @@ func awsAwsjson10_deserializeOpDocumentCountOpenWorkflowExecutionsOutput(v **Cou } sv.Truncated = jtv } - default: _, _ = key, value @@ -10509,7 +10063,6 @@ func awsAwsjson10_deserializeOpDocumentCountPendingActivityTasksOutput(v **Count } sv.Count = int32(i64) } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10518,7 +10071,6 @@ func awsAwsjson10_deserializeOpDocumentCountPendingActivityTasksOutput(v **Count } sv.Truncated = jtv } - default: _, _ = key, value @@ -10562,7 +10114,6 @@ func awsAwsjson10_deserializeOpDocumentCountPendingDecisionTasksOutput(v **Count } sv.Count = int32(i64) } - case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10571,7 +10122,6 @@ func awsAwsjson10_deserializeOpDocumentCountPendingDecisionTasksOutput(v **Count } sv.Truncated = jtv } - default: _, _ = key, value @@ -10607,12 +10157,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityTypeOutput(v **DescribeAc if err := awsAwsjson10_deserializeDocumentActivityTypeConfiguration(&sv.Configuration, value); err != nil { return err } - case "typeInfo": if err := awsAwsjson10_deserializeDocumentActivityTypeInfo(&sv.TypeInfo, value); err != nil { return err } - default: _, _ = key, value @@ -10648,12 +10196,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsAwsjson10_deserializeDocumentDomainConfiguration(&sv.Configuration, value); err != nil { return err } - case "domainInfo": if err := awsAwsjson10_deserializeDocumentDomainInfo(&sv.DomainInfo, value); err != nil { return err } - default: _, _ = key, value @@ -10689,12 +10235,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr if err := awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(&sv.ExecutionConfiguration, value); err != nil { return err } - case "executionInfo": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(&sv.ExecutionInfo, value); err != nil { return err } - case "latestActivityTaskTimestamp": if value != nil { switch jtv := value.(type) { @@ -10710,7 +10254,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr } } - case "latestExecutionContext": if value != nil { jtv, ok := value.(string) @@ -10719,12 +10262,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr } sv.LatestExecutionContext = ptr.String(jtv) } - case "openCounts": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(&sv.OpenCounts, value); err != nil { return err } - default: _, _ = key, value @@ -10760,12 +10301,10 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowTypeOutput(v **DescribeWo if err := awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(&sv.Configuration, value); err != nil { return err } - case "typeInfo": if err := awsAwsjson10_deserializeDocumentWorkflowTypeInfo(&sv.TypeInfo, value); err != nil { return err } - default: _, _ = key, value @@ -10801,7 +10340,6 @@ func awsAwsjson10_deserializeOpDocumentGetWorkflowExecutionHistoryOutput(v **Get if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10810,7 +10348,6 @@ func awsAwsjson10_deserializeOpDocumentGetWorkflowExecutionHistoryOutput(v **Get } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10850,12 +10387,10 @@ func awsAwsjson10_deserializeOpDocumentListActivityTypesOutput(v **ListActivityT } sv.NextPageToken = ptr.String(jtv) } - case "typeInfos": if err := awsAwsjson10_deserializeDocumentActivityTypeInfoList(&sv.TypeInfos, value); err != nil { return err } - default: _, _ = key, value @@ -10891,7 +10426,6 @@ func awsAwsjson10_deserializeOpDocumentListClosedWorkflowExecutionsOutput(v **Li if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfoList(&sv.ExecutionInfos, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10900,7 +10434,6 @@ func awsAwsjson10_deserializeOpDocumentListClosedWorkflowExecutionsOutput(v **Li } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10936,7 +10469,6 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson10_deserializeDocumentDomainInfoList(&sv.DomainInfos, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10945,7 +10477,6 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10981,7 +10512,6 @@ func awsAwsjson10_deserializeOpDocumentListOpenWorkflowExecutionsOutput(v **List if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfoList(&sv.ExecutionInfos, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10990,7 +10520,6 @@ func awsAwsjson10_deserializeOpDocumentListOpenWorkflowExecutionsOutput(v **List } sv.NextPageToken = ptr.String(jtv) } - default: _, _ = key, value @@ -11026,7 +10555,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResourceTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -11066,12 +10594,10 @@ func awsAwsjson10_deserializeOpDocumentListWorkflowTypesOutput(v **ListWorkflowT } sv.NextPageToken = ptr.String(jtv) } - case "typeInfos": if err := awsAwsjson10_deserializeDocumentWorkflowTypeInfoList(&sv.TypeInfos, value); err != nil { return err } - default: _, _ = key, value @@ -11111,12 +10637,10 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.ActivityId = ptr.String(jtv) } - case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } - case "input": if value != nil { jtv, ok := value.(string) @@ -11125,7 +10649,6 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.Input = ptr.String(jtv) } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -11138,7 +10661,6 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.StartedEventId = i64 } - case "taskToken": if value != nil { jtv, ok := value.(string) @@ -11147,12 +10669,10 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.TaskToken = ptr.String(jtv) } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - default: _, _ = key, value @@ -11188,7 +10708,6 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } - case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -11197,7 +10716,6 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.NextPageToken = ptr.String(jtv) } - case "previousStartedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -11210,7 +10728,6 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.PreviousStartedEventId = i64 } - case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -11223,7 +10740,6 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.StartedEventId = i64 } - case "taskToken": if value != nil { jtv, ok := value.(string) @@ -11232,17 +10748,14 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.TaskToken = ptr.String(jtv) } - case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } - case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } - default: _, _ = key, value @@ -11282,7 +10795,6 @@ func awsAwsjson10_deserializeOpDocumentRecordActivityTaskHeartbeatOutput(v **Rec } sv.CancelRequested = jtv } - default: _, _ = key, value @@ -11322,7 +10834,6 @@ func awsAwsjson10_deserializeOpDocumentStartWorkflowExecutionOutput(v **StartWor } sv.RunId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/synthetics/deserializers.go b/service/synthetics/deserializers.go index b1687b94ccd..8e29a5fd1ee 100644 --- a/service/synthetics/deserializers.go +++ b/service/synthetics/deserializers.go @@ -277,7 +277,6 @@ func awsRestjson1_deserializeOpDocumentCreateCanaryOutput(v **CreateCanaryOutput if err := awsRestjson1_deserializeDocumentCanary(&sv.Canary, value); err != nil { return err } - default: _, _ = key, value @@ -438,7 +437,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -787,7 +785,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesOutput(v **DescribeCanari if err := awsRestjson1_deserializeDocumentCanaries(&sv.Canaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -796,7 +793,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesOutput(v **DescribeCanari } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -951,7 +947,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesLastRunOutput(v **Describ if err := awsRestjson1_deserializeDocumentCanariesLastRun(&sv.CanariesLastRun, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -960,7 +955,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesLastRunOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1119,12 +1113,10 @@ func awsRestjson1_deserializeOpDocumentDescribeRuntimeVersionsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "RuntimeVersions": if err := awsRestjson1_deserializeDocumentRuntimeVersionList(&sv.RuntimeVersions, value); err != nil { return err } - default: _, _ = key, value @@ -1376,7 +1368,6 @@ func awsRestjson1_deserializeOpDocumentGetCanaryOutput(v **GetCanaryOutput, valu if err := awsRestjson1_deserializeDocumentCanary(&sv.Canary, value); err != nil { return err } - default: _, _ = key, value @@ -1534,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentGetCanaryRunsOutput(v **GetCanaryRunsOutp if err := awsRestjson1_deserializeDocumentCanaryRuns(&sv.CanaryRuns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1543,7 +1533,6 @@ func awsRestjson1_deserializeOpDocumentGetCanaryRunsOutput(v **GetCanaryRunsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1704,7 +1693,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -1862,7 +1850,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedGroupsOutput(v **ListAssoci if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1871,7 +1858,6 @@ func awsRestjson1_deserializeOpDocumentListAssociatedGroupsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2036,12 +2022,10 @@ func awsRestjson1_deserializeOpDocumentListGroupResourcesOutput(v **ListGroupRes } sv.NextToken = ptr.String(jtv) } - case "Resources": if err := awsRestjson1_deserializeDocumentStringList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -2196,7 +2180,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2205,7 +2188,6 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2369,7 +2351,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3259,7 +3240,6 @@ func awsRestjson1_deserializeDocumentArtifactConfigOutput(v **types.ArtifactConf if err := awsRestjson1_deserializeDocumentS3EncryptionConfig(&sv.S3Encryption, value); err != nil { return err } - default: _, _ = key, value @@ -3289,15 +3269,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3305,15 +3279,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3344,7 +3314,6 @@ func awsRestjson1_deserializeDocumentBaseScreenshot(v **types.BaseScreenshot, va if err := awsRestjson1_deserializeDocumentBaseScreenshotIgnoreCoordinates(&sv.IgnoreCoordinates, value); err != nil { return err } - case "ScreenshotName": if value != nil { jtv, ok := value.(string) @@ -3353,7 +3322,6 @@ func awsRestjson1_deserializeDocumentBaseScreenshot(v **types.BaseScreenshot, va } sv.ScreenshotName = ptr.String(jtv) } - default: _, _ = key, value @@ -3527,7 +3495,6 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) if err := awsRestjson1_deserializeDocumentArtifactConfigOutput(&sv.ArtifactConfig, value); err != nil { return err } - case "ArtifactS3Location": if value != nil { jtv, ok := value.(string) @@ -3536,12 +3503,10 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.ArtifactS3Location = ptr.String(jtv) } - case "Code": if err := awsRestjson1_deserializeDocumentCanaryCodeOutput(&sv.Code, value); err != nil { return err } - case "EngineArn": if value != nil { jtv, ok := value.(string) @@ -3550,7 +3515,6 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.EngineArn = ptr.String(jtv) } - case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3559,7 +3523,6 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } - case "FailureRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3572,7 +3535,6 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.FailureRetentionPeriodInDays = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3581,7 +3543,6 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3590,12 +3551,10 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.Name = ptr.String(jtv) } - case "RunConfig": if err := awsRestjson1_deserializeDocumentCanaryRunConfigOutput(&sv.RunConfig, value); err != nil { return err } - case "RuntimeVersion": if value != nil { jtv, ok := value.(string) @@ -3604,17 +3563,14 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.RuntimeVersion = ptr.String(jtv) } - case "Schedule": if err := awsRestjson1_deserializeDocumentCanaryScheduleOutput(&sv.Schedule, value); err != nil { return err } - case "Status": if err := awsRestjson1_deserializeDocumentCanaryStatus(&sv.Status, value); err != nil { return err } - case "SuccessRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3627,27 +3583,22 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.SuccessRetentionPeriodInDays = ptr.Int32(int32(i64)) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "Timeline": if err := awsRestjson1_deserializeDocumentCanaryTimeline(&sv.Timeline, value); err != nil { return err } - case "VisualReference": if err := awsRestjson1_deserializeDocumentVisualReferenceOutput(&sv.VisualReference, value); err != nil { return err } - case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigOutput(&sv.VpcConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3687,7 +3638,6 @@ func awsRestjson1_deserializeDocumentCanaryCodeOutput(v **types.CanaryCodeOutput } sv.Handler = ptr.String(jtv) } - case "SourceLocationArn": if value != nil { jtv, ok := value.(string) @@ -3696,7 +3646,6 @@ func awsRestjson1_deserializeDocumentCanaryCodeOutput(v **types.CanaryCodeOutput } sv.SourceLocationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -3736,12 +3685,10 @@ func awsRestjson1_deserializeDocumentCanaryLastRun(v **types.CanaryLastRun, valu } sv.CanaryName = ptr.String(jtv) } - case "LastRun": if err := awsRestjson1_deserializeDocumentCanaryRun(&sv.LastRun, value); err != nil { return err } - default: _, _ = key, value @@ -3781,7 +3728,6 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.ArtifactS3Location = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -3790,7 +3736,6 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3799,17 +3744,14 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.Name = ptr.String(jtv) } - case "Status": if err := awsRestjson1_deserializeDocumentCanaryRunStatus(&sv.Status, value); err != nil { return err } - case "Timeline": if err := awsRestjson1_deserializeDocumentCanaryRunTimeline(&sv.Timeline, value); err != nil { return err } - default: _, _ = key, value @@ -3849,7 +3791,6 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.ActiveTracing = ptr.Bool(jtv) } - case "MemoryInMB": if value != nil { jtv, ok := value.(json.Number) @@ -3862,7 +3803,6 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.MemoryInMB = ptr.Int32(int32(i64)) } - case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3875,7 +3815,6 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3949,7 +3888,6 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.State = types.CanaryRunState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -3958,7 +3896,6 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -3967,7 +3904,6 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.StateReasonCode = types.CanaryRunStateReasonCode(jtv) } - default: _, _ = key, value @@ -4014,7 +3950,6 @@ func awsRestjson1_deserializeDocumentCanaryRunTimeline(v **types.CanaryRunTimeli } } - case "Started": if value != nil { switch jtv := value.(type) { @@ -4030,7 +3965,6 @@ func awsRestjson1_deserializeDocumentCanaryRunTimeline(v **types.CanaryRunTimeli } } - default: _, _ = key, value @@ -4074,7 +4008,6 @@ func awsRestjson1_deserializeDocumentCanaryScheduleOutput(v **types.CanarySchedu } sv.DurationInSeconds = ptr.Int64(i64) } - case "Expression": if value != nil { jtv, ok := value.(string) @@ -4083,7 +4016,6 @@ func awsRestjson1_deserializeDocumentCanaryScheduleOutput(v **types.CanarySchedu } sv.Expression = ptr.String(jtv) } - default: _, _ = key, value @@ -4123,7 +4055,6 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.State = types.CanaryState(jtv) } - case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4132,7 +4063,6 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.StateReason = ptr.String(jtv) } - case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -4141,7 +4071,6 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.StateReasonCode = types.CanaryStateReasonCode(jtv) } - default: _, _ = key, value @@ -4188,7 +4117,6 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } - case "LastModified": if value != nil { switch jtv := value.(type) { @@ -4204,7 +4132,6 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } - case "LastStarted": if value != nil { switch jtv := value.(type) { @@ -4220,7 +4147,6 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } - case "LastStopped": if value != nil { switch jtv := value.(type) { @@ -4236,7 +4162,6 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } - default: _, _ = key, value @@ -4266,15 +4191,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4282,15 +4201,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4325,7 +4240,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4341,7 +4255,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4350,7 +4263,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Id = ptr.String(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4366,7 +4278,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4375,12 +4286,10 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4420,7 +4329,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Arn = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4429,7 +4337,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4438,7 +4345,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -4502,15 +4408,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4518,15 +4418,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4551,15 +4447,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4567,15 +4457,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4600,15 +4486,9 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4616,15 +4496,11 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4649,15 +4525,9 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4665,15 +4535,11 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4698,15 +4564,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4714,15 +4574,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4764,7 +4620,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4773,7 +4628,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } sv.Description = ptr.String(jtv) } - case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -4789,7 +4643,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -4798,7 +4651,6 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -4872,7 +4724,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfig(v **types.S3EncryptionCo } sv.EncryptionMode = types.EncryptionMode(jtv) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4881,7 +4732,6 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfig(v **types.S3EncryptionCo } sv.KmsKeyArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4947,15 +4797,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4963,15 +4807,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5104,15 +4944,9 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5120,15 +4954,11 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5153,15 +4983,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5169,15 +4993,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5212,12 +5032,10 @@ func awsRestjson1_deserializeDocumentVisualReferenceOutput(v **types.VisualRefer } sv.BaseCanaryRunId = ptr.String(jtv) } - case "BaseScreenshots": if err := awsRestjson1_deserializeDocumentBaseScreenshots(&sv.BaseScreenshots, value); err != nil { return err } - default: _, _ = key, value @@ -5253,12 +5071,10 @@ func awsRestjson1_deserializeDocumentVpcConfigOutput(v **types.VpcConfigOutput, if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5267,7 +5083,6 @@ func awsRestjson1_deserializeDocumentVpcConfigOutput(v **types.VpcConfigOutput, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/taxsettings/deserializers.go b/service/taxsettings/deserializers.go index a99add8c09c..0c883370f20 100644 --- a/service/taxsettings/deserializers.go +++ b/service/taxsettings/deserializers.go @@ -177,7 +177,6 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTaxRegistrationOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationErrors(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -335,7 +334,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutTaxRegistrationOutput(v **BatchPu if err := awsRestjson1_deserializeDocumentBatchPutTaxRegistrationErrors(&sv.Errors, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -344,7 +342,6 @@ func awsRestjson1_deserializeOpDocumentBatchPutTaxRegistrationOutput(v **BatchPu } sv.Status = types.TaxRegistrationStatus(jtv) } - default: _, _ = key, value @@ -696,7 +693,6 @@ func awsRestjson1_deserializeOpDocumentGetTaxRegistrationOutput(v **GetTaxRegist if err := awsRestjson1_deserializeDocumentTaxRegistration(&sv.TaxRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -855,7 +851,6 @@ func awsRestjson1_deserializeOpDocumentGetTaxRegistrationDocumentOutput(v **GetT } sv.DestinationFilePath = ptr.String(jtv) } - default: _, _ = key, value @@ -1017,12 +1012,10 @@ func awsRestjson1_deserializeOpDocumentListSupplementalTaxRegistrationsOutput(v } sv.NextToken = ptr.String(jtv) } - case "taxRegistrations": if err := awsRestjson1_deserializeDocumentSupplementalTaxRegistrationList(&sv.TaxRegistrations, value); err != nil { return err } - default: _, _ = key, value @@ -1180,7 +1173,6 @@ func awsRestjson1_deserializeOpDocumentListTaxRegistrationsOutput(v **ListTaxReg if err := awsRestjson1_deserializeDocumentAccountDetailsList(&sv.AccountDetails, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1189,7 +1181,6 @@ func awsRestjson1_deserializeOpDocumentListTaxRegistrationsOutput(v **ListTaxReg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1351,7 +1342,6 @@ func awsRestjson1_deserializeOpDocumentPutSupplementalTaxRegistrationOutput(v ** } sv.AuthorityId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1360,7 +1350,6 @@ func awsRestjson1_deserializeOpDocumentPutSupplementalTaxRegistrationOutput(v ** } sv.Status = types.TaxRegistrationStatus(jtv) } - default: _, _ = key, value @@ -1522,7 +1511,6 @@ func awsRestjson1_deserializeOpDocumentPutTaxRegistrationOutput(v **PutTaxRegist } sv.Status = types.TaxRegistrationStatus(jtv) } - default: _, _ = key, value @@ -1706,22 +1694,18 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.AccountId = ptr.String(jtv) } - case "accountMetaData": if err := awsRestjson1_deserializeDocumentAccountMetaData(&sv.AccountMetaData, value); err != nil { return err } - case "taxInheritanceDetails": if err := awsRestjson1_deserializeDocumentTaxInheritanceDetails(&sv.TaxInheritanceDetails, value); err != nil { return err } - case "taxRegistration": if err := awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(&sv.TaxRegistration, value); err != nil { return err } - default: _, _ = key, value @@ -1795,17 +1779,14 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.AccountName = ptr.String(jtv) } - case "address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "addressRoleMap": if err := awsRestjson1_deserializeDocumentAddressRoleMap(&sv.AddressRoleMap, value); err != nil { return err } - case "addressType": if value != nil { jtv, ok := value.(string) @@ -1814,7 +1795,6 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.AddressType = types.AddressRoleType(jtv) } - case "seller": if value != nil { jtv, ok := value.(string) @@ -1823,7 +1803,6 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.Seller = ptr.String(jtv) } - default: _, _ = key, value @@ -1859,82 +1838,66 @@ func awsRestjson1_deserializeDocumentAdditionalInfoResponse(v **types.Additional if err := awsRestjson1_deserializeDocumentBrazilAdditionalInfo(&sv.BrazilAdditionalInfo, value); err != nil { return err } - case "canadaAdditionalInfo": if err := awsRestjson1_deserializeDocumentCanadaAdditionalInfo(&sv.CanadaAdditionalInfo, value); err != nil { return err } - case "estoniaAdditionalInfo": if err := awsRestjson1_deserializeDocumentEstoniaAdditionalInfo(&sv.EstoniaAdditionalInfo, value); err != nil { return err } - case "georgiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentGeorgiaAdditionalInfo(&sv.GeorgiaAdditionalInfo, value); err != nil { return err } - case "indiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentIndiaAdditionalInfo(&sv.IndiaAdditionalInfo, value); err != nil { return err } - case "israelAdditionalInfo": if err := awsRestjson1_deserializeDocumentIsraelAdditionalInfo(&sv.IsraelAdditionalInfo, value); err != nil { return err } - case "italyAdditionalInfo": if err := awsRestjson1_deserializeDocumentItalyAdditionalInfo(&sv.ItalyAdditionalInfo, value); err != nil { return err } - case "kenyaAdditionalInfo": if err := awsRestjson1_deserializeDocumentKenyaAdditionalInfo(&sv.KenyaAdditionalInfo, value); err != nil { return err } - case "malaysiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(&sv.MalaysiaAdditionalInfo, value); err != nil { return err } - case "polandAdditionalInfo": if err := awsRestjson1_deserializeDocumentPolandAdditionalInfo(&sv.PolandAdditionalInfo, value); err != nil { return err } - case "romaniaAdditionalInfo": if err := awsRestjson1_deserializeDocumentRomaniaAdditionalInfo(&sv.RomaniaAdditionalInfo, value); err != nil { return err } - case "saudiArabiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentSaudiArabiaAdditionalInfo(&sv.SaudiArabiaAdditionalInfo, value); err != nil { return err } - case "southKoreaAdditionalInfo": if err := awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(&sv.SouthKoreaAdditionalInfo, value); err != nil { return err } - case "spainAdditionalInfo": if err := awsRestjson1_deserializeDocumentSpainAdditionalInfo(&sv.SpainAdditionalInfo, value); err != nil { return err } - case "turkeyAdditionalInfo": if err := awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(&sv.TurkeyAdditionalInfo, value); err != nil { return err } - case "ukraineAdditionalInfo": if err := awsRestjson1_deserializeDocumentUkraineAdditionalInfo(&sv.UkraineAdditionalInfo, value); err != nil { return err } - default: _, _ = key, value @@ -1974,7 +1937,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine1 = ptr.String(jtv) } - case "addressLine2": if value != nil { jtv, ok := value.(string) @@ -1983,7 +1945,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine2 = ptr.String(jtv) } - case "addressLine3": if value != nil { jtv, ok := value.(string) @@ -1992,7 +1953,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine3 = ptr.String(jtv) } - case "city": if value != nil { jtv, ok := value.(string) @@ -2001,7 +1961,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } - case "countryCode": if value != nil { jtv, ok := value.(string) @@ -2010,7 +1969,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.CountryCode = ptr.String(jtv) } - case "districtOrCounty": if value != nil { jtv, ok := value.(string) @@ -2019,7 +1977,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.DistrictOrCounty = ptr.String(jtv) } - case "postalCode": if value != nil { jtv, ok := value.(string) @@ -2028,7 +1985,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } - case "stateOrRegion": if value != nil { jtv, ok := value.(string) @@ -2037,7 +1993,6 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -2112,7 +2067,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.AccountId = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -2121,7 +2075,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -2130,7 +2083,6 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2204,7 +2156,6 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.AccountId = ptr.String(jtv) } - case "code": if value != nil { jtv, ok := value.(string) @@ -2213,7 +2164,6 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.Code = ptr.String(jtv) } - case "message": if value != nil { jtv, ok := value.(string) @@ -2222,7 +2172,6 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -2296,7 +2245,6 @@ func awsRestjson1_deserializeDocumentBrazilAdditionalInfo(v **types.BrazilAdditi } sv.CcmCode = ptr.String(jtv) } - case "legalNatureCode": if value != nil { jtv, ok := value.(string) @@ -2305,7 +2253,6 @@ func awsRestjson1_deserializeDocumentBrazilAdditionalInfo(v **types.BrazilAdditi } sv.LegalNatureCode = ptr.String(jtv) } - default: _, _ = key, value @@ -2345,7 +2292,6 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.CanadaQuebecSalesTaxNumber = ptr.String(jtv) } - case "canadaRetailSalesTaxNumber": if value != nil { jtv, ok := value.(string) @@ -2354,7 +2300,6 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.CanadaRetailSalesTaxNumber = ptr.String(jtv) } - case "isResellerAccount": if value != nil { jtv, ok := value.(bool) @@ -2363,7 +2308,6 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.IsResellerAccount = ptr.Bool(jtv) } - case "provincialSalesTaxId": if value != nil { jtv, ok := value.(string) @@ -2372,7 +2316,6 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.ProvincialSalesTaxId = ptr.String(jtv) } - default: _, _ = key, value @@ -2402,13 +2345,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -2418,8 +2355,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2427,15 +2363,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2470,7 +2402,6 @@ func awsRestjson1_deserializeDocumentEstoniaAdditionalInfo(v **types.EstoniaAddi } sv.RegistryCommercialCode = ptr.String(jtv) } - default: _, _ = key, value @@ -2510,7 +2441,6 @@ func awsRestjson1_deserializeDocumentGeorgiaAdditionalInfo(v **types.GeorgiaAddi } sv.PersonType = types.PersonType(jtv) } - default: _, _ = key, value @@ -2550,7 +2480,6 @@ func awsRestjson1_deserializeDocumentIndiaAdditionalInfo(v **types.IndiaAddition } sv.Pan = ptr.String(jtv) } - default: _, _ = key, value @@ -2580,13 +2509,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -2596,8 +2519,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2605,15 +2527,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2648,7 +2566,6 @@ func awsRestjson1_deserializeDocumentIsraelAdditionalInfo(v **types.IsraelAdditi } sv.CustomerType = types.IsraelCustomerType(jtv) } - case "dealerType": if value != nil { jtv, ok := value.(string) @@ -2657,7 +2574,6 @@ func awsRestjson1_deserializeDocumentIsraelAdditionalInfo(v **types.IsraelAdditi } sv.DealerType = types.IsraelDealerType(jtv) } - default: _, _ = key, value @@ -2697,7 +2613,6 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.CigNumber = ptr.String(jtv) } - case "cupNumber": if value != nil { jtv, ok := value.(string) @@ -2706,7 +2621,6 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.CupNumber = ptr.String(jtv) } - case "sdiAccountId": if value != nil { jtv, ok := value.(string) @@ -2715,7 +2629,6 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.SdiAccountId = ptr.String(jtv) } - case "taxCode": if value != nil { jtv, ok := value.(string) @@ -2724,7 +2637,6 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.TaxCode = ptr.String(jtv) } - default: _, _ = key, value @@ -2764,7 +2676,6 @@ func awsRestjson1_deserializeDocumentJurisdiction(v **types.Jurisdiction, value } sv.CountryCode = ptr.String(jtv) } - case "stateOrRegion": if value != nil { jtv, ok := value.(string) @@ -2773,7 +2684,6 @@ func awsRestjson1_deserializeDocumentJurisdiction(v **types.Jurisdiction, value } sv.StateOrRegion = ptr.String(jtv) } - default: _, _ = key, value @@ -2813,7 +2723,6 @@ func awsRestjson1_deserializeDocumentKenyaAdditionalInfo(v **types.KenyaAddition } sv.PersonType = types.PersonType(jtv) } - default: _, _ = key, value @@ -2853,12 +2762,10 @@ func awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(v **types.MalaysiaAd } sv.BusinessRegistrationNumber = ptr.String(jtv) } - case "serviceTaxCodes": if err := awsRestjson1_deserializeDocumentMalaysiaServiceTaxCodesList(&sv.ServiceTaxCodes, value); err != nil { return err } - case "taxInformationNumber": if value != nil { jtv, ok := value.(string) @@ -2867,7 +2774,6 @@ func awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(v **types.MalaysiaAd } sv.TaxInformationNumber = ptr.String(jtv) } - default: _, _ = key, value @@ -2943,7 +2849,6 @@ func awsRestjson1_deserializeDocumentPolandAdditionalInfo(v **types.PolandAdditi } sv.IndividualRegistrationNumber = ptr.String(jtv) } - case "isGroupVatEnabled": if value != nil { jtv, ok := value.(bool) @@ -2952,7 +2857,6 @@ func awsRestjson1_deserializeDocumentPolandAdditionalInfo(v **types.PolandAdditi } sv.IsGroupVatEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2982,13 +2886,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -2998,8 +2896,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3007,15 +2904,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3050,7 +2943,6 @@ func awsRestjson1_deserializeDocumentRomaniaAdditionalInfo(v **types.RomaniaAddi } sv.TaxRegistrationNumberType = types.TaxRegistrationNumberType(jtv) } - default: _, _ = key, value @@ -3090,7 +2982,6 @@ func awsRestjson1_deserializeDocumentSaudiArabiaAdditionalInfo(v **types.SaudiAr } sv.TaxRegistrationNumberType = types.SaudiArabiaTaxRegistrationNumberType(jtv) } - default: _, _ = key, value @@ -3130,7 +3021,6 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.BusinessRepresentativeName = ptr.String(jtv) } - case "itemOfBusiness": if value != nil { jtv, ok := value.(string) @@ -3139,7 +3029,6 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.ItemOfBusiness = ptr.String(jtv) } - case "lineOfBusiness": if value != nil { jtv, ok := value.(string) @@ -3148,7 +3037,6 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.LineOfBusiness = ptr.String(jtv) } - default: _, _ = key, value @@ -3188,7 +3076,6 @@ func awsRestjson1_deserializeDocumentSpainAdditionalInfo(v **types.SpainAddition } sv.RegistrationType = types.RegistrationType(jtv) } - default: _, _ = key, value @@ -3224,7 +3111,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } - case "authorityId": if value != nil { jtv, ok := value.(string) @@ -3233,7 +3119,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.AuthorityId = ptr.String(jtv) } - case "legalName": if value != nil { jtv, ok := value.(string) @@ -3242,7 +3127,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.LegalName = ptr.String(jtv) } - case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3251,7 +3135,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.RegistrationId = ptr.String(jtv) } - case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3260,7 +3143,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.RegistrationType = types.SupplementalTaxRegistrationType(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3269,7 +3151,6 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.Status = types.TaxRegistrationStatus(jtv) } - default: _, _ = key, value @@ -3343,7 +3224,6 @@ func awsRestjson1_deserializeDocumentTaxDocumentMetadata(v **types.TaxDocumentMe } sv.TaxDocumentAccessToken = ptr.String(jtv) } - case "taxDocumentName": if value != nil { jtv, ok := value.(string) @@ -3352,7 +3232,6 @@ func awsRestjson1_deserializeDocumentTaxDocumentMetadata(v **types.TaxDocumentMe } sv.TaxDocumentName = ptr.String(jtv) } - default: _, _ = key, value @@ -3426,7 +3305,6 @@ func awsRestjson1_deserializeDocumentTaxInheritanceDetails(v **types.TaxInherita } sv.InheritanceObtainedReason = ptr.String(jtv) } - case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -3435,7 +3313,6 @@ func awsRestjson1_deserializeDocumentTaxInheritanceDetails(v **types.TaxInherita } sv.ParentEntityId = ptr.String(jtv) } - default: _, _ = key, value @@ -3471,7 +3348,6 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, if err := awsRestjson1_deserializeDocumentAdditionalInfoResponse(&sv.AdditionalTaxInformation, value); err != nil { return err } - case "certifiedEmailId": if value != nil { jtv, ok := value.(string) @@ -3480,12 +3356,10 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.CertifiedEmailId = ptr.String(jtv) } - case "legalAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.LegalAddress, value); err != nil { return err } - case "legalName": if value != nil { jtv, ok := value.(string) @@ -3494,7 +3368,6 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.LegalName = ptr.String(jtv) } - case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3503,7 +3376,6 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.RegistrationId = ptr.String(jtv) } - case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3512,7 +3384,6 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.RegistrationType = types.TaxRegistrationType(jtv) } - case "sector": if value != nil { jtv, ok := value.(string) @@ -3521,7 +3392,6 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.Sector = types.Sector(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3530,12 +3400,10 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.Status = types.TaxRegistrationStatus(jtv) } - case "taxDocumentMetadatas": if err := awsRestjson1_deserializeDocumentTaxDocumentMetadatas(&sv.TaxDocumentMetadatas, value); err != nil { return err } - default: _, _ = key, value @@ -3571,7 +3439,6 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T if err := awsRestjson1_deserializeDocumentAdditionalInfoResponse(&sv.AdditionalTaxInformation, value); err != nil { return err } - case "certifiedEmailId": if value != nil { jtv, ok := value.(string) @@ -3580,12 +3447,10 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.CertifiedEmailId = ptr.String(jtv) } - case "jurisdiction": if err := awsRestjson1_deserializeDocumentJurisdiction(&sv.Jurisdiction, value); err != nil { return err } - case "legalName": if value != nil { jtv, ok := value.(string) @@ -3594,7 +3459,6 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.LegalName = ptr.String(jtv) } - case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3467,6 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.RegistrationId = ptr.String(jtv) } - case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3612,7 +3475,6 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.RegistrationType = types.TaxRegistrationType(jtv) } - case "sector": if value != nil { jtv, ok := value.(string) @@ -3621,7 +3483,6 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.Sector = types.Sector(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3630,12 +3491,10 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.Status = types.TaxRegistrationStatus(jtv) } - case "taxDocumentMetadatas": if err := awsRestjson1_deserializeDocumentTaxDocumentMetadatas(&sv.TaxDocumentMetadatas, value); err != nil { return err } - default: _, _ = key, value @@ -3675,7 +3534,6 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.Industries = types.Industries(jtv) } - case "kepEmailId": if value != nil { jtv, ok := value.(string) @@ -3684,7 +3542,6 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.KepEmailId = ptr.String(jtv) } - case "secondaryTaxId": if value != nil { jtv, ok := value.(string) @@ -3693,7 +3550,6 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.SecondaryTaxId = ptr.String(jtv) } - case "taxOffice": if value != nil { jtv, ok := value.(string) @@ -3702,7 +3558,6 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.TaxOffice = ptr.String(jtv) } - default: _, _ = key, value @@ -3742,7 +3597,6 @@ func awsRestjson1_deserializeDocumentUkraineAdditionalInfo(v **types.UkraineAddi } sv.UkraineTrnType = types.UkraineTrnType(jtv) } - default: _, _ = key, value @@ -3772,13 +3626,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "errorCode": if value != nil { @@ -3788,13 +3636,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = types.ValidationExceptionErrorCode(jtv) } - case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3802,15 +3648,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3845,7 +3687,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/textract/deserializers.go b/service/textract/deserializers.go index 0f1bf2b2be3..e37f201670c 100644 --- a/service/textract/deserializers.go +++ b/service/textract/deserializers.go @@ -4043,13 +4043,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4059,8 +4053,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4068,15 +4061,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4145,7 +4134,6 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } sv.AdapterId = ptr.String(jtv) } - case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4142,6 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } sv.AdapterName = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4170,12 +4157,10 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - default: _, _ = key, value @@ -4211,7 +4196,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionDatasetConfig(v **types.Adapt if err := awsAwsjson11_deserializeDocumentS3Object(&sv.ManifestS3Object, value); err != nil { return err } - default: _, _ = key, value @@ -4247,12 +4231,10 @@ func awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetric(v **types.Ad if err := awsAwsjson11_deserializeDocumentEvaluationMetric(&sv.AdapterVersion, value); err != nil { return err } - case "Baseline": if err := awsAwsjson11_deserializeDocumentEvaluationMetric(&sv.Baseline, value); err != nil { return err } - case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -4261,7 +4243,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetric(v **types.Ad } sv.FeatureType = types.FeatureType(jtv) } - default: _, _ = key, value @@ -4369,7 +4350,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.AdapterId = ptr.String(jtv) } - case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -4378,7 +4358,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.AdapterVersion = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4394,12 +4373,10 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -4408,7 +4385,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.Status = types.AdapterVersionStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4417,7 +4393,6 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4482,12 +4457,10 @@ func awsAwsjson11_deserializeDocumentAnalyzeIDDetections(v **types.AnalyzeIDDete } } - case "NormalizedValue": if err := awsAwsjson11_deserializeDocumentNormalizedValue(&sv.NormalizedValue, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -4496,7 +4469,6 @@ func awsAwsjson11_deserializeDocumentAnalyzeIDDetections(v **types.AnalyzeIDDete } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -4526,13 +4498,7 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4542,8 +4508,7 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4551,15 +4516,11 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4594,7 +4555,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockType = types.BlockType(jtv) } - case "ColumnIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4607,7 +4567,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.ColumnIndex = ptr.Int32(int32(i64)) } - case "ColumnSpan": if value != nil { jtv, ok := value.(json.Number) @@ -4620,7 +4579,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.ColumnSpan = ptr.Int32(int32(i64)) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -4654,17 +4612,14 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } } - case "EntityTypes": if err := awsAwsjson11_deserializeDocumentEntityTypes(&sv.EntityTypes, value); err != nil { return err } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -4673,7 +4628,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Id = ptr.String(jtv) } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -4686,17 +4640,14 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Page = ptr.Int32(int32(i64)) } - case "Query": if err := awsAwsjson11_deserializeDocumentQuery(&sv.Query, value); err != nil { return err } - case "Relationships": if err := awsAwsjson11_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } - case "RowIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4709,7 +4660,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.RowIndex = ptr.Int32(int32(i64)) } - case "RowSpan": if value != nil { jtv, ok := value.(json.Number) @@ -4722,7 +4672,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.RowSpan = ptr.Int32(int32(i64)) } - case "SelectionStatus": if value != nil { jtv, ok := value.(string) @@ -4731,7 +4680,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.SelectionStatus = types.SelectionStatus(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -4740,7 +4688,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Text = ptr.String(jtv) } - case "TextType": if value != nil { jtv, ok := value.(string) @@ -4749,7 +4696,6 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.TextType = types.TextType(jtv) } - default: _, _ = key, value @@ -4848,7 +4794,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Left": if value != nil { switch jtv := value.(type) { @@ -4882,7 +4827,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Top": if value != nil { switch jtv := value.(type) { @@ -4916,7 +4860,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - case "Width": if value != nil { switch jtv := value.(type) { @@ -4950,7 +4893,6 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } - default: _, _ = key, value @@ -4980,13 +4922,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -4996,8 +4932,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5005,15 +4940,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5052,7 +4983,6 @@ func awsAwsjson11_deserializeDocumentDetectedSignature(v **types.DetectedSignatu } sv.Page = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5122,12 +5052,10 @@ func awsAwsjson11_deserializeDocumentDocumentGroup(v **types.DocumentGroup, valu if err := awsAwsjson11_deserializeDocumentDetectedSignatureList(&sv.DetectedSignatures, value); err != nil { return err } - case "SplitDocuments": if err := awsAwsjson11_deserializeDocumentSplitDocumentList(&sv.SplitDocuments, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5136,12 +5064,10 @@ func awsAwsjson11_deserializeDocumentDocumentGroup(v **types.DocumentGroup, valu } sv.Type = ptr.String(jtv) } - case "UndetectedSignatures": if err := awsAwsjson11_deserializeDocumentUndetectedSignatureList(&sv.UndetectedSignatures, value); err != nil { return err } - default: _, _ = key, value @@ -5219,7 +5145,6 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Pages = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5249,13 +5174,7 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -5265,8 +5184,7 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5274,15 +5192,11 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5378,7 +5292,6 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } - case "Precision": if value != nil { switch jtv := value.(type) { @@ -5412,7 +5325,6 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } - case "Recall": if value != nil { switch jtv := value.(type) { @@ -5446,7 +5358,6 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } - default: _, _ = key, value @@ -5486,7 +5397,6 @@ func awsAwsjson11_deserializeDocumentExpenseCurrency(v **types.ExpenseCurrency, } sv.Code = ptr.String(jtv) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -5520,7 +5430,6 @@ func awsAwsjson11_deserializeDocumentExpenseCurrency(v **types.ExpenseCurrency, } } - default: _, _ = key, value @@ -5585,12 +5494,10 @@ func awsAwsjson11_deserializeDocumentExpenseDetection(v **types.ExpenseDetection } } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -5599,7 +5506,6 @@ func awsAwsjson11_deserializeDocumentExpenseDetection(v **types.ExpenseDetection } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -5635,7 +5541,6 @@ func awsAwsjson11_deserializeDocumentExpenseDocument(v **types.ExpenseDocument, if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "ExpenseIndex": if value != nil { jtv, ok := value.(json.Number) @@ -5648,17 +5553,14 @@ func awsAwsjson11_deserializeDocumentExpenseDocument(v **types.ExpenseDocument, } sv.ExpenseIndex = ptr.Int32(int32(i64)) } - case "LineItemGroups": if err := awsAwsjson11_deserializeDocumentLineItemGroupList(&sv.LineItemGroups, value); err != nil { return err } - case "SummaryFields": if err := awsAwsjson11_deserializeDocumentExpenseFieldList(&sv.SummaryFields, value); err != nil { return err } - default: _, _ = key, value @@ -5728,17 +5630,14 @@ func awsAwsjson11_deserializeDocumentExpenseField(v **types.ExpenseField, value if err := awsAwsjson11_deserializeDocumentExpenseCurrency(&sv.Currency, value); err != nil { return err } - case "GroupProperties": if err := awsAwsjson11_deserializeDocumentExpenseGroupPropertyList(&sv.GroupProperties, value); err != nil { return err } - case "LabelDetection": if err := awsAwsjson11_deserializeDocumentExpenseDetection(&sv.LabelDetection, value); err != nil { return err } - case "PageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5751,17 +5650,14 @@ func awsAwsjson11_deserializeDocumentExpenseField(v **types.ExpenseField, value } sv.PageNumber = ptr.Int32(int32(i64)) } - case "Type": if err := awsAwsjson11_deserializeDocumentExpenseType(&sv.Type, value); err != nil { return err } - case "ValueDetection": if err := awsAwsjson11_deserializeDocumentExpenseDetection(&sv.ValueDetection, value); err != nil { return err } - default: _, _ = key, value @@ -5835,12 +5731,10 @@ func awsAwsjson11_deserializeDocumentExpenseGroupProperty(v **types.ExpenseGroup } sv.Id = ptr.String(jtv) } - case "Types": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Types, value); err != nil { return err } - default: _, _ = key, value @@ -5939,7 +5833,6 @@ func awsAwsjson11_deserializeDocumentExpenseType(v **types.ExpenseType, value in } } - case "Text": if value != nil { jtv, ok := value.(string) @@ -5948,7 +5841,6 @@ func awsAwsjson11_deserializeDocumentExpenseType(v **types.ExpenseType, value in } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -5984,17 +5876,14 @@ func awsAwsjson11_deserializeDocumentExtraction(v **types.Extraction, value inte if err := awsAwsjson11_deserializeDocumentExpenseDocument(&sv.ExpenseDocument, value); err != nil { return err } - case "IdentityDocument": if err := awsAwsjson11_deserializeDocumentIdentityDocument(&sv.IdentityDocument, value); err != nil { return err } - case "LendingDocument": if err := awsAwsjson11_deserializeDocumentLendingDocument(&sv.LendingDocument, value); err != nil { return err } - default: _, _ = key, value @@ -6100,12 +5989,10 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } - case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } - default: _, _ = key, value @@ -6145,12 +6032,10 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopActivationConditionsEvaluationResults = ptr.String(jtv) } - case "HumanLoopActivationReasons": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationReasons(&sv.HumanLoopActivationReasons, value); err != nil { return err } - case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -6159,7 +6044,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6225,13 +6109,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6241,8 +6119,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6250,7 +6127,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6259,7 +6135,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.QuotaCode = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6268,7 +6143,6 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6277,15 +6151,11 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6310,13 +6180,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6326,8 +6190,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6335,15 +6198,11 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6374,7 +6233,6 @@ func awsAwsjson11_deserializeDocumentIdentityDocument(v **types.IdentityDocument if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "DocumentIndex": if value != nil { jtv, ok := value.(json.Number) @@ -6387,12 +6245,10 @@ func awsAwsjson11_deserializeDocumentIdentityDocument(v **types.IdentityDocument } sv.DocumentIndex = ptr.Int32(int32(i64)) } - case "IdentityDocumentFields": if err := awsAwsjson11_deserializeDocumentIdentityDocumentFieldList(&sv.IdentityDocumentFields, value); err != nil { return err } - default: _, _ = key, value @@ -6428,12 +6284,10 @@ func awsAwsjson11_deserializeDocumentIdentityDocumentField(v **types.IdentityDoc if err := awsAwsjson11_deserializeDocumentAnalyzeIDDetections(&sv.Type, value); err != nil { return err } - case "ValueDetection": if err := awsAwsjson11_deserializeDocumentAnalyzeIDDetections(&sv.ValueDetection, value); err != nil { return err } - default: _, _ = key, value @@ -6567,13 +6421,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6583,8 +6431,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6592,15 +6439,11 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6625,13 +6468,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6641,8 +6478,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6650,15 +6486,11 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6683,13 +6515,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6699,8 +6525,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6708,15 +6533,11 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6741,13 +6562,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6757,8 +6572,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6766,15 +6580,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6799,13 +6609,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -6815,8 +6619,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6824,15 +6627,11 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6892,12 +6691,10 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - case "SelectionStatus": if value != nil { jtv, ok := value.(string) @@ -6906,7 +6703,6 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } sv.SelectionStatus = types.SelectionStatus(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -6915,7 +6711,6 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -6985,12 +6780,10 @@ func awsAwsjson11_deserializeDocumentLendingDocument(v **types.LendingDocument, if err := awsAwsjson11_deserializeDocumentLendingFieldList(&sv.LendingFields, value); err != nil { return err } - case "SignatureDetections": if err := awsAwsjson11_deserializeDocumentSignatureDetectionList(&sv.SignatureDetections, value); err != nil { return err } - default: _, _ = key, value @@ -7026,7 +6819,6 @@ func awsAwsjson11_deserializeDocumentLendingField(v **types.LendingField, value if err := awsAwsjson11_deserializeDocumentLendingDetection(&sv.KeyDetection, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7035,12 +6827,10 @@ func awsAwsjson11_deserializeDocumentLendingField(v **types.LendingField, value } sv.Type = ptr.String(jtv) } - case "ValueDetections": if err := awsAwsjson11_deserializeDocumentLendingDetectionList(&sv.ValueDetections, value); err != nil { return err } - default: _, _ = key, value @@ -7110,7 +6900,6 @@ func awsAwsjson11_deserializeDocumentLendingResult(v **types.LendingResult, valu if err := awsAwsjson11_deserializeDocumentExtractionList(&sv.Extractions, value); err != nil { return err } - case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -7123,12 +6912,10 @@ func awsAwsjson11_deserializeDocumentLendingResult(v **types.LendingResult, valu } sv.Page = ptr.Int32(int32(i64)) } - case "PageClassification": if err := awsAwsjson11_deserializeDocumentPageClassification(&sv.PageClassification, value); err != nil { return err } - default: _, _ = key, value @@ -7198,12 +6985,10 @@ func awsAwsjson11_deserializeDocumentLendingSummary(v **types.LendingSummary, va if err := awsAwsjson11_deserializeDocumentDocumentGroupList(&sv.DocumentGroups, value); err != nil { return err } - case "UndetectedDocumentTypes": if err := awsAwsjson11_deserializeDocumentUndetectedDocumentTypeList(&sv.UndetectedDocumentTypes, value); err != nil { return err } - default: _, _ = key, value @@ -7233,13 +7018,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -7249,8 +7028,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7258,15 +7036,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7297,7 +7071,6 @@ func awsAwsjson11_deserializeDocumentLineItemFields(v **types.LineItemFields, va if err := awsAwsjson11_deserializeDocumentExpenseFieldList(&sv.LineItemExpenseFields, value); err != nil { return err } - default: _, _ = key, value @@ -7341,12 +7114,10 @@ func awsAwsjson11_deserializeDocumentLineItemGroup(v **types.LineItemGroup, valu } sv.LineItemGroupIndex = ptr.Int32(int32(i64)) } - case "LineItems": if err := awsAwsjson11_deserializeDocumentLineItemList(&sv.LineItems, value); err != nil { return err } - default: _, _ = key, value @@ -7454,7 +7225,6 @@ func awsAwsjson11_deserializeDocumentNormalizedValue(v **types.NormalizedValue, } sv.Value = ptr.String(jtv) } - case "ValueType": if value != nil { jtv, ok := value.(string) @@ -7463,7 +7233,6 @@ func awsAwsjson11_deserializeDocumentNormalizedValue(v **types.NormalizedValue, } sv.ValueType = types.ValueType(jtv) } - default: _, _ = key, value @@ -7503,7 +7272,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Bucket = ptr.String(jtv) } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7280,6 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Prefix = ptr.String(jtv) } - default: _, _ = key, value @@ -7548,12 +7315,10 @@ func awsAwsjson11_deserializeDocumentPageClassification(v **types.PageClassifica if err := awsAwsjson11_deserializeDocumentPredictionList(&sv.PageNumber, value); err != nil { return err } - case "PageType": if err := awsAwsjson11_deserializeDocumentPredictionList(&sv.PageType, value); err != nil { return err } - default: _, _ = key, value @@ -7698,7 +7463,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - case "Y": if value != nil { switch jtv := value.(type) { @@ -7732,7 +7496,6 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } - default: _, _ = key, value @@ -7831,7 +7594,6 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } } - case "Value": if value != nil { jtv, ok := value.(string) @@ -7840,7 +7602,6 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -7904,13 +7665,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -7920,8 +7675,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7929,15 +7683,11 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7972,12 +7722,10 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.Alias = ptr.String(jtv) } - case "Pages": if err := awsAwsjson11_deserializeDocumentQueryPages(&sv.Pages, value); err != nil { return err } - case "Text": if value != nil { jtv, ok := value.(string) @@ -7986,7 +7734,6 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -8058,7 +7805,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value if err := awsAwsjson11_deserializeDocumentIdList(&sv.Ids, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8067,7 +7813,6 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.Type = types.RelationshipType(jtv) } - default: _, _ = key, value @@ -8131,13 +7876,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8147,8 +7886,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8156,15 +7894,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8199,7 +7933,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8208,7 +7941,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Name = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -8217,7 +7949,6 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -8247,13 +7978,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8263,8 +7988,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8272,15 +7996,11 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8340,12 +8060,10 @@ func awsAwsjson11_deserializeDocumentSignatureDetection(v **types.SignatureDetec } } - case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } - default: _, _ = key, value @@ -8423,12 +8141,10 @@ func awsAwsjson11_deserializeDocumentSplitDocument(v **types.SplitDocument, valu } sv.Index = ptr.Int32(int32(i64)) } - case "Pages": if err := awsAwsjson11_deserializeDocumentPageList(&sv.Pages, value); err != nil { return err } - default: _, _ = key, value @@ -8564,13 +8280,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8580,8 +8290,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8589,15 +8298,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8672,7 +8377,6 @@ func awsAwsjson11_deserializeDocumentUndetectedSignature(v **types.UndetectedSig } sv.Page = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8736,13 +8440,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8752,8 +8450,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8761,15 +8458,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8794,13 +8487,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -8810,8 +8497,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8819,15 +8505,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8862,12 +8544,10 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.ErrorCode = ptr.String(jtv) } - case "Pages": if err := awsAwsjson11_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } - default: _, _ = key, value @@ -8941,22 +8621,18 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeDocumentOutput(v **AnalyzeDocument } sv.AnalyzeDocumentModelVersion = ptr.String(jtv) } - case "Blocks": if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "HumanLoopActivationOutput": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(&sv.HumanLoopActivationOutput, value); err != nil { return err } - default: _, _ = key, value @@ -8992,12 +8668,10 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeExpenseOutput(v **AnalyzeExpenseOu if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "ExpenseDocuments": if err := awsAwsjson11_deserializeDocumentExpenseDocumentList(&sv.ExpenseDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -9037,17 +8711,14 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeIDOutput(v **AnalyzeIDOutput, valu } sv.AnalyzeIDModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "IdentityDocuments": if err := awsAwsjson11_deserializeDocumentIdentityDocumentList(&sv.IdentityDocuments, value); err != nil { return err } - default: _, _ = key, value @@ -9087,7 +8758,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterOutput(v **CreateAdapterOutp } sv.AdapterId = ptr.String(jtv) } - default: _, _ = key, value @@ -9127,7 +8797,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterVersionOutput(v **CreateAdap } sv.AdapterId = ptr.String(jtv) } - case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -9136,7 +8805,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterVersionOutput(v **CreateAdap } sv.AdapterVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -9234,7 +8902,6 @@ func awsAwsjson11_deserializeOpDocumentDetectDocumentTextOutput(v **DetectDocume if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "DetectDocumentTextModelVersion": if value != nil { jtv, ok := value.(string) @@ -9243,12 +8910,10 @@ func awsAwsjson11_deserializeOpDocumentDetectDocumentTextOutput(v **DetectDocume } sv.DetectDocumentTextModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -9288,7 +8953,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AdapterId = ptr.String(jtv) } - case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -9297,7 +8961,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AdapterName = ptr.String(jtv) } - case "AutoUpdate": if value != nil { jtv, ok := value.(string) @@ -9306,7 +8969,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AutoUpdate = types.AutoUpdate(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9322,7 +8984,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9331,17 +8992,14 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.Description = ptr.String(jtv) } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9381,7 +9039,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.AdapterId = ptr.String(jtv) } - case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -9390,7 +9047,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.AdapterVersion = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9406,22 +9062,18 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } } - case "DatasetConfig": if err := awsAwsjson11_deserializeDocumentAdapterVersionDatasetConfig(&sv.DatasetConfig, value); err != nil { return err } - case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -9430,12 +9082,10 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.KMSKeyId = ptr.String(jtv) } - case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -9444,7 +9094,6 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.Status = types.AdapterVersionStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9453,12 +9102,10 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.StatusMessage = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9498,17 +9145,14 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.AnalyzeDocumentModelVersion = ptr.String(jtv) } - case "Blocks": if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9517,7 +9161,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.JobStatus = types.JobStatus(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9526,7 +9169,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9535,12 +9177,10 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.StatusMessage = ptr.String(jtv) } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -9576,7 +9216,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } - case "DetectDocumentTextModelVersion": if value != nil { jtv, ok := value.(string) @@ -9585,12 +9224,10 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.DetectDocumentTextModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9599,7 +9236,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.JobStatus = types.JobStatus(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9608,7 +9244,6 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9617,12 +9252,10 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.StatusMessage = ptr.String(jtv) } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -9662,17 +9295,14 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.AnalyzeExpenseModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "ExpenseDocuments": if err := awsAwsjson11_deserializeDocumentExpenseDocumentList(&sv.ExpenseDocuments, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9681,7 +9311,6 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.JobStatus = types.JobStatus(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9690,7 +9319,6 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.NextToken = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9699,12 +9327,10 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.StatusMessage = ptr.String(jtv) } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -9744,12 +9370,10 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.AnalyzeLendingModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9758,7 +9382,6 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.JobStatus = types.JobStatus(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9767,12 +9390,10 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.NextToken = ptr.String(jtv) } - case "Results": if err := awsAwsjson11_deserializeDocumentLendingResultList(&sv.Results, value); err != nil { return err } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9781,12 +9402,10 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.StatusMessage = ptr.String(jtv) } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -9826,12 +9445,10 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.AnalyzeLendingModelVersion = ptr.String(jtv) } - case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9840,7 +9457,6 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.JobStatus = types.JobStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9849,17 +9465,14 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.StatusMessage = ptr.String(jtv) } - case "Summary": if err := awsAwsjson11_deserializeDocumentLendingSummary(&sv.Summary, value); err != nil { return err } - case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } - default: _, _ = key, value @@ -9895,7 +9508,6 @@ func awsAwsjson11_deserializeOpDocumentListAdaptersOutput(v **ListAdaptersOutput if err := awsAwsjson11_deserializeDocumentAdapterList(&sv.Adapters, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9904,7 +9516,6 @@ func awsAwsjson11_deserializeOpDocumentListAdaptersOutput(v **ListAdaptersOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9940,7 +9551,6 @@ func awsAwsjson11_deserializeOpDocumentListAdapterVersionsOutput(v **ListAdapter if err := awsAwsjson11_deserializeDocumentAdapterVersionList(&sv.AdapterVersions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9949,7 +9559,6 @@ func awsAwsjson11_deserializeOpDocumentListAdapterVersionsOutput(v **ListAdapter } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -9985,7 +9594,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10025,7 +9633,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentAnalysisOutput(v **StartDocu } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -10065,7 +9672,6 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentTextDetectionOutput(v **Star } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -10105,7 +9711,6 @@ func awsAwsjson11_deserializeOpDocumentStartExpenseAnalysisOutput(v **StartExpen } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -10145,7 +9750,6 @@ func awsAwsjson11_deserializeOpDocumentStartLendingAnalysisOutput(v **StartLendi } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -10247,7 +9851,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AdapterId = ptr.String(jtv) } - case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -10256,7 +9859,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AdapterName = ptr.String(jtv) } - case "AutoUpdate": if value != nil { jtv, ok := value.(string) @@ -10265,7 +9867,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AutoUpdate = types.AutoUpdate(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10281,7 +9882,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10290,12 +9890,10 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.Description = ptr.String(jtv) } - case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/timestreaminfluxdb/deserializers.go b/service/timestreaminfluxdb/deserializers.go index 0e92ba10a68..9f0f89da96f 100644 --- a/service/timestreaminfluxdb/deserializers.go +++ b/service/timestreaminfluxdb/deserializers.go @@ -1586,15 +1586,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1602,15 +1596,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1635,15 +1625,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1651,7 +1635,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1660,7 +1643,6 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1669,15 +1651,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1716,7 +1694,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -1725,7 +1702,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Arn = ptr.String(jtv) } - case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -1734,7 +1710,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DbInstanceType = types.DbInstanceType(jtv) } - case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -1743,7 +1718,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DbStorageType = types.DbStorageType(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -1752,7 +1726,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DeploymentType = types.DeploymentType(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1761,7 +1734,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1770,7 +1742,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1779,7 +1750,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -1792,7 +1762,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Port = ptr.Int32(int32(i64)) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1801,7 +1770,6 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Status = types.Status(jtv) } - default: _, _ = key, value @@ -1875,7 +1843,6 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -1884,7 +1851,6 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1893,7 +1859,6 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1902,7 +1867,6 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1976,7 +1940,6 @@ func awsAwsjson10_deserializeDocumentDuration(v **types.Duration, value interfac } sv.DurationType = types.DurationType(jtv) } - case "value": if value != nil { jtv, ok := value.(json.Number) @@ -1989,7 +1952,6 @@ func awsAwsjson10_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } - default: _, _ = key, value @@ -2029,27 +1991,22 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.FluxLogEnabled = ptr.Bool(jtv) } - case "httpIdleTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpIdleTimeout, value); err != nil { return err } - case "httpReadHeaderTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpReadHeaderTimeout, value); err != nil { return err } - case "httpReadTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpReadTimeout, value); err != nil { return err } - case "httpWriteTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpWriteTimeout, value); err != nil { return err } - case "influxqlMaxSelectBuckets": if value != nil { jtv, ok := value.(json.Number) @@ -2062,7 +2019,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectBuckets = ptr.Int64(i64) } - case "influxqlMaxSelectPoint": if value != nil { jtv, ok := value.(json.Number) @@ -2075,7 +2031,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectPoint = ptr.Int64(i64) } - case "influxqlMaxSelectSeries": if value != nil { jtv, ok := value.(json.Number) @@ -2088,7 +2043,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectSeries = ptr.Int64(i64) } - case "logLevel": if value != nil { jtv, ok := value.(string) @@ -2097,7 +2051,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.LogLevel = types.LogLevel(jtv) } - case "metricsDisabled": if value != nil { jtv, ok := value.(bool) @@ -2106,7 +2059,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.MetricsDisabled = ptr.Bool(jtv) } - case "noTasks": if value != nil { jtv, ok := value.(bool) @@ -2115,7 +2067,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.NoTasks = ptr.Bool(jtv) } - case "pprofDisabled": if value != nil { jtv, ok := value.(bool) @@ -2124,7 +2075,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.PprofDisabled = ptr.Bool(jtv) } - case "queryConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -2137,7 +2087,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryConcurrency = ptr.Int32(int32(i64)) } - case "queryInitialMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2150,7 +2099,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryInitialMemoryBytes = ptr.Int64(i64) } - case "queryMaxMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2163,7 +2111,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryMaxMemoryBytes = ptr.Int64(i64) } - case "queryMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2176,7 +2123,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryMemoryBytes = ptr.Int64(i64) } - case "queryQueueSize": if value != nil { jtv, ok := value.(json.Number) @@ -2189,7 +2135,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryQueueSize = ptr.Int32(int32(i64)) } - case "sessionLength": if value != nil { jtv, ok := value.(json.Number) @@ -2202,7 +2147,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.SessionLength = ptr.Int32(int32(i64)) } - case "sessionRenewDisabled": if value != nil { jtv, ok := value.(bool) @@ -2211,7 +2155,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.SessionRenewDisabled = ptr.Bool(jtv) } - case "storageCacheMaxMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -2224,7 +2167,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCacheMaxMemorySize = ptr.Int64(i64) } - case "storageCacheSnapshotMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -2237,17 +2179,14 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCacheSnapshotMemorySize = ptr.Int64(i64) } - case "storageCacheSnapshotWriteColdDuration": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageCacheSnapshotWriteColdDuration, value); err != nil { return err } - case "storageCompactFullWriteColdDuration": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageCompactFullWriteColdDuration, value); err != nil { return err } - case "storageCompactThroughputBurst": if value != nil { jtv, ok := value.(json.Number) @@ -2260,7 +2199,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCompactThroughputBurst = ptr.Int64(i64) } - case "storageMaxConcurrentCompactions": if value != nil { jtv, ok := value.(json.Number) @@ -2273,7 +2211,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageMaxConcurrentCompactions = ptr.Int32(int32(i64)) } - case "storageMaxIndexLogFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -2286,7 +2223,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageMaxIndexLogFileSize = ptr.Int64(i64) } - case "storageNoValidateFieldSize": if value != nil { jtv, ok := value.(bool) @@ -2295,12 +2231,10 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageNoValidateFieldSize = ptr.Bool(jtv) } - case "storageRetentionCheckInterval": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageRetentionCheckInterval, value); err != nil { return err } - case "storageSeriesFileMaxConcurrentSnapshotCompactions": if value != nil { jtv, ok := value.(json.Number) @@ -2313,7 +2247,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageSeriesFileMaxConcurrentSnapshotCompactions = ptr.Int32(int32(i64)) } - case "storageSeriesIdSetCacheSize": if value != nil { jtv, ok := value.(json.Number) @@ -2326,7 +2259,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageSeriesIdSetCacheSize = ptr.Int64(i64) } - case "storageWalMaxConcurrentWrites": if value != nil { jtv, ok := value.(json.Number) @@ -2339,12 +2271,10 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageWalMaxConcurrentWrites = ptr.Int32(int32(i64)) } - case "storageWalMaxWriteDelay": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageWalMaxWriteDelay, value); err != nil { return err } - case "tracingType": if value != nil { jtv, ok := value.(string) @@ -2353,7 +2283,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.TracingType = types.TracingType(jtv) } - case "uiDisabled": if value != nil { jtv, ok := value.(bool) @@ -2362,7 +2291,6 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.UiDisabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2392,15 +2320,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2408,15 +2330,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2447,7 +2365,6 @@ func awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(v **types.LogDeliv if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -2517,15 +2434,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2533,7 +2444,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2542,7 +2452,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2551,15 +2460,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2630,7 +2535,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } - case "enabled": if value != nil { jtv, ok := value.(bool) @@ -2639,7 +2543,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.Enabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -2669,15 +2572,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2685,15 +2582,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2718,15 +2611,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2734,7 +2621,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2747,15 +2633,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2780,15 +2662,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2796,7 +2672,6 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -2805,15 +2680,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2924,7 +2795,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2933,7 +2803,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -2942,7 +2811,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.AvailabilityZone = ptr.String(jtv) } - case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -2951,7 +2819,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } - case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -2960,7 +2827,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } - case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -2969,7 +2835,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -2978,7 +2843,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -2987,7 +2851,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2996,7 +2859,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Id = ptr.String(jtv) } - case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3005,12 +2867,10 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } - case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3019,7 +2879,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3032,7 +2891,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Port = ptr.Int32(int32(i64)) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3041,7 +2899,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3050,7 +2907,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3059,17 +2915,14 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Status = types.Status(jtv) } - case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3109,7 +2962,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3118,7 +2970,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3127,7 +2978,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3136,12 +2986,10 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsAwsjson10_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -3185,7 +3033,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3194,7 +3041,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3203,7 +3049,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.AvailabilityZone = ptr.String(jtv) } - case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3212,7 +3057,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } - case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3221,7 +3065,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } - case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3230,7 +3073,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3239,7 +3081,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3248,7 +3089,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3257,7 +3097,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Id = ptr.String(jtv) } - case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3266,12 +3105,10 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } - case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3280,7 +3117,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3293,7 +3129,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Port = ptr.Int32(int32(i64)) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3302,7 +3137,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3311,7 +3145,6 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3320,17 +3153,14 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Status = types.Status(jtv) } - case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3374,7 +3204,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3383,7 +3212,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3392,7 +3220,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.AvailabilityZone = ptr.String(jtv) } - case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3401,7 +3228,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbInstanceType = types.DbInstanceType(jtv) } - case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3410,7 +3236,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbParameterGroupIdentifier = ptr.String(jtv) } - case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3419,7 +3244,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbStorageType = types.DbStorageType(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3428,7 +3252,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DeploymentType = types.DeploymentType(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3437,7 +3260,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3446,7 +3268,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Id = ptr.String(jtv) } - case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3455,12 +3276,10 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } - case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3469,7 +3288,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3482,7 +3300,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Port = ptr.Int32(int32(i64)) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3491,7 +3308,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3500,7 +3316,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3509,17 +3324,14 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Status = types.Status(jtv) } - case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } - default: _, _ = key, value @@ -3559,7 +3371,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Arn = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3568,7 +3379,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3577,7 +3387,6 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3586,12 +3395,10 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Name = ptr.String(jtv) } - case "parameters": if err := awsAwsjson10_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } - default: _, _ = key, value @@ -3627,7 +3434,6 @@ func awsAwsjson10_deserializeOpDocumentListDbInstancesOutput(v **ListDbInstances if err := awsAwsjson10_deserializeDocumentDbInstanceSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3636,7 +3442,6 @@ func awsAwsjson10_deserializeOpDocumentListDbInstancesOutput(v **ListDbInstances } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3672,7 +3477,6 @@ func awsAwsjson10_deserializeOpDocumentListDbParameterGroupsOutput(v **ListDbPar if err := awsAwsjson10_deserializeDocumentDbParameterGroupSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3681,7 +3485,6 @@ func awsAwsjson10_deserializeOpDocumentListDbParameterGroupsOutput(v **ListDbPar } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3717,7 +3520,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResponseTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3761,7 +3563,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3770,7 +3571,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Arn = ptr.String(jtv) } - case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3779,7 +3579,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.AvailabilityZone = ptr.String(jtv) } - case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3788,7 +3587,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } - case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3797,7 +3595,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } - case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3806,7 +3603,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } - case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3815,7 +3611,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } - case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3824,7 +3619,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Endpoint = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3833,7 +3627,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Id = ptr.String(jtv) } - case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3842,12 +3635,10 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } - case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3856,7 +3647,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3869,7 +3659,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Port = ptr.Int32(int32(i64)) } - case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3878,7 +3667,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } - case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3887,7 +3675,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3896,17 +3683,14 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Status = types.Status(jtv) } - case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } - case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/timestreamquery/deserializers.go b/service/timestreamquery/deserializers.go index 894355c3e09..53d14477513 100644 --- a/service/timestreamquery/deserializers.go +++ b/service/timestreamquery/deserializers.go @@ -2154,15 +2154,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2170,15 +2164,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2213,12 +2203,10 @@ func awsAwsjson10_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } - case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -2282,15 +2270,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2298,15 +2280,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2337,7 +2315,6 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e if err := awsAwsjson10_deserializeDocumentDatumList(&sv.ArrayValue, value); err != nil { return err } - case "NullValue": if value != nil { jtv, ok := value.(bool) @@ -2346,12 +2323,10 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.NullValue = ptr.Bool(jtv) } - case "RowValue": if err := awsAwsjson10_deserializeDocumentRow(&sv.RowValue, value); err != nil { return err } - case "ScalarValue": if value != nil { jtv, ok := value.(string) @@ -2360,12 +2335,10 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.ScalarValue = ptr.String(jtv) } - case "TimeSeriesValue": if err := awsAwsjson10_deserializeDocumentTimeSeriesDataPointList(&sv.TimeSeriesValue, value); err != nil { return err } - default: _, _ = key, value @@ -2439,7 +2412,6 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValueType = types.DimensionValueType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -2448,7 +2420,6 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -2522,7 +2493,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2535,7 +2505,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } - default: _, _ = key, value @@ -2605,7 +2574,6 @@ func awsAwsjson10_deserializeDocumentErrorReportConfiguration(v **types.ErrorRep if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -2641,7 +2609,6 @@ func awsAwsjson10_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo if err := awsAwsjson10_deserializeDocumentS3ReportLocation(&sv.S3ReportLocation, value); err != nil { return err } - default: _, _ = key, value @@ -2685,7 +2652,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.BytesMetered = i64 } - case "CumulativeBytesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -2698,7 +2664,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.CumulativeBytesScanned = i64 } - case "DataWrites": if value != nil { jtv, ok := value.(json.Number) @@ -2711,7 +2676,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.DataWrites = i64 } - case "ExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -2724,7 +2688,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.ExecutionTimeInMillis = i64 } - case "QueryResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -2737,7 +2700,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.QueryResultRows = i64 } - case "RecordsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -2750,7 +2712,6 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.RecordsIngested = i64 } - default: _, _ = key, value @@ -2780,15 +2741,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2796,15 +2751,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2829,15 +2780,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2845,15 +2790,11 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2888,7 +2829,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureName = ptr.String(jtv) } - case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -2897,12 +2837,10 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureValueType = types.MeasureValueType(jtv) } - case "MultiMeasureAttributeMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } - case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -2911,7 +2849,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.SourceColumn = ptr.String(jtv) } - case "TargetMeasureName": if value != nil { jtv, ok := value.(string) @@ -2920,7 +2857,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.TargetMeasureName = ptr.String(jtv) } - default: _, _ = key, value @@ -2994,7 +2930,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.ScalarMeasureValueType(jtv) } - case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -3003,7 +2938,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.SourceColumn = ptr.String(jtv) } - case "TargetMultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -3012,7 +2946,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.TargetMultiMeasureAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -3082,7 +3015,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } - case "TargetMultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -3091,7 +3023,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure } sv.TargetMultiMeasureName = ptr.String(jtv) } - default: _, _ = key, value @@ -3127,7 +3058,6 @@ func awsAwsjson10_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsAwsjson10_deserializeDocumentSnsConfiguration(&sv.SnsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -3167,12 +3097,10 @@ func awsAwsjson10_deserializeDocumentParameterMapping(v **types.ParameterMapping } sv.Name = ptr.String(jtv) } - case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -3272,15 +3200,9 @@ func awsAwsjson10_deserializeDocumentQueryExecutionException(v **types.QueryExec sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3288,15 +3210,11 @@ func awsAwsjson10_deserializeDocumentQueryExecutionException(v **types.QueryExec } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3335,7 +3253,6 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.OutputBytes = ptr.Int64(i64) } - case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -3348,12 +3265,10 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.OutputRows = ptr.Int64(i64) } - case "QuerySpatialCoverage": if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverage(&sv.QuerySpatialCoverage, value); err != nil { return err } - case "QueryTableCount": if value != nil { jtv, ok := value.(json.Number) @@ -3366,12 +3281,10 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.QueryTableCount = ptr.Int64(i64) } - case "QueryTemporalRange": if err := awsAwsjson10_deserializeDocumentQueryTemporalRange(&sv.QueryTemporalRange, value); err != nil { return err } - case "UnloadPartitionCount": if value != nil { jtv, ok := value.(json.Number) @@ -3384,7 +3297,6 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadPartitionCount = ptr.Int64(i64) } - case "UnloadWrittenBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3397,7 +3309,6 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadWrittenBytes = ptr.Int64(i64) } - case "UnloadWrittenRows": if value != nil { jtv, ok := value.(json.Number) @@ -3410,7 +3321,6 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadWrittenRows = ptr.Int64(i64) } - default: _, _ = key, value @@ -3446,7 +3356,6 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverage(v **types.QuerySpatial if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(&sv.Max, value); err != nil { return err } - default: _, _ = key, value @@ -3482,7 +3391,6 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.PartitionKey, value); err != nil { return err } - case "TableArn": if value != nil { jtv, ok := value.(string) @@ -3491,7 +3399,6 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat } sv.TableArn = ptr.String(jtv) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -3525,7 +3432,6 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat } } - default: _, _ = key, value @@ -3569,7 +3475,6 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } sv.CumulativeBytesMetered = i64 } - case "CumulativeBytesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -3582,7 +3487,6 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } sv.CumulativeBytesScanned = i64 } - case "ProgressPercentage": if value != nil { switch jtv := value.(type) { @@ -3616,7 +3520,6 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } } - default: _, _ = key, value @@ -3652,7 +3555,6 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRange(v **types.QueryTemporalR if err := awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(&sv.Max, value); err != nil { return err } - default: _, _ = key, value @@ -3692,7 +3594,6 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(v **types.QueryTempor } sv.TableArn = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -3705,7 +3606,6 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(v **types.QueryTempor } sv.Value = i64 } - default: _, _ = key, value @@ -3735,15 +3635,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3751,7 +3645,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ScheduledQueryArn": if value != nil { jtv, ok := value.(string) @@ -3760,15 +3653,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ScheduledQueryArn = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3799,7 +3688,6 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsAwsjson10_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } - default: _, _ = key, value @@ -3873,7 +3761,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } - case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -3882,7 +3769,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.EncryptionOption = types.S3EncryptionOption(jtv) } - case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -3891,7 +3777,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.ObjectKeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -3931,7 +3816,6 @@ func awsAwsjson10_deserializeDocumentS3ReportLocation(v **types.S3ReportLocation } sv.BucketName = ptr.String(jtv) } - case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3940,7 +3824,6 @@ func awsAwsjson10_deserializeDocumentS3ReportLocation(v **types.S3ReportLocation } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -3980,7 +3863,6 @@ func awsAwsjson10_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.ScheduleExpression = ptr.String(jtv) } - default: _, _ = key, value @@ -4020,7 +3902,6 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4036,12 +3917,10 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } - case "ErrorReportConfiguration": if err := awsAwsjson10_deserializeDocumentErrorReportConfiguration(&sv.ErrorReportConfiguration, value); err != nil { return err } - case "LastRunStatus": if value != nil { jtv, ok := value.(string) @@ -4050,7 +3929,6 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.LastRunStatus = types.ScheduledQueryRunStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4059,7 +3937,6 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.Name = ptr.String(jtv) } - case "NextInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4075,7 +3952,6 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } - case "PreviousInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4091,7 +3967,6 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } - case "State": if value != nil { jtv, ok := value.(string) @@ -4100,12 +3975,10 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.State = types.ScheduledQueryState(jtv) } - case "TargetDestination": if err := awsAwsjson10_deserializeDocumentTargetDestination(&sv.TargetDestination, value); err != nil { return err } - default: _, _ = key, value @@ -4145,7 +4018,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4161,12 +4033,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } - case "ErrorReportConfiguration": if err := awsAwsjson10_deserializeDocumentErrorReportConfiguration(&sv.ErrorReportConfiguration, value); err != nil { return err } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4175,12 +4045,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.KmsKeyId = ptr.String(jtv) } - case "LastRunSummary": if err := awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(&sv.LastRunSummary, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4189,7 +4057,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.Name = ptr.String(jtv) } - case "NextInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4205,12 +4072,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } - case "NotificationConfiguration": if err := awsAwsjson10_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } - case "PreviousInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4226,7 +4091,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -4235,17 +4099,14 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.QueryString = ptr.String(jtv) } - case "RecentlyFailedRuns": if err := awsAwsjson10_deserializeDocumentScheduledQueryRunSummaryList(&sv.RecentlyFailedRuns, value); err != nil { return err } - case "ScheduleConfiguration": if err := awsAwsjson10_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } - case "ScheduledQueryExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4254,7 +4115,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.ScheduledQueryExecutionRoleArn = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -4263,12 +4123,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.State = types.ScheduledQueryState(jtv) } - case "TargetConfiguration": if err := awsAwsjson10_deserializeDocumentTargetConfiguration(&sv.TargetConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4312,7 +4170,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.OutputBytes = ptr.Int64(i64) } - case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -4325,12 +4182,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.OutputRows = ptr.Int64(i64) } - case "QuerySpatialCoverage": if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverage(&sv.QuerySpatialCoverage, value); err != nil { return err } - case "QueryTableCount": if value != nil { jtv, ok := value.(json.Number) @@ -4343,12 +4198,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.QueryTableCount = ptr.Int64(i64) } - case "QueryTemporalRange": if err := awsAwsjson10_deserializeDocumentQueryTemporalRange(&sv.QueryTemporalRange, value); err != nil { return err } - default: _, _ = key, value @@ -4418,12 +4271,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule if err := awsAwsjson10_deserializeDocumentErrorReportLocation(&sv.ErrorReportLocation, value); err != nil { return err } - case "ExecutionStats": if err := awsAwsjson10_deserializeDocumentExecutionStats(&sv.ExecutionStats, value); err != nil { return err } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -4432,7 +4283,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } sv.FailureReason = ptr.String(jtv) } - case "InvocationTime": if value != nil { switch jtv := value.(type) { @@ -4448,12 +4298,10 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } } - case "QueryInsightsResponse": if err := awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(&sv.QueryInsightsResponse, value); err != nil { return err } - case "RunStatus": if value != nil { jtv, ok := value.(string) @@ -4462,7 +4310,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } sv.RunStatus = types.ScheduledQueryRunStatus(jtv) } - case "TriggerTime": if value != nil { switch jtv := value.(type) { @@ -4478,7 +4325,6 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } } - default: _, _ = key, value @@ -4552,7 +4398,6 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.Aliased = ptr.Bool(jtv) } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4561,7 +4406,6 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.DatabaseName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4570,7 +4414,6 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.Name = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -4579,12 +4422,10 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.TableName = ptr.String(jtv) } - case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } - default: _, _ = key, value @@ -4648,15 +4489,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4664,15 +4499,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4707,7 +4538,6 @@ func awsAwsjson10_deserializeDocumentSnsConfiguration(v **types.SnsConfiguration } sv.TopicArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4747,7 +4577,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4756,7 +4585,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4826,7 +4654,6 @@ func awsAwsjson10_deserializeDocumentTargetConfiguration(v **types.TargetConfigu if err := awsAwsjson10_deserializeDocumentTimestreamConfiguration(&sv.TimestreamConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -4862,7 +4689,6 @@ func awsAwsjson10_deserializeDocumentTargetDestination(v **types.TargetDestinati if err := awsAwsjson10_deserializeDocumentTimestreamDestination(&sv.TimestreamDestination, value); err != nil { return err } - default: _, _ = key, value @@ -4892,15 +4718,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4908,15 +4728,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4951,12 +4767,10 @@ func awsAwsjson10_deserializeDocumentTimeSeriesDataPoint(v **types.TimeSeriesDat } sv.Time = ptr.String(jtv) } - case "Value": if err := awsAwsjson10_deserializeDocumentDatum(&sv.Value, value); err != nil { return err } - default: _, _ = key, value @@ -5030,12 +4844,10 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.DatabaseName = ptr.String(jtv) } - case "DimensionMappings": if err := awsAwsjson10_deserializeDocumentDimensionMappingList(&sv.DimensionMappings, value); err != nil { return err } - case "MeasureNameColumn": if value != nil { jtv, ok := value.(string) @@ -5044,17 +4856,14 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.MeasureNameColumn = ptr.String(jtv) } - case "MixedMeasureMappings": if err := awsAwsjson10_deserializeDocumentMixedMeasureMappingList(&sv.MixedMeasureMappings, value); err != nil { return err } - case "MultiMeasureMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -5063,7 +4872,6 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.TableName = ptr.String(jtv) } - case "TimeColumn": if value != nil { jtv, ok := value.(string) @@ -5072,7 +4880,6 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.TimeColumn = ptr.String(jtv) } - default: _, _ = key, value @@ -5112,7 +4919,6 @@ func awsAwsjson10_deserializeDocumentTimestreamDestination(v **types.TimestreamD } sv.DatabaseName = ptr.String(jtv) } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -5121,7 +4927,6 @@ func awsAwsjson10_deserializeDocumentTimestreamDestination(v **types.TimestreamD } sv.TableName = ptr.String(jtv) } - default: _, _ = key, value @@ -5157,12 +4962,10 @@ func awsAwsjson10_deserializeDocumentType(v **types.Type, value interface{}) err if err := awsAwsjson10_deserializeDocumentColumnInfo(&sv.ArrayColumnInfo, value); err != nil { return err } - case "RowColumnInfo": if err := awsAwsjson10_deserializeDocumentColumnInfoList(&sv.RowColumnInfo, value); err != nil { return err } - case "ScalarType": if value != nil { jtv, ok := value.(string) @@ -5171,12 +4974,10 @@ func awsAwsjson10_deserializeDocumentType(v **types.Type, value interface{}) err } sv.ScalarType = types.ScalarType(jtv) } - case "TimeSeriesMeasureValueColumnInfo": if err := awsAwsjson10_deserializeDocumentColumnInfo(&sv.TimeSeriesMeasureValueColumnInfo, value); err != nil { return err } - default: _, _ = key, value @@ -5206,15 +5007,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5222,15 +5017,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5265,7 +5056,6 @@ func awsAwsjson10_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.CancellationMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -5305,7 +5095,6 @@ func awsAwsjson10_deserializeOpDocumentCreateScheduledQueryOutput(v **CreateSche } sv.Arn = ptr.String(jtv) } - default: _, _ = key, value @@ -5349,7 +5138,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.MaxQueryTCU = ptr.Int32(int32(i64)) } - case "QueryPricingModel": if value != nil { jtv, ok := value.(string) @@ -5358,7 +5146,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.QueryPricingModel = types.QueryPricingModel(jtv) } - default: _, _ = key, value @@ -5394,7 +5181,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -5430,7 +5216,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeScheduledQueryOutput(v **Describe if err := awsAwsjson10_deserializeDocumentScheduledQueryDescription(&sv.ScheduledQuery, value); err != nil { return err } - default: _, _ = key, value @@ -5470,12 +5255,10 @@ func awsAwsjson10_deserializeOpDocumentListScheduledQueriesOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } - case "ScheduledQueries": if err := awsAwsjson10_deserializeDocumentScheduledQueryList(&sv.ScheduledQueries, value); err != nil { return err } - default: _, _ = key, value @@ -5515,12 +5298,10 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5556,12 +5337,10 @@ func awsAwsjson10_deserializeOpDocumentPrepareQueryOutput(v **PrepareQueryOutput if err := awsAwsjson10_deserializeDocumentSelectColumnList(&sv.Columns, value); err != nil { return err } - case "Parameters": if err := awsAwsjson10_deserializeDocumentParameterMappingList(&sv.Parameters, value); err != nil { return err } - case "QueryString": if value != nil { jtv, ok := value.(string) @@ -5570,7 +5349,6 @@ func awsAwsjson10_deserializeOpDocumentPrepareQueryOutput(v **PrepareQueryOutput } sv.QueryString = ptr.String(jtv) } - default: _, _ = key, value @@ -5606,7 +5384,6 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson10_deserializeDocumentColumnInfoList(&sv.ColumnInfo, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5615,7 +5392,6 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.NextToken = ptr.String(jtv) } - case "QueryId": if value != nil { jtv, ok := value.(string) @@ -5624,22 +5400,18 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.QueryId = ptr.String(jtv) } - case "QueryInsightsResponse": if err := awsAwsjson10_deserializeDocumentQueryInsightsResponse(&sv.QueryInsightsResponse, value); err != nil { return err } - case "QueryStatus": if err := awsAwsjson10_deserializeDocumentQueryStatus(&sv.QueryStatus, value); err != nil { return err } - case "Rows": if err := awsAwsjson10_deserializeDocumentRowList(&sv.Rows, value); err != nil { return err } - default: _, _ = key, value @@ -5745,7 +5517,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.MaxQueryTCU = ptr.Int32(int32(i64)) } - case "QueryPricingModel": if value != nil { jtv, ok := value.(string) @@ -5754,7 +5525,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.QueryPricingModel = types.QueryPricingModel(jtv) } - default: _, _ = key, value diff --git a/service/timestreamwrite/deserializers.go b/service/timestreamwrite/deserializers.go index ee6eab7f648..8037eacfd47 100644 --- a/service/timestreamwrite/deserializers.go +++ b/service/timestreamwrite/deserializers.go @@ -2706,15 +2706,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2722,15 +2716,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2769,7 +2759,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.BytesMetered = i64 } - case "FileFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2782,7 +2771,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.FileFailures = i64 } - case "ParseFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2795,7 +2783,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.ParseFailures = i64 } - case "RecordIngestionFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2808,7 +2795,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordIngestionFailures = i64 } - case "RecordsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -2821,7 +2807,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordsIngested = i64 } - case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -2834,7 +2819,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordsProcessed = i64 } - default: _, _ = key, value @@ -2881,7 +2865,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -2890,7 +2873,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.DatabaseName = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2906,7 +2888,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } - case "ResumableUntil": if value != nil { switch jtv := value.(type) { @@ -2922,7 +2903,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -2931,7 +2911,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TableName = ptr.String(jtv) } - case "TaskId": if value != nil { jtv, ok := value.(string) @@ -2940,7 +2919,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TaskId = ptr.String(jtv) } - case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -2949,7 +2927,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TaskStatus = types.BatchLoadStatus(jtv) } - default: _, _ = key, value @@ -2996,17 +2973,14 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } - case "DataModelConfiguration": if err := awsAwsjson10_deserializeDocumentDataModelConfiguration(&sv.DataModelConfiguration, value); err != nil { return err } - case "DataSourceConfiguration": if err := awsAwsjson10_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3015,7 +2989,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.ErrorMessage = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3031,12 +3004,10 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } - case "ProgressReport": if err := awsAwsjson10_deserializeDocumentBatchLoadProgressReport(&sv.ProgressReport, value); err != nil { return err } - case "RecordVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3049,12 +3020,10 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.RecordVersion = i64 } - case "ReportConfiguration": if err := awsAwsjson10_deserializeDocumentReportConfiguration(&sv.ReportConfiguration, value); err != nil { return err } - case "ResumableUntil": if value != nil { switch jtv := value.(type) { @@ -3070,7 +3039,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } - case "TargetDatabaseName": if value != nil { jtv, ok := value.(string) @@ -3079,7 +3047,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TargetDatabaseName = ptr.String(jtv) } - case "TargetTableName": if value != nil { jtv, ok := value.(string) @@ -3088,7 +3055,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TargetTableName = ptr.String(jtv) } - case "TaskId": if value != nil { jtv, ok := value.(string) @@ -3097,7 +3063,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TaskId = ptr.String(jtv) } - case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -3106,7 +3071,6 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TaskStatus = types.BatchLoadStatus(jtv) } - default: _, _ = key, value @@ -3170,15 +3134,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3186,15 +3144,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3229,7 +3183,6 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.ColumnSeparator = ptr.String(jtv) } - case "EscapeChar": if value != nil { jtv, ok := value.(string) @@ -3238,7 +3191,6 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.EscapeChar = ptr.String(jtv) } - case "NullValue": if value != nil { jtv, ok := value.(string) @@ -3247,7 +3199,6 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.NullValue = ptr.String(jtv) } - case "QuoteChar": if value != nil { jtv, ok := value.(string) @@ -3256,7 +3207,6 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.QuoteChar = ptr.String(jtv) } - case "TrimWhiteSpace": if value != nil { jtv, ok := value.(bool) @@ -3265,7 +3215,6 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.TrimWhiteSpace = ptr.Bool(jtv) } - default: _, _ = key, value @@ -3305,7 +3254,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3321,7 +3269,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -3330,7 +3277,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseName = ptr.String(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3339,7 +3285,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.KmsKeyId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3355,7 +3300,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } } - case "TableCount": if value != nil { jtv, ok := value.(json.Number) @@ -3368,7 +3312,6 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.TableCount = i64 } - default: _, _ = key, value @@ -3438,7 +3381,6 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf if err := awsAwsjson10_deserializeDocumentDimensionMappings(&sv.DimensionMappings, value); err != nil { return err } - case "MeasureNameColumn": if value != nil { jtv, ok := value.(string) @@ -3447,17 +3389,14 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.MeasureNameColumn = ptr.String(jtv) } - case "MixedMeasureMappings": if err := awsAwsjson10_deserializeDocumentMixedMeasureMappingList(&sv.MixedMeasureMappings, value); err != nil { return err } - case "MultiMeasureMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } - case "TimeColumn": if value != nil { jtv, ok := value.(string) @@ -3466,7 +3405,6 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.TimeColumn = ptr.String(jtv) } - case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -3475,7 +3413,6 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.TimeUnit = types.TimeUnit(jtv) } - default: _, _ = key, value @@ -3511,12 +3448,10 @@ func awsAwsjson10_deserializeDocumentDataModelConfiguration(v **types.DataModelC if err := awsAwsjson10_deserializeDocumentDataModel(&sv.DataModel, value); err != nil { return err } - case "DataModelS3Configuration": if err := awsAwsjson10_deserializeDocumentDataModelS3Configuration(&sv.DataModelS3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -3556,7 +3491,6 @@ func awsAwsjson10_deserializeDocumentDataModelS3Configuration(v **types.DataMode } sv.BucketName = ptr.String(jtv) } - case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3565,7 +3499,6 @@ func awsAwsjson10_deserializeDocumentDataModelS3Configuration(v **types.DataMode } sv.ObjectKey = ptr.String(jtv) } - default: _, _ = key, value @@ -3601,7 +3534,6 @@ func awsAwsjson10_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsAwsjson10_deserializeDocumentCsvConfiguration(&sv.CsvConfiguration, value); err != nil { return err } - case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -3610,12 +3542,10 @@ func awsAwsjson10_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.DataFormat = types.BatchLoadDataFormat(jtv) } - case "DataSourceS3Configuration": if err := awsAwsjson10_deserializeDocumentDataSourceS3Configuration(&sv.DataSourceS3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -3655,7 +3585,6 @@ func awsAwsjson10_deserializeDocumentDataSourceS3Configuration(v **types.DataSou } sv.BucketName = ptr.String(jtv) } - case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -3664,7 +3593,6 @@ func awsAwsjson10_deserializeDocumentDataSourceS3Configuration(v **types.DataSou } sv.ObjectKeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -3704,7 +3632,6 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DestinationColumn = ptr.String(jtv) } - case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -3713,7 +3640,6 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.SourceColumn = ptr.String(jtv) } - default: _, _ = key, value @@ -3787,7 +3713,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } - case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3800,7 +3725,6 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } - default: _, _ = key, value @@ -3864,15 +3788,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3880,15 +3798,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3913,15 +3827,9 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3929,15 +3837,11 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3968,7 +3872,6 @@ func awsAwsjson10_deserializeDocumentMagneticStoreRejectedDataLocation(v **types if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -4008,12 +3911,10 @@ func awsAwsjson10_deserializeDocumentMagneticStoreWriteProperties(v **types.Magn } sv.EnableMagneticStoreWrites = ptr.Bool(jtv) } - case "MagneticStoreRejectedDataLocation": if err := awsAwsjson10_deserializeDocumentMagneticStoreRejectedDataLocation(&sv.MagneticStoreRejectedDataLocation, value); err != nil { return err } - default: _, _ = key, value @@ -4053,7 +3954,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureName = ptr.String(jtv) } - case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -4062,12 +3962,10 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureValueType = types.MeasureValueType(jtv) } - case "MultiMeasureAttributeMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } - case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -4076,7 +3974,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.SourceColumn = ptr.String(jtv) } - case "TargetMeasureName": if value != nil { jtv, ok := value.(string) @@ -4085,7 +3982,6 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.TargetMeasureName = ptr.String(jtv) } - default: _, _ = key, value @@ -4159,7 +4055,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.ScalarMeasureValueType(jtv) } - case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -4168,7 +4063,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.SourceColumn = ptr.String(jtv) } - case "TargetMultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -4177,7 +4071,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.TargetMultiMeasureAttributeName = ptr.String(jtv) } - default: _, _ = key, value @@ -4247,7 +4140,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } - case "TargetMultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -4256,7 +4148,6 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure } sv.TargetMultiMeasureName = ptr.String(jtv) } - default: _, _ = key, value @@ -4296,7 +4187,6 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.EnforcementInRecord = types.PartitionKeyEnforcementLevel(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4305,7 +4195,6 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -4314,7 +4203,6 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Type = types.PartitionKeyType(jtv) } - default: _, _ = key, value @@ -4392,7 +4280,6 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.MagneticStore = int32(i64) } - case "MemoryStore": if value != nil { jtv, ok := value.(json.Number) @@ -4405,7 +4292,6 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.MemoryStore = int32(i64) } - case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -4418,7 +4304,6 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.Total = int32(i64) } - default: _, _ = key, value @@ -4462,7 +4347,6 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.ExistingVersion = ptr.Int64(i64) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -4471,7 +4355,6 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.Reason = ptr.String(jtv) } - case "RecordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4484,7 +4367,6 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.RecordIndex = int32(i64) } - default: _, _ = key, value @@ -4548,15 +4430,9 @@ func awsAwsjson10_deserializeDocumentRejectedRecordsException(v **types.Rejected sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4564,20 +4440,15 @@ func awsAwsjson10_deserializeDocumentRejectedRecordsException(v **types.Rejected } sv.Message = ptr.String(jtv) } - case "RejectedRecords": if err := awsAwsjson10_deserializeDocumentRejectedRecords(&sv.RejectedRecords, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4608,7 +4479,6 @@ func awsAwsjson10_deserializeDocumentReportConfiguration(v **types.ReportConfigu if err := awsAwsjson10_deserializeDocumentReportS3Configuration(&sv.ReportS3Configuration, value); err != nil { return err } - default: _, _ = key, value @@ -4648,7 +4518,6 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.BucketName = ptr.String(jtv) } - case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -4657,7 +4526,6 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.EncryptionOption = types.S3EncryptionOption(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4666,7 +4534,6 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.KmsKeyId = ptr.String(jtv) } - case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4675,7 +4542,6 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.ObjectKeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4705,15 +4571,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4721,15 +4581,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4768,7 +4624,6 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp } sv.MagneticStoreRetentionPeriodInDays = ptr.Int64(i64) } - case "MemoryStoreRetentionPeriodInHours": if value != nil { jtv, ok := value.(json.Number) @@ -4781,7 +4636,6 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp } sv.MemoryStoreRetentionPeriodInHours = ptr.Int64(i64) } - default: _, _ = key, value @@ -4821,7 +4675,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } - case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -4830,7 +4683,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.EncryptionOption = types.S3EncryptionOption(jtv) } - case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4839,7 +4691,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.KmsKeyId = ptr.String(jtv) } - case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4848,7 +4699,6 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.ObjectKeyPrefix = ptr.String(jtv) } - default: _, _ = key, value @@ -4884,7 +4734,6 @@ func awsAwsjson10_deserializeDocumentSchema(v **types.Schema, value interface{}) if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.CompositePartitionKey, value); err != nil { return err } - default: _, _ = key, value @@ -4914,15 +4763,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4930,15 +4773,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4973,7 +4812,6 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Arn = ptr.String(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4989,7 +4827,6 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4998,7 +4835,6 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.DatabaseName = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5014,22 +4850,18 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } } - case "MagneticStoreWriteProperties": if err := awsAwsjson10_deserializeDocumentMagneticStoreWriteProperties(&sv.MagneticStoreWriteProperties, value); err != nil { return err } - case "RetentionProperties": if err := awsAwsjson10_deserializeDocumentRetentionProperties(&sv.RetentionProperties, value); err != nil { return err } - case "Schema": if err := awsAwsjson10_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } - case "TableName": if value != nil { jtv, ok := value.(string) @@ -5038,7 +4870,6 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableName = ptr.String(jtv) } - case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -5047,7 +4878,6 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableStatus = types.TableStatus(jtv) } - default: _, _ = key, value @@ -5121,7 +4951,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -5130,7 +4959,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -5194,15 +5022,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5210,15 +5032,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5243,15 +5061,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5259,15 +5071,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5302,7 +5110,6 @@ func awsAwsjson10_deserializeOpDocumentCreateBatchLoadTaskOutput(v **CreateBatch } sv.TaskId = ptr.String(jtv) } - default: _, _ = key, value @@ -5338,7 +5145,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDatabaseOutput(v **CreateDatabaseOu if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - default: _, _ = key, value @@ -5374,7 +5180,6 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -5410,7 +5215,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeBatchLoadTaskOutput(v **DescribeB if err := awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(&sv.BatchLoadTaskDescription, value); err != nil { return err } - default: _, _ = key, value @@ -5446,7 +5250,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatabaseOutput(v **DescribeDataba if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - default: _, _ = key, value @@ -5482,7 +5285,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } - default: _, _ = key, value @@ -5518,7 +5320,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -5554,7 +5355,6 @@ func awsAwsjson10_deserializeOpDocumentListBatchLoadTasksOutput(v **ListBatchLoa if err := awsAwsjson10_deserializeDocumentBatchLoadTaskList(&sv.BatchLoadTasks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5563,7 +5363,6 @@ func awsAwsjson10_deserializeOpDocumentListBatchLoadTasksOutput(v **ListBatchLoa } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5599,7 +5398,6 @@ func awsAwsjson10_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson10_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5608,7 +5406,6 @@ func awsAwsjson10_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5648,12 +5445,10 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } - case "Tables": if err := awsAwsjson10_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } - default: _, _ = key, value @@ -5689,7 +5484,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5818,7 +5612,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDatabaseOutput(v **UpdateDatabaseOu if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } - default: _, _ = key, value @@ -5854,7 +5647,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } - default: _, _ = key, value @@ -5890,7 +5682,6 @@ func awsAwsjson10_deserializeOpDocumentWriteRecordsOutput(v **WriteRecordsOutput if err := awsAwsjson10_deserializeDocumentRecordsIngested(&sv.RecordsIngested, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/tnb/deserializers.go b/service/tnb/deserializers.go index 5e3fef605ea..e155037523d 100644 --- a/service/tnb/deserializers.go +++ b/service/tnb/deserializers.go @@ -296,7 +296,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -305,7 +304,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.Id = ptr.String(jtv) } - case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -314,7 +312,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.OnboardingState = types.OnboardingState(jtv) } - case "operationalState": if value != nil { jtv, ok := value.(string) @@ -323,12 +320,10 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.OperationalState = types.OperationalState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "usageState": if value != nil { jtv, ok := value.(string) @@ -337,7 +332,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.UsageState = types.UsageState(jtv) } - default: _, _ = key, value @@ -508,7 +502,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -517,7 +510,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.Id = ptr.String(jtv) } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -526,7 +518,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.NsdInfoId = ptr.String(jtv) } - case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -535,12 +526,10 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.NsInstanceName = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -708,7 +697,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -717,7 +705,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.Id = ptr.String(jtv) } - case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -726,7 +713,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } - case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -735,7 +721,6 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdOperationalState = types.NsdOperationalState(jtv) } - case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -744,12 +729,10 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdUsageState = types.NsdUsageState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -1235,7 +1218,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1244,12 +1226,10 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.Id = ptr.String(jtv) } - case "instantiatedVnfInfo": if err := awsRestjson1_deserializeDocumentGetSolVnfInfo(&sv.InstantiatedVnfInfo, value); err != nil { return err } - case "instantiationState": if value != nil { jtv, ok := value.(string) @@ -1258,12 +1238,10 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.InstantiationState = types.VnfInstantiationState(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(&sv.Metadata, value); err != nil { return err } - case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -1272,12 +1250,10 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.NsInstanceId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -1286,7 +1262,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfdId = ptr.String(jtv) } - case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -1295,7 +1270,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfdVersion = ptr.String(jtv) } - case "vnfPkgId": if value != nil { jtv, ok := value.(string) @@ -1304,7 +1278,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfPkgId = ptr.String(jtv) } - case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -1313,7 +1286,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfProductName = ptr.String(jtv) } - case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -1322,7 +1294,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -1490,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1499,12 +1469,10 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(&sv.Metadata, value); err != nil { return err } - case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -1513,7 +1481,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.OnboardingState = types.OnboardingState(jtv) } - case "operationalState": if value != nil { jtv, ok := value.(string) @@ -1522,12 +1489,10 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.OperationalState = types.OperationalState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "usageState": if value != nil { jtv, ok := value.(string) @@ -1536,7 +1501,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.UsageState = types.UsageState(jtv) } - case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -1545,7 +1509,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfdId = ptr.String(jtv) } - case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -1554,7 +1517,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfdVersion = ptr.String(jtv) } - case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -1563,7 +1525,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfProductName = ptr.String(jtv) } - case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -1572,7 +1533,6 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -2028,7 +1988,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2037,17 +1996,14 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.Id = ptr.String(jtv) } - case "lcmOpInfo": if err := awsRestjson1_deserializeDocumentLcmOperationInfo(&sv.LcmOpInfo, value); err != nil { return err } - case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -2056,7 +2012,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsdId = ptr.String(jtv) } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -2065,7 +2020,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsdInfoId = ptr.String(jtv) } - case "nsInstanceDescription": if value != nil { jtv, ok := value.(string) @@ -2074,7 +2028,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsInstanceDescription = ptr.String(jtv) } - case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -2083,7 +2036,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsInstanceName = ptr.String(jtv) } - case "nsState": if value != nil { jtv, ok := value.(string) @@ -2092,12 +2044,10 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsState = types.NsState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2265,12 +2215,10 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.Arn = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentProblemDetails(&sv.Error, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -2279,7 +2227,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.Id = ptr.String(jtv) } - case "lcmOperationType": if value != nil { jtv, ok := value.(string) @@ -2288,12 +2235,10 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.LcmOperationType = types.LcmOperationType(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(&sv.Metadata, value); err != nil { return err } - case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -2302,7 +2247,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.NsInstanceId = ptr.String(jtv) } - case "operationState": if value != nil { jtv, ok := value.(string) @@ -2311,17 +2255,14 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.OperationState = types.NsLcmOperationState(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "tasks": if err := awsRestjson1_deserializeDocumentGetSolNetworkOperationTasksList(&sv.Tasks, value); err != nil { return err } - case "updateType": if value != nil { jtv, ok := value.(string) @@ -2330,7 +2271,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.UpdateType = types.UpdateSolNetworkType(jtv) } - default: _, _ = key, value @@ -2498,7 +2438,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2507,12 +2446,10 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -2521,7 +2458,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdId = ptr.String(jtv) } - case "nsdName": if value != nil { jtv, ok := value.(string) @@ -2530,7 +2466,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdName = ptr.String(jtv) } - case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -2539,7 +2474,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } - case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -2548,7 +2482,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdOperationalState = types.NsdOperationalState(jtv) } - case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -2557,7 +2490,6 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdUsageState = types.NsdUsageState(jtv) } - case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -2566,17 +2498,14 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdVersion = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } - default: _, _ = key, value @@ -3035,12 +2964,10 @@ func awsRestjson1_deserializeOpDocumentInstantiateSolNetworkInstanceOutput(v **I } sv.NsLcmOpOccId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3201,7 +3128,6 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionInstancesOutput(v **ListSo if err := awsRestjson1_deserializeDocumentListSolFunctionInstanceResources(&sv.FunctionInstances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3210,7 +3136,6 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionInstancesOutput(v **ListSo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3371,7 +3296,6 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionPackagesOutput(v **ListSol if err := awsRestjson1_deserializeDocumentListSolFunctionPackageResources(&sv.FunctionPackages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3380,7 +3304,6 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionPackagesOutput(v **ListSol } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3541,7 +3464,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkInstancesOutput(v **ListSol if err := awsRestjson1_deserializeDocumentListSolNetworkInstanceResources(&sv.NetworkInstances, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3550,7 +3472,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkInstancesOutput(v **ListSol } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3711,7 +3632,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkOperationsOutput(v **ListSo if err := awsRestjson1_deserializeDocumentListSolNetworkOperationsResources(&sv.NetworkOperations, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3720,7 +3640,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkOperationsOutput(v **ListSo } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3881,7 +3800,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkPackagesOutput(v **ListSolN if err := awsRestjson1_deserializeDocumentListSolNetworkPackageResources(&sv.NetworkPackages, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3890,7 +3808,6 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkPackagesOutput(v **ListSolN } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4054,7 +3971,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4222,12 +4138,10 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentPutSolFunctionPackageContentMetadata(&sv.Metadata, value); err != nil { return err } - case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -4236,7 +4150,6 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfdId = ptr.String(jtv) } - case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -4245,7 +4158,6 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfdVersion = ptr.String(jtv) } - case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -4254,7 +4166,6 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfProductName = ptr.String(jtv) } - case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -4263,7 +4174,6 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -4431,7 +4341,6 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4440,12 +4349,10 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentPutSolNetworkPackageContentMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -4454,7 +4361,6 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdId = ptr.String(jtv) } - case "nsdName": if value != nil { jtv, ok := value.(string) @@ -4463,7 +4369,6 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdName = ptr.String(jtv) } - case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -4472,12 +4377,10 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdVersion = ptr.String(jtv) } - case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } - default: _, _ = key, value @@ -4748,12 +4651,10 @@ func awsRestjson1_deserializeOpDocumentTerminateSolNetworkInstanceOutput(v **Ter } sv.NsLcmOpOccId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5021,7 +4922,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSolFunctionPackageOutput(v **Update } sv.OperationalState = types.OperationalState(jtv) } - default: _, _ = key, value @@ -5192,12 +5092,10 @@ func awsRestjson1_deserializeOpDocumentUpdateSolNetworkInstanceOutput(v **Update } sv.NsLcmOpOccId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5365,7 +5263,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSolNetworkPackageOutput(v **UpdateS } sv.NsdOperationalState = types.NsdOperationalState(jtv) } - default: _, _ = key, value @@ -5533,12 +5430,10 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentValidateSolFunctionPackageContentMetadata(&sv.Metadata, value); err != nil { return err } - case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -5547,7 +5442,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfdId = ptr.String(jtv) } - case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -5556,7 +5450,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfdVersion = ptr.String(jtv) } - case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -5565,7 +5458,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfProductName = ptr.String(jtv) } - case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -5574,7 +5466,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -5742,7 +5633,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5751,12 +5641,10 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentValidateSolNetworkPackageContentMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -5765,7 +5653,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdId = ptr.String(jtv) } - case "nsdName": if value != nil { jtv, ok := value.(string) @@ -5774,7 +5661,6 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdName = ptr.String(jtv) } - case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -5783,12 +5669,10 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdVersion = ptr.String(jtv) } - case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } - default: _, _ = key, value @@ -6034,15 +5918,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6050,15 +5928,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6093,7 +5967,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Cause = ptr.String(jtv) } - case "details": if value != nil { jtv, ok := value.(string) @@ -6102,7 +5975,6 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Details = ptr.String(jtv) } - default: _, _ = key, value @@ -6138,7 +6010,6 @@ func awsRestjson1_deserializeDocumentFunctionArtifactMeta(v **types.FunctionArti if err := awsRestjson1_deserializeDocumentOverrideList(&sv.Overrides, value); err != nil { return err } - default: _, _ = key, value @@ -6182,7 +6053,6 @@ func awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(v **types.Ge } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6195,7 +6065,6 @@ func awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(v **types.Ge } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -6239,7 +6108,6 @@ func awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(v **types.Get } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6252,12 +6120,10 @@ func awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(v **types.Get } sv.LastModified = ptr.Time(t) } - case "vnfd": if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } - default: _, _ = key, value @@ -6297,7 +6163,6 @@ func awsRestjson1_deserializeDocumentGetSolInstantiatedVnfInfo(v **types.GetSolI } sv.VnfState = types.VnfOperationalState(jtv) } - default: _, _ = key, value @@ -6341,7 +6206,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(v **types.Get } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6354,7 +6218,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(v **types.Get } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -6398,12 +6261,10 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(v **types.Ge } sv.CreatedAt = ptr.Time(t) } - case "instantiateMetadata": if err := awsRestjson1_deserializeDocumentInstantiateMetadata(&sv.InstantiateMetadata, value); err != nil { return err } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6416,17 +6277,14 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(v **types.Ge } sv.LastModified = ptr.Time(t) } - case "modifyVnfInfoMetadata": if err := awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(&sv.ModifyVnfInfoMetadata, value); err != nil { return err } - case "updateNsMetadata": if err := awsRestjson1_deserializeDocumentUpdateNsMetadata(&sv.UpdateNsMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -6462,7 +6320,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types if err := awsRestjson1_deserializeDocumentStringMap(&sv.TaskContext, value); err != nil { return err } - case "taskEndTime": if value != nil { jtv, ok := value.(string) @@ -6475,12 +6332,10 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskEndTime = ptr.Time(t) } - case "taskErrorDetails": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.TaskErrorDetails, value); err != nil { return err } - case "taskName": if value != nil { jtv, ok := value.(string) @@ -6489,7 +6344,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskName = ptr.String(jtv) } - case "taskStartTime": if value != nil { jtv, ok := value.(string) @@ -6502,7 +6356,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskStartTime = ptr.Time(t) } - case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -6511,7 +6364,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskStatus = types.TaskStatus(jtv) } - default: _, _ = key, value @@ -6589,7 +6441,6 @@ func awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(v **types.GetS } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6602,12 +6453,10 @@ func awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(v **types.GetS } sv.LastModified = ptr.Time(t) } - case "nsd": if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } - default: _, _ = key, value @@ -6643,7 +6492,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfo(v **types.GetSolVnfc if err := awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -6717,7 +6565,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.Cluster = ptr.String(jtv) } - case "helmChart": if value != nil { jtv, ok := value.(string) @@ -6726,7 +6573,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.HelmChart = ptr.String(jtv) } - case "nodeGroup": if value != nil { jtv, ok := value.(string) @@ -6735,7 +6581,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.NodeGroup = ptr.String(jtv) } - default: _, _ = key, value @@ -6771,7 +6616,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfInfo(v **types.GetSolVnfInfo, valu if err := awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoList(&sv.VnfcResourceInfo, value); err != nil { return err } - case "vnfState": if value != nil { jtv, ok := value.(string) @@ -6780,7 +6624,6 @@ func awsRestjson1_deserializeDocumentGetSolVnfInfo(v **types.GetSolVnfInfo, valu } sv.VnfState = types.VnfOperationalState(jtv) } - default: _, _ = key, value @@ -6816,7 +6659,6 @@ func awsRestjson1_deserializeDocumentInstantiateMetadata(v **types.InstantiateMe if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalParamsForNs, value); err != nil { return err } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -6825,7 +6667,6 @@ func awsRestjson1_deserializeDocumentInstantiateMetadata(v **types.InstantiateMe } sv.NsdInfoId = ptr.String(jtv) } - default: _, _ = key, value @@ -6855,15 +6696,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6871,15 +6706,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6914,7 +6745,6 @@ func awsRestjson1_deserializeDocumentLcmOperationInfo(v **types.LcmOperationInfo } sv.NsLcmOpOccId = ptr.String(jtv) } - default: _, _ = key, value @@ -6954,7 +6784,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -6963,12 +6792,10 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.Id = ptr.String(jtv) } - case "instantiatedVnfInfo": if err := awsRestjson1_deserializeDocumentGetSolInstantiatedVnfInfo(&sv.InstantiatedVnfInfo, value); err != nil { return err } - case "instantiationState": if value != nil { jtv, ok := value.(string) @@ -6977,12 +6804,10 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.InstantiationState = types.VnfInstantiationState(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(&sv.Metadata, value); err != nil { return err } - case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -6991,7 +6816,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.NsInstanceId = ptr.String(jtv) } - case "vnfPkgId": if value != nil { jtv, ok := value.(string) @@ -7000,7 +6824,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.VnfPkgId = ptr.String(jtv) } - case "vnfPkgName": if value != nil { jtv, ok := value.(string) @@ -7009,7 +6832,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.VnfPkgName = ptr.String(jtv) } - default: _, _ = key, value @@ -7053,7 +6875,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(v **types.L } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7066,7 +6887,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(v **types.L } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -7140,7 +6960,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7149,12 +6968,10 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(&sv.Metadata, value); err != nil { return err } - case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -7163,7 +6980,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.OnboardingState = types.OnboardingState(jtv) } - case "operationalState": if value != nil { jtv, ok := value.(string) @@ -7172,7 +6988,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.OperationalState = types.OperationalState(jtv) } - case "usageState": if value != nil { jtv, ok := value.(string) @@ -7181,7 +6996,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.UsageState = types.UsageState(jtv) } - case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -7190,7 +7004,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfdId = ptr.String(jtv) } - case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -7199,7 +7012,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfdVersion = ptr.String(jtv) } - case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -7208,7 +7020,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfProductName = ptr.String(jtv) } - case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -7217,7 +7028,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfProvider = ptr.String(jtv) } - default: _, _ = key, value @@ -7261,7 +7071,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(v **types.Li } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7274,7 +7083,6 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(v **types.Li } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -7348,7 +7156,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7357,12 +7164,10 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -7371,7 +7176,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsdId = ptr.String(jtv) } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -7380,7 +7184,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsdInfoId = ptr.String(jtv) } - case "nsInstanceDescription": if value != nil { jtv, ok := value.(string) @@ -7389,7 +7192,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsInstanceDescription = ptr.String(jtv) } - case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -7398,7 +7200,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsInstanceName = ptr.String(jtv) } - case "nsState": if value != nil { jtv, ok := value.(string) @@ -7407,7 +7208,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsState = types.NsState(jtv) } - default: _, _ = key, value @@ -7451,7 +7251,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(v **types.Li } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7464,7 +7263,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(v **types.Li } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -7538,12 +7336,10 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.Arn = ptr.String(jtv) } - case "error": if err := awsRestjson1_deserializeDocumentProblemDetails(&sv.Error, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -7552,7 +7348,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.Id = ptr.String(jtv) } - case "lcmOperationType": if value != nil { jtv, ok := value.(string) @@ -7561,12 +7356,10 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.LcmOperationType = types.LcmOperationType(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(&sv.Metadata, value); err != nil { return err } - case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -7575,7 +7368,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.NsInstanceId = ptr.String(jtv) } - case "operationState": if value != nil { jtv, ok := value.(string) @@ -7584,7 +7376,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.OperationState = types.NsLcmOperationState(jtv) } - case "updateType": if value != nil { jtv, ok := value.(string) @@ -7593,7 +7384,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.UpdateType = types.UpdateSolNetworkType(jtv) } - default: _, _ = key, value @@ -7637,7 +7427,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7650,7 +7439,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.LastModified = ptr.Time(t) } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -7659,7 +7447,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.NsdInfoId = ptr.String(jtv) } - case "vnfInstanceId": if value != nil { jtv, ok := value.(string) @@ -7668,7 +7455,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.VnfInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -7742,7 +7528,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -7751,12 +7536,10 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(&sv.Metadata, value); err != nil { return err } - case "nsdDesigner": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7548,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdDesigner = ptr.String(jtv) } - case "nsdId": if value != nil { jtv, ok := value.(string) @@ -7774,7 +7556,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdId = ptr.String(jtv) } - case "nsdInvariantId": if value != nil { jtv, ok := value.(string) @@ -7783,7 +7564,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdInvariantId = ptr.String(jtv) } - case "nsdName": if value != nil { jtv, ok := value.(string) @@ -7792,7 +7572,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdName = ptr.String(jtv) } - case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -7801,7 +7580,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } - case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -7810,7 +7588,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdOperationalState = types.NsdOperationalState(jtv) } - case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -7819,7 +7596,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdUsageState = types.NsdUsageState(jtv) } - case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -7828,12 +7604,10 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdVersion = ptr.String(jtv) } - case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } - default: _, _ = key, value @@ -7877,7 +7651,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(v **types.Lis } sv.CreatedAt = ptr.Time(t) } - case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7890,7 +7663,6 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(v **types.Lis } sv.LastModified = ptr.Time(t) } - default: _, _ = key, value @@ -7960,7 +7732,6 @@ func awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(v **types.ModifyVnfIn if err := awsRestjson1_deserializeDocumentDocument(&sv.VnfConfigurableProperties, value); err != nil { return err } - case "vnfInstanceId": if value != nil { jtv, ok := value.(string) @@ -7969,7 +7740,6 @@ func awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(v **types.ModifyVnfIn } sv.VnfInstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -8005,7 +7775,6 @@ func awsRestjson1_deserializeDocumentNetworkArtifactMeta(v **types.NetworkArtifa if err := awsRestjson1_deserializeDocumentOverrideList(&sv.Overrides, value); err != nil { return err } - default: _, _ = key, value @@ -8079,7 +7848,6 @@ func awsRestjson1_deserializeDocumentProblemDetails(v **types.ProblemDetails, va } sv.Detail = ptr.String(jtv) } - case "title": if value != nil { jtv, ok := value.(string) @@ -8088,7 +7856,6 @@ func awsRestjson1_deserializeDocumentProblemDetails(v **types.ProblemDetails, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -8124,7 +7891,6 @@ func awsRestjson1_deserializeDocumentPutSolFunctionPackageContentMetadata(v **ty if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } - default: _, _ = key, value @@ -8160,7 +7926,6 @@ func awsRestjson1_deserializeDocumentPutSolNetworkPackageContentMetadata(v **typ if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } - default: _, _ = key, value @@ -8190,15 +7955,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8206,15 +7965,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8239,15 +7994,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8255,15 +8004,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8360,15 +8105,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8376,15 +8115,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8419,7 +8154,6 @@ func awsRestjson1_deserializeDocumentToscaOverride(v **types.ToscaOverride, valu } sv.DefaultValue = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8428,7 +8162,6 @@ func awsRestjson1_deserializeDocumentToscaOverride(v **types.ToscaOverride, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8464,7 +8197,6 @@ func awsRestjson1_deserializeDocumentUpdateNsMetadata(v **types.UpdateNsMetadata if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalParamsForNs, value); err != nil { return err } - case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -8473,7 +8205,6 @@ func awsRestjson1_deserializeDocumentUpdateNsMetadata(v **types.UpdateNsMetadata } sv.NsdInfoId = ptr.String(jtv) } - default: _, _ = key, value @@ -8509,7 +8240,6 @@ func awsRestjson1_deserializeDocumentValidateSolFunctionPackageContentMetadata(v if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } - default: _, _ = key, value @@ -8545,7 +8275,6 @@ func awsRestjson1_deserializeDocumentValidateSolNetworkPackageContentMetadata(v if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } - default: _, _ = key, value @@ -8575,15 +8304,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8591,15 +8314,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/transcribe/deserializers.go b/service/transcribe/deserializers.go index 7c7022fd1f5..9ef606813cb 100644 --- a/service/transcribe/deserializers.go +++ b/service/transcribe/deserializers.go @@ -5219,7 +5219,6 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.EndTime = ptr.Int64(i64) } - case "First": if value != nil { jtv, ok := value.(json.Number) @@ -5232,7 +5231,6 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.First = ptr.Int64(i64) } - case "Last": if value != nil { jtv, ok := value.(json.Number) @@ -5245,7 +5243,6 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.Last = ptr.Int64(i64) } - case "StartTime": if value != nil { jtv, ok := value.(json.Number) @@ -5258,7 +5255,6 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.StartTime = ptr.Int64(i64) } - default: _, _ = key, value @@ -5288,15 +5284,9 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5304,15 +5294,11 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5343,7 +5329,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(&sv.CallAnalyticsJobDetails, value); err != nil { return err } - case "CallAnalyticsJobName": if value != nil { jtv, ok := value.(string) @@ -5352,7 +5337,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.CallAnalyticsJobName = ptr.String(jtv) } - case "CallAnalyticsJobStatus": if value != nil { jtv, ok := value.(string) @@ -5361,12 +5345,10 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.CallAnalyticsJobStatus = types.CallAnalyticsJobStatus(jtv) } - case "ChannelDefinitions": if err := awsAwsjson11_deserializeDocumentChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } - case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -5382,7 +5364,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5398,7 +5379,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -5407,7 +5387,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.DataAccessRoleArn = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -5416,7 +5395,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.FailureReason = ptr.String(jtv) } - case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -5450,7 +5428,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5459,12 +5436,10 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.LanguageCode = types.LanguageCode(jtv) } - case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } - case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -5473,7 +5448,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.MediaFormat = types.MediaFormat(jtv) } - case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -5486,12 +5460,10 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } - case "Settings": if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(&sv.Settings, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5507,12 +5479,10 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } - case "Transcript": if err := awsAwsjson11_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } - default: _, _ = key, value @@ -5548,7 +5518,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(v **types.CallAnaly if err := awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeatureList(&sv.Skipped, value); err != nil { return err } - default: _, _ = key, value @@ -5584,12 +5553,10 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } - case "LanguageIdSettings": if err := awsAwsjson11_deserializeDocumentLanguageIdSettingsMap(&sv.LanguageIdSettings, value); err != nil { return err } - case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5598,17 +5565,14 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.LanguageModelName = ptr.String(jtv) } - case "LanguageOptions": if err := awsAwsjson11_deserializeDocumentLanguageOptions(&sv.LanguageOptions, value); err != nil { return err } - case "Summarization": if err := awsAwsjson11_deserializeDocumentSummarization(&sv.Summarization, value); err != nil { return err } - case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5617,7 +5581,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5626,7 +5589,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5635,7 +5597,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -5705,7 +5666,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(&sv.CallAnalyticsJobDetails, value); err != nil { return err } - case "CallAnalyticsJobName": if value != nil { jtv, ok := value.(string) @@ -5714,7 +5674,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.CallAnalyticsJobName = ptr.String(jtv) } - case "CallAnalyticsJobStatus": if value != nil { jtv, ok := value.(string) @@ -5723,7 +5682,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.CallAnalyticsJobStatus = types.CallAnalyticsJobStatus(jtv) } - case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -5739,7 +5697,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5755,7 +5712,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -5764,7 +5720,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5773,7 +5728,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.LanguageCode = types.LanguageCode(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5789,7 +5743,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } - default: _, _ = key, value @@ -5829,7 +5782,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.Feature = types.CallAnalyticsFeature(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -5838,7 +5790,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.Message = ptr.String(jtv) } - case "ReasonCode": if value != nil { jtv, ok := value.(string) @@ -5847,7 +5798,6 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.ReasonCode = types.CallAnalyticsSkippedReasonCode(jtv) } - default: _, _ = key, value @@ -5921,7 +5871,6 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } sv.CategoryName = ptr.String(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -5937,7 +5886,6 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } } - case "InputType": if value != nil { jtv, ok := value.(string) @@ -5946,7 +5894,6 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } sv.InputType = types.InputType(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5962,12 +5909,10 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -6045,7 +5990,6 @@ func awsAwsjson11_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ChannelId = int32(i64) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -6054,7 +5998,6 @@ func awsAwsjson11_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ParticipantRole = types.ParticipantRole(jtv) } - default: _, _ = key, value @@ -6118,15 +6061,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6134,15 +6071,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6173,7 +6106,6 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction if err := awsAwsjson11_deserializeDocumentPiiEntityTypes(&sv.PiiEntityTypes, value); err != nil { return err } - case "RedactionOutput": if value != nil { jtv, ok := value.(string) @@ -6182,7 +6114,6 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction } sv.RedactionOutput = types.RedactionOutput(jtv) } - case "RedactionType": if value != nil { jtv, ok := value.(string) @@ -6191,7 +6122,6 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction } sv.RedactionType = types.RedactionType(jtv) } - default: _, _ = key, value @@ -6231,7 +6161,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.DataAccessRoleArn = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -6240,7 +6169,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } - case "TuningDataS3Uri": if value != nil { jtv, ok := value.(string) @@ -6249,7 +6177,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.TuningDataS3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -6279,15 +6206,9 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6295,15 +6216,11 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6334,7 +6251,6 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -6343,7 +6259,6 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.Negate = ptr.Bool(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -6352,12 +6267,10 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } - case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -6370,7 +6283,6 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.Threshold = ptr.Int64(i64) } - default: _, _ = key, value @@ -6410,7 +6322,6 @@ func awsAwsjson11_deserializeDocumentJobExecutionSettings(v **types.JobExecution } sv.AllowDeferredExecution = ptr.Bool(jtv) } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -6419,7 +6330,6 @@ func awsAwsjson11_deserializeDocumentJobExecutionSettings(v **types.JobExecution } sv.DataAccessRoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6484,7 +6394,6 @@ func awsAwsjson11_deserializeDocumentLanguageCodeItem(v **types.LanguageCodeItem } } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -6493,7 +6402,6 @@ func awsAwsjson11_deserializeDocumentLanguageCodeItem(v **types.LanguageCodeItem } sv.LanguageCode = types.LanguageCode(jtv) } - default: _, _ = key, value @@ -6567,7 +6475,6 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.LanguageModelName = ptr.String(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -6576,7 +6483,6 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -6585,7 +6491,6 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -6660,7 +6565,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.BaseModelName = types.BaseModelName(jtv) } - case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -6676,7 +6580,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -6685,12 +6588,10 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.FailureReason = ptr.String(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -6699,7 +6600,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.LanguageCode = types.CLMLanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6715,7 +6615,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -6724,7 +6623,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.ModelName = ptr.String(jtv) } - case "ModelStatus": if value != nil { jtv, ok := value.(string) @@ -6733,7 +6631,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.ModelStatus = types.ModelStatus(jtv) } - case "UpgradeAvailability": if value != nil { jtv, ok := value.(bool) @@ -6742,7 +6639,6 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.UpgradeAvailability = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6808,15 +6704,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6824,15 +6714,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6867,7 +6753,6 @@ func awsAwsjson11_deserializeDocumentMedia(v **types.Media, value interface{}) e } sv.MediaFileUri = ptr.String(jtv) } - case "RedactedMediaFileUri": if value != nil { jtv, ok := value.(string) @@ -6876,7 +6761,6 @@ func awsAwsjson11_deserializeDocumentMedia(v **types.Media, value interface{}) e } sv.RedactedMediaFileUri = ptr.String(jtv) } - default: _, _ = key, value @@ -6920,7 +6804,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinition(v **types.Me } sv.ChannelId = int32(i64) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -6929,7 +6812,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinition(v **types.Me } sv.ParticipantRole = types.MedicalScribeParticipantRole(jtv) } - default: _, _ = key, value @@ -6999,7 +6881,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob if err := awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } - case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -7015,7 +6896,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7031,7 +6911,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -7040,7 +6919,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.DataAccessRoleArn = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7049,7 +6927,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7058,12 +6935,10 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.LanguageCode = types.MedicalScribeLanguageCode(jtv) } - case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } - case "MedicalScribeJobName": if value != nil { jtv, ok := value.(string) @@ -7072,7 +6947,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.MedicalScribeJobName = ptr.String(jtv) } - case "MedicalScribeJobStatus": if value != nil { jtv, ok := value.(string) @@ -7081,17 +6955,14 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.MedicalScribeJobStatus = types.MedicalScribeJobStatus(jtv) } - case "MedicalScribeOutput": if err := awsAwsjson11_deserializeDocumentMedicalScribeOutput(&sv.MedicalScribeOutput, value); err != nil { return err } - case "Settings": if err := awsAwsjson11_deserializeDocumentMedicalScribeSettings(&sv.Settings, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7107,12 +6978,10 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7193,7 +7062,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7209,7 +7077,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7218,7 +7085,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7227,7 +7093,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.LanguageCode = types.MedicalScribeLanguageCode(jtv) } - case "MedicalScribeJobName": if value != nil { jtv, ok := value.(string) @@ -7236,7 +7101,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.MedicalScribeJobName = ptr.String(jtv) } - case "MedicalScribeJobStatus": if value != nil { jtv, ok := value.(string) @@ -7245,7 +7109,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.MedicalScribeJobStatus = types.MedicalScribeJobStatus(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7261,7 +7124,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } - default: _, _ = key, value @@ -7301,7 +7163,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeOutput(v **types.MedicalScribe } sv.ClinicalDocumentUri = ptr.String(jtv) } - case "TranscriptFileUri": if value != nil { jtv, ok := value.(string) @@ -7310,7 +7171,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeOutput(v **types.MedicalScribe } sv.TranscriptFileUri = ptr.String(jtv) } - default: _, _ = key, value @@ -7350,7 +7210,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.ChannelIdentification = ptr.Bool(jtv) } - case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -7363,7 +7222,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } - case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -7372,7 +7230,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.ShowSpeakerLabels = ptr.Bool(jtv) } - case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -7381,7 +7238,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -7390,7 +7246,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -7399,7 +7254,6 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -7439,7 +7293,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscript(v **types.MedicalTranscri } sv.TranscriptFileUri = ptr.String(jtv) } - default: _, _ = key, value @@ -7486,7 +7339,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } - case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -7495,7 +7347,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.ContentIdentificationType = types.MedicalContentIdentificationType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7511,7 +7362,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7520,7 +7370,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7529,12 +7378,10 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.LanguageCode = types.LanguageCode(jtv) } - case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } - case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -7543,7 +7390,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MediaFormat = types.MediaFormat(jtv) } - case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -7556,7 +7402,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } - case "MedicalTranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -7565,12 +7410,10 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MedicalTranscriptionJobName = ptr.String(jtv) } - case "Settings": if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(&sv.Settings, value); err != nil { return err } - case "Specialty": if value != nil { jtv, ok := value.(string) @@ -7579,7 +7422,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.Specialty = types.Specialty(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7595,17 +7437,14 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Transcript": if err := awsAwsjson11_deserializeDocumentMedicalTranscript(&sv.Transcript, value); err != nil { return err } - case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -7614,7 +7453,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7623,7 +7461,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -7704,7 +7541,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } - case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -7713,7 +7549,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.ContentIdentificationType = types.MedicalContentIdentificationType(jtv) } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7729,7 +7564,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7738,7 +7572,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7747,7 +7580,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.LanguageCode = types.LanguageCode(jtv) } - case "MedicalTranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -7756,7 +7588,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.MedicalTranscriptionJobName = ptr.String(jtv) } - case "OutputLocationType": if value != nil { jtv, ok := value.(string) @@ -7765,7 +7596,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.OutputLocationType = types.OutputLocationType(jtv) } - case "Specialty": if value != nil { jtv, ok := value.(string) @@ -7774,7 +7604,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.Specialty = types.Specialty(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7790,7 +7619,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } - case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -7799,7 +7627,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7808,7 +7635,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.Type = types.Type(jtv) } - default: _, _ = key, value @@ -7848,7 +7674,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ChannelIdentification = ptr.Bool(jtv) } - case "MaxAlternatives": if value != nil { jtv, ok := value.(json.Number) @@ -7861,7 +7686,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.MaxAlternatives = ptr.Int32(int32(i64)) } - case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -7874,7 +7698,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } - case "ShowAlternatives": if value != nil { jtv, ok := value.(bool) @@ -7883,7 +7706,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ShowAlternatives = ptr.Bool(jtv) } - case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -7892,7 +7714,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ShowSpeakerLabels = ptr.Bool(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -7901,7 +7722,6 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -7975,7 +7795,6 @@ func awsAwsjson11_deserializeDocumentModelSettings(v **types.ModelSettings, valu } sv.LanguageModelName = ptr.String(jtv) } - default: _, _ = key, value @@ -8011,7 +7830,6 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -8020,12 +7838,10 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt } sv.Negate = ptr.Bool(jtv) } - case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } - case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -8038,7 +7854,6 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt } sv.Threshold = ptr.Int64(i64) } - default: _, _ = key, value @@ -8068,15 +7883,9 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8084,15 +7893,11 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8167,7 +7972,6 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.EndPercentage = ptr.Int32(int32(i64)) } - case "First": if value != nil { jtv, ok := value.(json.Number) @@ -8180,7 +7984,6 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.First = ptr.Int32(int32(i64)) } - case "Last": if value != nil { jtv, ok := value.(json.Number) @@ -8193,7 +7996,6 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.Last = ptr.Int32(int32(i64)) } - case "StartPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -8206,7 +8008,6 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.StartPercentage = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8344,7 +8145,6 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -8353,7 +8153,6 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, } sv.Negate = ptr.Bool(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -8362,17 +8161,14 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } - case "Sentiments": if err := awsAwsjson11_deserializeDocumentSentimentValueList(&sv.Sentiments, value); err != nil { return err } - default: _, _ = key, value @@ -8448,7 +8244,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ChannelIdentification = ptr.Bool(jtv) } - case "MaxAlternatives": if value != nil { jtv, ok := value.(json.Number) @@ -8461,7 +8256,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.MaxAlternatives = ptr.Int32(int32(i64)) } - case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -8474,7 +8268,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } - case "ShowAlternatives": if value != nil { jtv, ok := value.(bool) @@ -8483,7 +8276,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ShowAlternatives = ptr.Bool(jtv) } - case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -8492,7 +8284,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ShowSpeakerLabels = ptr.Bool(jtv) } - case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -8501,7 +8292,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -8510,7 +8300,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyFilterName = ptr.String(jtv) } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -8519,7 +8308,6 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyName = ptr.String(jtv) } - default: _, _ = key, value @@ -8663,7 +8451,6 @@ func awsAwsjson11_deserializeDocumentSubtitlesOutput(v **types.SubtitlesOutput, if err := awsAwsjson11_deserializeDocumentSubtitleFormats(&sv.Formats, value); err != nil { return err } - case "OutputStartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -8676,12 +8463,10 @@ func awsAwsjson11_deserializeDocumentSubtitlesOutput(v **types.SubtitlesOutput, } sv.OutputStartIndex = ptr.Int32(int32(i64)) } - case "SubtitleFileUris": if err := awsAwsjson11_deserializeDocumentSubtitleFileUris(&sv.SubtitleFileUris, value); err != nil { return err } - default: _, _ = key, value @@ -8721,7 +8506,6 @@ func awsAwsjson11_deserializeDocumentSummarization(v **types.Summarization, valu } sv.GenerateAbstractiveSummary = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8761,7 +8545,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8770,7 +8553,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8910,7 +8692,6 @@ func awsAwsjson11_deserializeDocumentToxicityDetectionSettings(v **types.Toxicit if err := awsAwsjson11_deserializeDocumentToxicityCategories(&sv.ToxicityCategories, value); err != nil { return err } - default: _, _ = key, value @@ -8950,7 +8731,6 @@ func awsAwsjson11_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.RedactedTranscriptFileUri = ptr.String(jtv) } - case "TranscriptFileUri": if value != nil { jtv, ok := value.(string) @@ -8959,7 +8739,6 @@ func awsAwsjson11_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.TranscriptFileUri = ptr.String(jtv) } - default: _, _ = key, value @@ -8995,7 +8774,6 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } - case "Negate": if value != nil { jtv, ok := value.(bool) @@ -9004,7 +8782,6 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.Negate = ptr.Bool(jtv) } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -9013,17 +8790,14 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } - case "Targets": if err := awsAwsjson11_deserializeDocumentStringTargetList(&sv.Targets, value); err != nil { return err } - case "TranscriptFilterType": if value != nil { jtv, ok := value.(string) @@ -9032,7 +8806,6 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.TranscriptFilterType = types.TranscriptFilterType(jtv) } - default: _, _ = key, value @@ -9079,12 +8852,10 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } - case "ContentRedaction": if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9100,7 +8871,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9109,7 +8879,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.FailureReason = ptr.String(jtv) } - case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -9143,7 +8912,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } - case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -9152,7 +8920,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.IdentifyLanguage = ptr.Bool(jtv) } - case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -9161,12 +8928,10 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.IdentifyMultipleLanguages = ptr.Bool(jtv) } - case "JobExecutionSettings": if err := awsAwsjson11_deserializeDocumentJobExecutionSettings(&sv.JobExecutionSettings, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9175,27 +8940,22 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.LanguageCode = types.LanguageCode(jtv) } - case "LanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { return err } - case "LanguageIdSettings": if err := awsAwsjson11_deserializeDocumentLanguageIdSettingsMap(&sv.LanguageIdSettings, value); err != nil { return err } - case "LanguageOptions": if err := awsAwsjson11_deserializeDocumentLanguageOptions(&sv.LanguageOptions, value); err != nil { return err } - case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } - case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -9204,7 +8964,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.MediaFormat = types.MediaFormat(jtv) } - case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -9217,17 +8976,14 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } - case "ModelSettings": if err := awsAwsjson11_deserializeDocumentModelSettings(&sv.ModelSettings, value); err != nil { return err } - case "Settings": if err := awsAwsjson11_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9243,27 +8999,22 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } - case "Subtitles": if err := awsAwsjson11_deserializeDocumentSubtitlesOutput(&sv.Subtitles, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "ToxicityDetection": if err := awsAwsjson11_deserializeDocumentToxicityDetection(&sv.ToxicityDetection, value); err != nil { return err } - case "Transcript": if err := awsAwsjson11_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } - case "TranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -9272,7 +9023,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.TranscriptionJobName = ptr.String(jtv) } - case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -9281,7 +9031,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } - default: _, _ = key, value @@ -9362,12 +9111,10 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } - case "ContentRedaction": if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9383,7 +9130,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9392,7 +9138,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.FailureReason = ptr.String(jtv) } - case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -9426,7 +9171,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } - case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -9435,7 +9179,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.IdentifyLanguage = ptr.Bool(jtv) } - case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -9444,7 +9187,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.IdentifyMultipleLanguages = ptr.Bool(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9453,17 +9195,14 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.LanguageCode = types.LanguageCode(jtv) } - case "LanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { return err } - case "ModelSettings": if err := awsAwsjson11_deserializeDocumentModelSettings(&sv.ModelSettings, value); err != nil { return err } - case "OutputLocationType": if value != nil { jtv, ok := value.(string) @@ -9472,7 +9211,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.OutputLocationType = types.OutputLocationType(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9488,12 +9226,10 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } - case "ToxicityDetection": if err := awsAwsjson11_deserializeDocumentToxicityDetection(&sv.ToxicityDetection, value); err != nil { return err } - case "TranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -9502,7 +9238,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.TranscriptionJobName = ptr.String(jtv) } - case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -9511,7 +9246,6 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } - default: _, _ = key, value @@ -9585,7 +9319,6 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9601,7 +9334,6 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -9610,7 +9342,6 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } sv.VocabularyFilterName = ptr.String(jtv) } - default: _, _ = key, value @@ -9684,7 +9415,6 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9700,7 +9430,6 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -9709,7 +9438,6 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -9718,7 +9446,6 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -9754,7 +9481,6 @@ func awsAwsjson11_deserializeOpDocumentCreateCallAnalyticsCategoryOutput(v **Cre if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } - default: _, _ = key, value @@ -9794,12 +9520,10 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.BaseModelName = types.BaseModelName(jtv) } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9808,7 +9532,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.LanguageCode = types.CLMLanguageCode(jtv) } - case "ModelName": if value != nil { jtv, ok := value.(string) @@ -9817,7 +9540,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.ModelName = ptr.String(jtv) } - case "ModelStatus": if value != nil { jtv, ok := value.(string) @@ -9826,7 +9548,6 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.ModelStatus = types.ModelStatus(jtv) } - default: _, _ = key, value @@ -9866,7 +9587,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9875,7 +9595,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9891,7 +9610,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -9900,7 +9618,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -9909,7 +9626,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -9949,7 +9665,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9965,7 +9680,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -9974,7 +9688,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } sv.VocabularyFilterName = ptr.String(jtv) } - default: _, _ = key, value @@ -10014,7 +9727,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10023,7 +9735,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10039,7 +9750,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -10048,7 +9758,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -10057,7 +9766,6 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -10155,7 +9863,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeLanguageModelOutput(v **DescribeL if err := awsAwsjson11_deserializeDocumentLanguageModel(&sv.LanguageModel, value); err != nil { return err } - default: _, _ = key, value @@ -10191,7 +9898,6 @@ func awsAwsjson11_deserializeOpDocumentGetCallAnalyticsCategoryOutput(v **GetCal if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } - default: _, _ = key, value @@ -10227,7 +9933,6 @@ func awsAwsjson11_deserializeOpDocumentGetCallAnalyticsJobOutput(v **GetCallAnal if err := awsAwsjson11_deserializeDocumentCallAnalyticsJob(&sv.CallAnalyticsJob, value); err != nil { return err } - default: _, _ = key, value @@ -10263,7 +9968,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalScribeJobOutput(v **GetMedicalS if err := awsAwsjson11_deserializeDocumentMedicalScribeJob(&sv.MedicalScribeJob, value); err != nil { return err } - default: _, _ = key, value @@ -10299,7 +10003,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalTranscriptionJobOutput(v **GetM if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(&sv.MedicalTranscriptionJob, value); err != nil { return err } - default: _, _ = key, value @@ -10339,7 +10042,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.DownloadUri = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -10348,7 +10050,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10357,7 +10058,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10373,7 +10073,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -10382,7 +10081,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -10391,7 +10089,6 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -10427,7 +10124,6 @@ func awsAwsjson11_deserializeOpDocumentGetTranscriptionJobOutput(v **GetTranscri if err := awsAwsjson11_deserializeDocumentTranscriptionJob(&sv.TranscriptionJob, value); err != nil { return err } - default: _, _ = key, value @@ -10467,7 +10163,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.DownloadUri = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10476,7 +10171,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10492,7 +10186,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -10501,7 +10194,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.VocabularyFilterName = ptr.String(jtv) } - default: _, _ = key, value @@ -10541,7 +10233,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.DownloadUri = ptr.String(jtv) } - case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -10550,7 +10241,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.FailureReason = ptr.String(jtv) } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10559,7 +10249,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10575,7 +10264,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -10584,7 +10272,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -10593,7 +10280,6 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -10629,7 +10315,6 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsCategoriesOutput(v **Lis if err := awsAwsjson11_deserializeDocumentCategoryPropertiesList(&sv.Categories, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10638,7 +10323,6 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsCategoriesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10674,7 +10358,6 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobSummaries(&sv.CallAnalyticsJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10683,7 +10366,6 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10692,7 +10374,6 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA } sv.Status = types.CallAnalyticsJobStatus(jtv) } - default: _, _ = key, value @@ -10728,7 +10409,6 @@ func awsAwsjson11_deserializeOpDocumentListLanguageModelsOutput(v **ListLanguage if err := awsAwsjson11_deserializeDocumentModels(&sv.Models, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10737,7 +10417,6 @@ func awsAwsjson11_deserializeOpDocumentListLanguageModelsOutput(v **ListLanguage } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -10773,7 +10452,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic if err := awsAwsjson11_deserializeDocumentMedicalScribeJobSummaries(&sv.MedicalScribeJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10782,7 +10460,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10791,7 +10468,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic } sv.Status = types.MedicalScribeJobStatus(jtv) } - default: _, _ = key, value @@ -10827,7 +10503,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummaries(&sv.MedicalTranscriptionJobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10836,7 +10511,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10845,7 +10519,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li } sv.Status = types.TranscriptionJobStatus(jtv) } - default: _, _ = key, value @@ -10885,7 +10558,6 @@ func awsAwsjson11_deserializeOpDocumentListMedicalVocabulariesOutput(v **ListMed } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10894,12 +10566,10 @@ func awsAwsjson11_deserializeOpDocumentListMedicalVocabulariesOutput(v **ListMed } sv.Status = types.VocabularyState(jtv) } - case "Vocabularies": if err := awsAwsjson11_deserializeDocumentVocabularies(&sv.Vocabularies, value); err != nil { return err } - default: _, _ = key, value @@ -10939,12 +10609,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10984,7 +10652,6 @@ func awsAwsjson11_deserializeOpDocumentListTranscriptionJobsOutput(v **ListTrans } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10993,12 +10660,10 @@ func awsAwsjson11_deserializeOpDocumentListTranscriptionJobsOutput(v **ListTrans } sv.Status = types.TranscriptionJobStatus(jtv) } - case "TranscriptionJobSummaries": if err := awsAwsjson11_deserializeDocumentTranscriptionJobSummaries(&sv.TranscriptionJobSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -11038,7 +10703,6 @@ func awsAwsjson11_deserializeOpDocumentListVocabulariesOutput(v **ListVocabulari } sv.NextToken = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11047,12 +10711,10 @@ func awsAwsjson11_deserializeOpDocumentListVocabulariesOutput(v **ListVocabulari } sv.Status = types.VocabularyState(jtv) } - case "Vocabularies": if err := awsAwsjson11_deserializeDocumentVocabularies(&sv.Vocabularies, value); err != nil { return err } - default: _, _ = key, value @@ -11092,12 +10754,10 @@ func awsAwsjson11_deserializeOpDocumentListVocabularyFiltersOutput(v **ListVocab } sv.NextToken = ptr.String(jtv) } - case "VocabularyFilters": if err := awsAwsjson11_deserializeDocumentVocabularyFilters(&sv.VocabularyFilters, value); err != nil { return err } - default: _, _ = key, value @@ -11133,7 +10793,6 @@ func awsAwsjson11_deserializeOpDocumentStartCallAnalyticsJobOutput(v **StartCall if err := awsAwsjson11_deserializeDocumentCallAnalyticsJob(&sv.CallAnalyticsJob, value); err != nil { return err } - default: _, _ = key, value @@ -11169,7 +10828,6 @@ func awsAwsjson11_deserializeOpDocumentStartMedicalScribeJobOutput(v **StartMedi if err := awsAwsjson11_deserializeDocumentMedicalScribeJob(&sv.MedicalScribeJob, value); err != nil { return err } - default: _, _ = key, value @@ -11205,7 +10863,6 @@ func awsAwsjson11_deserializeOpDocumentStartMedicalTranscriptionJobOutput(v **St if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(&sv.MedicalTranscriptionJob, value); err != nil { return err } - default: _, _ = key, value @@ -11241,7 +10898,6 @@ func awsAwsjson11_deserializeOpDocumentStartTranscriptionJobOutput(v **StartTran if err := awsAwsjson11_deserializeDocumentTranscriptionJob(&sv.TranscriptionJob, value); err != nil { return err } - default: _, _ = key, value @@ -11339,7 +10995,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCallAnalyticsCategoryOutput(v **Upd if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } - default: _, _ = key, value @@ -11379,7 +11034,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11395,7 +11049,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -11404,7 +11057,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -11413,7 +11065,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value @@ -11453,7 +11104,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11469,7 +11119,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } } - case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -11478,7 +11127,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } sv.VocabularyFilterName = ptr.String(jtv) } - default: _, _ = key, value @@ -11518,7 +11166,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.LanguageCode = types.LanguageCode(jtv) } - case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11534,7 +11181,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } } - case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -11543,7 +11189,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.VocabularyName = ptr.String(jtv) } - case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -11552,7 +11197,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.VocabularyState = types.VocabularyState(jtv) } - default: _, _ = key, value diff --git a/service/transcribestreaming/deserializers.go b/service/transcribestreaming/deserializers.go index c701c107f40..e4dcdc54471 100644 --- a/service/transcribestreaming/deserializers.go +++ b/service/transcribestreaming/deserializers.go @@ -1030,15 +1030,9 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1046,15 +1040,11 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1093,7 +1083,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.BeginOffsetMillis = ptr.Int64(i64) } - case "Category": if value != nil { jtv, ok := value.(string) @@ -1102,7 +1091,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Category = ptr.String(jtv) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -1136,7 +1124,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -1145,7 +1132,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Content = ptr.String(jtv) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1158,7 +1144,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.EndOffsetMillis = ptr.Int64(i64) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1167,7 +1152,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -1245,7 +1229,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.BeginOffsetMillis = ptr.Int64(i64) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -1279,7 +1262,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -1288,7 +1270,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Content = ptr.String(jtv) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1301,7 +1282,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.EndOffsetMillis = ptr.Int64(i64) } - case "Stable": if value != nil { jtv, ok := value.(bool) @@ -1310,7 +1290,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Stable = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -1319,7 +1298,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Type = types.ItemType(jtv) } - case "VocabularyFilterMatch": if value != nil { jtv, ok := value.(bool) @@ -1328,7 +1306,6 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.VocabularyFilterMatch = jtv } - default: _, _ = key, value @@ -1398,12 +1375,10 @@ func awsRestjson1_deserializeDocumentCategoryEvent(v **types.CategoryEvent, valu if err := awsRestjson1_deserializeDocumentStringList(&sv.MatchedCategories, value); err != nil { return err } - case "MatchedDetails": if err := awsRestjson1_deserializeDocumentMatchedCategoryDetails(&sv.MatchedDetails, value); err != nil { return err } - default: _, _ = key, value @@ -1447,7 +1422,6 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.Begin = ptr.Int32(int32(i64)) } - case "End": if value != nil { jtv, ok := value.(json.Number) @@ -1460,7 +1434,6 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.End = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1490,15 +1463,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1506,15 +1473,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1539,15 +1502,9 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1555,15 +1512,11 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1594,7 +1547,6 @@ func awsRestjson1_deserializeDocumentIssueDetected(v **types.IssueDetected, valu if err := awsRestjson1_deserializeDocumentCharacterOffsets(&sv.CharacterOffsets, value); err != nil { return err } - default: _, _ = key, value @@ -1658,15 +1610,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1674,15 +1620,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1748,7 +1690,6 @@ func awsRestjson1_deserializeDocumentPointsOfInterest(v **types.PointsOfInterest if err := awsRestjson1_deserializeDocumentTimestampRanges(&sv.TimestampRanges, value); err != nil { return err } - default: _, _ = key, value @@ -1778,15 +1719,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -1794,15 +1729,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -1877,7 +1808,6 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } sv.BeginOffsetMillis = ptr.Int64(i64) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1890,7 +1820,6 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } sv.EndOffsetMillis = ptr.Int64(i64) } - default: _, _ = key, value @@ -1968,7 +1897,6 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.BeginOffsetMillis = ptr.Int64(i64) } - case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1981,12 +1909,10 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.EndOffsetMillis = ptr.Int64(i64) } - case "Entities": if err := awsRestjson1_deserializeDocumentCallAnalyticsEntityList(&sv.Entities, value); err != nil { return err } - case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -1995,17 +1921,14 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.IsPartial = jtv } - case "IssuesDetected": if err := awsRestjson1_deserializeDocumentIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } - case "Items": if err := awsRestjson1_deserializeDocumentCallAnalyticsItemList(&sv.Items, value); err != nil { return err } - case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -2014,7 +1937,6 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.ParticipantRole = types.ParticipantRole(jtv) } - case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -2023,7 +1945,6 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.Sentiment = types.Sentiment(jtv) } - case "Transcript": if value != nil { jtv, ok := value.(string) @@ -2032,7 +1953,6 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.Transcript = ptr.String(jtv) } - case "UtteranceId": if value != nil { jtv, ok := value.(string) @@ -2041,7 +1961,6 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.UtteranceId = ptr.String(jtv) } - default: _, _ = key, value @@ -2198,12 +2117,10 @@ func awsRestjson1_deserializeDocumentMedicalAlternative(v **types.MedicalAlterna if err := awsRestjson1_deserializeDocumentMedicalEntityList(&sv.Entities, value); err != nil { return err } - case "Items": if err := awsRestjson1_deserializeDocumentMedicalItemList(&sv.Items, value); err != nil { return err } - case "Transcript": if value != nil { jtv, ok := value.(string) @@ -2212,7 +2129,6 @@ func awsRestjson1_deserializeDocumentMedicalAlternative(v **types.MedicalAlterna } sv.Transcript = ptr.String(jtv) } - default: _, _ = key, value @@ -2286,7 +2202,6 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } sv.Category = ptr.String(jtv) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -2320,7 +2235,6 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -2329,7 +2243,6 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } sv.Content = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2363,7 +2276,6 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2397,7 +2309,6 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } - default: _, _ = key, value @@ -2496,7 +2407,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -2505,7 +2415,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Content = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2539,7 +2448,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } - case "Speaker": if value != nil { jtv, ok := value.(string) @@ -2548,7 +2456,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Speaker = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2582,7 +2489,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -2591,7 +2497,6 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Type = types.ItemType(jtv) } - default: _, _ = key, value @@ -2661,7 +2566,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu if err := awsRestjson1_deserializeDocumentMedicalAlternativeList(&sv.Alternatives, value); err != nil { return err } - case "ChannelId": if value != nil { jtv, ok := value.(string) @@ -2670,7 +2574,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.ChannelId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2704,7 +2607,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } } - case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -2713,7 +2615,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.IsPartial = jtv } - case "ResultId": if value != nil { jtv, ok := value.(string) @@ -2722,7 +2623,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.ResultId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2756,7 +2656,6 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } } - default: _, _ = key, value @@ -2826,7 +2725,6 @@ func awsRestjson1_deserializeDocumentMedicalTranscript(v **types.MedicalTranscri if err := awsRestjson1_deserializeDocumentMedicalResultList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -2862,7 +2760,6 @@ func awsRestjson1_deserializeDocumentMedicalTranscriptEvent(v **types.MedicalTra if err := awsRestjson1_deserializeDocumentMedicalTranscript(&sv.Transcript, value); err != nil { return err } - default: _, _ = key, value @@ -3019,12 +2916,10 @@ func awsRestjson1_deserializeDocumentAlternative(v **types.Alternative, value in if err := awsRestjson1_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } - case "Items": if err := awsRestjson1_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } - case "Transcript": if value != nil { jtv, ok := value.(string) @@ -3033,7 +2928,6 @@ func awsRestjson1_deserializeDocumentAlternative(v **types.Alternative, value in } sv.Transcript = ptr.String(jtv) } - default: _, _ = key, value @@ -3107,7 +3001,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Category = ptr.String(jtv) } - case "Confidence": if value != nil { switch jtv := value.(type) { @@ -3141,7 +3034,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -3150,7 +3042,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Content = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3184,7 +3075,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3218,7 +3108,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3227,7 +3116,6 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -3326,7 +3214,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } - case "Content": if value != nil { jtv, ok := value.(string) @@ -3335,7 +3222,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Content = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3369,7 +3255,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } - case "Speaker": if value != nil { jtv, ok := value.(string) @@ -3378,7 +3263,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Speaker = ptr.String(jtv) } - case "Stable": if value != nil { jtv, ok := value.(bool) @@ -3387,7 +3271,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Stable = ptr.Bool(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3421,7 +3304,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3430,7 +3312,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ItemType(jtv) } - case "VocabularyFilterMatch": if value != nil { jtv, ok := value.(bool) @@ -3439,7 +3320,6 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.VocabularyFilterMatch = jtv } - default: _, _ = key, value @@ -3547,7 +3427,6 @@ func awsRestjson1_deserializeDocumentLanguageWithScore(v **types.LanguageWithSco } sv.LanguageCode = types.LanguageCode(jtv) } - case "Score": if value != nil { switch jtv := value.(type) { @@ -3581,7 +3460,6 @@ func awsRestjson1_deserializeDocumentLanguageWithScore(v **types.LanguageWithSco } } - default: _, _ = key, value @@ -3617,7 +3495,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) if err := awsRestjson1_deserializeDocumentAlternativeList(&sv.Alternatives, value); err != nil { return err } - case "ChannelId": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3503,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ChannelId = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3660,7 +3536,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } } - case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -3669,7 +3544,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.IsPartial = jtv } - case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3678,12 +3552,10 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.LanguageCode = types.LanguageCode(jtv) } - case "LanguageIdentification": if err := awsRestjson1_deserializeDocumentLanguageIdentification(&sv.LanguageIdentification, value); err != nil { return err } - case "ResultId": if value != nil { jtv, ok := value.(string) @@ -3692,7 +3564,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ResultId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3726,7 +3597,6 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } } - default: _, _ = key, value @@ -3796,7 +3666,6 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte if err := awsRestjson1_deserializeDocumentResultList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -3832,7 +3701,6 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/transfer/deserializers.go b/service/transfer/deserializers.go index d79a1cba639..01dd264843b 100644 --- a/service/transfer/deserializers.go +++ b/service/transfer/deserializers.go @@ -7521,15 +7521,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7537,15 +7531,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7616,7 +7606,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.BasicAuthSecretId = ptr.String(jtv) } - case "Compression": if value != nil { jtv, ok := value.(string) @@ -7625,7 +7614,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.Compression = types.CompressionEnum(jtv) } - case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7634,7 +7622,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.EncryptionAlgorithm = types.EncryptionAlg(jtv) } - case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -7643,7 +7630,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.LocalProfileId = ptr.String(jtv) } - case "MdnResponse": if value != nil { jtv, ok := value.(string) @@ -7652,7 +7638,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MdnResponse = types.MdnResponse(jtv) } - case "MdnSigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7661,7 +7646,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MdnSigningAlgorithm = types.MdnSigningAlg(jtv) } - case "MessageSubject": if value != nil { jtv, ok := value.(string) @@ -7670,7 +7654,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MessageSubject = ptr.String(jtv) } - case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -7679,7 +7662,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.PartnerProfileId = ptr.String(jtv) } - case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7688,7 +7670,6 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.SigningAlgorithm = types.SigningAlg(jtv) } - default: _, _ = key, value @@ -7790,15 +7771,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7806,15 +7781,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7849,7 +7820,6 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FailureCode = ptr.String(jtv) } - case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -7858,7 +7828,6 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FailureMessage = ptr.String(jtv) } - case "FilePath": if value != nil { jtv, ok := value.(string) @@ -7867,7 +7836,6 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FilePath = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -7876,7 +7844,6 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.StatusCode = types.TransferTableStatus(jtv) } - default: _, _ = key, value @@ -7946,7 +7913,6 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, if err := awsAwsjson11_deserializeDocumentInputFileLocation(&sv.DestinationFileLocation, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7955,7 +7921,6 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.Name = ptr.String(jtv) } - case "OverwriteExisting": if value != nil { jtv, ok := value.(string) @@ -7964,7 +7929,6 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.OverwriteExisting = types.OverwriteExisting(jtv) } - case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -7973,7 +7937,6 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.SourceFileLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -8013,7 +7976,6 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.Name = ptr.String(jtv) } - case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -8022,7 +7984,6 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.SourceFileLocation = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -8031,7 +7992,6 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.Target = ptr.String(jtv) } - case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8044,7 +8004,6 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8080,7 +8039,6 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet if err := awsAwsjson11_deserializeDocumentInputFileLocation(&sv.DestinationFileLocation, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8089,7 +8047,6 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.Name = ptr.String(jtv) } - case "OverwriteExisting": if value != nil { jtv, ok := value.(string) @@ -8098,7 +8055,6 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.OverwriteExisting = types.OverwriteExisting(jtv) } - case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -8107,7 +8063,6 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.SourceFileLocation = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8116,7 +8071,6 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -8156,7 +8110,6 @@ func awsAwsjson11_deserializeDocumentDeleteStepDetails(v **types.DeleteStepDetai } sv.Name = ptr.String(jtv) } - case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -8165,7 +8118,6 @@ func awsAwsjson11_deserializeDocumentDeleteStepDetails(v **types.DeleteStepDetai } sv.SourceFileLocation = ptr.String(jtv) } - default: _, _ = key, value @@ -8205,7 +8157,6 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.ExternalId = ptr.String(jtv) } - case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -8214,12 +8165,10 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.HomeDirectory = ptr.String(jtv) } - case "HomeDirectoryMappings": if err := awsAwsjson11_deserializeDocumentHomeDirectoryMappings(&sv.HomeDirectoryMappings, value); err != nil { return err } - case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -8228,7 +8177,6 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -8237,12 +8185,10 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.Policy = ptr.String(jtv) } - case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -8251,7 +8197,6 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.Role = ptr.String(jtv) } - default: _, _ = key, value @@ -8291,7 +8236,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.AccessRole = ptr.String(jtv) } - case "AgreementId": if value != nil { jtv, ok := value.(string) @@ -8300,7 +8244,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.AgreementId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8309,7 +8252,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Arn = ptr.String(jtv) } - case "BaseDirectory": if value != nil { jtv, ok := value.(string) @@ -8318,7 +8260,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.BaseDirectory = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8327,7 +8268,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Description = ptr.String(jtv) } - case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -8336,7 +8276,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.LocalProfileId = ptr.String(jtv) } - case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -8345,7 +8284,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.PartnerProfileId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -8354,7 +8292,6 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.ServerId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8363,12 +8300,10 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Status = types.AgreementStatusType(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8415,7 +8350,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8424,7 +8358,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Arn = ptr.String(jtv) } - case "Certificate": if value != nil { jtv, ok := value.(string) @@ -8433,7 +8366,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Certificate = ptr.String(jtv) } - case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -8442,7 +8374,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.CertificateChain = ptr.String(jtv) } - case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -8451,7 +8382,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.CertificateId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8460,7 +8390,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Description = ptr.String(jtv) } - case "InactiveDate": if value != nil { switch jtv := value.(type) { @@ -8476,7 +8405,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } - case "NotAfterDate": if value != nil { switch jtv := value.(type) { @@ -8492,7 +8420,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } - case "NotBeforeDate": if value != nil { switch jtv := value.(type) { @@ -8508,7 +8435,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } - case "Serial": if value != nil { jtv, ok := value.(string) @@ -8517,7 +8443,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Serial = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8526,12 +8451,10 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Status = types.CertificateStatusType(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8540,7 +8463,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Type = types.CertificateType(jtv) } - case "Usage": if value != nil { jtv, ok := value.(string) @@ -8549,7 +8471,6 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Usage = types.CertificateUsageType(jtv) } - default: _, _ = key, value @@ -8589,7 +8510,6 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.AccessRole = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -8598,12 +8518,10 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.Arn = ptr.String(jtv) } - case "As2Config": if err := awsAwsjson11_deserializeDocumentAs2ConnectorConfig(&sv.As2Config, value); err != nil { return err } - case "ConnectorId": if value != nil { jtv, ok := value.(string) @@ -8612,7 +8530,6 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.ConnectorId = ptr.String(jtv) } - case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -8621,7 +8538,6 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.LoggingRole = ptr.String(jtv) } - case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -8630,22 +8546,18 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.SecurityPolicyName = ptr.String(jtv) } - case "ServiceManagedEgressIpAddresses": if err := awsAwsjson11_deserializeDocumentServiceManagedEgressIpAddresses(&sv.ServiceManagedEgressIpAddresses, value); err != nil { return err } - case "SftpConfig": if err := awsAwsjson11_deserializeDocumentSftpConnectorConfig(&sv.SftpConfig, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Url": if value != nil { jtv, ok := value.(string) @@ -8654,7 +8566,6 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -8694,7 +8605,6 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.ExecutionId = ptr.String(jtv) } - case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -8703,32 +8613,26 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.ExecutionRole = ptr.String(jtv) } - case "InitialFileLocation": if err := awsAwsjson11_deserializeDocumentFileLocation(&sv.InitialFileLocation, value); err != nil { return err } - case "LoggingConfiguration": if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } - case "Results": if err := awsAwsjson11_deserializeDocumentExecutionResults(&sv.Results, value); err != nil { return err } - case "ServiceMetadata": if err := awsAwsjson11_deserializeDocumentServiceMetadata(&sv.ServiceMetadata, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8737,7 +8641,6 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.Status = types.ExecutionStatus(jtv) } - default: _, _ = key, value @@ -8777,7 +8680,6 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Arn = ptr.String(jtv) } - case "DateImported": if value != nil { switch jtv := value.(type) { @@ -8793,7 +8695,6 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -8802,7 +8703,6 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Description = ptr.String(jtv) } - case "HostKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -8811,7 +8711,6 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.HostKeyFingerprint = ptr.String(jtv) } - case "HostKeyId": if value != nil { jtv, ok := value.(string) @@ -8820,12 +8719,10 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.HostKeyId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8834,7 +8731,6 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8874,7 +8770,6 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.Arn = ptr.String(jtv) } - case "As2Id": if value != nil { jtv, ok := value.(string) @@ -8883,12 +8778,10 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.As2Id = ptr.String(jtv) } - case "CertificateIds": if err := awsAwsjson11_deserializeDocumentCertificateIds(&sv.CertificateIds, value); err != nil { return err } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -8897,7 +8790,6 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.ProfileId = ptr.String(jtv) } - case "ProfileType": if value != nil { jtv, ok := value.(string) @@ -8906,12 +8798,10 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.ProfileType = types.ProfileType(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8951,12 +8841,10 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.Fips = ptr.Bool(jtv) } - case "Protocols": if err := awsAwsjson11_deserializeDocumentSecurityPolicyProtocols(&sv.Protocols, value); err != nil { return err } - case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -8965,32 +8853,26 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.SecurityPolicyName = ptr.String(jtv) } - case "SshCiphers": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshCiphers, value); err != nil { return err } - case "SshHostKeyAlgorithms": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshHostKeyAlgorithms, value); err != nil { return err } - case "SshKexs": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshKexs, value); err != nil { return err } - case "SshMacs": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshMacs, value); err != nil { return err } - case "TlsCiphers": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.TlsCiphers, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8999,7 +8881,6 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.Type = types.SecurityPolicyResourceType(jtv) } - default: _, _ = key, value @@ -9039,12 +8920,10 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Arn = ptr.String(jtv) } - case "As2ServiceManagedEgressIpAddresses": if err := awsAwsjson11_deserializeDocumentServiceManagedEgressIpAddresses(&sv.As2ServiceManagedEgressIpAddresses, value); err != nil { return err } - case "Certificate": if value != nil { jtv, ok := value.(string) @@ -9053,7 +8932,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Certificate = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -9062,12 +8940,10 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Domain = types.Domain(jtv) } - case "EndpointDetails": if err := awsAwsjson11_deserializeDocumentEndpointDetails(&sv.EndpointDetails, value); err != nil { return err } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -9076,7 +8952,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.EndpointType = types.EndpointType(jtv) } - case "HostKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -9085,12 +8960,10 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.HostKeyFingerprint = ptr.String(jtv) } - case "IdentityProviderDetails": if err := awsAwsjson11_deserializeDocumentIdentityProviderDetails(&sv.IdentityProviderDetails, value); err != nil { return err } - case "IdentityProviderType": if value != nil { jtv, ok := value.(string) @@ -9099,7 +8972,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.IdentityProviderType = types.IdentityProviderType(jtv) } - case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -9108,7 +8980,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.LoggingRole = ptr.String(jtv) } - case "PostAuthenticationLoginBanner": if value != nil { jtv, ok := value.(string) @@ -9117,7 +8988,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.PostAuthenticationLoginBanner = ptr.String(jtv) } - case "PreAuthenticationLoginBanner": if value != nil { jtv, ok := value.(string) @@ -9126,22 +8996,18 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.PreAuthenticationLoginBanner = ptr.String(jtv) } - case "ProtocolDetails": if err := awsAwsjson11_deserializeDocumentProtocolDetails(&sv.ProtocolDetails, value); err != nil { return err } - case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } - case "S3StorageOptions": if err := awsAwsjson11_deserializeDocumentS3StorageOptions(&sv.S3StorageOptions, value); err != nil { return err } - case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -9150,7 +9016,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.SecurityPolicyName = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -9159,7 +9024,6 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.ServerId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -9168,17 +9032,14 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.State = types.State(jtv) } - case "StructuredLogDestinations": if err := awsAwsjson11_deserializeDocumentStructuredLogDestinations(&sv.StructuredLogDestinations, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -9191,12 +9052,10 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.UserCount = ptr.Int32(int32(i64)) } - case "WorkflowDetails": if err := awsAwsjson11_deserializeDocumentWorkflowDetails(&sv.WorkflowDetails, value); err != nil { return err } - default: _, _ = key, value @@ -9236,7 +9095,6 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Arn = ptr.String(jtv) } - case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -9245,12 +9103,10 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.HomeDirectory = ptr.String(jtv) } - case "HomeDirectoryMappings": if err := awsAwsjson11_deserializeDocumentHomeDirectoryMappings(&sv.HomeDirectoryMappings, value); err != nil { return err } - case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -9259,7 +9115,6 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } - case "Policy": if value != nil { jtv, ok := value.(string) @@ -9268,12 +9123,10 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Policy = ptr.String(jtv) } - case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } - case "Role": if value != nil { jtv, ok := value.(string) @@ -9282,17 +9135,14 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Role = ptr.String(jtv) } - case "SshPublicKeys": if err := awsAwsjson11_deserializeDocumentSshPublicKeys(&sv.SshPublicKeys, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -9301,7 +9151,6 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -9341,7 +9190,6 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9350,22 +9198,18 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.Description = ptr.String(jtv) } - case "OnExceptionSteps": if err := awsAwsjson11_deserializeDocumentWorkflowSteps(&sv.OnExceptionSteps, value); err != nil { return err } - case "Steps": if err := awsAwsjson11_deserializeDocumentWorkflowSteps(&sv.Steps, value); err != nil { return err } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -9374,7 +9218,6 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -9414,7 +9257,6 @@ func awsAwsjson11_deserializeDocumentEfsFileLocation(v **types.EfsFileLocation, } sv.FileSystemId = ptr.String(jtv) } - case "Path": if value != nil { jtv, ok := value.(string) @@ -9423,7 +9265,6 @@ func awsAwsjson11_deserializeDocumentEfsFileLocation(v **types.EfsFileLocation, } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -9459,17 +9300,14 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, if err := awsAwsjson11_deserializeDocumentAddressAllocationIds(&sv.AddressAllocationIds, value); err != nil { return err } - case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -9478,7 +9316,6 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.VpcEndpointId = ptr.String(jtv) } - case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9487,7 +9324,6 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -9527,7 +9363,6 @@ func awsAwsjson11_deserializeDocumentExecutionError(v **types.ExecutionError, va } sv.Message = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9536,7 +9371,6 @@ func awsAwsjson11_deserializeDocumentExecutionError(v **types.ExecutionError, va } sv.Type = types.ExecutionErrorType(jtv) } - default: _, _ = key, value @@ -9572,12 +9406,10 @@ func awsAwsjson11_deserializeDocumentExecutionResults(v **types.ExecutionResults if err := awsAwsjson11_deserializeDocumentExecutionStepResults(&sv.OnExceptionSteps, value); err != nil { return err } - case "Steps": if err := awsAwsjson11_deserializeDocumentExecutionStepResults(&sv.Steps, value); err != nil { return err } - default: _, _ = key, value @@ -9613,7 +9445,6 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep if err := awsAwsjson11_deserializeDocumentExecutionError(&sv.Error, value); err != nil { return err } - case "Outputs": if value != nil { jtv, ok := value.(string) @@ -9622,7 +9453,6 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep } sv.Outputs = ptr.String(jtv) } - case "StepType": if value != nil { jtv, ok := value.(string) @@ -9631,7 +9461,6 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep } sv.StepType = types.WorkflowStepType(jtv) } - default: _, _ = key, value @@ -9701,12 +9530,10 @@ func awsAwsjson11_deserializeDocumentFileLocation(v **types.FileLocation, value if err := awsAwsjson11_deserializeDocumentEfsFileLocation(&sv.EfsFileLocation, value); err != nil { return err } - case "S3FileLocation": if err := awsAwsjson11_deserializeDocumentS3FileLocation(&sv.S3FileLocation, value); err != nil { return err } - default: _, _ = key, value @@ -9746,7 +9573,6 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Entry = ptr.String(jtv) } - case "Target": if value != nil { jtv, ok := value.(string) @@ -9755,7 +9581,6 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Target = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9764,7 +9589,6 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Type = types.MapType(jtv) } - default: _, _ = key, value @@ -9838,7 +9662,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.DirectoryId = ptr.String(jtv) } - case "Function": if value != nil { jtv, ok := value.(string) @@ -9847,7 +9670,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.Function = ptr.String(jtv) } - case "InvocationRole": if value != nil { jtv, ok := value.(string) @@ -9856,7 +9678,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.InvocationRole = ptr.String(jtv) } - case "SftpAuthenticationMethods": if value != nil { jtv, ok := value.(string) @@ -9865,7 +9686,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.SftpAuthenticationMethods = types.SftpAuthenticationMethods(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -9874,7 +9694,6 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -9910,12 +9729,10 @@ func awsAwsjson11_deserializeDocumentInputFileLocation(v **types.InputFileLocati if err := awsAwsjson11_deserializeDocumentEfsFileLocation(&sv.EfsFileLocation, value); err != nil { return err } - case "S3FileLocation": if err := awsAwsjson11_deserializeDocumentS3InputFileLocation(&sv.S3FileLocation, value); err != nil { return err } - default: _, _ = key, value @@ -9945,15 +9762,9 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9961,15 +9772,11 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9994,15 +9801,9 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10010,15 +9811,11 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10043,15 +9840,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10059,15 +9850,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10102,7 +9889,6 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.ExternalId = ptr.String(jtv) } - case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -10111,7 +9897,6 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.HomeDirectory = ptr.String(jtv) } - case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -10120,7 +9905,6 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -10129,7 +9913,6 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.Role = ptr.String(jtv) } - default: _, _ = key, value @@ -10203,7 +9986,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.AgreementId = ptr.String(jtv) } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10212,7 +9994,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10221,7 +10002,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Description = ptr.String(jtv) } - case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -10230,7 +10010,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.LocalProfileId = ptr.String(jtv) } - case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -10239,7 +10018,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.PartnerProfileId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -10248,7 +10026,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.ServerId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10257,7 +10034,6 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Status = types.AgreementStatusType(jtv) } - default: _, _ = key, value @@ -10338,7 +10114,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } } - case "Arn": if value != nil { jtv, ok := value.(string) @@ -10347,7 +10122,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Arn = ptr.String(jtv) } - case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -10356,7 +10130,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.CertificateId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10365,7 +10138,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Description = ptr.String(jtv) } - case "InactiveDate": if value != nil { switch jtv := value.(type) { @@ -10381,7 +10153,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10390,7 +10161,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Status = types.CertificateStatusType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10399,7 +10169,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Type = types.CertificateType(jtv) } - case "Usage": if value != nil { jtv, ok := value.(string) @@ -10408,7 +10177,6 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Usage = types.CertificateUsageType(jtv) } - default: _, _ = key, value @@ -10482,7 +10250,6 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.Arn = ptr.String(jtv) } - case "ConnectorId": if value != nil { jtv, ok := value.(string) @@ -10491,7 +10258,6 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.ConnectorId = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -10500,7 +10266,6 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -10574,17 +10339,14 @@ func awsAwsjson11_deserializeDocumentListedExecution(v **types.ListedExecution, } sv.ExecutionId = ptr.String(jtv) } - case "InitialFileLocation": if err := awsAwsjson11_deserializeDocumentFileLocation(&sv.InitialFileLocation, value); err != nil { return err } - case "ServiceMetadata": if err := awsAwsjson11_deserializeDocumentServiceMetadata(&sv.ServiceMetadata, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10593,7 +10355,6 @@ func awsAwsjson11_deserializeDocumentListedExecution(v **types.ListedExecution, } sv.Status = types.ExecutionStatus(jtv) } - default: _, _ = key, value @@ -10667,7 +10428,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Arn = ptr.String(jtv) } - case "DateImported": if value != nil { switch jtv := value.(type) { @@ -10683,7 +10443,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10692,7 +10451,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Description = ptr.String(jtv) } - case "Fingerprint": if value != nil { jtv, ok := value.(string) @@ -10701,7 +10459,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Fingerprint = ptr.String(jtv) } - case "HostKeyId": if value != nil { jtv, ok := value.(string) @@ -10710,7 +10467,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.HostKeyId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10719,7 +10475,6 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -10793,7 +10548,6 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.Arn = ptr.String(jtv) } - case "As2Id": if value != nil { jtv, ok := value.(string) @@ -10802,7 +10556,6 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.As2Id = ptr.String(jtv) } - case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -10811,7 +10564,6 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.ProfileId = ptr.String(jtv) } - case "ProfileType": if value != nil { jtv, ok := value.(string) @@ -10820,7 +10572,6 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.ProfileType = types.ProfileType(jtv) } - default: _, _ = key, value @@ -10894,7 +10645,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.Arn = ptr.String(jtv) } - case "Domain": if value != nil { jtv, ok := value.(string) @@ -10903,7 +10653,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.Domain = types.Domain(jtv) } - case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -10912,7 +10661,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.EndpointType = types.EndpointType(jtv) } - case "IdentityProviderType": if value != nil { jtv, ok := value.(string) @@ -10921,7 +10669,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.IdentityProviderType = types.IdentityProviderType(jtv) } - case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -10930,7 +10677,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.LoggingRole = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -10939,7 +10685,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.ServerId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -10948,7 +10693,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.State = types.State(jtv) } - case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -10961,7 +10705,6 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.UserCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11035,7 +10778,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.Arn = ptr.String(jtv) } - case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -11044,7 +10786,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.HomeDirectory = ptr.String(jtv) } - case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -11053,7 +10794,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -11062,7 +10802,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.Role = ptr.String(jtv) } - case "SshPublicKeyCount": if value != nil { jtv, ok := value.(json.Number) @@ -11075,7 +10814,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.SshPublicKeyCount = ptr.Int32(int32(i64)) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -11084,7 +10822,6 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -11158,7 +10895,6 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.Arn = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11167,7 +10903,6 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.Description = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -11176,7 +10911,6 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -11250,7 +10984,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LoggingRole = ptr.String(jtv) } - case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -11259,7 +10992,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogGroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -11371,12 +11103,10 @@ func awsAwsjson11_deserializeDocumentPosixProfile(v **types.PosixProfile, value } sv.Gid = ptr.Int64(i64) } - case "SecondaryGids": if err := awsAwsjson11_deserializeDocumentSecondaryGids(&sv.SecondaryGids, value); err != nil { return err } - case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -11389,7 +11119,6 @@ func awsAwsjson11_deserializeDocumentPosixProfile(v **types.PosixProfile, value } sv.Uid = ptr.Int64(i64) } - default: _, _ = key, value @@ -11425,7 +11154,6 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, if err := awsAwsjson11_deserializeDocumentAs2Transports(&sv.As2Transports, value); err != nil { return err } - case "PassiveIp": if value != nil { jtv, ok := value.(string) @@ -11434,7 +11162,6 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.PassiveIp = ptr.String(jtv) } - case "SetStatOption": if value != nil { jtv, ok := value.(string) @@ -11443,7 +11170,6 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.SetStatOption = types.SetStatOption(jtv) } - case "TlsSessionResumptionMode": if value != nil { jtv, ok := value.(string) @@ -11452,7 +11178,6 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.TlsSessionResumptionMode = types.TlsSessionResumptionMode(jtv) } - default: _, _ = key, value @@ -11518,15 +11243,9 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11534,7 +11253,6 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } - case "Resource": if value != nil { jtv, ok := value.(string) @@ -11543,7 +11261,6 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Resource = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11552,15 +11269,11 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11585,15 +11298,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11601,7 +11308,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "Resource": if value != nil { jtv, ok := value.(string) @@ -11610,7 +11316,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Resource = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11619,15 +11324,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11662,7 +11363,6 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Bucket = ptr.String(jtv) } - case "Etag": if value != nil { jtv, ok := value.(string) @@ -11671,7 +11371,6 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Etag = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11680,7 +11379,6 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Key = ptr.String(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -11689,7 +11387,6 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -11729,7 +11426,6 @@ func awsAwsjson11_deserializeDocumentS3InputFileLocation(v **types.S3InputFileLo } sv.Bucket = ptr.String(jtv) } - case "Key": if value != nil { jtv, ok := value.(string) @@ -11738,7 +11434,6 @@ func awsAwsjson11_deserializeDocumentS3InputFileLocation(v **types.S3InputFileLo } sv.Key = ptr.String(jtv) } - default: _, _ = key, value @@ -11778,7 +11473,6 @@ func awsAwsjson11_deserializeDocumentS3StorageOptions(v **types.S3StorageOptions } sv.DirectoryListingOptimization = types.DirectoryListingOptimization(jtv) } - default: _, _ = key, value @@ -11818,7 +11512,6 @@ func awsAwsjson11_deserializeDocumentS3Tag(v **types.S3Tag, value interface{}) e } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11827,7 +11520,6 @@ func awsAwsjson11_deserializeDocumentS3Tag(v **types.S3Tag, value interface{}) e } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12117,7 +11809,6 @@ func awsAwsjson11_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, if err := awsAwsjson11_deserializeDocumentUserDetails(&sv.UserDetails, value); err != nil { return err } - default: _, _ = key, value @@ -12147,15 +11838,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12163,15 +11848,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12202,7 +11883,6 @@ func awsAwsjson11_deserializeDocumentSftpConnectorConfig(v **types.SftpConnector if err := awsAwsjson11_deserializeDocumentSftpConnectorTrustedHostKeyList(&sv.TrustedHostKeys, value); err != nil { return err } - case "UserSecretId": if value != nil { jtv, ok := value.(string) @@ -12211,7 +11891,6 @@ func awsAwsjson11_deserializeDocumentSftpConnectorConfig(v **types.SftpConnector } sv.UserSecretId = ptr.String(jtv) } - default: _, _ = key, value @@ -12294,7 +11973,6 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } } - case "SshPublicKeyBody": if value != nil { jtv, ok := value.(string) @@ -12303,7 +11981,6 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } sv.SshPublicKeyBody = ptr.String(jtv) } - case "SshPublicKeyId": if value != nil { jtv, ok := value.(string) @@ -12312,7 +11989,6 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } sv.SshPublicKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -12458,7 +12134,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12467,7 +12142,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12541,7 +12215,6 @@ func awsAwsjson11_deserializeDocumentTagStepDetails(v **types.TagStepDetails, va } sv.Name = ptr.String(jtv) } - case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -12550,12 +12223,10 @@ func awsAwsjson11_deserializeDocumentTagStepDetails(v **types.TagStepDetails, va } sv.SourceFileLocation = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentS3Tags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -12585,13 +12256,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "RetryAfterSeconds": if value != nil { @@ -12601,15 +12266,11 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12644,7 +12305,6 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.ServerId = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -12653,7 +12313,6 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.SessionId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -12662,7 +12321,6 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -12702,7 +12360,6 @@ func awsAwsjson11_deserializeDocumentWorkflowDetail(v **types.WorkflowDetail, va } sv.ExecutionRole = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12711,7 +12368,6 @@ func awsAwsjson11_deserializeDocumentWorkflowDetail(v **types.WorkflowDetail, va } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -12747,12 +12403,10 @@ func awsAwsjson11_deserializeDocumentWorkflowDetails(v **types.WorkflowDetails, if err := awsAwsjson11_deserializeDocumentOnPartialUploadWorkflowDetails(&sv.OnPartialUpload, value); err != nil { return err } - case "OnUpload": if err := awsAwsjson11_deserializeDocumentOnUploadWorkflowDetails(&sv.OnUpload, value); err != nil { return err } - default: _, _ = key, value @@ -12788,27 +12442,22 @@ func awsAwsjson11_deserializeDocumentWorkflowStep(v **types.WorkflowStep, value if err := awsAwsjson11_deserializeDocumentCopyStepDetails(&sv.CopyStepDetails, value); err != nil { return err } - case "CustomStepDetails": if err := awsAwsjson11_deserializeDocumentCustomStepDetails(&sv.CustomStepDetails, value); err != nil { return err } - case "DecryptStepDetails": if err := awsAwsjson11_deserializeDocumentDecryptStepDetails(&sv.DecryptStepDetails, value); err != nil { return err } - case "DeleteStepDetails": if err := awsAwsjson11_deserializeDocumentDeleteStepDetails(&sv.DeleteStepDetails, value); err != nil { return err } - case "TagStepDetails": if err := awsAwsjson11_deserializeDocumentTagStepDetails(&sv.TagStepDetails, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12817,7 +12466,6 @@ func awsAwsjson11_deserializeDocumentWorkflowStep(v **types.WorkflowStep, value } sv.Type = types.WorkflowStepType(jtv) } - default: _, _ = key, value @@ -12891,7 +12539,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessOutput(v **CreateAccessOutput } sv.ExternalId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -12900,7 +12547,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessOutput(v **CreateAccessOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -12940,7 +12586,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAgreementOutput(v **CreateAgreement } sv.AgreementId = ptr.String(jtv) } - default: _, _ = key, value @@ -12980,7 +12625,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -13020,7 +12664,6 @@ func awsAwsjson11_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -13060,7 +12703,6 @@ func awsAwsjson11_deserializeOpDocumentCreateServerOutput(v **CreateServerOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -13100,7 +12742,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.ServerId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -13109,7 +12750,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -13149,7 +12789,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -13185,7 +12824,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessOutput(v **DescribeAccessOu if err := awsAwsjson11_deserializeDocumentDescribedAccess(&sv.Access, value); err != nil { return err } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13194,7 +12832,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessOutput(v **DescribeAccessOu } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -13230,7 +12867,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree if err := awsAwsjson11_deserializeDocumentDescribedAgreement(&sv.Agreement, value); err != nil { return err } - default: _, _ = key, value @@ -13266,7 +12902,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentDescribedCertificate(&sv.Certificate, value); err != nil { return err } - default: _, _ = key, value @@ -13302,7 +12937,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsAwsjson11_deserializeDocumentDescribedConnector(&sv.Connector, value); err != nil { return err } - default: _, _ = key, value @@ -13338,7 +12972,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu if err := awsAwsjson11_deserializeDocumentDescribedExecution(&sv.Execution, value); err != nil { return err } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -13347,7 +12980,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -13383,7 +13015,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeHostKeyOutput(v **DescribeHostKey if err := awsAwsjson11_deserializeDocumentDescribedHostKey(&sv.HostKey, value); err != nil { return err } - default: _, _ = key, value @@ -13419,7 +13050,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeProfileOutput(v **DescribeProfile if err := awsAwsjson11_deserializeDocumentDescribedProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -13455,7 +13085,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityPolicyOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(&sv.SecurityPolicy, value); err != nil { return err } - default: _, _ = key, value @@ -13491,7 +13120,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeServerOutput(v **DescribeServerOu if err := awsAwsjson11_deserializeDocumentDescribedServer(&sv.Server, value); err != nil { return err } - default: _, _ = key, value @@ -13531,12 +13159,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ServerId = ptr.String(jtv) } - case "User": if err := awsAwsjson11_deserializeDocumentDescribedUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -13572,7 +13198,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkflowOutput(v **DescribeWorkfl if err := awsAwsjson11_deserializeDocumentDescribedWorkflow(&sv.Workflow, value); err != nil { return err } - default: _, _ = key, value @@ -13612,7 +13237,6 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -13652,7 +13276,6 @@ func awsAwsjson11_deserializeOpDocumentImportHostKeyOutput(v **ImportHostKeyOutp } sv.HostKeyId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13661,7 +13284,6 @@ func awsAwsjson11_deserializeOpDocumentImportHostKeyOutput(v **ImportHostKeyOutp } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -13701,7 +13323,6 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.ServerId = ptr.String(jtv) } - case "SshPublicKeyId": if value != nil { jtv, ok := value.(string) @@ -13710,7 +13331,6 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.SshPublicKeyId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -13719,7 +13339,6 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -13755,7 +13374,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput if err := awsAwsjson11_deserializeDocumentListedAccesses(&sv.Accesses, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13764,7 +13382,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput } sv.NextToken = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13773,7 +13390,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -13809,7 +13425,6 @@ func awsAwsjson11_deserializeOpDocumentListAgreementsOutput(v **ListAgreementsOu if err := awsAwsjson11_deserializeDocumentListedAgreements(&sv.Agreements, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13818,7 +13433,6 @@ func awsAwsjson11_deserializeOpDocumentListAgreementsOutput(v **ListAgreementsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13854,7 +13468,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentListedCertificates(&sv.Certificates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13863,7 +13476,6 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13899,7 +13511,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsAwsjson11_deserializeDocumentListedConnectors(&sv.Connectors, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13908,7 +13519,6 @@ func awsAwsjson11_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -13944,7 +13554,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson11_deserializeDocumentListedExecutions(&sv.Executions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13953,7 +13562,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } - case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -13962,7 +13570,6 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.WorkflowId = ptr.String(jtv) } - default: _, _ = key, value @@ -13998,7 +13605,6 @@ func awsAwsjson11_deserializeOpDocumentListFileTransferResultsOutput(v **ListFil if err := awsAwsjson11_deserializeDocumentConnectorFileTransferResults(&sv.FileTransferResults, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14007,7 +13613,6 @@ func awsAwsjson11_deserializeOpDocumentListFileTransferResultsOutput(v **ListFil } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14043,7 +13648,6 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput if err := awsAwsjson11_deserializeDocumentListedHostKeys(&sv.HostKeys, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14052,7 +13656,6 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput } sv.NextToken = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14061,7 +13664,6 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -14101,12 +13703,10 @@ func awsAwsjson11_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } - case "Profiles": if err := awsAwsjson11_deserializeDocumentListedProfiles(&sv.Profiles, value); err != nil { return err } - default: _, _ = key, value @@ -14146,12 +13746,10 @@ func awsAwsjson11_deserializeOpDocumentListSecurityPoliciesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } - case "SecurityPolicyNames": if err := awsAwsjson11_deserializeDocumentSecurityPolicyNames(&sv.SecurityPolicyNames, value); err != nil { return err } - default: _, _ = key, value @@ -14191,12 +13789,10 @@ func awsAwsjson11_deserializeOpDocumentListServersOutput(v **ListServersOutput, } sv.NextToken = ptr.String(jtv) } - case "Servers": if err := awsAwsjson11_deserializeDocumentListedServers(&sv.Servers, value); err != nil { return err } - default: _, _ = key, value @@ -14236,7 +13832,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.Arn = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14245,12 +13840,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -14290,7 +13883,6 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14299,12 +13891,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.ServerId = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentListedUsers(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -14344,12 +13934,10 @@ func awsAwsjson11_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } - case "Workflows": if err := awsAwsjson11_deserializeDocumentListedWorkflows(&sv.Workflows, value); err != nil { return err } - default: _, _ = key, value @@ -14420,7 +14008,6 @@ func awsAwsjson11_deserializeOpDocumentStartDirectoryListingOutput(v **StartDire } sv.ListingId = ptr.String(jtv) } - case "OutputFileName": if value != nil { jtv, ok := value.(string) @@ -14429,7 +14016,6 @@ func awsAwsjson11_deserializeOpDocumentStartDirectoryListingOutput(v **StartDire } sv.OutputFileName = ptr.String(jtv) } - default: _, _ = key, value @@ -14469,7 +14055,6 @@ func awsAwsjson11_deserializeOpDocumentStartFileTransferOutput(v **StartFileTran } sv.TransferId = ptr.String(jtv) } - default: _, _ = key, value @@ -14509,7 +14094,6 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.ConnectorId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14518,7 +14102,6 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.Status = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -14527,7 +14110,6 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -14567,7 +14149,6 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Message = ptr.String(jtv) } - case "Response": if value != nil { jtv, ok := value.(string) @@ -14576,7 +14157,6 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Response = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -14589,7 +14169,6 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.StatusCode = int32(i64) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -14598,7 +14177,6 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -14638,7 +14216,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAccessOutput(v **UpdateAccessOutput } sv.ExternalId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14647,7 +14224,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAccessOutput(v **UpdateAccessOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -14687,7 +14263,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateAgreementOutput(v **UpdateAgreement } sv.AgreementId = ptr.String(jtv) } - default: _, _ = key, value @@ -14727,7 +14302,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateCertificateOutput(v **UpdateCertifi } sv.CertificateId = ptr.String(jtv) } - default: _, _ = key, value @@ -14767,7 +14341,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorId = ptr.String(jtv) } - default: _, _ = key, value @@ -14807,7 +14380,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateHostKeyOutput(v **UpdateHostKeyOutp } sv.HostKeyId = ptr.String(jtv) } - case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14816,7 +14388,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateHostKeyOutput(v **UpdateHostKeyOutp } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -14856,7 +14427,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } - default: _, _ = key, value @@ -14896,7 +14466,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerOutput(v **UpdateServerOutput } sv.ServerId = ptr.String(jtv) } - default: _, _ = key, value @@ -14936,7 +14505,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.ServerId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -14945,7 +14513,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/translate/deserializers.go b/service/translate/deserializers.go index f5385f48c7d..af06fbcec46 100644 --- a/service/translate/deserializers.go +++ b/service/translate/deserializers.go @@ -2889,12 +2889,10 @@ func awsAwsjson11_deserializeDocumentAppliedTerminology(v **types.AppliedTermino } sv.Name = ptr.String(jtv) } - case "Terms": if err := awsAwsjson11_deserializeDocumentTermList(&sv.Terms, value); err != nil { return err } - default: _, _ = key, value @@ -2958,15 +2956,9 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2974,15 +2966,11 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3007,15 +2995,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3023,15 +3005,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3056,13 +3034,7 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "DetectedLanguageCode": if value != nil { @@ -3072,8 +3044,7 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** } sv.DetectedLanguageCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3081,15 +3052,11 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3124,7 +3091,6 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -3133,7 +3099,6 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Type = types.EncryptionKeyType(jtv) } - default: _, _ = key, value @@ -3173,7 +3138,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.ContentType = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3182,7 +3146,6 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3212,15 +3175,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3228,15 +3185,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3261,15 +3214,9 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3277,15 +3224,11 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3310,15 +3253,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3326,15 +3263,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3359,15 +3292,9 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3375,15 +3302,11 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3422,7 +3345,6 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.DocumentsWithErrorsCount = ptr.Int32(int32(i64)) } - case "InputDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3435,7 +3357,6 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.InputDocumentsCount = ptr.Int32(int32(i64)) } - case "TranslatedDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3448,7 +3369,6 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.TranslatedDocumentsCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3488,7 +3408,6 @@ func awsAwsjson11_deserializeDocumentLanguage(v **types.Language, value interfac } sv.LanguageCode = ptr.String(jtv) } - case "LanguageName": if value != nil { jtv, ok := value.(string) @@ -3497,7 +3416,6 @@ func awsAwsjson11_deserializeDocumentLanguage(v **types.Language, value interfac } sv.LanguageName = ptr.String(jtv) } - default: _, _ = key, value @@ -3597,15 +3515,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3613,15 +3525,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3652,7 +3560,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3661,7 +3568,6 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3701,7 +3607,6 @@ func awsAwsjson11_deserializeDocumentParallelDataConfig(v **types.ParallelDataCo } sv.Format = types.ParallelDataFormat(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3710,7 +3615,6 @@ func awsAwsjson11_deserializeDocumentParallelDataConfig(v **types.ParallelDataCo } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -3750,7 +3654,6 @@ func awsAwsjson11_deserializeDocumentParallelDataDataLocation(v **types.Parallel } sv.Location = ptr.String(jtv) } - case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -3759,7 +3662,6 @@ func awsAwsjson11_deserializeDocumentParallelDataDataLocation(v **types.Parallel } sv.RepositoryType = ptr.String(jtv) } - default: _, _ = key, value @@ -3799,7 +3701,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3815,7 +3716,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -3824,12 +3724,10 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Description = ptr.String(jtv) } - case "EncryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "FailedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3842,7 +3740,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.FailedRecordCount = ptr.Int64(i64) } - case "ImportedDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -3855,7 +3752,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.ImportedDataSize = ptr.Int64(i64) } - case "ImportedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3868,7 +3764,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.ImportedRecordCount = ptr.Int64(i64) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3884,7 +3779,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } - case "LatestUpdateAttemptAt": if value != nil { switch jtv := value.(type) { @@ -3900,7 +3794,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } - case "LatestUpdateAttemptStatus": if value != nil { jtv, ok := value.(string) @@ -3909,7 +3802,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.LatestUpdateAttemptStatus = types.ParallelDataStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -3918,7 +3810,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -3927,12 +3818,10 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Name = ptr.String(jtv) } - case "ParallelDataConfig": if err := awsAwsjson11_deserializeDocumentParallelDataConfig(&sv.ParallelDataConfig, value); err != nil { return err } - case "SkippedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3945,7 +3834,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.SkippedRecordCount = ptr.Int64(i64) } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -3954,7 +3842,6 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.SourceLanguageCode = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -3963,12 +3850,10 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Status = types.ParallelDataStatus(jtv) } - case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } - default: _, _ = key, value @@ -4068,15 +3953,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4084,15 +3963,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4117,15 +3992,9 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4133,15 +4002,11 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4176,7 +4041,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -4185,7 +4049,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -4295,7 +4158,6 @@ func awsAwsjson11_deserializeDocumentTerm(v **types.Term, value interface{}) err } sv.SourceText = ptr.String(jtv) } - case "TargetText": if value != nil { jtv, ok := value.(string) @@ -4304,7 +4166,6 @@ func awsAwsjson11_deserializeDocumentTerm(v **types.Term, value interface{}) err } sv.TargetText = ptr.String(jtv) } - default: _, _ = key, value @@ -4344,7 +4205,6 @@ func awsAwsjson11_deserializeDocumentTerminologyDataLocation(v **types.Terminolo } sv.Location = ptr.String(jtv) } - case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -4353,7 +4213,6 @@ func awsAwsjson11_deserializeDocumentTerminologyDataLocation(v **types.Terminolo } sv.RepositoryType = ptr.String(jtv) } - default: _, _ = key, value @@ -4393,7 +4252,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4409,7 +4267,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4418,7 +4275,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Description = ptr.String(jtv) } - case "Directionality": if value != nil { jtv, ok := value.(string) @@ -4427,12 +4283,10 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Directionality = types.Directionality(jtv) } - case "EncryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } - case "Format": if value != nil { jtv, ok := value.(string) @@ -4441,7 +4295,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Format = types.TerminologyDataFormat(jtv) } - case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4457,7 +4310,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4466,7 +4318,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4475,7 +4326,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Name = ptr.String(jtv) } - case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4488,7 +4338,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SizeBytes = ptr.Int32(int32(i64)) } - case "SkippedTermCount": if value != nil { jtv, ok := value.(json.Number) @@ -4501,7 +4350,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SkippedTermCount = ptr.Int32(int32(i64)) } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4510,12 +4358,10 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SourceLanguageCode = ptr.String(jtv) } - case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } - case "TermCount": if value != nil { jtv, ok := value.(json.Number) @@ -4528,7 +4374,6 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.TermCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4626,15 +4471,9 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4642,15 +4481,11 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4685,7 +4520,6 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.DataAccessRoleArn = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -4701,17 +4535,14 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } } - case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobDetails": if err := awsAwsjson11_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -4720,7 +4551,6 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -4729,7 +4559,6 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobName = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -4738,7 +4567,6 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobStatus = types.JobStatus(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -4747,22 +4575,18 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.Message = ptr.String(jtv) } - case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "ParallelDataNames": if err := awsAwsjson11_deserializeDocumentResourceNameList(&sv.ParallelDataNames, value); err != nil { return err } - case "Settings": if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.Settings, value); err != nil { return err } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4771,7 +4595,6 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.SourceLanguageCode = ptr.String(jtv) } - case "SubmittedTime": if value != nil { switch jtv := value.(type) { @@ -4787,17 +4610,14 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } } - case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentTargetLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } - case "TerminologyNames": if err := awsAwsjson11_deserializeDocumentResourceNameList(&sv.TerminologyNames, value); err != nil { return err } - default: _, _ = key, value @@ -4861,15 +4681,9 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4877,15 +4691,11 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4910,15 +4720,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4926,7 +4730,6 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4935,15 +4738,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4982,7 +4781,6 @@ func awsAwsjson11_deserializeDocumentTranslatedDocument(v **types.TranslatedDocu } sv.Content = dv } - default: _, _ = key, value @@ -5022,7 +4820,6 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Brevity = types.Brevity(jtv) } - case "Formality": if value != nil { jtv, ok := value.(string) @@ -5031,7 +4828,6 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Formality = types.Formality(jtv) } - case "Profanity": if value != nil { jtv, ok := value.(string) @@ -5040,7 +4836,6 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Profanity = types.Profanity(jtv) } - default: _, _ = key, value @@ -5070,13 +4865,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "DisplayLanguageCode": if value != nil { @@ -5086,8 +4875,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * } sv.DisplayLanguageCode = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5095,15 +4883,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5128,15 +4912,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5144,7 +4922,6 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.Message = ptr.String(jtv) } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5153,7 +4930,6 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.SourceLanguageCode = ptr.String(jtv) } - case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5162,15 +4938,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.TargetLanguageCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5205,7 +4977,6 @@ func awsAwsjson11_deserializeOpDocumentCreateParallelDataOutput(v **CreateParall } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5214,7 +4985,6 @@ func awsAwsjson11_deserializeOpDocumentCreateParallelDataOutput(v **CreateParall } sv.Status = types.ParallelDataStatus(jtv) } - default: _, _ = key, value @@ -5254,7 +5024,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteParallelDataOutput(v **DeleteParall } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5263,7 +5032,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteParallelDataOutput(v **DeleteParall } sv.Status = types.ParallelDataStatus(jtv) } - default: _, _ = key, value @@ -5299,7 +5067,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTextTranslationJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentTextTranslationJobProperties(&sv.TextTranslationJobProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5335,22 +5102,18 @@ func awsAwsjson11_deserializeOpDocumentGetParallelDataOutput(v **GetParallelData if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } - case "DataLocation": if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.DataLocation, value); err != nil { return err } - case "LatestUpdateAttemptAuxiliaryDataLocation": if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.LatestUpdateAttemptAuxiliaryDataLocation, value); err != nil { return err } - case "ParallelDataProperties": if err := awsAwsjson11_deserializeDocumentParallelDataProperties(&sv.ParallelDataProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5386,17 +5149,14 @@ func awsAwsjson11_deserializeOpDocumentGetTerminologyOutput(v **GetTerminologyOu if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } - case "TerminologyDataLocation": if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.TerminologyDataLocation, value); err != nil { return err } - case "TerminologyProperties": if err := awsAwsjson11_deserializeDocumentTerminologyProperties(&sv.TerminologyProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5432,12 +5192,10 @@ func awsAwsjson11_deserializeOpDocumentImportTerminologyOutput(v **ImportTermino if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } - case "TerminologyProperties": if err := awsAwsjson11_deserializeDocumentTerminologyProperties(&sv.TerminologyProperties, value); err != nil { return err } - default: _, _ = key, value @@ -5477,12 +5235,10 @@ func awsAwsjson11_deserializeOpDocumentListLanguagesOutput(v **ListLanguagesOutp } sv.DisplayLanguageCode = types.DisplayLanguageCode(jtv) } - case "Languages": if err := awsAwsjson11_deserializeDocumentLanguagesList(&sv.Languages, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5491,7 +5247,6 @@ func awsAwsjson11_deserializeOpDocumentListLanguagesOutput(v **ListLanguagesOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -5531,12 +5286,10 @@ func awsAwsjson11_deserializeOpDocumentListParallelDataOutput(v **ListParallelDa } sv.NextToken = ptr.String(jtv) } - case "ParallelDataPropertiesList": if err := awsAwsjson11_deserializeDocumentParallelDataPropertiesList(&sv.ParallelDataPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -5572,7 +5325,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -5612,12 +5364,10 @@ func awsAwsjson11_deserializeOpDocumentListTerminologiesOutput(v **ListTerminolo } sv.NextToken = ptr.String(jtv) } - case "TerminologyPropertiesList": if err := awsAwsjson11_deserializeDocumentTerminologyPropertiesList(&sv.TerminologyPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -5657,12 +5407,10 @@ func awsAwsjson11_deserializeOpDocumentListTextTranslationJobsOutput(v **ListTex } sv.NextToken = ptr.String(jtv) } - case "TextTranslationJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTextTranslationJobPropertiesList(&sv.TextTranslationJobPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -5702,7 +5450,6 @@ func awsAwsjson11_deserializeOpDocumentStartTextTranslationJobOutput(v **StartTe } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5711,7 +5458,6 @@ func awsAwsjson11_deserializeOpDocumentStartTextTranslationJobOutput(v **StartTe } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -5751,7 +5497,6 @@ func awsAwsjson11_deserializeOpDocumentStopTextTranslationJobOutput(v **StopText } sv.JobId = ptr.String(jtv) } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5760,7 +5505,6 @@ func awsAwsjson11_deserializeOpDocumentStopTextTranslationJobOutput(v **StopText } sv.JobStatus = types.JobStatus(jtv) } - default: _, _ = key, value @@ -5827,12 +5571,10 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.AppliedSettings, value); err != nil { return err } - case "AppliedTerminologies": if err := awsAwsjson11_deserializeDocumentAppliedTerminologyList(&sv.AppliedTerminologies, value); err != nil { return err } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5841,7 +5583,6 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu } sv.SourceLanguageCode = ptr.String(jtv) } - case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5850,12 +5591,10 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu } sv.TargetLanguageCode = ptr.String(jtv) } - case "TranslatedDocument": if err := awsAwsjson11_deserializeDocumentTranslatedDocument(&sv.TranslatedDocument, value); err != nil { return err } - default: _, _ = key, value @@ -5891,12 +5630,10 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.AppliedSettings, value); err != nil { return err } - case "AppliedTerminologies": if err := awsAwsjson11_deserializeDocumentAppliedTerminologyList(&sv.AppliedTerminologies, value); err != nil { return err } - case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5905,7 +5642,6 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.SourceLanguageCode = ptr.String(jtv) } - case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5914,7 +5650,6 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.TargetLanguageCode = ptr.String(jtv) } - case "TranslatedText": if value != nil { jtv, ok := value.(string) @@ -5923,7 +5658,6 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.TranslatedText = ptr.String(jtv) } - default: _, _ = key, value @@ -6001,7 +5735,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } } - case "LatestUpdateAttemptStatus": if value != nil { jtv, ok := value.(string) @@ -6010,7 +5743,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.LatestUpdateAttemptStatus = types.ParallelDataStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6019,7 +5751,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.Name = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6028,7 +5759,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.Status = types.ParallelDataStatus(jtv) } - default: _, _ = key, value diff --git a/service/trustedadvisor/deserializers.go b/service/trustedadvisor/deserializers.go index 0233f857fb6..edfe959e29e 100644 --- a/service/trustedadvisor/deserializers.go +++ b/service/trustedadvisor/deserializers.go @@ -185,7 +185,6 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRecommendationResourceExclusio if err := awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionErrorList(&sv.BatchUpdateRecommendationResourceExclusionErrors, value); err != nil { return err } - default: _, _ = key, value @@ -349,7 +348,6 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationRecommendationOutput(v **G if err := awsRestjson1_deserializeDocumentOrganizationRecommendation(&sv.OrganizationRecommendation, value); err != nil { return err } - default: _, _ = key, value @@ -513,7 +511,6 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } - default: _, _ = key, value @@ -674,7 +671,6 @@ func awsRestjson1_deserializeOpDocumentListChecksOutput(v **ListChecksOutput, va if err := awsRestjson1_deserializeDocumentCheckSummaryList(&sv.CheckSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -683,7 +679,6 @@ func awsRestjson1_deserializeOpDocumentListChecksOutput(v **ListChecksOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -847,7 +842,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationAccountsOut if err := awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummaryList(&sv.AccountRecommendationLifecycleSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -856,7 +850,6 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationAccountsOut } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1024,12 +1017,10 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationResourcesOu } sv.NextToken = ptr.String(jtv) } - case "organizationRecommendationResourceSummaries": if err := awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummaryList(&sv.OrganizationRecommendationResourceSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1194,12 +1185,10 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationsOutput(v * } sv.NextToken = ptr.String(jtv) } - case "organizationRecommendationSummaries": if err := awsRestjson1_deserializeDocumentOrganizationRecommendationSummaryList(&sv.OrganizationRecommendationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1367,12 +1356,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationResourcesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } - case "recommendationResourceSummaries": if err := awsRestjson1_deserializeDocumentRecommendationResourceSummaryList(&sv.RecommendationResourceSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -1537,12 +1524,10 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } - case "recommendationSummaries": if err := awsRestjson1_deserializeDocumentRecommendationSummaryList(&sv.RecommendationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2006,15 +1991,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2022,15 +2001,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2065,7 +2040,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.AccountId = ptr.String(jtv) } - case "accountRecommendationArn": if value != nil { jtv, ok := value.(string) @@ -2074,7 +2048,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.AccountRecommendationArn = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2087,7 +2060,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.LastUpdatedAt = ptr.Time(t) } - case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2096,7 +2068,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } - case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -2105,7 +2076,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdatedOnBehalfOf = ptr.String(jtv) } - case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -2114,7 +2084,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } - case "updateReason": if value != nil { jtv, ok := value.(string) @@ -2123,7 +2092,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdateReason = ptr.String(jtv) } - case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -2132,7 +2100,6 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } - default: _, _ = key, value @@ -2206,12 +2173,10 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Arn = ptr.String(jtv) } - case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } - case "description": if value != nil { jtv, ok := value.(string) @@ -2220,7 +2185,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2229,12 +2193,10 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Id = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -2243,12 +2205,10 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Name = ptr.String(jtv) } - case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -2257,7 +2217,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Source = types.RecommendationSource(jtv) } - default: _, _ = key, value @@ -2321,15 +2280,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2337,15 +2290,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2370,15 +2319,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2386,15 +2329,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2429,12 +2368,10 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Arn = ptr.String(jtv) } - case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } - case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2443,7 +2380,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CheckArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2456,7 +2392,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2465,7 +2400,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -2474,7 +2408,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2483,7 +2416,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2496,7 +2428,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.LastUpdatedAt = ptr.Time(t) } - case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2505,7 +2436,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2514,17 +2444,14 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Name = ptr.String(jtv) } - case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } - case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } - case "resolvedAt": if value != nil { jtv, ok := value.(string) @@ -2537,12 +2464,10 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.ResolvedAt = ptr.Time(t) } - case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -2551,7 +2476,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Source = types.RecommendationSource(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2560,7 +2484,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Status = types.RecommendationStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2569,7 +2492,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Type = types.RecommendationType(jtv) } - case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -2578,7 +2500,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdatedOnBehalfOf = ptr.String(jtv) } - case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -2587,7 +2508,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } - case "updateReason": if value != nil { jtv, ok := value.(string) @@ -2596,7 +2516,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdateReason = ptr.String(jtv) } - case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -2605,7 +2524,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } - default: _, _ = key, value @@ -2645,7 +2563,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.AccountId = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -2654,7 +2571,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Arn = ptr.String(jtv) } - case "awsResourceId": if value != nil { jtv, ok := value.(string) @@ -2663,7 +2579,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.AwsResourceId = ptr.String(jtv) } - case "exclusionStatus": if value != nil { jtv, ok := value.(string) @@ -2672,7 +2587,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.ExclusionStatus = types.ExclusionStatus(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2681,7 +2595,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2694,12 +2607,10 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.LastUpdatedAt = ptr.Time(t) } - case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } - case "recommendationArn": if value != nil { jtv, ok := value.(string) @@ -2708,7 +2619,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.RecommendationArn = ptr.String(jtv) } - case "regionCode": if value != nil { jtv, ok := value.(string) @@ -2717,7 +2627,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.RegionCode = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2726,7 +2635,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Status = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -2800,12 +2708,10 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Arn = ptr.String(jtv) } - case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } - case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2814,7 +2720,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.CheckArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2827,7 +2732,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2836,7 +2740,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2849,7 +2752,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.LastUpdatedAt = ptr.Time(t) } - case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2858,7 +2760,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2867,22 +2768,18 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Name = ptr.String(jtv) } - case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } - case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } - case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -2891,7 +2788,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Source = types.RecommendationSource(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2900,7 +2796,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Status = types.RecommendationStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -2909,7 +2804,6 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Type = types.RecommendationType(jtv) } - default: _, _ = key, value @@ -2983,12 +2877,10 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Arn = ptr.String(jtv) } - case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } - case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2997,7 +2889,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CheckArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3010,7 +2901,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3019,7 +2909,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedBy = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -3028,7 +2917,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3037,7 +2925,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3050,7 +2937,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.LastUpdatedAt = ptr.Time(t) } - case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -3059,7 +2945,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3068,17 +2953,14 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Name = ptr.String(jtv) } - case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } - case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } - case "resolvedAt": if value != nil { jtv, ok := value.(string) @@ -3091,12 +2973,10 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResolvedAt = ptr.Time(t) } - case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -3105,7 +2985,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Source = types.RecommendationSource(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3114,7 +2993,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = types.RecommendationStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3123,7 +3001,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Type = types.RecommendationType(jtv) } - case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -3132,7 +3009,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdatedOnBehalfOf = ptr.String(jtv) } - case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -3141,7 +3017,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } - case "updateReason": if value != nil { jtv, ok := value.(string) @@ -3150,7 +3025,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdateReason = ptr.String(jtv) } - case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -3159,7 +3033,6 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } - default: _, _ = key, value @@ -3260,7 +3133,6 @@ func awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(v ** } } - case "estimatedPercentMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -3294,7 +3166,6 @@ func awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(v ** } } - default: _, _ = key, value @@ -3366,7 +3237,6 @@ func awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(v ** if err := awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(&sv.CostOptimizing, value); err != nil { return err } - default: _, _ = key, value @@ -3410,7 +3280,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.ErrorCount = ptr.Int64(i64) } - case "okCount": if value != nil { jtv, ok := value.(json.Number) @@ -3423,7 +3292,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.OkCount = ptr.Int64(i64) } - case "warningCount": if value != nil { jtv, ok := value.(json.Number) @@ -3436,7 +3304,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.WarningCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -3476,7 +3343,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Arn = ptr.String(jtv) } - case "awsResourceId": if value != nil { jtv, ok := value.(string) @@ -3485,7 +3351,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.AwsResourceId = ptr.String(jtv) } - case "exclusionStatus": if value != nil { jtv, ok := value.(string) @@ -3494,7 +3359,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.ExclusionStatus = types.ExclusionStatus(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3503,7 +3367,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3516,12 +3379,10 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.LastUpdatedAt = ptr.Time(t) } - case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } - case "recommendationArn": if value != nil { jtv, ok := value.(string) @@ -3530,7 +3391,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.RecommendationArn = ptr.String(jtv) } - case "regionCode": if value != nil { jtv, ok := value.(string) @@ -3539,7 +3399,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.RegionCode = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3548,7 +3407,6 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Status = types.ResourceStatus(jtv) } - default: _, _ = key, value @@ -3622,12 +3480,10 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Arn = ptr.String(jtv) } - case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } - case "checkArn": if value != nil { jtv, ok := value.(string) @@ -3636,7 +3492,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.CheckArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3649,7 +3504,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3658,7 +3512,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3671,7 +3524,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.LastUpdatedAt = ptr.Time(t) } - case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -3680,7 +3532,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3689,22 +3540,18 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Name = ptr.String(jtv) } - case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } - case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } - case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -3713,7 +3560,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Source = types.RecommendationSource(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3722,7 +3568,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Status = types.RecommendationStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3731,7 +3576,6 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Type = types.RecommendationType(jtv) } - default: _, _ = key, value @@ -3795,15 +3639,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3811,15 +3649,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3880,15 +3714,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3896,15 +3724,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3939,7 +3763,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.Arn = ptr.String(jtv) } - case "errorCode": if value != nil { jtv, ok := value.(string) @@ -3948,7 +3771,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.ErrorCode = ptr.String(jtv) } - case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3957,7 +3779,6 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -4021,15 +3842,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4037,15 +3852,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/verifiedpermissions/deserializers.go b/service/verifiedpermissions/deserializers.go index 4a2ff8cc065..8496f6c2a13 100644 --- a/service/verifiedpermissions/deserializers.go +++ b/service/verifiedpermissions/deserializers.go @@ -3537,15 +3537,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3553,15 +3547,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3596,7 +3586,6 @@ func awsAwsjson10_deserializeDocumentActionIdentifier(v **types.ActionIdentifier } sv.ActionId = ptr.String(jtv) } - case "actionType": if value != nil { jtv, ok := value.(string) @@ -3605,7 +3594,6 @@ func awsAwsjson10_deserializeDocumentActionIdentifier(v **types.ActionIdentifier } sv.ActionType = ptr.String(jtv) } - default: _, _ = key, value @@ -3807,22 +3795,18 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedInputItem(v **types.BatchI if err := awsAwsjson10_deserializeDocumentActionIdentifier(&sv.Action, value); err != nil { return err } - case "context": if err := awsAwsjson10_deserializeDocumentContextDefinition(&sv.Context, value); err != nil { return err } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -3862,22 +3846,18 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedOutputItem(v **types.Batch } sv.Decision = types.Decision(jtv) } - case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } - case "request": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedInputItem(&sv.Request, value); err != nil { return err } - default: _, _ = key, value @@ -3947,17 +3927,14 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenInputItem(v **typ if err := awsAwsjson10_deserializeDocumentActionIdentifier(&sv.Action, value); err != nil { return err } - case "context": if err := awsAwsjson10_deserializeDocumentContextDefinition(&sv.Context, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -3997,22 +3974,18 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenOutputItem(v **ty } sv.Decision = types.Decision(jtv) } - case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } - case "request": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenInputItem(&sv.Request, value); err != nil { return err } - default: _, _ = key, value @@ -4122,7 +4095,6 @@ func awsAwsjson10_deserializeDocumentCognitoGroupConfigurationDetail(v **types.C } sv.GroupEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -4162,7 +4134,6 @@ func awsAwsjson10_deserializeDocumentCognitoGroupConfigurationItem(v **types.Cog } sv.GroupEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -4198,12 +4169,10 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentCognitoGroupConfigurationDetail(&sv.GroupConfiguration, value); err != nil { return err } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -4212,7 +4181,6 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type } sv.Issuer = ptr.String(jtv) } - case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4221,7 +4189,6 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type } sv.UserPoolArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4257,12 +4224,10 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentCognitoGroupConfigurationItem(&sv.GroupConfiguration, value); err != nil { return err } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -4271,7 +4236,6 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. } sv.Issuer = ptr.String(jtv) } - case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4280,7 +4244,6 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. } sv.UserPoolArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4410,15 +4373,9 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4426,20 +4383,15 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resources": if err := awsAwsjson10_deserializeDocumentResourceConflictList(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4546,7 +4498,6 @@ func awsAwsjson10_deserializeDocumentDeterminingPolicyItem(v **types.Determining } sv.PolicyId = ptr.String(jtv) } - default: _, _ = key, value @@ -4620,7 +4571,6 @@ func awsAwsjson10_deserializeDocumentEntityIdentifier(v **types.EntityIdentifier } sv.EntityId = ptr.String(jtv) } - case "entityType": if value != nil { jtv, ok := value.(string) @@ -4629,7 +4579,6 @@ func awsAwsjson10_deserializeDocumentEntityIdentifier(v **types.EntityIdentifier } sv.EntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -4669,7 +4618,6 @@ func awsAwsjson10_deserializeDocumentEvaluationErrorItem(v **types.EvaluationErr } sv.ErrorDescription = ptr.String(jtv) } - default: _, _ = key, value @@ -4739,7 +4687,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "discoveryUrl": if value != nil { jtv, ok := value.(string) @@ -4748,7 +4695,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.DiscoveryUrl = ptr.String(jtv) } - case "openIdIssuer": if value != nil { jtv, ok := value.(string) @@ -4757,7 +4703,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.OpenIdIssuer = types.OpenIdIssuer(jtv) } - case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4766,7 +4711,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.UserPoolArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4802,7 +4746,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource if err := awsAwsjson10_deserializeDocumentConfigurationItem(&sv.Configuration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -4815,12 +4758,10 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.CreatedDate = ptr.Time(t) } - case "details": if err := awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(&sv.Details, value); err != nil { return err } - case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -4829,7 +4770,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.IdentitySourceId = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -4842,7 +4782,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -4851,7 +4790,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.PolicyStoreId = ptr.String(jtv) } - case "principalEntityType": if value != nil { jtv, ok := value.(string) @@ -4860,7 +4798,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.PrincipalEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -4896,7 +4833,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "discoveryUrl": if value != nil { jtv, ok := value.(string) @@ -4905,7 +4841,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.DiscoveryUrl = ptr.String(jtv) } - case "openIdIssuer": if value != nil { jtv, ok := value.(string) @@ -4914,7 +4849,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.OpenIdIssuer = types.OpenIdIssuer(jtv) } - case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4923,7 +4857,6 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.UserPoolArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4987,15 +4920,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5003,15 +4930,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5078,7 +5001,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationDetail if err := awsAwsjson10_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5087,7 +5009,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationDetail } sv.PrincipalIdClaim = ptr.String(jtv) } - default: _, _ = key, value @@ -5123,7 +5044,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationItem(v if err := awsAwsjson10_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } - case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5132,7 +5052,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationItem(v } sv.PrincipalIdClaim = ptr.String(jtv) } - default: _, _ = key, value @@ -5172,12 +5091,10 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationDetail(v **types. } sv.EntityIdPrefix = ptr.String(jtv) } - case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(&sv.GroupConfiguration, value); err != nil { return err } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -5186,12 +5103,10 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationDetail(v **types. } sv.Issuer = ptr.String(jtv) } - case "tokenSelection": if err := awsAwsjson10_deserializeDocumentOpenIdConnectTokenSelectionDetail(&sv.TokenSelection, value); err != nil { return err } - default: _, _ = key, value @@ -5231,12 +5146,10 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationItem(v **types.Op } sv.EntityIdPrefix = ptr.String(jtv) } - case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(&sv.GroupConfiguration, value); err != nil { return err } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -5245,12 +5158,10 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationItem(v **types.Op } sv.Issuer = ptr.String(jtv) } - case "tokenSelection": if err := awsAwsjson10_deserializeDocumentOpenIdConnectTokenSelectionItem(&sv.TokenSelection, value); err != nil { return err } - default: _, _ = key, value @@ -5290,7 +5201,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(v **t } sv.GroupClaim = ptr.String(jtv) } - case "groupEntityType": if value != nil { jtv, ok := value.(string) @@ -5299,7 +5209,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(v **t } sv.GroupEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -5339,7 +5248,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(v **typ } sv.GroupClaim = ptr.String(jtv) } - case "groupEntityType": if value != nil { jtv, ok := value.(string) @@ -5348,7 +5256,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(v **typ } sv.GroupEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -5384,7 +5291,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationDeta if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5393,7 +5299,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationDeta } sv.PrincipalIdClaim = ptr.String(jtv) } - default: _, _ = key, value @@ -5429,7 +5334,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationItem if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } - case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5438,7 +5342,6 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationItem } sv.PrincipalIdClaim = ptr.String(jtv) } - default: _, _ = key, value @@ -5674,7 +5577,6 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5687,12 +5589,10 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.CreatedDate = ptr.Time(t) } - case "definition": if err := awsAwsjson10_deserializeDocumentPolicyDefinitionItem(&sv.Definition, value); err != nil { return err } - case "effect": if value != nil { jtv, ok := value.(string) @@ -5701,7 +5601,6 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.Effect = types.PolicyEffect(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5714,7 +5613,6 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.LastUpdatedDate = ptr.Time(t) } - case "policyId": if value != nil { jtv, ok := value.(string) @@ -5723,7 +5621,6 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyId = ptr.String(jtv) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5732,7 +5629,6 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyStoreId = ptr.String(jtv) } - case "policyType": if value != nil { jtv, ok := value.(string) @@ -5741,17 +5637,14 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyType = types.PolicyType(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -5825,7 +5718,6 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5838,7 +5730,6 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5847,7 +5738,6 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5860,7 +5750,6 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5869,7 +5758,6 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -5947,7 +5835,6 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -5956,7 +5843,6 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5969,7 +5855,6 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5978,7 +5863,6 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.PolicyStoreId = ptr.String(jtv) } - case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -5987,7 +5871,6 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.PolicyTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -6095,7 +5978,6 @@ func awsAwsjson10_deserializeDocumentResourceConflict(v **types.ResourceConflict } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6104,7 +5986,6 @@ func awsAwsjson10_deserializeDocumentResourceConflict(v **types.ResourceConflict } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value @@ -6168,15 +6049,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6184,7 +6059,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6193,7 +6067,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6202,15 +6075,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6235,15 +6104,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6251,7 +6114,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6260,7 +6122,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6269,7 +6130,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6278,7 +6138,6 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6287,15 +6146,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6362,7 +6217,6 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionDetail(v **types.Stat } sv.Description = ptr.String(jtv) } - case "statement": if value != nil { jtv, ok := value.(string) @@ -6371,7 +6225,6 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionDetail(v **types.Stat } sv.Statement = ptr.String(jtv) } - default: _, _ = key, value @@ -6411,7 +6264,6 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionItem(v **types.Static } sv.Description = ptr.String(jtv) } - default: _, _ = key, value @@ -6451,17 +6303,14 @@ func awsAwsjson10_deserializeDocumentTemplateLinkedPolicyDefinitionDetail(v **ty } sv.PolicyTemplateId = ptr.String(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -6501,17 +6350,14 @@ func awsAwsjson10_deserializeDocumentTemplateLinkedPolicyDefinitionItem(v **type } sv.PolicyTemplateId = ptr.String(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -6541,15 +6387,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6557,7 +6397,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6566,7 +6405,6 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6575,15 +6413,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6608,20 +6442,13 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6629,15 +6456,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6672,7 +6495,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -6681,7 +6503,6 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -6755,7 +6576,6 @@ func awsAwsjson10_deserializeDocumentValidationSettings(v **types.ValidationSett } sv.Mode = types.ValidationMode(jtv) } - default: _, _ = key, value @@ -6791,7 +6611,6 @@ func awsAwsjson10_deserializeOpDocumentBatchIsAuthorizedOutput(v **BatchIsAuthor if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedOutputList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6827,12 +6646,10 @@ func awsAwsjson10_deserializeOpDocumentBatchIsAuthorizedWithTokenOutput(v **Batc if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "results": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenOutputList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -6876,7 +6693,6 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.CreatedDate = ptr.Time(t) } - case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -6885,7 +6701,6 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.IdentitySourceId = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6898,7 +6713,6 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6907,7 +6721,6 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -6943,7 +6756,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -6956,7 +6768,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.CreatedDate = ptr.Time(t) } - case "effect": if value != nil { jtv, ok := value.(string) @@ -6965,7 +6776,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.Effect = types.PolicyEffect(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6978,7 +6788,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.LastUpdatedDate = ptr.Time(t) } - case "policyId": if value != nil { jtv, ok := value.(string) @@ -6987,7 +6796,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyId = ptr.String(jtv) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6996,7 +6804,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyStoreId = ptr.String(jtv) } - case "policyType": if value != nil { jtv, ok := value.(string) @@ -7005,17 +6812,14 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyType = types.PolicyType(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -7055,7 +6859,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7068,7 +6871,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7081,7 +6883,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7090,7 +6891,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -7134,7 +6934,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7147,7 +6946,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7156,7 +6954,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.PolicyStoreId = ptr.String(jtv) } - case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -7165,7 +6962,6 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.PolicyTemplateId = ptr.String(jtv) } - default: _, _ = key, value @@ -7325,7 +7121,6 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo if err := awsAwsjson10_deserializeDocumentConfigurationDetail(&sv.Configuration, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7338,12 +7133,10 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.CreatedDate = ptr.Time(t) } - case "details": if err := awsAwsjson10_deserializeDocumentIdentitySourceDetails(&sv.Details, value); err != nil { return err } - case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -7352,7 +7145,6 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.IdentitySourceId = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7365,7 +7157,6 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7374,7 +7165,6 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.PolicyStoreId = ptr.String(jtv) } - case "principalEntityType": if value != nil { jtv, ok := value.(string) @@ -7383,7 +7173,6 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.PrincipalEntityType = ptr.String(jtv) } - default: _, _ = key, value @@ -7419,7 +7208,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7432,12 +7220,10 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "definition": if err := awsAwsjson10_deserializeDocumentPolicyDefinitionDetail(&sv.Definition, value); err != nil { return err } - case "effect": if value != nil { jtv, ok := value.(string) @@ -7446,7 +7232,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Effect = types.PolicyEffect(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7459,7 +7244,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } - case "policyId": if value != nil { jtv, ok := value.(string) @@ -7468,7 +7252,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyId = ptr.String(jtv) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7477,7 +7260,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } - case "policyType": if value != nil { jtv, ok := value.(string) @@ -7486,17 +7268,14 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyType = types.PolicyType(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -7536,7 +7315,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7549,7 +7327,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7335,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7571,7 +7347,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7580,12 +7355,10 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.PolicyStoreId = ptr.String(jtv) } - case "validationSettings": if err := awsAwsjson10_deserializeDocumentValidationSettings(&sv.ValidationSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7629,7 +7402,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.CreatedDate = ptr.Time(t) } - case "description": if value != nil { jtv, ok := value.(string) @@ -7638,7 +7410,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.Description = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7651,7 +7422,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7660,7 +7430,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.PolicyStoreId = ptr.String(jtv) } - case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -7669,7 +7438,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.PolicyTemplateId = ptr.String(jtv) } - case "statement": if value != nil { jtv, ok := value.(string) @@ -7678,7 +7446,6 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.Statement = ptr.String(jtv) } - default: _, _ = key, value @@ -7722,7 +7489,6 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7735,12 +7501,10 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } - case "namespaces": if err := awsAwsjson10_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7749,7 +7513,6 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } - case "schema": if value != nil { jtv, ok := value.(string) @@ -7758,7 +7521,6 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Schema = ptr.String(jtv) } - default: _, _ = key, value @@ -7798,17 +7560,14 @@ func awsAwsjson10_deserializeOpDocumentIsAuthorizedOutput(v **IsAuthorizedOutput } sv.Decision = types.Decision(jtv) } - case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } - default: _, _ = key, value @@ -7848,22 +7607,18 @@ func awsAwsjson10_deserializeOpDocumentIsAuthorizedWithTokenOutput(v **IsAuthori } sv.Decision = types.Decision(jtv) } - case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } - case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - default: _, _ = key, value @@ -7899,7 +7654,6 @@ func awsAwsjson10_deserializeOpDocumentListIdentitySourcesOutput(v **ListIdentit if err := awsAwsjson10_deserializeDocumentIdentitySources(&sv.IdentitySources, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7908,7 +7662,6 @@ func awsAwsjson10_deserializeOpDocumentListIdentitySourcesOutput(v **ListIdentit } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7948,12 +7701,10 @@ func awsAwsjson10_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } - case "policies": if err := awsAwsjson10_deserializeDocumentPolicyList(&sv.Policies, value); err != nil { return err } - default: _, _ = key, value @@ -7993,12 +7744,10 @@ func awsAwsjson10_deserializeOpDocumentListPolicyStoresOutput(v **ListPolicyStor } sv.NextToken = ptr.String(jtv) } - case "policyStores": if err := awsAwsjson10_deserializeDocumentPolicyStoreList(&sv.PolicyStores, value); err != nil { return err } - default: _, _ = key, value @@ -8038,12 +7787,10 @@ func awsAwsjson10_deserializeOpDocumentListPolicyTemplatesOutput(v **ListPolicyT } sv.NextToken = ptr.String(jtv) } - case "policyTemplates": if err := awsAwsjson10_deserializeDocumentPolicyTemplatesList(&sv.PolicyTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -8087,7 +7834,6 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8100,12 +7846,10 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } - case "namespaces": if err := awsAwsjson10_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8114,7 +7858,6 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -8158,7 +7901,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.CreatedDate = ptr.Time(t) } - case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -8167,7 +7909,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.IdentitySourceId = ptr.String(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8180,7 +7921,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8189,7 +7929,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -8225,7 +7964,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -8238,7 +7976,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.CreatedDate = ptr.Time(t) } - case "effect": if value != nil { jtv, ok := value.(string) @@ -8247,7 +7984,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.Effect = types.PolicyEffect(jtv) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8260,7 +7996,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.LastUpdatedDate = ptr.Time(t) } - case "policyId": if value != nil { jtv, ok := value.(string) @@ -8269,7 +8004,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyId = ptr.String(jtv) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8278,7 +8012,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyStoreId = ptr.String(jtv) } - case "policyType": if value != nil { jtv, ok := value.(string) @@ -8287,17 +8020,14 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyType = types.PolicyType(jtv) } - case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } - case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } - default: _, _ = key, value @@ -8337,7 +8067,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.Arn = ptr.String(jtv) } - case "createdDate": if value != nil { jtv, ok := value.(string) @@ -8350,7 +8079,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8363,7 +8091,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8372,7 +8099,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.PolicyStoreId = ptr.String(jtv) } - default: _, _ = key, value @@ -8416,7 +8142,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.CreatedDate = ptr.Time(t) } - case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8429,7 +8154,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.LastUpdatedDate = ptr.Time(t) } - case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8438,7 +8162,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.PolicyStoreId = ptr.String(jtv) } - case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -8447,7 +8170,6 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.PolicyTemplateId = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/voiceid/deserializers.go b/service/voiceid/deserializers.go index 5f54ea352a1..284fb1f71e7 100644 --- a/service/voiceid/deserializers.go +++ b/service/voiceid/deserializers.go @@ -3837,15 +3837,9 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3853,15 +3847,11 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3900,7 +3890,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AcceptanceThreshold = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -3947,7 +3936,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } } - case "AudioAggregationStartedAt": if value != nil { switch jtv := value.(type) { @@ -3963,7 +3951,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } } - case "AuthenticationResultId": if value != nil { jtv, ok := value.(string) @@ -3972,12 +3959,10 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.AuthenticationResultId = ptr.String(jtv) } - case "Configuration": if err := awsAwsjson10_deserializeDocumentAuthenticationConfiguration(&sv.Configuration, value); err != nil { return err } - case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -3986,7 +3971,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.CustomerSpeakerId = ptr.String(jtv) } - case "Decision": if value != nil { jtv, ok := value.(string) @@ -3995,7 +3979,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.Decision = types.AuthenticationDecision(jtv) } - case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -4004,7 +3987,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.GeneratedSpeakerId = ptr.String(jtv) } - case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -4017,7 +3999,6 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.Score = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4047,13 +4028,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "ConflictType": if value != nil { @@ -4063,8 +4038,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictType = types.ConflictType(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4072,15 +4046,11 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4115,7 +4085,6 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4131,7 +4100,6 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4140,7 +4108,6 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Description = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4149,7 +4116,6 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.DomainId = ptr.String(jtv) } - case "DomainStatus": if value != nil { jtv, ok := value.(string) @@ -4158,7 +4124,6 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.DomainStatus = types.DomainStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4167,17 +4132,14 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } - case "ServerSideEncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "ServerSideEncryptionUpdateDetails": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4193,12 +4155,10 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } } - case "WatchlistDetails": if err := awsAwsjson10_deserializeDocumentWatchlistDetails(&sv.WatchlistDetails, value); err != nil { return err } - default: _, _ = key, value @@ -4272,7 +4232,6 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4288,7 +4247,6 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -4297,7 +4255,6 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4306,7 +4263,6 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainId = ptr.String(jtv) } - case "DomainStatus": if value != nil { jtv, ok := value.(string) @@ -4315,7 +4271,6 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainStatus = types.DomainStatus(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -4324,17 +4279,14 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } - case "ServerSideEncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "ServerSideEncryptionUpdateDetails": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4350,12 +4302,10 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } - case "WatchlistDetails": if err := awsAwsjson10_deserializeDocumentWatchlistDetails(&sv.WatchlistDetails, value); err != nil { return err } - default: _, _ = key, value @@ -4395,12 +4345,10 @@ func awsAwsjson10_deserializeDocumentEnrollmentConfig(v **types.EnrollmentConfig } sv.ExistingEnrollmentAction = types.ExistingEnrollmentAction(jtv) } - case "FraudDetectionConfig": if err := awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(&sv.FraudDetectionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -4440,7 +4388,6 @@ func awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(v **types } sv.FraudDetectionAction = types.FraudDetectionAction(jtv) } - case "RiskThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -4453,12 +4400,10 @@ func awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(v **types } sv.RiskThreshold = ptr.Int32(int32(i64)) } - case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfigWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } - default: _, _ = key, value @@ -4534,7 +4479,6 @@ func awsAwsjson10_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Message = ptr.String(jtv) } - case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -4547,7 +4491,6 @@ func awsAwsjson10_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4591,7 +4534,6 @@ func awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(v **types.Fraud } sv.RiskThreshold = ptr.Int32(int32(i64)) } - case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -4600,7 +4542,6 @@ func awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(v **types.Fraud } sv.WatchlistId = ptr.String(jtv) } - default: _, _ = key, value @@ -4683,7 +4624,6 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } } - case "AudioAggregationStartedAt": if value != nil { switch jtv := value.(type) { @@ -4699,12 +4639,10 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } } - case "Configuration": if err := awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(&sv.Configuration, value); err != nil { return err } - case "Decision": if value != nil { jtv, ok := value.(string) @@ -4713,7 +4651,6 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } sv.Decision = types.FraudDetectionDecision(jtv) } - case "FraudDetectionResultId": if value != nil { jtv, ok := value.(string) @@ -4722,17 +4659,14 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } sv.FraudDetectionResultId = ptr.String(jtv) } - case "Reasons": if err := awsAwsjson10_deserializeDocumentFraudDetectionReasons(&sv.Reasons, value); err != nil { return err } - case "RiskDetails": if err := awsAwsjson10_deserializeDocumentFraudRiskDetails(&sv.RiskDetails, value); err != nil { return err } - default: _, _ = key, value @@ -4768,12 +4702,10 @@ func awsAwsjson10_deserializeDocumentFraudRiskDetails(v **types.FraudRiskDetails if err := awsAwsjson10_deserializeDocumentKnownFraudsterRisk(&sv.KnownFraudsterRisk, value); err != nil { return err } - case "VoiceSpoofingRisk": if err := awsAwsjson10_deserializeDocumentVoiceSpoofingRisk(&sv.VoiceSpoofingRisk, value); err != nil { return err } - default: _, _ = key, value @@ -4820,7 +4752,6 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4829,7 +4760,6 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } sv.DomainId = ptr.String(jtv) } - case "GeneratedFraudsterId": if value != nil { jtv, ok := value.(string) @@ -4838,12 +4768,10 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } sv.GeneratedFraudsterId = ptr.String(jtv) } - case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentResponseWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } - default: _, _ = key, value @@ -4890,7 +4818,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -4899,7 +4826,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4908,7 +4834,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.DomainId = ptr.String(jtv) } - case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -4924,17 +4849,14 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } } - case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -4943,7 +4865,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -4952,12 +4873,10 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobName = ptr.String(jtv) } - case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -4966,17 +4885,14 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobStatus = types.FraudsterRegistrationJobStatus(jtv) } - case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - case "RegistrationConfig": if err := awsAwsjson10_deserializeDocumentRegistrationConfig(&sv.RegistrationConfig, value); err != nil { return err } - default: _, _ = key, value @@ -5057,7 +4973,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5066,7 +4981,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.DomainId = ptr.String(jtv) } - case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -5082,12 +4996,10 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } } - case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -5096,7 +5008,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -5105,12 +5016,10 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobName = ptr.String(jtv) } - case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5119,7 +5028,6 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobStatus = types.FraudsterRegistrationJobStatus(jtv) } - default: _, _ = key, value @@ -5200,7 +5108,6 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5209,7 +5116,6 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } sv.DomainId = ptr.String(jtv) } - case "GeneratedFraudsterId": if value != nil { jtv, ok := value.(string) @@ -5218,12 +5124,10 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } sv.GeneratedFraudsterId = ptr.String(jtv) } - case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentResponseWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } - default: _, _ = key, value @@ -5263,7 +5167,6 @@ func awsAwsjson10_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -5293,15 +5196,9 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5309,15 +5206,11 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5356,7 +5249,6 @@ func awsAwsjson10_deserializeDocumentJobProgress(v **types.JobProgress, value in } sv.PercentComplete = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5396,7 +5288,6 @@ func awsAwsjson10_deserializeDocumentKnownFraudsterRisk(v **types.KnownFraudster } sv.GeneratedFraudsterId = ptr.String(jtv) } - case "RiskScore": if value != nil { jtv, ok := value.(json.Number) @@ -5409,7 +5300,6 @@ func awsAwsjson10_deserializeDocumentKnownFraudsterRisk(v **types.KnownFraudster } sv.RiskScore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -5449,7 +5339,6 @@ func awsAwsjson10_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } - case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -5458,7 +5347,6 @@ func awsAwsjson10_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } - default: _, _ = key, value @@ -5498,7 +5386,6 @@ func awsAwsjson10_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.DuplicateRegistrationAction = types.DuplicateRegistrationAction(jtv) } - case "FraudsterSimilarityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5511,12 +5398,10 @@ func awsAwsjson10_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.FraudsterSimilarityThreshold = ptr.Int32(int32(i64)) } - case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentRegistrationConfigWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } - default: _, _ = key, value @@ -5582,15 +5467,9 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5598,7 +5477,6 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5607,15 +5485,11 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5686,7 +5560,6 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -5726,7 +5599,6 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.Message = ptr.String(jtv) } - case "OldKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5735,7 +5607,6 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.OldKmsKeyId = ptr.String(jtv) } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -5744,7 +5615,6 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.UpdateStatus = types.ServerSideEncryptionUpdateStatus(jtv) } - default: _, _ = key, value @@ -5774,15 +5644,9 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -5790,15 +5654,11 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -5840,7 +5700,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } - case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -5849,7 +5708,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.CustomerSpeakerId = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5858,7 +5716,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.DomainId = ptr.String(jtv) } - case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -5867,7 +5724,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.GeneratedSpeakerId = ptr.String(jtv) } - case "LastAccessedAt": if value != nil { switch jtv := value.(type) { @@ -5883,7 +5739,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5892,7 +5747,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.Status = types.SpeakerStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5908,7 +5762,6 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } - default: _, _ = key, value @@ -5955,7 +5808,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } } - case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -5964,7 +5816,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.DataAccessRoleArn = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5973,7 +5824,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.DomainId = ptr.String(jtv) } - case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -5989,22 +5839,18 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } } - case "EnrollmentConfig": if err := awsAwsjson10_deserializeDocumentEnrollmentConfig(&sv.EnrollmentConfig, value); err != nil { return err } - case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -6013,7 +5859,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -6022,12 +5867,10 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobName = ptr.String(jtv) } - case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6036,12 +5879,10 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobStatus = types.SpeakerEnrollmentJobStatus(jtv) } - case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } - default: _, _ = key, value @@ -6122,7 +5963,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6131,7 +5971,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.DomainId = ptr.String(jtv) } - case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -6147,12 +5986,10 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } } - case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -6161,7 +5998,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobId = ptr.String(jtv) } - case "JobName": if value != nil { jtv, ok := value.(string) @@ -6170,12 +6006,10 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobName = ptr.String(jtv) } - case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } - case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6184,7 +6018,6 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobStatus = types.SpeakerEnrollmentJobStatus(jtv) } - default: _, _ = key, value @@ -6265,7 +6098,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } - case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -6274,7 +6106,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.CustomerSpeakerId = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6283,7 +6114,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.DomainId = ptr.String(jtv) } - case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -6292,7 +6122,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.GeneratedSpeakerId = ptr.String(jtv) } - case "LastAccessedAt": if value != nil { switch jtv := value.(type) { @@ -6308,7 +6137,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } - case "Status": if value != nil { jtv, ok := value.(string) @@ -6317,7 +6145,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.Status = types.SpeakerStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6333,7 +6160,6 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } - default: _, _ = key, value @@ -6373,7 +6199,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -6382,7 +6207,6 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -6446,15 +6270,9 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6462,15 +6280,11 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6495,15 +6309,9 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6511,15 +6319,11 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6558,7 +6362,6 @@ func awsAwsjson10_deserializeDocumentVoiceSpoofingRisk(v **types.VoiceSpoofingRi } sv.RiskScore = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -6605,7 +6408,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } } - case "DefaultWatchlist": if value != nil { jtv, ok := value.(bool) @@ -6614,7 +6416,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.DefaultWatchlist = jtv } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6623,7 +6424,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.Description = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6632,7 +6432,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.DomainId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6641,7 +6440,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.Name = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6657,7 +6455,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } } - case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -6666,7 +6463,6 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.WatchlistId = ptr.String(jtv) } - default: _, _ = key, value @@ -6706,7 +6502,6 @@ func awsAwsjson10_deserializeDocumentWatchlistDetails(v **types.WatchlistDetails } sv.DefaultWatchlistId = ptr.String(jtv) } - default: _, _ = key, value @@ -6787,7 +6582,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } } - case "DefaultWatchlist": if value != nil { jtv, ok := value.(bool) @@ -6796,7 +6590,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.DefaultWatchlist = jtv } - case "Description": if value != nil { jtv, ok := value.(string) @@ -6805,7 +6598,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.Description = ptr.String(jtv) } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6814,7 +6606,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.DomainId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6823,7 +6614,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.Name = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6839,7 +6629,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } } - case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -6848,7 +6637,6 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.WatchlistId = ptr.String(jtv) } - default: _, _ = key, value @@ -6884,7 +6672,6 @@ func awsAwsjson10_deserializeOpDocumentAssociateFraudsterOutput(v **AssociateFra if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } - default: _, _ = key, value @@ -6920,7 +6707,6 @@ func awsAwsjson10_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -6956,7 +6742,6 @@ func awsAwsjson10_deserializeOpDocumentCreateWatchlistOutput(v **CreateWatchlist if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } - default: _, _ = key, value @@ -6992,7 +6777,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -7028,7 +6812,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFraudsterOutput(v **DescribeFraud if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } - default: _, _ = key, value @@ -7064,7 +6847,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeFraudsterRegistrationJobOutput(v if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -7100,7 +6882,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpeakerEnrollmentJobOutput(v **De if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -7136,7 +6917,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpeakerOutput(v **DescribeSpeaker if err := awsAwsjson10_deserializeDocumentSpeaker(&sv.Speaker, value); err != nil { return err } - default: _, _ = key, value @@ -7172,7 +6952,6 @@ func awsAwsjson10_deserializeOpDocumentDescribeWatchlistOutput(v **DescribeWatch if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } - default: _, _ = key, value @@ -7208,7 +6987,6 @@ func awsAwsjson10_deserializeOpDocumentDisassociateFraudsterOutput(v **Disassoci if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } - default: _, _ = key, value @@ -7244,7 +7022,6 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession if err := awsAwsjson10_deserializeDocumentAuthenticationResult(&sv.AuthenticationResult, value); err != nil { return err } - case "DomainId": if value != nil { jtv, ok := value.(string) @@ -7253,12 +7030,10 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.DomainId = ptr.String(jtv) } - case "FraudDetectionResult": if err := awsAwsjson10_deserializeDocumentFraudDetectionResult(&sv.FraudDetectionResult, value); err != nil { return err } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -7267,7 +7042,6 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.SessionId = ptr.String(jtv) } - case "SessionName": if value != nil { jtv, ok := value.(string) @@ -7276,7 +7050,6 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.SessionName = ptr.String(jtv) } - case "StreamingStatus": if value != nil { jtv, ok := value.(string) @@ -7285,7 +7058,6 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.StreamingStatus = types.StreamingStatus(jtv) } - default: _, _ = key, value @@ -7321,7 +7093,6 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson10_deserializeDocumentDomainSummaries(&sv.DomainSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7330,7 +7101,6 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7366,7 +7136,6 @@ func awsAwsjson10_deserializeOpDocumentListFraudsterRegistrationJobsOutput(v **L if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummaries(&sv.JobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7375,7 +7144,6 @@ func awsAwsjson10_deserializeOpDocumentListFraudsterRegistrationJobsOutput(v **L } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7411,7 +7179,6 @@ func awsAwsjson10_deserializeOpDocumentListFraudstersOutput(v **ListFraudstersOu if err := awsAwsjson10_deserializeDocumentFraudsterSummaries(&sv.FraudsterSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7420,7 +7187,6 @@ func awsAwsjson10_deserializeOpDocumentListFraudstersOutput(v **ListFraudstersOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7456,7 +7222,6 @@ func awsAwsjson10_deserializeOpDocumentListSpeakerEnrollmentJobsOutput(v **ListS if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummaries(&sv.JobSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7465,7 +7230,6 @@ func awsAwsjson10_deserializeOpDocumentListSpeakerEnrollmentJobsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7505,12 +7269,10 @@ func awsAwsjson10_deserializeOpDocumentListSpeakersOutput(v **ListSpeakersOutput } sv.NextToken = ptr.String(jtv) } - case "SpeakerSummaries": if err := awsAwsjson10_deserializeDocumentSpeakerSummaries(&sv.SpeakerSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7546,7 +7308,6 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7586,12 +7347,10 @@ func awsAwsjson10_deserializeOpDocumentListWatchlistsOutput(v **ListWatchlistsOu } sv.NextToken = ptr.String(jtv) } - case "WatchlistSummaries": if err := awsAwsjson10_deserializeDocumentWatchlistSummaries(&sv.WatchlistSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7627,7 +7386,6 @@ func awsAwsjson10_deserializeOpDocumentOptOutSpeakerOutput(v **OptOutSpeakerOutp if err := awsAwsjson10_deserializeDocumentSpeaker(&sv.Speaker, value); err != nil { return err } - default: _, _ = key, value @@ -7663,7 +7421,6 @@ func awsAwsjson10_deserializeOpDocumentStartFraudsterRegistrationJobOutput(v **S if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -7699,7 +7456,6 @@ func awsAwsjson10_deserializeOpDocumentStartSpeakerEnrollmentJobOutput(v **Start if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(&sv.Job, value); err != nil { return err } - default: _, _ = key, value @@ -7797,7 +7553,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } - default: _, _ = key, value @@ -7833,7 +7588,6 @@ func awsAwsjson10_deserializeOpDocumentUpdateWatchlistOutput(v **UpdateWatchlist if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/vpclattice/deserializers.go b/service/vpclattice/deserializers.go index d25248383ee..051ead1d269 100644 --- a/service/vpclattice/deserializers.go +++ b/service/vpclattice/deserializers.go @@ -187,12 +187,10 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRuleOutput(v **BatchUpdateRule if err := awsRestjson1_deserializeDocumentRuleUpdateSuccessList(&sv.Successful, value); err != nil { return err } - case "unsuccessful": if err := awsRestjson1_deserializeDocumentRuleUpdateFailureList(&sv.Unsuccessful, value); err != nil { return err } - default: _, _ = key, value @@ -363,7 +361,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.Arn = ptr.String(jtv) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -372,7 +369,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.DestinationArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -381,7 +377,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.Id = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -390,7 +385,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -399,7 +393,6 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -573,12 +566,10 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Arn = ptr.String(jtv) } - case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -587,7 +578,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -596,7 +586,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -609,7 +598,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -618,7 +606,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Protocol = types.ListenerProtocol(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -627,7 +614,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.ServiceArn = ptr.String(jtv) } - case "serviceId": if value != nil { jtv, ok := value.(string) @@ -636,7 +622,6 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.ServiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -806,7 +791,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -815,7 +799,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -824,12 +807,10 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Id = ptr.String(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -838,7 +819,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -851,7 +831,6 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -1025,7 +1004,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -1034,7 +1012,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.AuthType = types.AuthType(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -1043,7 +1020,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CertificateArn = ptr.String(jtv) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -1052,12 +1028,10 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1066,7 +1040,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1075,7 +1048,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1084,7 +1056,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Status = types.ServiceStatus(jtv) } - default: _, _ = key, value @@ -1258,7 +1229,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -1267,7 +1237,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.AuthType = types.AuthType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1276,7 +1245,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1285,7 +1253,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -1459,7 +1426,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1468,7 +1434,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.CreatedBy = ptr.String(jtv) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -1477,12 +1442,10 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1491,7 +1454,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1500,7 +1462,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } - default: _, _ = key, value @@ -1674,7 +1635,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1683,7 +1643,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.CreatedBy = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -1692,12 +1651,10 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -1706,7 +1663,6 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } - default: _, _ = key, value @@ -1880,12 +1836,10 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Arn = ptr.String(jtv) } - case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -1894,7 +1848,6 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -1903,7 +1856,6 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -1912,7 +1864,6 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Status = types.TargetGroupStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -1921,7 +1872,6 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Type = types.TargetGroupType(jtv) } - default: _, _ = key, value @@ -2598,7 +2548,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2607,7 +2556,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2616,7 +2564,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2625,7 +2572,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Status = types.ServiceStatus(jtv) } - default: _, _ = key, value @@ -2899,7 +2845,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2908,7 +2853,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2917,7 +2861,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } - default: _, _ = key, value @@ -3088,7 +3031,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3097,7 +3039,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3106,7 +3047,6 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } - default: _, _ = key, value @@ -3274,7 +3214,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3283,7 +3222,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Id = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3292,7 +3230,6 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Status = types.TargetGroupStatus(jtv) } - default: _, _ = key, value @@ -3459,12 +3396,10 @@ func awsRestjson1_deserializeOpDocumentDeregisterTargetsOutput(v **DeregisterTar if err := awsRestjson1_deserializeDocumentTargetList(&sv.Successful, value); err != nil { return err } - case "unsuccessful": if err := awsRestjson1_deserializeDocumentTargetFailureList(&sv.Unsuccessful, value); err != nil { return err } - default: _, _ = key, value @@ -3632,7 +3567,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3645,7 +3579,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.CreatedAt = ptr.Time(t) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -3654,7 +3587,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.DestinationArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3663,7 +3595,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3676,7 +3607,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.LastUpdatedAt = ptr.Time(t) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3685,7 +3615,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3694,7 +3623,6 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -3866,7 +3794,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.CreatedAt = ptr.Time(t) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3879,7 +3806,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.LastUpdatedAt = ptr.Time(t) } - case "policy": if value != nil { jtv, ok := value.(string) @@ -3888,7 +3814,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.Policy = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -3897,7 +3822,6 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.State = types.AuthPolicyState(jtv) } - default: _, _ = key, value @@ -4065,7 +3989,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4078,12 +4001,10 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.CreatedAt = ptr.Time(t) } - case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -4092,7 +4013,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4105,7 +4025,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4114,7 +4033,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -4127,7 +4045,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -4136,7 +4053,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Protocol = types.ListenerProtocol(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -4145,7 +4061,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.ServiceArn = ptr.String(jtv) } - case "serviceId": if value != nil { jtv, ok := value.(string) @@ -4154,7 +4069,6 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.ServiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -4322,7 +4236,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -4486,7 +4399,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -4495,7 +4407,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4508,7 +4419,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4517,7 +4427,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Id = ptr.String(jtv) } - case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -4526,7 +4435,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.IsDefault = ptr.Bool(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4539,12 +4447,10 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.LastUpdatedAt = ptr.Time(t) } - case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -4553,7 +4459,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -4566,7 +4471,6 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -4734,7 +4638,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -4743,7 +4646,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.AuthType = types.AuthType(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -4752,7 +4654,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CertificateArn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4765,7 +4666,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CreatedAt = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -4774,12 +4674,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4788,7 +4686,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4797,7 +4694,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4806,7 +4702,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4819,7 +4714,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4828,7 +4722,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -4837,7 +4730,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Status = types.ServiceStatus(jtv) } - default: _, _ = key, value @@ -5005,7 +4897,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -5014,7 +4905,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.AuthType = types.AuthType(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5027,7 +4917,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5036,7 +4925,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5049,7 +4937,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5058,7 +4945,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Name = ptr.String(jtv) } - case "numberOfAssociatedServices": if value != nil { jtv, ok := value.(json.Number) @@ -5071,7 +4957,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.NumberOfAssociatedServices = ptr.Int64(i64) } - case "numberOfAssociatedVPCs": if value != nil { jtv, ok := value.(json.Number) @@ -5084,7 +4969,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.NumberOfAssociatedVPCs = ptr.Int64(i64) } - default: _, _ = key, value @@ -5252,7 +5136,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5265,7 +5148,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5274,7 +5156,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CreatedBy = ptr.String(jtv) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -5283,12 +5164,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5297,7 +5176,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5306,7 +5184,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5315,7 +5192,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Id = ptr.String(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -5324,7 +5200,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceArn = ptr.String(jtv) } - case "serviceId": if value != nil { jtv, ok := value.(string) @@ -5333,7 +5208,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceId = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -5342,7 +5216,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceName = ptr.String(jtv) } - case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -5351,7 +5224,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkArn = ptr.String(jtv) } - case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -5360,7 +5232,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkId = ptr.String(jtv) } - case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -5369,7 +5240,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5378,7 +5248,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } - default: _, _ = key, value @@ -5546,7 +5415,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5559,7 +5427,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5568,7 +5435,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.CreatedBy = ptr.String(jtv) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5577,7 +5443,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5586,7 +5451,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5595,7 +5459,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5608,12 +5471,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.LastUpdatedAt = ptr.Time(t) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } - case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -5622,7 +5483,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkArn = ptr.String(jtv) } - case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -5631,7 +5491,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkId = ptr.String(jtv) } - case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -5640,7 +5499,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -5649,7 +5507,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -5658,7 +5515,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -5826,12 +5682,10 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Arn = ptr.String(jtv) } - case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5844,7 +5698,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.CreatedAt = ptr.Time(t) } - case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5853,7 +5706,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5862,7 +5714,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -5871,7 +5722,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5884,7 +5734,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -5893,12 +5742,10 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Name = ptr.String(jtv) } - case "serviceArns": if err := awsRestjson1_deserializeDocumentServiceArnList(&sv.ServiceArns, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -5907,7 +5754,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Status = types.TargetGroupStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -5916,7 +5762,6 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Type = types.TargetGroupType(jtv) } - default: _, _ = key, value @@ -6077,7 +5922,6 @@ func awsRestjson1_deserializeOpDocumentListAccessLogSubscriptionsOutput(v **List if err := awsRestjson1_deserializeDocumentAccessLogSubscriptionList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6086,7 +5930,6 @@ func awsRestjson1_deserializeOpDocumentListAccessLogSubscriptionsOutput(v **List } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6250,7 +6093,6 @@ func awsRestjson1_deserializeOpDocumentListListenersOutput(v **ListListenersOutp if err := awsRestjson1_deserializeDocumentListenerSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6259,7 +6101,6 @@ func awsRestjson1_deserializeOpDocumentListListenersOutput(v **ListListenersOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6423,7 +6264,6 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6432,7 +6272,6 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6593,7 +6432,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworksOutput(v **ListService if err := awsRestjson1_deserializeDocumentServiceNetworkList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6602,7 +6440,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworksOutput(v **ListService } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6763,7 +6600,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkServiceAssociationsOutp if err := awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6772,7 +6608,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkServiceAssociationsOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6933,7 +6768,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkVpcAssociationsOutput(v if err := awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6942,7 +6776,6 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkVpcAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7103,7 +6936,6 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput if err := awsRestjson1_deserializeDocumentServiceList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7112,7 +6944,6 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7273,7 +7104,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7434,7 +7264,6 @@ func awsRestjson1_deserializeOpDocumentListTargetGroupsOutput(v **ListTargetGrou if err := awsRestjson1_deserializeDocumentTargetGroupList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7443,7 +7272,6 @@ func awsRestjson1_deserializeOpDocumentListTargetGroupsOutput(v **ListTargetGrou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7607,7 +7435,6 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, if err := awsRestjson1_deserializeDocumentTargetSummaryList(&sv.Items, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7616,7 +7443,6 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7784,7 +7610,6 @@ func awsRestjson1_deserializeOpDocumentPutAuthPolicyOutput(v **PutAuthPolicyOutp } sv.Policy = ptr.String(jtv) } - case "state": if value != nil { jtv, ok := value.(string) @@ -7793,7 +7618,6 @@ func awsRestjson1_deserializeOpDocumentPutAuthPolicyOutput(v **PutAuthPolicyOutp } sv.State = types.AuthPolicyState(jtv) } - default: _, _ = key, value @@ -8063,12 +7887,10 @@ func awsRestjson1_deserializeOpDocumentRegisterTargetsOutput(v **RegisterTargets if err := awsRestjson1_deserializeDocumentTargetList(&sv.Successful, value); err != nil { return err } - case "unsuccessful": if err := awsRestjson1_deserializeDocumentTargetFailureList(&sv.Unsuccessful, value); err != nil { return err } - default: _, _ = key, value @@ -8436,7 +8258,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.Arn = ptr.String(jtv) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -8445,7 +8266,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.DestinationArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8454,7 +8274,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.Id = ptr.String(jtv) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8463,7 +8282,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8472,7 +8290,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -8643,12 +8460,10 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Arn = ptr.String(jtv) } - case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -8657,7 +8472,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8666,7 +8480,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8679,7 +8492,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -8688,7 +8500,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Protocol = types.ListenerProtocol(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -8697,7 +8508,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.ServiceArn = ptr.String(jtv) } - case "serviceId": if value != nil { jtv, ok := value.(string) @@ -8706,7 +8516,6 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.ServiceId = ptr.String(jtv) } - default: _, _ = key, value @@ -8873,7 +8682,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -8882,7 +8690,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -8891,7 +8698,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Id = ptr.String(jtv) } - case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -8900,12 +8706,10 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.IsDefault = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -8914,7 +8718,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -8927,7 +8730,6 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -9098,7 +8900,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -9107,7 +8908,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.AuthType = types.AuthType(jtv) } - case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -9116,7 +8916,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.CertificateArn = ptr.String(jtv) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -9125,7 +8924,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.CustomDomainName = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9134,7 +8932,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9143,7 +8940,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9314,7 +9110,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Arn = ptr.String(jtv) } - case "authType": if value != nil { jtv, ok := value.(string) @@ -9323,7 +9118,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.AuthType = types.AuthType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9332,7 +9126,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9341,7 +9134,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9512,7 +9304,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9521,7 +9312,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.CreatedBy = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -9530,12 +9320,10 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -9544,7 +9332,6 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } - default: _, _ = key, value @@ -9715,12 +9502,10 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Arn = ptr.String(jtv) } - case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9729,7 +9514,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Id = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -9738,7 +9522,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9747,7 +9530,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Status = types.TargetGroupStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9756,7 +9538,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Type = types.TargetGroupType(jtv) } - default: _, _ = key, value @@ -10078,15 +9859,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10094,15 +9869,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10171,7 +9942,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10184,7 +9954,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.CreatedAt = ptr.Time(t) } - case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -10193,7 +9962,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.DestinationArn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10202,7 +9970,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10215,7 +9982,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.LastUpdatedAt = ptr.Time(t) } - case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -10224,7 +9990,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.ResourceArn = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10233,7 +9998,6 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -10263,15 +10027,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10279,7 +10037,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10288,7 +10045,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10297,15 +10053,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10340,7 +10092,6 @@ func awsRestjson1_deserializeDocumentDnsEntry(v **types.DnsEntry, value interfac } sv.DomainName = ptr.String(jtv) } - case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -10349,7 +10100,6 @@ func awsRestjson1_deserializeDocumentDnsEntry(v **types.DnsEntry, value interfac } sv.HostedZoneId = ptr.String(jtv) } - default: _, _ = key, value @@ -10393,7 +10143,6 @@ func awsRestjson1_deserializeDocumentFixedResponseAction(v **types.FixedResponse } sv.StatusCode = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10429,7 +10178,6 @@ func awsRestjson1_deserializeDocumentForwardAction(v **types.ForwardAction, valu if err := awsRestjson1_deserializeDocumentWeightedTargetGroupList(&sv.TargetGroups, value); err != nil { return err } - default: _, _ = key, value @@ -10469,12 +10217,10 @@ func awsRestjson1_deserializeDocumentHeaderMatch(v **types.HeaderMatch, value in } sv.CaseSensitive = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchType(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10483,7 +10229,6 @@ func awsRestjson1_deserializeDocumentHeaderMatch(v **types.HeaderMatch, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10623,7 +10368,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Enabled = ptr.Bool(jtv) } - case "healthCheckIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10636,7 +10380,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthCheckIntervalSeconds = ptr.Int32(int32(i64)) } - case "healthCheckTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10649,7 +10392,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthCheckTimeoutSeconds = ptr.Int32(int32(i64)) } - case "healthyThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -10662,12 +10404,10 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthyThresholdCount = ptr.Int32(int32(i64)) } - case "matcher": if err := awsRestjson1_deserializeDocumentMatcher(&sv.Matcher, value); err != nil { return err } - case "path": if value != nil { jtv, ok := value.(string) @@ -10676,7 +10416,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Path = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10689,7 +10428,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -10698,7 +10436,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Protocol = types.TargetGroupProtocol(jtv) } - case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -10707,7 +10444,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.ProtocolVersion = types.HealthCheckProtocolVersion(jtv) } - case "unhealthyThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -10720,7 +10456,6 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.UnhealthyThresholdCount = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -10756,7 +10491,6 @@ func awsRestjson1_deserializeDocumentHttpMatch(v **types.HttpMatch, value interf if err := awsRestjson1_deserializeDocumentHeaderMatchList(&sv.HeaderMatches, value); err != nil { return err } - case "method": if value != nil { jtv, ok := value.(string) @@ -10765,12 +10499,10 @@ func awsRestjson1_deserializeDocumentHttpMatch(v **types.HttpMatch, value interf } sv.Method = ptr.String(jtv) } - case "pathMatch": if err := awsRestjson1_deserializeDocumentPathMatch(&sv.PathMatch, value); err != nil { return err } - default: _, _ = key, value @@ -10800,15 +10532,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10816,7 +10542,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10829,15 +10554,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10872,7 +10593,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10885,7 +10605,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -10894,7 +10613,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10907,7 +10625,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10916,7 +10633,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10929,7 +10645,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -10938,7 +10653,6 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Protocol = types.ListenerProtocol(jtv) } - default: _, _ = key, value @@ -11054,12 +10768,10 @@ func awsRestjson1_deserializeDocumentPathMatch(v **types.PathMatch, value interf } sv.CaseSensitive = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentPathMatchType(&sv.Match, value); err != nil { return err } - default: _, _ = key, value @@ -11143,15 +10855,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11159,7 +10865,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11168,7 +10873,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11177,15 +10881,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11310,7 +11010,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11323,7 +11022,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11332,7 +11030,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Id = ptr.String(jtv) } - case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -11341,7 +11038,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.IsDefault = ptr.Bool(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11354,7 +11050,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -11363,7 +11058,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11376,7 +11070,6 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11450,7 +11143,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -11459,7 +11151,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.FailureMessage = ptr.String(jtv) } - case "ruleIdentifier": if value != nil { jtv, ok := value.(string) @@ -11468,7 +11159,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.RuleIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -11538,7 +11228,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "arn": if value != nil { jtv, ok := value.(string) @@ -11547,7 +11236,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -11556,7 +11244,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Id = ptr.String(jtv) } - case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -11565,12 +11252,10 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.IsDefault = ptr.Bool(jtv) } - case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -11579,7 +11264,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Name = ptr.String(jtv) } - case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11592,7 +11276,6 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Priority = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -11840,7 +11523,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11853,7 +11535,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11862,7 +11543,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CreatedBy = ptr.String(jtv) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -11871,12 +11551,10 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -11885,7 +11563,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Id = ptr.String(jtv) } - case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -11894,7 +11571,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceArn = ptr.String(jtv) } - case "serviceId": if value != nil { jtv, ok := value.(string) @@ -11903,7 +11579,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceId = ptr.String(jtv) } - case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11912,7 +11587,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceName = ptr.String(jtv) } - case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -11921,7 +11595,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkArn = ptr.String(jtv) } - case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -11930,7 +11603,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkId = ptr.String(jtv) } - case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -11939,7 +11611,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -11948,7 +11619,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } - default: _, _ = key, value @@ -11988,7 +11658,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12001,7 +11670,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12010,7 +11678,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12023,7 +11690,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12032,7 +11698,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Name = ptr.String(jtv) } - case "numberOfAssociatedServices": if value != nil { jtv, ok := value.(json.Number) @@ -12045,7 +11710,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.NumberOfAssociatedServices = ptr.Int64(i64) } - case "numberOfAssociatedVPCs": if value != nil { jtv, ok := value.(json.Number) @@ -12058,7 +11722,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.NumberOfAssociatedVPCs = ptr.Int64(i64) } - default: _, _ = key, value @@ -12132,7 +11795,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12145,7 +11807,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.CreatedAt = ptr.Time(t) } - case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12154,7 +11815,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.CreatedBy = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12163,7 +11823,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12176,7 +11835,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.LastUpdatedAt = ptr.Time(t) } - case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -12185,7 +11843,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkArn = ptr.String(jtv) } - case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -12194,7 +11851,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkId = ptr.String(jtv) } - case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -12203,7 +11859,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkName = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12212,7 +11867,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -12221,7 +11875,6 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -12251,15 +11904,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12267,7 +11914,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -12276,7 +11922,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12285,7 +11930,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12294,7 +11938,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -12303,15 +11946,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12346,7 +11985,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12359,7 +11997,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CreatedAt = ptr.Time(t) } - case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -12368,12 +12005,10 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CustomDomainName = ptr.String(jtv) } - case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -12382,7 +12017,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Id = ptr.String(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12395,7 +12029,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12404,7 +12037,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12413,7 +12045,6 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } - default: _, _ = key, value @@ -12489,7 +12120,6 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12502,7 +12132,6 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12542,7 +12171,6 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.FailureCode = ptr.String(jtv) } - case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -12551,7 +12179,6 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.FailureMessage = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12560,7 +12187,6 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.Id = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12573,7 +12199,6 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.Port = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12643,7 +12268,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf if err := awsRestjson1_deserializeDocumentHealthCheckConfig(&sv.HealthCheck, value); err != nil { return err } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -12652,7 +12276,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.IpAddressType = types.IpAddressType(jtv) } - case "lambdaEventStructureVersion": if value != nil { jtv, ok := value.(string) @@ -12661,7 +12284,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.LambdaEventStructureVersion = types.LambdaEventStructureVersion(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12674,7 +12296,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -12683,7 +12304,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.Protocol = types.TargetGroupProtocol(jtv) } - case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -12692,7 +12312,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.ProtocolVersion = types.TargetGroupProtocolVersion(jtv) } - case "vpcIdentifier": if value != nil { jtv, ok := value.(string) @@ -12701,7 +12320,6 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.VpcIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12775,7 +12393,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12788,7 +12405,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.CreatedAt = ptr.Time(t) } - case "id": if value != nil { jtv, ok := value.(string) @@ -12797,7 +12413,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Id = ptr.String(jtv) } - case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -12806,7 +12421,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.IpAddressType = types.IpAddressType(jtv) } - case "lambdaEventStructureVersion": if value != nil { jtv, ok := value.(string) @@ -12815,7 +12429,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.LambdaEventStructureVersion = types.LambdaEventStructureVersion(jtv) } - case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12828,7 +12441,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.LastUpdatedAt = ptr.Time(t) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12837,7 +12449,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Name = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12850,7 +12461,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Port = ptr.Int32(int32(i64)) } - case "protocol": if value != nil { jtv, ok := value.(string) @@ -12859,12 +12469,10 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Protocol = types.TargetGroupProtocol(jtv) } - case "serviceArns": if err := awsRestjson1_deserializeDocumentServiceArnList(&sv.ServiceArns, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -12873,7 +12481,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Status = types.TargetGroupStatus(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -12882,7 +12489,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Type = types.TargetGroupType(jtv) } - case "vpcIdentifier": if value != nil { jtv, ok := value.(string) @@ -12891,7 +12497,6 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.VpcIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12965,7 +12570,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Id = ptr.String(jtv) } - case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12978,7 +12582,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Port = ptr.Int32(int32(i64)) } - case "reasonCode": if value != nil { jtv, ok := value.(string) @@ -12987,7 +12590,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.ReasonCode = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -12996,7 +12598,6 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Status = types.TargetStatus(jtv) } - default: _, _ = key, value @@ -13060,15 +12661,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13076,7 +12671,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -13085,7 +12679,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13098,7 +12691,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -13107,15 +12699,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13140,20 +12728,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13161,7 +12742,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -13170,15 +12750,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13213,7 +12789,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -13222,7 +12797,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13296,7 +12870,6 @@ func awsRestjson1_deserializeDocumentWeightedTargetGroup(v **types.WeightedTarge } sv.TargetGroupIdentifier = ptr.String(jtv) } - case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -13309,7 +12882,6 @@ func awsRestjson1_deserializeDocumentWeightedTargetGroup(v **types.WeightedTarge } sv.Weight = ptr.Int32(int32(i64)) } - default: _, _ = key, value diff --git a/service/waf/deserializers.go b/service/waf/deserializers.go index 5587f1213ff..be2a73bf64b 100644 --- a/service/waf/deserializers.go +++ b/service/waf/deserializers.go @@ -10162,17 +10162,14 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu if err := awsAwsjson11_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } - case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } - case "OverrideAction": if err := awsAwsjson11_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -10185,7 +10182,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -10194,7 +10190,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10203,7 +10198,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Type = types.WafRuleType(jtv) } - default: _, _ = key, value @@ -10277,12 +10271,10 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.ByteMatchSetId = ptr.String(jtv) } - case "ByteMatchTuples": if err := awsAwsjson11_deserializeDocumentByteMatchTuples(&sv.ByteMatchTuples, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10291,7 +10283,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10365,7 +10356,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.ByteMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10374,7 +10364,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10410,7 +10399,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -10419,7 +10407,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.PositionalConstraint = types.PositionalConstraint(jtv) } - case "TargetString": if value != nil { jtv, ok := value.(string) @@ -10432,7 +10419,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TargetString = dv } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -10441,7 +10427,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -10515,7 +10500,6 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -10589,7 +10573,6 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Data = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10598,7 +10581,6 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Type = types.MatchFieldType(jtv) } - default: _, _ = key, value @@ -10638,7 +10620,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Type = types.GeoMatchConstraintType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10647,7 +10628,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Value = types.GeoMatchConstraintValue(jtv) } - default: _, _ = key, value @@ -10717,7 +10697,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in if err := awsAwsjson11_deserializeDocumentGeoMatchConstraints(&sv.GeoMatchConstraints, value); err != nil { return err } - case "GeoMatchSetId": if value != nil { jtv, ok := value.(string) @@ -10726,7 +10705,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.GeoMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10735,7 +10713,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10809,7 +10786,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.GeoMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10818,7 +10794,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10858,7 +10833,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -10867,7 +10841,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -10941,7 +10914,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -10950,12 +10922,10 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } - case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } - case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -10964,7 +10934,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } - case "Method": if value != nil { jtv, ok := value.(string) @@ -10973,7 +10942,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -10982,7 +10950,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -11018,7 +10985,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPSetDescriptors(&sv.IPSetDescriptors, value); err != nil { return err } - case "IPSetId": if value != nil { jtv, ok := value.(string) @@ -11027,7 +10993,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11036,7 +11001,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11076,7 +11040,6 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Type = types.IPSetDescriptorType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11085,7 +11048,6 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11193,7 +11155,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.IPSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11202,7 +11163,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11274,12 +11234,10 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } - case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11288,7 +11246,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11398,7 +11355,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -11407,7 +11363,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11416,7 +11371,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Type = types.PredicateType(jtv) } - default: _, _ = key, value @@ -11486,7 +11440,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err := awsAwsjson11_deserializeDocumentPredicates(&sv.MatchPredicates, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -11495,7 +11448,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11504,7 +11456,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.Name = ptr.String(jtv) } - case "RateKey": if value != nil { jtv, ok := value.(string) @@ -11513,7 +11464,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateKey = types.RateKey(jtv) } - case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11526,7 +11476,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateLimit = ptr.Int64(i64) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -11535,7 +11484,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -11609,7 +11557,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.Name = ptr.String(jtv) } - case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11618,12 +11565,10 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.RegexMatchSetId = ptr.String(jtv) } - case "RegexMatchTuples": if err := awsAwsjson11_deserializeDocumentRegexMatchTuples(&sv.RegexMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -11697,7 +11642,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.Name = ptr.String(jtv) } - case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11706,7 +11650,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.RegexMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -11742,7 +11685,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11751,7 +11693,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.RegexPatternSetId = ptr.String(jtv) } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -11760,7 +11701,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -11834,7 +11774,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11843,12 +11782,10 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.RegexPatternSetId = ptr.String(jtv) } - case "RegexPatternStrings": if err := awsAwsjson11_deserializeDocumentRegexPatternStrings(&sv.RegexPatternStrings, value); err != nil { return err } - default: _, _ = key, value @@ -11922,7 +11859,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11931,7 +11867,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.RegexPatternSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12007,7 +11942,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12016,12 +11950,10 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Predicates": if err := awsAwsjson11_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12030,7 +11962,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -12070,7 +12001,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12079,7 +12009,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12088,7 +12017,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -12162,7 +12090,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12171,7 +12098,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -12245,7 +12171,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12254,7 +12179,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -12294,12 +12218,10 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } - case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } - case "RuleWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -12308,7 +12230,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleWithinRuleGroup = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -12324,7 +12245,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -12337,7 +12257,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } - default: _, _ = key, value @@ -12411,12 +12330,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12429,7 +12346,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.Size = i64 } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12438,7 +12354,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -12512,12 +12427,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.Name = ptr.String(jtv) } - case "SizeConstraints": if err := awsAwsjson11_deserializeDocumentSizeConstraints(&sv.SizeConstraints, value); err != nil { return err } - case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -12526,7 +12439,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.SizeConstraintSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12600,7 +12512,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.Name = ptr.String(jtv) } - case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -12609,7 +12520,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.SizeConstraintSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12649,7 +12559,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.Name = ptr.String(jtv) } - case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12658,12 +12567,10 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.SqlInjectionMatchSetId = ptr.String(jtv) } - case "SqlInjectionMatchTuples": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchTuples(&sv.SqlInjectionMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -12737,7 +12644,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.Name = ptr.String(jtv) } - case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12746,7 +12652,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.SqlInjectionMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12782,7 +12687,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12791,7 +12695,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -12899,7 +12802,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12908,7 +12810,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12917,7 +12818,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -12957,7 +12857,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12966,7 +12865,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13006,12 +12904,10 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -13092,7 +12988,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13108,7 +13003,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - default: _, _ = key, value @@ -13148,7 +13042,6 @@ func awsAwsjson11_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = types.WafActionType(jtv) } - default: _, _ = key, value @@ -13178,15 +13071,9 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13194,15 +13081,11 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13227,15 +13110,9 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13243,15 +13120,11 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13276,15 +13149,9 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13292,7 +13159,6 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.Message = ptr.String(jtv) } - case "MigrationErrorReason": if value != nil { jtv, ok := value.(string) @@ -13301,7 +13167,6 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorReason = ptr.String(jtv) } - case "MigrationErrorType": if value != nil { jtv, ok := value.(string) @@ -13310,15 +13175,11 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorType = types.MigrationErrorType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13343,15 +13204,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13359,15 +13214,11 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13392,22 +13243,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidAccountException(v **types.WAFInv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13432,15 +13274,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13448,15 +13284,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13481,13 +13313,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "field": if value != nil { @@ -13497,7 +13323,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } - case "parameter": if value != nil { jtv, ok := value.(string) @@ -13506,7 +13331,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -13515,15 +13339,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = types.ParameterExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13548,15 +13368,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13564,15 +13378,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13597,15 +13407,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13613,15 +13417,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13646,15 +13446,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13662,15 +13456,11 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13695,15 +13485,9 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13711,15 +13495,11 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13744,15 +13524,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13760,15 +13534,11 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13793,15 +13563,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13809,15 +13573,11 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13852,7 +13612,6 @@ func awsAwsjson11_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = types.WafOverrideActionType(jtv) } - default: _, _ = key, value @@ -13882,15 +13641,9 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13898,15 +13651,11 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13931,15 +13680,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13947,15 +13690,11 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13980,15 +13719,9 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13996,15 +13729,11 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14029,15 +13758,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14045,15 +13768,11 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14078,15 +13797,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14094,15 +13807,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14127,15 +13836,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14143,15 +13846,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14182,7 +13881,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) if err := awsAwsjson11_deserializeDocumentWafAction(&sv.DefaultAction, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -14191,7 +13889,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14200,12 +13897,10 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.Rules, value); err != nil { return err } - case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -14214,7 +13909,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLArn = ptr.String(jtv) } - case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14223,7 +13917,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLId = ptr.String(jtv) } - default: _, _ = key, value @@ -14297,7 +13990,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } - case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14306,7 +13998,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.WebACLId = ptr.String(jtv) } - default: _, _ = key, value @@ -14346,7 +14037,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.Name = ptr.String(jtv) } - case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14355,12 +14045,10 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.XssMatchSetId = ptr.String(jtv) } - case "XssMatchTuples": if err := awsAwsjson11_deserializeDocumentXssMatchTuples(&sv.XssMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -14434,7 +14122,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.Name = ptr.String(jtv) } - case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14443,7 +14130,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.XssMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -14479,7 +14165,6 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -14488,7 +14173,6 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -14558,7 +14242,6 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } - case "ChangeToken": if value != nil { jtv, ok := value.(string) @@ -14567,7 +14250,6 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -14607,12 +14289,10 @@ func awsAwsjson11_deserializeOpDocumentCreateGeoMatchSetOutput(v **CreateGeoMatc } sv.ChangeToken = ptr.String(jtv) } - case "GeoMatchSet": if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -14652,12 +14332,10 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - case "IPSet": if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } - default: _, _ = key, value @@ -14697,12 +14375,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRateBasedRuleOutput(v **CreateRateB } sv.ChangeToken = ptr.String(jtv) } - case "Rule": if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -14742,12 +14418,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexMatchSetOutput(v **CreateRegex } sv.ChangeToken = ptr.String(jtv) } - case "RegexMatchSet": if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -14787,12 +14461,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg } sv.ChangeToken = ptr.String(jtv) } - case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } - default: _, _ = key, value @@ -14832,12 +14504,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.ChangeToken = ptr.String(jtv) } - case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -14877,12 +14547,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - case "Rule": if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -14922,12 +14590,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSizeConstraintSetOutput(v **CreateS } sv.ChangeToken = ptr.String(jtv) } - case "SizeConstraintSet": if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } - default: _, _ = key, value @@ -14967,12 +14633,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSqlInjectionMatchSetOutput(v **Crea } sv.ChangeToken = ptr.String(jtv) } - case "SqlInjectionMatchSet": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15012,7 +14676,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLMigrationStackOutput(v **Crea } sv.S3ObjectUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -15052,12 +14715,10 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -15097,12 +14758,10 @@ func awsAwsjson11_deserializeOpDocumentCreateXssMatchSetOutput(v **CreateXssMatc } sv.ChangeToken = ptr.String(jtv) } - case "XssMatchSet": if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15142,7 +14801,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteByteMatchSetOutput(v **DeleteByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15182,7 +14840,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGeoMatchSetOutput(v **DeleteGeoMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15222,7 +14879,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteIPSetOutput(v **DeleteIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15324,7 +14980,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRateBasedRuleOutput(v **DeleteRateB } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15364,7 +15019,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexMatchSetOutput(v **DeleteRegex } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15404,7 +15058,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexPatternSetOutput(v **DeleteReg } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15444,7 +15097,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15484,7 +15136,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleOutput(v **DeleteRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15524,7 +15175,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSizeConstraintSetOutput(v **DeleteS } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15564,7 +15214,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSqlInjectionMatchSetOutput(v **Dele } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15604,7 +15253,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteWebACLOutput(v **DeleteWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15644,7 +15292,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteXssMatchSetOutput(v **DeleteXssMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15680,7 +15327,6 @@ func awsAwsjson11_deserializeOpDocumentGetByteMatchSetOutput(v **GetByteMatchSet if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15720,7 +15366,6 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenOutput(v **GetChangeTokenOu } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15760,7 +15405,6 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenStatusOutput(v **GetChangeT } sv.ChangeTokenStatus = types.ChangeTokenStatus(jtv) } - default: _, _ = key, value @@ -15796,7 +15440,6 @@ func awsAwsjson11_deserializeOpDocumentGetGeoMatchSetOutput(v **GetGeoMatchSetOu if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15832,7 +15475,6 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } - default: _, _ = key, value @@ -15868,7 +15510,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -15908,7 +15549,6 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -15944,7 +15584,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get if err := awsAwsjson11_deserializeDocumentManagedKeys(&sv.ManagedKeys, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -15953,7 +15592,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -15989,7 +15627,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleOutput(v **GetRateBasedRu if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -16025,7 +15662,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegexMatchSetOutput(v **GetRegexMatchS if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16061,7 +15697,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } - default: _, _ = key, value @@ -16097,7 +15732,6 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -16133,7 +15767,6 @@ func awsAwsjson11_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -16177,17 +15810,14 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } - case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } - case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } - default: _, _ = key, value @@ -16223,7 +15853,6 @@ func awsAwsjson11_deserializeOpDocumentGetSizeConstraintSetOutput(v **GetSizeCon if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } - default: _, _ = key, value @@ -16259,7 +15888,6 @@ func awsAwsjson11_deserializeOpDocumentGetSqlInjectionMatchSetOutput(v **GetSqlI if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16295,7 +15923,6 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -16331,7 +15958,6 @@ func awsAwsjson11_deserializeOpDocumentGetXssMatchSetOutput(v **GetXssMatchSetOu if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16367,7 +15993,6 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.ActivatedRules, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16376,7 +16001,6 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16412,7 +16036,6 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch if err := awsAwsjson11_deserializeDocumentByteMatchSetSummaries(&sv.ByteMatchSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16421,7 +16044,6 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16457,7 +16079,6 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe if err := awsAwsjson11_deserializeDocumentGeoMatchSetSummaries(&sv.GeoMatchSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16466,7 +16087,6 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16502,7 +16122,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16511,7 +16130,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16547,7 +16165,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16556,7 +16173,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16596,12 +16212,10 @@ func awsAwsjson11_deserializeOpDocumentListRateBasedRulesOutput(v **ListRateBase } sv.NextMarker = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -16641,12 +16255,10 @@ func awsAwsjson11_deserializeOpDocumentListRegexMatchSetsOutput(v **ListRegexMat } sv.NextMarker = ptr.String(jtv) } - case "RegexMatchSets": if err := awsAwsjson11_deserializeDocumentRegexMatchSetSummaries(&sv.RegexMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -16686,12 +16298,10 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } - case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } - default: _, _ = key, value @@ -16731,12 +16341,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -16776,12 +16384,10 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextMarker = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -16821,12 +16427,10 @@ func awsAwsjson11_deserializeOpDocumentListSizeConstraintSetsOutput(v **ListSize } sv.NextMarker = ptr.String(jtv) } - case "SizeConstraintSets": if err := awsAwsjson11_deserializeDocumentSizeConstraintSetSummaries(&sv.SizeConstraintSets, value); err != nil { return err } - default: _, _ = key, value @@ -16866,12 +16470,10 @@ func awsAwsjson11_deserializeOpDocumentListSqlInjectionMatchSetsOutput(v **ListS } sv.NextMarker = ptr.String(jtv) } - case "SqlInjectionMatchSets": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummaries(&sv.SqlInjectionMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -16911,12 +16513,10 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedRuleGroupsOutput(v **ListSu } sv.NextMarker = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -16956,12 +16556,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } - case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } - default: _, _ = key, value @@ -17001,12 +16599,10 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } - case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } - default: _, _ = key, value @@ -17046,12 +16642,10 @@ func awsAwsjson11_deserializeOpDocumentListXssMatchSetsOutput(v **ListXssMatchSe } sv.NextMarker = ptr.String(jtv) } - case "XssMatchSets": if err := awsAwsjson11_deserializeDocumentXssMatchSetSummaries(&sv.XssMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -17087,7 +16681,6 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17220,7 +16813,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateByteMatchSetOutput(v **UpdateByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17260,7 +16852,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGeoMatchSetOutput(v **UpdateGeoMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17300,7 +16891,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17340,7 +16930,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRateBasedRuleOutput(v **UpdateRateB } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17380,7 +16969,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexMatchSetOutput(v **UpdateRegex } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17420,7 +17008,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17460,7 +17047,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17500,7 +17086,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17540,7 +17125,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSizeConstraintSetOutput(v **UpdateS } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17580,7 +17164,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSqlInjectionMatchSetOutput(v **Upda } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17620,7 +17203,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17660,7 +17242,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateXssMatchSetOutput(v **UpdateXssMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/wafregional/deserializers.go b/service/wafregional/deserializers.go index 99dfa834596..9ff5d457155 100644 --- a/service/wafregional/deserializers.go +++ b/service/wafregional/deserializers.go @@ -10683,17 +10683,14 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu if err := awsAwsjson11_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } - case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } - case "OverrideAction": if err := awsAwsjson11_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -10706,7 +10703,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Priority = ptr.Int32(int32(i64)) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -10715,7 +10711,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.RuleId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10724,7 +10719,6 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Type = types.WafRuleType(jtv) } - default: _, _ = key, value @@ -10798,12 +10792,10 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.ByteMatchSetId = ptr.String(jtv) } - case "ByteMatchTuples": if err := awsAwsjson11_deserializeDocumentByteMatchTuples(&sv.ByteMatchTuples, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10812,7 +10804,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10886,7 +10877,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.ByteMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10895,7 +10885,6 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10931,7 +10920,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -10940,7 +10928,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.PositionalConstraint = types.PositionalConstraint(jtv) } - case "TargetString": if value != nil { jtv, ok := value.(string) @@ -10953,7 +10940,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TargetString = dv } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -10962,7 +10948,6 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -11036,7 +11021,6 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -11110,7 +11094,6 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Data = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11119,7 +11102,6 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Type = types.MatchFieldType(jtv) } - default: _, _ = key, value @@ -11159,7 +11141,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Type = types.GeoMatchConstraintType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11168,7 +11149,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Value = types.GeoMatchConstraintValue(jtv) } - default: _, _ = key, value @@ -11238,7 +11218,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in if err := awsAwsjson11_deserializeDocumentGeoMatchConstraints(&sv.GeoMatchConstraints, value); err != nil { return err } - case "GeoMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11247,7 +11226,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.GeoMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11256,7 +11234,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11330,7 +11307,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.GeoMatchSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11339,7 +11315,6 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11379,7 +11354,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11388,7 +11362,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11462,7 +11435,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -11471,12 +11443,10 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } - case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } - case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -11485,7 +11455,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } - case "Method": if value != nil { jtv, ok := value.(string) @@ -11494,7 +11463,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -11503,7 +11471,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -11539,7 +11506,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPSetDescriptors(&sv.IPSetDescriptors, value); err != nil { return err } - case "IPSetId": if value != nil { jtv, ok := value.(string) @@ -11548,7 +11514,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11557,7 +11522,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11597,7 +11561,6 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Type = types.IPSetDescriptorType(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11606,7 +11569,6 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11714,7 +11676,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.IPSetId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11723,7 +11684,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11795,12 +11755,10 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } - case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11809,7 +11767,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11919,7 +11876,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.DataId = ptr.String(jtv) } - case "Negated": if value != nil { jtv, ok := value.(bool) @@ -11928,7 +11884,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Negated = ptr.Bool(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11937,7 +11892,6 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Type = types.PredicateType(jtv) } - default: _, _ = key, value @@ -12007,7 +11961,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err := awsAwsjson11_deserializeDocumentPredicates(&sv.MatchPredicates, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -12016,7 +11969,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12025,7 +11977,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.Name = ptr.String(jtv) } - case "RateKey": if value != nil { jtv, ok := value.(string) @@ -12034,7 +11985,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateKey = types.RateKey(jtv) } - case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -12047,7 +11997,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateLimit = ptr.Int64(i64) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12056,7 +12005,6 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -12130,7 +12078,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.Name = ptr.String(jtv) } - case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12139,12 +12086,10 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.RegexMatchSetId = ptr.String(jtv) } - case "RegexMatchTuples": if err := awsAwsjson11_deserializeDocumentRegexMatchTuples(&sv.RegexMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -12218,7 +12163,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.Name = ptr.String(jtv) } - case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12227,7 +12171,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.RegexMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12263,7 +12206,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12272,7 +12214,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.RegexPatternSetId = ptr.String(jtv) } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12281,7 +12222,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -12355,7 +12295,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12364,12 +12303,10 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.RegexPatternSetId = ptr.String(jtv) } - case "RegexPatternStrings": if err := awsAwsjson11_deserializeDocumentRegexPatternStrings(&sv.RegexPatternStrings, value); err != nil { return err } - default: _, _ = key, value @@ -12443,7 +12380,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } - case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12452,7 +12388,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.RegexPatternSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -12564,7 +12499,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12573,12 +12507,10 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Predicates": if err := awsAwsjson11_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12587,7 +12519,6 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -12627,7 +12558,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12636,7 +12566,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12645,7 +12574,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -12719,7 +12647,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12728,7 +12655,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -12802,7 +12728,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } - case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12811,7 +12736,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -12851,12 +12775,10 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } - case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } - case "RuleWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -12865,7 +12787,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleWithinRuleGroup = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -12881,7 +12802,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -12894,7 +12814,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } - default: _, _ = key, value @@ -12968,12 +12887,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12986,7 +12903,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.Size = i64 } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12995,7 +12911,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -13069,12 +12984,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.Name = ptr.String(jtv) } - case "SizeConstraints": if err := awsAwsjson11_deserializeDocumentSizeConstraints(&sv.SizeConstraints, value); err != nil { return err } - case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -13083,7 +12996,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.SizeConstraintSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -13157,7 +13069,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.Name = ptr.String(jtv) } - case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -13166,7 +13077,6 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.SizeConstraintSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -13206,7 +13116,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.Name = ptr.String(jtv) } - case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -13215,12 +13124,10 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.SqlInjectionMatchSetId = ptr.String(jtv) } - case "SqlInjectionMatchTuples": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchTuples(&sv.SqlInjectionMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -13294,7 +13201,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.Name = ptr.String(jtv) } - case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -13303,7 +13209,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.SqlInjectionMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -13339,7 +13244,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -13348,7 +13252,6 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -13456,7 +13359,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13465,7 +13367,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.Name = ptr.String(jtv) } - case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -13474,7 +13375,6 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.RuleGroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -13514,7 +13414,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -13523,7 +13422,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -13563,12 +13461,10 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -13649,7 +13545,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13665,7 +13560,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - default: _, _ = key, value @@ -13705,7 +13599,6 @@ func awsAwsjson11_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = types.WafActionType(jtv) } - default: _, _ = key, value @@ -13735,15 +13628,9 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13751,15 +13638,11 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13784,15 +13667,9 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13800,15 +13677,11 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13833,15 +13706,9 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13849,7 +13716,6 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.Message = ptr.String(jtv) } - case "MigrationErrorReason": if value != nil { jtv, ok := value.(string) @@ -13858,7 +13724,6 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorReason = ptr.String(jtv) } - case "MigrationErrorType": if value != nil { jtv, ok := value.(string) @@ -13867,15 +13732,11 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorType = types.MigrationErrorType(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13900,15 +13761,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13916,15 +13771,11 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13949,22 +13800,13 @@ func awsAwsjson11_deserializeDocumentWAFInvalidAccountException(v **types.WAFInv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13989,15 +13831,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14005,15 +13841,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14038,13 +13870,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "field": if value != nil { @@ -14054,7 +13880,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } - case "parameter": if value != nil { jtv, ok := value.(string) @@ -14063,7 +13888,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -14072,15 +13896,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = types.ParameterExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14105,15 +13925,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14121,15 +13935,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14154,15 +13964,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14170,15 +13974,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14203,15 +14003,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14219,15 +14013,11 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14252,15 +14042,9 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14268,15 +14052,11 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14301,15 +14081,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14317,15 +14091,11 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14350,15 +14120,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14366,15 +14130,11 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14409,7 +14169,6 @@ func awsAwsjson11_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = types.WafOverrideActionType(jtv) } - default: _, _ = key, value @@ -14439,15 +14198,9 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14455,15 +14208,11 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14488,15 +14237,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14504,15 +14247,11 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14537,15 +14276,9 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14553,15 +14286,11 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14586,15 +14315,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14602,15 +14325,11 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14635,15 +14354,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14651,15 +14364,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14684,15 +14393,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14700,15 +14403,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14733,15 +14432,9 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14749,15 +14442,11 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14788,7 +14477,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) if err := awsAwsjson11_deserializeDocumentWafAction(&sv.DefaultAction, value); err != nil { return err } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -14797,7 +14485,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.MetricName = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14806,12 +14493,10 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.Rules, value); err != nil { return err } - case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -14820,7 +14505,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLArn = ptr.String(jtv) } - case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14829,7 +14513,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLId = ptr.String(jtv) } - default: _, _ = key, value @@ -14903,7 +14586,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } - case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14912,7 +14594,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.WebACLId = ptr.String(jtv) } - default: _, _ = key, value @@ -14952,7 +14633,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.Name = ptr.String(jtv) } - case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14961,12 +14641,10 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.XssMatchSetId = ptr.String(jtv) } - case "XssMatchTuples": if err := awsAwsjson11_deserializeDocumentXssMatchTuples(&sv.XssMatchTuples, value); err != nil { return err } - default: _, _ = key, value @@ -15040,7 +14718,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.Name = ptr.String(jtv) } - case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -15049,7 +14726,6 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.XssMatchSetId = ptr.String(jtv) } - default: _, _ = key, value @@ -15085,7 +14761,6 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -15094,7 +14769,6 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu } sv.TextTransformation = types.TextTransformation(jtv) } - default: _, _ = key, value @@ -15195,7 +14869,6 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } - case "ChangeToken": if value != nil { jtv, ok := value.(string) @@ -15204,7 +14877,6 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15244,12 +14916,10 @@ func awsAwsjson11_deserializeOpDocumentCreateGeoMatchSetOutput(v **CreateGeoMatc } sv.ChangeToken = ptr.String(jtv) } - case "GeoMatchSet": if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15289,12 +14959,10 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - case "IPSet": if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } - default: _, _ = key, value @@ -15334,12 +15002,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRateBasedRuleOutput(v **CreateRateB } sv.ChangeToken = ptr.String(jtv) } - case "Rule": if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -15379,12 +15045,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexMatchSetOutput(v **CreateRegex } sv.ChangeToken = ptr.String(jtv) } - case "RegexMatchSet": if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15424,12 +15088,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg } sv.ChangeToken = ptr.String(jtv) } - case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } - default: _, _ = key, value @@ -15469,12 +15131,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.ChangeToken = ptr.String(jtv) } - case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -15514,12 +15174,10 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - case "Rule": if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -15559,12 +15217,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSizeConstraintSetOutput(v **CreateS } sv.ChangeToken = ptr.String(jtv) } - case "SizeConstraintSet": if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } - default: _, _ = key, value @@ -15604,12 +15260,10 @@ func awsAwsjson11_deserializeOpDocumentCreateSqlInjectionMatchSetOutput(v **Crea } sv.ChangeToken = ptr.String(jtv) } - case "SqlInjectionMatchSet": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15649,7 +15303,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLMigrationStackOutput(v **Crea } sv.S3ObjectUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -15689,12 +15342,10 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -15734,12 +15385,10 @@ func awsAwsjson11_deserializeOpDocumentCreateXssMatchSetOutput(v **CreateXssMatc } sv.ChangeToken = ptr.String(jtv) } - case "XssMatchSet": if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -15779,7 +15428,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteByteMatchSetOutput(v **DeleteByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15819,7 +15467,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteGeoMatchSetOutput(v **DeleteGeoMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15859,7 +15506,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteIPSetOutput(v **DeleteIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -15961,7 +15607,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRateBasedRuleOutput(v **DeleteRateB } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16001,7 +15646,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexMatchSetOutput(v **DeleteRegex } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16041,7 +15685,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexPatternSetOutput(v **DeleteReg } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16081,7 +15724,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16121,7 +15763,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleOutput(v **DeleteRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16161,7 +15802,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSizeConstraintSetOutput(v **DeleteS } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16201,7 +15841,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteSqlInjectionMatchSetOutput(v **Dele } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16241,7 +15880,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteWebACLOutput(v **DeleteWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16281,7 +15919,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteXssMatchSetOutput(v **DeleteXssMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16348,7 +15985,6 @@ func awsAwsjson11_deserializeOpDocumentGetByteMatchSetOutput(v **GetByteMatchSet if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16388,7 +16024,6 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenOutput(v **GetChangeTokenOu } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -16428,7 +16063,6 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenStatusOutput(v **GetChangeT } sv.ChangeTokenStatus = types.ChangeTokenStatus(jtv) } - default: _, _ = key, value @@ -16464,7 +16098,6 @@ func awsAwsjson11_deserializeOpDocumentGetGeoMatchSetOutput(v **GetGeoMatchSetOu if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16500,7 +16133,6 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } - default: _, _ = key, value @@ -16536,7 +16168,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -16576,7 +16207,6 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -16612,7 +16242,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get if err := awsAwsjson11_deserializeDocumentManagedKeys(&sv.ManagedKeys, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16621,7 +16250,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -16657,7 +16285,6 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleOutput(v **GetRateBasedRu if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -16693,7 +16320,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegexMatchSetOutput(v **GetRegexMatchS if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16729,7 +16355,6 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } - default: _, _ = key, value @@ -16765,7 +16390,6 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -16801,7 +16425,6 @@ func awsAwsjson11_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } - default: _, _ = key, value @@ -16845,17 +16468,14 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } - case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } - case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } - default: _, _ = key, value @@ -16891,7 +16511,6 @@ func awsAwsjson11_deserializeOpDocumentGetSizeConstraintSetOutput(v **GetSizeCon if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } - default: _, _ = key, value @@ -16927,7 +16546,6 @@ func awsAwsjson11_deserializeOpDocumentGetSqlInjectionMatchSetOutput(v **GetSqlI if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -16963,7 +16581,6 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLForResourceOutput(v **GetWebACLF if err := awsAwsjson11_deserializeDocumentWebACLSummary(&sv.WebACLSummary, value); err != nil { return err } - default: _, _ = key, value @@ -16999,7 +16616,6 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -17035,7 +16651,6 @@ func awsAwsjson11_deserializeOpDocumentGetXssMatchSetOutput(v **GetXssMatchSetOu if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } - default: _, _ = key, value @@ -17071,7 +16686,6 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.ActivatedRules, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17080,7 +16694,6 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17116,7 +16729,6 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch if err := awsAwsjson11_deserializeDocumentByteMatchSetSummaries(&sv.ByteMatchSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17125,7 +16737,6 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17161,7 +16772,6 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe if err := awsAwsjson11_deserializeDocumentGeoMatchSetSummaries(&sv.GeoMatchSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17170,7 +16780,6 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17206,7 +16815,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17215,7 +16823,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17251,7 +16858,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17260,7 +16866,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -17300,12 +16905,10 @@ func awsAwsjson11_deserializeOpDocumentListRateBasedRulesOutput(v **ListRateBase } sv.NextMarker = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -17345,12 +16948,10 @@ func awsAwsjson11_deserializeOpDocumentListRegexMatchSetsOutput(v **ListRegexMat } sv.NextMarker = ptr.String(jtv) } - case "RegexMatchSets": if err := awsAwsjson11_deserializeDocumentRegexMatchSetSummaries(&sv.RegexMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -17390,12 +16991,10 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } - case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } - default: _, _ = key, value @@ -17431,7 +17030,6 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForWebACLOutput(v **ListReso if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } - default: _, _ = key, value @@ -17471,12 +17069,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -17516,12 +17112,10 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextMarker = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -17561,12 +17155,10 @@ func awsAwsjson11_deserializeOpDocumentListSizeConstraintSetsOutput(v **ListSize } sv.NextMarker = ptr.String(jtv) } - case "SizeConstraintSets": if err := awsAwsjson11_deserializeDocumentSizeConstraintSetSummaries(&sv.SizeConstraintSets, value); err != nil { return err } - default: _, _ = key, value @@ -17606,12 +17198,10 @@ func awsAwsjson11_deserializeOpDocumentListSqlInjectionMatchSetsOutput(v **ListS } sv.NextMarker = ptr.String(jtv) } - case "SqlInjectionMatchSets": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummaries(&sv.SqlInjectionMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -17651,12 +17241,10 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedRuleGroupsOutput(v **ListSu } sv.NextMarker = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -17696,12 +17284,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } - case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } - default: _, _ = key, value @@ -17741,12 +17327,10 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } - case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } - default: _, _ = key, value @@ -17786,12 +17370,10 @@ func awsAwsjson11_deserializeOpDocumentListXssMatchSetsOutput(v **ListXssMatchSe } sv.NextMarker = ptr.String(jtv) } - case "XssMatchSets": if err := awsAwsjson11_deserializeDocumentXssMatchSetSummaries(&sv.XssMatchSets, value); err != nil { return err } - default: _, _ = key, value @@ -17827,7 +17409,6 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17960,7 +17541,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateByteMatchSetOutput(v **UpdateByteMa } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18000,7 +17580,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateGeoMatchSetOutput(v **UpdateGeoMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18040,7 +17619,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18080,7 +17658,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRateBasedRuleOutput(v **UpdateRateB } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18120,7 +17697,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexMatchSetOutput(v **UpdateRegex } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18160,7 +17736,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18200,7 +17775,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18240,7 +17814,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18280,7 +17853,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSizeConstraintSetOutput(v **UpdateS } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18320,7 +17892,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateSqlInjectionMatchSetOutput(v **Upda } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18360,7 +17931,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18400,7 +17970,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateXssMatchSetOutput(v **UpdateXssMatc } sv.ChangeToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/wafv2/deserializers.go b/service/wafv2/deserializers.go index e97db0d14bd..dcb0c939975 100644 --- a/service/wafv2/deserializers.go +++ b/service/wafv2/deserializers.go @@ -7430,7 +7430,6 @@ func awsAwsjson11_deserializeDocumentActionCondition(v **types.ActionCondition, } sv.Action = types.ActionValue(jtv) } - default: _, _ = key, value @@ -7470,7 +7469,6 @@ func awsAwsjson11_deserializeDocumentAddressField(v **types.AddressField, value } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -7571,7 +7569,6 @@ func awsAwsjson11_deserializeDocumentAllowAction(v **types.AllowAction, value in if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -7638,7 +7635,6 @@ func awsAwsjson11_deserializeDocumentAndStatement(v **types.AndStatement, value if err := awsAwsjson11_deserializeDocumentStatements(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -7712,7 +7708,6 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } sv.APIKey = ptr.String(jtv) } - case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -7728,12 +7723,10 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } } - case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -7746,7 +7739,6 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } sv.Version = int32(i64) } - default: _, _ = key, value @@ -7782,7 +7774,6 @@ func awsAwsjson11_deserializeDocumentAssociationConfig(v **types.AssociationConf if err := awsAwsjson11_deserializeDocumentRequestBody(&sv.RequestBody, value); err != nil { return err } - default: _, _ = key, value @@ -7822,7 +7813,6 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.CreationPath = ptr.String(jtv) } - case "EnableRegexInPath": if value != nil { jtv, ok := value.(bool) @@ -7831,7 +7821,6 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.EnableRegexInPath = jtv } - case "RegistrationPagePath": if value != nil { jtv, ok := value.(string) @@ -7840,17 +7829,14 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.RegistrationPagePath = ptr.String(jtv) } - case "RequestInspection": if err := awsAwsjson11_deserializeDocumentRequestInspectionACFP(&sv.RequestInspection, value); err != nil { return err } - case "ResponseInspection": if err := awsAwsjson11_deserializeDocumentResponseInspection(&sv.ResponseInspection, value); err != nil { return err } - default: _, _ = key, value @@ -7890,7 +7876,6 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(v **types.AWSMana } sv.EnableRegexInPath = jtv } - case "LoginPath": if value != nil { jtv, ok := value.(string) @@ -7899,17 +7884,14 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(v **types.AWSMana } sv.LoginPath = ptr.String(jtv) } - case "RequestInspection": if err := awsAwsjson11_deserializeDocumentRequestInspection(&sv.RequestInspection, value); err != nil { return err } - case "ResponseInspection": if err := awsAwsjson11_deserializeDocumentResponseInspection(&sv.ResponseInspection, value); err != nil { return err } - default: _, _ = key, value @@ -7949,7 +7931,6 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(v **types. } sv.EnableMachineLearning = ptr.Bool(jtv) } - case "InspectionLevel": if value != nil { jtv, ok := value.(string) @@ -7958,7 +7939,6 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(v **types. } sv.InspectionLevel = types.InspectionLevel(jtv) } - default: _, _ = key, value @@ -7994,7 +7974,6 @@ func awsAwsjson11_deserializeDocumentBlockAction(v **types.BlockAction, value in if err := awsAwsjson11_deserializeDocumentCustomResponse(&sv.CustomResponse, value); err != nil { return err } - default: _, _ = key, value @@ -8034,7 +8013,6 @@ func awsAwsjson11_deserializeDocumentBody(v **types.Body, value interface{}) err } sv.OversizeHandling = types.OversizeHandling(jtv) } - default: _, _ = key, value @@ -8070,7 +8048,6 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -8079,7 +8056,6 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState } sv.PositionalConstraint = types.PositionalConstraint(jtv) } - case "SearchString": if value != nil { jtv, ok := value.(string) @@ -8092,12 +8068,10 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState } sv.SearchString = dv } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -8133,7 +8107,6 @@ func awsAwsjson11_deserializeDocumentCaptchaAction(v **types.CaptchaAction, valu if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -8169,7 +8142,6 @@ func awsAwsjson11_deserializeDocumentCaptchaConfig(v **types.CaptchaConfig, valu if err := awsAwsjson11_deserializeDocumentImmunityTimeProperty(&sv.ImmunityTimeProperty, value); err != nil { return err } - default: _, _ = key, value @@ -8209,7 +8181,6 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.FailureReason = types.FailureReason(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8222,7 +8193,6 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.ResponseCode = ptr.Int32(int32(i64)) } - case "SolveTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8235,7 +8205,6 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.SolveTimestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -8271,7 +8240,6 @@ func awsAwsjson11_deserializeDocumentChallengeAction(v **types.ChallengeAction, if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -8307,7 +8275,6 @@ func awsAwsjson11_deserializeDocumentChallengeConfig(v **types.ChallengeConfig, if err := awsAwsjson11_deserializeDocumentImmunityTimeProperty(&sv.ImmunityTimeProperty, value); err != nil { return err } - default: _, _ = key, value @@ -8347,7 +8314,6 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.FailureReason = types.FailureReason(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8360,7 +8326,6 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.ResponseCode = ptr.Int32(int32(i64)) } - case "SolveTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8373,7 +8338,6 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.SolveTimestamp = ptr.Int64(i64) } - default: _, _ = key, value @@ -8409,12 +8373,10 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf if err := awsAwsjson11_deserializeDocumentActionCondition(&sv.ActionCondition, value); err != nil { return err } - case "LabelNameCondition": if err := awsAwsjson11_deserializeDocumentLabelNameCondition(&sv.LabelNameCondition, value); err != nil { return err } - default: _, _ = key, value @@ -8484,17 +8446,14 @@ func awsAwsjson11_deserializeDocumentCookieMatchPattern(v **types.CookieMatchPat if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } - case "ExcludedCookies": if err := awsAwsjson11_deserializeDocumentCookieNames(&sv.ExcludedCookies, value); err != nil { return err } - case "IncludedCookies": if err := awsAwsjson11_deserializeDocumentCookieNames(&sv.IncludedCookies, value); err != nil { return err } - default: _, _ = key, value @@ -8566,7 +8525,6 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ if err := awsAwsjson11_deserializeDocumentCookieMatchPattern(&sv.MatchPattern, value); err != nil { return err } - case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -8575,7 +8533,6 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ } sv.MatchScope = types.MapMatchScope(jtv) } - case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -8584,7 +8541,6 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ } sv.OversizeHandling = types.OversizeHandling(jtv) } - default: _, _ = key, value @@ -8620,7 +8576,6 @@ func awsAwsjson11_deserializeDocumentCountAction(v **types.CountAction, value in if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } - default: _, _ = key, value @@ -8696,7 +8651,6 @@ func awsAwsjson11_deserializeDocumentCustomHTTPHeader(v **types.CustomHTTPHeader } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -8705,7 +8659,6 @@ func awsAwsjson11_deserializeDocumentCustomHTTPHeader(v **types.CustomHTTPHeader } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -8775,7 +8728,6 @@ func awsAwsjson11_deserializeDocumentCustomRequestHandling(v **types.CustomReque if err := awsAwsjson11_deserializeDocumentCustomHTTPHeaders(&sv.InsertHeaders, value); err != nil { return err } - default: _, _ = key, value @@ -8815,7 +8767,6 @@ func awsAwsjson11_deserializeDocumentCustomResponse(v **types.CustomResponse, va } sv.CustomResponseBodyKey = ptr.String(jtv) } - case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8828,12 +8779,10 @@ func awsAwsjson11_deserializeDocumentCustomResponse(v **types.CustomResponse, va } sv.ResponseCode = ptr.Int32(int32(i64)) } - case "ResponseHeaders": if err := awsAwsjson11_deserializeDocumentCustomHTTPHeaders(&sv.ResponseHeaders, value); err != nil { return err } - default: _, _ = key, value @@ -8908,7 +8857,6 @@ func awsAwsjson11_deserializeDocumentCustomResponseBody(v **types.CustomResponse } sv.Content = ptr.String(jtv) } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -8917,7 +8865,6 @@ func awsAwsjson11_deserializeDocumentCustomResponseBody(v **types.CustomResponse } sv.ContentType = types.ResponseContentType(jtv) } - default: _, _ = key, value @@ -8953,12 +8900,10 @@ func awsAwsjson11_deserializeDocumentDefaultAction(v **types.DefaultAction, valu if err := awsAwsjson11_deserializeDocumentAllowAction(&sv.Allow, value); err != nil { return err } - case "Block": if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } - default: _, _ = key, value @@ -8998,7 +8943,6 @@ func awsAwsjson11_deserializeDocumentEmailField(v **types.EmailField, value inte } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -9038,7 +8982,6 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9108,62 +9051,50 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value if err := awsAwsjson11_deserializeDocumentAllQueryArguments(&sv.AllQueryArguments, value); err != nil { return err } - case "Body": if err := awsAwsjson11_deserializeDocumentBody(&sv.Body, value); err != nil { return err } - case "Cookies": if err := awsAwsjson11_deserializeDocumentCookies(&sv.Cookies, value); err != nil { return err } - case "HeaderOrder": if err := awsAwsjson11_deserializeDocumentHeaderOrder(&sv.HeaderOrder, value); err != nil { return err } - case "Headers": if err := awsAwsjson11_deserializeDocumentHeaders(&sv.Headers, value); err != nil { return err } - case "JA3Fingerprint": if err := awsAwsjson11_deserializeDocumentJA3Fingerprint(&sv.JA3Fingerprint, value); err != nil { return err } - case "JsonBody": if err := awsAwsjson11_deserializeDocumentJsonBody(&sv.JsonBody, value); err != nil { return err } - case "Method": if err := awsAwsjson11_deserializeDocumentMethod(&sv.Method, value); err != nil { return err } - case "QueryString": if err := awsAwsjson11_deserializeDocumentQueryString(&sv.QueryString, value); err != nil { return err } - case "SingleHeader": if err := awsAwsjson11_deserializeDocumentSingleHeader(&sv.SingleHeader, value); err != nil { return err } - case "SingleQueryArgument": if err := awsAwsjson11_deserializeDocumentSingleQueryArgument(&sv.SingleQueryArgument, value); err != nil { return err } - case "UriPath": if err := awsAwsjson11_deserializeDocumentUriPath(&sv.UriPath, value); err != nil { return err } - default: _, _ = key, value @@ -9203,12 +9134,10 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Behavior = types.FilterBehavior(jtv) } - case "Conditions": if err := awsAwsjson11_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } - case "Requirement": if value != nil { jtv, ok := value.(string) @@ -9217,7 +9146,6 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Requirement = types.FilterRequirement(jtv) } - default: _, _ = key, value @@ -9287,7 +9215,6 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall if err := awsAwsjson11_deserializeDocumentFirewallManagerStatement(&sv.FirewallManagerStatement, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9296,12 +9223,10 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall } sv.Name = ptr.String(jtv) } - case "OverrideAction": if err := awsAwsjson11_deserializeDocumentOverrideAction(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -9314,12 +9239,10 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall } sv.Priority = int32(i64) } - case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -9389,12 +9312,10 @@ func awsAwsjson11_deserializeDocumentFirewallManagerStatement(v **types.Firewall if err := awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(&sv.ManagedRuleGroupStatement, value); err != nil { return err } - case "RuleGroupReferenceStatement": if err := awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(&sv.RuleGroupReferenceStatement, value); err != nil { return err } - default: _, _ = key, value @@ -9434,7 +9355,6 @@ func awsAwsjson11_deserializeDocumentForwardedIPConfig(v **types.ForwardedIPConf } sv.FallbackBehavior = types.FallbackBehavior(jtv) } - case "HeaderName": if value != nil { jtv, ok := value.(string) @@ -9443,7 +9363,6 @@ func awsAwsjson11_deserializeDocumentForwardedIPConfig(v **types.ForwardedIPConf } sv.HeaderName = ptr.String(jtv) } - default: _, _ = key, value @@ -9479,12 +9398,10 @@ func awsAwsjson11_deserializeDocumentGeoMatchStatement(v **types.GeoMatchStateme if err := awsAwsjson11_deserializeDocumentCountryCodes(&sv.CountryCodes, value); err != nil { return err } - case "ForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentForwardedIPConfig(&sv.ForwardedIPConfig, value); err != nil { return err } - default: _, _ = key, value @@ -9520,17 +9437,14 @@ func awsAwsjson11_deserializeDocumentHeaderMatchPattern(v **types.HeaderMatchPat if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } - case "ExcludedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderNames(&sv.ExcludedHeaders, value); err != nil { return err } - case "IncludedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderNames(&sv.IncludedHeaders, value); err != nil { return err } - default: _, _ = key, value @@ -9606,7 +9520,6 @@ func awsAwsjson11_deserializeDocumentHeaderOrder(v **types.HeaderOrder, value in } sv.OversizeHandling = types.OversizeHandling(jtv) } - default: _, _ = key, value @@ -9642,7 +9555,6 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ if err := awsAwsjson11_deserializeDocumentHeaderMatchPattern(&sv.MatchPattern, value); err != nil { return err } - case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -9651,7 +9563,6 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ } sv.MatchScope = types.MapMatchScope(jtv) } - case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -9660,7 +9571,6 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ } sv.OversizeHandling = types.OversizeHandling(jtv) } - default: _, _ = key, value @@ -9700,7 +9610,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9709,7 +9618,6 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9783,7 +9691,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -9792,12 +9699,10 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } - case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } - case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -9806,7 +9711,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } - case "Method": if value != nil { jtv, ok := value.(string) @@ -9815,7 +9719,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } - case "URI": if value != nil { jtv, ok := value.(string) @@ -9824,7 +9727,6 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } - default: _, _ = key, value @@ -9868,7 +9770,6 @@ func awsAwsjson11_deserializeDocumentImmunityTimeProperty(v **types.ImmunityTime } sv.ImmunityTime = ptr.Int64(i64) } - default: _, _ = key, value @@ -9940,7 +9841,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPAddresses(&sv.Addresses, value); err != nil { return err } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -9949,7 +9849,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9958,7 +9857,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9967,7 +9865,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Id = ptr.String(jtv) } - case "IPAddressVersion": if value != nil { jtv, ok := value.(string) @@ -9976,7 +9873,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPAddressVersion = types.IPAddressVersion(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9985,7 +9881,6 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10025,7 +9920,6 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.FallbackBehavior = types.FallbackBehavior(jtv) } - case "HeaderName": if value != nil { jtv, ok := value.(string) @@ -10034,7 +9928,6 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.HeaderName = ptr.String(jtv) } - case "Position": if value != nil { jtv, ok := value.(string) @@ -10043,7 +9936,6 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.Position = types.ForwardedIPPosition(jtv) } - default: _, _ = key, value @@ -10083,12 +9975,10 @@ func awsAwsjson11_deserializeDocumentIPSetReferenceStatement(v **types.IPSetRefe } sv.ARN = ptr.String(jtv) } - case "IPSetForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(&sv.IPSetForwardedIPConfig, value); err != nil { return err } - default: _, _ = key, value @@ -10162,7 +10052,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -10171,7 +10060,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10180,7 +10068,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Id = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -10189,7 +10076,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.LockToken = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -10198,7 +10084,6 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10238,7 +10123,6 @@ func awsAwsjson11_deserializeDocumentJA3Fingerprint(v **types.JA3Fingerprint, va } sv.FallbackBehavior = types.FallbackBehavior(jtv) } - default: _, _ = key, value @@ -10278,12 +10162,10 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.InvalidFallbackBehavior = types.BodyParsingFallbackBehavior(jtv) } - case "MatchPattern": if err := awsAwsjson11_deserializeDocumentJsonMatchPattern(&sv.MatchPattern, value); err != nil { return err } - case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -10292,7 +10174,6 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.MatchScope = types.JsonMatchScope(jtv) } - case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -10301,7 +10182,6 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.OversizeHandling = types.OversizeHandling(jtv) } - default: _, _ = key, value @@ -10337,12 +10217,10 @@ func awsAwsjson11_deserializeDocumentJsonMatchPattern(v **types.JsonMatchPattern if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } - case "IncludedPaths": if err := awsAwsjson11_deserializeDocumentJsonPointerPaths(&sv.IncludedPaths, value); err != nil { return err } - default: _, _ = key, value @@ -10418,7 +10296,6 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10458,7 +10335,6 @@ func awsAwsjson11_deserializeDocumentLabelMatchStatement(v **types.LabelMatchSta } sv.Key = ptr.String(jtv) } - case "Scope": if value != nil { jtv, ok := value.(string) @@ -10467,7 +10343,6 @@ func awsAwsjson11_deserializeDocumentLabelMatchStatement(v **types.LabelMatchSta } sv.Scope = types.LabelMatchScope(jtv) } - default: _, _ = key, value @@ -10507,7 +10382,6 @@ func awsAwsjson11_deserializeDocumentLabelNameCondition(v **types.LabelNameCondi } sv.LabelName = ptr.String(jtv) } - default: _, _ = key, value @@ -10615,7 +10489,6 @@ func awsAwsjson11_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -10687,12 +10560,10 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } - case "LoggingFilter": if err := awsAwsjson11_deserializeDocumentLoggingFilter(&sv.LoggingFilter, value); err != nil { return err } - case "LogScope": if value != nil { jtv, ok := value.(string) @@ -10701,7 +10572,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogScope = types.LogScope(jtv) } - case "LogType": if value != nil { jtv, ok := value.(string) @@ -10710,7 +10580,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogType = types.LogType(jtv) } - case "ManagedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -10719,12 +10588,10 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ManagedByFirewallManager = jtv } - case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10600,6 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10807,12 +10673,10 @@ func awsAwsjson11_deserializeDocumentLoggingFilter(v **types.LoggingFilter, valu } sv.DefaultBehavior = types.FilterBehavior(jtv) } - case "Filters": if err := awsAwsjson11_deserializeDocumentFilters(&sv.Filters, value); err != nil { return err } - default: _, _ = key, value @@ -10852,7 +10716,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.IsAdvancedManagedRuleSet = jtv } - case "IsVersioningSupported": if value != nil { jtv, ok := value.(bool) @@ -10861,7 +10724,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.IsVersioningSupported = jtv } - case "ManagedRuleSetName": if value != nil { jtv, ok := value.(string) @@ -10870,7 +10732,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ManagedRuleSetName = ptr.String(jtv) } - case "ProductDescription": if value != nil { jtv, ok := value.(string) @@ -10879,7 +10740,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductDescription = ptr.String(jtv) } - case "ProductId": if value != nil { jtv, ok := value.(string) @@ -10888,7 +10748,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductId = ptr.String(jtv) } - case "ProductLink": if value != nil { jtv, ok := value.(string) @@ -10897,7 +10756,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductLink = ptr.String(jtv) } - case "ProductTitle": if value != nil { jtv, ok := value.(string) @@ -10906,7 +10764,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductTitle = ptr.String(jtv) } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -10915,7 +10772,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.SnsTopicArn = ptr.String(jtv) } - case "VendorName": if value != nil { jtv, ok := value.(string) @@ -10924,7 +10780,6 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.VendorName = ptr.String(jtv) } - default: _, _ = key, value @@ -10994,17 +10849,14 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul if err := awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(&sv.AWSManagedRulesACFPRuleSet, value); err != nil { return err } - case "AWSManagedRulesATPRuleSet": if err := awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(&sv.AWSManagedRulesATPRuleSet, value); err != nil { return err } - case "AWSManagedRulesBotControlRuleSet": if err := awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(&sv.AWSManagedRulesBotControlRuleSet, value); err != nil { return err } - case "LoginPath": if value != nil { jtv, ok := value.(string) @@ -11013,12 +10865,10 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul } sv.LoginPath = ptr.String(jtv) } - case "PasswordField": if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } - case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -11027,12 +10877,10 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul } sv.PayloadType = types.PayloadType(jtv) } - case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } - default: _, _ = key, value @@ -11102,12 +10950,10 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } - case "ManagedRuleGroupConfigs": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupConfigs(&sv.ManagedRuleGroupConfigs, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11116,17 +10962,14 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.Name = ptr.String(jtv) } - case "RuleActionOverrides": if err := awsAwsjson11_deserializeDocumentRuleActionOverrides(&sv.RuleActionOverrides, value); err != nil { return err } - case "ScopeDownStatement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.ScopeDownStatement, value); err != nil { return err } - case "VendorName": if value != nil { jtv, ok := value.(string) @@ -11135,7 +10978,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.VendorName = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(string) @@ -11144,7 +10986,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -11218,7 +11059,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.Description = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11227,7 +11067,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.Name = ptr.String(jtv) } - case "VendorName": if value != nil { jtv, ok := value.(string) @@ -11236,7 +11075,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.VendorName = ptr.String(jtv) } - case "VersioningSupported": if value != nil { jtv, ok := value.(bool) @@ -11245,7 +11083,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.VersioningSupported = jtv } - default: _, _ = key, value @@ -11292,7 +11129,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupVersion(v **types.ManagedRu } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11301,7 +11137,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupVersion(v **types.ManagedRu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11375,7 +11210,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11384,7 +11218,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11393,7 +11226,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Id = ptr.String(jtv) } - case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -11402,7 +11234,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.LabelNamespace = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11411,12 +11242,10 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Name = ptr.String(jtv) } - case "PublishedVersions": if err := awsAwsjson11_deserializeDocumentPublishedVersions(&sv.PublishedVersions, value); err != nil { return err } - case "RecommendedVersion": if value != nil { jtv, ok := value.(string) @@ -11425,7 +11254,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.RecommendedVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -11499,7 +11327,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -11508,7 +11335,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -11517,7 +11343,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Id = ptr.String(jtv) } - case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -11526,7 +11351,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.LabelNamespace = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -11535,7 +11359,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.LockToken = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -11544,7 +11367,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -11584,7 +11406,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.AssociatedRuleGroupArn = ptr.String(jtv) } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -11597,7 +11418,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.Capacity = ptr.Int64(i64) } - case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -11613,7 +11433,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } - case "ForecastedLifetime": if value != nil { jtv, ok := value.(json.Number) @@ -11626,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.ForecastedLifetime = ptr.Int32(int32(i64)) } - case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -11642,7 +11460,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } - case "PublishTimestamp": if value != nil { switch jtv := value.(type) { @@ -11658,7 +11475,6 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } - default: _, _ = key, value @@ -11729,7 +11545,6 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } sv.ReleaseNotes = ptr.String(jtv) } - case "ReleaseVersion": if value != nil { jtv, ok := value.(string) @@ -11738,12 +11553,10 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } sv.ReleaseVersion = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -11759,7 +11572,6 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } } - default: _, _ = key, value @@ -11826,7 +11638,6 @@ func awsAwsjson11_deserializeDocumentNotStatement(v **types.NotStatement, value if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } - default: _, _ = key, value @@ -11862,7 +11673,6 @@ func awsAwsjson11_deserializeDocumentOrStatement(v **types.OrStatement, value in if err := awsAwsjson11_deserializeDocumentStatements(&sv.Statements, value); err != nil { return err } - default: _, _ = key, value @@ -11898,12 +11708,10 @@ func awsAwsjson11_deserializeDocumentOverrideAction(v **types.OverrideAction, va if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } - case "None": if err := awsAwsjson11_deserializeDocumentNoneAction(&sv.None, value); err != nil { return err } - default: _, _ = key, value @@ -11943,7 +11751,6 @@ func awsAwsjson11_deserializeDocumentPasswordField(v **types.PasswordField, valu } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -11983,7 +11790,6 @@ func awsAwsjson11_deserializeDocumentPhoneNumberField(v **types.PhoneNumberField } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -12123,12 +11929,10 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.AggregateKeyType = types.RateBasedStatementAggregateKeyType(jtv) } - case "CustomKeys": if err := awsAwsjson11_deserializeDocumentRateBasedStatementCustomKeys(&sv.CustomKeys, value); err != nil { return err } - case "EvaluationWindowSec": if value != nil { jtv, ok := value.(json.Number) @@ -12141,12 +11945,10 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.EvaluationWindowSec = i64 } - case "ForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentForwardedIPConfig(&sv.ForwardedIPConfig, value); err != nil { return err } - case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -12159,12 +11961,10 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.Limit = ptr.Int64(i64) } - case "ScopeDownStatement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.ScopeDownStatement, value); err != nil { return err } - default: _, _ = key, value @@ -12200,47 +12000,38 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementCustomKey(v **types.RateB if err := awsAwsjson11_deserializeDocumentRateLimitCookie(&sv.Cookie, value); err != nil { return err } - case "ForwardedIP": if err := awsAwsjson11_deserializeDocumentRateLimitForwardedIP(&sv.ForwardedIP, value); err != nil { return err } - case "Header": if err := awsAwsjson11_deserializeDocumentRateLimitHeader(&sv.Header, value); err != nil { return err } - case "HTTPMethod": if err := awsAwsjson11_deserializeDocumentRateLimitHTTPMethod(&sv.HTTPMethod, value); err != nil { return err } - case "IP": if err := awsAwsjson11_deserializeDocumentRateLimitIP(&sv.IP, value); err != nil { return err } - case "LabelNamespace": if err := awsAwsjson11_deserializeDocumentRateLimitLabelNamespace(&sv.LabelNamespace, value); err != nil { return err } - case "QueryArgument": if err := awsAwsjson11_deserializeDocumentRateLimitQueryArgument(&sv.QueryArgument, value); err != nil { return err } - case "QueryString": if err := awsAwsjson11_deserializeDocumentRateLimitQueryString(&sv.QueryString, value); err != nil { return err } - case "UriPath": if err := awsAwsjson11_deserializeDocumentRateLimitUriPath(&sv.UriPath, value); err != nil { return err } - default: _, _ = key, value @@ -12310,7 +12101,6 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(v **type if err := awsAwsjson11_deserializeDocumentIPAddresses(&sv.Addresses, value); err != nil { return err } - case "IPAddressVersion": if value != nil { jtv, ok := value.(string) @@ -12319,7 +12109,6 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(v **type } sv.IPAddressVersion = types.IPAddressVersion(jtv) } - default: _, _ = key, value @@ -12359,12 +12148,10 @@ func awsAwsjson11_deserializeDocumentRateLimitCookie(v **types.RateLimitCookie, } sv.Name = ptr.String(jtv) } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12435,12 +12222,10 @@ func awsAwsjson11_deserializeDocumentRateLimitHeader(v **types.RateLimitHeader, } sv.Name = ptr.String(jtv) } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12542,7 +12327,6 @@ func awsAwsjson11_deserializeDocumentRateLimitLabelNamespace(v **types.RateLimit } sv.Namespace = ptr.String(jtv) } - default: _, _ = key, value @@ -12582,12 +12366,10 @@ func awsAwsjson11_deserializeDocumentRateLimitQueryArgument(v **types.RateLimitQ } sv.Name = ptr.String(jtv) } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12623,7 +12405,6 @@ func awsAwsjson11_deserializeDocumentRateLimitQueryString(v **types.RateLimitQue if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12659,7 +12440,6 @@ func awsAwsjson11_deserializeDocumentRateLimitUriPath(v **types.RateLimitUriPath if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12733,7 +12513,6 @@ func awsAwsjson11_deserializeDocumentRegex(v **types.Regex, value interface{}) e } sv.RegexString = ptr.String(jtv) } - default: _, _ = key, value @@ -12769,7 +12548,6 @@ func awsAwsjson11_deserializeDocumentRegexMatchStatement(v **types.RegexMatchSta if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "RegexString": if value != nil { jtv, ok := value.(string) @@ -12778,12 +12556,10 @@ func awsAwsjson11_deserializeDocumentRegexMatchStatement(v **types.RegexMatchSta } sv.RegexString = ptr.String(jtv) } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12823,7 +12599,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12832,7 +12607,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12841,7 +12615,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12850,12 +12623,10 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } - case "RegularExpressionList": if err := awsAwsjson11_deserializeDocumentRegularExpressionList(&sv.RegularExpressionList, value); err != nil { return err } - default: _, _ = key, value @@ -12895,17 +12666,14 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetReferenceStatement(v **types } sv.ARN = ptr.String(jtv) } - case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -12979,7 +12747,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12988,7 +12755,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12997,7 +12763,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Id = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -13006,7 +12771,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.LockToken = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13015,7 +12779,6 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13123,7 +12886,6 @@ func awsAwsjson11_deserializeDocumentReleaseSummary(v **types.ReleaseSummary, va } sv.ReleaseVersion = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -13139,7 +12901,6 @@ func awsAwsjson11_deserializeDocumentReleaseSummary(v **types.ReleaseSummary, va } } - default: _, _ = key, value @@ -13214,7 +12975,6 @@ func awsAwsjson11_deserializeDocumentRequestBodyAssociatedResourceTypeConfig(v * } sv.DefaultSizeInspectionLimit = types.SizeInspectionLimit(jtv) } - default: _, _ = key, value @@ -13250,7 +13010,6 @@ func awsAwsjson11_deserializeDocumentRequestInspection(v **types.RequestInspecti if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } - case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -13259,12 +13018,10 @@ func awsAwsjson11_deserializeDocumentRequestInspection(v **types.RequestInspecti } sv.PayloadType = types.PayloadType(jtv) } - case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } - default: _, _ = key, value @@ -13300,17 +13057,14 @@ func awsAwsjson11_deserializeDocumentRequestInspectionACFP(v **types.RequestInsp if err := awsAwsjson11_deserializeDocumentAddressFields(&sv.AddressFields, value); err != nil { return err } - case "EmailField": if err := awsAwsjson11_deserializeDocumentEmailField(&sv.EmailField, value); err != nil { return err } - case "PasswordField": if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } - case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -13319,17 +13073,14 @@ func awsAwsjson11_deserializeDocumentRequestInspectionACFP(v **types.RequestInsp } sv.PayloadType = types.PayloadType(jtv) } - case "PhoneNumberFields": if err := awsAwsjson11_deserializeDocumentPhoneNumberFields(&sv.PhoneNumberFields, value); err != nil { return err } - case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } - default: _, _ = key, value @@ -13401,22 +13152,18 @@ func awsAwsjson11_deserializeDocumentResponseInspection(v **types.ResponseInspec if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContains(&sv.BodyContains, value); err != nil { return err } - case "Header": if err := awsAwsjson11_deserializeDocumentResponseInspectionHeader(&sv.Header, value); err != nil { return err } - case "Json": if err := awsAwsjson11_deserializeDocumentResponseInspectionJson(&sv.Json, value); err != nil { return err } - case "StatusCode": if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCode(&sv.StatusCode, value); err != nil { return err } - default: _, _ = key, value @@ -13452,12 +13199,10 @@ func awsAwsjson11_deserializeDocumentResponseInspectionBodyContains(v **types.Re if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContainsFailureStrings(&sv.FailureStrings, value); err != nil { return err } - case "SuccessStrings": if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContainsSuccessStrings(&sv.SuccessStrings, value); err != nil { return err } - default: _, _ = key, value @@ -13565,7 +13310,6 @@ func awsAwsjson11_deserializeDocumentResponseInspectionHeader(v **types.Response if err := awsAwsjson11_deserializeDocumentResponseInspectionHeaderFailureValues(&sv.FailureValues, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13574,12 +13318,10 @@ func awsAwsjson11_deserializeDocumentResponseInspectionHeader(v **types.Response } sv.Name = ptr.String(jtv) } - case "SuccessValues": if err := awsAwsjson11_deserializeDocumentResponseInspectionHeaderSuccessValues(&sv.SuccessValues, value); err != nil { return err } - default: _, _ = key, value @@ -13687,7 +13429,6 @@ func awsAwsjson11_deserializeDocumentResponseInspectionJson(v **types.ResponseIn if err := awsAwsjson11_deserializeDocumentResponseInspectionJsonFailureValues(&sv.FailureValues, value); err != nil { return err } - case "Identifier": if value != nil { jtv, ok := value.(string) @@ -13696,12 +13437,10 @@ func awsAwsjson11_deserializeDocumentResponseInspectionJson(v **types.ResponseIn } sv.Identifier = ptr.String(jtv) } - case "SuccessValues": if err := awsAwsjson11_deserializeDocumentResponseInspectionJsonSuccessValues(&sv.SuccessValues, value); err != nil { return err } - default: _, _ = key, value @@ -13809,12 +13548,10 @@ func awsAwsjson11_deserializeDocumentResponseInspectionStatusCode(v **types.Resp if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCodeFailureCodes(&sv.FailureCodes, value); err != nil { return err } - case "SuccessCodes": if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCodeSuccessCodes(&sv.SuccessCodes, value); err != nil { return err } - default: _, _ = key, value @@ -13930,17 +13667,14 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "CaptchaConfig": if err := awsAwsjson11_deserializeDocumentCaptchaConfig(&sv.CaptchaConfig, value); err != nil { return err } - case "ChallengeConfig": if err := awsAwsjson11_deserializeDocumentChallengeConfig(&sv.ChallengeConfig, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13949,12 +13683,10 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } - case "OverrideAction": if err := awsAwsjson11_deserializeDocumentOverrideAction(&sv.OverrideAction, value); err != nil { return err } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -13967,22 +13699,18 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Priority = int32(i64) } - case "RuleLabels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.RuleLabels, value); err != nil { return err } - case "Statement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } - case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14018,27 +13746,22 @@ func awsAwsjson11_deserializeDocumentRuleAction(v **types.RuleAction, value inte if err := awsAwsjson11_deserializeDocumentAllowAction(&sv.Allow, value); err != nil { return err } - case "Block": if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } - case "Captcha": if err := awsAwsjson11_deserializeDocumentCaptchaAction(&sv.Captcha, value); err != nil { return err } - case "Challenge": if err := awsAwsjson11_deserializeDocumentChallengeAction(&sv.Challenge, value); err != nil { return err } - case "Count": if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } - default: _, _ = key, value @@ -14074,7 +13797,6 @@ func awsAwsjson11_deserializeDocumentRuleActionOverride(v **types.RuleActionOver if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.ActionToUse, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14083,7 +13805,6 @@ func awsAwsjson11_deserializeDocumentRuleActionOverride(v **types.RuleActionOver } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14157,12 +13878,10 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.ARN = ptr.String(jtv) } - case "AvailableLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.AvailableLabels, value); err != nil { return err } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -14175,17 +13894,14 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Capacity = ptr.Int64(i64) } - case "ConsumedLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.ConsumedLabels, value); err != nil { return err } - case "CustomResponseBodies": if err := awsAwsjson11_deserializeDocumentCustomResponseBodies(&sv.CustomResponseBodies, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14194,7 +13910,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14203,7 +13918,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Id = ptr.String(jtv) } - case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -14212,7 +13926,6 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.LabelNamespace = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14221,17 +13934,14 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } - case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -14271,17 +13981,14 @@ func awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(v **types.RuleG } sv.ARN = ptr.String(jtv) } - case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } - case "RuleActionOverrides": if err := awsAwsjson11_deserializeDocumentRuleActionOverrides(&sv.RuleActionOverrides, value); err != nil { return err } - default: _, _ = key, value @@ -14355,7 +14062,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14364,7 +14070,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14373,7 +14078,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Id = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -14382,7 +14086,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.LockToken = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14391,7 +14094,6 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14495,7 +14197,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14504,7 +14205,6 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14544,22 +14244,18 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } - case "CaptchaResponse": if err := awsAwsjson11_deserializeDocumentCaptchaResponse(&sv.CaptchaResponse, value); err != nil { return err } - case "ChallengeResponse": if err := awsAwsjson11_deserializeDocumentChallengeResponse(&sv.ChallengeResponse, value); err != nil { return err } - case "Labels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.Labels, value); err != nil { return err } - case "OverriddenAction": if value != nil { jtv, ok := value.(string) @@ -14568,17 +14264,14 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.OverriddenAction = ptr.String(jtv) } - case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } - case "RequestHeadersInserted": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.RequestHeadersInserted, value); err != nil { return err } - case "ResponseCodeSent": if value != nil { jtv, ok := value.(json.Number) @@ -14591,7 +14284,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.ResponseCodeSent = ptr.Int32(int32(i64)) } - case "RuleNameWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -14600,7 +14292,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleNameWithinRuleGroup = ptr.String(jtv) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -14616,7 +14307,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } - case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -14629,7 +14319,6 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } - default: _, _ = key, value @@ -14703,7 +14392,6 @@ func awsAwsjson11_deserializeDocumentSingleHeader(v **types.SingleHeader, value } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14743,7 +14431,6 @@ func awsAwsjson11_deserializeDocumentSingleQueryArgument(v **types.SingleQueryAr } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14783,12 +14470,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraintStatement(v **types.SizeConst } sv.ComparisonOperator = types.ComparisonOperator(jtv) } - case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -14801,12 +14486,10 @@ func awsAwsjson11_deserializeDocumentSizeConstraintStatement(v **types.SizeConst } sv.Size = i64 } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -14842,7 +14525,6 @@ func awsAwsjson11_deserializeDocumentSqliMatchStatement(v **types.SqliMatchState if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "SensitivityLevel": if value != nil { jtv, ok := value.(string) @@ -14851,12 +14533,10 @@ func awsAwsjson11_deserializeDocumentSqliMatchStatement(v **types.SqliMatchState } sv.SensitivityLevel = types.SensitivityLevel(jtv) } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -14892,77 +14572,62 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf if err := awsAwsjson11_deserializeDocumentAndStatement(&sv.AndStatement, value); err != nil { return err } - case "ByteMatchStatement": if err := awsAwsjson11_deserializeDocumentByteMatchStatement(&sv.ByteMatchStatement, value); err != nil { return err } - case "GeoMatchStatement": if err := awsAwsjson11_deserializeDocumentGeoMatchStatement(&sv.GeoMatchStatement, value); err != nil { return err } - case "IPSetReferenceStatement": if err := awsAwsjson11_deserializeDocumentIPSetReferenceStatement(&sv.IPSetReferenceStatement, value); err != nil { return err } - case "LabelMatchStatement": if err := awsAwsjson11_deserializeDocumentLabelMatchStatement(&sv.LabelMatchStatement, value); err != nil { return err } - case "ManagedRuleGroupStatement": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(&sv.ManagedRuleGroupStatement, value); err != nil { return err } - case "NotStatement": if err := awsAwsjson11_deserializeDocumentNotStatement(&sv.NotStatement, value); err != nil { return err } - case "OrStatement": if err := awsAwsjson11_deserializeDocumentOrStatement(&sv.OrStatement, value); err != nil { return err } - case "RateBasedStatement": if err := awsAwsjson11_deserializeDocumentRateBasedStatement(&sv.RateBasedStatement, value); err != nil { return err } - case "RegexMatchStatement": if err := awsAwsjson11_deserializeDocumentRegexMatchStatement(&sv.RegexMatchStatement, value); err != nil { return err } - case "RegexPatternSetReferenceStatement": if err := awsAwsjson11_deserializeDocumentRegexPatternSetReferenceStatement(&sv.RegexPatternSetReferenceStatement, value); err != nil { return err } - case "RuleGroupReferenceStatement": if err := awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(&sv.RuleGroupReferenceStatement, value); err != nil { return err } - case "SizeConstraintStatement": if err := awsAwsjson11_deserializeDocumentSizeConstraintStatement(&sv.SizeConstraintStatement, value); err != nil { return err } - case "SqliMatchStatement": if err := awsAwsjson11_deserializeDocumentSqliMatchStatement(&sv.SqliMatchStatement, value); err != nil { return err } - case "XssMatchStatement": if err := awsAwsjson11_deserializeDocumentXssMatchStatement(&sv.XssMatchStatement, value); err != nil { return err } - default: _, _ = key, value @@ -15036,7 +14701,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -15045,7 +14709,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -15085,12 +14748,10 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } - case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -15168,7 +14829,6 @@ func awsAwsjson11_deserializeDocumentTextTransformation(v **types.TextTransforma } sv.Priority = int32(i64) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15177,7 +14837,6 @@ func awsAwsjson11_deserializeDocumentTextTransformation(v **types.TextTransforma } sv.Type = types.TextTransformationType(jtv) } - default: _, _ = key, value @@ -15258,7 +14917,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -15274,7 +14932,6 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } - default: _, _ = key, value @@ -15381,7 +15038,6 @@ func awsAwsjson11_deserializeDocumentUsernameField(v **types.UsernameField, valu } sv.Identifier = ptr.String(jtv) } - default: _, _ = key, value @@ -15421,7 +15077,6 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.CloudWatchMetricsEnabled = jtv } - case "MetricName": if value != nil { jtv, ok := value.(string) @@ -15430,7 +15085,6 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.MetricName = ptr.String(jtv) } - case "SampledRequestsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15439,7 +15093,6 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.SampledRequestsEnabled = jtv } - default: _, _ = key, value @@ -15469,15 +15122,9 @@ func awsAwsjson11_deserializeDocumentWAFAssociatedItemException(v **types.WAFAss sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15485,15 +15132,11 @@ func awsAwsjson11_deserializeDocumentWAFAssociatedItemException(v **types.WAFAss } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15518,15 +15161,9 @@ func awsAwsjson11_deserializeDocumentWAFConfigurationWarningException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15534,15 +15171,11 @@ func awsAwsjson11_deserializeDocumentWAFConfigurationWarningException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15567,15 +15200,9 @@ func awsAwsjson11_deserializeDocumentWAFDuplicateItemException(v **types.WAFDupl sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15583,15 +15210,11 @@ func awsAwsjson11_deserializeDocumentWAFDuplicateItemException(v **types.WAFDupl } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15616,15 +15239,9 @@ func awsAwsjson11_deserializeDocumentWAFExpiredManagedRuleGroupVersionException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15632,15 +15249,11 @@ func awsAwsjson11_deserializeDocumentWAFExpiredManagedRuleGroupVersionException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15665,15 +15278,9 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15681,15 +15288,11 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15714,15 +15317,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15730,15 +15327,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15763,13 +15356,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Field": if value != nil { @@ -15779,8 +15366,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15788,7 +15374,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Message = ptr.String(jtv) } - case "Parameter": if value != nil { jtv, ok := value.(string) @@ -15797,7 +15382,6 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -15806,15 +15390,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15839,15 +15419,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15855,15 +15429,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15888,15 +15458,9 @@ func awsAwsjson11_deserializeDocumentWAFInvalidResourceException(v **types.WAFIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15904,15 +15468,11 @@ func awsAwsjson11_deserializeDocumentWAFInvalidResourceException(v **types.WAFIn } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15937,15 +15497,9 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15953,7 +15507,6 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } - case "SourceType": if value != nil { jtv, ok := value.(string) @@ -15962,15 +15515,11 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.SourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15995,15 +15544,9 @@ func awsAwsjson11_deserializeDocumentWAFLogDestinationPermissionIssueException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16011,15 +15554,11 @@ func awsAwsjson11_deserializeDocumentWAFLogDestinationPermissionIssueException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16044,15 +15583,9 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16060,15 +15593,11 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16093,15 +15622,9 @@ func awsAwsjson11_deserializeDocumentWAFOptimisticLockException(v **types.WAFOpt sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16109,15 +15632,11 @@ func awsAwsjson11_deserializeDocumentWAFOptimisticLockException(v **types.WAFOpt } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16142,15 +15661,9 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16158,15 +15671,11 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16191,15 +15700,9 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16207,15 +15710,11 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16240,15 +15739,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16256,15 +15749,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16289,15 +15778,9 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16305,15 +15788,11 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16338,15 +15817,9 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16354,15 +15827,11 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16387,15 +15856,9 @@ func awsAwsjson11_deserializeDocumentWAFUnsupportedAggregateKeyTypeException(v * sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16403,15 +15866,11 @@ func awsAwsjson11_deserializeDocumentWAFUnsupportedAggregateKeyTypeException(v * } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16446,12 +15905,10 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.ARN = ptr.String(jtv) } - case "AssociationConfig": if err := awsAwsjson11_deserializeDocumentAssociationConfig(&sv.AssociationConfig, value); err != nil { return err } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -16464,27 +15921,22 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Capacity = i64 } - case "CaptchaConfig": if err := awsAwsjson11_deserializeDocumentCaptchaConfig(&sv.CaptchaConfig, value); err != nil { return err } - case "ChallengeConfig": if err := awsAwsjson11_deserializeDocumentChallengeConfig(&sv.ChallengeConfig, value); err != nil { return err } - case "CustomResponseBodies": if err := awsAwsjson11_deserializeDocumentCustomResponseBodies(&sv.CustomResponseBodies, value); err != nil { return err } - case "DefaultAction": if err := awsAwsjson11_deserializeDocumentDefaultAction(&sv.DefaultAction, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16493,7 +15945,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16502,7 +15953,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Id = ptr.String(jtv) } - case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -16511,7 +15961,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.LabelNamespace = ptr.String(jtv) } - case "ManagedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -16520,7 +15969,6 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.ManagedByFirewallManager = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16529,17 +15977,14 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } - case "PostProcessFirewallManagerRuleGroups": if err := awsAwsjson11_deserializeDocumentFirewallManagerRuleGroups(&sv.PostProcessFirewallManagerRuleGroups, value); err != nil { return err } - case "PreProcessFirewallManagerRuleGroups": if err := awsAwsjson11_deserializeDocumentFirewallManagerRuleGroups(&sv.PreProcessFirewallManagerRuleGroups, value); err != nil { return err } - case "RetrofittedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -16548,22 +15993,18 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.RetrofittedByFirewallManager = jtv } - case "Rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } - case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } - case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } - default: _, _ = key, value @@ -16637,7 +16078,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.ARN = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16646,7 +16086,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16655,7 +16094,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Id = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -16664,7 +16102,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.LockToken = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16673,7 +16110,6 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -16709,12 +16145,10 @@ func awsAwsjson11_deserializeDocumentXssMatchStatement(v **types.XssMatchStateme if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } - case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } - default: _, _ = key, value @@ -16789,7 +16223,6 @@ func awsAwsjson11_deserializeOpDocumentCheckCapacityOutput(v **CheckCapacityOutp } sv.Capacity = i64 } - default: _, _ = key, value @@ -16829,7 +16262,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAPIKeyOutput(v **CreateAPIKeyOutput } sv.APIKey = ptr.String(jtv) } - default: _, _ = key, value @@ -16865,7 +16297,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, if err := awsAwsjson11_deserializeDocumentIPSetSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -16901,7 +16332,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -16937,7 +16367,6 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup if err := awsAwsjson11_deserializeDocumentRuleGroupSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -16973,7 +16402,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput if err := awsAwsjson11_deserializeDocumentWebACLSummary(&sv.Summary, value); err != nil { return err } - default: _, _ = key, value @@ -17044,7 +16472,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallManagerRuleGroupsOutput(v * } sv.NextWebACLLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17266,7 +16693,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAllManagedProductsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentManagedProductDescriptors(&sv.ManagedProducts, value); err != nil { return err } - default: _, _ = key, value @@ -17302,7 +16728,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedProductsByVendorOutput(v * if err := awsAwsjson11_deserializeDocumentManagedProductDescriptors(&sv.ManagedProducts, value); err != nil { return err } - default: _, _ = key, value @@ -17338,7 +16763,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.AvailableLabels, value); err != nil { return err } - case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -17351,12 +16775,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.Capacity = ptr.Int64(i64) } - case "ConsumedLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.ConsumedLabels, value); err != nil { return err } - case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -17365,12 +16787,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.LabelNamespace = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } - case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -17379,7 +16799,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.SnsTopicArn = ptr.String(jtv) } - case "VersionName": if value != nil { jtv, ok := value.(string) @@ -17388,7 +16807,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.VersionName = ptr.String(jtv) } - default: _, _ = key, value @@ -17459,7 +16877,6 @@ func awsAwsjson11_deserializeOpDocumentGenerateMobileSdkReleaseUrlOutput(v **Gen } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -17506,12 +16923,10 @@ func awsAwsjson11_deserializeOpDocumentGetDecryptedAPIKeyOutput(v **GetDecrypted } } - case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } - default: _, _ = key, value @@ -17547,7 +16962,6 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -17556,7 +16970,6 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.LockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -17592,7 +17005,6 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17632,12 +17044,10 @@ func awsAwsjson11_deserializeOpDocumentGetManagedRuleSetOutput(v **GetManagedRul } sv.LockToken = ptr.String(jtv) } - case "ManagedRuleSet": if err := awsAwsjson11_deserializeDocumentManagedRuleSet(&sv.ManagedRuleSet, value); err != nil { return err } - default: _, _ = key, value @@ -17673,7 +17083,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileSdkReleaseOutput(v **GetMobileSd if err := awsAwsjson11_deserializeDocumentMobileSdkRelease(&sv.MobileSdkRelease, value); err != nil { return err } - default: _, _ = key, value @@ -17713,7 +17122,6 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } - default: _, _ = key, value @@ -17749,12 +17157,10 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedStatementManagedKeysOutput(v if err := awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(&sv.ManagedKeysIPV4, value); err != nil { return err } - case "ManagedKeysIPV6": if err := awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(&sv.ManagedKeysIPV6, value); err != nil { return err } - default: _, _ = key, value @@ -17794,12 +17200,10 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt } sv.LockToken = ptr.String(jtv) } - case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } - default: _, _ = key, value @@ -17839,12 +17243,10 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput } sv.LockToken = ptr.String(jtv) } - case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } - default: _, _ = key, value @@ -17888,17 +17290,14 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } - case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } - case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } - default: _, _ = key, value @@ -17934,7 +17333,6 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLForResourceOutput(v **GetWebACLF if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -17974,7 +17372,6 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu } sv.ApplicationIntegrationURL = ptr.String(jtv) } - case "LockToken": if value != nil { jtv, ok := value.(string) @@ -17983,12 +17380,10 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu } sv.LockToken = ptr.String(jtv) } - case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } - default: _, _ = key, value @@ -18024,7 +17419,6 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, if err := awsAwsjson11_deserializeDocumentAPIKeySummaries(&sv.APIKeySummaries, value); err != nil { return err } - case "ApplicationIntegrationURL": if value != nil { jtv, ok := value.(string) @@ -18033,7 +17427,6 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, } sv.ApplicationIntegrationURL = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18042,7 +17435,6 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -18078,7 +17470,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupsOutput(v ** if err := awsAwsjson11_deserializeDocumentManagedRuleGroupSummaries(&sv.ManagedRuleGroups, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18087,7 +17478,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupsOutput(v ** } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -18127,7 +17517,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupVersionsOutp } sv.CurrentDefaultVersion = ptr.String(jtv) } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18136,12 +17525,10 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupVersionsOutp } sv.NextMarker = ptr.String(jtv) } - case "Versions": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupVersions(&sv.Versions, value); err != nil { return err } - default: _, _ = key, value @@ -18177,7 +17564,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18186,7 +17572,6 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -18222,7 +17607,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18231,7 +17615,6 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -18267,7 +17650,6 @@ func awsAwsjson11_deserializeOpDocumentListManagedRuleSetsOutput(v **ListManaged if err := awsAwsjson11_deserializeDocumentManagedRuleSetSummaries(&sv.ManagedRuleSets, value); err != nil { return err } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -18276,7 +17658,6 @@ func awsAwsjson11_deserializeOpDocumentListManagedRuleSetsOutput(v **ListManaged } sv.NextMarker = ptr.String(jtv) } - default: _, _ = key, value @@ -18316,12 +17697,10 @@ func awsAwsjson11_deserializeOpDocumentListMobileSdkReleasesOutput(v **ListMobil } sv.NextMarker = ptr.String(jtv) } - case "ReleaseSummaries": if err := awsAwsjson11_deserializeDocumentReleaseSummaries(&sv.ReleaseSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -18361,12 +17740,10 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } - case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } - default: _, _ = key, value @@ -18402,7 +17779,6 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForWebACLOutput(v **ListReso if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } - default: _, _ = key, value @@ -18442,12 +17818,10 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } - case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } - default: _, _ = key, value @@ -18487,12 +17861,10 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } - case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } - default: _, _ = key, value @@ -18532,12 +17904,10 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } - case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } - default: _, _ = key, value @@ -18573,7 +17943,6 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -18613,7 +17982,6 @@ func awsAwsjson11_deserializeOpDocumentPutManagedRuleSetVersionsOutput(v **PutMa } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18746,7 +18114,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18786,7 +18153,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } sv.ExpiringVersion = ptr.String(jtv) } - case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -18802,7 +18168,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } } - case "NextLockToken": if value != nil { jtv, ok := value.(string) @@ -18811,7 +18176,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18851,7 +18215,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18891,7 +18254,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value @@ -18931,7 +18293,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.NextLockToken = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/wellarchitected/deserializers.go b/service/wellarchitected/deserializers.go index 6573708aad1..27f42518cd2 100644 --- a/service/wellarchitected/deserializers.go +++ b/service/wellarchitected/deserializers.go @@ -412,7 +412,6 @@ func awsRestjson1_deserializeOpDocumentCreateLensShareOutput(v **CreateLensShare } sv.ShareId = ptr.String(jtv) } - default: _, _ = key, value @@ -586,7 +585,6 @@ func awsRestjson1_deserializeOpDocumentCreateLensVersionOutput(v **CreateLensVer } sv.LensArn = ptr.String(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -595,7 +593,6 @@ func awsRestjson1_deserializeOpDocumentCreateLensVersionOutput(v **CreateLensVer } sv.LensVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -773,7 +770,6 @@ func awsRestjson1_deserializeOpDocumentCreateMilestoneOutput(v **CreateMilestone } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -782,7 +778,6 @@ func awsRestjson1_deserializeOpDocumentCreateMilestoneOutput(v **CreateMilestone } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -953,7 +948,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileArn = ptr.String(jtv) } - case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -962,7 +956,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -1136,7 +1129,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileShareOutput(v **CreateProfil } sv.ProfileArn = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -1145,7 +1137,6 @@ func awsRestjson1_deserializeOpDocumentCreateProfileShareOutput(v **CreateProfil } sv.ShareId = ptr.String(jtv) } - default: _, _ = key, value @@ -1319,7 +1310,6 @@ func awsRestjson1_deserializeOpDocumentCreateReviewTemplateOutput(v **CreateRevi } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1493,7 +1483,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateShareOutput(v **CreateTempl } sv.ShareId = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -1502,7 +1491,6 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateShareOutput(v **CreateTempl } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1676,7 +1664,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadOutput(v **CreateWorkloadOu } sv.WorkloadArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -1685,7 +1672,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadOutput(v **CreateWorkloadOu } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -1859,7 +1845,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadShareOutput(v **CreateWorkl } sv.ShareId = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -1868,7 +1853,6 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadShareOutput(v **CreateWorkl } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -3126,7 +3110,6 @@ func awsRestjson1_deserializeOpDocumentExportLensOutput(v **ExportLensOutput, va } sv.LensJSON = ptr.String(jtv) } - default: _, _ = key, value @@ -3290,7 +3273,6 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu if err := awsRestjson1_deserializeDocumentAnswer(&sv.Answer, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -3299,7 +3281,6 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -3308,7 +3289,6 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.LensArn = ptr.String(jtv) } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3321,7 +3301,6 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -3330,7 +3309,6 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -3498,12 +3476,10 @@ func awsRestjson1_deserializeOpDocumentGetConsolidatedReportOutput(v **GetConsol } sv.Base64String = ptr.String(jtv) } - case "Metrics": if err := awsRestjson1_deserializeDocumentConsolidatedReportMetrics(&sv.Metrics, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3512,7 +3488,6 @@ func awsRestjson1_deserializeOpDocumentGetConsolidatedReportOutput(v **GetConsol } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3677,12 +3652,10 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett } sv.DiscoveryIntegrationStatus = types.DiscoveryIntegrationStatus(jtv) } - case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(&sv.JiraConfiguration, value); err != nil { return err } - case "OrganizationSharingStatus": if value != nil { jtv, ok := value.(string) @@ -3691,7 +3664,6 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett } sv.OrganizationSharingStatus = types.OrganizationSharingStatus(jtv) } - default: _, _ = key, value @@ -3855,7 +3827,6 @@ func awsRestjson1_deserializeOpDocumentGetLensOutput(v **GetLensOutput, value in if err := awsRestjson1_deserializeDocumentLens(&sv.Lens, value); err != nil { return err } - default: _, _ = key, value @@ -4019,7 +3990,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp if err := awsRestjson1_deserializeDocumentLensReview(&sv.LensReview, value); err != nil { return err } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4032,7 +4002,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4041,7 +4010,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -4205,7 +4173,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi if err := awsRestjson1_deserializeDocumentLensReviewReport(&sv.LensReviewReport, value); err != nil { return err } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4218,7 +4185,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4227,7 +4193,6 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -4395,7 +4360,6 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.BaseLensVersion = ptr.String(jtv) } - case "LatestLensVersion": if value != nil { jtv, ok := value.(string) @@ -4404,7 +4368,6 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LatestLensVersion = ptr.String(jtv) } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -4413,7 +4376,6 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -4422,7 +4384,6 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LensArn = ptr.String(jtv) } - case "TargetLensVersion": if value != nil { jtv, ok := value.(string) @@ -4431,12 +4392,10 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.TargetLensVersion = ptr.String(jtv) } - case "VersionDifferences": if err := awsRestjson1_deserializeDocumentVersionDifferences(&sv.VersionDifferences, value); err != nil { return err } - default: _, _ = key, value @@ -4600,7 +4559,6 @@ func awsRestjson1_deserializeOpDocumentGetMilestoneOutput(v **GetMilestoneOutput if err := awsRestjson1_deserializeDocumentMilestone(&sv.Milestone, value); err != nil { return err } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4609,7 +4567,6 @@ func awsRestjson1_deserializeOpDocumentGetMilestoneOutput(v **GetMilestoneOutput } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -4773,7 +4730,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -4937,7 +4893,6 @@ func awsRestjson1_deserializeOpDocumentGetProfileTemplateOutput(v **GetProfileTe if err := awsRestjson1_deserializeDocumentProfileTemplate(&sv.ProfileTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -5101,7 +5056,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateOutput(v **GetReviewTemp if err := awsRestjson1_deserializeDocumentReviewTemplate(&sv.ReviewTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -5265,7 +5219,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi if err := awsRestjson1_deserializeDocumentReviewTemplateAnswer(&sv.Answer, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -5274,7 +5227,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi } sv.LensAlias = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -5283,7 +5235,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5447,7 +5398,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateLensReviewOutput(v **Get if err := awsRestjson1_deserializeDocumentReviewTemplateLensReview(&sv.LensReview, value); err != nil { return err } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -5456,7 +5406,6 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateLensReviewOutput(v **Get } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5620,7 +5569,6 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadOutput(v **GetWorkloadOutput, if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } - default: _, _ = key, value @@ -5794,7 +5742,6 @@ func awsRestjson1_deserializeOpDocumentImportLensOutput(v **ImportLensOutput, va } sv.LensArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5803,7 +5750,6 @@ func awsRestjson1_deserializeOpDocumentImportLensOutput(v **ImportLensOutput, va } sv.Status = types.ImportLensStatus(jtv) } - default: _, _ = key, value @@ -5967,7 +5913,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, if err := awsRestjson1_deserializeDocumentAnswerSummaries(&sv.AnswerSummaries, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -5976,7 +5921,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -5985,7 +5929,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.LensArn = ptr.String(jtv) } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5998,7 +5941,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6007,7 +5949,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.NextToken = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6016,7 +5957,6 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -6180,7 +6120,6 @@ func awsRestjson1_deserializeOpDocumentListCheckDetailsOutput(v **ListCheckDetai if err := awsRestjson1_deserializeDocumentCheckDetails(&sv.CheckDetails, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6189,7 +6128,6 @@ func awsRestjson1_deserializeOpDocumentListCheckDetailsOutput(v **ListCheckDetai } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6353,7 +6291,6 @@ func awsRestjson1_deserializeOpDocumentListCheckSummariesOutput(v **ListCheckSum if err := awsRestjson1_deserializeDocumentCheckSummaries(&sv.CheckSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6362,7 +6299,6 @@ func awsRestjson1_deserializeOpDocumentListCheckSummariesOutput(v **ListCheckSum } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6523,7 +6459,6 @@ func awsRestjson1_deserializeOpDocumentListLensesOutput(v **ListLensesOutput, va if err := awsRestjson1_deserializeDocumentLensSummaries(&sv.LensSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6532,7 +6467,6 @@ func awsRestjson1_deserializeOpDocumentListLensesOutput(v **ListLensesOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6696,7 +6630,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List if err := awsRestjson1_deserializeDocumentImprovementSummaries(&sv.ImprovementSummaries, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -6705,7 +6638,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -6714,7 +6646,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.LensArn = ptr.String(jtv) } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6727,7 +6658,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6736,7 +6666,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6745,7 +6674,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -6909,7 +6837,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews if err := awsRestjson1_deserializeDocumentLensReviewSummaries(&sv.LensReviewSummaries, value); err != nil { return err } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6922,7 +6849,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6931,7 +6857,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.NextToken = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6940,7 +6865,6 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -7104,7 +7028,6 @@ func awsRestjson1_deserializeOpDocumentListLensSharesOutput(v **ListLensSharesOu if err := awsRestjson1_deserializeDocumentLensShareSummaries(&sv.LensShareSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7113,7 +7036,6 @@ func awsRestjson1_deserializeOpDocumentListLensSharesOutput(v **ListLensSharesOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -7277,7 +7199,6 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu if err := awsRestjson1_deserializeDocumentMilestoneSummaries(&sv.MilestoneSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7286,7 +7207,6 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu } sv.NextToken = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -7295,7 +7215,6 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -7460,12 +7379,10 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } - case "NotificationSummaries": if err := awsRestjson1_deserializeDocumentNotificationSummaries(&sv.NotificationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7630,12 +7547,10 @@ func awsRestjson1_deserializeOpDocumentListProfileNotificationsOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } - case "NotificationSummaries": if err := awsRestjson1_deserializeDocumentProfileNotificationSummaries(&sv.NotificationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7800,12 +7715,10 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } - case "ProfileSummaries": if err := awsRestjson1_deserializeDocumentProfileSummaries(&sv.ProfileSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -7973,12 +7886,10 @@ func awsRestjson1_deserializeOpDocumentListProfileSharesOutput(v **ListProfileSh } sv.NextToken = ptr.String(jtv) } - case "ProfileShareSummaries": if err := awsRestjson1_deserializeDocumentProfileShareSummaries(&sv.ProfileShareSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8142,7 +8053,6 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR if err := awsRestjson1_deserializeDocumentReviewTemplateAnswerSummaries(&sv.AnswerSummaries, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -8151,7 +8061,6 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.LensAlias = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8160,7 +8069,6 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.NextToken = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -8169,7 +8077,6 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -8334,12 +8241,10 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplatesOutput(v **ListReviewT } sv.NextToken = ptr.String(jtv) } - case "ReviewTemplates": if err := awsRestjson1_deserializeDocumentReviewTemplates(&sv.ReviewTemplates, value); err != nil { return err } - default: _, _ = key, value @@ -8504,12 +8409,10 @@ func awsRestjson1_deserializeOpDocumentListShareInvitationsOutput(v **ListShareI } sv.NextToken = ptr.String(jtv) } - case "ShareInvitationSummaries": if err := awsRestjson1_deserializeDocumentShareInvitationSummaries(&sv.ShareInvitationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -8664,7 +8567,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8832,7 +8734,6 @@ func awsRestjson1_deserializeOpDocumentListTemplateSharesOutput(v **ListTemplate } sv.NextToken = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -8841,12 +8742,10 @@ func awsRestjson1_deserializeOpDocumentListTemplateSharesOutput(v **ListTemplate } sv.TemplateArn = ptr.String(jtv) } - case "TemplateShareSummaries": if err := awsRestjson1_deserializeDocumentTemplateShareSummaries(&sv.TemplateShareSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9011,12 +8910,10 @@ func awsRestjson1_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } - case "WorkloadSummaries": if err := awsRestjson1_deserializeDocumentWorkloadSummaries(&sv.WorkloadSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9184,7 +9081,6 @@ func awsRestjson1_deserializeOpDocumentListWorkloadSharesOutput(v **ListWorkload } sv.NextToken = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9193,12 +9089,10 @@ func awsRestjson1_deserializeOpDocumentListWorkloadSharesOutput(v **ListWorkload } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadShareSummaries": if err := awsRestjson1_deserializeDocumentWorkloadShareSummaries(&sv.WorkloadShareSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -9547,7 +9441,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput if err := awsRestjson1_deserializeDocumentAnswer(&sv.Answer, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -9556,7 +9449,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -9565,7 +9457,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.LensArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9574,7 +9465,6 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -9956,7 +9846,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLensReviewOutput(v **UpdateLensRevi if err := awsRestjson1_deserializeDocumentLensReview(&sv.LensReview, value); err != nil { return err } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9965,7 +9854,6 @@ func awsRestjson1_deserializeOpDocumentUpdateLensReviewOutput(v **UpdateLensRevi } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -10132,7 +10020,6 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } - default: _, _ = key, value @@ -10299,7 +10186,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateOutput(v **UpdateRevi if err := awsRestjson1_deserializeDocumentReviewTemplate(&sv.ReviewTemplate, value); err != nil { return err } - default: _, _ = key, value @@ -10466,7 +10352,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda if err := awsRestjson1_deserializeDocumentReviewTemplateAnswer(&sv.Answer, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -10475,7 +10360,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda } sv.LensAlias = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -10484,7 +10368,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10651,7 +10534,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateLensReviewOutput(v ** if err := awsRestjson1_deserializeDocumentReviewTemplateLensReview(&sv.LensReview, value); err != nil { return err } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -10660,7 +10542,6 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateLensReviewOutput(v ** } sv.TemplateArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10827,7 +10708,6 @@ func awsRestjson1_deserializeOpDocumentUpdateShareInvitationOutput(v **UpdateSha if err := awsRestjson1_deserializeDocumentShareInvitation(&sv.ShareInvitation, value); err != nil { return err } - default: _, _ = key, value @@ -10994,7 +10874,6 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } - default: _, _ = key, value @@ -11165,12 +11044,10 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkloadShareOutput(v **UpdateWorkl } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadShare": if err := awsRestjson1_deserializeDocumentWorkloadShare(&sv.WorkloadShare, value); err != nil { return err } - default: _, _ = key, value @@ -11785,15 +11662,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11801,15 +11672,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11844,7 +11711,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IntegrationStatus = types.IntegrationStatus(jtv) } - case "IssueManagementStatus": if value != nil { jtv, ok := value.(string) @@ -11853,7 +11719,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IssueManagementStatus = types.AccountJiraIssueManagementStatus(jtv) } - case "IssueManagementType": if value != nil { jtv, ok := value.(string) @@ -11862,7 +11727,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IssueManagementType = types.IssueManagementType(jtv) } - case "JiraProjectKey": if value != nil { jtv, ok := value.(string) @@ -11871,7 +11735,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.JiraProjectKey = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11880,7 +11743,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.StatusMessage = ptr.String(jtv) } - case "Subdomain": if value != nil { jtv, ok := value.(string) @@ -11889,7 +11751,6 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.Subdomain = ptr.String(jtv) } - default: _, _ = key, value @@ -11965,7 +11826,6 @@ func awsRestjson1_deserializeDocumentAdditionalResources(v **types.AdditionalRes if err := awsRestjson1_deserializeDocumentUrls(&sv.Content, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -11974,7 +11834,6 @@ func awsRestjson1_deserializeDocumentAdditionalResources(v **types.AdditionalRes } sv.Type = types.AdditionalResourceType(jtv) } - default: _, _ = key, value @@ -12044,12 +11903,10 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) if err := awsRestjson1_deserializeDocumentChoiceAnswers(&sv.ChoiceAnswers, value); err != nil { return err } - case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } - case "HelpfulResourceDisplayText": if value != nil { jtv, ok := value.(string) @@ -12058,7 +11915,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.HelpfulResourceDisplayText = ptr.String(jtv) } - case "HelpfulResourceUrl": if value != nil { jtv, ok := value.(string) @@ -12067,7 +11923,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.HelpfulResourceUrl = ptr.String(jtv) } - case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -12076,7 +11931,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.ImprovementPlanUrl = ptr.String(jtv) } - case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -12085,12 +11939,10 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.IsApplicable = ptr.Bool(jtv) } - case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -12099,7 +11951,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Notes = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12108,7 +11959,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.PillarId = ptr.String(jtv) } - case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -12117,7 +11967,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionDescription = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12126,7 +11975,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -12135,7 +11983,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionTitle = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12144,7 +11991,6 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Reason = types.AnswerReason(jtv) } - case "Risk": if value != nil { jtv, ok := value.(string) @@ -12153,12 +11999,10 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Risk = types.Risk(jtv) } - case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } - default: _, _ = key, value @@ -12228,12 +12072,10 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu if err := awsRestjson1_deserializeDocumentChoiceAnswerSummaries(&sv.ChoiceAnswerSummaries, value); err != nil { return err } - case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } - case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -12242,12 +12084,10 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.IsApplicable = ptr.Bool(jtv) } - case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12256,7 +12096,6 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.PillarId = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12265,7 +12104,6 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -12274,7 +12112,6 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionTitle = ptr.String(jtv) } - case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -12283,7 +12120,6 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionType = types.QuestionType(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12292,7 +12128,6 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.Reason = types.AnswerReason(jtv) } - case "Risk": if value != nil { jtv, ok := value.(string) @@ -12301,12 +12136,10 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.Risk = types.Risk(jtv) } - case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } - default: _, _ = key, value @@ -12346,7 +12179,6 @@ func awsRestjson1_deserializeDocumentBestPractice(v **types.BestPractice, value } sv.ChoiceId = ptr.String(jtv) } - case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -12355,7 +12187,6 @@ func awsRestjson1_deserializeDocumentBestPractice(v **types.BestPractice, value } sv.ChoiceTitle = ptr.String(jtv) } - default: _, _ = key, value @@ -12429,7 +12260,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.AccountId = ptr.String(jtv) } - case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12438,7 +12268,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.ChoiceId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12447,7 +12276,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Description = ptr.String(jtv) } - case "FlaggedResources": if value != nil { jtv, ok := value.(json.Number) @@ -12460,7 +12288,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.FlaggedResources = ptr.Int32(int32(i64)) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12469,7 +12296,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Id = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -12478,7 +12304,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.LensArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12487,7 +12312,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Name = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12496,7 +12320,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.PillarId = ptr.String(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -12505,7 +12328,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Provider = types.CheckProvider(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12514,7 +12336,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.QuestionId = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12523,7 +12344,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Reason = types.CheckFailureReason(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12532,7 +12352,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Status = types.CheckStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12548,7 +12367,6 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } } - default: _, _ = key, value @@ -12652,7 +12470,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value if err := awsRestjson1_deserializeDocumentAccountSummary(&sv.AccountSummary, value); err != nil { return err } - case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12661,7 +12478,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.ChoiceId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12670,7 +12486,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Description = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -12679,7 +12494,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Id = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -12688,7 +12502,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.LensArn = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12697,7 +12510,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Name = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12706,7 +12518,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.PillarId = ptr.String(jtv) } - case "Provider": if value != nil { jtv, ok := value.(string) @@ -12715,7 +12526,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Provider = types.CheckProvider(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12724,7 +12534,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.QuestionId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12733,7 +12542,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Status = types.CheckStatus(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12749,7 +12557,6 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } } - default: _, _ = key, value @@ -12785,7 +12592,6 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalResourcesList(&sv.AdditionalResources, value); err != nil { return err } - case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12794,7 +12600,6 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.ChoiceId = ptr.String(jtv) } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12803,17 +12608,14 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.Description = ptr.String(jtv) } - case "HelpfulResource": if err := awsRestjson1_deserializeDocumentChoiceContent(&sv.HelpfulResource, value); err != nil { return err } - case "ImprovementPlan": if err := awsRestjson1_deserializeDocumentChoiceContent(&sv.ImprovementPlan, value); err != nil { return err } - case "Title": if value != nil { jtv, ok := value.(string) @@ -12822,7 +12624,6 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -12862,7 +12663,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.ChoiceId = ptr.String(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -12871,7 +12671,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Notes = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -12880,7 +12679,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Reason = types.ChoiceReason(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12889,7 +12687,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Status = types.ChoiceStatus(jtv) } - default: _, _ = key, value @@ -12997,7 +12794,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.ChoiceId = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -13006,7 +12802,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.Reason = types.ChoiceReason(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -13015,7 +12810,6 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.Status = types.ChoiceStatus(jtv) } - default: _, _ = key, value @@ -13055,7 +12849,6 @@ func awsRestjson1_deserializeDocumentChoiceContent(v **types.ChoiceContent, valu } sv.DisplayText = ptr.String(jtv) } - case "Url": if value != nil { jtv, ok := value.(string) @@ -13064,7 +12857,6 @@ func awsRestjson1_deserializeDocumentChoiceContent(v **types.ChoiceContent, valu } sv.Url = ptr.String(jtv) } - default: _, _ = key, value @@ -13104,7 +12896,6 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.ChoiceId = ptr.String(jtv) } - case "DisplayText": if value != nil { jtv, ok := value.(string) @@ -13113,7 +12904,6 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.DisplayText = ptr.String(jtv) } - case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -13122,7 +12912,6 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.ImprovementPlanUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -13220,15 +13009,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13236,7 +13019,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -13245,7 +13027,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13254,15 +13035,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13293,7 +13070,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid if err := awsRestjson1_deserializeDocumentLensMetrics(&sv.Lenses, value); err != nil { return err } - case "LensesAppliedCount": if value != nil { jtv, ok := value.(json.Number) @@ -13306,7 +13082,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.LensesAppliedCount = ptr.Int32(int32(i64)) } - case "MetricType": if value != nil { jtv, ok := value.(string) @@ -13315,12 +13090,10 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.MetricType = types.MetricType(jtv) } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13336,7 +13109,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } } - case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -13345,7 +13117,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -13354,7 +13125,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -13363,7 +13133,6 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -13467,7 +13236,6 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum if err := awsRestjson1_deserializeDocumentChoiceImprovementPlans(&sv.ImprovementPlans, value); err != nil { return err } - case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -13476,12 +13244,10 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.ImprovementPlanUrl = ptr.String(jtv) } - case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -13490,7 +13256,6 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.PillarId = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -13499,7 +13264,6 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -13508,7 +13272,6 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.QuestionTitle = ptr.String(jtv) } - case "Risk": if value != nil { jtv, ok := value.(string) @@ -13517,7 +13280,6 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.Risk = types.Risk(jtv) } - default: _, _ = key, value @@ -13547,15 +13309,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13563,15 +13319,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13606,7 +13358,6 @@ func awsRestjson1_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.JiraIssueUrl = ptr.String(jtv) } - case "LastSyncedTime": if value != nil { switch jtv := value.(type) { @@ -13622,7 +13373,6 @@ func awsRestjson1_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } } - default: _, _ = key, value @@ -13658,7 +13408,6 @@ func awsRestjson1_deserializeDocumentJiraSelectedQuestionConfiguration(v **types if err := awsRestjson1_deserializeDocumentSelectedPillars(&sv.SelectedPillars, value); err != nil { return err } - default: _, _ = key, value @@ -13698,7 +13447,6 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Description = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13707,7 +13455,6 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.LensArn = ptr.String(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -13716,7 +13463,6 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.LensVersion = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13725,7 +13471,6 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -13734,7 +13479,6 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Owner = ptr.String(jtv) } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -13743,12 +13487,10 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.ShareInvitationId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -13788,17 +13530,14 @@ func awsRestjson1_deserializeDocumentLensMetric(v **types.LensMetric, value inte } sv.LensArn = ptr.String(jtv) } - case "Pillars": if err := awsRestjson1_deserializeDocumentPillarMetrics(&sv.Pillars, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - default: _, _ = key, value @@ -13868,7 +13607,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte if err := awsRestjson1_deserializeDocumentJiraSelectedQuestionConfiguration(&sv.JiraConfiguration, value); err != nil { return err } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -13877,7 +13615,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13886,7 +13623,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensArn = ptr.String(jtv) } - case "LensName": if value != nil { jtv, ok := value.(string) @@ -13895,7 +13631,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensName = ptr.String(jtv) } - case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -13904,7 +13639,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensStatus = types.LensStatus(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -13913,7 +13647,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensVersion = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13922,7 +13655,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.NextToken = ptr.String(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -13931,27 +13663,22 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.Notes = ptr.String(jtv) } - case "PillarReviewSummaries": if err := awsRestjson1_deserializeDocumentPillarReviewSummaries(&sv.PillarReviewSummaries, value); err != nil { return err } - case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } - case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13967,7 +13694,6 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } } - default: _, _ = key, value @@ -14007,7 +13733,6 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.Base64String = ptr.String(jtv) } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -14016,7 +13741,6 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14025,7 +13749,6 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.LensArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14099,7 +13822,6 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14108,7 +13830,6 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensArn = ptr.String(jtv) } - case "LensName": if value != nil { jtv, ok := value.(string) @@ -14117,7 +13838,6 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensName = ptr.String(jtv) } - case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -14126,7 +13846,6 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensStatus = types.LensStatus(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -14135,22 +13854,18 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensVersion = ptr.String(jtv) } - case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } - case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14166,7 +13881,6 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } } - default: _, _ = key, value @@ -14240,7 +13954,6 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.SharedWith = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -14249,7 +13962,6 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -14258,7 +13970,6 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.Status = types.ShareStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -14267,7 +13978,6 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -14348,7 +14058,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14357,7 +14066,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.Description = ptr.String(jtv) } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -14366,7 +14074,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14375,7 +14082,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensArn = ptr.String(jtv) } - case "LensName": if value != nil { jtv, ok := value.(string) @@ -14384,7 +14090,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensName = ptr.String(jtv) } - case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -14393,7 +14098,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensStatus = types.LensStatus(jtv) } - case "LensType": if value != nil { jtv, ok := value.(string) @@ -14402,7 +14106,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensType = types.LensType(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -14411,7 +14114,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensVersion = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -14420,7 +14122,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.Owner = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14436,7 +14137,6 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } } - default: _, _ = key, value @@ -14476,7 +14176,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.CurrentLensVersion = ptr.String(jtv) } - case "LatestLensVersion": if value != nil { jtv, ok := value.(string) @@ -14485,7 +14184,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LatestLensVersion = ptr.String(jtv) } - case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -14494,7 +14192,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14503,7 +14200,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LensArn = ptr.String(jtv) } - case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14512,7 +14208,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.ResourceArn = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -14521,7 +14216,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.ResourceName = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -14530,7 +14224,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -14539,7 +14232,6 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -14579,7 +14271,6 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } sv.MilestoneName = ptr.String(jtv) } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14592,7 +14283,6 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "RecordedAt": if value != nil { switch jtv := value.(type) { @@ -14608,12 +14298,10 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } } - case "Workload": if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } - default: _, _ = key, value @@ -14687,7 +14375,6 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } sv.MilestoneName = ptr.String(jtv) } - case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14700,7 +14387,6 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } sv.MilestoneNumber = ptr.Int32(int32(i64)) } - case "RecordedAt": if value != nil { switch jtv := value.(type) { @@ -14716,12 +14402,10 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } } - case "WorkloadSummary": if err := awsRestjson1_deserializeDocumentWorkloadSummary(&sv.WorkloadSummary, value); err != nil { return err } - default: _, _ = key, value @@ -14791,7 +14475,6 @@ func awsRestjson1_deserializeDocumentNotificationSummary(v **types.NotificationS if err := awsRestjson1_deserializeDocumentLensUpgradeSummary(&sv.LensUpgradeSummary, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14800,7 +14483,6 @@ func awsRestjson1_deserializeDocumentNotificationSummary(v **types.NotificationS } sv.Type = types.NotificationType(jtv) } - default: _, _ = key, value @@ -14840,7 +14522,6 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.DifferenceStatus = types.DifferenceStatus(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -14849,7 +14530,6 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.PillarId = ptr.String(jtv) } - case "PillarName": if value != nil { jtv, ok := value.(string) @@ -14858,12 +14538,10 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.PillarName = ptr.String(jtv) } - case "QuestionDifferences": if err := awsRestjson1_deserializeDocumentQuestionDifferences(&sv.QuestionDifferences, value); err != nil { return err } - default: _, _ = key, value @@ -14937,17 +14615,14 @@ func awsRestjson1_deserializeDocumentPillarMetric(v **types.PillarMetric, value } sv.PillarId = ptr.String(jtv) } - case "Questions": if err := awsRestjson1_deserializeDocumentQuestionMetrics(&sv.Questions, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - default: _, _ = key, value @@ -15055,7 +14730,6 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.Notes = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -15064,7 +14738,6 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.PillarId = ptr.String(jtv) } - case "PillarName": if value != nil { jtv, ok := value.(string) @@ -15073,17 +14746,14 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.PillarName = ptr.String(jtv) } - case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - default: _, _ = key, value @@ -15130,7 +14800,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -15139,7 +14808,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Owner = ptr.String(jtv) } - case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -15148,7 +14816,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileArn = ptr.String(jtv) } - case "ProfileDescription": if value != nil { jtv, ok := value.(string) @@ -15157,7 +14824,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileDescription = ptr.String(jtv) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -15166,12 +14832,10 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileName = ptr.String(jtv) } - case "ProfileQuestions": if err := awsRestjson1_deserializeDocumentProfileQuestions(&sv.ProfileQuestions, value); err != nil { return err } - case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -15180,7 +14844,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileVersion = ptr.String(jtv) } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -15189,12 +14852,10 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ShareInvitationId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15210,7 +14871,6 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } - default: _, _ = key, value @@ -15250,7 +14910,6 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceDescription = ptr.String(jtv) } - case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -15259,7 +14918,6 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceId = ptr.String(jtv) } - case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -15268,7 +14926,6 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceTitle = ptr.String(jtv) } - default: _, _ = key, value @@ -15342,7 +14999,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.CurrentProfileVersion = ptr.String(jtv) } - case "LatestProfileVersion": if value != nil { jtv, ok := value.(string) @@ -15351,7 +15007,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.LatestProfileVersion = ptr.String(jtv) } - case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -15360,7 +15015,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.ProfileArn = ptr.String(jtv) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -15369,7 +15023,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.ProfileName = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15378,7 +15031,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.Type = types.ProfileNotificationType(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -15387,7 +15039,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -15396,7 +15047,6 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -15440,7 +15090,6 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } - case "MinSelectedChoices": if value != nil { jtv, ok := value.(json.Number) @@ -15453,12 +15102,10 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.MinSelectedChoices = ptr.Int32(int32(i64)) } - case "QuestionChoices": if err := awsRestjson1_deserializeDocumentProfileQuestionChoices(&sv.QuestionChoices, value); err != nil { return err } - case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -15467,7 +15114,6 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionDescription = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -15476,7 +15122,6 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -15485,12 +15130,10 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionTitle = ptr.String(jtv) } - case "SelectedChoiceIds": if err := awsRestjson1_deserializeDocumentSelectedChoiceIds(&sv.SelectedChoiceIds, value); err != nil { return err } - default: _, _ = key, value @@ -15632,7 +15275,6 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.SharedWith = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -15641,7 +15283,6 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15650,7 +15291,6 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.Status = types.ShareStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -15659,7 +15299,6 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -15740,7 +15379,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -15749,7 +15387,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Owner = ptr.String(jtv) } - case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -15758,7 +15395,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileArn = ptr.String(jtv) } - case "ProfileDescription": if value != nil { jtv, ok := value.(string) @@ -15767,7 +15403,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileDescription = ptr.String(jtv) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -15776,7 +15411,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileName = ptr.String(jtv) } - case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -15785,7 +15419,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileVersion = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15801,7 +15434,6 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } } - default: _, _ = key, value @@ -15848,7 +15480,6 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -15857,12 +15488,10 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } sv.TemplateName = ptr.String(jtv) } - case "TemplateQuestions": if err := awsRestjson1_deserializeDocumentTemplateQuestions(&sv.TemplateQuestions, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15878,7 +15507,6 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } } - default: _, _ = key, value @@ -15918,7 +15546,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceDescription = ptr.String(jtv) } - case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -15927,7 +15554,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceId = ptr.String(jtv) } - case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -15936,7 +15562,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceTitle = ptr.String(jtv) } - default: _, _ = key, value @@ -15980,7 +15605,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } - case "MinSelectedChoices": if value != nil { jtv, ok := value.(json.Number) @@ -15993,12 +15617,10 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.MinSelectedChoices = ptr.Int32(int32(i64)) } - case "QuestionChoices": if err := awsRestjson1_deserializeDocumentProfileTemplateQuestionChoices(&sv.QuestionChoices, value); err != nil { return err } - case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -16007,7 +15629,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionDescription = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16016,7 +15637,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16025,7 +15645,6 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionTitle = ptr.String(jtv) } - default: _, _ = key, value @@ -16139,7 +15758,6 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.DifferenceStatus = types.DifferenceStatus(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16148,7 +15766,6 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16157,7 +15774,6 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.QuestionTitle = ptr.String(jtv) } - default: _, _ = key, value @@ -16227,7 +15843,6 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va if err := awsRestjson1_deserializeDocumentBestPractices(&sv.BestPractices, value); err != nil { return err } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16236,7 +15851,6 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va } sv.QuestionId = ptr.String(jtv) } - case "Risk": if value != nil { jtv, ok := value.(string) @@ -16245,7 +15859,6 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va } sv.Risk = types.Risk(jtv) } - default: _, _ = key, value @@ -16309,15 +15922,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16325,7 +15932,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16334,7 +15940,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16343,15 +15948,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16386,12 +15987,10 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Description = ptr.String(jtv) } - case "Lenses": if err := awsRestjson1_deserializeDocumentReviewTemplateLenses(&sv.Lenses, value); err != nil { return err } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -16400,7 +15999,6 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Notes = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -16409,12 +16007,10 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Owner = ptr.String(jtv) } - case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -16423,12 +16019,10 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.ShareInvitationId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -16437,7 +16031,6 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.TemplateArn = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -16446,7 +16039,6 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.TemplateName = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16462,7 +16054,6 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -16471,7 +16062,6 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.UpdateStatus = types.ReviewTemplateUpdateStatus(jtv) } - default: _, _ = key, value @@ -16511,17 +16101,14 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.AnswerStatus = types.ReviewTemplateAnswerStatus(jtv) } - case "ChoiceAnswers": if err := awsRestjson1_deserializeDocumentChoiceAnswers(&sv.ChoiceAnswers, value); err != nil { return err } - case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } - case "HelpfulResourceDisplayText": if value != nil { jtv, ok := value.(string) @@ -16530,7 +16117,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.HelpfulResourceDisplayText = ptr.String(jtv) } - case "HelpfulResourceUrl": if value != nil { jtv, ok := value.(string) @@ -16539,7 +16125,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.HelpfulResourceUrl = ptr.String(jtv) } - case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -16548,7 +16133,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.ImprovementPlanUrl = ptr.String(jtv) } - case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -16557,7 +16141,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.IsApplicable = ptr.Bool(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -16566,7 +16149,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.Notes = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16575,7 +16157,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.PillarId = ptr.String(jtv) } - case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -16584,7 +16165,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionDescription = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16593,7 +16173,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16602,7 +16181,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionTitle = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -16611,12 +16189,10 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.Reason = types.AnswerReason(jtv) } - case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } - default: _, _ = key, value @@ -16690,17 +16266,14 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.AnswerStatus = types.ReviewTemplateAnswerStatus(jtv) } - case "ChoiceAnswerSummaries": if err := awsRestjson1_deserializeDocumentChoiceAnswerSummaries(&sv.ChoiceAnswerSummaries, value); err != nil { return err } - case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } - case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -16709,7 +16282,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.IsApplicable = ptr.Bool(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16718,7 +16290,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.PillarId = ptr.String(jtv) } - case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16727,7 +16298,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionId = ptr.String(jtv) } - case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16736,7 +16306,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionTitle = ptr.String(jtv) } - case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -16745,7 +16314,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionType = types.QuestionType(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -16754,12 +16322,10 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.Reason = types.AnswerReason(jtv) } - case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } - default: _, _ = key, value @@ -16835,7 +16401,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -16844,7 +16409,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensArn = ptr.String(jtv) } - case "LensName": if value != nil { jtv, ok := value.(string) @@ -16853,7 +16417,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensName = ptr.String(jtv) } - case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -16862,7 +16425,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensStatus = types.LensStatus(jtv) } - case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -16871,7 +16433,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensVersion = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16880,7 +16441,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.NextToken = ptr.String(jtv) } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -16889,17 +16449,14 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.Notes = ptr.String(jtv) } - case "PillarReviewSummaries": if err := awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummaries(&sv.PillarReviewSummaries, value); err != nil { return err } - case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16915,7 +16472,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } } - default: _, _ = key, value @@ -16989,7 +16545,6 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.Notes = ptr.String(jtv) } - case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16998,7 +16553,6 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.PillarId = ptr.String(jtv) } - case "PillarName": if value != nil { jtv, ok := value.(string) @@ -17007,12 +16561,10 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.PillarName = ptr.String(jtv) } - case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } - default: _, _ = key, value @@ -17086,12 +16638,10 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.Description = ptr.String(jtv) } - case "Lenses": if err := awsRestjson1_deserializeDocumentReviewTemplateLenses(&sv.Lenses, value); err != nil { return err } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -17100,7 +16650,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.Owner = ptr.String(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17109,7 +16658,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.TemplateArn = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -17118,7 +16666,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.TemplateName = ptr.String(jtv) } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -17134,7 +16681,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } } - case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -17143,7 +16689,6 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.UpdateStatus = types.ReviewTemplateUpdateStatus(jtv) } - default: _, _ = key, value @@ -17295,12 +16840,10 @@ func awsRestjson1_deserializeDocumentSelectedPillar(v **types.SelectedPillar, va } sv.PillarId = ptr.String(jtv) } - case "SelectedQuestionIds": if err := awsRestjson1_deserializeDocumentSelectedQuestionIds(&sv.SelectedQuestionIds, value); err != nil { return err } - default: _, _ = key, value @@ -17400,15 +16943,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17416,7 +16953,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -17425,7 +16961,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -17434,7 +16969,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17443,7 +16977,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -17452,15 +16985,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -17495,7 +17024,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.LensAlias = ptr.String(jtv) } - case "LensArn": if value != nil { jtv, ok := value.(string) @@ -17504,7 +17032,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.LensArn = ptr.String(jtv) } - case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -17513,7 +17040,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ProfileArn = ptr.String(jtv) } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -17522,7 +17048,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ShareInvitationId = ptr.String(jtv) } - case "ShareResourceType": if value != nil { jtv, ok := value.(string) @@ -17531,7 +17056,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ShareResourceType = types.ShareResourceType(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17540,7 +17064,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.TemplateArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -17549,7 +17072,6 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.WorkloadId = ptr.String(jtv) } - default: _, _ = key, value @@ -17623,7 +17145,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.LensArn = ptr.String(jtv) } - case "LensName": if value != nil { jtv, ok := value.(string) @@ -17632,7 +17153,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.LensName = ptr.String(jtv) } - case "PermissionType": if value != nil { jtv, ok := value.(string) @@ -17641,7 +17161,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.PermissionType = types.PermissionType(jtv) } - case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -17650,7 +17169,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ProfileArn = ptr.String(jtv) } - case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -17659,7 +17177,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ProfileName = ptr.String(jtv) } - case "SharedBy": if value != nil { jtv, ok := value.(string) @@ -17668,7 +17185,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.SharedBy = ptr.String(jtv) } - case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -17677,7 +17193,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.SharedWith = ptr.String(jtv) } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -17686,7 +17201,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ShareInvitationId = ptr.String(jtv) } - case "ShareResourceType": if value != nil { jtv, ok := value.(string) @@ -17695,7 +17209,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ShareResourceType = types.ShareResourceType(jtv) } - case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17704,7 +17217,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.TemplateArn = ptr.String(jtv) } - case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -17713,7 +17225,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.TemplateName = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -17722,7 +17233,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -17731,7 +17241,6 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -17875,7 +17384,6 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.SharedWith = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -17884,7 +17392,6 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -17893,7 +17400,6 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.Status = types.ShareStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -17902,7 +17408,6 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -17932,15 +17437,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -17948,7 +17447,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -17957,7 +17455,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -17966,15 +17463,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18033,20 +17526,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18054,7 +17540,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "Reason": if value != nil { jtv, ok := value.(string) @@ -18063,15 +17548,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18106,7 +17587,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18115,7 +17595,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18185,7 +17664,6 @@ func awsRestjson1_deserializeDocumentVersionDifferences(v **types.VersionDiffere if err := awsRestjson1_deserializeDocumentPillarDifferences(&sv.PillarDifferences, value); err != nil { return err } - default: _, _ = key, value @@ -18221,12 +17699,10 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac if err := awsRestjson1_deserializeDocumentWorkloadAccountIds(&sv.AccountIds, value); err != nil { return err } - case "Applications": if err := awsRestjson1_deserializeDocumentWorkloadApplications(&sv.Applications, value); err != nil { return err } - case "ArchitecturalDesign": if value != nil { jtv, ok := value.(string) @@ -18235,12 +17711,10 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ArchitecturalDesign = ptr.String(jtv) } - case "AwsRegions": if err := awsRestjson1_deserializeDocumentWorkloadAwsRegions(&sv.AwsRegions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18249,12 +17723,10 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Description = ptr.String(jtv) } - case "DiscoveryConfig": if err := awsRestjson1_deserializeDocumentWorkloadDiscoveryConfig(&sv.DiscoveryConfig, value); err != nil { return err } - case "Environment": if value != nil { jtv, ok := value.(string) @@ -18263,7 +17735,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Environment = types.WorkloadEnvironment(jtv) } - case "ImprovementStatus": if value != nil { jtv, ok := value.(string) @@ -18272,7 +17743,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ImprovementStatus = types.WorkloadImprovementStatus(jtv) } - case "Industry": if value != nil { jtv, ok := value.(string) @@ -18281,7 +17751,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Industry = ptr.String(jtv) } - case "IndustryType": if value != nil { jtv, ok := value.(string) @@ -18290,7 +17759,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.IndustryType = ptr.String(jtv) } - case "IsReviewOwnerUpdateAcknowledged": if value != nil { jtv, ok := value.(bool) @@ -18299,22 +17767,18 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.IsReviewOwnerUpdateAcknowledged = ptr.Bool(jtv) } - case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(&sv.JiraConfiguration, value); err != nil { return err } - case "Lenses": if err := awsRestjson1_deserializeDocumentWorkloadLenses(&sv.Lenses, value); err != nil { return err } - case "NonAwsRegions": if err := awsRestjson1_deserializeDocumentWorkloadNonAwsRegions(&sv.NonAwsRegions, value); err != nil { return err } - case "Notes": if value != nil { jtv, ok := value.(string) @@ -18323,7 +17787,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Notes = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -18332,22 +17795,18 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Owner = ptr.String(jtv) } - case "PillarPriorities": if err := awsRestjson1_deserializeDocumentWorkloadPillarPriorities(&sv.PillarPriorities, value); err != nil { return err } - case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } - case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } - case "ReviewOwner": if value != nil { jtv, ok := value.(string) @@ -18356,7 +17815,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ReviewOwner = ptr.String(jtv) } - case "ReviewRestrictionDate": if value != nil { switch jtv := value.(type) { @@ -18372,12 +17830,10 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -18386,12 +17842,10 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ShareInvitationId = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -18407,7 +17861,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } } - case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -18416,7 +17869,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -18425,7 +17877,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -18434,7 +17885,6 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -18582,12 +18032,10 @@ func awsRestjson1_deserializeDocumentWorkloadDiscoveryConfig(v **types.WorkloadD } sv.TrustedAdvisorIntegrationStatus = types.TrustedAdvisorIntegrationStatus(jtv) } - case "WorkloadResourceDefinition": if err := awsRestjson1_deserializeDocumentWorkloadResourceDefinition(&sv.WorkloadResourceDefinition, value); err != nil { return err } - default: _, _ = key, value @@ -18627,7 +18075,6 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.IssueManagementStatus = types.WorkloadIssueManagementStatus(jtv) } - case "IssueManagementType": if value != nil { jtv, ok := value.(string) @@ -18636,7 +18083,6 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.IssueManagementType = types.IssueManagementType(jtv) } - case "JiraProjectKey": if value != nil { jtv, ok := value.(string) @@ -18645,7 +18091,6 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.JiraProjectKey = ptr.String(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18654,7 +18099,6 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18802,7 +18246,6 @@ func awsRestjson1_deserializeDocumentWorkloadProfile(v **types.WorkloadProfile, } sv.ProfileArn = ptr.String(jtv) } - case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -18811,7 +18254,6 @@ func awsRestjson1_deserializeDocumentWorkloadProfile(v **types.WorkloadProfile, } sv.ProfileVersion = ptr.String(jtv) } - default: _, _ = key, value @@ -18921,7 +18363,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.PermissionType = types.PermissionType(jtv) } - case "SharedBy": if value != nil { jtv, ok := value.(string) @@ -18930,7 +18371,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.SharedBy = ptr.String(jtv) } - case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -18939,7 +18379,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.SharedWith = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -18948,7 +18387,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -18957,7 +18395,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.Status = types.ShareStatus(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -18966,7 +18403,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -18975,7 +18411,6 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value @@ -19049,7 +18484,6 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.PermissionType = types.PermissionType(jtv) } - case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -19058,7 +18492,6 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.SharedWith = ptr.String(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -19067,7 +18500,6 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -19076,7 +18508,6 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.Status = types.ShareStatus(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19085,7 +18516,6 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -19159,12 +18589,10 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.ImprovementStatus = types.WorkloadImprovementStatus(jtv) } - case "Lenses": if err := awsRestjson1_deserializeDocumentWorkloadLenses(&sv.Lenses, value); err != nil { return err } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -19173,22 +18601,18 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.Owner = ptr.String(jtv) } - case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } - case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } - case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } - case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -19204,7 +18628,6 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } } - case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -19213,7 +18636,6 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadArn = ptr.String(jtv) } - case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -19222,7 +18644,6 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadId = ptr.String(jtv) } - case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -19231,7 +18652,6 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadName = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/wisdom/deserializers.go b/service/wisdom/deserializers.go index d53dc6fe7a2..c92c8d53e26 100644 --- a/service/wisdom/deserializers.go +++ b/service/wisdom/deserializers.go @@ -181,7 +181,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantOutput(v **CreateAssistant if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } - default: _, _ = key, value @@ -345,7 +344,6 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantAssociationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -509,7 +507,6 @@ func awsRestjson1_deserializeOpDocumentCreateContentOutput(v **CreateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -670,7 +667,6 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -834,7 +830,6 @@ func awsRestjson1_deserializeOpDocumentCreateQuickResponseOutput(v **CreateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -992,7 +987,6 @@ func awsRestjson1_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -1720,7 +1714,6 @@ func awsRestjson1_deserializeOpDocumentGetAssistantOutput(v **GetAssistantOutput if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } - default: _, _ = key, value @@ -1878,7 +1871,6 @@ func awsRestjson1_deserializeOpDocumentGetAssistantAssociationOutput(v **GetAssi if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } - default: _, _ = key, value @@ -2036,7 +2028,6 @@ func awsRestjson1_deserializeOpDocumentGetContentOutput(v **GetContentOutput, va if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -2194,7 +2185,6 @@ func awsRestjson1_deserializeOpDocumentGetContentSummaryOutput(v **GetContentSum if err := awsRestjson1_deserializeDocumentContentSummary(&sv.ContentSummary, value); err != nil { return err } - default: _, _ = key, value @@ -2352,7 +2342,6 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -2510,7 +2499,6 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -2668,7 +2656,6 @@ func awsRestjson1_deserializeOpDocumentGetQuickResponseOutput(v **GetQuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -2826,12 +2813,10 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } - case "triggers": if err := awsRestjson1_deserializeDocumentRecommendationTriggerList(&sv.Triggers, value); err != nil { return err } - default: _, _ = key, value @@ -2989,7 +2974,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -3147,7 +3131,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssistantAssociationSummaryList(&sv.AssistantAssociationSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3156,7 +3139,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3311,7 +3293,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu if err := awsRestjson1_deserializeDocumentAssistantList(&sv.AssistantSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3320,7 +3301,6 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3478,7 +3458,6 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3487,7 +3466,6 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3642,7 +3620,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobList(&sv.ImportJobSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3651,7 +3628,6 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3806,7 +3782,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseList(&sv.KnowledgeBaseSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3815,7 +3790,6 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -3977,12 +3951,10 @@ func awsRestjson1_deserializeOpDocumentListQuickResponsesOutput(v **ListQuickRes } sv.NextToken = ptr.String(jtv) } - case "quickResponseSummaries": if err := awsRestjson1_deserializeDocumentQuickResponseSummaryList(&sv.QuickResponseSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -4134,7 +4106,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -4292,12 +4263,10 @@ func awsRestjson1_deserializeOpDocumentNotifyRecommendationsReceivedOutput(v **N if err := awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedErrorList(&sv.Errors, value); err != nil { return err } - case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } - default: _, _ = key, value @@ -4462,12 +4431,10 @@ func awsRestjson1_deserializeOpDocumentQueryAssistantOutput(v **QueryAssistantOu } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentQueryResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -4719,7 +4686,6 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4728,7 +4694,6 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -4893,12 +4858,10 @@ func awsRestjson1_deserializeOpDocumentSearchQuickResponsesOutput(v **SearchQuic } sv.NextToken = ptr.String(jtv) } - case "results": if err := awsRestjson1_deserializeDocumentQuickResponseSearchResultsList(&sv.Results, value); err != nil { return err } - default: _, _ = key, value @@ -5060,12 +5023,10 @@ func awsRestjson1_deserializeOpDocumentSearchSessionsOutput(v **SearchSessionsOu } sv.NextToken = ptr.String(jtv) } - case "sessionSummaries": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.SessionSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -5223,7 +5184,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent if err := awsRestjson1_deserializeDocumentHeaders(&sv.HeadersToInclude, value); err != nil { return err } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -5232,7 +5192,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.UploadId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -5241,7 +5200,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -5257,7 +5215,6 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } } - default: _, _ = key, value @@ -5421,7 +5378,6 @@ func awsRestjson1_deserializeOpDocumentStartImportJobOutput(v **StartImportJobOu if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } - default: _, _ = key, value @@ -5761,7 +5717,6 @@ func awsRestjson1_deserializeOpDocumentUpdateContentOutput(v **UpdateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } - default: _, _ = key, value @@ -5919,7 +5874,6 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseTemplateUriOutput(v ** if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } - default: _, _ = key, value @@ -6083,7 +6037,6 @@ func awsRestjson1_deserializeOpDocumentUpdateQuickResponseOutput(v **UpdateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } - default: _, _ = key, value @@ -6401,15 +6354,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -6417,15 +6364,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -6460,12 +6403,10 @@ func awsRestjson1_deserializeDocumentAppIntegrationsConfiguration(v **types.AppI } sv.AppIntegrationArn = ptr.String(jtv) } - case "objectFields": if err := awsRestjson1_deserializeDocumentObjectFieldsList(&sv.ObjectFields, value); err != nil { return err } - default: _, _ = key, value @@ -6505,7 +6446,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantArn = ptr.String(jtv) } - case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -6514,7 +6454,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationArn = ptr.String(jtv) } - case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -6523,7 +6462,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationId = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6532,12 +6470,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantId = ptr.String(jtv) } - case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -6546,12 +6482,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssociationType = types.AssociationType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6631,7 +6565,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantArn = ptr.String(jtv) } - case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -6640,7 +6573,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationArn = ptr.String(jtv) } - case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -6649,7 +6581,6 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationId = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6658,12 +6589,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantId = ptr.String(jtv) } - case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } - case "associationType": if value != nil { jtv, ok := value.(string) @@ -6672,12 +6601,10 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssociationType = types.AssociationType(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -6751,7 +6678,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6760,7 +6686,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6769,12 +6694,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6783,12 +6706,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Name = ptr.String(jtv) } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6797,12 +6718,10 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Status = types.AssistantStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6811,7 +6730,6 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Type = types.AssistantType(jtv) } - default: _, _ = key, value @@ -6851,7 +6769,6 @@ func awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(v **types } sv.TopicIntegrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -6925,7 +6842,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6934,7 +6850,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantId = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -6943,12 +6858,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -6957,12 +6870,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Name = ptr.String(jtv) } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -6971,12 +6882,10 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Status = types.AssistantStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "type": if value != nil { jtv, ok := value.(string) @@ -6985,7 +6894,6 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Type = types.AssistantType(jtv) } - default: _, _ = key, value @@ -7091,15 +6999,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7107,15 +7009,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7150,7 +7048,6 @@ func awsRestjson1_deserializeDocumentConnectConfiguration(v **types.ConnectConfi } sv.InstanceId = ptr.String(jtv) } - default: _, _ = key, value @@ -7226,7 +7123,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -7235,7 +7131,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentId = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -7244,7 +7139,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentType = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7253,7 +7147,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7262,7 +7155,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseId = ptr.String(jtv) } - case "linkOutUri": if value != nil { jtv, ok := value.(string) @@ -7271,12 +7163,10 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.LinkOutUri = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7285,7 +7175,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7294,7 +7183,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.RevisionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7303,12 +7191,10 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Status = types.ContentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -7317,7 +7203,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Title = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -7326,7 +7211,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -7342,7 +7226,6 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } } - default: _, _ = key, value @@ -7418,7 +7301,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -7427,7 +7309,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentId = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7436,7 +7317,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7445,7 +7325,6 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -7485,7 +7364,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentArn = ptr.String(jtv) } - case "contentId": if value != nil { jtv, ok := value.(string) @@ -7494,7 +7372,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentId = ptr.String(jtv) } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -7503,7 +7380,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentType = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7512,7 +7388,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7521,12 +7396,10 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseId = ptr.String(jtv) } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -7535,7 +7408,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Name = ptr.String(jtv) } - case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7544,7 +7416,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.RevisionId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -7553,12 +7424,10 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Status = types.ContentStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "title": if value != nil { jtv, ok := value.(string) @@ -7567,7 +7436,6 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Title = ptr.String(jtv) } - default: _, _ = key, value @@ -7637,17 +7505,14 @@ func awsRestjson1_deserializeDocumentDocument(v **types.Document, value interfac if err := awsRestjson1_deserializeDocumentContentReference(&sv.ContentReference, value); err != nil { return err } - case "excerpt": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } - case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } - default: _, _ = key, value @@ -7683,7 +7548,6 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } - case "text": if value != nil { jtv, ok := value.(string) @@ -7692,7 +7556,6 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -7728,7 +7591,6 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -7737,7 +7599,6 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter } sv.Source = types.ExternalSource(jtv) } - default: _, _ = key, value @@ -7777,12 +7638,10 @@ func awsRestjson1_deserializeDocumentGroupingConfiguration(v **types.GroupingCon } sv.Criteria = ptr.String(jtv) } - case "values": if err := awsRestjson1_deserializeDocumentGroupingValues(&sv.Values, value); err != nil { return err } - default: _, _ = key, value @@ -7898,7 +7757,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffsetInclusive = int32(i64) } - case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -7911,7 +7769,6 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffsetExclusive = int32(i64) } - default: _, _ = key, value @@ -7992,12 +7849,10 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } - case "failedRecordReport": if value != nil { jtv, ok := value.(string) @@ -8006,7 +7861,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.FailedRecordReport = ptr.String(jtv) } - case "importJobId": if value != nil { jtv, ok := value.(string) @@ -8015,7 +7869,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobId = ptr.String(jtv) } - case "importJobType": if value != nil { jtv, ok := value.(string) @@ -8024,7 +7877,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobType = types.ImportJobType(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8033,7 +7885,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8042,7 +7893,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8058,12 +7908,10 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8072,7 +7920,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Status = types.ImportJobStatus(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -8081,7 +7928,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.UploadId = ptr.String(jtv) } - case "url": if value != nil { jtv, ok := value.(string) @@ -8090,7 +7936,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Url = ptr.String(jtv) } - case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -8106,7 +7951,6 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } - default: _, _ = key, value @@ -8187,12 +8031,10 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } - case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } - case "importJobId": if value != nil { jtv, ok := value.(string) @@ -8201,7 +8043,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobId = ptr.String(jtv) } - case "importJobType": if value != nil { jtv, ok := value.(string) @@ -8210,7 +8051,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobType = types.ImportJobType(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8219,7 +8059,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8228,7 +8067,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8244,12 +8082,10 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } - case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8258,7 +8094,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.Status = types.ImportJobStatus(jtv) } - case "uploadId": if value != nil { jtv, ok := value.(string) @@ -8267,7 +8102,6 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.UploadId = ptr.String(jtv) } - default: _, _ = key, value @@ -8307,7 +8141,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8316,7 +8149,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseId = ptr.String(jtv) } - default: _, _ = key, value @@ -8356,7 +8188,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Description = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8365,7 +8196,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8374,7 +8204,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -8383,7 +8212,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } - case "lastContentModificationTime": if value != nil { switch jtv := value.(type) { @@ -8399,7 +8227,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -8408,22 +8235,18 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Name = ptr.String(jtv) } - case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8432,12 +8255,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8511,7 +8332,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8520,7 +8340,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8529,7 +8348,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } - case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -8538,7 +8356,6 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -8547,22 +8364,18 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } - case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } - case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } - case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } - case "status": if value != nil { jtv, ok := value.(string) @@ -8571,12 +8384,10 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -8616,7 +8427,6 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.Message = ptr.String(jtv) } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -8625,7 +8435,6 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.RecommendationId = ptr.String(jtv) } - default: _, _ = key, value @@ -8725,15 +8534,9 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8741,15 +8544,11 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8784,7 +8583,6 @@ func awsRestjson1_deserializeDocumentQueryRecommendationTriggerData(v **types.Qu } sv.Text = ptr.String(jtv) } - default: _, _ = key, value @@ -8896,12 +8694,10 @@ func awsRestjson1_deserializeDocumentQuickResponseContents(v **types.QuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.Markdown, value); err != nil { return err } - case "plainText": if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.PlainText, value); err != nil { return err } - default: _, _ = key, value @@ -8937,12 +8733,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -8951,7 +8745,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8967,7 +8760,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } - case "description": if value != nil { jtv, ok := value.(string) @@ -8976,12 +8768,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Description = ptr.String(jtv) } - case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -8990,7 +8780,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8999,7 +8788,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -9008,7 +8796,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseId = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -9017,7 +8804,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Language = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9026,7 +8812,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9042,7 +8827,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9051,7 +8835,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -9060,7 +8843,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -9069,7 +8851,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseId = ptr.String(jtv) } - case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -9078,7 +8859,6 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ShortcutKey = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9087,12 +8867,10 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9128,22 +8906,18 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesInterpolated, value); err != nil { return err } - case "attributesNotInterpolated": if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesNotInterpolated, value); err != nil { return err } - case "channels": if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -9152,7 +8926,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9168,7 +8941,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9177,12 +8949,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Description = ptr.String(jtv) } - case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -9191,7 +8961,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -9200,7 +8969,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -9209,7 +8977,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseId = ptr.String(jtv) } - case "language": if value != nil { jtv, ok := value.(string) @@ -9218,7 +8985,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Language = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9227,7 +8993,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9243,7 +9008,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9252,7 +9016,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -9261,7 +9024,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -9270,7 +9032,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseId = ptr.String(jtv) } - case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -9279,7 +9040,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ShortcutKey = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9288,12 +9048,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9363,7 +9121,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } - case "contentType": if value != nil { jtv, ok := value.(string) @@ -9372,7 +9129,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.ContentType = ptr.String(jtv) } - case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9388,7 +9144,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } - case "description": if value != nil { jtv, ok := value.(string) @@ -9397,7 +9152,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Description = ptr.String(jtv) } - case "isActive": if value != nil { jtv, ok := value.(bool) @@ -9406,7 +9160,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.IsActive = ptr.Bool(jtv) } - case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -9415,7 +9168,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseArn = ptr.String(jtv) } - case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -9424,7 +9176,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseId = ptr.String(jtv) } - case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9433,7 +9184,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.LastModifiedBy = ptr.String(jtv) } - case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9449,7 +9199,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } - case "name": if value != nil { jtv, ok := value.(string) @@ -9458,7 +9207,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Name = ptr.String(jtv) } - case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -9467,7 +9215,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseArn = ptr.String(jtv) } - case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -9476,7 +9223,6 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseId = ptr.String(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -9485,12 +9231,10 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Status = types.QuickResponseStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -9560,7 +9304,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } - case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -9569,7 +9312,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RecommendationId = ptr.String(jtv) } - case "relevanceLevel": if value != nil { jtv, ok := value.(string) @@ -9578,7 +9320,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RelevanceLevel = types.RelevanceLevel(jtv) } - case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -9612,7 +9353,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } } - case "type": if value != nil { jtv, ok := value.(string) @@ -9621,7 +9361,6 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.Type = types.RecommendationType(jtv) } - default: _, _ = key, value @@ -9727,7 +9466,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat if err := awsRestjson1_deserializeDocumentRecommendationTriggerData(&sv.Data, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -9736,12 +9474,10 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Id = ptr.String(jtv) } - case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } - case "source": if value != nil { jtv, ok := value.(string) @@ -9750,7 +9486,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Source = types.RecommendationSourceType(jtv) } - case "type": if value != nil { jtv, ok := value.(string) @@ -9759,7 +9494,6 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Type = types.RecommendationTriggerType(jtv) } - default: _, _ = key, value @@ -9873,7 +9607,6 @@ func awsRestjson1_deserializeDocumentRenderingConfiguration(v **types.RenderingC } sv.TemplateUri = ptr.String(jtv) } - default: _, _ = key, value @@ -9903,15 +9636,9 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9919,15 +9646,11 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9952,15 +9675,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9968,7 +9685,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9977,15 +9693,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10016,7 +9728,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } - case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -10050,7 +9761,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } } - case "resultId": if value != nil { jtv, ok := value.(string) @@ -10059,7 +9769,6 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.ResultId = ptr.String(jtv) } - default: _, _ = key, value @@ -10099,7 +9808,6 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } - default: _, _ = key, value @@ -10129,15 +9837,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10145,15 +9847,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10188,12 +9886,10 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Description = ptr.String(jtv) } - case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -10202,7 +9898,6 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Name = ptr.String(jtv) } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -10211,7 +9906,6 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -10220,12 +9914,10 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionId = ptr.String(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -10265,7 +9957,6 @@ func awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(v **types.S } sv.TopicIntegrationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10339,7 +10030,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantArn = ptr.String(jtv) } - case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10348,7 +10038,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantId = ptr.String(jtv) } - case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -10357,7 +10046,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -10366,7 +10054,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10472,15 +10159,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10488,7 +10169,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -10497,15 +10177,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10530,15 +10206,9 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10546,15 +10216,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/workdocs/deserializers.go b/service/workdocs/deserializers.go index dbd542dc717..f4632fdef86 100644 --- a/service/workdocs/deserializers.go +++ b/service/workdocs/deserializers.go @@ -296,7 +296,6 @@ func awsRestjson1_deserializeOpDocumentActivateUserOutput(v **ActivateUserOutput if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -460,7 +459,6 @@ func awsRestjson1_deserializeOpDocumentAddResourcePermissionsOutput(v **AddResou if err := awsRestjson1_deserializeDocumentShareResultsList(&sv.ShareResults, value); err != nil { return err } - default: _, _ = key, value @@ -633,7 +631,6 @@ func awsRestjson1_deserializeOpDocumentCreateCommentOutput(v **CreateCommentOutp if err := awsRestjson1_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } - default: _, _ = key, value @@ -918,7 +915,6 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -1182,7 +1178,6 @@ func awsRestjson1_deserializeOpDocumentCreateNotificationSubscriptionOutput(v ** if err := awsRestjson1_deserializeDocumentSubscription(&sv.Subscription, value); err != nil { return err } - default: _, _ = key, value @@ -1346,7 +1341,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -2610,12 +2604,10 @@ func awsRestjson1_deserializeOpDocumentDescribeActivitiesOutput(v **DescribeActi } sv.Marker = ptr.String(jtv) } - case "UserActivities": if err := awsRestjson1_deserializeDocumentUserActivities(&sv.UserActivities, value); err != nil { return err } - default: _, _ = key, value @@ -2782,7 +2774,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCommentsOutput(v **DescribeCommen if err := awsRestjson1_deserializeDocumentCommentList(&sv.Comments, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -2791,7 +2782,6 @@ func awsRestjson1_deserializeOpDocumentDescribeCommentsOutput(v **DescribeCommen } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -2964,7 +2954,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDocumentVersionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentDocumentVersionMetadataList(&sv.DocumentVersions, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -2973,7 +2962,6 @@ func awsRestjson1_deserializeOpDocumentDescribeDocumentVersionsOutput(v **Descri } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -3140,12 +3128,10 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderContentsOutput(v **Describe if err := awsRestjson1_deserializeDocumentDocumentMetadataList(&sv.Documents, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -3154,7 +3140,6 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderContentsOutput(v **Describe } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -3315,7 +3300,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupsOutput(v **DescribeGroupsOu if err := awsRestjson1_deserializeDocumentGroupMetadataList(&sv.Groups, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -3324,7 +3308,6 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupsOutput(v **DescribeGroupsOu } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -3486,12 +3469,10 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationSubscriptionsOutput(v } sv.Marker = ptr.String(jtv) } - case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } - default: _, _ = key, value @@ -3659,12 +3640,10 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePermissionsOutput(v **Des } sv.Marker = ptr.String(jtv) } - case "Principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } - default: _, _ = key, value @@ -3828,7 +3807,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRootFoldersOutput(v **DescribeRoo if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -3837,7 +3815,6 @@ func awsRestjson1_deserializeOpDocumentDescribeRootFoldersOutput(v **DescribeRoo } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -4011,7 +3988,6 @@ func awsRestjson1_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.Marker = ptr.String(jtv) } - case "TotalNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -4024,12 +4000,10 @@ func awsRestjson1_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.TotalNumberOfUsers = ptr.Int64(i64) } - case "Users": if err := awsRestjson1_deserializeDocumentOrganizationUserList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -4193,7 +4167,6 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserOutput(v **GetCurrentUserOu if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -4363,12 +4336,10 @@ func awsRestjson1_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } - case "Metadata": if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -4532,7 +4503,6 @@ func awsRestjson1_deserializeOpDocumentGetDocumentPathOutput(v **GetDocumentPath if err := awsRestjson1_deserializeDocumentResourcePath(&sv.Path, value); err != nil { return err } - default: _, _ = key, value @@ -4702,12 +4672,10 @@ func awsRestjson1_deserializeOpDocumentGetDocumentVersionOutput(v **GetDocumentV if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } - case "Metadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -4877,12 +4845,10 @@ func awsRestjson1_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } - case "Metadata": if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.Metadata, value); err != nil { return err } - default: _, _ = key, value @@ -5046,7 +5012,6 @@ func awsRestjson1_deserializeOpDocumentGetFolderPathOutput(v **GetFolderPathOutp if err := awsRestjson1_deserializeDocumentResourcePath(&sv.Path, value); err != nil { return err } - default: _, _ = key, value @@ -5210,12 +5175,10 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput if err := awsRestjson1_deserializeDocumentDocumentMetadataList(&sv.Documents, value); err != nil { return err } - case "Folders": if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -5224,7 +5187,6 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -5415,12 +5377,10 @@ func awsRestjson1_deserializeOpDocumentInitiateDocumentVersionUploadOutput(v **I if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.Metadata, value); err != nil { return err } - case "UploadMetadata": if err := awsRestjson1_deserializeDocumentUploadMetadata(&sv.UploadMetadata, value); err != nil { return err } - default: _, _ = key, value @@ -5902,7 +5862,6 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources if err := awsRestjson1_deserializeDocumentResponseItemsList(&sv.Items, value); err != nil { return err } - case "Marker": if value != nil { jtv, ok := value.(string) @@ -5911,7 +5870,6 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.Marker = ptr.String(jtv) } - default: _, _ = key, value @@ -6444,7 +6402,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } - default: _, _ = key, value @@ -7380,12 +7337,10 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac if err := awsRestjson1_deserializeDocumentCommentMetadata(&sv.CommentMetadata, value); err != nil { return err } - case "Initiator": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.Initiator, value); err != nil { return err } - case "IsIndirectActivity": if value != nil { jtv, ok := value.(bool) @@ -7394,7 +7349,6 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.IsIndirectActivity = jtv } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -7403,22 +7357,18 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.OrganizationId = ptr.String(jtv) } - case "OriginalParent": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.OriginalParent, value); err != nil { return err } - case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } - case "ResourceMetadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.ResourceMetadata, value); err != nil { return err } - case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -7434,7 +7384,6 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7443,7 +7392,6 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.Type = types.ActivityType(jtv) } - default: _, _ = key, value @@ -7483,12 +7431,10 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.CommentId = ptr.String(jtv) } - case "Contributor": if err := awsRestjson1_deserializeDocumentUser(&sv.Contributor, value); err != nil { return err } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7504,7 +7450,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } } - case "ParentId": if value != nil { jtv, ok := value.(string) @@ -7513,7 +7458,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ParentId = ptr.String(jtv) } - case "RecipientId": if value != nil { jtv, ok := value.(string) @@ -7522,7 +7466,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.RecipientId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -7531,7 +7474,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Status = types.CommentStatusType(jtv) } - case "Text": if value != nil { jtv, ok := value.(string) @@ -7540,7 +7482,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Text = ptr.String(jtv) } - case "ThreadId": if value != nil { jtv, ok := value.(string) @@ -7549,7 +7490,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ThreadId = ptr.String(jtv) } - case "Visibility": if value != nil { jtv, ok := value.(string) @@ -7558,7 +7498,6 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Visibility = types.CommentVisibilityType(jtv) } - default: _, _ = key, value @@ -7632,7 +7571,6 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.CommentId = ptr.String(jtv) } - case "CommentStatus": if value != nil { jtv, ok := value.(string) @@ -7641,12 +7579,10 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.CommentStatus = types.CommentStatusType(jtv) } - case "Contributor": if err := awsRestjson1_deserializeDocumentUser(&sv.Contributor, value); err != nil { return err } - case "ContributorId": if value != nil { jtv, ok := value.(string) @@ -7655,7 +7591,6 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.ContributorId = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7671,7 +7606,6 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } } - case "RecipientId": if value != nil { jtv, ok := value.(string) @@ -7680,7 +7614,6 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.RecipientId = ptr.String(jtv) } - default: _, _ = key, value @@ -7710,15 +7643,9 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7726,15 +7653,11 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7759,15 +7682,9 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7775,15 +7692,11 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7808,15 +7721,9 @@ func awsRestjson1_deserializeDocumentCustomMetadataLimitExceededException(v **ty sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7824,15 +7731,11 @@ func awsRestjson1_deserializeDocumentCustomMetadataLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7893,13 +7796,7 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -7909,8 +7806,7 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7918,15 +7814,11 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7951,15 +7843,9 @@ func awsRestjson1_deserializeDocumentDocumentLockedForCommentsException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7967,15 +7853,11 @@ func awsRestjson1_deserializeDocumentDocumentLockedForCommentsException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8017,7 +7899,6 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } } - case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -8026,7 +7907,6 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.CreatorId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8035,17 +7915,14 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Id = ptr.String(jtv) } - case "Labels": if err := awsRestjson1_deserializeDocumentSharedLabels(&sv.Labels, value); err != nil { return err } - case "LatestVersionMetadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.LatestVersionMetadata, value); err != nil { return err } - case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8061,7 +7938,6 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } } - case "ParentFolderId": if value != nil { jtv, ok := value.(string) @@ -8070,7 +7946,6 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.ParentFolderId = ptr.String(jtv) } - case "ResourceState": if value != nil { jtv, ok := value.(string) @@ -8079,7 +7954,6 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.ResourceState = types.ResourceStateType(jtv) } - default: _, _ = key, value @@ -8232,7 +8106,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } - case "ContentModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8248,7 +8121,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } - case "ContentType": if value != nil { jtv, ok := value.(string) @@ -8257,7 +8129,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.ContentType = ptr.String(jtv) } - case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8273,7 +8144,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } - case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -8282,7 +8152,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.CreatorId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8291,7 +8160,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Id = ptr.String(jtv) } - case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8307,7 +8175,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8316,7 +8183,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Name = ptr.String(jtv) } - case "Signature": if value != nil { jtv, ok := value.(string) @@ -8325,7 +8191,6 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Signature = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -8338,12 +8203,10 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Size = ptr.Int64(i64) } - case "Source": if err := awsRestjson1_deserializeDocumentDocumentSourceUrlMap(&sv.Source, value); err != nil { return err } - case "Status": if value != nil { jtv, ok := value.(string) @@ -8352,12 +8215,10 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Status = types.DocumentStatusType(jtv) } - case "Thumbnail": if err := awsRestjson1_deserializeDocumentDocumentThumbnailUrlMap(&sv.Thumbnail, value); err != nil { return err } - default: _, _ = key, value @@ -8421,15 +8282,9 @@ func awsRestjson1_deserializeDocumentDraftUploadOutOfSyncException(v **types.Dra sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8437,15 +8292,11 @@ func awsRestjson1_deserializeDocumentDraftUploadOutOfSyncException(v **types.Dra } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8470,15 +8321,9 @@ func awsRestjson1_deserializeDocumentEntityAlreadyExistsException(v **types.Enti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8486,15 +8331,11 @@ func awsRestjson1_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8555,20 +8396,13 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "EntityIds": if err := awsRestjson1_deserializeDocumentEntityIdList(&sv.EntityIds, value); err != nil { return err } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8576,15 +8410,11 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8609,15 +8439,9 @@ func awsRestjson1_deserializeDocumentFailedDependencyException(v **types.FailedD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8625,15 +8449,11 @@ func awsRestjson1_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8675,7 +8495,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } } - case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -8684,7 +8503,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.CreatorId = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -8693,12 +8511,10 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Id = ptr.String(jtv) } - case "Labels": if err := awsRestjson1_deserializeDocumentSharedLabels(&sv.Labels, value); err != nil { return err } - case "LatestVersionSize": if value != nil { jtv, ok := value.(json.Number) @@ -8711,7 +8527,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.LatestVersionSize = ptr.Int64(i64) } - case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8727,7 +8542,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8736,7 +8550,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Name = ptr.String(jtv) } - case "ParentFolderId": if value != nil { jtv, ok := value.(string) @@ -8745,7 +8558,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.ParentFolderId = ptr.String(jtv) } - case "ResourceState": if value != nil { jtv, ok := value.(string) @@ -8754,7 +8566,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.ResourceState = types.ResourceStateType(jtv) } - case "Signature": if value != nil { jtv, ok := value.(string) @@ -8763,7 +8574,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Signature = ptr.String(jtv) } - case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -8776,7 +8586,6 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Size = ptr.Int64(i64) } - default: _, _ = key, value @@ -8850,7 +8659,6 @@ func awsRestjson1_deserializeDocumentGroupMetadata(v **types.GroupMetadata, valu } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8859,7 +8667,6 @@ func awsRestjson1_deserializeDocumentGroupMetadata(v **types.GroupMetadata, valu } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8923,15 +8730,9 @@ func awsRestjson1_deserializeDocumentIllegalUserStateException(v **types.Illegal sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8939,15 +8740,11 @@ func awsRestjson1_deserializeDocumentIllegalUserStateException(v **types.Illegal } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8972,15 +8769,9 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8988,15 +8779,11 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9021,15 +8808,9 @@ func awsRestjson1_deserializeDocumentInvalidCommentOperationException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9037,15 +8818,11 @@ func awsRestjson1_deserializeDocumentInvalidCommentOperationException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9070,15 +8847,9 @@ func awsRestjson1_deserializeDocumentInvalidOperationException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9086,15 +8857,11 @@ func awsRestjson1_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9119,15 +8886,9 @@ func awsRestjson1_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9135,15 +8896,11 @@ func awsRestjson1_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9168,15 +8925,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9184,15 +8935,11 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9257,12 +9004,10 @@ func awsRestjson1_deserializeDocumentParticipants(v **types.Participants, value if err := awsRestjson1_deserializeDocumentGroupMetadataList(&sv.Groups, value); err != nil { return err } - case "Users": if err := awsRestjson1_deserializeDocumentUserMetadataList(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -9302,7 +9047,6 @@ func awsRestjson1_deserializeDocumentPermissionInfo(v **types.PermissionInfo, va } sv.Role = types.RoleType(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9311,7 +9055,6 @@ func awsRestjson1_deserializeDocumentPermissionInfo(v **types.PermissionInfo, va } sv.Type = types.RolePermissionType(jtv) } - default: _, _ = key, value @@ -9385,12 +9128,10 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Id = ptr.String(jtv) } - case "Roles": if err := awsRestjson1_deserializeDocumentPermissionInfoList(&sv.Roles, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9399,7 +9140,6 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Type = types.PrincipalType(jtv) } - default: _, _ = key, value @@ -9463,15 +9203,9 @@ func awsRestjson1_deserializeDocumentProhibitedStateException(v **types.Prohibit sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9479,15 +9213,11 @@ func awsRestjson1_deserializeDocumentProhibitedStateException(v **types.Prohibit } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9512,15 +9242,9 @@ func awsRestjson1_deserializeDocumentRequestedEntityTooLargeException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9528,15 +9252,11 @@ func awsRestjson1_deserializeDocumentRequestedEntityTooLargeException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9561,15 +9281,9 @@ func awsRestjson1_deserializeDocumentResourceAlreadyCheckedOutException(v **type sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9577,15 +9291,11 @@ func awsRestjson1_deserializeDocumentResourceAlreadyCheckedOutException(v **type } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9620,7 +9330,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9629,7 +9338,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Name = ptr.String(jtv) } - case "OriginalName": if value != nil { jtv, ok := value.(string) @@ -9638,12 +9346,10 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.OriginalName = ptr.String(jtv) } - case "Owner": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.Owner, value); err != nil { return err } - case "ParentId": if value != nil { jtv, ok := value.(string) @@ -9652,7 +9358,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.ParentId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9661,7 +9366,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Type = types.ResourceType(jtv) } - case "VersionId": if value != nil { jtv, ok := value.(string) @@ -9670,7 +9374,6 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.VersionId = ptr.String(jtv) } - default: _, _ = key, value @@ -9706,7 +9409,6 @@ func awsRestjson1_deserializeDocumentResourcePath(v **types.ResourcePath, value if err := awsRestjson1_deserializeDocumentResourcePathComponentList(&sv.Components, value); err != nil { return err } - default: _, _ = key, value @@ -9746,7 +9448,6 @@ func awsRestjson1_deserializeDocumentResourcePathComponent(v **types.ResourcePat } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9755,7 +9456,6 @@ func awsRestjson1_deserializeDocumentResourcePathComponent(v **types.ResourcePat } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -9825,22 +9525,18 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value if err := awsRestjson1_deserializeDocumentCommentMetadata(&sv.CommentMetadata, value); err != nil { return err } - case "DocumentMetadata": if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } - case "DocumentVersionMetadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.DocumentVersionMetadata, value); err != nil { return err } - case "FolderMetadata": if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.FolderMetadata, value); err != nil { return err } - case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9849,7 +9545,6 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value } sv.ResourceType = types.ResponseItemType(jtv) } - case "WebUrl": if value != nil { jtv, ok := value.(string) @@ -9858,7 +9553,6 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value } sv.WebUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -9922,15 +9616,9 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9938,15 +9626,11 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10017,7 +9701,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.InviteePrincipalId = ptr.String(jtv) } - case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -10026,7 +9709,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.PrincipalId = ptr.String(jtv) } - case "Role": if value != nil { jtv, ok := value.(string) @@ -10035,7 +9717,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.Role = types.RoleType(jtv) } - case "ShareId": if value != nil { jtv, ok := value.(string) @@ -10044,7 +9725,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.ShareId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10053,7 +9733,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.Status = types.ShareStatusType(jtv) } - case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10062,7 +9741,6 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.StatusMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -10162,15 +9840,9 @@ func awsRestjson1_deserializeDocumentStorageLimitExceededException(v **types.Sto sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10178,15 +9850,11 @@ func awsRestjson1_deserializeDocumentStorageLimitExceededException(v **types.Sto } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10211,15 +9879,9 @@ func awsRestjson1_deserializeDocumentStorageLimitWillExceedException(v **types.S sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10227,15 +9889,11 @@ func awsRestjson1_deserializeDocumentStorageLimitWillExceedException(v **types.S } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10274,7 +9932,6 @@ func awsRestjson1_deserializeDocumentStorageRuleType(v **types.StorageRuleType, } sv.StorageAllocatedInBytes = ptr.Int64(i64) } - case "StorageType": if value != nil { jtv, ok := value.(string) @@ -10283,7 +9940,6 @@ func awsRestjson1_deserializeDocumentStorageRuleType(v **types.StorageRuleType, } sv.StorageType = types.StorageType(jtv) } - default: _, _ = key, value @@ -10323,7 +9979,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.EndPoint = ptr.String(jtv) } - case "Protocol": if value != nil { jtv, ok := value.(string) @@ -10332,7 +9987,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Protocol = types.SubscriptionProtocolType(jtv) } - case "SubscriptionId": if value != nil { jtv, ok := value.(string) @@ -10341,7 +9995,6 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.SubscriptionId = ptr.String(jtv) } - default: _, _ = key, value @@ -10405,15 +10058,9 @@ func awsRestjson1_deserializeDocumentTooManyLabelsException(v **types.TooManyLab sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10421,15 +10068,11 @@ func awsRestjson1_deserializeDocumentTooManyLabelsException(v **types.TooManyLab } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10454,15 +10097,9 @@ func awsRestjson1_deserializeDocumentTooManySubscriptionsException(v **types.Too sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10470,15 +10107,11 @@ func awsRestjson1_deserializeDocumentTooManySubscriptionsException(v **types.Too } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10503,13 +10136,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "Code": if value != nil { @@ -10519,8 +10146,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Code = ptr.String(jtv) } - - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10528,15 +10154,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10561,15 +10183,9 @@ func awsRestjson1_deserializeDocumentUnauthorizedResourceAccessException(v **typ sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10577,15 +10193,11 @@ func awsRestjson1_deserializeDocumentUnauthorizedResourceAccessException(v **typ } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10616,7 +10228,6 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va if err := awsRestjson1_deserializeDocumentSignedHeaderMap(&sv.SignedHeaders, value); err != nil { return err } - case "UploadUrl": if value != nil { jtv, ok := value.(string) @@ -10625,7 +10236,6 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.UploadUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -10672,7 +10282,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -10681,7 +10290,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -10690,7 +10298,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.GivenName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10699,7 +10306,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } - case "Locale": if value != nil { jtv, ok := value.(string) @@ -10708,7 +10314,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Locale = types.LocaleType(jtv) } - case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10724,7 +10329,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -10733,7 +10337,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.OrganizationId = ptr.String(jtv) } - case "RecycleBinFolderId": if value != nil { jtv, ok := value.(string) @@ -10742,7 +10345,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RecycleBinFolderId = ptr.String(jtv) } - case "RootFolderId": if value != nil { jtv, ok := value.(string) @@ -10751,7 +10353,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RootFolderId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -10760,12 +10361,10 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = types.UserStatusType(jtv) } - case "Storage": if err := awsRestjson1_deserializeDocumentUserStorageMetadata(&sv.Storage, value); err != nil { return err } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -10774,7 +10373,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Surname = ptr.String(jtv) } - case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -10783,7 +10381,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.TimeZoneId = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -10792,7 +10389,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -10801,7 +10397,6 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -10875,7 +10470,6 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.EmailAddress = ptr.String(jtv) } - case "GivenName": if value != nil { jtv, ok := value.(string) @@ -10884,7 +10478,6 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.GivenName = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10893,7 +10486,6 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Id = ptr.String(jtv) } - case "Surname": if value != nil { jtv, ok := value.(string) @@ -10902,7 +10494,6 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Surname = ptr.String(jtv) } - case "Username": if value != nil { jtv, ok := value.(string) @@ -10911,7 +10502,6 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -10981,7 +10571,6 @@ func awsRestjson1_deserializeDocumentUserStorageMetadata(v **types.UserStorageMe if err := awsRestjson1_deserializeDocumentStorageRuleType(&sv.StorageRule, value); err != nil { return err } - case "StorageUtilizedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10994,7 +10583,6 @@ func awsRestjson1_deserializeDocumentUserStorageMetadata(v **types.UserStorageMe } sv.StorageUtilizedInBytes = ptr.Int64(i64) } - default: _, _ = key, value diff --git a/service/workmail/deserializers.go b/service/workmail/deserializers.go index 8dc2df85260..d7f2fcc3b61 100644 --- a/service/workmail/deserializers.go +++ b/service/workmail/deserializers.go @@ -12052,7 +12052,6 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu if err := awsAwsjson11_deserializeDocumentActionsList(&sv.Actions, value); err != nil { return err } - case "DateCreated": if value != nil { switch jtv := value.(type) { @@ -12068,7 +12067,6 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -12084,7 +12082,6 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -12093,7 +12090,6 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Description = ptr.String(jtv) } - case "Effect": if value != nil { jtv, ok := value.(string) @@ -12102,17 +12098,14 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Effect = types.AccessControlRuleEffect(jtv) } - case "ImpersonationRoleIds": if err := awsAwsjson11_deserializeDocumentImpersonationRoleIdList(&sv.ImpersonationRoleIds, value); err != nil { return err } - case "IpRanges": if err := awsAwsjson11_deserializeDocumentIpRangeList(&sv.IpRanges, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12121,32 +12114,26 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Name = ptr.String(jtv) } - case "NotActions": if err := awsAwsjson11_deserializeDocumentActionsList(&sv.NotActions, value); err != nil { return err } - case "NotImpersonationRoleIds": if err := awsAwsjson11_deserializeDocumentImpersonationRoleIdList(&sv.NotImpersonationRoleIds, value); err != nil { return err } - case "NotIpRanges": if err := awsAwsjson11_deserializeDocumentIpRangeList(&sv.NotIpRanges, value); err != nil { return err } - case "NotUserIds": if err := awsAwsjson11_deserializeDocumentUserIdList(&sv.NotUserIds, value); err != nil { return err } - case "UserIds": if err := awsAwsjson11_deserializeDocumentUserIdList(&sv.UserIds, value); err != nil { return err } - default: _, _ = key, value @@ -12335,7 +12322,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -12351,7 +12337,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12360,17 +12345,14 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } sv.DomainName = ptr.String(jtv) } - case "EwsProvider": if err := awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(&sv.EwsProvider, value); err != nil { return err } - case "LambdaProvider": if err := awsAwsjson11_deserializeDocumentLambdaAvailabilityProvider(&sv.LambdaProvider, value); err != nil { return err } - case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -12379,7 +12361,6 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } sv.ProviderType = types.AvailabilityProviderType(jtv) } - default: _, _ = key, value @@ -12453,7 +12434,6 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoAcceptRequests = jtv } - case "AutoDeclineConflictingRequests": if value != nil { jtv, ok := value.(bool) @@ -12462,7 +12442,6 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoDeclineConflictingRequests = jtv } - case "AutoDeclineRecurringRequests": if value != nil { jtv, ok := value.(bool) @@ -12471,7 +12450,6 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoDeclineRecurringRequests = jtv } - default: _, _ = key, value @@ -12511,7 +12489,6 @@ func awsAwsjson11_deserializeDocumentDelegate(v **types.Delegate, value interfac } sv.Id = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12520,7 +12497,6 @@ func awsAwsjson11_deserializeDocumentDelegate(v **types.Delegate, value interfac } sv.Type = types.MemberType(jtv) } - default: _, _ = key, value @@ -12694,15 +12670,9 @@ func awsAwsjson11_deserializeDocumentDirectoryInUseException(v **types.Directory sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12710,15 +12680,11 @@ func awsAwsjson11_deserializeDocumentDirectoryInUseException(v **types.Directory } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12743,15 +12709,9 @@ func awsAwsjson11_deserializeDocumentDirectoryServiceAuthenticationFailedExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12759,15 +12719,11 @@ func awsAwsjson11_deserializeDocumentDirectoryServiceAuthenticationFailedExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12792,15 +12748,9 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12808,15 +12758,11 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12851,7 +12797,6 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Hostname = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -12860,7 +12805,6 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Type = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -12869,7 +12813,6 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -12933,15 +12876,9 @@ func awsAwsjson11_deserializeDocumentEmailAddressInUseException(v **types.EmailA sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12949,15 +12886,11 @@ func awsAwsjson11_deserializeDocumentEmailAddressInUseException(v **types.EmailA } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12982,15 +12915,9 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyRegisteredException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12998,15 +12925,11 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyRegisteredException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13031,15 +12954,9 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13047,15 +12964,11 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13080,15 +12993,9 @@ func awsAwsjson11_deserializeDocumentEntityStateException(v **types.EntityStateE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13096,15 +13003,11 @@ func awsAwsjson11_deserializeDocumentEntityStateException(v **types.EntityStateE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13139,7 +13042,6 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Action = types.RetentionAction(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13148,7 +13050,6 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Name = types.FolderName(jtv) } - case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -13161,7 +13062,6 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Period = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -13242,7 +13142,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } } - case "Email": if value != nil { jtv, ok := value.(string) @@ -13251,7 +13150,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -13267,7 +13165,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -13276,7 +13173,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13285,7 +13181,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -13294,7 +13189,6 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.State = types.EntityState(jtv) } - default: _, _ = key, value @@ -13334,7 +13228,6 @@ func awsAwsjson11_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupId = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -13343,7 +13236,6 @@ func awsAwsjson11_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupName = ptr.String(jtv) } - default: _, _ = key, value @@ -13451,7 +13343,6 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.ApplicationArn = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13460,7 +13351,6 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.InstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13500,7 +13390,6 @@ func awsAwsjson11_deserializeDocumentImpersonationMatchedRule(v **types.Imperson } sv.ImpersonationRuleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13509,7 +13398,6 @@ func awsAwsjson11_deserializeDocumentImpersonationMatchedRule(v **types.Imperson } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -13590,7 +13478,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -13606,7 +13493,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } } - case "ImpersonationRoleId": if value != nil { jtv, ok := value.(string) @@ -13615,7 +13501,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.ImpersonationRoleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13624,7 +13509,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13633,7 +13517,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.Type = types.ImpersonationRoleType(jtv) } - default: _, _ = key, value @@ -13743,7 +13626,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Description = ptr.String(jtv) } - case "Effect": if value != nil { jtv, ok := value.(string) @@ -13752,7 +13634,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Effect = types.AccessEffect(jtv) } - case "ImpersonationRuleId": if value != nil { jtv, ok := value.(string) @@ -13761,7 +13642,6 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.ImpersonationRuleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -13770,17 +13650,14 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Name = ptr.String(jtv) } - case "NotTargetUsers": if err := awsAwsjson11_deserializeDocumentTargetUsers(&sv.NotTargetUsers, value); err != nil { return err } - case "TargetUsers": if err := awsAwsjson11_deserializeDocumentTargetUsers(&sv.TargetUsers, value); err != nil { return err } - default: _, _ = key, value @@ -13844,15 +13721,9 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13860,15 +13731,11 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13893,15 +13760,9 @@ func awsAwsjson11_deserializeDocumentInvalidCustomSesConfigurationException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13909,15 +13770,11 @@ func awsAwsjson11_deserializeDocumentInvalidCustomSesConfigurationException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13942,15 +13799,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -13958,15 +13809,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -13991,15 +13838,9 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14007,15 +13848,11 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14120,7 +13957,6 @@ func awsAwsjson11_deserializeDocumentLambdaAvailabilityProvider(v **types.Lambda } sv.LambdaArn = ptr.String(jtv) } - default: _, _ = key, value @@ -14150,15 +13986,9 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14166,15 +13996,11 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14209,7 +14035,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.Description = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -14225,7 +14050,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -14234,7 +14058,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.EntityId = ptr.String(jtv) } - case "EstimatedProgress": if value != nil { jtv, ok := value.(json.Number) @@ -14247,7 +14070,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.EstimatedProgress = int32(i64) } - case "JobId": if value != nil { jtv, ok := value.(string) @@ -14256,7 +14078,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.JobId = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14265,7 +14086,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.S3BucketName = ptr.String(jtv) } - case "S3Path": if value != nil { jtv, ok := value.(string) @@ -14274,7 +14094,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.S3Path = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14290,7 +14109,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } } - case "State": if value != nil { jtv, ok := value.(string) @@ -14299,7 +14117,6 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.State = types.MailboxExportJobState(jtv) } - default: _, _ = key, value @@ -14329,15 +14146,9 @@ func awsAwsjson11_deserializeDocumentMailDomainInUseException(v **types.MailDoma sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14345,15 +14156,11 @@ func awsAwsjson11_deserializeDocumentMailDomainInUseException(v **types.MailDoma } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14378,15 +14185,9 @@ func awsAwsjson11_deserializeDocumentMailDomainNotFoundException(v **types.MailD sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14394,15 +14195,11 @@ func awsAwsjson11_deserializeDocumentMailDomainNotFoundException(v **types.MailD } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14461,15 +14258,9 @@ func awsAwsjson11_deserializeDocumentMailDomainStateException(v **types.MailDoma sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14477,15 +14268,11 @@ func awsAwsjson11_deserializeDocumentMailDomainStateException(v **types.MailDoma } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14520,7 +14307,6 @@ func awsAwsjson11_deserializeDocumentMailDomainSummary(v **types.MailDomainSumma } sv.DefaultDomain = jtv } - case "DomainName": if value != nil { jtv, ok := value.(string) @@ -14529,7 +14315,6 @@ func awsAwsjson11_deserializeDocumentMailDomainSummary(v **types.MailDomainSumma } sv.DomainName = ptr.String(jtv) } - default: _, _ = key, value @@ -14576,7 +14361,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -14592,7 +14376,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -14601,7 +14384,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14610,7 +14392,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14619,7 +14400,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.State = types.EntityState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -14628,7 +14408,6 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Type = types.MemberType(jtv) } - default: _, _ = key, value @@ -14702,7 +14481,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRule(v **types.Mob } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14711,7 +14489,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRule(v **types.Mob } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -14792,7 +14569,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -14808,7 +14584,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14817,7 +14592,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.Description = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -14826,7 +14600,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.DeviceId = ptr.String(jtv) } - case "Effect": if value != nil { jtv, ok := value.(string) @@ -14835,7 +14608,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -14844,7 +14616,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -14925,7 +14696,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -14941,7 +14711,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -14950,27 +14719,22 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Description = ptr.String(jtv) } - case "DeviceModels": if err := awsAwsjson11_deserializeDocumentDeviceModelList(&sv.DeviceModels, value); err != nil { return err } - case "DeviceOperatingSystems": if err := awsAwsjson11_deserializeDocumentDeviceOperatingSystemList(&sv.DeviceOperatingSystems, value); err != nil { return err } - case "DeviceTypes": if err := awsAwsjson11_deserializeDocumentDeviceTypeList(&sv.DeviceTypes, value); err != nil { return err } - case "DeviceUserAgents": if err := awsAwsjson11_deserializeDocumentDeviceUserAgentList(&sv.DeviceUserAgents, value); err != nil { return err } - case "Effect": if value != nil { jtv, ok := value.(string) @@ -14979,7 +14743,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } - case "MobileDeviceAccessRuleId": if value != nil { jtv, ok := value.(string) @@ -14988,7 +14751,6 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -14997,27 +14759,22 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Name = ptr.String(jtv) } - case "NotDeviceModels": if err := awsAwsjson11_deserializeDocumentDeviceModelList(&sv.NotDeviceModels, value); err != nil { return err } - case "NotDeviceOperatingSystems": if err := awsAwsjson11_deserializeDocumentDeviceOperatingSystemList(&sv.NotDeviceOperatingSystems, value); err != nil { return err } - case "NotDeviceTypes": if err := awsAwsjson11_deserializeDocumentDeviceTypeList(&sv.NotDeviceTypes, value); err != nil { return err } - case "NotDeviceUserAgents": if err := awsAwsjson11_deserializeDocumentDeviceUserAgentList(&sv.NotDeviceUserAgents, value); err != nil { return err } - default: _, _ = key, value @@ -15081,15 +14838,9 @@ func awsAwsjson11_deserializeDocumentNameAvailabilityException(v **types.NameAva sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15097,15 +14848,11 @@ func awsAwsjson11_deserializeDocumentNameAvailabilityException(v **types.NameAva } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15130,15 +14877,9 @@ func awsAwsjson11_deserializeDocumentOrganizationNotFoundException(v **types.Org sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15146,15 +14887,11 @@ func awsAwsjson11_deserializeDocumentOrganizationNotFoundException(v **types.Org } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15179,15 +14916,9 @@ func awsAwsjson11_deserializeDocumentOrganizationStateException(v **types.Organi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15195,15 +14926,11 @@ func awsAwsjson11_deserializeDocumentOrganizationStateException(v **types.Organi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15272,7 +14999,6 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.Alias = ptr.String(jtv) } - case "DefaultMailDomain": if value != nil { jtv, ok := value.(string) @@ -15281,7 +15007,6 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.DefaultMailDomain = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15290,7 +15015,6 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.ErrorMessage = ptr.String(jtv) } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -15299,7 +15023,6 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.OrganizationId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15308,7 +15031,6 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -15348,7 +15070,6 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeId = ptr.String(jtv) } - case "GranteeType": if value != nil { jtv, ok := value.(string) @@ -15357,12 +15078,10 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeType = types.MemberType(jtv) } - case "PermissionValues": if err := awsAwsjson11_deserializeDocumentPermissionValues(&sv.PermissionValues, value); err != nil { return err } - default: _, _ = key, value @@ -15476,7 +15195,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(v **types. } sv.LifetimeInDays = ptr.Int32(int32(i64)) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15485,7 +15203,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(v **types. } sv.Status = types.PersonalAccessTokenConfigurationStatus(jtv) } - default: _, _ = key, value @@ -15568,7 +15285,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } - case "DateLastUsed": if value != nil { switch jtv := value.(type) { @@ -15584,7 +15300,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } - case "ExpiresTime": if value != nil { switch jtv := value.(type) { @@ -15600,7 +15315,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15609,7 +15323,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.Name = ptr.String(jtv) } - case "PersonalAccessTokenId": if value != nil { jtv, ok := value.(string) @@ -15618,12 +15331,10 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.PersonalAccessTokenId = ptr.String(jtv) } - case "Scopes": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenScopeList(&sv.Scopes, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -15632,7 +15343,6 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -15706,7 +15416,6 @@ func awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(v **types.R } sv.EwsEndpoint = ptr.String(jtv) } - case "EwsUsername": if value != nil { jtv, ok := value.(string) @@ -15715,7 +15424,6 @@ func awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(v **types.R } sv.EwsUsername = ptr.String(jtv) } - default: _, _ = key, value @@ -15745,15 +15453,9 @@ func awsAwsjson11_deserializeDocumentReservedNameException(v **types.ReservedNam sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15761,15 +15463,11 @@ func awsAwsjson11_deserializeDocumentReservedNameException(v **types.ReservedNam } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15804,7 +15502,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Description = ptr.String(jtv) } - case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -15820,7 +15517,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } - case "Email": if value != nil { jtv, ok := value.(string) @@ -15829,7 +15525,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -15845,7 +15540,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -15854,7 +15548,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -15863,7 +15556,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15872,7 +15564,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.State = types.EntityState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15881,7 +15572,6 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = types.ResourceType(jtv) } - default: _, _ = key, value @@ -15945,15 +15635,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15961,15 +15645,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16038,7 +15718,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16047,7 +15726,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16147,15 +15825,9 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16163,15 +15835,11 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16196,15 +15864,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16212,15 +15874,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16262,7 +15920,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -16271,7 +15928,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -16280,7 +15936,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -16296,7 +15951,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -16305,7 +15959,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } - case "IdentityProviderIdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -16314,7 +15967,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityProviderIdentityStoreId = ptr.String(jtv) } - case "IdentityProviderUserId": if value != nil { jtv, ok := value.(string) @@ -16323,7 +15975,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityProviderUserId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16332,7 +15983,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -16341,7 +15991,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.State = types.EntityState(jtv) } - case "UserRole": if value != nil { jtv, ok := value.(string) @@ -16350,7 +15999,6 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserRole = types.UserRole(jtv) } - default: _, _ = key, value @@ -16526,7 +16174,6 @@ func awsAwsjson11_deserializeOpDocumentAssumeImpersonationRoleOutput(v **AssumeI } sv.ExpiresIn = ptr.Int64(i64) } - case "Token": if value != nil { jtv, ok := value.(string) @@ -16535,7 +16182,6 @@ func awsAwsjson11_deserializeOpDocumentAssumeImpersonationRoleOutput(v **AssumeI } sv.Token = ptr.String(jtv) } - default: _, _ = key, value @@ -16668,7 +16314,6 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -16708,7 +16353,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityCenterApplicationOutput(v * } sv.ApplicationArn = ptr.String(jtv) } - default: _, _ = key, value @@ -16748,7 +16392,6 @@ func awsAwsjson11_deserializeOpDocumentCreateImpersonationRoleOutput(v **CreateI } sv.ImpersonationRoleId = ptr.String(jtv) } - default: _, _ = key, value @@ -16788,7 +16431,6 @@ func awsAwsjson11_deserializeOpDocumentCreateMobileDeviceAccessRuleOutput(v **Cr } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } - default: _, _ = key, value @@ -16828,7 +16470,6 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationOutput(v **CreateOrgani } sv.OrganizationId = ptr.String(jtv) } - default: _, _ = key, value @@ -16868,7 +16509,6 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -16908,7 +16548,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -17289,7 +16928,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteOrganizationOutput(v **DeleteOrgani } sv.OrganizationId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17298,7 +16936,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteOrganizationOutput(v **DeleteOrgani } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -17524,7 +17161,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmailMonitoringConfigurationOutpu } sv.LogGroupArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17533,7 +17169,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmailMonitoringConfigurationOutpu } sv.RoleArn = ptr.String(jtv) } - default: _, _ = key, value @@ -17573,7 +17208,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17582,7 +17216,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Name = ptr.String(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -17591,7 +17224,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Type = types.EntityType(jtv) } - default: _, _ = key, value @@ -17638,7 +17270,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } } - case "Email": if value != nil { jtv, ok := value.(string) @@ -17647,7 +17278,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -17663,7 +17293,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } } - case "GroupId": if value != nil { jtv, ok := value.(string) @@ -17672,7 +17301,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupId = ptr.String(jtv) } - case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -17681,7 +17309,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.HiddenFromGlobalAddressList = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17690,7 +17317,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Name = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17699,7 +17325,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.State = types.EntityState(jtv) } - default: _, _ = key, value @@ -17739,17 +17364,14 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityProviderConfigurationOutp } sv.AuthenticationMode = types.IdentityProviderAuthenticationMode(jtv) } - case "IdentityCenterConfiguration": if err := awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } - case "PersonalAccessTokenConfiguration": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(&sv.PersonalAccessTokenConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -17789,7 +17411,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeInboundDmarcSettingsOutput(v **De } sv.Enforced = jtv } - default: _, _ = key, value @@ -17829,7 +17450,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.Description = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -17845,7 +17465,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } } - case "EntityId": if value != nil { jtv, ok := value.(string) @@ -17854,7 +17473,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.EntityId = ptr.String(jtv) } - case "ErrorInfo": if value != nil { jtv, ok := value.(string) @@ -17863,7 +17481,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.ErrorInfo = ptr.String(jtv) } - case "EstimatedProgress": if value != nil { jtv, ok := value.(json.Number) @@ -17876,7 +17493,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.EstimatedProgress = int32(i64) } - case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -17885,7 +17501,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.KmsKeyArn = ptr.String(jtv) } - case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17894,7 +17509,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } - case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -17903,7 +17517,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3BucketName = ptr.String(jtv) } - case "S3Path": if value != nil { jtv, ok := value.(string) @@ -17912,7 +17525,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3Path = ptr.String(jtv) } - case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -17921,7 +17533,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3Prefix = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -17937,7 +17548,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } } - case "State": if value != nil { jtv, ok := value.(string) @@ -17946,7 +17556,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.State = types.MailboxExportJobState(jtv) } - default: _, _ = key, value @@ -17986,7 +17595,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.Alias = ptr.String(jtv) } - case "ARN": if value != nil { jtv, ok := value.(string) @@ -17995,7 +17603,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.ARN = ptr.String(jtv) } - case "CompletedDate": if value != nil { switch jtv := value.(type) { @@ -18011,7 +17618,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } } - case "DefaultMailDomain": if value != nil { jtv, ok := value.(string) @@ -18020,7 +17626,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DefaultMailDomain = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -18029,7 +17634,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DirectoryId = ptr.String(jtv) } - case "DirectoryType": if value != nil { jtv, ok := value.(string) @@ -18038,7 +17642,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DirectoryType = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -18047,7 +17650,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.ErrorMessage = ptr.String(jtv) } - case "InteroperabilityEnabled": if value != nil { jtv, ok := value.(bool) @@ -18056,7 +17658,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.InteroperabilityEnabled = jtv } - case "MigrationAdmin": if value != nil { jtv, ok := value.(string) @@ -18065,7 +17666,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.MigrationAdmin = ptr.String(jtv) } - case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -18074,7 +17674,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.OrganizationId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18083,7 +17682,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.State = ptr.String(jtv) } - default: _, _ = key, value @@ -18119,7 +17717,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour if err := awsAwsjson11_deserializeDocumentBookingOptions(&sv.BookingOptions, value); err != nil { return err } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18128,7 +17725,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Description = ptr.String(jtv) } - case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -18144,7 +17740,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } } - case "Email": if value != nil { jtv, ok := value.(string) @@ -18153,7 +17748,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -18169,7 +17763,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } } - case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -18178,7 +17771,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.HiddenFromGlobalAddressList = jtv } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18187,7 +17779,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Name = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18196,7 +17787,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.ResourceId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18205,7 +17795,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.State = types.EntityState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18214,7 +17803,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Type = types.ResourceType(jtv) } - default: _, _ = key, value @@ -18254,7 +17842,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.City = ptr.String(jtv) } - case "Company": if value != nil { jtv, ok := value.(string) @@ -18263,7 +17850,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Company = ptr.String(jtv) } - case "Country": if value != nil { jtv, ok := value.(string) @@ -18272,7 +17858,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Country = ptr.String(jtv) } - case "Department": if value != nil { jtv, ok := value.(string) @@ -18281,7 +17866,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Department = ptr.String(jtv) } - case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -18297,7 +17881,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } - case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -18306,7 +17889,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DisplayName = ptr.String(jtv) } - case "Email": if value != nil { jtv, ok := value.(string) @@ -18315,7 +17897,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Email = ptr.String(jtv) } - case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -18331,7 +17912,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } - case "FirstName": if value != nil { jtv, ok := value.(string) @@ -18340,7 +17920,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.FirstName = ptr.String(jtv) } - case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -18349,7 +17928,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.HiddenFromGlobalAddressList = jtv } - case "IdentityProviderIdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -18358,7 +17936,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityProviderIdentityStoreId = ptr.String(jtv) } - case "IdentityProviderUserId": if value != nil { jtv, ok := value.(string) @@ -18367,7 +17944,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityProviderUserId = ptr.String(jtv) } - case "Initials": if value != nil { jtv, ok := value.(string) @@ -18376,7 +17952,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Initials = ptr.String(jtv) } - case "JobTitle": if value != nil { jtv, ok := value.(string) @@ -18385,7 +17960,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.JobTitle = ptr.String(jtv) } - case "LastName": if value != nil { jtv, ok := value.(string) @@ -18394,7 +17968,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.LastName = ptr.String(jtv) } - case "MailboxDeprovisionedDate": if value != nil { switch jtv := value.(type) { @@ -18410,7 +17983,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } - case "MailboxProvisionedDate": if value != nil { switch jtv := value.(type) { @@ -18426,7 +17998,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18435,7 +18006,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Name = ptr.String(jtv) } - case "Office": if value != nil { jtv, ok := value.(string) @@ -18444,7 +18014,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Office = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18453,7 +18022,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.State = types.EntityState(jtv) } - case "Street": if value != nil { jtv, ok := value.(string) @@ -18462,7 +18030,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Street = ptr.String(jtv) } - case "Telephone": if value != nil { jtv, ok := value.(string) @@ -18471,7 +18038,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Telephone = ptr.String(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -18480,7 +18046,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserId = ptr.String(jtv) } - case "UserRole": if value != nil { jtv, ok := value.(string) @@ -18489,7 +18054,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserRole = types.UserRole(jtv) } - case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -18498,7 +18062,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ZipCode = ptr.String(jtv) } - default: _, _ = key, value @@ -18600,12 +18163,10 @@ func awsAwsjson11_deserializeOpDocumentGetAccessControlEffectOutput(v **GetAcces } sv.Effect = types.AccessControlRuleEffect(jtv) } - case "MatchedRules": if err := awsAwsjson11_deserializeDocumentAccessControlRuleNameList(&sv.MatchedRules, value); err != nil { return err } - default: _, _ = key, value @@ -18645,12 +18206,10 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Description = ptr.String(jtv) } - case "FolderConfigurations": if err := awsAwsjson11_deserializeDocumentFolderConfigurations(&sv.FolderConfigurations, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -18659,7 +18218,6 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Id = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18668,7 +18226,6 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -18708,12 +18265,10 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleEffectOutput(v **GetI } sv.Effect = types.AccessEffect(jtv) } - case "MatchedRules": if err := awsAwsjson11_deserializeDocumentImpersonationMatchedRuleList(&sv.MatchedRules, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18722,7 +18277,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleEffectOutput(v **GetI } sv.Type = types.ImpersonationRoleType(jtv) } - default: _, _ = key, value @@ -18769,7 +18323,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -18785,7 +18338,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18794,7 +18346,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Description = ptr.String(jtv) } - case "ImpersonationRoleId": if value != nil { jtv, ok := value.(string) @@ -18803,7 +18354,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.ImpersonationRoleId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -18812,12 +18362,10 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Name = ptr.String(jtv) } - case "Rules": if err := awsAwsjson11_deserializeDocumentImpersonationRuleList(&sv.Rules, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -18826,7 +18374,6 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Type = types.ImpersonationRoleType(jtv) } - default: _, _ = key, value @@ -18870,7 +18417,6 @@ func awsAwsjson11_deserializeOpDocumentGetMailboxDetailsOutput(v **GetMailboxDet } sv.MailboxQuota = ptr.Int32(int32(i64)) } - case "MailboxSize": if value != nil { switch jtv := value.(type) { @@ -18904,7 +18450,6 @@ func awsAwsjson11_deserializeOpDocumentGetMailboxDetailsOutput(v **GetMailboxDet } } - default: _, _ = key, value @@ -18944,7 +18489,6 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.DkimVerificationStatus = types.DnsRecordVerificationStatus(jtv) } - case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -18953,7 +18497,6 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.IsDefault = jtv } - case "IsTestDomain": if value != nil { jtv, ok := value.(bool) @@ -18962,7 +18505,6 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.IsTestDomain = jtv } - case "OwnershipVerificationStatus": if value != nil { jtv, ok := value.(string) @@ -18971,12 +18513,10 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.OwnershipVerificationStatus = types.DnsRecordVerificationStatus(jtv) } - case "Records": if err := awsAwsjson11_deserializeDocumentDnsRecords(&sv.Records, value); err != nil { return err } - default: _, _ = key, value @@ -19016,12 +18556,10 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessEffectOutput(v **Get } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } - case "MatchedRules": if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRuleList(&sv.MatchedRules, value); err != nil { return err } - default: _, _ = key, value @@ -19068,7 +18606,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } } - case "DateModified": if value != nil { switch jtv := value.(type) { @@ -19084,7 +18621,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19093,7 +18629,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.Description = ptr.String(jtv) } - case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -19102,7 +18637,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.DeviceId = ptr.String(jtv) } - case "Effect": if value != nil { jtv, ok := value.(string) @@ -19111,7 +18645,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -19120,7 +18653,6 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -19167,7 +18699,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } - case "DateLastUsed": if value != nil { switch jtv := value.(type) { @@ -19183,7 +18714,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } - case "ExpiresTime": if value != nil { switch jtv := value.(type) { @@ -19199,7 +18729,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19208,7 +18737,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.Name = ptr.String(jtv) } - case "PersonalAccessTokenId": if value != nil { jtv, ok := value.(string) @@ -19217,12 +18745,10 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.PersonalAccessTokenId = ptr.String(jtv) } - case "Scopes": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenScopeList(&sv.Scopes, value); err != nil { return err } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -19231,7 +18757,6 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -19267,7 +18792,6 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlRulesOutput(v **ListAcce if err := awsAwsjson11_deserializeDocumentAccessControlRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -19303,7 +18827,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19312,7 +18835,6 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19348,7 +18870,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailabilityConfigurationsOutput(v ** if err := awsAwsjson11_deserializeDocumentAvailabilityConfigurationList(&sv.AvailabilityConfigurations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19357,7 +18878,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailabilityConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19393,7 +18913,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe if err := awsAwsjson11_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19402,7 +18921,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19438,7 +18956,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsForEntityOutput(v **ListGroupsF if err := awsAwsjson11_deserializeDocumentGroupIdentifiers(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19447,7 +18964,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsForEntityOutput(v **ListGroupsF } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19483,7 +18999,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19492,7 +19007,6 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19532,12 +19046,10 @@ func awsAwsjson11_deserializeOpDocumentListImpersonationRolesOutput(v **ListImpe } sv.NextToken = ptr.String(jtv) } - case "Roles": if err := awsAwsjson11_deserializeDocumentImpersonationRoleList(&sv.Roles, value); err != nil { return err } - default: _, _ = key, value @@ -19573,7 +19085,6 @@ func awsAwsjson11_deserializeOpDocumentListMailboxExportJobsOutput(v **ListMailb if err := awsAwsjson11_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19582,7 +19093,6 @@ func awsAwsjson11_deserializeOpDocumentListMailboxExportJobsOutput(v **ListMailb } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19622,12 +19132,10 @@ func awsAwsjson11_deserializeOpDocumentListMailboxPermissionsOutput(v **ListMail } sv.NextToken = ptr.String(jtv) } - case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } - default: _, _ = key, value @@ -19663,7 +19171,6 @@ func awsAwsjson11_deserializeOpDocumentListMailDomainsOutput(v **ListMailDomains if err := awsAwsjson11_deserializeDocumentMailDomains(&sv.MailDomains, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19672,7 +19179,6 @@ func awsAwsjson11_deserializeOpDocumentListMailDomainsOutput(v **ListMailDomains } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19712,12 +19218,10 @@ func awsAwsjson11_deserializeOpDocumentListMobileDeviceAccessOverridesOutput(v * } sv.NextToken = ptr.String(jtv) } - case "Overrides": if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessOverridesList(&sv.Overrides, value); err != nil { return err } - default: _, _ = key, value @@ -19753,7 +19257,6 @@ func awsAwsjson11_deserializeOpDocumentListMobileDeviceAccessRulesOutput(v **Lis if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessRulesList(&sv.Rules, value); err != nil { return err } - default: _, _ = key, value @@ -19793,12 +19296,10 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationsOutput(v **ListOrganizat } sv.NextToken = ptr.String(jtv) } - case "OrganizationSummaries": if err := awsAwsjson11_deserializeDocumentOrganizationSummaries(&sv.OrganizationSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -19838,12 +19339,10 @@ func awsAwsjson11_deserializeOpDocumentListPersonalAccessTokensOutput(v **ListPe } sv.NextToken = ptr.String(jtv) } - case "PersonalAccessTokenSummaries": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenSummaryList(&sv.PersonalAccessTokenSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -19879,7 +19378,6 @@ func awsAwsjson11_deserializeOpDocumentListResourceDelegatesOutput(v **ListResou if err := awsAwsjson11_deserializeDocumentResourceDelegates(&sv.Delegates, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19888,7 +19386,6 @@ func awsAwsjson11_deserializeOpDocumentListResourceDelegatesOutput(v **ListResou } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19928,12 +19425,10 @@ func awsAwsjson11_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } - case "Resources": if err := awsAwsjson11_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } - default: _, _ = key, value @@ -19969,7 +19464,6 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -20009,12 +19503,10 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } - case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -20364,7 +19856,6 @@ func awsAwsjson11_deserializeOpDocumentStartMailboxExportJobOutput(v **StartMail } sv.JobId = ptr.String(jtv) } - default: _, _ = key, value @@ -20435,7 +19926,6 @@ func awsAwsjson11_deserializeOpDocumentTestAvailabilityConfigurationOutput(v **T } sv.FailureReason = ptr.String(jtv) } - case "TestPassed": if value != nil { jtv, ok := value.(bool) @@ -20444,7 +19934,6 @@ func awsAwsjson11_deserializeOpDocumentTestAvailabilityConfigurationOutput(v **T } sv.TestPassed = jtv } - default: _, _ = key, value diff --git a/service/workmailmessageflow/deserializers.go b/service/workmailmessageflow/deserializers.go index 41434120c6f..8dcbe81f8ea 100644 --- a/service/workmailmessageflow/deserializers.go +++ b/service/workmailmessageflow/deserializers.go @@ -392,15 +392,9 @@ func awsRestjson1_deserializeDocumentInvalidContentLocation(v **types.InvalidCon sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -408,15 +402,11 @@ func awsRestjson1_deserializeDocumentInvalidContentLocation(v **types.InvalidCon } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -441,15 +431,9 @@ func awsRestjson1_deserializeDocumentMessageFrozen(v **types.MessageFrozen, valu sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -457,15 +441,11 @@ func awsRestjson1_deserializeDocumentMessageFrozen(v **types.MessageFrozen, valu } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -490,15 +470,9 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -506,15 +480,11 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -539,15 +509,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -555,15 +519,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } diff --git a/service/workspaces/deserializers.go b/service/workspaces/deserializers.go index e13f5c5a5a7..78c8682babf 100644 --- a/service/workspaces/deserializers.go +++ b/service/workspaces/deserializers.go @@ -11388,15 +11388,9 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11404,15 +11398,11 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11447,7 +11437,6 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.AccountLinkId = ptr.String(jtv) } - case "AccountLinkStatus": if value != nil { jtv, ok := value.(string) @@ -11456,7 +11445,6 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.AccountLinkStatus = types.AccountLinkStatusEnum(jtv) } - case "SourceAccountId": if value != nil { jtv, ok := value.(string) @@ -11465,7 +11453,6 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.SourceAccountId = ptr.String(jtv) } - case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -11474,7 +11461,6 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.TargetAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -11548,7 +11534,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.DedicatedTenancyManagementCidrRange = ptr.String(jtv) } - case "DedicatedTenancySupport": if value != nil { jtv, ok := value.(string) @@ -11557,7 +11542,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.DedicatedTenancySupport = types.DedicatedTenancySupportResultEnum(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -11566,7 +11550,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11575,7 +11558,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ErrorMessage = ptr.String(jtv) } - case "ModificationState": if value != nil { jtv, ok := value.(string) @@ -11584,7 +11566,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ModificationState = types.DedicatedTenancyModificationStateEnum(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11600,7 +11581,6 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } } - default: _, _ = key, value @@ -11674,7 +11654,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryConfig(v **types.ActiveDirec } sv.DomainName = ptr.String(jtv) } - case "ServiceAccountSecretArn": if value != nil { jtv, ok := value.(string) @@ -11683,7 +11662,6 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryConfig(v **types.ActiveDirec } sv.ServiceAccountSecretArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11713,22 +11691,13 @@ func awsAwsjson11_deserializeDocumentApplicationNotSupportedException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11763,7 +11732,6 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.ApplicationId = ptr.String(jtv) } - case "AssociatedResourceId": if value != nil { jtv, ok := value.(string) @@ -11772,7 +11740,6 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.AssociatedResourceId = ptr.String(jtv) } - case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -11781,7 +11748,6 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.AssociatedResourceType = types.ApplicationAssociatedResourceType(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -11797,7 +11763,6 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11813,7 +11778,6 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } } - case "State": if value != nil { jtv, ok := value.(string) @@ -11822,12 +11786,10 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.State = types.AssociationState(jtv) } - case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } - default: _, _ = key, value @@ -11901,7 +11863,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.S3BucketName = ptr.String(jtv) } - case "SettingsGroup": if value != nil { jtv, ok := value.(string) @@ -11910,7 +11871,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.SettingsGroup = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -11919,7 +11879,6 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.Status = types.ApplicationSettingsStatusEnum(jtv) } - default: _, _ = key, value @@ -11959,7 +11918,6 @@ func awsAwsjson11_deserializeDocumentAssociationStateReason(v **types.Associatio } sv.ErrorCode = types.AssociationErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11968,7 +11926,6 @@ func awsAwsjson11_deserializeDocumentAssociationStateReason(v **types.Associatio } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -12042,7 +11999,6 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.AssociatedResourceId = ptr.String(jtv) } - case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -12051,7 +12007,6 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.AssociatedResourceType = types.BundleAssociatedResourceType(jtv) } - case "BundleId": if value != nil { jtv, ok := value.(string) @@ -12060,7 +12015,6 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.BundleId = ptr.String(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -12076,7 +12030,6 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -12092,7 +12045,6 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } } - case "State": if value != nil { jtv, ok := value.(string) @@ -12101,12 +12053,10 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.State = types.AssociationState(jtv) } - case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } - default: _, _ = key, value @@ -12184,7 +12134,6 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.ActiveUserSessions = ptr.Int32(int32(i64)) } - case "ActualUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12197,7 +12146,6 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.ActualUserSessions = ptr.Int32(int32(i64)) } - case "AvailableUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12210,7 +12158,6 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.AvailableUserSessions = ptr.Int32(int32(i64)) } - case "DesiredUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12223,7 +12170,6 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.DesiredUserSessions = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -12263,7 +12209,6 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.CertificateAuthorityArn = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -12272,7 +12217,6 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.Status = types.CertificateBasedAuthStatusEnum(jtv) } - default: _, _ = key, value @@ -12312,7 +12256,6 @@ func awsAwsjson11_deserializeDocumentClientProperties(v **types.ClientProperties } sv.LogUploadEnabled = types.LogUploadEnum(jtv) } - case "ReconnectEnabled": if value != nil { jtv, ok := value.(string) @@ -12321,7 +12264,6 @@ func awsAwsjson11_deserializeDocumentClientProperties(v **types.ClientProperties } sv.ReconnectEnabled = types.ReconnectEnum(jtv) } - default: _, _ = key, value @@ -12391,7 +12333,6 @@ func awsAwsjson11_deserializeDocumentClientPropertiesResult(v **types.ClientProp if err := awsAwsjson11_deserializeDocumentClientProperties(&sv.ClientProperties, value); err != nil { return err } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12400,7 +12341,6 @@ func awsAwsjson11_deserializeDocumentClientPropertiesResult(v **types.ClientProp } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12466,22 +12406,13 @@ func awsAwsjson11_deserializeDocumentComputeNotCompatibleException(v **types.Com sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12516,7 +12447,6 @@ func awsAwsjson11_deserializeDocumentComputeType(v **types.ComputeType, value in } sv.Name = types.Compute(jtv) } - default: _, _ = key, value @@ -12546,15 +12476,9 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12562,15 +12486,11 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12605,7 +12525,6 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.AddInId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -12614,7 +12533,6 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.Name = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12623,7 +12541,6 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.ResourceId = ptr.String(jtv) } - case "URL": if value != nil { jtv, ok := value.(string) @@ -12632,7 +12549,6 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.URL = ptr.String(jtv) } - default: _, _ = key, value @@ -12706,12 +12622,10 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.AliasId = ptr.String(jtv) } - case "Associations": if err := awsAwsjson11_deserializeDocumentConnectionAliasAssociationList(&sv.Associations, value); err != nil { return err } - case "ConnectionString": if value != nil { jtv, ok := value.(string) @@ -12720,7 +12634,6 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.ConnectionString = ptr.String(jtv) } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -12729,7 +12642,6 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.OwnerAccountId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -12738,7 +12650,6 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.State = types.ConnectionAliasState(jtv) } - default: _, _ = key, value @@ -12778,7 +12689,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.AssociatedAccountId = ptr.String(jtv) } - case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -12787,7 +12697,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.AssociationStatus = types.AssociationStatus(jtv) } - case "ConnectionIdentifier": if value != nil { jtv, ok := value.(string) @@ -12796,7 +12705,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.ConnectionIdentifier = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12805,7 +12713,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value @@ -12913,7 +12820,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasPermission(v **types.Connect } sv.AllowAssociation = ptr.Bool(jtv) } - case "SharedAccountId": if value != nil { jtv, ok := value.(string) @@ -12922,7 +12828,6 @@ func awsAwsjson11_deserializeDocumentConnectionAliasPermission(v **types.Connect } sv.SharedAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -12996,7 +12901,6 @@ func awsAwsjson11_deserializeDocumentDataReplicationSettings(v **types.DataRepli } sv.DataReplication = types.DataReplication(jtv) } - case "RecoverySnapshotTime": if value != nil { switch jtv := value.(type) { @@ -13012,7 +12916,6 @@ func awsAwsjson11_deserializeDocumentDataReplicationSettings(v **types.DataRepli } } - default: _, _ = key, value @@ -13088,12 +12991,10 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.ForgotPasswordLink = ptr.String(jtv) } - case "LoginMessage": if err := awsAwsjson11_deserializeDocumentLoginMessage(&sv.LoginMessage, value); err != nil { return err } - case "LogoUrl": if value != nil { jtv, ok := value.(string) @@ -13102,7 +13003,6 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.LogoUrl = ptr.String(jtv) } - case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -13111,7 +13011,6 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.SupportEmail = ptr.String(jtv) } - case "SupportLink": if value != nil { jtv, ok := value.(string) @@ -13120,7 +13019,6 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.SupportLink = ptr.String(jtv) } - default: _, _ = key, value @@ -13160,7 +13058,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.CustomSecurityGroupId = ptr.String(jtv) } - case "DefaultOu": if value != nil { jtv, ok := value.(string) @@ -13169,7 +13066,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.DefaultOu = ptr.String(jtv) } - case "EnableInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -13178,7 +13074,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableInternetAccess = ptr.Bool(jtv) } - case "EnableMaintenanceMode": if value != nil { jtv, ok := value.(bool) @@ -13187,7 +13082,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableMaintenanceMode = ptr.Bool(jtv) } - case "EnableWorkDocs": if value != nil { jtv, ok := value.(bool) @@ -13196,7 +13090,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableWorkDocs = ptr.Bool(jtv) } - case "InstanceIamRoleArn": if value != nil { jtv, ok := value.(string) @@ -13205,7 +13098,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.InstanceIamRoleArn = ptr.String(jtv) } - case "UserEnabledAsLocalAdministrator": if value != nil { jtv, ok := value.(bool) @@ -13214,7 +13106,6 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.UserEnabledAsLocalAdministrator = ptr.Bool(jtv) } - default: _, _ = key, value @@ -13324,7 +13215,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = types.WorkspaceImageErrorDetailCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13333,7 +13223,6 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -13407,7 +13296,6 @@ func awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequest(v **ty } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13416,12 +13304,10 @@ func awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequest(v **ty } sv.ErrorMessage = ptr.String(jtv) } - case "StandbyWorkspaceRequest": if err := awsAwsjson11_deserializeDocumentStandbyWorkspace(&sv.StandbyWorkspaceRequest, value); err != nil { return err } - default: _, _ = key, value @@ -13495,7 +13381,6 @@ func awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequest(v **types.Fail } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13504,12 +13389,10 @@ func awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequest(v **types.Fail } sv.ErrorMessage = ptr.String(jtv) } - case "WorkspaceRequest": if err := awsAwsjson11_deserializeDocumentWorkspaceRequest(&sv.WorkspaceRequest, value); err != nil { return err } - default: _, _ = key, value @@ -13753,7 +13636,6 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13762,7 +13644,6 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.ErrorMessage = ptr.String(jtv) } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -13771,7 +13652,6 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -13811,7 +13691,6 @@ func awsAwsjson11_deserializeDocumentIDCConfig(v **types.IDCConfig, value interf } sv.ApplicationArn = ptr.String(jtv) } - case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13820,7 +13699,6 @@ func awsAwsjson11_deserializeDocumentIDCConfig(v **types.IDCConfig, value interf } sv.InstanceArn = ptr.String(jtv) } - default: _, _ = key, value @@ -13860,7 +13738,6 @@ func awsAwsjson11_deserializeDocumentImagePermission(v **types.ImagePermission, } sv.SharedAccountId = ptr.String(jtv) } - default: _, _ = key, value @@ -13934,7 +13811,6 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.AssociatedResourceId = ptr.String(jtv) } - case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -13943,7 +13819,6 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.AssociatedResourceType = types.ImageAssociatedResourceType(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -13959,7 +13834,6 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -13968,7 +13842,6 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.ImageId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13984,7 +13857,6 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } } - case "State": if value != nil { jtv, ok := value.(string) @@ -13993,12 +13865,10 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.State = types.AssociationState(jtv) } - case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } - default: _, _ = key, value @@ -14062,22 +13932,13 @@ func awsAwsjson11_deserializeDocumentIncompatibleApplicationsException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14102,15 +13963,9 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14118,15 +13973,11 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14151,15 +14002,9 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValuesException(v **types.I sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14167,15 +14012,11 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValuesException(v **types.I } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14200,15 +14041,9 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14216,15 +14051,11 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14259,12 +14090,10 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.ForgotPasswordLink = ptr.String(jtv) } - case "LoginMessage": if err := awsAwsjson11_deserializeDocumentLoginMessage(&sv.LoginMessage, value); err != nil { return err } - case "Logo2xUrl": if value != nil { jtv, ok := value.(string) @@ -14273,7 +14102,6 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.Logo2xUrl = ptr.String(jtv) } - case "Logo3xUrl": if value != nil { jtv, ok := value.(string) @@ -14282,7 +14110,6 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.Logo3xUrl = ptr.String(jtv) } - case "LogoUrl": if value != nil { jtv, ok := value.(string) @@ -14291,7 +14118,6 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.LogoUrl = ptr.String(jtv) } - case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -14300,7 +14126,6 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.SupportEmail = ptr.String(jtv) } - case "SupportLink": if value != nil { jtv, ok := value.(string) @@ -14309,7 +14134,6 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.SupportLink = ptr.String(jtv) } - default: _, _ = key, value @@ -14385,7 +14209,6 @@ func awsAwsjson11_deserializeDocumentIpRuleItem(v **types.IpRuleItem, value inte } sv.IpRule = ptr.String(jtv) } - case "ruleDesc": if value != nil { jtv, ok := value.(string) @@ -14394,7 +14217,6 @@ func awsAwsjson11_deserializeDocumentIpRuleItem(v **types.IpRuleItem, value inte } sv.RuleDesc = ptr.String(jtv) } - default: _, _ = key, value @@ -14504,7 +14326,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(v **types.MicrosoftEnt } sv.ApplicationConfigSecretArn = ptr.String(jtv) } - case "TenantId": if value != nil { jtv, ok := value.(string) @@ -14513,7 +14334,6 @@ func awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(v **types.MicrosoftEnt } sv.TenantId = ptr.String(jtv) } - default: _, _ = key, value @@ -14553,7 +14373,6 @@ func awsAwsjson11_deserializeDocumentModificationState(v **types.ModificationSta } sv.Resource = types.ModificationResourceEnum(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14562,7 +14381,6 @@ func awsAwsjson11_deserializeDocumentModificationState(v **types.ModificationSta } sv.State = types.ModificationStateEnum(jtv) } - default: _, _ = key, value @@ -14636,7 +14454,6 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniId = ptr.String(jtv) } - case "EniPrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -14645,7 +14462,6 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniPrivateIpAddress = ptr.String(jtv) } - default: _, _ = key, value @@ -14685,7 +14501,6 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Type = types.OperatingSystemType(jtv) } - default: _, _ = key, value @@ -14751,22 +14566,13 @@ func awsAwsjson11_deserializeDocumentOperatingSystemNotCompatibleException(v **t sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14791,15 +14597,9 @@ func awsAwsjson11_deserializeDocumentOperationInProgressException(v **types.Oper sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14807,15 +14607,11 @@ func awsAwsjson11_deserializeDocumentOperationInProgressException(v **types.Oper } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14840,15 +14636,9 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -14856,7 +14646,6 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -14865,15 +14654,11 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Reason = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -14908,7 +14693,6 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.DirectoryId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -14917,7 +14701,6 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.State = types.WorkspaceState(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -14926,7 +14709,6 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.UserName = ptr.String(jtv) } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -14935,7 +14717,6 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -15045,7 +14826,6 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.Region = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -15054,7 +14834,6 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.State = types.WorkspaceState(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -15063,7 +14842,6 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.Type = types.StandbyWorkspaceRelationshipType(jtv) } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -15072,7 +14850,6 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -15136,15 +14913,9 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15152,15 +14923,11 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15185,15 +14952,9 @@ func awsAwsjson11_deserializeDocumentResourceAssociatedException(v **types.Resou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15201,15 +14962,11 @@ func awsAwsjson11_deserializeDocumentResourceAssociatedException(v **types.Resou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15234,15 +14991,9 @@ func awsAwsjson11_deserializeDocumentResourceCreationFailedException(v **types.R sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15250,15 +15001,11 @@ func awsAwsjson11_deserializeDocumentResourceCreationFailedException(v **types.R } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15283,15 +15030,9 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15299,7 +15040,6 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15308,15 +15048,11 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15341,15 +15077,9 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15357,15 +15087,11 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15390,15 +15116,9 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15406,7 +15126,6 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15415,15 +15134,11 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15448,15 +15163,9 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -15464,7 +15173,6 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } - case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15473,15 +15181,11 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceId = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -15516,7 +15220,6 @@ func awsAwsjson11_deserializeDocumentRootStorage(v **types.RootStorage, value in } sv.Capacity = ptr.String(jtv) } - default: _, _ = key, value @@ -15556,7 +15259,6 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.RelayStateParameterName = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15565,7 +15267,6 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.Status = types.SamlStatusEnum(jtv) } - case "UserAccessUrl": if value != nil { jtv, ok := value.(string) @@ -15574,7 +15275,6 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.UserAccessUrl = ptr.String(jtv) } - default: _, _ = key, value @@ -15614,7 +15314,6 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.ChangeComputeType = types.ReconnectEnum(jtv) } - case "IncreaseVolumeSize": if value != nil { jtv, ok := value.(string) @@ -15623,7 +15322,6 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.IncreaseVolumeSize = types.ReconnectEnum(jtv) } - case "RebuildWorkspace": if value != nil { jtv, ok := value.(string) @@ -15632,7 +15330,6 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.RebuildWorkspace = types.ReconnectEnum(jtv) } - case "RestartWorkspace": if value != nil { jtv, ok := value.(string) @@ -15641,7 +15338,6 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.RestartWorkspace = types.ReconnectEnum(jtv) } - case "SwitchRunningMode": if value != nil { jtv, ok := value.(string) @@ -15650,7 +15346,6 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.SwitchRunningMode = types.ReconnectEnum(jtv) } - default: _, _ = key, value @@ -15697,7 +15392,6 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } - default: _, _ = key, value @@ -15771,7 +15465,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.DataReplication = types.DataReplication(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -15780,7 +15473,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.DirectoryId = ptr.String(jtv) } - case "PrimaryWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -15789,12 +15481,10 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.PrimaryWorkspaceId = ptr.String(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -15803,7 +15493,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.VolumeEncryptionKey = ptr.String(jtv) } - default: _, _ = key, value @@ -15843,7 +15532,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } sv.DataReplication = types.DataReplication(jtv) } - case "RecoverySnapshotTime": if value != nil { switch jtv := value.(type) { @@ -15859,7 +15547,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } } - case "StandbyWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -15868,7 +15555,6 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } sv.StandbyWorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -15942,7 +15628,6 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ConnectorType = types.StorageConnectorTypeEnum(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -15951,7 +15636,6 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.Status = types.StorageConnectorStatusEnum(jtv) } - default: _, _ = key, value @@ -16021,7 +15705,6 @@ func awsAwsjson11_deserializeDocumentStreamingProperties(v **types.StreamingProp if err := awsAwsjson11_deserializeDocumentStorageConnectors(&sv.StorageConnectors, value); err != nil { return err } - case "StreamingExperiencePreferredProtocol": if value != nil { jtv, ok := value.(string) @@ -16030,12 +15713,10 @@ func awsAwsjson11_deserializeDocumentStreamingProperties(v **types.StreamingProp } sv.StreamingExperiencePreferredProtocol = types.StreamingExperiencePreferredProtocolEnum(jtv) } - case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -16111,7 +15792,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -16120,7 +15800,6 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -16198,7 +15877,6 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.DisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "IdleDisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16211,7 +15889,6 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.IdleDisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } - case "MaxUserDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16224,7 +15901,6 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.MaxUserDurationInSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -16254,15 +15930,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedNetworkConfigurationException(v sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16270,15 +15940,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedNetworkConfigurationException(v } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16303,15 +15969,9 @@ func awsAwsjson11_deserializeDocumentUnsupportedWorkspaceConfigurationException( sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16319,15 +15979,11 @@ func awsAwsjson11_deserializeDocumentUnsupportedWorkspaceConfigurationException( } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16362,7 +16018,6 @@ func awsAwsjson11_deserializeDocumentUpdateResult(v **types.UpdateResult, value } sv.Description = ptr.String(jtv) } - case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -16371,7 +16026,6 @@ func awsAwsjson11_deserializeDocumentUpdateResult(v **types.UpdateResult, value } sv.UpdateAvailable = ptr.Bool(jtv) } - default: _, _ = key, value @@ -16411,7 +16065,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Action = types.UserSettingActionEnum(jtv) } - case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -16424,7 +16077,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.MaximumLength = ptr.Int32(int32(i64)) } - case "Permission": if value != nil { jtv, ok := value.(string) @@ -16433,7 +16085,6 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Permission = types.UserSettingPermissionEnum(jtv) } - default: _, _ = key, value @@ -16507,7 +16158,6 @@ func awsAwsjson11_deserializeDocumentUserStorage(v **types.UserStorage, value in } sv.Capacity = ptr.String(jtv) } - default: _, _ = key, value @@ -16537,15 +16187,9 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -16553,15 +16197,11 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -16596,7 +16236,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.BundleId = ptr.String(jtv) } - case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -16605,12 +16244,10 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ComputerName = ptr.String(jtv) } - case "DataReplicationSettings": if err := awsAwsjson11_deserializeDocumentDataReplicationSettings(&sv.DataReplicationSettings, value); err != nil { return err } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -16619,7 +16256,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.DirectoryId = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -16628,7 +16264,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ErrorCode = ptr.String(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16637,7 +16272,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ErrorMessage = ptr.String(jtv) } - case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -16646,17 +16280,14 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.IpAddress = ptr.String(jtv) } - case "ModificationStates": if err := awsAwsjson11_deserializeDocumentModificationStateList(&sv.ModificationStates, value); err != nil { return err } - case "RelatedWorkspaces": if err := awsAwsjson11_deserializeDocumentRelatedWorkspaces(&sv.RelatedWorkspaces, value); err != nil { return err } - case "RootVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16665,12 +16296,10 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.RootVolumeEncryptionEnabled = ptr.Bool(jtv) } - case "StandbyWorkspacesProperties": if err := awsAwsjson11_deserializeDocumentStandbyWorkspacesPropertiesList(&sv.StandbyWorkspacesProperties, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -16679,7 +16308,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.State = types.WorkspaceState(jtv) } - case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -16688,7 +16316,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.SubnetId = ptr.String(jtv) } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -16697,7 +16324,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.UserName = ptr.String(jtv) } - case "UserVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16706,7 +16332,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.UserVolumeEncryptionEnabled = ptr.Bool(jtv) } - case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -16715,7 +16340,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.VolumeEncryptionKey = ptr.String(jtv) } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -16724,7 +16348,6 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.WorkspaceId = ptr.String(jtv) } - case "WorkspaceName": if value != nil { jtv, ok := value.(string) @@ -16733,12 +16356,10 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.WorkspaceName = ptr.String(jtv) } - case "WorkspaceProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceProperties(&sv.WorkspaceProperties, value); err != nil { return err } - default: _, _ = key, value @@ -16778,7 +16399,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeAndroid = types.AccessPropertyValue(jtv) } - case "DeviceTypeChromeOs": if value != nil { jtv, ok := value.(string) @@ -16787,7 +16407,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeChromeOs = types.AccessPropertyValue(jtv) } - case "DeviceTypeIos": if value != nil { jtv, ok := value.(string) @@ -16796,7 +16415,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeIos = types.AccessPropertyValue(jtv) } - case "DeviceTypeLinux": if value != nil { jtv, ok := value.(string) @@ -16805,7 +16423,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeLinux = types.AccessPropertyValue(jtv) } - case "DeviceTypeOsx": if value != nil { jtv, ok := value.(string) @@ -16814,7 +16431,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeOsx = types.AccessPropertyValue(jtv) } - case "DeviceTypeWeb": if value != nil { jtv, ok := value.(string) @@ -16823,7 +16439,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeWeb = types.AccessPropertyValue(jtv) } - case "DeviceTypeWindows": if value != nil { jtv, ok := value.(string) @@ -16832,7 +16447,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeWindows = types.AccessPropertyValue(jtv) } - case "DeviceTypeZeroClient": if value != nil { jtv, ok := value.(string) @@ -16841,7 +16455,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeZeroClient = types.AccessPropertyValue(jtv) } - default: _, _ = key, value @@ -16881,7 +16494,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.ApplicationId = ptr.String(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -16897,7 +16509,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -16906,7 +16517,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Description = ptr.String(jtv) } - case "LicenseType": if value != nil { jtv, ok := value.(string) @@ -16915,7 +16525,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.LicenseType = types.WorkSpaceApplicationLicenseType(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -16924,7 +16533,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -16933,7 +16541,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Owner = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -16942,17 +16549,14 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.State = types.WorkSpaceApplicationState(jtv) } - case "SupportedComputeTypeNames": if err := awsAwsjson11_deserializeDocumentComputeList(&sv.SupportedComputeTypeNames, value); err != nil { return err } - case "SupportedOperatingSystemNames": if err := awsAwsjson11_deserializeDocumentOperatingSystemNameList(&sv.SupportedOperatingSystemNames, value); err != nil { return err } - default: _, _ = key, value @@ -16988,7 +16592,6 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplicationDeployment(v **types.Wo if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociationList(&sv.Associations, value); err != nil { return err } - default: _, _ = key, value @@ -17062,7 +16665,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.BundleId = ptr.String(jtv) } - case "BundleType": if value != nil { jtv, ok := value.(string) @@ -17071,12 +16673,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.BundleType = types.BundleType(jtv) } - case "ComputeType": if err := awsAwsjson11_deserializeDocumentComputeType(&sv.ComputeType, value); err != nil { return err } - case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -17092,7 +16692,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17101,7 +16700,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Description = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -17110,7 +16708,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.ImageId = ptr.String(jtv) } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -17126,7 +16723,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17135,7 +16731,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Name = ptr.String(jtv) } - case "Owner": if value != nil { jtv, ok := value.(string) @@ -17144,12 +16739,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Owner = ptr.String(jtv) } - case "RootStorage": if err := awsAwsjson11_deserializeDocumentRootStorage(&sv.RootStorage, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -17158,12 +16751,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.State = types.WorkspaceBundleState(jtv) } - case "UserStorage": if err := awsAwsjson11_deserializeDocumentUserStorage(&sv.UserStorage, value); err != nil { return err } - default: _, _ = key, value @@ -17203,7 +16794,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } sv.ConnectionState = types.ConnectionState(jtv) } - case "ConnectionStateCheckTimestamp": if value != nil { switch jtv := value.(type) { @@ -17219,7 +16809,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } } - case "LastKnownUserConnectionTimestamp": if value != nil { switch jtv := value.(type) { @@ -17235,7 +16824,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -17244,7 +16832,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -17314,7 +16901,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec if err := awsAwsjson11_deserializeDocumentActiveDirectoryConfig(&sv.ActiveDirectoryConfig, value); err != nil { return err } - case "Alias": if value != nil { jtv, ok := value.(string) @@ -17323,12 +16909,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.Alias = ptr.String(jtv) } - case "CertificateBasedAuthProperties": if err := awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(&sv.CertificateBasedAuthProperties, value); err != nil { return err } - case "CustomerUserName": if value != nil { jtv, ok := value.(string) @@ -17337,7 +16921,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.CustomerUserName = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -17346,7 +16929,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryId = ptr.String(jtv) } - case "DirectoryName": if value != nil { jtv, ok := value.(string) @@ -17355,7 +16937,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryName = ptr.String(jtv) } - case "DirectoryType": if value != nil { jtv, ok := value.(string) @@ -17364,12 +16945,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryType = types.WorkspaceDirectoryType(jtv) } - case "DnsIpAddresses": if err := awsAwsjson11_deserializeDocumentDnsIpAddresses(&sv.DnsIpAddresses, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17378,7 +16957,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.ErrorMessage = ptr.String(jtv) } - case "IamRoleId": if value != nil { jtv, ok := value.(string) @@ -17387,22 +16965,18 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.IamRoleId = ptr.String(jtv) } - case "IDCConfig": if err := awsAwsjson11_deserializeDocumentIDCConfig(&sv.IDCConfig, value); err != nil { return err } - case "ipGroupIds": if err := awsAwsjson11_deserializeDocumentIpGroupIdList(&sv.IpGroupIds, value); err != nil { return err } - case "MicrosoftEntraConfig": if err := awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(&sv.MicrosoftEntraConfig, value); err != nil { return err } - case "RegistrationCode": if value != nil { jtv, ok := value.(string) @@ -17411,17 +16985,14 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.RegistrationCode = ptr.String(jtv) } - case "SamlProperties": if err := awsAwsjson11_deserializeDocumentSamlProperties(&sv.SamlProperties, value); err != nil { return err } - case "SelfservicePermissions": if err := awsAwsjson11_deserializeDocumentSelfservicePermissions(&sv.SelfservicePermissions, value); err != nil { return err } - case "State": if value != nil { jtv, ok := value.(string) @@ -17430,17 +17001,14 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.State = types.WorkspaceDirectoryState(jtv) } - case "StreamingProperties": if err := awsAwsjson11_deserializeDocumentStreamingProperties(&sv.StreamingProperties, value); err != nil { return err } - case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } - case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -17449,7 +17017,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.Tenancy = types.Tenancy(jtv) } - case "UserIdentityType": if value != nil { jtv, ok := value.(string) @@ -17458,17 +17025,14 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.UserIdentityType = types.UserIdentityType(jtv) } - case "WorkspaceAccessProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(&sv.WorkspaceAccessProperties, value); err != nil { return err } - case "WorkspaceCreationProperties": if err := awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(&sv.WorkspaceCreationProperties, value); err != nil { return err } - case "WorkspaceDirectoryDescription": if value != nil { jtv, ok := value.(string) @@ -17477,7 +17041,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceDirectoryDescription = ptr.String(jtv) } - case "WorkspaceDirectoryName": if value != nil { jtv, ok := value.(string) @@ -17486,7 +17049,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceDirectoryName = ptr.String(jtv) } - case "WorkspaceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -17495,7 +17057,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceSecurityGroupId = ptr.String(jtv) } - case "WorkspaceType": if value != nil { jtv, ok := value.(string) @@ -17504,7 +17065,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceType = types.WorkspaceType(jtv) } - default: _, _ = key, value @@ -17551,7 +17111,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -17560,7 +17119,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.Description = ptr.String(jtv) } - case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -17569,12 +17127,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ErrorCode = ptr.String(jtv) } - case "ErrorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetailsList(&sv.ErrorDetails, value); err != nil { return err } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17583,7 +17139,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ErrorMessage = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -17592,7 +17147,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ImageId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -17601,12 +17155,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if err := awsAwsjson11_deserializeDocumentOperatingSystem(&sv.OperatingSystem, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -17615,7 +17167,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.OwnerAccountId = ptr.String(jtv) } - case "RequiredTenancy": if value != nil { jtv, ok := value.(string) @@ -17624,7 +17175,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.RequiredTenancy = types.WorkspaceImageRequiredTenancy(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -17633,12 +17183,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.State = types.WorkspaceImageState(jtv) } - case "Updates": if err := awsAwsjson11_deserializeDocumentUpdateResult(&sv.Updates, value); err != nil { return err } - default: _, _ = key, value @@ -17746,7 +17294,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.ComputeTypeName = types.Compute(jtv) } - case "OperatingSystemName": if value != nil { jtv, ok := value.(string) @@ -17755,12 +17302,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.OperatingSystemName = types.OperatingSystemName(jtv) } - case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocolList(&sv.Protocols, value); err != nil { return err } - case "RootVolumeSizeGib": if value != nil { jtv, ok := value.(json.Number) @@ -17773,7 +17318,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RootVolumeSizeGib = ptr.Int32(int32(i64)) } - case "RunningMode": if value != nil { jtv, ok := value.(string) @@ -17782,7 +17326,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RunningMode = types.RunningMode(jtv) } - case "RunningModeAutoStopTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17795,7 +17338,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RunningModeAutoStopTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "UserVolumeSizeGib": if value != nil { jtv, ok := value.(json.Number) @@ -17808,7 +17350,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.UserVolumeSizeGib = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -17848,7 +17389,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.BundleId = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -17857,7 +17397,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.DirectoryId = ptr.String(jtv) } - case "RootVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17866,12 +17405,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.RootVolumeEncryptionEnabled = ptr.Bool(jtv) } - case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -17880,7 +17417,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.UserName = ptr.String(jtv) } - case "UserVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17889,7 +17425,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.UserVolumeEncryptionEnabled = ptr.Bool(jtv) } - case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -17898,7 +17433,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.VolumeEncryptionKey = ptr.String(jtv) } - case "WorkspaceName": if value != nil { jtv, ok := value.(string) @@ -17907,12 +17441,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.WorkspaceName = ptr.String(jtv) } - case "WorkspaceProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceProperties(&sv.WorkspaceProperties, value); err != nil { return err } - default: _, _ = key, value @@ -17952,7 +17484,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.AssociatedResourceId = ptr.String(jtv) } - case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -17961,7 +17492,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.AssociatedResourceType = types.WorkSpaceAssociatedResourceType(jtv) } - case "Created": if value != nil { switch jtv := value.(type) { @@ -17977,7 +17507,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } } - case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -17993,7 +17522,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } } - case "State": if value != nil { jtv, ok := value.(string) @@ -18002,12 +17530,10 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.State = types.AssociationState(jtv) } - case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } - case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -18016,7 +17542,6 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.WorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -18080,15 +17605,9 @@ func awsAwsjson11_deserializeDocumentWorkspacesDefaultRoleNotFoundException(v ** sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -18096,15 +17615,11 @@ func awsAwsjson11_deserializeDocumentWorkspacesDefaultRoleNotFoundException(v ** } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -18139,7 +17654,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupDesc = ptr.String(jtv) } - case "groupId": if value != nil { jtv, ok := value.(string) @@ -18148,7 +17662,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupId = ptr.String(jtv) } - case "groupName": if value != nil { jtv, ok := value.(string) @@ -18157,12 +17670,10 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupName = ptr.String(jtv) } - case "userRules": if err := awsAwsjson11_deserializeDocumentIpRuleList(&sv.UserRules, value); err != nil { return err } - default: _, _ = key, value @@ -18232,7 +17743,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va if err := awsAwsjson11_deserializeDocumentApplicationSettingsResponse(&sv.ApplicationSettings, value); err != nil { return err } - case "BundleId": if value != nil { jtv, ok := value.(string) @@ -18241,12 +17751,10 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.BundleId = ptr.String(jtv) } - case "CapacityStatus": if err := awsAwsjson11_deserializeDocumentCapacityStatus(&sv.CapacityStatus, value); err != nil { return err } - case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18262,7 +17770,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -18271,7 +17778,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.Description = ptr.String(jtv) } - case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -18280,12 +17786,10 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.DirectoryId = ptr.String(jtv) } - case "Errors": if err := awsAwsjson11_deserializeDocumentWorkspacesPoolErrors(&sv.Errors, value); err != nil { return err } - case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -18294,7 +17798,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolArn = ptr.String(jtv) } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18303,7 +17806,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolId = ptr.String(jtv) } - case "PoolName": if value != nil { jtv, ok := value.(string) @@ -18312,7 +17814,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolName = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -18321,12 +17822,10 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.State = types.WorkspacesPoolState(jtv) } - case "TimeoutSettings": if err := awsAwsjson11_deserializeDocumentTimeoutSettings(&sv.TimeoutSettings, value); err != nil { return err } - default: _, _ = key, value @@ -18366,7 +17865,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolError(v **types.WorkspacesPoo } sv.ErrorCode = types.WorkspacesPoolErrorCode(jtv) } - case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -18375,7 +17873,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolError(v **types.WorkspacesPoo } sv.ErrorMessage = ptr.String(jtv) } - default: _, _ = key, value @@ -18483,7 +17980,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -18492,7 +17988,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.ConnectionState = types.SessionConnectionState(jtv) } - case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -18508,7 +18003,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } } - case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -18517,12 +18011,10 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.InstanceId = ptr.String(jtv) } - case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } - case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18531,7 +18023,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.PoolId = ptr.String(jtv) } - case "SessionId": if value != nil { jtv, ok := value.(string) @@ -18540,7 +18031,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.SessionId = ptr.String(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -18556,7 +18046,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } } - case "UserId": if value != nil { jtv, ok := value.(string) @@ -18565,7 +18054,6 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.UserId = ptr.String(jtv) } - default: _, _ = key, value @@ -18635,7 +18123,6 @@ func awsAwsjson11_deserializeOpDocumentAcceptAccountLinkInvitationOutput(v **Acc if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } - default: _, _ = key, value @@ -18675,7 +18162,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionAliasOutput(v **Associ } sv.ConnectionIdentifier = ptr.String(jtv) } - default: _, _ = key, value @@ -18742,7 +18228,6 @@ func awsAwsjson11_deserializeOpDocumentAssociateWorkspaceApplicationOutput(v **A if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -18813,7 +18298,6 @@ func awsAwsjson11_deserializeOpDocumentCopyWorkspaceImageOutput(v **CopyWorkspac } sv.ImageId = ptr.String(jtv) } - default: _, _ = key, value @@ -18849,7 +18333,6 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountLinkInvitationOutput(v **Cre if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } - default: _, _ = key, value @@ -18889,7 +18372,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectClientAddInOutput(v **Create } sv.AddInId = ptr.String(jtv) } - default: _, _ = key, value @@ -18929,7 +18411,6 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionAliasOutput(v **CreateCon } sv.AliasId = ptr.String(jtv) } - default: _, _ = key, value @@ -18969,7 +18450,6 @@ func awsAwsjson11_deserializeOpDocumentCreateIpGroupOutput(v **CreateIpGroupOutp } sv.GroupId = ptr.String(jtv) } - default: _, _ = key, value @@ -19005,12 +18485,10 @@ func awsAwsjson11_deserializeOpDocumentCreateStandbyWorkspacesOutput(v **CreateS if err := awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequestList(&sv.FailedStandbyRequests, value); err != nil { return err } - case "PendingStandbyRequests": if err := awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequestList(&sv.PendingStandbyRequests, value); err != nil { return err } - default: _, _ = key, value @@ -19081,7 +18559,6 @@ func awsAwsjson11_deserializeOpDocumentCreateUpdatedWorkspaceImageOutput(v **Cre } sv.ImageId = ptr.String(jtv) } - default: _, _ = key, value @@ -19117,7 +18594,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceBundleOutput(v **CreateWor if err := awsAwsjson11_deserializeDocumentWorkspaceBundle(&sv.WorkspaceBundle, value); err != nil { return err } - default: _, _ = key, value @@ -19164,7 +18640,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } } - case "Description": if value != nil { jtv, ok := value.(string) @@ -19173,7 +18648,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.Description = ptr.String(jtv) } - case "ImageId": if value != nil { jtv, ok := value.(string) @@ -19182,7 +18656,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.ImageId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -19191,12 +18664,10 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.Name = ptr.String(jtv) } - case "OperatingSystem": if err := awsAwsjson11_deserializeDocumentOperatingSystem(&sv.OperatingSystem, value); err != nil { return err } - case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -19205,7 +18676,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.OwnerAccountId = ptr.String(jtv) } - case "RequiredTenancy": if value != nil { jtv, ok := value.(string) @@ -19214,7 +18684,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.RequiredTenancy = types.WorkspaceImageRequiredTenancy(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -19223,7 +18692,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.State = types.WorkspaceImageState(jtv) } - default: _, _ = key, value @@ -19259,12 +18727,10 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspacesOutput(v **CreateWorkspac if err := awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - case "PendingRequests": if err := awsAwsjson11_deserializeDocumentWorkspaceList(&sv.PendingRequests, value); err != nil { return err } - default: _, _ = key, value @@ -19300,7 +18766,6 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspacesPoolOutput(v **CreateWork if err := awsAwsjson11_deserializeDocumentWorkspacesPool(&sv.WorkspacesPool, value); err != nil { return err } - default: _, _ = key, value @@ -19336,7 +18801,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountLinkInvitationOutput(v **Del if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } - default: _, _ = key, value @@ -19589,7 +19053,6 @@ func awsAwsjson11_deserializeOpDocumentDeployWorkspaceApplicationsOutput(v **Dep if err := awsAwsjson11_deserializeDocumentWorkSpaceApplicationDeployment(&sv.Deployment, value); err != nil { return err } - default: _, _ = key, value @@ -19656,7 +19119,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountModificationsOutput(v **De if err := awsAwsjson11_deserializeDocumentAccountModificationList(&sv.AccountModifications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19665,7 +19127,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountModificationsOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19705,7 +19166,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancyAccountType = types.DedicatedTenancyAccountType(jtv) } - case "DedicatedTenancyManagementCidrRange": if value != nil { jtv, ok := value.(string) @@ -19714,7 +19174,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancyManagementCidrRange = ptr.String(jtv) } - case "DedicatedTenancySupport": if value != nil { jtv, ok := value.(string) @@ -19723,7 +19182,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancySupport = types.DedicatedTenancySupportResultEnum(jtv) } - default: _, _ = key, value @@ -19759,7 +19217,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssociationsOutput(v * if err := awsAwsjson11_deserializeDocumentApplicationResourceAssociationList(&sv.Associations, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19768,7 +19225,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19804,7 +19260,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp if err := awsAwsjson11_deserializeDocumentWorkSpaceApplicationList(&sv.Applications, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19813,7 +19268,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -19849,7 +19303,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeBundleAssociationsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentBundleResourceAssociationList(&sv.Associations, value); err != nil { return err } - default: _, _ = key, value @@ -19885,32 +19338,26 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientBrandingOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeAndroid, value); err != nil { return err } - case "DeviceTypeIos": if err := awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(&sv.DeviceTypeIos, value); err != nil { return err } - case "DeviceTypeLinux": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeLinux, value); err != nil { return err } - case "DeviceTypeOsx": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeOsx, value); err != nil { return err } - case "DeviceTypeWeb": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWeb, value); err != nil { return err } - case "DeviceTypeWindows": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWindows, value); err != nil { return err } - default: _, _ = key, value @@ -19946,7 +19393,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientPropertiesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentClientPropertiesList(&sv.ClientPropertiesList, value); err != nil { return err } - default: _, _ = key, value @@ -19982,7 +19428,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectClientAddInsOutput(v **Des if err := awsAwsjson11_deserializeDocumentConnectClientAddInList(&sv.AddIns, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19991,7 +19436,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectClientAddInsOutput(v **Des } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20027,7 +19471,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentConnectionAliasList(&sv.ConnectionAliases, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20036,7 +19479,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20076,12 +19518,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasPermissionsOutput( } sv.AliasId = ptr.String(jtv) } - case "ConnectionAliasPermissions": if err := awsAwsjson11_deserializeDocumentConnectionAliasPermissions(&sv.ConnectionAliasPermissions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20090,7 +19530,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasPermissionsOutput( } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20126,7 +19565,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageAssociationsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentImageResourceAssociationList(&sv.Associations, value); err != nil { return err } - default: _, _ = key, value @@ -20166,12 +19604,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeIpGroupsOutput(v **DescribeIpGrou } sv.NextToken = ptr.String(jtv) } - case "Result": if err := awsAwsjson11_deserializeDocumentWorkspacesIpGroupsList(&sv.Result, value); err != nil { return err } - default: _, _ = key, value @@ -20207,7 +19643,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } - default: _, _ = key, value @@ -20243,7 +19678,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceAssociationsOutput(v **D if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociationList(&sv.Associations, value); err != nil { return err } - default: _, _ = key, value @@ -20279,7 +19713,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceBundlesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentBundleList(&sv.Bundles, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20288,7 +19721,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceBundlesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20324,7 +19756,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceDirectoriesOutput(v **De if err := awsAwsjson11_deserializeDocumentDirectoryList(&sv.Directories, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20333,7 +19764,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceDirectoriesOutput(v **De } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20373,12 +19803,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagePermissionsOutput(v } sv.ImageId = ptr.String(jtv) } - case "ImagePermissions": if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20387,7 +19815,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagePermissionsOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20423,7 +19850,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentWorkspaceImageList(&sv.Images, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20432,7 +19858,6 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20472,12 +19897,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesConnectionStatusOutput( } sv.NextToken = ptr.String(jtv) } - case "WorkspacesConnectionStatus": if err := awsAwsjson11_deserializeDocumentWorkspaceConnectionStatusList(&sv.WorkspacesConnectionStatus, value); err != nil { return err } - default: _, _ = key, value @@ -20513,12 +19936,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceSnapshotsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.RebuildSnapshots, value); err != nil { return err } - case "RestoreSnapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.RestoreSnapshots, value); err != nil { return err } - default: _, _ = key, value @@ -20558,12 +19979,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesOutput(v **DescribeWork } sv.NextToken = ptr.String(jtv) } - case "Workspaces": if err := awsAwsjson11_deserializeDocumentWorkspaceList(&sv.Workspaces, value); err != nil { return err } - default: _, _ = key, value @@ -20603,12 +20022,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesPoolSessionsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "Sessions": if err := awsAwsjson11_deserializeDocumentWorkspacesPoolSessions(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -20648,12 +20065,10 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesPoolsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } - case "WorkspacesPools": if err := awsAwsjson11_deserializeDocumentWorkspacesPools(&sv.WorkspacesPools, value); err != nil { return err } - default: _, _ = key, value @@ -20751,7 +20166,6 @@ func awsAwsjson11_deserializeOpDocumentDisassociateWorkspaceApplicationOutput(v if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(&sv.Association, value); err != nil { return err } - default: _, _ = key, value @@ -20787,7 +20201,6 @@ func awsAwsjson11_deserializeOpDocumentGetAccountLinkOutput(v **GetAccountLinkOu if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } - default: _, _ = key, value @@ -20823,32 +20236,26 @@ func awsAwsjson11_deserializeOpDocumentImportClientBrandingOutput(v **ImportClie if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeAndroid, value); err != nil { return err } - case "DeviceTypeIos": if err := awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(&sv.DeviceTypeIos, value); err != nil { return err } - case "DeviceTypeLinux": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeLinux, value); err != nil { return err } - case "DeviceTypeOsx": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeOsx, value); err != nil { return err } - case "DeviceTypeWeb": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWeb, value); err != nil { return err } - case "DeviceTypeWindows": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWindows, value); err != nil { return err } - default: _, _ = key, value @@ -20888,7 +20295,6 @@ func awsAwsjson11_deserializeOpDocumentImportWorkspaceImageOutput(v **ImportWork } sv.ImageId = ptr.String(jtv) } - default: _, _ = key, value @@ -20924,7 +20330,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountLinksOutput(v **ListAccountLin if err := awsAwsjson11_deserializeDocumentAccountLinkList(&sv.AccountLinks, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20933,7 +20338,6 @@ func awsAwsjson11_deserializeOpDocumentListAccountLinksOutput(v **ListAccountLin } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -20969,7 +20373,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagementCidrRangesOutput(v if err := awsAwsjson11_deserializeDocumentDedicatedTenancyCidrRangeList(&sv.ManagementCidrRanges, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20978,7 +20381,6 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagementCidrRangesOutput(v } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -21018,7 +20420,6 @@ func awsAwsjson11_deserializeOpDocumentMigrateWorkspaceOutput(v **MigrateWorkspa } sv.SourceWorkspaceId = ptr.String(jtv) } - case "TargetWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -21027,7 +20428,6 @@ func awsAwsjson11_deserializeOpDocumentMigrateWorkspaceOutput(v **MigrateWorkspa } sv.TargetWorkspaceId = ptr.String(jtv) } - default: _, _ = key, value @@ -21373,7 +20773,6 @@ func awsAwsjson11_deserializeOpDocumentRebootWorkspacesOutput(v **RebootWorkspac if err := awsAwsjson11_deserializeDocumentFailedRebootWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - default: _, _ = key, value @@ -21409,7 +20808,6 @@ func awsAwsjson11_deserializeOpDocumentRebuildWorkspacesOutput(v **RebuildWorksp if err := awsAwsjson11_deserializeDocumentFailedRebuildWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - default: _, _ = key, value @@ -21449,7 +20847,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterWorkspaceDirectoryOutput(v **Regi } sv.DirectoryId = ptr.String(jtv) } - case "State": if value != nil { jtv, ok := value.(string) @@ -21458,7 +20855,6 @@ func awsAwsjson11_deserializeOpDocumentRegisterWorkspaceDirectoryOutput(v **Regi } sv.State = types.WorkspaceDirectoryState(jtv) } - default: _, _ = key, value @@ -21494,7 +20890,6 @@ func awsAwsjson11_deserializeOpDocumentRejectAccountLinkInvitationOutput(v **Rej if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } - default: _, _ = key, value @@ -21592,7 +20987,6 @@ func awsAwsjson11_deserializeOpDocumentStartWorkspacesOutput(v **StartWorkspaces if err := awsAwsjson11_deserializeDocumentFailedStartWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - default: _, _ = key, value @@ -21659,7 +21053,6 @@ func awsAwsjson11_deserializeOpDocumentStopWorkspacesOutput(v **StopWorkspacesOu if err := awsAwsjson11_deserializeDocumentFailedStopWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - default: _, _ = key, value @@ -21726,7 +21119,6 @@ func awsAwsjson11_deserializeOpDocumentTerminateWorkspacesOutput(v **TerminateWo if err := awsAwsjson11_deserializeDocumentFailedTerminateWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } - default: _, _ = key, value @@ -21979,7 +21371,6 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkspacesPoolOutput(v **UpdateWork if err := awsAwsjson11_deserializeDocumentWorkspacesPool(&sv.WorkspacesPool, value); err != nil { return err } - default: _, _ = key, value diff --git a/service/workspacesthinclient/deserializers.go b/service/workspacesthinclient/deserializers.go index 55378c3e046..9fbb5956ad9 100644 --- a/service/workspacesthinclient/deserializers.go +++ b/service/workspacesthinclient/deserializers.go @@ -190,7 +190,6 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron if err := awsRestjson1_deserializeDocumentEnvironmentSummary(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -663,7 +662,6 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -827,7 +825,6 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -991,7 +988,6 @@ func awsRestjson1_deserializeOpDocumentGetSoftwareSetOutput(v **GetSoftwareSetOu if err := awsRestjson1_deserializeDocumentSoftwareSet(&sv.SoftwareSet, value); err != nil { return err } - default: _, _ = key, value @@ -1152,7 +1148,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1161,7 +1156,6 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1322,7 +1316,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1331,7 +1324,6 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1496,12 +1488,10 @@ func awsRestjson1_deserializeOpDocumentListSoftwareSetsOutput(v **ListSoftwareSe } sv.NextToken = ptr.String(jtv) } - case "softwareSets": if err := awsRestjson1_deserializeDocumentSoftwareSetList(&sv.SoftwareSets, value); err != nil { return err } - default: _, _ = key, value @@ -1665,7 +1655,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -2035,7 +2024,6 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceOutput(v **UpdateDeviceOutput if err := awsRestjson1_deserializeDocumentDeviceSummary(&sv.Device, value); err != nil { return err } - default: _, _ = key, value @@ -2199,7 +2187,6 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsRestjson1_deserializeDocumentEnvironmentSummary(&sv.Environment, value); err != nil { return err } - default: _, _ = key, value @@ -2621,15 +2608,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2637,15 +2618,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2670,15 +2647,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -2686,7 +2657,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2695,7 +2665,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2704,15 +2673,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -2783,7 +2748,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2799,7 +2763,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "currentSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2808,7 +2771,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftwareSetId = ptr.String(jtv) } - case "currentSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -2817,7 +2779,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftwareSetVersion = ptr.String(jtv) } - case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2826,7 +2787,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DesiredSoftwareSetId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2835,7 +2795,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -2844,7 +2803,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Id = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2853,7 +2811,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.KmsKeyArn = ptr.String(jtv) } - case "lastConnectedAt": if value != nil { switch jtv := value.(type) { @@ -2869,7 +2826,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "lastPostureAt": if value != nil { switch jtv := value.(type) { @@ -2885,7 +2841,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - case "model": if value != nil { jtv, ok := value.(string) @@ -2894,7 +2849,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -2903,7 +2857,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } - case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2912,7 +2865,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.PendingSoftwareSetId = ptr.String(jtv) } - case "pendingSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -2921,7 +2873,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.PendingSoftwareSetVersion = ptr.String(jtv) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -2930,7 +2881,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SerialNumber = ptr.String(jtv) } - case "softwareSetComplianceStatus": if value != nil { jtv, ok := value.(string) @@ -2939,7 +2889,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetComplianceStatus = types.DeviceSoftwareSetComplianceStatus(jtv) } - case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -2948,7 +2897,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } - case "softwareSetUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -2957,7 +2905,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetUpdateStatus = types.SoftwareSetUpdateStatus(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -2966,12 +2913,10 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Status = types.DeviceStatus(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2987,7 +2932,6 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } - default: _, _ = key, value @@ -3097,7 +3041,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3113,7 +3056,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - case "currentSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3122,7 +3064,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.CurrentSoftwareSetId = ptr.String(jtv) } - case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3131,7 +3072,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DesiredSoftwareSetId = ptr.String(jtv) } - case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3140,7 +3080,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.EnvironmentId = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3149,7 +3088,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Id = ptr.String(jtv) } - case "lastConnectedAt": if value != nil { switch jtv := value.(type) { @@ -3165,7 +3103,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - case "lastPostureAt": if value != nil { switch jtv := value.(type) { @@ -3181,7 +3118,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - case "model": if value != nil { jtv, ok := value.(string) @@ -3190,7 +3126,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Model = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -3199,7 +3134,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Name = ptr.String(jtv) } - case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3208,7 +3142,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.PendingSoftwareSetId = ptr.String(jtv) } - case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -3217,7 +3150,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.SerialNumber = ptr.String(jtv) } - case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3226,7 +3158,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } - case "status": if value != nil { jtv, ok := value.(string) @@ -3235,7 +3166,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Status = types.DeviceStatus(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3251,7 +3181,6 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } - default: _, _ = key, value @@ -3291,7 +3220,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ActivationCode = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3300,7 +3228,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3316,7 +3243,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } - case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3325,7 +3251,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesiredSoftwareSetId = ptr.String(jtv) } - case "desktopArn": if value != nil { jtv, ok := value.(string) @@ -3334,7 +3259,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopArn = ptr.String(jtv) } - case "desktopEndpoint": if value != nil { jtv, ok := value.(string) @@ -3343,7 +3267,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopEndpoint = ptr.String(jtv) } - case "desktopType": if value != nil { jtv, ok := value.(string) @@ -3352,12 +3275,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopType = types.DesktopType(jtv) } - case "deviceCreationTags": if err := awsRestjson1_deserializeDocumentDeviceCreationTagsMap(&sv.DeviceCreationTags, value); err != nil { return err } - case "id": if value != nil { jtv, ok := value.(string) @@ -3366,7 +3287,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } - case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3375,12 +3295,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKeyArn = ptr.String(jtv) } - case "maintenanceWindow": if err := awsRestjson1_deserializeDocumentMaintenanceWindow(&sv.MaintenanceWindow, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3389,7 +3307,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } - case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3398,7 +3315,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PendingSoftwareSetId = ptr.String(jtv) } - case "pendingSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -3407,7 +3323,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PendingSoftwareSetVersion = ptr.String(jtv) } - case "registeredDevicesCount": if value != nil { jtv, ok := value.(json.Number) @@ -3420,7 +3335,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RegisteredDevicesCount = ptr.Int32(int32(i64)) } - case "softwareSetComplianceStatus": if value != nil { jtv, ok := value.(string) @@ -3429,7 +3343,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetComplianceStatus = types.EnvironmentSoftwareSetComplianceStatus(jtv) } - case "softwareSetUpdateMode": if value != nil { jtv, ok := value.(string) @@ -3438,7 +3351,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetUpdateMode = types.SoftwareSetUpdateMode(jtv) } - case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3447,12 +3359,10 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3468,7 +3378,6 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } - default: _, _ = key, value @@ -3542,7 +3451,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ActivationCode = ptr.String(jtv) } - case "arn": if value != nil { jtv, ok := value.(string) @@ -3551,7 +3459,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } - case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3567,7 +3474,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3576,7 +3482,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesiredSoftwareSetId = ptr.String(jtv) } - case "desktopArn": if value != nil { jtv, ok := value.(string) @@ -3585,7 +3490,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopArn = ptr.String(jtv) } - case "desktopEndpoint": if value != nil { jtv, ok := value.(string) @@ -3594,7 +3498,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopEndpoint = ptr.String(jtv) } - case "desktopType": if value != nil { jtv, ok := value.(string) @@ -3603,7 +3506,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopType = types.DesktopType(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -3612,12 +3514,10 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Id = ptr.String(jtv) } - case "maintenanceWindow": if err := awsRestjson1_deserializeDocumentMaintenanceWindow(&sv.MaintenanceWindow, value); err != nil { return err } - case "name": if value != nil { jtv, ok := value.(string) @@ -3626,7 +3526,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } - case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3635,7 +3534,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.PendingSoftwareSetId = ptr.String(jtv) } - case "softwareSetUpdateMode": if value != nil { jtv, ok := value.(string) @@ -3644,7 +3542,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.SoftwareSetUpdateMode = types.SoftwareSetUpdateMode(jtv) } - case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3653,7 +3550,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } - case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3669,7 +3565,6 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } - default: _, _ = key, value @@ -3699,15 +3594,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3715,7 +3604,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3728,15 +3616,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3771,12 +3655,10 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.ApplyTimeOf = types.ApplyTimeOf(jtv) } - case "daysOfTheWeek": if err := awsRestjson1_deserializeDocumentDayOfWeekList(&sv.DaysOfTheWeek, value); err != nil { return err } - case "endTimeHour": if value != nil { jtv, ok := value.(json.Number) @@ -3789,7 +3671,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.EndTimeHour = ptr.Int32(int32(i64)) } - case "endTimeMinute": if value != nil { jtv, ok := value.(json.Number) @@ -3802,7 +3683,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.EndTimeMinute = ptr.Int32(int32(i64)) } - case "startTimeHour": if value != nil { jtv, ok := value.(json.Number) @@ -3815,7 +3695,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTimeHour = ptr.Int32(int32(i64)) } - case "startTimeMinute": if value != nil { jtv, ok := value.(json.Number) @@ -3828,7 +3707,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTimeMinute = ptr.Int32(int32(i64)) } - case "type": if value != nil { jtv, ok := value.(string) @@ -3837,7 +3715,6 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.Type = types.MaintenanceWindowType(jtv) } - default: _, _ = key, value @@ -3867,15 +3744,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3883,7 +3754,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3892,7 +3762,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3901,15 +3770,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -3934,15 +3799,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -3950,7 +3809,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -3959,7 +3817,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3968,7 +3825,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3977,7 +3833,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -3986,15 +3841,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4029,7 +3880,6 @@ func awsRestjson1_deserializeDocumentSoftware(v **types.Software, value interfac } sv.Name = ptr.String(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4038,7 +3888,6 @@ func awsRestjson1_deserializeDocumentSoftware(v **types.Software, value interfac } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4112,7 +3961,6 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4121,7 +3969,6 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Id = ptr.String(jtv) } - case "releasedAt": if value != nil { switch jtv := value.(type) { @@ -4137,12 +3984,10 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } } - case "software": if err := awsRestjson1_deserializeDocumentSoftwareList(&sv.Software, value); err != nil { return err } - case "supportedUntil": if value != nil { switch jtv := value.(type) { @@ -4158,12 +4003,10 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } } - case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } - case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -4172,7 +4015,6 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.ValidationStatus = types.SoftwareSetValidationStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4181,7 +4023,6 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4255,7 +4096,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Arn = ptr.String(jtv) } - case "id": if value != nil { jtv, ok := value.(string) @@ -4264,7 +4104,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Id = ptr.String(jtv) } - case "releasedAt": if value != nil { switch jtv := value.(type) { @@ -4280,7 +4119,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } } - case "supportedUntil": if value != nil { switch jtv := value.(type) { @@ -4296,7 +4134,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } } - case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -4305,7 +4142,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.ValidationStatus = types.SoftwareSetValidationStatus(jtv) } - case "version": if value != nil { jtv, ok := value.(string) @@ -4314,7 +4150,6 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Version = ptr.String(jtv) } - default: _, _ = key, value @@ -4380,15 +4215,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4396,7 +4225,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4405,7 +4233,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4418,7 +4245,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4427,15 +4253,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4460,20 +4282,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -4481,7 +4296,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -4490,15 +4304,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -4533,7 +4343,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -4542,7 +4351,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/workspacesweb/deserializers.go b/service/workspacesweb/deserializers.go index a0b1efedc18..c25f11ecd91 100644 --- a/service/workspacesweb/deserializers.go +++ b/service/workspacesweb/deserializers.go @@ -192,7 +192,6 @@ func awsRestjson1_deserializeOpDocumentAssociateBrowserSettingsOutput(v **Associ } sv.BrowserSettingsArn = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -201,7 +200,6 @@ func awsRestjson1_deserializeOpDocumentAssociateBrowserSettingsOutput(v **Associ } sv.PortalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -372,7 +370,6 @@ func awsRestjson1_deserializeOpDocumentAssociateIpAccessSettingsOutput(v **Assoc } sv.IpAccessSettingsArn = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -381,7 +378,6 @@ func awsRestjson1_deserializeOpDocumentAssociateIpAccessSettingsOutput(v **Assoc } sv.PortalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -552,7 +548,6 @@ func awsRestjson1_deserializeOpDocumentAssociateNetworkSettingsOutput(v **Associ } sv.NetworkSettingsArn = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -561,7 +556,6 @@ func awsRestjson1_deserializeOpDocumentAssociateNetworkSettingsOutput(v **Associ } sv.PortalArn = ptr.String(jtv) } - default: _, _ = key, value @@ -732,7 +726,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTrustStoreOutput(v **AssociateTr } sv.PortalArn = ptr.String(jtv) } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -741,7 +734,6 @@ func awsRestjson1_deserializeOpDocumentAssociateTrustStoreOutput(v **AssociateTr } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -912,7 +904,6 @@ func awsRestjson1_deserializeOpDocumentAssociateUserAccessLoggingSettingsOutput( } sv.PortalArn = ptr.String(jtv) } - case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -921,7 +912,6 @@ func awsRestjson1_deserializeOpDocumentAssociateUserAccessLoggingSettingsOutput( } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1092,7 +1082,6 @@ func awsRestjson1_deserializeOpDocumentAssociateUserSettingsOutput(v **Associate } sv.PortalArn = ptr.String(jtv) } - case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -1101,7 +1090,6 @@ func awsRestjson1_deserializeOpDocumentAssociateUserSettingsOutput(v **Associate } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1275,7 +1263,6 @@ func awsRestjson1_deserializeOpDocumentCreateBrowserSettingsOutput(v **CreateBro } sv.BrowserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1449,7 +1436,6 @@ func awsRestjson1_deserializeOpDocumentCreateIdentityProviderOutput(v **CreateId } sv.IdentityProviderArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1620,7 +1606,6 @@ func awsRestjson1_deserializeOpDocumentCreateIpAccessSettingsOutput(v **CreateIp } sv.IpAccessSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1791,7 +1776,6 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkSettingsOutput(v **CreateNet } sv.NetworkSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -1965,7 +1949,6 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalArn = ptr.String(jtv) } - case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -1974,7 +1957,6 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalEndpoint = ptr.String(jtv) } - default: _, _ = key, value @@ -2145,7 +2127,6 @@ func awsRestjson1_deserializeOpDocumentCreateTrustStoreOutput(v **CreateTrustSto } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2316,7 +2297,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserAccessLoggingSettingsOutput(v * } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -2487,7 +2467,6 @@ func awsRestjson1_deserializeOpDocumentCreateUserSettingsOutput(v **CreateUserSe } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -4169,7 +4148,6 @@ func awsRestjson1_deserializeOpDocumentGetBrowserSettingsOutput(v **GetBrowserSe if err := awsRestjson1_deserializeDocumentBrowserSettings(&sv.BrowserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -4333,7 +4311,6 @@ func awsRestjson1_deserializeOpDocumentGetIdentityProviderOutput(v **GetIdentity if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -4497,7 +4474,6 @@ func awsRestjson1_deserializeOpDocumentGetIpAccessSettingsOutput(v **GetIpAccess if err := awsRestjson1_deserializeDocumentIpAccessSettings(&sv.IpAccessSettings, value); err != nil { return err } - default: _, _ = key, value @@ -4661,7 +4637,6 @@ func awsRestjson1_deserializeOpDocumentGetNetworkSettingsOutput(v **GetNetworkSe if err := awsRestjson1_deserializeDocumentNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - default: _, _ = key, value @@ -4825,7 +4800,6 @@ func awsRestjson1_deserializeOpDocumentGetPortalOutput(v **GetPortalOutput, valu if err := awsRestjson1_deserializeDocumentPortal(&sv.Portal, value); err != nil { return err } - default: _, _ = key, value @@ -4993,7 +4967,6 @@ func awsRestjson1_deserializeOpDocumentGetPortalServiceProviderMetadataOutput(v } sv.PortalArn = ptr.String(jtv) } - case "serviceProviderSamlMetadata": if value != nil { jtv, ok := value.(string) @@ -5002,7 +4975,6 @@ func awsRestjson1_deserializeOpDocumentGetPortalServiceProviderMetadataOutput(v } sv.ServiceProviderSamlMetadata = ptr.String(jtv) } - default: _, _ = key, value @@ -5166,7 +5138,6 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSession(&sv.Session, value); err != nil { return err } - default: _, _ = key, value @@ -5330,7 +5301,6 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreOutput(v **GetTrustStoreOutp if err := awsRestjson1_deserializeDocumentTrustStore(&sv.TrustStore, value); err != nil { return err } - default: _, _ = key, value @@ -5494,7 +5464,6 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreCertificateOutput(v **GetTru if err := awsRestjson1_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -5503,7 +5472,6 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreCertificateOutput(v **GetTru } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -5667,7 +5635,6 @@ func awsRestjson1_deserializeOpDocumentGetUserAccessLoggingSettingsOutput(v **Ge if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettings(&sv.UserAccessLoggingSettings, value); err != nil { return err } - default: _, _ = key, value @@ -5831,7 +5798,6 @@ func awsRestjson1_deserializeOpDocumentGetUserSettingsOutput(v **GetUserSettings if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -5992,7 +5958,6 @@ func awsRestjson1_deserializeOpDocumentListBrowserSettingsOutput(v **ListBrowser if err := awsRestjson1_deserializeDocumentBrowserSettingsList(&sv.BrowserSettings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6001,7 +5966,6 @@ func awsRestjson1_deserializeOpDocumentListBrowserSettingsOutput(v **ListBrowser } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6162,7 +6126,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent if err := awsRestjson1_deserializeDocumentIdentityProviderList(&sv.IdentityProviders, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6171,7 +6134,6 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6332,7 +6294,6 @@ func awsRestjson1_deserializeOpDocumentListIpAccessSettingsOutput(v **ListIpAcce if err := awsRestjson1_deserializeDocumentIpAccessSettingsList(&sv.IpAccessSettings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6341,7 +6302,6 @@ func awsRestjson1_deserializeOpDocumentListIpAccessSettingsOutput(v **ListIpAcce } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6502,7 +6462,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkSettingsOutput(v **ListNetwork if err := awsRestjson1_deserializeDocumentNetworkSettingsList(&sv.NetworkSettings, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6511,7 +6470,6 @@ func awsRestjson1_deserializeOpDocumentListNetworkSettingsOutput(v **ListNetwork } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -6676,12 +6634,10 @@ func awsRestjson1_deserializeOpDocumentListPortalsOutput(v **ListPortalsOutput, } sv.NextToken = ptr.String(jtv) } - case "portals": if err := awsRestjson1_deserializeDocumentPortalList(&sv.Portals, value); err != nil { return err } - default: _, _ = key, value @@ -6849,12 +6805,10 @@ func awsRestjson1_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } - case "sessions": if err := awsRestjson1_deserializeDocumentSessionSummaryList(&sv.Sessions, value); err != nil { return err } - default: _, _ = key, value @@ -7018,7 +6972,6 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -7182,7 +7135,6 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List if err := awsRestjson1_deserializeDocumentCertificateSummaryList(&sv.CertificateList, value); err != nil { return err } - case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7191,7 +7143,6 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List } sv.NextToken = ptr.String(jtv) } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -7200,7 +7151,6 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -7365,12 +7315,10 @@ func awsRestjson1_deserializeOpDocumentListTrustStoresOutput(v **ListTrustStores } sv.NextToken = ptr.String(jtv) } - case "trustStores": if err := awsRestjson1_deserializeDocumentTrustStoreSummaryList(&sv.TrustStores, value); err != nil { return err } - default: _, _ = key, value @@ -7535,12 +7483,10 @@ func awsRestjson1_deserializeOpDocumentListUserAccessLoggingSettingsOutput(v **L } sv.NextToken = ptr.String(jtv) } - case "userAccessLoggingSettings": if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettingsList(&sv.UserAccessLoggingSettings, value); err != nil { return err } - default: _, _ = key, value @@ -7705,12 +7651,10 @@ func awsRestjson1_deserializeOpDocumentListUserSettingsOutput(v **ListUserSettin } sv.NextToken = ptr.String(jtv) } - case "userSettings": if err := awsRestjson1_deserializeDocumentUserSettingsList(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8077,7 +8021,6 @@ func awsRestjson1_deserializeOpDocumentUpdateBrowserSettingsOutput(v **UpdateBro if err := awsRestjson1_deserializeDocumentBrowserSettings(&sv.BrowserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8241,7 +8184,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityProviderOutput(v **UpdateId if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } - default: _, _ = key, value @@ -8405,7 +8347,6 @@ func awsRestjson1_deserializeOpDocumentUpdateIpAccessSettingsOutput(v **UpdateIp if err := awsRestjson1_deserializeDocumentIpAccessSettings(&sv.IpAccessSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8569,7 +8510,6 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSettingsOutput(v **UpdateNet if err := awsRestjson1_deserializeDocumentNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } - default: _, _ = key, value @@ -8739,7 +8679,6 @@ func awsRestjson1_deserializeOpDocumentUpdatePortalOutput(v **UpdatePortalOutput if err := awsRestjson1_deserializeDocumentPortal(&sv.Portal, value); err != nil { return err } - default: _, _ = key, value @@ -8910,7 +8849,6 @@ func awsRestjson1_deserializeOpDocumentUpdateTrustStoreOutput(v **UpdateTrustSto } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9074,7 +9012,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserAccessLoggingSettingsOutput(v * if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettings(&sv.UserAccessLoggingSettings, value); err != nil { return err } - default: _, _ = key, value @@ -9238,7 +9175,6 @@ func awsRestjson1_deserializeOpDocumentUpdateUserSettingsOutput(v **UpdateUserSe if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } - default: _, _ = key, value @@ -9596,15 +9532,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9612,15 +9542,11 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9687,12 +9613,10 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } - case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "browserPolicy": if value != nil { jtv, ok := value.(string) @@ -9701,7 +9625,6 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.BrowserPolicy = ptr.String(jtv) } - case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -9710,7 +9633,6 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.BrowserSettingsArn = ptr.String(jtv) } - case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -9719,7 +9641,6 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.CustomerManagedKey = ptr.String(jtv) } - default: _, _ = key, value @@ -9793,7 +9714,6 @@ func awsRestjson1_deserializeDocumentBrowserSettingsSummary(v **types.BrowserSet } sv.BrowserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -9837,7 +9757,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Body = dv } - case "issuer": if value != nil { jtv, ok := value.(string) @@ -9846,7 +9765,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Issuer = ptr.String(jtv) } - case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -9862,7 +9780,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -9878,7 +9795,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } - case "subject": if value != nil { jtv, ok := value.(string) @@ -9887,7 +9803,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Subject = ptr.String(jtv) } - case "thumbprint": if value != nil { jtv, ok := value.(string) @@ -9896,7 +9811,6 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Thumbprint = ptr.String(jtv) } - default: _, _ = key, value @@ -9936,7 +9850,6 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Issuer = ptr.String(jtv) } - case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -9952,7 +9865,6 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -9968,7 +9880,6 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } } - case "subject": if value != nil { jtv, ok := value.(string) @@ -9977,7 +9888,6 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Subject = ptr.String(jtv) } - case "thumbprint": if value != nil { jtv, ok := value.(string) @@ -9986,7 +9896,6 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Thumbprint = ptr.String(jtv) } - default: _, _ = key, value @@ -10050,15 +9959,9 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10066,7 +9969,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10075,7 +9977,6 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10084,15 +9985,11 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10127,7 +10024,6 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Domain = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -10136,7 +10032,6 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Name = ptr.String(jtv) } - case "path": if value != nil { jtv, ok := value.(string) @@ -10145,7 +10040,6 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Path = ptr.String(jtv) } - default: _, _ = key, value @@ -10215,12 +10109,10 @@ func awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(v **type if err := awsRestjson1_deserializeDocumentCookieSpecifications(&sv.Allowlist, value); err != nil { return err } - case "blocklist": if err := awsRestjson1_deserializeDocumentCookieSpecifications(&sv.Blocklist, value); err != nil { return err } - default: _, _ = key, value @@ -10296,12 +10188,10 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderArn = ptr.String(jtv) } - case "identityProviderDetails": if err := awsRestjson1_deserializeDocumentIdentityProviderDetails(&sv.IdentityProviderDetails, value); err != nil { return err } - case "identityProviderName": if value != nil { jtv, ok := value.(string) @@ -10310,7 +10200,6 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderName = ptr.String(jtv) } - case "identityProviderType": if value != nil { jtv, ok := value.(string) @@ -10319,7 +10208,6 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderType = types.IdentityProviderType(jtv) } - default: _, _ = key, value @@ -10429,7 +10317,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderArn = ptr.String(jtv) } - case "identityProviderName": if value != nil { jtv, ok := value.(string) @@ -10438,7 +10325,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderName = ptr.String(jtv) } - case "identityProviderType": if value != nil { jtv, ok := value.(string) @@ -10447,7 +10333,6 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderType = types.IdentityProviderType(jtv) } - default: _, _ = key, value @@ -10477,15 +10362,9 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -10493,7 +10372,6 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10506,15 +10384,11 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -10545,12 +10419,10 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } - case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -10566,7 +10438,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } } - case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -10575,7 +10446,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.CustomerManagedKey = ptr.String(jtv) } - case "description": if value != nil { jtv, ok := value.(string) @@ -10584,7 +10454,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -10593,7 +10462,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.DisplayName = ptr.String(jtv) } - case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10602,12 +10470,10 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.IpAccessSettingsArn = ptr.String(jtv) } - case "ipRules": if err := awsRestjson1_deserializeDocumentIpRuleList(&sv.IpRules, value); err != nil { return err } - default: _, _ = key, value @@ -10688,7 +10554,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } } - case "description": if value != nil { jtv, ok := value.(string) @@ -10697,7 +10562,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.Description = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -10706,7 +10570,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.DisplayName = ptr.String(jtv) } - case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10715,7 +10578,6 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.IpAccessSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -10791,7 +10653,6 @@ func awsRestjson1_deserializeDocumentIpRule(v **types.IpRule, value interface{}) } sv.Description = ptr.String(jtv) } - case "ipRange": if value != nil { jtv, ok := value.(string) @@ -10800,7 +10661,6 @@ func awsRestjson1_deserializeDocumentIpRule(v **types.IpRule, value interface{}) } sv.IpRange = ptr.String(jtv) } - default: _, _ = key, value @@ -10870,7 +10730,6 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10879,17 +10738,14 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, } sv.NetworkSettingsArn = ptr.String(jtv) } - case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } - case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10898,7 +10754,6 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -10972,7 +10827,6 @@ func awsRestjson1_deserializeDocumentNetworkSettingsSummary(v **types.NetworkSet } sv.NetworkSettingsArn = ptr.String(jtv) } - case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10981,7 +10835,6 @@ func awsRestjson1_deserializeDocumentNetworkSettingsSummary(v **types.NetworkSet } sv.VpcId = ptr.String(jtv) } - default: _, _ = key, value @@ -11017,7 +10870,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } - case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -11026,7 +10878,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11035,7 +10886,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.BrowserSettingsArn = ptr.String(jtv) } - case "browserType": if value != nil { jtv, ok := value.(string) @@ -11044,7 +10894,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.BrowserType = types.BrowserType(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11060,7 +10909,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } } - case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -11069,7 +10917,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.CustomerManagedKey = ptr.String(jtv) } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -11078,7 +10925,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.DisplayName = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -11087,7 +10933,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.InstanceType = types.InstanceType(jtv) } - case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11096,7 +10941,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.IpAccessSettingsArn = ptr.String(jtv) } - case "maxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -11109,7 +10953,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } - case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11118,7 +10961,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.NetworkSettingsArn = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11127,7 +10969,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalArn = ptr.String(jtv) } - case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -11136,7 +10977,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalEndpoint = ptr.String(jtv) } - case "portalStatus": if value != nil { jtv, ok := value.(string) @@ -11145,7 +10985,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalStatus = types.PortalStatus(jtv) } - case "rendererType": if value != nil { jtv, ok := value.(string) @@ -11154,7 +10993,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.RendererType = types.RendererType(jtv) } - case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11163,7 +11001,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.StatusReason = ptr.String(jtv) } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -11172,7 +11009,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.TrustStoreArn = ptr.String(jtv) } - case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11181,7 +11017,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11190,7 +11025,6 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11264,7 +11098,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.AuthenticationType = types.AuthenticationType(jtv) } - case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11273,7 +11106,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.BrowserSettingsArn = ptr.String(jtv) } - case "browserType": if value != nil { jtv, ok := value.(string) @@ -11282,7 +11114,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.BrowserType = types.BrowserType(jtv) } - case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11298,7 +11129,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } - case "displayName": if value != nil { jtv, ok := value.(string) @@ -11307,7 +11137,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.DisplayName = ptr.String(jtv) } - case "instanceType": if value != nil { jtv, ok := value.(string) @@ -11316,7 +11145,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.InstanceType = types.InstanceType(jtv) } - case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11325,7 +11153,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.IpAccessSettingsArn = ptr.String(jtv) } - case "maxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -11338,7 +11165,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } - case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11347,7 +11173,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.NetworkSettingsArn = ptr.String(jtv) } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11356,7 +11181,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalArn = ptr.String(jtv) } - case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -11365,7 +11189,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalEndpoint = ptr.String(jtv) } - case "portalStatus": if value != nil { jtv, ok := value.(string) @@ -11374,7 +11197,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalStatus = types.PortalStatus(jtv) } - case "rendererType": if value != nil { jtv, ok := value.(string) @@ -11383,7 +11205,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.RendererType = types.RendererType(jtv) } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -11392,7 +11213,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.TrustStoreArn = ptr.String(jtv) } - case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11401,7 +11221,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11410,7 +11229,6 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -11440,15 +11258,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11456,7 +11268,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11465,7 +11276,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11474,15 +11284,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11543,15 +11349,9 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -11559,7 +11359,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11568,7 +11367,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } - case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11577,7 +11375,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } - case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11586,7 +11383,6 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11595,15 +11391,11 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -11634,7 +11426,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ if err := awsRestjson1_deserializeDocumentIpAddressList(&sv.ClientIpAddresses, value); err != nil { return err } - case "endTime": if value != nil { switch jtv := value.(type) { @@ -11650,7 +11441,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11659,7 +11449,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.PortalArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -11668,7 +11457,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11684,7 +11472,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11693,7 +11480,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -11702,7 +11488,6 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -11749,7 +11534,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } } - case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11758,7 +11542,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.PortalArn = ptr.String(jtv) } - case "sessionId": if value != nil { jtv, ok := value.(string) @@ -11767,7 +11550,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } - case "startTime": if value != nil { switch jtv := value.(type) { @@ -11783,7 +11565,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } } - case "status": if value != nil { jtv, ok := value.(string) @@ -11792,7 +11573,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Status = types.SessionStatus(jtv) } - case "username": if value != nil { jtv, ok := value.(string) @@ -11801,7 +11581,6 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Username = ptr.String(jtv) } - default: _, _ = key, value @@ -11911,7 +11690,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -11920,7 +11698,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -11984,15 +11761,9 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12000,7 +11771,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } - case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -12009,7 +11779,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } - case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12022,7 +11791,6 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } - case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -12031,15 +11799,11 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12064,15 +11828,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12080,7 +11838,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "resourceName": if value != nil { jtv, ok := value.(string) @@ -12089,15 +11846,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12128,7 +11881,6 @@ func awsRestjson1_deserializeDocumentTrustStore(v **types.TrustStore, value inte if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -12137,7 +11889,6 @@ func awsRestjson1_deserializeDocumentTrustStore(v **types.TrustStore, value inte } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12177,7 +11928,6 @@ func awsRestjson1_deserializeDocumentTrustStoreSummary(v **types.TrustStoreSumma } sv.TrustStoreArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12247,7 +11997,6 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "kinesisStreamArn": if value != nil { jtv, ok := value.(string) @@ -12256,7 +12005,6 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc } sv.KinesisStreamArn = ptr.String(jtv) } - case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12265,7 +12013,6 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12339,7 +12086,6 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettingsSummary(v **types. } sv.KinesisStreamArn = ptr.String(jtv) } - case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12348,7 +12094,6 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettingsSummary(v **types. } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12384,17 +12129,14 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } - case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } - case "cookieSynchronizationConfiguration": if err := awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(&sv.CookieSynchronizationConfiguration, value); err != nil { return err } - case "copyAllowed": if value != nil { jtv, ok := value.(string) @@ -12403,7 +12145,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.CopyAllowed = types.EnabledType(jtv) } - case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -12412,7 +12153,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.CustomerManagedKey = ptr.String(jtv) } - case "deepLinkAllowed": if value != nil { jtv, ok := value.(string) @@ -12421,7 +12161,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DeepLinkAllowed = types.EnabledType(jtv) } - case "disconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12434,7 +12173,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "downloadAllowed": if value != nil { jtv, ok := value.(string) @@ -12443,7 +12181,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DownloadAllowed = types.EnabledType(jtv) } - case "idleDisconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12456,7 +12193,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.IdleDisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "pasteAllowed": if value != nil { jtv, ok := value.(string) @@ -12465,7 +12201,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.PasteAllowed = types.EnabledType(jtv) } - case "printAllowed": if value != nil { jtv, ok := value.(string) @@ -12474,7 +12209,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.PrintAllowed = types.EnabledType(jtv) } - case "uploadAllowed": if value != nil { jtv, ok := value.(string) @@ -12483,7 +12217,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.UploadAllowed = types.EnabledType(jtv) } - case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12492,7 +12225,6 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12562,7 +12294,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS if err := awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(&sv.CookieSynchronizationConfiguration, value); err != nil { return err } - case "copyAllowed": if value != nil { jtv, ok := value.(string) @@ -12571,7 +12302,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.CopyAllowed = types.EnabledType(jtv) } - case "deepLinkAllowed": if value != nil { jtv, ok := value.(string) @@ -12580,7 +12310,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DeepLinkAllowed = types.EnabledType(jtv) } - case "disconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12593,7 +12322,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "downloadAllowed": if value != nil { jtv, ok := value.(string) @@ -12602,7 +12330,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DownloadAllowed = types.EnabledType(jtv) } - case "idleDisconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12615,7 +12342,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.IdleDisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } - case "pasteAllowed": if value != nil { jtv, ok := value.(string) @@ -12624,7 +12350,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.PasteAllowed = types.EnabledType(jtv) } - case "printAllowed": if value != nil { jtv, ok := value.(string) @@ -12633,7 +12358,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.PrintAllowed = types.EnabledType(jtv) } - case "uploadAllowed": if value != nil { jtv, ok := value.(string) @@ -12642,7 +12366,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.UploadAllowed = types.EnabledType(jtv) } - case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12651,7 +12374,6 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.UserSettingsArn = ptr.String(jtv) } - default: _, _ = key, value @@ -12681,20 +12403,13 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } - - case "message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -12702,7 +12417,6 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } - case "reason": if value != nil { jtv, ok := value.(string) @@ -12711,15 +12425,11 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -12754,7 +12464,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } - case "name": if value != nil { jtv, ok := value.(string) @@ -12763,7 +12472,6 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } - default: _, _ = key, value diff --git a/service/xray/deserializers.go b/service/xray/deserializers.go index 4c319f9555f..42629d1b9bd 100644 --- a/service/xray/deserializers.go +++ b/service/xray/deserializers.go @@ -179,17 +179,14 @@ func awsRestjson1_deserializeOpDocumentBatchGetTracesOutput(v **BatchGetTracesOu } sv.NextToken = ptr.String(jtv) } - case "Traces": if err := awsRestjson1_deserializeDocumentTraceList(&sv.Traces, value); err != nil { return err } - case "UnprocessedTraceIds": if err := awsRestjson1_deserializeDocumentUnprocessedTraceIdList(&sv.UnprocessedTraceIds, value); err != nil { return err } - default: _, _ = key, value @@ -344,7 +341,6 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -502,7 +498,6 @@ func awsRestjson1_deserializeOpDocumentCreateSamplingRuleOutput(v **CreateSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } - default: _, _ = key, value @@ -842,7 +837,6 @@ func awsRestjson1_deserializeOpDocumentDeleteSamplingRuleOutput(v **DeleteSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } - default: _, _ = key, value @@ -997,7 +991,6 @@ func awsRestjson1_deserializeOpDocumentGetEncryptionConfigOutput(v **GetEncrypti if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -1152,7 +1145,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -1307,7 +1299,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupsOutput(v **GetGroupsOutput, valu if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1316,7 +1307,6 @@ func awsRestjson1_deserializeOpDocumentGetGroupsOutput(v **GetGroupsOutput, valu } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1471,7 +1461,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightOutput(v **GetInsightOutput, va if err := awsRestjson1_deserializeDocumentInsight(&sv.Insight, value); err != nil { return err } - default: _, _ = key, value @@ -1626,7 +1615,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightEventsOutput(v **GetInsightEven if err := awsRestjson1_deserializeDocumentInsightEventList(&sv.InsightEvents, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1635,7 +1623,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightEventsOutput(v **GetInsightEven } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -1801,7 +1788,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } - case "InsightId": if value != nil { jtv, ok := value.(string) @@ -1810,7 +1796,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } sv.InsightId = ptr.String(jtv) } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1819,7 +1804,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } sv.NextToken = ptr.String(jtv) } - case "ServiceGraphEndTime": if value != nil { switch jtv := value.(type) { @@ -1835,7 +1819,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } - case "ServiceGraphStartTime": if value != nil { switch jtv := value.(type) { @@ -1851,12 +1834,10 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } - case "Services": if err := awsRestjson1_deserializeDocumentInsightImpactGraphServiceList(&sv.Services, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1872,7 +1853,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } - default: _, _ = key, value @@ -2027,7 +2007,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightSummariesOutput(v **GetInsightS if err := awsRestjson1_deserializeDocumentInsightSummaryList(&sv.InsightSummaries, value); err != nil { return err } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2036,7 +2015,6 @@ func awsRestjson1_deserializeOpDocumentGetInsightSummariesOutput(v **GetInsightS } sv.NextToken = ptr.String(jtv) } - default: _, _ = key, value @@ -2195,12 +2173,10 @@ func awsRestjson1_deserializeOpDocumentGetSamplingRulesOutput(v **GetSamplingRul } sv.NextToken = ptr.String(jtv) } - case "SamplingRuleRecords": if err := awsRestjson1_deserializeDocumentSamplingRuleRecordList(&sv.SamplingRuleRecords, value); err != nil { return err } - default: _, _ = key, value @@ -2359,12 +2335,10 @@ func awsRestjson1_deserializeOpDocumentGetSamplingStatisticSummariesOutput(v **G } sv.NextToken = ptr.String(jtv) } - case "SamplingStatisticSummaries": if err := awsRestjson1_deserializeDocumentSamplingStatisticSummaryList(&sv.SamplingStatisticSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -2530,17 +2504,14 @@ func awsRestjson1_deserializeOpDocumentGetSamplingTargetsOutput(v **GetSamplingT } } - case "SamplingTargetDocuments": if err := awsRestjson1_deserializeDocumentSamplingTargetDocumentList(&sv.SamplingTargetDocuments, value); err != nil { return err } - case "UnprocessedStatistics": if err := awsRestjson1_deserializeDocumentUnprocessedStatisticsList(&sv.UnprocessedStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -2699,7 +2670,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } sv.ContainsOldGroupVersions = jtv } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2715,7 +2685,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2724,12 +2693,10 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } sv.NextToken = ptr.String(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2745,7 +2712,6 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } } - default: _, _ = key, value @@ -2904,7 +2870,6 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesServiceStatisticsOutput(v ** } sv.ContainsOldGroupVersions = jtv } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2913,12 +2878,10 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesServiceStatisticsOutput(v ** } sv.NextToken = ptr.String(jtv) } - case "TimeSeriesServiceStatistics": if err := awsRestjson1_deserializeDocumentTimeSeriesServiceStatisticsList(&sv.TimeSeriesServiceStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -3077,12 +3040,10 @@ func awsRestjson1_deserializeOpDocumentGetTraceGraphOutput(v **GetTraceGraphOutp } sv.NextToken = ptr.String(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -3248,7 +3209,6 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3257,7 +3217,6 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } sv.NextToken = ptr.String(jtv) } - case "TracesProcessedCount": if value != nil { jtv, ok := value.(json.Number) @@ -3270,12 +3229,10 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } sv.TracesProcessedCount = ptr.Int64(i64) } - case "TraceSummaries": if err := awsRestjson1_deserializeDocumentTraceSummaryList(&sv.TraceSummaries, value); err != nil { return err } - default: _, _ = key, value @@ -3434,12 +3391,10 @@ func awsRestjson1_deserializeOpDocumentListResourcePoliciesOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } - case "ResourcePolicies": if err := awsRestjson1_deserializeDocumentResourcePolicyList(&sv.ResourcePolicies, value); err != nil { return err } - default: _, _ = key, value @@ -3601,12 +3556,10 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } - case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } - default: _, _ = key, value @@ -3761,7 +3714,6 @@ func awsRestjson1_deserializeOpDocumentPutEncryptionConfigOutput(v **PutEncrypti if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } - default: _, _ = key, value @@ -3928,7 +3880,6 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } - default: _, _ = key, value @@ -4174,7 +4125,6 @@ func awsRestjson1_deserializeOpDocumentPutTraceSegmentsOutput(v **PutTraceSegmen if err := awsRestjson1_deserializeDocumentUnprocessedTraceSegmentList(&sv.UnprocessedTraceSegments, value); err != nil { return err } - default: _, _ = key, value @@ -4520,7 +4470,6 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } - default: _, _ = key, value @@ -4675,7 +4624,6 @@ func awsRestjson1_deserializeOpDocumentUpdateSamplingRuleOutput(v **UpdateSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } - default: _, _ = key, value @@ -5075,12 +5023,10 @@ func awsRestjson1_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentAliasNames(&sv.Names, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5089,7 +5035,6 @@ func awsRestjson1_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -5320,7 +5265,6 @@ func awsRestjson1_deserializeDocumentAnomalousService(v **types.AnomalousService if err := awsRestjson1_deserializeDocumentServiceId(&sv.ServiceId, value); err != nil { return err } - default: _, _ = key, value @@ -5430,7 +5374,6 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneDetail(v **types.Availabili } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -5466,7 +5409,6 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } - case "EdgeType": if value != nil { jtv, ok := value.(string) @@ -5475,7 +5417,6 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.EdgeType = ptr.String(jtv) } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5491,12 +5432,10 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } } - case "ReceivedEventAgeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ReceivedEventAgeHistogram, value); err != nil { return err } - case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -5509,12 +5448,10 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.ReferenceId = ptr.Int32(int32(i64)) } - case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5530,12 +5467,10 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } } - case "SummaryStatistics": if err := awsRestjson1_deserializeDocumentEdgeStatistics(&sv.SummaryStatistics, value); err != nil { return err } - default: _, _ = key, value @@ -5605,12 +5540,10 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va if err := awsRestjson1_deserializeDocumentErrorStatistics(&sv.ErrorStatistics, value); err != nil { return err } - case "FaultStatistics": if err := awsRestjson1_deserializeDocumentFaultStatistics(&sv.FaultStatistics, value); err != nil { return err } - case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -5623,7 +5556,6 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } sv.OkCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -5636,7 +5568,6 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } sv.TotalCount = ptr.Int64(i64) } - case "TotalResponseTime": if value != nil { switch jtv := value.(type) { @@ -5670,7 +5601,6 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } } - default: _, _ = key, value @@ -5710,7 +5640,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyId = ptr.String(jtv) } - case "Status": if value != nil { jtv, ok := value.(string) @@ -5719,7 +5648,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Status = types.EncryptionStatus(jtv) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5728,7 +5656,6 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Type = types.EncryptionType(jtv) } - default: _, _ = key, value @@ -5768,12 +5695,10 @@ func awsRestjson1_deserializeDocumentErrorRootCause(v **types.ErrorRootCause, va } sv.ClientImpacting = ptr.Bool(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentErrorRootCauseServices(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -5809,7 +5734,6 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau if err := awsRestjson1_deserializeDocumentRootCauseExceptions(&sv.Exceptions, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5818,7 +5742,6 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau } sv.Name = ptr.String(jtv) } - case "Remote": if value != nil { jtv, ok := value.(bool) @@ -5827,7 +5750,6 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau } sv.Remote = ptr.Bool(jtv) } - default: _, _ = key, value @@ -5935,12 +5857,10 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.AccountId = ptr.String(jtv) } - case "EntityPath": if err := awsRestjson1_deserializeDocumentErrorRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } - case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -5949,7 +5869,6 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Inferred = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -5958,12 +5877,10 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -5972,7 +5889,6 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6050,7 +5966,6 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.OtherCount = ptr.Int64(i64) } - case "ThrottleCount": if value != nil { jtv, ok := value.(json.Number) @@ -6063,7 +5978,6 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.ThrottleCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -6076,7 +5990,6 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6116,12 +6029,10 @@ func awsRestjson1_deserializeDocumentFaultRootCause(v **types.FaultRootCause, va } sv.ClientImpacting = ptr.Bool(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentFaultRootCauseServices(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -6157,7 +6068,6 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau if err := awsRestjson1_deserializeDocumentRootCauseExceptions(&sv.Exceptions, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6166,7 +6076,6 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau } sv.Name = ptr.String(jtv) } - case "Remote": if value != nil { jtv, ok := value.(bool) @@ -6175,7 +6084,6 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau } sv.Remote = ptr.Bool(jtv) } - default: _, _ = key, value @@ -6283,12 +6191,10 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.AccountId = ptr.String(jtv) } - case "EntityPath": if err := awsRestjson1_deserializeDocumentFaultRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } - case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -6297,7 +6203,6 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Inferred = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -6306,12 +6211,10 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -6320,7 +6223,6 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -6398,7 +6300,6 @@ func awsRestjson1_deserializeDocumentFaultStatistics(v **types.FaultStatistics, } sv.OtherCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -6411,7 +6312,6 @@ func awsRestjson1_deserializeDocumentFaultStatistics(v **types.FaultStatistics, } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -6455,7 +6355,6 @@ func awsRestjson1_deserializeDocumentForecastStatistics(v **types.ForecastStatis } sv.FaultCountHigh = ptr.Int64(i64) } - case "FaultCountLow": if value != nil { jtv, ok := value.(json.Number) @@ -6468,7 +6367,6 @@ func awsRestjson1_deserializeDocumentForecastStatistics(v **types.ForecastStatis } sv.FaultCountLow = ptr.Int64(i64) } - default: _, _ = key, value @@ -6508,7 +6406,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.FilterExpression = ptr.String(jtv) } - case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6517,7 +6414,6 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupARN = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6526,12 +6422,10 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupName = ptr.String(jtv) } - case "InsightsConfiguration": if err := awsRestjson1_deserializeDocumentInsightsConfiguration(&sv.InsightsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6571,7 +6465,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.FilterExpression = ptr.String(jtv) } - case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6580,7 +6473,6 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupARN = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6589,12 +6481,10 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupName = ptr.String(jtv) } - case "InsightsConfiguration": if err := awsRestjson1_deserializeDocumentInsightsConfiguration(&sv.InsightsConfiguration, value); err != nil { return err } - default: _, _ = key, value @@ -6706,7 +6596,6 @@ func awsRestjson1_deserializeDocumentHistogramEntry(v **types.HistogramEntry, va } sv.Count = int32(i64) } - case "Value": if value != nil { switch jtv := value.(type) { @@ -6740,7 +6629,6 @@ func awsRestjson1_deserializeDocumentHistogramEntry(v **types.HistogramEntry, va } } - default: _, _ = key, value @@ -6780,7 +6668,6 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.ClientIp = ptr.String(jtv) } - case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6789,7 +6676,6 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpMethod = ptr.String(jtv) } - case "HttpStatus": if value != nil { jtv, ok := value.(json.Number) @@ -6802,7 +6688,6 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpStatus = ptr.Int32(int32(i64)) } - case "HttpURL": if value != nil { jtv, ok := value.(string) @@ -6811,7 +6696,6 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpURL = ptr.String(jtv) } - case "UserAgent": if value != nil { jtv, ok := value.(string) @@ -6820,7 +6704,6 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.UserAgent = ptr.String(jtv) } - default: _, _ = key, value @@ -6856,12 +6739,10 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentInsightCategoryList(&sv.Categories, value); err != nil { return err } - case "ClientRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -6877,7 +6758,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6886,7 +6766,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupARN = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6895,7 +6774,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupName = ptr.String(jtv) } - case "InsightId": if value != nil { jtv, ok := value.(string) @@ -6904,17 +6782,14 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightId = ptr.String(jtv) } - case "RootCauseServiceId": if err := awsRestjson1_deserializeDocumentServiceId(&sv.RootCauseServiceId, value); err != nil { return err } - case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6930,7 +6805,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } - case "State": if value != nil { jtv, ok := value.(string) @@ -6939,7 +6813,6 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.State = types.InsightState(jtv) } - case "Summary": if value != nil { jtv, ok := value.(string) @@ -6948,12 +6821,10 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Summary = ptr.String(jtv) } - case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } - default: _, _ = key, value @@ -7025,7 +6896,6 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } - case "EventTime": if value != nil { switch jtv := value.(type) { @@ -7041,12 +6911,10 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value } } - case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } - case "Summary": if value != nil { jtv, ok := value.(string) @@ -7055,12 +6923,10 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value } sv.Summary = ptr.String(jtv) } - case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } - default: _, _ = key, value @@ -7138,7 +7004,6 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphEdge(v **types.InsightImp } sv.ReferenceId = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -7212,12 +7077,10 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.AccountId = ptr.String(jtv) } - case "Edges": if err := awsRestjson1_deserializeDocumentInsightImpactGraphEdgeList(&sv.Edges, value); err != nil { return err } - case "Name": if value != nil { jtv, ok := value.(string) @@ -7226,12 +7089,10 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -7244,7 +7105,6 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.ReferenceId = ptr.Int32(int32(i64)) } - case "Type": if value != nil { jtv, ok := value.(string) @@ -7253,7 +7113,6 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -7327,7 +7186,6 @@ func awsRestjson1_deserializeDocumentInsightsConfiguration(v **types.InsightsCon } sv.InsightsEnabled = ptr.Bool(jtv) } - case "NotificationsEnabled": if value != nil { jtv, ok := value.(bool) @@ -7336,7 +7194,6 @@ func awsRestjson1_deserializeDocumentInsightsConfiguration(v **types.InsightsCon } sv.NotificationsEnabled = ptr.Bool(jtv) } - default: _, _ = key, value @@ -7372,12 +7229,10 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va if err := awsRestjson1_deserializeDocumentInsightCategoryList(&sv.Categories, value); err != nil { return err } - case "ClientRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7393,7 +7248,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } - case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -7402,7 +7256,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.GroupARN = ptr.String(jtv) } - case "GroupName": if value != nil { jtv, ok := value.(string) @@ -7411,7 +7264,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.GroupName = ptr.String(jtv) } - case "InsightId": if value != nil { jtv, ok := value.(string) @@ -7420,7 +7272,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.InsightId = ptr.String(jtv) } - case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7436,17 +7287,14 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } - case "RootCauseServiceId": if err := awsRestjson1_deserializeDocumentServiceId(&sv.RootCauseServiceId, value); err != nil { return err } - case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7462,7 +7310,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } - case "State": if value != nil { jtv, ok := value.(string) @@ -7471,7 +7318,6 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.State = types.InsightState(jtv) } - case "Summary": if value != nil { jtv, ok := value.(string) @@ -7480,12 +7326,10 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Summary = ptr.String(jtv) } - case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } - default: _, _ = key, value @@ -7559,7 +7403,6 @@ func awsRestjson1_deserializeDocumentInstanceIdDetail(v **types.InstanceIdDetail } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -7589,15 +7432,9 @@ func awsRestjson1_deserializeDocumentInvalidPolicyRevisionIdException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7605,15 +7442,11 @@ func awsRestjson1_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7638,15 +7471,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7654,15 +7481,11 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7687,15 +7510,9 @@ func awsRestjson1_deserializeDocumentLockoutPreventionException(v **types.Lockou sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7703,15 +7520,11 @@ func awsRestjson1_deserializeDocumentLockoutPreventionException(v **types.Lockou } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7736,15 +7549,9 @@ func awsRestjson1_deserializeDocumentMalformedPolicyDocumentException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7752,15 +7559,11 @@ func awsRestjson1_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7785,15 +7588,9 @@ func awsRestjson1_deserializeDocumentPolicyCountLimitExceededException(v **types sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7801,15 +7598,11 @@ func awsRestjson1_deserializeDocumentPolicyCountLimitExceededException(v **types } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7834,15 +7627,9 @@ func awsRestjson1_deserializeDocumentPolicySizeLimitExceededException(v **types. sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -7850,15 +7637,11 @@ func awsRestjson1_deserializeDocumentPolicySizeLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -7897,7 +7680,6 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.FaultCount = ptr.Int64(i64) } - case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -7910,7 +7692,6 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.OkCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -7923,7 +7704,6 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.TotalCount = ptr.Int64(i64) } - default: _, _ = key, value @@ -7963,7 +7743,6 @@ func awsRestjson1_deserializeDocumentResourceARNDetail(v **types.ResourceARNDeta } sv.ARN = ptr.String(jtv) } - default: _, _ = key, value @@ -7993,15 +7772,9 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8009,7 +7782,6 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -8018,15 +7790,11 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8068,7 +7836,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } } - case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -8077,7 +7844,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } - case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -8086,7 +7852,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyName = ptr.String(jtv) } - case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -8095,7 +7860,6 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyRevisionId = ptr.String(jtv) } - default: _, _ = key, value @@ -8169,12 +7933,10 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCause(v **types.ResponseTim } sv.ClientImpacting = ptr.Bool(jtv) } - case "Services": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauseServices(&sv.Services, value); err != nil { return err } - default: _, _ = key, value @@ -8239,7 +8001,6 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8248,7 +8009,6 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } sv.Name = ptr.String(jtv) } - case "Remote": if value != nil { jtv, ok := value.(bool) @@ -8257,7 +8017,6 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } sv.Remote = ptr.Bool(jtv) } - default: _, _ = key, value @@ -8365,12 +8124,10 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.AccountId = ptr.String(jtv) } - case "EntityPath": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } - case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -8379,7 +8136,6 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Inferred = ptr.Bool(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8388,12 +8144,10 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -8402,7 +8156,6 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -8476,7 +8229,6 @@ func awsRestjson1_deserializeDocumentRootCauseException(v **types.RootCauseExcep } sv.Message = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -8485,7 +8237,6 @@ func awsRestjson1_deserializeDocumentRootCauseException(v **types.RootCauseExcep } sv.Name = ptr.String(jtv) } - default: _, _ = key, value @@ -8549,15 +8300,9 @@ func awsRestjson1_deserializeDocumentRuleLimitExceededException(v **types.RuleLi sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -8565,15 +8310,11 @@ func awsRestjson1_deserializeDocumentRuleLimitExceededException(v **types.RuleLi } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -8604,7 +8345,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value if err := awsRestjson1_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } - case "FixedRate": if value != nil { switch jtv := value.(type) { @@ -8638,7 +8378,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } } - case "Host": if value != nil { jtv, ok := value.(string) @@ -8647,7 +8386,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Host = ptr.String(jtv) } - case "HTTPMethod": if value != nil { jtv, ok := value.(string) @@ -8656,7 +8394,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.HTTPMethod = ptr.String(jtv) } - case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -8669,7 +8406,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Priority = ptr.Int32(int32(i64)) } - case "ReservoirSize": if value != nil { jtv, ok := value.(json.Number) @@ -8682,7 +8418,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ReservoirSize = int32(i64) } - case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8691,7 +8426,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ResourceARN = ptr.String(jtv) } - case "RuleARN": if value != nil { jtv, ok := value.(string) @@ -8700,7 +8434,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.RuleARN = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -8709,7 +8442,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.RuleName = ptr.String(jtv) } - case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -8718,7 +8450,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ServiceName = ptr.String(jtv) } - case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -8727,7 +8458,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ServiceType = ptr.String(jtv) } - case "URLPath": if value != nil { jtv, ok := value.(string) @@ -8736,7 +8466,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.URLPath = ptr.String(jtv) } - case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -8749,7 +8478,6 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Version = ptr.Int32(int32(i64)) } - default: _, _ = key, value @@ -8796,7 +8524,6 @@ func awsRestjson1_deserializeDocumentSamplingRuleRecord(v **types.SamplingRuleRe } } - case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -8812,12 +8539,10 @@ func awsRestjson1_deserializeDocumentSamplingRuleRecord(v **types.SamplingRuleRe } } - case "SamplingRule": if err := awsRestjson1_deserializeDocumentSamplingRule(&sv.SamplingRule, value); err != nil { return err } - default: _, _ = key, value @@ -8895,7 +8620,6 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.BorrowCount = int32(i64) } - case "RequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -8908,7 +8632,6 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.RequestCount = int32(i64) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -8917,7 +8640,6 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.RuleName = ptr.String(jtv) } - case "SampledCount": if value != nil { jtv, ok := value.(json.Number) @@ -8930,7 +8652,6 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.SampledCount = int32(i64) } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -8946,7 +8667,6 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } } - default: _, _ = key, value @@ -9045,7 +8765,6 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } } - case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -9058,7 +8777,6 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.Interval = ptr.Int32(int32(i64)) } - case "ReservoirQuota": if value != nil { jtv, ok := value.(json.Number) @@ -9071,7 +8789,6 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.ReservoirQuota = ptr.Int32(int32(i64)) } - case "ReservoirQuotaTTL": if value != nil { switch jtv := value.(type) { @@ -9087,7 +8804,6 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -9096,7 +8812,6 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -9170,7 +8885,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Document = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9179,7 +8893,6 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Id = ptr.String(jtv) } - default: _, _ = key, value @@ -9253,17 +8966,14 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.AccountId = ptr.String(jtv) } - case "DurationHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.DurationHistogram, value); err != nil { return err } - case "Edges": if err := awsRestjson1_deserializeDocumentEdgeList(&sv.Edges, value); err != nil { return err } - case "EndTime": if value != nil { switch jtv := value.(type) { @@ -9279,7 +8989,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9288,12 +8997,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -9306,12 +9013,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ReferenceId = ptr.Int32(int32(i64)) } - case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } - case "Root": if value != nil { jtv, ok := value.(bool) @@ -9320,7 +9025,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Root = ptr.Bool(jtv) } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9336,7 +9040,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } } - case "State": if value != nil { jtv, ok := value.(string) @@ -9345,12 +9048,10 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.State = ptr.String(jtv) } - case "SummaryStatistics": if err := awsRestjson1_deserializeDocumentServiceStatistics(&sv.SummaryStatistics, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9359,7 +9060,6 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -9399,7 +9099,6 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.AccountId = ptr.String(jtv) } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9408,12 +9107,10 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.Name = ptr.String(jtv) } - case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9422,7 +9119,6 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.Type = ptr.String(jtv) } - default: _, _ = key, value @@ -9562,12 +9258,10 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti if err := awsRestjson1_deserializeDocumentErrorStatistics(&sv.ErrorStatistics, value); err != nil { return err } - case "FaultStatistics": if err := awsRestjson1_deserializeDocumentFaultStatistics(&sv.FaultStatistics, value); err != nil { return err } - case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -9580,7 +9274,6 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } sv.OkCount = ptr.Int64(i64) } - case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -9593,7 +9286,6 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } sv.TotalCount = ptr.Int64(i64) } - case "TotalResponseTime": if value != nil { switch jtv := value.(type) { @@ -9627,7 +9319,6 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } } - default: _, _ = key, value @@ -9667,7 +9358,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } - case "Value": if value != nil { jtv, ok := value.(string) @@ -9676,7 +9366,6 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } - default: _, _ = key, value @@ -9740,15 +9429,9 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9756,15 +9439,11 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9795,22 +9474,18 @@ func awsRestjson1_deserializeDocumentTimeSeriesServiceStatistics(v **types.TimeS if err := awsRestjson1_deserializeDocumentEdgeStatistics(&sv.EdgeSummaryStatistics, value); err != nil { return err } - case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } - case "ServiceForecastStatistics": if err := awsRestjson1_deserializeDocumentForecastStatistics(&sv.ServiceForecastStatistics, value); err != nil { return err } - case "ServiceSummaryStatistics": if err := awsRestjson1_deserializeDocumentServiceStatistics(&sv.ServiceSummaryStatistics, value); err != nil { return err } - case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -9826,7 +9501,6 @@ func awsRestjson1_deserializeDocumentTimeSeriesServiceStatistics(v **types.TimeS } } - default: _, _ = key, value @@ -9890,15 +9564,9 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE sv = *v } - var errorMessage string for key, value := range shape { - keyLower := strings.ToLower(key) - if keyLower == "message" { - errorMessage = value.(string) - continue - } switch key { - case "Message": + case "message", "Message": if value != nil { jtv, ok := value.(string) if !ok { @@ -9906,7 +9574,6 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } - case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -9915,15 +9582,11 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } - default: _, _ = key, value } } - if errorMessage != "" { - sv.Message = &errorMessage - } *v = sv return nil } @@ -9983,7 +9646,6 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } } - case "Id": if value != nil { jtv, ok := value.(string) @@ -9992,7 +9654,6 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } sv.Id = ptr.String(jtv) } - case "LimitExceeded": if value != nil { jtv, ok := value.(bool) @@ -10001,12 +9662,10 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } sv.LimitExceeded = ptr.Bool(jtv) } - case "Segments": if err := awsRestjson1_deserializeDocumentSegmentList(&sv.Segments, value); err != nil { return err } - default: _, _ = key, value @@ -10178,12 +9837,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value if err := awsRestjson1_deserializeDocumentAnnotations(&sv.Annotations, value); err != nil { return err } - case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentTraceAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } - case "Duration": if value != nil { switch jtv := value.(type) { @@ -10217,22 +9874,18 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } - case "EntryPoint": if err := awsRestjson1_deserializeDocumentServiceId(&sv.EntryPoint, value); err != nil { return err } - case "ErrorRootCauses": if err := awsRestjson1_deserializeDocumentErrorRootCauses(&sv.ErrorRootCauses, value); err != nil { return err } - case "FaultRootCauses": if err := awsRestjson1_deserializeDocumentFaultRootCauses(&sv.FaultRootCauses, value); err != nil { return err } - case "HasError": if value != nil { jtv, ok := value.(bool) @@ -10241,7 +9894,6 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasError = ptr.Bool(jtv) } - case "HasFault": if value != nil { jtv, ok := value.(bool) @@ -10250,7 +9902,6 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasFault = ptr.Bool(jtv) } - case "HasThrottle": if value != nil { jtv, ok := value.(bool) @@ -10259,12 +9910,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasThrottle = ptr.Bool(jtv) } - case "Http": if err := awsRestjson1_deserializeDocumentHttp(&sv.Http, value); err != nil { return err } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10273,12 +9922,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.Id = ptr.String(jtv) } - case "InstanceIds": if err := awsRestjson1_deserializeDocumentTraceInstanceIds(&sv.InstanceIds, value); err != nil { return err } - case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -10287,7 +9934,6 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.IsPartial = ptr.Bool(jtv) } - case "MatchedEventTime": if value != nil { switch jtv := value.(type) { @@ -10303,12 +9949,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } - case "ResourceARNs": if err := awsRestjson1_deserializeDocumentTraceResourceARNs(&sv.ResourceARNs, value); err != nil { return err } - case "ResponseTime": if value != nil { switch jtv := value.(type) { @@ -10342,12 +9986,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } - case "ResponseTimeRootCauses": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauses(&sv.ResponseTimeRootCauses, value); err != nil { return err } - case "Revision": if value != nil { jtv, ok := value.(json.Number) @@ -10360,12 +10002,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.Revision = int32(i64) } - case "ServiceIds": if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } - case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10381,12 +10021,10 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } - case "Users": if err := awsRestjson1_deserializeDocumentTraceUsers(&sv.Users, value); err != nil { return err } - default: _, _ = key, value @@ -10456,7 +10094,6 @@ func awsRestjson1_deserializeDocumentTraceUser(v **types.TraceUser, value interf if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } - case "UserName": if value != nil { jtv, ok := value.(string) @@ -10465,7 +10102,6 @@ func awsRestjson1_deserializeDocumentTraceUser(v **types.TraceUser, value interf } sv.UserName = ptr.String(jtv) } - default: _, _ = key, value @@ -10539,7 +10175,6 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.ErrorCode = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -10548,7 +10183,6 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.Message = ptr.String(jtv) } - case "RuleName": if value != nil { jtv, ok := value.(string) @@ -10557,7 +10191,6 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.RuleName = ptr.String(jtv) } - default: _, _ = key, value @@ -10667,7 +10300,6 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.ErrorCode = ptr.String(jtv) } - case "Id": if value != nil { jtv, ok := value.(string) @@ -10676,7 +10308,6 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.Id = ptr.String(jtv) } - case "Message": if value != nil { jtv, ok := value.(string) @@ -10685,7 +10316,6 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.Message = ptr.String(jtv) } - default: _, _ = key, value @@ -10789,12 +10419,10 @@ func awsRestjson1_deserializeDocumentValueWithServiceIds(v **types.ValueWithServ if err := awsRestjson1_deserializeDocumentAnnotationValue(&sv.AnnotationValue, value); err != nil { return err } - case "ServiceIds": if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } - default: _, _ = key, value From a39caf38c103f9f8c5e66e1998c4d04071d30bb8 Mon Sep 17 00:00:00 2001 From: Ran Vaknin Date: Wed, 6 Nov 2024 10:10:36 -0800 Subject: [PATCH 5/5] adding new line and inline comments --- .../aws/go/codegen/JsonShapeDeserVisitor.java | 6 +- .../protocoltest/awsrestjson/deserializers.go | 119 + .../protocoltest/jsonrpc/deserializers.go | 89 + .../protocoltest/jsonrpc10/deserializers.go | 70 + service/accessanalyzer/deserializers.go | 281 ++ service/account/deserializers.go | 38 + service/acm/deserializers.go | 92 + service/acmpca/deserializers.go | 122 + service/amp/deserializers.go | 135 + service/amplify/deserializers.go | 184 + service/amplifybackend/deserializers.go | 237 ++ service/amplifyuibuilder/deserializers.go | 292 ++ service/apigateway/deserializers.go | 792 ++++ .../apigatewaymanagementapi/deserializers.go | 6 + service/apigatewayv2/deserializers.go | 551 +++ service/appconfig/deserializers.go | 301 ++ service/appconfigdata/deserializers.go | 10 + service/appfabric/deserializers.go | 113 + service/appflow/deserializers.go | 485 +++ service/appintegrations/deserializers.go | 116 + .../applicationautoscaling/deserializers.go | 113 + .../applicationcostprofiler/deserializers.go | 27 + .../deserializers.go | 156 + service/applicationinsights/deserializers.go | 160 + service/applicationsignals/deserializers.go | 129 + service/appmesh/deserializers.go | 387 ++ service/apprunner/deserializers.go | 212 ++ service/appstream/deserializers.go | 327 ++ service/appsync/deserializers.go | 322 ++ service/apptest/deserializers.go | 290 ++ service/arczonalshift/deserializers.go | 95 + service/artifact/deserializers.go | 67 + service/athena/deserializers.go | 322 ++ service/auditmanager/deserializers.go | 383 ++ service/autoscalingplans/deserializers.go | 74 + service/b2bi/deserializers.go | 229 ++ service/backup/deserializers.go | 616 +++ service/backupgateway/deserializers.go | 102 + service/batch/deserializers.go | 451 +++ service/bcmdataexports/deserializers.go | 82 + service/bedrock/deserializers.go | 376 ++ service/bedrockagent/deserializers.go | 603 +++ service/bedrockagentruntime/deserializers.go | 190 + service/bedrockruntime/deserializers.go | 115 + service/billingconductor/deserializers.go | 203 + service/braket/deserializers.go | 121 + service/budgets/deserializers.go | 129 + service/chatbot/deserializers.go | 118 + service/chime/deserializers.go | 558 +++ service/chimesdkidentity/deserializers.go | 121 + .../chimesdkmediapipelines/deserializers.go | 302 ++ service/chimesdkmeetings/deserializers.go | 89 + service/chimesdkmessaging/deserializers.go | 214 ++ service/chimesdkvoice/deserializers.go | 303 ++ service/cleanrooms/deserializers.go | 607 +++ service/cleanroomsml/deserializers.go | 144 + service/cloud9/deserializers.go | 54 + service/cloudcontrol/deserializers.go | 45 + service/clouddirectory/deserializers.go | 238 ++ .../cloudfrontkeyvaluestore/deserializers.go | 27 + service/cloudhsm/deserializers.go | 65 + service/cloudhsmv2/deserializers.go | 79 + service/cloudsearchdomain/deserializers.go | 43 + service/cloudtrail/deserializers.go | 393 ++ service/cloudtraildata/deserializers.go | 13 + service/cloudwatchevents/deserializers.go | 319 ++ service/cloudwatchlogs/deserializers.go | 298 ++ service/codeartifact/deserializers.go | 217 ++ service/codebuild/deserializers.go | 408 ++ service/codecatalyst/deserializers.go | 243 ++ service/codecommit/deserializers.go | 556 +++ service/codeconnections/deserializers.go | 130 + service/codedeploy/deserializers.go | 396 ++ service/codeguruprofiler/deserializers.go | 100 + service/codegurureviewer/deserializers.go | 126 + service/codegurusecurity/deserializers.go | 119 + service/codepipeline/deserializers.go | 461 +++ service/codestarconnections/deserializers.go | 129 + .../codestarnotifications/deserializers.go | 40 + service/cognitoidentity/deserializers.go | 97 + .../cognitoidentityprovider/deserializers.go | 439 +++ service/cognitosync/deserializers.go | 75 + service/comprehend/deserializers.go | 571 +++ service/comprehendmedical/deserializers.go | 174 + service/computeoptimizer/deserializers.go | 407 ++ service/configservice/deserializers.go | 568 +++ service/connect/deserializers.go | 1270 ++++++ service/connectcampaigns/deserializers.go | 74 + service/connectcases/deserializers.go | 155 + service/connectcontactlens/deserializers.go | 29 + service/connectparticipant/deserializers.go | 59 + service/controlcatalog/deserializers.go | 45 + service/controltower/deserializers.go | 121 + .../deserializers.go | 26 + service/costexplorer/deserializers.go | 523 +++ service/costoptimizationhub/deserializers.go | 241 ++ service/customerprofiles/deserializers.go | 386 ++ .../databasemigrationservice/deserializers.go | 1001 +++++ service/databrew/deserializers.go | 363 ++ service/dataexchange/deserializers.go | 414 ++ service/datapipeline/deserializers.go | 58 + service/datasync/deserializers.go | 367 ++ service/datazone/deserializers.go | 1474 +++++++ service/dax/deserializers.go | 115 + service/deadline/deserializers.go | 709 ++++ service/detective/deserializers.go | 129 + service/devicefarm/deserializers.go | 384 ++ service/devopsguru/deserializers.go | 348 ++ service/directconnect/deserializers.go | 632 +++ service/directoryservice/deserializers.go | 315 ++ service/directoryservicedata/deserializers.go | 89 + service/dlm/deserializers.go | 123 + service/docdbelastic/deserializers.go | 83 + service/drs/deserializers.go | 449 +++ service/dynamodb/deserializers.go | 453 +++ service/dynamodbstreams/deserializers.go | 46 + service/ebs/deserializers.go | 42 + service/ec2instanceconnect/deserializers.go | 16 + service/ecr/deserializers.go | 351 ++ service/ecrpublic/deserializers.go | 128 + service/ecs/deserializers.go | 667 ++++ service/efs/deserializers.go | 226 ++ service/eks/deserializers.go | 379 ++ service/eksauth/deserializers.go | 24 + service/elasticinference/deserializers.go | 23 + service/elasticsearchservice/deserializers.go | 377 ++ service/elastictranscoder/deserializers.go | 207 + service/emr/deserializers.go | 495 +++ service/emrcontainers/deserializers.go | 166 + service/emrserverless/deserializers.go | 168 + service/entityresolution/deserializers.go | 288 ++ service/eventbridge/deserializers.go | 389 ++ service/evidently/deserializers.go | 223 ++ service/finspace/deserializers.go | 457 +++ service/finspacedata/deserializers.go | 189 + service/firehose/deserializers.go | 284 ++ service/fis/deserializers.go | 175 + service/fms/deserializers.go | 475 +++ service/forecast/deserializers.go | 449 +++ service/forecastquery/deserializers.go | 10 + service/frauddetector/deserializers.go | 370 ++ service/freetier/deserializers.go | 15 + service/fsx/deserializers.go | 460 +++ service/gamelift/deserializers.go | 539 +++ service/geomaps/deserializers.go | 8 + service/geoplaces/deserializers.go | 257 ++ service/georoutes/deserializers.go | 409 ++ service/glacier/deserializers.go | 157 + service/globalaccelerator/deserializers.go | 175 + service/glue/deserializers.go | 2004 ++++++++++ service/grafana/deserializers.go | 150 + service/greengrass/deserializers.go | 417 ++ service/greengrassv2/deserializers.go | 195 + service/groundstation/deserializers.go | 225 ++ service/guardduty/deserializers.go | 731 ++++ service/health/deserializers.go | 89 + service/healthlake/deserializers.go | 83 + service/identitystore/deserializers.go | 115 + service/imagebuilder/deserializers.go | 725 ++++ service/inspector/deserializers.go | 213 ++ service/inspector2/deserializers.go | 583 +++ service/inspectorscan/deserializers.go | 12 + service/internetmonitor/deserializers.go | 133 + service/iot/deserializers.go | 1340 +++++++ .../iot1clickdevicesservice/deserializers.go | 41 + service/iot1clickprojects/deserializers.go | 43 + service/iotanalytics/deserializers.go | 259 ++ service/iotdataplane/deserializers.go | 24 + service/iotdeviceadvisor/deserializers.go | 93 + service/iotevents/deserializers.go | 239 ++ service/ioteventsdata/deserializers.go | 87 + service/iotfleethub/deserializers.go | 30 + service/iotfleetwise/deserializers.go | 373 ++ service/iotjobsdataplane/deserializers.go | 34 + service/iotsecuretunneling/deserializers.go | 37 + service/iotsitewise/deserializers.go | 594 +++ service/iotthingsgraph/deserializers.go | 114 + service/iottwinmaker/deserializers.go | 332 ++ service/iotwireless/deserializers.go | 500 +++ service/ivs/deserializers.go | 166 + service/ivschat/deserializers.go | 107 + service/ivsrealtime/deserializers.go | 198 + service/kafka/deserializers.go | 420 ++ service/kafkaconnect/deserializers.go | 147 + service/kendra/deserializers.go | 741 ++++ service/kendraranking/deserializers.go | 34 + service/keyspaces/deserializers.go | 103 + service/kinesis/deserializers.go | 123 + service/kinesisanalytics/deserializers.go | 94 + service/kinesisanalyticsv2/deserializers.go | 251 ++ service/kinesisvideo/deserializers.go | 120 + .../deserializers.go | 23 + service/kinesisvideomedia/deserializers.go | 6 + .../kinesisvideosignaling/deserializers.go | 12 + .../deserializers.go | 4 + service/kms/deserializers.go | 220 ++ service/lakeformation/deserializers.go | 209 + service/lambda/deserializers.go | 714 ++++ service/launchwizard/deserializers.go | 73 + .../lexmodelbuildingservice/deserializers.go | 353 ++ service/lexmodelsv2/deserializers.go | 1271 +++++++ service/lexruntimeservice/deserializers.go | 70 + service/lexruntimev2/deserializers.go | 94 + service/licensemanager/deserializers.go | 297 ++ .../deserializers.go | 56 + .../deserializers.go | 51 + service/lightsail/deserializers.go | 913 +++++ service/location/deserializers.go | 345 ++ service/lookoutequipment/deserializers.go | 375 ++ service/lookoutmetrics/deserializers.go | 251 ++ service/lookoutvision/deserializers.go | 141 + service/m2/deserializers.go | 249 ++ service/machinelearning/deserializers.go | 211 + service/macie2/deserializers.go | 602 +++ service/mailmanager/deserializers.go | 241 ++ service/managedblockchain/deserializers.go | 169 + .../managedblockchainquery/deserializers.go | 112 + service/marketplaceagreement/deserializers.go | 102 + service/marketplacecatalog/deserializers.go | 103 + .../deserializers.go | 3 + .../marketplacedeployment/deserializers.go | 14 + .../deserializers.go | 14 + service/marketplacemetering/deserializers.go | 37 + service/marketplacereporting/deserializers.go | 7 + service/mediaconnect/deserializers.go | 351 ++ service/mediaconvert/deserializers.go | 1258 ++++++ service/medialive/deserializers.go | 1926 ++++++++++ service/mediapackage/deserializers.go | 246 ++ service/mediapackagev2/deserializers.go | 278 ++ service/mediapackagevod/deserializers.go | 159 + service/mediastore/deserializers.go | 32 + service/mediastoredata/deserializers.go | 15 + service/mediatailor/deserializers.go | 384 ++ service/medicalimaging/deserializers.go | 131 + service/memorydb/deserializers.go | 259 ++ service/mgn/deserializers.go | 741 ++++ service/migrationhub/deserializers.go | 48 + service/migrationhubconfig/deserializers.go | 17 + .../migrationhuborchestrator/deserializers.go | 255 ++ .../deserializers.go | 277 ++ service/migrationhubstrategy/deserializers.go | 224 ++ service/mq/deserializers.go | 192 + service/mturk/deserializers.go | 150 + service/mwaa/deserializers.go | 72 + service/neptunedata/deserializers.go | 290 ++ service/neptunegraph/deserializers.go | 250 ++ service/networkfirewall/deserializers.go | 275 ++ service/networkmanager/deserializers.go | 463 +++ service/networkmonitor/deserializers.go | 85 + service/oam/deserializers.go | 74 + service/omics/deserializers.go | 633 +++ service/opensearch/deserializers.go | 584 +++ service/opensearchserverless/deserializers.go | 212 ++ service/opsworks/deserializers.go | 360 ++ service/opsworkscm/deserializers.go | 86 + service/organizations/deserializers.go | 189 + service/osis/deserializers.go | 92 + service/outposts/deserializers.go | 175 + service/panorama/deserializers.go | 298 ++ service/paymentcryptography/deserializers.go | 78 + .../paymentcryptographydata/deserializers.go | 58 + service/pcaconnectorad/deserializers.go | 241 ++ service/pcaconnectorscep/deserializers.go | 64 + service/pcs/deserializers.go | 121 + service/personalize/deserializers.go | 476 +++ service/personalizeevents/deserializers.go | 3 + service/personalizeruntime/deserializers.go | 15 + service/pi/deserializers.go | 82 + service/pinpoint/deserializers.go | 930 +++++ service/pinpointemail/deserializers.go | 151 + service/pinpointsmsvoice/deserializers.go | 21 + service/pinpointsmsvoicev2/deserializers.go | 568 +++ service/pipes/deserializers.go | 279 ++ service/polly/deserializers.go | 63 + service/pricing/deserializers.go | 26 + service/privatenetworks/deserializers.go | 139 + service/proton/deserializers.go | 487 +++ service/qapps/deserializers.go | 204 + service/qbusiness/deserializers.go | 366 ++ service/qconnect/deserializers.go | 462 +++ service/qldb/deserializers.go | 93 + service/qldbsession/deserializers.go | 38 + service/quicksight/deserializers.go | 3277 ++++++++++++++++ service/ram/deserializers.go | 180 + service/rbin/deserializers.go | 74 + service/rdsdata/deserializers.go | 46 + service/redshiftdata/deserializers.go | 113 + service/redshiftserverless/deserializers.go | 236 ++ service/rekognition/deserializers.go | 644 ++++ service/repostspace/deserializers.go | 71 + service/resiliencehub/deserializers.go | 436 +++ service/resourceexplorer2/deserializers.go | 90 + service/resourcegroups/deserializers.go | 115 + .../resourcegroupstaggingapi/deserializers.go | 37 + service/robomaker/deserializers.go | 516 +++ service/rolesanywhere/deserializers.go | 103 + service/route53domains/deserializers.go | 130 + service/route53profiles/deserializers.go | 65 + .../route53recoverycluster/deserializers.go | 33 + .../deserializers.go | 74 + .../route53recoveryreadiness/deserializers.go | 137 + service/route53resolver/deserializers.go | 269 ++ service/rum/deserializers.go | 81 + service/s3outposts/deserializers.go | 34 + service/sagemaker/deserializers.go | 3387 +++++++++++++++++ service/sagemakera2iruntime/deserializers.go | 23 + service/sagemakeredge/deserializers.go | 14 + .../deserializers.go | 24 + service/sagemakergeospatial/deserializers.go | 210 + service/sagemakermetrics/deserializers.go | 8 + service/sagemakerruntime/deserializers.go | 13 + service/savingsplans/deserializers.go | 74 + service/scheduler/deserializers.go | 96 + service/schemas/deserializers.go | 136 + service/secretsmanager/deserializers.go | 129 + service/securityhub/deserializers.go | 3285 ++++++++++++++++ service/securitylake/deserializers.go | 105 + .../deserializers.go | 126 + service/servicecatalog/deserializers.go | 382 ++ .../deserializers.go | 117 + service/servicediscovery/deserializers.go | 125 + service/servicequotas/deserializers.go | 90 + service/sesv2/deserializers.go | 380 ++ service/sfn/deserializers.go | 378 ++ service/shield/deserializers.go | 121 + service/signer/deserializers.go | 151 + service/simspaceweaver/deserializers.go | 67 + service/sms/deserializers.go | 184 + service/snowball/deserializers.go | 187 + service/snowdevicemanagement/deserializers.go | 102 + service/socialmessaging/deserializers.go | 61 + service/sqs/deserializers.go | 82 + service/ssm/deserializers.go | 1350 +++++++ service/ssmcontacts/deserializers.go | 177 + service/ssmincidents/deserializers.go | 148 + service/ssmquicksetup/deserializers.go | 45 + service/ssmsap/deserializers.go | 133 + service/sso/deserializers.go | 18 + service/ssoadmin/deserializers.go | 194 + service/ssooidc/deserializers.go | 54 + service/storagegateway/deserializers.go | 406 ++ service/supplychain/deserializers.go | 92 + service/support/deserializers.go | 103 + service/supportapp/deserializers.go | 33 + service/swf/deserializers.go | 390 ++ service/synthetics/deserializers.go | 95 + service/taxsettings/deserializers.go | 123 + service/textract/deserializers.go | 240 ++ service/timestreaminfluxdb/deserializers.go | 153 + service/timestreamquery/deserializers.go | 149 + service/timestreamwrite/deserializers.go | 128 + service/tnb/deserializers.go | 227 ++ service/transcribe/deserializers.go | 311 ++ service/transcribestreaming/deserializers.go | 87 + service/transfer/deserializers.go | 352 ++ service/translate/deserializers.go | 135 + service/trustedadvisor/deserializers.go | 135 + service/verifiedpermissions/deserializers.go | 215 ++ service/voiceid/deserializers.go | 183 + service/vpclattice/deserializers.go | 365 ++ service/waf/deserializers.go | 248 ++ service/wafregional/deserializers.go | 251 ++ service/wafv2/deserializers.go | 468 +++ service/wellarchitected/deserializers.go | 517 +++ service/wisdom/deserializers.go | 262 ++ service/workdocs/deserializers.go | 187 + service/workmail/deserializers.go | 313 ++ service/workmailmessageflow/deserializers.go | 4 + service/workspaces/deserializers.go | 411 ++ service/workspacesthinclient/deserializers.go | 129 + service/workspacesweb/deserializers.go | 220 ++ service/xray/deserializers.go | 282 ++ 372 files changed, 100541 insertions(+), 2 deletions(-) diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java index 2b11cad256f..da4cb37ee81 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/JsonShapeDeserVisitor.java @@ -193,15 +193,18 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh String memberName = symbolProvider.toMemberName(member); String serializedMemberName = getSerializedMemberName(member); + // The 'message' field in JSON protocol errors is known to not always match its over-the-wire casing with what is modeled. + // See https://github.com/aws/aws-sdk-go-v2/issues/2859 boolean isErrorStructure = shape.hasTrait(ErrorTrait.class); - if(isErrorStructure && memberName.equals("Message")){ + if(isErrorStructure && memberName.equalsIgnoreCase("Message")){ writer.write("case \"message\", \"Message\":"); } else { writer.write("case $S:",serializedMemberName); } String dest = "sv." + memberName; context.getModel().expectShape(member.getTarget()).accept(getMemberDeserVisitor(member, dest)); + writer.write(""); } writer.openBlock("default:", "", () -> { @@ -210,7 +213,6 @@ protected void deserializeStructure(GenerationContext context, StructureShape sh }); }); - writer.write("*v = sv"); writer.write("return nil"); } diff --git a/internal/protocoltest/awsrestjson/deserializers.go b/internal/protocoltest/awsrestjson/deserializers.go index 309f1be5bb0..f8a68cca16f 100644 --- a/internal/protocoltest/awsrestjson/deserializers.go +++ b/internal/protocoltest/awsrestjson/deserializers.go @@ -540,6 +540,7 @@ func awsRestjson1_deserializeOpDocumentDatetimeOffsetsOutput(v **DatetimeOffsets } sv.Datetime = ptr.Time(t) } + default: _, _ = key, value @@ -688,6 +689,7 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeOutput(v **DocumentTypeOutput if err := awsRestjson1_deserializeDocumentDocument(&sv.DocumentValue, value); err != nil { return err } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -696,6 +698,7 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeOutput(v **DocumentTypeOutput } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -844,6 +847,7 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeAsMapValueOutput(v **Document if err := awsRestjson1_deserializeDocumentDocumentValuedMap(&sv.DocValuedMap, value); err != nil { return err } + default: _, _ = key, value @@ -992,6 +996,7 @@ func awsRestjson1_deserializeOpDocumentDocumentTypeAsPayloadOutput(v **DocumentT if err := awsRestjson1_deserializeDocumentDocument(&sv.DocumentValue, value); err != nil { return err } + default: _, _ = key, value @@ -1415,6 +1420,7 @@ func awsRestjson1_deserializeOpDocumentFractionalSecondsOutput(v **FractionalSec } sv.Datetime = ptr.Time(t) } + default: _, _ = key, value @@ -1770,6 +1776,7 @@ func awsRestjson1_deserializeOpDocumentHttpChecksumRequiredOutput(v **HttpChecks } sv.Foo = ptr.String(jtv) } + default: _, _ = key, value @@ -2288,6 +2295,7 @@ func awsRestjson1_deserializeOpDocumentHttpPayloadWithStructureOutput(v **HttpPa if err := awsRestjson1_deserializeDocumentNestedPayload(&sv.Nested, value); err != nil { return err } + default: _, _ = key, value @@ -2436,6 +2444,7 @@ func awsRestjson1_deserializeOpDocumentHttpPayloadWithUnionOutput(v **HttpPayloa if err := awsRestjson1_deserializeDocumentUnionPayload(&sv.Nested, value); err != nil { return err } + default: _, _ = key, value @@ -3476,6 +3485,7 @@ func awsRestjson1_deserializeOpDocumentIgnoreQueryParamsInResponseOutput(v **Ign } sv.Baz = ptr.String(jtv) } + default: _, _ = key, value @@ -3949,6 +3959,7 @@ func awsRestjson1_deserializeOpDocumentJsonBlobsOutput(v **JsonBlobsOutput, valu } sv.Data = dv } + default: _, _ = key, value @@ -4101,6 +4112,7 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum1 = types.FooEnum(jtv) } + case "fooEnum2": if value != nil { jtv, ok := value.(string) @@ -4109,6 +4121,7 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum2 = types.FooEnum(jtv) } + case "fooEnum3": if value != nil { jtv, ok := value.(string) @@ -4117,18 +4130,22 @@ func awsRestjson1_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum3 = types.FooEnum(jtv) } + case "fooEnumList": if err := awsRestjson1_deserializeDocumentFooEnumList(&sv.FooEnumList, value); err != nil { return err } + case "fooEnumMap": if err := awsRestjson1_deserializeDocumentFooEnumMap(&sv.FooEnumMap, value); err != nil { return err } + case "fooEnumSet": if err := awsRestjson1_deserializeDocumentFooEnumSet(&sv.FooEnumSet, value); err != nil { return err } + default: _, _ = key, value @@ -4285,6 +4302,7 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum1 = int32(i64) } + case "integerEnum2": if value != nil { jtv, ok := value.(json.Number) @@ -4297,6 +4315,7 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum2 = int32(i64) } + case "integerEnum3": if value != nil { jtv, ok := value.(json.Number) @@ -4309,18 +4328,22 @@ func awsRestjson1_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntegerEnum3 = int32(i64) } + case "integerEnumList": if err := awsRestjson1_deserializeDocumentIntegerEnumList(&sv.IntegerEnumList, value); err != nil { return err } + case "integerEnumMap": if err := awsRestjson1_deserializeDocumentIntegerEnumMap(&sv.IntegerEnumMap, value); err != nil { return err } + case "integerEnumSet": if err := awsRestjson1_deserializeDocumentIntegerEnumSet(&sv.IntegerEnumSet, value); err != nil { return err } + default: _, _ = key, value @@ -4469,38 +4492,47 @@ func awsRestjson1_deserializeOpDocumentJsonListsOutput(v **JsonListsOutput, valu if err := awsRestjson1_deserializeDocumentBooleanList(&sv.BooleanList, value); err != nil { return err } + case "enumList": if err := awsRestjson1_deserializeDocumentFooEnumList(&sv.EnumList, value); err != nil { return err } + case "integerList": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.IntegerList, value); err != nil { return err } + case "intEnumList": if err := awsRestjson1_deserializeDocumentIntegerEnumList(&sv.IntEnumList, value); err != nil { return err } + case "nestedStringList": if err := awsRestjson1_deserializeDocumentNestedStringList(&sv.NestedStringList, value); err != nil { return err } + case "stringList": if err := awsRestjson1_deserializeDocumentStringList(&sv.StringList, value); err != nil { return err } + case "stringSet": if err := awsRestjson1_deserializeDocumentStringSet(&sv.StringSet, value); err != nil { return err } + case "myStructureList": if err := awsRestjson1_deserializeDocumentStructureList(&sv.StructureList, value); err != nil { return err } + case "timestampList": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.TimestampList, value); err != nil { return err } + default: _, _ = key, value @@ -4649,22 +4681,27 @@ func awsRestjson1_deserializeOpDocumentJsonMapsOutput(v **JsonMapsOutput, value if err := awsRestjson1_deserializeDocumentDenseBooleanMap(&sv.DenseBooleanMap, value); err != nil { return err } + case "denseNumberMap": if err := awsRestjson1_deserializeDocumentDenseNumberMap(&sv.DenseNumberMap, value); err != nil { return err } + case "denseSetMap": if err := awsRestjson1_deserializeDocumentDenseSetMap(&sv.DenseSetMap, value); err != nil { return err } + case "denseStringMap": if err := awsRestjson1_deserializeDocumentDenseStringMap(&sv.DenseStringMap, value); err != nil { return err } + case "denseStructMap": if err := awsRestjson1_deserializeDocumentDenseStructMap(&sv.DenseStructMap, value); err != nil { return err } + default: _, _ = key, value @@ -4821,6 +4858,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.DateTime = ptr.Time(t) } + case "dateTimeOnTarget": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4871,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.DateTimeOnTarget = ptr.Time(t) } + case "epochSeconds": if value != nil { switch jtv := value.(type) { @@ -4848,6 +4887,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } + case "epochSecondsOnTarget": if value != nil { switch jtv := value.(type) { @@ -4863,6 +4903,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } + case "httpDate": if value != nil { jtv, ok := value.(string) @@ -4875,6 +4916,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.HttpDate = ptr.Time(t) } + case "httpDateOnTarget": if value != nil { jtv, ok := value.(string) @@ -4887,6 +4929,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } sv.HttpDateOnTarget = ptr.Time(t) } + case "normal": if value != nil { switch jtv := value.(type) { @@ -4902,6 +4945,7 @@ func awsRestjson1_deserializeOpDocumentJsonTimestampsOutput(v **JsonTimestampsOu } } + default: _, _ = key, value @@ -5050,6 +5094,7 @@ func awsRestjson1_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsRestjson1_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } + default: _, _ = key, value @@ -5202,6 +5247,7 @@ func awsRestjson1_deserializeOpDocumentMalformedAcceptWithBodyOutput(v **Malform } sv.Hi = ptr.String(jtv) } + default: _, _ = key, value @@ -9025,6 +9071,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBlob = dv } + case "defaultBoolean": if value != nil { jtv, ok := value.(bool) @@ -9033,6 +9080,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBoolean = ptr.Bool(jtv) } + case "defaultByte": if value != nil { jtv, ok := value.(json.Number) @@ -9045,22 +9093,27 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultByte = ptr.Int8(int8(i64)) } + case "defaultDocumentBoolean": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentBoolean, value); err != nil { return err } + case "defaultDocumentList": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentList, value); err != nil { return err } + case "defaultDocumentMap": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentMap, value); err != nil { return err } + case "defaultDocumentString": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultDocumentString, value); err != nil { return err } + case "defaultDouble": if value != nil { switch jtv := value.(type) { @@ -9094,6 +9147,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "defaultEnum": if value != nil { jtv, ok := value.(string) @@ -9102,6 +9156,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultEnum = types.TestEnum(jtv) } + case "defaultFloat": if value != nil { switch jtv := value.(type) { @@ -9135,6 +9190,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "defaultInteger": if value != nil { jtv, ok := value.(json.Number) @@ -9147,6 +9203,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultInteger = ptr.Int32(int32(i64)) } + case "defaultIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -9159,10 +9216,12 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultIntEnum = int32(i64) } + case "defaultList": if err := awsRestjson1_deserializeDocumentTestStringList(&sv.DefaultList, value); err != nil { return err } + case "defaultLong": if value != nil { jtv, ok := value.(json.Number) @@ -9175,14 +9234,17 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultLong = ptr.Int64(i64) } + case "defaultMap": if err := awsRestjson1_deserializeDocumentTestStringMap(&sv.DefaultMap, value); err != nil { return err } + case "defaultNullDocument": if err := awsRestjson1_deserializeDocumentDocument(&sv.DefaultNullDocument, value); err != nil { return err } + case "defaultShort": if value != nil { jtv, ok := value.(json.Number) @@ -9195,6 +9257,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultShort = ptr.Int16(int16(i64)) } + case "defaultString": if value != nil { jtv, ok := value.(string) @@ -9203,6 +9266,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultString = ptr.String(jtv) } + case "defaultTimestamp": if value != nil { switch jtv := value.(type) { @@ -9218,6 +9282,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "emptyBlob": if value != nil { jtv, ok := value.(string) @@ -9230,6 +9295,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyBlob = dv } + case "emptyString": if value != nil { jtv, ok := value.(string) @@ -9238,6 +9304,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyString = ptr.String(jtv) } + case "falseBoolean": if value != nil { jtv, ok := value.(bool) @@ -9246,6 +9313,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.FalseBoolean = jtv } + case "zeroByte": if value != nil { jtv, ok := value.(json.Number) @@ -9258,6 +9326,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroByte = int8(i64) } + case "zeroDouble": if value != nil { switch jtv := value.(type) { @@ -9291,6 +9360,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "zeroFloat": if value != nil { switch jtv := value.(type) { @@ -9324,6 +9394,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "zeroInteger": if value != nil { jtv, ok := value.(json.Number) @@ -9336,6 +9407,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroInteger = int32(i64) } + case "zeroLong": if value != nil { jtv, ok := value.(json.Number) @@ -9348,6 +9420,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroLong = i64 } + case "zeroShort": if value != nil { jtv, ok := value.(json.Number) @@ -9360,6 +9433,7 @@ func awsRestjson1_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroShort = int16(i64) } + default: _, _ = key, value @@ -9508,14 +9582,17 @@ func awsRestjson1_deserializeOpDocumentOperationWithNestedStructureOutput(v **Op if err := awsRestjson1_deserializeDocumentDialog(&sv.Dialog, value); err != nil { return err } + case "dialogList": if err := awsRestjson1_deserializeDocumentDialogList(&sv.DialogList, value); err != nil { return err } + case "dialogMap": if err := awsRestjson1_deserializeDocumentDialogMap(&sv.DialogMap, value); err != nil { return err } + default: _, _ = key, value @@ -9664,6 +9741,7 @@ func awsRestjson1_deserializeOpDocumentPostPlayerActionOutput(v **PostPlayerActi if err := awsRestjson1_deserializeDocumentPlayerAction(&sv.Action, value); err != nil { return err } + default: _, _ = key, value @@ -9812,6 +9890,7 @@ func awsRestjson1_deserializeOpDocumentPostUnionWithJsonNameOutput(v **PostUnion if err := awsRestjson1_deserializeDocumentUnionWithJsonName(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -10324,6 +10403,7 @@ func awsRestjson1_deserializeOpDocumentRecursiveShapesOutput(v **RecursiveShapes if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(&sv.Nested, value); err != nil { return err } + default: _, _ = key, value @@ -10682,6 +10762,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.ByteValue = ptr.Int8(int8(i64)) } + case "DoubleDribble": if value != nil { switch jtv := value.(type) { @@ -10715,6 +10796,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + case "falseBooleanValue": if value != nil { jtv, ok := value.(bool) @@ -10723,6 +10805,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.FalseBooleanValue = ptr.Bool(jtv) } + case "floatValue": if value != nil { switch jtv := value.(type) { @@ -10756,6 +10839,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -10768,6 +10852,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.IntegerValue = ptr.Int32(int32(i64)) } + case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -10780,6 +10865,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.LongValue = ptr.Int64(i64) } + case "shortValue": if value != nil { jtv, ok := value.(json.Number) @@ -10792,6 +10878,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.ShortValue = ptr.Int16(int16(i64)) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -10800,6 +10887,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.StringValue = ptr.String(jtv) } + case "trueBooleanValue": if value != nil { jtv, ok := value.(bool) @@ -10808,6 +10896,7 @@ func awsRestjson1_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } sv.TrueBooleanValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10956,10 +11045,12 @@ func awsRestjson1_deserializeOpDocumentSparseJsonListsOutput(v **SparseJsonLists if err := awsRestjson1_deserializeDocumentSparseShortList(&sv.SparseShortList, value); err != nil { return err } + case "sparseStringList": if err := awsRestjson1_deserializeDocumentSparseStringList(&sv.SparseStringList, value); err != nil { return err } + default: _, _ = key, value @@ -11108,22 +11199,27 @@ func awsRestjson1_deserializeOpDocumentSparseJsonMapsOutput(v **SparseJsonMapsOu if err := awsRestjson1_deserializeDocumentSparseBooleanMap(&sv.SparseBooleanMap, value); err != nil { return err } + case "sparseNumberMap": if err := awsRestjson1_deserializeDocumentSparseNumberMap(&sv.SparseNumberMap, value); err != nil { return err } + case "sparseSetMap": if err := awsRestjson1_deserializeDocumentSparseSetMap(&sv.SparseSetMap, value); err != nil { return err } + case "sparseStringMap": if err := awsRestjson1_deserializeDocumentSparseStringMap(&sv.SparseStringMap, value); err != nil { return err } + case "sparseStructMap": if err := awsRestjson1_deserializeDocumentSparseStructMap(&sv.SparseStructMap, value); err != nil { return err } + default: _, _ = key, value @@ -11612,6 +11708,7 @@ func awsRestjson1_deserializeOpDocumentTestBodyStructureOutput(v **TestBodyStruc if err := awsRestjson1_deserializeDocumentTestConfig(&sv.TestConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12112,6 +12209,7 @@ func awsRestjson1_deserializeOpDocumentTestPayloadStructureOutput(v **TestPayloa if err := awsRestjson1_deserializeDocumentPayloadConfig(&sv.PayloadConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12704,10 +12802,12 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value } sv.Header = ptr.String(jtv) } + case "Nested": if err := awsRestjson1_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } + case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -12716,6 +12816,7 @@ func awsRestjson1_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } + default: _, _ = key, value @@ -12755,6 +12856,7 @@ func awsRestjson1_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } + default: _, _ = key, value @@ -12971,6 +13073,7 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) if err := awsRestjson1_deserializeDocumentFarewell(&sv.Farewell, value); err != nil { return err } + case "greeting": if value != nil { jtv, ok := value.(string) @@ -12979,6 +13082,7 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Greeting = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -12987,6 +13091,7 @@ func awsRestjson1_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Language = ptr.String(jtv) } + default: _, _ = key, value @@ -13137,6 +13242,7 @@ func awsRestjson1_deserializeDocumentFarewell(v **types.Farewell, value interfac } sv.Phrase = ptr.String(jtv) } + default: _, _ = key, value @@ -13207,6 +13313,7 @@ func awsRestjson1_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13399,6 +13506,7 @@ func awsRestjson1_deserializeDocumentNestedPayload(v **types.NestedPayload, valu } sv.Greeting = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13407,6 +13515,7 @@ func awsRestjson1_deserializeDocumentNestedPayload(v **types.NestedPayload, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13450,6 +13559,7 @@ func awsRestjson1_deserializeDocumentPayloadConfig(v **types.PayloadConfig, valu } sv.Data = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13529,10 +13639,12 @@ func awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(v **types } sv.Foo = ptr.String(jtv) } + case "nested": if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested2(&sv.Nested, value); err != nil { return err } + default: _, _ = key, value @@ -13572,10 +13684,12 @@ func awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested2(v **types } sv.Bar = ptr.String(jtv) } + case "recursiveMember": if err := awsRestjson1_deserializeDocumentRecursiveShapesInputOutputNested1(&sv.RecursiveMember, value); err != nil { return err } + default: _, _ = key, value @@ -13793,6 +13907,7 @@ func awsRestjson1_deserializeDocumentStructureListMember(v **types.StructureList } sv.A = ptr.String(jtv) } + case "other": if value != nil { jtv, ok := value.(string) @@ -13801,6 +13916,7 @@ func awsRestjson1_deserializeDocumentStructureListMember(v **types.StructureList } sv.B = ptr.String(jtv) } + default: _, _ = key, value @@ -13844,6 +13960,7 @@ func awsRestjson1_deserializeDocumentTestConfig(v **types.TestConfig, value inte } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14063,6 +14180,7 @@ func awsRestjson1_deserializeDocumentRenamedGreeting(v **types.RenamedGreeting, } sv.Salutation = ptr.String(jtv) } + default: _, _ = key, value @@ -14246,6 +14364,7 @@ func awsRestjson1_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } + default: _, _ = key, value diff --git a/internal/protocoltest/jsonrpc/deserializers.go b/internal/protocoltest/jsonrpc/deserializers.go index e5e41195723..0bcadd2c402 100644 --- a/internal/protocoltest/jsonrpc/deserializers.go +++ b/internal/protocoltest/jsonrpc/deserializers.go @@ -2084,6 +2084,7 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value if err := awsAwsjson11_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } + case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -2092,6 +2093,7 @@ func awsAwsjson11_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } + default: _, _ = key, value @@ -2131,6 +2133,7 @@ func awsAwsjson11_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } + default: _, _ = key, value @@ -2209,10 +2212,12 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.Code = ptr.String(jtv) } + case "ComplexData": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.ComplexData, value); err != nil { return err } + case "IntegerField": if value != nil { jtv, ok := value.(json.Number) @@ -2225,14 +2230,17 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.IntegerField = ptr.Int32(int32(i64)) } + case "ListField": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListField, value); err != nil { return err } + case "MapField": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapField, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2241,6 +2249,7 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.Message = ptr.String(jtv) } + case "StringField": if value != nil { jtv, ok := value.(string) @@ -2249,6 +2258,7 @@ func awsAwsjson11_deserializeDocumentErrorWithMembers(v **types.ErrorWithMembers } sv.StringField = ptr.String(jtv) } + default: _, _ = key, value @@ -2350,6 +2360,7 @@ func awsAwsjson11_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2393,6 +2404,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Blob = dv } + case "Boolean": if value != nil { jtv, ok := value.(bool) @@ -2401,6 +2413,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Boolean = ptr.Bool(jtv) } + case "Double": if value != nil { switch jtv := value.(type) { @@ -2434,10 +2447,12 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } + case "EmptyStruct": if err := awsAwsjson11_deserializeDocumentEmptyStruct(&sv.EmptyStruct, value); err != nil { return err } + case "Float": if value != nil { switch jtv := value.(type) { @@ -2471,6 +2486,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } + case "HttpdateTimestamp": if value != nil { jtv, ok := value.(string) @@ -2483,6 +2499,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.HttpdateTimestamp = ptr.Time(t) } + case "Integer": if value != nil { jtv, ok := value.(json.Number) @@ -2495,6 +2512,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Integer = ptr.Int32(int32(i64)) } + case "Iso8601Timestamp": if value != nil { jtv, ok := value.(string) @@ -2507,6 +2525,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Iso8601Timestamp = ptr.Time(t) } + case "JsonValue": if value != nil { jtv, ok := value.(string) @@ -2515,22 +2534,27 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.JsonValue = ptr.String(jtv) } + case "ListOfLists": if err := awsAwsjson11_deserializeDocumentListOfListOfStrings(&sv.ListOfLists, value); err != nil { return err } + case "ListOfMapsOfStrings": if err := awsAwsjson11_deserializeDocumentListOfMapsOfStrings(&sv.ListOfMapsOfStrings, value); err != nil { return err } + case "ListOfStrings": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListOfStrings, value); err != nil { return err } + case "ListOfStructs": if err := awsAwsjson11_deserializeDocumentListOfStructs(&sv.ListOfStructs, value); err != nil { return err } + case "Long": if value != nil { jtv, ok := value.(json.Number) @@ -2543,38 +2567,47 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.Long = ptr.Int64(i64) } + case "MapOfListsOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfListsOfStrings(&sv.MapOfListsOfStrings, value); err != nil { return err } + case "MapOfMaps": if err := awsAwsjson11_deserializeDocumentMapOfMapOfStrings(&sv.MapOfMaps, value); err != nil { return err } + case "MapOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapOfStrings, value); err != nil { return err } + case "MapOfStructs": if err := awsAwsjson11_deserializeDocumentMapOfStructs(&sv.MapOfStructs, value); err != nil { return err } + case "RecursiveList": if err := awsAwsjson11_deserializeDocumentListOfKitchenSinks(&sv.RecursiveList, value); err != nil { return err } + case "RecursiveMap": if err := awsAwsjson11_deserializeDocumentMapOfKitchenSinks(&sv.RecursiveMap, value); err != nil { return err } + case "RecursiveStruct": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.RecursiveStruct, value); err != nil { return err } + case "SimpleStruct": if err := awsAwsjson11_deserializeDocumentSimpleStruct(&sv.SimpleStruct, value); err != nil { return err } + case "String": if value != nil { jtv, ok := value.(string) @@ -2583,10 +2616,12 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } sv.String_ = ptr.String(jtv) } + case "StructWithJsonName": if err := awsAwsjson11_deserializeDocumentStructWithJsonName(&sv.StructWithJsonName, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -2602,6 +2637,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } + case "UnixTimestamp": if value != nil { switch jtv := value.(type) { @@ -2617,6 +2653,7 @@ func awsAwsjson11_deserializeDocumentKitchenSink(v **types.KitchenSink, value in } } + default: _, _ = key, value @@ -3141,6 +3178,7 @@ func awsAwsjson11_deserializeDocumentSimpleStruct(v **types.SimpleStruct, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3180,6 +3218,7 @@ func awsAwsjson11_deserializeDocumentStructWithJsonName(v **types.StructWithJson } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3327,6 +3366,7 @@ func awsAwsjson11_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } + default: _, _ = key, value @@ -3665,6 +3705,7 @@ func awsAwsjson11_deserializeOpDocumentDatetimeOffsetsOutput(v **DatetimeOffsets } sv.Datetime = ptr.Time(t) } + default: _, _ = key, value @@ -3708,6 +3749,7 @@ func awsAwsjson11_deserializeOpDocumentFractionalSecondsOutput(v **FractionalSec } sv.Datetime = ptr.Time(t) } + default: _, _ = key, value @@ -3747,6 +3789,7 @@ func awsAwsjson11_deserializeOpDocumentGreetingWithErrorsOutput(v **GreetingWith } sv.Greeting = ptr.String(jtv) } + default: _, _ = key, value @@ -3786,6 +3829,7 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum1 = types.FooEnum(jtv) } + case "fooEnum2": if value != nil { jtv, ok := value.(string) @@ -3794,6 +3838,7 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum2 = types.FooEnum(jtv) } + case "fooEnum3": if value != nil { jtv, ok := value.(string) @@ -3802,18 +3847,22 @@ func awsAwsjson11_deserializeOpDocumentJsonEnumsOutput(v **JsonEnumsOutput, valu } sv.FooEnum3 = types.FooEnum(jtv) } + case "fooEnumList": if err := awsAwsjson11_deserializeDocumentFooEnumList(&sv.FooEnumList, value); err != nil { return err } + case "fooEnumMap": if err := awsAwsjson11_deserializeDocumentFooEnumMap(&sv.FooEnumMap, value); err != nil { return err } + case "fooEnumSet": if err := awsAwsjson11_deserializeDocumentFooEnumSet(&sv.FooEnumSet, value); err != nil { return err } + default: _, _ = key, value @@ -3857,6 +3906,7 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum1 = int32(i64) } + case "intEnum2": if value != nil { jtv, ok := value.(json.Number) @@ -3869,6 +3919,7 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum2 = int32(i64) } + case "intEnum3": if value != nil { jtv, ok := value.(json.Number) @@ -3881,18 +3932,22 @@ func awsAwsjson11_deserializeOpDocumentJsonIntEnumsOutput(v **JsonIntEnumsOutput } sv.IntEnum3 = int32(i64) } + case "intEnumList": if err := awsAwsjson11_deserializeDocumentIntegerEnumList(&sv.IntEnumList, value); err != nil { return err } + case "intEnumMap": if err := awsAwsjson11_deserializeDocumentIntegerEnumMap(&sv.IntEnumMap, value); err != nil { return err } + case "intEnumSet": if err := awsAwsjson11_deserializeDocumentIntegerEnumSet(&sv.IntEnumSet, value); err != nil { return err } + default: _, _ = key, value @@ -3928,6 +3983,7 @@ func awsAwsjson11_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsAwsjson11_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } + default: _, _ = key, value @@ -3971,6 +4027,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Blob = dv } + case "Boolean": if value != nil { jtv, ok := value.(bool) @@ -3979,6 +4036,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Boolean = ptr.Bool(jtv) } + case "Double": if value != nil { switch jtv := value.(type) { @@ -4012,10 +4070,12 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } + case "EmptyStruct": if err := awsAwsjson11_deserializeDocumentEmptyStruct(&sv.EmptyStruct, value); err != nil { return err } + case "Float": if value != nil { switch jtv := value.(type) { @@ -4049,6 +4109,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } + case "HttpdateTimestamp": if value != nil { jtv, ok := value.(string) @@ -4061,6 +4122,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.HttpdateTimestamp = ptr.Time(t) } + case "Integer": if value != nil { jtv, ok := value.(json.Number) @@ -4073,6 +4135,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Integer = ptr.Int32(int32(i64)) } + case "Iso8601Timestamp": if value != nil { jtv, ok := value.(string) @@ -4085,6 +4148,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Iso8601Timestamp = ptr.Time(t) } + case "JsonValue": if value != nil { jtv, ok := value.(string) @@ -4093,22 +4157,27 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.JsonValue = ptr.String(jtv) } + case "ListOfLists": if err := awsAwsjson11_deserializeDocumentListOfListOfStrings(&sv.ListOfLists, value); err != nil { return err } + case "ListOfMapsOfStrings": if err := awsAwsjson11_deserializeDocumentListOfMapsOfStrings(&sv.ListOfMapsOfStrings, value); err != nil { return err } + case "ListOfStrings": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ListOfStrings, value); err != nil { return err } + case "ListOfStructs": if err := awsAwsjson11_deserializeDocumentListOfStructs(&sv.ListOfStructs, value); err != nil { return err } + case "Long": if value != nil { jtv, ok := value.(json.Number) @@ -4121,38 +4190,47 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.Long = ptr.Int64(i64) } + case "MapOfListsOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfListsOfStrings(&sv.MapOfListsOfStrings, value); err != nil { return err } + case "MapOfMaps": if err := awsAwsjson11_deserializeDocumentMapOfMapOfStrings(&sv.MapOfMaps, value); err != nil { return err } + case "MapOfStrings": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.MapOfStrings, value); err != nil { return err } + case "MapOfStructs": if err := awsAwsjson11_deserializeDocumentMapOfStructs(&sv.MapOfStructs, value); err != nil { return err } + case "RecursiveList": if err := awsAwsjson11_deserializeDocumentListOfKitchenSinks(&sv.RecursiveList, value); err != nil { return err } + case "RecursiveMap": if err := awsAwsjson11_deserializeDocumentMapOfKitchenSinks(&sv.RecursiveMap, value); err != nil { return err } + case "RecursiveStruct": if err := awsAwsjson11_deserializeDocumentKitchenSink(&sv.RecursiveStruct, value); err != nil { return err } + case "SimpleStruct": if err := awsAwsjson11_deserializeDocumentSimpleStruct(&sv.SimpleStruct, value); err != nil { return err } + case "String": if value != nil { jtv, ok := value.(string) @@ -4161,10 +4239,12 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } sv.String_ = ptr.String(jtv) } + case "StructWithJsonName": if err := awsAwsjson11_deserializeDocumentStructWithJsonName(&sv.StructWithJsonName, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -4180,6 +4260,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } + case "UnixTimestamp": if value != nil { switch jtv := value.(type) { @@ -4195,6 +4276,7 @@ func awsAwsjson11_deserializeOpDocumentKitchenSinkOperationOutput(v **KitchenSin } } + default: _, _ = key, value @@ -4234,6 +4316,7 @@ func awsAwsjson11_deserializeOpDocumentNullOperationOutput(v **NullOperationOutp } sv.String_ = ptr.String(jtv) } + default: _, _ = key, value @@ -4273,6 +4356,7 @@ func awsAwsjson11_deserializeOpDocumentOperationWithOptionalInputOutputOutput(v } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4308,6 +4392,7 @@ func awsAwsjson11_deserializeOpDocumentPutAndGetInlineDocumentsOutput(v **PutAnd if err := awsAwsjson11_deserializeDocumentDocument(&sv.InlineDocument, value); err != nil { return err } + default: _, _ = key, value @@ -4372,6 +4457,7 @@ func awsAwsjson11_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + case "floatValue": if value != nil { switch jtv := value.(type) { @@ -4405,6 +4491,7 @@ func awsAwsjson11_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + default: _, _ = key, value @@ -4440,10 +4527,12 @@ func awsAwsjson11_deserializeOpDocumentSparseNullsOperationOutput(v **SparseNull if err := awsAwsjson11_deserializeDocumentSparseStringList(&sv.SparseStringList, value); err != nil { return err } + case "sparseStringMap": if err := awsAwsjson11_deserializeDocumentSparseStringMap(&sv.SparseStringMap, value); err != nil { return err } + default: _, _ = key, value diff --git a/internal/protocoltest/jsonrpc10/deserializers.go b/internal/protocoltest/jsonrpc10/deserializers.go index 075e8624814..c3fc5d4671c 100644 --- a/internal/protocoltest/jsonrpc10/deserializers.go +++ b/internal/protocoltest/jsonrpc10/deserializers.go @@ -1684,6 +1684,7 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value if err := awsAwsjson10_deserializeDocumentComplexNestedErrorData(&sv.Nested, value); err != nil { return err } + case "TopLevel": if value != nil { jtv, ok := value.(string) @@ -1692,6 +1693,7 @@ func awsAwsjson10_deserializeDocumentComplexError(v **types.ComplexError, value } sv.TopLevel = ptr.String(jtv) } + default: _, _ = key, value @@ -1731,6 +1733,7 @@ func awsAwsjson10_deserializeDocumentComplexNestedErrorData(v **types.ComplexNes } sv.Foo = ptr.String(jtv) } + default: _, _ = key, value @@ -1766,6 +1769,7 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) if err := awsAwsjson10_deserializeDocumentFarewell(&sv.Farewell, value); err != nil { return err } + case "greeting": if value != nil { jtv, ok := value.(string) @@ -1774,6 +1778,7 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Greeting = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -1782,6 +1787,7 @@ func awsAwsjson10_deserializeDocumentDialog(v **types.Dialog, value interface{}) } sv.Language = ptr.String(jtv) } + default: _, _ = key, value @@ -1890,6 +1896,7 @@ func awsAwsjson10_deserializeDocumentFarewell(v **types.Farewell, value interfac } sv.Phrase = ptr.String(jtv) } + default: _, _ = key, value @@ -1960,6 +1967,7 @@ func awsAwsjson10_deserializeDocumentInvalidGreeting(v **types.InvalidGreeting, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2302,6 +2310,7 @@ func awsAwsjson10_deserializeDocumentGreetingStruct(v **types.GreetingStruct, va } sv.Hi = ptr.String(jtv) } + default: _, _ = key, value @@ -2483,6 +2492,7 @@ func awsAwsjson10_deserializeOpDocumentGreetingWithErrorsOutput(v **GreetingWith } sv.Greeting = ptr.String(jtv) } + default: _, _ = key, value @@ -2518,6 +2528,7 @@ func awsAwsjson10_deserializeOpDocumentJsonUnionsOutput(v **JsonUnionsOutput, va if err := awsAwsjson10_deserializeDocumentMyUnion(&sv.Contents, value); err != nil { return err } + default: _, _ = key, value @@ -2592,6 +2603,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBlob = dv } + case "defaultBoolean": if value != nil { jtv, ok := value.(bool) @@ -2600,6 +2612,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultBoolean = ptr.Bool(jtv) } + case "defaultByte": if value != nil { jtv, ok := value.(json.Number) @@ -2612,22 +2625,27 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultByte = ptr.Int8(int8(i64)) } + case "defaultDocumentBoolean": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentBoolean, value); err != nil { return err } + case "defaultDocumentList": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentList, value); err != nil { return err } + case "defaultDocumentMap": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentMap, value); err != nil { return err } + case "defaultDocumentString": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultDocumentString, value); err != nil { return err } + case "defaultDouble": if value != nil { switch jtv := value.(type) { @@ -2661,6 +2679,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "defaultEnum": if value != nil { jtv, ok := value.(string) @@ -2669,6 +2688,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultEnum = types.TestEnum(jtv) } + case "defaultFloat": if value != nil { switch jtv := value.(type) { @@ -2702,6 +2722,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "defaultInteger": if value != nil { jtv, ok := value.(json.Number) @@ -2714,6 +2735,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultInteger = ptr.Int32(int32(i64)) } + case "defaultIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -2726,10 +2748,12 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultIntEnum = int32(i64) } + case "defaultList": if err := awsAwsjson10_deserializeDocumentTestStringList(&sv.DefaultList, value); err != nil { return err } + case "defaultLong": if value != nil { jtv, ok := value.(json.Number) @@ -2742,14 +2766,17 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultLong = ptr.Int64(i64) } + case "defaultMap": if err := awsAwsjson10_deserializeDocumentTestStringMap(&sv.DefaultMap, value); err != nil { return err } + case "defaultNullDocument": if err := awsAwsjson10_deserializeDocumentDocument(&sv.DefaultNullDocument, value); err != nil { return err } + case "defaultShort": if value != nil { jtv, ok := value.(json.Number) @@ -2762,6 +2789,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultShort = ptr.Int16(int16(i64)) } + case "defaultString": if value != nil { jtv, ok := value.(string) @@ -2770,6 +2798,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.DefaultString = ptr.String(jtv) } + case "defaultTimestamp": if value != nil { switch jtv := value.(type) { @@ -2785,6 +2814,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "emptyBlob": if value != nil { jtv, ok := value.(string) @@ -2797,6 +2827,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyBlob = dv } + case "emptyString": if value != nil { jtv, ok := value.(string) @@ -2805,6 +2836,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.EmptyString = ptr.String(jtv) } + case "falseBoolean": if value != nil { jtv, ok := value.(bool) @@ -2813,6 +2845,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.FalseBoolean = jtv } + case "zeroByte": if value != nil { jtv, ok := value.(json.Number) @@ -2825,6 +2858,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroByte = int8(i64) } + case "zeroDouble": if value != nil { switch jtv := value.(type) { @@ -2858,6 +2892,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "zeroFloat": if value != nil { switch jtv := value.(type) { @@ -2891,6 +2926,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } } + case "zeroInteger": if value != nil { jtv, ok := value.(json.Number) @@ -2903,6 +2939,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroInteger = int32(i64) } + case "zeroLong": if value != nil { jtv, ok := value.(json.Number) @@ -2915,6 +2952,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroLong = i64 } + case "zeroShort": if value != nil { jtv, ok := value.(json.Number) @@ -2927,6 +2965,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithDefaultsOutput(v **Operation } sv.ZeroShort = int16(i64) } + default: _, _ = key, value @@ -2962,14 +3001,17 @@ func awsAwsjson10_deserializeOpDocumentOperationWithNestedStructureOutput(v **Op if err := awsAwsjson10_deserializeDocumentDialog(&sv.Dialog, value); err != nil { return err } + case "dialogList": if err := awsAwsjson10_deserializeDocumentDialogList(&sv.DialogList, value); err != nil { return err } + case "dialogMap": if err := awsAwsjson10_deserializeDocumentDialogMap(&sv.DialogMap, value); err != nil { return err } + default: _, _ = key, value @@ -3013,6 +3055,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredBlob = dv } + case "requiredBoolean": if value != nil { jtv, ok := value.(bool) @@ -3021,6 +3064,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredBoolean = ptr.Bool(jtv) } + case "requiredByte": if value != nil { jtv, ok := value.(json.Number) @@ -3033,6 +3077,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredByte = ptr.Int8(int8(i64)) } + case "requiredDouble": if value != nil { switch jtv := value.(type) { @@ -3066,6 +3111,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } + case "requiredFloat": if value != nil { switch jtv := value.(type) { @@ -3099,6 +3145,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } + case "requiredInteger": if value != nil { jtv, ok := value.(json.Number) @@ -3111,10 +3158,12 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredInteger = ptr.Int32(int32(i64)) } + case "requiredList": if err := awsAwsjson10_deserializeDocumentRequiredStringList(&sv.RequiredList, value); err != nil { return err } + case "requiredLong": if value != nil { jtv, ok := value.(json.Number) @@ -3127,10 +3176,12 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredLong = ptr.Int64(i64) } + case "requiredMap": if err := awsAwsjson10_deserializeDocumentRequiredStringMap(&sv.RequiredMap, value); err != nil { return err } + case "requiredShort": if value != nil { jtv, ok := value.(json.Number) @@ -3143,6 +3194,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredShort = ptr.Int16(int16(i64)) } + case "requiredString": if value != nil { jtv, ok := value.(string) @@ -3151,6 +3203,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } sv.RequiredString = ptr.String(jtv) } + case "requiredTimestamp": if value != nil { switch jtv := value.(type) { @@ -3166,6 +3219,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersOutput(v **Op } } + default: _, _ = key, value @@ -3209,6 +3263,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredBlob = dv } + case "requiredBoolean": if value != nil { jtv, ok := value.(bool) @@ -3217,6 +3272,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredBoolean = ptr.Bool(jtv) } + case "requiredByte": if value != nil { jtv, ok := value.(json.Number) @@ -3229,6 +3285,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredByte = ptr.Int8(int8(i64)) } + case "requiredDouble": if value != nil { switch jtv := value.(type) { @@ -3262,6 +3319,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } + case "requiredEnum": if value != nil { jtv, ok := value.(string) @@ -3270,6 +3328,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredEnum = types.RequiredEnum(jtv) } + case "requiredFloat": if value != nil { switch jtv := value.(type) { @@ -3303,6 +3362,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } + case "requiredInteger": if value != nil { jtv, ok := value.(json.Number) @@ -3315,6 +3375,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredInteger = ptr.Int32(int32(i64)) } + case "requiredIntEnum": if value != nil { jtv, ok := value.(json.Number) @@ -3327,10 +3388,12 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredIntEnum = int32(i64) } + case "requiredList": if err := awsAwsjson10_deserializeDocumentRequiredStringList(&sv.RequiredList, value); err != nil { return err } + case "requiredLong": if value != nil { jtv, ok := value.(json.Number) @@ -3343,10 +3406,12 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredLong = ptr.Int64(i64) } + case "requiredMap": if err := awsAwsjson10_deserializeDocumentRequiredStringMap(&sv.RequiredMap, value); err != nil { return err } + case "requiredShort": if value != nil { jtv, ok := value.(json.Number) @@ -3359,6 +3424,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredShort = ptr.Int16(int16(i64)) } + case "requiredString": if value != nil { jtv, ok := value.(string) @@ -3367,6 +3433,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } sv.RequiredString = ptr.String(jtv) } + case "requiredTimestamp": if value != nil { switch jtv := value.(type) { @@ -3382,6 +3449,7 @@ func awsAwsjson10_deserializeOpDocumentOperationWithRequiredMembersWithDefaultsO } } + default: _, _ = key, value @@ -3446,6 +3514,7 @@ func awsAwsjson10_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + case "floatValue": if value != nil { switch jtv := value.(type) { @@ -3479,6 +3548,7 @@ func awsAwsjson10_deserializeOpDocumentSimpleScalarPropertiesOutput(v **SimpleSc } } + default: _, _ = key, value diff --git a/service/accessanalyzer/deserializers.go b/service/accessanalyzer/deserializers.go index 0fb3366945e..42413bd019b 100644 --- a/service/accessanalyzer/deserializers.go +++ b/service/accessanalyzer/deserializers.go @@ -395,10 +395,12 @@ func awsRestjson1_deserializeOpDocumentCheckAccessNotGrantedOutput(v **CheckAcce } sv.Message = ptr.String(jtv) } + case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -407,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCheckAccessNotGrantedOutput(v **CheckAcce } sv.Result = types.CheckAccessNotGrantedResult(jtv) } + default: _, _ = key, value @@ -577,10 +580,12 @@ func awsRestjson1_deserializeOpDocumentCheckNoNewAccessOutput(v **CheckNoNewAcce } sv.Message = ptr.String(jtv) } + case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -589,6 +594,7 @@ func awsRestjson1_deserializeOpDocumentCheckNoNewAccessOutput(v **CheckNoNewAcce } sv.Result = types.CheckNoNewAccessResult(jtv) } + default: _, _ = key, value @@ -759,10 +765,12 @@ func awsRestjson1_deserializeOpDocumentCheckNoPublicAccessOutput(v **CheckNoPubl } sv.Message = ptr.String(jtv) } + case "reasons": if err := awsRestjson1_deserializeDocumentReasonSummaryList(&sv.Reasons, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -771,6 +779,7 @@ func awsRestjson1_deserializeOpDocumentCheckNoPublicAccessOutput(v **CheckNoPubl } sv.Result = types.CheckNoPublicAccessResult(jtv) } + default: _, _ = key, value @@ -944,6 +953,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPreviewOutput(v **CreateAcces } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1114,6 +1124,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalyzerOutput(v **CreateAnalyzerOu } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1704,6 +1715,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessPreviewOutput(v **GetAccessPrevi if err := awsRestjson1_deserializeDocumentAccessPreview(&sv.AccessPreview, value); err != nil { return err } + default: _, _ = key, value @@ -1867,6 +1879,7 @@ func awsRestjson1_deserializeOpDocumentGetAnalyzedResourceOutput(v **GetAnalyzed if err := awsRestjson1_deserializeDocumentAnalyzedResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -2030,6 +2043,7 @@ func awsRestjson1_deserializeOpDocumentGetAnalyzerOutput(v **GetAnalyzerOutput, if err := awsRestjson1_deserializeDocumentAnalyzerSummary(&sv.Analyzer, value); err != nil { return err } + default: _, _ = key, value @@ -2193,6 +2207,7 @@ func awsRestjson1_deserializeOpDocumentGetArchiveRuleOutput(v **GetArchiveRuleOu if err := awsRestjson1_deserializeDocumentArchiveRuleSummary(&sv.ArchiveRule, value); err != nil { return err } + default: _, _ = key, value @@ -2356,6 +2371,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingOutput(v **GetFindingOutput, va if err := awsRestjson1_deserializeDocumentFinding(&sv.Finding, value); err != nil { return err } + default: _, _ = key, value @@ -2527,10 +2543,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.CompletedAt = ptr.Time(t) } + case "error": if err := awsRestjson1_deserializeDocumentRecommendationError(&sv.Error, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2539,6 +2557,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.NextToken = ptr.String(jtv) } + case "recommendationType": if value != nil { jtv, ok := value.(string) @@ -2547,10 +2566,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.RecommendationType = types.RecommendationType(jtv) } + case "recommendedSteps": if err := awsRestjson1_deserializeDocumentRecommendedStepList(&sv.RecommendedSteps, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -2559,6 +2580,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.ResourceArn = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -2571,6 +2593,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2579,6 +2602,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingRecommendationOutput(v **GetFin } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -2750,6 +2774,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.AnalyzedAt = ptr.Time(t) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2762,6 +2787,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -2770,10 +2796,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Error = ptr.String(jtv) } + case "findingDetails": if err := awsRestjson1_deserializeDocumentFindingDetailsList(&sv.FindingDetails, value); err != nil { return err } + case "findingType": if value != nil { jtv, ok := value.(string) @@ -2782,6 +2810,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.FindingType = types.FindingType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2790,6 +2819,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Id = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2798,6 +2828,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.NextToken = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -2806,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Resource = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -2814,6 +2846,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2822,6 +2855,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2830,6 +2864,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.Status = types.FindingStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -2842,6 +2877,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingV2Output(v **GetFindingV2Output } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3002,10 +3038,12 @@ func awsRestjson1_deserializeOpDocumentGetGeneratedPolicyOutput(v **GetGenerated if err := awsRestjson1_deserializeDocumentGeneratedPolicyResult(&sv.GeneratedPolicyResult, value); err != nil { return err } + case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3172,6 +3210,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewFindingsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAccessPreviewFindingsList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3180,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewFindingsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3343,6 +3383,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewsOutput(v **ListAccessPr if err := awsRestjson1_deserializeDocumentAccessPreviewsList(&sv.AccessPreviews, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3392,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPreviewsOutput(v **ListAccessPr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3514,6 +3556,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzedResourcesOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalyzedResourcesList(&sv.AnalyzedResources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3522,6 +3565,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzedResourcesOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3682,6 +3726,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzersOutput(v **ListAnalyzersOutp if err := awsRestjson1_deserializeDocumentAnalyzersList(&sv.Analyzers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3690,6 +3735,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzersOutput(v **ListAnalyzersOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3850,6 +3896,7 @@ func awsRestjson1_deserializeOpDocumentListArchiveRulesOutput(v **ListArchiveRul if err := awsRestjson1_deserializeDocumentArchiveRulesList(&sv.ArchiveRules, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3905,7 @@ func awsRestjson1_deserializeOpDocumentListArchiveRulesOutput(v **ListArchiveRul } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4021,6 +4069,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingsList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4029,6 +4078,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4192,6 +4242,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsV2Output(v **ListFindingsV2Ou if err := awsRestjson1_deserializeDocumentFindingsListV2(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4200,6 +4251,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsV2Output(v **ListFindingsV2Ou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4364,10 +4416,12 @@ func awsRestjson1_deserializeOpDocumentListPolicyGenerationsOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } + case "policyGenerations": if err := awsRestjson1_deserializeDocumentPolicyGenerationList(&sv.PolicyGenerations, value); err != nil { return err } + default: _, _ = key, value @@ -4531,6 +4585,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4701,6 +4756,7 @@ func awsRestjson1_deserializeOpDocumentStartPolicyGenerationOutput(v **StartPoli } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -5379,6 +5435,7 @@ func awsRestjson1_deserializeOpDocumentValidatePolicyOutput(v **ValidatePolicyOu if err := awsRestjson1_deserializeDocumentValidatePolicyFindingList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5387,6 +5444,7 @@ func awsRestjson1_deserializeOpDocumentValidatePolicyOutput(v **ValidatePolicyOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5790,6 +5848,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5829,10 +5888,12 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.AnalyzerArn = ptr.String(jtv) } + case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationsMap(&sv.Configurations, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5845,6 +5906,7 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5853,6 +5915,7 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5861,10 +5924,12 @@ func awsRestjson1_deserializeDocumentAccessPreview(v **types.AccessPreview, valu } sv.Status = types.AccessPreviewStatus(jtv) } + case "statusReason": if err := awsRestjson1_deserializeDocumentAccessPreviewStatusReason(&sv.StatusReason, value); err != nil { return err } + default: _, _ = key, value @@ -5900,6 +5965,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } + case "changeType": if value != nil { jtv, ok := value.(string) @@ -5908,10 +5974,12 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ChangeType = types.FindingChangeType(jtv) } + case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5924,6 +5992,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5932,6 +6001,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Error = ptr.String(jtv) } + case "existingFindingId": if value != nil { jtv, ok := value.(string) @@ -5940,6 +6010,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ExistingFindingId = ptr.String(jtv) } + case "existingFindingStatus": if value != nil { jtv, ok := value.(string) @@ -5948,6 +6019,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ExistingFindingStatus = types.FindingStatus(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5956,6 +6028,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Id = ptr.String(jtv) } + case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -5964,10 +6037,12 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.IsPublic = ptr.Bool(jtv) } + case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -5976,6 +6051,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Resource = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -5984,6 +6060,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5992,10 +6069,12 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.ResourceType = types.ResourceType(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6004,6 +6083,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewFinding(v **types.AccessPrevie } sv.Status = types.FindingStatus(jtv) } + default: _, _ = key, value @@ -6111,6 +6191,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewStatusReason(v **types.AccessP } sv.Code = types.AccessPreviewStatusReasonCode(jtv) } + default: _, _ = key, value @@ -6150,6 +6231,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.AnalyzerArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6162,6 +6244,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6170,6 +6253,7 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6178,10 +6262,12 @@ func awsRestjson1_deserializeDocumentAccessPreviewSummary(v **types.AccessPrevie } sv.Status = types.AccessPreviewStatus(jtv) } + case "statusReason": if err := awsRestjson1_deserializeDocumentAccessPreviewStatusReason(&sv.StatusReason, value); err != nil { return err } + default: _, _ = key, value @@ -6307,6 +6393,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -6319,6 +6406,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.AnalyzedAt = ptr.Time(t) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6331,6 +6419,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6339,6 +6428,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.Error = ptr.String(jtv) } + case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -6347,6 +6437,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.IsPublic = ptr.Bool(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6355,6 +6446,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceArn = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -6363,6 +6455,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6371,10 +6464,12 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.ResourceType = types.ResourceType(jtv) } + case "sharedVia": if err := awsRestjson1_deserializeDocumentSharedViaList(&sv.SharedVia, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6383,6 +6478,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.Status = types.FindingStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6395,6 +6491,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResource(v **types.AnalyzedResource } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6468,6 +6565,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceArn = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -6476,6 +6574,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6484,6 +6583,7 @@ func awsRestjson1_deserializeDocumentAnalyzedResourceSummary(v **types.AnalyzedR } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -6597,10 +6697,12 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Arn = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAnalyzerConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6613,6 +6715,7 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.CreatedAt = ptr.Time(t) } + case "lastResourceAnalyzed": if value != nil { jtv, ok := value.(string) @@ -6621,6 +6724,7 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.LastResourceAnalyzed = ptr.String(jtv) } + case "lastResourceAnalyzedAt": if value != nil { jtv, ok := value.(string) @@ -6633,6 +6737,7 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.LastResourceAnalyzedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6641,6 +6746,7 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6649,14 +6755,17 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Status = types.AnalyzerStatus(jtv) } + case "statusReason": if err := awsRestjson1_deserializeDocumentStatusReason(&sv.StatusReason, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6665,6 +6774,7 @@ func awsRestjson1_deserializeDocumentAnalyzerSummary(v **types.AnalyzerSummary, } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -6742,10 +6852,12 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.CreatedAt = ptr.Time(t) } + case "filter": if err := awsRestjson1_deserializeDocumentFilterCriteriaMap(&sv.Filter, value); err != nil { return err } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -6754,6 +6866,7 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.RuleName = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6766,6 +6879,7 @@ func awsRestjson1_deserializeDocumentArchiveRuleSummary(v **types.ArchiveRuleSum } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6809,6 +6923,7 @@ func awsRestjson1_deserializeDocumentCloudTrailProperties(v **types.CloudTrailPr } sv.EndTime = ptr.Time(t) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6821,10 +6936,12 @@ func awsRestjson1_deserializeDocumentCloudTrailProperties(v **types.CloudTrailPr } sv.StartTime = ptr.Time(t) } + case "trailProperties": if err := awsRestjson1_deserializeDocumentTrailPropertiesList(&sv.TrailProperties, value); err != nil { return err } + default: _, _ = key, value @@ -7104,6 +7221,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7112,6 +7230,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7120,6 +7239,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7155,10 +7275,12 @@ func awsRestjson1_deserializeDocumentCriterion(v **types.Criterion, value interf if err := awsRestjson1_deserializeDocumentValueList(&sv.Contains, value); err != nil { return err } + case "eq": if err := awsRestjson1_deserializeDocumentValueList(&sv.Eq, value); err != nil { return err } + case "exists": if value != nil { jtv, ok := value.(bool) @@ -7167,10 +7289,12 @@ func awsRestjson1_deserializeDocumentCriterion(v **types.Criterion, value interf } sv.Exists = ptr.Bool(jtv) } + case "neq": if err := awsRestjson1_deserializeDocumentValueList(&sv.Neq, value); err != nil { return err } + default: _, _ = key, value @@ -7210,6 +7334,7 @@ func awsRestjson1_deserializeDocumentDynamodbStreamConfiguration(v **types.Dynam } sv.StreamPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -7249,6 +7374,7 @@ func awsRestjson1_deserializeDocumentDynamodbTableConfiguration(v **types.Dynamo } sv.TablePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -7320,6 +7446,7 @@ func awsRestjson1_deserializeDocumentEbsSnapshotConfiguration(v **types.EbsSnaps if err := awsRestjson1_deserializeDocumentEbsGroupList(&sv.Groups, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7328,10 +7455,12 @@ func awsRestjson1_deserializeDocumentEbsSnapshotConfiguration(v **types.EbsSnaps } sv.KmsKeyId = ptr.String(jtv) } + case "userIds": if err := awsRestjson1_deserializeDocumentEbsUserIdList(&sv.UserIds, value); err != nil { return err } + default: _, _ = key, value @@ -7407,6 +7536,7 @@ func awsRestjson1_deserializeDocumentEcrRepositoryConfiguration(v **types.EcrRep } sv.RepositoryPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -7446,6 +7576,7 @@ func awsRestjson1_deserializeDocumentEfsFileSystemConfiguration(v **types.EfsFil } sv.FileSystemPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -7481,10 +7612,12 @@ func awsRestjson1_deserializeDocumentExternalAccessDetails(v **types.ExternalAcc if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } + case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } + case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -7493,14 +7626,17 @@ func awsRestjson1_deserializeDocumentExternalAccessDetails(v **types.ExternalAcc } sv.IsPublic = ptr.Bool(jtv) } + case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -7571,6 +7707,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } + case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -7583,10 +7720,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AnalyzedAt = ptr.Time(t) } + case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7599,6 +7738,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -7607,6 +7747,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Error = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7615,6 +7756,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -7623,10 +7765,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.IsPublic = ptr.Bool(jtv) } + case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -7635,6 +7779,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Resource = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -7643,6 +7788,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7651,10 +7797,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ResourceType = types.ResourceType(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7663,6 +7811,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.FindingStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7675,6 +7824,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -7890,6 +8040,7 @@ func awsRestjson1_deserializeDocumentFindingSource(v **types.FindingSource, valu if err := awsRestjson1_deserializeDocumentFindingSourceDetail(&sv.Detail, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7898,6 +8049,7 @@ func awsRestjson1_deserializeDocumentFindingSource(v **types.FindingSource, valu } sv.Type = types.FindingSourceType(jtv) } + default: _, _ = key, value @@ -7937,6 +8089,7 @@ func awsRestjson1_deserializeDocumentFindingSourceDetail(v **types.FindingSource } sv.AccessPointAccount = ptr.String(jtv) } + case "accessPointArn": if value != nil { jtv, ok := value.(string) @@ -7945,6 +8098,7 @@ func awsRestjson1_deserializeDocumentFindingSourceDetail(v **types.FindingSource } sv.AccessPointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8014,6 +8168,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va if err := awsRestjson1_deserializeDocumentActionList(&sv.Action, value); err != nil { return err } + case "analyzedAt": if value != nil { jtv, ok := value.(string) @@ -8026,10 +8181,12 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.AnalyzedAt = ptr.Time(t) } + case "condition": if err := awsRestjson1_deserializeDocumentConditionKeyMap(&sv.Condition, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -8042,6 +8199,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8208,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Error = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8058,6 +8217,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Id = ptr.String(jtv) } + case "isPublic": if value != nil { jtv, ok := value.(bool) @@ -8066,10 +8226,12 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.IsPublic = ptr.Bool(jtv) } + case "principal": if err := awsRestjson1_deserializeDocumentPrincipalMap(&sv.Principal, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -8078,6 +8240,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Resource = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8086,6 +8249,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8094,10 +8258,12 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.ResourceType = types.ResourceType(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentFindingSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8106,6 +8272,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Status = types.FindingStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8118,6 +8285,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8161,6 +8329,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.AnalyzedAt = ptr.Time(t) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -8173,6 +8342,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.CreatedAt = ptr.Time(t) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8181,6 +8351,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Error = ptr.String(jtv) } + case "findingType": if value != nil { jtv, ok := value.(string) @@ -8189,6 +8360,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.FindingType = types.FindingType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8197,6 +8369,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Id = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -8205,6 +8378,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Resource = ptr.String(jtv) } + case "resourceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8213,6 +8387,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.ResourceOwnerAccount = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8221,6 +8396,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8229,6 +8405,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.Status = types.FindingStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8241,6 +8418,7 @@ func awsRestjson1_deserializeDocumentFindingSummaryV2(v **types.FindingSummaryV2 } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8280,6 +8458,7 @@ func awsRestjson1_deserializeDocumentGeneratedPolicy(v **types.GeneratedPolicy, } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -8349,6 +8528,7 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat if err := awsRestjson1_deserializeDocumentCloudTrailProperties(&sv.CloudTrailProperties, value); err != nil { return err } + case "isComplete": if value != nil { jtv, ok := value.(bool) @@ -8357,6 +8537,7 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat } sv.IsComplete = ptr.Bool(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -8365,6 +8546,7 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyProperties(v **types.Generat } sv.PrincipalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8400,10 +8582,12 @@ func awsRestjson1_deserializeDocumentGeneratedPolicyResult(v **types.GeneratedPo if err := awsRestjson1_deserializeDocumentGeneratedPolicyList(&sv.GeneratedPolicies, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentGeneratedPolicyProperties(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -8443,6 +8627,7 @@ func awsRestjson1_deserializeDocumentIamRoleConfiguration(v **types.IamRoleConfi } sv.TrustPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -8482,6 +8667,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8494,6 +8680,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8564,6 +8751,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8607,10 +8795,12 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.CompletedOn = ptr.Time(t) } + case "jobError": if err := awsRestjson1_deserializeDocumentJobError(&sv.JobError, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -8619,6 +8809,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.JobId = ptr.String(jtv) } + case "startedOn": if value != nil { jtv, ok := value.(string) @@ -8631,6 +8822,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.StartedOn = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8639,6 +8831,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -8678,6 +8871,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Code = types.JobErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -8686,6 +8880,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8757,6 +8952,7 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon if err := awsRestjson1_deserializeDocumentKmsGrantConstraints(&sv.Constraints, value); err != nil { return err } + case "granteePrincipal": if value != nil { jtv, ok := value.(string) @@ -8765,6 +8961,7 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.GranteePrincipal = ptr.String(jtv) } + case "issuingAccount": if value != nil { jtv, ok := value.(string) @@ -8773,10 +8970,12 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.IssuingAccount = ptr.String(jtv) } + case "operations": if err := awsRestjson1_deserializeDocumentKmsGrantOperationsList(&sv.Operations, value); err != nil { return err } + case "retiringPrincipal": if value != nil { jtv, ok := value.(string) @@ -8785,6 +8984,7 @@ func awsRestjson1_deserializeDocumentKmsGrantConfiguration(v **types.KmsGrantCon } sv.RetiringPrincipal = ptr.String(jtv) } + default: _, _ = key, value @@ -8854,10 +9054,12 @@ func awsRestjson1_deserializeDocumentKmsGrantConstraints(v **types.KmsGrantConst if err := awsRestjson1_deserializeDocumentKmsConstraintsMap(&sv.EncryptionContextEquals, value); err != nil { return err } + case "encryptionContextSubset": if err := awsRestjson1_deserializeDocumentKmsConstraintsMap(&sv.EncryptionContextSubset, value); err != nil { return err } + default: _, _ = key, value @@ -8929,10 +9131,12 @@ func awsRestjson1_deserializeDocumentKmsKeyConfiguration(v **types.KmsKeyConfigu if err := awsRestjson1_deserializeDocumentKmsGrantConfigurationsList(&sv.Grants, value); err != nil { return err } + case "keyPolicies": if err := awsRestjson1_deserializeDocumentKmsKeyPoliciesMap(&sv.KeyPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -9004,10 +9208,12 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac if err := awsRestjson1_deserializeDocumentPathElementList(&sv.Path, value); err != nil { return err } + case "span": if err := awsRestjson1_deserializeDocumentSpan(&sv.Span, value); err != nil { return err } + default: _, _ = key, value @@ -9247,6 +9453,7 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.CompletedOn = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -9255,6 +9462,7 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.JobId = ptr.String(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -9263,6 +9471,7 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.PrincipalArn = ptr.String(jtv) } + case "startedOn": if value != nil { jtv, ok := value.(string) @@ -9275,6 +9484,7 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.StartedOn = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9283,6 +9493,7 @@ func awsRestjson1_deserializeDocumentPolicyGeneration(v **types.PolicyGeneration } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -9360,6 +9571,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Column = ptr.Int32(int32(i64)) } + case "line": if value != nil { jtv, ok := value.(json.Number) @@ -9372,6 +9584,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Line = ptr.Int32(int32(i64)) } + case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -9384,6 +9597,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.Offset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9563,6 +9777,7 @@ func awsRestjson1_deserializeDocumentRdsDbClusterSnapshotConfiguration(v **types if err := awsRestjson1_deserializeDocumentRdsDbClusterSnapshotAttributesMap(&sv.Attributes, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9571,6 +9786,7 @@ func awsRestjson1_deserializeDocumentRdsDbClusterSnapshotConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -9714,6 +9930,7 @@ func awsRestjson1_deserializeDocumentRdsDbSnapshotConfiguration(v **types.RdsDbS if err := awsRestjson1_deserializeDocumentRdsDbSnapshotAttributesMap(&sv.Attributes, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9722,6 +9939,7 @@ func awsRestjson1_deserializeDocumentRdsDbSnapshotConfiguration(v **types.RdsDbS } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -9761,6 +9979,7 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.Description = ptr.String(jtv) } + case "statementId": if value != nil { jtv, ok := value.(string) @@ -9769,6 +9988,7 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.StatementId = ptr.String(jtv) } + case "statementIndex": if value != nil { jtv, ok := value.(json.Number) @@ -9781,6 +10001,7 @@ func awsRestjson1_deserializeDocumentReasonSummary(v **types.ReasonSummary, valu } sv.StatementIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9854,6 +10075,7 @@ func awsRestjson1_deserializeDocumentRecommendationError(v **types.Recommendatio } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -9862,6 +10084,7 @@ func awsRestjson1_deserializeDocumentRecommendationError(v **types.Recommendatio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10009,6 +10232,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10017,6 +10241,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10025,6 +10250,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10064,14 +10290,17 @@ func awsRestjson1_deserializeDocumentS3AccessPointConfiguration(v **types.S3Acce } sv.AccessPointPolicy = ptr.String(jtv) } + case "networkOrigin": if err := awsRestjson1_deserializeDocumentNetworkOriginConfiguration(&sv.NetworkOrigin, value); err != nil { return err } + case "publicAccessBlock": if err := awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(&sv.PublicAccessBlock, value); err != nil { return err } + default: _, _ = key, value @@ -10142,6 +10371,7 @@ func awsRestjson1_deserializeDocumentS3BucketAclGrantConfiguration(v **types.S3B if err := awsRestjson1_deserializeDocumentAclGrantee(&sv.Grantee, value); err != nil { return err } + case "permission": if value != nil { jtv, ok := value.(string) @@ -10150,6 +10380,7 @@ func awsRestjson1_deserializeDocumentS3BucketAclGrantConfiguration(v **types.S3B } sv.Permission = types.AclPermission(jtv) } + default: _, _ = key, value @@ -10219,10 +10450,12 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon if err := awsRestjson1_deserializeDocumentS3AccessPointConfigurationsMap(&sv.AccessPoints, value); err != nil { return err } + case "bucketAclGrants": if err := awsRestjson1_deserializeDocumentS3BucketAclGrantConfigurationsList(&sv.BucketAclGrants, value); err != nil { return err } + case "bucketPolicy": if value != nil { jtv, ok := value.(string) @@ -10231,10 +10464,12 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketPolicy = ptr.String(jtv) } + case "bucketPublicAccessBlock": if err := awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(&sv.BucketPublicAccessBlock, value); err != nil { return err } + default: _, _ = key, value @@ -10274,6 +10509,7 @@ func awsRestjson1_deserializeDocumentS3ExpressDirectoryBucketConfiguration(v **t } sv.BucketPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -10313,6 +10549,7 @@ func awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(v **types. } sv.IgnorePublicAcls = ptr.Bool(jtv) } + case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -10321,6 +10558,7 @@ func awsRestjson1_deserializeDocumentS3PublicAccessBlockConfiguration(v **types. } sv.RestrictPublicBuckets = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10360,6 +10598,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + case "secretPolicy": if value != nil { jtv, ok := value.(string) @@ -10368,6 +10607,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretConfiguration(v **types } sv.SecretPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -10407,6 +10647,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10415,6 +10656,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10423,6 +10665,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10498,6 +10741,7 @@ func awsRestjson1_deserializeDocumentSnsTopicConfiguration(v **types.SnsTopicCon } sv.TopicPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -10533,10 +10777,12 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err if err := awsRestjson1_deserializeDocumentPosition(&sv.End, value); err != nil { return err } + case "start": if err := awsRestjson1_deserializeDocumentPosition(&sv.Start, value); err != nil { return err } + default: _, _ = key, value @@ -10576,6 +10822,7 @@ func awsRestjson1_deserializeDocumentSqsQueueConfiguration(v **types.SqsQueueCon } sv.QueuePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -10615,6 +10862,7 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.Code = types.ReasonCode(jtv) } + default: _, _ = key, value @@ -10658,6 +10906,7 @@ func awsRestjson1_deserializeDocumentSubstring(v **types.Substring, value interf } sv.Length = ptr.Int32(int32(i64)) } + case "start": if value != nil { jtv, ok := value.(json.Number) @@ -10670,6 +10919,7 @@ func awsRestjson1_deserializeDocumentSubstring(v **types.Substring, value interf } sv.Start = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10745,6 +10995,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10757,6 +11008,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10796,6 +11048,7 @@ func awsRestjson1_deserializeDocumentTrailProperties(v **types.TrailProperties, } sv.AllRegions = ptr.Bool(jtv) } + case "cloudTrailArn": if value != nil { jtv, ok := value.(string) @@ -10804,10 +11057,12 @@ func awsRestjson1_deserializeDocumentTrailProperties(v **types.TrailProperties, } sv.CloudTrailArn = ptr.String(jtv) } + case "regions": if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -10881,6 +11136,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10924,6 +11180,7 @@ func awsRestjson1_deserializeDocumentUnusedAccessConfiguration(v **types.UnusedA } sv.UnusedAccessAge = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10963,6 +11220,7 @@ func awsRestjson1_deserializeDocumentUnusedAction(v **types.UnusedAction, value } sv.Action = ptr.String(jtv) } + case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -10975,6 +11233,7 @@ func awsRestjson1_deserializeDocumentUnusedAction(v **types.UnusedAction, value } sv.LastAccessed = ptr.Time(t) } + default: _, _ = key, value @@ -11052,6 +11311,7 @@ func awsRestjson1_deserializeDocumentUnusedIamRoleDetails(v **types.UnusedIamRol } sv.LastAccessed = ptr.Time(t) } + default: _, _ = key, value @@ -11091,6 +11351,7 @@ func awsRestjson1_deserializeDocumentUnusedIamUserAccessKeyDetails(v **types.Unu } sv.AccessKeyId = ptr.String(jtv) } + case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -11103,6 +11364,7 @@ func awsRestjson1_deserializeDocumentUnusedIamUserAccessKeyDetails(v **types.Unu } sv.LastAccessed = ptr.Time(t) } + default: _, _ = key, value @@ -11146,6 +11408,7 @@ func awsRestjson1_deserializeDocumentUnusedIamUserPasswordDetails(v **types.Unus } sv.LastAccessed = ptr.Time(t) } + default: _, _ = key, value @@ -11181,6 +11444,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer if err := awsRestjson1_deserializeDocumentUnusedActionList(&sv.Actions, value); err != nil { return err } + case "lastAccessed": if value != nil { jtv, ok := value.(string) @@ -11193,6 +11457,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer } sv.LastAccessed = ptr.Time(t) } + case "serviceNamespace": if value != nil { jtv, ok := value.(string) @@ -11201,6 +11466,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionDetails(v **types.UnusedPer } sv.ServiceNamespace = ptr.String(jtv) } + default: _, _ = key, value @@ -11240,6 +11506,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.ExistingPolicyId = ptr.String(jtv) } + case "policyUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11252,6 +11519,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.PolicyUpdatedAt = ptr.Time(t) } + case "recommendedAction": if value != nil { jtv, ok := value.(string) @@ -11260,6 +11528,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.RecommendedAction = types.RecommendedRemediationAction(jtv) } + case "recommendedPolicy": if value != nil { jtv, ok := value.(string) @@ -11268,6 +11537,7 @@ func awsRestjson1_deserializeDocumentUnusedPermissionsRecommendedStep(v **types. } sv.RecommendedPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -11307,6 +11577,7 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.FindingDetails = ptr.String(jtv) } + case "findingType": if value != nil { jtv, ok := value.(string) @@ -11315,6 +11586,7 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.FindingType = types.ValidatePolicyFindingType(jtv) } + case "issueCode": if value != nil { jtv, ok := value.(string) @@ -11323,6 +11595,7 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.IssueCode = ptr.String(jtv) } + case "learnMoreLink": if value != nil { jtv, ok := value.(string) @@ -11331,10 +11604,12 @@ func awsRestjson1_deserializeDocumentValidatePolicyFinding(v **types.ValidatePol } sv.LearnMoreLink = ptr.String(jtv) } + case "locations": if err := awsRestjson1_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } + default: _, _ = key, value @@ -11404,6 +11679,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11412,6 +11688,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -11420,6 +11697,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -11459,6 +11737,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11467,6 +11746,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11576,6 +11856,7 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/account/deserializers.go b/service/account/deserializers.go index f8cd9c63d0e..3b5fa598242 100644 --- a/service/account/deserializers.go +++ b/service/account/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentAcceptPrimaryEmailUpdateOutput(v **Accept } sv.Status = types.PrimaryEmailUpdateStatus(jtv) } + default: _, _ = key, value @@ -672,6 +673,7 @@ func awsRestjson1_deserializeOpDocumentGetAlternateContactOutput(v **GetAlternat if err := awsRestjson1_deserializeDocumentAlternateContact(&sv.AlternateContact, value); err != nil { return err } + default: _, _ = key, value @@ -835,6 +837,7 @@ func awsRestjson1_deserializeOpDocumentGetContactInformationOutput(v **GetContac if err := awsRestjson1_deserializeDocumentContactInformation(&sv.ContactInformation, value); err != nil { return err } + default: _, _ = key, value @@ -1002,6 +1005,7 @@ func awsRestjson1_deserializeOpDocumentGetPrimaryEmailOutput(v **GetPrimaryEmail } sv.PrimaryEmail = ptr.String(jtv) } + default: _, _ = key, value @@ -1166,6 +1170,7 @@ func awsRestjson1_deserializeOpDocumentGetRegionOptStatusOutput(v **GetRegionOpt } sv.RegionName = ptr.String(jtv) } + case "RegionOptStatus": if value != nil { jtv, ok := value.(string) @@ -1174,6 +1179,7 @@ func awsRestjson1_deserializeOpDocumentGetRegionOptStatusOutput(v **GetRegionOpt } sv.RegionOptStatus = types.RegionOptStatus(jtv) } + default: _, _ = key, value @@ -1338,10 +1344,12 @@ func awsRestjson1_deserializeOpDocumentListRegionsOutput(v **ListRegionsOutput, } sv.NextToken = ptr.String(jtv) } + case "Regions": if err := awsRestjson1_deserializeDocumentRegionOptList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -1718,6 +1726,7 @@ func awsRestjson1_deserializeOpDocumentStartPrimaryEmailUpdateOutput(v **StartPr } sv.Status = types.PrimaryEmailUpdateStatus(jtv) } + default: _, _ = key, value @@ -1973,6 +1982,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2012,6 +2022,7 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.AlternateContactType = types.AlternateContactType(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -2020,6 +2031,7 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.EmailAddress = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2028,6 +2040,7 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.Name = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -2036,6 +2049,7 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.PhoneNumber = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -2044,6 +2058,7 @@ func awsRestjson1_deserializeDocumentAlternateContact(v **types.AlternateContact } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -2083,6 +2098,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2122,6 +2138,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine1 = ptr.String(jtv) } + case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -2130,6 +2147,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine2 = ptr.String(jtv) } + case "AddressLine3": if value != nil { jtv, ok := value.(string) @@ -2138,6 +2156,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.AddressLine3 = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -2146,6 +2165,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.City = ptr.String(jtv) } + case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -2154,6 +2174,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.CompanyName = ptr.String(jtv) } + case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -2162,6 +2183,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.CountryCode = ptr.String(jtv) } + case "DistrictOrCounty": if value != nil { jtv, ok := value.(string) @@ -2170,6 +2192,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.DistrictOrCounty = ptr.String(jtv) } + case "FullName": if value != nil { jtv, ok := value.(string) @@ -2178,6 +2201,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.FullName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -2186,6 +2210,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.PhoneNumber = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -2194,6 +2219,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.PostalCode = ptr.String(jtv) } + case "StateOrRegion": if value != nil { jtv, ok := value.(string) @@ -2202,6 +2228,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.StateOrRegion = ptr.String(jtv) } + case "WebsiteUrl": if value != nil { jtv, ok := value.(string) @@ -2210,6 +2237,7 @@ func awsRestjson1_deserializeDocumentContactInformation(v **types.ContactInforma } sv.WebsiteUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -2249,6 +2277,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2288,6 +2317,7 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.RegionName = ptr.String(jtv) } + case "RegionOptStatus": if value != nil { jtv, ok := value.(string) @@ -2296,6 +2326,7 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.RegionOptStatus = types.RegionOptStatus(jtv) } + default: _, _ = key, value @@ -2369,6 +2400,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2408,6 +2440,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2443,6 +2476,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2451,6 +2485,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -2459,6 +2494,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -2498,6 +2534,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2506,6 +2543,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/acm/deserializers.go b/service/acm/deserializers.go index c176dace6c6..2075a8c283a 100644 --- a/service/acm/deserializers.go +++ b/service/acm/deserializers.go @@ -2269,6 +2269,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2308,6 +2309,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.CertificateArn = ptr.String(jtv) } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2316,6 +2318,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2331,6 +2334,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -2339,14 +2343,17 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.DomainName = ptr.String(jtv) } + case "DomainValidationOptions": if err := awsAwsjson11_deserializeDocumentDomainValidationList(&sv.DomainValidationOptions, value); err != nil { return err } + case "ExtendedKeyUsages": if err := awsAwsjson11_deserializeDocumentExtendedKeyUsageList(&sv.ExtendedKeyUsages, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -2355,6 +2362,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.FailureReason = types.FailureReason(jtv) } + case "ImportedAt": if value != nil { switch jtv := value.(type) { @@ -2370,10 +2378,12 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "InUseBy": if err := awsAwsjson11_deserializeDocumentInUseList(&sv.InUseBy, value); err != nil { return err } + case "IssuedAt": if value != nil { switch jtv := value.(type) { @@ -2389,6 +2399,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -2397,6 +2408,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Issuer = ptr.String(jtv) } + case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2405,10 +2417,12 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } + case "KeyUsages": if err := awsAwsjson11_deserializeDocumentKeyUsageList(&sv.KeyUsages, value); err != nil { return err } + case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -2424,6 +2438,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -2439,10 +2454,12 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "Options": if err := awsAwsjson11_deserializeDocumentCertificateOptions(&sv.Options, value); err != nil { return err } + case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -2451,10 +2468,12 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.RenewalEligibility = types.RenewalEligibility(jtv) } + case "RenewalSummary": if err := awsAwsjson11_deserializeDocumentRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } + case "RevocationReason": if value != nil { jtv, ok := value.(string) @@ -2463,6 +2482,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.RevocationReason = types.RevocationReason(jtv) } + case "RevokedAt": if value != nil { switch jtv := value.(type) { @@ -2478,6 +2498,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } } + case "Serial": if value != nil { jtv, ok := value.(string) @@ -2486,6 +2507,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Serial = ptr.String(jtv) } + case "SignatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2494,6 +2516,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.SignatureAlgorithm = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2502,6 +2525,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Status = types.CertificateStatus(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -2510,10 +2534,12 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Subject = ptr.String(jtv) } + case "SubjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2522,6 +2548,7 @@ func awsAwsjson11_deserializeDocumentCertificateDetail(v **types.CertificateDeta } sv.Type = types.CertificateType(jtv) } + default: _, _ = key, value @@ -2561,6 +2588,7 @@ func awsAwsjson11_deserializeDocumentCertificateOptions(v **types.CertificateOpt } sv.CertificateTransparencyLoggingPreference = types.CertificateTransparencyLoggingPreference(jtv) } + default: _, _ = key, value @@ -2600,6 +2628,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2615,6 +2644,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -2623,6 +2653,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.DomainName = ptr.String(jtv) } + case "Exported": if value != nil { jtv, ok := value.(bool) @@ -2631,10 +2662,12 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Exported = ptr.Bool(jtv) } + case "ExtendedKeyUsages": if err := awsAwsjson11_deserializeDocumentExtendedKeyUsageNames(&sv.ExtendedKeyUsages, value); err != nil { return err } + case "HasAdditionalSubjectAlternativeNames": if value != nil { jtv, ok := value.(bool) @@ -2643,6 +2676,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.HasAdditionalSubjectAlternativeNames = ptr.Bool(jtv) } + case "ImportedAt": if value != nil { switch jtv := value.(type) { @@ -2658,6 +2692,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "InUse": if value != nil { jtv, ok := value.(bool) @@ -2666,6 +2701,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.InUse = ptr.Bool(jtv) } + case "IssuedAt": if value != nil { switch jtv := value.(type) { @@ -2681,6 +2717,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -2689,10 +2726,12 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } + case "KeyUsages": if err := awsAwsjson11_deserializeDocumentKeyUsageNames(&sv.KeyUsages, value); err != nil { return err } + case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -2708,6 +2747,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -2723,6 +2763,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -2731,6 +2772,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.RenewalEligibility = types.RenewalEligibility(jtv) } + case "RevokedAt": if value != nil { switch jtv := value.(type) { @@ -2746,6 +2788,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2754,10 +2797,12 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Status = types.CertificateStatus(jtv) } + case "SubjectAlternativeNameSummaries": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.SubjectAlternativeNameSummaries, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2766,6 +2811,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Type = types.CertificateType(jtv) } + default: _, _ = key, value @@ -2839,6 +2885,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2914,10 +2961,12 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.DomainName = ptr.String(jtv) } + case "ResourceRecord": if err := awsAwsjson11_deserializeDocumentResourceRecord(&sv.ResourceRecord, value); err != nil { return err } + case "ValidationDomain": if value != nil { jtv, ok := value.(string) @@ -2926,10 +2975,12 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationDomain = ptr.String(jtv) } + case "ValidationEmails": if err := awsAwsjson11_deserializeDocumentValidationEmailList(&sv.ValidationEmails, value); err != nil { return err } + case "ValidationMethod": if value != nil { jtv, ok := value.(string) @@ -2938,6 +2989,7 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationMethod = types.ValidationMethod(jtv) } + case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -2946,6 +2998,7 @@ func awsAwsjson11_deserializeDocumentDomainValidation(v **types.DomainValidation } sv.ValidationStatus = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -3023,6 +3076,7 @@ func awsAwsjson11_deserializeDocumentExpiryEventsConfiguration(v **types.ExpiryE } sv.DaysBeforeExpiry = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3062,6 +3116,7 @@ func awsAwsjson11_deserializeDocumentExtendedKeyUsage(v **types.ExtendedKeyUsage } sv.Name = types.ExtendedKeyUsageName(jtv) } + case "OID": if value != nil { jtv, ok := value.(string) @@ -3070,6 +3125,7 @@ func awsAwsjson11_deserializeDocumentExtendedKeyUsage(v **types.ExtendedKeyUsage } sv.OID = ptr.String(jtv) } + default: _, _ = key, value @@ -3215,6 +3271,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3254,6 +3311,7 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3293,6 +3351,7 @@ func awsAwsjson11_deserializeDocumentInvalidDomainValidationOptionsException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3332,6 +3391,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3371,6 +3431,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3410,6 +3471,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3449,6 +3511,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.Name = types.KeyUsageName(jtv) } + default: _, _ = key, value @@ -3558,6 +3621,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3593,6 +3657,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va if err := awsAwsjson11_deserializeDocumentDomainValidationList(&sv.DomainValidationOptions, value); err != nil { return err } + case "RenewalStatus": if value != nil { jtv, ok := value.(string) @@ -3601,6 +3666,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatus = types.RenewalStatus(jtv) } + case "RenewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -3609,6 +3675,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatusReason = types.FailureReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3624,6 +3691,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } } + default: _, _ = key, value @@ -3663,6 +3731,7 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3702,6 +3771,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3741,6 +3811,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3780,6 +3851,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3788,6 +3860,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Type = types.RecordType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3796,6 +3869,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3835,6 +3909,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3843,6 +3918,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3916,6 +3992,7 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3955,6 +4032,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3994,6 +4072,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4069,6 +4148,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4104,6 +4184,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentCertificateDetail(&sv.Certificate, value); err != nil { return err } + default: _, _ = key, value @@ -4143,6 +4224,7 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.Certificate = ptr.String(jtv) } + case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -4151,6 +4233,7 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.CertificateChain = ptr.String(jtv) } + case "PrivateKey": if value != nil { jtv, ok := value.(string) @@ -4159,6 +4242,7 @@ func awsAwsjson11_deserializeOpDocumentExportCertificateOutput(v **ExportCertifi } sv.PrivateKey = ptr.String(jtv) } + default: _, _ = key, value @@ -4194,6 +4278,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountConfigurationOutput(v **GetAcco if err := awsAwsjson11_deserializeDocumentExpiryEventsConfiguration(&sv.ExpiryEvents, value); err != nil { return err } + default: _, _ = key, value @@ -4233,6 +4318,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.Certificate = ptr.String(jtv) } + case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -4241,6 +4327,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.CertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -4280,6 +4367,7 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4315,6 +4403,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentCertificateSummaryList(&sv.CertificateSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4323,6 +4412,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4358,6 +4448,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForCertificateOutput(v **ListTags if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4397,6 +4488,7 @@ func awsAwsjson11_deserializeOpDocumentRequestCertificateOutput(v **RequestCerti } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/acmpca/deserializers.go b/service/acmpca/deserializers.go index a55838c3d31..e749c169c29 100644 --- a/service/acmpca/deserializers.go +++ b/service/acmpca/deserializers.go @@ -3293,10 +3293,12 @@ func awsAwsjson11_deserializeDocumentAccessDescription(v **types.AccessDescripti if err := awsAwsjson11_deserializeDocumentGeneralName(&sv.AccessLocation, value); err != nil { return err } + case "AccessMethod": if err := awsAwsjson11_deserializeDocumentAccessMethod(&sv.AccessMethod, value); err != nil { return err } + default: _, _ = key, value @@ -3370,6 +3372,7 @@ func awsAwsjson11_deserializeDocumentAccessMethod(v **types.AccessMethod, value } sv.AccessMethodType = types.AccessMethodType(jtv) } + case "CustomObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -3378,6 +3381,7 @@ func awsAwsjson11_deserializeDocumentAccessMethod(v **types.AccessMethod, value } sv.CustomObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -3453,6 +3457,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.CommonName = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -3461,10 +3466,12 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Country = ptr.String(jtv) } + case "CustomAttributes": if err := awsAwsjson11_deserializeDocumentCustomAttributeList(&sv.CustomAttributes, value); err != nil { return err } + case "DistinguishedNameQualifier": if value != nil { jtv, ok := value.(string) @@ -3473,6 +3480,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.DistinguishedNameQualifier = ptr.String(jtv) } + case "GenerationQualifier": if value != nil { jtv, ok := value.(string) @@ -3481,6 +3489,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.GenerationQualifier = ptr.String(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3489,6 +3498,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.GivenName = ptr.String(jtv) } + case "Initials": if value != nil { jtv, ok := value.(string) @@ -3497,6 +3507,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Initials = ptr.String(jtv) } + case "Locality": if value != nil { jtv, ok := value.(string) @@ -3505,6 +3516,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Locality = ptr.String(jtv) } + case "Organization": if value != nil { jtv, ok := value.(string) @@ -3513,6 +3525,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Organization = ptr.String(jtv) } + case "OrganizationalUnit": if value != nil { jtv, ok := value.(string) @@ -3521,6 +3534,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.OrganizationalUnit = ptr.String(jtv) } + case "Pseudonym": if value != nil { jtv, ok := value.(string) @@ -3529,6 +3543,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Pseudonym = ptr.String(jtv) } + case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -3537,6 +3552,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.SerialNumber = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3545,6 +3561,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.State = ptr.String(jtv) } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -3553,6 +3570,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Surname = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -3561,6 +3579,7 @@ func awsAwsjson11_deserializeDocumentASN1Subject(v **types.ASN1Subject, value in } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -3634,10 +3653,12 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityConfiguration": if err := awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(&sv.CertificateAuthorityConfiguration, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3653,6 +3674,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -3661,6 +3683,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.FailureReason = types.FailureReason(jtv) } + case "KeyStorageSecurityStandard": if value != nil { jtv, ok := value.(string) @@ -3669,6 +3692,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.KeyStorageSecurityStandard = types.KeyStorageSecurityStandard(jtv) } + case "LastStateChangeAt": if value != nil { switch jtv := value.(type) { @@ -3684,6 +3708,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } + case "NotAfter": if value != nil { switch jtv := value.(type) { @@ -3699,6 +3724,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } + case "NotBefore": if value != nil { switch jtv := value.(type) { @@ -3714,6 +3740,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } + case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -3722,6 +3749,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.OwnerAccount = ptr.String(jtv) } + case "RestorableUntil": if value != nil { switch jtv := value.(type) { @@ -3737,10 +3765,12 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } } + case "RevocationConfiguration": if err := awsAwsjson11_deserializeDocumentRevocationConfiguration(&sv.RevocationConfiguration, value); err != nil { return err } + case "Serial": if value != nil { jtv, ok := value.(string) @@ -3749,6 +3779,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Serial = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3757,6 +3788,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Status = types.CertificateAuthorityStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3765,6 +3797,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.Type = types.CertificateAuthorityType(jtv) } + case "UsageMode": if value != nil { jtv, ok := value.(string) @@ -3773,6 +3806,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthority(v **types.CertificateA } sv.UsageMode = types.CertificateAuthorityUsageMode(jtv) } + default: _, _ = key, value @@ -3808,6 +3842,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types if err := awsAwsjson11_deserializeDocumentCsrExtensions(&sv.CsrExtensions, value); err != nil { return err } + case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3816,6 +3851,7 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } + case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3824,10 +3860,12 @@ func awsAwsjson11_deserializeDocumentCertificateAuthorityConfiguration(v **types } sv.SigningAlgorithm = types.SigningAlgorithm(jtv) } + case "Subject": if err := awsAwsjson11_deserializeDocumentASN1Subject(&sv.Subject, value); err != nil { return err } + default: _, _ = key, value @@ -3867,6 +3905,7 @@ func awsAwsjson11_deserializeDocumentCertificateMismatchException(v **types.Cert } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3906,6 +3945,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3941,6 +3981,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration if err := awsAwsjson11_deserializeDocumentCrlDistributionPointExtensionConfiguration(&sv.CrlDistributionPointExtensionConfiguration, value); err != nil { return err } + case "CustomCname": if value != nil { jtv, ok := value.(string) @@ -3949,6 +3990,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.CustomCname = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -3957,6 +3999,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.Enabled = ptr.Bool(jtv) } + case "ExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3969,6 +4012,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.ExpirationInDays = ptr.Int32(int32(i64)) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -3977,6 +4021,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.S3BucketName = ptr.String(jtv) } + case "S3ObjectAcl": if value != nil { jtv, ok := value.(string) @@ -3985,6 +4030,7 @@ func awsAwsjson11_deserializeDocumentCrlConfiguration(v **types.CrlConfiguration } sv.S3ObjectAcl = types.S3ObjectAcl(jtv) } + default: _, _ = key, value @@ -4024,6 +4070,7 @@ func awsAwsjson11_deserializeDocumentCrlDistributionPointExtensionConfiguration( } sv.OmitExtension = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4059,10 +4106,12 @@ func awsAwsjson11_deserializeDocumentCsrExtensions(v **types.CsrExtensions, valu if err := awsAwsjson11_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } + case "SubjectInformationAccess": if err := awsAwsjson11_deserializeDocumentAccessDescriptionList(&sv.SubjectInformationAccess, value); err != nil { return err } + default: _, _ = key, value @@ -4102,6 +4151,7 @@ func awsAwsjson11_deserializeDocumentCustomAttribute(v **types.CustomAttribute, } sv.ObjectIdentifier = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4110,6 +4160,7 @@ func awsAwsjson11_deserializeDocumentCustomAttribute(v **types.CustomAttribute, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4183,6 +4234,7 @@ func awsAwsjson11_deserializeDocumentEdiPartyName(v **types.EdiPartyName, value } sv.NameAssigner = ptr.String(jtv) } + case "PartyName": if value != nil { jtv, ok := value.(string) @@ -4191,6 +4243,7 @@ func awsAwsjson11_deserializeDocumentEdiPartyName(v **types.EdiPartyName, value } sv.PartyName = ptr.String(jtv) } + default: _, _ = key, value @@ -4226,6 +4279,7 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in if err := awsAwsjson11_deserializeDocumentASN1Subject(&sv.DirectoryName, value); err != nil { return err } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -4234,10 +4288,12 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.DnsName = ptr.String(jtv) } + case "EdiPartyName": if err := awsAwsjson11_deserializeDocumentEdiPartyName(&sv.EdiPartyName, value); err != nil { return err } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -4246,10 +4302,12 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.IpAddress = ptr.String(jtv) } + case "OtherName": if err := awsAwsjson11_deserializeDocumentOtherName(&sv.OtherName, value); err != nil { return err } + case "RegisteredId": if value != nil { jtv, ok := value.(string) @@ -4258,6 +4316,7 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.RegisteredId = ptr.String(jtv) } + case "Rfc822Name": if value != nil { jtv, ok := value.(string) @@ -4266,6 +4325,7 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.Rfc822Name = ptr.String(jtv) } + case "UniformResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -4274,6 +4334,7 @@ func awsAwsjson11_deserializeDocumentGeneralName(v **types.GeneralName, value in } sv.UniformResourceIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -4313,6 +4374,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4352,6 +4414,7 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4391,6 +4454,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4430,6 +4494,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4469,6 +4534,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4508,6 +4574,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4547,6 +4614,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4586,6 +4654,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.CRLSign = jtv } + case "DataEncipherment": if value != nil { jtv, ok := value.(bool) @@ -4594,6 +4663,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DataEncipherment = jtv } + case "DecipherOnly": if value != nil { jtv, ok := value.(bool) @@ -4602,6 +4672,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DecipherOnly = jtv } + case "DigitalSignature": if value != nil { jtv, ok := value.(bool) @@ -4610,6 +4681,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.DigitalSignature = jtv } + case "EncipherOnly": if value != nil { jtv, ok := value.(bool) @@ -4618,6 +4690,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.EncipherOnly = jtv } + case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -4626,6 +4699,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyAgreement = jtv } + case "KeyCertSign": if value != nil { jtv, ok := value.(bool) @@ -4634,6 +4708,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyCertSign = jtv } + case "KeyEncipherment": if value != nil { jtv, ok := value.(bool) @@ -4642,6 +4717,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.KeyEncipherment = jtv } + case "NonRepudiation": if value != nil { jtv, ok := value.(bool) @@ -4650,6 +4726,7 @@ func awsAwsjson11_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.NonRepudiation = jtv } + default: _, _ = key, value @@ -4689,6 +4766,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4728,6 +4806,7 @@ func awsAwsjson11_deserializeDocumentLockoutPreventedException(v **types.Lockout } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4767,6 +4846,7 @@ func awsAwsjson11_deserializeDocumentMalformedCertificateException(v **types.Mal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4806,6 +4886,7 @@ func awsAwsjson11_deserializeDocumentMalformedCSRException(v **types.MalformedCS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4845,6 +4926,7 @@ func awsAwsjson11_deserializeDocumentOcspConfiguration(v **types.OcspConfigurati } sv.Enabled = ptr.Bool(jtv) } + case "OcspCustomCname": if value != nil { jtv, ok := value.(string) @@ -4853,6 +4935,7 @@ func awsAwsjson11_deserializeDocumentOcspConfiguration(v **types.OcspConfigurati } sv.OcspCustomCname = ptr.String(jtv) } + default: _, _ = key, value @@ -4892,6 +4975,7 @@ func awsAwsjson11_deserializeDocumentOtherName(v **types.OtherName, value interf } sv.TypeId = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4900,6 +4984,7 @@ func awsAwsjson11_deserializeDocumentOtherName(v **types.OtherName, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4935,6 +5020,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte if err := awsAwsjson11_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4943,6 +5029,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4958,6 +5045,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -4966,6 +5054,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Policy = ptr.String(jtv) } + case "Principal": if value != nil { jtv, ok := value.(string) @@ -4974,6 +5063,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Principal = ptr.String(jtv) } + case "SourceAccount": if value != nil { jtv, ok := value.(string) @@ -4982,6 +5072,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.SourceAccount = ptr.String(jtv) } + default: _, _ = key, value @@ -5021,6 +5112,7 @@ func awsAwsjson11_deserializeDocumentPermissionAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5094,6 +5186,7 @@ func awsAwsjson11_deserializeDocumentRequestAlreadyProcessedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5133,6 +5226,7 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5172,6 +5266,7 @@ func awsAwsjson11_deserializeDocumentRequestInProgressException(v **types.Reques } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5211,6 +5306,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5246,10 +5342,12 @@ func awsAwsjson11_deserializeDocumentRevocationConfiguration(v **types.Revocatio if err := awsAwsjson11_deserializeDocumentCrlConfiguration(&sv.CrlConfiguration, value); err != nil { return err } + case "OcspConfiguration": if err := awsAwsjson11_deserializeDocumentOcspConfiguration(&sv.OcspConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5289,6 +5387,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5396,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5370,6 +5470,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5409,6 +5510,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityAuditReportOutp } sv.AuditReportId = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -5417,6 +5519,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityAuditReportOutp } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -5456,6 +5559,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateAuthorityOutput(v **Crea } sv.CertificateAuthorityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5495,6 +5599,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.AuditReportStatus = types.AuditReportStatus(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5510,6 +5615,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -5518,6 +5624,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.S3BucketName = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -5526,6 +5633,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityAuditReportOu } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -5561,6 +5669,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateAuthorityOutput(v **De if err := awsAwsjson11_deserializeDocumentCertificateAuthority(&sv.CertificateAuthority, value); err != nil { return err } + default: _, _ = key, value @@ -5600,6 +5709,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCertificateOutput( } sv.Certificate = ptr.String(jtv) } + case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -5608,6 +5718,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCertificateOutput( } sv.CertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -5647,6 +5758,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateAuthorityCsrOutput(v **GetC } sv.Csr = ptr.String(jtv) } + default: _, _ = key, value @@ -5686,6 +5798,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.Certificate = ptr.String(jtv) } + case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -5694,6 +5807,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificateOutput(v **GetCertificateOu } sv.CertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -5733,6 +5847,7 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -5772,6 +5887,7 @@ func awsAwsjson11_deserializeOpDocumentIssueCertificateOutput(v **IssueCertifica } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5807,6 +5923,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificateAuthoritiesOutput(v **List if err := awsAwsjson11_deserializeDocumentCertificateAuthorities(&sv.CertificateAuthorities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5815,6 +5932,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificateAuthoritiesOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5854,10 +5972,12 @@ func awsAwsjson11_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -5897,10 +6017,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/amp/deserializers.go b/service/amp/deserializers.go index 85fffdfd549..896cfbf1b59 100644 --- a/service/amp/deserializers.go +++ b/service/amp/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlertManagerDefinitionOutput(v **Cr if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -352,6 +353,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -525,6 +527,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleGroupsNamespaceOutput(v **Creat } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -533,14 +536,17 @@ func awsRestjson1_deserializeOpDocumentCreateRuleGroupsNamespaceOutput(v **Creat } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -714,6 +720,7 @@ func awsRestjson1_deserializeOpDocumentCreateScraperOutput(v **CreateScraperOutp } sv.Arn = ptr.String(jtv) } + case "scraperId": if value != nil { jtv, ok := value.(string) @@ -722,14 +729,17 @@ func awsRestjson1_deserializeOpDocumentCreateScraperOutput(v **CreateScraperOutp } sv.ScraperId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -900,6 +910,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.Arn = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -908,14 +919,17 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.KmsKeyArn = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -924,6 +938,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1418,10 +1433,12 @@ func awsRestjson1_deserializeOpDocumentDeleteScraperOutput(v **DeleteScraperOutp } sv.ScraperId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -1694,6 +1711,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlertManagerDefinitionOutput(v ** if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(&sv.AlertManagerDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -1854,6 +1872,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2017,6 +2036,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRuleGroupsNamespaceOutput(v **Des if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(&sv.RuleGroupsNamespace, value); err != nil { return err } + default: _, _ = key, value @@ -2180,6 +2200,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScraperOutput(v **DescribeScraper if err := awsRestjson1_deserializeDocumentScraperDescription(&sv.Scraper, value); err != nil { return err } + default: _, _ = key, value @@ -2343,6 +2364,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceOutput(v **DescribeWorks if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -2508,6 +2530,7 @@ func awsRestjson1_deserializeOpDocumentGetDefaultScraperConfigurationOutput(v ** } sv.Configuration = dv } + default: _, _ = key, value @@ -2675,10 +2698,12 @@ func awsRestjson1_deserializeOpDocumentListRuleGroupsNamespacesOutput(v **ListRu } sv.NextToken = ptr.String(jtv) } + case "ruleGroupsNamespaces": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummaryList(&sv.RuleGroupsNamespaces, value); err != nil { return err } + default: _, _ = key, value @@ -2843,10 +2868,12 @@ func awsRestjson1_deserializeOpDocumentListScrapersOutput(v **ListScrapersOutput } sv.NextToken = ptr.String(jtv) } + case "scrapers": if err := awsRestjson1_deserializeDocumentScraperSummaryList(&sv.Scrapers, value); err != nil { return err } + default: _, _ = key, value @@ -3010,6 +3037,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3174,10 +3202,12 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } + case "workspaces": if err := awsRestjson1_deserializeDocumentWorkspaceSummaryList(&sv.Workspaces, value); err != nil { return err } + default: _, _ = key, value @@ -3347,6 +3377,7 @@ func awsRestjson1_deserializeOpDocumentPutAlertManagerDefinitionOutput(v **PutAl if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -3520,6 +3551,7 @@ func awsRestjson1_deserializeOpDocumentPutRuleGroupsNamespaceOutput(v **PutRuleG } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3528,14 +3560,17 @@ func awsRestjson1_deserializeOpDocumentPutRuleGroupsNamespaceOutput(v **PutRuleG } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3899,6 +3934,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -4072,6 +4108,7 @@ func awsRestjson1_deserializeOpDocumentUpdateScraperOutput(v **UpdateScraperOutp } sv.Arn = ptr.String(jtv) } + case "scraperId": if value != nil { jtv, ok := value.(string) @@ -4080,14 +4117,17 @@ func awsRestjson1_deserializeOpDocumentUpdateScraperOutput(v **UpdateScraperOutp } sv.ScraperId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4531,6 +4571,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4577,6 +4618,7 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } } + case "data": if value != nil { jtv, ok := value.(string) @@ -4589,6 +4631,7 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } sv.Data = dv } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -4604,10 +4647,12 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionDescription(v **types } } + case "status": if err := awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -4647,6 +4692,7 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(v **types.Aler } sv.StatusCode = types.AlertManagerDefinitionStatusCode(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4655,6 +4701,7 @@ func awsRestjson1_deserializeDocumentAlertManagerDefinitionStatus(v **types.Aler } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -4694,6 +4741,7 @@ func awsRestjson1_deserializeDocumentAmpConfiguration(v **types.AmpConfiguration } sv.WorkspaceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4733,6 +4781,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4741,6 +4790,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4749,6 +4799,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4828,14 +4879,17 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.ClusterArn = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -4875,6 +4929,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4887,6 +4942,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4933,6 +4989,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } } + case "logGroupArn": if value != nil { jtv, ok := value.(string) @@ -4941,6 +4998,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } sv.LogGroupArn = ptr.String(jtv) } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -4956,10 +5014,12 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } } + case "status": if err := awsRestjson1_deserializeDocumentLoggingConfigurationStatus(&sv.Status, value); err != nil { return err } + case "workspace": if value != nil { jtv, ok := value.(string) @@ -4968,6 +5028,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationMetadata(v **types.Logg } sv.Workspace = ptr.String(jtv) } + default: _, _ = key, value @@ -5007,6 +5068,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationStatus(v **types.Loggin } sv.StatusCode = types.LoggingConfigurationStatusCode(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5015,6 +5077,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationStatus(v **types.Loggin } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5054,6 +5117,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5062,6 +5126,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5070,6 +5135,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5109,6 +5175,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5124,6 +5191,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } } + case "data": if value != nil { jtv, ok := value.(string) @@ -5136,6 +5204,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Data = dv } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -5151,6 +5220,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5159,14 +5229,17 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceDescription(v **types.Ru } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5206,6 +5279,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(v **types.RuleGro } sv.StatusCode = types.RuleGroupsNamespaceStatusCode(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5214,6 +5288,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(v **types.RuleGro } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5253,6 +5328,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5268,6 +5344,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -5283,6 +5360,7 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5291,14 +5369,17 @@ func awsRestjson1_deserializeDocumentRuleGroupsNamespaceSummary(v **types.RuleGr } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentRuleGroupsNamespaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5418,6 +5499,7 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.Alias = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5426,6 +5508,7 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5441,10 +5524,12 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } } + case "destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5460,6 +5545,7 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5468,10 +5554,12 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.RoleArn = ptr.String(jtv) } + case "scrapeConfiguration": if err := awsRestjson1_deserializeDocumentScrapeConfiguration(&sv.ScrapeConfiguration, value); err != nil { return err } + case "scraperId": if value != nil { jtv, ok := value.(string) @@ -5480,14 +5568,17 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.ScraperId = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5496,10 +5587,12 @@ func awsRestjson1_deserializeDocumentScraperDescription(v **types.ScraperDescrip } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5539,6 +5632,7 @@ func awsRestjson1_deserializeDocumentScraperStatus(v **types.ScraperStatus, valu } sv.StatusCode = types.ScraperStatusCode(jtv) } + default: _, _ = key, value @@ -5578,6 +5672,7 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.Alias = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5586,6 +5681,7 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5601,10 +5697,12 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } } + case "destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5620,6 +5718,7 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5628,6 +5727,7 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.RoleArn = ptr.String(jtv) } + case "scraperId": if value != nil { jtv, ok := value.(string) @@ -5636,14 +5736,17 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.ScraperId = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentScraperStatus(&sv.Status, value); err != nil { return err } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5652,10 +5755,12 @@ func awsRestjson1_deserializeDocumentScraperSummary(v **types.ScraperSummary, va } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5765,6 +5870,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5773,6 +5879,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5781,6 +5888,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5789,6 +5897,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5797,6 +5906,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5948,6 +6058,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5956,6 +6067,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5968,6 +6080,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5976,6 +6089,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6011,6 +6125,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6019,6 +6134,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6027,6 +6143,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -6066,6 +6183,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6074,6 +6192,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6147,6 +6266,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Alias = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6155,6 +6275,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6170,6 +6291,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6178,6 +6300,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.KmsKeyArn = ptr.String(jtv) } + case "prometheusEndpoint": if value != nil { jtv, ok := value.(string) @@ -6186,14 +6309,17 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.PrometheusEndpoint = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6202,6 +6328,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6241,6 +6368,7 @@ func awsRestjson1_deserializeDocumentWorkspaceStatus(v **types.WorkspaceStatus, } sv.StatusCode = types.WorkspaceStatusCode(jtv) } + default: _, _ = key, value @@ -6280,6 +6408,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Alias = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6288,6 +6417,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6303,6 +6433,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6311,14 +6442,17 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.KmsKeyArn = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentWorkspaceStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6327,6 +6461,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/amplify/deserializers.go b/service/amplify/deserializers.go index db452baf0c8..8e60285c206 100644 --- a/service/amplify/deserializers.go +++ b/service/amplify/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -346,6 +347,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendEnvironmentOutput(v **Create if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } + default: _, _ = key, value @@ -512,6 +514,7 @@ func awsRestjson1_deserializeOpDocumentCreateBranchOutput(v **CreateBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } + default: _, _ = key, value @@ -672,6 +675,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme if err := awsRestjson1_deserializeDocumentFileUploadUrls(&sv.FileUploadUrls, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -680,6 +684,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.JobId = ptr.String(jtv) } + case "zipUploadUrl": if value != nil { jtv, ok := value.(string) @@ -688,6 +693,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.ZipUploadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -854,6 +860,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainAssociationOutput(v **CreateD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1020,6 +1027,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebhookOutput(v **CreateWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -1183,6 +1191,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -1346,6 +1355,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendEnvironmentOutput(v **Delete if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } + default: _, _ = key, value @@ -1509,6 +1519,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBranchOutput(v **DeleteBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } + default: _, _ = key, value @@ -1672,6 +1683,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainAssociationOutput(v **DeleteD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1835,6 +1847,7 @@ func awsRestjson1_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1998,6 +2011,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWebhookOutput(v **DeleteWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -2162,6 +2176,7 @@ func awsRestjson1_deserializeOpDocumentGenerateAccessLogsOutput(v **GenerateAcce } sv.LogUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -2322,6 +2337,7 @@ func awsRestjson1_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -2489,6 +2505,7 @@ func awsRestjson1_deserializeOpDocumentGetArtifactUrlOutput(v **GetArtifactUrlOu } sv.ArtifactId = ptr.String(jtv) } + case "artifactUrl": if value != nil { jtv, ok := value.(string) @@ -2497,6 +2514,7 @@ func awsRestjson1_deserializeOpDocumentGetArtifactUrlOutput(v **GetArtifactUrlOu } sv.ArtifactUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -2657,6 +2675,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendEnvironmentOutput(v **GetBacken if err := awsRestjson1_deserializeDocumentBackendEnvironment(&sv.BackendEnvironment, value); err != nil { return err } + default: _, _ = key, value @@ -2817,6 +2836,7 @@ func awsRestjson1_deserializeOpDocumentGetBranchOutput(v **GetBranchOutput, valu if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } + default: _, _ = key, value @@ -2977,6 +2997,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainAssociationOutput(v **GetDomainA if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -3140,6 +3161,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -3303,6 +3325,7 @@ func awsRestjson1_deserializeOpDocumentGetWebhookOutput(v **GetWebhookOutput, va if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -3460,6 +3483,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3468,6 +3492,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3628,6 +3653,7 @@ func awsRestjson1_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsRestjson1_deserializeDocumentArtifacts(&sv.Artifacts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3636,6 +3662,7 @@ func awsRestjson1_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3793,6 +3820,7 @@ func awsRestjson1_deserializeOpDocumentListBackendEnvironmentsOutput(v **ListBac if err := awsRestjson1_deserializeDocumentBackendEnvironments(&sv.BackendEnvironments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3801,6 +3829,7 @@ func awsRestjson1_deserializeOpDocumentListBackendEnvironmentsOutput(v **ListBac } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3958,6 +3987,7 @@ func awsRestjson1_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput if err := awsRestjson1_deserializeDocumentBranches(&sv.Branches, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3966,6 +3996,7 @@ func awsRestjson1_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4123,6 +4154,7 @@ func awsRestjson1_deserializeOpDocumentListDomainAssociationsOutput(v **ListDoma if err := awsRestjson1_deserializeDocumentDomainAssociations(&sv.DomainAssociations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4131,6 +4163,7 @@ func awsRestjson1_deserializeOpDocumentListDomainAssociationsOutput(v **ListDoma } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4291,6 +4324,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.JobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4299,6 +4333,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4456,6 +4491,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4620,10 +4656,12 @@ func awsRestjson1_deserializeOpDocumentListWebhooksOutput(v **ListWebhooksOutput } sv.NextToken = ptr.String(jtv) } + case "webhooks": if err := awsRestjson1_deserializeDocumentWebhooks(&sv.Webhooks, value); err != nil { return err } + default: _, _ = key, value @@ -4787,6 +4825,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } + default: _, _ = key, value @@ -4950,6 +4989,7 @@ func awsRestjson1_deserializeOpDocumentStartJobOutput(v **StartJobOutput, value if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } + default: _, _ = key, value @@ -5113,6 +5153,7 @@ func awsRestjson1_deserializeOpDocumentStopJobOutput(v **StopJobOutput, value in if err := awsRestjson1_deserializeDocumentJobSummary(&sv.JobSummary, value); err != nil { return err } + default: _, _ = key, value @@ -5461,6 +5502,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -5624,6 +5666,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBranchOutput(v **UpdateBranchOutput if err := awsRestjson1_deserializeDocumentBranch(&sv.Branch, value); err != nil { return err } + default: _, _ = key, value @@ -5787,6 +5830,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainAssociationOutput(v **UpdateD if err := awsRestjson1_deserializeDocumentDomainAssociation(&sv.DomainAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5950,6 +5994,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWebhookOutput(v **UpdateWebhookOutp if err := awsRestjson1_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -6241,6 +6286,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppArn = ptr.String(jtv) } + case "appId": if value != nil { jtv, ok := value.(string) @@ -6249,14 +6295,17 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppId = ptr.String(jtv) } + case "autoBranchCreationConfig": if err := awsRestjson1_deserializeDocumentAutoBranchCreationConfig(&sv.AutoBranchCreationConfig, value); err != nil { return err } + case "autoBranchCreationPatterns": if err := awsRestjson1_deserializeDocumentAutoBranchCreationPatterns(&sv.AutoBranchCreationPatterns, value); err != nil { return err } + case "basicAuthCredentials": if value != nil { jtv, ok := value.(string) @@ -6265,6 +6314,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.BasicAuthCredentials = ptr.String(jtv) } + case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -6273,10 +6323,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.BuildSpec = ptr.String(jtv) } + case "cacheConfig": if err := awsRestjson1_deserializeDocumentCacheConfig(&sv.CacheConfig, value); err != nil { return err } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -6292,6 +6344,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "customHeaders": if value != nil { jtv, ok := value.(string) @@ -6300,10 +6353,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.CustomHeaders = ptr.String(jtv) } + case "customRules": if err := awsRestjson1_deserializeDocumentCustomRules(&sv.CustomRules, value); err != nil { return err } + case "defaultDomain": if value != nil { jtv, ok := value.(string) @@ -6312,6 +6367,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.DefaultDomain = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6320,6 +6376,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } + case "enableAutoBranchCreation": if value != nil { jtv, ok := value.(bool) @@ -6328,6 +6385,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableAutoBranchCreation = ptr.Bool(jtv) } + case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -6336,6 +6394,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBasicAuth = ptr.Bool(jtv) } + case "enableBranchAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -6344,6 +6403,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBranchAutoBuild = ptr.Bool(jtv) } + case "enableBranchAutoDeletion": if value != nil { jtv, ok := value.(bool) @@ -6352,10 +6412,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableBranchAutoDeletion = ptr.Bool(jtv) } + case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } + case "iamServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6426,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.IamServiceRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6435,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -6380,10 +6444,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Platform = types.Platform(jtv) } + case "productionBranch": if err := awsRestjson1_deserializeDocumentProductionBranch(&sv.ProductionBranch, value); err != nil { return err } + case "repository": if value != nil { jtv, ok := value.(string) @@ -6392,6 +6458,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Repository = ptr.String(jtv) } + case "repositoryCloneMethod": if value != nil { jtv, ok := value.(string) @@ -6400,10 +6467,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RepositoryCloneMethod = types.RepositoryCloneMethod(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -6419,6 +6488,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + default: _, _ = key, value @@ -6492,6 +6562,7 @@ func awsRestjson1_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.ArtifactFileName = ptr.String(jtv) } + case "artifactId": if value != nil { jtv, ok := value.(string) @@ -6500,6 +6571,7 @@ func awsRestjson1_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.ArtifactId = ptr.String(jtv) } + default: _, _ = key, value @@ -6609,6 +6681,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.BasicAuthCredentials = ptr.String(jtv) } + case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -6617,6 +6690,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.BuildSpec = ptr.String(jtv) } + case "enableAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -6625,6 +6699,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnableAutoBuild = ptr.Bool(jtv) } + case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -6633,6 +6708,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnableBasicAuth = ptr.Bool(jtv) } + case "enablePerformanceMode": if value != nil { jtv, ok := value.(bool) @@ -6641,6 +6717,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnablePerformanceMode = ptr.Bool(jtv) } + case "enablePullRequestPreview": if value != nil { jtv, ok := value.(bool) @@ -6649,10 +6726,12 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.EnablePullRequestPreview = ptr.Bool(jtv) } + case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } + case "framework": if value != nil { jtv, ok := value.(string) @@ -6661,6 +6740,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.Framework = ptr.String(jtv) } + case "pullRequestEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6669,6 +6749,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.PullRequestEnvironmentName = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6758,7 @@ func awsRestjson1_deserializeDocumentAutoBranchCreationConfig(v **types.AutoBran } sv.Stage = types.Stage(jtv) } + default: _, _ = key, value @@ -6788,6 +6870,7 @@ func awsRestjson1_deserializeDocumentBackend(v **types.Backend, value interface{ } sv.StackArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6827,6 +6910,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.BackendEnvironmentArn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -6842,6 +6926,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } } + case "deploymentArtifacts": if value != nil { jtv, ok := value.(string) @@ -6850,6 +6935,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.DeploymentArtifacts = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -6858,6 +6944,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.EnvironmentName = ptr.String(jtv) } + case "stackName": if value != nil { jtv, ok := value.(string) @@ -6866,6 +6953,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } sv.StackName = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -6881,6 +6969,7 @@ func awsRestjson1_deserializeDocumentBackendEnvironment(v **types.BackendEnviron } } + default: _, _ = key, value @@ -6954,6 +7043,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6993,14 +7083,17 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.ActiveJobId = ptr.String(jtv) } + case "associatedResources": if err := awsRestjson1_deserializeDocumentAssociatedResources(&sv.AssociatedResources, value); err != nil { return err } + case "backend": if err := awsRestjson1_deserializeDocumentBackend(&sv.Backend, value); err != nil { return err } + case "backendEnvironmentArn": if value != nil { jtv, ok := value.(string) @@ -7009,6 +7102,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BackendEnvironmentArn = ptr.String(jtv) } + case "basicAuthCredentials": if value != nil { jtv, ok := value.(string) @@ -7017,6 +7111,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BasicAuthCredentials = ptr.String(jtv) } + case "branchArn": if value != nil { jtv, ok := value.(string) @@ -7025,6 +7120,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BranchArn = ptr.String(jtv) } + case "branchName": if value != nil { jtv, ok := value.(string) @@ -7033,6 +7129,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BranchName = ptr.String(jtv) } + case "buildSpec": if value != nil { jtv, ok := value.(string) @@ -7041,6 +7138,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.BuildSpec = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -7056,10 +7154,12 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } } + case "customDomains": if err := awsRestjson1_deserializeDocumentCustomDomains(&sv.CustomDomains, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -7068,6 +7168,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Description = ptr.String(jtv) } + case "destinationBranch": if value != nil { jtv, ok := value.(string) @@ -7076,6 +7177,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DestinationBranch = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -7084,6 +7186,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DisplayName = ptr.String(jtv) } + case "enableAutoBuild": if value != nil { jtv, ok := value.(bool) @@ -7092,6 +7195,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableAutoBuild = ptr.Bool(jtv) } + case "enableBasicAuth": if value != nil { jtv, ok := value.(bool) @@ -7100,6 +7204,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableBasicAuth = ptr.Bool(jtv) } + case "enableNotification": if value != nil { jtv, ok := value.(bool) @@ -7108,6 +7213,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnableNotification = ptr.Bool(jtv) } + case "enablePerformanceMode": if value != nil { jtv, ok := value.(bool) @@ -7116,6 +7222,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnablePerformanceMode = ptr.Bool(jtv) } + case "enablePullRequestPreview": if value != nil { jtv, ok := value.(bool) @@ -7124,10 +7231,12 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.EnablePullRequestPreview = ptr.Bool(jtv) } + case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } + case "framework": if value != nil { jtv, ok := value.(string) @@ -7136,6 +7245,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Framework = ptr.String(jtv) } + case "pullRequestEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -7144,6 +7254,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.PullRequestEnvironmentName = ptr.String(jtv) } + case "sourceBranch": if value != nil { jtv, ok := value.(string) @@ -7152,6 +7263,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.SourceBranch = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -7160,10 +7272,12 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Stage = types.Stage(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "thumbnailUrl": if value != nil { jtv, ok := value.(string) @@ -7172,6 +7286,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.ThumbnailUrl = ptr.String(jtv) } + case "totalNumberOfJobs": if value != nil { jtv, ok := value.(string) @@ -7180,6 +7295,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.TotalNumberOfJobs = ptr.String(jtv) } + case "ttl": if value != nil { jtv, ok := value.(string) @@ -7188,6 +7304,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Ttl = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -7203,6 +7320,7 @@ func awsRestjson1_deserializeDocumentBranch(v **types.Branch, value interface{}) } } + default: _, _ = key, value @@ -7276,6 +7394,7 @@ func awsRestjson1_deserializeDocumentCacheConfig(v **types.CacheConfig, value in } sv.Type = types.CacheConfigType(jtv) } + default: _, _ = key, value @@ -7315,6 +7434,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateVerificationDNSRecord = ptr.String(jtv) } + case "customCertificateArn": if value != nil { jtv, ok := value.(string) @@ -7323,6 +7443,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CustomCertificateArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7331,6 +7452,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Type = types.CertificateType(jtv) } + default: _, _ = key, value @@ -7406,6 +7528,7 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Condition = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -7414,6 +7537,7 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7422,6 +7546,7 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Status = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -7430,6 +7555,7 @@ func awsRestjson1_deserializeDocumentCustomRule(v **types.CustomRule, value inte } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -7503,6 +7629,7 @@ func awsRestjson1_deserializeDocumentDependentServiceFailureException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7538,6 +7665,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati if err := awsRestjson1_deserializeDocumentAutoSubDomainCreationPatterns(&sv.AutoSubDomainCreationPatterns, value); err != nil { return err } + case "autoSubDomainIAMRole": if value != nil { jtv, ok := value.(string) @@ -7546,10 +7674,12 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.AutoSubDomainIAMRole = ptr.String(jtv) } + case "certificate": if err := awsRestjson1_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } + case "certificateVerificationDNSRecord": if value != nil { jtv, ok := value.(string) @@ -7558,6 +7688,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.CertificateVerificationDNSRecord = ptr.String(jtv) } + case "domainAssociationArn": if value != nil { jtv, ok := value.(string) @@ -7566,6 +7697,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainAssociationArn = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -7574,6 +7706,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainName = ptr.String(jtv) } + case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -7582,6 +7715,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.DomainStatus = types.DomainStatus(jtv) } + case "enableAutoSubDomain": if value != nil { jtv, ok := value.(bool) @@ -7590,6 +7724,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.EnableAutoSubDomain = ptr.Bool(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7598,10 +7733,12 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.StatusReason = ptr.String(jtv) } + case "subDomains": if err := awsRestjson1_deserializeDocumentSubDomains(&sv.SubDomains, value); err != nil { return err } + case "updateStatus": if value != nil { jtv, ok := value.(string) @@ -7610,6 +7747,7 @@ func awsRestjson1_deserializeDocumentDomainAssociation(v **types.DomainAssociati } sv.UpdateStatus = types.UpdateStatus(jtv) } + default: _, _ = key, value @@ -7755,6 +7893,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7790,10 +7929,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentSteps(&sv.Steps, value); err != nil { return err } + case "summary": if err := awsRestjson1_deserializeDocumentJobSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -7867,6 +8008,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CommitId = ptr.String(jtv) } + case "commitMessage": if value != nil { jtv, ok := value.(string) @@ -7875,6 +8017,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CommitMessage = ptr.String(jtv) } + case "commitTime": if value != nil { switch jtv := value.(type) { @@ -7890,6 +8033,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -7905,6 +8049,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -7913,6 +8058,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -7921,6 +8067,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -7929,6 +8076,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobType = types.JobType(jtv) } + case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -7937,6 +8085,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceUrl = ptr.String(jtv) } + case "sourceUrlType": if value != nil { jtv, ok := value.(string) @@ -7945,6 +8094,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceUrlType = types.SourceUrlType(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -7960,6 +8110,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -7968,6 +8119,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -8007,6 +8159,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8046,6 +8199,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8085,6 +8239,7 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.BranchName = ptr.String(jtv) } + case "lastDeployTime": if value != nil { switch jtv := value.(type) { @@ -8100,6 +8255,7 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8108,6 +8264,7 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.Status = ptr.String(jtv) } + case "thumbnailUrl": if value != nil { jtv, ok := value.(string) @@ -8116,6 +8273,7 @@ func awsRestjson1_deserializeDocumentProductionBranch(v **types.ProductionBranch } sv.ThumbnailUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8155,6 +8313,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8163,6 +8322,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8238,6 +8398,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ArtifactsUrl = ptr.String(jtv) } + case "context": if value != nil { jtv, ok := value.(string) @@ -8246,6 +8407,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Context = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -8261,6 +8423,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } + case "logUrl": if value != nil { jtv, ok := value.(string) @@ -8269,10 +8432,12 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.LogUrl = ptr.String(jtv) } + case "screenshots": if err := awsRestjson1_deserializeDocumentScreenshots(&sv.Screenshots, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -8288,6 +8453,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8296,6 +8462,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Status = types.JobStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8304,6 +8471,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.StatusReason = ptr.String(jtv) } + case "stepName": if value != nil { jtv, ok := value.(string) @@ -8312,6 +8480,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.StepName = ptr.String(jtv) } + case "testArtifactsUrl": if value != nil { jtv, ok := value.(string) @@ -8320,6 +8489,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.TestArtifactsUrl = ptr.String(jtv) } + case "testConfigUrl": if value != nil { jtv, ok := value.(string) @@ -8328,6 +8498,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.TestConfigUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8401,10 +8572,12 @@ func awsRestjson1_deserializeDocumentSubDomain(v **types.SubDomain, value interf } sv.DnsRecord = ptr.String(jtv) } + case "subDomainSetting": if err := awsRestjson1_deserializeDocumentSubDomainSetting(&sv.SubDomainSetting, value); err != nil { return err } + case "verified": if value != nil { jtv, ok := value.(bool) @@ -8413,6 +8586,7 @@ func awsRestjson1_deserializeDocumentSubDomain(v **types.SubDomain, value interf } sv.Verified = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8486,6 +8660,7 @@ func awsRestjson1_deserializeDocumentSubDomainSetting(v **types.SubDomainSetting } sv.BranchName = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -8494,6 +8669,7 @@ func awsRestjson1_deserializeDocumentSubDomainSetting(v **types.SubDomainSetting } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8569,6 +8745,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8608,6 +8785,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BranchName = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -8623,6 +8801,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8631,6 +8810,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Description = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -8646,6 +8826,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } + case "webhookArn": if value != nil { jtv, ok := value.(string) @@ -8654,6 +8835,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookArn = ptr.String(jtv) } + case "webhookId": if value != nil { jtv, ok := value.(string) @@ -8662,6 +8844,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookId = ptr.String(jtv) } + case "webhookUrl": if value != nil { jtv, ok := value.(string) @@ -8670,6 +8853,7 @@ func awsRestjson1_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.WebhookUrl = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/amplifybackend/deserializers.go b/service/amplifybackend/deserializers.go index 624f7e38ee0..42f09d67518 100644 --- a/service/amplifybackend/deserializers.go +++ b/service/amplifybackend/deserializers.go @@ -185,6 +185,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -193,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -201,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -209,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -217,6 +221,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -225,6 +230,7 @@ func awsRestjson1_deserializeOpDocumentCloneBackendOutput(v **CloneBackendOutput } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -389,6 +395,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -397,6 +404,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -405,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -413,6 +422,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -421,6 +431,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -429,6 +440,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendOutput(v **CreateBackendOutp } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -593,6 +605,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -601,6 +614,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -609,6 +623,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -617,6 +632,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -625,6 +641,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -633,6 +650,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAPIOutput(v **CreateBackendA } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -797,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -805,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -813,6 +833,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -821,6 +842,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -829,6 +851,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -837,6 +860,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendAuthOutput(v **CreateBackend } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1001,6 +1025,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1009,6 +1034,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.BackendEnvironmentName = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1017,6 +1043,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.JobId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1025,6 +1052,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendConfigOutput(v **CreateBacke } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1189,6 +1217,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1197,6 +1226,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.BackendEnvironmentName = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1205,6 +1235,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.JobId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1213,6 +1244,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackendStorageOutput(v **CreateBack } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1377,6 +1409,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.AppId = ptr.String(jtv) } + case "challengeCode": if value != nil { jtv, ok := value.(string) @@ -1385,6 +1418,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.ChallengeCode = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -1393,6 +1427,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.SessionId = ptr.String(jtv) } + case "ttl": if value != nil { jtv, ok := value.(string) @@ -1401,6 +1436,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.Ttl = ptr.String(jtv) } + default: _, _ = key, value @@ -1565,6 +1601,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1573,6 +1610,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -1581,6 +1619,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1589,6 +1628,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -1597,6 +1637,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1605,6 +1646,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendOutput(v **DeleteBackendOutp } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1769,6 +1811,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1777,6 +1820,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -1785,6 +1829,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1793,6 +1838,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -1801,6 +1847,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1809,6 +1856,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAPIOutput(v **DeleteBackendA } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1973,6 +2021,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -1981,6 +2030,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -1989,6 +2039,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1997,6 +2048,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -2005,6 +2057,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2013,6 +2066,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendAuthOutput(v **DeleteBackend } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2177,6 +2231,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2185,6 +2240,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.BackendEnvironmentName = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2193,6 +2249,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.JobId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2201,6 +2258,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackendStorageOutput(v **DeleteBack } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2365,6 +2423,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTokenOutput(v **DeleteTokenOutput, } sv.IsSuccess = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2529,6 +2588,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2537,6 +2597,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -2545,6 +2606,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2553,6 +2615,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -2561,6 +2624,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2569,6 +2633,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBackendAPIModelsOutput(v **Genera } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2733,6 +2798,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AmplifyFeatureFlags = ptr.String(jtv) } + case "amplifyMetaConfig": if value != nil { jtv, ok := value.(string) @@ -2741,6 +2807,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AmplifyMetaConfig = ptr.String(jtv) } + case "appId": if value != nil { jtv, ok := value.(string) @@ -2749,6 +2816,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AppId = ptr.String(jtv) } + case "appName": if value != nil { jtv, ok := value.(string) @@ -2757,10 +2825,12 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.AppName = ptr.String(jtv) } + case "backendEnvironmentList": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.BackendEnvironmentList, value); err != nil { return err } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2769,6 +2839,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -2777,6 +2848,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendOutput(v **GetBackendOutput, va } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -2941,6 +3013,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -2949,6 +3022,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -2957,10 +3031,12 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.Error = ptr.String(jtv) } + case "resourceConfig": if err := awsRestjson1_deserializeDocumentBackendAPIResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -2969,6 +3045,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIOutput(v **GetBackendAPIOutp } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3133,6 +3210,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.ModelIntrospectionSchema = ptr.String(jtv) } + case "models": if value != nil { jtv, ok := value.(string) @@ -3141,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.Models = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3149,6 +3228,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAPIModelsOutput(v **GetBackendA } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -3313,6 +3393,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3321,6 +3402,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -3329,10 +3411,12 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.Error = ptr.String(jtv) } + case "resourceConfig": if err := awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3341,6 +3425,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendAuthOutput(v **GetBackendAuthOu } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3505,6 +3590,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3513,6 +3599,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.BackendEnvironmentName = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -3521,6 +3608,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.CreateTime = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -3529,6 +3617,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -3537,6 +3626,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -3545,6 +3635,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3553,6 +3644,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.Status = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -3561,6 +3653,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendJobOutput(v **GetBackendJobOutp } sv.UpdateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -3725,6 +3818,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3733,10 +3827,12 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.BackendEnvironmentName = ptr.String(jtv) } + case "resourceConfig": if err := awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3745,6 +3841,7 @@ func awsRestjson1_deserializeOpDocumentGetBackendStorageOutput(v **GetBackendSto } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3909,6 +4006,7 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.AppId = ptr.String(jtv) } + case "challengeCode": if value != nil { jtv, ok := value.(string) @@ -3917,6 +4015,7 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.ChallengeCode = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -3925,6 +4024,7 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.SessionId = ptr.String(jtv) } + case "ttl": if value != nil { jtv, ok := value.(string) @@ -3933,6 +4033,7 @@ func awsRestjson1_deserializeOpDocumentGetTokenOutput(v **GetTokenOutput, value } sv.Ttl = ptr.String(jtv) } + default: _, _ = key, value @@ -4097,6 +4198,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4105,6 +4207,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -4113,6 +4216,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -4121,6 +4225,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -4129,6 +4234,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4137,6 +4243,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendAuthOutput(v **ImportBackend } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4301,6 +4408,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4309,6 +4417,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.BackendEnvironmentName = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -4317,6 +4426,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.JobId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4325,6 +4435,7 @@ func awsRestjson1_deserializeOpDocumentImportBackendStorageOutput(v **ImportBack } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4485,6 +4596,7 @@ func awsRestjson1_deserializeOpDocumentListBackendJobsOutput(v **ListBackendJobs if err := awsRestjson1_deserializeDocumentListOfBackendJobRespObj(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4493,6 +4605,7 @@ func awsRestjson1_deserializeOpDocumentListBackendJobsOutput(v **ListBackendJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4653,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentListS3BucketsOutput(v **ListS3BucketsOutp if err := awsRestjson1_deserializeDocumentListOfS3BucketInfo(&sv.Buckets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4661,6 +4775,7 @@ func awsRestjson1_deserializeOpDocumentListS3BucketsOutput(v **ListS3BucketsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4825,6 +4940,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.AppId = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4949,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4958,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -4849,6 +4967,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4857,6 +4976,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAllBackendsOutput(v **RemoveAllBack } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5021,6 +5141,7 @@ func awsRestjson1_deserializeOpDocumentRemoveBackendConfigOutput(v **RemoveBacke } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -5185,6 +5306,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5193,6 +5315,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5201,6 +5324,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -5209,6 +5333,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -5217,6 +5342,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5225,6 +5351,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAPIOutput(v **UpdateBackendA } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5389,6 +5516,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5397,6 +5525,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.BackendEnvironmentName = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5405,6 +5534,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -5413,6 +5543,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -5421,6 +5552,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5429,6 +5561,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendAuthOutput(v **UpdateBackend } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5593,6 +5726,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.AppId = ptr.String(jtv) } + case "backendManagerAppId": if value != nil { jtv, ok := value.(string) @@ -5601,6 +5735,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.BackendManagerAppId = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5609,10 +5744,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendConfigOutput(v **UpdateBacke } sv.Error = ptr.String(jtv) } + case "loginAuthConfig": if err := awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(&sv.LoginAuthConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5777,6 +5914,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5923,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.BackendEnvironmentName = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -5793,6 +5932,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.CreateTime = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5801,6 +5941,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -5809,6 +5950,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -5817,6 +5959,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5825,6 +5968,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.Status = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5833,6 +5977,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendJobOutput(v **UpdateBackendJ } sv.UpdateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5997,6 +6142,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6005,6 +6151,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.BackendEnvironmentName = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -6013,6 +6160,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.JobId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6021,6 +6169,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackendStorageOutput(v **UpdateBack } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -6204,6 +6353,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.CognitoUserPoolId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6212,6 +6362,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.Description = ptr.String(jtv) } + case "expirationTime": if value != nil { switch jtv := value.(type) { @@ -6245,6 +6396,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } } + case "openIDAuthTTL": if value != nil { jtv, ok := value.(string) @@ -6253,6 +6405,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDAuthTTL = ptr.String(jtv) } + case "openIDClientId": if value != nil { jtv, ok := value.(string) @@ -6261,6 +6414,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDClientId = ptr.String(jtv) } + case "openIDIatTTL": if value != nil { jtv, ok := value.(string) @@ -6269,6 +6423,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDIatTTL = ptr.String(jtv) } + case "openIDIssueURL": if value != nil { jtv, ok := value.(string) @@ -6277,6 +6432,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDIssueURL = ptr.String(jtv) } + case "openIDProviderName": if value != nil { jtv, ok := value.(string) @@ -6285,6 +6441,7 @@ func awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(v **types.Bac } sv.OpenIDProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -6324,10 +6481,12 @@ func awsRestjson1_deserializeDocumentBackendAPIAuthType(v **types.BackendAPIAuth } sv.Mode = types.Mode(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentBackendAPIAppSyncAuthSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -6367,6 +6526,7 @@ func awsRestjson1_deserializeDocumentBackendAPIConflictResolution(v **types.Back } sv.ResolutionStrategy = types.ResolutionStrategy(jtv) } + default: _, _ = key, value @@ -6402,6 +6562,7 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA if err := awsRestjson1_deserializeDocumentListOfBackendAPIAuthType(&sv.AdditionalAuthTypes, value); err != nil { return err } + case "apiName": if value != nil { jtv, ok := value.(string) @@ -6410,14 +6571,17 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.ApiName = ptr.String(jtv) } + case "conflictResolution": if err := awsRestjson1_deserializeDocumentBackendAPIConflictResolution(&sv.ConflictResolution, value); err != nil { return err } + case "defaultAuthType": if err := awsRestjson1_deserializeDocumentBackendAPIAuthType(&sv.DefaultAuthType, value); err != nil { return err } + case "service": if value != nil { jtv, ok := value.(string) @@ -6426,6 +6590,7 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.Service = ptr.String(jtv) } + case "transformSchema": if value != nil { jtv, ok := value.(string) @@ -6434,6 +6599,7 @@ func awsRestjson1_deserializeDocumentBackendAPIResourceConfig(v **types.BackendA } sv.TransformSchema = ptr.String(jtv) } + default: _, _ = key, value @@ -6473,6 +6639,7 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.ClientId = ptr.String(jtv) } + case "key_id": if value != nil { jtv, ok := value.(string) @@ -6481,6 +6648,7 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.KeyId = ptr.String(jtv) } + case "private_key": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6657,7 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.PrivateKey = ptr.String(jtv) } + case "team_id": if value != nil { jtv, ok := value.(string) @@ -6497,6 +6666,7 @@ func awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(v **types.Ba } sv.TeamId = ptr.String(jtv) } + default: _, _ = key, value @@ -6536,6 +6706,7 @@ func awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(v **types.B } sv.ClientId = ptr.String(jtv) } + case "client_secret": if value != nil { jtv, ok := value.(string) @@ -6544,6 +6715,7 @@ func awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(v **types.B } sv.ClientSecret = ptr.String(jtv) } + default: _, _ = key, value @@ -6583,6 +6755,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.AppId = ptr.String(jtv) } + case "backendEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -6591,6 +6764,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.BackendEnvironmentName = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -6599,6 +6773,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.CreateTime = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6607,6 +6782,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Error = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -6615,6 +6791,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.JobId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -6623,6 +6800,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Operation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6631,6 +6809,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.Status = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -6639,6 +6818,7 @@ func awsRestjson1_deserializeDocumentBackendJobRespObj(v **types.BackendJobRespO } sv.UpdateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -6674,10 +6854,12 @@ func awsRestjson1_deserializeDocumentBackendStoragePermissions(v **types.Backend if err := awsRestjson1_deserializeDocumentListOfAuthenticatedElement(&sv.Authenticated, value); err != nil { return err } + case "unAuthenticated": if err := awsRestjson1_deserializeDocumentListOfUnAuthenticatedElement(&sv.UnAuthenticated, value); err != nil { return err } + default: _, _ = key, value @@ -6717,6 +6899,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6756,14 +6939,17 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthForgotPasswordConfig(v **t } sv.DeliveryMethod = types.DeliveryMethod(jtv) } + case "emailSettings": if err := awsRestjson1_deserializeDocumentEmailSettings(&sv.EmailSettings, value); err != nil { return err } + case "smsSettings": if err := awsRestjson1_deserializeDocumentSmsSettings(&sv.SmsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -6803,6 +6989,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(v **typ } sv.IdentityPoolName = ptr.String(jtv) } + case "unauthenticatedLogin": if value != nil { jtv, ok := value.(bool) @@ -6811,6 +6998,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(v **typ } sv.UnauthenticatedLogin = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6850,10 +7038,12 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthMFAConfig(v **types.Create } sv.MFAMode = types.MFAMode(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -6893,6 +7083,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(v **types.Crea } sv.DomainPrefix = ptr.String(jtv) } + case "oAuthGrantType": if value != nil { jtv, ok := value.(string) @@ -6901,22 +7092,27 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(v **types.Crea } sv.OAuthGrantType = types.OAuthGrantType(jtv) } + case "oAuthScopes": if err := awsRestjson1_deserializeDocumentListOfOAuthScopesElement(&sv.OAuthScopes, value); err != nil { return err } + case "redirectSignInURIs": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.RedirectSignInURIs, value); err != nil { return err } + case "redirectSignOutURIs": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.RedirectSignOutURIs, value); err != nil { return err } + case "socialProviderSettings": if err := awsRestjson1_deserializeDocumentSocialProviderSettings(&sv.SocialProviderSettings, value); err != nil { return err } + default: _, _ = key, value @@ -6952,6 +7148,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(v **t if err := awsRestjson1_deserializeDocumentListOfAdditionalConstraintsElement(&sv.AdditionalConstraints, value); err != nil { return err } + case "minimumLength": if value != nil { switch jtv := value.(type) { @@ -6985,6 +7182,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(v **t } } + default: _, _ = key, value @@ -7024,10 +7222,12 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(v **types.C } sv.AuthResources = types.AuthResources(jtv) } + case "identityPoolConfigs": if err := awsRestjson1_deserializeDocumentCreateBackendAuthIdentityPoolConfig(&sv.IdentityPoolConfigs, value); err != nil { return err } + case "service": if value != nil { jtv, ok := value.(string) @@ -7036,10 +7236,12 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthResourceConfig(v **types.C } sv.Service = types.Service(jtv) } + case "userPoolConfigs": if err := awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(&sv.UserPoolConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -7075,22 +7277,27 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C if err := awsRestjson1_deserializeDocumentCreateBackendAuthForgotPasswordConfig(&sv.ForgotPassword, value); err != nil { return err } + case "mfa": if err := awsRestjson1_deserializeDocumentCreateBackendAuthMFAConfig(&sv.Mfa, value); err != nil { return err } + case "oAuth": if err := awsRestjson1_deserializeDocumentCreateBackendAuthOAuthConfig(&sv.OAuth, value); err != nil { return err } + case "passwordPolicy": if err := awsRestjson1_deserializeDocumentCreateBackendAuthPasswordPolicyConfig(&sv.PasswordPolicy, value); err != nil { return err } + case "requiredSignUpAttributes": if err := awsRestjson1_deserializeDocumentListOfRequiredSignUpAttributesElement(&sv.RequiredSignUpAttributes, value); err != nil { return err } + case "signInMethod": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7306,7 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C } sv.SignInMethod = types.SignInMethod(jtv) } + case "userPoolName": if value != nil { jtv, ok := value.(string) @@ -7107,10 +7315,12 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthUserPoolConfig(v **types.C } sv.UserPoolName = ptr.String(jtv) } + case "verificationMessage": if err := awsRestjson1_deserializeDocumentCreateBackendAuthVerificationMessageConfig(&sv.VerificationMessage, value); err != nil { return err } + default: _, _ = key, value @@ -7150,14 +7360,17 @@ func awsRestjson1_deserializeDocumentCreateBackendAuthVerificationMessageConfig( } sv.DeliveryMethod = types.DeliveryMethod(jtv) } + case "emailSettings": if err := awsRestjson1_deserializeDocumentEmailSettings(&sv.EmailSettings, value); err != nil { return err } + case "smsSettings": if err := awsRestjson1_deserializeDocumentSmsSettings(&sv.SmsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7197,6 +7410,7 @@ func awsRestjson1_deserializeDocumentEmailSettings(v **types.EmailSettings, valu } sv.EmailMessage = ptr.String(jtv) } + case "emailSubject": if value != nil { jtv, ok := value.(string) @@ -7205,6 +7419,7 @@ func awsRestjson1_deserializeDocumentEmailSettings(v **types.EmailSettings, valu } sv.EmailSubject = ptr.String(jtv) } + default: _, _ = key, value @@ -7244,6 +7459,7 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7283,6 +7499,7 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.BucketName = ptr.String(jtv) } + case "imported": if value != nil { jtv, ok := value.(bool) @@ -7291,10 +7508,12 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.Imported = ptr.Bool(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentBackendStoragePermissions(&sv.Permissions, value); err != nil { return err } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -7303,6 +7522,7 @@ func awsRestjson1_deserializeDocumentGetBackendStorageResourceConfig(v **types.G } sv.ServiceName = types.ServiceName(jtv) } + default: _, _ = key, value @@ -7696,6 +7916,7 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsCognitoIdentityPoolId = ptr.String(jtv) } + case "aws_cognito_region": if value != nil { jtv, ok := value.(string) @@ -7704,6 +7925,7 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsCognitoRegion = ptr.String(jtv) } + case "aws_user_pools_id": if value != nil { jtv, ok := value.(string) @@ -7712,6 +7934,7 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsUserPoolsId = ptr.String(jtv) } + case "aws_user_pools_web_client_id": if value != nil { jtv, ok := value.(string) @@ -7720,6 +7943,7 @@ func awsRestjson1_deserializeDocumentLoginAuthConfigReqObj(v **types.LoginAuthCo } sv.AwsUserPoolsWebClientId = ptr.String(jtv) } + default: _, _ = key, value @@ -7759,6 +7983,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7767,6 +7992,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7806,6 +8032,7 @@ func awsRestjson1_deserializeDocumentS3BucketInfo(v **types.S3BucketInfo, value } sv.CreationDate = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7814,6 +8041,7 @@ func awsRestjson1_deserializeDocumentS3BucketInfo(v **types.S3BucketInfo, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7849,6 +8077,7 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac if err := awsRestjson1_deserializeDocumentListOfMfaTypesElement(&sv.MfaTypes, value); err != nil { return err } + case "smsMessage": if value != nil { jtv, ok := value.(string) @@ -7857,6 +8086,7 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SmsMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7896,6 +8126,7 @@ func awsRestjson1_deserializeDocumentSmsSettings(v **types.SmsSettings, value in } sv.SmsMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7931,18 +8162,22 @@ func awsRestjson1_deserializeDocumentSocialProviderSettings(v **types.SocialProv if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.Facebook, value); err != nil { return err } + case "Google": if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.Google, value); err != nil { return err } + case "LoginWithAmazon": if err := awsRestjson1_deserializeDocumentBackendAuthSocialProviderConfig(&sv.LoginWithAmazon, value); err != nil { return err } + case "SignInWithApple": if err := awsRestjson1_deserializeDocumentBackendAuthAppleProviderConfig(&sv.SignInWithApple, value); err != nil { return err } + default: _, _ = key, value @@ -7982,6 +8217,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.LimitType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7990,6 +8226,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/amplifyuibuilder/deserializers.go b/service/amplifyuibuilder/deserializers.go index e45ff6a0fb5..19baed812e9 100644 --- a/service/amplifyuibuilder/deserializers.go +++ b/service/amplifyuibuilder/deserializers.go @@ -182,6 +182,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent if err := awsRestjson1_deserializeDocumentComponent(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -342,6 +343,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormOutput(v **CreateFormOutput, va if err := awsRestjson1_deserializeDocumentForm(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -502,6 +504,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, if err := awsRestjson1_deserializeDocumentTheme(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -957,6 +960,7 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.AccessToken = ptr.String(jtv) } + case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -969,6 +973,7 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.ExpiresIn = ptr.Int32(int32(i64)) } + case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -977,6 +982,7 @@ func awsRestjson1_deserializeOpDocumentExchangeCodeForTokenOutput(v **ExchangeCo } sv.RefreshToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1131,6 +1137,7 @@ func awsRestjson1_deserializeOpDocumentExportComponentsOutput(v **ExportComponen if err := awsRestjson1_deserializeDocumentComponentList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1139,6 +1146,7 @@ func awsRestjson1_deserializeOpDocumentExportComponentsOutput(v **ExportComponen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1293,6 +1301,7 @@ func awsRestjson1_deserializeOpDocumentExportFormsOutput(v **ExportFormsOutput, if err := awsRestjson1_deserializeDocumentFormList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1301,6 +1310,7 @@ func awsRestjson1_deserializeOpDocumentExportFormsOutput(v **ExportFormsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1455,6 +1465,7 @@ func awsRestjson1_deserializeOpDocumentExportThemesOutput(v **ExportThemesOutput if err := awsRestjson1_deserializeDocumentThemeList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1463,6 +1474,7 @@ func awsRestjson1_deserializeOpDocumentExportThemesOutput(v **ExportThemesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1623,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentGetCodegenJobOutput(v **GetCodegenJobOutp if err := awsRestjson1_deserializeDocumentCodegenJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -1780,6 +1793,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -1937,6 +1951,7 @@ func awsRestjson1_deserializeOpDocumentGetFormOutput(v **GetFormOutput, value in if err := awsRestjson1_deserializeDocumentForm(&sv.Form, value); err != nil { return err } + default: _, _ = key, value @@ -2091,6 +2106,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataOutput(v **GetMetadataOutput, if err := awsRestjson1_deserializeDocumentFeaturesMap(&sv.Features, value); err != nil { return err } + default: _, _ = key, value @@ -2248,6 +2264,7 @@ func awsRestjson1_deserializeOpDocumentGetThemeOutput(v **GetThemeOutput, value if err := awsRestjson1_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } + default: _, _ = key, value @@ -2405,6 +2422,7 @@ func awsRestjson1_deserializeOpDocumentListCodegenJobsOutput(v **ListCodegenJobs if err := awsRestjson1_deserializeDocumentCodegenJobSummaryList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2413,6 +2431,7 @@ func awsRestjson1_deserializeOpDocumentListCodegenJobsOutput(v **ListCodegenJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2567,6 +2586,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2575,6 +2595,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2729,6 +2750,7 @@ func awsRestjson1_deserializeOpDocumentListFormsOutput(v **ListFormsOutput, valu if err := awsRestjson1_deserializeDocumentFormSummaryList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2737,6 +2759,7 @@ func awsRestjson1_deserializeOpDocumentListFormsOutput(v **ListFormsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2900,6 +2923,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3054,6 +3078,7 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va if err := awsRestjson1_deserializeDocumentThemeSummaryList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3062,6 +3087,7 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3314,6 +3340,7 @@ func awsRestjson1_deserializeOpDocumentRefreshTokenOutput(v **RefreshTokenOutput } sv.AccessToken = ptr.String(jtv) } + case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -3326,6 +3353,7 @@ func awsRestjson1_deserializeOpDocumentRefreshTokenOutput(v **RefreshTokenOutput } sv.ExpiresIn = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3483,6 +3511,7 @@ func awsRestjson1_deserializeOpDocumentStartCodegenJobOutput(v **StartCodegenJob if err := awsRestjson1_deserializeDocumentCodegenJob(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -3840,6 +3869,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentOutput(v **UpdateComponent if err := awsRestjson1_deserializeDocumentComponent(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -3997,6 +4027,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFormOutput(v **UpdateFormOutput, va if err := awsRestjson1_deserializeDocumentForm(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -4154,6 +4185,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, if err := awsRestjson1_deserializeDocumentTheme(&sv.Entity, value); err != nil { return err } + default: _, _ = key, value @@ -4441,18 +4473,22 @@ func awsRestjson1_deserializeDocumentActionParameters(v **types.ActionParameters if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Anchor, value); err != nil { return err } + case "fields": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Fields, value); err != nil { return err } + case "global": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Global, value); err != nil { return err } + case "id": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Id, value); err != nil { return err } + case "model": if value != nil { jtv, ok := value.(string) @@ -4461,22 +4497,27 @@ func awsRestjson1_deserializeDocumentActionParameters(v **types.ActionParameters } sv.Model = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentMutationActionSetStateParameter(&sv.State, value); err != nil { return err } + case "target": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Target, value); err != nil { return err } + case "type": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Type, value); err != nil { return err } + case "url": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Url, value); err != nil { return err } + default: _, _ = key, value @@ -4646,6 +4687,7 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.IsSemVer = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4654,6 +4696,7 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.Name = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4662,6 +4705,7 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.Reason = ptr.String(jtv) } + case "supportedVersion": if value != nil { jtv, ok := value.(string) @@ -4670,6 +4714,7 @@ func awsRestjson1_deserializeDocumentCodegenDependency(v **types.CodegenDependen } sv.SupportedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4709,6 +4754,7 @@ func awsRestjson1_deserializeDocumentCodegenFeatureFlags(v **types.CodegenFeatur } sv.IsNonModelSupported = ptr.Bool(jtv) } + case "isRelationshipSupported": if value != nil { jtv, ok := value.(bool) @@ -4717,6 +4763,7 @@ func awsRestjson1_deserializeDocumentCodegenFeatureFlags(v **types.CodegenFeatur } sv.IsRelationshipSupported = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4752,6 +4799,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataEnum(v **types.CodegenGen if err := awsRestjson1_deserializeDocumentCodegenGenericDataEnumValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -4862,6 +4910,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.DataType = types.CodegenGenericDataFieldDataType(jtv) } + case "dataTypeValue": if value != nil { jtv, ok := value.(string) @@ -4870,6 +4919,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.DataTypeValue = ptr.String(jtv) } + case "isArray": if value != nil { jtv, ok := value.(bool) @@ -4878,6 +4928,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.IsArray = ptr.Bool(jtv) } + case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -4886,10 +4937,12 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.ReadOnly = ptr.Bool(jtv) } + case "relationship": if err := awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(&sv.Relationship, value); err != nil { return err } + case "required": if value != nil { jtv, ok := value.(bool) @@ -4898,6 +4951,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataField(v **types.CodegenGe } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4968,6 +5022,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataModel(v **types.CodegenGe if err := awsRestjson1_deserializeDocumentCodegenGenericDataFields(&sv.Fields, value); err != nil { return err } + case "isJoinTable": if value != nil { jtv, ok := value.(bool) @@ -4976,10 +5031,12 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataModel(v **types.CodegenGe } sv.IsJoinTable = ptr.Bool(jtv) } + case "primaryKeys": if err := awsRestjson1_deserializeDocumentCodegenPrimaryKeysList(&sv.PrimaryKeys, value); err != nil { return err } + default: _, _ = key, value @@ -5050,6 +5107,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataNonModel(v **types.Codege if err := awsRestjson1_deserializeDocumentCodegenGenericDataNonModelFields(&sv.Fields, value); err != nil { return err } + default: _, _ = key, value @@ -5155,6 +5213,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type if err := awsRestjson1_deserializeDocumentAssociatedFieldsList(&sv.AssociatedFields, value); err != nil { return err } + case "belongsToFieldOnRelatedModel": if value != nil { jtv, ok := value.(string) @@ -5163,6 +5222,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.BelongsToFieldOnRelatedModel = ptr.String(jtv) } + case "canUnlinkAssociatedModel": if value != nil { jtv, ok := value.(bool) @@ -5171,6 +5231,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.CanUnlinkAssociatedModel = ptr.Bool(jtv) } + case "isHasManyIndex": if value != nil { jtv, ok := value.(bool) @@ -5179,6 +5240,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.IsHasManyIndex = ptr.Bool(jtv) } + case "relatedJoinFieldName": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5249,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedJoinFieldName = ptr.String(jtv) } + case "relatedJoinTableName": if value != nil { jtv, ok := value.(string) @@ -5195,10 +5258,12 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedJoinTableName = ptr.String(jtv) } + case "relatedModelFields": if err := awsRestjson1_deserializeDocumentRelatedModelFieldsList(&sv.RelatedModelFields, value); err != nil { return err } + case "relatedModelName": if value != nil { jtv, ok := value.(string) @@ -5207,6 +5272,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.RelatedModelName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5215,6 +5281,7 @@ func awsRestjson1_deserializeDocumentCodegenGenericDataRelationshipType(v **type } sv.Type = types.GenericDataRelationshipType(jtv) } + default: _, _ = key, value @@ -5254,10 +5321,12 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.AppId = ptr.String(jtv) } + case "asset": if err := awsRestjson1_deserializeDocumentCodegenJobAsset(&sv.Asset, value); err != nil { return err } + case "autoGenerateForms": if value != nil { jtv, ok := value.(bool) @@ -5266,6 +5335,7 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.AutoGenerateForms = ptr.Bool(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5278,10 +5348,12 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.CreatedAt = ptr.Time(t) } + case "dependencies": if err := awsRestjson1_deserializeDocumentCodegenDependencies(&sv.Dependencies, value); err != nil { return err } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5290,14 +5362,17 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.EnvironmentName = ptr.String(jtv) } + case "features": if err := awsRestjson1_deserializeDocumentCodegenFeatureFlags(&sv.Features, value); err != nil { return err } + case "genericDataSchema": if err := awsRestjson1_deserializeDocumentCodegenJobGenericDataSchema(&sv.GenericDataSchema, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5306,6 +5381,7 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5318,10 +5394,12 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.ModifiedAt = ptr.Time(t) } + case "renderConfig": if err := awsRestjson1_deserializeDocumentCodegenJobRenderConfig(&sv.RenderConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5330,6 +5408,7 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.Status = types.CodegenJobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5338,10 +5417,12 @@ func awsRestjson1_deserializeDocumentCodegenJob(v **types.CodegenJob, value inte } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5381,6 +5462,7 @@ func awsRestjson1_deserializeDocumentCodegenJobAsset(v **types.CodegenJobAsset, } sv.DownloadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -5420,18 +5502,22 @@ func awsRestjson1_deserializeDocumentCodegenJobGenericDataSchema(v **types.Codeg } sv.DataSourceType = types.CodegenJobGenericDataSourceType(jtv) } + case "enums": if err := awsRestjson1_deserializeDocumentCodegenGenericDataEnums(&sv.Enums, value); err != nil { return err } + case "models": if err := awsRestjson1_deserializeDocumentCodegenGenericDataModels(&sv.Models, value); err != nil { return err } + case "nonModels": if err := awsRestjson1_deserializeDocumentCodegenGenericDataNonModels(&sv.NonModels, value); err != nil { return err } + default: _, _ = key, value @@ -5511,6 +5597,7 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.AppId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5523,6 +5610,7 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.CreatedAt = ptr.Time(t) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5531,6 +5619,7 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5539,6 +5628,7 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5551,6 +5641,7 @@ func awsRestjson1_deserializeDocumentCodegenJobSummary(v **types.CodegenJobSumma } sv.ModifiedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5660,18 +5751,22 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.AppId = ptr.String(jtv) } + case "bindingProperties": if err := awsRestjson1_deserializeDocumentComponentBindingProperties(&sv.BindingProperties, value); err != nil { return err } + case "children": if err := awsRestjson1_deserializeDocumentComponentChildList(&sv.Children, value); err != nil { return err } + case "collectionProperties": if err := awsRestjson1_deserializeDocumentComponentCollectionProperties(&sv.CollectionProperties, value); err != nil { return err } + case "componentType": if value != nil { jtv, ok := value.(string) @@ -5680,6 +5775,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentType = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5692,6 +5788,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.CreatedAt = ptr.Time(t) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -5700,10 +5797,12 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.EnvironmentName = ptr.String(jtv) } + case "events": if err := awsRestjson1_deserializeDocumentComponentEvents(&sv.Events, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5712,6 +5811,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5724,6 +5824,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5732,14 +5833,17 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentComponentOverrides(&sv.Overrides, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Properties, value); err != nil { return err } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -5748,6 +5852,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SchemaVersion = ptr.String(jtv) } + case "sourceId": if value != nil { jtv, ok := value.(string) @@ -5756,14 +5861,17 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "variants": if err := awsRestjson1_deserializeDocumentComponentVariants(&sv.Variants, value); err != nil { return err } + default: _, _ = key, value @@ -5834,6 +5942,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C if err := awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(&sv.BindingProperties, value); err != nil { return err } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -5842,6 +5951,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C } sv.DefaultValue = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5850,6 +5960,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValue(v **types.C } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5889,6 +6000,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Bucket = ptr.String(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -5897,6 +6009,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.DefaultValue = ptr.String(jtv) } + case "field": if value != nil { jtv, ok := value.(string) @@ -5905,6 +6018,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Field = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -5913,6 +6027,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Key = ptr.String(jtv) } + case "model": if value != nil { jtv, ok := value.(string) @@ -5921,10 +6036,12 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.Model = ptr.String(jtv) } + case "predicates": if err := awsRestjson1_deserializeDocumentPredicateList(&sv.Predicates, value); err != nil { return err } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -5933,6 +6050,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.SlotName = ptr.String(jtv) } + case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -5941,6 +6059,7 @@ func awsRestjson1_deserializeDocumentComponentBindingPropertiesValueProperties(v } sv.UserAttribute = ptr.String(jtv) } + default: _, _ = key, value @@ -5976,6 +6095,7 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va if err := awsRestjson1_deserializeDocumentComponentChildList(&sv.Children, value); err != nil { return err } + case "componentType": if value != nil { jtv, ok := value.(string) @@ -5984,10 +6104,12 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.ComponentType = ptr.String(jtv) } + case "events": if err := awsRestjson1_deserializeDocumentComponentEvents(&sv.Events, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5996,10 +6118,12 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.Name = ptr.String(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentComponentProperties(&sv.Properties, value); err != nil { return err } + case "sourceId": if value != nil { jtv, ok := value.(string) @@ -6008,6 +6132,7 @@ func awsRestjson1_deserializeDocumentComponentChild(v **types.ComponentChild, va } sv.SourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6112,6 +6237,7 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Else, value); err != nil { return err } + case "field": if value != nil { jtv, ok := value.(string) @@ -6120,6 +6246,7 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Field = ptr.String(jtv) } + case "operand": if value != nil { jtv, ok := value.(string) @@ -6128,6 +6255,7 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Operand = ptr.String(jtv) } + case "operandType": if value != nil { jtv, ok := value.(string) @@ -6136,6 +6264,7 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.OperandType = ptr.String(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -6144,6 +6273,7 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Operator = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -6152,10 +6282,12 @@ func awsRestjson1_deserializeDocumentComponentConditionProperty(v **types.Compon } sv.Property = ptr.String(jtv) } + case "then": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Then, value); err != nil { return err } + default: _, _ = key, value @@ -6191,6 +6323,7 @@ func awsRestjson1_deserializeDocumentComponentDataConfiguration(v **types.Compon if err := awsRestjson1_deserializeDocumentIdentifierList(&sv.Identifiers, value); err != nil { return err } + case "model": if value != nil { jtv, ok := value.(string) @@ -6199,14 +6332,17 @@ func awsRestjson1_deserializeDocumentComponentDataConfiguration(v **types.Compon } sv.Model = ptr.String(jtv) } + case "predicate": if err := awsRestjson1_deserializeDocumentPredicate(&sv.Predicate, value); err != nil { return err } + case "sort": if err := awsRestjson1_deserializeDocumentSortPropertyList(&sv.Sort, value); err != nil { return err } + default: _, _ = key, value @@ -6246,6 +6382,7 @@ func awsRestjson1_deserializeDocumentComponentEvent(v **types.ComponentEvent, va } sv.Action = ptr.String(jtv) } + case "bindingEvent": if value != nil { jtv, ok := value.(string) @@ -6254,10 +6391,12 @@ func awsRestjson1_deserializeDocumentComponentEvent(v **types.ComponentEvent, va } sv.BindingEvent = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -6467,14 +6606,17 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper if err := awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(&sv.BindingProperties, value); err != nil { return err } + case "bindings": if err := awsRestjson1_deserializeDocumentFormBindings(&sv.Bindings, value); err != nil { return err } + case "collectionBindingProperties": if err := awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(&sv.CollectionBindingProperties, value); err != nil { return err } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -6483,14 +6625,17 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.ComponentName = ptr.String(jtv) } + case "concat": if err := awsRestjson1_deserializeDocumentComponentPropertyList(&sv.Concat, value); err != nil { return err } + case "condition": if err := awsRestjson1_deserializeDocumentComponentConditionProperty(&sv.Condition, value); err != nil { return err } + case "configured": if value != nil { jtv, ok := value.(bool) @@ -6499,6 +6644,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Configured = ptr.Bool(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -6507,6 +6653,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.DefaultValue = ptr.String(jtv) } + case "event": if value != nil { jtv, ok := value.(string) @@ -6515,6 +6662,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Event = ptr.String(jtv) } + case "importedValue": if value != nil { jtv, ok := value.(string) @@ -6523,6 +6671,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.ImportedValue = ptr.String(jtv) } + case "model": if value != nil { jtv, ok := value.(string) @@ -6531,6 +6680,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Model = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6689,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Property = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6547,6 +6698,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Type = ptr.String(jtv) } + case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6555,6 +6707,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.UserAttribute = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6563,6 +6716,7 @@ func awsRestjson1_deserializeDocumentComponentProperty(v **types.ComponentProper } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6602,6 +6756,7 @@ func awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(v **type } sv.Field = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -6610,6 +6765,7 @@ func awsRestjson1_deserializeDocumentComponentPropertyBindingProperties(v **type } sv.Property = ptr.String(jtv) } + default: _, _ = key, value @@ -6683,6 +6839,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.AppId = ptr.String(jtv) } + case "componentType": if value != nil { jtv, ok := value.(string) @@ -6691,6 +6848,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentType = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -6699,6 +6857,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6707,6 +6866,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6715,6 +6875,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6784,10 +6945,12 @@ func awsRestjson1_deserializeDocumentComponentVariant(v **types.ComponentVariant if err := awsRestjson1_deserializeDocumentComponentOverrides(&sv.Overrides, value); err != nil { return err } + case "variantValues": if err := awsRestjson1_deserializeDocumentComponentVariantValues(&sv.VariantValues, value); err != nil { return err } + default: _, _ = key, value @@ -6964,10 +7127,12 @@ func awsRestjson1_deserializeDocumentFieldConfig(v **types.FieldConfig, value in } sv.Excluded = ptr.Bool(jtv) } + case "inputType": if err := awsRestjson1_deserializeDocumentFieldInputConfig(&sv.InputType, value); err != nil { return err } + case "label": if value != nil { jtv, ok := value.(string) @@ -6976,14 +7141,17 @@ func awsRestjson1_deserializeDocumentFieldConfig(v **types.FieldConfig, value in } sv.Label = ptr.String(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } + case "validations": if err := awsRestjson1_deserializeDocumentValidationsList(&sv.Validations, value); err != nil { return err } + default: _, _ = key, value @@ -7023,6 +7191,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultChecked = ptr.Bool(jtv) } + case "defaultCountryCode": if value != nil { jtv, ok := value.(string) @@ -7031,6 +7200,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultCountryCode = ptr.String(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -7039,6 +7209,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DefaultValue = ptr.String(jtv) } + case "descriptiveText": if value != nil { jtv, ok := value.(string) @@ -7047,10 +7218,12 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.DescriptiveText = ptr.String(jtv) } + case "fileUploaderConfig": if err := awsRestjson1_deserializeDocumentFileUploaderFieldConfig(&sv.FileUploaderConfig, value); err != nil { return err } + case "isArray": if value != nil { jtv, ok := value.(bool) @@ -7059,6 +7232,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.IsArray = ptr.Bool(jtv) } + case "maxValue": if value != nil { switch jtv := value.(type) { @@ -7092,6 +7266,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } + case "minValue": if value != nil { switch jtv := value.(type) { @@ -7125,6 +7300,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7133,6 +7309,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Name = ptr.String(jtv) } + case "placeholder": if value != nil { jtv, ok := value.(string) @@ -7141,6 +7318,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Placeholder = ptr.String(jtv) } + case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -7149,6 +7327,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.ReadOnly = ptr.Bool(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -7157,6 +7336,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Required = ptr.Bool(jtv) } + case "step": if value != nil { switch jtv := value.(type) { @@ -7190,6 +7370,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } } + case "type": if value != nil { jtv, ok := value.(string) @@ -7198,6 +7379,7 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7206,10 +7388,12 @@ func awsRestjson1_deserializeDocumentFieldInputConfig(v **types.FieldInputConfig } sv.Value = ptr.String(jtv) } + case "valueMappings": if err := awsRestjson1_deserializeDocumentValueMappings(&sv.ValueMappings, value); err != nil { return err } + default: _, _ = key, value @@ -7346,10 +7530,12 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel if err := awsRestjson1_deserializeDocumentNumValues(&sv.NumValues, value); err != nil { return err } + case "strValues": if err := awsRestjson1_deserializeDocumentStrValues(&sv.StrValues, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7544,7 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel } sv.Type = ptr.String(jtv) } + case "validationMessage": if value != nil { jtv, ok := value.(string) @@ -7366,6 +7553,7 @@ func awsRestjson1_deserializeDocumentFieldValidationConfiguration(v **types.Fiel } sv.ValidationMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7401,6 +7589,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa if err := awsRestjson1_deserializeDocumentStrValues(&sv.AcceptedFileTypes, value); err != nil { return err } + case "accessLevel": if value != nil { jtv, ok := value.(string) @@ -7409,6 +7598,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.AccessLevel = types.StorageAccessLevel(jtv) } + case "isResumable": if value != nil { jtv, ok := value.(bool) @@ -7417,6 +7607,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.IsResumable = ptr.Bool(jtv) } + case "maxFileCount": if value != nil { jtv, ok := value.(json.Number) @@ -7429,6 +7620,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.MaxFileCount = ptr.Int32(int32(i64)) } + case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -7441,6 +7633,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.MaxSize = ptr.Int32(int32(i64)) } + case "showThumbnails": if value != nil { jtv, ok := value.(bool) @@ -7449,6 +7642,7 @@ func awsRestjson1_deserializeDocumentFileUploaderFieldConfig(v **types.FileUploa } sv.ShowThumbnails = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7488,14 +7682,17 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.AppId = ptr.String(jtv) } + case "cta": if err := awsRestjson1_deserializeDocumentFormCTA(&sv.Cta, value); err != nil { return err } + case "dataType": if err := awsRestjson1_deserializeDocumentFormDataTypeConfig(&sv.DataType, value); err != nil { return err } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -7504,10 +7701,12 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.EnvironmentName = ptr.String(jtv) } + case "fields": if err := awsRestjson1_deserializeDocumentFieldsMap(&sv.Fields, value); err != nil { return err } + case "formActionType": if value != nil { jtv, ok := value.(string) @@ -7516,6 +7715,7 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.FormActionType = types.FormActionType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7524,6 +7724,7 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.Id = ptr.String(jtv) } + case "labelDecorator": if value != nil { jtv, ok := value.(string) @@ -7532,6 +7733,7 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.LabelDecorator = types.LabelDecorator(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7540,6 +7742,7 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.Name = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -7548,18 +7751,22 @@ func awsRestjson1_deserializeDocumentForm(v **types.Form, value interface{}) err } sv.SchemaVersion = ptr.String(jtv) } + case "sectionalElements": if err := awsRestjson1_deserializeDocumentSectionalElementMap(&sv.SectionalElements, value); err != nil { return err } + case "style": if err := awsRestjson1_deserializeDocumentFormStyle(&sv.Style, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7599,6 +7806,7 @@ func awsRestjson1_deserializeDocumentFormBindingElement(v **types.FormBindingEle } sv.Element = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -7607,6 +7815,7 @@ func awsRestjson1_deserializeDocumentFormBindingElement(v **types.FormBindingEle } sv.Property = ptr.String(jtv) } + default: _, _ = key, value @@ -7681,6 +7890,7 @@ func awsRestjson1_deserializeDocumentFormButton(v **types.FormButton, value inte } sv.Children = ptr.String(jtv) } + case "excluded": if value != nil { jtv, ok := value.(bool) @@ -7689,10 +7899,12 @@ func awsRestjson1_deserializeDocumentFormButton(v **types.FormButton, value inte } sv.Excluded = ptr.Bool(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -7728,10 +7940,12 @@ func awsRestjson1_deserializeDocumentFormCTA(v **types.FormCTA, value interface{ if err := awsRestjson1_deserializeDocumentFormButton(&sv.Cancel, value); err != nil { return err } + case "clear": if err := awsRestjson1_deserializeDocumentFormButton(&sv.Clear, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -7740,10 +7954,12 @@ func awsRestjson1_deserializeDocumentFormCTA(v **types.FormCTA, value interface{ } sv.Position = types.FormButtonsPosition(jtv) } + case "submit": if err := awsRestjson1_deserializeDocumentFormButton(&sv.Submit, value); err != nil { return err } + default: _, _ = key, value @@ -7783,6 +7999,7 @@ func awsRestjson1_deserializeDocumentFormDataTypeConfig(v **types.FormDataTypeCo } sv.DataSourceType = types.FormDataSourceType(jtv) } + case "dataTypeName": if value != nil { jtv, ok := value.(string) @@ -7791,6 +8008,7 @@ func awsRestjson1_deserializeDocumentFormDataTypeConfig(v **types.FormDataTypeCo } sv.DataTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -7861,6 +8079,7 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValue(v **types.F if err := awsRestjson1_deserializeDocumentFormInputBindingPropertiesValueProperties(&sv.BindingProperties, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7869,6 +8088,7 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValue(v **types.F } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -7908,6 +8128,7 @@ func awsRestjson1_deserializeDocumentFormInputBindingPropertiesValueProperties(v } sv.Model = ptr.String(jtv) } + default: _, _ = key, value @@ -7943,10 +8164,12 @@ func awsRestjson1_deserializeDocumentFormInputValueProperty(v **types.FormInputV if err := awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(&sv.BindingProperties, value); err != nil { return err } + case "concat": if err := awsRestjson1_deserializeDocumentFormInputValuePropertyList(&sv.Concat, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -7955,6 +8178,7 @@ func awsRestjson1_deserializeDocumentFormInputValueProperty(v **types.FormInputV } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7994,6 +8218,7 @@ func awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(v * } sv.Field = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -8002,6 +8227,7 @@ func awsRestjson1_deserializeDocumentFormInputValuePropertyBindingProperties(v * } sv.Property = ptr.String(jtv) } + default: _, _ = key, value @@ -8105,14 +8331,17 @@ func awsRestjson1_deserializeDocumentFormStyle(v **types.FormStyle, value interf if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.HorizontalGap, value); err != nil { return err } + case "outerPadding": if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.OuterPadding, value); err != nil { return err } + case "verticalGap": if err := awsRestjson1_deserializeDocumentFormStyleConfig(&sv.VerticalGap, value); err != nil { return err } + default: _, _ = key, value @@ -8206,10 +8435,12 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.AppId = ptr.String(jtv) } + case "dataType": if err := awsRestjson1_deserializeDocumentFormDataTypeConfig(&sv.DataType, value); err != nil { return err } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -8218,6 +8449,7 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.EnvironmentName = ptr.String(jtv) } + case "formActionType": if value != nil { jtv, ok := value.(string) @@ -8226,6 +8458,7 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.FormActionType = types.FormActionType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8234,6 +8467,7 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8242,6 +8476,7 @@ func awsRestjson1_deserializeDocumentFormSummary(v **types.FormSummary, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8315,6 +8550,7 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.FragmentsFilePath = ptr.String(jtv) } + case "mutationsFilePath": if value != nil { jtv, ok := value.(string) @@ -8323,6 +8559,7 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.MutationsFilePath = ptr.String(jtv) } + case "queriesFilePath": if value != nil { jtv, ok := value.(string) @@ -8331,6 +8568,7 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.QueriesFilePath = ptr.String(jtv) } + case "subscriptionsFilePath": if value != nil { jtv, ok := value.(string) @@ -8339,6 +8577,7 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.SubscriptionsFilePath = ptr.String(jtv) } + case "typesFilePath": if value != nil { jtv, ok := value.(string) @@ -8347,6 +8586,7 @@ func awsRestjson1_deserializeDocumentGraphQLRenderConfig(v **types.GraphQLRender } sv.TypesFilePath = ptr.String(jtv) } + default: _, _ = key, value @@ -8422,6 +8662,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8461,6 +8702,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8500,6 +8742,7 @@ func awsRestjson1_deserializeDocumentMutationActionSetStateParameter(v **types.M } sv.ComponentName = ptr.String(jtv) } + case "property": if value != nil { jtv, ok := value.(string) @@ -8508,10 +8751,12 @@ func awsRestjson1_deserializeDocumentMutationActionSetStateParameter(v **types.M } sv.Property = ptr.String(jtv) } + case "set": if err := awsRestjson1_deserializeDocumentComponentProperty(&sv.Set, value); err != nil { return err } + default: _, _ = key, value @@ -8618,6 +8863,7 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf if err := awsRestjson1_deserializeDocumentPredicateList(&sv.And, value); err != nil { return err } + case "field": if value != nil { jtv, ok := value.(string) @@ -8626,6 +8872,7 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Field = ptr.String(jtv) } + case "operand": if value != nil { jtv, ok := value.(string) @@ -8634,6 +8881,7 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Operand = ptr.String(jtv) } + case "operandType": if value != nil { jtv, ok := value.(string) @@ -8642,6 +8890,7 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.OperandType = ptr.String(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -8650,10 +8899,12 @@ func awsRestjson1_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Operator = ptr.String(jtv) } + case "or": if err := awsRestjson1_deserializeDocumentPredicateList(&sv.Or, value); err != nil { return err } + default: _, _ = key, value @@ -8759,10 +9010,12 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta if err := awsRestjson1_deserializeDocumentApiConfiguration(&sv.ApiConfiguration, value); err != nil { return err } + case "dependencies": if err := awsRestjson1_deserializeDocumentReactCodegenDependencies(&sv.Dependencies, value); err != nil { return err } + case "inlineSourceMap": if value != nil { jtv, ok := value.(bool) @@ -8771,6 +9024,7 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.InlineSourceMap = jtv } + case "module": if value != nil { jtv, ok := value.(string) @@ -8779,6 +9033,7 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Module = types.JSModule(jtv) } + case "renderTypeDeclarations": if value != nil { jtv, ok := value.(bool) @@ -8787,6 +9042,7 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.RenderTypeDeclarations = jtv } + case "script": if value != nil { jtv, ok := value.(string) @@ -8795,6 +9051,7 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Script = types.JSScript(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -8803,6 +9060,7 @@ func awsRestjson1_deserializeDocumentReactStartCodegenJobData(v **types.ReactSta } sv.Target = types.JSTarget(jtv) } + default: _, _ = key, value @@ -8878,6 +9136,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8917,6 +9176,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8956,6 +9216,7 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Excluded = ptr.Bool(jtv) } + case "level": if value != nil { jtv, ok := value.(json.Number) @@ -8968,6 +9229,7 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Level = ptr.Int32(int32(i64)) } + case "orientation": if value != nil { jtv, ok := value.(string) @@ -8976,10 +9238,12 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Orientation = ptr.String(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentFieldPosition(&sv.Position, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -8988,6 +9252,7 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Text = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8996,6 +9261,7 @@ func awsRestjson1_deserializeDocumentSectionalElement(v **types.SectionalElement } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -9070,6 +9336,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9109,6 +9376,7 @@ func awsRestjson1_deserializeDocumentSortProperty(v **types.SortProperty, value } sv.Direction = types.SortDirection(jtv) } + case "field": if value != nil { jtv, ok := value.(string) @@ -9117,6 +9385,7 @@ func awsRestjson1_deserializeDocumentSortProperty(v **types.SortProperty, value } sv.Field = ptr.String(jtv) } + default: _, _ = key, value @@ -9262,6 +9531,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.AppId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -9274,6 +9544,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.CreatedAt = ptr.Time(t) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -9282,6 +9553,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9290,6 +9562,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -9302,6 +9575,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9310,18 +9584,22 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Name = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Overrides, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9395,6 +9673,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.AppId = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -9403,6 +9682,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9411,6 +9691,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9419,6 +9700,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9488,6 +9770,7 @@ func awsRestjson1_deserializeDocumentThemeValue(v **types.ThemeValue, value inte if err := awsRestjson1_deserializeDocumentThemeValuesList(&sv.Children, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -9496,6 +9779,7 @@ func awsRestjson1_deserializeDocumentThemeValue(v **types.ThemeValue, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9535,10 +9819,12 @@ func awsRestjson1_deserializeDocumentThemeValues(v **types.ThemeValues, value in } sv.Key = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentThemeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -9612,6 +9898,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9651,6 +9938,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9720,10 +10008,12 @@ func awsRestjson1_deserializeDocumentValueMapping(v **types.ValueMapping, value if err := awsRestjson1_deserializeDocumentFormInputValueProperty(&sv.DisplayValue, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentFormInputValueProperty(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -9793,10 +10083,12 @@ func awsRestjson1_deserializeDocumentValueMappings(v **types.ValueMappings, valu if err := awsRestjson1_deserializeDocumentFormInputBindingProperties(&sv.BindingProperties, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentValueMappingList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/apigateway/deserializers.go b/service/apigateway/deserializers.go index df74c17c7bf..5bdb50df963 100644 --- a/service/apigateway/deserializers.go +++ b/service/apigateway/deserializers.go @@ -199,6 +199,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } } + case "customerId": if value != nil { jtv, ok := value.(string) @@ -207,6 +208,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.CustomerId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -215,6 +217,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -223,6 +226,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Enabled = jtv } + case "id": if value != nil { jtv, ok := value.(string) @@ -231,6 +235,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Id = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -246,6 +251,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } } + case "name": if value != nil { jtv, ok := value.(string) @@ -254,14 +260,17 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Name = ptr.String(jtv) } + case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -270,6 +279,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -440,6 +450,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerCredentials = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -452,6 +463,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -460,6 +472,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -468,6 +481,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthType = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -476,6 +490,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Id = ptr.String(jtv) } + case "identitySource": if value != nil { jtv, ok := value.(string) @@ -484,6 +499,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentitySource = ptr.String(jtv) } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -492,6 +508,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -500,10 +517,12 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Name = ptr.String(jtv) } + case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -512,6 +531,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Type = types.AuthorizerType(jtv) } + default: _, _ = key, value @@ -682,6 +702,7 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.BasePath = ptr.String(jtv) } + case "restApiId": if value != nil { jtv, ok := value.(string) @@ -690,6 +711,7 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.RestApiId = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -698,6 +720,7 @@ func awsRestjson1_deserializeOpDocumentCreateBasePathMappingOutput(v **CreateBas } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -867,6 +890,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -882,6 +906,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } } + case "description": if value != nil { jtv, ok := value.(string) @@ -890,6 +915,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -898,6 +924,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1068,10 +1095,12 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationPartOutput(v **CreateD } sv.Id = ptr.String(jtv) } + case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } + case "properties": if value != nil { jtv, ok := value.(string) @@ -1080,6 +1109,7 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationPartOutput(v **CreateD } sv.Properties = ptr.String(jtv) } + default: _, _ = key, value @@ -1257,6 +1287,7 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1265,6 +1296,7 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } sv.Description = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -1273,6 +1305,7 @@ func awsRestjson1_deserializeOpDocumentCreateDocumentationVersionOutput(v **Crea } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1440,6 +1473,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.CertificateArn = ptr.String(jtv) } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -1448,6 +1482,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.CertificateName = ptr.String(jtv) } + case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -1463,6 +1498,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } } + case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -1471,6 +1507,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DistributionDomainName = ptr.String(jtv) } + case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -1479,6 +1516,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DistributionHostedZoneId = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -1487,6 +1525,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainName = ptr.String(jtv) } + case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -1495,6 +1534,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainNameStatus = types.DomainNameStatus(jtv) } + case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -1503,14 +1543,17 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainNameStatusMessage = ptr.String(jtv) } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -1519,6 +1562,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } + case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -1527,6 +1571,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalCertificateArn = ptr.String(jtv) } + case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -1535,6 +1580,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalCertificateName = ptr.String(jtv) } + case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -1543,6 +1589,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalDomainName = ptr.String(jtv) } + case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -1551,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.RegionalHostedZoneId = ptr.String(jtv) } + case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -1559,10 +1607,12 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.SecurityPolicy = types.SecurityPolicy(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1733,6 +1783,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1741,6 +1792,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1749,6 +1801,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1757,6 +1810,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -1765,6 +1819,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -1935,6 +1990,7 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1943,6 +1999,7 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.Name = ptr.String(jtv) } + case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -1951,6 +2008,7 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.ValidateRequestBody = jtv } + case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -1959,6 +2017,7 @@ func awsRestjson1_deserializeOpDocumentCreateRequestValidatorOutput(v **CreateRe } sv.ValidateRequestParameters = jtv } + default: _, _ = key, value @@ -2129,6 +2188,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.Id = ptr.String(jtv) } + case "parentId": if value != nil { jtv, ok := value.(string) @@ -2137,6 +2197,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.ParentId = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -2145,6 +2206,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.Path = ptr.String(jtv) } + case "pathPart": if value != nil { jtv, ok := value.(string) @@ -2153,10 +2215,12 @@ func awsRestjson1_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.PathPart = ptr.String(jtv) } + case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } + default: _, _ = key, value @@ -2324,10 +2388,12 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2343,6 +2409,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2351,6 +2418,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -2359,10 +2427,12 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2371,6 +2441,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -2383,6 +2454,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2391,6 +2463,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -2399,6 +2472,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -2407,10 +2481,12 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2419,10 +2495,12 @@ func awsRestjson1_deserializeOpDocumentCreateRestApiOutput(v **CreateRestApiOutp } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -2589,6 +2667,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -2597,6 +2676,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterEnabled = jtv } + case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -2605,6 +2685,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterSize = types.CacheClusterSize(jtv) } + case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -2613,10 +2694,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } + case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -2625,6 +2708,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2640,6 +2724,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2648,6 +2733,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2656,6 +2742,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.Description = ptr.String(jtv) } + case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -2664,6 +2751,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DocumentationVersion = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2679,10 +2767,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } } + case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -2691,10 +2781,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.StageName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -2703,10 +2795,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.TracingEnabled = jtv } + case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } + case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -2715,6 +2809,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.WebAclArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2881,6 +2976,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2985,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2897,6 +2994,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2905,6 +3003,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.Name = ptr.String(jtv) } + case "productCode": if value != nil { jtv, ok := value.(string) @@ -2913,18 +3012,22 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanOutput(v **CreateUsagePlan } sv.ProductCode = ptr.String(jtv) } + case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } + default: _, _ = key, value @@ -3095,6 +3198,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3103,6 +3207,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3111,6 +3216,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3119,6 +3225,7 @@ func awsRestjson1_deserializeOpDocumentCreateUsagePlanKeyOutput(v **CreateUsageP } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3286,6 +3393,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3294,6 +3402,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3302,6 +3411,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3310,6 +3420,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Status = types.VpcLinkStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3318,14 +3429,17 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } + default: _, _ = key, value @@ -5940,6 +6054,7 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -5955,6 +6070,7 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5963,6 +6079,7 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -5978,6 +6095,7 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } } + case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -5986,10 +6104,12 @@ func awsRestjson1_deserializeOpDocumentGenerateClientCertificateOutput(v **Gener } sv.PemEncodedCertificate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6154,6 +6274,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ApiKeyVersion = ptr.String(jtv) } + case "cloudwatchRoleArn": if value != nil { jtv, ok := value.(string) @@ -6162,14 +6283,17 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.CloudwatchRoleArn = ptr.String(jtv) } + case "features": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Features, value); err != nil { return err } + case "throttleSettings": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.ThrottleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -6341,6 +6465,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } } + case "customerId": if value != nil { jtv, ok := value.(string) @@ -6349,6 +6474,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.CustomerId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6357,6 +6483,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -6365,6 +6492,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Enabled = jtv } + case "id": if value != nil { jtv, ok := value.(string) @@ -6373,6 +6501,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Id = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6388,6 +6517,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6396,14 +6526,17 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Name = ptr.String(jtv) } + case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -6412,6 +6545,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeyOutput(v **GetApiKeyOutput, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6572,6 +6706,7 @@ func awsRestjson1_deserializeOpDocumentGetApiKeysOutput(v **GetApiKeysOutput, va if err := awsRestjson1_deserializeDocumentListOfApiKey(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -6580,10 +6715,12 @@ func awsRestjson1_deserializeOpDocumentGetApiKeysOutput(v **GetApiKeysOutput, va } sv.Position = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -6748,6 +6885,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerCredentials = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6760,6 +6898,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -6768,6 +6907,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerUri = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -6776,6 +6916,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthType = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6784,6 +6925,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Id = ptr.String(jtv) } + case "identitySource": if value != nil { jtv, ok := value.(string) @@ -6792,6 +6934,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentitySource = ptr.String(jtv) } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -6800,6 +6943,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentityValidationExpression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6808,10 +6952,12 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Name = ptr.String(jtv) } + case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6820,6 +6966,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Type = types.AuthorizerType(jtv) } + default: _, _ = key, value @@ -6980,6 +7127,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu if err := awsRestjson1_deserializeDocumentListOfAuthorizer(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7136,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -7152,6 +7301,7 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.BasePath = ptr.String(jtv) } + case "restApiId": if value != nil { jtv, ok := value.(string) @@ -7160,6 +7310,7 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.RestApiId = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -7168,6 +7319,7 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingOutput(v **GetBasePathM } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -7328,6 +7480,7 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingsOutput(v **GetBasePath if err := awsRestjson1_deserializeDocumentListOfBasePathMapping(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -7336,6 +7489,7 @@ func awsRestjson1_deserializeOpDocumentGetBasePathMappingsOutput(v **GetBasePath } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -7500,6 +7654,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7515,6 +7670,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } } + case "description": if value != nil { jtv, ok := value.(string) @@ -7523,6 +7679,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -7538,6 +7695,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } } + case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -7546,10 +7704,12 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificateOutput(v **GetClientC } sv.PemEncodedCertificate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7710,6 +7870,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificatesOutput(v **GetClient if err := awsRestjson1_deserializeDocumentListOfClientCertificate(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -7718,6 +7879,7 @@ func awsRestjson1_deserializeOpDocumentGetClientCertificatesOutput(v **GetClient } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -7881,6 +8043,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7896,6 +8059,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -7904,6 +8068,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7912,6 +8077,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -8075,6 +8241,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocumentListOfDeployment(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -8083,6 +8250,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -8247,10 +8415,12 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartOutput(v **GetDocumen } sv.Id = ptr.String(jtv) } + case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } + case "properties": if value != nil { jtv, ok := value.(string) @@ -8259,6 +8429,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartOutput(v **GetDocumen } sv.Properties = ptr.String(jtv) } + default: _, _ = key, value @@ -8419,6 +8590,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartsOutput(v **GetDocume if err := awsRestjson1_deserializeDocumentListOfDocumentationPart(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -8427,6 +8599,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationPartsOutput(v **GetDocume } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -8595,6 +8768,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8603,6 +8777,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } sv.Description = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -8611,6 +8786,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionOutput(v **GetDocu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8771,6 +8947,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionsOutput(v **GetDoc if err := awsRestjson1_deserializeDocumentListOfDocumentationVersion(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -8779,6 +8956,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentationVersionsOutput(v **GetDoc } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -8943,6 +9121,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.CertificateArn = ptr.String(jtv) } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -8951,6 +9130,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.CertificateName = ptr.String(jtv) } + case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -8966,6 +9146,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } } + case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -8974,6 +9155,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DistributionDomainName = ptr.String(jtv) } + case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -8982,6 +9164,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DistributionHostedZoneId = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -8990,6 +9173,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainName = ptr.String(jtv) } + case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -8998,6 +9182,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainNameStatus = types.DomainNameStatus(jtv) } + case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -9006,14 +9191,17 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainNameStatusMessage = ptr.String(jtv) } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -9022,6 +9210,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } + case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -9030,6 +9219,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalCertificateArn = ptr.String(jtv) } + case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -9038,6 +9228,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalCertificateName = ptr.String(jtv) } + case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -9046,6 +9237,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalDomainName = ptr.String(jtv) } + case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -9054,6 +9246,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.RegionalHostedZoneId = ptr.String(jtv) } + case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -9062,10 +9255,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.SecurityPolicy = types.SecurityPolicy(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9226,6 +9421,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu if err := awsRestjson1_deserializeDocumentListOfDomainName(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -9234,6 +9430,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -9550,14 +9747,17 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.DefaultResponse = jtv } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -9566,6 +9766,7 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.ResponseType = types.GatewayResponseType(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -9574,6 +9775,7 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponseOutput(v **GetGatewayRe } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9734,6 +9936,7 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponsesOutput(v **GetGatewayR if err := awsRestjson1_deserializeDocumentListOfGatewayResponse(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -9742,6 +9945,7 @@ func awsRestjson1_deserializeOpDocumentGetGatewayResponsesOutput(v **GetGatewayR } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -9902,6 +10106,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } + case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -9910,6 +10115,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.CacheNamespace = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -9918,6 +10124,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -9926,6 +10133,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -9934,6 +10142,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "credentials": if value != nil { jtv, ok := value.(string) @@ -9942,6 +10151,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Credentials = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -9950,10 +10160,12 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.HttpMethod = ptr.String(jtv) } + case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -9962,14 +10174,17 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PassthroughBehavior = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -9982,10 +10197,12 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TimeoutInMillis = int32(i64) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9994,6 +10211,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Type = types.IntegrationType(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -10002,6 +10220,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -10166,14 +10385,17 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -10182,6 +10404,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.SelectionPattern = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -10190,6 +10413,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -10351,10 +10575,12 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -10363,6 +10589,7 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.AuthorizationType = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -10371,6 +10598,7 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.AuthorizerId = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -10379,14 +10607,17 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.HttpMethod = ptr.String(jtv) } + case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } + case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -10395,14 +10626,17 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } + case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -10411,6 +10645,7 @@ func awsRestjson1_deserializeOpDocumentGetMethodOutput(v **GetMethodOutput, valu } sv.RequestValidatorId = ptr.String(jtv) } + default: _, _ = key, value @@ -10568,10 +10803,12 @@ func awsRestjson1_deserializeOpDocumentGetMethodResponseOutput(v **GetMethodResp if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -10580,6 +10817,7 @@ func awsRestjson1_deserializeOpDocumentGetMethodResponseOutput(v **GetMethodResp } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -10744,6 +10982,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10752,6 +10991,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10760,6 +11000,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10768,6 +11009,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -10776,6 +11018,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -10936,6 +11179,7 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsRestjson1_deserializeDocumentListOfModel(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -10944,6 +11188,7 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -11108,6 +11353,7 @@ func awsRestjson1_deserializeOpDocumentGetModelTemplateOutput(v **GetModelTempla } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11272,6 +11518,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11280,6 +11527,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.Name = ptr.String(jtv) } + case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -11288,6 +11536,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.ValidateRequestBody = jtv } + case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -11296,6 +11545,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorOutput(v **GetRequestV } sv.ValidateRequestParameters = jtv } + default: _, _ = key, value @@ -11456,6 +11706,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorsOutput(v **GetRequest if err := awsRestjson1_deserializeDocumentListOfRequestValidator(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -11464,6 +11715,7 @@ func awsRestjson1_deserializeOpDocumentGetRequestValidatorsOutput(v **GetRequest } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -11625,6 +11877,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.Id = ptr.String(jtv) } + case "parentId": if value != nil { jtv, ok := value.(string) @@ -11633,6 +11886,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.ParentId = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -11641,6 +11895,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.Path = ptr.String(jtv) } + case "pathPart": if value != nil { jtv, ok := value.(string) @@ -11649,10 +11904,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.PathPart = ptr.String(jtv) } + case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } + default: _, _ = key, value @@ -11813,6 +12070,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput if err := awsRestjson1_deserializeDocumentListOfResource(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -11821,6 +12079,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -11985,10 +12244,12 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -12004,6 +12265,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -12012,6 +12274,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -12020,10 +12283,12 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12032,6 +12297,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -12044,6 +12310,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12052,6 +12319,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -12060,6 +12328,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -12068,10 +12337,12 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -12080,10 +12351,12 @@ func awsRestjson1_deserializeOpDocumentGetRestApiOutput(v **GetRestApiOutput, va } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -12244,6 +12517,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApisOutput(v **GetRestApisOutput, if err := awsRestjson1_deserializeDocumentListOfRestApi(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -12252,6 +12526,7 @@ func awsRestjson1_deserializeOpDocumentGetRestApisOutput(v **GetRestApisOutput, } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -12564,6 +12839,7 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va if err := awsRestjson1_deserializeDocumentListOfSdkConfigurationProperty(&sv.ConfigurationProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12572,6 +12848,7 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.Description = ptr.String(jtv) } + case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -12580,6 +12857,7 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.FriendlyName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12588,6 +12866,7 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypeOutput(v **GetSdkTypeOutput, va } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12748,6 +13027,7 @@ func awsRestjson1_deserializeOpDocumentGetSdkTypesOutput(v **GetSdkTypesOutput, if err := awsRestjson1_deserializeDocumentListOfSdkType(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -12914,6 +13194,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -12922,6 +13203,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterEnabled = jtv } + case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -12930,6 +13212,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterSize = types.CacheClusterSize(jtv) } + case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -12938,10 +13221,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } + case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -12950,6 +13235,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -12965,6 +13251,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -12973,6 +13260,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12981,6 +13269,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.Description = ptr.String(jtv) } + case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -12989,6 +13278,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DocumentationVersion = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -13004,10 +13294,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } } + case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -13016,10 +13308,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.StageName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -13028,10 +13322,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.TracingEnabled = jtv } + case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } + case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -13040,6 +13336,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.WebAclArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13206,6 +13503,7 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu if err := awsRestjson1_deserializeDocumentListOfStage(&sv.Item, value); err != nil { return err } + default: _, _ = key, value @@ -13366,6 +13664,7 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13530,10 +13829,12 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.EndDate = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentMapOfKeyUsages(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -13542,6 +13843,7 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.Position = ptr.String(jtv) } + case "startDate": if value != nil { jtv, ok := value.(string) @@ -13550,6 +13852,7 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.StartDate = ptr.String(jtv) } + case "usagePlanId": if value != nil { jtv, ok := value.(string) @@ -13558,6 +13861,7 @@ func awsRestjson1_deserializeOpDocumentGetUsageOutput(v **GetUsageOutput, value } sv.UsagePlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -13718,6 +14022,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -13726,6 +14031,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13734,6 +14040,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13742,6 +14049,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.Name = ptr.String(jtv) } + case "productCode": if value != nil { jtv, ok := value.(string) @@ -13750,18 +14058,22 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanOutput(v **GetUsagePlanOutput } sv.ProductCode = ptr.String(jtv) } + case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } + default: _, _ = key, value @@ -13926,6 +14238,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13934,6 +14247,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13942,6 +14256,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -13950,6 +14265,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeyOutput(v **GetUsagePlanKey } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14110,6 +14426,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeysOutput(v **GetUsagePlanKe if err := awsRestjson1_deserializeDocumentListOfUsagePlanKey(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -14118,6 +14435,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlanKeysOutput(v **GetUsagePlanKe } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -14278,6 +14596,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlansOutput(v **GetUsagePlansOutp if err := awsRestjson1_deserializeDocumentListOfUsagePlan(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -14286,6 +14605,7 @@ func awsRestjson1_deserializeOpDocumentGetUsagePlansOutput(v **GetUsagePlansOutp } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -14450,6 +14770,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14458,6 +14779,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14466,6 +14788,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14474,6 +14797,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Status = types.VpcLinkStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -14482,14 +14806,17 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } + default: _, _ = key, value @@ -14650,6 +14977,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, if err := awsRestjson1_deserializeDocumentListOfVpcLink(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -14658,6 +14986,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, } sv.Position = ptr.String(jtv) } + default: _, _ = key, value @@ -14824,10 +15153,12 @@ func awsRestjson1_deserializeOpDocumentImportApiKeysOutput(v **ImportApiKeysOutp if err := awsRestjson1_deserializeDocumentListOfString(&sv.Ids, value); err != nil { return err } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -14994,10 +15325,12 @@ func awsRestjson1_deserializeOpDocumentImportDocumentationPartsOutput(v **Import if err := awsRestjson1_deserializeDocumentListOfString(&sv.Ids, value); err != nil { return err } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -15168,10 +15501,12 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -15187,6 +15522,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15195,6 +15531,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -15203,10 +15540,12 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -15215,6 +15554,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -15227,6 +15567,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15235,6 +15576,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -15243,6 +15585,7 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -15251,10 +15594,12 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -15263,10 +15608,12 @@ func awsRestjson1_deserializeOpDocumentImportRestApiOutput(v **ImportRestApiOutp } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -15437,14 +15784,17 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.DefaultResponse = jtv } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -15453,6 +15803,7 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.ResponseType = types.GatewayResponseType(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -15461,6 +15812,7 @@ func awsRestjson1_deserializeOpDocumentPutGatewayResponseOutput(v **PutGatewayRe } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -15627,6 +15979,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } + case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -15635,6 +15988,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.CacheNamespace = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15643,6 +15997,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -15651,6 +16006,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -15659,6 +16015,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "credentials": if value != nil { jtv, ok := value.(string) @@ -15667,6 +16024,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Credentials = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -15675,10 +16033,12 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.HttpMethod = ptr.String(jtv) } + case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -15687,14 +16047,17 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.PassthroughBehavior = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -15707,10 +16070,12 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.TimeoutInMillis = int32(i64) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15719,6 +16084,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Type = types.IntegrationType(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -15727,6 +16093,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -15897,14 +16264,17 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -15913,6 +16283,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.SelectionPattern = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -15921,6 +16292,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationResponseOutput(v **PutInteg } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -16091,10 +16463,12 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -16103,6 +16477,7 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.AuthorizationType = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -16111,6 +16486,7 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.AuthorizerId = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -16119,14 +16495,17 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.HttpMethod = ptr.String(jtv) } + case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } + case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -16135,14 +16514,17 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } + case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -16151,6 +16533,7 @@ func awsRestjson1_deserializeOpDocumentPutMethodOutput(v **PutMethodOutput, valu } sv.RequestValidatorId = ptr.String(jtv) } + default: _, _ = key, value @@ -16317,10 +16700,12 @@ func awsRestjson1_deserializeOpDocumentPutMethodResponseOutput(v **PutMethodResp if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -16329,6 +16714,7 @@ func awsRestjson1_deserializeOpDocumentPutMethodResponseOutput(v **PutMethodResp } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -16499,10 +16885,12 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -16518,6 +16906,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16526,6 +16915,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -16534,10 +16924,12 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -16546,6 +16938,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -16558,6 +16951,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16566,6 +16960,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -16574,6 +16969,7 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -16582,10 +16978,12 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -16594,10 +16992,12 @@ func awsRestjson1_deserializeOpDocumentPutRestApiOutput(v **PutRestApiOutput, va } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -16867,10 +17267,12 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke if err := awsRestjson1_deserializeDocumentMapOfStringToList(&sv.Authorization, value); err != nil { return err } + case "claims": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Claims, value); err != nil { return err } + case "clientStatus": if value != nil { jtv, ok := value.(json.Number) @@ -16883,6 +17285,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.ClientStatus = int32(i64) } + case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -16895,6 +17298,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Latency = i64 } + case "log": if value != nil { jtv, ok := value.(string) @@ -16903,6 +17307,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Log = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -16911,6 +17316,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.Policy = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -16919,6 +17325,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.PrincipalId = ptr.String(jtv) } + default: _, _ = key, value @@ -17083,10 +17490,12 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Body = ptr.String(jtv) } + case "headers": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Headers, value); err != nil { return err } + case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -17099,6 +17508,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Latency = i64 } + case "log": if value != nil { jtv, ok := value.(string) @@ -17107,10 +17517,12 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Log = ptr.String(jtv) } + case "multiValueHeaders": if err := awsRestjson1_deserializeDocumentMapOfStringToList(&sv.MultiValueHeaders, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(json.Number) @@ -17123,6 +17535,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeMethodOutput(v **TestInvokeMeth } sv.Status = int32(i64) } + default: _, _ = key, value @@ -17402,6 +17815,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp } sv.ApiKeyVersion = ptr.String(jtv) } + case "cloudwatchRoleArn": if value != nil { jtv, ok := value.(string) @@ -17410,14 +17824,17 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp } sv.CloudwatchRoleArn = ptr.String(jtv) } + case "features": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Features, value); err != nil { return err } + case "throttleSettings": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.ThrottleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -17595,6 +18012,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } } + case "customerId": if value != nil { jtv, ok := value.(string) @@ -17603,6 +18021,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.CustomerId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17611,6 +18030,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -17619,6 +18039,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Enabled = jtv } + case "id": if value != nil { jtv, ok := value.(string) @@ -17627,6 +18048,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Id = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -17642,6 +18064,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } } + case "name": if value != nil { jtv, ok := value.(string) @@ -17650,14 +18073,17 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Name = ptr.String(jtv) } + case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -17666,6 +18092,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17836,6 +18263,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerCredentials = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17848,6 +18276,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -17856,6 +18285,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -17864,6 +18294,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthType = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17872,6 +18303,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Id = ptr.String(jtv) } + case "identitySource": if value != nil { jtv, ok := value.(string) @@ -17880,6 +18312,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentitySource = ptr.String(jtv) } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -17888,6 +18321,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17896,10 +18330,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Name = ptr.String(jtv) } + case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -17908,6 +18344,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Type = types.AuthorizerType(jtv) } + default: _, _ = key, value @@ -18078,6 +18515,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.BasePath = ptr.String(jtv) } + case "restApiId": if value != nil { jtv, ok := value.(string) @@ -18086,6 +18524,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.RestApiId = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -18094,6 +18533,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBasePathMappingOutput(v **UpdateBas } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -18264,6 +18704,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -18279,6 +18720,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } } + case "description": if value != nil { jtv, ok := value.(string) @@ -18287,6 +18729,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -18302,6 +18745,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } } + case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -18310,10 +18754,12 @@ func awsRestjson1_deserializeOpDocumentUpdateClientCertificateOutput(v **UpdateC } sv.PemEncodedCertificate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18483,6 +18929,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -18498,6 +18945,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } } + case "description": if value != nil { jtv, ok := value.(string) @@ -18506,6 +18954,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18514,6 +18963,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -18684,10 +19134,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationPartOutput(v **UpdateD } sv.Id = ptr.String(jtv) } + case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } + case "properties": if value != nil { jtv, ok := value.(string) @@ -18696,6 +19148,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationPartOutput(v **UpdateD } sv.Properties = ptr.String(jtv) } + default: _, _ = key, value @@ -18873,6 +19326,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } } + case "description": if value != nil { jtv, ok := value.(string) @@ -18881,6 +19335,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } sv.Description = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -18889,6 +19344,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDocumentationVersionOutput(v **Upda } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -19059,6 +19515,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.CertificateArn = ptr.String(jtv) } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -19067,6 +19524,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.CertificateName = ptr.String(jtv) } + case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -19082,6 +19540,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } } + case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -19090,6 +19549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DistributionDomainName = ptr.String(jtv) } + case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -19098,6 +19558,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DistributionHostedZoneId = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -19106,6 +19567,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainName = ptr.String(jtv) } + case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -19114,6 +19576,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainNameStatus = types.DomainNameStatus(jtv) } + case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -19122,14 +19585,17 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainNameStatusMessage = ptr.String(jtv) } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19138,6 +19604,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } + case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -19146,6 +19613,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalCertificateArn = ptr.String(jtv) } + case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -19154,6 +19622,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalCertificateName = ptr.String(jtv) } + case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -19162,6 +19631,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalDomainName = ptr.String(jtv) } + case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -19170,6 +19640,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.RegionalHostedZoneId = ptr.String(jtv) } + case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -19178,10 +19649,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.SecurityPolicy = types.SecurityPolicy(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19352,14 +19825,17 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.DefaultResponse = jtv } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -19368,6 +19844,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.ResponseType = types.GatewayResponseType(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -19376,6 +19853,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayResponseOutput(v **UpdateGat } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -19542,6 +20020,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } + case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -19550,6 +20029,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.CacheNamespace = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -19558,6 +20038,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -19566,6 +20047,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -19574,6 +20056,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "credentials": if value != nil { jtv, ok := value.(string) @@ -19582,6 +20065,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Credentials = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -19590,10 +20074,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.HttpMethod = ptr.String(jtv) } + case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -19602,14 +20088,17 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PassthroughBehavior = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -19622,10 +20111,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TimeoutInMillis = int32(i64) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -19634,6 +20125,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Type = types.IntegrationType(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -19642,6 +20134,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -19812,14 +20305,17 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -19828,6 +20324,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.SelectionPattern = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -19836,6 +20333,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -20003,10 +20501,12 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -20015,6 +20515,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.AuthorizationType = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -20023,6 +20524,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.AuthorizerId = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -20031,14 +20533,17 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.HttpMethod = ptr.String(jtv) } + case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } + case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -20047,14 +20552,17 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } + case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -20063,6 +20571,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodOutput(v **UpdateMethodOutput } sv.RequestValidatorId = ptr.String(jtv) } + default: _, _ = key, value @@ -20229,10 +20738,12 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodResponseOutput(v **UpdateMeth if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -20241,6 +20752,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMethodResponseOutput(v **UpdateMeth } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -20411,6 +20923,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20419,6 +20932,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20427,6 +20941,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20435,6 +20950,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -20443,6 +20959,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -20613,6 +21130,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20621,6 +21139,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.Name = ptr.String(jtv) } + case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -20629,6 +21148,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.ValidateRequestBody = jtv } + case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -20637,6 +21157,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRequestValidatorOutput(v **UpdateRe } sv.ValidateRequestParameters = jtv } + default: _, _ = key, value @@ -20804,6 +21325,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.Id = ptr.String(jtv) } + case "parentId": if value != nil { jtv, ok := value.(string) @@ -20812,6 +21334,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.ParentId = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -20820,6 +21343,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.Path = ptr.String(jtv) } + case "pathPart": if value != nil { jtv, ok := value.(string) @@ -20828,10 +21352,12 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu } sv.PathPart = ptr.String(jtv) } + case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } + default: _, _ = key, value @@ -21002,10 +21528,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -21021,6 +21549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -21029,6 +21558,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -21037,10 +21567,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -21049,6 +21581,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -21061,6 +21594,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21069,6 +21603,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -21077,6 +21612,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -21085,10 +21621,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -21097,10 +21635,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRestApiOutput(v **UpdateRestApiOutp } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -21267,6 +21807,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -21275,6 +21816,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterEnabled = jtv } + case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -21283,6 +21825,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterSize = types.CacheClusterSize(jtv) } + case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -21291,10 +21834,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } + case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -21303,6 +21848,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -21318,6 +21864,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -21326,6 +21873,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -21334,6 +21882,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.Description = ptr.String(jtv) } + case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -21342,6 +21891,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DocumentationVersion = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -21357,10 +21907,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } } + case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -21369,10 +21921,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.StageName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -21381,10 +21935,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.TracingEnabled = jtv } + case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } + case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -21393,6 +21949,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.WebAclArn = ptr.String(jtv) } + default: _, _ = key, value @@ -21563,10 +22120,12 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.EndDate = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentMapOfKeyUsages(&sv.Items, value); err != nil { return err } + case "position": if value != nil { jtv, ok := value.(string) @@ -21575,6 +22134,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.Position = ptr.String(jtv) } + case "startDate": if value != nil { jtv, ok := value.(string) @@ -21583,6 +22143,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.StartDate = ptr.String(jtv) } + case "usagePlanId": if value != nil { jtv, ok := value.(string) @@ -21591,6 +22152,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsageOutput(v **UpdateUsageOutput, } sv.UsagePlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -21757,6 +22319,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -21765,6 +22328,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21773,6 +22337,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21781,6 +22346,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.Name = ptr.String(jtv) } + case "productCode": if value != nil { jtv, ok := value.(string) @@ -21789,18 +22355,22 @@ func awsRestjson1_deserializeOpDocumentUpdateUsagePlanOutput(v **UpdateUsagePlan } sv.ProductCode = ptr.String(jtv) } + case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } + default: _, _ = key, value @@ -21971,6 +22541,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21979,6 +22550,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21987,6 +22559,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -21995,6 +22568,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Status = types.VpcLinkStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -22003,14 +22577,17 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } + default: _, _ = key, value @@ -22350,6 +22927,7 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.DestinationArn = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -22358,6 +22936,7 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -22404,6 +22983,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } } + case "customerId": if value != nil { jtv, ok := value.(string) @@ -22412,6 +22992,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.CustomerId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -22420,6 +23001,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -22428,6 +23010,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Enabled = jtv } + case "id": if value != nil { jtv, ok := value.(string) @@ -22436,6 +23019,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Id = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -22451,6 +23035,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } } + case "name": if value != nil { jtv, ok := value.(string) @@ -22459,14 +23044,17 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Name = ptr.String(jtv) } + case "stageKeys": if err := awsRestjson1_deserializeDocumentListOfString(&sv.StageKeys, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -22475,6 +23063,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22514,6 +23103,7 @@ func awsRestjson1_deserializeDocumentApiStage(v **types.ApiStage, value interfac } sv.ApiId = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -22522,10 +23112,12 @@ func awsRestjson1_deserializeDocumentApiStage(v **types.ApiStage, value interfac } sv.Stage = ptr.String(jtv) } + case "throttle": if err := awsRestjson1_deserializeDocumentMapOfApiStageThrottleSettings(&sv.Throttle, value); err != nil { return err } + default: _, _ = key, value @@ -22565,6 +23157,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerCredentials = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -22577,6 +23170,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -22585,6 +23179,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerUri = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -22593,6 +23188,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthType = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -22601,6 +23197,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Id = ptr.String(jtv) } + case "identitySource": if value != nil { jtv, ok := value.(string) @@ -22609,6 +23206,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentitySource = ptr.String(jtv) } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -22617,6 +23215,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentityValidationExpression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22625,10 +23224,12 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Name = ptr.String(jtv) } + case "providerARNs": if err := awsRestjson1_deserializeDocumentListOfARNs(&sv.ProviderARNs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -22637,6 +23238,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Type = types.AuthorizerType(jtv) } + default: _, _ = key, value @@ -22676,6 +23278,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22715,6 +23318,7 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.BasePath = ptr.String(jtv) } + case "restApiId": if value != nil { jtv, ok := value.(string) @@ -22723,6 +23327,7 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.RestApiId = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -22731,6 +23336,7 @@ func awsRestjson1_deserializeDocumentBasePathMapping(v **types.BasePathMapping, } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -22770,6 +23376,7 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } sv.DeploymentId = ptr.String(jtv) } + case "percentTraffic": if value != nil { switch jtv := value.(type) { @@ -22803,10 +23410,12 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } } + case "stageVariableOverrides": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.StageVariableOverrides, value); err != nil { return err } + case "useStageCache": if value != nil { jtv, ok := value.(bool) @@ -22815,6 +23424,7 @@ func awsRestjson1_deserializeDocumentCanarySettings(v **types.CanarySettings, va } sv.UseStageCache = jtv } + default: _, _ = key, value @@ -22854,6 +23464,7 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -22869,6 +23480,7 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } } + case "description": if value != nil { jtv, ok := value.(string) @@ -22877,6 +23489,7 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -22892,6 +23505,7 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } } + case "pemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -22900,10 +23514,12 @@ func awsRestjson1_deserializeDocumentClientCertificate(v **types.ClientCertifica } sv.PemEncodedCertificate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -22943,6 +23559,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22978,6 +23595,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte if err := awsRestjson1_deserializeDocumentPathToMapOfMethodSnapshot(&sv.ApiSummary, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -22993,6 +23611,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -23001,6 +23620,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -23009,6 +23629,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -23048,10 +23669,12 @@ func awsRestjson1_deserializeDocumentDocumentationPart(v **types.DocumentationPa } sv.Id = ptr.String(jtv) } + case "location": if err := awsRestjson1_deserializeDocumentDocumentationPartLocation(&sv.Location, value); err != nil { return err } + case "properties": if value != nil { jtv, ok := value.(string) @@ -23060,6 +23683,7 @@ func awsRestjson1_deserializeDocumentDocumentationPart(v **types.DocumentationPa } sv.Properties = ptr.String(jtv) } + default: _, _ = key, value @@ -23099,6 +23723,7 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Method = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23107,6 +23732,7 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -23115,6 +23741,7 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Path = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -23123,6 +23750,7 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.StatusCode = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -23131,6 +23759,7 @@ func awsRestjson1_deserializeDocumentDocumentationPartLocation(v **types.Documen } sv.Type = types.DocumentationPartType(jtv) } + default: _, _ = key, value @@ -23177,6 +23806,7 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } } + case "description": if value != nil { jtv, ok := value.(string) @@ -23185,6 +23815,7 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } sv.Description = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -23193,6 +23824,7 @@ func awsRestjson1_deserializeDocumentDocumentationVersion(v **types.Documentatio } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -23232,6 +23864,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.CertificateArn = ptr.String(jtv) } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -23240,6 +23873,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.CertificateName = ptr.String(jtv) } + case "certificateUploadDate": if value != nil { switch jtv := value.(type) { @@ -23255,6 +23889,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } } + case "distributionDomainName": if value != nil { jtv, ok := value.(string) @@ -23263,6 +23898,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DistributionDomainName = ptr.String(jtv) } + case "distributionHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -23271,6 +23907,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DistributionHostedZoneId = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -23279,6 +23916,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainName = ptr.String(jtv) } + case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -23287,6 +23925,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainNameStatus = types.DomainNameStatus(jtv) } + case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -23295,14 +23934,17 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainNameStatusMessage = ptr.String(jtv) } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23311,6 +23953,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } + case "regionalCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23319,6 +23962,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalCertificateArn = ptr.String(jtv) } + case "regionalCertificateName": if value != nil { jtv, ok := value.(string) @@ -23327,6 +23971,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalCertificateName = ptr.String(jtv) } + case "regionalDomainName": if value != nil { jtv, ok := value.(string) @@ -23335,6 +23980,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalDomainName = ptr.String(jtv) } + case "regionalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -23343,6 +23989,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.RegionalHostedZoneId = ptr.String(jtv) } + case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -23351,10 +23998,12 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.SecurityPolicy = types.SecurityPolicy(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -23390,10 +24039,12 @@ func awsRestjson1_deserializeDocumentEndpointConfiguration(v **types.EndpointCon if err := awsRestjson1_deserializeDocumentListOfEndpointType(&sv.Types, value); err != nil { return err } + case "vpcEndpointIds": if err := awsRestjson1_deserializeDocumentListOfString(&sv.VpcEndpointIds, value); err != nil { return err } + default: _, _ = key, value @@ -23433,14 +24084,17 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.DefaultResponse = jtv } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -23449,6 +24103,7 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.ResponseType = types.GatewayResponseType(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -23457,6 +24112,7 @@ func awsRestjson1_deserializeDocumentGatewayResponse(v **types.GatewayResponse, } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -23492,6 +24148,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in if err := awsRestjson1_deserializeDocumentListOfString(&sv.CacheKeyParameters, value); err != nil { return err } + case "cacheNamespace": if value != nil { jtv, ok := value.(string) @@ -23500,6 +24157,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.CacheNamespace = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -23508,6 +24166,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -23516,6 +24175,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandling": if value != nil { jtv, ok := value.(string) @@ -23524,6 +24184,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "credentials": if value != nil { jtv, ok := value.(string) @@ -23532,6 +24193,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Credentials = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -23540,10 +24202,12 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.HttpMethod = ptr.String(jtv) } + case "integrationResponses": if err := awsRestjson1_deserializeDocumentMapOfIntegrationResponse(&sv.IntegrationResponses, value); err != nil { return err } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -23552,14 +24216,17 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PassthroughBehavior = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestTemplates, value); err != nil { return err } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -23572,10 +24239,12 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TimeoutInMillis = int32(i64) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -23584,6 +24253,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Type = types.IntegrationType(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -23592,6 +24262,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -23631,14 +24302,17 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.ContentHandling = types.ContentHandlingStrategy(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseTemplates, value); err != nil { return err } + case "selectionPattern": if value != nil { jtv, ok := value.(string) @@ -23647,6 +24321,7 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.SelectionPattern = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -23655,6 +24330,7 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -23694,6 +24370,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -23702,6 +24379,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -24951,10 +25629,12 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -24963,6 +25643,7 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.AuthorizationType = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -24971,6 +25652,7 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.AuthorizerId = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -24979,14 +25661,17 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.HttpMethod = ptr.String(jtv) } + case "methodIntegration": if err := awsRestjson1_deserializeDocumentIntegration(&sv.MethodIntegration, value); err != nil { return err } + case "methodResponses": if err := awsRestjson1_deserializeDocumentMapOfMethodResponse(&sv.MethodResponses, value); err != nil { return err } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -24995,14 +25680,17 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.RequestParameters, value); err != nil { return err } + case "requestValidatorId": if value != nil { jtv, ok := value.(string) @@ -25011,6 +25699,7 @@ func awsRestjson1_deserializeDocumentMethod(v **types.Method, value interface{}) } sv.RequestValidatorId = ptr.String(jtv) } + default: _, _ = key, value @@ -25046,10 +25735,12 @@ func awsRestjson1_deserializeDocumentMethodResponse(v **types.MethodResponse, va if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentMapOfStringToBoolean(&sv.ResponseParameters, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -25058,6 +25749,7 @@ func awsRestjson1_deserializeDocumentMethodResponse(v **types.MethodResponse, va } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -25097,6 +25789,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CacheDataEncrypted = jtv } + case "cacheTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -25109,6 +25802,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CacheTtlInSeconds = int32(i64) } + case "cachingEnabled": if value != nil { jtv, ok := value.(bool) @@ -25117,6 +25811,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.CachingEnabled = jtv } + case "dataTraceEnabled": if value != nil { jtv, ok := value.(bool) @@ -25125,6 +25820,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.DataTraceEnabled = jtv } + case "loggingLevel": if value != nil { jtv, ok := value.(string) @@ -25133,6 +25829,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.LoggingLevel = ptr.String(jtv) } + case "metricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -25141,6 +25838,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.MetricsEnabled = jtv } + case "requireAuthorizationForCacheControl": if value != nil { jtv, ok := value.(bool) @@ -25149,6 +25847,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.RequireAuthorizationForCacheControl = jtv } + case "throttlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -25161,6 +25860,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.ThrottlingBurstLimit = int32(i64) } + case "throttlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -25194,6 +25894,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } } + case "unauthorizedCacheControlHeaderStrategy": if value != nil { jtv, ok := value.(string) @@ -25202,6 +25903,7 @@ func awsRestjson1_deserializeDocumentMethodSetting(v **types.MethodSetting, valu } sv.UnauthorizedCacheControlHeaderStrategy = types.UnauthorizedCacheControlHeaderStrategy(jtv) } + default: _, _ = key, value @@ -25241,6 +25943,7 @@ func awsRestjson1_deserializeDocumentMethodSnapshot(v **types.MethodSnapshot, va } sv.ApiKeyRequired = jtv } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -25249,6 +25952,7 @@ func awsRestjson1_deserializeDocumentMethodSnapshot(v **types.MethodSnapshot, va } sv.AuthorizationType = ptr.String(jtv) } + default: _, _ = key, value @@ -25288,6 +25992,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -25296,6 +26001,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -25304,6 +26010,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25312,6 +26019,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -25320,6 +26028,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -25359,6 +26068,7 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreUri = ptr.String(jtv) } + case "truststoreVersion": if value != nil { jtv, ok := value.(string) @@ -25367,10 +26077,12 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreVersion = ptr.String(jtv) } + case "truststoreWarnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TruststoreWarnings, value); err != nil { return err } + default: _, _ = key, value @@ -25410,6 +26122,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25487,6 +26200,7 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Limit = int32(i64) } + case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -25499,6 +26213,7 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Offset = int32(i64) } + case "period": if value != nil { jtv, ok := value.(string) @@ -25507,6 +26222,7 @@ func awsRestjson1_deserializeDocumentQuotaSettings(v **types.QuotaSettings, valu } sv.Period = types.QuotaPeriodType(jtv) } + default: _, _ = key, value @@ -25546,6 +26262,7 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25554,6 +26271,7 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.Name = ptr.String(jtv) } + case "validateRequestBody": if value != nil { jtv, ok := value.(bool) @@ -25562,6 +26280,7 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.ValidateRequestBody = jtv } + case "validateRequestParameters": if value != nil { jtv, ok := value.(bool) @@ -25570,6 +26289,7 @@ func awsRestjson1_deserializeDocumentRequestValidator(v **types.RequestValidator } sv.ValidateRequestParameters = jtv } + default: _, _ = key, value @@ -25609,6 +26329,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "parentId": if value != nil { jtv, ok := value.(string) @@ -25617,6 +26338,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ParentId = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -25625,6 +26347,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Path = ptr.String(jtv) } + case "pathPart": if value != nil { jtv, ok := value.(string) @@ -25633,10 +26356,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.PathPart = ptr.String(jtv) } + case "resourceMethods": if err := awsRestjson1_deserializeDocumentMapOfMethod(&sv.ResourceMethods, value); err != nil { return err } + default: _, _ = key, value @@ -25676,10 +26401,12 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.ApiKeySource = types.ApiKeySourceType(jtv) } + case "binaryMediaTypes": if err := awsRestjson1_deserializeDocumentListOfString(&sv.BinaryMediaTypes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -25695,6 +26422,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -25703,6 +26431,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -25711,10 +26440,12 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.DisableExecuteApiEndpoint = jtv } + case "endpointConfiguration": if err := awsRestjson1_deserializeDocumentEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -25723,6 +26454,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Id = ptr.String(jtv) } + case "minimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -25735,6 +26467,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25743,6 +26476,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Name = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -25751,6 +26485,7 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Policy = ptr.String(jtv) } + case "rootResourceId": if value != nil { jtv, ok := value.(string) @@ -25759,10 +26494,12 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.RootResourceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -25771,10 +26508,12 @@ func awsRestjson1_deserializeDocumentRestApi(v **types.RestApi, value interface{ } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentListOfString(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -25814,6 +26553,7 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -25822,6 +26562,7 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Description = ptr.String(jtv) } + case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -25830,6 +26571,7 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.FriendlyName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25838,6 +26580,7 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Name = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -25846,6 +26589,7 @@ func awsRestjson1_deserializeDocumentSdkConfigurationProperty(v **types.SdkConfi } sv.Required = jtv } + default: _, _ = key, value @@ -25881,6 +26625,7 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ if err := awsRestjson1_deserializeDocumentListOfSdkConfigurationProperty(&sv.ConfigurationProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -25889,6 +26634,7 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.Description = ptr.String(jtv) } + case "friendlyName": if value != nil { jtv, ok := value.(string) @@ -25897,6 +26643,7 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.FriendlyName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -25905,6 +26652,7 @@ func awsRestjson1_deserializeDocumentSdkType(v **types.SdkType, value interface{ } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -25944,6 +26692,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -25952,6 +26701,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -25987,6 +26737,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "cacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -25995,6 +26746,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterEnabled = jtv } + case "cacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -26003,6 +26755,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterSize = types.CacheClusterSize(jtv) } + case "cacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -26011,10 +26764,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CacheClusterStatus = types.CacheClusterStatus(jtv) } + case "canarySettings": if err := awsRestjson1_deserializeDocumentCanarySettings(&sv.CanarySettings, value); err != nil { return err } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -26023,6 +26778,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -26038,6 +26794,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -26046,6 +26803,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -26054,6 +26812,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Description = ptr.String(jtv) } + case "documentationVersion": if value != nil { jtv, ok := value.(string) @@ -26062,6 +26821,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DocumentationVersion = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -26077,10 +26837,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } } + case "methodSettings": if err := awsRestjson1_deserializeDocumentMapOfMethodSettings(&sv.MethodSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -26089,10 +26851,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.StageName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "tracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -26101,10 +26865,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.TracingEnabled = jtv } + case "variables": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Variables, value); err != nil { return err } + case "webAclArn": if value != nil { jtv, ok := value.(string) @@ -26113,6 +26879,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.WebAclArn = ptr.String(jtv) } + default: _, _ = key, value @@ -26156,6 +26923,7 @@ func awsRestjson1_deserializeDocumentThrottleSettings(v **types.ThrottleSettings } sv.BurstLimit = int32(i64) } + case "rateLimit": if value != nil { switch jtv := value.(type) { @@ -26189,6 +26957,7 @@ func awsRestjson1_deserializeDocumentThrottleSettings(v **types.ThrottleSettings } } + default: _, _ = key, value @@ -26228,6 +26997,7 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.InsecureSkipVerification = jtv } + default: _, _ = key, value @@ -26267,6 +27037,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -26275,6 +27046,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -26314,6 +27086,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26349,6 +27122,7 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf if err := awsRestjson1_deserializeDocumentListOfApiStage(&sv.ApiStages, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -26357,6 +27131,7 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26365,6 +27140,7 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26373,6 +27149,7 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.Name = ptr.String(jtv) } + case "productCode": if value != nil { jtv, ok := value.(string) @@ -26381,18 +27158,22 @@ func awsRestjson1_deserializeDocumentUsagePlan(v **types.UsagePlan, value interf } sv.ProductCode = ptr.String(jtv) } + case "quota": if err := awsRestjson1_deserializeDocumentQuotaSettings(&sv.Quota, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "throttle": if err := awsRestjson1_deserializeDocumentThrottleSettings(&sv.Throttle, value); err != nil { return err } + default: _, _ = key, value @@ -26432,6 +27213,7 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26440,6 +27222,7 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -26448,6 +27231,7 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -26456,6 +27240,7 @@ func awsRestjson1_deserializeDocumentUsagePlanKey(v **types.UsagePlanKey, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -26495,6 +27280,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26503,6 +27289,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26511,6 +27298,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -26519,6 +27307,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Status = types.VpcLinkStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -26527,14 +27316,17 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Tags, value); err != nil { return err } + case "targetArns": if err := awsRestjson1_deserializeDocumentListOfString(&sv.TargetArns, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/apigatewaymanagementapi/deserializers.go b/service/apigatewaymanagementapi/deserializers.go index 30b43660497..1dad0a9c159 100644 --- a/service/apigatewaymanagementapi/deserializers.go +++ b/service/apigatewaymanagementapi/deserializers.go @@ -286,10 +286,12 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.ConnectedAt = ptr.Time(t) } + case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } + case "lastActiveAt": if value != nil { jtv, ok := value.(string) @@ -302,6 +304,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.LastActiveAt = ptr.Time(t) } + default: _, _ = key, value @@ -557,6 +560,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.SourceIp = ptr.String(jtv) } + case "userAgent": if value != nil { jtv, ok := value.(string) @@ -565,6 +569,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.UserAgent = ptr.String(jtv) } + default: _, _ = key, value @@ -635,6 +640,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/apigatewayv2/deserializers.go b/service/apigatewayv2/deserializers.go index 0311f78c9af..f989a7b7cf1 100644 --- a/service/apigatewayv2/deserializers.go +++ b/service/apigatewayv2/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -194,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -202,6 +204,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -210,10 +213,12 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -226,6 +231,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -234,6 +240,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -242,6 +249,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -250,10 +258,12 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -262,6 +272,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -270,6 +281,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -278,10 +290,12 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -290,10 +304,12 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -458,6 +474,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiId = ptr.String(jtv) } + case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -466,6 +483,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiMappingId = ptr.String(jtv) } + case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -474,6 +492,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.ApiMappingKey = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -482,6 +501,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiMappingOutput(v **CreateApiMappi } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -646,6 +666,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerCredentialsArn = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -654,6 +675,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerId = ptr.String(jtv) } + case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -662,6 +684,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -674,6 +697,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -682,6 +706,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerType = types.AuthorizerType(jtv) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -690,6 +715,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } + case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -698,10 +724,12 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.EnableSimpleResponses = ptr.Bool(jtv) } + case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -710,10 +738,12 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } + case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -722,6 +752,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -886,6 +917,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.AutoDeployed = ptr.Bool(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -898,6 +930,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.CreatedDate = ptr.Time(t) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -906,6 +939,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -914,6 +948,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -922,6 +957,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -930,6 +966,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -1097,6 +1134,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.ApiMappingSelectionExpression = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -1105,18 +1143,22 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa } sv.DomainName = ptr.String(jtv) } + case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1281,6 +1323,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -1289,6 +1332,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -1297,6 +1341,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -1305,6 +1350,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -1313,6 +1359,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.CredentialsArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1321,6 +1368,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.Description = ptr.String(jtv) } + case "integrationId": if value != nil { jtv, ok := value.(string) @@ -1329,6 +1377,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationId = ptr.String(jtv) } + case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -1337,6 +1386,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationMethod = ptr.String(jtv) } + case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1345,6 +1395,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } + case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -1353,6 +1404,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationSubtype = ptr.String(jtv) } + case "integrationType": if value != nil { jtv, ok := value.(string) @@ -1361,6 +1413,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationType = types.IntegrationType(jtv) } + case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -1369,6 +1422,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.IntegrationUri = ptr.String(jtv) } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -1377,6 +1431,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } + case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -1385,18 +1440,22 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.PayloadFormatVersion = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1405,6 +1464,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.TemplateSelectionExpression = ptr.String(jtv) } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1417,10 +1477,12 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationOutput(v **CreateIntegra } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1585,6 +1647,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -1593,6 +1656,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.IntegrationResponseId = ptr.String(jtv) } + case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -1601,14 +1665,17 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.IntegrationResponseKey = ptr.String(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -1617,6 +1684,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationResponseOutput(v **Creat } sv.TemplateSelectionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -1781,6 +1849,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1789,6 +1858,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -1797,6 +1867,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1805,6 +1876,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -1813,6 +1885,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -1977,6 +2050,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -1985,10 +2059,12 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -1997,6 +2073,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.AuthorizationType = types.AuthorizationType(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -2005,6 +2082,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.AuthorizerId = ptr.String(jtv) } + case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -2013,6 +2091,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ModelSelectionExpression = ptr.String(jtv) } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -2021,14 +2100,17 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } + case "routeId": if value != nil { jtv, ok := value.(string) @@ -2037,6 +2119,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteId = ptr.String(jtv) } + case "routeKey": if value != nil { jtv, ok := value.(string) @@ -2045,6 +2128,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteKey = ptr.String(jtv) } + case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -2053,6 +2137,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteResponseSelectionExpression = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -2061,6 +2146,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -2225,14 +2311,17 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.ModelSelectionExpression = ptr.String(jtv) } + case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } + case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -2241,6 +2330,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.RouteResponseId = ptr.String(jtv) } + case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -2249,6 +2339,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteResponseOutput(v **CreateRoute } sv.RouteResponseKey = ptr.String(jtv) } + default: _, _ = key, value @@ -2409,6 +2500,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -2417,6 +2509,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -2425,6 +2518,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.AutoDeploy = ptr.Bool(jtv) } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -2433,6 +2527,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -2445,10 +2540,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.CreatedDate = ptr.Time(t) } + case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2457,6 +2554,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2465,6 +2563,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.Description = ptr.String(jtv) } + case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2473,6 +2572,7 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.LastDeploymentStatusMessage = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -2485,10 +2585,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.LastUpdatedDate = ptr.Time(t) } + case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -2497,14 +2599,17 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, } sv.StageName = ptr.String(jtv) } + case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2667,6 +2772,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.CreatedDate = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2675,18 +2781,22 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -2695,6 +2805,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkId = ptr.String(jtv) } + case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2814,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } + case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2711,6 +2823,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkStatusMessage = ptr.String(jtv) } + case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -2719,6 +2832,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcLinkOutput(v **CreateVpcLinkOutp } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } + default: _, _ = key, value @@ -4547,6 +4661,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -4555,6 +4670,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -4563,6 +4679,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -4571,10 +4688,12 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -4587,6 +4706,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4595,6 +4715,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -4603,6 +4724,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -4611,10 +4733,12 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4623,6 +4747,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -4631,6 +4756,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -4639,10 +4765,12 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -4651,10 +4779,12 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -4816,6 +4946,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiId = ptr.String(jtv) } + case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -4824,6 +4955,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiMappingId = ptr.String(jtv) } + case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -4832,6 +4964,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.ApiMappingKey = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -4840,6 +4973,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingOutput(v **GetApiMappingOutp } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -4997,6 +5131,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingsOutput(v **GetApiMappingsOu if err := awsRestjson1_deserializeDocument__listOfApiMapping(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5140,7 @@ func awsRestjson1_deserializeOpDocumentGetApiMappingsOutput(v **GetApiMappingsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5162,6 +5298,7 @@ func awsRestjson1_deserializeOpDocumentGetApisOutput(v **GetApisOutput, value in if err := awsRestjson1_deserializeDocument__listOfApi(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5170,6 +5307,7 @@ func awsRestjson1_deserializeOpDocumentGetApisOutput(v **GetApisOutput, value in } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5328,6 +5466,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerCredentialsArn = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -5336,6 +5475,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerId = ptr.String(jtv) } + case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -5344,6 +5484,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5356,6 +5497,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -5364,6 +5506,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerType = types.AuthorizerType(jtv) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -5372,6 +5515,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.AuthorizerUri = ptr.String(jtv) } + case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -5380,10 +5524,12 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.EnableSimpleResponses = ptr.Bool(jtv) } + case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -5392,10 +5538,12 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.IdentityValidationExpression = ptr.String(jtv) } + case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5404,6 +5552,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizerOutput(v **GetAuthorizerOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5561,6 +5710,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu if err := awsRestjson1_deserializeDocument__listOfAuthorizer(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5569,6 +5719,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizersOutput(v **GetAuthorizersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5727,6 +5878,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.AutoDeployed = ptr.Bool(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5739,6 +5891,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.CreatedDate = ptr.Time(t) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -5747,6 +5900,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5755,6 +5909,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5763,6 +5918,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5771,6 +5927,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -5928,6 +6085,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocument__listOfDeployment(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5936,6 +6094,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6094,6 +6253,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.ApiMappingSelectionExpression = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -6102,18 +6262,22 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp } sv.DomainName = ptr.String(jtv) } + case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6271,6 +6435,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu if err := awsRestjson1_deserializeDocument__listOfDomainName(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6279,6 +6444,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNamesOutput(v **GetDomainNamesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6437,6 +6603,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -6445,6 +6612,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -6453,6 +6621,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -6461,6 +6630,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -6469,6 +6639,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.CredentialsArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6477,6 +6648,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Description = ptr.String(jtv) } + case "integrationId": if value != nil { jtv, ok := value.(string) @@ -6485,6 +6657,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationId = ptr.String(jtv) } + case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -6493,6 +6666,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationMethod = ptr.String(jtv) } + case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6501,6 +6675,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } + case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -6509,6 +6684,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationSubtype = ptr.String(jtv) } + case "integrationType": if value != nil { jtv, ok := value.(string) @@ -6517,6 +6693,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationType = types.IntegrationType(jtv) } + case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -6525,6 +6702,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IntegrationUri = ptr.String(jtv) } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -6533,6 +6711,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } + case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -6541,18 +6720,22 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.PayloadFormatVersion = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6561,6 +6744,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TemplateSelectionExpression = ptr.String(jtv) } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -6573,10 +6757,12 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6735,6 +6921,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -6743,6 +6930,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.IntegrationResponseId = ptr.String(jtv) } + case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -6751,14 +6939,17 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.IntegrationResponseKey = ptr.String(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -6767,6 +6958,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponseOutput(v **GetInteg } sv.TemplateSelectionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -6924,6 +7116,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponsesOutput(v **GetInte if err := awsRestjson1_deserializeDocument__listOfIntegrationResponse(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6932,6 +7125,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationResponsesOutput(v **GetInte } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7089,6 +7283,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationsOutput(v **GetIntegrations if err := awsRestjson1_deserializeDocument__listOfIntegration(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7097,6 +7292,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationsOutput(v **GetIntegrations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7255,6 +7451,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7263,6 +7460,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -7271,6 +7469,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7279,6 +7478,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -7287,6 +7487,7 @@ func awsRestjson1_deserializeOpDocumentGetModelOutput(v **GetModelOutput, value } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -7444,6 +7645,7 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsRestjson1_deserializeDocument__listOfModel(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7452,6 +7654,7 @@ func awsRestjson1_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7610,6 +7813,7 @@ func awsRestjson1_deserializeOpDocumentGetModelTemplateOutput(v **GetModelTempla } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7768,6 +7972,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -7776,10 +7981,12 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -7788,6 +7995,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AuthorizationType = types.AuthorizationType(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -7796,6 +8004,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AuthorizerId = ptr.String(jtv) } + case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -7804,6 +8013,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ModelSelectionExpression = ptr.String(jtv) } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -7812,14 +8022,17 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } + case "routeId": if value != nil { jtv, ok := value.(string) @@ -7828,6 +8041,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteId = ptr.String(jtv) } + case "routeKey": if value != nil { jtv, ok := value.(string) @@ -7836,6 +8050,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteKey = ptr.String(jtv) } + case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -7844,6 +8059,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteResponseSelectionExpression = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -7852,6 +8068,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -8010,14 +8227,17 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.ModelSelectionExpression = ptr.String(jtv) } + case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } + case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -8026,6 +8246,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.RouteResponseId = ptr.String(jtv) } + case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -8034,6 +8255,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponseOutput(v **GetRouteRespon } sv.RouteResponseKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8191,6 +8413,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponsesOutput(v **GetRouteRespo if err := awsRestjson1_deserializeDocument__listOfRouteResponse(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8199,6 +8422,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteResponsesOutput(v **GetRouteRespo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8356,6 +8580,7 @@ func awsRestjson1_deserializeOpDocumentGetRoutesOutput(v **GetRoutesOutput, valu if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8364,6 +8589,7 @@ func awsRestjson1_deserializeOpDocumentGetRoutesOutput(v **GetRoutesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8518,6 +8744,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -8526,6 +8753,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -8534,6 +8762,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.AutoDeploy = ptr.Bool(jtv) } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -8542,6 +8771,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -8554,10 +8784,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.CreatedDate = ptr.Time(t) } + case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8798,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8574,6 +8807,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.Description = ptr.String(jtv) } + case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -8582,6 +8816,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.LastDeploymentStatusMessage = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8594,10 +8829,12 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.LastUpdatedDate = ptr.Time(t) } + case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -8606,14 +8843,17 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value } sv.StageName = ptr.String(jtv) } + case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8771,6 +9011,7 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu if err := awsRestjson1_deserializeDocument__listOfStage(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8779,6 +9020,7 @@ func awsRestjson1_deserializeOpDocumentGetStagesOutput(v **GetStagesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8939,6 +9181,7 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9101,6 +9344,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.CreatedDate = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9109,18 +9353,22 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -9129,6 +9377,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkId = ptr.String(jtv) } + case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -9137,6 +9386,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } + case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -9145,6 +9395,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkStatusMessage = ptr.String(jtv) } + case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -9153,6 +9404,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinkOutput(v **GetVpcLinkOutput, va } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } + default: _, _ = key, value @@ -9307,6 +9559,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, if err := awsRestjson1_deserializeDocument__listOfVpcLink(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9315,6 +9568,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcLinksOutput(v **GetVpcLinksOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9479,6 +9733,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -9487,6 +9742,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -9495,6 +9751,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9503,10 +9760,12 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -9519,6 +9778,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -9527,6 +9787,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -9535,6 +9796,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -9543,10 +9805,12 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9555,6 +9819,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -9563,6 +9828,7 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9571,10 +9837,12 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -9583,10 +9851,12 @@ func awsRestjson1_deserializeOpDocumentImportApiOutput(v **ImportApiOutput, valu } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9751,6 +10021,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -9759,6 +10030,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -9767,6 +10039,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9775,10 +10048,12 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -9791,6 +10066,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -9799,6 +10075,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -9807,6 +10084,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -9815,10 +10093,12 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9827,6 +10107,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -9835,6 +10116,7 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -9843,10 +10125,12 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -9855,10 +10139,12 @@ func awsRestjson1_deserializeOpDocumentReimportApiOutput(v **ReimportApiOutput, } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -10320,6 +10606,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -10328,6 +10615,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -10336,6 +10624,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10344,10 +10633,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -10360,6 +10651,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10368,6 +10660,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -10376,6 +10669,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -10384,10 +10678,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10396,6 +10692,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -10404,6 +10701,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -10412,10 +10710,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -10424,10 +10724,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -10592,6 +10894,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiId = ptr.String(jtv) } + case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -10600,6 +10903,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiMappingId = ptr.String(jtv) } + case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -10608,6 +10912,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.ApiMappingKey = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -10616,6 +10921,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiMappingOutput(v **UpdateApiMappi } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -10780,6 +11086,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerCredentialsArn = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -10788,6 +11095,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerId = ptr.String(jtv) } + case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -10796,6 +11104,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10808,6 +11117,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -10816,6 +11126,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerType = types.AuthorizerType(jtv) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -10824,6 +11135,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerUri = ptr.String(jtv) } + case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -10832,10 +11144,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.EnableSimpleResponses = ptr.Bool(jtv) } + case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -10844,10 +11158,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.IdentityValidationExpression = ptr.String(jtv) } + case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10856,6 +11172,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11020,6 +11337,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.AutoDeployed = ptr.Bool(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -11032,6 +11350,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.CreatedDate = ptr.Time(t) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -11040,6 +11359,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentId = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11048,6 +11368,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11056,6 +11377,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11064,6 +11386,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentOutput(v **UpdateDeployme } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -11228,6 +11551,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.ApiMappingSelectionExpression = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -11236,18 +11560,22 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa } sv.DomainName = ptr.String(jtv) } + case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11412,6 +11740,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11420,6 +11749,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -11428,6 +11758,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -11436,6 +11767,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -11444,6 +11776,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.CredentialsArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11452,6 +11785,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.Description = ptr.String(jtv) } + case "integrationId": if value != nil { jtv, ok := value.(string) @@ -11460,6 +11794,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationId = ptr.String(jtv) } + case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -11468,6 +11803,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationMethod = ptr.String(jtv) } + case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -11476,6 +11812,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } + case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -11484,6 +11821,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationSubtype = ptr.String(jtv) } + case "integrationType": if value != nil { jtv, ok := value.(string) @@ -11492,6 +11830,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationType = types.IntegrationType(jtv) } + case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -11500,6 +11839,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.IntegrationUri = ptr.String(jtv) } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -11508,6 +11848,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } + case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -11516,18 +11857,22 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.PayloadFormatVersion = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -11536,6 +11881,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TemplateSelectionExpression = ptr.String(jtv) } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11548,10 +11894,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationOutput(v **UpdateIntegra } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11716,6 +12064,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -11724,6 +12073,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.IntegrationResponseId = ptr.String(jtv) } + case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -11732,14 +12082,17 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.IntegrationResponseKey = ptr.String(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -11748,6 +12101,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntegrationResponseOutput(v **Updat } sv.TemplateSelectionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -11912,6 +12266,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11920,6 +12275,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -11928,6 +12284,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11936,6 +12293,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -11944,6 +12302,7 @@ func awsRestjson1_deserializeOpDocumentUpdateModelOutput(v **UpdateModelOutput, } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -12108,6 +12467,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -12116,10 +12476,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -12128,6 +12490,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.AuthorizationType = types.AuthorizationType(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -12136,6 +12499,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.AuthorizerId = ptr.String(jtv) } + case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -12144,6 +12508,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ModelSelectionExpression = ptr.String(jtv) } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -12152,14 +12517,17 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } + case "routeId": if value != nil { jtv, ok := value.(string) @@ -12168,6 +12536,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteId = ptr.String(jtv) } + case "routeKey": if value != nil { jtv, ok := value.(string) @@ -12176,6 +12545,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteKey = ptr.String(jtv) } + case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -12184,6 +12554,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteResponseSelectionExpression = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -12192,6 +12563,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -12356,14 +12728,17 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.ModelSelectionExpression = ptr.String(jtv) } + case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } + case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -12372,6 +12747,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.RouteResponseId = ptr.String(jtv) } + case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -12380,6 +12756,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteResponseOutput(v **UpdateRoute } sv.RouteResponseKey = ptr.String(jtv) } + default: _, _ = key, value @@ -12540,6 +12917,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -12548,6 +12926,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -12556,6 +12935,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.AutoDeploy = ptr.Bool(jtv) } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -12564,6 +12944,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -12576,10 +12957,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.CreatedDate = ptr.Time(t) } + case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -12588,6 +12971,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12596,6 +12980,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.Description = ptr.String(jtv) } + case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12604,6 +12989,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.LastDeploymentStatusMessage = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -12616,10 +13002,12 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.LastUpdatedDate = ptr.Time(t) } + case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -12628,14 +13016,17 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, } sv.StageName = ptr.String(jtv) } + case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12801,6 +13192,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.CreatedDate = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12809,18 +13201,22 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -12829,6 +13225,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkId = ptr.String(jtv) } + case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -12837,6 +13234,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } + case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12845,6 +13243,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkStatusMessage = ptr.String(jtv) } + case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -12853,6 +13252,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcLinkOutput(v **UpdateVpcLinkOutp } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } + default: _, _ = key, value @@ -13516,6 +13916,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13555,6 +13956,7 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.DestinationArn = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -13563,6 +13965,7 @@ func awsRestjson1_deserializeDocumentAccessLogSettings(v **types.AccessLogSettin } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -13602,6 +14005,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiEndpoint = ptr.String(jtv) } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -13610,6 +14014,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -13618,6 +14023,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiId = ptr.String(jtv) } + case "apiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -13626,10 +14032,12 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "corsConfiguration": if err := awsRestjson1_deserializeDocumentCors(&sv.CorsConfiguration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -13642,6 +14050,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13650,6 +14059,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Description = ptr.String(jtv) } + case "disableExecuteApiEndpoint": if value != nil { jtv, ok := value.(bool) @@ -13658,6 +14068,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.DisableExecuteApiEndpoint = ptr.Bool(jtv) } + case "disableSchemaValidation": if value != nil { jtv, ok := value.(bool) @@ -13666,10 +14077,12 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.DisableSchemaValidation = ptr.Bool(jtv) } + case "importInfo": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ImportInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13678,6 +14091,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Name = ptr.String(jtv) } + case "protocolType": if value != nil { jtv, ok := value.(string) @@ -13686,6 +14100,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ProtocolType = types.ProtocolType(jtv) } + case "routeSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -13694,10 +14109,12 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.RouteSelectionExpression = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -13706,10 +14123,12 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Version = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -13749,6 +14168,7 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiId = ptr.String(jtv) } + case "apiMappingId": if value != nil { jtv, ok := value.(string) @@ -13757,6 +14177,7 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiMappingId = ptr.String(jtv) } + case "apiMappingKey": if value != nil { jtv, ok := value.(string) @@ -13765,6 +14186,7 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.ApiMappingKey = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -13773,6 +14195,7 @@ func awsRestjson1_deserializeDocumentApiMapping(v **types.ApiMapping, value inte } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -13848,6 +14271,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerCredentialsArn = ptr.String(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -13856,6 +14280,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerId = ptr.String(jtv) } + case "authorizerPayloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -13864,6 +14289,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerPayloadFormatVersion = ptr.String(jtv) } + case "authorizerResultTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13876,6 +14302,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "authorizerType": if value != nil { jtv, ok := value.(string) @@ -13884,6 +14311,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerType = types.AuthorizerType(jtv) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -13892,6 +14320,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.AuthorizerUri = ptr.String(jtv) } + case "enableSimpleResponses": if value != nil { jtv, ok := value.(bool) @@ -13900,10 +14329,12 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.EnableSimpleResponses = ptr.Bool(jtv) } + case "identitySource": if err := awsRestjson1_deserializeDocumentIdentitySourceList(&sv.IdentitySource, value); err != nil { return err } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -13912,10 +14343,12 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.IdentityValidationExpression = ptr.String(jtv) } + case "jwtConfiguration": if err := awsRestjson1_deserializeDocumentJWTConfiguration(&sv.JwtConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13924,6 +14357,7 @@ func awsRestjson1_deserializeDocumentAuthorizer(v **types.Authorizer, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13963,6 +14397,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14002,6 +14437,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14041,22 +14477,27 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.AllowCredentials = ptr.Bool(jtv) } + case "allowHeaders": if err := awsRestjson1_deserializeDocumentCorsHeaderList(&sv.AllowHeaders, value); err != nil { return err } + case "allowMethods": if err := awsRestjson1_deserializeDocumentCorsMethodList(&sv.AllowMethods, value); err != nil { return err } + case "allowOrigins": if err := awsRestjson1_deserializeDocumentCorsOriginList(&sv.AllowOrigins, value); err != nil { return err } + case "exposeHeaders": if err := awsRestjson1_deserializeDocumentCorsHeaderList(&sv.ExposeHeaders, value); err != nil { return err } + case "maxAge": if value != nil { jtv, ok := value.(json.Number) @@ -14069,6 +14510,7 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.MaxAge = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14216,6 +14658,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.AutoDeployed = ptr.Bool(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -14228,6 +14671,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedDate = ptr.Time(t) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -14236,6 +14680,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -14244,6 +14689,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14252,6 +14698,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14260,6 +14707,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -14299,6 +14747,7 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.ApiMappingSelectionExpression = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -14307,18 +14756,22 @@ func awsRestjson1_deserializeDocumentDomainName(v **types.DomainName, value inte } sv.DomainName = ptr.String(jtv) } + case "domainNameConfigurations": if err := awsRestjson1_deserializeDocumentDomainNameConfigurations(&sv.DomainNameConfigurations, value); err != nil { return err } + case "mutualTlsAuthentication": if err := awsRestjson1_deserializeDocumentMutualTlsAuthentication(&sv.MutualTlsAuthentication, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14358,6 +14811,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.ApiGatewayDomainName = ptr.String(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -14366,6 +14820,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateArn = ptr.String(jtv) } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -14374,6 +14829,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateName = ptr.String(jtv) } + case "certificateUploadDate": if value != nil { jtv, ok := value.(string) @@ -14386,6 +14842,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.CertificateUploadDate = ptr.Time(t) } + case "domainNameStatus": if value != nil { jtv, ok := value.(string) @@ -14394,6 +14851,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.DomainNameStatus = types.DomainNameStatus(jtv) } + case "domainNameStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14402,6 +14860,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.DomainNameStatusMessage = ptr.String(jtv) } + case "endpointType": if value != nil { jtv, ok := value.(string) @@ -14410,6 +14869,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.EndpointType = types.EndpointType(jtv) } + case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -14418,6 +14878,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.HostedZoneId = ptr.String(jtv) } + case "ownershipVerificationCertificateArn": if value != nil { jtv, ok := value.(string) @@ -14426,6 +14887,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.OwnershipVerificationCertificateArn = ptr.String(jtv) } + case "securityPolicy": if value != nil { jtv, ok := value.(string) @@ -14434,6 +14896,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfiguration(v **types.DomainNam } sv.SecurityPolicy = types.SecurityPolicy(jtv) } + default: _, _ = key, value @@ -14543,6 +15006,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -14551,6 +15015,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionId = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -14559,6 +15024,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ConnectionType = types.ConnectionType(jtv) } + case "contentHandlingStrategy": if value != nil { jtv, ok := value.(string) @@ -14567,6 +15033,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -14575,6 +15042,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.CredentialsArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14583,6 +15051,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.Description = ptr.String(jtv) } + case "integrationId": if value != nil { jtv, ok := value.(string) @@ -14591,6 +15060,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationId = ptr.String(jtv) } + case "integrationMethod": if value != nil { jtv, ok := value.(string) @@ -14599,6 +15069,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationMethod = ptr.String(jtv) } + case "integrationResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -14607,6 +15078,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationResponseSelectionExpression = ptr.String(jtv) } + case "integrationSubtype": if value != nil { jtv, ok := value.(string) @@ -14615,6 +15087,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationSubtype = ptr.String(jtv) } + case "integrationType": if value != nil { jtv, ok := value.(string) @@ -14623,6 +15096,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationType = types.IntegrationType(jtv) } + case "integrationUri": if value != nil { jtv, ok := value.(string) @@ -14631,6 +15105,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.IntegrationUri = ptr.String(jtv) } + case "passthroughBehavior": if value != nil { jtv, ok := value.(string) @@ -14639,6 +15114,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PassthroughBehavior = types.PassthroughBehavior(jtv) } + case "payloadFormatVersion": if value != nil { jtv, ok := value.(string) @@ -14647,18 +15123,22 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.PayloadFormatVersion = ptr.String(jtv) } + case "requestParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.RequestParameters, value); err != nil { return err } + case "requestTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.RequestTemplates, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentResponseParameters(&sv.ResponseParameters, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -14667,6 +15147,7 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TemplateSelectionExpression = ptr.String(jtv) } + case "timeoutInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -14679,10 +15160,12 @@ func awsRestjson1_deserializeDocumentIntegration(v **types.Integration, value in } sv.TimeoutInMillis = ptr.Int32(int32(i64)) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14758,6 +15241,7 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.ContentHandlingStrategy = types.ContentHandlingStrategy(jtv) } + case "integrationResponseId": if value != nil { jtv, ok := value.(string) @@ -14766,6 +15250,7 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.IntegrationResponseId = ptr.String(jtv) } + case "integrationResponseKey": if value != nil { jtv, ok := value.(string) @@ -14774,14 +15259,17 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.IntegrationResponseKey = ptr.String(jtv) } + case "responseParameters": if err := awsRestjson1_deserializeDocumentIntegrationParameters(&sv.ResponseParameters, value); err != nil { return err } + case "responseTemplates": if err := awsRestjson1_deserializeDocumentTemplateMap(&sv.ResponseTemplates, value); err != nil { return err } + case "templateSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -14790,6 +15278,7 @@ func awsRestjson1_deserializeDocumentIntegrationResponse(v **types.IntegrationRe } sv.TemplateSelectionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -14825,6 +15314,7 @@ func awsRestjson1_deserializeDocumentJWTConfiguration(v **types.JWTConfiguration if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Audience, value); err != nil { return err } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -14833,6 +15323,7 @@ func awsRestjson1_deserializeDocumentJWTConfiguration(v **types.JWTConfiguration } sv.Issuer = ptr.String(jtv) } + default: _, _ = key, value @@ -14872,6 +15363,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ContentType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14880,6 +15372,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -14888,6 +15381,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14896,6 +15390,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -14904,6 +15399,7 @@ func awsRestjson1_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -14943,6 +15439,7 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreUri = ptr.String(jtv) } + case "truststoreVersion": if value != nil { jtv, ok := value.(string) @@ -14951,10 +15448,12 @@ func awsRestjson1_deserializeDocumentMutualTlsAuthentication(v **types.MutualTls } sv.TruststoreVersion = ptr.String(jtv) } + case "truststoreWarnings": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.TruststoreWarnings, value); err != nil { return err } + default: _, _ = key, value @@ -14994,6 +15493,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -15002,6 +15502,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15041,6 +15542,7 @@ func awsRestjson1_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15114,6 +15616,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "apiKeyRequired": if value != nil { jtv, ok := value.(bool) @@ -15122,10 +15625,12 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ApiKeyRequired = ptr.Bool(jtv) } + case "authorizationScopes": if err := awsRestjson1_deserializeDocumentAuthorizationScopes(&sv.AuthorizationScopes, value); err != nil { return err } + case "authorizationType": if value != nil { jtv, ok := value.(string) @@ -15134,6 +15639,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.AuthorizationType = types.AuthorizationType(jtv) } + case "authorizerId": if value != nil { jtv, ok := value.(string) @@ -15142,6 +15648,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.AuthorizerId = ptr.String(jtv) } + case "modelSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15150,6 +15657,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.ModelSelectionExpression = ptr.String(jtv) } + case "operationName": if value != nil { jtv, ok := value.(string) @@ -15158,14 +15666,17 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.OperationName = ptr.String(jtv) } + case "requestModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.RequestModels, value); err != nil { return err } + case "requestParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.RequestParameters, value); err != nil { return err } + case "routeId": if value != nil { jtv, ok := value.(string) @@ -15174,6 +15685,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteId = ptr.String(jtv) } + case "routeKey": if value != nil { jtv, ok := value.(string) @@ -15182,6 +15694,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteKey = ptr.String(jtv) } + case "routeResponseSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15190,6 +15703,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.RouteResponseSelectionExpression = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -15198,6 +15712,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -15308,14 +15823,17 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.ModelSelectionExpression = ptr.String(jtv) } + case "responseModels": if err := awsRestjson1_deserializeDocumentRouteModels(&sv.ResponseModels, value); err != nil { return err } + case "responseParameters": if err := awsRestjson1_deserializeDocumentRouteParameters(&sv.ResponseParameters, value); err != nil { return err } + case "routeResponseId": if value != nil { jtv, ok := value.(string) @@ -15324,6 +15842,7 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.RouteResponseId = ptr.String(jtv) } + case "routeResponseKey": if value != nil { jtv, ok := value.(string) @@ -15332,6 +15851,7 @@ func awsRestjson1_deserializeDocumentRouteResponse(v **types.RouteResponse, valu } sv.RouteResponseKey = ptr.String(jtv) } + default: _, _ = key, value @@ -15371,6 +15891,7 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.DataTraceEnabled = ptr.Bool(jtv) } + case "detailedMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15379,6 +15900,7 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.DetailedMetricsEnabled = ptr.Bool(jtv) } + case "loggingLevel": if value != nil { jtv, ok := value.(string) @@ -15387,6 +15909,7 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.LoggingLevel = types.LoggingLevel(jtv) } + case "throttlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15399,6 +15922,7 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } + case "throttlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -15432,6 +15956,7 @@ func awsRestjson1_deserializeDocumentRouteSettings(v **types.RouteSettings, valu } } + default: _, _ = key, value @@ -15538,6 +16063,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e if err := awsRestjson1_deserializeDocumentAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "apiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -15546,6 +16072,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "autoDeploy": if value != nil { jtv, ok := value.(bool) @@ -15554,6 +16081,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.AutoDeploy = ptr.Bool(jtv) } + case "clientCertificateId": if value != nil { jtv, ok := value.(string) @@ -15562,6 +16090,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ClientCertificateId = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -15574,10 +16103,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.CreatedDate = ptr.Time(t) } + case "defaultRouteSettings": if err := awsRestjson1_deserializeDocumentRouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -15586,6 +16117,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DeploymentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15594,6 +16126,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Description = ptr.String(jtv) } + case "lastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15602,6 +16135,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.LastDeploymentStatusMessage = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -15614,10 +16148,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.LastUpdatedDate = ptr.Time(t) } + case "routeSettings": if err := awsRestjson1_deserializeDocumentRouteSettingsMap(&sv.RouteSettings, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -15626,14 +16162,17 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.StageName = ptr.String(jtv) } + case "stageVariables": if err := awsRestjson1_deserializeDocumentStageVariablesMap(&sv.StageVariables, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15817,6 +16356,7 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.ServerNameToVerify = ptr.String(jtv) } + default: _, _ = key, value @@ -15856,6 +16396,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.LimitType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15864,6 +16405,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15907,6 +16449,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.CreatedDate = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15915,18 +16458,22 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcLinkId": if value != nil { jtv, ok := value.(string) @@ -15935,6 +16482,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkId = ptr.String(jtv) } + case "vpcLinkStatus": if value != nil { jtv, ok := value.(string) @@ -15943,6 +16491,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkStatus = types.VpcLinkStatus(jtv) } + case "vpcLinkStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15951,6 +16500,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkStatusMessage = ptr.String(jtv) } + case "vpcLinkVersion": if value != nil { jtv, ok := value.(string) @@ -15959,6 +16509,7 @@ func awsRestjson1_deserializeDocumentVpcLink(v **types.VpcLink, value interface{ } sv.VpcLinkVersion = types.VpcLinkVersion(jtv) } + default: _, _ = key, value diff --git a/service/appconfig/deserializers.go b/service/appconfig/deserializers.go index 78e3199a1c2..38f9cce4843 100644 --- a/service/appconfig/deserializers.go +++ b/service/appconfig/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -192,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -200,6 +202,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -364,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -372,6 +376,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -380,6 +385,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Id = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -388,6 +394,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -396,6 +403,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -404,6 +412,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.LocationUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -412,6 +421,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Name = ptr.String(jtv) } + case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -420,6 +430,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.RetrievalRoleArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -428,10 +439,12 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationProfileOutput(v **Crea } sv.Type = ptr.String(jtv) } + case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } + default: _, _ = key, value @@ -597,6 +610,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.DeploymentDurationInMinutes = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -605,6 +619,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Description = ptr.String(jtv) } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -617,6 +632,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -650,6 +666,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -658,6 +675,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.GrowthType = types.GrowthType(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -666,6 +684,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -674,6 +693,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.Name = ptr.String(jtv) } + case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -682,6 +702,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create } sv.ReplicateTo = types.ReplicateTo(jtv) } + default: _, _ = key, value @@ -846,6 +867,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -854,6 +876,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -862,10 +885,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Id = ptr.String(jtv) } + case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -874,6 +899,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -882,6 +908,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.State = types.EnvironmentState(jtv) } + default: _, _ = key, value @@ -1042,6 +1069,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1050,6 +1078,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1058,6 +1087,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1066,6 +1096,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1074,10 +1105,12 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1090,6 +1123,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionOutput(v **CreateExtension } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -1254,6 +1288,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.Arn = ptr.String(jtv) } + case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -1262,6 +1297,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ExtensionArn = ptr.String(jtv) } + case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1274,6 +1310,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ExtensionVersionNumber = int32(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1282,10 +1319,12 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.Id = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -1294,6 +1333,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtensionAssociationOutput(v **Crea } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2335,6 +2375,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentDeletionProtectionSettings(&sv.DeletionProtection, value); err != nil { return err } + default: _, _ = key, value @@ -2496,6 +2537,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2504,6 +2546,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2512,6 +2555,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2816,6 +2860,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2824,6 +2869,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2832,6 +2878,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Id = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2840,6 +2887,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2848,6 +2896,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -2856,6 +2905,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.LocationUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2914,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Name = ptr.String(jtv) } + case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -2872,6 +2923,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.RetrievalRoleArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2880,10 +2932,12 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationProfileOutput(v **GetConf } sv.Type = ptr.String(jtv) } + case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } + default: _, _ = key, value @@ -3045,10 +3099,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationId = ptr.String(jtv) } + case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -3061,6 +3117,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.CompletedAt = ptr.Time(t) } + case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -3069,6 +3126,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationLocationUri = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -3077,6 +3135,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationName = ptr.String(jtv) } + case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -3085,6 +3144,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationProfileId = ptr.String(jtv) } + case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -3093,6 +3153,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ConfigurationVersion = ptr.String(jtv) } + case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3105,6 +3166,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentDurationInMinutes = int32(i64) } + case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3117,6 +3179,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentNumber = int32(i64) } + case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -3125,6 +3188,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStrategyId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3133,6 +3197,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -3141,10 +3206,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.EnvironmentId = ptr.String(jtv) } + case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3157,6 +3224,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -3190,6 +3258,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -3198,6 +3267,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.GrowthType = types.GrowthType(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3206,6 +3276,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -3214,6 +3285,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -3247,6 +3319,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -3259,6 +3332,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.StartedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3267,6 +3341,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.State = types.DeploymentState(jtv) } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -3275,6 +3350,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.VersionLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -3440,6 +3516,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.DeploymentDurationInMinutes = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3448,6 +3525,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Description = ptr.String(jtv) } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3460,6 +3538,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -3493,6 +3572,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -3501,6 +3581,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.GrowthType = types.GrowthType(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3509,6 +3590,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3517,6 +3599,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.Name = ptr.String(jtv) } + case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -3525,6 +3608,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy } sv.ReplicateTo = types.ReplicateTo(jtv) } + default: _, _ = key, value @@ -3686,6 +3770,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3694,6 +3779,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3702,10 +3788,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Id = ptr.String(jtv) } + case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3714,6 +3802,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3722,6 +3811,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.State = types.EnvironmentState(jtv) } + default: _, _ = key, value @@ -3879,6 +3969,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3887,6 +3978,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3895,6 +3987,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3903,6 +3996,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3911,10 +4005,12 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3927,6 +4023,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionOutput(v **GetExtensionOutput } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -4088,6 +4185,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.Arn = ptr.String(jtv) } + case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -4096,6 +4194,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ExtensionArn = ptr.String(jtv) } + case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4108,6 +4207,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ExtensionVersionNumber = int32(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4116,10 +4216,12 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.Id = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4128,6 +4230,7 @@ func awsRestjson1_deserializeOpDocumentGetExtensionAssociationOutput(v **GetExte } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4454,6 +4557,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4462,6 +4566,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4619,6 +4724,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationProfilesOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationProfileSummaryList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4627,6 +4733,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationProfilesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4784,6 +4891,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4792,6 +4900,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4946,6 +5055,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentStrategiesOutput(v **ListDe if err := awsRestjson1_deserializeDocumentDeploymentStrategyList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4954,6 +5064,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentStrategiesOutput(v **ListDe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5111,6 +5222,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5119,6 +5231,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5273,6 +5386,7 @@ func awsRestjson1_deserializeOpDocumentListExtensionAssociationsOutput(v **ListE if err := awsRestjson1_deserializeDocumentExtensionAssociationSummaries(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5281,6 +5395,7 @@ func awsRestjson1_deserializeOpDocumentListExtensionAssociationsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5435,6 +5550,7 @@ func awsRestjson1_deserializeOpDocumentListExtensionsOutput(v **ListExtensionsOu if err := awsRestjson1_deserializeDocumentExtensionSummaries(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5443,6 +5559,7 @@ func awsRestjson1_deserializeOpDocumentListExtensionsOutput(v **ListExtensionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5600,6 +5717,7 @@ func awsRestjson1_deserializeOpDocumentListHostedConfigurationVersionsOutput(v * if err := awsRestjson1_deserializeDocumentHostedConfigurationVersionSummaryList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5608,6 +5726,7 @@ func awsRestjson1_deserializeOpDocumentListHostedConfigurationVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5765,6 +5884,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5929,10 +6049,12 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ApplicationId = ptr.String(jtv) } + case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -5945,6 +6067,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.CompletedAt = ptr.Time(t) } + case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -5953,6 +6076,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationLocationUri = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -5961,6 +6085,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationName = ptr.String(jtv) } + case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -5969,6 +6094,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationProfileId = ptr.String(jtv) } + case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -5977,6 +6103,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.ConfigurationVersion = ptr.String(jtv) } + case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5989,6 +6116,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentDurationInMinutes = int32(i64) } + case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6001,6 +6129,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentNumber = int32(i64) } + case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -6009,6 +6138,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.DeploymentStrategyId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6017,6 +6147,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6025,10 +6156,12 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.EnvironmentId = ptr.String(jtv) } + case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6041,6 +6174,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -6074,6 +6208,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -6082,6 +6217,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.GrowthType = types.GrowthType(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6090,6 +6226,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6098,6 +6235,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -6131,6 +6269,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -6143,6 +6282,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.StartedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6151,6 +6291,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.State = types.DeploymentState(jtv) } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -6159,6 +6300,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.VersionLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -6320,10 +6462,12 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ApplicationId = ptr.String(jtv) } + case "AppliedExtensions": if err := awsRestjson1_deserializeDocumentAppliedExtensions(&sv.AppliedExtensions, value); err != nil { return err } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -6336,6 +6480,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.CompletedAt = ptr.Time(t) } + case "ConfigurationLocationUri": if value != nil { jtv, ok := value.(string) @@ -6344,6 +6489,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationLocationUri = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6352,6 +6498,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationName = ptr.String(jtv) } + case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -6360,6 +6507,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationProfileId = ptr.String(jtv) } + case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -6368,6 +6516,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.ConfigurationVersion = ptr.String(jtv) } + case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6380,6 +6529,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentDurationInMinutes = int32(i64) } + case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6392,6 +6542,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentNumber = int32(i64) } + case "DeploymentStrategyId": if value != nil { jtv, ok := value.(string) @@ -6400,6 +6551,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.DeploymentStrategyId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6408,6 +6560,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6416,10 +6569,12 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.EnvironmentId = ptr.String(jtv) } + case "EventLog": if err := awsRestjson1_deserializeDocumentDeploymentEvents(&sv.EventLog, value); err != nil { return err } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6432,6 +6587,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -6465,6 +6621,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -6473,6 +6630,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.GrowthType = types.GrowthType(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6481,6 +6639,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6648,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -6522,6 +6682,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6695,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.StartedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6542,6 +6704,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.State = types.DeploymentState(jtv) } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -6550,6 +6713,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.VersionLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -6904,6 +7068,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsRestjson1_deserializeDocumentDeletionProtectionSettings(&sv.DeletionProtection, value); err != nil { return err } + default: _, _ = key, value @@ -7065,6 +7230,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7073,6 +7239,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7081,6 +7248,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7242,6 +7410,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7250,6 +7419,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7258,6 +7428,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Id = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -7266,6 +7437,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.KmsKeyArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -7274,6 +7446,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -7282,6 +7455,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.LocationUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7290,6 +7464,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Name = ptr.String(jtv) } + case "RetrievalRoleArn": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7473,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.RetrievalRoleArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7306,10 +7482,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationProfileOutput(v **Upda } sv.Type = ptr.String(jtv) } + case "Validators": if err := awsRestjson1_deserializeDocumentValidatorList(&sv.Validators, value); err != nil { return err } + default: _, _ = key, value @@ -7475,6 +7653,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.DeploymentDurationInMinutes = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7483,6 +7662,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Description = ptr.String(jtv) } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -7495,6 +7675,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -7528,6 +7709,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -7536,6 +7718,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.GrowthType = types.GrowthType(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7544,6 +7727,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7552,6 +7736,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.Name = ptr.String(jtv) } + case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -7560,6 +7745,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update } sv.ReplicateTo = types.ReplicateTo(jtv) } + default: _, _ = key, value @@ -7721,6 +7907,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7729,6 +7916,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7737,10 +7925,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Id = ptr.String(jtv) } + case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7749,6 +7939,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -7757,6 +7948,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.State = types.EnvironmentState(jtv) } + default: _, _ = key, value @@ -7917,6 +8109,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension if err := awsRestjson1_deserializeDocumentActionsMap(&sv.Actions, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -7925,6 +8118,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7933,6 +8127,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7941,6 +8136,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7949,10 +8145,12 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -7965,6 +8163,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionOutput(v **UpdateExtension } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -8126,6 +8325,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.Arn = ptr.String(jtv) } + case "ExtensionArn": if value != nil { jtv, ok := value.(string) @@ -8134,6 +8334,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ExtensionArn = ptr.String(jtv) } + case "ExtensionVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8146,6 +8347,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ExtensionVersionNumber = int32(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8154,10 +8356,12 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.Id = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8166,6 +8370,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExtensionAssociationOutput(v **Upda } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8521,6 +8726,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8529,6 +8735,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8537,6 +8744,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.RoleArn = ptr.String(jtv) } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -8545,6 +8753,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -8584,6 +8793,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ActionName = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -8592,6 +8802,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8600,6 +8811,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ErrorMessage = ptr.String(jtv) } + case "ExtensionIdentifier": if value != nil { jtv, ok := value.(string) @@ -8608,6 +8820,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.ExtensionIdentifier = ptr.String(jtv) } + case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -8616,6 +8829,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.InvocationId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8624,6 +8838,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.RoleArn = ptr.String(jtv) } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -8632,6 +8847,7 @@ func awsRestjson1_deserializeDocumentActionInvocation(v **types.ActionInvocation } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -8773,6 +8989,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8781,6 +8998,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8789,6 +9007,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8862,6 +9081,7 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.ExtensionAssociationId = ptr.String(jtv) } + case "ExtensionId": if value != nil { jtv, ok := value.(string) @@ -8870,10 +9090,12 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.ExtensionId = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterValueMap(&sv.Parameters, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8886,6 +9108,7 @@ func awsRestjson1_deserializeDocumentAppliedExtension(v **types.AppliedExtension } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -8993,6 +9216,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9001,6 +9225,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9009,6 +9234,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } + default: _, _ = key, value @@ -9048,6 +9274,7 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.ApplicationId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9056,6 +9283,7 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Id = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -9064,6 +9292,7 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.LocationUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9072,6 +9301,7 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9080,10 +9310,12 @@ func awsRestjson1_deserializeDocumentConfigurationProfileSummary(v **types.Confi } sv.Type = ptr.String(jtv) } + case "ValidatorTypes": if err := awsRestjson1_deserializeDocumentValidatorTypeList(&sv.ValidatorTypes, value); err != nil { return err } + default: _, _ = key, value @@ -9157,6 +9389,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9196,6 +9429,7 @@ func awsRestjson1_deserializeDocumentDeletionProtectionSettings(v **types.Deleti } sv.Enabled = ptr.Bool(jtv) } + case "ProtectionPeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9208,6 +9442,7 @@ func awsRestjson1_deserializeDocumentDeletionProtectionSettings(v **types.Deleti } sv.ProtectionPeriodInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9243,6 +9478,7 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, if err := awsRestjson1_deserializeDocumentActionInvocations(&sv.ActionInvocations, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9251,6 +9487,7 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.Description = ptr.String(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -9259,6 +9496,7 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.EventType = types.DeploymentEventType(jtv) } + case "OccurredAt": if value != nil { jtv, ok := value.(string) @@ -9271,6 +9509,7 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.OccurredAt = ptr.Time(t) } + case "TriggeredBy": if value != nil { jtv, ok := value.(string) @@ -9279,6 +9518,7 @@ func awsRestjson1_deserializeDocumentDeploymentEvent(v **types.DeploymentEvent, } sv.TriggeredBy = types.TriggeredBy(jtv) } + default: _, _ = key, value @@ -9390,6 +9630,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.DeploymentDurationInMinutes = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9398,6 +9639,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Description = ptr.String(jtv) } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9410,6 +9652,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -9443,6 +9686,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -9451,6 +9695,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.GrowthType = types.GrowthType(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9459,6 +9704,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9467,6 +9713,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.Name = ptr.String(jtv) } + case "ReplicateTo": if value != nil { jtv, ok := value.(string) @@ -9475,6 +9722,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra } sv.ReplicateTo = types.ReplicateTo(jtv) } + default: _, _ = key, value @@ -9552,6 +9800,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.CompletedAt = ptr.Time(t) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -9560,6 +9809,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ConfigurationName = ptr.String(jtv) } + case "ConfigurationVersion": if value != nil { jtv, ok := value.(string) @@ -9568,6 +9818,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ConfigurationVersion = ptr.String(jtv) } + case "DeploymentDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9580,6 +9831,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentDurationInMinutes = int32(i64) } + case "DeploymentNumber": if value != nil { jtv, ok := value.(json.Number) @@ -9592,6 +9844,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentNumber = int32(i64) } + case "FinalBakeTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9604,6 +9857,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.FinalBakeTimeInMinutes = int32(i64) } + case "GrowthFactor": if value != nil { switch jtv := value.(type) { @@ -9637,6 +9891,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "GrowthType": if value != nil { jtv, ok := value.(string) @@ -9645,6 +9900,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.GrowthType = types.GrowthType(jtv) } + case "PercentageComplete": if value != nil { switch jtv := value.(type) { @@ -9678,6 +9934,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -9690,6 +9947,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.StartedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9698,6 +9956,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.State = types.DeploymentState(jtv) } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -9706,6 +9965,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.VersionLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -9745,6 +10005,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ApplicationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9753,6 +10014,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9761,10 +10023,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } + case "Monitors": if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9773,6 +10037,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9781,6 +10046,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.State = types.EnvironmentState(jtv) } + default: _, _ = key, value @@ -9888,6 +10154,7 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.ExtensionArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9896,6 +10163,7 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.Id = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9904,6 +10172,7 @@ func awsRestjson1_deserializeDocumentExtensionAssociationSummary(v **types.Exten } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9977,6 +10246,7 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9985,6 +10255,7 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9993,6 +10264,7 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10001,6 +10273,7 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.Name = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10013,6 +10286,7 @@ func awsRestjson1_deserializeDocumentExtensionSummary(v **types.ExtensionSummary } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -10052,6 +10326,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ApplicationId = ptr.String(jtv) } + case "ConfigurationProfileId": if value != nil { jtv, ok := value.(string) @@ -10060,6 +10335,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ConfigurationProfileId = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -10068,6 +10344,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.ContentType = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10076,6 +10353,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.Description = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -10084,6 +10362,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.KmsKeyArn = ptr.String(jtv) } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -10092,6 +10371,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.VersionLabel = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10104,6 +10384,7 @@ func awsRestjson1_deserializeDocumentHostedConfigurationVersionSummary(v **types } sv.VersionNumber = int32(i64) } + default: _, _ = key, value @@ -10177,6 +10458,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10216,6 +10498,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Constraint = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -10224,6 +10507,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Location = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -10232,6 +10516,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Reason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10240,6 +10525,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10248,6 +10534,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationDetail(v **types.Invali } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10321,6 +10608,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.AlarmArn = ptr.String(jtv) } + case "AlarmRoleArn": if value != nil { jtv, ok := value.(string) @@ -10329,6 +10617,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.AlarmRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10402,6 +10691,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } + case "Dynamic": if value != nil { jtv, ok := value.(bool) @@ -10410,6 +10700,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Dynamic = jtv } + case "Required": if value != nil { jtv, ok := value.(bool) @@ -10418,6 +10709,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Required = jtv } + default: _, _ = key, value @@ -10553,6 +10845,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } + case "Measure": if value != nil { jtv, ok := value.(string) @@ -10561,6 +10854,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Measure = types.BytesMeasure(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10569,6 +10863,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } + case "Size": if value != nil { switch jtv := value.(type) { @@ -10602,6 +10897,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } } + default: _, _ = key, value @@ -10641,6 +10937,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -10649,6 +10946,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10688,6 +10986,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10763,6 +11062,7 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.Content = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10771,6 +11071,7 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.Type = types.ValidatorType(jtv) } + default: _, _ = key, value diff --git a/service/appconfigdata/deserializers.go b/service/appconfigdata/deserializers.go index 996ee1f2534..9fbe915245d 100644 --- a/service/appconfigdata/deserializers.go +++ b/service/appconfigdata/deserializers.go @@ -345,6 +345,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationSessionOutput(v **Start } sv.InitialConfigurationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -562,6 +563,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc if err := awsRestjson1_deserializeDocumentBadRequestDetails(&sv.Details, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -570,6 +572,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -578,6 +581,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } + default: _, _ = key, value @@ -617,6 +621,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -656,6 +661,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterDetail(v **types.InvalidPar } sv.Problem = types.InvalidParameterProblem(jtv) } + default: _, _ = key, value @@ -730,10 +736,12 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ReferencedBy": if err := awsRestjson1_deserializeDocumentStringMap(&sv.ReferencedBy, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -742,6 +750,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -817,6 +826,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/appfabric/deserializers.go b/service/appfabric/deserializers.go index 2a813f970d7..41430224bb6 100644 --- a/service/appfabric/deserializers.go +++ b/service/appfabric/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetUserAccessTasksOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentUserAccessResultsList(&sv.UserAccessResultsList, value); err != nil { return err } + default: _, _ = key, value @@ -347,6 +348,7 @@ func awsRestjson1_deserializeOpDocumentConnectAppAuthorizationOutput(v **Connect if err := awsRestjson1_deserializeDocumentAppAuthorizationSummary(&sv.AppAuthorizationSummary, value); err != nil { return err } + default: _, _ = key, value @@ -516,6 +518,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppAuthorizationOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } + default: _, _ = key, value @@ -682,6 +685,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppBundleOutput(v **CreateAppBundle if err := awsRestjson1_deserializeDocumentAppBundle(&sv.AppBundle, value); err != nil { return err } + default: _, _ = key, value @@ -848,6 +852,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } + default: _, _ = key, value @@ -1014,6 +1019,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionDestinationOutput(v **Crea if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } + default: _, _ = key, value @@ -1577,6 +1583,7 @@ func awsRestjson1_deserializeOpDocumentGetAppAuthorizationOutput(v **GetAppAutho if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } + default: _, _ = key, value @@ -1740,6 +1747,7 @@ func awsRestjson1_deserializeOpDocumentGetAppBundleOutput(v **GetAppBundleOutput if err := awsRestjson1_deserializeDocumentAppBundle(&sv.AppBundle, value); err != nil { return err } + default: _, _ = key, value @@ -1903,6 +1911,7 @@ func awsRestjson1_deserializeOpDocumentGetIngestionOutput(v **GetIngestionOutput if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } + default: _, _ = key, value @@ -2066,6 +2075,7 @@ func awsRestjson1_deserializeOpDocumentGetIngestionDestinationOutput(v **GetInge if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } + default: _, _ = key, value @@ -2229,6 +2239,7 @@ func awsRestjson1_deserializeOpDocumentListAppAuthorizationsOutput(v **ListAppAu if err := awsRestjson1_deserializeDocumentAppAuthorizationSummaryList(&sv.AppAuthorizationSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2237,6 +2248,7 @@ func awsRestjson1_deserializeOpDocumentListAppAuthorizationsOutput(v **ListAppAu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2397,6 +2409,7 @@ func awsRestjson1_deserializeOpDocumentListAppBundlesOutput(v **ListAppBundlesOu if err := awsRestjson1_deserializeDocumentAppBundleSummaryList(&sv.AppBundleSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2405,6 +2418,7 @@ func awsRestjson1_deserializeOpDocumentListAppBundlesOutput(v **ListAppBundlesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2568,6 +2582,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionDestinationsOutput(v **ListI if err := awsRestjson1_deserializeDocumentIngestionDestinationList(&sv.IngestionDestinations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2576,6 +2591,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionDestinationsOutput(v **ListI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2739,6 +2755,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu if err := awsRestjson1_deserializeDocumentIngestionList(&sv.Ingestions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2747,6 +2764,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2910,6 +2928,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3176,6 +3195,7 @@ func awsRestjson1_deserializeOpDocumentStartUserAccessTasksOutput(v **StartUserA if err := awsRestjson1_deserializeDocumentUserAccessTasksList(&sv.UserAccessTasksList, value); err != nil { return err } + default: _, _ = key, value @@ -3642,6 +3662,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppAuthorizationOutput(v **UpdateAp if err := awsRestjson1_deserializeDocumentAppAuthorization(&sv.AppAuthorization, value); err != nil { return err } + default: _, _ = key, value @@ -3811,6 +3832,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIngestionDestinationOutput(v **Upda if err := awsRestjson1_deserializeDocumentIngestionDestination(&sv.IngestionDestination, value); err != nil { return err } + default: _, _ = key, value @@ -4142,6 +4164,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4181,6 +4204,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.App = ptr.String(jtv) } + case "appAuthorizationArn": if value != nil { jtv, ok := value.(string) @@ -4189,6 +4213,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AppAuthorizationArn = ptr.String(jtv) } + case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4197,6 +4222,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AppBundleArn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -4205,6 +4231,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AuthType = types.AuthType(jtv) } + case "authUrl": if value != nil { jtv, ok := value.(string) @@ -4213,6 +4240,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.AuthUrl = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4225,6 +4253,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.CreatedAt = ptr.Time(t) } + case "persona": if value != nil { jtv, ok := value.(string) @@ -4233,6 +4262,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.Persona = types.Persona(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4241,10 +4271,12 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.Status = types.AppAuthorizationStatus(jtv) } + case "tenant": if err := awsRestjson1_deserializeDocumentTenant(&sv.Tenant, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4257,6 +4289,7 @@ func awsRestjson1_deserializeDocumentAppAuthorization(v **types.AppAuthorization } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4296,6 +4329,7 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.App = ptr.String(jtv) } + case "appAuthorizationArn": if value != nil { jtv, ok := value.(string) @@ -4304,6 +4338,7 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.AppAuthorizationArn = ptr.String(jtv) } + case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4312,6 +4347,7 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.AppBundleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4320,10 +4356,12 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.Status = types.AppAuthorizationStatus(jtv) } + case "tenant": if err := awsRestjson1_deserializeDocumentTenant(&sv.Tenant, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4336,6 +4374,7 @@ func awsRestjson1_deserializeDocumentAppAuthorizationSummary(v **types.AppAuthor } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4409,6 +4448,7 @@ func awsRestjson1_deserializeDocumentAppBundle(v **types.AppBundle, value interf } sv.Arn = ptr.String(jtv) } + case "customerManagedKeyArn": if value != nil { jtv, ok := value.(string) @@ -4417,6 +4457,7 @@ func awsRestjson1_deserializeDocumentAppBundle(v **types.AppBundle, value interf } sv.CustomerManagedKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4456,6 +4497,7 @@ func awsRestjson1_deserializeDocumentAppBundleSummary(v **types.AppBundleSummary } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -4525,6 +4567,7 @@ func awsRestjson1_deserializeDocumentAuditLogDestinationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + default: _, _ = key, value @@ -4564,6 +4607,7 @@ func awsRestjson1_deserializeDocumentAuditLogProcessingConfiguration(v **types.A } sv.Format = types.Format(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -4572,6 +4616,7 @@ func awsRestjson1_deserializeDocumentAuditLogProcessingConfiguration(v **types.A } sv.Schema = types.Schema(jtv) } + default: _, _ = key, value @@ -4611,6 +4656,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4665,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4627,6 +4674,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4756,6 +4804,7 @@ func awsRestjson1_deserializeDocumentFirehoseStream(v **types.FirehoseStream, va } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -4795,6 +4844,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.App = ptr.String(jtv) } + case "appBundleArn": if value != nil { jtv, ok := value.(string) @@ -4803,6 +4853,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.AppBundleArn = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4811,6 +4862,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4823,6 +4875,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.CreatedAt = ptr.Time(t) } + case "ingestionType": if value != nil { jtv, ok := value.(string) @@ -4831,6 +4884,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionType = types.IngestionType(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4839,6 +4893,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.State = types.IngestionState(jtv) } + case "tenantId": if value != nil { jtv, ok := value.(string) @@ -4847,6 +4902,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.TenantId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4859,6 +4915,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4898,6 +4955,7 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4910,10 +4968,12 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.CreatedAt = ptr.Time(t) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "ingestionArn": if value != nil { jtv, ok := value.(string) @@ -4922,10 +4982,12 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.IngestionArn = ptr.String(jtv) } + case "processingConfiguration": if err := awsRestjson1_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4934,6 +4996,7 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.Status = types.IngestionDestinationStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4942,6 +5005,7 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.StatusReason = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4954,6 +5018,7 @@ func awsRestjson1_deserializeDocumentIngestionDestination(v **types.IngestionDes } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5027,6 +5092,7 @@ func awsRestjson1_deserializeDocumentIngestionDestinationSummary(v **types.Inges } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -5100,6 +5166,7 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.App = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5108,6 +5175,7 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.Arn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -5116,6 +5184,7 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.State = types.IngestionState(jtv) } + case "tenantId": if value != nil { jtv, ok := value.(string) @@ -5124,6 +5193,7 @@ func awsRestjson1_deserializeDocumentIngestionSummary(v **types.IngestionSummary } sv.TenantId = ptr.String(jtv) } + default: _, _ = key, value @@ -5163,6 +5233,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5175,6 +5246,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5254,6 +5326,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5262,6 +5335,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5270,6 +5344,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5309,6 +5384,7 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.BucketName = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -5317,6 +5393,7 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -5356,6 +5433,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5364,6 +5442,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5372,6 +5451,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5380,6 +5460,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5388,6 +5469,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5427,6 +5509,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -5435,6 +5518,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5508,6 +5592,7 @@ func awsRestjson1_deserializeDocumentTaskError(v **types.TaskError, value interf } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5516,6 +5601,7 @@ func awsRestjson1_deserializeDocumentTaskError(v **types.TaskError, value interf } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5555,6 +5641,7 @@ func awsRestjson1_deserializeDocumentTenant(v **types.Tenant, value interface{}) } sv.TenantDisplayName = ptr.String(jtv) } + case "tenantIdentifier": if value != nil { jtv, ok := value.(string) @@ -5563,6 +5650,7 @@ func awsRestjson1_deserializeDocumentTenant(v **types.Tenant, value interface{}) } sv.TenantIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5602,6 +5690,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5610,6 +5699,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5622,6 +5712,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5630,6 +5721,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5669,6 +5761,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.App = ptr.String(jtv) } + case "email": if value != nil { jtv, ok := value.(string) @@ -5677,6 +5770,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.Email = ptr.String(jtv) } + case "resultStatus": if value != nil { jtv, ok := value.(string) @@ -5685,10 +5779,12 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.ResultStatus = types.ResultStatus(jtv) } + case "taskError": if err := awsRestjson1_deserializeDocumentTaskError(&sv.TaskError, value); err != nil { return err } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -5697,6 +5793,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TaskId = ptr.String(jtv) } + case "tenantDisplayName": if value != nil { jtv, ok := value.(string) @@ -5705,6 +5802,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TenantDisplayName = ptr.String(jtv) } + case "tenantId": if value != nil { jtv, ok := value.(string) @@ -5713,6 +5811,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.TenantId = ptr.String(jtv) } + case "userFirstName": if value != nil { jtv, ok := value.(string) @@ -5721,6 +5820,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserFirstName = ptr.String(jtv) } + case "userFullName": if value != nil { jtv, ok := value.(string) @@ -5729,6 +5829,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserFullName = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -5737,6 +5838,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserId = ptr.String(jtv) } + case "userLastName": if value != nil { jtv, ok := value.(string) @@ -5745,6 +5847,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserLastName = ptr.String(jtv) } + case "userStatus": if value != nil { jtv, ok := value.(string) @@ -5753,6 +5856,7 @@ func awsRestjson1_deserializeDocumentUserAccessResultItem(v **types.UserAccessRe } sv.UserStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -5826,10 +5930,12 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.App = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentTaskError(&sv.Error, value); err != nil { return err } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -5838,6 +5944,7 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.TaskId = ptr.String(jtv) } + case "tenantId": if value != nil { jtv, ok := value.(string) @@ -5846,6 +5953,7 @@ func awsRestjson1_deserializeDocumentUserAccessTaskItem(v **types.UserAccessTask } sv.TenantId = ptr.String(jtv) } + default: _, _ = key, value @@ -5915,6 +6023,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5923,6 +6032,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5931,6 +6041,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -5970,6 +6081,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5978,6 +6090,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index 4d1733f7e12..2a8a290baa5 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentCancelFlowExecutionsOutput(v **CancelFlow if err := awsRestjson1_deserializeDocumentExecutionIds(&sv.InvalidExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -351,6 +352,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorProfileOutput(v **CreateCo } sv.ConnectorProfileArn = ptr.String(jtv) } + default: _, _ = key, value @@ -527,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.FlowArn = ptr.String(jtv) } + case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -535,6 +538,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.FlowStatus = types.FlowStatus(jtv) } + default: _, _ = key, value @@ -880,6 +884,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsRestjson1_deserializeDocumentConnectorConfiguration(&sv.ConnectorConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1043,6 +1048,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorEntityOutput(v **Describ if err := awsRestjson1_deserializeDocumentConnectorEntityFieldList(&sv.ConnectorEntityFields, value); err != nil { return err } + default: _, _ = key, value @@ -1197,6 +1203,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorProfilesOutput(v **Descr if err := awsRestjson1_deserializeDocumentConnectorProfileDetailList(&sv.ConnectorProfileDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1205,6 +1212,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorProfilesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1359,10 +1367,12 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorsOutput(v **DescribeConn if err := awsRestjson1_deserializeDocumentConnectorConfigurationsMap(&sv.ConnectorConfigurations, value); err != nil { return err } + case "connectors": if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1371,6 +1381,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorsOutput(v **DescribeConn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1536,6 +1547,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1544,6 +1556,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1552,10 +1565,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.Description = ptr.String(jtv) } + case "destinationFlowConfigList": if err := awsRestjson1_deserializeDocumentDestinationFlowConfigList(&sv.DestinationFlowConfigList, value); err != nil { return err } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -1564,6 +1579,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowArn = ptr.String(jtv) } + case "flowName": if value != nil { jtv, ok := value.(string) @@ -1572,6 +1588,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowName = ptr.String(jtv) } + case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -1580,6 +1597,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowStatus = types.FlowStatus(jtv) } + case "flowStatusMessage": if value != nil { jtv, ok := value.(string) @@ -1588,6 +1606,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.FlowStatusMessage = ptr.String(jtv) } + case "kmsArn": if value != nil { jtv, ok := value.(string) @@ -1596,14 +1615,17 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.KmsArn = ptr.String(jtv) } + case "lastRunExecutionDetails": if err := awsRestjson1_deserializeDocumentExecutionDetails(&sv.LastRunExecutionDetails, value); err != nil { return err } + case "lastRunMetadataCatalogDetails": if err := awsRestjson1_deserializeDocumentMetadataCatalogDetails(&sv.LastRunMetadataCatalogDetails, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1619,6 +1641,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -1627,10 +1650,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.LastUpdatedBy = ptr.String(jtv) } + case "metadataCatalogConfig": if err := awsRestjson1_deserializeDocumentMetadataCatalogConfig(&sv.MetadataCatalogConfig, value); err != nil { return err } + case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1643,22 +1668,27 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput } sv.SchemaVersion = ptr.Int64(i64) } + case "sourceFlowConfig": if err := awsRestjson1_deserializeDocumentSourceFlowConfig(&sv.SourceFlowConfig, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "tasks": if err := awsRestjson1_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } + case "triggerConfig": if err := awsRestjson1_deserializeDocumentTriggerConfig(&sv.TriggerConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1816,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowExecutionRecordsOutput(v **De if err := awsRestjson1_deserializeDocumentFlowExecutionList(&sv.FlowExecutions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1824,6 +1855,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowExecutionRecordsOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1987,6 +2019,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorEntitiesOutput(v **ListConne if err := awsRestjson1_deserializeDocumentConnectorEntityMap(&sv.ConnectorEntityMap, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1995,6 +2028,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorEntitiesOutput(v **ListConne } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2149,6 +2183,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2157,6 +2192,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2311,6 +2347,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocumentFlowList(&sv.Flows, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2319,6 +2356,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2476,6 +2514,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2655,6 +2694,7 @@ func awsRestjson1_deserializeOpDocumentRegisterConnectorOutput(v **RegisterConne } sv.ConnectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2916,6 +2956,7 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.ExecutionId = ptr.String(jtv) } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -2924,6 +2965,7 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowArn = ptr.String(jtv) } + case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -2932,6 +2974,7 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowStatus = types.FlowStatus(jtv) } + default: _, _ = key, value @@ -3096,6 +3139,7 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowArn = ptr.String(jtv) } + case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -3104,6 +3148,7 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowStatus = types.FlowStatus(jtv) } + default: _, _ = key, value @@ -3553,6 +3598,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorProfileOutput(v **UpdateCo } sv.ConnectorProfileArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3732,6 +3778,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorRegistrationOutput(v **Upd } sv.ConnectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3908,6 +3955,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.FlowStatus = types.FlowStatus(jtv) } + default: _, _ = key, value @@ -4307,6 +4355,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4346,6 +4395,7 @@ func awsRestjson1_deserializeDocumentAggregationConfig(v **types.AggregationConf } sv.AggregationType = types.AggregationType(jtv) } + case "targetFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -4358,6 +4408,7 @@ func awsRestjson1_deserializeDocumentAggregationConfig(v **types.AggregationConf } sv.TargetFileSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -4459,6 +4510,7 @@ func awsRestjson1_deserializeDocumentAmplitudeSourceProperties(v **types.Amplitu } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -4530,6 +4582,7 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati if err := awsRestjson1_deserializeDocumentCustomAuthConfigList(&sv.CustomAuthConfigs, value); err != nil { return err } + case "isApiKeyAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4538,6 +4591,7 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsApiKeyAuthSupported = jtv } + case "isBasicAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4546,6 +4600,7 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsBasicAuthSupported = jtv } + case "isCustomAuthSupported": if value != nil { jtv, ok := value.(bool) @@ -4554,6 +4609,7 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsCustomAuthSupported = jtv } + case "isOAuth2Supported": if value != nil { jtv, ok := value.(bool) @@ -4562,10 +4618,12 @@ func awsRestjson1_deserializeDocumentAuthenticationConfig(v **types.Authenticati } sv.IsOAuth2Supported = jtv } + case "oAuth2Defaults": if err := awsRestjson1_deserializeDocumentOAuth2Defaults(&sv.OAuth2Defaults, value); err != nil { return err } + default: _, _ = key, value @@ -4601,6 +4659,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueList(&sv.ConnectorSuppliedValues, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -4609,6 +4668,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Description = ptr.String(jtv) } + case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -4617,6 +4677,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.IsRequired = jtv } + case "isSensitiveField": if value != nil { jtv, ok := value.(bool) @@ -4625,6 +4686,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.IsSensitiveField = jtv } + case "key": if value != nil { jtv, ok := value.(string) @@ -4633,6 +4695,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Key = ptr.String(jtv) } + case "label": if value != nil { jtv, ok := value.(string) @@ -4641,6 +4704,7 @@ func awsRestjson1_deserializeDocumentAuthParameter(v **types.AuthParameter, valu } sv.Label = ptr.String(jtv) } + default: _, _ = key, value @@ -4714,6 +4778,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4753,6 +4818,7 @@ func awsRestjson1_deserializeDocumentConnectorAuthenticationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4788,6 +4854,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC if err := awsRestjson1_deserializeDocumentAuthenticationConfig(&sv.AuthenticationConfig, value); err != nil { return err } + case "canUseAsDestination": if value != nil { jtv, ok := value.(bool) @@ -4796,6 +4863,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.CanUseAsDestination = jtv } + case "canUseAsSource": if value != nil { jtv, ok := value.(bool) @@ -4804,6 +4872,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.CanUseAsSource = jtv } + case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -4812,6 +4881,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorArn = ptr.String(jtv) } + case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -4820,6 +4890,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorDescription = ptr.String(jtv) } + case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -4828,14 +4899,17 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorLabel = ptr.String(jtv) } + case "connectorMetadata": if err := awsRestjson1_deserializeDocumentConnectorMetadata(&sv.ConnectorMetadata, value); err != nil { return err } + case "connectorModes": if err := awsRestjson1_deserializeDocumentConnectorModeList(&sv.ConnectorModes, value); err != nil { return err } + case "connectorName": if value != nil { jtv, ok := value.(string) @@ -4844,6 +4918,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorName = ptr.String(jtv) } + case "connectorOwner": if value != nil { jtv, ok := value.(string) @@ -4852,10 +4927,12 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorOwner = ptr.String(jtv) } + case "connectorProvisioningConfig": if err := awsRestjson1_deserializeDocumentConnectorProvisioningConfig(&sv.ConnectorProvisioningConfig, value); err != nil { return err } + case "connectorProvisioningType": if value != nil { jtv, ok := value.(string) @@ -4864,10 +4941,12 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorProvisioningType = types.ConnectorProvisioningType(jtv) } + case "connectorRuntimeSettings": if err := awsRestjson1_deserializeDocumentConnectorRuntimeSettingList(&sv.ConnectorRuntimeSettings, value); err != nil { return err } + case "connectorType": if value != nil { jtv, ok := value.(string) @@ -4876,6 +4955,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorType = types.ConnectorType(jtv) } + case "connectorVersion": if value != nil { jtv, ok := value.(string) @@ -4884,6 +4964,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.ConnectorVersion = ptr.String(jtv) } + case "isPrivateLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -4892,6 +4973,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.IsPrivateLinkEnabled = jtv } + case "isPrivateLinkEndpointUrlRequired": if value != nil { jtv, ok := value.(bool) @@ -4900,6 +4982,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.IsPrivateLinkEndpointUrlRequired = jtv } + case "logoURL": if value != nil { jtv, ok := value.(string) @@ -4908,6 +4991,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.LogoURL = ptr.String(jtv) } + case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -4923,6 +5007,7 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } } + case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -4931,38 +5016,47 @@ func awsRestjson1_deserializeDocumentConnectorConfiguration(v **types.ConnectorC } sv.RegisteredBy = ptr.String(jtv) } + case "supportedApiVersions": if err := awsRestjson1_deserializeDocumentSupportedApiVersionList(&sv.SupportedApiVersions, value); err != nil { return err } + case "supportedDataTransferApis": if err := awsRestjson1_deserializeDocumentSupportedDataTransferApis(&sv.SupportedDataTransferApis, value); err != nil { return err } + case "supportedDataTransferTypes": if err := awsRestjson1_deserializeDocumentSupportedDataTransferTypeList(&sv.SupportedDataTransferTypes, value); err != nil { return err } + case "supportedDestinationConnectors": if err := awsRestjson1_deserializeDocumentConnectorTypeList(&sv.SupportedDestinationConnectors, value); err != nil { return err } + case "supportedOperators": if err := awsRestjson1_deserializeDocumentSupportedOperatorList(&sv.SupportedOperators, value); err != nil { return err } + case "supportedSchedulingFrequencies": if err := awsRestjson1_deserializeDocumentSchedulingFrequencyTypeList(&sv.SupportedSchedulingFrequencies, value); err != nil { return err } + case "supportedTriggerTypes": if err := awsRestjson1_deserializeDocumentTriggerTypeList(&sv.SupportedTriggerTypes, value); err != nil { return err } + case "supportedWriteOperations": if err := awsRestjson1_deserializeDocumentSupportedWriteOperationList(&sv.SupportedWriteOperations, value); err != nil { return err } + default: _, _ = key, value @@ -5037,6 +5131,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ApplicationType = ptr.String(jtv) } + case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -5045,6 +5140,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorDescription = ptr.String(jtv) } + case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -5053,10 +5149,12 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorLabel = ptr.String(jtv) } + case "connectorModes": if err := awsRestjson1_deserializeDocumentConnectorModeList(&sv.ConnectorModes, value); err != nil { return err } + case "connectorName": if value != nil { jtv, ok := value.(string) @@ -5065,6 +5163,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorName = ptr.String(jtv) } + case "connectorOwner": if value != nil { jtv, ok := value.(string) @@ -5073,6 +5172,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorOwner = ptr.String(jtv) } + case "connectorProvisioningType": if value != nil { jtv, ok := value.(string) @@ -5081,6 +5181,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorProvisioningType = types.ConnectorProvisioningType(jtv) } + case "connectorType": if value != nil { jtv, ok := value.(string) @@ -5089,6 +5190,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorType = types.ConnectorType(jtv) } + case "connectorVersion": if value != nil { jtv, ok := value.(string) @@ -5097,6 +5199,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.ConnectorVersion = ptr.String(jtv) } + case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -5112,6 +5215,7 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } } + case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -5120,10 +5224,12 @@ func awsRestjson1_deserializeDocumentConnectorDetail(v **types.ConnectorDetail, } sv.RegisteredBy = ptr.String(jtv) } + case "supportedDataTransferTypes": if err := awsRestjson1_deserializeDocumentSupportedDataTransferTypeList(&sv.SupportedDataTransferTypes, value); err != nil { return err } + default: _, _ = key, value @@ -5163,6 +5269,7 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.HasNestedEntities = jtv } + case "label": if value != nil { jtv, ok := value.(string) @@ -5171,6 +5278,7 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.Label = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5179,6 +5287,7 @@ func awsRestjson1_deserializeDocumentConnectorEntity(v **types.ConnectorEntity, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5214,6 +5323,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -5222,6 +5332,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5230,10 +5341,12 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Description = ptr.String(jtv) } + case "destinationProperties": if err := awsRestjson1_deserializeDocumentDestinationFieldProperties(&sv.DestinationProperties, value); err != nil { return err } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -5242,6 +5355,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Identifier = ptr.String(jtv) } + case "isDeprecated": if value != nil { jtv, ok := value.(bool) @@ -5250,6 +5364,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.IsDeprecated = jtv } + case "isPrimaryKey": if value != nil { jtv, ok := value.(bool) @@ -5258,6 +5373,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.IsPrimaryKey = jtv } + case "label": if value != nil { jtv, ok := value.(string) @@ -5266,6 +5382,7 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.Label = ptr.String(jtv) } + case "parentIdentifier": if value != nil { jtv, ok := value.(string) @@ -5274,14 +5391,17 @@ func awsRestjson1_deserializeDocumentConnectorEntityField(v **types.ConnectorEnt } sv.ParentIdentifier = ptr.String(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceFieldProperties(&sv.SourceProperties, value); err != nil { return err } + case "supportedFieldTypeDetails": if err := awsRestjson1_deserializeDocumentSupportedFieldTypeDetails(&sv.SupportedFieldTypeDetails, value); err != nil { return err } + default: _, _ = key, value @@ -5453,90 +5573,112 @@ func awsRestjson1_deserializeDocumentConnectorMetadata(v **types.ConnectorMetada if err := awsRestjson1_deserializeDocumentAmplitudeMetadata(&sv.Amplitude, value); err != nil { return err } + case "CustomerProfiles": if err := awsRestjson1_deserializeDocumentCustomerProfilesMetadata(&sv.CustomerProfiles, value); err != nil { return err } + case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogMetadata(&sv.Datadog, value); err != nil { return err } + case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceMetadata(&sv.Dynatrace, value); err != nil { return err } + case "EventBridge": if err := awsRestjson1_deserializeDocumentEventBridgeMetadata(&sv.EventBridge, value); err != nil { return err } + case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsMetadata(&sv.GoogleAnalytics, value); err != nil { return err } + case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeMetadata(&sv.Honeycode, value); err != nil { return err } + case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusMetadata(&sv.InforNexus, value); err != nil { return err } + case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoMetadata(&sv.Marketo, value); err != nil { return err } + case "Pardot": if err := awsRestjson1_deserializeDocumentPardotMetadata(&sv.Pardot, value); err != nil { return err } + case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftMetadata(&sv.Redshift, value); err != nil { return err } + case "S3": if err := awsRestjson1_deserializeDocumentS3Metadata(&sv.S3, value); err != nil { return err } + case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceMetadata(&sv.Salesforce, value); err != nil { return err } + case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataMetadata(&sv.SAPOData, value); err != nil { return err } + case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowMetadata(&sv.ServiceNow, value); err != nil { return err } + case "Singular": if err := awsRestjson1_deserializeDocumentSingularMetadata(&sv.Singular, value); err != nil { return err } + case "Slack": if err := awsRestjson1_deserializeDocumentSlackMetadata(&sv.Slack, value); err != nil { return err } + case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeMetadata(&sv.Snowflake, value); err != nil { return err } + case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroMetadata(&sv.Trendmicro, value); err != nil { return err } + case "Upsolver": if err := awsRestjson1_deserializeDocumentUpsolverMetadata(&sv.Upsolver, value); err != nil { return err } + case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaMetadata(&sv.Veeva, value); err != nil { return err } + case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskMetadata(&sv.Zendesk, value); err != nil { return err } + default: _, _ = key, value @@ -5612,6 +5754,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Amplitude = types.AmplitudeConnectorOperator(jtv) } + case "CustomConnector": if value != nil { jtv, ok := value.(string) @@ -5620,6 +5763,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.CustomConnector = types.Operator(jtv) } + case "Datadog": if value != nil { jtv, ok := value.(string) @@ -5628,6 +5772,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Datadog = types.DatadogConnectorOperator(jtv) } + case "Dynatrace": if value != nil { jtv, ok := value.(string) @@ -5636,6 +5781,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Dynatrace = types.DynatraceConnectorOperator(jtv) } + case "GoogleAnalytics": if value != nil { jtv, ok := value.(string) @@ -5644,6 +5790,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.GoogleAnalytics = types.GoogleAnalyticsConnectorOperator(jtv) } + case "InforNexus": if value != nil { jtv, ok := value.(string) @@ -5652,6 +5799,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.InforNexus = types.InforNexusConnectorOperator(jtv) } + case "Marketo": if value != nil { jtv, ok := value.(string) @@ -5660,6 +5808,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Marketo = types.MarketoConnectorOperator(jtv) } + case "Pardot": if value != nil { jtv, ok := value.(string) @@ -5668,6 +5817,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Pardot = types.PardotConnectorOperator(jtv) } + case "S3": if value != nil { jtv, ok := value.(string) @@ -5676,6 +5826,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.S3 = types.S3ConnectorOperator(jtv) } + case "Salesforce": if value != nil { jtv, ok := value.(string) @@ -5684,6 +5835,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Salesforce = types.SalesforceConnectorOperator(jtv) } + case "SAPOData": if value != nil { jtv, ok := value.(string) @@ -5692,6 +5844,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.SAPOData = types.SAPODataConnectorOperator(jtv) } + case "ServiceNow": if value != nil { jtv, ok := value.(string) @@ -5700,6 +5853,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.ServiceNow = types.ServiceNowConnectorOperator(jtv) } + case "Singular": if value != nil { jtv, ok := value.(string) @@ -5708,6 +5862,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Singular = types.SingularConnectorOperator(jtv) } + case "Slack": if value != nil { jtv, ok := value.(string) @@ -5716,6 +5871,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Slack = types.SlackConnectorOperator(jtv) } + case "Trendmicro": if value != nil { jtv, ok := value.(string) @@ -5724,6 +5880,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Trendmicro = types.TrendmicroConnectorOperator(jtv) } + case "Veeva": if value != nil { jtv, ok := value.(string) @@ -5732,6 +5889,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Veeva = types.VeevaConnectorOperator(jtv) } + case "Zendesk": if value != nil { jtv, ok := value.(string) @@ -5740,6 +5898,7 @@ func awsRestjson1_deserializeDocumentConnectorOperator(v **types.ConnectorOperat } sv.Zendesk = types.ZendeskConnectorOperator(jtv) } + default: _, _ = key, value @@ -5779,6 +5938,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectionMode = types.ConnectionMode(jtv) } + case "connectorLabel": if value != nil { jtv, ok := value.(string) @@ -5787,6 +5947,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorLabel = ptr.String(jtv) } + case "connectorProfileArn": if value != nil { jtv, ok := value.(string) @@ -5795,6 +5956,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorProfileArn = ptr.String(jtv) } + case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -5803,10 +5965,12 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorProfileName = ptr.String(jtv) } + case "connectorProfileProperties": if err := awsRestjson1_deserializeDocumentConnectorProfileProperties(&sv.ConnectorProfileProperties, value); err != nil { return err } + case "connectorType": if value != nil { jtv, ok := value.(string) @@ -5815,6 +5979,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.ConnectorType = types.ConnectorType(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5830,6 +5995,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } } + case "credentialsArn": if value != nil { jtv, ok := value.(string) @@ -5838,6 +6004,7 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } sv.CredentialsArn = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5853,10 +6020,12 @@ func awsRestjson1_deserializeDocumentConnectorProfile(v **types.ConnectorProfile } } + case "privateConnectionProvisioningState": if err := awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(&sv.PrivateConnectionProvisioningState, value); err != nil { return err } + default: _, _ = key, value @@ -5926,78 +6095,97 @@ func awsRestjson1_deserializeDocumentConnectorProfileProperties(v **types.Connec if err := awsRestjson1_deserializeDocumentAmplitudeConnectorProfileProperties(&sv.Amplitude, value); err != nil { return err } + case "CustomConnector": if err := awsRestjson1_deserializeDocumentCustomConnectorProfileProperties(&sv.CustomConnector, value); err != nil { return err } + case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogConnectorProfileProperties(&sv.Datadog, value); err != nil { return err } + case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceConnectorProfileProperties(&sv.Dynatrace, value); err != nil { return err } + case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsConnectorProfileProperties(&sv.GoogleAnalytics, value); err != nil { return err } + case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeConnectorProfileProperties(&sv.Honeycode, value); err != nil { return err } + case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusConnectorProfileProperties(&sv.InforNexus, value); err != nil { return err } + case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoConnectorProfileProperties(&sv.Marketo, value); err != nil { return err } + case "Pardot": if err := awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(&sv.Pardot, value); err != nil { return err } + case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(&sv.Redshift, value); err != nil { return err } + case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(&sv.Salesforce, value); err != nil { return err } + case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(&sv.SAPOData, value); err != nil { return err } + case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowConnectorProfileProperties(&sv.ServiceNow, value); err != nil { return err } + case "Singular": if err := awsRestjson1_deserializeDocumentSingularConnectorProfileProperties(&sv.Singular, value); err != nil { return err } + case "Slack": if err := awsRestjson1_deserializeDocumentSlackConnectorProfileProperties(&sv.Slack, value); err != nil { return err } + case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(&sv.Snowflake, value); err != nil { return err } + case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroConnectorProfileProperties(&sv.Trendmicro, value); err != nil { return err } + case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaConnectorProfileProperties(&sv.Veeva, value); err != nil { return err } + case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskConnectorProfileProperties(&sv.Zendesk, value); err != nil { return err } + default: _, _ = key, value @@ -6033,6 +6221,7 @@ func awsRestjson1_deserializeDocumentConnectorProvisioningConfig(v **types.Conne if err := awsRestjson1_deserializeDocumentLambdaConnectorProvisioningConfig(&sv.Lambda, value); err != nil { return err } + default: _, _ = key, value @@ -6068,6 +6257,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueOptionList(&sv.ConnectorSuppliedValueOptions, value); err != nil { return err } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -6076,6 +6266,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.DataType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6084,6 +6275,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Description = ptr.String(jtv) } + case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -6092,6 +6284,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.IsRequired = jtv } + case "key": if value != nil { jtv, ok := value.(string) @@ -6100,6 +6293,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Key = ptr.String(jtv) } + case "label": if value != nil { jtv, ok := value.(string) @@ -6108,6 +6302,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Label = ptr.String(jtv) } + case "scope": if value != nil { jtv, ok := value.(string) @@ -6116,6 +6311,7 @@ func awsRestjson1_deserializeDocumentConnectorRuntimeSetting(v **types.Connector } sv.Scope = ptr.String(jtv) } + default: _, _ = key, value @@ -6189,6 +6385,7 @@ func awsRestjson1_deserializeDocumentConnectorServerException(v **types.Connecto } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6332,6 +6529,7 @@ func awsRestjson1_deserializeDocumentCustomAuthConfig(v **types.CustomAuthConfig if err := awsRestjson1_deserializeDocumentAuthParameterList(&sv.AuthParameters, value); err != nil { return err } + case "customAuthenticationType": if value != nil { jtv, ok := value.(string) @@ -6340,6 +6538,7 @@ func awsRestjson1_deserializeDocumentCustomAuthConfig(v **types.CustomAuthConfig } sv.CustomAuthenticationType = ptr.String(jtv) } + default: _, _ = key, value @@ -6409,6 +6608,7 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } + case "entityName": if value != nil { jtv, ok := value.(string) @@ -6417,14 +6617,17 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty } sv.EntityName = ptr.String(jtv) } + case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } + case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -6433,6 +6636,7 @@ func awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(v **ty } sv.WriteOperationType = types.WriteOperationType(jtv) } + default: _, _ = key, value @@ -6468,10 +6672,12 @@ func awsRestjson1_deserializeDocumentCustomConnectorProfileProperties(v **types. if err := awsRestjson1_deserializeDocumentOAuth2Properties(&sv.OAuth2Properties, value); err != nil { return err } + case "profileProperties": if err := awsRestjson1_deserializeDocumentProfilePropertiesMap(&sv.ProfileProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6507,10 +6713,12 @@ func awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(v **types.C if err := awsRestjson1_deserializeDocumentCustomProperties(&sv.CustomProperties, value); err != nil { return err } + case "dataTransferApi": if err := awsRestjson1_deserializeDocumentDataTransferApi(&sv.DataTransferApi, value); err != nil { return err } + case "entityName": if value != nil { jtv, ok := value.(string) @@ -6519,6 +6727,7 @@ func awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(v **types.C } sv.EntityName = ptr.String(jtv) } + default: _, _ = key, value @@ -6558,6 +6767,7 @@ func awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(v **t } sv.DomainName = ptr.String(jtv) } + case "objectTypeName": if value != nil { jtv, ok := value.(string) @@ -6566,6 +6776,7 @@ func awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(v **t } sv.ObjectTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -6672,6 +6883,7 @@ func awsRestjson1_deserializeDocumentDatadogConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -6742,6 +6954,7 @@ func awsRestjson1_deserializeDocumentDatadogSourceProperties(v **types.DatadogSo } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -6781,6 +6994,7 @@ func awsRestjson1_deserializeDocumentDataTransferApi(v **types.DataTransferApi, } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6789,6 +7003,7 @@ func awsRestjson1_deserializeDocumentDataTransferApi(v **types.DataTransferApi, } sv.Type = types.DataTransferApiType(jtv) } + default: _, _ = key, value @@ -6824,54 +7039,67 @@ func awsRestjson1_deserializeDocumentDestinationConnectorProperties(v **types.De if err := awsRestjson1_deserializeDocumentCustomConnectorDestinationProperties(&sv.CustomConnector, value); err != nil { return err } + case "CustomerProfiles": if err := awsRestjson1_deserializeDocumentCustomerProfilesDestinationProperties(&sv.CustomerProfiles, value); err != nil { return err } + case "EventBridge": if err := awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(&sv.EventBridge, value); err != nil { return err } + case "Honeycode": if err := awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(&sv.Honeycode, value); err != nil { return err } + case "LookoutMetrics": if err := awsRestjson1_deserializeDocumentLookoutMetricsDestinationProperties(&sv.LookoutMetrics, value); err != nil { return err } + case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoDestinationProperties(&sv.Marketo, value); err != nil { return err } + case "Redshift": if err := awsRestjson1_deserializeDocumentRedshiftDestinationProperties(&sv.Redshift, value); err != nil { return err } + case "S3": if err := awsRestjson1_deserializeDocumentS3DestinationProperties(&sv.S3, value); err != nil { return err } + case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceDestinationProperties(&sv.Salesforce, value); err != nil { return err } + case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataDestinationProperties(&sv.SAPOData, value); err != nil { return err } + case "Snowflake": if err := awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(&sv.Snowflake, value); err != nil { return err } + case "Upsolver": if err := awsRestjson1_deserializeDocumentUpsolverDestinationProperties(&sv.Upsolver, value); err != nil { return err } + case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskDestinationProperties(&sv.Zendesk, value); err != nil { return err } + default: _, _ = key, value @@ -6911,6 +7139,7 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsCreatable = jtv } + case "isDefaultedOnCreate": if value != nil { jtv, ok := value.(bool) @@ -6919,6 +7148,7 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsDefaultedOnCreate = jtv } + case "isNullable": if value != nil { jtv, ok := value.(bool) @@ -6927,6 +7157,7 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsNullable = jtv } + case "isUpdatable": if value != nil { jtv, ok := value.(bool) @@ -6935,6 +7166,7 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsUpdatable = jtv } + case "isUpsertable": if value != nil { jtv, ok := value.(bool) @@ -6943,10 +7175,12 @@ func awsRestjson1_deserializeDocumentDestinationFieldProperties(v **types.Destin } sv.IsUpsertable = jtv } + case "supportedWriteOperations": if err := awsRestjson1_deserializeDocumentSupportedWriteOperationList(&sv.SupportedWriteOperations, value); err != nil { return err } + default: _, _ = key, value @@ -6986,6 +7220,7 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ApiVersion = ptr.String(jtv) } + case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -6994,6 +7229,7 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ConnectorProfileName = ptr.String(jtv) } + case "connectorType": if value != nil { jtv, ok := value.(string) @@ -7002,10 +7238,12 @@ func awsRestjson1_deserializeDocumentDestinationFlowConfig(v **types.Destination } sv.ConnectorType = types.ConnectorType(jtv) } + case "destinationConnectorProperties": if err := awsRestjson1_deserializeDocumentDestinationConnectorProperties(&sv.DestinationConnectorProperties, value); err != nil { return err } + default: _, _ = key, value @@ -7079,6 +7317,7 @@ func awsRestjson1_deserializeDocumentDynatraceConnectorProfileProperties(v **typ } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -7149,6 +7388,7 @@ func awsRestjson1_deserializeDocumentDynatraceSourceProperties(v **types.Dynatra } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -7188,6 +7428,7 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -7196,6 +7437,7 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.BucketPrefix = ptr.String(jtv) } + case "failOnFirstDestinationError": if value != nil { jtv, ok := value.(bool) @@ -7204,6 +7446,7 @@ func awsRestjson1_deserializeDocumentErrorHandlingConfig(v **types.ErrorHandling } sv.FailOnFirstDestinationError = jtv } + default: _, _ = key, value @@ -7243,6 +7486,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ExecutionMessage = ptr.String(jtv) } + case "putFailuresCount": if value != nil { jtv, ok := value.(json.Number) @@ -7255,6 +7499,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.PutFailuresCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -7290,6 +7535,7 @@ func awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(v **types. if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "object": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7544,7 @@ func awsRestjson1_deserializeDocumentEventBridgeDestinationProperties(v **types. } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -7368,6 +7615,7 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } sv.MostRecentExecutionMessage = ptr.String(jtv) } + case "mostRecentExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -7376,6 +7624,7 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } sv.MostRecentExecutionStatus = types.ExecutionStatus(jtv) } + case "mostRecentExecutionTime": if value != nil { switch jtv := value.(type) { @@ -7391,6 +7640,7 @@ func awsRestjson1_deserializeDocumentExecutionDetails(v **types.ExecutionDetails } } + default: _, _ = key, value @@ -7473,6 +7723,7 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } + case "dataPullStartTime": if value != nil { switch jtv := value.(type) { @@ -7488,6 +7739,7 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } + case "executionId": if value != nil { jtv, ok := value.(string) @@ -7496,10 +7748,12 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } sv.ExecutionId = ptr.String(jtv) } + case "executionResult": if err := awsRestjson1_deserializeDocumentExecutionResult(&sv.ExecutionResult, value); err != nil { return err } + case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -7508,6 +7762,7 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } sv.ExecutionStatus = types.ExecutionStatus(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7523,10 +7778,12 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } + case "metadataCatalogDetails": if err := awsRestjson1_deserializeDocumentMetadataCatalogDetails(&sv.MetadataCatalogDetails, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -7542,6 +7799,7 @@ func awsRestjson1_deserializeDocumentExecutionRecord(v **types.ExecutionRecord, } } + default: _, _ = key, value @@ -7585,6 +7843,7 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.BytesProcessed = ptr.Int64(i64) } + case "bytesWritten": if value != nil { jtv, ok := value.(json.Number) @@ -7597,10 +7856,12 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.BytesWritten = ptr.Int64(i64) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "maxPageSize": if value != nil { jtv, ok := value.(json.Number) @@ -7613,6 +7874,7 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.MaxPageSize = ptr.Int64(i64) } + case "numParallelProcesses": if value != nil { jtv, ok := value.(json.Number) @@ -7625,6 +7887,7 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.NumParallelProcesses = ptr.Int64(i64) } + case "recordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7637,6 +7900,7 @@ func awsRestjson1_deserializeDocumentExecutionResult(v **types.ExecutionResult, } sv.RecordsProcessed = ptr.Int64(i64) } + default: _, _ = key, value @@ -7672,6 +7936,7 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails if err := awsRestjson1_deserializeDocumentRange(&sv.FieldLengthRange, value); err != nil { return err } + case "fieldType": if value != nil { jtv, ok := value.(string) @@ -7680,14 +7945,17 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.FieldType = ptr.String(jtv) } + case "fieldValueRange": if err := awsRestjson1_deserializeDocumentRange(&sv.FieldValueRange, value); err != nil { return err } + case "filterOperators": if err := awsRestjson1_deserializeDocumentFilterOperatorList(&sv.FilterOperators, value); err != nil { return err } + case "supportedDateFormat": if value != nil { jtv, ok := value.(string) @@ -7696,10 +7964,12 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.SupportedDateFormat = ptr.String(jtv) } + case "supportedValues": if err := awsRestjson1_deserializeDocumentSupportedValueList(&sv.SupportedValues, value); err != nil { return err } + case "valueRegexPattern": if value != nil { jtv, ok := value.(string) @@ -7708,6 +7978,7 @@ func awsRestjson1_deserializeDocumentFieldTypeDetails(v **types.FieldTypeDetails } sv.ValueRegexPattern = ptr.String(jtv) } + default: _, _ = key, value @@ -7790,6 +8061,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7798,6 +8070,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7806,6 +8079,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.Description = ptr.String(jtv) } + case "destinationConnectorLabel": if value != nil { jtv, ok := value.(string) @@ -7814,6 +8088,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.DestinationConnectorLabel = ptr.String(jtv) } + case "destinationConnectorType": if value != nil { jtv, ok := value.(string) @@ -7822,6 +8097,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.DestinationConnectorType = types.ConnectorType(jtv) } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -7830,6 +8106,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowArn = ptr.String(jtv) } + case "flowName": if value != nil { jtv, ok := value.(string) @@ -7838,6 +8115,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowName = ptr.String(jtv) } + case "flowStatus": if value != nil { jtv, ok := value.(string) @@ -7846,10 +8124,12 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.FlowStatus = types.FlowStatus(jtv) } + case "lastRunExecutionDetails": if err := awsRestjson1_deserializeDocumentExecutionDetails(&sv.LastRunExecutionDetails, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7865,6 +8145,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -7873,6 +8154,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.LastUpdatedBy = ptr.String(jtv) } + case "sourceConnectorLabel": if value != nil { jtv, ok := value.(string) @@ -7881,6 +8163,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.SourceConnectorLabel = ptr.String(jtv) } + case "sourceConnectorType": if value != nil { jtv, ok := value.(string) @@ -7889,10 +8172,12 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.SourceConnectorType = types.ConnectorType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "triggerType": if value != nil { jtv, ok := value.(string) @@ -7901,6 +8186,7 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va } sv.TriggerType = types.TriggerType(jtv) } + default: _, _ = key, value @@ -8008,6 +8294,7 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.DatabaseName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8016,6 +8303,7 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.RoleArn = ptr.String(jtv) } + case "tablePrefix": if value != nil { jtv, ok := value.(string) @@ -8024,6 +8312,7 @@ func awsRestjson1_deserializeDocumentGlueDataCatalogConfig(v **types.GlueDataCat } sv.TablePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8090,6 +8379,7 @@ func awsRestjson1_deserializeDocumentGoogleAnalyticsMetadata(v **types.GoogleAna if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + default: _, _ = key, value @@ -8129,6 +8419,7 @@ func awsRestjson1_deserializeDocumentGoogleAnalyticsSourceProperties(v **types.G } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -8195,6 +8486,7 @@ func awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(v **types.Ho if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "object": if value != nil { jtv, ok := value.(string) @@ -8203,6 +8495,7 @@ func awsRestjson1_deserializeDocumentHoneycodeDestinationProperties(v **types.Ho } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -8238,6 +8531,7 @@ func awsRestjson1_deserializeDocumentHoneycodeMetadata(v **types.HoneycodeMetada if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + default: _, _ = key, value @@ -8313,6 +8607,7 @@ func awsRestjson1_deserializeDocumentIncrementalPullConfig(v **types.Incremental } sv.DatetimeTypeFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -8352,6 +8647,7 @@ func awsRestjson1_deserializeDocumentInforNexusConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8422,6 +8718,7 @@ func awsRestjson1_deserializeDocumentInforNexusSourceProperties(v **types.InforN } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -8461,6 +8758,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8500,6 +8798,7 @@ func awsRestjson1_deserializeDocumentLambdaConnectorProvisioningConfig(v **types } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8570,6 +8869,7 @@ func awsRestjson1_deserializeDocumentMarketoConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8605,6 +8905,7 @@ func awsRestjson1_deserializeDocumentMarketoDestinationProperties(v **types.Mark if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "object": if value != nil { jtv, ok := value.(string) @@ -8613,6 +8914,7 @@ func awsRestjson1_deserializeDocumentMarketoDestinationProperties(v **types.Mark } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -8683,6 +8985,7 @@ func awsRestjson1_deserializeDocumentMarketoSourceProperties(v **types.MarketoSo } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -8718,6 +9021,7 @@ func awsRestjson1_deserializeDocumentMetadataCatalogConfig(v **types.MetadataCat if err := awsRestjson1_deserializeDocumentGlueDataCatalogConfig(&sv.GlueDataCatalog, value); err != nil { return err } + default: _, _ = key, value @@ -8757,10 +9061,12 @@ func awsRestjson1_deserializeDocumentMetadataCatalogDetail(v **types.MetadataCat } sv.CatalogType = types.CatalogType(jtv) } + case "partitionRegistrationOutput": if err := awsRestjson1_deserializeDocumentRegistrationOutput(&sv.PartitionRegistrationOutput, value); err != nil { return err } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -8769,10 +9075,12 @@ func awsRestjson1_deserializeDocumentMetadataCatalogDetail(v **types.MetadataCat } sv.TableName = ptr.String(jtv) } + case "tableRegistrationOutput": if err := awsRestjson1_deserializeDocumentRegistrationOutput(&sv.TableRegistrationOutput, value); err != nil { return err } + default: _, _ = key, value @@ -8842,6 +9150,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo if err := awsRestjson1_deserializeDocumentConnectorSuppliedValueList(&sv.ConnectorSuppliedValues, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -8850,6 +9159,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Description = ptr.String(jtv) } + case "isRequired": if value != nil { jtv, ok := value.(bool) @@ -8858,6 +9168,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.IsRequired = jtv } + case "isSensitiveField": if value != nil { jtv, ok := value.(bool) @@ -8866,6 +9177,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.IsSensitiveField = jtv } + case "key": if value != nil { jtv, ok := value.(string) @@ -8874,6 +9186,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Key = ptr.String(jtv) } + case "label": if value != nil { jtv, ok := value.(string) @@ -8882,6 +9195,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Label = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8890,6 +9204,7 @@ func awsRestjson1_deserializeDocumentOAuth2CustomParameter(v **types.OAuth2Custo } sv.Type = types.OAuth2CustomPropType(jtv) } + default: _, _ = key, value @@ -8959,22 +9274,27 @@ func awsRestjson1_deserializeDocumentOAuth2Defaults(v **types.OAuth2Defaults, va if err := awsRestjson1_deserializeDocumentAuthCodeUrlList(&sv.AuthCodeUrls, value); err != nil { return err } + case "oauth2CustomProperties": if err := awsRestjson1_deserializeDocumentOAuth2CustomPropertiesList(&sv.Oauth2CustomProperties, value); err != nil { return err } + case "oauth2GrantTypesSupported": if err := awsRestjson1_deserializeDocumentOAuth2GrantTypeSupportedList(&sv.Oauth2GrantTypesSupported, value); err != nil { return err } + case "oauthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OauthScopes, value); err != nil { return err } + case "tokenUrls": if err := awsRestjson1_deserializeDocumentTokenUrlList(&sv.TokenUrls, value); err != nil { return err } + default: _, _ = key, value @@ -9050,6 +9370,7 @@ func awsRestjson1_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.OAuth2GrantType = types.OAuth2GrantType(jtv) } + case "tokenUrl": if value != nil { jtv, ok := value.(string) @@ -9058,10 +9379,12 @@ func awsRestjson1_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.TokenUrl = ptr.String(jtv) } + case "tokenUrlCustomProperties": if err := awsRestjson1_deserializeDocumentTokenUrlCustomProperties(&sv.TokenUrlCustomProperties, value); err != nil { return err } + default: _, _ = key, value @@ -9101,10 +9424,12 @@ func awsRestjson1_deserializeDocumentOAuthProperties(v **types.OAuthProperties, } sv.AuthCodeUrl = ptr.String(jtv) } + case "oAuthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + case "tokenUrl": if value != nil { jtv, ok := value.(string) @@ -9113,6 +9438,7 @@ func awsRestjson1_deserializeDocumentOAuthProperties(v **types.OAuthProperties, } sv.TokenUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9188,6 +9514,7 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.BusinessUnitId = ptr.String(jtv) } + case "instanceUrl": if value != nil { jtv, ok := value.(string) @@ -9196,6 +9523,7 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.InstanceUrl = ptr.String(jtv) } + case "isSandboxEnvironment": if value != nil { jtv, ok := value.(bool) @@ -9204,6 +9532,7 @@ func awsRestjson1_deserializeDocumentPardotConnectorProfileProperties(v **types. } sv.IsSandboxEnvironment = jtv } + default: _, _ = key, value @@ -9274,6 +9603,7 @@ func awsRestjson1_deserializeDocumentPardotSourceProperties(v **types.PardotSour } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -9345,6 +9675,7 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value if err := awsRestjson1_deserializeDocumentPathPrefixHierarchy(&sv.PathPrefixHierarchy, value); err != nil { return err } + case "prefixFormat": if value != nil { jtv, ok := value.(string) @@ -9353,6 +9684,7 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value } sv.PrefixFormat = types.PrefixFormat(jtv) } + case "prefixType": if value != nil { jtv, ok := value.(string) @@ -9361,6 +9693,7 @@ func awsRestjson1_deserializeDocumentPrefixConfig(v **types.PrefixConfig, value } sv.PrefixType = types.PrefixType(jtv) } + default: _, _ = key, value @@ -9400,6 +9733,7 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.FailureCause = types.PrivateConnectionProvisioningFailureCause(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -9408,6 +9742,7 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.FailureMessage = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9416,6 +9751,7 @@ func awsRestjson1_deserializeDocumentPrivateConnectionProvisioningState(v **type } sv.Status = types.PrivateConnectionProvisioningStatus(jtv) } + default: _, _ = key, value @@ -9516,6 +9852,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } } + case "minimum": if value != nil { switch jtv := value.(type) { @@ -9549,6 +9886,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } } + default: _, _ = key, value @@ -9588,6 +9926,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -9596,6 +9935,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.BucketPrefix = ptr.String(jtv) } + case "clusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -9604,6 +9944,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.ClusterIdentifier = ptr.String(jtv) } + case "dataApiRoleArn": if value != nil { jtv, ok := value.(string) @@ -9612,6 +9953,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DataApiRoleArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -9620,6 +9962,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DatabaseName = ptr.String(jtv) } + case "databaseUrl": if value != nil { jtv, ok := value.(string) @@ -9628,6 +9971,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.DatabaseUrl = ptr.String(jtv) } + case "isRedshiftServerless": if value != nil { jtv, ok := value.(bool) @@ -9636,6 +9980,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.IsRedshiftServerless = jtv } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9644,6 +9989,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.RoleArn = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -9652,6 +9998,7 @@ func awsRestjson1_deserializeDocumentRedshiftConnectorProfileProperties(v **type } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -9691,10 +10038,12 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.BucketPrefix = ptr.String(jtv) } + case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "intermediateBucketName": if value != nil { jtv, ok := value.(string) @@ -9703,6 +10052,7 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.IntermediateBucketName = ptr.String(jtv) } + case "object": if value != nil { jtv, ok := value.(string) @@ -9711,6 +10061,7 @@ func awsRestjson1_deserializeDocumentRedshiftDestinationProperties(v **types.Red } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -9817,6 +10168,7 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Message = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -9825,6 +10177,7 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Result = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9833,6 +10186,7 @@ func awsRestjson1_deserializeDocumentRegistrationOutput(v **types.RegistrationOu } sv.Status = types.ExecutionStatus(jtv) } + default: _, _ = key, value @@ -9872,6 +10226,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9911,6 +10266,7 @@ func awsRestjson1_deserializeDocumentS3DestinationProperties(v **types.S3Destina } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -9919,10 +10275,12 @@ func awsRestjson1_deserializeDocumentS3DestinationProperties(v **types.S3Destina } sv.BucketPrefix = ptr.String(jtv) } + case "s3OutputFormatConfig": if err := awsRestjson1_deserializeDocumentS3OutputFormatConfig(&sv.S3OutputFormatConfig, value); err != nil { return err } + default: _, _ = key, value @@ -9962,6 +10320,7 @@ func awsRestjson1_deserializeDocumentS3InputFormatConfig(v **types.S3InputFormat } sv.S3InputFileType = types.S3InputFileType(jtv) } + default: _, _ = key, value @@ -10028,6 +10387,7 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm if err := awsRestjson1_deserializeDocumentAggregationConfig(&sv.AggregationConfig, value); err != nil { return err } + case "fileType": if value != nil { jtv, ok := value.(string) @@ -10036,10 +10396,12 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm } sv.FileType = types.FileType(jtv) } + case "prefixConfig": if err := awsRestjson1_deserializeDocumentPrefixConfig(&sv.PrefixConfig, value); err != nil { return err } + case "preserveSourceDataTyping": if value != nil { jtv, ok := value.(bool) @@ -10048,6 +10410,7 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm } sv.PreserveSourceDataTyping = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10087,6 +10450,7 @@ func awsRestjson1_deserializeDocumentS3SourceProperties(v **types.S3SourceProper } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -10095,10 +10459,12 @@ func awsRestjson1_deserializeDocumentS3SourceProperties(v **types.S3SourceProper } sv.BucketPrefix = ptr.String(jtv) } + case "s3InputFormatConfig": if err := awsRestjson1_deserializeDocumentS3InputFormatConfig(&sv.S3InputFormatConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10138,6 +10504,7 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } + case "isSandboxEnvironment": if value != nil { jtv, ok := value.(bool) @@ -10146,6 +10513,7 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.IsSandboxEnvironment = jtv } + case "usePrivateLinkForMetadataAndAuthorization": if value != nil { jtv, ok := value.(bool) @@ -10154,6 +10522,7 @@ func awsRestjson1_deserializeDocumentSalesforceConnectorProfileProperties(v **ty } sv.UsePrivateLinkForMetadataAndAuthorization = jtv } + default: _, _ = key, value @@ -10229,14 +10598,17 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.DataTransferApi = types.SalesforceDataTransferApi(jtv) } + case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } + case "object": if value != nil { jtv, ok := value.(string) @@ -10245,6 +10617,7 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.Object = ptr.String(jtv) } + case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -10253,6 +10626,7 @@ func awsRestjson1_deserializeDocumentSalesforceDestinationProperties(v **types.S } sv.WriteOperationType = types.WriteOperationType(jtv) } + default: _, _ = key, value @@ -10288,14 +10662,17 @@ func awsRestjson1_deserializeDocumentSalesforceMetadata(v **types.SalesforceMeta if err := awsRestjson1_deserializeDocumentSalesforceDataTransferApiList(&sv.DataTransferApis, value); err != nil { return err } + case "oauth2GrantTypesSupported": if err := awsRestjson1_deserializeDocumentOAuth2GrantTypeSupportedList(&sv.Oauth2GrantTypesSupported, value); err != nil { return err } + case "oAuthScopes": if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + default: _, _ = key, value @@ -10335,6 +10712,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.DataTransferApi = types.SalesforceDataTransferApi(jtv) } + case "enableDynamicFieldUpdate": if value != nil { jtv, ok := value.(bool) @@ -10343,6 +10721,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.EnableDynamicFieldUpdate = jtv } + case "includeDeletedRecords": if value != nil { jtv, ok := value.(bool) @@ -10351,6 +10730,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.IncludeDeletedRecords = jtv } + case "object": if value != nil { jtv, ok := value.(string) @@ -10359,6 +10739,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceProperties(v **types.Salesf } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -10398,6 +10779,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ApplicationHostUrl = ptr.String(jtv) } + case "applicationServicePath": if value != nil { jtv, ok := value.(string) @@ -10406,6 +10788,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ApplicationServicePath = ptr.String(jtv) } + case "clientNumber": if value != nil { jtv, ok := value.(string) @@ -10414,6 +10797,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.ClientNumber = ptr.String(jtv) } + case "disableSSO": if value != nil { jtv, ok := value.(bool) @@ -10422,6 +10806,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.DisableSSO = jtv } + case "logonLanguage": if value != nil { jtv, ok := value.(string) @@ -10430,10 +10815,12 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.LogonLanguage = ptr.String(jtv) } + case "oAuthProperties": if err := awsRestjson1_deserializeDocumentOAuthProperties(&sv.OAuthProperties, value); err != nil { return err } + case "portNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10446,6 +10833,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.PortNumber = ptr.Int32(int32(i64)) } + case "privateLinkServiceName": if value != nil { jtv, ok := value.(string) @@ -10454,6 +10842,7 @@ func awsRestjson1_deserializeDocumentSAPODataConnectorProfileProperties(v **type } sv.PrivateLinkServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10489,10 +10878,12 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } + case "objectPath": if value != nil { jtv, ok := value.(string) @@ -10501,10 +10892,12 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP } sv.ObjectPath = ptr.String(jtv) } + case "successResponseHandlingConfig": if err := awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(&sv.SuccessResponseHandlingConfig, value); err != nil { return err } + case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -10513,6 +10906,7 @@ func awsRestjson1_deserializeDocumentSAPODataDestinationProperties(v **types.SAP } sv.WriteOperationType = types.WriteOperationType(jtv) } + default: _, _ = key, value @@ -10587,6 +10981,7 @@ func awsRestjson1_deserializeDocumentSAPODataPaginationConfig(v **types.SAPOData } sv.MaxPageSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10630,6 +11025,7 @@ func awsRestjson1_deserializeDocumentSAPODataParallelismConfig(v **types.SAPODat } sv.MaxParallelism = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10669,14 +11065,17 @@ func awsRestjson1_deserializeDocumentSAPODataSourceProperties(v **types.SAPOData } sv.ObjectPath = ptr.String(jtv) } + case "paginationConfig": if err := awsRestjson1_deserializeDocumentSAPODataPaginationConfig(&sv.PaginationConfig, value); err != nil { return err } + case "parallelismConfig": if err := awsRestjson1_deserializeDocumentSAPODataParallelismConfig(&sv.ParallelismConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10716,6 +11115,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.DataPullMode = types.DataPullMode(jtv) } + case "firstExecutionFrom": if value != nil { switch jtv := value.(type) { @@ -10731,6 +11131,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } + case "flowErrorDeactivationThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -10743,6 +11144,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.FlowErrorDeactivationThreshold = ptr.Int32(int32(i64)) } + case "scheduleEndTime": if value != nil { switch jtv := value.(type) { @@ -10758,6 +11160,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } + case "scheduleExpression": if value != nil { jtv, ok := value.(string) @@ -10766,6 +11169,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.ScheduleExpression = ptr.String(jtv) } + case "scheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10778,6 +11182,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.ScheduleOffset = ptr.Int64(i64) } + case "scheduleStartTime": if value != nil { switch jtv := value.(type) { @@ -10793,6 +11198,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } + case "timezone": if value != nil { jtv, ok := value.(string) @@ -10801,6 +11207,7 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -10876,6 +11283,7 @@ func awsRestjson1_deserializeDocumentServiceNowConnectorProfileProperties(v **ty } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10946,6 +11354,7 @@ func awsRestjson1_deserializeDocumentServiceNowSourceProperties(v **types.Servic } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -10985,6 +11394,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11086,6 +11496,7 @@ func awsRestjson1_deserializeDocumentSingularSourceProperties(v **types.Singular } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -11125,6 +11536,7 @@ func awsRestjson1_deserializeDocumentSlackConnectorProfileProperties(v **types.S } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -11160,6 +11572,7 @@ func awsRestjson1_deserializeDocumentSlackMetadata(v **types.SlackMetadata, valu if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + default: _, _ = key, value @@ -11199,6 +11612,7 @@ func awsRestjson1_deserializeDocumentSlackSourceProperties(v **types.SlackSource } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -11238,6 +11652,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.AccountName = ptr.String(jtv) } + case "bucketName": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11661,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11670,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.BucketPrefix = ptr.String(jtv) } + case "privateLinkServiceName": if value != nil { jtv, ok := value.(string) @@ -11262,6 +11679,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.PrivateLinkServiceName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11270,6 +11688,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Region = ptr.String(jtv) } + case "stage": if value != nil { jtv, ok := value.(string) @@ -11278,6 +11697,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Stage = ptr.String(jtv) } + case "warehouse": if value != nil { jtv, ok := value.(string) @@ -11286,6 +11706,7 @@ func awsRestjson1_deserializeDocumentSnowflakeConnectorProfileProperties(v **typ } sv.Warehouse = ptr.String(jtv) } + default: _, _ = key, value @@ -11325,10 +11746,12 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.BucketPrefix = ptr.String(jtv) } + case "errorHandlingConfig": if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "intermediateBucketName": if value != nil { jtv, ok := value.(string) @@ -11337,6 +11760,7 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.IntermediateBucketName = ptr.String(jtv) } + case "object": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11769,7 @@ func awsRestjson1_deserializeDocumentSnowflakeDestinationProperties(v **types.Sn } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -11380,6 +11805,7 @@ func awsRestjson1_deserializeDocumentSnowflakeMetadata(v **types.SnowflakeMetada if err := awsRestjson1_deserializeDocumentRegionList(&sv.SupportedRegions, value); err != nil { return err } + default: _, _ = key, value @@ -11415,70 +11841,87 @@ func awsRestjson1_deserializeDocumentSourceConnectorProperties(v **types.SourceC if err := awsRestjson1_deserializeDocumentAmplitudeSourceProperties(&sv.Amplitude, value); err != nil { return err } + case "CustomConnector": if err := awsRestjson1_deserializeDocumentCustomConnectorSourceProperties(&sv.CustomConnector, value); err != nil { return err } + case "Datadog": if err := awsRestjson1_deserializeDocumentDatadogSourceProperties(&sv.Datadog, value); err != nil { return err } + case "Dynatrace": if err := awsRestjson1_deserializeDocumentDynatraceSourceProperties(&sv.Dynatrace, value); err != nil { return err } + case "GoogleAnalytics": if err := awsRestjson1_deserializeDocumentGoogleAnalyticsSourceProperties(&sv.GoogleAnalytics, value); err != nil { return err } + case "InforNexus": if err := awsRestjson1_deserializeDocumentInforNexusSourceProperties(&sv.InforNexus, value); err != nil { return err } + case "Marketo": if err := awsRestjson1_deserializeDocumentMarketoSourceProperties(&sv.Marketo, value); err != nil { return err } + case "Pardot": if err := awsRestjson1_deserializeDocumentPardotSourceProperties(&sv.Pardot, value); err != nil { return err } + case "S3": if err := awsRestjson1_deserializeDocumentS3SourceProperties(&sv.S3, value); err != nil { return err } + case "Salesforce": if err := awsRestjson1_deserializeDocumentSalesforceSourceProperties(&sv.Salesforce, value); err != nil { return err } + case "SAPOData": if err := awsRestjson1_deserializeDocumentSAPODataSourceProperties(&sv.SAPOData, value); err != nil { return err } + case "ServiceNow": if err := awsRestjson1_deserializeDocumentServiceNowSourceProperties(&sv.ServiceNow, value); err != nil { return err } + case "Singular": if err := awsRestjson1_deserializeDocumentSingularSourceProperties(&sv.Singular, value); err != nil { return err } + case "Slack": if err := awsRestjson1_deserializeDocumentSlackSourceProperties(&sv.Slack, value); err != nil { return err } + case "Trendmicro": if err := awsRestjson1_deserializeDocumentTrendmicroSourceProperties(&sv.Trendmicro, value); err != nil { return err } + case "Veeva": if err := awsRestjson1_deserializeDocumentVeevaSourceProperties(&sv.Veeva, value); err != nil { return err } + case "Zendesk": if err := awsRestjson1_deserializeDocumentZendeskSourceProperties(&sv.Zendesk, value); err != nil { return err } + default: _, _ = key, value @@ -11518,6 +11961,7 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsQueryable = jtv } + case "isRetrievable": if value != nil { jtv, ok := value.(bool) @@ -11526,6 +11970,7 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsRetrievable = jtv } + case "isTimestampFieldForIncrementalQueries": if value != nil { jtv, ok := value.(bool) @@ -11534,6 +11979,7 @@ func awsRestjson1_deserializeDocumentSourceFieldProperties(v **types.SourceField } sv.IsTimestampFieldForIncrementalQueries = jtv } + default: _, _ = key, value @@ -11609,6 +12055,7 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ApiVersion = ptr.String(jtv) } + case "connectorProfileName": if value != nil { jtv, ok := value.(string) @@ -11617,6 +12064,7 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ConnectorProfileName = ptr.String(jtv) } + case "connectorType": if value != nil { jtv, ok := value.(string) @@ -11625,14 +12073,17 @@ func awsRestjson1_deserializeDocumentSourceFlowConfig(v **types.SourceFlowConfig } sv.ConnectorType = types.ConnectorType(jtv) } + case "incrementalPullConfig": if err := awsRestjson1_deserializeDocumentIncrementalPullConfig(&sv.IncrementalPullConfig, value); err != nil { return err } + case "sourceConnectorProperties": if err := awsRestjson1_deserializeDocumentSourceConnectorProperties(&sv.SourceConnectorProperties, value); err != nil { return err } + default: _, _ = key, value @@ -11672,6 +12123,7 @@ func awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(v **types.Suc } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -11680,6 +12132,7 @@ func awsRestjson1_deserializeDocumentSuccessResponseHandlingConfig(v **types.Suc } sv.BucketPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -11821,6 +12274,7 @@ func awsRestjson1_deserializeDocumentSupportedFieldTypeDetails(v **types.Support if err := awsRestjson1_deserializeDocumentFieldTypeDetails(&sv.V1, value); err != nil { return err } + default: _, _ = key, value @@ -12000,6 +12454,7 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err if err := awsRestjson1_deserializeDocumentConnectorOperator(&sv.ConnectorOperator, value); err != nil { return err } + case "destinationField": if value != nil { jtv, ok := value.(string) @@ -12008,14 +12463,17 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.DestinationField = ptr.String(jtv) } + case "sourceFields": if err := awsRestjson1_deserializeDocumentSourceFields(&sv.SourceFields, value); err != nil { return err } + case "taskProperties": if err := awsRestjson1_deserializeDocumentTaskPropertiesMap(&sv.TaskProperties, value); err != nil { return err } + case "taskType": if value != nil { jtv, ok := value.(string) @@ -12024,6 +12482,7 @@ func awsRestjson1_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskType = types.TaskType(jtv) } + default: _, _ = key, value @@ -12133,6 +12592,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12306,6 +12766,7 @@ func awsRestjson1_deserializeDocumentTrendmicroSourceProperties(v **types.Trendm } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -12341,6 +12802,7 @@ func awsRestjson1_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu if err := awsRestjson1_deserializeDocumentTriggerProperties(&sv.TriggerProperties, value); err != nil { return err } + case "triggerType": if value != nil { jtv, ok := value.(string) @@ -12349,6 +12811,7 @@ func awsRestjson1_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerType = types.TriggerType(jtv) } + default: _, _ = key, value @@ -12384,6 +12847,7 @@ func awsRestjson1_deserializeDocumentTriggerProperties(v **types.TriggerProperti if err := awsRestjson1_deserializeDocumentScheduledTriggerProperties(&sv.Scheduled, value); err != nil { return err } + default: _, _ = key, value @@ -12459,6 +12923,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12498,6 +12963,7 @@ func awsRestjson1_deserializeDocumentUpsolverDestinationProperties(v **types.Ups } sv.BucketName = ptr.String(jtv) } + case "bucketPrefix": if value != nil { jtv, ok := value.(string) @@ -12506,10 +12972,12 @@ func awsRestjson1_deserializeDocumentUpsolverDestinationProperties(v **types.Ups } sv.BucketPrefix = ptr.String(jtv) } + case "s3OutputFormatConfig": if err := awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(&sv.S3OutputFormatConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12576,6 +13044,7 @@ func awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(v **types.Upso if err := awsRestjson1_deserializeDocumentAggregationConfig(&sv.AggregationConfig, value); err != nil { return err } + case "fileType": if value != nil { jtv, ok := value.(string) @@ -12584,10 +13053,12 @@ func awsRestjson1_deserializeDocumentUpsolverS3OutputFormatConfig(v **types.Upso } sv.FileType = types.FileType(jtv) } + case "prefixConfig": if err := awsRestjson1_deserializeDocumentPrefixConfig(&sv.PrefixConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12627,6 +13098,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12666,6 +13138,7 @@ func awsRestjson1_deserializeDocumentVeevaConnectorProfileProperties(v **types.V } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -12736,6 +13209,7 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.DocumentType = ptr.String(jtv) } + case "includeAllVersions": if value != nil { jtv, ok := value.(bool) @@ -12744,6 +13218,7 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeAllVersions = jtv } + case "includeRenditions": if value != nil { jtv, ok := value.(bool) @@ -12752,6 +13227,7 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeRenditions = jtv } + case "includeSourceFiles": if value != nil { jtv, ok := value.(bool) @@ -12760,6 +13236,7 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.IncludeSourceFiles = jtv } + case "object": if value != nil { jtv, ok := value.(string) @@ -12768,6 +13245,7 @@ func awsRestjson1_deserializeDocumentVeevaSourceProperties(v **types.VeevaSource } sv.Object = ptr.String(jtv) } + default: _, _ = key, value @@ -12807,6 +13285,7 @@ func awsRestjson1_deserializeDocumentZendeskConnectorProfileProperties(v **types } sv.InstanceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -12842,10 +13321,12 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend if err := awsRestjson1_deserializeDocumentErrorHandlingConfig(&sv.ErrorHandlingConfig, value); err != nil { return err } + case "idFieldNames": if err := awsRestjson1_deserializeDocumentIdFieldNameList(&sv.IdFieldNames, value); err != nil { return err } + case "object": if value != nil { jtv, ok := value.(string) @@ -12854,6 +13335,7 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend } sv.Object = ptr.String(jtv) } + case "writeOperationType": if value != nil { jtv, ok := value.(string) @@ -12862,6 +13344,7 @@ func awsRestjson1_deserializeDocumentZendeskDestinationProperties(v **types.Zend } sv.WriteOperationType = types.WriteOperationType(jtv) } + default: _, _ = key, value @@ -12897,6 +13380,7 @@ func awsRestjson1_deserializeDocumentZendeskMetadata(v **types.ZendeskMetadata, if err := awsRestjson1_deserializeDocumentOAuthScopeList(&sv.OAuthScopes, value); err != nil { return err } + default: _, _ = key, value @@ -12936,6 +13420,7 @@ func awsRestjson1_deserializeDocumentZendeskSourceProperties(v **types.ZendeskSo } sv.Object = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/appintegrations/deserializers.go b/service/appintegrations/deserializers.go index b5d950ff085..7c4d3cc05b2 100644 --- a/service/appintegrations/deserializers.go +++ b/service/appintegrations/deserializers.go @@ -193,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -201,6 +202,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -371,6 +373,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Arn = ptr.String(jtv) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -379,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.ClientToken = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -387,10 +391,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Description = ptr.String(jtv) } + case "FileConfiguration": if err := awsRestjson1_deserializeDocumentFileConfiguration(&sv.FileConfiguration, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -399,6 +405,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Id = ptr.String(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -407,6 +414,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.KmsKey = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -415,14 +423,17 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.Name = ptr.String(jtv) } + case "ObjectConfiguration": if err := awsRestjson1_deserializeDocumentObjectConfiguration(&sv.ObjectConfiguration, value); err != nil { return err } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -431,10 +442,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationOutput(v **CreateDat } sv.SourceURI = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -605,6 +618,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationAssociationOutput(v } sv.DataIntegrationArn = ptr.String(jtv) } + case "DataIntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -613,6 +627,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationAssociationOutput(v } sv.DataIntegrationAssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -783,6 +798,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventIntegrationOutput(v **CreateEv } sv.EventIntegrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1246,6 +1262,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplicationSourceConfig(&sv.ApplicationSourceConfig, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1254,6 +1271,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1269,6 +1287,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1277,6 +1296,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1285,6 +1305,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1300,6 +1321,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1308,6 +1330,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1316,22 +1339,27 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Namespace = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "Publications": if err := awsRestjson1_deserializeDocumentPublicationList(&sv.Publications, value); err != nil { return err } + case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1499,6 +1527,7 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1507,10 +1536,12 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Description = ptr.String(jtv) } + case "FileConfiguration": if err := awsRestjson1_deserializeDocumentFileConfiguration(&sv.FileConfiguration, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1519,6 +1550,7 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Id = ptr.String(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -1527,6 +1559,7 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.KmsKey = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1535,14 +1568,17 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.Name = ptr.String(jtv) } + case "ObjectConfiguration": if err := awsRestjson1_deserializeDocumentObjectConfiguration(&sv.ObjectConfiguration, value); err != nil { return err } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -1551,10 +1587,12 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationOutput(v **GetDataInteg } sv.SourceURI = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1722,6 +1760,7 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.Description = ptr.String(jtv) } + case "EventBridgeBus": if value != nil { jtv, ok := value.(string) @@ -1730,10 +1769,12 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.EventBridgeBus = ptr.String(jtv) } + case "EventFilter": if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } + case "EventIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -1742,6 +1783,7 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.EventIntegrationArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1750,10 +1792,12 @@ func awsRestjson1_deserializeOpDocumentGetEventIntegrationOutput(v **GetEventInt } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1917,6 +1961,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentApplicationAssociationsList(&sv.ApplicationAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1925,6 +1970,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2085,6 +2131,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationsList(&sv.Applications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2093,6 +2140,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2256,6 +2304,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationAssociationsOutput(v * if err := awsRestjson1_deserializeDocumentDataIntegrationAssociationsList(&sv.DataIntegrationAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2264,6 +2313,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2424,6 +2474,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationsOutput(v **ListDataIn if err := awsRestjson1_deserializeDocumentDataIntegrationsList(&sv.DataIntegrations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2432,6 +2483,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationsOutput(v **ListDataIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2595,6 +2647,7 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationAssociationsOutput(v if err := awsRestjson1_deserializeDocumentEventIntegrationAssociationsList(&sv.EventIntegrationAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2603,6 +2656,7 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2763,6 +2817,7 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationsOutput(v **ListEvent if err := awsRestjson1_deserializeDocumentEventIntegrationsList(&sv.EventIntegrations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2771,6 +2826,7 @@ func awsRestjson1_deserializeOpDocumentListEventIntegrationsOutput(v **ListEvent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2931,6 +2987,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3855,6 +3912,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3964,6 +4022,7 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ApplicationArn = ptr.String(jtv) } + case "ApplicationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -3972,6 +4031,7 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ApplicationAssociationArn = ptr.String(jtv) } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4040,7 @@ func awsRestjson1_deserializeDocumentApplicationAssociationSummary(v **types.App } sv.ClientId = ptr.String(jtv) } + default: _, _ = key, value @@ -4049,6 +4110,7 @@ func awsRestjson1_deserializeDocumentApplicationSourceConfig(v **types.Applicati if err := awsRestjson1_deserializeDocumentExternalUrlConfig(&sv.ExternalUrlConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4088,6 +4150,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4103,6 +4166,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4111,6 +4175,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4126,6 +4191,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4134,6 +4200,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4209,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -4251,6 +4319,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.ClientId = ptr.String(jtv) } + case "DataIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -4259,6 +4328,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DataIntegrationArn = ptr.String(jtv) } + case "DataIntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -4267,6 +4337,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DataIntegrationAssociationArn = ptr.String(jtv) } + case "DestinationURI": if value != nil { jtv, ok := value.(string) @@ -4275,14 +4346,17 @@ func awsRestjson1_deserializeDocumentDataIntegrationAssociationSummary(v **types } sv.DestinationURI = ptr.String(jtv) } + case "ExecutionConfiguration": if err := awsRestjson1_deserializeDocumentExecutionConfiguration(&sv.ExecutionConfiguration, value); err != nil { return err } + case "LastExecutionStatus": if err := awsRestjson1_deserializeDocumentLastExecutionStatus(&sv.LastExecutionStatus, value); err != nil { return err } + default: _, _ = key, value @@ -4356,6 +4430,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4364,6 +4439,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.Name = ptr.String(jtv) } + case "SourceURI": if value != nil { jtv, ok := value.(string) @@ -4372,6 +4448,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationSummary(v **types.DataIntegr } sv.SourceURI = ptr.String(jtv) } + default: _, _ = key, value @@ -4411,6 +4488,7 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4450,6 +4528,7 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -4489,6 +4568,7 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.Description = ptr.String(jtv) } + case "EventBridgeBus": if value != nil { jtv, ok := value.(string) @@ -4497,10 +4577,12 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.EventBridgeBus = ptr.String(jtv) } + case "EventFilter": if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } + case "EventIntegrationArn": if value != nil { jtv, ok := value.(string) @@ -4509,6 +4591,7 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.EventIntegrationArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4517,10 +4600,12 @@ func awsRestjson1_deserializeDocumentEventIntegration(v **types.EventIntegration } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4556,6 +4641,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event if err := awsRestjson1_deserializeDocumentClientAssociationMetadata(&sv.ClientAssociationMetadata, value); err != nil { return err } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -4564,6 +4650,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.ClientId = ptr.String(jtv) } + case "EventBridgeRuleName": if value != nil { jtv, ok := value.(string) @@ -4572,6 +4659,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventBridgeRuleName = ptr.String(jtv) } + case "EventIntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -4580,6 +4668,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationAssociationArn = ptr.String(jtv) } + case "EventIntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -4588,6 +4677,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationAssociationId = ptr.String(jtv) } + case "EventIntegrationName": if value != nil { jtv, ok := value.(string) @@ -4596,6 +4686,7 @@ func awsRestjson1_deserializeDocumentEventIntegrationAssociation(v **types.Event } sv.EventIntegrationName = ptr.String(jtv) } + default: _, _ = key, value @@ -4703,14 +4794,17 @@ func awsRestjson1_deserializeDocumentExecutionConfiguration(v **types.ExecutionC } sv.ExecutionMode = types.ExecutionMode(jtv) } + case "OnDemandConfiguration": if err := awsRestjson1_deserializeDocumentOnDemandConfiguration(&sv.OnDemandConfiguration, value); err != nil { return err } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4750,10 +4844,12 @@ func awsRestjson1_deserializeDocumentExternalUrlConfig(v **types.ExternalUrlConf } sv.AccessUrl = ptr.String(jtv) } + case "ApprovedOrigins": if err := awsRestjson1_deserializeDocumentApplicationApprovedOrigins(&sv.ApprovedOrigins, value); err != nil { return err } + default: _, _ = key, value @@ -4859,10 +4955,12 @@ func awsRestjson1_deserializeDocumentFileConfiguration(v **types.FileConfigurati if err := awsRestjson1_deserializeDocumentFieldsMap(&sv.Filters, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentFolderList(&sv.Folders, value); err != nil { return err } + default: _, _ = key, value @@ -4938,6 +5036,7 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4977,6 +5076,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5016,6 +5116,7 @@ func awsRestjson1_deserializeDocumentLastExecutionStatus(v **types.LastExecution } sv.ExecutionStatus = types.ExecutionStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5024,6 +5125,7 @@ func awsRestjson1_deserializeDocumentLastExecutionStatus(v **types.LastExecution } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5097,6 +5199,7 @@ func awsRestjson1_deserializeDocumentOnDemandConfiguration(v **types.OnDemandCon } sv.EndTime = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5105,6 +5208,7 @@ func awsRestjson1_deserializeDocumentOnDemandConfiguration(v **types.OnDemandCon } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5180,6 +5284,7 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Description = ptr.String(jtv) } + case "Event": if value != nil { jtv, ok := value.(string) @@ -5188,6 +5293,7 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Event = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -5196,6 +5302,7 @@ func awsRestjson1_deserializeDocumentPublication(v **types.Publication, value in } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -5269,6 +5376,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5308,6 +5416,7 @@ func awsRestjson1_deserializeDocumentResourceQuotaExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5347,6 +5456,7 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.FirstExecutionFrom = ptr.String(jtv) } + case "Object": if value != nil { jtv, ok := value.(string) @@ -5355,6 +5465,7 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Object = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -5363,6 +5474,7 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.ScheduleExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -5402,6 +5514,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Description = ptr.String(jtv) } + case "Event": if value != nil { jtv, ok := value.(string) @@ -5410,6 +5523,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Event = ptr.String(jtv) } + default: _, _ = key, value @@ -5519,6 +5633,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5558,6 +5673,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/applicationautoscaling/deserializers.go b/service/applicationautoscaling/deserializers.go index bdb6d40bd5b..433781efb15 100644 --- a/service/applicationautoscaling/deserializers.go +++ b/service/applicationautoscaling/deserializers.go @@ -1929,6 +1929,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmARN = ptr.String(jtv) } + case "AlarmName": if value != nil { jtv, ok := value.(string) @@ -1937,6 +1938,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmName = ptr.String(jtv) } + default: _, _ = key, value @@ -2010,6 +2012,7 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2045,6 +2048,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -2053,10 +2057,12 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.MetricName = ptr.String(jtv) } + case "Metrics": if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQueries(&sv.Metrics, value); err != nil { return err } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -2065,6 +2071,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Namespace = ptr.String(jtv) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -2073,6 +2080,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Statistic = types.MetricStatistic(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -2081,6 +2089,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -2120,6 +2129,7 @@ func awsAwsjson11_deserializeDocumentFailedResourceAccessException(v **types.Fai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2159,6 +2169,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2198,6 +2209,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2237,6 +2249,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2276,6 +2289,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2298,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2357,6 +2372,7 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.Code = ptr.String(jtv) } + case "CurrentCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2369,6 +2385,7 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.CurrentCapacity = ptr.Int32(int32(i64)) } + case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2381,6 +2398,7 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2393,6 +2411,7 @@ func awsAwsjson11_deserializeDocumentNotScaledReason(v **types.NotScaledReason, } sv.MinCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2466,6 +2485,7 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2505,6 +2525,7 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.PredefinedMetricType = types.MetricType(jtv) } + case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -2513,6 +2534,7 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.ResourceLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -2552,6 +2574,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -2560,6 +2583,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2606,6 +2630,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } } + case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2618,6 +2643,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2630,6 +2656,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.MinCapacity = ptr.Int32(int32(i64)) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2638,6 +2665,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ResourceId = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2646,6 +2674,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.RoleARN = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -2654,6 +2683,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ScalableTargetARN": if value != nil { jtv, ok := value.(string) @@ -2662,6 +2692,7 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ScalableTargetARN = ptr.String(jtv) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -2670,10 +2701,12 @@ func awsAwsjson11_deserializeDocumentScalableTarget(v **types.ScalableTarget, va } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + case "SuspendedState": if err := awsAwsjson11_deserializeDocumentSuspendedState(&sv.SuspendedState, value); err != nil { return err } + default: _, _ = key, value @@ -2717,6 +2750,7 @@ func awsAwsjson11_deserializeDocumentScalableTargetAction(v **types.ScalableTarg } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2729,6 +2763,7 @@ func awsAwsjson11_deserializeDocumentScalableTargetAction(v **types.ScalableTarg } sv.MinCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2836,6 +2871,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ActivityId = ptr.String(jtv) } + case "Cause": if value != nil { jtv, ok := value.(string) @@ -2844,6 +2880,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Cause = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2852,6 +2889,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Description = ptr.String(jtv) } + case "Details": if value != nil { jtv, ok := value.(string) @@ -2860,6 +2898,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.Details = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2875,10 +2914,12 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } } + case "NotScaledReasons": if err := awsAwsjson11_deserializeDocumentNotScaledReasons(&sv.NotScaledReasons, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2887,6 +2928,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ResourceId = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -2895,6 +2937,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -2903,6 +2946,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2918,6 +2962,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -2926,6 +2971,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.StatusCode = types.ScalingActivityStatusCode(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2934,6 +2980,7 @@ func awsAwsjson11_deserializeDocumentScalingActivity(v **types.ScalingActivity, } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3003,6 +3050,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu if err := awsAwsjson11_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3018,6 +3066,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } } + case "PolicyARN": if value != nil { jtv, ok := value.(string) @@ -3026,6 +3075,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyARN = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -3034,6 +3084,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyName = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -3042,6 +3093,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3050,6 +3102,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ResourceId = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -3058,6 +3111,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -3066,14 +3120,17 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + case "StepScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(&sv.StepScalingPolicyConfiguration, value); err != nil { return err } + case "TargetTrackingScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3120,6 +3177,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3135,6 +3193,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3143,6 +3202,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ResourceId = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -3151,10 +3211,12 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ScalableTargetAction": if err := awsAwsjson11_deserializeDocumentScalableTargetAction(&sv.ScalableTargetAction, value); err != nil { return err } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -3163,6 +3225,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Schedule = ptr.String(jtv) } + case "ScheduledActionARN": if value != nil { jtv, ok := value.(string) @@ -3171,6 +3234,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledActionARN = ptr.String(jtv) } + case "ScheduledActionName": if value != nil { jtv, ok := value.(string) @@ -3179,6 +3243,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledActionName = ptr.String(jtv) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -3187,6 +3252,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3202,6 +3268,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -3210,6 +3277,7 @@ func awsAwsjson11_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -3308,6 +3376,7 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } } + case "MetricIntervalUpperBound": if value != nil { switch jtv := value.(type) { @@ -3341,6 +3410,7 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } } + case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -3353,6 +3423,7 @@ func awsAwsjson11_deserializeDocumentStepAdjustment(v **types.StepAdjustment, va } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3426,6 +3497,7 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.AdjustmentType = types.AdjustmentType(jtv) } + case "Cooldown": if value != nil { jtv, ok := value.(json.Number) @@ -3438,6 +3510,7 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.Cooldown = ptr.Int32(int32(i64)) } + case "MetricAggregationType": if value != nil { jtv, ok := value.(string) @@ -3446,6 +3519,7 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.MetricAggregationType = types.MetricAggregationType(jtv) } + case "MinAdjustmentMagnitude": if value != nil { jtv, ok := value.(json.Number) @@ -3458,10 +3532,12 @@ func awsAwsjson11_deserializeDocumentStepScalingPolicyConfiguration(v **types.St } sv.MinAdjustmentMagnitude = ptr.Int32(int32(i64)) } + case "StepAdjustments": if err := awsAwsjson11_deserializeDocumentStepAdjustments(&sv.StepAdjustments, value); err != nil { return err } + default: _, _ = key, value @@ -3501,6 +3577,7 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.DynamicScalingInSuspended = ptr.Bool(jtv) } + case "DynamicScalingOutSuspended": if value != nil { jtv, ok := value.(bool) @@ -3509,6 +3586,7 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.DynamicScalingOutSuspended = ptr.Bool(jtv) } + case "ScheduledScalingSuspended": if value != nil { jtv, ok := value.(bool) @@ -3517,6 +3595,7 @@ func awsAwsjson11_deserializeDocumentSuspendedState(v **types.SuspendedState, va } sv.ScheduledScalingSuspended = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3588,6 +3667,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3596,6 +3676,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3604,6 +3685,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetric(v **types.TargetTracki } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -3677,6 +3759,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Expression = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3685,6 +3768,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3693,10 +3777,12 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.Label = ptr.String(jtv) } + case "MetricStat": if err := awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(&sv.MetricStat, value); err != nil { return err } + case "ReturnData": if value != nil { jtv, ok := value.(bool) @@ -3705,6 +3791,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDataQuery(v **types.Tar } sv.ReturnData = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3744,6 +3831,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDimension(v **types.Tar } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3752,6 +3840,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricDimension(v **types.Tar } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3821,6 +3910,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr if err := awsAwsjson11_deserializeDocumentTargetTrackingMetric(&sv.Metric, value); err != nil { return err } + case "Stat": if value != nil { jtv, ok := value.(string) @@ -3829,6 +3919,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr } sv.Stat = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -3837,6 +3928,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingMetricStat(v **types.TargetTr } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -3872,6 +3964,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v if err := awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(&sv.CustomizedMetricSpecification, value); err != nil { return err } + case "DisableScaleIn": if value != nil { jtv, ok := value.(bool) @@ -3880,10 +3973,12 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.DisableScaleIn = ptr.Bool(jtv) } + case "PredefinedMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(&sv.PredefinedMetricSpecification, value); err != nil { return err } + case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -3896,6 +3991,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } + case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -3908,6 +4004,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } + case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -3941,6 +4038,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } + default: _, _ = key, value @@ -3980,6 +4078,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -3988,6 +4087,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -4027,6 +4127,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4159,10 +4260,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalableTargetsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ScalableTargets": if err := awsAwsjson11_deserializeDocumentScalableTargets(&sv.ScalableTargets, value); err != nil { return err } + default: _, _ = key, value @@ -4202,10 +4305,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingActivitiesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "ScalingActivities": if err := awsAwsjson11_deserializeDocumentScalingActivities(&sv.ScalingActivities, value); err != nil { return err } + default: _, _ = key, value @@ -4245,10 +4350,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPoliciesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -4288,10 +4395,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScheduledActionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "ScheduledActions": if err := awsAwsjson11_deserializeDocumentScheduledActions(&sv.ScheduledActions, value); err != nil { return err } + default: _, _ = key, value @@ -4327,6 +4436,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4362,6 +4472,7 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli if err := awsAwsjson11_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } + case "PolicyARN": if value != nil { jtv, ok := value.(string) @@ -4370,6 +4481,7 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli } sv.PolicyARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4440,6 +4552,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterScalableTargetOutput(v **Register } sv.ScalableTargetARN = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/applicationcostprofiler/deserializers.go b/service/applicationcostprofiler/deserializers.go index 899b445ffc0..fcfe3c55d53 100644 --- a/service/applicationcostprofiler/deserializers.go +++ b/service/applicationcostprofiler/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReportDefinitionOutput(v **DeleteRe } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -355,10 +356,12 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } } + case "destinationS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.DestinationS3Location, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -367,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.Format = types.Format(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -382,6 +386,7 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } } + case "reportDescription": if value != nil { jtv, ok := value.(string) @@ -390,6 +395,7 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportDescription = ptr.String(jtv) } + case "reportFrequency": if value != nil { jtv, ok := value.(string) @@ -398,6 +404,7 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportFrequency = types.ReportFrequency(jtv) } + case "reportId": if value != nil { jtv, ok := value.(string) @@ -406,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentGetReportDefinitionOutput(v **GetReportDe } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -570,6 +578,7 @@ func awsRestjson1_deserializeOpDocumentImportApplicationUsageOutput(v **ImportAp } sv.ImportId = ptr.String(jtv) } + default: _, _ = key, value @@ -734,10 +743,12 @@ func awsRestjson1_deserializeOpDocumentListReportDefinitionsOutput(v **ListRepor } sv.NextToken = ptr.String(jtv) } + case "reportDefinitions": if err := awsRestjson1_deserializeDocumentReportDefinitionList(&sv.ReportDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -905,6 +916,7 @@ func awsRestjson1_deserializeOpDocumentPutReportDefinitionOutput(v **PutReportDe } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1069,6 +1081,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReportDefinitionOutput(v **UpdateRe } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1288,6 +1301,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1327,6 +1341,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1373,10 +1388,12 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } } + case "destinationS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.DestinationS3Location, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -1385,6 +1402,7 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Format = types.Format(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1400,6 +1418,7 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } } + case "reportDescription": if value != nil { jtv, ok := value.(string) @@ -1408,6 +1427,7 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportDescription = ptr.String(jtv) } + case "reportFrequency": if value != nil { jtv, ok := value.(string) @@ -1416,6 +1436,7 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportFrequency = types.ReportFrequency(jtv) } + case "reportId": if value != nil { jtv, ok := value.(string) @@ -1424,6 +1445,7 @@ func awsRestjson1_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1497,6 +1519,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -1505,6 +1528,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -1544,6 +1568,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1583,6 +1608,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1622,6 +1648,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/applicationdiscoveryservice/deserializers.go b/service/applicationdiscoveryservice/deserializers.go index 548cfb087af..2c6d7892496 100644 --- a/service/applicationdiscoveryservice/deserializers.go +++ b/service/applicationdiscoveryservice/deserializers.go @@ -3898,6 +3898,7 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.AgentId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3906,6 +3907,7 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.Description = ptr.String(jtv) } + case "operationSucceeded": if value != nil { jtv, ok := value.(bool) @@ -3914,6 +3916,7 @@ func awsAwsjson11_deserializeDocumentAgentConfigurationStatus(v **types.AgentCon } sv.OperationSucceeded = jtv } + default: _, _ = key, value @@ -3987,10 +3990,12 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentId = ptr.String(jtv) } + case "agentNetworkInfoList": if err := awsAwsjson11_deserializeDocumentAgentNetworkInfoList(&sv.AgentNetworkInfoList, value); err != nil { return err } + case "agentType": if value != nil { jtv, ok := value.(string) @@ -3999,6 +4004,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentType = ptr.String(jtv) } + case "collectionStatus": if value != nil { jtv, ok := value.(string) @@ -4007,6 +4013,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.CollectionStatus = ptr.String(jtv) } + case "connectorId": if value != nil { jtv, ok := value.(string) @@ -4015,6 +4022,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.ConnectorId = ptr.String(jtv) } + case "health": if value != nil { jtv, ok := value.(string) @@ -4023,6 +4031,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Health = types.AgentStatus(jtv) } + case "hostName": if value != nil { jtv, ok := value.(string) @@ -4031,6 +4040,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.HostName = ptr.String(jtv) } + case "lastHealthPingTime": if value != nil { jtv, ok := value.(string) @@ -4039,6 +4049,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.LastHealthPingTime = ptr.String(jtv) } + case "registeredTime": if value != nil { jtv, ok := value.(string) @@ -4047,6 +4058,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.RegisteredTime = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4055,6 +4067,7 @@ func awsAwsjson11_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4094,6 +4107,7 @@ func awsAwsjson11_deserializeDocumentAgentNetworkInfo(v **types.AgentNetworkInfo } sv.IpAddress = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -4102,6 +4116,7 @@ func awsAwsjson11_deserializeDocumentAgentNetworkInfo(v **types.AgentNetworkInfo } sv.MacAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -4209,6 +4224,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationErrorException(v **types.Autho } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4248,6 +4264,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.AgentId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4256,6 +4273,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.ErrorCode = types.DeleteAgentErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4264,6 +4282,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteAgentError(v **types.BatchDelete } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4337,14 +4356,17 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.ConfigurationType = types.DeletionConfigurationItemType(jtv) } + case "deletedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationIdList(&sv.DeletedConfigurations, value); err != nil { return err } + case "deletionWarnings": if err := awsAwsjson11_deserializeDocumentDeletionWarningsList(&sv.DeletionWarnings, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -4360,14 +4382,17 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } } + case "failedConfigurations": if err := awsAwsjson11_deserializeDocumentFailedConfigurationList(&sv.FailedConfigurations, value); err != nil { return err } + case "requestedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationIdList(&sv.RequestedConfigurations, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -4383,6 +4408,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } } + case "status": if value != nil { jtv, ok := value.(string) @@ -4391,6 +4417,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.Status = types.BatchDeleteConfigurationTaskStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -4399,6 +4426,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(v **types.Batc } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -4438,6 +4466,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ErrorCode = types.BatchDeleteImportDataErrorCode(jtv) } + case "errorDescription": if value != nil { jtv, ok := value.(string) @@ -4446,6 +4475,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ErrorDescription = ptr.String(jtv) } + case "importTaskId": if value != nil { jtv, ok := value.(string) @@ -4454,6 +4484,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteImportDataError(v **types.BatchD } sv.ImportTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -4631,6 +4662,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.ConfigurationId = ptr.String(jtv) } + case "configurationType": if value != nil { jtv, ok := value.(string) @@ -4639,6 +4671,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.ConfigurationType = types.ConfigurationItemType(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -4647,6 +4680,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.Key = ptr.String(jtv) } + case "timeOfCreation": if value != nil { switch jtv := value.(type) { @@ -4662,6 +4696,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } } + case "value": if value != nil { jtv, ok := value.(string) @@ -4670,6 +4705,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTag(v **types.ConfigurationTag } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4743,6 +4779,7 @@ func awsAwsjson11_deserializeDocumentConflictErrorException(v **types.ConflictEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4782,6 +4819,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.DataSource = types.DataSource(jtv) } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -4790,6 +4828,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.ExportId = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -4798,10 +4837,12 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.S3Bucket = ptr.String(jtv) } + case "schemaStorageConfig": if err := awsAwsjson11_deserializeDocumentSchemaStorageConfig(&sv.SchemaStorageConfig, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -4817,6 +4858,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } } + case "status": if value != nil { jtv, ok := value.(string) @@ -4825,6 +4867,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.Status = types.ContinuousExportStatus(jtv) } + case "statusDetail": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4876,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } sv.StatusDetail = ptr.String(jtv) } + case "stopTime": if value != nil { switch jtv := value.(type) { @@ -4848,6 +4892,7 @@ func awsAwsjson11_deserializeDocumentContinuousExportDescription(v **types.Conti } } + default: _, _ = key, value @@ -4925,6 +4970,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.ActiveAgents = int32(i64) } + case "blackListedAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4937,6 +4983,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.BlackListedAgents = int32(i64) } + case "healthyAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4949,6 +4996,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.HealthyAgents = int32(i64) } + case "shutdownAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4961,6 +5009,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.ShutdownAgents = int32(i64) } + case "totalAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4973,6 +5022,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.TotalAgents = int32(i64) } + case "unhealthyAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4985,6 +5035,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.UnhealthyAgents = int32(i64) } + case "unknownAgents": if value != nil { jtv, ok := value.(json.Number) @@ -4997,6 +5048,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentInfo(v **types.CustomerAgentIn } sv.UnknownAgents = int32(i64) } + default: _, _ = key, value @@ -5040,6 +5092,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.ActiveAgentlessCollectors = int32(i64) } + case "denyListedAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5052,6 +5105,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.DenyListedAgentlessCollectors = int32(i64) } + case "healthyAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5064,6 +5118,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.HealthyAgentlessCollectors = int32(i64) } + case "shutdownAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5076,6 +5131,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.ShutdownAgentlessCollectors = int32(i64) } + case "totalAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5088,6 +5144,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.TotalAgentlessCollectors = int32(i64) } + case "unhealthyAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5100,6 +5157,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.UnhealthyAgentlessCollectors = int32(i64) } + case "unknownAgentlessCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5112,6 +5170,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(v **types.Cu } sv.UnknownAgentlessCollectors = int32(i64) } + default: _, _ = key, value @@ -5155,6 +5214,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.ActiveConnectors = int32(i64) } + case "blackListedConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5167,6 +5227,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.BlackListedConnectors = int32(i64) } + case "healthyConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5179,6 +5240,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.HealthyConnectors = int32(i64) } + case "shutdownConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5191,6 +5253,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.ShutdownConnectors = int32(i64) } + case "totalConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5203,6 +5266,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.TotalConnectors = int32(i64) } + case "unhealthyConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5215,6 +5279,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.UnhealthyConnectors = int32(i64) } + case "unknownConnectors": if value != nil { jtv, ok := value.(json.Number) @@ -5227,6 +5292,7 @@ func awsAwsjson11_deserializeDocumentCustomerConnectorInfo(v **types.CustomerCon } sv.UnknownConnectors = int32(i64) } + default: _, _ = key, value @@ -5270,6 +5336,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.ActiveMeCollectors = int32(i64) } + case "denyListedMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5282,6 +5349,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.DenyListedMeCollectors = int32(i64) } + case "healthyMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5294,6 +5362,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.HealthyMeCollectors = int32(i64) } + case "shutdownMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5306,6 +5375,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.ShutdownMeCollectors = int32(i64) } + case "totalMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5318,6 +5388,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.TotalMeCollectors = int32(i64) } + case "unhealthyMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5330,6 +5401,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.UnhealthyMeCollectors = int32(i64) } + case "unknownMeCollectors": if value != nil { jtv, ok := value.(json.Number) @@ -5342,6 +5414,7 @@ func awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(v **types.CustomerM } sv.UnknownMeCollectors = int32(i64) } + default: _, _ = key, value @@ -5381,6 +5454,7 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.ConfigurationId = ptr.String(jtv) } + case "warningCode": if value != nil { jtv, ok := value.(json.Number) @@ -5393,6 +5467,7 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.WarningCode = int32(i64) } + case "warningText": if value != nil { jtv, ok := value.(string) @@ -5401,6 +5476,7 @@ func awsAwsjson11_deserializeDocumentDeletionWarning(v **types.DeletionWarning, } sv.WarningText = ptr.String(jtv) } + default: _, _ = key, value @@ -5542,6 +5618,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ConfigurationsDownloadUrl = ptr.String(jtv) } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -5550,6 +5627,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ExportId = ptr.String(jtv) } + case "exportRequestTime": if value != nil { switch jtv := value.(type) { @@ -5565,6 +5643,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -5573,6 +5652,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.ExportStatus = types.ExportStatus(jtv) } + case "isTruncated": if value != nil { jtv, ok := value.(bool) @@ -5581,6 +5661,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.IsTruncated = jtv } + case "requestedEndTime": if value != nil { switch jtv := value.(type) { @@ -5596,6 +5677,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } + case "requestedStartTime": if value != nil { switch jtv := value.(type) { @@ -5611,6 +5693,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5619,6 +5702,7 @@ func awsAwsjson11_deserializeDocumentExportInfo(v **types.ExportInfo, value inte } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5692,6 +5776,7 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ConfigurationId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5700,6 +5785,7 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ErrorMessage = ptr.String(jtv) } + case "errorStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -5712,6 +5798,7 @@ func awsAwsjson11_deserializeDocumentFailedConfiguration(v **types.FailedConfigu } sv.ErrorStatusCode = int32(i64) } + default: _, _ = key, value @@ -5785,6 +5872,7 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5828,6 +5916,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ApplicationImportFailure = int32(i64) } + case "applicationImportSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -5840,6 +5929,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ApplicationImportSuccess = int32(i64) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5848,6 +5938,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ClientRequestToken = ptr.String(jtv) } + case "errorsAndFailedEntriesZip": if value != nil { jtv, ok := value.(string) @@ -5856,6 +5947,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ErrorsAndFailedEntriesZip = ptr.String(jtv) } + case "importCompletionTime": if value != nil { switch jtv := value.(type) { @@ -5871,6 +5963,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } + case "importDeletedTime": if value != nil { switch jtv := value.(type) { @@ -5886,6 +5979,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } + case "importRequestTime": if value != nil { switch jtv := value.(type) { @@ -5901,6 +5995,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } } + case "importTaskId": if value != nil { jtv, ok := value.(string) @@ -5909,6 +6004,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportTaskId = ptr.String(jtv) } + case "importUrl": if value != nil { jtv, ok := value.(string) @@ -5917,6 +6013,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportUrl = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5925,6 +6022,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Name = ptr.String(jtv) } + case "serverImportFailure": if value != nil { jtv, ok := value.(json.Number) @@ -5937,6 +6035,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ServerImportFailure = int32(i64) } + case "serverImportSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -5949,6 +6048,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ServerImportSuccess = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5957,6 +6057,7 @@ func awsAwsjson11_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Status = types.ImportStatus(jtv) } + default: _, _ = key, value @@ -6030,6 +6131,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6069,6 +6171,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6108,6 +6211,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6151,6 +6255,7 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.ConnectionsCount = i64 } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -6163,6 +6268,7 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "destinationServerId": if value != nil { jtv, ok := value.(string) @@ -6171,6 +6277,7 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.DestinationServerId = ptr.String(jtv) } + case "sourceServerId": if value != nil { jtv, ok := value.(string) @@ -6179,6 +6286,7 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.SourceServerId = ptr.String(jtv) } + case "transportProtocol": if value != nil { jtv, ok := value.(string) @@ -6187,6 +6295,7 @@ func awsAwsjson11_deserializeDocumentNeighborConnectionDetail(v **types.Neighbor } sv.TransportProtocol = ptr.String(jtv) } + default: _, _ = key, value @@ -6260,6 +6369,7 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6299,6 +6409,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6338,6 +6449,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6413,6 +6525,7 @@ func awsAwsjson11_deserializeDocumentServerInternalErrorException(v **types.Serv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6479,6 +6592,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteAgentsOutput(v **BatchDeleteAg if err := awsAwsjson11_deserializeDocumentBatchDeleteAgentErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -6514,6 +6628,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImportDataOutput(v **BatchDele if err := awsAwsjson11_deserializeDocumentBatchDeleteImportDataErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -6553,6 +6668,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6681,6 +6797,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentsOutput(v **DescribeAgentsOu if err := awsAwsjson11_deserializeDocumentAgentsInfo(&sv.AgentsInfo, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6689,6 +6806,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentsOutput(v **DescribeAgentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6724,6 +6842,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchDeleteConfigurationTaskOutpu if err := awsAwsjson11_deserializeDocumentBatchDeleteConfigurationTask(&sv.Task, value); err != nil { return err } + default: _, _ = key, value @@ -6759,6 +6878,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDescribeConfigurationsAttributes(&sv.Configurations, value); err != nil { return err } + default: _, _ = key, value @@ -6794,6 +6914,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContinuousExportsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentContinuousExportDescriptions(&sv.Descriptions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6802,6 +6923,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContinuousExportsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6837,6 +6959,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportConfigurationsOutput(v **De if err := awsAwsjson11_deserializeDocumentExportsInfo(&sv.ExportsInfo, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6845,6 +6968,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportConfigurationsOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6880,6 +7004,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp if err := awsAwsjson11_deserializeDocumentExportsInfo(&sv.ExportsInfo, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6888,6 +7013,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6927,10 +7053,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeImportTasksOutput(v **DescribeImp } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsAwsjson11_deserializeDocumentImportTaskList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -6970,10 +7098,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentConfigurationTagSet(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7044,6 +7174,7 @@ func awsAwsjson11_deserializeOpDocumentExportConfigurationsOutput(v **ExportConf } sv.ExportId = ptr.String(jtv) } + default: _, _ = key, value @@ -7079,10 +7210,12 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover if err := awsAwsjson11_deserializeDocumentCustomerAgentlessCollectorInfo(&sv.AgentlessCollectorSummary, value); err != nil { return err } + case "agentSummary": if err := awsAwsjson11_deserializeDocumentCustomerAgentInfo(&sv.AgentSummary, value); err != nil { return err } + case "applications": if value != nil { jtv, ok := value.(json.Number) @@ -7095,14 +7228,17 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.Applications = i64 } + case "connectorSummary": if err := awsAwsjson11_deserializeDocumentCustomerConnectorInfo(&sv.ConnectorSummary, value); err != nil { return err } + case "meCollectorSummary": if err := awsAwsjson11_deserializeDocumentCustomerMeCollectorInfo(&sv.MeCollectorSummary, value); err != nil { return err } + case "servers": if value != nil { jtv, ok := value.(json.Number) @@ -7115,6 +7251,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.Servers = i64 } + case "serversMappedToApplications": if value != nil { jtv, ok := value.(json.Number) @@ -7127,6 +7264,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.ServersMappedToApplications = i64 } + case "serversMappedtoTags": if value != nil { jtv, ok := value.(json.Number) @@ -7139,6 +7277,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoverySummaryOutput(v **GetDiscover } sv.ServersMappedtoTags = i64 } + default: _, _ = key, value @@ -7174,6 +7313,7 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsAwsjson11_deserializeDocumentConfigurations(&sv.Configurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7182,6 +7322,7 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7225,10 +7366,12 @@ func awsAwsjson11_deserializeOpDocumentListServerNeighborsOutput(v **ListServerN } sv.KnownDependencyCount = i64 } + case "neighbors": if err := awsAwsjson11_deserializeDocumentNeighborDetailsList(&sv.Neighbors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7237,6 +7380,7 @@ func awsAwsjson11_deserializeOpDocumentListServerNeighborsOutput(v **ListServerN } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7276,6 +7420,7 @@ func awsAwsjson11_deserializeOpDocumentStartBatchDeleteConfigurationTaskOutput(v } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -7315,6 +7460,7 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.DataSource = types.DataSource(jtv) } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -7323,6 +7469,7 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.ExportId = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -7331,10 +7478,12 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } sv.S3Bucket = ptr.String(jtv) } + case "schemaStorageConfig": if err := awsAwsjson11_deserializeDocumentSchemaStorageConfig(&sv.SchemaStorageConfig, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -7350,6 +7499,7 @@ func awsAwsjson11_deserializeOpDocumentStartContinuousExportOutput(v **StartCont } } + default: _, _ = key, value @@ -7385,6 +7535,7 @@ func awsAwsjson11_deserializeOpDocumentStartDataCollectionByAgentIdsOutput(v **S if err := awsAwsjson11_deserializeDocumentAgentConfigurationStatusList(&sv.AgentsConfigurationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -7424,6 +7575,7 @@ func awsAwsjson11_deserializeOpDocumentStartExportTaskOutput(v **StartExportTask } sv.ExportId = ptr.String(jtv) } + default: _, _ = key, value @@ -7459,6 +7611,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask if err := awsAwsjson11_deserializeDocumentImportTask(&sv.Task, value); err != nil { return err } + default: _, _ = key, value @@ -7505,6 +7658,7 @@ func awsAwsjson11_deserializeOpDocumentStopContinuousExportOutput(v **StopContin } } + case "stopTime": if value != nil { switch jtv := value.(type) { @@ -7520,6 +7674,7 @@ func awsAwsjson11_deserializeOpDocumentStopContinuousExportOutput(v **StopContin } } + default: _, _ = key, value @@ -7555,6 +7710,7 @@ func awsAwsjson11_deserializeOpDocumentStopDataCollectionByAgentIdsOutput(v **St if err := awsAwsjson11_deserializeDocumentAgentConfigurationStatusList(&sv.AgentsConfigurationStatus, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/applicationinsights/deserializers.go b/service/applicationinsights/deserializers.go index 90c0f6c28b7..aac0e7dec9c 100644 --- a/service/applicationinsights/deserializers.go +++ b/service/applicationinsights/deserializers.go @@ -4225,6 +4225,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4264,6 +4265,7 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ComponentName = ptr.String(jtv) } + case "ComponentRemarks": if value != nil { jtv, ok := value.(string) @@ -4272,10 +4274,12 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ComponentRemarks = ptr.String(jtv) } + case "DetectedWorkload": if err := awsAwsjson11_deserializeDocumentDetectedWorkload(&sv.DetectedWorkload, value); err != nil { return err } + case "Monitor": if value != nil { jtv, ok := value.(bool) @@ -4284,6 +4288,7 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.Monitor = ptr.Bool(jtv) } + case "OsType": if value != nil { jtv, ok := value.(string) @@ -4292,6 +4297,7 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.OsType = types.OsType(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4300,6 +4306,7 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.ResourceType = ptr.String(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -4308,6 +4315,7 @@ func awsAwsjson11_deserializeDocumentApplicationComponent(v **types.ApplicationC } sv.Tier = types.Tier(jtv) } + default: _, _ = key, value @@ -4381,6 +4389,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AccountId = ptr.String(jtv) } + case "AttachMissingPermission": if value != nil { jtv, ok := value.(bool) @@ -4389,6 +4398,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AttachMissingPermission = ptr.Bool(jtv) } + case "AutoConfigEnabled": if value != nil { jtv, ok := value.(bool) @@ -4397,6 +4407,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.AutoConfigEnabled = ptr.Bool(jtv) } + case "CWEMonitorEnabled": if value != nil { jtv, ok := value.(bool) @@ -4405,6 +4416,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.CWEMonitorEnabled = ptr.Bool(jtv) } + case "DiscoveryType": if value != nil { jtv, ok := value.(string) @@ -4413,6 +4425,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.DiscoveryType = types.DiscoveryType(jtv) } + case "LifeCycle": if value != nil { jtv, ok := value.(string) @@ -4421,6 +4434,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.LifeCycle = ptr.String(jtv) } + case "OpsCenterEnabled": if value != nil { jtv, ok := value.(bool) @@ -4429,6 +4443,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.OpsCenterEnabled = ptr.Bool(jtv) } + case "OpsItemSNSTopicArn": if value != nil { jtv, ok := value.(string) @@ -4437,6 +4452,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.OpsItemSNSTopicArn = ptr.String(jtv) } + case "Remarks": if value != nil { jtv, ok := value.(string) @@ -4445,6 +4461,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.Remarks = ptr.String(jtv) } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -4453,6 +4470,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ResourceGroupName = ptr.String(jtv) } + case "SNSNotificationArn": if value != nil { jtv, ok := value.(string) @@ -4461,6 +4479,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.SNSNotificationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4534,6 +4553,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4573,6 +4593,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.AccountId = ptr.String(jtv) } + case "EventDetail": if value != nil { jtv, ok := value.(string) @@ -4581,6 +4602,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventDetail = ptr.String(jtv) } + case "EventResourceName": if value != nil { jtv, ok := value.(string) @@ -4589,6 +4611,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventResourceName = ptr.String(jtv) } + case "EventResourceType": if value != nil { jtv, ok := value.(string) @@ -4597,6 +4620,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventResourceType = types.ConfigurationEventResourceType(jtv) } + case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -4605,6 +4629,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.EventStatus = types.ConfigurationEventStatus(jtv) } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -4620,6 +4645,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } } + case "MonitoredResourceARN": if value != nil { jtv, ok := value.(string) @@ -4628,6 +4654,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.MonitoredResourceARN = ptr.String(jtv) } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -4636,6 +4663,7 @@ func awsAwsjson11_deserializeDocumentConfigurationEvent(v **types.ConfigurationE } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -4779,6 +4807,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4818,6 +4847,7 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.Pattern = ptr.String(jtv) } + case "PatternName": if value != nil { jtv, ok := value.(string) @@ -4826,6 +4856,7 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.PatternName = ptr.String(jtv) } + case "PatternSetName": if value != nil { jtv, ok := value.(string) @@ -4834,6 +4865,7 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.PatternSetName = ptr.String(jtv) } + case "Rank": if value != nil { jtv, ok := value.(json.Number) @@ -4846,6 +4878,7 @@ func awsAwsjson11_deserializeDocumentLogPattern(v **types.LogPattern, value inte } sv.Rank = int32(i64) } + default: _, _ = key, value @@ -4955,6 +4988,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventDetailType = ptr.String(jtv) } + case "CloudWatchEventId": if value != nil { jtv, ok := value.(string) @@ -4963,6 +4997,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventId = ptr.String(jtv) } + case "CloudWatchEventSource": if value != nil { jtv, ok := value.(string) @@ -4971,6 +5006,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CloudWatchEventSource = types.CloudWatchEventSource(jtv) } + case "CodeDeployApplication": if value != nil { jtv, ok := value.(string) @@ -4979,6 +5015,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployApplication = ptr.String(jtv) } + case "CodeDeployDeploymentGroup": if value != nil { jtv, ok := value.(string) @@ -4987,6 +5024,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployDeploymentGroup = ptr.String(jtv) } + case "CodeDeployDeploymentId": if value != nil { jtv, ok := value.(string) @@ -4995,6 +5033,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployDeploymentId = ptr.String(jtv) } + case "CodeDeployInstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -5003,6 +5042,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployInstanceGroupId = ptr.String(jtv) } + case "CodeDeployState": if value != nil { jtv, ok := value.(string) @@ -5011,6 +5051,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.CodeDeployState = ptr.String(jtv) } + case "EbsCause": if value != nil { jtv, ok := value.(string) @@ -5019,6 +5060,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsCause = ptr.String(jtv) } + case "EbsEvent": if value != nil { jtv, ok := value.(string) @@ -5027,6 +5069,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsEvent = ptr.String(jtv) } + case "EbsRequestId": if value != nil { jtv, ok := value.(string) @@ -5035,6 +5078,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsRequestId = ptr.String(jtv) } + case "EbsResult": if value != nil { jtv, ok := value.(string) @@ -5043,6 +5087,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.EbsResult = ptr.String(jtv) } + case "Ec2State": if value != nil { jtv, ok := value.(string) @@ -5051,6 +5096,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Ec2State = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5066,6 +5112,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } + case "HealthEventArn": if value != nil { jtv, ok := value.(string) @@ -5074,6 +5121,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventArn = ptr.String(jtv) } + case "HealthEventDescription": if value != nil { jtv, ok := value.(string) @@ -5082,6 +5130,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventDescription = ptr.String(jtv) } + case "HealthEventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -5090,6 +5139,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventTypeCategory = ptr.String(jtv) } + case "HealthEventTypeCode": if value != nil { jtv, ok := value.(string) @@ -5098,6 +5148,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthEventTypeCode = ptr.String(jtv) } + case "HealthService": if value != nil { jtv, ok := value.(string) @@ -5106,6 +5157,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.HealthService = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5114,6 +5166,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Id = ptr.String(jtv) } + case "LineTime": if value != nil { switch jtv := value.(type) { @@ -5129,6 +5182,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } + case "LogFilter": if value != nil { jtv, ok := value.(string) @@ -5137,6 +5191,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogFilter = types.LogFilter(jtv) } + case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -5145,6 +5200,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogGroup = ptr.String(jtv) } + case "LogText": if value != nil { jtv, ok := value.(string) @@ -5153,6 +5209,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.LogText = ptr.String(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -5161,6 +5218,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.MetricName = ptr.String(jtv) } + case "MetricNamespace": if value != nil { jtv, ok := value.(string) @@ -5169,6 +5227,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.MetricNamespace = ptr.String(jtv) } + case "RdsEventCategories": if value != nil { jtv, ok := value.(string) @@ -5177,6 +5236,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.RdsEventCategories = ptr.String(jtv) } + case "RdsEventMessage": if value != nil { jtv, ok := value.(string) @@ -5185,6 +5245,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.RdsEventMessage = ptr.String(jtv) } + case "S3EventName": if value != nil { jtv, ok := value.(string) @@ -5193,6 +5254,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.S3EventName = ptr.String(jtv) } + case "SourceARN": if value != nil { jtv, ok := value.(string) @@ -5201,6 +5263,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.SourceARN = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -5209,6 +5272,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.SourceType = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5224,6 +5288,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } + case "StatesArn": if value != nil { jtv, ok := value.(string) @@ -5232,6 +5297,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesArn = ptr.String(jtv) } + case "StatesExecutionArn": if value != nil { jtv, ok := value.(string) @@ -5240,6 +5306,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesExecutionArn = ptr.String(jtv) } + case "StatesInput": if value != nil { jtv, ok := value.(string) @@ -5248,6 +5315,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesInput = ptr.String(jtv) } + case "StatesStatus": if value != nil { jtv, ok := value.(string) @@ -5256,6 +5324,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.StatesStatus = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5333,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.Unit = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -5297,6 +5367,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } } + case "XRayErrorPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5309,6 +5380,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayErrorPercent = ptr.Int32(int32(i64)) } + case "XRayFaultPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5321,6 +5393,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayFaultPercent = ptr.Int32(int32(i64)) } + case "XRayNodeName": if value != nil { jtv, ok := value.(string) @@ -5329,6 +5402,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayNodeName = ptr.String(jtv) } + case "XRayNodeType": if value != nil { jtv, ok := value.(string) @@ -5337,6 +5411,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayNodeType = ptr.String(jtv) } + case "XRayRequestAverageLatency": if value != nil { jtv, ok := value.(json.Number) @@ -5349,6 +5424,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayRequestAverageLatency = ptr.Int64(i64) } + case "XRayRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -5361,6 +5437,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayRequestCount = ptr.Int32(int32(i64)) } + case "XRayThrottlePercent": if value != nil { jtv, ok := value.(json.Number) @@ -5373,6 +5450,7 @@ func awsAwsjson11_deserializeDocumentObservation(v **types.Observation, value in } sv.XRayThrottlePercent = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5446,6 +5524,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.AccountId = ptr.String(jtv) } + case "AffectedResource": if value != nil { jtv, ok := value.(string) @@ -5454,6 +5533,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.AffectedResource = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5469,10 +5549,12 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } + case "Feedback": if err := awsAwsjson11_deserializeDocumentFeedback(&sv.Feedback, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5481,6 +5563,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Id = ptr.String(jtv) } + case "Insights": if value != nil { jtv, ok := value.(string) @@ -5489,6 +5572,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Insights = ptr.String(jtv) } + case "LastRecurrenceTime": if value != nil { switch jtv := value.(type) { @@ -5504,6 +5588,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } + case "RecurringCount": if value != nil { jtv, ok := value.(json.Number) @@ -5516,6 +5601,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.RecurringCount = ptr.Int64(i64) } + case "ResolutionMethod": if value != nil { jtv, ok := value.(string) @@ -5524,6 +5610,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ResolutionMethod = types.ResolutionMethod(jtv) } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -5532,6 +5619,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ResourceGroupName = ptr.String(jtv) } + case "SeverityLevel": if value != nil { jtv, ok := value.(string) @@ -5540,6 +5628,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.SeverityLevel = types.SeverityLevel(jtv) } + case "ShortName": if value != nil { jtv, ok := value.(string) @@ -5548,6 +5637,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.ShortName = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5563,6 +5653,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5571,6 +5662,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Status = types.Status(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -5579,6 +5671,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Title = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5680,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -5656,6 +5750,7 @@ func awsAwsjson11_deserializeDocumentRelatedObservations(v **types.RelatedObserv if err := awsAwsjson11_deserializeDocumentObservationList(&sv.ObservationList, value); err != nil { return err } + default: _, _ = key, value @@ -5695,6 +5790,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5770,6 +5866,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5809,6 +5906,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5817,6 +5915,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5890,6 +5989,7 @@ func awsAwsjson11_deserializeDocumentTagsAlreadyExistException(v **types.TagsAlr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5929,6 +6029,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5937,6 +6038,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5976,6 +6078,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6015,6 +6118,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ComponentName = ptr.String(jtv) } + case "MissingWorkloadConfig": if value != nil { jtv, ok := value.(bool) @@ -6023,6 +6127,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.MissingWorkloadConfig = ptr.Bool(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -6031,6 +6136,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Tier = types.Tier(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6039,6 +6145,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -6047,6 +6154,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadName = ptr.String(jtv) } + case "WorkloadRemarks": if value != nil { jtv, ok := value.(string) @@ -6055,6 +6163,7 @@ func awsAwsjson11_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadRemarks = ptr.String(jtv) } + default: _, _ = key, value @@ -6094,6 +6203,7 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.Configuration = ptr.String(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -6102,6 +6212,7 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.Tier = types.Tier(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -6110,6 +6221,7 @@ func awsAwsjson11_deserializeDocumentWorkloadConfiguration(v **types.WorkloadCon } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -6215,6 +6327,7 @@ func awsAwsjson11_deserializeOpDocumentAddWorkloadOutput(v **AddWorkloadOutput, if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6223,6 +6336,7 @@ func awsAwsjson11_deserializeOpDocumentAddWorkloadOutput(v **AddWorkloadOutput, } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -6258,6 +6372,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6324,6 +6439,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLogPatternOutput(v **CreateLogPatte if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -6332,6 +6448,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLogPatternOutput(v **CreateLogPatte } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -6460,6 +6577,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6499,6 +6617,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.ComponentConfiguration = ptr.String(jtv) } + case "Monitor": if value != nil { jtv, ok := value.(bool) @@ -6507,6 +6626,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.Monitor = ptr.Bool(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -6515,6 +6635,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationOutput(v ** } sv.Tier = types.Tier(jtv) } + default: _, _ = key, value @@ -6554,6 +6675,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentConfigurationRecommendat } sv.ComponentConfiguration = ptr.String(jtv) } + default: _, _ = key, value @@ -6589,10 +6711,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo if err := awsAwsjson11_deserializeDocumentApplicationComponent(&sv.ApplicationComponent, value); err != nil { return err } + case "ResourceList": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.ResourceList, value); err != nil { return err } + default: _, _ = key, value @@ -6632,10 +6756,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogPatternOutput(v **DescribeLogP } sv.AccountId = ptr.String(jtv) } + case "LogPattern": if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -6644,6 +6770,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogPatternOutput(v **DescribeLogP } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -6679,6 +6806,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeObservationOutput(v **DescribeObs if err := awsAwsjson11_deserializeDocumentObservation(&sv.Observation, value); err != nil { return err } + default: _, _ = key, value @@ -6714,6 +6842,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemObservationsOutput(v **Des if err := awsAwsjson11_deserializeDocumentRelatedObservations(&sv.RelatedObservations, value); err != nil { return err } + default: _, _ = key, value @@ -6749,6 +6878,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemOutput(v **DescribeProblem if err := awsAwsjson11_deserializeDocumentProblem(&sv.Problem, value); err != nil { return err } + case "SNSNotificationArn": if value != nil { jtv, ok := value.(string) @@ -6757,6 +6887,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProblemOutput(v **DescribeProblem } sv.SNSNotificationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6792,6 +6923,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6800,6 +6932,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadRemarks": if value != nil { jtv, ok := value.(string) @@ -6808,6 +6941,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkloadOutput(v **DescribeWorklo } sv.WorkloadRemarks = ptr.String(jtv) } + default: _, _ = key, value @@ -6843,6 +6977,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationInfoList(&sv.ApplicationInfoList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6851,6 +6986,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6886,6 +7022,7 @@ func awsAwsjson11_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsAwsjson11_deserializeDocumentApplicationComponentList(&sv.ApplicationComponentList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6894,6 +7031,7 @@ func awsAwsjson11_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6929,6 +7067,7 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationHistoryOutput(v **ListCo if err := awsAwsjson11_deserializeDocumentConfigurationEventList(&sv.EventList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6937,6 +7076,7 @@ func awsAwsjson11_deserializeOpDocumentListConfigurationHistoryOutput(v **ListCo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6976,10 +7116,12 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.AccountId = ptr.String(jtv) } + case "LogPatternSets": if err := awsAwsjson11_deserializeDocumentLogPatternSetList(&sv.LogPatternSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7130,7 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.NextToken = ptr.String(jtv) } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -6996,6 +7139,7 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternSetsOutput(v **ListLogPatte } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7035,10 +7179,12 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.AccountId = ptr.String(jtv) } + case "LogPatterns": if err := awsAwsjson11_deserializeDocumentLogPatternList(&sv.LogPatterns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7047,6 +7193,7 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.NextToken = ptr.String(jtv) } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7055,6 +7202,7 @@ func awsAwsjson11_deserializeOpDocumentListLogPatternsOutput(v **ListLogPatterns } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7094,6 +7242,7 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.AccountId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7102,10 +7251,12 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.NextToken = ptr.String(jtv) } + case "ProblemList": if err := awsAwsjson11_deserializeDocumentProblemList(&sv.ProblemList, value); err != nil { return err } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7114,6 +7265,7 @@ func awsAwsjson11_deserializeOpDocumentListProblemsOutput(v **ListProblemsOutput } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7149,6 +7301,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7188,10 +7341,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } + case "WorkloadList": if err := awsAwsjson11_deserializeDocumentWorkloadList(&sv.WorkloadList, value); err != nil { return err } + default: _, _ = key, value @@ -7320,6 +7475,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.ApplicationInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7417,6 +7573,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLogPatternOutput(v **UpdateLogPatte if err := awsAwsjson11_deserializeDocumentLogPattern(&sv.LogPattern, value); err != nil { return err } + case "ResourceGroupName": if value != nil { jtv, ok := value.(string) @@ -7425,6 +7582,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLogPatternOutput(v **UpdateLogPatte } sv.ResourceGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7491,6 +7649,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu if err := awsAwsjson11_deserializeDocumentWorkloadConfiguration(&sv.WorkloadConfiguration, value); err != nil { return err } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -7499,6 +7658,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/applicationsignals/deserializers.go b/service/applicationsignals/deserializers.go index 5ac2d275f93..a5bd0e7da61 100644 --- a/service/applicationsignals/deserializers.go +++ b/service/applicationsignals/deserializers.go @@ -175,10 +175,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetServiceLevelObjectiveBudgetReport if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportErrors(&sv.Errors, value); err != nil { return err } + case "Reports": if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReports(&sv.Reports, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -194,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetServiceLevelObjectiveBudgetReport } } + default: _, _ = key, value @@ -357,6 +360,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceLevelObjectiveOutput(v **Cre if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } + default: _, _ = key, value @@ -616,14 +620,17 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } + case "LogGroupReferences": if err := awsRestjson1_deserializeDocumentLogGroupReferences(&sv.LogGroupReferences, value); err != nil { return err } + case "Service": if err := awsRestjson1_deserializeDocumentService(&sv.Service, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -639,6 +646,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } + default: _, _ = key, value @@ -796,6 +804,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceLevelObjectiveOutput(v **GetSer if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } + default: _, _ = key, value @@ -961,6 +970,7 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -969,10 +979,12 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } sv.NextToken = ptr.String(jtv) } + case "ServiceDependencies": if err := awsRestjson1_deserializeDocumentServiceDependencies(&sv.ServiceDependencies, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -988,6 +1000,7 @@ func awsRestjson1_deserializeOpDocumentListServiceDependenciesOutput(v **ListSer } } + default: _, _ = key, value @@ -1153,6 +1166,7 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1161,10 +1175,12 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } sv.NextToken = ptr.String(jtv) } + case "ServiceDependents": if err := awsRestjson1_deserializeDocumentServiceDependents(&sv.ServiceDependents, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1180,6 +1196,7 @@ func awsRestjson1_deserializeOpDocumentListServiceDependentsOutput(v **ListServi } } + default: _, _ = key, value @@ -1338,10 +1355,12 @@ func awsRestjson1_deserializeOpDocumentListServiceLevelObjectivesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "SloSummaries": if err := awsRestjson1_deserializeDocumentServiceLevelObjectiveSummaries(&sv.SloSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1507,6 +1526,7 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1515,10 +1535,12 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } sv.NextToken = ptr.String(jtv) } + case "ServiceOperations": if err := awsRestjson1_deserializeDocumentServiceOperations(&sv.ServiceOperations, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1534,6 +1556,7 @@ func awsRestjson1_deserializeOpDocumentListServiceOperationsOutput(v **ListServi } } + default: _, _ = key, value @@ -1699,6 +1722,7 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1707,10 +1731,12 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "ServiceSummaries": if err := awsRestjson1_deserializeDocumentServiceSummaries(&sv.ServiceSummaries, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1726,6 +1752,7 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } } + default: _, _ = key, value @@ -1880,6 +1907,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2316,6 +2344,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceLevelObjectiveOutput(v **Upd if err := awsRestjson1_deserializeDocumentServiceLevelObjective(&sv.Slo, value); err != nil { return err } + default: _, _ = key, value @@ -2571,6 +2600,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2718,6 +2748,7 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } sv.Duration = ptr.Int32(int32(i64)) } + case "DurationUnit": if value != nil { jtv, ok := value.(string) @@ -2726,6 +2757,7 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } sv.DurationUnit = types.DurationUnit(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2741,6 +2773,7 @@ func awsRestjson1_deserializeDocumentCalendarInterval(v **types.CalendarInterval } } + default: _, _ = key, value @@ -2780,6 +2813,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2819,6 +2853,7 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2827,6 +2862,7 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2925,10 +2961,12 @@ func awsRestjson1_deserializeDocumentGoal(v **types.Goal, value interface{}) err } } + case "Interval": if err := awsRestjson1_deserializeDocumentInterval(&sv.Interval, value); err != nil { return err } + case "WarningThreshold": if value != nil { switch jtv := value.(type) { @@ -2962,6 +3000,7 @@ func awsRestjson1_deserializeDocumentGoal(v **types.Goal, value interface{}) err } } + default: _, _ = key, value @@ -3079,6 +3118,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3087,6 +3127,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3095,6 +3136,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -3168,6 +3210,7 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.AccountId = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -3176,6 +3219,7 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Expression = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3184,6 +3228,7 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3192,10 +3237,12 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Label = ptr.String(jtv) } + case "MetricStat": if err := awsRestjson1_deserializeDocumentMetricStat(&sv.MetricStat, value); err != nil { return err } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -3208,6 +3255,7 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.Period = ptr.Int32(int32(i64)) } + case "ReturnData": if value != nil { jtv, ok := value.(bool) @@ -3216,6 +3264,7 @@ func awsRestjson1_deserializeDocumentMetricDataQuery(v **types.MetricDataQuery, } sv.ReturnData = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3251,6 +3300,7 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3259,6 +3309,7 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.MetricName = ptr.String(jtv) } + case "MetricType": if value != nil { jtv, ok := value.(string) @@ -3267,6 +3318,7 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.MetricType = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3275,6 +3327,7 @@ func awsRestjson1_deserializeDocumentMetricReference(v **types.MetricReference, } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -3344,6 +3397,7 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -3356,6 +3410,7 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Period = ptr.Int32(int32(i64)) } + case "Stat": if value != nil { jtv, ok := value.(string) @@ -3364,6 +3419,7 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Stat = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -3372,6 +3428,7 @@ func awsRestjson1_deserializeDocumentMetricStat(v **types.MetricStat, value inte } sv.Unit = types.StandardUnit(jtv) } + default: _, _ = key, value @@ -3457,6 +3514,7 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(v **types } sv.ComparisonOperator = types.ServiceLevelIndicatorComparisonOperator(jtv) } + case "MetricThreshold": if value != nil { switch jtv := value.(type) { @@ -3490,10 +3548,12 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(v **types } } + case "RequestBasedSliMetric": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(&sv.RequestBasedSliMetric, value); err != nil { return err } + default: _, _ = key, value @@ -3529,6 +3589,7 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "MetricType": if value != nil { jtv, ok := value.(string) @@ -3537,10 +3598,12 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * } sv.MetricType = types.ServiceLevelIndicatorMetricType(jtv) } + case "MonitoredRequestCountMetric": if err := awsRestjson1_deserializeDocumentMonitoredRequestCountMetricDataQueries(&sv.MonitoredRequestCountMetric, value); err != nil { return err } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3549,10 +3612,12 @@ func awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicatorMetric(v * } sv.OperationName = ptr.String(jtv) } + case "TotalRequestCountMetric": if err := awsRestjson1_deserializeDocumentMetricDataQueries(&sv.TotalRequestCountMetric, value); err != nil { return err } + default: _, _ = key, value @@ -3592,6 +3657,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3600,6 +3666,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3608,6 +3675,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3651,6 +3719,7 @@ func awsRestjson1_deserializeDocumentRollingInterval(v **types.RollingInterval, } sv.Duration = ptr.Int32(int32(i64)) } + case "DurationUnit": if value != nil { jtv, ok := value.(string) @@ -3659,6 +3728,7 @@ func awsRestjson1_deserializeDocumentRollingInterval(v **types.RollingInterval, } sv.DurationUnit = types.DurationUnit(jtv) } + default: _, _ = key, value @@ -3694,18 +3764,22 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if err := awsRestjson1_deserializeDocumentAttributeMaps(&sv.AttributeMaps, value); err != nil { return err } + case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "LogGroupReferences": if err := awsRestjson1_deserializeDocumentLogGroupReferences(&sv.LogGroupReferences, value); err != nil { return err } + case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } + default: _, _ = key, value @@ -3775,6 +3849,7 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen if err := awsRestjson1_deserializeDocumentAttributes(&sv.DependencyKeyAttributes, value); err != nil { return err } + case "DependencyOperationName": if value != nil { jtv, ok := value.(string) @@ -3783,10 +3858,12 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen } sv.DependencyOperationName = ptr.String(jtv) } + case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3795,6 +3872,7 @@ func awsRestjson1_deserializeDocumentServiceDependency(v **types.ServiceDependen } sv.OperationName = ptr.String(jtv) } + default: _, _ = key, value @@ -3830,6 +3908,7 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent if err := awsRestjson1_deserializeDocumentAttributes(&sv.DependentKeyAttributes, value); err != nil { return err } + case "DependentOperationName": if value != nil { jtv, ok := value.(string) @@ -3838,10 +3917,12 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent } sv.DependentOperationName = ptr.String(jtv) } + case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -3850,6 +3931,7 @@ func awsRestjson1_deserializeDocumentServiceDependent(v **types.ServiceDependent } sv.OperationName = ptr.String(jtv) } + default: _, _ = key, value @@ -3923,6 +4005,7 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicator(v **types.ServiceLeve } sv.ComparisonOperator = types.ServiceLevelIndicatorComparisonOperator(jtv) } + case "MetricThreshold": if value != nil { switch jtv := value.(type) { @@ -3956,10 +4039,12 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicator(v **types.ServiceLeve } } + case "SliMetric": if err := awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(&sv.SliMetric, value); err != nil { return err } + default: _, _ = key, value @@ -3995,10 +4080,12 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "MetricDataQueries": if err := awsRestjson1_deserializeDocumentMetricDataQueries(&sv.MetricDataQueries, value); err != nil { return err } + case "MetricType": if value != nil { jtv, ok := value.(string) @@ -4007,6 +4094,7 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi } sv.MetricType = types.ServiceLevelIndicatorMetricType(jtv) } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -4015,6 +4103,7 @@ func awsRestjson1_deserializeDocumentServiceLevelIndicatorMetric(v **types.Servi } sv.OperationName = ptr.String(jtv) } + default: _, _ = key, value @@ -4054,6 +4143,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4069,6 +4159,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4077,6 +4168,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Description = ptr.String(jtv) } + case "EvaluationType": if value != nil { jtv, ok := value.(string) @@ -4085,10 +4177,12 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.EvaluationType = types.EvaluationType(jtv) } + case "Goal": if err := awsRestjson1_deserializeDocumentGoal(&sv.Goal, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4104,6 +4198,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4112,14 +4207,17 @@ func awsRestjson1_deserializeDocumentServiceLevelObjective(v **types.ServiceLeve } sv.Name = ptr.String(jtv) } + case "RequestBasedSli": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(&sv.RequestBasedSli, value); err != nil { return err } + case "Sli": if err := awsRestjson1_deserializeDocumentServiceLevelIndicator(&sv.Sli, value); err != nil { return err } + default: _, _ = key, value @@ -4159,6 +4257,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.Arn = ptr.String(jtv) } + case "Attainment": if value != nil { switch jtv := value.(type) { @@ -4192,6 +4291,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } } + case "BudgetRequestsRemaining": if value != nil { jtv, ok := value.(json.Number) @@ -4204,6 +4304,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetRequestsRemaining = ptr.Int32(int32(i64)) } + case "BudgetSecondsRemaining": if value != nil { jtv, ok := value.(json.Number) @@ -4216,6 +4317,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetSecondsRemaining = ptr.Int32(int32(i64)) } + case "BudgetStatus": if value != nil { jtv, ok := value.(string) @@ -4224,6 +4326,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.BudgetStatus = types.ServiceLevelObjectiveBudgetStatus(jtv) } + case "EvaluationType": if value != nil { jtv, ok := value.(string) @@ -4232,10 +4335,12 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.EvaluationType = types.EvaluationType(jtv) } + case "Goal": if err := awsRestjson1_deserializeDocumentGoal(&sv.Goal, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4244,14 +4349,17 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.Name = ptr.String(jtv) } + case "RequestBasedSli": if err := awsRestjson1_deserializeDocumentRequestBasedServiceLevelIndicator(&sv.RequestBasedSli, value); err != nil { return err } + case "Sli": if err := awsRestjson1_deserializeDocumentServiceLevelIndicator(&sv.Sli, value); err != nil { return err } + case "TotalBudgetRequests": if value != nil { jtv, ok := value.(json.Number) @@ -4264,6 +4372,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.TotalBudgetRequests = ptr.Int32(int32(i64)) } + case "TotalBudgetSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4276,6 +4385,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReport(v **types } sv.TotalBudgetSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4315,6 +4425,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.Arn = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -4323,6 +4434,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4331,6 +4443,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.ErrorMessage = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4339,6 +4452,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveBudgetReportError(v ** } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4480,6 +4594,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4495,10 +4610,12 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } } + case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4507,6 +4624,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.Name = ptr.String(jtv) } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -4515,6 +4633,7 @@ func awsRestjson1_deserializeDocumentServiceLevelObjectiveSummary(v **types.Serv } sv.OperationName = ptr.String(jtv) } + default: _, _ = key, value @@ -4550,6 +4669,7 @@ func awsRestjson1_deserializeDocumentServiceOperation(v **types.ServiceOperation if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4558,6 +4678,7 @@ func awsRestjson1_deserializeDocumentServiceOperation(v **types.ServiceOperation } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4631,6 +4752,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4700,14 +4822,17 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va if err := awsRestjson1_deserializeDocumentAttributeMaps(&sv.AttributeMaps, value); err != nil { return err } + case "KeyAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "MetricReferences": if err := awsRestjson1_deserializeDocumentMetricReferences(&sv.MetricReferences, value); err != nil { return err } + default: _, _ = key, value @@ -4747,6 +4872,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4755,6 +4881,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4828,6 +4955,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4867,6 +4995,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/appmesh/deserializers.go b/service/appmesh/deserializers.go index a8322587f9f..4151cec0580 100644 --- a/service/appmesh/deserializers.go +++ b/service/appmesh/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayRouteOutput(v **CreateGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } + default: _, _ = key, value @@ -364,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentCreateMeshOutput(v **CreateMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } + default: _, _ = key, value @@ -536,6 +538,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } + default: _, _ = key, value @@ -708,6 +711,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualGatewayOutput(v **CreateVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } + default: _, _ = key, value @@ -880,6 +884,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualNodeOutput(v **CreateVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } + default: _, _ = key, value @@ -1052,6 +1057,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualRouterOutput(v **CreateVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } + default: _, _ = key, value @@ -1224,6 +1230,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualServiceOutput(v **CreateVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } + default: _, _ = key, value @@ -1393,6 +1400,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGatewayRouteOutput(v **DeleteGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } + default: _, _ = key, value @@ -1562,6 +1570,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMeshOutput(v **DeleteMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } + default: _, _ = key, value @@ -1731,6 +1740,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } + default: _, _ = key, value @@ -1900,6 +1910,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualGatewayOutput(v **DeleteVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } + default: _, _ = key, value @@ -2069,6 +2080,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualNodeOutput(v **DeleteVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } + default: _, _ = key, value @@ -2238,6 +2250,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualRouterOutput(v **DeleteVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } + default: _, _ = key, value @@ -2407,6 +2420,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualServiceOutput(v **DeleteVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } + default: _, _ = key, value @@ -2573,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayRouteOutput(v **DescribeGa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } + default: _, _ = key, value @@ -2739,6 +2754,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMeshOutput(v **DescribeMeshOutput if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } + default: _, _ = key, value @@ -2905,6 +2921,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteOutput(v **DescribeRouteOutp if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } + default: _, _ = key, value @@ -3071,6 +3088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualGatewayOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } + default: _, _ = key, value @@ -3237,6 +3255,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualNodeOutput(v **DescribeVir if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } + default: _, _ = key, value @@ -3403,6 +3422,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualRouterOutput(v **DescribeV if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } + default: _, _ = key, value @@ -3569,6 +3589,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualServiceOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } + default: _, _ = key, value @@ -3735,6 +3756,7 @@ func awsRestjson1_deserializeOpDocumentListGatewayRoutesOutput(v **ListGatewayRo if err := awsRestjson1_deserializeDocumentGatewayRouteList(&sv.GatewayRoutes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3743,6 +3765,7 @@ func awsRestjson1_deserializeOpDocumentListGatewayRoutesOutput(v **ListGatewayRo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3909,6 +3932,7 @@ func awsRestjson1_deserializeOpDocumentListMeshesOutput(v **ListMeshesOutput, va if err := awsRestjson1_deserializeDocumentMeshList(&sv.Meshes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3917,6 +3941,7 @@ func awsRestjson1_deserializeOpDocumentListMeshesOutput(v **ListMeshesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4087,10 +4112,12 @@ func awsRestjson1_deserializeOpDocumentListRoutesOutput(v **ListRoutesOutput, va } sv.NextToken = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocumentRouteList(&sv.Routes, value); err != nil { return err } + default: _, _ = key, value @@ -4261,10 +4288,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4435,10 +4464,12 @@ func awsRestjson1_deserializeOpDocumentListVirtualGatewaysOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } + case "virtualGateways": if err := awsRestjson1_deserializeDocumentVirtualGatewayList(&sv.VirtualGateways, value); err != nil { return err } + default: _, _ = key, value @@ -4609,10 +4640,12 @@ func awsRestjson1_deserializeOpDocumentListVirtualNodesOutput(v **ListVirtualNod } sv.NextToken = ptr.String(jtv) } + case "virtualNodes": if err := awsRestjson1_deserializeDocumentVirtualNodeList(&sv.VirtualNodes, value); err != nil { return err } + default: _, _ = key, value @@ -4783,10 +4816,12 @@ func awsRestjson1_deserializeOpDocumentListVirtualRoutersOutput(v **ListVirtualR } sv.NextToken = ptr.String(jtv) } + case "virtualRouters": if err := awsRestjson1_deserializeDocumentVirtualRouterList(&sv.VirtualRouters, value); err != nil { return err } + default: _, _ = key, value @@ -4957,10 +4992,12 @@ func awsRestjson1_deserializeOpDocumentListVirtualServicesOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } + case "virtualServices": if err := awsRestjson1_deserializeDocumentVirtualServiceList(&sv.VirtualServices, value); err != nil { return err } + default: _, _ = key, value @@ -5342,6 +5379,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayRouteOutput(v **UpdateGatewa if err := awsRestjson1_deserializeDocumentGatewayRouteData(&sv.GatewayRoute, value); err != nil { return err } + default: _, _ = key, value @@ -5511,6 +5549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMeshOutput(v **UpdateMeshOutput, va if err := awsRestjson1_deserializeDocumentMeshData(&sv.Mesh, value); err != nil { return err } + default: _, _ = key, value @@ -5683,6 +5722,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, if err := awsRestjson1_deserializeDocumentRouteData(&sv.Route, value); err != nil { return err } + default: _, _ = key, value @@ -5855,6 +5895,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualGatewayOutput(v **UpdateVirt if err := awsRestjson1_deserializeDocumentVirtualGatewayData(&sv.VirtualGateway, value); err != nil { return err } + default: _, _ = key, value @@ -6027,6 +6068,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualNodeOutput(v **UpdateVirtual if err := awsRestjson1_deserializeDocumentVirtualNodeData(&sv.VirtualNode, value); err != nil { return err } + default: _, _ = key, value @@ -6199,6 +6241,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualRouterOutput(v **UpdateVirtu if err := awsRestjson1_deserializeDocumentVirtualRouterData(&sv.VirtualRouter, value); err != nil { return err } + default: _, _ = key, value @@ -6371,6 +6414,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVirtualServiceOutput(v **UpdateVirt if err := awsRestjson1_deserializeDocumentVirtualServiceData(&sv.VirtualService, value); err != nil { return err } + default: _, _ = key, value @@ -6810,6 +6854,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttribute(v **types.AwsC } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6818,6 +6863,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttribute(v **types.AwsC } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6887,6 +6933,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl if err := awsRestjson1_deserializeDocumentAwsCloudMapInstanceAttributes(&sv.Attributes, value); err != nil { return err } + case "ipPreference": if value != nil { jtv, ok := value.(string) @@ -6895,6 +6942,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.IpPreference = types.IpPreference(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6903,6 +6951,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.NamespaceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -6911,6 +6960,7 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6986,6 +7036,7 @@ func awsRestjson1_deserializeDocumentBackendDefaults(v **types.BackendDefaults, if err := awsRestjson1_deserializeDocumentClientPolicy(&sv.ClientPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -7057,6 +7108,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7128,6 +7180,7 @@ func awsRestjson1_deserializeDocumentClientPolicy(v **types.ClientPolicy, value if err := awsRestjson1_deserializeDocumentClientPolicyTls(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -7163,6 +7216,7 @@ func awsRestjson1_deserializeDocumentClientPolicyTls(v **types.ClientPolicyTls, if err := awsRestjson1_deserializeDocumentClientTlsCertificate(&sv.Certificate, value); err != nil { return err } + case "enforce": if value != nil { jtv, ok := value.(bool) @@ -7171,14 +7225,17 @@ func awsRestjson1_deserializeDocumentClientPolicyTls(v **types.ClientPolicyTls, } sv.Enforce = ptr.Bool(jtv) } + case "ports": if err := awsRestjson1_deserializeDocumentPortSet(&sv.Ports, value); err != nil { return err } + case "validation": if err := awsRestjson1_deserializeDocumentTlsValidationContext(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -7268,6 +7325,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7307,6 +7365,7 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.Hostname = ptr.String(jtv) } + case "ipPreference": if value != nil { jtv, ok := value.(string) @@ -7315,6 +7374,7 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.IpPreference = types.IpPreference(jtv) } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -7323,6 +7383,7 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis } sv.ResponseType = types.DnsResponseType(jtv) } + default: _, _ = key, value @@ -7362,6 +7423,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.DurationUnit(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -7374,6 +7436,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -7413,6 +7476,7 @@ func awsRestjson1_deserializeDocumentEgressFilter(v **types.EgressFilter, value } sv.Type = types.EgressFilterType(jtv) } + default: _, _ = key, value @@ -7448,6 +7512,7 @@ func awsRestjson1_deserializeDocumentFileAccessLog(v **types.FileAccessLog, valu if err := awsRestjson1_deserializeDocumentLoggingFormat(&sv.Format, value); err != nil { return err } + case "path": if value != nil { jtv, ok := value.(string) @@ -7456,6 +7521,7 @@ func awsRestjson1_deserializeDocumentFileAccessLog(v **types.FileAccessLog, valu } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -7495,6 +7561,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7534,6 +7601,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.GatewayRouteName = ptr.String(jtv) } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -7542,18 +7610,22 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentGatewayRouteSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentGatewayRouteStatus(&sv.Status, value); err != nil { return err } + case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -7562,6 +7634,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteData(v **types.GatewayRouteData } sv.VirtualGatewayName = ptr.String(jtv) } + default: _, _ = key, value @@ -7601,6 +7674,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(v **types.Gateway } sv.Exact = ptr.String(jtv) } + case "suffix": if value != nil { jtv, ok := value.(string) @@ -7609,6 +7683,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(v **types.Gateway } sv.Suffix = ptr.String(jtv) } + default: _, _ = key, value @@ -7648,6 +7723,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(v **types.Gatew } sv.DefaultTargetHostname = types.DefaultGatewayRouteRewrite(jtv) } + default: _, _ = key, value @@ -7721,6 +7797,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -7736,6 +7813,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } } + case "gatewayRouteName": if value != nil { jtv, ok := value.(string) @@ -7744,6 +7822,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.GatewayRouteName = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7759,6 +7838,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -7767,6 +7847,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -7775,6 +7856,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -7783,6 +7865,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -7795,6 +7878,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.Version = ptr.Int64(i64) } + case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -7803,6 +7887,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteRef(v **types.GatewayRouteRef, } sv.VirtualGatewayName = ptr.String(jtv) } + default: _, _ = key, value @@ -7838,14 +7923,17 @@ func awsRestjson1_deserializeDocumentGatewayRouteSpec(v **types.GatewayRouteSpec if err := awsRestjson1_deserializeDocumentGrpcGatewayRoute(&sv.GrpcRoute, value); err != nil { return err } + case "http2Route": if err := awsRestjson1_deserializeDocumentHttpGatewayRoute(&sv.Http2Route, value); err != nil { return err } + case "httpRoute": if err := awsRestjson1_deserializeDocumentHttpGatewayRoute(&sv.HttpRoute, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7858,6 +7946,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteSpec(v **types.GatewayRouteSpec } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7897,6 +7986,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteStatus(v **types.GatewayRouteSt } sv.Status = types.GatewayRouteStatusCode(jtv) } + default: _, _ = key, value @@ -7940,10 +8030,12 @@ func awsRestjson1_deserializeDocumentGatewayRouteTarget(v **types.GatewayRouteTa } sv.Port = ptr.Int32(int32(i64)) } + case "virtualService": if err := awsRestjson1_deserializeDocumentGatewayRouteVirtualService(&sv.VirtualService, value); err != nil { return err } + default: _, _ = key, value @@ -7983,6 +8075,7 @@ func awsRestjson1_deserializeDocumentGatewayRouteVirtualService(v **types.Gatewa } sv.VirtualServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -8018,10 +8111,12 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRoute(v **types.GrpcGatewayRoute if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteAction(&sv.Action, value); err != nil { return err } + case "match": if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(&sv.Match, value); err != nil { return err } + default: _, _ = key, value @@ -8057,10 +8152,12 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteAction(v **types.GrpcGatewa if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteRewrite(&sv.Rewrite, value); err != nil { return err } + case "target": if err := awsRestjson1_deserializeDocumentGatewayRouteTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -8096,10 +8193,12 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(&sv.Hostname, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadataList(&sv.Metadata, value); err != nil { return err } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8112,6 +8211,7 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway } sv.Port = ptr.Int32(int32(i64)) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -8120,6 +8220,7 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMatch(v **types.GrpcGateway } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -8159,10 +8260,12 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadata(v **types.GrpcGate } sv.Invert = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentGrpcMetadataMatchMethod(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8171,6 +8274,7 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteMetadata(v **types.GrpcGate } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8240,6 +8344,7 @@ func awsRestjson1_deserializeDocumentGrpcGatewayRouteRewrite(v **types.GrpcGatew if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(&sv.Hostname, value); err != nil { return err } + default: _, _ = key, value @@ -8363,10 +8468,12 @@ func awsRestjson1_deserializeDocumentGrpcRetryPolicy(v **types.GrpcRetryPolicy, if err := awsRestjson1_deserializeDocumentGrpcRetryPolicyEvents(&sv.GrpcRetryEvents, value); err != nil { return err } + case "httpRetryEvents": if err := awsRestjson1_deserializeDocumentHttpRetryPolicyEvents(&sv.HttpRetryEvents, value); err != nil { return err } + case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -8379,14 +8486,17 @@ func awsRestjson1_deserializeDocumentGrpcRetryPolicy(v **types.GrpcRetryPolicy, } sv.MaxRetries = ptr.Int64(i64) } + case "perRetryTimeout": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRetryTimeout, value); err != nil { return err } + case "tcpRetryEvents": if err := awsRestjson1_deserializeDocumentTcpRetryPolicyEvents(&sv.TcpRetryEvents, value); err != nil { return err } + default: _, _ = key, value @@ -8458,18 +8568,22 @@ func awsRestjson1_deserializeDocumentGrpcRoute(v **types.GrpcRoute, value interf if err := awsRestjson1_deserializeDocumentGrpcRouteAction(&sv.Action, value); err != nil { return err } + case "match": if err := awsRestjson1_deserializeDocumentGrpcRouteMatch(&sv.Match, value); err != nil { return err } + case "retryPolicy": if err := awsRestjson1_deserializeDocumentGrpcRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentGrpcTimeout(&sv.Timeout, value); err != nil { return err } + default: _, _ = key, value @@ -8505,6 +8619,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteAction(v **types.GrpcRouteAction, if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } + default: _, _ = key, value @@ -8540,6 +8655,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va if err := awsRestjson1_deserializeDocumentGrpcRouteMetadataList(&sv.Metadata, value); err != nil { return err } + case "methodName": if value != nil { jtv, ok := value.(string) @@ -8548,6 +8664,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.MethodName = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8560,6 +8677,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.Port = ptr.Int32(int32(i64)) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -8568,6 +8686,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteMatch(v **types.GrpcRouteMatch, va } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -8607,10 +8726,12 @@ func awsRestjson1_deserializeDocumentGrpcRouteMetadata(v **types.GrpcRouteMetada } sv.Invert = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentGrpcRouteMetadataMatchMethod(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8619,6 +8740,7 @@ func awsRestjson1_deserializeDocumentGrpcRouteMetadata(v **types.GrpcRouteMetada } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8776,10 +8898,12 @@ func awsRestjson1_deserializeDocumentGrpcTimeout(v **types.GrpcTimeout, value in if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } + case "perRequest": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRequest, value); err != nil { return err } + default: _, _ = key, value @@ -8911,6 +9035,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.HealthyThreshold = ptr.Int32(int32(i64)) } + case "intervalMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8923,6 +9048,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.IntervalMillis = ptr.Int64(i64) } + case "path": if value != nil { jtv, ok := value.(string) @@ -8931,6 +9057,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Path = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8943,6 +9070,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -8951,6 +9079,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.Protocol = types.PortProtocol(jtv) } + case "timeoutMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8963,6 +9092,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.TimeoutMillis = ptr.Int64(i64) } + case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -8975,6 +9105,7 @@ func awsRestjson1_deserializeDocumentHealthCheckPolicy(v **types.HealthCheckPoli } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9010,10 +9141,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoute(v **types.HttpGatewayRoute if err := awsRestjson1_deserializeDocumentHttpGatewayRouteAction(&sv.Action, value); err != nil { return err } + case "match": if err := awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(&sv.Match, value); err != nil { return err } + default: _, _ = key, value @@ -9049,10 +9182,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteAction(v **types.HttpGatewa if err := awsRestjson1_deserializeDocumentHttpGatewayRouteRewrite(&sv.Rewrite, value); err != nil { return err } + case "target": if err := awsRestjson1_deserializeDocumentGatewayRouteTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -9092,10 +9227,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteHeader(v **types.HttpGatewa } sv.Invert = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchMethod(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9104,6 +9241,7 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteHeader(v **types.HttpGatewa } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9173,10 +9311,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway if err := awsRestjson1_deserializeDocumentHttpGatewayRouteHeaders(&sv.Headers, value); err != nil { return err } + case "hostname": if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameMatch(&sv.Hostname, value); err != nil { return err } + case "method": if value != nil { jtv, ok := value.(string) @@ -9185,10 +9325,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Method = types.HttpMethod(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentHttpPathMatch(&sv.Path, value); err != nil { return err } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9201,6 +9343,7 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Port = ptr.Int32(int32(i64)) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -9209,10 +9352,12 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteMatch(v **types.HttpGateway } sv.Prefix = ptr.String(jtv) } + case "queryParameters": if err := awsRestjson1_deserializeDocumentHttpQueryParameters(&sv.QueryParameters, value); err != nil { return err } + default: _, _ = key, value @@ -9252,6 +9397,7 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePathRewrite(v **types.HttpG } sv.Exact = ptr.String(jtv) } + default: _, _ = key, value @@ -9291,6 +9437,7 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(v **types.Htt } sv.DefaultPrefix = types.DefaultGatewayRouteRewrite(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9299,6 +9446,7 @@ func awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(v **types.Htt } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9334,14 +9482,17 @@ func awsRestjson1_deserializeDocumentHttpGatewayRouteRewrite(v **types.HttpGatew if err := awsRestjson1_deserializeDocumentGatewayRouteHostnameRewrite(&sv.Hostname, value); err != nil { return err } + case "path": if err := awsRestjson1_deserializeDocumentHttpGatewayRoutePathRewrite(&sv.Path, value); err != nil { return err } + case "prefix": if err := awsRestjson1_deserializeDocumentHttpGatewayRoutePrefixRewrite(&sv.Prefix, value); err != nil { return err } + default: _, _ = key, value @@ -9381,6 +9532,7 @@ func awsRestjson1_deserializeDocumentHttpPathMatch(v **types.HttpPathMatch, valu } sv.Exact = ptr.String(jtv) } + case "regex": if value != nil { jtv, ok := value.(string) @@ -9389,6 +9541,7 @@ func awsRestjson1_deserializeDocumentHttpPathMatch(v **types.HttpPathMatch, valu } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -9424,6 +9577,7 @@ func awsRestjson1_deserializeDocumentHttpQueryParameter(v **types.HttpQueryParam if err := awsRestjson1_deserializeDocumentQueryParameterMatch(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9432,6 +9586,7 @@ func awsRestjson1_deserializeDocumentHttpQueryParameter(v **types.HttpQueryParam } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9501,6 +9656,7 @@ func awsRestjson1_deserializeDocumentHttpRetryPolicy(v **types.HttpRetryPolicy, if err := awsRestjson1_deserializeDocumentHttpRetryPolicyEvents(&sv.HttpRetryEvents, value); err != nil { return err } + case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -9513,14 +9669,17 @@ func awsRestjson1_deserializeDocumentHttpRetryPolicy(v **types.HttpRetryPolicy, } sv.MaxRetries = ptr.Int64(i64) } + case "perRetryTimeout": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRetryTimeout, value); err != nil { return err } + case "tcpRetryEvents": if err := awsRestjson1_deserializeDocumentTcpRetryPolicyEvents(&sv.TcpRetryEvents, value); err != nil { return err } + default: _, _ = key, value @@ -9592,18 +9751,22 @@ func awsRestjson1_deserializeDocumentHttpRoute(v **types.HttpRoute, value interf if err := awsRestjson1_deserializeDocumentHttpRouteAction(&sv.Action, value); err != nil { return err } + case "match": if err := awsRestjson1_deserializeDocumentHttpRouteMatch(&sv.Match, value); err != nil { return err } + case "retryPolicy": if err := awsRestjson1_deserializeDocumentHttpRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentHttpTimeout(&sv.Timeout, value); err != nil { return err } + default: _, _ = key, value @@ -9639,6 +9802,7 @@ func awsRestjson1_deserializeDocumentHttpRouteAction(v **types.HttpRouteAction, if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } + default: _, _ = key, value @@ -9678,10 +9842,12 @@ func awsRestjson1_deserializeDocumentHttpRouteHeader(v **types.HttpRouteHeader, } sv.Invert = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchMethod(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9690,6 +9856,7 @@ func awsRestjson1_deserializeDocumentHttpRouteHeader(v **types.HttpRouteHeader, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9759,6 +9926,7 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va if err := awsRestjson1_deserializeDocumentHttpRouteHeaders(&sv.Headers, value); err != nil { return err } + case "method": if value != nil { jtv, ok := value.(string) @@ -9767,10 +9935,12 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Method = types.HttpMethod(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentHttpPathMatch(&sv.Path, value); err != nil { return err } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -9783,6 +9953,7 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Port = ptr.Int32(int32(i64)) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -9791,10 +9962,12 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Prefix = ptr.String(jtv) } + case "queryParameters": if err := awsRestjson1_deserializeDocumentHttpQueryParameters(&sv.QueryParameters, value); err != nil { return err } + case "scheme": if value != nil { jtv, ok := value.(string) @@ -9803,6 +9976,7 @@ func awsRestjson1_deserializeDocumentHttpRouteMatch(v **types.HttpRouteMatch, va } sv.Scheme = types.HttpScheme(jtv) } + default: _, _ = key, value @@ -9838,10 +10012,12 @@ func awsRestjson1_deserializeDocumentHttpTimeout(v **types.HttpTimeout, value in if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } + case "perRequest": if err := awsRestjson1_deserializeDocumentDuration(&sv.PerRequest, value); err != nil { return err } + default: _, _ = key, value @@ -9881,6 +10057,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9954,6 +10131,7 @@ func awsRestjson1_deserializeDocumentJsonFormatRef(v **types.JsonFormatRef, valu } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9962,6 +10140,7 @@ func awsRestjson1_deserializeDocumentJsonFormatRef(v **types.JsonFormatRef, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10001,6 +10180,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10036,26 +10216,32 @@ func awsRestjson1_deserializeDocumentListener(v **types.Listener, value interfac if err := awsRestjson1_deserializeDocumentVirtualNodeConnectionPool(&sv.ConnectionPool, value); err != nil { return err } + case "healthCheck": if err := awsRestjson1_deserializeDocumentHealthCheckPolicy(&sv.HealthCheck, value); err != nil { return err } + case "outlierDetection": if err := awsRestjson1_deserializeDocumentOutlierDetection(&sv.OutlierDetection, value); err != nil { return err } + case "portMapping": if err := awsRestjson1_deserializeDocumentPortMapping(&sv.PortMapping, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentListenerTimeout(&sv.Timeout, value); err != nil { return err } + case "tls": if err := awsRestjson1_deserializeDocumentListenerTls(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -10195,6 +10381,7 @@ func awsRestjson1_deserializeDocumentListenerTls(v **types.ListenerTls, value in if err := awsRestjson1_deserializeDocumentListenerTlsCertificate(&sv.Certificate, value); err != nil { return err } + case "mode": if value != nil { jtv, ok := value.(string) @@ -10203,10 +10390,12 @@ func awsRestjson1_deserializeDocumentListenerTls(v **types.ListenerTls, value in } sv.Mode = types.ListenerTlsMode(jtv) } + case "validation": if err := awsRestjson1_deserializeDocumentListenerTlsValidationContext(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -10246,6 +10435,7 @@ func awsRestjson1_deserializeDocumentListenerTlsAcmCertificate(v **types.Listene } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10345,6 +10535,7 @@ func awsRestjson1_deserializeDocumentListenerTlsFileCertificate(v **types.Listen } sv.CertificateChain = ptr.String(jtv) } + case "privateKey": if value != nil { jtv, ok := value.(string) @@ -10353,6 +10544,7 @@ func awsRestjson1_deserializeDocumentListenerTlsFileCertificate(v **types.Listen } sv.PrivateKey = ptr.String(jtv) } + default: _, _ = key, value @@ -10392,6 +10584,7 @@ func awsRestjson1_deserializeDocumentListenerTlsSdsCertificate(v **types.Listene } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -10427,10 +10620,12 @@ func awsRestjson1_deserializeDocumentListenerTlsValidationContext(v **types.List if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "trust": if err := awsRestjson1_deserializeDocumentListenerTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } + default: _, _ = key, value @@ -10516,6 +10711,7 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentAccessLog(&sv.AccessLog, value); err != nil { return err } + default: _, _ = key, value @@ -10609,6 +10805,7 @@ func awsRestjson1_deserializeDocumentMatchRange(v **types.MatchRange, value inte } sv.End = ptr.Int64(i64) } + case "start": if value != nil { jtv, ok := value.(json.Number) @@ -10621,6 +10818,7 @@ func awsRestjson1_deserializeDocumentMatchRange(v **types.MatchRange, value inte } sv.Start = ptr.Int64(i64) } + default: _, _ = key, value @@ -10660,18 +10858,22 @@ func awsRestjson1_deserializeDocumentMeshData(v **types.MeshData, value interfac } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentMeshSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentMeshStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -10745,6 +10947,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10760,6 +10963,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10775,6 +10979,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -10783,6 +10988,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -10791,6 +10997,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -10799,6 +11006,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -10811,6 +11019,7 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ } sv.Version = ptr.Int64(i64) } + default: _, _ = key, value @@ -10850,6 +11059,7 @@ func awsRestjson1_deserializeDocumentMeshServiceDiscovery(v **types.MeshServiceD } sv.IpPreference = types.IpPreference(jtv) } + default: _, _ = key, value @@ -10885,10 +11095,12 @@ func awsRestjson1_deserializeDocumentMeshSpec(v **types.MeshSpec, value interfac if err := awsRestjson1_deserializeDocumentEgressFilter(&sv.EgressFilter, value); err != nil { return err } + case "serviceDiscovery": if err := awsRestjson1_deserializeDocumentMeshServiceDiscovery(&sv.ServiceDiscovery, value); err != nil { return err } + default: _, _ = key, value @@ -10928,6 +11140,7 @@ func awsRestjson1_deserializeDocumentMeshStatus(v **types.MeshStatus, value inte } sv.Status = types.MeshStatusCode(jtv) } + default: _, _ = key, value @@ -10967,6 +11180,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11002,10 +11216,12 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection if err := awsRestjson1_deserializeDocumentDuration(&sv.BaseEjectionDuration, value); err != nil { return err } + case "interval": if err := awsRestjson1_deserializeDocumentDuration(&sv.Interval, value); err != nil { return err } + case "maxEjectionPercent": if value != nil { jtv, ok := value.(json.Number) @@ -11018,6 +11234,7 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection } sv.MaxEjectionPercent = ptr.Int32(int32(i64)) } + case "maxServerErrors": if value != nil { jtv, ok := value.(json.Number) @@ -11030,6 +11247,7 @@ func awsRestjson1_deserializeDocumentOutlierDetection(v **types.OutlierDetection } sv.MaxServerErrors = ptr.Int64(i64) } + default: _, _ = key, value @@ -11073,6 +11291,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -11081,6 +11300,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Protocol = types.PortProtocol(jtv) } + default: _, _ = key, value @@ -11160,6 +11380,7 @@ func awsRestjson1_deserializeDocumentQueryParameterMatch(v **types.QueryParamete } sv.Exact = ptr.String(jtv) } + default: _, _ = key, value @@ -11199,6 +11420,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11238,6 +11460,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11253,6 +11476,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11268,6 +11492,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -11276,6 +11501,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -11284,6 +11510,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.ResourceOwner = ptr.String(jtv) } + case "uid": if value != nil { jtv, ok := value.(string) @@ -11292,6 +11519,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Uid = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11304,6 +11532,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Version = ptr.Int64(i64) } + default: _, _ = key, value @@ -11343,10 +11572,12 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "routeName": if value != nil { jtv, ok := value.(string) @@ -11355,14 +11586,17 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.RouteName = ptr.String(jtv) } + case "spec": if err := awsRestjson1_deserializeDocumentRouteSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentRouteStatus(&sv.Status, value); err != nil { return err } + case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -11371,6 +11605,7 @@ func awsRestjson1_deserializeDocumentRouteData(v **types.RouteData, value interf } sv.VirtualRouterName = ptr.String(jtv) } + default: _, _ = key, value @@ -11444,6 +11679,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11459,6 +11695,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11474,6 +11711,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -11482,6 +11720,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -11490,6 +11729,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -11498,6 +11738,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.ResourceOwner = ptr.String(jtv) } + case "routeName": if value != nil { jtv, ok := value.(string) @@ -11506,6 +11747,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.RouteName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11518,6 +11760,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.Version = ptr.Int64(i64) } + case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -11526,6 +11769,7 @@ func awsRestjson1_deserializeDocumentRouteRef(v **types.RouteRef, value interfac } sv.VirtualRouterName = ptr.String(jtv) } + default: _, _ = key, value @@ -11561,14 +11805,17 @@ func awsRestjson1_deserializeDocumentRouteSpec(v **types.RouteSpec, value interf if err := awsRestjson1_deserializeDocumentGrpcRoute(&sv.GrpcRoute, value); err != nil { return err } + case "http2Route": if err := awsRestjson1_deserializeDocumentHttpRoute(&sv.Http2Route, value); err != nil { return err } + case "httpRoute": if err := awsRestjson1_deserializeDocumentHttpRoute(&sv.HttpRoute, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11581,10 +11828,12 @@ func awsRestjson1_deserializeDocumentRouteSpec(v **types.RouteSpec, value interf } sv.Priority = ptr.Int32(int32(i64)) } + case "tcpRoute": if err := awsRestjson1_deserializeDocumentTcpRoute(&sv.TcpRoute, value); err != nil { return err } + default: _, _ = key, value @@ -11624,6 +11873,7 @@ func awsRestjson1_deserializeDocumentRouteStatus(v **types.RouteStatus, value in } sv.Status = types.RouteStatusCode(jtv) } + default: _, _ = key, value @@ -11713,6 +11963,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11784,6 +12035,7 @@ func awsRestjson1_deserializeDocumentSubjectAlternativeNameMatchers(v **types.Su if err := awsRestjson1_deserializeDocumentSubjectAlternativeNameList(&sv.Exact, value); err != nil { return err } + default: _, _ = key, value @@ -11819,6 +12071,7 @@ func awsRestjson1_deserializeDocumentSubjectAlternativeNames(v **types.SubjectAl if err := awsRestjson1_deserializeDocumentSubjectAlternativeNameMatchers(&sv.Match, value); err != nil { return err } + default: _, _ = key, value @@ -11892,6 +12145,7 @@ func awsRestjson1_deserializeDocumentTagRef(v **types.TagRef, value interface{}) } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11900,6 +12154,7 @@ func awsRestjson1_deserializeDocumentTagRef(v **types.TagRef, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11971,14 +12226,17 @@ func awsRestjson1_deserializeDocumentTcpRoute(v **types.TcpRoute, value interfac if err := awsRestjson1_deserializeDocumentTcpRouteAction(&sv.Action, value); err != nil { return err } + case "match": if err := awsRestjson1_deserializeDocumentTcpRouteMatch(&sv.Match, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentTcpTimeout(&sv.Timeout, value); err != nil { return err } + default: _, _ = key, value @@ -12014,6 +12272,7 @@ func awsRestjson1_deserializeDocumentTcpRouteAction(v **types.TcpRouteAction, va if err := awsRestjson1_deserializeDocumentWeightedTargets(&sv.WeightedTargets, value); err != nil { return err } + default: _, _ = key, value @@ -12057,6 +12316,7 @@ func awsRestjson1_deserializeDocumentTcpRouteMatch(v **types.TcpRouteMatch, valu } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12092,6 +12352,7 @@ func awsRestjson1_deserializeDocumentTcpTimeout(v **types.TcpTimeout, value inte if err := awsRestjson1_deserializeDocumentDuration(&sv.Idle, value); err != nil { return err } + default: _, _ = key, value @@ -12127,10 +12388,12 @@ func awsRestjson1_deserializeDocumentTlsValidationContext(v **types.TlsValidatio if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "trust": if err := awsRestjson1_deserializeDocumentTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } + default: _, _ = key, value @@ -12166,6 +12429,7 @@ func awsRestjson1_deserializeDocumentTlsValidationContextAcmTrust(v **types.TlsV if err := awsRestjson1_deserializeDocumentCertificateAuthorityArns(&sv.CertificateAuthorityArns, value); err != nil { return err } + default: _, _ = key, value @@ -12205,6 +12469,7 @@ func awsRestjson1_deserializeDocumentTlsValidationContextFileTrust(v **types.Tls } sv.CertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -12244,6 +12509,7 @@ func awsRestjson1_deserializeDocumentTlsValidationContextSdsTrust(v **types.TlsV } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -12343,6 +12609,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12382,6 +12649,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12457,6 +12725,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayBackendDefaults(v **types.Vir if err := awsRestjson1_deserializeDocumentVirtualGatewayClientPolicy(&sv.ClientPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12528,6 +12797,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicy(v **types.Virtua if err := awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -12563,6 +12833,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(v **types.Vir if err := awsRestjson1_deserializeDocumentVirtualGatewayClientTlsCertificate(&sv.Certificate, value); err != nil { return err } + case "enforce": if value != nil { jtv, ok := value.(bool) @@ -12571,14 +12842,17 @@ func awsRestjson1_deserializeDocumentVirtualGatewayClientPolicyTls(v **types.Vir } sv.Enforce = ptr.Bool(jtv) } + case "ports": if err := awsRestjson1_deserializeDocumentPortSet(&sv.Ports, value); err != nil { return err } + case "validation": if err := awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContext(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -12728,18 +13002,22 @@ func awsRestjson1_deserializeDocumentVirtualGatewayData(v **types.VirtualGateway } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentVirtualGatewaySpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentVirtualGatewayStatus(&sv.Status, value); err != nil { return err } + case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -12748,6 +13026,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayData(v **types.VirtualGateway } sv.VirtualGatewayName = ptr.String(jtv) } + default: _, _ = key, value @@ -12783,6 +13062,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayFileAccessLog(v **types.Virtu if err := awsRestjson1_deserializeDocumentLoggingFormat(&sv.Format, value); err != nil { return err } + case "path": if value != nil { jtv, ok := value.(string) @@ -12791,6 +13071,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayFileAccessLog(v **types.Virtu } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -12834,6 +13115,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayGrpcConnectionPool(v **types. } sv.MaxRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12877,6 +13159,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.HealthyThreshold = ptr.Int32(int32(i64)) } + case "intervalMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12889,6 +13172,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.IntervalMillis = ptr.Int64(i64) } + case "path": if value != nil { jtv, ok := value.(string) @@ -12897,6 +13181,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Path = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12909,6 +13194,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -12917,6 +13203,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.Protocol = types.VirtualGatewayPortProtocol(jtv) } + case "timeoutMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12929,6 +13216,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.TimeoutMillis = ptr.Int64(i64) } + case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -12941,6 +13229,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(v **types.V } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12984,6 +13273,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttp2ConnectionPool(v **types } sv.MaxRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13027,6 +13317,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttpConnectionPool(v **types. } sv.MaxConnections = ptr.Int32(int32(i64)) } + case "maxPendingRequests": if value != nil { jtv, ok := value.(json.Number) @@ -13039,6 +13330,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayHttpConnectionPool(v **types. } sv.MaxPendingRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13108,18 +13400,22 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListener(v **types.VirtualGat if err := awsRestjson1_deserializeDocumentVirtualGatewayConnectionPool(&sv.ConnectionPool, value); err != nil { return err } + case "healthCheck": if err := awsRestjson1_deserializeDocumentVirtualGatewayHealthCheckPolicy(&sv.HealthCheck, value); err != nil { return err } + case "portMapping": if err := awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(&sv.PortMapping, value); err != nil { return err } + case "tls": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -13189,6 +13485,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(v **types.Virtual if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsCertificate(&sv.Certificate, value); err != nil { return err } + case "mode": if value != nil { jtv, ok := value.(string) @@ -13197,10 +13494,12 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTls(v **types.Virtual } sv.Mode = types.VirtualGatewayListenerTlsMode(jtv) } + case "validation": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContext(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -13240,6 +13539,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsAcmCertificate(v * } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13339,6 +13639,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsFileCertificate(v } sv.CertificateChain = ptr.String(jtv) } + case "privateKey": if value != nil { jtv, ok := value.(string) @@ -13347,6 +13648,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsFileCertificate(v } sv.PrivateKey = ptr.String(jtv) } + default: _, _ = key, value @@ -13386,6 +13688,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsSdsCertificate(v * } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -13421,10 +13724,12 @@ func awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContext( if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "trust": if err := awsRestjson1_deserializeDocumentVirtualGatewayListenerTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } + default: _, _ = key, value @@ -13510,6 +13815,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayLogging(v **types.VirtualGate if err := awsRestjson1_deserializeDocumentVirtualGatewayAccessLog(&sv.AccessLog, value); err != nil { return err } + default: _, _ = key, value @@ -13553,6 +13859,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(v **types.Virtual } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13561,6 +13868,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayPortMapping(v **types.Virtual } sv.Protocol = types.VirtualGatewayPortProtocol(jtv) } + default: _, _ = key, value @@ -13600,6 +13908,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13615,6 +13924,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13630,6 +13940,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -13638,6 +13949,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -13646,6 +13958,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -13654,6 +13967,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -13666,6 +13980,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.Version = ptr.Int64(i64) } + case "virtualGatewayName": if value != nil { jtv, ok := value.(string) @@ -13674,6 +13989,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayRef(v **types.VirtualGatewayR } sv.VirtualGatewayName = ptr.String(jtv) } + default: _, _ = key, value @@ -13709,14 +14025,17 @@ func awsRestjson1_deserializeDocumentVirtualGatewaySpec(v **types.VirtualGateway if err := awsRestjson1_deserializeDocumentVirtualGatewayBackendDefaults(&sv.BackendDefaults, value); err != nil { return err } + case "listeners": if err := awsRestjson1_deserializeDocumentVirtualGatewayListeners(&sv.Listeners, value); err != nil { return err } + case "logging": if err := awsRestjson1_deserializeDocumentVirtualGatewayLogging(&sv.Logging, value); err != nil { return err } + default: _, _ = key, value @@ -13756,6 +14075,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayStatus(v **types.VirtualGatew } sv.Status = types.VirtualGatewayStatusCode(jtv) } + default: _, _ = key, value @@ -13791,10 +14111,12 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContext(v **type if err := awsRestjson1_deserializeDocumentSubjectAlternativeNames(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "trust": if err := awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextTrust(&sv.Trust, value); err != nil { return err } + default: _, _ = key, value @@ -13830,6 +14152,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextAcmTrust( if err := awsRestjson1_deserializeDocumentVirtualGatewayCertificateAuthorityArns(&sv.CertificateAuthorityArns, value); err != nil { return err } + default: _, _ = key, value @@ -13869,6 +14192,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextFileTrust } sv.CertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -13908,6 +14232,7 @@ func awsRestjson1_deserializeDocumentVirtualGatewayTlsValidationContextSdsTrust( } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -14077,18 +14402,22 @@ func awsRestjson1_deserializeDocumentVirtualNodeData(v **types.VirtualNodeData, } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentVirtualNodeSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentVirtualNodeStatus(&sv.Status, value); err != nil { return err } + case "virtualNodeName": if value != nil { jtv, ok := value.(string) @@ -14097,6 +14426,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeData(v **types.VirtualNodeData, } sv.VirtualNodeName = ptr.String(jtv) } + default: _, _ = key, value @@ -14140,6 +14470,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeGrpcConnectionPool(v **types.Vir } sv.MaxRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14183,6 +14514,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttp2ConnectionPool(v **types.Vi } sv.MaxRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14226,6 +14558,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttpConnectionPool(v **types.Vir } sv.MaxConnections = ptr.Int32(int32(i64)) } + case "maxPendingRequests": if value != nil { jtv, ok := value.(json.Number) @@ -14238,6 +14571,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeHttpConnectionPool(v **types.Vir } sv.MaxPendingRequests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14311,6 +14645,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14326,6 +14661,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14341,6 +14677,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -14349,6 +14686,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -14357,6 +14695,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -14365,6 +14704,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14377,6 +14717,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.Version = ptr.Int64(i64) } + case "virtualNodeName": if value != nil { jtv, ok := value.(string) @@ -14385,6 +14726,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeRef(v **types.VirtualNodeRef, va } sv.VirtualNodeName = ptr.String(jtv) } + default: _, _ = key, value @@ -14424,6 +14766,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeServiceProvider(v **types.Virtua } sv.VirtualNodeName = ptr.String(jtv) } + default: _, _ = key, value @@ -14459,22 +14802,27 @@ func awsRestjson1_deserializeDocumentVirtualNodeSpec(v **types.VirtualNodeSpec, if err := awsRestjson1_deserializeDocumentBackendDefaults(&sv.BackendDefaults, value); err != nil { return err } + case "backends": if err := awsRestjson1_deserializeDocumentBackends(&sv.Backends, value); err != nil { return err } + case "listeners": if err := awsRestjson1_deserializeDocumentListeners(&sv.Listeners, value); err != nil { return err } + case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } + case "serviceDiscovery": if err := awsRestjson1_deserializeDocumentServiceDiscovery(&sv.ServiceDiscovery, value); err != nil { return err } + default: _, _ = key, value @@ -14514,6 +14862,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeStatus(v **types.VirtualNodeStat } sv.Status = types.VirtualNodeStatusCode(jtv) } + default: _, _ = key, value @@ -14557,6 +14906,7 @@ func awsRestjson1_deserializeDocumentVirtualNodeTcpConnectionPool(v **types.Virt } sv.MaxConnections = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14596,18 +14946,22 @@ func awsRestjson1_deserializeDocumentVirtualRouterData(v **types.VirtualRouterDa } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentVirtualRouterSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentVirtualRouterStatus(&sv.Status, value); err != nil { return err } + case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -14616,6 +14970,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterData(v **types.VirtualRouterDa } sv.VirtualRouterName = ptr.String(jtv) } + default: _, _ = key, value @@ -14685,6 +15040,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterListener(v **types.VirtualRout if err := awsRestjson1_deserializeDocumentPortMapping(&sv.PortMapping, value); err != nil { return err } + default: _, _ = key, value @@ -14758,6 +15114,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14773,6 +15130,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14788,6 +15146,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -14796,6 +15155,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -14804,6 +15164,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -14812,6 +15173,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14824,6 +15186,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.Version = ptr.Int64(i64) } + case "virtualRouterName": if value != nil { jtv, ok := value.(string) @@ -14832,6 +15195,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterRef(v **types.VirtualRouterRef } sv.VirtualRouterName = ptr.String(jtv) } + default: _, _ = key, value @@ -14871,6 +15235,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterServiceProvider(v **types.Virt } sv.VirtualRouterName = ptr.String(jtv) } + default: _, _ = key, value @@ -14906,6 +15271,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterSpec(v **types.VirtualRouterSp if err := awsRestjson1_deserializeDocumentVirtualRouterListeners(&sv.Listeners, value); err != nil { return err } + default: _, _ = key, value @@ -14945,6 +15311,7 @@ func awsRestjson1_deserializeDocumentVirtualRouterStatus(v **types.VirtualRouter } sv.Status = types.VirtualRouterStatusCode(jtv) } + default: _, _ = key, value @@ -14980,6 +15347,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceBackend(v **types.VirtualServ if err := awsRestjson1_deserializeDocumentClientPolicy(&sv.ClientPolicy, value); err != nil { return err } + case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -14988,6 +15356,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceBackend(v **types.VirtualServ } sv.VirtualServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15027,18 +15396,22 @@ func awsRestjson1_deserializeDocumentVirtualServiceData(v **types.VirtualService } sv.MeshName = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.Metadata, value); err != nil { return err } + case "spec": if err := awsRestjson1_deserializeDocumentVirtualServiceSpec(&sv.Spec, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentVirtualServiceStatus(&sv.Status, value); err != nil { return err } + case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -15047,6 +15420,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceData(v **types.VirtualService } sv.VirtualServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15170,6 +15544,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15185,6 +15560,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15200,6 +15576,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } } + case "meshName": if value != nil { jtv, ok := value.(string) @@ -15208,6 +15585,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.MeshName = ptr.String(jtv) } + case "meshOwner": if value != nil { jtv, ok := value.(string) @@ -15216,6 +15594,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.MeshOwner = ptr.String(jtv) } + case "resourceOwner": if value != nil { jtv, ok := value.(string) @@ -15224,6 +15603,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.ResourceOwner = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -15236,6 +15616,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.Version = ptr.Int64(i64) } + case "virtualServiceName": if value != nil { jtv, ok := value.(string) @@ -15244,6 +15625,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceRef(v **types.VirtualServiceR } sv.VirtualServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15279,6 +15661,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceSpec(v **types.VirtualService if err := awsRestjson1_deserializeDocumentVirtualServiceProvider(&sv.Provider, value); err != nil { return err } + default: _, _ = key, value @@ -15318,6 +15701,7 @@ func awsRestjson1_deserializeDocumentVirtualServiceStatus(v **types.VirtualServi } sv.Status = types.VirtualServiceStatusCode(jtv) } + default: _, _ = key, value @@ -15361,6 +15745,7 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.Port = ptr.Int32(int32(i64)) } + case "virtualNode": if value != nil { jtv, ok := value.(string) @@ -15369,6 +15754,7 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.VirtualNode = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -15381,6 +15767,7 @@ func awsRestjson1_deserializeDocumentWeightedTarget(v **types.WeightedTarget, va } sv.Weight = int32(i64) } + default: _, _ = key, value diff --git a/service/apprunner/deserializers.go b/service/apprunner/deserializers.go index b877f06b325..d3b6654b130 100644 --- a/service/apprunner/deserializers.go +++ b/service/apprunner/deserializers.go @@ -4578,6 +4578,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AccessRoleArn = ptr.String(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -4586,6 +4587,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.ConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4625,6 +4627,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationArn = ptr.String(jtv) } + case "AutoScalingConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4633,6 +4636,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationName = ptr.String(jtv) } + case "AutoScalingConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -4645,6 +4649,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingConfigurationRevision = ptr.Int32(int32(i64)) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4660,6 +4665,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } + case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -4675,6 +4681,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } + case "HasAssociatedService": if value != nil { jtv, ok := value.(bool) @@ -4683,6 +4690,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.HasAssociatedService = ptr.Bool(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -4691,6 +4699,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.IsDefault = ptr.Bool(jtv) } + case "Latest": if value != nil { jtv, ok := value.(bool) @@ -4699,6 +4708,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.Latest = ptr.Bool(jtv) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -4711,6 +4721,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxConcurrency = ptr.Int32(int32(i64)) } + case "MaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -4723,6 +4734,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxSize = ptr.Int32(int32(i64)) } + case "MinSize": if value != nil { jtv, ok := value.(json.Number) @@ -4735,6 +4747,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MinSize = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4743,6 +4756,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.Status = types.AutoScalingConfigurationStatus(jtv) } + default: _, _ = key, value @@ -4782,6 +4796,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationArn = ptr.String(jtv) } + case "AutoScalingConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4790,6 +4805,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationName = ptr.String(jtv) } + case "AutoScalingConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -4802,6 +4818,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.AutoScalingConfigurationRevision = int32(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4817,6 +4834,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } } + case "HasAssociatedService": if value != nil { jtv, ok := value.(bool) @@ -4825,6 +4843,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.HasAssociatedService = ptr.Bool(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -4833,6 +4852,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.IsDefault = ptr.Bool(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4861,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(v **types.A } sv.Status = types.AutoScalingConfigurationStatus(jtv) } + default: _, _ = key, value @@ -4914,6 +4935,7 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4922,6 +4944,7 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Status = types.CertificateValidationRecordStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4930,6 +4953,7 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4938,6 +4962,7 @@ func awsAwsjson10_deserializeDocumentCertificateValidationRecord(v **types.Certi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5007,6 +5032,7 @@ func awsAwsjson10_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati if err := awsAwsjson10_deserializeDocumentCodeConfigurationValues(&sv.CodeConfigurationValues, value); err != nil { return err } + case "ConfigurationSource": if value != nil { jtv, ok := value.(string) @@ -5015,6 +5041,7 @@ func awsAwsjson10_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.ConfigurationSource = types.ConfigurationSource(jtv) } + default: _, _ = key, value @@ -5054,6 +5081,7 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.BuildCommand = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(string) @@ -5062,6 +5090,7 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.Port = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -5070,14 +5099,17 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.Runtime = types.Runtime(jtv) } + case "RuntimeEnvironmentSecrets": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentSecrets(&sv.RuntimeEnvironmentSecrets, value); err != nil { return err } + case "RuntimeEnvironmentVariables": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentVariables(&sv.RuntimeEnvironmentVariables, value); err != nil { return err } + case "StartCommand": if value != nil { jtv, ok := value.(string) @@ -5086,6 +5118,7 @@ func awsAwsjson10_deserializeDocumentCodeConfigurationValues(v **types.CodeConfi } sv.StartCommand = ptr.String(jtv) } + default: _, _ = key, value @@ -5121,6 +5154,7 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va if err := awsAwsjson10_deserializeDocumentCodeConfiguration(&sv.CodeConfiguration, value); err != nil { return err } + case "RepositoryUrl": if value != nil { jtv, ok := value.(string) @@ -5129,10 +5163,12 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.RepositoryUrl = ptr.String(jtv) } + case "SourceCodeVersion": if err := awsAwsjson10_deserializeDocumentSourceCodeVersion(&sv.SourceCodeVersion, value); err != nil { return err } + case "SourceDirectory": if value != nil { jtv, ok := value.(string) @@ -5141,6 +5177,7 @@ func awsAwsjson10_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.SourceDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -5180,6 +5217,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -5188,6 +5226,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5203,6 +5242,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5211,6 +5251,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5219,6 +5260,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = types.ConnectionStatus(jtv) } + default: _, _ = key, value @@ -5258,6 +5300,7 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -5266,6 +5309,7 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ConnectionName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5281,6 +5325,7 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5289,6 +5334,7 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5343,7 @@ func awsAwsjson10_deserializeDocumentConnectionSummary(v **types.ConnectionSumma } sv.Status = types.ConnectionStatus(jtv) } + default: _, _ = key, value @@ -5366,6 +5413,7 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value if err := awsAwsjson10_deserializeDocumentCertificateValidationRecordList(&sv.CertificateValidationRecords, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -5374,6 +5422,7 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.DomainName = ptr.String(jtv) } + case "EnableWWWSubdomain": if value != nil { jtv, ok := value.(bool) @@ -5382,6 +5431,7 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.EnableWWWSubdomain = ptr.Bool(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5390,6 +5440,7 @@ func awsAwsjson10_deserializeDocumentCustomDomain(v **types.CustomDomain, value } sv.Status = types.CustomDomainAssociationStatus(jtv) } + default: _, _ = key, value @@ -5463,6 +5514,7 @@ func awsAwsjson10_deserializeDocumentEgressConfiguration(v **types.EgressConfigu } sv.EgressType = types.EgressType(jtv) } + case "VpcConnectorArn": if value != nil { jtv, ok := value.(string) @@ -5471,6 +5523,7 @@ func awsAwsjson10_deserializeDocumentEgressConfiguration(v **types.EgressConfigu } sv.VpcConnectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5510,6 +5563,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -5553,6 +5607,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.HealthyThreshold = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -5565,6 +5620,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Interval = ptr.Int32(int32(i64)) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -5573,6 +5629,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Path = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -5581,6 +5638,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Protocol = types.HealthCheckProtocol(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -5593,6 +5651,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.Timeout = ptr.Int32(int32(i64)) } + case "UnhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5605,6 +5664,7 @@ func awsAwsjson10_deserializeDocumentHealthCheckConfiguration(v **types.HealthCh } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5644,14 +5704,17 @@ func awsAwsjson10_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.Port = ptr.String(jtv) } + case "RuntimeEnvironmentSecrets": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentSecrets(&sv.RuntimeEnvironmentSecrets, value); err != nil { return err } + case "RuntimeEnvironmentVariables": if err := awsAwsjson10_deserializeDocumentRuntimeEnvironmentVariables(&sv.RuntimeEnvironmentVariables, value); err != nil { return err } + case "StartCommand": if value != nil { jtv, ok := value.(string) @@ -5660,6 +5723,7 @@ func awsAwsjson10_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.StartCommand = ptr.String(jtv) } + default: _, _ = key, value @@ -5695,6 +5759,7 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, if err := awsAwsjson10_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } + case "ImageIdentifier": if value != nil { jtv, ok := value.(string) @@ -5703,6 +5768,7 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, } sv.ImageIdentifier = ptr.String(jtv) } + case "ImageRepositoryType": if value != nil { jtv, ok := value.(string) @@ -5711,6 +5777,7 @@ func awsAwsjson10_deserializeDocumentImageRepository(v **types.ImageRepository, } sv.ImageRepositoryType = types.ImageRepositoryType(jtv) } + default: _, _ = key, value @@ -5750,6 +5817,7 @@ func awsAwsjson10_deserializeDocumentIngressConfiguration(v **types.IngressConfi } sv.IsPubliclyAccessible = jtv } + default: _, _ = key, value @@ -5789,6 +5857,7 @@ func awsAwsjson10_deserializeDocumentIngressVpcConfiguration(v **types.IngressVp } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5797,6 +5866,7 @@ func awsAwsjson10_deserializeDocumentIngressVpcConfiguration(v **types.IngressVp } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -5836,6 +5906,7 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Cpu = ptr.String(jtv) } + case "InstanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -5844,6 +5915,7 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.InstanceRoleArn = ptr.String(jtv) } + case "Memory": if value != nil { jtv, ok := value.(string) @@ -5852,6 +5924,7 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Memory = ptr.String(jtv) } + default: _, _ = key, value @@ -5891,6 +5964,7 @@ func awsAwsjson10_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5930,6 +6004,7 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5969,6 +6044,7 @@ func awsAwsjson10_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6004,10 +6080,12 @@ func awsAwsjson10_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson10_deserializeDocumentEgressConfiguration(&sv.EgressConfiguration, value); err != nil { return err } + case "IngressConfiguration": if err := awsAwsjson10_deserializeDocumentIngressConfiguration(&sv.IngressConfiguration, value); err != nil { return err } + case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -6016,6 +6094,7 @@ func awsAwsjson10_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi } sv.IpAddressType = types.IpAddressType(jtv) } + default: _, _ = key, value @@ -6062,6 +6141,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } } + case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -6077,6 +6157,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } } + case "Latest": if value != nil { jtv, ok := value.(bool) @@ -6085,6 +6166,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.Latest = jtv } + case "ObservabilityConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6093,6 +6175,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationArn = ptr.String(jtv) } + case "ObservabilityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6101,6 +6184,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationName = ptr.String(jtv) } + case "ObservabilityConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6113,6 +6197,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.ObservabilityConfigurationRevision = int32(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6121,10 +6206,12 @@ func awsAwsjson10_deserializeDocumentObservabilityConfiguration(v **types.Observ } sv.Status = types.ObservabilityConfigurationStatus(jtv) } + case "TraceConfiguration": if err := awsAwsjson10_deserializeDocumentTraceConfiguration(&sv.TraceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6164,6 +6251,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationArn = ptr.String(jtv) } + case "ObservabilityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6172,6 +6260,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationName = ptr.String(jtv) } + case "ObservabilityConfigurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6184,6 +6273,7 @@ func awsAwsjson10_deserializeDocumentObservabilityConfigurationSummary(v **types } sv.ObservabilityConfigurationRevision = int32(i64) } + default: _, _ = key, value @@ -6264,6 +6354,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6272,6 +6363,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Id = ptr.String(jtv) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6287,6 +6379,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6295,6 +6388,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } + case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -6303,6 +6397,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.TargetArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6406,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Type = types.OperationType(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6326,6 +6422,7 @@ func awsAwsjson10_deserializeDocumentOperationSummary(v **types.OperationSummary } } + default: _, _ = key, value @@ -6399,6 +6496,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6506,6 +6604,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummary(&sv.AutoScalingConfigurationSummary, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6521,6 +6620,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } + case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -6536,26 +6636,32 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } + case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "HealthCheckConfiguration": if err := awsAwsjson10_deserializeDocumentHealthCheckConfiguration(&sv.HealthCheckConfiguration, value); err != nil { return err } + case "InstanceConfiguration": if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.InstanceConfiguration, value); err != nil { return err } + case "NetworkConfiguration": if err := awsAwsjson10_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "ObservabilityConfiguration": if err := awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -6564,6 +6670,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceArn = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6572,6 +6679,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceId = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -6580,6 +6688,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } + case "ServiceUrl": if value != nil { jtv, ok := value.(string) @@ -6588,10 +6697,12 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceUrl = ptr.String(jtv) } + case "SourceConfiguration": if err := awsAwsjson10_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6600,6 +6711,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = types.ServiceStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6615,6 +6727,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } + default: _, _ = key, value @@ -6690,6 +6803,7 @@ func awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(v **types } sv.ObservabilityConfigurationArn = ptr.String(jtv) } + case "ObservabilityEnabled": if value != nil { jtv, ok := value.(bool) @@ -6698,6 +6812,7 @@ func awsAwsjson10_deserializeDocumentServiceObservabilityConfiguration(v **types } sv.ObservabilityEnabled = jtv } + default: _, _ = key, value @@ -6737,6 +6852,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6783,6 +6899,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -6791,6 +6908,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceArn = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6799,6 +6917,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceId = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -6807,6 +6926,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceName = ptr.String(jtv) } + case "ServiceUrl": if value != nil { jtv, ok := value.(string) @@ -6815,6 +6935,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6823,6 +6944,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6838,6 +6960,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + default: _, _ = key, value @@ -6911,6 +7034,7 @@ func awsAwsjson10_deserializeDocumentSourceCodeVersion(v **types.SourceCodeVersi } sv.Type = types.SourceCodeVersionType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6919,6 +7043,7 @@ func awsAwsjson10_deserializeDocumentSourceCodeVersion(v **types.SourceCodeVersi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6954,6 +7079,7 @@ func awsAwsjson10_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsAwsjson10_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "AutoDeploymentsEnabled": if value != nil { jtv, ok := value.(bool) @@ -6962,14 +7088,17 @@ func awsAwsjson10_deserializeDocumentSourceConfiguration(v **types.SourceConfigu } sv.AutoDeploymentsEnabled = ptr.Bool(jtv) } + case "CodeRepository": if err := awsAwsjson10_deserializeDocumentCodeRepository(&sv.CodeRepository, value); err != nil { return err } + case "ImageRepository": if err := awsAwsjson10_deserializeDocumentImageRepository(&sv.ImageRepository, value); err != nil { return err } + default: _, _ = key, value @@ -7045,6 +7174,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7053,6 +7183,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7126,6 +7257,7 @@ func awsAwsjson10_deserializeDocumentTraceConfiguration(v **types.TraceConfigura } sv.Vendor = types.TracingVendor(jtv) } + default: _, _ = key, value @@ -7172,6 +7304,7 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } } + case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -7187,10 +7320,12 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } } + case "SecurityGroups": if err := awsAwsjson10_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7199,10 +7334,12 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.Status = types.VpcConnectorStatus(jtv) } + case "Subnets": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + case "VpcConnectorArn": if value != nil { jtv, ok := value.(string) @@ -7211,6 +7348,7 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorArn = ptr.String(jtv) } + case "VpcConnectorName": if value != nil { jtv, ok := value.(string) @@ -7219,6 +7357,7 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorName = ptr.String(jtv) } + case "VpcConnectorRevision": if value != nil { jtv, ok := value.(json.Number) @@ -7231,6 +7370,7 @@ func awsAwsjson10_deserializeDocumentVpcConnector(v **types.VpcConnector, value } sv.VpcConnectorRevision = int32(i64) } + default: _, _ = key, value @@ -7304,6 +7444,7 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.DomainName = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7312,6 +7453,7 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.VpcId = ptr.String(jtv) } + case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7320,6 +7462,7 @@ func awsAwsjson10_deserializeDocumentVpcDNSTarget(v **types.VpcDNSTarget, value } sv.VpcIngressConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7393,6 +7536,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.AccountId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7408,6 +7552,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } } + case "DeletedAt": if value != nil { switch jtv := value.(type) { @@ -7423,6 +7568,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -7431,10 +7577,12 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.DomainName = ptr.String(jtv) } + case "IngressVpcConfiguration": if err := awsAwsjson10_deserializeDocumentIngressVpcConfiguration(&sv.IngressVpcConfiguration, value); err != nil { return err } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -7443,6 +7591,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.ServiceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7451,6 +7600,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.Status = types.VpcIngressConnectionStatus(jtv) } + case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7459,6 +7609,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.VpcIngressConnectionArn = ptr.String(jtv) } + case "VpcIngressConnectionName": if value != nil { jtv, ok := value.(string) @@ -7467,6 +7618,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnection(v **types.VpcIngressCo } sv.VpcIngressConnectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -7506,6 +7658,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnectionSummary(v **types.VpcIn } sv.ServiceArn = ptr.String(jtv) } + case "VpcIngressConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7514,6 +7667,7 @@ func awsAwsjson10_deserializeDocumentVpcIngressConnectionSummary(v **types.VpcIn } sv.VpcIngressConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7583,6 +7737,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate if err := awsAwsjson10_deserializeDocumentCustomDomain(&sv.CustomDomain, value); err != nil { return err } + case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -7591,6 +7746,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate } sv.DNSTarget = ptr.String(jtv) } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -7599,10 +7755,12 @@ func awsAwsjson10_deserializeOpDocumentAssociateCustomDomainOutput(v **Associate } sv.ServiceArn = ptr.String(jtv) } + case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } + default: _, _ = key, value @@ -7638,6 +7796,7 @@ func awsAwsjson10_deserializeOpDocumentCreateAutoScalingConfigurationOutput(v ** if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7673,6 +7832,7 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -7708,6 +7868,7 @@ func awsAwsjson10_deserializeOpDocumentCreateObservabilityConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7747,10 +7908,12 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.OperationId = ptr.String(jtv) } + case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -7786,6 +7949,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcConnectorOutput(v **CreateVpcCon if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } + default: _, _ = key, value @@ -7821,6 +7985,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcIngressConnectionOutput(v **Crea if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } + default: _, _ = key, value @@ -7856,6 +8021,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteAutoScalingConfigurationOutput(v ** if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7891,6 +8057,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -7926,6 +8093,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteObservabilityConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7965,10 +8133,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.OperationId = ptr.String(jtv) } + case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -8004,6 +8174,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcConnectorOutput(v **DeleteVpcCon if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } + default: _, _ = key, value @@ -8039,6 +8210,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcIngressConnectionOutput(v **Dele if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } + default: _, _ = key, value @@ -8074,6 +8246,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAutoScalingConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8109,6 +8282,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC if err := awsAwsjson10_deserializeDocumentCustomDomainList(&sv.CustomDomains, value); err != nil { return err } + case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -8117,6 +8291,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.DNSTarget = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8125,6 +8300,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.NextToken = ptr.String(jtv) } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -8133,10 +8309,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeCustomDomainsOutput(v **DescribeC } sv.ServiceArn = ptr.String(jtv) } + case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } + default: _, _ = key, value @@ -8172,6 +8350,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeObservabilityConfigurationOutput( if err := awsAwsjson10_deserializeDocumentObservabilityConfiguration(&sv.ObservabilityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8207,6 +8386,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeServiceOutput(v **DescribeService if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -8242,6 +8422,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeVpcConnectorOutput(v **DescribeVp if err := awsAwsjson10_deserializeDocumentVpcConnector(&sv.VpcConnector, value); err != nil { return err } + default: _, _ = key, value @@ -8277,6 +8458,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeVpcIngressConnectionOutput(v **De if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } + default: _, _ = key, value @@ -8312,6 +8494,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass if err := awsAwsjson10_deserializeDocumentCustomDomain(&sv.CustomDomain, value); err != nil { return err } + case "DNSTarget": if value != nil { jtv, ok := value.(string) @@ -8320,6 +8503,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass } sv.DNSTarget = ptr.String(jtv) } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -8328,10 +8512,12 @@ func awsAwsjson10_deserializeOpDocumentDisassociateCustomDomainOutput(v **Disass } sv.ServiceArn = ptr.String(jtv) } + case "VpcDNSTargets": if err := awsAwsjson10_deserializeDocumentVpcDNSTargetList(&sv.VpcDNSTargets, value); err != nil { return err } + default: _, _ = key, value @@ -8367,6 +8553,7 @@ func awsAwsjson10_deserializeOpDocumentListAutoScalingConfigurationsOutput(v **L if err := awsAwsjson10_deserializeDocumentAutoScalingConfigurationSummaryList(&sv.AutoScalingConfigurationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8375,6 +8562,7 @@ func awsAwsjson10_deserializeOpDocumentListAutoScalingConfigurationsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8410,6 +8598,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionSummaryList(&sv.ConnectionSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8418,6 +8607,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8457,10 +8647,12 @@ func awsAwsjson10_deserializeOpDocumentListObservabilityConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "ObservabilityConfigurationSummaryList": if err := awsAwsjson10_deserializeDocumentObservabilityConfigurationSummaryList(&sv.ObservabilityConfigurationSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -8500,10 +8692,12 @@ func awsAwsjson10_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } + case "OperationSummaryList": if err := awsAwsjson10_deserializeDocumentOperationSummaryList(&sv.OperationSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -8543,10 +8737,12 @@ func awsAwsjson10_deserializeOpDocumentListServicesForAutoScalingConfigurationOu } sv.NextToken = ptr.String(jtv) } + case "ServiceArnList": if err := awsAwsjson10_deserializeDocumentServiceArnList(&sv.ServiceArnList, value); err != nil { return err } + default: _, _ = key, value @@ -8586,10 +8782,12 @@ func awsAwsjson10_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "ServiceSummaryList": if err := awsAwsjson10_deserializeDocumentServiceSummaryList(&sv.ServiceSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -8625,6 +8823,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8664,10 +8863,12 @@ func awsAwsjson10_deserializeOpDocumentListVpcConnectorsOutput(v **ListVpcConnec } sv.NextToken = ptr.String(jtv) } + case "VpcConnectors": if err := awsAwsjson10_deserializeDocumentVpcConnectors(&sv.VpcConnectors, value); err != nil { return err } + default: _, _ = key, value @@ -8707,10 +8908,12 @@ func awsAwsjson10_deserializeOpDocumentListVpcIngressConnectionsOutput(v **ListV } sv.NextToken = ptr.String(jtv) } + case "VpcIngressConnectionSummaryList": if err := awsAwsjson10_deserializeDocumentVpcIngressConnectionSummaryList(&sv.VpcIngressConnectionSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -8750,10 +8953,12 @@ func awsAwsjson10_deserializeOpDocumentPauseServiceOutput(v **PauseServiceOutput } sv.OperationId = ptr.String(jtv) } + case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -8793,10 +8998,12 @@ func awsAwsjson10_deserializeOpDocumentResumeServiceOutput(v **ResumeServiceOutp } sv.OperationId = ptr.String(jtv) } + case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -8836,6 +9043,7 @@ func awsAwsjson10_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -8933,6 +9141,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDefaultAutoScalingConfigurationOutp if err := awsAwsjson10_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8972,10 +9181,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.OperationId = ptr.String(jtv) } + case "Service": if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -9011,6 +9222,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateVpcIngressConnectionOutput(v **Upda if err := awsAwsjson10_deserializeDocumentVpcIngressConnection(&sv.VpcIngressConnection, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index b76969d76e1..b87986e4466 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -9954,6 +9954,7 @@ func awsAwsjson11_deserializeDocumentAccessEndpoint(v **types.AccessEndpoint, va } sv.EndpointType = types.AccessEndpointType(jtv) } + case "VpceId": if value != nil { jtv, ok := value.(string) @@ -9962,6 +9963,7 @@ func awsAwsjson11_deserializeDocumentAccessEndpoint(v **types.AccessEndpoint, va } sv.VpceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10031,6 +10033,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac if err := awsAwsjson11_deserializeDocumentErrorDetailsList(&sv.AppBlockErrors, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10039,6 +10042,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10054,6 +10058,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10062,6 +10067,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10070,6 +10076,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.DisplayName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10078,6 +10085,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.Name = ptr.String(jtv) } + case "PackagingType": if value != nil { jtv, ok := value.(string) @@ -10086,18 +10094,22 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.PackagingType = types.PackagingType(jtv) } + case "PostSetupScriptDetails": if err := awsAwsjson11_deserializeDocumentScriptDetails(&sv.PostSetupScriptDetails, value); err != nil { return err } + case "SetupScriptDetails": if err := awsAwsjson11_deserializeDocumentScriptDetails(&sv.SetupScriptDetails, value); err != nil { return err } + case "SourceS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.SourceS3Location, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -10106,6 +10118,7 @@ func awsAwsjson11_deserializeDocumentAppBlock(v **types.AppBlock, value interfac } sv.State = types.AppBlockState(jtv) } + default: _, _ = key, value @@ -10141,10 +10154,12 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } + case "AppBlockBuilderErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.AppBlockBuilderErrors, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10153,6 +10168,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10168,6 +10184,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10176,6 +10193,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10184,6 +10202,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.DisplayName = ptr.String(jtv) } + case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -10192,6 +10211,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10200,6 +10220,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.IamRoleArn = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -10208,6 +10229,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.InstanceType = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10216,6 +10238,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Name = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -10224,6 +10247,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.Platform = types.AppBlockBuilderPlatformType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10232,14 +10256,17 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilder(v **types.AppBlockBuilder, } sv.State = types.AppBlockBuilderState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10279,6 +10306,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(v **type } sv.AppBlockArn = ptr.String(jtv) } + case "AppBlockBuilderName": if value != nil { jtv, ok := value.(string) @@ -10287,6 +10315,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(v **type } sv.AppBlockBuilderName = ptr.String(jtv) } + default: _, _ = key, value @@ -10394,6 +10423,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(v **types. } sv.Code = types.AppBlockBuilderStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10402,6 +10432,7 @@ func awsAwsjson11_deserializeDocumentAppBlockBuilderStateChangeReason(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10475,6 +10506,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.AppBlockArn = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10483,6 +10515,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -10498,6 +10531,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10506,6 +10540,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10514,6 +10549,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.DisplayName = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10522,10 +10558,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Enabled = ptr.Bool(jtv) } + case "IconS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.IconS3Location, value); err != nil { return err } + case "IconURL": if value != nil { jtv, ok := value.(string) @@ -10534,10 +10572,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.IconURL = ptr.String(jtv) } + case "InstanceFamilies": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InstanceFamilies, value); err != nil { return err } + case "LaunchParameters": if value != nil { jtv, ok := value.(string) @@ -10546,6 +10586,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.LaunchParameters = ptr.String(jtv) } + case "LaunchPath": if value != nil { jtv, ok := value.(string) @@ -10554,10 +10595,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.LaunchPath = ptr.String(jtv) } + case "Metadata": if err := awsAwsjson11_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10566,10 +10609,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "Platforms": if err := awsAwsjson11_deserializeDocumentPlatforms(&sv.Platforms, value); err != nil { return err } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -10578,6 +10623,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -10617,6 +10663,7 @@ func awsAwsjson11_deserializeDocumentApplicationFleetAssociation(v **types.Appli } sv.ApplicationArn = ptr.String(jtv) } + case "FleetName": if value != nil { jtv, ok := value.(string) @@ -10625,6 +10672,7 @@ func awsAwsjson11_deserializeDocumentApplicationFleetAssociation(v **types.Appli } sv.FleetName = ptr.String(jtv) } + default: _, _ = key, value @@ -10732,6 +10780,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.Enabled = ptr.Bool(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -10740,6 +10789,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.S3BucketName = ptr.String(jtv) } + case "SettingsGroup": if value != nil { jtv, ok := value.(string) @@ -10748,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.SettingsGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10787,6 +10838,7 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10795,6 +10847,7 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.Status = types.CertificateBasedAuthStatus(jtv) } + default: _, _ = key, value @@ -10838,6 +10891,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.ActiveUserSessions = ptr.Int32(int32(i64)) } + case "ActualUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10850,6 +10904,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.ActualUserSessions = ptr.Int32(int32(i64)) } + case "Available": if value != nil { jtv, ok := value.(json.Number) @@ -10862,6 +10917,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Available = ptr.Int32(int32(i64)) } + case "AvailableUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10874,6 +10930,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.AvailableUserSessions = ptr.Int32(int32(i64)) } + case "Desired": if value != nil { jtv, ok := value.(json.Number) @@ -10886,6 +10943,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Desired = ptr.Int32(int32(i64)) } + case "DesiredUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10898,6 +10956,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.DesiredUserSessions = ptr.Int32(int32(i64)) } + case "InUse": if value != nil { jtv, ok := value.(json.Number) @@ -10910,6 +10969,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.InUse = ptr.Int32(int32(i64)) } + case "Running": if value != nil { jtv, ok := value.(json.Number) @@ -10922,6 +10982,7 @@ func awsAwsjson11_deserializeDocumentComputeCapacityStatus(v **types.ComputeCapa } sv.Running = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10961,6 +11022,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10996,6 +11058,7 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, if err := awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(&sv.CertificateBasedAuthProperties, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11011,6 +11074,7 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, } } + case "DirectoryName": if value != nil { jtv, ok := value.(string) @@ -11019,14 +11083,17 @@ func awsAwsjson11_deserializeDocumentDirectoryConfig(v **types.DirectoryConfig, } sv.DirectoryName = ptr.String(jtv) } + case "OrganizationalUnitDistinguishedNames": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitDistinguishedNamesList(&sv.OrganizationalUnitDistinguishedNames, value); err != nil { return err } + case "ServiceAccountCredentials": if err := awsAwsjson11_deserializeDocumentServiceAccountCredentials(&sv.ServiceAccountCredentials, value); err != nil { return err } + default: _, _ = key, value @@ -11100,6 +11167,7 @@ func awsAwsjson11_deserializeDocumentDomainJoinInfo(v **types.DomainJoinInfo, va } sv.DirectoryName = ptr.String(jtv) } + case "OrganizationalUnitDistinguishedName": if value != nil { jtv, ok := value.(string) @@ -11108,6 +11176,7 @@ func awsAwsjson11_deserializeDocumentDomainJoinInfo(v **types.DomainJoinInfo, va } sv.OrganizationalUnitDistinguishedName = ptr.String(jtv) } + default: _, _ = key, value @@ -11219,6 +11288,7 @@ func awsAwsjson11_deserializeDocumentEntitledApplication(v **types.EntitledAppli } sv.ApplicationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -11292,10 +11362,12 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.AppVisibility = types.AppVisibility(jtv) } + case "Attributes": if err := awsAwsjson11_deserializeDocumentEntitlementAttributeList(&sv.Attributes, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11311,6 +11383,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11319,6 +11392,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11334,6 +11408,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11342,6 +11417,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -11350,6 +11426,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.StackName = ptr.String(jtv) } + default: _, _ = key, value @@ -11389,6 +11466,7 @@ func awsAwsjson11_deserializeDocumentEntitlementAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11428,6 +11506,7 @@ func awsAwsjson11_deserializeDocumentEntitlementAttribute(v **types.EntitlementA } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11436,6 +11515,7 @@ func awsAwsjson11_deserializeDocumentEntitlementAttribute(v **types.EntitlementA } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11543,6 +11623,7 @@ func awsAwsjson11_deserializeDocumentEntitlementNotFoundException(v **types.Enti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11582,6 +11663,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11590,6 +11672,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11663,10 +11746,12 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "ComputeCapacityStatus": if err := awsAwsjson11_deserializeDocumentComputeCapacityStatus(&sv.ComputeCapacityStatus, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11682,6 +11767,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11690,6 +11776,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11702,6 +11789,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.DisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -11710,10 +11798,12 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "DomainJoinInfo": if err := awsAwsjson11_deserializeDocumentDomainJoinInfo(&sv.DomainJoinInfo, value); err != nil { return err } + case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -11722,10 +11812,12 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } + case "FleetErrors": if err := awsAwsjson11_deserializeDocumentFleetErrors(&sv.FleetErrors, value); err != nil { return err } + case "FleetType": if value != nil { jtv, ok := value.(string) @@ -11734,6 +11826,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.FleetType = types.FleetType(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -11742,6 +11835,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.IamRoleArn = ptr.String(jtv) } + case "IdleDisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11754,6 +11848,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.IdleDisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -11762,6 +11857,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageArn = ptr.String(jtv) } + case "ImageName": if value != nil { jtv, ok := value.(string) @@ -11770,6 +11866,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageName = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -11778,6 +11875,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.InstanceType = ptr.String(jtv) } + case "MaxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -11790,6 +11888,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } + case "MaxSessionsPerInstance": if value != nil { jtv, ok := value.(json.Number) @@ -11802,6 +11901,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxSessionsPerInstance = ptr.Int32(int32(i64)) } + case "MaxUserDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11814,6 +11914,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.MaxUserDurationInSeconds = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11822,6 +11923,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -11830,10 +11932,12 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Platform = types.PlatformType(jtv) } + case "SessionScriptS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.SessionScriptS3Location, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -11842,6 +11946,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.State = types.FleetState(jtv) } + case "StreamView": if value != nil { jtv, ok := value.(string) @@ -11850,14 +11955,17 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.StreamView = types.StreamView(jtv) } + case "UsbDeviceFilterStrings": if err := awsAwsjson11_deserializeDocumentUsbDeviceFilterStrings(&sv.UsbDeviceFilterStrings, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11897,6 +12005,7 @@ func awsAwsjson11_deserializeDocumentFleetError(v **types.FleetError, value inte } sv.ErrorCode = types.FleetErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11905,6 +12014,7 @@ func awsAwsjson11_deserializeDocumentFleetError(v **types.FleetError, value inte } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -12008,6 +12118,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } + case "AppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12016,6 +12127,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.AppstreamAgentVersion = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -12024,6 +12136,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "BaseImageArn": if value != nil { jtv, ok := value.(string) @@ -12032,6 +12145,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.BaseImageArn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12047,6 +12161,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12055,6 +12170,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12063,6 +12179,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "DynamicAppProvidersEnabled": if value != nil { jtv, ok := value.(string) @@ -12071,6 +12188,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DynamicAppProvidersEnabled = types.DynamicAppProvidersEnabled(jtv) } + case "ImageBuilderName": if value != nil { jtv, ok := value.(string) @@ -12079,6 +12197,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageBuilderName = ptr.String(jtv) } + case "ImageBuilderSupported": if value != nil { jtv, ok := value.(bool) @@ -12087,14 +12206,17 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageBuilderSupported = ptr.Bool(jtv) } + case "ImageErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.ImageErrors, value); err != nil { return err } + case "ImagePermissions": if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } + case "ImageSharedWithOthers": if value != nil { jtv, ok := value.(string) @@ -12103,6 +12225,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageSharedWithOthers = types.ImageSharedWithOthers(jtv) } + case "LatestAppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12111,6 +12234,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.LatestAppstreamAgentVersion = types.LatestAppstreamAgentVersion(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12119,6 +12243,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -12127,6 +12252,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Platform = types.PlatformType(jtv) } + case "PublicBaseImageReleasedDate": if value != nil { switch jtv := value.(type) { @@ -12142,6 +12268,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12150,14 +12277,17 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.State = types.ImageState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentImageStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "SupportedInstanceFamilies": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SupportedInstanceFamilies, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -12166,6 +12296,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Visibility = types.VisibilityType(jtv) } + default: _, _ = key, value @@ -12201,6 +12332,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } + case "AppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12209,6 +12341,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.AppstreamAgentVersion = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12350,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12232,6 +12366,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12240,6 +12375,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12248,10 +12384,12 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.DisplayName = ptr.String(jtv) } + case "DomainJoinInfo": if err := awsAwsjson11_deserializeDocumentDomainJoinInfo(&sv.DomainJoinInfo, value); err != nil { return err } + case "EnableDefaultInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -12260,6 +12398,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.EnableDefaultInternetAccess = ptr.Bool(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -12268,6 +12407,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.IamRoleArn = ptr.String(jtv) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -12276,10 +12416,12 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.ImageArn = ptr.String(jtv) } + case "ImageBuilderErrors": if err := awsAwsjson11_deserializeDocumentResourceErrors(&sv.ImageBuilderErrors, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -12288,6 +12430,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.InstanceType = ptr.String(jtv) } + case "LatestAppstreamAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12296,6 +12439,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.LatestAppstreamAgentVersion = types.LatestAppstreamAgentVersion(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12304,10 +12448,12 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Name = ptr.String(jtv) } + case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -12316,6 +12462,7 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.Platform = types.PlatformType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -12324,14 +12471,17 @@ func awsAwsjson11_deserializeDocumentImageBuilder(v **types.ImageBuilder, value } sv.State = types.ImageBuilderState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12405,6 +12555,7 @@ func awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(v **types.Ima } sv.Code = types.ImageBuilderStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12413,6 +12564,7 @@ func awsAwsjson11_deserializeDocumentImageBuilderStateChangeReason(v **types.Ima } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12486,6 +12638,7 @@ func awsAwsjson11_deserializeDocumentImagePermissions(v **types.ImagePermissions } sv.AllowFleet = ptr.Bool(jtv) } + case "allowImageBuilder": if value != nil { jtv, ok := value.(bool) @@ -12494,6 +12647,7 @@ func awsAwsjson11_deserializeDocumentImagePermissions(v **types.ImagePermissions } sv.AllowImageBuilder = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12533,6 +12687,7 @@ func awsAwsjson11_deserializeDocumentImageStateChangeReason(v **types.ImageState } sv.Code = types.ImageStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12541,6 +12696,7 @@ func awsAwsjson11_deserializeDocumentImageStateChangeReason(v **types.ImageState } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12580,6 +12736,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleImageException(v **types.Incomp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12619,6 +12776,7 @@ func awsAwsjson11_deserializeDocumentInvalidAccountStatusException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12658,6 +12816,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12697,6 +12856,7 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12736,6 +12896,7 @@ func awsAwsjson11_deserializeDocumentLastReportGenerationExecutionError(v **type } sv.ErrorCode = types.UsageReportExecutionErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12744,6 +12905,7 @@ func awsAwsjson11_deserializeDocumentLastReportGenerationExecutionError(v **type } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -12817,6 +12979,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12892,6 +13055,7 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniId = ptr.String(jtv) } + case "EniPrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -12900,6 +13064,7 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniPrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -12939,6 +13104,7 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13050,6 +13216,7 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceededException(v **types.Req } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13089,6 +13256,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13128,6 +13296,7 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.ErrorCode = types.FleetErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13136,6 +13305,7 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorTimestamp": if value != nil { switch jtv := value.(type) { @@ -13151,6 +13321,7 @@ func awsAwsjson11_deserializeDocumentResourceError(v **types.ResourceError, valu } } + default: _, _ = key, value @@ -13224,6 +13395,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13263,6 +13435,7 @@ func awsAwsjson11_deserializeDocumentResourceNotAvailableException(v **types.Res } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13302,6 +13475,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13341,6 +13515,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.S3Bucket = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -13349,6 +13524,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -13388,6 +13564,7 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.ExecutableParameters = ptr.String(jtv) } + case "ExecutablePath": if value != nil { jtv, ok := value.(string) @@ -13396,10 +13573,12 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.ExecutablePath = ptr.String(jtv) } + case "ScriptS3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.ScriptS3Location, value); err != nil { return err } + case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13412,6 +13591,7 @@ func awsAwsjson11_deserializeDocumentScriptDetails(v **types.ScriptDetails, valu } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13487,6 +13667,7 @@ func awsAwsjson11_deserializeDocumentServiceAccountCredentials(v **types.Service } sv.AccountName = ptr.String(jtv) } + case "AccountPassword": if value != nil { jtv, ok := value.(string) @@ -13495,6 +13676,7 @@ func awsAwsjson11_deserializeDocumentServiceAccountCredentials(v **types.Service } sv.AccountPassword = ptr.String(jtv) } + default: _, _ = key, value @@ -13534,6 +13716,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -13542,6 +13725,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ConnectionState = types.SessionConnectionState(jtv) } + case "FleetName": if value != nil { jtv, ok := value.(string) @@ -13550,6 +13734,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.FleetName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13558,6 +13743,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Id = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -13566,6 +13752,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.InstanceId = ptr.String(jtv) } + case "MaxExpirationTime": if value != nil { switch jtv := value.(type) { @@ -13581,10 +13768,12 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -13593,6 +13782,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.StackName = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13608,6 +13798,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "State": if value != nil { jtv, ok := value.(string) @@ -13616,6 +13807,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.State = types.SessionState(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -13624,6 +13816,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -13693,6 +13886,7 @@ func awsAwsjson11_deserializeDocumentSharedImagePermissions(v **types.SharedImag if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } + case "sharedAccountId": if value != nil { jtv, ok := value.(string) @@ -13701,6 +13895,7 @@ func awsAwsjson11_deserializeDocumentSharedImagePermissions(v **types.SharedImag } sv.SharedAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -13770,10 +13965,12 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e if err := awsAwsjson11_deserializeDocumentAccessEndpointList(&sv.AccessEndpoints, value); err != nil { return err } + case "ApplicationSettings": if err := awsAwsjson11_deserializeDocumentApplicationSettingsResponse(&sv.ApplicationSettings, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -13782,6 +13979,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13797,6 +13995,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13805,6 +14004,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -13813,10 +14013,12 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "EmbedHostDomains": if err := awsAwsjson11_deserializeDocumentEmbedHostDomains(&sv.EmbedHostDomains, value); err != nil { return err } + case "FeedbackURL": if value != nil { jtv, ok := value.(string) @@ -13825,6 +14027,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.FeedbackURL = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13833,6 +14036,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Name = ptr.String(jtv) } + case "RedirectURL": if value != nil { jtv, ok := value.(string) @@ -13841,22 +14045,27 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.RedirectURL = ptr.String(jtv) } + case "StackErrors": if err := awsAwsjson11_deserializeDocumentStackErrors(&sv.StackErrors, value); err != nil { return err } + case "StorageConnectors": if err := awsAwsjson11_deserializeDocumentStorageConnectorList(&sv.StorageConnectors, value); err != nil { return err } + case "StreamingExperienceSettings": if err := awsAwsjson11_deserializeDocumentStreamingExperienceSettings(&sv.StreamingExperienceSettings, value); err != nil { return err } + case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettingList(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -13896,6 +14105,7 @@ func awsAwsjson11_deserializeDocumentStackError(v **types.StackError, value inte } sv.ErrorCode = types.StackErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13904,6 +14114,7 @@ func awsAwsjson11_deserializeDocumentStackError(v **types.StackError, value inte } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -14011,10 +14222,12 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ConnectorType = types.StorageConnectorType(jtv) } + case "Domains": if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } + case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -14023,6 +14236,7 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ResourceIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -14096,6 +14310,7 @@ func awsAwsjson11_deserializeDocumentStreamingExperienceSettings(v **types.Strea } sv.PreferredProtocol = types.PreferredProtocol(jtv) } + default: _, _ = key, value @@ -14250,6 +14465,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -14258,6 +14474,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.StackName = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14266,6 +14483,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.State = types.ThemeState(jtv) } + case "ThemeFaviconURL": if value != nil { jtv, ok := value.(string) @@ -14274,10 +14492,12 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeFaviconURL = ptr.String(jtv) } + case "ThemeFooterLinks": if err := awsAwsjson11_deserializeDocumentThemeFooterLinks(&sv.ThemeFooterLinks, value); err != nil { return err } + case "ThemeOrganizationLogoURL": if value != nil { jtv, ok := value.(string) @@ -14286,6 +14506,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeOrganizationLogoURL = ptr.String(jtv) } + case "ThemeStyling": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14515,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeStyling = types.ThemeStyling(jtv) } + case "ThemeTitleText": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14524,7 @@ func awsAwsjson11_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeTitleText = ptr.String(jtv) } + default: _, _ = key, value @@ -14341,6 +14564,7 @@ func awsAwsjson11_deserializeDocumentThemeFooterLink(v **types.ThemeFooterLink, } sv.DisplayName = ptr.String(jtv) } + case "FooterLinkURL": if value != nil { jtv, ok := value.(string) @@ -14349,6 +14573,7 @@ func awsAwsjson11_deserializeDocumentThemeFooterLink(v **types.ThemeFooterLink, } sv.FooterLinkURL = ptr.String(jtv) } + default: _, _ = key, value @@ -14429,6 +14654,7 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14437,6 +14663,7 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } sv.S3BucketName = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -14445,10 +14672,12 @@ func awsAwsjson11_deserializeDocumentUsageReportSubscription(v **types.UsageRepo } sv.Schedule = types.UsageReportSchedule(jtv) } + case "SubscriptionErrors": if err := awsAwsjson11_deserializeDocumentLastReportGenerationExecutionErrors(&sv.SubscriptionErrors, value); err != nil { return err } + default: _, _ = key, value @@ -14558,6 +14787,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -14566,6 +14796,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -14581,6 +14812,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -14589,6 +14821,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Enabled = ptr.Bool(jtv) } + case "FirstName": if value != nil { jtv, ok := value.(string) @@ -14597,6 +14830,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.FirstName = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -14605,6 +14839,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14613,6 +14848,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -14621,6 +14857,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -14694,6 +14931,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Action = types.Action(jtv) } + case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -14706,6 +14944,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.MaximumLength = ptr.Int32(int32(i64)) } + case "Permission": if value != nil { jtv, ok := value.(string) @@ -14714,6 +14953,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Permission = types.Permission(jtv) } + default: _, _ = key, value @@ -14787,6 +15027,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "SendEmailNotification": if value != nil { jtv, ok := value.(bool) @@ -14795,6 +15036,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.SendEmailNotification = ptr.Bool(jtv) } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -14803,6 +15045,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.StackName = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -14811,6 +15054,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -14850,6 +15094,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociationError(v **types.UserSta } sv.ErrorCode = types.UserStackAssociationErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14858,10 +15103,12 @@ func awsAwsjson11_deserializeDocumentUserStackAssociationError(v **types.UserSta } sv.ErrorMessage = ptr.String(jtv) } + case "UserStackAssociation": if err := awsAwsjson11_deserializeDocumentUserStackAssociation(&sv.UserStackAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -14965,10 +15212,12 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -15004,6 +15253,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateAppBlockBuilderAppBlockOutput(v if err := awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociation(&sv.AppBlockBuilderAppBlockAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -15039,6 +15289,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateApplicationFleetOutput(v **Assoc if err := awsAwsjson11_deserializeDocumentApplicationFleetAssociation(&sv.ApplicationFleetAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -15136,6 +15387,7 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateUserStackOutput(v **BatchAs if err := awsAwsjson11_deserializeDocumentUserStackAssociationErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -15171,6 +15423,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateUserStackOutput(v **Batc if err := awsAwsjson11_deserializeDocumentUserStackAssociationErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -15210,6 +15463,7 @@ func awsAwsjson11_deserializeOpDocumentCopyImageOutput(v **CopyImageOutput, valu } sv.DestinationImageName = ptr.String(jtv) } + default: _, _ = key, value @@ -15245,6 +15499,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderOutput(v **CreateApp if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -15291,6 +15546,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderStreamingURLOutput(v } } + case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -15299,6 +15555,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockBuilderStreamingURLOutput(v } sv.StreamingURL = ptr.String(jtv) } + default: _, _ = key, value @@ -15334,6 +15591,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppBlockOutput(v **CreateAppBlockOu if err := awsAwsjson11_deserializeDocumentAppBlock(&sv.AppBlock, value); err != nil { return err } + default: _, _ = key, value @@ -15369,6 +15627,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -15404,6 +15663,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectoryConfigOutput(v **CreateDir if err := awsAwsjson11_deserializeDocumentDirectoryConfig(&sv.DirectoryConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15439,6 +15699,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEntitlementOutput(v **CreateEntitle if err := awsAwsjson11_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } + default: _, _ = key, value @@ -15474,6 +15735,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } + default: _, _ = key, value @@ -15509,6 +15771,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderOutput(v **CreateImageB if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -15555,6 +15818,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderStreamingURLOutput(v ** } } + case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -15563,6 +15827,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImageBuilderStreamingURLOutput(v ** } sv.StreamingURL = ptr.String(jtv) } + default: _, _ = key, value @@ -15598,6 +15863,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStackOutput(v **CreateStackOutput, if err := awsAwsjson11_deserializeDocumentStack(&sv.Stack, value); err != nil { return err } + default: _, _ = key, value @@ -15644,6 +15910,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamingURLOutput(v **CreateStream } } + case "StreamingURL": if value != nil { jtv, ok := value.(string) @@ -15652,6 +15919,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamingURLOutput(v **CreateStream } sv.StreamingURL = ptr.String(jtv) } + default: _, _ = key, value @@ -15687,6 +15955,7 @@ func awsAwsjson11_deserializeOpDocumentCreateThemeForStackOutput(v **CreateTheme if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } + default: _, _ = key, value @@ -15726,10 +15995,12 @@ func awsAwsjson11_deserializeOpDocumentCreateUpdatedImageOutput(v **CreateUpdate } sv.CanUpdateImage = ptr.Bool(jtv) } + case "image": if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } + default: _, _ = key, value @@ -15769,6 +16040,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageReportSubscriptionOutput(v **C } sv.S3BucketName = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -15777,6 +16049,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageReportSubscriptionOutput(v **C } sv.Schedule = types.UsageReportSchedule(jtv) } + default: _, _ = key, value @@ -16029,6 +16302,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteImageBuilderOutput(v **DeleteImageB if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -16064,6 +16338,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } + default: _, _ = key, value @@ -16254,6 +16529,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuilderAppBlockAssociatio if err := awsAwsjson11_deserializeDocumentAppBlockBuilderAppBlockAssociationsList(&sv.AppBlockBuilderAppBlockAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16262,6 +16538,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuilderAppBlockAssociatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16297,6 +16574,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuildersOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAppBlockBuilderList(&sv.AppBlockBuilders, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16305,6 +16583,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlockBuildersOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16340,6 +16619,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlocksOutput(v **DescribeAppBl if err := awsAwsjson11_deserializeDocumentAppBlocks(&sv.AppBlocks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16348,6 +16628,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppBlocksOutput(v **DescribeAppBl } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16383,6 +16664,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationFleetAssociationsOutpu if err := awsAwsjson11_deserializeDocumentApplicationFleetAssociationList(&sv.ApplicationFleetAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16391,6 +16673,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationFleetAssociationsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16426,6 +16709,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp if err := awsAwsjson11_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16434,6 +16718,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16469,6 +16754,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryConfigsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDirectoryConfigList(&sv.DirectoryConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16477,6 +16763,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryConfigsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16512,6 +16799,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitlementsOutput(v **DescribeEn if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16520,6 +16808,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitlementsOutput(v **DescribeEn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16555,6 +16844,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetsOutput(v **DescribeFleetsOu if err := awsAwsjson11_deserializeDocumentFleetList(&sv.Fleets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16563,6 +16853,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetsOutput(v **DescribeFleetsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16598,6 +16889,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageBuildersOutput(v **DescribeI if err := awsAwsjson11_deserializeDocumentImageBuilderList(&sv.ImageBuilders, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16606,6 +16898,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageBuildersOutput(v **DescribeI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16645,6 +16938,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagePermissionsOutput(v **Descri } sv.Name = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16653,10 +16947,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagePermissionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "SharedImagePermissionsList": if err := awsAwsjson11_deserializeDocumentSharedImagePermissionsList(&sv.SharedImagePermissionsList, value); err != nil { return err } + default: _, _ = key, value @@ -16692,6 +16988,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageList(&sv.Images, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16700,6 +16997,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16739,10 +17037,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSessionsOutput(v **DescribeSessio } sv.NextToken = ptr.String(jtv) } + case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -16782,10 +17082,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStacksOutput(v **DescribeStacksOu } sv.NextToken = ptr.String(jtv) } + case "Stacks": if err := awsAwsjson11_deserializeDocumentStackList(&sv.Stacks, value); err != nil { return err } + default: _, _ = key, value @@ -16821,6 +17123,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThemeForStackOutput(v **DescribeT if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } + default: _, _ = key, value @@ -16860,10 +17163,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsageReportSubscriptionsOutput(v } sv.NextToken = ptr.String(jtv) } + case "UsageReportSubscriptions": if err := awsAwsjson11_deserializeDocumentUsageReportSubscriptionList(&sv.UsageReportSubscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -16903,10 +17208,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -16946,10 +17253,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserStackAssociationsOutput(v **D } sv.NextToken = ptr.String(jtv) } + case "UserStackAssociations": if err := awsAwsjson11_deserializeDocumentUserStackAssociationList(&sv.UserStackAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -17202,6 +17511,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedFleetsOutput(v **ListAssoci if err := awsAwsjson11_deserializeDocumentStringList(&sv.Names, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17210,6 +17520,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedFleetsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17245,6 +17556,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedStacksOutput(v **ListAssoci if err := awsAwsjson11_deserializeDocumentStringList(&sv.Names, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17253,6 +17565,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedStacksOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17288,6 +17601,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitledApplicationsOutput(v **ListEn if err := awsAwsjson11_deserializeDocumentEntitledApplicationList(&sv.EntitledApplications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17296,6 +17610,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitledApplicationsOutput(v **ListEn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17331,6 +17646,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17366,6 +17682,7 @@ func awsAwsjson11_deserializeOpDocumentStartAppBlockBuilderOutput(v **StartAppBl if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -17432,6 +17749,7 @@ func awsAwsjson11_deserializeOpDocumentStartImageBuilderOutput(v **StartImageBui if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -17467,6 +17785,7 @@ func awsAwsjson11_deserializeOpDocumentStopAppBlockBuilderOutput(v **StopAppBloc if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -17533,6 +17852,7 @@ func awsAwsjson11_deserializeOpDocumentStopImageBuilderOutput(v **StopImageBuild if err := awsAwsjson11_deserializeDocumentImageBuilder(&sv.ImageBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -17630,6 +17950,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppBlockBuilderOutput(v **UpdateApp if err := awsAwsjson11_deserializeDocumentAppBlockBuilder(&sv.AppBlockBuilder, value); err != nil { return err } + default: _, _ = key, value @@ -17665,6 +17986,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -17700,6 +18022,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectoryConfigOutput(v **UpdateDir if err := awsAwsjson11_deserializeDocumentDirectoryConfig(&sv.DirectoryConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17735,6 +18058,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEntitlementOutput(v **UpdateEntitle if err := awsAwsjson11_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } + default: _, _ = key, value @@ -17770,6 +18094,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } + default: _, _ = key, value @@ -17836,6 +18161,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateStackOutput(v **UpdateStackOutput, if err := awsAwsjson11_deserializeDocumentStack(&sv.Stack, value); err != nil { return err } + default: _, _ = key, value @@ -17871,6 +18197,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateThemeForStackOutput(v **UpdateTheme if err := awsAwsjson11_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/appsync/deserializers.go b/service/appsync/deserializers.go index 75443a91c04..1f13e2eadfa 100644 --- a/service/appsync/deserializers.go +++ b/service/appsync/deserializers.go @@ -180,6 +180,7 @@ func awsRestjson1_deserializeOpDocumentAssociateApiOutput(v **AssociateApiOutput if err := awsRestjson1_deserializeDocumentApiAssociation(&sv.ApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -346,6 +347,7 @@ func awsRestjson1_deserializeOpDocumentAssociateMergedGraphqlApiOutput(v **Assoc if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -512,6 +514,7 @@ func awsRestjson1_deserializeOpDocumentAssociateSourceGraphqlApiOutput(v **Assoc if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -675,6 +678,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiOutput(v **CreateApiOutput, valu if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } + default: _, _ = key, value @@ -838,6 +842,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiCacheOutput(v **CreateApiCacheOu if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } + default: _, _ = key, value @@ -1007,6 +1012,7 @@ func awsRestjson1_deserializeOpDocumentCreateApiKeyOutput(v **CreateApiKeyOutput if err := awsRestjson1_deserializeDocumentApiKey(&sv.ApiKey, value); err != nil { return err } + default: _, _ = key, value @@ -1176,6 +1182,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelNamespaceOutput(v **CreateCh if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } + default: _, _ = key, value @@ -1339,6 +1346,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -1496,6 +1504,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainNameOutput(v **CreateDomainNa if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1659,6 +1668,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1825,6 +1835,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphqlApiOutput(v **CreateGraphqlA if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } + default: _, _ = key, value @@ -1988,6 +1999,7 @@ func awsRestjson1_deserializeOpDocumentCreateResolverOutput(v **CreateResolverOu if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } + default: _, _ = key, value @@ -2151,6 +2163,7 @@ func awsRestjson1_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -3424,6 +3437,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateMergedGraphqlApiOutput(v **Di } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } + default: _, _ = key, value @@ -3591,6 +3605,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateSourceGraphqlApiOutput(v **Di } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } + default: _, _ = key, value @@ -3748,6 +3763,7 @@ func awsRestjson1_deserializeOpDocumentEvaluateCodeOutput(v **EvaluateCodeOutput if err := awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(&sv.Error, value); err != nil { return err } + case "evaluationResult": if value != nil { jtv, ok := value.(string) @@ -3756,10 +3772,12 @@ func awsRestjson1_deserializeOpDocumentEvaluateCodeOutput(v **EvaluateCodeOutput } sv.EvaluationResult = ptr.String(jtv) } + case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } + default: _, _ = key, value @@ -3917,6 +3935,7 @@ func awsRestjson1_deserializeOpDocumentEvaluateMappingTemplateOutput(v **Evaluat if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "evaluationResult": if value != nil { jtv, ok := value.(string) @@ -3925,10 +3944,12 @@ func awsRestjson1_deserializeOpDocumentEvaluateMappingTemplateOutput(v **Evaluat } sv.EvaluationResult = ptr.String(jtv) } + case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } + default: _, _ = key, value @@ -4192,6 +4213,7 @@ func awsRestjson1_deserializeOpDocumentGetApiOutput(v **GetApiOutput, value inte if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } + default: _, _ = key, value @@ -4352,6 +4374,7 @@ func awsRestjson1_deserializeOpDocumentGetApiAssociationOutput(v **GetApiAssocia if err := awsRestjson1_deserializeDocumentApiAssociation(&sv.ApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -4515,6 +4538,7 @@ func awsRestjson1_deserializeOpDocumentGetApiCacheOutput(v **GetApiCacheOutput, if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } + default: _, _ = key, value @@ -4678,6 +4702,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelNamespaceOutput(v **GetChannelN if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } + default: _, _ = key, value @@ -4841,6 +4866,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -5002,10 +5028,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionId = ptr.String(jtv) } + case "introspectionResult": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(&sv.IntrospectionResult, value); err != nil { return err } + case "introspectionStatus": if value != nil { jtv, ok := value.(string) @@ -5014,6 +5042,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionStatus = types.DataSourceIntrospectionStatus(jtv) } + case "introspectionStatusDetail": if value != nil { jtv, ok := value.(string) @@ -5022,6 +5051,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceIntrospectionOutput(v **GetD } sv.IntrospectionStatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -5182,6 +5212,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainNameOutput(v **GetDomainNameOutp if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5339,6 +5370,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionOutput(v **GetFunctionOutput, if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5502,6 +5534,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphqlApiOutput(v **GetGraphqlApiOutp if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } + default: _, _ = key, value @@ -5665,6 +5698,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphqlApiEnvironmentVariablesOutput(v if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } + default: _, _ = key, value @@ -5946,6 +5980,7 @@ func awsRestjson1_deserializeOpDocumentGetResolverOutput(v **GetResolverOutput, if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } + default: _, _ = key, value @@ -6110,6 +6145,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaCreationStatusOutput(v **GetSche } sv.Details = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6118,6 +6154,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaCreationStatusOutput(v **GetSche } sv.Status = types.SchemaStatus(jtv) } + default: _, _ = key, value @@ -6278,6 +6315,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceApiAssociationOutput(v **GetSour if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -6441,6 +6479,7 @@ func awsRestjson1_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -6601,6 +6640,7 @@ func awsRestjson1_deserializeOpDocumentListApiKeysOutput(v **ListApiKeysOutput, if err := awsRestjson1_deserializeDocumentApiKeys(&sv.ApiKeys, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6609,6 +6649,7 @@ func awsRestjson1_deserializeOpDocumentListApiKeysOutput(v **ListApiKeysOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6766,6 +6807,7 @@ func awsRestjson1_deserializeOpDocumentListApisOutput(v **ListApisOutput, value if err := awsRestjson1_deserializeDocumentApis(&sv.Apis, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6774,6 +6816,7 @@ func awsRestjson1_deserializeOpDocumentListApisOutput(v **ListApisOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6934,6 +6977,7 @@ func awsRestjson1_deserializeOpDocumentListChannelNamespacesOutput(v **ListChann if err := awsRestjson1_deserializeDocumentChannelNamespaces(&sv.ChannelNamespaces, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6942,6 +6986,7 @@ func awsRestjson1_deserializeOpDocumentListChannelNamespacesOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7102,6 +7147,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7110,6 +7156,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7267,6 +7314,7 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainNameConfigs(&sv.DomainNameConfigs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7275,6 +7323,7 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7435,6 +7484,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp if err := awsRestjson1_deserializeDocumentFunctions(&sv.Functions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7443,6 +7493,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7600,6 +7651,7 @@ func awsRestjson1_deserializeOpDocumentListGraphqlApisOutput(v **ListGraphqlApis if err := awsRestjson1_deserializeDocumentGraphqlApis(&sv.GraphqlApis, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7608,6 +7660,7 @@ func awsRestjson1_deserializeOpDocumentListGraphqlApisOutput(v **ListGraphqlApis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7772,10 +7825,12 @@ func awsRestjson1_deserializeOpDocumentListResolversOutput(v **ListResolversOutp } sv.NextToken = ptr.String(jtv) } + case "resolvers": if err := awsRestjson1_deserializeDocumentResolvers(&sv.Resolvers, value); err != nil { return err } + default: _, _ = key, value @@ -7940,10 +7995,12 @@ func awsRestjson1_deserializeOpDocumentListResolversByFunctionOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } + case "resolvers": if err := awsRestjson1_deserializeDocumentResolvers(&sv.Resolvers, value); err != nil { return err } + default: _, _ = key, value @@ -8108,10 +8165,12 @@ func awsRestjson1_deserializeOpDocumentListSourceApiAssociationsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + case "sourceApiAssociationSummaries": if err := awsRestjson1_deserializeDocumentSourceApiAssociationSummaryList(&sv.SourceApiAssociationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8278,6 +8337,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8445,10 +8505,12 @@ func awsRestjson1_deserializeOpDocumentListTypesOutput(v **ListTypesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -8616,10 +8678,12 @@ func awsRestjson1_deserializeOpDocumentListTypesByAssociationOutput(v **ListType } sv.NextToken = ptr.String(jtv) } + case "types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -8786,6 +8850,7 @@ func awsRestjson1_deserializeOpDocumentPutGraphqlApiEnvironmentVariablesOutput(v if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } + default: _, _ = key, value @@ -8950,6 +9015,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionId = ptr.String(jtv) } + case "introspectionStatus": if value != nil { jtv, ok := value.(string) @@ -8958,6 +9024,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionStatus = types.DataSourceIntrospectionStatus(jtv) } + case "introspectionStatusDetail": if value != nil { jtv, ok := value.(string) @@ -8966,6 +9033,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceIntrospectionOutput(v **St } sv.IntrospectionStatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -9133,6 +9201,7 @@ func awsRestjson1_deserializeOpDocumentStartSchemaCreationOutput(v **StartSchema } sv.Status = types.SchemaStatus(jtv) } + default: _, _ = key, value @@ -9300,6 +9369,7 @@ func awsRestjson1_deserializeOpDocumentStartSchemaMergeOutput(v **StartSchemaMer } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } + default: _, _ = key, value @@ -9672,6 +9742,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiOutput(v **UpdateApiOutput, valu if err := awsRestjson1_deserializeDocumentApi(&sv.Api, value); err != nil { return err } + default: _, _ = key, value @@ -9835,6 +9906,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiCacheOutput(v **UpdateApiCacheOu if err := awsRestjson1_deserializeDocumentApiCache(&sv.ApiCache, value); err != nil { return err } + default: _, _ = key, value @@ -10001,6 +10073,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApiKeyOutput(v **UpdateApiKeyOutput if err := awsRestjson1_deserializeDocumentApiKey(&sv.ApiKey, value); err != nil { return err } + default: _, _ = key, value @@ -10167,6 +10240,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelNamespaceOutput(v **UpdateCh if err := awsRestjson1_deserializeDocumentChannelNamespace(&sv.ChannelNamespace, value); err != nil { return err } + default: _, _ = key, value @@ -10330,6 +10404,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -10493,6 +10568,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainNameOutput(v **UpdateDomainNa if err := awsRestjson1_deserializeDocumentDomainNameConfig(&sv.DomainNameConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10656,6 +10732,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionOutput(v **UpdateFunctionOu if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10822,6 +10899,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphqlApiOutput(v **UpdateGraphqlA if err := awsRestjson1_deserializeDocumentGraphqlApi(&sv.GraphqlApi, value); err != nil { return err } + default: _, _ = key, value @@ -10985,6 +11063,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResolverOutput(v **UpdateResolverOu if err := awsRestjson1_deserializeDocumentResolver(&sv.Resolver, value); err != nil { return err } + default: _, _ = key, value @@ -11148,6 +11227,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceApiAssociationOutput(v **Upda if err := awsRestjson1_deserializeDocumentSourceApiAssociation(&sv.SourceApiAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -11311,6 +11391,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTypeOutput(v **UpdateTypeOutput, va if err := awsRestjson1_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -11818,6 +11899,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11857,18 +11939,22 @@ func awsRestjson1_deserializeDocumentAdditionalAuthenticationProvider(v **types. } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } + case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } + case "userPoolConfig": if err := awsRestjson1_deserializeDocumentCognitoUserPoolConfig(&sv.UserPoolConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11942,6 +12028,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiArn = ptr.String(jtv) } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -11950,6 +12037,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.ApiId = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -11965,14 +12053,17 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } } + case "dns": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Dns, value); err != nil { return err } + case "eventConfig": if err := awsRestjson1_deserializeDocumentEventConfig(&sv.EventConfig, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11981,6 +12072,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.Name = ptr.String(jtv) } + case "ownerContact": if value != nil { jtv, ok := value.(string) @@ -11989,10 +12081,12 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.OwnerContact = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "wafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -12001,6 +12095,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.WafWebAclArn = ptr.String(jtv) } + case "xrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12009,6 +12104,7 @@ func awsRestjson1_deserializeDocumentApi(v **types.Api, value interface{}) error } sv.XrayEnabled = jtv } + default: _, _ = key, value @@ -12048,6 +12144,7 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.ApiId = ptr.String(jtv) } + case "associationStatus": if value != nil { jtv, ok := value.(string) @@ -12056,6 +12153,7 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.AssociationStatus = types.AssociationStatus(jtv) } + case "deploymentDetail": if value != nil { jtv, ok := value.(string) @@ -12064,6 +12162,7 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.DeploymentDetail = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -12072,6 +12171,7 @@ func awsRestjson1_deserializeDocumentApiAssociation(v **types.ApiAssociation, va } sv.DomainName = ptr.String(jtv) } + default: _, _ = key, value @@ -12111,6 +12211,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.ApiCachingBehavior = types.ApiCachingBehavior(jtv) } + case "atRestEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12119,6 +12220,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.AtRestEncryptionEnabled = jtv } + case "healthMetricsConfig": if value != nil { jtv, ok := value.(string) @@ -12127,6 +12229,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.HealthMetricsConfig = types.CacheHealthMetricsConfig(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12135,6 +12238,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Status = types.ApiCacheStatus(jtv) } + case "transitEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12143,6 +12247,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.TransitEncryptionEnabled = jtv } + case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -12155,6 +12260,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Ttl = i64 } + case "type": if value != nil { jtv, ok := value.(string) @@ -12163,6 +12269,7 @@ func awsRestjson1_deserializeDocumentApiCache(v **types.ApiCache, value interfac } sv.Type = types.ApiCacheType(jtv) } + default: _, _ = key, value @@ -12206,6 +12313,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Deletes = i64 } + case "description": if value != nil { jtv, ok := value.(string) @@ -12214,6 +12322,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Description = ptr.String(jtv) } + case "expires": if value != nil { jtv, ok := value.(json.Number) @@ -12226,6 +12335,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Expires = i64 } + case "id": if value != nil { jtv, ok := value.(string) @@ -12234,6 +12344,7 @@ func awsRestjson1_deserializeDocumentApiKey(v **types.ApiKey, value interface{}) } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12273,6 +12384,7 @@ func awsRestjson1_deserializeDocumentApiKeyLimitExceededException(v **types.ApiK } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12346,6 +12458,7 @@ func awsRestjson1_deserializeDocumentApiKeyValidityOutOfBoundsException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12385,6 +12498,7 @@ func awsRestjson1_deserializeDocumentApiLimitExceededException(v **types.ApiLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12458,6 +12572,7 @@ func awsRestjson1_deserializeDocumentAppSyncRuntime(v **types.AppSyncRuntime, va } sv.Name = types.RuntimeName(jtv) } + case "runtimeVersion": if value != nil { jtv, ok := value.(string) @@ -12466,6 +12581,7 @@ func awsRestjson1_deserializeDocumentAppSyncRuntime(v **types.AppSyncRuntime, va } sv.RuntimeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -12505,6 +12621,7 @@ func awsRestjson1_deserializeDocumentAuthMode(v **types.AuthMode, value interfac } sv.AuthType = types.AuthenticationType(jtv) } + default: _, _ = key, value @@ -12578,10 +12695,12 @@ func awsRestjson1_deserializeDocumentAuthorizationConfig(v **types.Authorization } sv.AuthorizationType = types.AuthorizationType(jtv) } + case "awsIamConfig": if err := awsRestjson1_deserializeDocumentAwsIamConfig(&sv.AwsIamConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12621,18 +12740,22 @@ func awsRestjson1_deserializeDocumentAuthProvider(v **types.AuthProvider, value } sv.AuthType = types.AuthenticationType(jtv) } + case "cognitoConfig": if err := awsRestjson1_deserializeDocumentCognitoConfig(&sv.CognitoConfig, value); err != nil { return err } + case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } + case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12706,6 +12829,7 @@ func awsRestjson1_deserializeDocumentAwsIamConfig(v **types.AwsIamConfig, value } sv.SigningRegion = ptr.String(jtv) } + case "signingServiceName": if value != nil { jtv, ok := value.(string) @@ -12714,6 +12838,7 @@ func awsRestjson1_deserializeDocumentAwsIamConfig(v **types.AwsIamConfig, value } sv.SigningServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -12749,6 +12874,7 @@ func awsRestjson1_deserializeDocumentBadRequestDetail(v **types.BadRequestDetail if err := awsRestjson1_deserializeDocumentCodeErrors(&sv.CodeErrors, value); err != nil { return err } + default: _, _ = key, value @@ -12784,6 +12910,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc if err := awsRestjson1_deserializeDocumentBadRequestDetail(&sv.Detail, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12792,6 +12919,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -12800,6 +12928,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Reason = types.BadRequestReason(jtv) } + default: _, _ = key, value @@ -12835,6 +12964,7 @@ func awsRestjson1_deserializeDocumentCachingConfig(v **types.CachingConfig, valu if err := awsRestjson1_deserializeDocumentCachingKeys(&sv.CachingKeys, value); err != nil { return err } + case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -12847,6 +12977,7 @@ func awsRestjson1_deserializeDocumentCachingConfig(v **types.CachingConfig, valu } sv.Ttl = i64 } + default: _, _ = key, value @@ -12922,6 +13053,7 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.ApiId = ptr.String(jtv) } + case "channelNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -12930,6 +13062,7 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.ChannelNamespaceArn = ptr.String(jtv) } + case "codeHandlers": if value != nil { jtv, ok := value.(string) @@ -12938,6 +13071,7 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.CodeHandlers = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -12953,6 +13087,7 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } } + case "lastModified": if value != nil { switch jtv := value.(type) { @@ -12968,6 +13103,7 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12976,18 +13112,22 @@ func awsRestjson1_deserializeDocumentChannelNamespace(v **types.ChannelNamespace } sv.Name = ptr.String(jtv) } + case "publishAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.PublishAuthModes, value); err != nil { return err } + case "subscribeAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.SubscribeAuthModes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13061,10 +13201,12 @@ func awsRestjson1_deserializeDocumentCodeError(v **types.CodeError, value interf } sv.ErrorType = ptr.String(jtv) } + case "location": if err := awsRestjson1_deserializeDocumentCodeErrorLocation(&sv.Location, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -13073,6 +13215,7 @@ func awsRestjson1_deserializeDocumentCodeError(v **types.CodeError, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13116,6 +13259,7 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Column = int32(i64) } + case "line": if value != nil { jtv, ok := value.(json.Number) @@ -13128,6 +13272,7 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Line = int32(i64) } + case "span": if value != nil { jtv, ok := value.(json.Number) @@ -13140,6 +13285,7 @@ func awsRestjson1_deserializeDocumentCodeErrorLocation(v **types.CodeErrorLocati } sv.Span = int32(i64) } + default: _, _ = key, value @@ -13213,6 +13359,7 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.AppIdClientRegex = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13221,6 +13368,7 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.AwsRegion = ptr.String(jtv) } + case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -13229,6 +13377,7 @@ func awsRestjson1_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -13268,6 +13417,7 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.AppIdClientRegex = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13276,6 +13426,7 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.AwsRegion = ptr.String(jtv) } + case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -13284,6 +13435,7 @@ func awsRestjson1_deserializeDocumentCognitoUserPoolConfig(v **types.CognitoUser } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -13323,6 +13475,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13362,6 +13515,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13401,6 +13555,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13409,26 +13564,32 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Description = ptr.String(jtv) } + case "dynamodbConfig": if err := awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(&sv.DynamodbConfig, value); err != nil { return err } + case "elasticsearchConfig": if err := awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(&sv.ElasticsearchConfig, value); err != nil { return err } + case "eventBridgeConfig": if err := awsRestjson1_deserializeDocumentEventBridgeDataSourceConfig(&sv.EventBridgeConfig, value); err != nil { return err } + case "httpConfig": if err := awsRestjson1_deserializeDocumentHttpDataSourceConfig(&sv.HttpConfig, value); err != nil { return err } + case "lambdaConfig": if err := awsRestjson1_deserializeDocumentLambdaDataSourceConfig(&sv.LambdaConfig, value); err != nil { return err } + case "metricsConfig": if value != nil { jtv, ok := value.(string) @@ -13437,6 +13598,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.MetricsConfig = types.DataSourceLevelMetricsConfig(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13445,14 +13607,17 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } + case "openSearchServiceConfig": if err := awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(&sv.OpenSearchServiceConfig, value); err != nil { return err } + case "relationalDatabaseConfig": if err := awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(&sv.RelationalDatabaseConfig, value); err != nil { return err } + case "serviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13626,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ServiceRoleArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13469,6 +13635,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } + default: _, _ = key, value @@ -13504,10 +13671,12 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFields(&sv.Fields, value); err != nil { return err } + case "indexes": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndexes(&sv.Indexes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13516,10 +13685,12 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data } sv.Name = ptr.String(jtv) } + case "primaryKey": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(&sv.PrimaryKey, value); err != nil { return err } + case "sdl": if value != nil { jtv, ok := value.(string) @@ -13528,6 +13699,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModel(v **types.Data } sv.Sdl = ptr.String(jtv) } + default: _, _ = key, value @@ -13571,6 +13743,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelField(v **types } sv.Length = i64 } + case "name": if value != nil { jtv, ok := value.(string) @@ -13579,10 +13752,12 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelField(v **types } sv.Name = ptr.String(jtv) } + case "type": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -13656,6 +13831,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(v **t } sv.Kind = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13664,14 +13840,17 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(v **t } sv.Name = ptr.String(jtv) } + case "type": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldType(&sv.Type, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelFieldTypeValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -13743,6 +13922,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(v **types if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndexFields(&sv.Fields, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13751,6 +13931,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionModelIndex(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13890,6 +14071,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(v **types.Dat if err := awsRestjson1_deserializeDocumentDataSourceIntrospectionModels(&sv.Models, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13898,6 +14080,7 @@ func awsRestjson1_deserializeDocumentDataSourceIntrospectionResult(v **types.Dat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13975,6 +14158,7 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.BaseTableTTL = i64 } + case "deltaSyncTableName": if value != nil { jtv, ok := value.(string) @@ -13983,6 +14167,7 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.DeltaSyncTableName = ptr.String(jtv) } + case "deltaSyncTableTTL": if value != nil { jtv, ok := value.(json.Number) @@ -13995,6 +14180,7 @@ func awsRestjson1_deserializeDocumentDeltaSyncConfig(v **types.DeltaSyncConfig, } sv.DeltaSyncTableTTL = i64 } + default: _, _ = key, value @@ -14034,6 +14220,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.AppsyncDomainName = ptr.String(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -14042,6 +14229,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.CertificateArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14050,6 +14238,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.Description = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -14058,6 +14247,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.DomainName = ptr.String(jtv) } + case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -14066,6 +14256,7 @@ func awsRestjson1_deserializeDocumentDomainNameConfig(v **types.DomainNameConfig } sv.HostedZoneId = ptr.String(jtv) } + default: _, _ = key, value @@ -14139,10 +14330,12 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.AwsRegion = ptr.String(jtv) } + case "deltaSyncConfig": if err := awsRestjson1_deserializeDocumentDeltaSyncConfig(&sv.DeltaSyncConfig, value); err != nil { return err } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -14151,6 +14344,7 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.TableName = ptr.String(jtv) } + case "useCallerCredentials": if value != nil { jtv, ok := value.(bool) @@ -14159,6 +14353,7 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.UseCallerCredentials = jtv } + case "versioned": if value != nil { jtv, ok := value.(bool) @@ -14167,6 +14362,7 @@ func awsRestjson1_deserializeDocumentDynamodbDataSourceConfig(v **types.Dynamodb } sv.Versioned = jtv } + default: _, _ = key, value @@ -14206,6 +14402,7 @@ func awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(v **types.Ela } sv.AwsRegion = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -14214,6 +14411,7 @@ func awsRestjson1_deserializeDocumentElasticsearchDataSourceConfig(v **types.Ela } sv.Endpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -14253,6 +14451,7 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.DataSourceLevelMetricsBehavior = types.DataSourceLevelMetricsBehavior(jtv) } + case "operationLevelMetricsConfig": if value != nil { jtv, ok := value.(string) @@ -14261,6 +14460,7 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.OperationLevelMetricsConfig = types.OperationLevelMetricsConfig(jtv) } + case "resolverLevelMetricsBehavior": if value != nil { jtv, ok := value.(string) @@ -14269,6 +14469,7 @@ func awsRestjson1_deserializeDocumentEnhancedMetricsConfig(v **types.EnhancedMet } sv.ResolverLevelMetricsBehavior = types.ResolverLevelMetricsBehavior(jtv) } + default: _, _ = key, value @@ -14344,6 +14545,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14379,6 +14581,7 @@ func awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(v **types.EvaluateC if err := awsRestjson1_deserializeDocumentCodeErrors(&sv.CodeErrors, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -14387,6 +14590,7 @@ func awsRestjson1_deserializeDocumentEvaluateCodeErrorDetail(v **types.EvaluateC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14426,6 +14630,7 @@ func awsRestjson1_deserializeDocumentEventBridgeDataSourceConfig(v **types.Event } sv.EventBusArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14461,22 +14666,27 @@ func awsRestjson1_deserializeDocumentEventConfig(v **types.EventConfig, value in if err := awsRestjson1_deserializeDocumentAuthProviders(&sv.AuthProviders, value); err != nil { return err } + case "connectionAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.ConnectionAuthModes, value); err != nil { return err } + case "defaultPublishAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.DefaultPublishAuthModes, value); err != nil { return err } + case "defaultSubscribeAuthModes": if err := awsRestjson1_deserializeDocumentAuthModes(&sv.DefaultSubscribeAuthModes, value); err != nil { return err } + case "logConfig": if err := awsRestjson1_deserializeDocumentEventLogConfig(&sv.LogConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14516,6 +14726,7 @@ func awsRestjson1_deserializeDocumentEventLogConfig(v **types.EventLogConfig, va } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -14524,6 +14735,7 @@ func awsRestjson1_deserializeDocumentEventLogConfig(v **types.EventLogConfig, va } sv.LogLevel = types.EventLogLevel(jtv) } + default: _, _ = key, value @@ -14563,6 +14775,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Code = ptr.String(jtv) } + case "dataSourceName": if value != nil { jtv, ok := value.(string) @@ -14571,6 +14784,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.DataSourceName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14579,6 +14793,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Description = ptr.String(jtv) } + case "functionArn": if value != nil { jtv, ok := value.(string) @@ -14587,6 +14802,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionArn = ptr.String(jtv) } + case "functionId": if value != nil { jtv, ok := value.(string) @@ -14595,6 +14811,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionId = ptr.String(jtv) } + case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -14603,6 +14820,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionVersion = ptr.String(jtv) } + case "maxBatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -14615,6 +14833,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MaxBatchSize = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14623,6 +14842,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Name = ptr.String(jtv) } + case "requestMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -14631,6 +14851,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.RequestMappingTemplate = ptr.String(jtv) } + case "responseMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -14639,14 +14860,17 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.ResponseMappingTemplate = ptr.String(jtv) } + case "runtime": if err := awsRestjson1_deserializeDocumentAppSyncRuntime(&sv.Runtime, value); err != nil { return err } + case "syncConfig": if err := awsRestjson1_deserializeDocumentSyncConfig(&sv.SyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14752,6 +14976,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte if err := awsRestjson1_deserializeDocumentAdditionalAuthenticationProviders(&sv.AdditionalAuthenticationProviders, value); err != nil { return err } + case "apiId": if value != nil { jtv, ok := value.(string) @@ -14760,6 +14985,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ApiId = ptr.String(jtv) } + case "apiType": if value != nil { jtv, ok := value.(string) @@ -14768,6 +14994,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ApiType = types.GraphQLApiType(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14776,6 +15003,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Arn = ptr.String(jtv) } + case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -14784,14 +15012,17 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "dns": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Dns, value); err != nil { return err } + case "enhancedMetricsConfig": if err := awsRestjson1_deserializeDocumentEnhancedMetricsConfig(&sv.EnhancedMetricsConfig, value); err != nil { return err } + case "introspectionConfig": if value != nil { jtv, ok := value.(string) @@ -14800,14 +15031,17 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.IntrospectionConfig = types.GraphQLApiIntrospectionConfig(jtv) } + case "lambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(&sv.LambdaAuthorizerConfig, value); err != nil { return err } + case "logConfig": if err := awsRestjson1_deserializeDocumentLogConfig(&sv.LogConfig, value); err != nil { return err } + case "mergedApiExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -14816,6 +15050,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.MergedApiExecutionRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14824,10 +15059,12 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Name = ptr.String(jtv) } + case "openIDConnectConfig": if err := awsRestjson1_deserializeDocumentOpenIDConnectConfig(&sv.OpenIDConnectConfig, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -14836,6 +15073,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Owner = ptr.String(jtv) } + case "ownerContact": if value != nil { jtv, ok := value.(string) @@ -14844,6 +15082,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.OwnerContact = ptr.String(jtv) } + case "queryDepthLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14856,6 +15095,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.QueryDepthLimit = int32(i64) } + case "resolverCountLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14868,18 +15108,22 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.ResolverCountLimit = int32(i64) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "uris": if err := awsRestjson1_deserializeDocumentMapOfStringToString(&sv.Uris, value); err != nil { return err } + case "userPoolConfig": if err := awsRestjson1_deserializeDocumentUserPoolConfig(&sv.UserPoolConfig, value); err != nil { return err } + case "visibility": if value != nil { jtv, ok := value.(string) @@ -14888,6 +15132,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.Visibility = types.GraphQLApiVisibility(jtv) } + case "wafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -14896,6 +15141,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.WafWebAclArn = ptr.String(jtv) } + case "xrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -14904,6 +15150,7 @@ func awsRestjson1_deserializeDocumentGraphqlApi(v **types.GraphqlApi, value inte } sv.XrayEnabled = jtv } + default: _, _ = key, value @@ -14977,6 +15224,7 @@ func awsRestjson1_deserializeDocumentGraphQLSchemaException(v **types.GraphQLSch } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15012,6 +15260,7 @@ func awsRestjson1_deserializeDocumentHttpDataSourceConfig(v **types.HttpDataSour if err := awsRestjson1_deserializeDocumentAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -15020,6 +15269,7 @@ func awsRestjson1_deserializeDocumentHttpDataSourceConfig(v **types.HttpDataSour } sv.Endpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -15059,6 +15309,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15102,6 +15353,7 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.AuthorizerResultTtlInSeconds = int32(i64) } + case "authorizerUri": if value != nil { jtv, ok := value.(string) @@ -15110,6 +15362,7 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.AuthorizerUri = ptr.String(jtv) } + case "identityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -15118,6 +15371,7 @@ func awsRestjson1_deserializeDocumentLambdaAuthorizerConfig(v **types.LambdaAuth } sv.IdentityValidationExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -15157,6 +15411,7 @@ func awsRestjson1_deserializeDocumentLambdaConflictHandlerConfig(v **types.Lambd } sv.LambdaConflictHandlerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15196,6 +15451,7 @@ func awsRestjson1_deserializeDocumentLambdaDataSourceConfig(v **types.LambdaData } sv.LambdaFunctionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15235,6 +15491,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15274,6 +15531,7 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "excludeVerboseContent": if value != nil { jtv, ok := value.(bool) @@ -15282,6 +15540,7 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.ExcludeVerboseContent = jtv } + case "fieldLogLevel": if value != nil { jtv, ok := value.(string) @@ -15290,6 +15549,7 @@ func awsRestjson1_deserializeDocumentLogConfig(v **types.LogConfig, value interf } sv.FieldLogLevel = types.FieldLogLevel(jtv) } + default: _, _ = key, value @@ -15401,6 +15661,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15444,6 +15705,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.AuthTTL = i64 } + case "clientId": if value != nil { jtv, ok := value.(string) @@ -15452,6 +15714,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.ClientId = ptr.String(jtv) } + case "iatTTL": if value != nil { jtv, ok := value.(json.Number) @@ -15464,6 +15727,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.IatTTL = i64 } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -15472,6 +15736,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectConfig(v **types.OpenIDConnect } sv.Issuer = ptr.String(jtv) } + default: _, _ = key, value @@ -15511,6 +15776,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(v **types } sv.AwsRegion = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -15519,6 +15785,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServiceDataSourceConfig(v **types } sv.Endpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -15554,6 +15821,7 @@ func awsRestjson1_deserializeDocumentPipelineConfig(v **types.PipelineConfig, va if err := awsRestjson1_deserializeDocumentFunctionsIds(&sv.Functions, value); err != nil { return err } + default: _, _ = key, value @@ -15593,6 +15861,7 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.AwsRegion = ptr.String(jtv) } + case "awsSecretStoreArn": if value != nil { jtv, ok := value.(string) @@ -15601,6 +15870,7 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.AwsSecretStoreArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -15609,6 +15879,7 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.DatabaseName = ptr.String(jtv) } + case "dbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -15617,6 +15888,7 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.DbClusterIdentifier = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -15625,6 +15897,7 @@ func awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(v **types.RdsHttpEndp } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -15660,6 +15933,7 @@ func awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(v **type if err := awsRestjson1_deserializeDocumentRdsHttpEndpointConfig(&sv.RdsHttpEndpointConfig, value); err != nil { return err } + case "relationalDatabaseSourceType": if value != nil { jtv, ok := value.(string) @@ -15668,6 +15942,7 @@ func awsRestjson1_deserializeDocumentRelationalDatabaseDataSourceConfig(v **type } sv.RelationalDatabaseSourceType = types.RelationalDatabaseSourceType(jtv) } + default: _, _ = key, value @@ -15703,6 +15978,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac if err := awsRestjson1_deserializeDocumentCachingConfig(&sv.CachingConfig, value); err != nil { return err } + case "code": if value != nil { jtv, ok := value.(string) @@ -15711,6 +15987,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.Code = ptr.String(jtv) } + case "dataSourceName": if value != nil { jtv, ok := value.(string) @@ -15719,6 +15996,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.DataSourceName = ptr.String(jtv) } + case "fieldName": if value != nil { jtv, ok := value.(string) @@ -15727,6 +16005,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.FieldName = ptr.String(jtv) } + case "kind": if value != nil { jtv, ok := value.(string) @@ -15735,6 +16014,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.Kind = types.ResolverKind(jtv) } + case "maxBatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -15747,6 +16027,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.MaxBatchSize = int32(i64) } + case "metricsConfig": if value != nil { jtv, ok := value.(string) @@ -15755,10 +16036,12 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.MetricsConfig = types.ResolverLevelMetricsConfig(jtv) } + case "pipelineConfig": if err := awsRestjson1_deserializeDocumentPipelineConfig(&sv.PipelineConfig, value); err != nil { return err } + case "requestMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -15767,6 +16050,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.RequestMappingTemplate = ptr.String(jtv) } + case "resolverArn": if value != nil { jtv, ok := value.(string) @@ -15775,6 +16059,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.ResolverArn = ptr.String(jtv) } + case "responseMappingTemplate": if value != nil { jtv, ok := value.(string) @@ -15783,14 +16068,17 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.ResponseMappingTemplate = ptr.String(jtv) } + case "runtime": if err := awsRestjson1_deserializeDocumentAppSyncRuntime(&sv.Runtime, value); err != nil { return err } + case "syncConfig": if err := awsRestjson1_deserializeDocumentSyncConfig(&sv.SyncConfig, value); err != nil { return err } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -15799,6 +16087,7 @@ func awsRestjson1_deserializeDocumentResolver(v **types.Resolver, value interfac } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -15872,6 +16161,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15911,6 +16201,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.AssociationArn = ptr.String(jtv) } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -15919,6 +16210,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.AssociationId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15927,6 +16219,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.Description = ptr.String(jtv) } + case "lastSuccessfulMergeDate": if value != nil { switch jtv := value.(type) { @@ -15942,6 +16235,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } } + case "mergedApiArn": if value != nil { jtv, ok := value.(string) @@ -15950,6 +16244,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.MergedApiArn = ptr.String(jtv) } + case "mergedApiId": if value != nil { jtv, ok := value.(string) @@ -15958,6 +16253,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.MergedApiId = ptr.String(jtv) } + case "sourceApiArn": if value != nil { jtv, ok := value.(string) @@ -15966,10 +16262,12 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiArn = ptr.String(jtv) } + case "sourceApiAssociationConfig": if err := awsRestjson1_deserializeDocumentSourceApiAssociationConfig(&sv.SourceApiAssociationConfig, value); err != nil { return err } + case "sourceApiAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -15978,6 +16276,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiAssociationStatus = types.SourceApiAssociationStatus(jtv) } + case "sourceApiAssociationStatusDetail": if value != nil { jtv, ok := value.(string) @@ -15986,6 +16285,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiAssociationStatusDetail = ptr.String(jtv) } + case "sourceApiId": if value != nil { jtv, ok := value.(string) @@ -15994,6 +16294,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociation(v **types.SourceApiAss } sv.SourceApiId = ptr.String(jtv) } + default: _, _ = key, value @@ -16033,6 +16334,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationConfig(v **types.Source } sv.MergeType = types.MergeType(jtv) } + default: _, _ = key, value @@ -16072,6 +16374,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.AssociationArn = ptr.String(jtv) } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -16080,6 +16383,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.AssociationId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16088,6 +16392,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.Description = ptr.String(jtv) } + case "mergedApiArn": if value != nil { jtv, ok := value.(string) @@ -16096,6 +16401,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.MergedApiArn = ptr.String(jtv) } + case "mergedApiId": if value != nil { jtv, ok := value.(string) @@ -16104,6 +16410,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.MergedApiId = ptr.String(jtv) } + case "sourceApiArn": if value != nil { jtv, ok := value.(string) @@ -16112,6 +16419,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.SourceApiArn = ptr.String(jtv) } + case "sourceApiId": if value != nil { jtv, ok := value.(string) @@ -16120,6 +16428,7 @@ func awsRestjson1_deserializeDocumentSourceApiAssociationSummary(v **types.Sourc } sv.SourceApiId = ptr.String(jtv) } + default: _, _ = key, value @@ -16193,6 +16502,7 @@ func awsRestjson1_deserializeDocumentSyncConfig(v **types.SyncConfig, value inte } sv.ConflictDetection = types.ConflictDetectionType(jtv) } + case "conflictHandler": if value != nil { jtv, ok := value.(string) @@ -16201,10 +16511,12 @@ func awsRestjson1_deserializeDocumentSyncConfig(v **types.SyncConfig, value inte } sv.ConflictHandler = types.ConflictHandlerType(jtv) } + case "lambdaConflictHandlerConfig": if err := awsRestjson1_deserializeDocumentLambdaConflictHandlerConfig(&sv.LambdaConflictHandlerConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16280,6 +16592,7 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "definition": if value != nil { jtv, ok := value.(string) @@ -16288,6 +16601,7 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Definition = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16296,6 +16610,7 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Description = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -16304,6 +16619,7 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Format = types.TypeDefinitionFormat(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16312,6 +16628,7 @@ func awsRestjson1_deserializeDocumentType(v **types.Type, value interface{}) err } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16385,6 +16702,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16424,6 +16742,7 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.AppIdClientRegex = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -16432,6 +16751,7 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.AwsRegion = ptr.String(jtv) } + case "defaultAction": if value != nil { jtv, ok := value.(string) @@ -16440,6 +16760,7 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.DefaultAction = types.DefaultAction(jtv) } + case "userPoolId": if value != nil { jtv, ok := value.(string) @@ -16448,6 +16769,7 @@ func awsRestjson1_deserializeDocumentUserPoolConfig(v **types.UserPoolConfig, va } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/apptest/deserializers.go b/service/apptest/deserializers.go index b722e7b1df3..909fd9a5d4a 100644 --- a/service/apptest/deserializers.go +++ b/service/apptest/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestCaseOutput(v **CreateTestCaseOu } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -203,6 +204,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestCaseOutput(v **CreateTestCaseOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -373,6 +375,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestConfigurationOutput(v **CreateT } sv.TestConfigurationId = ptr.String(jtv) } + case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -385,6 +388,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestConfigurationOutput(v **CreateT } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -555,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestSuiteOutput(v **CreateTestSuite } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -567,6 +572,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestSuiteOutput(v **CreateTestSuite } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1150,6 +1156,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1158,6 +1165,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Description = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1173,10 +1181,12 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } } + case "latestVersion": if err := awsRestjson1_deserializeDocumentTestCaseLatestVersion(&sv.LatestVersion, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1185,6 +1195,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1193,6 +1204,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.Status = types.TestCaseLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1201,14 +1213,17 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.StatusReason = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "testCaseArn": if value != nil { jtv, ok := value.(string) @@ -1217,6 +1232,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseArn = ptr.String(jtv) } + case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -1225,6 +1241,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1237,6 +1254,7 @@ func awsRestjson1_deserializeOpDocumentGetTestCaseOutput(v **GetTestCaseOutput, } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1411,6 +1429,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1419,6 +1438,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Description = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1434,10 +1454,12 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } } + case "latestVersion": if err := awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(&sv.LatestVersion, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1446,18 +1468,22 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Name = ptr.String(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentProperties(&sv.Properties, value); err != nil { return err } + case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "serviceSettings": if err := awsRestjson1_deserializeDocumentServiceSettings(&sv.ServiceSettings, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1466,6 +1492,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.Status = types.TestConfigurationLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1474,10 +1501,12 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "testConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1486,6 +1515,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationArn = ptr.String(jtv) } + case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -1494,6 +1524,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationId = ptr.String(jtv) } + case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1506,6 +1537,7 @@ func awsRestjson1_deserializeOpDocumentGetTestConfigurationOutput(v **GetTestCon } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1673,6 +1705,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.AfterStep = ptr.Bool(jtv) } + case "beforeStep": if value != nil { jtv, ok := value.(bool) @@ -1681,6 +1714,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.BeforeStep = ptr.Bool(jtv) } + case "runEndTime": if value != nil { switch jtv := value.(type) { @@ -1696,6 +1730,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } } + case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -1711,6 +1746,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1719,6 +1755,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.Status = types.StepRunStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1727,6 +1764,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.StatusReason = ptr.String(jtv) } + case "stepName": if value != nil { jtv, ok := value.(string) @@ -1735,10 +1773,12 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.StepName = ptr.String(jtv) } + case "stepRunSummary": if err := awsRestjson1_deserializeDocumentStepRunSummary(&sv.StepRunSummary, value); err != nil { return err } + case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -1747,6 +1787,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1759,6 +1800,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + case "testRunId": if value != nil { jtv, ok := value.(string) @@ -1767,6 +1809,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestRunId = ptr.String(jtv) } + case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -1775,6 +1818,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1787,6 +1831,7 @@ func awsRestjson1_deserializeOpDocumentGetTestRunStepOutput(v **GetTestRunStepOu } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1950,10 +1995,12 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput if err := awsRestjson1_deserializeDocumentStepList(&sv.AfterSteps, value); err != nil { return err } + case "beforeSteps": if err := awsRestjson1_deserializeDocumentStepList(&sv.BeforeSteps, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1969,6 +2016,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1977,6 +2025,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Description = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1992,10 +2041,12 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } } + case "latestVersion": if err := awsRestjson1_deserializeDocumentTestSuiteLatestVersion(&sv.LatestVersion, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2004,6 +2055,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2012,6 +2064,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.Status = types.TestSuiteLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2020,14 +2073,17 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "testCases": if err := awsRestjson1_deserializeDocumentTestCases(&sv.TestCases, value); err != nil { return err } + case "testSuiteArn": if value != nil { jtv, ok := value.(string) @@ -2036,6 +2092,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteArn = ptr.String(jtv) } + case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -2044,6 +2101,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -2056,6 +2114,7 @@ func awsRestjson1_deserializeOpDocumentGetTestSuiteOutput(v **GetTestSuiteOutput } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2219,6 +2278,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2386,10 +2446,12 @@ func awsRestjson1_deserializeOpDocumentListTestCasesOutput(v **ListTestCasesOutp } sv.NextToken = ptr.String(jtv) } + case "testCases": if err := awsRestjson1_deserializeDocumentTestCaseSummaryList(&sv.TestCases, value); err != nil { return err } + default: _, _ = key, value @@ -2557,10 +2619,12 @@ func awsRestjson1_deserializeOpDocumentListTestConfigurationsOutput(v **ListTest } sv.NextToken = ptr.String(jtv) } + case "testConfigurations": if err := awsRestjson1_deserializeDocumentTestConfigurationList(&sv.TestConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2728,10 +2792,12 @@ func awsRestjson1_deserializeOpDocumentListTestRunsOutput(v **ListTestRunsOutput } sv.NextToken = ptr.String(jtv) } + case "testRuns": if err := awsRestjson1_deserializeDocumentTestRunSummaryList(&sv.TestRuns, value); err != nil { return err } + default: _, _ = key, value @@ -2899,10 +2965,12 @@ func awsRestjson1_deserializeOpDocumentListTestRunStepsOutput(v **ListTestRunSte } sv.NextToken = ptr.String(jtv) } + case "testRunSteps": if err := awsRestjson1_deserializeDocumentTestRunStepSummaryList(&sv.TestRunSteps, value); err != nil { return err } + default: _, _ = key, value @@ -3070,10 +3138,12 @@ func awsRestjson1_deserializeOpDocumentListTestRunTestCasesOutput(v **ListTestRu } sv.NextToken = ptr.String(jtv) } + case "testRunTestCases": if err := awsRestjson1_deserializeDocumentTestCaseRunSummaryList(&sv.TestRunTestCases, value); err != nil { return err } + default: _, _ = key, value @@ -3241,10 +3311,12 @@ func awsRestjson1_deserializeOpDocumentListTestSuitesOutput(v **ListTestSuitesOu } sv.NextToken = ptr.String(jtv) } + case "testSuites": if err := awsRestjson1_deserializeDocumentTestSuiteList(&sv.TestSuites, value); err != nil { return err } + default: _, _ = key, value @@ -3418,6 +3490,7 @@ func awsRestjson1_deserializeOpDocumentStartTestRunOutput(v **StartTestRunOutput } sv.TestRunId = ptr.String(jtv) } + case "testRunStatus": if value != nil { jtv, ok := value.(string) @@ -3426,6 +3499,7 @@ func awsRestjson1_deserializeOpDocumentStartTestRunOutput(v **StartTestRunOutput } sv.TestRunStatus = types.TestRunStatus(jtv) } + default: _, _ = key, value @@ -3799,6 +3873,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestCaseOutput(v **UpdateTestCaseOu } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3811,6 +3886,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestCaseOutput(v **UpdateTestCaseOu } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3981,6 +4057,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestConfigurationOutput(v **UpdateT } sv.TestConfigurationId = ptr.String(jtv) } + case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3993,6 +4070,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestConfigurationOutput(v **UpdateT } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4163,6 +4241,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSuiteOutput(v **UpdateTestSuite } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -4175,6 +4254,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSuiteOutput(v **UpdateTestSuite } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4506,6 +4586,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4545,14 +4626,17 @@ func awsRestjson1_deserializeDocumentBatch(v **types.Batch, value interface{}) e } sv.BatchJobName = ptr.String(jtv) } + case "batchJobParameters": if err := awsRestjson1_deserializeDocumentBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } + case "exportDataSetNames": if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } + default: _, _ = key, value @@ -4628,22 +4712,27 @@ func awsRestjson1_deserializeDocumentBatchStepInput(v **types.BatchStepInput, va } sv.BatchJobName = ptr.String(jtv) } + case "batchJobParameters": if err := awsRestjson1_deserializeDocumentBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } + case "exportDataSetNames": if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } + case "resource": if err := awsRestjson1_deserializeDocumentMainframeResourceSummary(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -4679,6 +4768,7 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, if err := awsRestjson1_deserializeDocumentDataSetList(&sv.DataSetDetails, value); err != nil { return err } + case "dataSetExportLocation": if value != nil { jtv, ok := value.(string) @@ -4687,6 +4777,7 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, } sv.DataSetExportLocation = ptr.String(jtv) } + case "dmsOutputLocation": if value != nil { jtv, ok := value.(string) @@ -4695,6 +4786,7 @@ func awsRestjson1_deserializeDocumentBatchStepOutput(v **types.BatchStepOutput, } sv.DmsOutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -4730,10 +4822,12 @@ func awsRestjson1_deserializeDocumentBatchSummary(v **types.BatchSummary, value if err := awsRestjson1_deserializeDocumentBatchStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentBatchStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -4769,6 +4863,7 @@ func awsRestjson1_deserializeDocumentCloudFormation(v **types.CloudFormation, va if err := awsRestjson1_deserializeDocumentProperties(&sv.Parameters, value); err != nil { return err } + case "templateLocation": if value != nil { jtv, ok := value.(string) @@ -4777,6 +4872,7 @@ func awsRestjson1_deserializeDocumentCloudFormation(v **types.CloudFormation, va } sv.TemplateLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -4816,6 +4912,7 @@ func awsRestjson1_deserializeDocumentCloudFormationAction(v **types.CloudFormati } sv.ActionType = types.CloudFormationActionType(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -4824,6 +4921,7 @@ func awsRestjson1_deserializeDocumentCloudFormationAction(v **types.CloudFormati } sv.Resource = ptr.String(jtv) } + default: _, _ = key, value @@ -4909,10 +5007,12 @@ func awsRestjson1_deserializeDocumentCompareAction(v **types.CompareAction, valu if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + case "output": if err := awsRestjson1_deserializeDocumentOutput(&sv.Output, value); err != nil { return err } + default: _, _ = key, value @@ -4948,6 +5048,7 @@ func awsRestjson1_deserializeDocumentCompareActionSummary(v **types.CompareActio if err := awsRestjson1_deserializeDocumentFile(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -4987,6 +5088,7 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.OutputLocation = ptr.String(jtv) } + case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -4995,10 +5097,12 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.SourceLocation = ptr.String(jtv) } + case "sourceMetadata": if err := awsRestjson1_deserializeDocumentSourceDatabaseMetadata(&sv.SourceMetadata, value); err != nil { return err } + case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -5007,10 +5111,12 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(v **types.Compa } sv.TargetLocation = ptr.String(jtv) } + case "targetMetadata": if err := awsRestjson1_deserializeDocumentTargetDatabaseMetadata(&sv.TargetMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -5050,6 +5156,7 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(v **types.Comp } sv.ComparisonOutputLocation = ptr.String(jtv) } + case "comparisonStatus": if value != nil { jtv, ok := value.(string) @@ -5058,6 +5165,7 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(v **types.Comp } sv.ComparisonStatus = types.ComparisonStatusEnum(jtv) } + default: _, _ = key, value @@ -5093,10 +5201,12 @@ func awsRestjson1_deserializeDocumentCompareDatabaseCDCSummary(v **types.Compare if err := awsRestjson1_deserializeDocumentCompareDatabaseCDCStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentCompareDatabaseCDCStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -5132,6 +5242,7 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD if err := awsRestjson1_deserializeDocumentDataSetList(&sv.SourceDataSets, value); err != nil { return err } + case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -5140,10 +5251,12 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD } sv.SourceLocation = ptr.String(jtv) } + case "targetDataSets": if err := awsRestjson1_deserializeDocumentDataSetList(&sv.TargetDataSets, value); err != nil { return err } + case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -5152,6 +5265,7 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepInput(v **types.CompareD } sv.TargetLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -5191,6 +5305,7 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(v **types.Compare } sv.ComparisonOutputLocation = ptr.String(jtv) } + case "comparisonStatus": if value != nil { jtv, ok := value.(string) @@ -5199,6 +5314,7 @@ func awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(v **types.Compare } sv.ComparisonStatus = types.ComparisonStatusEnum(jtv) } + default: _, _ = key, value @@ -5234,10 +5350,12 @@ func awsRestjson1_deserializeDocumentCompareDataSetsSummary(v **types.CompareDat if err := awsRestjson1_deserializeDocumentCompareDataSetsStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentCompareDataSetsStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -5327,6 +5445,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5335,6 +5454,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5343,6 +5463,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5378,6 +5499,7 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(v **types.Cre if err := awsRestjson1_deserializeDocumentProperties(&sv.Parameters, value); err != nil { return err } + case "templateLocation": if value != nil { jtv, ok := value.(string) @@ -5386,6 +5508,7 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(v **types.Cre } sv.TemplateLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -5421,6 +5544,7 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(v **types.Cr if err := awsRestjson1_deserializeDocumentProperties(&sv.Exports, value); err != nil { return err } + case "stackId": if value != nil { jtv, ok := value.(string) @@ -5429,6 +5553,7 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(v **types.Cr } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -5464,10 +5589,12 @@ func awsRestjson1_deserializeDocumentCreateCloudFormationSummary(v **types.Creat if err := awsRestjson1_deserializeDocumentCreateCloudFormationStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentCreateCloudFormationStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -5503,10 +5630,12 @@ func awsRestjson1_deserializeDocumentDatabaseCDC(v **types.DatabaseCDC, value in if err := awsRestjson1_deserializeDocumentSourceDatabaseMetadata(&sv.SourceMetadata, value); err != nil { return err } + case "targetMetadata": if err := awsRestjson1_deserializeDocumentTargetDatabaseMetadata(&sv.TargetMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -5546,6 +5675,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Ccsid = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -5554,6 +5684,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Format = types.Format(jtv) } + case "length": if value != nil { jtv, ok := value.(json.Number) @@ -5566,6 +5697,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Length = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5574,6 +5706,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5582,6 +5715,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Type = types.DataSetType(jtv) } + default: _, _ = key, value @@ -5655,6 +5789,7 @@ func awsRestjson1_deserializeDocumentDeleteCloudFormationStepInput(v **types.Del } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -5721,10 +5856,12 @@ func awsRestjson1_deserializeDocumentDeleteCloudFormationSummary(v **types.Delet if err := awsRestjson1_deserializeDocumentDeleteCloudFormationStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentDeleteCloudFormationStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -5922,6 +6059,7 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf if err := awsRestjson1_deserializeDocumentFileMetadata(&sv.FileMetadata, value); err != nil { return err } + case "sourceLocation": if value != nil { jtv, ok := value.(string) @@ -5930,6 +6068,7 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf } sv.SourceLocation = ptr.String(jtv) } + case "targetLocation": if value != nil { jtv, ok := value.(string) @@ -5938,6 +6077,7 @@ func awsRestjson1_deserializeDocumentInputFile(v **types.InputFile, value interf } sv.TargetLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -5977,6 +6117,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5989,6 +6130,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6028,6 +6170,7 @@ func awsRestjson1_deserializeDocumentM2ManagedActionProperties(v **types.M2Manag } sv.ForceStop = ptr.Bool(jtv) } + case "importDataSetLocation": if value != nil { jtv, ok := value.(string) @@ -6036,6 +6179,7 @@ func awsRestjson1_deserializeDocumentM2ManagedActionProperties(v **types.M2Manag } sv.ImportDataSetLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -6075,6 +6219,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.ApplicationId = ptr.String(jtv) } + case "listenerPort": if value != nil { jtv, ok := value.(string) @@ -6083,6 +6228,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.ListenerPort = ptr.String(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6091,6 +6237,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.Runtime = types.M2ManagedRuntime(jtv) } + case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6099,6 +6246,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplication(v **types.M2ManagedApp } sv.VpcEndpointServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6138,10 +6286,12 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationAction(v **types.M2Mana } sv.ActionType = types.M2ManagedActionType(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentM2ManagedActionProperties(&sv.Properties, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -6150,6 +6300,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationAction(v **types.M2Mana } sv.Resource = ptr.String(jtv) } + default: _, _ = key, value @@ -6189,6 +6340,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ActionType = types.M2ManagedActionType(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -6197,6 +6349,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ApplicationId = ptr.String(jtv) } + case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6209,10 +6362,12 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.ListenerPort = ptr.Int32(int32(i64)) } + case "properties": if err := awsRestjson1_deserializeDocumentM2ManagedActionProperties(&sv.Properties, value); err != nil { return err } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6221,6 +6376,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.Runtime = ptr.String(jtv) } + case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6229,6 +6385,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(v **types.M2M } sv.VpcEndpointServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6264,6 +6421,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepOutput(v **types.M2 if err := awsRestjson1_deserializeDocumentProperties(&sv.ImportDataSetSummary, value); err != nil { return err } + default: _, _ = key, value @@ -6299,10 +6457,12 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationStepSummary(v **types.M if err := awsRestjson1_deserializeDocumentM2ManagedApplicationStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentM2ManagedApplicationStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -6342,6 +6502,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.ApplicationId = ptr.String(jtv) } + case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6354,6 +6515,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.ListenerPort = ptr.Int32(int32(i64)) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6362,6 +6524,7 @@ func awsRestjson1_deserializeDocumentM2ManagedApplicationSummary(v **types.M2Man } sv.Runtime = types.M2ManagedRuntime(jtv) } + default: _, _ = key, value @@ -6401,6 +6564,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.ListenerPort = ptr.String(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6409,6 +6573,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.Runtime = types.M2NonManagedRuntime(jtv) } + case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6417,6 +6582,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.VpcEndpointServiceName = ptr.String(jtv) } + case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6425,6 +6591,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplication(v **types.M2NonMana } sv.WebAppName = ptr.String(jtv) } + default: _, _ = key, value @@ -6464,6 +6631,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationAction(v **types.M2N } sv.ActionType = types.M2NonManagedActionType(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -6472,6 +6640,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationAction(v **types.M2N } sv.Resource = ptr.String(jtv) } + default: _, _ = key, value @@ -6511,6 +6680,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.ActionType = types.M2NonManagedActionType(jtv) } + case "listenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -6523,6 +6693,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.ListenerPort = ptr.Int32(int32(i64)) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6531,6 +6702,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.Runtime = types.M2NonManagedRuntime(jtv) } + case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6711,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.VpcEndpointServiceName = ptr.String(jtv) } + case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6547,6 +6720,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(v **types. } sv.WebAppName = ptr.String(jtv) } + default: _, _ = key, value @@ -6613,10 +6787,12 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationStepSummary(v **type if err := awsRestjson1_deserializeDocumentM2NonManagedApplicationStepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentM2NonManagedApplicationStepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -6660,6 +6836,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.ListenerPort = ptr.Int32(int32(i64)) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -6668,6 +6845,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.Runtime = types.M2NonManagedRuntime(jtv) } + case "vpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6854,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.VpcEndpointServiceName = ptr.String(jtv) } + case "webAppName": if value != nil { jtv, ok := value.(string) @@ -6684,6 +6863,7 @@ func awsRestjson1_deserializeDocumentM2NonManagedApplicationSummary(v **types.M2 } sv.WebAppName = ptr.String(jtv) } + default: _, _ = key, value @@ -6719,10 +6899,12 @@ func awsRestjson1_deserializeDocumentMainframeAction(v **types.MainframeAction, if err := awsRestjson1_deserializeDocumentMainframeActionType(&sv.ActionType, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -6731,6 +6913,7 @@ func awsRestjson1_deserializeDocumentMainframeAction(v **types.MainframeAction, } sv.Resource = ptr.String(jtv) } + default: _, _ = key, value @@ -6770,6 +6953,7 @@ func awsRestjson1_deserializeDocumentMainframeActionProperties(v **types.Mainfra } sv.DmsTaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6999,6 +7183,7 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.FileLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -7074,10 +7259,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + case "type": if err := awsRestjson1_deserializeDocumentResourceType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -7269,6 +7456,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7277,6 +7465,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7285,6 +7474,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7384,6 +7574,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptLocation = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7392,6 +7583,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Type = types.ScriptType(jtv) } + default: _, _ = key, value @@ -7431,6 +7623,7 @@ func awsRestjson1_deserializeDocumentScriptSummary(v **types.ScriptSummary, valu } sv.ScriptLocation = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7439,6 +7632,7 @@ func awsRestjson1_deserializeDocumentScriptSummary(v **types.ScriptSummary, valu } sv.Type = types.ScriptType(jtv) } + default: _, _ = key, value @@ -7478,6 +7672,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7486,6 +7681,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7494,6 +7690,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7502,6 +7699,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7708,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7549,6 +7748,7 @@ func awsRestjson1_deserializeDocumentServiceSettings(v **types.ServiceSettings, } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -7588,6 +7788,7 @@ func awsRestjson1_deserializeDocumentSourceDatabaseMetadata(v **types.SourceData } sv.CaptureTool = types.CaptureTool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7596,6 +7797,7 @@ func awsRestjson1_deserializeDocumentSourceDatabaseMetadata(v **types.SourceData } sv.Type = types.SourceDatabase(jtv) } + default: _, _ = key, value @@ -7631,6 +7833,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err if err := awsRestjson1_deserializeDocumentStepAction(&sv.Action, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -7639,6 +7842,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7647,6 +7851,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7870,6 +8075,7 @@ func awsRestjson1_deserializeDocumentTargetDatabaseMetadata(v **types.TargetData } sv.CaptureTool = types.CaptureTool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7878,6 +8084,7 @@ func awsRestjson1_deserializeDocumentTargetDatabaseMetadata(v **types.TargetData } sv.Type = types.TargetDatabase(jtv) } + default: _, _ = key, value @@ -7917,6 +8124,7 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.Status = types.TestCaseLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7925,6 +8133,7 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.StatusReason = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -7937,6 +8146,7 @@ func awsRestjson1_deserializeDocumentTestCaseLatestVersion(v **types.TestCaseLat } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8019,6 +8229,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } } + case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -8034,6 +8245,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8042,6 +8254,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.Status = types.TestCaseRunStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8263,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.StatusReason = ptr.String(jtv) } + case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8058,6 +8272,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8070,6 +8285,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + case "testRunId": if value != nil { jtv, ok := value.(string) @@ -8078,6 +8294,7 @@ func awsRestjson1_deserializeDocumentTestCaseRunSummary(v **types.TestCaseRunSum } sv.TestRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -8196,6 +8413,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -8211,6 +8429,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } } + case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8223,6 +8442,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.LatestVersion = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8231,6 +8451,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8239,6 +8460,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.Status = types.TestCaseLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8247,6 +8469,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.StatusReason = ptr.String(jtv) } + case "testCaseArn": if value != nil { jtv, ok := value.(string) @@ -8255,6 +8478,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.TestCaseArn = ptr.String(jtv) } + case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8263,6 +8487,7 @@ func awsRestjson1_deserializeDocumentTestCaseSummary(v **types.TestCaseSummary, } sv.TestCaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -8336,6 +8561,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.Status = types.TestConfigurationLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8570,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.StatusReason = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -8356,6 +8583,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationLatestVersion(v **types.Te } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8436,6 +8664,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -8451,6 +8680,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } } + case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8463,6 +8693,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.LatestVersion = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8471,6 +8702,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8479,6 +8711,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.Status = types.TestConfigurationLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8487,6 +8720,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.StatusReason = ptr.String(jtv) } + case "testConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8495,6 +8729,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.TestConfigurationArn = ptr.String(jtv) } + case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8503,6 +8738,7 @@ func awsRestjson1_deserializeDocumentTestConfigurationSummary(v **types.TestConf } sv.TestConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -8542,6 +8778,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.AfterStep = ptr.Bool(jtv) } + case "beforeStep": if value != nil { jtv, ok := value.(bool) @@ -8550,6 +8787,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.BeforeStep = ptr.Bool(jtv) } + case "runEndTime": if value != nil { switch jtv := value.(type) { @@ -8565,6 +8803,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } } + case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -8580,6 +8819,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8588,6 +8828,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.Status = types.StepRunStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8596,6 +8837,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.StatusReason = ptr.String(jtv) } + case "stepName": if value != nil { jtv, ok := value.(string) @@ -8604,6 +8846,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.StepName = ptr.String(jtv) } + case "testCaseId": if value != nil { jtv, ok := value.(string) @@ -8612,6 +8855,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestCaseId = ptr.String(jtv) } + case "testCaseVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8624,6 +8868,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestCaseVersion = ptr.Int32(int32(i64)) } + case "testRunId": if value != nil { jtv, ok := value.(string) @@ -8632,6 +8877,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestRunId = ptr.String(jtv) } + case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -8640,6 +8886,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8652,6 +8899,7 @@ func awsRestjson1_deserializeDocumentTestRunStepSummary(v **types.TestRunStepSum } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8732,6 +8980,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } } + case "runStartTime": if value != nil { switch jtv := value.(type) { @@ -8747,6 +8996,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8755,6 +9005,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.Status = types.TestRunStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8763,6 +9014,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.StatusReason = ptr.String(jtv) } + case "testConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8771,6 +9023,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestConfigurationId = ptr.String(jtv) } + case "testConfigurationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8783,6 +9036,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestConfigurationVersion = ptr.Int32(int32(i64)) } + case "testRunArn": if value != nil { jtv, ok := value.(string) @@ -8791,6 +9045,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestRunArn = ptr.String(jtv) } + case "testRunId": if value != nil { jtv, ok := value.(string) @@ -8799,6 +9054,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestRunId = ptr.String(jtv) } + case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -8807,6 +9063,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestSuiteId = ptr.String(jtv) } + case "testSuiteVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8819,6 +9076,7 @@ func awsRestjson1_deserializeDocumentTestRunSummary(v **types.TestRunSummary, va } sv.TestSuiteVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8892,6 +9150,7 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.Status = types.TestSuiteLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8900,6 +9159,7 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.StatusReason = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -8912,6 +9172,7 @@ func awsRestjson1_deserializeDocumentTestSuiteLatestVersion(v **types.TestSuiteL } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8992,6 +9253,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -9007,6 +9269,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } } + case "latestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9019,6 +9282,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.LatestVersion = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9027,6 +9291,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9035,6 +9300,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.Status = types.TestSuiteLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9043,6 +9309,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.StatusReason = ptr.String(jtv) } + case "testSuiteArn": if value != nil { jtv, ok := value.(string) @@ -9051,6 +9318,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.TestSuiteArn = ptr.String(jtv) } + case "testSuiteId": if value != nil { jtv, ok := value.(string) @@ -9059,6 +9327,7 @@ func awsRestjson1_deserializeDocumentTestSuiteSummary(v **types.TestSuiteSummary } sv.TestSuiteId = ptr.String(jtv) } + default: _, _ = key, value @@ -9098,6 +9367,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9106,6 +9376,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9118,6 +9389,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9126,6 +9398,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9161,10 +9434,12 @@ func awsRestjson1_deserializeDocumentTN3270(v **types.TN3270, value interface{}) if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } + case "script": if err := awsRestjson1_deserializeDocumentScript(&sv.Script, value); err != nil { return err } + default: _, _ = key, value @@ -9200,18 +9475,22 @@ func awsRestjson1_deserializeDocumentTN3270StepInput(v **types.TN3270StepInput, if err := awsRestjson1_deserializeDocumentExportDataSetNames(&sv.ExportDataSetNames, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentMainframeActionProperties(&sv.Properties, value); err != nil { return err } + case "resource": if err := awsRestjson1_deserializeDocumentMainframeResourceSummary(&sv.Resource, value); err != nil { return err } + case "script": if err := awsRestjson1_deserializeDocumentScriptSummary(&sv.Script, value); err != nil { return err } + default: _, _ = key, value @@ -9247,6 +9526,7 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput if err := awsRestjson1_deserializeDocumentDataSetList(&sv.DataSetDetails, value); err != nil { return err } + case "dataSetExportLocation": if value != nil { jtv, ok := value.(string) @@ -9255,6 +9535,7 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.DataSetExportLocation = ptr.String(jtv) } + case "dmsOutputLocation": if value != nil { jtv, ok := value.(string) @@ -9263,6 +9544,7 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.DmsOutputLocation = ptr.String(jtv) } + case "scriptOutputLocation": if value != nil { jtv, ok := value.(string) @@ -9271,6 +9553,7 @@ func awsRestjson1_deserializeDocumentTN3270StepOutput(v **types.TN3270StepOutput } sv.ScriptOutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -9306,10 +9589,12 @@ func awsRestjson1_deserializeDocumentTN3270Summary(v **types.TN3270Summary, valu if err := awsRestjson1_deserializeDocumentTN3270StepInput(&sv.StepInput, value); err != nil { return err } + case "stepOutput": if err := awsRestjson1_deserializeDocumentTN3270StepOutput(&sv.StepOutput, value); err != nil { return err } + default: _, _ = key, value @@ -9345,6 +9630,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9353,6 +9639,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9361,6 +9648,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -9400,6 +9688,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9408,6 +9697,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/arczonalshift/deserializers.go b/service/arczonalshift/deserializers.go index 2d2e5220f81..7df9a293c4c 100644 --- a/service/arczonalshift/deserializers.go +++ b/service/arczonalshift/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.AwayFrom = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -199,6 +200,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.Comment = ptr.String(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -214,6 +216,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -222,6 +225,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.ResourceIdentifier = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -237,6 +241,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } } + case "status": if value != nil { jtv, ok := value.(string) @@ -245,6 +250,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.Status = types.ZonalShiftStatus(jtv) } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -253,6 +259,7 @@ func awsRestjson1_deserializeOpDocumentCancelZonalShiftOutput(v **CancelZonalShi } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value @@ -423,6 +430,7 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -431,10 +439,12 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } + case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -443,6 +453,7 @@ func awsRestjson1_deserializeOpDocumentCreatePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + default: _, _ = key, value @@ -613,6 +624,7 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -621,6 +633,7 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -629,6 +642,7 @@ func awsRestjson1_deserializeOpDocumentDeletePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + default: _, _ = key, value @@ -790,6 +804,7 @@ func awsRestjson1_deserializeOpDocumentGetAutoshiftObserverNotificationStatusOut } sv.Status = types.AutoshiftObserverNotificationStatus(jtv) } + default: _, _ = key, value @@ -953,6 +968,7 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe if err := awsRestjson1_deserializeDocumentAppliedWeights(&sv.AppliedWeights, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -961,10 +977,12 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.Arn = ptr.String(jtv) } + case "autoshifts": if err := awsRestjson1_deserializeDocumentAutoshiftsInResource(&sv.Autoshifts, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -973,10 +991,12 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.Name = ptr.String(jtv) } + case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -985,10 +1005,12 @@ func awsRestjson1_deserializeOpDocumentGetManagedResourceOutput(v **GetManagedRe } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + case "zonalShifts": if err := awsRestjson1_deserializeDocumentZonalShiftsInResource(&sv.ZonalShifts, value); err != nil { return err } + default: _, _ = key, value @@ -1149,6 +1171,7 @@ func awsRestjson1_deserializeOpDocumentListAutoshiftsOutput(v **ListAutoshiftsOu if err := awsRestjson1_deserializeDocumentAutoshiftSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1157,6 +1180,7 @@ func awsRestjson1_deserializeOpDocumentListAutoshiftsOutput(v **ListAutoshiftsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1317,6 +1341,7 @@ func awsRestjson1_deserializeOpDocumentListManagedResourcesOutput(v **ListManage if err := awsRestjson1_deserializeDocumentManagedResourceSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1325,6 +1350,7 @@ func awsRestjson1_deserializeOpDocumentListManagedResourcesOutput(v **ListManage } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1485,6 +1511,7 @@ func awsRestjson1_deserializeOpDocumentListZonalShiftsOutput(v **ListZonalShifts if err := awsRestjson1_deserializeDocumentZonalShiftSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1493,6 +1520,7 @@ func awsRestjson1_deserializeOpDocumentListZonalShiftsOutput(v **ListZonalShifts } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1663,6 +1691,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.AwayFrom = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -1671,6 +1700,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.Comment = ptr.String(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -1686,6 +1716,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -1694,6 +1725,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.ResourceIdentifier = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -1709,6 +1741,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1717,6 +1750,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.Status = types.ZonalShiftStatus(jtv) } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -1725,6 +1759,7 @@ func awsRestjson1_deserializeOpDocumentStartZonalShiftOutput(v **StartZonalShift } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value @@ -1889,6 +1924,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAutoshiftObserverNotificationStatus } sv.Status = types.AutoshiftObserverNotificationStatus(jtv) } + default: _, _ = key, value @@ -2059,6 +2095,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2067,10 +2104,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } + case "practiceRunConfiguration": if err := awsRestjson1_deserializeDocumentPracticeRunConfiguration(&sv.PracticeRunConfiguration, value); err != nil { return err } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -2079,6 +2118,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePracticeRunConfigurationOutput(v ** } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + default: _, _ = key, value @@ -2249,6 +2289,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalAutoshiftConfigurationOutput(v } sv.ResourceIdentifier = ptr.String(jtv) } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -2257,6 +2298,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalAutoshiftConfigurationOutput(v } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + default: _, _ = key, value @@ -2427,6 +2469,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.AwayFrom = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -2435,6 +2478,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.Comment = ptr.String(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -2450,6 +2494,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -2458,6 +2503,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.ResourceIdentifier = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -2473,6 +2519,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } } + case "status": if value != nil { jtv, ok := value.(string) @@ -2481,6 +2528,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.Status = types.ZonalShiftStatus(jtv) } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -2489,6 +2537,7 @@ func awsRestjson1_deserializeOpDocumentUpdateZonalShiftOutput(v **UpdateZonalShi } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value @@ -2744,6 +2793,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2844,6 +2894,7 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } sv.AppliedStatus = types.AutoshiftAppliedStatus(jtv) } + case "awayFrom": if value != nil { jtv, ok := value.(string) @@ -2852,6 +2903,7 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } sv.AwayFrom = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -2867,6 +2919,7 @@ func awsRestjson1_deserializeDocumentAutoshiftInResource(v **types.AutoshiftInRe } } + default: _, _ = key, value @@ -2974,6 +3027,7 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } sv.AwayFrom = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2989,6 +3043,7 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3004,6 +3059,7 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3012,6 +3068,7 @@ func awsRestjson1_deserializeDocumentAutoshiftSummary(v **types.AutoshiftSummary } sv.Status = types.AutoshiftExecutionStatus(jtv) } + default: _, _ = key, value @@ -3159,6 +3216,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3167,6 +3225,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -3175,6 +3234,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value @@ -3214,6 +3274,7 @@ func awsRestjson1_deserializeDocumentControlCondition(v **types.ControlCondition } sv.AlarmIdentifier = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3222,6 +3283,7 @@ func awsRestjson1_deserializeDocumentControlCondition(v **types.ControlCondition } sv.Type = types.ControlConditionType(jtv) } + default: _, _ = key, value @@ -3295,6 +3357,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3364,6 +3427,7 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes if err := awsRestjson1_deserializeDocumentAppliedWeights(&sv.AppliedWeights, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3372,14 +3436,17 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.Arn = ptr.String(jtv) } + case "autoshifts": if err := awsRestjson1_deserializeDocumentAutoshiftsInResource(&sv.Autoshifts, value); err != nil { return err } + case "availabilityZones": if err := awsRestjson1_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3388,6 +3455,7 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.Name = ptr.String(jtv) } + case "practiceRunStatus": if value != nil { jtv, ok := value.(string) @@ -3396,6 +3464,7 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.PracticeRunStatus = types.ZonalAutoshiftStatus(jtv) } + case "zonalAutoshiftStatus": if value != nil { jtv, ok := value.(string) @@ -3404,10 +3473,12 @@ func awsRestjson1_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.ZonalAutoshiftStatus = types.ZonalAutoshiftStatus(jtv) } + case "zonalShifts": if err := awsRestjson1_deserializeDocumentZonalShiftsInResource(&sv.ZonalShifts, value); err != nil { return err } + default: _, _ = key, value @@ -3443,18 +3514,22 @@ func awsRestjson1_deserializeDocumentPracticeRunConfiguration(v **types.Practice if err := awsRestjson1_deserializeDocumentBlockedDates(&sv.BlockedDates, value); err != nil { return err } + case "blockedWindows": if err := awsRestjson1_deserializeDocumentBlockedWindows(&sv.BlockedWindows, value); err != nil { return err } + case "blockingAlarms": if err := awsRestjson1_deserializeDocumentControlConditions(&sv.BlockingAlarms, value); err != nil { return err } + case "outcomeAlarms": if err := awsRestjson1_deserializeDocumentControlConditions(&sv.OutcomeAlarms, value); err != nil { return err } + default: _, _ = key, value @@ -3494,6 +3569,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3533,6 +3609,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3572,6 +3649,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3580,6 +3658,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -3619,6 +3698,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.AppliedStatus = types.AppliedStatus(jtv) } + case "awayFrom": if value != nil { jtv, ok := value.(string) @@ -3627,6 +3707,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.AwayFrom = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -3635,6 +3716,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.Comment = ptr.String(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -3650,6 +3732,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } } + case "practiceRunOutcome": if value != nil { jtv, ok := value.(string) @@ -3658,6 +3741,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.PracticeRunOutcome = types.PracticeRunOutcome(jtv) } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -3666,6 +3750,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.ResourceIdentifier = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3681,6 +3766,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -3689,6 +3775,7 @@ func awsRestjson1_deserializeDocumentZonalShiftInResource(v **types.ZonalShiftIn } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value @@ -3796,6 +3883,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.AwayFrom = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -3804,6 +3892,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.Comment = ptr.String(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -3819,6 +3908,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } } + case "practiceRunOutcome": if value != nil { jtv, ok := value.(string) @@ -3827,6 +3917,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.PracticeRunOutcome = types.PracticeRunOutcome(jtv) } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -3835,6 +3926,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.ResourceIdentifier = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3850,6 +3942,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3951,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.Status = types.ZonalShiftStatus(jtv) } + case "zonalShiftId": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3960,7 @@ func awsRestjson1_deserializeDocumentZonalShiftSummary(v **types.ZonalShiftSumma } sv.ZonalShiftId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/artifact/deserializers.go b/service/artifact/deserializers.go index fa752c3c3bc..7477cb88d49 100644 --- a/service/artifact/deserializers.go +++ b/service/artifact/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -363,6 +364,7 @@ func awsRestjson1_deserializeOpDocumentGetReportOutput(v **GetReportOutput, valu } sv.DocumentPresignedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -529,6 +531,7 @@ func awsRestjson1_deserializeOpDocumentGetReportMetadataOutput(v **GetReportMeta if err := awsRestjson1_deserializeDocumentReportDetail(&sv.ReportDetails, value); err != nil { return err } + default: _, _ = key, value @@ -702,6 +705,7 @@ func awsRestjson1_deserializeOpDocumentGetTermForReportOutput(v **GetTermForRepo } sv.DocumentPresignedUrl = ptr.String(jtv) } + case "termToken": if value != nil { jtv, ok := value.(string) @@ -710,6 +714,7 @@ func awsRestjson1_deserializeOpDocumentGetTermForReportOutput(v **GetTermForRepo } sv.TermToken = ptr.String(jtv) } + default: _, _ = key, value @@ -880,10 +885,12 @@ func awsRestjson1_deserializeOpDocumentListReportsOutput(v **ListReportsOutput, } sv.NextToken = ptr.String(jtv) } + case "reports": if err := awsRestjson1_deserializeDocumentReportsList(&sv.Reports, value); err != nil { return err } + default: _, _ = key, value @@ -1053,6 +1060,7 @@ func awsRestjson1_deserializeOpDocumentPutAccountSettingsOutput(v **PutAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -1384,6 +1392,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1423,6 +1432,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.NotificationSubscriptionStatus = types.NotificationSubscriptionStatus(jtv) } + default: _, _ = key, value @@ -1462,6 +1472,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1470,6 +1481,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1478,6 +1490,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -1517,6 +1530,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1529,6 +1543,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1568,6 +1583,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.AcceptanceType = types.AcceptanceType(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1576,6 +1592,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Arn = ptr.String(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -1584,6 +1601,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Category = ptr.String(jtv) } + case "companyName": if value != nil { jtv, ok := value.(string) @@ -1592,6 +1610,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.CompanyName = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1604,6 +1623,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.CreatedAt = ptr.Time(t) } + case "deletedAt": if value != nil { jtv, ok := value.(string) @@ -1616,6 +1636,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.DeletedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1624,6 +1645,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1632,6 +1654,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Id = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { jtv, ok := value.(string) @@ -1644,6 +1667,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.LastModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1652,6 +1676,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Name = ptr.String(jtv) } + case "periodEnd": if value != nil { jtv, ok := value.(string) @@ -1664,6 +1689,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.PeriodEnd = ptr.Time(t) } + case "periodStart": if value != nil { jtv, ok := value.(string) @@ -1676,6 +1702,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.PeriodStart = ptr.Time(t) } + case "productName": if value != nil { jtv, ok := value.(string) @@ -1684,6 +1711,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.ProductName = ptr.String(jtv) } + case "sequenceNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1696,6 +1724,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.SequenceNumber = ptr.Int64(i64) } + case "series": if value != nil { jtv, ok := value.(string) @@ -1704,6 +1733,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Series = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1712,6 +1742,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.State = types.PublishedState(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1720,6 +1751,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.StatusMessage = ptr.String(jtv) } + case "termArn": if value != nil { jtv, ok := value.(string) @@ -1728,6 +1760,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.TermArn = ptr.String(jtv) } + case "uploadState": if value != nil { jtv, ok := value.(string) @@ -1736,6 +1769,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.UploadState = types.UploadState(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -1748,6 +1782,7 @@ func awsRestjson1_deserializeDocumentReportDetail(v **types.ReportDetail, value } sv.Version = ptr.Int64(i64) } + default: _, _ = key, value @@ -1821,6 +1856,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.AcceptanceType = types.AcceptanceType(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1829,6 +1865,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Arn = ptr.String(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -1837,6 +1874,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Category = ptr.String(jtv) } + case "companyName": if value != nil { jtv, ok := value.(string) @@ -1845,6 +1883,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.CompanyName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1853,6 +1892,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1861,6 +1901,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1869,6 +1910,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Name = ptr.String(jtv) } + case "periodEnd": if value != nil { jtv, ok := value.(string) @@ -1881,6 +1923,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.PeriodEnd = ptr.Time(t) } + case "periodStart": if value != nil { jtv, ok := value.(string) @@ -1893,6 +1936,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.PeriodStart = ptr.Time(t) } + case "productName": if value != nil { jtv, ok := value.(string) @@ -1901,6 +1945,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.ProductName = ptr.String(jtv) } + case "series": if value != nil { jtv, ok := value.(string) @@ -1909,6 +1954,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Series = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1917,6 +1963,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.State = types.PublishedState(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1925,6 +1972,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.StatusMessage = ptr.String(jtv) } + case "uploadState": if value != nil { jtv, ok := value.(string) @@ -1933,6 +1981,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.UploadState = types.UploadState(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -1945,6 +1994,7 @@ func awsRestjson1_deserializeDocumentReportSummary(v **types.ReportSummary, valu } sv.Version = ptr.Int64(i64) } + default: _, _ = key, value @@ -1984,6 +2034,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1992,6 +2043,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2000,6 +2052,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2039,6 +2092,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2047,6 +2101,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2055,6 +2110,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2063,6 +2119,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2071,6 +2128,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2110,6 +2168,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2118,6 +2177,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2130,6 +2190,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2138,6 +2199,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2173,6 +2235,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2181,6 +2244,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -2189,6 +2253,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -2228,6 +2293,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2236,6 +2302,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index 476d5de8fb9..216522c0157 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -8132,6 +8132,7 @@ func awsAwsjson11_deserializeDocumentAclConfiguration(v **types.AclConfiguration } sv.S3AclOption = types.S3AclOption(jtv) } + default: _, _ = key, value @@ -8171,10 +8172,12 @@ func awsAwsjson11_deserializeDocumentApplicationDPUSizes(v **types.ApplicationDP } sv.ApplicationRuntimeId = ptr.String(jtv) } + case "SupportedDPUSizes": if err := awsAwsjson11_deserializeDocumentSupportedDPUSizeList(&sv.SupportedDPUSizes, value); err != nil { return err } + default: _, _ = key, value @@ -8252,6 +8255,7 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorCategory = ptr.Int32(int32(i64)) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8260,6 +8264,7 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(json.Number) @@ -8272,6 +8277,7 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.ErrorType = ptr.Int32(int32(i64)) } + case "Retryable": if value != nil { jtv, ok := value.(bool) @@ -8280,6 +8286,7 @@ func awsAwsjson11_deserializeDocumentAthenaError(v **types.AthenaError, value in } sv.Retryable = jtv } + default: _, _ = key, value @@ -8319,6 +8326,7 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.ResultS3Uri = ptr.String(jtv) } + case "ResultType": if value != nil { jtv, ok := value.(string) @@ -8327,6 +8335,7 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.ResultType = ptr.String(jtv) } + case "StdErrorS3Uri": if value != nil { jtv, ok := value.(string) @@ -8335,6 +8344,7 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.StdErrorS3Uri = ptr.String(jtv) } + case "StdOutS3Uri": if value != nil { jtv, ok := value.(string) @@ -8343,6 +8353,7 @@ func awsAwsjson11_deserializeDocumentCalculationResult(v **types.CalculationResu } sv.StdOutS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -8420,6 +8431,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatistics(v **types.Calculation } sv.DpuExecutionInMillis = ptr.Int64(i64) } + case "Progress": if value != nil { jtv, ok := value.(string) @@ -8428,6 +8440,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatistics(v **types.Calculation } sv.Progress = ptr.String(jtv) } + default: _, _ = key, value @@ -8474,6 +8487,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } } + case "State": if value != nil { jtv, ok := value.(string) @@ -8482,6 +8496,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } sv.State = types.CalculationExecutionState(jtv) } + case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -8490,6 +8505,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } sv.StateChangeReason = ptr.String(jtv) } + case "SubmissionDateTime": if value != nil { switch jtv := value.(type) { @@ -8505,6 +8521,7 @@ func awsAwsjson11_deserializeDocumentCalculationStatus(v **types.CalculationStat } } + default: _, _ = key, value @@ -8544,6 +8561,7 @@ func awsAwsjson11_deserializeDocumentCalculationSummary(v **types.CalculationSum } sv.CalculationExecutionId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8552,10 +8570,12 @@ func awsAwsjson11_deserializeDocumentCalculationSummary(v **types.CalculationSum } sv.Description = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -8602,6 +8622,7 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } } + case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -8617,6 +8638,7 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8625,6 +8647,7 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } sv.Status = types.CapacityAllocationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -8633,6 +8656,7 @@ func awsAwsjson11_deserializeDocumentCapacityAllocation(v **types.CapacityAlloca } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8668,6 +8692,7 @@ func awsAwsjson11_deserializeDocumentCapacityAssignment(v **types.CapacityAssign if err := awsAwsjson11_deserializeDocumentWorkGroupNamesList(&sv.WorkGroupNames, value); err != nil { return err } + default: _, _ = key, value @@ -8703,6 +8728,7 @@ func awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(v **types.C if err := awsAwsjson11_deserializeDocumentCapacityAssignmentsList(&sv.CapacityAssignments, value); err != nil { return err } + case "CapacityReservationName": if value != nil { jtv, ok := value.(string) @@ -8711,6 +8737,7 @@ func awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(v **types.C } sv.CapacityReservationName = ptr.String(jtv) } + default: _, _ = key, value @@ -8788,6 +8815,7 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.AllocatedDpus = ptr.Int32(int32(i64)) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8803,10 +8831,12 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } } + case "LastAllocation": if err := awsAwsjson11_deserializeDocumentCapacityAllocation(&sv.LastAllocation, value); err != nil { return err } + case "LastSuccessfulAllocationTime": if value != nil { switch jtv := value.(type) { @@ -8822,6 +8852,7 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8830,6 +8861,7 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8838,6 +8870,7 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.Status = types.CapacityReservationStatus(jtv) } + case "TargetDpus": if value != nil { jtv, ok := value.(json.Number) @@ -8850,6 +8883,7 @@ func awsAwsjson11_deserializeDocumentCapacityReservation(v **types.CapacityReser } sv.TargetDpus = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8923,6 +8957,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Comment = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8931,6 +8966,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8939,6 +8975,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8978,6 +9015,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.CaseSensitive = jtv } + case "CatalogName": if value != nil { jtv, ok := value.(string) @@ -8986,6 +9024,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.CatalogName = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -8994,6 +9033,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Label = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9002,6 +9042,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } + case "Nullable": if value != nil { jtv, ok := value.(string) @@ -9010,6 +9051,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Nullable = types.ColumnNullable(jtv) } + case "Precision": if value != nil { jtv, ok := value.(json.Number) @@ -9022,6 +9064,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Precision = int32(i64) } + case "Scale": if value != nil { jtv, ok := value.(json.Number) @@ -9034,6 +9077,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Scale = int32(i64) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -9042,6 +9086,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.SchemaName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9050,6 +9095,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.TableName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9058,6 +9104,7 @@ func awsAwsjson11_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -9165,6 +9212,7 @@ func awsAwsjson11_deserializeDocumentCustomerContentEncryptionConfiguration(v ** } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -9204,6 +9252,7 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9212,10 +9261,12 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -9289,6 +9340,7 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9297,10 +9349,12 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9309,6 +9363,7 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in } sv.Type = types.DataCatalogType(jtv) } + default: _, _ = key, value @@ -9348,6 +9403,7 @@ func awsAwsjson11_deserializeDocumentDataCatalogSummary(v **types.DataCatalogSum } sv.CatalogName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9356,6 +9412,7 @@ func awsAwsjson11_deserializeDocumentDataCatalogSummary(v **types.DataCatalogSum } sv.Type = types.DataCatalogType(jtv) } + default: _, _ = key, value @@ -9429,6 +9486,7 @@ func awsAwsjson11_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.VarCharValue = ptr.String(jtv) } + default: _, _ = key, value @@ -9502,6 +9560,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.EncryptionOption = types.EncryptionOption(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -9510,6 +9569,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -9545,6 +9605,7 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.AdditionalConfigs, value); err != nil { return err } + case "CoordinatorDpuSize": if value != nil { jtv, ok := value.(json.Number) @@ -9557,6 +9618,7 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.CoordinatorDpuSize = ptr.Int32(int32(i64)) } + case "DefaultExecutorDpuSize": if value != nil { jtv, ok := value.(json.Number) @@ -9569,6 +9631,7 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.DefaultExecutorDpuSize = ptr.Int32(int32(i64)) } + case "MaxConcurrentDpus": if value != nil { jtv, ok := value.(json.Number) @@ -9581,10 +9644,12 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu } sv.MaxConcurrentDpus = ptr.Int32(int32(i64)) } + case "SparkProperties": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.SparkProperties, value); err != nil { return err } + default: _, _ = key, value @@ -9624,6 +9689,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.EffectiveEngineVersion = ptr.String(jtv) } + case "SelectedEngineVersion": if value != nil { jtv, ok := value.(string) @@ -9632,6 +9698,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.SelectedEngineVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -9741,6 +9808,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorId = ptr.String(jtv) } + case "ExecutorSize": if value != nil { jtv, ok := value.(json.Number) @@ -9753,6 +9821,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorSize = ptr.Int64(i64) } + case "ExecutorState": if value != nil { jtv, ok := value.(string) @@ -9761,6 +9830,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorState = types.ExecutorState(jtv) } + case "ExecutorType": if value != nil { jtv, ok := value.(string) @@ -9769,6 +9839,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.ExecutorType = types.ExecutorType(jtv) } + case "StartDateTime": if value != nil { jtv, ok := value.(json.Number) @@ -9781,6 +9852,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.StartDateTime = ptr.Int64(i64) } + case "TerminationDateTime": if value != nil { jtv, ok := value.(json.Number) @@ -9793,6 +9865,7 @@ func awsAwsjson11_deserializeDocumentExecutorsSummary(v **types.ExecutorsSummary } sv.TerminationDateTime = ptr.Int64(i64) } + default: _, _ = key, value @@ -9866,6 +9939,7 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.EnableIdentityCenter = ptr.Bool(jtv) } + case "IdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -9874,6 +9948,7 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.IdentityCenterInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9913,6 +9988,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9952,6 +10028,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.AthenaErrorCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9960,6 +10037,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9999,6 +10077,7 @@ func awsAwsjson11_deserializeDocumentMetadataException(v **types.MetadataExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10038,6 +10117,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Database = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10046,6 +10126,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10054,6 +10135,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.Name = ptr.String(jtv) } + case "NamedQueryId": if value != nil { jtv, ok := value.(string) @@ -10062,6 +10144,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.NamedQueryId = ptr.String(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -10070,6 +10153,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.QueryString = ptr.String(jtv) } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10078,6 +10162,7 @@ func awsAwsjson11_deserializeDocumentNamedQuery(v **types.NamedQuery, value inte } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10194,6 +10279,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10209,6 +10295,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10217,6 +10304,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.Name = ptr.String(jtv) } + case "NotebookId": if value != nil { jtv, ok := value.(string) @@ -10225,6 +10313,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.NotebookId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10233,6 +10322,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.Type = types.NotebookType(jtv) } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10331,7 @@ func awsAwsjson11_deserializeDocumentNotebookMetadata(v **types.NotebookMetadata } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10355,6 +10446,7 @@ func awsAwsjson11_deserializeDocumentNotebookSessionSummary(v **types.NotebookSe } } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -10363,6 +10455,7 @@ func awsAwsjson11_deserializeDocumentNotebookSessionSummary(v **types.NotebookSe } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10438,6 +10531,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10453,6 +10547,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } } + case "QueryStatement": if value != nil { jtv, ok := value.(string) @@ -10461,6 +10556,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.QueryStatement = ptr.String(jtv) } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10469,6 +10565,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.StatementName = ptr.String(jtv) } + case "WorkGroupName": if value != nil { jtv, ok := value.(string) @@ -10477,6 +10574,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatement(v **types.PreparedStateme } sv.WorkGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -10591,6 +10689,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatementSummary(v **types.Prepared } } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10599,6 +10698,7 @@ func awsAwsjson11_deserializeDocumentPreparedStatementSummary(v **types.Prepared } sv.StatementName = ptr.String(jtv) } + default: _, _ = key, value @@ -10634,10 +10734,12 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } + case "ExecutionParameters": if err := awsAwsjson11_deserializeDocumentExecutionParameters(&sv.ExecutionParameters, value); err != nil { return err } + case "Query": if value != nil { jtv, ok := value.(string) @@ -10646,10 +10748,12 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.Query = ptr.String(jtv) } + case "QueryExecutionContext": if err := awsAwsjson11_deserializeDocumentQueryExecutionContext(&sv.QueryExecutionContext, value); err != nil { return err } + case "QueryExecutionId": if value != nil { jtv, ok := value.(string) @@ -10658,18 +10762,22 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.QueryExecutionId = ptr.String(jtv) } + case "QueryResultsS3AccessGrantsConfiguration": if err := awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(&sv.QueryResultsS3AccessGrantsConfiguration, value); err != nil { return err } + case "ResultConfiguration": if err := awsAwsjson11_deserializeDocumentResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } + case "ResultReuseConfiguration": if err := awsAwsjson11_deserializeDocumentResultReuseConfiguration(&sv.ResultReuseConfiguration, value); err != nil { return err } + case "StatementType": if value != nil { jtv, ok := value.(string) @@ -10678,14 +10786,17 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.StatementType = types.StatementType(jtv) } + case "Statistics": if err := awsAwsjson11_deserializeDocumentQueryExecutionStatistics(&sv.Statistics, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentQueryExecutionStatus(&sv.Status, value); err != nil { return err } + case "SubstatementType": if value != nil { jtv, ok := value.(string) @@ -10694,6 +10805,7 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.SubstatementType = ptr.String(jtv) } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -10702,6 +10814,7 @@ func awsAwsjson11_deserializeDocumentQueryExecution(v **types.QueryExecution, va } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10741,6 +10854,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionContext(v **types.QueryExecut } sv.Catalog = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -10749,6 +10863,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionContext(v **types.QueryExecut } sv.Database = ptr.String(jtv) } + default: _, _ = key, value @@ -10858,6 +10973,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.DataManifestLocation = ptr.String(jtv) } + case "DataScannedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10870,6 +10986,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.DataScannedInBytes = ptr.Int64(i64) } + case "EngineExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10882,6 +10999,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.EngineExecutionTimeInMillis = ptr.Int64(i64) } + case "QueryPlanningTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10894,6 +11012,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.QueryPlanningTimeInMillis = ptr.Int64(i64) } + case "QueryQueueTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10906,10 +11025,12 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.QueryQueueTimeInMillis = ptr.Int64(i64) } + case "ResultReuseInformation": if err := awsAwsjson11_deserializeDocumentResultReuseInformation(&sv.ResultReuseInformation, value); err != nil { return err } + case "ServicePreProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10922,6 +11043,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.ServicePreProcessingTimeInMillis = ptr.Int64(i64) } + case "ServiceProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10934,6 +11056,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.ServiceProcessingTimeInMillis = ptr.Int64(i64) } + case "TotalExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10946,6 +11069,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatistics(v **types.QueryExe } sv.TotalExecutionTimeInMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -10981,6 +11105,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti if err := awsAwsjson11_deserializeDocumentAthenaError(&sv.AthenaError, value); err != nil { return err } + case "CompletionDateTime": if value != nil { switch jtv := value.(type) { @@ -10996,6 +11121,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } } + case "State": if value != nil { jtv, ok := value.(string) @@ -11004,6 +11130,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } sv.State = types.QueryExecutionState(jtv) } + case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -11012,6 +11139,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } sv.StateChangeReason = ptr.String(jtv) } + case "SubmissionDateTime": if value != nil { switch jtv := value.(type) { @@ -11027,6 +11155,7 @@ func awsAwsjson11_deserializeDocumentQueryExecutionStatus(v **types.QueryExecuti } } + default: _, _ = key, value @@ -11066,6 +11195,7 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "CreateUserLevelPrefix": if value != nil { jtv, ok := value.(bool) @@ -11074,6 +11204,7 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.CreateUserLevelPrefix = ptr.Bool(jtv) } + case "EnableS3AccessGrants": if value != nil { jtv, ok := value.(bool) @@ -11082,6 +11213,7 @@ func awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(v * } sv.EnableS3AccessGrants = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11117,14 +11249,17 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatistics(v **types.QueryRunti if err := awsAwsjson11_deserializeDocumentQueryStage(&sv.OutputStage, value); err != nil { return err } + case "Rows": if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(&sv.Rows, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -11168,6 +11303,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.InputBytes = ptr.Int64(i64) } + case "InputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11180,6 +11316,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.InputRows = ptr.Int64(i64) } + case "OutputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11192,6 +11329,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.OutputBytes = ptr.Int64(i64) } + case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11204,6 +11342,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsRows(v **types.QueryR } sv.OutputRows = ptr.Int64(i64) } + default: _, _ = key, value @@ -11247,6 +11386,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.EngineExecutionTimeInMillis = ptr.Int64(i64) } + case "QueryPlanningTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11259,6 +11399,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.QueryPlanningTimeInMillis = ptr.Int64(i64) } + case "QueryQueueTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11271,6 +11412,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.QueryQueueTimeInMillis = ptr.Int64(i64) } + case "ServicePreProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11283,6 +11425,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.ServicePreProcessingTimeInMillis = ptr.Int64(i64) } + case "ServiceProcessingTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11295,6 +11438,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.ServiceProcessingTimeInMillis = ptr.Int64(i64) } + case "TotalExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -11307,6 +11451,7 @@ func awsAwsjson11_deserializeDocumentQueryRuntimeStatisticsTimeline(v **types.Qu } sv.TotalExecutionTimeInMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -11350,6 +11495,7 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.ExecutionTime = ptr.Int64(i64) } + case "InputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11362,6 +11508,7 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.InputBytes = ptr.Int64(i64) } + case "InputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11374,6 +11521,7 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.InputRows = ptr.Int64(i64) } + case "OutputBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11386,6 +11534,7 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.OutputBytes = ptr.Int64(i64) } + case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -11398,10 +11547,12 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.OutputRows = ptr.Int64(i64) } + case "QueryStagePlan": if err := awsAwsjson11_deserializeDocumentQueryStagePlanNode(&sv.QueryStagePlan, value); err != nil { return err } + case "StageId": if value != nil { jtv, ok := value.(json.Number) @@ -11414,6 +11565,7 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.StageId = ptr.Int64(i64) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11422,10 +11574,12 @@ func awsAwsjson11_deserializeDocumentQueryStage(v **types.QueryStage, value inte } sv.State = ptr.String(jtv) } + case "SubStages": if err := awsAwsjson11_deserializeDocumentQueryStages(&sv.SubStages, value); err != nil { return err } + default: _, _ = key, value @@ -11461,6 +11615,7 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan if err := awsAwsjson11_deserializeDocumentQueryStagePlanNodes(&sv.Children, value); err != nil { return err } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -11469,6 +11624,7 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan } sv.Identifier = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11477,10 +11633,12 @@ func awsAwsjson11_deserializeDocumentQueryStagePlanNode(v **types.QueryStagePlan } sv.Name = ptr.String(jtv) } + case "RemoteSources": if err := awsAwsjson11_deserializeDocumentStringList(&sv.RemoteSources, value); err != nil { return err } + default: _, _ = key, value @@ -11588,6 +11746,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -11596,6 +11755,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -11631,10 +11791,12 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu if err := awsAwsjson11_deserializeDocumentAclConfiguration(&sv.AclConfiguration, value); err != nil { return err } + case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "ExpectedBucketOwner": if value != nil { jtv, ok := value.(string) @@ -11643,6 +11805,7 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu } sv.ExpectedBucketOwner = ptr.String(jtv) } + case "OutputLocation": if value != nil { jtv, ok := value.(string) @@ -11651,6 +11814,7 @@ func awsAwsjson11_deserializeDocumentResultConfiguration(v **types.ResultConfigu } sv.OutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -11690,6 +11854,7 @@ func awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(v **types.Res } sv.Enabled = jtv } + case "MaxAgeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -11702,6 +11867,7 @@ func awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(v **types.Res } sv.MaxAgeInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11737,6 +11903,7 @@ func awsAwsjson11_deserializeDocumentResultReuseConfiguration(v **types.ResultRe if err := awsAwsjson11_deserializeDocumentResultReuseByAgeConfiguration(&sv.ResultReuseByAgeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11776,6 +11943,7 @@ func awsAwsjson11_deserializeDocumentResultReuseInformation(v **types.ResultReus } sv.ReusedPreviousResult = jtv } + default: _, _ = key, value @@ -11811,10 +11979,12 @@ func awsAwsjson11_deserializeDocumentResultSet(v **types.ResultSet, value interf if err := awsAwsjson11_deserializeDocumentResultSetMetadata(&sv.ResultSetMetadata, value); err != nil { return err } + case "Rows": if err := awsAwsjson11_deserializeDocumentRowList(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -11850,6 +12020,7 @@ func awsAwsjson11_deserializeDocumentResultSetMetadata(v **types.ResultSetMetada if err := awsAwsjson11_deserializeDocumentColumnInfoList(&sv.ColumnInfo, value); err != nil { return err } + default: _, _ = key, value @@ -11885,6 +12056,7 @@ func awsAwsjson11_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsAwsjson11_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } + default: _, _ = key, value @@ -11958,6 +12130,7 @@ func awsAwsjson11_deserializeDocumentSessionAlreadyExistsException(v **types.Ses } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11993,6 +12166,7 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -12001,6 +12175,7 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.ExecutionRole = ptr.String(jtv) } + case "IdleTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12013,6 +12188,7 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.IdleTimeoutSeconds = ptr.Int64(i64) } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -12021,6 +12197,7 @@ func awsAwsjson11_deserializeDocumentSessionConfiguration(v **types.SessionConfi } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -12098,6 +12275,7 @@ func awsAwsjson11_deserializeDocumentSessionStatistics(v **types.SessionStatisti } sv.DpuExecutionInMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -12144,6 +12322,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } + case "IdleSinceDateTime": if value != nil { switch jtv := value.(type) { @@ -12159,6 +12338,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } + case "LastModifiedDateTime": if value != nil { switch jtv := value.(type) { @@ -12174,6 +12354,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -12189,6 +12370,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12197,6 +12379,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } sv.State = types.SessionState(jtv) } + case "StateChangeReason": if value != nil { jtv, ok := value.(string) @@ -12205,6 +12388,7 @@ func awsAwsjson11_deserializeDocumentSessionStatus(v **types.SessionStatus, valu } sv.StateChangeReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12244,10 +12428,12 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Description = ptr.String(jtv) } + case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } + case "NotebookVersion": if value != nil { jtv, ok := value.(string) @@ -12256,6 +12442,7 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.NotebookVersion = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -12264,10 +12451,12 @@ func awsAwsjson11_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12379,6 +12568,7 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -12394,6 +12584,7 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } } + case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -12409,6 +12600,7 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12417,14 +12609,17 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } + case "TableType": if value != nil { jtv, ok := value.(string) @@ -12433,6 +12628,7 @@ func awsAwsjson11_deserializeDocumentTableMetadata(v **types.TableMetadata, valu } sv.TableType = ptr.String(jtv) } + default: _, _ = key, value @@ -12506,6 +12702,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12514,6 +12711,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12587,6 +12785,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12595,6 +12794,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Reason = types.ThrottleReason(jtv) } + default: _, _ = key, value @@ -12634,6 +12834,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12642,6 +12843,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.ErrorMessage = ptr.String(jtv) } + case "NamedQueryId": if value != nil { jtv, ok := value.(string) @@ -12650,6 +12852,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedNamedQueryId(v **types.Unprocess } sv.NamedQueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -12723,6 +12926,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12731,6 +12935,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.ErrorMessage = ptr.String(jtv) } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -12739,6 +12944,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementName(v **types. } sv.StatementName = ptr.String(jtv) } + default: _, _ = key, value @@ -12812,6 +13018,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12820,6 +13027,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.ErrorMessage = ptr.String(jtv) } + case "QueryExecutionId": if value != nil { jtv, ok := value.(string) @@ -12828,6 +13036,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionId(v **types.Unpro } sv.QueryExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12897,6 +13106,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf if err := awsAwsjson11_deserializeDocumentWorkGroupConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12912,6 +13122,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12920,6 +13131,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.Description = ptr.String(jtv) } + case "IdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -12928,6 +13140,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12936,6 +13149,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -12944,6 +13158,7 @@ func awsAwsjson11_deserializeDocumentWorkGroup(v **types.WorkGroup, value interf } sv.State = types.WorkGroupState(jtv) } + default: _, _ = key, value @@ -12983,6 +13198,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.AdditionalConfiguration = ptr.String(jtv) } + case "BytesScannedCutoffPerQuery": if value != nil { jtv, ok := value.(json.Number) @@ -12995,10 +13211,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.BytesScannedCutoffPerQuery = ptr.Int64(i64) } + case "CustomerContentEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentCustomerContentEncryptionConfiguration(&sv.CustomerContentEncryptionConfiguration, value); err != nil { return err } + case "EnableMinimumEncryptionConfiguration": if value != nil { jtv, ok := value.(bool) @@ -13007,6 +13225,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.EnableMinimumEncryptionConfiguration = ptr.Bool(jtv) } + case "EnforceWorkGroupConfiguration": if value != nil { jtv, ok := value.(bool) @@ -13015,10 +13234,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.EnforceWorkGroupConfiguration = ptr.Bool(jtv) } + case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -13027,10 +13248,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.ExecutionRole = ptr.String(jtv) } + case "IdentityCenterConfiguration": if err := awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } + case "PublishCloudWatchMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -13039,10 +13262,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.PublishCloudWatchMetricsEnabled = ptr.Bool(jtv) } + case "QueryResultsS3AccessGrantsConfiguration": if err := awsAwsjson11_deserializeDocumentQueryResultsS3AccessGrantsConfiguration(&sv.QueryResultsS3AccessGrantsConfiguration, value); err != nil { return err } + case "RequesterPaysEnabled": if value != nil { jtv, ok := value.(bool) @@ -13051,10 +13276,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupConfiguration(v **types.WorkGroupC } sv.RequesterPaysEnabled = ptr.Bool(jtv) } + case "ResultConfiguration": if err := awsAwsjson11_deserializeDocumentResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13171,6 +13398,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13179,10 +13407,12 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.Description = ptr.String(jtv) } + case "EngineVersion": if err := awsAwsjson11_deserializeDocumentEngineVersion(&sv.EngineVersion, value); err != nil { return err } + case "IdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -13191,6 +13421,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13199,6 +13430,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13207,6 +13439,7 @@ func awsAwsjson11_deserializeDocumentWorkGroupSummary(v **types.WorkGroupSummary } sv.State = types.WorkGroupState(jtv) } + default: _, _ = key, value @@ -13242,10 +13475,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetNamedQueryOutput(v **BatchGetName if err := awsAwsjson11_deserializeDocumentNamedQueryList(&sv.NamedQueries, value); err != nil { return err } + case "UnprocessedNamedQueryIds": if err := awsAwsjson11_deserializeDocumentUnprocessedNamedQueryIdList(&sv.UnprocessedNamedQueryIds, value); err != nil { return err } + default: _, _ = key, value @@ -13281,10 +13516,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetPreparedStatementOutput(v **Batch if err := awsAwsjson11_deserializeDocumentPreparedStatementDetailsList(&sv.PreparedStatements, value); err != nil { return err } + case "UnprocessedPreparedStatementNames": if err := awsAwsjson11_deserializeDocumentUnprocessedPreparedStatementNameList(&sv.UnprocessedPreparedStatementNames, value); err != nil { return err } + default: _, _ = key, value @@ -13320,10 +13557,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetQueryExecutionOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentQueryExecutionList(&sv.QueryExecutions, value); err != nil { return err } + case "UnprocessedQueryExecutionIds": if err := awsAwsjson11_deserializeDocumentUnprocessedQueryExecutionIdList(&sv.UnprocessedQueryExecutionIds, value); err != nil { return err } + default: _, _ = key, value @@ -13456,6 +13695,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNamedQueryOutput(v **CreateNamedQue } sv.NamedQueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -13495,6 +13735,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookOutput(v **CreateNotebookOu } sv.NotebookId = ptr.String(jtv) } + default: _, _ = key, value @@ -13565,6 +13806,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.AuthToken = ptr.String(jtv) } + case "AuthTokenExpirationTime": if value != nil { jtv, ok := value.(json.Number) @@ -13577,6 +13819,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.AuthTokenExpirationTime = ptr.Int64(i64) } + case "NotebookUrl": if value != nil { jtv, ok := value.(string) @@ -13585,6 +13828,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookUrlOutput(v **Crea } sv.NotebookUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13837,6 +14081,7 @@ func awsAwsjson11_deserializeOpDocumentExportNotebookOutput(v **ExportNotebookOu if err := awsAwsjson11_deserializeDocumentNotebookMetadata(&sv.NotebookMetadata, value); err != nil { return err } + case "Payload": if value != nil { jtv, ok := value.(string) @@ -13845,6 +14090,7 @@ func awsAwsjson11_deserializeOpDocumentExportNotebookOutput(v **ExportNotebookOu } sv.Payload = ptr.String(jtv) } + default: _, _ = key, value @@ -13884,6 +14130,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionCodeOutput(v **Get } sv.CodeBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -13923,6 +14170,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.CalculationExecutionId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13931,10 +14179,12 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.Description = ptr.String(jtv) } + case "Result": if err := awsAwsjson11_deserializeDocumentCalculationResult(&sv.Result, value); err != nil { return err } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -13943,14 +14193,17 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.SessionId = ptr.String(jtv) } + case "Statistics": if err := awsAwsjson11_deserializeDocumentCalculationStatistics(&sv.Statistics, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -13959,6 +14212,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionOutput(v **GetCalc } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -13994,10 +14248,12 @@ func awsAwsjson11_deserializeOpDocumentGetCalculationExecutionStatusOutput(v **G if err := awsAwsjson11_deserializeDocumentCalculationStatistics(&sv.Statistics, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentCalculationStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14033,6 +14289,7 @@ func awsAwsjson11_deserializeOpDocumentGetCapacityAssignmentConfigurationOutput( if err := awsAwsjson11_deserializeDocumentCapacityAssignmentConfiguration(&sv.CapacityAssignmentConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14068,6 +14325,7 @@ func awsAwsjson11_deserializeOpDocumentGetCapacityReservationOutput(v **GetCapac if err := awsAwsjson11_deserializeDocumentCapacityReservation(&sv.CapacityReservation, value); err != nil { return err } + default: _, _ = key, value @@ -14103,6 +14361,7 @@ func awsAwsjson11_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsAwsjson11_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + default: _, _ = key, value @@ -14138,6 +14397,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataCatalogOutput(v **GetDataCatalogOu if err := awsAwsjson11_deserializeDocumentDataCatalog(&sv.DataCatalog, value); err != nil { return err } + default: _, _ = key, value @@ -14173,6 +14433,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamedQueryOutput(v **GetNamedQueryOutp if err := awsAwsjson11_deserializeDocumentNamedQuery(&sv.NamedQuery, value); err != nil { return err } + default: _, _ = key, value @@ -14208,6 +14469,7 @@ func awsAwsjson11_deserializeOpDocumentGetNotebookMetadataOutput(v **GetNotebook if err := awsAwsjson11_deserializeDocumentNotebookMetadata(&sv.NotebookMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -14243,6 +14505,7 @@ func awsAwsjson11_deserializeOpDocumentGetPreparedStatementOutput(v **GetPrepare if err := awsAwsjson11_deserializeDocumentPreparedStatement(&sv.PreparedStatement, value); err != nil { return err } + default: _, _ = key, value @@ -14278,6 +14541,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryExecutionOutput(v **GetQueryExecu if err := awsAwsjson11_deserializeDocumentQueryExecution(&sv.QueryExecution, value); err != nil { return err } + default: _, _ = key, value @@ -14317,10 +14581,12 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } + case "ResultSet": if err := awsAwsjson11_deserializeDocumentResultSet(&sv.ResultSet, value); err != nil { return err } + case "UpdateCount": if value != nil { jtv, ok := value.(json.Number) @@ -14333,6 +14599,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.UpdateCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -14368,6 +14635,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryRuntimeStatisticsOutput(v **GetQu if err := awsAwsjson11_deserializeDocumentQueryRuntimeStatistics(&sv.QueryRuntimeStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -14407,10 +14675,12 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.Description = ptr.String(jtv) } + case "EngineConfiguration": if err := awsAwsjson11_deserializeDocumentEngineConfiguration(&sv.EngineConfiguration, value); err != nil { return err } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -14419,6 +14689,7 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.EngineVersion = ptr.String(jtv) } + case "NotebookVersion": if value != nil { jtv, ok := value.(string) @@ -14427,10 +14698,12 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.NotebookVersion = ptr.String(jtv) } + case "SessionConfiguration": if err := awsAwsjson11_deserializeDocumentSessionConfiguration(&sv.SessionConfiguration, value); err != nil { return err } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -14439,14 +14712,17 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } + case "Statistics": if err := awsAwsjson11_deserializeDocumentSessionStatistics(&sv.Statistics, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -14455,6 +14731,7 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -14494,10 +14771,12 @@ func awsAwsjson11_deserializeOpDocumentGetSessionStatusOutput(v **GetSessionStat } sv.SessionId = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentSessionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14533,6 +14812,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableMetadataOutput(v **GetTableMetada if err := awsAwsjson11_deserializeDocumentTableMetadata(&sv.TableMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -14568,6 +14848,7 @@ func awsAwsjson11_deserializeOpDocumentGetWorkGroupOutput(v **GetWorkGroupOutput if err := awsAwsjson11_deserializeDocumentWorkGroup(&sv.WorkGroup, value); err != nil { return err } + default: _, _ = key, value @@ -14607,6 +14888,7 @@ func awsAwsjson11_deserializeOpDocumentImportNotebookOutput(v **ImportNotebookOu } sv.NotebookId = ptr.String(jtv) } + default: _, _ = key, value @@ -14642,6 +14924,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationDPUSizesOutput(v **ListApp if err := awsAwsjson11_deserializeDocumentApplicationDPUSizesList(&sv.ApplicationDPUSizes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14650,6 +14933,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationDPUSizesOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14685,6 +14969,7 @@ func awsAwsjson11_deserializeOpDocumentListCalculationExecutionsOutput(v **ListC if err := awsAwsjson11_deserializeDocumentCalculationsList(&sv.Calculations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14693,6 +14978,7 @@ func awsAwsjson11_deserializeOpDocumentListCalculationExecutionsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14728,6 +15014,7 @@ func awsAwsjson11_deserializeOpDocumentListCapacityReservationsOutput(v **ListCa if err := awsAwsjson11_deserializeDocumentCapacityReservationsList(&sv.CapacityReservations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14736,6 +15023,7 @@ func awsAwsjson11_deserializeOpDocumentListCapacityReservationsOutput(v **ListCa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14771,6 +15059,7 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.DatabaseList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14779,6 +15068,7 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14814,6 +15104,7 @@ func awsAwsjson11_deserializeOpDocumentListDataCatalogsOutput(v **ListDataCatalo if err := awsAwsjson11_deserializeDocumentDataCatalogSummaryList(&sv.DataCatalogsSummary, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14822,6 +15113,7 @@ func awsAwsjson11_deserializeOpDocumentListDataCatalogsOutput(v **ListDataCatalo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14857,6 +15149,7 @@ func awsAwsjson11_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe if err := awsAwsjson11_deserializeDocumentEngineVersionsList(&sv.EngineVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14865,6 +15158,7 @@ func awsAwsjson11_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14900,6 +15194,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp if err := awsAwsjson11_deserializeDocumentExecutorsSummaryList(&sv.ExecutorsSummary, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14908,6 +15203,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp } sv.NextToken = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -14916,6 +15212,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutorsOutput(v **ListExecutorsOutp } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -14951,6 +15248,7 @@ func awsAwsjson11_deserializeOpDocumentListNamedQueriesOutput(v **ListNamedQueri if err := awsAwsjson11_deserializeDocumentNamedQueryIdList(&sv.NamedQueryIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14959,6 +15257,7 @@ func awsAwsjson11_deserializeOpDocumentListNamedQueriesOutput(v **ListNamedQueri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14998,10 +15297,12 @@ func awsAwsjson11_deserializeOpDocumentListNotebookMetadataOutput(v **ListNotebo } sv.NextToken = ptr.String(jtv) } + case "NotebookMetadataList": if err := awsAwsjson11_deserializeDocumentNotebookMetadataArray(&sv.NotebookMetadataList, value); err != nil { return err } + default: _, _ = key, value @@ -15041,10 +15342,12 @@ func awsAwsjson11_deserializeOpDocumentListNotebookSessionsOutput(v **ListNotebo } sv.NextToken = ptr.String(jtv) } + case "NotebookSessionsList": if err := awsAwsjson11_deserializeDocumentNotebookSessionsList(&sv.NotebookSessionsList, value); err != nil { return err } + default: _, _ = key, value @@ -15084,10 +15387,12 @@ func awsAwsjson11_deserializeOpDocumentListPreparedStatementsOutput(v **ListPrep } sv.NextToken = ptr.String(jtv) } + case "PreparedStatements": if err := awsAwsjson11_deserializeDocumentPreparedStatementsList(&sv.PreparedStatements, value); err != nil { return err } + default: _, _ = key, value @@ -15127,10 +15432,12 @@ func awsAwsjson11_deserializeOpDocumentListQueryExecutionsOutput(v **ListQueryEx } sv.NextToken = ptr.String(jtv) } + case "QueryExecutionIds": if err := awsAwsjson11_deserializeDocumentQueryExecutionIdList(&sv.QueryExecutionIds, value); err != nil { return err } + default: _, _ = key, value @@ -15170,10 +15477,12 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } + case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionsList(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -15213,10 +15522,12 @@ func awsAwsjson11_deserializeOpDocumentListTableMetadataOutput(v **ListTableMeta } sv.NextToken = ptr.String(jtv) } + case "TableMetadataList": if err := awsAwsjson11_deserializeDocumentTableMetadataList(&sv.TableMetadataList, value); err != nil { return err } + default: _, _ = key, value @@ -15256,10 +15567,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15299,10 +15612,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkGroupsOutput(v **ListWorkGroupsOu } sv.NextToken = ptr.String(jtv) } + case "WorkGroups": if err := awsAwsjson11_deserializeDocumentWorkGroupsList(&sv.WorkGroups, value); err != nil { return err } + default: _, _ = key, value @@ -15373,6 +15688,7 @@ func awsAwsjson11_deserializeOpDocumentStartCalculationExecutionOutput(v **Start } sv.CalculationExecutionId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15381,6 +15697,7 @@ func awsAwsjson11_deserializeOpDocumentStartCalculationExecutionOutput(v **Start } sv.State = types.CalculationExecutionState(jtv) } + default: _, _ = key, value @@ -15420,6 +15737,7 @@ func awsAwsjson11_deserializeOpDocumentStartQueryExecutionOutput(v **StartQueryE } sv.QueryExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -15459,6 +15777,7 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.SessionId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15467,6 +15786,7 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.State = types.SessionState(jtv) } + default: _, _ = key, value @@ -15506,6 +15826,7 @@ func awsAwsjson11_deserializeOpDocumentStopCalculationExecutionOutput(v **StopCa } sv.State = types.CalculationExecutionState(jtv) } + default: _, _ = key, value @@ -15607,6 +15928,7 @@ func awsAwsjson11_deserializeOpDocumentTerminateSessionOutput(v **TerminateSessi } sv.State = types.SessionState(jtv) } + default: _, _ = key, value diff --git a/service/auditmanager/deserializers.go b/service/auditmanager/deserializers.go index 0097441c47b..986974752e3 100644 --- a/service/auditmanager/deserializers.go +++ b/service/auditmanager/deserializers.go @@ -277,10 +277,12 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateAssessmentReportEvidenceOut if err := awsRestjson1_deserializeDocumentAssessmentReportEvidenceErrors(&sv.Errors, value); err != nil { return err } + case "evidenceIds": if err := awsRestjson1_deserializeDocumentEvidenceIds(&sv.EvidenceIds, value); err != nil { return err } + default: _, _ = key, value @@ -441,10 +443,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateDelegationByAssessmentOutput(v if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -605,6 +609,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDelegationByAssessmentOutput(v if err := awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -765,10 +770,12 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateAssessmentReportEvidence if err := awsRestjson1_deserializeDocumentAssessmentReportEvidenceErrors(&sv.Errors, value); err != nil { return err } + case "evidenceIds": if err := awsRestjson1_deserializeDocumentEvidenceIds(&sv.EvidenceIds, value); err != nil { return err } + default: _, _ = key, value @@ -932,6 +939,7 @@ func awsRestjson1_deserializeOpDocumentBatchImportEvidenceToAssessmentControlOut if err := awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -1098,6 +1106,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentOutput(v **CreateAssessme if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } + default: _, _ = key, value @@ -1261,6 +1270,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentFrameworkOutput(v **Creat if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } + default: _, _ = key, value @@ -1421,6 +1431,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssessmentReportOutput(v **CreateAs if err := awsRestjson1_deserializeDocumentAssessmentReport(&sv.AssessmentReport, value); err != nil { return err } + default: _, _ = key, value @@ -1584,6 +1595,7 @@ func awsRestjson1_deserializeOpDocumentCreateControlOutput(v **CreateControlOutp if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } + default: _, _ = key, value @@ -2233,6 +2245,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterAccountOutput(v **DeregisterAcc } sv.Status = types.AccountStatus(jtv) } + default: _, _ = key, value @@ -2582,6 +2595,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountStatusOutput(v **GetAccountStat } sv.Status = types.AccountStatus(jtv) } + default: _, _ = key, value @@ -2742,10 +2756,12 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } + case "userRole": if err := awsRestjson1_deserializeDocumentRole(&sv.UserRole, value); err != nil { return err } + default: _, _ = key, value @@ -2906,6 +2922,7 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentFrameworkOutput(v **GetAsses if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } + default: _, _ = key, value @@ -3066,6 +3083,7 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentReportUrlOutput(v **GetAsses if err := awsRestjson1_deserializeDocumentURL(&sv.PreSignedUrl, value); err != nil { return err } + default: _, _ = key, value @@ -3226,6 +3244,7 @@ func awsRestjson1_deserializeOpDocumentGetChangeLogsOutput(v **GetChangeLogsOutp if err := awsRestjson1_deserializeDocumentChangeLogs(&sv.ChangeLogs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3234,6 +3253,7 @@ func awsRestjson1_deserializeOpDocumentGetChangeLogsOutput(v **GetChangeLogsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3394,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } + default: _, _ = key, value @@ -3551,6 +3572,7 @@ func awsRestjson1_deserializeOpDocumentGetDelegationsOutput(v **GetDelegationsOu if err := awsRestjson1_deserializeDocumentDelegationMetadataList(&sv.Delegations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3559,6 +3581,7 @@ func awsRestjson1_deserializeOpDocumentGetDelegationsOutput(v **GetDelegationsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3719,6 +3742,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceOutput(v **GetEvidenceOutput, if err := awsRestjson1_deserializeDocumentEvidence(&sv.Evidence, value); err != nil { return err } + default: _, _ = key, value @@ -3879,6 +3903,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceByEvidenceFolderOutput(v **Get if err := awsRestjson1_deserializeDocumentEvidenceList(&sv.Evidence, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3887,6 +3912,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceByEvidenceFolderOutput(v **Get } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4051,6 +4077,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFileUploadUrlOutput(v **GetEvi } sv.EvidenceFileName = ptr.String(jtv) } + case "uploadUrl": if value != nil { jtv, ok := value.(string) @@ -4059,6 +4086,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFileUploadUrlOutput(v **GetEvi } sv.UploadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -4219,6 +4247,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFolderOutput(v **GetEvidenceFo if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(&sv.EvidenceFolder, value); err != nil { return err } + default: _, _ = key, value @@ -4379,6 +4408,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentOutput(v ** if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolders(&sv.EvidenceFolders, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4387,6 +4417,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4547,6 +4578,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentControlOutp if err := awsRestjson1_deserializeDocumentAssessmentEvidenceFolders(&sv.EvidenceFolders, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4587,7 @@ func awsRestjson1_deserializeOpDocumentGetEvidenceFoldersByAssessmentControlOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4709,6 +4742,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, if err := awsRestjson1_deserializeDocumentInsights(&sv.Insights, value); err != nil { return err } + default: _, _ = key, value @@ -4869,6 +4903,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightsByAssessmentOutput(v **GetInsi if err := awsRestjson1_deserializeDocumentInsightsByAssessment(&sv.Insights, value); err != nil { return err } + default: _, _ = key, value @@ -5033,6 +5068,7 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationAdminAccountOutput(v **Get } sv.AdminAccountId = ptr.String(jtv) } + case "organizationId": if value != nil { jtv, ok := value.(string) @@ -5041,6 +5077,7 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationAdminAccountOutput(v **Get } sv.OrganizationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5198,6 +5235,7 @@ func awsRestjson1_deserializeOpDocumentGetServicesInScopeOutput(v **GetServicesI if err := awsRestjson1_deserializeDocumentServiceMetadataList(&sv.ServiceMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -5352,6 +5390,7 @@ func awsRestjson1_deserializeOpDocumentGetSettingsOutput(v **GetSettingsOutput, if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -5512,6 +5551,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentControlInsightsByControlDom if err := awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessment(&sv.ControlInsightsByAssessment, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5520,6 +5560,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentControlInsightsByControlDom } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5677,6 +5718,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworksOutput(v **ListAs if err := awsRestjson1_deserializeDocumentFrameworkMetadataList(&sv.FrameworkMetadataList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5685,6 +5727,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworksOutput(v **ListAs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5842,6 +5885,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworkShareRequestsOutpu if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequestList(&sv.AssessmentFrameworkShareRequests, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5850,6 +5894,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentFrameworkShareRequestsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6007,6 +6052,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentReportsOutput(v **ListAsses if err := awsRestjson1_deserializeDocumentAssessmentReportsMetadata(&sv.AssessmentReports, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6015,6 +6061,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentReportsOutput(v **ListAsses } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6172,6 +6219,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentsOutput(v **ListAssessments if err := awsRestjson1_deserializeDocumentListAssessmentMetadata(&sv.AssessmentMetadata, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6180,6 +6228,7 @@ func awsRestjson1_deserializeOpDocumentListAssessmentsOutput(v **ListAssessments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6340,6 +6389,7 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsOutput(v **ListC if err := awsRestjson1_deserializeDocumentControlDomainInsightsList(&sv.ControlDomainInsights, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6348,6 +6398,7 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6508,6 +6559,7 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsByAssessmentOutp if err := awsRestjson1_deserializeDocumentControlDomainInsightsList(&sv.ControlDomainInsights, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6516,6 +6568,7 @@ func awsRestjson1_deserializeOpDocumentListControlDomainInsightsByAssessmentOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6676,6 +6729,7 @@ func awsRestjson1_deserializeOpDocumentListControlInsightsByControlDomainOutput( if err := awsRestjson1_deserializeDocumentControlInsightsMetadata(&sv.ControlInsightsMetadata, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6684,6 +6738,7 @@ func awsRestjson1_deserializeOpDocumentListControlInsightsByControlDomainOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6841,6 +6896,7 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput if err := awsRestjson1_deserializeDocumentControlMetadataList(&sv.ControlMetadataList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6849,6 +6905,7 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7006,6 +7063,7 @@ func awsRestjson1_deserializeOpDocumentListKeywordsForDataSourceOutput(v **ListK if err := awsRestjson1_deserializeDocumentKeywords(&sv.Keywords, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7014,6 +7072,7 @@ func awsRestjson1_deserializeOpDocumentListKeywordsForDataSourceOutput(v **ListK } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7175,10 +7234,12 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } + case "notifications": if err := awsRestjson1_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } + default: _, _ = key, value @@ -7336,6 +7397,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7503,6 +7565,7 @@ func awsRestjson1_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } sv.Status = types.AccountStatus(jtv) } + default: _, _ = key, value @@ -7667,6 +7730,7 @@ func awsRestjson1_deserializeOpDocumentRegisterOrganizationAdminAccountOutput(v } sv.AdminAccountId = ptr.String(jtv) } + case "organizationId": if value != nil { jtv, ok := value.(string) @@ -7675,6 +7739,7 @@ func awsRestjson1_deserializeOpDocumentRegisterOrganizationAdminAccountOutput(v } sv.OrganizationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7835,6 +7900,7 @@ func awsRestjson1_deserializeOpDocumentStartAssessmentFrameworkShareOutput(v **S if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(&sv.AssessmentFrameworkShareRequest, value); err != nil { return err } + default: _, _ = key, value @@ -8186,6 +8252,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentOutput(v **UpdateAssessme if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } + default: _, _ = key, value @@ -8346,6 +8413,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentControlOutput(v **UpdateA if err := awsRestjson1_deserializeDocumentAssessmentControl(&sv.Control, value); err != nil { return err } + default: _, _ = key, value @@ -8506,6 +8574,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentControlSetStatusOutput(v if err := awsRestjson1_deserializeDocumentAssessmentControlSet(&sv.ControlSet, value); err != nil { return err } + default: _, _ = key, value @@ -8666,6 +8735,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentFrameworkOutput(v **Updat if err := awsRestjson1_deserializeDocumentFramework(&sv.Framework, value); err != nil { return err } + default: _, _ = key, value @@ -8829,6 +8899,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentFrameworkShareOutput(v ** if err := awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(&sv.AssessmentFrameworkShareRequest, value); err != nil { return err } + default: _, _ = key, value @@ -8992,6 +9063,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssessmentStatusOutput(v **UpdateAs if err := awsRestjson1_deserializeDocumentAssessment(&sv.Assessment, value); err != nil { return err } + default: _, _ = key, value @@ -9152,6 +9224,7 @@ func awsRestjson1_deserializeOpDocumentUpdateControlOutput(v **UpdateControlOutp if err := awsRestjson1_deserializeDocumentControl(&sv.Control, value); err != nil { return err } + default: _, _ = key, value @@ -9309,6 +9382,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSettingsOutput(v **UpdateSettingsOu if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -9473,6 +9547,7 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureAlgorithm = ptr.String(jtv) } + case "signatureDateTime": if value != nil { jtv, ok := value.(string) @@ -9481,6 +9556,7 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureDateTime = ptr.String(jtv) } + case "signatureKeyId": if value != nil { jtv, ok := value.(string) @@ -9489,6 +9565,7 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureKeyId = ptr.String(jtv) } + case "signatureValid": if value != nil { jtv, ok := value.(bool) @@ -9497,10 +9574,12 @@ func awsRestjson1_deserializeOpDocumentValidateAssessmentReportIntegrityOutput(v } sv.SignatureValid = ptr.Bool(jtv) } + case "validationErrors": if err := awsRestjson1_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } + default: _, _ = key, value @@ -9756,6 +9835,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9795,22 +9875,27 @@ func awsRestjson1_deserializeDocumentAssessment(v **types.Assessment, value inte } sv.Arn = ptr.String(jtv) } + case "awsAccount": if err := awsRestjson1_deserializeDocumentAWSAccount(&sv.AwsAccount, value); err != nil { return err } + case "framework": if err := awsRestjson1_deserializeDocumentAssessmentFramework(&sv.Framework, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentAssessmentMetadata(&sv.Metadata, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9854,10 +9939,12 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.AssessmentReportEvidenceCount = int32(i64) } + case "comments": if err := awsRestjson1_deserializeDocumentControlComments(&sv.Comments, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -9866,6 +9953,7 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Description = ptr.String(jtv) } + case "evidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9878,10 +9966,12 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.EvidenceCount = int32(i64) } + case "evidenceSources": if err := awsRestjson1_deserializeDocumentEvidenceSources(&sv.EvidenceSources, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9890,6 +9980,7 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9898,6 +9989,7 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Name = ptr.String(jtv) } + case "response": if value != nil { jtv, ok := value.(string) @@ -9906,6 +9998,7 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Response = types.ControlResponse(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9914,6 +10007,7 @@ func awsRestjson1_deserializeDocumentAssessmentControl(v **types.AssessmentContr } sv.Status = types.ControlStatus(jtv) } + default: _, _ = key, value @@ -9983,10 +10077,12 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo if err := awsRestjson1_deserializeDocumentAssessmentControls(&sv.Controls, value); err != nil { return err } + case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -9995,6 +10091,7 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10003,6 +10100,7 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Id = ptr.String(jtv) } + case "manualEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10015,10 +10113,12 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.ManualEvidenceCount = int32(i64) } + case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10027,6 +10127,7 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.Status = types.ControlSetStatus(jtv) } + case "systemEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10039,6 +10140,7 @@ func awsRestjson1_deserializeDocumentAssessmentControlSet(v **types.AssessmentCo } sv.SystemEvidenceCount = int32(i64) } + default: _, _ = key, value @@ -10112,6 +10214,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.AssessmentId = ptr.String(jtv) } + case "assessmentReportSelectionCount": if value != nil { jtv, ok := value.(json.Number) @@ -10124,6 +10227,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.AssessmentReportSelectionCount = int32(i64) } + case "author": if value != nil { jtv, ok := value.(string) @@ -10132,6 +10236,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Author = ptr.String(jtv) } + case "controlId": if value != nil { jtv, ok := value.(string) @@ -10140,6 +10245,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlId = ptr.String(jtv) } + case "controlName": if value != nil { jtv, ok := value.(string) @@ -10148,6 +10254,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlName = ptr.String(jtv) } + case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -10156,6 +10263,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.ControlSetId = ptr.String(jtv) } + case "dataSource": if value != nil { jtv, ok := value.(string) @@ -10164,6 +10272,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.DataSource = ptr.String(jtv) } + case "date": if value != nil { switch jtv := value.(type) { @@ -10179,6 +10288,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } } + case "evidenceAwsServiceSourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10191,6 +10301,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceAwsServiceSourceCount = int32(i64) } + case "evidenceByTypeComplianceCheckCount": if value != nil { jtv, ok := value.(json.Number) @@ -10203,6 +10314,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeComplianceCheckCount = int32(i64) } + case "evidenceByTypeComplianceCheckIssuesCount": if value != nil { jtv, ok := value.(json.Number) @@ -10215,6 +10327,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeComplianceCheckIssuesCount = int32(i64) } + case "evidenceByTypeConfigurationDataCount": if value != nil { jtv, ok := value.(json.Number) @@ -10227,6 +10340,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeConfigurationDataCount = int32(i64) } + case "evidenceByTypeManualCount": if value != nil { jtv, ok := value.(json.Number) @@ -10239,6 +10353,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeManualCount = int32(i64) } + case "evidenceByTypeUserActivityCount": if value != nil { jtv, ok := value.(json.Number) @@ -10251,6 +10366,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceByTypeUserActivityCount = int32(i64) } + case "evidenceResourcesIncludedCount": if value != nil { jtv, ok := value.(json.Number) @@ -10263,6 +10379,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.EvidenceResourcesIncludedCount = int32(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10271,6 +10388,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10279,6 +10397,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.Name = ptr.String(jtv) } + case "totalEvidence": if value != nil { jtv, ok := value.(json.Number) @@ -10291,6 +10410,7 @@ func awsRestjson1_deserializeDocumentAssessmentEvidenceFolder(v **types.Assessme } sv.TotalEvidence = int32(i64) } + default: _, _ = key, value @@ -10364,10 +10484,12 @@ func awsRestjson1_deserializeDocumentAssessmentFramework(v **types.AssessmentFra } sv.Arn = ptr.String(jtv) } + case "controlSets": if err := awsRestjson1_deserializeDocumentAssessmentControlSets(&sv.ControlSets, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10376,10 +10498,12 @@ func awsRestjson1_deserializeDocumentAssessmentFramework(v **types.AssessmentFra } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentFrameworkMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -10419,6 +10543,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Arn = ptr.String(jtv) } + case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10427,6 +10552,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ComplianceType = ptr.String(jtv) } + case "controlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10439,6 +10565,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ControlsCount = int32(i64) } + case "controlSetsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10451,6 +10578,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.ControlSetsCount = int32(i64) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10466,6 +10594,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10474,6 +10603,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10482,6 +10612,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10497,6 +10628,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } } + case "logo": if value != nil { jtv, ok := value.(string) @@ -10505,6 +10637,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Logo = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10513,6 +10646,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10521,6 +10655,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkMetadata(v **types.Asses } sv.Type = types.FrameworkType(jtv) } + default: _, _ = key, value @@ -10560,6 +10695,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Comment = ptr.String(jtv) } + case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10568,6 +10704,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.ComplianceType = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10583,6 +10720,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } + case "customControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10595,6 +10733,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.CustomControlsCount = ptr.Int32(int32(i64)) } + case "destinationAccount": if value != nil { jtv, ok := value.(string) @@ -10603,6 +10742,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.DestinationAccount = ptr.String(jtv) } + case "destinationRegion": if value != nil { jtv, ok := value.(string) @@ -10611,6 +10751,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.DestinationRegion = ptr.String(jtv) } + case "expirationTime": if value != nil { switch jtv := value.(type) { @@ -10626,6 +10767,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } + case "frameworkDescription": if value != nil { jtv, ok := value.(string) @@ -10634,6 +10776,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkDescription = ptr.String(jtv) } + case "frameworkId": if value != nil { jtv, ok := value.(string) @@ -10642,6 +10785,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkId = ptr.String(jtv) } + case "frameworkName": if value != nil { jtv, ok := value.(string) @@ -10650,6 +10794,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.FrameworkName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10658,6 +10803,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -10673,6 +10819,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } } + case "sourceAccount": if value != nil { jtv, ok := value.(string) @@ -10681,6 +10828,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.SourceAccount = ptr.String(jtv) } + case "standardControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10693,6 +10841,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.StandardControlsCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10701,6 +10850,7 @@ func awsRestjson1_deserializeDocumentAssessmentFrameworkShareRequest(v **types.A } sv.Status = types.ShareRequestStatus(jtv) } + default: _, _ = key, value @@ -10770,6 +10920,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta if err := awsRestjson1_deserializeDocumentAssessmentReportsDestination(&sv.AssessmentReportsDestination, value); err != nil { return err } + case "complianceType": if value != nil { jtv, ok := value.(string) @@ -10778,6 +10929,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.ComplianceType = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10793,10 +10945,12 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } } + case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10805,6 +10959,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10813,6 +10968,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -10828,6 +10984,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10836,14 +10993,17 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Name = ptr.String(jtv) } + case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } + case "scope": if err := awsRestjson1_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10852,6 +11012,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadata(v **types.AssessmentMeta } sv.Status = types.AssessmentStatus(jtv) } + default: _, _ = key, value @@ -10891,6 +11052,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.ComplianceType = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10906,10 +11068,12 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } } + case "delegations": if err := awsRestjson1_deserializeDocumentDelegations(&sv.Delegations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10918,6 +11082,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -10933,6 +11098,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10941,10 +11107,12 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Name = ptr.String(jtv) } + case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10953,6 +11121,7 @@ func awsRestjson1_deserializeDocumentAssessmentMetadataItem(v **types.Assessment } sv.Status = types.AssessmentStatus(jtv) } + default: _, _ = key, value @@ -10992,6 +11161,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AssessmentId = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11000,6 +11170,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AssessmentName = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -11008,6 +11179,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Author = ptr.String(jtv) } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -11016,6 +11188,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.AwsAccountId = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11031,6 +11204,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11039,6 +11213,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11047,6 +11222,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11055,6 +11231,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11063,6 +11240,7 @@ func awsRestjson1_deserializeDocumentAssessmentReport(v **types.AssessmentReport } sv.Status = types.AssessmentReportStatus(jtv) } + default: _, _ = key, value @@ -11102,6 +11280,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11110,6 +11289,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.ErrorMessage = ptr.String(jtv) } + case "evidenceId": if value != nil { jtv, ok := value.(string) @@ -11118,6 +11298,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportEvidenceError(v **types.Ass } sv.EvidenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -11191,6 +11372,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.AssessmentId = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11199,6 +11381,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.AssessmentName = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -11207,6 +11390,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Author = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11222,6 +11406,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11230,6 +11415,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11238,6 +11424,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11433,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11442,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportMetadata(v **types.Assessme } sv.Status = types.AssessmentReportStatus(jtv) } + default: _, _ = key, value @@ -11293,6 +11482,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportsDestination(v **types.Asse } sv.Destination = ptr.String(jtv) } + case "destinationType": if value != nil { jtv, ok := value.(string) @@ -11301,6 +11491,7 @@ func awsRestjson1_deserializeDocumentAssessmentReportsDestination(v **types.Asse } sv.DestinationType = types.AssessmentReportDestinationType(jtv) } + default: _, _ = key, value @@ -11374,6 +11565,7 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.EmailAddress = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11382,6 +11574,7 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11390,6 +11583,7 @@ func awsRestjson1_deserializeDocumentAWSAccount(v **types.AWSAccount, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11463,6 +11657,7 @@ func awsRestjson1_deserializeDocumentAWSService(v **types.AWSService, value inte } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -11532,6 +11727,7 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** if err := awsRestjson1_deserializeDocumentCreateDelegationRequest(&sv.CreateDelegationRequest, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11540,6 +11736,7 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11548,6 +11745,7 @@ func awsRestjson1_deserializeDocumentBatchCreateDelegationByAssessmentError(v ** } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11621,6 +11819,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.DelegationId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11629,6 +11828,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11637,6 +11837,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDelegationByAssessmentError(v ** } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11710,6 +11911,7 @@ func awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlError } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11718,10 +11920,12 @@ func awsRestjson1_deserializeDocumentBatchImportEvidenceToAssessmentControlError } sv.ErrorMessage = ptr.String(jtv) } + case "manualEvidence": if err := awsRestjson1_deserializeDocumentManualEvidence(&sv.ManualEvidence, value); err != nil { return err } + default: _, _ = key, value @@ -11795,6 +11999,7 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.Action = types.ActionEnum(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11810,6 +12015,7 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11818,6 +12024,7 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.CreatedBy = ptr.String(jtv) } + case "objectName": if value != nil { jtv, ok := value.(string) @@ -11826,6 +12033,7 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.ObjectName = ptr.String(jtv) } + case "objectType": if value != nil { jtv, ok := value.(string) @@ -11834,6 +12042,7 @@ func awsRestjson1_deserializeDocumentChangeLog(v **types.ChangeLog, value interf } sv.ObjectType = types.ObjectTypeEnum(jtv) } + default: _, _ = key, value @@ -11907,6 +12116,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ActionPlanInstructions = ptr.String(jtv) } + case "actionPlanTitle": if value != nil { jtv, ok := value.(string) @@ -11915,6 +12125,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ActionPlanTitle = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -11923,10 +12134,12 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Arn = ptr.String(jtv) } + case "controlMappingSources": if err := awsRestjson1_deserializeDocumentControlMappingSources(&sv.ControlMappingSources, value); err != nil { return err } + case "controlSources": if value != nil { jtv, ok := value.(string) @@ -11935,6 +12148,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.ControlSources = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11950,6 +12164,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11958,6 +12173,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11966,6 +12182,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11974,6 +12191,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11989,6 +12207,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -11997,6 +12216,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.LastUpdatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12005,6 +12225,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -12013,10 +12234,12 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.State = types.ControlState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "testingInformation": if value != nil { jtv, ok := value.(string) @@ -12025,6 +12248,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.TestingInformation = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12033,6 +12257,7 @@ func awsRestjson1_deserializeDocumentControl(v **types.Control, value interface{ } sv.Type = types.ControlType(jtv) } + default: _, _ = key, value @@ -12072,6 +12297,7 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } sv.AuthorName = ptr.String(jtv) } + case "commentBody": if value != nil { jtv, ok := value.(string) @@ -12080,6 +12306,7 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } sv.CommentBody = ptr.String(jtv) } + case "postedDate": if value != nil { switch jtv := value.(type) { @@ -12095,6 +12322,7 @@ func awsRestjson1_deserializeDocumentControlComment(v **types.ControlComment, va } } + default: _, _ = key, value @@ -12172,10 +12400,12 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.ControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } + case "evidenceInsights": if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12184,6 +12414,7 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12199,6 +12430,7 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12207,6 +12439,7 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.Name = ptr.String(jtv) } + case "totalControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -12219,6 +12452,7 @@ func awsRestjson1_deserializeDocumentControlDomainInsights(v **types.ControlDoma } sv.TotalControlsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12360,10 +12594,12 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.ControlSetName = ptr.String(jtv) } + case "evidenceInsights": if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12372,6 +12608,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12387,6 +12624,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12395,6 +12633,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataByAssessmentItem(v * } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12430,6 +12669,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr if err := awsRestjson1_deserializeDocumentEvidenceInsights(&sv.EvidenceInsights, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12438,6 +12678,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12453,6 +12694,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12461,6 +12703,7 @@ func awsRestjson1_deserializeDocumentControlInsightsMetadataItem(v **types.Contr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12500,6 +12743,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceDescription = ptr.String(jtv) } + case "sourceFrequency": if value != nil { jtv, ok := value.(string) @@ -12508,6 +12752,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceFrequency = types.SourceFrequency(jtv) } + case "sourceId": if value != nil { jtv, ok := value.(string) @@ -12516,10 +12761,12 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceId = ptr.String(jtv) } + case "sourceKeyword": if err := awsRestjson1_deserializeDocumentSourceKeyword(&sv.SourceKeyword, value); err != nil { return err } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -12528,6 +12775,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceName = ptr.String(jtv) } + case "sourceSetUpOption": if value != nil { jtv, ok := value.(string) @@ -12536,6 +12784,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceSetUpOption = types.SourceSetUpOption(jtv) } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -12544,6 +12793,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.SourceType = types.SourceType(jtv) } + case "troubleshootingText": if value != nil { jtv, ok := value.(string) @@ -12552,6 +12802,7 @@ func awsRestjson1_deserializeDocumentControlMappingSource(v **types.ControlMappi } sv.TroubleshootingText = ptr.String(jtv) } + default: _, _ = key, value @@ -12625,6 +12876,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Arn = ptr.String(jtv) } + case "controlSources": if value != nil { jtv, ok := value.(string) @@ -12633,6 +12885,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.ControlSources = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12648,6 +12901,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } } + case "id": if value != nil { jtv, ok := value.(string) @@ -12656,6 +12910,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12671,6 +12926,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12679,6 +12935,7 @@ func awsRestjson1_deserializeDocumentControlMetadata(v **types.ControlMetadata, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12782,6 +13039,7 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte if err := awsRestjson1_deserializeDocumentControls(&sv.Controls, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12790,6 +13048,7 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12798,6 +13057,7 @@ func awsRestjson1_deserializeDocumentControlSet(v **types.ControlSet, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12871,6 +13131,7 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.Comment = ptr.String(jtv) } + case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -12879,6 +13140,7 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.ControlSetId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12887,6 +13149,7 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.RoleArn = ptr.String(jtv) } + case "roleType": if value != nil { jtv, ok := value.(string) @@ -12895,6 +13158,7 @@ func awsRestjson1_deserializeDocumentCreateDelegationRequest(v **types.CreateDel } sv.RoleType = types.RoleType(jtv) } + default: _, _ = key, value @@ -12934,6 +13198,7 @@ func awsRestjson1_deserializeDocumentDefaultExportDestination(v **types.DefaultE } sv.Destination = ptr.String(jtv) } + case "destinationType": if value != nil { jtv, ok := value.(string) @@ -12942,6 +13207,7 @@ func awsRestjson1_deserializeDocumentDefaultExportDestination(v **types.DefaultE } sv.DestinationType = types.ExportDestinationType(jtv) } + default: _, _ = key, value @@ -12981,6 +13247,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.AssessmentId = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -12989,6 +13256,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.AssessmentName = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -12997,6 +13265,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Comment = ptr.String(jtv) } + case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -13005,6 +13274,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.ControlSetId = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13013,6 +13283,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.CreatedBy = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13028,6 +13299,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } } + case "id": if value != nil { jtv, ok := value.(string) @@ -13036,6 +13308,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Id = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -13051,6 +13324,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13059,6 +13333,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.RoleArn = ptr.String(jtv) } + case "roleType": if value != nil { jtv, ok := value.(string) @@ -13067,6 +13342,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.RoleType = types.RoleType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13075,6 +13351,7 @@ func awsRestjson1_deserializeDocumentDelegation(v **types.Delegation, value inte } sv.Status = types.DelegationStatus(jtv) } + default: _, _ = key, value @@ -13114,6 +13391,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.AssessmentId = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -13122,6 +13400,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.AssessmentName = ptr.String(jtv) } + case "controlSetName": if value != nil { jtv, ok := value.(string) @@ -13130,6 +13409,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.ControlSetName = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13145,6 +13425,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } } + case "id": if value != nil { jtv, ok := value.(string) @@ -13153,6 +13434,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13161,6 +13443,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13169,6 +13452,7 @@ func awsRestjson1_deserializeDocumentDelegationMetadata(v **types.DelegationMeta } sv.Status = types.DelegationStatus(jtv) } + default: _, _ = key, value @@ -13276,6 +13560,7 @@ func awsRestjson1_deserializeDocumentDeregistrationPolicy(v **types.Deregistrati } sv.DeleteResources = types.DeleteResources(jtv) } + default: _, _ = key, value @@ -13315,10 +13600,12 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AssessmentReportSelection = ptr.String(jtv) } + case "attributes": if err := awsRestjson1_deserializeDocumentEvidenceAttributes(&sv.Attributes, value); err != nil { return err } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -13327,6 +13614,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AwsAccountId = ptr.String(jtv) } + case "awsOrganization": if value != nil { jtv, ok := value.(string) @@ -13335,6 +13623,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.AwsOrganization = ptr.String(jtv) } + case "complianceCheck": if value != nil { jtv, ok := value.(string) @@ -13343,6 +13632,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.ComplianceCheck = ptr.String(jtv) } + case "dataSource": if value != nil { jtv, ok := value.(string) @@ -13351,6 +13641,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.DataSource = ptr.String(jtv) } + case "eventName": if value != nil { jtv, ok := value.(string) @@ -13359,6 +13650,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EventName = ptr.String(jtv) } + case "eventSource": if value != nil { jtv, ok := value.(string) @@ -13367,6 +13659,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EventSource = ptr.String(jtv) } + case "evidenceAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -13375,6 +13668,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceAwsAccountId = ptr.String(jtv) } + case "evidenceByType": if value != nil { jtv, ok := value.(string) @@ -13383,6 +13677,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceByType = ptr.String(jtv) } + case "evidenceFolderId": if value != nil { jtv, ok := value.(string) @@ -13391,6 +13686,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceFolderId = ptr.String(jtv) } + case "iamId": if value != nil { jtv, ok := value.(string) @@ -13399,6 +13695,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.IamId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13407,10 +13704,12 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.Id = ptr.String(jtv) } + case "resourcesIncluded": if err := awsRestjson1_deserializeDocumentResources(&sv.ResourcesIncluded, value); err != nil { return err } + case "time": if value != nil { switch jtv := value.(type) { @@ -13426,6 +13725,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } } + default: _, _ = key, value @@ -13501,6 +13801,7 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.BackfillStatus = types.EvidenceFinderBackfillStatus(jtv) } + case "enablementStatus": if value != nil { jtv, ok := value.(string) @@ -13509,6 +13810,7 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.EnablementStatus = types.EvidenceFinderEnablementStatus(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -13517,6 +13819,7 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.Error = ptr.String(jtv) } + case "eventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -13525,6 +13828,7 @@ func awsRestjson1_deserializeDocumentEvidenceFinderEnablement(v **types.Evidence } sv.EventDataStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13604,6 +13908,7 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } + case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13616,6 +13921,7 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } + case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13628,6 +13934,7 @@ func awsRestjson1_deserializeDocumentEvidenceInsights(v **types.EvidenceInsights } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13737,6 +14044,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Arn = ptr.String(jtv) } + case "complianceType": if value != nil { jtv, ok := value.(string) @@ -13745,10 +14053,12 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.ComplianceType = ptr.String(jtv) } + case "controlSets": if err := awsRestjson1_deserializeDocumentControlSets(&sv.ControlSets, value); err != nil { return err } + case "controlSources": if value != nil { jtv, ok := value.(string) @@ -13757,6 +14067,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.ControlSources = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13772,6 +14083,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13780,6 +14092,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13788,6 +14101,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13796,6 +14110,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13811,6 +14126,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -13819,6 +14135,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.LastUpdatedBy = ptr.String(jtv) } + case "logo": if value != nil { jtv, ok := value.(string) @@ -13827,6 +14144,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Logo = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13835,10 +14153,12 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -13847,6 +14167,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.Type = types.FrameworkType(jtv) } + default: _, _ = key, value @@ -13886,6 +14207,7 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.ComplianceType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13894,6 +14216,7 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Description = ptr.String(jtv) } + case "logo": if value != nil { jtv, ok := value.(string) @@ -13902,6 +14225,7 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Logo = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13910,6 +14234,7 @@ func awsRestjson1_deserializeDocumentFrameworkMetadata(v **types.FrameworkMetada } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13987,6 +14312,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.ActiveAssessmentsCount = ptr.Int32(int32(i64)) } + case "assessmentControlsCountByNoncompliantEvidence": if value != nil { jtv, ok := value.(json.Number) @@ -13999,6 +14325,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.AssessmentControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } + case "compliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14011,6 +14338,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } + case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14023,6 +14351,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -14038,6 +14367,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } } + case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14050,6 +14380,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } + case "totalAssessmentControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14062,6 +14393,7 @@ func awsRestjson1_deserializeDocumentInsights(v **types.Insights, value interfac } sv.TotalAssessmentControlsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14105,6 +14437,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.AssessmentControlsCountByNoncompliantEvidence = ptr.Int32(int32(i64)) } + case "compliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14117,6 +14450,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.CompliantEvidenceCount = ptr.Int32(int32(i64)) } + case "inconclusiveEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14129,6 +14463,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.InconclusiveEvidenceCount = ptr.Int32(int32(i64)) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -14144,6 +14479,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } } + case "noncompliantEvidenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -14156,6 +14492,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.NoncompliantEvidenceCount = ptr.Int32(int32(i64)) } + case "totalAssessmentControlsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14168,6 +14505,7 @@ func awsRestjson1_deserializeDocumentInsightsByAssessment(v **types.InsightsByAs } sv.TotalAssessmentControlsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14207,6 +14545,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14316,6 +14655,7 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.EvidenceFileName = ptr.String(jtv) } + case "s3ResourcePath": if value != nil { jtv, ok := value.(string) @@ -14324,6 +14664,7 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.S3ResourcePath = ptr.String(jtv) } + case "textResponse": if value != nil { jtv, ok := value.(string) @@ -14332,6 +14673,7 @@ func awsRestjson1_deserializeDocumentManualEvidence(v **types.ManualEvidence, va } sv.TextResponse = ptr.String(jtv) } + default: _, _ = key, value @@ -14371,6 +14713,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.AssessmentId = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -14379,6 +14722,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.AssessmentName = ptr.String(jtv) } + case "controlSetId": if value != nil { jtv, ok := value.(string) @@ -14387,6 +14731,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.ControlSetId = ptr.String(jtv) } + case "controlSetName": if value != nil { jtv, ok := value.(string) @@ -14395,6 +14740,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.ControlSetName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14403,6 +14749,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Description = ptr.String(jtv) } + case "eventTime": if value != nil { switch jtv := value.(type) { @@ -14418,6 +14765,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } } + case "id": if value != nil { jtv, ok := value.(string) @@ -14426,6 +14774,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Id = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -14434,6 +14783,7 @@ func awsRestjson1_deserializeDocumentNotification(v **types.Notification, value } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -14507,6 +14857,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } + case "complianceCheck": if value != nil { jtv, ok := value.(string) @@ -14515,6 +14866,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ComplianceCheck = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14523,6 +14875,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14562,6 +14915,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14570,6 +14924,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14578,6 +14933,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14651,6 +15007,7 @@ func awsRestjson1_deserializeDocumentRole(v **types.Role, value interface{}) err } sv.RoleArn = ptr.String(jtv) } + case "roleType": if value != nil { jtv, ok := value.(string) @@ -14659,6 +15016,7 @@ func awsRestjson1_deserializeDocumentRole(v **types.Role, value interface{}) err } sv.RoleType = types.RoleType(jtv) } + default: _, _ = key, value @@ -14728,10 +15086,12 @@ func awsRestjson1_deserializeDocumentScope(v **types.Scope, value interface{}) e if err := awsRestjson1_deserializeDocumentAWSAccounts(&sv.AwsAccounts, value); err != nil { return err } + case "awsServices": if err := awsRestjson1_deserializeDocumentAWSServices(&sv.AwsServices, value); err != nil { return err } + default: _, _ = key, value @@ -14771,6 +15131,7 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Category = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14779,6 +15140,7 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -14787,6 +15149,7 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14795,6 +15158,7 @@ func awsRestjson1_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14868,6 +15232,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14903,22 +15268,27 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac if err := awsRestjson1_deserializeDocumentAssessmentReportsDestination(&sv.DefaultAssessmentReportsDestination, value); err != nil { return err } + case "defaultExportDestination": if err := awsRestjson1_deserializeDocumentDefaultExportDestination(&sv.DefaultExportDestination, value); err != nil { return err } + case "defaultProcessOwners": if err := awsRestjson1_deserializeDocumentRoles(&sv.DefaultProcessOwners, value); err != nil { return err } + case "deregistrationPolicy": if err := awsRestjson1_deserializeDocumentDeregistrationPolicy(&sv.DeregistrationPolicy, value); err != nil { return err } + case "evidenceFinderEnablement": if err := awsRestjson1_deserializeDocumentEvidenceFinderEnablement(&sv.EvidenceFinderEnablement, value); err != nil { return err } + case "isAwsOrgEnabled": if value != nil { jtv, ok := value.(bool) @@ -14927,6 +15297,7 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.IsAwsOrgEnabled = ptr.Bool(jtv) } + case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -14935,6 +15306,7 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.KmsKey = ptr.String(jtv) } + case "snsTopic": if value != nil { jtv, ok := value.(string) @@ -14943,6 +15315,7 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SnsTopic = ptr.String(jtv) } + default: _, _ = key, value @@ -14982,6 +15355,7 @@ func awsRestjson1_deserializeDocumentSourceKeyword(v **types.SourceKeyword, valu } sv.KeywordInputType = types.KeywordInputType(jtv) } + case "keywordValue": if value != nil { jtv, ok := value.(string) @@ -14990,6 +15364,7 @@ func awsRestjson1_deserializeDocumentSourceKeyword(v **types.SourceKeyword, valu } sv.KeywordValue = ptr.String(jtv) } + default: _, _ = key, value @@ -15065,6 +15440,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15104,6 +15480,7 @@ func awsRestjson1_deserializeDocumentURL(v **types.URL, value interface{}) error } sv.HyperlinkName = ptr.String(jtv) } + case "link": if value != nil { jtv, ok := value.(string) @@ -15112,6 +15489,7 @@ func awsRestjson1_deserializeDocumentURL(v **types.URL, value interface{}) error } sv.Link = ptr.String(jtv) } + default: _, _ = key, value @@ -15183,6 +15561,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15191,6 +15570,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -15199,6 +15579,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -15238,6 +15619,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15246,6 +15628,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/autoscalingplans/deserializers.go b/service/autoscalingplans/deserializers.go index 158d6303da4..66770910ba4 100644 --- a/service/autoscalingplans/deserializers.go +++ b/service/autoscalingplans/deserializers.go @@ -984,10 +984,12 @@ func awsAwsjson11_deserializeDocumentApplicationSource(v **types.ApplicationSour } sv.CloudFormationStackARN = ptr.String(jtv) } + case "TagFilters": if err := awsAwsjson11_deserializeDocumentTagFilters(&sv.TagFilters, value); err != nil { return err } + default: _, _ = key, value @@ -1027,6 +1029,7 @@ func awsAwsjson11_deserializeDocumentConcurrentUpdateException(v **types.Concurr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1062,6 +1065,7 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -1070,6 +1074,7 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1078,6 +1083,7 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Namespace = ptr.String(jtv) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -1086,6 +1092,7 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Statistic = types.MetricStatistic(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -1094,6 +1101,7 @@ func awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(v **types } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -1129,6 +1137,7 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty if err := awsAwsjson11_deserializeDocumentMetricDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -1137,6 +1146,7 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -1145,6 +1155,7 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Namespace = ptr.String(jtv) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -1153,6 +1164,7 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Statistic = types.MetricStatistic(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -1161,6 +1173,7 @@ func awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(v **ty } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -1207,6 +1220,7 @@ func awsAwsjson11_deserializeDocumentDatapoint(v **types.Datapoint, value interf } } + case "Value": if value != nil { switch jtv := value.(type) { @@ -1240,6 +1254,7 @@ func awsAwsjson11_deserializeDocumentDatapoint(v **types.Datapoint, value interf } } + default: _, _ = key, value @@ -1313,6 +1328,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1352,6 +1368,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1391,6 +1408,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1430,6 +1448,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1438,6 +1457,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1511,6 +1531,7 @@ func awsAwsjson11_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1550,6 +1571,7 @@ func awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(v **types } sv.PredefinedLoadMetricType = types.LoadMetricType(jtv) } + case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -1558,6 +1580,7 @@ func awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(v **types } sv.ResourceLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -1597,6 +1620,7 @@ func awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(v **ty } sv.PredefinedScalingMetricType = types.ScalingMetricType(jtv) } + case "ResourceLabel": if value != nil { jtv, ok := value.(string) @@ -1605,6 +1629,7 @@ func awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(v **ty } sv.ResourceLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -1640,6 +1665,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc if err := awsAwsjson11_deserializeDocumentCustomizedLoadMetricSpecification(&sv.CustomizedLoadMetricSpecification, value); err != nil { return err } + case "DisableDynamicScaling": if value != nil { jtv, ok := value.(bool) @@ -1648,6 +1674,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.DisableDynamicScaling = ptr.Bool(jtv) } + case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -1660,6 +1687,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -1672,10 +1700,12 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.MinCapacity = ptr.Int32(int32(i64)) } + case "PredefinedLoadMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedLoadMetricSpecification(&sv.PredefinedLoadMetricSpecification, value); err != nil { return err } + case "PredictiveScalingMaxCapacityBehavior": if value != nil { jtv, ok := value.(string) @@ -1684,6 +1714,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMaxCapacityBehavior = types.PredictiveScalingMaxCapacityBehavior(jtv) } + case "PredictiveScalingMaxCapacityBuffer": if value != nil { jtv, ok := value.(json.Number) @@ -1696,6 +1727,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMaxCapacityBuffer = ptr.Int32(int32(i64)) } + case "PredictiveScalingMode": if value != nil { jtv, ok := value.(string) @@ -1704,6 +1736,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.PredictiveScalingMode = types.PredictiveScalingMode(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -1712,6 +1745,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ResourceId = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -1720,6 +1754,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ScalingPolicyUpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -1728,6 +1763,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScalingPolicyUpdateBehavior = types.ScalingPolicyUpdateBehavior(jtv) } + case "ScheduledActionBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -1740,6 +1776,7 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ScheduledActionBufferTime = ptr.Int32(int32(i64)) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -1748,10 +1785,12 @@ func awsAwsjson11_deserializeDocumentScalingInstruction(v **types.ScalingInstruc } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + case "TargetTrackingConfigurations": if err := awsAwsjson11_deserializeDocumentTargetTrackingConfigurations(&sv.TargetTrackingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -1821,6 +1860,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in if err := awsAwsjson11_deserializeDocumentApplicationSource(&sv.ApplicationSource, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1836,10 +1876,12 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } } + case "ScalingInstructions": if err := awsAwsjson11_deserializeDocumentScalingInstructions(&sv.ScalingInstructions, value); err != nil { return err } + case "ScalingPlanName": if value != nil { jtv, ok := value.(string) @@ -1848,6 +1890,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.ScalingPlanName = ptr.String(jtv) } + case "ScalingPlanVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1860,6 +1903,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.ScalingPlanVersion = ptr.Int64(i64) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1868,6 +1912,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.StatusCode = types.ScalingPlanStatusCode(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -1876,6 +1921,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } sv.StatusMessage = ptr.String(jtv) } + case "StatusStartTime": if value != nil { switch jtv := value.(type) { @@ -1891,6 +1937,7 @@ func awsAwsjson11_deserializeDocumentScalingPlan(v **types.ScalingPlan, value in } } + default: _, _ = key, value @@ -1930,6 +1977,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ResourceId = ptr.String(jtv) } + case "ScalableDimension": if value != nil { jtv, ok := value.(string) @@ -1938,6 +1986,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalableDimension = types.ScalableDimension(jtv) } + case "ScalingPlanName": if value != nil { jtv, ok := value.(string) @@ -1946,6 +1995,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingPlanName = ptr.String(jtv) } + case "ScalingPlanVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1958,10 +2008,12 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingPlanVersion = ptr.Int64(i64) } + case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } + case "ScalingStatusCode": if value != nil { jtv, ok := value.(string) @@ -1970,6 +2022,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingStatusCode = types.ScalingStatusCode(jtv) } + case "ScalingStatusMessage": if value != nil { jtv, ok := value.(string) @@ -1978,6 +2031,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ScalingStatusMessage = ptr.String(jtv) } + case "ServiceNamespace": if value != nil { jtv, ok := value.(string) @@ -1986,6 +2040,7 @@ func awsAwsjson11_deserializeDocumentScalingPlanResource(v **types.ScalingPlanRe } sv.ServiceNamespace = types.ServiceNamespace(jtv) } + default: _, _ = key, value @@ -2127,6 +2182,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyName = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2135,10 +2191,12 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } + case "TargetTrackingConfiguration": if err := awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(&sv.TargetTrackingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2178,10 +2236,12 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentTagValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -2287,6 +2347,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe if err := awsAwsjson11_deserializeDocumentCustomizedScalingMetricSpecification(&sv.CustomizedScalingMetricSpecification, value); err != nil { return err } + case "DisableScaleIn": if value != nil { jtv, ok := value.(bool) @@ -2295,6 +2356,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.DisableScaleIn = ptr.Bool(jtv) } + case "EstimatedInstanceWarmup": if value != nil { jtv, ok := value.(json.Number) @@ -2307,10 +2369,12 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.EstimatedInstanceWarmup = ptr.Int32(int32(i64)) } + case "PredefinedScalingMetricSpecification": if err := awsAwsjson11_deserializeDocumentPredefinedScalingMetricSpecification(&sv.PredefinedScalingMetricSpecification, value); err != nil { return err } + case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -2323,6 +2387,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } + case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -2335,6 +2400,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } + case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -2368,6 +2434,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingConfiguration(v **types.Targe } } + default: _, _ = key, value @@ -2441,6 +2508,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2484,6 +2552,7 @@ func awsAwsjson11_deserializeOpDocumentCreateScalingPlanOutput(v **CreateScaling } sv.ScalingPlanVersion = ptr.Int64(i64) } + default: _, _ = key, value @@ -2554,10 +2623,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPlanResourcesOutput(v **De } sv.NextToken = ptr.String(jtv) } + case "ScalingPlanResources": if err := awsAwsjson11_deserializeDocumentScalingPlanResources(&sv.ScalingPlanResources, value); err != nil { return err } + default: _, _ = key, value @@ -2597,10 +2668,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPlansOutput(v **DescribeSc } sv.NextToken = ptr.String(jtv) } + case "ScalingPlans": if err := awsAwsjson11_deserializeDocumentScalingPlans(&sv.ScalingPlans, value); err != nil { return err } + default: _, _ = key, value @@ -2636,6 +2709,7 @@ func awsAwsjson11_deserializeOpDocumentGetScalingPlanResourceForecastDataOutput( if err := awsAwsjson11_deserializeDocumentDatapoints(&sv.Datapoints, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/b2bi/deserializers.go b/service/b2bi/deserializers.go index 720e5517161..d6a11a65262 100644 --- a/service/b2bi/deserializers.go +++ b/service/b2bi/deserializers.go @@ -3776,6 +3776,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3885,6 +3886,7 @@ func awsAwsjson10_deserializeDocumentCapabilityOptions(v **types.CapabilityOptio if err := awsAwsjson10_deserializeDocumentOutboundEdiOptions(&sv.OutboundEdi, value); err != nil { return err } + default: _, _ = key, value @@ -3924,6 +3926,7 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.CapabilityId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3936,6 +3939,7 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.CreatedAt = ptr.Time(t) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3948,6 +3952,7 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3956,6 +3961,7 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3964,6 +3970,7 @@ func awsAwsjson10_deserializeDocumentCapabilitySummary(v **types.CapabilitySumma } sv.Type = types.CapabilityType(jtv) } + default: _, _ = key, value @@ -4003,6 +4010,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4042,14 +4050,17 @@ func awsAwsjson10_deserializeDocumentEdiConfiguration(v **types.EdiConfiguration } sv.CapabilityDirection = types.CapabilityDirection(jtv) } + case "inputLocation": if err := awsAwsjson10_deserializeDocumentS3Location(&sv.InputLocation, value); err != nil { return err } + case "outputLocation": if err := awsAwsjson10_deserializeDocumentS3Location(&sv.OutputLocation, value); err != nil { return err } + case "transformerId": if value != nil { jtv, ok := value.(string) @@ -4058,10 +4069,12 @@ func awsAwsjson10_deserializeDocumentEdiConfiguration(v **types.EdiConfiguration } sv.TransformerId = ptr.String(jtv) } + case "type": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -4177,6 +4190,7 @@ func awsAwsjson10_deserializeDocumentInputConversion(v **types.InputConversion, if err := awsAwsjson10_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "fromFormat": if value != nil { jtv, ok := value.(string) @@ -4185,6 +4199,7 @@ func awsAwsjson10_deserializeDocumentInputConversion(v **types.InputConversion, } sv.FromFormat = types.FromFormat(jtv) } + default: _, _ = key, value @@ -4258,6 +4273,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4270,6 +4286,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4343,6 +4360,7 @@ func awsAwsjson10_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.Template = ptr.String(jtv) } + case "templateLanguage": if value != nil { jtv, ok := value.(string) @@ -4351,6 +4369,7 @@ func awsAwsjson10_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.TemplateLanguage = types.MappingTemplateLanguage(jtv) } + default: _, _ = key, value @@ -4426,6 +4445,7 @@ func awsAwsjson10_deserializeDocumentOutputConversion(v **types.OutputConversion if err := awsAwsjson10_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "toFormat": if value != nil { jtv, ok := value.(string) @@ -4434,6 +4454,7 @@ func awsAwsjson10_deserializeDocumentOutputConversion(v **types.OutputConversion } sv.ToFormat = types.ToFormat(jtv) } + default: _, _ = key, value @@ -4539,10 +4560,12 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } + case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4578,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.CreatedAt = ptr.Time(t) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4567,6 +4591,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4575,6 +4600,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.Name = ptr.String(jtv) } + case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -4583,6 +4609,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.PartnershipId = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -4591,6 +4618,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.ProfileId = ptr.String(jtv) } + case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -4599,6 +4627,7 @@ func awsAwsjson10_deserializeDocumentPartnershipSummary(v **types.PartnershipSum } sv.TradingPartnerId = ptr.String(jtv) } + default: _, _ = key, value @@ -4672,6 +4701,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.BusinessName = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4684,6 +4714,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.CreatedAt = ptr.Time(t) } + case "logging": if value != nil { jtv, ok := value.(string) @@ -4692,6 +4723,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Logging = types.Logging(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -4700,6 +4732,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.LogGroupName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4712,6 +4745,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4720,6 +4754,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Name = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -4728,6 +4763,7 @@ func awsAwsjson10_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -4767,6 +4803,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4806,6 +4843,7 @@ func awsAwsjson10_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -4814,6 +4852,7 @@ func awsAwsjson10_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -4887,6 +4926,7 @@ func awsAwsjson10_deserializeDocumentSampleDocumentKeys(v **types.SampleDocument } sv.Input = ptr.String(jtv) } + case "output": if value != nil { jtv, ok := value.(string) @@ -4895,6 +4935,7 @@ func awsAwsjson10_deserializeDocumentSampleDocumentKeys(v **types.SampleDocument } sv.Output = ptr.String(jtv) } + default: _, _ = key, value @@ -4934,10 +4975,12 @@ func awsAwsjson10_deserializeDocumentSampleDocuments(v **types.SampleDocuments, } sv.BucketName = ptr.String(jtv) } + case "keys": if err := awsAwsjson10_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } + default: _, _ = key, value @@ -4977,6 +5020,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4985,6 +5029,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4993,6 +5038,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5001,6 +5047,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5009,6 +5056,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5048,6 +5096,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5056,6 +5105,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5129,6 +5179,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5141,6 +5192,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5218,10 +5270,12 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.CreatedAt = ptr.Time(t) } + case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -5230,14 +5284,17 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.FileFormat = types.FileFormat(jtv) } + case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } + case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } + case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -5246,6 +5303,7 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.MappingTemplate = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -5258,6 +5316,7 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5266,10 +5325,12 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.Name = ptr.String(jtv) } + case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } + case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -5278,10 +5339,12 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.SampleDocument = ptr.String(jtv) } + case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5290,6 +5353,7 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.Status = types.TransformerStatus(jtv) } + case "transformerId": if value != nil { jtv, ok := value.(string) @@ -5298,6 +5362,7 @@ func awsAwsjson10_deserializeDocumentTransformerSummary(v **types.TransformerSum } sv.TransformerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5337,6 +5402,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5412,6 +5478,7 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.ComponentSeparator = ptr.String(jtv) } + case "dataElementSeparator": if value != nil { jtv, ok := value.(string) @@ -5420,6 +5487,7 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.DataElementSeparator = ptr.String(jtv) } + case "segmentTerminator": if value != nil { jtv, ok := value.(string) @@ -5428,6 +5496,7 @@ func awsAwsjson10_deserializeDocumentX12Delimiters(v **types.X12Delimiters, valu } sv.SegmentTerminator = ptr.String(jtv) } + default: _, _ = key, value @@ -5467,6 +5536,7 @@ func awsAwsjson10_deserializeDocumentX12Details(v **types.X12Details, value inte } sv.TransactionSet = types.X12TransactionSet(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5475,6 +5545,7 @@ func awsAwsjson10_deserializeDocumentX12Details(v **types.X12Details, value inte } sv.Version = types.X12Version(jtv) } + default: _, _ = key, value @@ -5510,6 +5581,7 @@ func awsAwsjson10_deserializeDocumentX12Envelope(v **types.X12Envelope, value in if err := awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(&sv.Common, value); err != nil { return err } + default: _, _ = key, value @@ -5549,6 +5621,7 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ApplicationReceiverCode = ptr.String(jtv) } + case "applicationSenderCode": if value != nil { jtv, ok := value.(string) @@ -5557,6 +5630,7 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ApplicationSenderCode = ptr.String(jtv) } + case "responsibleAgencyCode": if value != nil { jtv, ok := value.(string) @@ -5565,6 +5639,7 @@ func awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(v **types.X12Func } sv.ResponsibleAgencyCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5604,6 +5679,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.AcknowledgmentRequestedCode = ptr.String(jtv) } + case "receiverId": if value != nil { jtv, ok := value.(string) @@ -5612,6 +5688,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.ReceiverId = ptr.String(jtv) } + case "receiverIdQualifier": if value != nil { jtv, ok := value.(string) @@ -5620,6 +5697,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.ReceiverIdQualifier = ptr.String(jtv) } + case "repetitionSeparator": if value != nil { jtv, ok := value.(string) @@ -5628,6 +5706,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.RepetitionSeparator = ptr.String(jtv) } + case "senderId": if value != nil { jtv, ok := value.(string) @@ -5636,6 +5715,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.SenderId = ptr.String(jtv) } + case "senderIdQualifier": if value != nil { jtv, ok := value.(string) @@ -5644,6 +5724,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.SenderIdQualifier = ptr.String(jtv) } + case "usageIndicatorCode": if value != nil { jtv, ok := value.(string) @@ -5652,6 +5733,7 @@ func awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(v **types.X12I } sv.UsageIndicatorCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5687,14 +5769,17 @@ func awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(v **types.X12Outbound if err := awsAwsjson10_deserializeDocumentX12Delimiters(&sv.Delimiters, value); err != nil { return err } + case "functionalGroupHeaders": if err := awsAwsjson10_deserializeDocumentX12FunctionalGroupHeaders(&sv.FunctionalGroupHeaders, value); err != nil { return err } + case "interchangeControlHeaders": if err := awsAwsjson10_deserializeDocumentX12InterchangeControlHeaders(&sv.InterchangeControlHeaders, value); err != nil { return err } + case "validateEdi": if value != nil { jtv, ok := value.(bool) @@ -5703,6 +5788,7 @@ func awsAwsjson10_deserializeDocumentX12OutboundEdiHeaders(v **types.X12Outbound } sv.ValidateEdi = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5742,6 +5828,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CapabilityArn = ptr.String(jtv) } + case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -5750,10 +5837,12 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CapabilityId = ptr.String(jtv) } + case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5766,10 +5855,12 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.CreatedAt = ptr.Time(t) } + case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5778,6 +5869,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5786,6 +5878,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCapabilityOutput(v **CreateCapabili } sv.Type = types.CapabilityType(jtv) } + default: _, _ = key, value @@ -5821,10 +5914,12 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } + case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5837,6 +5932,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -5845,6 +5941,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Email = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5853,6 +5950,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Name = ptr.String(jtv) } + case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -5861,6 +5959,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.PartnershipArn = ptr.String(jtv) } + case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -5869,6 +5968,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.PartnershipId = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -5877,6 +5977,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.Phone = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -5885,6 +5986,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.ProfileId = ptr.String(jtv) } + case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -5893,6 +5995,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePartnershipOutput(v **CreatePartner } sv.TradingPartnerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5932,6 +6035,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.BusinessName = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5944,6 +6048,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -5952,6 +6057,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Email = ptr.String(jtv) } + case "logging": if value != nil { jtv, ok := value.(string) @@ -5960,6 +6066,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Logging = types.Logging(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -5968,6 +6075,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.LogGroupName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5976,6 +6084,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Name = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -5984,6 +6093,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.Phone = ptr.String(jtv) } + case "profileArn": if value != nil { jtv, ok := value.(string) @@ -5992,6 +6102,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileArn = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -6000,6 +6111,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -6039,6 +6151,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStarterMappingTemplateOutput(v **Cr } sv.MappingTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -6082,10 +6195,12 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.CreatedAt = ptr.Time(t) } + case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -6094,14 +6209,17 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.FileFormat = types.FileFormat(jtv) } + case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } + case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } + case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -6110,6 +6228,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.MappingTemplate = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6118,10 +6237,12 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.Name = ptr.String(jtv) } + case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } + case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -6130,10 +6251,12 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.SampleDocument = ptr.String(jtv) } + case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6142,6 +6265,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.Status = types.TransformerStatus(jtv) } + case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -6150,6 +6274,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.TransformerArn = ptr.String(jtv) } + case "transformerId": if value != nil { jtv, ok := value.(string) @@ -6158,6 +6283,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTransformerOutput(v **CreateTransfo } sv.TransformerId = ptr.String(jtv) } + default: _, _ = key, value @@ -6197,6 +6323,7 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CapabilityArn = ptr.String(jtv) } + case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -6205,10 +6332,12 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CapabilityId = ptr.String(jtv) } + case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6221,10 +6350,12 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.CreatedAt = ptr.Time(t) } + case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6237,6 +6368,7 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6377,7 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6253,6 +6386,7 @@ func awsAwsjson10_deserializeOpDocumentGetCapabilityOutput(v **GetCapabilityOutp } sv.Type = types.CapabilityType(jtv) } + default: _, _ = key, value @@ -6288,10 +6422,12 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } + case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6304,6 +6440,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -6312,6 +6449,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Email = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6324,6 +6462,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6332,6 +6471,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Name = ptr.String(jtv) } + case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -6340,6 +6480,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.PartnershipArn = ptr.String(jtv) } + case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -6348,6 +6489,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.PartnershipId = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -6356,6 +6498,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.Phone = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6507,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.ProfileId = ptr.String(jtv) } + case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6516,7 @@ func awsAwsjson10_deserializeOpDocumentGetPartnershipOutput(v **GetPartnershipOu } sv.TradingPartnerId = ptr.String(jtv) } + default: _, _ = key, value @@ -6411,6 +6556,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.BusinessName = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6423,6 +6569,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -6431,6 +6578,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Email = ptr.String(jtv) } + case "logging": if value != nil { jtv, ok := value.(string) @@ -6439,6 +6587,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Logging = types.Logging(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -6447,6 +6596,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.LogGroupName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6459,6 +6609,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6467,6 +6618,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Name = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -6475,6 +6627,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.Phone = ptr.String(jtv) } + case "profileArn": if value != nil { jtv, ok := value.(string) @@ -6483,6 +6636,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ProfileArn = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -6491,6 +6645,7 @@ func awsAwsjson10_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -6530,10 +6685,12 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerJobOutput(v **GetTransforme } sv.Message = ptr.String(jtv) } + case "outputFiles": if err := awsAwsjson10_deserializeDocumentS3LocationList(&sv.OutputFiles, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6542,6 +6699,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerJobOutput(v **GetTransforme } sv.Status = types.TransformerJobStatus(jtv) } + default: _, _ = key, value @@ -6585,10 +6743,12 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.CreatedAt = ptr.Time(t) } + case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -6597,14 +6757,17 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.FileFormat = types.FileFormat(jtv) } + case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } + case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } + case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -6613,6 +6776,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.MappingTemplate = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -6625,6 +6789,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6633,10 +6798,12 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.Name = ptr.String(jtv) } + case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } + case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -6645,10 +6812,12 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.SampleDocument = ptr.String(jtv) } + case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6657,6 +6826,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.Status = types.TransformerStatus(jtv) } + case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -6665,6 +6835,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.TransformerArn = ptr.String(jtv) } + case "transformerId": if value != nil { jtv, ok := value.(string) @@ -6673,6 +6844,7 @@ func awsAwsjson10_deserializeOpDocumentGetTransformerOutput(v **GetTransformerOu } sv.TransformerId = ptr.String(jtv) } + default: _, _ = key, value @@ -6708,6 +6880,7 @@ func awsAwsjson10_deserializeOpDocumentListCapabilitiesOutput(v **ListCapabiliti if err := awsAwsjson10_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6716,6 +6889,7 @@ func awsAwsjson10_deserializeOpDocumentListCapabilitiesOutput(v **ListCapabiliti } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6755,10 +6929,12 @@ func awsAwsjson10_deserializeOpDocumentListPartnershipsOutput(v **ListPartnershi } sv.NextToken = ptr.String(jtv) } + case "partnerships": if err := awsAwsjson10_deserializeDocumentPartnershipList(&sv.Partnerships, value); err != nil { return err } + default: _, _ = key, value @@ -6798,10 +6974,12 @@ func awsAwsjson10_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } + case "profiles": if err := awsAwsjson10_deserializeDocumentProfileList(&sv.Profiles, value); err != nil { return err } + default: _, _ = key, value @@ -6837,6 +7015,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6876,10 +7055,12 @@ func awsAwsjson10_deserializeOpDocumentListTransformersOutput(v **ListTransforme } sv.NextToken = ptr.String(jtv) } + case "transformers": if err := awsAwsjson10_deserializeDocumentTransformerList(&sv.Transformers, value); err != nil { return err } + default: _, _ = key, value @@ -6919,6 +7100,7 @@ func awsAwsjson10_deserializeOpDocumentStartTransformerJobOutput(v **StartTransf } sv.TransformerJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -6958,10 +7140,12 @@ func awsAwsjson10_deserializeOpDocumentTestConversionOutput(v **TestConversionOu } sv.ConvertedFileContent = ptr.String(jtv) } + case "validationMessages": if err := awsAwsjson10_deserializeDocumentValidationMessages(&sv.ValidationMessages, value); err != nil { return err } + default: _, _ = key, value @@ -7001,6 +7185,7 @@ func awsAwsjson10_deserializeOpDocumentTestMappingOutput(v **TestMappingOutput, } sv.MappedFileContent = ptr.String(jtv) } + default: _, _ = key, value @@ -7040,6 +7225,7 @@ func awsAwsjson10_deserializeOpDocumentTestParsingOutput(v **TestParsingOutput, } sv.ParsedFileContent = ptr.String(jtv) } + default: _, _ = key, value @@ -7079,6 +7265,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CapabilityArn = ptr.String(jtv) } + case "capabilityId": if value != nil { jtv, ok := value.(string) @@ -7087,10 +7274,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CapabilityId = ptr.String(jtv) } + case "configuration": if err := awsAwsjson10_deserializeDocumentCapabilityConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7103,10 +7292,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.CreatedAt = ptr.Time(t) } + case "instructionsDocuments": if err := awsAwsjson10_deserializeDocumentInstructionsDocuments(&sv.InstructionsDocuments, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7119,6 +7310,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7127,6 +7319,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7135,6 +7328,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCapabilityOutput(v **UpdateCapabili } sv.Type = types.CapabilityType(jtv) } + default: _, _ = key, value @@ -7170,10 +7364,12 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner if err := awsAwsjson10_deserializeDocumentPartnershipCapabilities(&sv.Capabilities, value); err != nil { return err } + case "capabilityOptions": if err := awsAwsjson10_deserializeDocumentCapabilityOptions(&sv.CapabilityOptions, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7186,6 +7382,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -7194,6 +7391,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Email = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7206,6 +7404,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7214,6 +7413,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Name = ptr.String(jtv) } + case "partnershipArn": if value != nil { jtv, ok := value.(string) @@ -7222,6 +7422,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.PartnershipArn = ptr.String(jtv) } + case "partnershipId": if value != nil { jtv, ok := value.(string) @@ -7230,6 +7431,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.PartnershipId = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -7238,6 +7440,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.Phone = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -7246,6 +7449,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.ProfileId = ptr.String(jtv) } + case "tradingPartnerId": if value != nil { jtv, ok := value.(string) @@ -7254,6 +7458,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePartnershipOutput(v **UpdatePartner } sv.TradingPartnerId = ptr.String(jtv) } + default: _, _ = key, value @@ -7293,6 +7498,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.BusinessName = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7305,6 +7511,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.CreatedAt = ptr.Time(t) } + case "email": if value != nil { jtv, ok := value.(string) @@ -7313,6 +7520,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Email = ptr.String(jtv) } + case "logging": if value != nil { jtv, ok := value.(string) @@ -7321,6 +7529,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Logging = types.Logging(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -7329,6 +7538,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.LogGroupName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7341,6 +7551,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7349,6 +7560,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Name = ptr.String(jtv) } + case "phone": if value != nil { jtv, ok := value.(string) @@ -7357,6 +7569,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.Phone = ptr.String(jtv) } + case "profileArn": if value != nil { jtv, ok := value.(string) @@ -7365,6 +7578,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileArn = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -7373,6 +7587,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -7416,10 +7631,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.CreatedAt = ptr.Time(t) } + case "ediType": if err := awsAwsjson10_deserializeDocumentEdiType(&sv.EdiType, value); err != nil { return err } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -7428,14 +7645,17 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.FileFormat = types.FileFormat(jtv) } + case "inputConversion": if err := awsAwsjson10_deserializeDocumentInputConversion(&sv.InputConversion, value); err != nil { return err } + case "mapping": if err := awsAwsjson10_deserializeDocumentMapping(&sv.Mapping, value); err != nil { return err } + case "mappingTemplate": if value != nil { jtv, ok := value.(string) @@ -7444,6 +7664,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.MappingTemplate = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -7456,6 +7677,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7464,10 +7686,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.Name = ptr.String(jtv) } + case "outputConversion": if err := awsAwsjson10_deserializeDocumentOutputConversion(&sv.OutputConversion, value); err != nil { return err } + case "sampleDocument": if value != nil { jtv, ok := value.(string) @@ -7476,10 +7700,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.SampleDocument = ptr.String(jtv) } + case "sampleDocuments": if err := awsAwsjson10_deserializeDocumentSampleDocuments(&sv.SampleDocuments, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7488,6 +7714,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.Status = types.TransformerStatus(jtv) } + case "transformerArn": if value != nil { jtv, ok := value.(string) @@ -7496,6 +7723,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.TransformerArn = ptr.String(jtv) } + case "transformerId": if value != nil { jtv, ok := value.(string) @@ -7504,6 +7732,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTransformerOutput(v **UpdateTransfo } sv.TransformerId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/backup/deserializers.go b/service/backup/deserializers.go index 31edf14b313..6c9bef6394b 100644 --- a/service/backup/deserializers.go +++ b/service/backup/deserializers.go @@ -284,6 +284,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -292,6 +293,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -300,6 +302,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.BackupPlanId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -315,6 +318,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -323,6 +327,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupPlanOutput(v **CreateBackupPl } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -490,6 +495,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } sv.BackupPlanId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -505,6 +511,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } } + case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -513,6 +520,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupSelectionOutput(v **CreateBac } sv.SelectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -680,6 +688,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -688,6 +697,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } sv.BackupVaultName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -703,6 +713,7 @@ func awsRestjson1_deserializeOpDocumentCreateBackupVaultOutput(v **CreateBackupV } } + default: _, _ = key, value @@ -870,6 +881,7 @@ func awsRestjson1_deserializeOpDocumentCreateFrameworkOutput(v **CreateFramework } sv.FrameworkArn = ptr.String(jtv) } + case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -878,6 +890,7 @@ func awsRestjson1_deserializeOpDocumentCreateFrameworkOutput(v **CreateFramework } sv.FrameworkName = ptr.String(jtv) } + default: _, _ = key, value @@ -1049,6 +1062,7 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1057,6 +1071,7 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Description = ptr.String(jtv) } + case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -1065,6 +1080,7 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.LegalHoldArn = ptr.String(jtv) } + case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -1073,10 +1089,12 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.LegalHoldId = ptr.String(jtv) } + case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1085,6 +1103,7 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Status = types.LegalHoldStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -1093,6 +1112,7 @@ func awsRestjson1_deserializeOpDocumentCreateLegalHoldOutput(v **CreateLegalHold } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -1263,6 +1283,7 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -1271,6 +1292,7 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.BackupVaultName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1286,6 +1308,7 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } } + case "VaultState": if value != nil { jtv, ok := value.(string) @@ -1294,6 +1317,7 @@ func awsRestjson1_deserializeOpDocumentCreateLogicallyAirGappedBackupVaultOutput } sv.VaultState = types.VaultState(jtv) } + default: _, _ = key, value @@ -1468,6 +1492,7 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } } + case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -1476,6 +1501,7 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } sv.ReportPlanArn = ptr.String(jtv) } + case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -1484,6 +1510,7 @@ func awsRestjson1_deserializeOpDocumentCreateReportPlanOutput(v **CreateReportPl } sv.ReportPlanName = ptr.String(jtv) } + default: _, _ = key, value @@ -1661,6 +1688,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -1669,6 +1697,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -1677,6 +1706,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingPlanOutput(v **Create } sv.RestoreTestingPlanName = ptr.String(jtv) } + default: _, _ = key, value @@ -1854,6 +1884,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -1862,6 +1893,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -1870,6 +1902,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -1878,6 +1911,7 @@ func awsRestjson1_deserializeOpDocumentCreateRestoreTestingSelectionOutput(v **C } sv.RestoreTestingSelectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -2045,6 +2079,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -2053,6 +2088,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.BackupPlanId = ptr.String(jtv) } + case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -2068,6 +2104,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -2076,6 +2113,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBackupPlanOutput(v **DeleteBackupPl } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -3279,6 +3317,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.AccountId = ptr.String(jtv) } + case "BackupJobId": if value != nil { jtv, ok := value.(string) @@ -3287,10 +3326,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupJobId = ptr.String(jtv) } + case "BackupOptions": if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } + case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3303,6 +3344,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "BackupType": if value != nil { jtv, ok := value.(string) @@ -3311,6 +3353,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupType = ptr.String(jtv) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -3319,6 +3362,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -3327,6 +3371,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BackupVaultName = ptr.String(jtv) } + case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -3339,10 +3384,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.BytesTransferred = ptr.Int64(i64) } + case "ChildJobsInState": if err := awsRestjson1_deserializeDocumentBackupJobChildJobsInState(&sv.ChildJobsInState, value); err != nil { return err } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -3358,10 +3405,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3377,6 +3426,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } + case "ExpectedCompletionDate": if value != nil { switch jtv := value.(type) { @@ -3392,6 +3442,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3400,6 +3451,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.IamRoleArn = ptr.String(jtv) } + case "InitiationDate": if value != nil { switch jtv := value.(type) { @@ -3415,6 +3467,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -3423,6 +3476,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.IsParent = jtv } + case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -3431,6 +3485,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.MessageCategory = ptr.String(jtv) } + case "NumberOfChildJobs": if value != nil { jtv, ok := value.(json.Number) @@ -3443,6 +3498,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.NumberOfChildJobs = ptr.Int64(i64) } + case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -3451,6 +3507,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ParentJobId = ptr.String(jtv) } + case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -3459,6 +3516,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.PercentDone = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -3467,6 +3525,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3534,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -3483,6 +3543,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3491,6 +3552,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.ResourceType = ptr.String(jtv) } + case "StartBy": if value != nil { switch jtv := value.(type) { @@ -3506,6 +3568,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } } + case "State": if value != nil { jtv, ok := value.(string) @@ -3514,6 +3577,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.State = types.BackupJobState(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3522,6 +3586,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupJobOutput(v **DescribeBacku } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3686,6 +3751,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -3694,6 +3760,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.BackupVaultName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3709,6 +3776,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -3717,6 +3785,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.CreatorRequestId = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -3725,6 +3794,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.EncryptionKeyArn = ptr.String(jtv) } + case "LockDate": if value != nil { switch jtv := value.(type) { @@ -3740,6 +3810,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } } + case "Locked": if value != nil { jtv, ok := value.(bool) @@ -3748,6 +3819,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.Locked = ptr.Bool(jtv) } + case "MaxRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -3760,6 +3832,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.MaxRetentionDays = ptr.Int64(i64) } + case "MinRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -3772,6 +3845,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.MinRetentionDays = ptr.Int64(i64) } + case "NumberOfRecoveryPoints": if value != nil { jtv, ok := value.(json.Number) @@ -3784,6 +3858,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.NumberOfRecoveryPoints = i64 } + case "VaultState": if value != nil { jtv, ok := value.(string) @@ -3792,6 +3867,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.VaultState = types.VaultState(jtv) } + case "VaultType": if value != nil { jtv, ok := value.(string) @@ -3800,6 +3876,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupVaultOutput(v **DescribeBac } sv.VaultType = types.VaultType(jtv) } + default: _, _ = key, value @@ -3960,6 +4037,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCopyJobOutput(v **DescribeCopyJob if err := awsRestjson1_deserializeDocumentCopyJob(&sv.CopyJob, value); err != nil { return err } + default: _, _ = key, value @@ -4131,6 +4209,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } } + case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -4139,6 +4218,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.DeploymentStatus = ptr.String(jtv) } + case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -4147,10 +4227,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkArn = ptr.String(jtv) } + case "FrameworkControls": if err := awsRestjson1_deserializeDocumentFrameworkControls(&sv.FrameworkControls, value); err != nil { return err } + case "FrameworkDescription": if value != nil { jtv, ok := value.(string) @@ -4159,6 +4241,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkDescription = ptr.String(jtv) } + case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -4167,6 +4250,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkName = ptr.String(jtv) } + case "FrameworkStatus": if value != nil { jtv, ok := value.(string) @@ -4175,6 +4259,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.FrameworkStatus = ptr.String(jtv) } + case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -4183,6 +4268,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFrameworkOutput(v **DescribeFrame } sv.IdempotencyToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4337,6 +4423,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalSettingsOutput(v **Describe if err := awsRestjson1_deserializeDocumentGlobalSettings(&sv.GlobalSettings, value); err != nil { return err } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -4352,6 +4439,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalSettingsOutput(v **Describe } } + default: _, _ = key, value @@ -4523,6 +4611,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } + case "LastBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -4531,6 +4620,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LastBackupVaultArn = ptr.String(jtv) } + case "LastRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -4539,6 +4629,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LastRecoveryPointArn = ptr.String(jtv) } + case "LatestRestoreExecutionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -4551,6 +4642,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.LatestRestoreExecutionTimeMinutes = ptr.Int64(i64) } + case "LatestRestoreJobCreationDate": if value != nil { switch jtv := value.(type) { @@ -4566,6 +4658,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } + case "LatestRestoreRecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -4581,6 +4674,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4589,6 +4683,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4597,6 +4692,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4605,6 +4701,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProtectedResourceOutput(v **Descr } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4773,6 +4870,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -4781,6 +4879,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -4789,10 +4888,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.BackupVaultName = ptr.String(jtv) } + case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -4808,6 +4909,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } + case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -4816,10 +4918,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.CompositeMemberIdentifier = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -4835,6 +4939,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4843,6 +4948,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.EncryptionKeyArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -4851,6 +4957,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IamRoleArn = ptr.String(jtv) } + case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -4859,6 +4966,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IsEncrypted = jtv } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -4867,6 +4975,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.IsParent = jtv } + case "LastRestoreTime": if value != nil { switch jtv := value.(type) { @@ -4882,10 +4991,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } + case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -4894,6 +5005,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ParentRecoveryPointArn = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -4902,6 +5014,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4910,6 +5023,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4918,6 +5032,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4926,6 +5041,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.ResourceType = ptr.String(jtv) } + case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -4934,6 +5050,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.SourceBackupVaultArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4942,6 +5059,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.Status = types.RecoveryPointStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4950,6 +5068,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.StatusMessage = ptr.String(jtv) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -4958,6 +5077,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.StorageClass = types.StorageClass(jtv) } + case "VaultType": if value != nil { jtv, ok := value.(string) @@ -4966,6 +5086,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryPointOutput(v **DescribeR } sv.VaultType = types.VaultType(jtv) } + default: _, _ = key, value @@ -5117,10 +5238,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRegionSettingsOutput(v **Describe if err := awsRestjson1_deserializeDocumentResourceTypeManagementPreference(&sv.ResourceTypeManagementPreference, value); err != nil { return err } + case "ResourceTypeOptInPreference": if err := awsRestjson1_deserializeDocumentResourceTypeOptInPreference(&sv.ResourceTypeOptInPreference, value); err != nil { return err } + default: _, _ = key, value @@ -5278,6 +5401,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReportJobOutput(v **DescribeRepor if err := awsRestjson1_deserializeDocumentReportJob(&sv.ReportJob, value); err != nil { return err } + default: _, _ = key, value @@ -5438,6 +5562,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReportPlanOutput(v **DescribeRepo if err := awsRestjson1_deserializeDocumentReportPlan(&sv.ReportPlan, value); err != nil { return err } + default: _, _ = key, value @@ -5605,6 +5730,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.AccountId = ptr.String(jtv) } + case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5617,6 +5743,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -5632,10 +5759,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRestoreJobCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreatedResourceArn": if value != nil { jtv, ok := value.(string) @@ -5644,6 +5773,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.CreatedResourceArn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5659,6 +5789,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } + case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -5667,6 +5798,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.DeletionStatus = types.RestoreDeletionStatus(jtv) } + case "DeletionStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5675,6 +5807,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.DeletionStatusMessage = ptr.String(jtv) } + case "ExpectedCompletionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5687,6 +5820,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ExpectedCompletionTimeMinutes = ptr.Int64(i64) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -5695,6 +5829,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.IamRoleArn = ptr.String(jtv) } + case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -5703,6 +5838,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.PercentDone = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -5711,6 +5847,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.RecoveryPointArn = ptr.String(jtv) } + case "RecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -5726,6 +5863,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5734,6 +5872,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ResourceType = ptr.String(jtv) } + case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -5742,6 +5881,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.RestoreJobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5750,6 +5890,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.Status = types.RestoreJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5758,6 +5899,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.StatusMessage = ptr.String(jtv) } + case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -5766,6 +5908,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ValidationStatus = types.RestoreValidationStatus(jtv) } + case "ValidationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5774,6 +5917,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRestoreJobOutput(v **DescribeRest } sv.ValidationStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6153,6 +6297,7 @@ func awsRestjson1_deserializeOpDocumentExportBackupPlanTemplateOutput(v **Export } sv.BackupPlanTemplateJson = ptr.String(jtv) } + default: _, _ = key, value @@ -6313,10 +6458,12 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlan": if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlan, value); err != nil { return err } + case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -6325,6 +6472,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -6333,6 +6481,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.BackupPlanId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -6348,6 +6497,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -6356,6 +6506,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.CreatorRequestId = ptr.String(jtv) } + case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -6371,6 +6522,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -6386,6 +6538,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -6394,6 +6547,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanOutput(v **GetBackupPlanOutp } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6557,6 +6711,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanFromJSONOutput(v **GetBackup if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlan, value); err != nil { return err } + default: _, _ = key, value @@ -6717,6 +6872,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupPlanFromTemplateOutput(v **GetBa if err := awsRestjson1_deserializeDocumentBackupPlan(&sv.BackupPlanDocument, value); err != nil { return err } + default: _, _ = key, value @@ -6881,10 +7037,12 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.BackupPlanId = ptr.String(jtv) } + case "BackupSelection": if err := awsRestjson1_deserializeDocumentBackupSelection(&sv.BackupSelection, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -6900,6 +7058,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -6908,6 +7067,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.CreatorRequestId = ptr.String(jtv) } + case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -6916,6 +7076,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupSelectionOutput(v **GetBackupSel } sv.SelectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7080,6 +7241,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -7088,6 +7250,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.BackupVaultName = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -7096,6 +7259,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultAccessPolicyOutput(v **GetB } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -7260,10 +7424,12 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultEvents": if err := awsRestjson1_deserializeDocumentBackupVaultEvents(&sv.BackupVaultEvents, value); err != nil { return err } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7438,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.BackupVaultName = ptr.String(jtv) } + case "SNSTopicArn": if value != nil { jtv, ok := value.(string) @@ -7280,6 +7447,7 @@ func awsRestjson1_deserializeOpDocumentGetBackupVaultNotificationsOutput(v **Get } sv.SNSTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7444,6 +7612,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.CancelDescription = ptr.String(jtv) } + case "CancellationDate": if value != nil { switch jtv := value.(type) { @@ -7459,6 +7628,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -7474,6 +7644,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7482,6 +7653,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Description = ptr.String(jtv) } + case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -7490,6 +7662,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.LegalHoldArn = ptr.String(jtv) } + case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -7498,10 +7671,12 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.LegalHoldId = ptr.String(jtv) } + case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } + case "RetainRecordUntil": if value != nil { switch jtv := value.(type) { @@ -7517,6 +7692,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7525,6 +7701,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Status = types.LegalHoldStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -7533,6 +7710,7 @@ func awsRestjson1_deserializeOpDocumentGetLegalHoldOutput(v **GetLegalHoldOutput } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -7697,6 +7875,7 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.BackupVaultArn = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -7705,6 +7884,7 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7713,10 +7893,12 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryPointRestoreMetadataOutput(v * } sv.ResourceType = ptr.String(jtv) } + case "RestoreMetadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.RestoreMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -7877,6 +8059,7 @@ func awsRestjson1_deserializeOpDocumentGetRestoreJobMetadataOutput(v **GetRestor if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -7885,6 +8068,7 @@ func awsRestjson1_deserializeOpDocumentGetRestoreJobMetadataOutput(v **GetRestor } sv.RestoreJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -8045,6 +8229,7 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingInferredMetadataOutput(v if err := awsRestjson1_deserializeDocumentStringMap(&sv.InferredMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -8199,6 +8384,7 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingPlanOutput(v **GetRestor if err := awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(&sv.RestoreTestingPlan, value); err != nil { return err } + default: _, _ = key, value @@ -8353,6 +8539,7 @@ func awsRestjson1_deserializeOpDocumentGetRestoreTestingSelectionOutput(v **GetR if err := awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(&sv.RestoreTestingSelection, value); err != nil { return err } + default: _, _ = key, value @@ -8504,6 +8691,7 @@ func awsRestjson1_deserializeOpDocumentGetSupportedResourceTypesOutput(v **GetSu if err := awsRestjson1_deserializeDocumentResourceTypes(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -8658,6 +8846,7 @@ func awsRestjson1_deserializeOpDocumentListBackupJobsOutput(v **ListBackupJobsOu if err := awsRestjson1_deserializeDocumentBackupJobsList(&sv.BackupJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8666,6 +8855,7 @@ func awsRestjson1_deserializeOpDocumentListBackupJobsOutput(v **ListBackupJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8824,10 +9014,12 @@ func awsRestjson1_deserializeOpDocumentListBackupJobSummariesOutput(v **ListBack } sv.AggregationPeriod = ptr.String(jtv) } + case "BackupJobSummaries": if err := awsRestjson1_deserializeDocumentBackupJobSummaryList(&sv.BackupJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8836,6 +9028,7 @@ func awsRestjson1_deserializeOpDocumentListBackupJobSummariesOutput(v **ListBack } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8996,6 +9189,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlansOutput(v **ListBackupPlans if err := awsRestjson1_deserializeDocumentBackupPlansList(&sv.BackupPlansList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9004,6 +9198,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlansOutput(v **ListBackupPlans } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9164,6 +9359,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanTemplatesOutput(v **ListBac if err := awsRestjson1_deserializeDocumentBackupPlanTemplatesList(&sv.BackupPlanTemplatesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9172,6 +9368,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanTemplatesOutput(v **ListBac } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9332,6 +9529,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanVersionsOutput(v **ListBack if err := awsRestjson1_deserializeDocumentBackupPlanVersionsList(&sv.BackupPlanVersionsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9340,6 +9538,7 @@ func awsRestjson1_deserializeOpDocumentListBackupPlanVersionsOutput(v **ListBack } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9500,6 +9699,7 @@ func awsRestjson1_deserializeOpDocumentListBackupSelectionsOutput(v **ListBackup if err := awsRestjson1_deserializeDocumentBackupSelectionsList(&sv.BackupSelectionsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9508,6 +9708,7 @@ func awsRestjson1_deserializeOpDocumentListBackupSelectionsOutput(v **ListBackup } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9668,6 +9869,7 @@ func awsRestjson1_deserializeOpDocumentListBackupVaultsOutput(v **ListBackupVaul if err := awsRestjson1_deserializeDocumentBackupVaultList(&sv.BackupVaultList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9676,6 +9878,7 @@ func awsRestjson1_deserializeOpDocumentListBackupVaultsOutput(v **ListBackupVaul } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9830,6 +10033,7 @@ func awsRestjson1_deserializeOpDocumentListCopyJobsOutput(v **ListCopyJobsOutput if err := awsRestjson1_deserializeDocumentCopyJobsList(&sv.CopyJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9838,6 +10042,7 @@ func awsRestjson1_deserializeOpDocumentListCopyJobsOutput(v **ListCopyJobsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9996,10 +10201,12 @@ func awsRestjson1_deserializeOpDocumentListCopyJobSummariesOutput(v **ListCopyJo } sv.AggregationPeriod = ptr.String(jtv) } + case "CopyJobSummaries": if err := awsRestjson1_deserializeDocumentCopyJobSummaryList(&sv.CopyJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10008,6 +10215,7 @@ func awsRestjson1_deserializeOpDocumentListCopyJobSummariesOutput(v **ListCopyJo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10162,6 +10370,7 @@ func awsRestjson1_deserializeOpDocumentListFrameworksOutput(v **ListFrameworksOu if err := awsRestjson1_deserializeDocumentFrameworkList(&sv.Frameworks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10170,6 +10379,7 @@ func awsRestjson1_deserializeOpDocumentListFrameworksOutput(v **ListFrameworksOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10324,6 +10534,7 @@ func awsRestjson1_deserializeOpDocumentListLegalHoldsOutput(v **ListLegalHoldsOu if err := awsRestjson1_deserializeDocumentLegalHoldsList(&sv.LegalHolds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10332,6 +10543,7 @@ func awsRestjson1_deserializeOpDocumentListLegalHoldsOutput(v **ListLegalHoldsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10490,10 +10702,12 @@ func awsRestjson1_deserializeOpDocumentListProtectedResourcesOutput(v **ListProt } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsRestjson1_deserializeDocumentProtectedResourcesList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -10655,10 +10869,12 @@ func awsRestjson1_deserializeOpDocumentListProtectedResourcesByBackupVaultOutput } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsRestjson1_deserializeDocumentProtectedResourcesList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -10823,10 +11039,12 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByBackupVaultOutput(v * } sv.NextToken = ptr.String(jtv) } + case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointByBackupVaultList(&sv.RecoveryPoints, value); err != nil { return err } + default: _, _ = key, value @@ -10988,10 +11206,12 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByLegalHoldOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointsList(&sv.RecoveryPoints, value); err != nil { return err } + default: _, _ = key, value @@ -11156,10 +11376,12 @@ func awsRestjson1_deserializeOpDocumentListRecoveryPointsByResourceOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "RecoveryPoints": if err := awsRestjson1_deserializeDocumentRecoveryPointByResourceList(&sv.RecoveryPoints, value); err != nil { return err } + default: _, _ = key, value @@ -11321,10 +11543,12 @@ func awsRestjson1_deserializeOpDocumentListReportJobsOutput(v **ListReportJobsOu } sv.NextToken = ptr.String(jtv) } + case "ReportJobs": if err := awsRestjson1_deserializeDocumentReportJobList(&sv.ReportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -11483,10 +11707,12 @@ func awsRestjson1_deserializeOpDocumentListReportPlansOutput(v **ListReportPlans } sv.NextToken = ptr.String(jtv) } + case "ReportPlans": if err := awsRestjson1_deserializeDocumentReportPlanList(&sv.ReportPlans, value); err != nil { return err } + default: _, _ = key, value @@ -11651,10 +11877,12 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobsOutput(v **ListRestoreJobs } sv.NextToken = ptr.String(jtv) } + case "RestoreJobs": if err := awsRestjson1_deserializeDocumentRestoreJobsList(&sv.RestoreJobs, value); err != nil { return err } + default: _, _ = key, value @@ -11819,10 +12047,12 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobsByProtectedResourceOutput( } sv.NextToken = ptr.String(jtv) } + case "RestoreJobs": if err := awsRestjson1_deserializeDocumentRestoreJobsList(&sv.RestoreJobs, value); err != nil { return err } + default: _, _ = key, value @@ -11981,6 +12211,7 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobSummariesOutput(v **ListRes } sv.AggregationPeriod = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11989,10 +12220,12 @@ func awsRestjson1_deserializeOpDocumentListRestoreJobSummariesOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } + case "RestoreJobSummaries": if err := awsRestjson1_deserializeDocumentRestoreJobSummaryList(&sv.RestoreJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -12151,10 +12384,12 @@ func awsRestjson1_deserializeOpDocumentListRestoreTestingPlansOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } + case "RestoreTestingPlans": if err := awsRestjson1_deserializeDocumentRestoreTestingPlans(&sv.RestoreTestingPlans, value); err != nil { return err } + default: _, _ = key, value @@ -12316,10 +12551,12 @@ func awsRestjson1_deserializeOpDocumentListRestoreTestingSelectionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "RestoreTestingSelections": if err := awsRestjson1_deserializeDocumentRestoreTestingSelections(&sv.RestoreTestingSelections, value); err != nil { return err } + default: _, _ = key, value @@ -12484,10 +12721,12 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13076,6 +13315,7 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.BackupJobId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -13091,6 +13331,7 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -13099,6 +13340,7 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.IsParent = jtv } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -13107,6 +13349,7 @@ func awsRestjson1_deserializeOpDocumentStartBackupJobOutput(v **StartBackupJobOu } sv.RecoveryPointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13277,6 +13520,7 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } sv.CopyJobId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -13292,6 +13536,7 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -13300,6 +13545,7 @@ func awsRestjson1_deserializeOpDocumentStartCopyJobOutput(v **StartCopyJobOutput } sv.IsParent = jtv } + default: _, _ = key, value @@ -13464,6 +13710,7 @@ func awsRestjson1_deserializeOpDocumentStartReportJobOutput(v **StartReportJobOu } sv.ReportJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -13631,6 +13878,7 @@ func awsRestjson1_deserializeOpDocumentStartRestoreJobOutput(v **StartRestoreJob } sv.RestoreJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -14106,6 +14354,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -14114,6 +14363,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -14122,6 +14372,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.BackupPlanId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -14137,6 +14388,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -14145,6 +14397,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBackupPlanOutput(v **UpdateBackupPl } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -14325,6 +14578,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } } + case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -14333,6 +14587,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } sv.FrameworkArn = ptr.String(jtv) } + case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -14341,6 +14596,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFrameworkOutput(v **UpdateFramework } sv.FrameworkName = ptr.String(jtv) } + default: _, _ = key, value @@ -14611,14 +14867,17 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryPointLifecycleOutput(v **Up } sv.BackupVaultArn = ptr.String(jtv) } + case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -14627,6 +14886,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryPointLifecycleOutput(v **Up } sv.RecoveryPointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14901,6 +15161,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } } + case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -14909,6 +15170,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } sv.ReportPlanArn = ptr.String(jtv) } + case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -14917,6 +15179,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReportPlanOutput(v **UpdateReportPl } sv.ReportPlanName = ptr.String(jtv) } + default: _, _ = key, value @@ -15091,6 +15354,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -15099,6 +15363,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -15107,6 +15372,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -15122,6 +15388,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingPlanOutput(v **Update } } + default: _, _ = key, value @@ -15296,6 +15563,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -15304,6 +15572,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -15312,6 +15581,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -15320,6 +15590,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } sv.RestoreTestingSelectionName = ptr.String(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -15335,6 +15606,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRestoreTestingSelectionOutput(v **U } } + default: _, _ = key, value @@ -15730,6 +16002,7 @@ func awsRestjson1_deserializeDocumentAdvancedBackupSetting(v **types.AdvancedBac if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15738,6 +16011,7 @@ func awsRestjson1_deserializeDocumentAdvancedBackupSetting(v **types.AdvancedBac } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15811,6 +16085,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Arn = ptr.String(jtv) } + case "Code": if value != nil { jtv, ok := value.(string) @@ -15819,6 +16094,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -15827,6 +16103,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Context = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -15835,6 +16112,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.CreatorRequestId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15843,6 +16121,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15851,6 +16130,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15890,6 +16170,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.AccountId = ptr.String(jtv) } + case "BackupJobId": if value != nil { jtv, ok := value.(string) @@ -15898,10 +16179,12 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupJobId = ptr.String(jtv) } + case "BackupOptions": if err := awsRestjson1_deserializeDocumentBackupOptions(&sv.BackupOptions, value); err != nil { return err } + case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15914,6 +16197,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "BackupType": if value != nil { jtv, ok := value.(string) @@ -15922,6 +16206,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupType = ptr.String(jtv) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -15930,6 +16215,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -15938,6 +16224,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BackupVaultName = ptr.String(jtv) } + case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -15950,6 +16237,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.BytesTransferred = ptr.Int64(i64) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -15965,10 +16253,12 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -15984,6 +16274,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } + case "ExpectedCompletionDate": if value != nil { switch jtv := value.(type) { @@ -15999,6 +16290,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -16007,6 +16299,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.IamRoleArn = ptr.String(jtv) } + case "InitiationDate": if value != nil { switch jtv := value.(type) { @@ -16022,6 +16315,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -16030,6 +16324,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.IsParent = jtv } + case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -16038,6 +16333,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.MessageCategory = ptr.String(jtv) } + case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -16046,6 +16342,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ParentJobId = ptr.String(jtv) } + case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -16054,6 +16351,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.PercentDone = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -16062,6 +16360,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -16070,6 +16369,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -16078,6 +16378,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16086,6 +16387,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.ResourceType = ptr.String(jtv) } + case "StartBy": if value != nil { switch jtv := value.(type) { @@ -16101,6 +16403,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } } + case "State": if value != nil { jtv, ok := value.(string) @@ -16109,6 +16412,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.State = types.BackupJobState(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -16117,6 +16421,7 @@ func awsRestjson1_deserializeDocumentBackupJob(v **types.BackupJob, value interf } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -16230,6 +16535,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.AccountId = ptr.String(jtv) } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -16242,6 +16548,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.Count = int32(i64) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -16257,6 +16564,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } } + case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -16265,6 +16573,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.MessageCategory = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -16273,6 +16582,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.Region = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16281,6 +16591,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.ResourceType = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -16296,6 +16607,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } } + case "State": if value != nil { jtv, ok := value.(string) @@ -16304,6 +16616,7 @@ func awsRestjson1_deserializeDocumentBackupJobSummary(v **types.BackupJobSummary } sv.State = types.BackupJobStatus(jtv) } + default: _, _ = key, value @@ -16409,6 +16722,7 @@ func awsRestjson1_deserializeDocumentBackupPlan(v **types.BackupPlan, value inte if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -16417,10 +16731,12 @@ func awsRestjson1_deserializeDocumentBackupPlan(v **types.BackupPlan, value inte } sv.BackupPlanName = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentBackupRules(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -16490,6 +16806,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans if err := awsRestjson1_deserializeDocumentAdvancedBackupSettings(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -16498,6 +16815,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -16506,6 +16824,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanId = ptr.String(jtv) } + case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -16514,6 +16833,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.BackupPlanName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -16529,6 +16849,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -16537,6 +16858,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.CreatorRequestId = ptr.String(jtv) } + case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -16552,6 +16874,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -16567,6 +16890,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -16575,6 +16899,7 @@ func awsRestjson1_deserializeDocumentBackupPlansListMember(v **types.BackupPlans } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16648,6 +16973,7 @@ func awsRestjson1_deserializeDocumentBackupPlanTemplatesListMember(v **types.Bac } sv.BackupPlanTemplateId = ptr.String(jtv) } + case "BackupPlanTemplateName": if value != nil { jtv, ok := value.(string) @@ -16656,6 +16982,7 @@ func awsRestjson1_deserializeDocumentBackupPlanTemplatesListMember(v **types.Bac } sv.BackupPlanTemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -16733,10 +17060,12 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.CompletionWindowMinutes = ptr.Int64(i64) } + case "CopyActions": if err := awsRestjson1_deserializeDocumentCopyActions(&sv.CopyActions, value); err != nil { return err } + case "EnableContinuousBackup": if value != nil { jtv, ok := value.(bool) @@ -16745,14 +17074,17 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.EnableContinuousBackup = ptr.Bool(jtv) } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } + case "RecoveryPointTags": if err := awsRestjson1_deserializeDocumentTags(&sv.RecoveryPointTags, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -16761,6 +17093,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.RuleId = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -16769,6 +17102,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.RuleName = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -16777,6 +17111,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -16785,6 +17120,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.ScheduleExpressionTimezone = ptr.String(jtv) } + case "StartWindowMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -16797,6 +17133,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.StartWindowMinutes = ptr.Int64(i64) } + case "TargetBackupVaultName": if value != nil { jtv, ok := value.(string) @@ -16805,6 +17142,7 @@ func awsRestjson1_deserializeDocumentBackupRule(v **types.BackupRule, value inte } sv.TargetBackupVaultName = ptr.String(jtv) } + default: _, _ = key, value @@ -16874,6 +17212,7 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -16882,18 +17221,22 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, } sv.IamRoleArn = ptr.String(jtv) } + case "ListOfTags": if err := awsRestjson1_deserializeDocumentListOfTags(&sv.ListOfTags, value); err != nil { return err } + case "NotResources": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.NotResources, value); err != nil { return err } + case "Resources": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.Resources, value); err != nil { return err } + case "SelectionName": if value != nil { jtv, ok := value.(string) @@ -16902,6 +17245,7 @@ func awsRestjson1_deserializeDocumentBackupSelection(v **types.BackupSelection, } sv.SelectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -16975,6 +17319,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.BackupPlanId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -16990,6 +17335,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -16998,6 +17344,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.CreatorRequestId = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17006,6 +17353,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.IamRoleArn = ptr.String(jtv) } + case "SelectionId": if value != nil { jtv, ok := value.(string) @@ -17014,6 +17362,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.SelectionId = ptr.String(jtv) } + case "SelectionName": if value != nil { jtv, ok := value.(string) @@ -17022,6 +17371,7 @@ func awsRestjson1_deserializeDocumentBackupSelectionsListMember(v **types.Backup } sv.SelectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -17131,6 +17481,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -17139,6 +17490,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.BackupVaultName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17154,6 +17506,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -17162,6 +17515,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.CreatorRequestId = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -17170,6 +17524,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.EncryptionKeyArn = ptr.String(jtv) } + case "LockDate": if value != nil { switch jtv := value.(type) { @@ -17185,6 +17540,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } } + case "Locked": if value != nil { jtv, ok := value.(bool) @@ -17193,6 +17549,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.Locked = ptr.Bool(jtv) } + case "MaxRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -17205,6 +17562,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.MaxRetentionDays = ptr.Int64(i64) } + case "MinRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -17217,6 +17575,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.MinRetentionDays = ptr.Int64(i64) } + case "NumberOfRecoveryPoints": if value != nil { jtv, ok := value.(json.Number) @@ -17229,6 +17588,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.NumberOfRecoveryPoints = i64 } + case "VaultState": if value != nil { jtv, ok := value.(string) @@ -17237,6 +17597,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.VaultState = types.VaultState(jtv) } + case "VaultType": if value != nil { jtv, ok := value.(string) @@ -17245,6 +17606,7 @@ func awsRestjson1_deserializeDocumentBackupVaultListMember(v **types.BackupVault } sv.VaultType = types.VaultType(jtv) } + default: _, _ = key, value @@ -17291,6 +17653,7 @@ func awsRestjson1_deserializeDocumentCalculatedLifecycle(v **types.CalculatedLif } } + case "MoveToColdStorageAt": if value != nil { switch jtv := value.(type) { @@ -17306,6 +17669,7 @@ func awsRestjson1_deserializeDocumentCalculatedLifecycle(v **types.CalculatedLif } } + default: _, _ = key, value @@ -17381,6 +17745,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionKey = ptr.String(jtv) } + case "ConditionType": if value != nil { jtv, ok := value.(string) @@ -17389,6 +17754,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionType = types.ConditionType(jtv) } + case "ConditionValue": if value != nil { jtv, ok := value.(string) @@ -17397,6 +17763,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ConditionValue = ptr.String(jtv) } + default: _, _ = key, value @@ -17436,6 +17803,7 @@ func awsRestjson1_deserializeDocumentConditionParameter(v **types.ConditionParam } sv.ConditionKey = ptr.String(jtv) } + case "ConditionValue": if value != nil { jtv, ok := value.(string) @@ -17444,6 +17812,7 @@ func awsRestjson1_deserializeDocumentConditionParameter(v **types.ConditionParam } sv.ConditionValue = ptr.String(jtv) } + default: _, _ = key, value @@ -17513,18 +17882,22 @@ func awsRestjson1_deserializeDocumentConditions(v **types.Conditions, value inte if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringEquals, value); err != nil { return err } + case "StringLike": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringLike, value); err != nil { return err } + case "StringNotEquals": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringNotEquals, value); err != nil { return err } + case "StringNotLike": if err := awsRestjson1_deserializeDocumentConditionParameters(&sv.StringNotLike, value); err != nil { return err } + default: _, _ = key, value @@ -17564,6 +17937,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -17572,6 +17946,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17580,6 +17955,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17588,6 +17964,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -17627,6 +18004,7 @@ func awsRestjson1_deserializeDocumentControlInputParameter(v **types.ControlInpu } sv.ParameterName = ptr.String(jtv) } + case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -17635,6 +18013,7 @@ func awsRestjson1_deserializeDocumentControlInputParameter(v **types.ControlInpu } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -17704,14 +18083,17 @@ func awsRestjson1_deserializeDocumentControlScope(v **types.ControlScope, value if err := awsRestjson1_deserializeDocumentComplianceResourceIdList(&sv.ComplianceResourceIds, value); err != nil { return err } + case "ComplianceResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeList(&sv.ComplianceResourceTypes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17751,10 +18133,12 @@ func awsRestjson1_deserializeDocumentCopyAction(v **types.CopyAction, value inte } sv.DestinationBackupVaultArn = ptr.String(jtv) } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } + default: _, _ = key, value @@ -17828,6 +18212,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.AccountId = ptr.String(jtv) } + case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17840,10 +18225,12 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "ChildJobsInState": if err := awsRestjson1_deserializeDocumentCopyJobChildJobsInState(&sv.ChildJobsInState, value); err != nil { return err } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -17859,6 +18246,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } } + case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -17867,6 +18255,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.CompositeMemberIdentifier = ptr.String(jtv) } + case "CopyJobId": if value != nil { jtv, ok := value.(string) @@ -17875,10 +18264,12 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.CopyJobId = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17894,6 +18285,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } } + case "DestinationBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -17902,6 +18294,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.DestinationBackupVaultArn = ptr.String(jtv) } + case "DestinationRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -17910,6 +18303,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.DestinationRecoveryPointArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17918,6 +18312,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.IamRoleArn = ptr.String(jtv) } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -17926,6 +18321,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.IsParent = jtv } + case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -17934,6 +18330,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.MessageCategory = ptr.String(jtv) } + case "NumberOfChildJobs": if value != nil { jtv, ok := value.(json.Number) @@ -17946,6 +18343,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.NumberOfChildJobs = ptr.Int64(i64) } + case "ParentJobId": if value != nil { jtv, ok := value.(string) @@ -17954,6 +18352,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ParentJobId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -17962,6 +18361,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -17970,6 +18370,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17978,6 +18379,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.ResourceType = ptr.String(jtv) } + case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -17986,6 +18388,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.SourceBackupVaultArn = ptr.String(jtv) } + case "SourceRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -17994,6 +18397,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.SourceRecoveryPointArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -18002,6 +18406,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.State = types.CopyJobState(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18010,6 +18415,7 @@ func awsRestjson1_deserializeDocumentCopyJob(v **types.CopyJob, value interface{ } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18123,6 +18529,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.AccountId = ptr.String(jtv) } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -18135,6 +18542,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.Count = int32(i64) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -18150,6 +18558,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } } + case "MessageCategory": if value != nil { jtv, ok := value.(string) @@ -18158,6 +18567,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.MessageCategory = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -18166,6 +18576,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.Region = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18174,6 +18585,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.ResourceType = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -18189,6 +18601,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } } + case "State": if value != nil { jtv, ok := value.(string) @@ -18197,6 +18610,7 @@ func awsRestjson1_deserializeDocumentCopyJobSummary(v **types.CopyJobSummary, va } sv.State = types.CopyJobStatus(jtv) } + default: _, _ = key, value @@ -18277,6 +18691,7 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } } + case "ToDate": if value != nil { switch jtv := value.(type) { @@ -18292,6 +18707,7 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } } + default: _, _ = key, value @@ -18331,6 +18747,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -18339,6 +18756,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18347,6 +18765,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18355,6 +18774,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18437,6 +18857,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } } + case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -18445,6 +18866,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.DeploymentStatus = ptr.String(jtv) } + case "FrameworkArn": if value != nil { jtv, ok := value.(string) @@ -18453,6 +18875,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkArn = ptr.String(jtv) } + case "FrameworkDescription": if value != nil { jtv, ok := value.(string) @@ -18461,6 +18884,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkDescription = ptr.String(jtv) } + case "FrameworkName": if value != nil { jtv, ok := value.(string) @@ -18469,6 +18893,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.FrameworkName = ptr.String(jtv) } + case "NumberOfControls": if value != nil { jtv, ok := value.(json.Number) @@ -18481,6 +18906,7 @@ func awsRestjson1_deserializeDocumentFramework(v **types.Framework, value interf } sv.NumberOfControls = int32(i64) } + default: _, _ = key, value @@ -18516,6 +18942,7 @@ func awsRestjson1_deserializeDocumentFrameworkControl(v **types.FrameworkControl if err := awsRestjson1_deserializeDocumentControlInputParameters(&sv.ControlInputParameters, value); err != nil { return err } + case "ControlName": if value != nil { jtv, ok := value.(string) @@ -18524,10 +18951,12 @@ func awsRestjson1_deserializeDocumentFrameworkControl(v **types.FrameworkControl } sv.ControlName = ptr.String(jtv) } + case "ControlScope": if err := awsRestjson1_deserializeDocumentControlScope(&sv.ControlScope, value); err != nil { return err } + default: _, _ = key, value @@ -18671,6 +19100,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -18679,6 +19109,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18687,6 +19118,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18695,6 +19127,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18734,6 +19167,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -18742,6 +19176,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18750,6 +19185,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18758,6 +19194,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18797,6 +19234,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -18805,6 +19243,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18813,6 +19252,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18821,6 +19261,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18860,6 +19301,7 @@ func awsRestjson1_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -18868,6 +19310,7 @@ func awsRestjson1_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18948,6 +19391,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -18963,6 +19407,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18971,6 +19416,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Description = ptr.String(jtv) } + case "LegalHoldArn": if value != nil { jtv, ok := value.(string) @@ -18979,6 +19425,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.LegalHoldArn = ptr.String(jtv) } + case "LegalHoldId": if value != nil { jtv, ok := value.(string) @@ -18987,6 +19434,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.LegalHoldId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18995,6 +19443,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Status = types.LegalHoldStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -19003,6 +19452,7 @@ func awsRestjson1_deserializeDocumentLegalHold(v **types.LegalHold, value interf } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -19080,6 +19530,7 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.DeleteAfterDays = ptr.Int64(i64) } + case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -19092,6 +19543,7 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } + case "OptInToArchiveForSupportedResources": if value != nil { jtv, ok := value.(bool) @@ -19100,6 +19552,7 @@ func awsRestjson1_deserializeDocumentLifecycle(v **types.Lifecycle, value interf } sv.OptInToArchiveForSupportedResources = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19139,6 +19592,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -19147,6 +19601,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19155,6 +19610,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19163,6 +19619,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19272,6 +19729,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -19280,6 +19738,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19288,6 +19747,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19296,6 +19756,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19342,6 +19803,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } } + case "LastBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -19350,6 +19812,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.LastBackupVaultArn = ptr.String(jtv) } + case "LastRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19358,6 +19821,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.LastRecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19366,6 +19830,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -19374,6 +19839,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19382,6 +19848,7 @@ func awsRestjson1_deserializeDocumentProtectedResource(v **types.ProtectedResour } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -19417,10 +19884,12 @@ func awsRestjson1_deserializeDocumentProtectedResourceConditions(v **types.Prote if err := awsRestjson1_deserializeDocumentKeyValueList(&sv.StringEquals, value); err != nil { return err } + case "StringNotEquals": if err := awsRestjson1_deserializeDocumentKeyValueList(&sv.StringNotEquals, value); err != nil { return err } + default: _, _ = key, value @@ -19498,6 +19967,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -19506,6 +19976,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -19514,10 +19985,12 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.BackupVaultName = ptr.String(jtv) } + case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentCalculatedLifecycle(&sv.CalculatedLifecycle, value); err != nil { return err } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -19533,6 +20006,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } + case "CompositeMemberIdentifier": if value != nil { jtv, ok := value.(string) @@ -19541,10 +20015,12 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.CompositeMemberIdentifier = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRecoveryPointCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -19560,6 +20036,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -19568,6 +20045,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.EncryptionKeyArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -19576,6 +20054,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IamRoleArn = ptr.String(jtv) } + case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -19584,6 +20063,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IsEncrypted = jtv } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -19592,6 +20072,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.IsParent = jtv } + case "LastRestoreTime": if value != nil { switch jtv := value.(type) { @@ -19607,10 +20088,12 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentLifecycle(&sv.Lifecycle, value); err != nil { return err } + case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19619,6 +20102,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ParentRecoveryPointArn = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19627,6 +20111,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19635,6 +20120,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -19643,6 +20129,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19651,6 +20138,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.ResourceType = ptr.String(jtv) } + case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -19659,6 +20147,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.SourceBackupVaultArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19667,6 +20156,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.Status = types.RecoveryPointStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19675,6 +20165,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.StatusMessage = ptr.String(jtv) } + case "VaultType": if value != nil { jtv, ok := value.(string) @@ -19683,6 +20174,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByBackupVault(v **types.Recove } sv.VaultType = types.VaultType(jtv) } + default: _, _ = key, value @@ -19760,6 +20252,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.BackupSizeBytes = ptr.Int64(i64) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -19768,6 +20261,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.BackupVaultName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -19783,6 +20277,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -19791,6 +20286,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.EncryptionKeyArn = ptr.String(jtv) } + case "IsParent": if value != nil { jtv, ok := value.(bool) @@ -19799,6 +20295,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.IsParent = jtv } + case "ParentRecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19807,6 +20304,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.ParentRecoveryPointArn = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19815,6 +20313,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -19823,6 +20322,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.ResourceName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19831,6 +20331,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.Status = types.RecoveryPointStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19839,6 +20340,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.StatusMessage = ptr.String(jtv) } + case "VaultType": if value != nil { jtv, ok := value.(string) @@ -19847,6 +20349,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointByResource(v **types.RecoveryP } sv.VaultType = types.VaultType(jtv) } + default: _, _ = key, value @@ -19920,6 +20423,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -19928,6 +20432,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanId = ptr.String(jtv) } + case "BackupPlanVersion": if value != nil { jtv, ok := value.(string) @@ -19936,6 +20441,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupPlanVersion = ptr.String(jtv) } + case "BackupRuleId": if value != nil { jtv, ok := value.(string) @@ -19944,6 +20450,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointCreator(v **types.RecoveryPoin } sv.BackupRuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -19983,6 +20490,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.BackupVaultName = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -19991,6 +20499,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19999,6 +20508,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.ResourceArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20007,6 +20517,7 @@ func awsRestjson1_deserializeDocumentRecoveryPointMember(v **types.RecoveryPoint } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -20042,14 +20553,17 @@ func awsRestjson1_deserializeDocumentRecoveryPointSelection(v **types.RecoveryPo if err := awsRestjson1_deserializeDocumentDateRange(&sv.DateRange, value); err != nil { return err } + case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifiers(&sv.ResourceIdentifiers, value); err != nil { return err } + case "VaultNames": if err := awsRestjson1_deserializeDocumentVaultNames(&sv.VaultNames, value); err != nil { return err } + default: _, _ = key, value @@ -20119,6 +20633,7 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv if err := awsRestjson1_deserializeDocumentFormatList(&sv.Formats, value); err != nil { return err } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -20127,6 +20642,7 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -20135,6 +20651,7 @@ func awsRestjson1_deserializeDocumentReportDeliveryChannel(v **types.ReportDeliv } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -20174,10 +20691,12 @@ func awsRestjson1_deserializeDocumentReportDestination(v **types.ReportDestinati } sv.S3BucketName = ptr.String(jtv) } + case "S3Keys": if err := awsRestjson1_deserializeDocumentStringList(&sv.S3Keys, value); err != nil { return err } + default: _, _ = key, value @@ -20224,6 +20743,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -20239,10 +20759,12 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } } + case "ReportDestination": if err := awsRestjson1_deserializeDocumentReportDestination(&sv.ReportDestination, value); err != nil { return err } + case "ReportJobId": if value != nil { jtv, ok := value.(string) @@ -20251,6 +20773,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportJobId = ptr.String(jtv) } + case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -20259,6 +20782,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportPlanArn = ptr.String(jtv) } + case "ReportTemplate": if value != nil { jtv, ok := value.(string) @@ -20267,6 +20791,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.ReportTemplate = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20275,6 +20800,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -20283,6 +20809,7 @@ func awsRestjson1_deserializeDocumentReportJob(v **types.ReportJob, value interf } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -20363,6 +20890,7 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } + case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -20371,6 +20899,7 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.DeploymentStatus = ptr.String(jtv) } + case "LastAttemptedExecutionTime": if value != nil { switch jtv := value.(type) { @@ -20386,6 +20915,7 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } + case "LastSuccessfulExecutionTime": if value != nil { switch jtv := value.(type) { @@ -20401,10 +20931,12 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } } + case "ReportDeliveryChannel": if err := awsRestjson1_deserializeDocumentReportDeliveryChannel(&sv.ReportDeliveryChannel, value); err != nil { return err } + case "ReportPlanArn": if value != nil { jtv, ok := value.(string) @@ -20413,6 +20945,7 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanArn = ptr.String(jtv) } + case "ReportPlanDescription": if value != nil { jtv, ok := value.(string) @@ -20421,6 +20954,7 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanDescription = ptr.String(jtv) } + case "ReportPlanName": if value != nil { jtv, ok := value.(string) @@ -20429,10 +20963,12 @@ func awsRestjson1_deserializeDocumentReportPlan(v **types.ReportPlan, value inte } sv.ReportPlanName = ptr.String(jtv) } + case "ReportSetting": if err := awsRestjson1_deserializeDocumentReportSetting(&sv.ReportSetting, value); err != nil { return err } + default: _, _ = key, value @@ -20502,10 +21038,12 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu if err := awsRestjson1_deserializeDocumentStringList(&sv.Accounts, value); err != nil { return err } + case "FrameworkArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.FrameworkArns, value); err != nil { return err } + case "NumberOfFrameworks": if value != nil { jtv, ok := value.(json.Number) @@ -20518,14 +21056,17 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu } sv.NumberOfFrameworks = int32(i64) } + case "OrganizationUnits": if err := awsRestjson1_deserializeDocumentStringList(&sv.OrganizationUnits, value); err != nil { return err } + case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } + case "ReportTemplate": if value != nil { jtv, ok := value.(string) @@ -20534,6 +21075,7 @@ func awsRestjson1_deserializeDocumentReportSetting(v **types.ReportSetting, valu } sv.ReportTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -20645,6 +21187,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -20653,6 +21196,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -20661,6 +21205,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20669,6 +21214,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20852,6 +21398,7 @@ func awsRestjson1_deserializeDocumentRestoreJobCreator(v **types.RestoreJobCreat } sv.RestoreTestingPlanArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20925,6 +21472,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.AccountId = ptr.String(jtv) } + case "BackupSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -20937,6 +21485,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -20952,10 +21501,12 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentRestoreJobCreator(&sv.CreatedBy, value); err != nil { return err } + case "CreatedResourceArn": if value != nil { jtv, ok := value.(string) @@ -20964,6 +21515,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.CreatedResourceArn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20979,6 +21531,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } + case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -20987,6 +21540,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.DeletionStatus = types.RestoreDeletionStatus(jtv) } + case "DeletionStatusMessage": if value != nil { jtv, ok := value.(string) @@ -20995,6 +21549,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.DeletionStatusMessage = ptr.String(jtv) } + case "ExpectedCompletionTimeMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -21007,6 +21562,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ExpectedCompletionTimeMinutes = ptr.Int64(i64) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -21015,6 +21571,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.IamRoleArn = ptr.String(jtv) } + case "PercentDone": if value != nil { jtv, ok := value.(string) @@ -21023,6 +21580,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.PercentDone = ptr.String(jtv) } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -21031,6 +21589,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.RecoveryPointArn = ptr.String(jtv) } + case "RecoveryPointCreationDate": if value != nil { switch jtv := value.(type) { @@ -21046,6 +21605,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21054,6 +21614,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ResourceType = ptr.String(jtv) } + case "RestoreJobId": if value != nil { jtv, ok := value.(string) @@ -21062,6 +21623,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.RestoreJobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21070,6 +21632,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.Status = types.RestoreJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -21078,6 +21641,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.StatusMessage = ptr.String(jtv) } + case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -21086,6 +21650,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ValidationStatus = types.RestoreValidationStatus(jtv) } + case "ValidationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21094,6 +21659,7 @@ func awsRestjson1_deserializeDocumentRestoreJobsListMember(v **types.RestoreJobs } sv.ValidationStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -21133,6 +21699,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.AccountId = ptr.String(jtv) } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -21145,6 +21712,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.Count = int32(i64) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -21160,6 +21728,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } } + case "Region": if value != nil { jtv, ok := value.(string) @@ -21168,6 +21737,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.Region = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21176,6 +21746,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.ResourceType = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -21191,6 +21762,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } } + case "State": if value != nil { jtv, ok := value.(string) @@ -21199,6 +21771,7 @@ func awsRestjson1_deserializeDocumentRestoreJobSummary(v **types.RestoreJobSumma } sv.State = types.RestoreJobState(jtv) } + default: _, _ = key, value @@ -21279,6 +21852,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -21287,6 +21861,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.CreatorRequestId = ptr.String(jtv) } + case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -21302,6 +21877,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -21317,10 +21893,12 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } } + case "RecoveryPointSelection": if err := awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(&sv.RecoveryPointSelection, value); err != nil { return err } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -21329,6 +21907,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -21337,6 +21916,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -21345,6 +21925,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -21353,6 +21934,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.ScheduleExpressionTimezone = ptr.String(jtv) } + case "StartWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -21365,6 +21947,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForGet(v **types.RestoreT } sv.StartWindowHours = int32(i64) } + default: _, _ = key, value @@ -21411,6 +21994,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } + case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -21426,6 +22010,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -21441,6 +22026,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } } + case "RestoreTestingPlanArn": if value != nil { jtv, ok := value.(string) @@ -21449,6 +22035,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.RestoreTestingPlanArn = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -21457,6 +22044,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -21465,6 +22053,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -21473,6 +22062,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.ScheduleExpressionTimezone = ptr.String(jtv) } + case "StartWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -21485,6 +22075,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingPlanForList(v **types.Restore } sv.StartWindowHours = int32(i64) } + default: _, _ = key, value @@ -21558,18 +22149,22 @@ func awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(v **ty } sv.Algorithm = types.RestoreTestingRecoveryPointSelectionAlgorithm(jtv) } + case "ExcludeVaults": if err := awsRestjson1_deserializeDocumentStringList(&sv.ExcludeVaults, value); err != nil { return err } + case "IncludeVaults": if err := awsRestjson1_deserializeDocumentStringList(&sv.IncludeVaults, value); err != nil { return err } + case "RecoveryPointTypes": if err := awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointTypeList(&sv.RecoveryPointTypes, value); err != nil { return err } + case "SelectionWindowDays": if value != nil { jtv, ok := value.(json.Number) @@ -21582,6 +22177,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingRecoveryPointSelection(v **ty } sv.SelectionWindowDays = int32(i64) } + default: _, _ = key, value @@ -21664,6 +22260,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -21672,6 +22269,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.CreatorRequestId = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -21680,14 +22278,17 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.IamRoleArn = ptr.String(jtv) } + case "ProtectedResourceArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.ProtectedResourceArns, value); err != nil { return err } + case "ProtectedResourceConditions": if err := awsRestjson1_deserializeDocumentProtectedResourceConditions(&sv.ProtectedResourceConditions, value); err != nil { return err } + case "ProtectedResourceType": if value != nil { jtv, ok := value.(string) @@ -21696,10 +22297,12 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.ProtectedResourceType = ptr.String(jtv) } + case "RestoreMetadataOverrides": if err := awsRestjson1_deserializeDocumentSensitiveStringMap(&sv.RestoreMetadataOverrides, value); err != nil { return err } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -21708,6 +22311,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -21716,6 +22320,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.RestoreTestingSelectionName = ptr.String(jtv) } + case "ValidationWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -21728,6 +22333,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForGet(v **types.Res } sv.ValidationWindowHours = int32(i64) } + default: _, _ = key, value @@ -21774,6 +22380,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -21782,6 +22389,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.IamRoleArn = ptr.String(jtv) } + case "ProtectedResourceType": if value != nil { jtv, ok := value.(string) @@ -21790,6 +22398,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.ProtectedResourceType = ptr.String(jtv) } + case "RestoreTestingPlanName": if value != nil { jtv, ok := value.(string) @@ -21798,6 +22407,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.RestoreTestingPlanName = ptr.String(jtv) } + case "RestoreTestingSelectionName": if value != nil { jtv, ok := value.(string) @@ -21806,6 +22416,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.RestoreTestingSelectionName = ptr.String(jtv) } + case "ValidationWindowHours": if value != nil { jtv, ok := value.(json.Number) @@ -21818,6 +22429,7 @@ func awsRestjson1_deserializeDocumentRestoreTestingSelectionForList(v **types.Re } sv.ValidationWindowHours = int32(i64) } + default: _, _ = key, value @@ -21927,6 +22539,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } + case "Context": if value != nil { jtv, ok := value.(string) @@ -21935,6 +22548,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Context = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -21943,6 +22557,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -21951,6 +22566,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/backupgateway/deserializers.go b/service/backupgateway/deserializers.go index 53447627976..7e9f328cd74 100644 --- a/service/backupgateway/deserializers.go +++ b/service/backupgateway/deserializers.go @@ -3293,6 +3293,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3301,6 +3302,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3344,10 +3346,12 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } + case "DaysOfWeek": if err := awsAwsjson10_deserializeDocumentDaysOfWeek(&sv.DaysOfWeek, value); err != nil { return err } + case "EndHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -3360,6 +3364,7 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndHourOfDay = ptr.Int32(int32(i64)) } + case "EndMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -3372,6 +3377,7 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndMinuteOfHour = ptr.Int32(int32(i64)) } + case "StartHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -3384,6 +3390,7 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartHourOfDay = ptr.Int32(int32(i64)) } + case "StartMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -3396,6 +3403,7 @@ func awsAwsjson10_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartMinuteOfHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3469,6 +3477,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3486,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3556,6 +3566,7 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayArn = ptr.String(jtv) } + case "GatewayDisplayName": if value != nil { jtv, ok := value.(string) @@ -3564,6 +3575,7 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayDisplayName = ptr.String(jtv) } + case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -3572,6 +3584,7 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayType = types.GatewayType(jtv) } + case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -3580,6 +3593,7 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.HypervisorId = ptr.String(jtv) } + case "LastSeenTime": if value != nil { switch jtv := value.(type) { @@ -3595,6 +3609,7 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ } } + default: _, _ = key, value @@ -3634,6 +3649,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayArn = ptr.String(jtv) } + case "GatewayDisplayName": if value != nil { jtv, ok := value.(string) @@ -3642,6 +3658,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayDisplayName = ptr.String(jtv) } + case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -3650,6 +3667,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.GatewayType = types.GatewayType(jtv) } + case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -3658,6 +3676,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.HypervisorId = ptr.String(jtv) } + case "LastSeenTime": if value != nil { switch jtv := value.(type) { @@ -3673,10 +3692,12 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } } + case "MaintenanceStartTime": if err := awsAwsjson10_deserializeDocumentMaintenanceStartTime(&sv.MaintenanceStartTime, value); err != nil { return err } + case "NextUpdateAvailabilityTime": if value != nil { switch jtv := value.(type) { @@ -3692,6 +3713,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } } + case "VpcEndpoint": if value != nil { jtv, ok := value.(string) @@ -3700,6 +3722,7 @@ func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, va } sv.VpcEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -3773,6 +3796,7 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.Host = ptr.String(jtv) } + case "HypervisorArn": if value != nil { jtv, ok := value.(string) @@ -3781,6 +3805,7 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.HypervisorArn = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3789,6 +3814,7 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.KmsKeyArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3797,6 +3823,7 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3805,6 +3832,7 @@ func awsAwsjson10_deserializeDocumentHypervisor(v **types.Hypervisor, value inte } sv.State = types.HypervisorState(jtv) } + default: _, _ = key, value @@ -3844,6 +3872,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.Host = ptr.String(jtv) } + case "HypervisorArn": if value != nil { jtv, ok := value.(string) @@ -3852,6 +3881,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.HypervisorArn = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3860,6 +3890,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.KmsKeyArn = ptr.String(jtv) } + case "LastSuccessfulMetadataSyncTime": if value != nil { switch jtv := value.(type) { @@ -3875,6 +3906,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } } + case "LatestMetadataSyncStatus": if value != nil { jtv, ok := value.(string) @@ -3883,6 +3915,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LatestMetadataSyncStatus = types.SyncMetadataStatus(jtv) } + case "LatestMetadataSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -3891,6 +3924,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LatestMetadataSyncStatusMessage = ptr.String(jtv) } + case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -3899,6 +3933,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.LogGroupArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3907,6 +3942,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3915,6 +3951,7 @@ func awsAwsjson10_deserializeDocumentHypervisorDetails(v **types.HypervisorDetai } sv.State = types.HypervisorState(jtv) } + default: _, _ = key, value @@ -3988,6 +4025,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3996,6 +4034,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4039,6 +4078,7 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.DayOfMonth = ptr.Int32(int32(i64)) } + case "DayOfWeek": if value != nil { jtv, ok := value.(json.Number) @@ -4051,6 +4091,7 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.DayOfWeek = ptr.Int32(int32(i64)) } + case "HourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -4063,6 +4104,7 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.HourOfDay = ptr.Int32(int32(i64)) } + case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -4075,6 +4117,7 @@ func awsAwsjson10_deserializeDocumentMaintenanceStartTime(v **types.MaintenanceS } sv.MinuteOfHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4114,6 +4157,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4122,6 +4166,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4161,6 +4206,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4169,6 +4215,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4242,6 +4289,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4250,6 +4298,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4289,6 +4338,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4297,6 +4347,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4336,6 +4387,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.HostName = ptr.String(jtv) } + case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4396,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.HypervisorId = ptr.String(jtv) } + case "LastBackupDate": if value != nil { switch jtv := value.(type) { @@ -4359,6 +4412,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4367,6 +4421,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.Name = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -4375,6 +4430,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.Path = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4383,6 +4439,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachine(v **types.VirtualMachine, va } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4422,6 +4479,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.HostName = ptr.String(jtv) } + case "HypervisorId": if value != nil { jtv, ok := value.(string) @@ -4430,6 +4488,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.HypervisorId = ptr.String(jtv) } + case "LastBackupDate": if value != nil { switch jtv := value.(type) { @@ -4445,6 +4504,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4453,6 +4513,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.Name = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -4461,6 +4522,7 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.Path = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4469,10 +4531,12 @@ func awsAwsjson10_deserializeDocumentVirtualMachineDetails(v **types.VirtualMach } sv.ResourceArn = ptr.String(jtv) } + case "VmwareTags": if err := awsAwsjson10_deserializeDocumentVmwareTags(&sv.VmwareTags, value); err != nil { return err } + default: _, _ = key, value @@ -4546,6 +4610,7 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareCategory = ptr.String(jtv) } + case "VmwareTagDescription": if value != nil { jtv, ok := value.(string) @@ -4554,6 +4619,7 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareTagDescription = ptr.String(jtv) } + case "VmwareTagName": if value != nil { jtv, ok := value.(string) @@ -4562,6 +4628,7 @@ func awsAwsjson10_deserializeDocumentVmwareTag(v **types.VmwareTag, value interf } sv.VmwareTagName = ptr.String(jtv) } + default: _, _ = key, value @@ -4635,6 +4702,7 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.AwsTagKey = ptr.String(jtv) } + case "AwsTagValue": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4711,7 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.AwsTagValue = ptr.String(jtv) } + case "VmwareCategory": if value != nil { jtv, ok := value.(string) @@ -4651,6 +4720,7 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.VmwareCategory = ptr.String(jtv) } + case "VmwareTagName": if value != nil { jtv, ok := value.(string) @@ -4659,6 +4729,7 @@ func awsAwsjson10_deserializeDocumentVmwareToAwsTagMapping(v **types.VmwareToAws } sv.VmwareTagName = ptr.String(jtv) } + default: _, _ = key, value @@ -4732,6 +4803,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateGatewayToServerOutput(v **Associ } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4771,6 +4843,7 @@ func awsAwsjson10_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4810,6 +4883,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4849,6 +4923,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteHypervisorOutput(v **DeleteHypervis } sv.HypervisorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4888,6 +4963,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateGatewayFromServerOutput(v **D } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4923,6 +4999,7 @@ func awsAwsjson10_deserializeOpDocumentGetBandwidthRateLimitScheduleOutput(v **G if err := awsAwsjson10_deserializeDocumentBandwidthRateLimitIntervals(&sv.BandwidthRateLimitIntervals, value); err != nil { return err } + case "GatewayArn": if value != nil { jtv, ok := value.(string) @@ -4931,6 +5008,7 @@ func awsAwsjson10_deserializeOpDocumentGetBandwidthRateLimitScheduleOutput(v **G } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4966,6 +5044,7 @@ func awsAwsjson10_deserializeOpDocumentGetGatewayOutput(v **GetGatewayOutput, va if err := awsAwsjson10_deserializeDocumentGatewayDetails(&sv.Gateway, value); err != nil { return err } + default: _, _ = key, value @@ -5001,6 +5080,7 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorOutput(v **GetHypervisorOutp if err := awsAwsjson10_deserializeDocumentHypervisorDetails(&sv.Hypervisor, value); err != nil { return err } + default: _, _ = key, value @@ -5040,6 +5120,7 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorPropertyMappingsOutput(v **G } sv.HypervisorArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -5048,10 +5129,12 @@ func awsAwsjson10_deserializeOpDocumentGetHypervisorPropertyMappingsOutput(v **G } sv.IamRoleArn = ptr.String(jtv) } + case "VmwareToAwsTagMappings": if err := awsAwsjson10_deserializeDocumentVmwareToAwsTagMappings(&sv.VmwareToAwsTagMappings, value); err != nil { return err } + default: _, _ = key, value @@ -5087,6 +5170,7 @@ func awsAwsjson10_deserializeOpDocumentGetVirtualMachineOutput(v **GetVirtualMac if err := awsAwsjson10_deserializeDocumentVirtualMachineDetails(&sv.VirtualMachine, value); err != nil { return err } + default: _, _ = key, value @@ -5126,6 +5210,7 @@ func awsAwsjson10_deserializeOpDocumentImportHypervisorConfigurationOutput(v **I } sv.HypervisorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5161,6 +5246,7 @@ func awsAwsjson10_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsAwsjson10_deserializeDocumentGateways(&sv.Gateways, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5169,6 +5255,7 @@ func awsAwsjson10_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5204,6 +5291,7 @@ func awsAwsjson10_deserializeOpDocumentListHypervisorsOutput(v **ListHypervisors if err := awsAwsjson10_deserializeDocumentHypervisors(&sv.Hypervisors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5212,6 +5300,7 @@ func awsAwsjson10_deserializeOpDocumentListHypervisorsOutput(v **ListHypervisors } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5251,10 +5340,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5294,10 +5385,12 @@ func awsAwsjson10_deserializeOpDocumentListVirtualMachinesOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } + case "VirtualMachines": if err := awsAwsjson10_deserializeDocumentVirtualMachines(&sv.VirtualMachines, value); err != nil { return err } + default: _, _ = key, value @@ -5337,6 +5430,7 @@ func awsAwsjson10_deserializeOpDocumentPutBandwidthRateLimitScheduleOutput(v **P } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5376,6 +5470,7 @@ func awsAwsjson10_deserializeOpDocumentPutHypervisorPropertyMappingsOutput(v **P } sv.HypervisorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5415,6 +5510,7 @@ func awsAwsjson10_deserializeOpDocumentPutMaintenanceStartTimeOutput(v **PutMain } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5454,6 +5550,7 @@ func awsAwsjson10_deserializeOpDocumentStartVirtualMachinesMetadataSyncOutput(v } sv.HypervisorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5493,6 +5590,7 @@ func awsAwsjson10_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5563,6 +5661,7 @@ func awsAwsjson10_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5602,6 +5701,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5641,6 +5741,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(v **Update } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5680,6 +5781,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateHypervisorOutput(v **UpdateHypervis } sv.HypervisorArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/batch/deserializers.go b/service/batch/deserializers.go index a0732de05b9..68b1eb31701 100644 --- a/service/batch/deserializers.go +++ b/service/batch/deserializers.go @@ -270,6 +270,7 @@ func awsRestjson1_deserializeOpDocumentCreateComputeEnvironmentOutput(v **Create } sv.ComputeEnvironmentArn = ptr.String(jtv) } + case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -278,6 +279,7 @@ func awsRestjson1_deserializeOpDocumentCreateComputeEnvironmentOutput(v **Create } sv.ComputeEnvironmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -436,6 +438,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobQueueOutput(v **CreateJobQueueOu } sv.JobQueueArn = ptr.String(jtv) } + case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -444,6 +447,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobQueueOutput(v **CreateJobQueueOu } sv.JobQueueName = ptr.String(jtv) } + default: _, _ = key, value @@ -602,6 +606,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchedulingPolicyOutput(v **CreateSc } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -610,6 +615,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchedulingPolicyOutput(v **CreateSc } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1128,6 +1134,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComputeEnvironmentsOutput(v **Des if err := awsRestjson1_deserializeDocumentComputeEnvironmentDetailList(&sv.ComputeEnvironments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1136,6 +1143,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComputeEnvironmentsOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1290,6 +1298,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobDefinitionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentJobDefinitionList(&sv.JobDefinitions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1298,6 +1307,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobDefinitionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1452,6 +1462,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobQueuesOutput(v **DescribeJobQu if err := awsRestjson1_deserializeDocumentJobQueueDetailList(&sv.JobQueues, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1460,6 +1471,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobQueuesOutput(v **DescribeJobQu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1614,6 +1626,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobDetailList(&sv.Jobs, value); err != nil { return err } + default: _, _ = key, value @@ -1768,6 +1781,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchedulingPoliciesOutput(v **Desc if err := awsRestjson1_deserializeDocumentSchedulingPolicyDetailList(&sv.SchedulingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -1922,6 +1936,7 @@ func awsRestjson1_deserializeOpDocumentGetJobQueueSnapshotOutput(v **GetJobQueue if err := awsRestjson1_deserializeDocumentFrontOfQueueDetail(&sv.FrontOfQueue, value); err != nil { return err } + default: _, _ = key, value @@ -2076,6 +2091,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.JobSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2084,6 +2100,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2242,10 +2259,12 @@ func awsRestjson1_deserializeOpDocumentListSchedulingPoliciesOutput(v **ListSche } sv.NextToken = ptr.String(jtv) } + case "schedulingPolicies": if err := awsRestjson1_deserializeDocumentSchedulingPolicyListingDetailList(&sv.SchedulingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -2400,6 +2419,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2558,6 +2578,7 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.JobDefinitionArn = ptr.String(jtv) } + case "jobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2566,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.JobDefinitionName = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -2578,6 +2600,7 @@ func awsRestjson1_deserializeOpDocumentRegisterJobDefinitionOutput(v **RegisterJ } sv.Revision = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2736,6 +2759,7 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2744,6 +2768,7 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -2752,6 +2777,7 @@ func awsRestjson1_deserializeOpDocumentSubmitJobOutput(v **SubmitJobOutput, valu } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -3183,6 +3209,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComputeEnvironmentOutput(v **Update } sv.ComputeEnvironmentArn = ptr.String(jtv) } + case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -3191,6 +3218,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComputeEnvironmentOutput(v **Update } sv.ComputeEnvironmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -3349,6 +3377,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJobQueueOutput(v **UpdateJobQueueOu } sv.JobQueueArn = ptr.String(jtv) } + case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -3357,6 +3386,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJobQueueOutput(v **UpdateJobQueueOu } sv.JobQueueName = ptr.String(jtv) } + default: _, _ = key, value @@ -3603,6 +3633,7 @@ func awsRestjson1_deserializeDocumentArrayPropertiesDetail(v **types.ArrayProper } sv.Index = ptr.Int32(int32(i64)) } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -3615,10 +3646,12 @@ func awsRestjson1_deserializeDocumentArrayPropertiesDetail(v **types.ArrayProper } sv.Size = ptr.Int32(int32(i64)) } + case "statusSummary": if err := awsRestjson1_deserializeDocumentArrayJobStatusSummary(&sv.StatusSummary, value); err != nil { return err } + default: _, _ = key, value @@ -3662,6 +3695,7 @@ func awsRestjson1_deserializeDocumentArrayPropertiesSummary(v **types.ArrayPrope } sv.Index = ptr.Int32(int32(i64)) } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -3674,6 +3708,7 @@ func awsRestjson1_deserializeDocumentArrayPropertiesSummary(v **types.ArrayPrope } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3713,6 +3748,7 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.ContainerInstanceArn = ptr.String(jtv) } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -3725,6 +3761,7 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.ExitCode = ptr.Int32(int32(i64)) } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -3733,10 +3770,12 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.LogStreamName = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3745,6 +3784,7 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.Reason = ptr.String(jtv) } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -3753,6 +3793,7 @@ func awsRestjson1_deserializeDocumentAttemptContainerDetail(v **types.AttemptCon } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3788,6 +3829,7 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu if err := awsRestjson1_deserializeDocumentAttemptContainerDetail(&sv.Container, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -3800,6 +3842,7 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StartedAt = ptr.Int64(i64) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3808,6 +3851,7 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StatusReason = ptr.String(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -3820,10 +3864,12 @@ func awsRestjson1_deserializeDocumentAttemptDetail(v **types.AttemptDetail, valu } sv.StoppedAt = ptr.Int64(i64) } + case "taskProperties": if err := awsRestjson1_deserializeDocumentListAttemptEcsTaskDetails(&sv.TaskProperties, value); err != nil { return err } + default: _, _ = key, value @@ -3897,10 +3943,12 @@ func awsRestjson1_deserializeDocumentAttemptEcsTaskDetails(v **types.AttemptEcsT } sv.ContainerInstanceArn = ptr.String(jtv) } + case "containers": if err := awsRestjson1_deserializeDocumentListAttemptTaskContainerDetails(&sv.Containers, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -3909,6 +3957,7 @@ func awsRestjson1_deserializeDocumentAttemptEcsTaskDetails(v **types.AttemptEcsT } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3952,6 +4001,7 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.ExitCode = ptr.Int32(int32(i64)) } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -3960,6 +4010,7 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.LogStreamName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3968,10 +4019,12 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.Name = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4033,7 @@ func awsRestjson1_deserializeDocumentAttemptTaskContainerDetails(v **types.Attem } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -4019,6 +4073,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4058,6 +4113,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ComputeEnvironmentArn = ptr.String(jtv) } + case "computeEnvironmentName": if value != nil { jtv, ok := value.(string) @@ -4066,10 +4122,12 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ComputeEnvironmentName = ptr.String(jtv) } + case "computeResources": if err := awsRestjson1_deserializeDocumentComputeResource(&sv.ComputeResources, value); err != nil { return err } + case "containerOrchestrationType": if value != nil { jtv, ok := value.(string) @@ -4078,6 +4136,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ContainerOrchestrationType = types.OrchestrationType(jtv) } + case "context": if value != nil { jtv, ok := value.(string) @@ -4086,6 +4145,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Context = ptr.String(jtv) } + case "ecsClusterArn": if value != nil { jtv, ok := value.(string) @@ -4094,10 +4154,12 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.EcsClusterArn = ptr.String(jtv) } + case "eksConfiguration": if err := awsRestjson1_deserializeDocumentEksConfiguration(&sv.EksConfiguration, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -4106,6 +4168,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.ServiceRole = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4114,6 +4177,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.State = types.CEState(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4122,6 +4186,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Status = types.CEStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4130,10 +4195,12 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4209,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Type = types.CEType(jtv) } + case "unmanagedvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4154,10 +4222,12 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.UnmanagedvCpus = ptr.Int32(int32(i64)) } + case "updatePolicy": if err := awsRestjson1_deserializeDocumentUpdatePolicy(&sv.UpdatePolicy, value); err != nil { return err } + case "uuid": if value != nil { jtv, ok := value.(string) @@ -4166,6 +4236,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentDetail(v **types.ComputeE } sv.Uuid = ptr.String(jtv) } + default: _, _ = key, value @@ -4239,6 +4310,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentOrder(v **types.ComputeEn } sv.ComputeEnvironment = ptr.String(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -4251,6 +4323,7 @@ func awsRestjson1_deserializeDocumentComputeEnvironmentOrder(v **types.ComputeEn } sv.Order = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4324,6 +4397,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.AllocationStrategy = types.CRAllocationStrategy(jtv) } + case "bidPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -4336,6 +4410,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.BidPercentage = ptr.Int32(int32(i64)) } + case "desiredvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4348,10 +4423,12 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.DesiredvCpus = ptr.Int32(int32(i64)) } + case "ec2Configuration": if err := awsRestjson1_deserializeDocumentEc2ConfigurationList(&sv.Ec2Configuration, value); err != nil { return err } + case "ec2KeyPair": if value != nil { jtv, ok := value.(string) @@ -4360,6 +4437,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.Ec2KeyPair = ptr.String(jtv) } + case "imageId": if value != nil { jtv, ok := value.(string) @@ -4368,6 +4446,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.ImageId = ptr.String(jtv) } + case "instanceRole": if value != nil { jtv, ok := value.(string) @@ -4376,14 +4455,17 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.InstanceRole = ptr.String(jtv) } + case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } + case "launchTemplate": if err := awsRestjson1_deserializeDocumentLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } + case "maxvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4396,6 +4478,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.MaxvCpus = ptr.Int32(int32(i64)) } + case "minvCpus": if value != nil { jtv, ok := value.(json.Number) @@ -4408,6 +4491,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.MinvCpus = ptr.Int32(int32(i64)) } + case "placementGroup": if value != nil { jtv, ok := value.(string) @@ -4416,10 +4500,12 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.PlacementGroup = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "spotIamFleetRole": if value != nil { jtv, ok := value.(string) @@ -4428,14 +4514,17 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.SpotIamFleetRole = ptr.String(jtv) } + case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4444,6 +4533,7 @@ func awsRestjson1_deserializeDocumentComputeResource(v **types.ComputeResource, } sv.Type = types.CRType(jtv) } + default: _, _ = key, value @@ -4479,6 +4569,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -4487,14 +4578,17 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ContainerInstanceArn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4503,6 +4597,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ExecutionRoleArn = ptr.String(jtv) } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -4515,10 +4610,12 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ExitCode = ptr.Int32(int32(i64)) } + case "fargatePlatformConfiguration": if err := awsRestjson1_deserializeDocumentFargatePlatformConfiguration(&sv.FargatePlatformConfiguration, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -4527,6 +4624,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Image = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -4535,6 +4633,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.InstanceType = ptr.String(jtv) } + case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -4543,14 +4642,17 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.JobRoleArn = ptr.String(jtv) } + case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -4559,6 +4661,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.LogStreamName = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -4571,18 +4674,22 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Memory = ptr.Int32(int32(i64)) } + case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -4591,6 +4698,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Privileged = ptr.Bool(jtv) } + case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -4599,6 +4707,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4607,22 +4716,27 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Reason = ptr.String(jtv) } + case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } + case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } + case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -4631,10 +4745,12 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.TaskArn = ptr.String(jtv) } + case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } + case "user": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4759,7 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.User = ptr.String(jtv) } + case "vcpus": if value != nil { jtv, ok := value.(json.Number) @@ -4655,10 +4772,12 @@ func awsRestjson1_deserializeDocumentContainerDetail(v **types.ContainerDetail, } sv.Vcpus = ptr.Int32(int32(i64)) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -4694,14 +4813,17 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4710,10 +4832,12 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.ExecutionRoleArn = ptr.String(jtv) } + case "fargatePlatformConfiguration": if err := awsRestjson1_deserializeDocumentFargatePlatformConfiguration(&sv.FargatePlatformConfiguration, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -4722,6 +4846,7 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Image = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -4730,6 +4855,7 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.InstanceType = ptr.String(jtv) } + case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -4738,14 +4864,17 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.JobRoleArn = ptr.String(jtv) } + case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -4758,14 +4887,17 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Memory = ptr.Int32(int32(i64)) } + case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -4774,6 +4906,7 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Privileged = ptr.Bool(jtv) } + case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -4782,26 +4915,32 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } + case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } + case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } + case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } + case "user": if value != nil { jtv, ok := value.(string) @@ -4810,6 +4949,7 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.User = ptr.String(jtv) } + case "vcpus": if value != nil { jtv, ok := value.(json.Number) @@ -4822,10 +4962,12 @@ func awsRestjson1_deserializeDocumentContainerProperties(v **types.ContainerProp } sv.Vcpus = ptr.Int32(int32(i64)) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -4869,6 +5011,7 @@ func awsRestjson1_deserializeDocumentContainerSummary(v **types.ContainerSummary } sv.ExitCode = ptr.Int32(int32(i64)) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4877,6 +5020,7 @@ func awsRestjson1_deserializeDocumentContainerSummary(v **types.ContainerSummary } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -4916,6 +5060,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ContainerPath = ptr.String(jtv) } + case "hostPath": if value != nil { jtv, ok := value.(string) @@ -4924,10 +5069,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HostPath = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentDeviceCgroupPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -5037,6 +5184,7 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageIdOverride = ptr.String(jtv) } + case "imageKubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -5045,6 +5193,7 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageKubernetesVersion = ptr.String(jtv) } + case "imageType": if value != nil { jtv, ok := value.(string) @@ -5053,6 +5202,7 @@ func awsRestjson1_deserializeDocumentEc2Configuration(v **types.Ec2Configuration } sv.ImageType = ptr.String(jtv) } + default: _, _ = key, value @@ -5122,6 +5272,7 @@ func awsRestjson1_deserializeDocumentEcsProperties(v **types.EcsProperties, valu if err := awsRestjson1_deserializeDocumentListEcsTaskProperties(&sv.TaskProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5157,6 +5308,7 @@ func awsRestjson1_deserializeDocumentEcsPropertiesDetail(v **types.EcsProperties if err := awsRestjson1_deserializeDocumentListEcsTaskDetails(&sv.TaskProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5196,14 +5348,17 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.ContainerInstanceArn = ptr.String(jtv) } + case "containers": if err := awsRestjson1_deserializeDocumentListTaskContainerDetails(&sv.Containers, value); err != nil { return err } + case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5212,6 +5367,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -5220,10 +5376,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.IpcMode = ptr.String(jtv) } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "pidMode": if value != nil { jtv, ok := value.(string) @@ -5232,6 +5390,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.PidMode = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -5240,10 +5399,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.PlatformVersion = ptr.String(jtv) } + case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -5252,6 +5413,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.TaskArn = ptr.String(jtv) } + case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -5260,10 +5422,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.TaskRoleArn = ptr.String(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -5299,10 +5463,12 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti if err := awsRestjson1_deserializeDocumentListTaskContainerProperties(&sv.Containers, value); err != nil { return err } + case "ephemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5311,6 +5477,7 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -5319,10 +5486,12 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.IpcMode = ptr.String(jtv) } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "pidMode": if value != nil { jtv, ok := value.(string) @@ -5331,6 +5500,7 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.PidMode = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -5339,10 +5509,12 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.PlatformVersion = ptr.String(jtv) } + case "runtimePlatform": if err := awsRestjson1_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } + case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -5351,10 +5523,12 @@ func awsRestjson1_deserializeDocumentEcsTaskProperties(v **types.EcsTaskProperti } sv.TaskRoleArn = ptr.String(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -5394,6 +5568,7 @@ func awsRestjson1_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.AccessPointId = ptr.String(jtv) } + case "iam": if value != nil { jtv, ok := value.(string) @@ -5402,6 +5577,7 @@ func awsRestjson1_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.Iam = types.EFSAuthorizationConfigIAM(jtv) } + default: _, _ = key, value @@ -5437,6 +5613,7 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC if err := awsRestjson1_deserializeDocumentEFSAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } + case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -5445,6 +5622,7 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.FileSystemId = ptr.String(jtv) } + case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -5453,6 +5631,7 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.RootDirectory = ptr.String(jtv) } + case "transitEncryption": if value != nil { jtv, ok := value.(string) @@ -5461,6 +5640,7 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryption = types.EFSTransitEncryption(jtv) } + case "transitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -5473,6 +5653,7 @@ func awsRestjson1_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5512,6 +5693,7 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.ContainerID = ptr.String(jtv) } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -5524,6 +5706,7 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.ExitCode = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5532,6 +5715,7 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.Name = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5540,6 +5724,7 @@ func awsRestjson1_deserializeDocumentEksAttemptContainerDetail(v **types.EksAtte } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -5609,6 +5794,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail if err := awsRestjson1_deserializeDocumentEksAttemptContainerDetails(&sv.Containers, value); err != nil { return err } + case "eksClusterArn": if value != nil { jtv, ok := value.(string) @@ -5617,10 +5803,12 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.EksClusterArn = ptr.String(jtv) } + case "initContainers": if err := awsRestjson1_deserializeDocumentEksAttemptContainerDetails(&sv.InitContainers, value); err != nil { return err } + case "nodeName": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5817,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.NodeName = ptr.String(jtv) } + case "podName": if value != nil { jtv, ok := value.(string) @@ -5637,6 +5826,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.PodName = ptr.String(jtv) } + case "podNamespace": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5835,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.PodNamespace = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -5657,6 +5848,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StartedAt = ptr.Int64(i64) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5665,6 +5857,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StatusReason = ptr.String(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -5677,6 +5870,7 @@ func awsRestjson1_deserializeDocumentEksAttemptDetail(v **types.EksAttemptDetail } sv.StoppedAt = ptr.Int64(i64) } + default: _, _ = key, value @@ -5750,6 +5944,7 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.EksClusterArn = ptr.String(jtv) } + case "kubernetesNamespace": if value != nil { jtv, ok := value.(string) @@ -5758,6 +5953,7 @@ func awsRestjson1_deserializeDocumentEksConfiguration(v **types.EksConfiguration } sv.KubernetesNamespace = ptr.String(jtv) } + default: _, _ = key, value @@ -5793,14 +5989,17 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value if err := awsRestjson1_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } + case "command": if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "env": if err := awsRestjson1_deserializeDocumentEksContainerEnvironmentVariables(&sv.Env, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -5809,6 +6008,7 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.Image = ptr.String(jtv) } + case "imagePullPolicy": if value != nil { jtv, ok := value.(string) @@ -5817,6 +6017,7 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.ImagePullPolicy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5825,18 +6026,22 @@ func awsRestjson1_deserializeDocumentEksContainer(v **types.EksContainer, value } sv.Name = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentEksContainerResourceRequirements(&sv.Resources, value); err != nil { return err } + case "securityContext": if err := awsRestjson1_deserializeDocumentEksContainerSecurityContext(&sv.SecurityContext, value); err != nil { return err } + case "volumeMounts": if err := awsRestjson1_deserializeDocumentEksContainerVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } + default: _, _ = key, value @@ -5872,14 +6077,17 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe if err := awsRestjson1_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } + case "command": if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "env": if err := awsRestjson1_deserializeDocumentEksContainerEnvironmentVariables(&sv.Env, value); err != nil { return err } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -5892,6 +6100,7 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.ExitCode = ptr.Int32(int32(i64)) } + case "image": if value != nil { jtv, ok := value.(string) @@ -5900,6 +6109,7 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Image = ptr.String(jtv) } + case "imagePullPolicy": if value != nil { jtv, ok := value.(string) @@ -5908,6 +6118,7 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.ImagePullPolicy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5916,6 +6127,7 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Name = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5924,18 +6136,22 @@ func awsRestjson1_deserializeDocumentEksContainerDetail(v **types.EksContainerDe } sv.Reason = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentEksContainerResourceRequirements(&sv.Resources, value); err != nil { return err } + case "securityContext": if err := awsRestjson1_deserializeDocumentEksContainerSecurityContext(&sv.SecurityContext, value); err != nil { return err } + case "volumeMounts": if err := awsRestjson1_deserializeDocumentEksContainerVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } + default: _, _ = key, value @@ -6009,6 +6225,7 @@ func awsRestjson1_deserializeDocumentEksContainerEnvironmentVariable(v **types.E } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6017,6 +6234,7 @@ func awsRestjson1_deserializeDocumentEksContainerEnvironmentVariable(v **types.E } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6086,10 +6304,12 @@ func awsRestjson1_deserializeDocumentEksContainerResourceRequirements(v **types. if err := awsRestjson1_deserializeDocumentEksLimits(&sv.Limits, value); err != nil { return err } + case "requests": if err := awsRestjson1_deserializeDocumentEksRequests(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -6163,6 +6383,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.AllowPrivilegeEscalation = ptr.Bool(jtv) } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -6171,6 +6392,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.Privileged = ptr.Bool(jtv) } + case "readOnlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -6179,6 +6401,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.ReadOnlyRootFilesystem = ptr.Bool(jtv) } + case "runAsGroup": if value != nil { jtv, ok := value.(json.Number) @@ -6191,6 +6414,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsGroup = ptr.Int64(i64) } + case "runAsNonRoot": if value != nil { jtv, ok := value.(bool) @@ -6199,6 +6423,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsNonRoot = ptr.Bool(jtv) } + case "runAsUser": if value != nil { jtv, ok := value.(json.Number) @@ -6211,6 +6436,7 @@ func awsRestjson1_deserializeDocumentEksContainerSecurityContext(v **types.EksCo } sv.RunAsUser = ptr.Int64(i64) } + default: _, _ = key, value @@ -6250,6 +6476,7 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.MountPath = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6485,7 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.Name = ptr.String(jtv) } + case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -6266,6 +6494,7 @@ func awsRestjson1_deserializeDocumentEksContainerVolumeMount(v **types.EksContai } sv.ReadOnly = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6339,6 +6568,7 @@ func awsRestjson1_deserializeDocumentEksEmptyDir(v **types.EksEmptyDir, value in } sv.Medium = ptr.String(jtv) } + case "sizeLimit": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6577,7 @@ func awsRestjson1_deserializeDocumentEksEmptyDir(v **types.EksEmptyDir, value in } sv.SizeLimit = ptr.String(jtv) } + default: _, _ = key, value @@ -6386,6 +6617,7 @@ func awsRestjson1_deserializeDocumentEksHostPath(v **types.EksHostPath, value in } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -6493,6 +6725,7 @@ func awsRestjson1_deserializeDocumentEksMetadata(v **types.EksMetadata, value in if err := awsRestjson1_deserializeDocumentEksLabelsMap(&sv.Labels, value); err != nil { return err } + default: _, _ = key, value @@ -6528,6 +6761,7 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties if err := awsRestjson1_deserializeDocumentEksContainers(&sv.Containers, value); err != nil { return err } + case "dnsPolicy": if value != nil { jtv, ok := value.(string) @@ -6536,6 +6770,7 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.DnsPolicy = ptr.String(jtv) } + case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -6544,18 +6779,22 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.HostNetwork = ptr.Bool(jtv) } + case "imagePullSecrets": if err := awsRestjson1_deserializeDocumentImagePullSecrets(&sv.ImagePullSecrets, value); err != nil { return err } + case "initContainers": if err := awsRestjson1_deserializeDocumentEksContainers(&sv.InitContainers, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentEksMetadata(&sv.Metadata, value); err != nil { return err } + case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -6564,6 +6803,7 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.ServiceAccountName = ptr.String(jtv) } + case "shareProcessNamespace": if value != nil { jtv, ok := value.(bool) @@ -6572,10 +6812,12 @@ func awsRestjson1_deserializeDocumentEksPodProperties(v **types.EksPodProperties } sv.ShareProcessNamespace = ptr.Bool(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentEksVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -6611,6 +6853,7 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp if err := awsRestjson1_deserializeDocumentEksContainerDetails(&sv.Containers, value); err != nil { return err } + case "dnsPolicy": if value != nil { jtv, ok := value.(string) @@ -6619,6 +6862,7 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.DnsPolicy = ptr.String(jtv) } + case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -6627,18 +6871,22 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.HostNetwork = ptr.Bool(jtv) } + case "imagePullSecrets": if err := awsRestjson1_deserializeDocumentImagePullSecrets(&sv.ImagePullSecrets, value); err != nil { return err } + case "initContainers": if err := awsRestjson1_deserializeDocumentEksContainerDetails(&sv.InitContainers, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentEksMetadata(&sv.Metadata, value); err != nil { return err } + case "nodeName": if value != nil { jtv, ok := value.(string) @@ -6647,6 +6895,7 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.NodeName = ptr.String(jtv) } + case "podName": if value != nil { jtv, ok := value.(string) @@ -6655,6 +6904,7 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.PodName = ptr.String(jtv) } + case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -6663,6 +6913,7 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.ServiceAccountName = ptr.String(jtv) } + case "shareProcessNamespace": if value != nil { jtv, ok := value.(bool) @@ -6671,10 +6922,12 @@ func awsRestjson1_deserializeDocumentEksPodPropertiesDetail(v **types.EksPodProp } sv.ShareProcessNamespace = ptr.Bool(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentEksVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -6710,6 +6963,7 @@ func awsRestjson1_deserializeDocumentEksProperties(v **types.EksProperties, valu if err := awsRestjson1_deserializeDocumentEksPodProperties(&sv.PodProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6745,6 +6999,7 @@ func awsRestjson1_deserializeDocumentEksPropertiesDetail(v **types.EksProperties if err := awsRestjson1_deserializeDocumentEksPodPropertiesDetail(&sv.PodProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6820,6 +7075,7 @@ func awsRestjson1_deserializeDocumentEksSecret(v **types.EksSecret, value interf } sv.Optional = ptr.Bool(jtv) } + case "secretName": if value != nil { jtv, ok := value.(string) @@ -6828,6 +7084,7 @@ func awsRestjson1_deserializeDocumentEksSecret(v **types.EksSecret, value interf } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -6863,10 +7120,12 @@ func awsRestjson1_deserializeDocumentEksVolume(v **types.EksVolume, value interf if err := awsRestjson1_deserializeDocumentEksEmptyDir(&sv.EmptyDir, value); err != nil { return err } + case "hostPath": if err := awsRestjson1_deserializeDocumentEksHostPath(&sv.HostPath, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6875,10 +7134,12 @@ func awsRestjson1_deserializeDocumentEksVolume(v **types.EksVolume, value interf } sv.Name = ptr.String(jtv) } + case "secret": if err := awsRestjson1_deserializeDocumentEksSecret(&sv.Secret, value); err != nil { return err } + default: _, _ = key, value @@ -6990,6 +7251,7 @@ func awsRestjson1_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.SizeInGiB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7029,6 +7291,7 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.Action = types.RetryAction(jtv) } + case "onExitCode": if value != nil { jtv, ok := value.(string) @@ -7037,6 +7300,7 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnExitCode = ptr.String(jtv) } + case "onReason": if value != nil { jtv, ok := value.(string) @@ -7045,6 +7309,7 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnReason = ptr.String(jtv) } + case "onStatusReason": if value != nil { jtv, ok := value.(string) @@ -7053,6 +7318,7 @@ func awsRestjson1_deserializeDocumentEvaluateOnExit(v **types.EvaluateOnExit, va } sv.OnStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -7130,6 +7396,7 @@ func awsRestjson1_deserializeDocumentFairsharePolicy(v **types.FairsharePolicy, } sv.ComputeReservation = ptr.Int32(int32(i64)) } + case "shareDecaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7142,10 +7409,12 @@ func awsRestjson1_deserializeDocumentFairsharePolicy(v **types.FairsharePolicy, } sv.ShareDecaySeconds = ptr.Int32(int32(i64)) } + case "shareDistribution": if err := awsRestjson1_deserializeDocumentShareAttributesList(&sv.ShareDistribution, value); err != nil { return err } + default: _, _ = key, value @@ -7185,6 +7454,7 @@ func awsRestjson1_deserializeDocumentFargatePlatformConfiguration(v **types.Farg } sv.PlatformVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -7220,6 +7490,7 @@ func awsRestjson1_deserializeDocumentFrontOfQueueDetail(v **types.FrontOfQueueDe if err := awsRestjson1_deserializeDocumentFrontOfQueueJobSummaryList(&sv.Jobs, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -7232,6 +7503,7 @@ func awsRestjson1_deserializeDocumentFrontOfQueueDetail(v **types.FrontOfQueueDe } sv.LastUpdatedAt = ptr.Int64(i64) } + default: _, _ = key, value @@ -7275,6 +7547,7 @@ func awsRestjson1_deserializeDocumentFrontOfQueueJobSummary(v **types.FrontOfQue } sv.EarliestTimeAtPosition = ptr.Int64(i64) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -7283,6 +7556,7 @@ func awsRestjson1_deserializeDocumentFrontOfQueueJobSummary(v **types.FrontOfQue } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7356,6 +7630,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -7395,6 +7670,7 @@ func awsRestjson1_deserializeDocumentImagePullSecret(v **types.ImagePullSecret, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7468,18 +7744,22 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.ContainerOrchestrationType = types.OrchestrationType(jtv) } + case "containerProperties": if err := awsRestjson1_deserializeDocumentContainerProperties(&sv.ContainerProperties, value); err != nil { return err } + case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsProperties(&sv.EcsProperties, value); err != nil { return err } + case "eksProperties": if err := awsRestjson1_deserializeDocumentEksProperties(&sv.EksProperties, value); err != nil { return err } + case "jobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -7488,6 +7768,7 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.JobDefinitionArn = ptr.String(jtv) } + case "jobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -7496,18 +7777,22 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.JobDefinitionName = ptr.String(jtv) } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "platformCapabilities": if err := awsRestjson1_deserializeDocumentPlatformCapabilityList(&sv.PlatformCapabilities, value); err != nil { return err } + case "propagateTags": if value != nil { jtv, ok := value.(bool) @@ -7516,10 +7801,12 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.PropagateTags = ptr.Bool(jtv) } + case "retryStrategy": if err := awsRestjson1_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -7532,6 +7819,7 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Revision = ptr.Int32(int32(i64)) } + case "schedulingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -7544,6 +7832,7 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.SchedulingPriority = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7552,14 +7841,17 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Status = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentJobTimeout(&sv.Timeout, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7568,6 +7860,7 @@ func awsRestjson1_deserializeDocumentJobDefinition(v **types.JobDefinition, valu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -7641,6 +7934,7 @@ func awsRestjson1_deserializeDocumentJobDependency(v **types.JobDependency, valu } sv.JobId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7649,6 +7943,7 @@ func awsRestjson1_deserializeDocumentJobDependency(v **types.JobDependency, valu } sv.Type = types.ArrayJobDependency(jtv) } + default: _, _ = key, value @@ -7718,14 +8013,17 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf if err := awsRestjson1_deserializeDocumentArrayPropertiesDetail(&sv.ArrayProperties, value); err != nil { return err } + case "attempts": if err := awsRestjson1_deserializeDocumentAttemptDetails(&sv.Attempts, value); err != nil { return err } + case "container": if err := awsRestjson1_deserializeDocumentContainerDetail(&sv.Container, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(json.Number) @@ -7738,22 +8036,27 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.CreatedAt = ptr.Int64(i64) } + case "dependsOn": if err := awsRestjson1_deserializeDocumentJobDependencyList(&sv.DependsOn, value); err != nil { return err } + case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsPropertiesDetail(&sv.EcsProperties, value); err != nil { return err } + case "eksAttempts": if err := awsRestjson1_deserializeDocumentEksAttemptDetails(&sv.EksAttempts, value); err != nil { return err } + case "eksProperties": if err := awsRestjson1_deserializeDocumentEksPropertiesDetail(&sv.EksProperties, value); err != nil { return err } + case "isCancelled": if value != nil { jtv, ok := value.(bool) @@ -7762,6 +8065,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.IsCancelled = ptr.Bool(jtv) } + case "isTerminated": if value != nil { jtv, ok := value.(bool) @@ -7770,6 +8074,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.IsTerminated = ptr.Bool(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -7778,6 +8083,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobArn = ptr.String(jtv) } + case "jobDefinition": if value != nil { jtv, ok := value.(string) @@ -7786,6 +8092,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobDefinition = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -7794,6 +8101,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -7802,6 +8110,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobName = ptr.String(jtv) } + case "jobQueue": if value != nil { jtv, ok := value.(string) @@ -7810,22 +8119,27 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.JobQueue = ptr.String(jtv) } + case "nodeDetails": if err := awsRestjson1_deserializeDocumentNodeDetails(&sv.NodeDetails, value); err != nil { return err } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "platformCapabilities": if err := awsRestjson1_deserializeDocumentPlatformCapabilityList(&sv.PlatformCapabilities, value); err != nil { return err } + case "propagateTags": if value != nil { jtv, ok := value.(bool) @@ -7834,10 +8148,12 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.PropagateTags = ptr.Bool(jtv) } + case "retryStrategy": if err := awsRestjson1_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + case "schedulingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -7850,6 +8166,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.SchedulingPriority = ptr.Int32(int32(i64)) } + case "shareIdentifier": if value != nil { jtv, ok := value.(string) @@ -7858,6 +8175,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.ShareIdentifier = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -7870,6 +8188,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StartedAt = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7878,6 +8197,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.Status = types.JobStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7886,6 +8206,7 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StatusReason = ptr.String(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -7898,14 +8219,17 @@ func awsRestjson1_deserializeDocumentJobDetail(v **types.JobDetail, value interf } sv.StoppedAt = ptr.Int64(i64) } + case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + case "timeout": if err := awsRestjson1_deserializeDocumentJobTimeout(&sv.Timeout, value); err != nil { return err } + default: _, _ = key, value @@ -7975,6 +8299,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va if err := awsRestjson1_deserializeDocumentComputeEnvironmentOrders(&sv.ComputeEnvironmentOrder, value); err != nil { return err } + case "jobQueueArn": if value != nil { jtv, ok := value.(string) @@ -7983,6 +8308,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.JobQueueArn = ptr.String(jtv) } + case "jobQueueName": if value != nil { jtv, ok := value.(string) @@ -7991,10 +8317,12 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.JobQueueName = ptr.String(jtv) } + case "jobStateTimeLimitActions": if err := awsRestjson1_deserializeDocumentJobStateTimeLimitActions(&sv.JobStateTimeLimitActions, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -8007,6 +8335,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.Priority = ptr.Int32(int32(i64)) } + case "schedulingPolicyArn": if value != nil { jtv, ok := value.(string) @@ -8015,6 +8344,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.SchedulingPolicyArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -8023,6 +8353,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.State = types.JQState(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8031,6 +8362,7 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.Status = types.JQStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8039,10 +8371,12 @@ func awsRestjson1_deserializeDocumentJobQueueDetail(v **types.JobQueueDetail, va } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8116,6 +8450,7 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.Action = types.JobStateTimeLimitActionsAction(jtv) } + case "maxTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8128,6 +8463,7 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.MaxTimeSeconds = ptr.Int32(int32(i64)) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -8136,6 +8472,7 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.Reason = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -8144,6 +8481,7 @@ func awsRestjson1_deserializeDocumentJobStateTimeLimitAction(v **types.JobStateT } sv.State = types.JobStateTimeLimitActionsState(jtv) } + default: _, _ = key, value @@ -8213,10 +8551,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte if err := awsRestjson1_deserializeDocumentArrayPropertiesSummary(&sv.ArrayProperties, value); err != nil { return err } + case "container": if err := awsRestjson1_deserializeDocumentContainerSummary(&sv.Container, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(json.Number) @@ -8229,6 +8569,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Int64(i64) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -8237,6 +8578,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } + case "jobDefinition": if value != nil { jtv, ok := value.(string) @@ -8245,6 +8587,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobDefinition = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -8253,6 +8596,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -8261,10 +8605,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobName = ptr.String(jtv) } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodePropertiesSummary(&sv.NodeProperties, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8277,6 +8623,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8285,6 +8632,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8293,6 +8641,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StatusReason = ptr.String(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(json.Number) @@ -8305,6 +8654,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StoppedAt = ptr.Int64(i64) } + default: _, _ = key, value @@ -8382,6 +8732,7 @@ func awsRestjson1_deserializeDocumentJobTimeout(v **types.JobTimeout, value inte } sv.AttemptDurationSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8421,6 +8772,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8429,6 +8781,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8468,6 +8821,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.LaunchTemplateId = ptr.String(jtv) } + case "launchTemplateName": if value != nil { jtv, ok := value.(string) @@ -8476,6 +8830,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.LaunchTemplateName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -8484,6 +8839,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8519,6 +8875,7 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, if err := awsRestjson1_deserializeDocumentDevicesList(&sv.Devices, value); err != nil { return err } + case "initProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -8527,6 +8884,7 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.InitProcessEnabled = ptr.Bool(jtv) } + case "maxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -8539,6 +8897,7 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.MaxSwap = ptr.Int32(int32(i64)) } + case "sharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -8551,6 +8910,7 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.SharedMemorySize = ptr.Int32(int32(i64)) } + case "swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -8563,10 +8923,12 @@ func awsRestjson1_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.Swappiness = ptr.Int32(int32(i64)) } + case "tmpfs": if err := awsRestjson1_deserializeDocumentTmpfsList(&sv.Tmpfs, value); err != nil { return err } + default: _, _ = key, value @@ -8810,14 +9172,17 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = types.LogDriver(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentLogConfigurationOptionsMap(&sv.Options, value); err != nil { return err } + case "secretOptions": if err := awsRestjson1_deserializeDocumentSecretList(&sv.SecretOptions, value); err != nil { return err } + default: _, _ = key, value @@ -8893,6 +9258,7 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ContainerPath = ptr.String(jtv) } + case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -8901,6 +9267,7 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ReadOnly = ptr.Bool(jtv) } + case "sourceVolume": if value != nil { jtv, ok := value.(string) @@ -8909,6 +9276,7 @@ func awsRestjson1_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.SourceVolume = ptr.String(jtv) } + default: _, _ = key, value @@ -8982,6 +9350,7 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + default: _, _ = key, value @@ -9021,6 +9390,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AttachmentId = ptr.String(jtv) } + case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -9029,6 +9399,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } + case "privateIpv4Address": if value != nil { jtv, ok := value.(string) @@ -9037,6 +9408,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpv4Address = ptr.String(jtv) } + default: _, _ = key, value @@ -9110,6 +9482,7 @@ func awsRestjson1_deserializeDocumentNodeDetails(v **types.NodeDetails, value in } sv.IsMainNode = ptr.Bool(jtv) } + case "nodeIndex": if value != nil { jtv, ok := value.(json.Number) @@ -9122,6 +9495,7 @@ func awsRestjson1_deserializeDocumentNodeDetails(v **types.NodeDetails, value in } sv.NodeIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9165,10 +9539,12 @@ func awsRestjson1_deserializeDocumentNodeProperties(v **types.NodeProperties, va } sv.MainNode = ptr.Int32(int32(i64)) } + case "nodeRangeProperties": if err := awsRestjson1_deserializeDocumentNodeRangeProperties(&sv.NodeRangeProperties, value); err != nil { return err } + case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9181,6 +9557,7 @@ func awsRestjson1_deserializeDocumentNodeProperties(v **types.NodeProperties, va } sv.NumNodes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9220,6 +9597,7 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.IsMainNode = ptr.Bool(jtv) } + case "nodeIndex": if value != nil { jtv, ok := value.(json.Number) @@ -9232,6 +9610,7 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.NodeIndex = ptr.Int32(int32(i64)) } + case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9244,6 +9623,7 @@ func awsRestjson1_deserializeDocumentNodePropertiesSummary(v **types.NodePropert } sv.NumNodes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9313,18 +9693,22 @@ func awsRestjson1_deserializeDocumentNodeRangeProperty(v **types.NodeRangeProper if err := awsRestjson1_deserializeDocumentContainerProperties(&sv.Container, value); err != nil { return err } + case "ecsProperties": if err := awsRestjson1_deserializeDocumentEcsProperties(&sv.EcsProperties, value); err != nil { return err } + case "eksProperties": if err := awsRestjson1_deserializeDocumentEksProperties(&sv.EksProperties, value); err != nil { return err } + case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } + case "targetNodes": if value != nil { jtv, ok := value.(string) @@ -9333,6 +9717,7 @@ func awsRestjson1_deserializeDocumentNodeRangeProperty(v **types.NodeRangeProper } sv.TargetNodes = ptr.String(jtv) } + default: _, _ = key, value @@ -9444,6 +9829,7 @@ func awsRestjson1_deserializeDocumentRepositoryCredentials(v **types.RepositoryC } sv.CredentialsParameter = ptr.String(jtv) } + default: _, _ = key, value @@ -9483,6 +9869,7 @@ func awsRestjson1_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Type = types.ResourceType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9491,6 +9878,7 @@ func awsRestjson1_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9568,10 +9956,12 @@ func awsRestjson1_deserializeDocumentRetryStrategy(v **types.RetryStrategy, valu } sv.Attempts = ptr.Int32(int32(i64)) } + case "evaluateOnExit": if err := awsRestjson1_deserializeDocumentEvaluateOnExitList(&sv.EvaluateOnExit, value); err != nil { return err } + default: _, _ = key, value @@ -9611,6 +10001,7 @@ func awsRestjson1_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.CpuArchitecture = ptr.String(jtv) } + case "operatingSystemFamily": if value != nil { jtv, ok := value.(string) @@ -9619,6 +10010,7 @@ func awsRestjson1_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.OperatingSystemFamily = ptr.String(jtv) } + default: _, _ = key, value @@ -9658,10 +10050,12 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyDetail(v **types.Scheduling } sv.Arn = ptr.String(jtv) } + case "fairsharePolicy": if err := awsRestjson1_deserializeDocumentFairsharePolicy(&sv.FairsharePolicy, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9670,10 +10064,12 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyDetail(v **types.Scheduling } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagrisTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9747,6 +10143,7 @@ func awsRestjson1_deserializeDocumentSchedulingPolicyListingDetail(v **types.Sch } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -9820,6 +10217,7 @@ func awsRestjson1_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.Name = ptr.String(jtv) } + case "valueFrom": if value != nil { jtv, ok := value.(string) @@ -9828,6 +10226,7 @@ func awsRestjson1_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.ValueFrom = ptr.String(jtv) } + default: _, _ = key, value @@ -9901,6 +10300,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9940,6 +10340,7 @@ func awsRestjson1_deserializeDocumentShareAttributes(v **types.ShareAttributes, } sv.ShareIdentifier = ptr.String(jtv) } + case "weightFactor": if value != nil { switch jtv := value.(type) { @@ -9973,6 +10374,7 @@ func awsRestjson1_deserializeDocumentShareAttributes(v **types.ShareAttributes, } } + default: _, _ = key, value @@ -10154,6 +10556,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDependency(v **types.TaskConta } sv.Condition = ptr.String(jtv) } + case "containerName": if value != nil { jtv, ok := value.(string) @@ -10162,6 +10565,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDependency(v **types.TaskConta } sv.ContainerName = ptr.String(jtv) } + default: _, _ = key, value @@ -10231,14 +10635,17 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "dependsOn": if err := awsRestjson1_deserializeDocumentTaskContainerDependencyList(&sv.DependsOn, value); err != nil { return err } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "essential": if value != nil { jtv, ok := value.(bool) @@ -10247,6 +10654,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Essential = ptr.Bool(jtv) } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -10259,6 +10667,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.ExitCode = ptr.Int32(int32(i64)) } + case "image": if value != nil { jtv, ok := value.(string) @@ -10267,14 +10676,17 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Image = ptr.String(jtv) } + case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -10283,10 +10695,12 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.LogStreamName = ptr.String(jtv) } + case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10295,10 +10709,12 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Name = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -10307,6 +10723,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Privileged = ptr.Bool(jtv) } + case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -10315,6 +10732,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -10323,22 +10741,27 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.Reason = ptr.String(jtv) } + case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } + case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } + case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } + case "user": if value != nil { jtv, ok := value.(string) @@ -10347,6 +10770,7 @@ func awsRestjson1_deserializeDocumentTaskContainerDetails(v **types.TaskContaine } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -10382,14 +10806,17 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "dependsOn": if err := awsRestjson1_deserializeDocumentTaskContainerDependencyList(&sv.DependsOn, value); err != nil { return err } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "essential": if value != nil { jtv, ok := value.(bool) @@ -10398,6 +10825,7 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Essential = ptr.Bool(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -10406,18 +10834,22 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Image = ptr.String(jtv) } + case "linuxParameters": if err := awsRestjson1_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "mountPoints": if err := awsRestjson1_deserializeDocumentMountPoints(&sv.MountPoints, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10426,6 +10858,7 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Name = ptr.String(jtv) } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -10434,6 +10867,7 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.Privileged = ptr.Bool(jtv) } + case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -10442,22 +10876,27 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "repositoryCredentials": if err := awsRestjson1_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } + case "resourceRequirements": if err := awsRestjson1_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + case "secrets": if err := awsRestjson1_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } + case "ulimits": if err := awsRestjson1_deserializeDocumentUlimits(&sv.Ulimits, value); err != nil { return err } + case "user": if value != nil { jtv, ok := value.(string) @@ -10466,6 +10905,7 @@ func awsRestjson1_deserializeDocumentTaskContainerProperties(v **types.TaskConta } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -10505,10 +10945,12 @@ func awsRestjson1_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.ContainerPath = ptr.String(jtv) } + case "mountOptions": if err := awsRestjson1_deserializeDocumentStringList(&sv.MountOptions, value); err != nil { return err } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -10521,6 +10963,7 @@ func awsRestjson1_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10598,6 +11041,7 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.HardLimit = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10606,6 +11050,7 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.Name = ptr.String(jtv) } + case "softLimit": if value != nil { jtv, ok := value.(json.Number) @@ -10618,6 +11063,7 @@ func awsRestjson1_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.SoftLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10695,6 +11141,7 @@ func awsRestjson1_deserializeDocumentUpdatePolicy(v **types.UpdatePolicy, value } sv.JobExecutionTimeoutMinutes = ptr.Int64(i64) } + case "terminateJobsOnUpdate": if value != nil { jtv, ok := value.(bool) @@ -10703,6 +11150,7 @@ func awsRestjson1_deserializeDocumentUpdatePolicy(v **types.UpdatePolicy, value } sv.TerminateJobsOnUpdate = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10738,10 +11186,12 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsRestjson1_deserializeDocumentEFSVolumeConfiguration(&sv.EfsVolumeConfiguration, value); err != nil { return err } + case "host": if err := awsRestjson1_deserializeDocumentHost(&sv.Host, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10750,6 +11200,7 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/bcmdataexports/deserializers.go b/service/bcmdataexports/deserializers.go index ec4aa3842be..10350530ca7 100644 --- a/service/bcmdataexports/deserializers.go +++ b/service/bcmdataexports/deserializers.go @@ -1665,6 +1665,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1673,6 +1674,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1681,6 +1683,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1754,10 +1757,12 @@ func awsAwsjson11_deserializeDocumentDataQuery(v **types.DataQuery, value interf } sv.QueryStatement = ptr.String(jtv) } + case "TableConfigurations": if err := awsAwsjson11_deserializeDocumentTableConfigurations(&sv.TableConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -1793,6 +1798,7 @@ func awsAwsjson11_deserializeDocumentDestinationConfigurations(v **types.Destina if err := awsAwsjson11_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -1832,10 +1838,12 @@ func awsAwsjson11_deserializeDocumentExecutionReference(v **types.ExecutionRefer } sv.ExecutionId = ptr.String(jtv) } + case "ExecutionStatus": if err := awsAwsjson11_deserializeDocumentExecutionStatus(&sv.ExecutionStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1913,6 +1921,7 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.CompletedAt = ptr.Time(t) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1925,6 +1934,7 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.CreatedAt = ptr.Time(t) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1937,6 +1947,7 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.LastUpdatedAt = ptr.Time(t) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1945,6 +1956,7 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.StatusCode = types.ExecutionStatusCode(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -1953,6 +1965,7 @@ func awsAwsjson11_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.StatusReason = types.ExecutionStatusReason(jtv) } + default: _, _ = key, value @@ -1988,6 +2001,7 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) if err := awsAwsjson11_deserializeDocumentDataQuery(&sv.DataQuery, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1996,10 +2010,12 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.Description = ptr.String(jtv) } + case "DestinationConfigurations": if err := awsAwsjson11_deserializeDocumentDestinationConfigurations(&sv.DestinationConfigurations, value); err != nil { return err } + case "ExportArn": if value != nil { jtv, ok := value.(string) @@ -2008,6 +2024,7 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.ExportArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2016,10 +2033,12 @@ func awsAwsjson11_deserializeDocumentExport(v **types.Export, value interface{}) } sv.Name = ptr.String(jtv) } + case "RefreshCadence": if err := awsAwsjson11_deserializeDocumentRefreshCadence(&sv.RefreshCadence, value); err != nil { return err } + default: _, _ = key, value @@ -2059,6 +2078,7 @@ func awsAwsjson11_deserializeDocumentExportReference(v **types.ExportReference, } sv.ExportArn = ptr.String(jtv) } + case "ExportName": if value != nil { jtv, ok := value.(string) @@ -2067,10 +2087,12 @@ func awsAwsjson11_deserializeDocumentExportReference(v **types.ExportReference, } sv.ExportName = ptr.String(jtv) } + case "ExportStatus": if err := awsAwsjson11_deserializeDocumentExportStatus(&sv.ExportStatus, value); err != nil { return err } + default: _, _ = key, value @@ -2148,6 +2170,7 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.CreatedAt = ptr.Time(t) } + case "LastRefreshedAt": if value != nil { jtv, ok := value.(string) @@ -2160,6 +2183,7 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.LastRefreshedAt = ptr.Time(t) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2172,6 +2196,7 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.LastUpdatedAt = ptr.Time(t) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -2180,6 +2205,7 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.StatusCode = types.ExportStatusCode(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2188,6 +2214,7 @@ func awsAwsjson11_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.StatusReason = types.ExecutionStatusReason(jtv) } + default: _, _ = key, value @@ -2263,6 +2290,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2302,6 +2330,7 @@ func awsAwsjson11_deserializeDocumentRefreshCadence(v **types.RefreshCadence, va } sv.Frequency = types.FrequencyOption(jtv) } + default: _, _ = key, value @@ -2341,6 +2370,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2349,6 +2379,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2357,6 +2388,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2396,6 +2428,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2404,6 +2437,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2477,10 +2511,12 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Bucket = ptr.String(jtv) } + case "S3OutputConfigurations": if err := awsAwsjson11_deserializeDocumentS3OutputConfigurations(&sv.S3OutputConfigurations, value); err != nil { return err } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -2489,6 +2525,7 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Prefix = ptr.String(jtv) } + case "S3Region": if value != nil { jtv, ok := value.(string) @@ -2497,6 +2534,7 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.S3Region = ptr.String(jtv) } + default: _, _ = key, value @@ -2536,6 +2574,7 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Compression = types.CompressionOption(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -2544,6 +2583,7 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Format = types.FormatOption(jtv) } + case "OutputType": if value != nil { jtv, ok := value.(string) @@ -2552,6 +2592,7 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.OutputType = types.S3OutputType(jtv) } + case "Overwrite": if value != nil { jtv, ok := value.(string) @@ -2560,6 +2601,7 @@ func awsAwsjson11_deserializeDocumentS3OutputConfigurations(v **types.S3OutputCo } sv.Overwrite = types.OverwriteOption(jtv) } + default: _, _ = key, value @@ -2599,6 +2641,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -2607,6 +2650,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2615,6 +2659,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2623,6 +2668,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -2631,6 +2677,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2670,6 +2717,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Description = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -2678,10 +2726,12 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableName = ptr.String(jtv) } + case "TableProperties": if err := awsAwsjson11_deserializeDocumentTablePropertyDescriptionList(&sv.TableProperties, value); err != nil { return err } + default: _, _ = key, value @@ -2825,6 +2875,7 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.DefaultValue = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2833,6 +2884,7 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2841,10 +2893,12 @@ func awsAwsjson11_deserializeDocumentTablePropertyDescription(v **types.TablePro } sv.Name = ptr.String(jtv) } + case "ValidValues": if err := awsAwsjson11_deserializeDocumentGenericStringList(&sv.ValidValues, value); err != nil { return err } + default: _, _ = key, value @@ -2918,6 +2972,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -2926,6 +2981,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -2934,6 +2990,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2969,6 +3026,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2977,6 +3035,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2985,6 +3044,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -3024,6 +3084,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3032,6 +3093,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3105,6 +3167,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3144,6 +3207,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3183,14 +3247,17 @@ func awsAwsjson11_deserializeOpDocumentGetExecutionOutput(v **GetExecutionOutput } sv.ExecutionId = ptr.String(jtv) } + case "ExecutionStatus": if err := awsAwsjson11_deserializeDocumentExecutionStatus(&sv.ExecutionStatus, value); err != nil { return err } + case "Export": if err := awsAwsjson11_deserializeDocumentExport(&sv.Export, value); err != nil { return err } + default: _, _ = key, value @@ -3226,10 +3293,12 @@ func awsAwsjson11_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu if err := awsAwsjson11_deserializeDocumentExport(&sv.Export, value); err != nil { return err } + case "ExportStatus": if err := awsAwsjson11_deserializeDocumentExportStatus(&sv.ExportStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3269,10 +3338,12 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.Description = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Schema, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -3281,10 +3352,12 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.TableName = ptr.String(jtv) } + case "TableProperties": if err := awsAwsjson11_deserializeDocumentTableProperties(&sv.TableProperties, value); err != nil { return err } + default: _, _ = key, value @@ -3320,6 +3393,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson11_deserializeDocumentExecutionReferenceList(&sv.Executions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3328,6 +3402,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3363,6 +3438,7 @@ func awsAwsjson11_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsAwsjson11_deserializeDocumentExportReferenceList(&sv.Exports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3371,6 +3447,7 @@ func awsAwsjson11_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3410,10 +3487,12 @@ func awsAwsjson11_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } + case "Tables": if err := awsAwsjson11_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } + default: _, _ = key, value @@ -3453,10 +3532,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "ResourceTags": if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -3558,6 +3639,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/bedrock/deserializers.go b/service/bedrock/deserializers.go index ac7130d8141..9d347530240 100644 --- a/service/bedrock/deserializers.go +++ b/service/bedrock/deserializers.go @@ -187,10 +187,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteEvaluationJobOutput(v **BatchD if err := awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobErrors(&sv.Errors, value); err != nil { return err } + case "evaluationJobs": if err := awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItems(&sv.EvaluationJobs, value); err != nil { return err } + default: _, _ = key, value @@ -364,6 +366,7 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationJobOutput(v **CreateEvalu } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -544,6 +547,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.CreatedAt = ptr.Time(t) } + case "guardrailArn": if value != nil { jtv, ok := value.(string) @@ -552,6 +556,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.GuardrailArn = ptr.String(jtv) } + case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -560,6 +565,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.GuardrailId = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -568,6 +574,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailOutput(v **CreateGuardrail } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -741,6 +748,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailVersionOutput(v **CreateGu } sv.GuardrailId = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -749,6 +757,7 @@ func awsRestjson1_deserializeOpDocumentCreateGuardrailVersionOutput(v **CreateGu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -925,6 +934,7 @@ func awsRestjson1_deserializeOpDocumentCreateInferenceProfileOutput(v **CreateIn } sv.InferenceProfileArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -933,6 +943,7 @@ func awsRestjson1_deserializeOpDocumentCreateInferenceProfileOutput(v **CreateIn } sv.Status = types.InferenceProfileStatus(jtv) } + default: _, _ = key, value @@ -1097,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelCopyJobOutput(v **CreateModelC } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1273,6 +1285,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelCustomizationJobOutput(v **Cre } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1449,6 +1462,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelImportJobOutput(v **CreateMode } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1622,6 +1636,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelInvocationJobOutput(v **Create } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1795,6 +1810,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisionedModelThroughputOutput(v } sv.ProvisionedModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2571,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.BaseModelArn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2583,6 +2600,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.CreationTime = ptr.Time(t) } + case "customizationType": if value != nil { jtv, ok := value.(string) @@ -2591,10 +2609,12 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.CustomizationType = types.CustomizationType(jtv) } + case "hyperParameters": if err := awsRestjson1_deserializeDocumentModelCustomizationHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2603,6 +2623,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -2611,6 +2632,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.JobName = ptr.String(jtv) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -2619,6 +2641,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelArn = ptr.String(jtv) } + case "modelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2627,6 +2650,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelKmsKeyArn = ptr.String(jtv) } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -2635,26 +2659,32 @@ func awsRestjson1_deserializeOpDocumentGetCustomModelOutput(v **GetCustomModelOu } sv.ModelName = ptr.String(jtv) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "trainingDataConfig": if err := awsRestjson1_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } + case "trainingMetrics": if err := awsRestjson1_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } + case "validationDataConfig": if err := awsRestjson1_deserializeDocumentValidationDataConfig(&sv.ValidationDataConfig, value); err != nil { return err } + case "validationMetrics": if err := awsRestjson1_deserializeDocumentValidationMetrics(&sv.ValidationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -2826,6 +2856,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.CreationTime = ptr.Time(t) } + case "customerEncryptionKeyId": if value != nil { jtv, ok := value.(string) @@ -2834,18 +2865,22 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.CustomerEncryptionKeyId = ptr.String(jtv) } + case "evaluationConfig": if err := awsRestjson1_deserializeDocumentEvaluationConfig(&sv.EvaluationConfig, value); err != nil { return err } + case "failureMessages": if err := awsRestjson1_deserializeDocumentErrorMessages(&sv.FailureMessages, value); err != nil { return err } + case "inferenceConfig": if err := awsRestjson1_deserializeDocumentEvaluationInferenceConfig(&sv.InferenceConfig, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2854,6 +2889,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobArn = ptr.String(jtv) } + case "jobDescription": if value != nil { jtv, ok := value.(string) @@ -2862,6 +2898,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobDescription = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -2870,6 +2907,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobName = ptr.String(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -2878,6 +2916,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.JobType = types.EvaluationJobType(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -2890,10 +2929,12 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.LastModifiedTime = ptr.Time(t) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentEvaluationOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2902,6 +2943,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2910,6 +2952,7 @@ func awsRestjson1_deserializeOpDocumentGetEvaluationJobOutput(v **GetEvaluationJ } sv.Status = types.EvaluationJobStatus(jtv) } + default: _, _ = key, value @@ -3073,6 +3116,7 @@ func awsRestjson1_deserializeOpDocumentGetFoundationModelOutput(v **GetFoundatio if err := awsRestjson1_deserializeDocumentFoundationModelDetails(&sv.ModelDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3240,6 +3284,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.BlockedInputMessaging = ptr.String(jtv) } + case "blockedOutputsMessaging": if value != nil { jtv, ok := value.(string) @@ -3248,14 +3293,17 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.BlockedOutputsMessaging = ptr.String(jtv) } + case "contentPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContentPolicy(&sv.ContentPolicy, value); err != nil { return err } + case "contextualGroundingPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicy(&sv.ContextualGroundingPolicy, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3268,6 +3316,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3276,10 +3325,12 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Description = ptr.String(jtv) } + case "failureRecommendations": if err := awsRestjson1_deserializeDocumentGuardrailFailureRecommendations(&sv.FailureRecommendations, value); err != nil { return err } + case "guardrailArn": if value != nil { jtv, ok := value.(string) @@ -3288,6 +3339,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.GuardrailArn = ptr.String(jtv) } + case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -3296,6 +3348,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.GuardrailId = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3304,6 +3357,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.KmsKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3312,10 +3366,12 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Name = ptr.String(jtv) } + case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicy(&sv.SensitiveInformationPolicy, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3324,14 +3380,17 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Status = types.GuardrailStatus(jtv) } + case "statusReasons": if err := awsRestjson1_deserializeDocumentGuardrailStatusReasons(&sv.StatusReasons, value); err != nil { return err } + case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicy(&sv.TopicPolicy, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3344,6 +3403,7 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3352,10 +3412,12 @@ func awsRestjson1_deserializeOpDocumentGetGuardrailOutput(v **GetGuardrailOutput } sv.Version = ptr.String(jtv) } + case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicy(&sv.WordPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -3527,6 +3589,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.CreationTime = ptr.Time(t) } + case "instructSupported": if value != nil { jtv, ok := value.(bool) @@ -3535,6 +3598,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.InstructSupported = ptr.Bool(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -3543,6 +3607,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -3551,6 +3616,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.JobName = ptr.String(jtv) } + case "modelArchitecture": if value != nil { jtv, ok := value.(string) @@ -3559,6 +3625,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelArchitecture = ptr.String(jtv) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -3567,10 +3634,12 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelArn = ptr.String(jtv) } + case "modelDataSource": if err := awsRestjson1_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } + case "modelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3579,6 +3648,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelKmsKeyArn = ptr.String(jtv) } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -3587,6 +3657,7 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod } sv.ModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -3758,6 +3829,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3766,6 +3838,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Description = ptr.String(jtv) } + case "inferenceProfileArn": if value != nil { jtv, ok := value.(string) @@ -3774,6 +3847,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileArn = ptr.String(jtv) } + case "inferenceProfileId": if value != nil { jtv, ok := value.(string) @@ -3782,6 +3856,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileId = ptr.String(jtv) } + case "inferenceProfileName": if value != nil { jtv, ok := value.(string) @@ -3790,10 +3865,12 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.InferenceProfileName = ptr.String(jtv) } + case "models": if err := awsRestjson1_deserializeDocumentInferenceProfileModels(&sv.Models, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3802,6 +3879,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Status = types.InferenceProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3810,6 +3888,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.Type = types.InferenceProfileType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3822,6 +3901,7 @@ func awsRestjson1_deserializeOpDocumentGetInferenceProfileOutput(v **GetInferenc } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3993,6 +4073,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.CreationTime = ptr.Time(t) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4001,6 +4082,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.FailureMessage = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4009,6 +4091,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.JobArn = ptr.String(jtv) } + case "sourceAccountId": if value != nil { jtv, ok := value.(string) @@ -4017,6 +4100,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceAccountId = ptr.String(jtv) } + case "sourceModelArn": if value != nil { jtv, ok := value.(string) @@ -4025,6 +4109,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceModelArn = ptr.String(jtv) } + case "sourceModelName": if value != nil { jtv, ok := value.(string) @@ -4033,6 +4118,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.SourceModelName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4041,6 +4127,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.Status = types.ModelCopyJobStatus(jtv) } + case "targetModelArn": if value != nil { jtv, ok := value.(string) @@ -4049,6 +4136,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelArn = ptr.String(jtv) } + case "targetModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4057,6 +4145,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelKmsKeyArn = ptr.String(jtv) } + case "targetModelName": if value != nil { jtv, ok := value.(string) @@ -4065,10 +4154,12 @@ func awsRestjson1_deserializeOpDocumentGetModelCopyJobOutput(v **GetModelCopyJob } sv.TargetModelName = ptr.String(jtv) } + case "targetModelTags": if err := awsRestjson1_deserializeDocumentTagList(&sv.TargetModelTags, value); err != nil { return err } + default: _, _ = key, value @@ -4236,6 +4327,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.BaseModelArn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -4244,6 +4336,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.ClientRequestToken = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4256,6 +4349,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.CreationTime = ptr.Time(t) } + case "customizationType": if value != nil { jtv, ok := value.(string) @@ -4264,6 +4358,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.CustomizationType = types.CustomizationType(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -4276,6 +4371,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.EndTime = ptr.Time(t) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4284,10 +4380,12 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.FailureMessage = ptr.String(jtv) } + case "hyperParameters": if err := awsRestjson1_deserializeDocumentModelCustomizationHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4296,6 +4394,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -4304,6 +4403,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -4316,10 +4416,12 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.LastModifiedTime = ptr.Time(t) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "outputModelArn": if value != nil { jtv, ok := value.(string) @@ -4328,6 +4430,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelArn = ptr.String(jtv) } + case "outputModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4336,6 +4439,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelKmsKeyArn = ptr.String(jtv) } + case "outputModelName": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4448,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.OutputModelName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4352,6 +4457,7 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4360,26 +4466,32 @@ func awsRestjson1_deserializeOpDocumentGetModelCustomizationJobOutput(v **GetMod } sv.Status = types.ModelCustomizationJobStatus(jtv) } + case "trainingDataConfig": if err := awsRestjson1_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } + case "trainingMetrics": if err := awsRestjson1_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } + case "validationDataConfig": if err := awsRestjson1_deserializeDocumentValidationDataConfig(&sv.ValidationDataConfig, value); err != nil { return err } + case "validationMetrics": if err := awsRestjson1_deserializeDocumentValidationMetrics(&sv.ValidationMetrics, value); err != nil { return err } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4551,6 +4663,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.CreationTime = ptr.Time(t) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -4563,6 +4676,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.EndTime = ptr.Time(t) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4571,6 +4685,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.FailureMessage = ptr.String(jtv) } + case "importedModelArn": if value != nil { jtv, ok := value.(string) @@ -4579,6 +4694,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelArn = ptr.String(jtv) } + case "importedModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4587,6 +4703,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelKmsKeyArn = ptr.String(jtv) } + case "importedModelName": if value != nil { jtv, ok := value.(string) @@ -4595,6 +4712,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.ImportedModelName = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4603,6 +4721,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -4611,6 +4730,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -4623,10 +4743,12 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.LastModifiedTime = ptr.Time(t) } + case "modelDataSource": if err := awsRestjson1_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4635,6 +4757,7 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4643,10 +4766,12 @@ func awsRestjson1_deserializeOpDocumentGetModelImportJobOutput(v **GetModelImpor } sv.Status = types.ModelImportJobStatus(jtv) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4814,6 +4939,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.ClientRequestToken = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -4826,10 +4952,12 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.EndTime = ptr.Time(t) } + case "inputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -4838,6 +4966,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobArn = ptr.String(jtv) } + case "jobExpirationTime": if value != nil { jtv, ok := value.(string) @@ -4850,6 +4979,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobExpirationTime = ptr.Time(t) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -4858,6 +4988,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -4870,6 +5001,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.LastModifiedTime = ptr.Time(t) } + case "message": if value != nil { jtv, ok := value.(string) @@ -4878,6 +5010,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.Message = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -4886,10 +5019,12 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.ModelId = ptr.String(jtv) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4898,6 +5033,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4906,6 +5042,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.Status = types.ModelInvocationJobStatus(jtv) } + case "submitTime": if value != nil { jtv, ok := value.(string) @@ -4918,6 +5055,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.SubmitTime = ptr.Time(t) } + case "timeoutDurationInHours": if value != nil { jtv, ok := value.(json.Number) @@ -4930,10 +5068,12 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationJobOutput(v **GetModelI } sv.TimeoutDurationInHours = ptr.Int32(int32(i64)) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5091,6 +5231,7 @@ func awsRestjson1_deserializeOpDocumentGetModelInvocationLoggingConfigurationOut if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5258,6 +5399,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CommitmentDuration = types.CommitmentDuration(jtv) } + case "commitmentExpirationTime": if value != nil { jtv, ok := value.(string) @@ -5270,6 +5412,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CommitmentExpirationTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5282,6 +5425,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.CreationTime = ptr.Time(t) } + case "desiredModelArn": if value != nil { jtv, ok := value.(string) @@ -5290,6 +5434,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.DesiredModelArn = ptr.String(jtv) } + case "desiredModelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -5302,6 +5447,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.DesiredModelUnits = ptr.Int32(int32(i64)) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5310,6 +5456,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.FailureMessage = ptr.String(jtv) } + case "foundationModelArn": if value != nil { jtv, ok := value.(string) @@ -5318,6 +5465,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.FoundationModelArn = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -5330,6 +5478,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.LastModifiedTime = ptr.Time(t) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -5338,6 +5487,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ModelArn = ptr.String(jtv) } + case "modelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -5350,6 +5500,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ModelUnits = ptr.Int32(int32(i64)) } + case "provisionedModelArn": if value != nil { jtv, ok := value.(string) @@ -5358,6 +5509,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ProvisionedModelArn = ptr.String(jtv) } + case "provisionedModelName": if value != nil { jtv, ok := value.(string) @@ -5366,6 +5518,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.ProvisionedModelName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5374,6 +5527,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedModelThroughputOutput(v **G } sv.Status = types.ProvisionedModelStatus(jtv) } + default: _, _ = key, value @@ -5534,6 +5688,7 @@ func awsRestjson1_deserializeOpDocumentListCustomModelsOutput(v **ListCustomMode if err := awsRestjson1_deserializeDocumentCustomModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5542,6 +5697,7 @@ func awsRestjson1_deserializeOpDocumentListCustomModelsOutput(v **ListCustomMode } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5702,6 +5858,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationJobsOutput(v **ListEvaluati if err := awsRestjson1_deserializeDocumentEvaluationSummaries(&sv.JobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5710,6 +5867,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationJobsOutput(v **ListEvaluati } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5870,6 +6028,7 @@ func awsRestjson1_deserializeOpDocumentListFoundationModelsOutput(v **ListFounda if err := awsRestjson1_deserializeDocumentFoundationModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -6033,6 +6192,7 @@ func awsRestjson1_deserializeOpDocumentListGuardrailsOutput(v **ListGuardrailsOu if err := awsRestjson1_deserializeDocumentGuardrailSummaries(&sv.Guardrails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6041,6 +6201,7 @@ func awsRestjson1_deserializeOpDocumentListGuardrailsOutput(v **ListGuardrailsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6201,6 +6362,7 @@ func awsRestjson1_deserializeOpDocumentListImportedModelsOutput(v **ListImported if err := awsRestjson1_deserializeDocumentImportedModelSummaryList(&sv.ModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6209,6 +6371,7 @@ func awsRestjson1_deserializeOpDocumentListImportedModelsOutput(v **ListImported } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6369,6 +6532,7 @@ func awsRestjson1_deserializeOpDocumentListInferenceProfilesOutput(v **ListInfer if err := awsRestjson1_deserializeDocumentInferenceProfileSummaries(&sv.InferenceProfileSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6377,6 +6541,7 @@ func awsRestjson1_deserializeOpDocumentListInferenceProfilesOutput(v **ListInfer } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6540,6 +6705,7 @@ func awsRestjson1_deserializeOpDocumentListModelCopyJobsOutput(v **ListModelCopy if err := awsRestjson1_deserializeDocumentModelCopyJobSummaries(&sv.ModelCopyJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6548,6 +6714,7 @@ func awsRestjson1_deserializeOpDocumentListModelCopyJobsOutput(v **ListModelCopy } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6708,6 +6875,7 @@ func awsRestjson1_deserializeOpDocumentListModelCustomizationJobsOutput(v **List if err := awsRestjson1_deserializeDocumentModelCustomizationJobSummaries(&sv.ModelCustomizationJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6716,6 +6884,7 @@ func awsRestjson1_deserializeOpDocumentListModelCustomizationJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6876,6 +7045,7 @@ func awsRestjson1_deserializeOpDocumentListModelImportJobsOutput(v **ListModelIm if err := awsRestjson1_deserializeDocumentModelImportJobSummaries(&sv.ModelImportJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6884,6 +7054,7 @@ func awsRestjson1_deserializeOpDocumentListModelImportJobsOutput(v **ListModelIm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7044,6 +7215,7 @@ func awsRestjson1_deserializeOpDocumentListModelInvocationJobsOutput(v **ListMod if err := awsRestjson1_deserializeDocumentModelInvocationJobSummaries(&sv.InvocationJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7052,6 +7224,7 @@ func awsRestjson1_deserializeOpDocumentListModelInvocationJobsOutput(v **ListMod } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7216,10 +7389,12 @@ func awsRestjson1_deserializeOpDocumentListProvisionedModelThroughputsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "provisionedModelSummaries": if err := awsRestjson1_deserializeDocumentProvisionedModelSummaries(&sv.ProvisionedModelSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7383,6 +7558,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8165,6 +8341,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.GuardrailArn = ptr.String(jtv) } + case "guardrailId": if value != nil { jtv, ok := value.(string) @@ -8173,6 +8350,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.GuardrailId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8185,6 +8363,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -8193,6 +8372,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGuardrailOutput(v **UpdateGuardrail } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8620,6 +8800,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8655,6 +8836,7 @@ func awsRestjson1_deserializeDocumentAutomatedEvaluationConfig(v **types.Automat if err := awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfigs(&sv.DatasetMetricConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -8694,6 +8876,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.Code = ptr.String(jtv) } + case "jobIdentifier": if value != nil { jtv, ok := value.(string) @@ -8702,6 +8885,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.JobIdentifier = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -8710,6 +8894,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobError(v **types.Bat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8783,6 +8968,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItem(v **types.Batc } sv.JobIdentifier = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -8791,6 +8977,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteEvaluationJobItem(v **types.Batc } sv.JobStatus = types.EvaluationJobStatus(jtv) } + default: _, _ = key, value @@ -8860,6 +9047,7 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig if err := awsRestjson1_deserializeDocumentS3Config(&sv.LargeDataDeliveryS3Config, value); err != nil { return err } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -8868,6 +9056,7 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.LogGroupName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8876,6 +9065,7 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8915,6 +9105,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8954,6 +9145,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.BaseModelArn = ptr.String(jtv) } + case "baseModelName": if value != nil { jtv, ok := value.(string) @@ -8962,6 +9154,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.BaseModelName = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8974,6 +9167,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.CreationTime = ptr.Time(t) } + case "customizationType": if value != nil { jtv, ok := value.(string) @@ -8982,6 +9176,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.CustomizationType = types.CustomizationType(jtv) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -8990,6 +9185,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.ModelArn = ptr.String(jtv) } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -8998,6 +9194,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.ModelName = ptr.String(jtv) } + case "ownerAccountId": if value != nil { jtv, ok := value.(string) @@ -9006,6 +9203,7 @@ func awsRestjson1_deserializeDocumentCustomModelSummary(v **types.CustomModelSum } sv.OwnerAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -9115,6 +9313,7 @@ func awsRestjson1_deserializeDocumentEvaluationBedrockModel(v **types.Evaluation } sv.InferenceParams = ptr.String(jtv) } + case "modelIdentifier": if value != nil { jtv, ok := value.(string) @@ -9123,6 +9322,7 @@ func awsRestjson1_deserializeDocumentEvaluationBedrockModel(v **types.Evaluation } sv.ModelIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -9208,6 +9408,7 @@ func awsRestjson1_deserializeDocumentEvaluationDataset(v **types.EvaluationDatas if err := awsRestjson1_deserializeDocumentEvaluationDatasetLocation(&sv.DatasetLocation, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9216,6 +9417,7 @@ func awsRestjson1_deserializeDocumentEvaluationDataset(v **types.EvaluationDatas } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9293,10 +9495,12 @@ func awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfig(v **types.Eva if err := awsRestjson1_deserializeDocumentEvaluationDataset(&sv.Dataset, value); err != nil { return err } + case "metricNames": if err := awsRestjson1_deserializeDocumentEvaluationMetricNames(&sv.MetricNames, value); err != nil { return err } + case "taskType": if value != nil { jtv, ok := value.(string) @@ -9305,6 +9509,7 @@ func awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfig(v **types.Eva } sv.TaskType = types.EvaluationTaskType(jtv) } + default: _, _ = key, value @@ -9560,6 +9765,7 @@ func awsRestjson1_deserializeDocumentEvaluationOutputDataConfig(v **types.Evalua } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -9637,10 +9843,12 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.CreationTime = ptr.Time(t) } + case "evaluationTaskTypes": if err := awsRestjson1_deserializeDocumentEvaluationTaskTypes(&sv.EvaluationTaskTypes, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -9649,6 +9857,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -9657,6 +9866,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobName = ptr.String(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -9665,10 +9875,12 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.JobType = types.EvaluationJobType(jtv) } + case "modelIdentifiers": if err := awsRestjson1_deserializeDocumentEvaluationModelIdentifiers(&sv.ModelIdentifiers, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9677,6 +9889,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.Status = types.EvaluationJobStatus(jtv) } + default: _, _ = key, value @@ -9748,14 +9961,17 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation if err := awsRestjson1_deserializeDocumentModelCustomizationList(&sv.CustomizationsSupported, value); err != nil { return err } + case "inferenceTypesSupported": if err := awsRestjson1_deserializeDocumentInferenceTypeList(&sv.InferenceTypesSupported, value); err != nil { return err } + case "inputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.InputModalities, value); err != nil { return err } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -9764,6 +9980,7 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelArn = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -9772,10 +9989,12 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelId = ptr.String(jtv) } + case "modelLifecycle": if err := awsRestjson1_deserializeDocumentFoundationModelLifecycle(&sv.ModelLifecycle, value); err != nil { return err } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -9784,10 +10003,12 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ModelName = ptr.String(jtv) } + case "outputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.OutputModalities, value); err != nil { return err } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -9796,6 +10017,7 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ProviderName = ptr.String(jtv) } + case "responseStreamingSupported": if value != nil { jtv, ok := value.(bool) @@ -9804,6 +10026,7 @@ func awsRestjson1_deserializeDocumentFoundationModelDetails(v **types.Foundation } sv.ResponseStreamingSupported = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9843,6 +10066,7 @@ func awsRestjson1_deserializeDocumentFoundationModelLifecycle(v **types.Foundati } sv.Status = types.FoundationModelLifecycleStatus(jtv) } + default: _, _ = key, value @@ -9878,14 +10102,17 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation if err := awsRestjson1_deserializeDocumentModelCustomizationList(&sv.CustomizationsSupported, value); err != nil { return err } + case "inferenceTypesSupported": if err := awsRestjson1_deserializeDocumentInferenceTypeList(&sv.InferenceTypesSupported, value); err != nil { return err } + case "inputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.InputModalities, value); err != nil { return err } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -9894,6 +10121,7 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelArn = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -9902,10 +10130,12 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelId = ptr.String(jtv) } + case "modelLifecycle": if err := awsRestjson1_deserializeDocumentFoundationModelLifecycle(&sv.ModelLifecycle, value); err != nil { return err } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -9914,10 +10144,12 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ModelName = ptr.String(jtv) } + case "outputModalities": if err := awsRestjson1_deserializeDocumentModelModalityList(&sv.OutputModalities, value); err != nil { return err } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -9926,6 +10158,7 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ProviderName = ptr.String(jtv) } + case "responseStreamingSupported": if value != nil { jtv, ok := value.(bool) @@ -9934,6 +10167,7 @@ func awsRestjson1_deserializeDocumentFoundationModelSummary(v **types.Foundation } sv.ResponseStreamingSupported = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10007,6 +10241,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.InputStrength = types.GuardrailFilterStrength(jtv) } + case "outputStrength": if value != nil { jtv, ok := value.(string) @@ -10015,6 +10250,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.OutputStrength = types.GuardrailFilterStrength(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10023,6 +10259,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } + default: _, _ = key, value @@ -10092,6 +10329,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicy(v **types.GuardrailC if err := awsRestjson1_deserializeDocumentGuardrailContentFilters(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -10156,6 +10394,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } + case "type": if value != nil { jtv, ok := value.(string) @@ -10164,6 +10403,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Type = types.GuardrailContextualGroundingFilterType(jtv) } + default: _, _ = key, value @@ -10233,6 +10473,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicy(v **type if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilters(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -10342,6 +10583,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWords(v **types.GuardrailMa } sv.Type = types.GuardrailManagedWordsType(jtv) } + default: _, _ = key, value @@ -10415,6 +10657,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntity(v **types.GuardrailPiiEn } sv.Action = types.GuardrailSensitiveInformationAction(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10423,6 +10666,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntity(v **types.GuardrailPiiEn } sv.Type = types.GuardrailPiiEntityType(jtv) } + default: _, _ = key, value @@ -10462,6 +10706,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Action = types.GuardrailSensitiveInformationAction(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10470,6 +10715,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10478,6 +10724,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Name = ptr.String(jtv) } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -10486,6 +10733,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegex(v **types.GuardrailRegex, va } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -10555,10 +10803,12 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicy(v **typ if err := awsRestjson1_deserializeDocumentGuardrailPiiEntities(&sv.PiiEntities, value); err != nil { return err } + case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexes(&sv.Regexes, value); err != nil { return err } + default: _, _ = key, value @@ -10668,6 +10918,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10680,6 +10931,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10688,6 +10940,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10696,6 +10949,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10704,6 +10958,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10712,6 +10967,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Status = types.GuardrailStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10724,6 +10980,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10732,6 +10989,7 @@ func awsRestjson1_deserializeDocumentGuardrailSummary(v **types.GuardrailSummary } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10771,10 +11029,12 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Definition = ptr.String(jtv) } + case "examples": if err := awsRestjson1_deserializeDocumentGuardrailTopicExamples(&sv.Examples, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10783,6 +11043,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10791,6 +11052,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } + default: _, _ = key, value @@ -10862,6 +11124,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicy(v **types.GuardrailTop if err := awsRestjson1_deserializeDocumentGuardrailTopics(&sv.Topics, value); err != nil { return err } + default: _, _ = key, value @@ -10935,6 +11198,7 @@ func awsRestjson1_deserializeDocumentGuardrailWord(v **types.GuardrailWord, valu } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -10970,10 +11234,12 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicy(v **types.GuardrailWord if err := awsRestjson1_deserializeDocumentGuardrailManagedWordLists(&sv.ManagedWordLists, value); err != nil { return err } + case "words": if err := awsRestjson1_deserializeDocumentGuardrailWords(&sv.Words, value); err != nil { return err } + default: _, _ = key, value @@ -11043,14 +11309,17 @@ func awsRestjson1_deserializeDocumentHumanEvaluationConfig(v **types.HumanEvalua if err := awsRestjson1_deserializeDocumentHumanEvaluationCustomMetrics(&sv.CustomMetrics, value); err != nil { return err } + case "datasetMetricConfigs": if err := awsRestjson1_deserializeDocumentEvaluationDatasetMetricConfigs(&sv.DatasetMetricConfigs, value); err != nil { return err } + case "humanWorkflowConfig": if err := awsRestjson1_deserializeDocumentHumanWorkflowConfig(&sv.HumanWorkflowConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11090,6 +11359,7 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11098,6 +11368,7 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.Name = ptr.String(jtv) } + case "ratingMethod": if value != nil { jtv, ok := value.(string) @@ -11106,6 +11377,7 @@ func awsRestjson1_deserializeDocumentHumanEvaluationCustomMetric(v **types.Human } sv.RatingMethod = ptr.String(jtv) } + default: _, _ = key, value @@ -11179,6 +11451,7 @@ func awsRestjson1_deserializeDocumentHumanWorkflowConfig(v **types.HumanWorkflow } sv.FlowDefinitionArn = ptr.String(jtv) } + case "instructions": if value != nil { jtv, ok := value.(string) @@ -11187,6 +11460,7 @@ func awsRestjson1_deserializeDocumentHumanWorkflowConfig(v **types.HumanWorkflow } sv.Instructions = ptr.String(jtv) } + default: _, _ = key, value @@ -11230,6 +11504,7 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.CreationTime = ptr.Time(t) } + case "instructSupported": if value != nil { jtv, ok := value.(bool) @@ -11238,6 +11513,7 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.InstructSupported = ptr.Bool(jtv) } + case "modelArchitecture": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11522,7 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelArchitecture = ptr.String(jtv) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11531,7 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelArn = ptr.String(jtv) } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -11262,6 +11540,7 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode } sv.ModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -11335,6 +11614,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileModel(v **types.InferencePr } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11446,6 +11726,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11454,6 +11735,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Description = ptr.String(jtv) } + case "inferenceProfileArn": if value != nil { jtv, ok := value.(string) @@ -11462,6 +11744,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileArn = ptr.String(jtv) } + case "inferenceProfileId": if value != nil { jtv, ok := value.(string) @@ -11470,6 +11753,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileId = ptr.String(jtv) } + case "inferenceProfileName": if value != nil { jtv, ok := value.(string) @@ -11478,10 +11762,12 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.InferenceProfileName = ptr.String(jtv) } + case "models": if err := awsRestjson1_deserializeDocumentInferenceProfileModels(&sv.Models, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11490,6 +11776,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Status = types.InferenceProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11498,6 +11785,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.Type = types.InferenceProfileType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11510,6 +11798,7 @@ func awsRestjson1_deserializeDocumentInferenceProfileSummary(v **types.Inference } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11585,6 +11874,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11620,6 +11910,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu if err := awsRestjson1_deserializeDocumentCloudWatchConfig(&sv.CloudWatchConfig, value); err != nil { return err } + case "embeddingDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11628,6 +11919,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.EmbeddingDataDeliveryEnabled = ptr.Bool(jtv) } + case "imageDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11636,10 +11928,12 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.ImageDataDeliveryEnabled = ptr.Bool(jtv) } + case "s3Config": if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + case "textDataDeliveryEnabled": if value != nil { jtv, ok := value.(bool) @@ -11648,6 +11942,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.TextDataDeliveryEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11725,6 +12020,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.CreationTime = ptr.Time(t) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -11733,6 +12029,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.FailureMessage = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -11741,6 +12038,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.JobArn = ptr.String(jtv) } + case "sourceAccountId": if value != nil { jtv, ok := value.(string) @@ -11749,6 +12047,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceAccountId = ptr.String(jtv) } + case "sourceModelArn": if value != nil { jtv, ok := value.(string) @@ -11757,6 +12056,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceModelArn = ptr.String(jtv) } + case "sourceModelName": if value != nil { jtv, ok := value.(string) @@ -11765,6 +12065,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.SourceModelName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11773,6 +12074,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.Status = types.ModelCopyJobStatus(jtv) } + case "targetModelArn": if value != nil { jtv, ok := value.(string) @@ -11781,6 +12083,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelArn = ptr.String(jtv) } + case "targetModelKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -11789,6 +12092,7 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelKmsKeyArn = ptr.String(jtv) } + case "targetModelName": if value != nil { jtv, ok := value.(string) @@ -11797,10 +12101,12 @@ func awsRestjson1_deserializeDocumentModelCopyJobSummary(v **types.ModelCopyJobS } sv.TargetModelName = ptr.String(jtv) } + case "targetModelTags": if err := awsRestjson1_deserializeDocumentTagList(&sv.TargetModelTags, value); err != nil { return err } + default: _, _ = key, value @@ -11910,6 +12216,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.BaseModelArn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11922,6 +12229,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CreationTime = ptr.Time(t) } + case "customizationType": if value != nil { jtv, ok := value.(string) @@ -11930,6 +12238,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomizationType = types.CustomizationType(jtv) } + case "customModelArn": if value != nil { jtv, ok := value.(string) @@ -11938,6 +12247,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomModelArn = ptr.String(jtv) } + case "customModelName": if value != nil { jtv, ok := value.(string) @@ -11946,6 +12256,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.CustomModelName = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -11958,6 +12269,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.EndTime = ptr.Time(t) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -11966,6 +12278,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -11974,6 +12287,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -11986,6 +12300,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.LastModifiedTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11994,6 +12309,7 @@ func awsRestjson1_deserializeDocumentModelCustomizationJobSummary(v **types.Mode } sv.Status = types.ModelCustomizationJobStatus(jtv) } + default: _, _ = key, value @@ -12147,6 +12463,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.CreationTime = ptr.Time(t) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -12159,6 +12476,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.EndTime = ptr.Time(t) } + case "importedModelArn": if value != nil { jtv, ok := value.(string) @@ -12167,6 +12485,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.ImportedModelArn = ptr.String(jtv) } + case "importedModelName": if value != nil { jtv, ok := value.(string) @@ -12175,6 +12494,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.ImportedModelName = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12183,6 +12503,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -12191,6 +12512,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12203,6 +12525,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.LastModifiedTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12211,6 +12534,7 @@ func awsRestjson1_deserializeDocumentModelImportJobSummary(v **types.ModelImport } sv.Status = types.ModelImportJobStatus(jtv) } + default: _, _ = key, value @@ -12330,6 +12654,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3BucketOwner = ptr.String(jtv) } + case "s3InputFormat": if value != nil { jtv, ok := value.(string) @@ -12338,6 +12663,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3InputFormat = types.S3InputFormat(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -12346,6 +12672,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3InputDataConfig(v **typ } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -12385,6 +12712,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3BucketOwner = ptr.String(jtv) } + case "s3EncryptionKeyId": if value != nil { jtv, ok := value.(string) @@ -12393,6 +12721,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3EncryptionKeyId = ptr.String(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -12401,6 +12730,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobS3OutputDataConfig(v **ty } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -12474,6 +12804,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.ClientRequestToken = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -12486,10 +12817,12 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.EndTime = ptr.Time(t) } + case "inputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -12498,6 +12831,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobArn = ptr.String(jtv) } + case "jobExpirationTime": if value != nil { jtv, ok := value.(string) @@ -12510,6 +12844,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobExpirationTime = ptr.Time(t) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -12518,6 +12853,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.JobName = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12530,6 +12866,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.LastModifiedTime = ptr.Time(t) } + case "message": if value != nil { jtv, ok := value.(string) @@ -12538,6 +12875,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.Message = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -12546,10 +12884,12 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.ModelId = ptr.String(jtv) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentModelInvocationJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12558,6 +12898,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12566,6 +12907,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.Status = types.ModelInvocationJobStatus(jtv) } + case "submitTime": if value != nil { jtv, ok := value.(string) @@ -12578,6 +12920,7 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.SubmitTime = ptr.Time(t) } + case "timeoutDurationInHours": if value != nil { jtv, ok := value.(json.Number) @@ -12590,10 +12933,12 @@ func awsRestjson1_deserializeDocumentModelInvocationJobSummary(v **types.ModelIn } sv.TimeoutDurationInHours = ptr.Int32(int32(i64)) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12669,6 +13014,7 @@ func awsRestjson1_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -12742,6 +13088,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CommitmentDuration = types.CommitmentDuration(jtv) } + case "commitmentExpirationTime": if value != nil { jtv, ok := value.(string) @@ -12754,6 +13101,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CommitmentExpirationTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -12766,6 +13114,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.CreationTime = ptr.Time(t) } + case "desiredModelArn": if value != nil { jtv, ok := value.(string) @@ -12774,6 +13123,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.DesiredModelArn = ptr.String(jtv) } + case "desiredModelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -12786,6 +13136,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.DesiredModelUnits = ptr.Int32(int32(i64)) } + case "foundationModelArn": if value != nil { jtv, ok := value.(string) @@ -12794,6 +13145,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.FoundationModelArn = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -12806,6 +13158,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.LastModifiedTime = ptr.Time(t) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -12814,6 +13167,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ModelArn = ptr.String(jtv) } + case "modelUnits": if value != nil { jtv, ok := value.(json.Number) @@ -12826,6 +13180,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ModelUnits = ptr.Int32(int32(i64)) } + case "provisionedModelArn": if value != nil { jtv, ok := value.(string) @@ -12834,6 +13189,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ProvisionedModelArn = ptr.String(jtv) } + case "provisionedModelName": if value != nil { jtv, ok := value.(string) @@ -12842,6 +13198,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.ProvisionedModelName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12850,6 +13207,7 @@ func awsRestjson1_deserializeDocumentProvisionedModelSummary(v **types.Provision } sv.Status = types.ProvisionedModelStatus(jtv) } + default: _, _ = key, value @@ -12889,6 +13247,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12928,6 +13287,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -12936,6 +13296,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -12975,6 +13336,7 @@ func awsRestjson1_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -13050,6 +13412,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13125,6 +13488,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -13133,6 +13497,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13206,6 +13571,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13245,6 +13611,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -13253,6 +13620,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -13292,6 +13660,7 @@ func awsRestjson1_deserializeDocumentTrainingDataConfig(v **types.TrainingDataCo } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -13356,6 +13725,7 @@ func awsRestjson1_deserializeDocumentTrainingMetrics(v **types.TrainingMetrics, } } + default: _, _ = key, value @@ -13391,6 +13761,7 @@ func awsRestjson1_deserializeDocumentValidationDataConfig(v **types.ValidationDa if err := awsRestjson1_deserializeDocumentValidators(&sv.Validators, value); err != nil { return err } + default: _, _ = key, value @@ -13430,6 +13801,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13503,6 +13875,7 @@ func awsRestjson1_deserializeDocumentValidator(v **types.Validator, value interf } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -13567,6 +13940,7 @@ func awsRestjson1_deserializeDocumentValidatorMetric(v **types.ValidatorMetric, } } + default: _, _ = key, value @@ -13636,10 +14010,12 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/bedrockagent/deserializers.go b/service/bedrockagent/deserializers.go index de0e33b06eb..068ead98656 100644 --- a/service/bedrockagent/deserializers.go +++ b/service/bedrockagent/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAgentKnowledgeBaseOutput(v **Ass if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -358,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentCreateAgentOutput(v **CreateAgentOutput, if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } + default: _, _ = key, value @@ -527,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentCreateAgentActionGroupOutput(v **CreateAg if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -696,6 +699,7 @@ func awsRestjson1_deserializeOpDocumentCreateAgentAliasOutput(v **CreateAgentAli if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } + default: _, _ = key, value @@ -865,6 +869,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -1035,6 +1040,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1047,6 +1053,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1055,10 +1062,12 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -1067,6 +1076,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Description = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1075,6 +1085,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.ExecutionRoleArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1083,6 +1094,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1091,6 +1103,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1099,6 +1112,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Status = types.FlowStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1111,6 +1125,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -1119,6 +1134,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1292,6 +1308,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1304,6 +1321,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1312,6 +1330,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Description = ptr.String(jtv) } + case "flowId": if value != nil { jtv, ok := value.(string) @@ -1320,6 +1339,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.FlowId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1328,6 +1348,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1336,10 +1357,12 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.Name = ptr.String(jtv) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1352,6 +1375,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowAliasOutput(v **CreateFlowAlias } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -1525,6 +1549,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1537,6 +1562,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1545,10 +1571,12 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -1557,6 +1585,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Description = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1565,6 +1594,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.ExecutionRoleArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1573,6 +1603,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1581,6 +1612,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1589,6 +1621,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Status = types.FlowStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -1597,6 +1630,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowVersionOutput(v **CreateFlowVer } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1763,6 +1797,7 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -1933,6 +1968,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1945,6 +1981,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1953,6 +1990,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -1961,6 +1999,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.DefaultVariant = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1969,6 +2008,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1977,6 +2017,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1985,6 +2026,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1997,10 +2039,12 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.UpdatedAt = ptr.Time(t) } + case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2009,6 +2053,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2182,6 +2227,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2194,6 +2240,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -2202,6 +2249,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -2210,6 +2258,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.DefaultVariant = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2218,6 +2267,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2226,6 +2276,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2234,6 +2285,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -2246,10 +2298,12 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.UpdatedAt = ptr.Time(t) } + case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2258,6 +2312,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptVersionOutput(v **CreatePromp } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2428,6 +2483,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentOutput(v **DeleteAgentOutput, } sv.AgentId = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -2436,6 +2492,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentOutput(v **DeleteAgentOutput, } sv.AgentStatus = types.AgentStatus(jtv) } + default: _, _ = key, value @@ -2706,6 +2763,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentAliasId = ptr.String(jtv) } + case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -2714,6 +2772,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -2722,6 +2781,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentAliasOutput(v **DeleteAgentAli } sv.AgentId = ptr.String(jtv) } + default: _, _ = key, value @@ -2892,6 +2952,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentId = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -2900,6 +2961,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentStatus = types.AgentStatus(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -2908,6 +2970,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAgentVersionOutput(v **DeleteAgentV } sv.AgentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3078,6 +3141,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -3086,6 +3150,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.KnowledgeBaseId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3094,6 +3159,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -3264,6 +3330,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3434,6 +3501,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowAliasOutput(v **DeleteFlowAlias } sv.FlowId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3442,6 +3510,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowAliasOutput(v **DeleteFlowAlias } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3612,6 +3681,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowVersionOutput(v **DeleteFlowVer } sv.Id = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3620,6 +3690,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowVersionOutput(v **DeleteFlowVer } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3790,6 +3861,7 @@ func awsRestjson1_deserializeOpDocumentDeleteKnowledgeBaseOutput(v **DeleteKnowl } sv.KnowledgeBaseId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3798,6 +3870,7 @@ func awsRestjson1_deserializeOpDocumentDeleteKnowledgeBaseOutput(v **DeleteKnowl } sv.Status = types.KnowledgeBaseStatus(jtv) } + default: _, _ = key, value @@ -3968,6 +4041,7 @@ func awsRestjson1_deserializeOpDocumentDeletePromptOutput(v **DeletePromptOutput } sv.Id = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3976,6 +4050,7 @@ func awsRestjson1_deserializeOpDocumentDeletePromptOutput(v **DeletePromptOutput } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4242,6 +4317,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentOutput(v **GetAgentOutput, value if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } + default: _, _ = key, value @@ -4405,6 +4481,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentActionGroupOutput(v **GetAgentAct if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -4568,6 +4645,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentAliasOutput(v **GetAgentAliasOutp if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } + default: _, _ = key, value @@ -4731,6 +4809,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentKnowledgeBaseOutput(v **GetAgentK if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -4894,6 +4973,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentVersionOutput(v **GetAgentVersion if err := awsRestjson1_deserializeDocumentAgentVersion(&sv.AgentVersion, value); err != nil { return err } + default: _, _ = key, value @@ -5057,6 +5137,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -5224,6 +5305,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5236,6 +5318,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -5244,10 +5327,12 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5256,6 +5341,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Description = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5350,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.ExecutionRoleArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5272,6 +5359,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5280,6 +5368,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5288,6 +5377,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Status = types.FlowStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5300,10 +5390,12 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.UpdatedAt = ptr.Time(t) } + case "validations": if err := awsRestjson1_deserializeDocumentFlowValidations(&sv.Validations, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -5312,6 +5404,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowOutput(v **GetFlowOutput, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5479,6 +5572,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5491,6 +5585,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5499,6 +5594,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Description = ptr.String(jtv) } + case "flowId": if value != nil { jtv, ok := value.(string) @@ -5507,6 +5603,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.FlowId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5612,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5523,10 +5621,12 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.Name = ptr.String(jtv) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5539,6 +5639,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAliasOutput(v **GetFlowAliasOutput } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5706,6 +5807,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5718,6 +5820,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -5726,10 +5829,12 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5738,6 +5843,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Description = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5746,6 +5852,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.ExecutionRoleArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5754,6 +5861,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5762,6 +5870,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5770,6 +5879,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Status = types.FlowStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5778,6 +5888,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowVersionOutput(v **GetFlowVersionOu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5941,6 +6052,7 @@ func awsRestjson1_deserializeOpDocumentGetIngestionJobOutput(v **GetIngestionJob if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } + default: _, _ = key, value @@ -6104,6 +6216,7 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -6271,6 +6384,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6397,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6406,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -6299,6 +6415,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.DefaultVariant = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6307,6 +6424,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6315,6 +6433,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6323,6 +6442,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6335,10 +6455,12 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.UpdatedAt = ptr.Time(t) } + case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6469,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptOutput(v **GetPromptOutput, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6510,6 +6633,7 @@ func awsRestjson1_deserializeOpDocumentListAgentActionGroupsOutput(v **ListAgent if err := awsRestjson1_deserializeDocumentActionGroupSummaries(&sv.ActionGroupSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6518,6 +6642,7 @@ func awsRestjson1_deserializeOpDocumentListAgentActionGroupsOutput(v **ListAgent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6681,6 +6806,7 @@ func awsRestjson1_deserializeOpDocumentListAgentAliasesOutput(v **ListAgentAlias if err := awsRestjson1_deserializeDocumentAgentAliasSummaries(&sv.AgentAliasSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6689,6 +6815,7 @@ func awsRestjson1_deserializeOpDocumentListAgentAliasesOutput(v **ListAgentAlias } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6852,6 +6979,7 @@ func awsRestjson1_deserializeOpDocumentListAgentKnowledgeBasesOutput(v **ListAge if err := awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummaries(&sv.AgentKnowledgeBaseSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6860,6 +6988,7 @@ func awsRestjson1_deserializeOpDocumentListAgentKnowledgeBasesOutput(v **ListAge } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7020,6 +7149,7 @@ func awsRestjson1_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va if err := awsRestjson1_deserializeDocumentAgentSummaries(&sv.AgentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7028,6 +7158,7 @@ func awsRestjson1_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7191,6 +7322,7 @@ func awsRestjson1_deserializeOpDocumentListAgentVersionsOutput(v **ListAgentVers if err := awsRestjson1_deserializeDocumentAgentVersionSummaries(&sv.AgentVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7199,6 +7331,7 @@ func awsRestjson1_deserializeOpDocumentListAgentVersionsOutput(v **ListAgentVers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7362,6 +7495,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceSummaries(&sv.DataSourceSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7370,6 +7504,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7533,6 +7668,7 @@ func awsRestjson1_deserializeOpDocumentListFlowAliasesOutput(v **ListFlowAliases if err := awsRestjson1_deserializeDocumentFlowAliasSummaries(&sv.FlowAliasSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7541,6 +7677,7 @@ func awsRestjson1_deserializeOpDocumentListFlowAliasesOutput(v **ListFlowAliases } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7701,6 +7838,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocumentFlowSummaries(&sv.FlowSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7709,6 +7847,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7872,6 +8011,7 @@ func awsRestjson1_deserializeOpDocumentListFlowVersionsOutput(v **ListFlowVersio if err := awsRestjson1_deserializeDocumentFlowVersionSummaries(&sv.FlowVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7880,6 +8020,7 @@ func awsRestjson1_deserializeOpDocumentListFlowVersionsOutput(v **ListFlowVersio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8043,6 +8184,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionJobsOutput(v **ListIngestion if err := awsRestjson1_deserializeDocumentIngestionJobSummaries(&sv.IngestionJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8051,6 +8193,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionJobsOutput(v **ListIngestion } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8211,6 +8354,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseSummaries(&sv.KnowledgeBaseSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8219,6 +8363,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8386,10 +8531,12 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, } sv.NextToken = ptr.String(jtv) } + case "promptSummaries": if err := awsRestjson1_deserializeDocumentPromptSummaries(&sv.PromptSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8553,6 +8700,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8726,6 +8874,7 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentId = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -8734,6 +8883,7 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentStatus = types.AgentStatus(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -8742,6 +8892,7 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.AgentVersion = ptr.String(jtv) } + case "preparedAt": if value != nil { jtv, ok := value.(string) @@ -8754,6 +8905,7 @@ func awsRestjson1_deserializeOpDocumentPrepareAgentOutput(v **PrepareAgentOutput } sv.PreparedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8927,6 +9079,7 @@ func awsRestjson1_deserializeOpDocumentPrepareFlowOutput(v **PrepareFlowOutput, } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8935,6 +9088,7 @@ func awsRestjson1_deserializeOpDocumentPrepareFlowOutput(v **PrepareFlowOutput, } sv.Status = types.FlowStatus(jtv) } + default: _, _ = key, value @@ -9104,6 +9258,7 @@ func awsRestjson1_deserializeOpDocumentStartIngestionJobOutput(v **StartIngestio if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } + default: _, _ = key, value @@ -9270,6 +9425,7 @@ func awsRestjson1_deserializeOpDocumentStopIngestionJobOutput(v **StopIngestionJ if err := awsRestjson1_deserializeDocumentIngestionJob(&sv.IngestionJob, value); err != nil { return err } + default: _, _ = key, value @@ -9642,6 +9798,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentOutput(v **UpdateAgentOutput, if err := awsRestjson1_deserializeDocumentAgent(&sv.Agent, value); err != nil { return err } + default: _, _ = key, value @@ -9811,6 +9968,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentActionGroupOutput(v **UpdateAg if err := awsRestjson1_deserializeDocumentAgentActionGroup(&sv.AgentActionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -9980,6 +10138,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentAliasOutput(v **UpdateAgentAli if err := awsRestjson1_deserializeDocumentAgentAlias(&sv.AgentAlias, value); err != nil { return err } + default: _, _ = key, value @@ -10146,6 +10305,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentKnowledgeBaseOutput(v **Update if err := awsRestjson1_deserializeDocumentAgentKnowledgeBase(&sv.AgentKnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -10312,6 +10472,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -10485,6 +10646,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10497,6 +10659,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -10505,10 +10668,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentFlowDefinition(&sv.Definition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10517,6 +10682,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Description = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -10525,6 +10691,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.ExecutionRoleArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10533,6 +10700,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10541,6 +10709,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10549,6 +10718,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Status = types.FlowStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10561,6 +10731,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10569,6 +10740,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10742,6 +10914,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10754,6 +10927,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10762,6 +10936,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Description = ptr.String(jtv) } + case "flowId": if value != nil { jtv, ok := value.(string) @@ -10770,6 +10945,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.FlowId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10778,6 +10954,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10786,10 +10963,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.Name = ptr.String(jtv) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -10802,6 +10981,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowAliasOutput(v **UpdateFlowAlias } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -10968,6 +11148,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseOutput(v **UpdateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBase(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -11141,6 +11322,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11153,6 +11335,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11161,6 +11344,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "defaultVariant": if value != nil { jtv, ok := value.(string) @@ -11169,6 +11353,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.DefaultVariant = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11177,6 +11362,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11185,6 +11371,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11193,6 +11380,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11205,10 +11393,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.UpdatedAt = ptr.Time(t) } + case "variants": if err := awsRestjson1_deserializeDocumentPromptVariantList(&sv.Variants, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -11217,6 +11407,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11508,6 +11699,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11635,6 +11827,7 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupId = ptr.String(jtv) } + case "actionGroupName": if value != nil { jtv, ok := value.(string) @@ -11643,6 +11836,7 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupName = ptr.String(jtv) } + case "actionGroupState": if value != nil { jtv, ok := value.(string) @@ -11651,6 +11845,7 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.ActionGroupState = types.ActionGroupState(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11659,6 +11854,7 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.Description = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11671,6 +11867,7 @@ func awsRestjson1_deserializeDocumentActionGroupSummary(v **types.ActionGroupSum } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11710,6 +11907,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentArn = ptr.String(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -11718,6 +11916,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentId = ptr.String(jtv) } + case "agentName": if value != nil { jtv, ok := value.(string) @@ -11726,6 +11925,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentName = ptr.String(jtv) } + case "agentResourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11734,6 +11934,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentResourceRoleArn = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -11742,6 +11943,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentStatus = types.AgentStatus(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -11750,6 +11952,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.AgentVersion = ptr.String(jtv) } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -11758,6 +11961,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.ClientToken = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11770,6 +11974,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11778,6 +11983,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11786,10 +11992,12 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "foundationModel": if value != nil { jtv, ok := value.(string) @@ -11798,10 +12006,12 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.FoundationModel = ptr.String(jtv) } + case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11814,6 +12024,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "instruction": if value != nil { jtv, ok := value.(string) @@ -11822,10 +12033,12 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.Instruction = ptr.String(jtv) } + case "memoryConfiguration": if err := awsRestjson1_deserializeDocumentMemoryConfiguration(&sv.MemoryConfiguration, value); err != nil { return err } + case "preparedAt": if value != nil { jtv, ok := value.(string) @@ -11838,14 +12051,17 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.PreparedAt = ptr.Time(t) } + case "promptOverrideConfiguration": if err := awsRestjson1_deserializeDocumentPromptOverrideConfiguration(&sv.PromptOverrideConfiguration, value); err != nil { return err } + case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11858,6 +12074,7 @@ func awsRestjson1_deserializeDocumentAgent(v **types.Agent, value interface{}) e } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11893,6 +12110,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup if err := awsRestjson1_deserializeDocumentActionGroupExecutor(&sv.ActionGroupExecutor, value); err != nil { return err } + case "actionGroupId": if value != nil { jtv, ok := value.(string) @@ -11901,6 +12119,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupId = ptr.String(jtv) } + case "actionGroupName": if value != nil { jtv, ok := value.(string) @@ -11909,6 +12128,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupName = ptr.String(jtv) } + case "actionGroupState": if value != nil { jtv, ok := value.(string) @@ -11917,6 +12137,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ActionGroupState = types.ActionGroupState(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -11925,6 +12146,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.AgentId = ptr.String(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -11933,10 +12155,12 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.AgentVersion = ptr.String(jtv) } + case "apiSchema": if err := awsRestjson1_deserializeDocumentAPISchema(&sv.ApiSchema, value); err != nil { return err } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -11945,6 +12169,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ClientToken = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11957,6 +12182,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11965,10 +12191,12 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.Description = ptr.String(jtv) } + case "functionSchema": if err := awsRestjson1_deserializeDocumentFunctionSchema(&sv.FunctionSchema, value); err != nil { return err } + case "parentActionSignature": if value != nil { jtv, ok := value.(string) @@ -11977,6 +12205,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.ParentActionSignature = types.ActionGroupSignature(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11989,6 +12218,7 @@ func awsRestjson1_deserializeDocumentAgentActionGroup(v **types.AgentActionGroup } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12028,10 +12258,12 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasArn = ptr.String(jtv) } + case "agentAliasHistoryEvents": if err := awsRestjson1_deserializeDocumentAgentAliasHistoryEvents(&sv.AgentAliasHistoryEvents, value); err != nil { return err } + case "agentAliasId": if value != nil { jtv, ok := value.(string) @@ -12040,6 +12272,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasId = ptr.String(jtv) } + case "agentAliasName": if value != nil { jtv, ok := value.(string) @@ -12048,6 +12281,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasName = ptr.String(jtv) } + case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -12056,6 +12290,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -12064,6 +12299,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.AgentId = ptr.String(jtv) } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -12072,6 +12308,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.ClientToken = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12084,6 +12321,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12092,14 +12330,17 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12112,6 +12353,7 @@ func awsRestjson1_deserializeDocumentAgentAlias(v **types.AgentAlias, value inte } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12155,10 +12397,12 @@ func awsRestjson1_deserializeDocumentAgentAliasHistoryEvent(v **types.AgentAlias } sv.EndDate = ptr.Time(t) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "startDate": if value != nil { jtv, ok := value.(string) @@ -12171,6 +12415,7 @@ func awsRestjson1_deserializeDocumentAgentAliasHistoryEvent(v **types.AgentAlias } sv.StartDate = ptr.Time(t) } + default: _, _ = key, value @@ -12278,6 +12523,7 @@ func awsRestjson1_deserializeDocumentAgentAliasRoutingConfigurationListItem(v ** } sv.AgentVersion = ptr.String(jtv) } + case "provisionedThroughput": if value != nil { jtv, ok := value.(string) @@ -12286,6 +12532,7 @@ func awsRestjson1_deserializeDocumentAgentAliasRoutingConfigurationListItem(v ** } sv.ProvisionedThroughput = ptr.String(jtv) } + default: _, _ = key, value @@ -12359,6 +12606,7 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasId = ptr.String(jtv) } + case "agentAliasName": if value != nil { jtv, ok := value.(string) @@ -12367,6 +12615,7 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasName = ptr.String(jtv) } + case "agentAliasStatus": if value != nil { jtv, ok := value.(string) @@ -12375,6 +12624,7 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.AgentAliasStatus = types.AgentAliasStatus(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12387,6 +12637,7 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12395,10 +12646,12 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.Description = ptr.String(jtv) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentAgentAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12411,6 +12664,7 @@ func awsRestjson1_deserializeDocumentAgentAliasSummary(v **types.AgentAliasSumma } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12450,6 +12704,7 @@ func awsRestjson1_deserializeDocumentAgentFlowNodeConfiguration(v **types.AgentF } sv.AgentAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12489,6 +12744,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.AgentId = ptr.String(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -12497,6 +12753,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.AgentVersion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12509,6 +12766,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12517,6 +12775,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.Description = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12525,6 +12784,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseState": if value != nil { jtv, ok := value.(string) @@ -12533,6 +12793,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.KnowledgeBaseState = types.KnowledgeBaseState(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12545,6 +12806,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBase(v **types.AgentKnowledge } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12618,6 +12880,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.Description = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12626,6 +12889,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseState": if value != nil { jtv, ok := value.(string) @@ -12634,6 +12898,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.KnowledgeBaseState = types.KnowledgeBaseState(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12646,6 +12911,7 @@ func awsRestjson1_deserializeDocumentAgentKnowledgeBaseSummary(v **types.AgentKn } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12719,6 +12985,7 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentId = ptr.String(jtv) } + case "agentName": if value != nil { jtv, ok := value.(string) @@ -12727,6 +12994,7 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentName = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -12735,6 +13003,7 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.AgentStatus = types.AgentStatus(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12743,10 +13012,12 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.Description = ptr.String(jtv) } + case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } + case "latestAgentVersion": if value != nil { jtv, ok := value.(string) @@ -12755,6 +13026,7 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.LatestAgentVersion = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12767,6 +13039,7 @@ func awsRestjson1_deserializeDocumentAgentSummary(v **types.AgentSummary, value } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -12806,6 +13079,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentArn = ptr.String(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -12814,6 +13088,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentId = ptr.String(jtv) } + case "agentName": if value != nil { jtv, ok := value.(string) @@ -12822,6 +13097,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentName = ptr.String(jtv) } + case "agentResourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -12830,6 +13106,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentResourceRoleArn = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -12838,6 +13115,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentStatus = types.AgentStatus(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12850,6 +13128,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.CreatedAt = ptr.Time(t) } + case "customerEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -12858,6 +13137,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.CustomerEncryptionKeyArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12866,10 +13146,12 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "foundationModel": if value != nil { jtv, ok := value.(string) @@ -12878,10 +13160,12 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.FoundationModel = ptr.String(jtv) } + case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12894,6 +13178,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "instruction": if value != nil { jtv, ok := value.(string) @@ -12902,18 +13187,22 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Instruction = ptr.String(jtv) } + case "memoryConfiguration": if err := awsRestjson1_deserializeDocumentMemoryConfiguration(&sv.MemoryConfiguration, value); err != nil { return err } + case "promptOverrideConfiguration": if err := awsRestjson1_deserializeDocumentPromptOverrideConfiguration(&sv.PromptOverrideConfiguration, value); err != nil { return err } + case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12926,6 +13215,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12934,6 +13224,7 @@ func awsRestjson1_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13007,6 +13298,7 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentName = ptr.String(jtv) } + case "agentStatus": if value != nil { jtv, ok := value.(string) @@ -13015,6 +13307,7 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentStatus = types.AgentStatus(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -13023,6 +13316,7 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.AgentVersion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -13035,6 +13329,7 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13043,10 +13338,12 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.Description = ptr.String(jtv) } + case "guardrailConfiguration": if err := awsRestjson1_deserializeDocumentGuardrailConfiguration(&sv.GuardrailConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13059,6 +13356,7 @@ func awsRestjson1_deserializeDocumentAgentVersionSummary(v **types.AgentVersionS } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -13154,6 +13452,7 @@ func awsRestjson1_deserializeDocumentBedrockEmbeddingModelConfiguration(v **type } sv.Dimensions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13193,10 +13492,12 @@ func awsRestjson1_deserializeDocumentBedrockFoundationModelConfiguration(v **typ } sv.ModelArn = ptr.String(jtv) } + case "parsingPrompt": if err := awsRestjson1_deserializeDocumentParsingPrompt(&sv.ParsingPrompt, value); err != nil { return err } + default: _, _ = key, value @@ -13236,18 +13537,22 @@ func awsRestjson1_deserializeDocumentChunkingConfiguration(v **types.ChunkingCon } sv.ChunkingStrategy = types.ChunkingStrategy(jtv) } + case "fixedSizeChunkingConfiguration": if err := awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(&sv.FixedSizeChunkingConfiguration, value); err != nil { return err } + case "hierarchicalChunkingConfiguration": if err := awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(&sv.HierarchicalChunkingConfiguration, value); err != nil { return err } + case "semanticChunkingConfiguration": if err := awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(&sv.SemanticChunkingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13314,6 +13619,7 @@ func awsRestjson1_deserializeDocumentConditionFlowNodeConfiguration(v **types.Co if err := awsRestjson1_deserializeDocumentFlowConditions(&sv.Conditions, value); err != nil { return err } + default: _, _ = key, value @@ -13353,6 +13659,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13388,6 +13695,7 @@ func awsRestjson1_deserializeDocumentConfluenceCrawlerConfiguration(v **types.Co if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13423,10 +13731,12 @@ func awsRestjson1_deserializeDocumentConfluenceDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentConfluenceCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13466,6 +13776,7 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.AuthType = types.ConfluenceAuthType(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -13474,6 +13785,7 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.CredentialsSecretArn = ptr.String(jtv) } + case "hostType": if value != nil { jtv, ok := value.(string) @@ -13482,6 +13794,7 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.HostType = types.ConfluenceHostType(jtv) } + case "hostUrl": if value != nil { jtv, ok := value.(string) @@ -13490,6 +13803,7 @@ func awsRestjson1_deserializeDocumentConfluenceSourceConfiguration(v **types.Con } sv.HostUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13525,6 +13839,7 @@ func awsRestjson1_deserializeDocumentCrawlFilterConfiguration(v **types.CrawlFil if err := awsRestjson1_deserializeDocumentPatternObjectFilterConfiguration(&sv.PatternObjectFilter, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -13533,6 +13848,7 @@ func awsRestjson1_deserializeDocumentCrawlFilterConfiguration(v **types.CrawlFil } sv.Type = types.CrawlFilterConfigurationType(jtv) } + default: _, _ = key, value @@ -13568,10 +13884,12 @@ func awsRestjson1_deserializeDocumentCustomTransformationConfiguration(v **types if err := awsRestjson1_deserializeDocumentIntermediateStorage(&sv.IntermediateStorage, value); err != nil { return err } + case "transformations": if err := awsRestjson1_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { return err } + default: _, _ = key, value @@ -13615,6 +13933,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.CreatedAt = ptr.Time(t) } + case "dataDeletionPolicy": if value != nil { jtv, ok := value.(string) @@ -13623,10 +13942,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataDeletionPolicy = types.DataDeletionPolicy(jtv) } + case "dataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -13635,6 +13956,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13643,10 +13965,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13655,6 +13979,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.KnowledgeBaseId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13663,10 +13988,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -13675,6 +14002,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.DataSourceStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13687,10 +14015,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.UpdatedAt = ptr.Time(t) } + case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13726,18 +14056,22 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsRestjson1_deserializeDocumentConfluenceDataSourceConfiguration(&sv.ConfluenceConfiguration, value); err != nil { return err } + case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3DataSourceConfiguration(&sv.S3Configuration, value); err != nil { return err } + case "salesforceConfiguration": if err := awsRestjson1_deserializeDocumentSalesforceDataSourceConfiguration(&sv.SalesforceConfiguration, value); err != nil { return err } + case "sharePointConfiguration": if err := awsRestjson1_deserializeDocumentSharePointDataSourceConfiguration(&sv.SharePointConfiguration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -13746,10 +14080,12 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.Type = types.DataSourceType(jtv) } + case "webConfiguration": if err := awsRestjson1_deserializeDocumentWebDataSourceConfiguration(&sv.WebConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13823,6 +14159,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13831,6 +14168,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Description = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13839,6 +14177,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.KnowledgeBaseId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13847,6 +14186,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13855,6 +14195,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13867,6 +14208,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -13902,6 +14244,7 @@ func awsRestjson1_deserializeDocumentEmbeddingModelConfiguration(v **types.Embed if err := awsRestjson1_deserializeDocumentBedrockEmbeddingModelConfiguration(&sv.BedrockEmbeddingModelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14053,6 +14396,7 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.MaxTokens = ptr.Int32(int32(i64)) } + case "overlapPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -14065,6 +14409,7 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.OverlapPercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14138,6 +14483,7 @@ func awsRestjson1_deserializeDocumentFlowAliasRoutingConfigurationListItem(v **t } sv.FlowVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -14211,6 +14557,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14223,6 +14570,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14231,6 +14579,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Description = ptr.String(jtv) } + case "flowId": if value != nil { jtv, ok := value.(string) @@ -14239,6 +14588,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.FlowId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14247,6 +14597,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14255,10 +14606,12 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.Name = ptr.String(jtv) } + case "routingConfiguration": if err := awsRestjson1_deserializeDocumentFlowAliasRoutingConfiguration(&sv.RoutingConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14271,6 +14624,7 @@ func awsRestjson1_deserializeDocumentFlowAliasSummary(v **types.FlowAliasSummary } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -14310,6 +14664,7 @@ func awsRestjson1_deserializeDocumentFlowCondition(v **types.FlowCondition, valu } sv.Expression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14318,6 +14673,7 @@ func awsRestjson1_deserializeDocumentFlowCondition(v **types.FlowCondition, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14357,6 +14713,7 @@ func awsRestjson1_deserializeDocumentFlowConditionalConnectionConfiguration(v ** } sv.Condition = ptr.String(jtv) } + default: _, _ = key, value @@ -14426,6 +14783,7 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va if err := awsRestjson1_deserializeDocumentFlowConnectionConfiguration(&sv.Configuration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14434,6 +14792,7 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Name = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -14442,6 +14801,7 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Source = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -14450,6 +14810,7 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Target = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14458,6 +14819,7 @@ func awsRestjson1_deserializeDocumentFlowConnection(v **types.FlowConnection, va } sv.Type = types.FlowConnectionType(jtv) } + default: _, _ = key, value @@ -14581,6 +14943,7 @@ func awsRestjson1_deserializeDocumentFlowDataConnectionConfiguration(v **types.F } sv.SourceOutput = ptr.String(jtv) } + case "targetInput": if value != nil { jtv, ok := value.(string) @@ -14589,6 +14952,7 @@ func awsRestjson1_deserializeDocumentFlowDataConnectionConfiguration(v **types.F } sv.TargetInput = ptr.String(jtv) } + default: _, _ = key, value @@ -14624,10 +14988,12 @@ func awsRestjson1_deserializeDocumentFlowDefinition(v **types.FlowDefinition, va if err := awsRestjson1_deserializeDocumentFlowConnections(&sv.Connections, value); err != nil { return err } + case "nodes": if err := awsRestjson1_deserializeDocumentFlowNodes(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -14663,10 +15029,12 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac if err := awsRestjson1_deserializeDocumentFlowNodeConfiguration(&sv.Configuration, value); err != nil { return err } + case "inputs": if err := awsRestjson1_deserializeDocumentFlowNodeInputs(&sv.Inputs, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14675,10 +15043,12 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac } sv.Name = ptr.String(jtv) } + case "outputs": if err := awsRestjson1_deserializeDocumentFlowNodeOutputs(&sv.Outputs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -14687,6 +15057,7 @@ func awsRestjson1_deserializeDocumentFlowNode(v **types.FlowNode, value interfac } sv.Type = types.FlowNodeType(jtv) } + default: _, _ = key, value @@ -14876,6 +15247,7 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Expression = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14884,6 +15256,7 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14892,6 +15265,7 @@ func awsRestjson1_deserializeDocumentFlowNodeInput(v **types.FlowNodeInput, valu } sv.Type = types.FlowNodeIODataType(jtv) } + default: _, _ = key, value @@ -14965,6 +15339,7 @@ func awsRestjson1_deserializeDocumentFlowNodeOutput(v **types.FlowNodeOutput, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14973,6 +15348,7 @@ func awsRestjson1_deserializeDocumentFlowNodeOutput(v **types.FlowNodeOutput, va } sv.Type = types.FlowNodeIODataType(jtv) } + default: _, _ = key, value @@ -15114,6 +15490,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15126,6 +15503,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15134,6 +15512,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15142,6 +15521,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15150,6 +15530,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15158,6 +15539,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Status = types.FlowStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -15170,6 +15552,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15178,6 +15561,7 @@ func awsRestjson1_deserializeDocumentFlowSummary(v **types.FlowSummary, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15217,6 +15601,7 @@ func awsRestjson1_deserializeDocumentFlowValidation(v **types.FlowValidation, va } sv.Message = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -15225,6 +15610,7 @@ func awsRestjson1_deserializeDocumentFlowValidation(v **types.FlowValidation, va } sv.Severity = types.FlowValidationSeverity(jtv) } + default: _, _ = key, value @@ -15332,6 +15718,7 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15344,6 +15731,7 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15352,6 +15740,7 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15360,6 +15749,7 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Status = types.FlowStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15368,6 +15758,7 @@ func awsRestjson1_deserializeDocumentFlowVersionSummary(v **types.FlowVersionSum } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15407,6 +15798,7 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15415,10 +15807,12 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "requireConfirmation": if value != nil { jtv, ok := value.(string) @@ -15427,6 +15821,7 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.RequireConfirmation = types.RequireConfirmation(jtv) } + default: _, _ = key, value @@ -15538,6 +15933,7 @@ func awsRestjson1_deserializeDocumentGuardrailConfiguration(v **types.GuardrailC } sv.GuardrailIdentifier = ptr.String(jtv) } + case "guardrailVersion": if value != nil { jtv, ok := value.(string) @@ -15546,6 +15942,7 @@ func awsRestjson1_deserializeDocumentGuardrailConfiguration(v **types.GuardrailC } sv.GuardrailVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -15581,6 +15978,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types if err := awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfigurations(&sv.LevelConfigurations, value); err != nil { return err } + case "overlapTokens": if value != nil { jtv, ok := value.(json.Number) @@ -15593,6 +15991,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types } sv.OverlapTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15636,6 +16035,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfiguration(v ** } sv.MaxTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15713,10 +16113,12 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.MaximumLength = ptr.Int32(int32(i64)) } + case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } + case "temperature": if value != nil { switch jtv := value.(type) { @@ -15750,6 +16152,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } + case "topK": if value != nil { jtv, ok := value.(json.Number) @@ -15762,6 +16165,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.TopK = ptr.Int32(int32(i64)) } + case "topP": if value != nil { switch jtv := value.(type) { @@ -15795,6 +16199,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } + default: _, _ = key, value @@ -15834,6 +16239,7 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.DataSourceId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15842,10 +16248,12 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "ingestionJobId": if value != nil { jtv, ok := value.(string) @@ -15854,6 +16262,7 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.IngestionJobId = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15862,6 +16271,7 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.KnowledgeBaseId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -15874,10 +16284,12 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.StartedAt = ptr.Time(t) } + case "statistics": if err := awsRestjson1_deserializeDocumentIngestionJobStatistics(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15886,6 +16298,7 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.Status = types.IngestionJobStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -15898,6 +16311,7 @@ func awsRestjson1_deserializeDocumentIngestionJob(v **types.IngestionJob, value } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -15941,6 +16355,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsDeleted = i64 } + case "numberOfDocumentsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -15953,6 +16368,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsFailed = i64 } + case "numberOfDocumentsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -15965,6 +16381,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfDocumentsScanned = i64 } + case "numberOfMetadataDocumentsModified": if value != nil { jtv, ok := value.(json.Number) @@ -15977,6 +16394,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfMetadataDocumentsModified = i64 } + case "numberOfMetadataDocumentsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -15989,6 +16407,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfMetadataDocumentsScanned = i64 } + case "numberOfModifiedDocumentsIndexed": if value != nil { jtv, ok := value.(json.Number) @@ -16001,6 +16420,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfModifiedDocumentsIndexed = i64 } + case "numberOfNewDocumentsIndexed": if value != nil { jtv, ok := value.(json.Number) @@ -16013,6 +16433,7 @@ func awsRestjson1_deserializeDocumentIngestionJobStatistics(v **types.IngestionJ } sv.NumberOfNewDocumentsIndexed = i64 } + default: _, _ = key, value @@ -16086,6 +16507,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.DataSourceId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16094,6 +16516,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.Description = ptr.String(jtv) } + case "ingestionJobId": if value != nil { jtv, ok := value.(string) @@ -16102,6 +16525,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.IngestionJobId = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16110,6 +16534,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.KnowledgeBaseId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -16122,10 +16547,12 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.StartedAt = ptr.Time(t) } + case "statistics": if err := awsRestjson1_deserializeDocumentIngestionJobStatistics(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -16134,6 +16561,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.Status = types.IngestionJobStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16146,6 +16574,7 @@ func awsRestjson1_deserializeDocumentIngestionJobSummary(v **types.IngestionJobS } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -16212,6 +16641,7 @@ func awsRestjson1_deserializeDocumentIntermediateStorage(v **types.IntermediateS if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -16251,6 +16681,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16325,6 +16756,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16333,10 +16765,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -16345,10 +16779,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseConfiguration": if err := awsRestjson1_deserializeDocumentKnowledgeBaseConfiguration(&sv.KnowledgeBaseConfiguration, value); err != nil { return err } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16357,6 +16793,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.KnowledgeBaseId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16365,6 +16802,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16373,6 +16811,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16381,10 +16820,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "storageConfiguration": if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16397,6 +16838,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBase(v **types.KnowledgeBase, valu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -16436,10 +16878,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseConfiguration(v **types.Knowle } sv.Type = types.KnowledgeBaseType(jtv) } + case "vectorKnowledgeBaseConfiguration": if err := awsRestjson1_deserializeDocumentVectorKnowledgeBaseConfiguration(&sv.VectorKnowledgeBaseConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16479,6 +16923,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseFlowNodeConfiguration(v **type } sv.KnowledgeBaseId = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -16487,6 +16932,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseFlowNodeConfiguration(v **type } sv.ModelId = ptr.String(jtv) } + default: _, _ = key, value @@ -16560,6 +17006,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -16568,6 +17015,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16576,6 +17024,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16584,6 +17033,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -16596,6 +17046,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -16635,6 +17086,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionFlowNodeConfiguration(v **typ } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16674,6 +17126,7 @@ func awsRestjson1_deserializeDocumentLexFlowNodeConfiguration(v **types.LexFlowN } sv.BotAliasArn = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -16682,6 +17135,7 @@ func awsRestjson1_deserializeDocumentLexFlowNodeConfiguration(v **types.LexFlowN } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -16717,6 +17171,7 @@ func awsRestjson1_deserializeDocumentMemoryConfiguration(v **types.MemoryConfigu if err := awsRestjson1_deserializeDocumentEnabledMemoryTypes(&sv.EnabledMemoryTypes, value); err != nil { return err } + case "storageDays": if value != nil { jtv, ok := value.(json.Number) @@ -16729,6 +17184,7 @@ func awsRestjson1_deserializeDocumentMemoryConfiguration(v **types.MemoryConfigu } sv.StorageDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16768,6 +17224,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.CollectionName = ptr.String(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -16776,6 +17233,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.CredentialsSecretArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -16784,6 +17242,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.DatabaseName = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -16792,6 +17251,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.Endpoint = ptr.String(jtv) } + case "endpointServiceName": if value != nil { jtv, ok := value.(string) @@ -16800,10 +17260,12 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.EndpointServiceName = ptr.String(jtv) } + case "fieldMapping": if err := awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(&sv.FieldMapping, value); err != nil { return err } + case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -16812,6 +17274,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(v **types.MongoDb } sv.VectorIndexName = ptr.String(jtv) } + default: _, _ = key, value @@ -16851,6 +17314,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.MetadataField = ptr.String(jtv) } + case "textField": if value != nil { jtv, ok := value.(string) @@ -16859,6 +17323,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.TextField = ptr.String(jtv) } + case "vectorField": if value != nil { jtv, ok := value.(string) @@ -16867,6 +17332,7 @@ func awsRestjson1_deserializeDocumentMongoDbAtlasFieldMapping(v **types.MongoDbA } sv.VectorField = ptr.String(jtv) } + default: _, _ = key, value @@ -16906,10 +17372,12 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(v **types } sv.CollectionArn = ptr.String(jtv) } + case "fieldMapping": if err := awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(&sv.FieldMapping, value); err != nil { return err } + case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -16918,6 +17386,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(v **types } sv.VectorIndexName = ptr.String(jtv) } + default: _, _ = key, value @@ -16957,6 +17426,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.MetadataField = ptr.String(jtv) } + case "textField": if value != nil { jtv, ok := value.(string) @@ -16965,6 +17435,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.TextField = ptr.String(jtv) } + case "vectorField": if value != nil { jtv, ok := value.(string) @@ -16973,6 +17444,7 @@ func awsRestjson1_deserializeDocumentOpenSearchServerlessFieldMapping(v **types. } sv.VectorField = ptr.String(jtv) } + default: _, _ = key, value @@ -17043,6 +17515,7 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Description = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -17051,6 +17524,7 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Required = ptr.Bool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -17059,6 +17533,7 @@ func awsRestjson1_deserializeDocumentParameterDetail(v **types.ParameterDetail, } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -17129,6 +17604,7 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi if err := awsRestjson1_deserializeDocumentBedrockFoundationModelConfiguration(&sv.BedrockFoundationModelConfiguration, value); err != nil { return err } + case "parsingStrategy": if value != nil { jtv, ok := value.(string) @@ -17137,6 +17613,7 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi } sv.ParsingStrategy = types.ParsingStrategy(jtv) } + default: _, _ = key, value @@ -17176,6 +17653,7 @@ func awsRestjson1_deserializeDocumentParsingPrompt(v **types.ParsingPrompt, valu } sv.ParsingPromptText = ptr.String(jtv) } + default: _, _ = key, value @@ -17211,10 +17689,12 @@ func awsRestjson1_deserializeDocumentPatternObjectFilter(v **types.PatternObject if err := awsRestjson1_deserializeDocumentFilterList(&sv.ExclusionFilters, value); err != nil { return err } + case "inclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.InclusionFilters, value); err != nil { return err } + case "objectType": if value != nil { jtv, ok := value.(string) @@ -17223,6 +17703,7 @@ func awsRestjson1_deserializeDocumentPatternObjectFilter(v **types.PatternObject } sv.ObjectType = ptr.String(jtv) } + default: _, _ = key, value @@ -17258,6 +17739,7 @@ func awsRestjson1_deserializeDocumentPatternObjectFilterConfiguration(v **types. if err := awsRestjson1_deserializeDocumentPatternObjectFilterList(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -17331,6 +17813,7 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.ConnectionString = ptr.String(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -17339,10 +17822,12 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.CredentialsSecretArn = ptr.String(jtv) } + case "fieldMapping": if err := awsRestjson1_deserializeDocumentPineconeFieldMapping(&sv.FieldMapping, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -17351,6 +17836,7 @@ func awsRestjson1_deserializeDocumentPineconeConfiguration(v **types.PineconeCon } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -17390,6 +17876,7 @@ func awsRestjson1_deserializeDocumentPineconeFieldMapping(v **types.PineconeFiel } sv.MetadataField = ptr.String(jtv) } + case "textField": if value != nil { jtv, ok := value.(string) @@ -17398,6 +17885,7 @@ func awsRestjson1_deserializeDocumentPineconeFieldMapping(v **types.PineconeFiel } sv.TextField = ptr.String(jtv) } + default: _, _ = key, value @@ -17437,10 +17925,12 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.BasePromptTemplate = ptr.String(jtv) } + case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } + case "parserMode": if value != nil { jtv, ok := value.(string) @@ -17449,6 +17939,7 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.ParserMode = types.CreationMode(jtv) } + case "promptCreationMode": if value != nil { jtv, ok := value.(string) @@ -17457,6 +17948,7 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptCreationMode = types.CreationMode(jtv) } + case "promptState": if value != nil { jtv, ok := value.(string) @@ -17465,6 +17957,7 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptState = types.PromptState(jtv) } + case "promptType": if value != nil { jtv, ok := value.(string) @@ -17473,6 +17966,7 @@ func awsRestjson1_deserializeDocumentPromptConfiguration(v **types.PromptConfigu } sv.PromptType = types.PromptType(jtv) } + default: _, _ = key, value @@ -17542,6 +18036,7 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeConfiguration(v **types.Promp if err := awsRestjson1_deserializeDocumentPromptFlowNodeSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17577,10 +18072,12 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelRequestFields, value); err != nil { return err } + case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentPromptInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -17589,10 +18086,12 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types } sv.ModelId = ptr.String(jtv) } + case "templateConfiguration": if err := awsRestjson1_deserializeDocumentPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -17601,6 +18100,7 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeInlineConfiguration(v **types } sv.TemplateType = types.PromptTemplateType(jtv) } + default: _, _ = key, value @@ -17640,6 +18140,7 @@ func awsRestjson1_deserializeDocumentPromptFlowNodeResourceConfiguration(v **typ } sv.PromptArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17769,6 +18270,7 @@ func awsRestjson1_deserializeDocumentPromptInputVariable(v **types.PromptInputVa } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17842,6 +18344,7 @@ func awsRestjson1_deserializeDocumentPromptMetadataEntry(v **types.PromptMetadat } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17850,6 +18353,7 @@ func awsRestjson1_deserializeDocumentPromptMetadataEntry(v **types.PromptMetadat } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17927,10 +18431,12 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } sv.MaxTokens = ptr.Int32(int32(i64)) } + case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } + case "temperature": if value != nil { switch jtv := value.(type) { @@ -17964,6 +18470,7 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } } + case "topP": if value != nil { switch jtv := value.(type) { @@ -17997,6 +18504,7 @@ func awsRestjson1_deserializeDocumentPromptModelInferenceConfiguration(v **types } } + default: _, _ = key, value @@ -18036,10 +18544,12 @@ func awsRestjson1_deserializeDocumentPromptOverrideConfiguration(v **types.Promp } sv.OverrideLambda = ptr.String(jtv) } + case "promptConfigurations": if err := awsRestjson1_deserializeDocumentPromptConfigurations(&sv.PromptConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -18113,6 +18623,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18125,6 +18636,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18133,6 +18645,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18141,6 +18654,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18149,6 +18663,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -18161,6 +18676,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.UpdatedAt = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -18169,6 +18685,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -18244,14 +18761,17 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelRequestFields, value); err != nil { return err } + case "inferenceConfiguration": if err := awsRestjson1_deserializeDocumentPromptInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentPromptMetadataList(&sv.Metadata, value); err != nil { return err } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -18260,6 +18780,7 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18268,10 +18789,12 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.Name = ptr.String(jtv) } + case "templateConfiguration": if err := awsRestjson1_deserializeDocumentPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -18280,6 +18803,7 @@ func awsRestjson1_deserializeDocumentPromptVariant(v **types.PromptVariant, valu } sv.TemplateType = types.PromptTemplateType(jtv) } + default: _, _ = key, value @@ -18353,6 +18877,7 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.CredentialsSecretArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -18361,10 +18886,12 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.DatabaseName = ptr.String(jtv) } + case "fieldMapping": if err := awsRestjson1_deserializeDocumentRdsFieldMapping(&sv.FieldMapping, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -18373,6 +18900,7 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.ResourceArn = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -18381,6 +18909,7 @@ func awsRestjson1_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -18420,6 +18949,7 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.MetadataField = ptr.String(jtv) } + case "primaryKeyField": if value != nil { jtv, ok := value.(string) @@ -18428,6 +18958,7 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.PrimaryKeyField = ptr.String(jtv) } + case "textField": if value != nil { jtv, ok := value.(string) @@ -18436,6 +18967,7 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.TextField = ptr.String(jtv) } + case "vectorField": if value != nil { jtv, ok := value.(string) @@ -18444,6 +18976,7 @@ func awsRestjson1_deserializeDocumentRdsFieldMapping(v **types.RdsFieldMapping, } sv.VectorField = ptr.String(jtv) } + default: _, _ = key, value @@ -18519,6 +19052,7 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.CredentialsSecretArn = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -18527,10 +19061,12 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.Endpoint = ptr.String(jtv) } + case "fieldMapping": if err := awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(&sv.FieldMapping, value); err != nil { return err } + case "vectorIndexName": if value != nil { jtv, ok := value.(string) @@ -18539,6 +19075,7 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(v **types } sv.VectorIndexName = ptr.String(jtv) } + default: _, _ = key, value @@ -18578,6 +19115,7 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.MetadataField = ptr.String(jtv) } + case "textField": if value != nil { jtv, ok := value.(string) @@ -18586,6 +19124,7 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.TextField = ptr.String(jtv) } + case "vectorField": if value != nil { jtv, ok := value.(string) @@ -18594,6 +19133,7 @@ func awsRestjson1_deserializeDocumentRedisEnterpriseCloudFieldMapping(v **types. } sv.VectorField = ptr.String(jtv) } + default: _, _ = key, value @@ -18633,6 +19173,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18668,6 +19209,7 @@ func awsRestjson1_deserializeDocumentRetrievalFlowNodeConfiguration(v **types.Re if err := awsRestjson1_deserializeDocumentRetrievalFlowNodeServiceConfiguration(&sv.ServiceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -18707,6 +19249,7 @@ func awsRestjson1_deserializeDocumentRetrievalFlowNodeS3Configuration(v **types. } sv.BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -18786,6 +19329,7 @@ func awsRestjson1_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketArn = ptr.String(jtv) } + case "bucketOwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -18794,10 +19338,12 @@ func awsRestjson1_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketOwnerAccountId = ptr.String(jtv) } + case "inclusionPrefixes": if err := awsRestjson1_deserializeDocumentS3Prefixes(&sv.InclusionPrefixes, value); err != nil { return err } + default: _, _ = key, value @@ -18837,6 +19383,7 @@ func awsRestjson1_deserializeDocumentS3Identifier(v **types.S3Identifier, value } sv.S3BucketName = ptr.String(jtv) } + case "s3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -18845,6 +19392,7 @@ func awsRestjson1_deserializeDocumentS3Identifier(v **types.S3Identifier, value } sv.S3ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -18884,6 +19432,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -18955,6 +19504,7 @@ func awsRestjson1_deserializeDocumentSalesforceCrawlerConfiguration(v **types.Sa if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -18990,10 +19540,12 @@ func awsRestjson1_deserializeDocumentSalesforceDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentSalesforceCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19033,6 +19585,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.AuthType = types.SalesforceAuthType(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -19041,6 +19594,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.CredentialsSecretArn = ptr.String(jtv) } + case "hostUrl": if value != nil { jtv, ok := value.(string) @@ -19049,6 +19603,7 @@ func awsRestjson1_deserializeDocumentSalesforceSourceConfiguration(v **types.Sal } sv.HostUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -19088,6 +19643,7 @@ func awsRestjson1_deserializeDocumentSeedUrl(v **types.SeedUrl, value interface{ } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -19165,6 +19721,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BreakpointPercentileThreshold = ptr.Int32(int32(i64)) } + case "bufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -19177,6 +19734,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BufferSize = ptr.Int32(int32(i64)) } + case "maxTokens": if value != nil { jtv, ok := value.(json.Number) @@ -19189,6 +19747,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.MaxTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19228,6 +19787,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19267,6 +19827,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19302,6 +19863,7 @@ func awsRestjson1_deserializeDocumentSharePointCrawlerConfiguration(v **types.Sh if err := awsRestjson1_deserializeDocumentCrawlFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19337,10 +19899,12 @@ func awsRestjson1_deserializeDocumentSharePointDataSourceConfiguration(v **types if err := awsRestjson1_deserializeDocumentSharePointCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSharePointSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19416,6 +19980,7 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.AuthType = types.SharePointAuthType(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -19424,6 +19989,7 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.CredentialsSecretArn = ptr.String(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -19432,6 +19998,7 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.Domain = ptr.String(jtv) } + case "hostType": if value != nil { jtv, ok := value.(string) @@ -19440,10 +20007,12 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.HostType = types.SharePointHostType(jtv) } + case "siteUrls": if err := awsRestjson1_deserializeDocumentSharePointSiteUrls(&sv.SiteUrls, value); err != nil { return err } + case "tenantId": if value != nil { jtv, ok := value.(string) @@ -19452,6 +20021,7 @@ func awsRestjson1_deserializeDocumentSharePointSourceConfiguration(v **types.Sha } sv.TenantId = ptr.String(jtv) } + default: _, _ = key, value @@ -19523,22 +20093,27 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi if err := awsRestjson1_deserializeDocumentMongoDbAtlasConfiguration(&sv.MongoDbAtlasConfiguration, value); err != nil { return err } + case "opensearchServerlessConfiguration": if err := awsRestjson1_deserializeDocumentOpenSearchServerlessConfiguration(&sv.OpensearchServerlessConfiguration, value); err != nil { return err } + case "pineconeConfiguration": if err := awsRestjson1_deserializeDocumentPineconeConfiguration(&sv.PineconeConfiguration, value); err != nil { return err } + case "rdsConfiguration": if err := awsRestjson1_deserializeDocumentRdsConfiguration(&sv.RdsConfiguration, value); err != nil { return err } + case "redisEnterpriseCloudConfiguration": if err := awsRestjson1_deserializeDocumentRedisEnterpriseCloudConfiguration(&sv.RedisEnterpriseCloudConfiguration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -19547,6 +20122,7 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Type = types.KnowledgeBaseStorageType(jtv) } + default: _, _ = key, value @@ -19582,6 +20158,7 @@ func awsRestjson1_deserializeDocumentStorageFlowNodeConfiguration(v **types.Stor if err := awsRestjson1_deserializeDocumentStorageFlowNodeServiceConfiguration(&sv.ServiceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19621,6 +20198,7 @@ func awsRestjson1_deserializeDocumentStorageFlowNodeS3Configuration(v **types.St } sv.BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -19732,6 +20310,7 @@ func awsRestjson1_deserializeDocumentTextPromptTemplateConfiguration(v **types.T if err := awsRestjson1_deserializeDocumentPromptInputVariablesList(&sv.InputVariables, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -19740,6 +20319,7 @@ func awsRestjson1_deserializeDocumentTextPromptTemplateConfiguration(v **types.T } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -19779,6 +20359,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19818,10 +20399,12 @@ func awsRestjson1_deserializeDocumentTransformation(v **types.Transformation, va } sv.StepToApply = types.StepType(jtv) } + case "transformationFunction": if err := awsRestjson1_deserializeDocumentTransformationFunction(&sv.TransformationFunction, value); err != nil { return err } + default: _, _ = key, value @@ -19857,6 +20440,7 @@ func awsRestjson1_deserializeDocumentTransformationFunction(v **types.Transforma if err := awsRestjson1_deserializeDocumentTransformationLambdaConfiguration(&sv.TransformationLambdaConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19896,6 +20480,7 @@ func awsRestjson1_deserializeDocumentTransformationLambdaConfiguration(v **types } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19965,6 +20550,7 @@ func awsRestjson1_deserializeDocumentUrlConfiguration(v **types.UrlConfiguration if err := awsRestjson1_deserializeDocumentSeedUrls(&sv.SeedUrls, value); err != nil { return err } + default: _, _ = key, value @@ -20000,6 +20586,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -20008,6 +20595,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20047,6 +20635,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20055,6 +20644,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20124,14 +20714,17 @@ func awsRestjson1_deserializeDocumentVectorIngestionConfiguration(v **types.Vect if err := awsRestjson1_deserializeDocumentChunkingConfiguration(&sv.ChunkingConfiguration, value); err != nil { return err } + case "customTransformationConfiguration": if err := awsRestjson1_deserializeDocumentCustomTransformationConfiguration(&sv.CustomTransformationConfiguration, value); err != nil { return err } + case "parsingConfiguration": if err := awsRestjson1_deserializeDocumentParsingConfiguration(&sv.ParsingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -20171,10 +20764,12 @@ func awsRestjson1_deserializeDocumentVectorKnowledgeBaseConfiguration(v **types. } sv.EmbeddingModelArn = ptr.String(jtv) } + case "embeddingModelConfiguration": if err := awsRestjson1_deserializeDocumentEmbeddingModelConfiguration(&sv.EmbeddingModelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -20210,14 +20805,17 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsRestjson1_deserializeDocumentWebCrawlerLimits(&sv.CrawlerLimits, value); err != nil { return err } + case "exclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.ExclusionFilters, value); err != nil { return err } + case "inclusionFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.InclusionFilters, value); err != nil { return err } + case "scope": if value != nil { jtv, ok := value.(string) @@ -20226,6 +20824,7 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.Scope = types.WebScopeType(jtv) } + default: _, _ = key, value @@ -20269,6 +20868,7 @@ func awsRestjson1_deserializeDocumentWebCrawlerLimits(v **types.WebCrawlerLimits } sv.RateLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20304,10 +20904,12 @@ func awsRestjson1_deserializeDocumentWebDataSourceConfiguration(v **types.WebDat if err := awsRestjson1_deserializeDocumentWebCrawlerConfiguration(&sv.CrawlerConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentWebSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -20343,6 +20945,7 @@ func awsRestjson1_deserializeDocumentWebSourceConfiguration(v **types.WebSourceC if err := awsRestjson1_deserializeDocumentUrlConfiguration(&sv.UrlConfiguration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/bedrockagentruntime/deserializers.go b/service/bedrockagentruntime/deserializers.go index 62c4766392d..dcd18c5646d 100644 --- a/service/bedrockagentruntime/deserializers.go +++ b/service/bedrockagentruntime/deserializers.go @@ -313,6 +313,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentMemoryOutput(v **GetAgentMemoryOu if err := awsRestjson1_deserializeDocumentMemories(&sv.MemoryContents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -321,6 +322,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentMemoryOutput(v **GetAgentMemoryOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -752,10 +754,12 @@ func awsRestjson1_deserializeOpDocumentRetrieveOutput(v **RetrieveOutput, value } sv.NextToken = ptr.String(jtv) } + case "retrievalResults": if err := awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResults(&sv.RetrievalResults, value); err != nil { return err } + default: _, _ = key, value @@ -931,6 +935,7 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd if err := awsRestjson1_deserializeDocumentCitations(&sv.Citations, value); err != nil { return err } + case "guardrailAction": if value != nil { jtv, ok := value.(string) @@ -939,10 +944,12 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd } sv.GuardrailAction = types.GuadrailAction(jtv) } + case "output": if err := awsRestjson1_deserializeDocumentRetrieveAndGenerateOutput(&sv.Output, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -951,6 +958,7 @@ func awsRestjson1_deserializeOpDocumentRetrieveAndGenerateOutput(v **RetrieveAnd } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1576,6 +1584,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1615,6 +1624,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ActionGroupName = ptr.String(jtv) } + case "apiPath": if value != nil { jtv, ok := value.(string) @@ -1623,6 +1633,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ApiPath = ptr.String(jtv) } + case "executionType": if value != nil { jtv, ok := value.(string) @@ -1631,6 +1642,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.ExecutionType = types.ExecutionType(jtv) } + case "function": if value != nil { jtv, ok := value.(string) @@ -1639,6 +1651,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.Function = ptr.String(jtv) } + case "invocationId": if value != nil { jtv, ok := value.(string) @@ -1647,14 +1660,17 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.InvocationId = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "requestBody": if err := awsRestjson1_deserializeDocumentRequestBody(&sv.RequestBody, value); err != nil { return err } + case "verb": if value != nil { jtv, ok := value.(string) @@ -1663,6 +1679,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationInput(v **types.Action } sv.Verb = ptr.String(jtv) } + default: _, _ = key, value @@ -1702,6 +1719,7 @@ func awsRestjson1_deserializeDocumentActionGroupInvocationOutput(v **types.Actio } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -1776,6 +1794,7 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ActionGroup = ptr.String(jtv) } + case "actionInvocationType": if value != nil { jtv, ok := value.(string) @@ -1784,6 +1803,7 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ActionInvocationType = types.ActionInvocationType(jtv) } + case "apiPath": if value != nil { jtv, ok := value.(string) @@ -1792,6 +1812,7 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.ApiPath = ptr.String(jtv) } + case "httpMethod": if value != nil { jtv, ok := value.(string) @@ -1800,14 +1821,17 @@ func awsRestjson1_deserializeDocumentApiInvocationInput(v **types.ApiInvocationI } sv.HttpMethod = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentApiParameters(&sv.Parameters, value); err != nil { return err } + case "requestBody": if err := awsRestjson1_deserializeDocumentApiRequestBody(&sv.RequestBody, value); err != nil { return err } + default: _, _ = key, value @@ -1847,6 +1871,7 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -1855,6 +1880,7 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -1863,6 +1889,7 @@ func awsRestjson1_deserializeDocumentApiParameter(v **types.ApiParameter, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1932,6 +1959,7 @@ func awsRestjson1_deserializeDocumentApiRequestBody(v **types.ApiRequestBody, va if err := awsRestjson1_deserializeDocumentApiContentMap(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -1967,6 +1995,7 @@ func awsRestjson1_deserializeDocumentAttribution(v **types.Attribution, value in if err := awsRestjson1_deserializeDocumentCitations(&sv.Citations, value); err != nil { return err } + default: _, _ = key, value @@ -2006,6 +2035,7 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -2014,6 +2044,7 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2049,10 +2080,12 @@ func awsRestjson1_deserializeDocumentCitation(v **types.Citation, value interfac if err := awsRestjson1_deserializeDocumentGeneratedResponsePart(&sv.GeneratedResponsePart, value); err != nil { return err } + case "retrievedReferences": if err := awsRestjson1_deserializeDocumentRetrievedReferences(&sv.RetrievedReferences, value); err != nil { return err } + default: _, _ = key, value @@ -2126,10 +2159,12 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationInput(v **types.Co } sv.Code = ptr.String(jtv) } + case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } + default: _, _ = key, value @@ -2169,6 +2204,7 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionError = ptr.String(jtv) } + case "executionOutput": if value != nil { jtv, ok := value.(string) @@ -2177,6 +2213,7 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionOutput = ptr.String(jtv) } + case "executionTimeout": if value != nil { jtv, ok := value.(bool) @@ -2185,10 +2222,12 @@ func awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(v **types.C } sv.ExecutionTimeout = ptr.Bool(jtv) } + case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } + default: _, _ = key, value @@ -2228,6 +2267,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2301,6 +2341,7 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -2309,6 +2350,7 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2348,6 +2390,7 @@ func awsRestjson1_deserializeDocumentFailureTrace(v **types.FailureTrace, value } sv.FailureReason = ptr.String(jtv) } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -2356,6 +2399,7 @@ func awsRestjson1_deserializeDocumentFailureTrace(v **types.FailureTrace, value } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2391,6 +2435,7 @@ func awsRestjson1_deserializeDocumentFilePart(v **types.FilePart, value interfac if err := awsRestjson1_deserializeDocumentOutputFiles(&sv.Files, value); err != nil { return err } + default: _, _ = key, value @@ -2466,6 +2511,7 @@ func awsRestjson1_deserializeDocumentFinalResponse(v **types.FinalResponse, valu } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -2505,6 +2551,7 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.ActionGroup = ptr.String(jtv) } + case "actionInvocationType": if value != nil { jtv, ok := value.(string) @@ -2513,6 +2560,7 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.ActionInvocationType = types.ActionInvocationType(jtv) } + case "function": if value != nil { jtv, ok := value.(string) @@ -2521,10 +2569,12 @@ func awsRestjson1_deserializeDocumentFunctionInvocationInput(v **types.FunctionI } sv.Function = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentFunctionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -2564,6 +2614,7 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2623,7 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2580,6 +2632,7 @@ func awsRestjson1_deserializeDocumentFunctionParameter(v **types.FunctionParamet } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2649,6 +2702,7 @@ func awsRestjson1_deserializeDocumentGeneratedResponsePart(v **types.GeneratedRe if err := awsRestjson1_deserializeDocumentTextResponsePart(&sv.TextResponsePart, value); err != nil { return err } + default: _, _ = key, value @@ -2684,18 +2738,22 @@ func awsRestjson1_deserializeDocumentGuardrailAssessment(v **types.GuardrailAsse if err := awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(&sv.ContentPolicy, value); err != nil { return err } + case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessment(&sv.SensitiveInformationPolicy, value); err != nil { return err } + case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(&sv.TopicPolicy, value); err != nil { return err } + case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(&sv.WordPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -2769,6 +2827,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Action = types.GuardrailContentPolicyAction(jtv) } + case "confidence": if value != nil { jtv, ok := value.(string) @@ -2777,6 +2836,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Confidence = types.GuardrailContentFilterConfidence(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2785,6 +2845,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } + default: _, _ = key, value @@ -2854,6 +2915,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(v **types. if err := awsRestjson1_deserializeDocumentGuardrailContentFilterList(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -2893,6 +2955,7 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Action = types.GuardrailWordPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -2901,6 +2964,7 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Match = ptr.String(jtv) } + default: _, _ = key, value @@ -2974,6 +3038,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Action = types.GuardrailWordPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -2982,6 +3047,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Match = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2990,6 +3056,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Type = types.GuardrailManagedWordType(jtv) } + default: _, _ = key, value @@ -3063,6 +3130,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -3071,6 +3139,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Match = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3079,6 +3148,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Type = types.GuardrailPiiEntityType(jtv) } + default: _, _ = key, value @@ -3152,6 +3222,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -3160,6 +3231,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Match = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3168,6 +3240,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Name = ptr.String(jtv) } + case "regex": if value != nil { jtv, ok := value.(string) @@ -3176,6 +3249,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -3245,10 +3319,12 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessme if err := awsRestjson1_deserializeDocumentGuardrailPiiEntityFilterList(&sv.PiiEntities, value); err != nil { return err } + case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexFilterList(&sv.Regexes, value); err != nil { return err } + default: _, _ = key, value @@ -3288,6 +3364,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Action = types.GuardrailTopicPolicyAction(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3296,6 +3373,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3304,6 +3382,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } + default: _, _ = key, value @@ -3373,6 +3452,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(v **types.Gu if err := awsRestjson1_deserializeDocumentGuardrailTopicList(&sv.Topics, value); err != nil { return err } + default: _, _ = key, value @@ -3412,14 +3492,17 @@ func awsRestjson1_deserializeDocumentGuardrailTrace(v **types.GuardrailTrace, va } sv.Action = types.GuardrailAction(jtv) } + case "inputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.InputAssessments, value); err != nil { return err } + case "outputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.OutputAssessments, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -3428,6 +3511,7 @@ func awsRestjson1_deserializeDocumentGuardrailTrace(v **types.GuardrailTrace, va } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3463,10 +3547,12 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(v **types.Gua if err := awsRestjson1_deserializeDocumentGuardrailCustomWordList(&sv.CustomWords, value); err != nil { return err } + case "managedWordLists": if err := awsRestjson1_deserializeDocumentGuardrailManagedWordList(&sv.ManagedWordLists, value); err != nil { return err } + default: _, _ = key, value @@ -3510,10 +3596,12 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.MaximumLength = ptr.Int32(int32(i64)) } + case "stopSequences": if err := awsRestjson1_deserializeDocumentStopSequences(&sv.StopSequences, value); err != nil { return err } + case "temperature": if value != nil { switch jtv := value.(type) { @@ -3547,6 +3635,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } + case "topK": if value != nil { jtv, ok := value.(json.Number) @@ -3559,6 +3648,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } sv.TopK = ptr.Int32(int32(i64)) } + case "topP": if value != nil { switch jtv := value.(type) { @@ -3592,6 +3682,7 @@ func awsRestjson1_deserializeDocumentInferenceConfiguration(v **types.InferenceC } } + default: _, _ = key, value @@ -3631,6 +3722,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3666,10 +3758,12 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, if err := awsRestjson1_deserializeDocumentActionGroupInvocationInput(&sv.ActionGroupInvocationInput, value); err != nil { return err } + case "codeInterpreterInvocationInput": if err := awsRestjson1_deserializeDocumentCodeInterpreterInvocationInput(&sv.CodeInterpreterInvocationInput, value); err != nil { return err } + case "invocationType": if value != nil { jtv, ok := value.(string) @@ -3678,10 +3772,12 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, } sv.InvocationType = types.InvocationType(jtv) } + case "knowledgeBaseLookupInput": if err := awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(&sv.KnowledgeBaseLookupInput, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -3690,6 +3786,7 @@ func awsRestjson1_deserializeDocumentInvocationInput(v **types.InvocationInput, } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3811,6 +3908,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(v **types.Knowledg } sv.KnowledgeBaseId = ptr.String(jtv) } + case "text": if value != nil { jtv, ok := value.(string) @@ -3819,6 +3917,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupInput(v **types.Knowledg } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -3854,6 +3953,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseLookupOutput(v **types.Knowled if err := awsRestjson1_deserializeDocumentRetrievedReferences(&sv.RetrievedReferences, value); err != nil { return err } + default: _, _ = key, value @@ -3889,6 +3989,7 @@ func awsRestjson1_deserializeDocumentMetadata(v **types.Metadata, value interfac if err := awsRestjson1_deserializeDocumentUsage(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -3924,6 +4025,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat if err := awsRestjson1_deserializeDocumentInferenceConfiguration(&sv.InferenceConfiguration, value); err != nil { return err } + case "overrideLambda": if value != nil { jtv, ok := value.(string) @@ -3932,6 +4034,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.OverrideLambda = ptr.String(jtv) } + case "parserMode": if value != nil { jtv, ok := value.(string) @@ -3940,6 +4043,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.ParserMode = types.CreationMode(jtv) } + case "promptCreationMode": if value != nil { jtv, ok := value.(string) @@ -3948,6 +4052,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.PromptCreationMode = types.CreationMode(jtv) } + case "text": if value != nil { jtv, ok := value.(string) @@ -3956,6 +4061,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.Text = ptr.String(jtv) } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -3964,6 +4070,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.TraceId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3972,6 +4079,7 @@ func awsRestjson1_deserializeDocumentModelInvocationInput(v **types.ModelInvocat } sv.Type = types.PromptType(jtv) } + default: _, _ = key, value @@ -4007,22 +4115,27 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in if err := awsRestjson1_deserializeDocumentActionGroupInvocationOutput(&sv.ActionGroupInvocationOutput, value); err != nil { return err } + case "codeInterpreterInvocationOutput": if err := awsRestjson1_deserializeDocumentCodeInterpreterInvocationOutput(&sv.CodeInterpreterInvocationOutput, value); err != nil { return err } + case "finalResponse": if err := awsRestjson1_deserializeDocumentFinalResponse(&sv.FinalResponse, value); err != nil { return err } + case "knowledgeBaseLookupOutput": if err := awsRestjson1_deserializeDocumentKnowledgeBaseLookupOutput(&sv.KnowledgeBaseLookupOutput, value); err != nil { return err } + case "repromptResponse": if err := awsRestjson1_deserializeDocumentRepromptResponse(&sv.RepromptResponse, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -4031,6 +4144,7 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in } sv.TraceId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4039,6 +4153,7 @@ func awsRestjson1_deserializeDocumentObservation(v **types.Observation, value in } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -4074,10 +4189,12 @@ func awsRestjson1_deserializeDocumentOrchestrationModelInvocationOutput(v **type if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -4086,6 +4203,7 @@ func awsRestjson1_deserializeDocumentOrchestrationModelInvocationOutput(v **type } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4209,6 +4327,7 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Bytes = dv } + case "name": if value != nil { jtv, ok := value.(string) @@ -4217,6 +4336,7 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4225,6 +4345,7 @@ func awsRestjson1_deserializeDocumentOutputFile(v **types.OutputFile, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4298,6 +4419,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4306,6 +4428,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -4314,6 +4437,7 @@ func awsRestjson1_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4417,6 +4541,7 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in if err := awsRestjson1_deserializeDocumentAttribution(&sv.Attribution, value); err != nil { return err } + case "bytes": if value != nil { jtv, ok := value.(string) @@ -4429,6 +4554,7 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in } sv.Bytes = dv } + default: _, _ = key, value @@ -4464,14 +4590,17 @@ func awsRestjson1_deserializeDocumentPostProcessingModelInvocationOutput(v **typ if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "parsedResponse": if err := awsRestjson1_deserializeDocumentPostProcessingParsedResponse(&sv.ParsedResponse, value); err != nil { return err } + case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -4480,6 +4609,7 @@ func awsRestjson1_deserializeDocumentPostProcessingModelInvocationOutput(v **typ } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4519,6 +4649,7 @@ func awsRestjson1_deserializeDocumentPostProcessingParsedResponse(v **types.Post } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4604,14 +4735,17 @@ func awsRestjson1_deserializeDocumentPreProcessingModelInvocationOutput(v **type if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "parsedResponse": if err := awsRestjson1_deserializeDocumentPreProcessingParsedResponse(&sv.ParsedResponse, value); err != nil { return err } + case "rawResponse": if err := awsRestjson1_deserializeDocumentRawResponse(&sv.RawResponse, value); err != nil { return err } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -4620,6 +4754,7 @@ func awsRestjson1_deserializeDocumentPreProcessingModelInvocationOutput(v **type } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4659,6 +4794,7 @@ func awsRestjson1_deserializeDocumentPreProcessingParsedResponse(v **types.PrePr } sv.IsValid = ptr.Bool(jtv) } + case "rationale": if value != nil { jtv, ok := value.(string) @@ -4667,6 +4803,7 @@ func awsRestjson1_deserializeDocumentPreProcessingParsedResponse(v **types.PrePr } sv.Rationale = ptr.String(jtv) } + default: _, _ = key, value @@ -4752,6 +4889,7 @@ func awsRestjson1_deserializeDocumentPropertyParameters(v **types.PropertyParame if err := awsRestjson1_deserializeDocumentParameterList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -4791,6 +4929,7 @@ func awsRestjson1_deserializeDocumentRationale(v **types.Rationale, value interf } sv.Text = ptr.String(jtv) } + case "traceId": if value != nil { jtv, ok := value.(string) @@ -4799,6 +4938,7 @@ func awsRestjson1_deserializeDocumentRationale(v **types.Rationale, value interf } sv.TraceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4838,6 +4978,7 @@ func awsRestjson1_deserializeDocumentRawResponse(v **types.RawResponse, value in } sv.Content = ptr.String(jtv) } + default: _, _ = key, value @@ -4877,6 +5018,7 @@ func awsRestjson1_deserializeDocumentRepromptResponse(v **types.RepromptResponse } sv.Source = types.Source(jtv) } + case "text": if value != nil { jtv, ok := value.(string) @@ -4885,6 +5027,7 @@ func awsRestjson1_deserializeDocumentRepromptResponse(v **types.RepromptResponse } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4920,6 +5063,7 @@ func awsRestjson1_deserializeDocumentRequestBody(v **types.RequestBody, value in if err := awsRestjson1_deserializeDocumentContentMap(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -4959,6 +5103,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4998,6 +5143,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultConfluenceLocation(v **types } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5037,6 +5183,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultContent(v **types.RetrievalR } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -5072,18 +5219,22 @@ func awsRestjson1_deserializeDocumentRetrievalResultLocation(v **types.Retrieval if err := awsRestjson1_deserializeDocumentRetrievalResultConfluenceLocation(&sv.ConfluenceLocation, value); err != nil { return err } + case "s3Location": if err := awsRestjson1_deserializeDocumentRetrievalResultS3Location(&sv.S3Location, value); err != nil { return err } + case "salesforceLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultSalesforceLocation(&sv.SalesforceLocation, value); err != nil { return err } + case "sharePointLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultSharePointLocation(&sv.SharePointLocation, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -5092,10 +5243,12 @@ func awsRestjson1_deserializeDocumentRetrievalResultLocation(v **types.Retrieval } sv.Type = types.RetrievalResultLocationType(jtv) } + case "webLocation": if err := awsRestjson1_deserializeDocumentRetrievalResultWebLocation(&sv.WebLocation, value); err != nil { return err } + default: _, _ = key, value @@ -5177,6 +5330,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultS3Location(v **types.Retriev } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -5216,6 +5370,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultSalesforceLocation(v **types } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5255,6 +5410,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultSharePointLocation(v **types } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5294,6 +5450,7 @@ func awsRestjson1_deserializeDocumentRetrievalResultWebLocation(v **types.Retrie } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5329,14 +5486,17 @@ func awsRestjson1_deserializeDocumentRetrievedReference(v **types.RetrievedRefer if err := awsRestjson1_deserializeDocumentRetrievalResultContent(&sv.Content, value); err != nil { return err } + case "location": if err := awsRestjson1_deserializeDocumentRetrievalResultLocation(&sv.Location, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentRetrievalResultMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -5410,10 +5570,12 @@ func awsRestjson1_deserializeDocumentReturnControlPayload(v **types.ReturnContro } sv.InvocationId = ptr.String(jtv) } + case "invocationInputs": if err := awsRestjson1_deserializeDocumentInvocationInputs(&sv.InvocationInputs, value); err != nil { return err } + default: _, _ = key, value @@ -5453,6 +5615,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5496,6 +5659,7 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err } sv.End = ptr.Int32(int32(i64)) } + case "start": if value != nil { jtv, ok := value.(json.Number) @@ -5508,6 +5672,7 @@ func awsRestjson1_deserializeDocumentSpan(v **types.Span, value interface{}) err } sv.Start = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5579,6 +5744,7 @@ func awsRestjson1_deserializeDocumentTextResponsePart(v **types.TextResponsePart if err := awsRestjson1_deserializeDocumentSpan(&sv.Span, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5753,7 @@ func awsRestjson1_deserializeDocumentTextResponsePart(v **types.TextResponsePart } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -5626,6 +5793,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5739,6 +5907,7 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentAliasId = ptr.String(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -5747,6 +5916,7 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentId = ptr.String(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -5755,6 +5925,7 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.AgentVersion = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -5763,10 +5934,12 @@ func awsRestjson1_deserializeDocumentTracePart(v **types.TracePart, value interf } sv.SessionId = ptr.String(jtv) } + case "trace": if err := awsRestjson1_deserializeDocumentTrace(&sv.Trace, value); err != nil { return err } + default: _, _ = key, value @@ -5810,6 +5983,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.InputTokens = ptr.Int32(int32(i64)) } + case "outputTokens": if value != nil { jtv, ok := value.(json.Number) @@ -5822,6 +5996,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.OutputTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5861,6 +6036,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6079,6 +6255,7 @@ func awsRestjson1_deserializeDocumentFlowCompletionEvent(v **types.FlowCompletio } sv.CompletionReason = types.FlowCompletionReason(jtv) } + default: _, _ = key, value @@ -6152,6 +6329,7 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, if err := awsRestjson1_deserializeDocumentFlowOutputContent(&sv.Content, value); err != nil { return err } + case "nodeName": if value != nil { jtv, ok := value.(string) @@ -6160,6 +6338,7 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, } sv.NodeName = ptr.String(jtv) } + case "nodeType": if value != nil { jtv, ok := value.(string) @@ -6168,6 +6347,7 @@ func awsRestjson1_deserializeDocumentFlowOutputEvent(v **types.FlowOutputEvent, } sv.NodeType = types.NodeType(jtv) } + default: _, _ = key, value @@ -6535,14 +6715,17 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResult(v **types.Know if err := awsRestjson1_deserializeDocumentRetrievalResultContent(&sv.Content, value); err != nil { return err } + case "location": if err := awsRestjson1_deserializeDocumentRetrievalResultLocation(&sv.Location, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentRetrievalResultMetadata(&sv.Metadata, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -6576,6 +6759,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseRetrievalResult(v **types.Know } } + default: _, _ = key, value @@ -6721,6 +6905,7 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.MemoryId = ptr.String(jtv) } + case "sessionExpiryTime": if value != nil { jtv, ok := value.(string) @@ -6733,6 +6918,7 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionExpiryTime = ptr.Time(t) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -6741,6 +6927,7 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionId = ptr.String(jtv) } + case "sessionStartTime": if value != nil { jtv, ok := value.(string) @@ -6753,6 +6940,7 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SessionStartTime = ptr.Time(t) } + case "summaryText": if value != nil { jtv, ok := value.(string) @@ -6761,6 +6949,7 @@ func awsRestjson1_deserializeDocumentMemorySessionSummary(v **types.MemorySessio } sv.SummaryText = ptr.String(jtv) } + default: _, _ = key, value @@ -6800,6 +6989,7 @@ func awsRestjson1_deserializeDocumentRetrieveAndGenerateOutput(v **types.Retriev } sv.Text = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/bedrockruntime/deserializers.go b/service/bedrockruntime/deserializers.go index 2ce0194b6dc..fcf172ae5c0 100644 --- a/service/bedrockruntime/deserializers.go +++ b/service/bedrockruntime/deserializers.go @@ -196,22 +196,27 @@ func awsRestjson1_deserializeOpDocumentApplyGuardrailOutput(v **ApplyGuardrailOu } sv.Action = types.GuardrailAction(jtv) } + case "assessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentList(&sv.Assessments, value); err != nil { return err } + case "guardrailCoverage": if err := awsRestjson1_deserializeDocumentGuardrailCoverage(&sv.GuardrailCoverage, value); err != nil { return err } + case "outputs": if err := awsRestjson1_deserializeDocumentGuardrailOutputContentList(&sv.Outputs, value); err != nil { return err } + case "usage": if err := awsRestjson1_deserializeDocumentGuardrailUsage(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -387,14 +392,17 @@ func awsRestjson1_deserializeOpDocumentConverseOutput(v **ConverseOutput, value if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelResponseFields, value); err != nil { return err } + case "metrics": if err := awsRestjson1_deserializeDocumentConverseMetrics(&sv.Metrics, value); err != nil { return err } + case "output": if err := awsRestjson1_deserializeDocumentConverseOutput(&sv.Output, value); err != nil { return err } + case "stopReason": if value != nil { jtv, ok := value.(string) @@ -403,14 +411,17 @@ func awsRestjson1_deserializeOpDocumentConverseOutput(v **ConverseOutput, value } sv.StopReason = types.StopReason(jtv) } + case "trace": if err := awsRestjson1_deserializeDocumentConverseTrace(&sv.Trace, value); err != nil { return err } + case "usage": if err := awsRestjson1_deserializeDocumentTokenUsage(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -1190,6 +1201,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1229,6 +1241,7 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.Message = ptr.String(jtv) } + case "originalMessage": if value != nil { jtv, ok := value.(string) @@ -1237,6 +1250,7 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.OriginalMessage = ptr.String(jtv) } + case "originalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1249,6 +1263,7 @@ func awsRestjson1_deserializeDocumentModelStreamErrorException(v **types.ModelSt } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1288,6 +1303,7 @@ func awsRestjson1_deserializeDocumentModelTimeoutException(v **types.ModelTimeou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1331,6 +1347,7 @@ func awsRestjson1_deserializeDocumentPayloadPart(v **types.PayloadPart, value in } sv.Bytes = dv } + default: _, _ = key, value @@ -1370,6 +1387,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1409,6 +1427,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1448,6 +1467,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1894,10 +1914,12 @@ func awsRestjson1_deserializeDocumentContentBlockDeltaEvent(v **types.ContentBlo } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } + case "delta": if err := awsRestjson1_deserializeDocumentContentBlockDelta(&sv.Delta, value); err != nil { return err } + default: _, _ = key, value @@ -1981,10 +2003,12 @@ func awsRestjson1_deserializeDocumentContentBlockStartEvent(v **types.ContentBlo } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } + case "start": if err := awsRestjson1_deserializeDocumentContentBlockStart(&sv.Start, value); err != nil { return err } + default: _, _ = key, value @@ -2028,6 +2052,7 @@ func awsRestjson1_deserializeDocumentContentBlockStopEvent(v **types.ContentBloc } sv.ContentBlockIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2063,14 +2088,17 @@ func awsRestjson1_deserializeDocumentConverseStreamMetadataEvent(v **types.Conve if err := awsRestjson1_deserializeDocumentConverseStreamMetrics(&sv.Metrics, value); err != nil { return err } + case "trace": if err := awsRestjson1_deserializeDocumentConverseStreamTrace(&sv.Trace, value); err != nil { return err } + case "usage": if err := awsRestjson1_deserializeDocumentTokenUsage(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -2114,6 +2142,7 @@ func awsRestjson1_deserializeDocumentConverseStreamMetrics(v **types.ConverseStr } sv.LatencyMs = ptr.Int64(i64) } + default: _, _ = key, value @@ -2149,6 +2178,7 @@ func awsRestjson1_deserializeDocumentConverseStreamTrace(v **types.ConverseStrea if err := awsRestjson1_deserializeDocumentGuardrailTraceAssessment(&sv.Guardrail, value); err != nil { return err } + default: _, _ = key, value @@ -2184,26 +2214,32 @@ func awsRestjson1_deserializeDocumentGuardrailAssessment(v **types.GuardrailAsse if err := awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(&sv.ContentPolicy, value); err != nil { return err } + case "contextualGroundingPolicy": if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicyAssessment(&sv.ContextualGroundingPolicy, value); err != nil { return err } + case "invocationMetrics": if err := awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(&sv.InvocationMetrics, value); err != nil { return err } + case "sensitiveInformationPolicy": if err := awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessment(&sv.SensitiveInformationPolicy, value); err != nil { return err } + case "topicPolicy": if err := awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(&sv.TopicPolicy, value); err != nil { return err } + case "wordPolicy": if err := awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(&sv.WordPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -2346,6 +2382,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Action = types.GuardrailContentPolicyAction(jtv) } + case "confidence": if value != nil { jtv, ok := value.(string) @@ -2354,6 +2391,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Confidence = types.GuardrailContentFilterConfidence(jtv) } + case "filterStrength": if value != nil { jtv, ok := value.(string) @@ -2362,6 +2400,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.FilterStrength = types.GuardrailContentFilterStrength(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2370,6 +2409,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentFilter(v **types.GuardrailC } sv.Type = types.GuardrailContentFilterType(jtv) } + default: _, _ = key, value @@ -2439,6 +2479,7 @@ func awsRestjson1_deserializeDocumentGuardrailContentPolicyAssessment(v **types. if err := awsRestjson1_deserializeDocumentGuardrailContentFilterList(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -2478,6 +2519,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Action = types.GuardrailContextualGroundingPolicyAction(jtv) } + case "score": if value != nil { switch jtv := value.(type) { @@ -2511,6 +2553,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -2544,6 +2587,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } } + case "type": if value != nil { jtv, ok := value.(string) @@ -2552,6 +2596,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilter(v **type } sv.Type = types.GuardrailContextualGroundingFilterType(jtv) } + default: _, _ = key, value @@ -2621,6 +2666,7 @@ func awsRestjson1_deserializeDocumentGuardrailContextualGroundingPolicyAssessmen if err := awsRestjson1_deserializeDocumentGuardrailContextualGroundingFilters(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -2656,6 +2702,7 @@ func awsRestjson1_deserializeDocumentGuardrailCoverage(v **types.GuardrailCovera if err := awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(&sv.TextCharacters, value); err != nil { return err } + default: _, _ = key, value @@ -2695,6 +2742,7 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Action = types.GuardrailWordPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2751,7 @@ func awsRestjson1_deserializeDocumentGuardrailCustomWord(v **types.GuardrailCust } sv.Match = ptr.String(jtv) } + default: _, _ = key, value @@ -2772,6 +2821,7 @@ func awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(v **types.Guardr if err := awsRestjson1_deserializeDocumentGuardrailCoverage(&sv.GuardrailCoverage, value); err != nil { return err } + case "guardrailProcessingLatency": if value != nil { jtv, ok := value.(json.Number) @@ -2784,10 +2834,12 @@ func awsRestjson1_deserializeDocumentGuardrailInvocationMetrics(v **types.Guardr } sv.GuardrailProcessingLatency = ptr.Int64(i64) } + case "usage": if err := awsRestjson1_deserializeDocumentGuardrailUsage(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -2827,6 +2879,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Action = types.GuardrailWordPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -2835,6 +2888,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Match = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2897,7 @@ func awsRestjson1_deserializeDocumentGuardrailManagedWord(v **types.GuardrailMan } sv.Type = types.GuardrailManagedWordType(jtv) } + default: _, _ = key, value @@ -2916,6 +2971,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -2924,6 +2980,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Match = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2932,6 +2989,7 @@ func awsRestjson1_deserializeDocumentGuardrailPiiEntityFilter(v **types.Guardrai } sv.Type = types.GuardrailPiiEntityType(jtv) } + default: _, _ = key, value @@ -3005,6 +3063,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Action = types.GuardrailSensitiveInformationPolicyAction(jtv) } + case "match": if value != nil { jtv, ok := value.(string) @@ -3013,6 +3072,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Match = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3021,6 +3081,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Name = ptr.String(jtv) } + case "regex": if value != nil { jtv, ok := value.(string) @@ -3029,6 +3090,7 @@ func awsRestjson1_deserializeDocumentGuardrailRegexFilter(v **types.GuardrailReg } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -3098,10 +3160,12 @@ func awsRestjson1_deserializeDocumentGuardrailSensitiveInformationPolicyAssessme if err := awsRestjson1_deserializeDocumentGuardrailPiiEntityFilterList(&sv.PiiEntities, value); err != nil { return err } + case "regexes": if err := awsRestjson1_deserializeDocumentGuardrailRegexFilterList(&sv.Regexes, value); err != nil { return err } + default: _, _ = key, value @@ -3145,6 +3209,7 @@ func awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(v **types.G } sv.Guarded = ptr.Int32(int32(i64)) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -3157,6 +3222,7 @@ func awsRestjson1_deserializeDocumentGuardrailTextCharactersCoverage(v **types.G } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3196,6 +3262,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Action = types.GuardrailTopicPolicyAction(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3204,6 +3271,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3212,6 +3280,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopic(v **types.GuardrailTopic, va } sv.Type = types.GuardrailTopicType(jtv) } + default: _, _ = key, value @@ -3281,6 +3350,7 @@ func awsRestjson1_deserializeDocumentGuardrailTopicPolicyAssessment(v **types.Gu if err := awsRestjson1_deserializeDocumentGuardrailTopicList(&sv.Topics, value); err != nil { return err } + default: _, _ = key, value @@ -3316,14 +3386,17 @@ func awsRestjson1_deserializeDocumentGuardrailTraceAssessment(v **types.Guardrai if err := awsRestjson1_deserializeDocumentGuardrailAssessmentMap(&sv.InputAssessment, value); err != nil { return err } + case "modelOutput": if err := awsRestjson1_deserializeDocumentModelOutputs(&sv.ModelOutput, value); err != nil { return err } + case "outputAssessments": if err := awsRestjson1_deserializeDocumentGuardrailAssessmentListMap(&sv.OutputAssessments, value); err != nil { return err } + default: _, _ = key, value @@ -3367,6 +3440,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.ContentPolicyUnits = ptr.Int32(int32(i64)) } + case "contextualGroundingPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3379,6 +3453,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.ContextualGroundingPolicyUnits = ptr.Int32(int32(i64)) } + case "sensitiveInformationPolicyFreeUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3391,6 +3466,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.SensitiveInformationPolicyFreeUnits = ptr.Int32(int32(i64)) } + case "sensitiveInformationPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3403,6 +3479,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.SensitiveInformationPolicyUnits = ptr.Int32(int32(i64)) } + case "topicPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3415,6 +3492,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.TopicPolicyUnits = ptr.Int32(int32(i64)) } + case "wordPolicyUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3427,6 +3505,7 @@ func awsRestjson1_deserializeDocumentGuardrailUsage(v **types.GuardrailUsage, va } sv.WordPolicyUnits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3462,10 +3541,12 @@ func awsRestjson1_deserializeDocumentGuardrailWordPolicyAssessment(v **types.Gua if err := awsRestjson1_deserializeDocumentGuardrailCustomWordList(&sv.CustomWords, value); err != nil { return err } + case "managedWordLists": if err := awsRestjson1_deserializeDocumentGuardrailManagedWordList(&sv.ManagedWordLists, value); err != nil { return err } + default: _, _ = key, value @@ -3505,6 +3586,7 @@ func awsRestjson1_deserializeDocumentMessageStartEvent(v **types.MessageStartEve } sv.Role = types.ConversationRole(jtv) } + default: _, _ = key, value @@ -3540,6 +3622,7 @@ func awsRestjson1_deserializeDocumentMessageStopEvent(v **types.MessageStopEvent if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalModelResponseFields, value); err != nil { return err } + case "stopReason": if value != nil { jtv, ok := value.(string) @@ -3548,6 +3631,7 @@ func awsRestjson1_deserializeDocumentMessageStopEvent(v **types.MessageStopEvent } sv.StopReason = types.StopReason(jtv) } + default: _, _ = key, value @@ -3627,6 +3711,7 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.InputTokens = ptr.Int32(int32(i64)) } + case "outputTokens": if value != nil { jtv, ok := value.(json.Number) @@ -3639,6 +3724,7 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.OutputTokens = ptr.Int32(int32(i64)) } + case "totalTokens": if value != nil { jtv, ok := value.(json.Number) @@ -3651,6 +3737,7 @@ func awsRestjson1_deserializeDocumentTokenUsage(v **types.TokenUsage, value inte } sv.TotalTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3690,6 +3777,7 @@ func awsRestjson1_deserializeDocumentToolUseBlockDelta(v **types.ToolUseBlockDel } sv.Input = ptr.String(jtv) } + default: _, _ = key, value @@ -3729,6 +3817,7 @@ func awsRestjson1_deserializeDocumentToolUseBlockStart(v **types.ToolUseBlockSta } sv.Name = ptr.String(jtv) } + case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -3737,6 +3826,7 @@ func awsRestjson1_deserializeDocumentToolUseBlockStart(v **types.ToolUseBlockSta } sv.ToolUseId = ptr.String(jtv) } + default: _, _ = key, value @@ -4180,6 +4270,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4345,6 +4436,7 @@ func awsRestjson1_deserializeDocumentConverseMetrics(v **types.ConverseMetrics, } sv.LatencyMs = ptr.Int64(i64) } + default: _, _ = key, value @@ -4420,6 +4512,7 @@ func awsRestjson1_deserializeDocumentConverseTrace(v **types.ConverseTrace, valu if err := awsRestjson1_deserializeDocumentGuardrailTraceAssessment(&sv.Guardrail, value); err != nil { return err } + default: _, _ = key, value @@ -4459,6 +4552,7 @@ func awsRestjson1_deserializeDocumentDocumentBlock(v **types.DocumentBlock, valu } sv.Format = types.DocumentFormat(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4467,10 +4561,12 @@ func awsRestjson1_deserializeDocumentDocumentBlock(v **types.DocumentBlock, valu } sv.Name = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -4628,6 +4724,7 @@ func awsRestjson1_deserializeDocumentGuardrailConverseTextBlock(v **types.Guardr if err := awsRestjson1_deserializeDocumentGuardrailConverseContentQualifierList(&sv.Qualifiers, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -4636,6 +4733,7 @@ func awsRestjson1_deserializeDocumentGuardrailConverseTextBlock(v **types.Guardr } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4675,6 +4773,7 @@ func awsRestjson1_deserializeDocumentGuardrailOutputContent(v **types.GuardrailO } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4748,10 +4847,12 @@ func awsRestjson1_deserializeDocumentImageBlock(v **types.ImageBlock, value inte } sv.Format = types.ImageFormat(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentImageSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -4833,6 +4934,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentContentBlocks(&sv.Content, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4943,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Role = types.ConversationRole(jtv) } + default: _, _ = key, value @@ -4880,6 +4983,7 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.Message = ptr.String(jtv) } + case "originalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -4892,6 +4996,7 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -4900,6 +5005,7 @@ func awsRestjson1_deserializeDocumentModelErrorException(v **types.ModelErrorExc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -4939,6 +5045,7 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4978,6 +5085,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5017,6 +5125,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5052,6 +5161,7 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, if err := awsRestjson1_deserializeDocumentToolResultContentBlocks(&sv.Content, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5060,6 +5170,7 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, } sv.Status = types.ToolResultStatus(jtv) } + case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -5068,6 +5179,7 @@ func awsRestjson1_deserializeDocumentToolResultBlock(v **types.ToolResultBlock, } sv.ToolUseId = ptr.String(jtv) } + default: _, _ = key, value @@ -5205,6 +5317,7 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value if err := awsRestjson1_deserializeDocumentDocument(&sv.Input, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5213,6 +5326,7 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value } sv.Name = ptr.String(jtv) } + case "toolUseId": if value != nil { jtv, ok := value.(string) @@ -5221,6 +5335,7 @@ func awsRestjson1_deserializeDocumentToolUseBlock(v **types.ToolUseBlock, value } sv.ToolUseId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/billingconductor/deserializers.go b/service/billingconductor/deserializers.go index 43f34538572..b1034e51594 100644 --- a/service/billingconductor/deserializers.go +++ b/service/billingconductor/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAccountsOutput(v **AssociateAcco } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -368,6 +369,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePricingRulesOutput(v **Associate } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -537,10 +539,12 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateResourcesToCustomLineItemOu if err := awsRestjson1_deserializeDocumentAssociateResourcesResponseList(&sv.FailedAssociatedResources, value); err != nil { return err } + case "SuccessfullyAssociatedResources": if err := awsRestjson1_deserializeDocumentAssociateResourcesResponseList(&sv.SuccessfullyAssociatedResources, value); err != nil { return err } + default: _, _ = key, value @@ -707,10 +711,12 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateResourcesFromCustomLineI if err := awsRestjson1_deserializeDocumentDisassociateResourcesResponseList(&sv.FailedDisassociatedResources, value); err != nil { return err } + case "SuccessfullyDisassociatedResources": if err := awsRestjson1_deserializeDocumentDisassociateResourcesResponseList(&sv.SuccessfullyDisassociatedResources, value); err != nil { return err } + default: _, _ = key, value @@ -881,6 +887,7 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1051,6 +1058,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomLineItemOutput(v **CreateCust } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1224,6 +1232,7 @@ func awsRestjson1_deserializeOpDocumentCreatePricingPlanOutput(v **CreatePricing } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1394,6 +1403,7 @@ func awsRestjson1_deserializeOpDocumentCreatePricingRuleOutput(v **CreatePricing } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1558,6 +1568,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBillingGroupOutput(v **DeleteBillin } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1725,6 +1736,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomLineItemOutput(v **DeleteCust } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1892,6 +1904,7 @@ func awsRestjson1_deserializeOpDocumentDeletePricingPlanOutput(v **DeletePricing } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2059,6 +2072,7 @@ func awsRestjson1_deserializeOpDocumentDeletePricingRuleOutput(v **DeletePricing } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2229,6 +2243,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateAccountsOutput(v **Disassocia } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2399,6 +2414,7 @@ func awsRestjson1_deserializeOpDocumentDisassociatePricingRulesOutput(v **Disass } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2562,6 +2578,7 @@ func awsRestjson1_deserializeOpDocumentGetBillingGroupCostReportOutput(v **GetBi if err := awsRestjson1_deserializeDocumentBillingGroupCostReportResultsList(&sv.BillingGroupCostReportResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2570,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentGetBillingGroupCostReportOutput(v **GetBi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2733,6 +2751,7 @@ func awsRestjson1_deserializeOpDocumentListAccountAssociationsOutput(v **ListAcc if err := awsRestjson1_deserializeDocumentAccountAssociationsList(&sv.LinkedAccounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2741,6 +2760,7 @@ func awsRestjson1_deserializeOpDocumentListAccountAssociationsOutput(v **ListAcc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2904,6 +2924,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupCostReportsOutput(v **Lis if err := awsRestjson1_deserializeDocumentBillingGroupCostReportList(&sv.BillingGroupCostReports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2912,6 +2933,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupCostReportsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3075,6 +3097,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr if err := awsRestjson1_deserializeDocumentBillingGroupList(&sv.BillingGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3083,6 +3106,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3246,6 +3270,7 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemsOutput(v **ListCustomL if err := awsRestjson1_deserializeDocumentCustomLineItemList(&sv.CustomLineItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3254,6 +3279,7 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemsOutput(v **ListCustomL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3414,6 +3440,7 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentCustomLineItemVersionList(&sv.CustomLineItemVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3422,6 +3449,7 @@ func awsRestjson1_deserializeOpDocumentListCustomLineItemVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3586,6 +3614,7 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansOutput(v **ListPricingPla } sv.BillingPeriod = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3594,10 +3623,12 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansOutput(v **ListPricingPla } sv.NextToken = ptr.String(jtv) } + case "PricingPlans": if err := awsRestjson1_deserializeDocumentPricingPlanList(&sv.PricingPlans, value); err != nil { return err } + default: _, _ = key, value @@ -3765,6 +3796,7 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.BillingPeriod = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3773,10 +3805,12 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.NextToken = ptr.String(jtv) } + case "PricingPlanArns": if err := awsRestjson1_deserializeDocumentPricingPlanArns(&sv.PricingPlanArns, value); err != nil { return err } + case "PricingRuleArn": if value != nil { jtv, ok := value.(string) @@ -3785,6 +3819,7 @@ func awsRestjson1_deserializeOpDocumentListPricingPlansAssociatedWithPricingRule } sv.PricingRuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3949,6 +3984,7 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesOutput(v **ListPricingRul } sv.BillingPeriod = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3957,10 +3993,12 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesOutput(v **ListPricingRul } sv.NextToken = ptr.String(jtv) } + case "PricingRules": if err := awsRestjson1_deserializeDocumentPricingRuleList(&sv.PricingRules, value); err != nil { return err } + default: _, _ = key, value @@ -4128,6 +4166,7 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.BillingPeriod = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4136,6 +4175,7 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.NextToken = ptr.String(jtv) } + case "PricingPlanArn": if value != nil { jtv, ok := value.(string) @@ -4144,10 +4184,12 @@ func awsRestjson1_deserializeOpDocumentListPricingRulesAssociatedToPricingPlanOu } sv.PricingPlanArn = ptr.String(jtv) } + case "PricingRuleArns": if err := awsRestjson1_deserializeDocumentPricingRuleArns(&sv.PricingRuleArns, value); err != nil { return err } + default: _, _ = key, value @@ -4315,10 +4357,12 @@ func awsRestjson1_deserializeOpDocumentListResourcesAssociatedToCustomLineItemOu } sv.Arn = ptr.String(jtv) } + case "AssociatedResources": if err := awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResponseList(&sv.AssociatedResources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4327,6 +4371,7 @@ func awsRestjson1_deserializeOpDocumentListResourcesAssociatedToCustomLineItemOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4490,6 +4535,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4856,6 +4902,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin if err := awsRestjson1_deserializeDocumentUpdateBillingGroupAccountGrouping(&sv.AccountGrouping, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4864,6 +4911,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4872,6 +4920,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -4884,6 +4933,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4892,6 +4942,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Name = ptr.String(jtv) } + case "PricingPlanArn": if value != nil { jtv, ok := value.(string) @@ -4900,6 +4951,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.PricingPlanArn = ptr.String(jtv) } + case "PrimaryAccountId": if value != nil { jtv, ok := value.(string) @@ -4908,6 +4960,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.PrimaryAccountId = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -4920,6 +4973,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Size = i64 } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4928,6 +4982,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Status = types.BillingGroupStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4936,6 +4991,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5103,6 +5159,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Arn = ptr.String(jtv) } + case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -5115,6 +5172,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.AssociationSize = i64 } + case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -5123,10 +5181,12 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.BillingGroupArn = ptr.String(jtv) } + case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5195,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5147,6 +5208,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5155,6 +5217,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomLineItemOutput(v **UpdateCust } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5325,6 +5388,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5333,6 +5397,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5345,6 +5410,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5353,6 +5419,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Name = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -5365,6 +5432,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing } sv.Size = i64 } + default: _, _ = key, value @@ -5535,6 +5603,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Arn = ptr.String(jtv) } + case "AssociatedPricingPlanCount": if value != nil { jtv, ok := value.(json.Number) @@ -5547,6 +5616,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.AssociatedPricingPlanCount = i64 } + case "BillingEntity": if value != nil { jtv, ok := value.(string) @@ -5555,6 +5625,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.BillingEntity = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5563,6 +5634,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -5575,6 +5647,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.LastModifiedTime = i64 } + case "ModifierPercentage": if value != nil { switch jtv := value.(type) { @@ -5608,6 +5681,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5616,6 +5690,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Name = ptr.String(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -5624,6 +5699,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Operation = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -5632,6 +5708,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Scope = types.PricingRuleScope(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -5640,10 +5717,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Service = ptr.String(jtv) } + case "Tiering": if err := awsRestjson1_deserializeDocumentUpdateTieringInput(&sv.Tiering, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5652,6 +5731,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.Type = types.PricingRuleType(jtv) } + case "UsageType": if value != nil { jtv, ok := value.(string) @@ -5660,6 +5740,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingRuleOutput(v **UpdatePricing } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -5991,6 +6072,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6064,6 +6146,7 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountEmail = ptr.String(jtv) } + case "AccountId": if value != nil { jtv, ok := value.(string) @@ -6072,6 +6155,7 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountId = ptr.String(jtv) } + case "AccountName": if value != nil { jtv, ok := value.(string) @@ -6080,6 +6164,7 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.AccountName = ptr.String(jtv) } + case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6173,7 @@ func awsRestjson1_deserializeDocumentAccountAssociationsListElement(v **types.Ac } sv.BillingGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6127,6 +6213,7 @@ func awsRestjson1_deserializeDocumentAssociateResourceError(v **types.AssociateR } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -6135,6 +6222,7 @@ func awsRestjson1_deserializeDocumentAssociateResourceError(v **types.AssociateR } sv.Reason = types.AssociateResourceErrorReason(jtv) } + default: _, _ = key, value @@ -6174,10 +6262,12 @@ func awsRestjson1_deserializeDocumentAssociateResourceResponseElement(v **types. } sv.Arn = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentAssociateResourceError(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -6251,6 +6341,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6259,6 +6350,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6332,6 +6424,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Arn = ptr.String(jtv) } + case "AWSCost": if value != nil { jtv, ok := value.(string) @@ -6340,6 +6433,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.AWSCost = ptr.String(jtv) } + case "Currency": if value != nil { jtv, ok := value.(string) @@ -6348,6 +6442,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Currency = ptr.String(jtv) } + case "Margin": if value != nil { jtv, ok := value.(string) @@ -6356,6 +6451,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.Margin = ptr.String(jtv) } + case "MarginPercentage": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6460,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.MarginPercentage = ptr.String(jtv) } + case "ProformaCost": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6469,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportElement(v **types.Bil } sv.ProformaCost = ptr.String(jtv) } + default: _, _ = key, value @@ -6445,10 +6543,12 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Arn = ptr.String(jtv) } + case "Attributes": if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { return err } + case "AWSCost": if value != nil { jtv, ok := value.(string) @@ -6457,6 +6557,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.AWSCost = ptr.String(jtv) } + case "Currency": if value != nil { jtv, ok := value.(string) @@ -6465,6 +6566,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Currency = ptr.String(jtv) } + case "Margin": if value != nil { jtv, ok := value.(string) @@ -6473,6 +6575,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.Margin = ptr.String(jtv) } + case "MarginPercentage": if value != nil { jtv, ok := value.(string) @@ -6481,6 +6584,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.MarginPercentage = ptr.String(jtv) } + case "ProformaCost": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6593,7 @@ func awsRestjson1_deserializeDocumentBillingGroupCostReportResultElement(v **typ } sv.ProformaCost = ptr.String(jtv) } + default: _, _ = key, value @@ -6592,6 +6697,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr if err := awsRestjson1_deserializeDocumentListBillingGroupAccountGrouping(&sv.AccountGrouping, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6600,10 +6706,12 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Arn = ptr.String(jtv) } + case "ComputationPreference": if err := awsRestjson1_deserializeDocumentComputationPreference(&sv.ComputationPreference, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -6616,6 +6724,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.CreationTime = i64 } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6624,6 +6733,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6636,6 +6746,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6644,6 +6755,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Name = ptr.String(jtv) } + case "PrimaryAccountId": if value != nil { jtv, ok := value.(string) @@ -6652,6 +6764,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.PrimaryAccountId = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -6664,6 +6777,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Size = i64 } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6672,6 +6786,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.Status = types.BillingGroupStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6680,6 +6795,7 @@ func awsRestjson1_deserializeDocumentBillingGroupListElement(v **types.BillingGr } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6719,6 +6835,7 @@ func awsRestjson1_deserializeDocumentComputationPreference(v **types.Computation } sv.PricingPlanArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6758,6 +6875,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -6766,6 +6884,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6774,6 +6893,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6782,6 +6902,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6855,6 +6976,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.AccountId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6863,6 +6985,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Arn = ptr.String(jtv) } + case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -6875,6 +6998,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.AssociationSize = i64 } + case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -6883,10 +7007,12 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.BillingGroupArn = ptr.String(jtv) } + case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -6899,6 +7025,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.CreationTime = i64 } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -6907,6 +7034,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.CurrencyCode = types.CurrencyCode(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6915,6 +7043,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6927,6 +7056,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6935,6 +7065,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.Name = ptr.String(jtv) } + case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -6943,6 +7074,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemListElement(v **types.CustomL } sv.ProductCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7016,6 +7148,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.AccountId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -7024,6 +7157,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Arn = ptr.String(jtv) } + case "AssociationSize": if value != nil { jtv, ok := value.(json.Number) @@ -7036,6 +7170,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.AssociationSize = i64 } + case "BillingGroupArn": if value != nil { jtv, ok := value.(string) @@ -7044,10 +7179,12 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.BillingGroupArn = ptr.String(jtv) } + case "ChargeDetails": if err := awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(&sv.ChargeDetails, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -7060,6 +7197,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.CreationTime = i64 } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -7068,6 +7206,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.CurrencyCode = types.CurrencyCode(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7076,6 +7215,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Description = ptr.String(jtv) } + case "EndBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7084,6 +7224,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.EndBillingPeriod = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7096,6 +7237,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7104,6 +7246,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.Name = ptr.String(jtv) } + case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -7112,6 +7255,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.ProductCode = ptr.String(jtv) } + case "StartBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7120,6 +7264,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.StartBillingPeriod = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(json.Number) @@ -7132,6 +7277,7 @@ func awsRestjson1_deserializeDocumentCustomLineItemVersionListElement(v **types. } sv.StartTime = i64 } + default: _, _ = key, value @@ -7171,10 +7317,12 @@ func awsRestjson1_deserializeDocumentDisassociateResourceResponseElement(v **typ } sv.Arn = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentAssociateResourceError(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -7248,6 +7396,7 @@ func awsRestjson1_deserializeDocumentFreeTierConfig(v **types.FreeTierConfig, va } sv.Activated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7287,6 +7436,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7299,6 +7449,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -7338,6 +7489,7 @@ func awsRestjson1_deserializeDocumentLineItemFilter(v **types.LineItemFilter, va } sv.Attribute = types.LineItemFilterAttributeName(jtv) } + case "MatchOption": if value != nil { jtv, ok := value.(string) @@ -7346,10 +7498,12 @@ func awsRestjson1_deserializeDocumentLineItemFilter(v **types.LineItemFilter, va } sv.MatchOption = types.MatchOption(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentLineItemFilterValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7459,6 +7613,7 @@ func awsRestjson1_deserializeDocumentListBillingGroupAccountGrouping(v **types.L } sv.AutoAssociate = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7494,14 +7649,17 @@ func awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(v **types.L if err := awsRestjson1_deserializeDocumentListCustomLineItemFlatChargeDetails(&sv.Flat, value); err != nil { return err } + case "LineItemFilters": if err := awsRestjson1_deserializeDocumentLineItemFiltersList(&sv.LineItemFilters, value); err != nil { return err } + case "Percentage": if err := awsRestjson1_deserializeDocumentListCustomLineItemPercentageChargeDetails(&sv.Percentage, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7668,7 @@ func awsRestjson1_deserializeDocumentListCustomLineItemChargeDetails(v **types.L } sv.Type = types.CustomLineItemType(jtv) } + default: _, _ = key, value @@ -7574,6 +7733,7 @@ func awsRestjson1_deserializeDocumentListCustomLineItemFlatChargeDetails(v **typ } } + default: _, _ = key, value @@ -7638,6 +7798,7 @@ func awsRestjson1_deserializeDocumentListCustomLineItemPercentageChargeDetails(v } } + default: _, _ = key, value @@ -7677,6 +7838,7 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.Arn = ptr.String(jtv) } + case "EndBillingPeriod": if value != nil { jtv, ok := value.(string) @@ -7685,6 +7847,7 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.EndBillingPeriod = ptr.String(jtv) } + case "Relationship": if value != nil { jtv, ok := value.(string) @@ -7693,6 +7856,7 @@ func awsRestjson1_deserializeDocumentListResourcesAssociatedToCustomLineItemResp } sv.Relationship = types.CustomLineItemRelationship(jtv) } + default: _, _ = key, value @@ -7836,6 +8000,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -7848,6 +8013,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.CreationTime = i64 } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7856,6 +8022,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7868,6 +8035,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.LastModifiedTime = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7876,6 +8044,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Name = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -7888,6 +8057,7 @@ func awsRestjson1_deserializeDocumentPricingPlanListElement(v **types.PricingPla } sv.Size = i64 } + default: _, _ = key, value @@ -7997,6 +8167,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Arn = ptr.String(jtv) } + case "AssociatedPricingPlanCount": if value != nil { jtv, ok := value.(json.Number) @@ -8009,6 +8180,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.AssociatedPricingPlanCount = i64 } + case "BillingEntity": if value != nil { jtv, ok := value.(string) @@ -8017,6 +8189,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.BillingEntity = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(json.Number) @@ -8029,6 +8202,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.CreationTime = i64 } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8037,6 +8211,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -8049,6 +8224,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.LastModifiedTime = i64 } + case "ModifierPercentage": if value != nil { switch jtv := value.(type) { @@ -8082,6 +8258,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8090,6 +8267,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Name = ptr.String(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -8098,6 +8276,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Operation = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -8106,6 +8285,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Scope = types.PricingRuleScope(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -8114,10 +8294,12 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Service = ptr.String(jtv) } + case "Tiering": if err := awsRestjson1_deserializeDocumentTiering(&sv.Tiering, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8126,6 +8308,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.Type = types.PricingRuleType(jtv) } + case "UsageType": if value != nil { jtv, ok := value.(string) @@ -8134,6 +8317,7 @@ func awsRestjson1_deserializeDocumentPricingRuleListElement(v **types.PricingRul } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -8173,6 +8357,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8181,6 +8366,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8189,6 +8375,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -8228,6 +8415,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8236,6 +8424,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8244,6 +8433,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8252,6 +8442,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -8260,6 +8451,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -8335,6 +8527,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8347,6 +8540,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -8382,6 +8576,7 @@ func awsRestjson1_deserializeDocumentTiering(v **types.Tiering, value interface{ if err := awsRestjson1_deserializeDocumentFreeTierConfig(&sv.FreeTier, value); err != nil { return err } + default: _, _ = key, value @@ -8421,6 +8616,7 @@ func awsRestjson1_deserializeDocumentUpdateBillingGroupAccountGrouping(v **types } sv.AutoAssociate = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8460,6 +8656,7 @@ func awsRestjson1_deserializeDocumentUpdateFreeTierConfig(v **types.UpdateFreeTi } sv.Activated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8495,6 +8692,7 @@ func awsRestjson1_deserializeDocumentUpdateTieringInput(v **types.UpdateTieringI if err := awsRestjson1_deserializeDocumentUpdateFreeTierConfig(&sv.FreeTier, value); err != nil { return err } + default: _, _ = key, value @@ -8530,6 +8728,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8538,6 +8737,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -8546,6 +8746,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -8585,6 +8786,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8593,6 +8795,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/braket/deserializers.go b/service/braket/deserializers.go index 7e20f56991c..98c4f42d38a 100644 --- a/service/braket/deserializers.go +++ b/service/braket/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.CancellationStatus = types.CancellationStatus(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -198,6 +199,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -368,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentCancelQuantumTaskOutput(v **CancelQuantum } sv.CancellationStatus = types.CancellationStatus(jtv) } + case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -376,6 +379,7 @@ func awsRestjson1_deserializeOpDocumentCancelQuantumTaskOutput(v **CancelQuantum } sv.QuantumTaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -552,6 +556,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -725,6 +730,7 @@ func awsRestjson1_deserializeOpDocumentCreateQuantumTaskOutput(v **CreateQuantum } sv.QuantumTaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -892,6 +898,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceArn = ptr.String(jtv) } + case "deviceCapabilities": if value != nil { jtv, ok := value.(string) @@ -900,6 +907,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceCapabilities = ptr.String(jtv) } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -908,10 +916,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceName = ptr.String(jtv) } + case "deviceQueueInfo": if err := awsRestjson1_deserializeDocumentDeviceQueueInfoList(&sv.DeviceQueueInfo, value); err != nil { return err } + case "deviceStatus": if value != nil { jtv, ok := value.(string) @@ -920,6 +930,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceStatus = types.DeviceStatus(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -928,6 +939,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.DeviceType = types.DeviceType(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -936,6 +948,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu } sv.ProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -1099,10 +1112,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } + case "associations": if err := awsRestjson1_deserializeDocumentAssociations(&sv.Associations, value); err != nil { return err } + case "billableDuration": if value != nil { jtv, ok := value.(json.Number) @@ -1115,10 +1130,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.BillableDuration = ptr.Int32(int32(i64)) } + case "checkpointConfig": if err := awsRestjson1_deserializeDocumentJobCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1131,10 +1148,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } + case "deviceConfig": if err := awsRestjson1_deserializeDocumentDeviceConfig(&sv.DeviceConfig, value); err != nil { return err } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -1147,10 +1166,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.EndedAt = ptr.Time(t) } + case "events": if err := awsRestjson1_deserializeDocumentJobEvents(&sv.Events, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1159,18 +1180,22 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.FailureReason = ptr.String(jtv) } + case "hyperParameters": if err := awsRestjson1_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "inputDataConfig": if err := awsRestjson1_deserializeDocumentInputConfigList(&sv.InputDataConfig, value); err != nil { return err } + case "instanceConfig": if err := awsRestjson1_deserializeDocumentInstanceConfig(&sv.InstanceConfig, value); err != nil { return err } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1204,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -1187,14 +1213,17 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobName = ptr.String(jtv) } + case "outputDataConfig": if err := awsRestjson1_deserializeDocumentJobOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "queueInfo": if err := awsRestjson1_deserializeDocumentHybridJobQueueInfo(&sv.QueueInfo, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1203,6 +1232,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.RoleArn = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -1215,6 +1245,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1223,14 +1254,17 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Status = types.JobPrimaryStatus(jtv) } + case "stoppingCondition": if err := awsRestjson1_deserializeDocumentJobStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1394,6 +1428,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu if err := awsRestjson1_deserializeDocumentAssociations(&sv.Associations, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1406,6 +1441,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.CreatedAt = ptr.Time(t) } + case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -1414,6 +1450,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.DeviceArn = ptr.String(jtv) } + case "deviceParameters": if value != nil { jtv, ok := value.(string) @@ -1422,6 +1459,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.DeviceParameters = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -1434,6 +1472,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.EndedAt = ptr.Time(t) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1442,6 +1481,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.FailureReason = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1450,6 +1490,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.JobArn = ptr.String(jtv) } + case "outputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -1458,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.OutputS3Bucket = ptr.String(jtv) } + case "outputS3Directory": if value != nil { jtv, ok := value.(string) @@ -1466,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.OutputS3Directory = ptr.String(jtv) } + case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -1474,10 +1517,12 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.QuantumTaskArn = ptr.String(jtv) } + case "queueInfo": if err := awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(&sv.QueueInfo, value); err != nil { return err } + case "shots": if value != nil { jtv, ok := value.(json.Number) @@ -1490,6 +1535,7 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.Shots = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1498,10 +1544,12 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu } sv.Status = types.QuantumTaskStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1659,6 +1707,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1819,6 +1868,7 @@ func awsRestjson1_deserializeOpDocumentSearchDevicesOutput(v **SearchDevicesOutp if err := awsRestjson1_deserializeDocumentDeviceSummaryList(&sv.Devices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1827,6 +1877,7 @@ func awsRestjson1_deserializeOpDocumentSearchDevicesOutput(v **SearchDevicesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1987,6 +2038,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1995,6 +2047,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2159,10 +2212,12 @@ func awsRestjson1_deserializeOpDocumentSearchQuantumTasksOutput(v **SearchQuantu } sv.NextToken = ptr.String(jtv) } + case "quantumTasks": if err := awsRestjson1_deserializeDocumentQuantumTaskSummaryList(&sv.QuantumTasks, value); err != nil { return err } + default: _, _ = key, value @@ -2714,6 +2769,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2749,10 +2805,12 @@ func awsRestjson1_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS if err := awsRestjson1_deserializeDocumentContainerImage(&sv.ContainerImage, value); err != nil { return err } + case "scriptModeConfig": if err := awsRestjson1_deserializeDocumentScriptModeConfig(&sv.ScriptModeConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2792,6 +2850,7 @@ func awsRestjson1_deserializeDocumentAssociation(v **types.Association, value in } sv.Arn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2800,6 +2859,7 @@ func awsRestjson1_deserializeDocumentAssociation(v **types.Association, value in } sv.Type = types.AssociationType(jtv) } + default: _, _ = key, value @@ -2873,6 +2933,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2912,6 +2973,7 @@ func awsRestjson1_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -2947,6 +3009,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentS3DataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -2986,6 +3049,7 @@ func awsRestjson1_deserializeDocumentDeviceConfig(v **types.DeviceConfig, value } sv.Device = ptr.String(jtv) } + default: _, _ = key, value @@ -3025,6 +3089,7 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3064,6 +3129,7 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.Queue = types.QueueName(jtv) } + case "queuePriority": if value != nil { jtv, ok := value.(string) @@ -3072,6 +3138,7 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.QueuePriority = types.QueuePriority(jtv) } + case "queueSize": if value != nil { jtv, ok := value.(string) @@ -3080,6 +3147,7 @@ func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, } sv.QueueSize = ptr.String(jtv) } + default: _, _ = key, value @@ -3153,6 +3221,7 @@ func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceReti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3192,6 +3261,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceArn = ptr.String(jtv) } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -3200,6 +3270,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceName = ptr.String(jtv) } + case "deviceStatus": if value != nil { jtv, ok := value.(string) @@ -3208,6 +3279,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceStatus = types.DeviceStatus(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -3216,6 +3288,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceType = types.DeviceType(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -3224,6 +3297,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -3297,6 +3371,7 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Message = ptr.String(jtv) } + case "position": if value != nil { jtv, ok := value.(string) @@ -3305,6 +3380,7 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Position = ptr.String(jtv) } + case "queue": if value != nil { jtv, ok := value.(string) @@ -3313,6 +3389,7 @@ func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueue } sv.Queue = types.QueueName(jtv) } + default: _, _ = key, value @@ -3422,6 +3499,7 @@ func awsRestjson1_deserializeDocumentInputFileConfig(v **types.InputFileConfig, } sv.ChannelName = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -3430,10 +3508,12 @@ func awsRestjson1_deserializeDocumentInputFileConfig(v **types.InputFileConfig, } sv.ContentType = ptr.String(jtv) } + case "dataSource": if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -3477,6 +3557,7 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3566,7 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceType = types.InstanceType(jtv) } + case "volumeSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -3497,6 +3579,7 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.VolumeSizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3536,6 +3619,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3575,6 +3659,7 @@ func awsRestjson1_deserializeDocumentJobCheckpointConfig(v **types.JobCheckpoint } sv.LocalPath = ptr.String(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -3583,6 +3668,7 @@ func awsRestjson1_deserializeDocumentJobCheckpointConfig(v **types.JobCheckpoint } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3622,6 +3708,7 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.EventType = types.JobEventType(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -3630,6 +3717,7 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.Message = ptr.String(jtv) } + case "timeOfEvent": if value != nil { jtv, ok := value.(string) @@ -3642,6 +3730,7 @@ func awsRestjson1_deserializeDocumentJobEventDetails(v **types.JobEventDetails, } sv.TimeOfEvent = ptr.Time(t) } + default: _, _ = key, value @@ -3715,6 +3804,7 @@ func awsRestjson1_deserializeDocumentJobOutputDataConfig(v **types.JobOutputData } sv.KmsKeyId = ptr.String(jtv) } + case "s3Path": if value != nil { jtv, ok := value.(string) @@ -3723,6 +3813,7 @@ func awsRestjson1_deserializeDocumentJobOutputDataConfig(v **types.JobOutputData } sv.S3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -3766,6 +3857,7 @@ func awsRestjson1_deserializeDocumentJobStoppingCondition(v **types.JobStoppingC } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3809,6 +3901,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } + case "device": if value != nil { jtv, ok := value.(string) @@ -3817,6 +3910,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Device = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -3829,6 +3923,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.EndedAt = ptr.Time(t) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -3837,6 +3932,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -3845,6 +3941,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobName = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -3857,6 +3954,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3865,10 +3963,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobPrimaryStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3942,6 +4042,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Message = ptr.String(jtv) } + case "position": if value != nil { jtv, ok := value.(string) @@ -3950,6 +4051,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Position = ptr.String(jtv) } + case "queue": if value != nil { jtv, ok := value.(string) @@ -3958,6 +4060,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.Queue = types.QueueName(jtv) } + case "queuePriority": if value != nil { jtv, ok := value.(string) @@ -3966,6 +4069,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQ } sv.QueuePriority = types.QueuePriority(jtv) } + default: _, _ = key, value @@ -4009,6 +4113,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.CreatedAt = ptr.Time(t) } + case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -4017,6 +4122,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.DeviceArn = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -4029,6 +4135,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.EndedAt = ptr.Time(t) } + case "outputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -4037,6 +4144,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.OutputS3Bucket = ptr.String(jtv) } + case "outputS3Directory": if value != nil { jtv, ok := value.(string) @@ -4045,6 +4153,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.OutputS3Directory = ptr.String(jtv) } + case "quantumTaskArn": if value != nil { jtv, ok := value.(string) @@ -4053,6 +4162,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.QuantumTaskArn = ptr.String(jtv) } + case "shots": if value != nil { jtv, ok := value.(json.Number) @@ -4065,6 +4175,7 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.Shots = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4073,10 +4184,12 @@ func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSum } sv.Status = types.QuantumTaskStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4150,6 +4263,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4189,6 +4303,7 @@ func awsRestjson1_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -4228,6 +4343,7 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.CompressionType = types.CompressionType(jtv) } + case "entryPoint": if value != nil { jtv, ok := value.(string) @@ -4236,6 +4352,7 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.EntryPoint = ptr.String(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -4244,6 +4361,7 @@ func awsRestjson1_deserializeDocumentScriptModeConfig(v **types.ScriptModeConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -4283,6 +4401,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4358,6 +4477,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4397,6 +4517,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/budgets/deserializers.go b/service/budgets/deserializers.go index 540f9156d17..cc48f63a94e 100644 --- a/service/budgets/deserializers.go +++ b/service/budgets/deserializers.go @@ -3724,6 +3724,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3763,10 +3764,12 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionId = ptr.String(jtv) } + case "ActionThreshold": if err := awsAwsjson11_deserializeDocumentActionThreshold(&sv.ActionThreshold, value); err != nil { return err } + case "ActionType": if value != nil { jtv, ok := value.(string) @@ -3775,6 +3778,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = types.ActionType(jtv) } + case "ApprovalModel": if value != nil { jtv, ok := value.(string) @@ -3783,6 +3787,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ApprovalModel = types.ApprovalModel(jtv) } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -3791,10 +3796,12 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.BudgetName = ptr.String(jtv) } + case "Definition": if err := awsAwsjson11_deserializeDocumentDefinition(&sv.Definition, value); err != nil { return err } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3803,6 +3810,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } + case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -3811,6 +3819,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.NotificationType = types.NotificationType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3819,10 +3828,12 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Status = types.ActionStatus(jtv) } + case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } + default: _, _ = key, value @@ -3892,6 +3903,7 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu if err := awsAwsjson11_deserializeDocumentActionHistoryDetails(&sv.ActionHistoryDetails, value); err != nil { return err } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -3900,6 +3912,7 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } sv.EventType = types.EventType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3908,6 +3921,7 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } sv.Status = types.ActionStatus(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -3923,6 +3937,7 @@ func awsAwsjson11_deserializeDocumentActionHistory(v **types.ActionHistory, valu } } + default: _, _ = key, value @@ -3958,6 +3973,7 @@ func awsAwsjson11_deserializeDocumentActionHistoryDetails(v **types.ActionHistor if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3966,6 +3982,7 @@ func awsAwsjson11_deserializeDocumentActionHistoryDetails(v **types.ActionHistor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4039,6 +4056,7 @@ func awsAwsjson11_deserializeDocumentActionThreshold(v **types.ActionThreshold, } sv.ActionThresholdType = types.ThresholdType(jtv) } + case "ActionThresholdValue": if value != nil { switch jtv := value.(type) { @@ -4072,6 +4090,7 @@ func awsAwsjson11_deserializeDocumentActionThreshold(v **types.ActionThreshold, } } + default: _, _ = key, value @@ -4111,10 +4130,12 @@ func awsAwsjson11_deserializeDocumentAutoAdjustData(v **types.AutoAdjustData, va } sv.AutoAdjustType = types.AutoAdjustType(jtv) } + case "HistoricalOptions": if err := awsAwsjson11_deserializeDocumentHistoricalOptions(&sv.HistoricalOptions, value); err != nil { return err } + case "LastAutoAdjustTime": if value != nil { switch jtv := value.(type) { @@ -4130,6 +4151,7 @@ func awsAwsjson11_deserializeDocumentAutoAdjustData(v **types.AutoAdjustData, va } } + default: _, _ = key, value @@ -4165,10 +4187,12 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) if err := awsAwsjson11_deserializeDocumentAutoAdjustData(&sv.AutoAdjustData, value); err != nil { return err } + case "BudgetLimit": if err := awsAwsjson11_deserializeDocumentSpend(&sv.BudgetLimit, value); err != nil { return err } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -4177,6 +4201,7 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.BudgetName = ptr.String(jtv) } + case "BudgetType": if value != nil { jtv, ok := value.(string) @@ -4185,18 +4210,22 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.BudgetType = types.BudgetType(jtv) } + case "CalculatedSpend": if err := awsAwsjson11_deserializeDocumentCalculatedSpend(&sv.CalculatedSpend, value); err != nil { return err } + case "CostFilters": if err := awsAwsjson11_deserializeDocumentCostFilters(&sv.CostFilters, value); err != nil { return err } + case "CostTypes": if err := awsAwsjson11_deserializeDocumentCostTypes(&sv.CostTypes, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4212,14 +4241,17 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } } + case "PlannedBudgetLimits": if err := awsAwsjson11_deserializeDocumentPlannedBudgetLimits(&sv.PlannedBudgetLimits, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } + case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -4228,6 +4260,7 @@ func awsAwsjson11_deserializeDocumentBudget(v **types.Budget, value interface{}) } sv.TimeUnit = types.TimeUnit(jtv) } + default: _, _ = key, value @@ -4263,14 +4296,17 @@ func awsAwsjson11_deserializeDocumentBudgetedAndActualAmounts(v **types.Budgeted if err := awsAwsjson11_deserializeDocumentSpend(&sv.ActualAmount, value); err != nil { return err } + case "BudgetedAmount": if err := awsAwsjson11_deserializeDocumentSpend(&sv.BudgetedAmount, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } + default: _, _ = key, value @@ -4344,10 +4380,12 @@ func awsAwsjson11_deserializeDocumentBudgetNotificationsForAccount(v **types.Bud } sv.BudgetName = ptr.String(jtv) } + case "Notifications": if err := awsAwsjson11_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } + default: _, _ = key, value @@ -4417,6 +4455,7 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe if err := awsAwsjson11_deserializeDocumentBudgetedAndActualAmountsList(&sv.BudgetedAndActualAmountsList, value); err != nil { return err } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -4425,6 +4464,7 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.BudgetName = ptr.String(jtv) } + case "BudgetType": if value != nil { jtv, ok := value.(string) @@ -4433,14 +4473,17 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.BudgetType = types.BudgetType(jtv) } + case "CostFilters": if err := awsAwsjson11_deserializeDocumentCostFilters(&sv.CostFilters, value); err != nil { return err } + case "CostTypes": if err := awsAwsjson11_deserializeDocumentCostTypes(&sv.CostTypes, value); err != nil { return err } + case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -4449,6 +4492,7 @@ func awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(v **types.BudgetPe } sv.TimeUnit = types.TimeUnit(jtv) } + default: _, _ = key, value @@ -4518,10 +4562,12 @@ func awsAwsjson11_deserializeDocumentCalculatedSpend(v **types.CalculatedSpend, if err := awsAwsjson11_deserializeDocumentSpend(&sv.ActualSpend, value); err != nil { return err } + case "ForecastedSpend": if err := awsAwsjson11_deserializeDocumentSpend(&sv.ForecastedSpend, value); err != nil { return err } + default: _, _ = key, value @@ -4595,6 +4641,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeCredit = ptr.Bool(jtv) } + case "IncludeDiscount": if value != nil { jtv, ok := value.(bool) @@ -4603,6 +4650,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeDiscount = ptr.Bool(jtv) } + case "IncludeOtherSubscription": if value != nil { jtv, ok := value.(bool) @@ -4611,6 +4659,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeOtherSubscription = ptr.Bool(jtv) } + case "IncludeRecurring": if value != nil { jtv, ok := value.(bool) @@ -4619,6 +4668,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeRecurring = ptr.Bool(jtv) } + case "IncludeRefund": if value != nil { jtv, ok := value.(bool) @@ -4627,6 +4677,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeRefund = ptr.Bool(jtv) } + case "IncludeSubscription": if value != nil { jtv, ok := value.(bool) @@ -4635,6 +4686,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeSubscription = ptr.Bool(jtv) } + case "IncludeSupport": if value != nil { jtv, ok := value.(bool) @@ -4643,6 +4695,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeSupport = ptr.Bool(jtv) } + case "IncludeTax": if value != nil { jtv, ok := value.(bool) @@ -4651,6 +4704,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeTax = ptr.Bool(jtv) } + case "IncludeUpfront": if value != nil { jtv, ok := value.(bool) @@ -4659,6 +4713,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.IncludeUpfront = ptr.Bool(jtv) } + case "UseAmortized": if value != nil { jtv, ok := value.(bool) @@ -4667,6 +4722,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.UseAmortized = ptr.Bool(jtv) } + case "UseBlended": if value != nil { jtv, ok := value.(bool) @@ -4675,6 +4731,7 @@ func awsAwsjson11_deserializeDocumentCostTypes(v **types.CostTypes, value interf } sv.UseBlended = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4714,6 +4771,7 @@ func awsAwsjson11_deserializeDocumentCreationLimitExceededException(v **types.Cr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4749,14 +4807,17 @@ func awsAwsjson11_deserializeDocumentDefinition(v **types.Definition, value inte if err := awsAwsjson11_deserializeDocumentIamActionDefinition(&sv.IamActionDefinition, value); err != nil { return err } + case "ScpActionDefinition": if err := awsAwsjson11_deserializeDocumentScpActionDefinition(&sv.ScpActionDefinition, value); err != nil { return err } + case "SsmActionDefinition": if err := awsAwsjson11_deserializeDocumentSsmActionDefinition(&sv.SsmActionDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -4832,6 +4893,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRecordException(v **types.Duplicat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4871,6 +4933,7 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4950,6 +5013,7 @@ func awsAwsjson11_deserializeDocumentHistoricalOptions(v **types.HistoricalOptio } sv.BudgetAdjustmentPeriod = ptr.Int32(int32(i64)) } + case "LookBackAvailablePeriods": if value != nil { jtv, ok := value.(json.Number) @@ -4962,6 +5026,7 @@ func awsAwsjson11_deserializeDocumentHistoricalOptions(v **types.HistoricalOptio } sv.LookBackAvailablePeriods = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4997,6 +5062,7 @@ func awsAwsjson11_deserializeDocumentIamActionDefinition(v **types.IamActionDefi if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -5005,14 +5071,17 @@ func awsAwsjson11_deserializeDocumentIamActionDefinition(v **types.IamActionDefi } sv.PolicyArn = ptr.String(jtv) } + case "Roles": if err := awsAwsjson11_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } + case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -5088,6 +5157,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5127,6 +5197,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5166,6 +5237,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5205,6 +5277,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5244,6 +5317,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "NotificationState": if value != nil { jtv, ok := value.(string) @@ -5252,6 +5326,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotificationState = types.NotificationState(jtv) } + case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -5260,6 +5335,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotificationType = types.NotificationType(jtv) } + case "Threshold": if value != nil { switch jtv := value.(type) { @@ -5293,6 +5369,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } } + case "ThresholdType": if value != nil { jtv, ok := value.(string) @@ -5301,6 +5378,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.ThresholdType = types.ThresholdType(jtv) } + default: _, _ = key, value @@ -5409,6 +5487,7 @@ func awsAwsjson11_deserializeDocumentResourceLockedException(v **types.ResourceL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5448,6 +5527,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5456,6 +5536,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5565,10 +5646,12 @@ func awsAwsjson11_deserializeDocumentScpActionDefinition(v **types.ScpActionDefi } sv.PolicyId = ptr.String(jtv) } + case "TargetIds": if err := awsAwsjson11_deserializeDocumentTargetIds(&sv.TargetIds, value); err != nil { return err } + default: _, _ = key, value @@ -5608,6 +5691,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5647,6 +5731,7 @@ func awsAwsjson11_deserializeDocumentSpend(v **types.Spend, value interface{}) e } sv.Amount = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -5655,6 +5740,7 @@ func awsAwsjson11_deserializeDocumentSpend(v **types.Spend, value interface{}) e } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -5694,10 +5780,12 @@ func awsAwsjson11_deserializeDocumentSsmActionDefinition(v **types.SsmActionDefi } sv.ActionSubType = types.ActionSubType(jtv) } + case "InstanceIds": if err := awsAwsjson11_deserializeDocumentInstanceIds(&sv.InstanceIds, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -5706,6 +5794,7 @@ func awsAwsjson11_deserializeDocumentSsmActionDefinition(v **types.SsmActionDefi } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -5745,6 +5834,7 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Address = ptr.String(jtv) } + case "SubscriptionType": if value != nil { jtv, ok := value.(string) @@ -5753,6 +5843,7 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.SubscriptionType = types.SubscriptionType(jtv) } + default: _, _ = key, value @@ -5862,6 +5953,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5908,6 +6000,7 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } + case "Start": if value != nil { switch jtv := value.(type) { @@ -5923,6 +6016,7 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } + default: _, _ = key, value @@ -5998,6 +6092,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.AccountId = ptr.String(jtv) } + case "ActionId": if value != nil { jtv, ok := value.(string) @@ -6006,6 +6101,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.ActionId = ptr.String(jtv) } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6014,6 +6110,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBudgetActionOutput(v **CreateBudget } sv.BudgetName = ptr.String(jtv) } + default: _, _ = key, value @@ -6146,10 +6243,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteBudgetActionOutput(v **DeleteBudget } sv.AccountId = ptr.String(jtv) } + case "Action": if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6158,6 +6257,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBudgetActionOutput(v **DeleteBudget } sv.BudgetName = ptr.String(jtv) } + default: _, _ = key, value @@ -6286,6 +6386,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionHistoriesOutput(v **D if err := awsAwsjson11_deserializeDocumentActionHistories(&sv.ActionHistories, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6294,6 +6395,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionHistoriesOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6333,10 +6435,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionOutput(v **DescribeBu } sv.AccountId = ptr.String(jtv) } + case "Action": if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6345,6 +6449,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionOutput(v **DescribeBu } sv.BudgetName = ptr.String(jtv) } + default: _, _ = key, value @@ -6380,6 +6485,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForAccountOutput(v * if err := awsAwsjson11_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6388,6 +6494,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForAccountOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6423,6 +6530,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForBudgetOutput(v ** if err := awsAwsjson11_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6431,6 +6539,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetActionsForBudgetOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6466,6 +6575,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetNotificationsForAccountOutp if err := awsAwsjson11_deserializeDocumentBudgetNotificationsForAccountList(&sv.BudgetNotificationsForAccount, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6584,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetNotificationsForAccountOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6509,6 +6620,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetOutput(v **DescribeBudgetOu if err := awsAwsjson11_deserializeDocumentBudget(&sv.Budget, value); err != nil { return err } + default: _, _ = key, value @@ -6544,6 +6656,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetPerformanceHistoryOutput(v if err := awsAwsjson11_deserializeDocumentBudgetPerformanceHistory(&sv.BudgetPerformanceHistory, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6552,6 +6665,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetPerformanceHistoryOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6587,6 +6701,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetsOutput(v **DescribeBudgets if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6595,6 +6710,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBudgetsOutput(v **DescribeBudgets } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6634,10 +6750,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotificationsForBudgetOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Notifications": if err := awsAwsjson11_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } + default: _, _ = key, value @@ -6677,10 +6795,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscribersForNotificationOutput( } sv.NextToken = ptr.String(jtv) } + case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } + default: _, _ = key, value @@ -6720,6 +6840,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.AccountId = ptr.String(jtv) } + case "ActionId": if value != nil { jtv, ok := value.(string) @@ -6728,6 +6849,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.ActionId = ptr.String(jtv) } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6736,6 +6858,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.BudgetName = ptr.String(jtv) } + case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -6744,6 +6867,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteBudgetActionOutput(v **ExecuteBudg } sv.ExecutionType = types.ExecutionType(jtv) } + default: _, _ = key, value @@ -6779,6 +6903,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -6880,6 +7005,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBudgetActionOutput(v **UpdateBudget } sv.AccountId = ptr.String(jtv) } + case "BudgetName": if value != nil { jtv, ok := value.(string) @@ -6888,14 +7014,17 @@ func awsAwsjson11_deserializeOpDocumentUpdateBudgetActionOutput(v **UpdateBudget } sv.BudgetName = ptr.String(jtv) } + case "NewAction": if err := awsAwsjson11_deserializeDocumentAction(&sv.NewAction, value); err != nil { return err } + case "OldAction": if err := awsAwsjson11_deserializeDocumentAction(&sv.OldAction, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/chatbot/deserializers.go b/service/chatbot/deserializers.go index 16f6aaee9a4..4a32245c349 100644 --- a/service/chatbot/deserializers.go +++ b/service/chatbot/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentCreateChimeWebhookConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentChimeWebhookConfiguration(&sv.WebhookConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -346,6 +347,7 @@ func awsRestjson1_deserializeOpDocumentCreateMicrosoftTeamsChannelConfigurationO if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -509,6 +511,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlackChannelConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentSlackChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1331,10 +1334,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChimeWebhookConfigurationsOutput( } sv.NextToken = ptr.String(jtv) } + case "WebhookConfigurations": if err := awsRestjson1_deserializeDocumentChimeWebhookConfigurationList(&sv.WebhookConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -1496,10 +1501,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackChannelConfigurationsOutput( } sv.NextToken = ptr.String(jtv) } + case "SlackChannelConfigurations": if err := awsRestjson1_deserializeDocumentSlackChannelConfigurationList(&sv.SlackChannelConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -1661,10 +1668,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackUserIdentitiesOutput(v **Des } sv.NextToken = ptr.String(jtv) } + case "SlackUserIdentities": if err := awsRestjson1_deserializeDocumentSlackUserIdentitiesList(&sv.SlackUserIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -1826,10 +1835,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSlackWorkspacesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "SlackWorkspaces": if err := awsRestjson1_deserializeDocumentSlackWorkspacesList(&sv.SlackWorkspaces, value); err != nil { return err } + default: _, _ = key, value @@ -1984,6 +1995,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountPreferencesOutput(v **GetAccoun if err := awsRestjson1_deserializeDocumentAccountPreferences(&sv.AccountPreferences, value); err != nil { return err } + default: _, _ = key, value @@ -2141,6 +2153,7 @@ func awsRestjson1_deserializeOpDocumentGetMicrosoftTeamsChannelConfigurationOutp if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2302,10 +2315,12 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsChannelConfigurationsOu } sv.NextToken = ptr.String(jtv) } + case "TeamChannelConfigurations": if err := awsRestjson1_deserializeDocumentTeamChannelConfigurationsList(&sv.TeamChannelConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2463,6 +2478,7 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsConfiguredTeamsOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTeamsList(&sv.ConfiguredTeams, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2471,6 +2487,7 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsConfiguredTeamsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2632,10 +2649,12 @@ func awsRestjson1_deserializeOpDocumentListMicrosoftTeamsUserIdentitiesOutput(v } sv.NextToken = ptr.String(jtv) } + case "TeamsUserIdentities": if err := awsRestjson1_deserializeDocumentTeamsUserIdentitiesList(&sv.TeamsUserIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -2793,6 +2812,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3141,6 +3161,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountPreferencesOutput(v **Update if err := awsRestjson1_deserializeDocumentAccountPreferences(&sv.AccountPreferences, value); err != nil { return err } + default: _, _ = key, value @@ -3301,6 +3322,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChimeWebhookConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentChimeWebhookConfiguration(&sv.WebhookConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3461,6 +3483,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMicrosoftTeamsChannelConfigurationO if err := awsRestjson1_deserializeDocumentTeamsChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3621,6 +3644,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentSlackChannelConfiguration(&sv.ChannelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4776,6 +4800,7 @@ func awsRestjson1_deserializeDocumentAccountPreferences(v **types.AccountPrefere } sv.TrainingDataCollectionEnabled = ptr.Bool(jtv) } + case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -4784,6 +4809,7 @@ func awsRestjson1_deserializeDocumentAccountPreferences(v **types.AccountPrefere } sv.UserAuthorizationRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4823,6 +4849,7 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.ChatConfigurationArn = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4831,6 +4858,7 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.ConfigurationName = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -4839,6 +4867,7 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.IamRoleArn = ptr.String(jtv) } + case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -4847,10 +4876,12 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.LoggingLevel = ptr.String(jtv) } + case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -4859,6 +4890,7 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4867,10 +4899,12 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.StateReason = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "WebhookDescription": if value != nil { jtv, ok := value.(string) @@ -4879,6 +4913,7 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe } sv.WebhookDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -4952,6 +4987,7 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4960,6 +4996,7 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.StateReason = ptr.String(jtv) } + case "TeamId": if value != nil { jtv, ok := value.(string) @@ -4968,6 +5005,7 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TeamId = ptr.String(jtv) } + case "TeamName": if value != nil { jtv, ok := value.(string) @@ -4976,6 +5014,7 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TeamName = ptr.String(jtv) } + case "TenantId": if value != nil { jtv, ok := value.(string) @@ -4984,6 +5023,7 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va } sv.TenantId = ptr.String(jtv) } + default: _, _ = key, value @@ -5057,6 +5097,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5096,6 +5137,7 @@ func awsRestjson1_deserializeDocumentCreateChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5135,6 +5177,7 @@ func awsRestjson1_deserializeDocumentCreateSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5174,6 +5217,7 @@ func awsRestjson1_deserializeDocumentCreateTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5213,6 +5257,7 @@ func awsRestjson1_deserializeDocumentDeleteChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5252,6 +5297,7 @@ func awsRestjson1_deserializeDocumentDeleteMicrosoftTeamsUserIdentityException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5291,6 +5337,7 @@ func awsRestjson1_deserializeDocumentDeleteSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5330,6 +5377,7 @@ func awsRestjson1_deserializeDocumentDeleteSlackUserIdentityException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5369,6 +5417,7 @@ func awsRestjson1_deserializeDocumentDeleteSlackWorkspaceAuthorizationFault(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5408,6 +5457,7 @@ func awsRestjson1_deserializeDocumentDeleteTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5447,6 +5497,7 @@ func awsRestjson1_deserializeDocumentDeleteTeamsConfiguredTeamException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5486,6 +5537,7 @@ func awsRestjson1_deserializeDocumentDescribeChimeWebhookConfigurationsException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5525,6 +5577,7 @@ func awsRestjson1_deserializeDocumentDescribeSlackChannelConfigurationsException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5564,6 +5617,7 @@ func awsRestjson1_deserializeDocumentDescribeSlackUserIdentitiesException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5603,6 +5657,7 @@ func awsRestjson1_deserializeDocumentDescribeSlackWorkspacesException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5642,6 +5697,7 @@ func awsRestjson1_deserializeDocumentGetAccountPreferencesException(v **types.Ge } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5681,6 +5737,7 @@ func awsRestjson1_deserializeDocumentGetTeamsChannelConfigurationException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5756,6 +5813,7 @@ func awsRestjson1_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5795,6 +5853,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5834,6 +5893,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5873,6 +5933,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5912,6 +5973,7 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsConfiguredTeamsException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5951,6 +6013,7 @@ func awsRestjson1_deserializeDocumentListMicrosoftTeamsUserIdentitiesException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5990,6 +6053,7 @@ func awsRestjson1_deserializeDocumentListTeamsChannelConfigurationsException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6029,6 +6093,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6068,6 +6133,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6107,6 +6173,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChatConfigurationArn = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6115,10 +6182,12 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ConfigurationName = ptr.String(jtv) } + case "GuardrailPolicyArns": if err := awsRestjson1_deserializeDocumentGuardrailPolicyArnList(&sv.GuardrailPolicyArns, value); err != nil { return err } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6127,6 +6196,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.IamRoleArn = ptr.String(jtv) } + case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -6135,6 +6205,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.LoggingLevel = ptr.String(jtv) } + case "SlackChannelId": if value != nil { jtv, ok := value.(string) @@ -6143,6 +6214,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackChannelId = ptr.String(jtv) } + case "SlackChannelName": if value != nil { jtv, ok := value.(string) @@ -6151,6 +6223,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackChannelName = ptr.String(jtv) } + case "SlackTeamId": if value != nil { jtv, ok := value.(string) @@ -6159,6 +6232,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackTeamId = ptr.String(jtv) } + case "SlackTeamName": if value != nil { jtv, ok := value.(string) @@ -6167,10 +6241,12 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.SlackTeamName = ptr.String(jtv) } + case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -6179,6 +6255,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6187,10 +6264,12 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.StateReason = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -6199,6 +6278,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.UserAuthorizationRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6306,6 +6386,7 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.AwsUserIdentity = ptr.String(jtv) } + case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6314,6 +6395,7 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.ChatConfigurationArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6322,6 +6404,7 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.IamRoleArn = ptr.String(jtv) } + case "SlackTeamId": if value != nil { jtv, ok := value.(string) @@ -6330,6 +6413,7 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.SlackTeamId = ptr.String(jtv) } + case "SlackUserId": if value != nil { jtv, ok := value.(string) @@ -6338,6 +6422,7 @@ func awsRestjson1_deserializeDocumentSlackUserIdentity(v **types.SlackUserIdenti } sv.SlackUserId = ptr.String(jtv) } + default: _, _ = key, value @@ -6377,6 +6462,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.SlackTeamId = ptr.String(jtv) } + case "SlackTeamName": if value != nil { jtv, ok := value.(string) @@ -6385,6 +6471,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.SlackTeamName = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6393,6 +6480,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6401,6 +6489,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6510,6 +6599,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -6518,6 +6608,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -6659,6 +6750,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChannelId = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6667,6 +6759,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChannelName = ptr.String(jtv) } + case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6675,6 +6768,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ChatConfigurationArn = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -6683,10 +6777,12 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.ConfigurationName = ptr.String(jtv) } + case "GuardrailPolicyArns": if err := awsRestjson1_deserializeDocumentGuardrailPolicyArnList(&sv.GuardrailPolicyArns, value); err != nil { return err } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6695,6 +6791,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.IamRoleArn = ptr.String(jtv) } + case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -6703,10 +6800,12 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.LoggingLevel = ptr.String(jtv) } + case "SnsTopicArns": if err := awsRestjson1_deserializeDocumentSnsTopicArnList(&sv.SnsTopicArns, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -6715,6 +6814,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6723,10 +6823,12 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.StateReason = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "TeamId": if value != nil { jtv, ok := value.(string) @@ -6735,6 +6837,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TeamId = ptr.String(jtv) } + case "TeamName": if value != nil { jtv, ok := value.(string) @@ -6743,6 +6846,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TeamName = ptr.String(jtv) } + case "TenantId": if value != nil { jtv, ok := value.(string) @@ -6751,6 +6855,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.TenantId = ptr.String(jtv) } + case "UserAuthorizationRequired": if value != nil { jtv, ok := value.(bool) @@ -6759,6 +6864,7 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh } sv.UserAuthorizationRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6832,6 +6938,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.AwsUserIdentity = ptr.String(jtv) } + case "ChatConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6840,6 +6947,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.ChatConfigurationArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -6848,6 +6956,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.IamRoleArn = ptr.String(jtv) } + case "TeamId": if value != nil { jtv, ok := value.(string) @@ -6856,6 +6965,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamId = ptr.String(jtv) } + case "TeamsChannelId": if value != nil { jtv, ok := value.(string) @@ -6864,6 +6974,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamsChannelId = ptr.String(jtv) } + case "TeamsTenantId": if value != nil { jtv, ok := value.(string) @@ -6872,6 +6983,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.TeamsTenantId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -6880,6 +6992,7 @@ func awsRestjson1_deserializeDocumentTeamsUserIdentity(v **types.TeamsUserIdenti } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -6919,6 +7032,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6958,6 +7072,7 @@ func awsRestjson1_deserializeDocumentUpdateAccountPreferencesException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6997,6 +7112,7 @@ func awsRestjson1_deserializeDocumentUpdateChimeWebhookConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7036,6 +7152,7 @@ func awsRestjson1_deserializeDocumentUpdateSlackChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7075,6 +7192,7 @@ func awsRestjson1_deserializeDocumentUpdateTeamsChannelConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/chime/deserializers.go b/service/chime/deserializers.go index e53a6d073c0..4c8ca2b8693 100644 --- a/service/chime/deserializers.go +++ b/service/chime/deserializers.go @@ -193,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorOu if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -365,6 +366,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorGr if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -752,10 +754,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateAttendeeOutput(v **BatchCreate if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -922,10 +926,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateChannelMembershipOutput(v **Ba if err := awsRestjson1_deserializeDocumentBatchChannelMemberships(&sv.BatchChannelMemberships, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateChannelMembershipErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -1095,6 +1101,7 @@ func awsRestjson1_deserializeOpDocumentBatchCreateRoomMembershipOutput(v **Batch if err := awsRestjson1_deserializeDocumentMemberErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -1264,6 +1271,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeletePhoneNumberOutput(v **BatchDel if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -1433,6 +1441,7 @@ func awsRestjson1_deserializeOpDocumentBatchSuspendUserOutput(v **BatchSuspendUs if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } + default: _, _ = key, value @@ -1602,6 +1611,7 @@ func awsRestjson1_deserializeOpDocumentBatchUnsuspendUserOutput(v **BatchUnsuspe if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } + default: _, _ = key, value @@ -1771,6 +1781,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdatePhoneNumberOutput(v **BatchUpd if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -1940,6 +1951,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateUserOutput(v **BatchUpdateUser if err := awsRestjson1_deserializeDocumentUserErrorList(&sv.UserErrors, value); err != nil { return err } + default: _, _ = key, value @@ -2109,6 +2121,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountOutput(v **CreateAccountOutp if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } + default: _, _ = key, value @@ -2285,6 +2298,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceOutput(v **CreateAppInst } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2457,6 +2471,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentIdentity(&sv.AppInstanceAdmin, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -2465,6 +2480,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2641,6 +2657,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceUserOutput(v **CreateApp } sv.AppInstanceUserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2813,6 +2830,7 @@ func awsRestjson1_deserializeOpDocumentCreateAttendeeOutput(v **CreateAttendeeOu if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + default: _, _ = key, value @@ -2985,6 +3003,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } + default: _, _ = key, value @@ -3161,6 +3180,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3337,10 +3357,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelBanOutput(v **CreateChannelB } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -3517,10 +3539,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -3697,10 +3721,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelModeratorOutput(v **CreateCh } sv.ChannelArn = ptr.String(jtv) } + case "ChannelModerator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.ChannelModerator, value); err != nil { return err } + default: _, _ = key, value @@ -3870,6 +3896,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaCapturePipelineOutput(v **Crea if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } + default: _, _ = key, value @@ -4039,6 +4066,7 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingOutput(v **CreateMeetingOutp if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -4215,6 +4243,7 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingDialOutOutput(v **CreateMeet } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4384,14 +4413,17 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingWithAttendeesOutput(v **Crea if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } + case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -4564,6 +4596,7 @@ func awsRestjson1_deserializeOpDocumentCreatePhoneNumberOrderOutput(v **CreatePh if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } + default: _, _ = key, value @@ -4733,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentCreateProxySessionOutput(v **CreateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -4905,6 +4939,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } + default: _, _ = key, value @@ -5080,6 +5115,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomMembershipOutput(v **CreateRoom if err := awsRestjson1_deserializeDocumentRoomMembership(&sv.RoomMembership, value); err != nil { return err } + default: _, _ = key, value @@ -5255,6 +5291,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationOutput(v **Creat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -5427,6 +5464,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationCallOutput(v **C if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } + default: _, _ = key, value @@ -5602,6 +5640,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipRuleOutput(v **CreateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -5774,6 +5813,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -5946,6 +5986,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorOutput(v **CreateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -6118,6 +6159,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorGroupOutput(v **Creat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -9408,6 +9450,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceOutput(v **DescribeApp if err := awsRestjson1_deserializeDocumentAppInstance(&sv.AppInstance, value); err != nil { return err } + default: _, _ = key, value @@ -9574,6 +9617,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceAdminOutput(v **Descri if err := awsRestjson1_deserializeDocumentAppInstanceAdmin(&sv.AppInstanceAdmin, value); err != nil { return err } + default: _, _ = key, value @@ -9740,6 +9784,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserOutput(v **Describ if err := awsRestjson1_deserializeDocumentAppInstanceUser(&sv.AppInstanceUser, value); err != nil { return err } + default: _, _ = key, value @@ -9906,6 +9951,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -10075,6 +10121,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelBanOutput(v **DescribeChan if err := awsRestjson1_deserializeDocumentChannelBan(&sv.ChannelBan, value); err != nil { return err } + default: _, _ = key, value @@ -10244,6 +10291,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipOutput(v **Descr if err := awsRestjson1_deserializeDocumentChannelMembership(&sv.ChannelMembership, value); err != nil { return err } + default: _, _ = key, value @@ -10410,6 +10458,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipForAppInstanceUs if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary(&sv.ChannelMembership, value); err != nil { return err } + default: _, _ = key, value @@ -10576,6 +10625,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratedByAppInstanceUser if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -10745,6 +10795,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratorOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelModerator(&sv.ChannelModerator, value); err != nil { return err } + default: _, _ = key, value @@ -11020,6 +11071,7 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -11189,6 +11241,7 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -11464,6 +11517,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } + default: _, _ = key, value @@ -11633,6 +11687,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -11802,6 +11857,7 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } + case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -11817,6 +11873,7 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * } } + default: _, _ = key, value @@ -11986,6 +12043,7 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceStreamingConfigurationsOutp if err := awsRestjson1_deserializeDocumentAppInstanceStreamingConfigurationList(&sv.AppInstanceStreamingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -12155,6 +12213,7 @@ func awsRestjson1_deserializeOpDocumentGetAttendeeOutput(v **GetAttendeeOutput, if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + default: _, _ = key, value @@ -12324,6 +12383,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } + default: _, _ = key, value @@ -12493,6 +12553,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageOutput(v **GetChannelMes if err := awsRestjson1_deserializeDocumentChannelMessage(&sv.ChannelMessage, value); err != nil { return err } + default: _, _ = key, value @@ -12662,6 +12723,7 @@ func awsRestjson1_deserializeOpDocumentGetEventsConfigurationOutput(v **GetEvent if err := awsRestjson1_deserializeDocumentEventsConfiguration(&sv.EventsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -12828,10 +12890,12 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett if err := awsRestjson1_deserializeDocumentBusinessCallingSettings(&sv.BusinessCalling, value); err != nil { return err } + case "VoiceConnector": if err := awsRestjson1_deserializeDocumentVoiceConnectorSettings(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -13001,6 +13065,7 @@ func awsRestjson1_deserializeOpDocumentGetMediaCapturePipelineOutput(v **GetMedi if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } + default: _, _ = key, value @@ -13170,6 +13235,7 @@ func awsRestjson1_deserializeOpDocumentGetMeetingOutput(v **GetMeetingOutput, va if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -13333,6 +13399,7 @@ func awsRestjson1_deserializeOpDocumentGetMessagingSessionEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentMessagingSessionEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -13502,6 +13569,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOutput(v **GetPhoneNumberOu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -13671,6 +13739,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOrderOutput(v **GetPhoneNum if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } + default: _, _ = key, value @@ -13841,6 +13910,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingName = ptr.String(jtv) } + case "CallingNameUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -13853,6 +13923,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingNameUpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -14022,6 +14093,7 @@ func awsRestjson1_deserializeOpDocumentGetProxySessionOutput(v **GetProxySession if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -14199,10 +14271,12 @@ func awsRestjson1_deserializeOpDocumentGetRetentionSettingsOutput(v **GetRetenti } sv.InitiateDeletionTimestamp = ptr.Time(t) } + case "RetentionSettings": if err := awsRestjson1_deserializeDocumentRetentionSettings(&sv.RetentionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -14372,6 +14446,7 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } + default: _, _ = key, value @@ -14541,6 +14616,7 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationOutput(v **GetSipMe if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -14710,6 +14786,7 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14879,6 +14956,7 @@ func awsRestjson1_deserializeOpDocumentGetSipRuleOutput(v **GetSipRuleOutput, va if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -15048,6 +15126,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -15217,6 +15296,7 @@ func awsRestjson1_deserializeOpDocumentGetUserSettingsOutput(v **GetUserSettings if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -15386,6 +15466,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOutput(v **GetVoiceConne if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -15555,6 +15636,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -15724,6 +15806,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorGroupOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -15893,6 +15976,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16062,6 +16146,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOriginationOutput(v **Ge if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } + default: _, _ = key, value @@ -16231,6 +16316,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorProxyOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } + default: _, _ = key, value @@ -16400,6 +16486,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16569,6 +16656,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationOutput(v **Ge if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } + default: _, _ = key, value @@ -16738,6 +16826,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationHealthOutput( if err := awsRestjson1_deserializeDocumentTerminationHealth(&sv.TerminationHealth, value); err != nil { return err } + default: _, _ = key, value @@ -16907,6 +16996,7 @@ func awsRestjson1_deserializeOpDocumentInviteUsersOutput(v **InviteUsersOutput, if err := awsRestjson1_deserializeDocumentInviteList(&sv.Invites, value); err != nil { return err } + default: _, _ = key, value @@ -17076,6 +17166,7 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17084,6 +17175,7 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17250,6 +17342,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn if err := awsRestjson1_deserializeDocumentAppInstanceAdminList(&sv.AppInstanceAdmins, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -17258,6 +17351,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.AppInstanceArn = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17266,6 +17360,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17432,6 +17527,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc if err := awsRestjson1_deserializeDocumentAppInstanceList(&sv.AppInstances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17440,6 +17536,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17610,10 +17707,12 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.AppInstanceArn = ptr.String(jtv) } + case "AppInstanceUsers": if err := awsRestjson1_deserializeDocumentAppInstanceUserList(&sv.AppInstanceUsers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17622,6 +17721,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17791,6 +17891,7 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17799,6 +17900,7 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17968,6 +18070,7 @@ func awsRestjson1_deserializeOpDocumentListAttendeeTagsOutput(v **ListAttendeeTa if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18137,6 +18240,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentBotList(&sv.Bots, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18145,6 +18249,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18315,10 +18420,12 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.ChannelArn = ptr.String(jtv) } + case "ChannelBans": if err := awsRestjson1_deserializeDocumentChannelBanSummaryList(&sv.ChannelBans, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18327,6 +18434,7 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18497,10 +18605,12 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.ChannelArn = ptr.String(jtv) } + case "ChannelMemberships": if err := awsRestjson1_deserializeDocumentChannelMembershipSummaryList(&sv.ChannelMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18509,6 +18619,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18675,6 +18786,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummaryList(&sv.ChannelMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18683,6 +18795,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18853,10 +18966,12 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.ChannelArn = ptr.String(jtv) } + case "ChannelMessages": if err := awsRestjson1_deserializeDocumentChannelMessageSummaryList(&sv.ChannelMessages, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18865,6 +18980,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19035,10 +19151,12 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.ChannelArn = ptr.String(jtv) } + case "ChannelModerators": if err := awsRestjson1_deserializeDocumentChannelModeratorSummaryList(&sv.ChannelModerators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19047,6 +19165,7 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19213,6 +19332,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19221,6 +19341,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19387,6 +19508,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19395,6 +19517,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19561,6 +19684,7 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM if err := awsRestjson1_deserializeDocumentMediaCapturePipelineList(&sv.MediaCapturePipelines, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19569,6 +19693,7 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19735,6 +19860,7 @@ func awsRestjson1_deserializeOpDocumentListMeetingsOutput(v **ListMeetingsOutput if err := awsRestjson1_deserializeDocumentMeetingList(&sv.Meetings, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19743,6 +19869,7 @@ func awsRestjson1_deserializeOpDocumentListMeetingsOutput(v **ListMeetingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19912,6 +20039,7 @@ func awsRestjson1_deserializeOpDocumentListMeetingTagsOutput(v **ListMeetingTags if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20082,10 +20210,12 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumberOrdersOutput(v **ListPhone } sv.NextToken = ptr.String(jtv) } + case "PhoneNumberOrders": if err := awsRestjson1_deserializeDocumentPhoneNumberOrderList(&sv.PhoneNumberOrders, value); err != nil { return err } + default: _, _ = key, value @@ -20259,10 +20389,12 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } + case "PhoneNumbers": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumbers, value); err != nil { return err } + default: _, _ = key, value @@ -20436,10 +20568,12 @@ func awsRestjson1_deserializeOpDocumentListProxySessionsOutput(v **ListProxySess } sv.NextToken = ptr.String(jtv) } + case "ProxySessions": if err := awsRestjson1_deserializeDocumentProxySessions(&sv.ProxySessions, value); err != nil { return err } + default: _, _ = key, value @@ -20613,10 +20747,12 @@ func awsRestjson1_deserializeOpDocumentListRoomMembershipsOutput(v **ListRoomMem } sv.NextToken = ptr.String(jtv) } + case "RoomMemberships": if err := awsRestjson1_deserializeDocumentRoomMembershipList(&sv.RoomMemberships, value); err != nil { return err } + default: _, _ = key, value @@ -20790,10 +20926,12 @@ func awsRestjson1_deserializeOpDocumentListRoomsOutput(v **ListRoomsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Rooms": if err := awsRestjson1_deserializeDocumentRoomList(&sv.Rooms, value); err != nil { return err } + default: _, _ = key, value @@ -20964,10 +21102,12 @@ func awsRestjson1_deserializeOpDocumentListSipMediaApplicationsOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } + case "SipMediaApplications": if err := awsRestjson1_deserializeDocumentSipMediaApplicationList(&sv.SipMediaApplications, value); err != nil { return err } + default: _, _ = key, value @@ -21138,10 +21278,12 @@ func awsRestjson1_deserializeOpDocumentListSipRulesOutput(v **ListSipRulesOutput } sv.NextToken = ptr.String(jtv) } + case "SipRules": if err := awsRestjson1_deserializeDocumentSipRuleList(&sv.SipRules, value); err != nil { return err } + default: _, _ = key, value @@ -21311,6 +21453,7 @@ func awsRestjson1_deserializeOpDocumentListSupportedPhoneNumberCountriesOutput(v if err := awsRestjson1_deserializeDocumentPhoneNumberCountriesList(&sv.PhoneNumberCountries, value); err != nil { return err } + default: _, _ = key, value @@ -21477,6 +21620,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -21650,10 +21794,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -21824,10 +21970,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorGroupsOutput(v **ListVo } sv.NextToken = ptr.String(jtv) } + case "VoiceConnectorGroups": if err := awsRestjson1_deserializeDocumentVoiceConnectorGroupList(&sv.VoiceConnectorGroups, value); err != nil { return err } + default: _, _ = key, value @@ -21998,10 +22146,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorsOutput(v **ListVoiceCo } sv.NextToken = ptr.String(jtv) } + case "VoiceConnectors": if err := awsRestjson1_deserializeDocumentVoiceConnectorList(&sv.VoiceConnectors, value); err != nil { return err } + default: _, _ = key, value @@ -22171,6 +22321,7 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorTerminationCredentialsO if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Usernames, value); err != nil { return err } + default: _, _ = key, value @@ -22449,6 +22600,7 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } + case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -22464,6 +22616,7 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * } } + default: _, _ = key, value @@ -22633,6 +22786,7 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceStreamingConfigurationsOutp if err := awsRestjson1_deserializeDocumentAppInstanceStreamingConfigurationList(&sv.AppInstanceStreamingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -22802,6 +22956,7 @@ func awsRestjson1_deserializeOpDocumentPutEventsConfigurationOutput(v **PutEvent if err := awsRestjson1_deserializeDocumentEventsConfiguration(&sv.EventsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -22982,10 +23137,12 @@ func awsRestjson1_deserializeOpDocumentPutRetentionSettingsOutput(v **PutRetenti } sv.InitiateDeletionTimestamp = ptr.Time(t) } + case "RetentionSettings": if err := awsRestjson1_deserializeDocumentRetentionSettings(&sv.RetentionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -23155,6 +23312,7 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23324,6 +23482,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23493,6 +23652,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23662,6 +23822,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorOriginationOutput(v **Pu if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } + default: _, _ = key, value @@ -23834,6 +23995,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorProxyOutput(v **PutVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } + default: _, _ = key, value @@ -24003,6 +24165,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -24175,6 +24338,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorTerminationOutput(v **Pu if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } + default: _, _ = key, value @@ -24457,6 +24621,7 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -24465,6 +24630,7 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -24846,6 +25012,7 @@ func awsRestjson1_deserializeOpDocumentRegenerateSecurityTokenOutput(v **Regener if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } + default: _, _ = key, value @@ -25015,6 +25182,7 @@ func awsRestjson1_deserializeOpDocumentResetPersonalPINOutput(v **ResetPersonalP if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -25187,6 +25355,7 @@ func awsRestjson1_deserializeOpDocumentRestorePhoneNumberOutput(v **RestorePhone if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -25356,6 +25525,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentE164PhoneNumberList(&sv.E164PhoneNumbers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25364,6 +25534,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25537,6 +25708,7 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -25545,6 +25717,7 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -26607,6 +26780,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountOutput(v **UpdateAccountOutp if err := awsRestjson1_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } + default: _, _ = key, value @@ -26889,6 +27063,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceOutput(v **UpdateAppInst } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -27062,6 +27237,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserOutput(v **UpdateApp } sv.AppInstanceUserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -27231,6 +27407,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu if err := awsRestjson1_deserializeDocumentBot(&sv.Bot, value); err != nil { return err } + default: _, _ = key, value @@ -27404,6 +27581,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -27577,6 +27755,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -27585,6 +27764,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -27758,6 +27938,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelReadMarkerOutput(v **UpdateC } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -28039,6 +28220,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -28317,6 +28499,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProxySessionOutput(v **UpdateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -28486,6 +28669,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va if err := awsRestjson1_deserializeDocumentRoom(&sv.Room, value); err != nil { return err } + default: _, _ = key, value @@ -28655,6 +28839,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomMembershipOutput(v **UpdateRoom if err := awsRestjson1_deserializeDocumentRoomMembership(&sv.RoomMembership, value); err != nil { return err } + default: _, _ = key, value @@ -28827,6 +29012,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationOutput(v **Updat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -28999,6 +29185,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationCallOutput(v **U if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } + default: _, _ = key, value @@ -29174,6 +29361,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipRuleOutput(v **UpdateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -29343,6 +29531,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -29624,6 +29813,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorOutput(v **UpdateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -29796,6 +29986,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorGroupOutput(v **Updat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -29965,6 +30156,7 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressExternalId": if value != nil { jtv, ok := value.(string) @@ -29973,10 +30165,12 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.AddressExternalId = ptr.String(jtv) } + case "CandidateAddressList": if err := awsRestjson1_deserializeDocumentCandidateAddressList(&sv.CandidateAddressList, value); err != nil { return err } + case "ValidationResult": if value != nil { jtv, ok := value.(json.Number) @@ -29989,6 +30183,7 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.ValidationResult = int32(i64) } + default: _, _ = key, value @@ -30424,6 +30619,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -30432,6 +30628,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30471,6 +30668,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountId = ptr.String(jtv) } + case "AccountStatus": if value != nil { jtv, ok := value.(string) @@ -30479,6 +30677,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountStatus = types.AccountStatus(jtv) } + case "AccountType": if value != nil { jtv, ok := value.(string) @@ -30487,6 +30686,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountType = types.AccountType(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -30495,6 +30695,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AwsAccountId = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -30507,6 +30708,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } + case "DefaultLicense": if value != nil { jtv, ok := value.(string) @@ -30515,6 +30717,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.DefaultLicense = types.License(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30523,14 +30726,17 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Name = ptr.String(jtv) } + case "SigninDelegateGroups": if err := awsRestjson1_deserializeDocumentSigninDelegateGroupList(&sv.SigninDelegateGroups, value); err != nil { return err } + case "SupportedLicenses": if err := awsRestjson1_deserializeDocumentLicenseList(&sv.SupportedLicenses, value); err != nil { return err } + default: _, _ = key, value @@ -30604,6 +30810,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DisableRemoteControl = ptr.Bool(jtv) } + case "EnableDialOut": if value != nil { jtv, ok := value.(bool) @@ -30612,6 +30819,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.EnableDialOut = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30651,6 +30859,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "country": if value != nil { jtv, ok := value.(string) @@ -30659,6 +30868,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -30667,6 +30877,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -30675,6 +30886,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCodePlus4 = ptr.String(jtv) } + case "postDirectional": if value != nil { jtv, ok := value.(string) @@ -30683,6 +30895,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostDirectional = ptr.String(jtv) } + case "preDirectional": if value != nil { jtv, ok := value.(string) @@ -30691,6 +30904,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PreDirectional = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -30699,6 +30913,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } + case "streetName": if value != nil { jtv, ok := value.(string) @@ -30707,6 +30922,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetName = ptr.String(jtv) } + case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -30715,6 +30931,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetNumber = ptr.String(jtv) } + case "streetSuffix": if value != nil { jtv, ok := value.(string) @@ -30723,6 +30940,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetSuffix = ptr.String(jtv) } + default: _, _ = key, value @@ -30762,6 +30980,7 @@ func awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(v **types.AlexaFor } sv.AlexaForBusinessRoomArn = ptr.String(jtv) } + case "IsAlexaForBusinessEnabled": if value != nil { jtv, ok := value.(bool) @@ -30770,6 +30989,7 @@ func awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(v **types.AlexaFor } sv.IsAlexaForBusinessEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30809,6 +31029,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.AppInstanceArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -30824,6 +31045,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -30839,6 +31061,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -30847,6 +31070,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30855,6 +31079,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -30890,6 +31115,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -30898,6 +31124,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } sv.AppInstanceArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -30913,6 +31140,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } } + default: _, _ = key, value @@ -30982,6 +31210,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdminSummary(v **types.AppInstan if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } + default: _, _ = key, value @@ -31051,6 +31280,7 @@ func awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(v **types.AppI if err := awsRestjson1_deserializeDocumentChannelRetentionSettings(&sv.ChannelRetentionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -31090,6 +31320,7 @@ func awsRestjson1_deserializeDocumentAppInstanceStreamingConfiguration(v **types } sv.AppInstanceDataType = types.AppInstanceDataType(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -31098,6 +31329,7 @@ func awsRestjson1_deserializeDocumentAppInstanceStreamingConfiguration(v **types } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -31171,6 +31403,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.AppInstanceArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31179,6 +31412,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31187,6 +31421,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -31226,6 +31461,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.AppInstanceUserArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31241,6 +31477,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -31256,6 +31493,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31264,6 +31502,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31272,6 +31511,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -31352,6 +31592,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -31360,6 +31601,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -31399,6 +31641,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.AppInstanceUserArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -31407,6 +31650,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31415,6 +31659,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -31450,14 +31695,17 @@ func awsRestjson1_deserializeDocumentArtifactsConfiguration(v **types.ArtifactsC if err := awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(&sv.Audio, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentContentArtifactsConfiguration(&sv.Content, value); err != nil { return err } + case "Video": if err := awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -31497,6 +31745,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } + case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -31505,6 +31754,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.ExternalUserId = ptr.String(jtv) } + case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -31513,6 +31763,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31622,6 +31873,7 @@ func awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(v **types.Audio } sv.MuxType = types.AudioMuxType(jtv) } + default: _, _ = key, value @@ -31661,6 +31913,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -31669,6 +31922,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -31708,14 +31962,17 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.ChannelArn = ptr.String(jtv) } + case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } + case "Members": if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -31724,6 +31981,7 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -31797,6 +32055,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31805,6 +32064,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "MemberArn": if value != nil { jtv, ok := value.(string) @@ -31813,6 +32073,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.MemberArn = ptr.String(jtv) } + default: _, _ = key, value @@ -31886,6 +32147,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotEmail = ptr.String(jtv) } + case "BotId": if value != nil { jtv, ok := value.(string) @@ -31894,6 +32156,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotId = ptr.String(jtv) } + case "BotType": if value != nil { jtv, ok := value.(string) @@ -31902,6 +32165,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.BotType = types.BotType(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -31914,6 +32178,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.CreatedTimestamp = ptr.Time(t) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -31922,6 +32187,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.Disabled = ptr.Bool(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -31930,6 +32196,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.DisplayName = ptr.String(jtv) } + case "SecurityToken": if value != nil { jtv, ok := value.(string) @@ -31938,6 +32205,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.SecurityToken = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -31950,6 +32218,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.UpdatedTimestamp = ptr.Time(t) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -31958,6 +32227,7 @@ func awsRestjson1_deserializeDocumentBot(v **types.Bot, value interface{}) error } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -32031,6 +32301,7 @@ func awsRestjson1_deserializeDocumentBusinessCallingSettings(v **types.BusinessC } sv.CdrBucket = ptr.String(jtv) } + default: _, _ = key, value @@ -32106,6 +32377,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.City = ptr.String(jtv) } + case "country": if value != nil { jtv, ok := value.(string) @@ -32114,6 +32386,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.Country = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -32122,6 +32395,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCode = ptr.String(jtv) } + case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -32130,6 +32404,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCodePlus4 = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -32138,6 +32413,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.State = ptr.String(jtv) } + case "streetInfo": if value != nil { jtv, ok := value.(string) @@ -32146,6 +32422,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetInfo = ptr.String(jtv) } + case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -32154,6 +32431,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -32263,10 +32541,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32282,6 +32562,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -32297,6 +32578,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32312,6 +32594,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -32320,6 +32603,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Metadata = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -32328,6 +32612,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Mode = types.ChannelMode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32336,6 +32621,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + case "Privacy": if value != nil { jtv, ok := value.(string) @@ -32344,6 +32630,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Privacy = types.ChannelPrivacy(jtv) } + default: _, _ = key, value @@ -32383,10 +32670,12 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } sv.ChannelArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32402,10 +32691,12 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -32441,6 +32732,7 @@ func awsRestjson1_deserializeDocumentChannelBanSummary(v **types.ChannelBanSumma if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -32514,6 +32806,7 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.ChannelArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32529,10 +32822,12 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } + case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32548,10 +32843,12 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -32560,6 +32857,7 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -32595,10 +32893,12 @@ func awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary( if err := awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(&sv.AppInstanceUserMembershipSummary, value); err != nil { return err } + case "ChannelSummary": if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } + default: _, _ = key, value @@ -32668,6 +32968,7 @@ func awsRestjson1_deserializeDocumentChannelMembershipSummary(v **types.ChannelM if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -32741,6 +33042,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ChannelArn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -32749,6 +33051,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Content = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32764,6 +33067,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32779,6 +33083,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32794,6 +33099,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -32802,6 +33108,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.MessageId = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -32810,6 +33117,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Metadata = ptr.String(jtv) } + case "Persistence": if value != nil { jtv, ok := value.(string) @@ -32818,6 +33126,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Persistence = types.ChannelMessagePersistenceType(jtv) } + case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -32826,10 +33135,12 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Redacted = jtv } + case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -32838,6 +33149,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Type = types.ChannelMessageType(jtv) } + default: _, _ = key, value @@ -32877,6 +33189,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Content = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32892,6 +33205,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32907,6 +33221,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -32922,6 +33237,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -32930,6 +33246,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.MessageId = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -32938,6 +33255,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Metadata = ptr.String(jtv) } + case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -32946,10 +33264,12 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Redacted = jtv } + case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -32958,6 +33278,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Type = types.ChannelMessageType(jtv) } + default: _, _ = key, value @@ -33027,6 +33348,7 @@ func awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(v if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } + default: _, _ = key, value @@ -33100,10 +33422,12 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } sv.ChannelArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -33119,10 +33443,12 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } } + case "Moderator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } + default: _, _ = key, value @@ -33158,6 +33484,7 @@ func awsRestjson1_deserializeDocumentChannelModeratorSummary(v **types.ChannelMo if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } + default: _, _ = key, value @@ -33235,6 +33562,7 @@ func awsRestjson1_deserializeDocumentChannelRetentionSettings(v **types.ChannelR } sv.RetentionDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33274,6 +33602,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelArn = ptr.String(jtv) } + case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -33289,6 +33618,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -33297,6 +33627,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Metadata = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -33305,6 +33636,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Mode = types.ChannelMode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33313,6 +33645,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } + case "Privacy": if value != nil { jtv, ok := value.(string) @@ -33321,6 +33654,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Privacy = types.ChannelPrivacy(jtv) } + default: _, _ = key, value @@ -33390,10 +33724,12 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(v **types.Chim if err := awsRestjson1_deserializeDocumentArtifactsConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } + case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -33433,6 +33769,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -33441,6 +33778,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33480,6 +33818,7 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.MuxType = types.ContentMuxType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -33488,6 +33827,7 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.State = types.ArtifactsState(jtv) } + default: _, _ = key, value @@ -33531,6 +33871,7 @@ func awsRestjson1_deserializeDocumentConversationRetentionSettings(v **types.Con } sv.RetentionDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33570,6 +33911,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -33578,6 +33920,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorMessage = ptr.String(jtv) } + case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -33586,6 +33929,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ExternalUserId = ptr.String(jtv) } + default: _, _ = key, value @@ -33625,6 +33969,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.CallingCountry = ptr.String(jtv) } + case "EmergencyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -33633,6 +33978,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.EmergencyPhoneNumber = ptr.String(jtv) } + case "TestPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -33641,6 +33987,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.TestPhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -33746,6 +34093,7 @@ func awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(v **types.Eme if err := awsRestjson1_deserializeDocumentDNISEmergencyCallingConfigurationList(&sv.DNIS, value); err != nil { return err } + default: _, _ = key, value @@ -33785,6 +34133,7 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.BotId = ptr.String(jtv) } + case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -33793,6 +34142,7 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.LambdaFunctionArn = ptr.String(jtv) } + case "OutboundEventsHTTPSEndpoint": if value != nil { jtv, ok := value.(string) @@ -33801,6 +34151,7 @@ func awsRestjson1_deserializeDocumentEventsConfiguration(v **types.EventsConfigu } sv.OutboundEventsHTTPSEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -33876,6 +34227,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -33884,6 +34236,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33923,6 +34276,7 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.AreaCode = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -33931,6 +34285,7 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.Country = ptr.String(jtv) } + default: _, _ = key, value @@ -33970,6 +34325,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33978,6 +34334,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -34017,6 +34374,7 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.EmailAddress = ptr.String(jtv) } + case "EmailStatus": if value != nil { jtv, ok := value.(string) @@ -34025,6 +34383,7 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.EmailStatus = types.EmailStatus(jtv) } + case "InviteId": if value != nil { jtv, ok := value.(string) @@ -34033,6 +34392,7 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.InviteId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -34041,6 +34401,7 @@ func awsRestjson1_deserializeDocumentInvite(v **types.Invite, value interface{}) } sv.Status = types.InviteStatus(jtv) } + default: _, _ = key, value @@ -34150,6 +34511,7 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableMediaMetricLogs = ptr.Bool(jtv) } + case "EnableSIPLogs": if value != nil { jtv, ok := value.(bool) @@ -34158,6 +34520,7 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableSIPLogs = ptr.Bool(jtv) } + default: _, _ = key, value @@ -34193,6 +34556,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -34205,6 +34569,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.CreatedTimestamp = ptr.Time(t) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -34213,6 +34578,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineId = ptr.String(jtv) } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -34221,6 +34587,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkArn = ptr.String(jtv) } + case "SinkType": if value != nil { jtv, ok := value.(string) @@ -34229,6 +34596,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkType = types.MediaPipelineSinkType(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -34237,6 +34605,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -34245,6 +34614,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceType = types.MediaPipelineSourceType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -34253,6 +34623,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.Status = types.MediaPipelineStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -34265,6 +34636,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -34338,6 +34710,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } + case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -34346,6 +34719,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } + case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -34354,6 +34728,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } + case "ScreenDataUrl": if value != nil { jtv, ok := value.(string) @@ -34362,6 +34737,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenDataUrl = ptr.String(jtv) } + case "ScreenSharingUrl": if value != nil { jtv, ok := value.(string) @@ -34370,6 +34746,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenSharingUrl = ptr.String(jtv) } + case "ScreenViewingUrl": if value != nil { jtv, ok := value.(string) @@ -34378,6 +34755,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenViewingUrl = ptr.String(jtv) } + case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -34386,6 +34764,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } + case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -34394,6 +34773,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -34433,10 +34813,12 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.ExternalMeetingId = ptr.String(jtv) } + case "MediaPlacement": if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } + case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -34445,6 +34827,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } + case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -34453,6 +34836,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } + default: _, _ = key, value @@ -34526,6 +34910,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -34534,6 +34919,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } + case "FullName": if value != nil { jtv, ok := value.(string) @@ -34542,6 +34928,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.FullName = ptr.String(jtv) } + case "MemberId": if value != nil { jtv, ok := value.(string) @@ -34550,6 +34937,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberId = ptr.String(jtv) } + case "MemberType": if value != nil { jtv, ok := value.(string) @@ -34558,6 +34946,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberType = types.MemberType(jtv) } + default: _, _ = key, value @@ -34597,6 +34986,7 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -34605,6 +34995,7 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.ErrorMessage = ptr.String(jtv) } + case "MemberId": if value != nil { jtv, ok := value.(string) @@ -34613,6 +35004,7 @@ func awsRestjson1_deserializeDocumentMemberError(v **types.MemberError, value in } sv.MemberId = ptr.String(jtv) } + default: _, _ = key, value @@ -34720,6 +35112,7 @@ func awsRestjson1_deserializeDocumentMessagingSessionEndpoint(v **types.Messagin } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -34759,6 +35152,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -34767,6 +35161,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34806,6 +35201,7 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.E164PhoneNumber = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -34814,6 +35210,7 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.Status = types.OrderedPhoneNumberStatus(jtv) } + default: _, _ = key, value @@ -34887,10 +35284,12 @@ func awsRestjson1_deserializeDocumentOrigination(v **types.Origination, value in } sv.Disabled = ptr.Bool(jtv) } + case "Routes": if err := awsRestjson1_deserializeDocumentOriginationRouteList(&sv.Routes, value); err != nil { return err } + default: _, _ = key, value @@ -34930,6 +35329,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -34942,6 +35342,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Port = ptr.Int32(int32(i64)) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -34954,6 +35355,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Priority = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -34962,6 +35364,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Protocol = types.OriginationRouteProtocol(jtv) } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -34974,6 +35377,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35047,6 +35451,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.PhoneNumber = ptr.String(jtv) } + case "ProxyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -35055,6 +35460,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ProxyPhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -35124,6 +35530,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in if err := awsRestjson1_deserializeDocumentPhoneNumberAssociationList(&sv.Associations, value); err != nil { return err } + case "CallingName": if value != nil { jtv, ok := value.(string) @@ -35132,6 +35539,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingName = ptr.String(jtv) } + case "CallingNameStatus": if value != nil { jtv, ok := value.(string) @@ -35140,10 +35548,12 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingNameStatus = types.CallingNameStatus(jtv) } + case "Capabilities": if err := awsRestjson1_deserializeDocumentPhoneNumberCapabilities(&sv.Capabilities, value); err != nil { return err } + case "Country": if value != nil { jtv, ok := value.(string) @@ -35152,6 +35562,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Country = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35164,6 +35575,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CreatedTimestamp = ptr.Time(t) } + case "DeletionTimestamp": if value != nil { jtv, ok := value.(string) @@ -35176,6 +35588,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.DeletionTimestamp = ptr.Time(t) } + case "E164PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -35184,6 +35597,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.E164PhoneNumber = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -35192,6 +35606,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.PhoneNumberId = ptr.String(jtv) } + case "ProductType": if value != nil { jtv, ok := value.(string) @@ -35200,6 +35615,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.ProductType = types.PhoneNumberProductType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -35208,6 +35624,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Status = types.PhoneNumberStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -35216,6 +35633,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = types.PhoneNumberType(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35228,6 +35646,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -35271,6 +35690,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.AssociatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35279,6 +35699,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Name = types.PhoneNumberAssociationName(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -35287,6 +35708,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -35360,6 +35782,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundCall = ptr.Bool(jtv) } + case "InboundMMS": if value != nil { jtv, ok := value.(bool) @@ -35368,6 +35791,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundMMS = ptr.Bool(jtv) } + case "InboundSMS": if value != nil { jtv, ok := value.(bool) @@ -35376,6 +35800,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundSMS = ptr.Bool(jtv) } + case "OutboundCall": if value != nil { jtv, ok := value.(bool) @@ -35384,6 +35809,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundCall = ptr.Bool(jtv) } + case "OutboundMMS": if value != nil { jtv, ok := value.(bool) @@ -35392,6 +35818,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundMMS = ptr.Bool(jtv) } + case "OutboundSMS": if value != nil { jtv, ok := value.(bool) @@ -35400,6 +35827,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundSMS = ptr.Bool(jtv) } + default: _, _ = key, value @@ -35473,10 +35901,12 @@ func awsRestjson1_deserializeDocumentPhoneNumberCountry(v **types.PhoneNumberCou } sv.CountryCode = ptr.String(jtv) } + case "SupportedPhoneNumberTypes": if err := awsRestjson1_deserializeDocumentPhoneNumberTypeList(&sv.SupportedPhoneNumberTypes, value); err != nil { return err } + default: _, _ = key, value @@ -35516,6 +35946,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -35524,6 +35955,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorMessage = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -35532,6 +35964,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.PhoneNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -35643,10 +36076,12 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.CreatedTimestamp = ptr.Time(t) } + case "OrderedPhoneNumbers": if err := awsRestjson1_deserializeDocumentOrderedPhoneNumberList(&sv.OrderedPhoneNumbers, value); err != nil { return err } + case "PhoneNumberOrderId": if value != nil { jtv, ok := value.(string) @@ -35655,6 +36090,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.PhoneNumberOrderId = ptr.String(jtv) } + case "ProductType": if value != nil { jtv, ok := value.(string) @@ -35663,6 +36099,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.ProductType = types.PhoneNumberProductType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -35671,6 +36108,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.Status = types.PhoneNumberOrderStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35683,6 +36121,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -35796,6 +36235,7 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.DefaultSessionExpiryMinutes = ptr.Int32(int32(i64)) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -35804,6 +36244,7 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.Disabled = ptr.Bool(jtv) } + case "FallBackPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -35812,10 +36253,12 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.FallBackPhoneNumber = ptr.String(jtv) } + case "PhoneNumberCountries": if err := awsRestjson1_deserializeDocumentStringList(&sv.PhoneNumberCountries, value); err != nil { return err } + default: _, _ = key, value @@ -35851,6 +36294,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value if err := awsRestjson1_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35863,6 +36307,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.CreatedTimestamp = ptr.Time(t) } + case "EndedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35875,6 +36320,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.EndedTimestamp = ptr.Time(t) } + case "ExpiryMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -35887,6 +36333,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ExpiryMinutes = ptr.Int32(int32(i64)) } + case "GeoMatchLevel": if value != nil { jtv, ok := value.(string) @@ -35895,10 +36342,12 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.GeoMatchLevel = types.GeoMatchLevel(jtv) } + case "GeoMatchParams": if err := awsRestjson1_deserializeDocumentGeoMatchParams(&sv.GeoMatchParams, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35907,6 +36356,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Name = ptr.String(jtv) } + case "NumberSelectionBehavior": if value != nil { jtv, ok := value.(string) @@ -35915,10 +36365,12 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.NumberSelectionBehavior = types.NumberSelectionBehavior(jtv) } + case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } + case "ProxySessionId": if value != nil { jtv, ok := value.(string) @@ -35927,6 +36379,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ProxySessionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -35935,6 +36388,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Status = types.ProxySessionStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -35947,6 +36401,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -35955,6 +36410,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -36028,6 +36484,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -36036,6 +36493,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36071,10 +36529,12 @@ func awsRestjson1_deserializeDocumentRetentionSettings(v **types.RetentionSettin if err := awsRestjson1_deserializeDocumentConversationRetentionSettings(&sv.ConversationRetentionSettings, value); err != nil { return err } + case "RoomRetentionSettings": if err := awsRestjson1_deserializeDocumentRoomRetentionSettings(&sv.RoomRetentionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -36114,6 +36574,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.AccountId = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -36122,6 +36583,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36134,6 +36596,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.CreatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36142,6 +36605,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.Name = ptr.String(jtv) } + case "RoomId": if value != nil { jtv, ok := value.(string) @@ -36150,6 +36614,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.RoomId = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36162,6 +36627,7 @@ func awsRestjson1_deserializeDocumentRoom(v **types.Room, value interface{}) err } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -36235,10 +36701,12 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.InvitedBy = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -36247,6 +36715,7 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.Role = types.RoomMembershipRole(jtv) } + case "RoomId": if value != nil { jtv, ok := value.(string) @@ -36255,6 +36724,7 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.RoomId = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36267,6 +36737,7 @@ func awsRestjson1_deserializeDocumentRoomMembership(v **types.RoomMembership, va } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -36344,6 +36815,7 @@ func awsRestjson1_deserializeDocumentRoomRetentionSettings(v **types.RoomRetenti } sv.RetentionDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -36379,10 +36851,12 @@ func awsRestjson1_deserializeDocumentSelectedVideoStreams(v **types.SelectedVide if err := awsRestjson1_deserializeDocumentAttendeeIdList(&sv.AttendeeIds, value); err != nil { return err } + case "ExternalUserIds": if err := awsRestjson1_deserializeDocumentExternalUserIdList(&sv.ExternalUserIds, value); err != nil { return err } + default: _, _ = key, value @@ -36458,6 +36932,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -36466,6 +36941,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36505,6 +36981,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -36513,6 +36990,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36552,6 +37030,7 @@ func awsRestjson1_deserializeDocumentSigninDelegateGroup(v **types.SigninDelegat } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -36625,6 +37104,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.AwsRegion = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36637,10 +37117,12 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.CreatedTimestamp = ptr.Time(t) } + case "Endpoints": if err := awsRestjson1_deserializeDocumentSipMediaApplicationEndpointList(&sv.Endpoints, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36649,6 +37131,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.Name = ptr.String(jtv) } + case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -36657,6 +37140,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationId = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36669,6 +37153,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -36708,6 +37193,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationCall(v **types.SipMediaA } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -36747,6 +37233,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationEndpoint(v **types.SipMe } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -36854,6 +37341,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(v * } sv.EnableSipMediaApplicationMessageLogs = ptr.Bool(jtv) } + default: _, _ = key, value @@ -36897,6 +37385,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -36905,6 +37394,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Disabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36913,6 +37403,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Name = ptr.String(jtv) } + case "SipRuleId": if value != nil { jtv, ok := value.(string) @@ -36921,10 +37412,12 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.SipRuleId = ptr.String(jtv) } + case "TargetApplications": if err := awsRestjson1_deserializeDocumentSipRuleTargetApplicationList(&sv.TargetApplications, value); err != nil { return err } + case "TriggerType": if value != nil { jtv, ok := value.(string) @@ -36933,6 +37426,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerType = types.SipRuleTriggerType(jtv) } + case "TriggerValue": if value != nil { jtv, ok := value.(string) @@ -36941,6 +37435,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerValue = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -36953,6 +37448,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -37026,6 +37522,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.AwsRegion = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -37038,6 +37535,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.Priority = ptr.Int32(int32(i64)) } + case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -37046,6 +37544,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.SipMediaApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -37115,6 +37614,7 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentSelectedVideoStreams(&sv.SelectedVideoStreams, value); err != nil { return err } + default: _, _ = key, value @@ -37158,6 +37658,7 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -37166,10 +37667,12 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.Disabled = ptr.Bool(jtv) } + case "StreamingNotificationTargets": if err := awsRestjson1_deserializeDocumentStreamingNotificationTargetList(&sv.StreamingNotificationTargets, value); err != nil { return err } + default: _, _ = key, value @@ -37209,6 +37712,7 @@ func awsRestjson1_deserializeDocumentStreamingNotificationTarget(v **types.Strea } sv.NotificationTarget = types.NotificationTarget(jtv) } + default: _, _ = key, value @@ -37318,6 +37822,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -37326,6 +37831,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -37399,6 +37905,7 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.InboundCalling = ptr.Bool(jtv) } + case "OutboundCalling": if value != nil { jtv, ok := value.(bool) @@ -37407,6 +37914,7 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.OutboundCalling = ptr.Bool(jtv) } + case "SMS": if value != nil { jtv, ok := value.(bool) @@ -37415,6 +37923,7 @@ func awsRestjson1_deserializeDocumentTelephonySettings(v **types.TelephonySettin } sv.SMS = ptr.Bool(jtv) } + default: _, _ = key, value @@ -37450,10 +37959,12 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in if err := awsRestjson1_deserializeDocumentCallingRegionList(&sv.CallingRegions, value); err != nil { return err } + case "CidrAllowedList": if err := awsRestjson1_deserializeDocumentStringList(&sv.CidrAllowedList, value); err != nil { return err } + case "CpsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -37466,6 +37977,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.CpsLimit = ptr.Int32(int32(i64)) } + case "DefaultPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -37474,6 +37986,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.DefaultPhoneNumber = ptr.String(jtv) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -37482,6 +37995,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.Disabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -37521,6 +38035,7 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Source = ptr.String(jtv) } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -37533,6 +38048,7 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Timestamp = ptr.Time(t) } + default: _, _ = key, value @@ -37572,6 +38088,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -37580,6 +38097,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -37619,6 +38137,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -37627,6 +38146,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -37666,6 +38186,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -37674,6 +38195,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -37713,10 +38235,12 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AccountId = ptr.String(jtv) } + case "AlexaForBusinessMetadata": if err := awsRestjson1_deserializeDocumentAlexaForBusinessMetadata(&sv.AlexaForBusinessMetadata, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -37725,6 +38249,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } + case "InvitedOn": if value != nil { jtv, ok := value.(string) @@ -37737,6 +38262,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.InvitedOn = ptr.Time(t) } + case "LicenseType": if value != nil { jtv, ok := value.(string) @@ -37745,6 +38271,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LicenseType = types.License(jtv) } + case "PersonalPIN": if value != nil { jtv, ok := value.(string) @@ -37753,6 +38280,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PersonalPIN = ptr.String(jtv) } + case "PrimaryEmail": if value != nil { jtv, ok := value.(string) @@ -37761,6 +38289,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrimaryEmail = ptr.String(jtv) } + case "PrimaryProvisionedNumber": if value != nil { jtv, ok := value.(string) @@ -37769,6 +38298,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrimaryProvisionedNumber = ptr.String(jtv) } + case "RegisteredOn": if value != nil { jtv, ok := value.(string) @@ -37781,6 +38311,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RegisteredOn = ptr.Time(t) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -37789,6 +38320,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } + case "UserInvitationStatus": if value != nil { jtv, ok := value.(string) @@ -37797,6 +38329,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserInvitationStatus = types.InviteStatus(jtv) } + case "UserRegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -37805,6 +38338,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserRegistrationStatus = types.RegistrationStatus(jtv) } + case "UserType": if value != nil { jtv, ok := value.(string) @@ -37813,6 +38347,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserType = types.UserType(jtv) } + default: _, _ = key, value @@ -37852,6 +38387,7 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -37860,6 +38396,7 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.ErrorMessage = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -37868,6 +38405,7 @@ func awsRestjson1_deserializeDocumentUserError(v **types.UserError, value interf } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -37971,6 +38509,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value if err := awsRestjson1_deserializeDocumentTelephonySettings(&sv.Telephony, value); err != nil { return err } + default: _, _ = key, value @@ -38010,6 +38549,7 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.MuxType = types.VideoMuxType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -38018,6 +38558,7 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.State = types.ArtifactsState(jtv) } + default: _, _ = key, value @@ -38057,6 +38598,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.AwsRegion = types.VoiceConnectorAwsRegion(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38069,6 +38611,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.CreatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38077,6 +38620,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.Name = ptr.String(jtv) } + case "OutboundHostName": if value != nil { jtv, ok := value.(string) @@ -38085,6 +38629,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.OutboundHostName = ptr.String(jtv) } + case "RequireEncryption": if value != nil { jtv, ok := value.(bool) @@ -38093,6 +38638,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.RequireEncryption = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38105,6 +38651,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorArn": if value != nil { jtv, ok := value.(string) @@ -38113,6 +38660,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorArn = ptr.String(jtv) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -38121,6 +38669,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -38164,6 +38713,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.CreatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38172,6 +38722,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.Name = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -38184,6 +38735,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorGroupArn": if value != nil { jtv, ok := value.(string) @@ -38192,6 +38744,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupArn = ptr.String(jtv) } + case "VoiceConnectorGroupId": if value != nil { jtv, ok := value.(string) @@ -38200,10 +38753,12 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupId = ptr.String(jtv) } + case "VoiceConnectorItems": if err := awsRestjson1_deserializeDocumentVoiceConnectorItemList(&sv.VoiceConnectorItems, value); err != nil { return err } + default: _, _ = key, value @@ -38281,6 +38836,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.Priority = ptr.Int32(int32(i64)) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -38289,6 +38845,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -38396,6 +38953,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorSettings(v **types.VoiceConne } sv.CdrBucket = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/chimesdkidentity/deserializers.go b/service/chimesdkidentity/deserializers.go index 25186982776..8aeae1e8001 100644 --- a/service/chimesdkidentity/deserializers.go +++ b/service/chimesdkidentity/deserializers.go @@ -197,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceOutput(v **CreateAppInst } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -369,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp if err := awsRestjson1_deserializeDocumentIdentity(&sv.AppInstanceAdmin, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -377,6 +379,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceAdminOutput(v **CreateAp } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -553,6 +556,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceBotOutput(v **CreateAppI } sv.AppInstanceBotArn = ptr.String(jtv) } + default: _, _ = key, value @@ -729,6 +733,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppInstanceUserOutput(v **CreateApp } sv.AppInstanceUserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1461,6 +1466,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceOutput(v **DescribeApp if err := awsRestjson1_deserializeDocumentAppInstance(&sv.AppInstance, value); err != nil { return err } + default: _, _ = key, value @@ -1627,6 +1633,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceAdminOutput(v **Descri if err := awsRestjson1_deserializeDocumentAppInstanceAdmin(&sv.AppInstanceAdmin, value); err != nil { return err } + default: _, _ = key, value @@ -1796,6 +1803,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceBotOutput(v **Describe if err := awsRestjson1_deserializeDocumentAppInstanceBot(&sv.AppInstanceBot, value); err != nil { return err } + default: _, _ = key, value @@ -1962,6 +1970,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserOutput(v **Describ if err := awsRestjson1_deserializeDocumentAppInstanceUser(&sv.AppInstanceUser, value); err != nil { return err } + default: _, _ = key, value @@ -2128,6 +2137,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppInstanceUserEndpointOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(&sv.AppInstanceUserEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -2294,6 +2304,7 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } + case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -2309,6 +2320,7 @@ func awsRestjson1_deserializeOpDocumentGetAppInstanceRetentionSettingsOutput(v * } } + default: _, _ = key, value @@ -2478,6 +2490,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn if err := awsRestjson1_deserializeDocumentAppInstanceAdminList(&sv.AppInstanceAdmins, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -2486,6 +2499,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.AppInstanceArn = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2494,6 +2508,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceAdminsOutput(v **ListAppIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2667,10 +2682,12 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceBotsOutput(v **ListAppInst } sv.AppInstanceArn = ptr.String(jtv) } + case "AppInstanceBots": if err := awsRestjson1_deserializeDocumentAppInstanceBotList(&sv.AppInstanceBots, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2679,6 +2696,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceBotsOutput(v **ListAppInst } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2845,6 +2863,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc if err := awsRestjson1_deserializeDocumentAppInstanceList(&sv.AppInstances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2853,6 +2872,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstancesOutput(v **ListAppInstanc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3019,6 +3039,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUserEndpointsOutput(v **Li if err := awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummaryList(&sv.AppInstanceUserEndpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3027,6 +3048,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUserEndpointsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3197,10 +3219,12 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.AppInstanceArn = ptr.String(jtv) } + case "AppInstanceUsers": if err := awsRestjson1_deserializeDocumentAppInstanceUserList(&sv.AppInstanceUsers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3209,6 +3233,7 @@ func awsRestjson1_deserializeOpDocumentListAppInstanceUsersOutput(v **ListAppIns } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3375,6 +3400,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3541,6 +3567,7 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * if err := awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(&sv.AppInstanceRetentionSettings, value); err != nil { return err } + case "InitiateDeletionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3556,6 +3583,7 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceRetentionSettingsOutput(v * } } + default: _, _ = key, value @@ -3729,10 +3757,12 @@ func awsRestjson1_deserializeOpDocumentPutAppInstanceUserExpirationSettingsOutpu } sv.AppInstanceUserArn = ptr.String(jtv) } + case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -3909,6 +3939,7 @@ func awsRestjson1_deserializeOpDocumentRegisterAppInstanceUserEndpointOutput(v * } sv.AppInstanceUserArn = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -3917,6 +3948,7 @@ func awsRestjson1_deserializeOpDocumentRegisterAppInstanceUserEndpointOutput(v * } sv.EndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -4311,6 +4343,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceOutput(v **UpdateAppInst } sv.AppInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4487,6 +4520,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceBotOutput(v **UpdateAppI } sv.AppInstanceBotArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4663,6 +4697,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserOutput(v **UpdateApp } sv.AppInstanceUserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4836,6 +4871,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserEndpointOutput(v **U } sv.AppInstanceUserArn = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -4844,6 +4880,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppInstanceUserEndpointOutput(v **U } sv.EndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -5207,6 +5244,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.AppInstanceArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5222,6 +5260,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5237,6 +5276,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5245,6 +5285,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5253,6 +5294,7 @@ func awsRestjson1_deserializeDocumentAppInstance(v **types.AppInstance, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5288,6 +5330,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } + case "AppInstanceArn": if value != nil { jtv, ok := value.(string) @@ -5296,6 +5339,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } sv.AppInstanceArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5311,6 +5355,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdmin(v **types.AppInstanceAdmin } } + default: _, _ = key, value @@ -5380,6 +5425,7 @@ func awsRestjson1_deserializeDocumentAppInstanceAdminSummary(v **types.AppInstan if err := awsRestjson1_deserializeDocumentIdentity(&sv.Admin, value); err != nil { return err } + default: _, _ = key, value @@ -5419,10 +5465,12 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.AppInstanceBotArn = ptr.String(jtv) } + case "Configuration": if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5438,6 +5486,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5453,6 +5502,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5461,6 +5511,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5469,6 +5520,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBot(v **types.AppInstanceBot, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5542,6 +5594,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.AppInstanceBotArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5550,6 +5603,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5558,6 +5612,7 @@ func awsRestjson1_deserializeDocumentAppInstanceBotSummary(v **types.AppInstance } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5627,6 +5682,7 @@ func awsRestjson1_deserializeDocumentAppInstanceRetentionSettings(v **types.AppI if err := awsRestjson1_deserializeDocumentChannelRetentionSettings(&sv.ChannelRetentionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -5666,6 +5722,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.AppInstanceArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5674,6 +5731,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5682,6 +5740,7 @@ func awsRestjson1_deserializeDocumentAppInstanceSummary(v **types.AppInstanceSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5721,6 +5780,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.AppInstanceUserArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5736,10 +5796,12 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } + case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5755,6 +5817,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -5763,6 +5826,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5771,6 +5835,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUser(v **types.AppInstanceUser, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5810,6 +5875,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.AllowMessages = types.AllowMessages(jtv) } + case "AppInstanceUserArn": if value != nil { jtv, ok := value.(string) @@ -5818,6 +5884,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.AppInstanceUserArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5833,10 +5900,12 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } } + case "EndpointAttributes": if err := awsRestjson1_deserializeDocumentEndpointAttributes(&sv.EndpointAttributes, value); err != nil { return err } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -5845,10 +5914,12 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.EndpointId = ptr.String(jtv) } + case "EndpointState": if err := awsRestjson1_deserializeDocumentEndpointState(&sv.EndpointState, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5864,6 +5935,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5872,6 +5944,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.Name = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5880,6 +5953,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.ResourceArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5888,6 +5962,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpoint(v **types.AppInstan } sv.Type = types.AppInstanceUserEndpointType(jtv) } + default: _, _ = key, value @@ -5927,6 +6002,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.AllowMessages = types.AllowMessages(jtv) } + case "AppInstanceUserArn": if value != nil { jtv, ok := value.(string) @@ -5935,6 +6011,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.AppInstanceUserArn = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -5943,10 +6020,12 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.EndpointId = ptr.String(jtv) } + case "EndpointState": if err := awsRestjson1_deserializeDocumentEndpointState(&sv.EndpointState, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5955,6 +6034,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5963,6 +6043,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserEndpointSummary(v **types.Ap } sv.Type = types.AppInstanceUserEndpointType(jtv) } + default: _, _ = key, value @@ -6070,6 +6151,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.AppInstanceUserArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -6078,6 +6160,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Metadata = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6086,6 +6169,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserSummary(v **types.AppInstanc } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6125,6 +6209,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6133,6 +6218,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6176,6 +6262,7 @@ func awsRestjson1_deserializeDocumentChannelRetentionSettings(v **types.ChannelR } sv.RetentionDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6211,6 +6298,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu if err := awsRestjson1_deserializeDocumentLexConfiguration(&sv.Lex, value); err != nil { return err } + default: _, _ = key, value @@ -6250,6 +6338,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6347,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6297,6 +6387,7 @@ func awsRestjson1_deserializeDocumentEndpointAttributes(v **types.EndpointAttrib } sv.DeviceToken = ptr.String(jtv) } + case "VoipDeviceToken": if value != nil { jtv, ok := value.(string) @@ -6305,6 +6396,7 @@ func awsRestjson1_deserializeDocumentEndpointAttributes(v **types.EndpointAttrib } sv.VoipDeviceToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6344,6 +6436,7 @@ func awsRestjson1_deserializeDocumentEndpointState(v **types.EndpointState, valu } sv.Status = types.EndpointStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6352,6 +6445,7 @@ func awsRestjson1_deserializeDocumentEndpointState(v **types.EndpointState, valu } sv.StatusReason = types.EndpointStatusReason(jtv) } + default: _, _ = key, value @@ -6391,6 +6485,7 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationCriterion = types.ExpirationCriterion(jtv) } + case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -6403,6 +6498,7 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6442,6 +6538,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6450,6 +6547,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6489,6 +6587,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6497,6 +6596,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6536,6 +6636,7 @@ func awsRestjson1_deserializeDocumentInvokedBy(v **types.InvokedBy, value interf } sv.StandardMessages = types.StandardMessages(jtv) } + case "TargetedMessages": if value != nil { jtv, ok := value.(string) @@ -6544,6 +6645,7 @@ func awsRestjson1_deserializeDocumentInvokedBy(v **types.InvokedBy, value interf } sv.TargetedMessages = types.TargetedMessages(jtv) } + default: _, _ = key, value @@ -6579,6 +6681,7 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration if err := awsRestjson1_deserializeDocumentInvokedBy(&sv.InvokedBy, value); err != nil { return err } + case "LexBotAliasArn": if value != nil { jtv, ok := value.(string) @@ -6587,6 +6690,7 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.LexBotAliasArn = ptr.String(jtv) } + case "LocaleId": if value != nil { jtv, ok := value.(string) @@ -6595,6 +6699,7 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.LocaleId = ptr.String(jtv) } + case "RespondsTo": if value != nil { jtv, ok := value.(string) @@ -6603,6 +6708,7 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.RespondsTo = types.RespondsTo(jtv) } + case "WelcomeIntent": if value != nil { jtv, ok := value.(string) @@ -6611,6 +6717,7 @@ func awsRestjson1_deserializeDocumentLexConfiguration(v **types.LexConfiguration } sv.WelcomeIntent = ptr.String(jtv) } + default: _, _ = key, value @@ -6650,6 +6757,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6658,6 +6766,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6697,6 +6806,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6705,6 +6815,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6744,6 +6855,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6752,6 +6864,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6791,6 +6904,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6799,6 +6913,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6838,6 +6953,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6846,6 +6962,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6919,6 +7036,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6927,6 +7045,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6966,6 +7085,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6974,6 +7094,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/chimesdkmediapipelines/deserializers.go b/service/chimesdkmediapipelines/deserializers.go index 71d29b3eb74..47d7ae237cf 100644 --- a/service/chimesdkmediapipelines/deserializers.go +++ b/service/chimesdkmediapipelines/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaCapturePipelineOutput(v **Crea if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } + default: _, _ = key, value @@ -359,6 +360,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaConcatenationPipelineOutput(v if err := awsRestjson1_deserializeDocumentMediaConcatenationPipeline(&sv.MediaConcatenationPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -531,6 +533,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaInsightsPipelineOutput(v **Cre if err := awsRestjson1_deserializeDocumentMediaInsightsPipeline(&sv.MediaInsightsPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -703,6 +706,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaInsightsPipelineConfigurationO if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -872,6 +876,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaLiveConnectorPipelineOutput(v if err := awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(&sv.MediaLiveConnectorPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -1044,6 +1049,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaPipelineKinesisVideoStreamPool if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1216,6 +1222,7 @@ func awsRestjson1_deserializeOpDocumentCreateMediaStreamPipelineOutput(v **Creat if err := awsRestjson1_deserializeDocumentMediaStreamPipeline(&sv.MediaStreamPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -1842,6 +1849,7 @@ func awsRestjson1_deserializeOpDocumentGetMediaCapturePipelineOutput(v **GetMedi if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } + default: _, _ = key, value @@ -2011,6 +2019,7 @@ func awsRestjson1_deserializeOpDocumentGetMediaInsightsPipelineConfigurationOutp if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2180,6 +2189,7 @@ func awsRestjson1_deserializeOpDocumentGetMediaPipelineOutput(v **GetMediaPipeli if err := awsRestjson1_deserializeDocumentMediaPipeline(&sv.MediaPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -2349,6 +2359,7 @@ func awsRestjson1_deserializeOpDocumentGetMediaPipelineKinesisVideoStreamPoolOut if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2518,6 +2529,7 @@ func awsRestjson1_deserializeOpDocumentGetSpeakerSearchTaskOutput(v **GetSpeaker if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } + default: _, _ = key, value @@ -2687,6 +2699,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceToneAnalysisTaskOutput(v **GetVoi if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } + default: _, _ = key, value @@ -2856,6 +2869,7 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM if err := awsRestjson1_deserializeDocumentMediaCapturePipelineSummaryList(&sv.MediaCapturePipelines, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2878,7 @@ func awsRestjson1_deserializeOpDocumentListMediaCapturePipelinesOutput(v **ListM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3033,6 +3048,7 @@ func awsRestjson1_deserializeOpDocumentListMediaInsightsPipelineConfigurationsOu if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummaryList(&sv.MediaInsightsPipelineConfigurations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3041,6 +3057,7 @@ func awsRestjson1_deserializeOpDocumentListMediaInsightsPipelineConfigurationsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3210,6 +3227,7 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelineKinesisVideoStreamPoolsO if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummaryList(&sv.KinesisVideoStreamPools, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3218,6 +3236,7 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelineKinesisVideoStreamPoolsO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3387,6 +3406,7 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelinesOutput(v **ListMediaPip if err := awsRestjson1_deserializeDocumentMediaPipelineList(&sv.MediaPipelines, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3395,6 +3415,7 @@ func awsRestjson1_deserializeOpDocumentListMediaPipelinesOutput(v **ListMediaPip } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3564,6 +3585,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3736,6 +3758,7 @@ func awsRestjson1_deserializeOpDocumentStartSpeakerSearchTaskOutput(v **StartSpe if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } + default: _, _ = key, value @@ -3908,6 +3931,7 @@ func awsRestjson1_deserializeOpDocumentStartVoiceToneAnalysisTaskOutput(v **Star if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } + default: _, _ = key, value @@ -4522,6 +4546,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMediaInsightsPipelineConfigurationO if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(&sv.MediaInsightsPipelineConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4809,6 +4834,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMediaPipelineKinesisVideoStreamPool if err := awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(&sv.KinesisVideoStreamPoolConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5172,6 +5198,7 @@ func awsRestjson1_deserializeDocumentActiveSpeakerOnlyConfiguration(v **types.Ac } sv.ActiveSpeakerPosition = types.ActiveSpeakerPosition(jtv) } + default: _, _ = key, value @@ -5207,6 +5234,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi if err := awsRestjson1_deserializeDocumentCategoryNameList(&sv.CallAnalyticsStreamCategories, value); err != nil { return err } + case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -5215,6 +5243,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.ContentIdentificationType = types.ContentType(jtv) } + case "ContentRedactionType": if value != nil { jtv, ok := value.(string) @@ -5223,6 +5252,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.ContentRedactionType = types.ContentType(jtv) } + case "EnablePartialResultsStabilization": if value != nil { jtv, ok := value.(bool) @@ -5231,6 +5261,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.EnablePartialResultsStabilization = jtv } + case "FilterPartialResults": if value != nil { jtv, ok := value.(bool) @@ -5239,6 +5270,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.FilterPartialResults = jtv } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5247,6 +5279,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.LanguageCode = types.CallAnalyticsLanguageCode(jtv) } + case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5255,6 +5288,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.LanguageModelName = ptr.String(jtv) } + case "PartialResultsStability": if value != nil { jtv, ok := value.(string) @@ -5263,6 +5297,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.PartialResultsStability = types.PartialResultsStability(jtv) } + case "PiiEntityTypes": if value != nil { jtv, ok := value.(string) @@ -5271,10 +5306,12 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.PiiEntityTypes = ptr.String(jtv) } + case "PostCallAnalyticsSettings": if err := awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(&sv.PostCallAnalyticsSettings, value); err != nil { return err } + case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5283,6 +5320,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5291,6 +5329,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5299,6 +5338,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfi } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -5338,6 +5378,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ContentIdentificationType = types.ContentType(jtv) } + case "ContentRedactionType": if value != nil { jtv, ok := value.(string) @@ -5346,6 +5387,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ContentRedactionType = types.ContentType(jtv) } + case "EnablePartialResultsStabilization": if value != nil { jtv, ok := value.(bool) @@ -5354,6 +5396,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.EnablePartialResultsStabilization = jtv } + case "FilterPartialResults": if value != nil { jtv, ok := value.(bool) @@ -5362,6 +5405,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.FilterPartialResults = jtv } + case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -5370,6 +5414,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.IdentifyLanguage = jtv } + case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -5378,6 +5423,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.IdentifyMultipleLanguages = jtv } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5386,6 +5432,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageCode = types.CallAnalyticsLanguageCode(jtv) } + case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5394,6 +5441,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageModelName = ptr.String(jtv) } + case "LanguageOptions": if value != nil { jtv, ok := value.(string) @@ -5402,6 +5450,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.LanguageOptions = ptr.String(jtv) } + case "PartialResultsStability": if value != nil { jtv, ok := value.(string) @@ -5410,6 +5459,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PartialResultsStability = types.PartialResultsStability(jtv) } + case "PiiEntityTypes": if value != nil { jtv, ok := value.(string) @@ -5418,6 +5468,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PiiEntityTypes = ptr.String(jtv) } + case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -5426,6 +5477,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.PreferredLanguage = types.CallAnalyticsLanguageCode(jtv) } + case "ShowSpeakerLabel": if value != nil { jtv, ok := value.(bool) @@ -5434,6 +5486,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.ShowSpeakerLabel = jtv } + case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5442,6 +5495,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5450,6 +5504,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyFilterNames": if value != nil { jtv, ok := value.(string) @@ -5458,6 +5513,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyFilterNames = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5466,6 +5522,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyNames": if value != nil { jtv, ok := value.(string) @@ -5474,6 +5531,7 @@ func awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(v ** } sv.VocabularyNames = ptr.String(jtv) } + default: _, _ = key, value @@ -5509,30 +5567,37 @@ func awsRestjson1_deserializeDocumentArtifactsConcatenationConfiguration(v **typ if err := awsRestjson1_deserializeDocumentAudioConcatenationConfiguration(&sv.Audio, value); err != nil { return err } + case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoConcatenationConfiguration(&sv.CompositedVideo, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentContentConcatenationConfiguration(&sv.Content, value); err != nil { return err } + case "DataChannel": if err := awsRestjson1_deserializeDocumentDataChannelConcatenationConfiguration(&sv.DataChannel, value); err != nil { return err } + case "MeetingEvents": if err := awsRestjson1_deserializeDocumentMeetingEventsConcatenationConfiguration(&sv.MeetingEvents, value); err != nil { return err } + case "TranscriptionMessages": if err := awsRestjson1_deserializeDocumentTranscriptionMessagesConcatenationConfiguration(&sv.TranscriptionMessages, value); err != nil { return err } + case "Video": if err := awsRestjson1_deserializeDocumentVideoConcatenationConfiguration(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -5568,18 +5633,22 @@ func awsRestjson1_deserializeDocumentArtifactsConfiguration(v **types.ArtifactsC if err := awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(&sv.Audio, value); err != nil { return err } + case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(&sv.CompositedVideo, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentContentArtifactsConfiguration(&sv.Content, value); err != nil { return err } + case "Video": if err := awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -5655,6 +5724,7 @@ func awsRestjson1_deserializeDocumentAudioArtifactsConfiguration(v **types.Audio } sv.MuxType = types.AudioMuxType(jtv) } + default: _, _ = key, value @@ -5694,6 +5764,7 @@ func awsRestjson1_deserializeDocumentAudioConcatenationConfiguration(v **types.A } sv.State = types.AudioArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -5733,6 +5804,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5741,6 +5813,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5749,6 +5822,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5828,6 +5902,7 @@ func awsRestjson1_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ChannelId = int32(i64) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -5836,6 +5911,7 @@ func awsRestjson1_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ParticipantRole = types.ParticipantRole(jtv) } + default: _, _ = key, value @@ -5905,6 +5981,7 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConcatenationConfiguration(v if err := awsRestjson1_deserializeDocumentArtifactsConcatenationConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5940,10 +6017,12 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(v **types.Chim if err := awsRestjson1_deserializeDocumentArtifactsConfiguration(&sv.ArtifactsConfiguration, value); err != nil { return err } + case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5983,10 +6062,12 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(v } sv.Arn = ptr.String(jtv) } + case "CompositedVideo": if err := awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(&sv.CompositedVideo, value); err != nil { return err } + case "MuxType": if value != nil { jtv, ok := value.(string) @@ -5995,10 +6076,12 @@ func awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(v } sv.MuxType = types.LiveConnectorMuxType(jtv) } + case "SourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6034,6 +6117,7 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t if err := awsRestjson1_deserializeDocumentGridViewConfiguration(&sv.GridViewConfiguration, value); err != nil { return err } + case "Layout": if value != nil { jtv, ok := value.(string) @@ -6042,6 +6126,7 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t } sv.Layout = types.LayoutOption(jtv) } + case "Resolution": if value != nil { jtv, ok := value.(string) @@ -6050,6 +6135,7 @@ func awsRestjson1_deserializeDocumentCompositedVideoArtifactsConfiguration(v **t } sv.Resolution = types.ResolutionOption(jtv) } + default: _, _ = key, value @@ -6089,6 +6175,7 @@ func awsRestjson1_deserializeDocumentCompositedVideoConcatenationConfiguration(v } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -6124,6 +6211,7 @@ func awsRestjson1_deserializeDocumentConcatenationSink(v **types.ConcatenationSi if err := awsRestjson1_deserializeDocumentS3BucketSinkConfiguration(&sv.S3BucketSinkConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6132,6 +6220,7 @@ func awsRestjson1_deserializeDocumentConcatenationSink(v **types.ConcatenationSi } sv.Type = types.ConcatenationSinkType(jtv) } + default: _, _ = key, value @@ -6201,6 +6290,7 @@ func awsRestjson1_deserializeDocumentConcatenationSource(v **types.Concatenation if err := awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(&sv.MediaCapturePipelineSourceConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6209,6 +6299,7 @@ func awsRestjson1_deserializeDocumentConcatenationSource(v **types.Concatenation } sv.Type = types.ConcatenationSourceType(jtv) } + default: _, _ = key, value @@ -6282,6 +6373,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6290,6 +6382,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6298,6 +6391,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6337,6 +6431,7 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.MuxType = types.ContentMuxType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6345,6 +6440,7 @@ func awsRestjson1_deserializeDocumentContentArtifactsConfiguration(v **types.Con } sv.State = types.ArtifactsState(jtv) } + default: _, _ = key, value @@ -6384,6 +6480,7 @@ func awsRestjson1_deserializeDocumentContentConcatenationConfiguration(v **types } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -6423,6 +6520,7 @@ func awsRestjson1_deserializeDocumentDataChannelConcatenationConfiguration(v **t } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -6498,6 +6596,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6506,6 +6605,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6514,6 +6614,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6553,10 +6654,12 @@ func awsRestjson1_deserializeDocumentFragmentSelector(v **types.FragmentSelector } sv.FragmentSelectorType = types.FragmentSelectorType(jtv) } + case "TimestampRange": if err := awsRestjson1_deserializeDocumentTimestampRange(&sv.TimestampRange, value); err != nil { return err } + default: _, _ = key, value @@ -6592,6 +6695,7 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon if err := awsRestjson1_deserializeDocumentActiveSpeakerOnlyConfiguration(&sv.ActiveSpeakerOnlyConfiguration, value); err != nil { return err } + case "CanvasOrientation": if value != nil { jtv, ok := value.(string) @@ -6600,6 +6704,7 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon } sv.CanvasOrientation = types.CanvasOrientation(jtv) } + case "ContentShareLayout": if value != nil { jtv, ok := value.(string) @@ -6608,22 +6713,27 @@ func awsRestjson1_deserializeDocumentGridViewConfiguration(v **types.GridViewCon } sv.ContentShareLayout = types.ContentShareLayoutOption(jtv) } + case "HorizontalLayoutConfiguration": if err := awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(&sv.HorizontalLayoutConfiguration, value); err != nil { return err } + case "PresenterOnlyConfiguration": if err := awsRestjson1_deserializeDocumentPresenterOnlyConfiguration(&sv.PresenterOnlyConfiguration, value); err != nil { return err } + case "VerticalLayoutConfiguration": if err := awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(&sv.VerticalLayoutConfiguration, value); err != nil { return err } + case "VideoAttribute": if err := awsRestjson1_deserializeDocumentVideoAttribute(&sv.VideoAttribute, value); err != nil { return err } + default: _, _ = key, value @@ -6663,6 +6773,7 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileAspectRatio = ptr.String(jtv) } + case "TileCount": if value != nil { jtv, ok := value.(json.Number) @@ -6675,6 +6786,7 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileCount = ptr.Int32(int32(i64)) } + case "TileOrder": if value != nil { jtv, ok := value.(string) @@ -6683,6 +6795,7 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TileOrder = types.TileOrder(jtv) } + case "TilePosition": if value != nil { jtv, ok := value.(string) @@ -6691,6 +6804,7 @@ func awsRestjson1_deserializeDocumentHorizontalLayoutConfiguration(v **types.Hor } sv.TilePosition = types.HorizontalTilePosition(jtv) } + default: _, _ = key, value @@ -6730,6 +6844,7 @@ func awsRestjson1_deserializeDocumentIssueDetectionConfiguration(v **types.Issue } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -6765,6 +6880,7 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword if err := awsRestjson1_deserializeDocumentKeywordMatchWordList(&sv.Keywords, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -6773,6 +6889,7 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword } sv.Negate = jtv } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -6781,6 +6898,7 @@ func awsRestjson1_deserializeDocumentKeywordMatchConfiguration(v **types.Keyword } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -6856,6 +6974,7 @@ func awsRestjson1_deserializeDocumentKinesisDataStreamSinkConfiguration(v **type } sv.InsightsTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -6899,6 +7018,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(v **types.K } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -6907,6 +7027,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(v **types.K } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -6950,6 +7071,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.CreatedTimestamp = ptr.Time(t) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -6958,6 +7080,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -6966,6 +7089,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolId = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -6974,6 +7098,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolName = ptr.String(jtv) } + case "PoolSize": if value != nil { jtv, ok := value.(json.Number) @@ -6986,6 +7111,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolSize = ptr.Int32(int32(i64)) } + case "PoolStatus": if value != nil { jtv, ok := value.(string) @@ -6994,10 +7120,12 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.PoolStatus = types.KinesisVideoStreamPoolStatus(jtv) } + case "StreamConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfiguration(&sv.StreamConfiguration, value); err != nil { return err } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7010,6 +7138,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolConfiguration(v **typ } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -7049,6 +7178,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -7057,6 +7187,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolId = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -7065,6 +7196,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamPoolSummary(v **types.Kin } sv.PoolName = ptr.String(jtv) } + default: _, _ = key, value @@ -7134,10 +7266,12 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamRecordingSourceRuntimeCon if err := awsRestjson1_deserializeDocumentFragmentSelector(&sv.FragmentSelector, value); err != nil { return err } + case "Streams": if err := awsRestjson1_deserializeDocumentRecordingStreamList(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -7177,6 +7311,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguratio } sv.MediaEncoding = types.MediaEncoding(jtv) } + case "MediaSampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -7189,10 +7324,12 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguratio } sv.MediaSampleRate = ptr.Int32(int32(i64)) } + case "Streams": if err := awsRestjson1_deserializeDocumentStreams(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -7232,6 +7369,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionSinkConfiguration(v **types.L } sv.InsightsTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -7271,6 +7409,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.AudioChannels = types.AudioChannelsOption(jtv) } + case "AudioSampleRate": if value != nil { jtv, ok := value.(string) @@ -7279,6 +7418,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.AudioSampleRate = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7287,6 +7427,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(v **types.Li } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7322,6 +7463,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorSinkConfiguration(v **types.Li if err := awsRestjson1_deserializeDocumentLiveConnectorRTMPConfiguration(&sv.RTMPConfiguration, value); err != nil { return err } + case "SinkType": if value != nil { jtv, ok := value.(string) @@ -7330,6 +7472,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorSinkConfiguration(v **types.Li } sv.SinkType = types.LiveConnectorSinkType(jtv) } + default: _, _ = key, value @@ -7399,6 +7542,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorSourceConfiguration(v **types. if err := awsRestjson1_deserializeDocumentChimeSdkMeetingLiveConnectorConfiguration(&sv.ChimeSdkMeetingLiveConnectorConfiguration, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -7407,6 +7551,7 @@ func awsRestjson1_deserializeDocumentLiveConnectorSourceConfiguration(v **types. } sv.SourceType = types.LiveConnectorSourceType(jtv) } + default: _, _ = key, value @@ -7476,6 +7621,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7488,6 +7634,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.CreatedTimestamp = ptr.Time(t) } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7496,6 +7643,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7504,6 +7652,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.MediaPipelineId = ptr.String(jtv) } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -7512,6 +7661,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkArn = ptr.String(jtv) } + case "SinkType": if value != nil { jtv, ok := value.(string) @@ -7520,6 +7670,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SinkType = types.MediaPipelineSinkType(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -7528,6 +7679,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -7536,6 +7688,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.SourceType = types.MediaPipelineSourceType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7544,6 +7697,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.Status = types.MediaPipelineStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7556,6 +7710,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipeline(v **types.MediaCapture } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -7591,6 +7746,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(v * if err := awsRestjson1_deserializeDocumentChimeSdkMeetingConcatenationConfiguration(&sv.ChimeSdkMeetingConfiguration, value); err != nil { return err } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7599,6 +7755,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSourceConfiguration(v * } sv.MediaPipelineArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7638,6 +7795,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSummary(v **types.Media } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7646,6 +7804,7 @@ func awsRestjson1_deserializeDocumentMediaCapturePipelineSummary(v **types.Media } sv.MediaPipelineId = ptr.String(jtv) } + default: _, _ = key, value @@ -7723,6 +7882,7 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.CreatedTimestamp = ptr.Time(t) } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7731,6 +7891,7 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7739,14 +7900,17 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.MediaPipelineId = ptr.String(jtv) } + case "Sinks": if err := awsRestjson1_deserializeDocumentConcatenationSinkList(&sv.Sinks, value); err != nil { return err } + case "Sources": if err := awsRestjson1_deserializeDocumentConcatenationSourceList(&sv.Sources, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7755,6 +7919,7 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.Status = types.MediaPipelineStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7767,6 +7932,7 @@ func awsRestjson1_deserializeDocumentMediaConcatenationPipeline(v **types.MediaC } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -7810,18 +7976,22 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.CreatedTimestamp = ptr.Time(t) } + case "ElementStatuses": if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatuses(&sv.ElementStatuses, value); err != nil { return err } + case "KinesisVideoStreamRecordingSourceRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamRecordingSourceRuntimeConfiguration(&sv.KinesisVideoStreamRecordingSourceRuntimeConfiguration, value); err != nil { return err } + case "KinesisVideoStreamSourceRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamSourceRuntimeConfiguration(&sv.KinesisVideoStreamSourceRuntimeConfiguration, value); err != nil { return err } + case "MediaInsightsPipelineConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -7830,10 +8000,12 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } + case "MediaInsightsRuntimeMetadata": if err := awsRestjson1_deserializeDocumentMediaInsightsRuntimeMetadata(&sv.MediaInsightsRuntimeMetadata, value); err != nil { return err } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -7842,6 +8014,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -7850,10 +8023,12 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.MediaPipelineId = ptr.String(jtv) } + case "S3RecordingSinkRuntimeConfiguration": if err := awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(&sv.S3RecordingSinkRuntimeConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7862,6 +8037,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipeline(v **types.MediaInsigh } sv.Status = types.MediaPipelineStatus(jtv) } + default: _, _ = key, value @@ -7905,10 +8081,12 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.CreatedTimestamp = ptr.Time(t) } + case "Elements": if err := awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElements(&sv.Elements, value); err != nil { return err } + case "MediaInsightsPipelineConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -7917,6 +8095,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } + case "MediaInsightsPipelineConfigurationId": if value != nil { jtv, ok := value.(string) @@ -7925,6 +8104,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationId = ptr.String(jtv) } + case "MediaInsightsPipelineConfigurationName": if value != nil { jtv, ok := value.(string) @@ -7933,10 +8113,12 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.MediaInsightsPipelineConfigurationName = ptr.String(jtv) } + case "RealTimeAlertConfiguration": if err := awsRestjson1_deserializeDocumentRealTimeAlertConfiguration(&sv.RealTimeAlertConfiguration, value); err != nil { return err } + case "ResourceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -7945,6 +8127,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.ResourceAccessRoleArn = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7957,6 +8140,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfiguration(v **type } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -7992,30 +8176,37 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElement(v if err := awsRestjson1_deserializeDocumentAmazonTranscribeCallAnalyticsProcessorConfiguration(&sv.AmazonTranscribeCallAnalyticsProcessorConfiguration, value); err != nil { return err } + case "AmazonTranscribeProcessorConfiguration": if err := awsRestjson1_deserializeDocumentAmazonTranscribeProcessorConfiguration(&sv.AmazonTranscribeProcessorConfiguration, value); err != nil { return err } + case "KinesisDataStreamSinkConfiguration": if err := awsRestjson1_deserializeDocumentKinesisDataStreamSinkConfiguration(&sv.KinesisDataStreamSinkConfiguration, value); err != nil { return err } + case "LambdaFunctionSinkConfiguration": if err := awsRestjson1_deserializeDocumentLambdaFunctionSinkConfiguration(&sv.LambdaFunctionSinkConfiguration, value); err != nil { return err } + case "S3RecordingSinkConfiguration": if err := awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(&sv.S3RecordingSinkConfiguration, value); err != nil { return err } + case "SnsTopicSinkConfiguration": if err := awsRestjson1_deserializeDocumentSnsTopicSinkConfiguration(&sv.SnsTopicSinkConfiguration, value); err != nil { return err } + case "SqsQueueSinkConfiguration": if err := awsRestjson1_deserializeDocumentSqsQueueSinkConfiguration(&sv.SqsQueueSinkConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8024,14 +8215,17 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationElement(v } sv.Type = types.MediaInsightsPipelineConfigurationElementType(jtv) } + case "VoiceAnalyticsProcessorConfiguration": if err := awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(&sv.VoiceAnalyticsProcessorConfiguration, value); err != nil { return err } + case "VoiceEnhancementSinkConfiguration": if err := awsRestjson1_deserializeDocumentVoiceEnhancementSinkConfiguration(&sv.VoiceEnhancementSinkConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8105,6 +8299,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationArn = ptr.String(jtv) } + case "MediaInsightsPipelineConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8113,6 +8308,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationId = ptr.String(jtv) } + case "MediaInsightsPipelineConfigurationName": if value != nil { jtv, ok := value.(string) @@ -8121,6 +8317,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineConfigurationSummary(v } sv.MediaInsightsPipelineConfigurationName = ptr.String(jtv) } + default: _, _ = key, value @@ -8194,6 +8391,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatus(v **type } sv.Status = types.MediaPipelineElementStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8202,6 +8400,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsPipelineElementStatus(v **type } sv.Type = types.MediaInsightsPipelineConfigurationElementType(jtv) } + default: _, _ = key, value @@ -8315,6 +8514,7 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.CreatedTimestamp = ptr.Time(t) } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -8323,6 +8523,7 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8331,14 +8532,17 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.MediaPipelineId = ptr.String(jtv) } + case "Sinks": if err := awsRestjson1_deserializeDocumentLiveConnectorSinkList(&sv.Sinks, value); err != nil { return err } + case "Sources": if err := awsRestjson1_deserializeDocumentLiveConnectorSourceList(&sv.Sources, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8347,6 +8551,7 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.Status = types.MediaPipelineStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8359,6 +8564,7 @@ func awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(v **types.MediaL } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -8394,22 +8600,27 @@ func awsRestjson1_deserializeDocumentMediaPipeline(v **types.MediaPipeline, valu if err := awsRestjson1_deserializeDocumentMediaCapturePipeline(&sv.MediaCapturePipeline, value); err != nil { return err } + case "MediaConcatenationPipeline": if err := awsRestjson1_deserializeDocumentMediaConcatenationPipeline(&sv.MediaConcatenationPipeline, value); err != nil { return err } + case "MediaInsightsPipeline": if err := awsRestjson1_deserializeDocumentMediaInsightsPipeline(&sv.MediaInsightsPipeline, value); err != nil { return err } + case "MediaLiveConnectorPipeline": if err := awsRestjson1_deserializeDocumentMediaLiveConnectorPipeline(&sv.MediaLiveConnectorPipeline, value); err != nil { return err } + case "MediaStreamPipeline": if err := awsRestjson1_deserializeDocumentMediaStreamPipeline(&sv.MediaStreamPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -8483,6 +8694,7 @@ func awsRestjson1_deserializeDocumentMediaPipelineSummary(v **types.MediaPipelin } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8491,6 +8703,7 @@ func awsRestjson1_deserializeDocumentMediaPipelineSummary(v **types.MediaPipelin } sv.MediaPipelineId = ptr.String(jtv) } + default: _, _ = key, value @@ -8534,6 +8747,7 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.CreatedTimestamp = ptr.Time(t) } + case "MediaPipelineArn": if value != nil { jtv, ok := value.(string) @@ -8542,6 +8756,7 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.MediaPipelineArn = ptr.String(jtv) } + case "MediaPipelineId": if value != nil { jtv, ok := value.(string) @@ -8550,14 +8765,17 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.MediaPipelineId = ptr.String(jtv) } + case "Sinks": if err := awsRestjson1_deserializeDocumentMediaStreamSinkList(&sv.Sinks, value); err != nil { return err } + case "Sources": if err := awsRestjson1_deserializeDocumentMediaStreamSourceList(&sv.Sources, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8784,7 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.Status = types.MediaPipelineStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8578,6 +8797,7 @@ func awsRestjson1_deserializeDocumentMediaStreamPipeline(v **types.MediaStreamPi } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -8617,6 +8837,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.MediaStreamType = types.MediaStreamType(jtv) } + case "ReservedStreamCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8629,6 +8850,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.ReservedStreamCapacity = ptr.Int32(int32(i64)) } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -8637,6 +8859,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.SinkArn = ptr.String(jtv) } + case "SinkType": if value != nil { jtv, ok := value.(string) @@ -8645,6 +8868,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSink(v **types.MediaStreamSink, } sv.SinkType = types.MediaStreamPipelineSinkType(jtv) } + default: _, _ = key, value @@ -8718,6 +8942,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSource(v **types.MediaStreamSour } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8726,6 +8951,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSource(v **types.MediaStreamSour } sv.SourceType = types.MediaPipelineSourceType(jtv) } + default: _, _ = key, value @@ -8799,6 +9025,7 @@ func awsRestjson1_deserializeDocumentMeetingEventsConcatenationConfiguration(v * } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -8838,6 +9065,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8846,6 +9074,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8854,6 +9083,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8893,6 +9123,7 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.ContentRedactionOutput = types.ContentRedactionOutput(jtv) } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -8901,6 +9132,7 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.DataAccessRoleArn = ptr.String(jtv) } + case "OutputEncryptionKMSKeyId": if value != nil { jtv, ok := value.(string) @@ -8909,6 +9141,7 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.OutputEncryptionKMSKeyId = ptr.String(jtv) } + case "OutputLocation": if value != nil { jtv, ok := value.(string) @@ -8917,6 +9150,7 @@ func awsRestjson1_deserializeDocumentPostCallAnalyticsSettings(v **types.PostCal } sv.OutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -8956,6 +9190,7 @@ func awsRestjson1_deserializeDocumentPresenterOnlyConfiguration(v **types.Presen } sv.PresenterPosition = types.PresenterPosition(jtv) } + default: _, _ = key, value @@ -8995,10 +9230,12 @@ func awsRestjson1_deserializeDocumentRealTimeAlertConfiguration(v **types.RealTi } sv.Disabled = jtv } + case "Rules": if err := awsRestjson1_deserializeDocumentRealTimeAlertRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -9034,14 +9271,17 @@ func awsRestjson1_deserializeDocumentRealTimeAlertRule(v **types.RealTimeAlertRu if err := awsRestjson1_deserializeDocumentIssueDetectionConfiguration(&sv.IssueDetectionConfiguration, value); err != nil { return err } + case "KeywordMatchConfiguration": if err := awsRestjson1_deserializeDocumentKeywordMatchConfiguration(&sv.KeywordMatchConfiguration, value); err != nil { return err } + case "SentimentConfiguration": if err := awsRestjson1_deserializeDocumentSentimentConfiguration(&sv.SentimentConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9050,6 +9290,7 @@ func awsRestjson1_deserializeDocumentRealTimeAlertRule(v **types.RealTimeAlertRu } sv.Type = types.RealTimeAlertRuleType(jtv) } + default: _, _ = key, value @@ -9123,6 +9364,7 @@ func awsRestjson1_deserializeDocumentRecordingStreamConfiguration(v **types.Reco } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9196,6 +9438,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9204,6 +9447,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9212,6 +9456,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9251,6 +9496,7 @@ func awsRestjson1_deserializeDocumentS3BucketSinkConfiguration(v **types.S3Bucke } sv.Destination = ptr.String(jtv) } + default: _, _ = key, value @@ -9290,6 +9536,7 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(v **types.S3Re } sv.Destination = ptr.String(jtv) } + case "RecordingFileFormat": if value != nil { jtv, ok := value.(string) @@ -9298,6 +9545,7 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkConfiguration(v **types.S3Re } sv.RecordingFileFormat = types.RecordingFileFormat(jtv) } + default: _, _ = key, value @@ -9337,6 +9585,7 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(v **typ } sv.Destination = ptr.String(jtv) } + case "RecordingFileFormat": if value != nil { jtv, ok := value.(string) @@ -9345,6 +9594,7 @@ func awsRestjson1_deserializeDocumentS3RecordingSinkRuntimeConfiguration(v **typ } sv.RecordingFileFormat = types.RecordingFileFormat(jtv) } + default: _, _ = key, value @@ -9380,10 +9630,12 @@ func awsRestjson1_deserializeDocumentSelectedVideoStreams(v **types.SelectedVide if err := awsRestjson1_deserializeDocumentAttendeeIdList(&sv.AttendeeIds, value); err != nil { return err } + case "ExternalUserIds": if err := awsRestjson1_deserializeDocumentExternalUserIdList(&sv.ExternalUserIds, value); err != nil { return err } + default: _, _ = key, value @@ -9423,6 +9675,7 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.RuleName = ptr.String(jtv) } + case "SentimentType": if value != nil { jtv, ok := value.(string) @@ -9431,6 +9684,7 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.SentimentType = types.SentimentType(jtv) } + case "TimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9443,6 +9697,7 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC } sv.TimePeriod = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9482,6 +9737,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9490,6 +9746,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9498,6 +9755,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9537,6 +9795,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9545,6 +9804,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9553,6 +9813,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9592,6 +9853,7 @@ func awsRestjson1_deserializeDocumentSnsTopicSinkConfiguration(v **types.SnsTopi } sv.InsightsTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -9627,6 +9889,7 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentSelectedVideoStreams(&sv.SelectedVideoStreams, value); err != nil { return err } + default: _, _ = key, value @@ -9670,6 +9933,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.CreatedTimestamp = ptr.Time(t) } + case "SpeakerSearchTaskId": if value != nil { jtv, ok := value.(string) @@ -9678,6 +9942,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskId = ptr.String(jtv) } + case "SpeakerSearchTaskStatus": if value != nil { jtv, ok := value.(string) @@ -9686,6 +9951,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskStatus = types.MediaPipelineTaskStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -9698,6 +9964,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -9737,6 +10004,7 @@ func awsRestjson1_deserializeDocumentSqsQueueSinkConfiguration(v **types.SqsQueu } sv.InsightsTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -9772,6 +10040,7 @@ func awsRestjson1_deserializeDocumentStreamChannelDefinition(v **types.StreamCha if err := awsRestjson1_deserializeDocumentChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } + case "NumberOfChannels": if value != nil { jtv, ok := value.(json.Number) @@ -9784,6 +10053,7 @@ func awsRestjson1_deserializeDocumentStreamChannelDefinition(v **types.StreamCha } sv.NumberOfChannels = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9823,6 +10093,7 @@ func awsRestjson1_deserializeDocumentStreamConfiguration(v **types.StreamConfigu } sv.FragmentNumber = ptr.String(jtv) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -9831,10 +10102,12 @@ func awsRestjson1_deserializeDocumentStreamConfiguration(v **types.StreamConfigu } sv.StreamArn = ptr.String(jtv) } + case "StreamChannelDefinition": if err := awsRestjson1_deserializeDocumentStreamChannelDefinition(&sv.StreamChannelDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -9908,6 +10181,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9916,6 +10190,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9989,6 +10264,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9997,6 +10273,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10005,6 +10282,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10051,6 +10329,7 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } } + case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -10066,6 +10345,7 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } } + default: _, _ = key, value @@ -10105,6 +10385,7 @@ func awsRestjson1_deserializeDocumentTranscriptionMessagesConcatenationConfigura } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -10144,6 +10425,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10152,6 +10434,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10160,6 +10443,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10199,6 +10483,7 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileAspectRatio = ptr.String(jtv) } + case "TileCount": if value != nil { jtv, ok := value.(json.Number) @@ -10211,6 +10496,7 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileCount = ptr.Int32(int32(i64)) } + case "TileOrder": if value != nil { jtv, ok := value.(string) @@ -10219,6 +10505,7 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TileOrder = types.TileOrder(jtv) } + case "TilePosition": if value != nil { jtv, ok := value.(string) @@ -10227,6 +10514,7 @@ func awsRestjson1_deserializeDocumentVerticalLayoutConfiguration(v **types.Verti } sv.TilePosition = types.VerticalTilePosition(jtv) } + default: _, _ = key, value @@ -10266,6 +10554,7 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.MuxType = types.VideoMuxType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10274,6 +10563,7 @@ func awsRestjson1_deserializeDocumentVideoArtifactsConfiguration(v **types.Video } sv.State = types.ArtifactsState(jtv) } + default: _, _ = key, value @@ -10313,6 +10603,7 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.BorderColor = types.BorderColor(jtv) } + case "BorderThickness": if value != nil { jtv, ok := value.(json.Number) @@ -10325,6 +10616,7 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.BorderThickness = ptr.Int32(int32(i64)) } + case "CornerRadius": if value != nil { jtv, ok := value.(json.Number) @@ -10337,6 +10629,7 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.CornerRadius = ptr.Int32(int32(i64)) } + case "HighlightColor": if value != nil { jtv, ok := value.(string) @@ -10345,6 +10638,7 @@ func awsRestjson1_deserializeDocumentVideoAttribute(v **types.VideoAttribute, va } sv.HighlightColor = types.HighlightColor(jtv) } + default: _, _ = key, value @@ -10384,6 +10678,7 @@ func awsRestjson1_deserializeDocumentVideoConcatenationConfiguration(v **types.V } sv.State = types.ArtifactsConcatenationState(jtv) } + default: _, _ = key, value @@ -10423,6 +10718,7 @@ func awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(v **ty } sv.SpeakerSearchStatus = types.VoiceAnalyticsConfigurationStatus(jtv) } + case "VoiceToneAnalysisStatus": if value != nil { jtv, ok := value.(string) @@ -10431,6 +10727,7 @@ func awsRestjson1_deserializeDocumentVoiceAnalyticsProcessorConfiguration(v **ty } sv.VoiceToneAnalysisStatus = types.VoiceAnalyticsConfigurationStatus(jtv) } + default: _, _ = key, value @@ -10470,6 +10767,7 @@ func awsRestjson1_deserializeDocumentVoiceEnhancementSinkConfiguration(v **types } sv.Disabled = jtv } + default: _, _ = key, value @@ -10513,6 +10811,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.CreatedTimestamp = ptr.Time(t) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -10525,6 +10824,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceToneAnalysisTaskId": if value != nil { jtv, ok := value.(string) @@ -10533,6 +10833,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskId = ptr.String(jtv) } + case "VoiceToneAnalysisTaskStatus": if value != nil { jtv, ok := value.(string) @@ -10541,6 +10842,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskStatus = types.MediaPipelineTaskStatus(jtv) } + default: _, _ = key, value diff --git a/service/chimesdkmeetings/deserializers.go b/service/chimesdkmeetings/deserializers.go index 7d25622e720..5e130c21c0c 100644 --- a/service/chimesdkmeetings/deserializers.go +++ b/service/chimesdkmeetings/deserializers.go @@ -196,10 +196,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateAttendeeOutput(v **BatchCreate if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -490,6 +492,7 @@ func awsRestjson1_deserializeOpDocumentCreateAttendeeOutput(v **CreateAttendeeOu if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + default: _, _ = key, value @@ -662,6 +665,7 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingOutput(v **CreateMeetingOutp if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -834,14 +838,17 @@ func awsRestjson1_deserializeOpDocumentCreateMeetingWithAttendeesOutput(v **Crea if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(&sv.Errors, value); err != nil { return err } + case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -1235,6 +1242,7 @@ func awsRestjson1_deserializeOpDocumentGetAttendeeOutput(v **GetAttendeeOutput, if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + default: _, _ = key, value @@ -1404,6 +1412,7 @@ func awsRestjson1_deserializeOpDocumentGetMeetingOutput(v **GetMeetingOutput, va if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -1573,6 +1582,7 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp if err := awsRestjson1_deserializeDocumentAttendeeList(&sv.Attendees, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1581,6 +1591,7 @@ func awsRestjson1_deserializeOpDocumentListAttendeesOutput(v **ListAttendeesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1753,6 +1764,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2379,6 +2391,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAttendeeCapabilitiesOutput(v **Upda if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + default: _, _ = key, value @@ -2866,10 +2879,12 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } + case "Capabilities": if err := awsRestjson1_deserializeDocumentAttendeeCapabilities(&sv.Capabilities, value); err != nil { return err } + case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -2878,6 +2893,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.ExternalUserId = ptr.String(jtv) } + case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -2886,6 +2902,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2925,6 +2942,7 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Audio = types.MediaCapabilities(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -2933,6 +2951,7 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Content = types.MediaCapabilities(jtv) } + case "Video": if value != nil { jtv, ok := value.(string) @@ -2941,6 +2960,7 @@ func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapa } sv.Video = types.MediaCapabilities(jtv) } + default: _, _ = key, value @@ -2984,6 +3004,7 @@ func awsRestjson1_deserializeDocumentAttendeeFeatures(v **types.AttendeeFeatures } sv.MaxCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3057,6 +3078,7 @@ func awsRestjson1_deserializeDocumentAudioFeatures(v **types.AudioFeatures, valu } sv.EchoReduction = types.MeetingFeatureStatus(jtv) } + default: _, _ = key, value @@ -3096,6 +3118,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3104,6 +3127,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3112,6 +3136,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3185,6 +3210,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3193,6 +3219,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3201,6 +3228,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3240,6 +3268,7 @@ func awsRestjson1_deserializeDocumentContentFeatures(v **types.ContentFeatures, } sv.MaxResolution = types.ContentResolution(jtv) } + default: _, _ = key, value @@ -3279,6 +3308,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3287,6 +3317,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ErrorMessage = ptr.String(jtv) } + case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -3295,6 +3326,7 @@ func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttende } sv.ExternalUserId = ptr.String(jtv) } + default: _, _ = key, value @@ -3334,6 +3366,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3342,6 +3375,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3350,6 +3384,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3389,6 +3424,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3397,6 +3433,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3405,6 +3442,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3444,6 +3482,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } + case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -3452,6 +3491,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } + case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -3460,6 +3500,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } + case "ScreenDataUrl": if value != nil { jtv, ok := value.(string) @@ -3468,6 +3509,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenDataUrl = ptr.String(jtv) } + case "ScreenSharingUrl": if value != nil { jtv, ok := value.(string) @@ -3476,6 +3518,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenSharingUrl = ptr.String(jtv) } + case "ScreenViewingUrl": if value != nil { jtv, ok := value.(string) @@ -3484,6 +3527,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.ScreenViewingUrl = ptr.String(jtv) } + case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -3492,6 +3536,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } + case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -3500,6 +3545,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -3539,10 +3585,12 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.ExternalMeetingId = ptr.String(jtv) } + case "MediaPlacement": if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } + case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -3551,6 +3599,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } + case "MeetingArn": if value != nil { jtv, ok := value.(string) @@ -3559,10 +3608,12 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingArn = ptr.String(jtv) } + case "MeetingFeatures": if err := awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(&sv.MeetingFeatures, value); err != nil { return err } + case "MeetingHostId": if value != nil { jtv, ok := value.(string) @@ -3571,6 +3622,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingHostId = ptr.String(jtv) } + case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -3579,6 +3631,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } + case "PrimaryMeetingId": if value != nil { jtv, ok := value.(string) @@ -3587,10 +3640,12 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.PrimaryMeetingId = ptr.String(jtv) } + case "TenantIds": if err := awsRestjson1_deserializeDocumentTenantIdList(&sv.TenantIds, value); err != nil { return err } + default: _, _ = key, value @@ -3626,18 +3681,22 @@ func awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(v **types.Meet if err := awsRestjson1_deserializeDocumentAttendeeFeatures(&sv.Attendee, value); err != nil { return err } + case "Audio": if err := awsRestjson1_deserializeDocumentAudioFeatures(&sv.Audio, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentContentFeatures(&sv.Content, value); err != nil { return err } + case "Video": if err := awsRestjson1_deserializeDocumentVideoFeatures(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -3677,6 +3736,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3685,6 +3745,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3693,6 +3754,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3732,6 +3794,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3740,6 +3803,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3748,6 +3812,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -3756,6 +3821,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3795,6 +3861,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3803,6 +3870,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3811,6 +3879,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3850,6 +3919,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3928,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3937,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RequestId = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -3874,6 +3946,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -3913,6 +3986,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3921,6 +3995,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4030,6 +4105,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4038,6 +4114,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4046,6 +4123,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4085,6 +4163,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4093,6 +4172,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4101,6 +4181,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.RequestId = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4109,6 +4190,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -4148,6 +4230,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4156,6 +4239,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4164,6 +4248,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4203,6 +4288,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4211,6 +4297,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4219,6 +4306,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4258,6 +4346,7 @@ func awsRestjson1_deserializeDocumentVideoFeatures(v **types.VideoFeatures, valu } sv.MaxResolution = types.VideoResolution(jtv) } + default: _, _ = key, value diff --git a/service/chimesdkmessaging/deserializers.go b/service/chimesdkmessaging/deserializers.go index e5f205e008e..14336697631 100644 --- a/service/chimesdkmessaging/deserializers.go +++ b/service/chimesdkmessaging/deserializers.go @@ -308,10 +308,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateChannelMembershipOutput(v **Ba if err := awsRestjson1_deserializeDocumentBatchChannelMemberships(&sv.BatchChannelMemberships, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchCreateChannelMembershipErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -485,6 +487,7 @@ func awsRestjson1_deserializeOpDocumentChannelFlowCallbackOutput(v **ChannelFlow } sv.CallbackId = ptr.String(jtv) } + case "ChannelArn": if value != nil { jtv, ok := value.(string) @@ -493,6 +496,7 @@ func awsRestjson1_deserializeOpDocumentChannelFlowCallbackOutput(v **ChannelFlow } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -669,6 +673,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -845,10 +850,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelBanOutput(v **CreateChannelB } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -1025,6 +1032,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelFlowOutput(v **CreateChannel } sv.ChannelFlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1204,10 +1212,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -1216,6 +1226,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelMembershipOutput(v **CreateC } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -1392,10 +1403,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelModeratorOutput(v **CreateCh } sv.ChannelArn = ptr.String(jtv) } + case "ChannelModerator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.ChannelModerator, value); err != nil { return err } + default: _, _ = key, value @@ -2334,6 +2347,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -2503,6 +2517,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelBanOutput(v **DescribeChan if err := awsRestjson1_deserializeDocumentChannelBan(&sv.ChannelBan, value); err != nil { return err } + default: _, _ = key, value @@ -2669,6 +2684,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelFlowOutput(v **DescribeCha if err := awsRestjson1_deserializeDocumentChannelFlow(&sv.ChannelFlow, value); err != nil { return err } + default: _, _ = key, value @@ -2838,6 +2854,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipOutput(v **Descr if err := awsRestjson1_deserializeDocumentChannelMembership(&sv.ChannelMembership, value); err != nil { return err } + default: _, _ = key, value @@ -3004,6 +3021,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelMembershipForAppInstanceUs if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary(&sv.ChannelMembership, value); err != nil { return err } + default: _, _ = key, value @@ -3170,6 +3188,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratedByAppInstanceUser if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -3339,6 +3358,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelModeratorOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelModerator(&sv.ChannelModerator, value); err != nil { return err } + default: _, _ = key, value @@ -3624,14 +3644,17 @@ func awsRestjson1_deserializeOpDocumentGetChannelMembershipPreferencesOutput(v * } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + case "Preferences": if err := awsRestjson1_deserializeDocumentChannelMembershipPreferences(&sv.Preferences, value); err != nil { return err } + default: _, _ = key, value @@ -3801,6 +3824,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageOutput(v **GetChannelMes if err := awsRestjson1_deserializeDocumentChannelMessage(&sv.ChannelMessage, value); err != nil { return err } + default: _, _ = key, value @@ -3967,6 +3991,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelMessageStatusOutput(v **GetChan if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -4130,6 +4155,7 @@ func awsRestjson1_deserializeOpDocumentGetMessagingSessionEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentMessagingSessionEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -4299,6 +4325,7 @@ func awsRestjson1_deserializeOpDocumentGetMessagingStreamingConfigurationsOutput if err := awsRestjson1_deserializeDocumentStreamingConfigurationList(&sv.StreamingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -4469,10 +4496,12 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.ChannelArn = ptr.String(jtv) } + case "ChannelBans": if err := awsRestjson1_deserializeDocumentChannelBanSummaryList(&sv.ChannelBans, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4481,6 +4510,7 @@ func awsRestjson1_deserializeOpDocumentListChannelBansOutput(v **ListChannelBans } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4647,6 +4677,7 @@ func awsRestjson1_deserializeOpDocumentListChannelFlowsOutput(v **ListChannelFlo if err := awsRestjson1_deserializeDocumentChannelFlowSummaryList(&sv.ChannelFlows, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4655,6 +4686,7 @@ func awsRestjson1_deserializeOpDocumentListChannelFlowsOutput(v **ListChannelFlo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4825,10 +4857,12 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.ChannelArn = ptr.String(jtv) } + case "ChannelMemberships": if err := awsRestjson1_deserializeDocumentChannelMembershipSummaryList(&sv.ChannelMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4837,6 +4871,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsOutput(v **ListChan } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5003,6 +5038,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO if err := awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummaryList(&sv.ChannelMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5011,6 +5047,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMembershipsForAppInstanceUserO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5181,10 +5218,12 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.ChannelArn = ptr.String(jtv) } + case "ChannelMessages": if err := awsRestjson1_deserializeDocumentChannelMessageSummaryList(&sv.ChannelMessages, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5193,6 +5232,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.NextToken = ptr.String(jtv) } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -5201,6 +5241,7 @@ func awsRestjson1_deserializeOpDocumentListChannelMessagesOutput(v **ListChannel } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -5371,10 +5412,12 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.ChannelArn = ptr.String(jtv) } + case "ChannelModerators": if err := awsRestjson1_deserializeDocumentChannelModeratorSummaryList(&sv.ChannelModerators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5383,6 +5426,7 @@ func awsRestjson1_deserializeOpDocumentListChannelModeratorsOutput(v **ListChann } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5549,6 +5593,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5557,6 +5602,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5723,6 +5769,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsAssociatedWithChannelFlowOutp if err := awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5731,6 +5778,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsAssociatedWithChannelFlowOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5897,6 +5945,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut if err := awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5905,6 +5954,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsModeratedByAppInstanceUserOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6075,6 +6125,7 @@ func awsRestjson1_deserializeOpDocumentListSubChannelsOutput(v **ListSubChannels } sv.ChannelArn = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6083,10 +6134,12 @@ func awsRestjson1_deserializeOpDocumentListSubChannelsOutput(v **ListSubChannels } sv.NextToken = ptr.String(jtv) } + case "SubChannels": if err := awsRestjson1_deserializeDocumentSubChannelSummaryList(&sv.SubChannels, value); err != nil { return err } + default: _, _ = key, value @@ -6253,6 +6306,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6426,10 +6480,12 @@ func awsRestjson1_deserializeOpDocumentPutChannelExpirationSettingsOutput(v **Pu } sv.ChannelArn = ptr.String(jtv) } + case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -6603,14 +6659,17 @@ func awsRestjson1_deserializeOpDocumentPutChannelMembershipPreferencesOutput(v * } sv.ChannelArn = ptr.String(jtv) } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + case "Preferences": if err := awsRestjson1_deserializeDocumentChannelMembershipPreferences(&sv.Preferences, value); err != nil { return err } + default: _, _ = key, value @@ -6783,6 +6842,7 @@ func awsRestjson1_deserializeOpDocumentPutMessagingStreamingConfigurationsOutput if err := awsRestjson1_deserializeDocumentStreamingConfigurationList(&sv.StreamingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6956,6 +7016,7 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6964,6 +7025,7 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.MessageId = ptr.String(jtv) } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -6972,6 +7034,7 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -7138,6 +7201,7 @@ func awsRestjson1_deserializeOpDocumentSearchChannelsOutput(v **SearchChannelsOu if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7146,6 +7210,7 @@ func awsRestjson1_deserializeOpDocumentSearchChannelsOutput(v **SearchChannelsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7319,6 +7384,7 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -7327,10 +7393,12 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.MessageId = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -7339,6 +7407,7 @@ func awsRestjson1_deserializeOpDocumentSendChannelMessageOutput(v **SendChannelM } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -7733,6 +7802,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7906,6 +7976,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelFlowOutput(v **UpdateChannel } sv.ChannelFlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8079,6 +8150,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.ChannelArn = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -8087,10 +8159,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.MessageId = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8099,6 +8173,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelMessageOutput(v **UpdateChan } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -8272,6 +8347,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelReadMarkerOutput(v **UpdateC } sv.ChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8642,6 +8718,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8650,6 +8727,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.SubChannelId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8658,6 +8736,7 @@ func awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(v **types. } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -8697,6 +8776,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8705,6 +8785,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8744,14 +8825,17 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.ChannelArn = ptr.String(jtv) } + case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } + case "Members": if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -8760,6 +8844,7 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.SubChannelId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8768,6 +8853,7 @@ func awsRestjson1_deserializeDocumentBatchChannelMemberships(v **types.BatchChan } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -8807,6 +8893,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8815,6 +8902,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "MemberArn": if value != nil { jtv, ok := value.(string) @@ -8823,6 +8911,7 @@ func awsRestjson1_deserializeDocumentBatchCreateChannelMembershipError(v **types } sv.MemberArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8896,6 +8985,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } + case "ChannelFlowArn": if value != nil { jtv, ok := value.(string) @@ -8904,10 +8994,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelFlowArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8923,14 +9015,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "ElasticChannelConfiguration": if err := awsRestjson1_deserializeDocumentElasticChannelConfiguration(&sv.ElasticChannelConfiguration, value); err != nil { return err } + case "ExpirationSettings": if err := awsRestjson1_deserializeDocumentExpirationSettings(&sv.ExpirationSettings, value); err != nil { return err } + case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -8946,6 +9041,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8961,6 +9057,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -8969,6 +9066,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Metadata = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -8977,6 +9075,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Mode = types.ChannelMode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9084,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + case "Privacy": if value != nil { jtv, ok := value.(string) @@ -8993,6 +9093,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Privacy = types.ChannelPrivacy(jtv) } + default: _, _ = key, value @@ -9032,6 +9133,7 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.ChannelArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9040,6 +9142,7 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Metadata = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -9048,6 +9151,7 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Mode = types.ChannelMode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9056,6 +9160,7 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Name = ptr.String(jtv) } + case "Privacy": if value != nil { jtv, ok := value.(string) @@ -9064,6 +9169,7 @@ func awsRestjson1_deserializeDocumentChannelAssociatedWithFlowSummary(v **types. } sv.Privacy = types.ChannelPrivacy(jtv) } + default: _, _ = key, value @@ -9137,10 +9243,12 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } sv.ChannelArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9156,10 +9264,12 @@ func awsRestjson1_deserializeDocumentChannelBan(v **types.ChannelBan, value inte } } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -9195,6 +9305,7 @@ func awsRestjson1_deserializeDocumentChannelBanSummary(v **types.ChannelBanSumma if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -9268,6 +9379,7 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } sv.ChannelFlowArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9283,6 +9395,7 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9298,6 +9411,7 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9306,10 +9420,12 @@ func awsRestjson1_deserializeDocumentChannelFlow(v **types.ChannelFlow, value in } sv.Name = ptr.String(jtv) } + case "Processors": if err := awsRestjson1_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } + default: _, _ = key, value @@ -9349,6 +9465,7 @@ func awsRestjson1_deserializeDocumentChannelFlowSummary(v **types.ChannelFlowSum } sv.ChannelFlowArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9357,10 +9474,12 @@ func awsRestjson1_deserializeDocumentChannelFlowSummary(v **types.ChannelFlowSum } sv.Name = ptr.String(jtv) } + case "Processors": if err := awsRestjson1_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } + default: _, _ = key, value @@ -9434,6 +9553,7 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.ChannelArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9449,10 +9569,12 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } + case "InvitedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.InvitedBy, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9468,10 +9590,12 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } } + case "Member": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -9480,6 +9604,7 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.SubChannelId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9488,6 +9613,7 @@ func awsRestjson1_deserializeDocumentChannelMembership(v **types.ChannelMembersh } sv.Type = types.ChannelMembershipType(jtv) } + default: _, _ = key, value @@ -9523,10 +9649,12 @@ func awsRestjson1_deserializeDocumentChannelMembershipForAppInstanceUserSummary( if err := awsRestjson1_deserializeDocumentAppInstanceUserMembershipSummary(&sv.AppInstanceUserMembershipSummary, value); err != nil { return err } + case "ChannelSummary": if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } + default: _, _ = key, value @@ -9596,6 +9724,7 @@ func awsRestjson1_deserializeDocumentChannelMembershipPreferences(v **types.Chan if err := awsRestjson1_deserializeDocumentPushNotificationPreferences(&sv.PushNotifications, value); err != nil { return err } + default: _, _ = key, value @@ -9631,6 +9760,7 @@ func awsRestjson1_deserializeDocumentChannelMembershipSummary(v **types.ChannelM if err := awsRestjson1_deserializeDocumentIdentity(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -9704,6 +9834,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ChannelArn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -9712,6 +9843,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -9720,6 +9852,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.ContentType = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9735,6 +9868,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9750,6 +9884,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9765,10 +9900,12 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } } + case "MessageAttributes": if err := awsRestjson1_deserializeDocumentMessageAttributeMap(&sv.MessageAttributes, value); err != nil { return err } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -9777,6 +9914,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.MessageId = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9785,6 +9923,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Metadata = ptr.String(jtv) } + case "Persistence": if value != nil { jtv, ok := value.(string) @@ -9793,6 +9932,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Persistence = types.ChannelMessagePersistenceType(jtv) } + case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -9801,14 +9941,17 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Redacted = jtv } + case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -9817,10 +9960,12 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.SubChannelId = ptr.String(jtv) } + case "Target": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Target, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9829,6 +9974,7 @@ func awsRestjson1_deserializeDocumentChannelMessage(v **types.ChannelMessage, va } sv.Type = types.ChannelMessageType(jtv) } + default: _, _ = key, value @@ -9868,6 +10014,7 @@ func awsRestjson1_deserializeDocumentChannelMessageStatusStructure(v **types.Cha } sv.Detail = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9876,6 +10023,7 @@ func awsRestjson1_deserializeDocumentChannelMessageStatusStructure(v **types.Cha } sv.Value = types.ChannelMessageStatus(jtv) } + default: _, _ = key, value @@ -9915,6 +10063,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -9923,6 +10072,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.ContentType = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9938,6 +10088,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "LastEditedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9953,6 +10104,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9968,10 +10120,12 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } } + case "MessageAttributes": if err := awsRestjson1_deserializeDocumentMessageAttributeMap(&sv.MessageAttributes, value); err != nil { return err } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -9980,6 +10134,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.MessageId = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -9988,6 +10143,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Metadata = ptr.String(jtv) } + case "Redacted": if value != nil { jtv, ok := value.(bool) @@ -9996,18 +10152,22 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Redacted = jtv } + case "Sender": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Sender, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentChannelMessageStatusStructure(&sv.Status, value); err != nil { return err } + case "Target": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Target, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10016,6 +10176,7 @@ func awsRestjson1_deserializeDocumentChannelMessageSummary(v **types.ChannelMess } sv.Type = types.ChannelMessageType(jtv) } + default: _, _ = key, value @@ -10085,6 +10246,7 @@ func awsRestjson1_deserializeDocumentChannelModeratedByAppInstanceUserSummary(v if err := awsRestjson1_deserializeDocumentChannelSummary(&sv.ChannelSummary, value); err != nil { return err } + default: _, _ = key, value @@ -10158,10 +10320,12 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } sv.ChannelArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10177,10 +10341,12 @@ func awsRestjson1_deserializeDocumentChannelModerator(v **types.ChannelModerator } } + case "Moderator": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } + default: _, _ = key, value @@ -10216,6 +10382,7 @@ func awsRestjson1_deserializeDocumentChannelModeratorSummary(v **types.ChannelMo if err := awsRestjson1_deserializeDocumentIdentity(&sv.Moderator, value); err != nil { return err } + default: _, _ = key, value @@ -10289,6 +10456,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelArn = ptr.String(jtv) } + case "LastMessageTimestamp": if value != nil { switch jtv := value.(type) { @@ -10304,6 +10472,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -10312,6 +10481,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Metadata = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -10320,6 +10490,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Mode = types.ChannelMode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10328,6 +10499,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } + case "Privacy": if value != nil { jtv, ok := value.(string) @@ -10336,6 +10508,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Privacy = types.ChannelPrivacy(jtv) } + default: _, _ = key, value @@ -10409,6 +10582,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10417,6 +10591,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10460,6 +10635,7 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.MaximumSubChannels = ptr.Int32(int32(i64)) } + case "MinimumMembershipPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -10472,6 +10648,7 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.MinimumMembershipPercentage = ptr.Int32(int32(i64)) } + case "TargetMembershipsPerSubChannel": if value != nil { jtv, ok := value.(json.Number) @@ -10484,6 +10661,7 @@ func awsRestjson1_deserializeDocumentElasticChannelConfiguration(v **types.Elast } sv.TargetMembershipsPerSubChannel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10523,6 +10701,7 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationCriterion = types.ExpirationCriterion(jtv) } + case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -10535,6 +10714,7 @@ func awsRestjson1_deserializeDocumentExpirationSettings(v **types.ExpirationSett } sv.ExpirationDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10574,6 +10754,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10582,6 +10763,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10621,6 +10803,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10629,6 +10812,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10668,6 +10852,7 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.InvocationType = types.InvocationType(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10676,6 +10861,7 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10816,6 +11002,7 @@ func awsRestjson1_deserializeDocumentMessageAttributeValue(v **types.MessageAttr if err := awsRestjson1_deserializeDocumentMessageAttributeStringValues(&sv.StringValues, value); err != nil { return err } + default: _, _ = key, value @@ -10855,6 +11042,7 @@ func awsRestjson1_deserializeDocumentMessagingSessionEndpoint(v **types.Messagin } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -10894,6 +11082,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10902,6 +11091,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10937,6 +11127,7 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf if err := awsRestjson1_deserializeDocumentProcessorConfiguration(&sv.Configuration, value); err != nil { return err } + case "ExecutionOrder": if value != nil { jtv, ok := value.(json.Number) @@ -10949,6 +11140,7 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.ExecutionOrder = ptr.Int32(int32(i64)) } + case "FallbackAction": if value != nil { jtv, ok := value.(string) @@ -10957,6 +11149,7 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.FallbackAction = types.FallbackAction(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10965,6 +11158,7 @@ func awsRestjson1_deserializeDocumentProcessor(v **types.Processor, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11000,6 +11194,7 @@ func awsRestjson1_deserializeDocumentProcessorConfiguration(v **types.ProcessorC if err := awsRestjson1_deserializeDocumentLambdaConfiguration(&sv.Lambda, value); err != nil { return err } + default: _, _ = key, value @@ -11073,6 +11268,7 @@ func awsRestjson1_deserializeDocumentPushNotificationPreferences(v **types.PushN } sv.AllowNotifications = types.AllowNotifications(jtv) } + case "FilterRule": if value != nil { jtv, ok := value.(string) @@ -11081,6 +11277,7 @@ func awsRestjson1_deserializeDocumentPushNotificationPreferences(v **types.PushN } sv.FilterRule = ptr.String(jtv) } + default: _, _ = key, value @@ -11120,6 +11317,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11128,6 +11326,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11167,6 +11366,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11175,6 +11375,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11214,6 +11415,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11222,6 +11424,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11261,6 +11464,7 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataType = types.MessagingDataType(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11269,6 +11473,7 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11346,6 +11551,7 @@ func awsRestjson1_deserializeDocumentSubChannelSummary(v **types.SubChannelSumma } sv.MembershipCount = ptr.Int32(int32(i64)) } + case "SubChannelId": if value != nil { jtv, ok := value.(string) @@ -11354,6 +11560,7 @@ func awsRestjson1_deserializeDocumentSubChannelSummary(v **types.SubChannelSumma } sv.SubChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -11427,6 +11634,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11435,6 +11643,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11508,6 +11717,7 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.MemberArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11581,6 +11791,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11589,6 +11800,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11628,6 +11840,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11636,6 +11849,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/chimesdkvoice/deserializers.go b/service/chimesdkvoice/deserializers.go index 3f879406d94..bed8bf7431c 100644 --- a/service/chimesdkvoice/deserializers.go +++ b/service/chimesdkvoice/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorOu if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -366,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePhoneNumbersWithVoiceConnectorGr if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -535,6 +537,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeletePhoneNumberOutput(v **BatchDel if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -704,6 +707,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdatePhoneNumberOutput(v **BatchUpd if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -876,6 +880,7 @@ func awsRestjson1_deserializeOpDocumentCreatePhoneNumberOrderOutput(v **CreatePh if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } + default: _, _ = key, value @@ -1045,6 +1050,7 @@ func awsRestjson1_deserializeOpDocumentCreateProxySessionOutput(v **CreateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -1220,6 +1226,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationOutput(v **Creat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -1392,6 +1399,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipMediaApplicationCallOutput(v **C if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } + default: _, _ = key, value @@ -1567,6 +1575,7 @@ func awsRestjson1_deserializeOpDocumentCreateSipRuleOutput(v **CreateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -1739,6 +1748,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorOutput(v **CreateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -1911,6 +1921,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceConnectorGroupOutput(v **Creat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -2092,6 +2103,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceProfileOutput(v **CreateVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -2267,6 +2279,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceProfileDomainOutput(v **Create if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } + default: _, _ = key, value @@ -4028,6 +4041,7 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -4197,6 +4211,7 @@ func awsRestjson1_deserializeOpDocumentDisassociatePhoneNumbersFromVoiceConnecto if err := awsRestjson1_deserializeDocumentPhoneNumberErrorList(&sv.PhoneNumberErrors, value); err != nil { return err } + default: _, _ = key, value @@ -4363,6 +4378,7 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett if err := awsRestjson1_deserializeDocumentVoiceConnectorSettings(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -4532,6 +4548,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOutput(v **GetPhoneNumberOu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -4701,6 +4718,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberOrderOutput(v **GetPhoneNum if err := awsRestjson1_deserializeDocumentPhoneNumberOrder(&sv.PhoneNumberOrder, value); err != nil { return err } + default: _, _ = key, value @@ -4871,6 +4889,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingName = ptr.String(jtv) } + case "CallingNameUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -4883,6 +4902,7 @@ func awsRestjson1_deserializeOpDocumentGetPhoneNumberSettingsOutput(v **GetPhone } sv.CallingNameUpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -5052,6 +5072,7 @@ func awsRestjson1_deserializeOpDocumentGetProxySessionOutput(v **GetProxySession if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -5221,6 +5242,7 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationOutput(v **GetSipMe if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -5390,6 +5412,7 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationAlexaSkillConfigura if err := awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration(&sv.SipMediaApplicationAlexaSkillConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5559,6 +5582,7 @@ func awsRestjson1_deserializeOpDocumentGetSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5728,6 +5752,7 @@ func awsRestjson1_deserializeOpDocumentGetSipRuleOutput(v **GetSipRuleOutput, va if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -5903,6 +5928,7 @@ func awsRestjson1_deserializeOpDocumentGetSpeakerSearchTaskOutput(v **GetSpeaker if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } + default: _, _ = key, value @@ -6072,6 +6098,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOutput(v **GetVoiceConne if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -6241,6 +6268,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6410,6 +6438,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorGroupOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -6579,6 +6608,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6748,6 +6778,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorOriginationOutput(v **Ge if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } + default: _, _ = key, value @@ -6917,6 +6948,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorProxyOutput(v **GetVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } + default: _, _ = key, value @@ -7086,6 +7118,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7255,6 +7288,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationOutput(v **Ge if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } + default: _, _ = key, value @@ -7424,6 +7458,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceConnectorTerminationHealthOutput( if err := awsRestjson1_deserializeDocumentTerminationHealth(&sv.TerminationHealth, value); err != nil { return err } + default: _, _ = key, value @@ -7596,6 +7631,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceProfileOutput(v **GetVoiceProfile if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -7768,6 +7804,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceProfileDomainOutput(v **GetVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } + default: _, _ = key, value @@ -7943,6 +7980,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceToneAnalysisTaskOutput(v **GetVoi if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } + default: _, _ = key, value @@ -8109,6 +8147,7 @@ func awsRestjson1_deserializeOpDocumentListAvailableVoiceConnectorRegionsOutput( if err := awsRestjson1_deserializeDocumentVoiceConnectorAwsRegionList(&sv.VoiceConnectorRegions, value); err != nil { return err } + default: _, _ = key, value @@ -8279,10 +8318,12 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumberOrdersOutput(v **ListPhone } sv.NextToken = ptr.String(jtv) } + case "PhoneNumberOrders": if err := awsRestjson1_deserializeDocumentPhoneNumberOrderList(&sv.PhoneNumberOrders, value); err != nil { return err } + default: _, _ = key, value @@ -8456,10 +8497,12 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } + case "PhoneNumbers": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumbers, value); err != nil { return err } + default: _, _ = key, value @@ -8633,10 +8676,12 @@ func awsRestjson1_deserializeOpDocumentListProxySessionsOutput(v **ListProxySess } sv.NextToken = ptr.String(jtv) } + case "ProxySessions": if err := awsRestjson1_deserializeDocumentProxySessions(&sv.ProxySessions, value); err != nil { return err } + default: _, _ = key, value @@ -8807,10 +8852,12 @@ func awsRestjson1_deserializeOpDocumentListSipMediaApplicationsOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } + case "SipMediaApplications": if err := awsRestjson1_deserializeDocumentSipMediaApplicationList(&sv.SipMediaApplications, value); err != nil { return err } + default: _, _ = key, value @@ -8981,10 +9028,12 @@ func awsRestjson1_deserializeOpDocumentListSipRulesOutput(v **ListSipRulesOutput } sv.NextToken = ptr.String(jtv) } + case "SipRules": if err := awsRestjson1_deserializeDocumentSipRuleList(&sv.SipRules, value); err != nil { return err } + default: _, _ = key, value @@ -9154,6 +9203,7 @@ func awsRestjson1_deserializeOpDocumentListSupportedPhoneNumberCountriesOutput(v if err := awsRestjson1_deserializeDocumentPhoneNumberCountriesList(&sv.PhoneNumberCountries, value); err != nil { return err } + default: _, _ = key, value @@ -9320,6 +9370,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9490,10 +9541,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorGroupsOutput(v **ListVo } sv.NextToken = ptr.String(jtv) } + case "VoiceConnectorGroups": if err := awsRestjson1_deserializeDocumentVoiceConnectorGroupList(&sv.VoiceConnectorGroups, value); err != nil { return err } + default: _, _ = key, value @@ -9664,10 +9717,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorsOutput(v **ListVoiceCo } sv.NextToken = ptr.String(jtv) } + case "VoiceConnectors": if err := awsRestjson1_deserializeDocumentVoiceConnectorList(&sv.VoiceConnectors, value); err != nil { return err } + default: _, _ = key, value @@ -9837,6 +9892,7 @@ func awsRestjson1_deserializeOpDocumentListVoiceConnectorTerminationCredentialsO if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Usernames, value); err != nil { return err } + default: _, _ = key, value @@ -10010,10 +10066,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceProfileDomainsOutput(v **ListVoi } sv.NextToken = ptr.String(jtv) } + case "VoiceProfileDomains": if err := awsRestjson1_deserializeDocumentVoiceProfileDomainSummaryList(&sv.VoiceProfileDomains, value); err != nil { return err } + default: _, _ = key, value @@ -10187,10 +10245,12 @@ func awsRestjson1_deserializeOpDocumentListVoiceProfilesOutput(v **ListVoiceProf } sv.NextToken = ptr.String(jtv) } + case "VoiceProfiles": if err := awsRestjson1_deserializeDocumentVoiceProfileSummaryList(&sv.VoiceProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -10360,6 +10420,7 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationAlexaSkillConfigura if err := awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration(&sv.SipMediaApplicationAlexaSkillConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10529,6 +10590,7 @@ func awsRestjson1_deserializeOpDocumentPutSipMediaApplicationLoggingConfiguratio if err := awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(&sv.SipMediaApplicationLoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10698,6 +10760,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorEmergencyCallingConfigur if err := awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(&sv.EmergencyCallingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10867,6 +10930,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorLoggingConfigurationOutp if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11036,6 +11100,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorOriginationOutput(v **Pu if err := awsRestjson1_deserializeDocumentOrigination(&sv.Origination, value); err != nil { return err } + default: _, _ = key, value @@ -11208,6 +11273,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorProxyOutput(v **PutVoice if err := awsRestjson1_deserializeDocumentProxy(&sv.Proxy, value); err != nil { return err } + default: _, _ = key, value @@ -11377,6 +11443,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorStreamingConfigurationOu if err := awsRestjson1_deserializeDocumentStreamingConfiguration(&sv.StreamingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11549,6 +11616,7 @@ func awsRestjson1_deserializeOpDocumentPutVoiceConnectorTerminationOutput(v **Pu if err := awsRestjson1_deserializeDocumentTermination(&sv.Termination, value); err != nil { return err } + default: _, _ = key, value @@ -11833,6 +11901,7 @@ func awsRestjson1_deserializeOpDocumentRestorePhoneNumberOutput(v **RestorePhone if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -12002,6 +12071,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentE164PhoneNumberList(&sv.E164PhoneNumbers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12010,6 +12080,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12194,6 +12265,7 @@ func awsRestjson1_deserializeOpDocumentStartSpeakerSearchTaskOutput(v **StartSpe if err := awsRestjson1_deserializeDocumentSpeakerSearchTask(&sv.SpeakerSearchTask, value); err != nil { return err } + default: _, _ = key, value @@ -12378,6 +12450,7 @@ func awsRestjson1_deserializeOpDocumentStartVoiceToneAnalysisTaskOutput(v **Star if err := awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(&sv.VoiceToneAnalysisTask, value); err != nil { return err } + default: _, _ = key, value @@ -13122,6 +13195,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu if err := awsRestjson1_deserializeDocumentPhoneNumber(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -13400,6 +13474,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProxySessionOutput(v **UpdateProxyS if err := awsRestjson1_deserializeDocumentProxySession(&sv.ProxySession, value); err != nil { return err } + default: _, _ = key, value @@ -13572,6 +13647,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationOutput(v **Updat if err := awsRestjson1_deserializeDocumentSipMediaApplication(&sv.SipMediaApplication, value); err != nil { return err } + default: _, _ = key, value @@ -13744,6 +13820,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipMediaApplicationCallOutput(v **U if err := awsRestjson1_deserializeDocumentSipMediaApplicationCall(&sv.SipMediaApplicationCall, value); err != nil { return err } + default: _, _ = key, value @@ -13919,6 +13996,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSipRuleOutput(v **UpdateSipRuleOutp if err := awsRestjson1_deserializeDocumentSipRule(&sv.SipRule, value); err != nil { return err } + default: _, _ = key, value @@ -14088,6 +14166,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorOutput(v **UpdateVoic if err := awsRestjson1_deserializeDocumentVoiceConnector(&sv.VoiceConnector, value); err != nil { return err } + default: _, _ = key, value @@ -14260,6 +14339,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceConnectorGroupOutput(v **Updat if err := awsRestjson1_deserializeDocumentVoiceConnectorGroup(&sv.VoiceConnectorGroup, value); err != nil { return err } + default: _, _ = key, value @@ -14438,6 +14518,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceProfileOutput(v **UpdateVoiceP if err := awsRestjson1_deserializeDocumentVoiceProfile(&sv.VoiceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -14610,6 +14691,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceProfileDomainOutput(v **Update if err := awsRestjson1_deserializeDocumentVoiceProfileDomain(&sv.VoiceProfileDomain, value); err != nil { return err } + default: _, _ = key, value @@ -14779,6 +14861,7 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressExternalId": if value != nil { jtv, ok := value.(string) @@ -14787,10 +14870,12 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.AddressExternalId = ptr.String(jtv) } + case "CandidateAddressList": if err := awsRestjson1_deserializeDocumentCandidateAddressList(&sv.CandidateAddressList, value); err != nil { return err } + case "ValidationResult": if value != nil { jtv, ok := value.(json.Number) @@ -14803,6 +14888,7 @@ func awsRestjson1_deserializeOpDocumentValidateE911AddressOutput(v **ValidateE91 } sv.ValidationResult = int32(i64) } + default: _, _ = key, value @@ -15274,6 +15360,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15282,6 +15369,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15321,6 +15409,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "country": if value != nil { jtv, ok := value.(string) @@ -15329,6 +15418,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -15337,6 +15427,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -15345,6 +15436,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCodePlus4 = ptr.String(jtv) } + case "postDirectional": if value != nil { jtv, ok := value.(string) @@ -15353,6 +15445,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostDirectional = ptr.String(jtv) } + case "preDirectional": if value != nil { jtv, ok := value.(string) @@ -15361,6 +15454,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PreDirectional = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -15369,6 +15463,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } + case "streetName": if value != nil { jtv, ok := value.(string) @@ -15377,6 +15472,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetName = ptr.String(jtv) } + case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -15385,6 +15481,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetNumber = ptr.String(jtv) } + case "streetSuffix": if value != nil { jtv, ok := value.(string) @@ -15393,6 +15490,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetSuffix = ptr.String(jtv) } + default: _, _ = key, value @@ -15468,6 +15566,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15476,6 +15575,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15515,6 +15615,7 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.IsCaller = ptr.Bool(jtv) } + case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -15523,6 +15624,7 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.TransactionId = ptr.String(jtv) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -15531,6 +15633,7 @@ func awsRestjson1_deserializeDocumentCallDetails(v **types.CallDetails, value in } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -15606,6 +15709,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.City = ptr.String(jtv) } + case "country": if value != nil { jtv, ok := value.(string) @@ -15614,6 +15718,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.Country = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -15622,6 +15727,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCode = ptr.String(jtv) } + case "postalCodePlus4": if value != nil { jtv, ok := value.(string) @@ -15630,6 +15736,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.PostalCodePlus4 = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -15638,6 +15745,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.State = ptr.String(jtv) } + case "streetInfo": if value != nil { jtv, ok := value.(string) @@ -15646,6 +15754,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetInfo = ptr.String(jtv) } + case "streetNumber": if value != nil { jtv, ok := value.(string) @@ -15654,6 +15763,7 @@ func awsRestjson1_deserializeDocumentCandidateAddress(v **types.CandidateAddress } sv.StreetNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -15763,6 +15873,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15771,6 +15882,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15810,6 +15922,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.CallingCountry = ptr.String(jtv) } + case "EmergencyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15818,6 +15931,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.EmergencyPhoneNumber = ptr.String(jtv) } + case "TestPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15826,6 +15940,7 @@ func awsRestjson1_deserializeDocumentDNISEmergencyCallingConfiguration(v **types } sv.TestPhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -15931,6 +16046,7 @@ func awsRestjson1_deserializeDocumentEmergencyCallingConfiguration(v **types.Eme if err := awsRestjson1_deserializeDocumentDNISEmergencyCallingConfigurationList(&sv.DNIS, value); err != nil { return err } + default: _, _ = key, value @@ -15970,6 +16086,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15978,6 +16095,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16017,6 +16135,7 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.AreaCode = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -16025,6 +16144,7 @@ func awsRestjson1_deserializeDocumentGeoMatchParams(v **types.GeoMatchParams, va } sv.Country = ptr.String(jtv) } + default: _, _ = key, value @@ -16064,6 +16184,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16072,6 +16193,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16111,6 +16233,7 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableMediaMetricLogs = ptr.Bool(jtv) } + case "EnableSIPLogs": if value != nil { jtv, ok := value.(bool) @@ -16119,6 +16242,7 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.EnableSIPLogs = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16158,6 +16282,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsConfiguration(v **types.MediaI } sv.ConfigurationArn = ptr.String(jtv) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -16166,6 +16291,7 @@ func awsRestjson1_deserializeDocumentMediaInsightsConfiguration(v **types.MediaI } sv.Disabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16205,6 +16331,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16213,6 +16340,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16252,6 +16380,7 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.E164PhoneNumber = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16260,6 +16389,7 @@ func awsRestjson1_deserializeDocumentOrderedPhoneNumber(v **types.OrderedPhoneNu } sv.Status = types.OrderedPhoneNumberStatus(jtv) } + default: _, _ = key, value @@ -16333,10 +16463,12 @@ func awsRestjson1_deserializeDocumentOrigination(v **types.Origination, value in } sv.Disabled = ptr.Bool(jtv) } + case "Routes": if err := awsRestjson1_deserializeDocumentOriginationRouteList(&sv.Routes, value); err != nil { return err } + default: _, _ = key, value @@ -16376,6 +16508,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16388,6 +16521,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Port = ptr.Int32(int32(i64)) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -16400,6 +16534,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Priority = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -16408,6 +16543,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Protocol = types.OriginationRouteProtocol(jtv) } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -16420,6 +16556,7 @@ func awsRestjson1_deserializeDocumentOriginationRoute(v **types.OriginationRoute } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16493,6 +16630,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.PhoneNumber = ptr.String(jtv) } + case "ProxyPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -16501,6 +16639,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ProxyPhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -16570,6 +16709,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in if err := awsRestjson1_deserializeDocumentPhoneNumberAssociationList(&sv.Associations, value); err != nil { return err } + case "CallingName": if value != nil { jtv, ok := value.(string) @@ -16578,6 +16718,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingName = ptr.String(jtv) } + case "CallingNameStatus": if value != nil { jtv, ok := value.(string) @@ -16586,10 +16727,12 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CallingNameStatus = types.CallingNameStatus(jtv) } + case "Capabilities": if err := awsRestjson1_deserializeDocumentPhoneNumberCapabilities(&sv.Capabilities, value); err != nil { return err } + case "Country": if value != nil { jtv, ok := value.(string) @@ -16598,6 +16741,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Country = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16610,6 +16754,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.CreatedTimestamp = ptr.Time(t) } + case "DeletionTimestamp": if value != nil { jtv, ok := value.(string) @@ -16622,6 +16767,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.DeletionTimestamp = ptr.Time(t) } + case "E164PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -16630,6 +16776,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.E164PhoneNumber = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16638,6 +16785,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Name = ptr.String(jtv) } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -16646,6 +16794,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.OrderId = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -16654,6 +16803,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.PhoneNumberId = ptr.String(jtv) } + case "ProductType": if value != nil { jtv, ok := value.(string) @@ -16662,6 +16812,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.ProductType = types.PhoneNumberProductType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16670,6 +16821,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Status = types.PhoneNumberStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16678,6 +16830,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = types.PhoneNumberType(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16690,6 +16843,7 @@ func awsRestjson1_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -16733,6 +16887,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.AssociatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16741,6 +16896,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Name = types.PhoneNumberAssociationName(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16749,6 +16905,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberAssociation(v **types.PhoneNumbe } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16822,6 +16979,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundCall = ptr.Bool(jtv) } + case "InboundMMS": if value != nil { jtv, ok := value.(bool) @@ -16830,6 +16988,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundMMS = ptr.Bool(jtv) } + case "InboundSMS": if value != nil { jtv, ok := value.(bool) @@ -16838,6 +16997,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.InboundSMS = ptr.Bool(jtv) } + case "OutboundCall": if value != nil { jtv, ok := value.(bool) @@ -16846,6 +17006,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundCall = ptr.Bool(jtv) } + case "OutboundMMS": if value != nil { jtv, ok := value.(bool) @@ -16854,6 +17015,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundMMS = ptr.Bool(jtv) } + case "OutboundSMS": if value != nil { jtv, ok := value.(bool) @@ -16862,6 +17024,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberCapabilities(v **types.PhoneNumb } sv.OutboundSMS = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16935,10 +17098,12 @@ func awsRestjson1_deserializeDocumentPhoneNumberCountry(v **types.PhoneNumberCou } sv.CountryCode = ptr.String(jtv) } + case "SupportedPhoneNumberTypes": if err := awsRestjson1_deserializeDocumentPhoneNumberTypeList(&sv.SupportedPhoneNumberTypes, value); err != nil { return err } + default: _, _ = key, value @@ -16978,6 +17143,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16986,6 +17152,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.ErrorMessage = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -16994,6 +17161,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberError(v **types.PhoneNumberError } sv.PhoneNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -17105,10 +17273,12 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.CreatedTimestamp = ptr.Time(t) } + case "OrderedPhoneNumbers": if err := awsRestjson1_deserializeDocumentOrderedPhoneNumberList(&sv.OrderedPhoneNumbers, value); err != nil { return err } + case "OrderType": if value != nil { jtv, ok := value.(string) @@ -17117,6 +17287,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.OrderType = types.PhoneNumberOrderType(jtv) } + case "PhoneNumberOrderId": if value != nil { jtv, ok := value.(string) @@ -17125,6 +17296,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.PhoneNumberOrderId = ptr.String(jtv) } + case "ProductType": if value != nil { jtv, ok := value.(string) @@ -17133,6 +17305,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.ProductType = types.PhoneNumberProductType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17141,6 +17314,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.Status = types.PhoneNumberOrderStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17153,6 +17327,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberOrder(v **types.PhoneNumberOrder } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -17266,6 +17441,7 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.DefaultSessionExpiryMinutes = ptr.Int32(int32(i64)) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -17274,6 +17450,7 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.Disabled = ptr.Bool(jtv) } + case "FallBackPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -17282,10 +17459,12 @@ func awsRestjson1_deserializeDocumentProxy(v **types.Proxy, value interface{}) e } sv.FallBackPhoneNumber = ptr.String(jtv) } + case "PhoneNumberCountries": if err := awsRestjson1_deserializeDocumentStringList(&sv.PhoneNumberCountries, value); err != nil { return err } + default: _, _ = key, value @@ -17321,6 +17500,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value if err := awsRestjson1_deserializeDocumentCapabilityList(&sv.Capabilities, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17333,6 +17513,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.CreatedTimestamp = ptr.Time(t) } + case "EndedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17345,6 +17526,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.EndedTimestamp = ptr.Time(t) } + case "ExpiryMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17357,6 +17539,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ExpiryMinutes = ptr.Int32(int32(i64)) } + case "GeoMatchLevel": if value != nil { jtv, ok := value.(string) @@ -17365,10 +17548,12 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.GeoMatchLevel = types.GeoMatchLevel(jtv) } + case "GeoMatchParams": if err := awsRestjson1_deserializeDocumentGeoMatchParams(&sv.GeoMatchParams, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17377,6 +17562,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Name = ptr.String(jtv) } + case "NumberSelectionBehavior": if value != nil { jtv, ok := value.(string) @@ -17385,10 +17571,12 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.NumberSelectionBehavior = types.NumberSelectionBehavior(jtv) } + case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } + case "ProxySessionId": if value != nil { jtv, ok := value.(string) @@ -17397,6 +17585,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.ProxySessionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17405,6 +17594,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.Status = types.ProxySessionStatus(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17417,6 +17607,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -17425,6 +17616,7 @@ func awsRestjson1_deserializeDocumentProxySession(v **types.ProxySession, value } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -17498,6 +17690,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17506,6 +17699,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17581,6 +17775,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17620,6 +17815,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17628,6 +17824,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17667,6 +17864,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17675,6 +17873,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17714,6 +17913,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.AwsRegion = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17726,10 +17926,12 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.CreatedTimestamp = ptr.Time(t) } + case "Endpoints": if err := awsRestjson1_deserializeDocumentSipMediaApplicationEndpointList(&sv.Endpoints, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17738,6 +17940,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.Name = ptr.String(jtv) } + case "SipMediaApplicationArn": if value != nil { jtv, ok := value.(string) @@ -17746,6 +17949,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationArn = ptr.String(jtv) } + case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -17754,6 +17958,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.SipMediaApplicationId = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -17766,6 +17971,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplication(v **types.SipMediaAppli } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -17801,6 +18007,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration( if err := awsRestjson1_deserializeDocumentAlexaSkillIdList(&sv.AlexaSkillIds, value); err != nil { return err } + case "AlexaSkillStatus": if value != nil { jtv, ok := value.(string) @@ -17809,6 +18016,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationAlexaSkillConfiguration( } sv.AlexaSkillStatus = types.AlexaSkillStatus(jtv) } + default: _, _ = key, value @@ -17848,6 +18056,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationCall(v **types.SipMediaA } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17887,6 +18096,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationEndpoint(v **types.SipMe } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17994,6 +18204,7 @@ func awsRestjson1_deserializeDocumentSipMediaApplicationLoggingConfiguration(v * } sv.EnableSipMediaApplicationMessageLogs = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18037,6 +18248,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.CreatedTimestamp = ptr.Time(t) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -18045,6 +18257,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Disabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18053,6 +18266,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.Name = ptr.String(jtv) } + case "SipRuleId": if value != nil { jtv, ok := value.(string) @@ -18061,10 +18275,12 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.SipRuleId = ptr.String(jtv) } + case "TargetApplications": if err := awsRestjson1_deserializeDocumentSipRuleTargetApplicationList(&sv.TargetApplications, value); err != nil { return err } + case "TriggerType": if value != nil { jtv, ok := value.(string) @@ -18073,6 +18289,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerType = types.SipRuleTriggerType(jtv) } + case "TriggerValue": if value != nil { jtv, ok := value.(string) @@ -18081,6 +18298,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.TriggerValue = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18093,6 +18311,7 @@ func awsRestjson1_deserializeDocumentSipRule(v **types.SipRule, value interface{ } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -18166,6 +18385,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.AwsRegion = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -18178,6 +18398,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.Priority = ptr.Int32(int32(i64)) } + case "SipMediaApplicationId": if value != nil { jtv, ok := value.(string) @@ -18186,6 +18407,7 @@ func awsRestjson1_deserializeDocumentSipRuleTargetApplication(v **types.SipRuleT } sv.SipMediaApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -18255,6 +18477,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchDetails(v **types.SpeakerSearc if err := awsRestjson1_deserializeDocumentSpeakerSearchResultList(&sv.Results, value); err != nil { return err } + case "VoiceprintGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -18263,6 +18486,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchDetails(v **types.SpeakerSearc } sv.VoiceprintGenerationStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -18327,6 +18551,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchResult(v **types.SpeakerSearch } } + case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -18335,6 +18560,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchResult(v **types.SpeakerSearch } sv.VoiceProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -18404,6 +18630,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa if err := awsRestjson1_deserializeDocumentCallDetails(&sv.CallDetails, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18416,10 +18643,12 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.CreatedTimestamp = ptr.Time(t) } + case "SpeakerSearchDetails": if err := awsRestjson1_deserializeDocumentSpeakerSearchDetails(&sv.SpeakerSearchDetails, value); err != nil { return err } + case "SpeakerSearchTaskId": if value != nil { jtv, ok := value.(string) @@ -18428,6 +18657,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskId = ptr.String(jtv) } + case "SpeakerSearchTaskStatus": if value != nil { jtv, ok := value.(string) @@ -18436,6 +18666,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.SpeakerSearchTaskStatus = ptr.String(jtv) } + case "StartedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18448,6 +18679,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.StartedTimestamp = ptr.Time(t) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18456,6 +18688,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -18468,6 +18701,7 @@ func awsRestjson1_deserializeDocumentSpeakerSearchTask(v **types.SpeakerSearchTa } sv.UpdatedTimestamp = ptr.Time(t) } + default: _, _ = key, value @@ -18511,6 +18745,7 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -18519,14 +18754,17 @@ func awsRestjson1_deserializeDocumentStreamingConfiguration(v **types.StreamingC } sv.Disabled = ptr.Bool(jtv) } + case "MediaInsightsConfiguration": if err := awsRestjson1_deserializeDocumentMediaInsightsConfiguration(&sv.MediaInsightsConfiguration, value); err != nil { return err } + case "StreamingNotificationTargets": if err := awsRestjson1_deserializeDocumentStreamingNotificationTargetList(&sv.StreamingNotificationTargets, value); err != nil { return err } + default: _, _ = key, value @@ -18566,6 +18804,7 @@ func awsRestjson1_deserializeDocumentStreamingNotificationTarget(v **types.Strea } sv.NotificationTarget = types.NotificationTarget(jtv) } + default: _, _ = key, value @@ -18675,6 +18914,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -18683,6 +18923,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18752,10 +18993,12 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in if err := awsRestjson1_deserializeDocumentCallingRegionList(&sv.CallingRegions, value); err != nil { return err } + case "CidrAllowedList": if err := awsRestjson1_deserializeDocumentStringList(&sv.CidrAllowedList, value); err != nil { return err } + case "CpsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -18768,6 +19011,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.CpsLimit = ptr.Int32(int32(i64)) } + case "DefaultPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -18776,6 +19020,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.DefaultPhoneNumber = ptr.String(jtv) } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -18784,6 +19029,7 @@ func awsRestjson1_deserializeDocumentTermination(v **types.Termination, value in } sv.Disabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18823,6 +19069,7 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Source = ptr.String(jtv) } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -18835,6 +19082,7 @@ func awsRestjson1_deserializeDocumentTerminationHealth(v **types.TerminationHeal } sv.Timestamp = ptr.Time(t) } + default: _, _ = key, value @@ -18874,6 +19122,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18882,6 +19131,7 @@ func awsRestjson1_deserializeDocumentThrottledClientException(v **types.Throttle } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18921,6 +19171,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18929,6 +19180,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18968,6 +19220,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Code = types.ErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18976,6 +19229,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19015,6 +19269,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.AwsRegion = types.VoiceConnectorAwsRegion(jtv) } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19027,6 +19282,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.CreatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19035,6 +19291,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.Name = ptr.String(jtv) } + case "OutboundHostName": if value != nil { jtv, ok := value.(string) @@ -19043,6 +19300,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.OutboundHostName = ptr.String(jtv) } + case "RequireEncryption": if value != nil { jtv, ok := value.(bool) @@ -19051,6 +19309,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.RequireEncryption = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19063,6 +19322,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorArn": if value != nil { jtv, ok := value.(string) @@ -19071,6 +19331,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorArn = ptr.String(jtv) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -19079,6 +19340,7 @@ func awsRestjson1_deserializeDocumentVoiceConnector(v **types.VoiceConnector, va } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -19158,6 +19420,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.CreatedTimestamp = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19166,6 +19429,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.Name = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19178,6 +19442,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceConnectorGroupArn": if value != nil { jtv, ok := value.(string) @@ -19186,6 +19451,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupArn = ptr.String(jtv) } + case "VoiceConnectorGroupId": if value != nil { jtv, ok := value.(string) @@ -19194,10 +19460,12 @@ func awsRestjson1_deserializeDocumentVoiceConnectorGroup(v **types.VoiceConnecto } sv.VoiceConnectorGroupId = ptr.String(jtv) } + case "VoiceConnectorItems": if err := awsRestjson1_deserializeDocumentVoiceConnectorItemList(&sv.VoiceConnectorItems, value); err != nil { return err } + default: _, _ = key, value @@ -19275,6 +19543,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.Priority = ptr.Int32(int32(i64)) } + case "VoiceConnectorId": if value != nil { jtv, ok := value.(string) @@ -19283,6 +19552,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorItem(v **types.VoiceConnector } sv.VoiceConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -19390,6 +19660,7 @@ func awsRestjson1_deserializeDocumentVoiceConnectorSettings(v **types.VoiceConne } sv.CdrBucket = ptr.String(jtv) } + default: _, _ = key, value @@ -19433,6 +19704,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.CreatedTimestamp = ptr.Time(t) } + case "ExpirationTimestamp": if value != nil { jtv, ok := value.(string) @@ -19445,6 +19717,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.ExpirationTimestamp = ptr.Time(t) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19457,6 +19730,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceProfileArn": if value != nil { jtv, ok := value.(string) @@ -19465,6 +19739,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileArn = ptr.String(jtv) } + case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19473,6 +19748,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileDomainId = ptr.String(jtv) } + case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -19481,6 +19757,7 @@ func awsRestjson1_deserializeDocumentVoiceProfile(v **types.VoiceProfile, value } sv.VoiceProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -19524,6 +19801,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.CreatedTimestamp = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19532,6 +19810,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19540,10 +19819,12 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.Name = ptr.String(jtv) } + case "ServerSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19556,6 +19837,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceProfileDomainArn": if value != nil { jtv, ok := value.(string) @@ -19564,6 +19846,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.VoiceProfileDomainArn = ptr.String(jtv) } + case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19572,6 +19855,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomain(v **types.VoiceProfileDo } sv.VoiceProfileDomainId = ptr.String(jtv) } + default: _, _ = key, value @@ -19615,6 +19899,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.CreatedTimestamp = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19623,6 +19908,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19631,6 +19917,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.Name = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19643,6 +19930,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceProfileDomainArn": if value != nil { jtv, ok := value.(string) @@ -19651,6 +19939,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.VoiceProfileDomainArn = ptr.String(jtv) } + case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19659,6 +19948,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileDomainSummary(v **types.VoicePr } sv.VoiceProfileDomainId = ptr.String(jtv) } + default: _, _ = key, value @@ -19736,6 +20026,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.CreatedTimestamp = ptr.Time(t) } + case "ExpirationTimestamp": if value != nil { jtv, ok := value.(string) @@ -19748,6 +20039,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.ExpirationTimestamp = ptr.Time(t) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19760,6 +20052,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceProfileArn": if value != nil { jtv, ok := value.(string) @@ -19768,6 +20061,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileArn = ptr.String(jtv) } + case "VoiceProfileDomainId": if value != nil { jtv, ok := value.(string) @@ -19776,6 +20070,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileDomainId = ptr.String(jtv) } + case "VoiceProfileId": if value != nil { jtv, ok := value.(string) @@ -19784,6 +20079,7 @@ func awsRestjson1_deserializeDocumentVoiceProfileSummary(v **types.VoiceProfileS } sv.VoiceProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -19853,6 +20149,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn if err := awsRestjson1_deserializeDocumentCallDetails(&sv.CallDetails, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19865,6 +20162,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.CreatedTimestamp = ptr.Time(t) } + case "StartedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19877,6 +20175,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.StartedTimestamp = ptr.Time(t) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19885,6 +20184,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -19897,6 +20197,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.UpdatedTimestamp = ptr.Time(t) } + case "VoiceToneAnalysisTaskId": if value != nil { jtv, ok := value.(string) @@ -19905,6 +20206,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskId = ptr.String(jtv) } + case "VoiceToneAnalysisTaskStatus": if value != nil { jtv, ok := value.(string) @@ -19913,6 +20215,7 @@ func awsRestjson1_deserializeDocumentVoiceToneAnalysisTask(v **types.VoiceToneAn } sv.VoiceToneAnalysisTaskStatus = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cleanrooms/deserializers.go b/service/cleanrooms/deserializers.go index 2dfbdbf6248..2f3a4cbeea0 100644 --- a/service/cleanrooms/deserializers.go +++ b/service/cleanrooms/deserializers.go @@ -186,10 +186,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetCollaborationAnalysisTemplateOutp if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateList(&sv.CollaborationAnalysisTemplates, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -353,10 +355,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetSchemaOutput(v **BatchGetSchemaOu if err := awsRestjson1_deserializeDocumentBatchGetSchemaErrorList(&sv.Errors, value); err != nil { return err } + case "schemas": if err := awsRestjson1_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -520,10 +524,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetSchemaAnalysisRuleOutput(v **Batc if err := awsRestjson1_deserializeDocumentSchemaAnalysisRuleList(&sv.AnalysisRules, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -693,6 +699,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisTemplateOutput(v **CreateAn if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -856,6 +863,7 @@ func awsRestjson1_deserializeOpDocumentCreateCollaborationOutput(v **CreateColla if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } + default: _, _ = key, value @@ -1025,6 +1033,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredAudienceModelAssociationO if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1194,6 +1203,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableOutput(v **CreateCon if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } + default: _, _ = key, value @@ -1360,6 +1370,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAnalysisRuleOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -1529,6 +1540,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAssociationOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1695,6 +1707,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredTableAssociationAnalysisR if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -1864,6 +1877,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingTableOutput(v **CreateIdMa if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } + default: _, _ = key, value @@ -2033,6 +2047,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceAssociationOutput(v **Cr if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -2202,6 +2217,7 @@ func awsRestjson1_deserializeOpDocumentCreateMembershipOutput(v **CreateMembersh if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } + default: _, _ = key, value @@ -2368,6 +2384,7 @@ func awsRestjson1_deserializeOpDocumentCreatePrivacyBudgetTemplateOutput(v **Cre if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -3746,6 +3763,7 @@ func awsRestjson1_deserializeOpDocumentGetAnalysisTemplateOutput(v **GetAnalysis if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -3906,6 +3924,7 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationOutput(v **GetCollaborati if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } + default: _, _ = key, value @@ -4069,6 +4088,7 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationAnalysisTemplateOutput(v if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(&sv.CollaborationAnalysisTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -4232,6 +4252,7 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationConfiguredAudienceModelAs if err := awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssociation(&sv.CollaborationConfiguredAudienceModelAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -4395,6 +4416,7 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationIdNamespaceAssociationOut if err := awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(&sv.CollaborationIdNamespaceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -4558,6 +4580,7 @@ func awsRestjson1_deserializeOpDocumentGetCollaborationPrivacyBudgetTemplateOutp if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(&sv.CollaborationPrivacyBudgetTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -4721,6 +4744,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelAssociationOutp if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -4884,6 +4908,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableOutput(v **GetConfigure if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } + default: _, _ = key, value @@ -5047,6 +5072,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAnalysisRuleOutput(v ** if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -5210,6 +5236,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAssociationOutput(v **G if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5373,6 +5400,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredTableAssociationAnalysisRule if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -5536,6 +5564,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingTableOutput(v **GetIdMappingT if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } + default: _, _ = key, value @@ -5699,6 +5728,7 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceAssociationOutput(v **GetId if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5862,6 +5892,7 @@ func awsRestjson1_deserializeOpDocumentGetMembershipOutput(v **GetMembershipOutp if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } + default: _, _ = key, value @@ -6025,6 +6056,7 @@ func awsRestjson1_deserializeOpDocumentGetPrivacyBudgetTemplateOutput(v **GetPri if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -6188,6 +6220,7 @@ func awsRestjson1_deserializeOpDocumentGetProtectedQueryOutput(v **GetProtectedQ if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } + default: _, _ = key, value @@ -6351,6 +6384,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -6514,6 +6548,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAnalysisRuleOutput(v **GetSchema if err := awsRestjson1_deserializeDocumentAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -6677,6 +6712,7 @@ func awsRestjson1_deserializeOpDocumentListAnalysisTemplatesOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalysisTemplateSummaryList(&sv.AnalysisTemplateSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6685,6 +6721,7 @@ func awsRestjson1_deserializeOpDocumentListAnalysisTemplatesOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6848,6 +6885,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationAnalysisTemplatesOutput( if err := awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummaryList(&sv.CollaborationAnalysisTemplateSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6856,6 +6894,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationAnalysisTemplatesOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7019,6 +7058,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationConfiguredAudienceModelA if err := awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssociationSummaryList(&sv.CollaborationConfiguredAudienceModelAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7027,6 +7067,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationConfiguredAudienceModelA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7190,6 +7231,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationIdNamespaceAssociationsO if err := awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummaryList(&sv.CollaborationIdNamespaceAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7198,6 +7240,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationIdNamespaceAssociationsO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7361,6 +7404,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetsOutput(v * if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummaryList(&sv.CollaborationPrivacyBudgetSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7369,6 +7413,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7532,6 +7577,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetTemplatesOu if err := awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummaryList(&sv.CollaborationPrivacyBudgetTemplateSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7540,6 +7586,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationPrivacyBudgetTemplatesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7700,6 +7747,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationsOutput(v **ListCollabor if err := awsRestjson1_deserializeDocumentCollaborationSummaryList(&sv.CollaborationList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7708,6 +7756,7 @@ func awsRestjson1_deserializeOpDocumentListCollaborationsOutput(v **ListCollabor } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7871,6 +7920,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelAssociationsOu if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummaryList(&sv.ConfiguredAudienceModelAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7879,6 +7929,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelAssociationsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8042,6 +8093,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTableAssociationsOutput(v * if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationSummaryList(&sv.ConfiguredTableAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8102,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTableAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8210,6 +8263,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTablesOutput(v **ListConfig if err := awsRestjson1_deserializeDocumentConfiguredTableSummaryList(&sv.ConfiguredTableSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8218,6 +8272,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredTablesOutput(v **ListConfig } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8381,6 +8436,7 @@ func awsRestjson1_deserializeOpDocumentListIdMappingTablesOutput(v **ListIdMappi if err := awsRestjson1_deserializeDocumentIdMappingTableSummaryList(&sv.IdMappingTableSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8389,6 +8445,7 @@ func awsRestjson1_deserializeOpDocumentListIdMappingTablesOutput(v **ListIdMappi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8552,6 +8609,7 @@ func awsRestjson1_deserializeOpDocumentListIdNamespaceAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationSummaryList(&sv.IdNamespaceAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8560,6 +8618,7 @@ func awsRestjson1_deserializeOpDocumentListIdNamespaceAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8723,6 +8782,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberSummaryList(&sv.MemberSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8731,6 +8791,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8891,6 +8952,7 @@ func awsRestjson1_deserializeOpDocumentListMembershipsOutput(v **ListMemberships if err := awsRestjson1_deserializeDocumentMembershipSummaryList(&sv.MembershipSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8899,6 +8961,7 @@ func awsRestjson1_deserializeOpDocumentListMembershipsOutput(v **ListMemberships } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9066,10 +9129,12 @@ func awsRestjson1_deserializeOpDocumentListPrivacyBudgetsOutput(v **ListPrivacyB } sv.NextToken = ptr.String(jtv) } + case "privacyBudgetSummaries": if err := awsRestjson1_deserializeDocumentPrivacyBudgetSummaryList(&sv.PrivacyBudgetSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9237,10 +9302,12 @@ func awsRestjson1_deserializeOpDocumentListPrivacyBudgetTemplatesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "privacyBudgetTemplateSummaries": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummaryList(&sv.PrivacyBudgetTemplateSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9408,10 +9475,12 @@ func awsRestjson1_deserializeOpDocumentListProtectedQueriesOutput(v **ListProtec } sv.NextToken = ptr.String(jtv) } + case "protectedQueries": if err := awsRestjson1_deserializeDocumentProtectedQuerySummaryList(&sv.ProtectedQueries, value); err != nil { return err } + default: _, _ = key, value @@ -9579,10 +9648,12 @@ func awsRestjson1_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } + case "schemaSummaries": if err := awsRestjson1_deserializeDocumentSchemaSummaryList(&sv.SchemaSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9737,6 +9808,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9910,6 +9982,7 @@ func awsRestjson1_deserializeOpDocumentPopulateIdMappingTableOutput(v **Populate } sv.IdMappingJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -10073,6 +10146,7 @@ func awsRestjson1_deserializeOpDocumentPreviewPrivacyImpactOutput(v **PreviewPri if err := awsRestjson1_deserializeDocumentPrivacyImpact(&sv.PrivacyImpact, value); err != nil { return err } + default: _, _ = key, value @@ -10239,6 +10313,7 @@ func awsRestjson1_deserializeOpDocumentStartProtectedQueryOutput(v **StartProtec if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } + default: _, _ = key, value @@ -10584,6 +10659,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisTemplateOutput(v **UpdateAn if err := awsRestjson1_deserializeDocumentAnalysisTemplate(&sv.AnalysisTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -10744,6 +10820,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCollaborationOutput(v **UpdateColla if err := awsRestjson1_deserializeDocumentCollaboration(&sv.Collaboration, value); err != nil { return err } + default: _, _ = key, value @@ -10907,6 +10984,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredAudienceModelAssociationO if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(&sv.ConfiguredAudienceModelAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -11073,6 +11151,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableOutput(v **UpdateCon if err := awsRestjson1_deserializeDocumentConfiguredTable(&sv.ConfiguredTable, value); err != nil { return err } + default: _, _ = key, value @@ -11239,6 +11318,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAnalysisRuleOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -11405,6 +11485,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAssociationOutput(v if err := awsRestjson1_deserializeDocumentConfiguredTableAssociation(&sv.ConfiguredTableAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -11571,6 +11652,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredTableAssociationAnalysisR if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(&sv.AnalysisRule, value); err != nil { return err } + default: _, _ = key, value @@ -11734,6 +11816,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingTableOutput(v **UpdateIdMa if err := awsRestjson1_deserializeDocumentIdMappingTable(&sv.IdMappingTable, value); err != nil { return err } + default: _, _ = key, value @@ -11897,6 +11980,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceAssociationOutput(v **Up if err := awsRestjson1_deserializeDocumentIdNamespaceAssociation(&sv.IdNamespaceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12063,6 +12147,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMembershipOutput(v **UpdateMembersh if err := awsRestjson1_deserializeDocumentMembership(&sv.Membership, value); err != nil { return err } + default: _, _ = key, value @@ -12229,6 +12314,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePrivacyBudgetTemplateOutput(v **Upd if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(&sv.PrivacyBudgetTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -12395,6 +12481,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProtectedQueryOutput(v **UpdateProt if err := awsRestjson1_deserializeDocumentProtectedQuery(&sv.ProtectedQuery, value); err != nil { return err } + default: _, _ = key, value @@ -12686,6 +12773,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -12694,6 +12782,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } + default: _, _ = key, value @@ -12729,6 +12818,7 @@ func awsRestjson1_deserializeDocumentAggregateColumn(v **types.AggregateColumn, if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnNameList(&sv.ColumnNames, value); err != nil { return err } + case "function": if value != nil { jtv, ok := value.(string) @@ -12737,6 +12827,7 @@ func awsRestjson1_deserializeDocumentAggregateColumn(v **types.AggregateColumn, } sv.Function = types.AggregateFunctionName(jtv) } + default: _, _ = key, value @@ -12810,6 +12901,7 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.ColumnName = ptr.String(jtv) } + case "minimum": if value != nil { jtv, ok := value.(json.Number) @@ -12822,6 +12914,7 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.Minimum = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12830,6 +12923,7 @@ func awsRestjson1_deserializeDocumentAggregationConstraint(v **types.Aggregation } sv.Type = types.AggregationType(jtv) } + default: _, _ = key, value @@ -13083,6 +13177,7 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.DefaultValue = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13091,6 +13186,7 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13099,6 +13195,7 @@ func awsRestjson1_deserializeDocumentAnalysisParameter(v **types.AnalysisParamet } sv.Type = types.ParameterType(jtv) } + default: _, _ = key, value @@ -13172,6 +13269,7 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -13187,6 +13285,7 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13195,10 +13294,12 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.Name = ptr.String(jtv) } + case "policy": if err := awsRestjson1_deserializeDocumentAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -13207,6 +13308,7 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } sv.Type = types.AnalysisRuleType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -13222,6 +13324,7 @@ func awsRestjson1_deserializeDocumentAnalysisRule(v **types.AnalysisRule, value } } + default: _, _ = key, value @@ -13261,22 +13364,27 @@ func awsRestjson1_deserializeDocumentAnalysisRuleAggregation(v **types.AnalysisR } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } + case "aggregateColumns": if err := awsRestjson1_deserializeDocumentAggregateColumnList(&sv.AggregateColumns, value); err != nil { return err } + case "allowedJoinOperators": if err := awsRestjson1_deserializeDocumentJoinOperatorsList(&sv.AllowedJoinOperators, value); err != nil { return err } + case "dimensionColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DimensionColumns, value); err != nil { return err } + case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } + case "joinRequired": if value != nil { jtv, ok := value.(string) @@ -13285,14 +13393,17 @@ func awsRestjson1_deserializeDocumentAnalysisRuleAggregation(v **types.AnalysisR } sv.JoinRequired = types.JoinRequiredOption(jtv) } + case "outputConstraints": if err := awsRestjson1_deserializeDocumentAggregationConstraints(&sv.OutputConstraints, value); err != nil { return err } + case "scalarFunctions": if err := awsRestjson1_deserializeDocumentScalarFunctionsList(&sv.ScalarFunctions, value); err != nil { return err } + default: _, _ = key, value @@ -13404,22 +13515,27 @@ func awsRestjson1_deserializeDocumentAnalysisRuleCustom(v **types.AnalysisRuleCu } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } + case "allowedAnalyses": if err := awsRestjson1_deserializeDocumentAllowedAnalysesList(&sv.AllowedAnalyses, value); err != nil { return err } + case "allowedAnalysisProviders": if err := awsRestjson1_deserializeDocumentAllowedAnalysisProviderList(&sv.AllowedAnalysisProviders, value); err != nil { return err } + case "differentialPrivacy": if err := awsRestjson1_deserializeDocumentDifferentialPrivacyConfiguration(&sv.DifferentialPrivacy, value); err != nil { return err } + case "disallowedOutputColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DisallowedOutputColumns, value); err != nil { return err } + default: _, _ = key, value @@ -13455,14 +13571,17 @@ func awsRestjson1_deserializeDocumentAnalysisRuleIdMappingTable(v **types.Analys if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.DimensionColumns, value); err != nil { return err } + case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } + case "queryConstraints": if err := awsRestjson1_deserializeDocumentQueryConstraintList(&sv.QueryConstraints, value); err != nil { return err } + default: _, _ = key, value @@ -13502,18 +13621,22 @@ func awsRestjson1_deserializeDocumentAnalysisRuleList(v **types.AnalysisRuleList } sv.AdditionalAnalyses = types.AdditionalAnalyses(jtv) } + case "allowedJoinOperators": if err := awsRestjson1_deserializeDocumentJoinOperatorsList(&sv.AllowedJoinOperators, value); err != nil { return err } + case "joinColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.JoinColumns, value); err != nil { return err } + case "listColumns": if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.ListColumns, value); err != nil { return err } + default: _, _ = key, value @@ -13693,6 +13816,7 @@ func awsRestjson1_deserializeDocumentAnalysisSchema(v **types.AnalysisSchema, va if err := awsRestjson1_deserializeDocumentQueryTables(&sv.ReferencedTables, value); err != nil { return err } + default: _, _ = key, value @@ -13770,6 +13894,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate if err := awsRestjson1_deserializeDocumentAnalysisParameterList(&sv.AnalysisParameters, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13778,6 +13903,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -13786,6 +13912,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -13794,6 +13921,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -13809,6 +13937,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13817,6 +13946,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Description = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -13825,6 +13955,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Format = types.AnalysisFormat(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13833,6 +13964,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -13841,6 +13973,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -13849,6 +13982,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13857,14 +13991,17 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } sv.Name = ptr.String(jtv) } + case "schema": if err := awsRestjson1_deserializeDocumentAnalysisSchema(&sv.Schema, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentAnalysisSource(&sv.Source, value); err != nil { return err } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -13880,10 +14017,12 @@ func awsRestjson1_deserializeDocumentAnalysisTemplate(v **types.AnalysisTemplate } } + case "validations": if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetailList(&sv.Validations, value); err != nil { return err } + default: _, _ = key, value @@ -13923,6 +14062,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -13931,6 +14071,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -13939,6 +14080,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -13954,6 +14096,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13962,6 +14105,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13970,6 +14114,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -13978,6 +14123,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -13986,6 +14132,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13994,6 +14141,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14009,6 +14157,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateSummary(v **types.AnalysisT } } + default: _, _ = key, value @@ -14078,6 +14227,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusReasonList(&sv.Reasons, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14086,6 +14236,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** } sv.Status = types.AnalysisTemplateValidationStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14094,6 +14245,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetail(v ** } sv.Type = types.AnalysisTemplateValidationType(jtv) } + default: _, _ = key, value @@ -14167,6 +14319,7 @@ func awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusReason(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14240,6 +14393,7 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Arn = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -14248,6 +14402,7 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14256,6 +14411,7 @@ func awsRestjson1_deserializeDocumentBatchGetCollaborationAnalysisTemplateError( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14329,6 +14485,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14337,6 +14494,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14345,6 +14503,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14353,6 +14512,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaAnalysisRuleError(v **types.B } sv.Type = types.AnalysisRuleType(jtv) } + default: _, _ = key, value @@ -14426,6 +14586,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14434,6 +14595,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14442,6 +14604,7 @@ func awsRestjson1_deserializeDocumentBatchGetSchemaError(v **types.BatchGetSchem } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14540,6 +14703,7 @@ func awsRestjson1_deserializeDocumentBilledResourceUtilization(v **types.BilledR } } + default: _, _ = key, value @@ -14579,6 +14743,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.AnalyticsEngine = types.AnalyticsEngine(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14587,6 +14752,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -14602,6 +14768,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -14610,6 +14777,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.CreatorAccountId = ptr.String(jtv) } + case "creatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -14618,10 +14786,12 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.CreatorDisplayName = ptr.String(jtv) } + case "dataEncryptionMetadata": if err := awsRestjson1_deserializeDocumentDataEncryptionMetadata(&sv.DataEncryptionMetadata, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -14630,6 +14800,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14638,6 +14809,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -14646,6 +14818,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -14654,6 +14827,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MembershipId = ptr.String(jtv) } + case "memberStatus": if value != nil { jtv, ok := value.(string) @@ -14662,6 +14836,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.MemberStatus = types.MemberStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14670,6 +14845,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.Name = ptr.String(jtv) } + case "queryLogStatus": if value != nil { jtv, ok := value.(string) @@ -14678,6 +14854,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } sv.QueryLogStatus = types.CollaborationQueryLogStatus(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14693,6 +14870,7 @@ func awsRestjson1_deserializeDocumentCollaboration(v **types.Collaboration, valu } } + default: _, _ = key, value @@ -14728,6 +14906,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col if err := awsRestjson1_deserializeDocumentAnalysisParameterList(&sv.AnalysisParameters, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14736,6 +14915,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -14744,6 +14924,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -14752,6 +14933,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -14767,6 +14949,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -14775,6 +14958,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14783,6 +14967,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Description = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -14791,6 +14976,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Format = types.AnalysisFormat(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14799,6 +14985,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14807,14 +14994,17 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } sv.Name = ptr.String(jtv) } + case "schema": if err := awsRestjson1_deserializeDocumentAnalysisSchema(&sv.Schema, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentAnalysisSource(&sv.Source, value); err != nil { return err } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14830,10 +15020,12 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplate(v **types.Col } } + case "validations": if err := awsRestjson1_deserializeDocumentAnalysisTemplateValidationStatusDetailList(&sv.Validations, value); err != nil { return err } + default: _, _ = key, value @@ -14907,6 +15099,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -14915,6 +15108,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -14923,6 +15117,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -14938,6 +15133,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -14946,6 +15142,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14954,6 +15151,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14962,6 +15160,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14970,6 +15169,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -14985,6 +15185,7 @@ func awsRestjson1_deserializeDocumentCollaborationAnalysisTemplateSummary(v **ty } } + default: _, _ = key, value @@ -15058,6 +15259,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15066,6 +15268,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15074,6 +15277,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationId = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -15082,6 +15286,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15097,6 +15302,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15105,6 +15311,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15113,6 +15320,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15121,6 +15329,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15129,6 +15338,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15144,6 +15354,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } + default: _, _ = key, value @@ -15183,6 +15394,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15191,6 +15403,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15199,6 +15412,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15214,6 +15428,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15222,6 +15437,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15230,6 +15446,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15238,6 +15455,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15246,6 +15464,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15261,6 +15480,7 @@ func awsRestjson1_deserializeDocumentCollaborationConfiguredAudienceModelAssocia } } + default: _, _ = key, value @@ -15334,6 +15554,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15342,6 +15563,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15350,6 +15572,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15365,6 +15588,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15373,6 +15597,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15381,6 +15606,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15389,18 +15615,22 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Id = ptr.String(jtv) } + case "idMappingConfig": if err := awsRestjson1_deserializeDocumentIdMappingConfig(&sv.IdMappingConfig, value); err != nil { return err } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -15409,6 +15639,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15424,6 +15655,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociation(v **typ } } + default: _, _ = key, value @@ -15463,6 +15695,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15471,6 +15704,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15479,6 +15713,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15494,6 +15729,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15502,6 +15738,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15510,6 +15747,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15518,14 +15756,17 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Id = ptr.String(jtv) } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropertiesSummary(&sv.InputReferenceProperties, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -15534,6 +15775,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15549,6 +15791,7 @@ func awsRestjson1_deserializeDocumentCollaborationIdNamespaceAssociationSummary( } } + default: _, _ = key, value @@ -15618,6 +15861,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types if err := awsRestjson1_deserializeDocumentPrivacyBudget(&sv.Budget, value); err != nil { return err } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15626,6 +15870,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15634,6 +15879,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15649,6 +15895,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15657,6 +15904,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.CreatorAccountId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15665,6 +15913,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.Id = ptr.String(jtv) } + case "privacyBudgetTemplateArn": if value != nil { jtv, ok := value.(string) @@ -15673,6 +15922,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.PrivacyBudgetTemplateArn = ptr.String(jtv) } + case "privacyBudgetTemplateId": if value != nil { jtv, ok := value.(string) @@ -15681,6 +15931,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.PrivacyBudgetTemplateId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -15689,6 +15940,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } sv.Type = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15704,6 +15956,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetSummary(v **types } } + default: _, _ = key, value @@ -15777,6 +16030,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.Arn = ptr.String(jtv) } + case "autoRefresh": if value != nil { jtv, ok := value.(string) @@ -15785,6 +16039,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.AutoRefresh = types.PrivacyBudgetTemplateAutoRefresh(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15793,6 +16048,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15801,6 +16057,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15816,6 +16073,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15824,6 +16082,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.CreatorAccountId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15832,10 +16091,12 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.Id = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateParametersOutput(&sv.Parameters, value); err != nil { return err } + case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -15844,6 +16105,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15859,6 +16121,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplate(v **type } } + default: _, _ = key, value @@ -15898,6 +16161,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -15906,6 +16170,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -15914,6 +16179,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -15929,6 +16195,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -15937,6 +16204,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.CreatorAccountId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15945,6 +16213,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.Id = ptr.String(jtv) } + case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -15953,6 +16222,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -15968,6 +16238,7 @@ func awsRestjson1_deserializeDocumentCollaborationPrivacyBudgetTemplateSummary(v } } + default: _, _ = key, value @@ -16041,6 +16312,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.AnalyticsEngine = types.AnalyticsEngine(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -16049,6 +16321,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -16064,6 +16337,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -16072,6 +16346,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.CreatorAccountId = ptr.String(jtv) } + case "creatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -16080,6 +16355,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.CreatorDisplayName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16088,6 +16364,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16096,6 +16373,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16104,6 +16382,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MembershipId = ptr.String(jtv) } + case "memberStatus": if value != nil { jtv, ok := value.(string) @@ -16112,6 +16391,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.MemberStatus = types.MemberStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16120,6 +16400,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16135,6 +16416,7 @@ func awsRestjson1_deserializeDocumentCollaborationSummary(v **types.Collaboratio } } + default: _, _ = key, value @@ -16208,6 +16490,7 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16216,6 +16499,7 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16369,6 +16653,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16377,6 +16662,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16385,6 +16671,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.CollaborationId = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -16393,6 +16680,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -16408,6 +16696,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16416,6 +16705,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16424,6 +16714,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Id = ptr.String(jtv) } + case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -16432,6 +16723,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.ManageResourcePolicies = ptr.Bool(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16440,6 +16732,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16448,6 +16741,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16456,6 +16750,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16471,6 +16766,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociation(v **type } } + default: _, _ = key, value @@ -16510,6 +16806,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -16518,6 +16815,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -16526,6 +16824,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.CollaborationId = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -16534,6 +16833,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -16549,6 +16849,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16557,6 +16858,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16565,6 +16867,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -16573,6 +16876,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -16581,6 +16885,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16589,6 +16894,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16604,6 +16910,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelAssociationSummary(v } } + default: _, _ = key, value @@ -16673,6 +16980,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, if err := awsRestjson1_deserializeDocumentAllowedColumnList(&sv.AllowedColumns, value); err != nil { return err } + case "analysisMethod": if value != nil { jtv, ok := value.(string) @@ -16681,10 +16989,12 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.AnalysisMethod = types.AnalysisMethod(jtv) } + case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -16693,6 +17003,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -16708,6 +17019,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16716,6 +17028,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16724,6 +17037,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16732,10 +17046,12 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } sv.Name = ptr.String(jtv) } + case "tableReference": if err := awsRestjson1_deserializeDocumentTableReference(&sv.TableReference, value); err != nil { return err } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16751,6 +17067,7 @@ func awsRestjson1_deserializeDocumentConfiguredTable(v **types.ConfiguredTable, } } + default: _, _ = key, value @@ -16790,6 +17107,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.ConfiguredTableArn = ptr.String(jtv) } + case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -16798,6 +17116,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.ConfiguredTableId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -16813,10 +17132,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } } + case "policy": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -16825,6 +17146,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } sv.Type = types.ConfiguredTableAnalysisRuleType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -16840,6 +17162,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAnalysisRule(v **types.Confi } } + default: _, _ = key, value @@ -17009,6 +17332,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17017,6 +17341,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Arn = ptr.String(jtv) } + case "configuredTableArn": if value != nil { jtv, ok := value.(string) @@ -17025,6 +17350,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.ConfiguredTableArn = ptr.String(jtv) } + case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -17033,6 +17359,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.ConfiguredTableId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -17048,6 +17375,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } } + case "description": if value != nil { jtv, ok := value.(string) @@ -17056,6 +17384,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17064,6 +17393,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -17072,6 +17402,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -17080,6 +17411,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17088,6 +17420,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17096,6 +17429,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } sv.RoleArn = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17111,6 +17445,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociation(v **types.Config } } + default: _, _ = key, value @@ -17150,6 +17485,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.ConfiguredTableAssociationArn = ptr.String(jtv) } + case "configuredTableAssociationId": if value != nil { jtv, ok := value.(string) @@ -17158,6 +17494,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.ConfiguredTableAssociationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -17173,6 +17510,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } } + case "membershipIdentifier": if value != nil { jtv, ok := value.(string) @@ -17181,10 +17519,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.MembershipIdentifier = ptr.String(jtv) } + case "policy": if err := awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRulePolicy(&sv.Policy, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -17193,6 +17533,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } sv.Type = types.ConfiguredTableAssociationAnalysisRuleType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17208,6 +17549,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRule(v ** } } + default: _, _ = key, value @@ -17243,10 +17585,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleAggre if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } + case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } + default: _, _ = key, value @@ -17282,10 +17626,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleCusto if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } + case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } + default: _, _ = key, value @@ -17321,10 +17667,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationAnalysisRuleList( if err := awsRestjson1_deserializeDocumentAllowedAdditionalAnalyses(&sv.AllowedAdditionalAnalyses, value); err != nil { return err } + case "allowedResultReceivers": if err := awsRestjson1_deserializeDocumentAllowedResultReceivers(&sv.AllowedResultReceivers, value); err != nil { return err } + default: _, _ = key, value @@ -17498,6 +17846,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Arn = ptr.String(jtv) } + case "configuredTableId": if value != nil { jtv, ok := value.(string) @@ -17506,6 +17855,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.ConfiguredTableId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -17521,6 +17871,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } } + case "id": if value != nil { jtv, ok := value.(string) @@ -17529,6 +17880,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -17537,6 +17889,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -17545,6 +17898,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17553,6 +17907,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17568,6 +17923,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableAssociationSummary(v **types } } + default: _, _ = key, value @@ -17641,10 +17997,12 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.AnalysisMethod = types.AnalysisMethod(jtv) } + case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentConfiguredTableAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17653,6 +18011,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -17668,6 +18027,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } } + case "id": if value != nil { jtv, ok := value.(string) @@ -17676,6 +18036,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17684,6 +18045,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -17699,6 +18061,7 @@ func awsRestjson1_deserializeDocumentConfiguredTableSummary(v **types.Configured } } + default: _, _ = key, value @@ -17772,6 +18135,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -17780,6 +18144,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -17788,6 +18153,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -17796,6 +18162,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -17835,6 +18202,7 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowCleartext = ptr.Bool(jtv) } + case "allowDuplicates": if value != nil { jtv, ok := value.(bool) @@ -17843,6 +18211,7 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowDuplicates = ptr.Bool(jtv) } + case "allowJoinsOnColumnsWithDifferentNames": if value != nil { jtv, ok := value.(bool) @@ -17851,6 +18220,7 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.AllowJoinsOnColumnsWithDifferentNames = ptr.Bool(jtv) } + case "preserveNulls": if value != nil { jtv, ok := value.(bool) @@ -17859,6 +18229,7 @@ func awsRestjson1_deserializeDocumentDataEncryptionMetadata(v **types.DataEncryp } sv.PreserveNulls = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17898,6 +18269,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyColumn(v **types.Differe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17967,6 +18339,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyColumnList(&sv.Columns, value); err != nil { return err } + default: _, _ = key, value @@ -18002,6 +18375,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyParameters(v **types.Dif if err := awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParametersList(&sv.SensitivityParameters, value); err != nil { return err } + default: _, _ = key, value @@ -18045,6 +18419,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregation(v **t } sv.MaxCount = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -18053,6 +18428,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregation(v **t } sv.Type = types.DifferentialPrivacyAggregationType(jtv) } + default: _, _ = key, value @@ -18122,6 +18498,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudget(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregationList(&sv.Aggregations, value); err != nil { return err } + case "epsilon": if value != nil { jtv, ok := value.(json.Number) @@ -18134,6 +18511,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudget(v **types. } sv.Epsilon = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18177,6 +18555,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.MaxCount = ptr.Int32(int32(i64)) } + case "remainingCount": if value != nil { jtv, ok := value.(json.Number) @@ -18189,6 +18568,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.RemainingCount = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -18197,6 +18577,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyBudgetAggregation } sv.Type = types.DifferentialPrivacyAggregationType(jtv) } + default: _, _ = key, value @@ -18266,6 +18647,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyPrivacyImpact(v **types. if err := awsRestjson1_deserializeDocumentDifferentialPrivacyPreviewAggregationList(&sv.Aggregations, value); err != nil { return err } + default: _, _ = key, value @@ -18305,6 +18687,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.AggregationExpression = ptr.String(jtv) } + case "aggregationType": if value != nil { jtv, ok := value.(string) @@ -18313,6 +18696,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.AggregationType = types.DifferentialPrivacyAggregationType(jtv) } + case "maxColumnValue": if value != nil { switch jtv := value.(type) { @@ -18346,6 +18730,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } } + case "minColumnValue": if value != nil { switch jtv := value.(type) { @@ -18379,6 +18764,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } } + case "userContributionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -18391,6 +18777,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacySensitivityParameters(v } sv.UserContributionLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18468,6 +18855,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyTemplateParametersOutput } sv.Epsilon = ptr.Int32(int32(i64)) } + case "usersNoisePerQuery": if value != nil { jtv, ok := value.(json.Number) @@ -18480,6 +18868,7 @@ func awsRestjson1_deserializeDocumentDifferentialPrivacyTemplateParametersOutput } sv.UsersNoisePerQuery = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18515,6 +18904,7 @@ func awsRestjson1_deserializeDocumentDirectAnalysisConfigurationDetails(v **type if err := awsRestjson1_deserializeDocumentReceiverAccountIds(&sv.ReceiverAccountIds, value); err != nil { return err } + default: _, _ = key, value @@ -18554,6 +18944,7 @@ func awsRestjson1_deserializeDocumentGlueTableReference(v **types.GlueTableRefer } sv.DatabaseName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -18562,6 +18953,7 @@ func awsRestjson1_deserializeDocumentGlueTableReference(v **types.GlueTableRefer } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -18601,6 +18993,7 @@ func awsRestjson1_deserializeDocumentIdMappingConfig(v **types.IdMappingConfig, } sv.AllowUseAsDimensionColumn = jtv } + default: _, _ = key, value @@ -18640,6 +19033,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -18648,6 +19042,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -18656,6 +19051,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -18671,6 +19067,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -18679,6 +19076,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18687,14 +19085,17 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Id = ptr.String(jtv) } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -18703,6 +19104,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.KmsKeyArn = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -18711,6 +19113,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -18719,6 +19122,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18727,6 +19131,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -18742,6 +19147,7 @@ func awsRestjson1_deserializeDocumentIdMappingTable(v **types.IdMappingTable, va } } + default: _, _ = key, value @@ -18781,6 +19187,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(v **type } sv.InputReferenceArn = ptr.String(jtv) } + case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -18789,6 +19196,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(v **type } sv.ManageResourcePolicies = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18824,6 +19232,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputReferenceProperties(v ** if err := awsRestjson1_deserializeDocumentIdMappingTableInputSourceList(&sv.IdMappingTableInputSource, value); err != nil { return err } + default: _, _ = key, value @@ -18863,6 +19272,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputSource(v **types.IdMappi } sv.IdNamespaceAssociationId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -18871,6 +19281,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableInputSource(v **types.IdMappi } sv.Type = types.IdNamespaceType(jtv) } + default: _, _ = key, value @@ -18940,6 +19351,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSchemaTypeProperties(v **type if err := awsRestjson1_deserializeDocumentIdMappingTableInputSourceList(&sv.IdMappingTableInputSource, value); err != nil { return err } + default: _, _ = key, value @@ -18979,6 +19391,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -18987,6 +19400,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -18995,6 +19409,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -19010,6 +19425,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19018,6 +19434,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19026,10 +19443,12 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Id = ptr.String(jtv) } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdMappingTableInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19038,6 +19457,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19046,6 +19466,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19054,6 +19475,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19069,6 +19491,7 @@ func awsRestjson1_deserializeDocumentIdMappingTableSummary(v **types.IdMappingTa } } + default: _, _ = key, value @@ -19174,6 +19597,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19182,6 +19606,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19190,6 +19615,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -19205,6 +19631,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19213,6 +19640,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19221,18 +19649,22 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Id = ptr.String(jtv) } + case "idMappingConfig": if err := awsRestjson1_deserializeDocumentIdMappingConfig(&sv.IdMappingConfig, value); err != nil { return err } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceProperties(&sv.InputReferenceProperties, value); err != nil { return err } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19241,6 +19673,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19249,6 +19682,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19257,6 +19691,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19272,6 +19707,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociation(v **types.IdNamespac } } + default: _, _ = key, value @@ -19311,6 +19747,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig( } sv.InputReferenceArn = ptr.String(jtv) } + case "manageResourcePolicies": if value != nil { jtv, ok := value.(bool) @@ -19319,6 +19756,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig( } sv.ManageResourcePolicies = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19354,6 +19792,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert if err := awsRestjson1_deserializeDocumentIdMappingWorkflowsSupported(&sv.IdMappingWorkflowsSupported, value); err != nil { return err } + case "idNamespaceType": if value != nil { jtv, ok := value.(string) @@ -19362,6 +19801,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert } sv.IdNamespaceType = types.IdNamespaceType(jtv) } + default: _, _ = key, value @@ -19401,6 +19841,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropert } sv.IdNamespaceType = types.IdNamespaceType(jtv) } + default: _, _ = key, value @@ -19440,6 +19881,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19448,6 +19890,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19456,6 +19899,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -19471,6 +19915,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19479,6 +19924,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19487,14 +19933,17 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Id = ptr.String(jtv) } + case "inputReferenceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferenceConfig(&sv.InputReferenceConfig, value); err != nil { return err } + case "inputReferenceProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceAssociationInputReferencePropertiesSummary(&sv.InputReferenceProperties, value); err != nil { return err } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -19503,6 +19952,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -19511,6 +19961,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.MembershipId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19519,6 +19970,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } sv.Name = ptr.String(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19534,6 +19986,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceAssociationSummary(v **types.IdN } } + default: _, _ = key, value @@ -19607,6 +20060,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19718,6 +20172,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -19726,6 +20181,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationCreatorAccountId": if value != nil { jtv, ok := value.(string) @@ -19734,6 +20190,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationCreatorAccountId = ptr.String(jtv) } + case "collaborationCreatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -19742,6 +20199,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationCreatorDisplayName = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -19750,6 +20208,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationId = ptr.String(jtv) } + case "collaborationName": if value != nil { jtv, ok := value.(string) @@ -19758,6 +20217,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.CollaborationName = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -19773,10 +20233,12 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } } + case "defaultResultConfiguration": if err := awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration(&sv.DefaultResultConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -19785,14 +20247,17 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Id = ptr.String(jtv) } + case "memberAbilities": if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.MemberAbilities, value); err != nil { return err } + case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } + case "queryLogStatus": if value != nil { jtv, ok := value.(string) @@ -19801,6 +20266,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.QueryLogStatus = types.MembershipQueryLogStatus(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19809,6 +20275,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } sv.Status = types.MembershipStatus(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -19824,6 +20291,7 @@ func awsRestjson1_deserializeDocumentMembership(v **types.Membership, value inte } } + default: _, _ = key, value @@ -19859,6 +20327,7 @@ func awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(v **types.Me if err := awsRestjson1_deserializeDocumentMembershipQueryComputePaymentConfig(&sv.QueryCompute, value); err != nil { return err } + default: _, _ = key, value @@ -19934,6 +20403,7 @@ func awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration if err := awsRestjson1_deserializeDocumentMembershipProtectedQueryOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -19942,6 +20412,7 @@ func awsRestjson1_deserializeDocumentMembershipProtectedQueryResultConfiguration } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19981,6 +20452,7 @@ func awsRestjson1_deserializeDocumentMembershipQueryComputePaymentConfig(v **typ } sv.IsResponsible = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20020,6 +20492,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20028,6 +20501,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationCreatorAccountId": if value != nil { jtv, ok := value.(string) @@ -20036,6 +20510,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationCreatorAccountId = ptr.String(jtv) } + case "collaborationCreatorDisplayName": if value != nil { jtv, ok := value.(string) @@ -20044,6 +20519,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationCreatorDisplayName = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20052,6 +20528,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationId = ptr.String(jtv) } + case "collaborationName": if value != nil { jtv, ok := value.(string) @@ -20060,6 +20537,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.CollaborationName = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20075,6 +20553,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } } + case "id": if value != nil { jtv, ok := value.(string) @@ -20083,14 +20562,17 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Id = ptr.String(jtv) } + case "memberAbilities": if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.MemberAbilities, value); err != nil { return err } + case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentMembershipPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -20099,6 +20581,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } sv.Status = types.MembershipStatus(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20114,6 +20597,7 @@ func awsRestjson1_deserializeDocumentMembershipSummary(v **types.MembershipSumma } } + default: _, _ = key, value @@ -20183,6 +20667,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu if err := awsRestjson1_deserializeDocumentMemberAbilities(&sv.Abilities, value); err != nil { return err } + case "accountId": if value != nil { jtv, ok := value.(string) @@ -20191,6 +20676,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.AccountId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20206,6 +20692,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -20214,6 +20701,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.DisplayName = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20222,6 +20710,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -20230,10 +20719,12 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.MembershipId = ptr.String(jtv) } + case "paymentConfiguration": if err := awsRestjson1_deserializeDocumentPaymentConfiguration(&sv.PaymentConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -20242,6 +20733,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Status = types.MemberStatus(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20257,6 +20749,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } } + default: _, _ = key, value @@ -20362,6 +20855,7 @@ func awsRestjson1_deserializeDocumentPaymentConfiguration(v **types.PaymentConfi if err := awsRestjson1_deserializeDocumentQueryComputePaymentConfig(&sv.QueryCompute, value); err != nil { return err } + default: _, _ = key, value @@ -20437,6 +20931,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge if err := awsRestjson1_deserializeDocumentPrivacyBudget(&sv.Budget, value); err != nil { return err } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20445,6 +20940,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20453,6 +20949,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20468,6 +20965,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } } + case "id": if value != nil { jtv, ok := value.(string) @@ -20476,6 +20974,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20484,6 +20983,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -20492,6 +20992,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.MembershipId = ptr.String(jtv) } + case "privacyBudgetTemplateArn": if value != nil { jtv, ok := value.(string) @@ -20500,6 +21001,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.PrivacyBudgetTemplateArn = ptr.String(jtv) } + case "privacyBudgetTemplateId": if value != nil { jtv, ok := value.(string) @@ -20508,6 +21010,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.PrivacyBudgetTemplateId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -20516,6 +21019,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } sv.Type = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20531,6 +21035,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetSummary(v **types.PrivacyBudge } } + default: _, _ = key, value @@ -20604,6 +21109,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.Arn = ptr.String(jtv) } + case "autoRefresh": if value != nil { jtv, ok := value.(string) @@ -20612,6 +21118,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.AutoRefresh = types.PrivacyBudgetTemplateAutoRefresh(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20620,6 +21127,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20628,6 +21136,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20643,6 +21152,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } } + case "id": if value != nil { jtv, ok := value.(string) @@ -20651,6 +21161,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20659,6 +21170,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -20667,10 +21179,12 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.MembershipId = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentPrivacyBudgetTemplateParametersOutput(&sv.Parameters, value); err != nil { return err } + case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -20679,6 +21193,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20694,6 +21209,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplate(v **types.PrivacyBudg } } + default: _, _ = key, value @@ -20773,6 +21289,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.Arn = ptr.String(jtv) } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -20781,6 +21298,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -20789,6 +21307,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20804,6 +21323,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } } + case "id": if value != nil { jtv, ok := value.(string) @@ -20812,6 +21332,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20820,6 +21341,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -20828,6 +21350,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.MembershipId = ptr.String(jtv) } + case "privacyBudgetType": if value != nil { jtv, ok := value.(string) @@ -20836,6 +21359,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } sv.PrivacyBudgetType = types.PrivacyBudgetType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -20851,6 +21375,7 @@ func awsRestjson1_deserializeDocumentPrivacyBudgetTemplateSummary(v **types.Priv } } + default: _, _ = key, value @@ -20960,6 +21485,7 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va if err := awsRestjson1_deserializeDocumentComputeConfiguration(&sv.ComputeConfiguration, value); err != nil { return err } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -20975,14 +21501,17 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } } + case "differentialPrivacy": if err := awsRestjson1_deserializeDocumentDifferentialPrivacyParameters(&sv.DifferentialPrivacy, value); err != nil { return err } + case "error": if err := awsRestjson1_deserializeDocumentProtectedQueryError(&sv.Error, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -20991,6 +21520,7 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -20999,6 +21529,7 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21007,22 +21538,27 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.MembershipId = ptr.String(jtv) } + case "result": if err := awsRestjson1_deserializeDocumentProtectedQueryResult(&sv.Result, value); err != nil { return err } + case "resultConfiguration": if err := awsRestjson1_deserializeDocumentProtectedQueryResultConfiguration(&sv.ResultConfiguration, value); err != nil { return err } + case "sqlParameters": if err := awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(&sv.SqlParameters, value); err != nil { return err } + case "statistics": if err := awsRestjson1_deserializeDocumentProtectedQueryStatistics(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -21031,6 +21567,7 @@ func awsRestjson1_deserializeDocumentProtectedQuery(v **types.ProtectedQuery, va } sv.Status = types.ProtectedQueryStatus(jtv) } + default: _, _ = key, value @@ -21070,6 +21607,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryError(v **types.ProtectedQuer } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -21078,6 +21616,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryError(v **types.ProtectedQuer } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21117,6 +21656,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryMemberOutputConfiguration(v * } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -21284,6 +21824,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryResult(v **types.ProtectedQue if err := awsRestjson1_deserializeDocumentProtectedQueryOutput(&sv.Output, value); err != nil { return err } + default: _, _ = key, value @@ -21319,6 +21860,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryResultConfiguration(v **types if err := awsRestjson1_deserializeDocumentProtectedQueryOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -21358,6 +21900,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3Output(v **types.ProtectedQ } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -21397,6 +21940,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -21405,6 +21949,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.KeyPrefix = ptr.String(jtv) } + case "resultFormat": if value != nil { jtv, ok := value.(string) @@ -21413,6 +21958,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.ResultFormat = types.ResultFormat(jtv) } + case "singleFileOutput": if value != nil { jtv, ok := value.(bool) @@ -21421,6 +21967,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryS3OutputConfiguration(v **typ } sv.SingleFileOutput = ptr.Bool(jtv) } + default: _, _ = key, value @@ -21460,6 +22007,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySingleMemberOutput(v **types. } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -21499,10 +22047,12 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.AnalysisTemplateArn = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -21511,6 +22061,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -21546,6 +22097,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryStatistics(v **types.Protecte if err := awsRestjson1_deserializeDocumentBilledResourceUtilization(&sv.BilledResourceUtilization, value); err != nil { return err } + case "totalDurationInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -21558,6 +22110,7 @@ func awsRestjson1_deserializeDocumentProtectedQueryStatistics(v **types.Protecte } sv.TotalDurationInMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -21604,6 +22157,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } } + case "id": if value != nil { jtv, ok := value.(string) @@ -21612,6 +22166,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.Id = ptr.String(jtv) } + case "membershipArn": if value != nil { jtv, ok := value.(string) @@ -21620,6 +22175,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.MembershipArn = ptr.String(jtv) } + case "membershipId": if value != nil { jtv, ok := value.(string) @@ -21628,10 +22184,12 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.MembershipId = ptr.String(jtv) } + case "receiverConfigurations": if err := awsRestjson1_deserializeDocumentReceiverConfigurationsList(&sv.ReceiverConfigurations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -21640,6 +22198,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySummary(v **types.ProtectedQu } sv.Status = types.ProtectedQueryStatus(jtv) } + default: _, _ = key, value @@ -21713,6 +22272,7 @@ func awsRestjson1_deserializeDocumentQueryComputePaymentConfig(v **types.QueryCo } sv.IsResponsible = ptr.Bool(jtv) } + default: _, _ = key, value @@ -21820,6 +22380,7 @@ func awsRestjson1_deserializeDocumentQueryConstraintRequireOverlap(v **types.Que if err := awsRestjson1_deserializeDocumentAnalysisRuleColumnList(&sv.Columns, value); err != nil { return err } + default: _, _ = key, value @@ -21931,10 +22492,12 @@ func awsRestjson1_deserializeDocumentReceiverConfiguration(v **types.ReceiverCon } sv.AnalysisType = types.AnalysisType(jtv) } + case "configurationDetails": if err := awsRestjson1_deserializeDocumentConfigurationDetails(&sv.ConfigurationDetails, value); err != nil { return err } + default: _, _ = key, value @@ -22008,6 +22571,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22016,6 +22580,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22024,6 +22589,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -22099,10 +22665,12 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.AnalysisMethod = types.AnalysisMethod(jtv) } + case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -22111,6 +22679,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -22119,10 +22688,12 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CollaborationId = ptr.String(jtv) } + case "columns": if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -22138,6 +22709,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -22146,6 +22718,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.CreatorAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -22154,6 +22727,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22162,18 +22736,22 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Name = ptr.String(jtv) } + case "partitionKeys": if err := awsRestjson1_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } + case "schemaStatusDetails": if err := awsRestjson1_deserializeDocumentSchemaStatusDetailList(&sv.SchemaStatusDetails, value); err != nil { return err } + case "schemaTypeProperties": if err := awsRestjson1_deserializeDocumentSchemaTypeProperties(&sv.SchemaTypeProperties, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -22182,6 +22760,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } sv.Type = types.SchemaType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -22197,6 +22776,7 @@ func awsRestjson1_deserializeDocumentSchema(v **types.Schema, value interface{}) } } + default: _, _ = key, value @@ -22340,6 +22920,7 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.AnalysisRuleType = types.AnalysisRuleType(jtv) } + case "analysisType": if value != nil { jtv, ok := value.(string) @@ -22348,14 +22929,17 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.AnalysisType = types.AnalysisType(jtv) } + case "configurations": if err := awsRestjson1_deserializeDocumentSchemaConfigurationList(&sv.Configurations, value); err != nil { return err } + case "reasons": if err := awsRestjson1_deserializeDocumentSchemaStatusReasonList(&sv.Reasons, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -22364,6 +22948,7 @@ func awsRestjson1_deserializeDocumentSchemaStatusDetail(v **types.SchemaStatusDe } sv.Status = types.SchemaStatus(jtv) } + default: _, _ = key, value @@ -22437,6 +23022,7 @@ func awsRestjson1_deserializeDocumentSchemaStatusReason(v **types.SchemaStatusRe } sv.Code = types.SchemaStatusReasonCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -22445,6 +23031,7 @@ func awsRestjson1_deserializeDocumentSchemaStatusReason(v **types.SchemaStatusRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22518,10 +23105,12 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.AnalysisMethod = types.AnalysisMethod(jtv) } + case "analysisRuleTypes": if err := awsRestjson1_deserializeDocumentAnalysisRuleTypeList(&sv.AnalysisRuleTypes, value); err != nil { return err } + case "collaborationArn": if value != nil { jtv, ok := value.(string) @@ -22530,6 +23119,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CollaborationArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -22538,6 +23128,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CollaborationId = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -22553,6 +23144,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } } + case "creatorAccountId": if value != nil { jtv, ok := value.(string) @@ -22561,6 +23153,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.CreatorAccountId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22569,6 +23162,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -22577,6 +23171,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.Type = types.SchemaType(jtv) } + case "updateTime": if value != nil { switch jtv := value.(type) { @@ -22592,6 +23187,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } } + default: _, _ = key, value @@ -22705,6 +23301,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaName": if value != nil { jtv, ok := value.(string) @@ -22713,6 +23310,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaName = ptr.String(jtv) } + case "quotaValue": if value != nil { switch jtv := value.(type) { @@ -22746,6 +23344,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } } + default: _, _ = key, value @@ -22861,6 +23460,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22896,6 +23496,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -22904,6 +23505,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -22912,6 +23514,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -22951,6 +23554,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22959,6 +23563,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -23036,6 +23641,7 @@ func awsRestjson1_deserializeDocumentWorkerComputeConfiguration(v **types.Worker } sv.Number = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -23044,6 +23650,7 @@ func awsRestjson1_deserializeDocumentWorkerComputeConfiguration(v **types.Worker } sv.Type = types.WorkerComputeType(jtv) } + default: _, _ = key, value diff --git a/service/cleanroomsml/deserializers.go b/service/cleanroomsml/deserializers.go index 2332c0c2b7b..0802f69e21d 100644 --- a/service/cleanroomsml/deserializers.go +++ b/service/cleanroomsml/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentCreateAudienceModelOutput(v **CreateAudie } sv.AudienceModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -356,6 +357,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfiguredAudienceModelOutput(v **C } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -517,6 +519,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrainingDatasetOutput(v **CreateTra } sv.TrainingDatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1190,6 +1193,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.AudienceGenerationJobArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -1198,6 +1202,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.CollaborationId = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -1206,6 +1211,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -1218,6 +1224,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1226,6 +1233,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Description = ptr.String(jtv) } + case "includeSeedInOutput": if value != nil { jtv, ok := value.(bool) @@ -1234,10 +1242,12 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.IncludeSeedInOutput = ptr.Bool(jtv) } + case "metrics": if err := awsRestjson1_deserializeDocumentAudienceQualityMetrics(&sv.Metrics, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1246,6 +1256,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Name = ptr.String(jtv) } + case "protectedQueryIdentifier": if value != nil { jtv, ok := value.(string) @@ -1254,10 +1265,12 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.ProtectedQueryIdentifier = ptr.String(jtv) } + case "seedAudience": if err := awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(&sv.SeedAudience, value); err != nil { return err } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -1266,6 +1279,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.StartedBy = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1274,14 +1288,17 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.Status = types.AudienceGenerationJobStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1294,6 +1311,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceGenerationJobOutput(v **GetAud } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1455,6 +1473,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.AudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -1467,6 +1486,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1475,6 +1495,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Description = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1483,6 +1504,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.KmsKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1491,6 +1513,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1499,14 +1522,17 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.Status = types.AudienceModelStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "trainingDataEndTime": if value != nil { jtv, ok := value.(string) @@ -1519,6 +1545,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDataEndTime = ptr.Time(t) } + case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -1527,6 +1554,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDatasetArn = ptr.String(jtv) } + case "trainingDataStartTime": if value != nil { jtv, ok := value.(string) @@ -1539,6 +1567,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.TrainingDataStartTime = ptr.Time(t) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1551,6 +1580,7 @@ func awsRestjson1_deserializeOpDocumentGetAudienceModelOutput(v **GetAudienceMod } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1712,10 +1742,12 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.AudienceModelArn = ptr.String(jtv) } + case "audienceSizeConfig": if err := awsRestjson1_deserializeDocumentAudienceSizeConfig(&sv.AudienceSizeConfig, value); err != nil { return err } + case "childResourceTagOnCreatePolicy": if value != nil { jtv, ok := value.(string) @@ -1724,6 +1756,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.ChildResourceTagOnCreatePolicy = types.TagOnCreatePolicy(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -1732,6 +1765,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -1744,6 +1778,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1752,6 +1787,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Description = ptr.String(jtv) } + case "minMatchingSeedSize": if value != nil { jtv, ok := value.(json.Number) @@ -1764,6 +1800,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.MinMatchingSeedSize = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1772,14 +1809,17 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Name = ptr.String(jtv) } + case "outputConfig": if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "sharedAudienceMetrics": if err := awsRestjson1_deserializeDocumentMetricsList(&sv.SharedAudienceMetrics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1788,10 +1828,12 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.Status = types.ConfiguredAudienceModelStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1804,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelOutput(v **GetC } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1965,6 +2008,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "configuredAudienceModelPolicy": if value != nil { jtv, ok := value.(string) @@ -1973,6 +2017,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelPolicy = ptr.String(jtv) } + case "policyHash": if value != nil { jtv, ok := value.(string) @@ -1981,6 +2026,7 @@ func awsRestjson1_deserializeOpDocumentGetConfiguredAudienceModelPolicyOutput(v } sv.PolicyHash = ptr.String(jtv) } + default: _, _ = key, value @@ -2146,6 +2192,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2154,6 +2201,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2162,6 +2210,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2170,6 +2219,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2178,14 +2228,17 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.Status = types.TrainingDatasetStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "trainingData": if err := awsRestjson1_deserializeDocumentDatasetList(&sv.TrainingData, value); err != nil { return err } + case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -2194,6 +2247,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.TrainingDatasetArn = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2206,6 +2260,7 @@ func awsRestjson1_deserializeOpDocumentGetTrainingDatasetOutput(v **GetTrainingD } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -2360,6 +2415,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceExportJobsOutput(v **ListAudi if err := awsRestjson1_deserializeDocumentAudienceExportJobList(&sv.AudienceExportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2368,6 +2424,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceExportJobsOutput(v **ListAudi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2522,6 +2579,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceGenerationJobsOutput(v **List if err := awsRestjson1_deserializeDocumentAudienceGenerationJobList(&sv.AudienceGenerationJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2530,6 +2588,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceGenerationJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2684,6 +2743,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceModelsOutput(v **ListAudience if err := awsRestjson1_deserializeDocumentAudienceModelList(&sv.AudienceModels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2692,6 +2752,7 @@ func awsRestjson1_deserializeOpDocumentListAudienceModelsOutput(v **ListAudience } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2846,6 +2907,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelsOutput(v **Li if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelList(&sv.ConfiguredAudienceModels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2854,6 +2916,7 @@ func awsRestjson1_deserializeOpDocumentListConfiguredAudienceModelsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3011,6 +3074,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3169,10 +3233,12 @@ func awsRestjson1_deserializeOpDocumentListTrainingDatasetsOutput(v **ListTraini } sv.NextToken = ptr.String(jtv) } + case "trainingDatasets": if err := awsRestjson1_deserializeDocumentTrainingDatasetList(&sv.TrainingDatasets, value); err != nil { return err } + default: _, _ = key, value @@ -3334,6 +3400,7 @@ func awsRestjson1_deserializeOpDocumentPutConfiguredAudienceModelPolicyOutput(v } sv.ConfiguredAudienceModelPolicy = ptr.String(jtv) } + case "policyHash": if value != nil { jtv, ok := value.(string) @@ -3342,6 +3409,7 @@ func awsRestjson1_deserializeOpDocumentPutConfiguredAudienceModelPolicyOutput(v } sv.PolicyHash = ptr.String(jtv) } + default: _, _ = key, value @@ -3615,6 +3683,7 @@ func awsRestjson1_deserializeOpDocumentStartAudienceGenerationJobOutput(v **Star } sv.AudienceGenerationJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3967,6 +4036,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfiguredAudienceModelOutput(v **U } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4186,6 +4256,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4221,6 +4292,7 @@ func awsRestjson1_deserializeDocumentAudienceDestination(v **types.AudienceDesti if err := awsRestjson1_deserializeDocumentS3ConfigMap(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -4294,10 +4366,12 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.AudienceGenerationJobArn = ptr.String(jtv) } + case "audienceSize": if err := awsRestjson1_deserializeDocumentAudienceSize(&sv.AudienceSize, value); err != nil { return err } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -4310,6 +4384,7 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4318,6 +4393,7 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4326,6 +4402,7 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Name = ptr.String(jtv) } + case "outputLocation": if value != nil { jtv, ok := value.(string) @@ -4334,6 +4411,7 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.OutputLocation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4342,10 +4420,12 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.Status = types.AudienceExportJobStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4358,6 +4438,7 @@ func awsRestjson1_deserializeDocumentAudienceExportJobSummary(v **types.Audience } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4393,6 +4474,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(v **types.A if err := awsRestjson1_deserializeDocumentS3ConfigMap(&sv.DataSource, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4401,10 +4483,12 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobDataSource(v **types.A } sv.RoleArn = ptr.String(jtv) } + case "sqlParameters": if err := awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(&sv.SqlParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4478,6 +4562,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.AudienceGenerationJobArn = ptr.String(jtv) } + case "collaborationId": if value != nil { jtv, ok := value.(string) @@ -4486,6 +4571,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.CollaborationId = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -4494,6 +4580,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -4506,6 +4593,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4514,6 +4602,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4522,6 +4611,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Name = ptr.String(jtv) } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -4530,6 +4620,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.StartedBy = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4538,6 +4629,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.Status = types.AudienceGenerationJobStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4550,6 +4642,7 @@ func awsRestjson1_deserializeDocumentAudienceGenerationJobSummary(v **types.Audi } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4623,6 +4716,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.AudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -4635,6 +4729,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4738,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4651,6 +4747,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4659,6 +4756,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.Status = types.AudienceModelStatus(jtv) } + case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -4667,6 +4765,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.TrainingDatasetArn = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4679,6 +4778,7 @@ func awsRestjson1_deserializeDocumentAudienceModelSummary(v **types.AudienceMode } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4743,10 +4843,12 @@ func awsRestjson1_deserializeDocumentAudienceQualityMetrics(v **types.AudienceQu } } + case "relevanceMetrics": if err := awsRestjson1_deserializeDocumentRelevanceMetrics(&sv.RelevanceMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -4786,6 +4888,7 @@ func awsRestjson1_deserializeDocumentAudienceSize(v **types.AudienceSize, value } sv.Type = types.AudienceSizeType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -4798,6 +4901,7 @@ func awsRestjson1_deserializeDocumentAudienceSize(v **types.AudienceSize, value } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4873,6 +4977,7 @@ func awsRestjson1_deserializeDocumentAudienceSizeConfig(v **types.AudienceSizeCo if err := awsRestjson1_deserializeDocumentAudienceSizeBins(&sv.AudienceSizeBins, value); err != nil { return err } + case "audienceSizeType": if value != nil { jtv, ok := value.(string) @@ -4881,6 +4986,7 @@ func awsRestjson1_deserializeDocumentAudienceSizeConfig(v **types.AudienceSizeCo } sv.AudienceSizeType = types.AudienceSizeType(jtv) } + default: _, _ = key, value @@ -4920,10 +5026,12 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.ColumnName = ptr.String(jtv) } + case "columnTypes": if err := awsRestjson1_deserializeDocumentColumnTypeList(&sv.ColumnTypes, value); err != nil { return err } + default: _, _ = key, value @@ -5029,6 +5137,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(v **typ if err := awsRestjson1_deserializeDocumentAudienceDestination(&sv.Destination, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5037,6 +5146,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(v **typ } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5076,6 +5186,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.AudienceModelArn = ptr.String(jtv) } + case "configuredAudienceModelArn": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5195,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.ConfiguredAudienceModelArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -5096,6 +5208,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5104,6 +5217,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5112,10 +5226,12 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Name = ptr.String(jtv) } + case "outputConfig": if err := awsRestjson1_deserializeDocumentConfiguredAudienceModelOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5124,6 +5240,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.Status = types.ConfiguredAudienceModelStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5136,6 +5253,7 @@ func awsRestjson1_deserializeDocumentConfiguredAudienceModelSummary(v **types.Co } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -5175,6 +5293,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5210,6 +5329,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ if err := awsRestjson1_deserializeDocumentDatasetInputConfig(&sv.InputConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -5218,6 +5338,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Type = types.DatasetType(jtv) } + default: _, _ = key, value @@ -5253,10 +5374,12 @@ func awsRestjson1_deserializeDocumentDatasetInputConfig(v **types.DatasetInputCo if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "schema": if err := awsRestjson1_deserializeDocumentDatasetSchemaList(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -5360,6 +5483,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentGlueDataSource(&sv.GlueDataSource, value); err != nil { return err } + default: _, _ = key, value @@ -5399,6 +5523,7 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.CatalogId = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -5407,6 +5532,7 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.DatabaseName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -5415,6 +5541,7 @@ func awsRestjson1_deserializeDocumentGlueDataSource(v **types.GlueDataSource, va } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -5526,10 +5653,12 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.AnalysisTemplateArn = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -5538,6 +5667,7 @@ func awsRestjson1_deserializeDocumentProtectedQuerySQLParameters(v **types.Prote } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -5573,6 +5703,7 @@ func awsRestjson1_deserializeDocumentRelevanceMetric(v **types.RelevanceMetric, if err := awsRestjson1_deserializeDocumentAudienceSize(&sv.AudienceSize, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -5606,6 +5737,7 @@ func awsRestjson1_deserializeDocumentRelevanceMetric(v **types.RelevanceMetric, } } + default: _, _ = key, value @@ -5679,6 +5811,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5718,6 +5851,7 @@ func awsRestjson1_deserializeDocumentS3ConfigMap(v **types.S3ConfigMap, value in } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -5757,6 +5891,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5796,6 +5931,7 @@ func awsRestjson1_deserializeDocumentStatusDetails(v **types.StatusDetails, valu } sv.Message = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -5804,6 +5940,7 @@ func awsRestjson1_deserializeDocumentStatusDetails(v **types.StatusDetails, valu } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5917,6 +6054,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.CreateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5925,6 +6063,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5933,6 +6072,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5941,6 +6081,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.Status = types.TrainingDatasetStatus(jtv) } + case "trainingDatasetArn": if value != nil { jtv, ok := value.(string) @@ -5949,6 +6090,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.TrainingDatasetArn = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -5961,6 +6103,7 @@ func awsRestjson1_deserializeDocumentTrainingDatasetSummary(v **types.TrainingDa } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -6000,6 +6143,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloud9/deserializers.go b/service/cloud9/deserializers.go index c1673458561..4302b0fe392 100644 --- a/service/cloud9/deserializers.go +++ b/service/cloud9/deserializers.go @@ -1986,6 +1986,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -1998,6 +1999,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2006,6 +2008,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2045,6 +2048,7 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2057,6 +2061,7 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2065,6 +2070,7 @@ func awsAwsjson11_deserializeDocumentConcurrentAccessException(v **types.Concurr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2104,6 +2110,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2116,6 +2123,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2124,6 +2132,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2163,6 +2172,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } + case "connectionType": if value != nil { jtv, ok := value.(string) @@ -2171,6 +2181,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ConnectionType = types.ConnectionType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2179,6 +2190,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2187,10 +2199,12 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } + case "lifecycle": if err := awsAwsjson11_deserializeDocumentEnvironmentLifecycle(&sv.Lifecycle, value); err != nil { return err } + case "managedCredentialsStatus": if value != nil { jtv, ok := value.(string) @@ -2199,6 +2213,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ManagedCredentialsStatus = types.ManagedCredentialsStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2207,6 +2222,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -2215,6 +2231,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.OwnerArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2223,6 +2240,7 @@ func awsAwsjson11_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Type = types.EnvironmentType(jtv) } + default: _, _ = key, value @@ -2298,6 +2316,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.FailureResource = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -2306,6 +2325,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2314,6 +2334,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentLifecycle(v **types.EnvironmentL } sv.Status = types.EnvironmentLifecycleStatus(jtv) } + default: _, _ = key, value @@ -2387,6 +2408,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.EnvironmentId = ptr.String(jtv) } + case "lastAccess": if value != nil { switch jtv := value.(type) { @@ -2402,6 +2424,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } } + case "permissions": if value != nil { jtv, ok := value.(string) @@ -2410,6 +2433,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.Permissions = types.Permissions(jtv) } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -2418,6 +2442,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.UserArn = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -2426,6 +2451,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentMember(v **types.EnvironmentMemb } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -2499,6 +2525,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2511,6 +2538,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2519,6 +2547,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2558,6 +2587,7 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2570,6 +2600,7 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2578,6 +2609,7 @@ func awsAwsjson11_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2617,6 +2649,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2629,6 +2662,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2637,6 +2671,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2676,6 +2711,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2688,6 +2724,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2696,6 +2733,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2735,6 +2773,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2743,6 +2782,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2816,6 +2856,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.ClassName = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -2828,6 +2869,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2836,6 +2878,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2875,6 +2918,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEnvironmentEC2Output(v **CreateEnvi } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -2910,6 +2954,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEnvironmentMembershipOutput(v **Cre if err := awsAwsjson11_deserializeDocumentEnvironmentMember(&sv.Membership, value); err != nil { return err } + default: _, _ = key, value @@ -3007,6 +3052,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentMembershipsOutput(v ** if err := awsAwsjson11_deserializeDocumentEnvironmentMembersList(&sv.Memberships, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3015,6 +3061,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentMembershipsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3050,6 +3097,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentsOutput(v **DescribeEn if err := awsAwsjson11_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } + default: _, _ = key, value @@ -3089,6 +3137,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentStatusOutput(v **Descr } sv.Message = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3097,6 +3146,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEnvironmentStatusOutput(v **Descr } sv.Status = types.EnvironmentStatus(jtv) } + default: _, _ = key, value @@ -3132,6 +3182,7 @@ func awsAwsjson11_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsAwsjson11_deserializeDocumentEnvironmentIdList(&sv.EnvironmentIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3191,7 @@ func awsAwsjson11_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3175,6 +3227,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3272,6 +3325,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEnvironmentMembershipOutput(v **Upd if err := awsAwsjson11_deserializeDocumentEnvironmentMember(&sv.Membership, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/cloudcontrol/deserializers.go b/service/cloudcontrol/deserializers.go index 23e890104e6..ae362df1963 100644 --- a/service/cloudcontrol/deserializers.go +++ b/service/cloudcontrol/deserializers.go @@ -1940,6 +1940,7 @@ func awsAwsjson10_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1979,6 +1980,7 @@ func awsAwsjson10_deserializeDocumentClientTokenConflictException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2018,6 +2020,7 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2057,6 +2060,7 @@ func awsAwsjson10_deserializeDocumentConcurrentOperationException(v **types.Conc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2096,6 +2100,7 @@ func awsAwsjson10_deserializeDocumentGeneralServiceException(v **types.GeneralSe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2135,6 +2140,7 @@ func awsAwsjson10_deserializeDocumentHandlerFailureException(v **types.HandlerFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2174,6 +2180,7 @@ func awsAwsjson10_deserializeDocumentHandlerInternalFailureException(v **types.H } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2213,6 +2220,7 @@ func awsAwsjson10_deserializeDocumentInvalidCredentialsException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2252,6 +2260,7 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2291,6 +2300,7 @@ func awsAwsjson10_deserializeDocumentNetworkFailureException(v **types.NetworkFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2330,6 +2340,7 @@ func awsAwsjson10_deserializeDocumentNotStabilizedException(v **types.NotStabili } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2369,6 +2380,7 @@ func awsAwsjson10_deserializeDocumentNotUpdatableException(v **types.NotUpdatabl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2408,6 +2420,7 @@ func awsAwsjson10_deserializeDocumentPrivateTypeException(v **types.PrivateTypeE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2447,6 +2460,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.ErrorCode = types.HandlerErrorCode(jtv) } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -2462,6 +2476,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -2470,6 +2485,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.Identifier = ptr.String(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -2478,6 +2494,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.Operation = types.Operation(jtv) } + case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -2486,6 +2503,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.OperationStatus = types.OperationStatus(jtv) } + case "RequestToken": if value != nil { jtv, ok := value.(string) @@ -2494,6 +2512,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.RequestToken = ptr.String(jtv) } + case "ResourceModel": if value != nil { jtv, ok := value.(string) @@ -2502,6 +2521,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.ResourceModel = ptr.String(jtv) } + case "RetryAfter": if value != nil { switch jtv := value.(type) { @@ -2517,6 +2537,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2525,6 +2546,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.StatusMessage = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -2533,6 +2555,7 @@ func awsAwsjson10_deserializeDocumentProgressEvent(v **types.ProgressEvent, valu } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -2572,6 +2595,7 @@ func awsAwsjson10_deserializeDocumentRequestTokenNotFoundException(v **types.Req } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2611,6 +2635,7 @@ func awsAwsjson10_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2650,6 +2675,7 @@ func awsAwsjson10_deserializeDocumentResourceDescription(v **types.ResourceDescr } sv.Identifier = ptr.String(jtv) } + case "Properties": if value != nil { jtv, ok := value.(string) @@ -2658,6 +2684,7 @@ func awsAwsjson10_deserializeDocumentResourceDescription(v **types.ResourceDescr } sv.Properties = ptr.String(jtv) } + default: _, _ = key, value @@ -2731,6 +2758,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2804,6 +2832,7 @@ func awsAwsjson10_deserializeDocumentServiceInternalErrorException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2843,6 +2872,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2882,6 +2912,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2921,6 +2952,7 @@ func awsAwsjson10_deserializeDocumentTypeNotFoundException(v **types.TypeNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2960,6 +2992,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedActionException(v **types.Unsupp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2995,6 +3028,7 @@ func awsAwsjson10_deserializeOpDocumentCancelResourceRequestOutput(v **CancelRes if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } + default: _, _ = key, value @@ -3030,6 +3064,7 @@ func awsAwsjson10_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } + default: _, _ = key, value @@ -3065,6 +3100,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourceOutput(v **DeleteResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } + default: _, _ = key, value @@ -3100,6 +3136,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, if err := awsAwsjson10_deserializeDocumentResourceDescription(&sv.ResourceDescription, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3108,6 +3145,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourceOutput(v **GetResourceOutput, } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -3143,6 +3181,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourceRequestStatusOutput(v **GetRes if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } + default: _, _ = key, value @@ -3182,10 +3221,12 @@ func awsAwsjson10_deserializeOpDocumentListResourceRequestsOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } + case "ResourceRequestStatusSummaries": if err := awsAwsjson10_deserializeDocumentResourceRequestStatusSummaries(&sv.ResourceRequestStatusSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -3225,10 +3266,12 @@ func awsAwsjson10_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } + case "ResourceDescriptions": if err := awsAwsjson10_deserializeDocumentResourceDescriptions(&sv.ResourceDescriptions, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3237,6 +3280,7 @@ func awsAwsjson10_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -3272,6 +3316,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateResourceOutput(v **UpdateResourceOu if err := awsAwsjson10_deserializeDocumentProgressEvent(&sv.ProgressEvent, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/clouddirectory/deserializers.go b/service/clouddirectory/deserializers.go index 7eb0f35d93b..bc8e31594ba 100644 --- a/service/clouddirectory/deserializers.go +++ b/service/clouddirectory/deserializers.go @@ -313,6 +313,7 @@ func awsRestjson1_deserializeOpDocumentApplySchemaOutput(v **ApplySchemaOutput, } sv.AppliedSchemaArn = ptr.String(jtv) } + case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -321,6 +322,7 @@ func awsRestjson1_deserializeOpDocumentApplySchemaOutput(v **ApplySchemaOutput, } sv.DirectoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -506,6 +508,7 @@ func awsRestjson1_deserializeOpDocumentAttachObjectOutput(v **AttachObjectOutput } sv.AttachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -806,6 +809,7 @@ func awsRestjson1_deserializeOpDocumentAttachToIndexOutput(v **AttachToIndexOutp } sv.AttachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -984,6 +988,7 @@ func awsRestjson1_deserializeOpDocumentAttachTypedLinkOutput(v **AttachTypedLink if err := awsRestjson1_deserializeDocumentTypedLinkSpecifier(&sv.TypedLinkSpecifier, value); err != nil { return err } + default: _, _ = key, value @@ -1153,6 +1158,7 @@ func awsRestjson1_deserializeOpDocumentBatchReadOutput(v **BatchReadOutput, valu if err := awsRestjson1_deserializeDocumentBatchReadOperationResponseList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -1325,6 +1331,7 @@ func awsRestjson1_deserializeOpDocumentBatchWriteOutput(v **BatchWriteOutput, va if err := awsRestjson1_deserializeDocumentBatchWriteOperationResponseList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -1501,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.AppliedSchemaArn = ptr.String(jtv) } + case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -1509,6 +1517,7 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.DirectoryArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1517,6 +1526,7 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.Name = ptr.String(jtv) } + case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -1525,6 +1535,7 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -1825,6 +1836,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -2010,6 +2022,7 @@ func awsRestjson1_deserializeOpDocumentCreateObjectOutput(v **CreateObjectOutput } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -2183,6 +2196,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2477,6 +2491,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDirectoryOutput(v **DeleteDirectory } sv.DirectoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2877,6 +2892,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3168,6 +3184,7 @@ func awsRestjson1_deserializeOpDocumentDetachFromIndexOutput(v **DetachFromIndex } sv.DetachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -3347,6 +3364,7 @@ func awsRestjson1_deserializeOpDocumentDetachObjectOutput(v **DetachObjectOutput } sv.DetachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -3753,6 +3771,7 @@ func awsRestjson1_deserializeOpDocumentDisableDirectoryOutput(v **DisableDirecto } sv.DirectoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3929,6 +3948,7 @@ func awsRestjson1_deserializeOpDocumentEnableDirectoryOutput(v **EnableDirectory } sv.DirectoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4102,6 +4122,7 @@ func awsRestjson1_deserializeOpDocumentGetAppliedSchemaVersionOutput(v **GetAppl } sv.AppliedSchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4268,6 +4289,7 @@ func awsRestjson1_deserializeOpDocumentGetDirectoryOutput(v **GetDirectoryOutput if err := awsRestjson1_deserializeDocumentDirectory(&sv.Directory, value); err != nil { return err } + default: _, _ = key, value @@ -4440,6 +4462,7 @@ func awsRestjson1_deserializeOpDocumentGetFacetOutput(v **GetFacetOutput, value if err := awsRestjson1_deserializeDocumentFacet(&sv.Facet, value); err != nil { return err } + default: _, _ = key, value @@ -4615,6 +4638,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkAttributesOutput(v **GetLinkAttrib if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -4790,6 +4814,7 @@ func awsRestjson1_deserializeOpDocumentGetObjectAttributesOutput(v **GetObjectAt if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -4966,10 +4991,12 @@ func awsRestjson1_deserializeOpDocumentGetObjectInformationOutput(v **GetObjectI } sv.ObjectIdentifier = ptr.String(jtv) } + case "SchemaFacets": if err := awsRestjson1_deserializeDocumentSchemaFacetList(&sv.SchemaFacets, value); err != nil { return err } + default: _, _ = key, value @@ -5143,6 +5170,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAsJsonOutput(v **GetSchemaAsJson } sv.Document = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5151,6 +5179,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaAsJsonOutput(v **GetSchemaAsJson } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5326,6 +5355,7 @@ func awsRestjson1_deserializeOpDocumentGetTypedLinkFacetInformationOutput(v **Ge if err := awsRestjson1_deserializeDocumentAttributeNameList(&sv.IdentityAttributeOrder, value); err != nil { return err } + default: _, _ = key, value @@ -5502,10 +5532,12 @@ func awsRestjson1_deserializeOpDocumentListAppliedSchemaArnsOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } + case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } + default: _, _ = key, value @@ -5678,6 +5710,7 @@ func awsRestjson1_deserializeOpDocumentListAttachedIndicesOutput(v **ListAttache if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5686,6 +5719,7 @@ func awsRestjson1_deserializeOpDocumentListAttachedIndicesOutput(v **ListAttache } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5862,10 +5896,12 @@ func awsRestjson1_deserializeOpDocumentListDevelopmentSchemaArnsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } + case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } + default: _, _ = key, value @@ -6035,6 +6071,7 @@ func awsRestjson1_deserializeOpDocumentListDirectoriesOutput(v **ListDirectories if err := awsRestjson1_deserializeDocumentDirectoryList(&sv.Directories, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6043,6 +6080,7 @@ func awsRestjson1_deserializeOpDocumentListDirectoriesOutput(v **ListDirectories } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6218,6 +6256,7 @@ func awsRestjson1_deserializeOpDocumentListFacetAttributesOutput(v **ListFacetAt if err := awsRestjson1_deserializeDocumentFacetAttributeList(&sv.Attributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6226,6 +6265,7 @@ func awsRestjson1_deserializeOpDocumentListFacetAttributesOutput(v **ListFacetAt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6398,6 +6438,7 @@ func awsRestjson1_deserializeOpDocumentListFacetNamesOutput(v **ListFacetNamesOu if err := awsRestjson1_deserializeDocumentFacetNameList(&sv.FacetNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6406,6 +6447,7 @@ func awsRestjson1_deserializeOpDocumentListFacetNamesOutput(v **ListFacetNamesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6584,6 +6626,7 @@ func awsRestjson1_deserializeOpDocumentListIncomingTypedLinksOutput(v **ListInco if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.LinkSpecifiers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6592,6 +6635,7 @@ func awsRestjson1_deserializeOpDocumentListIncomingTypedLinksOutput(v **ListInco } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6773,6 +6817,7 @@ func awsRestjson1_deserializeOpDocumentListIndexOutput(v **ListIndexOutput, valu if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6781,6 +6826,7 @@ func awsRestjson1_deserializeOpDocumentListIndexOutput(v **ListIndexOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6951,10 +6997,12 @@ func awsRestjson1_deserializeOpDocumentListManagedSchemaArnsOutput(v **ListManag } sv.NextToken = ptr.String(jtv) } + case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } + default: _, _ = key, value @@ -7133,6 +7181,7 @@ func awsRestjson1_deserializeOpDocumentListObjectAttributesOutput(v **ListObject if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7141,6 +7190,7 @@ func awsRestjson1_deserializeOpDocumentListObjectAttributesOutput(v **ListObject } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7319,6 +7369,7 @@ func awsRestjson1_deserializeOpDocumentListObjectChildrenOutput(v **ListObjectCh if err := awsRestjson1_deserializeDocumentLinkNameToObjectIdentifierMap(&sv.Children, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7327,6 +7378,7 @@ func awsRestjson1_deserializeOpDocumentListObjectChildrenOutput(v **ListObjectCh } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7506,10 +7558,12 @@ func awsRestjson1_deserializeOpDocumentListObjectParentPathsOutput(v **ListObjec } sv.NextToken = ptr.String(jtv) } + case "PathToObjectIdentifiersList": if err := awsRestjson1_deserializeDocumentPathToObjectIdentifiersList(&sv.PathToObjectIdentifiersList, value); err != nil { return err } + default: _, _ = key, value @@ -7692,14 +7746,17 @@ func awsRestjson1_deserializeOpDocumentListObjectParentsOutput(v **ListObjectPar } sv.NextToken = ptr.String(jtv) } + case "ParentLinks": if err := awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameList(&sv.ParentLinks, value); err != nil { return err } + case "Parents": if err := awsRestjson1_deserializeDocumentObjectIdentifierToLinkNameMap(&sv.Parents, value); err != nil { return err } + default: _, _ = key, value @@ -7875,6 +7932,7 @@ func awsRestjson1_deserializeOpDocumentListObjectPoliciesOutput(v **ListObjectPo if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.AttachedPolicyIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7883,6 +7941,7 @@ func awsRestjson1_deserializeOpDocumentListObjectPoliciesOutput(v **ListObjectPo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8065,10 +8124,12 @@ func awsRestjson1_deserializeOpDocumentListOutgoingTypedLinksOutput(v **ListOutg } sv.NextToken = ptr.String(jtv) } + case "TypedLinkSpecifiers": if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.TypedLinkSpecifiers, value); err != nil { return err } + default: _, _ = key, value @@ -8251,10 +8312,12 @@ func awsRestjson1_deserializeOpDocumentListPolicyAttachmentsOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } + case "ObjectIdentifiers": if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -8431,10 +8494,12 @@ func awsRestjson1_deserializeOpDocumentListPublishedSchemaArnsOutput(v **ListPub } sv.NextToken = ptr.String(jtv) } + case "SchemaArns": if err := awsRestjson1_deserializeDocumentArns(&sv.SchemaArns, value); err != nil { return err } + default: _, _ = key, value @@ -8611,10 +8676,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8790,6 +8857,7 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetAttributesOutput(v **Li if err := awsRestjson1_deserializeDocumentTypedLinkAttributeDefinitionList(&sv.Attributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8798,6 +8866,7 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetAttributesOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8970,6 +9039,7 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetNamesOutput(v **ListTyp if err := awsRestjson1_deserializeDocumentTypedLinkNameList(&sv.FacetNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8978,6 +9048,7 @@ func awsRestjson1_deserializeOpDocumentListTypedLinkFacetNamesOutput(v **ListTyp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9157,10 +9228,12 @@ func awsRestjson1_deserializeOpDocumentLookupPolicyOutput(v **LookupPolicyOutput } sv.NextToken = ptr.String(jtv) } + case "PolicyToPathList": if err := awsRestjson1_deserializeDocumentPolicyToPathList(&sv.PolicyToPathList, value); err != nil { return err } + default: _, _ = key, value @@ -9337,6 +9410,7 @@ func awsRestjson1_deserializeOpDocumentPublishSchemaOutput(v **PublishSchemaOutp } sv.PublishedSchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9513,6 +9587,7 @@ func awsRestjson1_deserializeOpDocumentPutSchemaFromJsonOutput(v **PutSchemaFrom } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -10255,6 +10330,7 @@ func awsRestjson1_deserializeOpDocumentUpdateObjectAttributesOutput(v **UpdateOb } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -10428,6 +10504,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10725,6 +10802,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeAppliedSchemaOutput(v **UpgradeApp } sv.DirectoryArn = ptr.String(jtv) } + case "UpgradedSchemaArn": if value != nil { jtv, ok := value.(string) @@ -10733,6 +10811,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeAppliedSchemaOutput(v **UpgradeApp } sv.UpgradedSchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10912,6 +10991,7 @@ func awsRestjson1_deserializeOpDocumentUpgradePublishedSchemaOutput(v **UpgradeP } sv.UpgradedSchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12211,6 +12291,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12286,6 +12367,7 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.FacetName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12294,6 +12376,7 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.Name = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -12302,6 +12385,7 @@ func awsRestjson1_deserializeDocumentAttributeKey(v **types.AttributeKey, value } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12337,10 +12421,12 @@ func awsRestjson1_deserializeDocumentAttributeKeyAndValue(v **types.AttributeKey if err := awsRestjson1_deserializeDocumentAttributeKey(&sv.Key, value); err != nil { return err } + case "Value": if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -12414,10 +12500,12 @@ func awsRestjson1_deserializeDocumentAttributeNameAndValue(v **types.AttributeNa } sv.AttributeName = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -12558,6 +12646,7 @@ func awsRestjson1_deserializeDocumentBatchAttachObjectResponse(v **types.BatchAt } sv.AttachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12628,6 +12717,7 @@ func awsRestjson1_deserializeDocumentBatchAttachToIndexResponse(v **types.BatchA } sv.AttachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12663,6 +12753,7 @@ func awsRestjson1_deserializeDocumentBatchAttachTypedLinkResponse(v **types.Batc if err := awsRestjson1_deserializeDocumentTypedLinkSpecifier(&sv.TypedLinkSpecifier, value); err != nil { return err } + default: _, _ = key, value @@ -12702,6 +12793,7 @@ func awsRestjson1_deserializeDocumentBatchCreateIndexResponse(v **types.BatchCre } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12741,6 +12833,7 @@ func awsRestjson1_deserializeDocumentBatchCreateObjectResponse(v **types.BatchCr } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12811,6 +12904,7 @@ func awsRestjson1_deserializeDocumentBatchDetachFromIndexResponse(v **types.Batc } sv.DetachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12850,6 +12944,7 @@ func awsRestjson1_deserializeDocumentBatchDetachObjectResponse(v **types.BatchDe } sv.DetachedObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12947,6 +13042,7 @@ func awsRestjson1_deserializeDocumentBatchGetLinkAttributesResponse(v **types.Ba if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -12982,6 +13078,7 @@ func awsRestjson1_deserializeDocumentBatchGetObjectAttributesResponse(v **types. if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -13021,10 +13118,12 @@ func awsRestjson1_deserializeDocumentBatchGetObjectInformationResponse(v **types } sv.ObjectIdentifier = ptr.String(jtv) } + case "SchemaFacets": if err := awsRestjson1_deserializeDocumentSchemaFacetList(&sv.SchemaFacets, value); err != nil { return err } + default: _, _ = key, value @@ -13060,6 +13159,7 @@ func awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(v **types. if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13068,6 +13168,7 @@ func awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(v **types. } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13103,6 +13204,7 @@ func awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(v **typ if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.LinkSpecifiers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13111,6 +13213,7 @@ func awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(v **typ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13146,6 +13249,7 @@ func awsRestjson1_deserializeDocumentBatchListIndexResponse(v **types.BatchListI if err := awsRestjson1_deserializeDocumentIndexAttachmentList(&sv.IndexAttachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13154,6 +13258,7 @@ func awsRestjson1_deserializeDocumentBatchListIndexResponse(v **types.BatchListI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13189,6 +13294,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(v **types if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.Attributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13197,6 +13303,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(v **types } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13232,6 +13339,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(v **types.B if err := awsRestjson1_deserializeDocumentLinkNameToObjectIdentifierMap(&sv.Children, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13240,6 +13348,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(v **types.B } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13279,10 +13388,12 @@ func awsRestjson1_deserializeDocumentBatchListObjectParentPathsResponse(v **type } sv.NextToken = ptr.String(jtv) } + case "PathToObjectIdentifiersList": if err := awsRestjson1_deserializeDocumentPathToObjectIdentifiersList(&sv.PathToObjectIdentifiersList, value); err != nil { return err } + default: _, _ = key, value @@ -13322,10 +13433,12 @@ func awsRestjson1_deserializeDocumentBatchListObjectParentsResponse(v **types.Ba } sv.NextToken = ptr.String(jtv) } + case "ParentLinks": if err := awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameList(&sv.ParentLinks, value); err != nil { return err } + default: _, _ = key, value @@ -13361,6 +13474,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(v **types.B if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.AttachedPolicyIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13369,6 +13483,7 @@ func awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(v **types.B } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13408,10 +13523,12 @@ func awsRestjson1_deserializeDocumentBatchListOutgoingTypedLinksResponse(v **typ } sv.NextToken = ptr.String(jtv) } + case "TypedLinkSpecifiers": if err := awsRestjson1_deserializeDocumentTypedLinkSpecifierList(&sv.TypedLinkSpecifiers, value); err != nil { return err } + default: _, _ = key, value @@ -13451,10 +13568,12 @@ func awsRestjson1_deserializeDocumentBatchListPolicyAttachmentsResponse(v **type } sv.NextToken = ptr.String(jtv) } + case "ObjectIdentifiers": if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -13494,10 +13613,12 @@ func awsRestjson1_deserializeDocumentBatchLookupPolicyResponse(v **types.BatchLo } sv.NextToken = ptr.String(jtv) } + case "PolicyToPathList": if err := awsRestjson1_deserializeDocumentPolicyToPathList(&sv.PolicyToPathList, value); err != nil { return err } + default: _, _ = key, value @@ -13537,6 +13658,7 @@ func awsRestjson1_deserializeDocumentBatchReadException(v **types.BatchReadExcep } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13545,6 +13667,7 @@ func awsRestjson1_deserializeDocumentBatchReadException(v **types.BatchReadExcep } sv.Type = types.BatchReadExceptionType(jtv) } + default: _, _ = key, value @@ -13580,10 +13703,12 @@ func awsRestjson1_deserializeDocumentBatchReadOperationResponse(v **types.BatchR if err := awsRestjson1_deserializeDocumentBatchReadException(&sv.ExceptionResponse, value); err != nil { return err } + case "SuccessfulResponse": if err := awsRestjson1_deserializeDocumentBatchReadSuccessfulResponse(&sv.SuccessfulResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13653,58 +13778,72 @@ func awsRestjson1_deserializeDocumentBatchReadSuccessfulResponse(v **types.Batch if err := awsRestjson1_deserializeDocumentBatchGetLinkAttributesResponse(&sv.GetLinkAttributes, value); err != nil { return err } + case "GetObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchGetObjectAttributesResponse(&sv.GetObjectAttributes, value); err != nil { return err } + case "GetObjectInformation": if err := awsRestjson1_deserializeDocumentBatchGetObjectInformationResponse(&sv.GetObjectInformation, value); err != nil { return err } + case "ListAttachedIndices": if err := awsRestjson1_deserializeDocumentBatchListAttachedIndicesResponse(&sv.ListAttachedIndices, value); err != nil { return err } + case "ListIncomingTypedLinks": if err := awsRestjson1_deserializeDocumentBatchListIncomingTypedLinksResponse(&sv.ListIncomingTypedLinks, value); err != nil { return err } + case "ListIndex": if err := awsRestjson1_deserializeDocumentBatchListIndexResponse(&sv.ListIndex, value); err != nil { return err } + case "ListObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchListObjectAttributesResponse(&sv.ListObjectAttributes, value); err != nil { return err } + case "ListObjectChildren": if err := awsRestjson1_deserializeDocumentBatchListObjectChildrenResponse(&sv.ListObjectChildren, value); err != nil { return err } + case "ListObjectParentPaths": if err := awsRestjson1_deserializeDocumentBatchListObjectParentPathsResponse(&sv.ListObjectParentPaths, value); err != nil { return err } + case "ListObjectParents": if err := awsRestjson1_deserializeDocumentBatchListObjectParentsResponse(&sv.ListObjectParents, value); err != nil { return err } + case "ListObjectPolicies": if err := awsRestjson1_deserializeDocumentBatchListObjectPoliciesResponse(&sv.ListObjectPolicies, value); err != nil { return err } + case "ListOutgoingTypedLinks": if err := awsRestjson1_deserializeDocumentBatchListOutgoingTypedLinksResponse(&sv.ListOutgoingTypedLinks, value); err != nil { return err } + case "ListPolicyAttachments": if err := awsRestjson1_deserializeDocumentBatchListPolicyAttachmentsResponse(&sv.ListPolicyAttachments, value); err != nil { return err } + case "LookupPolicy": if err := awsRestjson1_deserializeDocumentBatchLookupPolicyResponse(&sv.LookupPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -13806,6 +13945,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateObjectAttributesResponse(v **typ } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -13849,6 +13989,7 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Index = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13857,6 +13998,7 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13865,6 +14007,7 @@ func awsRestjson1_deserializeDocumentBatchWriteException(v **types.BatchWriteExc } sv.Type = types.BatchWriteExceptionType(jtv) } + default: _, _ = key, value @@ -13900,62 +14043,77 @@ func awsRestjson1_deserializeDocumentBatchWriteOperationResponse(v **types.Batch if err := awsRestjson1_deserializeDocumentBatchAddFacetToObjectResponse(&sv.AddFacetToObject, value); err != nil { return err } + case "AttachObject": if err := awsRestjson1_deserializeDocumentBatchAttachObjectResponse(&sv.AttachObject, value); err != nil { return err } + case "AttachPolicy": if err := awsRestjson1_deserializeDocumentBatchAttachPolicyResponse(&sv.AttachPolicy, value); err != nil { return err } + case "AttachToIndex": if err := awsRestjson1_deserializeDocumentBatchAttachToIndexResponse(&sv.AttachToIndex, value); err != nil { return err } + case "AttachTypedLink": if err := awsRestjson1_deserializeDocumentBatchAttachTypedLinkResponse(&sv.AttachTypedLink, value); err != nil { return err } + case "CreateIndex": if err := awsRestjson1_deserializeDocumentBatchCreateIndexResponse(&sv.CreateIndex, value); err != nil { return err } + case "CreateObject": if err := awsRestjson1_deserializeDocumentBatchCreateObjectResponse(&sv.CreateObject, value); err != nil { return err } + case "DeleteObject": if err := awsRestjson1_deserializeDocumentBatchDeleteObjectResponse(&sv.DeleteObject, value); err != nil { return err } + case "DetachFromIndex": if err := awsRestjson1_deserializeDocumentBatchDetachFromIndexResponse(&sv.DetachFromIndex, value); err != nil { return err } + case "DetachObject": if err := awsRestjson1_deserializeDocumentBatchDetachObjectResponse(&sv.DetachObject, value); err != nil { return err } + case "DetachPolicy": if err := awsRestjson1_deserializeDocumentBatchDetachPolicyResponse(&sv.DetachPolicy, value); err != nil { return err } + case "DetachTypedLink": if err := awsRestjson1_deserializeDocumentBatchDetachTypedLinkResponse(&sv.DetachTypedLink, value); err != nil { return err } + case "RemoveFacetFromObject": if err := awsRestjson1_deserializeDocumentBatchRemoveFacetFromObjectResponse(&sv.RemoveFacetFromObject, value); err != nil { return err } + case "UpdateLinkAttributes": if err := awsRestjson1_deserializeDocumentBatchUpdateLinkAttributesResponse(&sv.UpdateLinkAttributes, value); err != nil { return err } + case "UpdateObjectAttributes": if err := awsRestjson1_deserializeDocumentBatchUpdateObjectAttributesResponse(&sv.UpdateObjectAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -14029,6 +14187,7 @@ func awsRestjson1_deserializeDocumentCannotListParentOfRootException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14075,6 +14234,7 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } } + case "DirectoryArn": if value != nil { jtv, ok := value.(string) @@ -14083,6 +14243,7 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.DirectoryArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14091,6 +14252,7 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14099,6 +14261,7 @@ func awsRestjson1_deserializeDocumentDirectory(v **types.Directory, value interf } sv.State = types.DirectoryState(jtv) } + default: _, _ = key, value @@ -14138,6 +14301,7 @@ func awsRestjson1_deserializeDocumentDirectoryAlreadyExistsException(v **types.D } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14177,6 +14341,7 @@ func awsRestjson1_deserializeDocumentDirectoryDeletedException(v **types.Directo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14250,6 +14415,7 @@ func awsRestjson1_deserializeDocumentDirectoryNotDisabledException(v **types.Dir } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14289,6 +14455,7 @@ func awsRestjson1_deserializeDocumentDirectoryNotEnabledException(v **types.Dire } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14328,6 +14495,7 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.FacetStyle = types.FacetStyle(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14336,6 +14504,7 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.Name = ptr.String(jtv) } + case "ObjectType": if value != nil { jtv, ok := value.(string) @@ -14344,6 +14513,7 @@ func awsRestjson1_deserializeDocumentFacet(v **types.Facet, value interface{}) e } sv.ObjectType = types.ObjectType(jtv) } + default: _, _ = key, value @@ -14383,6 +14553,7 @@ func awsRestjson1_deserializeDocumentFacetAlreadyExistsException(v **types.Facet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14418,10 +14589,12 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va if err := awsRestjson1_deserializeDocumentFacetAttributeDefinition(&sv.AttributeDefinition, value); err != nil { return err } + case "AttributeReference": if err := awsRestjson1_deserializeDocumentFacetAttributeReference(&sv.AttributeReference, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14430,6 +14603,7 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va } sv.Name = ptr.String(jtv) } + case "RequiredBehavior": if value != nil { jtv, ok := value.(string) @@ -14438,6 +14612,7 @@ func awsRestjson1_deserializeDocumentFacetAttribute(v **types.FacetAttribute, va } sv.RequiredBehavior = types.RequiredAttributeBehavior(jtv) } + default: _, _ = key, value @@ -14473,6 +14648,7 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.DefaultValue, value); err != nil { return err } + case "IsImmutable": if value != nil { jtv, ok := value.(bool) @@ -14481,10 +14657,12 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt } sv.IsImmutable = jtv } + case "Rules": if err := awsRestjson1_deserializeDocumentRuleMap(&sv.Rules, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14493,6 +14671,7 @@ func awsRestjson1_deserializeDocumentFacetAttributeDefinition(v **types.FacetAtt } sv.Type = types.FacetAttributeType(jtv) } + default: _, _ = key, value @@ -14566,6 +14745,7 @@ func awsRestjson1_deserializeDocumentFacetAttributeReference(v **types.FacetAttr } sv.TargetAttributeName = ptr.String(jtv) } + case "TargetFacetName": if value != nil { jtv, ok := value.(string) @@ -14574,6 +14754,7 @@ func awsRestjson1_deserializeDocumentFacetAttributeReference(v **types.FacetAttr } sv.TargetFacetName = ptr.String(jtv) } + default: _, _ = key, value @@ -14613,6 +14794,7 @@ func awsRestjson1_deserializeDocumentFacetInUseException(v **types.FacetInUseExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14688,6 +14870,7 @@ func awsRestjson1_deserializeDocumentFacetNotFoundException(v **types.FacetNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14727,6 +14910,7 @@ func awsRestjson1_deserializeDocumentFacetValidationException(v **types.FacetVal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14766,6 +14950,7 @@ func awsRestjson1_deserializeDocumentIncompatibleSchemaException(v **types.Incom } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14801,6 +14986,7 @@ func awsRestjson1_deserializeDocumentIndexAttachment(v **types.IndexAttachment, if err := awsRestjson1_deserializeDocumentAttributeKeyAndValueList(&sv.IndexedAttributes, value); err != nil { return err } + case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -14809,6 +14995,7 @@ func awsRestjson1_deserializeDocumentIndexAttachment(v **types.IndexAttachment, } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -14882,6 +15069,7 @@ func awsRestjson1_deserializeDocumentIndexedAttributeMissingException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14921,6 +15109,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14960,6 +15149,7 @@ func awsRestjson1_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14999,6 +15189,7 @@ func awsRestjson1_deserializeDocumentInvalidAttachmentException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15038,6 +15229,7 @@ func awsRestjson1_deserializeDocumentInvalidFacetUpdateException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15077,6 +15269,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15116,6 +15309,7 @@ func awsRestjson1_deserializeDocumentInvalidRuleException(v **types.InvalidRuleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15155,6 +15349,7 @@ func awsRestjson1_deserializeDocumentInvalidSchemaDocException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15194,6 +15389,7 @@ func awsRestjson1_deserializeDocumentInvalidTaggingRequestException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15233,6 +15429,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15272,6 +15469,7 @@ func awsRestjson1_deserializeDocumentLinkNameAlreadyInUseException(v **types.Lin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15347,6 +15545,7 @@ func awsRestjson1_deserializeDocumentNotIndexException(v **types.NotIndexExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15386,6 +15585,7 @@ func awsRestjson1_deserializeDocumentNotNodeException(v **types.NotNodeException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15425,6 +15625,7 @@ func awsRestjson1_deserializeDocumentNotPolicyException(v **types.NotPolicyExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15464,6 +15665,7 @@ func awsRestjson1_deserializeDocumentObjectAlreadyDetachedException(v **types.Ob } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15537,6 +15739,7 @@ func awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameTuple(v **types. } sv.LinkName = ptr.String(jtv) } + case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -15545,6 +15748,7 @@ func awsRestjson1_deserializeDocumentObjectIdentifierAndLinkNameTuple(v **types. } sv.ObjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -15656,6 +15860,7 @@ func awsRestjson1_deserializeDocumentObjectNotDetachedException(v **types.Object } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15695,6 +15900,7 @@ func awsRestjson1_deserializeDocumentObjectReference(v **types.ObjectReference, } sv.Selector = ptr.String(jtv) } + default: _, _ = key, value @@ -15730,6 +15936,7 @@ func awsRestjson1_deserializeDocumentPathToObjectIdentifiers(v **types.PathToObj if err := awsRestjson1_deserializeDocumentObjectIdentifierList(&sv.ObjectIdentifiers, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -15738,6 +15945,7 @@ func awsRestjson1_deserializeDocumentPathToObjectIdentifiers(v **types.PathToObj } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -15811,6 +16019,7 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.ObjectIdentifier = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -15819,6 +16028,7 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.PolicyId = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -15827,6 +16037,7 @@ func awsRestjson1_deserializeDocumentPolicyAttachment(v **types.PolicyAttachment } sv.PolicyType = ptr.String(jtv) } + default: _, _ = key, value @@ -15900,10 +16111,12 @@ func awsRestjson1_deserializeDocumentPolicyToPath(v **types.PolicyToPath, value } sv.Path = ptr.String(jtv) } + case "Policies": if err := awsRestjson1_deserializeDocumentPolicyAttachmentList(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -15977,6 +16190,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16016,6 +16230,7 @@ func awsRestjson1_deserializeDocumentRetryableConflictException(v **types.Retrya } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16051,6 +16266,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentRuleParameterMap(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16059,6 +16275,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Type = types.RuleType(jtv) } + default: _, _ = key, value @@ -16169,6 +16386,7 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyExistsException(v **types.Sche } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16208,6 +16426,7 @@ func awsRestjson1_deserializeDocumentSchemaAlreadyPublishedException(v **types.S } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16247,6 +16466,7 @@ func awsRestjson1_deserializeDocumentSchemaFacet(v **types.SchemaFacet, value in } sv.FacetName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -16255,6 +16475,7 @@ func awsRestjson1_deserializeDocumentSchemaFacet(v **types.SchemaFacet, value in } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16328,6 +16549,7 @@ func awsRestjson1_deserializeDocumentStillContainsLinksException(v **types.Still } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16367,6 +16589,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16375,6 +16598,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16545,6 +16769,7 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type if err := awsRestjson1_deserializeDocumentTypedAttributeValue(&sv.DefaultValue, value); err != nil { return err } + case "IsImmutable": if value != nil { jtv, ok := value.(bool) @@ -16553,6 +16778,7 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.IsImmutable = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16561,6 +16787,7 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.Name = ptr.String(jtv) } + case "RequiredBehavior": if value != nil { jtv, ok := value.(string) @@ -16569,10 +16796,12 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.RequiredBehavior = types.RequiredAttributeBehavior(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentRuleMap(&sv.Rules, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16581,6 +16810,7 @@ func awsRestjson1_deserializeDocumentTypedLinkAttributeDefinition(v **types.Type } sv.Type = types.FacetAttributeType(jtv) } + default: _, _ = key, value @@ -16690,6 +16920,7 @@ func awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(v **types.Typed } sv.SchemaArn = ptr.String(jtv) } + case "TypedLinkName": if value != nil { jtv, ok := value.(string) @@ -16698,6 +16929,7 @@ func awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(v **types.Typed } sv.TypedLinkName = ptr.String(jtv) } + default: _, _ = key, value @@ -16733,18 +16965,22 @@ func awsRestjson1_deserializeDocumentTypedLinkSpecifier(v **types.TypedLinkSpeci if err := awsRestjson1_deserializeDocumentAttributeNameAndValueList(&sv.IdentityAttributeValues, value); err != nil { return err } + case "SourceObjectReference": if err := awsRestjson1_deserializeDocumentObjectReference(&sv.SourceObjectReference, value); err != nil { return err } + case "TargetObjectReference": if err := awsRestjson1_deserializeDocumentObjectReference(&sv.TargetObjectReference, value); err != nil { return err } + case "TypedLinkFacet": if err := awsRestjson1_deserializeDocumentTypedLinkSchemaAndFacetName(&sv.TypedLinkFacet, value); err != nil { return err } + default: _, _ = key, value @@ -16818,6 +17054,7 @@ func awsRestjson1_deserializeDocumentUnsupportedIndexTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16857,6 +17094,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloudfrontkeyvaluestore/deserializers.go b/service/cloudfrontkeyvaluestore/deserializers.go index f5e4a3da229..ddfd6eb3856 100644 --- a/service/cloudfrontkeyvaluestore/deserializers.go +++ b/service/cloudfrontkeyvaluestore/deserializers.go @@ -211,6 +211,7 @@ func awsRestjson1_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu } sv.ItemCount = ptr.Int32(int32(i64)) } + case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -223,6 +224,7 @@ func awsRestjson1_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu } sv.TotalSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -411,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -419,6 +422,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.FailureReason = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -431,6 +435,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.ItemCount = ptr.Int32(int32(i64)) } + case "KvsARN": if value != nil { jtv, ok := value.(string) @@ -439,6 +444,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.KvsARN = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -454,6 +460,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -462,6 +469,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.Status = ptr.String(jtv) } + case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -474,6 +482,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyValueStoreOutput(v **DescribeK } sv.TotalSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -642,6 +651,7 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.ItemCount = ptr.Int32(int32(i64)) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -650,6 +660,7 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.Key = ptr.String(jtv) } + case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -662,6 +673,7 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.TotalSizeInBytes = ptr.Int64(i64) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -670,6 +682,7 @@ func awsRestjson1_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -833,6 +846,7 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsRestjson1_deserializeDocumentListKeysResponseList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -841,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1032,6 +1047,7 @@ func awsRestjson1_deserializeOpDocumentPutKeyOutput(v **PutKeyOutput, value inte } sv.ItemCount = ptr.Int32(int32(i64)) } + case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1044,6 +1060,7 @@ func awsRestjson1_deserializeOpDocumentPutKeyOutput(v **PutKeyOutput, value inte } sv.TotalSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -1235,6 +1252,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeysOutput(v **UpdateKeysOutput, va } sv.ItemCount = ptr.Int32(int32(i64)) } + case "TotalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1247,6 +1265,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeysOutput(v **UpdateKeysOutput, va } sv.TotalSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -1502,6 +1521,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1541,6 +1561,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1580,6 +1601,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1653,6 +1675,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseListItem(v **types.ListKeys } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1661,6 +1684,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseListItem(v **types.ListKeys } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1700,6 +1724,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1739,6 +1764,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1778,6 +1804,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloudhsm/deserializers.go b/service/cloudhsm/deserializers.go index 22094b31dcd..7a11bd10ae9 100644 --- a/service/cloudhsm/deserializers.go +++ b/service/cloudhsm/deserializers.go @@ -2570,6 +2570,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs } sv.Message = ptr.String(jtv) } + case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2578,6 +2579,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalException(v **types.CloudHs } sv.Retryable = jtv } + default: _, _ = key, value @@ -2617,6 +2619,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Message = ptr.String(jtv) } + case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2625,6 +2628,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Retryable = jtv } + default: _, _ = key, value @@ -2736,6 +2740,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "retryable": if value != nil { jtv, ok := value.(bool) @@ -2744,6 +2749,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Retryable = jtv } + default: _, _ = key, value @@ -2855,6 +2861,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2863,6 +2870,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2936,6 +2944,7 @@ func awsAwsjson11_deserializeOpDocumentAddTagsToResourceOutput(v **AddTagsToReso } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2975,6 +2984,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHapgOutput(v **CreateHapgOutput, va } sv.HapgArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3014,6 +3024,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHsmOutput(v **CreateHsmOutput, valu } sv.HsmArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3053,6 +3064,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLunaClientOutput(v **CreateLunaClie } sv.ClientArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3092,6 +3104,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteHapgOutput(v **DeleteHapgOutput, va } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3131,6 +3144,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteHsmOutput(v **DeleteHsmOutput, valu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3170,6 +3184,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLunaClientOutput(v **DeleteLunaClie } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3209,6 +3224,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.HapgArn = ptr.String(jtv) } + case "HapgSerial": if value != nil { jtv, ok := value.(string) @@ -3217,18 +3233,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.HapgSerial = ptr.String(jtv) } + case "HsmsLastActionFailed": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsLastActionFailed, value); err != nil { return err } + case "HsmsPendingDeletion": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsPendingDeletion, value); err != nil { return err } + case "HsmsPendingRegistration": if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmsPendingRegistration, value); err != nil { return err } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3237,6 +3257,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.Label = ptr.String(jtv) } + case "LastModifiedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3245,10 +3266,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.LastModifiedTimestamp = ptr.String(jtv) } + case "PartitionSerialList": if err := awsAwsjson11_deserializeDocumentPartitionSerialList(&sv.PartitionSerialList, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -3257,6 +3280,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHapgOutput(v **DescribeHapgOutput } sv.State = types.CloudHsmObjectState(jtv) } + default: _, _ = key, value @@ -3296,6 +3320,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.AvailabilityZone = ptr.String(jtv) } + case "EniId": if value != nil { jtv, ok := value.(string) @@ -3304,6 +3329,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.EniId = ptr.String(jtv) } + case "EniIp": if value != nil { jtv, ok := value.(string) @@ -3312,6 +3338,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.EniIp = ptr.String(jtv) } + case "HsmArn": if value != nil { jtv, ok := value.(string) @@ -3320,6 +3347,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.HsmArn = ptr.String(jtv) } + case "HsmType": if value != nil { jtv, ok := value.(string) @@ -3328,6 +3356,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.HsmType = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3336,10 +3365,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.IamRoleArn = ptr.String(jtv) } + case "Partitions": if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } + case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -3348,6 +3379,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SerialNumber = ptr.String(jtv) } + case "ServerCertLastUpdated": if value != nil { jtv, ok := value.(string) @@ -3356,6 +3388,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.ServerCertLastUpdated = ptr.String(jtv) } + case "ServerCertUri": if value != nil { jtv, ok := value.(string) @@ -3364,6 +3397,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.ServerCertUri = ptr.String(jtv) } + case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -3372,6 +3406,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SoftwareVersion = ptr.String(jtv) } + case "SshKeyLastUpdated": if value != nil { jtv, ok := value.(string) @@ -3380,6 +3415,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SshKeyLastUpdated = ptr.String(jtv) } + case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -3388,6 +3424,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SshPublicKey = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3396,6 +3433,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.Status = types.HsmStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -3404,6 +3442,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.StatusDetails = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -3412,6 +3451,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubnetId = ptr.String(jtv) } + case "SubscriptionEndDate": if value != nil { jtv, ok := value.(string) @@ -3420,6 +3460,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionEndDate = ptr.String(jtv) } + case "SubscriptionStartDate": if value != nil { jtv, ok := value.(string) @@ -3428,6 +3469,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionStartDate = ptr.String(jtv) } + case "SubscriptionType": if value != nil { jtv, ok := value.(string) @@ -3436,6 +3478,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.SubscriptionType = types.SubscriptionType(jtv) } + case "VendorName": if value != nil { jtv, ok := value.(string) @@ -3444,6 +3487,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.VendorName = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3452,6 +3496,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHsmOutput(v **DescribeHsmOutput, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3491,6 +3536,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.Certificate = ptr.String(jtv) } + case "CertificateFingerprint": if value != nil { jtv, ok := value.(string) @@ -3499,6 +3545,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.CertificateFingerprint = ptr.String(jtv) } + case "ClientArn": if value != nil { jtv, ok := value.(string) @@ -3507,6 +3554,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.ClientArn = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3515,6 +3563,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.Label = ptr.String(jtv) } + case "LastModifiedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3523,6 +3572,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLunaClientOutput(v **DescribeLuna } sv.LastModifiedTimestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -3562,6 +3612,7 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigCred = ptr.String(jtv) } + case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -3570,6 +3621,7 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigFile = ptr.String(jtv) } + case "ConfigType": if value != nil { jtv, ok := value.(string) @@ -3578,6 +3630,7 @@ func awsAwsjson11_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigType = ptr.String(jtv) } + default: _, _ = key, value @@ -3613,6 +3666,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableZonesOutput(v **ListAvailabl if err := awsAwsjson11_deserializeDocumentAZList(&sv.AZList, value); err != nil { return err } + default: _, _ = key, value @@ -3648,6 +3702,7 @@ func awsAwsjson11_deserializeOpDocumentListHapgsOutput(v **ListHapgsOutput, valu if err := awsAwsjson11_deserializeDocumentHapgList(&sv.HapgList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3656,6 +3711,7 @@ func awsAwsjson11_deserializeOpDocumentListHapgsOutput(v **ListHapgsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3691,6 +3747,7 @@ func awsAwsjson11_deserializeOpDocumentListHsmsOutput(v **ListHsmsOutput, value if err := awsAwsjson11_deserializeDocumentHsmList(&sv.HsmList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3699,6 +3756,7 @@ func awsAwsjson11_deserializeOpDocumentListHsmsOutput(v **ListHsmsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3734,6 +3792,7 @@ func awsAwsjson11_deserializeOpDocumentListLunaClientsOutput(v **ListLunaClients if err := awsAwsjson11_deserializeDocumentClientList(&sv.ClientList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3742,6 +3801,7 @@ func awsAwsjson11_deserializeOpDocumentListLunaClientsOutput(v **ListLunaClients } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3777,6 +3837,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -3816,6 +3877,7 @@ func awsAwsjson11_deserializeOpDocumentModifyHapgOutput(v **ModifyHapgOutput, va } sv.HapgArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3855,6 +3917,7 @@ func awsAwsjson11_deserializeOpDocumentModifyHsmOutput(v **ModifyHsmOutput, valu } sv.HsmArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3894,6 +3957,7 @@ func awsAwsjson11_deserializeOpDocumentModifyLunaClientOutput(v **ModifyLunaClie } sv.ClientArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3933,6 +3997,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTagsFromResourceOutput(v **RemoveTa } sv.Status = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloudhsmv2/deserializers.go b/service/cloudhsmv2/deserializers.go index e8db2de5b9e..7799e984bc0 100644 --- a/service/cloudhsmv2/deserializers.go +++ b/service/cloudhsmv2/deserializers.go @@ -2504,6 +2504,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupArn = ptr.String(jtv) } + case "BackupId": if value != nil { jtv, ok := value.(string) @@ -2512,6 +2513,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } + case "BackupState": if value != nil { jtv, ok := value.(string) @@ -2520,6 +2522,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupState = types.BackupState(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2531,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ClusterId = ptr.String(jtv) } + case "CopyTimestamp": if value != nil { switch jtv := value.(type) { @@ -2543,6 +2547,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } + case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2558,6 +2563,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } + case "DeleteTimestamp": if value != nil { switch jtv := value.(type) { @@ -2573,6 +2579,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } + case "HsmType": if value != nil { jtv, ok := value.(string) @@ -2581,6 +2588,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.HsmType = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -2589,6 +2597,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Mode = types.ClusterMode(jtv) } + case "NeverExpires": if value != nil { jtv, ok := value.(bool) @@ -2597,6 +2606,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.NeverExpires = ptr.Bool(jtv) } + case "SourceBackup": if value != nil { jtv, ok := value.(string) @@ -2605,6 +2615,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackup = ptr.String(jtv) } + case "SourceCluster": if value != nil { jtv, ok := value.(string) @@ -2613,6 +2624,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceCluster = ptr.String(jtv) } + case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -2621,10 +2633,12 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceRegion = ptr.String(jtv) } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -2664,6 +2678,7 @@ func awsAwsjson11_deserializeDocumentBackupRetentionPolicy(v **types.BackupReten } sv.Type = types.BackupRetentionType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2672,6 +2687,7 @@ func awsAwsjson11_deserializeDocumentBackupRetentionPolicy(v **types.BackupReten } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2745,6 +2761,7 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.AwsHardwareCertificate = ptr.String(jtv) } + case "ClusterCertificate": if value != nil { jtv, ok := value.(string) @@ -2753,6 +2770,7 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ClusterCertificate = ptr.String(jtv) } + case "ClusterCsr": if value != nil { jtv, ok := value.(string) @@ -2761,6 +2779,7 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ClusterCsr = ptr.String(jtv) } + case "HsmCertificate": if value != nil { jtv, ok := value.(string) @@ -2769,6 +2788,7 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.HsmCertificate = ptr.String(jtv) } + case "ManufacturerHardwareCertificate": if value != nil { jtv, ok := value.(string) @@ -2777,6 +2797,7 @@ func awsAwsjson11_deserializeDocumentCertificates(v **types.Certificates, value } sv.ManufacturerHardwareCertificate = ptr.String(jtv) } + default: _, _ = key, value @@ -2816,6 +2837,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmAccessDeniedException(v **types.Clo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2855,6 +2877,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmInternalFailureException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2894,6 +2917,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmInvalidRequestException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2933,6 +2957,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmResourceNotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2972,6 +2997,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmServiceException(v **types.CloudHsm } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3011,6 +3037,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmTagException(v **types.CloudHsmTagE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3050,14 +3077,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.BackupPolicy = types.BackupPolicy(jtv) } + case "BackupRetentionPolicy": if err := awsAwsjson11_deserializeDocumentBackupRetentionPolicy(&sv.BackupRetentionPolicy, value); err != nil { return err } + case "Certificates": if err := awsAwsjson11_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3066,6 +3096,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterId = ptr.String(jtv) } + case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -3081,10 +3112,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } } + case "Hsms": if err := awsAwsjson11_deserializeDocumentHsms(&sv.Hsms, value); err != nil { return err } + case "HsmType": if value != nil { jtv, ok := value.(string) @@ -3093,6 +3126,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.HsmType = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -3101,6 +3135,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Mode = types.ClusterMode(jtv) } + case "PreCoPassword": if value != nil { jtv, ok := value.(string) @@ -3109,6 +3144,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreCoPassword = ptr.String(jtv) } + case "SecurityGroup": if value != nil { jtv, ok := value.(string) @@ -3117,6 +3153,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SecurityGroup = ptr.String(jtv) } + case "SourceBackupId": if value != nil { jtv, ok := value.(string) @@ -3125,6 +3162,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SourceBackupId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3133,6 +3171,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.State = types.ClusterState(jtv) } + case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -3141,14 +3180,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.StateMessage = ptr.String(jtv) } + case "SubnetMapping": if err := awsAwsjson11_deserializeDocumentExternalSubnetMapping(&sv.SubnetMapping, value); err != nil { return err } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3157,6 +3199,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3237,6 +3280,7 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } } + case "SourceBackup": if value != nil { jtv, ok := value.(string) @@ -3245,6 +3289,7 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceBackup = ptr.String(jtv) } + case "SourceCluster": if value != nil { jtv, ok := value.(string) @@ -3253,6 +3298,7 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceCluster = ptr.String(jtv) } + case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -3261,6 +3307,7 @@ func awsAwsjson11_deserializeDocumentDestinationBackup(v **types.DestinationBack } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -3336,6 +3383,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.AvailabilityZone = ptr.String(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3344,6 +3392,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.ClusterId = ptr.String(jtv) } + case "EniId": if value != nil { jtv, ok := value.(string) @@ -3352,6 +3401,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.EniId = ptr.String(jtv) } + case "EniIp": if value != nil { jtv, ok := value.(string) @@ -3360,6 +3410,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.EniIp = ptr.String(jtv) } + case "HsmId": if value != nil { jtv, ok := value.(string) @@ -3368,6 +3419,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.HsmId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3376,6 +3428,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.State = types.HsmState(jtv) } + case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -3384,6 +3437,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.StateMessage = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -3392,6 +3446,7 @@ func awsAwsjson11_deserializeDocumentHsm(v **types.Hsm, value interface{}) error } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -3465,6 +3520,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3473,6 +3529,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3542,6 +3599,7 @@ func awsAwsjson11_deserializeOpDocumentCopyBackupToRegionOutput(v **CopyBackupTo if err := awsAwsjson11_deserializeDocumentDestinationBackup(&sv.DestinationBackup, value); err != nil { return err } + default: _, _ = key, value @@ -3577,6 +3635,7 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3612,6 +3671,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHsmOutput(v **CreateHsmOutput, valu if err := awsAwsjson11_deserializeDocumentHsm(&sv.Hsm, value); err != nil { return err } + default: _, _ = key, value @@ -3647,6 +3707,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value @@ -3682,6 +3743,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3721,6 +3783,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteHsmOutput(v **DeleteHsmOutput, valu } sv.HsmId = ptr.String(jtv) } + default: _, _ = key, value @@ -3760,6 +3823,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Policy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3768,6 +3832,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3803,6 +3868,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3811,6 +3877,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3846,6 +3913,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusters(&sv.Clusters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3854,6 +3922,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3893,6 +3962,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -3932,6 +4002,7 @@ func awsAwsjson11_deserializeOpDocumentInitializeClusterOutput(v **InitializeClu } sv.State = types.ClusterState(jtv) } + case "StateMessage": if value != nil { jtv, ok := value.(string) @@ -3940,6 +4011,7 @@ func awsAwsjson11_deserializeOpDocumentInitializeClusterOutput(v **InitializeClu } sv.StateMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3979,10 +4051,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -4018,6 +4092,7 @@ func awsAwsjson11_deserializeOpDocumentModifyBackupAttributesOutput(v **ModifyBa if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value @@ -4053,6 +4128,7 @@ func awsAwsjson11_deserializeOpDocumentModifyClusterOutput(v **ModifyClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -4092,6 +4168,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4100,6 +4177,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4135,6 +4213,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreBackupOutput(v **RestoreBackupOutp if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/cloudsearchdomain/deserializers.go b/service/cloudsearchdomain/deserializers.go index 514872512be..74842ef2aed 100644 --- a/service/cloudsearchdomain/deserializers.go +++ b/service/cloudsearchdomain/deserializers.go @@ -172,18 +172,22 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentFacets(&sv.Facets, value); err != nil { return err } + case "hits": if err := awsRestjson1_deserializeDocumentHits(&sv.Hits, value); err != nil { return err } + case "stats": if err := awsRestjson1_deserializeDocumentStats(&sv.Stats, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -335,10 +339,12 @@ func awsRestjson1_deserializeOpDocumentSuggestOutput(v **SuggestOutput, value in if err := awsRestjson1_deserializeDocumentSuggestStatus(&sv.Status, value); err != nil { return err } + case "suggest": if err := awsRestjson1_deserializeDocumentSuggestModel(&sv.Suggest, value); err != nil { return err } + default: _, _ = key, value @@ -498,6 +504,7 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Adds = i64 } + case "deletes": if value != nil { jtv, ok := value.(json.Number) @@ -510,6 +517,7 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Deletes = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -518,10 +526,12 @@ func awsRestjson1_deserializeOpDocumentUploadDocumentsOutput(v **UploadDocuments } sv.Status = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocumentDocumentServiceWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -637,6 +647,7 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Count = i64 } + case "value": if value != nil { jtv, ok := value.(string) @@ -645,6 +656,7 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -680,6 +692,7 @@ func awsRestjson1_deserializeDocumentBucketInfo(v **types.BucketInfo, value inte if err := awsRestjson1_deserializeDocumentBucketList(&sv.Buckets, value); err != nil { return err } + default: _, _ = key, value @@ -753,6 +766,7 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document } sv.Message = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -761,6 +775,7 @@ func awsRestjson1_deserializeDocumentDocumentServiceException(v **types.Document } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -800,6 +815,7 @@ func awsRestjson1_deserializeDocumentDocumentServiceWarning(v **types.DocumentSe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -982,6 +998,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Count = i64 } + case "max": if value != nil { jtv, ok := value.(string) @@ -990,6 +1007,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Max = ptr.String(jtv) } + case "mean": if value != nil { jtv, ok := value.(string) @@ -998,6 +1016,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Mean = ptr.String(jtv) } + case "min": if value != nil { jtv, ok := value.(string) @@ -1006,6 +1025,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Min = ptr.String(jtv) } + case "missing": if value != nil { jtv, ok := value.(json.Number) @@ -1018,6 +1038,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } sv.Missing = i64 } + case "stddev": if value != nil { switch jtv := value.(type) { @@ -1051,6 +1072,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } + case "sum": if value != nil { switch jtv := value.(type) { @@ -1084,6 +1106,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } + case "sumOfSquares": if value != nil { switch jtv := value.(type) { @@ -1117,6 +1140,7 @@ func awsRestjson1_deserializeDocumentFieldStats(v **types.FieldStats, value inte } } + default: _, _ = key, value @@ -1224,14 +1248,17 @@ func awsRestjson1_deserializeDocumentHit(v **types.Hit, value interface{}) error if err := awsRestjson1_deserializeDocumentExprs(&sv.Exprs, value); err != nil { return err } + case "fields": if err := awsRestjson1_deserializeDocumentFields(&sv.Fields, value); err != nil { return err } + case "highlights": if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1240,6 +1267,7 @@ func awsRestjson1_deserializeDocumentHit(v **types.Hit, value interface{}) error } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1313,6 +1341,7 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Cursor = ptr.String(jtv) } + case "found": if value != nil { jtv, ok := value.(json.Number) @@ -1325,10 +1354,12 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Found = i64 } + case "hit": if err := awsRestjson1_deserializeDocumentHitList(&sv.Hit, value); err != nil { return err } + case "start": if value != nil { jtv, ok := value.(json.Number) @@ -1341,6 +1372,7 @@ func awsRestjson1_deserializeDocumentHits(v **types.Hits, value interface{}) err } sv.Start = i64 } + default: _, _ = key, value @@ -1380,6 +1412,7 @@ func awsRestjson1_deserializeDocumentSearchException(v **types.SearchException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1419,6 +1452,7 @@ func awsRestjson1_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.Rid = ptr.String(jtv) } + case "timems": if value != nil { jtv, ok := value.(json.Number) @@ -1431,6 +1465,7 @@ func awsRestjson1_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.Timems = i64 } + default: _, _ = key, value @@ -1505,6 +1540,7 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Id = ptr.String(jtv) } + case "score": if value != nil { jtv, ok := value.(json.Number) @@ -1517,6 +1553,7 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Score = i64 } + case "suggestion": if value != nil { jtv, ok := value.(string) @@ -1525,6 +1562,7 @@ func awsRestjson1_deserializeDocumentSuggestionMatch(v **types.SuggestionMatch, } sv.Suggestion = ptr.String(jtv) } + default: _, _ = key, value @@ -1602,6 +1640,7 @@ func awsRestjson1_deserializeDocumentSuggestModel(v **types.SuggestModel, value } sv.Found = i64 } + case "query": if value != nil { jtv, ok := value.(string) @@ -1610,10 +1649,12 @@ func awsRestjson1_deserializeDocumentSuggestModel(v **types.SuggestModel, value } sv.Query = ptr.String(jtv) } + case "suggestions": if err := awsRestjson1_deserializeDocumentSuggestions(&sv.Suggestions, value); err != nil { return err } + default: _, _ = key, value @@ -1653,6 +1694,7 @@ func awsRestjson1_deserializeDocumentSuggestStatus(v **types.SuggestStatus, valu } sv.Rid = ptr.String(jtv) } + case "timems": if value != nil { jtv, ok := value.(json.Number) @@ -1665,6 +1707,7 @@ func awsRestjson1_deserializeDocumentSuggestStatus(v **types.SuggestStatus, valu } sv.Timems = i64 } + default: _, _ = key, value diff --git a/service/cloudtrail/deserializers.go b/service/cloudtrail/deserializers.go index 918aed6a6d6..482353b3e5f 100644 --- a/service/cloudtrail/deserializers.go +++ b/service/cloudtrail/deserializers.go @@ -9755,6 +9755,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9794,6 +9795,7 @@ func awsAwsjson11_deserializeDocumentAccountHasOngoingImportException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9833,6 +9835,7 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9872,6 +9875,7 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9911,6 +9915,7 @@ func awsAwsjson11_deserializeDocumentAccountRegisteredException(v **types.Accoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9946,6 +9951,7 @@ func awsAwsjson11_deserializeDocumentAdvancedEventSelector(v **types.AdvancedEve if err := awsAwsjson11_deserializeDocumentAdvancedFieldSelectors(&sv.FieldSelectors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9954,6 +9960,7 @@ func awsAwsjson11_deserializeDocumentAdvancedEventSelector(v **types.AdvancedEve } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10023,10 +10030,12 @@ func awsAwsjson11_deserializeDocumentAdvancedFieldSelector(v **types.AdvancedFie if err := awsAwsjson11_deserializeDocumentOperator(&sv.EndsWith, value); err != nil { return err } + case "Equals": if err := awsAwsjson11_deserializeDocumentOperator(&sv.Equals, value); err != nil { return err } + case "Field": if value != nil { jtv, ok := value.(string) @@ -10035,22 +10044,27 @@ func awsAwsjson11_deserializeDocumentAdvancedFieldSelector(v **types.AdvancedFie } sv.Field = ptr.String(jtv) } + case "NotEndsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotEndsWith, value); err != nil { return err } + case "NotEquals": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotEquals, value); err != nil { return err } + case "NotStartsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.NotStartsWith, value); err != nil { return err } + case "StartsWith": if err := awsAwsjson11_deserializeDocumentOperator(&sv.StartsWith, value); err != nil { return err } + default: _, _ = key, value @@ -10124,6 +10138,7 @@ func awsAwsjson11_deserializeDocumentCannotDelegateManagementAccountException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10163,6 +10178,7 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10171,6 +10187,7 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10210,6 +10227,7 @@ func awsAwsjson11_deserializeDocumentChannelAlreadyExistsException(v **types.Cha } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10249,6 +10267,7 @@ func awsAwsjson11_deserializeDocumentChannelARNInvalidException(v **types.Channe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10288,6 +10307,7 @@ func awsAwsjson11_deserializeDocumentChannelExistsForEDSException(v **types.Chan } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10327,6 +10347,7 @@ func awsAwsjson11_deserializeDocumentChannelMaxLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10366,6 +10387,7 @@ func awsAwsjson11_deserializeDocumentChannelNotFoundException(v **types.ChannelN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10439,6 +10461,7 @@ func awsAwsjson11_deserializeDocumentCloudTrailAccessNotEnabledException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10478,6 +10501,7 @@ func awsAwsjson11_deserializeDocumentCloudTrailARNInvalidException(v **types.Clo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10517,6 +10541,7 @@ func awsAwsjson11_deserializeDocumentCloudTrailInvalidClientTokenIdException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10556,6 +10581,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsDeliveryUnavailableException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10595,6 +10621,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10634,6 +10661,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10673,10 +10701,12 @@ func awsAwsjson11_deserializeDocumentDataResource(v **types.DataResource, value } sv.Type = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentDataResourceValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -10786,6 +10816,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdminAccountLimitExceededException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10825,6 +10856,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Location = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10833,6 +10865,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Type = types.DestinationType(jtv) } + default: _, _ = key, value @@ -10906,6 +10939,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.AccessKeyId = ptr.String(jtv) } + case "CloudTrailEvent": if value != nil { jtv, ok := value.(string) @@ -10914,6 +10948,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.CloudTrailEvent = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -10922,6 +10957,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } + case "EventName": if value != nil { jtv, ok := value.(string) @@ -10930,6 +10966,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventName = ptr.String(jtv) } + case "EventSource": if value != nil { jtv, ok := value.(string) @@ -10938,6 +10975,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventSource = ptr.String(jtv) } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -10953,6 +10991,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "ReadOnly": if value != nil { jtv, ok := value.(string) @@ -10961,10 +11000,12 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ReadOnly = ptr.String(jtv) } + case "Resources": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -10973,6 +11014,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -11008,6 +11050,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11023,6 +11066,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } } + case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -11031,6 +11075,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.EventDataStoreArn = ptr.String(jtv) } + case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11039,6 +11084,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.MultiRegionEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11047,6 +11093,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.Name = ptr.String(jtv) } + case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -11055,6 +11102,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.OrganizationEnabled = ptr.Bool(jtv) } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -11067,6 +11115,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11075,6 +11124,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.Status = types.EventDataStoreStatus(jtv) } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11083,6 +11133,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11098,6 +11149,7 @@ func awsAwsjson11_deserializeDocumentEventDataStore(v **types.EventDataStore, va } } + default: _, _ = key, value @@ -11137,6 +11189,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreAlreadyExistsException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11176,6 +11229,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreARNInvalidException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11215,6 +11269,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreFederationEnabledException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11254,6 +11309,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreHasOngoingImportException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11293,6 +11349,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreMaxLimitExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11332,6 +11389,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreNotFoundException(v **types.E } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11405,6 +11463,7 @@ func awsAwsjson11_deserializeDocumentEventDataStoreTerminationProtectedException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11440,10 +11499,12 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu if err := awsAwsjson11_deserializeDocumentDataResources(&sv.DataResources, value); err != nil { return err } + case "ExcludeManagementEventSources": if err := awsAwsjson11_deserializeDocumentExcludeManagementEventSources(&sv.ExcludeManagementEventSources, value); err != nil { return err } + case "IncludeManagementEvents": if value != nil { jtv, ok := value.(bool) @@ -11452,6 +11513,7 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu } sv.IncludeManagementEvents = ptr.Bool(jtv) } + case "ReadWriteType": if value != nil { jtv, ok := value.(string) @@ -11460,6 +11522,7 @@ func awsAwsjson11_deserializeDocumentEventSelector(v **types.EventSelector, valu } sv.ReadWriteType = types.ReadWriteType(jtv) } + default: _, _ = key, value @@ -11673,6 +11736,7 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -11681,6 +11745,7 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.ErrorType = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11696,6 +11761,7 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } } + case "Location": if value != nil { jtv, ok := value.(string) @@ -11704,6 +11770,7 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.Location = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11712,6 +11779,7 @@ func awsAwsjson11_deserializeDocumentImportFailureListItem(v **types.ImportFailu } sv.Status = types.ImportFailureStatus(jtv) } + default: _, _ = key, value @@ -11751,6 +11819,7 @@ func awsAwsjson11_deserializeDocumentImportNotFoundException(v **types.ImportNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11831,10 +11900,12 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } } + case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } + case "ImportId": if value != nil { jtv, ok := value.(string) @@ -11843,6 +11914,7 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } sv.ImportId = ptr.String(jtv) } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -11851,6 +11923,7 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } sv.ImportStatus = types.ImportStatus(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11866,6 +11939,7 @@ func awsAwsjson11_deserializeDocumentImportsListItem(v **types.ImportsListItem, } } + default: _, _ = key, value @@ -11901,6 +11975,7 @@ func awsAwsjson11_deserializeDocumentImportSource(v **types.ImportSource, value if err := awsAwsjson11_deserializeDocumentS3ImportSource(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -11944,6 +12019,7 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.EventsCompleted = ptr.Int64(i64) } + case "FailedEntries": if value != nil { jtv, ok := value.(json.Number) @@ -11956,6 +12032,7 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.FailedEntries = ptr.Int64(i64) } + case "FilesCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -11968,6 +12045,7 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.FilesCompleted = ptr.Int64(i64) } + case "PrefixesCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -11980,6 +12058,7 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.PrefixesCompleted = ptr.Int64(i64) } + case "PrefixesFound": if value != nil { jtv, ok := value.(json.Number) @@ -11992,6 +12071,7 @@ func awsAwsjson11_deserializeDocumentImportStatistics(v **types.ImportStatistics } sv.PrefixesFound = ptr.Int64(i64) } + default: _, _ = key, value @@ -12031,6 +12111,7 @@ func awsAwsjson11_deserializeDocumentInactiveEventDataStoreException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12070,6 +12151,7 @@ func awsAwsjson11_deserializeDocumentInactiveQueryException(v **types.InactiveQu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12109,6 +12191,7 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionAttemptEventID = ptr.String(jtv) } + case "LatestIngestionAttemptTime": if value != nil { switch jtv := value.(type) { @@ -12124,6 +12207,7 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } } + case "LatestIngestionErrorCode": if value != nil { jtv, ok := value.(string) @@ -12132,6 +12216,7 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionErrorCode = ptr.String(jtv) } + case "LatestIngestionSuccessEventID": if value != nil { jtv, ok := value.(string) @@ -12140,6 +12225,7 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } sv.LatestIngestionSuccessEventID = ptr.String(jtv) } + case "LatestIngestionSuccessTime": if value != nil { switch jtv := value.(type) { @@ -12155,6 +12241,7 @@ func awsAwsjson11_deserializeDocumentIngestionStatus(v **types.IngestionStatus, } } + default: _, _ = key, value @@ -12194,6 +12281,7 @@ func awsAwsjson11_deserializeDocumentInsightNotEnabledException(v **types.Insigh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12233,6 +12321,7 @@ func awsAwsjson11_deserializeDocumentInsightSelector(v **types.InsightSelector, } sv.InsightType = types.InsightType(jtv) } + default: _, _ = key, value @@ -12367,6 +12456,7 @@ func awsAwsjson11_deserializeDocumentInsufficientDependencyServiceAccessPermissi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12406,6 +12496,7 @@ func awsAwsjson11_deserializeDocumentInsufficientEncryptionPolicyException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12445,6 +12536,7 @@ func awsAwsjson11_deserializeDocumentInsufficientS3BucketPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12484,6 +12576,7 @@ func awsAwsjson11_deserializeDocumentInsufficientSnsTopicPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12523,6 +12616,7 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsLogGroupArnException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12562,6 +12656,7 @@ func awsAwsjson11_deserializeDocumentInvalidCloudWatchLogsRoleArnException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12601,6 +12696,7 @@ func awsAwsjson11_deserializeDocumentInvalidDateRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12640,6 +12736,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventCategoryException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12679,6 +12776,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreCategoryException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12718,6 +12816,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventDataStoreStatusException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12757,6 +12856,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventSelectorsException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12796,6 +12896,7 @@ func awsAwsjson11_deserializeDocumentInvalidHomeRegionException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12835,6 +12936,7 @@ func awsAwsjson11_deserializeDocumentInvalidImportSourceException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12874,6 +12976,7 @@ func awsAwsjson11_deserializeDocumentInvalidInsightSelectorsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12913,6 +13016,7 @@ func awsAwsjson11_deserializeDocumentInvalidKmsKeyIdException(v **types.InvalidK } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12952,6 +13056,7 @@ func awsAwsjson11_deserializeDocumentInvalidLookupAttributesException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12991,6 +13096,7 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13030,6 +13136,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13069,6 +13176,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13108,6 +13216,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13147,6 +13256,7 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatementException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13186,6 +13296,7 @@ func awsAwsjson11_deserializeDocumentInvalidQueryStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13225,6 +13336,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3BucketNameException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13264,6 +13376,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3PrefixException(v **types.InvalidS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13303,6 +13416,7 @@ func awsAwsjson11_deserializeDocumentInvalidSnsTopicNameException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13342,6 +13456,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13381,6 +13496,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13420,6 +13536,7 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13459,6 +13576,7 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13498,6 +13616,7 @@ func awsAwsjson11_deserializeDocumentInvalidTrailNameException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13537,6 +13656,7 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13576,6 +13696,7 @@ func awsAwsjson11_deserializeDocumentKmsKeyDisabledException(v **types.KmsKeyDis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13615,6 +13736,7 @@ func awsAwsjson11_deserializeDocumentKmsKeyNotFoundException(v **types.KmsKeyNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13654,6 +13776,7 @@ func awsAwsjson11_deserializeDocumentMaxConcurrentQueriesException(v **types.Max } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13693,6 +13816,7 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfTrailsExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13732,6 +13856,7 @@ func awsAwsjson11_deserializeDocumentNoManagementAccountSLRExistsException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13771,6 +13896,7 @@ func awsAwsjson11_deserializeDocumentNotOrganizationManagementAccountException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13810,6 +13936,7 @@ func awsAwsjson11_deserializeDocumentNotOrganizationMasterAccountException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13849,6 +13976,7 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13924,6 +14052,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13963,6 +14092,7 @@ func awsAwsjson11_deserializeDocumentOrganizationsNotInUseException(v **types.Or } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14002,6 +14132,7 @@ func awsAwsjson11_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14010,6 +14141,7 @@ func awsAwsjson11_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14083,6 +14215,7 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Fingerprint = ptr.String(jtv) } + case "ValidityEndTime": if value != nil { switch jtv := value.(type) { @@ -14098,6 +14231,7 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } } + case "ValidityStartTime": if value != nil { switch jtv := value.(type) { @@ -14113,6 +14247,7 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14125,6 +14260,7 @@ func awsAwsjson11_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Value = dv } + default: _, _ = key, value @@ -14239,6 +14375,7 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -14247,6 +14384,7 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.QueryId = ptr.String(jtv) } + case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -14255,6 +14393,7 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.QueryStatus = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -14294,6 +14433,7 @@ func awsAwsjson11_deserializeDocumentQueryIdNotFoundException(v **types.QueryIdN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14437,6 +14577,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.BytesScanned = ptr.Int64(i64) } + case "ResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14449,6 +14590,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.ResultsCount = ptr.Int32(int32(i64)) } + case "TotalResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -14461,6 +14603,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } sv.TotalResultsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14504,6 +14647,7 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.BytesScanned = ptr.Int64(i64) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14519,6 +14663,7 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } } + case "EventsMatched": if value != nil { jtv, ok := value.(json.Number) @@ -14531,6 +14676,7 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.EventsMatched = ptr.Int64(i64) } + case "EventsScanned": if value != nil { jtv, ok := value.(json.Number) @@ -14543,6 +14689,7 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.EventsScanned = ptr.Int64(i64) } + case "ExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -14555,6 +14702,7 @@ func awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(v **types.Q } sv.ExecutionTimeInMillis = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14594,6 +14742,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14602,6 +14751,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14641,6 +14791,7 @@ func awsAwsjson11_deserializeDocumentResourceARNNotValidException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14714,6 +14865,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14753,6 +14905,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14792,6 +14945,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotValidException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14831,10 +14985,12 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceId = ptr.String(jtv) } + case "TagsList": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.TagsList, value); err != nil { return err } + default: _, _ = key, value @@ -14908,6 +15064,7 @@ func awsAwsjson11_deserializeDocumentResourceTypeNotSupportedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14947,6 +15104,7 @@ func awsAwsjson11_deserializeDocumentS3BucketDoesNotExistException(v **types.S3B } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14986,6 +15144,7 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3BucketAccessRoleArn = ptr.String(jtv) } + case "S3BucketRegion": if value != nil { jtv, ok := value.(string) @@ -14994,6 +15153,7 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3BucketRegion = ptr.String(jtv) } + case "S3LocationUri": if value != nil { jtv, ok := value.(string) @@ -15002,6 +15162,7 @@ func awsAwsjson11_deserializeDocumentS3ImportSource(v **types.S3ImportSource, va } sv.S3LocationUri = ptr.String(jtv) } + default: _, _ = key, value @@ -15037,6 +15198,7 @@ func awsAwsjson11_deserializeDocumentSourceConfig(v **types.SourceConfig, value if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "ApplyToAllRegions": if value != nil { jtv, ok := value.(bool) @@ -15045,6 +15207,7 @@ func awsAwsjson11_deserializeDocumentSourceConfig(v **types.SourceConfig, value } sv.ApplyToAllRegions = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15084,6 +15247,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15092,6 +15256,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15131,6 +15296,7 @@ func awsAwsjson11_deserializeDocumentTagsLimitExceededException(v **types.TagsLi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15204,6 +15370,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15286,6 +15453,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -15294,6 +15462,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "HasCustomEventSelectors": if value != nil { jtv, ok := value.(bool) @@ -15302,6 +15471,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HasCustomEventSelectors = ptr.Bool(jtv) } + case "HasInsightSelectors": if value != nil { jtv, ok := value.(bool) @@ -15310,6 +15480,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HasInsightSelectors = ptr.Bool(jtv) } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -15318,6 +15489,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.HomeRegion = ptr.String(jtv) } + case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -15326,6 +15498,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } + case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -15334,6 +15507,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IsMultiRegionTrail = ptr.Bool(jtv) } + case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -15342,6 +15516,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.IsOrganizationTrail = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15350,6 +15525,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.KmsKeyId = ptr.String(jtv) } + case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -15358,6 +15534,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.LogFileValidationEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15366,6 +15543,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.Name = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -15374,6 +15552,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -15382,6 +15561,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.S3KeyPrefix = ptr.String(jtv) } + case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -15390,6 +15570,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.SnsTopicARN = ptr.String(jtv) } + case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -15398,6 +15579,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.SnsTopicName = ptr.String(jtv) } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -15406,6 +15588,7 @@ func awsAwsjson11_deserializeDocumentTrail(v **types.Trail, value interface{}) e } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15445,6 +15628,7 @@ func awsAwsjson11_deserializeDocumentTrailAlreadyExistsException(v **types.Trail } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15484,6 +15668,7 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.HomeRegion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15492,6 +15677,7 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.Name = ptr.String(jtv) } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -15500,6 +15686,7 @@ func awsAwsjson11_deserializeDocumentTrailInfo(v **types.TrailInfo, value interf } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15573,6 +15760,7 @@ func awsAwsjson11_deserializeDocumentTrailNotFoundException(v **types.TrailNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15612,6 +15800,7 @@ func awsAwsjson11_deserializeDocumentTrailNotProvidedException(v **types.TrailNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15685,6 +15874,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15755,6 +15945,7 @@ func awsAwsjson11_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.QueryId = ptr.String(jtv) } + case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -15763,6 +15954,7 @@ func awsAwsjson11_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.QueryStatus = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -15802,10 +15994,12 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15814,6 +16008,7 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Name = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -15822,10 +16017,12 @@ func awsAwsjson11_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Source = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15861,6 +16058,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -15869,6 +16067,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.BillingMode = types.BillingMode(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15884,6 +16083,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } } + case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -15892,6 +16092,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.EventDataStoreArn = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15900,6 +16101,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.KmsKeyId = ptr.String(jtv) } + case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15908,6 +16110,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.MultiRegionEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15916,6 +16119,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.Name = ptr.String(jtv) } + case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -15924,6 +16128,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.OrganizationEnabled = ptr.Bool(jtv) } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -15936,6 +16141,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15944,10 +16150,12 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.Status = types.EventDataStoreStatus(jtv) } + case "TagsList": if err := awsAwsjson11_deserializeDocumentTagsList(&sv.TagsList, value); err != nil { return err } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15956,6 +16164,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15971,6 +16180,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventDataStoreOutput(v **CreateEven } } + default: _, _ = key, value @@ -16010,6 +16220,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -16018,6 +16229,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -16026,6 +16238,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } + case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -16034,6 +16247,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IsMultiRegionTrail = ptr.Bool(jtv) } + case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -16042,6 +16256,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.IsOrganizationTrail = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16050,6 +16265,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.KmsKeyId = ptr.String(jtv) } + case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -16058,6 +16274,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.LogFileValidationEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16066,6 +16283,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.Name = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -16074,6 +16292,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -16082,6 +16301,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.S3KeyPrefix = ptr.String(jtv) } + case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -16090,6 +16310,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.SnsTopicARN = ptr.String(jtv) } + case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -16098,6 +16319,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.SnsTopicName = ptr.String(jtv) } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -16106,6 +16328,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrailOutput(v **CreateTrailOutput, } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16300,6 +16523,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.DeliveryS3Uri = ptr.String(jtv) } + case "DeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -16308,6 +16532,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.DeliveryStatus = types.DeliveryStatus(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16316,6 +16541,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.ErrorMessage = ptr.String(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -16324,10 +16550,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryId = ptr.String(jtv) } + case "QueryStatistics": if err := awsAwsjson11_deserializeDocumentQueryStatisticsForDescribeQuery(&sv.QueryStatistics, value); err != nil { return err } + case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -16336,6 +16564,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryStatus = types.QueryStatus(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -16344,6 +16573,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryOutput(v **DescribeQueryOutp } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -16379,6 +16609,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrailsOutput(v **DescribeTrailsOu if err := awsAwsjson11_deserializeDocumentTrailList(&sv.TrailList, value); err != nil { return err } + default: _, _ = key, value @@ -16418,6 +16649,7 @@ func awsAwsjson11_deserializeOpDocumentDisableFederationOutput(v **DisableFedera } sv.EventDataStoreArn = ptr.String(jtv) } + case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -16426,6 +16658,7 @@ func awsAwsjson11_deserializeOpDocumentDisableFederationOutput(v **DisableFedera } sv.FederationStatus = types.FederationStatus(jtv) } + default: _, _ = key, value @@ -16465,6 +16698,7 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.EventDataStoreArn = ptr.String(jtv) } + case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -16473,6 +16707,7 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.FederationRoleArn = ptr.String(jtv) } + case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -16481,6 +16716,7 @@ func awsAwsjson11_deserializeOpDocumentEnableFederationOutput(v **EnableFederati } sv.FederationStatus = types.FederationStatus(jtv) } + default: _, _ = key, value @@ -16520,14 +16756,17 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelArn = ptr.String(jtv) } + case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "IngestionStatus": if err := awsAwsjson11_deserializeDocumentIngestionStatus(&sv.IngestionStatus, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16536,6 +16775,7 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Name = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -16544,10 +16784,12 @@ func awsAwsjson11_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Source = ptr.String(jtv) } + case "SourceConfig": if err := awsAwsjson11_deserializeDocumentSourceConfig(&sv.SourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16583,6 +16825,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -16591,6 +16834,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.BillingMode = types.BillingMode(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16606,6 +16850,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } } + case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -16614,6 +16859,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.EventDataStoreArn = ptr.String(jtv) } + case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -16622,6 +16868,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.FederationRoleArn = ptr.String(jtv) } + case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -16630,6 +16877,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.FederationStatus = types.FederationStatus(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16638,6 +16886,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.KmsKeyId = ptr.String(jtv) } + case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16646,6 +16895,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.MultiRegionEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16654,6 +16904,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.Name = ptr.String(jtv) } + case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -16662,10 +16913,12 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.OrganizationEnabled = ptr.Bool(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentPartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -16678,6 +16931,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16686,6 +16940,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.Status = types.EventDataStoreStatus(jtv) } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16694,6 +16949,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16709,6 +16965,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventDataStoreOutput(v **GetEventDataS } } + default: _, _ = key, value @@ -16744,10 +17001,12 @@ func awsAwsjson11_deserializeOpDocumentGetEventSelectorsOutput(v **GetEventSelec if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "EventSelectors": if err := awsAwsjson11_deserializeDocumentEventSelectors(&sv.EventSelectors, value); err != nil { return err } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -16756,6 +17015,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventSelectorsOutput(v **GetEventSelec } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16802,10 +17062,12 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } + case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } + case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -16821,6 +17083,7 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } + case "ImportId": if value != nil { jtv, ok := value.(string) @@ -16829,14 +17092,17 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportId = ptr.String(jtv) } + case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } + case "ImportStatistics": if err := awsAwsjson11_deserializeDocumentImportStatistics(&sv.ImportStatistics, value); err != nil { return err } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -16845,6 +17111,7 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportStatus = types.ImportStatus(jtv) } + case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -16860,6 +17127,7 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16875,6 +17143,7 @@ func awsAwsjson11_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } + default: _, _ = key, value @@ -16914,6 +17183,7 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.EventDataStoreArn = ptr.String(jtv) } + case "InsightsDestination": if value != nil { jtv, ok := value.(string) @@ -16922,10 +17192,12 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.InsightsDestination = ptr.String(jtv) } + case "InsightSelectors": if err := awsAwsjson11_deserializeDocumentInsightSelectors(&sv.InsightSelectors, value); err != nil { return err } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -16934,6 +17206,7 @@ func awsAwsjson11_deserializeOpDocumentGetInsightSelectorsOutput(v **GetInsightS } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16973,6 +17246,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.ErrorMessage = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16981,14 +17255,17 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } + case "QueryResultRows": if err := awsAwsjson11_deserializeDocumentQueryResultRows(&sv.QueryResultRows, value); err != nil { return err } + case "QueryStatistics": if err := awsAwsjson11_deserializeDocumentQueryStatistics(&sv.QueryStatistics, value); err != nil { return err } + case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -16997,6 +17274,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.QueryStatus = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -17036,6 +17314,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourceArn = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -17044,6 +17323,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -17079,6 +17359,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailOutput(v **GetTrailOutput, value if err := awsAwsjson11_deserializeDocumentTrail(&sv.Trail, value); err != nil { return err } + default: _, _ = key, value @@ -17118,6 +17399,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.IsLogging = ptr.Bool(jtv) } + case "LatestCloudWatchLogsDeliveryError": if value != nil { jtv, ok := value.(string) @@ -17126,6 +17408,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestCloudWatchLogsDeliveryError = ptr.String(jtv) } + case "LatestCloudWatchLogsDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -17141,6 +17424,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "LatestDeliveryAttemptSucceeded": if value != nil { jtv, ok := value.(string) @@ -17149,6 +17433,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryAttemptSucceeded = ptr.String(jtv) } + case "LatestDeliveryAttemptTime": if value != nil { jtv, ok := value.(string) @@ -17157,6 +17442,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryAttemptTime = ptr.String(jtv) } + case "LatestDeliveryError": if value != nil { jtv, ok := value.(string) @@ -17165,6 +17451,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDeliveryError = ptr.String(jtv) } + case "LatestDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -17180,6 +17467,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "LatestDigestDeliveryError": if value != nil { jtv, ok := value.(string) @@ -17188,6 +17476,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestDigestDeliveryError = ptr.String(jtv) } + case "LatestDigestDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -17203,6 +17492,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "LatestNotificationAttemptSucceeded": if value != nil { jtv, ok := value.(string) @@ -17211,6 +17501,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationAttemptSucceeded = ptr.String(jtv) } + case "LatestNotificationAttemptTime": if value != nil { jtv, ok := value.(string) @@ -17219,6 +17510,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationAttemptTime = ptr.String(jtv) } + case "LatestNotificationError": if value != nil { jtv, ok := value.(string) @@ -17227,6 +17519,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.LatestNotificationError = ptr.String(jtv) } + case "LatestNotificationTime": if value != nil { switch jtv := value.(type) { @@ -17242,6 +17535,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "StartLoggingTime": if value != nil { switch jtv := value.(type) { @@ -17257,6 +17551,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "StopLoggingTime": if value != nil { switch jtv := value.(type) { @@ -17272,6 +17567,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } } + case "TimeLoggingStarted": if value != nil { jtv, ok := value.(string) @@ -17280,6 +17576,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.TimeLoggingStarted = ptr.String(jtv) } + case "TimeLoggingStopped": if value != nil { jtv, ok := value.(string) @@ -17288,6 +17585,7 @@ func awsAwsjson11_deserializeOpDocumentGetTrailStatusOutput(v **GetTrailStatusOu } sv.TimeLoggingStopped = ptr.String(jtv) } + default: _, _ = key, value @@ -17323,6 +17621,7 @@ func awsAwsjson11_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsAwsjson11_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17331,6 +17630,7 @@ func awsAwsjson11_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17366,6 +17666,7 @@ func awsAwsjson11_deserializeOpDocumentListEventDataStoresOutput(v **ListEventDa if err := awsAwsjson11_deserializeDocumentEventDataStores(&sv.EventDataStores, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17374,6 +17675,7 @@ func awsAwsjson11_deserializeOpDocumentListEventDataStoresOutput(v **ListEventDa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17409,6 +17711,7 @@ func awsAwsjson11_deserializeOpDocumentListImportFailuresOutput(v **ListImportFa if err := awsAwsjson11_deserializeDocumentImportFailureList(&sv.Failures, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17417,6 +17720,7 @@ func awsAwsjson11_deserializeOpDocumentListImportFailuresOutput(v **ListImportFa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17452,6 +17756,7 @@ func awsAwsjson11_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsAwsjson11_deserializeDocumentImportsList(&sv.Imports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17460,6 +17765,7 @@ func awsAwsjson11_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17499,6 +17805,7 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.ErrorCode = ptr.String(jtv) } + case "EventName": if value != nil { jtv, ok := value.(string) @@ -17507,6 +17814,7 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.EventName = ptr.String(jtv) } + case "EventSource": if value != nil { jtv, ok := value.(string) @@ -17515,6 +17823,7 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.EventSource = ptr.String(jtv) } + case "InsightType": if value != nil { jtv, ok := value.(string) @@ -17523,6 +17832,7 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.InsightType = types.InsightType(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17531,14 +17841,17 @@ func awsAwsjson11_deserializeOpDocumentListInsightsMetricDataOutput(v **ListInsi } sv.NextToken = ptr.String(jtv) } + case "Timestamps": if err := awsAwsjson11_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentInsightsMetricValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -17578,10 +17891,12 @@ func awsAwsjson11_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOu } sv.NextToken = ptr.String(jtv) } + case "PublicKeyList": if err := awsAwsjson11_deserializeDocumentPublicKeyList(&sv.PublicKeyList, value); err != nil { return err } + default: _, _ = key, value @@ -17621,10 +17936,12 @@ func awsAwsjson11_deserializeOpDocumentListQueriesOutput(v **ListQueriesOutput, } sv.NextToken = ptr.String(jtv) } + case "Queries": if err := awsAwsjson11_deserializeDocumentQueries(&sv.Queries, value); err != nil { return err } + default: _, _ = key, value @@ -17664,10 +17981,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "ResourceTagList": if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTagList, value); err != nil { return err } + default: _, _ = key, value @@ -17707,10 +18026,12 @@ func awsAwsjson11_deserializeOpDocumentListTrailsOutput(v **ListTrailsOutput, va } sv.NextToken = ptr.String(jtv) } + case "Trails": if err := awsAwsjson11_deserializeDocumentTrails(&sv.Trails, value); err != nil { return err } + default: _, _ = key, value @@ -17746,6 +18067,7 @@ func awsAwsjson11_deserializeOpDocumentLookupEventsOutput(v **LookupEventsOutput if err := awsAwsjson11_deserializeDocumentEventsList(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17754,6 +18076,7 @@ func awsAwsjson11_deserializeOpDocumentLookupEventsOutput(v **LookupEventsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17789,10 +18112,12 @@ func awsAwsjson11_deserializeOpDocumentPutEventSelectorsOutput(v **PutEventSelec if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "EventSelectors": if err := awsAwsjson11_deserializeDocumentEventSelectors(&sv.EventSelectors, value); err != nil { return err } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -17801,6 +18126,7 @@ func awsAwsjson11_deserializeOpDocumentPutEventSelectorsOutput(v **PutEventSelec } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17840,6 +18166,7 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.EventDataStoreArn = ptr.String(jtv) } + case "InsightsDestination": if value != nil { jtv, ok := value.(string) @@ -17848,10 +18175,12 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.InsightsDestination = ptr.String(jtv) } + case "InsightSelectors": if err := awsAwsjson11_deserializeDocumentInsightSelectors(&sv.InsightSelectors, value); err != nil { return err } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -17860,6 +18189,7 @@ func awsAwsjson11_deserializeOpDocumentPutInsightSelectorsOutput(v **PutInsightS } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17899,6 +18229,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -17907,6 +18238,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -18004,6 +18336,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -18012,6 +18345,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.BillingMode = types.BillingMode(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18027,6 +18361,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } } + case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -18035,6 +18370,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.EventDataStoreArn = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -18043,6 +18379,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.KmsKeyId = ptr.String(jtv) } + case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -18051,6 +18388,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.MultiRegionEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18059,6 +18397,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.Name = ptr.String(jtv) } + case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -18067,6 +18406,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.OrganizationEnabled = ptr.Bool(jtv) } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -18079,6 +18419,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18087,6 +18428,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.Status = types.EventDataStoreStatus(jtv) } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -18095,6 +18437,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18110,6 +18453,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreEventDataStoreOutput(v **RestoreEv } } + default: _, _ = key, value @@ -18187,10 +18531,12 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } + case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -18206,6 +18552,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + case "ImportId": if value != nil { jtv, ok := value.(string) @@ -18214,10 +18561,12 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } + case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -18226,6 +18575,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } + case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -18241,6 +18591,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18256,6 +18607,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + default: _, _ = key, value @@ -18326,6 +18678,7 @@ func awsAwsjson11_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -18403,10 +18756,12 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } + case "Destinations": if err := awsAwsjson11_deserializeDocumentImportDestinations(&sv.Destinations, value); err != nil { return err } + case "EndEventTime": if value != nil { switch jtv := value.(type) { @@ -18422,6 +18777,7 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } + case "ImportId": if value != nil { jtv, ok := value.(string) @@ -18430,14 +18786,17 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } sv.ImportId = ptr.String(jtv) } + case "ImportSource": if err := awsAwsjson11_deserializeDocumentImportSource(&sv.ImportSource, value); err != nil { return err } + case "ImportStatistics": if err := awsAwsjson11_deserializeDocumentImportStatistics(&sv.ImportStatistics, value); err != nil { return err } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -18446,6 +18805,7 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } sv.ImportStatus = types.ImportStatus(jtv) } + case "StartEventTime": if value != nil { switch jtv := value.(type) { @@ -18461,6 +18821,7 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18476,6 +18837,7 @@ func awsAwsjson11_deserializeOpDocumentStopImportOutput(v **StopImportOutput, va } } + default: _, _ = key, value @@ -18546,10 +18908,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18558,6 +18922,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Name = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -18566,6 +18931,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -18601,6 +18967,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven if err := awsAwsjson11_deserializeDocumentAdvancedEventSelectors(&sv.AdvancedEventSelectors, value); err != nil { return err } + case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -18609,6 +18976,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.BillingMode = types.BillingMode(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18624,6 +18992,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } } + case "EventDataStoreArn": if value != nil { jtv, ok := value.(string) @@ -18632,6 +19001,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.EventDataStoreArn = ptr.String(jtv) } + case "FederationRoleArn": if value != nil { jtv, ok := value.(string) @@ -18640,6 +19010,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.FederationRoleArn = ptr.String(jtv) } + case "FederationStatus": if value != nil { jtv, ok := value.(string) @@ -18648,6 +19019,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.FederationStatus = types.FederationStatus(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -18656,6 +19028,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.KmsKeyId = ptr.String(jtv) } + case "MultiRegionEnabled": if value != nil { jtv, ok := value.(bool) @@ -18664,6 +19037,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.MultiRegionEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18672,6 +19046,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.Name = ptr.String(jtv) } + case "OrganizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -18680,6 +19055,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.OrganizationEnabled = ptr.Bool(jtv) } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -18692,6 +19068,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18700,6 +19077,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.Status = types.EventDataStoreStatus(jtv) } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -18708,6 +19086,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } sv.TerminationProtectionEnabled = ptr.Bool(jtv) } + case "UpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18723,6 +19102,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventDataStoreOutput(v **UpdateEven } } + default: _, _ = key, value @@ -18762,6 +19142,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -18770,6 +19151,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -18778,6 +19160,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } + case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -18786,6 +19169,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IsMultiRegionTrail = ptr.Bool(jtv) } + case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -18794,6 +19178,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.IsOrganizationTrail = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -18802,6 +19187,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.KmsKeyId = ptr.String(jtv) } + case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -18810,6 +19196,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.LogFileValidationEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18818,6 +19205,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.Name = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -18826,6 +19214,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -18834,6 +19223,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.S3KeyPrefix = ptr.String(jtv) } + case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -18842,6 +19232,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.SnsTopicARN = ptr.String(jtv) } + case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -18850,6 +19241,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.SnsTopicName = ptr.String(jtv) } + case "TrailARN": if value != nil { jtv, ok := value.(string) @@ -18858,6 +19250,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrailOutput(v **UpdateTrailOutput, } sv.TrailARN = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloudtraildata/deserializers.go b/service/cloudtraildata/deserializers.go index 044ac3afc2e..c215f2d5682 100644 --- a/service/cloudtraildata/deserializers.go +++ b/service/cloudtraildata/deserializers.go @@ -186,10 +186,12 @@ func awsRestjson1_deserializeOpDocumentPutAuditEventsOutput(v **PutAuditEventsOu if err := awsRestjson1_deserializeDocumentResultErrorEntries(&sv.Failed, value); err != nil { return err } + case "successful": if err := awsRestjson1_deserializeDocumentAuditEventResultEntries(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -479,6 +481,7 @@ func awsRestjson1_deserializeDocumentAuditEventResultEntry(v **types.AuditEventR } sv.EventID = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -487,6 +490,7 @@ func awsRestjson1_deserializeDocumentAuditEventResultEntry(v **types.AuditEventR } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -526,6 +530,7 @@ func awsRestjson1_deserializeDocumentChannelInsufficientPermission(v **types.Cha } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -565,6 +570,7 @@ func awsRestjson1_deserializeDocumentChannelNotFound(v **types.ChannelNotFound, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -604,6 +610,7 @@ func awsRestjson1_deserializeDocumentChannelUnsupportedSchema(v **types.ChannelU } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -643,6 +650,7 @@ func awsRestjson1_deserializeDocumentDuplicatedAuditEventId(v **types.Duplicated } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -682,6 +690,7 @@ func awsRestjson1_deserializeDocumentInvalidChannelARN(v **types.InvalidChannelA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -755,6 +764,7 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -763,6 +773,7 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -771,6 +782,7 @@ func awsRestjson1_deserializeDocumentResultErrorEntry(v **types.ResultErrorEntry } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -810,6 +822,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cloudwatchevents/deserializers.go b/service/cloudwatchevents/deserializers.go index 70987fb3eb8..df8fbcbda91 100644 --- a/service/cloudwatchevents/deserializers.go +++ b/service/cloudwatchevents/deserializers.go @@ -6244,6 +6244,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -6252,6 +6253,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6260,6 +6262,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ConnectionArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6275,6 +6278,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6287,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } + case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6296,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationEndpoint = ptr.String(jtv) } + case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -6303,6 +6309,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6318,6 +6325,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6326,6 +6334,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6399,6 +6408,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6414,6 +6424,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } } + case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -6426,6 +6437,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventCount = i64 } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -6434,6 +6446,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventSourceArn = ptr.String(jtv) } + case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -6446,6 +6459,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.RetentionDays = ptr.Int32(int32(i64)) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6458,6 +6472,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.SizeBytes = i64 } + case "State": if value != nil { jtv, ok := value.(string) @@ -6466,6 +6481,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6490,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6547,14 +6564,17 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -6598,6 +6618,7 @@ func awsAwsjson11_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = int32(i64) } + default: _, _ = key, value @@ -6633,6 +6654,7 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, if err := awsAwsjson11_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } + case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -6641,6 +6663,7 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobDefinition = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -6649,10 +6672,12 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobName = ptr.String(jtv) } + case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + default: _, _ = key, value @@ -6696,6 +6721,7 @@ func awsAwsjson11_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = int32(i64) } + default: _, _ = key, value @@ -6773,6 +6799,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } + case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -6781,6 +6808,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -6793,6 +6821,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -6832,6 +6861,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6871,6 +6901,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6879,6 +6910,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -6887,6 +6919,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6902,6 +6935,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -6917,6 +6951,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6932,6 +6967,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6940,6 +6976,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -6948,6 +6985,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6987,6 +7025,7 @@ func awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(v ** } sv.ApiKeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -7022,18 +7061,22 @@ func awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(v **types. if err := awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(&sv.ApiKeyAuthParameters, value); err != nil { return err } + case "BasicAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(&sv.BasicAuthParameters, value); err != nil { return err } + case "InvocationHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.InvocationHttpParameters, value); err != nil { return err } + case "OAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(&sv.OAuthParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7073,6 +7116,7 @@ func awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(v **t } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -7112,6 +7156,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7120,6 +7165,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7128,6 +7174,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7201,6 +7248,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7209,6 +7257,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7217,6 +7266,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7286,14 +7336,17 @@ func awsAwsjson11_deserializeDocumentConnectionHttpParameters(v **types.Connecti if err := awsAwsjson11_deserializeDocumentConnectionBodyParametersList(&sv.BodyParameters, value); err != nil { return err } + case "HeaderParameters": if err := awsAwsjson11_deserializeDocumentConnectionHeaderParametersList(&sv.HeaderParameters, value); err != nil { return err } + case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentConnectionQueryStringParametersList(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7333,6 +7386,7 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(v * } sv.ClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -7372,10 +7426,12 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.AuthorizationEndpoint = ptr.String(jtv) } + case "ClientParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(&sv.ClientParameters, value); err != nil { return err } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -7384,10 +7440,12 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.HttpMethod = types.ConnectionOAuthHttpMethod(jtv) } + case "OAuthHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.OAuthHttpParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7427,6 +7485,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7435,6 +7494,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7443,6 +7503,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7550,6 +7611,7 @@ func awsAwsjson11_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -7585,6 +7647,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -7593,6 +7656,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = jtv } + case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -7601,6 +7665,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = jtv } + case "Group": if value != nil { jtv, ok := value.(string) @@ -7609,6 +7674,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } + case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -7617,18 +7683,22 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } + case "NetworkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "PlacementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "PlacementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -7637,6 +7707,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } + case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -7645,6 +7716,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } + case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -7653,10 +7725,12 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -7669,6 +7743,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } + case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -7677,6 +7752,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7716,6 +7792,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7724,6 +7801,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Name = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -7732,6 +7810,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -7805,6 +7884,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -7813,6 +7893,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.CreatedBy = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7828,6 +7909,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -7843,6 +7925,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7851,6 +7934,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -7859,6 +7943,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -7964,14 +8049,17 @@ func awsAwsjson11_deserializeDocumentHttpParameters(v **types.HttpParameters, va if err := awsAwsjson11_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } + case "PathParameterValues": if err := awsAwsjson11_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } + case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -8011,6 +8099,7 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8046,6 +8135,7 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer if err := awsAwsjson11_deserializeDocumentTransformerPaths(&sv.InputPathsMap, value); err != nil { return err } + case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -8054,6 +8144,7 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer } sv.InputTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -8093,6 +8184,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8132,6 +8224,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8171,6 +8264,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8210,6 +8304,7 @@ func awsAwsjson11_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKeyPath = ptr.String(jtv) } + default: _, _ = key, value @@ -8249,6 +8344,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8288,6 +8384,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8323,6 +8420,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8362,6 +8460,7 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8401,6 +8500,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8409,6 +8509,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8448,6 +8549,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.Account = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8463,6 +8565,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -8478,6 +8581,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } + case "State": if value != nil { jtv, ok := value.(string) @@ -8486,6 +8590,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -8629,6 +8734,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8637,6 +8743,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } + default: _, _ = key, value @@ -8744,6 +8851,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8752,6 +8860,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } + default: _, _ = key, value @@ -8791,6 +8900,7 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8830,6 +8940,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8838,6 +8949,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorMessage = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -8846,6 +8958,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -8919,6 +9032,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8927,6 +9041,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorMessage = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -8935,6 +9050,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -9008,6 +9124,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9016,6 +9133,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorMessage = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9024,6 +9142,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -9133,6 +9252,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Database = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -9141,6 +9261,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.DbUser = ptr.String(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -9149,6 +9270,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.SecretManagerArn = ptr.String(jtv) } + case "Sql": if value != nil { jtv, ok := value.(string) @@ -9157,6 +9279,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Sql = ptr.String(jtv) } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -9165,6 +9288,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.StatementName = ptr.String(jtv) } + case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -9173,6 +9297,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.WithEvent = jtv } + default: _, _ = key, value @@ -9212,6 +9337,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9220,6 +9346,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorMessage = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9228,6 +9355,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -9308,6 +9436,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -9323,6 +9452,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -9331,6 +9461,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.EventSourceArn = ptr.String(jtv) } + case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -9346,6 +9477,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -9361,6 +9493,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -9369,6 +9502,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.ReplayName = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -9384,6 +9518,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9392,6 +9527,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -9400,6 +9536,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -9439,10 +9576,12 @@ func awsAwsjson11_deserializeDocumentReplayDestination(v **types.ReplayDestinati } sv.Arn = ptr.String(jtv) } + case "FilterArns": if err := awsAwsjson11_deserializeDocumentReplayDestinationFilters(&sv.FilterArns, value); err != nil { return err } + default: _, _ = key, value @@ -9552,6 +9691,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9591,6 +9731,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9634,6 +9775,7 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -9646,6 +9788,7 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9685,6 +9828,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9693,6 +9837,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Description = ptr.String(jtv) } + case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -9701,6 +9846,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventBusName = ptr.String(jtv) } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -9709,6 +9855,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventPattern = ptr.String(jtv) } + case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -9717,6 +9864,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ManagedBy = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9725,6 +9873,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9733,6 +9882,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RoleArn = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -9741,6 +9891,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ScheduleExpression = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9749,6 +9900,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.State = types.RuleState(jtv) } + default: _, _ = key, value @@ -9854,6 +10006,7 @@ func awsAwsjson11_deserializeDocumentRunCommandParameters(v **types.RunCommandPa if err := awsAwsjson11_deserializeDocumentRunCommandTargets(&sv.RunCommandTargets, value); err != nil { return err } + default: _, _ = key, value @@ -9893,10 +10046,12 @@ func awsAwsjson11_deserializeDocumentRunCommandTarget(v **types.RunCommandTarget } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentRunCommandTargetValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -10006,6 +10161,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10014,6 +10170,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10083,6 +10240,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } + default: _, _ = key, value @@ -10122,6 +10280,7 @@ func awsAwsjson11_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -10197,6 +10356,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10205,6 +10365,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10278,22 +10439,27 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } + case "BatchParameters": if err := awsAwsjson11_deserializeDocumentBatchParameters(&sv.BatchParameters, value); err != nil { return err } + case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "EcsParameters": if err := awsAwsjson11_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } + case "HttpParameters": if err := awsAwsjson11_deserializeDocumentHttpParameters(&sv.HttpParameters, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10302,6 +10468,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } + case "Input": if value != nil { jtv, ok := value.(string) @@ -10310,6 +10477,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } + case "InputPath": if value != nil { jtv, ok := value.(string) @@ -10318,22 +10486,27 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.InputPath = ptr.String(jtv) } + case "InputTransformer": if err := awsAwsjson11_deserializeDocumentInputTransformer(&sv.InputTransformer, value); err != nil { return err } + case "KinesisParameters": if err := awsAwsjson11_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } + case "RedshiftDataParameters": if err := awsAwsjson11_deserializeDocumentRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } + case "RetryPolicy": if err := awsAwsjson11_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10342,18 +10515,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } + case "RunCommandParameters": if err := awsAwsjson11_deserializeDocumentRunCommandParameters(&sv.RunCommandParameters, value); err != nil { return err } + case "SageMakerPipelineParameters": if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } + case "SqsParameters": if err := awsAwsjson11_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } + default: _, _ = key, value @@ -10463,6 +10640,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.ReplayArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10471,6 +10649,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10479,6 +10658,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -10518,6 +10698,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -10526,6 +10707,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10541,6 +10723,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10556,6 +10739,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } + default: _, _ = key, value @@ -10595,6 +10779,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10610,6 +10795,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } } + case "State": if value != nil { jtv, ok := value.(string) @@ -10618,6 +10804,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10626,6 +10813,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -10665,6 +10853,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -10673,6 +10862,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10688,6 +10878,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10703,6 +10894,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } + default: _, _ = key, value @@ -10742,6 +10934,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.EventBusArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10781,6 +10974,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePartnerEventSourceOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10820,6 +11014,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -10828,6 +11023,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10843,6 +11039,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -10858,6 +11055,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10873,6 +11071,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + default: _, _ = key, value @@ -10974,6 +11173,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -10982,6 +11182,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10997,6 +11198,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -11012,6 +11214,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11027,6 +11230,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + default: _, _ = key, value @@ -11066,6 +11270,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -11074,6 +11279,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -11082,6 +11288,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ConnectionArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11097,6 +11304,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11105,6 +11313,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Description = ptr.String(jtv) } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -11113,6 +11322,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } + case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -11121,6 +11331,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationEndpoint = ptr.String(jtv) } + case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -11133,6 +11344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11148,6 +11360,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11156,6 +11369,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11195,6 +11409,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveArn = ptr.String(jtv) } + case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -11203,6 +11418,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11218,6 +11434,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11226,6 +11443,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.Description = ptr.String(jtv) } + case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -11238,6 +11456,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventCount = i64 } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11465,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventPattern = ptr.String(jtv) } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11474,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventSourceArn = ptr.String(jtv) } + case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -11266,6 +11487,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.RetentionDays = ptr.Int32(int32(i64)) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11278,6 +11500,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.SizeBytes = i64 } + case "State": if value != nil { jtv, ok := value.(string) @@ -11286,6 +11509,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11294,6 +11518,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -11333,10 +11558,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } + case "AuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(&sv.AuthParameters, value); err != nil { return err } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11572,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11581,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11368,6 +11597,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11376,6 +11606,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Description = ptr.String(jtv) } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -11391,6 +11622,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11406,6 +11638,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11414,6 +11647,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Name = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -11422,6 +11656,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.SecretArn = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11430,6 +11665,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -11469,6 +11705,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11477,6 +11714,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Name = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -11485,6 +11723,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -11524,6 +11763,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11532,6 +11772,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.CreatedBy = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11547,6 +11788,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -11562,6 +11804,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11570,6 +11813,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11578,6 +11822,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -11617,6 +11862,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11625,6 +11871,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11664,10 +11911,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.Description = ptr.String(jtv) } + case "Destination": if err := awsAwsjson11_deserializeDocumentReplayDestination(&sv.Destination, value); err != nil { return err } + case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -11683,6 +11932,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -11698,6 +11948,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -11706,6 +11957,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.EventSourceArn = ptr.String(jtv) } + case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -11721,6 +11973,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "ReplayArn": if value != nil { jtv, ok := value.(string) @@ -11729,6 +11982,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayArn = ptr.String(jtv) } + case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -11744,6 +11998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -11752,6 +12007,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayName = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -11767,6 +12023,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "State": if value != nil { jtv, ok := value.(string) @@ -11775,6 +12032,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11783,6 +12041,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -11822,6 +12081,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11830,6 +12090,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11838,6 +12099,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Description = ptr.String(jtv) } + case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -11846,6 +12108,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventBusName = ptr.String(jtv) } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -11854,6 +12117,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventPattern = ptr.String(jtv) } + case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -11862,6 +12126,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ManagedBy = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11870,6 +12135,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11878,6 +12144,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.RoleArn = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -11886,6 +12153,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ScheduleExpression = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11894,6 +12162,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.State = types.RuleState(jtv) } + default: _, _ = key, value @@ -11929,6 +12198,7 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest if err := awsAwsjson11_deserializeDocumentApiDestinationResponseList(&sv.ApiDestinations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11937,6 +12207,7 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11972,6 +12243,7 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson11_deserializeDocumentArchiveResponseList(&sv.Archives, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11980,6 +12252,7 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12015,6 +12288,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson11_deserializeDocumentConnectionResponseList(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12023,6 +12297,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12058,6 +12333,7 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu if err := awsAwsjson11_deserializeDocumentEventBusList(&sv.EventBuses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12066,6 +12342,7 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12101,6 +12378,7 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc if err := awsAwsjson11_deserializeDocumentEventSourceList(&sv.EventSources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12109,6 +12387,7 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12148,10 +12427,12 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourceAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "PartnerEventSourceAccounts": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceAccountList(&sv.PartnerEventSourceAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -12191,10 +12472,12 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourcesOutput(v **ListPar } sv.NextToken = ptr.String(jtv) } + case "PartnerEventSources": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceList(&sv.PartnerEventSources, value); err != nil { return err } + default: _, _ = key, value @@ -12234,10 +12517,12 @@ func awsAwsjson11_deserializeOpDocumentListReplaysOutput(v **ListReplaysOutput, } sv.NextToken = ptr.String(jtv) } + case "Replays": if err := awsAwsjson11_deserializeDocumentReplayList(&sv.Replays, value); err != nil { return err } + default: _, _ = key, value @@ -12277,10 +12562,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleNamesByTargetOutput(v **ListRuleN } sv.NextToken = ptr.String(jtv) } + case "RuleNames": if err := awsAwsjson11_deserializeDocumentRuleNameList(&sv.RuleNames, value); err != nil { return err } + default: _, _ = key, value @@ -12320,10 +12607,12 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleResponseList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -12359,6 +12648,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12398,10 +12688,12 @@ func awsAwsjson11_deserializeOpDocumentListTargetsByRuleOutput(v **ListTargetsBy } sv.NextToken = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -12437,6 +12729,7 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsAwsjson11_deserializeDocumentPutEventsResultEntryList(&sv.Entries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12449,6 +12742,7 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -12484,6 +12778,7 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven if err := awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntryList(&sv.Entries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12496,6 +12791,7 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -12535,6 +12831,7 @@ func awsAwsjson11_deserializeOpDocumentPutRuleOutput(v **PutRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12570,6 +12867,7 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va if err := awsAwsjson11_deserializeDocumentPutTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12582,6 +12880,7 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -12617,6 +12916,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp if err := awsAwsjson11_deserializeDocumentRemoveTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12629,6 +12929,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -12668,6 +12969,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.ReplayArn = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -12683,6 +12985,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12691,6 +12994,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12699,6 +13003,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12769,6 +13074,7 @@ func awsAwsjson11_deserializeOpDocumentTestEventPatternOutput(v **TestEventPatte } sv.Result = jtv } + default: _, _ = key, value @@ -12839,6 +13145,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -12847,6 +13154,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12862,6 +13170,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12877,6 +13186,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } + default: _, _ = key, value @@ -12916,6 +13226,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12931,6 +13242,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12939,6 +13251,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12947,6 +13260,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12986,6 +13300,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12994,6 +13309,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13009,6 +13325,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -13024,6 +13341,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13039,6 +13357,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + default: _, _ = key, value diff --git a/service/cloudwatchlogs/deserializers.go b/service/cloudwatchlogs/deserializers.go index 40f1df92fae..b6e92e152c1 100644 --- a/service/cloudwatchlogs/deserializers.go +++ b/service/cloudwatchlogs/deserializers.go @@ -8767,6 +8767,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.IngestionTime = ptr.Int64(i64) } + case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -8775,6 +8776,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.LogGroupIdentifier = ptr.String(jtv) } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -8783,6 +8785,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.LogStreamName = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -8791,6 +8794,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.Message = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8803,6 +8807,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionLogEvent(v **types.LiveTailS } sv.Timestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -8842,6 +8847,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionMetadata(v **types.LiveTailS } sv.Sampled = jtv } + default: _, _ = key, value @@ -8915,18 +8921,22 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.LogEventFilterPattern = ptr.String(jtv) } + case "logGroupIdentifiers": if err := awsAwsjson11_deserializeDocumentStartLiveTailLogGroupIdentifiers(&sv.LogGroupIdentifiers, value); err != nil { return err } + case "logStreamNamePrefixes": if err := awsAwsjson11_deserializeDocumentInputLogStreamNames(&sv.LogStreamNamePrefixes, value); err != nil { return err } + case "logStreamNames": if err := awsAwsjson11_deserializeDocumentInputLogStreamNames(&sv.LogStreamNames, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8935,6 +8945,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.RequestId = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8943,6 +8954,7 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionStart(v **types.LiveTailSess } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -8978,10 +8990,12 @@ func awsAwsjson11_deserializeDocumentLiveTailSessionUpdate(v **types.LiveTailSes if err := awsAwsjson11_deserializeDocumentLiveTailSessionMetadata(&sv.SessionMetadata, value); err != nil { return err } + case "sessionResults": if err := awsAwsjson11_deserializeDocumentLiveTailSessionResults(&sv.SessionResults, value); err != nil { return err } + default: _, _ = key, value @@ -9021,6 +9035,7 @@ func awsAwsjson11_deserializeDocumentSessionStreamingException(v **types.Session } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9060,6 +9075,7 @@ func awsAwsjson11_deserializeDocumentSessionTimeoutException(v **types.SessionTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9797,6 +9813,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9870,6 +9887,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.AccountId = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(json.Number) @@ -9882,6 +9900,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.LastUpdatedTime = ptr.Int64(i64) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -9890,6 +9909,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -9898,6 +9918,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyName = ptr.String(jtv) } + case "policyType": if value != nil { jtv, ok := value.(string) @@ -9906,6 +9927,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } + case "scope": if value != nil { jtv, ok := value.(string) @@ -9914,6 +9936,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.Scope = types.Scope(jtv) } + case "selectionCriteria": if value != nil { jtv, ok := value.(string) @@ -9922,6 +9945,7 @@ func awsAwsjson11_deserializeDocumentAccountPolicy(v **types.AccountPolicy, valu } sv.SelectionCriteria = ptr.String(jtv) } + default: _, _ = key, value @@ -10065,6 +10089,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Active = ptr.Bool(jtv) } + case "anomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -10073,6 +10098,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "anomalyId": if value != nil { jtv, ok := value.(string) @@ -10081,6 +10107,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10089,6 +10116,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Description = ptr.String(jtv) } + case "firstSeen": if value != nil { jtv, ok := value.(json.Number) @@ -10101,10 +10129,12 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.FirstSeen = i64 } + case "histogram": if err := awsAwsjson11_deserializeDocumentHistogram(&sv.Histogram, value); err != nil { return err } + case "isPatternLevelSuppression": if value != nil { jtv, ok := value.(bool) @@ -10113,6 +10143,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.IsPatternLevelSuppression = ptr.Bool(jtv) } + case "lastSeen": if value != nil { jtv, ok := value.(json.Number) @@ -10125,14 +10156,17 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.LastSeen = i64 } + case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } + case "logSamples": if err := awsAwsjson11_deserializeDocumentLogSamples(&sv.LogSamples, value); err != nil { return err } + case "patternId": if value != nil { jtv, ok := value.(string) @@ -10141,6 +10175,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternId = ptr.String(jtv) } + case "patternRegex": if value != nil { jtv, ok := value.(string) @@ -10149,6 +10184,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternRegex = ptr.String(jtv) } + case "patternString": if value != nil { jtv, ok := value.(string) @@ -10157,10 +10193,12 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.PatternString = ptr.String(jtv) } + case "patternTokens": if err := awsAwsjson11_deserializeDocumentPatternTokens(&sv.PatternTokens, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(string) @@ -10169,6 +10207,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Priority = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -10177,6 +10216,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.State = types.State(jtv) } + case "suppressed": if value != nil { jtv, ok := value.(bool) @@ -10185,6 +10225,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Suppressed = ptr.Bool(jtv) } + case "suppressedDate": if value != nil { jtv, ok := value.(json.Number) @@ -10197,6 +10238,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.SuppressedDate = i64 } + case "suppressedUntil": if value != nil { jtv, ok := value.(json.Number) @@ -10209,6 +10251,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.SuppressedUntil = i64 } + default: _, _ = key, value @@ -10248,6 +10291,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "anomalyDetectorStatus": if value != nil { jtv, ok := value.(string) @@ -10256,6 +10300,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyDetectorStatus = types.AnomalyDetectorStatus(jtv) } + case "anomalyVisibilityTime": if value != nil { jtv, ok := value.(json.Number) @@ -10268,6 +10313,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.AnomalyVisibilityTime = ptr.Int64(i64) } + case "creationTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -10280,6 +10326,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.CreationTimeStamp = i64 } + case "detectorName": if value != nil { jtv, ok := value.(string) @@ -10288,6 +10335,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.DetectorName = ptr.String(jtv) } + case "evaluationFrequency": if value != nil { jtv, ok := value.(string) @@ -10296,6 +10344,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.EvaluationFrequency = types.EvaluationFrequency(jtv) } + case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -10304,6 +10353,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.FilterPattern = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10312,6 +10362,7 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.KmsKeyId = ptr.String(jtv) } + case "lastModifiedTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -10324,10 +10375,12 @@ func awsAwsjson11_deserializeDocumentAnomalyDetector(v **types.AnomalyDetector, } sv.LastModifiedTimeStamp = i64 } + case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } + default: _, _ = key, value @@ -10401,26 +10454,32 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.AllowedActionForAllowVendedLogsDeliveryForResource = ptr.String(jtv) } + case "allowedFieldDelimiters": if err := awsAwsjson11_deserializeDocumentAllowedFieldDelimiters(&sv.AllowedFieldDelimiters, value); err != nil { return err } + case "allowedFields": if err := awsAwsjson11_deserializeDocumentAllowedFields(&sv.AllowedFields, value); err != nil { return err } + case "allowedOutputFormats": if err := awsAwsjson11_deserializeDocumentOutputFormats(&sv.AllowedOutputFormats, value); err != nil { return err } + case "allowedSuffixPathFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.AllowedSuffixPathFields, value); err != nil { return err } + case "defaultDeliveryConfigValues": if err := awsAwsjson11_deserializeDocumentConfigurationTemplateDeliveryConfigValues(&sv.DefaultDeliveryConfigValues, value); err != nil { return err } + case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10429,6 +10488,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } + case "logType": if value != nil { jtv, ok := value.(string) @@ -10437,6 +10497,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.LogType = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10445,6 +10506,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.ResourceType = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -10453,6 +10515,7 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplate(v **types.Configurati } sv.Service = ptr.String(jtv) } + default: _, _ = key, value @@ -10492,14 +10555,17 @@ func awsAwsjson11_deserializeDocumentConfigurationTemplateDeliveryConfigValues(v } sv.FieldDelimiter = ptr.String(jtv) } + case "recordFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.RecordFields, value); err != nil { return err } + case "s3DeliveryConfiguration": if err := awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(&sv.S3DeliveryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10573,6 +10639,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10612,6 +10679,7 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data } sv.ExpectedSequenceToken = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10620,6 +10688,7 @@ func awsAwsjson11_deserializeDocumentDataAlreadyAcceptedException(v **types.Data } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10693,6 +10762,7 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.Arn = ptr.String(jtv) } + case "deliveryDestinationArn": if value != nil { jtv, ok := value.(string) @@ -10701,6 +10771,7 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliveryDestinationArn = ptr.String(jtv) } + case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10709,6 +10780,7 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } + case "deliverySourceName": if value != nil { jtv, ok := value.(string) @@ -10717,6 +10789,7 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.DeliverySourceName = ptr.String(jtv) } + case "fieldDelimiter": if value != nil { jtv, ok := value.(string) @@ -10725,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.FieldDelimiter = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10733,18 +10807,22 @@ func awsAwsjson11_deserializeDocumentDelivery(v **types.Delivery, value interfac } sv.Id = ptr.String(jtv) } + case "recordFields": if err := awsAwsjson11_deserializeDocumentRecordFields(&sv.RecordFields, value); err != nil { return err } + case "s3DeliveryConfiguration": if err := awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(&sv.S3DeliveryConfiguration, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10784,10 +10862,12 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.Arn = ptr.String(jtv) } + case "deliveryDestinationConfiguration": if err := awsAwsjson11_deserializeDocumentDeliveryDestinationConfiguration(&sv.DeliveryDestinationConfiguration, value); err != nil { return err } + case "deliveryDestinationType": if value != nil { jtv, ok := value.(string) @@ -10796,6 +10876,7 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.DeliveryDestinationType = types.DeliveryDestinationType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10804,6 +10885,7 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.Name = ptr.String(jtv) } + case "outputFormat": if value != nil { jtv, ok := value.(string) @@ -10812,10 +10894,12 @@ func awsAwsjson11_deserializeDocumentDeliveryDestination(v **types.DeliveryDesti } sv.OutputFormat = types.OutputFormat(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10855,6 +10939,7 @@ func awsAwsjson11_deserializeDocumentDeliveryDestinationConfiguration(v **types. } sv.DestinationResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10928,6 +11013,7 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Arn = ptr.String(jtv) } + case "logType": if value != nil { jtv, ok := value.(string) @@ -10936,6 +11022,7 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.LogType = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10944,10 +11031,12 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Name = ptr.String(jtv) } + case "resourceArns": if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } + case "service": if value != nil { jtv, ok := value.(string) @@ -10956,10 +11045,12 @@ func awsAwsjson11_deserializeDocumentDeliverySource(v **types.DeliverySource, va } sv.Service = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11033,6 +11124,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.AccessPolicy = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -11041,6 +11133,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -11053,6 +11146,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.CreationTime = ptr.Int64(i64) } + case "destinationName": if value != nil { jtv, ok := value.(string) @@ -11061,6 +11155,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11069,6 +11164,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.RoleArn = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -11077,6 +11173,7 @@ func awsAwsjson11_deserializeDocumentDestination(v **types.Destination, value in } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11226,6 +11323,7 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.Destination = ptr.String(jtv) } + case "destinationPrefix": if value != nil { jtv, ok := value.(string) @@ -11234,10 +11332,12 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.DestinationPrefix = ptr.String(jtv) } + case "executionInfo": if err := awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(&sv.ExecutionInfo, value); err != nil { return err } + case "from": if value != nil { jtv, ok := value.(json.Number) @@ -11250,6 +11350,7 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.From = ptr.Int64(i64) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -11258,10 +11359,12 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.LogGroupName = ptr.String(jtv) } + case "status": if err := awsAwsjson11_deserializeDocumentExportTaskStatus(&sv.Status, value); err != nil { return err } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -11270,6 +11373,7 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.TaskId = ptr.String(jtv) } + case "taskName": if value != nil { jtv, ok := value.(string) @@ -11278,6 +11382,7 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.TaskName = ptr.String(jtv) } + case "to": if value != nil { jtv, ok := value.(json.Number) @@ -11290,6 +11395,7 @@ func awsAwsjson11_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.To = ptr.Int64(i64) } + default: _, _ = key, value @@ -11333,6 +11439,7 @@ func awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(v **types.ExportTas } sv.CompletionTime = ptr.Int64(i64) } + case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -11345,6 +11452,7 @@ func awsAwsjson11_deserializeDocumentExportTaskExecutionInfo(v **types.ExportTas } sv.CreationTime = ptr.Int64(i64) } + default: _, _ = key, value @@ -11418,6 +11526,7 @@ func awsAwsjson11_deserializeDocumentExportTaskStatus(v **types.ExportTaskStatus } sv.Code = types.ExportTaskStatusCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11426,6 +11535,7 @@ func awsAwsjson11_deserializeDocumentExportTaskStatus(v **types.ExportTaskStatus } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11501,6 +11611,7 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.EventId = ptr.String(jtv) } + case "ingestionTime": if value != nil { jtv, ok := value.(json.Number) @@ -11513,6 +11624,7 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.IngestionTime = ptr.Int64(i64) } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -11521,6 +11633,7 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.LogStreamName = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11529,6 +11642,7 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.Message = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -11541,6 +11655,7 @@ func awsAwsjson11_deserializeDocumentFilteredLogEvent(v **types.FilteredLogEvent } sv.Timestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -11690,6 +11805,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11729,6 +11845,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11768,6 +11885,7 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv } sv.ExpectedSequenceToken = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11776,6 +11894,7 @@ func awsAwsjson11_deserializeDocumentInvalidSequenceTokenException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11815,6 +11934,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11854,6 +11974,7 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Message = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -11866,6 +11987,7 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Timestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -11905,6 +12027,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -11917,6 +12040,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.CreationTime = ptr.Int64(i64) } + case "dataProtectionStatus": if value != nil { jtv, ok := value.(string) @@ -11925,10 +12049,12 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.DataProtectionStatus = types.DataProtectionStatus(jtv) } + case "inheritedProperties": if err := awsAwsjson11_deserializeDocumentInheritedProperties(&sv.InheritedProperties, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11937,6 +12063,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "logGroupArn": if value != nil { jtv, ok := value.(string) @@ -11945,6 +12072,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupArn = ptr.String(jtv) } + case "logGroupClass": if value != nil { jtv, ok := value.(string) @@ -11953,6 +12081,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupClass = types.LogGroupClass(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -11961,6 +12090,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.LogGroupName = ptr.String(jtv) } + case "metricFilterCount": if value != nil { jtv, ok := value.(json.Number) @@ -11973,6 +12103,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.MetricFilterCount = ptr.Int32(int32(i64)) } + case "retentionInDays": if value != nil { jtv, ok := value.(json.Number) @@ -11985,6 +12116,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.RetentionInDays = ptr.Int32(int32(i64)) } + case "storedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11997,6 +12129,7 @@ func awsAwsjson11_deserializeDocumentLogGroup(v **types.LogGroup, value interfac } sv.StoredBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -12072,6 +12205,7 @@ func awsAwsjson11_deserializeDocumentLogGroupField(v **types.LogGroupField, valu } sv.Name = ptr.String(jtv) } + case "percent": if value != nil { jtv, ok := value.(json.Number) @@ -12084,6 +12218,7 @@ func awsAwsjson11_deserializeDocumentLogGroupField(v **types.LogGroupField, valu } sv.Percent = int32(i64) } + default: _, _ = key, value @@ -12297,6 +12432,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(json.Number) @@ -12309,6 +12445,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.CreationTime = ptr.Int64(i64) } + case "firstEventTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12321,6 +12458,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.FirstEventTimestamp = ptr.Int64(i64) } + case "lastEventTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12333,6 +12471,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LastEventTimestamp = ptr.Int64(i64) } + case "lastIngestionTime": if value != nil { jtv, ok := value.(json.Number) @@ -12345,6 +12484,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LastIngestionTime = ptr.Int64(i64) } + case "logStreamName": if value != nil { jtv, ok := value.(string) @@ -12353,6 +12493,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.LogStreamName = ptr.String(jtv) } + case "storedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12365,6 +12506,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.StoredBytes = ptr.Int64(i64) } + case "uploadSequenceToken": if value != nil { jtv, ok := value.(string) @@ -12373,6 +12515,7 @@ func awsAwsjson11_deserializeDocumentLogStream(v **types.LogStream, value interf } sv.UploadSequenceToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12446,10 +12589,12 @@ func awsAwsjson11_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.Message = ptr.String(jtv) } + case "queryCompileError": if err := awsAwsjson11_deserializeDocumentQueryCompileError(&sv.QueryCompileError, value); err != nil { return err } + default: _, _ = key, value @@ -12493,6 +12638,7 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.CreationTime = ptr.Int64(i64) } + case "filterName": if value != nil { jtv, ok := value.(string) @@ -12501,6 +12647,7 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.FilterName = ptr.String(jtv) } + case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -12509,6 +12656,7 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.FilterPattern = ptr.String(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -12517,10 +12665,12 @@ func awsAwsjson11_deserializeDocumentMetricFilter(v **types.MetricFilter, value } sv.LogGroupName = ptr.String(jtv) } + case "metricTransformations": if err := awsAwsjson11_deserializeDocumentMetricTransformations(&sv.MetricTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12594,6 +12744,7 @@ func awsAwsjson11_deserializeDocumentMetricFilterMatchRecord(v **types.MetricFil } sv.EventMessage = ptr.String(jtv) } + case "eventNumber": if value != nil { jtv, ok := value.(json.Number) @@ -12606,10 +12757,12 @@ func awsAwsjson11_deserializeDocumentMetricFilterMatchRecord(v **types.MetricFil } sv.EventNumber = i64 } + case "extractedValues": if err := awsAwsjson11_deserializeDocumentExtractedValues(&sv.ExtractedValues, value); err != nil { return err } + default: _, _ = key, value @@ -12708,10 +12861,12 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } } + case "dimensions": if err := awsAwsjson11_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -12720,6 +12875,7 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricName = ptr.String(jtv) } + case "metricNamespace": if value != nil { jtv, ok := value.(string) @@ -12728,6 +12884,7 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricNamespace = ptr.String(jtv) } + case "metricValue": if value != nil { jtv, ok := value.(string) @@ -12736,6 +12893,7 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.MetricValue = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -12744,6 +12902,7 @@ func awsAwsjson11_deserializeDocumentMetricTransformation(v **types.MetricTransf } sv.Unit = types.StandardUnit(jtv) } + default: _, _ = key, value @@ -12817,6 +12976,7 @@ func awsAwsjson11_deserializeDocumentOperationAbortedException(v **types.Operati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12896,6 +13056,7 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.IngestionTime = ptr.Int64(i64) } + case "message": if value != nil { jtv, ok := value.(string) @@ -12904,6 +13065,7 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.Message = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12916,6 +13078,7 @@ func awsAwsjson11_deserializeDocumentOutputLogEvent(v **types.OutputLogEvent, va } sv.Timestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -12993,10 +13156,12 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.DynamicTokenPosition = int32(i64) } + case "enumerations": if err := awsAwsjson11_deserializeDocumentEnumerations(&sv.Enumerations, value); err != nil { return err } + case "inferredTokenName": if value != nil { jtv, ok := value.(string) @@ -13005,6 +13170,7 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.InferredTokenName = ptr.String(jtv) } + case "isDynamic": if value != nil { jtv, ok := value.(bool) @@ -13013,6 +13179,7 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.IsDynamic = ptr.Bool(jtv) } + case "tokenString": if value != nil { jtv, ok := value.(string) @@ -13021,6 +13188,7 @@ func awsAwsjson11_deserializeDocumentPatternToken(v **types.PatternToken, value } sv.TokenString = ptr.String(jtv) } + default: _, _ = key, value @@ -13094,6 +13262,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.DeliveryDestinationPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -13129,6 +13298,7 @@ func awsAwsjson11_deserializeDocumentQueryCompileError(v **types.QueryCompileErr if err := awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(&sv.Location, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -13137,6 +13307,7 @@ func awsAwsjson11_deserializeDocumentQueryCompileError(v **types.QueryCompileErr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13180,6 +13351,7 @@ func awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(v **types.QueryCo } sv.EndCharOffset = ptr.Int32(int32(i64)) } + case "startCharOffset": if value != nil { jtv, ok := value.(json.Number) @@ -13192,6 +13364,7 @@ func awsAwsjson11_deserializeDocumentQueryCompileErrorLocation(v **types.QueryCo } sv.StartCharOffset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13235,10 +13408,12 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.LastModified = ptr.Int64(i64) } + case "logGroupNames": if err := awsAwsjson11_deserializeDocumentLogGroupNames(&sv.LogGroupNames, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13247,6 +13422,7 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.Name = ptr.String(jtv) } + case "queryDefinitionId": if value != nil { jtv, ok := value.(string) @@ -13255,6 +13431,7 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.QueryDefinitionId = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -13263,6 +13440,7 @@ func awsAwsjson11_deserializeDocumentQueryDefinition(v **types.QueryDefinition, } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -13340,6 +13518,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.CreateTime = ptr.Int64(i64) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -13348,6 +13527,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.LogGroupName = ptr.String(jtv) } + case "queryId": if value != nil { jtv, ok := value.(string) @@ -13356,6 +13536,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.QueryId = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -13364,6 +13545,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.QueryString = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13372,6 +13554,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf } sv.Status = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -13502,6 +13685,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } + case "recordsMatched": if value != nil { switch jtv := value.(type) { @@ -13535,6 +13719,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } + case "recordsScanned": if value != nil { switch jtv := value.(type) { @@ -13568,6 +13753,7 @@ func awsAwsjson11_deserializeDocumentQueryStatistics(v **types.QueryStatistics, } } + default: _, _ = key, value @@ -13607,6 +13793,7 @@ func awsAwsjson11_deserializeDocumentRecordField(v **types.RecordField, value in } sv.Mandatory = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13615,6 +13802,7 @@ func awsAwsjson11_deserializeDocumentRecordField(v **types.RecordField, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13690,6 +13878,7 @@ func awsAwsjson11_deserializeDocumentRejectedEntityInfo(v **types.RejectedEntity } sv.ErrorType = types.EntityRejectionErrorType(jtv) } + default: _, _ = key, value @@ -13733,6 +13922,7 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.ExpiredLogEventEndIndex = ptr.Int32(int32(i64)) } + case "tooNewLogEventStartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -13745,6 +13935,7 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.TooNewLogEventStartIndex = ptr.Int32(int32(i64)) } + case "tooOldLogEventEndIndex": if value != nil { jtv, ok := value.(json.Number) @@ -13757,6 +13948,7 @@ func awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(v **types.RejectedLog } sv.TooOldLogEventEndIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13796,6 +13988,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13871,6 +14064,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13948,6 +14142,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.LastUpdatedTime = ptr.Int64(i64) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -13956,6 +14151,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -13964,6 +14160,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -14003,6 +14200,7 @@ func awsAwsjson11_deserializeDocumentResultField(v **types.ResultField, value in } sv.Field = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14011,6 +14209,7 @@ func awsAwsjson11_deserializeDocumentResultField(v **types.ResultField, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14084,6 +14283,7 @@ func awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(v **types.S3Deliver } sv.EnableHiveCompatiblePath = ptr.Bool(jtv) } + case "suffixPath": if value != nil { jtv, ok := value.(string) @@ -14092,6 +14292,7 @@ func awsAwsjson11_deserializeDocumentS3DeliveryConfiguration(v **types.S3Deliver } sv.SuffixPath = ptr.String(jtv) } + default: _, _ = key, value @@ -14131,6 +14332,7 @@ func awsAwsjson11_deserializeDocumentSearchedLogStream(v **types.SearchedLogStre } sv.LogStreamName = ptr.String(jtv) } + case "searchedCompletely": if value != nil { jtv, ok := value.(bool) @@ -14139,6 +14341,7 @@ func awsAwsjson11_deserializeDocumentSearchedLogStream(v **types.SearchedLogStre } sv.SearchedCompletely = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14212,6 +14415,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14251,6 +14455,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14294,6 +14499,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.CreationTime = ptr.Int64(i64) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14508,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.DestinationArn = ptr.String(jtv) } + case "distribution": if value != nil { jtv, ok := value.(string) @@ -14310,6 +14517,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.Distribution = types.Distribution(jtv) } + case "filterName": if value != nil { jtv, ok := value.(string) @@ -14318,6 +14526,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.FilterName = ptr.String(jtv) } + case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -14326,6 +14535,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.FilterPattern = ptr.String(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -14334,6 +14544,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.LogGroupName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14342,6 +14553,7 @@ func awsAwsjson11_deserializeDocumentSubscriptionFilter(v **types.SubscriptionFi } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14451,6 +14663,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14490,6 +14703,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14498,6 +14712,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14537,6 +14752,7 @@ func awsAwsjson11_deserializeDocumentUnrecognizedClientException(v **types.Unrec } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14576,6 +14792,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14611,6 +14828,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeliveryOutput(v **CreateDeliveryOu if err := awsAwsjson11_deserializeDocumentDelivery(&sv.Delivery, value); err != nil { return err } + default: _, _ = key, value @@ -14650,6 +14868,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExportTaskOutput(v **CreateExportTa } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -14689,6 +14908,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLogAnomalyDetectorOutput(v **Create } sv.AnomalyDetectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14728,6 +14948,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteQueryDefinitionOutput(v **DeleteQue } sv.Success = jtv } + default: _, _ = key, value @@ -14763,6 +14984,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountPoliciesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentAccountPolicies(&sv.AccountPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -14798,6 +15020,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationTemplatesOutput(v ** if err := awsAwsjson11_deserializeDocumentConfigurationTemplates(&sv.ConfigurationTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14806,6 +15029,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationTemplatesOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14841,6 +15065,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveriesOutput(v **DescribeDeli if err := awsAwsjson11_deserializeDocumentDeliveries(&sv.Deliveries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14849,6 +15074,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveriesOutput(v **DescribeDeli } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14884,6 +15110,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryDestinationsOutput(v **De if err := awsAwsjson11_deserializeDocumentDeliveryDestinations(&sv.DeliveryDestinations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14892,6 +15119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryDestinationsOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14927,6 +15155,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliverySourcesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentDeliverySources(&sv.DeliverySources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14935,6 +15164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliverySourcesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14970,6 +15200,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDestinationsOutput(v **DescribeDe if err := awsAwsjson11_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14978,6 +15209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDestinationsOutput(v **DescribeDe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15013,6 +15245,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp if err := awsAwsjson11_deserializeDocumentExportTasks(&sv.ExportTasks, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15021,6 +15254,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExportTasksOutput(v **DescribeExp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15056,6 +15290,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogGroupsOutput(v **DescribeLogGr if err := awsAwsjson11_deserializeDocumentLogGroups(&sv.LogGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15064,6 +15299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogGroupsOutput(v **DescribeLogGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15099,6 +15335,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogStreamsOutput(v **DescribeLogS if err := awsAwsjson11_deserializeDocumentLogStreams(&sv.LogStreams, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15107,6 +15344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLogStreamsOutput(v **DescribeLogS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15142,6 +15380,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricFiltersOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentMetricFilters(&sv.MetricFilters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15150,6 +15389,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricFiltersOutput(v **DescribeM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15189,10 +15429,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueriesOutput(v **DescribeQueries } sv.NextToken = ptr.String(jtv) } + case "queries": if err := awsAwsjson11_deserializeDocumentQueryInfoList(&sv.Queries, value); err != nil { return err } + default: _, _ = key, value @@ -15232,10 +15474,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeQueryDefinitionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "queryDefinitions": if err := awsAwsjson11_deserializeDocumentQueryDefinitionList(&sv.QueryDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -15275,10 +15519,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePoliciesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "resourcePolicies": if err := awsAwsjson11_deserializeDocumentResourcePolicies(&sv.ResourcePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -15318,10 +15564,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscriptionFiltersOutput(v **Des } sv.NextToken = ptr.String(jtv) } + case "subscriptionFilters": if err := awsAwsjson11_deserializeDocumentSubscriptionFilters(&sv.SubscriptionFilters, value); err != nil { return err } + default: _, _ = key, value @@ -15357,6 +15605,7 @@ func awsAwsjson11_deserializeOpDocumentFilterLogEventsOutput(v **FilterLogEvents if err := awsAwsjson11_deserializeDocumentFilteredLogEvents(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15365,10 +15614,12 @@ func awsAwsjson11_deserializeOpDocumentFilterLogEventsOutput(v **FilterLogEvents } sv.NextToken = ptr.String(jtv) } + case "searchedLogStreams": if err := awsAwsjson11_deserializeDocumentSearchedLogStreams(&sv.SearchedLogStreams, value); err != nil { return err } + default: _, _ = key, value @@ -15412,6 +15663,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.LastUpdatedTime = ptr.Int64(i64) } + case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -15420,6 +15672,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.LogGroupIdentifier = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -15428,6 +15681,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataProtectionPolicyOutput(v **GetData } sv.PolicyDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -15463,6 +15717,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryDestinationOutput(v **GetDeliv if err := awsAwsjson11_deserializeDocumentDeliveryDestination(&sv.DeliveryDestination, value); err != nil { return err } + default: _, _ = key, value @@ -15498,6 +15753,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryDestinationPolicyOutput(v **Ge if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -15533,6 +15789,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeliveryOutput(v **GetDeliveryOutput, if err := awsAwsjson11_deserializeDocumentDelivery(&sv.Delivery, value); err != nil { return err } + default: _, _ = key, value @@ -15568,6 +15825,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeliverySourceOutput(v **GetDeliverySo if err := awsAwsjson11_deserializeDocumentDeliverySource(&sv.DeliverySource, value); err != nil { return err } + default: _, _ = key, value @@ -15607,6 +15865,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.AnomalyDetectorStatus = types.AnomalyDetectorStatus(jtv) } + case "anomalyVisibilityTime": if value != nil { jtv, ok := value.(json.Number) @@ -15619,6 +15878,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.AnomalyVisibilityTime = ptr.Int64(i64) } + case "creationTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -15631,6 +15891,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.CreationTimeStamp = i64 } + case "detectorName": if value != nil { jtv, ok := value.(string) @@ -15639,6 +15900,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.DetectorName = ptr.String(jtv) } + case "evaluationFrequency": if value != nil { jtv, ok := value.(string) @@ -15647,6 +15909,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.EvaluationFrequency = types.EvaluationFrequency(jtv) } + case "filterPattern": if value != nil { jtv, ok := value.(string) @@ -15655,6 +15918,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.FilterPattern = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15663,6 +15927,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.KmsKeyId = ptr.String(jtv) } + case "lastModifiedTimeStamp": if value != nil { jtv, ok := value.(json.Number) @@ -15675,10 +15940,12 @@ func awsAwsjson11_deserializeOpDocumentGetLogAnomalyDetectorOutput(v **GetLogAno } sv.LastModifiedTimeStamp = i64 } + case "logGroupArnList": if err := awsAwsjson11_deserializeDocumentLogGroupArnList(&sv.LogGroupArnList, value); err != nil { return err } + default: _, _ = key, value @@ -15714,6 +15981,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput if err := awsAwsjson11_deserializeDocumentOutputLogEvents(&sv.Events, value); err != nil { return err } + case "nextBackwardToken": if value != nil { jtv, ok := value.(string) @@ -15722,6 +15990,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput } sv.NextBackwardToken = ptr.String(jtv) } + case "nextForwardToken": if value != nil { jtv, ok := value.(string) @@ -15730,6 +15999,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogEventsOutput(v **GetLogEventsOutput } sv.NextForwardToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15765,6 +16035,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogGroupFieldsOutput(v **GetLogGroupFi if err := awsAwsjson11_deserializeDocumentLogGroupFieldList(&sv.LogGroupFields, value); err != nil { return err } + default: _, _ = key, value @@ -15800,6 +16071,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogRecordOutput(v **GetLogRecordOutput if err := awsAwsjson11_deserializeDocumentLogRecord(&sv.LogRecord, value); err != nil { return err } + default: _, _ = key, value @@ -15839,14 +16111,17 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.EncryptionKey = ptr.String(jtv) } + case "results": if err := awsAwsjson11_deserializeDocumentQueryResults(&sv.Results, value); err != nil { return err } + case "statistics": if err := awsAwsjson11_deserializeDocumentQueryStatistics(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15855,6 +16130,7 @@ func awsAwsjson11_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.Status = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -15890,6 +16166,7 @@ func awsAwsjson11_deserializeOpDocumentListAnomaliesOutput(v **ListAnomaliesOutp if err := awsAwsjson11_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15898,6 +16175,7 @@ func awsAwsjson11_deserializeOpDocumentListAnomaliesOutput(v **ListAnomaliesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15933,6 +16211,7 @@ func awsAwsjson11_deserializeOpDocumentListLogAnomalyDetectorsOutput(v **ListLog if err := awsAwsjson11_deserializeDocumentAnomalyDetectors(&sv.AnomalyDetectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15941,6 +16220,7 @@ func awsAwsjson11_deserializeOpDocumentListLogAnomalyDetectorsOutput(v **ListLog } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15976,6 +16256,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16011,6 +16292,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsLogGroupOutput(v **ListTagsLogGro if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16046,6 +16328,7 @@ func awsAwsjson11_deserializeOpDocumentPutAccountPolicyOutput(v **PutAccountPoli if err := awsAwsjson11_deserializeDocumentAccountPolicy(&sv.AccountPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -16089,6 +16372,7 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.LastUpdatedTime = ptr.Int64(i64) } + case "logGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -16097,6 +16381,7 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.LogGroupIdentifier = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -16105,6 +16390,7 @@ func awsAwsjson11_deserializeOpDocumentPutDataProtectionPolicyOutput(v **PutData } sv.PolicyDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -16140,6 +16426,7 @@ func awsAwsjson11_deserializeOpDocumentPutDeliveryDestinationOutput(v **PutDeliv if err := awsAwsjson11_deserializeDocumentDeliveryDestination(&sv.DeliveryDestination, value); err != nil { return err } + default: _, _ = key, value @@ -16175,6 +16462,7 @@ func awsAwsjson11_deserializeOpDocumentPutDeliveryDestinationPolicyOutput(v **Pu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -16210,6 +16498,7 @@ func awsAwsjson11_deserializeOpDocumentPutDeliverySourceOutput(v **PutDeliverySo if err := awsAwsjson11_deserializeDocumentDeliverySource(&sv.DeliverySource, value); err != nil { return err } + default: _, _ = key, value @@ -16245,6 +16534,7 @@ func awsAwsjson11_deserializeOpDocumentPutDestinationOutput(v **PutDestinationOu if err := awsAwsjson11_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + default: _, _ = key, value @@ -16284,14 +16574,17 @@ func awsAwsjson11_deserializeOpDocumentPutLogEventsOutput(v **PutLogEventsOutput } sv.NextSequenceToken = ptr.String(jtv) } + case "rejectedEntityInfo": if err := awsAwsjson11_deserializeDocumentRejectedEntityInfo(&sv.RejectedEntityInfo, value); err != nil { return err } + case "rejectedLogEventsInfo": if err := awsAwsjson11_deserializeDocumentRejectedLogEventsInfo(&sv.RejectedLogEventsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -16331,6 +16624,7 @@ func awsAwsjson11_deserializeOpDocumentPutQueryDefinitionOutput(v **PutQueryDefi } sv.QueryDefinitionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16366,6 +16660,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -16405,6 +16700,7 @@ func awsAwsjson11_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -16444,6 +16740,7 @@ func awsAwsjson11_deserializeOpDocumentStopQueryOutput(v **StopQueryOutput, valu } sv.Success = jtv } + default: _, _ = key, value @@ -16479,6 +16776,7 @@ func awsAwsjson11_deserializeOpDocumentTestMetricFilterOutput(v **TestMetricFilt if err := awsAwsjson11_deserializeDocumentMetricFilterMatches(&sv.Matches, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codeartifact/deserializers.go b/service/codeartifact/deserializers.go index 1cb31a5de14..bb32e0108ee 100644 --- a/service/codeartifact/deserializers.go +++ b/service/codeartifact/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentAssociateExternalConnectionOutput(v **Ass if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -359,10 +360,12 @@ func awsRestjson1_deserializeOpDocumentCopyPackageVersionsOutput(v **CopyPackage if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } + case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } + default: _, _ = key, value @@ -532,6 +535,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -701,6 +705,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageGroupOutput(v **CreatePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -870,6 +875,7 @@ func awsRestjson1_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -1033,6 +1039,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -1199,6 +1206,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainPermissionsPolicyOutput(v **D if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -1365,6 +1373,7 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageSummary(&sv.DeletedPackage, value); err != nil { return err } + default: _, _ = key, value @@ -1534,6 +1543,7 @@ func awsRestjson1_deserializeOpDocumentDeletePackageGroupOutput(v **DeletePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -1700,10 +1710,12 @@ func awsRestjson1_deserializeOpDocumentDeletePackageVersionsOutput(v **DeletePac if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } + case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } + default: _, _ = key, value @@ -1870,6 +1882,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -2036,6 +2049,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRepositoryPermissionsPolicyOutput(v if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -2199,6 +2213,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsRestjson1_deserializeDocumentDomainDescription(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -2362,6 +2377,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage if err := awsRestjson1_deserializeDocumentPackageDescription(&sv.Package, value); err != nil { return err } + default: _, _ = key, value @@ -2525,6 +2541,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageGroupOutput(v **DescribePa if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -2691,6 +2708,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe if err := awsRestjson1_deserializeDocumentPackageVersionDescription(&sv.PackageVersion, value); err != nil { return err } + default: _, _ = key, value @@ -2854,6 +2872,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRepositoryOutput(v **DescribeRepo if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -3023,6 +3042,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateExternalConnectionOutput(v ** if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -3189,10 +3209,12 @@ func awsRestjson1_deserializeOpDocumentDisposePackageVersionsOutput(v **DisposeP if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } + case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } + default: _, _ = key, value @@ -3357,10 +3379,12 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedPackageGroupOutput(v **GetAs } sv.AssociationType = types.PackageGroupAssociationType(jtv) } + case "packageGroup": if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -3528,6 +3552,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor } sv.AuthorizationToken = ptr.String(jtv) } + case "expiration": if value != nil { switch jtv := value.(type) { @@ -3543,6 +3568,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor } } + default: _, _ = key, value @@ -3706,6 +3732,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainPermissionsPolicyOutput(v **GetD if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -4017,6 +4044,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -4025,6 +4053,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Namespace = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -4033,6 +4062,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Package = ptr.String(jtv) } + case "readme": if value != nil { jtv, ok := value.(string) @@ -4041,6 +4071,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Readme = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4049,6 +4080,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.Version = ptr.String(jtv) } + case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -4057,6 +4089,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionReadmeOutput(v **GetPack } sv.VersionRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -4224,6 +4257,7 @@ func awsRestjson1_deserializeOpDocumentGetRepositoryEndpointOutput(v **GetReposi } sv.RepositoryEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -4387,6 +4421,7 @@ func awsRestjson1_deserializeOpDocumentGetRepositoryPermissionsPolicyOutput(v ** if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -4553,6 +4588,7 @@ func awsRestjson1_deserializeOpDocumentListAllowedRepositoriesForGroupOutput(v * if err := awsRestjson1_deserializeDocumentRepositoryNameList(&sv.AllowedRepositories, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4561,6 +4597,7 @@ func awsRestjson1_deserializeOpDocumentListAllowedRepositoriesForGroupOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4725,10 +4762,12 @@ func awsRestjson1_deserializeOpDocumentListAssociatedPackagesOutput(v **ListAsso } sv.NextToken = ptr.String(jtv) } + case "packages": if err := awsRestjson1_deserializeDocumentAssociatedPackageList(&sv.Packages, value); err != nil { return err } + default: _, _ = key, value @@ -4889,6 +4928,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4897,6 +4937,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5064,10 +5105,12 @@ func awsRestjson1_deserializeOpDocumentListPackageGroupsOutput(v **ListPackageGr } sv.NextToken = ptr.String(jtv) } + case "packageGroups": if err := awsRestjson1_deserializeDocumentPackageGroupSummaryList(&sv.PackageGroups, value); err != nil { return err } + default: _, _ = key, value @@ -5235,10 +5278,12 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } + case "packages": if err := awsRestjson1_deserializeDocumentPackageSummaryList(&sv.Packages, value); err != nil { return err } + default: _, _ = key, value @@ -5402,6 +5447,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa if err := awsRestjson1_deserializeDocumentAssetSummaryList(&sv.Assets, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -5410,6 +5456,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -5418,6 +5465,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Namespace = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5426,6 +5474,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.NextToken = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -5434,6 +5483,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Package = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5442,6 +5492,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.Version = ptr.String(jtv) } + case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -5450,6 +5501,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionAssetsOutput(v **ListPa } sv.VersionRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -5613,6 +5665,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** if err := awsRestjson1_deserializeDocumentPackageDependencyList(&sv.Dependencies, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5674,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5683,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Namespace = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5637,6 +5692,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5701,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Package = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5710,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.Version = ptr.String(jtv) } + case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5719,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionDependenciesOutput(v ** } sv.VersionRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -5828,6 +5887,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.DefaultDisplayVersion = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -5836,6 +5896,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -5844,6 +5905,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Namespace = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5852,6 +5914,7 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.NextToken = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -5860,10 +5923,12 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.Package = ptr.String(jtv) } + case "versions": if err := awsRestjson1_deserializeDocumentPackageVersionSummaryList(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -6028,10 +6093,12 @@ func awsRestjson1_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsRestjson1_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -6199,10 +6266,12 @@ func awsRestjson1_deserializeOpDocumentListRepositoriesInDomainOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsRestjson1_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -6370,10 +6439,12 @@ func awsRestjson1_deserializeOpDocumentListSubPackageGroupsOutput(v **ListSubPac } sv.NextToken = ptr.String(jtv) } + case "packageGroups": if err := awsRestjson1_deserializeDocumentPackageGroupSummaryList(&sv.PackageGroups, value); err != nil { return err } + default: _, _ = key, value @@ -6534,6 +6605,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6703,6 +6775,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa if err := awsRestjson1_deserializeDocumentAssetSummary(&sv.Asset, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -6711,6 +6784,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -6719,6 +6793,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Namespace = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -6727,6 +6802,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Package = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6735,6 +6811,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Status = types.PackageVersionStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -6743,6 +6820,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.Version = ptr.String(jtv) } + case "versionRevision": if value != nil { jtv, ok := value.(string) @@ -6751,6 +6829,7 @@ func awsRestjson1_deserializeOpDocumentPublishPackageVersionOutput(v **PublishPa } sv.VersionRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -6920,6 +6999,7 @@ func awsRestjson1_deserializeOpDocumentPutDomainPermissionsPolicyOutput(v **PutD if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -7083,6 +7163,7 @@ func awsRestjson1_deserializeOpDocumentPutPackageOriginConfigurationOutput(v **P if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7252,6 +7333,7 @@ func awsRestjson1_deserializeOpDocumentPutRepositoryPermissionsPolicyOutput(v ** if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -7615,6 +7697,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageGroupOutput(v **UpdatePackag if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -7781,10 +7864,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageGroupOriginConfigurationOutp if err := awsRestjson1_deserializeDocumentPackageGroupAllowedRepositoryUpdates(&sv.AllowedRepositoryUpdates, value); err != nil { return err } + case "packageGroup": if err := awsRestjson1_deserializeDocumentPackageGroupDescription(&sv.PackageGroup, value); err != nil { return err } + default: _, _ = key, value @@ -7951,10 +8036,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageVersionsStatusOutput(v **Upd if err := awsRestjson1_deserializeDocumentPackageVersionErrorMap(&sv.FailedVersions, value); err != nil { return err } + case "successfulVersions": if err := awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfoMap(&sv.SuccessfulVersions, value); err != nil { return err } + default: _, _ = key, value @@ -8124,6 +8211,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRepositoryOutput(v **UpdateReposito if err := awsRestjson1_deserializeDocumentRepositoryDescription(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -8435,6 +8523,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8506,6 +8595,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value if err := awsRestjson1_deserializeDocumentAssetHashes(&sv.Hashes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8514,6 +8604,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Name = ptr.String(jtv) } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -8526,6 +8617,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Size = ptr.Int64(i64) } + default: _, _ = key, value @@ -8599,6 +8691,7 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.AssociationType = types.PackageGroupAssociationType(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -8607,6 +8700,7 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -8615,6 +8709,7 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Namespace = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -8623,6 +8718,7 @@ func awsRestjson1_deserializeDocumentAssociatedPackage(v **types.AssociatedPacka } sv.Package = ptr.String(jtv) } + default: _, _ = key, value @@ -8696,6 +8792,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8704,6 +8801,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8712,6 +8810,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -8751,6 +8850,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Arn = ptr.String(jtv) } + case "assetSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8763,6 +8863,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.AssetSizeBytes = i64 } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8778,6 +8879,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -8786,6 +8888,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.EncryptionKey = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8794,6 +8897,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -8802,6 +8906,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Owner = ptr.String(jtv) } + case "repositoryCount": if value != nil { jtv, ok := value.(json.Number) @@ -8814,6 +8919,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.RepositoryCount = int32(i64) } + case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -8822,6 +8928,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.S3BucketArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8830,6 +8937,7 @@ func awsRestjson1_deserializeDocumentDomainDescription(v **types.DomainDescripti } sv.Status = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -8869,6 +8977,7 @@ func awsRestjson1_deserializeDocumentDomainEntryPoint(v **types.DomainEntryPoint } sv.ExternalConnectionName = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -8877,6 +8986,7 @@ func awsRestjson1_deserializeDocumentDomainEntryPoint(v **types.DomainEntryPoint } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -8916,6 +9026,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8931,6 +9042,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -8939,6 +9051,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.EncryptionKey = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8947,6 +9060,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -8955,6 +9069,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Owner = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8963,6 +9078,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Status = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -9036,6 +9152,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9075,6 +9192,7 @@ func awsRestjson1_deserializeDocumentLicenseInfo(v **types.LicenseInfo, value in } sv.Name = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -9083,6 +9201,7 @@ func awsRestjson1_deserializeDocumentLicenseInfo(v **types.LicenseInfo, value in } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -9156,6 +9275,7 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.DependencyType = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -9164,6 +9284,7 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.Namespace = ptr.String(jtv) } + case "package": if value != nil { jtv, ok := value.(string) @@ -9172,6 +9293,7 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.Package = ptr.String(jtv) } + case "versionRequirement": if value != nil { jtv, ok := value.(string) @@ -9180,6 +9302,7 @@ func awsRestjson1_deserializeDocumentPackageDependency(v **types.PackageDependen } sv.VersionRequirement = ptr.String(jtv) } + default: _, _ = key, value @@ -9253,6 +9376,7 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Format = types.PackageFormat(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9261,6 +9385,7 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -9269,10 +9394,12 @@ func awsRestjson1_deserializeDocumentPackageDescription(v **types.PackageDescrip } sv.Namespace = ptr.String(jtv) } + case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9380,6 +9507,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Arn = ptr.String(jtv) } + case "contactInfo": if value != nil { jtv, ok := value.(string) @@ -9388,6 +9516,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.ContactInfo = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9403,6 +9532,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9411,6 +9541,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Description = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -9419,6 +9550,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.DomainName = ptr.String(jtv) } + case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -9427,14 +9559,17 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.DomainOwner = ptr.String(jtv) } + case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } + case "parent": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.Parent, value); err != nil { return err } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -9443,6 +9578,7 @@ func awsRestjson1_deserializeDocumentPackageGroupDescription(v **types.PackageGr } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -9478,6 +9614,7 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(v **types.P if err := awsRestjson1_deserializeDocumentPackageGroupOriginRestrictions(&sv.Restrictions, value); err != nil { return err } + default: _, _ = key, value @@ -9517,10 +9654,12 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.EffectiveMode = types.PackageGroupOriginRestrictionMode(jtv) } + case "inheritedFrom": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.InheritedFrom, value); err != nil { return err } + case "mode": if value != nil { jtv, ok := value.(string) @@ -9529,6 +9668,7 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.Mode = types.PackageGroupOriginRestrictionMode(jtv) } + case "repositoriesCount": if value != nil { jtv, ok := value.(json.Number) @@ -9541,6 +9681,7 @@ func awsRestjson1_deserializeDocumentPackageGroupOriginRestriction(v **types.Pac } sv.RepositoriesCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -9615,6 +9756,7 @@ func awsRestjson1_deserializeDocumentPackageGroupReference(v **types.PackageGrou } sv.Arn = ptr.String(jtv) } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -9623,6 +9765,7 @@ func awsRestjson1_deserializeDocumentPackageGroupReference(v **types.PackageGrou } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -9662,6 +9805,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Arn = ptr.String(jtv) } + case "contactInfo": if value != nil { jtv, ok := value.(string) @@ -9670,6 +9814,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.ContactInfo = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9685,6 +9830,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9693,6 +9839,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Description = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -9701,6 +9848,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.DomainName = ptr.String(jtv) } + case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -9709,14 +9857,17 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.DomainOwner = ptr.String(jtv) } + case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageGroupOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } + case "parent": if err := awsRestjson1_deserializeDocumentPackageGroupReference(&sv.Parent, value); err != nil { return err } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -9725,6 +9876,7 @@ func awsRestjson1_deserializeDocumentPackageGroupSummary(v **types.PackageGroupS } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -9794,6 +9946,7 @@ func awsRestjson1_deserializeDocumentPackageOriginConfiguration(v **types.Packag if err := awsRestjson1_deserializeDocumentPackageOriginRestrictions(&sv.Restrictions, value); err != nil { return err } + default: _, _ = key, value @@ -9833,6 +9986,7 @@ func awsRestjson1_deserializeDocumentPackageOriginRestrictions(v **types.Package } sv.Publish = types.AllowPublish(jtv) } + case "upstream": if value != nil { jtv, ok := value.(string) @@ -9841,6 +9995,7 @@ func awsRestjson1_deserializeDocumentPackageOriginRestrictions(v **types.Package } sv.Upstream = types.AllowUpstream(jtv) } + default: _, _ = key, value @@ -9880,6 +10035,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Format = types.PackageFormat(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -9888,10 +10044,12 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Namespace = ptr.String(jtv) } + case "originConfiguration": if err := awsRestjson1_deserializeDocumentPackageOriginConfiguration(&sv.OriginConfiguration, value); err != nil { return err } + case "package": if value != nil { jtv, ok := value.(string) @@ -9900,6 +10058,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.Package = ptr.String(jtv) } + default: _, _ = key, value @@ -9973,6 +10132,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.DisplayName = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -9981,6 +10141,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Format = types.PackageFormat(jtv) } + case "homePage": if value != nil { jtv, ok := value.(string) @@ -9989,10 +10150,12 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.HomePage = ptr.String(jtv) } + case "licenses": if err := awsRestjson1_deserializeDocumentLicenseInfoList(&sv.Licenses, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -10001,10 +10164,12 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Namespace = ptr.String(jtv) } + case "origin": if err := awsRestjson1_deserializeDocumentPackageVersionOrigin(&sv.Origin, value); err != nil { return err } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -10013,6 +10178,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.PackageName = ptr.String(jtv) } + case "publishedTime": if value != nil { switch jtv := value.(type) { @@ -10028,6 +10194,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } } + case "revision": if value != nil { jtv, ok := value.(string) @@ -10036,6 +10203,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Revision = ptr.String(jtv) } + case "sourceCodeRepository": if value != nil { jtv, ok := value.(string) @@ -10044,6 +10212,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.SourceCodeRepository = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10052,6 +10221,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Status = types.PackageVersionStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -10060,6 +10230,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Summary = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10068,6 +10239,7 @@ func awsRestjson1_deserializeDocumentPackageVersionDescription(v **types.Package } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10107,6 +10279,7 @@ func awsRestjson1_deserializeDocumentPackageVersionError(v **types.PackageVersio } sv.ErrorCode = types.PackageVersionErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -10115,6 +10288,7 @@ func awsRestjson1_deserializeDocumentPackageVersionError(v **types.PackageVersio } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -10185,6 +10359,7 @@ func awsRestjson1_deserializeDocumentPackageVersionOrigin(v **types.PackageVersi if err := awsRestjson1_deserializeDocumentDomainEntryPoint(&sv.DomainEntryPoint, value); err != nil { return err } + case "originType": if value != nil { jtv, ok := value.(string) @@ -10193,6 +10368,7 @@ func awsRestjson1_deserializeDocumentPackageVersionOrigin(v **types.PackageVersi } sv.OriginType = types.PackageVersionOriginType(jtv) } + default: _, _ = key, value @@ -10228,6 +10404,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers if err := awsRestjson1_deserializeDocumentPackageVersionOrigin(&sv.Origin, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(string) @@ -10236,6 +10413,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10244,6 +10422,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Status = types.PackageVersionStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10252,6 +10431,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10325,6 +10505,7 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.AdministratorAccount = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10333,6 +10514,7 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -10348,6 +10530,7 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10356,6 +10539,7 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Description = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -10364,6 +10548,7 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.DomainName = ptr.String(jtv) } + case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -10372,10 +10557,12 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.DomainOwner = ptr.String(jtv) } + case "externalConnections": if err := awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfoList(&sv.ExternalConnections, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10384,10 +10571,12 @@ func awsRestjson1_deserializeDocumentRepositoryDescription(v **types.RepositoryD } sv.Name = ptr.String(jtv) } + case "upstreams": if err := awsRestjson1_deserializeDocumentUpstreamRepositoryInfoList(&sv.Upstreams, value); err != nil { return err } + default: _, _ = key, value @@ -10427,6 +10616,7 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.ExternalConnectionName = ptr.String(jtv) } + case "packageFormat": if value != nil { jtv, ok := value.(string) @@ -10435,6 +10625,7 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.PackageFormat = types.PackageFormat(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10443,6 +10634,7 @@ func awsRestjson1_deserializeDocumentRepositoryExternalConnectionInfo(v **types. } sv.Status = types.ExternalConnectionStatus(jtv) } + default: _, _ = key, value @@ -10552,6 +10744,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.AdministratorAccount = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10560,6 +10753,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -10575,6 +10769,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10583,6 +10778,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Description = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -10591,6 +10787,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.DomainName = ptr.String(jtv) } + case "domainOwner": if value != nil { jtv, ok := value.(string) @@ -10599,6 +10796,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.DomainOwner = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10607,6 +10805,7 @@ func awsRestjson1_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10680,6 +10879,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10688,6 +10888,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10696,6 +10897,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -10735,6 +10937,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Document = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -10743,6 +10946,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.ResourceArn = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -10751,6 +10955,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -10790,6 +10995,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10798,6 +11004,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10806,6 +11013,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -10845,6 +11053,7 @@ func awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfo(v **types.Succ } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10853,6 +11062,7 @@ func awsRestjson1_deserializeDocumentSuccessfulPackageVersionInfo(v **types.Succ } sv.Status = types.PackageVersionStatus(jtv) } + default: _, _ = key, value @@ -10927,6 +11137,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -10935,6 +11146,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11008,6 +11220,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11020,6 +11233,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11059,6 +11273,7 @@ func awsRestjson1_deserializeDocumentUpstreamRepositoryInfo(v **types.UpstreamRe } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -11132,6 +11347,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -11140,6 +11356,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value diff --git a/service/codebuild/deserializers.go b/service/codebuild/deserializers.go index 561e8714cea..ad42fd4fa54 100644 --- a/service/codebuild/deserializers.go +++ b/service/codebuild/deserializers.go @@ -5893,6 +5893,7 @@ func awsAwsjson11_deserializeDocumentAccountLimitExceededException(v **types.Acc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5936,6 +5937,7 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.AutoRetryLimit = ptr.Int32(int32(i64)) } + case "autoRetryNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5948,6 +5950,7 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.AutoRetryNumber = ptr.Int32(int32(i64)) } + case "nextAutoRetry": if value != nil { jtv, ok := value.(string) @@ -5956,6 +5959,7 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.NextAutoRetry = ptr.String(jtv) } + case "previousAutoRetry": if value != nil { jtv, ok := value.(string) @@ -5964,6 +5968,7 @@ func awsAwsjson11_deserializeDocumentAutoRetryConfig(v **types.AutoRetryConfig, } sv.PreviousAutoRetry = ptr.String(jtv) } + default: _, _ = key, value @@ -5999,6 +6004,7 @@ func awsAwsjson11_deserializeDocumentBatchRestrictions(v **types.BatchRestrictio if err := awsAwsjson11_deserializeDocumentComputeTypesAllowed(&sv.ComputeTypesAllowed, value); err != nil { return err } + case "maximumBuildsAllowed": if value != nil { jtv, ok := value.(json.Number) @@ -6011,6 +6017,7 @@ func awsAwsjson11_deserializeDocumentBatchRestrictions(v **types.BatchRestrictio } sv.MaximumBuildsAllowed = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6050,14 +6057,17 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "artifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifacts(&sv.Artifacts, value); err != nil { return err } + case "autoRetryConfig": if err := awsAwsjson11_deserializeDocumentAutoRetryConfig(&sv.AutoRetryConfig, value); err != nil { return err } + case "buildBatchArn": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6076,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildBatchArn = ptr.String(jtv) } + case "buildComplete": if value != nil { jtv, ok := value.(bool) @@ -6074,6 +6085,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildComplete = jtv } + case "buildNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6086,6 +6098,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildNumber = ptr.Int64(i64) } + case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -6094,10 +6107,12 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildStatus = types.StatusType(jtv) } + case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } + case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -6106,10 +6121,12 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.CurrentPhase = ptr.String(jtv) } + case "debugSession": if err := awsAwsjson11_deserializeDocumentDebugSession(&sv.DebugSession, value); err != nil { return err } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -6118,6 +6135,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.EncryptionKey = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6133,18 +6151,22 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } + case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } + case "exportedEnvironmentVariables": if err := awsAwsjson11_deserializeDocumentExportedEnvironmentVariables(&sv.ExportedEnvironmentVariables, value); err != nil { return err } + case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6153,6 +6175,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Id = ptr.String(jtv) } + case "initiator": if value != nil { jtv, ok := value.(string) @@ -6161,18 +6184,22 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Initiator = ptr.String(jtv) } + case "logs": if err := awsAwsjson11_deserializeDocumentLogsLocation(&sv.Logs, value); err != nil { return err } + case "networkInterface": if err := awsAwsjson11_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } + case "phases": if err := awsAwsjson11_deserializeDocumentBuildPhases(&sv.Phases, value); err != nil { return err } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6181,6 +6208,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ProjectName = ptr.String(jtv) } + case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6193,10 +6221,12 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "reportArns": if err := awsAwsjson11_deserializeDocumentBuildReportArns(&sv.ReportArns, value); err != nil { return err } + case "resolvedSourceVersion": if value != nil { jtv, ok := value.(string) @@ -6205,18 +6235,22 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ResolvedSourceVersion = ptr.String(jtv) } + case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } + case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } + case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6225,10 +6259,12 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ServiceRole = ptr.String(jtv) } + case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -6237,6 +6273,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.SourceVersion = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6252,6 +6289,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } + case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6264,10 +6302,12 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6307,6 +6347,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.ArtifactIdentifier = ptr.String(jtv) } + case "bucketOwnerAccess": if value != nil { jtv, ok := value.(string) @@ -6315,6 +6356,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } + case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -6323,6 +6365,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -6331,6 +6374,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Location = ptr.String(jtv) } + case "md5sum": if value != nil { jtv, ok := value.(string) @@ -6339,6 +6383,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Md5sum = ptr.String(jtv) } + case "overrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -6347,6 +6392,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.OverrideArtifactName = ptr.Bool(jtv) } + case "sha256sum": if value != nil { jtv, ok := value.(string) @@ -6355,6 +6401,7 @@ func awsAwsjson11_deserializeDocumentBuildArtifacts(v **types.BuildArtifacts, va } sv.Sha256sum = ptr.String(jtv) } + default: _, _ = key, value @@ -6428,14 +6475,17 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Arn = ptr.String(jtv) } + case "artifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifacts(&sv.Artifacts, value); err != nil { return err } + case "buildBatchConfig": if err := awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(&sv.BuildBatchConfig, value); err != nil { return err } + case "buildBatchNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6448,6 +6498,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildBatchNumber = ptr.Int64(i64) } + case "buildBatchStatus": if value != nil { jtv, ok := value.(string) @@ -6456,10 +6507,12 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildBatchStatus = types.StatusType(jtv) } + case "buildGroups": if err := awsAwsjson11_deserializeDocumentBuildGroups(&sv.BuildGroups, value); err != nil { return err } + case "buildTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6472,10 +6525,12 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.BuildTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } + case "complete": if value != nil { jtv, ok := value.(bool) @@ -6484,6 +6539,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Complete = jtv } + case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -6492,6 +6548,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.CurrentPhase = ptr.String(jtv) } + case "debugSessionEnabled": if value != nil { jtv, ok := value.(bool) @@ -6500,6 +6557,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.DebugSessionEnabled = ptr.Bool(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -6508,6 +6566,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.EncryptionKey = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6523,14 +6582,17 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } } + case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } + case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6601,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Id = ptr.String(jtv) } + case "initiator": if value != nil { jtv, ok := value.(string) @@ -6547,14 +6610,17 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.Initiator = ptr.String(jtv) } + case "logConfig": if err := awsAwsjson11_deserializeDocumentLogsConfig(&sv.LogConfig, value); err != nil { return err } + case "phases": if err := awsAwsjson11_deserializeDocumentBuildBatchPhases(&sv.Phases, value); err != nil { return err } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6563,6 +6629,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ProjectName = ptr.String(jtv) } + case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6575,6 +6642,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "resolvedSourceVersion": if value != nil { jtv, ok := value.(string) @@ -6583,18 +6651,22 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ResolvedSourceVersion = ptr.String(jtv) } + case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentBuildArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } + case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } + case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6603,10 +6675,12 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.ServiceRole = ptr.String(jtv) } + case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -6615,6 +6689,7 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } sv.SourceVersion = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6630,10 +6705,12 @@ func awsAwsjson11_deserializeDocumentBuildBatch(v **types.BuildBatch, value inte } } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6739,6 +6816,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, if err := awsAwsjson11_deserializeDocumentPhaseContexts(&sv.Contexts, value); err != nil { return err } + case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6751,6 +6829,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.DurationInSeconds = ptr.Int64(i64) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6766,6 +6845,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } } + case "phaseStatus": if value != nil { jtv, ok := value.(string) @@ -6774,6 +6854,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.PhaseStatus = types.StatusType(jtv) } + case "phaseType": if value != nil { jtv, ok := value.(string) @@ -6782,6 +6863,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } sv.PhaseType = types.BuildBatchPhaseType(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6797,6 +6879,7 @@ func awsAwsjson11_deserializeDocumentBuildBatchPhase(v **types.BuildBatchPhase, } } + default: _, _ = key, value @@ -6866,10 +6949,12 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte if err := awsAwsjson11_deserializeDocumentBuildSummary(&sv.CurrentBuildSummary, value); err != nil { return err } + case "dependsOn": if err := awsAwsjson11_deserializeDocumentIdentifiers(&sv.DependsOn, value); err != nil { return err } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -6878,6 +6963,7 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte } sv.Identifier = ptr.String(jtv) } + case "ignoreFailure": if value != nil { jtv, ok := value.(bool) @@ -6886,10 +6972,12 @@ func awsAwsjson11_deserializeDocumentBuildGroup(v **types.BuildGroup, value inte } sv.IgnoreFailure = jtv } + case "priorBuildSummaryList": if err := awsAwsjson11_deserializeDocumentBuildSummaries(&sv.PriorBuildSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -6999,6 +7087,7 @@ func awsAwsjson11_deserializeDocumentBuildNotDeleted(v **types.BuildNotDeleted, } sv.Id = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -7007,6 +7096,7 @@ func awsAwsjson11_deserializeDocumentBuildNotDeleted(v **types.BuildNotDeleted, } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7042,6 +7132,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte if err := awsAwsjson11_deserializeDocumentPhaseContexts(&sv.Contexts, value); err != nil { return err } + case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7054,6 +7145,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.DurationInSeconds = ptr.Int64(i64) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -7069,6 +7161,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } } + case "phaseStatus": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7170,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.PhaseStatus = types.StatusType(jtv) } + case "phaseType": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7179,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } sv.PhaseType = types.BuildPhaseType(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -7100,6 +7195,7 @@ func awsAwsjson11_deserializeDocumentBuildPhase(v **types.BuildPhase, value inte } } + default: _, _ = key, value @@ -7277,6 +7373,7 @@ func awsAwsjson11_deserializeDocumentBuildStatusConfig(v **types.BuildStatusConf } sv.Context = ptr.String(jtv) } + case "targetUrl": if value != nil { jtv, ok := value.(string) @@ -7285,6 +7382,7 @@ func awsAwsjson11_deserializeDocumentBuildStatusConfig(v **types.BuildStatusConf } sv.TargetUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -7358,6 +7456,7 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } sv.Arn = ptr.String(jtv) } + case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -7366,10 +7465,12 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } sv.BuildStatus = types.StatusType(jtv) } + case "primaryArtifact": if err := awsAwsjson11_deserializeDocumentResolvedArtifact(&sv.PrimaryArtifact, value); err != nil { return err } + case "requestedOn": if value != nil { switch jtv := value.(type) { @@ -7385,10 +7486,12 @@ func awsAwsjson11_deserializeDocumentBuildSummary(v **types.BuildSummary, value } } + case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentResolvedSecondaryArtifacts(&sv.SecondaryArtifacts, value); err != nil { return err } + default: _, _ = key, value @@ -7428,6 +7531,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.GroupName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7436,6 +7540,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.Status = types.LogsConfigStatusType(jtv) } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -7444,6 +7549,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(v **types.CloudWatchLo } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -7508,6 +7614,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } + case "branchesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7520,6 +7627,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.BranchesCovered = ptr.Int32(int32(i64)) } + case "branchesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7532,6 +7640,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.BranchesMissed = ptr.Int32(int32(i64)) } + case "expired": if value != nil { switch jtv := value.(type) { @@ -7547,6 +7656,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -7555,6 +7665,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.FilePath = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7563,6 +7674,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.Id = ptr.String(jtv) } + case "lineCoveragePercentage": if value != nil { switch jtv := value.(type) { @@ -7596,6 +7708,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } } + case "linesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7608,6 +7721,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.LinesCovered = ptr.Int32(int32(i64)) } + case "linesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7620,6 +7734,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.LinesMissed = ptr.Int32(int32(i64)) } + case "reportARN": if value != nil { jtv, ok := value.(string) @@ -7628,6 +7743,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverage(v **types.CodeCoverage, value } sv.ReportARN = ptr.String(jtv) } + default: _, _ = key, value @@ -7692,6 +7808,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } } + case "branchesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7704,6 +7821,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.BranchesCovered = ptr.Int32(int32(i64)) } + case "branchesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7716,6 +7834,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.BranchesMissed = ptr.Int32(int32(i64)) } + case "lineCoveragePercentage": if value != nil { switch jtv := value.(type) { @@ -7749,6 +7868,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } } + case "linesCovered": if value != nil { jtv, ok := value.(json.Number) @@ -7761,6 +7881,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.LinesCovered = ptr.Int32(int32(i64)) } + case "linesMissed": if value != nil { jtv, ok := value.(json.Number) @@ -7773,6 +7894,7 @@ func awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(v **types.CodeCov } sv.LinesMissed = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7882,6 +8004,7 @@ func awsAwsjson11_deserializeDocumentDebugSession(v **types.DebugSession, value } sv.SessionEnabled = ptr.Bool(jtv) } + case "sessionTarget": if value != nil { jtv, ok := value.(string) @@ -7890,6 +8013,7 @@ func awsAwsjson11_deserializeDocumentDebugSession(v **types.DebugSession, value } sv.SessionTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -7929,6 +8053,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentImage(v **types.EnvironmentImage } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7937,10 +8062,12 @@ func awsAwsjson11_deserializeDocumentEnvironmentImage(v **types.EnvironmentImage } sv.Name = ptr.String(jtv) } + case "versions": if err := awsAwsjson11_deserializeDocumentImageVersions(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -8010,6 +8137,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentLanguage(v **types.EnvironmentLa if err := awsAwsjson11_deserializeDocumentEnvironmentImages(&sv.Images, value); err != nil { return err } + case "language": if value != nil { jtv, ok := value.(string) @@ -8018,6 +8146,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentLanguage(v **types.EnvironmentLa } sv.Language = types.LanguageType(jtv) } + default: _, _ = key, value @@ -8087,6 +8216,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentPlatform(v **types.EnvironmentPl if err := awsAwsjson11_deserializeDocumentEnvironmentLanguages(&sv.Languages, value); err != nil { return err } + case "platform": if value != nil { jtv, ok := value.(string) @@ -8095,6 +8225,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentPlatform(v **types.EnvironmentPl } sv.Platform = types.PlatformType(jtv) } + default: _, _ = key, value @@ -8168,6 +8299,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8176,6 +8308,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Type = types.EnvironmentVariableType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8184,6 +8317,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8257,6 +8391,7 @@ func awsAwsjson11_deserializeDocumentExportedEnvironmentVariable(v **types.Expor } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8265,6 +8400,7 @@ func awsAwsjson11_deserializeDocumentExportedEnvironmentVariable(v **types.Expor } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8404,6 +8540,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "baseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8416,6 +8553,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.BaseCapacity = ptr.Int32(int32(i64)) } + case "computeType": if value != nil { jtv, ok := value.(string) @@ -8424,6 +8562,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ComputeType = types.ComputeType(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -8439,6 +8578,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } + case "environmentType": if value != nil { jtv, ok := value.(string) @@ -8447,6 +8587,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.EnvironmentType = types.EnvironmentType(jtv) } + case "fleetServiceRole": if value != nil { jtv, ok := value.(string) @@ -8455,6 +8596,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.FleetServiceRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8463,6 +8605,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Id = ptr.String(jtv) } + case "imageId": if value != nil { jtv, ok := value.(string) @@ -8471,6 +8614,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.ImageId = ptr.String(jtv) } + case "lastModified": if value != nil { switch jtv := value.(type) { @@ -8486,6 +8630,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8494,6 +8639,7 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } + case "overflowBehavior": if value != nil { jtv, ok := value.(string) @@ -8502,26 +8648,32 @@ func awsAwsjson11_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.OverflowBehavior = types.FleetOverflowBehavior(jtv) } + case "proxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } + case "scalingConfiguration": if err := awsAwsjson11_deserializeDocumentScalingConfigurationOutput(&sv.ScalingConfiguration, value); err != nil { return err } + case "status": if err := awsAwsjson11_deserializeDocumentFleetStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8633,10 +8785,12 @@ func awsAwsjson11_deserializeDocumentFleetProxyRule(v **types.FleetProxyRule, va } sv.Effect = types.FleetProxyRuleEffectType(jtv) } + case "entities": if err := awsAwsjson11_deserializeDocumentFleetProxyRuleEntities(&sv.Entities, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8645,6 +8799,7 @@ func awsAwsjson11_deserializeDocumentFleetProxyRule(v **types.FleetProxyRule, va } sv.Type = types.FleetProxyRuleType(jtv) } + default: _, _ = key, value @@ -8788,6 +8943,7 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.Context = types.FleetContextCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -8796,6 +8952,7 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.Message = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -8804,6 +8961,7 @@ func awsAwsjson11_deserializeDocumentFleetStatus(v **types.FleetStatus, value in } sv.StatusCode = types.FleetStatusCode(jtv) } + default: _, _ = key, value @@ -8843,6 +9001,7 @@ func awsAwsjson11_deserializeDocumentGitSubmodulesConfig(v **types.GitSubmodules } sv.FetchSubmodules = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8954,6 +9113,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8989,10 +9149,12 @@ func awsAwsjson11_deserializeDocumentLogsConfig(v **types.LogsConfig, value inte if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(&sv.CloudWatchLogs, value); err != nil { return err } + case "s3Logs": if err := awsAwsjson11_deserializeDocumentS3LogsConfig(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -9028,6 +9190,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfig(&sv.CloudWatchLogs, value); err != nil { return err } + case "cloudWatchLogsArn": if value != nil { jtv, ok := value.(string) @@ -9036,6 +9199,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.CloudWatchLogsArn = ptr.String(jtv) } + case "deepLink": if value != nil { jtv, ok := value.(string) @@ -9044,6 +9208,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.DeepLink = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -9052,6 +9217,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.GroupName = ptr.String(jtv) } + case "s3DeepLink": if value != nil { jtv, ok := value.(string) @@ -9060,10 +9226,12 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.S3DeepLink = ptr.String(jtv) } + case "s3Logs": if err := awsAwsjson11_deserializeDocumentS3LogsConfig(&sv.S3Logs, value); err != nil { return err } + case "s3LogsArn": if value != nil { jtv, ok := value.(string) @@ -9072,6 +9240,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.S3LogsArn = ptr.String(jtv) } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -9080,6 +9249,7 @@ func awsAwsjson11_deserializeDocumentLogsLocation(v **types.LogsLocation, value } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -9119,6 +9289,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -9127,6 +9298,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -9166,6 +9338,7 @@ func awsAwsjson11_deserializeDocumentOAuthProviderException(v **types.OAuthProvi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9205,6 +9378,7 @@ func awsAwsjson11_deserializeDocumentPhaseContext(v **types.PhaseContext, value } sv.Message = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -9213,6 +9387,7 @@ func awsAwsjson11_deserializeDocumentPhaseContext(v **types.PhaseContext, value } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9286,10 +9461,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } + case "artifacts": if err := awsAwsjson11_deserializeDocumentProjectArtifacts(&sv.Artifacts, value); err != nil { return err } + case "autoRetryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -9302,18 +9479,22 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.AutoRetryLimit = ptr.Int32(int32(i64)) } + case "badge": if err := awsAwsjson11_deserializeDocumentProjectBadge(&sv.Badge, value); err != nil { return err } + case "buildBatchConfig": if err := awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(&sv.BuildBatchConfig, value); err != nil { return err } + case "cache": if err := awsAwsjson11_deserializeDocumentProjectCache(&sv.Cache, value); err != nil { return err } + case "concurrentBuildLimit": if value != nil { jtv, ok := value.(json.Number) @@ -9326,6 +9507,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ConcurrentBuildLimit = ptr.Int32(int32(i64)) } + case "created": if value != nil { switch jtv := value.(type) { @@ -9341,6 +9523,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9349,6 +9532,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Description = ptr.String(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -9357,14 +9541,17 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.EncryptionKey = ptr.String(jtv) } + case "environment": if err := awsAwsjson11_deserializeDocumentProjectEnvironment(&sv.Environment, value); err != nil { return err } + case "fileSystemLocations": if err := awsAwsjson11_deserializeDocumentProjectFileSystemLocations(&sv.FileSystemLocations, value); err != nil { return err } + case "lastModified": if value != nil { switch jtv := value.(type) { @@ -9380,10 +9567,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } + case "logsConfig": if err := awsAwsjson11_deserializeDocumentLogsConfig(&sv.LogsConfig, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9392,6 +9581,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } + case "projectVisibility": if value != nil { jtv, ok := value.(string) @@ -9400,6 +9590,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectVisibility = types.ProjectVisibilityType(jtv) } + case "publicProjectAlias": if value != nil { jtv, ok := value.(string) @@ -9408,6 +9599,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.PublicProjectAlias = ptr.String(jtv) } + case "queuedTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9420,6 +9612,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.QueuedTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "resourceAccessRole": if value != nil { jtv, ok := value.(string) @@ -9428,18 +9621,22 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ResourceAccessRole = ptr.String(jtv) } + case "secondaryArtifacts": if err := awsAwsjson11_deserializeDocumentProjectArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } + case "secondarySources": if err := awsAwsjson11_deserializeDocumentProjectSources(&sv.SecondarySources, value); err != nil { return err } + case "secondarySourceVersions": if err := awsAwsjson11_deserializeDocumentProjectSecondarySourceVersions(&sv.SecondarySourceVersions, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -9448,10 +9645,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ServiceRole = ptr.String(jtv) } + case "source": if err := awsAwsjson11_deserializeDocumentProjectSource(&sv.Source, value); err != nil { return err } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -9460,10 +9659,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.SourceVersion = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9476,14 +9677,17 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + case "webhook": if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -9559,6 +9763,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.ArtifactIdentifier = ptr.String(jtv) } + case "bucketOwnerAccess": if value != nil { jtv, ok := value.(string) @@ -9567,6 +9772,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } + case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -9575,6 +9781,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -9583,6 +9790,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Location = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9591,6 +9799,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Name = ptr.String(jtv) } + case "namespaceType": if value != nil { jtv, ok := value.(string) @@ -9599,6 +9808,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.NamespaceType = types.ArtifactNamespace(jtv) } + case "overrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -9607,6 +9817,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.OverrideArtifactName = ptr.Bool(jtv) } + case "packaging": if value != nil { jtv, ok := value.(string) @@ -9615,6 +9826,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Packaging = types.ArtifactPackaging(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -9623,6 +9835,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Path = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9631,6 +9844,7 @@ func awsAwsjson11_deserializeDocumentProjectArtifacts(v **types.ProjectArtifacts } sv.Type = types.ArtifactsType(jtv) } + default: _, _ = key, value @@ -9704,6 +9918,7 @@ func awsAwsjson11_deserializeDocumentProjectBadge(v **types.ProjectBadge, value } sv.BadgeEnabled = jtv } + case "badgeRequestUrl": if value != nil { jtv, ok := value.(string) @@ -9712,6 +9927,7 @@ func awsAwsjson11_deserializeDocumentProjectBadge(v **types.ProjectBadge, value } sv.BadgeRequestUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9751,6 +9967,7 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.BatchReportMode = types.BatchReportModeType(jtv) } + case "combineArtifacts": if value != nil { jtv, ok := value.(bool) @@ -9759,10 +9976,12 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.CombineArtifacts = ptr.Bool(jtv) } + case "restrictions": if err := awsAwsjson11_deserializeDocumentBatchRestrictions(&sv.Restrictions, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -9771,6 +9990,7 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.ServiceRole = ptr.String(jtv) } + case "timeoutInMins": if value != nil { jtv, ok := value.(json.Number) @@ -9783,6 +10003,7 @@ func awsAwsjson11_deserializeDocumentProjectBuildBatchConfig(v **types.ProjectBu } sv.TimeoutInMins = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9822,10 +10043,12 @@ func awsAwsjson11_deserializeDocumentProjectCache(v **types.ProjectCache, value } sv.Location = ptr.String(jtv) } + case "modes": if err := awsAwsjson11_deserializeDocumentProjectCacheModes(&sv.Modes, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9834,6 +10057,7 @@ func awsAwsjson11_deserializeDocumentProjectCache(v **types.ProjectCache, value } sv.Type = types.CacheType(jtv) } + default: _, _ = key, value @@ -9909,6 +10133,7 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Certificate = ptr.String(jtv) } + case "computeType": if value != nil { jtv, ok := value.(string) @@ -9917,14 +10142,17 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.ComputeType = types.ComputeType(jtv) } + case "environmentVariables": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.EnvironmentVariables, value); err != nil { return err } + case "fleet": if err := awsAwsjson11_deserializeDocumentProjectFleet(&sv.Fleet, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -9933,6 +10161,7 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Image = ptr.String(jtv) } + case "imagePullCredentialsType": if value != nil { jtv, ok := value.(string) @@ -9941,6 +10170,7 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.ImagePullCredentialsType = types.ImagePullCredentialsType(jtv) } + case "privilegedMode": if value != nil { jtv, ok := value.(bool) @@ -9949,10 +10179,12 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.PrivilegedMode = ptr.Bool(jtv) } + case "registryCredential": if err := awsAwsjson11_deserializeDocumentRegistryCredential(&sv.RegistryCredential, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9961,6 +10193,7 @@ func awsAwsjson11_deserializeDocumentProjectEnvironment(v **types.ProjectEnviron } sv.Type = types.EnvironmentType(jtv) } + default: _, _ = key, value @@ -10000,6 +10233,7 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Identifier = ptr.String(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -10008,6 +10242,7 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Location = ptr.String(jtv) } + case "mountOptions": if value != nil { jtv, ok := value.(string) @@ -10016,6 +10251,7 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.MountOptions = ptr.String(jtv) } + case "mountPoint": if value != nil { jtv, ok := value.(string) @@ -10024,6 +10260,7 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.MountPoint = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10032,6 +10269,7 @@ func awsAwsjson11_deserializeDocumentProjectFileSystemLocation(v **types.Project } sv.Type = types.FileSystemType(jtv) } + default: _, _ = key, value @@ -10105,6 +10343,7 @@ func awsAwsjson11_deserializeDocumentProjectFleet(v **types.ProjectFleet, value } sv.FleetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10244,6 +10483,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu if err := awsAwsjson11_deserializeDocumentSourceAuth(&sv.Auth, value); err != nil { return err } + case "buildspec": if value != nil { jtv, ok := value.(string) @@ -10252,10 +10492,12 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Buildspec = ptr.String(jtv) } + case "buildStatusConfig": if err := awsAwsjson11_deserializeDocumentBuildStatusConfig(&sv.BuildStatusConfig, value); err != nil { return err } + case "gitCloneDepth": if value != nil { jtv, ok := value.(json.Number) @@ -10268,10 +10510,12 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.GitCloneDepth = ptr.Int32(int32(i64)) } + case "gitSubmodulesConfig": if err := awsAwsjson11_deserializeDocumentGitSubmodulesConfig(&sv.GitSubmodulesConfig, value); err != nil { return err } + case "insecureSsl": if value != nil { jtv, ok := value.(bool) @@ -10280,6 +10524,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.InsecureSsl = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -10288,6 +10533,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Location = ptr.String(jtv) } + case "reportBuildStatus": if value != nil { jtv, ok := value.(bool) @@ -10296,6 +10542,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.ReportBuildStatus = ptr.Bool(jtv) } + case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -10304,6 +10551,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.SourceIdentifier = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10312,6 +10560,7 @@ func awsAwsjson11_deserializeDocumentProjectSource(v **types.ProjectSource, valu } sv.Type = types.SourceType(jtv) } + default: _, _ = key, value @@ -10385,6 +10634,7 @@ func awsAwsjson11_deserializeDocumentProjectSourceVersion(v **types.ProjectSourc } sv.SourceIdentifier = ptr.String(jtv) } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -10393,6 +10643,7 @@ func awsAwsjson11_deserializeDocumentProjectSourceVersion(v **types.ProjectSourc } sv.SourceVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10432,10 +10683,12 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.DefaultBehavior = types.FleetProxyRuleBehavior(jtv) } + case "orderedProxyRules": if err := awsAwsjson11_deserializeDocumentFleetProxyRules(&sv.OrderedProxyRules, value); err != nil { return err } + default: _, _ = key, value @@ -10475,6 +10728,7 @@ func awsAwsjson11_deserializeDocumentRegistryCredential(v **types.RegistryCreden } sv.Credential = ptr.String(jtv) } + case "credentialProvider": if value != nil { jtv, ok := value.(string) @@ -10483,6 +10737,7 @@ func awsAwsjson11_deserializeDocumentRegistryCredential(v **types.RegistryCreden } sv.CredentialProvider = types.CredentialProviderType(jtv) } + default: _, _ = key, value @@ -10522,10 +10777,12 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Arn = ptr.String(jtv) } + case "codeCoverageSummary": if err := awsAwsjson11_deserializeDocumentCodeCoverageReportSummary(&sv.CodeCoverageSummary, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -10541,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } } + case "executionId": if value != nil { jtv, ok := value.(string) @@ -10549,6 +10807,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.ExecutionId = ptr.String(jtv) } + case "expired": if value != nil { switch jtv := value.(type) { @@ -10564,10 +10823,12 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } } + case "exportConfig": if err := awsAwsjson11_deserializeDocumentReportExportConfig(&sv.ExportConfig, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10576,6 +10837,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Name = ptr.String(jtv) } + case "reportGroupArn": if value != nil { jtv, ok := value.(string) @@ -10584,6 +10846,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.ReportGroupArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10592,10 +10855,12 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Status = types.ReportStatusType(jtv) } + case "testSummary": if err := awsAwsjson11_deserializeDocumentTestReportSummary(&sv.TestSummary, value); err != nil { return err } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10604,6 +10869,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Truncated = ptr.Bool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10612,6 +10878,7 @@ func awsAwsjson11_deserializeDocumentReport(v **types.Report, value interface{}) } sv.Type = types.ReportType(jtv) } + default: _, _ = key, value @@ -10687,10 +10954,12 @@ func awsAwsjson11_deserializeDocumentReportExportConfig(v **types.ReportExportCo } sv.ExportConfigType = types.ReportExportConfigType(jtv) } + case "s3Destination": if err := awsAwsjson11_deserializeDocumentS3ReportExportConfig(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -10730,6 +10999,7 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Arn = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -10745,10 +11015,12 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } } + case "exportConfig": if err := awsAwsjson11_deserializeDocumentReportExportConfig(&sv.ExportConfig, value); err != nil { return err } + case "lastModified": if value != nil { switch jtv := value.(type) { @@ -10764,6 +11036,7 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10772,6 +11045,7 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10780,10 +11054,12 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Status = types.ReportGroupStatusType(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10792,6 +11068,7 @@ func awsAwsjson11_deserializeDocumentReportGroup(v **types.ReportGroup, value in } sv.Type = types.ReportType(jtv) } + default: _, _ = key, value @@ -10935,6 +11212,7 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Average = ptr.String(jtv) } + case "max": if value != nil { jtv, ok := value.(string) @@ -10943,6 +11221,7 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Max = ptr.String(jtv) } + case "min": if value != nil { jtv, ok := value.(string) @@ -10951,6 +11230,7 @@ func awsAwsjson11_deserializeDocumentReportGroupTrendStats(v **types.ReportGroup } sv.Min = ptr.String(jtv) } + default: _, _ = key, value @@ -11064,6 +11344,7 @@ func awsAwsjson11_deserializeDocumentReportWithRawData(v **types.ReportWithRawDa } sv.Data = ptr.String(jtv) } + case "reportArn": if value != nil { jtv, ok := value.(string) @@ -11072,6 +11353,7 @@ func awsAwsjson11_deserializeDocumentReportWithRawData(v **types.ReportWithRawDa } sv.ReportArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11111,6 +11393,7 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Identifier = ptr.String(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -11119,6 +11402,7 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Location = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11411,7 @@ func awsAwsjson11_deserializeDocumentResolvedArtifact(v **types.ResolvedArtifact } sv.Type = types.ArtifactsType(jtv) } + default: _, _ = key, value @@ -11200,6 +11485,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11239,6 +11525,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11278,6 +11565,7 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.BucketOwnerAccess = types.BucketOwnerAccess(jtv) } + case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -11286,6 +11574,7 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -11294,6 +11583,7 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.Location = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11302,6 +11592,7 @@ func awsAwsjson11_deserializeDocumentS3LogsConfig(v **types.S3LogsConfig, value } sv.Status = types.LogsConfigStatusType(jtv) } + default: _, _ = key, value @@ -11341,6 +11632,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Bucket = ptr.String(jtv) } + case "bucketOwner": if value != nil { jtv, ok := value.(string) @@ -11349,6 +11641,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.BucketOwner = ptr.String(jtv) } + case "encryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -11357,6 +11650,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -11365,6 +11659,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.EncryptionKey = ptr.String(jtv) } + case "packaging": if value != nil { jtv, ok := value.(string) @@ -11373,6 +11668,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Packaging = types.ReportPackagingType(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -11381,6 +11677,7 @@ func awsAwsjson11_deserializeDocumentS3ReportExportConfig(v **types.S3ReportExpo } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -11424,6 +11721,7 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.DesiredCapacity = ptr.Int32(int32(i64)) } + case "maxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11436,6 +11734,7 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "scalingType": if value != nil { jtv, ok := value.(string) @@ -11444,10 +11743,12 @@ func awsAwsjson11_deserializeDocumentScalingConfigurationOutput(v **types.Scalin } sv.ScalingType = types.FleetScalingType(jtv) } + case "targetTrackingScalingConfigs": if err := awsAwsjson11_deserializeDocumentTargetTrackingScalingConfigurations(&sv.TargetTrackingScalingConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -11487,6 +11788,7 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Domain = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11495,6 +11797,7 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Name = ptr.String(jtv) } + case "scope": if value != nil { jtv, ok := value.(string) @@ -11503,6 +11806,7 @@ func awsAwsjson11_deserializeDocumentScopeConfiguration(v **types.ScopeConfigura } sv.Scope = types.WebhookScopeType(jtv) } + default: _, _ = key, value @@ -11578,6 +11882,7 @@ func awsAwsjson11_deserializeDocumentSourceAuth(v **types.SourceAuth, value inte } sv.Resource = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11586,6 +11891,7 @@ func awsAwsjson11_deserializeDocumentSourceAuth(v **types.SourceAuth, value inte } sv.Type = types.SourceAuthType(jtv) } + default: _, _ = key, value @@ -11625,6 +11931,7 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -11633,6 +11940,7 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.AuthType = types.AuthType(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -11641,6 +11949,7 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.Resource = ptr.String(jtv) } + case "serverType": if value != nil { jtv, ok := value.(string) @@ -11649,6 +11958,7 @@ func awsAwsjson11_deserializeDocumentSourceCredentialsInfo(v **types.SourceCrede } sv.ServerType = types.ServerType(jtv) } + default: _, _ = key, value @@ -11758,6 +12068,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11766,6 +12077,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11839,6 +12151,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingConfiguration(v **type } sv.MetricType = types.FleetScalingMetricType(jtv) } + case "targetValue": if value != nil { switch jtv := value.(type) { @@ -11872,6 +12185,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingConfiguration(v **type } } + default: _, _ = key, value @@ -11949,6 +12263,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.DurationInNanoSeconds = ptr.Int64(i64) } + case "expired": if value != nil { switch jtv := value.(type) { @@ -11964,6 +12279,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } } + case "message": if value != nil { jtv, ok := value.(string) @@ -11972,6 +12288,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11980,6 +12297,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Name = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -11988,6 +12306,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Prefix = ptr.String(jtv) } + case "reportArn": if value != nil { jtv, ok := value.(string) @@ -11996,6 +12315,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.ReportArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12004,6 +12324,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.Status = ptr.String(jtv) } + case "testRawDataPath": if value != nil { jtv, ok := value.(string) @@ -12012,6 +12333,7 @@ func awsAwsjson11_deserializeDocumentTestCase(v **types.TestCase, value interfac } sv.TestRawDataPath = ptr.String(jtv) } + default: _, _ = key, value @@ -12089,10 +12411,12 @@ func awsAwsjson11_deserializeDocumentTestReportSummary(v **types.TestReportSumma } sv.DurationInNanoSeconds = ptr.Int64(i64) } + case "statusCounts": if err := awsAwsjson11_deserializeDocumentReportStatusCounts(&sv.StatusCounts, value); err != nil { return err } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -12105,6 +12429,7 @@ func awsAwsjson11_deserializeDocumentTestReportSummary(v **types.TestReportSumma } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12140,10 +12465,12 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -12152,6 +12479,7 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -12191,6 +12519,7 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BranchFilter = ptr.String(jtv) } + case "buildType": if value != nil { jtv, ok := value.(string) @@ -12199,10 +12528,12 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.BuildType = types.WebhookBuildType(jtv) } + case "filterGroups": if err := awsAwsjson11_deserializeDocumentFilterGroups(&sv.FilterGroups, value); err != nil { return err } + case "lastModifiedSecret": if value != nil { switch jtv := value.(type) { @@ -12218,6 +12549,7 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } } + case "manualCreation": if value != nil { jtv, ok := value.(bool) @@ -12226,6 +12558,7 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.ManualCreation = ptr.Bool(jtv) } + case "payloadUrl": if value != nil { jtv, ok := value.(string) @@ -12234,10 +12567,12 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.PayloadUrl = ptr.String(jtv) } + case "scopeConfiguration": if err := awsAwsjson11_deserializeDocumentScopeConfiguration(&sv.ScopeConfiguration, value); err != nil { return err } + case "secret": if value != nil { jtv, ok := value.(string) @@ -12246,6 +12581,7 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Secret = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -12254,6 +12590,7 @@ func awsAwsjson11_deserializeDocumentWebhook(v **types.Webhook, value interface{ } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -12293,6 +12630,7 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.ExcludeMatchedPattern = ptr.Bool(jtv) } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -12301,6 +12639,7 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.Pattern = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12309,6 +12648,7 @@ func awsAwsjson11_deserializeDocumentWebhookFilter(v **types.WebhookFilter, valu } sv.Type = types.WebhookFilterType(jtv) } + default: _, _ = key, value @@ -12344,10 +12684,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteBuildsOutput(v **BatchDeleteBu if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsDeleted, value); err != nil { return err } + case "buildsNotDeleted": if err := awsAwsjson11_deserializeDocumentBuildsNotDeleted(&sv.BuildsNotDeleted, value); err != nil { return err } + default: _, _ = key, value @@ -12383,10 +12725,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBuildBatchesOutput(v **BatchGetBu if err := awsAwsjson11_deserializeDocumentBuildBatches(&sv.BuildBatches, value); err != nil { return err } + case "buildBatchesNotFound": if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.BuildBatchesNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12422,10 +12766,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBuildsOutput(v **BatchGetBuildsOu if err := awsAwsjson11_deserializeDocumentBuilds(&sv.Builds, value); err != nil { return err } + case "buildsNotFound": if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12461,10 +12807,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetFleetsOutput(v **BatchGetFleetsOu if err := awsAwsjson11_deserializeDocumentFleets(&sv.Fleets, value); err != nil { return err } + case "fleetsNotFound": if err := awsAwsjson11_deserializeDocumentFleetNames(&sv.FleetsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12500,10 +12848,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetProjectsOutput(v **BatchGetProjec if err := awsAwsjson11_deserializeDocumentProjects(&sv.Projects, value); err != nil { return err } + case "projectsNotFound": if err := awsAwsjson11_deserializeDocumentProjectNames(&sv.ProjectsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12539,10 +12889,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetReportGroupsOutput(v **BatchGetRe if err := awsAwsjson11_deserializeDocumentReportGroups(&sv.ReportGroups, value); err != nil { return err } + case "reportGroupsNotFound": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroupsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12578,10 +12930,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetReportsOutput(v **BatchGetReports if err := awsAwsjson11_deserializeDocumentReports(&sv.Reports, value); err != nil { return err } + case "reportsNotFound": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.ReportsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -12617,6 +12971,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } + default: _, _ = key, value @@ -12652,6 +13007,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -12687,6 +13043,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReportGroupOutput(v **CreateReportG if err := awsAwsjson11_deserializeDocumentReportGroup(&sv.ReportGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12722,6 +13079,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWebhookOutput(v **CreateWebhookOutp if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -12757,10 +13115,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteBuildBatchOutput(v **DeleteBuildBat if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.BuildsDeleted, value); err != nil { return err } + case "buildsNotDeleted": if err := awsAwsjson11_deserializeDocumentBuildsNotDeleted(&sv.BuildsNotDeleted, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -12769,6 +13129,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBuildBatchOutput(v **DeleteBuildBat } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -12963,6 +13324,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSourceCredentialsOutput(v **DeleteS } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -13029,6 +13391,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeCoveragesOutput(v **DescribeC if err := awsAwsjson11_deserializeDocumentCodeCoverages(&sv.CodeCoverages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13037,6 +13400,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeCoveragesOutput(v **DescribeC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13076,10 +13440,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTestCasesOutput(v **DescribeTestC } sv.NextToken = ptr.String(jtv) } + case "testCases": if err := awsAwsjson11_deserializeDocumentTestCases(&sv.TestCases, value); err != nil { return err } + default: _, _ = key, value @@ -13115,10 +13481,12 @@ func awsAwsjson11_deserializeOpDocumentGetReportGroupTrendOutput(v **GetReportGr if err := awsAwsjson11_deserializeDocumentReportGroupTrendRawDataList(&sv.RawData, value); err != nil { return err } + case "stats": if err := awsAwsjson11_deserializeDocumentReportGroupTrendStats(&sv.Stats, value); err != nil { return err } + default: _, _ = key, value @@ -13158,6 +13526,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -13197,6 +13566,7 @@ func awsAwsjson11_deserializeOpDocumentImportSourceCredentialsOutput(v **ImportS } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -13263,6 +13633,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesForProjectOutput(v **List if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.Ids, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13271,6 +13642,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesForProjectOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13306,6 +13678,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesOutput(v **ListBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatchIds(&sv.Ids, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13687,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildBatchesOutput(v **ListBuildBatch } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13349,6 +13723,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsForProjectOutput(v **ListBuilds if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.Ids, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13357,6 +13732,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsForProjectOutput(v **ListBuilds } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13392,6 +13768,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va if err := awsAwsjson11_deserializeDocumentBuildIds(&sv.Ids, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13400,6 +13777,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13435,6 +13813,7 @@ func awsAwsjson11_deserializeOpDocumentListCuratedEnvironmentImagesOutput(v **Li if err := awsAwsjson11_deserializeDocumentEnvironmentPlatforms(&sv.Platforms, value); err != nil { return err } + default: _, _ = key, value @@ -13470,6 +13849,7 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson11_deserializeDocumentFleetArns(&sv.Fleets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13478,6 +13858,7 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13517,10 +13898,12 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "projects": if err := awsAwsjson11_deserializeDocumentProjectNames(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -13560,10 +13943,12 @@ func awsAwsjson11_deserializeOpDocumentListReportGroupsOutput(v **ListReportGrou } sv.NextToken = ptr.String(jtv) } + case "reportGroups": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroups, value); err != nil { return err } + default: _, _ = key, value @@ -13603,10 +13988,12 @@ func awsAwsjson11_deserializeOpDocumentListReportsForReportGroupOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + case "reports": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.Reports, value); err != nil { return err } + default: _, _ = key, value @@ -13646,10 +14033,12 @@ func awsAwsjson11_deserializeOpDocumentListReportsOutput(v **ListReportsOutput, } sv.NextToken = ptr.String(jtv) } + case "reports": if err := awsAwsjson11_deserializeDocumentReportArns(&sv.Reports, value); err != nil { return err } + default: _, _ = key, value @@ -13689,10 +14078,12 @@ func awsAwsjson11_deserializeOpDocumentListSharedProjectsOutput(v **ListSharedPr } sv.NextToken = ptr.String(jtv) } + case "projects": if err := awsAwsjson11_deserializeDocumentProjectArns(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -13732,10 +14123,12 @@ func awsAwsjson11_deserializeOpDocumentListSharedReportGroupsOutput(v **ListShar } sv.NextToken = ptr.String(jtv) } + case "reportGroups": if err := awsAwsjson11_deserializeDocumentReportGroupArns(&sv.ReportGroups, value); err != nil { return err } + default: _, _ = key, value @@ -13771,6 +14164,7 @@ func awsAwsjson11_deserializeOpDocumentListSourceCredentialsOutput(v **ListSourc if err := awsAwsjson11_deserializeDocumentSourceCredentialsInfos(&sv.SourceCredentialsInfos, value); err != nil { return err } + default: _, _ = key, value @@ -13810,6 +14204,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13845,6 +14240,7 @@ func awsAwsjson11_deserializeOpDocumentRetryBuildBatchOutput(v **RetryBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } + default: _, _ = key, value @@ -13880,6 +14276,7 @@ func awsAwsjson11_deserializeOpDocumentRetryBuildOutput(v **RetryBuildOutput, va if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + default: _, _ = key, value @@ -13915,6 +14312,7 @@ func awsAwsjson11_deserializeOpDocumentStartBuildBatchOutput(v **StartBuildBatch if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } + default: _, _ = key, value @@ -13950,6 +14348,7 @@ func awsAwsjson11_deserializeOpDocumentStartBuildOutput(v **StartBuildOutput, va if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + default: _, _ = key, value @@ -13985,6 +14384,7 @@ func awsAwsjson11_deserializeOpDocumentStopBuildBatchOutput(v **StopBuildBatchOu if err := awsAwsjson11_deserializeDocumentBuildBatch(&sv.BuildBatch, value); err != nil { return err } + default: _, _ = key, value @@ -14020,6 +14420,7 @@ func awsAwsjson11_deserializeOpDocumentStopBuildOutput(v **StopBuildOutput, valu if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + default: _, _ = key, value @@ -14055,6 +14456,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleet(&sv.Fleet, value); err != nil { return err } + default: _, _ = key, value @@ -14090,6 +14492,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -14129,6 +14532,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.ProjectArn = ptr.String(jtv) } + case "projectVisibility": if value != nil { jtv, ok := value.(string) @@ -14137,6 +14541,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.ProjectVisibility = types.ProjectVisibilityType(jtv) } + case "publicProjectAlias": if value != nil { jtv, ok := value.(string) @@ -14145,6 +14550,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectVisibilityOutput(v **UpdateP } sv.PublicProjectAlias = ptr.String(jtv) } + default: _, _ = key, value @@ -14180,6 +14586,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateReportGroupOutput(v **UpdateReportG if err := awsAwsjson11_deserializeDocumentReportGroup(&sv.ReportGroup, value); err != nil { return err } + default: _, _ = key, value @@ -14215,6 +14622,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebhookOutput(v **UpdateWebhookOutp if err := awsAwsjson11_deserializeDocumentWebhook(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codecatalyst/deserializers.go b/service/codecatalyst/deserializers.go index 52ec7927c0b..c99d2a96c1d 100644 --- a/service/codecatalyst/deserializers.go +++ b/service/codecatalyst/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.AccessTokenId = ptr.String(jtv) } + case "expiresTime": if value != nil { jtv, ok := value.(string) @@ -202,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.ExpiresTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -210,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.Name = ptr.String(jtv) } + case "secret": if value != nil { jtv, ok := value.(string) @@ -218,6 +221,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessTokenOutput(v **CreateAccessT } sv.Secret = ptr.String(jtv) } + default: _, _ = key, value @@ -388,6 +392,7 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -396,6 +401,7 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -404,6 +410,7 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.SpaceName = ptr.String(jtv) } + case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -412,6 +419,7 @@ func awsRestjson1_deserializeOpDocumentCreateDevEnvironmentOutput(v **CreateDevE } sv.VpcConnectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -582,6 +590,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -590,6 +599,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -598,6 +608,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -606,6 +617,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -776,6 +788,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -784,6 +797,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.Name = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -792,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -800,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryOutput(v **CreateSo } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -970,6 +986,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.HeadCommitId = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -982,6 +999,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -990,6 +1008,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.Name = ptr.String(jtv) } + case "ref": if value != nil { jtv, ok := value.(string) @@ -998,6 +1017,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceRepositoryBranchOutput(v **Cr } sv.Ref = ptr.String(jtv) } + default: _, _ = key, value @@ -1271,6 +1291,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -1279,6 +1300,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1287,6 +1309,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDevEnvironmentOutput(v **DeleteDevE } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -1457,6 +1480,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1465,6 +1489,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Name = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1473,6 +1498,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -1643,6 +1669,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.Name = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -1651,6 +1678,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -1659,6 +1687,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSourceRepositoryOutput(v **DeleteSo } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -1829,6 +1858,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSpaceOutput(v **DeleteSpaceOutput, } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1837,6 +1867,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSpaceOutput(v **DeleteSpaceOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2007,6 +2038,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Alias = ptr.String(jtv) } + case "creatorId": if value != nil { jtv, ok := value.(string) @@ -2015,6 +2047,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.CreatorId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2023,10 +2056,12 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Id = ptr.String(jtv) } + case "ides": if err := awsRestjson1_deserializeDocumentIdes(&sv.Ides, value); err != nil { return err } + case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2039,6 +2074,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.InactivityTimeoutMinutes = int32(i64) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2047,6 +2083,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.InstanceType = types.InstanceType(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -2059,10 +2096,12 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.LastUpdatedTime = ptr.Time(t) } + case "persistentStorage": if err := awsRestjson1_deserializeDocumentPersistentStorage(&sv.PersistentStorage, value); err != nil { return err } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2071,10 +2110,12 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.ProjectName = ptr.String(jtv) } + case "repositories": if err := awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummaries(&sv.Repositories, value); err != nil { return err } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2083,6 +2124,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.SpaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2091,6 +2133,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.Status = types.DevEnvironmentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2099,6 +2142,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.StatusReason = ptr.String(jtv) } + case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -2107,6 +2151,7 @@ func awsRestjson1_deserializeOpDocumentGetDevEnvironmentOutput(v **GetDevEnviron } sv.VpcConnectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -2277,6 +2322,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -2285,6 +2331,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2293,6 +2340,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Name = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2301,6 +2349,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2475,6 +2524,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.CreatedTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2483,6 +2533,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.Description = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -2495,6 +2546,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2503,6 +2555,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.Name = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2511,6 +2564,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -2519,6 +2573,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryOutput(v **GetSourceRe } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2689,6 +2744,7 @@ func awsRestjson1_deserializeOpDocumentGetSourceRepositoryCloneUrlsOutput(v **Ge } sv.Https = ptr.String(jtv) } + default: _, _ = key, value @@ -2859,6 +2915,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -2867,6 +2924,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2875,6 +2933,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Name = ptr.String(jtv) } + case "regionName": if value != nil { jtv, ok := value.(string) @@ -2883,6 +2942,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.RegionName = ptr.String(jtv) } + default: _, _ = key, value @@ -3053,6 +3113,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.AwsAccountName = ptr.String(jtv) } + case "pendingSubscriptionStartTime": if value != nil { jtv, ok := value.(string) @@ -3065,6 +3126,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.PendingSubscriptionStartTime = ptr.Time(t) } + case "pendingSubscriptionType": if value != nil { jtv, ok := value.(string) @@ -3073,6 +3135,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.PendingSubscriptionType = ptr.String(jtv) } + case "subscriptionType": if value != nil { jtv, ok := value.(string) @@ -3081,6 +3144,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.SubscriptionType = ptr.String(jtv) } + default: _, _ = key, value @@ -3251,10 +3315,12 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.DisplayName = ptr.String(jtv) } + case "primaryEmail": if err := awsRestjson1_deserializeDocumentEmailAddress(&sv.PrimaryEmail, value); err != nil { return err } + case "userId": if value != nil { jtv, ok := value.(string) @@ -3263,6 +3329,7 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.UserId = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -3271,6 +3338,7 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.UserName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3279,6 +3347,7 @@ func awsRestjson1_deserializeOpDocumentGetUserDetailsOutput(v **GetUserDetailsOu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3453,10 +3522,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CreatedTime = ptr.Time(t) } + case "definition": if err := awsRestjson1_deserializeDocumentWorkflowDefinition(&sv.Definition, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3465,6 +3536,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3549,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3558,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -3493,6 +3567,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.ProjectName = ptr.String(jtv) } + case "runMode": if value != nil { jtv, ok := value.(string) @@ -3501,6 +3576,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.RunMode = types.WorkflowRunMode(jtv) } + case "sourceBranchName": if value != nil { jtv, ok := value.(string) @@ -3509,6 +3585,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SourceBranchName = ptr.String(jtv) } + case "sourceRepositoryName": if value != nil { jtv, ok := value.(string) @@ -3517,6 +3594,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SourceRepositoryName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -3525,6 +3603,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.SpaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3533,6 +3612,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.WorkflowStatus(jtv) } + default: _, _ = key, value @@ -3707,6 +3787,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.EndTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3715,6 +3796,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -3727,6 +3809,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.LastUpdatedTime = ptr.Time(t) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -3735,6 +3818,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -3743,6 +3827,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.SpaceName = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -3755,6 +3840,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3763,10 +3849,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.Status = types.WorkflowRunStatus(jtv) } + case "statusReasons": if err := awsRestjson1_deserializeDocumentWorkflowRunStatusReasons(&sv.StatusReasons, value); err != nil { return err } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -3775,6 +3863,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -3941,6 +4030,7 @@ func awsRestjson1_deserializeOpDocumentListAccessTokensOutput(v **ListAccessToke if err := awsRestjson1_deserializeDocumentAccessTokenSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3949,6 +4039,7 @@ func awsRestjson1_deserializeOpDocumentListAccessTokensOutput(v **ListAccessToke } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4115,6 +4206,7 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentsOutput(v **ListDevEnvi if err := awsRestjson1_deserializeDocumentDevEnvironmentSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4123,6 +4215,7 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentsOutput(v **ListDevEnvi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4289,6 +4382,7 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentSessionsOutput(v **List if err := awsRestjson1_deserializeDocumentDevEnvironmentSessionsSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4297,6 +4391,7 @@ func awsRestjson1_deserializeOpDocumentListDevEnvironmentSessionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4463,6 +4558,7 @@ func awsRestjson1_deserializeOpDocumentListEventLogsOutput(v **ListEventLogsOutp if err := awsRestjson1_deserializeDocumentEventLogEntries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4471,6 +4567,7 @@ func awsRestjson1_deserializeOpDocumentListEventLogsOutput(v **ListEventLogsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4637,6 +4734,7 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4645,6 +4743,7 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4811,6 +4910,7 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoriesOutput(v **ListSour if err := awsRestjson1_deserializeDocumentListSourceRepositoriesItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4819,6 +4919,7 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoriesOutput(v **ListSour } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4985,6 +5086,7 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoryBranchesOutput(v **Li if err := awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4993,6 +5095,7 @@ func awsRestjson1_deserializeOpDocumentListSourceRepositoryBranchesOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5159,6 +5262,7 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va if err := awsRestjson1_deserializeDocumentSpaceSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5167,6 +5271,7 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5333,6 +5438,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowRunsOutput(v **ListWorkflowRu if err := awsRestjson1_deserializeDocumentWorkflowRunSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5341,6 +5447,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowRunsOutput(v **ListWorkflowRu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5507,6 +5614,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5623,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5685,6 +5794,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -5693,6 +5803,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -5701,6 +5812,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.SpaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5709,6 +5821,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentOutput(v **StartDevEnv } sv.Status = types.DevEnvironmentStatus(jtv) } + default: _, _ = key, value @@ -5875,6 +5988,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star if err := awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(&sv.AccessDetails, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5883,6 +5997,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -5891,6 +6006,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.ProjectName = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -5899,6 +6015,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.SessionId = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -5907,6 +6024,7 @@ func awsRestjson1_deserializeOpDocumentStartDevEnvironmentSessionOutput(v **Star } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6077,6 +6195,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6085,6 +6204,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6093,6 +6213,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.SpaceName = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -6101,6 +6222,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -6271,6 +6393,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6279,6 +6402,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6287,6 +6411,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.SpaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6295,6 +6420,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentOutput(v **StopDevEnvir } sv.Status = types.DevEnvironmentStatus(jtv) } + default: _, _ = key, value @@ -6465,6 +6591,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6473,6 +6600,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.ProjectName = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -6481,6 +6609,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.SessionId = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6618,7 @@ func awsRestjson1_deserializeOpDocumentStopDevEnvironmentSessionOutput(v **StopD } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6659,6 +6789,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.Alias = ptr.String(jtv) } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -6667,6 +6798,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.ClientToken = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6675,10 +6807,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.Id = ptr.String(jtv) } + case "ides": if err := awsRestjson1_deserializeDocumentIdeConfigurationList(&sv.Ides, value); err != nil { return err } + case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6691,6 +6825,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.InactivityTimeoutMinutes = int32(i64) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -6699,6 +6834,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.InstanceType = types.InstanceType(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -6707,6 +6843,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6715,6 +6852,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDevEnvironmentOutput(v **UpdateDevE } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6885,6 +7023,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -6893,6 +7032,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6901,6 +7041,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -6909,6 +7050,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.SpaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -7079,6 +7221,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -7087,6 +7230,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7095,6 +7239,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7265,6 +7410,7 @@ func awsRestjson1_deserializeOpDocumentVerifySessionOutput(v **VerifySessionOutp } sv.Identity = ptr.String(jtv) } + default: _, _ = key, value @@ -7520,6 +7666,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7597,6 +7744,7 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.ExpiresTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7605,6 +7753,7 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7613,6 +7762,7 @@ func awsRestjson1_deserializeDocumentAccessTokenSummary(v **types.AccessTokenSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7652,6 +7802,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7691,6 +7842,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(v **types.DevEn } sv.StreamUrl = ptr.String(jtv) } + case "tokenValue": if value != nil { jtv, ok := value.(string) @@ -7699,6 +7851,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentAccessDetails(v **types.DevEn } sv.TokenValue = ptr.String(jtv) } + default: _, _ = key, value @@ -7772,6 +7925,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummary(v **types.D } sv.BranchName = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7780,6 +7934,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummary(v **types.D } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -7853,6 +8008,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.DevEnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7861,6 +8017,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.Id = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -7869,6 +8026,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.ProjectName = ptr.String(jtv) } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -7877,6 +8035,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.SpaceName = ptr.String(jtv) } + case "startedTime": if value != nil { jtv, ok := value.(string) @@ -7889,6 +8048,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSessionSummary(v **types.DevE } sv.StartedTime = ptr.Time(t) } + default: _, _ = key, value @@ -7928,6 +8088,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Alias = ptr.String(jtv) } + case "creatorId": if value != nil { jtv, ok := value.(string) @@ -7936,6 +8097,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.CreatorId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7944,10 +8106,12 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Id = ptr.String(jtv) } + case "ides": if err := awsRestjson1_deserializeDocumentIdes(&sv.Ides, value); err != nil { return err } + case "inactivityTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -7960,6 +8124,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.InactivityTimeoutMinutes = int32(i64) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -7968,6 +8133,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.InstanceType = types.InstanceType(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -7980,10 +8146,12 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.LastUpdatedTime = ptr.Time(t) } + case "persistentStorage": if err := awsRestjson1_deserializeDocumentPersistentStorage(&sv.PersistentStorage, value); err != nil { return err } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -7992,10 +8160,12 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.ProjectName = ptr.String(jtv) } + case "repositories": if err := awsRestjson1_deserializeDocumentDevEnvironmentRepositorySummaries(&sv.Repositories, value); err != nil { return err } + case "spaceName": if value != nil { jtv, ok := value.(string) @@ -8004,6 +8174,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.SpaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8012,6 +8183,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.Status = types.DevEnvironmentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -8020,6 +8192,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.StatusReason = ptr.String(jtv) } + case "vpcConnectionName": if value != nil { jtv, ok := value.(string) @@ -8028,6 +8201,7 @@ func awsRestjson1_deserializeDocumentDevEnvironmentSummary(v **types.DevEnvironm } sv.VpcConnectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -8101,6 +8275,7 @@ func awsRestjson1_deserializeDocumentEmailAddress(v **types.EmailAddress, value } sv.Email = ptr.String(jtv) } + case "verified": if value != nil { jtv, ok := value.(bool) @@ -8109,6 +8284,7 @@ func awsRestjson1_deserializeDocumentEmailAddress(v **types.EmailAddress, value } sv.Verified = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8182,6 +8358,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.ErrorCode = ptr.String(jtv) } + case "eventCategory": if value != nil { jtv, ok := value.(string) @@ -8190,6 +8367,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventCategory = ptr.String(jtv) } + case "eventName": if value != nil { jtv, ok := value.(string) @@ -8198,6 +8376,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventName = ptr.String(jtv) } + case "eventSource": if value != nil { jtv, ok := value.(string) @@ -8206,6 +8385,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventSource = ptr.String(jtv) } + case "eventTime": if value != nil { jtv, ok := value.(string) @@ -8218,6 +8398,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventTime = ptr.Time(t) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -8226,6 +8407,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.EventType = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8234,6 +8416,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.Id = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -8242,10 +8425,12 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.OperationType = types.OperationType(jtv) } + case "projectInformation": if err := awsRestjson1_deserializeDocumentProjectInformation(&sv.ProjectInformation, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8254,14 +8439,17 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.RequestId = ptr.String(jtv) } + case "requestPayload": if err := awsRestjson1_deserializeDocumentEventPayload(&sv.RequestPayload, value); err != nil { return err } + case "responsePayload": if err := awsRestjson1_deserializeDocumentEventPayload(&sv.ResponsePayload, value); err != nil { return err } + case "sourceIpAddress": if value != nil { jtv, ok := value.(string) @@ -8270,6 +8458,7 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.SourceIpAddress = ptr.String(jtv) } + case "userAgent": if value != nil { jtv, ok := value.(string) @@ -8278,10 +8467,12 @@ func awsRestjson1_deserializeDocumentEventLogEntry(v **types.EventLogEntry, valu } sv.UserAgent = ptr.String(jtv) } + case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } + default: _, _ = key, value @@ -8321,6 +8512,7 @@ func awsRestjson1_deserializeDocumentEventPayload(v **types.EventPayload, value } sv.ContentType = ptr.String(jtv) } + case "data": if value != nil { jtv, ok := value.(string) @@ -8329,6 +8521,7 @@ func awsRestjson1_deserializeDocumentEventPayload(v **types.EventPayload, value } sv.Data = ptr.String(jtv) } + default: _, _ = key, value @@ -8368,6 +8561,7 @@ func awsRestjson1_deserializeDocumentIde(v **types.Ide, value interface{}) error } sv.Name = ptr.String(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8570,7 @@ func awsRestjson1_deserializeDocumentIde(v **types.Ide, value interface{}) error } sv.Runtime = ptr.String(jtv) } + default: _, _ = key, value @@ -8415,6 +8610,7 @@ func awsRestjson1_deserializeDocumentIdeConfiguration(v **types.IdeConfiguration } sv.Name = ptr.String(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -8423,6 +8619,7 @@ func awsRestjson1_deserializeDocumentIdeConfiguration(v **types.IdeConfiguration } sv.Runtime = ptr.String(jtv) } + default: _, _ = key, value @@ -8534,6 +8731,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.CreatedTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8542,6 +8740,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8550,6 +8749,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -8562,6 +8762,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8570,6 +8771,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoriesItem(v **types.ListSo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8643,6 +8845,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.HeadCommitId = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -8655,6 +8858,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8663,6 +8867,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.Name = ptr.String(jtv) } + case "ref": if value != nil { jtv, ok := value.(string) @@ -8671,6 +8876,7 @@ func awsRestjson1_deserializeDocumentListSourceRepositoryBranchesItem(v **types. } sv.Ref = ptr.String(jtv) } + default: _, _ = key, value @@ -8748,6 +8954,7 @@ func awsRestjson1_deserializeDocumentPersistentStorage(v **types.PersistentStora } sv.SizeInGiB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8787,6 +8994,7 @@ func awsRestjson1_deserializeDocumentProjectInformation(v **types.ProjectInforma } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -8795,6 +9003,7 @@ func awsRestjson1_deserializeDocumentProjectInformation(v **types.ProjectInforma } sv.ProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -8868,6 +9077,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -8876,6 +9086,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8884,6 +9095,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8923,6 +9135,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8962,6 +9175,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9035,6 +9249,7 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -9043,6 +9258,7 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9051,6 +9267,7 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.Name = ptr.String(jtv) } + case "regionName": if value != nil { jtv, ok := value.(string) @@ -9059,6 +9276,7 @@ func awsRestjson1_deserializeDocumentSpaceSummary(v **types.SpaceSummary, value } sv.RegionName = ptr.String(jtv) } + default: _, _ = key, value @@ -9098,6 +9316,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9137,6 +9356,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.AwsAccountId = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -9145,6 +9365,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.PrincipalId = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -9153,6 +9374,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.UserName = ptr.String(jtv) } + case "userType": if value != nil { jtv, ok := value.(string) @@ -9161,6 +9383,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.UserType = types.UserType(jtv) } + default: _, _ = key, value @@ -9200,6 +9423,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9239,6 +9463,7 @@ func awsRestjson1_deserializeDocumentWorkflowDefinition(v **types.WorkflowDefini } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -9278,6 +9503,7 @@ func awsRestjson1_deserializeDocumentWorkflowDefinitionSummary(v **types.Workflo } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -9420,6 +9646,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.EndTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9428,6 +9655,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -9440,6 +9668,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.LastUpdatedTime = ptr.Time(t) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -9452,6 +9681,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9460,10 +9690,12 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.Status = types.WorkflowRunStatus(jtv) } + case "statusReasons": if err := awsRestjson1_deserializeDocumentWorkflowRunStatusReasons(&sv.StatusReasons, value); err != nil { return err } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -9472,6 +9704,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.WorkflowId = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -9480,6 +9713,7 @@ func awsRestjson1_deserializeDocumentWorkflowRunSummary(v **types.WorkflowRunSum } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -9557,10 +9791,12 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.CreatedTime = ptr.Time(t) } + case "definition": if err := awsRestjson1_deserializeDocumentWorkflowDefinitionSummary(&sv.Definition, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9569,6 +9805,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -9581,6 +9818,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.LastUpdatedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9589,6 +9827,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Name = ptr.String(jtv) } + case "runMode": if value != nil { jtv, ok := value.(string) @@ -9597,6 +9836,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.RunMode = types.WorkflowRunMode(jtv) } + case "sourceBranchName": if value != nil { jtv, ok := value.(string) @@ -9605,6 +9845,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.SourceBranchName = ptr.String(jtv) } + case "sourceRepositoryName": if value != nil { jtv, ok := value.(string) @@ -9613,6 +9854,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.SourceRepositoryName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9621,6 +9863,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Status = types.WorkflowStatus(jtv) } + default: _, _ = key, value diff --git a/service/codecommit/deserializers.go b/service/codecommit/deserializers.go index c5184ad2d40..c0bfa0befa6 100644 --- a/service/codecommit/deserializers.go +++ b/service/codecommit/deserializers.go @@ -18260,6 +18260,7 @@ func awsAwsjson11_deserializeDocumentActorDoesNotExistException(v **types.ActorD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18299,6 +18300,7 @@ func awsAwsjson11_deserializeDocumentApproval(v **types.Approval, value interfac } sv.ApprovalState = types.ApprovalState(jtv) } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -18307,6 +18309,7 @@ func awsAwsjson11_deserializeDocumentApproval(v **types.Approval, value interfac } sv.UserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18380,6 +18383,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleContent = ptr.String(jtv) } + case "approvalRuleId": if value != nil { jtv, ok := value.(string) @@ -18388,6 +18392,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleId = ptr.String(jtv) } + case "approvalRuleName": if value != nil { jtv, ok := value.(string) @@ -18396,6 +18401,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.ApprovalRuleName = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -18411,6 +18417,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18426,6 +18433,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } } + case "lastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -18434,10 +18442,12 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.LastModifiedUser = ptr.String(jtv) } + case "originApprovalRuleTemplate": if err := awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(&sv.OriginApprovalRuleTemplate, value); err != nil { return err } + case "ruleContentSha256": if value != nil { jtv, ok := value.(string) @@ -18446,6 +18456,7 @@ func awsAwsjson11_deserializeDocumentApprovalRule(v **types.ApprovalRule, value } sv.RuleContentSha256 = ptr.String(jtv) } + default: _, _ = key, value @@ -18485,6 +18496,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleContentRequiredException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18524,6 +18536,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleDoesNotExistException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18563,6 +18576,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleContent = ptr.String(jtv) } + case "approvalRuleId": if value != nil { jtv, ok := value.(string) @@ -18571,6 +18585,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleId = ptr.String(jtv) } + case "approvalRuleName": if value != nil { jtv, ok := value.(string) @@ -18579,6 +18594,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(v **types.Approva } sv.ApprovalRuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -18618,6 +18634,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameAlreadyExistsException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18657,6 +18674,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleNameRequiredException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18696,6 +18714,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(v **typ } sv.OverrideStatus = types.OverrideStatus(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -18704,6 +18723,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(v **typ } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -18849,6 +18869,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateContent = ptr.String(jtv) } + case "approvalRuleTemplateDescription": if value != nil { jtv, ok := value.(string) @@ -18857,6 +18878,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateDescription = ptr.String(jtv) } + case "approvalRuleTemplateId": if value != nil { jtv, ok := value.(string) @@ -18865,6 +18887,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateId = ptr.String(jtv) } + case "approvalRuleTemplateName": if value != nil { jtv, ok := value.(string) @@ -18873,6 +18896,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.ApprovalRuleTemplateName = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -18888,6 +18912,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18903,6 +18928,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } } + case "lastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -18911,6 +18937,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.LastModifiedUser = ptr.String(jtv) } + case "ruleContentSha256": if value != nil { jtv, ok := value.(string) @@ -18919,6 +18946,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplate(v **types.ApprovalRule } sv.RuleContentSha256 = ptr.String(jtv) } + default: _, _ = key, value @@ -18958,6 +18986,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateContentRequiredExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18997,6 +19026,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateDoesNotExistException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19036,6 +19066,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateInUseException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19075,6 +19106,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameAlreadyExistsExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19150,6 +19182,7 @@ func awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameRequiredException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19189,6 +19222,7 @@ func awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(v **types } sv.ApprovalStatus = types.ApprovalState(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -19197,6 +19231,7 @@ func awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(v **types } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -19236,6 +19271,7 @@ func awsAwsjson11_deserializeDocumentApprovalStateRequiredException(v **types.Ap } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19275,6 +19311,7 @@ func awsAwsjson11_deserializeDocumentAuthorDoesNotExistException(v **types.Autho } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19314,6 +19351,7 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19322,6 +19360,7 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.ErrorMessage = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19330,6 +19369,7 @@ func awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepos } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -19403,6 +19443,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.ExceptionName = ptr.String(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -19411,6 +19452,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.FilePath = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -19419,6 +19461,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsError(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19492,6 +19535,7 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19500,6 +19544,7 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.ErrorMessage = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19508,6 +19553,7 @@ func awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRe } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -19581,6 +19627,7 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.CommitId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -19589,6 +19636,7 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19597,6 +19645,7 @@ func awsAwsjson11_deserializeDocumentBatchGetCommitsError(v **types.BatchGetComm } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -19670,6 +19719,7 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.ErrorCode = types.BatchGetRepositoriesErrorCodeEnum(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -19678,6 +19728,7 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.ErrorMessage = ptr.String(jtv) } + case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -19686,6 +19737,7 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.RepositoryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -19694,6 +19746,7 @@ func awsAwsjson11_deserializeDocumentBatchGetRepositoriesError(v **types.BatchGe } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -19767,6 +19820,7 @@ func awsAwsjson11_deserializeDocumentBeforeCommitIdAndAfterCommitIdAreSameExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19806,6 +19860,7 @@ func awsAwsjson11_deserializeDocumentBlobIdDoesNotExistException(v **types.BlobI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19845,6 +19900,7 @@ func awsAwsjson11_deserializeDocumentBlobIdRequiredException(v **types.BlobIdReq } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19884,6 +19940,7 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.BlobId = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -19892,6 +19949,7 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.Mode = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -19900,6 +19958,7 @@ func awsAwsjson11_deserializeDocumentBlobMetadata(v **types.BlobMetadata, value } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -19939,6 +19998,7 @@ func awsAwsjson11_deserializeDocumentBranchDoesNotExistException(v **types.Branc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19978,6 +20038,7 @@ func awsAwsjson11_deserializeDocumentBranchInfo(v **types.BranchInfo, value inte } sv.BranchName = ptr.String(jtv) } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -19986,6 +20047,7 @@ func awsAwsjson11_deserializeDocumentBranchInfo(v **types.BranchInfo, value inte } sv.CommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -20025,6 +20087,7 @@ func awsAwsjson11_deserializeDocumentBranchNameExistsException(v **types.BranchN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20064,6 +20127,7 @@ func awsAwsjson11_deserializeDocumentBranchNameIsTagNameException(v **types.Bran } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20139,6 +20203,7 @@ func awsAwsjson11_deserializeDocumentBranchNameRequiredException(v **types.Branc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20214,6 +20279,7 @@ func awsAwsjson11_deserializeDocumentCannotDeleteApprovalRuleFromTemplateExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20253,6 +20319,7 @@ func awsAwsjson11_deserializeDocumentCannotModifyApprovalRuleFromTemplateExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20292,6 +20359,7 @@ func awsAwsjson11_deserializeDocumentClientRequestTokenRequiredException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20331,10 +20399,12 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.AuthorArn = ptr.String(jtv) } + case "callerReactions": if err := awsAwsjson11_deserializeDocumentCallerReactions(&sv.CallerReactions, value); err != nil { return err } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -20343,6 +20413,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ClientRequestToken = ptr.String(jtv) } + case "commentId": if value != nil { jtv, ok := value.(string) @@ -20351,6 +20422,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.CommentId = ptr.String(jtv) } + case "content": if value != nil { jtv, ok := value.(string) @@ -20359,6 +20431,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Content = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -20374,6 +20447,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -20382,6 +20456,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Deleted = jtv } + case "inReplyTo": if value != nil { jtv, ok := value.(string) @@ -20390,6 +20465,7 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } sv.InReplyTo = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20405,10 +20481,12 @@ func awsAwsjson11_deserializeDocumentComment(v **types.Comment, value interface{ } } + case "reactionCounts": if err := awsAwsjson11_deserializeDocumentReactionCountsMap(&sv.ReactionCounts, value); err != nil { return err } + default: _, _ = key, value @@ -20448,6 +20526,7 @@ func awsAwsjson11_deserializeDocumentCommentContentRequiredException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20487,6 +20566,7 @@ func awsAwsjson11_deserializeDocumentCommentContentSizeLimitExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20526,6 +20606,7 @@ func awsAwsjson11_deserializeDocumentCommentDeletedException(v **types.CommentDe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20565,6 +20646,7 @@ func awsAwsjson11_deserializeDocumentCommentDoesNotExistException(v **types.Comm } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20604,6 +20686,7 @@ func awsAwsjson11_deserializeDocumentCommentIdRequiredException(v **types.Commen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20643,6 +20726,7 @@ func awsAwsjson11_deserializeDocumentCommentNotCreatedByCallerException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20716,6 +20800,7 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.AfterBlobId = ptr.String(jtv) } + case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -20724,6 +20809,7 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.AfterCommitId = ptr.String(jtv) } + case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -20732,6 +20818,7 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.BeforeBlobId = ptr.String(jtv) } + case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -20740,14 +20827,17 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.BeforeCommitId = ptr.String(jtv) } + case "comments": if err := awsAwsjson11_deserializeDocumentComments(&sv.Comments, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -20756,6 +20846,7 @@ func awsAwsjson11_deserializeDocumentCommentsForComparedCommit(v **types.Comment } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -20829,6 +20920,7 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.AfterBlobId = ptr.String(jtv) } + case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -20837,6 +20929,7 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.AfterCommitId = ptr.String(jtv) } + case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -20845,6 +20938,7 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.BeforeBlobId = ptr.String(jtv) } + case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -20853,14 +20947,17 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.BeforeCommitId = ptr.String(jtv) } + case "comments": if err := awsAwsjson11_deserializeDocumentComments(&sv.Comments, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -20869,6 +20966,7 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.PullRequestId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -20877,6 +20975,7 @@ func awsAwsjson11_deserializeDocumentCommentsForPullRequest(v **types.CommentsFo } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -20950,10 +21049,12 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.AdditionalData = ptr.String(jtv) } + case "author": if err := awsAwsjson11_deserializeDocumentUserInfo(&sv.Author, value); err != nil { return err } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -20962,10 +21063,12 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.CommitId = ptr.String(jtv) } + case "committer": if err := awsAwsjson11_deserializeDocumentUserInfo(&sv.Committer, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -20974,10 +21077,12 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.Message = ptr.String(jtv) } + case "parents": if err := awsAwsjson11_deserializeDocumentParentList(&sv.Parents, value); err != nil { return err } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -20986,6 +21091,7 @@ func awsAwsjson11_deserializeDocumentCommit(v **types.Commit, value interface{}) } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -21025,6 +21131,7 @@ func awsAwsjson11_deserializeDocumentCommitDoesNotExistException(v **types.Commi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21064,6 +21171,7 @@ func awsAwsjson11_deserializeDocumentCommitIdDoesNotExistException(v **types.Com } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21103,6 +21211,7 @@ func awsAwsjson11_deserializeDocumentCommitIdRequiredException(v **types.CommitI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21142,6 +21251,7 @@ func awsAwsjson11_deserializeDocumentCommitIdsLimitExceededException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21181,6 +21291,7 @@ func awsAwsjson11_deserializeDocumentCommitIdsListRequiredException(v **types.Co } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21220,6 +21331,7 @@ func awsAwsjson11_deserializeDocumentCommitMessageLengthExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21293,6 +21405,7 @@ func awsAwsjson11_deserializeDocumentCommitRequiredException(v **types.CommitReq } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21332,6 +21445,7 @@ func awsAwsjson11_deserializeDocumentConcurrentReferenceUpdateException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21367,10 +21481,12 @@ func awsAwsjson11_deserializeDocumentConflict(v **types.Conflict, value interfac if err := awsAwsjson11_deserializeDocumentConflictMetadata(&sv.ConflictMetadata, value); err != nil { return err } + case "mergeHunks": if err := awsAwsjson11_deserializeDocumentMergeHunks(&sv.MergeHunks, value); err != nil { return err } + default: _, _ = key, value @@ -21410,6 +21526,7 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.ContentConflict = jtv } + case "fileModeConflict": if value != nil { jtv, ok := value.(bool) @@ -21418,10 +21535,12 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.FileModeConflict = jtv } + case "fileModes": if err := awsAwsjson11_deserializeDocumentFileModes(&sv.FileModes, value); err != nil { return err } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -21430,18 +21549,22 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.FilePath = ptr.String(jtv) } + case "fileSizes": if err := awsAwsjson11_deserializeDocumentFileSizes(&sv.FileSizes, value); err != nil { return err } + case "isBinaryFile": if err := awsAwsjson11_deserializeDocumentIsBinaryFile(&sv.IsBinaryFile, value); err != nil { return err } + case "mergeOperations": if err := awsAwsjson11_deserializeDocumentMergeOperations(&sv.MergeOperations, value); err != nil { return err } + case "numberOfConflicts": if value != nil { jtv, ok := value.(json.Number) @@ -21454,6 +21577,7 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.NumberOfConflicts = int32(i64) } + case "objectTypeConflict": if value != nil { jtv, ok := value.(bool) @@ -21462,10 +21586,12 @@ func awsAwsjson11_deserializeDocumentConflictMetadata(v **types.ConflictMetadata } sv.ObjectTypeConflict = jtv } + case "objectTypes": if err := awsAwsjson11_deserializeDocumentObjectTypes(&sv.ObjectTypes, value); err != nil { return err } + default: _, _ = key, value @@ -21573,6 +21699,7 @@ func awsAwsjson11_deserializeDocumentDefaultBranchCannotBeDeletedException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21608,10 +21735,12 @@ func awsAwsjson11_deserializeDocumentDifference(v **types.Difference, value inte if err := awsAwsjson11_deserializeDocumentBlobMetadata(&sv.AfterBlob, value); err != nil { return err } + case "beforeBlob": if err := awsAwsjson11_deserializeDocumentBlobMetadata(&sv.BeforeBlob, value); err != nil { return err } + case "changeType": if value != nil { jtv, ok := value.(string) @@ -21620,6 +21749,7 @@ func awsAwsjson11_deserializeDocumentDifference(v **types.Difference, value inte } sv.ChangeType = types.ChangeTypeEnum(jtv) } + default: _, _ = key, value @@ -21693,6 +21823,7 @@ func awsAwsjson11_deserializeDocumentDirectoryNameConflictsWithFileNameException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21732,6 +21863,7 @@ func awsAwsjson11_deserializeDocumentEncryptionIntegrityChecksFailedException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21771,6 +21903,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyAccessDeniedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21810,6 +21943,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyDisabledException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21849,6 +21983,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidIdException(v **types.E } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21888,6 +22023,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyInvalidUsageException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21927,6 +22063,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyNotFoundException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21966,6 +22103,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyRequiredException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22005,6 +22143,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKeyUnavailableException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22040,10 +22179,12 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte if err := awsAwsjson11_deserializeDocumentApprovalRulesNotSatisfiedList(&sv.ApprovalRulesNotSatisfied, value); err != nil { return err } + case "approvalRulesSatisfied": if err := awsAwsjson11_deserializeDocumentApprovalRulesSatisfiedList(&sv.ApprovalRulesSatisfied, value); err != nil { return err } + case "approved": if value != nil { jtv, ok := value.(bool) @@ -22052,6 +22193,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Approved = jtv } + case "overridden": if value != nil { jtv, ok := value.(bool) @@ -22060,6 +22202,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Overridden = jtv } + default: _, _ = key, value @@ -22099,6 +22242,7 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.AbsolutePath = ptr.String(jtv) } + case "blobId": if value != nil { jtv, ok := value.(string) @@ -22107,6 +22251,7 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.BlobId = ptr.String(jtv) } + case "fileMode": if value != nil { jtv, ok := value.(string) @@ -22115,6 +22260,7 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.FileMode = types.FileModeTypeEnum(jtv) } + case "relativePath": if value != nil { jtv, ok := value.(string) @@ -22123,6 +22269,7 @@ func awsAwsjson11_deserializeDocumentFile(v **types.File, value interface{}) err } sv.RelativePath = ptr.String(jtv) } + default: _, _ = key, value @@ -22162,6 +22309,7 @@ func awsAwsjson11_deserializeDocumentFileContentAndSourceFileSpecifiedException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22201,6 +22349,7 @@ func awsAwsjson11_deserializeDocumentFileContentRequiredException(v **types.File } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22240,6 +22389,7 @@ func awsAwsjson11_deserializeDocumentFileContentSizeLimitExceededException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22279,6 +22429,7 @@ func awsAwsjson11_deserializeDocumentFileDoesNotExistException(v **types.FileDoe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22318,6 +22469,7 @@ func awsAwsjson11_deserializeDocumentFileEntryRequiredException(v **types.FileEn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22391,6 +22543,7 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.AbsolutePath = ptr.String(jtv) } + case "blobId": if value != nil { jtv, ok := value.(string) @@ -22399,6 +22552,7 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.BlobId = ptr.String(jtv) } + case "fileMode": if value != nil { jtv, ok := value.(string) @@ -22407,6 +22561,7 @@ func awsAwsjson11_deserializeDocumentFileMetadata(v **types.FileMetadata, value } sv.FileMode = types.FileModeTypeEnum(jtv) } + default: _, _ = key, value @@ -22446,6 +22601,7 @@ func awsAwsjson11_deserializeDocumentFileModeRequiredException(v **types.FileMod } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22485,6 +22641,7 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Base = types.FileModeTypeEnum(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -22493,6 +22650,7 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Destination = types.FileModeTypeEnum(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -22501,6 +22659,7 @@ func awsAwsjson11_deserializeDocumentFileModes(v **types.FileModes, value interf } sv.Source = types.FileModeTypeEnum(jtv) } + default: _, _ = key, value @@ -22540,6 +22699,7 @@ func awsAwsjson11_deserializeDocumentFileNameConflictsWithDirectoryNameException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22579,6 +22739,7 @@ func awsAwsjson11_deserializeDocumentFilePathConflictsWithSubmodulePathException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22622,6 +22783,7 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Base = i64 } + case "destination": if value != nil { jtv, ok := value.(json.Number) @@ -22634,6 +22796,7 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Destination = i64 } + case "source": if value != nil { jtv, ok := value.(json.Number) @@ -22646,6 +22809,7 @@ func awsAwsjson11_deserializeDocumentFileSizes(v **types.FileSizes, value interf } sv.Source = i64 } + default: _, _ = key, value @@ -22719,6 +22883,7 @@ func awsAwsjson11_deserializeDocumentFileTooLargeException(v **types.FileTooLarg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22758,10 +22923,12 @@ func awsAwsjson11_deserializeDocumentFileVersion(v **types.FileVersion, value in } sv.BlobId = ptr.String(jtv) } + case "commit": if err := awsAwsjson11_deserializeDocumentCommit(&sv.Commit, value); err != nil { return err } + case "path": if value != nil { jtv, ok := value.(string) @@ -22770,10 +22937,12 @@ func awsAwsjson11_deserializeDocumentFileVersion(v **types.FileVersion, value in } sv.Path = ptr.String(jtv) } + case "revisionChildren": if err := awsAwsjson11_deserializeDocumentRevisionChildren(&sv.RevisionChildren, value); err != nil { return err } + default: _, _ = key, value @@ -22813,6 +22982,7 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.AbsolutePath = ptr.String(jtv) } + case "relativePath": if value != nil { jtv, ok := value.(string) @@ -22821,6 +22991,7 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.RelativePath = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -22829,6 +23000,7 @@ func awsAwsjson11_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -22868,6 +23040,7 @@ func awsAwsjson11_deserializeDocumentFolderContentSizeLimitExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22907,6 +23080,7 @@ func awsAwsjson11_deserializeDocumentFolderDoesNotExistException(v **types.Folde } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22980,6 +23154,7 @@ func awsAwsjson11_deserializeDocumentIdempotencyParameterMismatchException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23019,6 +23194,7 @@ func awsAwsjson11_deserializeDocumentInvalidActorArnException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23058,6 +23234,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleContentException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23097,6 +23274,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleNameException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23136,6 +23314,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateContentException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23175,6 +23354,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateDescriptionExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23214,6 +23394,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalRuleTemplateNameException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23253,6 +23434,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23292,6 +23474,7 @@ func awsAwsjson11_deserializeDocumentInvalidAuthorArnException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23331,6 +23514,7 @@ func awsAwsjson11_deserializeDocumentInvalidBlobIdException(v **types.InvalidBlo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23370,6 +23554,7 @@ func awsAwsjson11_deserializeDocumentInvalidBranchNameException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23409,6 +23594,7 @@ func awsAwsjson11_deserializeDocumentInvalidClientRequestTokenException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23448,6 +23634,7 @@ func awsAwsjson11_deserializeDocumentInvalidCommentIdException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23487,6 +23674,7 @@ func awsAwsjson11_deserializeDocumentInvalidCommitException(v **types.InvalidCom } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23526,6 +23714,7 @@ func awsAwsjson11_deserializeDocumentInvalidCommitIdException(v **types.InvalidC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23565,6 +23754,7 @@ func awsAwsjson11_deserializeDocumentInvalidConflictDetailLevelException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23604,6 +23794,7 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23643,6 +23834,7 @@ func awsAwsjson11_deserializeDocumentInvalidConflictResolutionStrategyException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23682,6 +23874,7 @@ func awsAwsjson11_deserializeDocumentInvalidContinuationTokenException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23721,6 +23914,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionParameterException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23760,6 +23954,7 @@ func awsAwsjson11_deserializeDocumentInvalidDescriptionException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23799,6 +23994,7 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationCommitSpecifierException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23838,6 +24034,7 @@ func awsAwsjson11_deserializeDocumentInvalidEmailException(v **types.InvalidEmai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23877,6 +24074,7 @@ func awsAwsjson11_deserializeDocumentInvalidFileLocationException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23916,6 +24114,7 @@ func awsAwsjson11_deserializeDocumentInvalidFileModeException(v **types.InvalidF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23955,6 +24154,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilePositionException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23994,6 +24194,7 @@ func awsAwsjson11_deserializeDocumentInvalidMaxConflictFilesException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24033,6 +24234,7 @@ func awsAwsjson11_deserializeDocumentInvalidMaxMergeHunksException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24072,6 +24274,7 @@ func awsAwsjson11_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24111,6 +24314,7 @@ func awsAwsjson11_deserializeDocumentInvalidMergeOptionException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24150,6 +24354,7 @@ func awsAwsjson11_deserializeDocumentInvalidOrderException(v **types.InvalidOrde } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24189,6 +24394,7 @@ func awsAwsjson11_deserializeDocumentInvalidOverrideStatusException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24228,6 +24434,7 @@ func awsAwsjson11_deserializeDocumentInvalidParentCommitIdException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24267,6 +24474,7 @@ func awsAwsjson11_deserializeDocumentInvalidPathException(v **types.InvalidPathE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24306,6 +24514,7 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestEventTypeException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24345,6 +24554,7 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestIdException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24384,6 +24594,7 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24423,6 +24634,7 @@ func awsAwsjson11_deserializeDocumentInvalidPullRequestStatusUpdateException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24462,6 +24674,7 @@ func awsAwsjson11_deserializeDocumentInvalidReactionUserArnException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24501,6 +24714,7 @@ func awsAwsjson11_deserializeDocumentInvalidReactionValueException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24540,6 +24754,7 @@ func awsAwsjson11_deserializeDocumentInvalidReferenceNameException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24579,6 +24794,7 @@ func awsAwsjson11_deserializeDocumentInvalidRelativeFileVersionEnumException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24618,6 +24834,7 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementContentException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24657,6 +24874,7 @@ func awsAwsjson11_deserializeDocumentInvalidReplacementTypeException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24696,6 +24914,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryDescriptionException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24735,6 +24954,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryNameException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24774,6 +24994,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerBranchNameException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24813,6 +25034,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerCustomDataException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24852,6 +25074,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerDestinationArnExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24891,6 +25114,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerEventsException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24930,6 +25154,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerNameException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24969,6 +25194,7 @@ func awsAwsjson11_deserializeDocumentInvalidRepositoryTriggerRegionException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25008,6 +25234,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceArnException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25047,6 +25274,7 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionIdException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25086,6 +25314,7 @@ func awsAwsjson11_deserializeDocumentInvalidRuleContentSha256Exception(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25125,6 +25354,7 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25164,6 +25394,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceCommitSpecifierException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25203,6 +25434,7 @@ func awsAwsjson11_deserializeDocumentInvalidSystemTagUsageException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25242,6 +25474,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagKeysListException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25281,6 +25514,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagsMapException(v **types.InvalidTa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25320,6 +25554,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetBranchException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25359,6 +25594,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25398,6 +25634,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetsException(v **types.InvalidTa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25437,6 +25674,7 @@ func awsAwsjson11_deserializeDocumentInvalidTitleException(v **types.InvalidTitl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25476,6 +25714,7 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Base = ptr.Bool(jtv) } + case "destination": if value != nil { jtv, ok := value.(bool) @@ -25484,6 +25723,7 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Destination = ptr.Bool(jtv) } + case "source": if value != nil { jtv, ok := value.(bool) @@ -25492,6 +25732,7 @@ func awsAwsjson11_deserializeDocumentIsBinaryFile(v **types.IsBinaryFile, value } sv.Source = ptr.Bool(jtv) } + default: _, _ = key, value @@ -25531,6 +25772,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.FilePath = ptr.String(jtv) } + case "filePosition": if value != nil { jtv, ok := value.(json.Number) @@ -25543,6 +25785,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.FilePosition = ptr.Int64(i64) } + case "relativeFileVersion": if value != nil { jtv, ok := value.(string) @@ -25551,6 +25794,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.RelativeFileVersion = types.RelativeFileVersionEnum(jtv) } + default: _, _ = key, value @@ -25590,6 +25834,7 @@ func awsAwsjson11_deserializeDocumentManualMergeRequiredException(v **types.Manu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25629,6 +25874,7 @@ func awsAwsjson11_deserializeDocumentMaximumBranchesExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25668,6 +25914,7 @@ func awsAwsjson11_deserializeDocumentMaximumConflictResolutionEntriesExceededExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25707,6 +25954,7 @@ func awsAwsjson11_deserializeDocumentMaximumFileContentToLoadExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25746,6 +25994,7 @@ func awsAwsjson11_deserializeDocumentMaximumFileEntriesExceededException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25785,6 +26034,7 @@ func awsAwsjson11_deserializeDocumentMaximumItemsToCompareExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25824,6 +26074,7 @@ func awsAwsjson11_deserializeDocumentMaximumNumberOfApprovalsExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25863,6 +26114,7 @@ func awsAwsjson11_deserializeDocumentMaximumOpenPullRequestsExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25902,6 +26154,7 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryNamesExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25941,6 +26194,7 @@ func awsAwsjson11_deserializeDocumentMaximumRepositoryTriggersExceededException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25980,6 +26234,7 @@ func awsAwsjson11_deserializeDocumentMaximumRuleTemplatesAssociatedWithRepositor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26015,10 +26270,12 @@ func awsAwsjson11_deserializeDocumentMergeHunk(v **types.MergeHunk, value interf if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Base, value); err != nil { return err } + case "destination": if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Destination, value); err != nil { return err } + case "isConflict": if value != nil { jtv, ok := value.(bool) @@ -26027,10 +26284,12 @@ func awsAwsjson11_deserializeDocumentMergeHunk(v **types.MergeHunk, value interf } sv.IsConflict = jtv } + case "source": if err := awsAwsjson11_deserializeDocumentMergeHunkDetail(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -26074,6 +26333,7 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.EndLine = ptr.Int32(int32(i64)) } + case "hunkContent": if value != nil { jtv, ok := value.(string) @@ -26082,6 +26342,7 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.HunkContent = ptr.String(jtv) } + case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -26094,6 +26355,7 @@ func awsAwsjson11_deserializeDocumentMergeHunkDetail(v **types.MergeHunkDetail, } sv.StartLine = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26167,6 +26429,7 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.IsMerged = jtv } + case "mergeCommitId": if value != nil { jtv, ok := value.(string) @@ -26175,6 +26438,7 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergeCommitId = ptr.String(jtv) } + case "mergedBy": if value != nil { jtv, ok := value.(string) @@ -26183,6 +26447,7 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergedBy = ptr.String(jtv) } + case "mergeOption": if value != nil { jtv, ok := value.(string) @@ -26191,6 +26456,7 @@ func awsAwsjson11_deserializeDocumentMergeMetadata(v **types.MergeMetadata, valu } sv.MergeOption = types.MergeOptionTypeEnum(jtv) } + default: _, _ = key, value @@ -26230,6 +26496,7 @@ func awsAwsjson11_deserializeDocumentMergeOperations(v **types.MergeOperations, } sv.Destination = types.ChangeTypeEnum(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -26238,6 +26505,7 @@ func awsAwsjson11_deserializeDocumentMergeOperations(v **types.MergeOperations, } sv.Source = types.ChangeTypeEnum(jtv) } + default: _, _ = key, value @@ -26277,6 +26545,7 @@ func awsAwsjson11_deserializeDocumentMergeOptionRequiredException(v **types.Merg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26352,6 +26621,7 @@ func awsAwsjson11_deserializeDocumentMultipleConflictResolutionEntriesException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26391,6 +26661,7 @@ func awsAwsjson11_deserializeDocumentMultipleRepositoriesInPullRequestException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26430,6 +26701,7 @@ func awsAwsjson11_deserializeDocumentNameLengthExceededException(v **types.NameL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26469,6 +26741,7 @@ func awsAwsjson11_deserializeDocumentNoChangeException(v **types.NoChangeExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26508,6 +26781,7 @@ func awsAwsjson11_deserializeDocumentNumberOfRulesExceededException(v **types.Nu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26547,6 +26821,7 @@ func awsAwsjson11_deserializeDocumentNumberOfRuleTemplatesExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26586,6 +26861,7 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Base = types.ObjectTypeEnum(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -26594,6 +26870,7 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Destination = types.ObjectTypeEnum(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -26602,6 +26879,7 @@ func awsAwsjson11_deserializeDocumentObjectTypes(v **types.ObjectTypes, value in } sv.Source = types.ObjectTypeEnum(jtv) } + default: _, _ = key, value @@ -26641,6 +26919,7 @@ func awsAwsjson11_deserializeDocumentOperationNotAllowedException(v **types.Oper } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26680,6 +26959,7 @@ func awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(v **types.Origin } sv.ApprovalRuleTemplateId = ptr.String(jtv) } + case "approvalRuleTemplateName": if value != nil { jtv, ok := value.(string) @@ -26688,6 +26968,7 @@ func awsAwsjson11_deserializeDocumentOriginApprovalRuleTemplate(v **types.Origin } sv.ApprovalRuleTemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -26727,6 +27008,7 @@ func awsAwsjson11_deserializeDocumentOverrideAlreadySetException(v **types.Overr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26766,6 +27048,7 @@ func awsAwsjson11_deserializeDocumentOverrideStatusRequiredException(v **types.O } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26805,6 +27088,7 @@ func awsAwsjson11_deserializeDocumentParentCommitDoesNotExistException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26844,6 +27128,7 @@ func awsAwsjson11_deserializeDocumentParentCommitIdOutdatedException(v **types.P } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26883,6 +27168,7 @@ func awsAwsjson11_deserializeDocumentParentCommitIdRequiredException(v **types.P } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26958,6 +27244,7 @@ func awsAwsjson11_deserializeDocumentPathDoesNotExistException(v **types.PathDoe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26997,6 +27284,7 @@ func awsAwsjson11_deserializeDocumentPathRequiredException(v **types.PathRequire } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27032,6 +27320,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in if err := awsAwsjson11_deserializeDocumentApprovalRulesList(&sv.ApprovalRules, value); err != nil { return err } + case "authorArn": if value != nil { jtv, ok := value.(string) @@ -27040,6 +27329,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.AuthorArn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -27048,6 +27338,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.ClientRequestToken = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -27063,6 +27354,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } } + case "description": if value != nil { jtv, ok := value.(string) @@ -27071,6 +27363,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.Description = ptr.String(jtv) } + case "lastActivityDate": if value != nil { switch jtv := value.(type) { @@ -27086,6 +27379,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } } + case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -27094,6 +27388,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.PullRequestId = ptr.String(jtv) } + case "pullRequestStatus": if value != nil { jtv, ok := value.(string) @@ -27102,10 +27397,12 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.PullRequestStatus = types.PullRequestStatusEnum(jtv) } + case "pullRequestTargets": if err := awsAwsjson11_deserializeDocumentPullRequestTargetList(&sv.PullRequestTargets, value); err != nil { return err } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -27114,6 +27411,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.RevisionId = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -27122,6 +27420,7 @@ func awsAwsjson11_deserializeDocumentPullRequest(v **types.PullRequest, value in } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -27161,6 +27460,7 @@ func awsAwsjson11_deserializeDocumentPullRequestAlreadyClosedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27200,6 +27500,7 @@ func awsAwsjson11_deserializeDocumentPullRequestApprovalRulesNotSatisfiedExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27239,6 +27540,7 @@ func awsAwsjson11_deserializeDocumentPullRequestCannotBeApprovedByAuthorExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27278,6 +27580,7 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.DestinationCommitId = ptr.String(jtv) } + case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -27286,6 +27589,7 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.MergeBase = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -27294,6 +27598,7 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.RepositoryName = ptr.String(jtv) } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -27302,6 +27607,7 @@ func awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(v **types.P } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -27341,6 +27647,7 @@ func awsAwsjson11_deserializeDocumentPullRequestDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27380,18 +27687,22 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.ActorArn = ptr.String(jtv) } + case "approvalRuleEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalRuleEventMetadata(&sv.ApprovalRuleEventMetadata, value); err != nil { return err } + case "approvalRuleOverriddenEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalRuleOverriddenEventMetadata(&sv.ApprovalRuleOverriddenEventMetadata, value); err != nil { return err } + case "approvalStateChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentApprovalStateChangedEventMetadata(&sv.ApprovalStateChangedEventMetadata, value); err != nil { return err } + case "eventDate": if value != nil { switch jtv := value.(type) { @@ -27407,10 +27718,12 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } } + case "pullRequestCreatedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestCreatedEventMetadata(&sv.PullRequestCreatedEventMetadata, value); err != nil { return err } + case "pullRequestEventType": if value != nil { jtv, ok := value.(string) @@ -27419,6 +27732,7 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.PullRequestEventType = types.PullRequestEventType(jtv) } + case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -27427,18 +27741,22 @@ func awsAwsjson11_deserializeDocumentPullRequestEvent(v **types.PullRequestEvent } sv.PullRequestId = ptr.String(jtv) } + case "pullRequestMergedStateChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata(&sv.PullRequestMergedStateChangedEventMetadata, value); err != nil { return err } + case "pullRequestSourceReferenceUpdatedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetadata(&sv.PullRequestSourceReferenceUpdatedEventMetadata, value); err != nil { return err } + case "pullRequestStatusChangedEventMetadata": if err := awsAwsjson11_deserializeDocumentPullRequestStatusChangedEventMetadata(&sv.PullRequestStatusChangedEventMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -27548,6 +27866,7 @@ func awsAwsjson11_deserializeDocumentPullRequestIdRequiredException(v **types.Pu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27587,10 +27906,12 @@ func awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata( } sv.DestinationReference = ptr.String(jtv) } + case "mergeMetadata": if err := awsAwsjson11_deserializeDocumentMergeMetadata(&sv.MergeMetadata, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -27599,6 +27920,7 @@ func awsAwsjson11_deserializeDocumentPullRequestMergedStateChangedEventMetadata( } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -27638,6 +27960,7 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.AfterCommitId = ptr.String(jtv) } + case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -27646,6 +27969,7 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.BeforeCommitId = ptr.String(jtv) } + case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -27654,6 +27978,7 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.MergeBase = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -27662,6 +27987,7 @@ func awsAwsjson11_deserializeDocumentPullRequestSourceReferenceUpdatedEventMetad } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -27701,6 +28027,7 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusChangedEventMetadata(v **t } sv.PullRequestStatus = types.PullRequestStatusEnum(jtv) } + default: _, _ = key, value @@ -27740,6 +28067,7 @@ func awsAwsjson11_deserializeDocumentPullRequestStatusRequiredException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27779,6 +28107,7 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.DestinationCommit = ptr.String(jtv) } + case "destinationReference": if value != nil { jtv, ok := value.(string) @@ -27787,6 +28116,7 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.DestinationReference = ptr.String(jtv) } + case "mergeBase": if value != nil { jtv, ok := value.(string) @@ -27795,10 +28125,12 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.MergeBase = ptr.String(jtv) } + case "mergeMetadata": if err := awsAwsjson11_deserializeDocumentMergeMetadata(&sv.MergeMetadata, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -27807,6 +28139,7 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.RepositoryName = ptr.String(jtv) } + case "sourceCommit": if value != nil { jtv, ok := value.(string) @@ -27815,6 +28148,7 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.SourceCommit = ptr.String(jtv) } + case "sourceReference": if value != nil { jtv, ok := value.(string) @@ -27823,6 +28157,7 @@ func awsAwsjson11_deserializeDocumentPullRequestTarget(v **types.PullRequestTarg } sv.SourceReference = ptr.String(jtv) } + default: _, _ = key, value @@ -27896,6 +28231,7 @@ func awsAwsjson11_deserializeDocumentPutFileEntryConflictException(v **types.Put } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27971,6 +28307,7 @@ func awsAwsjson11_deserializeDocumentReactionForComment(v **types.ReactionForCom if err := awsAwsjson11_deserializeDocumentReactionValueFormats(&sv.Reaction, value); err != nil { return err } + case "reactionsFromDeletedUsersCount": if value != nil { jtv, ok := value.(json.Number) @@ -27983,10 +28320,12 @@ func awsAwsjson11_deserializeDocumentReactionForComment(v **types.ReactionForCom } sv.ReactionsFromDeletedUsersCount = ptr.Int32(int32(i64)) } + case "reactionUsers": if err := awsAwsjson11_deserializeDocumentReactionUsersList(&sv.ReactionUsers, value); err != nil { return err } + default: _, _ = key, value @@ -28026,6 +28365,7 @@ func awsAwsjson11_deserializeDocumentReactionLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28135,6 +28475,7 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.Emoji = ptr.String(jtv) } + case "shortCode": if value != nil { jtv, ok := value.(string) @@ -28143,6 +28484,7 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.ShortCode = ptr.String(jtv) } + case "unicode": if value != nil { jtv, ok := value.(string) @@ -28151,6 +28493,7 @@ func awsAwsjson11_deserializeDocumentReactionValueFormats(v **types.ReactionValu } sv.Unicode = ptr.String(jtv) } + default: _, _ = key, value @@ -28190,6 +28533,7 @@ func awsAwsjson11_deserializeDocumentReactionValueRequiredException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28229,6 +28573,7 @@ func awsAwsjson11_deserializeDocumentReferenceDoesNotExistException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28268,6 +28613,7 @@ func awsAwsjson11_deserializeDocumentReferenceNameRequiredException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28307,6 +28653,7 @@ func awsAwsjson11_deserializeDocumentReferenceTypeNotSupportedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28346,6 +28693,7 @@ func awsAwsjson11_deserializeDocumentReplacementContentRequiredException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28385,6 +28733,7 @@ func awsAwsjson11_deserializeDocumentReplacementTypeRequiredException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28424,6 +28773,7 @@ func awsAwsjson11_deserializeDocumentRepositoryDoesNotExistException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28463,6 +28813,7 @@ func awsAwsjson11_deserializeDocumentRepositoryLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28502,6 +28853,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.AccountId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -28510,6 +28862,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.Arn = ptr.String(jtv) } + case "cloneUrlHttp": if value != nil { jtv, ok := value.(string) @@ -28518,6 +28871,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.CloneUrlHttp = ptr.String(jtv) } + case "cloneUrlSsh": if value != nil { jtv, ok := value.(string) @@ -28526,6 +28880,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.CloneUrlSsh = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -28541,6 +28896,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } } + case "defaultBranch": if value != nil { jtv, ok := value.(string) @@ -28549,6 +28905,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.DefaultBranch = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -28557,6 +28914,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.KmsKeyId = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -28572,6 +28930,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } } + case "repositoryDescription": if value != nil { jtv, ok := value.(string) @@ -28580,6 +28939,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryDescription = ptr.String(jtv) } + case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -28588,6 +28948,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -28596,6 +28957,7 @@ func awsAwsjson11_deserializeDocumentRepositoryMetadata(v **types.RepositoryMeta } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -28669,6 +29031,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNameExistsException(v **types.Rep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28708,6 +29071,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNameIdPair(v **types.RepositoryNa } sv.RepositoryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -28716,6 +29080,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNameIdPair(v **types.RepositoryNa } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -28825,6 +29190,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNameRequiredException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28864,6 +29230,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNamesRequiredException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28903,6 +29270,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNotAssociatedWithPullRequestExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28974,6 +29342,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg if err := awsAwsjson11_deserializeDocumentBranchNameList(&sv.Branches, value); err != nil { return err } + case "customData": if value != nil { jtv, ok := value.(string) @@ -28982,6 +29351,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.CustomData = ptr.String(jtv) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -28990,10 +29360,12 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.DestinationArn = ptr.String(jtv) } + case "events": if err := awsAwsjson11_deserializeDocumentRepositoryTriggerEventList(&sv.Events, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -29002,6 +29374,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTrigger(v **types.RepositoryTrigg } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -29041,6 +29414,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerBranchNameListRequiredExce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29080,6 +29454,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerDestinationArnRequiredExce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29155,6 +29530,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerEventsListRequiredExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29194,6 +29570,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailure(v **types } sv.FailureMessage = ptr.String(jtv) } + case "trigger": if value != nil { jtv, ok := value.(string) @@ -29202,6 +29579,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailure(v **types } sv.Trigger = ptr.String(jtv) } + default: _, _ = key, value @@ -29311,6 +29689,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggerNameRequiredException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29384,6 +29763,7 @@ func awsAwsjson11_deserializeDocumentRepositoryTriggersListRequiredException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29423,6 +29803,7 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29462,6 +29843,7 @@ func awsAwsjson11_deserializeDocumentRestrictedSourceFileException(v **types.Res } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29571,6 +29953,7 @@ func awsAwsjson11_deserializeDocumentRevisionIdRequiredException(v **types.Revis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29610,6 +29993,7 @@ func awsAwsjson11_deserializeDocumentRevisionNotCurrentException(v **types.Revis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29649,6 +30033,7 @@ func awsAwsjson11_deserializeDocumentSameFileContentException(v **types.SameFile } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29688,6 +30073,7 @@ func awsAwsjson11_deserializeDocumentSamePathRequestException(v **types.SamePath } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29727,6 +30113,7 @@ func awsAwsjson11_deserializeDocumentSourceAndDestinationAreSameException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29766,6 +30153,7 @@ func awsAwsjson11_deserializeDocumentSourceFileOrContentRequiredException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29805,6 +30193,7 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.AbsolutePath = ptr.String(jtv) } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -29813,6 +30202,7 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.CommitId = ptr.String(jtv) } + case "relativePath": if value != nil { jtv, ok := value.(string) @@ -29821,6 +30211,7 @@ func awsAwsjson11_deserializeDocumentSubModule(v **types.SubModule, value interf } sv.RelativePath = ptr.String(jtv) } + default: _, _ = key, value @@ -29894,6 +30285,7 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.AbsolutePath = ptr.String(jtv) } + case "blobId": if value != nil { jtv, ok := value.(string) @@ -29902,6 +30294,7 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.BlobId = ptr.String(jtv) } + case "fileMode": if value != nil { jtv, ok := value.(string) @@ -29910,6 +30303,7 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.FileMode = types.FileModeTypeEnum(jtv) } + case "relativePath": if value != nil { jtv, ok := value.(string) @@ -29918,6 +30312,7 @@ func awsAwsjson11_deserializeDocumentSymbolicLink(v **types.SymbolicLink, value } sv.RelativePath = ptr.String(jtv) } + default: _, _ = key, value @@ -29991,6 +30386,7 @@ func awsAwsjson11_deserializeDocumentTagKeysListRequiredException(v **types.TagK } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30030,6 +30426,7 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30105,6 +30502,7 @@ func awsAwsjson11_deserializeDocumentTagsMapRequiredException(v **types.TagsMapR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30144,6 +30542,7 @@ func awsAwsjson11_deserializeDocumentTargetRequiredException(v **types.TargetReq } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30183,6 +30582,7 @@ func awsAwsjson11_deserializeDocumentTargetsRequiredException(v **types.TargetsR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30222,6 +30622,7 @@ func awsAwsjson11_deserializeDocumentTipOfSourceReferenceIsDifferentException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30261,6 +30662,7 @@ func awsAwsjson11_deserializeDocumentTipsDivergenceExceededException(v **types.T } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30300,6 +30702,7 @@ func awsAwsjson11_deserializeDocumentTitleRequiredException(v **types.TitleRequi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30339,6 +30742,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30378,6 +30782,7 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Date = ptr.String(jtv) } + case "email": if value != nil { jtv, ok := value.(string) @@ -30386,6 +30791,7 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Email = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -30394,6 +30800,7 @@ func awsAwsjson11_deserializeDocumentUserInfo(v **types.UserInfo, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -30429,10 +30836,12 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateApprovalRuleTemplateWithRep if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.AssociatedRepositoryNames, value); err != nil { return err } + case "errors": if err := awsAwsjson11_deserializeDocumentBatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -30472,10 +30881,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.BaseCommitId = ptr.String(jtv) } + case "conflicts": if err := awsAwsjson11_deserializeDocumentConflicts(&sv.Conflicts, value); err != nil { return err } + case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -30484,10 +30895,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.DestinationCommitId = ptr.String(jtv) } + case "errors": if err := awsAwsjson11_deserializeDocumentBatchDescribeMergeConflictsErrors(&sv.Errors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -30496,6 +30909,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.NextToken = ptr.String(jtv) } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -30504,6 +30918,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeMergeConflictsOutput(v **Bat } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -30539,10 +30954,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateApprovalRuleTemplateFrom if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.DisassociatedRepositoryNames, value); err != nil { return err } + case "errors": if err := awsAwsjson11_deserializeDocumentBatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -30578,10 +30995,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCommitsOutput(v **BatchGetCommits if err := awsAwsjson11_deserializeDocumentCommitObjectsList(&sv.Commits, value); err != nil { return err } + case "errors": if err := awsAwsjson11_deserializeDocumentBatchGetCommitsErrorsList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -30617,14 +31036,17 @@ func awsAwsjson11_deserializeOpDocumentBatchGetRepositoriesOutput(v **BatchGetRe if err := awsAwsjson11_deserializeDocumentBatchGetRepositoriesErrorsList(&sv.Errors, value); err != nil { return err } + case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryMetadataList(&sv.Repositories, value); err != nil { return err } + case "repositoriesNotFound": if err := awsAwsjson11_deserializeDocumentRepositoryNotFoundList(&sv.RepositoriesNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -30660,6 +31082,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApprovalRuleTemplateOutput(v **Crea if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -30699,18 +31122,22 @@ func awsAwsjson11_deserializeOpDocumentCreateCommitOutput(v **CreateCommitOutput } sv.CommitId = ptr.String(jtv) } + case "filesAdded": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesAdded, value); err != nil { return err } + case "filesDeleted": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesDeleted, value); err != nil { return err } + case "filesUpdated": if err := awsAwsjson11_deserializeDocumentFilesMetadata(&sv.FilesUpdated, value); err != nil { return err } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -30719,6 +31146,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCommitOutput(v **CreateCommitOutput } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -30754,6 +31182,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullRequestApprovalRuleOutput(v **C if err := awsAwsjson11_deserializeDocumentApprovalRule(&sv.ApprovalRule, value); err != nil { return err } + default: _, _ = key, value @@ -30789,6 +31218,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullRequestOutput(v **CreatePullReq if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -30824,6 +31254,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepositoryMetadata(&sv.RepositoryMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -30863,6 +31294,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUnreferencedMergeCommitOutput(v **C } sv.CommitId = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -30871,6 +31303,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUnreferencedMergeCommitOutput(v **C } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -30910,6 +31343,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApprovalRuleTemplateOutput(v **Dele } sv.ApprovalRuleTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -30945,6 +31379,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBranchOutput(v **DeleteBranchOutput if err := awsAwsjson11_deserializeDocumentBranchInfo(&sv.DeletedBranch, value); err != nil { return err } + default: _, _ = key, value @@ -30980,6 +31415,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCommentContentOutput(v **DeleteComm if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + default: _, _ = key, value @@ -31019,6 +31455,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.BlobId = ptr.String(jtv) } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -31027,6 +31464,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.CommitId = ptr.String(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -31035,6 +31473,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.FilePath = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -31043,6 +31482,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileOutput(v **DeleteFileOutput, va } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -31082,6 +31522,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullRequestApprovalRuleOutput(v **D } sv.ApprovalRuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -31121,6 +31562,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito } sv.RepositoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -31160,10 +31602,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.BaseCommitId = ptr.String(jtv) } + case "conflictMetadata": if err := awsAwsjson11_deserializeDocumentConflictMetadata(&sv.ConflictMetadata, value); err != nil { return err } + case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -31172,10 +31616,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.DestinationCommitId = ptr.String(jtv) } + case "mergeHunks": if err := awsAwsjson11_deserializeDocumentMergeHunks(&sv.MergeHunks, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -31184,6 +31630,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -31192,6 +31639,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMergeConflictsOutput(v **Describe } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -31231,10 +31679,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePullRequestEventsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "pullRequestEvents": if err := awsAwsjson11_deserializeDocumentPullRequestEventList(&sv.PullRequestEvents, value); err != nil { return err } + default: _, _ = key, value @@ -31270,6 +31720,7 @@ func awsAwsjson11_deserializeOpDocumentEvaluatePullRequestApprovalRulesOutput(v if err := awsAwsjson11_deserializeDocumentEvaluation(&sv.Evaluation, value); err != nil { return err } + default: _, _ = key, value @@ -31305,6 +31756,7 @@ func awsAwsjson11_deserializeOpDocumentGetApprovalRuleTemplateOutput(v **GetAppr if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -31348,6 +31800,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlobOutput(v **GetBlobOutput, value in } sv.Content = dv } + default: _, _ = key, value @@ -31383,6 +31836,7 @@ func awsAwsjson11_deserializeOpDocumentGetBranchOutput(v **GetBranchOutput, valu if err := awsAwsjson11_deserializeDocumentBranchInfo(&sv.Branch, value); err != nil { return err } + default: _, _ = key, value @@ -31418,6 +31872,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommentOutput(v **GetCommentOutput, va if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + default: _, _ = key, value @@ -31457,10 +31912,12 @@ func awsAwsjson11_deserializeOpDocumentGetCommentReactionsOutput(v **GetCommentR } sv.NextToken = ptr.String(jtv) } + case "reactionsForComment": if err := awsAwsjson11_deserializeDocumentReactionsForCommentList(&sv.ReactionsForComment, value); err != nil { return err } + default: _, _ = key, value @@ -31496,6 +31953,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForComparedCommitOutput(v **Ge if err := awsAwsjson11_deserializeDocumentCommentsForComparedCommitData(&sv.CommentsForComparedCommitData, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -31504,6 +31962,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForComparedCommitOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31539,6 +31998,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForPullRequestOutput(v **GetCo if err := awsAwsjson11_deserializeDocumentCommentsForPullRequestData(&sv.CommentsForPullRequestData, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -31547,6 +32007,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommentsForPullRequestOutput(v **GetCo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31582,6 +32043,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommitOutput(v **GetCommitOutput, valu if err := awsAwsjson11_deserializeDocumentCommit(&sv.Commit, value); err != nil { return err } + default: _, _ = key, value @@ -31617,6 +32079,7 @@ func awsAwsjson11_deserializeOpDocumentGetDifferencesOutput(v **GetDifferencesOu if err := awsAwsjson11_deserializeDocumentDifferenceList(&sv.Differences, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -31625,6 +32088,7 @@ func awsAwsjson11_deserializeOpDocumentGetDifferencesOutput(v **GetDifferencesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31664,6 +32128,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.BlobId = ptr.String(jtv) } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -31672,6 +32137,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.CommitId = ptr.String(jtv) } + case "fileContent": if value != nil { jtv, ok := value.(string) @@ -31684,6 +32150,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileContent = dv } + case "fileMode": if value != nil { jtv, ok := value.(string) @@ -31692,6 +32159,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileMode = types.FileModeTypeEnum(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -31700,6 +32168,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FilePath = ptr.String(jtv) } + case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -31712,6 +32181,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileOutput(v **GetFileOutput, value in } sv.FileSize = i64 } + default: _, _ = key, value @@ -31751,10 +32221,12 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.CommitId = ptr.String(jtv) } + case "files": if err := awsAwsjson11_deserializeDocumentFileList(&sv.Files, value); err != nil { return err } + case "folderPath": if value != nil { jtv, ok := value.(string) @@ -31763,18 +32235,22 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.FolderPath = ptr.String(jtv) } + case "subFolders": if err := awsAwsjson11_deserializeDocumentFolderList(&sv.SubFolders, value); err != nil { return err } + case "subModules": if err := awsAwsjson11_deserializeDocumentSubModuleList(&sv.SubModules, value); err != nil { return err } + case "symbolicLinks": if err := awsAwsjson11_deserializeDocumentSymbolicLinkList(&sv.SymbolicLinks, value); err != nil { return err } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -31783,6 +32259,7 @@ func awsAwsjson11_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -31822,6 +32299,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.BaseCommitId = ptr.String(jtv) } + case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -31830,6 +32308,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.DestinationCommitId = ptr.String(jtv) } + case "mergedCommitId": if value != nil { jtv, ok := value.(string) @@ -31838,6 +32317,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.MergedCommitId = ptr.String(jtv) } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -31846,6 +32326,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeCommitOutput(v **GetMergeCommitOu } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -31885,10 +32366,12 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.BaseCommitId = ptr.String(jtv) } + case "conflictMetadataList": if err := awsAwsjson11_deserializeDocumentConflictMetadataList(&sv.ConflictMetadataList, value); err != nil { return err } + case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -31897,6 +32380,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.DestinationCommitId = ptr.String(jtv) } + case "mergeable": if value != nil { jtv, ok := value.(bool) @@ -31905,6 +32389,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.Mergeable = jtv } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -31913,6 +32398,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.NextToken = ptr.String(jtv) } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -31921,6 +32407,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeConflictsOutput(v **GetMergeConfl } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -31960,6 +32447,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.BaseCommitId = ptr.String(jtv) } + case "destinationCommitId": if value != nil { jtv, ok := value.(string) @@ -31968,10 +32456,12 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.DestinationCommitId = ptr.String(jtv) } + case "mergeOptions": if err := awsAwsjson11_deserializeDocumentMergeOptions(&sv.MergeOptions, value); err != nil { return err } + case "sourceCommitId": if value != nil { jtv, ok := value.(string) @@ -31980,6 +32470,7 @@ func awsAwsjson11_deserializeOpDocumentGetMergeOptionsOutput(v **GetMergeOptions } sv.SourceCommitId = ptr.String(jtv) } + default: _, _ = key, value @@ -32015,6 +32506,7 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestApprovalStatesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentApprovalList(&sv.Approvals, value); err != nil { return err } + default: _, _ = key, value @@ -32050,6 +32542,7 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOutput(v **GetPullRequestOu if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -32089,6 +32582,7 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOverrideStateOutput(v **Get } sv.Overridden = jtv } + case "overrider": if value != nil { jtv, ok := value.(string) @@ -32097,6 +32591,7 @@ func awsAwsjson11_deserializeOpDocumentGetPullRequestOverrideStateOutput(v **Get } sv.Overrider = ptr.String(jtv) } + default: _, _ = key, value @@ -32132,6 +32627,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryOutput(v **GetRepositoryOutp if err := awsAwsjson11_deserializeDocumentRepositoryMetadata(&sv.RepositoryMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -32171,10 +32667,12 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryTriggersOutput(v **GetReposi } sv.ConfigurationId = ptr.String(jtv) } + case "triggers": if err := awsAwsjson11_deserializeDocumentRepositoryTriggersList(&sv.Triggers, value); err != nil { return err } + default: _, _ = key, value @@ -32210,6 +32708,7 @@ func awsAwsjson11_deserializeOpDocumentListApprovalRuleTemplatesOutput(v **ListA if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameList(&sv.ApprovalRuleTemplateNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32218,6 +32717,7 @@ func awsAwsjson11_deserializeOpDocumentListApprovalRuleTemplatesOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32253,6 +32753,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedApprovalRuleTemplatesForRep if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplateNameList(&sv.ApprovalRuleTemplateNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32261,6 +32762,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociatedApprovalRuleTemplatesForRep } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32296,6 +32798,7 @@ func awsAwsjson11_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput if err := awsAwsjson11_deserializeDocumentBranchNameList(&sv.Branches, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32304,6 +32807,7 @@ func awsAwsjson11_deserializeOpDocumentListBranchesOutput(v **ListBranchesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32343,10 +32847,12 @@ func awsAwsjson11_deserializeOpDocumentListFileCommitHistoryOutput(v **ListFileC } sv.NextToken = ptr.String(jtv) } + case "revisionDag": if err := awsAwsjson11_deserializeDocumentRevisionDag(&sv.RevisionDag, value); err != nil { return err } + default: _, _ = key, value @@ -32386,10 +32892,12 @@ func awsAwsjson11_deserializeOpDocumentListPullRequestsOutput(v **ListPullReques } sv.NextToken = ptr.String(jtv) } + case "pullRequestIds": if err := awsAwsjson11_deserializeDocumentPullRequestIdList(&sv.PullRequestIds, value); err != nil { return err } + default: _, _ = key, value @@ -32429,10 +32937,12 @@ func awsAwsjson11_deserializeOpDocumentListRepositoriesForApprovalRuleTemplateOu } sv.NextToken = ptr.String(jtv) } + case "repositoryNames": if err := awsAwsjson11_deserializeDocumentRepositoryNameList(&sv.RepositoryNames, value); err != nil { return err } + default: _, _ = key, value @@ -32472,10 +32982,12 @@ func awsAwsjson11_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryNameIdPairList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -32515,10 +33027,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -32558,6 +33072,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByFastForwardOutput(v **Merg } sv.CommitId = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -32566,6 +33081,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByFastForwardOutput(v **Merg } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -32605,6 +33121,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesBySquashOutput(v **MergeBran } sv.CommitId = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -32613,6 +33130,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesBySquashOutput(v **MergeBran } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -32652,6 +33170,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByThreeWayOutput(v **MergeBr } sv.CommitId = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -32660,6 +33179,7 @@ func awsAwsjson11_deserializeOpDocumentMergeBranchesByThreeWayOutput(v **MergeBr } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -32695,6 +33215,7 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestByFastForwardOutput(v **M if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -32730,6 +33251,7 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestBySquashOutput(v **MergeP if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -32765,6 +33287,7 @@ func awsAwsjson11_deserializeOpDocumentMergePullRequestByThreeWayOutput(v **Merg if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -32804,6 +33327,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.AfterBlobId = ptr.String(jtv) } + case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -32812,6 +33336,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.AfterCommitId = ptr.String(jtv) } + case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -32820,6 +33345,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.BeforeBlobId = ptr.String(jtv) } + case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -32828,14 +33354,17 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.BeforeCommitId = ptr.String(jtv) } + case "comment": if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -32844,6 +33373,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForComparedCommitOutput(v **Po } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -32883,6 +33413,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.AfterBlobId = ptr.String(jtv) } + case "afterCommitId": if value != nil { jtv, ok := value.(string) @@ -32891,6 +33422,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.AfterCommitId = ptr.String(jtv) } + case "beforeBlobId": if value != nil { jtv, ok := value.(string) @@ -32899,6 +33431,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.BeforeBlobId = ptr.String(jtv) } + case "beforeCommitId": if value != nil { jtv, ok := value.(string) @@ -32907,14 +33440,17 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.BeforeCommitId = ptr.String(jtv) } + case "comment": if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "pullRequestId": if value != nil { jtv, ok := value.(string) @@ -32923,6 +33459,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.PullRequestId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -32931,6 +33468,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentForPullRequestOutput(v **PostC } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -32966,6 +33504,7 @@ func awsAwsjson11_deserializeOpDocumentPostCommentReplyOutput(v **PostCommentRep if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + default: _, _ = key, value @@ -33005,6 +33544,7 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.BlobId = ptr.String(jtv) } + case "commitId": if value != nil { jtv, ok := value.(string) @@ -33013,6 +33553,7 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.CommitId = ptr.String(jtv) } + case "treeId": if value != nil { jtv, ok := value.(string) @@ -33021,6 +33562,7 @@ func awsAwsjson11_deserializeOpDocumentPutFileOutput(v **PutFileOutput, value in } sv.TreeId = ptr.String(jtv) } + default: _, _ = key, value @@ -33060,6 +33602,7 @@ func awsAwsjson11_deserializeOpDocumentPutRepositoryTriggersOutput(v **PutReposi } sv.ConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -33095,10 +33638,12 @@ func awsAwsjson11_deserializeOpDocumentTestRepositoryTriggersOutput(v **TestRepo if err := awsAwsjson11_deserializeDocumentRepositoryTriggerExecutionFailureList(&sv.FailedExecutions, value); err != nil { return err } + case "successfulExecutions": if err := awsAwsjson11_deserializeDocumentRepositoryTriggerNameList(&sv.SuccessfulExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -33134,6 +33679,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateContentOutput(v if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -33169,6 +33715,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateDescriptionOutp if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -33204,6 +33751,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApprovalRuleTemplateNameOutput(v ** if err := awsAwsjson11_deserializeDocumentApprovalRuleTemplate(&sv.ApprovalRuleTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -33239,6 +33787,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCommentOutput(v **UpdateCommentOutp if err := awsAwsjson11_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + default: _, _ = key, value @@ -33274,6 +33823,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestApprovalRuleContentOutpu if err := awsAwsjson11_deserializeDocumentApprovalRule(&sv.ApprovalRule, value); err != nil { return err } + default: _, _ = key, value @@ -33309,6 +33859,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestDescriptionOutput(v **Up if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -33344,6 +33895,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestStatusOutput(v **UpdateP if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -33379,6 +33931,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullRequestTitleOutput(v **UpdatePu if err := awsAwsjson11_deserializeDocumentPullRequest(&sv.PullRequest, value); err != nil { return err } + default: _, _ = key, value @@ -33418,6 +33971,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.KmsKeyId = ptr.String(jtv) } + case "originalKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -33426,6 +33980,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.OriginalKmsKeyId = ptr.String(jtv) } + case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -33434,6 +33989,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryEncryptionKeyOutput(v **U } sv.RepositoryId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/codeconnections/deserializers.go b/service/codeconnections/deserializers.go index 79a801d66af..fa91b0fea72 100644 --- a/service/codeconnections/deserializers.go +++ b/service/codeconnections/deserializers.go @@ -3903,6 +3903,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3942,6 +3943,7 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3981,6 +3983,7 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4020,6 +4023,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4059,6 +4063,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -4067,6 +4072,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -4075,6 +4081,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionStatus = types.ConnectionStatus(jtv) } + case "HostArn": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4090,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.HostArn = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -4091,6 +4099,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccountId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4099,6 +4108,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } + default: _, _ = key, value @@ -4172,6 +4182,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4191,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Name = ptr.String(jtv) } + case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -4188,6 +4200,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderEndpoint = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4196,6 +4209,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4204,6 +4218,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4212,10 +4227,12 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.StatusMessage = ptr.String(jtv) } + case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4289,6 +4306,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4328,6 +4346,7 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4401,6 +4420,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4440,6 +4460,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ConnectionArn = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4448,6 +4469,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.EncryptionKeyArn = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4456,6 +4478,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4464,6 +4487,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ProviderType = types.ProviderType(jtv) } + case "RepositoryLinkArn": if value != nil { jtv, ok := value.(string) @@ -4472,6 +4496,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkArn = ptr.String(jtv) } + case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -4480,6 +4505,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -4488,6 +4514,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -4557,6 +4584,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEventList(&sv.Events, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4572,6 +4600,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4580,6 +4609,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } + default: _, _ = key, value @@ -4619,6 +4649,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } + case "Directory": if value != nil { jtv, ok := value.(string) @@ -4627,6 +4658,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } + case "Parent": if value != nil { jtv, ok := value.(string) @@ -4635,6 +4667,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4676,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -4716,6 +4750,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4724,6 +4759,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } + case "Time": if value != nil { switch jtv := value.(type) { @@ -4739,6 +4775,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4747,6 +4784,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4820,6 +4858,7 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4859,6 +4898,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4894,10 +4934,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEventList(&sv.Events, value); err != nil { return err } + case "InitialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4913,6 +4955,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4921,6 +4964,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -4929,10 +4973,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } + case "TargetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } + default: _, _ = key, value @@ -4972,6 +5018,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4980,6 +5027,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } + case "Time": if value != nil { switch jtv := value.(type) { @@ -4995,6 +5043,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5003,6 +5052,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5076,6 +5126,7 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5115,6 +5166,7 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5154,6 +5206,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } + case "Directory": if value != nil { jtv, ok := value.(string) @@ -5162,6 +5215,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5170,6 +5224,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5233,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.ProviderType = types.ProviderType(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5186,6 +5242,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } + case "Sha": if value != nil { jtv, ok := value.(string) @@ -5194,6 +5251,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } + default: _, _ = key, value @@ -5301,6 +5359,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContextList(&sv.Contexts, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5316,6 +5375,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "CreatedReason": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5384,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5332,6 +5393,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } + case "ResolvedAt": if value != nil { switch jtv := value.(type) { @@ -5347,6 +5409,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "ResolvedReason": if value != nil { jtv, ok := value.(string) @@ -5355,6 +5418,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5363,6 +5427,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5371,6 +5436,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } + default: _, _ = key, value @@ -5410,6 +5476,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5418,6 +5485,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5491,6 +5559,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5526,6 +5595,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum if err := awsAwsjson10_deserializeDocumentLatestSyncBlockerList(&sv.LatestBlockers, value); err != nil { return err } + case "ParentResourceName": if value != nil { jtv, ok := value.(string) @@ -5534,6 +5604,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ParentResourceName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5542,6 +5613,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5581,6 +5653,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.Branch = ptr.String(jtv) } + case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -5589,6 +5662,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ConfigFile = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5597,6 +5671,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5605,6 +5680,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ProviderType = types.ProviderType(jtv) } + case "PublishDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5613,6 +5689,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PublishDeploymentStatus = types.PublishDeploymentStatus(jtv) } + case "PullRequestComment": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5698,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PullRequestComment = types.PullRequestComment(jtv) } + case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5707,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryLinkId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5637,6 +5716,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5725,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ResourceName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5734,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RoleArn = ptr.String(jtv) } + case "SyncType": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5743,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.SyncType = types.SyncConfigurationType(jtv) } + case "TriggerResourceUpdateOn": if value != nil { jtv, ok := value.(string) @@ -5669,6 +5752,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.TriggerResourceUpdateOn = types.TriggerResourceUpdateOn(jtv) } + default: _, _ = key, value @@ -5742,6 +5826,7 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5781,6 +5866,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5789,6 +5875,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5862,6 +5949,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5901,6 +5989,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5940,6 +6029,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5979,6 +6069,7 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6014,10 +6105,12 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "TlsCertificate": if value != nil { jtv, ok := value.(string) @@ -6026,6 +6119,7 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.TlsCertificate = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6034,6 +6128,7 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -6073,10 +6168,12 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6116,10 +6213,12 @@ func awsAwsjson10_deserializeOpDocumentCreateHostOutput(v **CreateHostOutput, va } sv.HostArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6155,6 +6254,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryLinkOutput(v **CreateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6190,6 +6290,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSyncConfigurationOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6349,6 +6450,7 @@ func awsAwsjson10_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -6388,6 +6490,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Name = ptr.String(jtv) } + case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -6396,6 +6499,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderEndpoint = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -6404,6 +6508,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6412,10 +6517,12 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Status = ptr.String(jtv) } + case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6451,6 +6558,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryLinkOutput(v **GetRepository if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6486,6 +6594,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -6521,14 +6630,17 @@ func awsAwsjson10_deserializeOpDocumentGetResourceSyncStatusOutput(v **GetResour if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } + case "LatestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } + case "LatestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -6564,6 +6676,7 @@ func awsAwsjson10_deserializeOpDocumentGetSyncBlockerSummaryOutput(v **GetSyncBl if err := awsAwsjson10_deserializeDocumentSyncBlockerSummary(&sv.SyncBlockerSummary, value); err != nil { return err } + default: _, _ = key, value @@ -6599,6 +6712,7 @@ func awsAwsjson10_deserializeOpDocumentGetSyncConfigurationOutput(v **GetSyncCon if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6634,6 +6748,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6642,6 +6757,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6677,6 +6793,7 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu if err := awsAwsjson10_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6685,6 +6802,7 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6724,10 +6842,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositoryLinksOutput(v **ListReposit } sv.NextToken = ptr.String(jtv) } + case "RepositoryLinks": if err := awsAwsjson10_deserializeDocumentRepositoryLinkList(&sv.RepositoryLinks, value); err != nil { return err } + default: _, _ = key, value @@ -6767,10 +6887,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "RepositorySyncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.RepositorySyncDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -6810,10 +6932,12 @@ func awsAwsjson10_deserializeOpDocumentListSyncConfigurationsOutput(v **ListSync } sv.NextToken = ptr.String(jtv) } + case "SyncConfigurations": if err := awsAwsjson10_deserializeDocumentSyncConfigurationList(&sv.SyncConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6849,6 +6973,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6977,6 +7102,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateRepositoryLinkOutput(v **UpdateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7016,6 +7142,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ParentResourceName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7024,10 +7151,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ResourceName = ptr.String(jtv) } + case "SyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.SyncBlocker, value); err != nil { return err } + default: _, _ = key, value @@ -7063,6 +7192,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncConfigurationOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codedeploy/deserializers.go b/service/codedeploy/deserializers.go index 34bb08a433a..7ca2a641b64 100644 --- a/service/codedeploy/deserializers.go +++ b/service/codedeploy/deserializers.go @@ -9772,6 +9772,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9807,6 +9808,7 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -9815,6 +9817,7 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.Enabled = jtv } + case "ignorePollAlarmFailure": if value != nil { jtv, ok := value.(bool) @@ -9823,6 +9826,7 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.IgnorePollAlarmFailure = jtv } + default: _, _ = key, value @@ -9896,6 +9900,7 @@ func awsAwsjson11_deserializeDocumentAlarmsLimitExceededException(v **types.Alar } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9935,6 +9940,7 @@ func awsAwsjson11_deserializeDocumentApplicationAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9974,6 +9980,7 @@ func awsAwsjson11_deserializeDocumentApplicationDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10013,6 +10020,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ApplicationId = ptr.String(jtv) } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -10021,6 +10029,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ApplicationName = ptr.String(jtv) } + case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -10029,6 +10038,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.ComputePlatform = types.ComputePlatform(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -10044,6 +10054,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } } + case "gitHubAccountName": if value != nil { jtv, ok := value.(string) @@ -10052,6 +10063,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.GitHubAccountName = ptr.String(jtv) } + case "linkedToGitHub": if value != nil { jtv, ok := value.(bool) @@ -10060,6 +10072,7 @@ func awsAwsjson11_deserializeDocumentApplicationInfo(v **types.ApplicationInfo, } sv.LinkedToGitHub = jtv } + default: _, _ = key, value @@ -10099,6 +10112,7 @@ func awsAwsjson11_deserializeDocumentApplicationLimitExceededException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10138,6 +10152,7 @@ func awsAwsjson11_deserializeDocumentApplicationNameRequiredException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10247,6 +10262,7 @@ func awsAwsjson11_deserializeDocumentAppSpecContent(v **types.AppSpecContent, va } sv.Content = ptr.String(jtv) } + case "sha256": if value != nil { jtv, ok := value.(string) @@ -10255,6 +10271,7 @@ func awsAwsjson11_deserializeDocumentAppSpecContent(v **types.AppSpecContent, va } sv.Sha256 = ptr.String(jtv) } + default: _, _ = key, value @@ -10294,6 +10311,7 @@ func awsAwsjson11_deserializeDocumentArnNotSupportedException(v **types.ArnNotSu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10333,10 +10351,12 @@ func awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(v **types.AutoRol } sv.Enabled = jtv } + case "events": if err := awsAwsjson11_deserializeDocumentAutoRollbackEventsList(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -10412,6 +10432,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Hook = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10420,6 +10441,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Name = ptr.String(jtv) } + case "terminationHook": if value != nil { jtv, ok := value.(string) @@ -10428,6 +10450,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.TerminationHook = ptr.String(jtv) } + default: _, _ = key, value @@ -10537,6 +10560,7 @@ func awsAwsjson11_deserializeDocumentBatchLimitExceededException(v **types.Batch } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10572,14 +10596,17 @@ func awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(v **types. if err := awsAwsjson11_deserializeDocumentDeploymentReadyOption(&sv.DeploymentReadyOption, value); err != nil { return err } + case "greenFleetProvisioningOption": if err := awsAwsjson11_deserializeDocumentGreenFleetProvisioningOption(&sv.GreenFleetProvisioningOption, value); err != nil { return err } + case "terminateBlueInstancesOnDeploymentSuccess": if err := awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(&sv.TerminateBlueInstancesOnDeploymentSuccess, value); err != nil { return err } + default: _, _ = key, value @@ -10619,6 +10646,7 @@ func awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(v **types.Blu } sv.Action = types.InstanceAction(jtv) } + case "terminationWaitTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10631,6 +10659,7 @@ func awsAwsjson11_deserializeDocumentBlueInstanceTerminationOption(v **types.Blu } sv.TerminationWaitTimeInMinutes = int32(i64) } + default: _, _ = key, value @@ -10670,6 +10699,7 @@ func awsAwsjson11_deserializeDocumentBucketNameFilterRequiredException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10709,6 +10739,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.DeploymentId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10724,10 +10755,12 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } } + case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10736,6 +10769,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.ResourceType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10744,6 +10778,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.Status = types.TargetStatus(jtv) } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -10752,6 +10787,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } sv.TargetId = ptr.String(jtv) } + case "targetVersionWeight": if value != nil { switch jtv := value.(type) { @@ -10785,6 +10821,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationTarget(v **types.CloudFormati } } + default: _, _ = key, value @@ -10824,6 +10861,7 @@ func awsAwsjson11_deserializeDocumentDeploymentAlreadyCompletedException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10863,6 +10901,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigAlreadyExistsException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10902,6 +10941,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigDoesNotExistException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10941,6 +10981,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.ComputePlatform = types.ComputePlatform(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -10956,6 +10997,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } } + case "deploymentConfigId": if value != nil { jtv, ok := value.(string) @@ -10964,6 +11006,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.DeploymentConfigId = ptr.String(jtv) } + case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -10972,18 +11015,22 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInfo(v **types.DeploymentCo } sv.DeploymentConfigName = ptr.String(jtv) } + case "minimumHealthyHosts": if err := awsAwsjson11_deserializeDocumentMinimumHealthyHosts(&sv.MinimumHealthyHosts, value); err != nil { return err } + case "trafficRoutingConfig": if err := awsAwsjson11_deserializeDocumentTrafficRoutingConfig(&sv.TrafficRoutingConfig, value); err != nil { return err } + case "zonalConfig": if err := awsAwsjson11_deserializeDocumentZonalConfig(&sv.ZonalConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11023,6 +11070,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigInUseException(v **types.De } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11062,6 +11110,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigLimitExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11101,6 +11150,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfigNameRequiredException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11176,6 +11226,7 @@ func awsAwsjson11_deserializeDocumentDeploymentDoesNotExistException(v **types.D } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11215,6 +11266,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupAlreadyExistsException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11254,6 +11306,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupDoesNotExistException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11289,6 +11342,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -11297,18 +11351,22 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ApplicationName = ptr.String(jtv) } + case "autoRollbackConfiguration": if err := awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(&sv.AutoRollbackConfiguration, value); err != nil { return err } + case "autoScalingGroups": if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.AutoScalingGroups, value); err != nil { return err } + case "blueGreenDeploymentConfiguration": if err := awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(&sv.BlueGreenDeploymentConfiguration, value); err != nil { return err } + case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -11317,6 +11375,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ComputePlatform = types.ComputePlatform(jtv) } + case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -11325,6 +11384,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentConfigName = ptr.String(jtv) } + case "deploymentGroupId": if value != nil { jtv, ok := value.(string) @@ -11333,6 +11393,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentGroupId = ptr.String(jtv) } + case "deploymentGroupName": if value != nil { jtv, ok := value.(string) @@ -11341,42 +11402,52 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.DeploymentGroupName = ptr.String(jtv) } + case "deploymentStyle": if err := awsAwsjson11_deserializeDocumentDeploymentStyle(&sv.DeploymentStyle, value); err != nil { return err } + case "ec2TagFilters": if err := awsAwsjson11_deserializeDocumentEC2TagFilterList(&sv.Ec2TagFilters, value); err != nil { return err } + case "ec2TagSet": if err := awsAwsjson11_deserializeDocumentEC2TagSet(&sv.Ec2TagSet, value); err != nil { return err } + case "ecsServices": if err := awsAwsjson11_deserializeDocumentECSServiceList(&sv.EcsServices, value); err != nil { return err } + case "lastAttemptedDeployment": if err := awsAwsjson11_deserializeDocumentLastDeploymentInfo(&sv.LastAttemptedDeployment, value); err != nil { return err } + case "lastSuccessfulDeployment": if err := awsAwsjson11_deserializeDocumentLastDeploymentInfo(&sv.LastSuccessfulDeployment, value); err != nil { return err } + case "loadBalancerInfo": if err := awsAwsjson11_deserializeDocumentLoadBalancerInfo(&sv.LoadBalancerInfo, value); err != nil { return err } + case "onPremisesInstanceTagFilters": if err := awsAwsjson11_deserializeDocumentTagFilterList(&sv.OnPremisesInstanceTagFilters, value); err != nil { return err } + case "onPremisesTagSet": if err := awsAwsjson11_deserializeDocumentOnPremisesTagSet(&sv.OnPremisesTagSet, value); err != nil { return err } + case "outdatedInstancesStrategy": if value != nil { jtv, ok := value.(string) @@ -11385,6 +11456,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.OutdatedInstancesStrategy = types.OutdatedInstancesStrategy(jtv) } + case "serviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11393,10 +11465,12 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.ServiceRoleArn = ptr.String(jtv) } + case "targetRevision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.TargetRevision, value); err != nil { return err } + case "terminationHookEnabled": if value != nil { jtv, ok := value.(bool) @@ -11405,10 +11479,12 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupInfo(v **types.DeploymentGro } sv.TerminationHookEnabled = jtv } + case "triggerConfigurations": if err := awsAwsjson11_deserializeDocumentTriggerConfigList(&sv.TriggerConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -11482,6 +11558,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupLimitExceededException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11521,6 +11598,7 @@ func awsAwsjson11_deserializeDocumentDeploymentGroupNameRequiredException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11596,6 +11674,7 @@ func awsAwsjson11_deserializeDocumentDeploymentIdRequiredException(v **types.Dep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11635,6 +11714,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.AdditionalDeploymentStatusInfo = ptr.String(jtv) } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -11643,14 +11723,17 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ApplicationName = ptr.String(jtv) } + case "autoRollbackConfiguration": if err := awsAwsjson11_deserializeDocumentAutoRollbackConfiguration(&sv.AutoRollbackConfiguration, value); err != nil { return err } + case "blueGreenDeploymentConfiguration": if err := awsAwsjson11_deserializeDocumentBlueGreenDeploymentConfiguration(&sv.BlueGreenDeploymentConfiguration, value); err != nil { return err } + case "completeTime": if value != nil { switch jtv := value.(type) { @@ -11666,6 +11749,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } + case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -11674,6 +11758,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ComputePlatform = types.ComputePlatform(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -11689,6 +11774,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } + case "creator": if value != nil { jtv, ok := value.(string) @@ -11697,6 +11783,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Creator = types.DeploymentCreator(jtv) } + case "deploymentConfigName": if value != nil { jtv, ok := value.(string) @@ -11705,6 +11792,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentConfigName = ptr.String(jtv) } + case "deploymentGroupName": if value != nil { jtv, ok := value.(string) @@ -11713,6 +11801,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentGroupName = ptr.String(jtv) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -11721,18 +11810,22 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.DeploymentId = ptr.String(jtv) } + case "deploymentOverview": if err := awsAwsjson11_deserializeDocumentDeploymentOverview(&sv.DeploymentOverview, value); err != nil { return err } + case "deploymentStatusMessages": if err := awsAwsjson11_deserializeDocumentDeploymentStatusMessageList(&sv.DeploymentStatusMessages, value); err != nil { return err } + case "deploymentStyle": if err := awsAwsjson11_deserializeDocumentDeploymentStyle(&sv.DeploymentStyle, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -11741,10 +11834,12 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Description = ptr.String(jtv) } + case "errorInformation": if err := awsAwsjson11_deserializeDocumentErrorInformation(&sv.ErrorInformation, value); err != nil { return err } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -11753,6 +11848,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.ExternalId = ptr.String(jtv) } + case "fileExistsBehavior": if value != nil { jtv, ok := value.(string) @@ -11761,6 +11857,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.FileExistsBehavior = types.FileExistsBehavior(jtv) } + case "ignoreApplicationStopFailures": if value != nil { jtv, ok := value.(bool) @@ -11769,6 +11866,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.IgnoreApplicationStopFailures = jtv } + case "instanceTerminationWaitTimeStarted": if value != nil { jtv, ok := value.(bool) @@ -11777,30 +11875,37 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.InstanceTerminationWaitTimeStarted = jtv } + case "loadBalancerInfo": if err := awsAwsjson11_deserializeDocumentLoadBalancerInfo(&sv.LoadBalancerInfo, value); err != nil { return err } + case "overrideAlarmConfiguration": if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.OverrideAlarmConfiguration, value); err != nil { return err } + case "previousRevision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.PreviousRevision, value); err != nil { return err } + case "relatedDeployments": if err := awsAwsjson11_deserializeDocumentRelatedDeployments(&sv.RelatedDeployments, value); err != nil { return err } + case "revision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.Revision, value); err != nil { return err } + case "rollbackInfo": if err := awsAwsjson11_deserializeDocumentRollbackInfo(&sv.RollbackInfo, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11816,6 +11921,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11824,10 +11930,12 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.Status = types.DeploymentStatus(jtv) } + case "targetInstances": if err := awsAwsjson11_deserializeDocumentTargetInstances(&sv.TargetInstances, value); err != nil { return err } + case "updateOutdatedInstancesOnly": if value != nil { jtv, ok := value.(bool) @@ -11836,6 +11944,7 @@ func awsAwsjson11_deserializeDocumentDeploymentInfo(v **types.DeploymentInfo, va } sv.UpdateOutdatedInstancesOnly = jtv } + default: _, _ = key, value @@ -11875,6 +11984,7 @@ func awsAwsjson11_deserializeDocumentDeploymentIsNotInReadyStateException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11914,6 +12024,7 @@ func awsAwsjson11_deserializeDocumentDeploymentLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11953,6 +12064,7 @@ func awsAwsjson11_deserializeDocumentDeploymentNotStartedException(v **types.Dep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11996,6 +12108,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Failed = i64 } + case "InProgress": if value != nil { jtv, ok := value.(json.Number) @@ -12008,6 +12121,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.InProgress = i64 } + case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -12020,6 +12134,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Pending = i64 } + case "Ready": if value != nil { jtv, ok := value.(json.Number) @@ -12032,6 +12147,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Ready = i64 } + case "Skipped": if value != nil { jtv, ok := value.(json.Number) @@ -12044,6 +12160,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Skipped = i64 } + case "Succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -12056,6 +12173,7 @@ func awsAwsjson11_deserializeDocumentDeploymentOverview(v **types.DeploymentOver } sv.Succeeded = i64 } + default: _, _ = key, value @@ -12095,6 +12213,7 @@ func awsAwsjson11_deserializeDocumentDeploymentReadyOption(v **types.DeploymentR } sv.ActionOnTimeout = types.DeploymentReadyAction(jtv) } + case "waitTimeInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12107,6 +12226,7 @@ func awsAwsjson11_deserializeDocumentDeploymentReadyOption(v **types.DeploymentR } sv.WaitTimeInMinutes = int32(i64) } + default: _, _ = key, value @@ -12252,6 +12372,7 @@ func awsAwsjson11_deserializeDocumentDeploymentStyle(v **types.DeploymentStyle, } sv.DeploymentOption = types.DeploymentOption(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -12260,6 +12381,7 @@ func awsAwsjson11_deserializeDocumentDeploymentStyle(v **types.DeploymentStyle, } sv.DeploymentType = types.DeploymentType(jtv) } + default: _, _ = key, value @@ -12295,6 +12417,7 @@ func awsAwsjson11_deserializeDocumentDeploymentTarget(v **types.DeploymentTarget if err := awsAwsjson11_deserializeDocumentCloudFormationTarget(&sv.CloudFormationTarget, value); err != nil { return err } + case "deploymentTargetType": if value != nil { jtv, ok := value.(string) @@ -12303,18 +12426,22 @@ func awsAwsjson11_deserializeDocumentDeploymentTarget(v **types.DeploymentTarget } sv.DeploymentTargetType = types.DeploymentTargetType(jtv) } + case "ecsTarget": if err := awsAwsjson11_deserializeDocumentECSTarget(&sv.EcsTarget, value); err != nil { return err } + case "instanceTarget": if err := awsAwsjson11_deserializeDocumentInstanceTarget(&sv.InstanceTarget, value); err != nil { return err } + case "lambdaTarget": if err := awsAwsjson11_deserializeDocumentLambdaTarget(&sv.LambdaTarget, value); err != nil { return err } + default: _, _ = key, value @@ -12354,6 +12481,7 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetDoesNotExistException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12393,6 +12521,7 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetIdRequiredException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12466,6 +12595,7 @@ func awsAwsjson11_deserializeDocumentDeploymentTargetListSizeExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12505,6 +12635,7 @@ func awsAwsjson11_deserializeDocumentDescriptionTooLongException(v **types.Descr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12544,6 +12675,7 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.ErrorCode = types.LifecycleErrorCode(jtv) } + case "logTail": if value != nil { jtv, ok := value.(string) @@ -12552,6 +12684,7 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.LogTail = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -12560,6 +12693,7 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.Message = ptr.String(jtv) } + case "scriptName": if value != nil { jtv, ok := value.(string) @@ -12568,6 +12702,7 @@ func awsAwsjson11_deserializeDocumentDiagnostics(v **types.Diagnostics, value in } sv.ScriptName = ptr.String(jtv) } + default: _, _ = key, value @@ -12607,6 +12742,7 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Key = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12615,6 +12751,7 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Type = types.EC2TagFilterType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12623,6 +12760,7 @@ func awsAwsjson11_deserializeDocumentEC2TagFilter(v **types.EC2TagFilter, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12692,6 +12830,7 @@ func awsAwsjson11_deserializeDocumentEC2TagSet(v **types.EC2TagSet, value interf if err := awsAwsjson11_deserializeDocumentEC2TagSetList(&sv.Ec2TagSetList, value); err != nil { return err } + default: _, _ = key, value @@ -12763,6 +12902,7 @@ func awsAwsjson11_deserializeDocumentECSService(v **types.ECSService, value inte } sv.ClusterName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -12771,6 +12911,7 @@ func awsAwsjson11_deserializeDocumentECSService(v **types.ECSService, value inte } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -12844,6 +12985,7 @@ func awsAwsjson11_deserializeDocumentECSServiceMappingLimitExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12883,6 +13025,7 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.DeploymentId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12898,10 +13041,12 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } } + case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -12910,6 +13055,7 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.Status = types.TargetStatus(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12918,6 +13064,7 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.TargetArn = ptr.String(jtv) } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -12926,10 +13073,12 @@ func awsAwsjson11_deserializeDocumentECSTarget(v **types.ECSTarget, value interf } sv.TargetId = ptr.String(jtv) } + case "taskSetsInfo": if err := awsAwsjson11_deserializeDocumentECSTaskSetList(&sv.TaskSetsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -12973,6 +13122,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.DesiredCount = i64 } + case "identifer": if value != nil { jtv, ok := value.(string) @@ -12981,6 +13131,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.Identifer = ptr.String(jtv) } + case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -12993,6 +13144,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.PendingCount = i64 } + case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -13005,6 +13157,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.RunningCount = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -13013,10 +13166,12 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.Status = ptr.String(jtv) } + case "targetGroup": if err := awsAwsjson11_deserializeDocumentTargetGroupInfo(&sv.TargetGroup, value); err != nil { return err } + case "taskSetLabel": if value != nil { jtv, ok := value.(string) @@ -13025,6 +13180,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } sv.TaskSetLabel = types.TargetLabel(jtv) } + case "trafficWeight": if value != nil { switch jtv := value.(type) { @@ -13058,6 +13214,7 @@ func awsAwsjson11_deserializeDocumentECSTaskSet(v **types.ECSTaskSet, value inte } } + default: _, _ = key, value @@ -13131,6 +13288,7 @@ func awsAwsjson11_deserializeDocumentELBInfo(v **types.ELBInfo, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13204,6 +13362,7 @@ func awsAwsjson11_deserializeDocumentErrorInformation(v **types.ErrorInformation } sv.Code = types.ErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -13212,6 +13371,7 @@ func awsAwsjson11_deserializeDocumentErrorInformation(v **types.ErrorInformation } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13247,6 +13407,7 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi if err := awsAwsjson11_deserializeDocumentDeploymentGroupsList(&sv.DeploymentGroups, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -13255,6 +13416,7 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } sv.Description = ptr.String(jtv) } + case "firstUsedTime": if value != nil { switch jtv := value.(type) { @@ -13270,6 +13432,7 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } + case "lastUsedTime": if value != nil { switch jtv := value.(type) { @@ -13285,6 +13448,7 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } + case "registerTime": if value != nil { switch jtv := value.(type) { @@ -13300,6 +13464,7 @@ func awsAwsjson11_deserializeDocumentGenericRevisionInfo(v **types.GenericRevisi } } + default: _, _ = key, value @@ -13339,6 +13504,7 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenDoesNotExistException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13414,6 +13580,7 @@ func awsAwsjson11_deserializeDocumentGitHubAccountTokenNameRequiredException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13453,6 +13620,7 @@ func awsAwsjson11_deserializeDocumentGitHubLocation(v **types.GitHubLocation, va } sv.CommitId = ptr.String(jtv) } + case "repository": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13629,7 @@ func awsAwsjson11_deserializeDocumentGitHubLocation(v **types.GitHubLocation, va } sv.Repository = ptr.String(jtv) } + default: _, _ = key, value @@ -13500,6 +13669,7 @@ func awsAwsjson11_deserializeDocumentGreenFleetProvisioningOption(v **types.Gree } sv.Action = types.GreenFleetProvisioningAction(jtv) } + default: _, _ = key, value @@ -13539,6 +13709,7 @@ func awsAwsjson11_deserializeDocumentIamArnRequiredException(v **types.IamArnReq } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13578,6 +13749,7 @@ func awsAwsjson11_deserializeDocumentIamSessionArnAlreadyRegisteredException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13617,6 +13789,7 @@ func awsAwsjson11_deserializeDocumentIamUserArnAlreadyRegisteredException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13656,6 +13829,7 @@ func awsAwsjson11_deserializeDocumentIamUserArnRequiredException(v **types.IamUs } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13695,6 +13869,7 @@ func awsAwsjson11_deserializeDocumentInstanceDoesNotExistException(v **types.Ins } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13734,6 +13909,7 @@ func awsAwsjson11_deserializeDocumentInstanceIdRequiredException(v **types.Insta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13780,6 +13956,7 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } } + case "iamSessionArn": if value != nil { jtv, ok := value.(string) @@ -13788,6 +13965,7 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.IamSessionArn = ptr.String(jtv) } + case "iamUserArn": if value != nil { jtv, ok := value.(string) @@ -13796,6 +13974,7 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.IamUserArn = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -13804,6 +13983,7 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.InstanceArn = ptr.String(jtv) } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -13812,6 +13992,7 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } sv.InstanceName = ptr.String(jtv) } + case "registerTime": if value != nil { switch jtv := value.(type) { @@ -13827,10 +14008,12 @@ func awsAwsjson11_deserializeDocumentInstanceInfo(v **types.InstanceInfo, value } } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13904,6 +14087,7 @@ func awsAwsjson11_deserializeDocumentInstanceLimitExceededException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13943,6 +14127,7 @@ func awsAwsjson11_deserializeDocumentInstanceNameAlreadyRegisteredException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14018,6 +14203,7 @@ func awsAwsjson11_deserializeDocumentInstanceNameRequiredException(v **types.Ins } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14057,6 +14243,7 @@ func awsAwsjson11_deserializeDocumentInstanceNotRegisteredException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14132,6 +14319,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.DeploymentId = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -14140,6 +14328,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceId = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -14148,6 +14337,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceType = types.InstanceType(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14163,10 +14353,12 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } + case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14175,6 +14367,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Status = types.InstanceStatus(jtv) } + default: _, _ = key, value @@ -14248,6 +14441,7 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.DeploymentId = ptr.String(jtv) } + case "instanceLabel": if value != nil { jtv, ok := value.(string) @@ -14256,6 +14450,7 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.InstanceLabel = types.TargetLabel(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14271,10 +14466,12 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } } + case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14283,6 +14480,7 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.Status = types.TargetStatus(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -14291,6 +14489,7 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.TargetArn = ptr.String(jtv) } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -14299,6 +14498,7 @@ func awsAwsjson11_deserializeDocumentInstanceTarget(v **types.InstanceTarget, va } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -14338,6 +14538,7 @@ func awsAwsjson11_deserializeDocumentInvalidAlarmConfigException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14377,6 +14578,7 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationNameException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14416,6 +14618,7 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14455,6 +14658,7 @@ func awsAwsjson11_deserializeDocumentInvalidAutoRollbackConfigException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14494,6 +14698,7 @@ func awsAwsjson11_deserializeDocumentInvalidAutoScalingGroupException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14533,6 +14738,7 @@ func awsAwsjson11_deserializeDocumentInvalidBlueGreenDeploymentConfigurationExce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14572,6 +14778,7 @@ func awsAwsjson11_deserializeDocumentInvalidBucketNameFilterException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14611,6 +14818,7 @@ func awsAwsjson11_deserializeDocumentInvalidComputePlatformException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14650,6 +14858,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeployedStateFilterException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14689,6 +14898,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentConfigNameException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14728,6 +14938,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentGroupNameException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14767,6 +14978,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentIdException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14806,6 +15018,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentInstanceTypeException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14845,6 +15058,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStatusException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14884,6 +15098,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentStyleException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14923,6 +15138,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentTargetIdException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14962,6 +15178,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeploymentWaitTypeException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15001,6 +15218,7 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagCombinationException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15040,6 +15258,7 @@ func awsAwsjson11_deserializeDocumentInvalidEC2TagException(v **types.InvalidEC2 } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15079,6 +15298,7 @@ func awsAwsjson11_deserializeDocumentInvalidECSServiceException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15118,6 +15338,7 @@ func awsAwsjson11_deserializeDocumentInvalidExternalIdException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15157,6 +15378,7 @@ func awsAwsjson11_deserializeDocumentInvalidFileExistsBehaviorException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15196,6 +15418,7 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15235,6 +15458,7 @@ func awsAwsjson11_deserializeDocumentInvalidGitHubAccountTokenNameException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15274,6 +15498,7 @@ func awsAwsjson11_deserializeDocumentInvalidIamSessionArnException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15313,6 +15538,7 @@ func awsAwsjson11_deserializeDocumentInvalidIamUserArnException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15352,6 +15578,7 @@ func awsAwsjson11_deserializeDocumentInvalidIgnoreApplicationStopFailuresValueEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15391,6 +15618,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15430,6 +15658,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceNameException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15469,6 +15698,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceStatusException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15508,6 +15738,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceTypeException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15547,6 +15778,7 @@ func awsAwsjson11_deserializeDocumentInvalidKeyPrefixFilterException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15586,6 +15818,7 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionIdExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15625,6 +15858,7 @@ func awsAwsjson11_deserializeDocumentInvalidLifecycleEventHookExecutionStatusExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15664,6 +15898,7 @@ func awsAwsjson11_deserializeDocumentInvalidLoadBalancerInfoException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15703,6 +15938,7 @@ func awsAwsjson11_deserializeDocumentInvalidMinimumHealthyHostValueException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15742,6 +15978,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15781,6 +16018,7 @@ func awsAwsjson11_deserializeDocumentInvalidOnPremisesTagCombinationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15820,6 +16058,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15859,6 +16098,7 @@ func awsAwsjson11_deserializeDocumentInvalidRegistrationStatusException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15898,6 +16138,7 @@ func awsAwsjson11_deserializeDocumentInvalidRevisionException(v **types.InvalidR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15937,6 +16178,7 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15976,6 +16218,7 @@ func awsAwsjson11_deserializeDocumentInvalidSortByException(v **types.InvalidSor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16015,6 +16258,7 @@ func awsAwsjson11_deserializeDocumentInvalidSortOrderException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16054,6 +16298,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16093,6 +16338,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagFilterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16132,6 +16378,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagsToAddException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16171,6 +16418,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetFilterNameException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16210,6 +16458,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetGroupPairException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16249,6 +16498,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetInstancesException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16288,6 +16538,7 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16327,6 +16578,7 @@ func awsAwsjson11_deserializeDocumentInvalidTrafficRoutingConfigurationException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16366,6 +16618,7 @@ func awsAwsjson11_deserializeDocumentInvalidTriggerConfigException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16405,6 +16658,7 @@ func awsAwsjson11_deserializeDocumentInvalidUpdateOutdatedInstancesOnlyValueExce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16444,6 +16698,7 @@ func awsAwsjson11_deserializeDocumentInvalidZonalDeploymentConfigurationExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16483,6 +16738,7 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.CurrentVersion = ptr.String(jtv) } + case "functionAlias": if value != nil { jtv, ok := value.(string) @@ -16491,6 +16747,7 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.FunctionAlias = ptr.String(jtv) } + case "functionName": if value != nil { jtv, ok := value.(string) @@ -16499,6 +16756,7 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.FunctionName = ptr.String(jtv) } + case "targetVersion": if value != nil { jtv, ok := value.(string) @@ -16507,6 +16765,7 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } sv.TargetVersion = ptr.String(jtv) } + case "targetVersionWeight": if value != nil { switch jtv := value.(type) { @@ -16540,6 +16799,7 @@ func awsAwsjson11_deserializeDocumentLambdaFunctionInfo(v **types.LambdaFunction } } + default: _, _ = key, value @@ -16579,10 +16839,12 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.DeploymentId = ptr.String(jtv) } + case "lambdaFunctionInfo": if err := awsAwsjson11_deserializeDocumentLambdaFunctionInfo(&sv.LambdaFunctionInfo, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16598,10 +16860,12 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } } + case "lifecycleEvents": if err := awsAwsjson11_deserializeDocumentLifecycleEventList(&sv.LifecycleEvents, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -16610,6 +16874,7 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.Status = types.TargetStatus(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -16618,6 +16883,7 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.TargetArn = ptr.String(jtv) } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -16626,6 +16892,7 @@ func awsAwsjson11_deserializeDocumentLambdaTarget(v **types.LambdaTarget, value } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -16672,6 +16939,7 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -16680,6 +16948,7 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } sv.DeploymentId = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -16695,6 +16964,7 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } } + case "status": if value != nil { jtv, ok := value.(string) @@ -16703,6 +16973,7 @@ func awsAwsjson11_deserializeDocumentLastDeploymentInfo(v **types.LastDeployment } sv.Status = types.DeploymentStatus(jtv) } + default: _, _ = key, value @@ -16738,6 +17009,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va if err := awsAwsjson11_deserializeDocumentDiagnostics(&sv.Diagnostics, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -16753,6 +17025,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } } + case "lifecycleEventName": if value != nil { jtv, ok := value.(string) @@ -16761,6 +17034,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } sv.LifecycleEventName = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -16776,6 +17050,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -16784,6 +17059,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEvent(v **types.LifecycleEvent, va } sv.Status = types.LifecycleEventStatus(jtv) } + default: _, _ = key, value @@ -16823,6 +17099,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEventAlreadyCompletedException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16896,6 +17173,7 @@ func awsAwsjson11_deserializeDocumentLifecycleHookLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16967,14 +17245,17 @@ func awsAwsjson11_deserializeDocumentLoadBalancerInfo(v **types.LoadBalancerInfo if err := awsAwsjson11_deserializeDocumentELBInfoList(&sv.ElbInfoList, value); err != nil { return err } + case "targetGroupInfoList": if err := awsAwsjson11_deserializeDocumentTargetGroupInfoList(&sv.TargetGroupInfoList, value); err != nil { return err } + case "targetGroupPairInfoList": if err := awsAwsjson11_deserializeDocumentTargetGroupPairInfoList(&sv.TargetGroupPairInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -17014,6 +17295,7 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHosts(v **types.MinimumHealth } sv.Type = types.MinimumHealthyHostsType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -17026,6 +17308,7 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHosts(v **types.MinimumHealth } sv.Value = int32(i64) } + default: _, _ = key, value @@ -17065,6 +17348,7 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(v **types.Minimu } sv.Type = types.MinimumHealthyHostsPerZoneType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -17077,6 +17361,7 @@ func awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(v **types.Minimu } sv.Value = int32(i64) } + default: _, _ = key, value @@ -17116,6 +17401,7 @@ func awsAwsjson11_deserializeDocumentMultipleIamArnsProvidedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17151,6 +17437,7 @@ func awsAwsjson11_deserializeDocumentOnPremisesTagSet(v **types.OnPremisesTagSet if err := awsAwsjson11_deserializeDocumentOnPremisesTagSetList(&sv.OnPremisesTagSetList, value); err != nil { return err } + default: _, _ = key, value @@ -17222,6 +17509,7 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17261,6 +17549,7 @@ func awsAwsjson11_deserializeDocumentRawString(v **types.RawString, value interf } sv.Content = ptr.String(jtv) } + case "sha256": if value != nil { jtv, ok := value.(string) @@ -17269,6 +17558,7 @@ func awsAwsjson11_deserializeDocumentRawString(v **types.RawString, value interf } sv.Sha256 = ptr.String(jtv) } + default: _, _ = key, value @@ -17304,6 +17594,7 @@ func awsAwsjson11_deserializeDocumentRelatedDeployments(v **types.RelatedDeploym if err := awsAwsjson11_deserializeDocumentDeploymentsList(&sv.AutoUpdateOutdatedInstancesDeploymentIds, value); err != nil { return err } + case "autoUpdateOutdatedInstancesRootDeploymentId": if value != nil { jtv, ok := value.(string) @@ -17312,6 +17603,7 @@ func awsAwsjson11_deserializeDocumentRelatedDeployments(v **types.RelatedDeploym } sv.AutoUpdateOutdatedInstancesRootDeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -17351,6 +17643,7 @@ func awsAwsjson11_deserializeDocumentResourceArnRequiredException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17390,6 +17683,7 @@ func awsAwsjson11_deserializeDocumentResourceValidationException(v **types.Resou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17429,6 +17723,7 @@ func awsAwsjson11_deserializeDocumentRevisionDoesNotExistException(v **types.Rev } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17464,10 +17759,12 @@ func awsAwsjson11_deserializeDocumentRevisionInfo(v **types.RevisionInfo, value if err := awsAwsjson11_deserializeDocumentGenericRevisionInfo(&sv.GenericRevisionInfo, value); err != nil { return err } + case "revisionLocation": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.RevisionLocation, value); err != nil { return err } + default: _, _ = key, value @@ -17537,10 +17834,12 @@ func awsAwsjson11_deserializeDocumentRevisionLocation(v **types.RevisionLocation if err := awsAwsjson11_deserializeDocumentAppSpecContent(&sv.AppSpecContent, value); err != nil { return err } + case "gitHubLocation": if err := awsAwsjson11_deserializeDocumentGitHubLocation(&sv.GitHubLocation, value); err != nil { return err } + case "revisionType": if value != nil { jtv, ok := value.(string) @@ -17549,14 +17848,17 @@ func awsAwsjson11_deserializeDocumentRevisionLocation(v **types.RevisionLocation } sv.RevisionType = types.RevisionLocationType(jtv) } + case "s3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + case "string": if err := awsAwsjson11_deserializeDocumentRawString(&sv.String_, value); err != nil { return err } + default: _, _ = key, value @@ -17630,6 +17932,7 @@ func awsAwsjson11_deserializeDocumentRevisionRequiredException(v **types.Revisio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17669,6 +17972,7 @@ func awsAwsjson11_deserializeDocumentRoleRequiredException(v **types.RoleRequire } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17708,6 +18012,7 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackDeploymentId = ptr.String(jtv) } + case "rollbackMessage": if value != nil { jtv, ok := value.(string) @@ -17716,6 +18021,7 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackMessage = ptr.String(jtv) } + case "rollbackTriggeringDeploymentId": if value != nil { jtv, ok := value.(string) @@ -17724,6 +18030,7 @@ func awsAwsjson11_deserializeDocumentRollbackInfo(v **types.RollbackInfo, value } sv.RollbackTriggeringDeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -17763,6 +18070,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "bundleType": if value != nil { jtv, ok := value.(string) @@ -17771,6 +18079,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BundleType = types.BundleType(jtv) } + case "eTag": if value != nil { jtv, ok := value.(string) @@ -17779,6 +18088,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ETag = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -17787,6 +18097,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -17795,6 +18106,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -17834,6 +18146,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -17842,6 +18155,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17881,6 +18195,7 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Key = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17889,6 +18204,7 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Type = types.TagFilterType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -17897,6 +18213,7 @@ func awsAwsjson11_deserializeDocumentTagFilter(v **types.TagFilter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17970,6 +18287,7 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18043,6 +18361,7 @@ func awsAwsjson11_deserializeDocumentTagRequiredException(v **types.TagRequiredE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18082,6 +18401,7 @@ func awsAwsjson11_deserializeDocumentTagSetListLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18121,6 +18441,7 @@ func awsAwsjson11_deserializeDocumentTargetGroupInfo(v **types.TargetGroupInfo, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18190,14 +18511,17 @@ func awsAwsjson11_deserializeDocumentTargetGroupPairInfo(v **types.TargetGroupPa if err := awsAwsjson11_deserializeDocumentTrafficRoute(&sv.ProdTrafficRoute, value); err != nil { return err } + case "targetGroups": if err := awsAwsjson11_deserializeDocumentTargetGroupInfoList(&sv.TargetGroups, value); err != nil { return err } + case "testTrafficRoute": if err := awsAwsjson11_deserializeDocumentTrafficRoute(&sv.TestTrafficRoute, value); err != nil { return err } + default: _, _ = key, value @@ -18303,14 +18627,17 @@ func awsAwsjson11_deserializeDocumentTargetInstances(v **types.TargetInstances, if err := awsAwsjson11_deserializeDocumentAutoScalingGroupNameList(&sv.AutoScalingGroups, value); err != nil { return err } + case "ec2TagSet": if err := awsAwsjson11_deserializeDocumentEC2TagSet(&sv.Ec2TagSet, value); err != nil { return err } + case "tagFilters": if err := awsAwsjson11_deserializeDocumentEC2TagFilterList(&sv.TagFilters, value); err != nil { return err } + default: _, _ = key, value @@ -18350,6 +18677,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18393,6 +18721,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedCanary(v **types.TimeBasedCanary, } sv.CanaryInterval = int32(i64) } + case "canaryPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -18405,6 +18734,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedCanary(v **types.TimeBasedCanary, } sv.CanaryPercentage = int32(i64) } + default: _, _ = key, value @@ -18448,6 +18778,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedLinear(v **types.TimeBasedLinear, } sv.LinearInterval = int32(i64) } + case "linearPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -18460,6 +18791,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedLinear(v **types.TimeBasedLinear, } sv.LinearPercentage = int32(i64) } + default: _, _ = key, value @@ -18495,6 +18827,7 @@ func awsAwsjson11_deserializeDocumentTrafficRoute(v **types.TrafficRoute, value if err := awsAwsjson11_deserializeDocumentListenerArnList(&sv.ListenerArns, value); err != nil { return err } + default: _, _ = key, value @@ -18530,10 +18863,12 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti if err := awsAwsjson11_deserializeDocumentTimeBasedCanary(&sv.TimeBasedCanary, value); err != nil { return err } + case "timeBasedLinear": if err := awsAwsjson11_deserializeDocumentTimeBasedLinear(&sv.TimeBasedLinear, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -18542,6 +18877,7 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.Type = types.TrafficRoutingType(jtv) } + default: _, _ = key, value @@ -18577,6 +18913,7 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu if err := awsAwsjson11_deserializeDocumentTriggerEventTypeList(&sv.TriggerEvents, value); err != nil { return err } + case "triggerName": if value != nil { jtv, ok := value.(string) @@ -18585,6 +18922,7 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerName = ptr.String(jtv) } + case "triggerTargetArn": if value != nil { jtv, ok := value.(string) @@ -18593,6 +18931,7 @@ func awsAwsjson11_deserializeDocumentTriggerConfig(v **types.TriggerConfig, valu } sv.TriggerTargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18702,6 +19041,7 @@ func awsAwsjson11_deserializeDocumentTriggerTargetsLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18741,6 +19081,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedActionForDeploymentTypeException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18784,10 +19125,12 @@ func awsAwsjson11_deserializeDocumentZonalConfig(v **types.ZonalConfig, value in } sv.FirstZoneMonitorDurationInSeconds = ptr.Int64(i64) } + case "minimumHealthyHostsPerZone": if err := awsAwsjson11_deserializeDocumentMinimumHealthyHostsPerZone(&sv.MinimumHealthyHostsPerZone, value); err != nil { return err } + case "monitorDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18800,6 +19143,7 @@ func awsAwsjson11_deserializeDocumentZonalConfig(v **types.ZonalConfig, value in } sv.MonitorDurationInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -18839,6 +19183,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationRevisionsOutput(v **Ba } sv.ApplicationName = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18847,10 +19192,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationRevisionsOutput(v **Ba } sv.ErrorMessage = ptr.String(jtv) } + case "revisions": if err := awsAwsjson11_deserializeDocumentRevisionInfoList(&sv.Revisions, value); err != nil { return err } + default: _, _ = key, value @@ -18886,6 +19233,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetApplicationsOutput(v **BatchGetAp if err := awsAwsjson11_deserializeDocumentApplicationsInfoList(&sv.ApplicationsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -18921,6 +19269,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentGroupsOutput(v **BatchG if err := awsAwsjson11_deserializeDocumentDeploymentGroupInfoList(&sv.DeploymentGroupsInfo, value); err != nil { return err } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18929,6 +19278,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentGroupsOutput(v **BatchG } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18968,10 +19318,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentInstancesOutput(v **Bat } sv.ErrorMessage = ptr.String(jtv) } + case "instancesSummary": if err := awsAwsjson11_deserializeDocumentInstanceSummaryList(&sv.InstancesSummary, value); err != nil { return err } + default: _, _ = key, value @@ -19007,6 +19359,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentsOutput(v **BatchGetDep if err := awsAwsjson11_deserializeDocumentDeploymentsInfoList(&sv.DeploymentsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19042,6 +19395,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDeploymentTargetsOutput(v **Batch if err := awsAwsjson11_deserializeDocumentDeploymentTargetList(&sv.DeploymentTargets, value); err != nil { return err } + default: _, _ = key, value @@ -19077,6 +19431,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetOnPremisesInstancesOutput(v **Bat if err := awsAwsjson11_deserializeDocumentInstanceInfoList(&sv.InstanceInfos, value); err != nil { return err } + default: _, _ = key, value @@ -19116,6 +19471,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -19155,6 +19511,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentConfigOutput(v **CreateDe } sv.DeploymentConfigId = ptr.String(jtv) } + default: _, _ = key, value @@ -19194,6 +19551,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentGroupOutput(v **CreateDep } sv.DeploymentGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -19233,6 +19591,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -19268,6 +19627,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDeploymentGroupOutput(v **DeleteDep if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.HooksNotCleanedUp, value); err != nil { return err } + default: _, _ = key, value @@ -19307,6 +19667,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGitHubAccountTokenOutput(v **Delete } sv.TokenName = ptr.String(jtv) } + default: _, _ = key, value @@ -19373,6 +19734,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsAwsjson11_deserializeDocumentApplicationInfo(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -19412,14 +19774,17 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationRevisionOutput(v **GetAppli } sv.ApplicationName = ptr.String(jtv) } + case "revision": if err := awsAwsjson11_deserializeDocumentRevisionLocation(&sv.Revision, value); err != nil { return err } + case "revisionInfo": if err := awsAwsjson11_deserializeDocumentGenericRevisionInfo(&sv.RevisionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19455,6 +19820,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentConfigOutput(v **GetDeployme if err := awsAwsjson11_deserializeDocumentDeploymentConfigInfo(&sv.DeploymentConfigInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19490,6 +19856,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentGroupOutput(v **GetDeploymen if err := awsAwsjson11_deserializeDocumentDeploymentGroupInfo(&sv.DeploymentGroupInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19525,6 +19892,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentInstanceOutput(v **GetDeploy if err := awsAwsjson11_deserializeDocumentInstanceSummary(&sv.InstanceSummary, value); err != nil { return err } + default: _, _ = key, value @@ -19560,6 +19928,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsAwsjson11_deserializeDocumentDeploymentInfo(&sv.DeploymentInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19595,6 +19964,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeploymentTargetOutput(v **GetDeployme if err := awsAwsjson11_deserializeDocumentDeploymentTarget(&sv.DeploymentTarget, value); err != nil { return err } + default: _, _ = key, value @@ -19630,6 +20000,7 @@ func awsAwsjson11_deserializeOpDocumentGetOnPremisesInstanceOutput(v **GetOnPrem if err := awsAwsjson11_deserializeDocumentInstanceInfo(&sv.InstanceInfo, value); err != nil { return err } + default: _, _ = key, value @@ -19669,10 +20040,12 @@ func awsAwsjson11_deserializeOpDocumentListApplicationRevisionsOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } + case "revisions": if err := awsAwsjson11_deserializeDocumentRevisionLocationList(&sv.Revisions, value); err != nil { return err } + default: _, _ = key, value @@ -19708,6 +20081,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationsList(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19716,6 +20090,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19751,6 +20126,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentConfigsOutput(v **ListDeplo if err := awsAwsjson11_deserializeDocumentDeploymentConfigsList(&sv.DeploymentConfigsList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19759,6 +20135,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentConfigsOutput(v **ListDeplo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19798,10 +20175,12 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentGroupsOutput(v **ListDeploy } sv.ApplicationName = ptr.String(jtv) } + case "deploymentGroups": if err := awsAwsjson11_deserializeDocumentDeploymentGroupsList(&sv.DeploymentGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19810,6 +20189,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentGroupsOutput(v **ListDeploy } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19845,6 +20225,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentInstancesOutput(v **ListDep if err := awsAwsjson11_deserializeDocumentInstancesList(&sv.InstancesList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19853,6 +20234,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentInstancesOutput(v **ListDep } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19888,6 +20270,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsAwsjson11_deserializeDocumentDeploymentsList(&sv.Deployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19896,6 +20279,7 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19935,10 +20319,12 @@ func awsAwsjson11_deserializeOpDocumentListDeploymentTargetsOutput(v **ListDeplo } sv.NextToken = ptr.String(jtv) } + case "targetIds": if err := awsAwsjson11_deserializeDocumentTargetIdList(&sv.TargetIds, value); err != nil { return err } + default: _, _ = key, value @@ -19978,10 +20364,12 @@ func awsAwsjson11_deserializeOpDocumentListGitHubAccountTokenNamesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "tokenNameList": if err := awsAwsjson11_deserializeDocumentGitHubAccountTokenNameList(&sv.TokenNameList, value); err != nil { return err } + default: _, _ = key, value @@ -20017,6 +20405,7 @@ func awsAwsjson11_deserializeOpDocumentListOnPremisesInstancesOutput(v **ListOnP if err := awsAwsjson11_deserializeDocumentInstanceNameList(&sv.InstanceNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20025,6 +20414,7 @@ func awsAwsjson11_deserializeOpDocumentListOnPremisesInstancesOutput(v **ListOnP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20064,10 +20454,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20107,6 +20499,7 @@ func awsAwsjson11_deserializeOpDocumentPutLifecycleEventHookExecutionStatusOutpu } sv.LifecycleEventHookExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -20146,6 +20539,7 @@ func awsAwsjson11_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.Status = types.StopStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -20154,6 +20548,7 @@ func awsAwsjson11_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -20251,6 +20646,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDeploymentGroupOutput(v **UpdateDep if err := awsAwsjson11_deserializeDocumentAutoScalingGroupList(&sv.HooksNotCleanedUp, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codeguruprofiler/deserializers.go b/service/codeguruprofiler/deserializers.go index 90033e932d6..e291b6d8a32 100644 --- a/service/codeguruprofiler/deserializers.go +++ b/service/codeguruprofiler/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentAddNotificationChannelsOutput(v **AddNoti if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -355,14 +356,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.EndTime = ptr.Time(t) } + case "endTimes": if err := awsRestjson1_deserializeDocumentListOfTimestamps(&sv.EndTimes, value); err != nil { return err } + case "frameMetricData": if err := awsRestjson1_deserializeDocumentFrameMetricData(&sv.FrameMetricData, value); err != nil { return err } + case "resolution": if value != nil { jtv, ok := value.(string) @@ -371,6 +375,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.Resolution = types.AggregationPeriod(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -383,10 +388,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetFrameMetricDataOutput(v **BatchGe } sv.StartTime = ptr.Time(t) } + case "unprocessedEndTimes": if err := awsRestjson1_deserializeDocumentUnprocessedEndTimeMap(&sv.UnprocessedEndTimes, value); err != nil { return err } + default: _, _ = key, value @@ -547,6 +554,7 @@ func awsRestjson1_deserializeOpDocumentConfigureAgentOutput(v **ConfigureAgentOu if err := awsRestjson1_deserializeDocumentAgentConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -710,6 +718,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfilingGroupOutput(v **CreateProf if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } + default: _, _ = key, value @@ -970,6 +979,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProfilingGroupOutput(v **Describe if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } + default: _, _ = key, value @@ -1131,10 +1141,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportAccountSummaryOutput(v * } sv.NextToken = ptr.String(jtv) } + case "reportSummaries": if err := awsRestjson1_deserializeDocumentFindingsReportSummaries(&sv.ReportSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1295,6 +1307,7 @@ func awsRestjson1_deserializeOpDocumentGetNotificationConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1456,6 +1469,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1464,6 +1478,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1770,6 +1785,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } + case "profileEndTime": if value != nil { jtv, ok := value.(string) @@ -1782,6 +1798,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfileEndTime = ptr.Time(t) } + case "profileStartTime": if value != nil { jtv, ok := value.(string) @@ -1794,6 +1811,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfileStartTime = ptr.Time(t) } + case "profilingGroupName": if value != nil { jtv, ok := value.(string) @@ -1802,10 +1820,12 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.ProfilingGroupName = ptr.String(jtv) } + case "recommendations": if err := awsRestjson1_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -1966,6 +1986,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsReportsOutput(v **ListFinding if err := awsRestjson1_deserializeDocumentFindingsReportSummaries(&sv.FindingsReportSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1974,6 +1995,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsReportsOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2138,10 +2160,12 @@ func awsRestjson1_deserializeOpDocumentListProfileTimesOutput(v **ListProfileTim } sv.NextToken = ptr.String(jtv) } + case "profileTimes": if err := awsRestjson1_deserializeDocumentProfileTimes(&sv.ProfileTimes, value); err != nil { return err } + default: _, _ = key, value @@ -2300,14 +2324,17 @@ func awsRestjson1_deserializeOpDocumentListProfilingGroupsOutput(v **ListProfili } sv.NextToken = ptr.String(jtv) } + case "profilingGroupNames": if err := awsRestjson1_deserializeDocumentProfilingGroupNames(&sv.ProfilingGroupNames, value); err != nil { return err } + case "profilingGroups": if err := awsRestjson1_deserializeDocumentProfilingGroupDescriptions(&sv.ProfilingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -2465,6 +2492,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2729,6 +2757,7 @@ func awsRestjson1_deserializeOpDocumentPutPermissionOutput(v **PutPermissionOutp } sv.Policy = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2737,6 +2766,7 @@ func awsRestjson1_deserializeOpDocumentPutPermissionOutput(v **PutPermissionOutp } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2897,6 +2927,7 @@ func awsRestjson1_deserializeOpDocumentRemoveNotificationChannelOutput(v **Remov if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3064,6 +3095,7 @@ func awsRestjson1_deserializeOpDocumentRemovePermissionOutput(v **RemovePermissi } sv.Policy = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -3072,6 +3104,7 @@ func awsRestjson1_deserializeOpDocumentRemovePermissionOutput(v **RemovePermissi } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -3520,6 +3553,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfilingGroupOutput(v **UpdateProf if err := awsRestjson1_deserializeDocumentProfilingGroupDescription(&sv.ProfilingGroup, value); err != nil { return err } + default: _, _ = key, value @@ -3771,6 +3805,7 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura if err := awsRestjson1_deserializeDocumentAgentParameters(&sv.AgentParameters, value); err != nil { return err } + case "periodInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3783,6 +3818,7 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura } sv.PeriodInSeconds = ptr.Int32(int32(i64)) } + case "shouldProfile": if value != nil { jtv, ok := value.(bool) @@ -3791,6 +3827,7 @@ func awsRestjson1_deserializeDocumentAgentConfiguration(v **types.AgentConfigura } sv.ShouldProfile = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3830,6 +3867,7 @@ func awsRestjson1_deserializeDocumentAgentOrchestrationConfig(v **types.AgentOrc } sv.ProfilingEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3905,6 +3943,7 @@ func awsRestjson1_deserializeDocumentAggregatedProfileTime(v **types.AggregatedP } sv.Period = types.AggregationPeriod(jtv) } + case "start": if value != nil { jtv, ok := value.(string) @@ -3917,6 +3956,7 @@ func awsRestjson1_deserializeDocumentAggregatedProfileTime(v **types.AggregatedP } sv.Start = ptr.Time(t) } + default: _, _ = key, value @@ -3986,10 +4026,12 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ if err := awsRestjson1_deserializeDocumentAnomalyInstances(&sv.Instances, value); err != nil { return err } + case "metric": if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3998,6 +4040,7 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -4041,6 +4084,7 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.EndTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4049,6 +4093,7 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.Id = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -4061,10 +4106,12 @@ func awsRestjson1_deserializeDocumentAnomalyInstance(v **types.AnomalyInstance, } sv.StartTime = ptr.Time(t) } + case "userFeedback": if err := awsRestjson1_deserializeDocumentUserFeedback(&sv.UserFeedback, value); err != nil { return err } + default: _, _ = key, value @@ -4134,6 +4181,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ if err := awsRestjson1_deserializeDocumentEventPublishers(&sv.EventPublishers, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4190,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -4150,6 +4199,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -4223,6 +4273,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4332,6 +4383,7 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.Id = ptr.String(jtv) } + case "profileEndTime": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4396,7 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfileEndTime = ptr.Time(t) } + case "profileStartTime": if value != nil { jtv, ok := value.(string) @@ -4356,6 +4409,7 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfileStartTime = ptr.Time(t) } + case "profilingGroupName": if value != nil { jtv, ok := value.(string) @@ -4364,6 +4418,7 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.ProfilingGroupName = ptr.String(jtv) } + case "totalNumberOfFindings": if value != nil { jtv, ok := value.(json.Number) @@ -4376,6 +4431,7 @@ func awsRestjson1_deserializeDocumentFindingsReportSummary(v **types.FindingsRep } sv.TotalNumberOfFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4415,10 +4471,12 @@ func awsRestjson1_deserializeDocumentFrameMetric(v **types.FrameMetric, value in } sv.FrameName = ptr.String(jtv) } + case "threadStates": if err := awsRestjson1_deserializeDocumentThreadStates(&sv.ThreadStates, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4427,6 +4485,7 @@ func awsRestjson1_deserializeDocumentFrameMetric(v **types.FrameMetric, value in } sv.Type = types.MetricType(jtv) } + default: _, _ = key, value @@ -4496,10 +4555,12 @@ func awsRestjson1_deserializeDocumentFrameMetricDatum(v **types.FrameMetricDatum if err := awsRestjson1_deserializeDocumentFrameMetric(&sv.FrameMetric, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentFrameMetricValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -4600,6 +4661,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4673,6 +4735,7 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } sv.FrameAddress = ptr.String(jtv) } + case "targetFramesIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4685,6 +4748,7 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } sv.TargetFramesIndex = ptr.Int32(int32(i64)) } + case "thresholdBreachValue": if value != nil { switch jtv := value.(type) { @@ -4718,6 +4782,7 @@ func awsRestjson1_deserializeDocumentMatch(v **types.Match, value interface{}) e } } + default: _, _ = key, value @@ -4791,10 +4856,12 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.FrameName = ptr.String(jtv) } + case "threadStates": if err := awsRestjson1_deserializeDocumentStrings(&sv.ThreadStates, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4803,6 +4870,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Type = types.MetricType(jtv) } + default: _, _ = key, value @@ -4838,6 +4906,7 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + default: _, _ = key, value @@ -4873,6 +4942,7 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ if err := awsRestjson1_deserializeDocumentStrings(&sv.CountersToAggregate, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -4881,6 +4951,7 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4889,6 +4960,7 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4897,6 +4969,7 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.Name = ptr.String(jtv) } + case "resolutionSteps": if value != nil { jtv, ok := value.(string) @@ -4905,10 +4978,12 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } sv.ResolutionSteps = ptr.String(jtv) } + case "targetFrames": if err := awsRestjson1_deserializeDocumentTargetFrames(&sv.TargetFrames, value); err != nil { return err } + case "thresholdPercent": if value != nil { switch jtv := value.(type) { @@ -4942,6 +5017,7 @@ func awsRestjson1_deserializeDocumentPattern(v **types.Pattern, value interface{ } } + default: _, _ = key, value @@ -4985,6 +5061,7 @@ func awsRestjson1_deserializeDocumentProfileTime(v **types.ProfileTime, value in } sv.Start = ptr.Time(t) } + default: _, _ = key, value @@ -5054,6 +5131,7 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili if err := awsRestjson1_deserializeDocumentAgentOrchestrationConfig(&sv.AgentOrchestrationConfig, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5062,6 +5140,7 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.Arn = ptr.String(jtv) } + case "computePlatform": if value != nil { jtv, ok := value.(string) @@ -5070,6 +5149,7 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.ComputePlatform = types.ComputePlatform(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5082,6 +5162,7 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.CreatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5090,14 +5171,17 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.Name = ptr.String(jtv) } + case "profilingStatus": if err := awsRestjson1_deserializeDocumentProfilingStatus(&sv.ProfilingStatus, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5110,6 +5194,7 @@ func awsRestjson1_deserializeDocumentProfilingGroupDescription(v **types.Profili } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5223,6 +5308,7 @@ func awsRestjson1_deserializeDocumentProfilingStatus(v **types.ProfilingStatus, } sv.LatestAgentOrchestratedAt = ptr.Time(t) } + case "latestAgentProfileReportedAt": if value != nil { jtv, ok := value.(string) @@ -5235,10 +5321,12 @@ func awsRestjson1_deserializeDocumentProfilingStatus(v **types.ProfilingStatus, } sv.LatestAgentProfileReportedAt = ptr.Time(t) } + case "latestAggregatedProfile": if err := awsRestjson1_deserializeDocumentAggregatedProfileTime(&sv.LatestAggregatedProfile, value); err != nil { return err } + default: _, _ = key, value @@ -5282,6 +5370,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.AllMatchesCount = ptr.Int32(int32(i64)) } + case "allMatchesSum": if value != nil { switch jtv := value.(type) { @@ -5315,6 +5404,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -5327,10 +5417,12 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EndTime = ptr.Time(t) } + case "pattern": if err := awsRestjson1_deserializeDocumentPattern(&sv.Pattern, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -5343,10 +5435,12 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.StartTime = ptr.Time(t) } + case "topMatches": if err := awsRestjson1_deserializeDocumentMatches(&sv.TopMatches, value); err != nil { return err } + default: _, _ = key, value @@ -5420,6 +5514,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5459,6 +5554,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5674,6 +5770,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5717,6 +5814,7 @@ func awsRestjson1_deserializeDocumentTimestampStructure(v **types.TimestampStruc } sv.Value = ptr.Time(t) } + default: _, _ = key, value @@ -5790,6 +5888,7 @@ func awsRestjson1_deserializeDocumentUserFeedback(v **types.UserFeedback, value } sv.Type = types.FeedbackType(jtv) } + default: _, _ = key, value @@ -5829,6 +5928,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/codegurureviewer/deserializers.go b/service/codegurureviewer/deserializers.go index 0ced6b009e2..9e1c5cd874b 100644 --- a/service/codegurureviewer/deserializers.go +++ b/service/codegurureviewer/deserializers.go @@ -183,10 +183,12 @@ func awsRestjson1_deserializeOpDocumentAssociateRepositoryOutput(v **AssociateRe if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -353,6 +355,7 @@ func awsRestjson1_deserializeOpDocumentCreateCodeReviewOutput(v **CreateCodeRevi if err := awsRestjson1_deserializeDocumentCodeReview(&sv.CodeReview, value); err != nil { return err } + default: _, _ = key, value @@ -516,6 +519,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeReviewOutput(v **DescribeCode if err := awsRestjson1_deserializeDocumentCodeReview(&sv.CodeReview, value); err != nil { return err } + default: _, _ = key, value @@ -679,6 +683,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecommendationFeedbackOutput(v ** if err := awsRestjson1_deserializeDocumentRecommendationFeedback(&sv.RecommendationFeedback, value); err != nil { return err } + default: _, _ = key, value @@ -842,10 +847,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRepositoryAssociationOutput(v **D if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1012,10 +1019,12 @@ func awsRestjson1_deserializeOpDocumentDisassociateRepositoryOutput(v **Disassoc if err := awsRestjson1_deserializeDocumentRepositoryAssociation(&sv.RepositoryAssociation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1176,6 +1185,7 @@ func awsRestjson1_deserializeOpDocumentListCodeReviewsOutput(v **ListCodeReviews if err := awsRestjson1_deserializeDocumentCodeReviewSummaries(&sv.CodeReviewSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1184,6 +1194,7 @@ func awsRestjson1_deserializeOpDocumentListCodeReviewsOutput(v **ListCodeReviews } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1351,10 +1362,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationFeedbackOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "RecommendationFeedbackSummaries": if err := awsRestjson1_deserializeDocumentRecommendationFeedbackSummaries(&sv.RecommendationFeedbackSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1522,10 +1535,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } + case "RecommendationSummaries": if err := awsRestjson1_deserializeDocumentRecommendationSummaries(&sv.RecommendationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1687,10 +1702,12 @@ func awsRestjson1_deserializeOpDocumentListRepositoryAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "RepositoryAssociationSummaries": if err := awsRestjson1_deserializeDocumentRepositoryAssociationSummaries(&sv.RepositoryAssociationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1848,6 +1865,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2427,6 +2445,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2502,6 +2521,7 @@ func awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(v **types.BranchDi } sv.DestinationBranchName = ptr.String(jtv) } + case "SourceBranchName": if value != nil { jtv, ok := value.(string) @@ -2510,6 +2530,7 @@ func awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(v **types.BranchDi } sv.SourceBranchName = ptr.String(jtv) } + default: _, _ = key, value @@ -2549,6 +2570,7 @@ func awsRestjson1_deserializeDocumentCodeArtifacts(v **types.CodeArtifacts, valu } sv.BuildArtifactsObjectKey = ptr.String(jtv) } + case "SourceCodeArtifactsObjectKey": if value != nil { jtv, ok := value.(string) @@ -2557,6 +2579,7 @@ func awsRestjson1_deserializeDocumentCodeArtifacts(v **types.CodeArtifacts, valu } sv.SourceCodeArtifactsObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -2592,6 +2615,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte if err := awsRestjson1_deserializeDocumentAnalysisTypes(&sv.AnalysisTypes, value); err != nil { return err } + case "AssociationArn": if value != nil { jtv, ok := value.(string) @@ -2600,6 +2624,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.AssociationArn = ptr.String(jtv) } + case "CodeReviewArn": if value != nil { jtv, ok := value.(string) @@ -2608,6 +2633,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.CodeReviewArn = ptr.String(jtv) } + case "ConfigFileState": if value != nil { jtv, ok := value.(string) @@ -2616,6 +2642,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.ConfigFileState = types.ConfigFileState(jtv) } + case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2631,6 +2658,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } } + case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2646,10 +2674,12 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } } + case "Metrics": if err := awsRestjson1_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2658,6 +2688,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -2666,6 +2697,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Owner = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -2674,6 +2706,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.ProviderType = types.ProviderType(jtv) } + case "PullRequestId": if value != nil { jtv, ok := value.(string) @@ -2682,6 +2715,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.PullRequestId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -2690,10 +2724,12 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.RepositoryName = ptr.String(jtv) } + case "SourceCodeType": if err := awsRestjson1_deserializeDocumentSourceCodeType(&sv.SourceCodeType, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -2702,6 +2738,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.State = types.JobState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -2710,6 +2747,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.StateReason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2718,6 +2756,7 @@ func awsRestjson1_deserializeDocumentCodeReview(v **types.CodeReview, value inte } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -2791,6 +2830,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.CodeReviewArn = ptr.String(jtv) } + case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2806,6 +2846,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } } + case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -2821,10 +2862,12 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } } + case "MetricsSummary": if err := awsRestjson1_deserializeDocumentMetricsSummary(&sv.MetricsSummary, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2833,6 +2876,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -2841,6 +2885,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Owner = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -2849,6 +2894,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.ProviderType = types.ProviderType(jtv) } + case "PullRequestId": if value != nil { jtv, ok := value.(string) @@ -2857,6 +2903,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.PullRequestId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -2865,10 +2912,12 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.RepositoryName = ptr.String(jtv) } + case "SourceCodeType": if err := awsRestjson1_deserializeDocumentSourceCodeType(&sv.SourceCodeType, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -2877,6 +2926,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.State = types.JobState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2885,6 +2935,7 @@ func awsRestjson1_deserializeDocumentCodeReviewSummary(v **types.CodeReviewSumma } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -2924,6 +2975,7 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.DestinationCommit = ptr.String(jtv) } + case "MergeBaseCommit": if value != nil { jtv, ok := value.(string) @@ -2932,6 +2984,7 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.MergeBaseCommit = ptr.String(jtv) } + case "SourceCommit": if value != nil { jtv, ok := value.(string) @@ -2940,6 +2993,7 @@ func awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(v **types.CommitDi } sv.SourceCommit = ptr.String(jtv) } + default: _, _ = key, value @@ -2979,6 +3033,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3018,6 +3073,7 @@ func awsRestjson1_deserializeDocumentEventInfo(v **types.EventInfo, value interf } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3026,6 +3082,7 @@ func awsRestjson1_deserializeDocumentEventInfo(v **types.EventInfo, value interf } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -3065,6 +3122,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3104,6 +3162,7 @@ func awsRestjson1_deserializeDocumentKMSKeyDetails(v **types.KMSKeyDetails, valu } sv.EncryptionOption = types.EncryptionOption(jtv) } + case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -3112,6 +3171,7 @@ func awsRestjson1_deserializeDocumentKMSKeyDetails(v **types.KMSKeyDetails, valu } sv.KMSKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -3155,6 +3215,7 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.FindingsCount = ptr.Int64(i64) } + case "MeteredLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3167,6 +3228,7 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.MeteredLinesOfCodeCount = ptr.Int64(i64) } + case "SuppressedLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3179,6 +3241,7 @@ func awsRestjson1_deserializeDocumentMetrics(v **types.Metrics, value interface{ } sv.SuppressedLinesOfCodeCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3222,6 +3285,7 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.FindingsCount = ptr.Int64(i64) } + case "MeteredLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3234,6 +3298,7 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.MeteredLinesOfCodeCount = ptr.Int64(i64) } + case "SuppressedLinesOfCodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -3246,6 +3311,7 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } sv.SuppressedLinesOfCodeCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3285,6 +3351,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3360,6 +3427,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.CodeReviewArn = ptr.String(jtv) } + case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3375,6 +3443,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } } + case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3390,10 +3459,12 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } } + case "Reactions": if err := awsRestjson1_deserializeDocumentReactions(&sv.Reactions, value); err != nil { return err } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3402,6 +3473,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.RecommendationId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -3410,6 +3482,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedback(v **types.Recommenda } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -3479,6 +3552,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec if err := awsRestjson1_deserializeDocumentReactions(&sv.Reactions, value); err != nil { return err } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3487,6 +3561,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec } sv.RecommendationId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -3495,6 +3570,7 @@ func awsRestjson1_deserializeDocumentRecommendationFeedbackSummary(v **types.Rec } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -3568,6 +3644,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Description = ptr.String(jtv) } + case "EndLine": if value != nil { jtv, ok := value.(json.Number) @@ -3580,6 +3657,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.EndLine = ptr.Int32(int32(i64)) } + case "FilePath": if value != nil { jtv, ok := value.(string) @@ -3588,6 +3666,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.FilePath = ptr.String(jtv) } + case "RecommendationCategory": if value != nil { jtv, ok := value.(string) @@ -3596,6 +3675,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationCategory = types.RecommendationCategory(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3604,10 +3684,12 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationId = ptr.String(jtv) } + case "RuleMetadata": if err := awsRestjson1_deserializeDocumentRuleMetadata(&sv.RuleMetadata, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -3616,6 +3698,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Severity = types.Severity(jtv) } + case "StartLine": if value != nil { jtv, ok := value.(json.Number) @@ -3628,6 +3711,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.StartLine = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3667,6 +3751,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.AssociationArn = ptr.String(jtv) } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -3675,6 +3760,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.AssociationId = ptr.String(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3683,6 +3769,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.ConnectionArn = ptr.String(jtv) } + case "CreatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3698,10 +3785,12 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } } + case "KMSKeyDetails": if err := awsRestjson1_deserializeDocumentKMSKeyDetails(&sv.KMSKeyDetails, value); err != nil { return err } + case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3717,6 +3806,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3725,6 +3815,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -3733,6 +3824,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.Owner = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -3741,10 +3833,12 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.ProviderType = types.ProviderType(jtv) } + case "S3RepositoryDetails": if err := awsRestjson1_deserializeDocumentS3RepositoryDetails(&sv.S3RepositoryDetails, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -3753,6 +3847,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.State = types.RepositoryAssociationState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -3761,6 +3856,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociation(v **types.RepositoryA } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -3834,6 +3930,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.AssociationArn = ptr.String(jtv) } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -3842,6 +3939,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.AssociationId = ptr.String(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3850,6 +3948,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.ConnectionArn = ptr.String(jtv) } + case "LastUpdatedTimeStamp": if value != nil { switch jtv := value.(type) { @@ -3865,6 +3964,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3873,6 +3973,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -3881,6 +3982,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.Owner = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -3889,6 +3991,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.ProviderType = types.ProviderType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3897,6 +4000,7 @@ func awsRestjson1_deserializeDocumentRepositoryAssociationSummary(v **types.Repo } sv.State = types.RepositoryAssociationState(jtv) } + default: _, _ = key, value @@ -3936,6 +4040,7 @@ func awsRestjson1_deserializeDocumentRepositoryHeadSourceCodeType(v **types.Repo } sv.BranchName = ptr.String(jtv) } + default: _, _ = key, value @@ -3971,6 +4076,7 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, if err := awsRestjson1_deserializeDocumentEventInfo(&sv.EventInfo, value); err != nil { return err } + case "Requester": if value != nil { jtv, ok := value.(string) @@ -3979,6 +4085,7 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.Requester = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3987,6 +4094,7 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.RequestId = ptr.String(jtv) } + case "VendorName": if value != nil { jtv, ok := value.(string) @@ -3995,6 +4103,7 @@ func awsRestjson1_deserializeDocumentRequestMetadata(v **types.RequestMetadata, } sv.VendorName = types.VendorName(jtv) } + default: _, _ = key, value @@ -4034,6 +4143,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4073,6 +4183,7 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.LongDescription = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -4081,6 +4192,7 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.RuleId = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -4089,10 +4201,12 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.RuleName = ptr.String(jtv) } + case "RuleTags": if err := awsRestjson1_deserializeDocumentRuleTags(&sv.RuleTags, value); err != nil { return err } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -4101,6 +4215,7 @@ func awsRestjson1_deserializeDocumentRuleMetadata(v **types.RuleMetadata, value } sv.ShortDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -4172,6 +4287,7 @@ func awsRestjson1_deserializeDocumentS3BucketRepository(v **types.S3BucketReposi if err := awsRestjson1_deserializeDocumentS3RepositoryDetails(&sv.Details, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4296,7 @@ func awsRestjson1_deserializeDocumentS3BucketRepository(v **types.S3BucketReposi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4219,10 +4336,12 @@ func awsRestjson1_deserializeDocumentS3RepositoryDetails(v **types.S3RepositoryD } sv.BucketName = ptr.String(jtv) } + case "CodeArtifacts": if err := awsRestjson1_deserializeDocumentCodeArtifacts(&sv.CodeArtifacts, value); err != nil { return err } + default: _, _ = key, value @@ -4258,22 +4377,27 @@ func awsRestjson1_deserializeDocumentSourceCodeType(v **types.SourceCodeType, va if err := awsRestjson1_deserializeDocumentBranchDiffSourceCodeType(&sv.BranchDiff, value); err != nil { return err } + case "CommitDiff": if err := awsRestjson1_deserializeDocumentCommitDiffSourceCodeType(&sv.CommitDiff, value); err != nil { return err } + case "RepositoryHead": if err := awsRestjson1_deserializeDocumentRepositoryHeadSourceCodeType(&sv.RepositoryHead, value); err != nil { return err } + case "RequestMetadata": if err := awsRestjson1_deserializeDocumentRequestMetadata(&sv.RequestMetadata, value); err != nil { return err } + case "S3BucketRepository": if err := awsRestjson1_deserializeDocumentS3BucketRepository(&sv.S3BucketRepository, value); err != nil { return err } + default: _, _ = key, value @@ -4349,6 +4473,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4388,6 +4513,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/codegurusecurity/deserializers.go b/service/codegurusecurity/deserializers.go index 136c9ea63e4..f49128ccf5c 100644 --- a/service/codegurusecurity/deserializers.go +++ b/service/codegurusecurity/deserializers.go @@ -181,10 +181,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetFindingsOutput(v **BatchGetFindin if err := awsRestjson1_deserializeDocumentBatchGetFindingsErrors(&sv.FailedFindings, value); err != nil { return err } + case "findings": if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } + default: _, _ = key, value @@ -351,6 +353,7 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va if err := awsRestjson1_deserializeDocumentResourceId(&sv.ResourceId, value); err != nil { return err } + case "runId": if value != nil { jtv, ok := value.(string) @@ -359,6 +362,7 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.RunId = ptr.String(jtv) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -367,6 +371,7 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanName = ptr.String(jtv) } + case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -375,6 +380,7 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanNameArn = ptr.String(jtv) } + case "scanState": if value != nil { jtv, ok := value.(string) @@ -383,6 +389,7 @@ func awsRestjson1_deserializeOpDocumentCreateScanOutput(v **CreateScanOutput, va } sv.ScanState = types.ScanState(jtv) } + default: _, _ = key, value @@ -547,10 +554,12 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.CodeArtifactId = ptr.String(jtv) } + case "requestHeaders": if err := awsRestjson1_deserializeDocumentRequestHeaderMap(&sv.RequestHeaders, value); err != nil { return err } + case "s3Url": if value != nil { jtv, ok := value.(string) @@ -559,6 +568,7 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.S3Url = ptr.String(jtv) } + default: _, _ = key, value @@ -719,6 +729,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountConfigurationOutput(v **GetAcco if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -885,6 +896,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -893,6 +905,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1053,6 +1066,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricsSummaryOutput(v **GetMetricsSum if err := awsRestjson1_deserializeDocumentMetricsSummary(&sv.MetricsSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1220,6 +1234,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.AnalysisType = types.AnalysisType(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1235,6 +1250,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1243,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ErrorMessage = ptr.String(jtv) } + case "numberOfRevisions": if value != nil { jtv, ok := value.(json.Number) @@ -1255,6 +1272,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.NumberOfRevisions = ptr.Int64(i64) } + case "runId": if value != nil { jtv, ok := value.(string) @@ -1263,6 +1281,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.RunId = ptr.String(jtv) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -1271,6 +1290,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanName = ptr.String(jtv) } + case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -1279,6 +1299,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanNameArn = ptr.String(jtv) } + case "scanState": if value != nil { jtv, ok := value.(string) @@ -1287,6 +1308,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } sv.ScanState = types.ScanState(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1302,6 +1324,7 @@ func awsRestjson1_deserializeOpDocumentGetScanOutput(v **GetScanOutput, value in } } + default: _, _ = key, value @@ -1462,6 +1485,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsMetricsOutput(v **ListFinding if err := awsRestjson1_deserializeDocumentFindingsMetricList(&sv.FindingsMetrics, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1470,6 +1494,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsMetricsOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1634,10 +1659,12 @@ func awsRestjson1_deserializeOpDocumentListScansOutput(v **ListScansOutput, valu } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsRestjson1_deserializeDocumentScanSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -1804,6 +1831,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2173,6 +2201,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2428,6 +2457,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2436,6 +2466,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2444,6 +2475,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2452,6 +2484,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2487,6 +2520,7 @@ func awsRestjson1_deserializeDocumentAccountFindingsMetric(v **types.AccountFind if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.ClosedFindings, value); err != nil { return err } + case "date": if value != nil { switch jtv := value.(type) { @@ -2502,18 +2536,22 @@ func awsRestjson1_deserializeDocumentAccountFindingsMetric(v **types.AccountFind } } + case "meanTimeToClose": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.MeanTimeToClose, value); err != nil { return err } + case "newFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.NewFindings, value); err != nil { return err } + case "openFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.OpenFindings, value); err != nil { return err } + default: _, _ = key, value @@ -2553,6 +2591,7 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.ErrorCode = types.ErrorCode(jtv) } + case "findingId": if value != nil { jtv, ok := value.(string) @@ -2561,6 +2600,7 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.FindingId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -2569,6 +2609,7 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.Message = ptr.String(jtv) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -2577,6 +2618,7 @@ func awsRestjson1_deserializeDocumentBatchGetFindingsError(v **types.BatchGetFin } sv.ScanName = ptr.String(jtv) } + default: _, _ = key, value @@ -2684,6 +2726,7 @@ func awsRestjson1_deserializeDocumentCategoryWithFindingNum(v **types.CategoryWi } sv.CategoryName = ptr.String(jtv) } + case "findingNumber": if value != nil { jtv, ok := value.(json.Number) @@ -2696,6 +2739,7 @@ func awsRestjson1_deserializeDocumentCategoryWithFindingNum(v **types.CategoryWi } sv.FindingNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2735,6 +2779,7 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Content = ptr.String(jtv) } + case "number": if value != nil { jtv, ok := value.(json.Number) @@ -2747,6 +2792,7 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Number = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2820,6 +2866,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2828,6 +2875,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2836,6 +2884,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2844,6 +2893,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2919,6 +2969,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2954,6 +3005,7 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac if err := awsRestjson1_deserializeDocumentCodeSnippet(&sv.CodeSnippet, value); err != nil { return err } + case "endLine": if value != nil { jtv, ok := value.(json.Number) @@ -2966,6 +3018,7 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.EndLine = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2974,6 +3027,7 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -2982,6 +3036,7 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.Path = ptr.String(jtv) } + case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -2994,6 +3049,7 @@ func awsRestjson1_deserializeDocumentFilePath(v **types.FilePath, value interfac } sv.StartLine = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3040,6 +3096,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3048,6 +3105,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -3056,6 +3114,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.DetectorId = ptr.String(jtv) } + case "detectorName": if value != nil { jtv, ok := value.(string) @@ -3064,10 +3123,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.DetectorName = ptr.String(jtv) } + case "detectorTags": if err := awsRestjson1_deserializeDocumentDetectorTags(&sv.DetectorTags, value); err != nil { return err } + case "generatorId": if value != nil { jtv, ok := value.(string) @@ -3076,6 +3137,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.GeneratorId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3084,14 +3146,17 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } + case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -3100,6 +3165,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.RuleId = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -3108,6 +3174,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3116,6 +3183,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.Status(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -3124,6 +3192,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3132,6 +3201,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3147,10 +3217,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "vulnerability": if err := awsRestjson1_deserializeDocumentVulnerability(&sv.Vulnerability, value); err != nil { return err } + default: _, _ = key, value @@ -3215,6 +3287,7 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } + case "high": if value != nil { switch jtv := value.(type) { @@ -3248,6 +3321,7 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } + case "info": if value != nil { switch jtv := value.(type) { @@ -3281,6 +3355,7 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } + case "low": if value != nil { switch jtv := value.(type) { @@ -3314,6 +3389,7 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } + case "medium": if value != nil { switch jtv := value.(type) { @@ -3347,6 +3423,7 @@ func awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(v **types.Fi } } + default: _, _ = key, value @@ -3454,6 +3531,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3462,6 +3540,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3497,6 +3576,7 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va if err := awsRestjson1_deserializeDocumentCategoriesWithMostFindings(&sv.CategoriesWithMostFindings, value); err != nil { return err } + case "date": if value != nil { switch jtv := value.(type) { @@ -3512,18 +3592,22 @@ func awsRestjson1_deserializeDocumentMetricsSummary(v **types.MetricsSummary, va } } + case "openFindings": if err := awsRestjson1_deserializeDocumentFindingMetricsValuePerSeverity(&sv.OpenFindings, value); err != nil { return err } + case "scansWithMostOpenCriticalFindings": if err := awsRestjson1_deserializeDocumentScansWithMostOpenCriticalFindings(&sv.ScansWithMostOpenCriticalFindings, value); err != nil { return err } + case "scansWithMostOpenFindings": if err := awsRestjson1_deserializeDocumentScansWithMostOpenFindings(&sv.ScansWithMostOpenFindings, value); err != nil { return err } + default: _, _ = key, value @@ -3563,6 +3647,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -3571,6 +3656,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -3678,10 +3764,12 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } + case "suggestedFixes": if err := awsRestjson1_deserializeDocumentSuggestedFixes(&sv.SuggestedFixes, value); err != nil { return err } + default: _, _ = key, value @@ -3757,6 +3845,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "subResourceId": if value != nil { jtv, ok := value.(string) @@ -3765,6 +3854,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.SubResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3846,6 +3936,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3854,6 +3945,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3862,6 +3954,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3870,6 +3963,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3913,6 +4007,7 @@ func awsRestjson1_deserializeDocumentScanNameWithFindingNum(v **types.ScanNameWi } sv.FindingNumber = ptr.Int32(int32(i64)) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -3921,6 +4016,7 @@ func awsRestjson1_deserializeDocumentScanNameWithFindingNum(v **types.ScanNameWi } sv.ScanName = ptr.String(jtv) } + default: _, _ = key, value @@ -4001,6 +4097,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } } + case "runId": if value != nil { jtv, ok := value.(string) @@ -4009,6 +4106,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.RunId = ptr.String(jtv) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -4017,6 +4115,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanName = ptr.String(jtv) } + case "scanNameArn": if value != nil { jtv, ok := value.(string) @@ -4025,6 +4124,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanNameArn = ptr.String(jtv) } + case "scanState": if value != nil { jtv, ok := value.(string) @@ -4033,6 +4133,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } sv.ScanState = types.ScanState(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4048,6 +4149,7 @@ func awsRestjson1_deserializeDocumentScanSummary(v **types.ScanSummary, value in } } + default: _, _ = key, value @@ -4155,6 +4257,7 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Code = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4163,6 +4266,7 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -4272,6 +4376,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4280,6 +4385,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4288,6 +4394,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4296,6 +4403,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4335,10 +4443,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } + case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4347,6 +4457,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4355,6 +4466,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -4394,6 +4506,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4402,6 +4515,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4471,6 +4585,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentFilePath(&sv.FilePath, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4479,6 +4594,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } + case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -4491,14 +4607,17 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.ItemCount = ptr.Int32(int32(i64)) } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentRelatedVulnerabilities(&sv.RelatedVulnerabilities, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codepipeline/deserializers.go b/service/codepipeline/deserializers.go index c46c7b69e88..a643bbe5b23 100644 --- a/service/codepipeline/deserializers.go +++ b/service/codepipeline/deserializers.go @@ -6375,6 +6375,7 @@ func awsAwsjson11_deserializeDocumentActionConfiguration(v **types.ActionConfigu if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -6450,6 +6451,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Description = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(bool) @@ -6458,6 +6460,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Key = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -6466,6 +6469,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Name = ptr.String(jtv) } + case "queryable": if value != nil { jtv, ok := value.(bool) @@ -6474,6 +6478,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Queryable = jtv } + case "required": if value != nil { jtv, ok := value.(bool) @@ -6482,6 +6487,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Required = jtv } + case "secret": if value != nil { jtv, ok := value.(bool) @@ -6490,6 +6496,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Secret = jtv } + case "type": if value != nil { jtv, ok := value.(string) @@ -6498,6 +6505,7 @@ func awsAwsjson11_deserializeDocumentActionConfigurationProperty(v **types.Actio } sv.Type = types.ActionConfigurationPropertyType(jtv) } + default: _, _ = key, value @@ -6571,6 +6579,7 @@ func awsAwsjson11_deserializeDocumentActionContext(v **types.ActionContext, valu } sv.ActionExecutionId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6579,6 +6588,7 @@ func awsAwsjson11_deserializeDocumentActionContext(v **types.ActionContext, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6614,18 +6624,22 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } + case "commands": if err := awsAwsjson11_deserializeDocumentCommandList(&sv.Commands, value); err != nil { return err } + case "configuration": if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentInputArtifactList(&sv.InputArtifacts, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6634,6 +6648,7 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -6642,14 +6657,17 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Namespace = ptr.String(jtv) } + case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentOutputArtifactList(&sv.OutputArtifacts, value); err != nil { return err } + case "outputVariables": if err := awsAwsjson11_deserializeDocumentOutputVariableList(&sv.OutputVariables, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -6658,6 +6676,7 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.Region = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6666,6 +6685,7 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.RoleArn = ptr.String(jtv) } + case "runOrder": if value != nil { jtv, ok := value.(json.Number) @@ -6678,6 +6698,7 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.RunOrder = ptr.Int32(int32(i64)) } + case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -6690,6 +6711,7 @@ func awsAwsjson11_deserializeDocumentActionDeclaration(v **types.ActionDeclarati } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6729,10 +6751,12 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ActionExecutionId = ptr.String(jtv) } + case "errorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -6741,6 +6765,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ExternalExecutionId = ptr.String(jtv) } + case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -6749,6 +6774,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.ExternalExecutionUrl = ptr.String(jtv) } + case "lastStatusChange": if value != nil { switch jtv := value.(type) { @@ -6764,6 +6790,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -6772,6 +6799,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.LastUpdatedBy = ptr.String(jtv) } + case "percentComplete": if value != nil { jtv, ok := value.(json.Number) @@ -6784,6 +6812,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PercentComplete = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6792,6 +6821,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Status = types.ActionExecutionStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -6800,6 +6830,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Summary = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -6808,6 +6839,7 @@ func awsAwsjson11_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -6847,6 +6879,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.ActionExecutionId = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -6855,10 +6888,12 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.ActionName = ptr.String(jtv) } + case "input": if err := awsAwsjson11_deserializeDocumentActionExecutionInput(&sv.Input, value); err != nil { return err } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6874,10 +6909,12 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } } + case "output": if err := awsAwsjson11_deserializeDocumentActionExecutionOutput(&sv.Output, value); err != nil { return err } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -6886,6 +6923,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.PipelineExecutionId = ptr.String(jtv) } + case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6898,6 +6936,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.PipelineVersion = ptr.Int32(int32(i64)) } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -6906,6 +6945,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.StageName = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6921,6 +6961,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6929,6 +6970,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.Status = types.ActionExecutionStatus(jtv) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6937,6 +6979,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionDetail(v **types.ActionExecu } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -7006,14 +7049,17 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } + case "configuration": if err := awsAwsjson11_deserializeDocumentActionConfigurationMap(&sv.Configuration, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.InputArtifacts, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -7022,6 +7068,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.Namespace = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -7030,10 +7077,12 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.Region = ptr.String(jtv) } + case "resolvedConfiguration": if err := awsAwsjson11_deserializeDocumentResolvedActionConfigurationMap(&sv.ResolvedConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7042,6 +7091,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionInput(v **types.ActionExecut } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7077,14 +7127,17 @@ func awsAwsjson11_deserializeDocumentActionExecutionOutput(v **types.ActionExecu if err := awsAwsjson11_deserializeDocumentActionExecutionResult(&sv.ExecutionResult, value); err != nil { return err } + case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.OutputArtifacts, value); err != nil { return err } + case "outputVariables": if err := awsAwsjson11_deserializeDocumentOutputVariablesMap(&sv.OutputVariables, value); err != nil { return err } + default: _, _ = key, value @@ -7120,6 +7173,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -7128,6 +7182,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionId = ptr.String(jtv) } + case "externalExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -7136,6 +7191,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionSummary = ptr.String(jtv) } + case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -7144,6 +7200,7 @@ func awsAwsjson11_deserializeDocumentActionExecutionResult(v **types.ActionExecu } sv.ExternalExecutionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -7183,6 +7240,7 @@ func awsAwsjson11_deserializeDocumentActionNotFoundException(v **types.ActionNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7229,6 +7287,7 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } } + case "revisionChangeId": if value != nil { jtv, ok := value.(string) @@ -7237,6 +7296,7 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } sv.RevisionChangeId = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7245,6 +7305,7 @@ func awsAwsjson11_deserializeDocumentActionRevision(v **types.ActionRevision, va } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7284,10 +7345,12 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.ActionName = ptr.String(jtv) } + case "currentRevision": if err := awsAwsjson11_deserializeDocumentActionRevision(&sv.CurrentRevision, value); err != nil { return err } + case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -7296,10 +7359,12 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.EntityUrl = ptr.String(jtv) } + case "latestExecution": if err := awsAwsjson11_deserializeDocumentActionExecution(&sv.LatestExecution, value); err != nil { return err } + case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -7308,6 +7373,7 @@ func awsAwsjson11_deserializeDocumentActionState(v **types.ActionState, value in } sv.RevisionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -7377,22 +7443,27 @@ func awsAwsjson11_deserializeDocumentActionType(v **types.ActionType, value inte if err := awsAwsjson11_deserializeDocumentActionConfigurationPropertyList(&sv.ActionConfigurationProperties, value); err != nil { return err } + case "id": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.Id, value); err != nil { return err } + case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } + case "outputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.OutputArtifactDetails, value); err != nil { return err } + case "settings": if err := awsAwsjson11_deserializeDocumentActionTypeSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -7436,6 +7507,7 @@ func awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(v **types.ActionT } sv.MaximumCount = int32(i64) } + case "minimumCount": if value != nil { jtv, ok := value.(json.Number) @@ -7448,6 +7520,7 @@ func awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(v **types.ActionT } sv.MinimumCount = int32(i64) } + default: _, _ = key, value @@ -7487,34 +7560,42 @@ func awsAwsjson11_deserializeDocumentActionTypeDeclaration(v **types.ActionTypeD } sv.Description = ptr.String(jtv) } + case "executor": if err := awsAwsjson11_deserializeDocumentActionTypeExecutor(&sv.Executor, value); err != nil { return err } + case "id": if err := awsAwsjson11_deserializeDocumentActionTypeIdentifier(&sv.Id, value); err != nil { return err } + case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } + case "outputArtifactDetails": if err := awsAwsjson11_deserializeDocumentActionTypeArtifactDetails(&sv.OutputArtifactDetails, value); err != nil { return err } + case "permissions": if err := awsAwsjson11_deserializeDocumentActionTypePermissions(&sv.Permissions, value); err != nil { return err } + case "properties": if err := awsAwsjson11_deserializeDocumentActionTypeProperties(&sv.Properties, value); err != nil { return err } + case "urls": if err := awsAwsjson11_deserializeDocumentActionTypeUrls(&sv.Urls, value); err != nil { return err } + default: _, _ = key, value @@ -7550,6 +7631,7 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec if err := awsAwsjson11_deserializeDocumentExecutorConfiguration(&sv.Configuration, value); err != nil { return err } + case "jobTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -7562,6 +7644,7 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.JobTimeout = ptr.Int32(int32(i64)) } + case "policyStatementsTemplate": if value != nil { jtv, ok := value.(string) @@ -7570,6 +7653,7 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.PolicyStatementsTemplate = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7578,6 +7662,7 @@ func awsAwsjson11_deserializeDocumentActionTypeExecutor(v **types.ActionTypeExec } sv.Type = types.ExecutorType(jtv) } + default: _, _ = key, value @@ -7617,6 +7702,7 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Category = types.ActionCategory(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -7625,6 +7711,7 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Owner = types.ActionOwner(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -7633,6 +7720,7 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Provider = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7641,6 +7729,7 @@ func awsAwsjson11_deserializeDocumentActionTypeId(v **types.ActionTypeId, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7680,6 +7769,7 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Category = types.ActionCategory(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -7688,6 +7778,7 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Owner = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -7696,6 +7787,7 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Provider = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7704,6 +7796,7 @@ func awsAwsjson11_deserializeDocumentActionTypeIdentifier(v **types.ActionTypeId } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7777,6 +7870,7 @@ func awsAwsjson11_deserializeDocumentActionTypeNotFoundException(v **types.Actio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7812,6 +7906,7 @@ func awsAwsjson11_deserializeDocumentActionTypePermissions(v **types.ActionTypeP if err := awsAwsjson11_deserializeDocumentAllowedAccounts(&sv.AllowedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -7885,6 +7980,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Description = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(bool) @@ -7893,6 +7989,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Key = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -7901,6 +7998,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Name = ptr.String(jtv) } + case "noEcho": if value != nil { jtv, ok := value.(bool) @@ -7909,6 +8007,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.NoEcho = jtv } + case "optional": if value != nil { jtv, ok := value.(bool) @@ -7917,6 +8016,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Optional = jtv } + case "queryable": if value != nil { jtv, ok := value.(bool) @@ -7925,6 +8025,7 @@ func awsAwsjson11_deserializeDocumentActionTypeProperty(v **types.ActionTypeProp } sv.Queryable = jtv } + default: _, _ = key, value @@ -7964,6 +8065,7 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.EntityUrlTemplate = ptr.String(jtv) } + case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -7972,6 +8074,7 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.ExecutionUrlTemplate = ptr.String(jtv) } + case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -7980,6 +8083,7 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.RevisionUrlTemplate = ptr.String(jtv) } + case "thirdPartyConfigurationUrl": if value != nil { jtv, ok := value.(string) @@ -7988,6 +8092,7 @@ func awsAwsjson11_deserializeDocumentActionTypeSettings(v **types.ActionTypeSett } sv.ThirdPartyConfigurationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8027,6 +8132,7 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.ConfigurationUrl = ptr.String(jtv) } + case "entityUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8035,6 +8141,7 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.EntityUrlTemplate = ptr.String(jtv) } + case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8043,6 +8150,7 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.ExecutionUrlTemplate = ptr.String(jtv) } + case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -8051,6 +8159,7 @@ func awsAwsjson11_deserializeDocumentActionTypeUrls(v **types.ActionTypeUrls, va } sv.RevisionUrlTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -8126,6 +8235,7 @@ func awsAwsjson11_deserializeDocumentApprovalAlreadyCompletedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8161,6 +8271,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac if err := awsAwsjson11_deserializeDocumentArtifactLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8169,6 +8280,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Name = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -8177,6 +8289,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -8216,10 +8329,12 @@ func awsAwsjson11_deserializeDocumentArtifactDetail(v **types.ArtifactDetail, va } sv.Name = ptr.String(jtv) } + case "s3location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3location, value); err != nil { return err } + default: _, _ = key, value @@ -8297,6 +8412,7 @@ func awsAwsjson11_deserializeDocumentArtifactDetails(v **types.ArtifactDetails, } sv.MaximumCount = int32(i64) } + case "minimumCount": if value != nil { jtv, ok := value.(json.Number) @@ -8309,6 +8425,7 @@ func awsAwsjson11_deserializeDocumentArtifactDetails(v **types.ArtifactDetails, } sv.MinimumCount = int32(i64) } + default: _, _ = key, value @@ -8378,6 +8495,7 @@ func awsAwsjson11_deserializeDocumentArtifactLocation(v **types.ArtifactLocation if err := awsAwsjson11_deserializeDocumentS3ArtifactLocation(&sv.S3Location, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8386,6 +8504,7 @@ func awsAwsjson11_deserializeDocumentArtifactLocation(v **types.ArtifactLocation } sv.Type = types.ArtifactLocationType(jtv) } + default: _, _ = key, value @@ -8432,6 +8551,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8440,6 +8560,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.Name = ptr.String(jtv) } + case "revisionChangeIdentifier": if value != nil { jtv, ok := value.(string) @@ -8448,6 +8569,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionChangeIdentifier = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -8456,6 +8578,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionId = ptr.String(jtv) } + case "revisionSummary": if value != nil { jtv, ok := value.(string) @@ -8464,6 +8587,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionSummary = ptr.String(jtv) } + case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -8472,6 +8596,7 @@ func awsAwsjson11_deserializeDocumentArtifactRevision(v **types.ArtifactRevision } sv.RevisionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8541,6 +8666,7 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "location": if value != nil { jtv, ok := value.(string) @@ -8549,6 +8675,7 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu } sv.Location = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8557,6 +8684,7 @@ func awsAwsjson11_deserializeDocumentArtifactStore(v **types.ArtifactStore, valu } sv.Type = types.ArtifactStoreType(jtv) } + default: _, _ = key, value @@ -8631,6 +8759,7 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.AccessKeyId = ptr.String(jtv) } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -8639,6 +8768,7 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -8647,6 +8777,7 @@ func awsAwsjson11_deserializeDocumentAWSSessionCredentials(v **types.AWSSessionC } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8682,6 +8813,7 @@ func awsAwsjson11_deserializeDocumentBeforeEntryConditions(v **types.BeforeEntry if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } + default: _, _ = key, value @@ -8721,6 +8853,7 @@ func awsAwsjson11_deserializeDocumentBlockerDeclaration(v **types.BlockerDeclara } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8729,6 +8862,7 @@ func awsAwsjson11_deserializeDocumentBlockerDeclaration(v **types.BlockerDeclara } sv.Type = types.BlockerType(jtv) } + default: _, _ = key, value @@ -8804,6 +8938,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8843,6 +8978,7 @@ func awsAwsjson11_deserializeDocumentConcurrentPipelineExecutionsLimitExceededEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8882,10 +9018,12 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.Result = types.Result(jtv) } + case "rules": if err := awsAwsjson11_deserializeDocumentRuleDeclarationList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -8932,6 +9070,7 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -8940,6 +9079,7 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } sv.Status = types.ConditionExecutionStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -8948,6 +9088,7 @@ func awsAwsjson11_deserializeDocumentConditionExecution(v **types.ConditionExecu } sv.Summary = ptr.String(jtv) } + default: _, _ = key, value @@ -9021,6 +9162,7 @@ func awsAwsjson11_deserializeDocumentConditionNotOverridableException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9056,10 +9198,12 @@ func awsAwsjson11_deserializeDocumentConditionState(v **types.ConditionState, va if err := awsAwsjson11_deserializeDocumentConditionExecution(&sv.LatestExecution, value); err != nil { return err } + case "ruleStates": if err := awsAwsjson11_deserializeDocumentRuleStateList(&sv.RuleStates, value); err != nil { return err } + default: _, _ = key, value @@ -9133,6 +9277,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9172,6 +9317,7 @@ func awsAwsjson11_deserializeDocumentDuplicatedStopRequestException(v **types.Du } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9211,6 +9357,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Id = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9219,6 +9366,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Type = types.EncryptionKeyType(jtv) } + default: _, _ = key, value @@ -9258,6 +9406,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -9266,6 +9415,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9305,6 +9455,7 @@ func awsAwsjson11_deserializeDocumentExecutionTrigger(v **types.ExecutionTrigger } sv.TriggerDetail = ptr.String(jtv) } + case "triggerType": if value != nil { jtv, ok := value.(string) @@ -9313,6 +9464,7 @@ func awsAwsjson11_deserializeDocumentExecutionTrigger(v **types.ExecutionTrigger } sv.TriggerType = types.TriggerType(jtv) } + default: _, _ = key, value @@ -9348,10 +9500,12 @@ func awsAwsjson11_deserializeDocumentExecutorConfiguration(v **types.ExecutorCon if err := awsAwsjson11_deserializeDocumentJobWorkerExecutorConfiguration(&sv.JobWorkerExecutorConfiguration, value); err != nil { return err } + case "lambdaExecutorConfiguration": if err := awsAwsjson11_deserializeDocumentLambdaExecutorConfiguration(&sv.LambdaExecutorConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9387,6 +9541,7 @@ func awsAwsjson11_deserializeDocumentFailureConditions(v **types.FailureConditio if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -9395,10 +9550,12 @@ func awsAwsjson11_deserializeDocumentFailureConditions(v **types.FailureConditio } sv.Result = types.Result(jtv) } + case "retryConfiguration": if err := awsAwsjson11_deserializeDocumentRetryConfiguration(&sv.RetryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9470,10 +9627,12 @@ func awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(v **types.GitBranch if err := awsAwsjson11_deserializeDocumentGitBranchPatternList(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsAwsjson11_deserializeDocumentGitBranchPatternList(&sv.Includes, value); err != nil { return err } + default: _, _ = key, value @@ -9545,10 +9704,12 @@ func awsAwsjson11_deserializeDocumentGitConfiguration(v **types.GitConfiguration if err := awsAwsjson11_deserializeDocumentGitPullRequestFilterList(&sv.PullRequest, value); err != nil { return err } + case "push": if err := awsAwsjson11_deserializeDocumentGitPushFilterList(&sv.Push, value); err != nil { return err } + case "sourceActionName": if value != nil { jtv, ok := value.(string) @@ -9557,6 +9718,7 @@ func awsAwsjson11_deserializeDocumentGitConfiguration(v **types.GitConfiguration } sv.SourceActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -9592,10 +9754,12 @@ func awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(v **types.GitFile if err := awsAwsjson11_deserializeDocumentGitFilePathPatternList(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsAwsjson11_deserializeDocumentGitFilePathPatternList(&sv.Includes, value); err != nil { return err } + default: _, _ = key, value @@ -9703,14 +9867,17 @@ func awsAwsjson11_deserializeDocumentGitPullRequestFilter(v **types.GitPullReque if err := awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(&sv.Branches, value); err != nil { return err } + case "events": if err := awsAwsjson11_deserializeDocumentGitPullRequestEventTypeList(&sv.Events, value); err != nil { return err } + case "filePaths": if err := awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(&sv.FilePaths, value); err != nil { return err } + default: _, _ = key, value @@ -9780,14 +9947,17 @@ func awsAwsjson11_deserializeDocumentGitPushFilter(v **types.GitPushFilter, valu if err := awsAwsjson11_deserializeDocumentGitBranchFilterCriteria(&sv.Branches, value); err != nil { return err } + case "filePaths": if err := awsAwsjson11_deserializeDocumentGitFilePathFilterCriteria(&sv.FilePaths, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentGitTagFilterCriteria(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9857,10 +10027,12 @@ func awsAwsjson11_deserializeDocumentGitTagFilterCriteria(v **types.GitTagFilter if err := awsAwsjson11_deserializeDocumentGitTagPatternList(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsAwsjson11_deserializeDocumentGitTagPatternList(&sv.Includes, value); err != nil { return err } + default: _, _ = key, value @@ -9936,6 +10108,7 @@ func awsAwsjson11_deserializeDocumentInputArtifact(v **types.InputArtifact, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10009,6 +10182,7 @@ func awsAwsjson11_deserializeDocumentInvalidActionDeclarationException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10048,6 +10222,7 @@ func awsAwsjson11_deserializeDocumentInvalidApprovalTokenException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10087,6 +10262,7 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10126,6 +10302,7 @@ func awsAwsjson11_deserializeDocumentInvalidBlockerDeclarationException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10165,6 +10342,7 @@ func awsAwsjson11_deserializeDocumentInvalidClientTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10204,6 +10382,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobException(v **types.InvalidJobExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10243,6 +10422,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10282,6 +10462,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10321,6 +10502,7 @@ func awsAwsjson11_deserializeDocumentInvalidNonceException(v **types.InvalidNonc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10360,6 +10542,7 @@ func awsAwsjson11_deserializeDocumentInvalidStageDeclarationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10399,6 +10582,7 @@ func awsAwsjson11_deserializeDocumentInvalidStructureException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10438,6 +10622,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagsException(v **types.InvalidTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10477,6 +10662,7 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookAuthenticationParametersExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10516,6 +10702,7 @@ func awsAwsjson11_deserializeDocumentInvalidWebhookFilterPatternException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10555,10 +10742,12 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccountId = ptr.String(jtv) } + case "data": if err := awsAwsjson11_deserializeDocumentJobData(&sv.Data, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10567,6 +10756,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } + case "nonce": if value != nil { jtv, ok := value.(string) @@ -10575,6 +10765,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Nonce = ptr.String(jtv) } + default: _, _ = key, value @@ -10610,14 +10801,17 @@ func awsAwsjson11_deserializeDocumentJobData(v **types.JobData, value interface{ if err := awsAwsjson11_deserializeDocumentActionConfiguration(&sv.ActionConfiguration, value); err != nil { return err } + case "actionTypeId": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } + case "artifactCredentials": if err := awsAwsjson11_deserializeDocumentAWSSessionCredentials(&sv.ArtifactCredentials, value); err != nil { return err } + case "continuationToken": if value != nil { jtv, ok := value.(string) @@ -10626,22 +10820,27 @@ func awsAwsjson11_deserializeDocumentJobData(v **types.JobData, value interface{ } sv.ContinuationToken = ptr.String(jtv) } + case "encryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.InputArtifacts, value); err != nil { return err } + case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.OutputArtifacts, value); err != nil { return err } + case "pipelineContext": if err := awsAwsjson11_deserializeDocumentPipelineContext(&sv.PipelineContext, value); err != nil { return err } + default: _, _ = key, value @@ -10681,10 +10880,12 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.AccountId = ptr.String(jtv) } + case "data": if err := awsAwsjson11_deserializeDocumentJobData(&sv.Data, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10693,6 +10894,7 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -10766,6 +10968,7 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10801,10 +11004,12 @@ func awsAwsjson11_deserializeDocumentJobWorkerExecutorConfiguration(v **types.Jo if err := awsAwsjson11_deserializeDocumentPollingAccountList(&sv.PollingAccounts, value); err != nil { return err } + case "pollingServicePrincipals": if err := awsAwsjson11_deserializeDocumentPollingServicePrincipalList(&sv.PollingServicePrincipals, value); err != nil { return err } + default: _, _ = key, value @@ -10844,6 +11049,7 @@ func awsAwsjson11_deserializeDocumentLambdaExecutorConfiguration(v **types.Lambd } sv.LambdaFunctionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10883,6 +11089,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10922,10 +11129,12 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.Arn = ptr.String(jtv) } + case "definition": if err := awsAwsjson11_deserializeDocumentWebhookDefinition(&sv.Definition, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -10934,6 +11143,7 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -10942,6 +11152,7 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.ErrorMessage = ptr.String(jtv) } + case "lastTriggered": if value != nil { switch jtv := value.(type) { @@ -10957,10 +11168,12 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -10969,6 +11182,7 @@ func awsAwsjson11_deserializeDocumentListWebhookItem(v **types.ListWebhookItem, } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -11008,6 +11222,7 @@ func awsAwsjson11_deserializeDocumentNotLatestPipelineExecutionException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11043,6 +11258,7 @@ func awsAwsjson11_deserializeDocumentOutputArtifact(v **types.OutputArtifact, va if err := awsAwsjson11_deserializeDocumentFilePathList(&sv.Files, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11051,6 +11267,7 @@ func awsAwsjson11_deserializeDocumentOutputArtifact(v **types.OutputArtifact, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11196,6 +11413,7 @@ func awsAwsjson11_deserializeDocumentOutputVariablesSizeExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11231,6 +11449,7 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, if err := awsAwsjson11_deserializeDocumentActionContext(&sv.Action, value); err != nil { return err } + case "pipelineArn": if value != nil { jtv, ok := value.(string) @@ -11239,6 +11458,7 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineArn = ptr.String(jtv) } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -11247,6 +11467,7 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineExecutionId = ptr.String(jtv) } + case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -11255,10 +11476,12 @@ func awsAwsjson11_deserializeDocumentPipelineContext(v **types.PipelineContext, } sv.PipelineName = ptr.String(jtv) } + case "stage": if err := awsAwsjson11_deserializeDocumentStageContext(&sv.Stage, value); err != nil { return err } + default: _, _ = key, value @@ -11294,10 +11517,12 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla if err := awsAwsjson11_deserializeDocumentArtifactStore(&sv.ArtifactStore, value); err != nil { return err } + case "artifactStores": if err := awsAwsjson11_deserializeDocumentArtifactStoreMap(&sv.ArtifactStores, value); err != nil { return err } + case "executionMode": if value != nil { jtv, ok := value.(string) @@ -11306,6 +11531,7 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.ExecutionMode = types.ExecutionMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11314,6 +11540,7 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.Name = ptr.String(jtv) } + case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -11322,6 +11549,7 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.PipelineType = types.PipelineType(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11330,18 +11558,22 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.RoleArn = ptr.String(jtv) } + case "stages": if err := awsAwsjson11_deserializeDocumentPipelineStageDeclarationList(&sv.Stages, value); err != nil { return err } + case "triggers": if err := awsAwsjson11_deserializeDocumentPipelineTriggerDeclarationList(&sv.Triggers, value); err != nil { return err } + case "variables": if err := awsAwsjson11_deserializeDocumentPipelineVariableDeclarationList(&sv.Variables, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -11354,6 +11586,7 @@ func awsAwsjson11_deserializeDocumentPipelineDeclaration(v **types.PipelineDecla } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11389,6 +11622,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti if err := awsAwsjson11_deserializeDocumentArtifactRevisionList(&sv.ArtifactRevisions, value); err != nil { return err } + case "executionMode": if value != nil { jtv, ok := value.(string) @@ -11397,6 +11631,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.ExecutionMode = types.ExecutionMode(jtv) } + case "executionType": if value != nil { jtv, ok := value.(string) @@ -11405,6 +11640,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.ExecutionType = types.ExecutionType(jtv) } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -11413,6 +11649,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionId = ptr.String(jtv) } + case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -11421,6 +11658,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineName = ptr.String(jtv) } + case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11433,10 +11671,12 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineVersion = ptr.Int32(int32(i64)) } + case "rollbackMetadata": if err := awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(&sv.RollbackMetadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11445,6 +11685,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.Status = types.PipelineExecutionStatus(jtv) } + case "statusSummary": if value != nil { jtv, ok := value.(string) @@ -11453,14 +11694,17 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.StatusSummary = ptr.String(jtv) } + case "trigger": if err := awsAwsjson11_deserializeDocumentExecutionTrigger(&sv.Trigger, value); err != nil { return err } + case "variables": if err := awsAwsjson11_deserializeDocumentResolvedPipelineVariableList(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -11500,6 +11744,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotFoundException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11539,6 +11784,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionNotStoppableException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11578,6 +11824,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionOutdatedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11617,6 +11864,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.ExecutionMode = types.ExecutionMode(jtv) } + case "executionType": if value != nil { jtv, ok := value.(string) @@ -11625,6 +11873,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.ExecutionType = types.ExecutionType(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -11640,6 +11889,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -11648,14 +11898,17 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionId = ptr.String(jtv) } + case "rollbackMetadata": if err := awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(&sv.RollbackMetadata, value); err != nil { return err } + case "sourceRevisions": if err := awsAwsjson11_deserializeDocumentSourceRevisionList(&sv.SourceRevisions, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11671,6 +11924,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11679,6 +11933,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.Status = types.PipelineExecutionStatus(jtv) } + case "statusSummary": if value != nil { jtv, ok := value.(string) @@ -11687,14 +11942,17 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.StatusSummary = ptr.String(jtv) } + case "stopTrigger": if err := awsAwsjson11_deserializeDocumentStopExecutionTrigger(&sv.StopTrigger, value); err != nil { return err } + case "trigger": if err := awsAwsjson11_deserializeDocumentExecutionTrigger(&sv.Trigger, value); err != nil { return err } + default: _, _ = key, value @@ -11809,6 +12067,7 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } + case "pipelineArn": if value != nil { jtv, ok := value.(string) @@ -11817,6 +12076,7 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } sv.PipelineArn = ptr.String(jtv) } + case "pollingDisabledAt": if value != nil { switch jtv := value.(type) { @@ -11832,6 +12092,7 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } + case "updated": if value != nil { switch jtv := value.(type) { @@ -11847,6 +12108,7 @@ func awsAwsjson11_deserializeDocumentPipelineMetadata(v **types.PipelineMetadata } } + default: _, _ = key, value @@ -11886,6 +12148,7 @@ func awsAwsjson11_deserializeDocumentPipelineNameInUseException(v **types.Pipeli } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11925,6 +12188,7 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11964,6 +12228,7 @@ func awsAwsjson11_deserializeDocumentPipelineRollbackMetadata(v **types.Pipeline } sv.RollbackTargetPipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12044,6 +12309,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "executionMode": if value != nil { jtv, ok := value.(string) @@ -12052,6 +12318,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.ExecutionMode = types.ExecutionMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12060,6 +12327,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Name = ptr.String(jtv) } + case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -12068,6 +12336,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineType = types.PipelineType(jtv) } + case "updated": if value != nil { switch jtv := value.(type) { @@ -12083,6 +12352,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -12095,6 +12365,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12130,6 +12401,7 @@ func awsAwsjson11_deserializeDocumentPipelineTriggerDeclaration(v **types.Pipeli if err := awsAwsjson11_deserializeDocumentGitConfiguration(&sv.GitConfiguration, value); err != nil { return err } + case "providerType": if value != nil { jtv, ok := value.(string) @@ -12138,6 +12410,7 @@ func awsAwsjson11_deserializeDocumentPipelineTriggerDeclaration(v **types.Pipeli } sv.ProviderType = types.PipelineTriggerProviderType(jtv) } + default: _, _ = key, value @@ -12211,6 +12484,7 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12219,6 +12493,7 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12227,6 +12502,7 @@ func awsAwsjson11_deserializeDocumentPipelineVariableDeclaration(v **types.Pipel } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12300,6 +12576,7 @@ func awsAwsjson11_deserializeDocumentPipelineVersionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12411,6 +12688,7 @@ func awsAwsjson11_deserializeDocumentRequestFailedException(v **types.RequestFai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12486,6 +12764,7 @@ func awsAwsjson11_deserializeDocumentResolvedPipelineVariable(v **types.Resolved } sv.Name = ptr.String(jtv) } + case "resolvedValue": if value != nil { jtv, ok := value.(string) @@ -12494,6 +12773,7 @@ func awsAwsjson11_deserializeDocumentResolvedPipelineVariable(v **types.Resolved } sv.ResolvedValue = ptr.String(jtv) } + default: _, _ = key, value @@ -12603,6 +12883,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12642,6 +12923,7 @@ func awsAwsjson11_deserializeDocumentRetryConfiguration(v **types.RetryConfigura } sv.RetryMode = types.StageRetryMode(jtv) } + default: _, _ = key, value @@ -12685,6 +12967,7 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.AutoStageRetryAttempt = ptr.Int32(int32(i64)) } + case "latestRetryTrigger": if value != nil { jtv, ok := value.(string) @@ -12693,6 +12976,7 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.LatestRetryTrigger = types.RetryTrigger(jtv) } + case "manualStageRetryAttempt": if value != nil { jtv, ok := value.(json.Number) @@ -12705,6 +12989,7 @@ func awsAwsjson11_deserializeDocumentRetryStageMetadata(v **types.RetryStageMeta } sv.ManualStageRetryAttempt = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12780,6 +13065,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Description = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(bool) @@ -12788,6 +13074,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Key = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -12796,6 +13083,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Name = ptr.String(jtv) } + case "queryable": if value != nil { jtv, ok := value.(bool) @@ -12804,6 +13092,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Queryable = jtv } + case "required": if value != nil { jtv, ok := value.(bool) @@ -12812,6 +13101,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Required = jtv } + case "secret": if value != nil { jtv, ok := value.(bool) @@ -12820,6 +13110,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Secret = jtv } + case "type": if value != nil { jtv, ok := value.(string) @@ -12828,6 +13119,7 @@ func awsAwsjson11_deserializeDocumentRuleConfigurationProperty(v **types.RuleCon } sv.Type = types.RuleConfigurationPropertyType(jtv) } + default: _, _ = key, value @@ -12897,10 +13189,12 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, if err := awsAwsjson11_deserializeDocumentRuleConfigurationMap(&sv.Configuration, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentInputArtifactList(&sv.InputArtifacts, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12909,6 +13203,7 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.Name = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -12917,6 +13212,7 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.Region = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12925,10 +13221,12 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.RoleArn = ptr.String(jtv) } + case "ruleTypeId": if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.RuleTypeId, value); err != nil { return err } + case "timeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12941,6 +13239,7 @@ func awsAwsjson11_deserializeDocumentRuleDeclaration(v **types.RuleDeclaration, } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13010,6 +13309,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -13018,6 +13318,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.ExternalExecutionId = ptr.String(jtv) } + case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -13026,6 +13327,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.ExternalExecutionUrl = ptr.String(jtv) } + case "lastStatusChange": if value != nil { switch jtv := value.(type) { @@ -13041,6 +13343,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -13049,6 +13352,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.LastUpdatedBy = ptr.String(jtv) } + case "ruleExecutionId": if value != nil { jtv, ok := value.(string) @@ -13057,6 +13361,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.RuleExecutionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13065,6 +13370,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Status = types.RuleExecutionStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -13073,6 +13379,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Summary = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -13081,6 +13388,7 @@ func awsAwsjson11_deserializeDocumentRuleExecution(v **types.RuleExecution, valu } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -13116,6 +13424,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentRuleExecutionInput(&sv.Input, value); err != nil { return err } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -13131,10 +13440,12 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } } + case "output": if err := awsAwsjson11_deserializeDocumentRuleExecutionOutput(&sv.Output, value); err != nil { return err } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -13143,6 +13454,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.PipelineExecutionId = ptr.String(jtv) } + case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -13155,6 +13467,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.PipelineVersion = ptr.Int32(int32(i64)) } + case "ruleExecutionId": if value != nil { jtv, ok := value.(string) @@ -13163,6 +13476,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.RuleExecutionId = ptr.String(jtv) } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -13171,6 +13485,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.RuleName = ptr.String(jtv) } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -13179,6 +13494,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.StageName = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -13194,6 +13510,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } } + case "status": if value != nil { jtv, ok := value.(string) @@ -13202,6 +13519,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.Status = types.RuleExecutionStatus(jtv) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -13210,6 +13528,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionDetail(v **types.RuleExecution } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -13279,10 +13598,12 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI if err := awsAwsjson11_deserializeDocumentRuleConfigurationMap(&sv.Configuration, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactDetailList(&sv.InputArtifacts, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -13291,10 +13612,12 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI } sv.Region = ptr.String(jtv) } + case "resolvedConfiguration": if err := awsAwsjson11_deserializeDocumentResolvedRuleConfigurationMap(&sv.ResolvedConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13303,10 +13626,12 @@ func awsAwsjson11_deserializeDocumentRuleExecutionInput(v **types.RuleExecutionI } sv.RoleArn = ptr.String(jtv) } + case "ruleTypeId": if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.RuleTypeId, value); err != nil { return err } + default: _, _ = key, value @@ -13342,6 +13667,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionOutput(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentRuleExecutionResult(&sv.ExecutionResult, value); err != nil { return err } + default: _, _ = key, value @@ -13377,6 +13703,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "externalExecutionId": if value != nil { jtv, ok := value.(string) @@ -13385,6 +13712,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionId = ptr.String(jtv) } + case "externalExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -13393,6 +13721,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionSummary = ptr.String(jtv) } + case "externalExecutionUrl": if value != nil { jtv, ok := value.(string) @@ -13401,6 +13730,7 @@ func awsAwsjson11_deserializeDocumentRuleExecutionResult(v **types.RuleExecution } sv.ExternalExecutionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13447,6 +13777,7 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } } + case "revisionChangeId": if value != nil { jtv, ok := value.(string) @@ -13455,6 +13786,7 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } sv.RevisionChangeId = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -13463,6 +13795,7 @@ func awsAwsjson11_deserializeDocumentRuleRevision(v **types.RuleRevision, value } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -13498,6 +13831,7 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf if err := awsAwsjson11_deserializeDocumentRuleRevision(&sv.CurrentRevision, value); err != nil { return err } + case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -13506,10 +13840,12 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.EntityUrl = ptr.String(jtv) } + case "latestExecution": if err := awsAwsjson11_deserializeDocumentRuleExecution(&sv.LatestExecution, value); err != nil { return err } + case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -13518,6 +13854,7 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.RevisionUrl = ptr.String(jtv) } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -13526,6 +13863,7 @@ func awsAwsjson11_deserializeDocumentRuleState(v **types.RuleState, value interf } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -13595,18 +13933,22 @@ func awsAwsjson11_deserializeDocumentRuleType(v **types.RuleType, value interfac if err := awsAwsjson11_deserializeDocumentRuleTypeId(&sv.Id, value); err != nil { return err } + case "inputArtifactDetails": if err := awsAwsjson11_deserializeDocumentArtifactDetails(&sv.InputArtifactDetails, value); err != nil { return err } + case "ruleConfigurationProperties": if err := awsAwsjson11_deserializeDocumentRuleConfigurationPropertyList(&sv.RuleConfigurationProperties, value); err != nil { return err } + case "settings": if err := awsAwsjson11_deserializeDocumentRuleTypeSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -13646,6 +13988,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Category = types.RuleCategory(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -13654,6 +13997,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Owner = types.RuleOwner(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -13662,6 +14006,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Provider = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -13670,6 +14015,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeId(v **types.RuleTypeId, value inte } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13743,6 +14089,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.EntityUrlTemplate = ptr.String(jtv) } + case "executionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -13751,6 +14098,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.ExecutionUrlTemplate = ptr.String(jtv) } + case "revisionUrlTemplate": if value != nil { jtv, ok := value.(string) @@ -13759,6 +14107,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.RevisionUrlTemplate = ptr.String(jtv) } + case "thirdPartyConfigurationUrl": if value != nil { jtv, ok := value.(string) @@ -13767,6 +14116,7 @@ func awsAwsjson11_deserializeDocumentRuleTypeSettings(v **types.RuleTypeSettings } sv.ThirdPartyConfigurationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13806,6 +14156,7 @@ func awsAwsjson11_deserializeDocumentS3ArtifactLocation(v **types.S3ArtifactLoca } sv.BucketName = ptr.String(jtv) } + case "objectKey": if value != nil { jtv, ok := value.(string) @@ -13814,6 +14165,7 @@ func awsAwsjson11_deserializeDocumentS3ArtifactLocation(v **types.S3ArtifactLoca } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -13853,6 +14205,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -13861,6 +14214,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -13900,6 +14254,7 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.ActionName = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -13908,6 +14263,7 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionId = ptr.String(jtv) } + case "revisionSummary": if value != nil { jtv, ok := value.(string) @@ -13916,6 +14272,7 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionSummary = ptr.String(jtv) } + case "revisionUrl": if value != nil { jtv, ok := value.(string) @@ -13924,6 +14281,7 @@ func awsAwsjson11_deserializeDocumentSourceRevision(v **types.SourceRevision, va } sv.RevisionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -14065,6 +14423,7 @@ func awsAwsjson11_deserializeDocumentStageConditionsExecution(v **types.StageCon } sv.Status = types.ConditionExecutionStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -14073,6 +14432,7 @@ func awsAwsjson11_deserializeDocumentStageConditionsExecution(v **types.StageCon } sv.Summary = ptr.String(jtv) } + default: _, _ = key, value @@ -14108,10 +14468,12 @@ func awsAwsjson11_deserializeDocumentStageConditionState(v **types.StageConditio if err := awsAwsjson11_deserializeDocumentConditionStateList(&sv.ConditionStates, value); err != nil { return err } + case "latestExecution": if err := awsAwsjson11_deserializeDocumentStageConditionsExecution(&sv.LatestExecution, value); err != nil { return err } + default: _, _ = key, value @@ -14151,6 +14513,7 @@ func awsAwsjson11_deserializeDocumentStageContext(v **types.StageContext, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14186,14 +14549,17 @@ func awsAwsjson11_deserializeDocumentStageDeclaration(v **types.StageDeclaration if err := awsAwsjson11_deserializeDocumentStageActionDeclarationList(&sv.Actions, value); err != nil { return err } + case "beforeEntry": if err := awsAwsjson11_deserializeDocumentBeforeEntryConditions(&sv.BeforeEntry, value); err != nil { return err } + case "blockers": if err := awsAwsjson11_deserializeDocumentStageBlockerDeclarationList(&sv.Blockers, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14202,14 +14568,17 @@ func awsAwsjson11_deserializeDocumentStageDeclaration(v **types.StageDeclaration } sv.Name = ptr.String(jtv) } + case "onFailure": if err := awsAwsjson11_deserializeDocumentFailureConditions(&sv.OnFailure, value); err != nil { return err } + case "onSuccess": if err := awsAwsjson11_deserializeDocumentSuccessConditions(&sv.OnSuccess, value); err != nil { return err } + default: _, _ = key, value @@ -14249,6 +14618,7 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.PipelineExecutionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14257,6 +14627,7 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.Status = types.StageExecutionStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14265,6 +14636,7 @@ func awsAwsjson11_deserializeDocumentStageExecution(v **types.StageExecution, va } sv.Type = types.ExecutionType(jtv) } + default: _, _ = key, value @@ -14338,6 +14710,7 @@ func awsAwsjson11_deserializeDocumentStageNotFoundException(v **types.StageNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14377,6 +14750,7 @@ func awsAwsjson11_deserializeDocumentStageNotRetryableException(v **types.StageN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14412,38 +14786,47 @@ func awsAwsjson11_deserializeDocumentStageState(v **types.StageState, value inte if err := awsAwsjson11_deserializeDocumentActionStateList(&sv.ActionStates, value); err != nil { return err } + case "beforeEntryConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.BeforeEntryConditionState, value); err != nil { return err } + case "inboundExecution": if err := awsAwsjson11_deserializeDocumentStageExecution(&sv.InboundExecution, value); err != nil { return err } + case "inboundExecutions": if err := awsAwsjson11_deserializeDocumentStageExecutionList(&sv.InboundExecutions, value); err != nil { return err } + case "inboundTransitionState": if err := awsAwsjson11_deserializeDocumentTransitionState(&sv.InboundTransitionState, value); err != nil { return err } + case "latestExecution": if err := awsAwsjson11_deserializeDocumentStageExecution(&sv.LatestExecution, value); err != nil { return err } + case "onFailureConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.OnFailureConditionState, value); err != nil { return err } + case "onSuccessConditionState": if err := awsAwsjson11_deserializeDocumentStageConditionState(&sv.OnSuccessConditionState, value); err != nil { return err } + case "retryStageMetadata": if err := awsAwsjson11_deserializeDocumentRetryStageMetadata(&sv.RetryStageMetadata, value); err != nil { return err } + case "stageName": if value != nil { jtv, ok := value.(string) @@ -14452,6 +14835,7 @@ func awsAwsjson11_deserializeDocumentStageState(v **types.StageState, value inte } sv.StageName = ptr.String(jtv) } + default: _, _ = key, value @@ -14525,6 +14909,7 @@ func awsAwsjson11_deserializeDocumentStopExecutionTrigger(v **types.StopExecutio } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -14560,6 +14945,7 @@ func awsAwsjson11_deserializeDocumentSuccessConditions(v **types.SuccessConditio if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } + default: _, _ = key, value @@ -14599,6 +14985,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14607,6 +14994,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14680,6 +15068,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyJob(v **types.ThirdPartyJob, valu } sv.ClientId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -14688,6 +15077,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyJob(v **types.ThirdPartyJob, valu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -14723,14 +15113,17 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobData(v **types.ThirdPartyJobDa if err := awsAwsjson11_deserializeDocumentActionConfiguration(&sv.ActionConfiguration, value); err != nil { return err } + case "actionTypeId": if err := awsAwsjson11_deserializeDocumentActionTypeId(&sv.ActionTypeId, value); err != nil { return err } + case "artifactCredentials": if err := awsAwsjson11_deserializeDocumentAWSSessionCredentials(&sv.ArtifactCredentials, value); err != nil { return err } + case "continuationToken": if value != nil { jtv, ok := value.(string) @@ -14739,22 +15132,27 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobData(v **types.ThirdPartyJobDa } sv.ContinuationToken = ptr.String(jtv) } + case "encryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "inputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.InputArtifacts, value); err != nil { return err } + case "outputArtifacts": if err := awsAwsjson11_deserializeDocumentArtifactList(&sv.OutputArtifacts, value); err != nil { return err } + case "pipelineContext": if err := awsAwsjson11_deserializeDocumentPipelineContext(&sv.PipelineContext, value); err != nil { return err } + default: _, _ = key, value @@ -14790,6 +15188,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo if err := awsAwsjson11_deserializeDocumentThirdPartyJobData(&sv.Data, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -14798,6 +15197,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo } sv.Id = ptr.String(jtv) } + case "nonce": if value != nil { jtv, ok := value.(string) @@ -14806,6 +15206,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyJobDetails(v **types.ThirdPartyJo } sv.Nonce = ptr.String(jtv) } + default: _, _ = key, value @@ -14879,6 +15280,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14918,6 +15320,7 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.DisabledReason = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -14926,6 +15329,7 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.Enabled = jtv } + case "lastChangedAt": if value != nil { switch jtv := value.(type) { @@ -14941,6 +15345,7 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } } + case "lastChangedBy": if value != nil { jtv, ok := value.(string) @@ -14949,6 +15354,7 @@ func awsAwsjson11_deserializeDocumentTransitionState(v **types.TransitionState, } sv.LastChangedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -14988,6 +15394,7 @@ func awsAwsjson11_deserializeDocumentUnableToRollbackStageException(v **types.Un } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15027,6 +15434,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15066,6 +15474,7 @@ func awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(v **types.WebhookA } sv.AllowedIPRange = ptr.String(jtv) } + case "SecretToken": if value != nil { jtv, ok := value.(string) @@ -15074,6 +15483,7 @@ func awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(v **types.WebhookA } sv.SecretToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15113,14 +15523,17 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.Authentication = types.WebhookAuthenticationType(jtv) } + case "authenticationConfiguration": if err := awsAwsjson11_deserializeDocumentWebhookAuthConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "filters": if err := awsAwsjson11_deserializeDocumentWebhookFilters(&sv.Filters, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -15129,6 +15542,7 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.Name = ptr.String(jtv) } + case "targetAction": if value != nil { jtv, ok := value.(string) @@ -15137,6 +15551,7 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.TargetAction = ptr.String(jtv) } + case "targetPipeline": if value != nil { jtv, ok := value.(string) @@ -15145,6 +15560,7 @@ func awsAwsjson11_deserializeDocumentWebhookDefinition(v **types.WebhookDefiniti } sv.TargetPipeline = ptr.String(jtv) } + default: _, _ = key, value @@ -15184,6 +15600,7 @@ func awsAwsjson11_deserializeDocumentWebhookFilterRule(v **types.WebhookFilterRu } sv.JsonPath = ptr.String(jtv) } + case "matchEquals": if value != nil { jtv, ok := value.(string) @@ -15192,6 +15609,7 @@ func awsAwsjson11_deserializeDocumentWebhookFilterRule(v **types.WebhookFilterRu } sv.MatchEquals = ptr.String(jtv) } + default: _, _ = key, value @@ -15330,6 +15748,7 @@ func awsAwsjson11_deserializeOpDocumentAcknowledgeJobOutput(v **AcknowledgeJobOu } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -15369,6 +15788,7 @@ func awsAwsjson11_deserializeOpDocumentAcknowledgeThirdPartyJobOutput(v **Acknow } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -15404,10 +15824,12 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomActionTypeOutput(v **CreateCu if err := awsAwsjson11_deserializeDocumentActionType(&sv.ActionType, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15443,10 +15865,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15544,6 +15968,7 @@ func awsAwsjson11_deserializeOpDocumentGetActionTypeOutput(v **GetActionTypeOutp if err := awsAwsjson11_deserializeDocumentActionTypeDeclaration(&sv.ActionType, value); err != nil { return err } + default: _, _ = key, value @@ -15579,6 +16004,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobDetailsOutput(v **GetJobDetailsOutp if err := awsAwsjson11_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } + default: _, _ = key, value @@ -15614,6 +16040,7 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineExecutionOutput(v **GetPipelin if err := awsAwsjson11_deserializeDocumentPipelineExecution(&sv.PipelineExecution, value); err != nil { return err } + default: _, _ = key, value @@ -15649,10 +16076,12 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineOutput(v **GetPipelineOutput, if err := awsAwsjson11_deserializeDocumentPipelineMetadata(&sv.Metadata, value); err != nil { return err } + case "pipeline": if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -15699,6 +16128,7 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } } + case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -15707,6 +16137,7 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } sv.PipelineName = ptr.String(jtv) } + case "pipelineVersion": if value != nil { jtv, ok := value.(json.Number) @@ -15719,10 +16150,12 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } sv.PipelineVersion = ptr.Int32(int32(i64)) } + case "stageStates": if err := awsAwsjson11_deserializeDocumentStageStateList(&sv.StageStates, value); err != nil { return err } + case "updated": if value != nil { switch jtv := value.(type) { @@ -15738,6 +16171,7 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineStateOutput(v **GetPipelineSta } } + default: _, _ = key, value @@ -15773,6 +16207,7 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyJobDetailsOutput(v **GetThir if err := awsAwsjson11_deserializeDocumentThirdPartyJobDetails(&sv.JobDetails, value); err != nil { return err } + default: _, _ = key, value @@ -15808,6 +16243,7 @@ func awsAwsjson11_deserializeOpDocumentListActionExecutionsOutput(v **ListAction if err := awsAwsjson11_deserializeDocumentActionExecutionDetailList(&sv.ActionExecutionDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15816,6 +16252,7 @@ func awsAwsjson11_deserializeOpDocumentListActionExecutionsOutput(v **ListAction } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15851,6 +16288,7 @@ func awsAwsjson11_deserializeOpDocumentListActionTypesOutput(v **ListActionTypes if err := awsAwsjson11_deserializeDocumentActionTypeList(&sv.ActionTypes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15859,6 +16297,7 @@ func awsAwsjson11_deserializeOpDocumentListActionTypesOutput(v **ListActionTypes } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15898,10 +16337,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionsOutput(v **ListPipe } sv.NextToken = ptr.String(jtv) } + case "pipelineExecutionSummaries": if err := awsAwsjson11_deserializeDocumentPipelineExecutionSummaryList(&sv.PipelineExecutionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -15941,10 +16382,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } + case "pipelines": if err := awsAwsjson11_deserializeDocumentPipelineList(&sv.Pipelines, value); err != nil { return err } + default: _, _ = key, value @@ -15984,10 +16427,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleExecutionsOutput(v **ListRuleExec } sv.NextToken = ptr.String(jtv) } + case "ruleExecutionDetails": if err := awsAwsjson11_deserializeDocumentRuleExecutionDetailList(&sv.RuleExecutionDetails, value); err != nil { return err } + default: _, _ = key, value @@ -16023,6 +16468,7 @@ func awsAwsjson11_deserializeOpDocumentListRuleTypesOutput(v **ListRuleTypesOutp if err := awsAwsjson11_deserializeDocumentRuleTypeList(&sv.RuleTypes, value); err != nil { return err } + default: _, _ = key, value @@ -16062,10 +16508,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16105,10 +16553,12 @@ func awsAwsjson11_deserializeOpDocumentListWebhooksOutput(v **ListWebhooksOutput } sv.NextToken = ptr.String(jtv) } + case "webhooks": if err := awsAwsjson11_deserializeDocumentWebhookList(&sv.Webhooks, value); err != nil { return err } + default: _, _ = key, value @@ -16144,6 +16594,7 @@ func awsAwsjson11_deserializeOpDocumentPollForJobsOutput(v **PollForJobsOutput, if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + default: _, _ = key, value @@ -16179,6 +16630,7 @@ func awsAwsjson11_deserializeOpDocumentPollForThirdPartyJobsOutput(v **PollForTh if err := awsAwsjson11_deserializeDocumentThirdPartyJobList(&sv.Jobs, value); err != nil { return err } + default: _, _ = key, value @@ -16218,6 +16670,7 @@ func awsAwsjson11_deserializeOpDocumentPutActionRevisionOutput(v **PutActionRevi } sv.NewRevision = jtv } + case "pipelineExecutionId": if value != nil { jtv, ok := value.(string) @@ -16226,6 +16679,7 @@ func awsAwsjson11_deserializeOpDocumentPutActionRevisionOutput(v **PutActionRevi } sv.PipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16272,6 +16726,7 @@ func awsAwsjson11_deserializeOpDocumentPutApprovalResultOutput(v **PutApprovalRe } } + default: _, _ = key, value @@ -16307,6 +16762,7 @@ func awsAwsjson11_deserializeOpDocumentPutWebhookOutput(v **PutWebhookOutput, va if err := awsAwsjson11_deserializeDocumentListWebhookItem(&sv.Webhook, value); err != nil { return err } + default: _, _ = key, value @@ -16377,6 +16833,7 @@ func awsAwsjson11_deserializeOpDocumentRetryStageExecutionOutput(v **RetryStageE } sv.PipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16416,6 +16873,7 @@ func awsAwsjson11_deserializeOpDocumentRollbackStageOutput(v **RollbackStageOutp } sv.PipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16455,6 +16913,7 @@ func awsAwsjson11_deserializeOpDocumentStartPipelineExecutionOutput(v **StartPip } sv.PipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16494,6 +16953,7 @@ func awsAwsjson11_deserializeOpDocumentStopPipelineExecutionOutput(v **StopPipel } sv.PipelineExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16591,6 +17051,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsAwsjson11_deserializeDocumentPipelineDeclaration(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codestarconnections/deserializers.go b/service/codestarconnections/deserializers.go index 6046653ad26..71c8499e86b 100644 --- a/service/codestarconnections/deserializers.go +++ b/service/codestarconnections/deserializers.go @@ -3903,6 +3903,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3942,6 +3943,7 @@ func awsAwsjson10_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3981,6 +3983,7 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4020,6 +4023,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4059,6 +4063,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -4067,6 +4072,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -4075,6 +4081,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionStatus = types.ConnectionStatus(jtv) } + case "HostArn": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4090,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.HostArn = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -4091,6 +4099,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccountId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4099,6 +4108,7 @@ func awsAwsjson10_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderType = types.ProviderType(jtv) } + default: _, _ = key, value @@ -4172,6 +4182,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4191,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Name = ptr.String(jtv) } + case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -4188,6 +4200,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderEndpoint = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4196,6 +4209,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4204,6 +4218,7 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4212,10 +4227,12 @@ func awsAwsjson10_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.StatusMessage = ptr.String(jtv) } + case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4289,6 +4306,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4328,6 +4346,7 @@ func awsAwsjson10_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4401,6 +4420,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4440,6 +4460,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ConnectionArn = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4448,6 +4469,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.EncryptionKeyArn = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4456,6 +4478,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -4464,6 +4487,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.ProviderType = types.ProviderType(jtv) } + case "RepositoryLinkArn": if value != nil { jtv, ok := value.(string) @@ -4472,6 +4496,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkArn = ptr.String(jtv) } + case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -4480,6 +4505,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryLinkId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -4488,6 +4514,7 @@ func awsAwsjson10_deserializeDocumentRepositoryLinkInfo(v **types.RepositoryLink } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -4557,6 +4584,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEventList(&sv.Events, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4572,6 +4600,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4580,6 +4609,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } + default: _, _ = key, value @@ -4619,6 +4649,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } + case "Directory": if value != nil { jtv, ok := value.(string) @@ -4627,6 +4658,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } + case "Parent": if value != nil { jtv, ok := value.(string) @@ -4635,6 +4667,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4676,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -4716,6 +4750,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4724,6 +4759,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } + case "Time": if value != nil { switch jtv := value.(type) { @@ -4739,6 +4775,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4747,6 +4784,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4820,6 +4858,7 @@ func awsAwsjson10_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4859,6 +4898,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4894,10 +4934,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEventList(&sv.Events, value); err != nil { return err } + case "InitialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4913,6 +4955,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4921,6 +4964,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -4929,10 +4973,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } + case "TargetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } + default: _, _ = key, value @@ -4972,6 +5018,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -4980,6 +5027,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } + case "Time": if value != nil { switch jtv := value.(type) { @@ -4995,6 +5043,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5003,6 +5052,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5076,6 +5126,7 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5115,6 +5166,7 @@ func awsAwsjson10_deserializeDocumentRetryLatestCommitFailedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5154,6 +5206,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } + case "Directory": if value != nil { jtv, ok := value.(string) @@ -5162,6 +5215,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5170,6 +5224,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5233,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.ProviderType = types.ProviderType(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5186,6 +5242,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } + case "Sha": if value != nil { jtv, ok := value.(string) @@ -5194,6 +5251,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } + default: _, _ = key, value @@ -5301,6 +5359,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContextList(&sv.Contexts, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5316,6 +5375,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "CreatedReason": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5384,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5332,6 +5393,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } + case "ResolvedAt": if value != nil { switch jtv := value.(type) { @@ -5347,6 +5409,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "ResolvedReason": if value != nil { jtv, ok := value.(string) @@ -5355,6 +5418,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5363,6 +5427,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5371,6 +5436,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } + default: _, _ = key, value @@ -5410,6 +5476,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5418,6 +5485,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5491,6 +5559,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5526,6 +5595,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum if err := awsAwsjson10_deserializeDocumentLatestSyncBlockerList(&sv.LatestBlockers, value); err != nil { return err } + case "ParentResourceName": if value != nil { jtv, ok := value.(string) @@ -5534,6 +5604,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ParentResourceName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5542,6 +5613,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerSummary(v **types.SyncBlockerSum } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5581,6 +5653,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.Branch = ptr.String(jtv) } + case "ConfigFile": if value != nil { jtv, ok := value.(string) @@ -5589,6 +5662,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ConfigFile = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -5597,6 +5671,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.OwnerId = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -5605,6 +5680,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ProviderType = types.ProviderType(jtv) } + case "PublishDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5613,6 +5689,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.PublishDeploymentStatus = types.PublishDeploymentStatus(jtv) } + case "RepositoryLinkId": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5698,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryLinkId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5707,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RepositoryName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5637,6 +5716,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.ResourceName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5725,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.RoleArn = ptr.String(jtv) } + case "SyncType": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5734,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.SyncType = types.SyncConfigurationType(jtv) } + case "TriggerResourceUpdateOn": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5743,7 @@ func awsAwsjson10_deserializeDocumentSyncConfiguration(v **types.SyncConfigurati } sv.TriggerResourceUpdateOn = types.TriggerResourceUpdateOn(jtv) } + default: _, _ = key, value @@ -5734,6 +5817,7 @@ func awsAwsjson10_deserializeDocumentSyncConfigurationStillExistsException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5773,6 +5857,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5781,6 +5866,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5854,6 +5940,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5893,6 +5980,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5932,6 +6020,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedProviderTypeException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5971,6 +6060,7 @@ func awsAwsjson10_deserializeDocumentUpdateOutOfSyncException(v **types.UpdateOu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6006,10 +6096,12 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "TlsCertificate": if value != nil { jtv, ok := value.(string) @@ -6018,6 +6110,7 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.TlsCertificate = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6026,6 +6119,7 @@ func awsAwsjson10_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -6065,10 +6159,12 @@ func awsAwsjson10_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6108,10 +6204,12 @@ func awsAwsjson10_deserializeOpDocumentCreateHostOutput(v **CreateHostOutput, va } sv.HostArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6147,6 +6245,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryLinkOutput(v **CreateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6182,6 +6281,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSyncConfigurationOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6341,6 +6441,7 @@ func awsAwsjson10_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson10_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -6380,6 +6481,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Name = ptr.String(jtv) } + case "ProviderEndpoint": if value != nil { jtv, ok := value.(string) @@ -6388,6 +6490,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderEndpoint = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -6396,6 +6499,7 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.ProviderType = types.ProviderType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6404,10 +6508,12 @@ func awsAwsjson10_deserializeOpDocumentGetHostOutput(v **GetHostOutput, value in } sv.Status = ptr.String(jtv) } + case "VpcConfiguration": if err := awsAwsjson10_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6443,6 +6549,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryLinkOutput(v **GetRepository if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6478,6 +6585,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -6513,14 +6621,17 @@ func awsAwsjson10_deserializeOpDocumentGetResourceSyncStatusOutput(v **GetResour if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } + case "LatestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } + case "LatestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -6556,6 +6667,7 @@ func awsAwsjson10_deserializeOpDocumentGetSyncBlockerSummaryOutput(v **GetSyncBl if err := awsAwsjson10_deserializeDocumentSyncBlockerSummary(&sv.SyncBlockerSummary, value); err != nil { return err } + default: _, _ = key, value @@ -6591,6 +6703,7 @@ func awsAwsjson10_deserializeOpDocumentGetSyncConfigurationOutput(v **GetSyncCon if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6626,6 +6739,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson10_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6634,6 +6748,7 @@ func awsAwsjson10_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6669,6 +6784,7 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu if err := awsAwsjson10_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6793,7 @@ func awsAwsjson10_deserializeOpDocumentListHostsOutput(v **ListHostsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6716,10 +6833,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositoryLinksOutput(v **ListReposit } sv.NextToken = ptr.String(jtv) } + case "RepositoryLinks": if err := awsAwsjson10_deserializeDocumentRepositoryLinkList(&sv.RepositoryLinks, value); err != nil { return err } + default: _, _ = key, value @@ -6759,10 +6878,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "RepositorySyncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.RepositorySyncDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -6802,10 +6923,12 @@ func awsAwsjson10_deserializeOpDocumentListSyncConfigurationsOutput(v **ListSync } sv.NextToken = ptr.String(jtv) } + case "SyncConfigurations": if err := awsAwsjson10_deserializeDocumentSyncConfigurationList(&sv.SyncConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6841,6 +6964,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6969,6 +7093,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateRepositoryLinkOutput(v **UpdateRepo if err := awsAwsjson10_deserializeDocumentRepositoryLinkInfo(&sv.RepositoryLinkInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7008,6 +7133,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ParentResourceName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7016,10 +7142,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncBlockerOutput(v **UpdateSyncBlo } sv.ResourceName = ptr.String(jtv) } + case "SyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.SyncBlocker, value); err != nil { return err } + default: _, _ = key, value @@ -7055,6 +7183,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSyncConfigurationOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentSyncConfiguration(&sv.SyncConfiguration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/codestarnotifications/deserializers.go b/service/codestarnotifications/deserializers.go index 3d0916e7be0..383b9471db6 100644 --- a/service/codestarnotifications/deserializers.go +++ b/service/codestarnotifications/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateNotificationRuleOutput(v **CreateNo } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -351,6 +352,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNotificationRuleOutput(v **DeleteNo } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -597,6 +599,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -605,6 +608,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -620,6 +624,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } } + case "DetailType": if value != nil { jtv, ok := value.(string) @@ -628,10 +633,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.DetailType = types.DetailType(jtv) } + case "EventTypes": if err := awsRestjson1_deserializeDocumentEventTypeBatch(&sv.EventTypes, value); err != nil { return err } + case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -647,6 +654,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -655,6 +663,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Name = ptr.String(jtv) } + case "Resource": if value != nil { jtv, ok := value.(string) @@ -663,6 +672,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Resource = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -671,14 +681,17 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationRuleOutput(v **Descri } sv.Status = types.NotificationRuleStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Targets": if err := awsRestjson1_deserializeDocumentTargetsBatch(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -833,6 +846,7 @@ func awsRestjson1_deserializeOpDocumentListEventTypesOutput(v **ListEventTypesOu if err := awsRestjson1_deserializeDocumentEventTypeBatch(&sv.EventTypes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -841,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentListEventTypesOutput(v **ListEventTypesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -999,10 +1014,12 @@ func awsRestjson1_deserializeOpDocumentListNotificationRulesOutput(v **ListNotif } sv.NextToken = ptr.String(jtv) } + case "NotificationRules": if err := awsRestjson1_deserializeDocumentNotificationRuleBatch(&sv.NotificationRules, value); err != nil { return err } + default: _, _ = key, value @@ -1157,6 +1174,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1315,10 +1333,12 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, } sv.NextToken = ptr.String(jtv) } + case "Targets": if err := awsRestjson1_deserializeDocumentTargetsBatch(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -1480,6 +1500,7 @@ func awsRestjson1_deserializeOpDocumentSubscribeOutput(v **SubscribeOutput, valu } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1640,6 +1661,7 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1795,6 +1817,7 @@ func awsRestjson1_deserializeOpDocumentUnsubscribeOutput(v **UnsubscribeOutput, } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2313,6 +2336,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2352,6 +2376,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2391,6 +2416,7 @@ func awsRestjson1_deserializeDocumentConfigurationException(v **types.Configurat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2464,6 +2490,7 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.EventTypeId = ptr.String(jtv) } + case "EventTypeName": if value != nil { jtv, ok := value.(string) @@ -2472,6 +2499,7 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.EventTypeName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2480,6 +2508,7 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.ResourceType = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -2488,6 +2517,7 @@ func awsRestjson1_deserializeDocumentEventTypeSummary(v **types.EventTypeSummary } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2527,6 +2557,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2566,6 +2597,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2639,6 +2671,7 @@ func awsRestjson1_deserializeDocumentNotificationRuleSummary(v **types.Notificat } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2647,6 +2680,7 @@ func awsRestjson1_deserializeDocumentNotificationRuleSummary(v **types.Notificat } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2686,6 +2720,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2725,6 +2760,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2834,6 +2870,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetAddress = ptr.String(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -2842,6 +2879,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetStatus = types.TargetStatus(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -2850,6 +2888,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.TargetType = ptr.String(jtv) } + default: _, _ = key, value @@ -2889,6 +2928,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/cognitoidentity/deserializers.go b/service/cognitoidentity/deserializers.go index bb2957a4d07..231ff254a1a 100644 --- a/service/cognitoidentity/deserializers.go +++ b/service/cognitoidentity/deserializers.go @@ -3246,6 +3246,7 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ClientId = ptr.String(jtv) } + case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -3254,6 +3255,7 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ProviderName = ptr.String(jtv) } + case "ServerSideTokenCheck": if value != nil { jtv, ok := value.(bool) @@ -3262,6 +3264,7 @@ func awsAwsjson11_deserializeDocumentCognitoIdentityProvider(v **types.CognitoId } sv.ServerSideTokenCheck = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3335,6 +3338,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3374,6 +3378,7 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } + case "Expiration": if value != nil { switch jtv := value.(type) { @@ -3389,6 +3394,7 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } } + case "SecretKey": if value != nil { jtv, ok := value.(string) @@ -3397,6 +3403,7 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretKey = ptr.String(jtv) } + case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -3405,6 +3412,7 @@ func awsAwsjson11_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3444,6 +3452,7 @@ func awsAwsjson11_deserializeDocumentDeveloperUserAlreadyRegisteredException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3519,6 +3528,7 @@ func awsAwsjson11_deserializeDocumentExternalServiceException(v **types.External } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3599,6 +3609,7 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3607,6 +3618,7 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } sv.IdentityId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3622,10 +3634,12 @@ func awsAwsjson11_deserializeDocumentIdentityDescription(v **types.IdentityDescr } } + case "Logins": if err := awsAwsjson11_deserializeDocumentLoginsList(&sv.Logins, value); err != nil { return err } + default: _, _ = key, value @@ -3665,6 +3679,7 @@ func awsAwsjson11_deserializeDocumentIdentityPoolShortDescription(v **types.Iden } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -3673,6 +3688,7 @@ func awsAwsjson11_deserializeDocumentIdentityPoolShortDescription(v **types.Iden } sv.IdentityPoolName = ptr.String(jtv) } + default: _, _ = key, value @@ -3818,6 +3834,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3857,6 +3874,7 @@ func awsAwsjson11_deserializeDocumentInvalidIdentityPoolConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3896,6 +3914,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3935,6 +3954,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4010,6 +4030,7 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Claim = ptr.String(jtv) } + case "MatchType": if value != nil { jtv, ok := value.(string) @@ -4018,6 +4039,7 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.MatchType = types.MappingRuleMatchType(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4026,6 +4048,7 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.RoleARN = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4034,6 +4057,7 @@ func awsAwsjson11_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4107,6 +4131,7 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4218,6 +4243,7 @@ func awsAwsjson11_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4257,6 +4283,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4296,10 +4323,12 @@ func awsAwsjson11_deserializeDocumentRoleMapping(v **types.RoleMapping, value in } sv.AmbiguousRoleResolution = types.AmbiguousRoleResolutionType(jtv) } + case "RulesConfiguration": if err := awsAwsjson11_deserializeDocumentRulesConfigurationType(&sv.RulesConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4308,6 +4337,7 @@ func awsAwsjson11_deserializeDocumentRoleMapping(v **types.RoleMapping, value in } sv.Type = types.RoleMappingType(jtv) } + default: _, _ = key, value @@ -4414,6 +4444,7 @@ func awsAwsjson11_deserializeDocumentRulesConfigurationType(v **types.RulesConfi if err := awsAwsjson11_deserializeDocumentMappingRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -4489,6 +4520,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4528,6 +4560,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedIdentityId(v **types.Unprocessed } sv.ErrorCode = types.ErrorCode(jtv) } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -4536,6 +4569,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedIdentityId(v **types.Unprocessed } sv.IdentityId = ptr.String(jtv) } + default: _, _ = key, value @@ -4609,6 +4643,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.AllowClassicFlow = ptr.Bool(jtv) } + case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -4617,10 +4652,12 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.AllowUnauthenticatedIdentities = jtv } + case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } + case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -4629,6 +4666,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.DeveloperProviderName = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -4637,6 +4675,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -4645,22 +4684,27 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityPoolOutput(v **CreateIdenti } sv.IdentityPoolName = ptr.String(jtv) } + case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } + case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } + case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } + case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } + default: _, _ = key, value @@ -4696,6 +4740,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteIdentitiesOutput(v **DeleteIdentiti if err := awsAwsjson11_deserializeDocumentUnprocessedIdentityIdList(&sv.UnprocessedIdentityIds, value); err != nil { return err } + default: _, _ = key, value @@ -4742,6 +4787,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -4750,6 +4796,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } sv.IdentityId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4765,10 +4812,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityOutput(v **DescribeIdenti } } + case "Logins": if err := awsAwsjson11_deserializeDocumentLoginsList(&sv.Logins, value); err != nil { return err } + default: _, _ = key, value @@ -4808,6 +4857,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.AllowClassicFlow = ptr.Bool(jtv) } + case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -4816,10 +4866,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.AllowUnauthenticatedIdentities = jtv } + case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } + case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -4828,6 +4880,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.DeveloperProviderName = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -4836,6 +4889,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -4844,22 +4898,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityPoolOutput(v **DescribeId } sv.IdentityPoolName = ptr.String(jtv) } + case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } + case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } + case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } + case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } + default: _, _ = key, value @@ -4895,6 +4954,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsForIdentityOutput(v **GetCr if err := awsAwsjson11_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -4903,6 +4963,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsForIdentityOutput(v **GetCr } sv.IdentityId = ptr.String(jtv) } + default: _, _ = key, value @@ -4942,14 +5003,17 @@ func awsAwsjson11_deserializeOpDocumentGetIdentityPoolRolesOutput(v **GetIdentit } sv.IdentityPoolId = ptr.String(jtv) } + case "RoleMappings": if err := awsAwsjson11_deserializeDocumentRoleMappingMap(&sv.RoleMappings, value); err != nil { return err } + case "Roles": if err := awsAwsjson11_deserializeDocumentRolesMap(&sv.Roles, value); err != nil { return err } + default: _, _ = key, value @@ -4989,6 +5053,7 @@ func awsAwsjson11_deserializeOpDocumentGetIdOutput(v **GetIdOutput, value interf } sv.IdentityId = ptr.String(jtv) } + default: _, _ = key, value @@ -5028,6 +5093,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenForDeveloperIdentityOutput( } sv.IdentityId = ptr.String(jtv) } + case "Token": if value != nil { jtv, ok := value.(string) @@ -5036,6 +5102,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenForDeveloperIdentityOutput( } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -5075,6 +5142,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenOutput(v **GetOpenIdTokenOu } sv.IdentityId = ptr.String(jtv) } + case "Token": if value != nil { jtv, ok := value.(string) @@ -5083,6 +5151,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpenIdTokenOutput(v **GetOpenIdTokenOu } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -5122,6 +5191,7 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityProviderName": if value != nil { jtv, ok := value.(string) @@ -5130,10 +5200,12 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.IdentityProviderName = ptr.String(jtv) } + case "PrincipalTags": if err := awsAwsjson11_deserializeDocumentPrincipalTags(&sv.PrincipalTags, value); err != nil { return err } + case "UseDefaults": if value != nil { jtv, ok := value.(bool) @@ -5142,6 +5214,7 @@ func awsAwsjson11_deserializeOpDocumentGetPrincipalTagAttributeMapOutput(v **Get } sv.UseDefaults = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5177,6 +5250,7 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu if err := awsAwsjson11_deserializeDocumentIdentitiesList(&sv.Identities, value); err != nil { return err } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -5185,6 +5259,7 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu } sv.IdentityPoolId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5193,6 +5268,7 @@ func awsAwsjson11_deserializeOpDocumentListIdentitiesOutput(v **ListIdentitiesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5228,6 +5304,7 @@ func awsAwsjson11_deserializeOpDocumentListIdentityPoolsOutput(v **ListIdentityP if err := awsAwsjson11_deserializeDocumentIdentityPoolsList(&sv.IdentityPools, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5236,6 +5313,7 @@ func awsAwsjson11_deserializeOpDocumentListIdentityPoolsOutput(v **ListIdentityP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5271,6 +5349,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5306,6 +5385,7 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD if err := awsAwsjson11_deserializeDocumentDeveloperUserIdentifierList(&sv.DeveloperUserIdentifierList, value); err != nil { return err } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -5314,6 +5394,7 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD } sv.IdentityId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5322,6 +5403,7 @@ func awsAwsjson11_deserializeOpDocumentLookupDeveloperIdentityOutput(v **LookupD } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5361,6 +5443,7 @@ func awsAwsjson11_deserializeOpDocumentMergeDeveloperIdentitiesOutput(v **MergeD } sv.IdentityId = ptr.String(jtv) } + default: _, _ = key, value @@ -5400,6 +5483,7 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityProviderName": if value != nil { jtv, ok := value.(string) @@ -5408,10 +5492,12 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.IdentityProviderName = ptr.String(jtv) } + case "PrincipalTags": if err := awsAwsjson11_deserializeDocumentPrincipalTags(&sv.PrincipalTags, value); err != nil { return err } + case "UseDefaults": if value != nil { jtv, ok := value.(bool) @@ -5420,6 +5506,7 @@ func awsAwsjson11_deserializeOpDocumentSetPrincipalTagAttributeMapOutput(v **Set } sv.UseDefaults = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5521,6 +5608,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.AllowClassicFlow = ptr.Bool(jtv) } + case "AllowUnauthenticatedIdentities": if value != nil { jtv, ok := value.(bool) @@ -5529,10 +5617,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.AllowUnauthenticatedIdentities = jtv } + case "CognitoIdentityProviders": if err := awsAwsjson11_deserializeDocumentCognitoIdentityProviderList(&sv.CognitoIdentityProviders, value); err != nil { return err } + case "DeveloperProviderName": if value != nil { jtv, ok := value.(string) @@ -5541,6 +5631,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.DeveloperProviderName = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -5549,6 +5640,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.IdentityPoolId = ptr.String(jtv) } + case "IdentityPoolName": if value != nil { jtv, ok := value.(string) @@ -5557,22 +5649,27 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityPoolOutput(v **UpdateIdenti } sv.IdentityPoolName = ptr.String(jtv) } + case "IdentityPoolTags": if err := awsAwsjson11_deserializeDocumentIdentityPoolTagsType(&sv.IdentityPoolTags, value); err != nil { return err } + case "OpenIdConnectProviderARNs": if err := awsAwsjson11_deserializeDocumentOIDCProviderList(&sv.OpenIdConnectProviderARNs, value); err != nil { return err } + case "SamlProviderARNs": if err := awsAwsjson11_deserializeDocumentSAMLProviderList(&sv.SamlProviderARNs, value); err != nil { return err } + case "SupportedLoginProviders": if err := awsAwsjson11_deserializeDocumentIdentityProviders(&sv.SupportedLoginProviders, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index 99da0623c78..c1a9cb1aa39 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -14886,6 +14886,7 @@ func awsAwsjson11_deserializeDocumentAccountRecoverySettingType(v **types.Accoun if err := awsAwsjson11_deserializeDocumentRecoveryMechanismsType(&sv.RecoveryMechanisms, value); err != nil { return err } + default: _, _ = key, value @@ -14921,14 +14922,17 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionsType(v **types.Accoun if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.HighAction, value); err != nil { return err } + case "LowAction": if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.LowAction, value); err != nil { return err } + case "MediumAction": if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionType(&sv.MediumAction, value); err != nil { return err } + default: _, _ = key, value @@ -14968,6 +14972,7 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionType(v **types.Account } sv.EventAction = types.AccountTakeoverEventActionType(jtv) } + case "Notify": if value != nil { jtv, ok := value.(bool) @@ -14976,6 +14981,7 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverActionType(v **types.Account } sv.Notify = jtv } + default: _, _ = key, value @@ -15011,10 +15017,12 @@ func awsAwsjson11_deserializeDocumentAccountTakeoverRiskConfigurationType(v **ty if err := awsAwsjson11_deserializeDocumentAccountTakeoverActionsType(&sv.Actions, value); err != nil { return err } + case "NotifyConfiguration": if err := awsAwsjson11_deserializeDocumentNotifyConfigurationType(&sv.NotifyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -15054,10 +15062,12 @@ func awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(v **types.AdminCr } sv.AllowAdminCreateUserOnly = jtv } + case "InviteMessageTemplate": if err := awsAwsjson11_deserializeDocumentMessageTemplateType(&sv.InviteMessageTemplate, value); err != nil { return err } + case "UnusedAccountValidityDays": if value != nil { jtv, ok := value.(json.Number) @@ -15070,6 +15080,7 @@ func awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(v **types.AdminCr } sv.UnusedAccountValidityDays = int32(i64) } + default: _, _ = key, value @@ -15109,6 +15120,7 @@ func awsAwsjson11_deserializeDocumentAdvancedSecurityAdditionalFlowsType(v **typ } sv.CustomAuthMode = types.AdvancedSecurityEnabledModeType(jtv) } + default: _, _ = key, value @@ -15184,6 +15196,7 @@ func awsAwsjson11_deserializeDocumentAliasExistsException(v **types.AliasExistsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15223,6 +15236,7 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ApplicationArn = ptr.String(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -15231,6 +15245,7 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ApplicationId = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -15239,6 +15254,7 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.ExternalId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -15247,6 +15263,7 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.RoleArn = ptr.String(jtv) } + case "UserDataShared": if value != nil { jtv, ok := value.(bool) @@ -15255,6 +15272,7 @@ func awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(v **types.Analyt } sv.UserDataShared = jtv } + default: _, _ = key, value @@ -15400,6 +15418,7 @@ func awsAwsjson11_deserializeDocumentAttributeType(v **types.AttributeType, valu } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15408,6 +15427,7 @@ func awsAwsjson11_deserializeDocumentAttributeType(v **types.AttributeType, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15447,6 +15467,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.AccessToken = ptr.String(jtv) } + case "ExpiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -15459,6 +15480,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.ExpiresIn = int32(i64) } + case "IdToken": if value != nil { jtv, ok := value.(string) @@ -15467,10 +15489,12 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.IdToken = ptr.String(jtv) } + case "NewDeviceMetadata": if err := awsAwsjson11_deserializeDocumentNewDeviceMetadataType(&sv.NewDeviceMetadata, value); err != nil { return err } + case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -15479,6 +15503,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.RefreshToken = ptr.String(jtv) } + case "TokenType": if value != nil { jtv, ok := value.(string) @@ -15487,6 +15512,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationResultType(v **types.Authenti } sv.TokenType = ptr.String(jtv) } + default: _, _ = key, value @@ -15556,6 +15582,7 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu if err := awsAwsjson11_deserializeDocumentChallengeResponseListType(&sv.ChallengeResponses, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -15571,14 +15598,17 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } } + case "EventContextData": if err := awsAwsjson11_deserializeDocumentEventContextDataType(&sv.EventContextData, value); err != nil { return err } + case "EventFeedback": if err := awsAwsjson11_deserializeDocumentEventFeedbackType(&sv.EventFeedback, value); err != nil { return err } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -15587,6 +15617,7 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventId = ptr.String(jtv) } + case "EventResponse": if value != nil { jtv, ok := value.(string) @@ -15595,10 +15626,12 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventResponse = types.EventResponseType(jtv) } + case "EventRisk": if err := awsAwsjson11_deserializeDocumentEventRiskType(&sv.EventRisk, value); err != nil { return err } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -15607,6 +15640,7 @@ func awsAwsjson11_deserializeDocumentAuthEventType(v **types.AuthEventType, valu } sv.EventType = types.EventType(jtv) } + default: _, _ = key, value @@ -15788,6 +15822,7 @@ func awsAwsjson11_deserializeDocumentChallengeResponseType(v **types.ChallengeRe } sv.ChallengeName = types.ChallengeName(jtv) } + case "ChallengeResponse": if value != nil { jtv, ok := value.(string) @@ -15796,6 +15831,7 @@ func awsAwsjson11_deserializeDocumentChallengeResponseType(v **types.ChallengeRe } sv.ChallengeResponse = types.ChallengeResponse(jtv) } + default: _, _ = key, value @@ -15871,6 +15907,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfigurationType(v **types.C } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15944,6 +15981,7 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.AttributeName = ptr.String(jtv) } + case "DeliveryMedium": if value != nil { jtv, ok := value.(string) @@ -15952,6 +15990,7 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.DeliveryMedium = types.DeliveryMediumType(jtv) } + case "Destination": if value != nil { jtv, ok := value.(string) @@ -15960,6 +15999,7 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(v **types.CodeDeliv } sv.Destination = ptr.String(jtv) } + default: _, _ = key, value @@ -15999,6 +16039,7 @@ func awsAwsjson11_deserializeDocumentCodeDeliveryFailureException(v **types.Code } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16038,6 +16079,7 @@ func awsAwsjson11_deserializeDocumentCodeMismatchException(v **types.CodeMismatc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16077,6 +16119,7 @@ func awsAwsjson11_deserializeDocumentCompromisedCredentialsActionsType(v **types } sv.EventAction = types.CompromisedCredentialsEventActionType(jtv) } + default: _, _ = key, value @@ -16112,10 +16155,12 @@ func awsAwsjson11_deserializeDocumentCompromisedCredentialsRiskConfigurationType if err := awsAwsjson11_deserializeDocumentCompromisedCredentialsActionsType(&sv.Actions, value); err != nil { return err } + case "EventFilter": if err := awsAwsjson11_deserializeDocumentEventFiltersType(&sv.EventFilter, value); err != nil { return err } + default: _, _ = key, value @@ -16155,6 +16200,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16194,6 +16240,7 @@ func awsAwsjson11_deserializeDocumentCustomDomainConfigType(v **types.CustomDoma } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16233,6 +16280,7 @@ func awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(v **type } sv.LambdaArn = ptr.String(jtv) } + case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -16241,6 +16289,7 @@ func awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(v **type } sv.LambdaVersion = types.CustomEmailSenderLambdaVersionType(jtv) } + default: _, _ = key, value @@ -16280,6 +16329,7 @@ func awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(v **types. } sv.LambdaArn = ptr.String(jtv) } + case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -16288,6 +16338,7 @@ func awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(v **types. } sv.LambdaVersion = types.CustomSMSSenderLambdaVersionType(jtv) } + default: _, _ = key, value @@ -16327,6 +16378,7 @@ func awsAwsjson11_deserializeDocumentDeviceConfigurationType(v **types.DeviceCon } sv.ChallengeRequiredOnNewDevice = jtv } + case "DeviceOnlyRememberedOnUserPrompt": if value != nil { jtv, ok := value.(bool) @@ -16335,6 +16387,7 @@ func awsAwsjson11_deserializeDocumentDeviceConfigurationType(v **types.DeviceCon } sv.DeviceOnlyRememberedOnUserPrompt = jtv } + default: _, _ = key, value @@ -16404,6 +16457,7 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.DeviceAttributes, value); err != nil { return err } + case "DeviceCreateDate": if value != nil { switch jtv := value.(type) { @@ -16419,6 +16473,7 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } + case "DeviceKey": if value != nil { jtv, ok := value.(string) @@ -16427,6 +16482,7 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } sv.DeviceKey = ptr.String(jtv) } + case "DeviceLastAuthenticatedDate": if value != nil { switch jtv := value.(type) { @@ -16442,6 +16498,7 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } + case "DeviceLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16457,6 +16514,7 @@ func awsAwsjson11_deserializeDocumentDeviceType(v **types.DeviceType, value inte } } + default: _, _ = key, value @@ -16496,6 +16554,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.AWSAccountId = ptr.String(jtv) } + case "CloudFrontDistribution": if value != nil { jtv, ok := value.(string) @@ -16504,10 +16563,12 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.CloudFrontDistribution = ptr.String(jtv) } + case "CustomDomainConfig": if err := awsAwsjson11_deserializeDocumentCustomDomainConfigType(&sv.CustomDomainConfig, value); err != nil { return err } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -16516,6 +16577,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Domain = ptr.String(jtv) } + case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -16524,6 +16586,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.S3Bucket = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16532,6 +16595,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Status = types.DomainStatusType(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -16540,6 +16604,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.UserPoolId = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -16548,6 +16613,7 @@ func awsAwsjson11_deserializeDocumentDomainDescriptionType(v **types.DomainDescr } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -16587,6 +16653,7 @@ func awsAwsjson11_deserializeDocumentDuplicateProviderException(v **types.Duplic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16626,6 +16693,7 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.ConfigurationSet = ptr.String(jtv) } + case "EmailSendingAccount": if value != nil { jtv, ok := value.(string) @@ -16634,6 +16702,7 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.EmailSendingAccount = types.EmailSendingAccountType(jtv) } + case "From": if value != nil { jtv, ok := value.(string) @@ -16642,6 +16711,7 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.From = ptr.String(jtv) } + case "ReplyToEmailAddress": if value != nil { jtv, ok := value.(string) @@ -16650,6 +16720,7 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.ReplyToEmailAddress = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -16658,6 +16729,7 @@ func awsAwsjson11_deserializeDocumentEmailConfigurationType(v **types.EmailConfi } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16697,6 +16769,7 @@ func awsAwsjson11_deserializeDocumentEmailMfaConfigType(v **types.EmailMfaConfig } sv.Message = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -16705,6 +16778,7 @@ func awsAwsjson11_deserializeDocumentEmailMfaConfigType(v **types.EmailMfaConfig } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -16744,6 +16818,7 @@ func awsAwsjson11_deserializeDocumentEnableSoftwareTokenMFAException(v **types.E } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16783,6 +16858,7 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.City = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -16791,6 +16867,7 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.Country = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -16799,6 +16876,7 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.DeviceName = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -16807,6 +16885,7 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.IpAddress = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -16815,6 +16894,7 @@ func awsAwsjson11_deserializeDocumentEventContextDataType(v **types.EventContext } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -16861,6 +16941,7 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } } + case "FeedbackValue": if value != nil { jtv, ok := value.(string) @@ -16869,6 +16950,7 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } sv.FeedbackValue = types.FeedbackValueType(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -16877,6 +16959,7 @@ func awsAwsjson11_deserializeDocumentEventFeedbackType(v **types.EventFeedbackTy } sv.Provider = ptr.String(jtv) } + default: _, _ = key, value @@ -16952,6 +17035,7 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.CompromisedCredentialsDetected = ptr.Bool(jtv) } + case "RiskDecision": if value != nil { jtv, ok := value.(string) @@ -16960,6 +17044,7 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.RiskDecision = types.RiskDecisionType(jtv) } + case "RiskLevel": if value != nil { jtv, ok := value.(string) @@ -16968,6 +17053,7 @@ func awsAwsjson11_deserializeDocumentEventRiskType(v **types.EventRiskType, valu } sv.RiskLevel = types.RiskLevelType(jtv) } + default: _, _ = key, value @@ -17007,6 +17093,7 @@ func awsAwsjson11_deserializeDocumentExpiredCodeException(v **types.ExpiredCodeE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17082,6 +17169,7 @@ func awsAwsjson11_deserializeDocumentFirehoseConfigurationType(v **types.Firehos } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17121,6 +17209,7 @@ func awsAwsjson11_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17160,6 +17249,7 @@ func awsAwsjson11_deserializeDocumentGroupExistsException(v **types.GroupExistsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17240,6 +17330,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17248,6 +17339,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.Description = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -17256,6 +17348,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.GroupName = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17271,6 +17364,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } } + case "Precedence": if value != nil { jtv, ok := value.(json.Number) @@ -17283,6 +17377,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.Precedence = ptr.Int32(int32(i64)) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17291,6 +17386,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.RoleArn = ptr.String(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -17299,6 +17395,7 @@ func awsAwsjson11_deserializeDocumentGroupType(v **types.GroupType, value interf } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -17334,6 +17431,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv if err := awsAwsjson11_deserializeDocumentAttributeMappingType(&sv.AttributeMapping, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -17349,10 +17447,12 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } } + case "IdpIdentifiers": if err := awsAwsjson11_deserializeDocumentIdpIdentifiersListType(&sv.IdpIdentifiers, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17368,10 +17468,12 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } } + case "ProviderDetails": if err := awsAwsjson11_deserializeDocumentProviderDetailsType(&sv.ProviderDetails, value); err != nil { return err } + case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -17380,6 +17482,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.ProviderName = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -17388,6 +17491,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.ProviderType = types.IdentityProviderTypeType(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -17396,6 +17500,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderType(v **types.IdentityProv } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -17471,6 +17576,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17510,6 +17616,7 @@ func awsAwsjson11_deserializeDocumentInvalidEmailRoleAccessPolicyException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17549,6 +17656,7 @@ func awsAwsjson11_deserializeDocumentInvalidLambdaResponseException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17588,6 +17696,7 @@ func awsAwsjson11_deserializeDocumentInvalidOAuthFlowException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17627,6 +17736,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17666,6 +17776,7 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17705,6 +17816,7 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleAccessPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17744,6 +17856,7 @@ func awsAwsjson11_deserializeDocumentInvalidSmsRoleTrustRelationshipException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17783,6 +17896,7 @@ func awsAwsjson11_deserializeDocumentInvalidUserPoolConfigurationException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17822,10 +17936,12 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.CreateAuthChallenge = ptr.String(jtv) } + case "CustomEmailSender": if err := awsAwsjson11_deserializeDocumentCustomEmailLambdaVersionConfigType(&sv.CustomEmailSender, value); err != nil { return err } + case "CustomMessage": if value != nil { jtv, ok := value.(string) @@ -17834,10 +17950,12 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.CustomMessage = ptr.String(jtv) } + case "CustomSMSSender": if err := awsAwsjson11_deserializeDocumentCustomSMSLambdaVersionConfigType(&sv.CustomSMSSender, value); err != nil { return err } + case "DefineAuthChallenge": if value != nil { jtv, ok := value.(string) @@ -17846,6 +17964,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.DefineAuthChallenge = ptr.String(jtv) } + case "KMSKeyID": if value != nil { jtv, ok := value.(string) @@ -17854,6 +17973,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.KMSKeyID = ptr.String(jtv) } + case "PostAuthentication": if value != nil { jtv, ok := value.(string) @@ -17862,6 +17982,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PostAuthentication = ptr.String(jtv) } + case "PostConfirmation": if value != nil { jtv, ok := value.(string) @@ -17870,6 +17991,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PostConfirmation = ptr.String(jtv) } + case "PreAuthentication": if value != nil { jtv, ok := value.(string) @@ -17878,6 +18000,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreAuthentication = ptr.String(jtv) } + case "PreSignUp": if value != nil { jtv, ok := value.(string) @@ -17886,6 +18009,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreSignUp = ptr.String(jtv) } + case "PreTokenGeneration": if value != nil { jtv, ok := value.(string) @@ -17894,10 +18018,12 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.PreTokenGeneration = ptr.String(jtv) } + case "PreTokenGenerationConfig": if err := awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(&sv.PreTokenGenerationConfig, value); err != nil { return err } + case "UserMigration": if value != nil { jtv, ok := value.(string) @@ -17906,6 +18032,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.UserMigration = ptr.String(jtv) } + case "VerifyAuthChallengeResponse": if value != nil { jtv, ok := value.(string) @@ -17914,6 +18041,7 @@ func awsAwsjson11_deserializeDocumentLambdaConfigType(v **types.LambdaConfigType } sv.VerifyAuthChallengeResponse = ptr.String(jtv) } + default: _, _ = key, value @@ -17953,6 +18081,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18058,6 +18187,7 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfigurationType(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } + case "EventSource": if value != nil { jtv, ok := value.(string) @@ -18066,10 +18196,12 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura } sv.EventSource = types.EventSourceName(jtv) } + case "FirehoseConfiguration": if err := awsAwsjson11_deserializeDocumentFirehoseConfigurationType(&sv.FirehoseConfiguration, value); err != nil { return err } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -18078,10 +18210,12 @@ func awsAwsjson11_deserializeDocumentLogConfigurationType(v **types.LogConfigura } sv.LogLevel = types.LogLevel(jtv) } + case "S3Configuration": if err := awsAwsjson11_deserializeDocumentS3ConfigurationType(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -18117,6 +18251,7 @@ func awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(v **types.LogD if err := awsAwsjson11_deserializeDocumentLogConfigurationListType(&sv.LogConfigurations, value); err != nil { return err } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -18125,6 +18260,7 @@ func awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(v **types.LogD } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -18200,6 +18336,7 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.EmailMessage = ptr.String(jtv) } + case "EmailSubject": if value != nil { jtv, ok := value.(string) @@ -18208,6 +18345,7 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.EmailSubject = ptr.String(jtv) } + case "SMSMessage": if value != nil { jtv, ok := value.(string) @@ -18216,6 +18354,7 @@ func awsAwsjson11_deserializeDocumentMessageTemplateType(v **types.MessageTempla } sv.SMSMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18255,6 +18394,7 @@ func awsAwsjson11_deserializeDocumentMFAMethodNotFoundException(v **types.MFAMet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18328,6 +18468,7 @@ func awsAwsjson11_deserializeDocumentMFAOptionType(v **types.MFAOptionType, valu } sv.AttributeName = ptr.String(jtv) } + case "DeliveryMedium": if value != nil { jtv, ok := value.(string) @@ -18336,6 +18477,7 @@ func awsAwsjson11_deserializeDocumentMFAOptionType(v **types.MFAOptionType, valu } sv.DeliveryMedium = types.DeliveryMediumType(jtv) } + default: _, _ = key, value @@ -18375,6 +18517,7 @@ func awsAwsjson11_deserializeDocumentNewDeviceMetadataType(v **types.NewDeviceMe } sv.DeviceGroupKey = ptr.String(jtv) } + case "DeviceKey": if value != nil { jtv, ok := value.(string) @@ -18383,6 +18526,7 @@ func awsAwsjson11_deserializeDocumentNewDeviceMetadataType(v **types.NewDeviceMe } sv.DeviceKey = ptr.String(jtv) } + default: _, _ = key, value @@ -18422,6 +18566,7 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18457,6 +18602,7 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.BlockEmail, value); err != nil { return err } + case "From": if value != nil { jtv, ok := value.(string) @@ -18465,14 +18611,17 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.From = ptr.String(jtv) } + case "MfaEmail": if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.MfaEmail, value); err != nil { return err } + case "NoActionEmail": if err := awsAwsjson11_deserializeDocumentNotifyEmailType(&sv.NoActionEmail, value); err != nil { return err } + case "ReplyTo": if value != nil { jtv, ok := value.(string) @@ -18481,6 +18630,7 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.ReplyTo = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -18489,6 +18639,7 @@ func awsAwsjson11_deserializeDocumentNotifyConfigurationType(v **types.NotifyCon } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18528,6 +18679,7 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.HtmlBody = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -18536,6 +18688,7 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.Subject = ptr.String(jtv) } + case "TextBody": if value != nil { jtv, ok := value.(string) @@ -18544,6 +18697,7 @@ func awsAwsjson11_deserializeDocumentNotifyEmailType(v **types.NotifyEmailType, } sv.TextBody = ptr.String(jtv) } + default: _, _ = key, value @@ -18583,6 +18737,7 @@ func awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(v **types.Nu } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -18591,6 +18746,7 @@ func awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(v **types.Nu } sv.MinValue = ptr.String(jtv) } + default: _, _ = key, value @@ -18666,6 +18822,7 @@ func awsAwsjson11_deserializeDocumentPasswordHistoryPolicyViolationException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18709,6 +18866,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.MinimumLength = ptr.Int32(int32(i64)) } + case "PasswordHistorySize": if value != nil { jtv, ok := value.(json.Number) @@ -18721,6 +18879,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.PasswordHistorySize = ptr.Int32(int32(i64)) } + case "RequireLowercase": if value != nil { jtv, ok := value.(bool) @@ -18729,6 +18888,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireLowercase = jtv } + case "RequireNumbers": if value != nil { jtv, ok := value.(bool) @@ -18737,6 +18897,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireNumbers = jtv } + case "RequireSymbols": if value != nil { jtv, ok := value.(bool) @@ -18745,6 +18906,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireSymbols = jtv } + case "RequireUppercase": if value != nil { jtv, ok := value.(bool) @@ -18753,6 +18915,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.RequireUppercase = jtv } + case "TemporaryPasswordValidityDays": if value != nil { jtv, ok := value.(json.Number) @@ -18765,6 +18928,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy } sv.TemporaryPasswordValidityDays = int32(i64) } + default: _, _ = key, value @@ -18804,6 +18968,7 @@ func awsAwsjson11_deserializeDocumentPasswordResetRequiredException(v **types.Pa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18843,6 +19008,7 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18882,6 +19048,7 @@ func awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(v **typ } sv.LambdaArn = ptr.String(jtv) } + case "LambdaVersion": if value != nil { jtv, ok := value.(string) @@ -18890,6 +19057,7 @@ func awsAwsjson11_deserializeDocumentPreTokenGenerationVersionConfigType(v **typ } sv.LambdaVersion = types.PreTokenGenerationLambdaVersionType(jtv) } + default: _, _ = key, value @@ -18936,6 +19104,7 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -18951,6 +19120,7 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } } + case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -18959,6 +19129,7 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } sv.ProviderName = ptr.String(jtv) } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -18967,6 +19138,7 @@ func awsAwsjson11_deserializeDocumentProviderDescription(v **types.ProviderDescr } sv.ProviderType = types.IdentityProviderTypeType(jtv) } + default: _, _ = key, value @@ -19110,6 +19282,7 @@ func awsAwsjson11_deserializeDocumentRecoveryOptionType(v **types.RecoveryOption } sv.Name = types.RecoveryOptionNameType(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -19122,6 +19295,7 @@ func awsAwsjson11_deserializeDocumentRecoveryOptionType(v **types.RecoveryOption } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19161,6 +19335,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19234,6 +19409,7 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeType(v **types.ResourceS } sv.ScopeDescription = ptr.String(jtv) } + case "ScopeName": if value != nil { jtv, ok := value.(string) @@ -19242,6 +19418,7 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeType(v **types.ResourceS } sv.ScopeName = ptr.String(jtv) } + default: _, _ = key, value @@ -19315,6 +19492,7 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.Identifier = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19323,10 +19501,12 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.Name = ptr.String(jtv) } + case "Scopes": if err := awsAwsjson11_deserializeDocumentResourceServerScopeListType(&sv.Scopes, value); err != nil { return err } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -19335,6 +19515,7 @@ func awsAwsjson11_deserializeDocumentResourceServerType(v **types.ResourceServer } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -19370,6 +19551,7 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu if err := awsAwsjson11_deserializeDocumentAccountTakeoverRiskConfigurationType(&sv.AccountTakeoverRiskConfiguration, value); err != nil { return err } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -19378,10 +19560,12 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } sv.ClientId = ptr.String(jtv) } + case "CompromisedCredentialsRiskConfiguration": if err := awsAwsjson11_deserializeDocumentCompromisedCredentialsRiskConfigurationType(&sv.CompromisedCredentialsRiskConfiguration, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -19397,10 +19581,12 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } } + case "RiskExceptionConfiguration": if err := awsAwsjson11_deserializeDocumentRiskExceptionConfigurationType(&sv.RiskExceptionConfiguration, value); err != nil { return err } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -19409,6 +19595,7 @@ func awsAwsjson11_deserializeDocumentRiskConfigurationType(v **types.RiskConfigu } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -19444,10 +19631,12 @@ func awsAwsjson11_deserializeDocumentRiskExceptionConfigurationType(v **types.Ri if err := awsAwsjson11_deserializeDocumentBlockedIPRangeListType(&sv.BlockedIPRangeList, value); err != nil { return err } + case "SkippedIPRangeList": if err := awsAwsjson11_deserializeDocumentSkippedIPRangeListType(&sv.SkippedIPRangeList, value); err != nil { return err } + default: _, _ = key, value @@ -19487,6 +19676,7 @@ func awsAwsjson11_deserializeDocumentS3ConfigurationType(v **types.S3Configurati } sv.BucketArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19560,6 +19750,7 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.AttributeDataType = types.AttributeDataType(jtv) } + case "DeveloperOnlyAttribute": if value != nil { jtv, ok := value.(bool) @@ -19568,6 +19759,7 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.DeveloperOnlyAttribute = ptr.Bool(jtv) } + case "Mutable": if value != nil { jtv, ok := value.(bool) @@ -19576,6 +19768,7 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Mutable = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19584,10 +19777,12 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Name = ptr.String(jtv) } + case "NumberAttributeConstraints": if err := awsAwsjson11_deserializeDocumentNumberAttributeConstraintsType(&sv.NumberAttributeConstraints, value); err != nil { return err } + case "Required": if value != nil { jtv, ok := value.(bool) @@ -19596,10 +19791,12 @@ func awsAwsjson11_deserializeDocumentSchemaAttributeType(v **types.SchemaAttribu } sv.Required = ptr.Bool(jtv) } + case "StringAttributeConstraints": if err := awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(&sv.StringAttributeConstraints, value); err != nil { return err } + default: _, _ = key, value @@ -19639,6 +19836,7 @@ func awsAwsjson11_deserializeDocumentScopeDoesNotExistException(v **types.ScopeD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19750,6 +19948,7 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.ExternalId = ptr.String(jtv) } + case "SnsCallerArn": if value != nil { jtv, ok := value.(string) @@ -19758,6 +19957,7 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.SnsCallerArn = ptr.String(jtv) } + case "SnsRegion": if value != nil { jtv, ok := value.(string) @@ -19766,6 +19966,7 @@ func awsAwsjson11_deserializeDocumentSmsConfigurationType(v **types.SmsConfigura } sv.SnsRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -19805,10 +20006,12 @@ func awsAwsjson11_deserializeDocumentSmsMfaConfigType(v **types.SmsMfaConfigType } sv.SmsAuthenticationMessage = ptr.String(jtv) } + case "SmsConfiguration": if err := awsAwsjson11_deserializeDocumentSmsConfigurationType(&sv.SmsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19848,6 +20051,7 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(v **types.Softwa } sv.Enabled = jtv } + default: _, _ = key, value @@ -19887,6 +20091,7 @@ func awsAwsjson11_deserializeDocumentSoftwareTokenMFANotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19926,6 +20131,7 @@ func awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(v **types.St } sv.MaxLength = ptr.String(jtv) } + case "MinLength": if value != nil { jtv, ok := value.(string) @@ -19934,6 +20140,7 @@ func awsAwsjson11_deserializeDocumentStringAttributeConstraintsType(v **types.St } sv.MinLength = ptr.String(jtv) } + default: _, _ = key, value @@ -20009,6 +20216,7 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.AccessToken = types.TimeUnitsType(jtv) } + case "IdToken": if value != nil { jtv, ok := value.(string) @@ -20017,6 +20225,7 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.IdToken = types.TimeUnitsType(jtv) } + case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -20025,6 +20234,7 @@ func awsAwsjson11_deserializeDocumentTokenValidityUnitsType(v **types.TokenValid } sv.RefreshToken = types.TimeUnitsType(jtv) } + default: _, _ = key, value @@ -20064,6 +20274,7 @@ func awsAwsjson11_deserializeDocumentTooManyFailedAttemptsException(v **types.To } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20103,6 +20314,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20142,6 +20354,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.ClientId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20157,6 +20370,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } } + case "CSS": if value != nil { jtv, ok := value.(string) @@ -20165,6 +20379,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.CSS = ptr.String(jtv) } + case "CSSVersion": if value != nil { jtv, ok := value.(string) @@ -20173,6 +20388,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.CSSVersion = ptr.String(jtv) } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -20181,6 +20397,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.ImageUrl = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20196,6 +20413,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -20204,6 +20422,7 @@ func awsAwsjson11_deserializeDocumentUICustomizationType(v **types.UICustomizati } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -20243,6 +20462,7 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20282,6 +20502,7 @@ func awsAwsjson11_deserializeDocumentUnexpectedLambdaException(v **types.Unexpec } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20321,6 +20542,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedIdentityProviderException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20360,6 +20582,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20399,6 +20622,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedTokenTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20438,6 +20662,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20473,6 +20698,7 @@ func awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(v **types.U if err := awsAwsjson11_deserializeDocumentAttributesRequireVerificationBeforeUpdateType(&sv.AttributesRequireVerificationBeforeUpdate, value); err != nil { return err } + default: _, _ = key, value @@ -20512,6 +20738,7 @@ func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.Use } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20585,6 +20812,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -20600,6 +20828,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } + case "CompletionMessage": if value != nil { jtv, ok := value.(string) @@ -20608,6 +20837,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.CompletionMessage = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -20623,6 +20853,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } + case "FailedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -20635,6 +20866,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.FailedUsers = i64 } + case "ImportedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -20647,6 +20879,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.ImportedUsers = i64 } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -20655,6 +20888,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -20663,6 +20897,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.JobName = ptr.String(jtv) } + case "PreSignedUrl": if value != nil { jtv, ok := value.(string) @@ -20671,6 +20906,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.PreSignedUrl = ptr.String(jtv) } + case "SkippedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -20683,6 +20919,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.SkippedUsers = i64 } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -20698,6 +20935,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20706,6 +20944,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.Status = types.UserImportJobStatusType(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -20714,6 +20953,7 @@ func awsAwsjson11_deserializeDocumentUserImportJobType(v **types.UserImportJobTy } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -20753,6 +20993,7 @@ func awsAwsjson11_deserializeDocumentUserLambdaValidationException(v **types.Use } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20864,6 +21105,7 @@ func awsAwsjson11_deserializeDocumentUsernameConfigurationType(v **types.Usernam } sv.CaseSensitive = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20903,6 +21145,7 @@ func awsAwsjson11_deserializeDocumentUsernameExistsException(v **types.UsernameE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20942,6 +21185,7 @@ func awsAwsjson11_deserializeDocumentUserNotConfirmedException(v **types.UserNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20981,6 +21225,7 @@ func awsAwsjson11_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21020,6 +21265,7 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnNotEnabledException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21055,6 +21301,7 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnsType(v **types.UserPoolAddOns if err := awsAwsjson11_deserializeDocumentAdvancedSecurityAdditionalFlowsType(&sv.AdvancedSecurityAdditionalFlows, value); err != nil { return err } + case "AdvancedSecurityMode": if value != nil { jtv, ok := value.(string) @@ -21063,6 +21310,7 @@ func awsAwsjson11_deserializeDocumentUserPoolAddOnsType(v **types.UserPoolAddOns } sv.AdvancedSecurityMode = types.AdvancedSecurityModeType(jtv) } + default: _, _ = key, value @@ -21102,6 +21350,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.ClientId = ptr.String(jtv) } + case "ClientName": if value != nil { jtv, ok := value.(string) @@ -21110,6 +21359,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.ClientName = ptr.String(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -21118,6 +21368,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientDescription(v **types.UserPoo } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -21195,10 +21446,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AccessTokenValidity = ptr.Int32(int32(i64)) } + case "AllowedOAuthFlows": if err := awsAwsjson11_deserializeDocumentOAuthFlowsType(&sv.AllowedOAuthFlows, value); err != nil { return err } + case "AllowedOAuthFlowsUserPoolClient": if value != nil { jtv, ok := value.(bool) @@ -21207,14 +21460,17 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AllowedOAuthFlowsUserPoolClient = ptr.Bool(jtv) } + case "AllowedOAuthScopes": if err := awsAwsjson11_deserializeDocumentScopeListType(&sv.AllowedOAuthScopes, value); err != nil { return err } + case "AnalyticsConfiguration": if err := awsAwsjson11_deserializeDocumentAnalyticsConfigurationType(&sv.AnalyticsConfiguration, value); err != nil { return err } + case "AuthSessionValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21227,10 +21483,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.AuthSessionValidity = ptr.Int32(int32(i64)) } + case "CallbackURLs": if err := awsAwsjson11_deserializeDocumentCallbackURLsListType(&sv.CallbackURLs, value); err != nil { return err } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -21239,6 +21497,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientId = ptr.String(jtv) } + case "ClientName": if value != nil { jtv, ok := value.(string) @@ -21247,6 +21506,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientName = ptr.String(jtv) } + case "ClientSecret": if value != nil { jtv, ok := value.(string) @@ -21255,6 +21515,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.ClientSecret = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -21270,6 +21531,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } } + case "DefaultRedirectURI": if value != nil { jtv, ok := value.(string) @@ -21278,6 +21540,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.DefaultRedirectURI = ptr.String(jtv) } + case "EnablePropagateAdditionalUserContextData": if value != nil { jtv, ok := value.(bool) @@ -21286,6 +21549,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.EnablePropagateAdditionalUserContextData = ptr.Bool(jtv) } + case "EnableTokenRevocation": if value != nil { jtv, ok := value.(bool) @@ -21294,10 +21558,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.EnableTokenRevocation = ptr.Bool(jtv) } + case "ExplicitAuthFlows": if err := awsAwsjson11_deserializeDocumentExplicitAuthFlowsListType(&sv.ExplicitAuthFlows, value); err != nil { return err } + case "IdTokenValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21310,6 +21576,7 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.IdTokenValidity = ptr.Int32(int32(i64)) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21325,10 +21592,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } } + case "LogoutURLs": if err := awsAwsjson11_deserializeDocumentLogoutURLsListType(&sv.LogoutURLs, value); err != nil { return err } + case "PreventUserExistenceErrors": if value != nil { jtv, ok := value.(string) @@ -21337,10 +21606,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.PreventUserExistenceErrors = types.PreventUserExistenceErrorTypes(jtv) } + case "ReadAttributes": if err := awsAwsjson11_deserializeDocumentClientPermissionListType(&sv.ReadAttributes, value); err != nil { return err } + case "RefreshTokenValidity": if value != nil { jtv, ok := value.(json.Number) @@ -21353,14 +21624,17 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.RefreshTokenValidity = int32(i64) } + case "SupportedIdentityProviders": if err := awsAwsjson11_deserializeDocumentSupportedIdentityProvidersListType(&sv.SupportedIdentityProviders, value); err != nil { return err } + case "TokenValidityUnits": if err := awsAwsjson11_deserializeDocumentTokenValidityUnitsType(&sv.TokenValidityUnits, value); err != nil { return err } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -21369,10 +21643,12 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient } sv.UserPoolId = ptr.String(jtv) } + case "WriteAttributes": if err := awsAwsjson11_deserializeDocumentClientPermissionListType(&sv.WriteAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -21419,6 +21695,7 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21427,10 +21704,12 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Id = ptr.String(jtv) } + case "LambdaConfig": if err := awsAwsjson11_deserializeDocumentLambdaConfigType(&sv.LambdaConfig, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21446,6 +21725,7 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21454,6 +21734,7 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21462,6 +21743,7 @@ func awsAwsjson11_deserializeDocumentUserPoolDescriptionType(v **types.UserPoolD } sv.Status = types.StatusType(jtv) } + default: _, _ = key, value @@ -21531,6 +21813,7 @@ func awsAwsjson11_deserializeDocumentUserPoolPolicyType(v **types.UserPoolPolicy if err := awsAwsjson11_deserializeDocumentPasswordPolicyType(&sv.PasswordPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -21570,6 +21853,7 @@ func awsAwsjson11_deserializeDocumentUserPoolTaggingException(v **types.UserPool } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21641,14 +21925,17 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value if err := awsAwsjson11_deserializeDocumentAccountRecoverySettingType(&sv.AccountRecoverySetting, value); err != nil { return err } + case "AdminCreateUserConfig": if err := awsAwsjson11_deserializeDocumentAdminCreateUserConfigType(&sv.AdminCreateUserConfig, value); err != nil { return err } + case "AliasAttributes": if err := awsAwsjson11_deserializeDocumentAliasAttributesListType(&sv.AliasAttributes, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -21657,10 +21944,12 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Arn = ptr.String(jtv) } + case "AutoVerifiedAttributes": if err := awsAwsjson11_deserializeDocumentVerifiedAttributesListType(&sv.AutoVerifiedAttributes, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -21676,6 +21965,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } } + case "CustomDomain": if value != nil { jtv, ok := value.(string) @@ -21684,6 +21974,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.CustomDomain = ptr.String(jtv) } + case "DeletionProtection": if value != nil { jtv, ok := value.(string) @@ -21692,10 +21983,12 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.DeletionProtection = types.DeletionProtectionType(jtv) } + case "DeviceConfiguration": if err := awsAwsjson11_deserializeDocumentDeviceConfigurationType(&sv.DeviceConfiguration, value); err != nil { return err } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -21704,10 +21997,12 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Domain = ptr.String(jtv) } + case "EmailConfiguration": if err := awsAwsjson11_deserializeDocumentEmailConfigurationType(&sv.EmailConfiguration, value); err != nil { return err } + case "EmailConfigurationFailure": if value != nil { jtv, ok := value.(string) @@ -21716,6 +22011,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailConfigurationFailure = ptr.String(jtv) } + case "EmailVerificationMessage": if value != nil { jtv, ok := value.(string) @@ -21724,6 +22020,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailVerificationMessage = ptr.String(jtv) } + case "EmailVerificationSubject": if value != nil { jtv, ok := value.(string) @@ -21732,6 +22029,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EmailVerificationSubject = ptr.String(jtv) } + case "EstimatedNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -21744,6 +22042,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.EstimatedNumberOfUsers = int32(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21752,10 +22051,12 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Id = ptr.String(jtv) } + case "LambdaConfig": if err := awsAwsjson11_deserializeDocumentLambdaConfigType(&sv.LambdaConfig, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21771,6 +22072,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } } + case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -21779,6 +22081,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21787,14 +22090,17 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Name = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentUserPoolPolicyType(&sv.Policies, value); err != nil { return err } + case "SchemaAttributes": if err := awsAwsjson11_deserializeDocumentSchemaAttributesListType(&sv.SchemaAttributes, value); err != nil { return err } + case "SmsAuthenticationMessage": if value != nil { jtv, ok := value.(string) @@ -21803,10 +22109,12 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsAuthenticationMessage = ptr.String(jtv) } + case "SmsConfiguration": if err := awsAwsjson11_deserializeDocumentSmsConfigurationType(&sv.SmsConfiguration, value); err != nil { return err } + case "SmsConfigurationFailure": if value != nil { jtv, ok := value.(string) @@ -21815,6 +22123,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsConfigurationFailure = ptr.String(jtv) } + case "SmsVerificationMessage": if value != nil { jtv, ok := value.(string) @@ -21823,6 +22132,7 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.SmsVerificationMessage = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21831,30 +22141,37 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value } sv.Status = types.StatusType(jtv) } + case "UserAttributeUpdateSettings": if err := awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(&sv.UserAttributeUpdateSettings, value); err != nil { return err } + case "UsernameAttributes": if err := awsAwsjson11_deserializeDocumentUsernameAttributesListType(&sv.UsernameAttributes, value); err != nil { return err } + case "UsernameConfiguration": if err := awsAwsjson11_deserializeDocumentUsernameConfigurationType(&sv.UsernameConfiguration, value); err != nil { return err } + case "UserPoolAddOns": if err := awsAwsjson11_deserializeDocumentUserPoolAddOnsType(&sv.UserPoolAddOns, value); err != nil { return err } + case "UserPoolTags": if err := awsAwsjson11_deserializeDocumentUserPoolTagsType(&sv.UserPoolTags, value); err != nil { return err } + case "VerificationMessageTemplate": if err := awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(&sv.VerificationMessageTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -21924,6 +22241,7 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.Attributes, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21932,10 +22250,12 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.Enabled = jtv } + case "MFAOptions": if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } + case "UserCreateDate": if value != nil { switch jtv := value.(type) { @@ -21951,6 +22271,7 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } } + case "UserLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21966,6 +22287,7 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } } + case "Username": if value != nil { jtv, ok := value.(string) @@ -21974,6 +22296,7 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.Username = ptr.String(jtv) } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -21982,6 +22305,7 @@ func awsAwsjson11_deserializeDocumentUserType(v **types.UserType, value interfac } sv.UserStatus = types.UserStatusType(jtv) } + default: _, _ = key, value @@ -22021,6 +22345,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.DefaultEmailOption = types.DefaultEmailOptionType(jtv) } + case "EmailMessage": if value != nil { jtv, ok := value.(string) @@ -22029,6 +22354,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailMessage = ptr.String(jtv) } + case "EmailMessageByLink": if value != nil { jtv, ok := value.(string) @@ -22037,6 +22363,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailMessageByLink = ptr.String(jtv) } + case "EmailSubject": if value != nil { jtv, ok := value.(string) @@ -22045,6 +22372,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailSubject = ptr.String(jtv) } + case "EmailSubjectByLink": if value != nil { jtv, ok := value.(string) @@ -22053,6 +22381,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.EmailSubjectByLink = ptr.String(jtv) } + case "SmsMessage": if value != nil { jtv, ok := value.(string) @@ -22061,6 +22390,7 @@ func awsAwsjson11_deserializeDocumentVerificationMessageTemplateType(v **types.V } sv.SmsMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -22194,6 +22524,7 @@ func awsAwsjson11_deserializeOpDocumentAdminCreateUserOutput(v **AdminCreateUser if err := awsAwsjson11_deserializeDocumentUserType(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -22353,6 +22684,7 @@ func awsAwsjson11_deserializeOpDocumentAdminGetDeviceOutput(v **AdminGetDeviceOu if err := awsAwsjson11_deserializeDocumentDeviceType(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -22392,10 +22724,12 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.Enabled = jtv } + case "MFAOptions": if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } + case "PreferredMfaSetting": if value != nil { jtv, ok := value.(string) @@ -22404,10 +22738,12 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.PreferredMfaSetting = ptr.String(jtv) } + case "UserAttributes": if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.UserAttributes, value); err != nil { return err } + case "UserCreateDate": if value != nil { switch jtv := value.(type) { @@ -22423,6 +22759,7 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } } + case "UserLastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -22438,10 +22775,12 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } } + case "UserMFASettingList": if err := awsAwsjson11_deserializeDocumentUserMFASettingListType(&sv.UserMFASettingList, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -22450,6 +22789,7 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.Username = ptr.String(jtv) } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -22458,6 +22798,7 @@ func awsAwsjson11_deserializeOpDocumentAdminGetUserOutput(v **AdminGetUserOutput } sv.UserStatus = types.UserStatusType(jtv) } + default: _, _ = key, value @@ -22493,6 +22834,7 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } + case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -22501,10 +22843,12 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate } sv.ChallengeName = types.ChallengeNameType(jtv) } + case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } + case "Session": if value != nil { jtv, ok := value.(string) @@ -22513,6 +22857,7 @@ func awsAwsjson11_deserializeOpDocumentAdminInitiateAuthOutput(v **AdminInitiate } sv.Session = ptr.String(jtv) } + default: _, _ = key, value @@ -22579,6 +22924,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListDevicesOutput(v **AdminListDevic if err := awsAwsjson11_deserializeDocumentDeviceListType(&sv.Devices, value); err != nil { return err } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -22587,6 +22933,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListDevicesOutput(v **AdminListDevic } sv.PaginationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22622,6 +22969,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListGroupsForUserOutput(v **AdminLis if err := awsAwsjson11_deserializeDocumentGroupListType(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22630,6 +22978,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListGroupsForUserOutput(v **AdminLis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22665,6 +23014,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListUserAuthEventsOutput(v **AdminLi if err := awsAwsjson11_deserializeDocumentAuthEventsType(&sv.AuthEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22673,6 +23023,7 @@ func awsAwsjson11_deserializeOpDocumentAdminListUserAuthEventsOutput(v **AdminLi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22739,6 +23090,7 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } + case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -22747,10 +23099,12 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm } sv.ChallengeName = types.ChallengeNameType(jtv) } + case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } + case "Session": if value != nil { jtv, ok := value.(string) @@ -22759,6 +23113,7 @@ func awsAwsjson11_deserializeOpDocumentAdminRespondToAuthChallengeOutput(v **Adm } sv.Session = ptr.String(jtv) } + default: _, _ = key, value @@ -23015,6 +23370,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateSoftwareTokenOutput(v **Associat } sv.SecretCode = ptr.String(jtv) } + case "Session": if value != nil { jtv, ok := value.(string) @@ -23023,6 +23379,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateSoftwareTokenOutput(v **Associat } sv.Session = ptr.String(jtv) } + default: _, _ = key, value @@ -23093,6 +23450,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmDeviceOutput(v **ConfirmDeviceOutp } sv.UserConfirmationNecessary = jtv } + default: _, _ = key, value @@ -23190,6 +23548,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -23225,6 +23584,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityProviderOutput(v **CreateId if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -23260,6 +23620,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceServerOutput(v **CreateReso if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -23295,6 +23656,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserImportJobOutput(v **CreateUserI if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -23330,6 +23692,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolClientOutput(v **CreateUser if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } + default: _, _ = key, value @@ -23369,6 +23732,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolDomainOutput(v **CreateUser } sv.CloudFrontDomain = ptr.String(jtv) } + default: _, _ = key, value @@ -23404,6 +23768,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserPoolOutput(v **CreateUserPoolOu if err := awsAwsjson11_deserializeDocumentUserPoolType(&sv.UserPool, value); err != nil { return err } + default: _, _ = key, value @@ -23501,6 +23866,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityProviderOutput(v **Descri if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -23536,6 +23902,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceServerOutput(v **Describe if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -23571,6 +23938,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRiskConfigurationOutput(v **Descr if err := awsAwsjson11_deserializeDocumentRiskConfigurationType(&sv.RiskConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23606,6 +23974,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserImportJobOutput(v **DescribeU if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -23641,6 +24010,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolClientOutput(v **Describe if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } + default: _, _ = key, value @@ -23676,6 +24046,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolDomainOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDomainDescriptionType(&sv.DomainDescription, value); err != nil { return err } + default: _, _ = key, value @@ -23711,6 +24082,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserPoolOutput(v **DescribeUserPo if err := awsAwsjson11_deserializeDocumentUserPoolType(&sv.UserPool, value); err != nil { return err } + default: _, _ = key, value @@ -23746,6 +24118,7 @@ func awsAwsjson11_deserializeOpDocumentForgotPasswordOutput(v **ForgotPasswordOu if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } + default: _, _ = key, value @@ -23781,6 +24154,7 @@ func awsAwsjson11_deserializeOpDocumentGetCSVHeaderOutput(v **GetCSVHeaderOutput if err := awsAwsjson11_deserializeDocumentListOfStringTypes(&sv.CSVHeader, value); err != nil { return err } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -23789,6 +24163,7 @@ func awsAwsjson11_deserializeOpDocumentGetCSVHeaderOutput(v **GetCSVHeaderOutput } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -23824,6 +24199,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsAwsjson11_deserializeDocumentDeviceType(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -23859,6 +24235,7 @@ func awsAwsjson11_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -23894,6 +24271,7 @@ func awsAwsjson11_deserializeOpDocumentGetIdentityProviderByIdentifierOutput(v * if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -23929,6 +24307,7 @@ func awsAwsjson11_deserializeOpDocumentGetLogDeliveryConfigurationOutput(v **Get if err := awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(&sv.LogDeliveryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23968,6 +24347,7 @@ func awsAwsjson11_deserializeOpDocumentGetSigningCertificateOutput(v **GetSignin } sv.Certificate = ptr.String(jtv) } + default: _, _ = key, value @@ -24003,6 +24383,7 @@ func awsAwsjson11_deserializeOpDocumentGetUICustomizationOutput(v **GetUICustomi if err := awsAwsjson11_deserializeDocumentUICustomizationType(&sv.UICustomization, value); err != nil { return err } + default: _, _ = key, value @@ -24038,6 +24419,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserAttributeVerificationCodeOutput(v if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } + default: _, _ = key, value @@ -24073,6 +24455,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsAwsjson11_deserializeDocumentMFAOptionListType(&sv.MFAOptions, value); err != nil { return err } + case "PreferredMfaSetting": if value != nil { jtv, ok := value.(string) @@ -24081,14 +24464,17 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.PreferredMfaSetting = ptr.String(jtv) } + case "UserAttributes": if err := awsAwsjson11_deserializeDocumentAttributeListType(&sv.UserAttributes, value); err != nil { return err } + case "UserMFASettingList": if err := awsAwsjson11_deserializeDocumentUserMFASettingListType(&sv.UserMFASettingList, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -24097,6 +24483,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -24132,6 +24519,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserPoolMfaConfigOutput(v **GetUserPoo if err := awsAwsjson11_deserializeDocumentEmailMfaConfigType(&sv.EmailMfaConfiguration, value); err != nil { return err } + case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -24140,14 +24528,17 @@ func awsAwsjson11_deserializeOpDocumentGetUserPoolMfaConfigOutput(v **GetUserPoo } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } + case "SmsMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSmsMfaConfigType(&sv.SmsMfaConfiguration, value); err != nil { return err } + case "SoftwareTokenMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(&sv.SoftwareTokenMfaConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -24214,6 +24605,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } + case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -24222,10 +24614,12 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput } sv.ChallengeName = types.ChallengeNameType(jtv) } + case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } + case "Session": if value != nil { jtv, ok := value.(string) @@ -24234,6 +24628,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateAuthOutput(v **InitiateAuthOutput } sv.Session = ptr.String(jtv) } + default: _, _ = key, value @@ -24269,6 +24664,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDeviceListType(&sv.Devices, value); err != nil { return err } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -24277,6 +24673,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.PaginationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24312,6 +24709,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroupListType(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24320,6 +24718,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24359,10 +24758,12 @@ func awsAwsjson11_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } + case "Providers": if err := awsAwsjson11_deserializeDocumentProvidersListType(&sv.Providers, value); err != nil { return err } + default: _, _ = key, value @@ -24402,10 +24803,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceServersOutput(v **ListResourc } sv.NextToken = ptr.String(jtv) } + case "ResourceServers": if err := awsAwsjson11_deserializeDocumentResourceServersListType(&sv.ResourceServers, value); err != nil { return err } + default: _, _ = key, value @@ -24441,6 +24844,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentUserPoolTagsType(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -24480,10 +24884,12 @@ func awsAwsjson11_deserializeOpDocumentListUserImportJobsOutput(v **ListUserImpo } sv.PaginationToken = ptr.String(jtv) } + case "UserImportJobs": if err := awsAwsjson11_deserializeDocumentUserImportJobsListType(&sv.UserImportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -24523,10 +24929,12 @@ func awsAwsjson11_deserializeOpDocumentListUserPoolClientsOutput(v **ListUserPoo } sv.NextToken = ptr.String(jtv) } + case "UserPoolClients": if err := awsAwsjson11_deserializeDocumentUserPoolClientListType(&sv.UserPoolClients, value); err != nil { return err } + default: _, _ = key, value @@ -24566,10 +24974,12 @@ func awsAwsjson11_deserializeOpDocumentListUserPoolsOutput(v **ListUserPoolsOutp } sv.NextToken = ptr.String(jtv) } + case "UserPools": if err := awsAwsjson11_deserializeDocumentUserPoolListType(&sv.UserPools, value); err != nil { return err } + default: _, _ = key, value @@ -24609,10 +25019,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersInGroupOutput(v **ListUsersInGro } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUsersListType(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -24652,10 +25064,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.PaginationToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUsersListType(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -24691,6 +25105,7 @@ func awsAwsjson11_deserializeOpDocumentResendConfirmationCodeOutput(v **ResendCo if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } + default: _, _ = key, value @@ -24726,6 +25141,7 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT if err := awsAwsjson11_deserializeDocumentAuthenticationResultType(&sv.AuthenticationResult, value); err != nil { return err } + case "ChallengeName": if value != nil { jtv, ok := value.(string) @@ -24734,10 +25150,12 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT } sv.ChallengeName = types.ChallengeNameType(jtv) } + case "ChallengeParameters": if err := awsAwsjson11_deserializeDocumentChallengeParametersType(&sv.ChallengeParameters, value); err != nil { return err } + case "Session": if value != nil { jtv, ok := value.(string) @@ -24746,6 +25164,7 @@ func awsAwsjson11_deserializeOpDocumentRespondToAuthChallengeOutput(v **RespondT } sv.Session = ptr.String(jtv) } + default: _, _ = key, value @@ -24812,6 +25231,7 @@ func awsAwsjson11_deserializeOpDocumentSetLogDeliveryConfigurationOutput(v **Set if err := awsAwsjson11_deserializeDocumentLogDeliveryConfigurationType(&sv.LogDeliveryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -24847,6 +25267,7 @@ func awsAwsjson11_deserializeOpDocumentSetRiskConfigurationOutput(v **SetRiskCon if err := awsAwsjson11_deserializeDocumentRiskConfigurationType(&sv.RiskConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -24882,6 +25303,7 @@ func awsAwsjson11_deserializeOpDocumentSetUICustomizationOutput(v **SetUICustomi if err := awsAwsjson11_deserializeDocumentUICustomizationType(&sv.UICustomization, value); err != nil { return err } + default: _, _ = key, value @@ -24948,6 +25370,7 @@ func awsAwsjson11_deserializeOpDocumentSetUserPoolMfaConfigOutput(v **SetUserPoo if err := awsAwsjson11_deserializeDocumentEmailMfaConfigType(&sv.EmailMfaConfiguration, value); err != nil { return err } + case "MfaConfiguration": if value != nil { jtv, ok := value.(string) @@ -24956,14 +25379,17 @@ func awsAwsjson11_deserializeOpDocumentSetUserPoolMfaConfigOutput(v **SetUserPoo } sv.MfaConfiguration = types.UserPoolMfaType(jtv) } + case "SmsMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSmsMfaConfigType(&sv.SmsMfaConfiguration, value); err != nil { return err } + case "SoftwareTokenMfaConfiguration": if err := awsAwsjson11_deserializeDocumentSoftwareTokenMfaConfigType(&sv.SoftwareTokenMfaConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -25030,6 +25456,7 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsType(&sv.CodeDeliveryDetails, value); err != nil { return err } + case "UserConfirmed": if value != nil { jtv, ok := value.(bool) @@ -25038,6 +25465,7 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte } sv.UserConfirmed = jtv } + case "UserSub": if value != nil { jtv, ok := value.(string) @@ -25046,6 +25474,7 @@ func awsAwsjson11_deserializeOpDocumentSignUpOutput(v **SignUpOutput, value inte } sv.UserSub = ptr.String(jtv) } + default: _, _ = key, value @@ -25081,6 +25510,7 @@ func awsAwsjson11_deserializeOpDocumentStartUserImportJobOutput(v **StartUserImp if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -25116,6 +25546,7 @@ func awsAwsjson11_deserializeOpDocumentStopUserImportJobOutput(v **StopUserImpor if err := awsAwsjson11_deserializeDocumentUserImportJobType(&sv.UserImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -25275,6 +25706,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsAwsjson11_deserializeDocumentGroupType(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -25310,6 +25742,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIdentityProviderOutput(v **UpdateId if err := awsAwsjson11_deserializeDocumentIdentityProviderType(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -25345,6 +25778,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateResourceServerOutput(v **UpdateReso if err := awsAwsjson11_deserializeDocumentResourceServerType(&sv.ResourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -25380,6 +25814,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserAttributesOutput(v **UpdateUser if err := awsAwsjson11_deserializeDocumentCodeDeliveryDetailsListType(&sv.CodeDeliveryDetailsList, value); err != nil { return err } + default: _, _ = key, value @@ -25415,6 +25850,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserPoolClientOutput(v **UpdateUser if err := awsAwsjson11_deserializeDocumentUserPoolClientType(&sv.UserPoolClient, value); err != nil { return err } + default: _, _ = key, value @@ -25454,6 +25890,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserPoolDomainOutput(v **UpdateUser } sv.CloudFrontDomain = ptr.String(jtv) } + default: _, _ = key, value @@ -25524,6 +25961,7 @@ func awsAwsjson11_deserializeOpDocumentVerifySoftwareTokenOutput(v **VerifySoftw } sv.Session = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -25532,6 +25970,7 @@ func awsAwsjson11_deserializeOpDocumentVerifySoftwareTokenOutput(v **VerifySoftw } sv.Status = types.VerifySoftwareTokenResponseType(jtv) } + default: _, _ = key, value diff --git a/service/cognitosync/deserializers.go b/service/cognitosync/deserializers.go index 0ac5d813c65..e264b482532 100644 --- a/service/cognitosync/deserializers.go +++ b/service/cognitosync/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentBulkPublishOutput(v **BulkPublishOutput, } sv.IdentityPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -357,6 +358,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -520,6 +522,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -683,6 +686,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityPoolUsageOutput(v **Descr if err := awsRestjson1_deserializeDocumentIdentityPoolUsage(&sv.IdentityPoolUsage, value); err != nil { return err } + default: _, _ = key, value @@ -846,6 +850,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityUsageOutput(v **DescribeI if err := awsRestjson1_deserializeDocumentIdentityUsage(&sv.IdentityUsage, value); err != nil { return err } + default: _, _ = key, value @@ -1017,6 +1022,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } } + case "BulkPublishStartTime": if value != nil { switch jtv := value.(type) { @@ -1032,6 +1038,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } } + case "BulkPublishStatus": if value != nil { jtv, ok := value.(string) @@ -1040,6 +1047,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.BulkPublishStatus = types.BulkPublishStatus(jtv) } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -1048,6 +1056,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.FailureMessage = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -1056,6 +1065,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkPublishDetailsOutput(v **GetBulkPu } sv.IdentityPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -1219,6 +1229,7 @@ func awsRestjson1_deserializeOpDocumentGetCognitoEventsOutput(v **GetCognitoEven if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -1382,6 +1393,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityPoolConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentCognitoStreams(&sv.CognitoStreams, value); err != nil { return err } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -1390,10 +1402,12 @@ func awsRestjson1_deserializeOpDocumentGetIdentityPoolConfigurationOutput(v **Ge } sv.IdentityPoolId = ptr.String(jtv) } + case "PushSync": if err := awsRestjson1_deserializeDocumentPushSync(&sv.PushSync, value); err != nil { return err } + default: _, _ = key, value @@ -1562,10 +1576,12 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.Count = int32(i64) } + case "Datasets": if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1574,6 +1590,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1742,10 +1759,12 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.Count = int32(i64) } + case "IdentityPoolUsages": if err := awsRestjson1_deserializeDocumentIdentityPoolUsageList(&sv.IdentityPoolUsages, value); err != nil { return err } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1758,6 +1777,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.MaxResults = int32(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1766,6 +1786,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityPoolUsageOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1934,6 +1955,7 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.Count = int32(i64) } + case "DatasetDeletedAfterRequestedSyncCount": if value != nil { jtv, ok := value.(bool) @@ -1942,6 +1964,7 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetDeletedAfterRequestedSyncCount = jtv } + case "DatasetExists": if value != nil { jtv, ok := value.(bool) @@ -1950,6 +1973,7 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetExists = jtv } + case "DatasetSyncCount": if value != nil { jtv, ok := value.(json.Number) @@ -1962,6 +1986,7 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.DatasetSyncCount = ptr.Int64(i64) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -1970,10 +1995,12 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.LastModifiedBy = ptr.String(jtv) } + case "MergedDatasetNames": if err := awsRestjson1_deserializeDocumentMergedDatasetNameList(&sv.MergedDatasetNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1982,10 +2009,12 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.NextToken = ptr.String(jtv) } + case "Records": if err := awsRestjson1_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } + case "SyncSessionToken": if value != nil { jtv, ok := value.(string) @@ -1994,6 +2023,7 @@ func awsRestjson1_deserializeOpDocumentListRecordsOutput(v **ListRecordsOutput, } sv.SyncSessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2164,6 +2194,7 @@ func awsRestjson1_deserializeOpDocumentRegisterDeviceOutput(v **RegisterDeviceOu } sv.DeviceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2436,6 +2467,7 @@ func awsRestjson1_deserializeOpDocumentSetIdentityPoolConfigurationOutput(v **Se if err := awsRestjson1_deserializeDocumentCognitoStreams(&sv.CognitoStreams, value); err != nil { return err } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -2444,10 +2476,12 @@ func awsRestjson1_deserializeOpDocumentSetIdentityPoolConfigurationOutput(v **Se } sv.IdentityPoolId = ptr.String(jtv) } + case "PushSync": if err := awsRestjson1_deserializeDocumentPushSync(&sv.PushSync, value); err != nil { return err } + default: _, _ = key, value @@ -2829,6 +2863,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecordsOutput(v **UpdateRecordsOutp if err := awsRestjson1_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -3336,6 +3371,7 @@ func awsRestjson1_deserializeDocumentAlreadyStreamedException(v **types.AlreadyS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3411,6 +3447,7 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.RoleArn = ptr.String(jtv) } + case "StreamingStatus": if value != nil { jtv, ok := value.(string) @@ -3419,6 +3456,7 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.StreamingStatus = types.StreamingStatus(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3427,6 +3465,7 @@ func awsRestjson1_deserializeDocumentCognitoStreams(v **types.CognitoStreams, va } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -3466,6 +3505,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3512,6 +3552,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3520,6 +3561,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetName = ptr.String(jtv) } + case "DataStorage": if value != nil { jtv, ok := value.(json.Number) @@ -3532,6 +3574,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DataStorage = ptr.Int64(i64) } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3540,6 +3583,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.IdentityId = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3548,6 +3592,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3563,6 +3608,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "NumRecords": if value != nil { jtv, ok := value.(json.Number) @@ -3575,6 +3621,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.NumRecords = ptr.Int64(i64) } + default: _, _ = key, value @@ -3648,6 +3695,7 @@ func awsRestjson1_deserializeDocumentDuplicateRequestException(v **types.Duplica } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3727,6 +3775,7 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.DataStorage = ptr.Int64(i64) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -3735,6 +3784,7 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.IdentityPoolId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3750,6 +3800,7 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } } + case "SyncSessionsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3762,6 +3813,7 @@ func awsRestjson1_deserializeDocumentIdentityPoolUsage(v **types.IdentityPoolUsa } sv.SyncSessionsCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3839,6 +3891,7 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.DatasetCount = int32(i64) } + case "DataStorage": if value != nil { jtv, ok := value.(json.Number) @@ -3851,6 +3904,7 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.DataStorage = ptr.Int64(i64) } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -3859,6 +3913,7 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.IdentityId = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -3867,6 +3922,7 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } sv.IdentityPoolId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3882,6 +3938,7 @@ func awsRestjson1_deserializeDocumentIdentityUsage(v **types.IdentityUsage, valu } } + default: _, _ = key, value @@ -3921,6 +3978,7 @@ func awsRestjson1_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3960,6 +4018,7 @@ func awsRestjson1_deserializeDocumentInvalidConfigurationException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3999,6 +4058,7 @@ func awsRestjson1_deserializeDocumentInvalidLambdaFunctionOutputException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4038,6 +4098,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4077,6 +4138,7 @@ func awsRestjson1_deserializeDocumentLambdaThrottledException(v **types.LambdaTh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4116,6 +4178,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4191,6 +4254,7 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4226,6 +4290,7 @@ func awsRestjson1_deserializeDocumentPushSync(v **types.PushSync, value interfac if err := awsRestjson1_deserializeDocumentApplicationArnList(&sv.ApplicationArns, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -4234,6 +4299,7 @@ func awsRestjson1_deserializeDocumentPushSync(v **types.PushSync, value interfac } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4280,6 +4346,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } } + case "Key": if value != nil { jtv, ok := value.(string) @@ -4288,6 +4355,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Key = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -4296,6 +4364,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4311,6 +4380,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } } + case "SyncCount": if value != nil { jtv, ok := value.(json.Number) @@ -4323,6 +4393,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.SyncCount = ptr.Int64(i64) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4331,6 +4402,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4404,6 +4476,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4443,6 +4516,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4482,6 +4556,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/comprehend/deserializers.go b/service/comprehend/deserializers.go index 001913e381a..40f4eb41056 100644 --- a/service/comprehend/deserializers.go +++ b/service/comprehend/deserializers.go @@ -11021,10 +11021,12 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.AnnotationDataS3Uri = ptr.String(jtv) } + case "AttributeNames": if err := awsAwsjson11_deserializeDocumentAttributeNamesList(&sv.AttributeNames, value); err != nil { return err } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -11033,6 +11035,7 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.DocumentType = types.AugmentedManifestsDocumentTypeFormat(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -11041,6 +11044,7 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.S3Uri = ptr.String(jtv) } + case "SourceDocumentsS3Uri": if value != nil { jtv, ok := value.(string) @@ -11049,6 +11053,7 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.SourceDocumentsS3Uri = ptr.String(jtv) } + case "Split": if value != nil { jtv, ok := value.(string) @@ -11057,6 +11062,7 @@ func awsAwsjson11_deserializeDocumentAugmentedManifestsListItem(v **types.Augmen } sv.Split = types.Split(jtv) } + default: _, _ = key, value @@ -11100,10 +11106,12 @@ func awsAwsjson11_deserializeDocumentBatchDetectDominantLanguageItemResult(v **t } sv.Index = ptr.Int32(int32(i64)) } + case "Languages": if err := awsAwsjson11_deserializeDocumentListOfDominantLanguages(&sv.Languages, value); err != nil { return err } + default: _, _ = key, value @@ -11139,6 +11147,7 @@ func awsAwsjson11_deserializeDocumentBatchDetectEntitiesItemResult(v **types.Bat if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11151,6 +11160,7 @@ func awsAwsjson11_deserializeDocumentBatchDetectEntitiesItemResult(v **types.Bat } sv.Index = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11194,10 +11204,12 @@ func awsAwsjson11_deserializeDocumentBatchDetectKeyPhrasesItemResult(v **types.B } sv.Index = ptr.Int32(int32(i64)) } + case "KeyPhrases": if err := awsAwsjson11_deserializeDocumentListOfKeyPhrases(&sv.KeyPhrases, value); err != nil { return err } + default: _, _ = key, value @@ -11241,6 +11253,7 @@ func awsAwsjson11_deserializeDocumentBatchDetectSentimentItemResult(v **types.Ba } sv.Index = ptr.Int32(int32(i64)) } + case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -11249,10 +11262,12 @@ func awsAwsjson11_deserializeDocumentBatchDetectSentimentItemResult(v **types.Ba } sv.Sentiment = types.SentimentType(jtv) } + case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } + default: _, _ = key, value @@ -11296,10 +11311,12 @@ func awsAwsjson11_deserializeDocumentBatchDetectSyntaxItemResult(v **types.Batch } sv.Index = ptr.Int32(int32(i64)) } + case "SyntaxTokens": if err := awsAwsjson11_deserializeDocumentListOfSyntaxTokens(&sv.SyntaxTokens, value); err != nil { return err } + default: _, _ = key, value @@ -11335,6 +11352,7 @@ func awsAwsjson11_deserializeDocumentBatchDetectTargetedSentimentItemResult(v ** if err := awsAwsjson11_deserializeDocumentListOfTargetedSentimentEntities(&sv.Entities, value); err != nil { return err } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11347,6 +11365,7 @@ func awsAwsjson11_deserializeDocumentBatchDetectTargetedSentimentItemResult(v ** } sv.Index = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11386,6 +11405,7 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11394,6 +11414,7 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.ErrorMessage = ptr.String(jtv) } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -11406,6 +11427,7 @@ func awsAwsjson11_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Index = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11479,6 +11501,7 @@ func awsAwsjson11_deserializeDocumentBatchSizeLimitExceededException(v **types.B } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11518,10 +11541,12 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockType = types.BlockType(jtv) } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11530,6 +11555,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Id = ptr.String(jtv) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -11542,10 +11568,12 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Page = ptr.Int32(int32(i64)) } + case "Relationships": if err := awsAwsjson11_deserializeDocumentListOfRelationships(&sv.Relationships, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -11554,6 +11582,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -11597,6 +11626,7 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "BlockId": if value != nil { jtv, ok := value.(string) @@ -11605,10 +11635,12 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.BlockId = ptr.String(jtv) } + case "ChildBlocks": if err := awsAwsjson11_deserializeDocumentListOfChildBlocks(&sv.ChildBlocks, value); err != nil { return err } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11621,6 +11653,7 @@ func awsAwsjson11_deserializeDocumentBlockReference(v **types.BlockReference, va } sv.EndOffset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11685,6 +11718,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Left": if value != nil { switch jtv := value.(type) { @@ -11718,6 +11752,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Top": if value != nil { switch jtv := value.(type) { @@ -11751,6 +11786,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Width": if value != nil { switch jtv := value.(type) { @@ -11784,6 +11820,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + default: _, _ = key, value @@ -11827,6 +11864,7 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "ChildBlockId": if value != nil { jtv, ok := value.(string) @@ -11835,6 +11873,7 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.ChildBlockId = ptr.String(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -11847,6 +11886,7 @@ func awsAwsjson11_deserializeDocumentChildBlock(v **types.ChildBlock, value inte } sv.EndOffset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11911,6 +11951,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "F1Score": if value != nil { switch jtv := value.(type) { @@ -11944,6 +11985,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "HammingLoss": if value != nil { switch jtv := value.(type) { @@ -11977,6 +12019,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "MicroF1Score": if value != nil { switch jtv := value.(type) { @@ -12010,6 +12053,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "MicroPrecision": if value != nil { switch jtv := value.(type) { @@ -12043,6 +12087,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "MicroRecall": if value != nil { switch jtv := value.(type) { @@ -12076,6 +12121,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -12109,6 +12155,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -12142,6 +12189,7 @@ func awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(v **types.Class } } + default: _, _ = key, value @@ -12177,6 +12225,7 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta if err := awsAwsjson11_deserializeDocumentClassifierEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "NumberOfLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12189,6 +12238,7 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfLabels = ptr.Int32(int32(i64)) } + case "NumberOfTestDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12201,6 +12251,7 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfTestDocuments = ptr.Int32(int32(i64)) } + case "NumberOfTrainedDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12213,6 +12264,7 @@ func awsAwsjson11_deserializeDocumentClassifierMetadata(v **types.ClassifierMeta } sv.NumberOfTrainedDocuments = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12252,6 +12304,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12291,6 +12344,7 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.DataLakeKmsKeyId = ptr.String(jtv) } + case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12299,6 +12353,7 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.ModelKmsKeyId = ptr.String(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12307,10 +12362,12 @@ func awsAwsjson11_deserializeDocumentDataSecurityConfig(v **types.DataSecurityCo } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12357,6 +12414,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -12365,6 +12423,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -12373,6 +12432,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetName = ptr.String(jtv) } + case "DatasetS3Uri": if value != nil { jtv, ok := value.(string) @@ -12381,6 +12441,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetS3Uri = ptr.String(jtv) } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -12389,6 +12450,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.DatasetType = types.DatasetType(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12397,6 +12459,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Description = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12412,6 +12475,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12420,6 +12484,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Message = ptr.String(jtv) } + case "NumberOfDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -12432,6 +12497,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.NumberOfDocuments = ptr.Int64(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12440,6 +12506,7 @@ func awsAwsjson11_deserializeDocumentDatasetProperties(v **types.DatasetProperti } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -12513,6 +12580,7 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } sv.Name = ptr.String(jtv) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -12525,6 +12593,7 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } sv.Page = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -12558,6 +12627,7 @@ func awsAwsjson11_deserializeDocumentDocumentClass(v **types.DocumentClass, valu } } + default: _, _ = key, value @@ -12593,6 +12663,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationConfig(v **types.Docu if err := awsAwsjson11_deserializeDocumentLabelsList(&sv.Labels, value); err != nil { return err } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -12601,6 +12672,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationConfig(v **types.Docu } sv.Mode = types.DocumentClassifierMode(jtv) } + default: _, _ = key, value @@ -12640,6 +12712,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DocumentClassifierArn": if value != nil { jtv, ok := value.(string) @@ -12648,6 +12721,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.DocumentClassifierArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12663,6 +12737,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -12671,10 +12746,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.FlywheelArn = ptr.String(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -12683,6 +12760,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -12691,6 +12769,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -12699,6 +12778,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12707,6 +12787,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12715,10 +12796,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -12734,6 +12817,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12742,10 +12826,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(v **typ } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12853,6 +12939,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(v **types.Docum } sv.S3Uri = ptr.String(jtv) } + case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -12861,6 +12948,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(v **types.Docum } sv.TestS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -12896,6 +12984,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types if err := awsAwsjson11_deserializeDocumentDocumentClassifierAugmentedManifestsList(&sv.AugmentedManifests, value); err != nil { return err } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -12904,14 +12993,17 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.DataFormat = types.DocumentClassifierDataFormat(jtv) } + case "DocumentReaderConfig": if err := awsAwsjson11_deserializeDocumentDocumentReaderConfig(&sv.DocumentReaderConfig, value); err != nil { return err } + case "Documents": if err := awsAwsjson11_deserializeDocumentDocumentClassifierDocuments(&sv.Documents, value); err != nil { return err } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -12920,6 +13012,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.DocumentType = types.DocumentClassifierDocumentTypeFormat(jtv) } + case "LabelDelimiter": if value != nil { jtv, ok := value.(string) @@ -12928,6 +13021,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.LabelDelimiter = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -12936,6 +13030,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.S3Uri = ptr.String(jtv) } + case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -12944,6 +13039,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(v **types } sv.TestS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -12983,6 +13079,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.FlywheelStatsS3Prefix = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12991,6 +13088,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -12999,6 +13097,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(v **type } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -13034,6 +13133,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu if err := awsAwsjson11_deserializeDocumentClassifierMetadata(&sv.ClassifierMetadata, value); err != nil { return err } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -13042,6 +13142,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DocumentClassifierArn": if value != nil { jtv, ok := value.(string) @@ -13050,6 +13151,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.DocumentClassifierArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -13065,6 +13167,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -13073,10 +13176,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.FlywheelArn = ptr.String(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentDocumentClassifierInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -13085,6 +13190,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13093,6 +13199,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Message = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -13101,6 +13208,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Mode = types.DocumentClassifierMode(jtv) } + case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13109,10 +13217,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.ModelKmsKeyId = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentDocumentClassifierOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SourceModelArn": if value != nil { jtv, ok := value.(string) @@ -13121,6 +13231,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.SourceModelArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13129,6 +13240,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.Status = types.ModelStatus(jtv) } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -13144,6 +13256,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -13159,6 +13272,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } + case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -13174,6 +13288,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -13182,6 +13297,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.VersionName = ptr.String(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13190,10 +13306,12 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierProperties(v **types.Docu } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13301,6 +13419,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.DocumentClassifierName = ptr.String(jtv) } + case "LatestVersionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -13316,6 +13435,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } } + case "LatestVersionName": if value != nil { jtv, ok := value.(string) @@ -13324,6 +13444,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.LatestVersionName = ptr.String(jtv) } + case "LatestVersionStatus": if value != nil { jtv, ok := value.(string) @@ -13332,6 +13453,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.LatestVersionStatus = types.ModelStatus(jtv) } + case "NumberOfVersions": if value != nil { jtv, ok := value.(json.Number) @@ -13344,6 +13466,7 @@ func awsAwsjson11_deserializeDocumentDocumentClassifierSummary(v **types.Documen } sv.NumberOfVersions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13383,6 +13506,7 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } sv.Name = ptr.String(jtv) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -13395,6 +13519,7 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } sv.Page = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -13428,6 +13553,7 @@ func awsAwsjson11_deserializeDocumentDocumentLabel(v **types.DocumentLabel, valu } } + default: _, _ = key, value @@ -13463,6 +13589,7 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata if err := awsAwsjson11_deserializeDocumentListOfExtractedCharacters(&sv.ExtractedCharacters, value); err != nil { return err } + case "Pages": if value != nil { jtv, ok := value.(json.Number) @@ -13475,6 +13602,7 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Pages = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13514,6 +13642,7 @@ func awsAwsjson11_deserializeDocumentDocumentReaderConfig(v **types.DocumentRead } sv.DocumentReadAction = types.DocumentReadAction(jtv) } + case "DocumentReadMode": if value != nil { jtv, ok := value.(string) @@ -13522,10 +13651,12 @@ func awsAwsjson11_deserializeDocumentDocumentReaderConfig(v **types.DocumentRead } sv.DocumentReadMode = types.DocumentReadMode(jtv) } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentListOfDocumentReadFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + default: _, _ = key, value @@ -13569,6 +13700,7 @@ func awsAwsjson11_deserializeDocumentDocumentTypeListItem(v **types.DocumentType } sv.Page = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13577,6 +13709,7 @@ func awsAwsjson11_deserializeDocumentDocumentTypeListItem(v **types.DocumentType } sv.Type = types.DocumentType(jtv) } + default: _, _ = key, value @@ -13616,6 +13749,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguage(v **types.DominantLanguage } sv.LanguageCode = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -13649,6 +13783,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguage(v **types.DominantLanguage } } + default: _, _ = key, value @@ -13688,6 +13823,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -13703,10 +13839,12 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -13715,6 +13853,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -13723,6 +13862,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -13731,6 +13871,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -13739,6 +13880,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13747,10 +13889,12 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -13766,6 +13910,7 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13774,10 +13919,12 @@ func awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(v ** } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13858,6 +14005,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } } + case "CurrentInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13870,6 +14018,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.CurrentInferenceUnits = ptr.Int32(int32(i64)) } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -13878,6 +14027,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DesiredDataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -13886,6 +14036,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredDataAccessRoleArn = ptr.String(jtv) } + case "DesiredInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13898,6 +14049,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredInferenceUnits = ptr.Int32(int32(i64)) } + case "DesiredModelArn": if value != nil { jtv, ok := value.(string) @@ -13906,6 +14058,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.DesiredModelArn = ptr.String(jtv) } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -13914,6 +14067,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.EndpointArn = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -13922,6 +14076,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.FlywheelArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13937,6 +14092,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13945,6 +14101,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.Message = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -13953,6 +14110,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.ModelArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13961,6 +14119,7 @@ func awsAwsjson11_deserializeDocumentEndpointProperties(v **types.EndpointProper } sv.Status = types.EndpointStatus(jtv) } + default: _, _ = key, value @@ -14034,6 +14193,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -14049,6 +14209,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } } + case "EntityRecognizerArn": if value != nil { jtv, ok := value.(string) @@ -14057,6 +14218,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.EntityRecognizerArn = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -14065,10 +14227,12 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.FlywheelArn = ptr.String(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -14077,6 +14241,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -14085,6 +14250,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -14093,6 +14259,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -14101,6 +14268,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -14109,6 +14277,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14117,10 +14286,12 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -14136,6 +14307,7 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14144,10 +14316,12 @@ func awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(v **types.En } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14225,10 +14399,12 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "BlockReferences": if err := awsAwsjson11_deserializeDocumentListOfBlockReferences(&sv.BlockReferences, value); err != nil { return err } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14241,6 +14417,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -14274,6 +14451,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -14282,6 +14460,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Text = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14290,6 +14469,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = types.EntityType(jtv) } + default: _, _ = key, value @@ -14329,6 +14509,7 @@ func awsAwsjson11_deserializeDocumentEntityLabel(v **types.EntityLabel, value in } sv.Name = types.PiiEntityType(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -14362,6 +14543,7 @@ func awsAwsjson11_deserializeDocumentEntityLabel(v **types.EntityLabel, value in } } + default: _, _ = key, value @@ -14397,6 +14579,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognitionConfig(v **types.EntityRec if err := awsAwsjson11_deserializeDocumentEntityTypesList(&sv.EntityTypes, value); err != nil { return err } + default: _, _ = key, value @@ -14436,6 +14619,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(v **types.Entit } sv.S3Uri = ptr.String(jtv) } + case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -14444,6 +14628,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(v **types.Entit } sv.TestS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -14517,6 +14702,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.InputFormat = types.InputFormat(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -14525,6 +14711,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.S3Uri = ptr.String(jtv) } + case "TestS3Uri": if value != nil { jtv, ok := value.(string) @@ -14533,6 +14720,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(v **types.EntityR } sv.TestS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -14572,6 +14760,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEntityList(v **types.Entity } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -14636,6 +14825,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -14669,6 +14859,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -14702,6 +14893,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(v **types } } + default: _, _ = key, value @@ -14737,10 +14929,12 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(v **types.E if err := awsAwsjson11_deserializeDocumentEntityRecognizerAnnotations(&sv.Annotations, value); err != nil { return err } + case "AugmentedManifests": if err := awsAwsjson11_deserializeDocumentEntityRecognizerAugmentedManifestsList(&sv.AugmentedManifests, value); err != nil { return err } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -14749,18 +14943,22 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(v **types.E } sv.DataFormat = types.EntityRecognizerDataFormat(jtv) } + case "Documents": if err := awsAwsjson11_deserializeDocumentEntityRecognizerDocuments(&sv.Documents, value); err != nil { return err } + case "EntityList": if err := awsAwsjson11_deserializeDocumentEntityRecognizerEntityList(&sv.EntityList, value); err != nil { return err } + case "EntityTypes": if err := awsAwsjson11_deserializeDocumentEntityTypesList(&sv.EntityTypes, value); err != nil { return err } + default: _, _ = key, value @@ -14796,10 +14994,12 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe if err := awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesList(&sv.EntityTypes, value); err != nil { return err } + case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEntityRecognizerEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "NumberOfTestDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -14812,6 +15012,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe } sv.NumberOfTestDocuments = ptr.Int32(int32(i64)) } + case "NumberOfTrainedDocuments": if value != nil { jtv, ok := value.(json.Number) @@ -14824,6 +15025,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(v **types.EntityRe } sv.NumberOfTrainedDocuments = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14893,6 +15095,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem if err := awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "NumberOfTrainMentions": if value != nil { jtv, ok := value.(json.Number) @@ -14905,6 +15108,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem } sv.NumberOfTrainMentions = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14913,6 +15117,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerMetadataEntityTypesListItem } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14952,6 +15157,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerOutputDataConfig(v **types. } sv.FlywheelStatsS3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -14991,6 +15197,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -15006,6 +15213,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } + case "EntityRecognizerArn": if value != nil { jtv, ok := value.(string) @@ -15014,6 +15222,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.EntityRecognizerArn = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -15022,10 +15231,12 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.FlywheelArn = ptr.String(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognizerInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -15034,6 +15245,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15042,6 +15254,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.Message = ptr.String(jtv) } + case "ModelKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15050,14 +15263,17 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.ModelKmsKeyId = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognizerOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "RecognizerMetadata": if err := awsAwsjson11_deserializeDocumentEntityRecognizerMetadata(&sv.RecognizerMetadata, value); err != nil { return err } + case "SourceModelArn": if value != nil { jtv, ok := value.(string) @@ -15066,6 +15282,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.SourceModelArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15074,6 +15291,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.Status = types.ModelStatus(jtv) } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -15089,6 +15307,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -15104,6 +15323,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } + case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -15119,6 +15339,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -15127,6 +15348,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.VersionName = ptr.String(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15135,10 +15357,12 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerProperties(v **types.Entity } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15253,6 +15477,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } } + case "LatestVersionName": if value != nil { jtv, ok := value.(string) @@ -15261,6 +15486,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.LatestVersionName = ptr.String(jtv) } + case "LatestVersionStatus": if value != nil { jtv, ok := value.(string) @@ -15269,6 +15495,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.LatestVersionStatus = types.ModelStatus(jtv) } + case "NumberOfVersions": if value != nil { jtv, ok := value.(json.Number) @@ -15281,6 +15508,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.NumberOfVersions = ptr.Int32(int32(i64)) } + case "RecognizerName": if value != nil { jtv, ok := value.(string) @@ -15289,6 +15517,7 @@ func awsAwsjson11_deserializeDocumentEntityRecognizerSummary(v **types.EntityRec } sv.RecognizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -15353,6 +15582,7 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -15386,6 +15616,7 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -15419,6 +15650,7 @@ func awsAwsjson11_deserializeDocumentEntityTypesEvaluationMetrics(v **types.Enti } } + default: _, _ = key, value @@ -15492,6 +15724,7 @@ func awsAwsjson11_deserializeDocumentEntityTypesListItem(v **types.EntityTypesLi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15531,6 +15764,7 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.ErrorCode = types.PageBasedErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15539,6 +15773,7 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.ErrorMessage = ptr.String(jtv) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -15551,6 +15786,7 @@ func awsAwsjson11_deserializeDocumentErrorsListItem(v **types.ErrorsListItem, va } sv.Page = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15590,6 +15826,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -15605,10 +15842,12 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -15617,6 +15856,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -15625,6 +15865,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -15633,6 +15874,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -15641,6 +15883,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -15649,6 +15892,7 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15657,10 +15901,12 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -15676,10 +15922,12 @@ func awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(v **types.Even } } + case "TargetEventTypes": if err := awsAwsjson11_deserializeDocumentTargetEventTypes(&sv.TargetEventTypes, value); err != nil { return err } + default: _, _ = key, value @@ -15757,6 +16005,7 @@ func awsAwsjson11_deserializeDocumentExtractedCharactersListItem(v **types.Extra } sv.Count = ptr.Int32(int32(i64)) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -15769,6 +16018,7 @@ func awsAwsjson11_deserializeDocumentExtractedCharactersListItem(v **types.Extra } sv.Page = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15815,6 +16065,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -15830,6 +16081,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } } + case "EvaluatedModelArn": if value != nil { jtv, ok := value.(string) @@ -15838,10 +16090,12 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.EvaluatedModelArn = ptr.String(jtv) } + case "EvaluatedModelMetrics": if err := awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(&sv.EvaluatedModelMetrics, value); err != nil { return err } + case "EvaluationManifestS3Prefix": if value != nil { jtv, ok := value.(string) @@ -15850,6 +16104,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.EvaluationManifestS3Prefix = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -15858,6 +16113,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.FlywheelArn = ptr.String(jtv) } + case "FlywheelIterationId": if value != nil { jtv, ok := value.(string) @@ -15866,6 +16122,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.FlywheelIterationId = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15874,6 +16131,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15882,6 +16140,7 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.Status = types.FlywheelIterationStatus(jtv) } + case "TrainedModelArn": if value != nil { jtv, ok := value.(string) @@ -15890,10 +16149,12 @@ func awsAwsjson11_deserializeDocumentFlywheelIterationProperties(v **types.Flywh } sv.TrainedModelArn = ptr.String(jtv) } + case "TrainedModelMetrics": if err := awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(&sv.TrainedModelMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -15992,6 +16253,7 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } + case "AverageF1Score": if value != nil { switch jtv := value.(type) { @@ -16025,6 +16287,7 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } + case "AveragePrecision": if value != nil { switch jtv := value.(type) { @@ -16058,6 +16321,7 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } + case "AverageRecall": if value != nil { switch jtv := value.(type) { @@ -16091,6 +16355,7 @@ func awsAwsjson11_deserializeDocumentFlywheelModelEvaluationMetrics(v **types.Fl } } + default: _, _ = key, value @@ -16130,6 +16395,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.ActiveModelArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16145,6 +16411,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16153,6 +16420,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DataLakeS3Uri": if value != nil { jtv, ok := value.(string) @@ -16161,10 +16429,12 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.DataLakeS3Uri = ptr.String(jtv) } + case "DataSecurityConfig": if err := awsAwsjson11_deserializeDocumentDataSecurityConfig(&sv.DataSecurityConfig, value); err != nil { return err } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -16173,6 +16443,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.FlywheelArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -16188,6 +16459,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } } + case "LatestFlywheelIteration": if value != nil { jtv, ok := value.(string) @@ -16196,6 +16468,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.LatestFlywheelIteration = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -16204,6 +16477,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.Message = ptr.String(jtv) } + case "ModelType": if value != nil { jtv, ok := value.(string) @@ -16212,6 +16486,7 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.ModelType = types.ModelType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16220,10 +16495,12 @@ func awsAwsjson11_deserializeDocumentFlywheelProperties(v **types.FlywheelProper } sv.Status = types.FlywheelStatus(jtv) } + case "TaskConfig": if err := awsAwsjson11_deserializeDocumentTaskConfig(&sv.TaskConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16263,6 +16540,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.ActiveModelArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16278,6 +16556,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } } + case "DataLakeS3Uri": if value != nil { jtv, ok := value.(string) @@ -16286,6 +16565,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.DataLakeS3Uri = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -16294,6 +16574,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.FlywheelArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -16309,6 +16590,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } } + case "LatestFlywheelIteration": if value != nil { jtv, ok := value.(string) @@ -16317,6 +16599,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.LatestFlywheelIteration = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -16325,6 +16608,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.Message = ptr.String(jtv) } + case "ModelType": if value != nil { jtv, ok := value.(string) @@ -16333,6 +16617,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.ModelType = types.ModelType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16341,6 +16626,7 @@ func awsAwsjson11_deserializeDocumentFlywheelSummary(v **types.FlywheelSummary, } sv.Status = types.FlywheelStatus(jtv) } + default: _, _ = key, value @@ -16410,10 +16696,12 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -16449,6 +16737,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, if err := awsAwsjson11_deserializeDocumentDocumentReaderConfig(&sv.DocumentReaderConfig, value); err != nil { return err } + case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -16457,6 +16746,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.InputFormat = types.InputFormat(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -16465,6 +16755,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -16504,6 +16795,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16543,6 +16835,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16582,6 +16875,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestDetail(v **types.InvalidReque } sv.Reason = types.InvalidRequestDetailReason(jtv) } + default: _, _ = key, value @@ -16617,6 +16911,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe if err := awsAwsjson11_deserializeDocumentInvalidRequestDetail(&sv.Detail, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16625,6 +16920,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -16633,6 +16929,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Reason = types.InvalidRequestReason(jtv) } + default: _, _ = key, value @@ -16672,6 +16969,7 @@ func awsAwsjson11_deserializeDocumentJobNotFoundException(v **types.JobNotFoundE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16715,6 +17013,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -16727,6 +17026,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -16760,6 +17060,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -16768,6 +17069,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrase(v **types.KeyPhrase, value interf } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -16807,6 +17109,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -16822,10 +17125,12 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -16834,6 +17139,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -16842,6 +17148,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -16850,6 +17157,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -16858,6 +17166,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -16866,6 +17175,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -16874,10 +17184,12 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -16893,6 +17205,7 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16901,10 +17214,12 @@ func awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(v **types. } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16978,6 +17293,7 @@ func awsAwsjson11_deserializeDocumentKmsKeyValidationException(v **types.KmsKeyV } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18049,10 +18365,12 @@ func awsAwsjson11_deserializeDocumentMentionSentiment(v **types.MentionSentiment } sv.Sentiment = types.SentimentType(jtv) } + case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } + default: _, _ = key, value @@ -18092,6 +18410,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -18100,6 +18419,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -18164,6 +18484,7 @@ func awsAwsjson11_deserializeDocumentPartOfSpeechTag(v **types.PartOfSpeechTag, } } + case "Tag": if value != nil { jtv, ok := value.(string) @@ -18172,6 +18493,7 @@ func awsAwsjson11_deserializeDocumentPartOfSpeechTag(v **types.PartOfSpeechTag, } sv.Tag = types.PartOfSpeechTagType(jtv) } + default: _, _ = key, value @@ -18211,6 +18533,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -18226,10 +18549,12 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -18238,6 +18563,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -18246,6 +18572,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -18254,6 +18581,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -18262,6 +18590,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -18270,6 +18599,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -18278,6 +18608,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.Message = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -18286,14 +18617,17 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } sv.Mode = types.PiiEntitiesDetectionMode(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentPiiOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "RedactionConfig": if err := awsAwsjson11_deserializeDocumentRedactionConfig(&sv.RedactionConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -18309,6 +18643,7 @@ func awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(v **types } } + default: _, _ = key, value @@ -18386,6 +18721,7 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -18398,6 +18734,7 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -18431,6 +18768,7 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18439,6 +18777,7 @@ func awsAwsjson11_deserializeDocumentPiiEntity(v **types.PiiEntity, value interf } sv.Type = types.PiiEntityType(jtv) } + default: _, _ = key, value @@ -18478,6 +18817,7 @@ func awsAwsjson11_deserializeDocumentPiiOutputDataConfig(v **types.PiiOutputData } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -18486,6 +18826,7 @@ func awsAwsjson11_deserializeDocumentPiiOutputDataConfig(v **types.PiiOutputData } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -18550,6 +18891,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + case "Y": if value != nil { switch jtv := value.(type) { @@ -18583,6 +18925,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + default: _, _ = key, value @@ -18656,6 +18999,7 @@ func awsAwsjson11_deserializeDocumentRedactionConfig(v **types.RedactionConfig, } sv.MaskCharacter = ptr.String(jtv) } + case "MaskMode": if value != nil { jtv, ok := value.(string) @@ -18664,10 +19008,12 @@ func awsAwsjson11_deserializeDocumentRedactionConfig(v **types.RedactionConfig, } sv.MaskMode = types.PiiEntitiesDetectionMaskMode(jtv) } + case "PiiEntityTypes": if err := awsAwsjson11_deserializeDocumentListOfPiiEntityTypes(&sv.PiiEntityTypes, value); err != nil { return err } + default: _, _ = key, value @@ -18703,6 +19049,7 @@ func awsAwsjson11_deserializeDocumentRelationshipsListItem(v **types.Relationshi if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18711,6 +19058,7 @@ func awsAwsjson11_deserializeDocumentRelationshipsListItem(v **types.Relationshi } sv.Type = types.RelationshipType(jtv) } + default: _, _ = key, value @@ -18750,6 +19098,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18789,6 +19138,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18828,6 +19178,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18867,6 +19218,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18942,6 +19294,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -18957,10 +19310,12 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -18969,6 +19324,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -18977,6 +19333,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -18985,6 +19342,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -18993,6 +19351,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -19001,6 +19360,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -19009,10 +19369,12 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -19028,6 +19390,7 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19036,10 +19399,12 @@ func awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(v **types.S } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -19138,6 +19503,7 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "Negative": if value != nil { switch jtv := value.(type) { @@ -19171,6 +19537,7 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "Neutral": if value != nil { switch jtv := value.(type) { @@ -19204,6 +19571,7 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "Positive": if value != nil { switch jtv := value.(type) { @@ -19237,6 +19605,7 @@ func awsAwsjson11_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + default: _, _ = key, value @@ -19352,6 +19721,7 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -19364,10 +19734,12 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.EndOffset = ptr.Int32(int32(i64)) } + case "PartOfSpeech": if err := awsAwsjson11_deserializeDocumentPartOfSpeechTag(&sv.PartOfSpeech, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -19376,6 +19748,7 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.Text = ptr.String(jtv) } + case "TokenId": if value != nil { jtv, ok := value.(json.Number) @@ -19388,6 +19761,7 @@ func awsAwsjson11_deserializeDocumentSyntaxToken(v **types.SyntaxToken, value in } sv.TokenId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19427,6 +19801,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -19435,6 +19810,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -19508,6 +19884,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -19523,10 +19900,12 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -19535,6 +19914,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -19543,6 +19923,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -19551,6 +19932,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -19559,6 +19941,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.JobStatus = types.JobStatus(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -19567,6 +19950,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.LanguageCode = types.LanguageCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -19575,10 +19959,12 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -19594,6 +19980,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19602,10 +19989,12 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(v * } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -19675,10 +20064,12 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentEntity(v **types.TargetedS if err := awsAwsjson11_deserializeDocumentListOfDescriptiveMentionIndices(&sv.DescriptiveMentionIndex, value); err != nil { return err } + case "Mentions": if err := awsAwsjson11_deserializeDocumentListOfMentions(&sv.Mentions, value); err != nil { return err } + default: _, _ = key, value @@ -19722,6 +20113,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -19734,6 +20126,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.EndOffset = ptr.Int32(int32(i64)) } + case "GroupScore": if value != nil { switch jtv := value.(type) { @@ -19767,10 +20160,12 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } } + case "MentionSentiment": if err := awsAwsjson11_deserializeDocumentMentionSentiment(&sv.MentionSentiment, value); err != nil { return err } + case "Score": if value != nil { switch jtv := value.(type) { @@ -19804,6 +20199,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -19812,6 +20208,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.Text = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19820,6 +20217,7 @@ func awsAwsjson11_deserializeDocumentTargetedSentimentMention(v **types.Targeted } sv.Type = types.TargetedSentimentEntityType(jtv) } + default: _, _ = key, value @@ -19891,10 +20289,12 @@ func awsAwsjson11_deserializeDocumentTaskConfig(v **types.TaskConfig, value inte if err := awsAwsjson11_deserializeDocumentDocumentClassificationConfig(&sv.DocumentClassificationConfig, value); err != nil { return err } + case "EntityRecognitionConfig": if err := awsAwsjson11_deserializeDocumentEntityRecognitionConfig(&sv.EntityRecognitionConfig, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -19903,6 +20303,7 @@ func awsAwsjson11_deserializeDocumentTaskConfig(v **types.TaskConfig, value inte } sv.LanguageCode = types.LanguageCode(jtv) } + default: _, _ = key, value @@ -19942,6 +20343,7 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19981,6 +20383,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20020,6 +20423,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20059,6 +20463,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20098,6 +20503,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -20113,10 +20519,12 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -20125,6 +20533,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -20133,6 +20542,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -20141,6 +20551,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -20149,6 +20560,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20157,6 +20569,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.Message = ptr.String(jtv) } + case "NumberOfTopics": if value != nil { jtv, ok := value.(json.Number) @@ -20169,10 +20582,12 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.NumberOfTopics = ptr.Int32(int32(i64)) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -20188,6 +20603,7 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20196,10 +20612,12 @@ func awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(v **types.Topi } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -20273,6 +20691,7 @@ func awsAwsjson11_deserializeDocumentToxicContent(v **types.ToxicContent, value } sv.Name = types.ToxicContentType(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -20306,6 +20725,7 @@ func awsAwsjson11_deserializeDocumentToxicContent(v **types.ToxicContent, value } } + default: _, _ = key, value @@ -20341,6 +20761,7 @@ func awsAwsjson11_deserializeDocumentToxicLabels(v **types.ToxicLabels, value in if err := awsAwsjson11_deserializeDocumentListOfToxicContent(&sv.Labels, value); err != nil { return err } + case "Toxicity": if value != nil { switch jtv := value.(type) { @@ -20374,6 +20795,7 @@ func awsAwsjson11_deserializeDocumentToxicLabels(v **types.ToxicLabels, value in } } + default: _, _ = key, value @@ -20413,6 +20835,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguageException(v **types.Unsu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20448,10 +20871,12 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -20495,6 +20920,7 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.Page = ptr.Int32(int32(i64)) } + case "WarnCode": if value != nil { jtv, ok := value.(string) @@ -20503,6 +20929,7 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.WarnCode = types.PageBasedWarningCode(jtv) } + case "WarnMessage": if value != nil { jtv, ok := value.(string) @@ -20511,6 +20938,7 @@ func awsAwsjson11_deserializeDocumentWarningsListItem(v **types.WarningsListItem } sv.WarnMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -20546,10 +20974,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectDominantLanguageOutput(v **Bat if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectDominantLanguageResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20585,10 +21015,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectEntitiesOutput(v **BatchDetect if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectEntitiesResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20624,10 +21056,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectKeyPhrasesOutput(v **BatchDete if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectKeyPhrasesResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20663,10 +21097,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectSentimentOutput(v **BatchDetec if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectSentimentResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20702,10 +21138,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectSyntaxOutput(v **BatchDetectSy if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectSyntaxResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20741,10 +21179,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDetectTargetedSentimentOutput(v **Ba if err := awsAwsjson11_deserializeDocumentBatchItemErrorList(&sv.ErrorList, value); err != nil { return err } + case "ResultList": if err := awsAwsjson11_deserializeDocumentListOfDetectTargetedSentimentResult(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -20780,26 +21220,32 @@ func awsAwsjson11_deserializeOpDocumentClassifyDocumentOutput(v **ClassifyDocume if err := awsAwsjson11_deserializeDocumentListOfClasses(&sv.Classes, value); err != nil { return err } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "DocumentType": if err := awsAwsjson11_deserializeDocumentListOfDocumentType(&sv.DocumentType, value); err != nil { return err } + case "Errors": if err := awsAwsjson11_deserializeDocumentListOfErrors(&sv.Errors, value); err != nil { return err } + case "Labels": if err := awsAwsjson11_deserializeDocumentListOfLabels(&sv.Labels, value); err != nil { return err } + case "Warnings": if err := awsAwsjson11_deserializeDocumentListOfWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -20835,6 +21281,7 @@ func awsAwsjson11_deserializeOpDocumentContainsPiiEntitiesOutput(v **ContainsPii if err := awsAwsjson11_deserializeDocumentListOfEntityLabels(&sv.Labels, value); err != nil { return err } + default: _, _ = key, value @@ -20874,6 +21321,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20913,6 +21361,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDocumentClassifierOutput(v **Create } sv.DocumentClassifierArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20952,6 +21401,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -20960,6 +21410,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20999,6 +21450,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEntityRecognizerOutput(v **CreateEn } sv.EntityRecognizerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -21038,6 +21490,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFlywheelOutput(v **CreateFlywheelOu } sv.ActiveModelArn = ptr.String(jtv) } + case "FlywheelArn": if value != nil { jtv, ok := value.(string) @@ -21046,6 +21499,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFlywheelOutput(v **CreateFlywheelOu } sv.FlywheelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -21236,6 +21690,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDatasetProperties(&sv.DatasetProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21271,6 +21726,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentClassificationJobOutput(v if err := awsAwsjson11_deserializeDocumentDocumentClassificationJobProperties(&sv.DocumentClassificationJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21306,6 +21762,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentClassifierOutput(v **Desc if err := awsAwsjson11_deserializeDocumentDocumentClassifierProperties(&sv.DocumentClassifierProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21341,6 +21798,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDominantLanguageDetectionJobOutpu if err := awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobProperties(&sv.DominantLanguageDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21376,6 +21834,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi if err := awsAwsjson11_deserializeDocumentEndpointProperties(&sv.EndpointProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21411,6 +21870,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitiesDetectionJobOutput(v **De if err := awsAwsjson11_deserializeDocumentEntitiesDetectionJobProperties(&sv.EntitiesDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21446,6 +21906,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityRecognizerOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityRecognizerProperties(&sv.EntityRecognizerProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21481,6 +21942,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsDetectionJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentEventsDetectionJobProperties(&sv.EventsDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21516,6 +21978,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlywheelIterationOutput(v **Descr if err := awsAwsjson11_deserializeDocumentFlywheelIterationProperties(&sv.FlywheelIterationProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21551,6 +22014,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlywheelOutput(v **DescribeFlywhe if err := awsAwsjson11_deserializeDocumentFlywheelProperties(&sv.FlywheelProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21586,6 +22050,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeKeyPhrasesDetectionJobOutput(v ** if err := awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobProperties(&sv.KeyPhrasesDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21621,6 +22086,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePiiEntitiesDetectionJobOutput(v * if err := awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobProperties(&sv.PiiEntitiesDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21667,6 +22133,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -21682,6 +22149,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } + case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -21690,6 +22158,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.PolicyRevisionId = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -21698,6 +22167,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -21733,6 +22203,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSentimentDetectionJobOutput(v **D if err := awsAwsjson11_deserializeDocumentSentimentDetectionJobProperties(&sv.SentimentDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21768,6 +22239,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTargetedSentimentDetectionJobOutp if err := awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobProperties(&sv.TargetedSentimentDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21803,6 +22275,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTopicsDetectionJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentTopicsDetectionJobProperties(&sv.TopicsDetectionJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -21838,6 +22311,7 @@ func awsAwsjson11_deserializeOpDocumentDetectDominantLanguageOutput(v **DetectDo if err := awsAwsjson11_deserializeDocumentListOfDominantLanguages(&sv.Languages, value); err != nil { return err } + default: _, _ = key, value @@ -21873,22 +22347,27 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu if err := awsAwsjson11_deserializeDocumentListOfBlocks(&sv.Blocks, value); err != nil { return err } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "DocumentType": if err := awsAwsjson11_deserializeDocumentListOfDocumentType(&sv.DocumentType, value); err != nil { return err } + case "Entities": if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } + case "Errors": if err := awsAwsjson11_deserializeDocumentListOfErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -21924,6 +22403,7 @@ func awsAwsjson11_deserializeOpDocumentDetectKeyPhrasesOutput(v **DetectKeyPhras if err := awsAwsjson11_deserializeDocumentListOfKeyPhrases(&sv.KeyPhrases, value); err != nil { return err } + default: _, _ = key, value @@ -21959,6 +22439,7 @@ func awsAwsjson11_deserializeOpDocumentDetectPiiEntitiesOutput(v **DetectPiiEnti if err := awsAwsjson11_deserializeDocumentListOfPiiEntities(&sv.Entities, value); err != nil { return err } + default: _, _ = key, value @@ -21998,10 +22479,12 @@ func awsAwsjson11_deserializeOpDocumentDetectSentimentOutput(v **DetectSentiment } sv.Sentiment = types.SentimentType(jtv) } + case "SentimentScore": if err := awsAwsjson11_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } + default: _, _ = key, value @@ -22037,6 +22520,7 @@ func awsAwsjson11_deserializeOpDocumentDetectSyntaxOutput(v **DetectSyntaxOutput if err := awsAwsjson11_deserializeDocumentListOfSyntaxTokens(&sv.SyntaxTokens, value); err != nil { return err } + default: _, _ = key, value @@ -22072,6 +22556,7 @@ func awsAwsjson11_deserializeOpDocumentDetectTargetedSentimentOutput(v **DetectT if err := awsAwsjson11_deserializeDocumentListOfTargetedSentimentEntities(&sv.Entities, value); err != nil { return err } + default: _, _ = key, value @@ -22107,6 +22592,7 @@ func awsAwsjson11_deserializeOpDocumentDetectToxicContentOutput(v **DetectToxicC if err := awsAwsjson11_deserializeDocumentListOfToxicLabels(&sv.ResultList, value); err != nil { return err } + default: _, _ = key, value @@ -22146,6 +22632,7 @@ func awsAwsjson11_deserializeOpDocumentImportModelOutput(v **ImportModelOutput, } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22181,6 +22668,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasetPropertiesList(&sv.DatasetPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22189,6 +22677,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22224,6 +22713,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassificationJobsOutput(v ** if err := awsAwsjson11_deserializeDocumentDocumentClassificationJobPropertiesList(&sv.DocumentClassificationJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22232,6 +22722,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassificationJobsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22267,6 +22758,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifiersOutput(v **ListDoc if err := awsAwsjson11_deserializeDocumentDocumentClassifierPropertiesList(&sv.DocumentClassifierPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22275,6 +22767,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifiersOutput(v **ListDoc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22310,6 +22803,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifierSummariesOutput(v * if err := awsAwsjson11_deserializeDocumentDocumentClassifierSummariesList(&sv.DocumentClassifierSummariesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22318,6 +22812,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentClassifierSummariesOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22353,6 +22848,7 @@ func awsAwsjson11_deserializeOpDocumentListDominantLanguageDetectionJobsOutput(v if err := awsAwsjson11_deserializeDocumentDominantLanguageDetectionJobPropertiesList(&sv.DominantLanguageDetectionJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22361,6 +22857,7 @@ func awsAwsjson11_deserializeOpDocumentListDominantLanguageDetectionJobsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22396,6 +22893,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointPropertiesList(&sv.EndpointPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22404,6 +22902,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22439,6 +22938,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionJobsOutput(v **ListE if err := awsAwsjson11_deserializeDocumentEntitiesDetectionJobPropertiesList(&sv.EntitiesDetectionJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22447,6 +22947,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionJobsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22482,6 +22983,7 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizersOutput(v **ListEntit if err := awsAwsjson11_deserializeDocumentEntityRecognizerPropertiesList(&sv.EntityRecognizerPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22490,6 +22992,7 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizersOutput(v **ListEntit } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22525,6 +23028,7 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizerSummariesOutput(v **L if err := awsAwsjson11_deserializeDocumentEntityRecognizerSummariesList(&sv.EntityRecognizerSummariesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22533,6 +23037,7 @@ func awsAwsjson11_deserializeOpDocumentListEntityRecognizerSummariesOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22568,6 +23073,7 @@ func awsAwsjson11_deserializeOpDocumentListEventsDetectionJobsOutput(v **ListEve if err := awsAwsjson11_deserializeDocumentEventsDetectionJobPropertiesList(&sv.EventsDetectionJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22576,6 +23082,7 @@ func awsAwsjson11_deserializeOpDocumentListEventsDetectionJobsOutput(v **ListEve } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22611,6 +23118,7 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelIterationHistoryOutput(v **Li if err := awsAwsjson11_deserializeDocumentFlywheelIterationPropertiesList(&sv.FlywheelIterationPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22619,6 +23127,7 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelIterationHistoryOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22654,6 +23163,7 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelsOutput(v **ListFlywheelsOutp if err := awsAwsjson11_deserializeDocumentFlywheelSummaryList(&sv.FlywheelSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22662,6 +23172,7 @@ func awsAwsjson11_deserializeOpDocumentListFlywheelsOutput(v **ListFlywheelsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22697,6 +23208,7 @@ func awsAwsjson11_deserializeOpDocumentListKeyPhrasesDetectionJobsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentKeyPhrasesDetectionJobPropertiesList(&sv.KeyPhrasesDetectionJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22705,6 +23217,7 @@ func awsAwsjson11_deserializeOpDocumentListKeyPhrasesDetectionJobsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22744,10 +23257,12 @@ func awsAwsjson11_deserializeOpDocumentListPiiEntitiesDetectionJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "PiiEntitiesDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentPiiEntitiesDetectionJobPropertiesList(&sv.PiiEntitiesDetectionJobPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -22787,10 +23302,12 @@ func awsAwsjson11_deserializeOpDocumentListSentimentDetectionJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "SentimentDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentSentimentDetectionJobPropertiesList(&sv.SentimentDetectionJobPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -22830,10 +23347,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -22873,10 +23392,12 @@ func awsAwsjson11_deserializeOpDocumentListTargetedSentimentDetectionJobsOutput( } sv.NextToken = ptr.String(jtv) } + case "TargetedSentimentDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTargetedSentimentDetectionJobPropertiesList(&sv.TargetedSentimentDetectionJobPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -22916,10 +23437,12 @@ func awsAwsjson11_deserializeOpDocumentListTopicsDetectionJobsOutput(v **ListTop } sv.NextToken = ptr.String(jtv) } + case "TopicsDetectionJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTopicsDetectionJobPropertiesList(&sv.TopicsDetectionJobPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -22959,6 +23482,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyRevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -22998,6 +23522,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.DocumentClassifierArn = ptr.String(jtv) } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -23006,6 +23531,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23014,6 +23540,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23022,6 +23549,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentClassificationJobOutput(v ** } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23061,6 +23589,7 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23069,6 +23598,7 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23077,6 +23607,7 @@ func awsAwsjson11_deserializeOpDocumentStartDominantLanguageDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23116,6 +23647,7 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.EntityRecognizerArn = ptr.String(jtv) } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -23124,6 +23656,7 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23132,6 +23665,7 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23140,6 +23674,7 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionJobOutput(v **Start } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23179,6 +23714,7 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23187,6 +23723,7 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23195,6 +23732,7 @@ func awsAwsjson11_deserializeOpDocumentStartEventsDetectionJobOutput(v **StartEv } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23234,6 +23772,7 @@ func awsAwsjson11_deserializeOpDocumentStartFlywheelIterationOutput(v **StartFly } sv.FlywheelArn = ptr.String(jtv) } + case "FlywheelIterationId": if value != nil { jtv, ok := value.(string) @@ -23242,6 +23781,7 @@ func awsAwsjson11_deserializeOpDocumentStartFlywheelIterationOutput(v **StartFly } sv.FlywheelIterationId = ptr.String(jtv) } + default: _, _ = key, value @@ -23281,6 +23821,7 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23289,6 +23830,7 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23297,6 +23839,7 @@ func awsAwsjson11_deserializeOpDocumentStartKeyPhrasesDetectionJobOutput(v **Sta } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23336,6 +23879,7 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23344,6 +23888,7 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23352,6 +23897,7 @@ func awsAwsjson11_deserializeOpDocumentStartPiiEntitiesDetectionJobOutput(v **St } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23391,6 +23937,7 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23399,6 +23946,7 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23407,6 +23955,7 @@ func awsAwsjson11_deserializeOpDocumentStartSentimentDetectionJobOutput(v **Star } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23446,6 +23995,7 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23454,6 +24004,7 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23462,6 +24013,7 @@ func awsAwsjson11_deserializeOpDocumentStartTargetedSentimentDetectionJobOutput( } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23501,6 +24053,7 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobArn = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23509,6 +24062,7 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23517,6 +24071,7 @@ func awsAwsjson11_deserializeOpDocumentStartTopicsDetectionJobOutput(v **StartTo } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23556,6 +24111,7 @@ func awsAwsjson11_deserializeOpDocumentStopDominantLanguageDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23564,6 +24120,7 @@ func awsAwsjson11_deserializeOpDocumentStopDominantLanguageDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23603,6 +24160,7 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionJobOutput(v **StopEn } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23611,6 +24169,7 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionJobOutput(v **StopEn } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23650,6 +24209,7 @@ func awsAwsjson11_deserializeOpDocumentStopEventsDetectionJobOutput(v **StopEven } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23658,6 +24218,7 @@ func awsAwsjson11_deserializeOpDocumentStopEventsDetectionJobOutput(v **StopEven } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23697,6 +24258,7 @@ func awsAwsjson11_deserializeOpDocumentStopKeyPhrasesDetectionJobOutput(v **Stop } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23705,6 +24267,7 @@ func awsAwsjson11_deserializeOpDocumentStopKeyPhrasesDetectionJobOutput(v **Stop } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23744,6 +24307,7 @@ func awsAwsjson11_deserializeOpDocumentStopPiiEntitiesDetectionJobOutput(v **Sto } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23752,6 +24316,7 @@ func awsAwsjson11_deserializeOpDocumentStopPiiEntitiesDetectionJobOutput(v **Sto } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23791,6 +24356,7 @@ func awsAwsjson11_deserializeOpDocumentStopSentimentDetectionJobOutput(v **StopS } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23799,6 +24365,7 @@ func awsAwsjson11_deserializeOpDocumentStopSentimentDetectionJobOutput(v **StopS } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -23838,6 +24405,7 @@ func awsAwsjson11_deserializeOpDocumentStopTargetedSentimentDetectionJobOutput(v } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23846,6 +24414,7 @@ func awsAwsjson11_deserializeOpDocumentStopTargetedSentimentDetectionJobOutput(v } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -24009,6 +24578,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.DesiredModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -24044,6 +24614,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFlywheelOutput(v **UpdateFlywheelOu if err := awsAwsjson11_deserializeDocumentFlywheelProperties(&sv.FlywheelProperties, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/comprehendmedical/deserializers.go b/service/comprehendmedical/deserializers.go index cefc110347c..ca294d06093 100644 --- a/service/comprehendmedical/deserializers.go +++ b/service/comprehendmedical/deserializers.go @@ -3488,6 +3488,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -3496,6 +3497,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Category = types.EntityType(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3508,6 +3510,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -3520,6 +3523,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Id = ptr.Int32(int32(i64)) } + case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -3553,6 +3557,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } } + case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -3561,6 +3566,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.RelationshipType = types.RelationshipType(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -3594,6 +3600,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -3602,10 +3609,12 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3614,6 +3623,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Type = types.EntitySubType(jtv) } + default: _, _ = key, value @@ -3691,6 +3701,7 @@ func awsAwsjson11_deserializeDocumentCharacters(v **types.Characters, value inte } sv.OriginalTextCharacters = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3730,6 +3741,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3745,6 +3757,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -3760,10 +3773,12 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -3772,6 +3787,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -3780,6 +3796,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3788,6 +3805,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.JobStatus = types.JobStatus(jtv) } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -3796,6 +3814,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.KMSKey = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3804,6 +3823,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.LanguageCode = types.LanguageCode(jtv) } + case "ManifestFilePath": if value != nil { jtv, ok := value.(string) @@ -3812,6 +3832,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.ManifestFilePath = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3820,6 +3841,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.Message = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -3828,10 +3850,12 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } sv.ModelVersion = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -3847,6 +3871,7 @@ func awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(v **typ } } + default: _, _ = key, value @@ -3916,6 +3941,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3928,6 +3954,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -3936,6 +3963,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Category = types.EntityType(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3948,6 +3976,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -3960,6 +3989,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Id = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -3993,6 +4023,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -4001,10 +4032,12 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4013,6 +4046,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = types.EntitySubType(jtv) } + default: _, _ = key, value @@ -4090,6 +4124,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -4098,6 +4133,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Category = types.ICD10CMEntityType(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4110,6 +4146,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -4122,6 +4159,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Id = ptr.Int32(int32(i64)) } + case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -4155,6 +4193,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } } + case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -4163,6 +4202,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.RelationshipType = types.ICD10CMRelationshipType(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -4196,6 +4236,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -4204,10 +4245,12 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentICD10CMTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4216,6 +4259,7 @@ func awsAwsjson11_deserializeDocumentICD10CMAttribute(v **types.ICD10CMAttribute } sv.Type = types.ICD10CMAttributeType(jtv) } + default: _, _ = key, value @@ -4289,6 +4333,7 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } sv.Code = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4297,6 +4342,7 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } sv.Description = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -4330,6 +4376,7 @@ func awsAwsjson11_deserializeDocumentICD10CMConcept(v **types.ICD10CMConcept, va } } + default: _, _ = key, value @@ -4399,6 +4446,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu if err := awsAwsjson11_deserializeDocumentICD10CMAttributeList(&sv.Attributes, value); err != nil { return err } + case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4411,6 +4459,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -4419,6 +4468,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Category = types.ICD10CMEntityCategory(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4431,10 +4481,12 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.EndOffset = ptr.Int32(int32(i64)) } + case "ICD10CMConcepts": if err := awsAwsjson11_deserializeDocumentICD10CMConceptList(&sv.ICD10CMConcepts, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -4447,6 +4499,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Id = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -4480,6 +4533,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -4488,10 +4542,12 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentICD10CMTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4500,6 +4556,7 @@ func awsAwsjson11_deserializeDocumentICD10CMEntity(v **types.ICD10CMEntity, valu } sv.Type = types.ICD10CMEntityType(jtv) } + default: _, _ = key, value @@ -4573,6 +4630,7 @@ func awsAwsjson11_deserializeDocumentICD10CMTrait(v **types.ICD10CMTrait, value } sv.Name = types.ICD10CMTraitName(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -4606,6 +4664,7 @@ func awsAwsjson11_deserializeDocumentICD10CMTrait(v **types.ICD10CMTrait, value } } + default: _, _ = key, value @@ -4679,6 +4738,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Bucket = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -4687,6 +4747,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -4726,6 +4787,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4765,6 +4827,7 @@ func awsAwsjson11_deserializeDocumentInvalidEncodingException(v **types.InvalidE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4804,6 +4867,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4843,6 +4907,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Bucket = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -4851,6 +4916,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -4890,6 +4956,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4933,6 +5000,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4945,6 +5013,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -4957,6 +5026,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Id = ptr.Int32(int32(i64)) } + case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -4990,6 +5060,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5023,6 +5094,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -5031,10 +5103,12 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentRxNormTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5043,6 +5117,7 @@ func awsAwsjson11_deserializeDocumentRxNormAttribute(v **types.RxNormAttribute, } sv.Type = types.RxNormAttributeType(jtv) } + default: _, _ = key, value @@ -5116,6 +5191,7 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } sv.Code = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5124,6 +5200,7 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } sv.Description = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5157,6 +5234,7 @@ func awsAwsjson11_deserializeDocumentRxNormConcept(v **types.RxNormConcept, valu } } + default: _, _ = key, value @@ -5226,6 +5304,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value if err := awsAwsjson11_deserializeDocumentRxNormAttributeList(&sv.Attributes, value); err != nil { return err } + case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5238,6 +5317,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -5246,6 +5326,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Category = types.RxNormEntityCategory(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5258,6 +5339,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5270,10 +5352,12 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Id = ptr.Int32(int32(i64)) } + case "RxNormConcepts": if err := awsAwsjson11_deserializeDocumentRxNormConceptList(&sv.RxNormConcepts, value); err != nil { return err } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5307,6 +5391,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -5315,10 +5400,12 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentRxNormTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5327,6 +5414,7 @@ func awsAwsjson11_deserializeDocumentRxNormEntity(v **types.RxNormEntity, value } sv.Type = types.RxNormEntityType(jtv) } + default: _, _ = key, value @@ -5400,6 +5488,7 @@ func awsAwsjson11_deserializeDocumentRxNormTrait(v **types.RxNormTrait, value in } sv.Name = types.RxNormTraitName(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5433,6 +5522,7 @@ func awsAwsjson11_deserializeDocumentRxNormTrait(v **types.RxNormTrait, value in } } + default: _, _ = key, value @@ -5506,6 +5596,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5549,6 +5640,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -5557,6 +5649,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Category = types.SNOMEDCTEntityCategory(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5569,6 +5662,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5581,6 +5675,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Id = ptr.Int32(int32(i64)) } + case "RelationshipScore": if value != nil { switch jtv := value.(type) { @@ -5614,6 +5709,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } } + case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -5622,6 +5718,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.RelationshipType = types.SNOMEDCTRelationshipType(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5655,10 +5752,12 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } } + case "SNOMEDCTConcepts": if err := awsAwsjson11_deserializeDocumentSNOMEDCTConceptList(&sv.SNOMEDCTConcepts, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -5667,10 +5766,12 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentSNOMEDCTTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5679,6 +5780,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTAttribute(v **types.SNOMEDCTAttribu } sv.Type = types.SNOMEDCTAttributeType(jtv) } + default: _, _ = key, value @@ -5752,6 +5854,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } sv.Code = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5760,6 +5863,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } sv.Description = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5793,6 +5897,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTConcept(v **types.SNOMEDCTConcept, } } + default: _, _ = key, value @@ -5866,6 +5971,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.Edition = ptr.String(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -5874,6 +5980,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.Language = ptr.String(jtv) } + case "VersionDate": if value != nil { jtv, ok := value.(string) @@ -5882,6 +5989,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTDetails(v **types.SNOMEDCTDetails, } sv.VersionDate = ptr.String(jtv) } + default: _, _ = key, value @@ -5917,6 +6025,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va if err := awsAwsjson11_deserializeDocumentSNOMEDCTAttributeList(&sv.Attributes, value); err != nil { return err } + case "BeginOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5929,6 +6038,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -5937,6 +6047,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Category = types.SNOMEDCTEntityCategory(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5949,6 +6060,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -5961,6 +6073,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Id = ptr.Int32(int32(i64)) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -5994,10 +6107,12 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } } + case "SNOMEDCTConcepts": if err := awsAwsjson11_deserializeDocumentSNOMEDCTConceptList(&sv.SNOMEDCTConcepts, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -6006,10 +6121,12 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Text = ptr.String(jtv) } + case "Traits": if err := awsAwsjson11_deserializeDocumentSNOMEDCTTraitList(&sv.Traits, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6018,6 +6135,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTEntity(v **types.SNOMEDCTEntity, va } sv.Type = types.SNOMEDCTEntityType(jtv) } + default: _, _ = key, value @@ -6091,6 +6209,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTTrait(v **types.SNOMEDCTTrait, valu } sv.Name = types.SNOMEDCTTraitName(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -6124,6 +6243,7 @@ func awsAwsjson11_deserializeDocumentSNOMEDCTTrait(v **types.SNOMEDCTTrait, valu } } + default: _, _ = key, value @@ -6197,6 +6317,7 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6236,6 +6357,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6275,6 +6397,7 @@ func awsAwsjson11_deserializeDocumentTrait(v **types.Trait, value interface{}) e } sv.Name = types.AttributeName(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -6308,6 +6431,7 @@ func awsAwsjson11_deserializeDocumentTrait(v **types.Trait, value interface{}) e } } + default: _, _ = key, value @@ -6377,6 +6501,7 @@ func awsAwsjson11_deserializeDocumentUnmappedAttribute(v **types.UnmappedAttribu if err := awsAwsjson11_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6385,6 +6510,7 @@ func awsAwsjson11_deserializeDocumentUnmappedAttribute(v **types.UnmappedAttribu } sv.Type = types.EntityType(jtv) } + default: _, _ = key, value @@ -6458,6 +6584,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6493,6 +6620,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntitiesDetectionV2JobOutput(v ** if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6528,6 +6656,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeICD10CMInferenceJobOutput(v **Des if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6563,6 +6692,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePHIDetectionJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6598,6 +6728,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRxNormInferenceJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6633,6 +6764,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSNOMEDCTInferenceJobOutput(v **De if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobProperties(&sv.ComprehendMedicalAsyncJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6668,6 +6800,7 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6809,7 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6684,10 +6818,12 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesOutput(v **DetectEntitiesOu } sv.PaginationToken = ptr.String(jtv) } + case "UnmappedAttributes": if err := awsAwsjson11_deserializeDocumentUnmappedAttributeList(&sv.UnmappedAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -6723,6 +6859,7 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6731,6 +6868,7 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6739,10 +6877,12 @@ func awsAwsjson11_deserializeOpDocumentDetectEntitiesV2Output(v **DetectEntities } sv.PaginationToken = ptr.String(jtv) } + case "UnmappedAttributes": if err := awsAwsjson11_deserializeDocumentUnmappedAttributeList(&sv.UnmappedAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -6778,6 +6918,7 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6786,6 +6927,7 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6794,6 +6936,7 @@ func awsAwsjson11_deserializeOpDocumentDetectPHIOutput(v **DetectPHIOutput, valu } sv.PaginationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6829,6 +6972,7 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput if err := awsAwsjson11_deserializeDocumentICD10CMEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6837,6 +6981,7 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6845,6 +6990,7 @@ func awsAwsjson11_deserializeOpDocumentInferICD10CMOutput(v **InferICD10CMOutput } sv.PaginationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6880,6 +7026,7 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, if err := awsAwsjson11_deserializeDocumentRxNormEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6888,6 +7035,7 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6896,6 +7044,7 @@ func awsAwsjson11_deserializeOpDocumentInferRxNormOutput(v **InferRxNormOutput, } sv.PaginationToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6931,10 +7080,12 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp if err := awsAwsjson11_deserializeDocumentCharacters(&sv.Characters, value); err != nil { return err } + case "Entities": if err := awsAwsjson11_deserializeDocumentSNOMEDCTEntityList(&sv.Entities, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -6943,6 +7094,7 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp } sv.ModelVersion = ptr.String(jtv) } + case "PaginationToken": if value != nil { jtv, ok := value.(string) @@ -6951,10 +7103,12 @@ func awsAwsjson11_deserializeOpDocumentInferSNOMEDCTOutput(v **InferSNOMEDCTOutp } sv.PaginationToken = ptr.String(jtv) } + case "SNOMEDCTDetails": if err := awsAwsjson11_deserializeDocumentSNOMEDCTDetails(&sv.SNOMEDCTDetails, value); err != nil { return err } + default: _, _ = key, value @@ -6990,6 +7144,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionV2JobsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6998,6 +7153,7 @@ func awsAwsjson11_deserializeOpDocumentListEntitiesDetectionV2JobsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7033,6 +7189,7 @@ func awsAwsjson11_deserializeOpDocumentListICD10CMInferenceJobsOutput(v **ListIC if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7041,6 +7198,7 @@ func awsAwsjson11_deserializeOpDocumentListICD10CMInferenceJobsOutput(v **ListIC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7076,6 +7234,7 @@ func awsAwsjson11_deserializeOpDocumentListPHIDetectionJobsOutput(v **ListPHIDet if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7084,6 +7243,7 @@ func awsAwsjson11_deserializeOpDocumentListPHIDetectionJobsOutput(v **ListPHIDet } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7119,6 +7279,7 @@ func awsAwsjson11_deserializeOpDocumentListRxNormInferenceJobsOutput(v **ListRxN if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7127,6 +7288,7 @@ func awsAwsjson11_deserializeOpDocumentListRxNormInferenceJobsOutput(v **ListRxN } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7162,6 +7324,7 @@ func awsAwsjson11_deserializeOpDocumentListSNOMEDCTInferenceJobsOutput(v **ListS if err := awsAwsjson11_deserializeDocumentComprehendMedicalAsyncJobPropertiesList(&sv.ComprehendMedicalAsyncJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7170,6 +7333,7 @@ func awsAwsjson11_deserializeOpDocumentListSNOMEDCTInferenceJobsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7209,6 +7373,7 @@ func awsAwsjson11_deserializeOpDocumentStartEntitiesDetectionV2JobOutput(v **Sta } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7248,6 +7413,7 @@ func awsAwsjson11_deserializeOpDocumentStartICD10CMInferenceJobOutput(v **StartI } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7287,6 +7453,7 @@ func awsAwsjson11_deserializeOpDocumentStartPHIDetectionJobOutput(v **StartPHIDe } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7326,6 +7493,7 @@ func awsAwsjson11_deserializeOpDocumentStartRxNormInferenceJobOutput(v **StartRx } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7365,6 +7533,7 @@ func awsAwsjson11_deserializeOpDocumentStartSNOMEDCTInferenceJobOutput(v **Start } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7404,6 +7573,7 @@ func awsAwsjson11_deserializeOpDocumentStopEntitiesDetectionV2JobOutput(v **Stop } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7443,6 +7613,7 @@ func awsAwsjson11_deserializeOpDocumentStopICD10CMInferenceJobOutput(v **StopICD } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7482,6 +7653,7 @@ func awsAwsjson11_deserializeOpDocumentStopPHIDetectionJobOutput(v **StopPHIDete } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7521,6 +7693,7 @@ func awsAwsjson11_deserializeOpDocumentStopRxNormInferenceJobOutput(v **StopRxNo } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7560,6 +7733,7 @@ func awsAwsjson11_deserializeOpDocumentStopSNOMEDCTInferenceJobOutput(v **StopSN } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/computeoptimizer/deserializers.go b/service/computeoptimizer/deserializers.go index 26cbdedabc3..30e6963459d 100644 --- a/service/computeoptimizer/deserializers.go +++ b/service/computeoptimizer/deserializers.go @@ -3786,6 +3786,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3825,6 +3826,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.AccountId = ptr.String(jtv) } + case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3840,6 +3842,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3848,6 +3851,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.Status = types.Status(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3856,6 +3860,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -3933,6 +3938,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.DesiredCapacity = int32(i64) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3941,6 +3947,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.InstanceType = ptr.String(jtv) } + case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -3953,6 +3960,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.MaxSize = int32(i64) } + case "minSize": if value != nil { jtv, ok := value.(json.Number) @@ -3965,6 +3973,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(v **types.Aut } sv.MinSize = int32(i64) } + default: _, _ = key, value @@ -4004,6 +4013,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(v * } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -4037,6 +4047,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(v * } } + default: _, _ = key, value @@ -4076,6 +4087,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AccountId = ptr.String(jtv) } + case "autoScalingGroupArn": if value != nil { jtv, ok := value.(string) @@ -4084,6 +4096,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AutoScalingGroupArn = ptr.String(jtv) } + case "autoScalingGroupName": if value != nil { jtv, ok := value.(string) @@ -4092,14 +4105,17 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.AutoScalingGroupName = ptr.String(jtv) } + case "currentConfiguration": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(&sv.CurrentConfiguration, value); err != nil { return err } + case "currentInstanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.CurrentInstanceGpuInfo, value); err != nil { return err } + case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -4108,10 +4124,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -4120,10 +4138,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } sv.Finding = types.Finding(jtv) } + case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -4139,6 +4159,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } } + case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -4172,14 +4193,17 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendation(v **types.Au } } + case "recommendationOptions": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOptions(&sv.RecommendationOptions, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -4215,10 +4239,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty if err := awsAwsjson10_deserializeDocumentAutoScalingGroupConfiguration(&sv.Configuration, value); err != nil { return err } + case "instanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.InstanceGpuInfo, value); err != nil { return err } + case "migrationEffort": if value != nil { jtv, ok := value.(string) @@ -4227,6 +4253,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } sv.MigrationEffort = types.MigrationEffort(jtv) } + case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -4260,10 +4287,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } } + case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -4276,14 +4305,17 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendationOption(v **ty } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -4387,6 +4419,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDisc if err := awsAwsjson10_deserializeDocumentAutoScalingGroupEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -4420,6 +4453,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingGroupSavingsOpportunityAfterDisc } } + default: _, _ = key, value @@ -4459,6 +4493,7 @@ func awsAwsjson10_deserializeDocumentContainerConfiguration(v **types.ContainerC } sv.ContainerName = ptr.String(jtv) } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -4471,10 +4506,12 @@ func awsAwsjson10_deserializeDocumentContainerConfiguration(v **types.ContainerC } sv.Cpu = ptr.Int32(int32(i64)) } + case "memorySizeConfiguration": if err := awsAwsjson10_deserializeDocumentMemorySizeConfiguration(&sv.MemorySizeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4548,6 +4585,7 @@ func awsAwsjson10_deserializeDocumentContainerRecommendation(v **types.Container } sv.ContainerName = ptr.String(jtv) } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -4560,10 +4598,12 @@ func awsAwsjson10_deserializeDocumentContainerRecommendation(v **types.Container } sv.Cpu = ptr.Int32(int32(i64)) } + case "memorySizeConfiguration": if err := awsAwsjson10_deserializeDocumentMemorySizeConfiguration(&sv.MemorySizeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4677,6 +4717,7 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.High = i64 } + case "low": if value != nil { jtv, ok := value.(json.Number) @@ -4689,6 +4730,7 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.Low = i64 } + case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -4701,6 +4743,7 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.Medium = i64 } + case "veryLow": if value != nil { jtv, ok := value.(json.Number) @@ -4713,6 +4756,7 @@ func awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(v **types.Cur } sv.VeryLow = i64 } + default: _, _ = key, value @@ -4752,6 +4796,7 @@ func awsAwsjson10_deserializeDocumentCustomizableMetricParameters(v **types.Cust } sv.Headroom = types.CustomizableMetricHeadroom(jtv) } + case "threshold": if value != nil { jtv, ok := value.(string) @@ -4760,6 +4805,7 @@ func awsAwsjson10_deserializeDocumentCustomizableMetricParameters(v **types.Cust } sv.Threshold = types.CustomizableMetricThreshold(jtv) } + default: _, _ = key, value @@ -4803,6 +4849,7 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.AllocatedStorage = int32(i64) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -4815,6 +4862,7 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.Iops = ptr.Int32(int32(i64)) } + case "maxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -4827,6 +4875,7 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.MaxAllocatedStorage = ptr.Int32(int32(i64)) } + case "storageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -4839,6 +4888,7 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.StorageThroughput = ptr.Int32(int32(i64)) } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -4847,6 +4897,7 @@ func awsAwsjson10_deserializeDocumentDBStorageConfiguration(v **types.DBStorageC } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -4882,6 +4933,7 @@ func awsAwsjson10_deserializeDocumentEBSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentEBSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } + default: _, _ = key, value @@ -4921,6 +4973,7 @@ func awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(v **types.EBSEst } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -4954,6 +5007,7 @@ func awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(v **types.EBSEst } } + default: _, _ = key, value @@ -4993,6 +5047,7 @@ func awsAwsjson10_deserializeDocumentEBSSavingsEstimationMode(v **types.EBSSavin } sv.Source = types.EBSSavingsEstimationModeSource(jtv) } + default: _, _ = key, value @@ -5028,6 +5083,7 @@ func awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(v **typ if err := awsAwsjson10_deserializeDocumentEBSEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -5061,6 +5117,7 @@ func awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(v **typ } } + default: _, _ = key, value @@ -5100,6 +5157,7 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } sv.Name = types.EBSMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -5108,6 +5166,7 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } sv.Statistic = types.MetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -5141,6 +5200,7 @@ func awsAwsjson10_deserializeDocumentEBSUtilizationMetric(v **types.EBSUtilizati } } + default: _, _ = key, value @@ -5210,6 +5270,7 @@ func awsAwsjson10_deserializeDocumentECSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentECSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } + default: _, _ = key, value @@ -5249,6 +5310,7 @@ func awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(v **types.ECSEst } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -5282,6 +5344,7 @@ func awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(v **types.ECSEst } } + default: _, _ = key, value @@ -5321,6 +5384,7 @@ func awsAwsjson10_deserializeDocumentECSSavingsEstimationMode(v **types.ECSSavin } sv.Source = types.ECSSavingsEstimationModeSource(jtv) } + default: _, _ = key, value @@ -5356,6 +5420,7 @@ func awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(v **typ if err := awsAwsjson10_deserializeDocumentECSEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -5389,6 +5454,7 @@ func awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(v **typ } } + default: _, _ = key, value @@ -5424,6 +5490,7 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedMetric(v **types.ECSServ if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.LowerBoundValues, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5432,14 +5499,17 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedMetric(v **types.ECSServ } sv.Name = types.ECSServiceMetricName(jtv) } + case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } + case "upperBoundValues": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.UpperBoundValues, value); err != nil { return err } + default: _, _ = key, value @@ -5538,6 +5608,7 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5546,6 +5617,7 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } sv.Name = types.ECSServiceMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -5554,6 +5626,7 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } sv.Statistic = types.ECSServiceMetricStatistic(jtv) } + case "upperBoundValue": if value != nil { switch jtv := value.(type) { @@ -5587,6 +5660,7 @@ func awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetric(v **ty } } + default: _, _ = key, value @@ -5660,6 +5734,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.AccountId = ptr.String(jtv) } + case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -5668,14 +5743,17 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } + case "currentServiceConfiguration": if err := awsAwsjson10_deserializeDocumentServiceConfiguration(&sv.CurrentServiceConfiguration, value); err != nil { return err } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentECSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -5684,10 +5762,12 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.Finding = types.ECSServiceRecommendationFinding(jtv) } + case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentECSServiceRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -5703,6 +5783,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -5711,6 +5792,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.LaunchType = types.ECSServiceLaunchType(jtv) } + case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -5744,6 +5826,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -5752,18 +5835,22 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendation(v **types.ECSServi } sv.ServiceArn = ptr.String(jtv) } + case "serviceRecommendationOptions": if err := awsAwsjson10_deserializeDocumentECSServiceRecommendationOptions(&sv.ServiceRecommendationOptions, value); err != nil { return err } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentECSServiceUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -5835,6 +5922,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC if err := awsAwsjson10_deserializeDocumentContainerRecommendations(&sv.ContainerRecommendations, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -5847,6 +5935,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC } sv.Cpu = ptr.Int32(int32(i64)) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -5859,18 +5948,22 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendationOption(v **types.EC } sv.Memory = ptr.Int32(int32(i64)) } + case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentECSServiceProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentECSSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -5974,6 +6067,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( if err := awsAwsjson10_deserializeDocumentECSServiceProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } + case "recommendedCpuUnits": if value != nil { jtv, ok := value.(json.Number) @@ -5986,6 +6080,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( } sv.RecommendedCpuUnits = int32(i64) } + case "recommendedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -5998,6 +6093,7 @@ func awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetric( } sv.RecommendedMemorySize = int32(i64) } + default: _, _ = key, value @@ -6071,6 +6167,7 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } sv.Name = types.ECSServiceMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -6079,6 +6176,7 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } sv.Statistic = types.ECSServiceMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -6112,6 +6210,7 @@ func awsAwsjson10_deserializeDocumentECSServiceUtilizationMetric(v **types.ECSSe } } + default: _, _ = key, value @@ -6181,14 +6280,17 @@ func awsAwsjson10_deserializeDocumentEffectivePreferredResource(v **types.Effect if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.EffectiveIncludeList, value); err != nil { return err } + case "excludeList": if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.ExcludeList, value); err != nil { return err } + case "includeList": if err := awsAwsjson10_deserializeDocumentPreferredResourceValues(&sv.IncludeList, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6197,6 +6299,7 @@ func awsAwsjson10_deserializeDocumentEffectivePreferredResource(v **types.Effect } sv.Name = types.PreferredResourceName(jtv) } + default: _, _ = key, value @@ -6266,6 +6369,7 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type if err := awsAwsjson10_deserializeDocumentCpuVendorArchitectures(&sv.CpuVendorArchitectures, value); err != nil { return err } + case "enhancedInfrastructureMetrics": if value != nil { jtv, ok := value.(string) @@ -6274,10 +6378,12 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } + case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } + case "inferredWorkloadTypes": if value != nil { jtv, ok := value.(string) @@ -6286,6 +6392,7 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.InferredWorkloadTypes = types.InferredWorkloadTypesPreference(jtv) } + case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -6294,18 +6401,22 @@ func awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(v **type } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } + case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } + case "savingsEstimationMode": if err := awsAwsjson10_deserializeDocumentInstanceSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } + case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } + default: _, _ = key, value @@ -6345,6 +6456,7 @@ func awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(v **types.Estimated } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -6378,6 +6490,7 @@ func awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(v **types.Estimated } } + default: _, _ = key, value @@ -6413,6 +6526,7 @@ func awsAwsjson10_deserializeDocumentExportDestination(v **types.ExportDestinati if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -6452,6 +6566,7 @@ func awsAwsjson10_deserializeDocumentExternalMetricsPreference(v **types.Externa } sv.Source = types.ExternalMetricsSource(jtv) } + default: _, _ = key, value @@ -6491,6 +6606,7 @@ func awsAwsjson10_deserializeDocumentExternalMetricStatus(v **types.ExternalMetr } sv.StatusCode = types.ExternalMetricStatusCode(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6499,6 +6615,7 @@ func awsAwsjson10_deserializeDocumentExternalMetricStatus(v **types.ExternalMetr } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6538,6 +6655,7 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Code = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -6546,6 +6664,7 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Identifier = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6554,6 +6673,7 @@ func awsAwsjson10_deserializeDocumentGetRecommendationError(v **types.GetRecomme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6631,6 +6751,7 @@ func awsAwsjson10_deserializeDocumentGpu(v **types.Gpu, value interface{}) error } sv.GpuCount = int32(i64) } + case "gpuMemorySizeInMiB": if value != nil { jtv, ok := value.(json.Number) @@ -6643,6 +6764,7 @@ func awsAwsjson10_deserializeDocumentGpu(v **types.Gpu, value interface{}) error } sv.GpuMemorySizeInMiB = int32(i64) } + default: _, _ = key, value @@ -6678,6 +6800,7 @@ func awsAwsjson10_deserializeDocumentGpuInfo(v **types.GpuInfo, value interface{ if err := awsAwsjson10_deserializeDocumentGpus(&sv.Gpus, value); err != nil { return err } + default: _, _ = key, value @@ -6747,10 +6870,12 @@ func awsAwsjson10_deserializeDocumentInferredWorkloadSaving(v **types.InferredWo if err := awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } + default: _, _ = key, value @@ -6860,6 +6985,7 @@ func awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(v **types.I } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -6893,6 +7019,7 @@ func awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(v **types.I } } + default: _, _ = key, value @@ -6932,10 +7059,12 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.AccountId = ptr.String(jtv) } + case "currentInstanceGpuInfo": if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.CurrentInstanceGpuInfo, value); err != nil { return err } + case "currentInstanceType": if value != nil { jtv, ok := value.(string) @@ -6944,6 +7073,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.CurrentInstanceType = ptr.String(jtv) } + case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -6952,14 +7082,17 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "externalMetricStatus": if err := awsAwsjson10_deserializeDocumentExternalMetricStatus(&sv.ExternalMetricStatus, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -6968,10 +7101,12 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.Finding = types.Finding(jtv) } + case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentInstanceRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } + case "idle": if value != nil { jtv, ok := value.(string) @@ -6980,10 +7115,12 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.Idle = types.InstanceIdle(jtv) } + case "inferredWorkloadTypes": if err := awsAwsjson10_deserializeDocumentInferredWorkloadTypes(&sv.InferredWorkloadTypes, value); err != nil { return err } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -6992,6 +7129,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceArn = ptr.String(jtv) } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -7000,6 +7138,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceName = ptr.String(jtv) } + case "instanceState": if value != nil { jtv, ok := value.(string) @@ -7008,6 +7147,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } sv.InstanceState = types.InstanceState(jtv) } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -7023,6 +7163,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } } + case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -7056,22 +7197,27 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendation(v **types.InstanceRe } } + case "recommendationOptions": if err := awsAwsjson10_deserializeDocumentRecommendationOptions(&sv.RecommendationOptions, value); err != nil { return err } + case "recommendationSources": if err := awsAwsjson10_deserializeDocumentRecommendationSources(&sv.RecommendationSources, value); err != nil { return err } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -7143,6 +7289,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst if err := awsAwsjson10_deserializeDocumentGpuInfo(&sv.InstanceGpuInfo, value); err != nil { return err } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -7151,6 +7298,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.InstanceType = ptr.String(jtv) } + case "migrationEffort": if value != nil { jtv, ok := value.(string) @@ -7159,6 +7307,7 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.MigrationEffort = types.MigrationEffort(jtv) } + case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -7192,14 +7341,17 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } } + case "platformDifferences": if err := awsAwsjson10_deserializeDocumentPlatformDifferences(&sv.PlatformDifferences, value); err != nil { return err } + case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -7212,14 +7364,17 @@ func awsAwsjson10_deserializeDocumentInstanceRecommendationOption(v **types.Inst } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -7293,6 +7448,7 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsEstimationMode(v **types.Ins } sv.Source = types.InstanceSavingsEstimationModeSource(jtv) } + default: _, _ = key, value @@ -7328,6 +7484,7 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(v if err := awsAwsjson10_deserializeDocumentInstanceEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -7361,6 +7518,7 @@ func awsAwsjson10_deserializeDocumentInstanceSavingsOpportunityAfterDiscounts(v } } + default: _, _ = key, value @@ -7400,6 +7558,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7439,6 +7598,7 @@ func awsAwsjson10_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7474,6 +7634,7 @@ func awsAwsjson10_deserializeDocumentLambdaEffectiveRecommendationPreferences(v if err := awsAwsjson10_deserializeDocumentLambdaSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } + default: _, _ = key, value @@ -7513,6 +7674,7 @@ func awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(v **types.Lam } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7546,6 +7708,7 @@ func awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(v **types.Lam } } + default: _, _ = key, value @@ -7585,6 +7748,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } sv.Name = types.LambdaFunctionMemoryMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -7593,6 +7757,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } sv.Statistic = types.LambdaFunctionMemoryMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7626,6 +7791,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetric(v **typ } } + default: _, _ = key, value @@ -7703,10 +7869,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOption(v } sv.MemorySize = int32(i64) } + case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentLambdaFunctionMemoryProjectedMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -7719,14 +7887,17 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOption(v } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -7800,6 +7971,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.AccountId = ptr.String(jtv) } + case "currentMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -7812,6 +7984,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.CurrentMemorySize = int32(i64) } + case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -7820,10 +7993,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentLambdaEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -7832,10 +8007,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.Finding = types.LambdaFunctionRecommendationFinding(jtv) } + case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionRecommendationFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } + case "functionArn": if value != nil { jtv, ok := value.(string) @@ -7844,6 +8021,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.FunctionArn = ptr.String(jtv) } + case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -7852,6 +8030,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.FunctionVersion = ptr.String(jtv) } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -7867,6 +8046,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } } + case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -7900,10 +8080,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } } + case "memorySizeRecommendationOptions": if err := awsAwsjson10_deserializeDocumentLambdaFunctionMemoryRecommendationOptions(&sv.MemorySizeRecommendationOptions, value); err != nil { return err } + case "numberOfInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -7916,14 +8098,17 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionRecommendation(v **types.Lamb } sv.NumberOfInvocations = i64 } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -8033,6 +8218,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } sv.Name = types.LambdaFunctionMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -8041,6 +8227,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } sv.Statistic = types.LambdaFunctionMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -8074,6 +8261,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionUtilizationMetric(v **types.L } } + default: _, _ = key, value @@ -8147,6 +8335,7 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsEstimationMode(v **types.Lambd } sv.Source = types.LambdaSavingsEstimationModeSource(jtv) } + default: _, _ = key, value @@ -8182,6 +8371,7 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(v ** if err := awsAwsjson10_deserializeDocumentLambdaEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -8215,6 +8405,7 @@ func awsAwsjson10_deserializeDocumentLambdaSavingsOpportunityAfterDiscounts(v ** } } + default: _, _ = key, value @@ -8254,6 +8445,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.InstanceType = ptr.String(jtv) } + case "licenseEdition": if value != nil { jtv, ok := value.(string) @@ -8262,6 +8454,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseEdition = types.LicenseEdition(jtv) } + case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -8270,6 +8463,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseModel = types.LicenseModel(jtv) } + case "licenseName": if value != nil { jtv, ok := value.(string) @@ -8278,6 +8472,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseName = types.LicenseName(jtv) } + case "licenseVersion": if value != nil { jtv, ok := value.(string) @@ -8286,10 +8481,12 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseVersion = ptr.String(jtv) } + case "metricsSource": if err := awsAwsjson10_deserializeDocumentMetricsSource(&sv.MetricsSource, value); err != nil { return err } + case "numberOfCores": if value != nil { jtv, ok := value.(json.Number) @@ -8302,6 +8499,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.NumberOfCores = int32(i64) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -8310,6 +8508,7 @@ func awsAwsjson10_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.OperatingSystem = ptr.String(jtv) } + default: _, _ = key, value @@ -8385,10 +8584,12 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.AccountId = ptr.String(jtv) } + case "currentLicenseConfiguration": if err := awsAwsjson10_deserializeDocumentLicenseConfiguration(&sv.CurrentLicenseConfiguration, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -8397,10 +8598,12 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.Finding = types.LicenseFinding(jtv) } + case "findingReasonCodes": if err := awsAwsjson10_deserializeDocumentLicenseFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -8416,10 +8619,12 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } } + case "licenseRecommendationOptions": if err := awsAwsjson10_deserializeDocumentLicenseRecommendationOptions(&sv.LicenseRecommendationOptions, value); err != nil { return err } + case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -8453,6 +8658,7 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8461,10 +8667,12 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendation(v **types.LicenseReco } sv.ResourceArn = ptr.String(jtv) } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8504,6 +8712,7 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.LicenseEdition = types.LicenseEdition(jtv) } + case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -8512,6 +8721,7 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.LicenseModel = types.LicenseModel(jtv) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -8520,6 +8730,7 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.OperatingSystem = ptr.String(jtv) } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -8532,10 +8743,12 @@ func awsAwsjson10_deserializeDocumentLicenseRecommendationOption(v **types.Licen } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + default: _, _ = key, value @@ -8643,6 +8856,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8686,6 +8900,7 @@ func awsAwsjson10_deserializeDocumentMemorySizeConfiguration(v **types.MemorySiz } sv.Memory = ptr.Int32(int32(i64)) } + case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -8698,6 +8913,7 @@ func awsAwsjson10_deserializeDocumentMemorySizeConfiguration(v **types.MemorySiz } sv.MemoryReservation = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8737,6 +8953,7 @@ func awsAwsjson10_deserializeDocumentMetricSource(v **types.MetricSource, value } sv.Provider = types.MetricSourceProvider(jtv) } + case "providerArn": if value != nil { jtv, ok := value.(string) @@ -8745,6 +8962,7 @@ func awsAwsjson10_deserializeDocumentMetricSource(v **types.MetricSource, value } sv.ProviderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8879,6 +9097,7 @@ func awsAwsjson10_deserializeDocumentMissingAuthenticationToken(v **types.Missin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8918,6 +9137,7 @@ func awsAwsjson10_deserializeDocumentOptInRequiredException(v **types.OptInRequi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9029,14 +9249,17 @@ func awsAwsjson10_deserializeDocumentProjectedMetric(v **types.ProjectedMetric, } sv.Name = types.MetricName(jtv) } + case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } + case "values": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9144,14 +9367,17 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseProjectedMetric(v **types.RDSDat } sv.Name = types.RDSDBMetricName(jtv) } + case "timestamps": if err := awsAwsjson10_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } + case "values": if err := awsAwsjson10_deserializeDocumentMetricValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9221,6 +9447,7 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric if err := awsAwsjson10_deserializeDocumentRDSDatabaseProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -9233,6 +9460,7 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric } sv.Rank = int32(i64) } + case "recommendedDBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -9241,6 +9469,7 @@ func awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetric } sv.RecommendedDBInstanceClass = ptr.String(jtv) } + default: _, _ = key, value @@ -9314,6 +9543,7 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } sv.DbInstanceClass = ptr.String(jtv) } + case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -9347,10 +9577,12 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } } + case "projectedUtilizationMetrics": if err := awsAwsjson10_deserializeDocumentRDSDBProjectedUtilizationMetrics(&sv.ProjectedUtilizationMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -9363,14 +9595,17 @@ func awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOption(v **types } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -9478,6 +9713,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.AccountId = ptr.String(jtv) } + case "currentDBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -9486,14 +9722,17 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.CurrentDBInstanceClass = ptr.String(jtv) } + case "currentStorageConfiguration": if err := awsAwsjson10_deserializeDocumentDBStorageConfiguration(&sv.CurrentStorageConfiguration, value); err != nil { return err } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "engine": if value != nil { jtv, ok := value.(string) @@ -9502,6 +9741,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.Engine = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -9510,6 +9750,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.EngineVersion = ptr.String(jtv) } + case "idle": if value != nil { jtv, ok := value.(string) @@ -9518,6 +9759,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.Idle = types.Idle(jtv) } + case "instanceFinding": if value != nil { jtv, ok := value.(string) @@ -9526,14 +9768,17 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.InstanceFinding = types.RDSInstanceFinding(jtv) } + case "instanceFindingReasonCodes": if err := awsAwsjson10_deserializeDocumentRDSInstanceFindingReasonCodes(&sv.InstanceFindingReasonCodes, value); err != nil { return err } + case "instanceRecommendationOptions": if err := awsAwsjson10_deserializeDocumentRDSDBInstanceRecommendationOptions(&sv.InstanceRecommendationOptions, value); err != nil { return err } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -9549,6 +9794,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } } + case "lookbackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -9582,6 +9828,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9590,6 +9837,7 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.ResourceArn = ptr.String(jtv) } + case "storageFinding": if value != nil { jtv, ok := value.(string) @@ -9598,22 +9846,27 @@ func awsAwsjson10_deserializeDocumentRDSDBRecommendation(v **types.RDSDBRecommen } sv.StorageFinding = types.RDSStorageFinding(jtv) } + case "storageFindingReasonCodes": if err := awsAwsjson10_deserializeDocumentRDSStorageFindingReasonCodes(&sv.StorageFindingReasonCodes, value); err != nil { return err } + case "storageRecommendationOptions": if err := awsAwsjson10_deserializeDocumentRDSDBStorageRecommendationOptions(&sv.StorageRecommendationOptions, value); err != nil { return err } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentRDSDBUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -9691,18 +9944,22 @@ func awsAwsjson10_deserializeDocumentRDSDBStorageRecommendationOption(v **types. } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + case "storageConfiguration": if err := awsAwsjson10_deserializeDocumentDBStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9776,6 +10033,7 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } sv.Name = types.RDSDBMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -9784,6 +10042,7 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } sv.Statistic = types.RDSDBMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -9817,6 +10076,7 @@ func awsAwsjson10_deserializeDocumentRDSDBUtilizationMetric(v **types.RDSDBUtili } } + default: _, _ = key, value @@ -9886,6 +10146,7 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t if err := awsAwsjson10_deserializeDocumentCpuVendorArchitectures(&sv.CpuVendorArchitectures, value); err != nil { return err } + case "enhancedInfrastructureMetrics": if value != nil { jtv, ok := value.(string) @@ -9894,6 +10155,7 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } + case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -9902,10 +10164,12 @@ func awsAwsjson10_deserializeDocumentRDSEffectiveRecommendationPreferences(v **t } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } + case "savingsEstimationMode": if err := awsAwsjson10_deserializeDocumentRDSSavingsEstimationMode(&sv.SavingsEstimationMode, value); err != nil { return err } + default: _, _ = key, value @@ -9945,6 +10209,7 @@ func awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(v **type } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -9978,6 +10243,7 @@ func awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(v **type } } + default: _, _ = key, value @@ -10049,6 +10315,7 @@ func awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts if err := awsAwsjson10_deserializeDocumentRDSInstanceEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -10082,6 +10349,7 @@ func awsAwsjson10_deserializeDocumentRDSInstanceSavingsOpportunityAfterDiscounts } } + default: _, _ = key, value @@ -10121,6 +10389,7 @@ func awsAwsjson10_deserializeDocumentRDSSavingsEstimationMode(v **types.RDSSavin } sv.Source = types.RDSSavingsEstimationModeSource(jtv) } + default: _, _ = key, value @@ -10160,6 +10429,7 @@ func awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(v **types } sv.Currency = types.Currency(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -10193,6 +10463,7 @@ func awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(v **types } } + default: _, _ = key, value @@ -10264,6 +10535,7 @@ func awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts( if err := awsAwsjson10_deserializeDocumentRDSStorageEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -10297,6 +10569,7 @@ func awsAwsjson10_deserializeDocumentRDSStorageSavingsOpportunityAfterDiscounts( } } + default: _, _ = key, value @@ -10370,6 +10643,7 @@ func awsAwsjson10_deserializeDocumentReasonCodeSummary(v **types.ReasonCodeSumma } sv.Name = types.FindingReasonCode(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -10403,6 +10677,7 @@ func awsAwsjson10_deserializeDocumentReasonCodeSummary(v **types.ReasonCodeSumma } } + default: _, _ = key, value @@ -10449,10 +10724,12 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } } + case "destination": if err := awsAwsjson10_deserializeDocumentExportDestination(&sv.Destination, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10461,6 +10738,7 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.FailureReason = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -10469,6 +10747,7 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.JobId = ptr.String(jtv) } + case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10484,6 +10763,7 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10492,6 +10772,7 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10500,6 +10781,7 @@ func awsAwsjson10_deserializeDocumentRecommendationExportJob(v **types.Recommend } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -10607,10 +10889,12 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } + case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } + case "inferredWorkloadTypes": if value != nil { jtv, ok := value.(string) @@ -10619,6 +10903,7 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.InferredWorkloadTypes = types.InferredWorkloadTypesPreference(jtv) } + case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -10627,10 +10912,12 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } + case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10639,6 +10926,7 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.ResourceType = types.ResourceType(jtv) } + case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -10647,14 +10935,17 @@ func awsAwsjson10_deserializeDocumentRecommendationPreferencesDetail(v **types.R } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } + case "scope": if err := awsAwsjson10_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } + case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } + default: _, _ = key, value @@ -10728,6 +11019,7 @@ func awsAwsjson10_deserializeDocumentRecommendationSource(v **types.Recommendati } sv.RecommendationSourceArn = ptr.String(jtv) } + case "recommendationSourceType": if value != nil { jtv, ok := value.(string) @@ -10736,6 +11028,7 @@ func awsAwsjson10_deserializeDocumentRecommendationSource(v **types.Recommendati } sv.RecommendationSourceType = types.RecommendationSourceType(jtv) } + default: _, _ = key, value @@ -10843,14 +11136,17 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.AccountId = ptr.String(jtv) } + case "currentPerformanceRiskRatings": if err := awsAwsjson10_deserializeDocumentCurrentPerformanceRiskRatings(&sv.CurrentPerformanceRiskRatings, value); err != nil { return err } + case "inferredWorkloadSavings": if err := awsAwsjson10_deserializeDocumentInferredWorkloadSavings(&sv.InferredWorkloadSavings, value); err != nil { return err } + case "recommendationResourceType": if value != nil { jtv, ok := value.(string) @@ -10859,14 +11155,17 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationResourceType = types.RecommendationSourceType(jtv) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "summaries": if err := awsAwsjson10_deserializeDocumentSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -10902,6 +11201,7 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. if err := awsAwsjson10_deserializeDocumentProjectedMetrics(&sv.ProjectedMetrics, value); err != nil { return err } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -10914,6 +11214,7 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. } sv.Rank = int32(i64) } + case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -10922,6 +11223,7 @@ func awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetric(v **types. } sv.RecommendedInstanceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10995,6 +11297,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11034,6 +11337,7 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -11042,6 +11346,7 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Key = ptr.String(jtv) } + case "metadataKey": if value != nil { jtv, ok := value.(string) @@ -11050,6 +11355,7 @@ func awsAwsjson10_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.MetadataKey = ptr.String(jtv) } + default: _, _ = key, value @@ -11085,6 +11391,7 @@ func awsAwsjson10_deserializeDocumentSavingsOpportunity(v **types.SavingsOpportu if err := awsAwsjson10_deserializeDocumentEstimatedMonthlySavings(&sv.EstimatedMonthlySavings, value); err != nil { return err } + case "savingsOpportunityPercentage": if value != nil { switch jtv := value.(type) { @@ -11118,6 +11425,7 @@ func awsAwsjson10_deserializeDocumentSavingsOpportunity(v **types.SavingsOpportu } } + default: _, _ = key, value @@ -11157,6 +11465,7 @@ func awsAwsjson10_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Name = types.ScopeName(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11165,6 +11474,7 @@ func awsAwsjson10_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11204,10 +11514,12 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.AutoScalingConfiguration = types.AutoScalingConfiguration(jtv) } + case "containerConfigurations": if err := awsAwsjson10_deserializeDocumentContainerConfigurations(&sv.ContainerConfigurations, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -11220,6 +11532,7 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.Cpu = ptr.Int32(int32(i64)) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -11232,6 +11545,7 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.Memory = ptr.Int32(int32(i64)) } + case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -11240,6 +11554,7 @@ func awsAwsjson10_deserializeDocumentServiceConfiguration(v **types.ServiceConfi } sv.TaskDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11279,6 +11594,7 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11352,10 +11668,12 @@ func awsAwsjson10_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.Name = types.Finding(jtv) } + case "reasonCodeSummaries": if err := awsAwsjson10_deserializeDocumentReasonCodeSummaries(&sv.ReasonCodeSummaries, value); err != nil { return err } + case "value": if value != nil { switch jtv := value.(type) { @@ -11389,6 +11707,7 @@ func awsAwsjson10_deserializeDocumentSummary(v **types.Summary, value interface{ } } + default: _, _ = key, value @@ -11428,6 +11747,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11436,6 +11756,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11509,6 +11830,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11591,6 +11913,7 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } sv.Name = types.MetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -11599,6 +11922,7 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } sv.Statistic = types.MetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -11632,6 +11956,7 @@ func awsAwsjson10_deserializeDocumentUtilizationMetric(v **types.UtilizationMetr } } + default: _, _ = key, value @@ -11705,10 +12030,12 @@ func awsAwsjson10_deserializeDocumentUtilizationPreference(v **types.Utilization } sv.MetricName = types.CustomizableMetricName(jtv) } + case "metricParameters": if err := awsAwsjson10_deserializeDocumentCustomizableMetricParameters(&sv.MetricParameters, value); err != nil { return err } + default: _, _ = key, value @@ -11782,6 +12109,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.RootVolume = ptr.Bool(jtv) } + case "volumeBaselineIOPS": if value != nil { jtv, ok := value.(json.Number) @@ -11794,6 +12122,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBaselineIOPS = int32(i64) } + case "volumeBaselineThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -11806,6 +12135,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBaselineThroughput = int32(i64) } + case "volumeBurstIOPS": if value != nil { jtv, ok := value.(json.Number) @@ -11818,6 +12148,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBurstIOPS = int32(i64) } + case "volumeBurstThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -11830,6 +12161,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeBurstThroughput = int32(i64) } + case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -11842,6 +12174,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeSize = int32(i64) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -11850,6 +12183,7 @@ func awsAwsjson10_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -11889,10 +12223,12 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.AccountId = ptr.String(jtv) } + case "currentConfiguration": if err := awsAwsjson10_deserializeDocumentVolumeConfiguration(&sv.CurrentConfiguration, value); err != nil { return err } + case "currentPerformanceRisk": if value != nil { jtv, ok := value.(string) @@ -11901,10 +12237,12 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.CurrentPerformanceRisk = types.CurrentPerformanceRisk(jtv) } + case "effectiveRecommendationPreferences": if err := awsAwsjson10_deserializeDocumentEBSEffectiveRecommendationPreferences(&sv.EffectiveRecommendationPreferences, value); err != nil { return err } + case "finding": if value != nil { jtv, ok := value.(string) @@ -11913,6 +12251,7 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.Finding = types.EBSFinding(jtv) } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -11928,6 +12267,7 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } } + case "lookBackPeriodInDays": if value != nil { switch jtv := value.(type) { @@ -11961,14 +12301,17 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } } + case "tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "utilizationMetrics": if err := awsAwsjson10_deserializeDocumentEBSUtilizationMetrics(&sv.UtilizationMetrics, value); err != nil { return err } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -11977,10 +12320,12 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendation(v **types.VolumeRecomm } sv.VolumeArn = ptr.String(jtv) } + case "volumeRecommendationOptions": if err := awsAwsjson10_deserializeDocumentVolumeRecommendationOptions(&sv.VolumeRecommendationOptions, value); err != nil { return err } + default: _, _ = key, value @@ -12016,6 +12361,7 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume if err := awsAwsjson10_deserializeDocumentVolumeConfiguration(&sv.Configuration, value); err != nil { return err } + case "performanceRisk": if value != nil { switch jtv := value.(type) { @@ -12049,6 +12395,7 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume } } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -12061,14 +12408,17 @@ func awsAwsjson10_deserializeDocumentVolumeRecommendationOption(v **types.Volume } sv.Rank = int32(i64) } + case "savingsOpportunity": if err := awsAwsjson10_deserializeDocumentSavingsOpportunity(&sv.SavingsOpportunity, value); err != nil { return err } + case "savingsOpportunityAfterDiscounts": if err := awsAwsjson10_deserializeDocumentEBSSavingsOpportunityAfterDiscounts(&sv.SavingsOpportunityAfterDiscounts, value); err != nil { return err } + default: _, _ = key, value @@ -12207,10 +12557,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRecommendationExportJobsOutput(v } sv.NextToken = ptr.String(jtv) } + case "recommendationExportJobs": if err := awsAwsjson10_deserializeDocumentRecommendationExportJobs(&sv.RecommendationExportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -12250,10 +12602,12 @@ func awsAwsjson10_deserializeOpDocumentExportAutoScalingGroupRecommendationsOutp } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12293,10 +12647,12 @@ func awsAwsjson10_deserializeOpDocumentExportEBSVolumeRecommendationsOutput(v ** } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12336,10 +12692,12 @@ func awsAwsjson10_deserializeOpDocumentExportEC2InstanceRecommendationsOutput(v } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12379,10 +12737,12 @@ func awsAwsjson10_deserializeOpDocumentExportECSServiceRecommendationsOutput(v * } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12422,10 +12782,12 @@ func awsAwsjson10_deserializeOpDocumentExportLambdaFunctionRecommendationsOutput } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12465,10 +12827,12 @@ func awsAwsjson10_deserializeOpDocumentExportLicenseRecommendationsOutput(v **Ex } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12508,10 +12872,12 @@ func awsAwsjson10_deserializeOpDocumentExportRDSDatabaseRecommendationsOutput(v } sv.JobId = ptr.String(jtv) } + case "s3Destination": if err := awsAwsjson10_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -12547,10 +12913,12 @@ func awsAwsjson10_deserializeOpDocumentGetAutoScalingGroupRecommendationsOutput( if err := awsAwsjson10_deserializeDocumentAutoScalingGroupRecommendations(&sv.AutoScalingGroupRecommendations, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12559,6 +12927,7 @@ func awsAwsjson10_deserializeOpDocumentGetAutoScalingGroupRecommendationsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12594,6 +12963,7 @@ func awsAwsjson10_deserializeOpDocumentGetEBSVolumeRecommendationsOutput(v **Get if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12602,10 +12972,12 @@ func awsAwsjson10_deserializeOpDocumentGetEBSVolumeRecommendationsOutput(v **Get } sv.NextToken = ptr.String(jtv) } + case "volumeRecommendations": if err := awsAwsjson10_deserializeDocumentVolumeRecommendations(&sv.VolumeRecommendations, value); err != nil { return err } + default: _, _ = key, value @@ -12641,10 +13013,12 @@ func awsAwsjson10_deserializeOpDocumentGetEC2InstanceRecommendationsOutput(v **G if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "instanceRecommendations": if err := awsAwsjson10_deserializeDocumentInstanceRecommendations(&sv.InstanceRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12653,6 +13027,7 @@ func awsAwsjson10_deserializeOpDocumentGetEC2InstanceRecommendationsOutput(v **G } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12688,6 +13063,7 @@ func awsAwsjson10_deserializeOpDocumentGetEC2RecommendationProjectedMetricsOutpu if err := awsAwsjson10_deserializeDocumentRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -12723,6 +13099,7 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationProjectedMetri if err := awsAwsjson10_deserializeDocumentECSServiceRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -12758,10 +13135,12 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationsOutput(v **Ge if err := awsAwsjson10_deserializeDocumentECSServiceRecommendations(&sv.EcsServiceRecommendations, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12770,6 +13149,7 @@ func awsAwsjson10_deserializeOpDocumentGetECSServiceRecommendationsOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12809,10 +13189,12 @@ func awsAwsjson10_deserializeOpDocumentGetEffectiveRecommendationPreferencesOutp } sv.EnhancedInfrastructureMetrics = types.EnhancedInfrastructureMetrics(jtv) } + case "externalMetricsPreference": if err := awsAwsjson10_deserializeDocumentExternalMetricsPreference(&sv.ExternalMetricsPreference, value); err != nil { return err } + case "lookBackPeriod": if value != nil { jtv, ok := value.(string) @@ -12821,14 +13203,17 @@ func awsAwsjson10_deserializeOpDocumentGetEffectiveRecommendationPreferencesOutp } sv.LookBackPeriod = types.LookBackPeriodPreference(jtv) } + case "preferredResources": if err := awsAwsjson10_deserializeDocumentEffectivePreferredResources(&sv.PreferredResources, value); err != nil { return err } + case "utilizationPreferences": if err := awsAwsjson10_deserializeDocumentUtilizationPreferences(&sv.UtilizationPreferences, value); err != nil { return err } + default: _, _ = key, value @@ -12864,6 +13249,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusesForOrganizationOutpu if err := awsAwsjson10_deserializeDocumentAccountEnrollmentStatuses(&sv.AccountEnrollmentStatuses, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12872,6 +13258,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusesForOrganizationOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12918,6 +13305,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } } + case "memberAccountsEnrolled": if value != nil { jtv, ok := value.(bool) @@ -12926,6 +13314,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.MemberAccountsEnrolled = jtv } + case "numberOfMemberAccountsOptedIn": if value != nil { jtv, ok := value.(json.Number) @@ -12938,6 +13327,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.NumberOfMemberAccountsOptedIn = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12946,6 +13336,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.Status = types.Status(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -12954,6 +13345,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnrollmentStatusOutput(v **GetEnrollme } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12989,6 +13381,7 @@ func awsAwsjson10_deserializeOpDocumentGetLambdaFunctionRecommendationsOutput(v if err := awsAwsjson10_deserializeDocumentLambdaFunctionRecommendations(&sv.LambdaFunctionRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12997,6 +13390,7 @@ func awsAwsjson10_deserializeOpDocumentGetLambdaFunctionRecommendationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13032,10 +13426,12 @@ func awsAwsjson10_deserializeOpDocumentGetLicenseRecommendationsOutput(v **GetLi if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "licenseRecommendations": if err := awsAwsjson10_deserializeDocumentLicenseRecommendations(&sv.LicenseRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13044,6 +13440,7 @@ func awsAwsjson10_deserializeOpDocumentGetLicenseRecommendationsOutput(v **GetLi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13079,6 +13476,7 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationProjectedMetr if err := awsAwsjson10_deserializeDocumentRDSDatabaseRecommendedOptionProjectedMetrics(&sv.RecommendedOptionProjectedMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -13114,6 +13512,7 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationsOutput(v **G if err := awsAwsjson10_deserializeDocumentGetRecommendationErrors(&sv.Errors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13122,10 +13521,12 @@ func awsAwsjson10_deserializeOpDocumentGetRDSDatabaseRecommendationsOutput(v **G } sv.NextToken = ptr.String(jtv) } + case "rdsDBRecommendations": if err := awsAwsjson10_deserializeDocumentRDSDBRecommendations(&sv.RdsDBRecommendations, value); err != nil { return err } + default: _, _ = key, value @@ -13165,10 +13566,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationPreferencesOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + case "recommendationPreferencesDetails": if err := awsAwsjson10_deserializeDocumentRecommendationPreferencesDetails(&sv.RecommendationPreferencesDetails, value); err != nil { return err } + default: _, _ = key, value @@ -13208,10 +13611,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationSummariesOutput(v **GetR } sv.NextToken = ptr.String(jtv) } + case "recommendationSummaries": if err := awsAwsjson10_deserializeDocumentRecommendationSummaries(&sv.RecommendationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -13282,6 +13687,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.Status = types.Status(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13290,6 +13696,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/configservice/deserializers.go b/service/configservice/deserializers.go index 5294a011311..a808895b3e4 100644 --- a/service/configservice/deserializers.go +++ b/service/configservice/deserializers.go @@ -12283,6 +12283,7 @@ func awsAwsjson11_deserializeDocumentAccountAggregationSource(v **types.AccountA if err := awsAwsjson11_deserializeDocumentAccountAggregationSourceAccountList(&sv.AccountIds, value); err != nil { return err } + case "AllAwsRegions": if value != nil { jtv, ok := value.(bool) @@ -12291,10 +12292,12 @@ func awsAwsjson11_deserializeDocumentAccountAggregationSource(v **types.AccountA } sv.AllAwsRegions = jtv } + case "AwsRegions": if err := awsAwsjson11_deserializeDocumentAggregatorRegionList(&sv.AwsRegions, value); err != nil { return err } + default: _, _ = key, value @@ -12404,6 +12407,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.AccountId = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -12412,10 +12416,12 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.AwsRegion = ptr.String(jtv) } + case "Compliance": if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -12424,6 +12430,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRule(v **types.A } sv.ConfigRuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -12497,6 +12504,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.AccountId = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -12505,10 +12513,12 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.AwsRegion = ptr.String(jtv) } + case "Compliance": if err := awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(&sv.Compliance, value); err != nil { return err } + case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -12517,6 +12527,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePack(v **ty } sv.ConformancePackName = ptr.String(jtv) } + default: _, _ = key, value @@ -12586,6 +12597,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceCount(v **types.Aggregat if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12594,6 +12606,7 @@ func awsAwsjson11_deserializeDocumentAggregateComplianceCount(v **types.Aggregat } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -12667,6 +12680,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } + case "CompliantRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12679,6 +12693,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.CompliantRuleCount = int32(i64) } + case "NonCompliantRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12691,6 +12706,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.NonCompliantRuleCount = int32(i64) } + case "TotalRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -12703,6 +12719,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackCompliance(v **type } sv.TotalRuleCount = int32(i64) } + default: _, _ = key, value @@ -12746,6 +12763,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(v * } sv.CompliantConformancePackCount = int32(i64) } + case "NonCompliantConformancePackCount": if value != nil { jtv, ok := value.(json.Number) @@ -12758,6 +12776,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(v * } sv.NonCompliantConformancePackCount = int32(i64) } + default: _, _ = key, value @@ -12793,6 +12812,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummary(v if err := awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceCount(&sv.ComplianceSummary, value); err != nil { return err } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12801,6 +12821,7 @@ func awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummary(v } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -12874,6 +12895,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.AwsRegion = ptr.String(jtv) } + case "LastErrorCode": if value != nil { jtv, ok := value.(string) @@ -12882,6 +12904,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastErrorCode = ptr.String(jtv) } + case "LastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12890,6 +12913,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastErrorMessage = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -12898,6 +12922,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.LastUpdateStatus = types.AggregatedSourceStatusType(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -12913,6 +12938,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -12921,6 +12947,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.SourceId = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -12929,6 +12956,7 @@ func awsAwsjson11_deserializeDocumentAggregatedSourceStatus(v **types.Aggregated } sv.SourceType = types.AggregatedSourceType(jtv) } + default: _, _ = key, value @@ -13002,6 +13030,7 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.AccountId = ptr.String(jtv) } + case "Annotation": if value != nil { jtv, ok := value.(string) @@ -13010,6 +13039,7 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.Annotation = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -13018,6 +13048,7 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.AwsRegion = ptr.String(jtv) } + case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -13026,6 +13057,7 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } sv.ComplianceType = types.ComplianceType(jtv) } + case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -13041,10 +13073,12 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } } + case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } + case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -13060,6 +13094,7 @@ func awsAwsjson11_deserializeDocumentAggregateEvaluationResult(v **types.Aggrega } } + default: _, _ = key, value @@ -13133,6 +13168,7 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceId = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -13141,6 +13177,7 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13149,6 +13186,7 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.ResourceType = types.ResourceType(jtv) } + case "SourceAccountId": if value != nil { jtv, ok := value.(string) @@ -13157,6 +13195,7 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.SourceAccountId = ptr.String(jtv) } + case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -13165,6 +13204,7 @@ func awsAwsjson11_deserializeDocumentAggregateResourceIdentifier(v **types.Aggre } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -13204,6 +13244,7 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AggregationAuthorizationArn = ptr.String(jtv) } + case "AuthorizedAccountId": if value != nil { jtv, ok := value.(string) @@ -13212,6 +13253,7 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AuthorizedAccountId = ptr.String(jtv) } + case "AuthorizedAwsRegion": if value != nil { jtv, ok := value.(string) @@ -13220,6 +13262,7 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } sv.AuthorizedAwsRegion = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13235,6 +13278,7 @@ func awsAwsjson11_deserializeDocumentAggregationAuthorization(v **types.Aggregat } } + default: _, _ = key, value @@ -13344,6 +13388,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13352,6 +13397,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -13360,6 +13406,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AvailabilityZone = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -13368,6 +13415,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.AwsRegion = ptr.String(jtv) } + case "configuration": if value != nil { jtv, ok := value.(string) @@ -13376,6 +13424,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Configuration = ptr.String(jtv) } + case "configurationItemCaptureTime": if value != nil { switch jtv := value.(type) { @@ -13391,6 +13440,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } + case "configurationItemDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -13406,6 +13456,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } + case "configurationItemStatus": if value != nil { jtv, ok := value.(string) @@ -13414,6 +13465,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ConfigurationItemStatus = types.ConfigurationItemStatus(jtv) } + case "configurationStateId": if value != nil { jtv, ok := value.(string) @@ -13422,6 +13474,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ConfigurationStateId = ptr.String(jtv) } + case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -13430,6 +13483,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.RecordingFrequency = types.RecordingFrequency(jtv) } + case "resourceCreationTime": if value != nil { switch jtv := value.(type) { @@ -13445,6 +13499,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13453,6 +13508,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceId = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13517,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13469,10 +13526,12 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.ResourceType = types.ResourceType(jtv) } + case "supplementaryConfiguration": if err := awsAwsjson11_deserializeDocumentSupplementaryConfiguration(&sv.SupplementaryConfiguration, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -13481,6 +13540,7 @@ func awsAwsjson11_deserializeDocumentBaseConfigurationItem(v **types.BaseConfigu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13550,6 +13610,7 @@ func awsAwsjson11_deserializeDocumentCompliance(v **types.Compliance, value inte if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.ComplianceContributorCount, value); err != nil { return err } + case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -13558,6 +13619,7 @@ func awsAwsjson11_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.ComplianceType = types.ComplianceType(jtv) } + default: _, _ = key, value @@ -13593,6 +13655,7 @@ func awsAwsjson11_deserializeDocumentComplianceByConfigRule(v **types.Compliance if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -13601,6 +13664,7 @@ func awsAwsjson11_deserializeDocumentComplianceByConfigRule(v **types.Compliance } sv.ConfigRuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -13670,6 +13734,7 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy if err := awsAwsjson11_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -13678,6 +13743,7 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13686,6 +13752,7 @@ func awsAwsjson11_deserializeDocumentComplianceByResource(v **types.ComplianceBy } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13759,6 +13826,7 @@ func awsAwsjson11_deserializeDocumentComplianceContributorCount(v **types.Compli } sv.CapExceeded = jtv } + case "CappedCount": if value != nil { jtv, ok := value.(json.Number) @@ -13771,6 +13839,7 @@ func awsAwsjson11_deserializeDocumentComplianceContributorCount(v **types.Compli } sv.CappedCount = int32(i64) } + default: _, _ = key, value @@ -13887,14 +13956,17 @@ func awsAwsjson11_deserializeDocumentComplianceSummary(v **types.ComplianceSumma } } + case "CompliantResourceCount": if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.CompliantResourceCount, value); err != nil { return err } + case "NonCompliantResourceCount": if err := awsAwsjson11_deserializeDocumentComplianceContributorCount(&sv.NonCompliantResourceCount, value); err != nil { return err } + default: _, _ = key, value @@ -13930,6 +14002,7 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryByResourceType(v **types.C if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13938,6 +14011,7 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryByResourceType(v **types.C } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13984,6 +14058,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } + case "lastErrorCode": if value != nil { jtv, ok := value.(string) @@ -13992,6 +14067,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastErrorCode = ptr.String(jtv) } + case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14000,6 +14076,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastErrorMessage = ptr.String(jtv) } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -14008,6 +14085,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } sv.LastStatus = types.DeliveryStatus(jtv) } + case "lastSuccessfulTime": if value != nil { switch jtv := value.(type) { @@ -14023,6 +14101,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } + case "nextDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14038,6 +14117,7 @@ func awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(v **types.ConfigEx } } + default: _, _ = key, value @@ -14077,6 +14157,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleArn = ptr.String(jtv) } + case "ConfigRuleId": if value != nil { jtv, ok := value.(string) @@ -14085,6 +14166,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleId = ptr.String(jtv) } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -14093,6 +14175,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleName = ptr.String(jtv) } + case "ConfigRuleState": if value != nil { jtv, ok := value.(string) @@ -14101,6 +14184,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.ConfigRuleState = types.ConfigRuleState(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -14109,6 +14193,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14117,10 +14202,12 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.Description = ptr.String(jtv) } + case "EvaluationModes": if err := awsAwsjson11_deserializeDocumentEvaluationModes(&sv.EvaluationModes, value); err != nil { return err } + case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -14129,6 +14216,7 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.InputParameters = ptr.String(jtv) } + case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -14137,14 +14225,17 @@ func awsAwsjson11_deserializeDocumentConfigRule(v **types.ConfigRule, value inte } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } + case "Scope": if err := awsAwsjson11_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -14184,6 +14275,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleArn = ptr.String(jtv) } + case "ConfigRuleId": if value != nil { jtv, ok := value.(string) @@ -14192,6 +14284,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleId = ptr.String(jtv) } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -14200,6 +14293,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.ConfigRuleName = ptr.String(jtv) } + case "FirstActivatedTime": if value != nil { switch jtv := value.(type) { @@ -14215,6 +14309,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "FirstEvaluationStarted": if value != nil { jtv, ok := value.(bool) @@ -14223,6 +14318,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.FirstEvaluationStarted = jtv } + case "LastDeactivatedTime": if value != nil { switch jtv := value.(type) { @@ -14238,6 +14334,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "LastDebugLogDeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -14246,6 +14343,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastDebugLogDeliveryStatus = ptr.String(jtv) } + case "LastDebugLogDeliveryStatusReason": if value != nil { jtv, ok := value.(string) @@ -14254,6 +14352,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastDebugLogDeliveryStatusReason = ptr.String(jtv) } + case "LastDebugLogDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14269,6 +14368,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "LastErrorCode": if value != nil { jtv, ok := value.(string) @@ -14277,6 +14377,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastErrorCode = ptr.String(jtv) } + case "LastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14285,6 +14386,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } sv.LastErrorMessage = ptr.String(jtv) } + case "LastFailedEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -14300,6 +14402,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "LastFailedInvocationTime": if value != nil { switch jtv := value.(type) { @@ -14315,6 +14418,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "LastSuccessfulEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -14330,6 +14434,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + case "LastSuccessfulInvocationTime": if value != nil { switch jtv := value.(type) { @@ -14345,6 +14450,7 @@ func awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatus(v **types.Config } } + default: _, _ = key, value @@ -14452,6 +14558,7 @@ func awsAwsjson11_deserializeDocumentConfigSnapshotDeliveryProperties(v **types. } sv.DeliveryFrequency = types.MaximumExecutionFrequency(jtv) } + default: _, _ = key, value @@ -14491,6 +14598,7 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastErrorCode = ptr.String(jtv) } + case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14499,6 +14607,7 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastErrorMessage = ptr.String(jtv) } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -14507,6 +14616,7 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } sv.LastStatus = types.DeliveryStatus(jtv) } + case "lastStatusChangeTime": if value != nil { switch jtv := value.(type) { @@ -14522,6 +14632,7 @@ func awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(v **types.ConfigSt } } + default: _, _ = key, value @@ -14557,6 +14668,7 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura if err := awsAwsjson11_deserializeDocumentAccountAggregationSourceList(&sv.AccountAggregationSources, value); err != nil { return err } + case "ConfigurationAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -14565,6 +14677,7 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.ConfigurationAggregatorArn = ptr.String(jtv) } + case "ConfigurationAggregatorName": if value != nil { jtv, ok := value.(string) @@ -14573,6 +14686,7 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.ConfigurationAggregatorName = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -14581,6 +14695,7 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } sv.CreatedBy = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14596,6 +14711,7 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -14611,10 +14727,12 @@ func awsAwsjson11_deserializeDocumentConfigurationAggregator(v **types.Configura } } + case "OrganizationAggregationSource": if err := awsAwsjson11_deserializeDocumentOrganizationAggregationSource(&sv.OrganizationAggregationSource, value); err != nil { return err } + default: _, _ = key, value @@ -14688,6 +14806,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14696,6 +14815,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -14704,6 +14824,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AvailabilityZone = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -14712,6 +14833,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.AwsRegion = ptr.String(jtv) } + case "configuration": if value != nil { jtv, ok := value.(string) @@ -14720,6 +14842,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Configuration = ptr.String(jtv) } + case "configurationItemCaptureTime": if value != nil { switch jtv := value.(type) { @@ -14735,6 +14858,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } + case "configurationItemDeliveryTime": if value != nil { switch jtv := value.(type) { @@ -14750,6 +14874,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } + case "configurationItemMD5Hash": if value != nil { jtv, ok := value.(string) @@ -14758,6 +14883,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationItemMD5Hash = ptr.String(jtv) } + case "configurationItemStatus": if value != nil { jtv, ok := value.(string) @@ -14766,6 +14892,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationItemStatus = types.ConfigurationItemStatus(jtv) } + case "configurationStateId": if value != nil { jtv, ok := value.(string) @@ -14774,6 +14901,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ConfigurationStateId = ptr.String(jtv) } + case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -14782,14 +14910,17 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.RecordingFrequency = types.RecordingFrequency(jtv) } + case "relatedEvents": if err := awsAwsjson11_deserializeDocumentRelatedEventList(&sv.RelatedEvents, value); err != nil { return err } + case "relationships": if err := awsAwsjson11_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } + case "resourceCreationTime": if value != nil { switch jtv := value.(type) { @@ -14805,6 +14936,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14813,6 +14945,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceId = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14821,6 +14954,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14829,14 +14963,17 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.ResourceType = types.ResourceType(jtv) } + case "supplementaryConfiguration": if err := awsAwsjson11_deserializeDocumentSupplementaryConfiguration(&sv.SupplementaryConfiguration, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -14845,6 +14982,7 @@ func awsAwsjson11_deserializeDocumentConfigurationItem(v **types.ConfigurationIt } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14918,14 +15056,17 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorder(v **types.Configurati } sv.Name = ptr.String(jtv) } + case "recordingGroup": if err := awsAwsjson11_deserializeDocumentRecordingGroup(&sv.RecordingGroup, value); err != nil { return err } + case "recordingMode": if err := awsAwsjson11_deserializeDocumentRecordingMode(&sv.RecordingMode, value); err != nil { return err } + case "roleARN": if value != nil { jtv, ok := value.(string) @@ -14934,6 +15075,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorder(v **types.Configurati } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15007,6 +15149,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastErrorCode = ptr.String(jtv) } + case "lastErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15015,6 +15158,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastErrorMessage = ptr.String(jtv) } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -15030,6 +15174,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -15038,6 +15183,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.LastStatus = types.RecorderStatus(jtv) } + case "lastStatusChangeTime": if value != nil { switch jtv := value.(type) { @@ -15053,6 +15199,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } + case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -15068,6 +15215,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15076,6 +15224,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.Name = ptr.String(jtv) } + case "recording": if value != nil { jtv, ok := value.(bool) @@ -15084,6 +15233,7 @@ func awsAwsjson11_deserializeDocumentConfigurationRecorderStatus(v **types.Confi } sv.Recording = jtv } + default: _, _ = key, value @@ -15157,6 +15307,7 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } sv.ConformancePackName = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -15172,6 +15323,7 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } } + case "Score": if value != nil { jtv, ok := value.(string) @@ -15180,6 +15332,7 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceScore(v **types.Co } sv.Score = ptr.String(jtv) } + default: _, _ = key, value @@ -15253,6 +15406,7 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceSummary(v **types. } sv.ConformancePackComplianceStatus = types.ConformancePackComplianceType(jtv) } + case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15261,6 +15415,7 @@ func awsAwsjson11_deserializeDocumentConformancePackComplianceSummary(v **types. } sv.ConformancePackName = ptr.String(jtv) } + default: _, _ = key, value @@ -15334,6 +15489,7 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackArn = ptr.String(jtv) } + case "ConformancePackId": if value != nil { jtv, ok := value.(string) @@ -15342,10 +15498,12 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackId = ptr.String(jtv) } + case "ConformancePackInputParameters": if err := awsAwsjson11_deserializeDocumentConformancePackInputParameters(&sv.ConformancePackInputParameters, value); err != nil { return err } + case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15354,6 +15512,7 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.ConformancePackName = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -15362,6 +15521,7 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.CreatedBy = ptr.String(jtv) } + case "DeliveryS3Bucket": if value != nil { jtv, ok := value.(string) @@ -15370,6 +15530,7 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.DeliveryS3Bucket = ptr.String(jtv) } + case "DeliveryS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -15378,6 +15539,7 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } sv.DeliveryS3KeyPrefix = ptr.String(jtv) } + case "LastUpdateRequestedTime": if value != nil { switch jtv := value.(type) { @@ -15393,10 +15555,12 @@ func awsAwsjson11_deserializeDocumentConformancePackDetail(v **types.Conformance } } + case "TemplateSSMDocumentDetails": if err := awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(&sv.TemplateSSMDocumentDetails, value); err != nil { return err } + default: _, _ = key, value @@ -15470,6 +15634,7 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } sv.Annotation = ptr.String(jtv) } + case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -15478,6 +15643,7 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } + case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -15493,10 +15659,12 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } } + case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } + case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -15512,6 +15680,7 @@ func awsAwsjson11_deserializeDocumentConformancePackEvaluationResult(v **types.C } } + default: _, _ = key, value @@ -15551,6 +15720,7 @@ func awsAwsjson11_deserializeDocumentConformancePackInputParameter(v **types.Con } sv.ParameterName = ptr.String(jtv) } + case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -15559,6 +15729,7 @@ func awsAwsjson11_deserializeDocumentConformancePackInputParameter(v **types.Con } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -15632,6 +15803,7 @@ func awsAwsjson11_deserializeDocumentConformancePackRuleCompliance(v **types.Con } sv.ComplianceType = types.ConformancePackComplianceType(jtv) } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -15640,10 +15812,12 @@ func awsAwsjson11_deserializeDocumentConformancePackRuleCompliance(v **types.Con } sv.ConfigRuleName = ptr.String(jtv) } + case "Controls": if err := awsAwsjson11_deserializeDocumentControlsList(&sv.Controls, value); err != nil { return err } + default: _, _ = key, value @@ -15751,6 +15925,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackArn = ptr.String(jtv) } + case "ConformancePackId": if value != nil { jtv, ok := value.(string) @@ -15759,6 +15934,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackId = ptr.String(jtv) } + case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -15767,6 +15943,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackName = ptr.String(jtv) } + case "ConformancePackState": if value != nil { jtv, ok := value.(string) @@ -15775,6 +15952,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackState = types.ConformancePackState(jtv) } + case "ConformancePackStatusReason": if value != nil { jtv, ok := value.(string) @@ -15783,6 +15961,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.ConformancePackStatusReason = ptr.String(jtv) } + case "LastUpdateCompletedTime": if value != nil { switch jtv := value.(type) { @@ -15798,6 +15977,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } } + case "LastUpdateRequestedTime": if value != nil { switch jtv := value.(type) { @@ -15813,6 +15993,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } } + case "StackArn": if value != nil { jtv, ok := value.(string) @@ -15821,6 +16002,7 @@ func awsAwsjson11_deserializeDocumentConformancePackStatusDetail(v **types.Confo } sv.StackArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15894,6 +16076,7 @@ func awsAwsjson11_deserializeDocumentConformancePackTemplateValidationException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15969,6 +16152,7 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.EnableDebugLogDelivery = jtv } + case "PolicyRuntime": if value != nil { jtv, ok := value.(string) @@ -15977,6 +16161,7 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.PolicyRuntime = ptr.String(jtv) } + case "PolicyText": if value != nil { jtv, ok := value.(string) @@ -15985,6 +16170,7 @@ func awsAwsjson11_deserializeDocumentCustomPolicyDetails(v **types.CustomPolicyD } sv.PolicyText = ptr.String(jtv) } + default: _, _ = key, value @@ -16056,6 +16242,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, if err := awsAwsjson11_deserializeDocumentConfigSnapshotDeliveryProperties(&sv.ConfigSnapshotDeliveryProperties, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16064,6 +16251,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.Name = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -16072,6 +16260,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3BucketName = ptr.String(jtv) } + case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -16080,6 +16269,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3KeyPrefix = ptr.String(jtv) } + case "s3KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -16088,6 +16278,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.S3KmsKeyArn = ptr.String(jtv) } + case "snsTopicARN": if value != nil { jtv, ok := value.(string) @@ -16096,6 +16287,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannel(v **types.DeliveryChannel, } sv.SnsTopicARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16165,14 +16357,17 @@ func awsAwsjson11_deserializeDocumentDeliveryChannelStatus(v **types.DeliveryCha if err := awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(&sv.ConfigHistoryDeliveryInfo, value); err != nil { return err } + case "configSnapshotDeliveryInfo": if err := awsAwsjson11_deserializeDocumentConfigExportDeliveryInfo(&sv.ConfigSnapshotDeliveryInfo, value); err != nil { return err } + case "configStreamDeliveryInfo": if err := awsAwsjson11_deserializeDocumentConfigStreamDeliveryInfo(&sv.ConfigStreamDeliveryInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16181,6 +16376,7 @@ func awsAwsjson11_deserializeDocumentDeliveryChannelStatus(v **types.DeliveryCha } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16288,6 +16484,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Annotation = ptr.String(jtv) } + case "ComplianceResourceId": if value != nil { jtv, ok := value.(string) @@ -16296,6 +16493,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceResourceId = ptr.String(jtv) } + case "ComplianceResourceType": if value != nil { jtv, ok := value.(string) @@ -16304,6 +16502,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceResourceType = ptr.String(jtv) } + case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -16312,6 +16511,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComplianceType = types.ComplianceType(jtv) } + case "OrderingTimestamp": if value != nil { switch jtv := value.(type) { @@ -16327,6 +16527,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + default: _, _ = key, value @@ -16366,6 +16567,7 @@ func awsAwsjson11_deserializeDocumentEvaluationContext(v **types.EvaluationConte } sv.EvaluationContextIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -16405,6 +16607,7 @@ func awsAwsjson11_deserializeDocumentEvaluationModeConfiguration(v **types.Evalu } sv.Mode = types.EvaluationMode(jtv) } + default: _, _ = key, value @@ -16478,6 +16681,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Annotation = ptr.String(jtv) } + case "ComplianceType": if value != nil { jtv, ok := value.(string) @@ -16486,6 +16690,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ComplianceType = types.ComplianceType(jtv) } + case "ConfigRuleInvokedTime": if value != nil { switch jtv := value.(type) { @@ -16501,10 +16706,12 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } + case "EvaluationResultIdentifier": if err := awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(&sv.EvaluationResultIdentifier, value); err != nil { return err } + case "ResultRecordedTime": if value != nil { switch jtv := value.(type) { @@ -16520,6 +16727,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } + case "ResultToken": if value != nil { jtv, ok := value.(string) @@ -16528,6 +16736,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ResultToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16563,6 +16772,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua if err := awsAwsjson11_deserializeDocumentEvaluationResultQualifier(&sv.EvaluationResultQualifier, value); err != nil { return err } + case "OrderingTimestamp": if value != nil { switch jtv := value.(type) { @@ -16578,6 +16788,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua } } + case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -16586,6 +16797,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultIdentifier(v **types.Evalua } sv.ResourceEvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -16625,6 +16837,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ConfigRuleName = ptr.String(jtv) } + case "EvaluationMode": if value != nil { jtv, ok := value.(string) @@ -16633,6 +16846,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.EvaluationMode = types.EvaluationMode(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16641,6 +16855,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16649,6 +16864,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResultQualifier(v **types.Evaluat } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -16756,6 +16972,7 @@ func awsAwsjson11_deserializeDocumentEvaluationStatus(v **types.EvaluationStatus } sv.FailureReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16764,6 +16981,7 @@ func awsAwsjson11_deserializeDocumentEvaluationStatus(v **types.EvaluationStatus } sv.Status = types.ResourceEvaluationStatus(jtv) } + default: _, _ = key, value @@ -16835,6 +17053,7 @@ func awsAwsjson11_deserializeDocumentExclusionByResourceTypes(v **types.Exclusio if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -16870,6 +17089,7 @@ func awsAwsjson11_deserializeDocumentExecutionControls(v **types.ExecutionContro if err := awsAwsjson11_deserializeDocumentSsmControls(&sv.SsmControls, value); err != nil { return err } + default: _, _ = key, value @@ -16905,6 +17125,7 @@ func awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatch(v ** if err := awsAwsjson11_deserializeDocumentRemediationExceptionResourceKeys(&sv.FailedItems, value); err != nil { return err } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -16913,6 +17134,7 @@ func awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatch(v ** } sv.FailureMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -16982,6 +17204,7 @@ func awsAwsjson11_deserializeDocumentFailedRemediationBatch(v **types.FailedReme if err := awsAwsjson11_deserializeDocumentRemediationConfigurations(&sv.FailedItems, value); err != nil { return err } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -16990,6 +17213,7 @@ func awsAwsjson11_deserializeDocumentFailedRemediationBatch(v **types.FailedReme } sv.FailureMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -17059,6 +17283,7 @@ func awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatch(v **types.F if err := awsAwsjson11_deserializeDocumentRemediationExceptions(&sv.FailedItems, value); err != nil { return err } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -17067,6 +17292,7 @@ func awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatch(v **types.F } sv.FailureMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -17140,6 +17366,7 @@ func awsAwsjson11_deserializeDocumentFieldInfo(v **types.FieldInfo, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17213,6 +17440,7 @@ func awsAwsjson11_deserializeDocumentGroupedResourceCount(v **types.GroupedResou } sv.GroupName = ptr.String(jtv) } + case "ResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -17225,6 +17453,7 @@ func awsAwsjson11_deserializeDocumentGroupedResourceCount(v **types.GroupedResou } sv.ResourceCount = i64 } + default: _, _ = key, value @@ -17298,6 +17527,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17337,6 +17567,7 @@ func awsAwsjson11_deserializeDocumentInsufficientDeliveryPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17376,6 +17607,7 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17415,6 +17647,7 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationRecorderNameException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17454,6 +17687,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeliveryChannelNameException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17493,6 +17727,7 @@ func awsAwsjson11_deserializeDocumentInvalidExpressionException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17532,6 +17767,7 @@ func awsAwsjson11_deserializeDocumentInvalidLimitException(v **types.InvalidLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17571,6 +17807,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17610,6 +17847,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17649,6 +17887,7 @@ func awsAwsjson11_deserializeDocumentInvalidRecordingGroupException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17688,6 +17927,7 @@ func awsAwsjson11_deserializeDocumentInvalidResultTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17727,6 +17967,7 @@ func awsAwsjson11_deserializeDocumentInvalidRoleException(v **types.InvalidRoleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17766,6 +18007,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3KeyPrefixException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17805,6 +18047,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3KmsKeyArnException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17844,6 +18087,7 @@ func awsAwsjson11_deserializeDocumentInvalidSNSTopicARNException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17883,6 +18127,7 @@ func awsAwsjson11_deserializeDocumentInvalidTimeRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17922,6 +18167,7 @@ func awsAwsjson11_deserializeDocumentLastDeliveryChannelDeleteFailedException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17961,6 +18207,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18000,6 +18247,7 @@ func awsAwsjson11_deserializeDocumentMaxActiveResourcesExceededException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18039,6 +18287,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigRulesExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18078,6 +18327,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConfigurationRecordersExceededEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18117,6 +18367,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfConformancePacksExceededExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18156,6 +18407,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfDeliveryChannelsExceededExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18195,6 +18447,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConfigRulesExceededE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18234,6 +18487,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfOrganizationConformancePacksExce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18273,6 +18527,7 @@ func awsAwsjson11_deserializeDocumentMaxNumberOfRetentionConfigurationsExceededE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18312,6 +18567,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.AccountId = ptr.String(jtv) } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -18320,6 +18576,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ConfigRuleName = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -18328,6 +18585,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -18336,6 +18594,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -18351,6 +18610,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } } + case "MemberAccountRuleStatus": if value != nil { jtv, ok := value.(string) @@ -18359,6 +18619,7 @@ func awsAwsjson11_deserializeDocumentMemberAccountStatus(v **types.MemberAccount } sv.MemberAccountRuleStatus = types.MemberAccountRuleStatus(jtv) } + default: _, _ = key, value @@ -18398,6 +18659,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableConfigurationRecorderException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18437,6 +18699,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableDeliveryChannelException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18476,6 +18739,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18515,6 +18779,7 @@ func awsAwsjson11_deserializeDocumentNoRunningConfigurationRecorderException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18554,6 +18819,7 @@ func awsAwsjson11_deserializeDocumentNoSuchBucketException(v **types.NoSuchBucke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18593,6 +18859,7 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleException(v **types.NoSuchC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18632,6 +18899,7 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigRuleInConformancePackException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18671,6 +18939,7 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationAggregatorException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18710,6 +18979,7 @@ func awsAwsjson11_deserializeDocumentNoSuchConfigurationRecorderException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18749,6 +19019,7 @@ func awsAwsjson11_deserializeDocumentNoSuchConformancePackException(v **types.No } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18788,6 +19059,7 @@ func awsAwsjson11_deserializeDocumentNoSuchDeliveryChannelException(v **types.No } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18827,6 +19099,7 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConfigRuleException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18866,6 +19139,7 @@ func awsAwsjson11_deserializeDocumentNoSuchOrganizationConformancePackException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18905,6 +19179,7 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationConfigurationException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18944,6 +19219,7 @@ func awsAwsjson11_deserializeDocumentNoSuchRemediationExceptionException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18983,6 +19259,7 @@ func awsAwsjson11_deserializeDocumentNoSuchRetentionConfigurationException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19022,6 +19299,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAccessDeniedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19061,10 +19339,12 @@ func awsAwsjson11_deserializeDocumentOrganizationAggregationSource(v **types.Org } sv.AllAwsRegions = jtv } + case "AwsRegions": if err := awsAwsjson11_deserializeDocumentAggregatorRegionList(&sv.AwsRegions, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -19073,6 +19353,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAggregationSource(v **types.Org } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19112,6 +19393,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAllFeaturesNotEnabledException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19147,6 +19429,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati if err := awsAwsjson11_deserializeDocumentExcludedAccounts(&sv.ExcludedAccounts, value); err != nil { return err } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19162,6 +19445,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } } + case "OrganizationConfigRuleArn": if value != nil { jtv, ok := value.(string) @@ -19170,6 +19454,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } sv.OrganizationConfigRuleArn = ptr.String(jtv) } + case "OrganizationConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -19178,18 +19463,22 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRule(v **types.Organizati } sv.OrganizationConfigRuleName = ptr.String(jtv) } + case "OrganizationCustomPolicyRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolicy(&sv.OrganizationCustomPolicyRuleMetadata, value); err != nil { return err } + case "OrganizationCustomRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(&sv.OrganizationCustomRuleMetadata, value); err != nil { return err } + case "OrganizationManagedRuleMetadata": if err := awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(&sv.OrganizationManagedRuleMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -19297,6 +19586,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -19305,6 +19595,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19320,6 +19611,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } } + case "OrganizationConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -19328,6 +19620,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.OrganizationConfigRuleName = ptr.String(jtv) } + case "OrganizationRuleStatus": if value != nil { jtv, ok := value.(string) @@ -19336,6 +19629,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatus(v **types.Orga } sv.OrganizationRuleStatus = types.OrganizationRuleStatus(jtv) } + default: _, _ = key, value @@ -19477,6 +19771,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ if err := awsAwsjson11_deserializeDocumentConformancePackInputParameters(&sv.ConformancePackInputParameters, value); err != nil { return err } + case "DeliveryS3Bucket": if value != nil { jtv, ok := value.(string) @@ -19485,6 +19780,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.DeliveryS3Bucket = ptr.String(jtv) } + case "DeliveryS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -19493,10 +19789,12 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.DeliveryS3KeyPrefix = ptr.String(jtv) } + case "ExcludedAccounts": if err := awsAwsjson11_deserializeDocumentExcludedAccounts(&sv.ExcludedAccounts, value); err != nil { return err } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19512,6 +19810,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } } + case "OrganizationConformancePackArn": if value != nil { jtv, ok := value.(string) @@ -19520,6 +19819,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.OrganizationConformancePackArn = ptr.String(jtv) } + case "OrganizationConformancePackName": if value != nil { jtv, ok := value.(string) @@ -19528,6 +19828,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePack(v **types.Organ } sv.OrganizationConformancePackName = ptr.String(jtv) } + default: _, _ = key, value @@ -19567,6 +19868,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.AccountId = ptr.String(jtv) } + case "ConformancePackName": if value != nil { jtv, ok := value.(string) @@ -19575,6 +19877,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ConformancePackName = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -19583,6 +19886,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -19591,6 +19895,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19606,6 +19911,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19614,6 +19920,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatus(v } sv.Status = types.OrganizationResourceDetailedStatus(jtv) } + default: _, _ = key, value @@ -19721,6 +20028,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -19729,6 +20037,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -19744,6 +20053,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } } + case "OrganizationConformancePackName": if value != nil { jtv, ok := value.(string) @@ -19752,6 +20062,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.OrganizationConformancePackName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19760,6 +20071,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackStatus(v **types } sv.Status = types.OrganizationResourceStatus(jtv) } + default: _, _ = key, value @@ -19833,6 +20145,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConformancePackTemplateValidati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19868,6 +20181,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic if err := awsAwsjson11_deserializeDocumentDebugLogDeliveryAccounts(&sv.DebugLogDeliveryAccounts, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19876,6 +20190,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.Description = ptr.String(jtv) } + case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -19884,6 +20199,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.InputParameters = ptr.String(jtv) } + case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -19892,10 +20208,12 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } + case "OrganizationConfigRuleTriggerTypes": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleTriggerTypeNoSNs(&sv.OrganizationConfigRuleTriggerTypes, value); err != nil { return err } + case "PolicyRuntime": if value != nil { jtv, ok := value.(string) @@ -19904,6 +20222,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.PolicyRuntime = ptr.String(jtv) } + case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -19912,10 +20231,12 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.ResourceIdScope = ptr.String(jtv) } + case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } + case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -19924,6 +20245,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.TagKeyScope = ptr.String(jtv) } + case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -19932,6 +20254,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomPolicyRuleMetadataNoPolic } sv.TagValueScope = ptr.String(jtv) } + default: _, _ = key, value @@ -19971,6 +20294,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.Description = ptr.String(jtv) } + case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -19979,6 +20303,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.InputParameters = ptr.String(jtv) } + case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -19987,6 +20312,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.LambdaFunctionArn = ptr.String(jtv) } + case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -19995,10 +20321,12 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } + case "OrganizationConfigRuleTriggerTypes": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleTriggerTypes(&sv.OrganizationConfigRuleTriggerTypes, value); err != nil { return err } + case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -20007,10 +20335,12 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.ResourceIdScope = ptr.String(jtv) } + case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } + case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -20019,6 +20349,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.TagKeyScope = ptr.String(jtv) } + case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -20027,6 +20358,7 @@ func awsAwsjson11_deserializeDocumentOrganizationCustomRuleMetadata(v **types.Or } sv.TagValueScope = ptr.String(jtv) } + default: _, _ = key, value @@ -20066,6 +20398,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.Description = ptr.String(jtv) } + case "InputParameters": if value != nil { jtv, ok := value.(string) @@ -20074,6 +20407,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.InputParameters = ptr.String(jtv) } + case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -20082,6 +20416,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } + case "ResourceIdScope": if value != nil { jtv, ok := value.(string) @@ -20090,10 +20425,12 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.ResourceIdScope = ptr.String(jtv) } + case "ResourceTypesScope": if err := awsAwsjson11_deserializeDocumentResourceTypesScope(&sv.ResourceTypesScope, value); err != nil { return err } + case "RuleIdentifier": if value != nil { jtv, ok := value.(string) @@ -20102,6 +20439,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.RuleIdentifier = ptr.String(jtv) } + case "TagKeyScope": if value != nil { jtv, ok := value.(string) @@ -20110,6 +20448,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.TagKeyScope = ptr.String(jtv) } + case "TagValueScope": if value != nil { jtv, ok := value.(string) @@ -20118,6 +20457,7 @@ func awsAwsjson11_deserializeDocumentOrganizationManagedRuleMetadata(v **types.O } sv.TagValueScope = ptr.String(jtv) } + default: _, _ = key, value @@ -20157,6 +20497,7 @@ func awsAwsjson11_deserializeDocumentOversizedConfigurationItemException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20196,6 +20537,7 @@ func awsAwsjson11_deserializeDocumentPendingAggregationRequest(v **types.Pending } sv.RequesterAccountId = ptr.String(jtv) } + case "RequesterAwsRegion": if value != nil { jtv, ok := value.(string) @@ -20204,6 +20546,7 @@ func awsAwsjson11_deserializeDocumentPendingAggregationRequest(v **types.Pending } sv.RequesterAwsRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -20273,6 +20616,7 @@ func awsAwsjson11_deserializeDocumentQueryInfo(v **types.QueryInfo, value interf if err := awsAwsjson11_deserializeDocumentFieldInfoList(&sv.SelectFields, value); err != nil { return err } + default: _, _ = key, value @@ -20312,10 +20656,12 @@ func awsAwsjson11_deserializeDocumentRecordingGroup(v **types.RecordingGroup, va } sv.AllSupported = jtv } + case "exclusionByResourceTypes": if err := awsAwsjson11_deserializeDocumentExclusionByResourceTypes(&sv.ExclusionByResourceTypes, value); err != nil { return err } + case "includeGlobalResourceTypes": if value != nil { jtv, ok := value.(bool) @@ -20324,14 +20670,17 @@ func awsAwsjson11_deserializeDocumentRecordingGroup(v **types.RecordingGroup, va } sv.IncludeGlobalResourceTypes = jtv } + case "recordingStrategy": if err := awsAwsjson11_deserializeDocumentRecordingStrategy(&sv.RecordingStrategy, value); err != nil { return err } + case "resourceTypes": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -20371,10 +20720,12 @@ func awsAwsjson11_deserializeDocumentRecordingMode(v **types.RecordingMode, valu } sv.RecordingFrequency = types.RecordingFrequency(jtv) } + case "recordingModeOverrides": if err := awsAwsjson11_deserializeDocumentRecordingModeOverrides(&sv.RecordingModeOverrides, value); err != nil { return err } + default: _, _ = key, value @@ -20414,6 +20765,7 @@ func awsAwsjson11_deserializeDocumentRecordingModeOverride(v **types.RecordingMo } sv.Description = ptr.String(jtv) } + case "recordingFrequency": if value != nil { jtv, ok := value.(string) @@ -20422,10 +20774,12 @@ func awsAwsjson11_deserializeDocumentRecordingModeOverride(v **types.RecordingMo } sv.RecordingFrequency = types.RecordingFrequency(jtv) } + case "resourceTypes": if err := awsAwsjson11_deserializeDocumentRecordingModeResourceTypesList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -20535,6 +20889,7 @@ func awsAwsjson11_deserializeDocumentRecordingStrategy(v **types.RecordingStrate } sv.UseOnly = types.RecordingStrategyType(jtv) } + default: _, _ = key, value @@ -20610,6 +20965,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.RelationshipName = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20618,6 +20974,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceId = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -20626,6 +20983,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20634,6 +20992,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -20707,6 +21066,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.Arn = ptr.String(jtv) } + case "Automatic": if value != nil { jtv, ok := value.(bool) @@ -20715,6 +21075,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.Automatic = jtv } + case "ConfigRuleName": if value != nil { jtv, ok := value.(string) @@ -20723,6 +21084,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.ConfigRuleName = ptr.String(jtv) } + case "CreatedByService": if value != nil { jtv, ok := value.(string) @@ -20731,10 +21093,12 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.CreatedByService = ptr.String(jtv) } + case "ExecutionControls": if err := awsAwsjson11_deserializeDocumentExecutionControls(&sv.ExecutionControls, value); err != nil { return err } + case "MaximumAutomaticAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -20747,10 +21111,12 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.MaximumAutomaticAttempts = ptr.Int32(int32(i64)) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentRemediationParameters(&sv.Parameters, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20759,6 +21125,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.ResourceType = ptr.String(jtv) } + case "RetryAttemptSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20771,6 +21138,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.RetryAttemptSeconds = ptr.Int64(i64) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -20779,6 +21147,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -20787,6 +21156,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetType = types.RemediationTargetType(jtv) } + case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -20795,6 +21165,7 @@ func awsAwsjson11_deserializeDocumentRemediationConfiguration(v **types.Remediat } sv.TargetVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -20868,6 +21239,7 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ConfigRuleName = ptr.String(jtv) } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -20883,6 +21255,7 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20891,6 +21264,7 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -20899,6 +21273,7 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20907,6 +21282,7 @@ func awsAwsjson11_deserializeDocumentRemediationException(v **types.RemediationE } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -20946,6 +21322,7 @@ func awsAwsjson11_deserializeDocumentRemediationExceptionResourceKey(v **types.R } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20954,6 +21331,7 @@ func awsAwsjson11_deserializeDocumentRemediationExceptionResourceKey(v **types.R } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -21068,6 +21446,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -21083,10 +21462,12 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } } + case "ResourceKey": if err := awsAwsjson11_deserializeDocumentResourceKey(&sv.ResourceKey, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -21095,10 +21476,12 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStatus(v **types.Remedi } sv.State = types.RemediationExecutionState(jtv) } + case "StepDetails": if err := awsAwsjson11_deserializeDocumentRemediationExecutionSteps(&sv.StepDetails, value); err != nil { return err } + default: _, _ = key, value @@ -21172,6 +21555,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.ErrorMessage = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21180,6 +21564,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.Name = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -21195,6 +21580,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } } + case "State": if value != nil { jtv, ok := value.(string) @@ -21203,6 +21589,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } sv.State = types.RemediationExecutionStepState(jtv) } + case "StopTime": if value != nil { switch jtv := value.(type) { @@ -21218,6 +21605,7 @@ func awsAwsjson11_deserializeDocumentRemediationExecutionStep(v **types.Remediat } } + default: _, _ = key, value @@ -21291,6 +21679,7 @@ func awsAwsjson11_deserializeDocumentRemediationInProgressException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21361,10 +21750,12 @@ func awsAwsjson11_deserializeDocumentRemediationParameterValue(v **types.Remedia if err := awsAwsjson11_deserializeDocumentResourceValue(&sv.ResourceValue, value); err != nil { return err } + case "StaticValue": if err := awsAwsjson11_deserializeDocumentStaticValue(&sv.StaticValue, value); err != nil { return err } + default: _, _ = key, value @@ -21404,6 +21795,7 @@ func awsAwsjson11_deserializeDocumentResourceConcurrentModificationException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21447,6 +21839,7 @@ func awsAwsjson11_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.Count = i64 } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21455,6 +21848,7 @@ func awsAwsjson11_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -21528,6 +21922,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceConfiguration = ptr.String(jtv) } + case "ResourceConfigurationSchemaType": if value != nil { jtv, ok := value.(string) @@ -21536,6 +21931,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceConfigurationSchemaType = types.ResourceConfigurationSchemaType(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -21544,6 +21940,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21552,6 +21949,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -21591,6 +21989,7 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } sv.EvaluationMode = types.EvaluationMode(jtv) } + case "EvaluationStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -21606,6 +22005,7 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } } + case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -21614,6 +22014,7 @@ func awsAwsjson11_deserializeDocumentResourceEvaluation(v **types.ResourceEvalua } sv.ResourceEvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -21694,6 +22095,7 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -21702,6 +22104,7 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceId = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -21710,6 +22113,7 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21718,6 +22122,7 @@ func awsAwsjson11_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -21791,6 +22196,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21830,6 +22236,7 @@ func awsAwsjson11_deserializeDocumentResourceKey(v **types.ResourceKey, value in } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21838,6 +22245,7 @@ func awsAwsjson11_deserializeDocumentResourceKey(v **types.ResourceKey, value in } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -21911,6 +22319,7 @@ func awsAwsjson11_deserializeDocumentResourceNotDiscoveredException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21950,6 +22359,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22061,6 +22471,7 @@ func awsAwsjson11_deserializeDocumentResourceValue(v **types.ResourceValue, valu } sv.Value = types.ResourceValueType(jtv) } + default: _, _ = key, value @@ -22136,6 +22547,7 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC } sv.Name = ptr.String(jtv) } + case "RetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -22148,6 +22560,7 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC } sv.RetentionPeriodInDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22221,10 +22634,12 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.ComplianceResourceId = ptr.String(jtv) } + case "ComplianceResourceTypes": if err := awsAwsjson11_deserializeDocumentComplianceResourceTypes(&sv.ComplianceResourceTypes, value); err != nil { return err } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -22233,6 +22648,7 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -22241,6 +22657,7 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -22276,6 +22693,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsAwsjson11_deserializeDocumentCustomPolicyDetails(&sv.CustomPolicyDetails, value); err != nil { return err } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -22284,10 +22702,12 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Owner = types.Owner(jtv) } + case "SourceDetails": if err := awsAwsjson11_deserializeDocumentSourceDetails(&sv.SourceDetails, value); err != nil { return err } + case "SourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -22296,6 +22716,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -22335,6 +22756,7 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.EventSource = types.EventSource(jtv) } + case "MaximumExecutionFrequency": if value != nil { jtv, ok := value.(string) @@ -22343,6 +22765,7 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.MaximumExecutionFrequency = types.MaximumExecutionFrequency(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -22351,6 +22774,7 @@ func awsAwsjson11_deserializeDocumentSourceDetail(v **types.SourceDetail, value } sv.MessageType = types.MessageType(jtv) } + default: _, _ = key, value @@ -22428,6 +22852,7 @@ func awsAwsjson11_deserializeDocumentSsmControls(v **types.SsmControls, value in } sv.ConcurrentExecutionRatePercentage = ptr.Int32(int32(i64)) } + case "ErrorPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -22440,6 +22865,7 @@ func awsAwsjson11_deserializeDocumentSsmControls(v **types.SsmControls, value in } sv.ErrorPercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22511,6 +22937,7 @@ func awsAwsjson11_deserializeDocumentStaticValue(v **types.StaticValue, value in if err := awsAwsjson11_deserializeDocumentStaticParameterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -22550,6 +22977,7 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.Description = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -22558,6 +22986,7 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.Expression = ptr.String(jtv) } + case "QueryArn": if value != nil { jtv, ok := value.(string) @@ -22566,6 +22995,7 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryArn = ptr.String(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -22574,6 +23004,7 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryId = ptr.String(jtv) } + case "QueryName": if value != nil { jtv, ok := value.(string) @@ -22582,6 +23013,7 @@ func awsAwsjson11_deserializeDocumentStoredQuery(v **types.StoredQuery, value in } sv.QueryName = ptr.String(jtv) } + default: _, _ = key, value @@ -22621,6 +23053,7 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.Description = ptr.String(jtv) } + case "QueryArn": if value != nil { jtv, ok := value.(string) @@ -22629,6 +23062,7 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryArn = ptr.String(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -22637,6 +23071,7 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryId = ptr.String(jtv) } + case "QueryName": if value != nil { jtv, ok := value.(string) @@ -22645,6 +23080,7 @@ func awsAwsjson11_deserializeDocumentStoredQueryMetadata(v **types.StoredQueryMe } sv.QueryName = ptr.String(jtv) } + default: _, _ = key, value @@ -22754,6 +23190,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -22762,6 +23199,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22871,6 +23309,7 @@ func awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(v **types.Templa } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -22879,6 +23318,7 @@ func awsAwsjson11_deserializeDocumentTemplateSSMDocumentDetails(v **types.Templa } sv.DocumentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -22918,6 +23358,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22991,6 +23432,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23026,10 +23468,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetAggregateResourceConfigOutput(v * if err := awsAwsjson11_deserializeDocumentBaseConfigurationItems(&sv.BaseConfigurationItems, value); err != nil { return err } + case "UnprocessedResourceIdentifiers": if err := awsAwsjson11_deserializeDocumentUnprocessedResourceIdentifierList(&sv.UnprocessedResourceIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -23065,10 +23509,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetResourceConfigOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentBaseConfigurationItems(&sv.BaseConfigurationItems, value); err != nil { return err } + case "unprocessedResourceKeys": if err := awsAwsjson11_deserializeDocumentResourceKeys(&sv.UnprocessedResourceKeys, value); err != nil { return err } + default: _, _ = key, value @@ -23166,6 +23612,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRemediationExceptionsOutput(v **Del if err := awsAwsjson11_deserializeDocumentFailedDeleteRemediationExceptionsBatches(&sv.FailedBatches, value); err != nil { return err } + default: _, _ = key, value @@ -23236,6 +23683,7 @@ func awsAwsjson11_deserializeOpDocumentDeliverConfigSnapshotOutput(v **DeliverCo } sv.ConfigSnapshotId = ptr.String(jtv) } + default: _, _ = key, value @@ -23271,6 +23719,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConfigRulesO if err := awsAwsjson11_deserializeDocumentAggregateComplianceByConfigRuleList(&sv.AggregateComplianceByConfigRules, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23279,6 +23728,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConfigRulesO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23314,6 +23764,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConformanceP if err := awsAwsjson11_deserializeDocumentAggregateComplianceByConformancePackList(&sv.AggregateComplianceByConformancePacks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23322,6 +23773,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregateComplianceByConformanceP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23357,6 +23809,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregationAuthorizationsOutput(v if err := awsAwsjson11_deserializeDocumentAggregationAuthorizationList(&sv.AggregationAuthorizations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23365,6 +23818,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAggregationAuthorizationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23400,6 +23854,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByConfigRuleOutput(v ** if err := awsAwsjson11_deserializeDocumentComplianceByConfigRules(&sv.ComplianceByConfigRules, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23408,6 +23863,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByConfigRuleOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23443,6 +23899,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByResourceOutput(v **De if err := awsAwsjson11_deserializeDocumentComplianceByResources(&sv.ComplianceByResources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23451,6 +23908,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComplianceByResourceOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23486,6 +23944,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRuleEvaluationStatusOutput( if err := awsAwsjson11_deserializeDocumentConfigRuleEvaluationStatusList(&sv.ConfigRulesEvaluationStatus, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23494,6 +23953,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRuleEvaluationStatusOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23529,6 +23989,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRulesOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConfigRules(&sv.ConfigRules, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23537,6 +23998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigRulesOutput(v **DescribeCon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23572,6 +24034,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorSourcesSta if err := awsAwsjson11_deserializeDocumentAggregatedSourceStatusList(&sv.AggregatedSourceStatusList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23580,6 +24043,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorSourcesSta } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23615,6 +24079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorsOutput(v if err := awsAwsjson11_deserializeDocumentConfigurationAggregatorList(&sv.ConfigurationAggregators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23623,6 +24088,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationAggregatorsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23658,6 +24124,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationRecordersOutput(v ** if err := awsAwsjson11_deserializeDocumentConfigurationRecorderList(&sv.ConfigurationRecorders, value); err != nil { return err } + default: _, _ = key, value @@ -23693,6 +24160,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConfigurationRecorderStatusOutput if err := awsAwsjson11_deserializeDocumentConfigurationRecorderStatusList(&sv.ConfigurationRecordersStatus, value); err != nil { return err } + default: _, _ = key, value @@ -23732,10 +24200,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackComplianceOutput(v } sv.ConformancePackName = ptr.String(jtv) } + case "ConformancePackRuleComplianceList": if err := awsAwsjson11_deserializeDocumentConformancePackRuleComplianceList(&sv.ConformancePackRuleComplianceList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23744,6 +24214,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackComplianceOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23779,6 +24250,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePacksOutput(v **Descri if err := awsAwsjson11_deserializeDocumentConformancePackDetailList(&sv.ConformancePackDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23787,6 +24259,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePacksOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23822,6 +24295,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentConformancePackStatusDetailsList(&sv.ConformancePackStatusDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23830,6 +24304,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConformancePackStatusOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23865,6 +24340,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryChannelsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDeliveryChannelList(&sv.DeliveryChannels, value); err != nil { return err } + default: _, _ = key, value @@ -23900,6 +24376,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryChannelStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentDeliveryChannelStatusList(&sv.DeliveryChannelsStatus, value); err != nil { return err } + default: _, _ = key, value @@ -23939,10 +24416,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConfigRulesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "OrganizationConfigRules": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRules(&sv.OrganizationConfigRules, value); err != nil { return err } + default: _, _ = key, value @@ -23982,10 +24461,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConfigRuleStatusesOut } sv.NextToken = ptr.String(jtv) } + case "OrganizationConfigRuleStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleStatuses(&sv.OrganizationConfigRuleStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -24025,10 +24506,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConformancePacksOutpu } sv.NextToken = ptr.String(jtv) } + case "OrganizationConformancePacks": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePacks(&sv.OrganizationConformancePacks, value); err != nil { return err } + default: _, _ = key, value @@ -24068,10 +24551,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationConformancePackStatus } sv.NextToken = ptr.String(jtv) } + case "OrganizationConformancePackStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePackStatuses(&sv.OrganizationConformancePackStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -24111,10 +24596,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePendingAggregationRequestsOutput( } sv.NextToken = ptr.String(jtv) } + case "PendingAggregationRequests": if err := awsAwsjson11_deserializeDocumentPendingAggregationRequestList(&sv.PendingAggregationRequests, value); err != nil { return err } + default: _, _ = key, value @@ -24150,6 +24637,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationConfigurationsOutput(v if err := awsAwsjson11_deserializeDocumentRemediationConfigurations(&sv.RemediationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -24189,10 +24677,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationExceptionsOutput(v **D } sv.NextToken = ptr.String(jtv) } + case "RemediationExceptions": if err := awsAwsjson11_deserializeDocumentRemediationExceptions(&sv.RemediationExceptions, value); err != nil { return err } + default: _, _ = key, value @@ -24232,10 +24722,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRemediationExecutionStatusOutput( } sv.NextToken = ptr.String(jtv) } + case "RemediationExecutionStatuses": if err := awsAwsjson11_deserializeDocumentRemediationExecutionStatuses(&sv.RemediationExecutionStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -24275,10 +24767,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRetentionConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "RetentionConfigurations": if err := awsAwsjson11_deserializeDocumentRetentionConfigurationList(&sv.RetentionConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -24314,6 +24808,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateComplianceDetailsByConfigRule if err := awsAwsjson11_deserializeDocumentAggregateEvaluationResultList(&sv.AggregateEvaluationResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24322,6 +24817,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateComplianceDetailsByConfigRule } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24357,6 +24853,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu if err := awsAwsjson11_deserializeDocumentAggregateComplianceCountList(&sv.AggregateComplianceCounts, value); err != nil { return err } + case "GroupByKey": if value != nil { jtv, ok := value.(string) @@ -24365,6 +24862,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu } sv.GroupByKey = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24373,6 +24871,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConfigRuleComplianceSummaryOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24408,6 +24907,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm if err := awsAwsjson11_deserializeDocumentAggregateConformancePackComplianceSummaryList(&sv.AggregateConformancePackComplianceSummaries, value); err != nil { return err } + case "GroupByKey": if value != nil { jtv, ok := value.(string) @@ -24416,6 +24916,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm } sv.GroupByKey = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24424,6 +24925,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateConformancePackComplianceSumm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24463,10 +24965,12 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.GroupByKey = ptr.String(jtv) } + case "GroupedResourceCounts": if err := awsAwsjson11_deserializeDocumentGroupedResourceCountList(&sv.GroupedResourceCounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24475,6 +24979,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.NextToken = ptr.String(jtv) } + case "TotalDiscoveredResources": if value != nil { jtv, ok := value.(json.Number) @@ -24487,6 +24992,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateDiscoveredResourceCountsOutpu } sv.TotalDiscoveredResources = i64 } + default: _, _ = key, value @@ -24522,6 +25028,7 @@ func awsAwsjson11_deserializeOpDocumentGetAggregateResourceConfigOutput(v **GetA if err := awsAwsjson11_deserializeDocumentConfigurationItem(&sv.ConfigurationItem, value); err != nil { return err } + default: _, _ = key, value @@ -24557,6 +25064,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByConfigRuleOutput(v if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24565,6 +25073,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByConfigRuleOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24600,6 +25109,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByResourceOutput(v ** if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24608,6 +25118,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailsByResourceOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24643,6 +25154,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryByConfigRuleOutput(v if err := awsAwsjson11_deserializeDocumentComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } + default: _, _ = key, value @@ -24678,6 +25190,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryByResourceTypeOutput( if err := awsAwsjson11_deserializeDocumentComplianceSummariesByResourceType(&sv.ComplianceSummariesByResourceType, value); err != nil { return err } + default: _, _ = key, value @@ -24717,10 +25230,12 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceDetailsOutput } sv.ConformancePackName = ptr.String(jtv) } + case "ConformancePackRuleEvaluationResults": if err := awsAwsjson11_deserializeDocumentConformancePackRuleEvaluationResultsList(&sv.ConformancePackRuleEvaluationResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24729,6 +25244,7 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceDetailsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24764,6 +25280,7 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceSummaryOutput if err := awsAwsjson11_deserializeDocumentConformancePackComplianceSummaryList(&sv.ConformancePackComplianceSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24772,6 +25289,7 @@ func awsAwsjson11_deserializeOpDocumentGetConformancePackComplianceSummaryOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24811,6 +25329,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomRulePolicyOutput(v **GetCustomRu } sv.PolicyText = ptr.String(jtv) } + default: _, _ = key, value @@ -24850,10 +25369,12 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoveredResourceCountsOutput(v **Get } sv.NextToken = ptr.String(jtv) } + case "resourceCounts": if err := awsAwsjson11_deserializeDocumentResourceCounts(&sv.ResourceCounts, value); err != nil { return err } + case "totalDiscoveredResources": if value != nil { jtv, ok := value.(json.Number) @@ -24866,6 +25387,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiscoveredResourceCountsOutput(v **Get } sv.TotalDiscoveredResources = i64 } + default: _, _ = key, value @@ -24905,10 +25427,12 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationConfigRuleDetailedStatusOu } sv.NextToken = ptr.String(jtv) } + case "OrganizationConfigRuleDetailedStatus": if err := awsAwsjson11_deserializeDocumentOrganizationConfigRuleDetailedStatus(&sv.OrganizationConfigRuleDetailedStatus, value); err != nil { return err } + default: _, _ = key, value @@ -24948,10 +25472,12 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationConformancePackDetailedSta } sv.NextToken = ptr.String(jtv) } + case "OrganizationConformancePackDetailedStatuses": if err := awsAwsjson11_deserializeDocumentOrganizationConformancePackDetailedStatuses(&sv.OrganizationConformancePackDetailedStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -24991,6 +25517,7 @@ func awsAwsjson11_deserializeOpDocumentGetOrganizationCustomRulePolicyOutput(v * } sv.PolicyText = ptr.String(jtv) } + default: _, _ = key, value @@ -25026,6 +25553,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceConfigHistoryOutput(v **GetRes if err := awsAwsjson11_deserializeDocumentConfigurationItemList(&sv.ConfigurationItems, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25034,6 +25562,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceConfigHistoryOutput(v **GetRes } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25073,10 +25602,12 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.Compliance = types.ComplianceType(jtv) } + case "EvaluationContext": if err := awsAwsjson11_deserializeDocumentEvaluationContext(&sv.EvaluationContext, value); err != nil { return err } + case "EvaluationMode": if value != nil { jtv, ok := value.(string) @@ -25085,6 +25616,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.EvaluationMode = types.EvaluationMode(jtv) } + case "EvaluationStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -25100,14 +25632,17 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } } + case "EvaluationStatus": if err := awsAwsjson11_deserializeDocumentEvaluationStatus(&sv.EvaluationStatus, value); err != nil { return err } + case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "ResourceEvaluationId": if value != nil { jtv, ok := value.(string) @@ -25116,6 +25651,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceEvaluationSummaryOutput(v **Ge } sv.ResourceEvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -25151,6 +25687,7 @@ func awsAwsjson11_deserializeOpDocumentGetStoredQueryOutput(v **GetStoredQueryOu if err := awsAwsjson11_deserializeDocumentStoredQuery(&sv.StoredQuery, value); err != nil { return err } + default: _, _ = key, value @@ -25190,10 +25727,12 @@ func awsAwsjson11_deserializeOpDocumentListAggregateDiscoveredResourcesOutput(v } sv.NextToken = ptr.String(jtv) } + case "ResourceIdentifiers": if err := awsAwsjson11_deserializeDocumentDiscoveredResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -25229,6 +25768,7 @@ func awsAwsjson11_deserializeOpDocumentListConformancePackComplianceScoresOutput if err := awsAwsjson11_deserializeDocumentConformancePackComplianceScores(&sv.ConformancePackComplianceScores, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25237,6 +25777,7 @@ func awsAwsjson11_deserializeOpDocumentListConformancePackComplianceScoresOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25276,10 +25817,12 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } + case "resourceIdentifiers": if err := awsAwsjson11_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -25319,10 +25862,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceEvaluationsOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } + case "ResourceEvaluations": if err := awsAwsjson11_deserializeDocumentResourceEvaluations(&sv.ResourceEvaluations, value); err != nil { return err } + default: _, _ = key, value @@ -25362,10 +25907,12 @@ func awsAwsjson11_deserializeOpDocumentListStoredQueriesOutput(v **ListStoredQue } sv.NextToken = ptr.String(jtv) } + case "StoredQueryMetadata": if err := awsAwsjson11_deserializeDocumentStoredQueryMetadataList(&sv.StoredQueryMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -25405,10 +25952,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -25444,6 +25993,7 @@ func awsAwsjson11_deserializeOpDocumentPutAggregationAuthorizationOutput(v **Put if err := awsAwsjson11_deserializeDocumentAggregationAuthorization(&sv.AggregationAuthorization, value); err != nil { return err } + default: _, _ = key, value @@ -25479,6 +26029,7 @@ func awsAwsjson11_deserializeOpDocumentPutConfigurationAggregatorOutput(v **PutC if err := awsAwsjson11_deserializeDocumentConfigurationAggregator(&sv.ConfigurationAggregator, value); err != nil { return err } + default: _, _ = key, value @@ -25518,6 +26069,7 @@ func awsAwsjson11_deserializeOpDocumentPutConformancePackOutput(v **PutConforman } sv.ConformancePackArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25553,6 +26105,7 @@ func awsAwsjson11_deserializeOpDocumentPutEvaluationsOutput(v **PutEvaluationsOu if err := awsAwsjson11_deserializeDocumentEvaluations(&sv.FailedEvaluations, value); err != nil { return err } + default: _, _ = key, value @@ -25623,6 +26176,7 @@ func awsAwsjson11_deserializeOpDocumentPutOrganizationConfigRuleOutput(v **PutOr } sv.OrganizationConfigRuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25662,6 +26216,7 @@ func awsAwsjson11_deserializeOpDocumentPutOrganizationConformancePackOutput(v ** } sv.OrganizationConformancePackArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25697,6 +26252,7 @@ func awsAwsjson11_deserializeOpDocumentPutRemediationConfigurationsOutput(v **Pu if err := awsAwsjson11_deserializeDocumentFailedRemediationBatches(&sv.FailedBatches, value); err != nil { return err } + default: _, _ = key, value @@ -25732,6 +26288,7 @@ func awsAwsjson11_deserializeOpDocumentPutRemediationExceptionsOutput(v **PutRem if err := awsAwsjson11_deserializeDocumentFailedRemediationExceptionBatches(&sv.FailedBatches, value); err != nil { return err } + default: _, _ = key, value @@ -25767,6 +26324,7 @@ func awsAwsjson11_deserializeOpDocumentPutRetentionConfigurationOutput(v **PutRe if err := awsAwsjson11_deserializeDocumentRetentionConfiguration(&sv.RetentionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -25806,6 +26364,7 @@ func awsAwsjson11_deserializeOpDocumentPutStoredQueryOutput(v **PutStoredQueryOu } sv.QueryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25845,14 +26404,17 @@ func awsAwsjson11_deserializeOpDocumentSelectAggregateResourceConfigOutput(v **S } sv.NextToken = ptr.String(jtv) } + case "QueryInfo": if err := awsAwsjson11_deserializeDocumentQueryInfo(&sv.QueryInfo, value); err != nil { return err } + case "Results": if err := awsAwsjson11_deserializeDocumentResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -25892,14 +26454,17 @@ func awsAwsjson11_deserializeOpDocumentSelectResourceConfigOutput(v **SelectReso } sv.NextToken = ptr.String(jtv) } + case "QueryInfo": if err := awsAwsjson11_deserializeDocumentQueryInfo(&sv.QueryInfo, value); err != nil { return err } + case "Results": if err := awsAwsjson11_deserializeDocumentResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -25966,6 +26531,7 @@ func awsAwsjson11_deserializeOpDocumentStartRemediationExecutionOutput(v **Start if err := awsAwsjson11_deserializeDocumentResourceKeys(&sv.FailedItems, value); err != nil { return err } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -25974,6 +26540,7 @@ func awsAwsjson11_deserializeOpDocumentStartRemediationExecutionOutput(v **Start } sv.FailureMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -26013,6 +26580,7 @@ func awsAwsjson11_deserializeOpDocumentStartResourceEvaluationOutput(v **StartRe } sv.ResourceEvaluationId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index 229367d3d29..903cb159794 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -197,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -209,6 +211,7 @@ func awsRestjson1_deserializeOpDocumentActivateEvaluationFormOutput(v **Activate } sv.EvaluationFormVersion = int32(i64) } + default: _, _ = key, value @@ -376,6 +379,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.DataSetId = ptr.String(jtv) } + case "ResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -384,6 +388,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.ResourceShareArn = ptr.String(jtv) } + case "ResourceShareId": if value != nil { jtv, ok := value.(string) @@ -392,6 +397,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.ResourceShareId = ptr.String(jtv) } + case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -400,6 +406,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAnalyticsDataSetOutput(v **Assoc } sv.TargetAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -997,6 +1004,7 @@ func awsRestjson1_deserializeOpDocumentAssociateInstanceStorageConfigOutput(v ** } sv.AssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -1715,6 +1723,7 @@ func awsRestjson1_deserializeOpDocumentAssociateSecurityKeyOutput(v **AssociateS } sv.AssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -2087,10 +2096,12 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateAnalyticsDataSetOutput(v ** if err := awsRestjson1_deserializeDocumentAnalyticsDataAssociationResults(&sv.Created, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentErrorResults(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -2254,10 +2265,12 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateAnalyticsDataSetOutput(v if err := awsRestjson1_deserializeDocumentDataSetIds(&sv.Deleted, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentErrorResults(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -2421,10 +2434,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetAttachedFileMetadataOutput(v **Ba if err := awsRestjson1_deserializeDocumentAttachedFileErrorsList(&sv.Errors, value); err != nil { return err } + case "Files": if err := awsRestjson1_deserializeDocumentAttachedFilesList(&sv.Files, value); err != nil { return err } + default: _, _ = key, value @@ -2591,6 +2606,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetFlowAssociationOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentFlowAssociationSummaryList(&sv.FlowAssociationSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -2757,10 +2773,12 @@ func awsRestjson1_deserializeOpDocumentBatchPutContactOutput(v **BatchPutContact if err := awsRestjson1_deserializeDocumentFailedRequestList(&sv.FailedRequestList, value); err != nil { return err } + case "SuccessfulRequestList": if err := awsRestjson1_deserializeDocumentSuccessfulRequestList(&sv.SuccessfulRequestList, value); err != nil { return err } + default: _, _ = key, value @@ -2931,6 +2949,7 @@ func awsRestjson1_deserializeOpDocumentClaimPhoneNumberOutput(v **ClaimPhoneNumb } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -2939,6 +2958,7 @@ func awsRestjson1_deserializeOpDocumentClaimPhoneNumberOutput(v **ClaimPhoneNumb } sv.PhoneNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -3212,6 +3232,7 @@ func awsRestjson1_deserializeOpDocumentCreateAgentStatusOutput(v **CreateAgentSt } sv.AgentStatusARN = ptr.String(jtv) } + case "AgentStatusId": if value != nil { jtv, ok := value.(string) @@ -3220,6 +3241,7 @@ func awsRestjson1_deserializeOpDocumentCreateAgentStatusOutput(v **CreateAgentSt } sv.AgentStatusId = ptr.String(jtv) } + default: _, _ = key, value @@ -3396,6 +3418,7 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowOutput(v **CreateContact } sv.ContactFlowArn = ptr.String(jtv) } + case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -3404,6 +3427,7 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowOutput(v **CreateContact } sv.ContactFlowId = ptr.String(jtv) } + default: _, _ = key, value @@ -3586,6 +3610,7 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowModuleOutput(v **CreateC } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3594,6 +3619,7 @@ func awsRestjson1_deserializeOpDocumentCreateContactFlowModuleOutput(v **CreateC } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3764,6 +3790,7 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationFormOutput(v **CreateEval } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -3772,6 +3799,7 @@ func awsRestjson1_deserializeOpDocumentCreateEvaluationFormOutput(v **CreateEval } sv.EvaluationFormId = ptr.String(jtv) } + default: _, _ = key, value @@ -3945,6 +3973,7 @@ func awsRestjson1_deserializeOpDocumentCreateHoursOfOperationOutput(v **CreateHo } sv.HoursOfOperationArn = ptr.String(jtv) } + case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -3953,6 +3982,7 @@ func awsRestjson1_deserializeOpDocumentCreateHoursOfOperationOutput(v **CreateHo } sv.HoursOfOperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -4120,6 +4150,7 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4128,6 +4159,7 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4295,6 +4327,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationAssociationOutput(v **Cr } sv.IntegrationAssociationArn = ptr.String(jtv) } + case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -4303,6 +4336,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationAssociationOutput(v **Cr } sv.IntegrationAssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -4466,6 +4500,7 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantOutput(v **CreatePartici if err := awsRestjson1_deserializeDocumentParticipantTokenCredentials(&sv.ParticipantCredentials, value); err != nil { return err } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -4474,6 +4509,7 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantOutput(v **CreatePartici } sv.ParticipantId = ptr.String(jtv) } + default: _, _ = key, value @@ -4644,6 +4680,7 @@ func awsRestjson1_deserializeOpDocumentCreatePersistentContactAssociationOutput( } sv.ContinuedFromContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -4926,6 +4963,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.PromptARN = ptr.String(jtv) } + case "PromptId": if value != nil { jtv, ok := value.(string) @@ -4934,6 +4972,7 @@ func awsRestjson1_deserializeOpDocumentCreatePromptOutput(v **CreatePromptOutput } sv.PromptId = ptr.String(jtv) } + default: _, _ = key, value @@ -5107,6 +5146,7 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueArn = ptr.String(jtv) } + case "QueueId": if value != nil { jtv, ok := value.(string) @@ -5115,6 +5155,7 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueId = ptr.String(jtv) } + default: _, _ = key, value @@ -5288,6 +5329,7 @@ func awsRestjson1_deserializeOpDocumentCreateQuickConnectOutput(v **CreateQuickC } sv.QuickConnectARN = ptr.String(jtv) } + case "QuickConnectId": if value != nil { jtv, ok := value.(string) @@ -5296,6 +5338,7 @@ func awsRestjson1_deserializeOpDocumentCreateQuickConnectOutput(v **CreateQuickC } sv.QuickConnectId = ptr.String(jtv) } + default: _, _ = key, value @@ -5469,6 +5512,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingProfileOutput(v **CreateRout } sv.RoutingProfileArn = ptr.String(jtv) } + case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -5477,6 +5521,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingProfileOutput(v **CreateRout } sv.RoutingProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -5650,6 +5695,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -5658,6 +5704,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -5831,6 +5878,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileArn = ptr.String(jtv) } + case "SecurityProfileId": if value != nil { jtv, ok := value.(string) @@ -5839,6 +5887,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -6009,6 +6058,7 @@ func awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(v **CreateTaskTe } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6017,6 +6067,7 @@ func awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(v **CreateTaskTe } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6193,6 +6244,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrafficDistributionGroupOutput(v ** } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6201,6 +6253,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrafficDistributionGroupOutput(v ** } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6368,6 +6421,7 @@ func awsRestjson1_deserializeOpDocumentCreateUseCaseOutput(v **CreateUseCaseOutp } sv.UseCaseArn = ptr.String(jtv) } + case "UseCaseId": if value != nil { jtv, ok := value.(string) @@ -6376,6 +6430,7 @@ func awsRestjson1_deserializeOpDocumentCreateUseCaseOutput(v **CreateUseCaseOutp } sv.UseCaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -6549,6 +6604,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserArn = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -6557,6 +6613,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -6730,6 +6787,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserHierarchyGroupOutput(v **Create } sv.HierarchyGroupArn = ptr.String(jtv) } + case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -6738,6 +6796,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserHierarchyGroupOutput(v **Create } sv.HierarchyGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -6913,6 +6972,7 @@ func awsRestjson1_deserializeOpDocumentCreateViewOutput(v **CreateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -7085,6 +7145,7 @@ func awsRestjson1_deserializeOpDocumentCreateViewVersionOutput(v **CreateViewVer if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -7258,6 +7319,7 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.State = types.VocabularyState(jtv) } + case "VocabularyArn": if value != nil { jtv, ok := value.(string) @@ -7266,6 +7328,7 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyArn = ptr.String(jtv) } + case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -7274,6 +7337,7 @@ func awsRestjson1_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyId = ptr.String(jtv) } + default: _, _ = key, value @@ -7441,6 +7505,7 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -7449,6 +7514,7 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7461,6 +7527,7 @@ func awsRestjson1_deserializeOpDocumentDeactivateEvaluationFormOutput(v **Deacti } sv.EvaluationFormVersion = int32(i64) } + default: _, _ = key, value @@ -9945,6 +10012,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.State = types.VocabularyState(jtv) } + case "VocabularyArn": if value != nil { jtv, ok := value.(string) @@ -9953,6 +10021,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.VocabularyArn = ptr.String(jtv) } + case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -9961,6 +10030,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVocabularyOutput(v **DeleteVocabula } sv.VocabularyId = ptr.String(jtv) } + default: _, _ = key, value @@ -10124,6 +10194,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAgentStatusOutput(v **DescribeAge if err := awsRestjson1_deserializeDocumentAgentStatus(&sv.AgentStatus, value); err != nil { return err } + default: _, _ = key, value @@ -10287,6 +10358,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuthenticationProfileOutput(v **D if err := awsRestjson1_deserializeDocumentAuthenticationProfile(&sv.AuthenticationProfile, value); err != nil { return err } + default: _, _ = key, value @@ -10450,6 +10522,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact if err := awsRestjson1_deserializeDocumentContact(&sv.Contact, value); err != nil { return err } + default: _, _ = key, value @@ -10610,10 +10683,12 @@ func awsRestjson1_deserializeOpDocumentDescribeContactEvaluationOutput(v **Descr if err := awsRestjson1_deserializeDocumentEvaluation(&sv.Evaluation, value); err != nil { return err } + case "EvaluationForm": if err := awsRestjson1_deserializeDocumentEvaluationFormContent(&sv.EvaluationForm, value); err != nil { return err } + default: _, _ = key, value @@ -10780,6 +10855,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactFlowOutput(v **DescribeCon if err := awsRestjson1_deserializeDocumentContactFlow(&sv.ContactFlow, value); err != nil { return err } + default: _, _ = key, value @@ -10946,6 +11022,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactFlowModuleOutput(v **Descr if err := awsRestjson1_deserializeDocumentContactFlowModule(&sv.ContactFlowModule, value); err != nil { return err } + default: _, _ = key, value @@ -11106,6 +11183,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEvaluationFormOutput(v **Describe if err := awsRestjson1_deserializeDocumentEvaluationForm(&sv.EvaluationForm, value); err != nil { return err } + default: _, _ = key, value @@ -11269,6 +11347,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHoursOfOperationOutput(v **Descri if err := awsRestjson1_deserializeDocumentHoursOfOperation(&sv.HoursOfOperation, value); err != nil { return err } + default: _, _ = key, value @@ -11426,10 +11505,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + case "ReplicationConfiguration": if err := awsRestjson1_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11593,6 +11674,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceAttributeOutput(v **Descr if err := awsRestjson1_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } + default: _, _ = key, value @@ -11756,6 +11838,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceStorageConfigOutput(v **D if err := awsRestjson1_deserializeDocumentInstanceStorageConfig(&sv.StorageConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11919,6 +12002,7 @@ func awsRestjson1_deserializeOpDocumentDescribePhoneNumberOutput(v **DescribePho if err := awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(&sv.ClaimedPhoneNumberSummary, value); err != nil { return err } + default: _, _ = key, value @@ -12082,6 +12166,7 @@ func awsRestjson1_deserializeOpDocumentDescribePredefinedAttributeOutput(v **Des if err := awsRestjson1_deserializeDocumentPredefinedAttribute(&sv.PredefinedAttribute, value); err != nil { return err } + default: _, _ = key, value @@ -12245,6 +12330,7 @@ func awsRestjson1_deserializeOpDocumentDescribePromptOutput(v **DescribePromptOu if err := awsRestjson1_deserializeDocumentPrompt(&sv.Prompt, value); err != nil { return err } + default: _, _ = key, value @@ -12408,6 +12494,7 @@ func awsRestjson1_deserializeOpDocumentDescribeQueueOutput(v **DescribeQueueOutp if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -12571,6 +12658,7 @@ func awsRestjson1_deserializeOpDocumentDescribeQuickConnectOutput(v **DescribeQu if err := awsRestjson1_deserializeDocumentQuickConnect(&sv.QuickConnect, value); err != nil { return err } + default: _, _ = key, value @@ -12734,6 +12822,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoutingProfileOutput(v **Describe if err := awsRestjson1_deserializeDocumentRoutingProfile(&sv.RoutingProfile, value); err != nil { return err } + default: _, _ = key, value @@ -12897,6 +12986,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput if err := awsRestjson1_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -13060,6 +13150,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ if err := awsRestjson1_deserializeDocumentSecurityProfile(&sv.SecurityProfile, value); err != nil { return err } + default: _, _ = key, value @@ -13223,6 +13314,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrafficDistributionGroupOutput(v if err := awsRestjson1_deserializeDocumentTrafficDistributionGroup(&sv.TrafficDistributionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13386,6 +13478,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -13549,6 +13642,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserHierarchyGroupOutput(v **Desc if err := awsRestjson1_deserializeDocumentHierarchyGroup(&sv.HierarchyGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13712,6 +13806,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserHierarchyStructureOutput(v ** if err := awsRestjson1_deserializeDocumentHierarchyStructure(&sv.HierarchyStructure, value); err != nil { return err } + default: _, _ = key, value @@ -13878,6 +13973,7 @@ func awsRestjson1_deserializeOpDocumentDescribeViewOutput(v **DescribeViewOutput if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -14041,6 +14137,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVocabularyOutput(v **DescribeVoca if err := awsRestjson1_deserializeDocumentVocabulary(&sv.Vocabulary, value); err != nil { return err } + default: _, _ = key, value @@ -15680,10 +15777,12 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.AssociatedResourceArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -15692,10 +15791,12 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.CreationTime = ptr.String(jtv) } + case "DownloadUrlMetadata": if err := awsRestjson1_deserializeDocumentDownloadUrlMetadata(&sv.DownloadUrlMetadata, value); err != nil { return err } + case "FileArn": if value != nil { jtv, ok := value.(string) @@ -15704,6 +15805,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileArn = ptr.String(jtv) } + case "FileId": if value != nil { jtv, ok := value.(string) @@ -15712,6 +15814,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileId = ptr.String(jtv) } + case "FileName": if value != nil { jtv, ok := value.(string) @@ -15720,6 +15823,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileName = ptr.String(jtv) } + case "FileSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15732,6 +15836,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileSizeInBytes = ptr.Int64(i64) } + case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -15740,6 +15845,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileStatus = types.FileStatusType(jtv) } + case "FileUseCaseType": if value != nil { jtv, ok := value.(string) @@ -15748,10 +15854,12 @@ func awsRestjson1_deserializeOpDocumentGetAttachedFileOutput(v **GetAttachedFile } sv.FileUseCaseType = types.FileUseCaseType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15909,6 +16017,7 @@ func awsRestjson1_deserializeOpDocumentGetContactAttributesOutput(v **GetContact if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -16080,6 +16189,7 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "DataSnapshotTime": if value != nil { switch jtv := value.(type) { @@ -16095,10 +16205,12 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } } + case "MetricResults": if err := awsRestjson1_deserializeDocumentCurrentMetricResults(&sv.MetricResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16107,6 +16219,7 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16278,6 +16391,7 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(v **GetCurrentUs } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16286,10 +16400,12 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(v **GetCurrentUs } sv.NextToken = ptr.String(jtv) } + case "UserDataList": if err := awsRestjson1_deserializeDocumentUserDataList(&sv.UserDataList, value); err != nil { return err } + default: _, _ = key, value @@ -16456,6 +16572,7 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "SignInUrl": if value != nil { jtv, ok := value.(string) @@ -16464,6 +16581,7 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.SignInUrl = ptr.String(jtv) } + case "UserArn": if value != nil { jtv, ok := value.(string) @@ -16472,6 +16590,7 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.UserArn = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -16480,6 +16599,7 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -16650,6 +16770,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.FlowId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16658,6 +16779,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16666,6 +16788,7 @@ func awsRestjson1_deserializeOpDocumentGetFlowAssociationOutput(v **GetFlowAssoc } sv.ResourceType = types.FlowAssociationResourceType(jtv) } + default: _, _ = key, value @@ -16829,6 +16952,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp if err := awsRestjson1_deserializeDocumentHistoricalMetricResults(&sv.MetricResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16837,6 +16961,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17000,6 +17125,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataV2Output(v **GetMetricDataV2 if err := awsRestjson1_deserializeDocumentMetricResultsV2(&sv.MetricResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17008,6 +17134,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataV2Output(v **GetMetricDataV2 } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17175,6 +17302,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -17190,6 +17318,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } } + case "PromptPresignedUrl": if value != nil { jtv, ok := value.(string) @@ -17198,6 +17327,7 @@ func awsRestjson1_deserializeOpDocumentGetPromptFileOutput(v **GetPromptFileOutp } sv.PromptPresignedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -17365,10 +17495,12 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Arn = ptr.String(jtv) } + case "Constraints": if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { return err } + case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -17377,6 +17509,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.ContactFlowId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -17392,10 +17525,12 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } } + case "Defaults": if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17404,10 +17539,12 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Description = ptr.String(jtv) } + case "Fields": if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17416,6 +17553,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Id = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -17424,6 +17562,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.InstanceId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -17439,6 +17578,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17447,6 +17587,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17455,10 +17596,12 @@ func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplate } sv.Status = types.TaskTemplateStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17622,6 +17765,7 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff if err := awsRestjson1_deserializeDocumentAgentConfig(&sv.AgentConfig, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -17630,6 +17774,7 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17638,14 +17783,17 @@ func awsRestjson1_deserializeOpDocumentGetTrafficDistributionOutput(v **GetTraff } sv.Id = ptr.String(jtv) } + case "SignInConfig": if err := awsRestjson1_deserializeDocumentSignInConfig(&sv.SignInConfig, value); err != nil { return err } + case "TelephonyConfig": if err := awsRestjson1_deserializeDocumentTelephonyConfig(&sv.TelephonyConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17816,6 +17964,7 @@ func awsRestjson1_deserializeOpDocumentImportPhoneNumberOutput(v **ImportPhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -17824,6 +17973,7 @@ func awsRestjson1_deserializeOpDocumentImportPhoneNumberOutput(v **ImportPhoneNu } sv.PhoneNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -17987,6 +18137,7 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat if err := awsRestjson1_deserializeDocumentAgentStatusSummaryList(&sv.AgentStatusSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17995,6 +18146,7 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18162,10 +18314,12 @@ func awsRestjson1_deserializeOpDocumentListAnalyticsDataAssociationsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsRestjson1_deserializeDocumentAnalyticsDataAssociationResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -18333,10 +18487,12 @@ func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprove } sv.NextToken = ptr.String(jtv) } + case "Origins": if err := awsRestjson1_deserializeDocumentOriginsList(&sv.Origins, value); err != nil { return err } + default: _, _ = key, value @@ -18500,6 +18656,7 @@ func awsRestjson1_deserializeOpDocumentListAuthenticationProfilesOutput(v **List if err := awsRestjson1_deserializeDocumentAuthenticationProfileSummaryList(&sv.AuthenticationProfileSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18508,6 +18665,7 @@ func awsRestjson1_deserializeOpDocumentListAuthenticationProfilesOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18668,6 +18826,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentLexBotConfigList(&sv.LexBots, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18676,6 +18835,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18836,6 +18996,7 @@ func awsRestjson1_deserializeOpDocumentListContactEvaluationsOutput(v **ListCont if err := awsRestjson1_deserializeDocumentEvaluationSummaryList(&sv.EvaluationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18844,6 +19005,7 @@ func awsRestjson1_deserializeOpDocumentListContactEvaluationsOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19010,6 +19172,7 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont if err := awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(&sv.ContactFlowModulesSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19018,6 +19181,7 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19181,6 +19345,7 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo if err := awsRestjson1_deserializeDocumentContactFlowSummaryList(&sv.ContactFlowSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19189,6 +19354,7 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19356,10 +19522,12 @@ func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListConta } sv.NextToken = ptr.String(jtv) } + case "ReferenceSummaryList": if err := awsRestjson1_deserializeDocumentReferenceSummaryList(&sv.ReferenceSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -19520,6 +19688,7 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef if err := awsRestjson1_deserializeDocumentDefaultVocabularyList(&sv.DefaultVocabularyList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19528,6 +19697,7 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19688,6 +19858,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormsOutput(v **ListEvaluat if err := awsRestjson1_deserializeDocumentEvaluationFormSummaryList(&sv.EvaluationFormSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19696,6 +19867,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormsOutput(v **ListEvaluat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19856,6 +20028,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentEvaluationFormVersionSummaryList(&sv.EvaluationFormVersionSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19864,6 +20037,7 @@ func awsRestjson1_deserializeOpDocumentListEvaluationFormVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20030,6 +20204,7 @@ func awsRestjson1_deserializeOpDocumentListFlowAssociationsOutput(v **ListFlowAs if err := awsRestjson1_deserializeDocumentFlowAssociationSummaryList(&sv.FlowAssociationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20038,6 +20213,7 @@ func awsRestjson1_deserializeOpDocumentListFlowAssociationsOutput(v **ListFlowAs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20201,6 +20377,7 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours if err := awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(&sv.HoursOfOperationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20209,6 +20386,7 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20372,6 +20550,7 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20380,6 +20559,7 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20534,6 +20714,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20542,6 +20723,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20709,10 +20891,12 @@ func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "StorageConfigs": if err := awsRestjson1_deserializeDocumentInstanceStorageConfigs(&sv.StorageConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -20873,6 +21057,7 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(&sv.IntegrationAssociationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20881,6 +21066,7 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21044,6 +21230,7 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF if err := awsRestjson1_deserializeDocumentFunctionArnsList(&sv.LambdaFunctions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21052,6 +21239,7 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21215,6 +21403,7 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, if err := awsRestjson1_deserializeDocumentLexBotsList(&sv.LexBots, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21223,6 +21412,7 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21390,10 +21580,12 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe } sv.NextToken = ptr.String(jtv) } + case "PhoneNumberSummaryList": if err := awsRestjson1_deserializeDocumentPhoneNumberSummaryList(&sv.PhoneNumberSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -21557,6 +21749,7 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(&sv.ListPhoneNumbersSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21565,6 +21758,7 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21732,10 +21926,12 @@ func awsRestjson1_deserializeOpDocumentListPredefinedAttributesOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } + case "PredefinedAttributeSummaryList": if err := awsRestjson1_deserializeDocumentPredefinedAttributeSummaryList(&sv.PredefinedAttributeSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -21903,10 +22099,12 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, } sv.NextToken = ptr.String(jtv) } + case "PromptSummaryList": if err := awsRestjson1_deserializeDocumentPromptSummaryList(&sv.PromptSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -22074,6 +22272,7 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -22089,6 +22288,7 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22097,10 +22297,12 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu } sv.NextToken = ptr.String(jtv) } + case "QuickConnectSummaryList": if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -22268,10 +22470,12 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } + case "QueueSummaryList": if err := awsRestjson1_deserializeDocumentQueueSummaryList(&sv.QueueSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -22439,10 +22643,12 @@ func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConn } sv.NextToken = ptr.String(jtv) } + case "QuickConnectSummaryList": if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -22613,6 +22819,7 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.Channel = types.RealTimeContactAnalysisSupportedChannel(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22621,10 +22828,12 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.NextToken = ptr.String(jtv) } + case "Segments": if err := awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegments(&sv.Segments, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22633,6 +22842,7 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsV2Outp } sv.Status = types.RealTimeContactAnalysisStatus(jtv) } + default: _, _ = key, value @@ -22800,6 +23010,7 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -22815,6 +23026,7 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22823,10 +23035,12 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo } sv.NextToken = ptr.String(jtv) } + case "RoutingProfileQueueConfigSummaryList": if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(&sv.RoutingProfileQueueConfigSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -22994,10 +23208,12 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } + case "RoutingProfileSummaryList": if err := awsRestjson1_deserializeDocumentRoutingProfileSummaryList(&sv.RoutingProfileSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -23165,10 +23381,12 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "RuleSummaryList": if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.RuleSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -23336,10 +23554,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKe } sv.NextToken = ptr.String(jtv) } + case "SecurityKeys": if err := awsRestjson1_deserializeDocumentSecurityKeysList(&sv.SecurityKeys, value); err != nil { return err } + default: _, _ = key, value @@ -23503,6 +23723,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -23511,6 +23732,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -23526,6 +23748,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23534,6 +23757,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfileApplicationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23701,6 +23925,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -23716,6 +23941,7 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23724,10 +23950,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionsList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -23895,10 +24123,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } + case "SecurityProfileSummaryList": if err := awsRestjson1_deserializeDocumentSecurityProfileSummaryList(&sv.SecurityProfileSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24062,6 +24292,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -24229,10 +24460,12 @@ func awsRestjson1_deserializeOpDocumentListTaskTemplatesOutput(v **ListTaskTempl } sv.NextToken = ptr.String(jtv) } + case "TaskTemplates": if err := awsRestjson1_deserializeDocumentTaskTemplateList(&sv.TaskTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -24397,10 +24630,12 @@ func awsRestjson1_deserializeOpDocumentListTrafficDistributionGroupsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "TrafficDistributionGroupSummaryList": if err := awsRestjson1_deserializeDocumentTrafficDistributionGroupSummaryList(&sv.TrafficDistributionGroupSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24568,10 +24803,12 @@ func awsRestjson1_deserializeOpDocumentListTrafficDistributionGroupUsersOutput(v } sv.NextToken = ptr.String(jtv) } + case "TrafficDistributionGroupUserSummaryList": if err := awsRestjson1_deserializeDocumentTrafficDistributionGroupUserSummaryList(&sv.TrafficDistributionGroupUserSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24736,10 +24973,12 @@ func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput } sv.NextToken = ptr.String(jtv) } + case "UseCaseSummaryList": if err := awsRestjson1_deserializeDocumentUseCaseSummaryList(&sv.UseCaseSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24907,10 +25146,12 @@ func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUse } sv.NextToken = ptr.String(jtv) } + case "UserHierarchyGroupSummaryList": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(&sv.UserHierarchyGroupSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25078,6 +25319,7 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -25093,6 +25335,7 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25101,10 +25344,12 @@ func awsRestjson1_deserializeOpDocumentListUserProficienciesOutput(v **ListUserP } sv.NextToken = ptr.String(jtv) } + case "UserProficiencyList": if err := awsRestjson1_deserializeDocumentUserProficiencyList(&sv.UserProficiencyList, value); err != nil { return err } + default: _, _ = key, value @@ -25272,10 +25517,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "UserSummaryList": if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.UserSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25446,10 +25693,12 @@ func awsRestjson1_deserializeOpDocumentListViewsOutput(v **ListViewsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "ViewsSummaryList": if err := awsRestjson1_deserializeDocumentViewsSummaryList(&sv.ViewsSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25620,10 +25869,12 @@ func awsRestjson1_deserializeOpDocumentListViewVersionsOutput(v **ListViewVersio } sv.NextToken = ptr.String(jtv) } + case "ViewVersionSummaryList": if err := awsRestjson1_deserializeDocumentViewVersionSummaryList(&sv.ViewVersionSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25797,6 +26048,7 @@ func awsRestjson1_deserializeOpDocumentMonitorContactOutput(v **MonitorContactOu } sv.ContactArn = ptr.String(jtv) } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -25805,6 +26057,7 @@ func awsRestjson1_deserializeOpDocumentMonitorContactOutput(v **MonitorContactOu } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -26305,6 +26558,7 @@ func awsRestjson1_deserializeOpDocumentReplicateInstanceOutput(v **ReplicateInst } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -26313,6 +26567,7 @@ func awsRestjson1_deserializeOpDocumentReplicateInstanceOutput(v **ReplicateInst } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -26676,6 +26931,7 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent if err := awsRestjson1_deserializeDocumentAgentStatusList(&sv.AgentStatuses, value); err != nil { return err } + case "ApproximateTotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -26688,6 +26944,7 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26696,6 +26953,7 @@ func awsRestjson1_deserializeOpDocumentSearchAgentStatusesOutput(v **SearchAgent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26856,6 +27114,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea if err := awsRestjson1_deserializeDocumentAvailableNumbersList(&sv.AvailableNumbersList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26864,6 +27123,7 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27035,10 +27295,12 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowModulesOutput(v **Search } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "ContactFlowModules": if err := awsRestjson1_deserializeDocumentContactFlowModuleSearchSummaryList(&sv.ContactFlowModules, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27047,6 +27309,7 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowModulesOutput(v **Search } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27218,10 +27481,12 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowsOutput(v **SearchContac } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "ContactFlows": if err := awsRestjson1_deserializeDocumentContactFlowSearchSummaryList(&sv.ContactFlows, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27230,6 +27495,7 @@ func awsRestjson1_deserializeOpDocumentSearchContactFlowsOutput(v **SearchContac } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27393,6 +27659,7 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27401,6 +27668,7 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu } sv.NextToken = ptr.String(jtv) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -27413,6 +27681,7 @@ func awsRestjson1_deserializeOpDocumentSearchContactsOutput(v **SearchContactsOu } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -27584,10 +27853,12 @@ func awsRestjson1_deserializeOpDocumentSearchHoursOfOperationsOutput(v **SearchH } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "HoursOfOperations": if err := awsRestjson1_deserializeDocumentHoursOfOperationList(&sv.HoursOfOperations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27596,6 +27867,7 @@ func awsRestjson1_deserializeOpDocumentSearchHoursOfOperationsOutput(v **SearchH } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27767,6 +28039,7 @@ func awsRestjson1_deserializeOpDocumentSearchPredefinedAttributesOutput(v **Sear } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27775,10 +28048,12 @@ func awsRestjson1_deserializeOpDocumentSearchPredefinedAttributesOutput(v **Sear } sv.NextToken = ptr.String(jtv) } + case "PredefinedAttributes": if err := awsRestjson1_deserializeDocumentPredefinedAttributeSearchSummaryList(&sv.PredefinedAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -27950,6 +28225,7 @@ func awsRestjson1_deserializeOpDocumentSearchPromptsOutput(v **SearchPromptsOutp } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27958,10 +28234,12 @@ func awsRestjson1_deserializeOpDocumentSearchPromptsOutput(v **SearchPromptsOutp } sv.NextToken = ptr.String(jtv) } + case "Prompts": if err := awsRestjson1_deserializeDocumentPromptList(&sv.Prompts, value); err != nil { return err } + default: _, _ = key, value @@ -28133,6 +28411,7 @@ func awsRestjson1_deserializeOpDocumentSearchQueuesOutput(v **SearchQueuesOutput } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28141,10 +28420,12 @@ func awsRestjson1_deserializeOpDocumentSearchQueuesOutput(v **SearchQueuesOutput } sv.NextToken = ptr.String(jtv) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueueSearchSummaryList(&sv.Queues, value); err != nil { return err } + default: _, _ = key, value @@ -28316,6 +28597,7 @@ func awsRestjson1_deserializeOpDocumentSearchQuickConnectsOutput(v **SearchQuick } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28324,10 +28606,12 @@ func awsRestjson1_deserializeOpDocumentSearchQuickConnectsOutput(v **SearchQuick } sv.NextToken = ptr.String(jtv) } + case "QuickConnects": if err := awsRestjson1_deserializeDocumentQuickConnectSearchSummaryList(&sv.QuickConnects, value); err != nil { return err } + default: _, _ = key, value @@ -28498,10 +28782,12 @@ func awsRestjson1_deserializeOpDocumentSearchResourceTagsOutput(v **SearchResour } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -28673,6 +28959,7 @@ func awsRestjson1_deserializeOpDocumentSearchRoutingProfilesOutput(v **SearchRou } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28681,10 +28968,12 @@ func awsRestjson1_deserializeOpDocumentSearchRoutingProfilesOutput(v **SearchRou } sv.NextToken = ptr.String(jtv) } + case "RoutingProfiles": if err := awsRestjson1_deserializeDocumentRoutingProfileList(&sv.RoutingProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -28856,6 +29145,7 @@ func awsRestjson1_deserializeOpDocumentSearchSecurityProfilesOutput(v **SearchSe } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28864,10 +29154,12 @@ func awsRestjson1_deserializeOpDocumentSearchSecurityProfilesOutput(v **SearchSe } sv.NextToken = ptr.String(jtv) } + case "SecurityProfiles": if err := awsRestjson1_deserializeDocumentSecurityProfilesSearchSummaryList(&sv.SecurityProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -29039,6 +29331,7 @@ func awsRestjson1_deserializeOpDocumentSearchUserHierarchyGroupsOutput(v **Searc } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29047,10 +29340,12 @@ func awsRestjson1_deserializeOpDocumentSearchUserHierarchyGroupsOutput(v **Searc } sv.NextToken = ptr.String(jtv) } + case "UserHierarchyGroups": if err := awsRestjson1_deserializeDocumentUserHierarchyGroupList(&sv.UserHierarchyGroups, value); err != nil { return err } + default: _, _ = key, value @@ -29222,6 +29517,7 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.ApproximateTotalCount = ptr.Int64(i64) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29230,10 +29526,12 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsRestjson1_deserializeDocumentUserSearchSummaryList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -29398,10 +29696,12 @@ func awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(v **SearchVocabu } sv.NextToken = ptr.String(jtv) } + case "VocabularySummaryList": if err := awsRestjson1_deserializeDocumentVocabularySummaryList(&sv.VocabularySummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -29569,6 +29869,7 @@ func awsRestjson1_deserializeOpDocumentSendChatIntegrationEventOutput(v **SendCh } sv.InitialContactId = ptr.String(jtv) } + case "NewChatCreated": if value != nil { jtv, ok := value.(bool) @@ -29577,6 +29878,7 @@ func awsRestjson1_deserializeOpDocumentSendChatIntegrationEventOutput(v **SendCh } sv.NewChatCreated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -29743,6 +30045,7 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -29751,6 +30054,7 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.CreationTime = ptr.String(jtv) } + case "FileArn": if value != nil { jtv, ok := value.(string) @@ -29759,6 +30063,7 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileArn = ptr.String(jtv) } + case "FileId": if value != nil { jtv, ok := value.(string) @@ -29767,6 +30072,7 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileId = ptr.String(jtv) } + case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -29775,10 +30081,12 @@ func awsRestjson1_deserializeOpDocumentStartAttachedFileUploadOutput(v **StartAt } sv.FileStatus = types.FileStatusType(jtv) } + case "UploadUrlMetadata": if err := awsRestjson1_deserializeDocumentUploadUrlMetadata(&sv.UploadUrlMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -29946,6 +30254,7 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ContactId = ptr.String(jtv) } + case "ContinuedFromContactId": if value != nil { jtv, ok := value.(string) @@ -29954,6 +30263,7 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ContinuedFromContactId = ptr.String(jtv) } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -29962,6 +30272,7 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -29970,6 +30281,7 @@ func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatConta } sv.ParticipantToken = ptr.String(jtv) } + default: _, _ = key, value @@ -30140,6 +30452,7 @@ func awsRestjson1_deserializeOpDocumentStartContactEvaluationOutput(v **StartCon } sv.EvaluationArn = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -30148,6 +30461,7 @@ func awsRestjson1_deserializeOpDocumentStartContactEvaluationOutput(v **StartCon } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -30412,6 +30726,7 @@ func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartCont } sv.StreamingId = ptr.String(jtv) } + default: _, _ = key, value @@ -30585,6 +30900,7 @@ func awsRestjson1_deserializeOpDocumentStartOutboundChatContactOutput(v **StartO } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -30758,6 +31074,7 @@ func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **Start } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -31031,6 +31348,7 @@ func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskConta } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -31194,6 +31512,7 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC if err := awsRestjson1_deserializeDocumentConnectionData(&sv.ConnectionData, value); err != nil { return err } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -31202,6 +31521,7 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ContactId = ptr.String(jtv) } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -31210,6 +31530,7 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -31218,6 +31539,7 @@ func awsRestjson1_deserializeOpDocumentStartWebRTCContactOutput(v **StartWebRTCC } sv.ParticipantToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31676,6 +31998,7 @@ func awsRestjson1_deserializeOpDocumentSubmitContactEvaluationOutput(v **SubmitC } sv.EvaluationArn = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -31684,6 +32007,7 @@ func awsRestjson1_deserializeOpDocumentSubmitContactEvaluationOutput(v **SubmitC } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -32157,6 +32481,7 @@ func awsRestjson1_deserializeOpDocumentTransferContactOutput(v **TransferContact } sv.ContactArn = ptr.String(jtv) } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -32165,6 +32490,7 @@ func awsRestjson1_deserializeOpDocumentTransferContactOutput(v **TransferContact } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -32953,6 +33279,7 @@ func awsRestjson1_deserializeOpDocumentUpdateContactEvaluationOutput(v **UpdateC } sv.EvaluationArn = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -32961,6 +33288,7 @@ func awsRestjson1_deserializeOpDocumentUpdateContactEvaluationOutput(v **UpdateC } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -33855,6 +34183,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -33863,6 +34192,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -33875,6 +34205,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEvaluationFormOutput(v **UpdateEval } sv.EvaluationFormVersion = int32(i64) } + default: _, _ = key, value @@ -34472,6 +34803,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -34480,6 +34812,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -34868,6 +35201,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.PromptARN = ptr.String(jtv) } + case "PromptId": if value != nil { jtv, ok := value.(string) @@ -34876,6 +35210,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePromptOutput(v **UpdatePromptOutput } sv.PromptId = ptr.String(jtv) } + default: _, _ = key, value @@ -36539,10 +36874,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Arn = ptr.String(jtv) } + case "Constraints": if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { return err } + case "ContactFlowId": if value != nil { jtv, ok := value.(string) @@ -36551,6 +36888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.ContactFlowId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -36566,10 +36904,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } } + case "Defaults": if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36578,10 +36918,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Description = ptr.String(jtv) } + case "Fields": if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -36590,6 +36932,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Id = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -36598,6 +36941,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.InstanceId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36613,6 +36957,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36621,6 +36966,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -36629,6 +36975,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTe } sv.Status = types.TaskTemplateStatus(jtv) } + default: _, _ = key, value @@ -37755,6 +38102,7 @@ func awsRestjson1_deserializeOpDocumentUpdateViewContentOutput(v **UpdateViewCon if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -38803,6 +39151,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38876,6 +39225,7 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionType = types.ActionType(jtv) } + default: _, _ = key, value @@ -38911,6 +39261,7 @@ func awsRestjson1_deserializeDocumentAgentConfig(v **types.AgentConfig, value in if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } + default: _, _ = key, value @@ -38950,6 +39301,7 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.AgentContactState = types.ContactState(jtv) } + case "Channel": if value != nil { jtv, ok := value.(string) @@ -38958,6 +39310,7 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.Channel = types.Channel(jtv) } + case "ConnectedToAgentTimestamp": if value != nil { switch jtv := value.(type) { @@ -38973,6 +39326,7 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -38981,6 +39335,7 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.ContactId = ptr.String(jtv) } + case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -38989,10 +39344,12 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } + case "Queue": if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { return err } + case "StateStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -39008,6 +39365,7 @@ func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContac } } + default: _, _ = key, value @@ -39081,6 +39439,7 @@ func awsRestjson1_deserializeDocumentAgentHierarchyGroup(v **types.AgentHierarch } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -39160,10 +39519,12 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.AgentPauseDurationInSeconds = ptr.Int32(int32(i64)) } + case "Capabilities": if err := awsRestjson1_deserializeDocumentParticipantCapabilities(&sv.Capabilities, value); err != nil { return err } + case "ConnectedToAgentTimestamp": if value != nil { switch jtv := value.(type) { @@ -39179,14 +39540,17 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } } + case "DeviceInfo": if err := awsRestjson1_deserializeDocumentDeviceInfo(&sv.DeviceInfo, value); err != nil { return err } + case "HierarchyGroups": if err := awsRestjson1_deserializeDocumentHierarchyGroups(&sv.HierarchyGroups, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -39195,6 +39559,7 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -39230,6 +39595,7 @@ func awsRestjson1_deserializeDocumentAgentQualityMetrics(v **types.AgentQualityM if err := awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(&sv.Audio, value); err != nil { return err } + default: _, _ = key, value @@ -39265,6 +39631,7 @@ func awsRestjson1_deserializeDocumentAgentsCriteria(v **types.AgentsCriteria, va if err := awsRestjson1_deserializeDocumentAgentIds(&sv.AgentIds, value); err != nil { return err } + default: _, _ = key, value @@ -39304,6 +39671,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.AgentStatusARN = ptr.String(jtv) } + case "AgentStatusId": if value != nil { jtv, ok := value.(string) @@ -39312,6 +39680,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.AgentStatusId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -39320,6 +39689,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Description = ptr.String(jtv) } + case "DisplayOrder": if value != nil { jtv, ok := value.(json.Number) @@ -39332,6 +39702,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.DisplayOrder = ptr.Int32(int32(i64)) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -39340,6 +39711,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39355,6 +39727,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39363,6 +39736,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -39371,10 +39745,12 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.State = types.AgentStatusState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -39383,6 +39759,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in } sv.Type = types.AgentStatusType(jtv) } + default: _, _ = key, value @@ -39456,6 +39833,7 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } sv.StatusArn = ptr.String(jtv) } + case "StatusName": if value != nil { jtv, ok := value.(string) @@ -39464,6 +39842,7 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } sv.StatusName = ptr.String(jtv) } + case "StatusStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -39479,6 +39858,7 @@ func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusR } } + default: _, _ = key, value @@ -39518,6 +39898,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -39526,6 +39907,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -39534,6 +39916,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39549,6 +39932,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39557,6 +39941,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -39565,6 +39950,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum } sv.Type = types.AgentStatusType(jtv) } + default: _, _ = key, value @@ -39674,6 +40060,7 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.DataSetId = ptr.String(jtv) } + case "ResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -39682,6 +40069,7 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.ResourceShareArn = ptr.String(jtv) } + case "ResourceShareId": if value != nil { jtv, ok := value.(string) @@ -39690,6 +40078,7 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.ResourceShareId = ptr.String(jtv) } + case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -39698,6 +40087,7 @@ func awsRestjson1_deserializeDocumentAnalyticsDataAssociationResult(v **types.An } sv.TargetAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -39767,6 +40157,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationPermissions(&sv.ApplicationPermissions, value); err != nil { return err } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -39775,6 +40166,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -39951,10 +40343,12 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.AssociatedResourceArn = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentCreatedByInfo(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -39963,6 +40357,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.CreationTime = ptr.String(jtv) } + case "FileArn": if value != nil { jtv, ok := value.(string) @@ -39971,6 +40366,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileArn = ptr.String(jtv) } + case "FileId": if value != nil { jtv, ok := value.(string) @@ -39979,6 +40375,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileId = ptr.String(jtv) } + case "FileName": if value != nil { jtv, ok := value.(string) @@ -39987,6 +40384,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileName = ptr.String(jtv) } + case "FileSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -39999,6 +40397,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileSizeInBytes = ptr.Int64(i64) } + case "FileStatus": if value != nil { jtv, ok := value.(string) @@ -40007,6 +40406,7 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileStatus = types.FileStatusType(jtv) } + case "FileUseCaseType": if value != nil { jtv, ok := value.(string) @@ -40015,10 +40415,12 @@ func awsRestjson1_deserializeDocumentAttachedFile(v **types.AttachedFile, value } sv.FileUseCaseType = types.FileUseCaseType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -40058,6 +40460,7 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -40066,6 +40469,7 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.ErrorMessage = ptr.String(jtv) } + case "FileId": if value != nil { jtv, ok := value.(string) @@ -40074,6 +40478,7 @@ func awsRestjson1_deserializeDocumentAttachedFileError(v **types.AttachedFileErr } sv.FileId = ptr.String(jtv) } + default: _, _ = key, value @@ -40181,6 +40586,7 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -40189,6 +40595,7 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Status = types.ReferenceStatus(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -40197,6 +40604,7 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -40236,6 +40644,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.AttendeeId = ptr.String(jtv) } + case "JoinToken": if value != nil { jtv, ok := value.(string) @@ -40244,6 +40653,7 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac } sv.JoinToken = ptr.String(jtv) } + default: _, _ = key, value @@ -40283,6 +40693,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.AttributeType = types.InstanceAttributeType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -40291,6 +40702,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -40330,10 +40742,12 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.ComparisonOperator = ptr.String(jtv) } + case "MatchCriteria": if err := awsRestjson1_deserializeDocumentMatchCriteria(&sv.MatchCriteria, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40342,6 +40756,7 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.Name = ptr.String(jtv) } + case "ProficiencyLevel": if value != nil { switch jtv := value.(type) { @@ -40375,6 +40790,7 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } } + case "Value": if value != nil { jtv, ok := value.(string) @@ -40383,6 +40799,7 @@ func awsRestjson1_deserializeDocumentAttributeCondition(v **types.AttributeCondi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -40492,6 +40909,7 @@ func awsRestjson1_deserializeDocumentAudioFeatures(v **types.AudioFeatures, valu } sv.EchoReduction = types.MeetingFeatureStatus(jtv) } + default: _, _ = key, value @@ -40527,6 +40945,7 @@ func awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(v **types.AudioQual if err := awsRestjson1_deserializeDocumentPotentialAudioQualityIssues(&sv.PotentialQualityIssues, value); err != nil { return err } + case "QualityScore": if value != nil { switch jtv := value.(type) { @@ -40560,6 +40979,7 @@ func awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(v **types.AudioQual } } + default: _, _ = key, value @@ -40595,6 +41015,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat if err := awsRestjson1_deserializeDocumentIpCidrList(&sv.AllowedIps, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -40603,10 +41024,12 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Arn = ptr.String(jtv) } + case "BlockedIps": if err := awsRestjson1_deserializeDocumentIpCidrList(&sv.BlockedIps, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -40622,6 +41045,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -40630,6 +41054,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -40638,6 +41063,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Id = ptr.String(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -40646,6 +41072,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.IsDefault = jtv } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -40654,6 +41081,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -40669,6 +41097,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } } + case "MaxSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -40681,6 +41110,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.MaxSessionDuration = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40689,6 +41119,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.Name = ptr.String(jtv) } + case "PeriodicSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -40701,6 +41132,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfile(v **types.Authenticat } sv.PeriodicSessionDuration = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40740,6 +41172,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -40748,6 +41181,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Id = ptr.String(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -40756,6 +41190,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.IsDefault = jtv } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -40764,6 +41199,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -40779,6 +41215,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40787,6 +41224,7 @@ func awsRestjson1_deserializeDocumentAuthenticationProfileSummary(v **types.Auth } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -40894,6 +41332,7 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -40902,6 +41341,7 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } + case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -40910,6 +41350,7 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN } sv.PhoneNumberType = types.PhoneNumberType(jtv) } + default: _, _ = key, value @@ -40949,6 +41390,7 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.CampaignId = ptr.String(jtv) } + default: _, _ = key, value @@ -41028,6 +41470,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.InstanceId = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -41036,6 +41479,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -41044,6 +41488,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -41052,6 +41497,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } + case "PhoneNumberDescription": if value != nil { jtv, ok := value.(string) @@ -41060,6 +41506,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberDescription = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -41068,10 +41515,12 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberId = ptr.String(jtv) } + case "PhoneNumberStatus": if err := awsRestjson1_deserializeDocumentPhoneNumberStatus(&sv.PhoneNumberStatus, value); err != nil { return err } + case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -41080,6 +41529,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.PhoneNumberType = types.PhoneNumberType(jtv) } + case "SourcePhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -41088,10 +41538,12 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.SourcePhoneNumberArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -41100,6 +41552,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -41139,6 +41592,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41174,10 +41628,12 @@ func awsRestjson1_deserializeDocumentConnectionData(v **types.ConnectionData, va if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { return err } + case "Meeting": if err := awsRestjson1_deserializeDocumentMeeting(&sv.Meeting, value); err != nil { return err } + default: _, _ = key, value @@ -41213,6 +41669,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ if err := awsRestjson1_deserializeDocumentAgentInfo(&sv.AgentInfo, value); err != nil { return err } + case "AnsweringMachineDetectionStatus": if value != nil { jtv, ok := value.(string) @@ -41221,6 +41678,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.AnsweringMachineDetectionStatus = types.AnsweringMachineDetectionStatus(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -41229,10 +41687,12 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Arn = ptr.String(jtv) } + case "Campaign": if err := awsRestjson1_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } + case "Channel": if value != nil { jtv, ok := value.(string) @@ -41241,6 +41701,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Channel = types.Channel(jtv) } + case "ConnectedToSystemTimestamp": if value != nil { switch jtv := value.(type) { @@ -41256,14 +41717,17 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "Customer": if err := awsRestjson1_deserializeDocumentCustomer(&sv.Customer, value); err != nil { return err } + case "CustomerVoiceActivity": if err := awsRestjson1_deserializeDocumentCustomerVoiceActivity(&sv.CustomerVoiceActivity, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -41272,10 +41736,12 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Description = ptr.String(jtv) } + case "DisconnectDetails": if err := awsRestjson1_deserializeDocumentDisconnectDetails(&sv.DisconnectDetails, value); err != nil { return err } + case "DisconnectTimestamp": if value != nil { switch jtv := value.(type) { @@ -41291,6 +41757,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -41299,6 +41766,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Id = ptr.String(jtv) } + case "InitialContactId": if value != nil { jtv, ok := value.(string) @@ -41307,6 +41775,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.InitialContactId = ptr.String(jtv) } + case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -41315,6 +41784,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } + case "InitiationTimestamp": if value != nil { switch jtv := value.(type) { @@ -41330,6 +41800,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "LastPausedTimestamp": if value != nil { switch jtv := value.(type) { @@ -41345,6 +41816,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "LastResumedTimestamp": if value != nil { switch jtv := value.(type) { @@ -41360,6 +41832,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -41375,6 +41848,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41383,6 +41857,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Name = ptr.String(jtv) } + case "PreviousContactId": if value != nil { jtv, ok := value.(string) @@ -41391,14 +41866,17 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.PreviousContactId = ptr.String(jtv) } + case "QualityMetrics": if err := awsRestjson1_deserializeDocumentQualityMetrics(&sv.QualityMetrics, value); err != nil { return err } + case "QueueInfo": if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { return err } + case "QueuePriority": if value != nil { jtv, ok := value.(json.Number) @@ -41411,6 +41889,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.QueuePriority = ptr.Int64(i64) } + case "QueueTimeAdjustmentSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -41423,6 +41902,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.QueueTimeAdjustmentSeconds = ptr.Int32(int32(i64)) } + case "RelatedContactId": if value != nil { jtv, ok := value.(string) @@ -41431,10 +41911,12 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.RelatedContactId = ptr.String(jtv) } + case "RoutingCriteria": if err := awsRestjson1_deserializeDocumentRoutingCriteria(&sv.RoutingCriteria, value); err != nil { return err } + case "ScheduledTimestamp": if value != nil { switch jtv := value.(type) { @@ -41450,14 +41932,17 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "SegmentAttributes": if err := awsRestjson1_deserializeDocumentSegmentAttributes(&sv.SegmentAttributes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentContactTagMap(&sv.Tags, value); err != nil { return err } + case "TotalPauseCount": if value != nil { jtv, ok := value.(json.Number) @@ -41470,6 +41955,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.TotalPauseCount = ptr.Int32(int32(i64)) } + case "TotalPauseDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -41482,10 +41968,12 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.TotalPauseDurationInSeconds = ptr.Int32(int32(i64)) } + case "WisdomInfo": if err := awsRestjson1_deserializeDocumentWisdomInfo(&sv.WisdomInfo, value); err != nil { return err } + default: _, _ = key, value @@ -41525,6 +42013,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Arn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -41533,6 +42022,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Content = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -41541,6 +42031,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -41549,6 +42040,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41557,6 +42049,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -41565,6 +42058,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.State = types.ContactFlowState(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41573,10 +42067,12 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Status = types.ContactFlowStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -41585,6 +42081,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Type = types.ContactFlowType(jtv) } + default: _, _ = key, value @@ -41624,6 +42121,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Arn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -41632,6 +42130,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Content = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -41640,6 +42139,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -41648,6 +42148,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41656,6 +42157,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -41664,6 +42166,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.State = types.ContactFlowModuleState(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41672,10 +42175,12 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu } sv.Status = types.ContactFlowModuleStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -41783,6 +42288,7 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -41791,6 +42297,7 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41799,6 +42306,7 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -41807,6 +42315,7 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF } sv.State = types.ContactFlowModuleState(jtv) } + default: _, _ = key, value @@ -41846,6 +42355,7 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41919,6 +42429,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Arn = ptr.String(jtv) } + case "ContactFlowState": if value != nil { jtv, ok := value.(string) @@ -41927,6 +42438,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowState = types.ContactFlowState(jtv) } + case "ContactFlowStatus": if value != nil { jtv, ok := value.(string) @@ -41935,6 +42447,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowStatus = types.ContactFlowStatus(jtv) } + case "ContactFlowType": if value != nil { jtv, ok := value.(string) @@ -41943,6 +42456,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.ContactFlowType = types.ContactFlowType(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -41951,6 +42465,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41959,6 +42474,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -42032,6 +42548,7 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -42136,6 +42653,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc if err := awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(&sv.AgentInfo, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -42144,6 +42662,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Arn = ptr.String(jtv) } + case "Channel": if value != nil { jtv, ok := value.(string) @@ -42152,6 +42671,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Channel = types.Channel(jtv) } + case "DisconnectTimestamp": if value != nil { switch jtv := value.(type) { @@ -42167,6 +42687,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -42175,6 +42696,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.Id = ptr.String(jtv) } + case "InitialContactId": if value != nil { jtv, ok := value.(string) @@ -42183,6 +42705,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.InitialContactId = ptr.String(jtv) } + case "InitiationMethod": if value != nil { jtv, ok := value.(string) @@ -42191,6 +42714,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.InitiationMethod = types.ContactInitiationMethod(jtv) } + case "InitiationTimestamp": if value != nil { switch jtv := value.(type) { @@ -42206,6 +42730,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } + case "PreviousContactId": if value != nil { jtv, ok := value.(string) @@ -42214,10 +42739,12 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } sv.PreviousContactId = ptr.String(jtv) } + case "QueueInfo": if err := awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(&sv.QueueInfo, value); err != nil { return err } + case "ScheduledTimestamp": if value != nil { switch jtv := value.(type) { @@ -42233,6 +42760,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummary(v **types.ContactSearc } } + default: _, _ = key, value @@ -42279,6 +42807,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(v **types.Con } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -42287,6 +42816,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryAgentInfo(v **types.Con } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -42333,6 +42863,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(v **types.Con } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -42341,6 +42872,7 @@ func awsRestjson1_deserializeDocumentContactSearchSummaryQueueInfo(v **types.Con } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -42412,6 +42944,7 @@ func awsRestjson1_deserializeDocumentCreateCaseActionDefinition(v **types.Create if err := awsRestjson1_deserializeDocumentFieldValues(&sv.Fields, value); err != nil { return err } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -42420,6 +42953,7 @@ func awsRestjson1_deserializeDocumentCreateCaseActionDefinition(v **types.Create } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -42513,6 +43047,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessToken = ptr.String(jtv) } + case "AccessTokenExpiration": if value != nil { switch jtv := value.(type) { @@ -42528,6 +43063,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } + case "RefreshToken": if value != nil { jtv, ok := value.(string) @@ -42536,6 +43072,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.RefreshToken = ptr.String(jtv) } + case "RefreshTokenExpiration": if value != nil { switch jtv := value.(type) { @@ -42551,6 +43088,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } + default: _, _ = key, value @@ -42590,6 +43128,7 @@ func awsRestjson1_deserializeDocumentCrossChannelBehavior(v **types.CrossChannel } sv.BehaviorType = types.BehaviorType(jtv) } + default: _, _ = key, value @@ -42629,6 +43168,7 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu } sv.Name = types.CurrentMetricName(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -42637,6 +43177,7 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu } sv.Unit = types.Unit(jtv) } + default: _, _ = key, value @@ -42672,6 +43213,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa if err := awsRestjson1_deserializeDocumentCurrentMetric(&sv.Metric, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -42705,6 +43247,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa } } + default: _, _ = key, value @@ -42774,10 +43317,12 @@ func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetric if err := awsRestjson1_deserializeDocumentCurrentMetricDataCollections(&sv.Collections, value); err != nil { return err } + case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -42847,10 +43392,12 @@ func awsRestjson1_deserializeDocumentCustomer(v **types.Customer, value interfac if err := awsRestjson1_deserializeDocumentParticipantCapabilities(&sv.Capabilities, value); err != nil { return err } + case "DeviceInfo": if err := awsRestjson1_deserializeDocumentDeviceInfo(&sv.DeviceInfo, value); err != nil { return err } + default: _, _ = key, value @@ -42886,6 +43433,7 @@ func awsRestjson1_deserializeDocumentCustomerQualityMetrics(v **types.CustomerQu if err := awsRestjson1_deserializeDocumentAudioQualityMetricsInfo(&sv.Audio, value); err != nil { return err } + default: _, _ = key, value @@ -42932,6 +43480,7 @@ func awsRestjson1_deserializeDocumentCustomerVoiceActivity(v **types.CustomerVoi } } + case "GreetingStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -42947,6 +43496,7 @@ func awsRestjson1_deserializeDocumentCustomerVoiceActivity(v **types.CustomerVoi } } + default: _, _ = key, value @@ -43022,6 +43572,7 @@ func awsRestjson1_deserializeDocumentDateReference(v **types.DateReference, valu } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -43030,6 +43581,7 @@ func awsRestjson1_deserializeDocumentDateReference(v **types.DateReference, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -43069,6 +43621,7 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.InstanceId = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -43077,6 +43630,7 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } + case "VocabularyId": if value != nil { jtv, ok := value.(string) @@ -43085,6 +43639,7 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.VocabularyId = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -43093,6 +43648,7 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -43166,6 +43722,7 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43205,6 +43762,7 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.OperatingSystem = ptr.String(jtv) } + case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -43213,6 +43771,7 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.PlatformName = ptr.String(jtv) } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -43221,6 +43780,7 @@ func awsRestjson1_deserializeDocumentDeviceInfo(v **types.DeviceInfo, value inte } sv.PlatformVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -43260,14 +43820,17 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte } sv.Channel = types.Channel(jtv) } + case "Queue": if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { return err } + case "RoutingProfile": if err := awsRestjson1_deserializeDocumentRoutingProfileReference(&sv.RoutingProfile, value); err != nil { return err } + case "RoutingStepExpression": if value != nil { jtv, ok := value.(string) @@ -43276,6 +43839,7 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte } sv.RoutingStepExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -43351,6 +43915,7 @@ func awsRestjson1_deserializeDocumentDisconnectDetails(v **types.DisconnectDetai } sv.PotentialDisconnectIssue = ptr.String(jtv) } + default: _, _ = key, value @@ -43394,6 +43959,7 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Percentage = int32(i64) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -43402,6 +43968,7 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -43475,6 +44042,7 @@ func awsRestjson1_deserializeDocumentDownloadUrlMetadata(v **types.DownloadUrlMe } sv.Url = ptr.String(jtv) } + case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -43483,6 +44051,7 @@ func awsRestjson1_deserializeDocumentDownloadUrlMetadata(v **types.DownloadUrlMe } sv.UrlExpiry = ptr.String(jtv) } + default: _, _ = key, value @@ -43522,6 +44091,7 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43561,6 +44131,7 @@ func awsRestjson1_deserializeDocumentEmailReference(v **types.EmailReference, va } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -43569,6 +44140,7 @@ func awsRestjson1_deserializeDocumentEmailReference(v **types.EmailReference, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -43639,6 +44211,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.EncryptionType = types.EncryptionType(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -43647,6 +44220,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -43717,6 +44291,7 @@ func awsRestjson1_deserializeDocumentErrorResult(v **types.ErrorResult, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -43725,6 +44300,7 @@ func awsRestjson1_deserializeDocumentErrorResult(v **types.ErrorResult, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -43794,6 +44370,7 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte if err := awsRestjson1_deserializeDocumentEvaluationAnswersOutputMap(&sv.Answers, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -43809,6 +44386,7 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "EvaluationArn": if value != nil { jtv, ok := value.(string) @@ -43817,6 +44395,7 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationArn = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -43825,6 +44404,7 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -43840,18 +44420,22 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "Metadata": if err := awsRestjson1_deserializeDocumentEvaluationMetadata(&sv.Metadata, value); err != nil { return err } + case "Notes": if err := awsRestjson1_deserializeDocumentEvaluationNotesMap(&sv.Notes, value); err != nil { return err } + case "Scores": if err := awsRestjson1_deserializeDocumentEvaluationScoresMap(&sv.Scores, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43860,10 +44444,12 @@ func awsRestjson1_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Status = types.EvaluationStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -43990,10 +44576,12 @@ func awsRestjson1_deserializeDocumentEvaluationAnswerOutput(v **types.Evaluation if err := awsRestjson1_deserializeDocumentEvaluationAnswerData(&sv.SystemSuggestedValue, value); err != nil { return err } + case "Value": if err := awsRestjson1_deserializeDocumentEvaluationAnswerData(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -44068,6 +44656,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -44083,6 +44672,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -44091,6 +44681,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Description = ptr.String(jtv) } + case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -44099,6 +44690,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -44107,6 +44699,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -44119,10 +44712,12 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.EvaluationFormVersion = int32(i64) } + case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -44131,6 +44726,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44146,6 +44742,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } } + case "Locked": if value != nil { jtv, ok := value.(bool) @@ -44154,10 +44751,12 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Locked = jtv } + case "ScoringStrategy": if err := awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(&sv.ScoringStrategy, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44166,10 +44765,12 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Status = types.EvaluationFormVersionStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -44178,6 +44779,7 @@ func awsRestjson1_deserializeDocumentEvaluationForm(v **types.EvaluationForm, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -44217,6 +44819,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.Description = ptr.String(jtv) } + case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -44225,6 +44828,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -44233,6 +44837,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -44245,14 +44850,17 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.EvaluationFormVersion = int32(i64) } + case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } + case "ScoringStrategy": if err := awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(&sv.ScoringStrategy, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -44261,6 +44869,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormContent(v **types.EvaluationF } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -44422,6 +45031,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.AutomaticFail = jtv } + case "MaxValue": if value != nil { jtv, ok := value.(json.Number) @@ -44434,6 +45044,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.MaxValue = int32(i64) } + case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -44446,6 +45057,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.MinValue = int32(i64) } + case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -44458,6 +45070,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOption(v **typ } sv.Score = int32(i64) } + default: _, _ = key, value @@ -44527,6 +45140,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * if err := awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionAutomation(&sv.Automation, value); err != nil { return err } + case "MaxValue": if value != nil { jtv, ok := value.(json.Number) @@ -44539,6 +45153,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * } sv.MaxValue = int32(i64) } + case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -44551,10 +45166,12 @@ func awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionProperties(v * } sv.MinValue = int32(i64) } + case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormNumericQuestionOptionList(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -44594,6 +45211,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.Instructions = ptr.String(jtv) } + case "NotApplicableEnabled": if value != nil { jtv, ok := value.(bool) @@ -44602,6 +45220,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.NotApplicableEnabled = jtv } + case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -44610,10 +45229,12 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.QuestionType = types.EvaluationFormQuestionType(jtv) } + case "QuestionTypeProperties": if err := awsRestjson1_deserializeDocumentEvaluationFormQuestionTypeProperties(&sv.QuestionTypeProperties, value); err != nil { return err } + case "RefId": if value != nil { jtv, ok := value.(string) @@ -44622,6 +45243,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.RefId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -44630,6 +45252,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } sv.Title = ptr.String(jtv) } + case "Weight": if value != nil { switch jtv := value.(type) { @@ -44663,6 +45286,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormQuestion(v **types.Evaluation } } + default: _, _ = key, value @@ -44752,6 +45376,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(v **types.Eva } sv.Mode = types.EvaluationFormScoringMode(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44760,6 +45385,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormScoringStrategy(v **types.Eva } sv.Status = types.EvaluationFormScoringStatus(jtv) } + default: _, _ = key, value @@ -44799,10 +45425,12 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.Instructions = ptr.String(jtv) } + case "Items": if err := awsRestjson1_deserializeDocumentEvaluationFormItemsList(&sv.Items, value); err != nil { return err } + case "RefId": if value != nil { jtv, ok := value.(string) @@ -44811,6 +45439,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.RefId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -44819,6 +45448,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } sv.Title = ptr.String(jtv) } + case "Weight": if value != nil { switch jtv := value.(type) { @@ -44852,6 +45482,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSection(v **types.EvaluationF } } + default: _, _ = key, value @@ -44891,10 +45522,12 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomatio } sv.DefaultOptionRefId = ptr.String(jtv) } + case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomationOptionList(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -45006,6 +45639,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.AutomaticFail = jtv } + case "RefId": if value != nil { jtv, ok := value.(string) @@ -45014,6 +45648,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.RefId = ptr.String(jtv) } + case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -45026,6 +45661,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.Score = int32(i64) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -45034,6 +45670,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOption(v } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -45103,6 +45740,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionPropertie if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionAutomation(&sv.Automation, value); err != nil { return err } + case "DisplayAs": if value != nil { jtv, ok := value.(string) @@ -45111,10 +45749,12 @@ func awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionPropertie } sv.DisplayAs = types.EvaluationFormSingleSelectQuestionDisplayMode(jtv) } + case "Options": if err := awsRestjson1_deserializeDocumentEvaluationFormSingleSelectQuestionOptionList(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -45158,6 +45798,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.ActiveVersion = ptr.Int32(int32(i64)) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -45166,6 +45807,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -45181,6 +45823,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } + case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -45189,6 +45832,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -45197,6 +45841,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.EvaluationFormId = ptr.String(jtv) } + case "LastActivatedBy": if value != nil { jtv, ok := value.(string) @@ -45205,6 +45850,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LastActivatedBy = ptr.String(jtv) } + case "LastActivatedTime": if value != nil { switch jtv := value.(type) { @@ -45220,6 +45866,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -45228,6 +45875,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -45243,6 +45891,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } } + case "LatestVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45255,6 +45904,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.LatestVersion = int32(i64) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -45263,6 +45913,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormSummary(v **types.EvaluationF } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -45336,6 +45987,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -45351,6 +46003,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } } + case "EvaluationFormArn": if value != nil { jtv, ok := value.(string) @@ -45359,6 +46012,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -45367,6 +46021,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45379,6 +46034,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.EvaluationFormVersion = int32(i64) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -45387,6 +46043,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -45402,6 +46059,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } } + case "Locked": if value != nil { jtv, ok := value.(bool) @@ -45410,6 +46068,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.Locked = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45418,6 +46077,7 @@ func awsRestjson1_deserializeDocumentEvaluationFormVersionSummary(v **types.Eval } sv.Status = types.EvaluationFormVersionStatus(jtv) } + default: _, _ = key, value @@ -45491,6 +46151,7 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.ContactAgentId = ptr.String(jtv) } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -45499,6 +46160,7 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.ContactId = ptr.String(jtv) } + case "EvaluatorArn": if value != nil { jtv, ok := value.(string) @@ -45507,10 +46169,12 @@ func awsRestjson1_deserializeDocumentEvaluationMetadata(v **types.EvaluationMeta } sv.EvaluatorArn = ptr.String(jtv) } + case "Score": if err := awsRestjson1_deserializeDocumentEvaluationScore(&sv.Score, value); err != nil { return err } + default: _, _ = key, value @@ -45550,6 +46214,7 @@ func awsRestjson1_deserializeDocumentEvaluationNote(v **types.EvaluationNote, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -45624,6 +46289,7 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } sv.AutomaticFail = jtv } + case "NotApplicable": if value != nil { jtv, ok := value.(bool) @@ -45632,6 +46298,7 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } sv.NotApplicable = jtv } + case "Percentage": if value != nil { switch jtv := value.(type) { @@ -45665,6 +46332,7 @@ func awsRestjson1_deserializeDocumentEvaluationScore(v **types.EvaluationScore, } } + default: _, _ = key, value @@ -45746,6 +46414,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } } + case "EvaluationArn": if value != nil { jtv, ok := value.(string) @@ -45754,6 +46423,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationArn = ptr.String(jtv) } + case "EvaluationFormId": if value != nil { jtv, ok := value.(string) @@ -45762,6 +46432,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationFormId = ptr.String(jtv) } + case "EvaluationFormTitle": if value != nil { jtv, ok := value.(string) @@ -45770,6 +46441,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationFormTitle = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -45778,6 +46450,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluationId = ptr.String(jtv) } + case "EvaluatorArn": if value != nil { jtv, ok := value.(string) @@ -45786,6 +46459,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.EvaluatorArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -45801,10 +46475,12 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } } + case "Score": if err := awsRestjson1_deserializeDocumentEvaluationScore(&sv.Score, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45813,6 +46489,7 @@ func awsRestjson1_deserializeDocumentEvaluationSummary(v **types.EvaluationSumma } sv.Status = types.EvaluationStatus(jtv) } + default: _, _ = key, value @@ -45886,6 +46563,7 @@ func awsRestjson1_deserializeDocumentEventBridgeActionDefinition(v **types.Event } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -45929,6 +46607,7 @@ func awsRestjson1_deserializeDocumentExpiry(v **types.Expiry, value interface{}) } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -45944,6 +46623,7 @@ func awsRestjson1_deserializeDocumentExpiry(v **types.Expiry, value interface{}) } } + default: _, _ = key, value @@ -45979,14 +46659,17 @@ func awsRestjson1_deserializeDocumentExpression(v **types.Expression, value inte if err := awsRestjson1_deserializeDocumentExpressions(&sv.AndExpression, value); err != nil { return err } + case "AttributeCondition": if err := awsRestjson1_deserializeDocumentAttributeCondition(&sv.AttributeCondition, value); err != nil { return err } + case "OrExpression": if err := awsRestjson1_deserializeDocumentExpressions(&sv.OrExpression, value); err != nil { return err } + default: _, _ = key, value @@ -46060,6 +46743,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureReasonCode = types.FailureReasonCode(jtv) } + case "FailureReasonMessage": if value != nil { jtv, ok := value.(string) @@ -46068,6 +46752,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureReasonMessage = ptr.String(jtv) } + case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -46076,6 +46761,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -46149,10 +46835,12 @@ func awsRestjson1_deserializeDocumentFieldValue(v **types.FieldValue, value inte } sv.Id = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentFieldValueUnion(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -46226,6 +46914,7 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } sv.BooleanValue = jtv } + case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -46259,10 +46948,12 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } } + case "EmptyValue": if err := awsRestjson1_deserializeDocumentEmptyFieldValue(&sv.EmptyValue, value); err != nil { return err } + case "StringValue": if value != nil { jtv, ok := value.(string) @@ -46271,6 +46962,7 @@ func awsRestjson1_deserializeDocumentFieldValueUnion(v **types.FieldValueUnion, } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -46310,6 +47002,7 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.FlowId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -46318,6 +47011,7 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -46326,6 +47020,7 @@ func awsRestjson1_deserializeDocumentFlowAssociationSummary(v **types.FlowAssoci } sv.ResourceType = types.ListFlowAssociationResourceType(jtv) } + default: _, _ = key, value @@ -46435,10 +47130,12 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Arn = ptr.String(jtv) } + case "HierarchyPath": if err := awsRestjson1_deserializeDocumentHierarchyPath(&sv.HierarchyPath, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -46447,6 +47144,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -46455,6 +47153,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46470,6 +47169,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } } + case "LevelId": if value != nil { jtv, ok := value.(string) @@ -46478,6 +47178,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.LevelId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46486,10 +47187,12 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -46525,22 +47228,27 @@ func awsRestjson1_deserializeDocumentHierarchyGroups(v **types.HierarchyGroups, if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level1, value); err != nil { return err } + case "Level2": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level2, value); err != nil { return err } + case "Level3": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level3, value); err != nil { return err } + case "Level4": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level4, value); err != nil { return err } + case "Level5": if err := awsRestjson1_deserializeDocumentAgentHierarchyGroup(&sv.Level5, value); err != nil { return err } + default: _, _ = key, value @@ -46580,6 +47288,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -46588,6 +47297,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -46596,6 +47306,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46611,6 +47322,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46619,6 +47331,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -46692,6 +47405,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(v **types.Hi } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -46700,6 +47414,7 @@ func awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(v **types.Hi } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -46739,6 +47454,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -46747,6 +47463,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -46755,6 +47472,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46770,6 +47488,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46778,6 +47497,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -46813,22 +47533,27 @@ func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, valu if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFive, value); err != nil { return err } + case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFour, value); err != nil { return err } + case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelOne, value); err != nil { return err } + case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelThree, value); err != nil { return err } + case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelTwo, value); err != nil { return err } + default: _, _ = key, value @@ -46864,22 +47589,27 @@ func awsRestjson1_deserializeDocumentHierarchyPathReference(v **types.HierarchyP if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFive, value); err != nil { return err } + case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFour, value); err != nil { return err } + case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelOne, value); err != nil { return err } + case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelThree, value); err != nil { return err } + case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelTwo, value); err != nil { return err } + default: _, _ = key, value @@ -46951,22 +47681,27 @@ func awsRestjson1_deserializeDocumentHierarchyStructure(v **types.HierarchyStruc if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFive, value); err != nil { return err } + case "LevelFour": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFour, value); err != nil { return err } + case "LevelOne": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelOne, value); err != nil { return err } + case "LevelThree": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelThree, value); err != nil { return err } + case "LevelTwo": if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelTwo, value); err != nil { return err } + default: _, _ = key, value @@ -47006,6 +47741,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Name = types.HistoricalMetricName(jtv) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -47014,10 +47750,12 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Statistic = types.Statistic(jtv) } + case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -47026,6 +47764,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric } sv.Unit = types.Unit(jtv) } + default: _, _ = key, value @@ -47061,6 +47800,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe if err := awsRestjson1_deserializeDocumentHistoricalMetric(&sv.Metric, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -47094,6 +47834,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe } } + default: _, _ = key, value @@ -47163,10 +47904,12 @@ func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.Historical if err := awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(&sv.Collections, value); err != nil { return err } + case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -47236,6 +47979,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation if err := awsRestjson1_deserializeDocumentHoursOfOperationConfigList(&sv.Config, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -47244,6 +47988,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.Description = ptr.String(jtv) } + case "HoursOfOperationArn": if value != nil { jtv, ok := value.(string) @@ -47252,6 +47997,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.HoursOfOperationArn = ptr.String(jtv) } + case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -47260,6 +48006,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.HoursOfOperationId = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -47268,6 +48015,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47283,6 +48031,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47291,10 +48040,12 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -47303,6 +48054,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation } sv.TimeZone = ptr.String(jtv) } + default: _, _ = key, value @@ -47342,14 +48094,17 @@ func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOpe } sv.Day = types.HoursOfOperationDays(jtv) } + case "EndTime": if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.EndTime, value); err != nil { return err } + case "StartTime": if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.StartTime, value); err != nil { return err } + default: _, _ = key, value @@ -47457,6 +48212,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -47465,6 +48221,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -47473,6 +48230,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47488,6 +48246,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47496,6 +48255,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -47573,6 +48333,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf } sv.Hours = ptr.Int32(int32(i64)) } + case "Minutes": if value != nil { jtv, ok := value.(json.Number) @@ -47585,6 +48346,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf } sv.Minutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -47624,6 +48386,7 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47663,6 +48426,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -47678,6 +48442,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -47686,6 +48451,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } + case "IdentityManagementType": if value != nil { jtv, ok := value.(string) @@ -47694,6 +48460,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IdentityManagementType = types.DirectoryType(jtv) } + case "InboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -47702,6 +48469,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InboundCallsEnabled = ptr.Bool(jtv) } + case "InstanceAccessUrl": if value != nil { jtv, ok := value.(string) @@ -47710,6 +48478,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceAccessUrl = ptr.String(jtv) } + case "InstanceAlias": if value != nil { jtv, ok := value.(string) @@ -47718,6 +48487,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceAlias = ptr.String(jtv) } + case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -47726,6 +48496,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceStatus = types.InstanceStatus(jtv) } + case "OutboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -47734,6 +48505,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OutboundCallsEnabled = ptr.Bool(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -47742,14 +48514,17 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ServiceRole = ptr.String(jtv) } + case "StatusReason": if err := awsRestjson1_deserializeDocumentInstanceStatusReason(&sv.StatusReason, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -47789,6 +48564,7 @@ func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47828,22 +48604,27 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceSto } sv.AssociationId = ptr.String(jtv) } + case "KinesisFirehoseConfig": if err := awsRestjson1_deserializeDocumentKinesisFirehoseConfig(&sv.KinesisFirehoseConfig, value); err != nil { return err } + case "KinesisStreamConfig": if err := awsRestjson1_deserializeDocumentKinesisStreamConfig(&sv.KinesisStreamConfig, value); err != nil { return err } + case "KinesisVideoStreamConfig": if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(&sv.KinesisVideoStreamConfig, value); err != nil { return err } + case "S3Config": if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -47852,6 +48633,7 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceSto } sv.StorageType = types.StorageType(jtv) } + default: _, _ = key, value @@ -47925,6 +48707,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -47940,6 +48723,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -47948,6 +48732,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Id = ptr.String(jtv) } + case "IdentityManagementType": if value != nil { jtv, ok := value.(string) @@ -47956,6 +48741,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.IdentityManagementType = types.DirectoryType(jtv) } + case "InboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -47964,6 +48750,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InboundCallsEnabled = ptr.Bool(jtv) } + case "InstanceAccessUrl": if value != nil { jtv, ok := value.(string) @@ -47972,6 +48759,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceAccessUrl = ptr.String(jtv) } + case "InstanceAlias": if value != nil { jtv, ok := value.(string) @@ -47980,6 +48768,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceAlias = ptr.String(jtv) } + case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -47988,6 +48777,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceStatus = types.InstanceStatus(jtv) } + case "OutboundCallsEnabled": if value != nil { jtv, ok := value.(bool) @@ -47996,6 +48786,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.OutboundCallsEnabled = ptr.Bool(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -48004,6 +48795,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.ServiceRole = ptr.String(jtv) } + default: _, _ = key, value @@ -48077,6 +48869,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.InstanceId = ptr.String(jtv) } + case "IntegrationArn": if value != nil { jtv, ok := value.(string) @@ -48085,6 +48878,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationArn = ptr.String(jtv) } + case "IntegrationAssociationArn": if value != nil { jtv, ok := value.(string) @@ -48093,6 +48887,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationAssociationArn = ptr.String(jtv) } + case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -48101,6 +48896,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationAssociationId = ptr.String(jtv) } + case "IntegrationType": if value != nil { jtv, ok := value.(string) @@ -48109,6 +48905,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.IntegrationType = types.IntegrationType(jtv) } + case "SourceApplicationName": if value != nil { jtv, ok := value.(string) @@ -48117,6 +48914,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceApplicationName = ptr.String(jtv) } + case "SourceApplicationUrl": if value != nil { jtv, ok := value.(string) @@ -48125,6 +48923,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceApplicationUrl = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -48133,6 +48932,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -48206,6 +49006,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48241,6 +49042,7 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } + default: _, _ = key, value @@ -48276,6 +49078,7 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } + default: _, _ = key, value @@ -48315,6 +49118,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48354,10 +49158,12 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "Reason": if err := awsRestjson1_deserializeDocumentInvalidRequestExceptionReason(&sv.Reason, value); err != nil { return err } + default: _, _ = key, value @@ -48435,6 +49241,7 @@ func awsRestjson1_deserializeDocumentInvisibleFieldInfo(v **types.InvisibleField if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } + default: _, _ = key, value @@ -48544,6 +49351,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFire } sv.FirehoseArn = ptr.String(jtv) } + default: _, _ = key, value @@ -48583,6 +49391,7 @@ func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStream } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -48618,6 +49427,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -48626,6 +49436,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV } sv.Prefix = ptr.String(jtv) } + case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -48638,6 +49449,7 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV } sv.RetentionPeriodHours = int32(i64) } + default: _, _ = key, value @@ -48677,6 +49489,7 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) } sv.LexRegion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48685,6 +49498,7 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -48720,10 +49534,12 @@ func awsRestjson1_deserializeDocumentLexBotConfig(v **types.LexBotConfig, value if err := awsRestjson1_deserializeDocumentLexBot(&sv.LexBot, value); err != nil { return err } + case "LexV2Bot": if err := awsRestjson1_deserializeDocumentLexV2Bot(&sv.LexV2Bot, value); err != nil { return err } + default: _, _ = key, value @@ -48831,6 +49647,7 @@ func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interfac } sv.AliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -48870,6 +49687,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48909,6 +49727,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.InstanceId = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -48917,6 +49736,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -48925,6 +49745,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -48933,6 +49754,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } + case "PhoneNumberDescription": if value != nil { jtv, ok := value.(string) @@ -48941,6 +49763,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberDescription = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -48949,6 +49772,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberId = ptr.String(jtv) } + case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -48957,6 +49781,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.PhoneNumberType = types.PhoneNumberType(jtv) } + case "SourcePhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -48965,6 +49790,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.SourcePhoneNumberArn = ptr.String(jtv) } + case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -48973,6 +49799,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49042,6 +49869,7 @@ func awsRestjson1_deserializeDocumentMatchCriteria(v **types.MatchCriteria, valu if err := awsRestjson1_deserializeDocumentAgentsCriteria(&sv.AgentsCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -49081,6 +49909,7 @@ func awsRestjson1_deserializeDocumentMaximumResultReturnedException(v **types.Ma } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -49154,6 +49983,7 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency } sv.Channel = types.Channel(jtv) } + case "Concurrency": if value != nil { jtv, ok := value.(json.Number) @@ -49166,10 +49996,12 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency } sv.Concurrency = ptr.Int32(int32(i64)) } + case "CrossChannelBehavior": if err := awsRestjson1_deserializeDocumentCrossChannelBehavior(&sv.CrossChannelBehavior, value); err != nil { return err } + default: _, _ = key, value @@ -49209,6 +50041,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioFallbackUrl = ptr.String(jtv) } + case "AudioHostUrl": if value != nil { jtv, ok := value.(string) @@ -49217,6 +50050,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.AudioHostUrl = ptr.String(jtv) } + case "EventIngestionUrl": if value != nil { jtv, ok := value.(string) @@ -49225,6 +50059,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.EventIngestionUrl = ptr.String(jtv) } + case "SignalingUrl": if value != nil { jtv, ok := value.(string) @@ -49233,6 +50068,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.SignalingUrl = ptr.String(jtv) } + case "TurnControlUrl": if value != nil { jtv, ok := value.(string) @@ -49241,6 +50077,7 @@ func awsRestjson1_deserializeDocumentMediaPlacement(v **types.MediaPlacement, va } sv.TurnControlUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -49276,6 +50113,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ if err := awsRestjson1_deserializeDocumentMediaPlacement(&sv.MediaPlacement, value); err != nil { return err } + case "MediaRegion": if value != nil { jtv, ok := value.(string) @@ -49284,10 +50122,12 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MediaRegion = ptr.String(jtv) } + case "MeetingFeatures": if err := awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(&sv.MeetingFeatures, value); err != nil { return err } + case "MeetingId": if value != nil { jtv, ok := value.(string) @@ -49296,6 +50136,7 @@ func awsRestjson1_deserializeDocumentMeeting(v **types.Meeting, value interface{ } sv.MeetingId = ptr.String(jtv) } + default: _, _ = key, value @@ -49331,6 +50172,7 @@ func awsRestjson1_deserializeDocumentMeetingFeaturesConfiguration(v **types.Meet if err := awsRestjson1_deserializeDocumentAudioFeatures(&sv.Audio, value); err != nil { return err } + default: _, _ = key, value @@ -49400,6 +50242,7 @@ func awsRestjson1_deserializeDocumentMetricDataV2(v **types.MetricDataV2, value if err := awsRestjson1_deserializeDocumentMetricV2(&sv.Metric, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -49433,6 +50276,7 @@ func awsRestjson1_deserializeDocumentMetricDataV2(v **types.MetricDataV2, value } } + default: _, _ = key, value @@ -49506,10 +50350,12 @@ func awsRestjson1_deserializeDocumentMetricFilterV2(v **types.MetricFilterV2, va } sv.MetricFilterKey = ptr.String(jtv) } + case "MetricFilterValues": if err := awsRestjson1_deserializeDocumentMetricFilterValueList(&sv.MetricFilterValues, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -49518,6 +50364,7 @@ func awsRestjson1_deserializeDocumentMetricFilterV2(v **types.MetricFilterV2, va } sv.Negate = jtv } + default: _, _ = key, value @@ -49600,6 +50447,7 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } } + case "Interval": if value != nil { jtv, ok := value.(string) @@ -49608,6 +50456,7 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } sv.Interval = types.IntervalPeriod(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -49623,6 +50472,7 @@ func awsRestjson1_deserializeDocumentMetricInterval(v **types.MetricInterval, va } } + default: _, _ = key, value @@ -49692,14 +50542,17 @@ func awsRestjson1_deserializeDocumentMetricResultV2(v **types.MetricResultV2, va if err := awsRestjson1_deserializeDocumentMetricDataCollectionsV2(&sv.Collections, value); err != nil { return err } + case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensionsV2Map(&sv.Dimensions, value); err != nil { return err } + case "MetricInterval": if err := awsRestjson1_deserializeDocumentMetricInterval(&sv.MetricInterval, value); err != nil { return err } + default: _, _ = key, value @@ -49735,6 +50588,7 @@ func awsRestjson1_deserializeDocumentMetricV2(v **types.MetricV2, value interfac if err := awsRestjson1_deserializeDocumentMetricFiltersV2List(&sv.MetricFilters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49743,10 +50597,12 @@ func awsRestjson1_deserializeDocumentMetricV2(v **types.MetricV2, value interfac } sv.Name = ptr.String(jtv) } + case "Threshold": if err := awsRestjson1_deserializeDocumentThresholdCollections(&sv.Threshold, value); err != nil { return err } + default: _, _ = key, value @@ -49782,10 +50638,12 @@ func awsRestjson1_deserializeDocumentNotificationRecipientType(v **types.Notific if err := awsRestjson1_deserializeDocumentUserIdList(&sv.UserIds, value); err != nil { return err } + case "UserTags": if err := awsRestjson1_deserializeDocumentUserTagMap(&sv.UserTags, value); err != nil { return err } + default: _, _ = key, value @@ -49825,6 +50683,7 @@ func awsRestjson1_deserializeDocumentNumberReference(v **types.NumberReference, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -49833,6 +50692,7 @@ func awsRestjson1_deserializeDocumentNumberReference(v **types.NumberReference, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -49872,6 +50732,7 @@ func awsRestjson1_deserializeDocumentNumericQuestionPropertyValueAutomation(v ** } sv.Label = types.NumericQuestionPropertyAutomationLabel(jtv) } + default: _, _ = key, value @@ -49947,6 +50808,7 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundCallerIdName = ptr.String(jtv) } + case "OutboundCallerIdNumberId": if value != nil { jtv, ok := value.(string) @@ -49955,6 +50817,7 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundCallerIdNumberId = ptr.String(jtv) } + case "OutboundFlowId": if value != nil { jtv, ok := value.(string) @@ -49963,6 +50826,7 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall } sv.OutboundFlowId = ptr.String(jtv) } + default: _, _ = key, value @@ -50002,6 +50866,7 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50041,6 +50906,7 @@ func awsRestjson1_deserializeDocumentOutputTypeNotFoundException(v **types.Outpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50080,6 +50946,7 @@ func awsRestjson1_deserializeDocumentParticipantCapabilities(v **types.Participa } sv.ScreenShare = types.ScreenShareCapability(jtv) } + case "Video": if value != nil { jtv, ok := value.(string) @@ -50088,6 +50955,7 @@ func awsRestjson1_deserializeDocumentParticipantCapabilities(v **types.Participa } sv.Video = types.VideoCapability(jtv) } + default: _, _ = key, value @@ -50127,6 +50995,7 @@ func awsRestjson1_deserializeDocumentParticipantTokenCredentials(v **types.Parti } sv.Expiry = ptr.String(jtv) } + case "ParticipantToken": if value != nil { jtv, ok := value.(string) @@ -50135,6 +51004,7 @@ func awsRestjson1_deserializeDocumentParticipantTokenCredentials(v **types.Parti } sv.ParticipantToken = ptr.String(jtv) } + default: _, _ = key, value @@ -50210,6 +51080,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.Pho } sv.PhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -50249,6 +51120,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -50257,6 +51129,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat } sv.Status = types.PhoneNumberWorkflowStatus(jtv) } + default: _, _ = key, value @@ -50296,6 +51169,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -50304,6 +51178,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.Id = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -50312,6 +51187,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) @@ -50320,6 +51196,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } + case "PhoneNumberType": if value != nil { jtv, ok := value.(string) @@ -50328,6 +51205,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum } sv.PhoneNumberType = types.PhoneNumberType(jtv) } + default: _, _ = key, value @@ -50437,6 +51315,7 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50452,6 +51331,7 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50460,10 +51340,12 @@ func awsRestjson1_deserializeDocumentPredefinedAttribute(v **types.PredefinedAtt } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentPredefinedAttributeValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -50573,6 +51455,7 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50588,6 +51471,7 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50596,6 +51480,7 @@ func awsRestjson1_deserializeDocumentPredefinedAttributeSummary(v **types.Predef } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -50707,6 +51592,7 @@ func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50780,6 +51666,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.Description = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -50788,6 +51675,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50803,6 +51691,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50811,6 +51700,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.Name = ptr.String(jtv) } + case "PromptARN": if value != nil { jtv, ok := value.(string) @@ -50819,6 +51709,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.PromptARN = ptr.String(jtv) } + case "PromptId": if value != nil { jtv, ok := value.(string) @@ -50827,10 +51718,12 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.PromptId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -50904,6 +51797,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -50912,6 +51806,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -50920,6 +51815,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50935,6 +51831,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50943,6 +51840,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -51016,10 +51914,12 @@ func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.Prope } sv.Message = ptr.String(jtv) } + case "PropertyList": if err := awsRestjson1_deserializeDocumentPropertyValidationExceptionPropertyList(&sv.PropertyList, value); err != nil { return err } + default: _, _ = key, value @@ -51059,6 +51959,7 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.Message = ptr.String(jtv) } + case "PropertyPath": if value != nil { jtv, ok := value.(string) @@ -51067,6 +51968,7 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.PropertyPath = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -51075,6 +51977,7 @@ func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **typ } sv.Reason = types.PropertyValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -51144,10 +52047,12 @@ func awsRestjson1_deserializeDocumentQualityMetrics(v **types.QualityMetrics, va if err := awsRestjson1_deserializeDocumentAgentQualityMetrics(&sv.Agent, value); err != nil { return err } + case "Customer": if err := awsRestjson1_deserializeDocumentCustomerQualityMetrics(&sv.Customer, value); err != nil { return err } + default: _, _ = key, value @@ -51187,6 +52092,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Description = ptr.String(jtv) } + case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) @@ -51195,6 +52101,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.HoursOfOperationId = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51203,6 +52110,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51218,6 +52126,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } + case "MaxContacts": if value != nil { jtv, ok := value.(json.Number) @@ -51230,6 +52139,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.MaxContacts = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51238,10 +52148,12 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } + case "OutboundCallerConfig": if err := awsRestjson1_deserializeDocumentOutboundCallerConfig(&sv.OutboundCallerConfig, value); err != nil { return err } + case "QueueArn": if value != nil { jtv, ok := value.(string) @@ -51250,6 +52162,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.QueueArn = ptr.String(jtv) } + case "QueueId": if value != nil { jtv, ok := value.(string) @@ -51258,6 +52171,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.QueueId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -51266,10 +52180,12 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -51316,6 +52232,7 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51324,6 +52241,7 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -51363,6 +52281,7 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic } sv.ContactFlowId = ptr.String(jtv) } + case "QueueId": if value != nil { jtv, ok := value.(string) @@ -51371,6 +52290,7 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic } sv.QueueId = ptr.String(jtv) } + default: _, _ = key, value @@ -51410,6 +52330,7 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51418,6 +52339,7 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -51491,6 +52413,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51499,6 +52422,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51507,6 +52431,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51522,6 +52447,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51530,6 +52456,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Name = ptr.String(jtv) } + case "QueueType": if value != nil { jtv, ok := value.(string) @@ -51538,6 +52465,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.QueueType = types.QueueType(jtv) } + default: _, _ = key, value @@ -51611,6 +52539,7 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.Description = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51619,6 +52548,7 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51634,6 +52564,7 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51642,6 +52573,7 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.Name = ptr.String(jtv) } + case "QuickConnectARN": if value != nil { jtv, ok := value.(string) @@ -51650,10 +52582,12 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.QuickConnectARN = ptr.String(jtv) } + case "QuickConnectConfig": if err := awsRestjson1_deserializeDocumentQuickConnectConfig(&sv.QuickConnectConfig, value); err != nil { return err } + case "QuickConnectId": if value != nil { jtv, ok := value.(string) @@ -51662,10 +52596,12 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value } sv.QuickConnectId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -51701,10 +52637,12 @@ func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectCo if err := awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(&sv.PhoneConfig, value); err != nil { return err } + case "QueueConfig": if err := awsRestjson1_deserializeDocumentQueueQuickConnectConfig(&sv.QueueConfig, value); err != nil { return err } + case "QuickConnectType": if value != nil { jtv, ok := value.(string) @@ -51713,10 +52651,12 @@ func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectCo } sv.QuickConnectType = types.QuickConnectType(jtv) } + case "UserConfig": if err := awsRestjson1_deserializeDocumentUserQuickConnectConfig(&sv.UserConfig, value); err != nil { return err } + default: _, _ = key, value @@ -51790,6 +52730,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51798,6 +52739,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -51806,6 +52748,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51821,6 +52764,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51829,6 +52773,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.Name = ptr.String(jtv) } + case "QuickConnectType": if value != nil { jtv, ok := value.(string) @@ -51837,6 +52782,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS } sv.QuickConnectType = types.QuickConnectType(jtv) } + default: _, _ = key, value @@ -51906,6 +52852,7 @@ func awsRestjson1_deserializeDocumentReadOnlyFieldInfo(v **types.ReadOnlyFieldIn if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } + default: _, _ = key, value @@ -51979,6 +52926,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.AttachmentId = ptr.String(jtv) } + case "AttachmentName": if value != nil { jtv, ok := value.(string) @@ -51987,6 +52935,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.AttachmentName = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -51995,6 +52944,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.ContentType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52003,6 +52953,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachment(v **types } sv.Status = types.ArtifactStatus(jtv) } + default: _, _ = key, value @@ -52072,6 +53023,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCategoryDetails(v ** if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisPointsOfInterest(&sv.PointsOfInterest, value); err != nil { return err } + default: _, _ = key, value @@ -52115,6 +53067,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(v } sv.BeginOffsetChar = int32(i64) } + case "EndOffsetChar": if value != nil { jtv, ok := value.(json.Number) @@ -52127,6 +53080,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(v } sv.EndOffsetChar = int32(i64) } + default: _, _ = key, value @@ -52196,6 +53150,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisIssueDetected(v **ty if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemsWithContent(&sv.TranscriptItems, value); err != nil { return err } + default: _, _ = key, value @@ -52300,6 +53255,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisPointOfInterest(v ** if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemsWithCharacterOffsets(&sv.TranscriptItems, value); err != nil { return err } + default: _, _ = key, value @@ -52459,6 +53415,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisAttachments(&sv.Attachments, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -52467,6 +53424,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.DisplayName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -52475,6 +53433,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.Id = ptr.String(jtv) } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -52483,6 +53442,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -52491,10 +53451,12 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentAttachments(v } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } + default: _, _ = key, value @@ -52530,6 +53492,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentCategories(v if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisMatchedDetails(&sv.MatchedDetails, value); err != nil { return err } + default: _, _ = key, value @@ -52569,6 +53532,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.DisplayName = ptr.String(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -52577,6 +53541,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.EventType = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -52585,6 +53550,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.Id = ptr.String(jtv) } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -52593,6 +53559,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -52601,10 +53568,12 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentEvent(v **typ } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } + default: _, _ = key, value @@ -52640,6 +53609,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentIssues(v **ty if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } + default: _, _ = key, value @@ -52679,6 +53649,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.Content = ptr.String(jtv) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -52687,6 +53658,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.FailureCode = types.RealTimeContactAnalysisPostContactSummaryFailureCode(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52695,6 +53667,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentPostContactSu } sv.Status = types.RealTimeContactAnalysisPostContactSummaryStatus(jtv) } + default: _, _ = key, value @@ -52766,6 +53739,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -52774,6 +53748,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ContentType = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -52782,6 +53757,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.DisplayName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -52790,6 +53766,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Id = ptr.String(jtv) } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -52798,6 +53775,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -52806,10 +53784,12 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "Redaction": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemRedaction(&sv.Redaction, value); err != nil { return err } + case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -52818,10 +53798,12 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisSegmentTranscript(v } sv.Sentiment = types.RealTimeContactAnalysisSentimentLabel(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisTimeData(&sv.Time, value); err != nil { return err } + default: _, _ = key, value @@ -52903,6 +53885,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemRedact if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterIntervals(&sv.CharacterOffsets, value); err != nil { return err } + default: _, _ = key, value @@ -53006,6 +53989,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCh if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(&sv.CharacterOffsets, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -53014,6 +53998,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCh } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -53049,6 +54034,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo if err := awsRestjson1_deserializeDocumentRealTimeContactAnalysisCharacterInterval(&sv.CharacterOffsets, value); err != nil { return err } + case "Content": if value != nil { jtv, ok := value.(string) @@ -53057,6 +54043,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo } sv.Content = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -53065,6 +54052,7 @@ func awsRestjson1_deserializeDocumentRealTimeContactAnalysisTranscriptItemWithCo } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -53104,6 +54092,7 @@ func awsRestjson1_deserializeDocumentReference(v **types.Reference, value interf } sv.Type = types.ReferenceType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -53112,6 +54101,7 @@ func awsRestjson1_deserializeDocumentReference(v **types.Reference, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -53273,10 +54263,12 @@ func awsRestjson1_deserializeDocumentReplicationConfiguration(v **types.Replicat } sv.GlobalSignInEndpoint = ptr.String(jtv) } + case "ReplicationStatusSummaryList": if err := awsRestjson1_deserializeDocumentReplicationStatusSummaryList(&sv.ReplicationStatusSummaryList, value); err != nil { return err } + case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -53285,6 +54277,7 @@ func awsRestjson1_deserializeDocumentReplicationConfiguration(v **types.Replicat } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -53324,6 +54317,7 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.Region = ptr.String(jtv) } + case "ReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -53332,6 +54326,7 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.ReplicationStatus = types.InstanceReplicationStatus(jtv) } + case "ReplicationStatusReason": if value != nil { jtv, ok := value.(string) @@ -53340,6 +54335,7 @@ func awsRestjson1_deserializeDocumentReplicationStatusSummary(v **types.Replicat } sv.ReplicationStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -53409,6 +54405,7 @@ func awsRestjson1_deserializeDocumentRequiredFieldInfo(v **types.RequiredFieldIn if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } + default: _, _ = key, value @@ -53482,6 +54479,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -53521,6 +54519,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -53529,6 +54528,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -53537,6 +54537,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -53576,6 +54577,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -53615,6 +54617,7 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -53661,6 +54664,7 @@ func awsRestjson1_deserializeDocumentRoutingCriteria(v **types.RoutingCriteria, } } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -53673,10 +54677,12 @@ func awsRestjson1_deserializeDocumentRoutingCriteria(v **types.RoutingCriteria, } sv.Index = ptr.Int32(int32(i64)) } + case "Steps": if err := awsRestjson1_deserializeDocumentSteps(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -53716,10 +54722,12 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.AgentAvailabilityTimer = types.AgentAvailabilityTimer(jtv) } + case "AssociatedQueueIds": if err := awsRestjson1_deserializeDocumentAssociatedQueueIdList(&sv.AssociatedQueueIds, value); err != nil { return err } + case "DefaultOutboundQueueId": if value != nil { jtv, ok := value.(string) @@ -53728,6 +54736,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.DefaultOutboundQueueId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -53736,6 +54745,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.Description = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -53744,6 +54754,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.InstanceId = ptr.String(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -53752,6 +54763,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.IsDefault = jtv } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -53760,6 +54772,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -53775,10 +54788,12 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } } + case "MediaConcurrencies": if err := awsRestjson1_deserializeDocumentMediaConcurrencies(&sv.MediaConcurrencies, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53787,6 +54802,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.Name = ptr.String(jtv) } + case "NumberOfAssociatedQueues": if value != nil { jtv, ok := value.(json.Number) @@ -53799,6 +54815,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.NumberOfAssociatedQueues = ptr.Int64(i64) } + case "NumberOfAssociatedUsers": if value != nil { jtv, ok := value.(json.Number) @@ -53811,6 +54828,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.NumberOfAssociatedUsers = ptr.Int64(i64) } + case "RoutingProfileArn": if value != nil { jtv, ok := value.(string) @@ -53819,6 +54837,7 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.RoutingProfileArn = ptr.String(jtv) } + case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -53827,10 +54846,12 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va } sv.RoutingProfileId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -53904,6 +54925,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Channel = types.Channel(jtv) } + case "Delay": if value != nil { jtv, ok := value.(json.Number) @@ -53916,6 +54938,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Delay = int32(i64) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -53928,6 +54951,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.Priority = ptr.Int32(int32(i64)) } + case "QueueArn": if value != nil { jtv, ok := value.(string) @@ -53936,6 +54960,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueArn = ptr.String(jtv) } + case "QueueId": if value != nil { jtv, ok := value.(string) @@ -53944,6 +54969,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueId = ptr.String(jtv) } + case "QueueName": if value != nil { jtv, ok := value.(string) @@ -53952,6 +54978,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. } sv.QueueName = ptr.String(jtv) } + default: _, _ = key, value @@ -54025,6 +55052,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileReference(v **types.RoutingPr } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -54033,6 +55061,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileReference(v **types.RoutingPr } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -54072,6 +55101,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -54080,6 +55110,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -54088,6 +55119,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -54103,6 +55135,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54111,6 +55144,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -54180,6 +55214,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentRuleActions(&sv.Actions, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -54195,6 +55230,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } } + case "Function": if value != nil { jtv, ok := value.(string) @@ -54203,6 +55239,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Function = ptr.String(jtv) } + case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -54211,6 +55248,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.LastUpdatedBy = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -54226,6 +55264,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54234,6 +55273,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "PublishStatus": if value != nil { jtv, ok := value.(string) @@ -54242,6 +55282,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.PublishStatus = types.RulePublishStatus(jtv) } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -54250,6 +55291,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleArn = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -54258,14 +55300,17 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TriggerEventSource": if err := awsRestjson1_deserializeDocumentRuleTriggerEventSource(&sv.TriggerEventSource, value); err != nil { return err } + default: _, _ = key, value @@ -54305,38 +55350,47 @@ func awsRestjson1_deserializeDocumentRuleAction(v **types.RuleAction, value inte } sv.ActionType = types.ActionType(jtv) } + case "AssignContactCategoryAction": if err := awsRestjson1_deserializeDocumentAssignContactCategoryActionDefinition(&sv.AssignContactCategoryAction, value); err != nil { return err } + case "CreateCaseAction": if err := awsRestjson1_deserializeDocumentCreateCaseActionDefinition(&sv.CreateCaseAction, value); err != nil { return err } + case "EndAssociatedTasksAction": if err := awsRestjson1_deserializeDocumentEndAssociatedTasksActionDefinition(&sv.EndAssociatedTasksAction, value); err != nil { return err } + case "EventBridgeAction": if err := awsRestjson1_deserializeDocumentEventBridgeActionDefinition(&sv.EventBridgeAction, value); err != nil { return err } + case "SendNotificationAction": if err := awsRestjson1_deserializeDocumentSendNotificationActionDefinition(&sv.SendNotificationAction, value); err != nil { return err } + case "SubmitAutoEvaluationAction": if err := awsRestjson1_deserializeDocumentSubmitAutoEvaluationActionDefinition(&sv.SubmitAutoEvaluationAction, value); err != nil { return err } + case "TaskAction": if err := awsRestjson1_deserializeDocumentTaskActionDefinition(&sv.TaskAction, value); err != nil { return err } + case "UpdateCaseAction": if err := awsRestjson1_deserializeDocumentUpdateCaseActionDefinition(&sv.UpdateCaseAction, value); err != nil { return err } + default: _, _ = key, value @@ -54406,6 +55460,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in if err := awsRestjson1_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -54421,6 +55476,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } } + case "EventSourceName": if value != nil { jtv, ok := value.(string) @@ -54429,6 +55485,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.EventSourceName = types.EventSourceName(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -54444,6 +55501,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54452,6 +55510,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } + case "PublishStatus": if value != nil { jtv, ok := value.(string) @@ -54460,6 +55519,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.PublishStatus = types.RulePublishStatus(jtv) } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -54468,6 +55528,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleArn = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -54476,6 +55537,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -54549,6 +55611,7 @@ func awsRestjson1_deserializeDocumentRuleTriggerEventSource(v **types.RuleTrigge } sv.EventSourceName = types.EventSourceName(jtv) } + case "IntegrationAssociationId": if value != nil { jtv, ok := value.(string) @@ -54557,6 +55620,7 @@ func awsRestjson1_deserializeDocumentRuleTriggerEventSource(v **types.RuleTrigge } sv.IntegrationAssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -54596,6 +55660,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } + case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -54604,10 +55669,12 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketPrefix = ptr.String(jtv) } + case "EncryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -54647,6 +55714,7 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } sv.AssociationId = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -54662,6 +55730,7 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } } + case "Key": if value != nil { jtv, ok := value.(string) @@ -54670,6 +55739,7 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -54743,10 +55813,12 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.AllowedAccessControlHierarchyGroupId = ptr.String(jtv) } + case "AllowedAccessControlTags": if err := awsRestjson1_deserializeDocumentAllowedAccessControlTags(&sv.AllowedAccessControlTags, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -54755,6 +55827,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -54763,10 +55836,12 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Description = ptr.String(jtv) } + case "HierarchyRestrictedResources": if err := awsRestjson1_deserializeDocumentHierarchyRestrictedResourceList(&sv.HierarchyRestrictedResources, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -54775,6 +55850,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -54783,6 +55859,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -54798,6 +55875,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } } + case "OrganizationResourceId": if value != nil { jtv, ok := value.(string) @@ -54806,6 +55884,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.OrganizationResourceId = ptr.String(jtv) } + case "SecurityProfileName": if value != nil { jtv, ok := value.(string) @@ -54814,14 +55893,17 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, } sv.SecurityProfileName = ptr.String(jtv) } + case "TagRestrictedResources": if err := awsRestjson1_deserializeDocumentTagRestrictedResourceList(&sv.TagRestrictedResources, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -54897,6 +55979,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -54905,6 +55988,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -54913,6 +55997,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.Id = ptr.String(jtv) } + case "OrganizationResourceId": if value != nil { jtv, ok := value.(string) @@ -54921,6 +56006,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.OrganizationResourceId = ptr.String(jtv) } + case "SecurityProfileName": if value != nil { jtv, ok := value.(string) @@ -54929,10 +56015,12 @@ func awsRestjson1_deserializeDocumentSecurityProfileSearchSummary(v **types.Secu } sv.SecurityProfileName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -55006,6 +56094,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -55014,6 +56103,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -55022,6 +56112,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55037,6 +56128,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55045,6 +56137,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -55153,6 +56246,7 @@ func awsRestjson1_deserializeDocumentSegmentAttributeValue(v **types.SegmentAttr } sv.ValueString = ptr.String(jtv) } + default: _, _ = key, value @@ -55192,6 +56286,7 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -55200,6 +56295,7 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.ContentType = types.NotificationContentType(jtv) } + case "DeliveryMethod": if value != nil { jtv, ok := value.(string) @@ -55208,10 +56304,12 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.DeliveryMethod = types.NotificationDeliveryType(jtv) } + case "Recipient": if err := awsRestjson1_deserializeDocumentNotificationRecipientType(&sv.Recipient, value); err != nil { return err } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -55220,6 +56318,7 @@ func awsRestjson1_deserializeDocumentSendNotificationActionDefinition(v **types. } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -55259,6 +56358,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -55294,6 +56394,7 @@ func awsRestjson1_deserializeDocumentSignInConfig(v **types.SignInConfig, value if err := awsRestjson1_deserializeDocumentSignInDistributionList(&sv.Distributions, value); err != nil { return err } + default: _, _ = key, value @@ -55333,6 +56434,7 @@ func awsRestjson1_deserializeDocumentSignInDistribution(v **types.SignInDistribu } sv.Enabled = jtv } + case "Region": if value != nil { jtv, ok := value.(string) @@ -55341,6 +56443,7 @@ func awsRestjson1_deserializeDocumentSignInDistribution(v **types.SignInDistribu } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -55450,6 +56553,7 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.Category = ptr.String(jtv) } + case "Condition": if value != nil { jtv, ok := value.(string) @@ -55458,6 +56562,7 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.Condition = types.SingleSelectQuestionRuleCategoryAutomationCondition(jtv) } + case "OptionRefId": if value != nil { jtv, ok := value.(string) @@ -55466,6 +56571,7 @@ func awsRestjson1_deserializeDocumentSingleSelectQuestionRuleCategoryAutomation( } sv.OptionRefId = ptr.String(jtv) } + default: _, _ = key, value @@ -55501,10 +56607,12 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err if err := awsRestjson1_deserializeDocumentExpiry(&sv.Expiry, value); err != nil { return err } + case "Expression": if err := awsRestjson1_deserializeDocumentExpression(&sv.Expression, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -55513,6 +56621,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Status = types.RoutingCriteriaStepStatus(jtv) } + default: _, _ = key, value @@ -55586,6 +56695,7 @@ func awsRestjson1_deserializeDocumentStringReference(v **types.StringReference, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -55594,6 +56704,7 @@ func awsRestjson1_deserializeDocumentStringReference(v **types.StringReference, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -55633,6 +56744,7 @@ func awsRestjson1_deserializeDocumentSubmitAutoEvaluationActionDefinition(v **ty } sv.EvaluationFormId = ptr.String(jtv) } + default: _, _ = key, value @@ -55672,6 +56784,7 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.ContactId = ptr.String(jtv) } + case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -55680,6 +56793,7 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -55825,6 +56939,7 @@ func awsRestjson1_deserializeDocumentTagSet(v **types.TagSet, value interface{}) } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -55833,6 +56948,7 @@ func awsRestjson1_deserializeDocumentTagSet(v **types.TagSet, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -55906,6 +57022,7 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.ContactFlowId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -55914,6 +57031,7 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55922,10 +57040,12 @@ func awsRestjson1_deserializeDocumentTaskActionDefinition(v **types.TaskActionDe } sv.Name = ptr.String(jtv) } + case "References": if err := awsRestjson1_deserializeDocumentContactReferences(&sv.References, value); err != nil { return err } + default: _, _ = key, value @@ -55961,14 +57081,17 @@ func awsRestjson1_deserializeDocumentTaskTemplateConstraints(v **types.TaskTempl if err := awsRestjson1_deserializeDocumentInvisibleTaskTemplateFields(&sv.InvisibleFields, value); err != nil { return err } + case "ReadOnlyFields": if err := awsRestjson1_deserializeDocumentReadOnlyTaskTemplateFields(&sv.ReadOnlyFields, value); err != nil { return err } + case "RequiredFields": if err := awsRestjson1_deserializeDocumentRequiredTaskTemplateFields(&sv.RequiredFields, value); err != nil { return err } + default: _, _ = key, value @@ -56008,10 +57131,12 @@ func awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValue(v **types.Tas } sv.DefaultValue = ptr.String(jtv) } + case "Id": if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } + default: _, _ = key, value @@ -56081,6 +57206,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateDefaults(v **types.TaskTemplate if err := awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValueList(&sv.DefaultFieldValues, value); err != nil { return err } + default: _, _ = key, value @@ -56120,14 +57246,17 @@ func awsRestjson1_deserializeDocumentTaskTemplateField(v **types.TaskTemplateFie } sv.Description = ptr.String(jtv) } + case "Id": if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { return err } + case "SingleSelectOptions": if err := awsRestjson1_deserializeDocumentSingleSelectOptions(&sv.SingleSelectOptions, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -56136,6 +57265,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateField(v **types.TaskTemplateFie } sv.Type = types.TaskTemplateFieldType(jtv) } + default: _, _ = key, value @@ -56175,6 +57305,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(v **types.TaskT } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -56282,6 +57413,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -56297,6 +57429,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -56305,6 +57438,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -56313,6 +57447,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Id = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56328,6 +57463,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -56336,6 +57472,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56344,6 +57481,7 @@ func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplate } sv.Status = types.TaskTemplateStatus(jtv) } + default: _, _ = key, value @@ -56379,6 +57517,7 @@ func awsRestjson1_deserializeDocumentTelephonyConfig(v **types.TelephonyConfig, if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } + default: _, _ = key, value @@ -56418,6 +57557,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Comparison = types.Comparison(jtv) } + case "ThresholdValue": if value != nil { switch jtv := value.(type) { @@ -56451,6 +57591,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } } + default: _, _ = key, value @@ -56524,6 +57665,7 @@ func awsRestjson1_deserializeDocumentThresholdV2(v **types.ThresholdV2, value in } sv.Comparison = ptr.String(jtv) } + case "ThresholdValue": if value != nil { switch jtv := value.(type) { @@ -56557,6 +57699,7 @@ func awsRestjson1_deserializeDocumentThresholdV2(v **types.ThresholdV2, value in } } + default: _, _ = key, value @@ -56596,6 +57739,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56635,6 +57779,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56674,6 +57819,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -56682,6 +57828,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -56690,6 +57837,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Id = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -56698,6 +57846,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.InstanceArn = ptr.String(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -56706,6 +57855,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.IsDefault = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -56714,6 +57864,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56722,10 +57873,12 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroup(v **types.TrafficD } sv.Status = types.TrafficDistributionGroupStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -56765,6 +57918,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -56773,6 +57927,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Id = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -56781,6 +57936,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.InstanceArn = ptr.String(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -56789,6 +57945,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.IsDefault = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -56797,6 +57954,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56805,6 +57963,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupSummary(v **types.T } sv.Status = types.TrafficDistributionGroupStatus(jtv) } + default: _, _ = key, value @@ -56878,6 +58037,7 @@ func awsRestjson1_deserializeDocumentTrafficDistributionGroupUserSummary(v **typ } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -56947,6 +58107,7 @@ func awsRestjson1_deserializeDocumentUpdateCaseActionDefinition(v **types.Update if err := awsRestjson1_deserializeDocumentFieldValues(&sv.Fields, value); err != nil { return err } + default: _, _ = key, value @@ -56982,6 +58143,7 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada if err := awsRestjson1_deserializeDocumentUrlMetadataSignedHeaders(&sv.HeadersToInclude, value); err != nil { return err } + case "Url": if value != nil { jtv, ok := value.(string) @@ -56990,6 +58152,7 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada } sv.Url = ptr.String(jtv) } + case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -56998,6 +58161,7 @@ func awsRestjson1_deserializeDocumentUploadUrlMetadata(v **types.UploadUrlMetada } sv.UrlExpiry = ptr.String(jtv) } + default: _, _ = key, value @@ -57073,6 +58237,7 @@ func awsRestjson1_deserializeDocumentUrlReference(v **types.UrlReference, value } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -57081,6 +58246,7 @@ func awsRestjson1_deserializeDocumentUrlReference(v **types.UrlReference, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -57120,6 +58286,7 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseArn = ptr.String(jtv) } + case "UseCaseId": if value != nil { jtv, ok := value.(string) @@ -57128,6 +58295,7 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseId = ptr.String(jtv) } + case "UseCaseType": if value != nil { jtv, ok := value.(string) @@ -57136,6 +58304,7 @@ func awsRestjson1_deserializeDocumentUseCase(v **types.UseCase, value interface{ } sv.UseCaseType = types.UseCaseType(jtv) } + default: _, _ = key, value @@ -57209,6 +58378,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "DirectoryUserId": if value != nil { jtv, ok := value.(string) @@ -57217,6 +58387,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DirectoryUserId = ptr.String(jtv) } + case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -57225,6 +58396,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.HierarchyGroupId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -57233,10 +58405,12 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } + case "IdentityInfo": if err := awsRestjson1_deserializeDocumentUserIdentityInfo(&sv.IdentityInfo, value); err != nil { return err } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -57245,6 +58419,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -57260,10 +58435,12 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "PhoneConfig": if err := awsRestjson1_deserializeDocumentUserPhoneConfig(&sv.PhoneConfig, value); err != nil { return err } + case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -57272,14 +58449,17 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RoutingProfileId = ptr.String(jtv) } + case "SecurityProfileIds": if err := awsRestjson1_deserializeDocumentSecurityProfileIds(&sv.SecurityProfileIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -57288,6 +58468,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -57323,22 +58504,27 @@ func awsRestjson1_deserializeDocumentUserData(v **types.UserData, value interfac if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.ActiveSlotsByChannel, value); err != nil { return err } + case "AvailableSlotsByChannel": if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.AvailableSlotsByChannel, value); err != nil { return err } + case "Contacts": if err := awsRestjson1_deserializeDocumentAgentContactReferenceList(&sv.Contacts, value); err != nil { return err } + case "HierarchyPath": if err := awsRestjson1_deserializeDocumentHierarchyPathReference(&sv.HierarchyPath, value); err != nil { return err } + case "MaxSlotsByChannel": if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.MaxSlotsByChannel, value); err != nil { return err } + case "NextStatus": if value != nil { jtv, ok := value.(string) @@ -57347,18 +58533,22 @@ func awsRestjson1_deserializeDocumentUserData(v **types.UserData, value interfac } sv.NextStatus = ptr.String(jtv) } + case "RoutingProfile": if err := awsRestjson1_deserializeDocumentRoutingProfileReference(&sv.RoutingProfile, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentAgentStatusReference(&sv.Status, value); err != nil { return err } + case "User": if err := awsRestjson1_deserializeDocumentUserReference(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -57466,6 +58656,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.Email = ptr.String(jtv) } + case "FirstName": if value != nil { jtv, ok := value.(string) @@ -57474,6 +58665,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.FirstName = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -57482,6 +58674,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.LastName = ptr.String(jtv) } + case "Mobile": if value != nil { jtv, ok := value.(string) @@ -57490,6 +58683,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.Mobile = ptr.String(jtv) } + case "SecondaryEmail": if value != nil { jtv, ok := value.(string) @@ -57498,6 +58692,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo } sv.SecondaryEmail = ptr.String(jtv) } + default: _, _ = key, value @@ -57537,6 +58732,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfoLite(v **types.UserIdentity } sv.FirstName = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -57545,6 +58741,7 @@ func awsRestjson1_deserializeDocumentUserIdentityInfoLite(v **types.UserIdentity } sv.LastName = ptr.String(jtv) } + default: _, _ = key, value @@ -57620,6 +58817,7 @@ func awsRestjson1_deserializeDocumentUserNotFoundException(v **types.UserNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -57663,6 +58861,7 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.AfterContactWorkTimeLimit = int32(i64) } + case "AutoAccept": if value != nil { jtv, ok := value.(bool) @@ -57671,6 +58870,7 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.AutoAccept = jtv } + case "DeskPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -57679,6 +58879,7 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.DeskPhoneNumber = ptr.String(jtv) } + case "PhoneType": if value != nil { jtv, ok := value.(string) @@ -57687,6 +58888,7 @@ func awsRestjson1_deserializeDocumentUserPhoneConfig(v **types.UserPhoneConfig, } sv.PhoneType = types.PhoneType(jtv) } + default: _, _ = key, value @@ -57726,6 +58928,7 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } sv.AttributeName = ptr.String(jtv) } + case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -57734,6 +58937,7 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } sv.AttributeValue = ptr.String(jtv) } + case "Level": if value != nil { switch jtv := value.(type) { @@ -57767,6 +58971,7 @@ func awsRestjson1_deserializeDocumentUserProficiency(v **types.UserProficiency, } } + default: _, _ = key, value @@ -57840,6 +59045,7 @@ func awsRestjson1_deserializeDocumentUserQuickConnectConfig(v **types.UserQuickC } sv.ContactFlowId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -57848,6 +59054,7 @@ func awsRestjson1_deserializeDocumentUserQuickConnectConfig(v **types.UserQuickC } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -57887,6 +59094,7 @@ func awsRestjson1_deserializeDocumentUserReference(v **types.UserReference, valu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -57895,6 +59103,7 @@ func awsRestjson1_deserializeDocumentUserReference(v **types.UserReference, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -57934,6 +59143,7 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Arn = ptr.String(jtv) } + case "DirectoryUserId": if value != nil { jtv, ok := value.(string) @@ -57942,6 +59152,7 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.DirectoryUserId = ptr.String(jtv) } + case "HierarchyGroupId": if value != nil { jtv, ok := value.(string) @@ -57950,6 +59161,7 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.HierarchyGroupId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -57958,14 +59170,17 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Id = ptr.String(jtv) } + case "IdentityInfo": if err := awsRestjson1_deserializeDocumentUserIdentityInfoLite(&sv.IdentityInfo, value); err != nil { return err } + case "PhoneConfig": if err := awsRestjson1_deserializeDocumentUserPhoneConfig(&sv.PhoneConfig, value); err != nil { return err } + case "RoutingProfileId": if value != nil { jtv, ok := value.(string) @@ -57974,14 +59189,17 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.RoutingProfileId = ptr.String(jtv) } + case "SecurityProfileIds": if err := awsRestjson1_deserializeDocumentSecurityProfileIds(&sv.SecurityProfileIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -57990,6 +59208,7 @@ func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSumma } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -58063,6 +59282,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58071,6 +59291,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Id = ptr.String(jtv) } + case "LastModifiedRegion": if value != nil { jtv, ok := value.(string) @@ -58079,6 +59300,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.LastModifiedRegion = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58094,6 +59316,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } } + case "Username": if value != nil { jtv, ok := value.(string) @@ -58102,6 +59325,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -58211,10 +59435,12 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "Content": if err := awsRestjson1_deserializeDocumentViewContent(&sv.Content, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -58230,6 +59456,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -58238,6 +59465,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58246,6 +59474,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Id = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58261,6 +59490,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58269,6 +59499,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -58277,10 +59508,12 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Status = types.ViewStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -58289,6 +59522,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Type = types.ViewType(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -58301,6 +59535,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Version = int32(i64) } + case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -58309,6 +59544,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.VersionDescription = ptr.String(jtv) } + case "ViewContentSha256": if value != nil { jtv, ok := value.(string) @@ -58317,6 +59553,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.ViewContentSha256 = ptr.String(jtv) } + default: _, _ = key, value @@ -58388,6 +59625,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in if err := awsRestjson1_deserializeDocumentViewActions(&sv.Actions, value); err != nil { return err } + case "InputSchema": if value != nil { jtv, ok := value.(string) @@ -58396,6 +59634,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.InputSchema = ptr.String(jtv) } + case "Template": if value != nil { jtv, ok := value.(string) @@ -58404,6 +59643,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.Template = ptr.String(jtv) } + default: _, _ = key, value @@ -58477,6 +59717,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -58485,6 +59726,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58493,6 +59735,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58501,6 +59744,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -58509,6 +59753,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Status = types.ViewStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -58517,6 +59762,7 @@ func awsRestjson1_deserializeDocumentViewSummary(v **types.ViewSummary, value in } sv.Type = types.ViewType(jtv) } + default: _, _ = key, value @@ -58556,6 +59802,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -58564,6 +59811,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58572,6 +59820,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58580,6 +59829,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -58588,6 +59838,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Type = types.ViewType(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -58600,6 +59851,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.Version = int32(i64) } + case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -58608,6 +59860,7 @@ func awsRestjson1_deserializeDocumentViewVersionSummary(v **types.ViewVersionSum } sv.VersionDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -58681,6 +59934,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Arn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -58689,6 +59943,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Content = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -58697,6 +59952,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.FailureReason = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58705,6 +59961,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Id = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -58713,6 +59970,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58728,6 +59986,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58736,6 +59995,7 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -58744,10 +60004,12 @@ func awsRestjson1_deserializeDocumentVocabulary(v **types.Vocabulary, value inte } sv.State = types.VocabularyState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -58787,6 +60049,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Arn = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -58795,6 +60058,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.FailureReason = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58803,6 +60067,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Id = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -58811,6 +60076,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.LanguageCode = types.VocabularyLanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58826,6 +60092,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58834,6 +60101,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -58842,6 +60110,7 @@ func awsRestjson1_deserializeDocumentVocabularySummary(v **types.VocabularySumma } sv.State = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -58915,6 +60184,7 @@ func awsRestjson1_deserializeDocumentWisdomInfo(v **types.WisdomInfo, value inte } sv.SessionArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/connectcampaigns/deserializers.go b/service/connectcampaigns/deserializers.go index bf13066a841..52c6a58fd70 100644 --- a/service/connectcampaigns/deserializers.go +++ b/service/connectcampaigns/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -203,10 +204,12 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -685,6 +688,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCampaignOutput(v **DescribeCampai if err := awsRestjson1_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } + default: _, _ = key, value @@ -852,6 +856,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignStateOutput(v **GetCampaignSta } sv.State = types.CampaignState(jtv) } + default: _, _ = key, value @@ -1012,10 +1017,12 @@ func awsRestjson1_deserializeOpDocumentGetCampaignStateBatchOutput(v **GetCampai if err := awsRestjson1_deserializeDocumentFailedCampaignStateResponseList(&sv.FailedRequests, value); err != nil { return err } + case "successfulRequests": if err := awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponseList(&sv.SuccessfulRequests, value); err != nil { return err } + default: _, _ = key, value @@ -1176,6 +1183,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectInstanceConfigOutput(v **GetCon if err := awsRestjson1_deserializeDocumentInstanceConfig(&sv.ConnectInstanceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1336,6 +1344,7 @@ func awsRestjson1_deserializeOpDocumentGetInstanceOnboardingJobStatusOutput(v ** if err := awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(&sv.ConnectInstanceOnboardingJobStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1493,6 +1502,7 @@ func awsRestjson1_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsRestjson1_deserializeDocumentCampaignSummaryList(&sv.CampaignSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1501,6 +1511,7 @@ func awsRestjson1_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1664,6 +1675,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1945,10 +1957,12 @@ func awsRestjson1_deserializeOpDocumentPutDialRequestBatchOutput(v **PutDialRequ if err := awsRestjson1_deserializeDocumentFailedRequestList(&sv.FailedRequests, value); err != nil { return err } + case "successfulRequests": if err := awsRestjson1_deserializeDocumentSuccessfulRequestList(&sv.SuccessfulRequests, value); err != nil { return err } + default: _, _ = key, value @@ -2339,6 +2353,7 @@ func awsRestjson1_deserializeOpDocumentStartInstanceOnboardingJobOutput(v **Star if err := awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(&sv.ConnectInstanceOnboardingJobStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3491,6 +3506,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -3499,6 +3515,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -3563,6 +3580,7 @@ func awsRestjson1_deserializeDocumentAgentlessDialerConfig(v **types.AgentlessDi } } + default: _, _ = key, value @@ -3602,6 +3620,7 @@ func awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(v **types.Answ } sv.AwaitAnswerMachinePrompt = ptr.Bool(jtv) } + case "enableAnswerMachineDetection": if value != nil { jtv, ok := value.(bool) @@ -3610,6 +3629,7 @@ func awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(v **types.Answ } sv.EnableAnswerMachineDetection = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3649,6 +3669,7 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Arn = ptr.String(jtv) } + case "connectInstanceId": if value != nil { jtv, ok := value.(string) @@ -3657,10 +3678,12 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.ConnectInstanceId = ptr.String(jtv) } + case "dialerConfig": if err := awsRestjson1_deserializeDocumentDialerConfig(&sv.DialerConfig, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3669,6 +3692,7 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3677,14 +3701,17 @@ func awsRestjson1_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Name = ptr.String(jtv) } + case "outboundCallConfig": if err := awsRestjson1_deserializeDocumentOutboundCallConfig(&sv.OutboundCallConfig, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3724,6 +3751,7 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Arn = ptr.String(jtv) } + case "connectInstanceId": if value != nil { jtv, ok := value.(string) @@ -3732,6 +3760,7 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.ConnectInstanceId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3740,6 +3769,7 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3748,6 +3778,7 @@ func awsRestjson1_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3821,6 +3852,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -3829,6 +3861,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -3928,6 +3961,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Enabled = jtv } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -3936,6 +3970,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.EncryptionType = types.EncryptionType(jtv) } + case "keyArn": if value != nil { jtv, ok := value.(string) @@ -3944,6 +3979,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3983,6 +4019,7 @@ func awsRestjson1_deserializeDocumentFailedCampaignStateResponse(v **types.Faile } sv.CampaignId = ptr.String(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -3991,6 +4028,7 @@ func awsRestjson1_deserializeDocumentFailedCampaignStateResponse(v **types.Faile } sv.FailureCode = types.GetCampaignStateBatchFailureCode(jtv) } + default: _, _ = key, value @@ -4064,6 +4102,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.ClientToken = ptr.String(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4072,6 +4111,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.FailureCode = types.FailureCode(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4080,6 +4120,7 @@ func awsRestjson1_deserializeDocumentFailedRequest(v **types.FailedRequest, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4153,10 +4194,12 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.ConnectInstanceId = ptr.String(jtv) } + case "encryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + case "serviceLinkedRoleArn": if value != nil { jtv, ok := value.(string) @@ -4165,6 +4208,7 @@ func awsRestjson1_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.ServiceLinkedRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4204,6 +4248,7 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.ConnectInstanceId = ptr.String(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4212,6 +4257,7 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.FailureCode = types.InstanceOnboardingJobFailureCode(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4220,6 +4266,7 @@ func awsRestjson1_deserializeDocumentInstanceOnboardingJobStatus(v **types.Insta } sv.Status = types.InstanceOnboardingJobStatusCode(jtv) } + default: _, _ = key, value @@ -4259,6 +4306,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4267,6 +4315,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -4306,6 +4355,7 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4314,6 +4364,7 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.State = types.CampaignState(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4322,6 +4373,7 @@ func awsRestjson1_deserializeDocumentInvalidCampaignStateException(v **types.Inv } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -4361,6 +4413,7 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4369,6 +4422,7 @@ func awsRestjson1_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -4404,6 +4458,7 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo if err := awsRestjson1_deserializeDocumentAnswerMachineDetectionConfig(&sv.AnswerMachineDetectionConfig, value); err != nil { return err } + case "connectContactFlowId": if value != nil { jtv, ok := value.(string) @@ -4412,6 +4467,7 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectContactFlowId = ptr.String(jtv) } + case "connectQueueId": if value != nil { jtv, ok := value.(string) @@ -4420,6 +4476,7 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectQueueId = ptr.String(jtv) } + case "connectSourcePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -4428,6 +4485,7 @@ func awsRestjson1_deserializeDocumentOutboundCallConfig(v **types.OutboundCallCo } sv.ConnectSourcePhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -4492,6 +4550,7 @@ func awsRestjson1_deserializeDocumentPredictiveDialerConfig(v **types.Predictive } } + case "dialingCapacity": if value != nil { switch jtv := value.(type) { @@ -4525,6 +4584,7 @@ func awsRestjson1_deserializeDocumentPredictiveDialerConfig(v **types.Predictive } } + default: _, _ = key, value @@ -4589,6 +4649,7 @@ func awsRestjson1_deserializeDocumentProgressiveDialerConfig(v **types.Progressi } } + case "dialingCapacity": if value != nil { switch jtv := value.(type) { @@ -4622,6 +4683,7 @@ func awsRestjson1_deserializeDocumentProgressiveDialerConfig(v **types.Progressi } } + default: _, _ = key, value @@ -4661,6 +4723,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4669,6 +4732,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -4708,6 +4772,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4716,6 +4781,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -4755,6 +4821,7 @@ func awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponse(v **types.S } sv.CampaignId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4763,6 +4830,7 @@ func awsRestjson1_deserializeDocumentSuccessfulCampaignStateResponse(v **types.S } sv.State = types.CampaignState(jtv) } + default: _, _ = key, value @@ -4836,6 +4904,7 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.ClientToken = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4844,6 +4913,7 @@ func awsRestjson1_deserializeDocumentSuccessfulRequest(v **types.SuccessfulReque } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4953,6 +5023,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -4961,6 +5032,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -5000,6 +5072,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "xAmzErrorType": if value != nil { jtv, ok := value.(string) @@ -5008,6 +5081,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.XAmzErrorType = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/connectcases/deserializers.go b/service/connectcases/deserializers.go index 96a50bc2e28..4a4a40545ee 100644 --- a/service/connectcases/deserializers.go +++ b/service/connectcases/deserializers.go @@ -186,10 +186,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetFieldOutput(v **BatchGetFieldOutp if err := awsRestjson1_deserializeDocumentBatchGetFieldErrorList(&sv.Errors, value); err != nil { return err } + case "fields": if err := awsRestjson1_deserializeDocumentBatchGetFieldList(&sv.Fields, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +358,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutFieldOptionsOutput(v **BatchPutFi if err := awsRestjson1_deserializeDocumentFieldOptionErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -526,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseArn = ptr.String(jtv) } + case "caseId": if value != nil { jtv, ok := value.(string) @@ -534,6 +538,7 @@ func awsRestjson1_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -704,6 +709,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainArn = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -712,6 +718,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainId = ptr.String(jtv) } + case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -720,6 +727,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainStatus = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -893,6 +901,7 @@ func awsRestjson1_deserializeOpDocumentCreateFieldOutput(v **CreateFieldOutput, } sv.FieldArn = ptr.String(jtv) } + case "fieldId": if value != nil { jtv, ok := value.(string) @@ -901,6 +910,7 @@ func awsRestjson1_deserializeOpDocumentCreateFieldOutput(v **CreateFieldOutput, } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -1074,6 +1084,7 @@ func awsRestjson1_deserializeOpDocumentCreateLayoutOutput(v **CreateLayoutOutput } sv.LayoutArn = ptr.String(jtv) } + case "layoutId": if value != nil { jtv, ok := value.(string) @@ -1082,6 +1093,7 @@ func awsRestjson1_deserializeOpDocumentCreateLayoutOutput(v **CreateLayoutOutput } sv.LayoutId = ptr.String(jtv) } + default: _, _ = key, value @@ -1252,6 +1264,7 @@ func awsRestjson1_deserializeOpDocumentCreateRelatedItemOutput(v **CreateRelated } sv.RelatedItemArn = ptr.String(jtv) } + case "relatedItemId": if value != nil { jtv, ok := value.(string) @@ -1260,6 +1273,7 @@ func awsRestjson1_deserializeOpDocumentCreateRelatedItemOutput(v **CreateRelated } sv.RelatedItemId = ptr.String(jtv) } + default: _, _ = key, value @@ -1433,6 +1447,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -1441,6 +1456,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -2019,6 +2035,7 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in if err := awsRestjson1_deserializeDocumentFieldValueList(&sv.Fields, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2027,10 +2044,12 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -2039,6 +2058,7 @@ func awsRestjson1_deserializeOpDocumentGetCaseOutput(v **GetCaseOutput, value in } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -2202,6 +2222,7 @@ func awsRestjson1_deserializeOpDocumentGetCaseAuditEventsOutput(v **GetCaseAudit if err := awsRestjson1_deserializeDocumentAuditEventsList(&sv.AuditEvents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2210,6 +2231,7 @@ func awsRestjson1_deserializeOpDocumentGetCaseAuditEventsOutput(v **GetCaseAudit } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2373,6 +2395,7 @@ func awsRestjson1_deserializeOpDocumentGetCaseEventConfigurationOutput(v **GetCa if err := awsRestjson1_deserializeDocumentEventBridgeConfiguration(&sv.EventBridge, value); err != nil { return err } + default: _, _ = key, value @@ -2544,6 +2567,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.CreatedTime = ptr.Time(t) } + case "domainArn": if value != nil { jtv, ok := value.(string) @@ -2552,6 +2576,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainArn = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -2560,6 +2585,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainId = ptr.String(jtv) } + case "domainStatus": if value != nil { jtv, ok := value.(string) @@ -2568,6 +2594,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainStatus = types.DomainStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2576,10 +2603,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2743,6 +2772,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu if err := awsRestjson1_deserializeDocumentLayoutContent(&sv.Content, value); err != nil { return err } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2785,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.CreatedTime = ptr.Time(t) } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -2763,6 +2794,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.Deleted = jtv } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -2775,6 +2807,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LastModifiedTime = ptr.Time(t) } + case "layoutArn": if value != nil { jtv, ok := value.(string) @@ -2783,6 +2816,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LayoutArn = ptr.String(jtv) } + case "layoutId": if value != nil { jtv, ok := value.(string) @@ -2791,6 +2825,7 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.LayoutId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2799,10 +2834,12 @@ func awsRestjson1_deserializeOpDocumentGetLayoutOutput(v **GetLayoutOutput, valu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2974,6 +3011,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.CreatedTime = ptr.Time(t) } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -2982,6 +3020,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Deleted = jtv } + case "description": if value != nil { jtv, ok := value.(string) @@ -2990,6 +3029,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Description = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -3002,10 +3042,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.LastModifiedTime = ptr.Time(t) } + case "layoutConfiguration": if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.LayoutConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3014,10 +3056,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Name = ptr.String(jtv) } + case "requiredFields": if err := awsRestjson1_deserializeDocumentRequiredFieldList(&sv.RequiredFields, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3026,10 +3070,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Status = types.TemplateStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -3038,6 +3084,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateArn = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -3046,6 +3093,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -3209,6 +3257,7 @@ func awsRestjson1_deserializeOpDocumentListCasesForContactOutput(v **ListCasesFo if err := awsRestjson1_deserializeDocumentCaseSummaryList(&sv.Cases, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3217,6 +3266,7 @@ func awsRestjson1_deserializeOpDocumentListCasesForContactOutput(v **ListCasesFo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3377,6 +3427,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3385,6 +3436,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3552,10 +3604,12 @@ func awsRestjson1_deserializeOpDocumentListFieldOptionsOutput(v **ListFieldOptio } sv.NextToken = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentFieldOptionsList(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -3719,6 +3773,7 @@ func awsRestjson1_deserializeOpDocumentListFieldsOutput(v **ListFieldsOutput, va if err := awsRestjson1_deserializeDocumentFieldSummaryList(&sv.Fields, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3727,6 +3782,7 @@ func awsRestjson1_deserializeOpDocumentListFieldsOutput(v **ListFieldsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3890,6 +3946,7 @@ func awsRestjson1_deserializeOpDocumentListLayoutsOutput(v **ListLayoutsOutput, if err := awsRestjson1_deserializeDocumentLayoutSummaryList(&sv.Layouts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3898,6 +3955,7 @@ func awsRestjson1_deserializeOpDocumentListLayoutsOutput(v **ListLayoutsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4061,6 +4119,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4228,10 +4287,12 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } + case "templates": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -4495,6 +4556,7 @@ func awsRestjson1_deserializeOpDocumentSearchCasesOutput(v **SearchCasesOutput, if err := awsRestjson1_deserializeDocumentSearchCasesResponseItemList(&sv.Cases, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4503,6 +4565,7 @@ func awsRestjson1_deserializeOpDocumentSearchCasesOutput(v **SearchCasesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4670,10 +4733,12 @@ func awsRestjson1_deserializeOpDocumentSearchRelatedItemsOutput(v **SearchRelate } sv.NextToken = ptr.String(jtv) } + case "relatedItems": if err := awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItemList(&sv.RelatedItems, value); err != nil { return err } + default: _, _ = key, value @@ -5609,6 +5674,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5648,14 +5714,17 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.EventId = ptr.String(jtv) } + case "fields": if err := awsRestjson1_deserializeDocumentAuditEventFieldList(&sv.Fields, value); err != nil { return err } + case "performedBy": if err := awsRestjson1_deserializeDocumentAuditEventPerformedBy(&sv.PerformedBy, value); err != nil { return err } + case "performedTime": if value != nil { jtv, ok := value.(string) @@ -5668,6 +5737,7 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.PerformedTime = ptr.Time(t) } + case "relatedItemType": if value != nil { jtv, ok := value.(string) @@ -5676,6 +5746,7 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.RelatedItemType = types.RelatedItemType(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5684,6 +5755,7 @@ func awsRestjson1_deserializeDocumentAuditEvent(v **types.AuditEvent, value inte } sv.Type = types.AuditEventType(jtv) } + default: _, _ = key, value @@ -5723,14 +5795,17 @@ func awsRestjson1_deserializeDocumentAuditEventField(v **types.AuditEventField, } sv.EventFieldId = ptr.String(jtv) } + case "newValue": if err := awsRestjson1_deserializeDocumentAuditEventFieldValueUnion(&sv.NewValue, value); err != nil { return err } + case "oldValue": if err := awsRestjson1_deserializeDocumentAuditEventFieldValueUnion(&sv.OldValue, value); err != nil { return err } + default: _, _ = key, value @@ -5915,10 +5990,12 @@ func awsRestjson1_deserializeDocumentAuditEventPerformedBy(v **types.AuditEventP } sv.IamPrincipalArn = ptr.String(jtv) } + case "user": if err := awsRestjson1_deserializeDocumentUserUnion(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -5986,10 +6063,12 @@ func awsRestjson1_deserializeDocumentBasicLayout(v **types.BasicLayout, value in if err := awsRestjson1_deserializeDocumentLayoutSections(&sv.MoreInfo, value); err != nil { return err } + case "topPanel": if err := awsRestjson1_deserializeDocumentLayoutSections(&sv.TopPanel, value); err != nil { return err } + default: _, _ = key, value @@ -6093,6 +6172,7 @@ func awsRestjson1_deserializeDocumentCaseEventIncludedData(v **types.CaseEventIn if err := awsRestjson1_deserializeDocumentFieldIdentifierList(&sv.Fields, value); err != nil { return err } + default: _, _ = key, value @@ -6132,6 +6212,7 @@ func awsRestjson1_deserializeDocumentCaseSummary(v **types.CaseSummary, value in } sv.CaseId = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -6140,6 +6221,7 @@ func awsRestjson1_deserializeDocumentCaseSummary(v **types.CaseSummary, value in } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -6213,6 +6295,7 @@ func awsRestjson1_deserializeDocumentCommentContent(v **types.CommentContent, va } sv.Body = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -6221,6 +6304,7 @@ func awsRestjson1_deserializeDocumentCommentContent(v **types.CommentContent, va } sv.ContentType = types.CommentBodyTextType(jtv) } + default: _, _ = key, value @@ -6260,6 +6344,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6299,6 +6384,7 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.Channel = ptr.String(jtv) } + case "connectedToSystemTime": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6397,7 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.ConnectedToSystemTime = ptr.Time(t) } + case "contactArn": if value != nil { jtv, ok := value.(string) @@ -6319,6 +6406,7 @@ func awsRestjson1_deserializeDocumentContactContent(v **types.ContactContent, va } sv.ContactArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6358,6 +6446,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainArn = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -6366,6 +6455,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6374,6 +6464,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6478,10 +6569,12 @@ func awsRestjson1_deserializeDocumentEventBridgeConfiguration(v **types.EventBri } sv.Enabled = ptr.Bool(jtv) } + case "includedData": if err := awsRestjson1_deserializeDocumentEventIncludedData(&sv.IncludedData, value); err != nil { return err } + default: _, _ = key, value @@ -6517,10 +6610,12 @@ func awsRestjson1_deserializeDocumentEventIncludedData(v **types.EventIncludedDa if err := awsRestjson1_deserializeDocumentCaseEventIncludedData(&sv.CaseData, value); err != nil { return err } + case "relatedItemData": if err := awsRestjson1_deserializeDocumentRelatedItemEventIncludedData(&sv.RelatedItemData, value); err != nil { return err } + default: _, _ = key, value @@ -6560,6 +6655,7 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.ErrorCode = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6568,6 +6664,7 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.Id = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6576,6 +6673,7 @@ func awsRestjson1_deserializeDocumentFieldError(v **types.FieldError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6611,6 +6709,7 @@ func awsRestjson1_deserializeDocumentFieldGroup(v **types.FieldGroup, value inte if err := awsRestjson1_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6619,6 +6718,7 @@ func awsRestjson1_deserializeDocumentFieldGroup(v **types.FieldGroup, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6658,6 +6758,7 @@ func awsRestjson1_deserializeDocumentFieldIdentifier(v **types.FieldIdentifier, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6731,6 +6832,7 @@ func awsRestjson1_deserializeDocumentFieldItem(v **types.FieldItem, value interf } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6804,6 +6906,7 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Active = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6812,6 +6915,7 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6820,6 +6924,7 @@ func awsRestjson1_deserializeDocumentFieldOption(v **types.FieldOption, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6859,6 +6964,7 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.ErrorCode = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6867,6 +6973,7 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.Message = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6875,6 +6982,7 @@ func awsRestjson1_deserializeDocumentFieldOptionError(v **types.FieldOptionError } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6982,6 +7090,7 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.FieldArn = ptr.String(jtv) } + case "fieldId": if value != nil { jtv, ok := value.(string) @@ -6990,6 +7099,7 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.FieldId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6998,6 +7108,7 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -7006,6 +7117,7 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Namespace = types.FieldNamespace(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7014,6 +7126,7 @@ func awsRestjson1_deserializeDocumentFieldSummary(v **types.FieldSummary, value } sv.Type = types.FieldType(jtv) } + default: _, _ = key, value @@ -7087,10 +7200,12 @@ func awsRestjson1_deserializeDocumentFieldValue(v **types.FieldValue, value inte } sv.Id = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentFieldValueUnion(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -7277,6 +7392,7 @@ func awsRestjson1_deserializeDocumentFileContent(v **types.FileContent, value in } sv.FileArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7320,6 +7436,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.CreatedTime = ptr.Time(t) } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -7328,6 +7445,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Deleted = jtv } + case "description": if value != nil { jtv, ok := value.(string) @@ -7336,6 +7454,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Description = ptr.String(jtv) } + case "fieldArn": if value != nil { jtv, ok := value.(string) @@ -7344,6 +7463,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.FieldArn = ptr.String(jtv) } + case "fieldId": if value != nil { jtv, ok := value.(string) @@ -7352,6 +7472,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.FieldId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -7364,6 +7485,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.LastModifiedTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7372,6 +7494,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -7380,10 +7503,12 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Namespace = types.FieldNamespace(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7392,6 +7517,7 @@ func awsRestjson1_deserializeDocumentGetFieldResponse(v **types.GetFieldResponse } sv.Type = types.FieldType(jtv) } + default: _, _ = key, value @@ -7431,6 +7557,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7443,6 +7570,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7482,6 +7610,7 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu } sv.DefaultLayout = ptr.String(jtv) } + default: _, _ = key, value @@ -7557,6 +7686,7 @@ func awsRestjson1_deserializeDocumentLayoutSections(v **types.LayoutSections, va if err := awsRestjson1_deserializeDocumentSectionsList(&sv.Sections, value); err != nil { return err } + default: _, _ = key, value @@ -7596,6 +7726,7 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.LayoutArn = ptr.String(jtv) } + case "layoutId": if value != nil { jtv, ok := value.(string) @@ -7604,6 +7735,7 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.LayoutId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7612,6 +7744,7 @@ func awsRestjson1_deserializeDocumentLayoutSummary(v **types.LayoutSummary, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7745,6 +7878,7 @@ func awsRestjson1_deserializeDocumentRelatedItemEventIncludedData(v **types.Rela } sv.IncludeContent = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7784,6 +7918,7 @@ func awsRestjson1_deserializeDocumentRequiredField(v **types.RequiredField, valu } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -7857,6 +7992,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7865,6 +8001,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7873,6 +8010,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7912,14 +8050,17 @@ func awsRestjson1_deserializeDocumentSearchCasesResponseItem(v **types.SearchCas } sv.CaseId = ptr.String(jtv) } + case "fields": if err := awsRestjson1_deserializeDocumentFieldValueList(&sv.Fields, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -7928,6 +8069,7 @@ func awsRestjson1_deserializeDocumentSearchCasesResponseItem(v **types.SearchCas } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -8003,14 +8145,17 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.AssociationTime = ptr.Time(t) } + case "content": if err := awsRestjson1_deserializeDocumentRelatedItemContent(&sv.Content, value); err != nil { return err } + case "performedBy": if err := awsRestjson1_deserializeDocumentUserUnion(&sv.PerformedBy, value); err != nil { return err } + case "relatedItemId": if value != nil { jtv, ok := value.(string) @@ -8019,10 +8164,12 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.RelatedItemId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8031,6 +8178,7 @@ func awsRestjson1_deserializeDocumentSearchRelatedItemsResponseItem(v **types.Se } sv.Type = types.RelatedItemType(jtv) } + default: _, _ = key, value @@ -8174,6 +8322,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8249,6 +8398,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8257,6 +8407,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Status = types.TemplateStatus(jtv) } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -8265,6 +8416,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateArn = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -8273,6 +8425,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -8346,6 +8499,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8427,6 +8581,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/connectcontactlens/deserializers.go b/service/connectcontactlens/deserializers.go index cd39c33ab51..b08d07bf07f 100644 --- a/service/connectcontactlens/deserializers.go +++ b/service/connectcontactlens/deserializers.go @@ -187,10 +187,12 @@ func awsRestjson1_deserializeOpDocumentListRealtimeContactAnalysisSegmentsOutput } sv.NextToken = ptr.String(jtv) } + case "Segments": if err := awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegments(&sv.Segments, value); err != nil { return err } + default: _, _ = key, value @@ -410,6 +412,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -445,10 +448,12 @@ func awsRestjson1_deserializeDocumentCategories(v **types.Categories, value inte if err := awsRestjson1_deserializeDocumentMatchedCategories(&sv.MatchedCategories, value); err != nil { return err } + case "MatchedDetails": if err := awsRestjson1_deserializeDocumentMatchedDetails(&sv.MatchedDetails, value); err != nil { return err } + default: _, _ = key, value @@ -484,6 +489,7 @@ func awsRestjson1_deserializeDocumentCategoryDetails(v **types.CategoryDetails, if err := awsRestjson1_deserializeDocumentPointsOfInterest(&sv.PointsOfInterest, value); err != nil { return err } + default: _, _ = key, value @@ -527,6 +533,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.BeginOffsetChar = ptr.Int32(int32(i64)) } + case "EndOffsetChar": if value != nil { jtv, ok := value.(json.Number) @@ -539,6 +546,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.EndOffsetChar = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -578,6 +586,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -617,6 +626,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -652,6 +662,7 @@ func awsRestjson1_deserializeDocumentIssueDetected(v **types.IssueDetected, valu if err := awsRestjson1_deserializeDocumentCharacterOffsets(&sv.CharacterOffsets, value); err != nil { return err } + default: _, _ = key, value @@ -800,6 +811,7 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, } sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -812,6 +824,7 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, } sv.EndOffsetMillis = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -885,6 +898,7 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.Content = ptr.String(jtv) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -893,6 +907,7 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.FailureCode = types.PostContactSummaryFailureCode(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -901,6 +916,7 @@ func awsRestjson1_deserializeDocumentPostContactSummary(v **types.PostContactSum } sv.Status = types.PostContactSummaryStatus(jtv) } + default: _, _ = key, value @@ -936,14 +952,17 @@ func awsRestjson1_deserializeDocumentRealtimeContactAnalysisSegment(v **types.Re if err := awsRestjson1_deserializeDocumentCategories(&sv.Categories, value); err != nil { return err } + case "PostContactSummary": if err := awsRestjson1_deserializeDocumentPostContactSummary(&sv.PostContactSummary, value); err != nil { return err } + case "Transcript": if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } + default: _, _ = key, value @@ -1017,6 +1036,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1056,6 +1076,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1099,6 +1120,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -1107,6 +1129,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Content = ptr.String(jtv) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1119,6 +1142,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.EndOffsetMillis = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1127,10 +1151,12 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Id = ptr.String(jtv) } + case "IssuesDetected": if err := awsRestjson1_deserializeDocumentIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -1139,6 +1165,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -1147,6 +1174,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.ParticipantRole = ptr.String(jtv) } + case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -1155,6 +1183,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.Sentiment = types.SentimentValue(jtv) } + default: _, _ = key, value diff --git a/service/connectparticipant/deserializers.go b/service/connectparticipant/deserializers.go index b2ea493154e..87e1927ce4f 100644 --- a/service/connectparticipant/deserializers.go +++ b/service/connectparticipant/deserializers.go @@ -283,10 +283,12 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantConnectionOutput(v **Cre if err := awsRestjson1_deserializeDocumentConnectionCredentials(&sv.ConnectionCredentials, value); err != nil { return err } + case "Websocket": if err := awsRestjson1_deserializeDocumentWebsocket(&sv.Websocket, value); err != nil { return err } + default: _, _ = key, value @@ -450,6 +452,7 @@ func awsRestjson1_deserializeOpDocumentDescribeViewOutput(v **DescribeViewOutput if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -711,6 +714,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachmentOutput(v **GetAttachmentOutp } sv.Url = ptr.String(jtv) } + case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -719,6 +723,7 @@ func awsRestjson1_deserializeOpDocumentGetAttachmentOutput(v **GetAttachmentOutp } sv.UrlExpiry = ptr.String(jtv) } + default: _, _ = key, value @@ -883,6 +888,7 @@ func awsRestjson1_deserializeOpDocumentGetTranscriptOutput(v **GetTranscriptOutp } sv.InitialContactId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -891,10 +897,12 @@ func awsRestjson1_deserializeOpDocumentGetTranscriptOutput(v **GetTranscriptOutp } sv.NextToken = ptr.String(jtv) } + case "Transcript": if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } + default: _, _ = key, value @@ -1062,6 +1070,7 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.AbsoluteTime = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1070,6 +1079,7 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1234,6 +1244,7 @@ func awsRestjson1_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.AbsoluteTime = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1242,6 +1253,7 @@ func awsRestjson1_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1409,10 +1421,12 @@ func awsRestjson1_deserializeOpDocumentStartAttachmentUploadOutput(v **StartAtta } sv.AttachmentId = ptr.String(jtv) } + case "UploadMetadata": if err := awsRestjson1_deserializeDocumentUploadMetadata(&sv.UploadMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -1704,6 +1718,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1743,6 +1758,7 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.AttachmentId = ptr.String(jtv) } + case "AttachmentName": if value != nil { jtv, ok := value.(string) @@ -1751,6 +1767,7 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.AttachmentName = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -1759,6 +1776,7 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.ContentType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1767,6 +1785,7 @@ func awsRestjson1_deserializeDocumentAttachmentItem(v **types.AttachmentItem, va } sv.Status = types.ArtifactStatus(jtv) } + default: _, _ = key, value @@ -1840,6 +1859,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1879,6 +1899,7 @@ func awsRestjson1_deserializeDocumentConnectionCredentials(v **types.ConnectionC } sv.ConnectionToken = ptr.String(jtv) } + case "Expiry": if value != nil { jtv, ok := value.(string) @@ -1887,6 +1908,7 @@ func awsRestjson1_deserializeDocumentConnectionCredentials(v **types.ConnectionC } sv.Expiry = ptr.String(jtv) } + default: _, _ = key, value @@ -1926,6 +1948,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1965,10 +1988,12 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.AbsoluteTime = ptr.String(jtv) } + case "Attachments": if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "ContactId": if value != nil { jtv, ok := value.(string) @@ -1977,6 +2002,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContactId = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -1985,6 +2011,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -1993,6 +2020,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentType = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -2001,6 +2029,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.DisplayName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2009,10 +2038,12 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Id = ptr.String(jtv) } + case "MessageMetadata": if err := awsRestjson1_deserializeDocumentMessageMetadata(&sv.MessageMetadata, value); err != nil { return err } + case "ParticipantId": if value != nil { jtv, ok := value.(string) @@ -2021,6 +2052,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ParticipantId = ptr.String(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -2029,6 +2061,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "RelatedContactId": if value != nil { jtv, ok := value.(string) @@ -2037,6 +2070,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.RelatedContactId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2045,6 +2079,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ChatItemType(jtv) } + default: _, _ = key, value @@ -2084,10 +2119,12 @@ func awsRestjson1_deserializeDocumentMessageMetadata(v **types.MessageMetadata, } sv.MessageId = ptr.String(jtv) } + case "Receipts": if err := awsRestjson1_deserializeDocumentReceipts(&sv.Receipts, value); err != nil { return err } + default: _, _ = key, value @@ -2127,6 +2164,7 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.DeliveredTimestamp = ptr.String(jtv) } + case "ReadTimestamp": if value != nil { jtv, ok := value.(string) @@ -2135,6 +2173,7 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReadTimestamp = ptr.String(jtv) } + case "RecipientParticipantId": if value != nil { jtv, ok := value.(string) @@ -2143,6 +2182,7 @@ func awsRestjson1_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.RecipientParticipantId = ptr.String(jtv) } + default: _, _ = key, value @@ -2216,6 +2256,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2224,6 +2265,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2232,6 +2274,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -2271,6 +2314,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2310,6 +2354,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2379,6 +2424,7 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va if err := awsRestjson1_deserializeDocumentUploadMetadataSignedHeaders(&sv.HeadersToInclude, value); err != nil { return err } + case "Url": if value != nil { jtv, ok := value.(string) @@ -2387,6 +2433,7 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.Url = ptr.String(jtv) } + case "UrlExpiry": if value != nil { jtv, ok := value.(string) @@ -2395,6 +2442,7 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.UrlExpiry = ptr.String(jtv) } + default: _, _ = key, value @@ -2470,6 +2518,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2509,10 +2558,12 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "Content": if err := awsRestjson1_deserializeDocumentViewContent(&sv.Content, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2521,6 +2572,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2529,6 +2581,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -2541,6 +2594,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2612,6 +2666,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in if err := awsRestjson1_deserializeDocumentViewActions(&sv.Actions, value); err != nil { return err } + case "InputSchema": if value != nil { jtv, ok := value.(string) @@ -2620,6 +2675,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.InputSchema = ptr.String(jtv) } + case "Template": if value != nil { jtv, ok := value.(string) @@ -2628,6 +2684,7 @@ func awsRestjson1_deserializeDocumentViewContent(v **types.ViewContent, value in } sv.Template = ptr.String(jtv) } + default: _, _ = key, value @@ -2667,6 +2724,7 @@ func awsRestjson1_deserializeDocumentWebsocket(v **types.Websocket, value interf } sv.ConnectionExpiry = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -2675,6 +2733,7 @@ func awsRestjson1_deserializeDocumentWebsocket(v **types.Websocket, value interf } sv.Url = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/controlcatalog/deserializers.go b/service/controlcatalog/deserializers.go index e12ab329e33..a12007d91e8 100644 --- a/service/controlcatalog/deserializers.go +++ b/service/controlcatalog/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Arn = ptr.String(jtv) } + case "Behavior": if value != nil { jtv, ok := value.(string) @@ -195,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Behavior = types.ControlBehavior(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -203,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -211,10 +214,12 @@ func awsRestjson1_deserializeOpDocumentGetControlOutput(v **GetControlOutput, va } sv.Name = ptr.String(jtv) } + case "RegionConfiguration": if err := awsRestjson1_deserializeDocumentRegionConfiguration(&sv.RegionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -375,6 +380,7 @@ func awsRestjson1_deserializeOpDocumentListCommonControlsOutput(v **ListCommonCo if err := awsRestjson1_deserializeDocumentCommonControlSummaryList(&sv.CommonControls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -383,6 +389,7 @@ func awsRestjson1_deserializeOpDocumentListCommonControlsOutput(v **ListCommonCo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -543,6 +550,7 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput if err := awsRestjson1_deserializeDocumentControls(&sv.Controls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -551,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentListControlsOutput(v **ListControlsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -711,6 +720,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -719,6 +729,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -883,10 +894,12 @@ func awsRestjson1_deserializeOpDocumentListObjectivesOutput(v **ListObjectivesOu } sv.NextToken = ptr.String(jtv) } + case "Objectives": if err := awsRestjson1_deserializeDocumentObjectiveSummaryList(&sv.Objectives, value); err != nil { return err } + default: _, _ = key, value @@ -1106,6 +1119,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1145,6 +1159,7 @@ func awsRestjson1_deserializeDocumentAssociatedDomainSummary(v **types.Associate } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1153,6 +1168,7 @@ func awsRestjson1_deserializeDocumentAssociatedDomainSummary(v **types.Associate } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1192,6 +1208,7 @@ func awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(v **types.Associ } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1200,6 +1217,7 @@ func awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(v **types.Associ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1239,6 +1257,7 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Arn = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1254,6 +1273,7 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1262,10 +1282,12 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Description = ptr.String(jtv) } + case "Domain": if err := awsRestjson1_deserializeDocumentAssociatedDomainSummary(&sv.Domain, value); err != nil { return err } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1281,6 +1303,7 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1289,10 +1312,12 @@ func awsRestjson1_deserializeDocumentCommonControlSummary(v **types.CommonContro } sv.Name = ptr.String(jtv) } + case "Objective": if err := awsRestjson1_deserializeDocumentAssociatedObjectiveSummary(&sv.Objective, value); err != nil { return err } + default: _, _ = key, value @@ -1400,6 +1425,7 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1408,6 +1434,7 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1416,6 +1443,7 @@ func awsRestjson1_deserializeDocumentControlSummary(v **types.ControlSummary, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1491,6 +1519,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1506,6 +1535,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1514,6 +1544,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1529,6 +1560,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1537,6 +1569,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1610,6 +1643,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1649,6 +1683,7 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Arn = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1664,6 +1699,7 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1672,10 +1708,12 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Description = ptr.String(jtv) } + case "Domain": if err := awsRestjson1_deserializeDocumentAssociatedDomainSummary(&sv.Domain, value); err != nil { return err } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1691,6 +1729,7 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1699,6 +1738,7 @@ func awsRestjson1_deserializeDocumentObjectiveSummary(v **types.ObjectiveSummary } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1768,6 +1808,7 @@ func awsRestjson1_deserializeDocumentRegionConfiguration(v **types.RegionConfigu if err := awsRestjson1_deserializeDocumentDeployableRegions(&sv.DeployableRegions, value); err != nil { return err } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -1776,6 +1817,7 @@ func awsRestjson1_deserializeDocumentRegionConfiguration(v **types.RegionConfigu } sv.Scope = types.ControlScope(jtv) } + default: _, _ = key, value @@ -1815,6 +1857,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1854,6 +1897,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1893,6 +1937,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/controltower/deserializers.go b/service/controltower/deserializers.go index 23c0a74f873..2616a888f05 100644 --- a/service/controltower/deserializers.go +++ b/service/controltower/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateLandingZoneOutput(v **CreateLanding } sv.Arn = ptr.String(jtv) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -198,6 +199,7 @@ func awsRestjson1_deserializeOpDocumentCreateLandingZoneOutput(v **CreateLanding } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -368,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentDeleteLandingZoneOutput(v **DeleteLanding } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -541,6 +544,7 @@ func awsRestjson1_deserializeOpDocumentDisableBaselineOutput(v **DisableBaseline } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -714,6 +718,7 @@ func awsRestjson1_deserializeOpDocumentDisableControlOutput(v **DisableControlOu } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -887,6 +892,7 @@ func awsRestjson1_deserializeOpDocumentEnableBaselineOutput(v **EnableBaselineOu } sv.Arn = ptr.String(jtv) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -895,6 +901,7 @@ func awsRestjson1_deserializeOpDocumentEnableBaselineOutput(v **EnableBaselineOu } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -1068,6 +1075,7 @@ func awsRestjson1_deserializeOpDocumentEnableControlOutput(v **EnableControlOutp } sv.Arn = ptr.String(jtv) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -1076,6 +1084,7 @@ func awsRestjson1_deserializeOpDocumentEnableControlOutput(v **EnableControlOutp } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -1243,6 +1252,7 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1251,6 +1261,7 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1259,6 +1270,7 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOutput(v **GetBaselineOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1422,6 +1434,7 @@ func awsRestjson1_deserializeOpDocumentGetBaselineOperationOutput(v **GetBaselin if err := awsRestjson1_deserializeDocumentBaselineOperation(&sv.BaselineOperation, value); err != nil { return err } + default: _, _ = key, value @@ -1585,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentGetControlOperationOutput(v **GetControlO if err := awsRestjson1_deserializeDocumentControlOperation(&sv.ControlOperation, value); err != nil { return err } + default: _, _ = key, value @@ -1748,6 +1762,7 @@ func awsRestjson1_deserializeOpDocumentGetEnabledBaselineOutput(v **GetEnabledBa if err := awsRestjson1_deserializeDocumentEnabledBaselineDetails(&sv.EnabledBaselineDetails, value); err != nil { return err } + default: _, _ = key, value @@ -1911,6 +1926,7 @@ func awsRestjson1_deserializeOpDocumentGetEnabledControlOutput(v **GetEnabledCon if err := awsRestjson1_deserializeDocumentEnabledControlDetails(&sv.EnabledControlDetails, value); err != nil { return err } + default: _, _ = key, value @@ -2074,6 +2090,7 @@ func awsRestjson1_deserializeOpDocumentGetLandingZoneOutput(v **GetLandingZoneOu if err := awsRestjson1_deserializeDocumentLandingZoneDetail(&sv.LandingZone, value); err != nil { return err } + default: _, _ = key, value @@ -2237,6 +2254,7 @@ func awsRestjson1_deserializeOpDocumentGetLandingZoneOperationOutput(v **GetLand if err := awsRestjson1_deserializeDocumentLandingZoneOperationDetail(&sv.OperationDetails, value); err != nil { return err } + default: _, _ = key, value @@ -2397,6 +2415,7 @@ func awsRestjson1_deserializeOpDocumentListBaselinesOutput(v **ListBaselinesOutp if err := awsRestjson1_deserializeDocumentBaselines(&sv.Baselines, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2405,6 +2424,7 @@ func awsRestjson1_deserializeOpDocumentListBaselinesOutput(v **ListBaselinesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2565,6 +2585,7 @@ func awsRestjson1_deserializeOpDocumentListControlOperationsOutput(v **ListContr if err := awsRestjson1_deserializeDocumentControlOperations(&sv.ControlOperations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2573,6 +2594,7 @@ func awsRestjson1_deserializeOpDocumentListControlOperationsOutput(v **ListContr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2733,6 +2755,7 @@ func awsRestjson1_deserializeOpDocumentListEnabledBaselinesOutput(v **ListEnable if err := awsRestjson1_deserializeDocumentEnabledBaselines(&sv.EnabledBaselines, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2741,6 +2764,7 @@ func awsRestjson1_deserializeOpDocumentListEnabledBaselinesOutput(v **ListEnable } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2904,6 +2928,7 @@ func awsRestjson1_deserializeOpDocumentListEnabledControlsOutput(v **ListEnabled if err := awsRestjson1_deserializeDocumentEnabledControls(&sv.EnabledControls, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2912,6 +2937,7 @@ func awsRestjson1_deserializeOpDocumentListEnabledControlsOutput(v **ListEnabled } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3072,6 +3098,7 @@ func awsRestjson1_deserializeOpDocumentListLandingZoneOperationsOutput(v **ListL if err := awsRestjson1_deserializeDocumentLandingZoneOperations(&sv.LandingZoneOperations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3080,6 +3107,7 @@ func awsRestjson1_deserializeOpDocumentListLandingZoneOperationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3240,6 +3268,7 @@ func awsRestjson1_deserializeOpDocumentListLandingZonesOutput(v **ListLandingZon if err := awsRestjson1_deserializeDocumentLandingZoneSummaries(&sv.LandingZones, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3248,6 +3277,7 @@ func awsRestjson1_deserializeOpDocumentListLandingZonesOutput(v **ListLandingZon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3405,6 +3435,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3578,6 +3609,7 @@ func awsRestjson1_deserializeOpDocumentResetEnabledBaselineOutput(v **ResetEnabl } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -3748,6 +3780,7 @@ func awsRestjson1_deserializeOpDocumentResetLandingZoneOutput(v **ResetLandingZo } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -4109,6 +4142,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnabledBaselineOutput(v **UpdateEna } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -4282,6 +4316,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnabledControlOutput(v **UpdateEnab } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -4452,6 +4487,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLandingZoneOutput(v **UpdateLanding } sv.OperationIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -4763,6 +4799,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4806,6 +4843,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.EndTime = ptr.Time(t) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -4814,6 +4852,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.OperationIdentifier = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -4822,6 +4861,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.OperationType = types.BaselineOperationType(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -4834,6 +4874,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4842,6 +4883,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.Status = types.BaselineOperationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4850,6 +4892,7 @@ func awsRestjson1_deserializeDocumentBaselineOperation(v **types.BaselineOperati } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4923,6 +4966,7 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4931,6 +4975,7 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4939,6 +4984,7 @@ func awsRestjson1_deserializeDocumentBaselineSummary(v **types.BaselineSummary, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4978,6 +5024,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5017,6 +5064,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.ControlIdentifier = ptr.String(jtv) } + case "enabledControlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5025,6 +5073,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.EnabledControlIdentifier = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -5037,6 +5086,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.EndTime = ptr.Time(t) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -5045,6 +5095,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.OperationIdentifier = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -5053,6 +5104,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.OperationType = types.ControlOperationType(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -5065,6 +5117,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5073,6 +5126,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.Status = types.ControlOperationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5081,6 +5135,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.StatusMessage = ptr.String(jtv) } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5089,6 +5144,7 @@ func awsRestjson1_deserializeDocumentControlOperation(v **types.ControlOperation } sv.TargetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5162,6 +5218,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.ControlIdentifier = ptr.String(jtv) } + case "enabledControlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5170,6 +5227,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.EnabledControlIdentifier = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -5182,6 +5240,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.EndTime = ptr.Time(t) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -5190,6 +5249,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.OperationIdentifier = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -5198,6 +5258,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.OperationType = types.ControlOperationType(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -5210,6 +5271,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5218,6 +5280,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.Status = types.ControlOperationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5226,6 +5289,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.StatusMessage = ptr.String(jtv) } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5234,6 +5298,7 @@ func awsRestjson1_deserializeDocumentControlOperationSummary(v **types.ControlOp } sv.TargetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5273,6 +5338,7 @@ func awsRestjson1_deserializeDocumentDriftStatusSummary(v **types.DriftStatusSum } sv.DriftStatus = types.DriftStatus(jtv) } + default: _, _ = key, value @@ -5312,6 +5378,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.Arn = ptr.String(jtv) } + case "baselineIdentifier": if value != nil { jtv, ok := value.(string) @@ -5320,6 +5387,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.BaselineIdentifier = ptr.String(jtv) } + case "baselineVersion": if value != nil { jtv, ok := value.(string) @@ -5328,14 +5396,17 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.BaselineVersion = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentEnabledBaselineParameterSummaries(&sv.Parameters, value); err != nil { return err } + case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5344,6 +5415,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineDetails(v **types.EnabledBas } sv.TargetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5425,10 +5497,12 @@ func awsRestjson1_deserializeDocumentEnabledBaselineParameterSummary(v **types.E } sv.Key = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentEnabledBaselineParameterDocument(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -5502,6 +5576,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.Arn = ptr.String(jtv) } + case "baselineIdentifier": if value != nil { jtv, ok := value.(string) @@ -5510,6 +5585,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.BaselineIdentifier = ptr.String(jtv) } + case "baselineVersion": if value != nil { jtv, ok := value.(string) @@ -5518,10 +5594,12 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.BaselineVersion = ptr.String(jtv) } + case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5530,6 +5608,7 @@ func awsRestjson1_deserializeDocumentEnabledBaselineSummary(v **types.EnabledBas } sv.TargetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5569,6 +5648,7 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.Arn = ptr.String(jtv) } + case "controlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5577,18 +5657,22 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.ControlIdentifier = ptr.String(jtv) } + case "driftStatusSummary": if err := awsRestjson1_deserializeDocumentDriftStatusSummary(&sv.DriftStatusSummary, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentEnabledControlParameterSummaries(&sv.Parameters, value); err != nil { return err } + case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5597,10 +5681,12 @@ func awsRestjson1_deserializeDocumentEnabledControlDetails(v **types.EnabledCont } sv.TargetIdentifier = ptr.String(jtv) } + case "targetRegions": if err := awsRestjson1_deserializeDocumentTargetRegions(&sv.TargetRegions, value); err != nil { return err } + default: _, _ = key, value @@ -5674,10 +5760,12 @@ func awsRestjson1_deserializeDocumentEnabledControlParameterSummary(v **types.En } sv.Key = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDocument(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -5751,6 +5839,7 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.Arn = ptr.String(jtv) } + case "controlIdentifier": if value != nil { jtv, ok := value.(string) @@ -5759,14 +5848,17 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.ControlIdentifier = ptr.String(jtv) } + case "driftStatusSummary": if err := awsRestjson1_deserializeDocumentDriftStatusSummary(&sv.DriftStatusSummary, value); err != nil { return err } + case "statusSummary": if err := awsRestjson1_deserializeDocumentEnablementStatusSummary(&sv.StatusSummary, value); err != nil { return err } + case "targetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5775,6 +5867,7 @@ func awsRestjson1_deserializeDocumentEnabledControlSummary(v **types.EnabledCont } sv.TargetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5814,6 +5907,7 @@ func awsRestjson1_deserializeDocumentEnablementStatusSummary(v **types.Enablemen } sv.LastOperationIdentifier = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5822,6 +5916,7 @@ func awsRestjson1_deserializeDocumentEnablementStatusSummary(v **types.Enablemen } sv.Status = types.EnablementStatus(jtv) } + default: _, _ = key, value @@ -5861,6 +5956,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5900,10 +5996,12 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Arn = ptr.String(jtv) } + case "driftStatus": if err := awsRestjson1_deserializeDocumentLandingZoneDriftStatusSummary(&sv.DriftStatus, value); err != nil { return err } + case "latestAvailableVersion": if value != nil { jtv, ok := value.(string) @@ -5912,10 +6010,12 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.LatestAvailableVersion = ptr.String(jtv) } + case "manifest": if err := awsRestjson1_deserializeDocumentManifest(&sv.Manifest, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5924,6 +6024,7 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Status = types.LandingZoneStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5932,6 +6033,7 @@ func awsRestjson1_deserializeDocumentLandingZoneDetail(v **types.LandingZoneDeta } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5971,6 +6073,7 @@ func awsRestjson1_deserializeDocumentLandingZoneDriftStatusSummary(v **types.Lan } sv.Status = types.LandingZoneDriftStatus(jtv) } + default: _, _ = key, value @@ -6014,6 +6117,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.EndTime = ptr.Time(t) } + case "operationIdentifier": if value != nil { jtv, ok := value.(string) @@ -6022,6 +6126,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.OperationIdentifier = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -6030,6 +6135,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.OperationType = types.LandingZoneOperationType(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6042,6 +6148,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6050,6 +6157,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.Status = types.LandingZoneOperationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6058,6 +6166,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationDetail(v **types.Landin } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6131,6 +6240,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.OperationIdentifier = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -6139,6 +6249,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.OperationType = types.LandingZoneOperationType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6147,6 +6258,7 @@ func awsRestjson1_deserializeDocumentLandingZoneOperationSummary(v **types.Landi } sv.Status = types.LandingZoneOperationStatus(jtv) } + default: _, _ = key, value @@ -6220,6 +6332,7 @@ func awsRestjson1_deserializeDocumentLandingZoneSummary(v **types.LandingZoneSum } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -6267,6 +6380,7 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6306,6 +6420,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6345,6 +6460,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6454,6 +6570,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6462,6 +6579,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6474,6 +6592,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6482,6 +6601,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6521,6 +6641,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/costandusagereportservice/deserializers.go b/service/costandusagereportservice/deserializers.go index 1b1a515359b..abca554bddb 100644 --- a/service/costandusagereportservice/deserializers.go +++ b/service/costandusagereportservice/deserializers.go @@ -1083,6 +1083,7 @@ func awsAwsjson11_deserializeDocumentDuplicateReportNameException(v **types.Dupl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1122,6 +1123,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1157,10 +1159,12 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition if err := awsAwsjson11_deserializeDocumentAdditionalArtifactList(&sv.AdditionalArtifacts, value); err != nil { return err } + case "AdditionalSchemaElements": if err := awsAwsjson11_deserializeDocumentSchemaElementList(&sv.AdditionalSchemaElements, value); err != nil { return err } + case "BillingViewArn": if value != nil { jtv, ok := value.(string) @@ -1169,6 +1173,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.BillingViewArn = ptr.String(jtv) } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -1177,6 +1182,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Compression = types.CompressionFormat(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -1185,6 +1191,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.Format = types.ReportFormat(jtv) } + case "RefreshClosedReports": if value != nil { jtv, ok := value.(bool) @@ -1193,6 +1200,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.RefreshClosedReports = ptr.Bool(jtv) } + case "ReportName": if value != nil { jtv, ok := value.(string) @@ -1201,10 +1209,12 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportName = ptr.String(jtv) } + case "ReportStatus": if err := awsAwsjson11_deserializeDocumentReportStatus(&sv.ReportStatus, value); err != nil { return err } + case "ReportVersioning": if value != nil { jtv, ok := value.(string) @@ -1213,6 +1223,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.ReportVersioning = types.ReportVersioning(jtv) } + case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -1221,6 +1232,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Bucket = ptr.String(jtv) } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -1229,6 +1241,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Prefix = ptr.String(jtv) } + case "S3Region": if value != nil { jtv, ok := value.(string) @@ -1237,6 +1250,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.S3Region = types.AWSRegion(jtv) } + case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -1245,6 +1259,7 @@ func awsAwsjson11_deserializeDocumentReportDefinition(v **types.ReportDefinition } sv.TimeUnit = types.TimeUnit(jtv) } + default: _, _ = key, value @@ -1318,6 +1333,7 @@ func awsAwsjson11_deserializeDocumentReportLimitReachedException(v **types.Repor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1357,6 +1373,7 @@ func awsAwsjson11_deserializeDocumentReportStatus(v **types.ReportStatus, value } sv.LastDelivery = ptr.String(jtv) } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -1365,6 +1382,7 @@ func awsAwsjson11_deserializeDocumentReportStatus(v **types.ReportStatus, value } sv.LastStatus = types.LastStatus(jtv) } + default: _, _ = key, value @@ -1404,6 +1422,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1479,6 +1498,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1487,6 +1507,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1560,6 +1581,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1599,6 +1621,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteReportDefinitionOutput(v **DeleteRe } sv.ResponseMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -1638,10 +1661,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportDefinitionsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "ReportDefinitions": if err := awsAwsjson11_deserializeDocumentReportDefinitionList(&sv.ReportDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -1677,6 +1702,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/costexplorer/deserializers.go b/service/costexplorer/deserializers.go index 1e7c70f7c31..60399602b68 100644 --- a/service/costexplorer/deserializers.go +++ b/service/costexplorer/deserializers.go @@ -5298,6 +5298,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyEndDate = ptr.String(jtv) } + case "AnomalyId": if value != nil { jtv, ok := value.(string) @@ -5306,10 +5307,12 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyId = ptr.String(jtv) } + case "AnomalyScore": if err := awsAwsjson11_deserializeDocumentAnomalyScore(&sv.AnomalyScore, value); err != nil { return err } + case "AnomalyStartDate": if value != nil { jtv, ok := value.(string) @@ -5318,6 +5321,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.AnomalyStartDate = ptr.String(jtv) } + case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -5326,6 +5330,7 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.DimensionValue = ptr.String(jtv) } + case "Feedback": if value != nil { jtv, ok := value.(string) @@ -5334,10 +5339,12 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Feedback = types.AnomalyFeedbackType(jtv) } + case "Impact": if err := awsAwsjson11_deserializeDocumentImpact(&sv.Impact, value); err != nil { return err } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -5346,10 +5353,12 @@ func awsAwsjson11_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.MonitorArn = ptr.String(jtv) } + case "RootCauses": if err := awsAwsjson11_deserializeDocumentRootCauses(&sv.RootCauses, value); err != nil { return err } + default: _, _ = key, value @@ -5389,6 +5398,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.CreationDate = ptr.String(jtv) } + case "DimensionalValueCount": if value != nil { jtv, ok := value.(json.Number) @@ -5401,6 +5411,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.DimensionalValueCount = int32(i64) } + case "LastEvaluatedDate": if value != nil { jtv, ok := value.(string) @@ -5409,6 +5420,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.LastEvaluatedDate = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5417,6 +5429,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.LastUpdatedDate = ptr.String(jtv) } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -5425,6 +5438,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorArn = ptr.String(jtv) } + case "MonitorDimension": if value != nil { jtv, ok := value.(string) @@ -5433,6 +5447,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorDimension = types.MonitorDimension(jtv) } + case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -5441,10 +5456,12 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorName = ptr.String(jtv) } + case "MonitorSpecification": if err := awsAwsjson11_deserializeDocumentExpression(&sv.MonitorSpecification, value); err != nil { return err } + case "MonitorType": if value != nil { jtv, ok := value.(string) @@ -5453,6 +5470,7 @@ func awsAwsjson11_deserializeDocumentAnomalyMonitor(v **types.AnomalyMonitor, va } sv.MonitorType = types.MonitorType(jtv) } + default: _, _ = key, value @@ -5551,6 +5569,7 @@ func awsAwsjson11_deserializeDocumentAnomalyScore(v **types.AnomalyScore, value } } + case "MaxScore": if value != nil { switch jtv := value.(type) { @@ -5584,6 +5603,7 @@ func awsAwsjson11_deserializeDocumentAnomalyScore(v **types.AnomalyScore, value } } + default: _, _ = key, value @@ -5623,6 +5643,7 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.AccountId = ptr.String(jtv) } + case "Frequency": if value != nil { jtv, ok := value.(string) @@ -5631,14 +5652,17 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.Frequency = types.AnomalySubscriptionFrequency(jtv) } + case "MonitorArnList": if err := awsAwsjson11_deserializeDocumentMonitorArnList(&sv.MonitorArnList, value); err != nil { return err } + case "Subscribers": if err := awsAwsjson11_deserializeDocumentSubscribers(&sv.Subscribers, value); err != nil { return err } + case "SubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -5647,6 +5671,7 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.SubscriptionArn = ptr.String(jtv) } + case "SubscriptionName": if value != nil { jtv, ok := value.(string) @@ -5655,6 +5680,7 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } sv.SubscriptionName = ptr.String(jtv) } + case "Threshold": if value != nil { switch jtv := value.(type) { @@ -5688,10 +5714,12 @@ func awsAwsjson11_deserializeDocumentAnomalySubscription(v **types.AnomalySubscr } } + case "ThresholdExpression": if err := awsAwsjson11_deserializeDocumentExpression(&sv.ThresholdExpression, value); err != nil { return err } + default: _, _ = key, value @@ -5841,6 +5869,7 @@ func awsAwsjson11_deserializeDocumentBackfillLimitExceededException(v **types.Ba } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5880,6 +5909,7 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5919,6 +5949,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.LastUpdatedDate = ptr.String(jtv) } + case "LastUsedDate": if value != nil { jtv, ok := value.(string) @@ -5927,6 +5958,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.LastUsedDate = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5935,6 +5967,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.Status = types.CostAllocationTagStatus(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -5943,6 +5976,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.TagKey = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5951,6 +5985,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationT } sv.Type = types.CostAllocationTagType(jtv) } + default: _, _ = key, value @@ -5990,6 +6025,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.BackfillFrom = ptr.String(jtv) } + case "BackfillStatus": if value != nil { jtv, ok := value.(string) @@ -5998,6 +6034,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.BackfillStatus = types.CostAllocationTagBackfillStatus(jtv) } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -6006,6 +6043,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.CompletedAt = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6014,6 +6052,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.LastUpdatedAt = ptr.String(jtv) } + case "RequestedAt": if value != nil { jtv, ok := value.(string) @@ -6022,6 +6061,7 @@ func awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(v **types. } sv.RequestedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -6129,6 +6169,7 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.CostCategoryArn = ptr.String(jtv) } + case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -6137,6 +6178,7 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.DefaultValue = ptr.String(jtv) } + case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -6145,6 +6187,7 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.EffectiveEnd = ptr.String(jtv) } + case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -6153,6 +6196,7 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.EffectiveStart = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6161,14 +6205,17 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.Name = ptr.String(jtv) } + case "ProcessingStatus": if err := awsAwsjson11_deserializeDocumentCostCategoryProcessingStatusList(&sv.ProcessingStatus, value); err != nil { return err } + case "Rules": if err := awsAwsjson11_deserializeDocumentCostCategoryRulesList(&sv.Rules, value); err != nil { return err } + case "RuleVersion": if value != nil { jtv, ok := value.(string) @@ -6177,10 +6224,12 @@ func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value } sv.RuleVersion = types.CostCategoryRuleVersion(jtv) } + case "SplitChargeRules": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRulesList(&sv.SplitChargeRules, value); err != nil { return err } + default: _, _ = key, value @@ -6220,6 +6269,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(v **typ } sv.DimensionKey = ptr.String(jtv) } + case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -6228,6 +6278,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(v **typ } sv.DimensionName = types.CostCategoryInheritedValueDimensionName(jtv) } + default: _, _ = key, value @@ -6303,6 +6354,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryProcessingStatus(v **types.Cost } sv.Component = types.CostCategoryStatusComponent(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6363,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryProcessingStatus(v **types.Cost } sv.Status = types.CostCategoryStatus(jtv) } + default: _, _ = key, value @@ -6384,6 +6437,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.CostCategoryArn = ptr.String(jtv) } + case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -6392,6 +6446,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.DefaultValue = ptr.String(jtv) } + case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -6400,6 +6455,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.EffectiveEnd = ptr.String(jtv) } + case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -6408,6 +6464,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.EffectiveStart = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6416,6 +6473,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.Name = ptr.String(jtv) } + case "NumberOfRules": if value != nil { jtv, ok := value.(json.Number) @@ -6428,14 +6486,17 @@ func awsAwsjson11_deserializeDocumentCostCategoryReference(v **types.CostCategor } sv.NumberOfRules = int32(i64) } + case "ProcessingStatus": if err := awsAwsjson11_deserializeDocumentCostCategoryProcessingStatusList(&sv.ProcessingStatus, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentCostCategoryValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -6505,10 +6566,12 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule if err := awsAwsjson11_deserializeDocumentCostCategoryInheritedValueDimension(&sv.InheritedValue, value); err != nil { return err } + case "Rule": if err := awsAwsjson11_deserializeDocumentExpression(&sv.Rule, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6517,6 +6580,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule } sv.Type = types.CostCategoryRuleType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6525,6 +6589,7 @@ func awsAwsjson11_deserializeDocumentCostCategoryRule(v **types.CostCategoryRule } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6598,10 +6663,12 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRule(v **types.CostC } sv.Method = types.CostCategorySplitChargeMethod(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParametersList(&sv.Parameters, value); err != nil { return err } + case "Source": if value != nil { jtv, ok := value.(string) @@ -6610,10 +6677,12 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRule(v **types.CostC } sv.Source = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleTargetsList(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -6653,10 +6722,12 @@ func awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParameter(v **ty } sv.Type = types.CostCategorySplitChargeRuleParameterType(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentCostCategorySplitChargeRuleParameterValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -6836,14 +6907,17 @@ func awsAwsjson11_deserializeDocumentCostCategoryValues(v **types.CostCategoryVa } sv.Key = ptr.String(jtv) } + case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -6915,14 +6989,17 @@ func awsAwsjson11_deserializeDocumentCoverage(v **types.Coverage, value interfac if err := awsAwsjson11_deserializeDocumentCoverageCost(&sv.CoverageCost, value); err != nil { return err } + case "CoverageHours": if err := awsAwsjson11_deserializeDocumentCoverageHours(&sv.CoverageHours, value); err != nil { return err } + case "CoverageNormalizedUnits": if err := awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(&sv.CoverageNormalizedUnits, value); err != nil { return err } + default: _, _ = key, value @@ -6958,14 +7035,17 @@ func awsAwsjson11_deserializeDocumentCoverageByTime(v **types.CoverageByTime, va if err := awsAwsjson11_deserializeDocumentReservationCoverageGroups(&sv.Groups, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -7005,6 +7085,7 @@ func awsAwsjson11_deserializeDocumentCoverageCost(v **types.CoverageCost, value } sv.OnDemandCost = ptr.String(jtv) } + default: _, _ = key, value @@ -7044,6 +7125,7 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.CoverageHoursPercentage = ptr.String(jtv) } + case "OnDemandHours": if value != nil { jtv, ok := value.(string) @@ -7052,6 +7134,7 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.OnDemandHours = ptr.String(jtv) } + case "ReservedHours": if value != nil { jtv, ok := value.(string) @@ -7060,6 +7143,7 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.ReservedHours = ptr.String(jtv) } + case "TotalRunningHours": if value != nil { jtv, ok := value.(string) @@ -7068,6 +7152,7 @@ func awsAwsjson11_deserializeDocumentCoverageHours(v **types.CoverageHours, valu } sv.TotalRunningHours = ptr.String(jtv) } + default: _, _ = key, value @@ -7107,6 +7192,7 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.CoverageNormalizedUnitsPercentage = ptr.String(jtv) } + case "OnDemandNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7201,7 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.OnDemandNormalizedUnits = ptr.String(jtv) } + case "ReservedNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7123,6 +7210,7 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.ReservedNormalizedUnits = ptr.String(jtv) } + case "TotalRunningNormalizedUnits": if value != nil { jtv, ok := value.(string) @@ -7131,6 +7219,7 @@ func awsAwsjson11_deserializeDocumentCoverageNormalizedUnits(v **types.CoverageN } sv.TotalRunningNormalizedUnits = ptr.String(jtv) } + default: _, _ = key, value @@ -7204,6 +7293,7 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.CurrencyCode = ptr.String(jtv) } + case "InstanceName": if value != nil { jtv, ok := value.(string) @@ -7212,6 +7302,7 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.InstanceName = ptr.String(jtv) } + case "MonthlyCost": if value != nil { jtv, ok := value.(string) @@ -7220,6 +7311,7 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.MonthlyCost = ptr.String(jtv) } + case "OnDemandHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7228,6 +7320,7 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.OnDemandHoursInLookbackPeriod = ptr.String(jtv) } + case "ReservationCoveredHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7236,10 +7329,12 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.ReservationCoveredHoursInLookbackPeriod = ptr.String(jtv) } + case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7248,10 +7343,12 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.ResourceId = ptr.String(jtv) } + case "ResourceUtilization": if err := awsAwsjson11_deserializeDocumentResourceUtilization(&sv.ResourceUtilization, value); err != nil { return err } + case "SavingsPlansCoveredHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7260,10 +7357,12 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.SavingsPlansCoveredHoursInLookbackPeriod = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagValuesList(&sv.Tags, value); err != nil { return err } + case "TotalRunningHoursInLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7371,7 @@ func awsAwsjson11_deserializeDocumentCurrentInstance(v **types.CurrentInstance, } sv.TotalRunningHoursInLookbackPeriod = ptr.String(jtv) } + default: _, _ = key, value @@ -7311,6 +7411,7 @@ func awsAwsjson11_deserializeDocumentDataUnavailableException(v **types.DataUnav } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7350,6 +7451,7 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.End = ptr.String(jtv) } + case "Start": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7460,7 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.Start = ptr.String(jtv) } + default: _, _ = key, value @@ -7397,14 +7500,17 @@ func awsAwsjson11_deserializeDocumentDimensionValues(v **types.DimensionValues, } sv.Key = types.Dimension(jtv) } + case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7440,6 +7546,7 @@ func awsAwsjson11_deserializeDocumentDimensionValuesWithAttributes(v **types.Dim if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7448,6 +7555,7 @@ func awsAwsjson11_deserializeDocumentDimensionValuesWithAttributes(v **types.Dim } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7521,6 +7629,7 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskReadBytesPerSecond = ptr.String(jtv) } + case "DiskReadOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7529,6 +7638,7 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskReadOpsPerSecond = ptr.String(jtv) } + case "DiskWriteBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -7537,6 +7647,7 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskWriteBytesPerSecond = ptr.String(jtv) } + case "DiskWriteOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7545,6 +7656,7 @@ func awsAwsjson11_deserializeDocumentDiskResourceUtilization(v **types.DiskResou } sv.DiskWriteOpsPerSecond = ptr.String(jtv) } + default: _, _ = key, value @@ -7584,6 +7696,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(v **types.DynamoDBC } sv.CapacityUnits = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -7592,6 +7705,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(v **types.DynamoDBC } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -7631,6 +7745,7 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsReadBytesPerSecond = ptr.String(jtv) } + case "EbsReadOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7639,6 +7754,7 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsReadOpsPerSecond = ptr.String(jtv) } + case "EbsWriteBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -7647,6 +7763,7 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsWriteBytesPerSecond = ptr.String(jtv) } + case "EbsWriteOpsPerSecond": if value != nil { jtv, ok := value.(string) @@ -7655,6 +7772,7 @@ func awsAwsjson11_deserializeDocumentEBSResourceUtilization(v **types.EBSResourc } sv.EbsWriteOpsPerSecond = ptr.String(jtv) } + default: _, _ = key, value @@ -7694,6 +7812,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.AvailabilityZone = ptr.String(jtv) } + case "CurrentGeneration": if value != nil { jtv, ok := value.(bool) @@ -7702,6 +7821,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.CurrentGeneration = jtv } + case "Family": if value != nil { jtv, ok := value.(string) @@ -7710,6 +7830,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Family = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -7718,6 +7839,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.InstanceType = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -7726,6 +7848,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Platform = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -7734,6 +7857,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -7742,6 +7866,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.SizeFlexEligible = jtv } + case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -7750,6 +7875,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceDetails(v **types.EC2InstanceDet } sv.Tenancy = ptr.String(jtv) } + default: _, _ = key, value @@ -7789,6 +7915,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.HourlyOnDemandRate = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -7797,6 +7924,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.InstanceType = ptr.String(jtv) } + case "Memory": if value != nil { jtv, ok := value.(string) @@ -7805,6 +7933,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Memory = ptr.String(jtv) } + case "NetworkPerformance": if value != nil { jtv, ok := value.(string) @@ -7813,6 +7942,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.NetworkPerformance = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -7821,6 +7951,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Platform = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -7829,6 +7960,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Region = ptr.String(jtv) } + case "Sku": if value != nil { jtv, ok := value.(string) @@ -7837,6 +7969,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Sku = ptr.String(jtv) } + case "Storage": if value != nil { jtv, ok := value.(string) @@ -7845,6 +7978,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Storage = ptr.String(jtv) } + case "Vcpu": if value != nil { jtv, ok := value.(string) @@ -7853,6 +7987,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceDetails(v **types.EC2ResourceDet } sv.Vcpu = ptr.String(jtv) } + default: _, _ = key, value @@ -7888,10 +8023,12 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc if err := awsAwsjson11_deserializeDocumentDiskResourceUtilization(&sv.DiskResourceUtilization, value); err != nil { return err } + case "EBSResourceUtilization": if err := awsAwsjson11_deserializeDocumentEBSResourceUtilization(&sv.EBSResourceUtilization, value); err != nil { return err } + case "MaxCpuUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -7900,6 +8037,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxCpuUtilizationPercentage = ptr.String(jtv) } + case "MaxMemoryUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -7908,6 +8046,7 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxMemoryUtilizationPercentage = ptr.String(jtv) } + case "MaxStorageUtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -7916,10 +8055,12 @@ func awsAwsjson11_deserializeDocumentEC2ResourceUtilization(v **types.EC2Resourc } sv.MaxStorageUtilizationPercentage = ptr.String(jtv) } + case "NetworkResourceUtilization": if err := awsAwsjson11_deserializeDocumentNetworkResourceUtilization(&sv.NetworkResourceUtilization, value); err != nil { return err } + default: _, _ = key, value @@ -7959,6 +8100,7 @@ func awsAwsjson11_deserializeDocumentEC2Specification(v **types.EC2Specification } sv.OfferingClass = types.OfferingClass(jtv) } + default: _, _ = key, value @@ -7998,6 +8140,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.CurrentGeneration = jtv } + case "Family": if value != nil { jtv, ok := value.(string) @@ -8006,6 +8149,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.Family = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -8014,6 +8158,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.NodeType = ptr.String(jtv) } + case "ProductDescription": if value != nil { jtv, ok := value.(string) @@ -8022,6 +8167,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.ProductDescription = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -8030,6 +8176,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -8038,6 +8185,7 @@ func awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(v **types.Elasti } sv.SizeFlexEligible = jtv } + default: _, _ = key, value @@ -8077,6 +8225,7 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.CurrentGeneration = jtv } + case "InstanceClass": if value != nil { jtv, ok := value.(string) @@ -8085,6 +8234,7 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.InstanceClass = ptr.String(jtv) } + case "InstanceSize": if value != nil { jtv, ok := value.(string) @@ -8093,6 +8243,7 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.InstanceSize = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -8101,6 +8252,7 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -8109,6 +8261,7 @@ func awsAwsjson11_deserializeDocumentESInstanceDetails(v **types.ESInstanceDetai } sv.SizeFlexEligible = jtv } + default: _, _ = key, value @@ -8144,26 +8297,32 @@ func awsAwsjson11_deserializeDocumentExpression(v **types.Expression, value inte if err := awsAwsjson11_deserializeDocumentExpressions(&sv.And, value); err != nil { return err } + case "CostCategories": if err := awsAwsjson11_deserializeDocumentCostCategoryValues(&sv.CostCategories, value); err != nil { return err } + case "Dimensions": if err := awsAwsjson11_deserializeDocumentDimensionValues(&sv.Dimensions, value); err != nil { return err } + case "Not": if err := awsAwsjson11_deserializeDocumentExpression(&sv.Not, value); err != nil { return err } + case "Or": if err := awsAwsjson11_deserializeDocumentExpressions(&sv.Or, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagValues(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8273,6 +8432,7 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.MeanValue = ptr.String(jtv) } + case "PredictionIntervalLowerBound": if value != nil { jtv, ok := value.(string) @@ -8281,6 +8441,7 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.PredictionIntervalLowerBound = ptr.String(jtv) } + case "PredictionIntervalUpperBound": if value != nil { jtv, ok := value.(string) @@ -8289,10 +8450,12 @@ func awsAwsjson11_deserializeDocumentForecastResult(v **types.ForecastResult, va } sv.PredictionIntervalUpperBound = ptr.String(jtv) } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + default: _, _ = key, value @@ -8366,6 +8529,7 @@ func awsAwsjson11_deserializeDocumentGenerationExistsException(v **types.Generat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8405,6 +8569,7 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.EstimatedCompletionTime = ptr.String(jtv) } + case "GenerationCompletionTime": if value != nil { jtv, ok := value.(string) @@ -8413,6 +8578,7 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationCompletionTime = ptr.String(jtv) } + case "GenerationStartedTime": if value != nil { jtv, ok := value.(string) @@ -8421,6 +8587,7 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStartedTime = ptr.String(jtv) } + case "GenerationStatus": if value != nil { jtv, ok := value.(string) @@ -8429,6 +8596,7 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStatus = types.GenerationStatus(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -8437,6 +8605,7 @@ func awsAwsjson11_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -8506,10 +8675,12 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e if err := awsAwsjson11_deserializeDocumentKeys(&sv.Keys, value); err != nil { return err } + case "Metrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } + default: _, _ = key, value @@ -8549,6 +8720,7 @@ func awsAwsjson11_deserializeDocumentGroupDefinition(v **types.GroupDefinition, } sv.Key = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8557,6 +8729,7 @@ func awsAwsjson11_deserializeDocumentGroupDefinition(v **types.GroupDefinition, } sv.Type = types.GroupDefinitionType(jtv) } + default: _, _ = key, value @@ -8689,6 +8862,7 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } + case "TotalActualSpend": if value != nil { switch jtv := value.(type) { @@ -8722,6 +8896,7 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } + case "TotalExpectedSpend": if value != nil { switch jtv := value.(type) { @@ -8755,6 +8930,7 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } + case "TotalImpact": if value != nil { switch jtv := value.(type) { @@ -8788,6 +8964,7 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } + case "TotalImpactPercentage": if value != nil { switch jtv := value.(type) { @@ -8821,6 +8998,7 @@ func awsAwsjson11_deserializeDocumentImpact(v **types.Impact, value interface{}) } } + default: _, _ = key, value @@ -8856,26 +9034,32 @@ func awsAwsjson11_deserializeDocumentInstanceDetails(v **types.InstanceDetails, if err := awsAwsjson11_deserializeDocumentEC2InstanceDetails(&sv.EC2InstanceDetails, value); err != nil { return err } + case "ElastiCacheInstanceDetails": if err := awsAwsjson11_deserializeDocumentElastiCacheInstanceDetails(&sv.ElastiCacheInstanceDetails, value); err != nil { return err } + case "ESInstanceDetails": if err := awsAwsjson11_deserializeDocumentESInstanceDetails(&sv.ESInstanceDetails, value); err != nil { return err } + case "MemoryDBInstanceDetails": if err := awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(&sv.MemoryDBInstanceDetails, value); err != nil { return err } + case "RDSInstanceDetails": if err := awsAwsjson11_deserializeDocumentRDSInstanceDetails(&sv.RDSInstanceDetails, value); err != nil { return err } + case "RedshiftInstanceDetails": if err := awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(&sv.RedshiftInstanceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8915,6 +9099,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8990,6 +9175,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9065,6 +9251,7 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.CurrentGeneration = jtv } + case "Family": if value != nil { jtv, ok := value.(string) @@ -9073,6 +9260,7 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.Family = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9081,6 +9269,7 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.NodeType = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9089,6 +9278,7 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -9097,6 +9287,7 @@ func awsAwsjson11_deserializeDocumentMemoryDBInstanceDetails(v **types.MemoryDBI } sv.SizeFlexEligible = jtv } + default: _, _ = key, value @@ -9205,6 +9396,7 @@ func awsAwsjson11_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Amount = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -9213,6 +9405,7 @@ func awsAwsjson11_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -9248,6 +9441,7 @@ func awsAwsjson11_deserializeDocumentModifyRecommendationDetail(v **types.Modify if err := awsAwsjson11_deserializeDocumentTargetInstancesList(&sv.TargetInstances, value); err != nil { return err } + default: _, _ = key, value @@ -9323,6 +9517,7 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkInBytesPerSecond = ptr.String(jtv) } + case "NetworkOutBytesPerSecond": if value != nil { jtv, ok := value.(string) @@ -9331,6 +9526,7 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkOutBytesPerSecond = ptr.String(jtv) } + case "NetworkPacketsInPerSecond": if value != nil { jtv, ok := value.(string) @@ -9339,6 +9535,7 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkPacketsInPerSecond = ptr.String(jtv) } + case "NetworkPacketsOutPerSecond": if value != nil { jtv, ok := value.(string) @@ -9347,6 +9544,7 @@ func awsAwsjson11_deserializeDocumentNetworkResourceUtilization(v **types.Networ } sv.NetworkPacketsOutPerSecond = ptr.String(jtv) } + default: _, _ = key, value @@ -9422,6 +9620,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.CurrentGeneration = jtv } + case "DatabaseEdition": if value != nil { jtv, ok := value.(string) @@ -9430,6 +9629,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DatabaseEdition = ptr.String(jtv) } + case "DatabaseEngine": if value != nil { jtv, ok := value.(string) @@ -9438,6 +9638,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DatabaseEngine = ptr.String(jtv) } + case "DeploymentOption": if value != nil { jtv, ok := value.(string) @@ -9446,6 +9647,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.DeploymentOption = ptr.String(jtv) } + case "Family": if value != nil { jtv, ok := value.(string) @@ -9454,6 +9656,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.Family = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9462,6 +9665,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.InstanceType = ptr.String(jtv) } + case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -9470,6 +9674,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.LicenseModel = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9478,6 +9683,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -9486,6 +9692,7 @@ func awsAwsjson11_deserializeDocumentRDSInstanceDetails(v **types.RDSInstanceDet } sv.SizeFlexEligible = jtv } + default: _, _ = key, value @@ -9525,6 +9732,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.AccountId = ptr.String(jtv) } + case "AccountScope": if value != nil { jtv, ok := value.(string) @@ -9533,6 +9741,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.AccountScope = types.AccountScope(jtv) } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -9541,6 +9750,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrencyCode = ptr.String(jtv) } + case "CurrentAverageCoverage": if value != nil { jtv, ok := value.(string) @@ -9549,6 +9759,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentAverageCoverage = ptr.String(jtv) } + case "CurrentAverageHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9557,6 +9768,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentAverageHourlyOnDemandSpend = ptr.String(jtv) } + case "CurrentMaximumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9565,6 +9777,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentMaximumHourlyOnDemandSpend = ptr.String(jtv) } + case "CurrentMinimumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -9573,6 +9786,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.CurrentMinimumHourlyOnDemandSpend = ptr.String(jtv) } + case "EstimatedAverageCoverage": if value != nil { jtv, ok := value.(string) @@ -9581,6 +9795,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedAverageCoverage = ptr.String(jtv) } + case "EstimatedAverageUtilization": if value != nil { jtv, ok := value.(string) @@ -9589,6 +9804,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedAverageUtilization = ptr.String(jtv) } + case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -9597,6 +9813,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } + case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -9605,6 +9822,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedOnDemandCost = ptr.String(jtv) } + case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -9613,6 +9831,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } + case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -9621,6 +9840,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedROI = ptr.String(jtv) } + case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -9629,6 +9849,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSavingsAmount = ptr.String(jtv) } + case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -9637,6 +9858,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSavingsPercentage = ptr.String(jtv) } + case "EstimatedSPCost": if value != nil { jtv, ok := value.(string) @@ -9645,6 +9867,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.EstimatedSPCost = ptr.String(jtv) } + case "ExistingHourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -9653,6 +9876,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.ExistingHourlyCommitment = ptr.String(jtv) } + case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9661,6 +9885,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.GenerationTimestamp = ptr.String(jtv) } + case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -9669,6 +9894,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } + case "InstanceFamily": if value != nil { jtv, ok := value.(string) @@ -9677,6 +9903,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.InstanceFamily = ptr.String(jtv) } + case "LatestUsageTimestamp": if value != nil { jtv, ok := value.(string) @@ -9685,6 +9912,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.LatestUsageTimestamp = ptr.String(jtv) } + case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -9693,10 +9921,12 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } + case "MetricsOverLookbackPeriod": if err := awsAwsjson11_deserializeDocumentMetricsOverLookbackPeriod(&sv.MetricsOverLookbackPeriod, value); err != nil { return err } + case "OfferingId": if value != nil { jtv, ok := value.(string) @@ -9705,6 +9935,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.OfferingId = ptr.String(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -9713,6 +9944,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.PaymentOption = types.PaymentOption(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9721,6 +9953,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.Region = ptr.String(jtv) } + case "SavingsPlansType": if value != nil { jtv, ok := value.(string) @@ -9729,6 +9962,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.SavingsPlansType = types.SupportedSavingsPlansType(jtv) } + case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -9737,6 +9971,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.TermInYears = types.TermInYears(jtv) } + case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -9745,6 +9980,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailData(v **types.Recommen } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -9784,6 +10020,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.CurrentCoverage = ptr.String(jtv) } + case "EstimatedCoverage": if value != nil { jtv, ok := value.(string) @@ -9792,6 +10029,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedCoverage = ptr.String(jtv) } + case "EstimatedNewCommitmentUtilization": if value != nil { jtv, ok := value.(string) @@ -9800,6 +10038,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedNewCommitmentUtilization = ptr.String(jtv) } + case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -9808,6 +10047,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.EstimatedOnDemandCost = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -9816,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentRecommendationDetailHourlyMetrics(v **types } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -9855,6 +10096,7 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.CurrentGeneration = jtv } + case "Family": if value != nil { jtv, ok := value.(string) @@ -9863,6 +10105,7 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.Family = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9871,6 +10114,7 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.NodeType = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9879,6 +10123,7 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.Region = ptr.String(jtv) } + case "SizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -9887,6 +10132,7 @@ func awsAwsjson11_deserializeDocumentRedshiftInstanceDetails(v **types.RedshiftI } sv.SizeFlexEligible = jtv } + default: _, _ = key, value @@ -9926,6 +10172,7 @@ func awsAwsjson11_deserializeDocumentRequestChangedException(v **types.RequestCh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9965,6 +10212,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.AmortizedRecurringFee = ptr.String(jtv) } + case "AmortizedUpfrontFee": if value != nil { jtv, ok := value.(string) @@ -9973,6 +10221,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.AmortizedUpfrontFee = ptr.String(jtv) } + case "NetRISavings": if value != nil { jtv, ok := value.(string) @@ -9981,6 +10230,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.NetRISavings = ptr.String(jtv) } + case "OnDemandCostOfRIHoursUsed": if value != nil { jtv, ok := value.(string) @@ -9989,6 +10239,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.OnDemandCostOfRIHoursUsed = ptr.String(jtv) } + case "PurchasedHours": if value != nil { jtv, ok := value.(string) @@ -9997,6 +10248,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.PurchasedHours = ptr.String(jtv) } + case "PurchasedUnits": if value != nil { jtv, ok := value.(string) @@ -10005,6 +10257,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.PurchasedUnits = ptr.String(jtv) } + case "RealizedSavings": if value != nil { jtv, ok := value.(string) @@ -10013,6 +10266,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.RealizedSavings = ptr.String(jtv) } + case "RICostForUnusedHours": if value != nil { jtv, ok := value.(string) @@ -10021,6 +10275,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.RICostForUnusedHours = ptr.String(jtv) } + case "TotalActualHours": if value != nil { jtv, ok := value.(string) @@ -10029,6 +10284,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalActualHours = ptr.String(jtv) } + case "TotalActualUnits": if value != nil { jtv, ok := value.(string) @@ -10037,6 +10293,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalActualUnits = ptr.String(jtv) } + case "TotalAmortizedFee": if value != nil { jtv, ok := value.(string) @@ -10045,6 +10302,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalAmortizedFee = ptr.String(jtv) } + case "TotalPotentialRISavings": if value != nil { jtv, ok := value.(string) @@ -10053,6 +10311,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.TotalPotentialRISavings = ptr.String(jtv) } + case "UnrealizedSavings": if value != nil { jtv, ok := value.(string) @@ -10061,6 +10320,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnrealizedSavings = ptr.String(jtv) } + case "UnusedHours": if value != nil { jtv, ok := value.(string) @@ -10069,6 +10329,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnusedHours = ptr.String(jtv) } + case "UnusedUnits": if value != nil { jtv, ok := value.(string) @@ -10077,6 +10338,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UnusedUnits = ptr.String(jtv) } + case "UtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -10085,6 +10347,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UtilizationPercentage = ptr.String(jtv) } + case "UtilizationPercentageInUnits": if value != nil { jtv, ok := value.(string) @@ -10093,6 +10356,7 @@ func awsAwsjson11_deserializeDocumentReservationAggregates(v **types.Reservation } sv.UtilizationPercentageInUnits = ptr.String(jtv) } + default: _, _ = key, value @@ -10128,10 +10392,12 @@ func awsAwsjson11_deserializeDocumentReservationCoverageGroup(v **types.Reservat if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Coverage": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Coverage, value); err != nil { return err } + default: _, _ = key, value @@ -10205,6 +10471,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.AccountScope = types.AccountScope(jtv) } + case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -10213,6 +10480,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -10221,18 +10489,22 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.PaymentOption = types.PaymentOption(jtv) } + case "RecommendationDetails": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetails(&sv.RecommendationDetails, value); err != nil { return err } + case "RecommendationSummary": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(&sv.RecommendationSummary, value); err != nil { return err } + case "ServiceSpecification": if err := awsAwsjson11_deserializeDocumentServiceSpecification(&sv.ServiceSpecification, value); err != nil { return err } + case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10513,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendation(v **types } sv.TermInYears = types.TermInYears(jtv) } + default: _, _ = key, value @@ -10280,6 +10553,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AccountId = ptr.String(jtv) } + case "AverageNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10288,6 +10562,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNormalizedUnitsUsedPerHour = ptr.String(jtv) } + case "AverageNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10296,6 +10571,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } + case "AverageNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10304,6 +10580,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageNumberOfInstancesUsedPerHour = ptr.String(jtv) } + case "AverageUtilization": if value != nil { jtv, ok := value.(string) @@ -10312,6 +10589,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.AverageUtilization = ptr.String(jtv) } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -10320,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.CurrencyCode = ptr.String(jtv) } + case "EstimatedBreakEvenInMonths": if value != nil { jtv, ok := value.(string) @@ -10328,6 +10607,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedBreakEvenInMonths = ptr.String(jtv) } + case "EstimatedMonthlyOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -10336,6 +10616,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlyOnDemandCost = ptr.String(jtv) } + case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -10344,6 +10625,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } + case "EstimatedMonthlySavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -10352,6 +10634,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedMonthlySavingsPercentage = ptr.String(jtv) } + case "EstimatedReservationCostForLookbackPeriod": if value != nil { jtv, ok := value.(string) @@ -10360,10 +10643,12 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.EstimatedReservationCostForLookbackPeriod = ptr.String(jtv) } + case "InstanceDetails": if err := awsAwsjson11_deserializeDocumentInstanceDetails(&sv.InstanceDetails, value); err != nil { return err } + case "MaximumNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10372,6 +10657,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNormalizedUnitsUsedPerHour = ptr.String(jtv) } + case "MaximumNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10380,6 +10666,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } + case "MaximumNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10388,6 +10675,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MaximumNumberOfInstancesUsedPerHour = ptr.String(jtv) } + case "MinimumNormalizedUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10396,6 +10684,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNormalizedUnitsUsedPerHour = ptr.String(jtv) } + case "MinimumNumberOfCapacityUnitsUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10404,6 +10693,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNumberOfCapacityUnitsUsedPerHour = ptr.String(jtv) } + case "MinimumNumberOfInstancesUsedPerHour": if value != nil { jtv, ok := value.(string) @@ -10412,6 +10702,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.MinimumNumberOfInstancesUsedPerHour = ptr.String(jtv) } + case "RecommendedNormalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -10420,6 +10711,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNormalizedUnitsToPurchase = ptr.String(jtv) } + case "RecommendedNumberOfCapacityUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -10428,6 +10720,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNumberOfCapacityUnitsToPurchase = ptr.String(jtv) } + case "RecommendedNumberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -10436,6 +10729,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecommendedNumberOfInstancesToPurchase = ptr.String(jtv) } + case "RecurringStandardMonthlyCost": if value != nil { jtv, ok := value.(string) @@ -10444,10 +10738,12 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.RecurringStandardMonthlyCost = ptr.String(jtv) } + case "ReservedCapacityDetails": if err := awsAwsjson11_deserializeDocumentReservedCapacityDetails(&sv.ReservedCapacityDetails, value); err != nil { return err } + case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -10456,6 +10752,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationDetail(v * } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -10529,6 +10826,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.AdditionalMetadata = ptr.String(jtv) } + case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -10537,6 +10835,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.GenerationTimestamp = ptr.String(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -10545,6 +10844,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(v } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -10618,6 +10918,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.CurrencyCode = ptr.String(jtv) } + case "TotalEstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -10626,6 +10927,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.TotalEstimatedMonthlySavingsAmount = ptr.String(jtv) } + case "TotalEstimatedMonthlySavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -10634,6 +10936,7 @@ func awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationSummary(v } sv.TotalEstimatedMonthlySavingsPercentage = ptr.String(jtv) } + default: _, _ = key, value @@ -10669,6 +10972,7 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Key": if value != nil { jtv, ok := value.(string) @@ -10677,10 +10981,12 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser } sv.Key = ptr.String(jtv) } + case "Utilization": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Utilization, value); err != nil { return err } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10689,6 +10995,7 @@ func awsAwsjson11_deserializeDocumentReservationUtilizationGroup(v **types.Reser } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10758,6 +11065,7 @@ func awsAwsjson11_deserializeDocumentReservedCapacityDetails(v **types.ReservedC if err := awsAwsjson11_deserializeDocumentDynamoDBCapacityDetails(&sv.DynamoDBCapacityDetails, value); err != nil { return err } + default: _, _ = key, value @@ -10793,6 +11101,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentEC2ResourceDetails(&sv.EC2ResourceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -10832,6 +11141,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -10840,6 +11150,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10879,6 +11190,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10887,6 +11199,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10956,6 +11269,7 @@ func awsAwsjson11_deserializeDocumentResourceUtilization(v **types.ResourceUtili if err := awsAwsjson11_deserializeDocumentEC2ResourceUtilization(&sv.EC2ResourceUtilization, value); err != nil { return err } + default: _, _ = key, value @@ -10995,18 +11309,22 @@ func awsAwsjson11_deserializeDocumentResultByTime(v **types.ResultByTime, value } sv.Estimated = jtv } + case "Groups": if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -11080,18 +11398,22 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendation(v **types.Rightsi } sv.AccountId = ptr.String(jtv) } + case "CurrentInstance": if err := awsAwsjson11_deserializeDocumentCurrentInstance(&sv.CurrentInstance, value); err != nil { return err } + case "FindingReasonCodes": if err := awsAwsjson11_deserializeDocumentFindingReasonCodes(&sv.FindingReasonCodes, value); err != nil { return err } + case "ModifyRecommendationDetail": if err := awsAwsjson11_deserializeDocumentModifyRecommendationDetail(&sv.ModifyRecommendationDetail, value); err != nil { return err } + case "RightsizingType": if value != nil { jtv, ok := value.(string) @@ -11100,10 +11422,12 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendation(v **types.Rightsi } sv.RightsizingType = types.RightsizingType(jtv) } + case "TerminateRecommendationDetail": if err := awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(&sv.TerminateRecommendationDetail, value); err != nil { return err } + default: _, _ = key, value @@ -11143,6 +11467,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(v ** } sv.BenefitsConsidered = jtv } + case "RecommendationTarget": if value != nil { jtv, ok := value.(string) @@ -11151,6 +11476,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(v ** } sv.RecommendationTarget = types.RecommendationTarget(jtv) } + default: _, _ = key, value @@ -11224,6 +11550,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.AdditionalMetadata = ptr.String(jtv) } + case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -11232,6 +11559,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.GenerationTimestamp = ptr.String(jtv) } + case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -11240,6 +11568,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -11248,6 +11577,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(v **types } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -11287,6 +11617,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.EstimatedTotalMonthlySavingsAmount = ptr.String(jtv) } + case "SavingsCurrencyCode": if value != nil { jtv, ok := value.(string) @@ -11295,6 +11626,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.SavingsCurrencyCode = ptr.String(jtv) } + case "SavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -11303,6 +11635,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.SavingsPercentage = ptr.String(jtv) } + case "TotalRecommendationCount": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11644,7 @@ func awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(v **types. } sv.TotalRecommendationCount = ptr.String(jtv) } + default: _, _ = key, value @@ -11350,6 +11684,7 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.LinkedAccount = ptr.String(jtv) } + case "LinkedAccountName": if value != nil { jtv, ok := value.(string) @@ -11358,6 +11693,7 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.LinkedAccountName = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -11366,6 +11702,7 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.Region = ptr.String(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -11374,6 +11711,7 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.Service = ptr.String(jtv) } + case "UsageType": if value != nil { jtv, ok := value.(string) @@ -11382,6 +11720,7 @@ func awsAwsjson11_deserializeDocumentRootCause(v **types.RootCause, value interf } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -11455,6 +11794,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.AmortizedRecurringCommitment = ptr.String(jtv) } + case "AmortizedUpfrontCommitment": if value != nil { jtv, ok := value.(string) @@ -11463,6 +11803,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.AmortizedUpfrontCommitment = ptr.String(jtv) } + case "TotalAmortizedCommitment": if value != nil { jtv, ok := value.(string) @@ -11471,6 +11812,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(v **types.S } sv.TotalAmortizedCommitment = ptr.String(jtv) } + default: _, _ = key, value @@ -11506,14 +11848,17 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverage(v **types.SavingsPlans if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Coverage": if err := awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(&sv.Coverage, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + default: _, _ = key, value @@ -11553,6 +11898,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.CoveragePercentage = ptr.String(jtv) } + case "OnDemandCost": if value != nil { jtv, ok := value.(string) @@ -11561,6 +11907,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.OnDemandCost = ptr.String(jtv) } + case "SpendCoveredBySavingsPlans": if value != nil { jtv, ok := value.(string) @@ -11569,6 +11916,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.SpendCoveredBySavingsPlans = ptr.String(jtv) } + case "TotalCost": if value != nil { jtv, ok := value.(string) @@ -11577,6 +11925,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansCoverageData(v **types.SavingsP } sv.TotalCost = ptr.String(jtv) } + default: _, _ = key, value @@ -11650,6 +11999,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.InstanceFamily = ptr.String(jtv) } + case "OfferingId": if value != nil { jtv, ok := value.(string) @@ -11658,6 +12008,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.OfferingId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -11666,6 +12017,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansDetails(v **types.SavingsPlansD } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -11705,6 +12057,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.AccountScope = types.AccountScope(jtv) } + case "LookbackPeriodInDays": if value != nil { jtv, ok := value.(string) @@ -11713,6 +12066,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.LookbackPeriodInDays = types.LookbackPeriodInDays(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -11721,14 +12075,17 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.PaymentOption = types.PaymentOption(jtv) } + case "SavingsPlansPurchaseRecommendationDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetailList(&sv.SavingsPlansPurchaseRecommendationDetails, value); err != nil { return err } + case "SavingsPlansPurchaseRecommendationSummary": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(&sv.SavingsPlansPurchaseRecommendationSummary, value); err != nil { return err } + case "SavingsPlansType": if value != nil { jtv, ok := value.(string) @@ -11737,6 +12094,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.SavingsPlansType = types.SupportedSavingsPlansType(jtv) } + case "TermInYears": if value != nil { jtv, ok := value.(string) @@ -11745,6 +12103,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(v **type } sv.TermInYears = types.TermInYears(jtv) } + default: _, _ = key, value @@ -11784,6 +12143,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.AccountId = ptr.String(jtv) } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -11792,6 +12152,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrencyCode = ptr.String(jtv) } + case "CurrentAverageHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -11800,6 +12161,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentAverageHourlyOnDemandSpend = ptr.String(jtv) } + case "CurrentMaximumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -11808,6 +12170,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentMaximumHourlyOnDemandSpend = ptr.String(jtv) } + case "CurrentMinimumHourlyOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -11816,6 +12179,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.CurrentMinimumHourlyOnDemandSpend = ptr.String(jtv) } + case "EstimatedAverageUtilization": if value != nil { jtv, ok := value.(string) @@ -11824,6 +12188,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedAverageUtilization = ptr.String(jtv) } + case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -11832,6 +12197,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } + case "EstimatedOnDemandCost": if value != nil { jtv, ok := value.(string) @@ -11840,6 +12206,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedOnDemandCost = ptr.String(jtv) } + case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -11848,6 +12215,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } + case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -11856,6 +12224,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedROI = ptr.String(jtv) } + case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -11864,6 +12233,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSavingsAmount = ptr.String(jtv) } + case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -11872,6 +12242,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSavingsPercentage = ptr.String(jtv) } + case "EstimatedSPCost": if value != nil { jtv, ok := value.(string) @@ -11880,6 +12251,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.EstimatedSPCost = ptr.String(jtv) } + case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -11888,6 +12260,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } + case "RecommendationDetailId": if value != nil { jtv, ok := value.(string) @@ -11896,10 +12269,12 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.RecommendationDetailId = ptr.String(jtv) } + case "SavingsPlansDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansDetails(&sv.SavingsPlansDetails, value); err != nil { return err } + case "UpfrontCost": if value != nil { jtv, ok := value.(string) @@ -11908,6 +12283,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationDetail(v } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -11981,6 +12357,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.AdditionalMetadata = ptr.String(jtv) } + case "GenerationTimestamp": if value != nil { jtv, ok := value.(string) @@ -11989,6 +12366,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.GenerationTimestamp = ptr.String(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -11997,6 +12375,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata( } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -12036,6 +12415,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.CurrencyCode = ptr.String(jtv) } + case "CurrentOnDemandSpend": if value != nil { jtv, ok := value.(string) @@ -12044,6 +12424,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.CurrentOnDemandSpend = ptr.String(jtv) } + case "DailyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -12052,6 +12433,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.DailyCommitmentToPurchase = ptr.String(jtv) } + case "EstimatedMonthlySavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12060,6 +12442,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedMonthlySavingsAmount = ptr.String(jtv) } + case "EstimatedOnDemandCostWithCurrentCommitment": if value != nil { jtv, ok := value.(string) @@ -12068,6 +12451,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedOnDemandCostWithCurrentCommitment = ptr.String(jtv) } + case "EstimatedROI": if value != nil { jtv, ok := value.(string) @@ -12076,6 +12460,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedROI = ptr.String(jtv) } + case "EstimatedSavingsAmount": if value != nil { jtv, ok := value.(string) @@ -12084,6 +12469,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedSavingsAmount = ptr.String(jtv) } + case "EstimatedSavingsPercentage": if value != nil { jtv, ok := value.(string) @@ -12092,6 +12478,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedSavingsPercentage = ptr.String(jtv) } + case "EstimatedTotalCost": if value != nil { jtv, ok := value.(string) @@ -12100,6 +12487,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.EstimatedTotalCost = ptr.String(jtv) } + case "HourlyCommitmentToPurchase": if value != nil { jtv, ok := value.(string) @@ -12108,6 +12496,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.HourlyCommitmentToPurchase = ptr.String(jtv) } + case "TotalRecommendationCount": if value != nil { jtv, ok := value.(string) @@ -12116,6 +12505,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationSummary(v } sv.TotalRecommendationCount = ptr.String(jtv) } + default: _, _ = key, value @@ -12155,6 +12545,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansSavings(v **types.SavingsPlansS } sv.NetSavings = ptr.String(jtv) } + case "OnDemandCostEquivalent": if value != nil { jtv, ok := value.(string) @@ -12163,6 +12554,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansSavings(v **types.SavingsPlansS } sv.OnDemandCostEquivalent = ptr.String(jtv) } + default: _, _ = key, value @@ -12202,6 +12594,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.TotalCommitment = ptr.String(jtv) } + case "UnusedCommitment": if value != nil { jtv, ok := value.(string) @@ -12210,6 +12603,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UnusedCommitment = ptr.String(jtv) } + case "UsedCommitment": if value != nil { jtv, ok := value.(string) @@ -12218,6 +12612,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UsedCommitment = ptr.String(jtv) } + case "UtilizationPercentage": if value != nil { jtv, ok := value.(string) @@ -12226,6 +12621,7 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilization(v **types.SavingsPl } sv.UtilizationPercentage = ptr.String(jtv) } + default: _, _ = key, value @@ -12261,14 +12657,17 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(v **types if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } + case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } + case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } + default: _, _ = key, value @@ -12304,18 +12703,22 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationByTime(v **types.Sav if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } + case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } + default: _, _ = key, value @@ -12351,14 +12754,17 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetail(v **types.Sav if err := awsAwsjson11_deserializeDocumentSavingsPlansAmortizedCommitment(&sv.AmortizedCommitment, value); err != nil { return err } + case "Attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Savings": if err := awsAwsjson11_deserializeDocumentSavingsPlansSavings(&sv.Savings, value); err != nil { return err } + case "SavingsPlanArn": if value != nil { jtv, ok := value.(string) @@ -12367,10 +12773,12 @@ func awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetail(v **types.Sav } sv.SavingsPlanArn = ptr.String(jtv) } + case "Utilization": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilization(&sv.Utilization, value); err != nil { return err } + default: _, _ = key, value @@ -12478,6 +12886,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12513,6 +12922,7 @@ func awsAwsjson11_deserializeDocumentServiceSpecification(v **types.ServiceSpeci if err := awsAwsjson11_deserializeDocumentEC2Specification(&sv.EC2Specification, value); err != nil { return err } + default: _, _ = key, value @@ -12552,6 +12962,7 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Address = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12560,6 +12971,7 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Status = types.SubscriberStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12568,6 +12980,7 @@ func awsAwsjson11_deserializeDocumentSubscriber(v **types.Subscriber, value inte } sv.Type = types.SubscriberType(jtv) } + default: _, _ = key, value @@ -12677,14 +13090,17 @@ func awsAwsjson11_deserializeDocumentTagValues(v **types.TagValues, value interf } sv.Key = ptr.String(jtv) } + case "MatchOptions": if err := awsAwsjson11_deserializeDocumentMatchOptions(&sv.MatchOptions, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -12758,6 +13174,7 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.CurrencyCode = ptr.String(jtv) } + case "DefaultTargetInstance": if value != nil { jtv, ok := value.(bool) @@ -12766,6 +13183,7 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.DefaultTargetInstance = jtv } + case "EstimatedMonthlyCost": if value != nil { jtv, ok := value.(string) @@ -12774,6 +13192,7 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.EstimatedMonthlyCost = ptr.String(jtv) } + case "EstimatedMonthlySavings": if value != nil { jtv, ok := value.(string) @@ -12782,18 +13201,22 @@ func awsAwsjson11_deserializeDocumentTargetInstance(v **types.TargetInstance, va } sv.EstimatedMonthlySavings = ptr.String(jtv) } + case "ExpectedResourceUtilization": if err := awsAwsjson11_deserializeDocumentResourceUtilization(&sv.ExpectedResourceUtilization, value); err != nil { return err } + case "PlatformDifferences": if err := awsAwsjson11_deserializeDocumentPlatformDifferences(&sv.PlatformDifferences, value); err != nil { return err } + case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -12867,6 +13290,7 @@ func awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(v **types.Ter } sv.CurrencyCode = ptr.String(jtv) } + case "EstimatedMonthlySavings": if value != nil { jtv, ok := value.(string) @@ -12875,6 +13299,7 @@ func awsAwsjson11_deserializeDocumentTerminateRecommendationDetail(v **types.Ter } sv.EstimatedMonthlySavings = ptr.String(jtv) } + default: _, _ = key, value @@ -12914,6 +13339,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -12922,6 +13348,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -12961,6 +13388,7 @@ func awsAwsjson11_deserializeDocumentUnknownMonitorException(v **types.UnknownMo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13000,6 +13428,7 @@ func awsAwsjson11_deserializeDocumentUnknownSubscriptionException(v **types.Unkn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13039,6 +13468,7 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13078,6 +13508,7 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13086,6 +13517,7 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.Message = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -13094,6 +13526,7 @@ func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **typ } sv.TagKey = ptr.String(jtv) } + default: _, _ = key, value @@ -13163,14 +13596,17 @@ func awsAwsjson11_deserializeDocumentUtilizationByTime(v **types.UtilizationByTi if err := awsAwsjson11_deserializeDocumentReservationUtilizationGroups(&sv.Groups, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -13280,6 +13716,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAnomalyMonitorOutput(v **CreateAnom } sv.MonitorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13319,6 +13756,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAnomalySubscriptionOutput(v **Creat } sv.SubscriptionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13358,6 +13796,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCostCategoryDefinitionOutput(v **Cr } sv.CostCategoryArn = ptr.String(jtv) } + case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -13366,6 +13805,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCostCategoryDefinitionOutput(v **Cr } sv.EffectiveStart = ptr.String(jtv) } + default: _, _ = key, value @@ -13467,6 +13907,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCostCategoryDefinitionOutput(v **De } sv.CostCategoryArn = ptr.String(jtv) } + case "EffectiveEnd": if value != nil { jtv, ok := value.(string) @@ -13475,6 +13916,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCostCategoryDefinitionOutput(v **De } sv.EffectiveEnd = ptr.String(jtv) } + default: _, _ = key, value @@ -13510,6 +13952,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCostCategoryDefinitionOutput(v ** if err := awsAwsjson11_deserializeDocumentCostCategory(&sv.CostCategory, value); err != nil { return err } + default: _, _ = key, value @@ -13545,6 +13988,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomaliesOutput(v **GetAnomaliesOutput if err := awsAwsjson11_deserializeDocumentAnomalies(&sv.Anomalies, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13553,6 +13997,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomaliesOutput(v **GetAnomaliesOutput } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13588,6 +14033,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalyMonitorsOutput(v **GetAnomalyMo if err := awsAwsjson11_deserializeDocumentAnomalyMonitors(&sv.AnomalyMonitors, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13596,6 +14042,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalyMonitorsOutput(v **GetAnomalyMo } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13631,6 +14078,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalySubscriptionsOutput(v **GetAnom if err := awsAwsjson11_deserializeDocumentAnomalySubscriptions(&sv.AnomalySubscriptions, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13639,6 +14087,7 @@ func awsAwsjson11_deserializeOpDocumentGetAnomalySubscriptionsOutput(v **GetAnom } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13674,10 +14123,12 @@ func awsAwsjson11_deserializeOpDocumentGetApproximateUsageRecordsOutput(v **GetA if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.LookbackPeriod, value); err != nil { return err } + case "Services": if err := awsAwsjson11_deserializeDocumentApproximateUsageRecordsPerService(&sv.Services, value); err != nil { return err } + case "TotalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -13690,6 +14141,7 @@ func awsAwsjson11_deserializeOpDocumentGetApproximateUsageRecordsOutput(v **GetA } sv.TotalRecords = i64 } + default: _, _ = key, value @@ -13725,10 +14177,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageOutput(v **GetCostAndUsage if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValueAttributes, value); err != nil { return err } + case "GroupDefinitions": if err := awsAwsjson11_deserializeDocumentGroupDefinitions(&sv.GroupDefinitions, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13737,10 +14191,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageOutput(v **GetCostAndUsage } sv.NextPageToken = ptr.String(jtv) } + case "ResultsByTime": if err := awsAwsjson11_deserializeDocumentResultsByTime(&sv.ResultsByTime, value); err != nil { return err } + default: _, _ = key, value @@ -13776,10 +14232,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageWithResourcesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValueAttributes, value); err != nil { return err } + case "GroupDefinitions": if err := awsAwsjson11_deserializeDocumentGroupDefinitions(&sv.GroupDefinitions, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13788,10 +14246,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostAndUsageWithResourcesOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } + case "ResultsByTime": if err := awsAwsjson11_deserializeDocumentResultsByTime(&sv.ResultsByTime, value); err != nil { return err } + default: _, _ = key, value @@ -13827,10 +14287,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego if err := awsAwsjson11_deserializeDocumentCostCategoryNamesList(&sv.CostCategoryNames, value); err != nil { return err } + case "CostCategoryValues": if err := awsAwsjson11_deserializeDocumentCostCategoryValuesList(&sv.CostCategoryValues, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13839,6 +14301,7 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.NextPageToken = ptr.String(jtv) } + case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -13851,6 +14314,7 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.ReturnSize = ptr.Int32(int32(i64)) } + case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -13863,6 +14327,7 @@ func awsAwsjson11_deserializeOpDocumentGetCostCategoriesOutput(v **GetCostCatego } sv.TotalSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13898,10 +14363,12 @@ func awsAwsjson11_deserializeOpDocumentGetCostForecastOutput(v **GetCostForecast if err := awsAwsjson11_deserializeDocumentForecastResultsByTime(&sv.ForecastResultsByTime, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentMetricValue(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -13937,6 +14404,7 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension if err := awsAwsjson11_deserializeDocumentDimensionValuesWithAttributesList(&sv.DimensionValues, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -13945,6 +14413,7 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.NextPageToken = ptr.String(jtv) } + case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -13957,6 +14426,7 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.ReturnSize = ptr.Int32(int32(i64)) } + case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -13969,6 +14439,7 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionValuesOutput(v **GetDimension } sv.TotalSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14004,6 +14475,7 @@ func awsAwsjson11_deserializeOpDocumentGetReservationCoverageOutput(v **GetReser if err := awsAwsjson11_deserializeDocumentCoveragesByTime(&sv.CoveragesByTime, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14012,10 +14484,12 @@ func awsAwsjson11_deserializeOpDocumentGetReservationCoverageOutput(v **GetReser } sv.NextPageToken = ptr.String(jtv) } + case "Total": if err := awsAwsjson11_deserializeDocumentCoverage(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -14051,6 +14525,7 @@ func awsAwsjson11_deserializeOpDocumentGetReservationPurchaseRecommendationOutpu if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendationMetadata(&sv.Metadata, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14059,10 +14534,12 @@ func awsAwsjson11_deserializeOpDocumentGetReservationPurchaseRecommendationOutpu } sv.NextPageToken = ptr.String(jtv) } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentReservationPurchaseRecommendations(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -14102,14 +14579,17 @@ func awsAwsjson11_deserializeOpDocumentGetReservationUtilizationOutput(v **GetRe } sv.NextPageToken = ptr.String(jtv) } + case "Total": if err := awsAwsjson11_deserializeDocumentReservationAggregates(&sv.Total, value); err != nil { return err } + case "UtilizationsByTime": if err := awsAwsjson11_deserializeDocumentUtilizationsByTime(&sv.UtilizationsByTime, value); err != nil { return err } + default: _, _ = key, value @@ -14145,10 +14625,12 @@ func awsAwsjson11_deserializeOpDocumentGetRightsizingRecommendationOutput(v **Ge if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationConfiguration(&sv.Configuration, value); err != nil { return err } + case "Metadata": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationMetadata(&sv.Metadata, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14157,14 +14639,17 @@ func awsAwsjson11_deserializeOpDocumentGetRightsizingRecommendationOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } + case "RightsizingRecommendations": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationList(&sv.RightsizingRecommendations, value); err != nil { return err } + case "Summary": if err := awsAwsjson11_deserializeDocumentRightsizingRecommendationSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -14200,6 +14685,7 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlanPurchaseRecommendationDetai if err := awsAwsjson11_deserializeDocumentRecommendationDetailData(&sv.RecommendationDetailData, value); err != nil { return err } + case "RecommendationDetailId": if value != nil { jtv, ok := value.(string) @@ -14208,6 +14694,7 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlanPurchaseRecommendationDetai } sv.RecommendationDetailId = ptr.String(jtv) } + default: _, _ = key, value @@ -14247,10 +14734,12 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansCoverageOutput(v **GetSavi } sv.NextToken = ptr.String(jtv) } + case "SavingsPlansCoverages": if err := awsAwsjson11_deserializeDocumentSavingsPlansCoverages(&sv.SavingsPlansCoverages, value); err != nil { return err } + default: _, _ = key, value @@ -14286,6 +14775,7 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansPurchaseRecommendationOutp if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendationMetadata(&sv.Metadata, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14294,10 +14784,12 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansPurchaseRecommendationOutp } sv.NextPageToken = ptr.String(jtv) } + case "SavingsPlansPurchaseRecommendation": if err := awsAwsjson11_deserializeDocumentSavingsPlansPurchaseRecommendation(&sv.SavingsPlansPurchaseRecommendation, value); err != nil { return err } + default: _, _ = key, value @@ -14337,18 +14829,22 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansUtilizationDetailsOutput(v } sv.NextToken = ptr.String(jtv) } + case "SavingsPlansUtilizationDetails": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationDetails(&sv.SavingsPlansUtilizationDetails, value); err != nil { return err } + case "TimePeriod": if err := awsAwsjson11_deserializeDocumentDateInterval(&sv.TimePeriod, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -14384,10 +14880,12 @@ func awsAwsjson11_deserializeOpDocumentGetSavingsPlansUtilizationOutput(v **GetS if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationsByTime(&sv.SavingsPlansUtilizationsByTime, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentSavingsPlansUtilizationAggregates(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -14427,6 +14925,7 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.NextPageToken = ptr.String(jtv) } + case "ReturnSize": if value != nil { jtv, ok := value.(json.Number) @@ -14439,10 +14938,12 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.ReturnSize = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -14455,6 +14956,7 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.TotalSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14490,10 +14992,12 @@ func awsAwsjson11_deserializeOpDocumentGetUsageForecastOutput(v **GetUsageForeca if err := awsAwsjson11_deserializeDocumentForecastResultsByTime(&sv.ForecastResultsByTime, value); err != nil { return err } + case "Total": if err := awsAwsjson11_deserializeDocumentMetricValue(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -14529,6 +15033,7 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagBackfillHistoryOutpu if err := awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequestList(&sv.BackfillRequests, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14537,6 +15042,7 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagBackfillHistoryOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14572,6 +15078,7 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(v **ListCost if err := awsAwsjson11_deserializeDocumentCostAllocationTagList(&sv.CostAllocationTags, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14580,6 +15087,7 @@ func awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(v **ListCost } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14615,6 +15123,7 @@ func awsAwsjson11_deserializeOpDocumentListCostCategoryDefinitionsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentCostCategoryReferencesList(&sv.CostCategoryReferences, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14623,6 +15132,7 @@ func awsAwsjson11_deserializeOpDocumentListCostCategoryDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14658,6 +15168,7 @@ func awsAwsjson11_deserializeOpDocumentListSavingsPlansPurchaseRecommendationGen if err := awsAwsjson11_deserializeDocumentGenerationSummaryList(&sv.GenerationSummaryList, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -14666,6 +15177,7 @@ func awsAwsjson11_deserializeOpDocumentListSavingsPlansPurchaseRecommendationGen } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14701,6 +15213,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -14740,6 +15253,7 @@ func awsAwsjson11_deserializeOpDocumentProvideAnomalyFeedbackOutput(v **ProvideA } sv.AnomalyId = ptr.String(jtv) } + default: _, _ = key, value @@ -14775,6 +15289,7 @@ func awsAwsjson11_deserializeOpDocumentStartCostAllocationTagBackfillOutput(v ** if err := awsAwsjson11_deserializeDocumentCostAllocationTagBackfillRequest(&sv.BackfillRequest, value); err != nil { return err } + default: _, _ = key, value @@ -14814,6 +15329,7 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.EstimatedCompletionTime = ptr.String(jtv) } + case "GenerationStartedTime": if value != nil { jtv, ok := value.(string) @@ -14822,6 +15338,7 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.GenerationStartedTime = ptr.String(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -14830,6 +15347,7 @@ func awsAwsjson11_deserializeOpDocumentStartSavingsPlansPurchaseRecommendationGe } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -14931,6 +15449,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAnomalyMonitorOutput(v **UpdateAnom } sv.MonitorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14970,6 +15489,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAnomalySubscriptionOutput(v **Updat } sv.SubscriptionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15005,6 +15525,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostAllocationTagsStatusOutput(v ** if err := awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -15044,6 +15565,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostCategoryDefinitionOutput(v **Up } sv.CostCategoryArn = ptr.String(jtv) } + case "EffectiveStart": if value != nil { jtv, ok := value.(string) @@ -15052,6 +15574,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCostCategoryDefinitionOutput(v **Up } sv.EffectiveStart = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/costoptimizationhub/deserializers.go b/service/costoptimizationhub/deserializers.go index d55550301b1..832ab05a7a9 100644 --- a/service/costoptimizationhub/deserializers.go +++ b/service/costoptimizationhub/deserializers.go @@ -1078,6 +1078,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1117,6 +1118,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.AccountId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1132,6 +1134,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } + case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1147,6 +1150,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1155,6 +1159,7 @@ func awsAwsjson10_deserializeDocumentAccountEnrollmentStatus(v **types.AccountEn } sv.Status = types.EnrollmentStatus(jtv) } + default: _, _ = key, value @@ -1253,6 +1258,7 @@ func awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(v **ty } } + case "throughput": if value != nil { switch jtv := value.(type) { @@ -1286,6 +1292,7 @@ func awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(v **ty } } + default: _, _ = key, value @@ -1325,6 +1332,7 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.Architecture = ptr.String(jtv) } + case "memorySizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -1337,6 +1345,7 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.MemorySizeInMB = ptr.Int32(int32(i64)) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -1345,6 +1354,7 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } sv.Platform = ptr.String(jtv) } + case "vCpu": if value != nil { switch jtv := value.(type) { @@ -1378,6 +1388,7 @@ func awsAwsjson10_deserializeDocumentComputeConfiguration(v **types.ComputeConfi } } + default: _, _ = key, value @@ -1413,10 +1424,12 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlans(v **types.ComputeSaving if err := awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1456,6 +1469,7 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.AccountScope = ptr.String(jtv) } + case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -1464,6 +1478,7 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.HourlyCommitment = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1472,6 +1487,7 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.PaymentOption = ptr.String(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -1480,6 +1496,7 @@ func awsAwsjson10_deserializeDocumentComputeSavingsPlansConfiguration(v **types. } sv.Term = ptr.String(jtv) } + default: _, _ = key, value @@ -1519,6 +1536,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceConfiguration(v **types.DbInstanc } sv.DbInstanceClass = ptr.String(jtv) } + default: _, _ = key, value @@ -1554,10 +1572,12 @@ func awsAwsjson10_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf if err := awsAwsjson10_deserializeDocumentEbsVolumeConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1597,14 +1617,17 @@ func awsAwsjson10_deserializeDocumentEbsVolumeConfiguration(v **types.EbsVolumeC } sv.AttachmentState = ptr.String(jtv) } + case "performance": if err := awsAwsjson10_deserializeDocumentBlockStoragePerformanceConfiguration(&sv.Performance, value); err != nil { return err } + case "storage": if err := awsAwsjson10_deserializeDocumentStorageConfiguration(&sv.Storage, value); err != nil { return err } + default: _, _ = key, value @@ -1640,10 +1663,12 @@ func awsAwsjson10_deserializeDocumentEc2AutoScalingGroup(v **types.Ec2AutoScalin if err := awsAwsjson10_deserializeDocumentEc2AutoScalingGroupConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1679,6 +1704,7 @@ func awsAwsjson10_deserializeDocumentEc2AutoScalingGroupConfiguration(v **types. if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -1714,10 +1740,12 @@ func awsAwsjson10_deserializeDocumentEc2Instance(v **types.Ec2Instance, value in if err := awsAwsjson10_deserializeDocumentEc2InstanceConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1753,6 +1781,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceConfiguration(v **types.Ec2Insta if err := awsAwsjson10_deserializeDocumentInstanceConfiguration(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -1788,10 +1817,12 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlans(v **types.Ec2Instan if err := awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1831,6 +1862,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.AccountScope = ptr.String(jtv) } + case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -1839,6 +1871,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.HourlyCommitment = ptr.String(jtv) } + case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -1847,6 +1880,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.InstanceFamily = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1855,6 +1889,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.PaymentOption = ptr.String(jtv) } + case "savingsPlansRegion": if value != nil { jtv, ok := value.(string) @@ -1863,6 +1898,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.SavingsPlansRegion = ptr.String(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -1871,6 +1907,7 @@ func awsAwsjson10_deserializeDocumentEc2InstanceSavingsPlansConfiguration(v **ty } sv.Term = ptr.String(jtv) } + default: _, _ = key, value @@ -1906,10 +1943,12 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstances(v **types.Ec2ReservedI if err := awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -1949,6 +1988,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.AccountScope = ptr.String(jtv) } + case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -1957,6 +1997,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.CurrentGeneration = ptr.String(jtv) } + case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -1965,6 +2006,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.InstanceFamily = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -1973,6 +2015,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.InstanceType = ptr.String(jtv) } + case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -1981,6 +2024,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.MonthlyRecurringCost = ptr.String(jtv) } + case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -1989,6 +2033,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } + case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -1997,6 +2042,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } + case "offeringClass": if value != nil { jtv, ok := value.(string) @@ -2005,6 +2051,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.OfferingClass = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2013,6 +2060,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.PaymentOption = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -2021,6 +2069,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Platform = ptr.String(jtv) } + case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2029,6 +2078,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.ReservedInstancesRegion = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -2037,6 +2087,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Service = ptr.String(jtv) } + case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2045,6 +2096,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.SizeFlexEligible = ptr.Bool(jtv) } + case "tenancy": if value != nil { jtv, ok := value.(string) @@ -2053,6 +2105,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Tenancy = ptr.String(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -2061,6 +2114,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.Term = ptr.String(jtv) } + case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2069,6 +2123,7 @@ func awsAwsjson10_deserializeDocumentEc2ReservedInstancesConfiguration(v **types } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -2104,10 +2159,12 @@ func awsAwsjson10_deserializeDocumentEcsService(v **types.EcsService, value inte if err := awsAwsjson10_deserializeDocumentEcsServiceConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2143,6 +2200,7 @@ func awsAwsjson10_deserializeDocumentEcsServiceConfiguration(v **types.EcsServic if err := awsAwsjson10_deserializeDocumentComputeConfiguration(&sv.Compute, value); err != nil { return err } + default: _, _ = key, value @@ -2178,10 +2236,12 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstances(v **types.Elas if err := awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2221,6 +2281,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.AccountScope = ptr.String(jtv) } + case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -2229,6 +2290,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.CurrentGeneration = ptr.String(jtv) } + case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -2237,6 +2299,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.InstanceFamily = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2245,6 +2308,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.InstanceType = ptr.String(jtv) } + case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -2253,6 +2317,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.MonthlyRecurringCost = ptr.String(jtv) } + case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -2261,6 +2326,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } + case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -2269,6 +2335,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2277,6 +2344,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.PaymentOption = ptr.String(jtv) } + case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2285,6 +2353,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.ReservedInstancesRegion = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -2293,6 +2362,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.Service = ptr.String(jtv) } + case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2301,6 +2371,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.SizeFlexEligible = ptr.Bool(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -2309,6 +2380,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.Term = ptr.String(jtv) } + case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2317,6 +2389,7 @@ func awsAwsjson10_deserializeDocumentElastiCacheReservedInstancesConfiguration(v } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -2381,6 +2454,7 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } + case "reservedInstancesDiscount": if value != nil { switch jtv := value.(type) { @@ -2414,6 +2488,7 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } + case "savingsPlansDiscount": if value != nil { switch jtv := value.(type) { @@ -2447,6 +2522,7 @@ func awsAwsjson10_deserializeDocumentEstimatedDiscounts(v **types.EstimatedDisco } } + default: _, _ = key, value @@ -2486,6 +2562,7 @@ func awsAwsjson10_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2525,6 +2602,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2560,10 +2638,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunction(v **types.LambdaFunction, va if err := awsAwsjson10_deserializeDocumentLambdaFunctionConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2599,6 +2679,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionConfiguration(v **types.Lambd if err := awsAwsjson10_deserializeDocumentComputeConfiguration(&sv.Compute, value); err != nil { return err } + default: _, _ = key, value @@ -2634,10 +2715,12 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstances(v **types.OpenS if err := awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2677,6 +2760,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.AccountScope = ptr.String(jtv) } + case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -2685,6 +2769,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.CurrentGeneration = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2693,6 +2778,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.InstanceType = ptr.String(jtv) } + case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -2701,6 +2787,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.MonthlyRecurringCost = ptr.String(jtv) } + case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -2709,6 +2796,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } + case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -2717,6 +2805,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2725,6 +2814,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.PaymentOption = ptr.String(jtv) } + case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -2733,6 +2823,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.ReservedInstancesRegion = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -2741,6 +2832,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.Service = ptr.String(jtv) } + case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -2749,6 +2841,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.SizeFlexEligible = ptr.Bool(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -2757,6 +2850,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.Term = ptr.String(jtv) } + case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -2765,6 +2859,7 @@ func awsAwsjson10_deserializeDocumentOpenSearchReservedInstancesConfiguration(v } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -2800,10 +2895,12 @@ func awsAwsjson10_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu if err := awsAwsjson10_deserializeDocumentRdsDbInstanceConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2839,6 +2936,7 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceConfiguration(v **types.RdsDbI if err := awsAwsjson10_deserializeDocumentDbInstanceConfiguration(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -2874,10 +2972,12 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorage(v **types.RdsDbInstanc if err := awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentResourceCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -2942,6 +3042,7 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } + case "iops": if value != nil { switch jtv := value.(type) { @@ -2975,6 +3076,7 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } + case "storageThroughput": if value != nil { switch jtv := value.(type) { @@ -3008,6 +3110,7 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -3016,6 +3119,7 @@ func awsAwsjson10_deserializeDocumentRdsDbInstanceStorageConfiguration(v **types } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -3051,10 +3155,12 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstances(v **types.RdsReservedI if err := awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -3094,6 +3200,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.AccountScope = ptr.String(jtv) } + case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -3102,6 +3209,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.CurrentGeneration = ptr.String(jtv) } + case "databaseEdition": if value != nil { jtv, ok := value.(string) @@ -3110,6 +3218,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DatabaseEdition = ptr.String(jtv) } + case "databaseEngine": if value != nil { jtv, ok := value.(string) @@ -3118,6 +3227,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DatabaseEngine = ptr.String(jtv) } + case "deploymentOption": if value != nil { jtv, ok := value.(string) @@ -3126,6 +3236,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.DeploymentOption = ptr.String(jtv) } + case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -3134,6 +3245,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.InstanceFamily = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3142,6 +3254,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.InstanceType = ptr.String(jtv) } + case "licenseModel": if value != nil { jtv, ok := value.(string) @@ -3150,6 +3263,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.LicenseModel = ptr.String(jtv) } + case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -3158,6 +3272,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.MonthlyRecurringCost = ptr.String(jtv) } + case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -3166,6 +3281,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } + case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -3174,6 +3290,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -3182,6 +3299,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.PaymentOption = ptr.String(jtv) } + case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -3190,6 +3308,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.ReservedInstancesRegion = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -3198,6 +3317,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.Service = ptr.String(jtv) } + case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -3206,6 +3326,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.SizeFlexEligible = ptr.Bool(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -3214,6 +3335,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.Term = ptr.String(jtv) } + case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -3222,6 +3344,7 @@ func awsAwsjson10_deserializeDocumentRdsReservedInstancesConfiguration(v **types } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -3261,6 +3384,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.AccountId = ptr.String(jtv) } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -3269,6 +3393,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ActionType = ptr.String(jtv) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -3277,6 +3402,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrencyCode = ptr.String(jtv) } + case "currentResourceSummary": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3411,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrentResourceSummary = ptr.String(jtv) } + case "currentResourceType": if value != nil { jtv, ok := value.(string) @@ -3293,6 +3420,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CurrentResourceType = ptr.String(jtv) } + case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -3326,6 +3454,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "estimatedMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -3359,6 +3488,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "estimatedSavingsPercentage": if value != nil { switch jtv := value.(type) { @@ -3392,6 +3522,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "implementationEffort": if value != nil { jtv, ok := value.(string) @@ -3400,6 +3531,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ImplementationEffort = ptr.String(jtv) } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -3415,6 +3547,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -3423,6 +3556,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationId = ptr.String(jtv) } + case "recommendationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3435,6 +3569,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationLookbackPeriodInDays = ptr.Int32(int32(i64)) } + case "recommendedResourceSummary": if value != nil { jtv, ok := value.(string) @@ -3443,6 +3578,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendedResourceSummary = ptr.String(jtv) } + case "recommendedResourceType": if value != nil { jtv, ok := value.(string) @@ -3451,6 +3587,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendedResourceType = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -3459,6 +3596,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Region = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3467,6 +3605,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3614,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceId = ptr.String(jtv) } + case "restartNeeded": if value != nil { jtv, ok := value.(bool) @@ -3483,6 +3623,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RestartNeeded = ptr.Bool(jtv) } + case "rollbackPossible": if value != nil { jtv, ok := value.(bool) @@ -3491,6 +3632,7 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RollbackPossible = ptr.Bool(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -3499,10 +3641,12 @@ func awsAwsjson10_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Source = types.Source(jtv) } + case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3635,6 +3779,7 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } } + case "group": if value != nil { jtv, ok := value.(string) @@ -3643,6 +3788,7 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Group = ptr.String(jtv) } + case "recommendationCount": if value != nil { jtv, ok := value.(json.Number) @@ -3655,6 +3801,7 @@ func awsAwsjson10_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.RecommendationCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3690,10 +3837,12 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstances(v **types.Redshif if err := awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -3733,6 +3882,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.AccountScope = ptr.String(jtv) } + case "currentGeneration": if value != nil { jtv, ok := value.(string) @@ -3741,6 +3891,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.CurrentGeneration = ptr.String(jtv) } + case "instanceFamily": if value != nil { jtv, ok := value.(string) @@ -3749,6 +3900,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.InstanceFamily = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3757,6 +3909,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.InstanceType = ptr.String(jtv) } + case "monthlyRecurringCost": if value != nil { jtv, ok := value.(string) @@ -3765,6 +3918,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.MonthlyRecurringCost = ptr.String(jtv) } + case "normalizedUnitsToPurchase": if value != nil { jtv, ok := value.(string) @@ -3773,6 +3927,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.NormalizedUnitsToPurchase = ptr.String(jtv) } + case "numberOfInstancesToPurchase": if value != nil { jtv, ok := value.(string) @@ -3781,6 +3936,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.NumberOfInstancesToPurchase = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -3789,6 +3945,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.PaymentOption = ptr.String(jtv) } + case "reservedInstancesRegion": if value != nil { jtv, ok := value.(string) @@ -3797,6 +3954,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.ReservedInstancesRegion = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -3805,6 +3963,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.Service = ptr.String(jtv) } + case "sizeFlexEligible": if value != nil { jtv, ok := value.(bool) @@ -3813,6 +3972,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.SizeFlexEligible = ptr.Bool(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -3821,6 +3981,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.Term = ptr.String(jtv) } + case "upfrontCost": if value != nil { jtv, ok := value.(string) @@ -3829,6 +3990,7 @@ func awsAwsjson10_deserializeDocumentRedshiftReservedInstancesConfiguration(v ** } sv.UpfrontCost = ptr.String(jtv) } + default: _, _ = key, value @@ -3864,6 +4026,7 @@ func awsAwsjson10_deserializeDocumentReservedInstancesCostCalculation(v **types. if err := awsAwsjson10_deserializeDocumentReservedInstancesPricing(&sv.Pricing, value); err != nil { return err } + default: _, _ = key, value @@ -3928,6 +4091,7 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } + case "estimatedOnDemandCost": if value != nil { switch jtv := value.(type) { @@ -3961,6 +4125,7 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } + case "monthlyReservationEligibleCost": if value != nil { switch jtv := value.(type) { @@ -3994,6 +4159,7 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } + case "savingsPercentage": if value != nil { switch jtv := value.(type) { @@ -4027,6 +4193,7 @@ func awsAwsjson10_deserializeDocumentReservedInstancesPricing(v **types.Reserved } } + default: _, _ = key, value @@ -4062,10 +4229,12 @@ func awsAwsjson10_deserializeDocumentResourceCostCalculation(v **types.ResourceC if err := awsAwsjson10_deserializeDocumentResourcePricing(&sv.Pricing, value); err != nil { return err } + case "usages": if err := awsAwsjson10_deserializeDocumentUsageList(&sv.Usages, value); err != nil { return err } + default: _, _ = key, value @@ -4285,6 +4454,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4293,6 +4463,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4357,6 +4528,7 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } + case "estimatedCostBeforeDiscounts": if value != nil { switch jtv := value.(type) { @@ -4390,10 +4562,12 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } + case "estimatedDiscounts": if err := awsAwsjson10_deserializeDocumentEstimatedDiscounts(&sv.EstimatedDiscounts, value); err != nil { return err } + case "estimatedNetUnusedAmortizedCommitments": if value != nil { switch jtv := value.(type) { @@ -4427,6 +4601,7 @@ func awsAwsjson10_deserializeDocumentResourcePricing(v **types.ResourcePricing, } } + default: _, _ = key, value @@ -4462,10 +4637,12 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlans(v **types.SageMakerSa if err := awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(&sv.Configuration, value); err != nil { return err } + case "costCalculation": if err := awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(&sv.CostCalculation, value); err != nil { return err } + default: _, _ = key, value @@ -4505,6 +4682,7 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.AccountScope = ptr.String(jtv) } + case "hourlyCommitment": if value != nil { jtv, ok := value.(string) @@ -4513,6 +4691,7 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.HourlyCommitment = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4700,7 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.PaymentOption = ptr.String(jtv) } + case "term": if value != nil { jtv, ok := value.(string) @@ -4529,6 +4709,7 @@ func awsAwsjson10_deserializeDocumentSageMakerSavingsPlansConfiguration(v **type } sv.Term = ptr.String(jtv) } + default: _, _ = key, value @@ -4564,6 +4745,7 @@ func awsAwsjson10_deserializeDocumentSavingsPlansCostCalculation(v **types.Savin if err := awsAwsjson10_deserializeDocumentSavingsPlansPricing(&sv.Pricing, value); err != nil { return err } + default: _, _ = key, value @@ -4628,6 +4810,7 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } + case "estimatedOnDemandCost": if value != nil { switch jtv := value.(type) { @@ -4661,6 +4844,7 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } + case "monthlySavingsPlansEligibleCost": if value != nil { switch jtv := value.(type) { @@ -4694,6 +4878,7 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } + case "savingsPercentage": if value != nil { switch jtv := value.(type) { @@ -4727,6 +4912,7 @@ func awsAwsjson10_deserializeDocumentSavingsPlansPricing(v **types.SavingsPlansP } } + default: _, _ = key, value @@ -4791,6 +4977,7 @@ func awsAwsjson10_deserializeDocumentStorageConfiguration(v **types.StorageConfi } } + case "type": if value != nil { jtv, ok := value.(string) @@ -4799,6 +4986,7 @@ func awsAwsjson10_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4838,6 +5026,7 @@ func awsAwsjson10_deserializeDocumentSummaryMetricsResult(v **types.SummaryMetri } sv.SavingsPercentage = ptr.String(jtv) } + default: _, _ = key, value @@ -4877,6 +5066,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -4885,6 +5075,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4958,6 +5149,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4997,6 +5189,7 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Operation = ptr.String(jtv) } + case "productCode": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5198,7 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.ProductCode = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -5013,6 +5207,7 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Unit = ptr.String(jtv) } + case "usageAmount": if value != nil { switch jtv := value.(type) { @@ -5046,6 +5241,7 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -5054,6 +5250,7 @@ func awsAwsjson10_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -5123,6 +5320,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionDetails(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5131,6 +5329,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5139,6 +5338,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -5178,6 +5378,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionDetail(v **types.Validat } sv.FieldName = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -5186,6 +5387,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionDetail(v **types.Validat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5259,6 +5461,7 @@ func awsAwsjson10_deserializeOpDocumentGetPreferencesOutput(v **GetPreferencesOu } sv.MemberAccountDiscountVisibility = types.MemberAccountDiscountVisibility(jtv) } + case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -5267,6 +5470,7 @@ func awsAwsjson10_deserializeOpDocumentGetPreferencesOutput(v **GetPreferencesOu } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } + default: _, _ = key, value @@ -5306,6 +5510,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.AccountId = ptr.String(jtv) } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -5314,6 +5519,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ActionType = types.ActionType(jtv) } + case "costCalculationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -5326,6 +5532,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CostCalculationLookbackPeriodInDays = ptr.Int32(int32(i64)) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -5334,10 +5541,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CurrencyCode = ptr.String(jtv) } + case "currentResourceDetails": if err := awsAwsjson10_deserializeDocumentResourceDetails(&sv.CurrentResourceDetails, value); err != nil { return err } + case "currentResourceType": if value != nil { jtv, ok := value.(string) @@ -5346,6 +5555,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.CurrentResourceType = types.ResourceType(jtv) } + case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -5379,6 +5589,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } + case "estimatedMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -5412,6 +5623,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } + case "estimatedSavingsOverCostCalculationLookbackPeriod": if value != nil { switch jtv := value.(type) { @@ -5445,6 +5657,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } + case "estimatedSavingsPercentage": if value != nil { switch jtv := value.(type) { @@ -5478,6 +5691,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } + case "implementationEffort": if value != nil { jtv, ok := value.(string) @@ -5486,6 +5700,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ImplementationEffort = types.ImplementationEffort(jtv) } + case "lastRefreshTimestamp": if value != nil { switch jtv := value.(type) { @@ -5501,6 +5716,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -5509,6 +5725,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendationId = ptr.String(jtv) } + case "recommendationLookbackPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -5521,10 +5738,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendationLookbackPeriodInDays = ptr.Int32(int32(i64)) } + case "recommendedResourceDetails": if err := awsAwsjson10_deserializeDocumentResourceDetails(&sv.RecommendedResourceDetails, value); err != nil { return err } + case "recommendedResourceType": if value != nil { jtv, ok := value.(string) @@ -5533,6 +5752,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RecommendedResourceType = types.ResourceType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -5541,6 +5761,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.Region = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -5549,6 +5770,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5557,6 +5779,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.ResourceId = ptr.String(jtv) } + case "restartNeeded": if value != nil { jtv, ok := value.(bool) @@ -5565,6 +5788,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RestartNeeded = ptr.Bool(jtv) } + case "rollbackPossible": if value != nil { jtv, ok := value.(bool) @@ -5573,6 +5797,7 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.RollbackPossible = ptr.Bool(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -5581,10 +5806,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda } sv.Source = types.Source(jtv) } + case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5624,10 +5851,12 @@ func awsAwsjson10_deserializeOpDocumentListEnrollmentStatusesOutput(v **ListEnro } sv.IncludeMemberAccounts = ptr.Bool(jtv) } + case "items": if err := awsAwsjson10_deserializeDocumentAccountEnrollmentStatuses(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5636,6 +5865,7 @@ func awsAwsjson10_deserializeOpDocumentListEnrollmentStatusesOutput(v **ListEnro } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5671,6 +5901,7 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme if err := awsAwsjson10_deserializeDocumentRecommendationList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5679,6 +5910,7 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5718,6 +5950,7 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.CurrencyCode = ptr.String(jtv) } + case "estimatedTotalDedupedSavings": if value != nil { switch jtv := value.(type) { @@ -5751,6 +5984,7 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } } + case "groupBy": if value != nil { jtv, ok := value.(string) @@ -5759,14 +5993,17 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.GroupBy = ptr.String(jtv) } + case "items": if err := awsAwsjson10_deserializeDocumentRecommendationSummariesList(&sv.Items, value); err != nil { return err } + case "metrics": if err := awsAwsjson10_deserializeDocumentSummaryMetricsResult(&sv.Metrics, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5775,6 +6012,7 @@ func awsAwsjson10_deserializeOpDocumentListRecommendationSummariesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5814,6 +6052,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnrollmentStatusOutput(v **UpdateEn } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5853,6 +6092,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePreferencesOutput(v **UpdatePrefere } sv.MemberAccountDiscountVisibility = types.MemberAccountDiscountVisibility(jtv) } + case "savingsEstimationMode": if value != nil { jtv, ok := value.(string) @@ -5861,6 +6101,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePreferencesOutput(v **UpdatePrefere } sv.SavingsEstimationMode = types.SavingsEstimationMode(jtv) } + default: _, _ = key, value diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index fcc41ba30ce..022f024ff81 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -188,10 +188,12 @@ func awsRestjson1_deserializeOpDocumentAddProfileKeyOutput(v **AddProfileKeyOutp } sv.KeyName = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentRequestValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -355,6 +357,7 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } + case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -363,10 +366,12 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.CalculatedAttributeName = ptr.String(jtv) } + case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -382,6 +387,7 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -390,6 +396,7 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -398,6 +405,7 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.DisplayName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -413,6 +421,7 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -421,10 +430,12 @@ func awsRestjson1_deserializeOpDocumentCreateCalculatedAttributeDefinitionOutput } sv.Statistic = types.Statistic(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -599,6 +610,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } } + case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -607,6 +619,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DeadLetterQueueUrl = ptr.String(jtv) } + case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -615,6 +628,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DefaultEncryptionKey = ptr.String(jtv) } + case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -627,6 +641,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -635,6 +650,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -650,18 +666,22 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } } + case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } + case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -829,10 +849,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventStreamOutput(v **CreateEventSt } sv.EventStreamArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1000,6 +1022,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationWorkflowOutput(v **Creat } sv.Message = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -1008,6 +1031,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntegrationWorkflowOutput(v **Creat } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -1175,6 +1199,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -1442,6 +1467,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1709,6 +1735,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIntegrationOutput(v **DeleteIntegra } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1876,6 +1903,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2043,6 +2071,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileKeyOutput(v **DeleteProfileK } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2210,6 +2239,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileObjectOutput(v **DeleteProfi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2377,6 +2407,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileObjectTypeOutput(v **DeleteP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2640,6 +2671,7 @@ func awsRestjson1_deserializeOpDocumentDetectProfileObjectTypeOutput(v **DetectP if err := awsRestjson1_deserializeDocumentDetectedProfileObjectTypes(&sv.DetectedProfileObjectTypes, value); err != nil { return err } + default: _, _ = key, value @@ -2807,6 +2839,7 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.DomainName = ptr.String(jtv) } + case "NumberOfMatchesInSample": if value != nil { jtv, ok := value.(json.Number) @@ -2819,6 +2852,7 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfMatchesInSample = i64 } + case "NumberOfProfilesInSample": if value != nil { jtv, ok := value.(json.Number) @@ -2831,6 +2865,7 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfProfilesInSample = i64 } + case "NumberOfProfilesWillBeMerged": if value != nil { jtv, ok := value.(json.Number) @@ -2843,6 +2878,7 @@ func awsRestjson1_deserializeOpDocumentGetAutoMergingPreviewOutput(v **GetAutoMe } sv.NumberOfProfilesWillBeMerged = i64 } + default: _, _ = key, value @@ -3006,6 +3042,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } + case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -3014,10 +3051,12 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.CalculatedAttributeName = ptr.String(jtv) } + case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3033,6 +3072,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3041,6 +3081,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3049,6 +3090,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.DisplayName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3064,6 +3106,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -3072,10 +3115,12 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeDefinitionOutput(v } sv.Statistic = types.Statistic(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3243,6 +3288,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.CalculatedAttributeName = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3251,6 +3297,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.DisplayName = ptr.String(jtv) } + case "IsDataPartial": if value != nil { jtv, ok := value.(string) @@ -3259,6 +3306,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.IsDataPartial = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3267,6 +3315,7 @@ func awsRestjson1_deserializeOpDocumentGetCalculatedAttributeForProfileOutput(v } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3441,6 +3490,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } + case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -3449,6 +3499,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DeadLetterQueueUrl = ptr.String(jtv) } + case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -3457,6 +3508,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DefaultEncryptionKey = ptr.String(jtv) } + case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -3469,6 +3521,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3530,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3492,22 +3546,27 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } + case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } + case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } + case "Stats": if err := awsRestjson1_deserializeDocumentDomainStats(&sv.Stats, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3682,10 +3741,12 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } } + case "DestinationDetails": if err := awsRestjson1_deserializeDocumentEventStreamDestinationDetails(&sv.DestinationDetails, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3694,6 +3755,7 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.DomainName = ptr.String(jtv) } + case "EventStreamArn": if value != nil { jtv, ok := value.(string) @@ -3702,6 +3764,7 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.EventStreamArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3710,6 +3773,7 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } sv.State = types.EventStreamState(jtv) } + case "StoppedSince": if value != nil { switch jtv := value.(type) { @@ -3725,10 +3789,12 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3892,6 +3958,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde if err := awsRestjson1_deserializeDocumentAutoMerging(&sv.AutoMerging, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -3900,10 +3967,12 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.DomainName = ptr.String(jtv) } + case "ExportingLocation": if err := awsRestjson1_deserializeDocumentExportingLocation(&sv.ExportingLocation, value); err != nil { return err } + case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -3919,6 +3988,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } + case "JobExpirationTime": if value != nil { switch jtv := value.(type) { @@ -3934,6 +4004,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -3942,6 +4013,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.JobId = ptr.String(jtv) } + case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -3957,10 +4029,12 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } + case "JobStats": if err := awsRestjson1_deserializeDocumentJobStats(&sv.JobStats, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3976,6 +4050,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3984,6 +4059,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3992,6 +4068,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityResolutionJobOutput(v **GetIde } sv.Status = types.IdentityResolutionJobStatus(jtv) } + default: _, _ = key, value @@ -4166,6 +4243,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4174,6 +4252,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.DomainName = ptr.String(jtv) } + case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -4182,6 +4261,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.IsUnstructured = ptr.Bool(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4197,6 +4277,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -4205,10 +4286,12 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.ObjectTypeName = ptr.String(jtv) } + case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -4217,10 +4300,12 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -4229,6 +4314,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.Uri = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -4237,6 +4323,7 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -4400,6 +4487,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va if err := awsRestjson1_deserializeDocumentMatchesList(&sv.Matches, value); err != nil { return err } + case "MatchGenerationDate": if value != nil { switch jtv := value.(type) { @@ -4415,6 +4503,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4423,6 +4512,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } sv.NextToken = ptr.String(jtv) } + case "PotentialMatches": if value != nil { jtv, ok := value.(json.Number) @@ -4435,6 +4525,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchesOutput(v **GetMatchesOutput, va } sv.PotentialMatches = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4602,6 +4693,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.AllowProfileCreation = jtv } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4617,6 +4709,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4625,6 +4718,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.Description = ptr.String(jtv) } + case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -4633,6 +4727,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.EncryptionKey = ptr.String(jtv) } + case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -4645,14 +4740,17 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.ExpirationDays = ptr.Int32(int32(i64)) } + case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4668,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } } + case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4680,6 +4779,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } + case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4692,6 +4792,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -4700,6 +4801,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.ObjectTypeName = ptr.String(jtv) } + case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -4708,10 +4810,12 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -4720,6 +4824,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeOutput(v **GetProfile } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -4887,14 +4992,17 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.AllowProfileCreation = jtv } + case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } + case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -4903,6 +5011,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } + case "SourceName": if value != nil { jtv, ok := value.(string) @@ -4911,6 +5020,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceName = ptr.String(jtv) } + case "SourceObject": if value != nil { jtv, ok := value.(string) @@ -4919,6 +5029,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.SourceObject = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -4927,6 +5038,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileObjectTypeTemplateOutput(v **Ge } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -5119,6 +5231,7 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } } + case "MatchId": if value != nil { jtv, ok := value.(string) @@ -5127,6 +5240,7 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.MatchId = ptr.String(jtv) } + case "MatchType": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5249,7 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.MatchType = types.MatchType(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5143,10 +5258,12 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.NextToken = ptr.String(jtv) } + case "ProfileIds": if err := awsRestjson1_deserializeDocumentProfileIdList(&sv.ProfileIds, value); err != nil { return err } + case "RuleLevel": if value != nil { jtv, ok := value.(json.Number) @@ -5159,6 +5276,7 @@ func awsRestjson1_deserializeOpDocumentGetSimilarProfilesOutput(v **GetSimilarPr } sv.RuleLevel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5322,6 +5440,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsRestjson1_deserializeDocumentWorkflowAttributes(&sv.Attributes, value); err != nil { return err } + case "ErrorDescription": if value != nil { jtv, ok := value.(string) @@ -5330,6 +5449,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.ErrorDescription = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5345,10 +5465,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "Metrics": if err := awsRestjson1_deserializeDocumentWorkflowMetrics(&sv.Metrics, value); err != nil { return err } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -5364,6 +5486,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5372,6 +5495,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.Status(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -5380,6 +5504,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowId = ptr.String(jtv) } + case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -5388,6 +5513,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowType = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -5551,6 +5677,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte if err := awsRestjson1_deserializeDocumentWorkflowStepsList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5559,6 +5686,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.NextToken = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -5567,6 +5695,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.WorkflowId = ptr.String(jtv) } + case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -5575,6 +5704,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepsOutput(v **GetWorkflowSte } sv.WorkflowType = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -5738,6 +5868,7 @@ func awsRestjson1_deserializeOpDocumentListAccountIntegrationsOutput(v **ListAcc if err := awsRestjson1_deserializeDocumentIntegrationList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5746,6 +5877,7 @@ func awsRestjson1_deserializeOpDocumentListAccountIntegrationsOutput(v **ListAcc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5909,6 +6041,7 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributeDefinitionsOutput( if err := awsRestjson1_deserializeDocumentCalculatedAttributeDefinitionsList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5917,6 +6050,7 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributeDefinitionsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6080,6 +6214,7 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributesForProfileOutput( if err := awsRestjson1_deserializeDocumentCalculatedAttributesForProfileList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6223,7 @@ func awsRestjson1_deserializeOpDocumentListCalculatedAttributesForProfileOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6251,6 +6387,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6259,6 +6396,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6422,6 +6560,7 @@ func awsRestjson1_deserializeOpDocumentListEventStreamsOutput(v **ListEventStrea if err := awsRestjson1_deserializeDocumentEventStreamSummaryList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6430,6 +6569,7 @@ func awsRestjson1_deserializeOpDocumentListEventStreamsOutput(v **ListEventStrea } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6593,6 +6733,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityResolutionJobsOutput(v **List if err := awsRestjson1_deserializeDocumentIdentityResolutionJobsList(&sv.IdentityResolutionJobsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6601,6 +6742,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityResolutionJobsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6764,6 +6906,7 @@ func awsRestjson1_deserializeOpDocumentListIntegrationsOutput(v **ListIntegratio if err := awsRestjson1_deserializeDocumentIntegrationList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6772,6 +6915,7 @@ func awsRestjson1_deserializeOpDocumentListIntegrationsOutput(v **ListIntegratio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6935,6 +7079,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectsOutput(v **ListProfileO if err := awsRestjson1_deserializeDocumentProfileObjectList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6943,6 +7088,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectsOutput(v **ListProfileO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7106,6 +7252,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypesOutput(v **ListProf if err := awsRestjson1_deserializeDocumentProfileObjectTypeList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7114,6 +7261,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypesOutput(v **ListProf } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7277,6 +7425,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypeTemplatesOutput(v ** if err := awsRestjson1_deserializeDocumentProfileObjectTypeTemplateList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7285,6 +7434,7 @@ func awsRestjson1_deserializeOpDocumentListProfileObjectTypeTemplatesOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7448,6 +7598,7 @@ func awsRestjson1_deserializeOpDocumentListRuleBasedMatchesOutput(v **ListRuleBa if err := awsRestjson1_deserializeDocumentMatchIdList(&sv.MatchIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7456,6 +7607,7 @@ func awsRestjson1_deserializeOpDocumentListRuleBasedMatchesOutput(v **ListRuleBa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7613,6 +7765,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7776,6 +7929,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7784,6 +7938,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7948,6 +8103,7 @@ func awsRestjson1_deserializeOpDocumentMergeProfilesOutput(v **MergeProfilesOutp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8122,6 +8278,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -8130,6 +8287,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.DomainName = ptr.String(jtv) } + case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -8138,6 +8296,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.IsUnstructured = ptr.Bool(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -8153,6 +8312,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -8161,10 +8321,12 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.ObjectTypeName = ptr.String(jtv) } + case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8173,10 +8335,12 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -8185,6 +8349,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.Uri = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -8193,6 +8358,7 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -8360,6 +8526,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectOutput(v **PutProfileObje } sv.ProfileObjectUniqueKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8527,6 +8694,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.AllowProfileCreation = jtv } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -8542,6 +8710,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8550,6 +8719,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.Description = ptr.String(jtv) } + case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -8558,6 +8728,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.EncryptionKey = ptr.String(jtv) } + case "ExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -8570,14 +8741,17 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.ExpirationDays = ptr.Int32(int32(i64)) } + case "Fields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -8593,6 +8767,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } } + case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -8605,6 +8780,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } + case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -8617,6 +8793,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -8625,6 +8802,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.ObjectTypeName = ptr.String(jtv) } + case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -8633,10 +8811,12 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -8645,6 +8825,7 @@ func awsRestjson1_deserializeOpDocumentPutProfileObjectTypeOutput(v **PutProfile } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -8808,6 +8989,7 @@ func awsRestjson1_deserializeOpDocumentSearchProfilesOutput(v **SearchProfilesOu if err := awsRestjson1_deserializeDocumentProfileList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8816,6 +8998,7 @@ func awsRestjson1_deserializeOpDocumentSearchProfilesOutput(v **SearchProfilesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9167,6 +9350,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput if err := awsRestjson1_deserializeDocumentAttributeDetails(&sv.AttributeDetails, value); err != nil { return err } + case "CalculatedAttributeName": if value != nil { jtv, ok := value.(string) @@ -9175,10 +9359,12 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.CalculatedAttributeName = ptr.String(jtv) } + case "Conditions": if err := awsRestjson1_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -9194,6 +9380,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9202,6 +9389,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -9210,6 +9398,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.DisplayName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9225,6 +9414,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -9233,10 +9423,12 @@ func awsRestjson1_deserializeOpDocumentUpdateCalculatedAttributeDefinitionOutput } sv.Statistic = types.Statistic(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9411,6 +9603,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } + case "DeadLetterQueueUrl": if value != nil { jtv, ok := value.(string) @@ -9419,6 +9612,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DeadLetterQueueUrl = ptr.String(jtv) } + case "DefaultEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -9427,6 +9621,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DefaultEncryptionKey = ptr.String(jtv) } + case "DefaultExpirationDays": if value != nil { jtv, ok := value.(json.Number) @@ -9439,6 +9634,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DefaultExpirationDays = ptr.Int32(int32(i64)) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -9447,6 +9643,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9462,18 +9659,22 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } + case "Matching": if err := awsRestjson1_deserializeDocumentMatchingResponse(&sv.Matching, value); err != nil { return err } + case "RuleBasedMatching": if err := awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(&sv.RuleBasedMatching, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9641,6 +9842,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -9860,6 +10062,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9899,6 +10102,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address1 = ptr.String(jtv) } + case "Address2": if value != nil { jtv, ok := value.(string) @@ -9907,6 +10111,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address2 = ptr.String(jtv) } + case "Address3": if value != nil { jtv, ok := value.(string) @@ -9915,6 +10120,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address3 = ptr.String(jtv) } + case "Address4": if value != nil { jtv, ok := value.(string) @@ -9923,6 +10129,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Address4 = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -9931,6 +10138,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -9939,6 +10147,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "County": if value != nil { jtv, ok := value.(string) @@ -9947,6 +10156,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.County = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -9955,6 +10165,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "Province": if value != nil { jtv, ok := value.(string) @@ -9963,6 +10174,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Province = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9971,6 +10183,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -10046,6 +10259,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.ConnectorProfileName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10054,6 +10268,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.RoleArn = ptr.String(jtv) } + case "SourceConnectorType": if value != nil { jtv, ok := value.(string) @@ -10062,6 +10277,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(v **ty } sv.SourceConnectorType = types.SourceConnectorType(jtv) } + default: _, _ = key, value @@ -10105,6 +10321,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.RecordsProcessed = i64 } + case "StepsCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -10117,6 +10334,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.StepsCompleted = i64 } + case "TotalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -10129,6 +10347,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(v **types } sv.TotalSteps = i64 } + default: _, _ = key, value @@ -10168,6 +10387,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.BatchRecordsEndTime = ptr.String(jtv) } + case "BatchRecordsStartTime": if value != nil { jtv, ok := value.(string) @@ -10176,6 +10396,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.BatchRecordsStartTime = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -10191,6 +10412,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } } + case "ExecutionMessage": if value != nil { jtv, ok := value.(string) @@ -10199,6 +10421,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.ExecutionMessage = ptr.String(jtv) } + case "FlowName": if value != nil { jtv, ok := value.(string) @@ -10207,6 +10430,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.FlowName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10222,6 +10446,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } } + case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -10234,6 +10459,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.RecordsProcessed = i64 } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10242,6 +10468,7 @@ func awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(v **types.Ap } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -10277,6 +10504,7 @@ func awsRestjson1_deserializeDocumentAttributeDetails(v **types.AttributeDetails if err := awsRestjson1_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -10285,6 +10513,7 @@ func awsRestjson1_deserializeDocumentAttributeDetails(v **types.AttributeDetails } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -10324,6 +10553,7 @@ func awsRestjson1_deserializeDocumentAttributeItem(v **types.AttributeItem, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10429,6 +10659,7 @@ func awsRestjson1_deserializeDocumentAttributeTypesSelector(v **types.AttributeT if err := awsRestjson1_deserializeDocumentAddressList(&sv.Address, value); err != nil { return err } + case "AttributeMatchingModel": if value != nil { jtv, ok := value.(string) @@ -10437,14 +10668,17 @@ func awsRestjson1_deserializeDocumentAttributeTypesSelector(v **types.AttributeT } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } + case "EmailAddress": if err := awsRestjson1_deserializeDocumentEmailList(&sv.EmailAddress, value); err != nil { return err } + case "PhoneNumber": if err := awsRestjson1_deserializeDocumentPhoneNumberList(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -10480,10 +10714,12 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in if err := awsRestjson1_deserializeDocumentConflictResolution(&sv.ConflictResolution, value); err != nil { return err } + case "Consolidation": if err := awsRestjson1_deserializeDocumentConsolidation(&sv.Consolidation, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10492,6 +10728,7 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in } sv.Enabled = ptr.Bool(jtv) } + case "MinAllowedConfidenceScoreForMerging": if value != nil { switch jtv := value.(type) { @@ -10525,6 +10762,7 @@ func awsRestjson1_deserializeDocumentAutoMerging(v **types.AutoMerging, value in } } + default: _, _ = key, value @@ -10564,6 +10802,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10675,14 +10914,17 @@ func awsRestjson1_deserializeDocumentConditions(v **types.Conditions, value inte } sv.ObjectCount = ptr.Int32(int32(i64)) } + case "Range": if err := awsRestjson1_deserializeDocumentRange(&sv.Range, value); err != nil { return err } + case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } + default: _, _ = key, value @@ -10722,6 +10964,7 @@ func awsRestjson1_deserializeDocumentConflictResolution(v **types.ConflictResolu } sv.ConflictResolvingModel = types.ConflictResolvingModel(jtv) } + case "SourceName": if value != nil { jtv, ok := value.(string) @@ -10730,6 +10973,7 @@ func awsRestjson1_deserializeDocumentConflictResolution(v **types.ConflictResolu } sv.SourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10765,6 +11009,7 @@ func awsRestjson1_deserializeDocumentConsolidation(v **types.Consolidation, valu if err := awsRestjson1_deserializeDocumentMatchingAttributesList(&sv.MatchingAttributesList, value); err != nil { return err } + default: _, _ = key, value @@ -10804,6 +11049,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Status = types.EventStreamDestinationStatus(jtv) } + case "UnhealthySince": if value != nil { switch jtv := value.(type) { @@ -10819,6 +11065,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -10827,6 +11074,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -10862,10 +11110,12 @@ func awsRestjson1_deserializeDocumentDetectedProfileObjectType(v **types.Detecte if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Fields, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentKeyMap(&sv.Keys, value); err != nil { return err } + case "SourceLastUpdatedTimestampFormat": if value != nil { jtv, ok := value.(string) @@ -10874,6 +11124,7 @@ func awsRestjson1_deserializeDocumentDetectedProfileObjectType(v **types.Detecte } sv.SourceLastUpdatedTimestampFormat = ptr.String(jtv) } + default: _, _ = key, value @@ -10985,6 +11236,7 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.MeteringProfileCount = i64 } + case "ObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -10997,6 +11249,7 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.ObjectCount = i64 } + case "ProfileCount": if value != nil { jtv, ok := value.(json.Number) @@ -11009,6 +11262,7 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.ProfileCount = i64 } + case "TotalSize": if value != nil { jtv, ok := value.(json.Number) @@ -11021,6 +11275,7 @@ func awsRestjson1_deserializeDocumentDomainStats(v **types.DomainStats, value in } sv.TotalSize = i64 } + default: _, _ = key, value @@ -11096,6 +11351,7 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11104,6 +11360,7 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Status = types.EventStreamDestinationStatus(jtv) } + case "UnhealthySince": if value != nil { switch jtv := value.(type) { @@ -11119,6 +11376,7 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11385,7 @@ func awsRestjson1_deserializeDocumentEventStreamDestinationDetails(v **types.Eve } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -11162,6 +11421,7 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum if err := awsRestjson1_deserializeDocumentDestinationSummary(&sv.DestinationSummary, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11170,6 +11430,7 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.DomainName = ptr.String(jtv) } + case "EventStreamArn": if value != nil { jtv, ok := value.(string) @@ -11178,6 +11439,7 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.EventStreamArn = ptr.String(jtv) } + case "EventStreamName": if value != nil { jtv, ok := value.(string) @@ -11186,6 +11448,7 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.EventStreamName = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11194,6 +11457,7 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } sv.State = types.EventStreamState(jtv) } + case "StoppedSince": if value != nil { switch jtv := value.(type) { @@ -11209,10 +11473,12 @@ func awsRestjson1_deserializeDocumentEventStreamSummary(v **types.EventStreamSum } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11282,6 +11548,7 @@ func awsRestjson1_deserializeDocumentExportingConfig(v **types.ExportingConfig, if err := awsRestjson1_deserializeDocumentS3ExportingConfig(&sv.S3Exporting, value); err != nil { return err } + default: _, _ = key, value @@ -11317,6 +11584,7 @@ func awsRestjson1_deserializeDocumentExportingLocation(v **types.ExportingLocati if err := awsRestjson1_deserializeDocumentS3ExportingLocation(&sv.S3Exporting, value); err != nil { return err } + default: _, _ = key, value @@ -11427,10 +11695,12 @@ func awsRestjson1_deserializeDocumentFoundByKeyValue(v **types.FoundByKeyValue, } sv.KeyName = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentRequestValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -11504,10 +11774,12 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.DomainName = ptr.String(jtv) } + case "ExportingLocation": if err := awsRestjson1_deserializeDocumentExportingLocation(&sv.ExportingLocation, value); err != nil { return err } + case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -11523,6 +11795,7 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -11531,6 +11804,7 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.JobId = ptr.String(jtv) } + case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -11546,10 +11820,12 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } } + case "JobStats": if err := awsRestjson1_deserializeDocumentJobStats(&sv.JobStats, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -11558,6 +11834,7 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11566,6 +11843,7 @@ func awsRestjson1_deserializeDocumentIdentityResolutionJob(v **types.IdentityRes } sv.Status = types.IdentityResolutionJobStatus(jtv) } + default: _, _ = key, value @@ -11673,6 +11951,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11712,6 +11991,7 @@ func awsRestjson1_deserializeDocumentJobSchedule(v **types.JobSchedule, value in } sv.DayOfTheWeek = types.JobScheduleDayOfTheWeek(jtv) } + case "Time": if value != nil { jtv, ok := value.(string) @@ -11720,6 +12000,7 @@ func awsRestjson1_deserializeDocumentJobSchedule(v **types.JobSchedule, value in } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -11763,6 +12044,7 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfMatchesFound = i64 } + case "NumberOfMergesDone": if value != nil { jtv, ok := value.(json.Number) @@ -11775,6 +12057,7 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfMergesDone = i64 } + case "NumberOfProfilesReviewed": if value != nil { jtv, ok := value.(json.Number) @@ -11787,6 +12070,7 @@ func awsRestjson1_deserializeDocumentJobStats(v **types.JobStats, value interfac } sv.NumberOfProfilesReviewed = i64 } + default: _, _ = key, value @@ -11860,6 +12144,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.CalculatedAttributeName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -11875,6 +12160,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11883,6 +12169,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -11891,6 +12178,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } sv.DisplayName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11906,10 +12194,12 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeDefinitionItem(v **t } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11949,6 +12239,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.CalculatedAttributeName = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -11957,6 +12248,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.DisplayName = ptr.String(jtv) } + case "IsDataPartial": if value != nil { jtv, ok := value.(string) @@ -11965,6 +12257,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.IsDataPartial = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11973,6 +12266,7 @@ func awsRestjson1_deserializeDocumentListCalculatedAttributeForProfileItem(v **t } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12019,6 +12313,7 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12027,6 +12322,7 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12042,10 +12338,12 @@ func awsRestjson1_deserializeDocumentListDomainItem(v **types.ListDomainItem, va } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12092,6 +12390,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12100,6 +12399,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.DomainName = ptr.String(jtv) } + case "IsUnstructured": if value != nil { jtv, ok := value.(bool) @@ -12108,6 +12408,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.IsUnstructured = ptr.Bool(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12123,6 +12424,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12131,10 +12433,12 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.ObjectTypeName = ptr.String(jtv) } + case "ObjectTypeNames": if err := awsRestjson1_deserializeDocumentObjectTypeNames(&sv.ObjectTypeNames, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12143,10 +12447,12 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -12155,6 +12461,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.Uri = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12163,6 +12470,7 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -12202,6 +12510,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.Object = ptr.String(jtv) } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12210,6 +12519,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.ObjectTypeName = ptr.String(jtv) } + case "ProfileObjectUniqueKey": if value != nil { jtv, ok := value.(string) @@ -12218,6 +12528,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectsItem(v **types.ListProfil } sv.ProfileObjectUniqueKey = ptr.String(jtv) } + default: _, _ = key, value @@ -12264,6 +12575,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12272,6 +12584,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.Description = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12287,6 +12600,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } } + case "MaxAvailableProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -12299,6 +12613,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.MaxAvailableProfileObjectCount = ptr.Int32(int32(i64)) } + case "MaxProfileObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -12311,6 +12626,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.MaxProfileObjectCount = ptr.Int32(int32(i64)) } + case "ObjectTypeName": if value != nil { jtv, ok := value.(string) @@ -12319,10 +12635,12 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeItem(v **types.ListPro } sv.ObjectTypeName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12362,6 +12680,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.SourceName = ptr.String(jtv) } + case "SourceObject": if value != nil { jtv, ok := value.(string) @@ -12370,6 +12689,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.SourceObject = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -12378,6 +12698,7 @@ func awsRestjson1_deserializeDocumentListProfileObjectTypeTemplateItem(v **types } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -12424,6 +12745,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12439,6 +12761,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12447,6 +12770,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.Status = types.Status(jtv) } + case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -12455,6 +12779,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.StatusDescription = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12463,6 +12788,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.WorkflowId = ptr.String(jtv) } + case "WorkflowType": if value != nil { jtv, ok := value.(string) @@ -12471,6 +12797,7 @@ func awsRestjson1_deserializeDocumentListWorkflowsItem(v **types.ListWorkflowsIt } sv.WorkflowType = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -12644,6 +12971,7 @@ func awsRestjson1_deserializeDocumentMatchingResponse(v **types.MatchingResponse if err := awsRestjson1_deserializeDocumentAutoMerging(&sv.AutoMerging, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -12652,14 +12980,17 @@ func awsRestjson1_deserializeDocumentMatchingResponse(v **types.MatchingResponse } sv.Enabled = ptr.Bool(jtv) } + case "ExportingConfig": if err := awsRestjson1_deserializeDocumentExportingConfig(&sv.ExportingConfig, value); err != nil { return err } + case "JobSchedule": if err := awsRestjson1_deserializeDocumentJobSchedule(&sv.JobSchedule, value); err != nil { return err } + default: _, _ = key, value @@ -12695,6 +13026,7 @@ func awsRestjson1_deserializeDocumentMatchingRule(v **types.MatchingRule, value if err := awsRestjson1_deserializeDocumentMatchingRuleAttributeList(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -12829,6 +13161,7 @@ func awsRestjson1_deserializeDocumentMatchItem(v **types.MatchItem, value interf } } + case "MatchId": if value != nil { jtv, ok := value.(string) @@ -12837,10 +13170,12 @@ func awsRestjson1_deserializeDocumentMatchItem(v **types.MatchItem, value interf } sv.MatchId = ptr.String(jtv) } + case "ProfileIds": if err := awsRestjson1_deserializeDocumentProfileIdList(&sv.ProfileIds, value); err != nil { return err } + default: _, _ = key, value @@ -12880,6 +13215,7 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.ContentType = types.FieldContentType(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -12888,6 +13224,7 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.Source = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -12896,6 +13233,7 @@ func awsRestjson1_deserializeDocumentObjectTypeField(v **types.ObjectTypeField, } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -12931,10 +13269,12 @@ func awsRestjson1_deserializeDocumentObjectTypeKey(v **types.ObjectTypeKey, valu if err := awsRestjson1_deserializeDocumentFieldNameList(&sv.FieldNames, value); err != nil { return err } + case "StandardIdentifiers": if err := awsRestjson1_deserializeDocumentStandardIdentifierList(&sv.StandardIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -13080,6 +13420,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.AccountNumber = ptr.String(jtv) } + case "AdditionalInformation": if value != nil { jtv, ok := value.(string) @@ -13088,18 +13429,22 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.AdditionalInformation = ptr.String(jtv) } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "Attributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "BillingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.BillingAddress, value); err != nil { return err } + case "BirthDate": if value != nil { jtv, ok := value.(string) @@ -13108,6 +13453,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BirthDate = ptr.String(jtv) } + case "BusinessEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13116,6 +13462,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessEmailAddress = ptr.String(jtv) } + case "BusinessName": if value != nil { jtv, ok := value.(string) @@ -13124,6 +13471,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessName = ptr.String(jtv) } + case "BusinessPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13132,6 +13480,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.BusinessPhoneNumber = ptr.String(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -13140,6 +13489,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.EmailAddress = ptr.String(jtv) } + case "FirstName": if value != nil { jtv, ok := value.(string) @@ -13148,10 +13498,12 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.FirstName = ptr.String(jtv) } + case "FoundByItems": if err := awsRestjson1_deserializeDocumentFoundByList(&sv.FoundByItems, value); err != nil { return err } + case "Gender": if value != nil { jtv, ok := value.(string) @@ -13160,6 +13512,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Gender = types.Gender(jtv) } + case "GenderString": if value != nil { jtv, ok := value.(string) @@ -13168,6 +13521,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.GenderString = ptr.String(jtv) } + case "HomePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13176,6 +13530,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.HomePhoneNumber = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -13184,10 +13539,12 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.LastName = ptr.String(jtv) } + case "MailingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.MailingAddress, value); err != nil { return err } + case "MiddleName": if value != nil { jtv, ok := value.(string) @@ -13196,6 +13553,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.MiddleName = ptr.String(jtv) } + case "MobilePhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13204,6 +13562,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.MobilePhoneNumber = ptr.String(jtv) } + case "PartyType": if value != nil { jtv, ok := value.(string) @@ -13212,6 +13571,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PartyType = types.PartyType(jtv) } + case "PartyTypeString": if value != nil { jtv, ok := value.(string) @@ -13220,6 +13580,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PartyTypeString = ptr.String(jtv) } + case "PersonalEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13228,6 +13589,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PersonalEmailAddress = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13598,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.PhoneNumber = ptr.String(jtv) } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -13244,10 +13607,12 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileId = ptr.String(jtv) } + case "ShippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } + default: _, _ = key, value @@ -13459,6 +13824,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Unit = types.Unit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -13471,6 +13837,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13546,6 +13913,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13581,10 +13949,12 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas if err := awsRestjson1_deserializeDocumentAttributeTypesSelector(&sv.AttributeTypesSelector, value); err != nil { return err } + case "ConflictResolution": if err := awsRestjson1_deserializeDocumentConflictResolution(&sv.ConflictResolution, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -13593,14 +13963,17 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.Enabled = ptr.Bool(jtv) } + case "ExportingConfig": if err := awsRestjson1_deserializeDocumentExportingConfig(&sv.ExportingConfig, value); err != nil { return err } + case "MatchingRules": if err := awsRestjson1_deserializeDocumentMatchingRules(&sv.MatchingRules, value); err != nil { return err } + case "MaxAllowedRuleLevelForMatching": if value != nil { jtv, ok := value.(json.Number) @@ -13613,6 +13986,7 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.MaxAllowedRuleLevelForMatching = ptr.Int32(int32(i64)) } + case "MaxAllowedRuleLevelForMerging": if value != nil { jtv, ok := value.(json.Number) @@ -13625,6 +13999,7 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.MaxAllowedRuleLevelForMerging = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13633,6 +14008,7 @@ func awsRestjson1_deserializeDocumentRuleBasedMatchingResponse(v **types.RuleBas } sv.Status = types.RuleBasedMatchingStatus(jtv) } + default: _, _ = key, value @@ -13672,6 +14048,7 @@ func awsRestjson1_deserializeDocumentS3ExportingConfig(v **types.S3ExportingConf } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyName": if value != nil { jtv, ok := value.(string) @@ -13680,6 +14057,7 @@ func awsRestjson1_deserializeDocumentS3ExportingConfig(v **types.S3ExportingConf } sv.S3KeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -13719,6 +14097,7 @@ func awsRestjson1_deserializeDocumentS3ExportingLocation(v **types.S3ExportingLo } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyName": if value != nil { jtv, ok := value.(string) @@ -13727,6 +14106,7 @@ func awsRestjson1_deserializeDocumentS3ExportingLocation(v **types.S3ExportingLo } sv.S3KeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -13838,6 +14218,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Operator = types.Operator(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -13846,6 +14227,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13885,6 +14267,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13920,6 +14303,7 @@ func awsRestjson1_deserializeDocumentWorkflowAttributes(v **types.WorkflowAttrib if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowAttributes(&sv.AppflowIntegration, value); err != nil { return err } + default: _, _ = key, value @@ -13989,6 +14373,7 @@ func awsRestjson1_deserializeDocumentWorkflowMetrics(v **types.WorkflowMetrics, if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowMetrics(&sv.AppflowIntegration, value); err != nil { return err } + default: _, _ = key, value @@ -14024,6 +14409,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepItem(v **types.WorkflowStepItem if err := awsRestjson1_deserializeDocumentAppflowIntegrationWorkflowStep(&sv.AppflowIntegration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index 654472143d8..eb5f90a7828 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -14092,6 +14092,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedFault(v **types.AccessDeniedFau } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14131,6 +14132,7 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.AccountQuotaName = ptr.String(jtv) } + case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -14143,6 +14145,7 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.Max = i64 } + case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -14155,6 +14158,7 @@ func awsAwsjson11_deserializeDocumentAccountQuota(v **types.AccountQuota, value } sv.Used = i64 } + default: _, _ = key, value @@ -14228,6 +14232,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14339,6 +14344,7 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.Code = ptr.String(jtv) } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -14347,6 +14353,7 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.DatabaseId = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14355,6 +14362,7 @@ func awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntry(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14428,6 +14436,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } + case "CertificateCreationDate": if value != nil { switch jtv := value.(type) { @@ -14443,6 +14452,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "CertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -14451,6 +14461,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateIdentifier = ptr.String(jtv) } + case "CertificateOwner": if value != nil { jtv, ok := value.(string) @@ -14459,6 +14470,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateOwner = ptr.String(jtv) } + case "CertificatePem": if value != nil { jtv, ok := value.(string) @@ -14467,6 +14479,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificatePem = ptr.String(jtv) } + case "CertificateWallet": if value != nil { jtv, ok := value.(string) @@ -14479,6 +14492,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateWallet = dv } + case "KeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -14491,6 +14505,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.KeyLength = ptr.Int32(int32(i64)) } + case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -14499,6 +14514,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SigningAlgorithm = ptr.String(jtv) } + case "ValidFromDate": if value != nil { switch jtv := value.(type) { @@ -14514,6 +14530,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "ValidToDate": if value != nil { switch jtv := value.(type) { @@ -14529,6 +14546,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + default: _, _ = key, value @@ -14602,6 +14620,7 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.CollectorStatus = types.CollectorStatus(jtv) } + case "LocalCollectorS3Access": if value != nil { jtv, ok := value.(bool) @@ -14610,6 +14629,7 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.LocalCollectorS3Access = ptr.Bool(jtv) } + case "WebCollectorGrantedRoleBasedAccess": if value != nil { jtv, ok := value.(bool) @@ -14618,6 +14638,7 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.WebCollectorGrantedRoleBasedAccess = ptr.Bool(jtv) } + case "WebCollectorS3Access": if value != nil { jtv, ok := value.(bool) @@ -14626,6 +14647,7 @@ func awsAwsjson11_deserializeDocumentCollectorHealthCheck(v **types.CollectorHea } sv.WebCollectorS3Access = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14665,6 +14687,7 @@ func awsAwsjson11_deserializeDocumentCollectorNotFoundFault(v **types.CollectorN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14700,6 +14723,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon if err := awsAwsjson11_deserializeDocumentCollectorHealthCheck(&sv.CollectorHealthCheck, value); err != nil { return err } + case "CollectorName": if value != nil { jtv, ok := value.(string) @@ -14708,6 +14732,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorName = ptr.String(jtv) } + case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -14716,6 +14741,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorReferencedId = ptr.String(jtv) } + case "CollectorVersion": if value != nil { jtv, ok := value.(string) @@ -14724,6 +14750,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CollectorVersion = ptr.String(jtv) } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -14732,6 +14759,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14740,10 +14768,12 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.Description = ptr.String(jtv) } + case "InventoryData": if err := awsAwsjson11_deserializeDocumentInventoryData(&sv.InventoryData, value); err != nil { return err } + case "LastDataReceived": if value != nil { jtv, ok := value.(string) @@ -14752,6 +14782,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.LastDataReceived = ptr.String(jtv) } + case "ModifiedDate": if value != nil { jtv, ok := value.(string) @@ -14760,6 +14791,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.ModifiedDate = ptr.String(jtv) } + case "RegisteredDate": if value != nil { jtv, ok := value.(string) @@ -14768,6 +14800,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.RegisteredDate = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14776,6 +14809,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.S3BucketName = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -14784,6 +14818,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "VersionStatus": if value != nil { jtv, ok := value.(string) @@ -14792,6 +14827,7 @@ func awsAwsjson11_deserializeDocumentCollectorResponse(v **types.CollectorRespon } sv.VersionStatus = types.VersionStatus(jtv) } + default: _, _ = key, value @@ -14865,6 +14901,7 @@ func awsAwsjson11_deserializeDocumentCollectorShortInfoResponse(v **types.Collec } sv.CollectorName = ptr.String(jtv) } + case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -14873,6 +14910,7 @@ func awsAwsjson11_deserializeDocumentCollectorShortInfoResponse(v **types.Collec } sv.CollectorReferencedId = ptr.String(jtv) } + default: _, _ = key, value @@ -14946,6 +14984,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.AvailabilityZone = ptr.String(jtv) } + case "DnsNameServers": if value != nil { jtv, ok := value.(string) @@ -14954,6 +14993,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.DnsNameServers = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14962,6 +15002,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.KmsKeyId = ptr.String(jtv) } + case "MaxCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14974,6 +15015,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MaxCapacityUnits = ptr.Int32(int32(i64)) } + case "MinCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14986,6 +15028,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MinCapacityUnits = ptr.Int32(int32(i64)) } + case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -14994,6 +15037,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.MultiAZ = ptr.Bool(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -15002,6 +15046,7 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "ReplicationSubnetGroupId": if value != nil { jtv, ok := value.(string) @@ -15010,10 +15055,12 @@ func awsAwsjson11_deserializeDocumentComputeConfig(v **types.ComputeConfig, valu } sv.ReplicationSubnetGroupId = ptr.String(jtv) } + case "VpcSecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + default: _, _ = key, value @@ -15053,6 +15100,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EndpointArn = ptr.String(jtv) } + case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -15061,6 +15109,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EndpointIdentifier = ptr.String(jtv) } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -15069,6 +15118,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LastFailureMessage = ptr.String(jtv) } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -15077,6 +15127,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -15085,6 +15136,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15093,6 +15145,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -15166,6 +15219,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.Engine = ptr.String(jtv) } + case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -15174,6 +15228,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.EngineEdition = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -15182,6 +15237,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.EngineVersion = ptr.String(jtv) } + case "OsArchitecture": if value != nil { jtv, ok := value.(json.Number) @@ -15194,6 +15250,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.OsArchitecture = ptr.Int32(int32(i64)) } + case "ServicePack": if value != nil { jtv, ok := value.(string) @@ -15202,6 +15259,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.ServicePack = ptr.String(jtv) } + case "SupportLevel": if value != nil { jtv, ok := value.(string) @@ -15210,6 +15268,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.SupportLevel = ptr.String(jtv) } + case "Tooltip": if value != nil { jtv, ok := value.(string) @@ -15218,6 +15277,7 @@ func awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(v * } sv.Tooltip = ptr.String(jtv) } + default: _, _ = key, value @@ -15287,6 +15347,7 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse if err := awsAwsjson11_deserializeDocumentCollectorsList(&sv.Collectors, value); err != nil { return err } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -15295,6 +15356,7 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.DatabaseId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -15303,6 +15365,7 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.DatabaseName = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -15311,6 +15374,7 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.IpAddress = ptr.String(jtv) } + case "NumberOfSchemas": if value != nil { jtv, ok := value.(json.Number) @@ -15323,14 +15387,17 @@ func awsAwsjson11_deserializeDocumentDatabaseResponse(v **types.DatabaseResponse } sv.NumberOfSchemas = ptr.Int64(i64) } + case "Server": if err := awsAwsjson11_deserializeDocumentServerShortInfoResponse(&sv.Server, value); err != nil { return err } + case "SoftwareDetails": if err := awsAwsjson11_deserializeDocumentDatabaseInstanceSoftwareDetailsResponse(&sv.SoftwareDetails, value); err != nil { return err } + default: _, _ = key, value @@ -15370,6 +15437,7 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseEngine = ptr.String(jtv) } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -15378,6 +15446,7 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseId = ptr.String(jtv) } + case "DatabaseIpAddress": if value != nil { jtv, ok := value.(string) @@ -15386,6 +15455,7 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseIpAddress = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -15394,6 +15464,7 @@ func awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(v **types.Databas } sv.DatabaseName = ptr.String(jtv) } + default: _, _ = key, value @@ -15433,10 +15504,12 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationArn = ptr.String(jtv) } + case "DataMigrationCidrBlocks": if err := awsAwsjson11_deserializeDocumentDataMigrationCidrBlock(&sv.DataMigrationCidrBlocks, value); err != nil { return err } + case "DataMigrationCreateTime": if value != nil { jtv, ok := value.(string) @@ -15449,6 +15522,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationCreateTime = ptr.Time(t) } + case "DataMigrationEndTime": if value != nil { jtv, ok := value.(string) @@ -15461,6 +15535,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationEndTime = ptr.Time(t) } + case "DataMigrationName": if value != nil { jtv, ok := value.(string) @@ -15469,10 +15544,12 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationName = ptr.String(jtv) } + case "DataMigrationSettings": if err := awsAwsjson11_deserializeDocumentDataMigrationSettings(&sv.DataMigrationSettings, value); err != nil { return err } + case "DataMigrationStartTime": if value != nil { jtv, ok := value.(string) @@ -15485,10 +15562,12 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationStartTime = ptr.Time(t) } + case "DataMigrationStatistics": if err := awsAwsjson11_deserializeDocumentDataMigrationStatistics(&sv.DataMigrationStatistics, value); err != nil { return err } + case "DataMigrationStatus": if value != nil { jtv, ok := value.(string) @@ -15497,6 +15576,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationStatus = ptr.String(jtv) } + case "DataMigrationType": if value != nil { jtv, ok := value.(string) @@ -15505,6 +15585,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.DataMigrationType = types.MigrationTypeValue(jtv) } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -15513,6 +15594,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.LastFailureMessage = ptr.String(jtv) } + case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -15521,10 +15603,12 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.MigrationProjectArn = ptr.String(jtv) } + case "PublicIpAddresses": if err := awsAwsjson11_deserializeDocumentPublicIpAddressList(&sv.PublicIpAddresses, value); err != nil { return err } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -15533,10 +15617,12 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "SourceDataSettings": if err := awsAwsjson11_deserializeDocumentSourceDataSettings(&sv.SourceDataSettings, value); err != nil { return err } + case "StopReason": if value != nil { jtv, ok := value.(string) @@ -15545,6 +15631,7 @@ func awsAwsjson11_deserializeDocumentDataMigration(v **types.DataMigration, valu } sv.StopReason = ptr.String(jtv) } + default: _, _ = key, value @@ -15654,6 +15741,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.CloudwatchLogsEnabled = ptr.Bool(jtv) } + case "NumberOfJobs": if value != nil { jtv, ok := value.(json.Number) @@ -15666,6 +15754,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.NumberOfJobs = ptr.Int32(int32(i64)) } + case "SelectionRules": if value != nil { jtv, ok := value.(string) @@ -15674,6 +15763,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationSettings(v **types.DataMigrati } sv.SelectionRules = ptr.String(jtv) } + default: _, _ = key, value @@ -15717,6 +15807,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.CDCLatency = int32(i64) } + case "ElapsedTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -15729,6 +15820,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.ElapsedTimeMillis = i64 } + case "FullLoadPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -15741,6 +15833,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.FullLoadPercentage = int32(i64) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -15753,6 +15846,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.StartTime = ptr.Time(t) } + case "StopTime": if value != nil { jtv, ok := value.(string) @@ -15765,6 +15859,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.StopTime = ptr.Time(t) } + case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -15777,6 +15872,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesErrored = int32(i64) } + case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -15789,6 +15885,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesLoaded = int32(i64) } + case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -15801,6 +15898,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesLoading = int32(i64) } + case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -15813,6 +15911,7 @@ func awsAwsjson11_deserializeDocumentDataMigrationStatistics(v **types.DataMigra } sv.TablesQueued = int32(i64) } + default: _, _ = key, value @@ -15852,6 +15951,7 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderArn = ptr.String(jtv) } + case "DataProviderCreationTime": if value != nil { jtv, ok := value.(string) @@ -15864,6 +15964,7 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderCreationTime = ptr.Time(t) } + case "DataProviderName": if value != nil { jtv, ok := value.(string) @@ -15872,6 +15973,7 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.DataProviderName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15880,6 +15982,7 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.Description = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -15888,10 +15991,12 @@ func awsAwsjson11_deserializeDocumentDataProvider(v **types.DataProvider, value } sv.Engine = ptr.String(jtv) } + case "Settings": if err := awsAwsjson11_deserializeDocumentDataProviderSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -15931,6 +16036,7 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.DataProviderArn = ptr.String(jtv) } + case "DataProviderName": if value != nil { jtv, ok := value.(string) @@ -15939,6 +16045,7 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.DataProviderName = ptr.String(jtv) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -15947,6 +16054,7 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -15955,6 +16063,7 @@ func awsAwsjson11_deserializeDocumentDataProviderDescriptor(v **types.DataProvid } sv.SecretsManagerSecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -16172,6 +16281,7 @@ func awsAwsjson11_deserializeDocumentDefaultErrorDetails(v **types.DefaultErrorD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16211,6 +16321,7 @@ func awsAwsjson11_deserializeDocumentDmsTransferSettings(v **types.DmsTransferSe } sv.BucketName = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16219,6 +16330,7 @@ func awsAwsjson11_deserializeDocumentDmsTransferSettings(v **types.DmsTransferSe } sv.ServiceAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16258,6 +16370,7 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16266,6 +16379,7 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16278,6 +16392,7 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16286,6 +16401,7 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -16294,6 +16410,7 @@ func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDa } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -16333,6 +16450,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.DatabaseName = ptr.String(jtv) } + case "DocsToInvestigate": if value != nil { jtv, ok := value.(json.Number) @@ -16345,6 +16463,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.DocsToInvestigate = ptr.Int32(int32(i64)) } + case "ExtractDocId": if value != nil { jtv, ok := value.(bool) @@ -16353,6 +16472,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ExtractDocId = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16361,6 +16481,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.KmsKeyId = ptr.String(jtv) } + case "NestingLevel": if value != nil { jtv, ok := value.(string) @@ -16369,6 +16490,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.NestingLevel = types.NestingLevelValue(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -16377,6 +16499,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16389,6 +16512,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Port = ptr.Int32(int32(i64)) } + case "ReplicateShardCollections": if value != nil { jtv, ok := value.(bool) @@ -16397,6 +16521,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ReplicateShardCollections = ptr.Bool(jtv) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16405,6 +16530,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -16413,6 +16539,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16421,6 +16548,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.ServerName = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -16429,6 +16557,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.Username = ptr.String(jtv) } + case "UseUpdateLookUp": if value != nil { jtv, ok := value.(bool) @@ -16437,6 +16566,7 @@ func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, valu } sv.UseUpdateLookUp = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16476,6 +16606,7 @@ func awsAwsjson11_deserializeDocumentDynamoDbSettings(v **types.DynamoDbSettings } sv.ServiceAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16515,6 +16646,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.EndpointUri = ptr.String(jtv) } + case "ErrorRetryDuration": if value != nil { jtv, ok := value.(json.Number) @@ -16527,6 +16659,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.ErrorRetryDuration = ptr.Int32(int32(i64)) } + case "FullLoadErrorPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -16539,6 +16672,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.FullLoadErrorPercentage = ptr.Int32(int32(i64)) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16547,6 +16681,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "UseNewMappingType": if value != nil { jtv, ok := value.(bool) @@ -16555,6 +16690,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchSettings(v **types.Elasticsear } sv.UseNewMappingType = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16594,6 +16730,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16602,22 +16739,27 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.DatabaseName = ptr.String(jtv) } + case "DmsTransferSettings": if err := awsAwsjson11_deserializeDocumentDmsTransferSettings(&sv.DmsTransferSettings, value); err != nil { return err } + case "DocDbSettings": if err := awsAwsjson11_deserializeDocumentDocDbSettings(&sv.DocDbSettings, value); err != nil { return err } + case "DynamoDbSettings": if err := awsAwsjson11_deserializeDocumentDynamoDbSettings(&sv.DynamoDbSettings, value); err != nil { return err } + case "ElasticsearchSettings": if err := awsAwsjson11_deserializeDocumentElasticsearchSettings(&sv.ElasticsearchSettings, value); err != nil { return err } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -16626,6 +16768,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } + case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -16634,6 +16777,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointIdentifier = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -16642,6 +16786,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointType = types.ReplicationEndpointTypeValue(jtv) } + case "EngineDisplayName": if value != nil { jtv, ok := value.(string) @@ -16650,6 +16795,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EngineDisplayName = ptr.String(jtv) } + case "EngineName": if value != nil { jtv, ok := value.(string) @@ -16658,6 +16804,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EngineName = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -16666,6 +16813,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExternalId = ptr.String(jtv) } + case "ExternalTableDefinition": if value != nil { jtv, ok := value.(string) @@ -16674,6 +16822,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExternalTableDefinition = ptr.String(jtv) } + case "ExtraConnectionAttributes": if value != nil { jtv, ok := value.(string) @@ -16682,22 +16831,27 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExtraConnectionAttributes = ptr.String(jtv) } + case "GcpMySQLSettings": if err := awsAwsjson11_deserializeDocumentGcpMySQLSettings(&sv.GcpMySQLSettings, value); err != nil { return err } + case "IBMDb2Settings": if err := awsAwsjson11_deserializeDocumentIBMDb2Settings(&sv.IBMDb2Settings, value); err != nil { return err } + case "KafkaSettings": if err := awsAwsjson11_deserializeDocumentKafkaSettings(&sv.KafkaSettings, value); err != nil { return err } + case "KinesisSettings": if err := awsAwsjson11_deserializeDocumentKinesisSettings(&sv.KinesisSettings, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16706,26 +16860,32 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "MicrosoftSQLServerSettings": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(&sv.MicrosoftSQLServerSettings, value); err != nil { return err } + case "MongoDbSettings": if err := awsAwsjson11_deserializeDocumentMongoDbSettings(&sv.MongoDbSettings, value); err != nil { return err } + case "MySQLSettings": if err := awsAwsjson11_deserializeDocumentMySQLSettings(&sv.MySQLSettings, value); err != nil { return err } + case "NeptuneSettings": if err := awsAwsjson11_deserializeDocumentNeptuneSettings(&sv.NeptuneSettings, value); err != nil { return err } + case "OracleSettings": if err := awsAwsjson11_deserializeDocumentOracleSettings(&sv.OracleSettings, value); err != nil { return err } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -16738,22 +16898,27 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.Int32(int32(i64)) } + case "PostgreSQLSettings": if err := awsAwsjson11_deserializeDocumentPostgreSQLSettings(&sv.PostgreSQLSettings, value); err != nil { return err } + case "RedisSettings": if err := awsAwsjson11_deserializeDocumentRedisSettings(&sv.RedisSettings, value); err != nil { return err } + case "RedshiftSettings": if err := awsAwsjson11_deserializeDocumentRedshiftSettings(&sv.RedshiftSettings, value); err != nil { return err } + case "S3Settings": if err := awsAwsjson11_deserializeDocumentS3Settings(&sv.S3Settings, value); err != nil { return err } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -16762,6 +16927,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServerName = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -16770,6 +16936,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -16778,6 +16945,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SslMode = types.DmsSslModeValue(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16786,14 +16954,17 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Status = ptr.String(jtv) } + case "SybaseSettings": if err := awsAwsjson11_deserializeDocumentSybaseSettings(&sv.SybaseSettings, value); err != nil { return err } + case "TimestreamSettings": if err := awsAwsjson11_deserializeDocumentTimestreamSettings(&sv.TimestreamSettings, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -16802,6 +16973,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -16875,6 +17047,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Applicability = ptr.String(jtv) } + case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -16883,10 +17056,12 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.DefaultValue = ptr.String(jtv) } + case "EnumValues": if err := awsAwsjson11_deserializeDocumentEndpointSettingEnumValues(&sv.EnumValues, value); err != nil { return err } + case "IntValueMax": if value != nil { jtv, ok := value.(json.Number) @@ -16899,6 +17074,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.IntValueMax = ptr.Int32(int32(i64)) } + case "IntValueMin": if value != nil { jtv, ok := value.(json.Number) @@ -16911,6 +17087,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.IntValueMin = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16919,6 +17096,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Name = ptr.String(jtv) } + case "Sensitive": if value != nil { jtv, ok := value.(bool) @@ -16927,6 +17105,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Sensitive = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16935,6 +17114,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Type = types.EndpointSettingTypeValue(jtv) } + case "Units": if value != nil { jtv, ok := value.(string) @@ -16943,6 +17123,7 @@ func awsAwsjson11_deserializeDocumentEndpointSetting(v **types.EndpointSetting, } sv.Units = ptr.String(jtv) } + default: _, _ = key, value @@ -17059,10 +17240,12 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } + case "AvailableUpgrades": if err := awsAwsjson11_deserializeDocumentAvailableUpgradesList(&sv.AvailableUpgrades, value); err != nil { return err } + case "DeprecationDate": if value != nil { switch jtv := value.(type) { @@ -17078,6 +17261,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } + case "ForceUpgradeDate": if value != nil { switch jtv := value.(type) { @@ -17093,6 +17277,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } + case "LaunchDate": if value != nil { switch jtv := value.(type) { @@ -17108,6 +17293,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -17116,6 +17302,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Lifecycle = ptr.String(jtv) } + case "ReleaseStatus": if value != nil { jtv, ok := value.(string) @@ -17124,6 +17311,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.ReleaseStatus = types.ReleaseStatusValues(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -17132,6 +17320,7 @@ func awsAwsjson11_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -17252,10 +17441,12 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "EventCategories": if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategories, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -17264,6 +17455,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } + case "SourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -17272,6 +17464,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceIdentifier = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17280,6 +17473,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -17351,6 +17545,7 @@ func awsAwsjson11_deserializeDocumentEventCategoryGroup(v **types.EventCategoryG if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategories, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17359,6 +17554,7 @@ func awsAwsjson11_deserializeDocumentEventCategoryGroup(v **types.EventCategoryG } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -17466,6 +17662,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.CustomerAwsId = ptr.String(jtv) } + case "CustSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -17474,6 +17671,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.CustSubscriptionId = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17482,10 +17680,12 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Enabled = jtv } + case "EventCategoriesList": if err := awsAwsjson11_deserializeDocumentEventCategoriesList(&sv.EventCategoriesList, value); err != nil { return err } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -17494,10 +17694,12 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SnsTopicArn = ptr.String(jtv) } + case "SourceIdsList": if err := awsAwsjson11_deserializeDocumentSourceIdsList(&sv.SourceIdsList, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -17506,6 +17708,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SourceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17514,6 +17717,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Status = ptr.String(jtv) } + case "SubscriptionCreationTime": if value != nil { jtv, ok := value.(string) @@ -17522,6 +17726,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SubscriptionCreationTime = ptr.String(jtv) } + default: _, _ = key, value @@ -17595,6 +17800,7 @@ func awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(v } sv.ObjectURL = ptr.String(jtv) } + case "S3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -17603,6 +17809,7 @@ func awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(v } sv.S3ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -17642,6 +17849,7 @@ func awsAwsjson11_deserializeDocumentExportSqlDetails(v **types.ExportSqlDetails } sv.ObjectURL = ptr.String(jtv) } + case "S3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -17650,6 +17858,7 @@ func awsAwsjson11_deserializeDocumentExportSqlDetails(v **types.ExportSqlDetails } sv.S3ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -17689,6 +17898,7 @@ func awsAwsjson11_deserializeDocumentFailedDependencyFault(v **types.FailedDepen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17728,6 +17938,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponse(v **types.F } sv.LsaAnalysisId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17736,6 +17947,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponse(v **types.F } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -17881,6 +18093,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.CodeLineCount = ptr.Int64(i64) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -17893,6 +18106,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.CodeSize = ptr.Int64(i64) } + case "NumberOfObjects": if value != nil { jtv, ok := value.(json.Number) @@ -17905,6 +18119,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.NumberOfObjects = ptr.Int64(i64) } + case "ObjectType": if value != nil { jtv, ok := value.(string) @@ -17913,6 +18128,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.ObjectType = ptr.String(jtv) } + case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -17921,6 +18137,7 @@ func awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectResponse(v **types. } sv.SchemaId = ptr.String(jtv) } + default: _, _ = key, value @@ -17960,6 +18177,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.AfterConnectScript = ptr.String(jtv) } + case "CleanSourceMetadataOnMismatch": if value != nil { jtv, ok := value.(bool) @@ -17968,6 +18186,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.CleanSourceMetadataOnMismatch = ptr.Bool(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -17976,6 +18195,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.DatabaseName = ptr.String(jtv) } + case "EventsPollInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17988,6 +18208,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.EventsPollInterval = ptr.Int32(int32(i64)) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -18000,6 +18221,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "ParallelLoadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -18012,6 +18234,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ParallelLoadThreads = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -18020,6 +18243,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -18032,6 +18256,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -18040,6 +18265,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -18048,6 +18274,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -18056,6 +18283,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ServerName = ptr.String(jtv) } + case "ServerTimezone": if value != nil { jtv, ok := value.(string) @@ -18064,6 +18292,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.ServerTimezone = ptr.String(jtv) } + case "TargetDbType": if value != nil { jtv, ok := value.(string) @@ -18072,6 +18301,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.TargetDbType = types.TargetDbType(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -18080,6 +18310,7 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -18119,6 +18350,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.CurrentLsn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -18127,6 +18359,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.DatabaseName = ptr.String(jtv) } + case "KeepCsvFiles": if value != nil { jtv, ok := value.(bool) @@ -18135,6 +18368,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.KeepCsvFiles = ptr.Bool(jtv) } + case "LoadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -18147,6 +18381,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.LoadTimeout = ptr.Int32(int32(i64)) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -18159,6 +18394,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "MaxKBytesPerRead": if value != nil { jtv, ok := value.(json.Number) @@ -18171,6 +18407,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.MaxKBytesPerRead = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -18179,6 +18416,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -18191,6 +18429,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -18199,6 +18438,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -18207,6 +18447,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -18215,6 +18456,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.ServerName = ptr.String(jtv) } + case "SetDataCaptureChanges": if value != nil { jtv, ok := value.(bool) @@ -18223,6 +18465,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.SetDataCaptureChanges = ptr.Bool(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -18231,6 +18474,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.Username = ptr.String(jtv) } + case "WriteBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -18243,6 +18487,7 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va } sv.WriteBufferSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18318,6 +18563,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.AvailabilityZone = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18326,6 +18572,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Description = ptr.String(jtv) } + case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -18334,6 +18581,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileArn = ptr.String(jtv) } + case "InstanceProfileCreationTime": if value != nil { jtv, ok := value.(string) @@ -18346,6 +18594,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileCreationTime = ptr.Time(t) } + case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -18354,6 +18603,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.InstanceProfileName = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -18362,6 +18612,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.KmsKeyArn = ptr.String(jtv) } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -18370,6 +18621,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.NetworkType = ptr.String(jtv) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -18378,6 +18630,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "SubnetGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -18386,10 +18639,12 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.SubnetGroupIdentifier = ptr.String(jtv) } + case "VpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -18463,6 +18718,7 @@ func awsAwsjson11_deserializeDocumentInsufficientResourceCapacityFault(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18542,6 +18798,7 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateFault(v **types.InvalidCe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18581,6 +18838,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationFault(v **types.InvalidOper } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18620,6 +18878,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateFault(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18659,6 +18918,7 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18702,6 +18962,7 @@ func awsAwsjson11_deserializeDocumentInventoryData(v **types.InventoryData, valu } sv.NumberOfDatabases = ptr.Int32(int32(i64)) } + case "NumberOfSchemas": if value != nil { jtv, ok := value.(json.Number) @@ -18714,6 +18975,7 @@ func awsAwsjson11_deserializeDocumentInventoryData(v **types.InventoryData, valu } sv.NumberOfSchemas = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18753,6 +19015,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.Broker = ptr.String(jtv) } + case "IncludeControlDetails": if value != nil { jtv, ok := value.(bool) @@ -18761,6 +19024,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeControlDetails = ptr.Bool(jtv) } + case "IncludeNullAndEmpty": if value != nil { jtv, ok := value.(bool) @@ -18769,6 +19033,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeNullAndEmpty = ptr.Bool(jtv) } + case "IncludePartitionValue": if value != nil { jtv, ok := value.(bool) @@ -18777,6 +19042,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludePartitionValue = ptr.Bool(jtv) } + case "IncludeTableAlterOperations": if value != nil { jtv, ok := value.(bool) @@ -18785,6 +19051,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeTableAlterOperations = ptr.Bool(jtv) } + case "IncludeTransactionDetails": if value != nil { jtv, ok := value.(bool) @@ -18793,6 +19060,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.IncludeTransactionDetails = ptr.Bool(jtv) } + case "MessageFormat": if value != nil { jtv, ok := value.(string) @@ -18801,6 +19069,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.MessageFormat = types.MessageFormatValue(jtv) } + case "MessageMaxBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18813,6 +19082,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.MessageMaxBytes = ptr.Int32(int32(i64)) } + case "NoHexPrefix": if value != nil { jtv, ok := value.(bool) @@ -18821,6 +19091,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.NoHexPrefix = ptr.Bool(jtv) } + case "PartitionIncludeSchemaTable": if value != nil { jtv, ok := value.(bool) @@ -18829,6 +19100,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.PartitionIncludeSchemaTable = ptr.Bool(jtv) } + case "SaslMechanism": if value != nil { jtv, ok := value.(string) @@ -18837,6 +19109,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslMechanism = types.KafkaSaslMechanism(jtv) } + case "SaslPassword": if value != nil { jtv, ok := value.(string) @@ -18845,6 +19118,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslPassword = ptr.String(jtv) } + case "SaslUsername": if value != nil { jtv, ok := value.(string) @@ -18853,6 +19127,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SaslUsername = ptr.String(jtv) } + case "SecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -18861,6 +19136,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SecurityProtocol = types.KafkaSecurityProtocol(jtv) } + case "SslCaCertificateArn": if value != nil { jtv, ok := value.(string) @@ -18869,6 +19145,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslCaCertificateArn = ptr.String(jtv) } + case "SslClientCertificateArn": if value != nil { jtv, ok := value.(string) @@ -18877,6 +19154,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientCertificateArn = ptr.String(jtv) } + case "SslClientKeyArn": if value != nil { jtv, ok := value.(string) @@ -18885,6 +19163,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientKeyArn = ptr.String(jtv) } + case "SslClientKeyPassword": if value != nil { jtv, ok := value.(string) @@ -18893,6 +19172,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslClientKeyPassword = ptr.String(jtv) } + case "SslEndpointIdentificationAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18901,6 +19181,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.SslEndpointIdentificationAlgorithm = types.KafkaSslEndpointIdentificationAlgorithm(jtv) } + case "Topic": if value != nil { jtv, ok := value.(string) @@ -18909,6 +19190,7 @@ func awsAwsjson11_deserializeDocumentKafkaSettings(v **types.KafkaSettings, valu } sv.Topic = ptr.String(jtv) } + default: _, _ = key, value @@ -18948,6 +19230,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeControlDetails = ptr.Bool(jtv) } + case "IncludeNullAndEmpty": if value != nil { jtv, ok := value.(bool) @@ -18956,6 +19239,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeNullAndEmpty = ptr.Bool(jtv) } + case "IncludePartitionValue": if value != nil { jtv, ok := value.(bool) @@ -18964,6 +19248,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludePartitionValue = ptr.Bool(jtv) } + case "IncludeTableAlterOperations": if value != nil { jtv, ok := value.(bool) @@ -18972,6 +19257,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeTableAlterOperations = ptr.Bool(jtv) } + case "IncludeTransactionDetails": if value != nil { jtv, ok := value.(bool) @@ -18980,6 +19266,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.IncludeTransactionDetails = ptr.Bool(jtv) } + case "MessageFormat": if value != nil { jtv, ok := value.(string) @@ -18988,6 +19275,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.MessageFormat = types.MessageFormatValue(jtv) } + case "NoHexPrefix": if value != nil { jtv, ok := value.(bool) @@ -18996,6 +19284,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.NoHexPrefix = ptr.Bool(jtv) } + case "PartitionIncludeSchemaTable": if value != nil { jtv, ok := value.(bool) @@ -19004,6 +19293,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.PartitionIncludeSchemaTable = ptr.Bool(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -19012,6 +19302,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -19020,6 +19311,7 @@ func awsAwsjson11_deserializeDocumentKinesisSettings(v **types.KinesisSettings, } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19059,6 +19351,7 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedFault(v **types.KMSAccessDen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19098,6 +19391,7 @@ func awsAwsjson11_deserializeDocumentKMSDisabledFault(v **types.KMSDisabledFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19137,6 +19431,7 @@ func awsAwsjson11_deserializeDocumentKMSFault(v **types.KMSFault, value interfac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19176,6 +19471,7 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateFault(v **types.KMSInvalidSt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19215,6 +19511,7 @@ func awsAwsjson11_deserializeDocumentKMSKeyNotAccessibleFault(v **types.KMSKeyNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19254,6 +19551,7 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundFault(v **types.KMSNotFoundFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19293,6 +19591,7 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingFault(v **types.KMSThrottlingF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19332,6 +19631,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.DatabaseId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19340,6 +19640,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Description = ptr.String(jtv) } + case "EngineName": if value != nil { jtv, ok := value.(string) @@ -19348,6 +19649,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.EngineName = ptr.String(jtv) } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -19356,6 +19658,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Impact = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19364,6 +19667,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19372,6 +19676,7 @@ func awsAwsjson11_deserializeDocumentLimitation(v **types.Limitation, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19445,6 +19750,7 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.CertificateArn = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19457,6 +19763,7 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19465,6 +19772,7 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -19473,6 +19781,7 @@ func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.Maria } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -19512,6 +19821,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -19520,6 +19830,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19532,6 +19843,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19540,6 +19852,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -19548,6 +19861,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v ** } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -19591,6 +19905,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.BcpPacketSize = ptr.Int32(int32(i64)) } + case "ControlTablesFileGroup": if value != nil { jtv, ok := value.(string) @@ -19599,6 +19914,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ControlTablesFileGroup = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -19607,6 +19923,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.DatabaseName = ptr.String(jtv) } + case "ForceLobLookup": if value != nil { jtv, ok := value.(bool) @@ -19615,6 +19932,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ForceLobLookup = ptr.Bool(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -19623,6 +19941,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19635,6 +19954,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Port = ptr.Int32(int32(i64)) } + case "QuerySingleAlwaysOnNode": if value != nil { jtv, ok := value.(bool) @@ -19643,6 +19963,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.QuerySingleAlwaysOnNode = ptr.Bool(jtv) } + case "ReadBackupOnly": if value != nil { jtv, ok := value.(bool) @@ -19651,6 +19972,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ReadBackupOnly = ptr.Bool(jtv) } + case "SafeguardPolicy": if value != nil { jtv, ok := value.(string) @@ -19659,6 +19981,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SafeguardPolicy = types.SafeguardPolicy(jtv) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -19667,6 +19990,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -19675,6 +19999,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19683,6 +20008,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.ServerName = ptr.String(jtv) } + case "TlogAccessMode": if value != nil { jtv, ok := value.(string) @@ -19691,6 +20017,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.TlogAccessMode = types.TlogAccessMode(jtv) } + case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -19699,6 +20026,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.TrimSpaceInChar = ptr.Bool(jtv) } + case "UseBcpFullLoad": if value != nil { jtv, ok := value.(bool) @@ -19707,6 +20035,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.UseBcpFullLoad = ptr.Bool(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -19715,6 +20044,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.Username = ptr.String(jtv) } + case "UseThirdPartyBackupDevice": if value != nil { jtv, ok := value.(bool) @@ -19723,6 +20053,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerSettings(v **types.Micros } sv.UseThirdPartyBackupDevice = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19762,6 +20093,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.Description = ptr.String(jtv) } + case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -19770,6 +20102,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.InstanceProfileArn = ptr.String(jtv) } + case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -19778,6 +20111,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.InstanceProfileName = ptr.String(jtv) } + case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -19786,6 +20120,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectArn = ptr.String(jtv) } + case "MigrationProjectCreationTime": if value != nil { jtv, ok := value.(string) @@ -19798,6 +20133,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectCreationTime = ptr.Time(t) } + case "MigrationProjectName": if value != nil { jtv, ok := value.(string) @@ -19806,18 +20142,22 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.MigrationProjectName = ptr.String(jtv) } + case "SchemaConversionApplicationAttributes": if err := awsAwsjson11_deserializeDocumentSCApplicationAttributes(&sv.SchemaConversionApplicationAttributes, value); err != nil { return err } + case "SourceDataProviderDescriptors": if err := awsAwsjson11_deserializeDocumentDataProviderDescriptorList(&sv.SourceDataProviderDescriptors, value); err != nil { return err } + case "TargetDataProviderDescriptors": if err := awsAwsjson11_deserializeDocumentDataProviderDescriptorList(&sv.TargetDataProviderDescriptors, value); err != nil { return err } + case "TransformationRules": if value != nil { jtv, ok := value.(string) @@ -19826,6 +20166,7 @@ func awsAwsjson11_deserializeDocumentMigrationProject(v **types.MigrationProject } sv.TransformationRules = ptr.String(jtv) } + default: _, _ = key, value @@ -19899,6 +20240,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthMechanism = types.AuthMechanismValue(jtv) } + case "AuthSource": if value != nil { jtv, ok := value.(string) @@ -19907,6 +20249,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthSource = ptr.String(jtv) } + case "AuthType": if value != nil { jtv, ok := value.(string) @@ -19915,6 +20258,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.AuthType = types.AuthTypeValue(jtv) } + case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -19923,6 +20267,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -19931,6 +20276,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -19943,6 +20289,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -19951,6 +20298,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -19959,6 +20307,7 @@ func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.Mongo } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -19998,6 +20347,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthMechanism = types.AuthMechanismValue(jtv) } + case "AuthSource": if value != nil { jtv, ok := value.(string) @@ -20006,6 +20356,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthSource = ptr.String(jtv) } + case "AuthType": if value != nil { jtv, ok := value.(string) @@ -20014,6 +20365,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.AuthType = types.AuthTypeValue(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20022,6 +20374,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.DatabaseName = ptr.String(jtv) } + case "DocsToInvestigate": if value != nil { jtv, ok := value.(string) @@ -20030,6 +20383,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.DocsToInvestigate = ptr.String(jtv) } + case "ExtractDocId": if value != nil { jtv, ok := value.(string) @@ -20038,6 +20392,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ExtractDocId = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -20046,6 +20401,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.KmsKeyId = ptr.String(jtv) } + case "NestingLevel": if value != nil { jtv, ok := value.(string) @@ -20054,6 +20410,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.NestingLevel = types.NestingLevelValue(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -20062,6 +20419,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20074,6 +20432,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Port = ptr.Int32(int32(i64)) } + case "ReplicateShardCollections": if value != nil { jtv, ok := value.(bool) @@ -20082,6 +20441,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ReplicateShardCollections = ptr.Bool(jtv) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20090,6 +20450,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20098,6 +20459,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20106,6 +20468,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.ServerName = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -20114,6 +20477,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.Username = ptr.String(jtv) } + case "UseUpdateLookUp": if value != nil { jtv, ok := value.(bool) @@ -20122,6 +20486,7 @@ func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, } sv.UseUpdateLookUp = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20161,6 +20526,7 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.CertificateArn = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20173,6 +20539,7 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20181,6 +20548,7 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -20189,6 +20557,7 @@ func awsAwsjson11_deserializeDocumentMySqlDataProviderSettings(v **types.MySqlDa } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -20228,6 +20597,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.AfterConnectScript = ptr.String(jtv) } + case "CleanSourceMetadataOnMismatch": if value != nil { jtv, ok := value.(bool) @@ -20236,6 +20606,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.CleanSourceMetadataOnMismatch = ptr.Bool(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20244,6 +20615,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.DatabaseName = ptr.String(jtv) } + case "EventsPollInterval": if value != nil { jtv, ok := value.(json.Number) @@ -20256,6 +20628,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.EventsPollInterval = ptr.Int32(int32(i64)) } + case "ExecuteTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -20268,6 +20641,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ExecuteTimeout = ptr.Int32(int32(i64)) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -20280,6 +20654,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "ParallelLoadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -20292,6 +20667,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ParallelLoadThreads = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -20300,6 +20676,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20312,6 +20689,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20320,6 +20698,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20328,6 +20707,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20336,6 +20716,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ServerName = ptr.String(jtv) } + case "ServerTimezone": if value != nil { jtv, ok := value.(string) @@ -20344,6 +20725,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.ServerTimezone = ptr.String(jtv) } + case "TargetDbType": if value != nil { jtv, ok := value.(string) @@ -20352,6 +20734,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.TargetDbType = types.TargetDbType(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -20360,6 +20743,7 @@ func awsAwsjson11_deserializeDocumentMySQLSettings(v **types.MySQLSettings, valu } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -20403,6 +20787,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.ErrorRetryDuration = ptr.Int32(int32(i64)) } + case "IamAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -20411,6 +20796,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.IamAuthEnabled = ptr.Bool(jtv) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -20423,6 +20809,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "MaxRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -20435,6 +20822,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.MaxRetryCount = ptr.Int32(int32(i64)) } + case "S3BucketFolder": if value != nil { jtv, ok := value.(string) @@ -20443,6 +20831,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.S3BucketFolder = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -20451,6 +20840,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.S3BucketName = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20459,6 +20849,7 @@ func awsAwsjson11_deserializeDocumentNeptuneSettings(v **types.NeptuneSettings, } sv.ServiceAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20498,6 +20889,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.AsmServer = ptr.String(jtv) } + case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -20506,6 +20898,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20514,6 +20907,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20526,6 +20920,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerOracleAsmAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20534,6 +20929,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerOracleAsmAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerOracleAsmSecretId": if value != nil { jtv, ok := value.(string) @@ -20542,6 +20938,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerOracleAsmSecretId = ptr.String(jtv) } + case "SecretsManagerSecurityDbEncryptionAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20550,6 +20947,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerSecurityDbEncryptionAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecurityDbEncryptionSecretId": if value != nil { jtv, ok := value.(string) @@ -20558,6 +20956,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SecretsManagerSecurityDbEncryptionSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20566,6 +20965,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -20574,6 +20974,7 @@ func awsAwsjson11_deserializeDocumentOracleDataProviderSettings(v **types.Oracle } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -20613,6 +21014,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AccessAlternateDirectly = ptr.Bool(jtv) } + case "AdditionalArchivedLogDestId": if value != nil { jtv, ok := value.(json.Number) @@ -20625,6 +21027,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AdditionalArchivedLogDestId = ptr.Int32(int32(i64)) } + case "AddSupplementalLogging": if value != nil { jtv, ok := value.(bool) @@ -20633,6 +21036,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AddSupplementalLogging = ptr.Bool(jtv) } + case "AllowSelectNestedTables": if value != nil { jtv, ok := value.(bool) @@ -20641,6 +21045,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AllowSelectNestedTables = ptr.Bool(jtv) } + case "ArchivedLogDestId": if value != nil { jtv, ok := value.(json.Number) @@ -20653,6 +21058,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ArchivedLogDestId = ptr.Int32(int32(i64)) } + case "ArchivedLogsOnly": if value != nil { jtv, ok := value.(bool) @@ -20661,6 +21067,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ArchivedLogsOnly = ptr.Bool(jtv) } + case "AsmPassword": if value != nil { jtv, ok := value.(string) @@ -20669,6 +21076,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmPassword = ptr.String(jtv) } + case "AsmServer": if value != nil { jtv, ok := value.(string) @@ -20677,6 +21085,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmServer = ptr.String(jtv) } + case "AsmUser": if value != nil { jtv, ok := value.(string) @@ -20685,6 +21094,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.AsmUser = ptr.String(jtv) } + case "CharLengthSemantics": if value != nil { jtv, ok := value.(string) @@ -20693,6 +21103,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.CharLengthSemantics = types.CharLengthSemantics(jtv) } + case "ConvertTimestampWithZoneToUTC": if value != nil { jtv, ok := value.(bool) @@ -20701,6 +21112,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ConvertTimestampWithZoneToUTC = ptr.Bool(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -20709,6 +21121,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DatabaseName = ptr.String(jtv) } + case "DirectPathNoLog": if value != nil { jtv, ok := value.(bool) @@ -20717,6 +21130,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DirectPathNoLog = ptr.Bool(jtv) } + case "DirectPathParallelLoad": if value != nil { jtv, ok := value.(bool) @@ -20725,6 +21139,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.DirectPathParallelLoad = ptr.Bool(jtv) } + case "EnableHomogenousTablespace": if value != nil { jtv, ok := value.(bool) @@ -20733,10 +21148,12 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.EnableHomogenousTablespace = ptr.Bool(jtv) } + case "ExtraArchivedLogDestIds": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.ExtraArchivedLogDestIds, value); err != nil { return err } + case "FailTasksOnLobTruncation": if value != nil { jtv, ok := value.(bool) @@ -20745,6 +21162,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.FailTasksOnLobTruncation = ptr.Bool(jtv) } + case "NumberDatatypeScale": if value != nil { jtv, ok := value.(json.Number) @@ -20757,6 +21175,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.NumberDatatypeScale = ptr.Int32(int32(i64)) } + case "OpenTransactionWindow": if value != nil { jtv, ok := value.(json.Number) @@ -20769,6 +21188,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.OpenTransactionWindow = ptr.Int32(int32(i64)) } + case "OraclePathPrefix": if value != nil { jtv, ok := value.(string) @@ -20777,6 +21197,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.OraclePathPrefix = ptr.String(jtv) } + case "ParallelAsmReadThreads": if value != nil { jtv, ok := value.(json.Number) @@ -20789,6 +21210,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ParallelAsmReadThreads = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -20797,6 +21219,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20809,6 +21232,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Port = ptr.Int32(int32(i64)) } + case "ReadAheadBlocks": if value != nil { jtv, ok := value.(json.Number) @@ -20821,6 +21245,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReadAheadBlocks = ptr.Int32(int32(i64)) } + case "ReadTableSpaceName": if value != nil { jtv, ok := value.(bool) @@ -20829,6 +21254,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReadTableSpaceName = ptr.Bool(jtv) } + case "ReplacePathPrefix": if value != nil { jtv, ok := value.(bool) @@ -20837,6 +21263,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ReplacePathPrefix = ptr.Bool(jtv) } + case "RetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -20849,6 +21276,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.RetryInterval = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20857,6 +21285,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerOracleAsmAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -20865,6 +21294,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerOracleAsmAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerOracleAsmSecretId": if value != nil { jtv, ok := value.(string) @@ -20873,6 +21303,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerOracleAsmSecretId = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -20881,6 +21312,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "SecurityDbEncryption": if value != nil { jtv, ok := value.(string) @@ -20889,6 +21321,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecurityDbEncryption = ptr.String(jtv) } + case "SecurityDbEncryptionName": if value != nil { jtv, ok := value.(string) @@ -20897,6 +21330,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SecurityDbEncryptionName = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -20905,6 +21339,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.ServerName = ptr.String(jtv) } + case "SpatialDataOptionToGeoJsonFunctionName": if value != nil { jtv, ok := value.(string) @@ -20913,6 +21348,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.SpatialDataOptionToGeoJsonFunctionName = ptr.String(jtv) } + case "StandbyDelayTime": if value != nil { jtv, ok := value.(json.Number) @@ -20925,6 +21361,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.StandbyDelayTime = ptr.Int32(int32(i64)) } + case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -20933,6 +21370,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.TrimSpaceInChar = ptr.Bool(jtv) } + case "UseAlternateFolderForOnline": if value != nil { jtv, ok := value.(bool) @@ -20941,6 +21379,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseAlternateFolderForOnline = ptr.Bool(jtv) } + case "UseBFile": if value != nil { jtv, ok := value.(bool) @@ -20949,6 +21388,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseBFile = ptr.Bool(jtv) } + case "UseDirectPathFullLoad": if value != nil { jtv, ok := value.(bool) @@ -20957,6 +21397,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseDirectPathFullLoad = ptr.Bool(jtv) } + case "UseLogminerReader": if value != nil { jtv, ok := value.(bool) @@ -20965,6 +21406,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UseLogminerReader = ptr.Bool(jtv) } + case "UsePathPrefix": if value != nil { jtv, ok := value.(string) @@ -20973,6 +21415,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.UsePathPrefix = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -20981,6 +21424,7 @@ func awsAwsjson11_deserializeDocumentOracleSettings(v **types.OracleSettings, va } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -21016,6 +21460,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde if err := awsAwsjson11_deserializeDocumentAvailabilityZonesList(&sv.AvailabilityZones, value); err != nil { return err } + case "DefaultAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21028,6 +21473,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.DefaultAllocatedStorage = int32(i64) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -21036,6 +21482,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.EngineVersion = ptr.String(jtv) } + case "IncludedAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21048,6 +21495,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.IncludedAllocatedStorage = int32(i64) } + case "MaxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21060,6 +21508,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.MaxAllocatedStorage = int32(i64) } + case "MinAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -21072,6 +21521,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.MinAllocatedStorage = int32(i64) } + case "ReleaseStatus": if value != nil { jtv, ok := value.(string) @@ -21080,6 +21530,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.ReleaseStatus = types.ReleaseStatusValues(jtv) } + case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -21088,6 +21539,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.ReplicationInstanceClass = ptr.String(jtv) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -21096,6 +21548,7 @@ func awsAwsjson11_deserializeDocumentOrderableReplicationInstance(v **types.Orde } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -21169,6 +21622,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Action = ptr.String(jtv) } + case "AutoAppliedAfterDate": if value != nil { switch jtv := value.(type) { @@ -21184,6 +21638,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } + case "CurrentApplyDate": if value != nil { switch jtv := value.(type) { @@ -21199,6 +21654,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21207,6 +21663,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Description = ptr.String(jtv) } + case "ForcedApplyDate": if value != nil { switch jtv := value.(type) { @@ -21222,6 +21679,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } + case "OptInStatus": if value != nil { jtv, ok := value.(string) @@ -21230,6 +21688,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.OptInStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -21337,6 +21796,7 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21345,6 +21805,7 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21357,6 +21818,7 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21365,6 +21827,7 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -21373,6 +21836,7 @@ func awsAwsjson11_deserializeDocumentPostgreSqlDataProviderSettings(v **types.Po } sv.SslMode = types.DmsSslModeValue(jtv) } + default: _, _ = key, value @@ -21412,6 +21876,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.AfterConnectScript = ptr.String(jtv) } + case "BabelfishDatabaseName": if value != nil { jtv, ok := value.(string) @@ -21420,6 +21885,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.BabelfishDatabaseName = ptr.String(jtv) } + case "CaptureDdls": if value != nil { jtv, ok := value.(bool) @@ -21428,6 +21894,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.CaptureDdls = ptr.Bool(jtv) } + case "DatabaseMode": if value != nil { jtv, ok := value.(string) @@ -21436,6 +21903,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DatabaseMode = types.DatabaseMode(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21444,6 +21912,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DatabaseName = ptr.String(jtv) } + case "DdlArtifactsSchema": if value != nil { jtv, ok := value.(string) @@ -21452,6 +21921,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.DdlArtifactsSchema = ptr.String(jtv) } + case "ExecuteTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -21464,6 +21934,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.ExecuteTimeout = ptr.Int32(int32(i64)) } + case "FailTasksOnLobTruncation": if value != nil { jtv, ok := value.(bool) @@ -21472,6 +21943,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.FailTasksOnLobTruncation = ptr.Bool(jtv) } + case "HeartbeatEnable": if value != nil { jtv, ok := value.(bool) @@ -21480,6 +21952,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatEnable = ptr.Bool(jtv) } + case "HeartbeatFrequency": if value != nil { jtv, ok := value.(json.Number) @@ -21492,6 +21965,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatFrequency = ptr.Int32(int32(i64)) } + case "HeartbeatSchema": if value != nil { jtv, ok := value.(string) @@ -21500,6 +21974,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.HeartbeatSchema = ptr.String(jtv) } + case "MapBooleanAsBoolean": if value != nil { jtv, ok := value.(bool) @@ -21508,6 +21983,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapBooleanAsBoolean = ptr.Bool(jtv) } + case "MapJsonbAsClob": if value != nil { jtv, ok := value.(bool) @@ -21516,6 +21992,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapJsonbAsClob = ptr.Bool(jtv) } + case "MapLongVarcharAs": if value != nil { jtv, ok := value.(string) @@ -21524,6 +22001,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MapLongVarcharAs = types.LongVarcharMappingType(jtv) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -21536,6 +22014,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -21544,6 +22023,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Password = ptr.String(jtv) } + case "PluginName": if value != nil { jtv, ok := value.(string) @@ -21552,6 +22032,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.PluginName = types.PluginNameValue(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21564,6 +22045,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -21572,6 +22054,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -21580,6 +22063,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21588,6 +22072,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.ServerName = ptr.String(jtv) } + case "SlotName": if value != nil { jtv, ok := value.(string) @@ -21596,6 +22081,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.SlotName = ptr.String(jtv) } + case "TrimSpaceInChar": if value != nil { jtv, ok := value.(bool) @@ -21604,6 +22090,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.TrimSpaceInChar = ptr.Bool(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -21612,6 +22099,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLSettings(v **types.PostgreSQLSett } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -21658,6 +22146,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } } + case "DateProvisioned": if value != nil { switch jtv := value.(type) { @@ -21673,6 +22162,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } } + case "IsNewProvisioningAvailable": if value != nil { jtv, ok := value.(bool) @@ -21681,6 +22171,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.IsNewProvisioningAvailable = jtv } + case "ProvisionedCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -21693,6 +22184,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ProvisionedCapacityUnits = int32(i64) } + case "ProvisionState": if value != nil { jtv, ok := value.(string) @@ -21701,6 +22193,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ProvisionState = ptr.String(jtv) } + case "ReasonForNewProvisioningData": if value != nil { jtv, ok := value.(string) @@ -21709,6 +22202,7 @@ func awsAwsjson11_deserializeDocumentProvisionData(v **types.ProvisionData, valu } sv.ReasonForNewProvisioningData = ptr.String(jtv) } + default: _, _ = key, value @@ -21784,6 +22278,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.DeploymentOption = ptr.String(jtv) } + case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -21792,6 +22287,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.EngineEdition = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -21800,6 +22296,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.EngineVersion = ptr.String(jtv) } + case "InstanceMemory": if value != nil { switch jtv := value.(type) { @@ -21833,6 +22330,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -21841,6 +22339,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.InstanceType = ptr.String(jtv) } + case "InstanceVcpu": if value != nil { switch jtv := value.(type) { @@ -21874,6 +22373,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } } + case "StorageIops": if value != nil { jtv, ok := value.(json.Number) @@ -21886,6 +22386,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageIops = ptr.Int32(int32(i64)) } + case "StorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -21898,6 +22399,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageSize = ptr.Int32(int32(i64)) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -21906,6 +22408,7 @@ func awsAwsjson11_deserializeDocumentRdsConfiguration(v **types.RdsConfiguration } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -21941,10 +22444,12 @@ func awsAwsjson11_deserializeDocumentRdsRecommendation(v **types.RdsRecommendati if err := awsAwsjson11_deserializeDocumentRdsRequirements(&sv.RequirementsToTarget, value); err != nil { return err } + case "TargetConfiguration": if err := awsAwsjson11_deserializeDocumentRdsConfiguration(&sv.TargetConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -21984,6 +22489,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.DeploymentOption = ptr.String(jtv) } + case "EngineEdition": if value != nil { jtv, ok := value.(string) @@ -21992,6 +22498,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.EngineEdition = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -22000,6 +22507,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.EngineVersion = ptr.String(jtv) } + case "InstanceMemory": if value != nil { switch jtv := value.(type) { @@ -22033,6 +22541,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } } + case "InstanceVcpu": if value != nil { switch jtv := value.(type) { @@ -22066,6 +22575,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } } + case "StorageIops": if value != nil { jtv, ok := value.(json.Number) @@ -22078,6 +22588,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.StorageIops = ptr.Int32(int32(i64)) } + case "StorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -22090,6 +22601,7 @@ func awsAwsjson11_deserializeDocumentRdsRequirements(v **types.RdsRequirements, } sv.StorageSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22129,10 +22641,12 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedDate = ptr.String(jtv) } + case "Data": if err := awsAwsjson11_deserializeDocumentRecommendationData(&sv.Data, value); err != nil { return err } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -22141,6 +22655,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.DatabaseId = ptr.String(jtv) } + case "EngineName": if value != nil { jtv, ok := value.(string) @@ -22149,6 +22664,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EngineName = ptr.String(jtv) } + case "Preferred": if value != nil { jtv, ok := value.(bool) @@ -22157,10 +22673,12 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Preferred = ptr.Bool(jtv) } + case "Settings": if err := awsAwsjson11_deserializeDocumentRecommendationSettings(&sv.Settings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22169,6 +22687,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -22204,6 +22723,7 @@ func awsAwsjson11_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsAwsjson11_deserializeDocumentRdsRecommendation(&sv.RdsEngine, value); err != nil { return err } + default: _, _ = key, value @@ -22277,6 +22797,7 @@ func awsAwsjson11_deserializeDocumentRecommendationSettings(v **types.Recommenda } sv.InstanceSizingType = ptr.String(jtv) } + case "WorkloadType": if value != nil { jtv, ok := value.(string) @@ -22285,6 +22806,7 @@ func awsAwsjson11_deserializeDocumentRecommendationSettings(v **types.Recommenda } sv.WorkloadType = ptr.String(jtv) } + default: _, _ = key, value @@ -22324,6 +22846,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthPassword = ptr.String(jtv) } + case "AuthType": if value != nil { jtv, ok := value.(string) @@ -22332,6 +22855,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthType = types.RedisAuthTypeValue(jtv) } + case "AuthUserName": if value != nil { jtv, ok := value.(string) @@ -22340,6 +22864,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.AuthUserName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -22352,6 +22877,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.Port = int32(i64) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -22360,6 +22886,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.ServerName = ptr.String(jtv) } + case "SslCaCertificateArn": if value != nil { jtv, ok := value.(string) @@ -22368,6 +22895,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.SslCaCertificateArn = ptr.String(jtv) } + case "SslSecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -22376,6 +22904,7 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu } sv.SslSecurityProtocol = types.SslSecurityProtocolValue(jtv) } + default: _, _ = key, value @@ -22415,6 +22944,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.DatabaseName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -22427,6 +22957,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -22435,6 +22966,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.Reds } sv.ServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -22474,6 +23006,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.AcceptAnyDate = ptr.Bool(jtv) } + case "AfterConnectScript": if value != nil { jtv, ok := value.(string) @@ -22482,6 +23015,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.AfterConnectScript = ptr.String(jtv) } + case "BucketFolder": if value != nil { jtv, ok := value.(string) @@ -22490,6 +23024,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.BucketFolder = ptr.String(jtv) } + case "BucketName": if value != nil { jtv, ok := value.(string) @@ -22498,6 +23033,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.BucketName = ptr.String(jtv) } + case "CaseSensitiveNames": if value != nil { jtv, ok := value.(bool) @@ -22506,6 +23042,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.CaseSensitiveNames = ptr.Bool(jtv) } + case "CompUpdate": if value != nil { jtv, ok := value.(bool) @@ -22514,6 +23051,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.CompUpdate = ptr.Bool(jtv) } + case "ConnectionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -22526,6 +23064,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ConnectionTimeout = ptr.Int32(int32(i64)) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -22534,6 +23073,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.DatabaseName = ptr.String(jtv) } + case "DateFormat": if value != nil { jtv, ok := value.(string) @@ -22542,6 +23082,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.DateFormat = ptr.String(jtv) } + case "EmptyAsNull": if value != nil { jtv, ok := value.(bool) @@ -22550,6 +23091,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.EmptyAsNull = ptr.Bool(jtv) } + case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -22558,6 +23100,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.EncryptionMode = types.EncryptionModeValue(jtv) } + case "ExplicitIds": if value != nil { jtv, ok := value.(bool) @@ -22566,6 +23109,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ExplicitIds = ptr.Bool(jtv) } + case "FileTransferUploadStreams": if value != nil { jtv, ok := value.(json.Number) @@ -22578,6 +23122,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.FileTransferUploadStreams = ptr.Int32(int32(i64)) } + case "LoadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -22590,6 +23135,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.LoadTimeout = ptr.Int32(int32(i64)) } + case "MapBooleanAsBoolean": if value != nil { jtv, ok := value.(bool) @@ -22598,6 +23144,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.MapBooleanAsBoolean = ptr.Bool(jtv) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -22610,6 +23157,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -22618,6 +23166,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -22630,6 +23179,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Port = ptr.Int32(int32(i64)) } + case "RemoveQuotes": if value != nil { jtv, ok := value.(bool) @@ -22638,6 +23188,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.RemoveQuotes = ptr.Bool(jtv) } + case "ReplaceChars": if value != nil { jtv, ok := value.(string) @@ -22646,6 +23197,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ReplaceChars = ptr.String(jtv) } + case "ReplaceInvalidChars": if value != nil { jtv, ok := value.(string) @@ -22654,6 +23206,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ReplaceInvalidChars = ptr.String(jtv) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -22662,6 +23215,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -22670,6 +23224,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -22678,6 +23233,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServerName = ptr.String(jtv) } + case "ServerSideEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -22686,6 +23242,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServerSideEncryptionKmsKeyId = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -22694,6 +23251,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "TimeFormat": if value != nil { jtv, ok := value.(string) @@ -22702,6 +23260,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TimeFormat = ptr.String(jtv) } + case "TrimBlanks": if value != nil { jtv, ok := value.(bool) @@ -22710,6 +23269,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TrimBlanks = ptr.Bool(jtv) } + case "TruncateColumns": if value != nil { jtv, ok := value.(bool) @@ -22718,6 +23278,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.TruncateColumns = ptr.Bool(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -22726,6 +23287,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.Username = ptr.String(jtv) } + case "WriteBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -22738,6 +23300,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings } sv.WriteBufferSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22777,6 +23340,7 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.EndpointArn = ptr.String(jtv) } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -22785,6 +23349,7 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.LastFailureMessage = ptr.String(jtv) } + case "LastRefreshDate": if value != nil { switch jtv := value.(type) { @@ -22800,6 +23365,7 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -22808,6 +23374,7 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22816,6 +23383,7 @@ func awsAwsjson11_deserializeDocumentRefreshSchemasStatus(v **types.RefreshSchem } sv.Status = types.RefreshSchemasStatusTypeValue(jtv) } + default: _, _ = key, value @@ -22855,6 +23423,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.CdcStartPosition = ptr.String(jtv) } + case "CdcStartTime": if value != nil { switch jtv := value.(type) { @@ -22870,6 +23439,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } + case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -22878,14 +23448,17 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.CdcStopPosition = ptr.String(jtv) } + case "FailureMessages": if err := awsAwsjson11_deserializeDocumentStringList(&sv.FailureMessages, value); err != nil { return err } + case "ProvisionData": if err := awsAwsjson11_deserializeDocumentProvisionData(&sv.ProvisionData, value); err != nil { return err } + case "RecoveryCheckpoint": if value != nil { jtv, ok := value.(string) @@ -22894,6 +23467,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.RecoveryCheckpoint = ptr.String(jtv) } + case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -22902,6 +23476,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationConfigArn = ptr.String(jtv) } + case "ReplicationConfigIdentifier": if value != nil { jtv, ok := value.(string) @@ -22910,6 +23485,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationConfigIdentifier = ptr.String(jtv) } + case "ReplicationCreateTime": if value != nil { switch jtv := value.(type) { @@ -22925,6 +23501,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } + case "ReplicationDeprovisionTime": if value != nil { switch jtv := value.(type) { @@ -22940,6 +23517,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } + case "ReplicationLastStopTime": if value != nil { switch jtv := value.(type) { @@ -22955,10 +23533,12 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } + case "ReplicationStats": if err := awsAwsjson11_deserializeDocumentReplicationStats(&sv.ReplicationStats, value); err != nil { return err } + case "ReplicationType": if value != nil { jtv, ok := value.(string) @@ -22967,6 +23547,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.ReplicationType = types.MigrationTypeValue(jtv) } + case "ReplicationUpdateTime": if value != nil { switch jtv := value.(type) { @@ -22982,6 +23563,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } } + case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -22990,6 +23572,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.SourceEndpointArn = ptr.String(jtv) } + case "StartReplicationType": if value != nil { jtv, ok := value.(string) @@ -22998,6 +23581,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.StartReplicationType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -23006,6 +23590,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.Status = ptr.String(jtv) } + case "StopReason": if value != nil { jtv, ok := value.(string) @@ -23014,6 +23599,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.StopReason = ptr.String(jtv) } + case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23022,6 +23608,7 @@ func awsAwsjson11_deserializeDocumentReplication(v **types.Replication, value in } sv.TargetEndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -23057,6 +23644,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf if err := awsAwsjson11_deserializeDocumentComputeConfig(&sv.ComputeConfig, value); err != nil { return err } + case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -23065,6 +23653,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationConfigArn = ptr.String(jtv) } + case "ReplicationConfigCreateTime": if value != nil { switch jtv := value.(type) { @@ -23080,6 +23669,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } } + case "ReplicationConfigIdentifier": if value != nil { jtv, ok := value.(string) @@ -23088,6 +23678,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationConfigIdentifier = ptr.String(jtv) } + case "ReplicationConfigUpdateTime": if value != nil { switch jtv := value.(type) { @@ -23103,6 +23694,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } } + case "ReplicationSettings": if value != nil { jtv, ok := value.(string) @@ -23111,6 +23703,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationSettings = ptr.String(jtv) } + case "ReplicationType": if value != nil { jtv, ok := value.(string) @@ -23119,6 +23712,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.ReplicationType = types.MigrationTypeValue(jtv) } + case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23127,6 +23721,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.SourceEndpointArn = ptr.String(jtv) } + case "SupplementalSettings": if value != nil { jtv, ok := value.(string) @@ -23135,6 +23730,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.SupplementalSettings = ptr.String(jtv) } + case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -23143,6 +23739,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.TableMappings = ptr.String(jtv) } + case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -23151,6 +23748,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.TargetEndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -23228,6 +23826,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AllocatedStorage = int32(i64) } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -23236,6 +23835,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AutoMinorVersionUpgrade = jtv } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -23244,6 +23844,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.AvailabilityZone = ptr.String(jtv) } + case "DnsNameServers": if value != nil { jtv, ok := value.(string) @@ -23252,6 +23853,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.DnsNameServers = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -23260,6 +23862,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.EngineVersion = ptr.String(jtv) } + case "FreeUntil": if value != nil { switch jtv := value.(type) { @@ -23275,6 +23878,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } } + case "InstanceCreateTime": if value != nil { switch jtv := value.(type) { @@ -23290,6 +23894,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -23298,6 +23903,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.KmsKeyId = ptr.String(jtv) } + case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -23306,6 +23912,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.MultiAZ = jtv } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -23314,10 +23921,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.NetworkType = ptr.String(jtv) } + case "PendingModifiedValues": if err := awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -23326,6 +23935,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -23334,6 +23944,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.PubliclyAccessible = jtv } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -23342,6 +23953,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -23350,6 +23962,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceClass = ptr.String(jtv) } + case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -23358,10 +23971,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } + case "ReplicationInstanceIpv6Addresses": if err := awsAwsjson11_deserializeDocumentReplicationInstanceIpv6AddressList(&sv.ReplicationInstanceIpv6Addresses, value); err != nil { return err } + case "ReplicationInstancePrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -23370,10 +23985,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstancePrivateIpAddress = ptr.String(jtv) } + case "ReplicationInstancePrivateIpAddresses": if err := awsAwsjson11_deserializeDocumentReplicationInstancePrivateIpAddressList(&sv.ReplicationInstancePrivateIpAddresses, value); err != nil { return err } + case "ReplicationInstancePublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -23382,10 +23999,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstancePublicIpAddress = ptr.String(jtv) } + case "ReplicationInstancePublicIpAddresses": if err := awsAwsjson11_deserializeDocumentReplicationInstancePublicIpAddressList(&sv.ReplicationInstancePublicIpAddresses, value); err != nil { return err } + case "ReplicationInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -23394,10 +24013,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.ReplicationInstanceStatus = ptr.String(jtv) } + case "ReplicationSubnetGroup": if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } + case "SecondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -23406,10 +24027,12 @@ func awsAwsjson11_deserializeDocumentReplicationInstance(v **types.ReplicationIn } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "VpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -23595,6 +24218,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationInstanceTaskLogSize = i64 } + case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -23603,6 +24227,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationTaskArn = ptr.String(jtv) } + case "ReplicationTaskName": if value != nil { jtv, ok := value.(string) @@ -23611,6 +24236,7 @@ func awsAwsjson11_deserializeDocumentReplicationInstanceTaskLog(v **types.Replic } sv.ReplicationTaskName = ptr.String(jtv) } + default: _, _ = key, value @@ -23722,6 +24348,7 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -23730,6 +24357,7 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.EngineVersion = ptr.String(jtv) } + case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -23738,6 +24366,7 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.MultiAZ = ptr.Bool(jtv) } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -23746,6 +24375,7 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.NetworkType = ptr.String(jtv) } + case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -23754,6 +24384,7 @@ func awsAwsjson11_deserializeDocumentReplicationPendingModifiedValues(v **types. } sv.ReplicationInstanceClass = ptr.String(jtv) } + default: _, _ = key, value @@ -23797,6 +24428,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.ElapsedTimeMillis = i64 } + case "FreshStartDate": if value != nil { switch jtv := value.(type) { @@ -23812,6 +24444,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } + case "FullLoadFinishDate": if value != nil { switch jtv := value.(type) { @@ -23827,6 +24460,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } + case "FullLoadProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -23839,6 +24473,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.FullLoadProgressPercent = int32(i64) } + case "FullLoadStartDate": if value != nil { switch jtv := value.(type) { @@ -23854,6 +24489,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -23869,6 +24505,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } + case "StopDate": if value != nil { switch jtv := value.(type) { @@ -23884,6 +24521,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } } + case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -23896,6 +24534,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesErrored = int32(i64) } + case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -23908,6 +24547,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesLoaded = int32(i64) } + case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -23920,6 +24560,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesLoading = int32(i64) } + case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -23932,6 +24573,7 @@ func awsAwsjson11_deserializeDocumentReplicationStats(v **types.ReplicationStats } sv.TablesQueued = int32(i64) } + default: _, _ = key, value @@ -23971,6 +24613,7 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.ReplicationSubnetGroupDescription = ptr.String(jtv) } + case "ReplicationSubnetGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -23979,6 +24622,7 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.ReplicationSubnetGroupIdentifier = ptr.String(jtv) } + case "SubnetGroupStatus": if value != nil { jtv, ok := value.(string) @@ -23987,14 +24631,17 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.SubnetGroupStatus = ptr.String(jtv) } + case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } + case "SupportedNetworkTypes": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SupportedNetworkTypes, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -24003,6 +24650,7 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroup(v **types.Replicatio } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -24042,6 +24690,7 @@ func awsAwsjson11_deserializeDocumentReplicationSubnetGroupDoesNotCoverEnoughAZs } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24149,6 +24798,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.CdcStartPosition = ptr.String(jtv) } + case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -24157,6 +24807,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.CdcStopPosition = ptr.String(jtv) } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -24165,6 +24816,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.LastFailureMessage = ptr.String(jtv) } + case "MigrationType": if value != nil { jtv, ok := value.(string) @@ -24173,6 +24825,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.MigrationType = types.MigrationTypeValue(jtv) } + case "RecoveryCheckpoint": if value != nil { jtv, ok := value.(string) @@ -24181,6 +24834,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.RecoveryCheckpoint = ptr.String(jtv) } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -24189,6 +24843,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -24197,6 +24852,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskArn = ptr.String(jtv) } + case "ReplicationTaskCreationDate": if value != nil { switch jtv := value.(type) { @@ -24212,6 +24868,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } } + case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -24220,6 +24877,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskIdentifier = ptr.String(jtv) } + case "ReplicationTaskSettings": if value != nil { jtv, ok := value.(string) @@ -24228,6 +24886,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.ReplicationTaskSettings = ptr.String(jtv) } + case "ReplicationTaskStartDate": if value != nil { switch jtv := value.(type) { @@ -24243,10 +24902,12 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } } + case "ReplicationTaskStats": if err := awsAwsjson11_deserializeDocumentReplicationTaskStats(&sv.ReplicationTaskStats, value); err != nil { return err } + case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -24255,6 +24916,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.SourceEndpointArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24263,6 +24925,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.Status = ptr.String(jtv) } + case "StopReason": if value != nil { jtv, ok := value.(string) @@ -24271,6 +24934,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.StopReason = ptr.String(jtv) } + case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -24279,6 +24943,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TableMappings = ptr.String(jtv) } + case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -24287,6 +24952,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TargetEndpointArn = ptr.String(jtv) } + case "TargetReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -24295,6 +24961,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TargetReplicationInstanceArn = ptr.String(jtv) } + case "TaskData": if value != nil { jtv, ok := value.(string) @@ -24303,6 +24970,7 @@ func awsAwsjson11_deserializeDocumentReplicationTask(v **types.ReplicationTask, } sv.TaskData = ptr.String(jtv) } + default: _, _ = key, value @@ -24342,6 +25010,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentResults = ptr.String(jtv) } + case "AssessmentResultsFile": if value != nil { jtv, ok := value.(string) @@ -24350,6 +25019,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentResultsFile = ptr.String(jtv) } + case "AssessmentStatus": if value != nil { jtv, ok := value.(string) @@ -24358,6 +25028,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.AssessmentStatus = ptr.String(jtv) } + case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -24366,6 +25037,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.ReplicationTaskArn = ptr.String(jtv) } + case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -24374,6 +25046,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.ReplicationTaskIdentifier = ptr.String(jtv) } + case "ReplicationTaskLastAssessmentDate": if value != nil { switch jtv := value.(type) { @@ -24389,6 +25062,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } } + case "S3ObjectUrl": if value != nil { jtv, ok := value.(string) @@ -24397,6 +25071,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResult(v **types.R } sv.S3ObjectUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -24466,6 +25141,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(&sv.AssessmentProgress, value); err != nil { return err } + case "AssessmentRunName": if value != nil { jtv, ok := value.(string) @@ -24474,6 +25150,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.AssessmentRunName = ptr.String(jtv) } + case "IsLatestTaskAssessmentRun": if value != nil { jtv, ok := value.(bool) @@ -24482,6 +25159,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.IsLatestTaskAssessmentRun = jtv } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -24490,6 +25168,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.LastFailureMessage = ptr.String(jtv) } + case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -24498,6 +25177,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ReplicationTaskArn = ptr.String(jtv) } + case "ReplicationTaskAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -24506,6 +25186,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ReplicationTaskAssessmentRunArn = ptr.String(jtv) } + case "ReplicationTaskAssessmentRunCreationDate": if value != nil { switch jtv := value.(type) { @@ -24521,6 +25202,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } } + case "ResultEncryptionMode": if value != nil { jtv, ok := value.(string) @@ -24529,6 +25211,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultEncryptionMode = ptr.String(jtv) } + case "ResultKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -24537,6 +25220,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultKmsKeyArn = ptr.String(jtv) } + case "ResultLocationBucket": if value != nil { jtv, ok := value.(string) @@ -24545,6 +25229,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultLocationBucket = ptr.String(jtv) } + case "ResultLocationFolder": if value != nil { jtv, ok := value.(string) @@ -24553,10 +25238,12 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ResultLocationFolder = ptr.String(jtv) } + case "ResultStatistic": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic(&sv.ResultStatistic, value); err != nil { return err } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -24565,6 +25252,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24573,6 +25261,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(v **types.Repl } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -24650,6 +25339,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(v **ty } sv.IndividualAssessmentCompletedCount = int32(i64) } + case "IndividualAssessmentCount": if value != nil { jtv, ok := value.(json.Number) @@ -24662,6 +25352,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunProgress(v **ty } sv.IndividualAssessmentCount = int32(i64) } + default: _, _ = key, value @@ -24705,6 +25396,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Cancelled = int32(i64) } + case "Error": if value != nil { jtv, ok := value.(json.Number) @@ -24717,6 +25409,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Error = int32(i64) } + case "Failed": if value != nil { jtv, ok := value.(json.Number) @@ -24729,6 +25422,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Failed = int32(i64) } + case "Passed": if value != nil { jtv, ok := value.(json.Number) @@ -24741,6 +25435,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Passed = int32(i64) } + case "Warning": if value != nil { jtv, ok := value.(json.Number) @@ -24753,6 +25448,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunResultStatistic } sv.Warning = int32(i64) } + default: _, _ = key, value @@ -24792,6 +25488,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.IndividualAssessmentName = ptr.String(jtv) } + case "ReplicationTaskAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -24800,6 +25497,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.ReplicationTaskAssessmentRunArn = ptr.String(jtv) } + case "ReplicationTaskIndividualAssessmentArn": if value != nil { jtv, ok := value.(string) @@ -24808,6 +25506,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.ReplicationTaskIndividualAssessmentArn = ptr.String(jtv) } + case "ReplicationTaskIndividualAssessmentStartDate": if value != nil { switch jtv := value.(type) { @@ -24823,6 +25522,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24831,6 +25531,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessment(v **typ } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -24942,6 +25643,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.ElapsedTimeMillis = i64 } + case "FreshStartDate": if value != nil { switch jtv := value.(type) { @@ -24957,6 +25659,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } + case "FullLoadFinishDate": if value != nil { switch jtv := value.(type) { @@ -24972,6 +25675,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } + case "FullLoadProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -24984,6 +25688,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.FullLoadProgressPercent = int32(i64) } + case "FullLoadStartDate": if value != nil { switch jtv := value.(type) { @@ -24999,6 +25704,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -25014,6 +25720,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } + case "StopDate": if value != nil { switch jtv := value.(type) { @@ -25029,6 +25736,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } } + case "TablesErrored": if value != nil { jtv, ok := value.(json.Number) @@ -25041,6 +25749,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesErrored = int32(i64) } + case "TablesLoaded": if value != nil { jtv, ok := value.(json.Number) @@ -25053,6 +25762,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesLoaded = int32(i64) } + case "TablesLoading": if value != nil { jtv, ok := value.(json.Number) @@ -25065,6 +25775,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesLoading = int32(i64) } + case "TablesQueued": if value != nil { jtv, ok := value.(json.Number) @@ -25077,6 +25788,7 @@ func awsAwsjson11_deserializeDocumentReplicationTaskStats(v **types.ReplicationT } sv.TablesQueued = int32(i64) } + default: _, _ = key, value @@ -25116,6 +25828,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -25124,6 +25837,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsFault(v **types.Resour } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25163,6 +25877,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundFault(v **types.ResourceNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25198,6 +25913,7 @@ func awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(v **types if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActionDetails(&sv.PendingMaintenanceActionDetails, value); err != nil { return err } + case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -25206,6 +25922,7 @@ func awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(v **types } sv.ResourceIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -25245,6 +25962,7 @@ func awsAwsjson11_deserializeDocumentResourceQuotaExceededFault(v **types.Resour } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25284,6 +26002,7 @@ func awsAwsjson11_deserializeDocumentS3AccessDeniedFault(v **types.S3AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25323,6 +26042,7 @@ func awsAwsjson11_deserializeDocumentS3ResourceNotFoundFault(v **types.S3Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25362,6 +26082,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.AddColumnName = ptr.Bool(jtv) } + case "AddTrailingPaddingCharacter": if value != nil { jtv, ok := value.(bool) @@ -25370,6 +26091,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.AddTrailingPaddingCharacter = ptr.Bool(jtv) } + case "BucketFolder": if value != nil { jtv, ok := value.(string) @@ -25378,6 +26100,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.BucketFolder = ptr.String(jtv) } + case "BucketName": if value != nil { jtv, ok := value.(string) @@ -25386,6 +26109,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.BucketName = ptr.String(jtv) } + case "CannedAclForObjects": if value != nil { jtv, ok := value.(string) @@ -25394,6 +26118,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CannedAclForObjects = types.CannedAclForObjectsValue(jtv) } + case "CdcInsertsAndUpdates": if value != nil { jtv, ok := value.(bool) @@ -25402,6 +26127,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcInsertsAndUpdates = ptr.Bool(jtv) } + case "CdcInsertsOnly": if value != nil { jtv, ok := value.(bool) @@ -25410,6 +26136,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcInsertsOnly = ptr.Bool(jtv) } + case "CdcMaxBatchInterval": if value != nil { jtv, ok := value.(json.Number) @@ -25422,6 +26149,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcMaxBatchInterval = ptr.Int32(int32(i64)) } + case "CdcMinFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -25434,6 +26162,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcMinFileSize = ptr.Int32(int32(i64)) } + case "CdcPath": if value != nil { jtv, ok := value.(string) @@ -25442,6 +26171,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CdcPath = ptr.String(jtv) } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -25450,6 +26180,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CompressionType = types.CompressionTypeValue(jtv) } + case "CsvDelimiter": if value != nil { jtv, ok := value.(string) @@ -25458,6 +26189,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvDelimiter = ptr.String(jtv) } + case "CsvNoSupValue": if value != nil { jtv, ok := value.(string) @@ -25466,6 +26198,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvNoSupValue = ptr.String(jtv) } + case "CsvNullValue": if value != nil { jtv, ok := value.(string) @@ -25474,6 +26207,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvNullValue = ptr.String(jtv) } + case "CsvRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -25482,6 +26216,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.CsvRowDelimiter = ptr.String(jtv) } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -25490,6 +26225,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DataFormat = types.DataFormatValue(jtv) } + case "DataPageSize": if value != nil { jtv, ok := value.(json.Number) @@ -25502,6 +26238,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DataPageSize = ptr.Int32(int32(i64)) } + case "DatePartitionDelimiter": if value != nil { jtv, ok := value.(string) @@ -25510,6 +26247,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionDelimiter = types.DatePartitionDelimiterValue(jtv) } + case "DatePartitionEnabled": if value != nil { jtv, ok := value.(bool) @@ -25518,6 +26256,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionEnabled = ptr.Bool(jtv) } + case "DatePartitionSequence": if value != nil { jtv, ok := value.(string) @@ -25526,6 +26265,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionSequence = types.DatePartitionSequenceValue(jtv) } + case "DatePartitionTimezone": if value != nil { jtv, ok := value.(string) @@ -25534,6 +26274,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DatePartitionTimezone = ptr.String(jtv) } + case "DictPageSizeLimit": if value != nil { jtv, ok := value.(json.Number) @@ -25546,6 +26287,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.DictPageSizeLimit = ptr.Int32(int32(i64)) } + case "EnableStatistics": if value != nil { jtv, ok := value.(bool) @@ -25554,6 +26296,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EnableStatistics = ptr.Bool(jtv) } + case "EncodingType": if value != nil { jtv, ok := value.(string) @@ -25562,6 +26305,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EncodingType = types.EncodingTypeValue(jtv) } + case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -25570,6 +26314,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.EncryptionMode = types.EncryptionModeValue(jtv) } + case "ExpectedBucketOwner": if value != nil { jtv, ok := value.(string) @@ -25578,6 +26323,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ExpectedBucketOwner = ptr.String(jtv) } + case "ExternalTableDefinition": if value != nil { jtv, ok := value.(string) @@ -25586,6 +26332,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ExternalTableDefinition = ptr.String(jtv) } + case "GlueCatalogGeneration": if value != nil { jtv, ok := value.(bool) @@ -25594,6 +26341,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.GlueCatalogGeneration = ptr.Bool(jtv) } + case "IgnoreHeaderRows": if value != nil { jtv, ok := value.(json.Number) @@ -25606,6 +26354,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.IgnoreHeaderRows = ptr.Int32(int32(i64)) } + case "IncludeOpForFullLoad": if value != nil { jtv, ok := value.(bool) @@ -25614,6 +26363,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.IncludeOpForFullLoad = ptr.Bool(jtv) } + case "MaxFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -25626,6 +26376,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.MaxFileSize = ptr.Int32(int32(i64)) } + case "ParquetTimestampInMillisecond": if value != nil { jtv, ok := value.(bool) @@ -25634,6 +26385,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ParquetTimestampInMillisecond = ptr.Bool(jtv) } + case "ParquetVersion": if value != nil { jtv, ok := value.(string) @@ -25642,6 +26394,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ParquetVersion = types.ParquetVersionValue(jtv) } + case "PreserveTransactions": if value != nil { jtv, ok := value.(bool) @@ -25650,6 +26403,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.PreserveTransactions = ptr.Bool(jtv) } + case "Rfc4180": if value != nil { jtv, ok := value.(bool) @@ -25658,6 +26412,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.Rfc4180 = ptr.Bool(jtv) } + case "RowGroupLength": if value != nil { jtv, ok := value.(json.Number) @@ -25670,6 +26425,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.RowGroupLength = ptr.Int32(int32(i64)) } + case "ServerSideEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -25678,6 +26434,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ServerSideEncryptionKmsKeyId = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -25686,6 +26443,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.ServiceAccessRoleArn = ptr.String(jtv) } + case "TimestampColumnName": if value != nil { jtv, ok := value.(string) @@ -25694,6 +26452,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.TimestampColumnName = ptr.String(jtv) } + case "UseCsvNoSupValue": if value != nil { jtv, ok := value.(bool) @@ -25702,6 +26461,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.UseCsvNoSupValue = ptr.Bool(jtv) } + case "UseTaskStartTimeForFullLoadTimestamp": if value != nil { jtv, ok := value.(bool) @@ -25710,6 +26470,7 @@ func awsAwsjson11_deserializeDocumentS3Settings(v **types.S3Settings, value inte } sv.UseTaskStartTimeForFullLoadTimestamp = ptr.Bool(jtv) } + default: _, _ = key, value @@ -25749,6 +26510,7 @@ func awsAwsjson11_deserializeDocumentSCApplicationAttributes(v **types.SCApplica } sv.S3BucketPath = ptr.String(jtv) } + case "S3BucketRoleArn": if value != nil { jtv, ok := value.(string) @@ -25757,6 +26519,7 @@ func awsAwsjson11_deserializeDocumentSCApplicationAttributes(v **types.SCApplica } sv.S3BucketRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25792,10 +26555,12 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "ExportSqlDetails": if err := awsAwsjson11_deserializeDocumentExportSqlDetails(&sv.ExportSqlDetails, value); err != nil { return err } + case "MigrationProjectArn": if value != nil { jtv, ok := value.(string) @@ -25804,6 +26569,7 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.MigrationProjectArn = ptr.String(jtv) } + case "RequestIdentifier": if value != nil { jtv, ok := value.(string) @@ -25812,6 +26578,7 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.RequestIdentifier = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -25820,6 +26587,7 @@ func awsAwsjson11_deserializeDocumentSchemaConversionRequest(v **types.SchemaCon } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -25933,6 +26701,7 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.CodeLineCount = ptr.Int64(i64) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -25945,6 +26714,7 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.CodeSize = ptr.Int64(i64) } + case "Complexity": if value != nil { jtv, ok := value.(string) @@ -25953,14 +26723,17 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.Complexity = ptr.String(jtv) } + case "DatabaseInstance": if err := awsAwsjson11_deserializeDocumentDatabaseShortInfoResponse(&sv.DatabaseInstance, value); err != nil { return err } + case "OriginalSchema": if err := awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(&sv.OriginalSchema, value); err != nil { return err } + case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -25969,6 +26742,7 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.SchemaId = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -25977,10 +26751,12 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } sv.SchemaName = ptr.String(jtv) } + case "Server": if err := awsAwsjson11_deserializeDocumentServerShortInfoResponse(&sv.Server, value); err != nil { return err } + case "Similarity": if value != nil { switch jtv := value.(type) { @@ -26014,6 +26790,7 @@ func awsAwsjson11_deserializeDocumentSchemaResponse(v **types.SchemaResponse, va } } + default: _, _ = key, value @@ -26053,6 +26830,7 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseId = ptr.String(jtv) } + case "DatabaseIpAddress": if value != nil { jtv, ok := value.(string) @@ -26061,6 +26839,7 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseIpAddress = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -26069,6 +26848,7 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.DatabaseName = ptr.String(jtv) } + case "SchemaId": if value != nil { jtv, ok := value.(string) @@ -26077,6 +26857,7 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.SchemaId = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -26085,6 +26866,7 @@ func awsAwsjson11_deserializeDocumentSchemaShortInfoResponse(v **types.SchemaSho } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -26124,6 +26906,7 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.IpAddress = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -26132,6 +26915,7 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.ServerId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -26140,6 +26924,7 @@ func awsAwsjson11_deserializeDocumentServerShortInfoResponse(v **types.ServerSho } sv.ServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -26179,6 +26964,7 @@ func awsAwsjson11_deserializeDocumentSNSInvalidTopicFault(v **types.SNSInvalidTo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26218,6 +27004,7 @@ func awsAwsjson11_deserializeDocumentSNSNoAuthorizationFault(v **types.SNSNoAuth } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26257,6 +27044,7 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStartPosition = ptr.String(jtv) } + case "CDCStartTime": if value != nil { jtv, ok := value.(string) @@ -26269,6 +27057,7 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStartTime = ptr.Time(t) } + case "CDCStopTime": if value != nil { jtv, ok := value.(string) @@ -26281,6 +27070,7 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.CDCStopTime = ptr.Time(t) } + case "SlotName": if value != nil { jtv, ok := value.(string) @@ -26289,6 +27079,7 @@ func awsAwsjson11_deserializeDocumentSourceDataSetting(v **types.SourceDataSetti } sv.SlotName = ptr.String(jtv) } + default: _, _ = key, value @@ -26398,6 +27189,7 @@ func awsAwsjson11_deserializeDocumentStorageQuotaExceededFault(v **types.Storage } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26469,6 +27261,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZone(&sv.SubnetAvailabilityZone, value); err != nil { return err } + case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -26477,6 +27270,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetIdentifier = ptr.String(jtv) } + case "SubnetStatus": if value != nil { jtv, ok := value.(string) @@ -26485,6 +27279,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -26524,6 +27319,7 @@ func awsAwsjson11_deserializeDocumentSubnetAlreadyInUse(v **types.SubnetAlreadyI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26597,6 +27393,7 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EndpointType = types.ReplicationEndpointTypeValue(jtv) } + case "EngineDisplayName": if value != nil { jtv, ok := value.(string) @@ -26605,6 +27402,7 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EngineDisplayName = ptr.String(jtv) } + case "EngineName": if value != nil { jtv, ok := value.(string) @@ -26613,6 +27411,7 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.EngineName = ptr.String(jtv) } + case "ReplicationInstanceEngineMinimumVersion": if value != nil { jtv, ok := value.(string) @@ -26621,6 +27420,7 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.ReplicationInstanceEngineMinimumVersion = ptr.String(jtv) } + case "SupportsCDC": if value != nil { jtv, ok := value.(bool) @@ -26629,6 +27429,7 @@ func awsAwsjson11_deserializeDocumentSupportedEndpointType(v **types.SupportedEn } sv.SupportsCDC = jtv } + default: _, _ = key, value @@ -26702,6 +27503,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.DatabaseName = ptr.String(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -26710,6 +27512,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Password = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -26722,6 +27525,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Port = ptr.Int32(int32(i64)) } + case "SecretsManagerAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -26730,6 +27534,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.SecretsManagerAccessRoleArn = ptr.String(jtv) } + case "SecretsManagerSecretId": if value != nil { jtv, ok := value.(string) @@ -26738,6 +27543,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.SecretsManagerSecretId = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -26746,6 +27552,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.ServerName = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -26754,6 +27561,7 @@ func awsAwsjson11_deserializeDocumentSybaseSettings(v **types.SybaseSettings, va } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -26797,6 +27605,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedDdls = ptr.Int64(i64) } + case "AppliedDeletes": if value != nil { jtv, ok := value.(json.Number) @@ -26809,6 +27618,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedDeletes = ptr.Int64(i64) } + case "AppliedInserts": if value != nil { jtv, ok := value.(json.Number) @@ -26821,6 +27631,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedInserts = ptr.Int64(i64) } + case "AppliedUpdates": if value != nil { jtv, ok := value.(json.Number) @@ -26833,6 +27644,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.AppliedUpdates = ptr.Int64(i64) } + case "Ddls": if value != nil { jtv, ok := value.(json.Number) @@ -26845,6 +27657,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Ddls = i64 } + case "Deletes": if value != nil { jtv, ok := value.(json.Number) @@ -26857,6 +27670,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Deletes = i64 } + case "FullLoadCondtnlChkFailedRows": if value != nil { jtv, ok := value.(json.Number) @@ -26869,6 +27683,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadCondtnlChkFailedRows = i64 } + case "FullLoadEndTime": if value != nil { switch jtv := value.(type) { @@ -26884,6 +27699,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } + case "FullLoadErrorRows": if value != nil { jtv, ok := value.(json.Number) @@ -26896,6 +27712,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadErrorRows = i64 } + case "FullLoadReloaded": if value != nil { jtv, ok := value.(bool) @@ -26904,6 +27721,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadReloaded = ptr.Bool(jtv) } + case "FullLoadRows": if value != nil { jtv, ok := value.(json.Number) @@ -26916,6 +27734,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.FullLoadRows = i64 } + case "FullLoadStartTime": if value != nil { switch jtv := value.(type) { @@ -26931,6 +27750,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } + case "Inserts": if value != nil { jtv, ok := value.(json.Number) @@ -26943,6 +27763,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Inserts = i64 } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -26958,6 +27779,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -26966,6 +27788,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.SchemaName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -26974,6 +27797,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.TableName = ptr.String(jtv) } + case "TableState": if value != nil { jtv, ok := value.(string) @@ -26982,6 +27806,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.TableState = ptr.String(jtv) } + case "Updates": if value != nil { jtv, ok := value.(json.Number) @@ -26994,6 +27819,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.Updates = i64 } + case "ValidationFailedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -27006,6 +27832,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationFailedRecords = i64 } + case "ValidationPendingRecords": if value != nil { jtv, ok := value.(json.Number) @@ -27018,6 +27845,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationPendingRecords = i64 } + case "ValidationState": if value != nil { jtv, ok := value.(string) @@ -27026,6 +27854,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationState = ptr.String(jtv) } + case "ValidationStateDetails": if value != nil { jtv, ok := value.(string) @@ -27034,6 +27863,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationStateDetails = ptr.String(jtv) } + case "ValidationSuspendedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -27046,6 +27876,7 @@ func awsAwsjson11_deserializeDocumentTableStatistics(v **types.TableStatistics, } sv.ValidationSuspendedRecords = i64 } + default: _, _ = key, value @@ -27119,6 +27950,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -27127,6 +27959,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.ResourceArn = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -27135,6 +27968,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -27208,6 +28042,7 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.CdcInsertsAndUpdates = ptr.Bool(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -27216,6 +28051,7 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.DatabaseName = ptr.String(jtv) } + case "EnableMagneticStoreWrites": if value != nil { jtv, ok := value.(bool) @@ -27224,6 +28060,7 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.EnableMagneticStoreWrites = ptr.Bool(jtv) } + case "MagneticDuration": if value != nil { jtv, ok := value.(json.Number) @@ -27236,6 +28073,7 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.MagneticDuration = ptr.Int32(int32(i64)) } + case "MemoryDuration": if value != nil { jtv, ok := value.(json.Number) @@ -27248,6 +28086,7 @@ func awsAwsjson11_deserializeDocumentTimestreamSettings(v **types.TimestreamSett } sv.MemoryDuration = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -27287,6 +28126,7 @@ func awsAwsjson11_deserializeDocumentUpgradeDependencyFailureFault(v **types.Upg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27326,6 +28166,7 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.Status = ptr.String(jtv) } + case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -27334,6 +28175,7 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.VpcSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -27434,6 +28276,7 @@ func awsAwsjson11_deserializeOpDocumentApplyPendingMaintenanceActionOutput(v **A if err := awsAwsjson11_deserializeDocumentResourcePendingMaintenanceActions(&sv.ResourcePendingMaintenanceActions, value); err != nil { return err } + default: _, _ = key, value @@ -27469,6 +28312,7 @@ func awsAwsjson11_deserializeOpDocumentBatchStartRecommendationsOutput(v **Batch if err := awsAwsjson11_deserializeDocumentBatchStartRecommendationsErrorEntryList(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -27504,6 +28348,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplicationTaskAssessmentRunOutput( if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } + default: _, _ = key, value @@ -27539,6 +28384,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataMigrationOutput(v **CreateDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } + default: _, _ = key, value @@ -27574,6 +28420,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataProviderOutput(v **CreateDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } + default: _, _ = key, value @@ -27609,6 +28456,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -27644,6 +28492,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventSubscriptionOutput(v **CreateE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } + default: _, _ = key, value @@ -27683,6 +28532,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.CollectorName = ptr.String(jtv) } + case "CollectorReferencedId": if value != nil { jtv, ok := value.(string) @@ -27691,6 +28541,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.CollectorReferencedId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -27699,6 +28550,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.Description = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -27707,6 +28559,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.S3BucketName = ptr.String(jtv) } + case "ServiceAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -27715,6 +28568,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetAdvisorCollectorOutput(v **Cre } sv.ServiceAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -27750,6 +28604,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceProfileOutput(v **CreateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -27785,6 +28640,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMigrationProjectOutput(v **CreateMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } + default: _, _ = key, value @@ -27820,6 +28676,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationConfigOutput(v **CreateR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -27855,6 +28712,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationInstanceOutput(v **Creat if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } + default: _, _ = key, value @@ -27890,6 +28748,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationSubnetGroupOutput(v **Cr if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -27925,6 +28784,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationTaskOutput(v **CreateRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -27960,6 +28820,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCertificateOutput(v **DeleteCertifi if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } + default: _, _ = key, value @@ -27995,6 +28856,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -28030,6 +28892,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataMigrationOutput(v **DeleteDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } + default: _, _ = key, value @@ -28065,6 +28928,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataProviderOutput(v **DeleteDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } + default: _, _ = key, value @@ -28100,6 +28964,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEndpointOutput(v **DeleteEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -28135,6 +29000,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventSubscriptionOutput(v **DeleteE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } + default: _, _ = key, value @@ -28170,6 +29036,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetAdvisorDatabasesOutput(v **Del if err := awsAwsjson11_deserializeDocumentStringList(&sv.DatabaseIds, value); err != nil { return err } + default: _, _ = key, value @@ -28205,6 +29072,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceProfileOutput(v **DeleteIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -28240,6 +29108,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteMigrationProjectOutput(v **DeleteMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } + default: _, _ = key, value @@ -28275,6 +29144,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationConfigOutput(v **DeleteR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -28310,6 +29180,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationInstanceOutput(v **Delet if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } + default: _, _ = key, value @@ -28376,6 +29247,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationTaskAssessmentRunOutput( if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } + default: _, _ = key, value @@ -28411,6 +29283,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteReplicationTaskOutput(v **DeleteRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -28446,6 +29319,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAccountQuotaList(&sv.AccountQuotas, value); err != nil { return err } + case "UniqueAccountIdentifier": if value != nil { jtv, ok := value.(string) @@ -28454,6 +29328,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr } sv.UniqueAccountIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -28489,6 +29364,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicableIndividualAssessmentsOu if err := awsAwsjson11_deserializeDocumentIndividualAssessmentNameList(&sv.IndividualAssessmentNames, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28497,6 +29373,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicableIndividualAssessmentsOu } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28532,6 +29409,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificatesOutput(v **DescribeCe if err := awsAwsjson11_deserializeDocumentCertificateList(&sv.Certificates, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28540,6 +29418,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificatesOutput(v **DescribeCe } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28575,6 +29454,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28583,6 +29463,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28622,6 +29503,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConversionConfigurationOutput(v * } sv.ConversionConfiguration = ptr.String(jtv) } + case "MigrationProjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -28630,6 +29512,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConversionConfigurationOutput(v * } sv.MigrationProjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -28665,6 +29548,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataMigrationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDataMigrations(&sv.DataMigrations, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28673,6 +29557,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataMigrationsOutput(v **Describe } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28708,6 +29593,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataProvidersOutput(v **DescribeD if err := awsAwsjson11_deserializeDocumentDataProviderList(&sv.DataProviders, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28716,6 +29602,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataProvidersOutput(v **DescribeD } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28751,6 +29638,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointSettingsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEndpointSettingsList(&sv.EndpointSettings, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28759,6 +29647,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointSettingsOutput(v **Descri } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28794,6 +29683,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson11_deserializeDocumentEndpointList(&sv.Endpoints, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28802,6 +29692,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28841,10 +29732,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointTypesOutput(v **DescribeE } sv.Marker = ptr.String(jtv) } + case "SupportedEndpointTypes": if err := awsAwsjson11_deserializeDocumentSupportedEndpointTypeList(&sv.SupportedEndpointTypes, value); err != nil { return err } + default: _, _ = key, value @@ -28880,6 +29773,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentEngineVersionList(&sv.EngineVersions, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28888,6 +29782,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -28923,6 +29818,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventCategoriesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEventCategoryGroupList(&sv.EventCategoryGroupList, value); err != nil { return err } + default: _, _ = key, value @@ -28958,6 +29854,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -28966,6 +29863,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -29001,6 +29899,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSubscriptionsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentEventSubscriptionsList(&sv.EventSubscriptionsList, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -29009,6 +29908,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSubscriptionsOutput(v **Desc } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -29048,10 +29948,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExtensionPackAssociationsOutput(v } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29087,6 +29989,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorCollectorsOutput(v ** if err := awsAwsjson11_deserializeDocumentCollectorResponses(&sv.Collectors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29095,6 +29998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorCollectorsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29130,6 +30034,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorDatabasesOutput(v **D if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29138,6 +30043,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorDatabasesOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29173,6 +30079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorLsaAnalysisOutput(v * if err := awsAwsjson11_deserializeDocumentFleetAdvisorLsaAnalysisResponseList(&sv.Analysis, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29181,6 +30088,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorLsaAnalysisOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29216,6 +30124,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemaObjectSummaryOu if err := awsAwsjson11_deserializeDocumentFleetAdvisorSchemaObjectList(&sv.FleetAdvisorSchemaObjects, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29224,6 +30133,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemaObjectSummaryOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29259,6 +30169,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemasOutput(v **Des if err := awsAwsjson11_deserializeDocumentFleetAdvisorSchemaList(&sv.FleetAdvisorSchemas, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29267,6 +30178,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAdvisorSchemasOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29302,6 +30214,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceProfilesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentInstanceProfileList(&sv.InstanceProfiles, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -29310,6 +30223,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceProfilesOutput(v **Descri } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -29349,10 +30263,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelAssessmentsOutput(v } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29392,10 +30308,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelConversionsOutput(v } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29435,10 +30353,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelExportsAsScriptOutpu } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29478,10 +30398,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelExportsToTargetOutpu } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29521,10 +30443,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetadataModelImportsOutput(v **De } sv.Marker = ptr.String(jtv) } + case "Requests": if err := awsAwsjson11_deserializeDocumentSchemaConversionRequestList(&sv.Requests, value); err != nil { return err } + default: _, _ = key, value @@ -29564,10 +30488,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMigrationProjectsOutput(v **Descr } sv.Marker = ptr.String(jtv) } + case "MigrationProjects": if err := awsAwsjson11_deserializeDocumentMigrationProjectList(&sv.MigrationProjects, value); err != nil { return err } + default: _, _ = key, value @@ -29607,10 +30533,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrderableReplicationInstancesOutp } sv.Marker = ptr.String(jtv) } + case "OrderableReplicationInstances": if err := awsAwsjson11_deserializeDocumentOrderableReplicationInstanceList(&sv.OrderableReplicationInstances, value); err != nil { return err } + default: _, _ = key, value @@ -29650,10 +30578,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePendingMaintenanceActionsOutput(v } sv.Marker = ptr.String(jtv) } + case "PendingMaintenanceActions": if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActions(&sv.PendingMaintenanceActions, value); err != nil { return err } + default: _, _ = key, value @@ -29689,6 +30619,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationLimitationsOutput(v if err := awsAwsjson11_deserializeDocumentLimitationList(&sv.Limitations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29697,6 +30628,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationLimitationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29736,10 +30668,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommendationsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -29775,6 +30709,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRefreshSchemasStatusOutput(v **De if err := awsAwsjson11_deserializeDocumentRefreshSchemasStatus(&sv.RefreshSchemasStatus, value); err != nil { return err } + default: _, _ = key, value @@ -29814,10 +30749,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationConfigsOutput(v **Desc } sv.Marker = ptr.String(jtv) } + case "ReplicationConfigs": if err := awsAwsjson11_deserializeDocumentReplicationConfigList(&sv.ReplicationConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -29857,10 +30794,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstancesOutput(v **De } sv.Marker = ptr.String(jtv) } + case "ReplicationInstances": if err := awsAwsjson11_deserializeDocumentReplicationInstanceList(&sv.ReplicationInstances, value); err != nil { return err } + default: _, _ = key, value @@ -29900,6 +30839,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstanceTaskLogsOutput } sv.Marker = ptr.String(jtv) } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -29908,10 +30848,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationInstanceTaskLogsOutput } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "ReplicationInstanceTaskLogs": if err := awsAwsjson11_deserializeDocumentReplicationInstanceTaskLogsList(&sv.ReplicationInstanceTaskLogs, value); err != nil { return err } + default: _, _ = key, value @@ -29951,10 +30893,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationsOutput(v **DescribeRe } sv.Marker = ptr.String(jtv) } + case "Replications": if err := awsAwsjson11_deserializeDocumentReplicationList(&sv.Replications, value); err != nil { return err } + default: _, _ = key, value @@ -29994,10 +30938,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationSubnetGroupsOutput(v * } sv.Marker = ptr.String(jtv) } + case "ReplicationSubnetGroups": if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroups(&sv.ReplicationSubnetGroups, value); err != nil { return err } + default: _, _ = key, value @@ -30037,6 +30983,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTableStatisticsOutput( } sv.Marker = ptr.String(jtv) } + case "ReplicationConfigArn": if value != nil { jtv, ok := value.(string) @@ -30045,10 +30992,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTableStatisticsOutput( } sv.ReplicationConfigArn = ptr.String(jtv) } + case "ReplicationTableStatistics": if err := awsAwsjson11_deserializeDocumentReplicationTableStatisticsList(&sv.ReplicationTableStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -30088,6 +31037,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentResultsO } sv.BucketName = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -30096,10 +31046,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentResultsO } sv.Marker = ptr.String(jtv) } + case "ReplicationTaskAssessmentResults": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentResultList(&sv.ReplicationTaskAssessmentResults, value); err != nil { return err } + default: _, _ = key, value @@ -30139,10 +31091,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskAssessmentRunsOutp } sv.Marker = ptr.String(jtv) } + case "ReplicationTaskAssessmentRuns": if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRunList(&sv.ReplicationTaskAssessmentRuns, value); err != nil { return err } + default: _, _ = key, value @@ -30182,10 +31136,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTaskIndividualAssessme } sv.Marker = ptr.String(jtv) } + case "ReplicationTaskIndividualAssessments": if err := awsAwsjson11_deserializeDocumentReplicationTaskIndividualAssessmentList(&sv.ReplicationTaskIndividualAssessments, value); err != nil { return err } + default: _, _ = key, value @@ -30225,10 +31181,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplicationTasksOutput(v **Descri } sv.Marker = ptr.String(jtv) } + case "ReplicationTasks": if err := awsAwsjson11_deserializeDocumentReplicationTaskList(&sv.ReplicationTasks, value); err != nil { return err } + default: _, _ = key, value @@ -30268,10 +31226,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSchemasOutput(v **DescribeSchemas } sv.Marker = ptr.String(jtv) } + case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -30311,6 +31271,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableStatisticsOutput(v **Describ } sv.Marker = ptr.String(jtv) } + case "ReplicationTaskArn": if value != nil { jtv, ok := value.(string) @@ -30319,10 +31280,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableStatisticsOutput(v **Describ } sv.ReplicationTaskArn = ptr.String(jtv) } + case "TableStatistics": if err := awsAwsjson11_deserializeDocumentTableStatisticsList(&sv.TableStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -30358,10 +31321,12 @@ func awsAwsjson11_deserializeOpDocumentExportMetadataModelAssessmentOutput(v **E if err := awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(&sv.CsvReport, value); err != nil { return err } + case "PdfReport": if err := awsAwsjson11_deserializeDocumentExportMetadataModelAssessmentResultEntry(&sv.PdfReport, value); err != nil { return err } + default: _, _ = key, value @@ -30397,6 +31362,7 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } + default: _, _ = key, value @@ -30432,6 +31398,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -30471,6 +31438,7 @@ func awsAwsjson11_deserializeOpDocumentModifyConversionConfigurationOutput(v **M } sv.MigrationProjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -30506,6 +31474,7 @@ func awsAwsjson11_deserializeOpDocumentModifyDataMigrationOutput(v **ModifyDataM if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } + default: _, _ = key, value @@ -30541,6 +31510,7 @@ func awsAwsjson11_deserializeOpDocumentModifyDataProviderOutput(v **ModifyDataPr if err := awsAwsjson11_deserializeDocumentDataProvider(&sv.DataProvider, value); err != nil { return err } + default: _, _ = key, value @@ -30576,6 +31546,7 @@ func awsAwsjson11_deserializeOpDocumentModifyEndpointOutput(v **ModifyEndpointOu if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -30611,6 +31582,7 @@ func awsAwsjson11_deserializeOpDocumentModifyEventSubscriptionOutput(v **ModifyE if err := awsAwsjson11_deserializeDocumentEventSubscription(&sv.EventSubscription, value); err != nil { return err } + default: _, _ = key, value @@ -30646,6 +31618,7 @@ func awsAwsjson11_deserializeOpDocumentModifyInstanceProfileOutput(v **ModifyIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -30681,6 +31654,7 @@ func awsAwsjson11_deserializeOpDocumentModifyMigrationProjectOutput(v **ModifyMi if err := awsAwsjson11_deserializeDocumentMigrationProject(&sv.MigrationProject, value); err != nil { return err } + default: _, _ = key, value @@ -30716,6 +31690,7 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationConfigOutput(v **ModifyR if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -30751,6 +31726,7 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationInstanceOutput(v **Modif if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } + default: _, _ = key, value @@ -30786,6 +31762,7 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationSubnetGroupOutput(v **Mo if err := awsAwsjson11_deserializeDocumentReplicationSubnetGroup(&sv.ReplicationSubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -30821,6 +31798,7 @@ func awsAwsjson11_deserializeOpDocumentModifyReplicationTaskOutput(v **ModifyRep if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -30856,6 +31834,7 @@ func awsAwsjson11_deserializeOpDocumentMoveReplicationTaskOutput(v **MoveReplica if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -30891,6 +31870,7 @@ func awsAwsjson11_deserializeOpDocumentRebootReplicationInstanceOutput(v **Reboo if err := awsAwsjson11_deserializeDocumentReplicationInstance(&sv.ReplicationInstance, value); err != nil { return err } + default: _, _ = key, value @@ -30926,6 +31906,7 @@ func awsAwsjson11_deserializeOpDocumentRefreshSchemasOutput(v **RefreshSchemasOu if err := awsAwsjson11_deserializeDocumentRefreshSchemasStatus(&sv.RefreshSchemasStatus, value); err != nil { return err } + default: _, _ = key, value @@ -30965,6 +31946,7 @@ func awsAwsjson11_deserializeOpDocumentReloadReplicationTablesOutput(v **ReloadR } sv.ReplicationConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -31004,6 +31986,7 @@ func awsAwsjson11_deserializeOpDocumentReloadTablesOutput(v **ReloadTablesOutput } sv.ReplicationTaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -31074,6 +32057,7 @@ func awsAwsjson11_deserializeOpDocumentRunFleetAdvisorLsaAnalysisOutput(v **RunF } sv.LsaAnalysisId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -31082,6 +32066,7 @@ func awsAwsjson11_deserializeOpDocumentRunFleetAdvisorLsaAnalysisOutput(v **RunF } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -31117,6 +32102,7 @@ func awsAwsjson11_deserializeOpDocumentStartDataMigrationOutput(v **StartDataMig if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } + default: _, _ = key, value @@ -31156,6 +32142,7 @@ func awsAwsjson11_deserializeOpDocumentStartExtensionPackAssociationOutput(v **S } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31195,6 +32182,7 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelAssessmentOutput(v **St } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31234,6 +32222,7 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelConversionOutput(v **St } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31273,6 +32262,7 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelExportAsScriptOutput(v } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31312,6 +32302,7 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelExportToTargetOutput(v } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31351,6 +32342,7 @@ func awsAwsjson11_deserializeOpDocumentStartMetadataModelImportOutput(v **StartM } sv.RequestIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31386,6 +32378,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationOutput(v **StartReplicati if err := awsAwsjson11_deserializeDocumentReplication(&sv.Replication, value); err != nil { return err } + default: _, _ = key, value @@ -31421,6 +32414,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskAssessmentOutput(v ** if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -31456,6 +32450,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskAssessmentRunOutput(v if err := awsAwsjson11_deserializeDocumentReplicationTaskAssessmentRun(&sv.ReplicationTaskAssessmentRun, value); err != nil { return err } + default: _, _ = key, value @@ -31491,6 +32486,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplicationTaskOutput(v **StartRepli if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -31526,6 +32522,7 @@ func awsAwsjson11_deserializeOpDocumentStopDataMigrationOutput(v **StopDataMigra if err := awsAwsjson11_deserializeDocumentDataMigration(&sv.DataMigration, value); err != nil { return err } + default: _, _ = key, value @@ -31561,6 +32558,7 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationOutput(v **StopReplication if err := awsAwsjson11_deserializeDocumentReplication(&sv.Replication, value); err != nil { return err } + default: _, _ = key, value @@ -31596,6 +32594,7 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationTaskOutput(v **StopReplica if err := awsAwsjson11_deserializeDocumentReplicationTask(&sv.ReplicationTask, value); err != nil { return err } + default: _, _ = key, value @@ -31631,6 +32630,7 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -31670,6 +32670,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubscriptionsToEventBridgeOutput(v } sv.Result = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/databrew/deserializers.go b/service/databrew/deserializers.go index 40ce82f7610..43041e393ff 100644 --- a/service/databrew/deserializers.go +++ b/service/databrew/deserializers.go @@ -178,6 +178,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRecipeVersionOutput(v **BatchD if err := awsRestjson1_deserializeDocumentRecipeErrorList(&sv.Errors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -186,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRecipeVersionOutput(v **BatchD } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -350,6 +352,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -517,6 +520,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileJobOutput(v **CreateProfileJ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -681,6 +685,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -842,6 +847,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecipeOutput(v **CreateRecipeOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1009,6 +1015,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecipeJobOutput(v **CreateRecipeJob } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1170,6 +1177,7 @@ func awsRestjson1_deserializeOpDocumentCreateRulesetOutput(v **CreateRulesetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1331,6 +1339,7 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleOutput(v **CreateScheduleOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1492,6 +1501,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1653,6 +1663,7 @@ func awsRestjson1_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1814,6 +1825,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1975,6 +1987,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRecipeVersionOutput(v **DeleteRecip } sv.Name = ptr.String(jtv) } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -1983,6 +1996,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRecipeVersionOutput(v **DeleteRecip } sv.RecipeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2144,6 +2158,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRulesetOutput(v **DeleteRulesetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2302,6 +2317,7 @@ func awsRestjson1_deserializeOpDocumentDeleteScheduleOutput(v **DeleteScheduleOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2467,6 +2483,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -2475,6 +2492,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.CreatedBy = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -2483,14 +2501,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Format = types.InputFormat(jtv) } + case "FormatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "Input": if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -2499,6 +2520,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -2514,6 +2536,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2522,10 +2545,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Name = ptr.String(jtv) } + case "PathOptions": if err := awsRestjson1_deserializeDocumentPathOptions(&sv.PathOptions, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -2534,6 +2559,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.ResourceArn = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -2542,10 +2568,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Source = types.Source(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2711,6 +2739,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -2719,14 +2748,17 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CreatedBy = ptr.String(jtv) } + case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } + case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -2735,6 +2767,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.DatasetName = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -2743,6 +2776,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.EncryptionKeyArn = ptr.String(jtv) } + case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -2751,10 +2785,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.EncryptionMode = types.EncryptionMode(jtv) } + case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -2763,6 +2799,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -2778,6 +2815,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } } + case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -2786,6 +2824,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.LogSubscription = types.LogSubscription(jtv) } + case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -2798,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.MaxCapacity = int32(i64) } + case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -2810,6 +2850,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.MaxRetries = int32(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2818,14 +2859,17 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Name = ptr.String(jtv) } + case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } + case "ProfileConfiguration": if err := awsRestjson1_deserializeDocumentProfileConfiguration(&sv.ProfileConfiguration, value); err != nil { return err } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -2834,10 +2878,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ProjectName = ptr.String(jtv) } + case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -2846,6 +2892,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ResourceArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2854,10 +2901,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -2870,6 +2919,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Timeout = int32(i64) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2878,10 +2928,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Type = types.JobType(jtv) } + case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -3044,6 +3096,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.Attempt = int32(i64) } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -3059,14 +3112,17 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } } + case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } + case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3075,6 +3131,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.DatasetName = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3083,6 +3140,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.ErrorMessage = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -3095,6 +3153,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.ExecutionTime = int32(i64) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -3103,10 +3162,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.JobName = ptr.String(jtv) } + case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -3115,6 +3176,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.LogGroupName = ptr.String(jtv) } + case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -3123,18 +3185,22 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.LogSubscription = types.LogSubscription(jtv) } + case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } + case "ProfileConfiguration": if err := awsRestjson1_deserializeDocumentProfileConfiguration(&sv.ProfileConfiguration, value); err != nil { return err } + case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -3143,6 +3209,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.RunId = ptr.String(jtv) } + case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -3151,6 +3218,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.StartedBy = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -3166,6 +3234,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } } + case "State": if value != nil { jtv, ok := value.(string) @@ -3174,10 +3243,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu } sv.State = types.JobRunState(jtv) } + case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -3343,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3423,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.CreatedBy = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -3359,6 +3432,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.DatasetName = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3367,6 +3441,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3382,6 +3457,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3390,6 +3466,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.Name = ptr.String(jtv) } + case "OpenDate": if value != nil { switch jtv := value.(type) { @@ -3405,6 +3482,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "OpenedBy": if value != nil { jtv, ok := value.(string) @@ -3413,6 +3491,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.OpenedBy = ptr.String(jtv) } + case "RecipeName": if value != nil { jtv, ok := value.(string) @@ -3421,6 +3500,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.RecipeName = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3429,6 +3509,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ResourceArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3437,10 +3518,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.RoleArn = ptr.String(jtv) } + case "Sample": if err := awsRestjson1_deserializeDocumentSample(&sv.Sample, value); err != nil { return err } + case "SessionStatus": if value != nil { jtv, ok := value.(string) @@ -3449,10 +3532,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.SessionStatus = types.SessionStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3618,6 +3703,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3626,6 +3712,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3634,6 +3721,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3642,6 +3730,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3657,6 +3746,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3665,6 +3755,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.Name = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -3673,6 +3764,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.ProjectName = ptr.String(jtv) } + case "PublishedBy": if value != nil { jtv, ok := value.(string) @@ -3681,6 +3773,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.PublishedBy = ptr.String(jtv) } + case "PublishedDate": if value != nil { switch jtv := value.(type) { @@ -3696,6 +3789,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -3704,6 +3798,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.RecipeVersion = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3712,14 +3807,17 @@ func awsRestjson1_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu } sv.ResourceArn = ptr.String(jtv) } + case "Steps": if err := awsRestjson1_deserializeDocumentRecipeStepList(&sv.Steps, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3885,6 +3983,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -3893,6 +3992,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3901,6 +4001,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -3909,6 +4010,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3924,6 +4026,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3932,6 +4035,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.Name = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3940,14 +4044,17 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.ResourceArn = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -3956,6 +4063,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRulesetOutput(v **DescribeRuleset } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4121,6 +4229,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -4129,6 +4238,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.CreatedBy = ptr.String(jtv) } + case "CronExpression": if value != nil { jtv, ok := value.(string) @@ -4137,10 +4247,12 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.CronExpression = ptr.String(jtv) } + case "JobNames": if err := awsRestjson1_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -4149,6 +4261,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -4164,6 +4277,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4172,6 +4286,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.Name = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4180,10 +4295,12 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4335,6 +4452,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4343,6 +4461,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4497,6 +4616,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4505,6 +4625,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4656,6 +4777,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4664,6 +4786,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4819,10 +4942,12 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "Projects": if err := awsRestjson1_deserializeDocumentProjectList(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -4978,10 +5103,12 @@ func awsRestjson1_deserializeOpDocumentListRecipesOutput(v **ListRecipesOutput, } sv.NextToken = ptr.String(jtv) } + case "Recipes": if err := awsRestjson1_deserializeDocumentRecipeList(&sv.Recipes, value); err != nil { return err } + default: _, _ = key, value @@ -5137,10 +5264,12 @@ func awsRestjson1_deserializeOpDocumentListRecipeVersionsOutput(v **ListRecipeVe } sv.NextToken = ptr.String(jtv) } + case "Recipes": if err := awsRestjson1_deserializeDocumentRecipeList(&sv.Recipes, value); err != nil { return err } + default: _, _ = key, value @@ -5299,10 +5428,12 @@ func awsRestjson1_deserializeOpDocumentListRulesetsOutput(v **ListRulesetsOutput } sv.NextToken = ptr.String(jtv) } + case "Rulesets": if err := awsRestjson1_deserializeDocumentRulesetItemList(&sv.Rulesets, value); err != nil { return err } + default: _, _ = key, value @@ -5458,10 +5589,12 @@ func awsRestjson1_deserializeOpDocumentListSchedulesOutput(v **ListSchedulesOutp } sv.NextToken = ptr.String(jtv) } + case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } + default: _, _ = key, value @@ -5619,6 +5752,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5780,6 +5914,7 @@ func awsRestjson1_deserializeOpDocumentPublishRecipeOutput(v **PublishRecipeOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5945,6 +6080,7 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.ActionId = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5953,6 +6089,7 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.Name = ptr.String(jtv) } + case "Result": if value != nil { jtv, ok := value.(string) @@ -5961,6 +6098,7 @@ func awsRestjson1_deserializeOpDocumentSendProjectSessionActionOutput(v **SendPr } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -6125,6 +6263,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -6289,6 +6428,7 @@ func awsRestjson1_deserializeOpDocumentStartProjectSessionOutput(v **StartProjec } sv.ClientSessionId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6297,6 +6437,7 @@ func awsRestjson1_deserializeOpDocumentStartProjectSessionOutput(v **StartProjec } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6455,6 +6596,7 @@ func awsRestjson1_deserializeOpDocumentStopJobRunOutput(v **StopJobRunOutput, va } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -6804,6 +6946,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6965,6 +7108,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileJobOutput(v **UpdateProfileJ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7130,6 +7274,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7138,6 +7283,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7296,6 +7442,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecipeOutput(v **UpdateRecipeOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7457,6 +7604,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecipeJobOutput(v **UpdateRecipeJob } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7615,6 +7763,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRulesetOutput(v **UpdateRulesetOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7776,6 +7925,7 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduleOutput(v **UpdateScheduleOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8031,6 +8181,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8100,6 +8251,7 @@ func awsRestjson1_deserializeDocumentAllowedStatistics(v **types.AllowedStatisti if err := awsRestjson1_deserializeDocumentStatisticList(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -8175,6 +8327,7 @@ func awsRestjson1_deserializeDocumentColumnSelector(v **types.ColumnSelector, va } sv.Name = ptr.String(jtv) } + case "Regex": if value != nil { jtv, ok := value.(string) @@ -8183,6 +8336,7 @@ func awsRestjson1_deserializeDocumentColumnSelector(v **types.ColumnSelector, va } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -8252,10 +8406,12 @@ func awsRestjson1_deserializeDocumentColumnStatisticsConfiguration(v **types.Col if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.Selectors, value); err != nil { return err } + case "Statistics": if err := awsRestjson1_deserializeDocumentStatisticsConfiguration(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -8329,6 +8485,7 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Condition = ptr.String(jtv) } + case "TargetColumn": if value != nil { jtv, ok := value.(string) @@ -8337,6 +8494,7 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.TargetColumn = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8345,6 +8503,7 @@ func awsRestjson1_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8418,6 +8577,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8457,6 +8617,7 @@ func awsRestjson1_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.Delimiter = ptr.String(jtv) } + case "HeaderRow": if value != nil { jtv, ok := value.(bool) @@ -8465,6 +8626,7 @@ func awsRestjson1_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.HeaderRow = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8504,6 +8666,7 @@ func awsRestjson1_deserializeDocumentCsvOutputOptions(v **types.CsvOutputOptions } sv.Delimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -8543,6 +8706,7 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.DatabaseTableName = ptr.String(jtv) } + case "GlueConnectionName": if value != nil { jtv, ok := value.(string) @@ -8551,6 +8715,7 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.GlueConnectionName = ptr.String(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -8559,10 +8724,12 @@ func awsRestjson1_deserializeDocumentDatabaseInputDefinition(v **types.DatabaseI } sv.QueryString = ptr.String(jtv) } + case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } + default: _, _ = key, value @@ -8598,6 +8765,7 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va if err := awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(&sv.DatabaseOptions, value); err != nil { return err } + case "DatabaseOutputMode": if value != nil { jtv, ok := value.(string) @@ -8606,6 +8774,7 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va } sv.DatabaseOutputMode = types.DatabaseOutputMode(jtv) } + case "GlueConnectionName": if value != nil { jtv, ok := value.(string) @@ -8614,6 +8783,7 @@ func awsRestjson1_deserializeDocumentDatabaseOutput(v **types.DatabaseOutput, va } sv.GlueConnectionName = ptr.String(jtv) } + default: _, _ = key, value @@ -8687,10 +8857,12 @@ func awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(v **types.Databa } sv.TableName = ptr.String(jtv) } + case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } + default: _, _ = key, value @@ -8730,6 +8902,7 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8738,6 +8911,7 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.DatabaseName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -8746,10 +8920,12 @@ func awsRestjson1_deserializeDocumentDataCatalogInputDefinition(v **types.DataCa } sv.TableName = ptr.String(jtv) } + case "TempDirectory": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TempDirectory, value); err != nil { return err } + default: _, _ = key, value @@ -8789,6 +8965,7 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8797,10 +8974,12 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.DatabaseName = ptr.String(jtv) } + case "DatabaseOptions": if err := awsRestjson1_deserializeDocumentDatabaseTableOutputOptions(&sv.DatabaseOptions, value); err != nil { return err } + case "Overwrite": if value != nil { jtv, ok := value.(bool) @@ -8809,10 +8988,12 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.Overwrite = jtv } + case "S3Options": if err := awsRestjson1_deserializeDocumentS3TableOutputOptions(&sv.S3Options, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -8821,6 +9002,7 @@ func awsRestjson1_deserializeDocumentDataCatalogOutput(v **types.DataCatalogOutp } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -8894,6 +9076,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.AccountId = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -8909,6 +9092,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -8917,6 +9101,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.CreatedBy = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -8925,14 +9110,17 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Format = types.InputFormat(jtv) } + case "FormatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "Input": if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -8941,6 +9129,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -8956,6 +9145,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8964,10 +9154,12 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } + case "PathOptions": if err := awsRestjson1_deserializeDocumentPathOptions(&sv.PathOptions, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8976,6 +9168,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.ResourceArn = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -8984,10 +9177,12 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Source = types.Source(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9061,14 +9256,17 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.CreateColumn = jtv } + case "DatetimeOptions": if err := awsRestjson1_deserializeDocumentDatetimeOptions(&sv.DatetimeOptions, value); err != nil { return err } + case "Filter": if err := awsRestjson1_deserializeDocumentFilterExpression(&sv.Filter, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9077,6 +9275,7 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9085,6 +9284,7 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter } sv.Type = types.ParameterType(jtv) } + default: _, _ = key, value @@ -9124,6 +9324,7 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.Format = ptr.String(jtv) } + case "LocaleCode": if value != nil { jtv, ok := value.(string) @@ -9132,6 +9333,7 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.LocaleCode = ptr.String(jtv) } + case "TimezoneOffset": if value != nil { jtv, ok := value.(string) @@ -9140,6 +9342,7 @@ func awsRestjson1_deserializeDocumentDatetimeOptions(v **types.DatetimeOptions, } sv.TimezoneOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -9175,10 +9378,12 @@ func awsRestjson1_deserializeDocumentEntityDetectorConfiguration(v **types.Entit if err := awsRestjson1_deserializeDocumentAllowedStatisticList(&sv.AllowedStatistics, value); err != nil { return err } + case "EntityTypes": if err := awsRestjson1_deserializeDocumentEntityTypeList(&sv.EntityTypes, value); err != nil { return err } + default: _, _ = key, value @@ -9254,14 +9459,17 @@ func awsRestjson1_deserializeDocumentExcelOptions(v **types.ExcelOptions, value } sv.HeaderRow = ptr.Bool(jtv) } + case "SheetIndexes": if err := awsRestjson1_deserializeDocumentSheetIndexList(&sv.SheetIndexes, value); err != nil { return err } + case "SheetNames": if err := awsRestjson1_deserializeDocumentSheetNameList(&sv.SheetNames, value); err != nil { return err } + default: _, _ = key, value @@ -9305,6 +9513,7 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.MaxFiles = ptr.Int32(int32(i64)) } + case "Order": if value != nil { jtv, ok := value.(string) @@ -9313,6 +9522,7 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.Order = types.Order(jtv) } + case "OrderedBy": if value != nil { jtv, ok := value.(string) @@ -9321,6 +9531,7 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte } sv.OrderedBy = types.OrderedBy(jtv) } + default: _, _ = key, value @@ -9360,10 +9571,12 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Expression = ptr.String(jtv) } + case "ValuesMap": if err := awsRestjson1_deserializeDocumentValuesMap(&sv.ValuesMap, value); err != nil { return err } + default: _, _ = key, value @@ -9399,14 +9612,17 @@ func awsRestjson1_deserializeDocumentFormatOptions(v **types.FormatOptions, valu if err := awsRestjson1_deserializeDocumentCsvOptions(&sv.Csv, value); err != nil { return err } + case "Excel": if err := awsRestjson1_deserializeDocumentExcelOptions(&sv.Excel, value); err != nil { return err } + case "Json": if err := awsRestjson1_deserializeDocumentJsonOptions(&sv.Json, value); err != nil { return err } + default: _, _ = key, value @@ -9442,18 +9658,22 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e if err := awsRestjson1_deserializeDocumentDatabaseInputDefinition(&sv.DatabaseInputDefinition, value); err != nil { return err } + case "DataCatalogInputDefinition": if err := awsRestjson1_deserializeDocumentDataCatalogInputDefinition(&sv.DataCatalogInputDefinition, value); err != nil { return err } + case "Metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "S3InputDefinition": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3InputDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -9493,6 +9713,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9532,6 +9753,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccountId = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -9547,6 +9769,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -9555,14 +9778,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreatedBy = ptr.String(jtv) } + case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } + case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9571,6 +9797,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.DatasetName = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -9579,6 +9806,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EncryptionKeyArn = ptr.String(jtv) } + case "EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -9587,10 +9815,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EncryptionMode = types.EncryptionMode(jtv) } + case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9599,6 +9829,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -9614,6 +9845,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -9622,6 +9854,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LogSubscription = types.LogSubscription(jtv) } + case "MaxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9634,6 +9867,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxCapacity = int32(i64) } + case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -9646,6 +9880,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxRetries = int32(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9654,10 +9889,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } + case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -9666,10 +9903,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ProjectName = ptr.String(jtv) } + case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9678,6 +9917,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ResourceArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9686,10 +9926,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -9702,6 +9944,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Timeout = int32(i64) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9710,10 +9953,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } + case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -9827,6 +10072,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = int32(i64) } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -9842,14 +10088,17 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "DatabaseOutputs": if err := awsRestjson1_deserializeDocumentDatabaseOutputList(&sv.DatabaseOutputs, value); err != nil { return err } + case "DataCatalogOutputs": if err := awsRestjson1_deserializeDocumentDataCatalogOutputList(&sv.DataCatalogOutputs, value); err != nil { return err } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9858,6 +10107,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.DatasetName = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9866,6 +10116,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ErrorMessage = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -9878,6 +10129,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTime = int32(i64) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -9886,10 +10138,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobName = ptr.String(jtv) } + case "JobSample": if err := awsRestjson1_deserializeDocumentJobSample(&sv.JobSample, value); err != nil { return err } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -9898,6 +10152,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogGroupName = ptr.String(jtv) } + case "LogSubscription": if value != nil { jtv, ok := value.(string) @@ -9906,14 +10161,17 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogSubscription = types.LogSubscription(jtv) } + case "Outputs": if err := awsRestjson1_deserializeDocumentOutputList(&sv.Outputs, value); err != nil { return err } + case "RecipeReference": if err := awsRestjson1_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -9922,6 +10180,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.RunId = ptr.String(jtv) } + case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -9930,6 +10189,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StartedBy = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -9945,6 +10205,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9953,10 +10214,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } + case "ValidationConfigurations": if err := awsRestjson1_deserializeDocumentValidationConfigurationList(&sv.ValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -10030,6 +10293,7 @@ func awsRestjson1_deserializeDocumentJobSample(v **types.JobSample, value interf } sv.Mode = types.SampleMode(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -10042,6 +10306,7 @@ func awsRestjson1_deserializeDocumentJobSample(v **types.JobSample, value interf } sv.Size = ptr.Int64(i64) } + default: _, _ = key, value @@ -10081,6 +10346,7 @@ func awsRestjson1_deserializeDocumentJsonOptions(v **types.JsonOptions, value in } sv.MultiLine = jtv } + default: _, _ = key, value @@ -10120,6 +10386,7 @@ func awsRestjson1_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10159,6 +10426,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.CompressionFormat = types.CompressionFormat(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -10167,14 +10435,17 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Format = types.OutputFormat(jtv) } + case "FormatOptions": if err := awsRestjson1_deserializeDocumentOutputFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.Location, value); err != nil { return err } + case "MaxOutputFiles": if value != nil { jtv, ok := value.(json.Number) @@ -10187,6 +10458,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.MaxOutputFiles = ptr.Int32(int32(i64)) } + case "Overwrite": if value != nil { jtv, ok := value.(bool) @@ -10195,10 +10467,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Overwrite = jtv } + case "PartitionColumns": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.PartitionColumns, value); err != nil { return err } + default: _, _ = key, value @@ -10234,6 +10508,7 @@ func awsRestjson1_deserializeDocumentOutputFormatOptions(v **types.OutputFormatO if err := awsRestjson1_deserializeDocumentCsvOutputOptions(&sv.Csv, value); err != nil { return err } + default: _, _ = key, value @@ -10339,14 +10614,17 @@ func awsRestjson1_deserializeDocumentPathOptions(v **types.PathOptions, value in if err := awsRestjson1_deserializeDocumentFilesLimit(&sv.FilesLimit, value); err != nil { return err } + case "LastModifiedDateCondition": if err := awsRestjson1_deserializeDocumentFilterExpression(&sv.LastModifiedDateCondition, value); err != nil { return err } + case "Parameters": if err := awsRestjson1_deserializeDocumentPathParametersMap(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -10417,18 +10695,22 @@ func awsRestjson1_deserializeDocumentProfileConfiguration(v **types.ProfileConfi if err := awsRestjson1_deserializeDocumentColumnStatisticsConfigurationList(&sv.ColumnStatisticsConfigurations, value); err != nil { return err } + case "DatasetStatisticsConfiguration": if err := awsRestjson1_deserializeDocumentStatisticsConfiguration(&sv.DatasetStatisticsConfiguration, value); err != nil { return err } + case "EntityDetectorConfiguration": if err := awsRestjson1_deserializeDocumentEntityDetectorConfiguration(&sv.EntityDetectorConfiguration, value); err != nil { return err } + case "ProfileColumns": if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.ProfileColumns, value); err != nil { return err } + default: _, _ = key, value @@ -10468,6 +10750,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.AccountId = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -10483,6 +10766,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -10491,6 +10775,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.CreatedBy = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10499,6 +10784,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.DatasetName = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -10507,6 +10793,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -10522,6 +10809,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10530,6 +10818,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } + case "OpenDate": if value != nil { switch jtv := value.(type) { @@ -10545,6 +10834,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } + case "OpenedBy": if value != nil { jtv, ok := value.(string) @@ -10553,6 +10843,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.OpenedBy = ptr.String(jtv) } + case "RecipeName": if value != nil { jtv, ok := value.(string) @@ -10561,6 +10852,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.RecipeName = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10569,6 +10861,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ResourceArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10577,14 +10870,17 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.RoleArn = ptr.String(jtv) } + case "Sample": if err := awsRestjson1_deserializeDocumentSample(&sv.Sample, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10665,6 +10961,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -10673,6 +10970,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10681,6 +10979,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -10689,6 +10988,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -10704,6 +11004,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10712,6 +11013,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -10720,6 +11022,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.ProjectName = ptr.String(jtv) } + case "PublishedBy": if value != nil { jtv, ok := value.(string) @@ -10728,6 +11031,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.PublishedBy = ptr.String(jtv) } + case "PublishedDate": if value != nil { switch jtv := value.(type) { @@ -10743,6 +11047,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -10751,6 +11056,7 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeVersion = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10759,14 +11065,17 @@ func awsRestjson1_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.ResourceArn = ptr.String(jtv) } + case "Steps": if err := awsRestjson1_deserializeDocumentRecipeStepList(&sv.Steps, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10806,10 +11115,12 @@ func awsRestjson1_deserializeDocumentRecipeAction(v **types.RecipeAction, value } sv.Operation = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -10917,6 +11228,7 @@ func awsRestjson1_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.Name = ptr.String(jtv) } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -10925,6 +11237,7 @@ func awsRestjson1_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10960,10 +11273,12 @@ func awsRestjson1_deserializeDocumentRecipeStep(v **types.RecipeStep, value inte if err := awsRestjson1_deserializeDocumentRecipeAction(&sv.Action, value); err != nil { return err } + case "ConditionExpressions": if err := awsRestjson1_deserializeDocumentConditionExpressionList(&sv.ConditionExpressions, value); err != nil { return err } + default: _, _ = key, value @@ -11037,6 +11352,7 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11045,6 +11361,7 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.ErrorMessage = ptr.String(jtv) } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -11053,6 +11370,7 @@ func awsRestjson1_deserializeDocumentRecipeVersionErrorDetail(v **types.RecipeVe } sv.RecipeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -11092,6 +11410,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11131,10 +11450,12 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.CheckExpression = ptr.String(jtv) } + case "ColumnSelectors": if err := awsRestjson1_deserializeDocumentColumnSelectorList(&sv.ColumnSelectors, value); err != nil { return err } + case "Disabled": if value != nil { jtv, ok := value.(bool) @@ -11143,6 +11464,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Disabled = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11151,14 +11473,17 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "SubstitutionMap": if err := awsRestjson1_deserializeDocumentValuesMap(&sv.SubstitutionMap, value); err != nil { return err } + case "Threshold": if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { return err } + default: _, _ = key, value @@ -11232,6 +11557,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.AccountId = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -11247,6 +11573,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11255,6 +11582,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11263,6 +11591,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -11271,6 +11600,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -11286,6 +11616,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11294,6 +11625,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.Name = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11302,6 +11634,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.ResourceArn = ptr.String(jtv) } + case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -11314,10 +11647,12 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.RuleCount = int32(i64) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TargetArn": if value != nil { jtv, ok := value.(string) @@ -11326,6 +11661,7 @@ func awsRestjson1_deserializeDocumentRulesetItem(v **types.RulesetItem, value in } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11399,6 +11735,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "BucketOwner": if value != nil { jtv, ok := value.(string) @@ -11407,6 +11744,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketOwner = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -11415,6 +11753,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -11450,6 +11789,7 @@ func awsRestjson1_deserializeDocumentS3TableOutputOptions(v **types.S3TableOutpu if err := awsRestjson1_deserializeDocumentS3Location(&sv.Location, value); err != nil { return err } + default: _, _ = key, value @@ -11493,6 +11833,7 @@ func awsRestjson1_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Size = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11501,6 +11842,7 @@ func awsRestjson1_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Type = types.SampleType(jtv) } + default: _, _ = key, value @@ -11540,6 +11882,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.AccountId = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -11555,6 +11898,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -11563,6 +11907,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CreatedBy = ptr.String(jtv) } + case "CronExpression": if value != nil { jtv, ok := value.(string) @@ -11571,10 +11916,12 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CronExpression = ptr.String(jtv) } + case "JobNames": if err := awsRestjson1_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -11583,6 +11930,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -11598,6 +11946,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11606,6 +11955,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Name = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11614,10 +11964,12 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11691,6 +12043,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11838,6 +12191,7 @@ func awsRestjson1_deserializeDocumentStatisticOverride(v **types.StatisticOverri if err := awsRestjson1_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -11846,6 +12200,7 @@ func awsRestjson1_deserializeDocumentStatisticOverride(v **types.StatisticOverri } sv.Statistic = ptr.String(jtv) } + default: _, _ = key, value @@ -11915,10 +12270,12 @@ func awsRestjson1_deserializeDocumentStatisticsConfiguration(v **types.Statistic if err := awsRestjson1_deserializeDocumentStatisticList(&sv.IncludedStatistics, value); err != nil { return err } + case "Overrides": if err := awsRestjson1_deserializeDocumentStatisticOverrideList(&sv.Overrides, value); err != nil { return err } + default: _, _ = key, value @@ -11994,6 +12351,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Type = types.ThresholdType(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -12002,6 +12360,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } sv.Unit = types.ThresholdUnit(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -12035,6 +12394,7 @@ func awsRestjson1_deserializeDocumentThreshold(v **types.Threshold, value interf } } + default: _, _ = key, value @@ -12074,6 +12434,7 @@ func awsRestjson1_deserializeDocumentValidationConfiguration(v **types.Validatio } sv.RulesetArn = ptr.String(jtv) } + case "ValidationMode": if value != nil { jtv, ok := value.(string) @@ -12082,6 +12443,7 @@ func awsRestjson1_deserializeDocumentValidationConfiguration(v **types.Validatio } sv.ValidationMode = types.ValidationMode(jtv) } + default: _, _ = key, value @@ -12155,6 +12517,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/dataexchange/deserializers.go b/service/dataexchange/deserializers.go index 379ecf626ae..2f2e4826e3b 100644 --- a/service/dataexchange/deserializers.go +++ b/service/dataexchange/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -204,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -212,6 +214,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -224,6 +227,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -232,6 +236,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.DataSetId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -240,6 +245,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Description = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -252,6 +258,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.EndsAt = ptr.Time(t) } + case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -260,6 +267,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -268,6 +276,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -276,6 +285,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -284,6 +294,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -292,6 +303,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.SenderPrincipal = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -304,6 +316,7 @@ func awsRestjson1_deserializeOpDocumentAcceptDataGrantOutput(v **AcceptDataGrant } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -580,6 +593,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -592,6 +606,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -600,6 +615,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -612,6 +628,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -620,6 +637,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.DataSetId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -628,6 +646,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Description = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -640,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.EndsAt = ptr.Time(t) } + case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -648,6 +668,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -656,6 +677,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -664,6 +686,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -672,6 +695,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -680,6 +704,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.SenderPrincipal = ptr.String(jtv) } + case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -688,10 +713,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.SourceDataSetId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -704,6 +731,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataGrantOutput(v **CreateDataGrant } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -871,6 +899,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Arn = ptr.String(jtv) } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -879,6 +908,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -891,6 +921,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -899,6 +930,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -907,6 +939,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -915,6 +948,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Name = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -923,10 +957,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Origin = types.Origin(jtv) } + case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -935,10 +971,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.SourceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -951,6 +989,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -1114,6 +1153,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1122,6 +1162,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1134,10 +1175,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.CreatedAt = ptr.Time(t) } + case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1146,6 +1189,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.Id = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1158,6 +1202,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventActionOutput(v **CreateEventAc } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -1328,6 +1373,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1340,14 +1386,17 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.CreatedAt = ptr.Time(t) } + case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1356,6 +1405,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Id = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1364,6 +1414,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.State = types.State(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1372,6 +1423,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Type = types.Type(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1384,6 +1436,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -1551,6 +1604,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Arn = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -1559,6 +1613,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Comment = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1571,6 +1626,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -1579,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.DataSetId = ptr.String(jtv) } + case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -1587,6 +1644,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Finalized = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1595,6 +1653,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Id = ptr.String(jtv) } + case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -1603,6 +1662,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.RevocationComment = ptr.String(jtv) } + case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -1611,6 +1671,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.Revoked = jtv } + case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -1623,6 +1684,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.RevokedAt = ptr.Time(t) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -1631,10 +1693,12 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.SourceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1647,6 +1711,7 @@ func awsRestjson1_deserializeOpDocumentCreateRevisionOutput(v **CreateRevisionOu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -2347,10 +2412,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Arn = ptr.String(jtv) } + case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -2359,6 +2426,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2371,6 +2439,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -2379,6 +2448,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.DataSetId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2387,6 +2457,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2395,6 +2466,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -2403,6 +2475,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.RevisionId = ptr.String(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -2411,6 +2484,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2423,6 +2497,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -2590,6 +2665,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -2602,6 +2678,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2610,6 +2687,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2622,6 +2700,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -2630,6 +2709,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.DataSetId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2638,6 +2718,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Description = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -2650,6 +2731,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.EndsAt = ptr.Time(t) } + case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -2658,6 +2740,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2666,6 +2749,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2674,6 +2758,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -2682,6 +2767,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -2690,6 +2776,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.SenderPrincipal = ptr.String(jtv) } + case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -2698,10 +2785,12 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.SourceDataSetId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2714,6 +2803,7 @@ func awsRestjson1_deserializeOpDocumentGetDataGrantOutput(v **GetDataGrantOutput } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -2878,6 +2968,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Arn = ptr.String(jtv) } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -2886,6 +2977,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2898,6 +2990,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2906,6 +2999,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2914,6 +3008,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2922,6 +3017,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Name = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -2930,10 +3026,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.Origin = types.Origin(jtv) } + case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -2942,10 +3040,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.SourceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2958,6 +3058,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetOutput(v **GetDataSetOutput, va } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3118,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3126,6 +3228,7 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3138,10 +3241,12 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.CreatedAt = ptr.Time(t) } + case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3150,6 +3255,7 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.Id = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3162,6 +3268,7 @@ func awsRestjson1_deserializeOpDocumentGetEventActionOutput(v **GetEventActionOu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3326,6 +3433,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3338,14 +3446,17 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } + case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3354,6 +3465,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Id = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3362,6 +3474,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.State = types.State(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3370,6 +3483,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Type = types.Type(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3382,6 +3496,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3549,6 +3664,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -3561,6 +3677,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3569,6 +3686,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3581,6 +3699,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -3589,6 +3708,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.DataSetId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3597,6 +3717,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Description = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -3609,6 +3730,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.EndsAt = ptr.Time(t) } + case "GrantDistributionScope": if value != nil { jtv, ok := value.(string) @@ -3617,6 +3739,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.GrantDistributionScope = types.GrantDistributionScope(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3625,6 +3748,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3633,6 +3757,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -3641,6 +3766,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -3649,6 +3775,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.SenderPrincipal = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3661,6 +3788,7 @@ func awsRestjson1_deserializeOpDocumentGetReceivedDataGrantOutput(v **GetReceive } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3825,6 +3953,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Arn = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -3833,6 +3962,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Comment = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -3845,6 +3975,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -3853,6 +3984,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.DataSetId = ptr.String(jtv) } + case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -3861,6 +3993,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Finalized = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3869,6 +4002,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Id = ptr.String(jtv) } + case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -3877,6 +4011,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.RevocationComment = ptr.String(jtv) } + case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -3885,6 +4020,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.Revoked = jtv } + case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -3897,6 +4033,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.RevokedAt = ptr.Time(t) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -3905,10 +4042,12 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.SourceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3921,6 +4060,7 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4084,6 +4224,7 @@ func awsRestjson1_deserializeOpDocumentListDataGrantsOutput(v **ListDataGrantsOu if err := awsRestjson1_deserializeDocumentListOfDataGrantSummaryEntry(&sv.DataGrantSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4092,6 +4233,7 @@ func awsRestjson1_deserializeOpDocumentListDataGrantsOutput(v **ListDataGrantsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4256,10 +4398,12 @@ func awsRestjson1_deserializeOpDocumentListDataSetRevisionsOutput(v **ListDataSe } sv.NextToken = ptr.String(jtv) } + case "Revisions": if err := awsRestjson1_deserializeDocumentListOfRevisionEntry(&sv.Revisions, value); err != nil { return err } + default: _, _ = key, value @@ -4420,6 +4564,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentListOfDataSetEntry(&sv.DataSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4428,6 +4573,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4588,6 +4734,7 @@ func awsRestjson1_deserializeOpDocumentListEventActionsOutput(v **ListEventActio if err := awsRestjson1_deserializeDocumentListOfEventActionEntry(&sv.EventActions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4596,6 +4743,7 @@ func awsRestjson1_deserializeOpDocumentListEventActionsOutput(v **ListEventActio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4756,6 +4904,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentListOfJobEntry(&sv.Jobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4764,6 +4913,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4927,6 +5077,7 @@ func awsRestjson1_deserializeOpDocumentListReceivedDataGrantsOutput(v **ListRece if err := awsRestjson1_deserializeDocumentListOfReceivedDataGrantSummariesEntry(&sv.DataGrantSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4935,6 +5086,7 @@ func awsRestjson1_deserializeOpDocumentListReceivedDataGrantsOutput(v **ListRece } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5095,6 +5247,7 @@ func awsRestjson1_deserializeOpDocumentListRevisionAssetsOutput(v **ListRevision if err := awsRestjson1_deserializeDocumentListOfAssetEntry(&sv.Assets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5103,6 +5256,7 @@ func awsRestjson1_deserializeOpDocumentListRevisionAssetsOutput(v **ListRevision } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5251,6 +5405,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5421,6 +5576,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Arn = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -5429,6 +5585,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Comment = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -5441,6 +5598,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -5449,6 +5607,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.DataSetId = ptr.String(jtv) } + case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -5457,6 +5616,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Finalized = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5465,6 +5625,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Id = ptr.String(jtv) } + case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -5473,6 +5634,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.RevocationComment = ptr.String(jtv) } + case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -5481,6 +5643,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.Revoked = jtv } + case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -5493,6 +5656,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.RevokedAt = ptr.Time(t) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -5501,6 +5665,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5513,6 +5678,7 @@ func awsRestjson1_deserializeOpDocumentRevokeRevisionOutput(v **RevokeRevisionOu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6220,10 +6386,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Arn = ptr.String(jtv) } + case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -6232,6 +6400,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6244,6 +6413,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -6252,6 +6422,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.DataSetId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6260,6 +6431,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6268,6 +6440,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6276,6 +6449,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.RevisionId = ptr.String(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -6284,6 +6458,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6296,6 +6471,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6463,6 +6639,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Arn = ptr.String(jtv) } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -6471,6 +6648,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6483,6 +6661,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6491,6 +6670,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6499,6 +6679,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6507,6 +6688,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Name = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -6515,10 +6697,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Origin = types.Origin(jtv) } + case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -6527,6 +6711,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6724,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6702,6 +6888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6710,6 +6897,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6722,10 +6910,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.CreatedAt = ptr.Time(t) } + case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6734,6 +6924,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.Id = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6746,6 +6937,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventActionOutput(v **UpdateEventAc } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6916,6 +7108,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Arn = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -6924,6 +7117,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Comment = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6936,6 +7130,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -6944,6 +7139,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.DataSetId = ptr.String(jtv) } + case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -6952,6 +7148,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Finalized = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6960,6 +7157,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Id = ptr.String(jtv) } + case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -6968,6 +7166,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.RevocationComment = ptr.String(jtv) } + case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -6976,6 +7175,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.Revoked = jtv } + case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7188,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.RevokedAt = ptr.Time(t) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -6996,6 +7197,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7008,6 +7210,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRevisionOutput(v **UpdateRevisionOu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -7299,6 +7502,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7334,6 +7538,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentAutoExportRevisionToS3RequestDetails(&sv.ExportRevisionToS3, value); err != nil { return err } + default: _, _ = key, value @@ -7373,6 +7578,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiDescription = ptr.String(jtv) } + case "ApiEndpoint": if value != nil { jtv, ok := value.(string) @@ -7381,6 +7587,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiEndpoint = ptr.String(jtv) } + case "ApiId": if value != nil { jtv, ok := value.(string) @@ -7389,6 +7596,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiId = ptr.String(jtv) } + case "ApiKey": if value != nil { jtv, ok := value.(string) @@ -7397,6 +7605,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiKey = ptr.String(jtv) } + case "ApiName": if value != nil { jtv, ok := value.(string) @@ -7405,6 +7614,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiName = ptr.String(jtv) } + case "ApiSpecificationDownloadUrl": if value != nil { jtv, ok := value.(string) @@ -7413,6 +7623,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiSpecificationDownloadUrl = ptr.String(jtv) } + case "ApiSpecificationDownloadUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -7425,6 +7636,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ApiSpecificationDownloadUrlExpiresAt = ptr.Time(t) } + case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -7433,6 +7645,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.ProtocolType = types.ProtocolType(jtv) } + case "Stage": if value != nil { jtv, ok := value.(string) @@ -7441,6 +7654,7 @@ func awsRestjson1_deserializeDocumentApiGatewayApiAsset(v **types.ApiGatewayApiA } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -7480,6 +7694,7 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.AssetId = ptr.String(jtv) } + case "Bucket": if value != nil { jtv, ok := value.(string) @@ -7488,6 +7703,7 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7496,6 +7712,7 @@ func awsRestjson1_deserializeDocumentAssetDestinationEntry(v **types.AssetDestin } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -7531,22 +7748,27 @@ func awsRestjson1_deserializeDocumentAssetDetails(v **types.AssetDetails, value if err := awsRestjson1_deserializeDocumentApiGatewayApiAsset(&sv.ApiGatewayApiAsset, value); err != nil { return err } + case "LakeFormationDataPermissionAsset": if err := awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(&sv.LakeFormationDataPermissionAsset, value); err != nil { return err } + case "RedshiftDataShareAsset": if err := awsRestjson1_deserializeDocumentRedshiftDataShareAsset(&sv.RedshiftDataShareAsset, value); err != nil { return err } + case "S3DataAccessAsset": if err := awsRestjson1_deserializeDocumentS3DataAccessAsset(&sv.S3DataAccessAsset, value); err != nil { return err } + case "S3SnapshotAsset": if err := awsRestjson1_deserializeDocumentS3SnapshotAsset(&sv.S3SnapshotAsset, value); err != nil { return err } + default: _, _ = key, value @@ -7586,10 +7808,12 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Arn = ptr.String(jtv) } + case "AssetDetails": if err := awsRestjson1_deserializeDocumentAssetDetails(&sv.AssetDetails, value); err != nil { return err } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -7598,6 +7822,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -7610,6 +7835,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -7618,6 +7844,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.DataSetId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7626,6 +7853,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7634,6 +7862,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -7642,6 +7871,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.RevisionId = ptr.String(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -7650,6 +7880,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7662,6 +7893,7 @@ func awsRestjson1_deserializeDocumentAssetEntry(v **types.AssetEntry, value inte } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -7701,6 +7933,7 @@ func awsRestjson1_deserializeDocumentAssetSourceEntry(v **types.AssetSourceEntry } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7709,6 +7942,7 @@ func awsRestjson1_deserializeDocumentAssetSourceEntry(v **types.AssetSourceEntry } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -7748,6 +7982,7 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(v **type } sv.Bucket = ptr.String(jtv) } + case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -7756,6 +7991,7 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(v **type } sv.KeyPattern = ptr.String(jtv) } + default: _, _ = key, value @@ -7791,10 +8027,12 @@ func awsRestjson1_deserializeDocumentAutoExportRevisionToS3RequestDetails(v **ty if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } + case "RevisionDestination": if err := awsRestjson1_deserializeDocumentAutoExportRevisionDestinationEntry(&sv.RevisionDestination, value); err != nil { return err } + default: _, _ = key, value @@ -7834,6 +8072,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7842,6 +8081,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7850,6 +8090,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -7885,6 +8126,7 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai if err := awsRestjson1_deserializeDocumentS3DataAccessAssetSourceEntry(&sv.AssetSource, value); err != nil { return err } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -7893,6 +8135,7 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai } sv.DataSetId = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -7901,6 +8144,7 @@ func awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetai } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7936,6 +8180,7 @@ func awsRestjson1_deserializeDocumentDatabaseLFTagPolicy(v **types.DatabaseLFTag if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } + default: _, _ = key, value @@ -7971,10 +8216,12 @@ func awsRestjson1_deserializeDocumentDatabaseLFTagPolicyAndPermissions(v **types if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentListOfDatabaseLFTagPolicyPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -8014,6 +8261,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -8026,6 +8274,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8034,6 +8283,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8046,6 +8296,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8054,6 +8305,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.DataSetId = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -8066,6 +8318,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.EndsAt = ptr.Time(t) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8074,6 +8327,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8082,6 +8336,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -8090,6 +8345,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -8098,6 +8354,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.SenderPrincipal = ptr.String(jtv) } + case "SourceDataSetId": if value != nil { jtv, ok := value.(string) @@ -8106,6 +8363,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.SourceDataSetId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8118,6 +8376,7 @@ func awsRestjson1_deserializeDocumentDataGrantSummaryEntry(v **types.DataGrantSu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8157,6 +8416,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Arn = ptr.String(jtv) } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -8165,6 +8425,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.AssetType = types.AssetType(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8177,6 +8438,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8185,6 +8447,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8193,6 +8456,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8201,6 +8465,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Name = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -8209,10 +8474,12 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.Origin = types.Origin(jtv) } + case "OriginDetails": if err := awsRestjson1_deserializeDocumentOriginDetails(&sv.OriginDetails, value); err != nil { return err } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -8221,6 +8488,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8233,6 +8501,7 @@ func awsRestjson1_deserializeDocumentDataSetEntry(v **types.DataSetEntry, value } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8268,10 +8537,12 @@ func awsRestjson1_deserializeDocumentDetails(v **types.Details, value interface{ if err := awsRestjson1_deserializeDocumentImportAssetFromSignedUrlJobErrorDetails(&sv.ImportAssetFromSignedUrlJobErrorDetails, value); err != nil { return err } + case "ImportAssetsFromS3JobErrorDetails": if err := awsRestjson1_deserializeDocumentListOfAssetSourceEntry(&sv.ImportAssetsFromS3JobErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8307,6 +8578,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e if err := awsRestjson1_deserializeDocumentRevisionPublished(&sv.RevisionPublished, value); err != nil { return err } + default: _, _ = key, value @@ -8342,6 +8614,7 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8350,6 +8623,7 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8362,10 +8636,12 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.CreatedAt = ptr.Time(t) } + case "Event": if err := awsRestjson1_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8374,6 +8650,7 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.Id = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -8386,6 +8663,7 @@ func awsRestjson1_deserializeDocumentEventActionEntry(v **types.EventActionEntry } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -8421,6 +8699,7 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E if err := awsRestjson1_deserializeDocumentListOfAssetDestinationEntry(&sv.AssetDestinations, value); err != nil { return err } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8429,10 +8708,12 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E } sv.DataSetId = ptr.String(jtv) } + case "Encryption": if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8441,6 +8722,7 @@ func awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(v **types.E } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -8480,6 +8762,7 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.AssetId = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8488,6 +8771,7 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.DataSetId = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8496,6 +8780,7 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.RevisionId = ptr.String(jtv) } + case "SignedUrl": if value != nil { jtv, ok := value.(string) @@ -8504,6 +8789,7 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.SignedUrl = ptr.String(jtv) } + case "SignedUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -8516,6 +8802,7 @@ func awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(v **t } sv.SignedUrlExpiresAt = ptr.Time(t) } + default: _, _ = key, value @@ -8555,10 +8842,12 @@ func awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(v **type } sv.DataSetId = ptr.String(jtv) } + case "Encryption": if err := awsRestjson1_deserializeDocumentExportServerSideEncryption(&sv.Encryption, value); err != nil { return err } + case "EventActionArn": if value != nil { jtv, ok := value.(string) @@ -8567,10 +8856,12 @@ func awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(v **type } sv.EventActionArn = ptr.String(jtv) } + case "RevisionDestinations": if err := awsRestjson1_deserializeDocumentListOfRevisionDestinationEntry(&sv.RevisionDestinations, value); err != nil { return err } + default: _, _ = key, value @@ -8610,6 +8901,7 @@ func awsRestjson1_deserializeDocumentExportServerSideEncryption(v **types.Export } sv.KmsKeyArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8618,6 +8910,7 @@ func awsRestjson1_deserializeDocumentExportServerSideEncryption(v **types.Export } sv.Type = types.ServerSideEncryptionTypes(jtv) } + default: _, _ = key, value @@ -8657,6 +8950,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiDescription = ptr.String(jtv) } + case "ApiId": if value != nil { jtv, ok := value.(string) @@ -8665,6 +8959,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiId = ptr.String(jtv) } + case "ApiKey": if value != nil { jtv, ok := value.(string) @@ -8673,6 +8968,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiKey = ptr.String(jtv) } + case "ApiName": if value != nil { jtv, ok := value.(string) @@ -8681,6 +8977,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiName = ptr.String(jtv) } + case "ApiSpecificationMd5Hash": if value != nil { jtv, ok := value.(string) @@ -8689,6 +8986,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationMd5Hash = ptr.String(jtv) } + case "ApiSpecificationUploadUrl": if value != nil { jtv, ok := value.(string) @@ -8697,6 +8995,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationUploadUrl = ptr.String(jtv) } + case "ApiSpecificationUploadUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -8709,6 +9008,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ApiSpecificationUploadUrlExpiresAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8717,6 +9017,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.DataSetId = ptr.String(jtv) } + case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -8725,6 +9026,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.ProtocolType = types.ProtocolType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8733,6 +9035,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.RevisionId = ptr.String(jtv) } + case "Stage": if value != nil { jtv, ok := value.(string) @@ -8741,6 +9044,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails } sv.Stage = ptr.String(jtv) } + default: _, _ = key, value @@ -8780,6 +9084,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlJobErrorDetails(v * } sv.AssetName = ptr.String(jtv) } + default: _, _ = key, value @@ -8819,6 +9124,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.AssetName = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8827,6 +9133,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.DataSetId = ptr.String(jtv) } + case "Md5Hash": if value != nil { jtv, ok := value.(string) @@ -8835,6 +9142,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.Md5Hash = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8843,6 +9151,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.RevisionId = ptr.String(jtv) } + case "SignedUrl": if value != nil { jtv, ok := value.(string) @@ -8851,6 +9160,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.SignedUrl = ptr.String(jtv) } + case "SignedUrlExpiresAt": if value != nil { jtv, ok := value.(string) @@ -8863,6 +9173,7 @@ func awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(v * } sv.SignedUrlExpiresAt = ptr.Time(t) } + default: _, _ = key, value @@ -8902,10 +9213,12 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.CatalogId = ptr.String(jtv) } + case "Database": if err := awsRestjson1_deserializeDocumentDatabaseLFTagPolicyAndPermissions(&sv.Database, value); err != nil { return err } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8914,6 +9227,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.DataSetId = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8922,6 +9236,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.RevisionId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8930,10 +9245,12 @@ func awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyRespo } sv.RoleArn = ptr.String(jtv) } + case "Table": if err := awsRestjson1_deserializeDocumentTableLFTagPolicyAndPermissions(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -8969,6 +9286,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD if err := awsRestjson1_deserializeDocumentListOfRedshiftDataShareAssetSourceEntry(&sv.AssetSources, value); err != nil { return err } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -8977,6 +9295,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD } sv.DataSetId = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9304,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseD } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9020,6 +9340,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types if err := awsRestjson1_deserializeDocumentListOfAssetSourceEntry(&sv.AssetSources, value); err != nil { return err } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -9028,6 +9349,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types } sv.DataSetId = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9036,6 +9358,7 @@ func awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(v **types } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9075,6 +9398,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9114,6 +9438,7 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -9126,14 +9451,17 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.CreatedAt = ptr.Time(t) } + case "Details": if err := awsRestjson1_deserializeDocumentResponseDetails(&sv.Details, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentListOfJobError(&sv.Errors, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9142,6 +9470,7 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Id = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9150,6 +9479,7 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.State = types.State(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9158,6 +9488,7 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.Type = types.Type(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -9170,6 +9501,7 @@ func awsRestjson1_deserializeDocumentJobEntry(v **types.JobEntry, value interfac } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -9209,10 +9541,12 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Code = types.Code(jtv) } + case "Details": if err := awsRestjson1_deserializeDocumentDetails(&sv.Details, value); err != nil { return err } + case "LimitName": if value != nil { jtv, ok := value.(string) @@ -9221,6 +9555,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.LimitName = types.JobErrorLimitName(jtv) } + case "LimitValue": if value != nil { switch jtv := value.(type) { @@ -9254,6 +9589,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9262,6 +9598,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9270,6 +9607,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9278,6 +9616,7 @@ func awsRestjson1_deserializeDocumentJobError(v **types.JobError, value interfac } sv.ResourceType = types.JobErrorResourceTypes(jtv) } + default: _, _ = key, value @@ -9317,6 +9656,7 @@ func awsRestjson1_deserializeDocumentKmsKeyToGrant(v **types.KmsKeyToGrant, valu } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9352,6 +9692,7 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. if err := awsRestjson1_deserializeDocumentLakeFormationDataPermissionDetails(&sv.LakeFormationDataPermissionDetails, value); err != nil { return err } + case "LakeFormationDataPermissionType": if value != nil { jtv, ok := value.(string) @@ -9360,10 +9701,12 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. } sv.LakeFormationDataPermissionType = types.LakeFormationDataPermissionType(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentListOfLFPermissions(&sv.Permissions, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9372,6 +9715,7 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionAsset(v **types. } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9407,6 +9751,7 @@ func awsRestjson1_deserializeDocumentLakeFormationDataPermissionDetails(v **type if err := awsRestjson1_deserializeDocumentLFTagPolicyDetails(&sv.LFTagPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -9442,10 +9787,12 @@ func awsRestjson1_deserializeDocumentLFResourceDetails(v **types.LFResourceDetai if err := awsRestjson1_deserializeDocumentDatabaseLFTagPolicy(&sv.Database, value); err != nil { return err } + case "Table": if err := awsRestjson1_deserializeDocumentTableLFTagPolicy(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -9485,10 +9832,12 @@ func awsRestjson1_deserializeDocumentLFTag(v **types.LFTag, value interface{}) e } sv.TagKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentListOfLFTagValues(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -9528,10 +9877,12 @@ func awsRestjson1_deserializeDocumentLFTagPolicyDetails(v **types.LFTagPolicyDet } sv.CatalogId = ptr.String(jtv) } + case "ResourceDetails": if err := awsRestjson1_deserializeDocumentLFResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9540,6 +9891,7 @@ func awsRestjson1_deserializeDocumentLFTagPolicyDetails(v **types.LFTagPolicyDet } sv.ResourceType = types.LFResourceType(jtv) } + default: _, _ = key, value @@ -10271,6 +10623,7 @@ func awsRestjson1_deserializeDocumentOriginDetails(v **types.OriginDetails, valu } sv.DataGrantId = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -10279,6 +10632,7 @@ func awsRestjson1_deserializeDocumentOriginDetails(v **types.OriginDetails, valu } sv.ProductId = ptr.String(jtv) } + default: _, _ = key, value @@ -10318,6 +10672,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.AcceptanceState = types.DataGrantAcceptanceState(jtv) } + case "AcceptedAt": if value != nil { jtv, ok := value.(string) @@ -10330,6 +10685,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.AcceptedAt = ptr.Time(t) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10338,6 +10694,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10350,6 +10707,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -10358,6 +10716,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.DataSetId = ptr.String(jtv) } + case "EndsAt": if value != nil { jtv, ok := value.(string) @@ -10370,6 +10729,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.EndsAt = ptr.Time(t) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10378,6 +10738,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10386,6 +10747,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.Name = ptr.String(jtv) } + case "ReceiverPrincipal": if value != nil { jtv, ok := value.(string) @@ -10394,6 +10756,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.ReceiverPrincipal = ptr.String(jtv) } + case "SenderPrincipal": if value != nil { jtv, ok := value.(string) @@ -10402,6 +10765,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.SenderPrincipal = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10414,6 +10778,7 @@ func awsRestjson1_deserializeDocumentReceivedDataGrantSummariesEntry(v **types.R } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -10453,6 +10818,7 @@ func awsRestjson1_deserializeDocumentRedshiftDataShareAsset(v **types.RedshiftDa } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -10492,6 +10858,7 @@ func awsRestjson1_deserializeDocumentRedshiftDataShareAssetSourceEntry(v **types } sv.DataShareArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10531,6 +10898,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10539,6 +10907,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10547,6 +10916,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -10582,38 +10952,47 @@ func awsRestjson1_deserializeDocumentResponseDetails(v **types.ResponseDetails, if err := awsRestjson1_deserializeDocumentCreateS3DataAccessFromS3BucketResponseDetails(&sv.CreateS3DataAccessFromS3Bucket, value); err != nil { return err } + case "ExportAssetsToS3": if err := awsRestjson1_deserializeDocumentExportAssetsToS3ResponseDetails(&sv.ExportAssetsToS3, value); err != nil { return err } + case "ExportAssetToSignedUrl": if err := awsRestjson1_deserializeDocumentExportAssetToSignedUrlResponseDetails(&sv.ExportAssetToSignedUrl, value); err != nil { return err } + case "ExportRevisionsToS3": if err := awsRestjson1_deserializeDocumentExportRevisionsToS3ResponseDetails(&sv.ExportRevisionsToS3, value); err != nil { return err } + case "ImportAssetFromApiGatewayApi": if err := awsRestjson1_deserializeDocumentImportAssetFromApiGatewayApiResponseDetails(&sv.ImportAssetFromApiGatewayApi, value); err != nil { return err } + case "ImportAssetFromSignedUrl": if err := awsRestjson1_deserializeDocumentImportAssetFromSignedUrlResponseDetails(&sv.ImportAssetFromSignedUrl, value); err != nil { return err } + case "ImportAssetsFromLakeFormationTagPolicy": if err := awsRestjson1_deserializeDocumentImportAssetsFromLakeFormationTagPolicyResponseDetails(&sv.ImportAssetsFromLakeFormationTagPolicy, value); err != nil { return err } + case "ImportAssetsFromRedshiftDataShares": if err := awsRestjson1_deserializeDocumentImportAssetsFromRedshiftDataSharesResponseDetails(&sv.ImportAssetsFromRedshiftDataShares, value); err != nil { return err } + case "ImportAssetsFromS3": if err := awsRestjson1_deserializeDocumentImportAssetsFromS3ResponseDetails(&sv.ImportAssetsFromS3, value); err != nil { return err } + default: _, _ = key, value @@ -10653,6 +11032,7 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.Bucket = ptr.String(jtv) } + case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -10661,6 +11041,7 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.KeyPattern = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -10669,6 +11050,7 @@ func awsRestjson1_deserializeDocumentRevisionDestinationEntry(v **types.Revision } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10708,6 +11090,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Arn = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -10716,6 +11099,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Comment = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10728,6 +11112,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.CreatedAt = ptr.Time(t) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -10736,6 +11121,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.DataSetId = ptr.String(jtv) } + case "Finalized": if value != nil { jtv, ok := value.(bool) @@ -10744,6 +11130,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Finalized = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10752,6 +11139,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Id = ptr.String(jtv) } + case "RevocationComment": if value != nil { jtv, ok := value.(string) @@ -10760,6 +11148,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.RevocationComment = ptr.String(jtv) } + case "Revoked": if value != nil { jtv, ok := value.(bool) @@ -10768,6 +11157,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.Revoked = jtv } + case "RevokedAt": if value != nil { jtv, ok := value.(string) @@ -10780,6 +11170,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.RevokedAt = ptr.Time(t) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -10788,6 +11179,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.SourceId = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10800,6 +11192,7 @@ func awsRestjson1_deserializeDocumentRevisionEntry(v **types.RevisionEntry, valu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -10839,6 +11232,7 @@ func awsRestjson1_deserializeDocumentRevisionPublished(v **types.RevisionPublish } sv.DataSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10878,18 +11272,22 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.Bucket = ptr.String(jtv) } + case "KeyPrefixes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.KeyPrefixes, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Keys, value); err != nil { return err } + case "KmsKeysToGrant": if err := awsRestjson1_deserializeDocumentListOfKmsKeysToGrant(&sv.KmsKeysToGrant, value); err != nil { return err } + case "S3AccessPointAlias": if value != nil { jtv, ok := value.(string) @@ -10898,6 +11296,7 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.S3AccessPointAlias = ptr.String(jtv) } + case "S3AccessPointArn": if value != nil { jtv, ok := value.(string) @@ -10906,6 +11305,7 @@ func awsRestjson1_deserializeDocumentS3DataAccessAsset(v **types.S3DataAccessAss } sv.S3AccessPointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10945,18 +11345,22 @@ func awsRestjson1_deserializeDocumentS3DataAccessAssetSourceEntry(v **types.S3Da } sv.Bucket = ptr.String(jtv) } + case "KeyPrefixes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.KeyPrefixes, value); err != nil { return err } + case "Keys": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Keys, value); err != nil { return err } + case "KmsKeysToGrant": if err := awsRestjson1_deserializeDocumentListOfKmsKeysToGrant(&sv.KmsKeysToGrant, value); err != nil { return err } + default: _, _ = key, value @@ -11021,6 +11425,7 @@ func awsRestjson1_deserializeDocumentS3SnapshotAsset(v **types.S3SnapshotAsset, } } + default: _, _ = key, value @@ -11060,6 +11465,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitName = types.LimitName(jtv) } + case "LimitValue": if value != nil { switch jtv := value.(type) { @@ -11093,6 +11499,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11101,6 +11508,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11136,6 +11544,7 @@ func awsRestjson1_deserializeDocumentTableLFTagPolicy(v **types.TableLFTagPolicy if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } + default: _, _ = key, value @@ -11171,10 +11580,12 @@ func awsRestjson1_deserializeDocumentTableLFTagPolicyAndPermissions(v **types.Ta if err := awsRestjson1_deserializeDocumentListOfLFTags(&sv.Expression, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentListOfTableTagPolicyLFPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -11214,6 +11625,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11253,6 +11665,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionCause = types.ExceptionCause(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11261,6 +11674,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/datapipeline/deserializers.go b/service/datapipeline/deserializers.go index e1cc5e1d80b..cbac0965651 100644 --- a/service/datapipeline/deserializers.go +++ b/service/datapipeline/deserializers.go @@ -2456,6 +2456,7 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Key = ptr.String(jtv) } + case "refValue": if value != nil { jtv, ok := value.(string) @@ -2464,6 +2465,7 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.RefValue = ptr.String(jtv) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2472,6 +2474,7 @@ func awsAwsjson11_deserializeDocumentField(v **types.Field, value interface{}) e } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2581,6 +2584,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2620,6 +2624,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2659,6 +2664,7 @@ func awsAwsjson11_deserializeDocumentParameterAttribute(v **types.ParameterAttri } sv.Key = ptr.String(jtv) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2667,6 +2673,7 @@ func awsAwsjson11_deserializeDocumentParameterAttribute(v **types.ParameterAttri } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2736,6 +2743,7 @@ func awsAwsjson11_deserializeDocumentParameterObject(v **types.ParameterObject, if err := awsAwsjson11_deserializeDocumentParameterAttributeList(&sv.Attributes, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2744,6 +2752,7 @@ func awsAwsjson11_deserializeDocumentParameterObject(v **types.ParameterObject, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2817,6 +2826,7 @@ func awsAwsjson11_deserializeDocumentParameterValue(v **types.ParameterValue, va } sv.Id = ptr.String(jtv) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -2825,6 +2835,7 @@ func awsAwsjson11_deserializeDocumentParameterValue(v **types.ParameterValue, va } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2898,6 +2909,7 @@ func awsAwsjson11_deserializeDocumentPipelineDeletedException(v **types.Pipeline } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2937,10 +2949,12 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.Description = ptr.String(jtv) } + case "fields": if err := awsAwsjson11_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2949,6 +2963,7 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.Name = ptr.String(jtv) } + case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -2957,10 +2972,12 @@ func awsAwsjson11_deserializeDocumentPipelineDescription(v **types.PipelineDescr } sv.PipelineId = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3034,6 +3051,7 @@ func awsAwsjson11_deserializeDocumentPipelineIdName(v **types.PipelineIdName, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3042,6 +3060,7 @@ func awsAwsjson11_deserializeDocumentPipelineIdName(v **types.PipelineIdName, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3115,6 +3134,7 @@ func awsAwsjson11_deserializeDocumentPipelineNotFoundException(v **types.Pipelin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3150,6 +3170,7 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va if err := awsAwsjson11_deserializeDocumentFieldList(&sv.Fields, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3158,6 +3179,7 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3166,6 +3188,7 @@ func awsAwsjson11_deserializeDocumentPipelineObject(v **types.PipelineObject, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3274,6 +3297,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3282,6 +3306,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3355,6 +3380,7 @@ func awsAwsjson11_deserializeDocumentTaskNotFoundException(v **types.TaskNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3394,10 +3420,12 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.AttemptId = ptr.String(jtv) } + case "objects": if err := awsAwsjson11_deserializeDocumentPipelineObjectMap(&sv.Objects, value); err != nil { return err } + case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -3406,6 +3434,7 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.PipelineId = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -3414,6 +3443,7 @@ func awsAwsjson11_deserializeDocumentTaskObject(v **types.TaskObject, value inte } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -3449,6 +3479,7 @@ func awsAwsjson11_deserializeDocumentValidationError(v **types.ValidationError, if err := awsAwsjson11_deserializeDocumentValidationMessages(&sv.Errors, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3457,6 +3488,7 @@ func awsAwsjson11_deserializeDocumentValidationError(v **types.ValidationError, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3566,10 +3598,12 @@ func awsAwsjson11_deserializeDocumentValidationWarning(v **types.ValidationWarni } sv.Id = ptr.String(jtv) } + case "warnings": if err := awsAwsjson11_deserializeDocumentValidationMessages(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -3705,6 +3739,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineId = ptr.String(jtv) } + default: _, _ = key, value @@ -3775,6 +3810,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeObjectsOutput(v **DescribeObjects } sv.HasMoreResults = jtv } + case "marker": if value != nil { jtv, ok := value.(string) @@ -3783,10 +3819,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeObjectsOutput(v **DescribeObjects } sv.Marker = ptr.String(jtv) } + case "pipelineObjects": if err := awsAwsjson11_deserializeDocumentPipelineObjectList(&sv.PipelineObjects, value); err != nil { return err } + default: _, _ = key, value @@ -3822,6 +3860,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelinesOutput(v **DescribePipel if err := awsAwsjson11_deserializeDocumentPipelineDescriptionList(&sv.PipelineDescriptionList, value); err != nil { return err } + default: _, _ = key, value @@ -3861,6 +3900,7 @@ func awsAwsjson11_deserializeOpDocumentEvaluateExpressionOutput(v **EvaluateExpr } sv.EvaluatedExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -3896,14 +3936,17 @@ func awsAwsjson11_deserializeOpDocumentGetPipelineDefinitionOutput(v **GetPipeli if err := awsAwsjson11_deserializeDocumentParameterObjectList(&sv.ParameterObjects, value); err != nil { return err } + case "parameterValues": if err := awsAwsjson11_deserializeDocumentParameterValueList(&sv.ParameterValues, value); err != nil { return err } + case "pipelineObjects": if err := awsAwsjson11_deserializeDocumentPipelineObjectList(&sv.PipelineObjects, value); err != nil { return err } + default: _, _ = key, value @@ -3943,6 +3986,7 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.HasMoreResults = jtv } + case "marker": if value != nil { jtv, ok := value.(string) @@ -3951,10 +3995,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.Marker = ptr.String(jtv) } + case "pipelineIdList": if err := awsAwsjson11_deserializeDocumentPipelineList(&sv.PipelineIdList, value); err != nil { return err } + default: _, _ = key, value @@ -3990,6 +4036,7 @@ func awsAwsjson11_deserializeOpDocumentPollForTaskOutput(v **PollForTaskOutput, if err := awsAwsjson11_deserializeDocumentTaskObject(&sv.TaskObject, value); err != nil { return err } + default: _, _ = key, value @@ -4029,14 +4076,17 @@ func awsAwsjson11_deserializeOpDocumentPutPipelineDefinitionOutput(v **PutPipeli } sv.Errored = jtv } + case "validationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } + case "validationWarnings": if err := awsAwsjson11_deserializeDocumentValidationWarnings(&sv.ValidationWarnings, value); err != nil { return err } + default: _, _ = key, value @@ -4076,10 +4126,12 @@ func awsAwsjson11_deserializeOpDocumentQueryObjectsOutput(v **QueryObjectsOutput } sv.HasMoreResults = jtv } + case "ids": if err := awsAwsjson11_deserializeDocumentIdList(&sv.Ids, value); err != nil { return err } + case "marker": if value != nil { jtv, ok := value.(string) @@ -4088,6 +4140,7 @@ func awsAwsjson11_deserializeOpDocumentQueryObjectsOutput(v **QueryObjectsOutput } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -4158,6 +4211,7 @@ func awsAwsjson11_deserializeOpDocumentReportTaskProgressOutput(v **ReportTaskPr } sv.Canceled = jtv } + default: _, _ = key, value @@ -4197,6 +4251,7 @@ func awsAwsjson11_deserializeOpDocumentReportTaskRunnerHeartbeatOutput(v **Repor } sv.Terminate = jtv } + default: _, _ = key, value @@ -4267,14 +4322,17 @@ func awsAwsjson11_deserializeOpDocumentValidatePipelineDefinitionOutput(v **Vali } sv.Errored = jtv } + case "validationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } + case "validationWarnings": if err := awsAwsjson11_deserializeDocumentValidationWarnings(&sv.ValidationWarnings, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/datasync/deserializers.go b/service/datasync/deserializers.go index 7e0df58aae4..a20d2ee3e61 100644 --- a/service/datasync/deserializers.go +++ b/service/datasync/deserializers.go @@ -7041,6 +7041,7 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.AgentArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7049,10 +7050,12 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.Name = ptr.String(jtv) } + case "Platform": if err := awsAwsjson11_deserializeDocumentPlatform(&sv.Platform, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7061,6 +7064,7 @@ func awsAwsjson11_deserializeDocumentAgentListEntry(v **types.AgentListEntry, va } sv.Status = types.AgentStatus(jtv) } + default: _, _ = key, value @@ -7104,6 +7108,7 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.ClusterCloudStorageUsed = ptr.Int64(i64) } + case "LogicalUsed": if value != nil { jtv, ok := value.(json.Number) @@ -7116,6 +7121,7 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.LogicalUsed = ptr.Int64(i64) } + case "Provisioned": if value != nil { jtv, ok := value.(json.Number) @@ -7128,6 +7134,7 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Provisioned = ptr.Int64(i64) } + case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -7140,6 +7147,7 @@ func awsAwsjson11_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Used = ptr.Int64(i64) } + default: _, _ = key, value @@ -7285,6 +7293,7 @@ func awsAwsjson11_deserializeDocumentDiscoveryJobListEntry(v **types.DiscoveryJo } sv.DiscoveryJobArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7293,6 +7302,7 @@ func awsAwsjson11_deserializeDocumentDiscoveryJobListEntry(v **types.DiscoveryJo } sv.Status = types.DiscoveryJobStatus(jtv) } + default: _, _ = key, value @@ -7332,6 +7342,7 @@ func awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(v **types.Disc } sv.ServerHostname = ptr.String(jtv) } + case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -7344,6 +7355,7 @@ func awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(v **types.Disc } sv.ServerPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7379,6 +7391,7 @@ func awsAwsjson11_deserializeDocumentEc2Config(v **types.Ec2Config, value interf if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -7387,6 +7400,7 @@ func awsAwsjson11_deserializeDocumentEc2Config(v **types.Ec2Config, value interf } sv.SubnetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7532,6 +7546,7 @@ func awsAwsjson11_deserializeDocumentFilterRule(v **types.FilterRule, value inte } sv.FilterType = types.FilterType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7540,6 +7555,7 @@ func awsAwsjson11_deserializeDocumentFilterRule(v **types.FilterRule, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7575,10 +7591,12 @@ func awsAwsjson11_deserializeDocumentFsxProtocol(v **types.FsxProtocol, value in if err := awsAwsjson11_deserializeDocumentFsxProtocolNfs(&sv.NFS, value); err != nil { return err } + case "SMB": if err := awsAwsjson11_deserializeDocumentFsxProtocolSmb(&sv.SMB, value); err != nil { return err } + default: _, _ = key, value @@ -7614,6 +7632,7 @@ func awsAwsjson11_deserializeDocumentFsxProtocolNfs(v **types.FsxProtocolNfs, va if err := awsAwsjson11_deserializeDocumentNfsMountOptions(&sv.MountOptions, value); err != nil { return err } + default: _, _ = key, value @@ -7653,10 +7672,12 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.Domain = ptr.String(jtv) } + case "MountOptions": if err := awsAwsjson11_deserializeDocumentSmbMountOptions(&sv.MountOptions, value); err != nil { return err } + case "Password": if value != nil { jtv, ok := value.(string) @@ -7665,6 +7686,7 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.Password = ptr.String(jtv) } + case "User": if value != nil { jtv, ok := value.(string) @@ -7673,6 +7695,7 @@ func awsAwsjson11_deserializeDocumentFsxProtocolSmb(v **types.FsxProtocolSmb, va } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -7712,6 +7735,7 @@ func awsAwsjson11_deserializeDocumentHdfsNameNode(v **types.HdfsNameNode, value } sv.Hostname = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -7724,6 +7748,7 @@ func awsAwsjson11_deserializeDocumentHdfsNameNode(v **types.HdfsNameNode, value } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7797,6 +7822,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7805,6 +7831,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7844,6 +7871,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.DatasyncErrorCode = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7852,6 +7880,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7860,6 +7889,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7924,6 +7954,7 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } + case "Read": if value != nil { switch jtv := value.(type) { @@ -7957,6 +7988,7 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } + case "Total": if value != nil { switch jtv := value.(type) { @@ -7990,6 +8022,7 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } + case "Write": if value != nil { switch jtv := value.(type) { @@ -8023,6 +8056,7 @@ func awsAwsjson11_deserializeDocumentIOPS(v **types.IOPS, value interface{}) err } } + default: _, _ = key, value @@ -8087,6 +8121,7 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } + case "Read": if value != nil { switch jtv := value.(type) { @@ -8120,6 +8155,7 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } + case "Write": if value != nil { switch jtv := value.(type) { @@ -8153,6 +8189,7 @@ func awsAwsjson11_deserializeDocumentLatency(v **types.Latency, value interface{ } } + default: _, _ = key, value @@ -8226,6 +8263,7 @@ func awsAwsjson11_deserializeDocumentLocationListEntry(v **types.LocationListEnt } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -8234,6 +8272,7 @@ func awsAwsjson11_deserializeDocumentLocationListEntry(v **types.LocationListEnt } sv.LocationUri = ptr.String(jtv) } + default: _, _ = key, value @@ -8273,6 +8312,7 @@ func awsAwsjson11_deserializeDocumentManifestConfig(v **types.ManifestConfig, va } sv.Action = types.ManifestAction(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -8281,10 +8321,12 @@ func awsAwsjson11_deserializeDocumentManifestConfig(v **types.ManifestConfig, va } sv.Format = types.ManifestFormat(jtv) } + case "Source": if err := awsAwsjson11_deserializeDocumentSourceManifestConfig(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -8349,6 +8391,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "IopsRead": if value != nil { switch jtv := value.(type) { @@ -8382,6 +8425,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "IopsTotal": if value != nil { switch jtv := value.(type) { @@ -8415,6 +8459,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "IopsWrite": if value != nil { switch jtv := value.(type) { @@ -8448,6 +8493,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "LatencyOther": if value != nil { switch jtv := value.(type) { @@ -8481,6 +8527,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "LatencyRead": if value != nil { switch jtv := value.(type) { @@ -8514,6 +8561,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "LatencyWrite": if value != nil { switch jtv := value.(type) { @@ -8547,6 +8595,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "ThroughputOther": if value != nil { switch jtv := value.(type) { @@ -8580,6 +8629,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "ThroughputRead": if value != nil { switch jtv := value.(type) { @@ -8613,6 +8663,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "ThroughputTotal": if value != nil { switch jtv := value.(type) { @@ -8646,6 +8697,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + case "ThroughputWrite": if value != nil { switch jtv := value.(type) { @@ -8679,6 +8731,7 @@ func awsAwsjson11_deserializeDocumentMaxP95Performance(v **types.MaxP95Performan } } + default: _, _ = key, value @@ -8756,6 +8809,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.CifsShareCount = ptr.Int64(i64) } + case "ClusterBlockStorageLogicalUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8768,6 +8822,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageLogicalUsed = ptr.Int64(i64) } + case "ClusterBlockStorageSize": if value != nil { jtv, ok := value.(json.Number) @@ -8780,6 +8835,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageSize = ptr.Int64(i64) } + case "ClusterBlockStorageUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8792,6 +8848,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterBlockStorageUsed = ptr.Int64(i64) } + case "ClusterCloudStorageUsed": if value != nil { jtv, ok := value.(json.Number) @@ -8804,6 +8861,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterCloudStorageUsed = ptr.Int64(i64) } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -8812,6 +8870,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ClusterName = ptr.String(jtv) } + case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -8824,10 +8883,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.LunCount = ptr.Int64(i64) } + case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } + case "NfsExportedVolumes": if value != nil { jtv, ok := value.(json.Number) @@ -8840,10 +8901,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.NfsExportedVolumes = ptr.Int64(i64) } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } + case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -8852,6 +8915,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8860,6 +8924,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPCluster(v **types.NetAppONTAPClu } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -8937,6 +9002,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.CifsShareCount = ptr.Int64(i64) } + case "ClusterUuid": if value != nil { jtv, ok := value.(string) @@ -8945,10 +9011,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.ClusterUuid = ptr.String(jtv) } + case "EnabledProtocols": if err := awsAwsjson11_deserializeDocumentEnabledProtocols(&sv.EnabledProtocols, value); err != nil { return err } + case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -8961,10 +9029,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.LunCount = ptr.Int64(i64) } + case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } + case "NfsExportedVolumes": if value != nil { jtv, ok := value.(json.Number) @@ -8977,10 +9047,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.NfsExportedVolumes = ptr.Int64(i64) } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } + case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -8989,6 +9061,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8997,6 +9070,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.ResourceId = ptr.String(jtv) } + case "SvmName": if value != nil { jtv, ok := value.(string) @@ -9005,6 +9079,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.SvmName = ptr.String(jtv) } + case "TotalCapacityProvisioned": if value != nil { jtv, ok := value.(json.Number) @@ -9017,6 +9092,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalCapacityProvisioned = ptr.Int64(i64) } + case "TotalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9029,6 +9105,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalCapacityUsed = ptr.Int64(i64) } + case "TotalLogicalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9041,6 +9118,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalLogicalCapacityUsed = ptr.Int64(i64) } + case "TotalSnapshotCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9053,6 +9131,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPSVM(v **types.NetAppONTAPSVM, va } sv.TotalSnapshotCapacityUsed = ptr.Int64(i64) } + default: _, _ = key, value @@ -9130,6 +9209,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CapacityProvisioned = ptr.Int64(i64) } + case "CapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9142,6 +9222,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CapacityUsed = ptr.Int64(i64) } + case "CifsShareCount": if value != nil { jtv, ok := value.(json.Number) @@ -9154,6 +9235,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.CifsShareCount = ptr.Int64(i64) } + case "LogicalCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9166,6 +9248,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.LogicalCapacityUsed = ptr.Int64(i64) } + case "LunCount": if value != nil { jtv, ok := value.(json.Number) @@ -9178,10 +9261,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.LunCount = ptr.Int64(i64) } + case "MaxP95Performance": if err := awsAwsjson11_deserializeDocumentMaxP95Performance(&sv.MaxP95Performance, value); err != nil { return err } + case "NfsExported": if value != nil { jtv, ok := value.(bool) @@ -9190,10 +9275,12 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.NfsExported = jtv } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } + case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -9202,6 +9289,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9210,6 +9298,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.ResourceId = ptr.String(jtv) } + case "SecurityStyle": if value != nil { jtv, ok := value.(string) @@ -9218,6 +9307,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SecurityStyle = ptr.String(jtv) } + case "SnapshotCapacityUsed": if value != nil { jtv, ok := value.(json.Number) @@ -9230,6 +9320,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SnapshotCapacityUsed = ptr.Int64(i64) } + case "SvmName": if value != nil { jtv, ok := value.(string) @@ -9238,6 +9329,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SvmName = ptr.String(jtv) } + case "SvmUuid": if value != nil { jtv, ok := value.(string) @@ -9246,6 +9338,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.SvmUuid = ptr.String(jtv) } + case "VolumeName": if value != nil { jtv, ok := value.(string) @@ -9254,6 +9347,7 @@ func awsAwsjson11_deserializeDocumentNetAppONTAPVolume(v **types.NetAppONTAPVolu } sv.VolumeName = ptr.String(jtv) } + default: _, _ = key, value @@ -9327,6 +9421,7 @@ func awsAwsjson11_deserializeDocumentNfsMountOptions(v **types.NfsMountOptions, } sv.Version = types.NfsVersion(jtv) } + default: _, _ = key, value @@ -9362,6 +9457,7 @@ func awsAwsjson11_deserializeDocumentOnPremConfig(v **types.OnPremConfig, value if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + default: _, _ = key, value @@ -9401,6 +9497,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Atime = types.Atime(jtv) } + case "BytesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -9413,6 +9510,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.BytesPerSecond = ptr.Int64(i64) } + case "Gid": if value != nil { jtv, ok := value.(string) @@ -9421,6 +9519,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Gid = types.Gid(jtv) } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -9429,6 +9528,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.LogLevel = types.LogLevel(jtv) } + case "Mtime": if value != nil { jtv, ok := value.(string) @@ -9437,6 +9537,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Mtime = types.Mtime(jtv) } + case "ObjectTags": if value != nil { jtv, ok := value.(string) @@ -9445,6 +9546,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.ObjectTags = types.ObjectTags(jtv) } + case "OverwriteMode": if value != nil { jtv, ok := value.(string) @@ -9453,6 +9555,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.OverwriteMode = types.OverwriteMode(jtv) } + case "PosixPermissions": if value != nil { jtv, ok := value.(string) @@ -9461,6 +9564,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PosixPermissions = types.PosixPermissions(jtv) } + case "PreserveDeletedFiles": if value != nil { jtv, ok := value.(string) @@ -9469,6 +9573,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PreserveDeletedFiles = types.PreserveDeletedFiles(jtv) } + case "PreserveDevices": if value != nil { jtv, ok := value.(string) @@ -9477,6 +9582,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.PreserveDevices = types.PreserveDevices(jtv) } + case "SecurityDescriptorCopyFlags": if value != nil { jtv, ok := value.(string) @@ -9485,6 +9591,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.SecurityDescriptorCopyFlags = types.SmbSecurityDescriptorCopyFlags(jtv) } + case "TaskQueueing": if value != nil { jtv, ok := value.(string) @@ -9493,6 +9600,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.TaskQueueing = types.TaskQueueing(jtv) } + case "TransferMode": if value != nil { jtv, ok := value.(string) @@ -9501,6 +9609,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.TransferMode = types.TransferMode(jtv) } + case "Uid": if value != nil { jtv, ok := value.(string) @@ -9509,6 +9618,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.Uid = types.Uid(jtv) } + case "VerifyMode": if value != nil { jtv, ok := value.(string) @@ -9517,6 +9627,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.VerifyMode = types.VerifyMode(jtv) } + default: _, _ = key, value @@ -9586,14 +9697,17 @@ func awsAwsjson11_deserializeDocumentP95Metrics(v **types.P95Metrics, value inte if err := awsAwsjson11_deserializeDocumentIOPS(&sv.IOPS, value); err != nil { return err } + case "Latency": if err := awsAwsjson11_deserializeDocumentLatency(&sv.Latency, value); err != nil { return err } + case "Throughput": if err := awsAwsjson11_deserializeDocumentThroughput(&sv.Throughput, value); err != nil { return err } + default: _, _ = key, value @@ -9633,6 +9747,7 @@ func awsAwsjson11_deserializeDocumentPlatform(v **types.Platform, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9744,14 +9859,17 @@ func awsAwsjson11_deserializeDocumentPrivateLinkConfig(v **types.PrivateLinkConf } sv.PrivateLinkEndpoint = ptr.String(jtv) } + case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentPLSecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + case "SubnetArns": if err := awsAwsjson11_deserializeDocumentPLSubnetArnList(&sv.SubnetArns, value); err != nil { return err } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -9760,6 +9878,7 @@ func awsAwsjson11_deserializeDocumentPrivateLinkConfig(v **types.PrivateLinkConf } sv.VpcEndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -9799,6 +9918,7 @@ func awsAwsjson11_deserializeDocumentQopConfiguration(v **types.QopConfiguration } sv.DataTransferProtection = types.HdfsDataTransferProtection(jtv) } + case "RpcProtection": if value != nil { jtv, ok := value.(string) @@ -9807,6 +9927,7 @@ func awsAwsjson11_deserializeDocumentQopConfiguration(v **types.QopConfiguration } sv.RpcProtection = types.HdfsRpcProtection(jtv) } + default: _, _ = key, value @@ -9846,10 +9967,12 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.EstimatedMonthlyStorageCost = ptr.String(jtv) } + case "StorageConfiguration": if err := awsAwsjson11_deserializeDocumentRecommendationsConfigMap(&sv.StorageConfiguration, value); err != nil { return err } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -9858,6 +9981,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -9963,6 +10087,7 @@ func awsAwsjson11_deserializeDocumentReportDestination(v **types.ReportDestinati if err := awsAwsjson11_deserializeDocumentReportDestinationS3(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -10002,6 +10127,7 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.BucketAccessRoleArn = ptr.String(jtv) } + case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -10010,6 +10136,7 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.S3BucketArn = ptr.String(jtv) } + case "Subdirectory": if value != nil { jtv, ok := value.(string) @@ -10018,6 +10145,7 @@ func awsAwsjson11_deserializeDocumentReportDestinationS3(v **types.ReportDestina } sv.Subdirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -10057,6 +10185,7 @@ func awsAwsjson11_deserializeDocumentReportOverride(v **types.ReportOverride, va } sv.ReportLevel = types.ReportLevel(jtv) } + default: _, _ = key, value @@ -10092,18 +10221,22 @@ func awsAwsjson11_deserializeDocumentReportOverrides(v **types.ReportOverrides, if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Deleted, value); err != nil { return err } + case "Skipped": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Skipped, value); err != nil { return err } + case "Transferred": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Transferred, value); err != nil { return err } + case "Verified": if err := awsAwsjson11_deserializeDocumentReportOverride(&sv.Verified, value); err != nil { return err } + default: _, _ = key, value @@ -10143,6 +10276,7 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.ErrorCode = ptr.String(jtv) } + case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -10151,6 +10285,7 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.ErrorDetail = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10159,6 +10294,7 @@ func awsAwsjson11_deserializeDocumentReportResult(v **types.ReportResult, value } sv.Status = types.PhaseStatus(jtv) } + default: _, _ = key, value @@ -10194,14 +10330,17 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentNetAppONTAPClusters(&sv.NetAppONTAPClusters, value); err != nil { return err } + case "NetAppONTAPSVMs": if err := awsAwsjson11_deserializeDocumentNetAppONTAPSVMs(&sv.NetAppONTAPSVMs, value); err != nil { return err } + case "NetAppONTAPVolumes": if err := awsAwsjson11_deserializeDocumentNetAppONTAPVolumes(&sv.NetAppONTAPVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -10237,10 +10376,12 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, if err := awsAwsjson11_deserializeDocumentCapacity(&sv.Capacity, value); err != nil { return err } + case "P95Metrics": if err := awsAwsjson11_deserializeDocumentP95Metrics(&sv.P95Metrics, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10249,6 +10390,7 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10257,6 +10399,7 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } sv.ResourceType = types.DiscoveryResourceType(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -10272,6 +10415,7 @@ func awsAwsjson11_deserializeDocumentResourceMetrics(v **types.ResourceMetrics, } } + default: _, _ = key, value @@ -10311,6 +10455,7 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10350,6 +10495,7 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.BucketAccessRoleArn = ptr.String(jtv) } + case "ManifestObjectPath": if value != nil { jtv, ok := value.(string) @@ -10358,6 +10504,7 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.ManifestObjectPath = ptr.String(jtv) } + case "ManifestObjectVersionId": if value != nil { jtv, ok := value.(string) @@ -10366,6 +10513,7 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.ManifestObjectVersionId = ptr.String(jtv) } + case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -10374,6 +10522,7 @@ func awsAwsjson11_deserializeDocumentS3ManifestConfig(v **types.S3ManifestConfig } sv.S3BucketArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10413,6 +10562,7 @@ func awsAwsjson11_deserializeDocumentSmbMountOptions(v **types.SmbMountOptions, } sv.Version = types.SmbVersion(jtv) } + default: _, _ = key, value @@ -10448,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentSourceManifestConfig(v **types.SourceManife if err := awsAwsjson11_deserializeDocumentS3ManifestConfig(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -10557,6 +10708,7 @@ func awsAwsjson11_deserializeDocumentStorageSystemListEntry(v **types.StorageSys } sv.Name = ptr.String(jtv) } + case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -10565,6 +10717,7 @@ func awsAwsjson11_deserializeDocumentStorageSystemListEntry(v **types.StorageSys } sv.StorageSystemArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10604,6 +10757,7 @@ func awsAwsjson11_deserializeDocumentTagListEntry(v **types.TagListEntry, value } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10612,6 +10766,7 @@ func awsAwsjson11_deserializeDocumentTagListEntry(v **types.TagListEntry, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10655,6 +10810,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Delete = i64 } + case "Prepare": if value != nil { jtv, ok := value.(json.Number) @@ -10667,6 +10823,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Prepare = i64 } + case "Transfer": if value != nil { jtv, ok := value.(json.Number) @@ -10679,6 +10836,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Transfer = i64 } + case "Verify": if value != nil { jtv, ok := value.(json.Number) @@ -10691,6 +10849,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(v **types.Ta } sv.Verify = i64 } + default: _, _ = key, value @@ -10734,6 +10893,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(v **types.Ta } sv.AtDestinationForDelete = i64 } + case "AtSource": if value != nil { jtv, ok := value.(json.Number) @@ -10746,6 +10906,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(v **types.Ta } sv.AtSource = i64 } + default: _, _ = key, value @@ -10819,6 +10980,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.Status = types.TaskExecutionStatus(jtv) } + case "TaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -10827,6 +10989,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.TaskExecutionArn = ptr.String(jtv) } + case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -10835,6 +10998,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionListEntry(v **types.TaskExecut } sv.TaskMode = types.TaskMode(jtv) } + default: _, _ = key, value @@ -10874,6 +11038,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.ErrorCode = ptr.String(jtv) } + case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -10882,6 +11047,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.ErrorDetail = ptr.String(jtv) } + case "PrepareDuration": if value != nil { jtv, ok := value.(json.Number) @@ -10894,6 +11060,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.PrepareDuration = ptr.Int64(i64) } + case "PrepareStatus": if value != nil { jtv, ok := value.(string) @@ -10902,6 +11069,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.PrepareStatus = types.PhaseStatus(jtv) } + case "TotalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -10914,6 +11082,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TotalDuration = ptr.Int64(i64) } + case "TransferDuration": if value != nil { jtv, ok := value.(json.Number) @@ -10926,6 +11095,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TransferDuration = ptr.Int64(i64) } + case "TransferStatus": if value != nil { jtv, ok := value.(string) @@ -10934,6 +11104,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.TransferStatus = types.PhaseStatus(jtv) } + case "VerifyDuration": if value != nil { jtv, ok := value.(json.Number) @@ -10946,6 +11117,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.VerifyDuration = ptr.Int64(i64) } + case "VerifyStatus": if value != nil { jtv, ok := value.(string) @@ -10954,6 +11126,7 @@ func awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(v **types.TaskExe } sv.VerifyStatus = types.PhaseStatus(jtv) } + default: _, _ = key, value @@ -11027,6 +11200,7 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11035,6 +11209,7 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.Status = types.TaskStatus(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -11043,6 +11218,7 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.TaskArn = ptr.String(jtv) } + case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -11051,6 +11227,7 @@ func awsAwsjson11_deserializeDocumentTaskListEntry(v **types.TaskListEntry, valu } sv.TaskMode = types.TaskMode(jtv) } + default: _, _ = key, value @@ -11086,6 +11263,7 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig if err := awsAwsjson11_deserializeDocumentReportDestination(&sv.Destination, value); err != nil { return err } + case "ObjectVersionIds": if value != nil { jtv, ok := value.(string) @@ -11094,6 +11272,7 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.ObjectVersionIds = types.ObjectVersionIds(jtv) } + case "OutputType": if value != nil { jtv, ok := value.(string) @@ -11102,10 +11281,12 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.OutputType = types.ReportOutputType(jtv) } + case "Overrides": if err := awsAwsjson11_deserializeDocumentReportOverrides(&sv.Overrides, value); err != nil { return err } + case "ReportLevel": if value != nil { jtv, ok := value.(string) @@ -11114,6 +11295,7 @@ func awsAwsjson11_deserializeDocumentTaskReportConfig(v **types.TaskReportConfig } sv.ReportLevel = types.ReportLevel(jtv) } + default: _, _ = key, value @@ -11153,6 +11335,7 @@ func awsAwsjson11_deserializeDocumentTaskSchedule(v **types.TaskSchedule, value } sv.ScheduleExpression = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11161,6 +11344,7 @@ func awsAwsjson11_deserializeDocumentTaskSchedule(v **types.TaskSchedule, value } sv.Status = types.ScheduleStatus(jtv) } + default: _, _ = key, value @@ -11200,6 +11384,7 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } sv.DisabledBy = types.ScheduleDisabledBy(jtv) } + case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -11208,6 +11393,7 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } sv.DisabledReason = ptr.String(jtv) } + case "StatusUpdateTime": if value != nil { switch jtv := value.(type) { @@ -11223,6 +11409,7 @@ func awsAwsjson11_deserializeDocumentTaskScheduleDetails(v **types.TaskScheduleD } } + default: _, _ = key, value @@ -11287,6 +11474,7 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } + case "Read": if value != nil { switch jtv := value.(type) { @@ -11320,6 +11508,7 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } + case "Total": if value != nil { switch jtv := value.(type) { @@ -11353,6 +11542,7 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } + case "Write": if value != nil { switch jtv := value.(type) { @@ -11386,6 +11576,7 @@ func awsAwsjson11_deserializeDocumentThroughput(v **types.Throughput, value inte } } + default: _, _ = key, value @@ -11425,6 +11616,7 @@ func awsAwsjson11_deserializeOpDocumentAddStorageSystemOutput(v **AddStorageSyst } sv.StorageSystemArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11495,6 +11687,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAgentOutput(v **CreateAgentOutput, } sv.AgentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11534,6 +11727,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationAzureBlobOutput(v **CreateL } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11573,6 +11767,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationEfsOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11612,6 +11807,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxLustreOutput(v **CreateL } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11651,6 +11847,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxOntapOutput(v **CreateLo } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11690,6 +11887,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxOpenZfsOutput(v **Create } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11729,6 +11927,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationFsxWindowsOutput(v **Create } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11768,6 +11967,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationHdfsOutput(v **CreateLocati } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11807,6 +12007,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationNfsOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11846,6 +12047,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationObjectStorageOutput(v **Cre } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11885,6 +12087,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationS3Output(v **CreateLocation } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11924,6 +12127,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationSmbOutput(v **CreateLocatio } sv.LocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11963,6 +12167,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12095,6 +12300,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.AgentArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12110,6 +12316,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -12118,6 +12325,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.EndpointType = types.EndpointType(jtv) } + case "LastConnectionTime": if value != nil { switch jtv := value.(type) { @@ -12133,6 +12341,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12141,14 +12350,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.Name = ptr.String(jtv) } + case "Platform": if err := awsAwsjson11_deserializeDocumentPlatform(&sv.Platform, value); err != nil { return err } + case "PrivateLinkConfig": if err := awsAwsjson11_deserializeDocumentPrivateLinkConfig(&sv.PrivateLinkConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12157,6 +12369,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentOutput(v **DescribeAgentOutp } sv.Status = types.AgentStatus(jtv) } + default: _, _ = key, value @@ -12200,6 +12413,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.CollectionDurationMinutes = ptr.Int32(int32(i64)) } + case "DiscoveryJobArn": if value != nil { jtv, ok := value.(string) @@ -12208,6 +12422,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.DiscoveryJobArn = ptr.String(jtv) } + case "JobEndTime": if value != nil { switch jtv := value.(type) { @@ -12223,6 +12438,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } } + case "JobStartTime": if value != nil { switch jtv := value.(type) { @@ -12238,6 +12454,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12246,6 +12463,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.Status = types.DiscoveryJobStatus(jtv) } + case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -12254,6 +12472,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDiscoveryJobOutput(v **DescribeDi } sv.StorageSystemArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12293,10 +12512,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.AccessTier = types.AzureAccessTier(jtv) } + case "AgentArns": if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -12305,6 +12526,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.AuthenticationType = types.AzureBlobAuthenticationType(jtv) } + case "BlobType": if value != nil { jtv, ok := value.(string) @@ -12313,6 +12535,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.BlobType = types.AzureBlobType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12328,6 +12551,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12336,6 +12560,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12344,6 +12569,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationAzureBlobOutput(v **Descr } sv.LocationUri = ptr.String(jtv) } + default: _, _ = key, value @@ -12383,6 +12609,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.AccessPointArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12398,10 +12625,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } } + case "Ec2Config": if err := awsAwsjson11_deserializeDocumentEc2Config(&sv.Ec2Config, value); err != nil { return err } + case "FileSystemAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -12410,6 +12639,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.FileSystemAccessRoleArn = ptr.String(jtv) } + case "InTransitEncryption": if value != nil { jtv, ok := value.(string) @@ -12418,6 +12648,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.InTransitEncryption = types.EfsInTransitEncryption(jtv) } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12426,6 +12657,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12434,6 +12666,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } + default: _, _ = key, value @@ -12480,6 +12713,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12488,6 +12722,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12496,10 +12731,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxLustreOutput(v **Descr } sv.LocationUri = ptr.String(jtv) } + case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + default: _, _ = key, value @@ -12546,6 +12783,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } } + case "FsxFilesystemArn": if value != nil { jtv, ok := value.(string) @@ -12554,6 +12792,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.FsxFilesystemArn = ptr.String(jtv) } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12562,6 +12801,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12570,14 +12810,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.LocationUri = ptr.String(jtv) } + case "Protocol": if err := awsAwsjson11_deserializeDocumentFsxProtocol(&sv.Protocol, value); err != nil { return err } + case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + case "StorageVirtualMachineArn": if value != nil { jtv, ok := value.(string) @@ -12586,6 +12829,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOntapOutput(v **Descri } sv.StorageVirtualMachineArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12632,6 +12876,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12640,6 +12885,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12648,14 +12894,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxOpenZfsOutput(v **Desc } sv.LocationUri = ptr.String(jtv) } + case "Protocol": if err := awsAwsjson11_deserializeDocumentFsxProtocol(&sv.Protocol, value); err != nil { return err } + case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + default: _, _ = key, value @@ -12702,6 +12951,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -12710,6 +12960,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.Domain = ptr.String(jtv) } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12718,6 +12969,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12726,10 +12978,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.LocationUri = ptr.String(jtv) } + case "SecurityGroupArns": if err := awsAwsjson11_deserializeDocumentEc2SecurityGroupArnList(&sv.SecurityGroupArns, value); err != nil { return err } + case "User": if value != nil { jtv, ok := value.(string) @@ -12738,6 +12992,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationFsxWindowsOutput(v **Desc } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -12773,6 +13028,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -12781,6 +13037,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.AuthenticationType = types.HdfsAuthenticationType(jtv) } + case "BlockSize": if value != nil { jtv, ok := value.(json.Number) @@ -12793,6 +13050,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.BlockSize = ptr.Int32(int32(i64)) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12808,6 +13066,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } } + case "KerberosPrincipal": if value != nil { jtv, ok := value.(string) @@ -12816,6 +13075,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.KerberosPrincipal = ptr.String(jtv) } + case "KmsKeyProviderUri": if value != nil { jtv, ok := value.(string) @@ -12824,6 +13084,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.KmsKeyProviderUri = ptr.String(jtv) } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12832,6 +13093,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12840,14 +13102,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.LocationUri = ptr.String(jtv) } + case "NameNodes": if err := awsAwsjson11_deserializeDocumentHdfsNameNodeList(&sv.NameNodes, value); err != nil { return err } + case "QopConfiguration": if err := awsAwsjson11_deserializeDocumentQopConfiguration(&sv.QopConfiguration, value); err != nil { return err } + case "ReplicationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -12860,6 +13125,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.ReplicationFactor = ptr.Int32(int32(i64)) } + case "SimpleUser": if value != nil { jtv, ok := value.(string) @@ -12868,6 +13134,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationHdfsOutput(v **DescribeLo } sv.SimpleUser = ptr.String(jtv) } + default: _, _ = key, value @@ -12914,6 +13181,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -12922,6 +13190,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -12930,14 +13199,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationNfsOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } + case "MountOptions": if err := awsAwsjson11_deserializeDocumentNfsMountOptions(&sv.MountOptions, value); err != nil { return err } + case "OnPremConfig": if err := awsAwsjson11_deserializeDocumentOnPremConfig(&sv.OnPremConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12977,10 +13249,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.AccessKey = ptr.String(jtv) } + case "AgentArns": if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12996,6 +13270,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13004,6 +13279,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13012,6 +13288,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.LocationUri = ptr.String(jtv) } + case "ServerCertificate": if value != nil { jtv, ok := value.(string) @@ -13024,6 +13301,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerCertificate = dv } + case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13036,6 +13314,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerPort = ptr.Int32(int32(i64)) } + case "ServerProtocol": if value != nil { jtv, ok := value.(string) @@ -13044,6 +13323,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationObjectStorageOutput(v **D } sv.ServerProtocol = types.ObjectStorageServerProtocol(jtv) } + default: _, _ = key, value @@ -13079,6 +13359,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13094,6 +13375,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13102,6 +13384,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13110,10 +13393,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.LocationUri = ptr.String(jtv) } + case "S3Config": if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + case "S3StorageClass": if value != nil { jtv, ok := value.(string) @@ -13122,6 +13407,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationS3Output(v **DescribeLoca } sv.S3StorageClass = types.S3StorageClass(jtv) } + default: _, _ = key, value @@ -13157,6 +13443,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc if err := awsAwsjson11_deserializeDocumentAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13172,6 +13459,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -13180,6 +13468,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.Domain = ptr.String(jtv) } + case "LocationArn": if value != nil { jtv, ok := value.(string) @@ -13188,6 +13477,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.LocationArn = ptr.String(jtv) } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -13196,10 +13486,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.LocationUri = ptr.String(jtv) } + case "MountOptions": if err := awsAwsjson11_deserializeDocumentSmbMountOptions(&sv.MountOptions, value); err != nil { return err } + case "User": if value != nil { jtv, ok := value.(string) @@ -13208,6 +13500,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationSmbOutput(v **DescribeLoc } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -13243,6 +13536,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentDiscoveryAgentArnList(&sv.AgentArns, value); err != nil { return err } + case "CloudWatchLogGroupArn": if value != nil { jtv, ok := value.(string) @@ -13251,6 +13545,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "ConnectivityStatus": if value != nil { jtv, ok := value.(string) @@ -13259,6 +13554,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.ConnectivityStatus = types.StorageSystemConnectivityStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13274,6 +13570,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13282,6 +13579,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.ErrorMessage = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13290,6 +13588,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.Name = ptr.String(jtv) } + case "SecretsManagerArn": if value != nil { jtv, ok := value.(string) @@ -13298,10 +13597,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.SecretsManagerArn = ptr.String(jtv) } + case "ServerConfiguration": if err := awsAwsjson11_deserializeDocumentDiscoveryServerConfiguration(&sv.ServerConfiguration, value); err != nil { return err } + case "StorageSystemArn": if value != nil { jtv, ok := value.(string) @@ -13310,6 +13611,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.StorageSystemArn = ptr.String(jtv) } + case "SystemType": if value != nil { jtv, ok := value.(string) @@ -13318,6 +13620,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemOutput(v **DescribeS } sv.SystemType = types.DiscoverySystemType(jtv) } + default: _, _ = key, value @@ -13353,6 +13656,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourceMetricsOutpu if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13361,6 +13665,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourceMetricsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13400,10 +13705,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageSystemResourcesOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -13447,6 +13754,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesCompressed = i64 } + case "BytesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -13459,6 +13767,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesTransferred = i64 } + case "BytesWritten": if value != nil { jtv, ok := value.(json.Number) @@ -13471,6 +13780,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.BytesWritten = i64 } + case "EstimatedBytesToTransfer": if value != nil { jtv, ok := value.(json.Number) @@ -13483,6 +13793,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedBytesToTransfer = i64 } + case "EstimatedFilesToDelete": if value != nil { jtv, ok := value.(json.Number) @@ -13495,6 +13806,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedFilesToDelete = i64 } + case "EstimatedFilesToTransfer": if value != nil { jtv, ok := value.(json.Number) @@ -13507,10 +13819,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.EstimatedFilesToTransfer = i64 } + case "Excludes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Excludes, value); err != nil { return err } + case "FilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -13523,14 +13837,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesDeleted = i64 } + case "FilesFailed": if err := awsAwsjson11_deserializeDocumentTaskExecutionFilesFailedDetail(&sv.FilesFailed, value); err != nil { return err } + case "FilesListed": if err := awsAwsjson11_deserializeDocumentTaskExecutionFilesListedDetail(&sv.FilesListed, value); err != nil { return err } + case "FilesPrepared": if value != nil { jtv, ok := value.(json.Number) @@ -13543,6 +13860,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesPrepared = i64 } + case "FilesSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -13555,6 +13873,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesSkipped = i64 } + case "FilesTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -13567,6 +13886,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesTransferred = i64 } + case "FilesVerified": if value != nil { jtv, ok := value.(json.Number) @@ -13579,26 +13899,32 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.FilesVerified = i64 } + case "Includes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Includes, value); err != nil { return err } + case "ManifestConfig": if err := awsAwsjson11_deserializeDocumentManifestConfig(&sv.ManifestConfig, value); err != nil { return err } + case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "ReportResult": if err := awsAwsjson11_deserializeDocumentReportResult(&sv.ReportResult, value); err != nil { return err } + case "Result": if err := awsAwsjson11_deserializeDocumentTaskExecutionResultDetail(&sv.Result, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13614,6 +13940,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13622,6 +13949,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.Status = types.TaskExecutionStatus(jtv) } + case "TaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -13630,6 +13958,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.TaskExecutionArn = ptr.String(jtv) } + case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -13638,10 +13967,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskExecutionOutput(v **DescribeT } sv.TaskMode = types.TaskMode(jtv) } + case "TaskReportConfig": if err := awsAwsjson11_deserializeDocumentTaskReportConfig(&sv.TaskReportConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13681,6 +14012,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13696,6 +14028,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } + case "CurrentTaskExecutionArn": if value != nil { jtv, ok := value.(string) @@ -13704,6 +14037,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.CurrentTaskExecutionArn = ptr.String(jtv) } + case "DestinationLocationArn": if value != nil { jtv, ok := value.(string) @@ -13712,10 +14046,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.DestinationLocationArn = ptr.String(jtv) } + case "DestinationNetworkInterfaceArns": if err := awsAwsjson11_deserializeDocumentDestinationNetworkInterfaceArns(&sv.DestinationNetworkInterfaceArns, value); err != nil { return err } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -13724,6 +14060,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.ErrorCode = ptr.String(jtv) } + case "ErrorDetail": if value != nil { jtv, ok := value.(string) @@ -13732,18 +14069,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.ErrorDetail = ptr.String(jtv) } + case "Excludes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Excludes, value); err != nil { return err } + case "Includes": if err := awsAwsjson11_deserializeDocumentFilterList(&sv.Includes, value); err != nil { return err } + case "ManifestConfig": if err := awsAwsjson11_deserializeDocumentManifestConfig(&sv.ManifestConfig, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13752,18 +14093,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Name = ptr.String(jtv) } + case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "Schedule": if err := awsAwsjson11_deserializeDocumentTaskSchedule(&sv.Schedule, value); err != nil { return err } + case "ScheduleDetails": if err := awsAwsjson11_deserializeDocumentTaskScheduleDetails(&sv.ScheduleDetails, value); err != nil { return err } + case "SourceLocationArn": if value != nil { jtv, ok := value.(string) @@ -13772,10 +14117,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.SourceLocationArn = ptr.String(jtv) } + case "SourceNetworkInterfaceArns": if err := awsAwsjson11_deserializeDocumentSourceNetworkInterfaceArns(&sv.SourceNetworkInterfaceArns, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13784,6 +14131,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Status = types.TaskStatus(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -13792,6 +14140,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskArn = ptr.String(jtv) } + case "TaskMode": if value != nil { jtv, ok := value.(string) @@ -13800,10 +14149,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskMode = types.TaskMode(jtv) } + case "TaskReportConfig": if err := awsAwsjson11_deserializeDocumentTaskReportConfig(&sv.TaskReportConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13870,6 +14221,7 @@ func awsAwsjson11_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va if err := awsAwsjson11_deserializeDocumentAgentList(&sv.Agents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13878,6 +14230,7 @@ func awsAwsjson11_deserializeOpDocumentListAgentsOutput(v **ListAgentsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13913,6 +14266,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveryJobsOutput(v **ListDiscovery if err := awsAwsjson11_deserializeDocumentDiscoveryJobList(&sv.DiscoveryJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13921,6 +14275,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveryJobsOutput(v **ListDiscovery } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13956,6 +14311,7 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp if err := awsAwsjson11_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13964,6 +14320,7 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14003,10 +14360,12 @@ func awsAwsjson11_deserializeOpDocumentListStorageSystemsOutput(v **ListStorageS } sv.NextToken = ptr.String(jtv) } + case "StorageSystems": if err := awsAwsjson11_deserializeDocumentStorageSystemList(&sv.StorageSystems, value); err != nil { return err } + default: _, _ = key, value @@ -14046,10 +14405,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentOutputTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14089,10 +14450,12 @@ func awsAwsjson11_deserializeOpDocumentListTaskExecutionsOutput(v **ListTaskExec } sv.NextToken = ptr.String(jtv) } + case "TaskExecutions": if err := awsAwsjson11_deserializeDocumentTaskExecutionList(&sv.TaskExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -14132,10 +14495,12 @@ func awsAwsjson11_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Tasks": if err := awsAwsjson11_deserializeDocumentTaskList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -14206,6 +14571,7 @@ func awsAwsjson11_deserializeOpDocumentStartDiscoveryJobOutput(v **StartDiscover } sv.DiscoveryJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14245,6 +14611,7 @@ func awsAwsjson11_deserializeOpDocumentStartTaskExecutionOutput(v **StartTaskExe } sv.TaskExecutionArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/datazone/deserializers.go b/service/datazone/deserializers.go index 6a17c27b298..b6e6ef93d69 100644 --- a/service/datazone/deserializers.go +++ b/service/datazone/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.AssetId = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -202,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.DomainId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -210,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentAcceptPredictionsOutput(v **AcceptPredict } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -390,6 +393,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -398,6 +402,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -406,6 +411,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -414,6 +420,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -422,6 +429,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -430,6 +438,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -438,6 +447,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -446,14 +456,17 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -469,6 +482,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -477,6 +491,7 @@ func awsRestjson1_deserializeOpDocumentAcceptSubscriptionRequestOutput(v **Accep } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -1084,6 +1099,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1092,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -1100,6 +1117,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1108,6 +1126,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.Id = ptr.String(jtv) } + case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -1116,6 +1135,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.RetainPermissions = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1124,14 +1144,17 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.Status = types.SubscriptionStatus(jtv) } + case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } + case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } + case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -1140,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.SubscriptionRequestId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1155,6 +1179,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1163,6 +1188,7 @@ func awsRestjson1_deserializeOpDocumentCancelSubscriptionOutput(v **CancelSubscr } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -1346,6 +1372,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1354,6 +1381,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1362,6 +1390,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -1370,6 +1399,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.DomainId = ptr.String(jtv) } + case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -1378,6 +1408,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.ExternalIdentifier = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -1393,6 +1424,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -1401,14 +1433,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1417,14 +1452,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Id = ptr.String(jtv) } + case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } + case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1433,6 +1471,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -1441,14 +1480,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.OwningProjectId = ptr.String(jtv) } + case "predictionConfiguration": if err := awsRestjson1_deserializeDocumentPredictionConfiguration(&sv.PredictionConfiguration, value); err != nil { return err } + case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(string) @@ -1457,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Revision = ptr.String(jtv) } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -1465,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -1473,6 +1517,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -1649,10 +1694,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.AssetId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1668,6 +1715,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1676,6 +1724,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -1684,10 +1733,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.DomainId = ptr.String(jtv) } + case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } + case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -1696,6 +1747,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.EffectiveRowFilter = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1704,6 +1756,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1712,6 +1765,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1720,6 +1774,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1728,6 +1783,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetFilterOutput(v **CreateAssetFi } sv.Status = types.FilterStatus(jtv) } + default: _, _ = key, value @@ -1908,6 +1964,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1916,6 +1973,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1924,6 +1982,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -1932,6 +1991,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.DomainId = ptr.String(jtv) } + case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -1940,6 +2000,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.ExternalIdentifier = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -1955,6 +2016,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -1963,14 +2025,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1979,14 +2044,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Id = ptr.String(jtv) } + case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } + case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1995,6 +2063,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2003,14 +2072,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.OwningProjectId = ptr.String(jtv) } + case "predictionConfiguration": if err := awsRestjson1_deserializeDocumentPredictionConfiguration(&sv.PredictionConfiguration, value); err != nil { return err } + case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(string) @@ -2019,6 +2091,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.Revision = ptr.String(jtv) } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -2027,6 +2100,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -2035,6 +2109,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetRevisionOutput(v **CreateAsset } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -2215,6 +2290,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2223,6 +2299,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2231,6 +2308,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -2239,10 +2317,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.DomainId = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2251,6 +2331,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -2259,6 +2340,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -2267,6 +2349,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2275,6 +2358,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -2283,6 +2367,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.Revision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2298,6 +2383,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -2306,6 +2392,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetTypeOutput(v **CreateAssetType } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -2489,6 +2576,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2497,6 +2585,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2505,6 +2594,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -2513,6 +2603,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.DomainId = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -2528,6 +2619,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -2536,14 +2628,17 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2552,10 +2647,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Id = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2564,6 +2661,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2670,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -2580,6 +2679,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2588,6 +2688,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductOutput(v **CreateDataPro } sv.Status = types.DataProductStatus(jtv) } + default: _, _ = key, value @@ -2768,6 +2869,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2776,6 +2878,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2784,6 +2887,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -2792,6 +2896,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.DomainId = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -2807,6 +2912,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -2815,14 +2921,17 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2831,10 +2940,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Id = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2954,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -2851,6 +2963,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -2859,6 +2972,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2867,6 +2981,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataProductRevisionOutput(v **Creat } sv.Status = types.DataProductStatus(jtv) } + default: _, _ = key, value @@ -3039,10 +3154,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } + case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3055,6 +3172,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3063,6 +3181,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -3071,6 +3190,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DomainId = ptr.String(jtv) } + case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -3079,6 +3199,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.EnableSetting = types.EnableSetting(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3087,10 +3208,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3099,6 +3222,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Id = ptr.String(jtv) } + case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -3111,10 +3235,12 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.LastRunAt = ptr.Time(t) } + case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } + case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -3123,6 +3249,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3131,6 +3258,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -3139,6 +3267,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.ProjectId = ptr.String(jtv) } + case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -3147,14 +3276,17 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.PublishOnImport = ptr.Bool(jtv) } + case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } + case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3163,6 +3295,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3171,6 +3304,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3183,6 +3317,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -3359,6 +3494,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3367,6 +3503,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Description = ptr.String(jtv) } + case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -3375,6 +3512,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainExecutionRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3383,6 +3521,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -3391,6 +3530,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3539,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Name = ptr.String(jtv) } + case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -3407,6 +3548,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.PortalUrl = ptr.String(jtv) } + case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -3415,10 +3557,12 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.RootDomainUnitId = ptr.String(jtv) } + case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3427,10 +3571,12 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Status = types.DomainStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3600,6 +3746,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn if err := awsRestjson1_deserializeDocumentDomainUnitIds(&sv.AncestorDomainUnitIds, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3615,6 +3762,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3623,6 +3771,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3631,6 +3780,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -3639,6 +3789,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3647,6 +3798,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3655,10 +3807,12 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.Name = ptr.String(jtv) } + case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } + case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -3667,6 +3821,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainUnitOutput(v **CreateDomainUn } sv.ParentDomainUnitId = ptr.String(jtv) } + default: _, _ = key, value @@ -3840,6 +3995,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -3848,6 +4004,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3860,6 +4017,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3868,10 +4026,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.CreatedBy = ptr.String(jtv) } + case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -3880,6 +4040,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -3888,10 +4049,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.DomainId = ptr.String(jtv) } + case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -3900,6 +4063,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -3908,10 +4072,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentProfileId = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3920,10 +4086,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Id = ptr.String(jtv) } + case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3932,6 +4100,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -3940,6 +4109,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -3948,14 +4118,17 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Provider = ptr.String(jtv) } + case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } + case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3964,6 +4137,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Status = types.EnvironmentStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3976,10 +4150,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4153,6 +4329,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -4161,6 +4338,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4169,6 +4347,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4177,6 +4356,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4185,10 +4365,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentActionOutput(v **CreateE } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -4365,6 +4547,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -4373,6 +4556,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4385,6 +4569,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4393,6 +4578,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4401,6 +4587,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -4409,6 +4596,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.DomainId = ptr.String(jtv) } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -4417,6 +4605,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4425,6 +4614,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4433,6 +4623,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -4441,6 +4632,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.ProjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4453,10 +4645,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentProfileOutput(v **Create } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4630,6 +4824,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -4638,6 +4833,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.DomainId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4646,6 +4842,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -4654,6 +4851,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -4662,6 +4860,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -4670,6 +4869,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -4678,6 +4878,7 @@ func awsRestjson1_deserializeOpDocumentCreateFormTypeOutput(v **CreateFormTypeOu } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -4851,6 +5052,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -4859,6 +5061,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4867,6 +5070,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4875,6 +5079,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -4883,6 +5088,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4891,6 +5097,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryOutput(v **CreateGlossaryOu } sv.Status = types.GlossaryStatus(jtv) } + default: _, _ = key, value @@ -5067,6 +5274,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.DomainId = ptr.String(jtv) } + case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -5075,6 +5283,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.GlossaryId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5083,6 +5292,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Id = ptr.String(jtv) } + case "longDescription": if value != nil { jtv, ok := value.(string) @@ -5091,6 +5301,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.LongDescription = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5099,6 +5310,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Name = ptr.String(jtv) } + case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -5107,6 +5319,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.ShortDescription = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5115,10 +5328,12 @@ func awsRestjson1_deserializeOpDocumentCreateGlossaryTermOutput(v **CreateGlossa } sv.Status = types.GlossaryTermStatus(jtv) } + case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } + default: _, _ = key, value @@ -5289,6 +5504,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.DomainId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5513,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.GroupName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5305,6 +5522,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5313,6 +5531,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupProfileOutput(v **CreateGroupP } sv.Status = types.GroupProfileStatus(jtv) } + default: _, _ = key, value @@ -5489,6 +5708,7 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.ListingId = ptr.String(jtv) } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -5497,6 +5717,7 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.ListingRevision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5505,6 +5726,7 @@ func awsRestjson1_deserializeOpDocumentCreateListingChangeSetOutput(v **CreateLi } sv.Status = types.ListingStatus(jtv) } + default: _, _ = key, value @@ -5685,6 +5907,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5693,6 +5916,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5701,6 +5925,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -5709,6 +5934,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DomainId = ptr.String(jtv) } + case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -5717,14 +5943,17 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.DomainUnitId = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5733,6 +5962,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5745,6 +5975,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5753,6 +5984,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.Name = ptr.String(jtv) } + case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -5761,6 +5993,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectStatus = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -6033,6 +6266,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6048,6 +6282,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6056,6 +6291,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -6064,10 +6300,12 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.DomainId = ptr.String(jtv) } + case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6076,6 +6314,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6084,6 +6323,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -6092,6 +6332,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.SubscriptionId = ptr.String(jtv) } + case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -6100,6 +6341,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.SubscriptionTargetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6115,6 +6357,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6123,6 +6366,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionGrantOutput(v **CreateS } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -6303,6 +6547,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6556,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -6319,6 +6565,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -6327,6 +6574,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6335,6 +6583,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -6343,6 +6592,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -6351,6 +6601,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6359,14 +6610,17 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6382,6 +6636,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6390,6 +6645,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionRequestOutput(v **Creat } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -6559,10 +6815,12 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } + case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6578,6 +6836,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6586,6 +6845,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -6594,6 +6854,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -6602,6 +6863,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6610,6 +6872,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Id = ptr.String(jtv) } + case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -6618,6 +6881,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.ManageAccessRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6626,6 +6890,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -6634,6 +6899,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -6642,10 +6908,12 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Provider = ptr.String(jtv) } + case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6654,6 +6922,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6669,6 +6938,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6947,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionTargetOutput(v **Create } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -6843,6 +7114,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -6851,6 +7123,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6859,6 +7132,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6867,6 +7141,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Status = types.UserProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6875,6 +7150,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.Type = types.UserProfileType(jtv) } + default: _, _ = key, value @@ -7477,10 +7753,12 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } + case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -7493,6 +7771,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7501,6 +7780,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -7509,6 +7789,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DomainId = ptr.String(jtv) } + case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -7517,6 +7798,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.EnableSetting = types.EnableSetting(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -7525,10 +7807,12 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -7537,6 +7821,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Id = ptr.String(jtv) } + case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -7549,10 +7834,12 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.LastRunAt = ptr.Time(t) } + case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } + case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -7561,6 +7848,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7569,6 +7857,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -7577,6 +7866,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.ProjectId = ptr.String(jtv) } + case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -7585,6 +7875,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.PublishOnImport = ptr.Bool(jtv) } + case "retainPermissionsOnRevokeFailure": if value != nil { jtv, ok := value.(bool) @@ -7593,14 +7884,17 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.RetainPermissionsOnRevokeFailure = ptr.Bool(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } + case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7609,6 +7903,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7617,6 +7912,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7629,6 +7925,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -7802,6 +8099,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.Status = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -9140,6 +9438,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9155,6 +9454,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9163,6 +9463,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -9171,10 +9472,12 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.DomainId = ptr.String(jtv) } + case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9183,6 +9486,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9191,6 +9495,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -9199,6 +9504,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.SubscriptionId = ptr.String(jtv) } + case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -9207,6 +9513,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.SubscriptionTargetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9222,6 +9529,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -9230,6 +9538,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSubscriptionGrantOutput(v **DeleteS } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -9840,6 +10149,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9848,6 +10158,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -9856,6 +10167,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -9864,6 +10176,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.DomainId = ptr.String(jtv) } + case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -9872,6 +10185,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.ExternalIdentifier = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -9887,6 +10201,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -9895,14 +10210,17 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9911,14 +10229,17 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Id = ptr.String(jtv) } + case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } + case "listing": if err := awsRestjson1_deserializeDocumentAssetListingDetails(&sv.Listing, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9927,6 +10248,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -9935,10 +10257,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.OwningProjectId = ptr.String(jtv) } + case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(string) @@ -9947,6 +10271,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.Revision = ptr.String(jtv) } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -9955,6 +10280,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -9963,6 +10289,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetOutput(v **GetAssetOutput, value } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -10133,10 +10460,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.AssetId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10152,6 +10481,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10160,6 +10490,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -10168,10 +10499,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.DomainId = ptr.String(jtv) } + case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } + case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -10180,6 +10513,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.EffectiveRowFilter = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -10188,6 +10522,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10196,6 +10531,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10204,6 +10540,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10212,6 +10549,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetFilterOutput(v **GetAssetFilterOu } sv.Status = types.FilterStatus(jtv) } + default: _, _ = key, value @@ -10389,6 +10727,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -10397,6 +10736,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10405,6 +10745,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -10413,10 +10754,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.DomainId = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10425,6 +10768,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -10433,6 +10777,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -10441,6 +10786,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -10449,6 +10795,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -10457,6 +10804,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.Revision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10472,6 +10820,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -10480,6 +10829,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetTypeOutput(v **GetAssetTypeOutput } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -10657,6 +11007,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -10665,6 +11016,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10673,6 +11025,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -10681,6 +11034,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.DomainId = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -10696,6 +11050,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -10704,14 +11059,17 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10720,10 +11078,12 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Id = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentDataProductItems(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10732,6 +11092,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -10740,6 +11101,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -10748,6 +11110,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10756,6 +11119,7 @@ func awsRestjson1_deserializeOpDocumentGetDataProductOutput(v **GetDataProductOu } sv.Status = types.DataProductStatus(jtv) } + default: _, _ = key, value @@ -10928,10 +11292,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } + case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10944,6 +11310,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10952,6 +11319,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -10960,6 +11328,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DomainId = ptr.String(jtv) } + case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -10968,6 +11337,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.EnableSetting = types.EnableSetting(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -10976,10 +11346,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10988,6 +11360,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Id = ptr.String(jtv) } + case "lastRunAssetCount": if value != nil { jtv, ok := value.(json.Number) @@ -11000,6 +11373,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunAssetCount = ptr.Int32(int32(i64)) } + case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -11012,10 +11386,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunAt = ptr.Time(t) } + case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } + case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -11024,6 +11400,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11032,6 +11409,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -11040,6 +11418,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ProjectId = ptr.String(jtv) } + case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -11048,18 +11427,22 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.PublishOnImport = ptr.Bool(jtv) } + case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } + case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } + case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11068,6 +11451,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11076,6 +11460,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11088,6 +11473,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11268,6 +11654,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.CreatedAt = ptr.Time(t) } + case "dataSourceConfigurationSnapshot": if value != nil { jtv, ok := value.(string) @@ -11276,6 +11663,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DataSourceConfigurationSnapshot = ptr.String(jtv) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -11284,6 +11672,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DataSourceId = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -11292,10 +11681,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.DomainId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -11304,6 +11695,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Id = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -11312,10 +11704,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.ProjectId = ptr.String(jtv) } + case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -11328,6 +11722,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11336,6 +11731,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Status = types.DataSourceRunStatus(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -11348,6 +11744,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.StoppedAt = ptr.Time(t) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11356,6 +11753,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.Type = types.DataSourceRunType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -11368,6 +11766,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceRunOutput(v **GetDataSourceR } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11541,6 +11940,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11556,6 +11956,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11564,6 +11965,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Description = ptr.String(jtv) } + case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -11572,6 +11974,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.DomainExecutionRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11580,6 +11983,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -11588,6 +11992,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11603,6 +12008,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11611,6 +12017,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Name = ptr.String(jtv) } + case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -11619,6 +12026,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.PortalUrl = ptr.String(jtv) } + case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -11627,10 +12035,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.RootDomainUnitId = ptr.String(jtv) } + case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11639,10 +12049,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu } sv.Status = types.DomainStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11820,6 +12232,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11828,6 +12241,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11836,6 +12250,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -11844,6 +12259,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11852,6 +12268,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11867,6 +12284,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -11875,6 +12293,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.LastUpdatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11883,10 +12302,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.Name = ptr.String(jtv) } + case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } + case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -11895,6 +12316,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainUnitOutput(v **GetDomainUnitOutp } sv.ParentDomainUnitId = ptr.String(jtv) } + default: _, _ = key, value @@ -12065,6 +12487,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -12073,6 +12496,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12085,6 +12509,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -12093,10 +12518,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.CreatedBy = ptr.String(jtv) } + case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12105,6 +12532,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -12113,10 +12541,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.DomainId = ptr.String(jtv) } + case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -12125,6 +12555,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -12133,10 +12564,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentProfileId = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12145,10 +12578,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Id = ptr.String(jtv) } + case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12157,6 +12592,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -12165,6 +12601,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -12173,14 +12610,17 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Provider = ptr.String(jtv) } + case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } + case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -12189,6 +12629,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Status = types.EnvironmentStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12201,10 +12642,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -12375,6 +12818,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -12383,6 +12827,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12391,6 +12836,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12399,6 +12845,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12407,10 +12854,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentActionOutput(v **GetEnviron } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -12585,10 +13034,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.CreatedAt = ptr.Time(t) } + case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12597,10 +13048,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Description = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12609,6 +13062,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12617,6 +13071,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -12625,10 +13080,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.Provider = ptr.String(jtv) } + case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12641,10 +13098,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintOutput(v **GetEnvi } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -12819,6 +13278,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.CreatedAt = ptr.Time(t) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -12827,10 +13287,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.DomainId = ptr.String(jtv) } + case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -12839,6 +13301,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -12847,10 +13310,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.ManageAccessRoleArn = ptr.String(jtv) } + case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } + case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -12859,10 +13324,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.ProvisioningRoleArn = ptr.String(jtv) } + case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -12875,6 +13342,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentBlueprintConfigurationOutpu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -13045,6 +13513,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.AccessKeyId = ptr.String(jtv) } + case "expiration": if value != nil { jtv, ok := value.(string) @@ -13057,6 +13526,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.Expiration = ptr.Time(t) } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -13065,6 +13535,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -13073,6 +13544,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentCredentialsOutput(v **GetEn } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13243,6 +13715,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -13251,6 +13724,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -13263,6 +13737,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13271,6 +13746,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13279,6 +13755,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -13287,6 +13764,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.DomainId = ptr.String(jtv) } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -13295,6 +13773,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13303,6 +13782,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13311,6 +13791,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -13319,6 +13800,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.ProjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -13331,10 +13813,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentProfileOutput(v **GetEnviro } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -13512,6 +13996,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13520,6 +14005,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13528,6 +14014,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -13536,14 +14023,17 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.DomainId = ptr.String(jtv) } + case "imports": if err := awsRestjson1_deserializeDocumentImportList(&sv.Imports, value); err != nil { return err } + case "model": if err := awsRestjson1_deserializeDocumentModel(&sv.Model, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13552,6 +14042,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -13560,6 +14051,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -13568,6 +14060,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -13576,6 +14069,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -13584,6 +14078,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13592,6 +14087,7 @@ func awsRestjson1_deserializeOpDocumentGetFormTypeOutput(v **GetFormTypeOutput, } sv.Status = types.FormTypeStatus(jtv) } + default: _, _ = key, value @@ -13769,6 +14265,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -13777,6 +14274,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13785,6 +14283,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -13793,6 +14292,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13801,6 +14301,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13809,6 +14310,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -13817,6 +14319,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13825,6 +14328,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.Status = types.GlossaryStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13840,6 +14344,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -13848,6 +14353,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryOutput(v **GetGlossaryOutput, } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -14025,6 +14531,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14033,6 +14540,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -14041,6 +14549,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.DomainId = ptr.String(jtv) } + case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -14049,6 +14558,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.GlossaryId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14057,6 +14567,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Id = ptr.String(jtv) } + case "longDescription": if value != nil { jtv, ok := value.(string) @@ -14065,6 +14576,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.LongDescription = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14073,6 +14585,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Name = ptr.String(jtv) } + case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -14081,6 +14594,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.ShortDescription = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14089,10 +14603,12 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.Status = types.GlossaryTermStatus(jtv) } + case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14108,6 +14624,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -14116,6 +14633,7 @@ func awsRestjson1_deserializeOpDocumentGetGlossaryTermOutput(v **GetGlossaryTerm } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -14286,6 +14804,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.DomainId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14813,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.GroupName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14822,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14310,6 +14831,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupProfileOutput(v **GetGroupProfile } sv.Status = types.GroupProfileStatus(jtv) } + default: _, _ = key, value @@ -14483,6 +15005,7 @@ func awsRestjson1_deserializeOpDocumentGetIamPortalLoginUrlOutput(v **GetIamPort } sv.AuthCodeUrl = ptr.String(jtv) } + case "userProfileId": if value != nil { jtv, ok := value.(string) @@ -14491,6 +15014,7 @@ func awsRestjson1_deserializeOpDocumentGetIamPortalLoginUrlOutput(v **GetIamPort } sv.UserProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -14668,6 +15192,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14676,6 +15201,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14684,6 +15210,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -14692,10 +15219,12 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.DomainId = ptr.String(jtv) } + case "downstreamNodes": if err := awsRestjson1_deserializeDocumentLineageNodeReferenceList(&sv.DownstreamNodes, value); err != nil { return err } + case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -14711,10 +15240,12 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -14723,6 +15254,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14731,6 +15263,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.Name = ptr.String(jtv) } + case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -14739,6 +15272,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.SourceIdentifier = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -14747,6 +15281,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.TypeName = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -14755,6 +15290,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.TypeRevision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14770,6 +15306,7 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -14778,10 +15315,12 @@ func awsRestjson1_deserializeOpDocumentGetLineageNodeOutput(v **GetLineageNodeOu } sv.UpdatedBy = ptr.String(jtv) } + case "upstreamNodes": if err := awsRestjson1_deserializeDocumentLineageNodeReferenceList(&sv.UpstreamNodes, value); err != nil { return err } + default: _, _ = key, value @@ -14959,6 +15498,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14967,6 +15507,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14975,6 +15516,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -14983,6 +15525,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14991,10 +15534,12 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Id = ptr.String(jtv) } + case "item": if err := awsRestjson1_deserializeDocumentListingItem(&sv.Item, value); err != nil { return err } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -15003,6 +15548,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.ListingRevision = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15011,6 +15557,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15019,6 +15566,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.Status = types.ListingStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15034,6 +15582,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -15042,6 +15591,7 @@ func awsRestjson1_deserializeOpDocumentGetListingOutput(v **GetListingOutput, va } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -15219,6 +15769,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15227,6 +15778,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -15235,6 +15787,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15243,6 +15796,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Id = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -15251,6 +15805,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15259,10 +15814,12 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Status = types.MetadataGenerationRunStatus(jtv) } + case "target": if err := awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(&sv.Target, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15271,6 +15828,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataGenerationRunOutput(v **GetMet } sv.Type = types.MetadataGenerationRunType(jtv) } + default: _, _ = key, value @@ -15445,6 +16003,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15453,6 +16012,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15461,6 +16021,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -15469,6 +16030,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DomainId = ptr.String(jtv) } + case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -15477,14 +16039,17 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.DomainUnitId = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -15493,6 +16058,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -15505,6 +16071,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15513,6 +16080,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.Name = ptr.String(jtv) } + case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -15521,6 +16089,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va } sv.ProjectStatus = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -15698,6 +16267,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15706,6 +16276,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -15714,6 +16285,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15722,6 +16294,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.Id = ptr.String(jtv) } + case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -15730,6 +16303,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.RetainPermissions = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15738,14 +16312,17 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.Status = types.SubscriptionStatus(jtv) } + case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } + case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } + case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -15754,6 +16331,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.SubscriptionRequestId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15769,6 +16347,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -15777,6 +16356,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionOutput(v **GetSubscription } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -15943,6 +16523,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15958,6 +16539,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -15966,6 +16548,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -15974,10 +16557,12 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.DomainId = ptr.String(jtv) } + case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -15986,6 +16571,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15994,6 +16580,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -16002,6 +16589,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.SubscriptionId = ptr.String(jtv) } + case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -16010,6 +16598,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.SubscriptionTargetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16025,6 +16614,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16033,6 +16623,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionGrantOutput(v **GetSubscri } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -16210,6 +16801,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16218,6 +16810,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -16226,6 +16819,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -16234,6 +16828,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16242,6 +16837,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -16250,6 +16846,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -16258,6 +16855,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16266,14 +16864,17 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16289,6 +16890,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16297,6 +16899,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionRequestDetailsOutput(v **G } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -16463,10 +17066,12 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } + case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16482,6 +17087,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -16490,6 +17096,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -16498,6 +17105,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -16506,6 +17114,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16514,6 +17123,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Id = ptr.String(jtv) } + case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -16522,6 +17132,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.ManageAccessRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16530,6 +17141,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -16538,6 +17150,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -16546,10 +17159,12 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Provider = ptr.String(jtv) } + case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -16558,6 +17173,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16573,6 +17189,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -16581,6 +17198,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionTargetOutput(v **GetSubscr } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -16751,6 +17369,7 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.DomainId = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -16759,6 +17378,7 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -16767,10 +17387,12 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.EntityType = types.TimeSeriesEntityType(jtv) } + case "form": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(&sv.Form, value); err != nil { return err } + case "formName": if value != nil { jtv, ok := value.(string) @@ -16779,6 +17401,7 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesDataPointOutput(v **GetTimeS } sv.FormName = ptr.String(jtv) } + default: _, _ = key, value @@ -16945,6 +17568,7 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -16953,6 +17577,7 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16961,6 +17586,7 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16969,6 +17595,7 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Status = types.UserProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16977,6 +17604,7 @@ func awsRestjson1_deserializeOpDocumentGetUserProfileOutput(v **GetUserProfileOu } sv.Type = types.UserProfileType(jtv) } + default: _, _ = key, value @@ -17143,6 +17771,7 @@ func awsRestjson1_deserializeOpDocumentListAssetFiltersOutput(v **ListAssetFilte if err := awsRestjson1_deserializeDocumentAssetFilters(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17151,6 +17780,7 @@ func awsRestjson1_deserializeOpDocumentListAssetFiltersOutput(v **ListAssetFilte } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17317,6 +17947,7 @@ func awsRestjson1_deserializeOpDocumentListAssetRevisionsOutput(v **ListAssetRev if err := awsRestjson1_deserializeDocumentAssetRevisions(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17325,6 +17956,7 @@ func awsRestjson1_deserializeOpDocumentListAssetRevisionsOutput(v **ListAssetRev } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17491,6 +18123,7 @@ func awsRestjson1_deserializeOpDocumentListDataProductRevisionsOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataProductRevisions(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17499,6 +18132,7 @@ func awsRestjson1_deserializeOpDocumentListDataProductRevisionsOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17671,6 +18305,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunActivitiesOutput(v **Lis if err := awsRestjson1_deserializeDocumentDataSourceRunActivities(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17679,6 +18314,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunActivitiesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17851,6 +18487,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunsOutput(v **ListDataSour if err := awsRestjson1_deserializeDocumentDataSourceRunSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17859,6 +18496,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceRunsOutput(v **ListDataSour } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18031,6 +18669,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18039,6 +18678,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18211,6 +18851,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsRestjson1_deserializeDocumentDomainSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18219,6 +18860,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18382,6 +19024,7 @@ func awsRestjson1_deserializeOpDocumentListDomainUnitsForParentOutput(v **ListDo if err := awsRestjson1_deserializeDocumentDomainUnitSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18390,6 +19033,7 @@ func awsRestjson1_deserializeOpDocumentListDomainUnitsForParentOutput(v **ListDo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18557,10 +19201,12 @@ func awsRestjson1_deserializeOpDocumentListEntityOwnersOutput(v **ListEntityOwne } sv.NextToken = ptr.String(jtv) } + case "owners": if err := awsRestjson1_deserializeDocumentEntityOwners(&sv.Owners, value); err != nil { return err } + default: _, _ = key, value @@ -18724,6 +19370,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentActionsOutput(v **ListEnvi if err := awsRestjson1_deserializeDocumentListEnvironmentActionSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18732,6 +19379,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentActionsOutput(v **ListEnvi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18898,6 +19546,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintConfigurationsOut if err := awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurations(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18906,6 +19555,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintConfigurationsOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19072,6 +19722,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintsOutput(v **ListE if err := awsRestjson1_deserializeDocumentEnvironmentBlueprintSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19080,6 +19731,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentBlueprintsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19243,6 +19895,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentProfilesOutput(v **ListEnv if err := awsRestjson1_deserializeDocumentEnvironmentProfileSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19251,6 +19904,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentProfilesOutput(v **ListEnv } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19414,6 +20068,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19422,6 +20077,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19592,10 +20248,12 @@ func awsRestjson1_deserializeOpDocumentListLineageNodeHistoryOutput(v **ListLine } sv.NextToken = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocumentLineageNodeSummaries(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -19762,6 +20420,7 @@ func awsRestjson1_deserializeOpDocumentListMetadataGenerationRunsOutput(v **List if err := awsRestjson1_deserializeDocumentMetadataGenerationRuns(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19770,6 +20429,7 @@ func awsRestjson1_deserializeOpDocumentListMetadataGenerationRunsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19940,10 +20600,12 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } + case "notifications": if err := awsRestjson1_deserializeDocumentNotificationsList(&sv.Notifications, value); err != nil { return err } + default: _, _ = key, value @@ -20107,6 +20769,7 @@ func awsRestjson1_deserializeOpDocumentListPolicyGrantsOutput(v **ListPolicyGran if err := awsRestjson1_deserializeDocumentPolicyGrantList(&sv.GrantList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20115,6 +20778,7 @@ func awsRestjson1_deserializeOpDocumentListPolicyGrantsOutput(v **ListPolicyGran } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20281,6 +20945,7 @@ func awsRestjson1_deserializeOpDocumentListProjectMembershipsOutput(v **ListProj if err := awsRestjson1_deserializeDocumentProjectMembers(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20289,6 +20954,7 @@ func awsRestjson1_deserializeOpDocumentListProjectMembershipsOutput(v **ListProj } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20452,6 +21118,7 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20460,6 +21127,7 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20626,6 +21294,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionGrantsOutput(v **ListSubs if err := awsRestjson1_deserializeDocumentSubscriptionGrants(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20634,6 +21303,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionGrantsOutput(v **ListSubs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20800,6 +21470,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionRequestsOutput(v **ListSu if err := awsRestjson1_deserializeDocumentSubscriptionRequests(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20808,6 +21479,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionRequestsOutput(v **ListSu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20974,6 +21646,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionsOutput(v **ListSubscript if err := awsRestjson1_deserializeDocumentSubscriptions(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20982,6 +21655,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionsOutput(v **ListSubscript } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21148,6 +21822,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionTargetsOutput(v **ListSub if err := awsRestjson1_deserializeDocumentSubscriptionTargets(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21156,6 +21831,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionTargetsOutput(v **ListSub } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21322,6 +21998,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -21488,6 +22165,7 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesDataPointsOutput(v **ListTi if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -21496,6 +22174,7 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesDataPointsOutput(v **ListTi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -21781,6 +22460,7 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.DomainId = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -21789,6 +22469,7 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -21797,10 +22478,12 @@ func awsRestjson1_deserializeOpDocumentPostTimeSeriesDataPointsOutput(v **PostTi } sv.EntityType = types.TimeSeriesEntityType(jtv) } + case "forms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutputList(&sv.Forms, value); err != nil { return err } + default: _, _ = key, value @@ -21978,6 +22661,7 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.CreatedAt = ptr.Time(t) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -21986,10 +22670,12 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.DomainId = ptr.String(jtv) } + case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -21998,6 +22684,7 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -22006,10 +22693,12 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.ManageAccessRoleArn = ptr.String(jtv) } + case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } + case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -22018,10 +22707,12 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.ProvisioningRoleArn = ptr.String(jtv) } + case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22034,6 +22725,7 @@ func awsRestjson1_deserializeOpDocumentPutEnvironmentBlueprintConfigurationOutpu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -22207,6 +22899,7 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.AssetId = ptr.String(jtv) } + case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -22215,6 +22908,7 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.AssetRevision = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -22223,6 +22917,7 @@ func awsRestjson1_deserializeOpDocumentRejectPredictionsOutput(v **RejectPredict } sv.DomainId = ptr.String(jtv) } + default: _, _ = key, value @@ -22403,6 +23098,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22411,6 +23107,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -22419,6 +23116,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -22427,6 +23125,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -22435,6 +23134,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -22443,6 +23143,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -22451,6 +23152,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22459,14 +23161,17 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -22482,6 +23187,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22490,6 +23196,7 @@ func awsRestjson1_deserializeOpDocumentRejectSubscriptionRequestOutput(v **Rejec } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -22873,6 +23580,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22881,6 +23589,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -22889,6 +23598,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -22897,6 +23607,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.Id = ptr.String(jtv) } + case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -22905,6 +23616,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.RetainPermissions = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22913,14 +23625,17 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.Status = types.SubscriptionStatus(jtv) } + case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } + case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } + case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -22929,6 +23644,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.SubscriptionRequestId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -22944,6 +23660,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22952,6 +23669,7 @@ func awsRestjson1_deserializeOpDocumentRevokeSubscriptionOutput(v **RevokeSubscr } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -23115,6 +23833,7 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentSearchInventoryResultItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23123,6 +23842,7 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } + case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -23135,6 +23855,7 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.TotalMatchCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23301,6 +24022,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupProfilesOutput(v **SearchGroup if err := awsRestjson1_deserializeDocumentGroupProfileSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23309,6 +24031,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupProfilesOutput(v **SearchGroup } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23472,6 +24195,7 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu if err := awsRestjson1_deserializeDocumentSearchResultItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23480,6 +24204,7 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu } sv.NextToken = ptr.String(jtv) } + case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -23492,6 +24217,7 @@ func awsRestjson1_deserializeOpDocumentSearchListingsOutput(v **SearchListingsOu } sv.TotalMatchCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23655,6 +24381,7 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, if err := awsRestjson1_deserializeDocumentSearchTypesResultItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23663,6 +24390,7 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, } sv.NextToken = ptr.String(jtv) } + case "totalMatchCount": if value != nil { jtv, ok := value.(json.Number) @@ -23675,6 +24403,7 @@ func awsRestjson1_deserializeOpDocumentSearchTypesOutput(v **SearchTypesOutput, } sv.TotalMatchCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23841,6 +24570,7 @@ func awsRestjson1_deserializeOpDocumentSearchUserProfilesOutput(v **SearchUserPr if err := awsRestjson1_deserializeDocumentUserProfileSummaries(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23849,6 +24579,7 @@ func awsRestjson1_deserializeOpDocumentSearchUserProfilesOutput(v **SearchUserPr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24029,6 +24760,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.CreatedAt = ptr.Time(t) } + case "dataSourceConfigurationSnapshot": if value != nil { jtv, ok := value.(string) @@ -24037,6 +24769,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DataSourceConfigurationSnapshot = ptr.String(jtv) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -24045,6 +24778,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DataSourceId = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -24053,10 +24787,12 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.DomainId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -24065,6 +24801,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Id = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -24073,10 +24810,12 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.ProjectId = ptr.String(jtv) } + case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24089,6 +24828,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -24097,6 +24837,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Status = types.DataSourceRunStatus(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -24109,6 +24850,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.StoppedAt = ptr.Time(t) } + case "type": if value != nil { jtv, ok := value.(string) @@ -24117,6 +24859,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.Type = types.DataSourceRunType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -24129,6 +24872,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceRunOutput(v **StartDataSou } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -24312,6 +25056,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -24320,6 +25065,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -24328,6 +25074,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -24336,6 +25083,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Id = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -24344,6 +25092,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -24352,6 +25101,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Status = types.MetadataGenerationRunStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -24360,6 +25110,7 @@ func awsRestjson1_deserializeOpDocumentStartMetadataGenerationRunOutput(v **Star } sv.Type = types.MetadataGenerationRunType(jtv) } + default: _, _ = key, value @@ -24736,10 +25487,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.AssetId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAssetFilterConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -24755,6 +25508,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -24763,6 +25517,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -24771,10 +25526,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.DomainId = ptr.String(jtv) } + case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } + case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -24783,6 +25540,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.EffectiveRowFilter = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -24791,6 +25549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -24799,6 +25558,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -24807,6 +25567,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -24815,6 +25576,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetFilterOutput(v **UpdateAssetFi } sv.Status = types.FilterStatus(jtv) } + default: _, _ = key, value @@ -24987,10 +25749,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.AssetFormsOutput, value); err != nil { return err } + case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationOutput(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -25003,6 +25767,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -25011,6 +25776,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -25019,6 +25785,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DomainId = ptr.String(jtv) } + case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -25027,6 +25794,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.EnableSetting = types.EnableSetting(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -25035,10 +25803,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -25047,6 +25817,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Id = ptr.String(jtv) } + case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -25059,10 +25830,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.LastRunAt = ptr.Time(t) } + case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } + case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -25071,6 +25844,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25079,6 +25853,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -25087,6 +25862,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.ProjectId = ptr.String(jtv) } + case "publishOnImport": if value != nil { jtv, ok := value.(bool) @@ -25095,10 +25871,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.PublishOnImport = ptr.Bool(jtv) } + case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationConfiguration(&sv.Recommendation, value); err != nil { return err } + case "retainPermissionsOnRevokeFailure": if value != nil { jtv, ok := value.(bool) @@ -25107,14 +25885,17 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.RetainPermissionsOnRevokeFailure = ptr.Bool(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } + case "selfGrantStatus": if err := awsRestjson1_deserializeDocumentSelfGrantStatusOutput(&sv.SelfGrantStatus, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -25123,6 +25904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -25131,6 +25913,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -25143,6 +25926,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -25319,6 +26103,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Description = ptr.String(jtv) } + case "domainExecutionRole": if value != nil { jtv, ok := value.(string) @@ -25327,6 +26112,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainExecutionRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -25335,6 +26121,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -25350,6 +26137,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } } + case "name": if value != nil { jtv, ok := value.(string) @@ -25358,6 +26146,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.Name = ptr.String(jtv) } + case "rootDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -25366,10 +26155,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.RootDomainUnitId = ptr.String(jtv) } + case "singleSignOn": if err := awsRestjson1_deserializeDocumentSingleSignOn(&sv.SingleSignOn, value); err != nil { return err } + default: _, _ = key, value @@ -25550,6 +26341,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -25558,6 +26350,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -25566,6 +26359,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -25574,6 +26368,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -25582,6 +26377,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -25597,6 +26393,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } } + case "lastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -25605,6 +26402,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.LastUpdatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25613,10 +26411,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.Name = ptr.String(jtv) } + case "owners": if err := awsRestjson1_deserializeDocumentDomainUnitOwners(&sv.Owners, value); err != nil { return err } + case "parentDomainUnitId": if value != nil { jtv, ok := value.(string) @@ -25625,6 +26425,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainUnitOutput(v **UpdateDomainUn } sv.ParentDomainUnitId = ptr.String(jtv) } + default: _, _ = key, value @@ -25798,6 +26599,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -25806,6 +26608,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -25818,6 +26621,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -25826,10 +26630,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.CreatedBy = ptr.String(jtv) } + case "deploymentProperties": if err := awsRestjson1_deserializeDocumentDeploymentProperties(&sv.DeploymentProperties, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -25838,6 +26644,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -25846,10 +26653,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.DomainId = ptr.String(jtv) } + case "environmentActions": if err := awsRestjson1_deserializeDocumentEnvironmentActionList(&sv.EnvironmentActions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -25858,6 +26667,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -25866,10 +26676,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentProfileId = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -25878,10 +26690,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Id = ptr.String(jtv) } + case "lastDeployment": if err := awsRestjson1_deserializeDocumentDeployment(&sv.LastDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -25890,6 +26704,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -25898,6 +26713,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -25906,14 +26722,17 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Provider = ptr.String(jtv) } + case "provisionedResources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.ProvisionedResources, value); err != nil { return err } + case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -25922,6 +26741,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Status = types.EnvironmentStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -25934,10 +26754,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -26111,6 +26933,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -26119,6 +26942,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -26127,6 +26951,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26135,6 +26960,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26143,10 +26969,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentActionOutput(v **UpdateE } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -26323,6 +27151,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -26331,6 +27160,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -26343,6 +27173,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26351,6 +27182,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -26359,6 +27191,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -26367,6 +27200,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.DomainId = ptr.String(jtv) } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -26375,6 +27209,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26383,6 +27218,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26391,6 +27227,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -26399,6 +27236,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.ProjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -26411,10 +27249,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentProfileOutput(v **Update } sv.UpdatedAt = ptr.Time(t) } + case "userParameters": if err := awsRestjson1_deserializeDocumentCustomParameterList(&sv.UserParameters, value); err != nil { return err } + default: _, _ = key, value @@ -26588,6 +27428,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -26596,6 +27437,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26604,6 +27446,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26612,6 +27455,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -26620,6 +27464,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -26628,6 +27473,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryOutput(v **UpdateGlossaryOu } sv.Status = types.GlossaryStatus(jtv) } + default: _, _ = key, value @@ -26801,6 +27647,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.DomainId = ptr.String(jtv) } + case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -26809,6 +27656,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.GlossaryId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -26817,6 +27665,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Id = ptr.String(jtv) } + case "longDescription": if value != nil { jtv, ok := value.(string) @@ -26825,6 +27674,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.LongDescription = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26833,6 +27683,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Name = ptr.String(jtv) } + case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -26841,6 +27692,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.ShortDescription = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -26849,10 +27701,12 @@ func awsRestjson1_deserializeOpDocumentUpdateGlossaryTermOutput(v **UpdateGlossa } sv.Status = types.GlossaryTermStatus(jtv) } + case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } + default: _, _ = key, value @@ -27023,6 +27877,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.DomainId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -27031,6 +27886,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.GroupName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -27039,6 +27895,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -27047,6 +27904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupProfileOutput(v **UpdateGroupP } sv.Status = types.GroupProfileStatus(jtv) } + default: _, _ = key, value @@ -27227,6 +28085,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27235,6 +28094,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -27243,6 +28103,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -27251,6 +28112,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DomainId = ptr.String(jtv) } + case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -27259,14 +28121,17 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.DomainUnitId = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -27275,6 +28140,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -27287,6 +28153,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -27295,6 +28162,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.Name = ptr.String(jtv) } + case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -27303,6 +28171,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.ProjectStatus = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -27472,6 +28341,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -27487,6 +28357,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27495,6 +28366,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -27503,10 +28375,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.DomainId = ptr.String(jtv) } + case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -27515,6 +28389,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -27523,6 +28398,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -27531,6 +28407,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.SubscriptionId = ptr.String(jtv) } + case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -27539,6 +28416,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.SubscriptionTargetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -27554,6 +28432,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -27562,6 +28441,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionGrantStatusOutput(v **U } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -27742,6 +28622,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -27750,6 +28631,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -27758,6 +28640,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -27766,6 +28649,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -27774,6 +28658,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -27782,6 +28667,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -27790,6 +28676,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -27798,14 +28685,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -27821,6 +28711,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -27829,6 +28720,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionRequestOutput(v **Updat } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -27998,10 +28890,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } + case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28017,6 +28911,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -28025,6 +28920,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -28033,6 +28929,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -28041,6 +28938,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -28049,6 +28947,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Id = ptr.String(jtv) } + case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -28057,6 +28956,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.ManageAccessRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -28065,6 +28965,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -28073,6 +28974,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -28081,10 +28983,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Provider = ptr.String(jtv) } + case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -28093,6 +28997,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -28108,6 +29013,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -28116,6 +29022,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriptionTargetOutput(v **Update } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -28282,6 +29189,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -28290,6 +29198,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -28298,6 +29207,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -28306,6 +29216,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Status = types.UserProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -28314,6 +29225,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.Type = types.UserProfileType(jtv) } + default: _, _ = key, value @@ -28641,6 +29553,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28720,6 +29633,7 @@ func awsRestjson1_deserializeDocumentAddToProjectMemberPoolPolicyGrantDetail(v * } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -28941,6 +29855,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.AssetId = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28956,6 +29871,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } } + case "description": if value != nil { jtv, ok := value.(string) @@ -28964,6 +29880,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -28972,10 +29889,12 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.DomainId = ptr.String(jtv) } + case "effectiveColumnNames": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.EffectiveColumnNames, value); err != nil { return err } + case "effectiveRowFilter": if value != nil { jtv, ok := value.(string) @@ -28984,6 +29903,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.EffectiveRowFilter = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -28992,6 +29912,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29000,6 +29921,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29008,6 +29930,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -29016,6 +29939,7 @@ func awsRestjson1_deserializeDocumentAssetFilterSummary(v **types.AssetFilterSum } sv.Status = types.FilterStatus(jtv) } + default: _, _ = key, value @@ -29055,6 +29979,7 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityId = ptr.String(jtv) } + case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -29063,6 +29988,7 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityRevision = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -29071,6 +29997,7 @@ func awsRestjson1_deserializeDocumentAssetInDataProductListingItem(v **types.Ass } sv.EntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -29140,6 +30067,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf if err := awsRestjson1_deserializeDocumentAssetItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -29155,6 +30083,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -29163,6 +30092,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -29171,6 +30101,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -29179,6 +30110,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.DomainId = ptr.String(jtv) } + case "externalIdentifier": if value != nil { jtv, ok := value.(string) @@ -29187,6 +30119,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.ExternalIdentifier = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -29202,6 +30135,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -29210,10 +30144,12 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -29222,6 +30158,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Identifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29230,6 +30167,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -29238,6 +30176,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.OwningProjectId = ptr.String(jtv) } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -29246,6 +30185,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -29254,6 +30194,7 @@ func awsRestjson1_deserializeDocumentAssetItem(v **types.AssetItem, value interf } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -29289,14 +30230,17 @@ func awsRestjson1_deserializeDocumentAssetItemAdditionalAttributes(v **types.Ass if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.FormsOutput, value); err != nil { return err } + case "latestTimeSeriesDataPointFormsOutput": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointFormsOutput, value); err != nil { return err } + case "readOnlyFormsOutput": if err := awsRestjson1_deserializeDocumentFormOutputList(&sv.ReadOnlyFormsOutput, value); err != nil { return err } + default: _, _ = key, value @@ -29336,6 +30280,7 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetId = ptr.String(jtv) } + case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -29344,6 +30289,7 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetRevision = ptr.String(jtv) } + case "assetType": if value != nil { jtv, ok := value.(string) @@ -29352,6 +30298,7 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.AssetType = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -29367,6 +30314,7 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } } + case "forms": if value != nil { jtv, ok := value.(string) @@ -29375,14 +30323,17 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.Forms = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "latestTimeSeriesDataPointForms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointForms, value); err != nil { return err } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -29391,6 +30342,7 @@ func awsRestjson1_deserializeDocumentAssetListing(v **types.AssetListing, value } sv.OwningProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -29430,6 +30382,7 @@ func awsRestjson1_deserializeDocumentAssetListingDetails(v **types.AssetListingD } sv.ListingId = ptr.String(jtv) } + case "listingStatus": if value != nil { jtv, ok := value.(string) @@ -29438,6 +30391,7 @@ func awsRestjson1_deserializeDocumentAssetListingDetails(v **types.AssetListingD } sv.ListingStatus = types.ListingStatus(jtv) } + default: _, _ = key, value @@ -29473,6 +30427,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem if err := awsRestjson1_deserializeDocumentAssetListingItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -29488,6 +30443,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } } + case "description": if value != nil { jtv, ok := value.(string) @@ -29496,6 +30452,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.Description = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -29504,6 +30461,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityId = ptr.String(jtv) } + case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -29512,6 +30470,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityRevision = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -29520,10 +30479,12 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.EntityType = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "listingCreatedBy": if value != nil { jtv, ok := value.(string) @@ -29532,6 +30493,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingCreatedBy = ptr.String(jtv) } + case "listingId": if value != nil { jtv, ok := value.(string) @@ -29540,6 +30502,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingId = ptr.String(jtv) } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -29548,6 +30511,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingRevision = ptr.String(jtv) } + case "listingUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -29556,6 +30520,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.ListingUpdatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29564,6 +30529,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -29572,6 +30538,7 @@ func awsRestjson1_deserializeDocumentAssetListingItem(v **types.AssetListingItem } sv.OwningProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -29611,10 +30578,12 @@ func awsRestjson1_deserializeDocumentAssetListingItemAdditionalAttributes(v **ty } sv.Forms = ptr.String(jtv) } + case "latestTimeSeriesDataPointForms": if err := awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutputList(&sv.LatestTimeSeriesDataPointForms, value); err != nil { return err } + default: _, _ = key, value @@ -29661,6 +30630,7 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -29669,6 +30639,7 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -29677,6 +30648,7 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29685,6 +30657,7 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.Id = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -29693,6 +30666,7 @@ func awsRestjson1_deserializeDocumentAssetRevision(v **types.AssetRevision, valu } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -29766,6 +30740,7 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.AssetId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -29774,10 +30749,12 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.ErrorMessage = ptr.String(jtv) } + case "filterIds": if err := awsRestjson1_deserializeDocumentFilterIds(&sv.FilterIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -29786,6 +30763,7 @@ func awsRestjson1_deserializeDocumentAssetScope(v **types.AssetScope, value inte } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -29832,6 +30810,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -29840,6 +30819,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -29848,6 +30828,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -29856,10 +30837,12 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.DomainId = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -29868,6 +30851,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -29876,6 +30860,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -29884,6 +30869,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -29892,6 +30878,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -29900,6 +30887,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.Revision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -29915,6 +30903,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -29923,6 +30912,7 @@ func awsRestjson1_deserializeDocumentAssetTypeItem(v **types.AssetTypeItem, valu } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -29998,6 +30988,7 @@ func awsRestjson1_deserializeDocumentAwsConsoleLinkParameters(v **types.AwsConso } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -30037,6 +31028,7 @@ func awsRestjson1_deserializeDocumentBusinessNameGenerationConfiguration(v **typ } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30076,6 +31068,7 @@ func awsRestjson1_deserializeDocumentCloudFormationProperties(v **types.CloudFor } sv.TemplateUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -30111,6 +31104,7 @@ func awsRestjson1_deserializeDocumentColumnFilterConfiguration(v **types.ColumnF if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.IncludedColumnNames, value); err != nil { return err } + default: _, _ = key, value @@ -30186,6 +31180,7 @@ func awsRestjson1_deserializeDocumentConfigurableActionParameter(v **types.Confi } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -30194,6 +31189,7 @@ func awsRestjson1_deserializeDocumentConfigurableActionParameter(v **types.Confi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -30267,10 +31263,12 @@ func awsRestjson1_deserializeDocumentConfigurableEnvironmentAction(v **types.Con } sv.Auth = types.ConfigurableActionTypeAuthorization(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentConfigurableActionParameterList(&sv.Parameters, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -30279,6 +31277,7 @@ func awsRestjson1_deserializeDocumentConfigurableEnvironmentAction(v **types.Con } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -30318,6 +31317,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30357,6 +31357,7 @@ func awsRestjson1_deserializeDocumentCreateAssetTypePolicyGrantDetail(v **types. } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30396,6 +31397,7 @@ func awsRestjson1_deserializeDocumentCreateDomainUnitPolicyGrantDetail(v **types } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30435,6 +31437,7 @@ func awsRestjson1_deserializeDocumentCreateEnvironmentProfilePolicyGrantDetail(v } sv.DomainUnitId = ptr.String(jtv) } + default: _, _ = key, value @@ -30474,6 +31477,7 @@ func awsRestjson1_deserializeDocumentCreateFormTypePolicyGrantDetail(v **types.C } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30513,6 +31517,7 @@ func awsRestjson1_deserializeDocumentCreateGlossaryPolicyGrantDetail(v **types.C } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30552,6 +31557,7 @@ func awsRestjson1_deserializeDocumentCreateProjectPolicyGrantDetail(v **types.Cr } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -30591,6 +31597,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -30599,6 +31606,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.Description = ptr.String(jtv) } + case "fieldType": if value != nil { jtv, ok := value.(string) @@ -30607,6 +31615,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.FieldType = ptr.String(jtv) } + case "isEditable": if value != nil { jtv, ok := value.(bool) @@ -30615,6 +31624,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.IsEditable = ptr.Bool(jtv) } + case "isOptional": if value != nil { jtv, ok := value.(bool) @@ -30623,6 +31633,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.IsOptional = ptr.Bool(jtv) } + case "keyName": if value != nil { jtv, ok := value.(string) @@ -30631,6 +31642,7 @@ func awsRestjson1_deserializeDocumentCustomParameter(v **types.CustomParameter, } sv.KeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -30700,6 +31712,7 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, if err := awsRestjson1_deserializeDocumentItemGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -30708,6 +31721,7 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.Identifier = ptr.String(jtv) } + case "itemType": if value != nil { jtv, ok := value.(string) @@ -30716,6 +31730,7 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.ItemType = types.DataProductItemType(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -30724,6 +31739,7 @@ func awsRestjson1_deserializeDocumentDataProductItem(v **types.DataProductItem, } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -30804,6 +31820,7 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } } + case "dataProductId": if value != nil { jtv, ok := value.(string) @@ -30812,6 +31829,7 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.DataProductId = ptr.String(jtv) } + case "dataProductRevision": if value != nil { jtv, ok := value.(string) @@ -30820,6 +31838,7 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.DataProductRevision = ptr.String(jtv) } + case "forms": if value != nil { jtv, ok := value.(string) @@ -30828,14 +31847,17 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.Forms = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "items": if err := awsRestjson1_deserializeDocumentListingSummaries(&sv.Items, value); err != nil { return err } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30844,6 +31866,7 @@ func awsRestjson1_deserializeDocumentDataProductListing(v **types.DataProductLis } sv.OwningProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -30879,6 +31902,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc if err := awsRestjson1_deserializeDocumentDataProductListingItemAdditionalAttributes(&sv.AdditionalAttributes, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -30894,6 +31918,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } } + case "description": if value != nil { jtv, ok := value.(string) @@ -30902,6 +31927,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.Description = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -30910,6 +31936,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.EntityId = ptr.String(jtv) } + case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -30918,14 +31945,17 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.EntityRevision = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "items": if err := awsRestjson1_deserializeDocumentListingSummaryItems(&sv.Items, value); err != nil { return err } + case "listingCreatedBy": if value != nil { jtv, ok := value.(string) @@ -30934,6 +31964,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingCreatedBy = ptr.String(jtv) } + case "listingId": if value != nil { jtv, ok := value.(string) @@ -30942,6 +31973,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingId = ptr.String(jtv) } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -30950,6 +31982,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingRevision = ptr.String(jtv) } + case "listingUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -30958,6 +31991,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.ListingUpdatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -30966,6 +32000,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -30974,6 +32009,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItem(v **types.DataProduc } sv.OwningProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -31013,6 +32049,7 @@ func awsRestjson1_deserializeDocumentDataProductListingItemAdditionalAttributes( } sv.Forms = ptr.String(jtv) } + default: _, _ = key, value @@ -31059,6 +32096,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -31067,6 +32105,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -31075,6 +32114,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -31083,6 +32123,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.DomainId = ptr.String(jtv) } + case "firstRevisionCreatedAt": if value != nil { switch jtv := value.(type) { @@ -31098,6 +32139,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } } + case "firstRevisionCreatedBy": if value != nil { jtv, ok := value.(string) @@ -31106,10 +32148,12 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.FirstRevisionCreatedBy = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -31118,6 +32162,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -31126,6 +32171,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -31134,6 +32180,7 @@ func awsRestjson1_deserializeDocumentDataProductResultItem(v **types.DataProduct } sv.OwningProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -31180,6 +32227,7 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -31188,6 +32236,7 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -31196,6 +32245,7 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -31204,6 +32254,7 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.Id = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -31212,6 +32263,7 @@ func awsRestjson1_deserializeDocumentDataProductRevision(v **types.DataProductRe } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -31335,6 +32387,7 @@ func awsRestjson1_deserializeDocumentDataSourceErrorMessage(v **types.DataSource } sv.ErrorDetail = ptr.String(jtv) } + case "errorType": if value != nil { jtv, ok := value.(string) @@ -31343,6 +32396,7 @@ func awsRestjson1_deserializeDocumentDataSourceErrorMessage(v **types.DataSource } sv.ErrorType = types.DataSourceErrorType(jtv) } + default: _, _ = key, value @@ -31420,6 +32474,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.CreatedAt = ptr.Time(t) } + case "dataAssetId": if value != nil { jtv, ok := value.(string) @@ -31428,6 +32483,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataAssetId = ptr.String(jtv) } + case "dataAssetStatus": if value != nil { jtv, ok := value.(string) @@ -31436,6 +32492,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataAssetStatus = types.DataAssetActivityStatus(jtv) } + case "database": if value != nil { jtv, ok := value.(string) @@ -31444,6 +32501,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.Database = ptr.String(jtv) } + case "dataSourceRunId": if value != nil { jtv, ok := value.(string) @@ -31452,10 +32510,12 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.DataSourceRunId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -31464,6 +32524,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.ProjectId = ptr.String(jtv) } + case "technicalDescription": if value != nil { jtv, ok := value.(string) @@ -31472,6 +32533,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.TechnicalDescription = ptr.String(jtv) } + case "technicalName": if value != nil { jtv, ok := value.(string) @@ -31480,6 +32542,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.TechnicalName = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -31492,6 +32555,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunActivity(v **types.DataSourceR } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -31569,6 +32633,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.CreatedAt = ptr.Time(t) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -31577,10 +32642,12 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.DataSourceId = ptr.String(jtv) } + case "errorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.ErrorMessage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -31589,6 +32656,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Id = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -31597,10 +32665,12 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.ProjectId = ptr.String(jtv) } + case "runStatisticsForAssets": if err := awsRestjson1_deserializeDocumentRunStatisticsForAssets(&sv.RunStatisticsForAssets, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -31613,6 +32683,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -31621,6 +32692,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Status = types.DataSourceRunStatus(jtv) } + case "stoppedAt": if value != nil { jtv, ok := value.(string) @@ -31633,6 +32705,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.StoppedAt = ptr.Time(t) } + case "type": if value != nil { jtv, ok := value.(string) @@ -31641,6 +32714,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.Type = types.DataSourceRunType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -31653,6 +32727,7 @@ func awsRestjson1_deserializeDocumentDataSourceRunSummary(v **types.DataSourceRu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -31730,6 +32805,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.CreatedAt = ptr.Time(t) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -31738,6 +32814,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -31746,6 +32823,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DomainId = ptr.String(jtv) } + case "enableSetting": if value != nil { jtv, ok := value.(string) @@ -31754,6 +32832,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.EnableSetting = types.EnableSetting(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -31762,6 +32841,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.EnvironmentId = ptr.String(jtv) } + case "lastRunAssetCount": if value != nil { jtv, ok := value.(json.Number) @@ -31774,6 +32854,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunAssetCount = ptr.Int32(int32(i64)) } + case "lastRunAt": if value != nil { jtv, ok := value.(string) @@ -31786,10 +32867,12 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunAt = ptr.Time(t) } + case "lastRunErrorMessage": if err := awsRestjson1_deserializeDocumentDataSourceErrorMessage(&sv.LastRunErrorMessage, value); err != nil { return err } + case "lastRunStatus": if value != nil { jtv, ok := value.(string) @@ -31798,6 +32881,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LastRunStatus = types.DataSourceRunStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -31806,10 +32890,12 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentScheduleConfiguration(&sv.Schedule, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -31818,6 +32904,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -31826,6 +32913,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -31838,6 +32926,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -31877,6 +32966,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -31885,6 +32975,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -31893,10 +32984,12 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentType = types.DeploymentType(jtv) } + case "failureReason": if err := awsRestjson1_deserializeDocumentEnvironmentError(&sv.FailureReason, value); err != nil { return err } + case "isDeploymentComplete": if value != nil { jtv, ok := value.(bool) @@ -31905,10 +32998,12 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IsDeploymentComplete = ptr.Bool(jtv) } + case "messages": if err := awsRestjson1_deserializeDocumentDeploymentMessagesList(&sv.Messages, value); err != nil { return err } + default: _, _ = key, value @@ -31988,6 +33083,7 @@ func awsRestjson1_deserializeDocumentDeploymentProperties(v **types.DeploymentPr } sv.EndTimeoutMinutes = ptr.Int32(int32(i64)) } + case "startTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -32000,6 +33096,7 @@ func awsRestjson1_deserializeDocumentDeploymentProperties(v **types.DeploymentPr } sv.StartTimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32039,6 +33136,7 @@ func awsRestjson1_deserializeDocumentDetailedGlossaryTerm(v **types.DetailedGlos } sv.Name = ptr.String(jtv) } + case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -32047,6 +33145,7 @@ func awsRestjson1_deserializeDocumentDetailedGlossaryTerm(v **types.DetailedGlos } sv.ShortDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -32154,6 +33253,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -32169,6 +33269,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -32177,6 +33278,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -32185,6 +33287,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -32200,6 +33303,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "managedAccountId": if value != nil { jtv, ok := value.(string) @@ -32208,6 +33312,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.ManagedAccountId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -32216,6 +33321,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } + case "portalUrl": if value != nil { jtv, ok := value.(string) @@ -32224,6 +33330,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.PortalUrl = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -32232,6 +33339,7 @@ func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Status = types.DomainStatus(jtv) } + default: _, _ = key, value @@ -32271,6 +33379,7 @@ func awsRestjson1_deserializeDocumentDomainUnitFilterForProject(v **types.Domain } sv.DomainUnit = ptr.String(jtv) } + case "includeChildDomainUnits": if value != nil { jtv, ok := value.(bool) @@ -32279,6 +33388,7 @@ func awsRestjson1_deserializeDocumentDomainUnitFilterForProject(v **types.Domain } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -32358,6 +33468,7 @@ func awsRestjson1_deserializeDocumentDomainUnitGroupProperties(v **types.DomainU } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -32515,10 +33626,12 @@ func awsRestjson1_deserializeDocumentDomainUnitPolicyGrantPrincipal(v **types.Do } sv.DomainUnitDesignation = types.DomainUnitDesignation(jtv) } + case "domainUnitGrantFilter": if err := awsRestjson1_deserializeDocumentDomainUnitGrantFilter(&sv.DomainUnitGrantFilter, value); err != nil { return err } + case "domainUnitIdentifier": if value != nil { jtv, ok := value.(string) @@ -32527,6 +33640,7 @@ func awsRestjson1_deserializeDocumentDomainUnitPolicyGrantPrincipal(v **types.Do } sv.DomainUnitIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -32600,6 +33714,7 @@ func awsRestjson1_deserializeDocumentDomainUnitSummary(v **types.DomainUnitSumma } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -32608,6 +33723,7 @@ func awsRestjson1_deserializeDocumentDomainUnitSummary(v **types.DomainUnitSumma } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -32647,6 +33763,7 @@ func awsRestjson1_deserializeDocumentDomainUnitUserProperties(v **types.DomainUn } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -32788,6 +33905,7 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -32796,6 +33914,7 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -32804,6 +33923,7 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -32812,6 +33932,7 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -32820,10 +33941,12 @@ func awsRestjson1_deserializeDocumentEnvironmentActionSummary(v **types.Environm } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -32867,6 +33990,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.CreatedAt = ptr.Time(t) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -32875,10 +33999,12 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.DomainId = ptr.String(jtv) } + case "enabledRegions": if err := awsRestjson1_deserializeDocumentEnabledRegionList(&sv.EnabledRegions, value); err != nil { return err } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -32887,6 +34013,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "manageAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -32895,10 +34022,12 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.ManageAccessRoleArn = ptr.String(jtv) } + case "provisioningConfigurations": if err := awsRestjson1_deserializeDocumentProvisioningConfigurationList(&sv.ProvisioningConfigurations, value); err != nil { return err } + case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -32907,10 +34036,12 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.ProvisioningRoleArn = ptr.String(jtv) } + case "regionalParameters": if err := awsRestjson1_deserializeDocumentRegionalParameterMap(&sv.RegionalParameters, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -32923,6 +34054,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintConfigurationItem(v **t } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -33034,6 +34166,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -33042,6 +34175,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -33050,6 +34184,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -33058,6 +34193,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -33066,10 +34202,12 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.Provider = ptr.String(jtv) } + case "provisioningProperties": if err := awsRestjson1_deserializeDocumentProvisioningProperties(&sv.ProvisioningProperties, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -33082,6 +34220,7 @@ func awsRestjson1_deserializeDocumentEnvironmentBlueprintSummary(v **types.Envir } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -33121,6 +34260,7 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -33129,6 +34269,7 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33202,6 +34343,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -33210,6 +34352,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -33222,6 +34365,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -33230,6 +34374,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -33238,6 +34383,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -33246,6 +34392,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.DomainId = ptr.String(jtv) } + case "environmentBlueprintId": if value != nil { jtv, ok := value.(string) @@ -33254,6 +34401,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.EnvironmentBlueprintId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -33262,6 +34410,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -33270,6 +34419,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -33278,6 +34428,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.ProjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -33290,6 +34441,7 @@ func awsRestjson1_deserializeDocumentEnvironmentProfileSummary(v **types.Environ } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -33363,6 +34515,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.AwsAccountId = ptr.String(jtv) } + case "awsAccountRegion": if value != nil { jtv, ok := value.(string) @@ -33371,6 +34524,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.AwsAccountRegion = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -33383,6 +34537,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -33391,6 +34546,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -33399,6 +34555,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -33407,6 +34564,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DomainId = ptr.String(jtv) } + case "environmentProfileId": if value != nil { jtv, ok := value.(string) @@ -33415,6 +34573,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentProfileId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -33423,6 +34582,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -33431,6 +34591,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -33439,6 +34600,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -33447,6 +34609,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Provider = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -33455,6 +34618,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Status = types.EnvironmentStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -33467,6 +34631,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -33506,6 +34671,7 @@ func awsRestjson1_deserializeDocumentEqualToExpression(v **types.EqualToExpressi } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -33514,6 +34680,7 @@ func awsRestjson1_deserializeDocumentEqualToExpression(v **types.EqualToExpressi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -33553,6 +34720,7 @@ func awsRestjson1_deserializeDocumentFailureCause(v **types.FailureCause, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33626,6 +34794,7 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -33634,6 +34803,7 @@ func awsRestjson1_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Type = types.FilterExpressionType(jtv) } + default: _, _ = key, value @@ -33743,6 +34913,7 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.Required = ptr.Bool(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -33751,6 +34922,7 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.TypeName = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -33759,6 +34931,7 @@ func awsRestjson1_deserializeDocumentFormEntryOutput(v **types.FormEntryOutput, } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -33798,6 +34971,7 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.Content = ptr.String(jtv) } + case "formName": if value != nil { jtv, ok := value.(string) @@ -33806,6 +34980,7 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.FormName = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -33814,6 +34989,7 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.TypeName = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -33822,6 +34998,7 @@ func awsRestjson1_deserializeDocumentFormOutput(v **types.FormOutput, value inte } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -33937,6 +35114,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -33945,6 +35123,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -33953,6 +35132,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -33961,14 +35141,17 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.DomainId = ptr.String(jtv) } + case "imports": if err := awsRestjson1_deserializeDocumentImportList(&sv.Imports, value); err != nil { return err } + case "model": if err := awsRestjson1_deserializeDocumentModel(&sv.Model, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -33977,6 +35160,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Name = ptr.String(jtv) } + case "originDomainId": if value != nil { jtv, ok := value.(string) @@ -33985,6 +35169,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OriginDomainId = ptr.String(jtv) } + case "originProjectId": if value != nil { jtv, ok := value.(string) @@ -33993,6 +35178,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OriginProjectId = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -34001,6 +35187,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.OwningProjectId = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -34009,6 +35196,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Revision = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -34017,6 +35205,7 @@ func awsRestjson1_deserializeDocumentFormTypeData(v **types.FormTypeData, value } sv.Status = types.FormTypeStatus(jtv) } + default: _, _ = key, value @@ -34063,6 +35252,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -34071,6 +35261,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -34079,6 +35270,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -34087,6 +35279,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -34095,6 +35288,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -34103,6 +35297,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Name = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -34111,6 +35306,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -34119,6 +35315,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.Status = types.GlossaryStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -34134,6 +35331,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -34142,6 +35340,7 @@ func awsRestjson1_deserializeDocumentGlossaryItem(v **types.GlossaryItem, value } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -34188,6 +35387,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -34196,6 +35396,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -34204,6 +35405,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.DomainId = ptr.String(jtv) } + case "glossaryId": if value != nil { jtv, ok := value.(string) @@ -34212,6 +35414,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.GlossaryId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -34220,6 +35423,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Id = ptr.String(jtv) } + case "longDescription": if value != nil { jtv, ok := value.(string) @@ -34228,6 +35432,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.LongDescription = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -34236,6 +35441,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Name = ptr.String(jtv) } + case "shortDescription": if value != nil { jtv, ok := value.(string) @@ -34244,6 +35450,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.ShortDescription = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -34252,10 +35459,12 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.Status = types.GlossaryTermStatus(jtv) } + case "termRelations": if err := awsRestjson1_deserializeDocumentTermRelations(&sv.TermRelations, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -34271,6 +35480,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -34279,6 +35489,7 @@ func awsRestjson1_deserializeDocumentGlossaryTermItem(v **types.GlossaryTermItem } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -34354,6 +35565,7 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.AccountId = ptr.String(jtv) } + case "autoImportDataQualityResult": if value != nil { jtv, ok := value.(bool) @@ -34362,6 +35574,7 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.AutoImportDataQualityResult = ptr.Bool(jtv) } + case "dataAccessRole": if value != nil { jtv, ok := value.(string) @@ -34370,6 +35583,7 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.DataAccessRole = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -34378,10 +35592,12 @@ func awsRestjson1_deserializeDocumentGlueRunConfigurationOutput(v **types.GlueRu } sv.Region = ptr.String(jtv) } + case "relationalFilterConfigurations": if err := awsRestjson1_deserializeDocumentRelationalFilterConfigurations(&sv.RelationalFilterConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -34417,6 +35633,7 @@ func awsRestjson1_deserializeDocumentGlueSelfGrantStatusOutput(v **types.GlueSel if err := awsRestjson1_deserializeDocumentSelfGrantStatusDetails(&sv.SelfGrantStatusDetails, value); err != nil { return err } + default: _, _ = key, value @@ -34496,6 +35713,7 @@ func awsRestjson1_deserializeDocumentGreaterThanExpression(v **types.GreaterThan } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -34504,6 +35722,7 @@ func awsRestjson1_deserializeDocumentGreaterThanExpression(v **types.GreaterThan } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -34543,6 +35762,7 @@ func awsRestjson1_deserializeDocumentGreaterThanOrEqualToExpression(v **types.Gr } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -34551,6 +35771,7 @@ func awsRestjson1_deserializeDocumentGreaterThanOrEqualToExpression(v **types.Gr } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -34590,6 +35811,7 @@ func awsRestjson1_deserializeDocumentGroupDetails(v **types.GroupDetails, value } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -34705,6 +35927,7 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.DomainId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -34713,6 +35936,7 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.GroupName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -34721,6 +35945,7 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -34729,6 +35954,7 @@ func awsRestjson1_deserializeDocumentGroupProfileSummary(v **types.GroupProfileS } sv.Status = types.GroupProfileStatus(jtv) } + default: _, _ = key, value @@ -34768,6 +35994,7 @@ func awsRestjson1_deserializeDocumentIamUserProfileDetails(v **types.IamUserProf } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -34807,6 +36034,7 @@ func awsRestjson1_deserializeDocumentImport(v **types.Import, value interface{}) } sv.Name = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -34815,6 +36043,7 @@ func awsRestjson1_deserializeDocumentImport(v **types.Import, value interface{}) } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -34888,10 +36117,12 @@ func awsRestjson1_deserializeDocumentInExpression(v **types.InExpression, value } sv.ColumnName = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -34931,6 +36162,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34970,6 +36202,7 @@ func awsRestjson1_deserializeDocumentIsNotNullExpression(v **types.IsNotNullExpr } sv.ColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -35009,6 +36242,7 @@ func awsRestjson1_deserializeDocumentIsNullExpression(v **types.IsNullExpression } sv.ColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -35080,6 +36314,7 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo if err := awsRestjson1_deserializeDocumentS3LocationList(&sv.LocationRegistrationExcludeS3Locations, value); err != nil { return err } + case "locationRegistrationRole": if value != nil { jtv, ok := value.(string) @@ -35088,6 +36323,7 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.LocationRegistrationRole = ptr.String(jtv) } + default: _, _ = key, value @@ -35127,6 +36363,7 @@ func awsRestjson1_deserializeDocumentLessThanExpression(v **types.LessThanExpres } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -35135,6 +36372,7 @@ func awsRestjson1_deserializeDocumentLessThanExpression(v **types.LessThanExpres } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -35174,6 +36412,7 @@ func awsRestjson1_deserializeDocumentLessThanOrEqualToExpression(v **types.LessT } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -35182,6 +36421,7 @@ func awsRestjson1_deserializeDocumentLessThanOrEqualToExpression(v **types.LessT } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -35221,6 +36461,7 @@ func awsRestjson1_deserializeDocumentLikeExpression(v **types.LikeExpression, va } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -35229,6 +36470,7 @@ func awsRestjson1_deserializeDocumentLikeExpression(v **types.LikeExpression, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -35275,6 +36517,7 @@ func awsRestjson1_deserializeDocumentLineageNodeReference(v **types.LineageNodeR } } + case "id": if value != nil { jtv, ok := value.(string) @@ -35283,6 +36526,7 @@ func awsRestjson1_deserializeDocumentLineageNodeReference(v **types.LineageNodeR } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -35397,6 +36641,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -35405,6 +36650,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -35413,6 +36659,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -35421,6 +36668,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.DomainId = ptr.String(jtv) } + case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -35436,6 +36684,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } + case "id": if value != nil { jtv, ok := value.(string) @@ -35444,6 +36693,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -35452,6 +36702,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.Name = ptr.String(jtv) } + case "sourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -35460,6 +36711,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.SourceIdentifier = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -35468,6 +36720,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.TypeName = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -35476,6 +36729,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.TypeRevision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -35491,6 +36745,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -35499,6 +36754,7 @@ func awsRestjson1_deserializeDocumentLineageNodeSummary(v **types.LineageNodeSum } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -35545,6 +36801,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -35553,6 +36810,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -35561,6 +36819,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -35569,10 +36828,12 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.DomainId = ptr.String(jtv) } + case "formsOutput": if err := awsRestjson1_deserializeDocumentFormsOutputMap(&sv.FormsOutput, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -35581,6 +36842,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Name = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -35589,6 +36851,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.Revision = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -35604,6 +36867,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -35612,6 +36876,7 @@ func awsRestjson1_deserializeDocumentLineageNodeTypeItem(v **types.LineageNodeTy } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -35735,6 +37000,7 @@ func awsRestjson1_deserializeDocumentListingRevision(v **types.ListingRevision, } sv.Id = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -35743,6 +37009,7 @@ func awsRestjson1_deserializeDocumentListingRevision(v **types.ListingRevision, } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -35812,6 +37079,7 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "listingId": if value != nil { jtv, ok := value.(string) @@ -35820,6 +37088,7 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va } sv.ListingId = ptr.String(jtv) } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -35828,6 +37097,7 @@ func awsRestjson1_deserializeDocumentListingSummary(v **types.ListingSummary, va } sv.ListingRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -35863,6 +37133,7 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "listingId": if value != nil { jtv, ok := value.(string) @@ -35871,6 +37142,7 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary } sv.ListingId = ptr.String(jtv) } + case "listingRevision": if value != nil { jtv, ok := value.(string) @@ -35879,6 +37151,7 @@ func awsRestjson1_deserializeDocumentListingSummaryItem(v **types.ListingSummary } sv.ListingRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -36009,6 +37282,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -36017,6 +37291,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -36025,6 +37300,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -36033,6 +37309,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Id = ptr.String(jtv) } + case "owningProjectId": if value != nil { jtv, ok := value.(string) @@ -36041,6 +37318,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.OwningProjectId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -36049,10 +37327,12 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Status = types.MetadataGenerationRunStatus(jtv) } + case "target": if err := awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(&sv.Target, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -36061,6 +37341,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunItem(v **types.Metadat } sv.Type = types.MetadataGenerationRunType(jtv) } + default: _, _ = key, value @@ -36134,6 +37415,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Identifier = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -36142,6 +37424,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Revision = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -36150,6 +37433,7 @@ func awsRestjson1_deserializeDocumentMetadataGenerationRunTarget(v **types.Metad } sv.Type = types.MetadataGenerationTargetType(jtv) } + default: _, _ = key, value @@ -36267,6 +37551,7 @@ func awsRestjson1_deserializeDocumentNotEqualToExpression(v **types.NotEqualToEx } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -36275,6 +37560,7 @@ func awsRestjson1_deserializeDocumentNotEqualToExpression(v **types.NotEqualToEx } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -36314,6 +37600,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.ActionLink = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -36329,6 +37616,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } } + case "domainIdentifier": if value != nil { jtv, ok := value.(string) @@ -36337,6 +37625,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.DomainIdentifier = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -36345,6 +37634,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Identifier = ptr.String(jtv) } + case "lastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -36360,6 +37650,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } } + case "message": if value != nil { jtv, ok := value.(string) @@ -36368,10 +37659,12 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Message = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentMetadataMap(&sv.Metadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -36380,6 +37673,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Status = types.TaskStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -36388,10 +37682,12 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Title = ptr.String(jtv) } + case "topic": if err := awsRestjson1_deserializeDocumentTopic(&sv.Topic, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -36400,6 +37696,7 @@ func awsRestjson1_deserializeDocumentNotificationOutput(v **types.NotificationOu } sv.Type = types.NotificationType(jtv) } + default: _, _ = key, value @@ -36439,6 +37736,7 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -36447,6 +37745,7 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -36455,6 +37754,7 @@ func awsRestjson1_deserializeDocumentNotificationResource(v **types.Notification } sv.Type = types.NotificationResourceType(jtv) } + default: _, _ = key, value @@ -36528,10 +37828,12 @@ func awsRestjson1_deserializeDocumentNotInExpression(v **types.NotInExpression, } sv.ColumnName = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -36571,6 +37873,7 @@ func awsRestjson1_deserializeDocumentNotLikeExpression(v **types.NotLikeExpressi } sv.ColumnName = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -36579,6 +37882,7 @@ func awsRestjson1_deserializeDocumentNotLikeExpression(v **types.NotLikeExpressi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -36618,6 +37922,7 @@ func awsRestjson1_deserializeDocumentOverrideDomainUnitOwnersPolicyGrantDetail(v } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -36657,6 +37962,7 @@ func awsRestjson1_deserializeDocumentOverrideProjectOwnersPolicyGrantDetail(v ** } sv.IncludeChildDomainUnits = ptr.Bool(jtv) } + default: _, _ = key, value @@ -36696,6 +38002,7 @@ func awsRestjson1_deserializeDocumentOwnerGroupPropertiesOutput(v **types.OwnerG } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -36785,6 +38092,7 @@ func awsRestjson1_deserializeDocumentOwnerUserPropertiesOutput(v **types.OwnerUs } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -37005,6 +38313,7 @@ func awsRestjson1_deserializeDocumentPolicyGrantMember(v **types.PolicyGrantMemb } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -37013,14 +38322,17 @@ func awsRestjson1_deserializeDocumentPolicyGrantMember(v **types.PolicyGrantMemb } sv.CreatedBy = ptr.String(jtv) } + case "detail": if err := awsRestjson1_deserializeDocumentPolicyGrantDetail(&sv.Detail, value); err != nil { return err } + case "principal": if err := awsRestjson1_deserializeDocumentPolicyGrantPrincipal(&sv.Principal, value); err != nil { return err } + default: _, _ = key, value @@ -37122,6 +38434,7 @@ func awsRestjson1_deserializeDocumentPredictionConfiguration(v **types.Predictio if err := awsRestjson1_deserializeDocumentBusinessNameGenerationConfiguration(&sv.BusinessNameGeneration, value); err != nil { return err } + default: _, _ = key, value @@ -37161,6 +38474,7 @@ func awsRestjson1_deserializeDocumentProjectDeletionError(v **types.ProjectDelet } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -37169,6 +38483,7 @@ func awsRestjson1_deserializeDocumentProjectDeletionError(v **types.ProjectDelet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -37248,10 +38563,12 @@ func awsRestjson1_deserializeDocumentProjectMember(v **types.ProjectMember, valu } sv.Designation = types.UserDesignation(jtv) } + case "memberDetails": if err := awsRestjson1_deserializeDocumentMemberDetails(&sv.MemberDetails, value); err != nil { return err } + default: _, _ = key, value @@ -37325,10 +38642,12 @@ func awsRestjson1_deserializeDocumentProjectPolicyGrantPrincipal(v **types.Proje } sv.ProjectDesignation = types.ProjectDesignation(jtv) } + case "projectGrantFilter": if err := awsRestjson1_deserializeDocumentProjectGrantFilter(&sv.ProjectGrantFilter, value); err != nil { return err } + case "projectIdentifier": if value != nil { jtv, ok := value.(string) @@ -37337,6 +38656,7 @@ func awsRestjson1_deserializeDocumentProjectPolicyGrantPrincipal(v **types.Proje } sv.ProjectIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -37414,6 +38734,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -37422,6 +38743,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -37430,6 +38752,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -37438,6 +38761,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DomainId = ptr.String(jtv) } + case "domainUnitId": if value != nil { jtv, ok := value.(string) @@ -37446,10 +38770,12 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.DomainUnitId = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -37458,6 +38784,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -37466,6 +38793,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } + case "projectStatus": if value != nil { jtv, ok := value.(string) @@ -37474,6 +38802,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectStatus = types.ProjectStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -37486,6 +38815,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -37637,6 +38967,7 @@ func awsRestjson1_deserializeDocumentRecommendationConfiguration(v **types.Recom } sv.EnableBusinessNameGeneration = ptr.Bool(jtv) } + default: _, _ = key, value @@ -37676,6 +39007,7 @@ func awsRestjson1_deserializeDocumentRedshiftClusterStorage(v **types.RedshiftCl } sv.ClusterName = ptr.String(jtv) } + default: _, _ = key, value @@ -37715,6 +39047,7 @@ func awsRestjson1_deserializeDocumentRedshiftCredentialConfiguration(v **types.R } sv.SecretManagerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -37754,6 +39087,7 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.AccountId = ptr.String(jtv) } + case "dataAccessRole": if value != nil { jtv, ok := value.(string) @@ -37762,14 +39096,17 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.DataAccessRole = ptr.String(jtv) } + case "redshiftCredentialConfiguration": if err := awsRestjson1_deserializeDocumentRedshiftCredentialConfiguration(&sv.RedshiftCredentialConfiguration, value); err != nil { return err } + case "redshiftStorage": if err := awsRestjson1_deserializeDocumentRedshiftStorage(&sv.RedshiftStorage, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -37778,10 +39115,12 @@ func awsRestjson1_deserializeDocumentRedshiftRunConfigurationOutput(v **types.Re } sv.Region = ptr.String(jtv) } + case "relationalFilterConfigurations": if err := awsRestjson1_deserializeDocumentRelationalFilterConfigurations(&sv.RelationalFilterConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -37817,6 +39156,7 @@ func awsRestjson1_deserializeDocumentRedshiftSelfGrantStatusOutput(v **types.Red if err := awsRestjson1_deserializeDocumentSelfGrantStatusDetails(&sv.SelfGrantStatusDetails, value); err != nil { return err } + default: _, _ = key, value @@ -37856,6 +39196,7 @@ func awsRestjson1_deserializeDocumentRedshiftServerlessStorage(v **types.Redshif } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -38015,10 +39356,12 @@ func awsRestjson1_deserializeDocumentRelationalFilterConfiguration(v **types.Rel } sv.DatabaseName = ptr.String(jtv) } + case "filterExpressions": if err := awsRestjson1_deserializeDocumentFilterExpressions(&sv.FilterExpressions, value); err != nil { return err } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -38027,6 +39370,7 @@ func awsRestjson1_deserializeDocumentRelationalFilterConfiguration(v **types.Rel } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -38100,6 +39444,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -38108,6 +39453,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Provider = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -38116,6 +39462,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -38124,6 +39471,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -38197,6 +39545,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38286,6 +39635,7 @@ func awsRestjson1_deserializeDocumentRowFilterConfiguration(v **types.RowFilterC if err := awsRestjson1_deserializeDocumentRowFilter(&sv.RowFilter, value); err != nil { return err } + case "sensitive": if value != nil { jtv, ok := value.(bool) @@ -38294,6 +39644,7 @@ func awsRestjson1_deserializeDocumentRowFilterConfiguration(v **types.RowFilterC } sv.Sensitive = ptr.Bool(jtv) } + default: _, _ = key, value @@ -38519,6 +39870,7 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Added = ptr.Int32(int32(i64)) } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -38531,6 +39883,7 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Failed = ptr.Int32(int32(i64)) } + case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -38543,6 +39896,7 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Skipped = ptr.Int32(int32(i64)) } + case "unchanged": if value != nil { jtv, ok := value.(json.Number) @@ -38555,6 +39909,7 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Unchanged = ptr.Int32(int32(i64)) } + case "updated": if value != nil { jtv, ok := value.(json.Number) @@ -38567,6 +39922,7 @@ func awsRestjson1_deserializeDocumentRunStatisticsForAssets(v **types.RunStatist } sv.Updated = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -38642,6 +39998,7 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Schedule = ptr.String(jtv) } + case "timezone": if value != nil { jtv, ok := value.(string) @@ -38650,6 +40007,7 @@ func awsRestjson1_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.Timezone = types.Timezone(jtv) } + default: _, _ = key, value @@ -38965,6 +40323,7 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.DatabaseName = ptr.String(jtv) } + case "failureCause": if value != nil { jtv, ok := value.(string) @@ -38973,6 +40332,7 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.FailureCause = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -38981,6 +40341,7 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.SchemaName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -38989,6 +40350,7 @@ func awsRestjson1_deserializeDocumentSelfGrantStatusDetail(v **types.SelfGrantSt } sv.Status = types.SelfGrantStatus(jtv) } + default: _, _ = key, value @@ -39112,6 +40474,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39151,6 +40514,7 @@ func awsRestjson1_deserializeDocumentSingleSignOn(v **types.SingleSignOn, value } sv.Type = types.AuthType(jtv) } + case "userAssignment": if value != nil { jtv, ok := value.(string) @@ -39159,6 +40523,7 @@ func awsRestjson1_deserializeDocumentSingleSignOn(v **types.SingleSignOn, value } sv.UserAssignment = types.UserAssignment(jtv) } + default: _, _ = key, value @@ -39198,6 +40563,7 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.FirstName = ptr.String(jtv) } + case "lastName": if value != nil { jtv, ok := value.(string) @@ -39206,6 +40572,7 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.LastName = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -39214,6 +40581,7 @@ func awsRestjson1_deserializeDocumentSsoUserProfileDetails(v **types.SsoUserProf } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -39289,6 +40657,7 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.AssetId = ptr.String(jtv) } + case "assetRevision": if value != nil { jtv, ok := value.(string) @@ -39297,14 +40666,17 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.AssetRevision = ptr.String(jtv) } + case "assetScope": if err := awsRestjson1_deserializeDocumentAssetScope(&sv.AssetScope, value); err != nil { return err } + case "failureCause": if err := awsRestjson1_deserializeDocumentFailureCause(&sv.FailureCause, value); err != nil { return err } + case "failureTimestamp": if value != nil { switch jtv := value.(type) { @@ -39320,6 +40692,7 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } } + case "grantedTimestamp": if value != nil { switch jtv := value.(type) { @@ -39335,6 +40708,7 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } } + case "status": if value != nil { jtv, ok := value.(string) @@ -39343,6 +40717,7 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.Status = types.SubscriptionGrantStatus(jtv) } + case "targetName": if value != nil { jtv, ok := value.(string) @@ -39351,6 +40726,7 @@ func awsRestjson1_deserializeDocumentSubscribedAsset(v **types.SubscribedAsset, } sv.TargetName = ptr.String(jtv) } + default: _, _ = key, value @@ -39386,6 +40762,7 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed if err := awsRestjson1_deserializeDocumentAssetScope(&sv.AssetScope, value); err != nil { return err } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -39394,6 +40771,7 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityId = ptr.String(jtv) } + case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -39402,6 +40780,7 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityRevision = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -39410,6 +40789,7 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.EntityType = ptr.String(jtv) } + case "forms": if value != nil { jtv, ok := value.(string) @@ -39418,10 +40798,12 @@ func awsRestjson1_deserializeDocumentSubscribedAssetListing(v **types.Subscribed } sv.Forms = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + default: _, _ = key, value @@ -39495,6 +40877,7 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -39503,10 +40886,12 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Id = ptr.String(jtv) } + case "item": if err := awsRestjson1_deserializeDocumentSubscribedListingItem(&sv.Item, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -39515,6 +40900,7 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Name = ptr.String(jtv) } + case "ownerProjectId": if value != nil { jtv, ok := value.(string) @@ -39523,6 +40909,7 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.OwnerProjectId = ptr.String(jtv) } + case "ownerProjectName": if value != nil { jtv, ok := value.(string) @@ -39531,6 +40918,7 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.OwnerProjectName = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(string) @@ -39539,6 +40927,7 @@ func awsRestjson1_deserializeDocumentSubscribedListing(v **types.SubscribedListi } sv.Revision = ptr.String(jtv) } + default: _, _ = key, value @@ -39730,6 +41119,7 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib if err := awsRestjson1_deserializeDocumentAssetInDataProductListingItems(&sv.AssetListings, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -39738,6 +41128,7 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.Description = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -39746,6 +41137,7 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.EntityId = ptr.String(jtv) } + case "entityRevision": if value != nil { jtv, ok := value.(string) @@ -39754,10 +41146,12 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.EntityRevision = ptr.String(jtv) } + case "glossaryTerms": if err := awsRestjson1_deserializeDocumentDetailedGlossaryTerms(&sv.GlossaryTerms, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -39766,6 +41160,7 @@ func awsRestjson1_deserializeDocumentSubscribedProductListing(v **types.Subscrib } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -39805,6 +41200,7 @@ func awsRestjson1_deserializeDocumentSubscribedProject(v **types.SubscribedProje } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -39813,6 +41209,7 @@ func awsRestjson1_deserializeDocumentSubscribedProject(v **types.SubscribedProje } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -39882,6 +41279,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip if err := awsRestjson1_deserializeDocumentSubscribedAssets(&sv.Assets, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -39897,6 +41295,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -39905,6 +41304,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -39913,10 +41313,12 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.DomainId = ptr.String(jtv) } + case "grantedEntity": if err := awsRestjson1_deserializeDocumentGrantedEntity(&sv.GrantedEntity, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -39925,6 +41327,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -39933,6 +41336,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.Status = types.SubscriptionGrantOverallStatus(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -39941,6 +41345,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.SubscriptionId = ptr.String(jtv) } + case "subscriptionTargetId": if value != nil { jtv, ok := value.(string) @@ -39949,6 +41354,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.SubscriptionTargetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -39964,6 +41370,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -39972,6 +41379,7 @@ func awsRestjson1_deserializeDocumentSubscriptionGrantSummary(v **types.Subscrip } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -40052,6 +41460,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -40060,6 +41469,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.CreatedBy = ptr.String(jtv) } + case "decisionComment": if value != nil { jtv, ok := value.(string) @@ -40068,6 +41478,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.DecisionComment = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -40076,6 +41487,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -40084,6 +41496,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.Id = ptr.String(jtv) } + case "requestReason": if value != nil { jtv, ok := value.(string) @@ -40092,6 +41505,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.RequestReason = ptr.String(jtv) } + case "reviewerId": if value != nil { jtv, ok := value.(string) @@ -40100,6 +41514,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.ReviewerId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -40108,14 +41523,17 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.Status = types.SubscriptionRequestStatus(jtv) } + case "subscribedListings": if err := awsRestjson1_deserializeDocumentSubscribedListings(&sv.SubscribedListings, value); err != nil { return err } + case "subscribedPrincipals": if err := awsRestjson1_deserializeDocumentSubscribedPrincipals(&sv.SubscribedPrincipals, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -40131,6 +41549,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -40139,6 +41558,7 @@ func awsRestjson1_deserializeDocumentSubscriptionRequestSummary(v **types.Subscr } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -40219,6 +41639,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -40227,6 +41648,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -40235,6 +41657,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -40243,6 +41666,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.Id = ptr.String(jtv) } + case "retainPermissions": if value != nil { jtv, ok := value.(bool) @@ -40251,6 +41675,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.RetainPermissions = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -40259,14 +41684,17 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.Status = types.SubscriptionStatus(jtv) } + case "subscribedListing": if err := awsRestjson1_deserializeDocumentSubscribedListing(&sv.SubscribedListing, value); err != nil { return err } + case "subscribedPrincipal": if err := awsRestjson1_deserializeDocumentSubscribedPrincipal(&sv.SubscribedPrincipal, value); err != nil { return err } + case "subscriptionRequestId": if value != nil { jtv, ok := value.(string) @@ -40275,6 +41703,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.SubscriptionRequestId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -40290,6 +41719,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -40298,6 +41728,7 @@ func awsRestjson1_deserializeDocumentSubscriptionSummary(v **types.SubscriptionS } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -40337,6 +41768,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetForm(v **types.Subscripti } sv.Content = ptr.String(jtv) } + case "formName": if value != nil { jtv, ok := value.(string) @@ -40345,6 +41777,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetForm(v **types.Subscripti } sv.FormName = ptr.String(jtv) } + default: _, _ = key, value @@ -40448,10 +41881,12 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri if err := awsRestjson1_deserializeDocumentApplicableAssetTypes(&sv.ApplicableAssetTypes, value); err != nil { return err } + case "authorizedPrincipals": if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalIdentifiers(&sv.AuthorizedPrincipals, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -40467,6 +41902,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -40475,6 +41911,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.CreatedBy = ptr.String(jtv) } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -40483,6 +41920,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.DomainId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -40491,6 +41929,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -40499,6 +41938,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Id = ptr.String(jtv) } + case "manageAccessRole": if value != nil { jtv, ok := value.(string) @@ -40507,6 +41947,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.ManageAccessRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -40515,6 +41956,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Name = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -40523,6 +41965,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.ProjectId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -40531,10 +41974,12 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Provider = ptr.String(jtv) } + case "subscriptionTargetConfig": if err := awsRestjson1_deserializeDocumentSubscriptionTargetForms(&sv.SubscriptionTargetConfig, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -40543,6 +41988,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -40558,6 +42004,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -40566,6 +42013,7 @@ func awsRestjson1_deserializeDocumentSubscriptionTargetSummary(v **types.Subscri } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -40637,10 +42085,12 @@ func awsRestjson1_deserializeDocumentTermRelations(v **types.TermRelations, valu if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.Classifies, value); err != nil { return err } + case "isA": if err := awsRestjson1_deserializeDocumentGlossaryTerms(&sv.IsA, value); err != nil { return err } + default: _, _ = key, value @@ -40680,6 +42130,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -40719,6 +42170,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.Content = ptr.String(jtv) } + case "formName": if value != nil { jtv, ok := value.(string) @@ -40727,6 +42179,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.FormName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -40735,6 +42188,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.Id = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -40750,6 +42204,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -40758,6 +42213,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -40766,6 +42222,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointFormOutput(v **types.Tim } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -40839,6 +42296,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.ContentSummary = ptr.String(jtv) } + case "formName": if value != nil { jtv, ok := value.(string) @@ -40847,6 +42305,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.FormName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -40855,6 +42314,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.Id = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -40870,6 +42330,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } } + case "typeIdentifier": if value != nil { jtv, ok := value.(string) @@ -40878,6 +42339,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.TypeIdentifier = ptr.String(jtv) } + case "typeRevision": if value != nil { jtv, ok := value.(string) @@ -40886,6 +42348,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesDataPointSummaryFormOutput(v **ty } sv.TypeRevision = ptr.String(jtv) } + default: _, _ = key, value @@ -40955,6 +42418,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e if err := awsRestjson1_deserializeDocumentNotificationResource(&sv.Resource, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -40963,6 +42427,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Role = types.NotificationRole(jtv) } + case "subject": if value != nil { jtv, ok := value.(string) @@ -40971,6 +42436,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -41010,6 +42476,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41080,6 +42547,7 @@ func awsRestjson1_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -41251,6 +42719,7 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum if err := awsRestjson1_deserializeDocumentUserProfileDetails(&sv.Details, value); err != nil { return err } + case "domainId": if value != nil { jtv, ok := value.(string) @@ -41259,6 +42728,7 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.DomainId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -41267,6 +42737,7 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -41275,6 +42746,7 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Status = types.UserProfileStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -41283,6 +42755,7 @@ func awsRestjson1_deserializeDocumentUserProfileSummary(v **types.UserProfileSum } sv.Type = types.UserProfileType(jtv) } + default: _, _ = key, value @@ -41322,6 +42795,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/dax/deserializers.go b/service/dax/deserializers.go index de4df28ae40..187af8bde70 100644 --- a/service/dax/deserializers.go +++ b/service/dax/deserializers.go @@ -3627,6 +3627,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveNodes = ptr.Int32(int32(i64)) } + case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -3635,10 +3636,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "ClusterDiscoveryEndpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.ClusterDiscoveryEndpoint, value); err != nil { return err } + case "ClusterEndpointEncryptionType": if value != nil { jtv, ok := value.(string) @@ -3647,6 +3650,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterEndpointEncryptionType = types.ClusterEndpointEncryptionType(jtv) } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -3655,6 +3659,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3663,6 +3668,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Description = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3671,14 +3677,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.IamRoleArn = ptr.String(jtv) } + case "NodeIdsToRemove": if err := awsAwsjson11_deserializeDocumentNodeIdentifierList(&sv.NodeIdsToRemove, value); err != nil { return err } + case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -3687,14 +3696,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NodeType = ptr.String(jtv) } + case "NotificationConfiguration": if err := awsAwsjson11_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + case "ParameterGroup": if err := awsAwsjson11_deserializeDocumentParameterGroupStatus(&sv.ParameterGroup, value); err != nil { return err } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3703,14 +3715,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupMembershipList(&sv.SecurityGroups, value); err != nil { return err } + case "SSEDescription": if err := awsAwsjson11_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3719,6 +3734,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } + case "SubnetGroup": if value != nil { jtv, ok := value.(string) @@ -3727,6 +3743,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SubnetGroup = ptr.String(jtv) } + case "TotalNodes": if value != nil { jtv, ok := value.(json.Number) @@ -3739,6 +3756,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TotalNodes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3778,6 +3796,7 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3851,6 +3870,7 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3890,6 +3910,7 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3929,6 +3950,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -3941,6 +3963,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = int32(i64) } + case "URL": if value != nil { jtv, ok := value.(string) @@ -3949,6 +3972,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.URL = ptr.String(jtv) } + default: _, _ = key, value @@ -3995,6 +4019,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4003,6 +4028,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } + case "SourceName": if value != nil { jtv, ok := value.(string) @@ -4011,6 +4037,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceName = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -4019,6 +4046,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -4092,6 +4120,7 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4131,6 +4160,7 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4170,6 +4200,7 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4209,6 +4240,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4248,6 +4280,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4287,6 +4320,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4326,6 +4360,7 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4365,6 +4400,7 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4404,10 +4440,12 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } + case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + case "NodeCreateTime": if value != nil { switch jtv := value.(type) { @@ -4423,6 +4461,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -4431,6 +4470,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeId = ptr.String(jtv) } + case "NodeStatus": if value != nil { jtv, ok := value.(string) @@ -4439,6 +4479,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeStatus = ptr.String(jtv) } + case "ParameterGroupStatus": if value != nil { jtv, ok := value.(string) @@ -4447,6 +4488,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.ParameterGroupStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -4556,6 +4598,7 @@ func awsAwsjson11_deserializeDocumentNodeNotFoundFault(v **types.NodeNotFoundFau } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4595,6 +4638,7 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4634,6 +4678,7 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4673,6 +4718,7 @@ func awsAwsjson11_deserializeDocumentNodeTypeSpecificValue(v **types.NodeTypeSpe } sv.NodeType = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4681,6 +4727,7 @@ func awsAwsjson11_deserializeDocumentNodeTypeSpecificValue(v **types.NodeTypeSpe } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4754,6 +4801,7 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.TopicArn = ptr.String(jtv) } + case "TopicStatus": if value != nil { jtv, ok := value.(string) @@ -4762,6 +4810,7 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.TopicStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -4801,6 +4850,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.AllowedValues = ptr.String(jtv) } + case "ChangeType": if value != nil { jtv, ok := value.(string) @@ -4809,6 +4859,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ChangeType = types.ChangeType(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -4817,6 +4868,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4825,6 +4877,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } + case "IsModifiable": if value != nil { jtv, ok := value.(string) @@ -4833,10 +4886,12 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.IsModifiable = types.IsModifiable(jtv) } + case "NodeTypeSpecificValues": if err := awsAwsjson11_deserializeDocumentNodeTypeSpecificValueList(&sv.NodeTypeSpecificValues, value); err != nil { return err } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -4845,6 +4900,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterName = ptr.String(jtv) } + case "ParameterType": if value != nil { jtv, ok := value.(string) @@ -4853,6 +4909,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterType = types.ParameterType(jtv) } + case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -4861,6 +4918,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ParameterValue = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -4869,6 +4927,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -4908,6 +4967,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Description = ptr.String(jtv) } + case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -4916,6 +4976,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.ParameterGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -4955,6 +5016,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5028,6 +5090,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5067,6 +5130,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5102,6 +5166,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro if err := awsAwsjson11_deserializeDocumentNodeIdentifierList(&sv.NodeIdsToReboot, value); err != nil { return err } + case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -5110,6 +5175,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro } sv.ParameterApplyStatus = ptr.String(jtv) } + case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -5118,6 +5184,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupStatus(v **types.ParameterGro } sv.ParameterGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -5191,6 +5258,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.SecurityGroupIdentifier = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5199,6 +5267,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5272,6 +5341,7 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5342,6 +5412,7 @@ func awsAwsjson11_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.Status = types.SSEStatus(jtv) } + default: _, _ = key, value @@ -5381,6 +5452,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -5389,6 +5461,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.SubnetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5428,6 +5501,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Description = ptr.String(jtv) } + case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -5436,10 +5510,12 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.SubnetGroupName = ptr.String(jtv) } + case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5448,6 +5524,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -5487,6 +5564,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5526,6 +5604,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5599,6 +5678,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5638,6 +5718,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5677,6 +5758,7 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5750,6 +5832,7 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5789,6 +5872,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5797,6 +5881,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5870,6 +5955,7 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5909,6 +5995,7 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5944,6 +6031,7 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -5979,6 +6067,7 @@ func awsAwsjson11_deserializeOpDocumentCreateParameterGroupOutput(v **CreatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -6014,6 +6103,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSubnetGroupOutput(v **CreateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -6049,6 +6139,7 @@ func awsAwsjson11_deserializeOpDocumentDecreaseReplicationFactorOutput(v **Decre if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -6084,6 +6175,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -6123,6 +6215,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteParameterGroupOutput(v **DeletePara } sv.DeletionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6162,6 +6255,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSubnetGroupOutput(v **DeleteSubnetG } sv.DeletionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6197,6 +6291,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6205,6 +6300,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6244,10 +6340,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDefaultParametersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -6283,6 +6381,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6390,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6330,10 +6430,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeParameterGroupsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ParameterGroups": if err := awsAwsjson11_deserializeDocumentParameterGroupList(&sv.ParameterGroups, value); err != nil { return err } + default: _, _ = key, value @@ -6373,10 +6475,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -6416,10 +6520,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubnetGroupsOutput(v **DescribeSu } sv.NextToken = ptr.String(jtv) } + case "SubnetGroups": if err := awsAwsjson11_deserializeDocumentSubnetGroupList(&sv.SubnetGroups, value); err != nil { return err } + default: _, _ = key, value @@ -6455,6 +6561,7 @@ func awsAwsjson11_deserializeOpDocumentIncreaseReplicationFactorOutput(v **Incre if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -6494,10 +6601,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6533,6 +6642,7 @@ func awsAwsjson11_deserializeOpDocumentRebootNodeOutput(v **RebootNodeOutput, va if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -6568,6 +6678,7 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6603,6 +6714,7 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6638,6 +6750,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -6673,6 +6786,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParameterGroupOutput(v **UpdatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -6708,6 +6822,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubnetGroupOutput(v **UpdateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/deadline/deserializers.go b/service/deadline/deserializers.go index 0b687c8f4b7..f25f55f0210 100644 --- a/service/deadline/deserializers.go +++ b/service/deadline/deserializers.go @@ -599,6 +599,7 @@ func awsRestjson1_deserializeOpDocumentAssumeFleetRoleForReadOutput(v **AssumeFl if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + default: _, _ = key, value @@ -765,6 +766,7 @@ func awsRestjson1_deserializeOpDocumentAssumeFleetRoleForWorkerOutput(v **Assume if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + default: _, _ = key, value @@ -928,6 +930,7 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForReadOutput(v **AssumeQu if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + default: _, _ = key, value @@ -1091,6 +1094,7 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForUserOutput(v **AssumeQu if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + default: _, _ = key, value @@ -1257,6 +1261,7 @@ func awsRestjson1_deserializeOpDocumentAssumeQueueRoleForWorkerOutput(v **Assume if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + default: _, _ = key, value @@ -1420,10 +1425,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetJobEntityOutput(v **BatchGetJobEn if err := awsRestjson1_deserializeDocumentBatchGetJobEntityList(&sv.Entities, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchGetJobEntityErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -1591,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentCopyJobTemplateOutput(v **CopyJobTemplate } sv.TemplateType = types.JobTemplateType(jtv) } + default: _, _ = key, value @@ -1761,6 +1769,7 @@ func awsRestjson1_deserializeOpDocumentCreateBudgetOutput(v **CreateBudgetOutput } sv.BudgetId = ptr.String(jtv) } + default: _, _ = key, value @@ -1931,6 +1940,7 @@ func awsRestjson1_deserializeOpDocumentCreateFarmOutput(v **CreateFarmOutput, va } sv.FarmId = ptr.String(jtv) } + default: _, _ = key, value @@ -2101,6 +2111,7 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -2271,6 +2282,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -2441,6 +2453,7 @@ func awsRestjson1_deserializeOpDocumentCreateLicenseEndpointOutput(v **CreateLic } sv.LicenseEndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -2608,6 +2621,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "monitorId": if value != nil { jtv, ok := value.(string) @@ -2616,6 +2630,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorId = ptr.String(jtv) } + default: _, _ = key, value @@ -2786,6 +2801,7 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueId = ptr.String(jtv) } + default: _, _ = key, value @@ -2956,6 +2972,7 @@ func awsRestjson1_deserializeOpDocumentCreateQueueEnvironmentOutput(v **CreateQu } sv.QueueEnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -3226,6 +3243,7 @@ func awsRestjson1_deserializeOpDocumentCreateStorageProfileOutput(v **CreateStor } sv.StorageProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -3396,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerOutput(v **CreateWorkerOutput } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5074,6 +5093,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu if err := awsRestjson1_deserializeDocumentResponseBudgetActionList(&sv.Actions, value); err != nil { return err } + case "approximateDollarLimit": if value != nil { switch jtv := value.(type) { @@ -5107,6 +5127,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } } + case "budgetId": if value != nil { jtv, ok := value.(string) @@ -5115,6 +5136,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.BudgetId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5127,6 +5149,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5158,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5143,6 +5167,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -5151,6 +5176,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.DisplayName = ptr.String(jtv) } + case "queueStoppedAt": if value != nil { jtv, ok := value.(string) @@ -5163,10 +5189,12 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.QueueStoppedAt = ptr.Time(t) } + case "schedule": if err := awsRestjson1_deserializeDocumentBudgetSchedule(&sv.Schedule, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5175,6 +5203,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.Status = types.BudgetStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5216,7 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5195,14 +5225,17 @@ func awsRestjson1_deserializeOpDocumentGetBudgetOutput(v **GetBudgetOutput, valu } sv.UpdatedBy = ptr.String(jtv) } + case "usages": if err := awsRestjson1_deserializeDocumentConsumedUsages(&sv.Usages, value); err != nil { return err } + case "usageTrackingResource": if err := awsRestjson1_deserializeDocumentUsageTrackingResource(&sv.UsageTrackingResource, value); err != nil { return err } + default: _, _ = key, value @@ -5374,6 +5407,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5382,6 +5416,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5390,6 +5425,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -5398,6 +5434,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -5406,6 +5443,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.FarmId = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5414,6 +5452,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.KmsKeyArn = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5426,6 +5465,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5434,6 +5474,7 @@ func awsRestjson1_deserializeOpDocumentGetFarmOutput(v **GetFarmOutput, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -5601,14 +5642,17 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.AutoScalingStatus = types.AutoScalingStatus(jtv) } + case "capabilities": if err := awsRestjson1_deserializeDocumentFleetCapabilities(&sv.Capabilities, value); err != nil { return err } + case "configuration": if err := awsRestjson1_deserializeDocumentFleetConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5665,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5674,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5637,6 +5683,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5692,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5701,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.FarmId = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5710,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.FleetId = ptr.String(jtv) } + case "maxWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5673,6 +5723,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.MaxWorkerCount = ptr.Int32(int32(i64)) } + case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5685,6 +5736,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.MinWorkerCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5693,6 +5745,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5701,6 +5754,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Status = types.FleetStatus(jtv) } + case "targetWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5713,6 +5767,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.TargetWorkerCount = ptr.Int32(int32(i64)) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5725,6 +5780,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5733,6 +5789,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.UpdatedBy = ptr.String(jtv) } + case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -5745,6 +5802,7 @@ func awsRestjson1_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.WorkerCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5908,6 +5966,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5920,6 +5979,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5928,6 +5988,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5936,6 +5997,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Description = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -5948,6 +6010,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.EndedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -5956,6 +6019,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.JobId = ptr.String(jtv) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -5964,6 +6028,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -5972,6 +6037,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -5984,6 +6050,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } + case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -5996,6 +6063,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6004,10 +6072,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.Parameters, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -6020,6 +6090,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.Priority = ptr.Int32(int32(i64)) } + case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -6028,6 +6099,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.SourceJobId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -6040,6 +6112,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StartedAt = ptr.Time(t) } + case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -6048,6 +6121,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.StorageProfileId = ptr.String(jtv) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -6056,6 +6130,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -6064,10 +6139,12 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6080,6 +6157,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6166,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -6255,6 +6334,7 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.DnsName = ptr.String(jtv) } + case "licenseEndpointId": if value != nil { jtv, ok := value.(string) @@ -6263,10 +6343,12 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.LicenseEndpointId = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6275,6 +6357,7 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.Status = types.LicenseEndpointStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6283,10 +6366,12 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.StatusMessage = ptr.String(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -6295,6 +6380,7 @@ func awsRestjson1_deserializeOpDocumentGetLicenseEndpointOutput(v **GetLicenseEn } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -6466,6 +6552,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6561,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedBy = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -6482,6 +6570,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.DisplayName = ptr.String(jtv) } + case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -6490,6 +6579,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "identityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -6498,6 +6588,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.IdentityCenterInstanceArn = ptr.String(jtv) } + case "monitorId": if value != nil { jtv, ok := value.(string) @@ -6506,6 +6597,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6514,6 +6606,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.RoleArn = ptr.String(jtv) } + case "subdomain": if value != nil { jtv, ok := value.(string) @@ -6522,6 +6615,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Subdomain = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6628,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6542,6 +6637,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.UpdatedBy = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -6550,6 +6646,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -6713,6 +6810,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsRestjson1_deserializeDocumentAllowedStorageProfileIds(&sv.AllowedStorageProfileIds, value); err != nil { return err } + case "blockedReason": if value != nil { jtv, ok := value.(string) @@ -6721,6 +6819,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.BlockedReason = types.QueueBlockedReason(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6733,6 +6832,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6741,6 +6841,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.CreatedBy = ptr.String(jtv) } + case "defaultBudgetAction": if value != nil { jtv, ok := value.(string) @@ -6749,6 +6850,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.DefaultBudgetAction = types.DefaultQueueBudgetAction(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6757,6 +6859,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -6765,6 +6868,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -6773,14 +6877,17 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.FarmId = ptr.String(jtv) } + case "jobAttachmentSettings": if err := awsRestjson1_deserializeDocumentJobAttachmentSettings(&sv.JobAttachmentSettings, value); err != nil { return err } + case "jobRunAsUser": if err := awsRestjson1_deserializeDocumentJobRunAsUser(&sv.JobRunAsUser, value); err != nil { return err } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -6789,10 +6896,12 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.QueueId = ptr.String(jtv) } + case "requiredFileSystemLocationNames": if err := awsRestjson1_deserializeDocumentRequiredFileSystemLocationNames(&sv.RequiredFileSystemLocationNames, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6801,6 +6910,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6809,6 +6919,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.Status = types.QueueStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6821,6 +6932,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -6829,6 +6941,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -7000,6 +7113,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7008,6 +7122,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.CreatedBy = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7016,6 +7131,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7028,6 +7144,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Priority = ptr.Int32(int32(i64)) } + case "queueEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -7036,6 +7153,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.QueueEnvironmentId = ptr.String(jtv) } + case "template": if value != nil { jtv, ok := value.(string) @@ -7044,6 +7162,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.Template = ptr.String(jtv) } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -7052,6 +7171,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.TemplateType = types.EnvironmentTemplateType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7184,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7072,6 +7193,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueEnvironmentOutput(v **GetQueueEnv } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -7243,6 +7365,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -7251,6 +7374,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.CreatedBy = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -7259,6 +7383,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.FleetId = ptr.String(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -7267,6 +7392,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.QueueId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7275,6 +7401,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.Status = types.QueueFleetAssociationStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7287,6 +7414,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7295,6 +7423,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueFleetAssociationOutput(v **GetQue } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -7466,6 +7595,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.EndedAt = ptr.Time(t) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -7474,10 +7604,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.FleetId = ptr.String(jtv) } + case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -7486,10 +7618,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } + case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -7498,6 +7632,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7645,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.StartedAt = ptr.Time(t) } + case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -7518,6 +7654,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -7530,6 +7667,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -7538,6 +7676,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.UpdatedBy = ptr.String(jtv) } + case "workerId": if value != nil { jtv, ok := value.(string) @@ -7546,10 +7685,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.WorkerId = ptr.String(jtv) } + case "workerLog": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.WorkerLog, value); err != nil { return err } + default: _, _ = key, value @@ -7713,6 +7854,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi if err := awsRestjson1_deserializeDocumentSessionActionDefinition(&sv.Definition, value); err != nil { return err } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -7725,6 +7867,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.EndedAt = ptr.Time(t) } + case "processExitCode": if value != nil { jtv, ok := value.(json.Number) @@ -7737,6 +7880,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.ProcessExitCode = ptr.Int32(int32(i64)) } + case "progressMessage": if value != nil { jtv, ok := value.(string) @@ -7745,6 +7889,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.ProgressMessage = ptr.String(jtv) } + case "progressPercent": if value != nil { switch jtv := value.(type) { @@ -7778,6 +7923,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } } + case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -7786,6 +7932,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.SessionActionId = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -7794,6 +7941,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.SessionId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -7806,6 +7954,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7814,6 +7963,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.Status = types.SessionActionStatus(jtv) } + case "workerUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -7826,6 +7976,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionActionOutput(v **GetSessionActi } sv.WorkerUpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -7993,10 +8144,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.NextToken = ptr.String(jtv) } + case "statistics": if err := awsRestjson1_deserializeDocumentStatisticsList(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8005,6 +8158,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.Status = types.SessionsStatisticsAggregationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8013,6 +8167,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionsStatisticsAggregationOutput(v } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8184,6 +8339,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8192,10 +8348,12 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.CreatedBy = ptr.String(jtv) } + case "dependencyCounts": if err := awsRestjson1_deserializeDocumentDependencyCounts(&sv.DependencyCounts, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -8204,6 +8362,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.Description = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -8216,6 +8375,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.EndedAt = ptr.Time(t) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -8224,6 +8384,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -8232,6 +8393,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8240,14 +8402,17 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.Name = ptr.String(jtv) } + case "parameterSpace": if err := awsRestjson1_deserializeDocumentParameterSpace(&sv.ParameterSpace, value); err != nil { return err } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentStepRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -8260,6 +8425,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.StartedAt = ptr.Time(t) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -8268,6 +8434,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.StepId = ptr.String(jtv) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -8276,6 +8443,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -8284,10 +8452,12 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8300,6 +8470,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -8308,6 +8479,7 @@ func awsRestjson1_deserializeOpDocumentGetStepOutput(v **GetStepOutput, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -8479,6 +8651,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8487,6 +8660,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.CreatedBy = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -8495,10 +8669,12 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.DisplayName = ptr.String(jtv) } + case "fileSystemLocations": if err := awsRestjson1_deserializeDocumentFileSystemLocationsList(&sv.FileSystemLocations, value); err != nil { return err } + case "osFamily": if value != nil { jtv, ok := value.(string) @@ -8507,6 +8683,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } + case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -8515,6 +8692,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.StorageProfileId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8527,6 +8705,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -8535,6 +8714,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileOutput(v **GetStoragePro } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -8702,10 +8882,12 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.DisplayName = ptr.String(jtv) } + case "fileSystemLocations": if err := awsRestjson1_deserializeDocumentFileSystemLocationsList(&sv.FileSystemLocations, value); err != nil { return err } + case "osFamily": if value != nil { jtv, ok := value.(string) @@ -8714,6 +8896,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } + case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -8722,6 +8905,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageProfileForQueueOutput(v **GetSt } sv.StorageProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -8893,6 +9077,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -8901,6 +9086,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.CreatedBy = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -8913,6 +9099,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.EndedAt = ptr.Time(t) } + case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -8925,6 +9112,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.FailureRetryCount = ptr.Int32(int32(i64)) } + case "latestSessionActionId": if value != nil { jtv, ok := value.(string) @@ -8933,10 +9121,12 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.LatestSessionActionId = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } + case "runStatus": if value != nil { jtv, ok := value.(string) @@ -8945,6 +9135,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.RunStatus = types.TaskRunStatus(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -8957,6 +9148,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.StartedAt = ptr.Time(t) } + case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -8965,6 +9157,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -8973,6 +9166,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.TaskId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9179,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -8993,6 +9188,7 @@ func awsRestjson1_deserializeOpDocumentGetTaskOutput(v **GetTaskOutput, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -9164,6 +9360,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9172,6 +9369,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.CreatedBy = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -9180,6 +9378,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.FarmId = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -9188,14 +9387,17 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.FleetId = ptr.String(jtv) } + case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } + case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9204,6 +9406,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.Status = types.WorkerStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -9216,6 +9419,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -9224,6 +9428,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.UpdatedBy = ptr.String(jtv) } + case "workerId": if value != nil { jtv, ok := value.(string) @@ -9232,6 +9437,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkerOutput(v **GetWorkerOutput, valu } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -9386,6 +9592,7 @@ func awsRestjson1_deserializeOpDocumentListAvailableMeteredProductsOutput(v **Li if err := awsRestjson1_deserializeDocumentMeteredProductSummaryList(&sv.MeteredProducts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9394,6 +9601,7 @@ func awsRestjson1_deserializeOpDocumentListAvailableMeteredProductsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9557,6 +9765,7 @@ func awsRestjson1_deserializeOpDocumentListBudgetsOutput(v **ListBudgetsOutput, if err := awsRestjson1_deserializeDocumentBudgetSummaries(&sv.Budgets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9565,6 +9774,7 @@ func awsRestjson1_deserializeOpDocumentListBudgetsOutput(v **ListBudgetsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9728,6 +9938,7 @@ func awsRestjson1_deserializeOpDocumentListFarmMembersOutput(v **ListFarmMembers if err := awsRestjson1_deserializeDocumentFarmMembers(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9736,6 +9947,7 @@ func awsRestjson1_deserializeOpDocumentListFarmMembersOutput(v **ListFarmMembers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9896,6 +10108,7 @@ func awsRestjson1_deserializeOpDocumentListFarmsOutput(v **ListFarmsOutput, valu if err := awsRestjson1_deserializeDocumentFarmSummaries(&sv.Farms, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9904,6 +10117,7 @@ func awsRestjson1_deserializeOpDocumentListFarmsOutput(v **ListFarmsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10067,6 +10281,7 @@ func awsRestjson1_deserializeOpDocumentListFleetMembersOutput(v **ListFleetMembe if err := awsRestjson1_deserializeDocumentFleetMembers(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10075,6 +10290,7 @@ func awsRestjson1_deserializeOpDocumentListFleetMembersOutput(v **ListFleetMembe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10238,6 +10454,7 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsRestjson1_deserializeDocumentFleetSummaries(&sv.Fleets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10246,6 +10463,7 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10409,6 +10627,7 @@ func awsRestjson1_deserializeOpDocumentListJobMembersOutput(v **ListJobMembersOu if err := awsRestjson1_deserializeDocumentJobMembers(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10417,6 +10636,7 @@ func awsRestjson1_deserializeOpDocumentListJobMembersOutput(v **ListJobMembersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10580,6 +10800,7 @@ func awsRestjson1_deserializeOpDocumentListJobParameterDefinitionsOutput(v **Lis if err := awsRestjson1_deserializeDocumentJobParameterDefinitions(&sv.JobParameterDefinitions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10588,6 +10809,7 @@ func awsRestjson1_deserializeOpDocumentListJobParameterDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10751,6 +10973,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10759,6 +10982,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10922,6 +11146,7 @@ func awsRestjson1_deserializeOpDocumentListLicenseEndpointsOutput(v **ListLicens if err := awsRestjson1_deserializeDocumentLicenseEndpointSummaries(&sv.LicenseEndpoints, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10930,6 +11155,7 @@ func awsRestjson1_deserializeOpDocumentListLicenseEndpointsOutput(v **ListLicens } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11093,6 +11319,7 @@ func awsRestjson1_deserializeOpDocumentListMeteredProductsOutput(v **ListMetered if err := awsRestjson1_deserializeDocumentMeteredProductSummaryList(&sv.MeteredProducts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11101,6 +11328,7 @@ func awsRestjson1_deserializeOpDocumentListMeteredProductsOutput(v **ListMetered } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11261,6 +11489,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorSummaries(&sv.Monitors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11269,6 +11498,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11432,6 +11662,7 @@ func awsRestjson1_deserializeOpDocumentListQueueEnvironmentsOutput(v **ListQueue if err := awsRestjson1_deserializeDocumentQueueEnvironmentSummaries(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11440,6 +11671,7 @@ func awsRestjson1_deserializeOpDocumentListQueueEnvironmentsOutput(v **ListQueue } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11604,10 +11836,12 @@ func awsRestjson1_deserializeOpDocumentListQueueFleetAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "queueFleetAssociations": if err := awsRestjson1_deserializeDocumentQueueFleetAssociationSummaries(&sv.QueueFleetAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -11771,6 +12005,7 @@ func awsRestjson1_deserializeOpDocumentListQueueMembersOutput(v **ListQueueMembe if err := awsRestjson1_deserializeDocumentQueueMemberList(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11779,6 +12014,7 @@ func awsRestjson1_deserializeOpDocumentListQueueMembersOutput(v **ListQueueMembe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11946,10 +12182,12 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } + case "queues": if err := awsRestjson1_deserializeDocumentQueueSummaries(&sv.Queues, value); err != nil { return err } + default: _, _ = key, value @@ -12117,10 +12355,12 @@ func awsRestjson1_deserializeOpDocumentListSessionActionsOutput(v **ListSessionA } sv.NextToken = ptr.String(jtv) } + case "sessionActions": if err := awsRestjson1_deserializeDocumentSessionActionSummaries(&sv.SessionActions, value); err != nil { return err } + default: _, _ = key, value @@ -12288,10 +12528,12 @@ func awsRestjson1_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } + case "sessions": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -12459,10 +12701,12 @@ func awsRestjson1_deserializeOpDocumentListSessionsForWorkerOutput(v **ListSessi } sv.NextToken = ptr.String(jtv) } + case "sessions": if err := awsRestjson1_deserializeDocumentListSessionsForWorkerSummaries(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -12626,6 +12870,7 @@ func awsRestjson1_deserializeOpDocumentListStepConsumersOutput(v **ListStepConsu if err := awsRestjson1_deserializeDocumentStepConsumers(&sv.Consumers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12634,6 +12879,7 @@ func awsRestjson1_deserializeOpDocumentListStepConsumersOutput(v **ListStepConsu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12797,6 +13043,7 @@ func awsRestjson1_deserializeOpDocumentListStepDependenciesOutput(v **ListStepDe if err := awsRestjson1_deserializeDocumentStepDependencies(&sv.Dependencies, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12805,6 +13052,7 @@ func awsRestjson1_deserializeOpDocumentListStepDependenciesOutput(v **ListStepDe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12972,10 +13220,12 @@ func awsRestjson1_deserializeOpDocumentListStepsOutput(v **ListStepsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentStepSummaries(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -13143,10 +13393,12 @@ func awsRestjson1_deserializeOpDocumentListStorageProfilesOutput(v **ListStorage } sv.NextToken = ptr.String(jtv) } + case "storageProfiles": if err := awsRestjson1_deserializeDocumentStorageProfileSummaries(&sv.StorageProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -13314,10 +13566,12 @@ func awsRestjson1_deserializeOpDocumentListStorageProfilesForQueueOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "storageProfiles": if err := awsRestjson1_deserializeDocumentStorageProfileSummaries(&sv.StorageProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -13481,6 +13735,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13648,10 +13903,12 @@ func awsRestjson1_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentTaskSummaries(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -13819,10 +14076,12 @@ func awsRestjson1_deserializeOpDocumentListWorkersOutput(v **ListWorkersOutput, } sv.NextToken = ptr.String(jtv) } + case "workers": if err := awsRestjson1_deserializeDocumentWorkerSummaries(&sv.Workers, value); err != nil { return err } + default: _, _ = key, value @@ -14086,6 +14345,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocumentJobSearchSummaries(&sv.Jobs, value); err != nil { return err } + case "nextItemOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14098,6 +14358,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextItemOffset = ptr.Int32(int32(i64)) } + case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14110,6 +14371,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.TotalResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14281,10 +14543,12 @@ func awsRestjson1_deserializeOpDocumentSearchStepsOutput(v **SearchStepsOutput, } sv.NextItemOffset = ptr.Int32(int32(i64)) } + case "steps": if err := awsRestjson1_deserializeDocumentStepSearchSummaries(&sv.Steps, value); err != nil { return err } + case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14297,6 +14561,7 @@ func awsRestjson1_deserializeOpDocumentSearchStepsOutput(v **SearchStepsOutput, } sv.TotalResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14468,10 +14733,12 @@ func awsRestjson1_deserializeOpDocumentSearchTasksOutput(v **SearchTasksOutput, } sv.NextItemOffset = ptr.Int32(int32(i64)) } + case "tasks": if err := awsRestjson1_deserializeDocumentTaskSearchSummaries(&sv.Tasks, value); err != nil { return err } + case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14484,6 +14751,7 @@ func awsRestjson1_deserializeOpDocumentSearchTasksOutput(v **SearchTasksOutput, } sv.TotalResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14655,6 +14923,7 @@ func awsRestjson1_deserializeOpDocumentSearchWorkersOutput(v **SearchWorkersOutp } sv.NextItemOffset = ptr.Int32(int32(i64)) } + case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -14667,10 +14936,12 @@ func awsRestjson1_deserializeOpDocumentSearchWorkersOutput(v **SearchWorkersOutp } sv.TotalResults = ptr.Int32(int32(i64)) } + case "workers": if err := awsRestjson1_deserializeDocumentWorkerSearchSummaries(&sv.Workers, value); err != nil { return err } + default: _, _ = key, value @@ -14838,6 +15109,7 @@ func awsRestjson1_deserializeOpDocumentStartSessionsStatisticsAggregationOutput( } sv.AggregationId = ptr.String(jtv) } + default: _, _ = key, value @@ -16425,6 +16697,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerOutput(v **UpdateWorkerOutput if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } + default: _, _ = key, value @@ -16591,10 +16864,12 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork if err := awsRestjson1_deserializeDocumentAssignedSessions(&sv.AssignedSessions, value); err != nil { return err } + case "cancelSessionActions": if err := awsRestjson1_deserializeDocumentCancelSessionActions(&sv.CancelSessionActions, value); err != nil { return err } + case "desiredWorkerStatus": if value != nil { jtv, ok := value.(string) @@ -16603,6 +16878,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork } sv.DesiredWorkerStatus = types.DesiredWorkerStatus(jtv) } + case "updateIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16615,6 +16891,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkerScheduleOutput(v **UpdateWork } sv.UpdateIntervalSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16950,6 +17227,7 @@ func awsRestjson1_deserializeDocumentAcceleratorCountRange(v **types.Accelerator } sv.Max = ptr.Int32(int32(i64)) } + case "min": if value != nil { jtv, ok := value.(json.Number) @@ -16962,6 +17240,7 @@ func awsRestjson1_deserializeDocumentAcceleratorCountRange(v **types.Accelerator } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17005,6 +17284,7 @@ func awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(v **types.Ac } sv.Max = ptr.Int32(int32(i64)) } + case "min": if value != nil { jtv, ok := value.(json.Number) @@ -17017,6 +17297,7 @@ func awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(v **types.Ac } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17088,6 +17369,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17096,6 +17378,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17171,6 +17454,7 @@ func awsRestjson1_deserializeDocumentAssignedEnvironmentEnterSessionActionDefini } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -17210,6 +17494,7 @@ func awsRestjson1_deserializeDocumentAssignedEnvironmentExitSessionActionDefinit } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -17249,10 +17534,12 @@ func awsRestjson1_deserializeDocumentAssignedSession(v **types.AssignedSession, } sv.JobId = ptr.String(jtv) } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -17261,10 +17548,12 @@ func awsRestjson1_deserializeDocumentAssignedSession(v **types.AssignedSession, } sv.QueueId = ptr.String(jtv) } + case "sessionActions": if err := awsRestjson1_deserializeDocumentAssignedSessionActions(&sv.SessionActions, value); err != nil { return err } + default: _, _ = key, value @@ -17300,6 +17589,7 @@ func awsRestjson1_deserializeDocumentAssignedSessionAction(v **types.AssignedSes if err := awsRestjson1_deserializeDocumentAssignedSessionActionDefinition(&sv.Definition, value); err != nil { return err } + case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -17308,6 +17598,7 @@ func awsRestjson1_deserializeDocumentAssignedSessionAction(v **types.AssignedSes } sv.SessionActionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17486,6 +17777,7 @@ func awsRestjson1_deserializeDocumentAssignedSyncInputJobAttachmentsSessionActio } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -17521,6 +17813,7 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -17529,6 +17822,7 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** } sv.StepId = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -17537,6 +17831,7 @@ func awsRestjson1_deserializeDocumentAssignedTaskRunSessionActionDefinition(v ** } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -17576,10 +17871,12 @@ func awsRestjson1_deserializeDocumentAttachments(v **types.Attachments, value in } sv.FileSystem = types.JobAttachmentsFileSystem(jtv) } + case "manifests": if err := awsRestjson1_deserializeDocumentManifestPropertiesList(&sv.Manifests, value); err != nil { return err } + default: _, _ = key, value @@ -17655,6 +17952,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } + case "expiration": if value != nil { jtv, ok := value.(string) @@ -17667,6 +17965,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.Expiration = ptr.Time(t) } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -17675,6 +17974,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -17683,6 +17983,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17885,6 +18186,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } } + case "budgetId": if value != nil { jtv, ok := value.(string) @@ -17893,6 +18195,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.BudgetId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17905,6 +18208,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -17913,6 +18217,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17921,6 +18226,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -17929,6 +18235,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.DisplayName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17937,6 +18244,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.Status = types.BudgetStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -17949,6 +18257,7 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -17957,14 +18266,17 @@ func awsRestjson1_deserializeDocumentBudgetSummary(v **types.BudgetSummary, valu } sv.UpdatedBy = ptr.String(jtv) } + case "usages": if err := awsRestjson1_deserializeDocumentConsumedUsages(&sv.Usages, value); err != nil { return err } + case "usageTrackingResource": if err := awsRestjson1_deserializeDocumentUsageTrackingResource(&sv.UsageTrackingResource, value); err != nil { return err } + default: _, _ = key, value @@ -18034,6 +18346,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18042,6 +18355,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -18050,6 +18364,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -18058,6 +18373,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -18066,6 +18382,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -18130,6 +18447,7 @@ func awsRestjson1_deserializeDocumentConsumedUsages(v **types.ConsumedUsages, va } } + default: _, _ = key, value @@ -18169,6 +18487,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedFleetConfiguration(v **types } sv.Mode = types.AutoScalingMode(jtv) } + case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -18177,10 +18496,12 @@ func awsRestjson1_deserializeDocumentCustomerManagedFleetConfiguration(v **types } sv.StorageProfileId = ptr.String(jtv) } + case "workerCapabilities": if err := awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(&sv.WorkerCapabilities, value); err != nil { return err } + default: _, _ = key, value @@ -18216,14 +18537,17 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types if err := awsRestjson1_deserializeDocumentAcceleratorCountRange(&sv.AcceleratorCount, value); err != nil { return err } + case "acceleratorTotalMemoryMiB": if err := awsRestjson1_deserializeDocumentAcceleratorTotalMemoryMiBRange(&sv.AcceleratorTotalMemoryMiB, value); err != nil { return err } + case "acceleratorTypes": if err := awsRestjson1_deserializeDocumentAcceleratorTypes(&sv.AcceleratorTypes, value); err != nil { return err } + case "cpuArchitectureType": if value != nil { jtv, ok := value.(string) @@ -18232,18 +18556,22 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types } sv.CpuArchitectureType = types.CpuArchitectureType(jtv) } + case "customAmounts": if err := awsRestjson1_deserializeDocumentCustomFleetAmountCapabilities(&sv.CustomAmounts, value); err != nil { return err } + case "customAttributes": if err := awsRestjson1_deserializeDocumentCustomFleetAttributeCapabilities(&sv.CustomAttributes, value); err != nil { return err } + case "memoryMiB": if err := awsRestjson1_deserializeDocumentMemoryMiBRange(&sv.MemoryMiB, value); err != nil { return err } + case "osFamily": if value != nil { jtv, ok := value.(string) @@ -18252,10 +18580,12 @@ func awsRestjson1_deserializeDocumentCustomerManagedWorkerCapabilities(v **types } sv.OsFamily = types.CustomerManagedFleetOperatingSystemFamily(jtv) } + case "vCpuCount": if err := awsRestjson1_deserializeDocumentVCpuCountRange(&sv.VCpuCount, value); err != nil { return err } + default: _, _ = key, value @@ -18403,6 +18733,7 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.ConsumersResolved = ptr.Int32(int32(i64)) } + case "consumersUnresolved": if value != nil { jtv, ok := value.(json.Number) @@ -18415,6 +18746,7 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.ConsumersUnresolved = ptr.Int32(int32(i64)) } + case "dependenciesResolved": if value != nil { jtv, ok := value.(json.Number) @@ -18427,6 +18759,7 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.DependenciesResolved = ptr.Int32(int32(i64)) } + case "dependenciesUnresolved": if value != nil { jtv, ok := value.(json.Number) @@ -18439,6 +18772,7 @@ func awsRestjson1_deserializeDocumentDependencyCounts(v **types.DependencyCounts } sv.DependenciesUnresolved = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18490,6 +18824,7 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.Iops = ptr.Int32(int32(i64)) } + case "sizeGiB": if value != nil { jtv, ok := value.(json.Number) @@ -18502,6 +18837,7 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.SizeGiB = ptr.Int32(int32(i64)) } + case "throughputMiB": if value != nil { jtv, ok := value.(json.Number) @@ -18514,6 +18850,7 @@ func awsRestjson1_deserializeDocumentEc2EbsVolume(v **types.Ec2EbsVolume, value } sv.ThroughputMiB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18553,6 +18890,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.EnvironmentId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -18561,6 +18899,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.JobId = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -18569,10 +18908,12 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsEntity(v **types.Environm } sv.SchemaVersion = ptr.String(jtv) } + case "template": if err := awsRestjson1_deserializeDocumentDocument(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -18612,6 +18953,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.Code = types.JobEntityErrorCode(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -18620,6 +18962,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.EnvironmentId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -18628,6 +18971,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.JobId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -18636,6 +18980,7 @@ func awsRestjson1_deserializeDocumentEnvironmentDetailsError(v **types.Environme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18675,6 +19020,7 @@ func awsRestjson1_deserializeDocumentEnvironmentEnterSessionActionDefinition(v * } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -18714,6 +19060,7 @@ func awsRestjson1_deserializeDocumentEnvironmentEnterSessionActionDefinitionSumm } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -18753,6 +19100,7 @@ func awsRestjson1_deserializeDocumentEnvironmentExitSessionActionDefinition(v ** } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -18792,6 +19140,7 @@ func awsRestjson1_deserializeDocumentEnvironmentExitSessionActionDefinitionSumma } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -18867,6 +19216,7 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.FarmId = ptr.String(jtv) } + case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -18875,6 +19225,7 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.IdentityStoreId = ptr.String(jtv) } + case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -18883,6 +19234,7 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.MembershipLevel = types.MembershipLevel(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -18891,6 +19243,7 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.PrincipalId = ptr.String(jtv) } + case "principalType": if value != nil { jtv, ok := value.(string) @@ -18899,6 +19252,7 @@ func awsRestjson1_deserializeDocumentFarmMember(v **types.FarmMember, value inte } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } + default: _, _ = key, value @@ -19010,6 +19364,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -19018,6 +19373,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.CreatedBy = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -19026,6 +19382,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -19034,6 +19391,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.FarmId = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -19042,6 +19400,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.KmsKeyArn = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -19054,6 +19413,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -19062,6 +19422,7 @@ func awsRestjson1_deserializeDocumentFarmSummary(v **types.FarmSummary, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -19101,6 +19462,7 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -19109,6 +19471,7 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Path = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -19117,6 +19480,7 @@ func awsRestjson1_deserializeDocumentFileSystemLocation(v **types.FileSystemLoca } sv.Type = types.FileSystemLocationType(jtv) } + default: _, _ = key, value @@ -19194,6 +19558,7 @@ func awsRestjson1_deserializeDocumentFixedBudgetSchedule(v **types.FixedBudgetSc } sv.EndTime = ptr.Time(t) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -19206,6 +19571,7 @@ func awsRestjson1_deserializeDocumentFixedBudgetSchedule(v **types.FixedBudgetSc } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -19304,6 +19670,7 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } } + case "min": if value != nil { switch jtv := value.(type) { @@ -19337,6 +19704,7 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } } + case "name": if value != nil { jtv, ok := value.(string) @@ -19345,6 +19713,7 @@ func awsRestjson1_deserializeDocumentFleetAmountCapability(v **types.FleetAmount } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -19418,10 +19787,12 @@ func awsRestjson1_deserializeDocumentFleetAttributeCapability(v **types.FleetAtt } sv.Name = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentAttributeCapabilityValuesList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -19457,10 +19828,12 @@ func awsRestjson1_deserializeDocumentFleetCapabilities(v **types.FleetCapabiliti if err := awsRestjson1_deserializeDocumentFleetAmountCapabilities(&sv.Amounts, value); err != nil { return err } + case "attributes": if err := awsRestjson1_deserializeDocumentFleetAttributeCapabilities(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -19550,6 +19923,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.FarmId = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -19558,6 +19932,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.FleetId = ptr.String(jtv) } + case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -19566,6 +19941,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.IdentityStoreId = ptr.String(jtv) } + case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -19574,6 +19950,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.MembershipLevel = types.MembershipLevel(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -19582,6 +19959,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.PrincipalId = ptr.String(jtv) } + case "principalType": if value != nil { jtv, ok := value.(string) @@ -19590,6 +19968,7 @@ func awsRestjson1_deserializeDocumentFleetMember(v **types.FleetMember, value in } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } + default: _, _ = key, value @@ -19697,10 +20076,12 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.AutoScalingStatus = types.AutoScalingStatus(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentFleetConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -19713,6 +20094,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -19721,6 +20103,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.CreatedBy = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -19729,6 +20112,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -19737,6 +20121,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.FarmId = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -19745,6 +20130,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.FleetId = ptr.String(jtv) } + case "maxWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19757,6 +20143,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.MaxWorkerCount = ptr.Int32(int32(i64)) } + case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19769,6 +20156,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.MinWorkerCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19777,6 +20165,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Status = types.FleetStatus(jtv) } + case "targetWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19789,6 +20178,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.TargetWorkerCount = ptr.Int32(int32(i64)) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -19801,6 +20191,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -19809,6 +20200,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.UpdatedBy = ptr.String(jtv) } + case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19821,6 +20213,7 @@ func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.WorkerCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19930,6 +20323,7 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.Ec2InstanceArn = ptr.String(jtv) } + case "ec2InstanceType": if value != nil { jtv, ok := value.(string) @@ -19938,6 +20332,7 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.Ec2InstanceType = ptr.String(jtv) } + case "hostName": if value != nil { jtv, ok := value.(string) @@ -19946,10 +20341,12 @@ func awsRestjson1_deserializeDocumentHostPropertiesResponse(v **types.HostProper } sv.HostName = ptr.String(jtv) } + case "ipAddresses": if err := awsRestjson1_deserializeDocumentIpAddresses(&sv.IpAddresses, value); err != nil { return err } + default: _, _ = key, value @@ -20025,6 +20422,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20037,6 +20435,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20072,10 +20471,12 @@ func awsRestjson1_deserializeDocumentIpAddresses(v **types.IpAddresses, value in if err := awsRestjson1_deserializeDocumentIpV4Addresses(&sv.IpV4Addresses, value); err != nil { return err } + case "ipV6Addresses": if err := awsRestjson1_deserializeDocumentIpV6Addresses(&sv.IpV6Addresses, value); err != nil { return err } + default: _, _ = key, value @@ -20183,6 +20584,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsEntity(v **types.JobAtt if err := awsRestjson1_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20191,6 +20593,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsEntity(v **types.JobAtt } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -20230,6 +20633,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.Code = types.JobEntityErrorCode(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20238,6 +20642,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.JobId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -20246,6 +20651,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentDetailsError(v **types.JobAtta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20285,6 +20691,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentSettings(v **types.JobAttachme } sv.RootPrefix = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -20293,6 +20700,7 @@ func awsRestjson1_deserializeDocumentJobAttachmentSettings(v **types.JobAttachme } sv.S3BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -20328,6 +20736,7 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity if err := awsRestjson1_deserializeDocumentJobAttachmentSettings(&sv.JobAttachmentSettings, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20336,10 +20745,12 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.JobId = ptr.String(jtv) } + case "jobRunAsUser": if err := awsRestjson1_deserializeDocumentJobRunAsUser(&sv.JobRunAsUser, value); err != nil { return err } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -20348,14 +20759,17 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.LogGroupName = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.Parameters, value); err != nil { return err } + case "pathMappingRules": if err := awsRestjson1_deserializeDocumentPathMappingRules(&sv.PathMappingRules, value); err != nil { return err } + case "queueRoleArn": if value != nil { jtv, ok := value.(string) @@ -20364,6 +20778,7 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.QueueRoleArn = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -20372,6 +20787,7 @@ func awsRestjson1_deserializeDocumentJobDetailsEntity(v **types.JobDetailsEntity } sv.SchemaVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -20411,6 +20827,7 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.Code = types.JobEntityErrorCode(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20419,6 +20836,7 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.JobId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -20427,6 +20845,7 @@ func awsRestjson1_deserializeDocumentJobDetailsError(v **types.JobDetailsError, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20536,6 +20955,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.FarmId = ptr.String(jtv) } + case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -20544,6 +20964,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.IdentityStoreId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20552,6 +20973,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.JobId = ptr.String(jtv) } + case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -20560,6 +20982,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.MembershipLevel = types.MembershipLevel(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -20568,6 +20991,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.PrincipalId = ptr.String(jtv) } + case "principalType": if value != nil { jtv, ok := value.(string) @@ -20576,6 +21000,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -20584,6 +21009,7 @@ func awsRestjson1_deserializeDocumentJobMember(v **types.JobMember, value interf } sv.QueueId = ptr.String(jtv) } + default: _, _ = key, value @@ -20805,6 +21231,7 @@ func awsRestjson1_deserializeDocumentJobRunAsUser(v **types.JobRunAsUser, value if err := awsRestjson1_deserializeDocumentPosixUser(&sv.Posix, value); err != nil { return err } + case "runAs": if value != nil { jtv, ok := value.(string) @@ -20813,10 +21240,12 @@ func awsRestjson1_deserializeDocumentJobRunAsUser(v **types.JobRunAsUser, value } sv.RunAs = types.RunAs(jtv) } + case "windows": if err := awsRestjson1_deserializeDocumentWindowsUser(&sv.Windows, value); err != nil { return err } + default: _, _ = key, value @@ -20894,6 +21323,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -20902,6 +21332,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.CreatedBy = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -20914,6 +21345,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.EndedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -20922,10 +21354,12 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.JobId = ptr.String(jtv) } + case "jobParameters": if err := awsRestjson1_deserializeDocumentJobParameters(&sv.JobParameters, value); err != nil { return err } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -20934,6 +21368,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -20942,6 +21377,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -20954,6 +21390,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } + case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -20966,6 +21403,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20974,6 +21412,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -20986,6 +21425,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.Priority = ptr.Int32(int32(i64)) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -20994,6 +21434,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.QueueId = ptr.String(jtv) } + case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -21002,6 +21443,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.SourceJobId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -21014,6 +21456,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.StartedAt = ptr.Time(t) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21022,6 +21465,7 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21030,10 +21474,12 @@ func awsRestjson1_deserializeDocumentJobSearchSummary(v **types.JobSearchSummary } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + default: _, _ = key, value @@ -21111,6 +21557,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -21119,6 +21566,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedBy = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -21131,6 +21579,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.EndedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -21139,6 +21588,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -21147,6 +21597,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.LifecycleStatus = types.JobLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -21155,6 +21606,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "maxFailedTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -21167,6 +21619,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.MaxFailedTasksCount = ptr.Int32(int32(i64)) } + case "maxRetriesPerTask": if value != nil { jtv, ok := value.(json.Number) @@ -21179,6 +21632,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.MaxRetriesPerTask = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21187,6 +21641,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -21199,6 +21654,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Priority = ptr.Int32(int32(i64)) } + case "sourceJobId": if value != nil { jtv, ok := value.(string) @@ -21207,6 +21663,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.SourceJobId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -21219,6 +21676,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.StartedAt = ptr.Time(t) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21227,6 +21685,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TargetTaskRunStatus = types.JobTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -21235,10 +21694,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -21251,6 +21712,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -21259,6 +21721,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -21332,6 +21795,7 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.LicenseEndpointId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -21340,6 +21804,7 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.Status = types.LicenseEndpointStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -21348,6 +21813,7 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.StatusMessage = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -21356,6 +21822,7 @@ func awsRestjson1_deserializeDocumentLicenseEndpointSummary(v **types.LicenseEnd } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -21465,6 +21932,7 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.Error = ptr.String(jtv) } + case "logDriver": if value != nil { jtv, ok := value.(string) @@ -21473,14 +21941,17 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentLogOptions(&sv.Options, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentLogParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -21592,6 +22063,7 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.FileSystemLocationName = ptr.String(jtv) } + case "inputManifestHash": if value != nil { jtv, ok := value.(string) @@ -21600,6 +22072,7 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.InputManifestHash = ptr.String(jtv) } + case "inputManifestPath": if value != nil { jtv, ok := value.(string) @@ -21608,10 +22081,12 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.InputManifestPath = ptr.String(jtv) } + case "outputRelativeDirectories": if err := awsRestjson1_deserializeDocumentOutputRelativeDirectoriesList(&sv.OutputRelativeDirectories, value); err != nil { return err } + case "rootPath": if value != nil { jtv, ok := value.(string) @@ -21620,6 +22095,7 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.RootPath = ptr.String(jtv) } + case "rootPathFormat": if value != nil { jtv, ok := value.(string) @@ -21628,6 +22104,7 @@ func awsRestjson1_deserializeDocumentManifestProperties(v **types.ManifestProper } sv.RootPathFormat = types.PathFormat(jtv) } + default: _, _ = key, value @@ -21705,6 +22182,7 @@ func awsRestjson1_deserializeDocumentMemoryMiBRange(v **types.MemoryMiBRange, va } sv.Max = ptr.Int32(int32(i64)) } + case "min": if value != nil { jtv, ok := value.(json.Number) @@ -21717,6 +22195,7 @@ func awsRestjson1_deserializeDocumentMemoryMiBRange(v **types.MemoryMiBRange, va } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21756,6 +22235,7 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Family = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -21768,6 +22248,7 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Port = ptr.Int32(int32(i64)) } + case "productId": if value != nil { jtv, ok := value.(string) @@ -21776,6 +22257,7 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.ProductId = ptr.String(jtv) } + case "vendor": if value != nil { jtv, ok := value.(string) @@ -21784,6 +22266,7 @@ func awsRestjson1_deserializeDocumentMeteredProductSummary(v **types.MeteredProd } sv.Vendor = ptr.String(jtv) } + default: _, _ = key, value @@ -21895,6 +22378,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -21903,6 +22387,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.CreatedBy = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -21911,6 +22396,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.DisplayName = ptr.String(jtv) } + case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -21919,6 +22405,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "identityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -21927,6 +22414,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.IdentityCenterInstanceArn = ptr.String(jtv) } + case "monitorId": if value != nil { jtv, ok := value.(string) @@ -21935,6 +22423,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -21943,6 +22432,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.RoleArn = ptr.String(jtv) } + case "subdomain": if value != nil { jtv, ok := value.(string) @@ -21951,6 +22441,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Subdomain = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -21963,6 +22454,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -21971,6 +22463,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.UpdatedBy = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -21979,6 +22472,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -22054,10 +22548,12 @@ func awsRestjson1_deserializeDocumentParameterSpace(v **types.ParameterSpace, va } sv.Combination = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentStepParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -22097,6 +22593,7 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.DestinationPath = ptr.String(jtv) } + case "sourcePath": if value != nil { jtv, ok := value.(string) @@ -22105,6 +22602,7 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.SourcePath = ptr.String(jtv) } + case "sourcePathFormat": if value != nil { jtv, ok := value.(string) @@ -22113,6 +22611,7 @@ func awsRestjson1_deserializeDocumentPathMappingRule(v **types.PathMappingRule, } sv.SourcePathFormat = types.PathFormat(jtv) } + default: _, _ = key, value @@ -22186,6 +22685,7 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Group = ptr.String(jtv) } + case "user": if value != nil { jtv, ok := value.(string) @@ -22194,6 +22694,7 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -22267,6 +22768,7 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -22279,6 +22781,7 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.Priority = ptr.Int32(int32(i64)) } + case "queueEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -22287,6 +22790,7 @@ func awsRestjson1_deserializeDocumentQueueEnvironmentSummary(v **types.QueueEnvi } sv.QueueEnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -22364,6 +22868,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22372,6 +22877,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.CreatedBy = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -22380,6 +22886,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.FleetId = ptr.String(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -22388,6 +22895,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.QueueId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22396,6 +22904,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.Status = types.QueueFleetAssociationStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22408,6 +22917,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22416,6 +22926,7 @@ func awsRestjson1_deserializeDocumentQueueFleetAssociationSummary(v **types.Queu } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -22455,6 +22966,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.FarmId = ptr.String(jtv) } + case "identityStoreId": if value != nil { jtv, ok := value.(string) @@ -22463,6 +22975,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.IdentityStoreId = ptr.String(jtv) } + case "membershipLevel": if value != nil { jtv, ok := value.(string) @@ -22471,6 +22984,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.MembershipLevel = types.MembershipLevel(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -22479,6 +22993,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.PrincipalId = ptr.String(jtv) } + case "principalType": if value != nil { jtv, ok := value.(string) @@ -22487,6 +23002,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.PrincipalType = types.DeadlinePrincipalType(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -22495,6 +23011,7 @@ func awsRestjson1_deserializeDocumentQueueMember(v **types.QueueMember, value in } sv.QueueId = ptr.String(jtv) } + default: _, _ = key, value @@ -22602,6 +23119,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.BlockedReason = types.QueueBlockedReason(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -22614,6 +23132,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -22622,6 +23141,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedBy = ptr.String(jtv) } + case "defaultBudgetAction": if value != nil { jtv, ok := value.(string) @@ -22630,6 +23150,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.DefaultBudgetAction = types.DefaultQueueBudgetAction(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -22638,6 +23159,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.DisplayName = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -22646,6 +23168,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.FarmId = ptr.String(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -22654,6 +23177,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.QueueId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22662,6 +23186,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Status = types.QueueStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -22674,6 +23199,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -22682,6 +23208,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -22753,6 +23280,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -22761,6 +23289,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22769,6 +23298,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22777,6 +23307,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -22816,6 +23347,7 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } sv.Description = ptr.String(jtv) } + case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -22849,6 +23381,7 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } } + case "type": if value != nil { jtv, ok := value.(string) @@ -22857,6 +23390,7 @@ func awsRestjson1_deserializeDocumentResponseBudgetAction(v **types.ResponseBudg } sv.Type = types.BudgetActionType(jtv) } + default: _, _ = key, value @@ -22962,10 +23496,12 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2FleetConfiguration(v **typ if err := awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(&sv.InstanceCapabilities, value); err != nil { return err } + case "instanceMarketOptions": if err := awsRestjson1_deserializeDocumentServiceManagedEc2InstanceMarketOptions(&sv.InstanceMarketOptions, value); err != nil { return err } + default: _, _ = key, value @@ -23001,6 +23537,7 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t if err := awsRestjson1_deserializeDocumentInstanceTypes(&sv.AllowedInstanceTypes, value); err != nil { return err } + case "cpuArchitectureType": if value != nil { jtv, ok := value.(string) @@ -23009,22 +23546,27 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t } sv.CpuArchitectureType = types.CpuArchitectureType(jtv) } + case "customAmounts": if err := awsRestjson1_deserializeDocumentCustomFleetAmountCapabilities(&sv.CustomAmounts, value); err != nil { return err } + case "customAttributes": if err := awsRestjson1_deserializeDocumentCustomFleetAttributeCapabilities(&sv.CustomAttributes, value); err != nil { return err } + case "excludedInstanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypes(&sv.ExcludedInstanceTypes, value); err != nil { return err } + case "memoryMiB": if err := awsRestjson1_deserializeDocumentMemoryMiBRange(&sv.MemoryMiB, value); err != nil { return err } + case "osFamily": if value != nil { jtv, ok := value.(string) @@ -23033,14 +23575,17 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceCapabilities(v **t } sv.OsFamily = types.ServiceManagedFleetOperatingSystemFamily(jtv) } + case "rootEbsVolume": if err := awsRestjson1_deserializeDocumentEc2EbsVolume(&sv.RootEbsVolume, value); err != nil { return err } + case "vCpuCount": if err := awsRestjson1_deserializeDocumentVCpuCountRange(&sv.VCpuCount, value); err != nil { return err } + default: _, _ = key, value @@ -23080,6 +23625,7 @@ func awsRestjson1_deserializeDocumentServiceManagedEc2InstanceMarketOptions(v ** } sv.Type = types.Ec2MarketType(jtv) } + default: _, _ = key, value @@ -23115,6 +23661,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -23123,6 +23670,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -23131,6 +23679,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -23139,6 +23688,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -23147,6 +23697,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23155,6 +23706,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -23163,6 +23715,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -23408,6 +23961,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio if err := awsRestjson1_deserializeDocumentSessionActionDefinitionSummary(&sv.Definition, value); err != nil { return err } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -23420,6 +23974,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.EndedAt = ptr.Time(t) } + case "progressPercent": if value != nil { switch jtv := value.(type) { @@ -23453,6 +24008,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } } + case "sessionActionId": if value != nil { jtv, ok := value.(string) @@ -23461,6 +24017,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.SessionActionId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -23473,6 +24030,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.StartedAt = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -23481,6 +24039,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.Status = types.SessionActionStatus(jtv) } + case "workerUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -23493,6 +24052,7 @@ func awsRestjson1_deserializeDocumentSessionActionSummary(v **types.SessionActio } sv.WorkerUpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -23570,6 +24130,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.EndedAt = ptr.Time(t) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -23578,6 +24139,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.FleetId = ptr.String(jtv) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -23586,6 +24148,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -23594,6 +24157,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -23606,6 +24170,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.StartedAt = ptr.Time(t) } + case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -23614,6 +24179,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -23626,6 +24192,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -23634,6 +24201,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.UpdatedBy = ptr.String(jtv) } + case "workerId": if value != nil { jtv, ok := value.(string) @@ -23642,6 +24210,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -23685,6 +24254,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AggregationEndTime = ptr.Time(t) } + case "aggregationStartTime": if value != nil { jtv, ok := value.(string) @@ -23697,10 +24267,12 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AggregationStartTime = ptr.Time(t) } + case "costInUsd": if err := awsRestjson1_deserializeDocumentStats(&sv.CostInUsd, value); err != nil { return err } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -23713,6 +24285,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = ptr.Int32(int32(i64)) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -23721,6 +24294,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.FleetId = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -23729,6 +24303,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.InstanceType = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -23737,6 +24312,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -23745,6 +24321,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.JobName = ptr.String(jtv) } + case "licenseProduct": if value != nil { jtv, ok := value.(string) @@ -23753,6 +24330,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.LicenseProduct = ptr.String(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -23761,10 +24339,12 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.QueueId = ptr.String(jtv) } + case "runtimeInSeconds": if err := awsRestjson1_deserializeDocumentStats(&sv.RuntimeInSeconds, value); err != nil { return err } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -23773,6 +24353,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.UsageType = types.UsageType(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -23781,6 +24362,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -23879,6 +24461,7 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } + case "max": if value != nil { switch jtv := value.(type) { @@ -23912,6 +24495,7 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } + case "min": if value != nil { switch jtv := value.(type) { @@ -23945,6 +24529,7 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } + case "sum": if value != nil { switch jtv := value.(type) { @@ -23978,6 +24563,7 @@ func awsRestjson1_deserializeDocumentStats(v **types.Stats, value interface{}) e } } + default: _, _ = key, value @@ -24076,6 +24662,7 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } + case "min": if value != nil { switch jtv := value.(type) { @@ -24109,6 +24696,7 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -24117,6 +24705,7 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } sv.Name = ptr.String(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -24150,6 +24739,7 @@ func awsRestjson1_deserializeDocumentStepAmountCapability(v **types.StepAmountCa } } + default: _, _ = key, value @@ -24219,10 +24809,12 @@ func awsRestjson1_deserializeDocumentStepAttributeCapability(v **types.StepAttri if err := awsRestjson1_deserializeDocumentListAttributeCapabilityValue(&sv.AllOf, value); err != nil { return err } + case "anyOf": if err := awsRestjson1_deserializeDocumentListAttributeCapabilityValue(&sv.AnyOf, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -24231,6 +24823,7 @@ func awsRestjson1_deserializeDocumentStepAttributeCapability(v **types.StepAttri } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -24270,6 +24863,7 @@ func awsRestjson1_deserializeDocumentStepConsumer(v **types.StepConsumer, value } sv.Status = types.DependencyConsumerResolutionStatus(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24278,6 +24872,7 @@ func awsRestjson1_deserializeDocumentStepConsumer(v **types.StepConsumer, value } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -24385,6 +24980,7 @@ func awsRestjson1_deserializeDocumentStepDependency(v **types.StepDependency, va } sv.Status = types.DependencyConsumerResolutionStatus(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24393,6 +24989,7 @@ func awsRestjson1_deserializeDocumentStepDependency(v **types.StepDependency, va } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -24428,6 +25025,7 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti if err := awsRestjson1_deserializeDocumentDependenciesList(&sv.Dependencies, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -24436,6 +25034,7 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.JobId = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -24444,6 +25043,7 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.SchemaVersion = ptr.String(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24452,10 +25052,12 @@ func awsRestjson1_deserializeDocumentStepDetailsEntity(v **types.StepDetailsEnti } sv.StepId = ptr.String(jtv) } + case "template": if err := awsRestjson1_deserializeDocumentDocument(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -24495,6 +25097,7 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.Code = types.JobEntityErrorCode(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -24503,6 +25106,7 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.JobId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -24511,6 +25115,7 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.Message = ptr.String(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24519,6 +25124,7 @@ func awsRestjson1_deserializeDocumentStepDetailsError(v **types.StepDetailsError } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -24558,6 +25164,7 @@ func awsRestjson1_deserializeDocumentStepParameter(v **types.StepParameter, valu } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -24566,6 +25173,7 @@ func awsRestjson1_deserializeDocumentStepParameter(v **types.StepParameter, valu } sv.Type = types.StepParameterType(jtv) } + default: _, _ = key, value @@ -24635,10 +25243,12 @@ func awsRestjson1_deserializeDocumentStepRequiredCapabilities(v **types.StepRequ if err := awsRestjson1_deserializeDocumentStepAmountCapabilities(&sv.Amounts, value); err != nil { return err } + case "attributes": if err := awsRestjson1_deserializeDocumentStepAttributeCapabilities(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -24716,6 +25326,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.CreatedAt = ptr.Time(t) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -24728,6 +25339,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.EndedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -24736,6 +25348,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.JobId = ptr.String(jtv) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -24744,6 +25357,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -24752,6 +25366,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -24760,10 +25375,12 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.Name = ptr.String(jtv) } + case "parameterSpace": if err := awsRestjson1_deserializeDocumentParameterSpace(&sv.ParameterSpace, value); err != nil { return err } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -24772,6 +25389,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.QueueId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24784,6 +25402,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.StartedAt = ptr.Time(t) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24792,6 +25411,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.StepId = ptr.String(jtv) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -24800,6 +25420,7 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -24808,10 +25429,12 @@ func awsRestjson1_deserializeDocumentStepSearchSummary(v **types.StepSearchSumma } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + default: _, _ = key, value @@ -24889,6 +25512,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -24897,10 +25521,12 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.CreatedBy = ptr.String(jtv) } + case "dependencyCounts": if err := awsRestjson1_deserializeDocumentDependencyCounts(&sv.DependencyCounts, value); err != nil { return err } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -24913,6 +25539,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.EndedAt = ptr.Time(t) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -24921,6 +25548,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.LifecycleStatus = types.StepLifecycleStatus(jtv) } + case "lifecycleStatusMessage": if value != nil { jtv, ok := value.(string) @@ -24929,6 +25557,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.LifecycleStatusMessage = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -24937,6 +25566,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Name = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -24949,6 +25579,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.StartedAt = ptr.Time(t) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -24957,6 +25588,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.StepId = ptr.String(jtv) } + case "targetTaskRunStatus": if value != nil { jtv, ok := value.(string) @@ -24965,6 +25597,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.TargetTaskRunStatus = types.StepTargetTaskRunStatus(jtv) } + case "taskRunStatus": if value != nil { jtv, ok := value.(string) @@ -24973,10 +25606,12 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.TaskRunStatus = types.TaskRunStatus(jtv) } + case "taskRunStatusCounts": if err := awsRestjson1_deserializeDocumentTaskRunStatusCounts(&sv.TaskRunStatusCounts, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -24989,6 +25624,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -24997,6 +25633,7 @@ func awsRestjson1_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -25070,6 +25707,7 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.DisplayName = ptr.String(jtv) } + case "osFamily": if value != nil { jtv, ok := value.(string) @@ -25078,6 +25716,7 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.OsFamily = types.StorageProfileOperatingSystemFamily(jtv) } + case "storageProfileId": if value != nil { jtv, ok := value.(string) @@ -25086,6 +25725,7 @@ func awsRestjson1_deserializeDocumentStorageProfileSummary(v **types.StorageProf } sv.StorageProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -25161,6 +25801,7 @@ func awsRestjson1_deserializeDocumentSyncInputJobAttachmentsSessionActionDefinit } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -25200,6 +25841,7 @@ func awsRestjson1_deserializeDocumentSyncInputJobAttachmentsSessionActionDefinit } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -25383,6 +26025,7 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -25391,6 +26034,7 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta } sv.StepId = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -25399,6 +26043,7 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinition(v **types.Ta } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -25438,6 +26083,7 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinitionSummary(v **t } sv.StepId = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -25446,6 +26092,7 @@ func awsRestjson1_deserializeDocumentTaskRunSessionActionDefinitionSummary(v **t } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -25563,6 +26210,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.EndedAt = ptr.Time(t) } + case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -25575,6 +26223,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.FailureRetryCount = ptr.Int32(int32(i64)) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -25583,10 +26232,12 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.JobId = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -25595,6 +26246,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.QueueId = ptr.String(jtv) } + case "runStatus": if value != nil { jtv, ok := value.(string) @@ -25603,6 +26255,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.RunStatus = types.TaskRunStatus(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -25615,6 +26268,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.StartedAt = ptr.Time(t) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -25623,6 +26277,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.StepId = ptr.String(jtv) } + case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -25631,6 +26286,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -25639,6 +26295,7 @@ func awsRestjson1_deserializeDocumentTaskSearchSummary(v **types.TaskSearchSumma } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -25716,6 +26373,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -25724,6 +26382,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.CreatedBy = ptr.String(jtv) } + case "endedAt": if value != nil { jtv, ok := value.(string) @@ -25736,6 +26395,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.EndedAt = ptr.Time(t) } + case "failureRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -25748,6 +26408,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.FailureRetryCount = ptr.Int32(int32(i64)) } + case "latestSessionActionId": if value != nil { jtv, ok := value.(string) @@ -25756,10 +26417,12 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.LatestSessionActionId = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentTaskParameters(&sv.Parameters, value); err != nil { return err } + case "runStatus": if value != nil { jtv, ok := value.(string) @@ -25768,6 +26431,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.RunStatus = types.TaskRunStatus(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -25780,6 +26444,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.StartedAt = ptr.Time(t) } + case "targetRunStatus": if value != nil { jtv, ok := value.(string) @@ -25788,6 +26453,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TargetRunStatus = types.TaskTargetRunStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -25796,6 +26462,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -25808,6 +26475,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -25816,6 +26484,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -25851,6 +26520,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -25859,6 +26529,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -25867,6 +26538,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -25879,6 +26551,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -25887,6 +26560,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -25964,10 +26638,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentExceptionContext(&sv.Context, value); err != nil { return err } + case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -25976,6 +26652,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -25984,6 +26661,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -26023,6 +26701,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26031,6 +26710,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -26108,6 +26788,7 @@ func awsRestjson1_deserializeDocumentVCpuCountRange(v **types.VCpuCountRange, va } sv.Max = ptr.Int32(int32(i64)) } + case "min": if value != nil { jtv, ok := value.(json.Number) @@ -26120,6 +26801,7 @@ func awsRestjson1_deserializeDocumentVCpuCountRange(v **types.VCpuCountRange, va } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26159,6 +26841,7 @@ func awsRestjson1_deserializeDocumentWindowsUser(v **types.WindowsUser, value in } sv.PasswordArn = ptr.String(jtv) } + case "user": if value != nil { jtv, ok := value.(string) @@ -26167,6 +26850,7 @@ func awsRestjson1_deserializeDocumentWindowsUser(v **types.WindowsUser, value in } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -26244,6 +26928,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26252,6 +26937,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.CreatedBy = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -26260,10 +26946,12 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.FleetId = ptr.String(jtv) } + case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -26272,6 +26960,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.Status = types.WorkerStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -26284,6 +26973,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -26292,6 +26982,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.UpdatedBy = ptr.String(jtv) } + case "workerId": if value != nil { jtv, ok := value.(string) @@ -26300,6 +26991,7 @@ func awsRestjson1_deserializeDocumentWorkerSearchSummary(v **types.WorkerSearchS } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -26343,6 +27035,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.EndedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -26351,6 +27044,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.JobId = ptr.String(jtv) } + case "lifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -26359,6 +27053,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.LifecycleStatus = types.SessionLifecycleStatus(jtv) } + case "queueId": if value != nil { jtv, ok := value.(string) @@ -26367,6 +27062,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.QueueId = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -26375,6 +27071,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.SessionId = ptr.String(jtv) } + case "startedAt": if value != nil { jtv, ok := value.(string) @@ -26387,6 +27084,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.StartedAt = ptr.Time(t) } + case "targetLifecycleStatus": if value != nil { jtv, ok := value.(string) @@ -26395,6 +27093,7 @@ func awsRestjson1_deserializeDocumentWorkerSessionSummary(v **types.WorkerSessio } sv.TargetLifecycleStatus = types.SessionLifecycleTargetStatus(jtv) } + default: _, _ = key, value @@ -26472,6 +27171,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -26480,6 +27180,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.CreatedBy = ptr.String(jtv) } + case "farmId": if value != nil { jtv, ok := value.(string) @@ -26488,6 +27189,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.FarmId = ptr.String(jtv) } + case "fleetId": if value != nil { jtv, ok := value.(string) @@ -26496,14 +27198,17 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.FleetId = ptr.String(jtv) } + case "hostProperties": if err := awsRestjson1_deserializeDocumentHostPropertiesResponse(&sv.HostProperties, value); err != nil { return err } + case "log": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Log, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -26512,6 +27217,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.Status = types.WorkerStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -26524,6 +27230,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -26532,6 +27239,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.UpdatedBy = ptr.String(jtv) } + case "workerId": if value != nil { jtv, ok := value.(string) @@ -26540,6 +27248,7 @@ func awsRestjson1_deserializeDocumentWorkerSummary(v **types.WorkerSummary, valu } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/detective/deserializers.go b/service/detective/deserializers.go index 4548dd914a5..fdee0226f70 100644 --- a/service/detective/deserializers.go +++ b/service/detective/deserializers.go @@ -288,10 +288,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetGraphMemberDatasourcesOutput(v ** if err := awsRestjson1_deserializeDocumentMembershipDatasourcesList(&sv.MemberDatasources, value); err != nil { return err } + case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -452,10 +454,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetMembershipDatasourcesOutput(v **B if err := awsRestjson1_deserializeDocumentMembershipDatasourcesList(&sv.MembershipDatasources, value); err != nil { return err } + case "UnprocessedGraphs": if err := awsRestjson1_deserializeDocumentUnprocessedGraphList(&sv.UnprocessedGraphs, value); err != nil { return err } + default: _, _ = key, value @@ -620,6 +624,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.GraphArn = ptr.String(jtv) } + default: _, _ = key, value @@ -783,10 +788,12 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.Members, value); err != nil { return err } + case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1053,10 +1060,12 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentAccountIdList(&sv.AccountIds, value); err != nil { return err } + case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1221,6 +1230,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = jtv } + default: _, _ = key, value @@ -1704,6 +1714,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.CreatedTime = ptr.Time(t) } + case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -1712,6 +1723,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.EntityArn = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -1720,6 +1732,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.EntityType = types.EntityType(jtv) } + case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -1728,6 +1741,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.GraphArn = ptr.String(jtv) } + case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -1736,6 +1750,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.InvestigationId = ptr.String(jtv) } + case "ScopeEndTime": if value != nil { jtv, ok := value.(string) @@ -1748,6 +1763,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.ScopeEndTime = ptr.Time(t) } + case "ScopeStartTime": if value != nil { jtv, ok := value.(string) @@ -1760,6 +1776,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.ScopeStartTime = ptr.Time(t) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -1768,6 +1785,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.Severity = types.Severity(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1776,6 +1794,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.State = types.State(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1784,6 +1803,7 @@ func awsRestjson1_deserializeOpDocumentGetInvestigationOutput(v **GetInvestigati } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -1944,10 +1964,12 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.MemberDetails, value); err != nil { return err } + case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccountList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -2108,6 +2130,7 @@ func awsRestjson1_deserializeOpDocumentListDatasourcePackagesOutput(v **ListData if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestDetails(&sv.DatasourcePackages, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2116,6 +2139,7 @@ func awsRestjson1_deserializeOpDocumentListDatasourcePackagesOutput(v **ListData } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2273,6 +2297,7 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va if err := awsRestjson1_deserializeDocumentGraphList(&sv.GraphList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2281,6 +2306,7 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2448,10 +2474,12 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.GraphArn = ptr.String(jtv) } + case "Indicators": if err := awsRestjson1_deserializeDocumentIndicators(&sv.Indicators, value); err != nil { return err } + case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -2460,6 +2488,7 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.InvestigationId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2468,6 +2497,7 @@ func awsRestjson1_deserializeOpDocumentListIndicatorsOutput(v **ListIndicatorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2631,6 +2661,7 @@ func awsRestjson1_deserializeOpDocumentListInvestigationsOutput(v **ListInvestig if err := awsRestjson1_deserializeDocumentInvestigationDetails(&sv.InvestigationDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2639,6 +2670,7 @@ func awsRestjson1_deserializeOpDocumentListInvestigationsOutput(v **ListInvestig } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2796,6 +2828,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.Invitations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2804,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2964,6 +2998,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberDetailList(&sv.MemberDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2972,6 +3007,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3132,6 +3168,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdministratorList(&sv.Administrators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3177,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3300,6 +3338,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3573,6 +3612,7 @@ func awsRestjson1_deserializeOpDocumentStartInvestigationOutput(v **StartInvesti } sv.InvestigationId = ptr.String(jtv) } + default: _, _ = key, value @@ -4482,6 +4522,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = types.ErrorCode(jtv) } + case "ErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -4490,6 +4531,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCodeReason = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4498,6 +4540,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "SubErrorCode": if value != nil { jtv, ok := value.(string) @@ -4506,6 +4549,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.SubErrorCode = types.ErrorCode(jtv) } + case "SubErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -4514,6 +4558,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.SubErrorCodeReason = ptr.String(jtv) } + default: _, _ = key, value @@ -4589,6 +4634,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.AccountId = ptr.String(jtv) } + case "DelegationTime": if value != nil { jtv, ok := value.(string) @@ -4601,6 +4647,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.DelegationTime = ptr.Time(t) } + case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -4609,6 +4656,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.GraphArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4682,6 +4730,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4721,10 +4770,12 @@ func awsRestjson1_deserializeDocumentDatasourcePackageIngestDetail(v **types.Dat } sv.DatasourcePackageIngestState = types.DatasourcePackageIngestState(jtv) } + case "LastIngestStateChange": if err := awsRestjson1_deserializeDocumentLastIngestStateChangeDates(&sv.LastIngestStateChange, value); err != nil { return err } + default: _, _ = key, value @@ -4873,6 +4924,7 @@ func awsRestjson1_deserializeDocumentDatasourcePackageUsageInfo(v **types.Dataso } sv.VolumeUsageInBytes = ptr.Int64(i64) } + case "VolumeUsageUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4885,6 +4937,7 @@ func awsRestjson1_deserializeDocumentDatasourcePackageUsageInfo(v **types.Dataso } sv.VolumeUsageUpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4924,6 +4977,7 @@ func awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(v **types.FlaggedIpA } sv.IpAddress = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -4932,6 +4986,7 @@ func awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(v **types.FlaggedIpA } sv.Reason = types.Reason(jtv) } + default: _, _ = key, value @@ -4971,6 +5026,7 @@ func awsRestjson1_deserializeDocumentGraph(v **types.Graph, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -4983,6 +5039,7 @@ func awsRestjson1_deserializeDocumentGraph(v **types.Graph, value interface{}) e } sv.CreatedTime = ptr.Time(t) } + default: _, _ = key, value @@ -5056,6 +5113,7 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.EndingIpAddress = ptr.String(jtv) } + case "EndingLocation": if value != nil { jtv, ok := value.(string) @@ -5064,6 +5122,7 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.EndingLocation = ptr.String(jtv) } + case "HourlyTimeDelta": if value != nil { jtv, ok := value.(json.Number) @@ -5076,6 +5135,7 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.HourlyTimeDelta = ptr.Int32(int32(i64)) } + case "StartingIpAddress": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5144,7 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.StartingIpAddress = ptr.String(jtv) } + case "StartingLocation": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5153,7 @@ func awsRestjson1_deserializeDocumentImpossibleTravelDetail(v **types.Impossible } sv.StartingLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -5127,6 +5189,7 @@ func awsRestjson1_deserializeDocumentIndicator(v **types.Indicator, value interf if err := awsRestjson1_deserializeDocumentIndicatorDetail(&sv.IndicatorDetail, value); err != nil { return err } + case "IndicatorType": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5198,7 @@ func awsRestjson1_deserializeDocumentIndicator(v **types.Indicator, value interf } sv.IndicatorType = types.IndicatorType(jtv) } + default: _, _ = key, value @@ -5170,34 +5234,42 @@ func awsRestjson1_deserializeDocumentIndicatorDetail(v **types.IndicatorDetail, if err := awsRestjson1_deserializeDocumentFlaggedIpAddressDetail(&sv.FlaggedIpAddressDetail, value); err != nil { return err } + case "ImpossibleTravelDetail": if err := awsRestjson1_deserializeDocumentImpossibleTravelDetail(&sv.ImpossibleTravelDetail, value); err != nil { return err } + case "NewAsoDetail": if err := awsRestjson1_deserializeDocumentNewAsoDetail(&sv.NewAsoDetail, value); err != nil { return err } + case "NewGeolocationDetail": if err := awsRestjson1_deserializeDocumentNewGeolocationDetail(&sv.NewGeolocationDetail, value); err != nil { return err } + case "NewUserAgentDetail": if err := awsRestjson1_deserializeDocumentNewUserAgentDetail(&sv.NewUserAgentDetail, value); err != nil { return err } + case "RelatedFindingDetail": if err := awsRestjson1_deserializeDocumentRelatedFindingDetail(&sv.RelatedFindingDetail, value); err != nil { return err } + case "RelatedFindingGroupDetail": if err := awsRestjson1_deserializeDocumentRelatedFindingGroupDetail(&sv.RelatedFindingGroupDetail, value); err != nil { return err } + case "TTPsObservedDetail": if err := awsRestjson1_deserializeDocumentTTPsObservedDetail(&sv.TTPsObservedDetail, value); err != nil { return err } + default: _, _ = key, value @@ -5271,6 +5343,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5314,6 +5387,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.CreatedTime = ptr.Time(t) } + case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -5322,6 +5396,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.EntityArn = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -5330,6 +5405,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.EntityType = types.EntityType(jtv) } + case "InvestigationId": if value != nil { jtv, ok := value.(string) @@ -5338,6 +5414,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.InvestigationId = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -5346,6 +5423,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.Severity = types.Severity(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -5354,6 +5432,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.State = types.State(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5362,6 +5441,7 @@ func awsRestjson1_deserializeDocumentInvestigationDetail(v **types.Investigation } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -5470,6 +5550,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.AccountId = ptr.String(jtv) } + case "AdministratorId": if value != nil { jtv, ok := value.(string) @@ -5478,10 +5559,12 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.AdministratorId = ptr.String(jtv) } + case "DatasourcePackageIngestStates": if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestStates(&sv.DatasourcePackageIngestStates, value); err != nil { return err } + case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -5490,6 +5573,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.DisabledReason = types.MemberDisabledReason(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5498,6 +5582,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.EmailAddress = ptr.String(jtv) } + case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -5506,6 +5591,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.GraphArn = ptr.String(jtv) } + case "InvitationType": if value != nil { jtv, ok := value.(string) @@ -5514,6 +5600,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.InvitationType = types.InvitationType(jtv) } + case "InvitedTime": if value != nil { jtv, ok := value.(string) @@ -5526,6 +5613,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.InvitedTime = ptr.Time(t) } + case "MasterId": if value != nil { jtv, ok := value.(string) @@ -5534,6 +5622,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.MasterId = ptr.String(jtv) } + case "PercentOfGraphUtilization": if value != nil { switch jtv := value.(type) { @@ -5567,6 +5656,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } } + case "PercentOfGraphUtilizationUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5579,6 +5669,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.PercentOfGraphUtilizationUpdatedTime = ptr.Time(t) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5678,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.Status = types.MemberStatus(jtv) } + case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5599,10 +5691,12 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.UpdatedTime = ptr.Time(t) } + case "VolumeUsageByDatasourcePackage": if err := awsRestjson1_deserializeDocumentVolumeUsageByDatasourcePackage(&sv.VolumeUsageByDatasourcePackage, value); err != nil { return err } + case "VolumeUsageInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5615,6 +5709,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.VolumeUsageInBytes = ptr.Int64(i64) } + case "VolumeUsageUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -5627,6 +5722,7 @@ func awsRestjson1_deserializeDocumentMemberDetail(v **types.MemberDetail, value } sv.VolumeUsageUpdatedTime = ptr.Time(t) } + default: _, _ = key, value @@ -5700,10 +5796,12 @@ func awsRestjson1_deserializeDocumentMembershipDatasources(v **types.MembershipD } sv.AccountId = ptr.String(jtv) } + case "DatasourcePackageIngestHistory": if err := awsRestjson1_deserializeDocumentDatasourcePackageIngestHistory(&sv.DatasourcePackageIngestHistory, value); err != nil { return err } + case "GraphArn": if value != nil { jtv, ok := value.(string) @@ -5712,6 +5810,7 @@ func awsRestjson1_deserializeDocumentMembershipDatasources(v **types.MembershipD } sv.GraphArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5785,6 +5884,7 @@ func awsRestjson1_deserializeDocumentNewAsoDetail(v **types.NewAsoDetail, value } sv.Aso = ptr.String(jtv) } + case "IsNewForEntireAccount": if value != nil { jtv, ok := value.(bool) @@ -5793,6 +5893,7 @@ func awsRestjson1_deserializeDocumentNewAsoDetail(v **types.NewAsoDetail, value } sv.IsNewForEntireAccount = jtv } + default: _, _ = key, value @@ -5832,6 +5933,7 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.IpAddress = ptr.String(jtv) } + case "IsNewForEntireAccount": if value != nil { jtv, ok := value.(bool) @@ -5840,6 +5942,7 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.IsNewForEntireAccount = jtv } + case "Location": if value != nil { jtv, ok := value.(string) @@ -5848,6 +5951,7 @@ func awsRestjson1_deserializeDocumentNewGeolocationDetail(v **types.NewGeolocati } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -5887,6 +5991,7 @@ func awsRestjson1_deserializeDocumentNewUserAgentDetail(v **types.NewUserAgentDe } sv.IsNewForEntireAccount = jtv } + case "UserAgent": if value != nil { jtv, ok := value.(string) @@ -5895,6 +6000,7 @@ func awsRestjson1_deserializeDocumentNewUserAgentDetail(v **types.NewUserAgentDe } sv.UserAgent = ptr.String(jtv) } + default: _, _ = key, value @@ -5934,6 +6040,7 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.Arn = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -5942,6 +6049,7 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.IpAddress = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5950,6 +6058,7 @@ func awsRestjson1_deserializeDocumentRelatedFindingDetail(v **types.RelatedFindi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5989,6 +6098,7 @@ func awsRestjson1_deserializeDocumentRelatedFindingGroupDetail(v **types.Related } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6064,6 +6174,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6103,10 +6214,12 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -6186,6 +6299,7 @@ func awsRestjson1_deserializeDocumentTimestampForCollection(v **types.TimestampF } sv.Timestamp = ptr.Time(t) } + default: _, _ = key, value @@ -6225,6 +6339,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6268,6 +6383,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APIFailureCount = i64 } + case "APIName": if value != nil { jtv, ok := value.(string) @@ -6276,6 +6392,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APIName = ptr.String(jtv) } + case "APISuccessCount": if value != nil { jtv, ok := value.(json.Number) @@ -6288,6 +6405,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.APISuccessCount = i64 } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -6296,6 +6414,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.IpAddress = ptr.String(jtv) } + case "Procedure": if value != nil { jtv, ok := value.(string) @@ -6304,6 +6423,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Procedure = ptr.String(jtv) } + case "Tactic": if value != nil { jtv, ok := value.(string) @@ -6312,6 +6432,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Tactic = ptr.String(jtv) } + case "Technique": if value != nil { jtv, ok := value.(string) @@ -6320,6 +6441,7 @@ func awsRestjson1_deserializeDocumentTTPsObservedDetail(v **types.TTPsObservedDe } sv.Technique = ptr.String(jtv) } + default: _, _ = key, value @@ -6359,6 +6481,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -6367,6 +6490,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -6440,6 +6564,7 @@ func awsRestjson1_deserializeDocumentUnprocessedGraph(v **types.UnprocessedGraph } sv.GraphArn = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -6448,6 +6573,7 @@ func awsRestjson1_deserializeDocumentUnprocessedGraph(v **types.UnprocessedGraph } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -6521,6 +6647,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = types.ErrorCode(jtv) } + case "ErrorCodeReason": if value != nil { jtv, ok := value.(string) @@ -6529,6 +6656,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCodeReason = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6537,6 +6665,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/devicefarm/deserializers.go b/service/devicefarm/deserializers.go index ea23ca28e9f..801359c19e9 100644 --- a/service/devicefarm/deserializers.go +++ b/service/devicefarm/deserializers.go @@ -9702,6 +9702,7 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.AwsAccountNumber = ptr.String(jtv) } + case "defaultJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9714,6 +9715,7 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DefaultJobTimeoutMinutes = ptr.Int32(int32(i64)) } + case "maxJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -9726,10 +9728,12 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.MaxJobTimeoutMinutes = ptr.Int32(int32(i64)) } + case "maxSlots": if err := awsAwsjson11_deserializeDocumentMaxSlotMap(&sv.MaxSlots, value); err != nil { return err } + case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -9738,18 +9742,22 @@ func awsAwsjson11_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.SkipAppResign = ptr.Bool(jtv) } + case "trialMinutes": if err := awsAwsjson11_deserializeDocumentTrialMinutes(&sv.TrialMinutes, value); err != nil { return err } + case "unmeteredDevices": if err := awsAwsjson11_deserializeDocumentPurchasedDevicesMap(&sv.UnmeteredDevices, value); err != nil { return err } + case "unmeteredRemoteAccessDevices": if err := awsAwsjson11_deserializeDocumentPurchasedDevicesMap(&sv.UnmeteredRemoteAccessDevices, value); err != nil { return err } + default: _, _ = key, value @@ -9825,6 +9833,7 @@ func awsAwsjson11_deserializeDocumentArgumentException(v **types.ArgumentExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9864,6 +9873,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Arn = ptr.String(jtv) } + case "extension": if value != nil { jtv, ok := value.(string) @@ -9872,6 +9882,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Extension = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9880,6 +9891,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9888,6 +9900,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Type = types.ArtifactType(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -9896,6 +9909,7 @@ func awsAwsjson11_deserializeDocumentArtifact(v **types.Artifact, value interfac } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -9969,6 +9983,7 @@ func awsAwsjson11_deserializeDocumentCannotDeleteException(v **types.CannotDelet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10012,6 +10027,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Errored = ptr.Int32(int32(i64)) } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -10024,6 +10040,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Failed = ptr.Int32(int32(i64)) } + case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -10036,6 +10053,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Passed = ptr.Int32(int32(i64)) } + case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -10048,6 +10066,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Skipped = ptr.Int32(int32(i64)) } + case "stopped": if value != nil { jtv, ok := value.(json.Number) @@ -10060,6 +10079,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Stopped = ptr.Int32(int32(i64)) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -10072,6 +10092,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Total = ptr.Int32(int32(i64)) } + case "warned": if value != nil { jtv, ok := value.(json.Number) @@ -10084,6 +10105,7 @@ func awsAwsjson11_deserializeDocumentCounters(v **types.Counters, value interfac } sv.Warned = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10123,6 +10145,7 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Architecture = ptr.String(jtv) } + case "clock": if value != nil { switch jtv := value.(type) { @@ -10156,6 +10179,7 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } } + case "frequency": if value != nil { jtv, ok := value.(string) @@ -10164,6 +10188,7 @@ func awsAwsjson11_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Frequency = ptr.String(jtv) } + default: _, _ = key, value @@ -10199,14 +10224,17 @@ func awsAwsjson11_deserializeDocumentCustomerArtifactPaths(v **types.CustomerArt if err := awsAwsjson11_deserializeDocumentAndroidPaths(&sv.AndroidPaths, value); err != nil { return err } + case "deviceHostPaths": if err := awsAwsjson11_deserializeDocumentDeviceHostPaths(&sv.DeviceHostPaths, value); err != nil { return err } + case "iosPaths": if err := awsAwsjson11_deserializeDocumentIosPaths(&sv.IosPaths, value); err != nil { return err } + default: _, _ = key, value @@ -10246,6 +10274,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Arn = ptr.String(jtv) } + case "availability": if value != nil { jtv, ok := value.(string) @@ -10254,6 +10283,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Availability = types.DeviceAvailability(jtv) } + case "carrier": if value != nil { jtv, ok := value.(string) @@ -10262,10 +10292,12 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Carrier = ptr.String(jtv) } + case "cpu": if err := awsAwsjson11_deserializeDocumentCPU(&sv.Cpu, value); err != nil { return err } + case "fleetName": if value != nil { jtv, ok := value.(string) @@ -10274,6 +10306,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FleetName = ptr.String(jtv) } + case "fleetType": if value != nil { jtv, ok := value.(string) @@ -10282,6 +10315,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FleetType = ptr.String(jtv) } + case "formFactor": if value != nil { jtv, ok := value.(string) @@ -10290,6 +10324,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.FormFactor = types.DeviceFormFactor(jtv) } + case "heapSize": if value != nil { jtv, ok := value.(json.Number) @@ -10302,6 +10337,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HeapSize = ptr.Int64(i64) } + case "image": if value != nil { jtv, ok := value.(string) @@ -10310,10 +10346,12 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Image = ptr.String(jtv) } + case "instances": if err := awsAwsjson11_deserializeDocumentDeviceInstances(&sv.Instances, value); err != nil { return err } + case "manufacturer": if value != nil { jtv, ok := value.(string) @@ -10322,6 +10360,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Manufacturer = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -10334,6 +10373,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Memory = ptr.Int64(i64) } + case "model": if value != nil { jtv, ok := value.(string) @@ -10342,6 +10382,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -10350,6 +10391,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ModelId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10358,6 +10400,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } + case "os": if value != nil { jtv, ok := value.(string) @@ -10366,6 +10409,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Os = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -10374,6 +10418,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Platform = types.DevicePlatform(jtv) } + case "radio": if value != nil { jtv, ok := value.(string) @@ -10382,6 +10427,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Radio = ptr.String(jtv) } + case "remoteAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -10390,6 +10436,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.RemoteAccessEnabled = ptr.Bool(jtv) } + case "remoteDebugEnabled": if value != nil { jtv, ok := value.(bool) @@ -10398,10 +10445,12 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.RemoteDebugEnabled = ptr.Bool(jtv) } + case "resolution": if err := awsAwsjson11_deserializeDocumentResolution(&sv.Resolution, value); err != nil { return err } + default: _, _ = key, value @@ -10441,6 +10490,7 @@ func awsAwsjson11_deserializeDocumentDeviceFilter(v **types.DeviceFilter, value } sv.Attribute = types.DeviceFilterAttribute(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -10449,10 +10499,12 @@ func awsAwsjson11_deserializeDocumentDeviceFilter(v **types.DeviceFilter, value } sv.Operator = types.RuleOperator(jtv) } + case "values": if err := awsAwsjson11_deserializeDocumentDeviceFilterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -10598,6 +10650,7 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Arn = ptr.String(jtv) } + case "deviceArn": if value != nil { jtv, ok := value.(string) @@ -10606,14 +10659,17 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.DeviceArn = ptr.String(jtv) } + case "instanceProfile": if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + case "labels": if err := awsAwsjson11_deserializeDocumentInstanceLabels(&sv.Labels, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10622,6 +10678,7 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Status = types.InstanceStatus(jtv) } + case "udid": if value != nil { jtv, ok := value.(string) @@ -10630,6 +10687,7 @@ func awsAwsjson11_deserializeDocumentDeviceInstance(v **types.DeviceInstance, va } sv.Udid = ptr.String(jtv) } + default: _, _ = key, value @@ -10728,6 +10786,7 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } + case "total": if value != nil { switch jtv := value.(type) { @@ -10761,6 +10820,7 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } + case "unmetered": if value != nil { switch jtv := value.(type) { @@ -10794,6 +10854,7 @@ func awsAwsjson11_deserializeDocumentDeviceMinutes(v **types.DeviceMinutes, valu } } + default: _, _ = key, value @@ -10833,6 +10894,7 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10841,6 +10903,7 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Description = ptr.String(jtv) } + case "maxDevices": if value != nil { jtv, ok := value.(json.Number) @@ -10853,6 +10916,7 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.MaxDevices = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10861,10 +10925,12 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Name = ptr.String(jtv) } + case "rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10873,6 +10939,7 @@ func awsAwsjson11_deserializeDocumentDevicePool(v **types.DevicePool, value inte } sv.Type = types.DevicePoolType(jtv) } + default: _, _ = key, value @@ -10912,14 +10979,17 @@ func awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResult(v **types.Dev } sv.Compatible = ptr.Bool(jtv) } + case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + case "incompatibilityMessages": if err := awsAwsjson11_deserializeDocumentIncompatibilityMessages(&sv.IncompatibilityMessages, value); err != nil { return err } + default: _, _ = key, value @@ -11057,6 +11127,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec if err := awsAwsjson11_deserializeDocumentDeviceFilters(&sv.Filters, value); err != nil { return err } + case "matchedDevicesCount": if value != nil { jtv, ok := value.(json.Number) @@ -11069,6 +11140,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec } sv.MatchedDevicesCount = ptr.Int32(int32(i64)) } + case "maxDevices": if value != nil { jtv, ok := value.(json.Number) @@ -11081,6 +11153,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionResult(v **types.DeviceSelec } sv.MaxDevices = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11120,6 +11193,7 @@ func awsAwsjson11_deserializeDocumentIdempotencyException(v **types.IdempotencyE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11159,6 +11233,7 @@ func awsAwsjson11_deserializeDocumentIncompatibilityMessage(v **types.Incompatib } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11167,6 +11242,7 @@ func awsAwsjson11_deserializeDocumentIncompatibilityMessage(v **types.Incompatib } sv.Type = types.DeviceAttribute(jtv) } + default: _, _ = key, value @@ -11276,6 +11352,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11284,10 +11361,12 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Description = ptr.String(jtv) } + case "excludeAppPackagesFromCleanup": if err := awsAwsjson11_deserializeDocumentPackageIds(&sv.ExcludeAppPackagesFromCleanup, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11296,6 +11375,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.Name = ptr.String(jtv) } + case "packageCleanup": if value != nil { jtv, ok := value.(bool) @@ -11304,6 +11384,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.PackageCleanup = ptr.Bool(jtv) } + case "rebootAfterUse": if value != nil { jtv, ok := value.(bool) @@ -11312,6 +11393,7 @@ func awsAwsjson11_deserializeDocumentInstanceProfile(v **types.InstanceProfile, } sv.RebootAfterUse = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11385,6 +11467,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11424,6 +11507,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11499,10 +11583,12 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -11518,14 +11604,17 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -11534,6 +11623,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InstanceArn = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11542,6 +11632,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11550,6 +11641,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -11558,6 +11650,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Result = types.ExecutionResult(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -11573,6 +11666,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11581,6 +11675,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.ExecutionStatus(jtv) } + case "stopped": if value != nil { switch jtv := value.(type) { @@ -11596,6 +11691,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "type": if value != nil { jtv, ok := value.(string) @@ -11604,6 +11700,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.TestType(jtv) } + case "videoCapture": if value != nil { jtv, ok := value.(bool) @@ -11612,6 +11709,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.VideoCapture = ptr.Bool(jtv) } + case "videoEndpoint": if value != nil { jtv, ok := value.(string) @@ -11620,6 +11718,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.VideoEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -11693,6 +11792,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11757,6 +11857,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } } + case "longitude": if value != nil { switch jtv := value.(type) { @@ -11790,6 +11891,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } } + default: _, _ = key, value @@ -11894,6 +11996,7 @@ func awsAwsjson11_deserializeDocumentMonetaryAmount(v **types.MonetaryAmount, va } } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -11902,6 +12005,7 @@ func awsAwsjson11_deserializeDocumentMonetaryAmount(v **types.MonetaryAmount, va } sv.CurrencyCode = types.CurrencyCode(jtv) } + default: _, _ = key, value @@ -11941,6 +12045,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11949,6 +12054,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Description = ptr.String(jtv) } + case "downlinkBandwidthBits": if value != nil { jtv, ok := value.(json.Number) @@ -11961,6 +12067,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkBandwidthBits = ptr.Int64(i64) } + case "downlinkDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -11973,6 +12080,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkDelayMs = ptr.Int64(i64) } + case "downlinkJitterMs": if value != nil { jtv, ok := value.(json.Number) @@ -11985,6 +12093,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkJitterMs = ptr.Int64(i64) } + case "downlinkLossPercent": if value != nil { jtv, ok := value.(json.Number) @@ -11997,6 +12106,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.DownlinkLossPercent = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12005,6 +12115,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12013,6 +12124,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.Type = types.NetworkProfileType(jtv) } + case "uplinkBandwidthBits": if value != nil { jtv, ok := value.(json.Number) @@ -12025,6 +12137,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkBandwidthBits = ptr.Int64(i64) } + case "uplinkDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -12037,6 +12150,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkDelayMs = ptr.Int64(i64) } + case "uplinkJitterMs": if value != nil { jtv, ok := value.(json.Number) @@ -12049,6 +12163,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkJitterMs = ptr.Int64(i64) } + case "uplinkLossPercent": if value != nil { jtv, ok := value.(json.Number) @@ -12061,6 +12176,7 @@ func awsAwsjson11_deserializeDocumentNetworkProfile(v **types.NetworkProfile, va } sv.UplinkLossPercent = int32(i64) } + default: _, _ = key, value @@ -12134,6 +12250,7 @@ func awsAwsjson11_deserializeDocumentNotEligibleException(v **types.NotEligibleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12173,6 +12290,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12212,6 +12330,7 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12220,6 +12339,7 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Id = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -12228,10 +12348,12 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Platform = types.DevicePlatform(jtv) } + case "recurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringCharges(&sv.RecurringCharges, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -12240,6 +12362,7 @@ func awsAwsjson11_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Type = types.OfferingType(jtv) } + default: _, _ = key, value @@ -12279,6 +12402,7 @@ func awsAwsjson11_deserializeDocumentOfferingPromotion(v **types.OfferingPromoti } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12287,6 +12411,7 @@ func awsAwsjson11_deserializeDocumentOfferingPromotion(v **types.OfferingPromoti } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12401,10 +12526,12 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } } + case "offering": if err := awsAwsjson11_deserializeDocumentOffering(&sv.Offering, value); err != nil { return err } + case "quantity": if value != nil { jtv, ok := value.(json.Number) @@ -12417,6 +12544,7 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } sv.Quantity = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12425,6 +12553,7 @@ func awsAwsjson11_deserializeDocumentOfferingStatus(v **types.OfferingStatus, va } sv.Type = types.OfferingTransactionType(jtv) } + default: _, _ = key, value @@ -12495,6 +12624,7 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans if err := awsAwsjson11_deserializeDocumentMonetaryAmount(&sv.Cost, value); err != nil { return err } + case "createdOn": if value != nil { switch jtv := value.(type) { @@ -12510,6 +12640,7 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } } + case "offeringPromotionId": if value != nil { jtv, ok := value.(string) @@ -12518,10 +12649,12 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } sv.OfferingPromotionId = ptr.String(jtv) } + case "offeringStatus": if err := awsAwsjson11_deserializeDocumentOfferingStatus(&sv.OfferingStatus, value); err != nil { return err } + case "transactionId": if value != nil { jtv, ok := value.(string) @@ -12530,6 +12663,7 @@ func awsAwsjson11_deserializeDocumentOfferingTransaction(v **types.OfferingTrans } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12635,10 +12769,12 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + case "job": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Job, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -12647,6 +12783,7 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Message = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -12655,18 +12792,22 @@ func awsAwsjson11_deserializeDocumentProblem(v **types.Problem, value interface{ } sv.Result = types.ExecutionResult(jtv) } + case "run": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Run, value); err != nil { return err } + case "suite": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Suite, value); err != nil { return err } + case "test": if err := awsAwsjson11_deserializeDocumentProblemDetail(&sv.Test, value); err != nil { return err } + default: _, _ = key, value @@ -12706,6 +12847,7 @@ func awsAwsjson11_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12714,6 +12856,7 @@ func awsAwsjson11_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12787,6 +12930,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -12802,6 +12946,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } + case "defaultJobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12814,6 +12959,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.DefaultJobTimeoutMinutes = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12822,10 +12968,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12939,6 +13087,7 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Bluetooth = ptr.Bool(jtv) } + case "gps": if value != nil { jtv, ok := value.(bool) @@ -12947,6 +13096,7 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Gps = ptr.Bool(jtv) } + case "nfc": if value != nil { jtv, ok := value.(bool) @@ -12955,6 +13105,7 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Nfc = ptr.Bool(jtv) } + case "wifi": if value != nil { jtv, ok := value.(bool) @@ -12963,6 +13114,7 @@ func awsAwsjson11_deserializeDocumentRadios(v **types.Radios, value interface{}) } sv.Wifi = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12998,6 +13150,7 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, if err := awsAwsjson11_deserializeDocumentMonetaryAmount(&sv.Cost, value); err != nil { return err } + case "frequency": if value != nil { jtv, ok := value.(string) @@ -13006,6 +13159,7 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.Frequency = types.RecurringChargeFrequency(jtv) } + default: _, _ = key, value @@ -13079,6 +13233,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Arn = ptr.String(jtv) } + case "billingMethod": if value != nil { jtv, ok := value.(string) @@ -13087,6 +13242,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.BillingMethod = types.BillingMethod(jtv) } + case "clientId": if value != nil { jtv, ok := value.(string) @@ -13095,6 +13251,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.ClientId = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -13110,14 +13267,17 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } + case "device": if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } + case "deviceUdid": if value != nil { jtv, ok := value.(string) @@ -13126,6 +13286,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.DeviceUdid = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -13134,6 +13295,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Endpoint = ptr.String(jtv) } + case "hostAddress": if value != nil { jtv, ok := value.(string) @@ -13142,6 +13304,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.HostAddress = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -13150,6 +13313,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.InstanceArn = ptr.String(jtv) } + case "interactionMode": if value != nil { jtv, ok := value.(string) @@ -13158,6 +13322,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.InteractionMode = types.InteractionMode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -13166,6 +13331,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13174,6 +13340,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Name = ptr.String(jtv) } + case "remoteDebugEnabled": if value != nil { jtv, ok := value.(bool) @@ -13182,6 +13349,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteDebugEnabled = ptr.Bool(jtv) } + case "remoteRecordAppArn": if value != nil { jtv, ok := value.(string) @@ -13190,6 +13358,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteRecordAppArn = ptr.String(jtv) } + case "remoteRecordEnabled": if value != nil { jtv, ok := value.(bool) @@ -13198,6 +13367,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.RemoteRecordEnabled = ptr.Bool(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -13206,6 +13376,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Result = types.ExecutionResult(jtv) } + case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -13214,6 +13385,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.SkipAppResign = ptr.Bool(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -13229,6 +13401,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } + case "status": if value != nil { jtv, ok := value.(string) @@ -13237,6 +13410,7 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } sv.Status = types.ExecutionStatus(jtv) } + case "stopped": if value != nil { switch jtv := value.(type) { @@ -13252,10 +13426,12 @@ func awsAwsjson11_deserializeDocumentRemoteAccessSession(v **types.RemoteAccessS } } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13333,6 +13509,7 @@ func awsAwsjson11_deserializeDocumentResolution(v **types.Resolution, value inte } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -13345,6 +13522,7 @@ func awsAwsjson11_deserializeDocumentResolution(v **types.Resolution, value inte } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13384,6 +13562,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Attribute = types.DeviceAttribute(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -13392,6 +13571,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Operator = types.RuleOperator(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -13400,6 +13580,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13473,6 +13654,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.AppUpload = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13481,6 +13663,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "billingMethod": if value != nil { jtv, ok := value.(string) @@ -13489,6 +13672,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.BillingMethod = types.BillingMethod(jtv) } + case "completedJobs": if value != nil { jtv, ok := value.(json.Number) @@ -13501,10 +13685,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.CompletedJobs = ptr.Int32(int32(i64)) } + case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -13520,14 +13706,17 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } + case "customerArtifactPaths": if err := awsAwsjson11_deserializeDocumentCustomerArtifactPaths(&sv.CustomerArtifactPaths, value); err != nil { return err } + case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } + case "devicePoolArn": if value != nil { jtv, ok := value.(string) @@ -13536,10 +13725,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.DevicePoolArn = ptr.String(jtv) } + case "deviceSelectionResult": if err := awsAwsjson11_deserializeDocumentDeviceSelectionResult(&sv.DeviceSelectionResult, value); err != nil { return err } + case "eventCount": if value != nil { jtv, ok := value.(json.Number) @@ -13552,6 +13743,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.EventCount = ptr.Int32(int32(i64)) } + case "jobTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13564,6 +13756,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.JobTimeoutMinutes = ptr.Int32(int32(i64)) } + case "locale": if value != nil { jtv, ok := value.(string) @@ -13572,10 +13765,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Locale = ptr.String(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -13584,6 +13779,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13592,10 +13788,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Name = ptr.String(jtv) } + case "networkProfile": if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } + case "parsingResultUrl": if value != nil { jtv, ok := value.(string) @@ -13604,6 +13802,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.ParsingResultUrl = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -13612,10 +13811,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Platform = types.DevicePlatform(jtv) } + case "radios": if err := awsAwsjson11_deserializeDocumentRadios(&sv.Radios, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -13624,6 +13825,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Result = types.ExecutionResult(jtv) } + case "resultCode": if value != nil { jtv, ok := value.(string) @@ -13632,6 +13834,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.ResultCode = types.ExecutionResultCode(jtv) } + case "seed": if value != nil { jtv, ok := value.(json.Number) @@ -13644,6 +13847,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Seed = ptr.Int32(int32(i64)) } + case "skipAppResign": if value != nil { jtv, ok := value.(bool) @@ -13652,6 +13856,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.SkipAppResign = ptr.Bool(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -13667,6 +13872,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } + case "status": if value != nil { jtv, ok := value.(string) @@ -13675,6 +13881,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Status = types.ExecutionStatus(jtv) } + case "stopped": if value != nil { switch jtv := value.(type) { @@ -13690,6 +13897,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } } + case "testSpecArn": if value != nil { jtv, ok := value.(string) @@ -13698,6 +13906,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.TestSpecArn = ptr.String(jtv) } + case "totalJobs": if value != nil { jtv, ok := value.(json.Number) @@ -13710,6 +13919,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.TotalJobs = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13718,10 +13928,12 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.Type = types.TestType(jtv) } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + case "webUrl": if value != nil { jtv, ok := value.(string) @@ -13730,6 +13942,7 @@ func awsAwsjson11_deserializeDocumentRun(v **types.Run, value interface{}) error } sv.WebUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13803,6 +14016,7 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Arn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13811,6 +14025,7 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Type = types.SampleType(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -13819,6 +14034,7 @@ func awsAwsjson11_deserializeDocumentSample(v **types.Sample, value interface{}) } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -13928,6 +14144,7 @@ func awsAwsjson11_deserializeDocumentServiceAccountException(v **types.ServiceAc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14003,10 +14220,12 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -14022,10 +14241,12 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } + case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -14034,6 +14255,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14042,6 +14264,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Name = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -14050,6 +14273,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Result = types.ExecutionResult(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -14065,6 +14289,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14073,6 +14298,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Status = types.ExecutionStatus(jtv) } + case "stopped": if value != nil { switch jtv := value.(type) { @@ -14088,6 +14314,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } } + case "type": if value != nil { jtv, ok := value.(string) @@ -14096,6 +14323,7 @@ func awsAwsjson11_deserializeDocumentSuite(v **types.Suite, value interface{}) e } sv.Type = types.TestType(jtv) } + default: _, _ = key, value @@ -14169,6 +14397,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14177,6 +14406,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14250,6 +14480,7 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14258,6 +14489,7 @@ func awsAwsjson11_deserializeDocumentTagOperationException(v **types.TagOperatio } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14297,6 +14529,7 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14305,6 +14538,7 @@ func awsAwsjson11_deserializeDocumentTagPolicyException(v **types.TagPolicyExcep } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14344,10 +14578,12 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "counters": if err := awsAwsjson11_deserializeDocumentCounters(&sv.Counters, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -14363,10 +14599,12 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } + case "deviceMinutes": if err := awsAwsjson11_deserializeDocumentDeviceMinutes(&sv.DeviceMinutes, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -14375,6 +14613,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14383,6 +14622,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Name = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -14391,6 +14631,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Result = types.ExecutionResult(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -14406,6 +14647,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14414,6 +14656,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Status = types.ExecutionStatus(jtv) } + case "stopped": if value != nil { switch jtv := value.(type) { @@ -14429,6 +14672,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } } + case "type": if value != nil { jtv, ok := value.(string) @@ -14437,6 +14681,7 @@ func awsAwsjson11_deserializeDocumentTest(v **types.Test, value interface{}) err } sv.Type = types.TestType(jtv) } + default: _, _ = key, value @@ -14476,6 +14721,7 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Arn = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -14491,6 +14737,7 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -14499,6 +14746,7 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14507,10 +14755,12 @@ func awsAwsjson11_deserializeDocumentTestGridProject(v **types.TestGridProject, } sv.Name = ptr.String(jtv) } + case "vpcConfig": if err := awsAwsjson11_deserializeDocumentTestGridVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14584,6 +14834,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.Arn = ptr.String(jtv) } + case "billingMinutes": if value != nil { switch jtv := value.(type) { @@ -14617,6 +14868,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } + case "created": if value != nil { switch jtv := value.(type) { @@ -14632,6 +14884,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } + case "ended": if value != nil { switch jtv := value.(type) { @@ -14647,6 +14900,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } } + case "seleniumProperties": if value != nil { jtv, ok := value.(string) @@ -14655,6 +14909,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.SeleniumProperties = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14663,6 +14918,7 @@ func awsAwsjson11_deserializeDocumentTestGridSession(v **types.TestGridSession, } sv.Status = types.TestGridSessionStatus(jtv) } + default: _, _ = key, value @@ -14702,6 +14958,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.Action = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -14714,6 +14971,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.Duration = ptr.Int64(i64) } + case "requestMethod": if value != nil { jtv, ok := value.(string) @@ -14722,6 +14980,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.RequestMethod = ptr.String(jtv) } + case "started": if value != nil { switch jtv := value.(type) { @@ -14737,6 +14996,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -14745,6 +15005,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionAction(v **types.TestGridSes } sv.StatusCode = ptr.String(jtv) } + default: _, _ = key, value @@ -14818,6 +15079,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Filename = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14826,6 +15088,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Type = types.TestGridSessionArtifactType(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -14834,6 +15097,7 @@ func awsAwsjson11_deserializeDocumentTestGridSessionArtifact(v **types.TestGridS } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -14937,10 +15201,12 @@ func awsAwsjson11_deserializeDocumentTestGridVpcConfig(v **types.TestGridVpcConf if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14949,6 +15215,7 @@ func awsAwsjson11_deserializeDocumentTestGridVpcConfig(v **types.TestGridVpcConf } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -15022,6 +15289,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -15030,6 +15298,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15094,6 +15363,7 @@ func awsAwsjson11_deserializeDocumentTrialMinutes(v **types.TrialMinutes, value } } + case "total": if value != nil { switch jtv := value.(type) { @@ -15127,6 +15397,7 @@ func awsAwsjson11_deserializeDocumentTrialMinutes(v **types.TrialMinutes, value } } + default: _, _ = key, value @@ -15166,10 +15437,12 @@ func awsAwsjson11_deserializeDocumentUniqueProblem(v **types.UniqueProblem, valu } sv.Message = ptr.String(jtv) } + case "problems": if err := awsAwsjson11_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } + default: _, _ = key, value @@ -15277,6 +15550,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Arn = ptr.String(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -15285,6 +15559,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Category = types.UploadCategory(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -15293,6 +15568,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.ContentType = ptr.String(jtv) } + case "created": if value != nil { switch jtv := value.(type) { @@ -15308,6 +15584,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } } + case "message": if value != nil { jtv, ok := value.(string) @@ -15316,6 +15593,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Message = ptr.String(jtv) } + case "metadata": if value != nil { jtv, ok := value.(string) @@ -15324,6 +15602,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Metadata = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15332,6 +15611,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15340,6 +15620,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Status = types.UploadStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -15348,6 +15629,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Type = types.UploadType(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -15356,6 +15638,7 @@ func awsAwsjson11_deserializeDocumentUpload(v **types.Upload, value interface{}) } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -15425,10 +15708,12 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsAwsjson11_deserializeDocumentVpcSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15437,6 +15722,7 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -15476,6 +15762,7 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.Arn = ptr.String(jtv) } + case "serviceDnsName": if value != nil { jtv, ok := value.(string) @@ -15484,6 +15771,7 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.ServiceDnsName = ptr.String(jtv) } + case "vpceConfigurationDescription": if value != nil { jtv, ok := value.(string) @@ -15492,6 +15780,7 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceConfigurationDescription = ptr.String(jtv) } + case "vpceConfigurationName": if value != nil { jtv, ok := value.(string) @@ -15500,6 +15789,7 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceConfigurationName = ptr.String(jtv) } + case "vpceServiceName": if value != nil { jtv, ok := value.(string) @@ -15508,6 +15798,7 @@ func awsAwsjson11_deserializeDocumentVPCEConfiguration(v **types.VPCEConfigurati } sv.VpceServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15649,6 +15940,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevicePoolOutput(v **CreateDevicePo if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } + default: _, _ = key, value @@ -15684,6 +15976,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceProfileOutput(v **CreateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -15719,6 +16012,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNetworkProfileOutput(v **CreateNetw if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } + default: _, _ = key, value @@ -15754,6 +16048,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -15789,6 +16084,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRemoteAccessSessionOutput(v **Creat if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } + default: _, _ = key, value @@ -15824,6 +16120,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridProjectOutput(v **CreateTes if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } + default: _, _ = key, value @@ -15870,6 +16167,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridUrlOutput(v **CreateTestGri } } + case "url": if value != nil { jtv, ok := value.(string) @@ -15878,6 +16176,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTestGridUrlOutput(v **CreateTestGri } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -15913,6 +16212,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUploadOutput(v **CreateUploadOutput if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } + default: _, _ = key, value @@ -15948,6 +16248,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVPCEConfigurationOutput(v **CreateV if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16262,6 +16563,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson11_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -16297,6 +16599,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceInstanceOutput(v **GetDeviceInst if err := awsAwsjson11_deserializeDocumentDeviceInstance(&sv.DeviceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -16332,6 +16635,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsAwsjson11_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -16367,10 +16671,12 @@ func awsAwsjson11_deserializeOpDocumentGetDevicePoolCompatibilityOutput(v **GetD if err := awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResults(&sv.CompatibleDevices, value); err != nil { return err } + case "incompatibleDevices": if err := awsAwsjson11_deserializeDocumentDevicePoolCompatibilityResults(&sv.IncompatibleDevices, value); err != nil { return err } + default: _, _ = key, value @@ -16406,6 +16712,7 @@ func awsAwsjson11_deserializeOpDocumentGetDevicePoolOutput(v **GetDevicePoolOutp if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } + default: _, _ = key, value @@ -16441,6 +16748,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceProfileOutput(v **GetInstanceP if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -16476,6 +16784,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -16511,6 +16820,7 @@ func awsAwsjson11_deserializeOpDocumentGetNetworkProfileOutput(v **GetNetworkPro if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } + default: _, _ = key, value @@ -16546,10 +16856,12 @@ func awsAwsjson11_deserializeOpDocumentGetOfferingStatusOutput(v **GetOfferingSt if err := awsAwsjson11_deserializeDocumentOfferingStatusMap(&sv.Current, value); err != nil { return err } + case "nextPeriod": if err := awsAwsjson11_deserializeDocumentOfferingStatusMap(&sv.NextPeriod, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16558,6 +16870,7 @@ func awsAwsjson11_deserializeOpDocumentGetOfferingStatusOutput(v **GetOfferingSt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16593,6 +16906,7 @@ func awsAwsjson11_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -16628,6 +16942,7 @@ func awsAwsjson11_deserializeOpDocumentGetRemoteAccessSessionOutput(v **GetRemot if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } + default: _, _ = key, value @@ -16663,6 +16978,7 @@ func awsAwsjson11_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } + default: _, _ = key, value @@ -16698,6 +17014,7 @@ func awsAwsjson11_deserializeOpDocumentGetSuiteOutput(v **GetSuiteOutput, value if err := awsAwsjson11_deserializeDocumentSuite(&sv.Suite, value); err != nil { return err } + default: _, _ = key, value @@ -16733,6 +17050,7 @@ func awsAwsjson11_deserializeOpDocumentGetTestGridProjectOutput(v **GetTestGridP if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } + default: _, _ = key, value @@ -16768,6 +17086,7 @@ func awsAwsjson11_deserializeOpDocumentGetTestGridSessionOutput(v **GetTestGridS if err := awsAwsjson11_deserializeDocumentTestGridSession(&sv.TestGridSession, value); err != nil { return err } + default: _, _ = key, value @@ -16803,6 +17122,7 @@ func awsAwsjson11_deserializeOpDocumentGetTestOutput(v **GetTestOutput, value in if err := awsAwsjson11_deserializeDocumentTest(&sv.Test, value); err != nil { return err } + default: _, _ = key, value @@ -16838,6 +17158,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadOutput(v **GetUploadOutput, valu if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } + default: _, _ = key, value @@ -16873,6 +17194,7 @@ func awsAwsjson11_deserializeOpDocumentGetVPCEConfigurationOutput(v **GetVPCECon if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16908,6 +17230,7 @@ func awsAwsjson11_deserializeOpDocumentInstallToRemoteAccessSessionOutput(v **In if err := awsAwsjson11_deserializeDocumentUpload(&sv.AppUpload, value); err != nil { return err } + default: _, _ = key, value @@ -16943,6 +17266,7 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsAwsjson11_deserializeDocumentArtifacts(&sv.Artifacts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16951,6 +17275,7 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16986,6 +17311,7 @@ func awsAwsjson11_deserializeOpDocumentListDeviceInstancesOutput(v **ListDeviceI if err := awsAwsjson11_deserializeDocumentDeviceInstances(&sv.DeviceInstances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16994,6 +17320,7 @@ func awsAwsjson11_deserializeOpDocumentListDeviceInstancesOutput(v **ListDeviceI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17029,6 +17356,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicePoolsOutput(v **ListDevicePools if err := awsAwsjson11_deserializeDocumentDevicePools(&sv.DevicePools, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17037,6 +17365,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicePoolsOutput(v **ListDevicePools } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17072,6 +17401,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDevices(&sv.Devices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17080,6 +17410,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17115,6 +17446,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceProfilesOutput(v **ListInstan if err := awsAwsjson11_deserializeDocumentInstanceProfiles(&sv.InstanceProfiles, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17123,6 +17455,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceProfilesOutput(v **ListInstan } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17158,6 +17491,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17166,6 +17500,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17201,6 +17536,7 @@ func awsAwsjson11_deserializeOpDocumentListNetworkProfilesOutput(v **ListNetwork if err := awsAwsjson11_deserializeDocumentNetworkProfiles(&sv.NetworkProfiles, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17209,6 +17545,7 @@ func awsAwsjson11_deserializeOpDocumentListNetworkProfilesOutput(v **ListNetwork } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17248,10 +17585,12 @@ func awsAwsjson11_deserializeOpDocumentListOfferingPromotionsOutput(v **ListOffe } sv.NextToken = ptr.String(jtv) } + case "offeringPromotions": if err := awsAwsjson11_deserializeDocumentOfferingPromotions(&sv.OfferingPromotions, value); err != nil { return err } + default: _, _ = key, value @@ -17291,10 +17630,12 @@ func awsAwsjson11_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } + case "offerings": if err := awsAwsjson11_deserializeDocumentOfferings(&sv.Offerings, value); err != nil { return err } + default: _, _ = key, value @@ -17334,10 +17675,12 @@ func awsAwsjson11_deserializeOpDocumentListOfferingTransactionsOutput(v **ListOf } sv.NextToken = ptr.String(jtv) } + case "offeringTransactions": if err := awsAwsjson11_deserializeDocumentOfferingTransactions(&sv.OfferingTransactions, value); err != nil { return err } + default: _, _ = key, value @@ -17377,10 +17720,12 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "projects": if err := awsAwsjson11_deserializeDocumentProjects(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -17420,10 +17765,12 @@ func awsAwsjson11_deserializeOpDocumentListRemoteAccessSessionsOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } + case "remoteAccessSessions": if err := awsAwsjson11_deserializeDocumentRemoteAccessSessions(&sv.RemoteAccessSessions, value); err != nil { return err } + default: _, _ = key, value @@ -17463,10 +17810,12 @@ func awsAwsjson11_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value } sv.NextToken = ptr.String(jtv) } + case "runs": if err := awsAwsjson11_deserializeDocumentRuns(&sv.Runs, value); err != nil { return err } + default: _, _ = key, value @@ -17506,10 +17855,12 @@ func awsAwsjson11_deserializeOpDocumentListSamplesOutput(v **ListSamplesOutput, } sv.NextToken = ptr.String(jtv) } + case "samples": if err := awsAwsjson11_deserializeDocumentSamples(&sv.Samples, value); err != nil { return err } + default: _, _ = key, value @@ -17549,10 +17900,12 @@ func awsAwsjson11_deserializeOpDocumentListSuitesOutput(v **ListSuitesOutput, va } sv.NextToken = ptr.String(jtv) } + case "suites": if err := awsAwsjson11_deserializeDocumentSuites(&sv.Suites, value); err != nil { return err } + default: _, _ = key, value @@ -17588,6 +17941,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17627,10 +17981,12 @@ func awsAwsjson11_deserializeOpDocumentListTestGridProjectsOutput(v **ListTestGr } sv.NextToken = ptr.String(jtv) } + case "testGridProjects": if err := awsAwsjson11_deserializeDocumentTestGridProjects(&sv.TestGridProjects, value); err != nil { return err } + default: _, _ = key, value @@ -17666,6 +18022,7 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionActionsOutput(v **List if err := awsAwsjson11_deserializeDocumentTestGridSessionActions(&sv.Actions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17674,6 +18031,7 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionActionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17709,6 +18067,7 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionArtifactsOutput(v **Li if err := awsAwsjson11_deserializeDocumentTestGridSessionArtifacts(&sv.Artifacts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17717,6 +18076,7 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionArtifactsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17756,10 +18116,12 @@ func awsAwsjson11_deserializeOpDocumentListTestGridSessionsOutput(v **ListTestGr } sv.NextToken = ptr.String(jtv) } + case "testGridSessions": if err := awsAwsjson11_deserializeDocumentTestGridSessions(&sv.TestGridSessions, value); err != nil { return err } + default: _, _ = key, value @@ -17799,10 +18161,12 @@ func awsAwsjson11_deserializeOpDocumentListTestsOutput(v **ListTestsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "tests": if err := awsAwsjson11_deserializeDocumentTests(&sv.Tests, value); err != nil { return err } + default: _, _ = key, value @@ -17842,10 +18206,12 @@ func awsAwsjson11_deserializeOpDocumentListUniqueProblemsOutput(v **ListUniquePr } sv.NextToken = ptr.String(jtv) } + case "uniqueProblems": if err := awsAwsjson11_deserializeDocumentUniqueProblemsByExecutionResultMap(&sv.UniqueProblems, value); err != nil { return err } + default: _, _ = key, value @@ -17885,10 +18251,12 @@ func awsAwsjson11_deserializeOpDocumentListUploadsOutput(v **ListUploadsOutput, } sv.NextToken = ptr.String(jtv) } + case "uploads": if err := awsAwsjson11_deserializeDocumentUploads(&sv.Uploads, value); err != nil { return err } + default: _, _ = key, value @@ -17928,10 +18296,12 @@ func awsAwsjson11_deserializeOpDocumentListVPCEConfigurationsOutput(v **ListVPCE } sv.NextToken = ptr.String(jtv) } + case "vpceConfigurations": if err := awsAwsjson11_deserializeDocumentVPCEConfigurations(&sv.VpceConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -17967,6 +18337,7 @@ func awsAwsjson11_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsAwsjson11_deserializeDocumentOfferingTransaction(&sv.OfferingTransaction, value); err != nil { return err } + default: _, _ = key, value @@ -18002,6 +18373,7 @@ func awsAwsjson11_deserializeOpDocumentRenewOfferingOutput(v **RenewOfferingOutp if err := awsAwsjson11_deserializeDocumentOfferingTransaction(&sv.OfferingTransaction, value); err != nil { return err } + default: _, _ = key, value @@ -18037,6 +18409,7 @@ func awsAwsjson11_deserializeOpDocumentScheduleRunOutput(v **ScheduleRunOutput, if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } + default: _, _ = key, value @@ -18072,6 +18445,7 @@ func awsAwsjson11_deserializeOpDocumentStopJobOutput(v **StopJobOutput, value in if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -18107,6 +18481,7 @@ func awsAwsjson11_deserializeOpDocumentStopRemoteAccessSessionOutput(v **StopRem if err := awsAwsjson11_deserializeDocumentRemoteAccessSession(&sv.RemoteAccessSession, value); err != nil { return err } + default: _, _ = key, value @@ -18142,6 +18517,7 @@ func awsAwsjson11_deserializeOpDocumentStopRunOutput(v **StopRunOutput, value in if err := awsAwsjson11_deserializeDocumentRun(&sv.Run, value); err != nil { return err } + default: _, _ = key, value @@ -18239,6 +18615,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDeviceInstanceOutput(v **UpdateDevi if err := awsAwsjson11_deserializeDocumentDeviceInstance(&sv.DeviceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -18274,6 +18651,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDevicePoolOutput(v **UpdateDevicePo if err := awsAwsjson11_deserializeDocumentDevicePool(&sv.DevicePool, value); err != nil { return err } + default: _, _ = key, value @@ -18309,6 +18687,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateInstanceProfileOutput(v **UpdateIns if err := awsAwsjson11_deserializeDocumentInstanceProfile(&sv.InstanceProfile, value); err != nil { return err } + default: _, _ = key, value @@ -18344,6 +18723,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateNetworkProfileOutput(v **UpdateNetw if err := awsAwsjson11_deserializeDocumentNetworkProfile(&sv.NetworkProfile, value); err != nil { return err } + default: _, _ = key, value @@ -18379,6 +18759,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -18414,6 +18795,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTestGridProjectOutput(v **UpdateTes if err := awsAwsjson11_deserializeDocumentTestGridProject(&sv.TestGridProject, value); err != nil { return err } + default: _, _ = key, value @@ -18449,6 +18831,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUploadOutput(v **UpdateUploadOutput if err := awsAwsjson11_deserializeDocumentUpload(&sv.Upload, value); err != nil { return err } + default: _, _ = key, value @@ -18484,6 +18867,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVPCEConfigurationOutput(v **UpdateV if err := awsAwsjson11_deserializeDocumentVPCEConfiguration(&sv.VpceConfiguration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/devopsguru/deserializers.go b/service/devopsguru/deserializers.go index 02166b33572..d2d4565acb1 100644 --- a/service/devopsguru/deserializers.go +++ b/service/devopsguru/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentAddNotificationChannelOutput(v **AddNotif } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -466,6 +467,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.AnalyzedResourceCount = ptr.Int64(i64) } + case "MetricsAnalyzed": if value != nil { jtv, ok := value.(json.Number) @@ -478,6 +480,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.MetricsAnalyzed = int32(i64) } + case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -490,6 +493,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.OpenProactiveInsights = int32(i64) } + case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -502,6 +506,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.OpenReactiveInsights = int32(i64) } + case "ResourceHours": if value != nil { jtv, ok := value.(json.Number) @@ -514,6 +519,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountHealthOutput(v **DescribeA } sv.ResourceHours = ptr.Int64(i64) } + default: _, _ = key, value @@ -682,6 +688,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.MeanTimeToRecoverInMilliseconds = ptr.Int64(i64) } + case "ProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -694,6 +701,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.ProactiveInsights = int32(i64) } + case "ReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -706,6 +714,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountOverviewOutput(v **Describ } sv.ReactiveInsights = int32(i64) } + default: _, _ = key, value @@ -869,10 +878,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyOutput(v **DescribeAnomaly if err := awsRestjson1_deserializeDocumentProactiveAnomaly(&sv.ProactiveAnomaly, value); err != nil { return err } + case "ReactiveAnomaly": if err := awsRestjson1_deserializeDocumentReactiveAnomaly(&sv.ReactiveAnomaly, value); err != nil { return err } + default: _, _ = key, value @@ -1033,6 +1044,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEventSourcesConfigOutput(v **Desc if err := awsRestjson1_deserializeDocumentEventSourcesConfig(&sv.EventSources, value); err != nil { return err } + default: _, _ = key, value @@ -1196,6 +1208,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFeedbackOutput(v **DescribeFeedba if err := awsRestjson1_deserializeDocumentInsightFeedback(&sv.InsightFeedback, value); err != nil { return err } + default: _, _ = key, value @@ -1359,10 +1372,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInsightOutput(v **DescribeInsight if err := awsRestjson1_deserializeDocumentProactiveInsight(&sv.ProactiveInsight, value); err != nil { return err } + case "ReactiveInsight": if err := awsRestjson1_deserializeDocumentReactiveInsight(&sv.ReactiveInsight, value); err != nil { return err } + default: _, _ = key, value @@ -1531,6 +1546,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.MetricsAnalyzed = int32(i64) } + case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1543,6 +1559,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.OpenProactiveInsights = int32(i64) } + case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1555,6 +1572,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.OpenReactiveInsights = int32(i64) } + case "ResourceHours": if value != nil { jtv, ok := value.(json.Number) @@ -1567,6 +1585,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationHealthOutput(v **Desc } sv.ResourceHours = ptr.Int64(i64) } + default: _, _ = key, value @@ -1735,6 +1754,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationOverviewOutput(v **De } sv.ProactiveInsights = int32(i64) } + case "ReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -1747,6 +1767,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationOverviewOutput(v **De } sv.ReactiveInsights = int32(i64) } + default: _, _ = key, value @@ -1907,10 +1928,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationResourceCollectionHea if err := awsRestjson1_deserializeDocumentAccountHealths(&sv.Account, value); err != nil { return err } + case "CloudFormation": if err := awsRestjson1_deserializeDocumentCloudFormationHealths(&sv.CloudFormation, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1919,14 +1942,17 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationResourceCollectionHea } sv.NextToken = ptr.String(jtv) } + case "Service": if err := awsRestjson1_deserializeDocumentServiceHealths(&sv.Service, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagHealths(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2087,6 +2113,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceCollectionHealthOutput(v if err := awsRestjson1_deserializeDocumentCloudFormationHealths(&sv.CloudFormation, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2095,14 +2122,17 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceCollectionHealthOutput(v } sv.NextToken = ptr.String(jtv) } + case "Service": if err := awsRestjson1_deserializeDocumentServiceHealths(&sv.Service, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagHealths(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2266,6 +2296,7 @@ func awsRestjson1_deserializeOpDocumentDescribeServiceIntegrationOutput(v **Desc if err := awsRestjson1_deserializeDocumentServiceIntegrationConfig(&sv.ServiceIntegration, value); err != nil { return err } + default: _, _ = key, value @@ -2429,6 +2460,7 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima if err := awsRestjson1_deserializeDocumentServiceResourceCosts(&sv.Costs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2437,10 +2469,12 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } sv.NextToken = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentCostEstimationResourceCollectionFilter(&sv.ResourceCollection, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2449,10 +2483,12 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } sv.Status = types.CostEstimationStatus(jtv) } + case "TimeRange": if err := awsRestjson1_deserializeDocumentCostEstimationTimeRange(&sv.TimeRange, value); err != nil { return err } + case "TotalCost": if value != nil { switch jtv := value.(type) { @@ -2486,6 +2522,7 @@ func awsRestjson1_deserializeOpDocumentGetCostEstimationOutput(v **GetCostEstima } } + default: _, _ = key, value @@ -2653,10 +2690,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceCollectionOutput(v **GetResour } sv.NextToken = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollectionFilter(&sv.ResourceCollection, value); err != nil { return err } + default: _, _ = key, value @@ -2824,14 +2863,17 @@ func awsRestjson1_deserializeOpDocumentListAnomaliesForInsightOutput(v **ListAno } sv.NextToken = ptr.String(jtv) } + case "ProactiveAnomalies": if err := awsRestjson1_deserializeDocumentProactiveAnomalies(&sv.ProactiveAnomalies, value); err != nil { return err } + case "ReactiveAnomalies": if err := awsRestjson1_deserializeDocumentReactiveAnomalies(&sv.ReactiveAnomalies, value); err != nil { return err } + default: _, _ = key, value @@ -2995,6 +3037,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom if err := awsRestjson1_deserializeDocumentAnomalousLogGroups(&sv.AnomalousLogGroups, value); err != nil { return err } + case "InsightId": if value != nil { jtv, ok := value.(string) @@ -3003,6 +3046,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom } sv.InsightId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3011,6 +3055,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalousLogGroupsOutput(v **ListAnom } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3174,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentListEventsOutput(v **ListEventsOutput, va if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3182,6 +3228,7 @@ func awsRestjson1_deserializeOpDocumentListEventsOutput(v **ListEventsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3346,14 +3393,17 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput } sv.NextToken = ptr.String(jtv) } + case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } + case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } + default: _, _ = key, value @@ -3514,6 +3564,7 @@ func awsRestjson1_deserializeOpDocumentListMonitoredResourcesOutput(v **ListMoni if err := awsRestjson1_deserializeDocumentMonitoredResourceIdentifiers(&sv.MonitoredResourceIdentifiers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3522,6 +3573,7 @@ func awsRestjson1_deserializeOpDocumentListMonitoredResourcesOutput(v **ListMoni } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3682,6 +3734,7 @@ func awsRestjson1_deserializeOpDocumentListNotificationChannelsOutput(v **ListNo if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3690,6 +3743,7 @@ func awsRestjson1_deserializeOpDocumentListNotificationChannelsOutput(v **ListNo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3854,14 +3908,17 @@ func awsRestjson1_deserializeOpDocumentListOrganizationInsightsOutput(v **ListOr } sv.NextToken = ptr.String(jtv) } + case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveOrganizationInsights(&sv.ProactiveInsights, value); err != nil { return err } + case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveOrganizationInsights(&sv.ReactiveInsights, value); err != nil { return err } + default: _, _ = key, value @@ -4029,10 +4086,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } + case "Recommendations": if err := awsRestjson1_deserializeDocumentRecommendations(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -4403,14 +4462,17 @@ func awsRestjson1_deserializeOpDocumentSearchInsightsOutput(v **SearchInsightsOu } sv.NextToken = ptr.String(jtv) } + case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } + case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } + default: _, _ = key, value @@ -4575,14 +4637,17 @@ func awsRestjson1_deserializeOpDocumentSearchOrganizationInsightsOutput(v **Sear } sv.NextToken = ptr.String(jtv) } + case "ProactiveInsights": if err := awsRestjson1_deserializeDocumentProactiveInsights(&sv.ProactiveInsights, value); err != nil { return err } + case "ReactiveInsights": if err := awsRestjson1_deserializeDocumentReactiveInsights(&sv.ReactiveInsights, value); err != nil { return err } + default: _, _ = key, value @@ -5314,6 +5379,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5353,10 +5419,12 @@ func awsRestjson1_deserializeDocumentAccountHealth(v **types.AccountHealth, valu } sv.AccountId = ptr.String(jtv) } + case "Insight": if err := awsRestjson1_deserializeDocumentAccountInsightHealth(&sv.Insight, value); err != nil { return err } + default: _, _ = key, value @@ -5434,6 +5502,7 @@ func awsRestjson1_deserializeDocumentAccountInsightHealth(v **types.AccountInsig } sv.OpenProactiveInsights = int32(i64) } + case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -5446,6 +5515,7 @@ func awsRestjson1_deserializeDocumentAccountInsightHealth(v **types.AccountInsig } sv.OpenReactiveInsights = int32(i64) } + default: _, _ = key, value @@ -5485,6 +5555,7 @@ func awsRestjson1_deserializeDocumentAmazonCodeGuruProfilerIntegration(v **types } sv.Status = types.EventSourceOptInStatus(jtv) } + default: _, _ = key, value @@ -5531,6 +5602,7 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } } + case "ImpactStartTime": if value != nil { switch jtv := value.(type) { @@ -5546,10 +5618,12 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } } + case "LogAnomalyShowcases": if err := awsRestjson1_deserializeDocumentLogAnomalyShowcases(&sv.LogAnomalyShowcases, value); err != nil { return err } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -5558,6 +5632,7 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } sv.LogGroupName = ptr.String(jtv) } + case "NumberOfLogLinesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -5570,6 +5645,7 @@ func awsRestjson1_deserializeDocumentAnomalousLogGroup(v **types.AnomalousLogGro } sv.NumberOfLogLinesScanned = int32(i64) } + default: _, _ = key, value @@ -5650,6 +5726,7 @@ func awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(v **types.AnomalyR } } + case "OpenTime": if value != nil { switch jtv := value.(type) { @@ -5665,6 +5742,7 @@ func awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(v **types.AnomalyR } } + default: _, _ = key, value @@ -5704,6 +5782,7 @@ func awsRestjson1_deserializeDocumentAnomalyResource(v **types.AnomalyResource, } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5712,6 +5791,7 @@ func awsRestjson1_deserializeDocumentAnomalyResource(v **types.AnomalyResource, } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5781,10 +5861,12 @@ func awsRestjson1_deserializeDocumentAnomalySourceDetails(v **types.AnomalySourc if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDetails(&sv.CloudWatchMetrics, value); err != nil { return err } + case "PerformanceInsightsMetrics": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetails(&sv.PerformanceInsightsMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -5824,6 +5906,7 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.Source = ptr.String(jtv) } + case "SourceResourceName": if value != nil { jtv, ok := value.(string) @@ -5832,6 +5915,7 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.SourceResourceName = ptr.String(jtv) } + case "SourceResourceType": if value != nil { jtv, ok := value.(string) @@ -5840,6 +5924,7 @@ func awsRestjson1_deserializeDocumentAnomalySourceMetadata(v **types.AnomalySour } sv.SourceResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5886,6 +5971,7 @@ func awsRestjson1_deserializeDocumentAnomalyTimeRange(v **types.AnomalyTimeRange } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5901,6 +5987,7 @@ func awsRestjson1_deserializeDocumentAnomalyTimeRange(v **types.AnomalyTimeRange } } + default: _, _ = key, value @@ -6006,6 +6093,7 @@ func awsRestjson1_deserializeDocumentCloudFormationCollection(v **types.CloudFor if err := awsRestjson1_deserializeDocumentStackNames(&sv.StackNames, value); err != nil { return err } + default: _, _ = key, value @@ -6041,6 +6129,7 @@ func awsRestjson1_deserializeDocumentCloudFormationCollectionFilter(v **types.Cl if err := awsRestjson1_deserializeDocumentStackNames(&sv.StackNames, value); err != nil { return err } + default: _, _ = key, value @@ -6076,6 +6165,7 @@ func awsRestjson1_deserializeDocumentCloudFormationCostEstimationResourceCollect if err := awsRestjson1_deserializeDocumentCostEstimationStackNames(&sv.StackNames, value); err != nil { return err } + default: _, _ = key, value @@ -6119,10 +6209,12 @@ func awsRestjson1_deserializeDocumentCloudFormationHealth(v **types.CloudFormati } sv.AnalyzedResourceCount = ptr.Int64(i64) } + case "Insight": if err := awsRestjson1_deserializeDocumentInsightHealth(&sv.Insight, value); err != nil { return err } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -6131,6 +6223,7 @@ func awsRestjson1_deserializeDocumentCloudFormationHealth(v **types.CloudFormati } sv.StackName = ptr.String(jtv) } + default: _, _ = key, value @@ -6204,10 +6297,12 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDataSummary(v **types.Clou } sv.StatusCode = types.CloudWatchMetricDataStatusCode(jtv) } + case "TimestampMetricValuePairList": if err := awsRestjson1_deserializeDocumentTimestampMetricValuePairList(&sv.TimestampMetricValuePairList, value); err != nil { return err } + default: _, _ = key, value @@ -6243,10 +6338,12 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDimensions(&sv.Dimensions, value); err != nil { return err } + case "MetricDataSummary": if err := awsRestjson1_deserializeDocumentCloudWatchMetricsDataSummary(&sv.MetricDataSummary, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -6255,6 +6352,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -6263,6 +6361,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Namespace = ptr.String(jtv) } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -6275,6 +6374,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Period = int32(i64) } + case "Stat": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6383,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Stat = types.CloudWatchMetricsStat(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6392,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDetail(v **types.CloudWatc } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -6364,6 +6466,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDimension(v **types.CloudW } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6475,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMetricsDimension(v **types.CloudW } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6445,6 +6549,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6453,6 +6558,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6461,6 +6567,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6496,10 +6603,12 @@ func awsRestjson1_deserializeDocumentCostEstimationResourceCollectionFilter(v ** if err := awsRestjson1_deserializeDocumentCloudFormationCostEstimationResourceCollectionFilter(&sv.CloudFormation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagCostEstimationResourceCollectionFilters(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6618,6 +6727,7 @@ func awsRestjson1_deserializeDocumentCostEstimationTimeRange(v **types.CostEstim } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6633,6 +6743,7 @@ func awsRestjson1_deserializeDocumentCostEstimationTimeRange(v **types.CostEstim } } + default: _, _ = key, value @@ -6672,6 +6783,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.DataSource = types.EventDataSource(jtv) } + case "EventClass": if value != nil { jtv, ok := value.(string) @@ -6680,6 +6792,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventClass = types.EventClass(jtv) } + case "EventSource": if value != nil { jtv, ok := value.(string) @@ -6688,6 +6801,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventSource = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6696,6 +6810,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6704,14 +6819,17 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Name = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Resources": if err := awsRestjson1_deserializeDocumentEventResources(&sv.Resources, value); err != nil { return err } + case "Time": if value != nil { switch jtv := value.(type) { @@ -6727,6 +6845,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + default: _, _ = key, value @@ -6766,6 +6885,7 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6774,6 +6894,7 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6782,6 +6903,7 @@ func awsRestjson1_deserializeDocumentEventResource(v **types.EventResource, valu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6885,6 +7007,7 @@ func awsRestjson1_deserializeDocumentEventSourcesConfig(v **types.EventSourcesCo if err := awsRestjson1_deserializeDocumentAmazonCodeGuruProfilerIntegration(&sv.AmazonCodeGuruProfiler, value); err != nil { return err } + default: _, _ = key, value @@ -6924,6 +7047,7 @@ func awsRestjson1_deserializeDocumentInsightFeedback(v **types.InsightFeedback, } sv.Feedback = types.InsightFeedbackOption(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6932,6 +7056,7 @@ func awsRestjson1_deserializeDocumentInsightFeedback(v **types.InsightFeedback, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -6975,6 +7100,7 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.MeanTimeToRecoverInMilliseconds = ptr.Int64(i64) } + case "OpenProactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -6987,6 +7113,7 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.OpenProactiveInsights = int32(i64) } + case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -6999,6 +7126,7 @@ func awsRestjson1_deserializeDocumentInsightHealth(v **types.InsightHealth, valu } sv.OpenReactiveInsights = int32(i64) } + default: _, _ = key, value @@ -7081,6 +7209,7 @@ func awsRestjson1_deserializeDocumentInsightTimeRange(v **types.InsightTimeRange } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7096,6 +7225,7 @@ func awsRestjson1_deserializeDocumentInsightTimeRange(v **types.InsightTimeRange } } + default: _, _ = key, value @@ -7135,6 +7265,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7147,6 +7278,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -7186,6 +7318,7 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.KMSKeyId = ptr.String(jtv) } + case "OptInStatus": if value != nil { jtv, ok := value.(string) @@ -7194,6 +7327,7 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.OptInStatus = types.OptInStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7202,6 +7336,7 @@ func awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(v **type } sv.Type = types.ServerSideEncryptionType(jtv) } + default: _, _ = key, value @@ -7241,6 +7376,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.Explanation = ptr.String(jtv) } + case "LogAnomalyToken": if value != nil { jtv, ok := value.(string) @@ -7249,6 +7385,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogAnomalyToken = ptr.String(jtv) } + case "LogAnomalyType": if value != nil { jtv, ok := value.(string) @@ -7257,6 +7394,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogAnomalyType = types.LogAnomalyType(jtv) } + case "LogEventId": if value != nil { jtv, ok := value.(string) @@ -7265,6 +7403,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogEventId = ptr.String(jtv) } + case "LogEventTimestamp": if value != nil { switch jtv := value.(type) { @@ -7280,6 +7419,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } } + case "LogStreamName": if value != nil { jtv, ok := value.(string) @@ -7288,6 +7428,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.LogStreamName = ptr.String(jtv) } + case "NumberOfLogLinesOccurrences": if value != nil { jtv, ok := value.(json.Number) @@ -7300,6 +7441,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyClass(v **types.LogAnomalyClass, } sv.NumberOfLogLinesOccurrences = int32(i64) } + default: _, _ = key, value @@ -7369,6 +7511,7 @@ func awsRestjson1_deserializeDocumentLogAnomalyShowcase(v **types.LogAnomalyShow if err := awsRestjson1_deserializeDocumentLogAnomalyClasses(&sv.LogAnomalyClasses, value); err != nil { return err } + default: _, _ = key, value @@ -7442,6 +7585,7 @@ func awsRestjson1_deserializeDocumentLogsAnomalyDetectionIntegration(v **types.L } sv.OptInStatus = types.OptInStatus(jtv) } + default: _, _ = key, value @@ -7488,6 +7632,7 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } } + case "MonitoredResourceName": if value != nil { jtv, ok := value.(string) @@ -7496,10 +7641,12 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.MonitoredResourceName = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "ResourcePermission": if value != nil { jtv, ok := value.(string) @@ -7508,6 +7655,7 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.ResourcePermission = types.ResourcePermission(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7516,6 +7664,7 @@ func awsRestjson1_deserializeDocumentMonitoredResourceIdentifier(v **types.Monit } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -7585,6 +7734,7 @@ func awsRestjson1_deserializeDocumentNotificationChannel(v **types.NotificationC if err := awsRestjson1_deserializeDocumentNotificationChannelConfig(&sv.Config, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7593,6 +7743,7 @@ func awsRestjson1_deserializeDocumentNotificationChannel(v **types.NotificationC } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -7628,10 +7779,12 @@ func awsRestjson1_deserializeDocumentNotificationChannelConfig(v **types.Notific if err := awsRestjson1_deserializeDocumentNotificationFilterConfig(&sv.Filters, value); err != nil { return err } + case "Sns": if err := awsRestjson1_deserializeDocumentSnsChannelConfig(&sv.Sns, value); err != nil { return err } + default: _, _ = key, value @@ -7667,10 +7820,12 @@ func awsRestjson1_deserializeDocumentNotificationFilterConfig(v **types.Notifica if err := awsRestjson1_deserializeDocumentNotificationMessageTypes(&sv.MessageTypes, value); err != nil { return err } + case "Severities": if err := awsRestjson1_deserializeDocumentInsightSeverities(&sv.Severities, value); err != nil { return err } + default: _, _ = key, value @@ -7746,6 +7901,7 @@ func awsRestjson1_deserializeDocumentOpsCenterIntegration(v **types.OpsCenterInt } sv.OptInStatus = types.OptInStatus(jtv) } + default: _, _ = key, value @@ -7781,6 +7937,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensions(&sv.Dimensions, value); err != nil { return err } + case "Group": if value != nil { jtv, ok := value.(string) @@ -7789,6 +7946,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * } sv.Group = ptr.String(jtv) } + case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -7801,6 +7959,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(v * } sv.Limit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7908,10 +8067,12 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(v **types.Pe if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricFilterMap(&sv.Filter, value); err != nil { return err } + case "GroupBy": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricDimensionGroup(&sv.GroupBy, value); err != nil { return err } + case "Metric": if value != nil { jtv, ok := value.(string) @@ -7920,6 +8081,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(v **types.Pe } sv.Metric = ptr.String(jtv) } + default: _, _ = key, value @@ -7959,22 +8121,27 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetail(v **types. } sv.MetricDisplayName = ptr.String(jtv) } + case "MetricQuery": if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(&sv.MetricQuery, value); err != nil { return err } + case "ReferenceData": if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceDataList(&sv.ReferenceData, value); err != nil { return err } + case "StatsAtAnomaly": if err := awsRestjson1_deserializeDocumentPerformanceInsightsStats(&sv.StatsAtAnomaly, value); err != nil { return err } + case "StatsAtBaseline": if err := awsRestjson1_deserializeDocumentPerformanceInsightsStats(&sv.StatsAtBaseline, value); err != nil { return err } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -7983,6 +8150,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsMetricsDetail(v **types. } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -8052,10 +8220,12 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceComparisonValue if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceMetric(&sv.ReferenceMetric, value); err != nil { return err } + case "ReferenceScalar": if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceScalar(&sv.ReferenceScalar, value); err != nil { return err } + default: _, _ = key, value @@ -8091,6 +8261,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceData(v **types. if err := awsRestjson1_deserializeDocumentPerformanceInsightsReferenceComparisonValues(&sv.ComparisonValues, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8099,6 +8270,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceData(v **types. } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8168,6 +8340,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceMetric(v **type if err := awsRestjson1_deserializeDocumentPerformanceInsightsMetricQuery(&sv.MetricQuery, value); err != nil { return err } + default: _, _ = key, value @@ -8232,6 +8405,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsReferenceScalar(v **type } } + default: _, _ = key, value @@ -8271,6 +8445,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsStat(v **types.Performan } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -8304,6 +8479,7 @@ func awsRestjson1_deserializeDocumentPerformanceInsightsStat(v **types.Performan } } + default: _, _ = key, value @@ -8384,6 +8560,7 @@ func awsRestjson1_deserializeDocumentPredictionTimeRange(v **types.PredictionTim } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8399,6 +8576,7 @@ func awsRestjson1_deserializeDocumentPredictionTimeRange(v **types.PredictionTim } } + default: _, _ = key, value @@ -8468,14 +8646,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } + case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } + case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } + case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -8484,6 +8665,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.AssociatedInsightId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8492,6 +8674,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8500,6 +8683,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Id = ptr.String(jtv) } + case "Limit": if value != nil { switch jtv := value.(type) { @@ -8533,14 +8717,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } } + case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -8549,14 +8736,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Severity = types.AnomalySeverity(jtv) } + case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } + case "SourceMetadata": if err := awsRestjson1_deserializeDocumentAnomalySourceMetadata(&sv.SourceMetadata, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8565,6 +8755,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } sv.Status = types.AnomalyStatus(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -8580,6 +8771,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomaly(v **types.ProactiveAnomaly } } + default: _, _ = key, value @@ -8615,14 +8807,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } + case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } + case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } + case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -8631,6 +8826,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.AssociatedInsightId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8639,6 +8835,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8647,6 +8844,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Id = ptr.String(jtv) } + case "Limit": if value != nil { switch jtv := value.(type) { @@ -8680,14 +8878,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } } + case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -8696,14 +8897,17 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Severity = types.AnomalySeverity(jtv) } + case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } + case "SourceMetadata": if err := awsRestjson1_deserializeDocumentAnomalySourceMetadata(&sv.SourceMetadata, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8712,6 +8916,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } sv.Status = types.AnomalyStatus(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -8727,6 +8932,7 @@ func awsRestjson1_deserializeDocumentProactiveAnomalySummary(v **types.Proactive } } + default: _, _ = key, value @@ -8766,6 +8972,7 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8774,10 +8981,12 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8786,14 +8995,17 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Name = ptr.String(jtv) } + case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -8802,6 +9014,7 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Severity = types.InsightSeverity(jtv) } + case "SsmOpsItemId": if value != nil { jtv, ok := value.(string) @@ -8810,6 +9023,7 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.SsmOpsItemId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8818,6 +9032,7 @@ func awsRestjson1_deserializeDocumentProactiveInsight(v **types.ProactiveInsight } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -8887,6 +9102,7 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive if err := awsRestjson1_deserializeDocumentAssociatedResourceArns(&sv.AssociatedResourceArns, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8895,10 +9111,12 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8907,18 +9125,22 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Name = ptr.String(jtv) } + case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -8927,6 +9149,7 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Severity = types.InsightSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8935,6 +9158,7 @@ func awsRestjson1_deserializeDocumentProactiveInsightSummary(v **types.Proactive } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -9008,6 +9232,7 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.AccountId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9016,10 +9241,12 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9028,6 +9255,7 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Name = ptr.String(jtv) } + case "OrganizationalUnitId": if value != nil { jtv, ok := value.(string) @@ -9036,18 +9264,22 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.OrganizationalUnitId = ptr.String(jtv) } + case "PredictionTimeRange": if err := awsRestjson1_deserializeDocumentPredictionTimeRange(&sv.PredictionTimeRange, value); err != nil { return err } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9056,6 +9288,7 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Severity = types.InsightSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9064,6 +9297,7 @@ func awsRestjson1_deserializeDocumentProactiveOrganizationInsightSummary(v **typ } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -9133,14 +9367,17 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } + case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } + case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } + case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -9149,6 +9386,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.AssociatedInsightId = ptr.String(jtv) } + case "CausalAnomalyId": if value != nil { jtv, ok := value.(string) @@ -9157,6 +9395,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.CausalAnomalyId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9165,6 +9404,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9173,6 +9413,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9181,10 +9422,12 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Name = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9193,10 +9436,12 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Severity = types.AnomalySeverity(jtv) } + case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9205,6 +9450,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Status = types.AnomalyStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9213,6 +9459,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomaly(v **types.ReactiveAnomaly, } sv.Type = types.AnomalyType(jtv) } + default: _, _ = key, value @@ -9248,14 +9495,17 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn if err := awsRestjson1_deserializeDocumentAnomalyReportedTimeRange(&sv.AnomalyReportedTimeRange, value); err != nil { return err } + case "AnomalyResources": if err := awsRestjson1_deserializeDocumentAnomalyResources(&sv.AnomalyResources, value); err != nil { return err } + case "AnomalyTimeRange": if err := awsRestjson1_deserializeDocumentAnomalyTimeRange(&sv.AnomalyTimeRange, value); err != nil { return err } + case "AssociatedInsightId": if value != nil { jtv, ok := value.(string) @@ -9264,6 +9514,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.AssociatedInsightId = ptr.String(jtv) } + case "CausalAnomalyId": if value != nil { jtv, ok := value.(string) @@ -9272,6 +9523,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.CausalAnomalyId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9280,6 +9532,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9288,6 +9541,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9296,10 +9550,12 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Name = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9308,10 +9564,12 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Severity = types.AnomalySeverity(jtv) } + case "SourceDetails": if err := awsRestjson1_deserializeDocumentAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9320,6 +9578,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Status = types.AnomalyStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9328,6 +9587,7 @@ func awsRestjson1_deserializeDocumentReactiveAnomalySummary(v **types.ReactiveAn } sv.Type = types.AnomalyType(jtv) } + default: _, _ = key, value @@ -9367,6 +9627,7 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9375,10 +9636,12 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9387,10 +9650,12 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Name = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9399,6 +9664,7 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Severity = types.InsightSeverity(jtv) } + case "SsmOpsItemId": if value != nil { jtv, ok := value.(string) @@ -9407,6 +9673,7 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.SsmOpsItemId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9415,6 +9682,7 @@ func awsRestjson1_deserializeDocumentReactiveInsight(v **types.ReactiveInsight, } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -9484,6 +9752,7 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn if err := awsRestjson1_deserializeDocumentAssociatedResourceArns(&sv.AssociatedResourceArns, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9492,10 +9761,12 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9504,14 +9775,17 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Name = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9520,6 +9794,7 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Severity = types.InsightSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9528,6 +9803,7 @@ func awsRestjson1_deserializeDocumentReactiveInsightSummary(v **types.ReactiveIn } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -9601,6 +9877,7 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.AccountId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9609,10 +9886,12 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Id = ptr.String(jtv) } + case "InsightTimeRange": if err := awsRestjson1_deserializeDocumentInsightTimeRange(&sv.InsightTimeRange, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9621,6 +9900,7 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Name = ptr.String(jtv) } + case "OrganizationalUnitId": if value != nil { jtv, ok := value.(string) @@ -9629,14 +9909,17 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.OrganizationalUnitId = ptr.String(jtv) } + case "ResourceCollection": if err := awsRestjson1_deserializeDocumentResourceCollection(&sv.ResourceCollection, value); err != nil { return err } + case "ServiceCollection": if err := awsRestjson1_deserializeDocumentServiceCollection(&sv.ServiceCollection, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -9645,6 +9928,7 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Severity = types.InsightSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9653,6 +9937,7 @@ func awsRestjson1_deserializeDocumentReactiveOrganizationInsightSummary(v **type } sv.Status = types.InsightStatus(jtv) } + default: _, _ = key, value @@ -9692,6 +9977,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Category = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9700,6 +9986,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } + case "Link": if value != nil { jtv, ok := value.(string) @@ -9708,6 +9995,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Link = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9716,6 +10004,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Name = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9724,14 +10013,17 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Reason = ptr.String(jtv) } + case "RelatedAnomalies": if err := awsRestjson1_deserializeDocumentRecommendationRelatedAnomalies(&sv.RelatedAnomalies, value); err != nil { return err } + case "RelatedEvents": if err := awsRestjson1_deserializeDocumentRecommendationRelatedEvents(&sv.RelatedEvents, value); err != nil { return err } + default: _, _ = key, value @@ -9805,14 +10097,17 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomaly(v **types.Reco } sv.AnomalyId = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResources(&sv.Resources, value); err != nil { return err } + case "SourceDetails": if err := awsRestjson1_deserializeDocumentRelatedAnomalySourceDetails(&sv.SourceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9852,6 +10147,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResource(v **ty } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9860,6 +10156,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalyResource(v **ty } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -9929,6 +10226,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedAnomalySourceDetail(v if err := awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourceDetails(&sv.CloudWatchMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -9968,6 +10266,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourc } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -9976,6 +10275,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedCloudWatchMetricsSourc } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -10049,10 +10349,12 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEvent(v **types.Recomm } sv.Name = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentRecommendationRelatedEventResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -10092,6 +10394,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEventResource(v **type } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10100,6 +10403,7 @@ func awsRestjson1_deserializeDocumentRecommendationRelatedEventResource(v **type } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -10271,10 +10575,12 @@ func awsRestjson1_deserializeDocumentResourceCollection(v **types.ResourceCollec if err := awsRestjson1_deserializeDocumentCloudFormationCollection(&sv.CloudFormation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagCollections(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10310,10 +10616,12 @@ func awsRestjson1_deserializeDocumentResourceCollectionFilter(v **types.Resource if err := awsRestjson1_deserializeDocumentCloudFormationCollectionFilter(&sv.CloudFormation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagCollectionFilters(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10353,6 +10661,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10361,6 +10670,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10369,6 +10679,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10404,6 +10715,7 @@ func awsRestjson1_deserializeDocumentServiceCollection(v **types.ServiceCollecti if err := awsRestjson1_deserializeDocumentServiceNames(&sv.ServiceNames, value); err != nil { return err } + default: _, _ = key, value @@ -10447,10 +10759,12 @@ func awsRestjson1_deserializeDocumentServiceHealth(v **types.ServiceHealth, valu } sv.AnalyzedResourceCount = ptr.Int64(i64) } + case "Insight": if err := awsRestjson1_deserializeDocumentServiceInsightHealth(&sv.Insight, value); err != nil { return err } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -10459,6 +10773,7 @@ func awsRestjson1_deserializeDocumentServiceHealth(v **types.ServiceHealth, valu } sv.ServiceName = types.ServiceName(jtv) } + default: _, _ = key, value @@ -10536,6 +10851,7 @@ func awsRestjson1_deserializeDocumentServiceInsightHealth(v **types.ServiceInsig } sv.OpenProactiveInsights = int32(i64) } + case "OpenReactiveInsights": if value != nil { jtv, ok := value.(json.Number) @@ -10548,6 +10864,7 @@ func awsRestjson1_deserializeDocumentServiceInsightHealth(v **types.ServiceInsig } sv.OpenReactiveInsights = int32(i64) } + default: _, _ = key, value @@ -10583,14 +10900,17 @@ func awsRestjson1_deserializeDocumentServiceIntegrationConfig(v **types.ServiceI if err := awsRestjson1_deserializeDocumentKMSServerSideEncryptionIntegration(&sv.KMSServerSideEncryption, value); err != nil { return err } + case "LogsAnomalyDetection": if err := awsRestjson1_deserializeDocumentLogsAnomalyDetectionIntegration(&sv.LogsAnomalyDetection, value); err != nil { return err } + case "OpsCenter": if err := awsRestjson1_deserializeDocumentOpsCenterIntegration(&sv.OpsCenter, value); err != nil { return err } + default: _, _ = key, value @@ -10666,6 +10986,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10730,6 +11051,7 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -10742,6 +11064,7 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.Count = int32(i64) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10750,6 +11073,7 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.State = types.CostEstimationServiceResourceState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10758,6 +11082,7 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } sv.Type = ptr.String(jtv) } + case "UnitCost": if value != nil { switch jtv := value.(type) { @@ -10791,6 +11116,7 @@ func awsRestjson1_deserializeDocumentServiceResourceCost(v **types.ServiceResour } } + default: _, _ = key, value @@ -10864,6 +11190,7 @@ func awsRestjson1_deserializeDocumentSnsChannelConfig(v **types.SnsChannelConfig } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10939,10 +11266,12 @@ func awsRestjson1_deserializeDocumentTagCollection(v **types.TagCollection, valu } sv.AppBoundaryKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValues(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -10982,10 +11311,12 @@ func awsRestjson1_deserializeDocumentTagCollectionFilter(v **types.TagCollection } sv.AppBoundaryKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValues(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -11093,10 +11424,12 @@ func awsRestjson1_deserializeDocumentTagCostEstimationResourceCollectionFilter(v } sv.AppBoundaryKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentCostEstimationTagValues(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -11174,6 +11507,7 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.AnalyzedResourceCount = ptr.Int64(i64) } + case "AppBoundaryKey": if value != nil { jtv, ok := value.(string) @@ -11182,10 +11516,12 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.AppBoundaryKey = ptr.String(jtv) } + case "Insight": if err := awsRestjson1_deserializeDocumentInsightHealth(&sv.Insight, value); err != nil { return err } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -11194,6 +11530,7 @@ func awsRestjson1_deserializeDocumentTagHealth(v **types.TagHealth, value interf } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -11303,6 +11640,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11649,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11323,6 +11662,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -11331,6 +11671,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11395,6 +11736,7 @@ func awsRestjson1_deserializeDocumentTimestampMetricValuePair(v **types.Timestam } } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -11410,6 +11752,7 @@ func awsRestjson1_deserializeDocumentTimestampMetricValuePair(v **types.Timestam } } + default: _, _ = key, value @@ -11479,6 +11822,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11487,6 +11831,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -11495,6 +11840,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -11534,6 +11880,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11542,6 +11889,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/directconnect/deserializers.go b/service/directconnect/deserializers.go index 3a32638e68c..bd661e43a9d 100644 --- a/service/directconnect/deserializers.go +++ b/service/directconnect/deserializers.go @@ -7482,6 +7482,7 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Id = ptr.String(jtv) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -7490,6 +7491,7 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -7498,6 +7500,7 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Region = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7506,6 +7509,7 @@ func awsAwsjson11_deserializeDocumentAssociatedGateway(v **types.AssociatedGatew } sv.Type = types.GatewayType(jtv) } + default: _, _ = key, value @@ -7617,6 +7621,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -7625,6 +7630,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AmazonAddress = ptr.String(jtv) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -7637,6 +7643,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -7645,6 +7652,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -7653,6 +7661,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -7661,6 +7670,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeerId": if value != nil { jtv, ok := value.(string) @@ -7669,6 +7679,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpPeerId = ptr.String(jtv) } + case "bgpPeerState": if value != nil { jtv, ok := value.(string) @@ -7677,6 +7688,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpPeerState = types.BGPPeerState(jtv) } + case "bgpStatus": if value != nil { jtv, ok := value.(string) @@ -7685,6 +7697,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.BgpStatus = types.BGPStatus(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -7693,6 +7706,7 @@ func awsAwsjson11_deserializeDocumentBGPPeer(v **types.BGPPeer, value interface{ } sv.CustomerAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -7802,6 +7816,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -7810,6 +7825,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -7818,6 +7834,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -7826,6 +7843,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -7834,6 +7852,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -7842,6 +7861,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -7850,6 +7870,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -7858,6 +7879,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -7866,6 +7888,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -7874,6 +7897,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -7882,6 +7906,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -7897,6 +7922,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "location": if value != nil { jtv, ok := value.(string) @@ -7905,6 +7931,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -7913,10 +7940,12 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -7925,6 +7954,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -7933,6 +7963,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -7941,6 +7972,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -7949,6 +7981,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -7957,10 +7990,12 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -7973,6 +8008,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -8046,6 +8082,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgreement(v **types.CustomerAgreeme } sv.AgreementName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8054,6 +8091,7 @@ func awsAwsjson11_deserializeDocumentCustomerAgreement(v **types.CustomerAgreeme } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8093,6 +8131,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectClientException(v **types.Dire } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8136,6 +8175,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.AmazonSideAsn = ptr.Int64(i64) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8144,6 +8184,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "directConnectGatewayName": if value != nil { jtv, ok := value.(string) @@ -8152,6 +8193,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayName = ptr.String(jtv) } + case "directConnectGatewayState": if value != nil { jtv, ok := value.(string) @@ -8160,6 +8202,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.DirectConnectGatewayState = types.DirectConnectGatewayState(jtv) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -8168,6 +8211,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.OwnerAccount = ptr.String(jtv) } + case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8176,6 +8220,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGateway(v **types.DirectConnec } sv.StateChangeError = ptr.String(jtv) } + default: _, _ = key, value @@ -8211,10 +8256,12 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.AllowedPrefixesToDirectConnectGateway, value); err != nil { return err } + case "associatedGateway": if err := awsAwsjson11_deserializeDocumentAssociatedGateway(&sv.AssociatedGateway, value); err != nil { return err } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -8223,6 +8270,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.AssociationId = ptr.String(jtv) } + case "associationState": if value != nil { jtv, ok := value.(string) @@ -8231,6 +8279,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.AssociationState = types.DirectConnectGatewayAssociationState(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8239,6 +8288,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "directConnectGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8247,6 +8297,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.DirectConnectGatewayOwnerAccount = ptr.String(jtv) } + case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8255,6 +8306,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.StateChangeError = ptr.String(jtv) } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -8263,6 +8315,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8271,6 +8324,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayOwnerAccount = ptr.String(jtv) } + case "virtualGatewayRegion": if value != nil { jtv, ok := value.(string) @@ -8279,6 +8333,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(v **types.D } sv.VirtualGatewayRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -8348,6 +8403,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * if err := awsAwsjson11_deserializeDocumentAssociatedGateway(&sv.AssociatedGateway, value); err != nil { return err } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8356,6 +8412,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "directConnectGatewayOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8364,10 +8421,12 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.DirectConnectGatewayOwnerAccount = ptr.String(jtv) } + case "existingAllowedPrefixesToDirectConnectGateway": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.ExistingAllowedPrefixesToDirectConnectGateway, value); err != nil { return err } + case "proposalId": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8435,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.ProposalId = ptr.String(jtv) } + case "proposalState": if value != nil { jtv, ok := value.(string) @@ -8384,10 +8444,12 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(v * } sv.ProposalState = types.DirectConnectGatewayAssociationProposalState(jtv) } + case "requestedAllowedPrefixesToDirectConnectGateway": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RequestedAllowedPrefixesToDirectConnectGateway, value); err != nil { return err } + default: _, _ = key, value @@ -8461,6 +8523,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.AttachmentState = types.DirectConnectGatewayAttachmentState(jtv) } + case "attachmentType": if value != nil { jtv, ok := value.(string) @@ -8469,6 +8532,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.AttachmentType = types.DirectConnectGatewayAttachmentType(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -8477,6 +8541,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "stateChangeError": if value != nil { jtv, ok := value.(string) @@ -8485,6 +8550,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.StateChangeError = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8493,6 +8559,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceOwnerAccount": if value != nil { jtv, ok := value.(string) @@ -8501,6 +8568,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceOwnerAccount = ptr.String(jtv) } + case "virtualInterfaceRegion": if value != nil { jtv, ok := value.(string) @@ -8509,6 +8577,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachment(v **types.Di } sv.VirtualInterfaceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -8616,6 +8685,7 @@ func awsAwsjson11_deserializeDocumentDirectConnectServerException(v **types.Dire } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8655,6 +8725,7 @@ func awsAwsjson11_deserializeDocumentDuplicateTagKeysException(v **types.Duplica } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8694,6 +8765,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -8702,6 +8774,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -8710,6 +8783,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -8718,6 +8792,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Bandwidth = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -8726,6 +8801,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "interconnectId": if value != nil { jtv, ok := value.(string) @@ -8734,6 +8810,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectId = ptr.String(jtv) } + case "interconnectName": if value != nil { jtv, ok := value.(string) @@ -8742,6 +8819,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectName = ptr.String(jtv) } + case "interconnectState": if value != nil { jtv, ok := value.(string) @@ -8750,6 +8828,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.InterconnectState = types.InterconnectState(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -8758,6 +8837,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -8766,6 +8846,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -8781,6 +8862,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } } + case "location": if value != nil { jtv, ok := value.(string) @@ -8789,6 +8871,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Location = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -8797,6 +8880,7 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -8805,10 +8889,12 @@ func awsAwsjson11_deserializeDocumentInterconnect(v **types.Interconnect, value } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8882,6 +8968,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AllowsHostedConnections = jtv } + case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -8890,6 +8977,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -8898,6 +8986,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -8906,10 +8995,12 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -8918,6 +9009,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.ConnectionsBandwidth = ptr.String(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -8926,6 +9018,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -8934,6 +9027,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -8942,6 +9036,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -8950,6 +9045,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagId = ptr.String(jtv) } + case "lagName": if value != nil { jtv, ok := value.(string) @@ -8958,6 +9054,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagName = ptr.String(jtv) } + case "lagState": if value != nil { jtv, ok := value.(string) @@ -8966,6 +9063,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.LagState = types.LagState(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -8974,6 +9072,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -8982,10 +9081,12 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -8998,6 +9099,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.MinimumLinks = int32(i64) } + case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -9010,6 +9112,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.NumberOfConnections = int32(i64) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -9018,6 +9121,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.OwnerAccount = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -9026,6 +9130,7 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -9034,10 +9139,12 @@ func awsAwsjson11_deserializeDocumentLag(v **types.Lag, value interface{}) error } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9115,6 +9222,7 @@ func awsAwsjson11_deserializeDocumentLoa(v **types.Loa, value interface{}) error } sv.LoaContent = dv } + case "loaContentType": if value != nil { jtv, ok := value.(string) @@ -9123,6 +9231,7 @@ func awsAwsjson11_deserializeDocumentLoa(v **types.Loa, value interface{}) error } sv.LoaContentType = types.LoaContentType(jtv) } + default: _, _ = key, value @@ -9158,14 +9267,17 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac if err := awsAwsjson11_deserializeDocumentAvailableMacSecPortSpeeds(&sv.AvailableMacSecPortSpeeds, value); err != nil { return err } + case "availablePortSpeeds": if err := awsAwsjson11_deserializeDocumentAvailablePortSpeeds(&sv.AvailablePortSpeeds, value); err != nil { return err } + case "availableProviders": if err := awsAwsjson11_deserializeDocumentProviderList(&sv.AvailableProviders, value); err != nil { return err } + case "locationCode": if value != nil { jtv, ok := value.(string) @@ -9174,6 +9286,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.LocationCode = ptr.String(jtv) } + case "locationName": if value != nil { jtv, ok := value.(string) @@ -9182,6 +9295,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.LocationName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -9190,6 +9304,7 @@ func awsAwsjson11_deserializeDocumentLocation(v **types.Location, value interfac } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -9263,6 +9378,7 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.Ckn = ptr.String(jtv) } + case "secretARN": if value != nil { jtv, ok := value.(string) @@ -9271,6 +9387,7 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.SecretARN = ptr.String(jtv) } + case "startOn": if value != nil { jtv, ok := value.(string) @@ -9279,6 +9396,7 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.StartOn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -9287,6 +9405,7 @@ func awsAwsjson11_deserializeDocumentMacSecKey(v **types.MacSecKey, value interf } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -9396,10 +9515,12 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceArn = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9473,6 +9594,7 @@ func awsAwsjson11_deserializeDocumentRouteFilterPrefix(v **types.RouteFilterPref } sv.Cidr = ptr.String(jtv) } + default: _, _ = key, value @@ -9546,6 +9668,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Platform = ptr.String(jtv) } + case "routerTypeIdentifier": if value != nil { jtv, ok := value.(string) @@ -9554,6 +9677,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.RouterTypeIdentifier = ptr.String(jtv) } + case "software": if value != nil { jtv, ok := value.(string) @@ -9562,6 +9686,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Software = ptr.String(jtv) } + case "vendor": if value != nil { jtv, ok := value.(string) @@ -9570,6 +9695,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.Vendor = ptr.String(jtv) } + case "xsltTemplateName": if value != nil { jtv, ok := value.(string) @@ -9578,6 +9704,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.XsltTemplateName = ptr.String(jtv) } + case "xsltTemplateNameForMacSec": if value != nil { jtv, ok := value.(string) @@ -9586,6 +9713,7 @@ func awsAwsjson11_deserializeDocumentRouterType(v **types.RouterType, value inte } sv.XsltTemplateNameForMacSec = ptr.String(jtv) } + default: _, _ = key, value @@ -9625,6 +9753,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9633,6 +9762,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9706,6 +9836,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9745,6 +9876,7 @@ func awsAwsjson11_deserializeDocumentVirtualGateway(v **types.VirtualGateway, va } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualGatewayState": if value != nil { jtv, ok := value.(string) @@ -9753,6 +9885,7 @@ func awsAwsjson11_deserializeDocumentVirtualGateway(v **types.VirtualGateway, va } sv.VirtualGatewayState = ptr.String(jtv) } + default: _, _ = key, value @@ -9826,6 +9959,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -9834,6 +9968,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -9846,6 +9981,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -9858,6 +9994,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -9866,6 +10003,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -9874,6 +10012,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -9882,10 +10021,12 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -9894,6 +10035,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -9902,6 +10044,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -9910,6 +10053,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -9918,6 +10062,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -9926,6 +10071,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -9934,6 +10080,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -9946,6 +10093,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -9954,6 +10102,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -9962,10 +10111,12 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -9974,10 +10125,12 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -9986,6 +10139,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -9994,6 +10148,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -10002,6 +10157,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -10010,6 +10166,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -10018,6 +10175,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10030,6 +10188,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterface(v **types.VirtualInterface } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -10099,6 +10258,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu if err := awsAwsjson11_deserializeDocumentBGPPeerIdList(&sv.BgpPeers, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -10114,6 +10274,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10122,6 +10283,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.OwnerAccount = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -10137,6 +10299,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -10145,6 +10308,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.Status = ptr.String(jtv) } + case "testDurationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10157,6 +10321,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.TestDurationInMinutes = ptr.Int32(int32(i64)) } + case "testId": if value != nil { jtv, ok := value.(string) @@ -10165,6 +10330,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.TestId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -10173,6 +10339,7 @@ func awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(v **types.Virtu } sv.VirtualInterfaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10242,6 +10409,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -10281,6 +10449,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10289,6 +10458,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10297,6 +10467,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -10305,6 +10476,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10313,6 +10485,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -10321,6 +10494,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10329,6 +10503,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -10337,6 +10512,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -10345,6 +10521,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10353,6 +10530,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -10361,6 +10539,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -10376,6 +10555,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } } + case "location": if value != nil { jtv, ok := value.(string) @@ -10384,6 +10564,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -10392,10 +10573,12 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10404,6 +10587,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -10412,6 +10596,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -10420,6 +10605,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -10428,6 +10614,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10436,10 +10623,12 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10452,6 +10641,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateConnectionOnInterconnectOutput(v } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -10491,6 +10681,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10499,6 +10690,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10507,6 +10699,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -10515,6 +10708,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10523,6 +10717,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -10531,6 +10726,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10539,6 +10735,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -10547,6 +10744,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -10555,6 +10753,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10563,6 +10762,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -10571,6 +10771,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -10586,6 +10787,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } } + case "location": if value != nil { jtv, ok := value.(string) @@ -10594,6 +10796,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -10602,10 +10805,12 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10614,6 +10819,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -10622,6 +10828,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -10630,6 +10837,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -10638,6 +10846,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10646,10 +10855,12 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10662,6 +10873,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateHostedConnectionOutput(v **Alloca } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -10701,6 +10913,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -10709,6 +10922,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -10721,6 +10935,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -10733,6 +10948,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -10741,6 +10957,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10749,6 +10966,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -10757,10 +10975,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -10769,6 +10989,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -10777,6 +10998,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -10785,6 +11007,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -10793,6 +11016,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -10801,6 +11025,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -10809,6 +11034,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -10821,6 +11047,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -10829,6 +11056,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10837,10 +11065,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -10849,10 +11079,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -10861,6 +11093,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -10869,6 +11102,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -10877,6 +11111,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -10885,6 +11120,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -10893,6 +11129,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -10905,6 +11142,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePrivateVirtualInterfaceOutput(v * } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -10944,6 +11182,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -10952,6 +11191,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -10964,6 +11204,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -10976,6 +11217,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -10984,6 +11226,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -10992,6 +11235,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11000,10 +11244,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11012,6 +11258,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -11020,6 +11267,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -11028,6 +11276,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -11036,6 +11285,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11044,6 +11294,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -11052,6 +11303,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -11064,6 +11316,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11072,6 +11325,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11080,10 +11334,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -11092,10 +11348,12 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -11104,6 +11362,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11112,6 +11371,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -11120,6 +11380,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -11128,6 +11389,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -11136,6 +11398,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11148,6 +11411,7 @@ func awsAwsjson11_deserializeOpDocumentAllocatePublicVirtualInterfaceOutput(v ** } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -11183,6 +11447,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateTransitVirtualInterfaceOutput(v * if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } + default: _, _ = key, value @@ -11222,6 +11487,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11230,6 +11496,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11238,6 +11505,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11514,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11523,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -11262,6 +11532,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -11270,6 +11541,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -11278,6 +11550,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -11286,6 +11559,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11294,6 +11568,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -11302,6 +11577,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -11317,6 +11593,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } } + case "location": if value != nil { jtv, ok := value.(string) @@ -11325,6 +11602,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -11333,10 +11611,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11625,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11634,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -11361,6 +11643,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -11369,6 +11652,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11377,10 +11661,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11393,6 +11679,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionWithLagOutput(v **Asso } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -11432,6 +11719,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11440,6 +11728,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11448,6 +11737,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -11456,6 +11746,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11464,6 +11755,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -11472,6 +11764,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -11480,6 +11773,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -11488,6 +11782,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -11496,6 +11791,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11504,6 +11800,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -11512,6 +11809,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -11527,6 +11825,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } } + case "location": if value != nil { jtv, ok := value.(string) @@ -11535,6 +11834,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -11543,10 +11843,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11555,6 +11857,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -11563,6 +11866,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -11571,6 +11875,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -11579,6 +11884,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11587,10 +11893,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11603,6 +11911,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateHostedConnectionOutput(v **Assoc } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -11642,10 +11951,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateMacSecKeyOutput(v **AssociateMac } sv.ConnectionId = ptr.String(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + default: _, _ = key, value @@ -11685,6 +11996,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -11693,6 +12005,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -11705,6 +12018,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -11717,6 +12031,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -11725,6 +12040,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -11733,6 +12049,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -11741,10 +12058,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -11753,6 +12072,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -11761,6 +12081,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -11769,6 +12090,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -11777,6 +12099,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -11785,6 +12108,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -11793,6 +12117,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -11805,6 +12130,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -11813,6 +12139,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11821,10 +12148,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -11833,10 +12162,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -11845,6 +12176,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11853,6 +12185,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -11861,6 +12194,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -11869,6 +12203,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -11877,6 +12212,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -11889,6 +12225,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateVirtualInterfaceOutput(v **Assoc } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -11928,6 +12265,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmConnectionOutput(v **ConfirmConnec } sv.ConnectionState = types.ConnectionState(jtv) } + default: _, _ = key, value @@ -11967,6 +12305,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmCustomerAgreementOutput(v **Confir } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -12006,6 +12345,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmPrivateVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + default: _, _ = key, value @@ -12045,6 +12385,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmPublicVirtualInterfaceOutput(v **C } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + default: _, _ = key, value @@ -12084,6 +12425,7 @@ func awsAwsjson11_deserializeOpDocumentConfirmTransitVirtualInterfaceOutput(v ** } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + default: _, _ = key, value @@ -12119,6 +12461,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBGPPeerOutput(v **CreateBGPPeerOutp if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } + default: _, _ = key, value @@ -12158,6 +12501,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12166,6 +12510,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12174,6 +12519,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -12182,6 +12528,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -12190,6 +12537,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -12198,6 +12546,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -12206,6 +12555,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -12214,6 +12564,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -12222,6 +12573,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12230,6 +12582,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -12238,6 +12591,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -12253,6 +12607,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } + case "location": if value != nil { jtv, ok := value.(string) @@ -12261,6 +12616,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -12269,10 +12625,12 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12281,6 +12639,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -12289,6 +12648,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -12297,6 +12657,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -12305,6 +12666,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -12313,10 +12675,12 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -12329,6 +12693,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -12364,6 +12729,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12399,6 +12765,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(&sv.DirectConnectGatewayAssociationProposal, value); err != nil { return err } + default: _, _ = key, value @@ -12434,6 +12801,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectConnectGatewayOutput(v **Crea if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } + default: _, _ = key, value @@ -12473,6 +12841,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12481,6 +12850,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12489,6 +12859,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -12497,6 +12868,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Bandwidth = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -12505,6 +12877,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "interconnectId": if value != nil { jtv, ok := value.(string) @@ -12513,6 +12886,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectId = ptr.String(jtv) } + case "interconnectName": if value != nil { jtv, ok := value.(string) @@ -12521,6 +12895,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectName = ptr.String(jtv) } + case "interconnectState": if value != nil { jtv, ok := value.(string) @@ -12529,6 +12904,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.InterconnectState = types.InterconnectState(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12537,6 +12913,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -12545,6 +12922,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -12560,6 +12938,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } } + case "location": if value != nil { jtv, ok := value.(string) @@ -12568,6 +12947,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Location = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -12576,6 +12956,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -12584,10 +12965,12 @@ func awsAwsjson11_deserializeOpDocumentCreateInterconnectOutput(v **CreateInterc } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12627,6 +13010,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AllowsHostedConnections = jtv } + case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -12635,6 +13019,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12643,6 +13028,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12651,10 +13037,12 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -12663,6 +13051,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -12671,6 +13060,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -12679,6 +13069,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12687,6 +13078,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -12695,6 +13087,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagId = ptr.String(jtv) } + case "lagName": if value != nil { jtv, ok := value.(string) @@ -12703,6 +13096,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagName = ptr.String(jtv) } + case "lagState": if value != nil { jtv, ok := value.(string) @@ -12711,6 +13105,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.LagState = types.LagState(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -12719,6 +13114,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -12727,10 +13123,12 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -12743,6 +13141,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.MinimumLinks = int32(i64) } + case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -12755,6 +13154,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.NumberOfConnections = int32(i64) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12763,6 +13163,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -12771,6 +13172,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -12779,10 +13181,12 @@ func awsAwsjson11_deserializeOpDocumentCreateLagOutput(v **CreateLagOutput, valu } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12822,6 +13226,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -12830,6 +13235,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -12842,6 +13248,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -12854,6 +13261,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -12862,6 +13270,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -12870,6 +13279,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -12878,10 +13288,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -12890,6 +13302,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -12898,6 +13311,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -12906,6 +13320,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -12914,6 +13329,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -12922,6 +13338,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -12930,6 +13347,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -12942,6 +13360,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12950,6 +13369,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -12958,10 +13378,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -12970,10 +13392,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -12982,6 +13406,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -12990,6 +13415,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -12998,6 +13424,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -13006,6 +13433,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -13014,6 +13442,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -13026,6 +13455,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateVirtualInterfaceOutput(v **C } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -13065,6 +13495,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -13073,6 +13504,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -13085,6 +13517,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -13097,6 +13530,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -13105,6 +13539,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13113,6 +13548,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13121,10 +13557,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -13133,6 +13571,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -13141,6 +13580,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -13149,6 +13589,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -13157,6 +13598,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13165,6 +13607,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -13173,6 +13616,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -13185,6 +13629,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13193,6 +13638,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -13201,10 +13647,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -13213,10 +13661,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -13225,6 +13675,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -13233,6 +13684,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -13241,6 +13693,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -13249,6 +13702,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -13257,6 +13711,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -13269,6 +13724,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicVirtualInterfaceOutput(v **Cr } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -13304,6 +13760,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTransitVirtualInterfaceOutput(v **C if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } + default: _, _ = key, value @@ -13339,6 +13796,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBGPPeerOutput(v **DeleteBGPPeerOutp if err := awsAwsjson11_deserializeDocumentVirtualInterface(&sv.VirtualInterface, value); err != nil { return err } + default: _, _ = key, value @@ -13378,6 +13836,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13386,6 +13845,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13394,6 +13854,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -13402,6 +13863,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -13410,6 +13872,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -13418,6 +13881,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -13426,6 +13890,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -13434,6 +13899,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -13442,6 +13908,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13450,6 +13917,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -13458,6 +13926,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -13473,6 +13942,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + case "location": if value != nil { jtv, ok := value.(string) @@ -13481,6 +13951,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -13489,10 +13960,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13501,6 +13974,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -13509,6 +13983,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -13517,6 +13992,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -13525,6 +14001,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -13533,10 +14010,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -13549,6 +14028,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -13584,6 +14064,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13619,6 +14100,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayAssociationProp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposal(&sv.DirectConnectGatewayAssociationProposal, value); err != nil { return err } + default: _, _ = key, value @@ -13654,6 +14136,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectConnectGatewayOutput(v **Dele if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } + default: _, _ = key, value @@ -13693,6 +14176,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInterconnectOutput(v **DeleteInterc } sv.InterconnectState = types.InterconnectState(jtv) } + default: _, _ = key, value @@ -13732,6 +14216,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AllowsHostedConnections = jtv } + case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -13740,6 +14225,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -13748,6 +14234,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -13756,10 +14243,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -13768,6 +14257,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -13776,6 +14266,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -13784,6 +14275,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -13792,6 +14284,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -13800,6 +14293,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagId = ptr.String(jtv) } + case "lagName": if value != nil { jtv, ok := value.(string) @@ -13808,6 +14302,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagName = ptr.String(jtv) } + case "lagState": if value != nil { jtv, ok := value.(string) @@ -13816,6 +14311,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.LagState = types.LagState(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -13824,6 +14320,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -13832,10 +14329,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -13848,6 +14347,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.MinimumLinks = int32(i64) } + case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -13860,6 +14360,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.NumberOfConnections = int32(i64) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -13868,6 +14369,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -13876,6 +14378,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -13884,10 +14387,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteLagOutput(v **DeleteLagOutput, valu } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13927,6 +14432,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteVirtualInterfaceOutput(v **DeleteVi } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + default: _, _ = key, value @@ -13962,6 +14468,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionLoaOutput(v **DescribeC if err := awsAwsjson11_deserializeDocumentLoa(&sv.Loa, value); err != nil { return err } + default: _, _ = key, value @@ -13997,6 +14504,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOnInterconnectOutput(v if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + default: _, _ = key, value @@ -14032,6 +14540,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionsOutput(v **DescribeCon if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + default: _, _ = key, value @@ -14067,6 +14576,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomerMetadataOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAgreementList(&sv.Agreements, value); err != nil { return err } + case "nniPartnerType": if value != nil { jtv, ok := value.(string) @@ -14075,6 +14585,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomerMetadataOutput(v **Descri } sv.NniPartnerType = types.NniPartnerType(jtv) } + default: _, _ = key, value @@ -14110,6 +14621,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationPr if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationProposalList(&sv.DirectConnectGatewayAssociationProposals, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14118,6 +14630,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationPr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14153,6 +14666,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationsO if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociationList(&sv.DirectConnectGatewayAssociations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14161,6 +14675,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAssociationsO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14196,6 +14711,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAttachmentsOu if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAttachmentList(&sv.DirectConnectGatewayAttachments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14204,6 +14720,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewayAttachmentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14239,6 +14756,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewaysOutput(v **D if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayList(&sv.DirectConnectGateways, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14247,6 +14765,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectConnectGatewaysOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14282,6 +14801,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHostedConnectionsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + default: _, _ = key, value @@ -14317,6 +14837,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInterconnectLoaOutput(v **Describ if err := awsAwsjson11_deserializeDocumentLoa(&sv.Loa, value); err != nil { return err } + default: _, _ = key, value @@ -14352,6 +14873,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInterconnectsOutput(v **DescribeI if err := awsAwsjson11_deserializeDocumentInterconnectList(&sv.Interconnects, value); err != nil { return err } + default: _, _ = key, value @@ -14387,6 +14909,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLagsOutput(v **DescribeLagsOutput if err := awsAwsjson11_deserializeDocumentLagList(&sv.Lags, value); err != nil { return err } + default: _, _ = key, value @@ -14430,6 +14953,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoaOutput(v **DescribeLoaOutput, } sv.LoaContent = dv } + case "loaContentType": if value != nil { jtv, ok := value.(string) @@ -14438,6 +14962,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoaOutput(v **DescribeLoaOutput, } sv.LoaContentType = types.LoaContentType(jtv) } + default: _, _ = key, value @@ -14473,6 +14998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationsOutput(v **DescribeLocat if err := awsAwsjson11_deserializeDocumentLocationList(&sv.Locations, value); err != nil { return err } + default: _, _ = key, value @@ -14512,10 +15038,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.CustomerRouterConfig = ptr.String(jtv) } + case "router": if err := awsAwsjson11_deserializeDocumentRouterType(&sv.Router, value); err != nil { return err } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -14524,6 +15052,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -14532,6 +15061,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRouterConfigurationOutput(v **Des } sv.VirtualInterfaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14567,6 +15097,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput if err := awsAwsjson11_deserializeDocumentResourceTagList(&sv.ResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -14602,6 +15133,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVirtualGatewaysOutput(v **Describ if err := awsAwsjson11_deserializeDocumentVirtualGatewayList(&sv.VirtualGateways, value); err != nil { return err } + default: _, _ = key, value @@ -14637,6 +15169,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVirtualInterfacesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentVirtualInterfaceList(&sv.VirtualInterfaces, value); err != nil { return err } + default: _, _ = key, value @@ -14676,6 +15209,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -14684,6 +15218,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -14692,6 +15227,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -14700,6 +15236,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -14708,6 +15245,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -14716,6 +15254,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -14724,6 +15263,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -14732,6 +15272,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -14740,6 +15281,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -14748,6 +15290,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -14756,6 +15299,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -14771,6 +15315,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } } + case "location": if value != nil { jtv, ok := value.(string) @@ -14779,6 +15324,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -14787,10 +15333,12 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -14799,6 +15347,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -14807,6 +15356,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -14815,6 +15365,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -14823,6 +15374,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -14831,10 +15383,12 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -14847,6 +15401,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateConnectionFromLagOutput(v **D } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -14886,10 +15441,12 @@ func awsAwsjson11_deserializeOpDocumentDisassociateMacSecKeyOutput(v **Disassoci } sv.ConnectionId = ptr.String(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + default: _, _ = key, value @@ -14929,10 +15486,12 @@ func awsAwsjson11_deserializeOpDocumentListVirtualInterfaceTestHistoryOutput(v * } sv.NextToken = ptr.String(jtv) } + case "virtualInterfaceTestHistory": if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistoryList(&sv.VirtualInterfaceTestHistory, value); err != nil { return err } + default: _, _ = key, value @@ -14968,6 +15527,7 @@ func awsAwsjson11_deserializeOpDocumentStartBgpFailoverTestOutput(v **StartBgpFa if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(&sv.VirtualInterfaceTest, value); err != nil { return err } + default: _, _ = key, value @@ -15003,6 +15563,7 @@ func awsAwsjson11_deserializeOpDocumentStopBgpFailoverTestOutput(v **StopBgpFail if err := awsAwsjson11_deserializeDocumentVirtualInterfaceTestHistory(&sv.VirtualInterfaceTest, value); err != nil { return err } + default: _, _ = key, value @@ -15104,6 +15665,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -15112,6 +15674,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -15120,6 +15683,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bandwidth": if value != nil { jtv, ok := value.(string) @@ -15128,6 +15692,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Bandwidth = ptr.String(jtv) } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15136,6 +15701,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionId = ptr.String(jtv) } + case "connectionName": if value != nil { jtv, ok := value.(string) @@ -15144,6 +15710,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionName = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -15152,6 +15719,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -15160,6 +15728,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -15168,6 +15737,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -15176,6 +15746,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -15184,6 +15755,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.LagId = ptr.String(jtv) } + case "loaIssueTime": if value != nil { switch jtv := value.(type) { @@ -15199,6 +15771,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + case "location": if value != nil { jtv, ok := value.(string) @@ -15207,6 +15780,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -15215,10 +15789,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -15227,6 +15803,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.OwnerAccount = ptr.String(jtv) } + case "partnerName": if value != nil { jtv, ok := value.(string) @@ -15235,6 +15812,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.PartnerName = ptr.String(jtv) } + case "portEncryptionStatus": if value != nil { jtv, ok := value.(string) @@ -15243,6 +15821,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.PortEncryptionStatus = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -15251,6 +15830,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -15259,10 +15839,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -15275,6 +15857,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.Vlan = int32(i64) } + default: _, _ = key, value @@ -15310,6 +15893,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectConnectGatewayAssociationOutp if err := awsAwsjson11_deserializeDocumentDirectConnectGatewayAssociation(&sv.DirectConnectGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -15345,6 +15929,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDirectConnectGatewayOutput(v **Upda if err := awsAwsjson11_deserializeDocumentDirectConnectGateway(&sv.DirectConnectGateway, value); err != nil { return err } + default: _, _ = key, value @@ -15384,6 +15969,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AllowsHostedConnections = jtv } + case "awsDevice": if value != nil { jtv, ok := value.(string) @@ -15392,6 +15978,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsDevice = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -15400,6 +15987,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -15408,10 +15996,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "connections": if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "connectionsBandwidth": if value != nil { jtv, ok := value.(string) @@ -15420,6 +16010,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.ConnectionsBandwidth = ptr.String(jtv) } + case "encryptionMode": if value != nil { jtv, ok := value.(string) @@ -15428,6 +16019,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.EncryptionMode = ptr.String(jtv) } + case "hasLogicalRedundancy": if value != nil { jtv, ok := value.(string) @@ -15436,6 +16028,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.HasLogicalRedundancy = types.HasLogicalRedundancy(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -15444,6 +16037,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "lagId": if value != nil { jtv, ok := value.(string) @@ -15452,6 +16046,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagId = ptr.String(jtv) } + case "lagName": if value != nil { jtv, ok := value.(string) @@ -15460,6 +16055,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagName = ptr.String(jtv) } + case "lagState": if value != nil { jtv, ok := value.(string) @@ -15468,6 +16064,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.LagState = types.LagState(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -15476,6 +16073,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.Location = ptr.String(jtv) } + case "macSecCapable": if value != nil { jtv, ok := value.(bool) @@ -15484,10 +16082,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.MacSecCapable = ptr.Bool(jtv) } + case "macSecKeys": if err := awsAwsjson11_deserializeDocumentMacSecKeyList(&sv.MacSecKeys, value); err != nil { return err } + case "minimumLinks": if value != nil { jtv, ok := value.(json.Number) @@ -15500,6 +16100,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.MinimumLinks = int32(i64) } + case "numberOfConnections": if value != nil { jtv, ok := value.(json.Number) @@ -15512,6 +16113,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.NumberOfConnections = int32(i64) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -15520,6 +16122,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.OwnerAccount = ptr.String(jtv) } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -15528,6 +16131,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.ProviderName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -15536,10 +16140,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateLagOutput(v **UpdateLagOutput, valu } sv.Region = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15579,6 +16185,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AddressFamily = types.AddressFamily(jtv) } + case "amazonAddress": if value != nil { jtv, ok := value.(string) @@ -15587,6 +16194,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AmazonAddress = ptr.String(jtv) } + case "amazonSideAsn": if value != nil { jtv, ok := value.(json.Number) @@ -15599,6 +16207,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AmazonSideAsn = ptr.Int64(i64) } + case "asn": if value != nil { jtv, ok := value.(json.Number) @@ -15611,6 +16220,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Asn = int32(i64) } + case "authKey": if value != nil { jtv, ok := value.(string) @@ -15619,6 +16229,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AuthKey = ptr.String(jtv) } + case "awsDeviceV2": if value != nil { jtv, ok := value.(string) @@ -15627,6 +16238,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AwsDeviceV2 = ptr.String(jtv) } + case "awsLogicalDeviceId": if value != nil { jtv, ok := value.(string) @@ -15635,10 +16247,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.AwsLogicalDeviceId = ptr.String(jtv) } + case "bgpPeers": if err := awsAwsjson11_deserializeDocumentBGPPeerList(&sv.BgpPeers, value); err != nil { return err } + case "connectionId": if value != nil { jtv, ok := value.(string) @@ -15647,6 +16261,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.ConnectionId = ptr.String(jtv) } + case "customerAddress": if value != nil { jtv, ok := value.(string) @@ -15655,6 +16270,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.CustomerAddress = ptr.String(jtv) } + case "customerRouterConfig": if value != nil { jtv, ok := value.(string) @@ -15663,6 +16279,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.CustomerRouterConfig = ptr.String(jtv) } + case "directConnectGatewayId": if value != nil { jtv, ok := value.(string) @@ -15671,6 +16288,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.DirectConnectGatewayId = ptr.String(jtv) } + case "jumboFrameCapable": if value != nil { jtv, ok := value.(bool) @@ -15679,6 +16297,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.JumboFrameCapable = ptr.Bool(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -15687,6 +16306,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Location = ptr.String(jtv) } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -15699,6 +16319,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Mtu = ptr.Int32(int32(i64)) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -15707,6 +16328,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.OwnerAccount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -15715,10 +16337,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Region = ptr.String(jtv) } + case "routeFilterPrefixes": if err := awsAwsjson11_deserializeDocumentRouteFilterPrefixList(&sv.RouteFilterPrefixes, value); err != nil { return err } + case "siteLinkEnabled": if value != nil { jtv, ok := value.(bool) @@ -15727,10 +16351,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.SiteLinkEnabled = ptr.Bool(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "virtualGatewayId": if value != nil { jtv, ok := value.(string) @@ -15739,6 +16365,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualGatewayId = ptr.String(jtv) } + case "virtualInterfaceId": if value != nil { jtv, ok := value.(string) @@ -15747,6 +16374,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceId = ptr.String(jtv) } + case "virtualInterfaceName": if value != nil { jtv, ok := value.(string) @@ -15755,6 +16383,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceName = ptr.String(jtv) } + case "virtualInterfaceState": if value != nil { jtv, ok := value.(string) @@ -15763,6 +16392,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceState = types.VirtualInterfaceState(jtv) } + case "virtualInterfaceType": if value != nil { jtv, ok := value.(string) @@ -15771,6 +16401,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.VirtualInterfaceType = ptr.String(jtv) } + case "vlan": if value != nil { jtv, ok := value.(json.Number) @@ -15783,6 +16414,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVirtualInterfaceAttributesOutput(v } sv.Vlan = int32(i64) } + default: _, _ = key, value diff --git a/service/directoryservice/deserializers.go b/service/directoryservice/deserializers.go index a9f99cd7d75..fadb81f6d86 100644 --- a/service/directoryservice/deserializers.go +++ b/service/directoryservice/deserializers.go @@ -10090,6 +10090,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10098,6 +10099,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10173,6 +10175,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10181,6 +10184,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10254,6 +10258,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10262,6 +10267,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationFailedException(v **types.Aut } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10337,10 +10343,12 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateId = ptr.String(jtv) } + case "ClientCertAuthSettings": if err := awsAwsjson11_deserializeDocumentClientCertAuthSettings(&sv.ClientCertAuthSettings, value); err != nil { return err } + case "CommonName": if value != nil { jtv, ok := value.(string) @@ -10349,6 +10357,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CommonName = ptr.String(jtv) } + case "ExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -10364,6 +10373,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "RegisteredDateTime": if value != nil { switch jtv := value.(type) { @@ -10379,6 +10389,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "State": if value != nil { jtv, ok := value.(string) @@ -10387,6 +10398,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.State = types.CertificateState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10395,6 +10407,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.StateReason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10403,6 +10416,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Type = types.CertificateType(jtv) } + default: _, _ = key, value @@ -10442,6 +10456,7 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10450,6 +10465,7 @@ func awsAwsjson11_deserializeDocumentCertificateAlreadyExistsException(v **types } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10489,6 +10505,7 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10497,6 +10514,7 @@ func awsAwsjson11_deserializeDocumentCertificateDoesNotExistException(v **types. } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10536,6 +10554,7 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.CertificateId = ptr.String(jtv) } + case "CommonName": if value != nil { jtv, ok := value.(string) @@ -10544,6 +10563,7 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.CommonName = ptr.String(jtv) } + case "ExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -10559,6 +10579,7 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } } + case "State": if value != nil { jtv, ok := value.(string) @@ -10567,6 +10588,7 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.State = types.CertificateState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10575,6 +10597,7 @@ func awsAwsjson11_deserializeDocumentCertificateInfo(v **types.CertificateInfo, } sv.Type = types.CertificateType(jtv) } + default: _, _ = key, value @@ -10614,6 +10637,7 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10622,6 +10646,7 @@ func awsAwsjson11_deserializeDocumentCertificateInUseException(v **types.Certifi } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10661,6 +10686,7 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10669,6 +10695,7 @@ func awsAwsjson11_deserializeDocumentCertificateLimitExceededException(v **types } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10749,6 +10776,7 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10757,6 +10785,7 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } sv.Status = types.ClientAuthenticationStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10765,6 +10794,7 @@ func awsAwsjson11_deserializeDocumentClientAuthenticationSettingInfo(v **types.C } sv.Type = types.ClientAuthenticationType(jtv) } + default: _, _ = key, value @@ -10838,6 +10868,7 @@ func awsAwsjson11_deserializeDocumentClientCertAuthSettings(v **types.ClientCert } sv.OCSPUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10877,6 +10908,7 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10885,6 +10917,7 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10920,6 +10953,7 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac if err := awsAwsjson11_deserializeDocumentAttributes(&sv.ComputerAttributes, value); err != nil { return err } + case "ComputerId": if value != nil { jtv, ok := value.(string) @@ -10928,6 +10962,7 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac } sv.ComputerId = ptr.String(jtv) } + case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -10936,6 +10971,7 @@ func awsAwsjson11_deserializeDocumentComputer(v **types.Computer, value interfac } sv.ComputerName = ptr.String(jtv) } + default: _, _ = key, value @@ -10971,6 +11007,7 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } + case "RemoteDomainName": if value != nil { jtv, ok := value.(string) @@ -10979,6 +11016,7 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF } sv.RemoteDomainName = ptr.String(jtv) } + case "ReplicationScope": if value != nil { jtv, ok := value.(string) @@ -10987,6 +11025,7 @@ func awsAwsjson11_deserializeDocumentConditionalForwarder(v **types.ConditionalF } sv.ReplicationScope = types.ReplicationScope(jtv) } + default: _, _ = key, value @@ -11060,6 +11099,7 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11068,6 +11108,7 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadyInRegionException(v **types } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11107,6 +11148,7 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11115,6 +11157,7 @@ func awsAwsjson11_deserializeDocumentDirectoryAlreadySharedException(v **types.D } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11186,10 +11229,12 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ if err := awsAwsjson11_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } + case "ConnectIps": if err := awsAwsjson11_deserializeDocumentIpAddrs(&sv.ConnectIps, value); err != nil { return err } + case "CustomerUserName": if value != nil { jtv, ok := value.(string) @@ -11198,6 +11243,7 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.CustomerUserName = ptr.String(jtv) } + case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -11206,10 +11252,12 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.SecurityGroupId = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11218,6 +11266,7 @@ func awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(v **typ } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -11257,6 +11306,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.AccessUrl = ptr.String(jtv) } + case "Alias": if value != nil { jtv, ok := value.(string) @@ -11265,10 +11315,12 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Alias = ptr.String(jtv) } + case "ConnectSettings": if err := awsAwsjson11_deserializeDocumentDirectoryConnectSettingsDescription(&sv.ConnectSettings, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11277,6 +11329,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Description = ptr.String(jtv) } + case "DesiredNumberOfDomainControllers": if value != nil { jtv, ok := value.(json.Number) @@ -11289,6 +11342,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -11297,10 +11351,12 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.DirectoryId = ptr.String(jtv) } + case "DnsIpAddrs": if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } + case "Edition": if value != nil { jtv, ok := value.(string) @@ -11309,6 +11365,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Edition = types.DirectoryEdition(jtv) } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -11324,6 +11381,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11332,6 +11390,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Name = ptr.String(jtv) } + case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -11340,14 +11399,17 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.OsVersion = types.OSVersion(jtv) } + case "OwnerDirectoryDescription": if err := awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(&sv.OwnerDirectoryDescription, value); err != nil { return err } + case "RadiusSettings": if err := awsAwsjson11_deserializeDocumentRadiusSettings(&sv.RadiusSettings, value); err != nil { return err } + case "RadiusStatus": if value != nil { jtv, ok := value.(string) @@ -11356,10 +11418,12 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.RadiusStatus = types.RadiusStatus(jtv) } + case "RegionsInfo": if err := awsAwsjson11_deserializeDocumentRegionsInfo(&sv.RegionsInfo, value); err != nil { return err } + case "ShareMethod": if value != nil { jtv, ok := value.(string) @@ -11368,6 +11432,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareMethod = types.ShareMethod(jtv) } + case "ShareNotes": if value != nil { jtv, ok := value.(string) @@ -11376,6 +11441,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareNotes = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11384,6 +11450,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShareStatus = types.ShareStatus(jtv) } + case "ShortName": if value != nil { jtv, ok := value.(string) @@ -11392,6 +11459,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.ShortName = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(string) @@ -11400,6 +11468,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Size = types.DirectorySize(jtv) } + case "SsoEnabled": if value != nil { jtv, ok := value.(bool) @@ -11408,6 +11477,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.SsoEnabled = jtv } + case "Stage": if value != nil { jtv, ok := value.(string) @@ -11416,6 +11486,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Stage = types.DirectoryStage(jtv) } + case "StageLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11431,6 +11502,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } } + case "StageReason": if value != nil { jtv, ok := value.(string) @@ -11439,6 +11511,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.StageReason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11447,10 +11520,12 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes } sv.Type = types.DirectoryType(jtv) } + case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(&sv.VpcSettings, value); err != nil { return err } + default: _, _ = key, value @@ -11524,6 +11599,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11532,6 +11608,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDoesNotExistException(v **types.Di } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11571,6 +11648,7 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11579,6 +11657,7 @@ func awsAwsjson11_deserializeDocumentDirectoryInDesiredStateException(v **types. } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11618,6 +11697,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11626,6 +11706,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimitExceededException(v **types.D } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11669,6 +11750,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesCurrentCount = ptr.Int32(int32(i64)) } + case "CloudOnlyDirectoriesLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11681,6 +11763,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesLimit = ptr.Int32(int32(i64)) } + case "CloudOnlyDirectoriesLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11689,6 +11772,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyDirectoriesLimitReached = jtv } + case "CloudOnlyMicrosoftADCurrentCount": if value != nil { jtv, ok := value.(json.Number) @@ -11701,6 +11785,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADCurrentCount = ptr.Int32(int32(i64)) } + case "CloudOnlyMicrosoftADLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11713,6 +11798,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADLimit = ptr.Int32(int32(i64)) } + case "CloudOnlyMicrosoftADLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11721,6 +11807,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.CloudOnlyMicrosoftADLimitReached = jtv } + case "ConnectedDirectoriesCurrentCount": if value != nil { jtv, ok := value.(json.Number) @@ -11733,6 +11820,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesCurrentCount = ptr.Int32(int32(i64)) } + case "ConnectedDirectoriesLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11745,6 +11833,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesLimit = ptr.Int32(int32(i64)) } + case "ConnectedDirectoriesLimitReached": if value != nil { jtv, ok := value.(bool) @@ -11753,6 +11842,7 @@ func awsAwsjson11_deserializeDocumentDirectoryLimits(v **types.DirectoryLimits, } sv.ConnectedDirectoriesLimitReached = jtv } + default: _, _ = key, value @@ -11792,6 +11882,7 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11800,6 +11891,7 @@ func awsAwsjson11_deserializeDocumentDirectoryNotSharedException(v **types.Direc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11839,6 +11931,7 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11847,6 +11940,7 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11882,6 +11976,7 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettings(v **types.DirectoryVpc if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11890,6 +11985,7 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettings(v **types.DirectoryVpc } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -11925,6 +12021,7 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D if err := awsAwsjson11_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } + case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -11933,10 +12030,12 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D } sv.SecurityGroupId = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11945,6 +12044,7 @@ func awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(v **types.D } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -12020,6 +12120,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.AvailabilityZone = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -12028,6 +12129,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DirectoryId = ptr.String(jtv) } + case "DnsIpAddr": if value != nil { jtv, ok := value.(string) @@ -12036,6 +12138,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DnsIpAddr = ptr.String(jtv) } + case "DomainControllerId": if value != nil { jtv, ok := value.(string) @@ -12044,6 +12147,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.DomainControllerId = ptr.String(jtv) } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -12059,6 +12163,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12067,6 +12172,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.Status = types.DomainControllerStatus(jtv) } + case "StatusLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12082,6 +12188,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -12090,6 +12197,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.StatusReason = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -12098,6 +12206,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -12106,6 +12215,7 @@ func awsAwsjson11_deserializeDocumentDomainController(v **types.DomainController } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -12145,6 +12255,7 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12153,6 +12264,7 @@ func awsAwsjson11_deserializeDocumentDomainControllerLimitExceededException(v ** } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12226,6 +12338,7 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12234,6 +12347,7 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12273,6 +12387,7 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12281,6 +12396,7 @@ func awsAwsjson11_deserializeDocumentEntityDoesNotExistException(v **types.Entit } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12327,6 +12443,7 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -12335,6 +12452,7 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.DirectoryId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12343,6 +12461,7 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.Status = types.TopicStatus(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -12351,6 +12470,7 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.TopicArn = ptr.String(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -12359,6 +12479,7 @@ func awsAwsjson11_deserializeDocumentEventTopic(v **types.EventTopic, value inte } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -12432,6 +12553,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12440,6 +12562,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleSettingsException(v **types.Inc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12479,6 +12602,7 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12487,6 +12611,7 @@ func awsAwsjson11_deserializeDocumentInsufficientPermissionsException(v **types. } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12526,6 +12651,7 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12534,6 +12660,7 @@ func awsAwsjson11_deserializeDocumentInvalidCertificateException(v **types.Inval } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12573,6 +12700,7 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12581,6 +12709,7 @@ func awsAwsjson11_deserializeDocumentInvalidClientAuthStatusException(v **types. } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12620,6 +12749,7 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12628,6 +12758,7 @@ func awsAwsjson11_deserializeDocumentInvalidLDAPSStatusException(v **types.Inval } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12667,6 +12798,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12675,6 +12807,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12714,6 +12847,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12722,6 +12856,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12761,6 +12896,7 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12769,6 +12905,7 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12808,6 +12945,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12816,6 +12954,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetException(v **types.InvalidTar } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12898,6 +13037,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } } + case "CidrIp": if value != nil { jtv, ok := value.(string) @@ -12906,6 +13046,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.CidrIp = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12914,6 +13055,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.Description = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -12922,6 +13064,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.DirectoryId = ptr.String(jtv) } + case "IpRouteStatusMsg": if value != nil { jtv, ok := value.(string) @@ -12930,6 +13073,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.IpRouteStatusMsg = types.IpRouteStatusMsg(jtv) } + case "IpRouteStatusReason": if value != nil { jtv, ok := value.(string) @@ -12938,6 +13082,7 @@ func awsAwsjson11_deserializeDocumentIpRouteInfo(v **types.IpRouteInfo, value in } sv.IpRouteStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12977,6 +13122,7 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12985,6 +13131,7 @@ func awsAwsjson11_deserializeDocumentIpRouteLimitExceededException(v **types.IpR } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13065,6 +13212,7 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } } + case "LDAPSStatus": if value != nil { jtv, ok := value.(string) @@ -13073,6 +13221,7 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } sv.LDAPSStatus = types.LDAPSStatus(jtv) } + case "LDAPSStatusReason": if value != nil { jtv, ok := value.(string) @@ -13081,6 +13230,7 @@ func awsAwsjson11_deserializeDocumentLDAPSSettingInfo(v **types.LDAPSSettingInfo } sv.LDAPSStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -13154,6 +13304,7 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } sv.DirectoryId = ptr.String(jtv) } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -13162,6 +13313,7 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } sv.LogGroupName = ptr.String(jtv) } + case "SubscriptionCreatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13177,6 +13329,7 @@ func awsAwsjson11_deserializeDocumentLogSubscription(v **types.LogSubscription, } } + default: _, _ = key, value @@ -13250,6 +13403,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13258,6 +13412,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableCertificateException(v **types.N } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13297,6 +13452,7 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13305,6 +13461,7 @@ func awsAwsjson11_deserializeDocumentOrganizationsException(v **types.Organizati } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13344,6 +13501,7 @@ func awsAwsjson11_deserializeDocumentOSUpdateSettings(v **types.OSUpdateSettings } sv.OSVersion = types.OSVersion(jtv) } + default: _, _ = key, value @@ -13383,6 +13541,7 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.AccountId = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13391,14 +13550,17 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.DirectoryId = ptr.String(jtv) } + case "DnsIpAddrs": if err := awsAwsjson11_deserializeDocumentDnsIpAddrs(&sv.DnsIpAddrs, value); err != nil { return err } + case "RadiusSettings": if err := awsAwsjson11_deserializeDocumentRadiusSettings(&sv.RadiusSettings, value); err != nil { return err } + case "RadiusStatus": if value != nil { jtv, ok := value.(string) @@ -13407,10 +13569,12 @@ func awsAwsjson11_deserializeDocumentOwnerDirectoryDescription(v **types.OwnerDi } sv.RadiusStatus = types.RadiusStatus(jtv) } + case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettingsDescription(&sv.VpcSettings, value); err != nil { return err } + default: _, _ = key, value @@ -13450,6 +13614,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.AuthenticationProtocol = types.RadiusAuthenticationProtocol(jtv) } + case "DisplayLabel": if value != nil { jtv, ok := value.(string) @@ -13458,6 +13623,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.DisplayLabel = ptr.String(jtv) } + case "RadiusPort": if value != nil { jtv, ok := value.(json.Number) @@ -13470,6 +13636,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusPort = ptr.Int32(int32(i64)) } + case "RadiusRetries": if value != nil { jtv, ok := value.(json.Number) @@ -13482,10 +13649,12 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusRetries = int32(i64) } + case "RadiusServers": if err := awsAwsjson11_deserializeDocumentServers(&sv.RadiusServers, value); err != nil { return err } + case "RadiusTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -13498,6 +13667,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.RadiusTimeout = ptr.Int32(int32(i64)) } + case "SharedSecret": if value != nil { jtv, ok := value.(string) @@ -13506,6 +13676,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.SharedSecret = ptr.String(jtv) } + case "UseSameUsername": if value != nil { jtv, ok := value.(bool) @@ -13514,6 +13685,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va } sv.UseSameUsername = jtv } + default: _, _ = key, value @@ -13557,6 +13729,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13565,6 +13738,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.DirectoryId = ptr.String(jtv) } + case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13580,6 +13754,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -13595,6 +13770,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } + case "RegionName": if value != nil { jtv, ok := value.(string) @@ -13603,6 +13779,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.RegionName = ptr.String(jtv) } + case "RegionType": if value != nil { jtv, ok := value.(string) @@ -13611,6 +13788,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.RegionType = types.RegionType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13619,6 +13797,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } sv.Status = types.DirectoryStage(jtv) } + case "StatusLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13634,10 +13813,12 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti } } + case "VpcSettings": if err := awsAwsjson11_deserializeDocumentDirectoryVpcSettings(&sv.VpcSettings, value); err != nil { return err } + default: _, _ = key, value @@ -13677,6 +13858,7 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13685,6 +13867,7 @@ func awsAwsjson11_deserializeDocumentRegionLimitExceededException(v **types.Regi } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13754,6 +13937,7 @@ func awsAwsjson11_deserializeDocumentRegionsInfo(v **types.RegionsInfo, value in if err := awsAwsjson11_deserializeDocumentAdditionalRegions(&sv.AdditionalRegions, value); err != nil { return err } + case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -13762,6 +13946,7 @@ func awsAwsjson11_deserializeDocumentRegionsInfo(v **types.RegionsInfo, value in } sv.PrimaryRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -13801,6 +13986,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.Description = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -13809,6 +13995,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.DirectoryId = ptr.String(jtv) } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -13824,6 +14011,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } } + case "SchemaExtensionId": if value != nil { jtv, ok := value.(string) @@ -13832,6 +14020,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionId = ptr.String(jtv) } + case "SchemaExtensionStatus": if value != nil { jtv, ok := value.(string) @@ -13840,6 +14029,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionStatus = types.SchemaExtensionStatus(jtv) } + case "SchemaExtensionStatusReason": if value != nil { jtv, ok := value.(string) @@ -13848,6 +14038,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } sv.SchemaExtensionStatusReason = ptr.String(jtv) } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -13863,6 +14054,7 @@ func awsAwsjson11_deserializeDocumentSchemaExtensionInfo(v **types.SchemaExtensi } } + default: _, _ = key, value @@ -13972,6 +14164,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13980,6 +14173,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14053,6 +14247,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.AllowedValues = ptr.String(jtv) } + case "AppliedValue": if value != nil { jtv, ok := value.(string) @@ -14061,6 +14256,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.AppliedValue = ptr.String(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -14069,6 +14265,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.DataType = ptr.String(jtv) } + case "LastRequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -14084,6 +14281,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } } + case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14099,6 +14297,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14107,10 +14306,12 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.Name = ptr.String(jtv) } + case "RequestDetailedStatus": if err := awsAwsjson11_deserializeDocumentDirectoryConfigurationSettingRequestDetailedStatus(&sv.RequestDetailedStatus, value); err != nil { return err } + case "RequestedValue": if value != nil { jtv, ok := value.(string) @@ -14119,6 +14320,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestedValue = ptr.String(jtv) } + case "RequestStatus": if value != nil { jtv, ok := value.(string) @@ -14127,6 +14329,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestStatus = types.DirectoryConfigurationStatus(jtv) } + case "RequestStatusMessage": if value != nil { jtv, ok := value.(string) @@ -14135,6 +14338,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.RequestStatusMessage = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14143,6 +14347,7 @@ func awsAwsjson11_deserializeDocumentSettingEntry(v **types.SettingEntry, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14223,6 +14428,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } } + case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14238,6 +14444,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -14246,6 +14453,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.OwnerAccountId = ptr.String(jtv) } + case "OwnerDirectoryId": if value != nil { jtv, ok := value.(string) @@ -14254,6 +14462,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.OwnerDirectoryId = ptr.String(jtv) } + case "SharedAccountId": if value != nil { jtv, ok := value.(string) @@ -14262,6 +14471,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.SharedAccountId = ptr.String(jtv) } + case "SharedDirectoryId": if value != nil { jtv, ok := value.(string) @@ -14270,6 +14480,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.SharedDirectoryId = ptr.String(jtv) } + case "ShareMethod": if value != nil { jtv, ok := value.(string) @@ -14278,6 +14489,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareMethod = types.ShareMethod(jtv) } + case "ShareNotes": if value != nil { jtv, ok := value.(string) @@ -14286,6 +14498,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareNotes = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14507,7 @@ func awsAwsjson11_deserializeDocumentSharedDirectory(v **types.SharedDirectory, } sv.ShareStatus = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -14333,6 +14547,7 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14341,6 +14556,7 @@ func awsAwsjson11_deserializeDocumentShareLimitExceededException(v **types.Share } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14380,6 +14596,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.DirectoryId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14388,6 +14605,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -14396,6 +14614,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14411,6 +14630,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14419,6 +14639,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = types.SnapshotStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14427,6 +14648,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Type = types.SnapshotType(jtv) } + default: _, _ = key, value @@ -14466,6 +14688,7 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14474,6 +14697,7 @@ func awsAwsjson11_deserializeDocumentSnapshotLimitExceededException(v **types.Sn } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14517,6 +14741,7 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsCurrentCount = ptr.Int32(int32(i64)) } + case "ManualSnapshotsLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14529,6 +14754,7 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsLimit = ptr.Int32(int32(i64)) } + case "ManualSnapshotsLimitReached": if value != nil { jtv, ok := value.(bool) @@ -14537,6 +14763,7 @@ func awsAwsjson11_deserializeDocumentSnapshotLimits(v **types.SnapshotLimits, va } sv.ManualSnapshotsLimitReached = jtv } + default: _, _ = key, value @@ -14646,6 +14873,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14654,6 +14882,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14693,6 +14922,7 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14701,6 +14931,7 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14781,6 +15012,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -14789,6 +15021,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.DirectoryId = ptr.String(jtv) } + case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14804,6 +15037,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } + case "RemoteDomainName": if value != nil { jtv, ok := value.(string) @@ -14812,6 +15046,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.RemoteDomainName = ptr.String(jtv) } + case "SelectiveAuth": if value != nil { jtv, ok := value.(string) @@ -14820,6 +15055,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.SelectiveAuth = types.SelectiveAuth(jtv) } + case "StateLastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14835,6 +15071,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } } + case "TrustDirection": if value != nil { jtv, ok := value.(string) @@ -14843,6 +15080,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustDirection = types.TrustDirection(jtv) } + case "TrustId": if value != nil { jtv, ok := value.(string) @@ -14851,6 +15089,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustId = ptr.String(jtv) } + case "TrustState": if value != nil { jtv, ok := value.(string) @@ -14859,6 +15098,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustState = types.TrustState(jtv) } + case "TrustStateReason": if value != nil { jtv, ok := value.(string) @@ -14867,6 +15107,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustStateReason = ptr.String(jtv) } + case "TrustType": if value != nil { jtv, ok := value.(string) @@ -14875,6 +15116,7 @@ func awsAwsjson11_deserializeDocumentTrust(v **types.Trust, value interface{}) e } sv.TrustType = types.TrustType(jtv) } + default: _, _ = key, value @@ -14948,6 +15190,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14956,6 +15199,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14995,6 +15239,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15003,6 +15248,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedSettingsException(v **types.Unsu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15076,6 +15322,7 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.InitiatedBy = ptr.String(jtv) } + case "LastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15091,14 +15338,17 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } } + case "NewValue": if err := awsAwsjson11_deserializeDocumentUpdateValue(&sv.NewValue, value); err != nil { return err } + case "PreviousValue": if err := awsAwsjson11_deserializeDocumentUpdateValue(&sv.PreviousValue, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -15107,6 +15357,7 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.Region = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -15122,6 +15373,7 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15130,6 +15382,7 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.Status = types.UpdateStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -15138,6 +15391,7 @@ func awsAwsjson11_deserializeDocumentUpdateInfoEntry(v **types.UpdateInfoEntry, } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -15173,6 +15427,7 @@ func awsAwsjson11_deserializeDocumentUpdateValue(v **types.UpdateValue, value in if err := awsAwsjson11_deserializeDocumentOSUpdateSettings(&sv.OSUpdateSettings, value); err != nil { return err } + default: _, _ = key, value @@ -15212,6 +15467,7 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15220,6 +15476,7 @@ func awsAwsjson11_deserializeDocumentUserDoesNotExistException(v **types.UserDoe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15255,6 +15512,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptSharedDirectoryOutput(v **AcceptSha if err := awsAwsjson11_deserializeDocumentSharedDirectory(&sv.SharedDirectory, value); err != nil { return err } + default: _, _ = key, value @@ -15418,6 +15676,7 @@ func awsAwsjson11_deserializeOpDocumentConnectDirectoryOutput(v **ConnectDirecto } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -15457,6 +15716,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Alias = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -15465,6 +15725,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -15500,6 +15761,7 @@ func awsAwsjson11_deserializeOpDocumentCreateComputerOutput(v **CreateComputerOu if err := awsAwsjson11_deserializeDocumentComputer(&sv.Computer, value); err != nil { return err } + default: _, _ = key, value @@ -15570,6 +15832,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDirectoryOutput(v **CreateDirectory } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -15640,6 +15903,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMicrosoftADOutput(v **CreateMicroso } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -15679,6 +15943,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.SnapshotId = ptr.String(jtv) } + default: _, _ = key, value @@ -15718,6 +15983,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrustOutput(v **CreateTrustOutput, } sv.TrustId = ptr.String(jtv) } + default: _, _ = key, value @@ -15788,6 +16054,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDirectoryOutput(v **DeleteDirectory } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -15858,6 +16125,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.SnapshotId = ptr.String(jtv) } + default: _, _ = key, value @@ -15897,6 +16165,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrustOutput(v **DeleteTrustOutput, } sv.TrustId = ptr.String(jtv) } + default: _, _ = key, value @@ -15994,6 +16263,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } + default: _, _ = key, value @@ -16029,6 +16299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientAuthenticationSettingsOutpu if err := awsAwsjson11_deserializeDocumentClientAuthenticationSettingsInfo(&sv.ClientAuthenticationSettingsInfo, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16037,6 +16308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientAuthenticationSettingsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16072,6 +16344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConditionalForwardersOutput(v **D if err := awsAwsjson11_deserializeDocumentConditionalForwarders(&sv.ConditionalForwarders, value); err != nil { return err } + default: _, _ = key, value @@ -16107,6 +16380,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoriesOutput(v **DescribeDir if err := awsAwsjson11_deserializeDocumentDirectoryDescriptions(&sv.DirectoryDescriptions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16115,6 +16389,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoriesOutput(v **DescribeDir } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16154,6 +16429,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDirectoryDataAccessOutput(v **Des } sv.DataAccessStatus = types.DataAccessStatus(jtv) } + default: _, _ = key, value @@ -16189,6 +16465,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainControllersOutput(v **Descr if err := awsAwsjson11_deserializeDocumentDomainControllers(&sv.DomainControllers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16197,6 +16474,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainControllersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16232,6 +16510,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTopicsOutput(v **DescribeEve if err := awsAwsjson11_deserializeDocumentEventTopics(&sv.EventTopics, value); err != nil { return err } + default: _, _ = key, value @@ -16267,6 +16546,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLDAPSSettingsOutput(v **DescribeL if err := awsAwsjson11_deserializeDocumentLDAPSSettingsInfo(&sv.LDAPSSettingsInfo, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16275,6 +16555,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLDAPSSettingsOutput(v **DescribeL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16314,10 +16595,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegionsOutput(v **DescribeRegions } sv.NextToken = ptr.String(jtv) } + case "RegionsDescription": if err := awsAwsjson11_deserializeDocumentRegionsDescription(&sv.RegionsDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16357,6 +16640,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSettingsOutput(v **DescribeSettin } sv.DirectoryId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16365,10 +16649,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSettingsOutput(v **DescribeSettin } sv.NextToken = ptr.String(jtv) } + case "SettingEntries": if err := awsAwsjson11_deserializeDocumentSettingEntries(&sv.SettingEntries, value); err != nil { return err } + default: _, _ = key, value @@ -16408,10 +16694,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSharedDirectoriesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "SharedDirectories": if err := awsAwsjson11_deserializeDocumentSharedDirectories(&sv.SharedDirectories, value); err != nil { return err } + default: _, _ = key, value @@ -16451,10 +16739,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } + case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshots(&sv.Snapshots, value); err != nil { return err } + default: _, _ = key, value @@ -16494,10 +16784,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustsOutput(v **DescribeTrustsOu } sv.NextToken = ptr.String(jtv) } + case "Trusts": if err := awsAwsjson11_deserializeDocumentTrusts(&sv.Trusts, value); err != nil { return err } + default: _, _ = key, value @@ -16537,10 +16829,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUpdateDirectoryOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "UpdateActivities": if err := awsAwsjson11_deserializeDocumentUpdateActivities(&sv.UpdateActivities, value); err != nil { return err } + default: _, _ = key, value @@ -16886,6 +17180,7 @@ func awsAwsjson11_deserializeOpDocumentGetDirectoryLimitsOutput(v **GetDirectory if err := awsAwsjson11_deserializeDocumentDirectoryLimits(&sv.DirectoryLimits, value); err != nil { return err } + default: _, _ = key, value @@ -16921,6 +17216,7 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotLimitsOutput(v **GetSnapshotLi if err := awsAwsjson11_deserializeDocumentSnapshotLimits(&sv.SnapshotLimits, value); err != nil { return err } + default: _, _ = key, value @@ -16956,6 +17252,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentCertificatesInfo(&sv.CertificatesInfo, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16964,6 +17261,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16999,6 +17297,7 @@ func awsAwsjson11_deserializeOpDocumentListIpRoutesOutput(v **ListIpRoutesOutput if err := awsAwsjson11_deserializeDocumentIpRoutesInfo(&sv.IpRoutesInfo, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17007,6 +17306,7 @@ func awsAwsjson11_deserializeOpDocumentListIpRoutesOutput(v **ListIpRoutesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17042,6 +17342,7 @@ func awsAwsjson11_deserializeOpDocumentListLogSubscriptionsOutput(v **ListLogSub if err := awsAwsjson11_deserializeDocumentLogSubscriptions(&sv.LogSubscriptions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17050,6 +17351,7 @@ func awsAwsjson11_deserializeOpDocumentListLogSubscriptionsOutput(v **ListLogSub } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17089,10 +17391,12 @@ func awsAwsjson11_deserializeOpDocumentListSchemaExtensionsOutput(v **ListSchema } sv.NextToken = ptr.String(jtv) } + case "SchemaExtensionsInfo": if err := awsAwsjson11_deserializeDocumentSchemaExtensionsInfo(&sv.SchemaExtensionsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -17132,10 +17436,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17175,6 +17481,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -17245,6 +17552,7 @@ func awsAwsjson11_deserializeOpDocumentRejectSharedDirectoryOutput(v **RejectSha } sv.SharedDirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -17439,6 +17747,7 @@ func awsAwsjson11_deserializeOpDocumentShareDirectoryOutput(v **ShareDirectoryOu } sv.SharedDirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -17478,6 +17787,7 @@ func awsAwsjson11_deserializeOpDocumentStartSchemaExtensionOutput(v **StartSchem } sv.SchemaExtensionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17517,6 +17827,7 @@ func awsAwsjson11_deserializeOpDocumentUnshareDirectoryOutput(v **UnshareDirecto } sv.SharedDirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -17680,6 +17991,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSettingsOutput(v **UpdateSettingsOu } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -17719,6 +18031,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrustOutput(v **UpdateTrustOutput, } sv.RequestId = ptr.String(jtv) } + case "TrustId": if value != nil { jtv, ok := value.(string) @@ -17727,6 +18040,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrustOutput(v **UpdateTrustOutput, } sv.TrustId = ptr.String(jtv) } + default: _, _ = key, value @@ -17766,6 +18080,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyTrustOutput(v **VerifyTrustOutput, } sv.TrustId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/directoryservicedata/deserializers.go b/service/directoryservicedata/deserializers.go index fb4678f22ee..e4190eff96f 100644 --- a/service/directoryservicedata/deserializers.go +++ b/service/directoryservicedata/deserializers.go @@ -297,6 +297,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.DirectoryId = ptr.String(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -305,6 +306,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -313,6 +315,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -483,6 +486,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.DirectoryId = ptr.String(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -491,6 +495,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -499,6 +504,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -881,6 +887,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DirectoryId = ptr.String(jtv) } + case "DistinguishedName": if value != nil { jtv, ok := value.(string) @@ -889,6 +896,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DistinguishedName = ptr.String(jtv) } + case "GroupScope": if value != nil { jtv, ok := value.(string) @@ -897,6 +905,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupScope = types.GroupScope(jtv) } + case "GroupType": if value != nil { jtv, ok := value.(string) @@ -905,10 +914,12 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupType = types.GroupType(jtv) } + case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -917,6 +928,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Realm = ptr.String(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -925,6 +937,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -933,6 +946,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -1103,6 +1117,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DirectoryId = ptr.String(jtv) } + case "DistinguishedName": if value != nil { jtv, ok := value.(string) @@ -1111,6 +1126,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DistinguishedName = ptr.String(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -1119,6 +1135,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.EmailAddress = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -1127,6 +1144,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Enabled = ptr.Bool(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -1135,10 +1153,12 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.GivenName = ptr.String(jtv) } + case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -1147,6 +1167,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Realm = ptr.String(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -1155,6 +1176,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -1163,6 +1185,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.SID = ptr.String(jtv) } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -1171,6 +1194,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Surname = ptr.String(jtv) } + case "UserPrincipalName": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1203,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserPrincipalName = ptr.String(jtv) } + default: _, _ = key, value @@ -1455,6 +1480,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.DirectoryId = ptr.String(jtv) } + case "MemberRealm": if value != nil { jtv, ok := value.(string) @@ -1463,10 +1489,12 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.MemberRealm = ptr.String(jtv) } + case "Members": if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1475,6 +1503,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -1483,6 +1512,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.Realm = ptr.String(jtv) } + default: _, _ = key, value @@ -1650,10 +1680,12 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.DirectoryId = ptr.String(jtv) } + case "Groups": if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1662,6 +1694,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -1670,6 +1703,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.Realm = ptr.String(jtv) } + default: _, _ = key, value @@ -1840,10 +1874,12 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.DirectoryId = ptr.String(jtv) } + case "Groups": if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } + case "MemberRealm": if value != nil { jtv, ok := value.(string) @@ -1852,6 +1888,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.MemberRealm = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1860,6 +1897,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -1868,6 +1906,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsForMemberOutput(v **ListGroupsF } sv.Realm = ptr.String(jtv) } + default: _, _ = key, value @@ -2035,6 +2074,7 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.DirectoryId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2043,6 +2083,7 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -2051,10 +2092,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.Realm = ptr.String(jtv) } + case "Users": if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -2328,10 +2371,12 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.DirectoryId = ptr.String(jtv) } + case "Groups": if err := awsRestjson1_deserializeDocumentGroupList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2340,6 +2385,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -2348,6 +2394,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.Realm = ptr.String(jtv) } + default: _, _ = key, value @@ -2515,6 +2562,7 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.DirectoryId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2523,6 +2571,7 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.NextToken = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -2531,10 +2580,12 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.Realm = ptr.String(jtv) } + case "Users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -3058,6 +3109,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -3066,6 +3118,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedReason(jtv) } + default: _, _ = key, value @@ -3217,6 +3270,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3256,6 +3310,7 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -3264,6 +3319,7 @@ func awsRestjson1_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Reason = types.DirectoryUnavailableReason(jtv) } + default: _, _ = key, value @@ -3303,6 +3359,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DistinguishedName = ptr.String(jtv) } + case "GroupScope": if value != nil { jtv, ok := value.(string) @@ -3311,6 +3368,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupScope = types.GroupScope(jtv) } + case "GroupType": if value != nil { jtv, ok := value.(string) @@ -3319,10 +3377,12 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupType = types.GroupType(jtv) } + case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3331,6 +3391,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -3339,6 +3400,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -3412,6 +3474,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupScope = types.GroupScope(jtv) } + case "GroupType": if value != nil { jtv, ok := value.(string) @@ -3420,6 +3483,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupType = types.GroupType(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3428,6 +3492,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -3436,6 +3501,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -3509,6 +3575,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3548,6 +3615,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberType = types.MemberType(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3556,6 +3624,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -3564,6 +3633,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.SID = ptr.String(jtv) } + default: _, _ = key, value @@ -3637,6 +3707,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3712,6 +3783,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3724,6 +3796,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3763,6 +3836,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DistinguishedName = ptr.String(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -3771,6 +3845,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -3779,6 +3854,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Enabled = ptr.Bool(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3787,10 +3863,12 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.GivenName = ptr.String(jtv) } + case "OtherAttributes": if err := awsRestjson1_deserializeDocumentAttributes(&sv.OtherAttributes, value); err != nil { return err } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3799,6 +3877,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -3807,6 +3886,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.SID = ptr.String(jtv) } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -3815,6 +3895,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Surname = ptr.String(jtv) } + case "UserPrincipalName": if value != nil { jtv, ok := value.(string) @@ -3823,6 +3904,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserPrincipalName = ptr.String(jtv) } + default: _, _ = key, value @@ -3896,6 +3978,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Enabled = ptr.Bool(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3904,6 +3987,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.GivenName = ptr.String(jtv) } + case "SAMAccountName": if value != nil { jtv, ok := value.(string) @@ -3912,6 +3996,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.SAMAccountName = ptr.String(jtv) } + case "SID": if value != nil { jtv, ok := value.(string) @@ -3920,6 +4005,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.SID = ptr.String(jtv) } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -3928,6 +4014,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Surname = ptr.String(jtv) } + default: _, _ = key, value @@ -4001,6 +4088,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -4009,6 +4097,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value diff --git a/service/dlm/deserializers.go b/service/dlm/deserializers.go index 4509cdd3195..12d7fc59614 100644 --- a/service/dlm/deserializers.go +++ b/service/dlm/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.PolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -435,6 +436,7 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePoliciesOutput(v **GetLifecyc if err := awsRestjson1_deserializeDocumentLifecyclePolicySummaryList(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -592,6 +594,7 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle if err := awsRestjson1_deserializeDocumentLifecyclePolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -749,6 +752,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1213,6 +1217,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentCrossRegionCopyActionList(&sv.CrossRegionCopy, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1221,6 +1226,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1290,6 +1296,7 @@ func awsRestjson1_deserializeDocumentArchiveRetainRule(v **types.ArchiveRetainRu if err := awsRestjson1_deserializeDocumentRetentionArchiveTier(&sv.RetentionArchiveTier, value); err != nil { return err } + default: _, _ = key, value @@ -1325,6 +1332,7 @@ func awsRestjson1_deserializeDocumentArchiveRule(v **types.ArchiveRule, value in if err := awsRestjson1_deserializeDocumentArchiveRetainRule(&sv.RetainRule, value); err != nil { return err } + default: _, _ = key, value @@ -1400,6 +1408,7 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.CronExpression = ptr.String(jtv) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -1412,6 +1421,7 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1420,6 +1430,7 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.IntervalUnit = types.IntervalUnitValues(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -1428,14 +1439,17 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte } sv.Location = types.LocationValues(jtv) } + case "Scripts": if err := awsRestjson1_deserializeDocumentScriptsList(&sv.Scripts, value); err != nil { return err } + case "Times": if err := awsRestjson1_deserializeDocumentTimesList(&sv.Times, value); err != nil { return err } + default: _, _ = key, value @@ -1471,10 +1485,12 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyAction(v **types.CrossRegion if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "RetainRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(&sv.RetainRule, value); err != nil { return err } + case "Target": if value != nil { jtv, ok := value.(string) @@ -1483,6 +1499,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyAction(v **types.CrossRegion } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -1560,6 +1577,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(v **types.Cros } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1568,6 +1586,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(v **types.Cros } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -1611,6 +1630,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(v **types.CrossRe } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1619,6 +1639,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(v **types.CrossRe } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -1658,6 +1679,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.CmkArn = ptr.String(jtv) } + case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -1666,10 +1688,12 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.CopyTags = ptr.Bool(jtv) } + case "DeprecateRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(&sv.DeprecateRule, value); err != nil { return err } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -1678,10 +1702,12 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.Encrypted = ptr.Bool(jtv) } + case "RetainRule": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(&sv.RetainRule, value); err != nil { return err } + case "Target": if value != nil { jtv, ok := value.(string) @@ -1690,6 +1716,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.Target = ptr.String(jtv) } + case "TargetRegion": if value != nil { jtv, ok := value.(string) @@ -1698,6 +1725,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRule(v **types.CrossRegionCo } sv.TargetRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -1771,6 +1799,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyTarget(v **types.CrossRegion } sv.TargetRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -1848,6 +1877,7 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.Count = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -1860,6 +1890,7 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -1868,6 +1899,7 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -1907,6 +1939,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.CmkArn = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -1915,6 +1948,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Encrypted = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1954,6 +1988,7 @@ func awsRestjson1_deserializeDocumentEventParameters(v **types.EventParameters, } sv.DescriptionRegex = ptr.String(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -1962,10 +1997,12 @@ func awsRestjson1_deserializeDocumentEventParameters(v **types.EventParameters, } sv.EventType = types.EventTypeValues(jtv) } + case "SnapshotOwner": if err := awsRestjson1_deserializeDocumentSnapshotOwnerList(&sv.SnapshotOwner, value); err != nil { return err } + default: _, _ = key, value @@ -2001,6 +2038,7 @@ func awsRestjson1_deserializeDocumentEventSource(v **types.EventSource, value in if err := awsRestjson1_deserializeDocumentEventParameters(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2009,6 +2047,7 @@ func awsRestjson1_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Type = types.EventSourceValues(jtv) } + default: _, _ = key, value @@ -2152,14 +2191,17 @@ func awsRestjson1_deserializeDocumentExclusions(v **types.Exclusions, value inte } sv.ExcludeBootVolumes = ptr.Bool(jtv) } + case "ExcludeTags": if err := awsRestjson1_deserializeDocumentExcludeTagsList(&sv.ExcludeTags, value); err != nil { return err } + case "ExcludeVolumeTypes": if err := awsRestjson1_deserializeDocumentExcludeVolumeTypesList(&sv.ExcludeVolumeTypes, value); err != nil { return err } + default: _, _ = key, value @@ -2195,6 +2237,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, if err := awsRestjson1_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -2207,6 +2250,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.Count = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -2219,6 +2263,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2272,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -2266,6 +2312,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2274,6 +2321,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2313,6 +2361,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2321,14 +2370,17 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "MutuallyExclusiveParameters": if err := awsRestjson1_deserializeDocumentParameterList(&sv.MutuallyExclusiveParameters, value); err != nil { return err } + case "RequiredParameters": if err := awsRestjson1_deserializeDocumentParameterList(&sv.RequiredParameters, value); err != nil { return err } + default: _, _ = key, value @@ -2372,6 +2424,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DateCreated = ptr.Time(t) } + case "DateModified": if value != nil { jtv, ok := value.(string) @@ -2384,6 +2437,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DateModified = ptr.Time(t) } + case "DefaultPolicy": if value != nil { jtv, ok := value.(bool) @@ -2392,6 +2446,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.DefaultPolicy = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2400,6 +2455,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Description = ptr.String(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2408,6 +2464,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ExecutionRoleArn = ptr.String(jtv) } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -2416,10 +2473,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.PolicyArn = ptr.String(jtv) } + case "PolicyDetails": if err := awsRestjson1_deserializeDocumentPolicyDetails(&sv.PolicyDetails, value); err != nil { return err } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -2428,6 +2487,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.PolicyId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2436,6 +2496,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.State = types.GettablePolicyStateValues(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2444,10 +2505,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.StatusMessage = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2487,6 +2550,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.DefaultPolicy = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2495,6 +2559,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -2503,6 +2568,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyId = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2511,6 +2577,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyType = types.PolicyTypeValues(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2519,10 +2586,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.State = types.GettablePolicyStateValues(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2596,6 +2665,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2604,6 +2674,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2612,6 +2683,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2687,10 +2759,12 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte } sv.ExcludeBootVolume = ptr.Bool(jtv) } + case "ExcludeDataVolumeTags": if err := awsRestjson1_deserializeDocumentExcludeDataVolumeTagList(&sv.ExcludeDataVolumeTags, value); err != nil { return err } + case "NoReboot": if value != nil { jtv, ok := value.(bool) @@ -2699,6 +2773,7 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte } sv.NoReboot = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2734,6 +2809,7 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -2742,6 +2818,7 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.CopyTags = ptr.Bool(jtv) } + case "CreateInterval": if value != nil { jtv, ok := value.(json.Number) @@ -2754,18 +2831,22 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.CreateInterval = ptr.Int32(int32(i64)) } + case "CrossRegionCopyTargets": if err := awsRestjson1_deserializeDocumentCrossRegionCopyTargetList(&sv.CrossRegionCopyTargets, value); err != nil { return err } + case "EventSource": if err := awsRestjson1_deserializeDocumentEventSource(&sv.EventSource, value); err != nil { return err } + case "Exclusions": if err := awsRestjson1_deserializeDocumentExclusions(&sv.Exclusions, value); err != nil { return err } + case "ExtendDeletion": if value != nil { jtv, ok := value.(bool) @@ -2774,10 +2855,12 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.ExtendDeletion = ptr.Bool(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "PolicyLanguage": if value != nil { jtv, ok := value.(string) @@ -2786,6 +2869,7 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.PolicyLanguage = types.PolicyLanguageValues(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -2794,10 +2878,12 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.PolicyType = types.PolicyTypeValues(jtv) } + case "ResourceLocations": if err := awsRestjson1_deserializeDocumentResourceLocationList(&sv.ResourceLocations, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2806,10 +2892,12 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.ResourceType = types.ResourceTypeValues(jtv) } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeValuesList(&sv.ResourceTypes, value); err != nil { return err } + case "RetainInterval": if value != nil { jtv, ok := value.(json.Number) @@ -2822,14 +2910,17 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu } sv.RetainInterval = ptr.Int32(int32(i64)) } + case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } + case "TargetTags": if err := awsRestjson1_deserializeDocumentTargetTagList(&sv.TargetTags, value); err != nil { return err } + default: _, _ = key, value @@ -2941,6 +3032,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2949,10 +3041,12 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceIds": if err := awsRestjson1_deserializeDocumentPolicyIdList(&sv.ResourceIds, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2961,6 +3055,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3040,6 +3135,7 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.Count = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -3052,6 +3148,7 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3060,6 +3157,7 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -3103,6 +3201,7 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.Count = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -3115,6 +3214,7 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.Interval = ptr.Int32(int32(i64)) } + case "IntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3123,6 +3223,7 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc } sv.IntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -3158,6 +3259,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac if err := awsRestjson1_deserializeDocumentArchiveRule(&sv.ArchiveRule, value); err != nil { return err } + case "CopyTags": if value != nil { jtv, ok := value.(bool) @@ -3166,22 +3268,27 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.CopyTags = ptr.Bool(jtv) } + case "CreateRule": if err := awsRestjson1_deserializeDocumentCreateRule(&sv.CreateRule, value); err != nil { return err } + case "CrossRegionCopyRules": if err := awsRestjson1_deserializeDocumentCrossRegionCopyRules(&sv.CrossRegionCopyRules, value); err != nil { return err } + case "DeprecateRule": if err := awsRestjson1_deserializeDocumentDeprecateRule(&sv.DeprecateRule, value); err != nil { return err } + case "FastRestoreRule": if err := awsRestjson1_deserializeDocumentFastRestoreRule(&sv.FastRestoreRule, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3190,22 +3297,27 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Name = ptr.String(jtv) } + case "RetainRule": if err := awsRestjson1_deserializeDocumentRetainRule(&sv.RetainRule, value); err != nil { return err } + case "ShareRules": if err := awsRestjson1_deserializeDocumentShareRules(&sv.ShareRules, value); err != nil { return err } + case "TagsToAdd": if err := awsRestjson1_deserializeDocumentTagsToAddList(&sv.TagsToAdd, value); err != nil { return err } + case "VariableTags": if err := awsRestjson1_deserializeDocumentVariableTagsList(&sv.VariableTags, value); err != nil { return err } + default: _, _ = key, value @@ -3279,6 +3391,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecuteOperationOnScriptFailure = ptr.Bool(jtv) } + case "ExecutionHandler": if value != nil { jtv, ok := value.(string) @@ -3287,6 +3400,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionHandler = ptr.String(jtv) } + case "ExecutionHandlerService": if value != nil { jtv, ok := value.(string) @@ -3295,6 +3409,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionHandlerService = types.ExecutionHandlerServiceValues(jtv) } + case "ExecutionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -3307,6 +3422,7 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ExecutionTimeout = ptr.Int32(int32(i64)) } + case "MaximumRetryCount": if value != nil { jtv, ok := value.(json.Number) @@ -3319,10 +3435,12 @@ func awsRestjson1_deserializeDocumentScript(v **types.Script, value interface{}) } sv.MaximumRetryCount = ptr.Int32(int32(i64)) } + case "Stages": if err := awsRestjson1_deserializeDocumentStagesList(&sv.Stages, value); err != nil { return err } + default: _, _ = key, value @@ -3392,6 +3510,7 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf if err := awsRestjson1_deserializeDocumentShareTargetAccountList(&sv.TargetAccounts, value); err != nil { return err } + case "UnshareInterval": if value != nil { jtv, ok := value.(json.Number) @@ -3404,6 +3523,7 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf } sv.UnshareInterval = ptr.Int32(int32(i64)) } + case "UnshareIntervalUnit": if value != nil { jtv, ok := value.(string) @@ -3412,6 +3532,7 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf } sv.UnshareIntervalUnit = types.RetentionIntervalUnitValues(jtv) } + default: _, _ = key, value @@ -3593,6 +3714,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3601,6 +3723,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/docdbelastic/deserializers.go b/service/docdbelastic/deserializers.go index d33e4dc5f4a..6489c85d4fc 100644 --- a/service/docdbelastic/deserializers.go +++ b/service/docdbelastic/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentApplyPendingMaintenanceActionOutput(v **A if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(&sv.ResourcePendingMaintenanceAction, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +357,7 @@ func awsRestjson1_deserializeOpDocumentCopyClusterSnapshotOutput(v **CopyCluster if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -522,6 +524,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -691,6 +694,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterSnapshotOutput(v **CreateClu if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -857,6 +861,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -1023,6 +1028,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterSnapshotOutput(v **DeleteClu if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -1186,6 +1192,7 @@ func awsRestjson1_deserializeOpDocumentGetClusterOutput(v **GetClusterOutput, va if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -1349,6 +1356,7 @@ func awsRestjson1_deserializeOpDocumentGetClusterSnapshotOutput(v **GetClusterSn if err := awsRestjson1_deserializeDocumentClusterSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -1515,6 +1523,7 @@ func awsRestjson1_deserializeOpDocumentGetPendingMaintenanceActionOutput(v **Get if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(&sv.ResourcePendingMaintenanceAction, value); err != nil { return err } + default: _, _ = key, value @@ -1675,6 +1684,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1683,6 +1693,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1847,10 +1858,12 @@ func awsRestjson1_deserializeOpDocumentListClusterSnapshotsOutput(v **ListCluste } sv.NextToken = ptr.String(jtv) } + case "snapshots": if err := awsRestjson1_deserializeDocumentClusterSnapshotList(&sv.Snapshots, value); err != nil { return err } + default: _, _ = key, value @@ -2015,10 +2028,12 @@ func awsRestjson1_deserializeOpDocumentListPendingMaintenanceActionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "resourcePendingMaintenanceActions": if err := awsRestjson1_deserializeDocumentResourcePendingMaintenanceActionList(&sv.ResourcePendingMaintenanceActions, value); err != nil { return err } + default: _, _ = key, value @@ -2179,6 +2194,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2348,6 +2364,7 @@ func awsRestjson1_deserializeOpDocumentRestoreClusterFromSnapshotOutput(v **Rest if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -2511,6 +2528,7 @@ func awsRestjson1_deserializeOpDocumentStartClusterOutput(v **StartClusterOutput if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -2674,6 +2692,7 @@ func awsRestjson1_deserializeOpDocumentStopClusterOutput(v **StopClusterOutput, if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3034,6 +3053,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3345,6 +3365,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3384,6 +3405,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AdminUserName = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -3392,6 +3414,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AuthType = types.Auth(jtv) } + case "backupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -3404,6 +3427,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -3412,6 +3436,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "clusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -3420,6 +3445,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterEndpoint = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3428,6 +3454,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -3436,6 +3463,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreateTime = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3444,6 +3472,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.KmsKeyId = ptr.String(jtv) } + case "preferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -3452,6 +3481,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredBackupWindow = ptr.String(jtv) } + case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3460,6 +3490,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "shardCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -3472,6 +3503,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardCapacity = ptr.Int32(int32(i64)) } + case "shardCount": if value != nil { jtv, ok := value.(json.Number) @@ -3484,6 +3516,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardCount = ptr.Int32(int32(i64)) } + case "shardInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -3496,10 +3529,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ShardInstanceCount = ptr.Int32(int32(i64)) } + case "shards": if err := awsRestjson1_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3508,14 +3543,17 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.Status(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "vpcSecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + default: _, _ = key, value @@ -3555,6 +3593,7 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3563,6 +3602,7 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.ClusterName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3571,6 +3611,7 @@ func awsRestjson1_deserializeDocumentClusterInList(v **types.ClusterInList, valu } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -3644,6 +3685,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.AdminUserName = ptr.String(jtv) } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -3652,6 +3694,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.ClusterArn = ptr.String(jtv) } + case "clusterCreationTime": if value != nil { jtv, ok := value.(string) @@ -3660,6 +3703,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.ClusterCreationTime = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3668,6 +3712,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.KmsKeyId = ptr.String(jtv) } + case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -3676,6 +3721,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotArn = ptr.String(jtv) } + case "snapshotCreationTime": if value != nil { jtv, ok := value.(string) @@ -3684,6 +3730,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotCreationTime = ptr.String(jtv) } + case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -3692,6 +3739,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotName = ptr.String(jtv) } + case "snapshotType": if value != nil { jtv, ok := value.(string) @@ -3700,6 +3748,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.SnapshotType = types.SnapshotType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3708,14 +3757,17 @@ func awsRestjson1_deserializeDocumentClusterSnapshot(v **types.ClusterSnapshot, } sv.Status = types.Status(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "vpcSecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + default: _, _ = key, value @@ -3755,6 +3807,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.ClusterArn = ptr.String(jtv) } + case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -3763,6 +3816,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotArn = ptr.String(jtv) } + case "snapshotCreationTime": if value != nil { jtv, ok := value.(string) @@ -3771,6 +3825,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotCreationTime = ptr.String(jtv) } + case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -3779,6 +3834,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.SnapshotName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3787,6 +3843,7 @@ func awsRestjson1_deserializeDocumentClusterSnapshotInList(v **types.ClusterSnap } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -3860,6 +3917,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3868,6 +3926,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3876,6 +3935,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3915,6 +3975,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3954,6 +4015,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.Action = ptr.String(jtv) } + case "autoAppliedAfterDate": if value != nil { jtv, ok := value.(string) @@ -3962,6 +4024,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.AutoAppliedAfterDate = ptr.String(jtv) } + case "currentApplyDate": if value != nil { jtv, ok := value.(string) @@ -3970,6 +4033,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.CurrentApplyDate = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3978,6 +4042,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.Description = ptr.String(jtv) } + case "forcedApplyDate": if value != nil { jtv, ok := value.(string) @@ -3986,6 +4051,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.ForcedApplyDate = ptr.String(jtv) } + case "optInStatus": if value != nil { jtv, ok := value.(string) @@ -3994,6 +4060,7 @@ func awsRestjson1_deserializeDocumentPendingMaintenanceActionDetails(v **types.P } sv.OptInStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -4067,6 +4134,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4075,6 +4143,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4152,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4118,6 +4188,7 @@ func awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(v **types. if err := awsRestjson1_deserializeDocumentPendingMaintenanceActionDetailsList(&sv.PendingMaintenanceActionDetails, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4126,6 +4197,7 @@ func awsRestjson1_deserializeDocumentResourcePendingMaintenanceAction(v **types. } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4199,6 +4271,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4238,6 +4311,7 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.CreateTime = ptr.String(jtv) } + case "shardId": if value != nil { jtv, ok := value.(string) @@ -4246,6 +4320,7 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4254,6 +4329,7 @@ func awsRestjson1_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -4399,6 +4475,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4411,6 +4488,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4446,6 +4524,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4454,6 +4533,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4462,6 +4542,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -4501,6 +4582,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4509,6 +4591,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/drs/deserializers.go b/service/drs/deserializers.go index 177ee0d3a0a..f3653f47e40 100644 --- a/service/drs/deserializers.go +++ b/service/drs/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentAssociateSourceNetworkStackOutput(v **Ass if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -360,6 +361,7 @@ func awsRestjson1_deserializeOpDocumentCreateExtendedSourceServerOutput(v **Crea if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -526,6 +528,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(&sv.LaunchConfigurationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -696,6 +699,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -704,6 +708,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -712,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -724,6 +730,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -732,6 +739,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -740,6 +748,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -748,6 +757,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -756,6 +766,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -764,10 +775,12 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -776,6 +789,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -784,10 +798,12 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -796,14 +812,17 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -812,6 +831,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + default: _, _ = key, value @@ -985,6 +1005,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceNetworkOutput(v **CreateSourc } sv.SourceNetworkID = ptr.String(jtv) } + default: _, _ = key, value @@ -1851,6 +1872,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobLogs(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1859,6 +1881,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2019,6 +2042,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2027,6 +2051,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2190,6 +2215,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplates(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2198,6 +2224,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2358,6 +2385,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryInstancesOutput(v **Descr if err := awsRestjson1_deserializeDocumentDescribeRecoveryInstancesItems(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2366,6 +2394,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoveryInstancesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2529,6 +2558,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoverySnapshotsOutput(v **Descr if err := awsRestjson1_deserializeDocumentRecoverySnapshotsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2537,6 +2567,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRecoverySnapshotsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2700,6 +2731,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates if err := awsRestjson1_deserializeDocumentReplicationConfigurationTemplates(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2708,6 +2740,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2868,6 +2901,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceNetworksOutput(v **Describe if err := awsRestjson1_deserializeDocumentSourceNetworksList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2876,6 +2910,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceNetworksOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3036,6 +3071,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS if err := awsRestjson1_deserializeDocumentSourceServersList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3044,6 +3080,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3320,6 +3357,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.AgentVersion = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3328,10 +3366,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.Arn = ptr.String(jtv) } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -3340,10 +3380,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.LastLaunchResult = types.LastLaunchResult(jtv) } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -3352,6 +3394,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.RecoveryInstanceId = ptr.String(jtv) } + case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -3360,6 +3403,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.ReplicationDirection = types.ReplicationDirection(jtv) } + case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -3368,10 +3412,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } + case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } + case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -3380,10 +3426,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.SourceNetworkID = ptr.String(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -3392,14 +3440,17 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne } sv.SourceServerID = ptr.String(jtv) } + case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3570,6 +3621,7 @@ func awsRestjson1_deserializeOpDocumentExportSourceNetworkCfnTemplateOutput(v ** } sv.S3DestinationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -3738,6 +3790,7 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.BandwidthThrottling = i64 } + case "name": if value != nil { jtv, ok := value.(string) @@ -3746,6 +3799,7 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.Name = ptr.String(jtv) } + case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -3754,6 +3808,7 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.RecoveryInstanceID = ptr.String(jtv) } + case "usePrivateIP": if value != nil { jtv, ok := value.(bool) @@ -3762,6 +3817,7 @@ func awsRestjson1_deserializeOpDocumentGetFailbackReplicationConfigurationOutput } sv.UsePrivateIP = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3926,6 +3982,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -3934,6 +3991,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -3942,6 +4000,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -3950,14 +4009,17 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "launchIntoInstanceProperties": if err := awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(&sv.LaunchIntoInstanceProperties, value); err != nil { return err } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3966,6 +4028,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Name = ptr.String(jtv) } + case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -3974,6 +4037,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.PostLaunchEnabled = ptr.Bool(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -3982,6 +4046,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -3990,6 +4055,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -4157,6 +4223,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -4165,6 +4232,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -4177,6 +4245,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -4185,6 +4254,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -4193,6 +4263,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -4201,6 +4272,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -4209,6 +4281,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4217,6 +4290,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4225,14 +4299,17 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.Name = ptr.String(jtv) } + case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -4241,10 +4318,12 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4253,6 +4332,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.SourceServerID = ptr.String(jtv) } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -4261,10 +4341,12 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -4273,6 +4355,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4533,6 +4616,7 @@ func awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(v **Lis if err := awsRestjson1_deserializeDocumentStagingSourceServersList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4541,6 +4625,7 @@ func awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4704,6 +4789,7 @@ func awsRestjson1_deserializeOpDocumentListLaunchActionsOutput(v **ListLaunchAct if err := awsRestjson1_deserializeDocumentLaunchActions(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4712,6 +4798,7 @@ func awsRestjson1_deserializeOpDocumentListLaunchActionsOutput(v **ListLaunchAct } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4875,6 +4962,7 @@ func awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(v **ListStaging if err := awsRestjson1_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4883,6 +4971,7 @@ func awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(v **ListStaging } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5046,6 +5135,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5216,6 +5306,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionCode = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -5224,6 +5315,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionId = ptr.String(jtv) } + case "actionVersion": if value != nil { jtv, ok := value.(string) @@ -5232,6 +5324,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ActionVersion = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -5240,6 +5333,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -5248,6 +5342,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Category = types.LaunchActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5256,6 +5351,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5360,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Name = ptr.String(jtv) } + case "optional": if value != nil { jtv, ok := value.(bool) @@ -5272,6 +5369,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Optional = ptr.Bool(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -5284,10 +5382,12 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentLaunchActionParameters(&sv.Parameters, value); err != nil { return err } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5296,6 +5396,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.ResourceId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5304,6 +5405,7 @@ func awsRestjson1_deserializeOpDocumentPutLaunchActionOutput(v **PutLaunchAction } sv.Type = types.LaunchActionType(jtv) } + default: _, _ = key, value @@ -5471,6 +5573,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.AgentVersion = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5479,10 +5582,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.Arn = ptr.String(jtv) } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -5491,10 +5596,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.LastLaunchResult = types.LastLaunchResult(jtv) } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -5503,6 +5610,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.RecoveryInstanceId = ptr.String(jtv) } + case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -5511,6 +5619,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReplicationDirection = types.ReplicationDirection(jtv) } + case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -5519,10 +5628,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } + case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } + case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -5531,10 +5642,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceNetworkID = ptr.String(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -5543,14 +5656,17 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceServerID = ptr.String(jtv) } + case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5724,6 +5840,7 @@ func awsRestjson1_deserializeOpDocumentReverseReplicationOutput(v **ReverseRepli } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5890,6 +6007,7 @@ func awsRestjson1_deserializeOpDocumentStartFailbackLaunchOutput(v **StartFailba if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -6053,6 +6171,7 @@ func awsRestjson1_deserializeOpDocumentStartRecoveryOutput(v **StartRecoveryOutp if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -6216,6 +6335,7 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -6382,6 +6502,7 @@ func awsRestjson1_deserializeOpDocumentStartSourceNetworkRecoveryOutput(v **Star if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -6545,6 +6666,7 @@ func awsRestjson1_deserializeOpDocumentStartSourceNetworkReplicationOutput(v **S if err := awsRestjson1_deserializeDocumentSourceNetwork(&sv.SourceNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -6811,6 +6933,7 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { return err } + default: _, _ = key, value @@ -6977,6 +7100,7 @@ func awsRestjson1_deserializeOpDocumentStopSourceNetworkReplicationOutput(v **St if err := awsRestjson1_deserializeDocumentSourceNetwork(&sv.SourceNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -7246,6 +7370,7 @@ func awsRestjson1_deserializeOpDocumentTerminateRecoveryInstancesOutput(v **Term if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -7628,6 +7753,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -7636,6 +7762,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -7644,6 +7771,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -7652,14 +7780,17 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "launchIntoInstanceProperties": if err := awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(&sv.LaunchIntoInstanceProperties, value); err != nil { return err } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7668,6 +7799,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Name = ptr.String(jtv) } + case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -7676,6 +7808,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.PostLaunchEnabled = ptr.Bool(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7684,6 +7817,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -7692,6 +7826,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -7858,6 +7993,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(&sv.LaunchConfigurationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -8031,6 +8167,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -8039,6 +8176,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -8051,6 +8189,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -8059,6 +8198,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -8067,6 +8207,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -8075,6 +8216,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -8083,6 +8225,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -8091,6 +8234,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8099,14 +8243,17 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } + case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -8115,10 +8262,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8127,6 +8276,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.SourceServerID = ptr.String(jtv) } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -8135,10 +8285,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -8147,6 +8299,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8317,6 +8470,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -8325,6 +8479,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -8333,6 +8488,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -8345,6 +8501,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -8353,6 +8510,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -8361,6 +8519,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -8369,6 +8528,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -8377,6 +8537,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -8385,10 +8546,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -8397,6 +8560,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -8405,10 +8569,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -8417,14 +8583,17 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -8433,6 +8602,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8796,6 +8966,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8804,6 +8975,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8843,6 +9015,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountID = ptr.String(jtv) } + default: _, _ = key, value @@ -8916,6 +9089,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8924,6 +9098,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8932,6 +9107,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8940,6 +9116,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -9015,6 +9192,7 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.DataTimestamp = ptr.String(jtv) } + case "forceUefi": if value != nil { jtv, ok := value.(bool) @@ -9023,6 +9201,7 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.ForceUefi = ptr.Bool(jtv) } + case "rootVolumeName": if value != nil { jtv, ok := value.(string) @@ -9031,18 +9210,22 @@ func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionPr } sv.RootVolumeName = ptr.String(jtv) } + case "volumeToConversionMap": if err := awsRestjson1_deserializeDocumentVolumeToConversionMap(&sv.VolumeToConversionMap, value); err != nil { return err } + case "volumeToProductCodes": if err := awsRestjson1_deserializeDocumentVolumeToProductCodes(&sv.VolumeToProductCodes, value); err != nil { return err } + case "volumeToVolumeSize": if err := awsRestjson1_deserializeDocumentVolumeToSizeMap(&sv.VolumeToVolumeSize, value); err != nil { return err } + default: _, _ = key, value @@ -9086,6 +9269,7 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Cores = i64 } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -9094,6 +9278,7 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.ModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -9167,6 +9352,7 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.Error = types.DataReplicationErrorString(jtv) } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -9175,6 +9361,7 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.RawError = ptr.String(jtv) } + default: _, _ = key, value @@ -9210,10 +9397,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati if err := awsRestjson1_deserializeDocumentDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } + case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } + case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -9222,6 +9411,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.DataReplicationState = types.DataReplicationState(jtv) } + case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -9230,6 +9420,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.EtaDateTime = ptr.String(jtv) } + case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -9238,10 +9429,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LagDuration = ptr.String(jtv) } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "stagingAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -9250,6 +9443,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.StagingAvailabilityZone = ptr.String(jtv) } + case "stagingOutpostArn": if value != nil { jtv, ok := value.(string) @@ -9258,6 +9452,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.StagingOutpostArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9301,6 +9496,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.BackloggedStorageBytes = i64 } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -9309,6 +9505,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.DeviceName = ptr.String(jtv) } + case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9321,6 +9518,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.ReplicatedStorageBytes = i64 } + case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9333,6 +9531,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.RescannedStorageBytes = i64 } + case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9345,6 +9544,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.TotalStorageBytes = i64 } + case "volumeStatus": if value != nil { jtv, ok := value.(string) @@ -9353,6 +9553,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.VolumeStatus = types.VolumeStatus(jtv) } + default: _, _ = key, value @@ -9426,6 +9627,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.NextAttemptDateTime = ptr.String(jtv) } + case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -9434,10 +9636,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.StartDateTime = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -9477,6 +9681,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Name = types.DataReplicationInitiationStepName(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9485,6 +9690,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Status = types.DataReplicationInitiationStepStatus(jtv) } + default: _, _ = key, value @@ -9596,6 +9802,7 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Bytes = i64 } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -9604,6 +9811,7 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DeviceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9753,6 +9961,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.AwsInstanceID = ptr.String(jtv) } + case "fqdn": if value != nil { jtv, ok := value.(string) @@ -9761,6 +9970,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Fqdn = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -9769,6 +9979,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Hostname = ptr.String(jtv) } + case "vmWareUuid": if value != nil { jtv, ok := value.(string) @@ -9777,6 +9988,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmWareUuid = ptr.String(jtv) } + default: _, _ = key, value @@ -9816,6 +10028,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9828,6 +10041,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = i64 } + default: _, _ = key, value @@ -9903,6 +10117,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -9911,6 +10126,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreationDateTime = ptr.String(jtv) } + case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -9919,6 +10135,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EndDateTime = ptr.String(jtv) } + case "initiatedBy": if value != nil { jtv, ok := value.(string) @@ -9927,6 +10144,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -9935,14 +10153,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobID = ptr.String(jtv) } + case "participatingResources": if err := awsRestjson1_deserializeDocumentParticipatingResources(&sv.ParticipatingResources, value); err != nil { return err } + case "participatingServers": if err := awsRestjson1_deserializeDocumentParticipatingServers(&sv.ParticipatingServers, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9951,10 +10172,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9963,6 +10186,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } + default: _, _ = key, value @@ -10002,10 +10226,12 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.Event = types.JobLogEvent(jtv) } + case "eventData": if err := awsRestjson1_deserializeDocumentJobLogEventData(&sv.EventData, value); err != nil { return err } + case "logDateTime": if value != nil { jtv, ok := value.(string) @@ -10014,6 +10240,7 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.LogDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -10049,6 +10276,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, if err := awsRestjson1_deserializeDocumentConversionProperties(&sv.ConversionProperties, value); err != nil { return err } + case "conversionServerID": if value != nil { jtv, ok := value.(string) @@ -10057,10 +10285,12 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.ConversionServerID = ptr.String(jtv) } + case "eventResourceData": if err := awsRestjson1_deserializeDocumentEventResourceData(&sv.EventResourceData, value); err != nil { return err } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -10069,6 +10299,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.RawError = ptr.String(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -10077,6 +10308,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceID": if value != nil { jtv, ok := value.(string) @@ -10085,6 +10317,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.TargetInstanceID = ptr.String(jtv) } + default: _, _ = key, value @@ -10192,6 +10425,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionCode = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -10200,6 +10434,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionId = ptr.String(jtv) } + case "actionVersion": if value != nil { jtv, ok := value.(string) @@ -10208,6 +10443,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.ActionVersion = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -10216,6 +10452,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -10224,6 +10461,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Category = types.LaunchActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10232,6 +10470,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10240,6 +10479,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Name = ptr.String(jtv) } + case "optional": if value != nil { jtv, ok := value.(bool) @@ -10248,6 +10488,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Optional = ptr.Bool(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -10260,10 +10501,12 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentLaunchActionParameters(&sv.Parameters, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10272,6 +10515,7 @@ func awsRestjson1_deserializeDocumentLaunchAction(v **types.LaunchAction, value } sv.Type = types.LaunchActionType(jtv) } + default: _, _ = key, value @@ -10311,6 +10555,7 @@ func awsRestjson1_deserializeDocumentLaunchActionParameter(v **types.LaunchActio } sv.Type = types.LaunchActionParameterType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -10319,6 +10564,7 @@ func awsRestjson1_deserializeDocumentLaunchActionParameter(v **types.LaunchActio } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10389,6 +10635,7 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, if err := awsRestjson1_deserializeDocumentLaunchAction(&sv.Action, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10397,6 +10644,7 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.FailureReason = ptr.String(jtv) } + case "runId": if value != nil { jtv, ok := value.(string) @@ -10405,6 +10653,7 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.RunId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10413,6 +10662,7 @@ func awsRestjson1_deserializeDocumentLaunchActionRun(v **types.LaunchActionRun, } sv.Status = types.LaunchActionRunStatus(jtv) } + default: _, _ = key, value @@ -10516,6 +10766,7 @@ func awsRestjson1_deserializeDocumentLaunchActionsStatus(v **types.LaunchActions if err := awsRestjson1_deserializeDocumentLaunchActionRuns(&sv.Runs, value); err != nil { return err } + case "ssmAgentDiscoveryDatetime": if value != nil { jtv, ok := value.(string) @@ -10524,6 +10775,7 @@ func awsRestjson1_deserializeDocumentLaunchActionsStatus(v **types.LaunchActions } sv.SsmAgentDiscoveryDatetime = ptr.String(jtv) } + default: _, _ = key, value @@ -10563,6 +10815,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Arn = ptr.String(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -10571,6 +10824,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -10579,6 +10833,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyTags = ptr.Bool(jtv) } + case "exportBucketArn": if value != nil { jtv, ok := value.(string) @@ -10587,6 +10842,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.ExportBucketArn = ptr.String(jtv) } + case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -10595,6 +10851,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -10603,6 +10860,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "launchIntoSourceInstance": if value != nil { jtv, ok := value.(bool) @@ -10611,10 +10869,12 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchIntoSourceInstance = ptr.Bool(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "postLaunchEnabled": if value != nil { jtv, ok := value.(bool) @@ -10623,10 +10883,12 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.PostLaunchEnabled = ptr.Bool(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -10635,6 +10897,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -10708,6 +10971,7 @@ func awsRestjson1_deserializeDocumentLaunchIntoInstanceProperties(v **types.Laun } sv.LaunchIntoEC2InstanceID = ptr.String(jtv) } + default: _, _ = key, value @@ -10747,6 +11011,7 @@ func awsRestjson1_deserializeDocumentLicensing(v **types.Licensing, value interf } sv.OsByol = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10786,6 +11051,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.AddedToServiceDateTime = ptr.String(jtv) } + case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -10794,6 +11060,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.ElapsedReplicationDuration = ptr.String(jtv) } + case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -10802,10 +11069,12 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.FirstByteDateTime = ptr.String(jtv) } + case "lastLaunch": if err := awsRestjson1_deserializeDocumentLifeCycleLastLaunch(&sv.LastLaunch, value); err != nil { return err } + case "lastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -10814,6 +11083,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.LastSeenByServiceDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -10849,6 +11119,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunch(v **types.LifeCycleLast if err := awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(&sv.Initiated, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10857,6 +11128,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunch(v **types.LifeCycleLast } sv.Status = types.LaunchStatus(jtv) } + default: _, _ = key, value @@ -10896,6 +11168,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.ApiCallDateTime = ptr.String(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -10904,6 +11177,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.JobID = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10912,6 +11186,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastLaunchInitiated(v **types.Life } sv.Type = types.LastLaunchType(jtv) } + default: _, _ = key, value @@ -10947,6 +11222,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIPsList(&sv.Ips, value); err != nil { return err } + case "isPrimary": if value != nil { jtv, ok := value.(bool) @@ -10955,6 +11231,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.IsPrimary = ptr.Bool(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -10963,6 +11240,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -11036,6 +11314,7 @@ func awsRestjson1_deserializeDocumentOS(v **types.OS, value interface{}) error { } sv.FullString = ptr.String(jtv) } + default: _, _ = key, value @@ -11075,10 +11354,12 @@ func awsRestjson1_deserializeDocumentParticipatingResource(v **types.Participati } sv.LaunchStatus = types.LaunchStatus(jtv) } + case "participatingResourceID": if err := awsRestjson1_deserializeDocumentParticipatingResourceID(&sv.ParticipatingResourceID, value); err != nil { return err } + default: _, _ = key, value @@ -11190,6 +11471,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating if err := awsRestjson1_deserializeDocumentLaunchActionsStatus(&sv.LaunchActionsStatus, value); err != nil { return err } + case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -11198,6 +11480,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchStatus = types.LaunchStatus(jtv) } + case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -11206,6 +11489,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.RecoveryInstanceID = ptr.String(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11214,6 +11498,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.SourceServerID = ptr.String(jtv) } + default: _, _ = key, value @@ -11321,6 +11606,7 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Enabled = ptr.Bool(jtv) } + case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -11333,6 +11619,7 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Interval = ptr.Int32(int32(i64)) } + case "retentionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -11345,6 +11632,7 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.RetentionDuration = ptr.Int32(int32(i64)) } + case "ruleID": if value != nil { jtv, ok := value.(json.Number) @@ -11357,6 +11645,7 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.RuleID = i64 } + case "units": if value != nil { jtv, ok := value.(string) @@ -11365,6 +11654,7 @@ func awsRestjson1_deserializeDocumentPITPolicyRule(v **types.PITPolicyRule, valu } sv.Units = types.PITPolicyRuleUnits(jtv) } + default: _, _ = key, value @@ -11404,6 +11694,7 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductCodeId = ptr.String(jtv) } + case "productCodeMode": if value != nil { jtv, ok := value.(string) @@ -11412,6 +11703,7 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductCodeMode = types.ProductCodeMode(jtv) } + default: _, _ = key, value @@ -11485,6 +11777,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.AgentVersion = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -11493,10 +11786,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Arn = ptr.String(jtv) } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "ec2InstanceID": if value != nil { jtv, ok := value.(string) @@ -11505,6 +11800,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Ec2InstanceID = ptr.String(jtv) } + case "ec2InstanceState": if value != nil { jtv, ok := value.(string) @@ -11513,10 +11809,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.Ec2InstanceState = types.EC2InstanceState(jtv) } + case "failback": if err := awsRestjson1_deserializeDocumentRecoveryInstanceFailback(&sv.Failback, value); err != nil { return err } + case "isDrill": if value != nil { jtv, ok := value.(bool) @@ -11525,6 +11823,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.IsDrill = ptr.Bool(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -11533,6 +11832,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.JobID = ptr.String(jtv) } + case "originAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11541,6 +11841,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.OriginAvailabilityZone = ptr.String(jtv) } + case "originEnvironment": if value != nil { jtv, ok := value.(string) @@ -11549,6 +11850,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.OriginEnvironment = types.OriginEnvironment(jtv) } + case "pointInTimeSnapshotDateTime": if value != nil { jtv, ok := value.(string) @@ -11557,6 +11859,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.PointInTimeSnapshotDateTime = ptr.String(jtv) } + case "recoveryInstanceID": if value != nil { jtv, ok := value.(string) @@ -11565,10 +11868,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.RecoveryInstanceID = ptr.String(jtv) } + case "recoveryInstanceProperties": if err := awsRestjson1_deserializeDocumentRecoveryInstanceProperties(&sv.RecoveryInstanceProperties, value); err != nil { return err } + case "sourceOutpostArn": if value != nil { jtv, ok := value.(string) @@ -11577,6 +11882,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.SourceOutpostArn = ptr.String(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11585,10 +11891,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstance(v **types.RecoveryInstance } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11628,6 +11936,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(v **ty } sv.Error = types.FailbackReplicationError(jtv) } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -11636,6 +11945,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(v **ty } sv.RawError = ptr.String(jtv) } + default: _, _ = key, value @@ -11671,10 +11981,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } + case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } + case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -11683,6 +11995,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.DataReplicationState = types.RecoveryInstanceDataReplicationState(jtv) } + case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -11691,6 +12004,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.EtaDateTime = ptr.String(jtv) } + case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -11699,10 +12013,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.LagDuration = ptr.String(jtv) } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "stagingAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11711,6 +12027,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.StagingAvailabilityZone = ptr.String(jtv) } + case "stagingOutpostArn": if value != nil { jtv, ok := value.(string) @@ -11719,6 +12036,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfo(v **typ } sv.StagingOutpostArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11762,6 +12080,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.BackloggedStorageBytes = i64 } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -11770,6 +12089,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.DeviceName = ptr.String(jtv) } + case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11782,6 +12102,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.ReplicatedStorageBytes = i64 } + case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11794,6 +12115,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.RescannedStorageBytes = i64 } + case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11806,6 +12128,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInfoReplicat } sv.TotalStorageBytes = i64 } + default: _, _ = key, value @@ -11879,10 +12202,12 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiation(v } sv.StartDateTime = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -11922,6 +12247,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSt } sv.Name = types.RecoveryInstanceDataReplicationInitiationStepName(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11930,6 +12256,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDataReplicationInitiationSt } sv.Status = types.RecoveryInstanceDataReplicationInitiationStepStatus(jtv) } + default: _, _ = key, value @@ -12007,6 +12334,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.Bytes = i64 } + case "ebsVolumeID": if value != nil { jtv, ok := value.(string) @@ -12015,6 +12343,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.EbsVolumeID = ptr.String(jtv) } + case "internalDeviceName": if value != nil { jtv, ok := value.(string) @@ -12023,6 +12352,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceDisk(v **types.RecoveryInst } sv.InternalDeviceName = ptr.String(jtv) } + default: _, _ = key, value @@ -12096,6 +12426,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.AgentLastSeenByServiceDateTime = ptr.String(jtv) } + case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -12104,6 +12435,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.ElapsedReplicationDuration = ptr.String(jtv) } + case "failbackClientID": if value != nil { jtv, ok := value.(string) @@ -12112,6 +12444,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackClientID = ptr.String(jtv) } + case "failbackClientLastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -12120,6 +12453,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackClientLastSeenByServiceDateTime = ptr.String(jtv) } + case "failbackInitiationTime": if value != nil { jtv, ok := value.(string) @@ -12128,6 +12462,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackInitiationTime = ptr.String(jtv) } + case "failbackJobID": if value != nil { jtv, ok := value.(string) @@ -12136,6 +12471,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackJobID = ptr.String(jtv) } + case "failbackLaunchType": if value != nil { jtv, ok := value.(string) @@ -12144,6 +12480,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackLaunchType = types.FailbackLaunchType(jtv) } + case "failbackToOriginalServer": if value != nil { jtv, ok := value.(bool) @@ -12152,6 +12489,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FailbackToOriginalServer = ptr.Bool(jtv) } + case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -12160,6 +12498,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.FirstByteDateTime = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -12168,6 +12507,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceFailback(v **types.Recovery } sv.State = types.FailbackState(jtv) } + default: _, _ = key, value @@ -12203,14 +12543,17 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } + case "disks": if err := awsRestjson1_deserializeDocumentRecoveryInstanceDisks(&sv.Disks, value); err != nil { return err } + case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -12219,14 +12562,17 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove } sv.LastUpdatedDateTime = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } + case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12239,6 +12585,7 @@ func awsRestjson1_deserializeDocumentRecoveryInstanceProperties(v **types.Recove } sv.RamBytes = i64 } + default: _, _ = key, value @@ -12282,6 +12629,7 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.ApiCallDateTime = ptr.Time(t) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -12290,6 +12638,7 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.JobID = ptr.String(jtv) } + case "lastRecoveryResult": if value != nil { jtv, ok := value.(string) @@ -12298,6 +12647,7 @@ func awsRestjson1_deserializeDocumentRecoveryLifeCycle(v **types.RecoveryLifeCyc } sv.LastRecoveryResult = types.RecoveryResult(jtv) } + default: _, _ = key, value @@ -12333,6 +12683,7 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot if err := awsRestjson1_deserializeDocumentEbsSnapshotsList(&sv.EbsSnapshots, value); err != nil { return err } + case "expectedTimestamp": if value != nil { jtv, ok := value.(string) @@ -12341,6 +12692,7 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.ExpectedTimestamp = ptr.String(jtv) } + case "snapshotID": if value != nil { jtv, ok := value.(string) @@ -12349,6 +12701,7 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.SnapshotID = ptr.String(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12357,6 +12710,7 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.SourceServerID = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -12365,6 +12719,7 @@ func awsRestjson1_deserializeDocumentRecoverySnapshot(v **types.RecoverySnapshot } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -12438,6 +12793,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.DeviceName = ptr.String(jtv) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -12450,6 +12806,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Iops = i64 } + case "isBootDisk": if value != nil { jtv, ok := value.(bool) @@ -12458,6 +12815,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.IsBootDisk = ptr.Bool(jtv) } + case "optimizedStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12466,6 +12824,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.OptimizedStagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } + case "stagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12474,6 +12833,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.StagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } + case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -12486,6 +12846,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Throughput = i64 } + default: _, _ = key, value @@ -12559,6 +12920,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -12567,6 +12929,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "autoReplicateNewDisks": if value != nil { jtv, ok := value.(bool) @@ -12575,6 +12938,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AutoReplicateNewDisks = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -12587,6 +12951,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -12595,6 +12960,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -12603,6 +12969,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -12611,6 +12978,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -12619,6 +12987,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -12627,10 +12996,12 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "pitPolicy": if err := awsRestjson1_deserializeDocumentPITPolicy(&sv.PitPolicy, value); err != nil { return err } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -12639,6 +13010,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -12647,10 +13019,12 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -12659,14 +13033,17 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -12675,6 +13052,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12784,6 +13162,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12792,6 +13171,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12800,6 +13180,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12808,6 +13189,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -12847,6 +13229,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12855,6 +13238,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -12863,6 +13247,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12871,6 +13256,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12879,6 +13265,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -12887,6 +13274,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -12926,6 +13314,7 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginAccountID = ptr.String(jtv) } + case "originAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -12934,6 +13323,7 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginAvailabilityZone = ptr.String(jtv) } + case "originRegion": if value != nil { jtv, ok := value.(string) @@ -12942,6 +13332,7 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.OriginRegion = ptr.String(jtv) } + case "sourceOutpostArn": if value != nil { jtv, ok := value.(string) @@ -12950,6 +13341,7 @@ func awsRestjson1_deserializeDocumentSourceCloudProperties(v **types.SourceCloud } sv.SourceOutpostArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12989,6 +13381,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.Arn = ptr.String(jtv) } + case "cfnStackName": if value != nil { jtv, ok := value.(string) @@ -12997,10 +13390,12 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.CfnStackName = ptr.String(jtv) } + case "lastRecovery": if err := awsRestjson1_deserializeDocumentRecoveryLifeCycle(&sv.LastRecovery, value); err != nil { return err } + case "launchedVpcID": if value != nil { jtv, ok := value.(string) @@ -13009,6 +13404,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.LaunchedVpcID = ptr.String(jtv) } + case "replicationStatus": if value != nil { jtv, ok := value.(string) @@ -13017,6 +13413,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.ReplicationStatus = types.ReplicationStatus(jtv) } + case "replicationStatusDetails": if value != nil { jtv, ok := value.(string) @@ -13025,6 +13422,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.ReplicationStatusDetails = ptr.String(jtv) } + case "sourceAccountID": if value != nil { jtv, ok := value.(string) @@ -13033,6 +13431,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceAccountID = ptr.String(jtv) } + case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -13041,6 +13440,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceNetworkID = ptr.String(jtv) } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -13049,6 +13449,7 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceRegion = ptr.String(jtv) } + case "sourceVpcID": if value != nil { jtv, ok := value.(string) @@ -13057,10 +13458,12 @@ func awsRestjson1_deserializeDocumentSourceNetwork(v **types.SourceNetwork, valu } sv.SourceVpcID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13100,6 +13503,7 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.SourceNetworkID = ptr.String(jtv) } + case "sourceVpc": if value != nil { jtv, ok := value.(string) @@ -13108,6 +13512,7 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.SourceVpc = ptr.String(jtv) } + case "stackName": if value != nil { jtv, ok := value.(string) @@ -13116,6 +13521,7 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.StackName = ptr.String(jtv) } + case "targetVpc": if value != nil { jtv, ok := value.(string) @@ -13124,6 +13530,7 @@ func awsRestjson1_deserializeDocumentSourceNetworkData(v **types.SourceNetworkDa } sv.TargetVpc = ptr.String(jtv) } + default: _, _ = key, value @@ -13193,14 +13600,17 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } + case "disks": if err := awsRestjson1_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } + case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -13209,14 +13619,17 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.LastUpdatedDateTime = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } + case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13229,6 +13642,7 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RamBytes = i64 } + case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -13237,6 +13651,7 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RecommendedInstanceType = ptr.String(jtv) } + case "supportsNitroInstances": if value != nil { jtv, ok := value.(bool) @@ -13245,6 +13660,7 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.SupportsNitroInstances = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13284,6 +13700,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.AgentVersion = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13292,10 +13709,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.Arn = ptr.String(jtv) } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "lastLaunchResult": if value != nil { jtv, ok := value.(string) @@ -13304,10 +13723,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.LastLaunchResult = types.LastLaunchResult(jtv) } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "recoveryInstanceId": if value != nil { jtv, ok := value.(string) @@ -13316,6 +13737,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.RecoveryInstanceId = ptr.String(jtv) } + case "replicationDirection": if value != nil { jtv, ok := value.(string) @@ -13324,6 +13746,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReplicationDirection = types.ReplicationDirection(jtv) } + case "reversedDirectionSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -13332,10 +13755,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReversedDirectionSourceServerArn = ptr.String(jtv) } + case "sourceCloudProperties": if err := awsRestjson1_deserializeDocumentSourceCloudProperties(&sv.SourceCloudProperties, value); err != nil { return err } + case "sourceNetworkID": if value != nil { jtv, ok := value.(string) @@ -13344,10 +13769,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceNetworkID = ptr.String(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -13356,14 +13783,17 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceServerID = ptr.String(jtv) } + case "stagingArea": if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13437,6 +13867,7 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.ErrorMessage = ptr.String(jtv) } + case "stagingAccountID": if value != nil { jtv, ok := value.(string) @@ -13445,6 +13876,7 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.StagingAccountID = ptr.String(jtv) } + case "stagingSourceServerArn": if value != nil { jtv, ok := value.(string) @@ -13453,6 +13885,7 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.StagingSourceServerArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13894,7 @@ func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value in } sv.Status = types.ExtensionStatus(jtv) } + default: _, _ = key, value @@ -13500,6 +13934,7 @@ func awsRestjson1_deserializeDocumentStagingSourceServer(v **types.StagingSource } sv.Arn = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -13508,10 +13943,12 @@ func awsRestjson1_deserializeDocumentStagingSourceServer(v **types.StagingSource } sv.Hostname = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13621,6 +14058,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -13629,6 +14067,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -13637,6 +14076,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -13645,6 +14085,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -13684,6 +14125,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13692,6 +14134,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13731,10 +14174,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } + case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13743,6 +14188,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -13751,6 +14197,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -13790,6 +14237,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13798,6 +14246,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/dynamodb/deserializers.go b/service/dynamodb/deserializers.go index b57ed717bc2..78f8e9733b0 100644 --- a/service/dynamodb/deserializers.go +++ b/service/dynamodb/deserializers.go @@ -8079,6 +8079,7 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } sv.ArchivalBackupArn = ptr.String(jtv) } + case "ArchivalDateTime": if value != nil { switch jtv := value.(type) { @@ -8094,6 +8095,7 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } } + case "ArchivalReason": if value != nil { jtv, ok := value.(string) @@ -8102,6 +8104,7 @@ func awsAwsjson10_deserializeDocumentArchivalSummary(v **types.ArchivalSummary, } sv.ArchivalReason = ptr.String(jtv) } + default: _, _ = key, value @@ -8141,6 +8144,7 @@ func awsAwsjson10_deserializeDocumentAttributeDefinition(v **types.AttributeDefi } sv.AttributeName = ptr.String(jtv) } + case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -8149,6 +8153,7 @@ func awsAwsjson10_deserializeDocumentAttributeDefinition(v **types.AttributeDefi } sv.AttributeType = types.ScalarAttributeType(jtv) } + default: _, _ = key, value @@ -8426,10 +8431,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingPolicyDescription(v **types.Auto } sv.PolicyName = ptr.String(jtv) } + case "TargetTrackingScalingPolicyConfiguration": if err := awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfigurationDescription(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8503,6 +8510,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.AutoScalingDisabled = ptr.Bool(jtv) } + case "AutoScalingRoleArn": if value != nil { jtv, ok := value.(string) @@ -8511,6 +8519,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.AutoScalingRoleArn = ptr.String(jtv) } + case "MaximumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -8523,6 +8532,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.MaximumUnits = ptr.Int64(i64) } + case "MinimumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -8535,10 +8545,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(v **types.Au } sv.MinimumUnits = ptr.Int64(i64) } + case "ScalingPolicies": if err := awsAwsjson10_deserializeDocumentAutoScalingPolicyDescriptionList(&sv.ScalingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -8578,6 +8590,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.DisableScaleIn = ptr.Bool(jtv) } + case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -8590,6 +8603,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } + case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -8602,6 +8616,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } + case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -8635,6 +8650,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingTargetTrackingScalingPolicyConfi } } + default: _, _ = key, value @@ -8670,14 +8686,17 @@ func awsAwsjson10_deserializeDocumentBackupDescription(v **types.BackupDescripti if err := awsAwsjson10_deserializeDocumentBackupDetails(&sv.BackupDetails, value); err != nil { return err } + case "SourceTableDetails": if err := awsAwsjson10_deserializeDocumentSourceTableDetails(&sv.SourceTableDetails, value); err != nil { return err } + case "SourceTableFeatureDetails": if err := awsAwsjson10_deserializeDocumentSourceTableFeatureDetails(&sv.SourceTableFeatureDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8717,6 +8736,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupArn = ptr.String(jtv) } + case "BackupCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -8732,6 +8752,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } } + case "BackupExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -8747,6 +8768,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } } + case "BackupName": if value != nil { jtv, ok := value.(string) @@ -8755,6 +8777,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupName = ptr.String(jtv) } + case "BackupSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8767,6 +8790,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupSizeBytes = ptr.Int64(i64) } + case "BackupStatus": if value != nil { jtv, ok := value.(string) @@ -8775,6 +8799,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupStatus = types.BackupStatus(jtv) } + case "BackupType": if value != nil { jtv, ok := value.(string) @@ -8783,6 +8808,7 @@ func awsAwsjson10_deserializeDocumentBackupDetails(v **types.BackupDetails, valu } sv.BackupType = types.BackupType(jtv) } + default: _, _ = key, value @@ -8822,6 +8848,7 @@ func awsAwsjson10_deserializeDocumentBackupInUseException(v **types.BackupInUseE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8861,6 +8888,7 @@ func awsAwsjson10_deserializeDocumentBackupNotFoundException(v **types.BackupNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8934,6 +8962,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupArn = ptr.String(jtv) } + case "BackupCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -8949,6 +8978,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } } + case "BackupExpiryDateTime": if value != nil { switch jtv := value.(type) { @@ -8964,6 +8994,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } } + case "BackupName": if value != nil { jtv, ok := value.(string) @@ -8972,6 +9003,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupName = ptr.String(jtv) } + case "BackupSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8984,6 +9016,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupSizeBytes = ptr.Int64(i64) } + case "BackupStatus": if value != nil { jtv, ok := value.(string) @@ -8992,6 +9025,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupStatus = types.BackupStatus(jtv) } + case "BackupType": if value != nil { jtv, ok := value.(string) @@ -9000,6 +9034,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.BackupType = types.BackupType(jtv) } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -9008,6 +9043,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableArn = ptr.String(jtv) } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -9016,6 +9052,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9024,6 +9061,7 @@ func awsAwsjson10_deserializeDocumentBackupSummary(v **types.BackupSummary, valu } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -9132,10 +9170,12 @@ func awsAwsjson10_deserializeDocumentBatchStatementError(v **types.BatchStatemen } sv.Code = types.BatchStatementErrorCodeEnum(jtv) } + case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9144,6 +9184,7 @@ func awsAwsjson10_deserializeDocumentBatchStatementError(v **types.BatchStatemen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9179,10 +9220,12 @@ func awsAwsjson10_deserializeDocumentBatchStatementResponse(v **types.BatchState if err := awsAwsjson10_deserializeDocumentBatchStatementError(&sv.Error, value); err != nil { return err } + case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9191,6 +9234,7 @@ func awsAwsjson10_deserializeDocumentBatchStatementResponse(v **types.BatchState } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -9264,6 +9308,7 @@ func awsAwsjson10_deserializeDocumentBillingModeSummary(v **types.BillingModeSum } sv.BillingMode = types.BillingMode(jtv) } + case "LastUpdateToPayPerRequestDateTime": if value != nil { switch jtv := value.(type) { @@ -9279,6 +9324,7 @@ func awsAwsjson10_deserializeDocumentBillingModeSummary(v **types.BillingModeSum } } + default: _, _ = key, value @@ -9358,10 +9404,12 @@ func awsAwsjson10_deserializeDocumentCancellationReason(v **types.CancellationRe } sv.Code = ptr.String(jtv) } + case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9370,6 +9418,7 @@ func awsAwsjson10_deserializeDocumentCancellationReason(v **types.CancellationRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9468,6 +9517,7 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } + case "ReadCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9501,6 +9551,7 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } + case "WriteCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9534,6 +9585,7 @@ func awsAwsjson10_deserializeDocumentCapacity(v **types.Capacity, value interfac } } + default: _, _ = key, value @@ -9569,6 +9621,7 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9577,6 +9630,7 @@ func awsAwsjson10_deserializeDocumentConditionalCheckFailedException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9641,14 +9695,17 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } + case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentSecondaryIndexesCapacityMap(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentSecondaryIndexesCapacityMap(&sv.LocalSecondaryIndexes, value); err != nil { return err } + case "ReadCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9682,10 +9739,12 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } + case "Table": if err := awsAwsjson10_deserializeDocumentCapacity(&sv.Table, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9694,6 +9753,7 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } sv.TableName = ptr.String(jtv) } + case "WriteCapacityUnits": if value != nil { switch jtv := value.(type) { @@ -9727,6 +9787,7 @@ func awsAwsjson10_deserializeDocumentConsumedCapacity(v **types.ConsumedCapacity } } + default: _, _ = key, value @@ -9800,10 +9861,12 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsDescription(v **types.Cont } sv.ContinuousBackupsStatus = types.ContinuousBackupsStatus(jtv) } + case "PointInTimeRecoveryDescription": if err := awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(&sv.PointInTimeRecoveryDescription, value); err != nil { return err } + default: _, _ = key, value @@ -9843,6 +9906,7 @@ func awsAwsjson10_deserializeDocumentContinuousBackupsUnavailableException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9952,6 +10016,7 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -9960,6 +10025,7 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.IndexName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9968,6 +10034,7 @@ func awsAwsjson10_deserializeDocumentContributorInsightsSummary(v **types.Contri } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -10043,10 +10110,12 @@ func awsAwsjson10_deserializeDocumentCsvOptions(v **types.CsvOptions, value inte } sv.Delimiter = ptr.String(jtv) } + case "HeaderList": if err := awsAwsjson10_deserializeDocumentCsvHeaderList(&sv.HeaderList, value); err != nil { return err } + default: _, _ = key, value @@ -10082,6 +10151,7 @@ func awsAwsjson10_deserializeDocumentDeleteRequest(v **types.DeleteRequest, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -10121,6 +10191,7 @@ func awsAwsjson10_deserializeDocumentDuplicateItemException(v **types.DuplicateI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10160,6 +10231,7 @@ func awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(v **typ } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } + default: _, _ = key, value @@ -10199,6 +10271,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10211,6 +10284,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } + default: _, _ = key, value @@ -10284,6 +10358,7 @@ func awsAwsjson10_deserializeDocumentExportConflictException(v **types.ExportCon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10327,6 +10402,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.BilledSizeBytes = ptr.Int64(i64) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -10335,6 +10411,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ClientToken = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10350,6 +10427,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } + case "ExportArn": if value != nil { jtv, ok := value.(string) @@ -10358,6 +10436,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportArn = ptr.String(jtv) } + case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -10366,6 +10445,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportFormat = types.ExportFormat(jtv) } + case "ExportManifest": if value != nil { jtv, ok := value.(string) @@ -10374,6 +10454,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportManifest = ptr.String(jtv) } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -10382,6 +10463,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportStatus = types.ExportStatus(jtv) } + case "ExportTime": if value != nil { switch jtv := value.(type) { @@ -10397,6 +10479,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } + case "ExportType": if value != nil { jtv, ok := value.(string) @@ -10405,6 +10488,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ExportType = types.ExportType(jtv) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -10413,6 +10497,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.FailureCode = ptr.String(jtv) } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -10421,10 +10506,12 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.FailureMessage = ptr.String(jtv) } + case "IncrementalExportSpecification": if err := awsAwsjson10_deserializeDocumentIncrementalExportSpecification(&sv.IncrementalExportSpecification, value); err != nil { return err } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -10437,6 +10524,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.ItemCount = ptr.Int64(i64) } + case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -10445,6 +10533,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3Bucket = ptr.String(jtv) } + case "S3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -10453,6 +10542,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3BucketOwner = ptr.String(jtv) } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -10461,6 +10551,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3Prefix = ptr.String(jtv) } + case "S3SseAlgorithm": if value != nil { jtv, ok := value.(string) @@ -10469,6 +10560,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3SseAlgorithm = types.S3SseAlgorithm(jtv) } + case "S3SseKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10477,6 +10569,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.S3SseKmsKeyId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10492,6 +10585,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -10500,6 +10594,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.TableArn = ptr.String(jtv) } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -10508,6 +10603,7 @@ func awsAwsjson10_deserializeDocumentExportDescription(v **types.ExportDescripti } sv.TableId = ptr.String(jtv) } + default: _, _ = key, value @@ -10547,6 +10643,7 @@ func awsAwsjson10_deserializeDocumentExportNotFoundException(v **types.ExportNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10620,6 +10717,7 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportArn = ptr.String(jtv) } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -10628,6 +10726,7 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportStatus = types.ExportStatus(jtv) } + case "ExportType": if value != nil { jtv, ok := value.(string) @@ -10636,6 +10735,7 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportType = types.ExportType(jtv) } + default: _, _ = key, value @@ -10711,6 +10811,7 @@ func awsAwsjson10_deserializeDocumentFailureException(v **types.FailureException } sv.ExceptionDescription = ptr.String(jtv) } + case "ExceptionName": if value != nil { jtv, ok := value.(string) @@ -10719,6 +10820,7 @@ func awsAwsjson10_deserializeDocumentFailureException(v **types.FailureException } sv.ExceptionName = ptr.String(jtv) } + default: _, _ = key, value @@ -10758,22 +10860,27 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndex(v **types.GlobalSecond } sv.IndexName = ptr.String(jtv) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + default: _, _ = key, value @@ -10813,6 +10920,7 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.Backfilling = ptr.Bool(jtv) } + case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -10821,6 +10929,7 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -10829,6 +10938,7 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexName = ptr.String(jtv) } + case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10841,6 +10951,7 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexSizeBytes = ptr.Int64(i64) } + case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -10849,6 +10960,7 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.IndexStatus = types.IndexStatus(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -10861,22 +10973,27 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescription(v **types.G } sv.ItemCount = ptr.Int64(i64) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(&sv.ProvisionedThroughput, value); err != nil { return err } + default: _, _ = key, value @@ -10984,22 +11101,27 @@ func awsAwsjson10_deserializeDocumentGlobalSecondaryIndexInfo(v **types.GlobalSe } sv.IndexName = ptr.String(jtv) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + default: _, _ = key, value @@ -11073,10 +11195,12 @@ func awsAwsjson10_deserializeDocumentGlobalTable(v **types.GlobalTable, value in } sv.GlobalTableName = ptr.String(jtv) } + case "ReplicationGroup": if err := awsAwsjson10_deserializeDocumentReplicaList(&sv.ReplicationGroup, value); err != nil { return err } + default: _, _ = key, value @@ -11116,6 +11240,7 @@ func awsAwsjson10_deserializeDocumentGlobalTableAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11162,6 +11287,7 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } } + case "GlobalTableArn": if value != nil { jtv, ok := value.(string) @@ -11170,6 +11296,7 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableArn = ptr.String(jtv) } + case "GlobalTableName": if value != nil { jtv, ok := value.(string) @@ -11178,6 +11305,7 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableName = ptr.String(jtv) } + case "GlobalTableStatus": if value != nil { jtv, ok := value.(string) @@ -11186,10 +11314,12 @@ func awsAwsjson10_deserializeDocumentGlobalTableDescription(v **types.GlobalTabl } sv.GlobalTableStatus = types.GlobalTableStatus(jtv) } + case "ReplicationGroup": if err := awsAwsjson10_deserializeDocumentReplicaDescriptionList(&sv.ReplicationGroup, value); err != nil { return err } + default: _, _ = key, value @@ -11263,6 +11393,7 @@ func awsAwsjson10_deserializeDocumentGlobalTableNotFoundException(v **types.Glob } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11302,6 +11433,7 @@ func awsAwsjson10_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11341,6 +11473,7 @@ func awsAwsjson10_deserializeDocumentImportConflictException(v **types.ImportCon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11380,6 +11513,7 @@ func awsAwsjson10_deserializeDocumentImportNotFoundException(v **types.ImportNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11419,6 +11553,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11434,6 +11569,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } + case "ImportArn": if value != nil { jtv, ok := value.(string) @@ -11442,6 +11578,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportArn = ptr.String(jtv) } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -11450,6 +11587,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportStatus = types.ImportStatus(jtv) } + case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -11458,10 +11596,12 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.InputFormat = types.InputFormat(jtv) } + case "S3BucketSource": if err := awsAwsjson10_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11477,6 +11617,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -11485,6 +11626,7 @@ func awsAwsjson10_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.TableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11558,6 +11700,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ClientToken = ptr.String(jtv) } + case "CloudWatchLogGroupArn": if value != nil { jtv, ok := value.(string) @@ -11566,6 +11709,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11581,6 +11725,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } } + case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -11593,6 +11738,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ErrorCount = i64 } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -11601,6 +11747,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.FailureCode = ptr.String(jtv) } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -11609,6 +11756,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.FailureMessage = ptr.String(jtv) } + case "ImportArn": if value != nil { jtv, ok := value.(string) @@ -11617,6 +11765,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportArn = ptr.String(jtv) } + case "ImportedItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -11629,6 +11778,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportedItemCount = i64 } + case "ImportStatus": if value != nil { jtv, ok := value.(string) @@ -11637,6 +11787,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ImportStatus = types.ImportStatus(jtv) } + case "InputCompressionType": if value != nil { jtv, ok := value.(string) @@ -11645,6 +11796,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.InputCompressionType = types.InputCompressionType(jtv) } + case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -11653,10 +11805,12 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.InputFormat = types.InputFormat(jtv) } + case "InputFormatOptions": if err := awsAwsjson10_deserializeDocumentInputFormatOptions(&sv.InputFormatOptions, value); err != nil { return err } + case "ProcessedItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -11669,6 +11823,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ProcessedItemCount = i64 } + case "ProcessedSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11681,10 +11836,12 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.ProcessedSizeBytes = ptr.Int64(i64) } + case "S3BucketSource": if err := awsAwsjson10_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11700,6 +11857,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -11708,10 +11866,12 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.TableArn = ptr.String(jtv) } + case "TableCreationParameters": if err := awsAwsjson10_deserializeDocumentTableCreationParameters(&sv.TableCreationParameters, value); err != nil { return err } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -11720,6 +11880,7 @@ func awsAwsjson10_deserializeDocumentImportTableDescription(v **types.ImportTabl } sv.TableId = ptr.String(jtv) } + default: _, _ = key, value @@ -11766,6 +11927,7 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } } + case "ExportToTime": if value != nil { switch jtv := value.(type) { @@ -11781,6 +11943,7 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } } + case "ExportViewType": if value != nil { jtv, ok := value.(string) @@ -11789,6 +11952,7 @@ func awsAwsjson10_deserializeDocumentIncrementalExportSpecification(v **types.In } sv.ExportViewType = types.ExportViewType(jtv) } + default: _, _ = key, value @@ -11828,6 +11992,7 @@ func awsAwsjson10_deserializeDocumentIndexNotFoundException(v **types.IndexNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11863,6 +12028,7 @@ func awsAwsjson10_deserializeDocumentInputFormatOptions(v **types.InputFormatOpt if err := awsAwsjson10_deserializeDocumentCsvOptions(&sv.Csv, value); err != nil { return err } + default: _, _ = key, value @@ -11902,6 +12068,7 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11941,6 +12108,7 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11980,6 +12148,7 @@ func awsAwsjson10_deserializeDocumentInvalidExportTimeException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12019,6 +12188,7 @@ func awsAwsjson10_deserializeDocumentInvalidRestoreTimeException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12088,10 +12258,12 @@ func awsAwsjson10_deserializeDocumentItemCollectionMetrics(v **types.ItemCollect if err := awsAwsjson10_deserializeDocumentItemCollectionKeyAttributeMap(&sv.ItemCollectionKey, value); err != nil { return err } + case "SizeEstimateRangeGB": if err := awsAwsjson10_deserializeDocumentItemCollectionSizeEstimateRange(&sv.SizeEstimateRangeGB, value); err != nil { return err } + default: _, _ = key, value @@ -12260,6 +12432,7 @@ func awsAwsjson10_deserializeDocumentItemCollectionSizeLimitExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12327,6 +12500,7 @@ func awsAwsjson10_deserializeDocumentItemResponse(v **types.ItemResponse, value if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + default: _, _ = key, value @@ -12462,6 +12636,7 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut if err := awsAwsjson10_deserializeDocumentAttributeNameList(&sv.AttributesToGet, value); err != nil { return err } + case "ConsistentRead": if value != nil { jtv, ok := value.(bool) @@ -12470,14 +12645,17 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut } sv.ConsistentRead = ptr.Bool(jtv) } + case "ExpressionAttributeNames": if err := awsAwsjson10_deserializeDocumentExpressionAttributeNameMap(&sv.ExpressionAttributeNames, value); err != nil { return err } + case "Keys": if err := awsAwsjson10_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } + case "ProjectionExpression": if value != nil { jtv, ok := value.(string) @@ -12486,6 +12664,7 @@ func awsAwsjson10_deserializeDocumentKeysAndAttributes(v **types.KeysAndAttribut } sv.ProjectionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -12559,6 +12738,7 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.AttributeName = ptr.String(jtv) } + case "KeyType": if value != nil { jtv, ok := value.(string) @@ -12567,6 +12747,7 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.KeyType = types.KeyType(jtv) } + default: _, _ = key, value @@ -12606,6 +12787,7 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } + case "DestinationStatus": if value != nil { jtv, ok := value.(string) @@ -12614,6 +12796,7 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.DestinationStatus = types.DestinationStatus(jtv) } + case "DestinationStatusDescription": if value != nil { jtv, ok := value.(string) @@ -12622,6 +12805,7 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.DestinationStatusDescription = ptr.String(jtv) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -12630,6 +12814,7 @@ func awsAwsjson10_deserializeDocumentKinesisDataStreamDestination(v **types.Kine } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12703,6 +12888,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12774,6 +12960,7 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -12782,6 +12969,7 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexName = ptr.String(jtv) } + case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12794,6 +12982,7 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.IndexSizeBytes = ptr.Int64(i64) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -12806,14 +12995,17 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescription(v **types.Lo } sv.ItemCount = ptr.Int64(i64) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } + default: _, _ = key, value @@ -12921,14 +13113,17 @@ func awsAwsjson10_deserializeDocumentLocalSecondaryIndexInfo(v **types.LocalSeco } sv.IndexName = ptr.String(jtv) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "Projection": if err := awsAwsjson10_deserializeDocumentProjection(&sv.Projection, value); err != nil { return err } + default: _, _ = key, value @@ -13078,6 +13273,7 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughput(v **types.OnDemandThroug } sv.MaxReadRequestUnits = ptr.Int64(i64) } + case "MaxWriteRequestUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13090,6 +13286,7 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughput(v **types.OnDemandThroug } sv.MaxWriteRequestUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -13133,6 +13330,7 @@ func awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(v **types.OnDema } sv.MaxReadRequestUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -13213,6 +13411,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } } + case "LatestRestorableDateTime": if value != nil { switch jtv := value.(type) { @@ -13228,6 +13427,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } } + case "PointInTimeRecoveryStatus": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13436,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryDescription(v **types.Po } sv.PointInTimeRecoveryStatus = types.PointInTimeRecoveryStatus(jtv) } + default: _, _ = key, value @@ -13275,6 +13476,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoveryUnavailableException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13314,6 +13516,7 @@ func awsAwsjson10_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13349,6 +13552,7 @@ func awsAwsjson10_deserializeDocumentProjection(v **types.Projection, value inte if err := awsAwsjson10_deserializeDocumentNonKeyAttributeNameList(&sv.NonKeyAttributes, value); err != nil { return err } + case "ProjectionType": if value != nil { jtv, ok := value.(string) @@ -13357,6 +13561,7 @@ func awsAwsjson10_deserializeDocumentProjection(v **types.Projection, value inte } sv.ProjectionType = types.ProjectionType(jtv) } + default: _, _ = key, value @@ -13400,6 +13605,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.ReadCapacityUnits = ptr.Int64(i64) } + case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13412,6 +13618,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.WriteCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -13458,6 +13665,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } } + case "LastIncreaseDateTime": if value != nil { switch jtv := value.(type) { @@ -13473,6 +13681,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } } + case "NumberOfDecreasesToday": if value != nil { jtv, ok := value.(json.Number) @@ -13485,6 +13694,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.NumberOfDecreasesToday = ptr.Int64(i64) } + case "ReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13497,6 +13707,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.ReadCapacityUnits = ptr.Int64(i64) } + case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -13509,6 +13720,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(v **types. } sv.WriteCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -13548,6 +13760,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13591,6 +13804,7 @@ func awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(v **types.Pro } sv.ReadCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -13660,6 +13874,7 @@ func awsAwsjson10_deserializeDocumentPutRequest(v **types.PutRequest, value inte if err := awsAwsjson10_deserializeDocumentPutItemInputAttributeMap(&sv.Item, value); err != nil { return err } + default: _, _ = key, value @@ -13699,6 +13914,7 @@ func awsAwsjson10_deserializeDocumentReplica(v **types.Replica, value interface{ } sv.RegionName = ptr.String(jtv) } + default: _, _ = key, value @@ -13738,6 +13954,7 @@ func awsAwsjson10_deserializeDocumentReplicaAlreadyExistsException(v **types.Rep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13773,6 +13990,7 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "RegionName": if value != nil { jtv, ok := value.(string) @@ -13781,14 +13999,17 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep } sv.RegionName = ptr.String(jtv) } + case "ReplicaProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } + case "ReplicaProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } + case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -13797,6 +14018,7 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingDescription(v **types.Rep } sv.ReplicaStatus = types.ReplicaStatus(jtv) } + default: _, _ = key, value @@ -13866,6 +14088,7 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "KMSMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -13874,14 +14097,17 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.KMSMasterKeyId = ptr.String(jtv) } + case "OnDemandThroughputOverride": if err := awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(&sv.OnDemandThroughputOverride, value); err != nil { return err } + case "ProvisionedThroughputOverride": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } + case "RegionName": if value != nil { jtv, ok := value.(string) @@ -13890,6 +14116,7 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.RegionName = ptr.String(jtv) } + case "ReplicaInaccessibleDateTime": if value != nil { switch jtv := value.(type) { @@ -13905,6 +14132,7 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } } + case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -13913,6 +14141,7 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatus = types.ReplicaStatus(jtv) } + case "ReplicaStatusDescription": if value != nil { jtv, ok := value.(string) @@ -13921,6 +14150,7 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatusDescription = ptr.String(jtv) } + case "ReplicaStatusPercentProgress": if value != nil { jtv, ok := value.(string) @@ -13929,10 +14159,12 @@ func awsAwsjson10_deserializeDocumentReplicaDescription(v **types.ReplicaDescrip } sv.ReplicaStatusPercentProgress = ptr.String(jtv) } + case "ReplicaTableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.ReplicaTableClassSummary, value); err != nil { return err } + default: _, _ = key, value @@ -14006,6 +14238,7 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescr } sv.IndexName = ptr.String(jtv) } + case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -14014,14 +14247,17 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexAutoScalingDescr } sv.IndexStatus = types.IndexStatus(jtv) } + case "ProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } + case "ProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } + default: _, _ = key, value @@ -14095,14 +14331,17 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexDescription(v ** } sv.IndexName = ptr.String(jtv) } + case "OnDemandThroughputOverride": if err := awsAwsjson10_deserializeDocumentOnDemandThroughputOverride(&sv.OnDemandThroughputOverride, value); err != nil { return err } + case "ProvisionedThroughputOverride": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } + default: _, _ = key, value @@ -14176,6 +14415,7 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.IndexName = ptr.String(jtv) } + case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -14184,10 +14424,12 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.IndexStatus = types.IndexStatus(jtv) } + case "ProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } + case "ProvisionedReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14200,10 +14442,12 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.ProvisionedReadCapacityUnits = ptr.Int64(i64) } + case "ProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } + case "ProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14216,6 +14460,7 @@ func awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescript } sv.ProvisionedWriteCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -14323,6 +14568,7 @@ func awsAwsjson10_deserializeDocumentReplicaNotFoundException(v **types.ReplicaN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14362,18 +14608,22 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.RegionName = ptr.String(jtv) } + case "ReplicaBillingModeSummary": if err := awsAwsjson10_deserializeDocumentBillingModeSummary(&sv.ReplicaBillingModeSummary, value); err != nil { return err } + case "ReplicaGlobalSecondaryIndexSettings": if err := awsAwsjson10_deserializeDocumentReplicaGlobalSecondaryIndexSettingsDescriptionList(&sv.ReplicaGlobalSecondaryIndexSettings, value); err != nil { return err } + case "ReplicaProvisionedReadCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedReadCapacityAutoScalingSettings, value); err != nil { return err } + case "ReplicaProvisionedReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14386,10 +14636,12 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaProvisionedReadCapacityUnits = ptr.Int64(i64) } + case "ReplicaProvisionedWriteCapacityAutoScalingSettings": if err := awsAwsjson10_deserializeDocumentAutoScalingSettingsDescription(&sv.ReplicaProvisionedWriteCapacityAutoScalingSettings, value); err != nil { return err } + case "ReplicaProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -14402,6 +14654,7 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaProvisionedWriteCapacityUnits = ptr.Int64(i64) } + case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -14410,10 +14663,12 @@ func awsAwsjson10_deserializeDocumentReplicaSettingsDescription(v **types.Replic } sv.ReplicaStatus = types.ReplicaStatus(jtv) } + case "ReplicaTableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.ReplicaTableClassSummary, value); err != nil { return err } + default: _, _ = key, value @@ -14487,6 +14742,7 @@ func awsAwsjson10_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14526,6 +14782,7 @@ func awsAwsjson10_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14565,6 +14822,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14611,6 +14869,7 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } } + case "RestoreInProgress": if value != nil { jtv, ok := value.(bool) @@ -14619,6 +14878,7 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.RestoreInProgress = ptr.Bool(jtv) } + case "SourceBackupArn": if value != nil { jtv, ok := value.(string) @@ -14627,6 +14887,7 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.SourceBackupArn = ptr.String(jtv) } + case "SourceTableArn": if value != nil { jtv, ok := value.(string) @@ -14635,6 +14896,7 @@ func awsAwsjson10_deserializeDocumentRestoreSummary(v **types.RestoreSummary, va } sv.SourceTableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14674,6 +14936,7 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Bucket = ptr.String(jtv) } + case "S3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -14682,6 +14945,7 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3BucketOwner = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -14690,6 +14954,7 @@ func awsAwsjson10_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -14764,6 +15029,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.BillingMode = types.BillingMode(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -14776,18 +15042,22 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.ItemCount = ptr.Int64(i64) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -14796,6 +15066,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableArn = ptr.String(jtv) } + case "TableCreationDateTime": if value != nil { switch jtv := value.(type) { @@ -14811,6 +15082,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -14819,6 +15091,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -14827,6 +15100,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableName = ptr.String(jtv) } + case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14839,6 +15113,7 @@ func awsAwsjson10_deserializeDocumentSourceTableDetails(v **types.SourceTableDet } sv.TableSizeBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -14874,22 +15149,27 @@ func awsAwsjson10_deserializeDocumentSourceTableFeatureDetails(v **types.SourceT if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexes(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentLocalSecondaryIndexes(&sv.LocalSecondaryIndexes, value); err != nil { return err } + case "SSEDescription": if err := awsAwsjson10_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } + case "StreamDescription": if err := awsAwsjson10_deserializeDocumentStreamSpecification(&sv.StreamDescription, value); err != nil { return err } + case "TimeToLiveDescription": if err := awsAwsjson10_deserializeDocumentTimeToLiveDescription(&sv.TimeToLiveDescription, value); err != nil { return err } + default: _, _ = key, value @@ -14936,6 +15216,7 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } } + case "KMSMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -14944,6 +15225,7 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.KMSMasterKeyArn = ptr.String(jtv) } + case "SSEType": if value != nil { jtv, ok := value.(string) @@ -14952,6 +15234,7 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.SSEType = types.SSEType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14960,6 +15243,7 @@ func awsAwsjson10_deserializeDocumentSSEDescription(v **types.SSEDescription, va } sv.Status = types.SSEStatus(jtv) } + default: _, _ = key, value @@ -14999,6 +15283,7 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.Enabled = ptr.Bool(jtv) } + case "KMSMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -15007,6 +15292,7 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.KMSMasterKeyId = ptr.String(jtv) } + case "SSEType": if value != nil { jtv, ok := value.(string) @@ -15015,6 +15301,7 @@ func awsAwsjson10_deserializeDocumentSSESpecification(v **types.SSESpecification } sv.SSEType = types.SSEType(jtv) } + default: _, _ = key, value @@ -15054,6 +15341,7 @@ func awsAwsjson10_deserializeDocumentStreamSpecification(v **types.StreamSpecifi } sv.StreamEnabled = ptr.Bool(jtv) } + case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -15062,6 +15350,7 @@ func awsAwsjson10_deserializeDocumentStreamSpecification(v **types.StreamSpecifi } sv.StreamViewType = types.StreamViewType(jtv) } + default: _, _ = key, value @@ -15137,6 +15426,7 @@ func awsAwsjson10_deserializeDocumentTableAlreadyExistsException(v **types.Table } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15172,6 +15462,7 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table if err := awsAwsjson10_deserializeDocumentReplicaAutoScalingDescriptionList(&sv.Replicas, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -15180,6 +15471,7 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table } sv.TableName = ptr.String(jtv) } + case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -15188,6 +15480,7 @@ func awsAwsjson10_deserializeDocumentTableAutoScalingDescription(v **types.Table } sv.TableStatus = types.TableStatus(jtv) } + default: _, _ = key, value @@ -15234,6 +15527,7 @@ func awsAwsjson10_deserializeDocumentTableClassSummary(v **types.TableClassSumma } } + case "TableClass": if value != nil { jtv, ok := value.(string) @@ -15242,6 +15536,7 @@ func awsAwsjson10_deserializeDocumentTableClassSummary(v **types.TableClassSumma } sv.TableClass = types.TableClass(jtv) } + default: _, _ = key, value @@ -15277,6 +15572,7 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea if err := awsAwsjson10_deserializeDocumentAttributeDefinitions(&sv.AttributeDefinitions, value); err != nil { return err } + case "BillingMode": if value != nil { jtv, ok := value.(string) @@ -15285,26 +15581,32 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea } sv.BillingMode = types.BillingMode(jtv) } + case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + case "SSESpecification": if err := awsAwsjson10_deserializeDocumentSSESpecification(&sv.SSESpecification, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -15313,6 +15615,7 @@ func awsAwsjson10_deserializeDocumentTableCreationParameters(v **types.TableCrea } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -15348,14 +15651,17 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription if err := awsAwsjson10_deserializeDocumentArchivalSummary(&sv.ArchivalSummary, value); err != nil { return err } + case "AttributeDefinitions": if err := awsAwsjson10_deserializeDocumentAttributeDefinitions(&sv.AttributeDefinitions, value); err != nil { return err } + case "BillingModeSummary": if err := awsAwsjson10_deserializeDocumentBillingModeSummary(&sv.BillingModeSummary, value); err != nil { return err } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -15371,6 +15677,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15379,10 +15686,12 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.DeletionProtectionEnabled = ptr.Bool(jtv) } + case "GlobalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentGlobalSecondaryIndexDescriptionList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "GlobalTableVersion": if value != nil { jtv, ok := value.(string) @@ -15391,6 +15700,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.GlobalTableVersion = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -15403,10 +15713,12 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.ItemCount = ptr.Int64(i64) } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "LatestStreamArn": if value != nil { jtv, ok := value.(string) @@ -15415,6 +15727,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.LatestStreamArn = ptr.String(jtv) } + case "LatestStreamLabel": if value != nil { jtv, ok := value.(string) @@ -15423,34 +15736,42 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.LatestStreamLabel = ptr.String(jtv) } + case "LocalSecondaryIndexes": if err := awsAwsjson10_deserializeDocumentLocalSecondaryIndexDescriptionList(&sv.LocalSecondaryIndexes, value); err != nil { return err } + case "OnDemandThroughput": if err := awsAwsjson10_deserializeDocumentOnDemandThroughput(&sv.OnDemandThroughput, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsAwsjson10_deserializeDocumentProvisionedThroughputDescription(&sv.ProvisionedThroughput, value); err != nil { return err } + case "Replicas": if err := awsAwsjson10_deserializeDocumentReplicaDescriptionList(&sv.Replicas, value); err != nil { return err } + case "RestoreSummary": if err := awsAwsjson10_deserializeDocumentRestoreSummary(&sv.RestoreSummary, value); err != nil { return err } + case "SSEDescription": if err := awsAwsjson10_deserializeDocumentSSEDescription(&sv.SSEDescription, value); err != nil { return err } + case "StreamSpecification": if err := awsAwsjson10_deserializeDocumentStreamSpecification(&sv.StreamSpecification, value); err != nil { return err } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -15459,10 +15780,12 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableArn = ptr.String(jtv) } + case "TableClassSummary": if err := awsAwsjson10_deserializeDocumentTableClassSummary(&sv.TableClassSummary, value); err != nil { return err } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -15471,6 +15794,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -15479,6 +15803,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableName = ptr.String(jtv) } + case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15491,6 +15816,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableSizeBytes = ptr.Int64(i64) } + case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -15499,6 +15825,7 @@ func awsAwsjson10_deserializeDocumentTableDescription(v **types.TableDescription } sv.TableStatus = types.TableStatus(jtv) } + default: _, _ = key, value @@ -15538,6 +15865,7 @@ func awsAwsjson10_deserializeDocumentTableInUseException(v **types.TableInUseExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15613,6 +15941,7 @@ func awsAwsjson10_deserializeDocumentTableNotFoundException(v **types.TableNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15652,6 +15981,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15660,6 +15990,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15733,6 +16064,7 @@ func awsAwsjson10_deserializeDocumentTimeToLiveDescription(v **types.TimeToLiveD } sv.AttributeName = ptr.String(jtv) } + case "TimeToLiveStatus": if value != nil { jtv, ok := value.(string) @@ -15741,6 +16073,7 @@ func awsAwsjson10_deserializeDocumentTimeToLiveDescription(v **types.TimeToLiveD } sv.TimeToLiveStatus = types.TimeToLiveStatus(jtv) } + default: _, _ = key, value @@ -15780,6 +16113,7 @@ func awsAwsjson10_deserializeDocumentTimeToLiveSpecification(v **types.TimeToLiv } sv.AttributeName = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -15788,6 +16122,7 @@ func awsAwsjson10_deserializeDocumentTimeToLiveSpecification(v **types.TimeToLiv } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15823,6 +16158,7 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran if err := awsAwsjson10_deserializeDocumentCancellationReasonList(&sv.CancellationReasons, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15831,6 +16167,7 @@ func awsAwsjson10_deserializeDocumentTransactionCanceledException(v **types.Tran } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15870,6 +16207,7 @@ func awsAwsjson10_deserializeDocumentTransactionConflictException(v **types.Tran } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15909,6 +16247,7 @@ func awsAwsjson10_deserializeDocumentTransactionInProgressException(v **types.Tr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15948,6 +16287,7 @@ func awsAwsjson10_deserializeDocumentUpdateKinesisStreamingConfiguration(v **typ } sv.ApproximateCreationDateTimePrecision = types.ApproximateCreationDateTimePrecision(jtv) } + default: _, _ = key, value @@ -15983,10 +16323,12 @@ func awsAwsjson10_deserializeDocumentWriteRequest(v **types.WriteRequest, value if err := awsAwsjson10_deserializeDocumentDeleteRequest(&sv.DeleteRequest, value); err != nil { return err } + case "PutRequest": if err := awsAwsjson10_deserializeDocumentPutRequest(&sv.PutRequest, value); err != nil { return err } + default: _, _ = key, value @@ -16056,10 +16398,12 @@ func awsAwsjson10_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "Responses": if err := awsAwsjson10_deserializeDocumentPartiQLBatchResponse(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -16095,14 +16439,17 @@ func awsAwsjson10_deserializeOpDocumentBatchGetItemOutput(v **BatchGetItemOutput if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "Responses": if err := awsAwsjson10_deserializeDocumentBatchGetResponseMap(&sv.Responses, value); err != nil { return err } + case "UnprocessedKeys": if err := awsAwsjson10_deserializeDocumentBatchGetRequestMap(&sv.UnprocessedKeys, value); err != nil { return err } + default: _, _ = key, value @@ -16138,14 +16485,17 @@ func awsAwsjson10_deserializeOpDocumentBatchWriteItemOutput(v **BatchWriteItemOu if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetricsPerTable(&sv.ItemCollectionMetrics, value); err != nil { return err } + case "UnprocessedItems": if err := awsAwsjson10_deserializeDocumentBatchWriteItemRequestMap(&sv.UnprocessedItems, value); err != nil { return err } + default: _, _ = key, value @@ -16181,6 +16531,7 @@ func awsAwsjson10_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson10_deserializeDocumentBackupDetails(&sv.BackupDetails, value); err != nil { return err } + default: _, _ = key, value @@ -16216,6 +16567,7 @@ func awsAwsjson10_deserializeOpDocumentCreateGlobalTableOutput(v **CreateGlobalT if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16251,6 +16603,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16286,6 +16639,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput if err := awsAwsjson10_deserializeDocumentBackupDescription(&sv.BackupDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16321,14 +16675,17 @@ func awsAwsjson10_deserializeOpDocumentDeleteItemOutput(v **DeleteItemOutput, va if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } + case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -16368,6 +16725,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -16403,6 +16761,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTableOutput(v **DeleteTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16438,6 +16797,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeBackupOutput(v **DescribeBackupOu if err := awsAwsjson10_deserializeDocumentBackupDescription(&sv.BackupDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16473,6 +16833,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeContinuousBackupsOutput(v **Descr if err := awsAwsjson10_deserializeDocumentContinuousBackupsDescription(&sv.ContinuousBackupsDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16508,6 +16869,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des if err := awsAwsjson10_deserializeDocumentContributorInsightsRuleList(&sv.ContributorInsightsRuleList, value); err != nil { return err } + case "ContributorInsightsStatus": if value != nil { jtv, ok := value.(string) @@ -16516,10 +16878,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } + case "FailureException": if err := awsAwsjson10_deserializeDocumentFailureException(&sv.FailureException, value); err != nil { return err } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -16528,6 +16892,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.IndexName = ptr.String(jtv) } + case "LastUpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -16543,6 +16908,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -16551,6 +16917,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeContributorInsightsOutput(v **Des } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -16586,6 +16953,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -16621,6 +16989,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu if err := awsAwsjson10_deserializeDocumentExportDescription(&sv.ExportDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16656,6 +17025,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeGlobalTableOutput(v **DescribeGlo if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16695,10 +17065,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeGlobalTableSettingsOutput(v **Des } sv.GlobalTableName = ptr.String(jtv) } + case "ReplicaSettings": if err := awsAwsjson10_deserializeDocumentReplicaSettingsDescriptionList(&sv.ReplicaSettings, value); err != nil { return err } + default: _, _ = key, value @@ -16734,6 +17106,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu if err := awsAwsjson10_deserializeDocumentImportTableDescription(&sv.ImportTableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16769,6 +17142,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKinesisStreamingDestinationOutput if err := awsAwsjson10_deserializeDocumentKinesisDataStreamDestinations(&sv.KinesisDataStreamDestinations, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -16777,6 +17151,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKinesisStreamingDestinationOutput } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -16820,6 +17195,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.AccountMaxReadCapacityUnits = ptr.Int64(i64) } + case "AccountMaxWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -16832,6 +17208,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.AccountMaxWriteCapacityUnits = ptr.Int64(i64) } + case "TableMaxReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -16844,6 +17221,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.TableMaxReadCapacityUnits = ptr.Int64(i64) } + case "TableMaxWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -16856,6 +17234,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.TableMaxWriteCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -16891,6 +17270,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -16926,6 +17306,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableReplicaAutoScalingOutput(v * if err := awsAwsjson10_deserializeDocumentTableAutoScalingDescription(&sv.TableAutoScalingDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16961,6 +17342,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeTimeToLiveOutput(v **DescribeTime if err := awsAwsjson10_deserializeDocumentTimeToLiveDescription(&sv.TimeToLiveDescription, value); err != nil { return err } + default: _, _ = key, value @@ -17000,10 +17382,12 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.DestinationStatus = types.DestinationStatus(jtv) } + case "EnableKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(&sv.EnableKinesisStreamingConfiguration, value); err != nil { return err } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -17012,6 +17396,7 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.StreamArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -17020,6 +17405,7 @@ func awsAwsjson10_deserializeOpDocumentDisableKinesisStreamingDestinationOutput( } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -17059,10 +17445,12 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.DestinationStatus = types.DestinationStatus(jtv) } + case "EnableKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentEnableKinesisStreamingConfiguration(&sv.EnableKinesisStreamingConfiguration, value); err != nil { return err } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -17071,6 +17459,7 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.StreamArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -17079,6 +17468,7 @@ func awsAwsjson10_deserializeOpDocumentEnableKinesisStreamingDestinationOutput(v } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -17114,14 +17504,17 @@ func awsAwsjson10_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } + case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17130,6 +17523,7 @@ func awsAwsjson10_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17165,10 +17559,12 @@ func awsAwsjson10_deserializeOpDocumentExecuteTransactionOutput(v **ExecuteTrans if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "Responses": if err := awsAwsjson10_deserializeDocumentItemResponseList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -17204,6 +17600,7 @@ func awsAwsjson10_deserializeOpDocumentExportTableToPointInTimeOutput(v **Export if err := awsAwsjson10_deserializeDocumentExportDescription(&sv.ExportDescription, value); err != nil { return err } + default: _, _ = key, value @@ -17239,10 +17636,12 @@ func awsAwsjson10_deserializeOpDocumentGetItemOutput(v **GetItemOutput, value in if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "Item": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Item, value); err != nil { return err } + default: _, _ = key, value @@ -17282,6 +17681,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -17290,6 +17690,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17325,6 +17726,7 @@ func awsAwsjson10_deserializeOpDocumentImportTableOutput(v **ImportTableOutput, if err := awsAwsjson10_deserializeDocumentImportTableDescription(&sv.ImportTableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -17360,6 +17762,7 @@ func awsAwsjson10_deserializeOpDocumentListBackupsOutput(v **ListBackupsOutput, if err := awsAwsjson10_deserializeDocumentBackupSummaries(&sv.BackupSummaries, value); err != nil { return err } + case "LastEvaluatedBackupArn": if value != nil { jtv, ok := value.(string) @@ -17368,6 +17771,7 @@ func awsAwsjson10_deserializeOpDocumentListBackupsOutput(v **ListBackupsOutput, } sv.LastEvaluatedBackupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17403,6 +17807,7 @@ func awsAwsjson10_deserializeOpDocumentListContributorInsightsOutput(v **ListCon if err := awsAwsjson10_deserializeDocumentContributorInsightsSummaries(&sv.ContributorInsightsSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17411,6 +17816,7 @@ func awsAwsjson10_deserializeOpDocumentListContributorInsightsOutput(v **ListCon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17446,6 +17852,7 @@ func awsAwsjson10_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsAwsjson10_deserializeDocumentExportSummaries(&sv.ExportSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17454,6 +17861,7 @@ func awsAwsjson10_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17489,6 +17897,7 @@ func awsAwsjson10_deserializeOpDocumentListGlobalTablesOutput(v **ListGlobalTabl if err := awsAwsjson10_deserializeDocumentGlobalTableList(&sv.GlobalTables, value); err != nil { return err } + case "LastEvaluatedGlobalTableName": if value != nil { jtv, ok := value.(string) @@ -17497,6 +17906,7 @@ func awsAwsjson10_deserializeOpDocumentListGlobalTablesOutput(v **ListGlobalTabl } sv.LastEvaluatedGlobalTableName = ptr.String(jtv) } + default: _, _ = key, value @@ -17532,6 +17942,7 @@ func awsAwsjson10_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsAwsjson10_deserializeDocumentImportSummaryList(&sv.ImportSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17540,6 +17951,7 @@ func awsAwsjson10_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17579,10 +17991,12 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.LastEvaluatedTableName = ptr.String(jtv) } + case "TableNames": if err := awsAwsjson10_deserializeDocumentTableNameList(&sv.TableNames, value); err != nil { return err } + default: _, _ = key, value @@ -17622,10 +18036,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsOfResourceOutput(v **ListTagsOfRe } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17661,14 +18077,17 @@ func awsAwsjson10_deserializeOpDocumentPutItemOutput(v **PutItemOutput, value in if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } + case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -17708,6 +18127,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17743,6 +18163,7 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -17755,14 +18176,17 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.Count = int32(i64) } + case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } + case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } + case "ScannedCount": if value != nil { jtv, ok := value.(json.Number) @@ -17775,6 +18199,7 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.ScannedCount = int32(i64) } + default: _, _ = key, value @@ -17810,6 +18235,7 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableFromBackupOutput(v **RestoreT if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -17845,6 +18271,7 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableToPointInTimeOutput(v **Resto if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -17880,6 +18307,7 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -17892,14 +18320,17 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac } sv.Count = int32(i64) } + case "Items": if err := awsAwsjson10_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } + case "LastEvaluatedKey": if err := awsAwsjson10_deserializeDocumentKey(&sv.LastEvaluatedKey, value); err != nil { return err } + case "ScannedCount": if value != nil { jtv, ok := value.(json.Number) @@ -17912,6 +18343,7 @@ func awsAwsjson10_deserializeOpDocumentScanOutput(v **ScanOutput, value interfac } sv.ScannedCount = int32(i64) } + default: _, _ = key, value @@ -17947,10 +18379,12 @@ func awsAwsjson10_deserializeOpDocumentTransactGetItemsOutput(v **TransactGetIte if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "Responses": if err := awsAwsjson10_deserializeDocumentItemResponseList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -17986,10 +18420,12 @@ func awsAwsjson10_deserializeOpDocumentTransactWriteItemsOutput(v **TransactWrit if err := awsAwsjson10_deserializeDocumentConsumedCapacityMultiple(&sv.ConsumedCapacity, value); err != nil { return err } + case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetricsPerTable(&sv.ItemCollectionMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -18025,6 +18461,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateContinuousBackupsOutput(v **UpdateC if err := awsAwsjson10_deserializeDocumentContinuousBackupsDescription(&sv.ContinuousBackupsDescription, value); err != nil { return err } + default: _, _ = key, value @@ -18064,6 +18501,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.ContributorInsightsStatus = types.ContributorInsightsStatus(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -18072,6 +18510,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.IndexName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -18080,6 +18519,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateContributorInsightsOutput(v **Updat } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -18115,6 +18555,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateGlobalTableOutput(v **UpdateGlobalT if err := awsAwsjson10_deserializeDocumentGlobalTableDescription(&sv.GlobalTableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -18154,10 +18595,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateGlobalTableSettingsOutput(v **Updat } sv.GlobalTableName = ptr.String(jtv) } + case "ReplicaSettings": if err := awsAwsjson10_deserializeDocumentReplicaSettingsDescriptionList(&sv.ReplicaSettings, value); err != nil { return err } + default: _, _ = key, value @@ -18193,14 +18636,17 @@ func awsAwsjson10_deserializeOpDocumentUpdateItemOutput(v **UpdateItemOutput, va if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } + case "ConsumedCapacity": if err := awsAwsjson10_deserializeDocumentConsumedCapacity(&sv.ConsumedCapacity, value); err != nil { return err } + case "ItemCollectionMetrics": if err := awsAwsjson10_deserializeDocumentItemCollectionMetrics(&sv.ItemCollectionMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -18240,6 +18686,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.DestinationStatus = types.DestinationStatus(jtv) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -18248,6 +18695,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.StreamArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -18256,10 +18704,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateKinesisStreamingDestinationOutput(v } sv.TableName = ptr.String(jtv) } + case "UpdateKinesisStreamingConfiguration": if err := awsAwsjson10_deserializeDocumentUpdateKinesisStreamingConfiguration(&sv.UpdateKinesisStreamingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -18295,6 +18745,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, if err := awsAwsjson10_deserializeDocumentTableDescription(&sv.TableDescription, value); err != nil { return err } + default: _, _ = key, value @@ -18330,6 +18781,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableReplicaAutoScalingOutput(v **U if err := awsAwsjson10_deserializeDocumentTableAutoScalingDescription(&sv.TableAutoScalingDescription, value); err != nil { return err } + default: _, _ = key, value @@ -18365,6 +18817,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTimeToLiveOutput(v **UpdateTimeToLi if err := awsAwsjson10_deserializeDocumentTimeToLiveSpecification(&sv.TimeToLiveSpecification, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/dynamodbstreams/deserializers.go b/service/dynamodbstreams/deserializers.go index a02a9913c50..d9774058096 100644 --- a/service/dynamodbstreams/deserializers.go +++ b/service/dynamodbstreams/deserializers.go @@ -911,6 +911,7 @@ func awsAwsjson10_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -950,6 +951,7 @@ func awsAwsjson10_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.PrincipalId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -958,6 +960,7 @@ func awsAwsjson10_deserializeDocumentIdentity(v **types.Identity, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -997,6 +1000,7 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1070,6 +1074,7 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.AttributeName = ptr.String(jtv) } + case "KeyType": if value != nil { jtv, ok := value.(string) @@ -1078,6 +1083,7 @@ func awsAwsjson10_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.KeyType = types.KeyType(jtv) } + default: _, _ = key, value @@ -1117,6 +1123,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1258,10 +1265,12 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.AwsRegion = ptr.String(jtv) } + case "dynamodb": if err := awsAwsjson10_deserializeDocumentStreamRecord(&sv.Dynamodb, value); err != nil { return err } + case "eventID": if value != nil { jtv, ok := value.(string) @@ -1270,6 +1279,7 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventID = ptr.String(jtv) } + case "eventName": if value != nil { jtv, ok := value.(string) @@ -1278,6 +1288,7 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventName = types.OperationType(jtv) } + case "eventSource": if value != nil { jtv, ok := value.(string) @@ -1286,6 +1297,7 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventSource = ptr.String(jtv) } + case "eventVersion": if value != nil { jtv, ok := value.(string) @@ -1294,10 +1306,12 @@ func awsAwsjson10_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EventVersion = ptr.String(jtv) } + case "userIdentity": if err := awsAwsjson10_deserializeDocumentIdentity(&sv.UserIdentity, value); err != nil { return err } + default: _, _ = key, value @@ -1371,6 +1385,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1410,6 +1425,7 @@ func awsAwsjson10_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.EndingSequenceNumber = ptr.String(jtv) } + case "StartingSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -1418,6 +1434,7 @@ func awsAwsjson10_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.StartingSequenceNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -1457,10 +1474,12 @@ func awsAwsjson10_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ParentShardId = ptr.String(jtv) } + case "SequenceNumberRange": if err := awsAwsjson10_deserializeDocumentSequenceNumberRange(&sv.SequenceNumberRange, value); err != nil { return err } + case "ShardId": if value != nil { jtv, ok := value.(string) @@ -1469,6 +1488,7 @@ func awsAwsjson10_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } + default: _, _ = key, value @@ -1542,6 +1562,7 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamArn = ptr.String(jtv) } + case "StreamLabel": if value != nil { jtv, ok := value.(string) @@ -1550,6 +1571,7 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamLabel = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -1558,6 +1580,7 @@ func awsAwsjson10_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -1604,10 +1627,12 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } } + case "KeySchema": if err := awsAwsjson10_deserializeDocumentKeySchema(&sv.KeySchema, value); err != nil { return err } + case "LastEvaluatedShardId": if value != nil { jtv, ok := value.(string) @@ -1616,10 +1641,12 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.LastEvaluatedShardId = ptr.String(jtv) } + case "Shards": if err := awsAwsjson10_deserializeDocumentShardDescriptionList(&sv.Shards, value); err != nil { return err } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -1628,6 +1655,7 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamArn = ptr.String(jtv) } + case "StreamLabel": if value != nil { jtv, ok := value.(string) @@ -1636,6 +1664,7 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamLabel = ptr.String(jtv) } + case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -1644,6 +1673,7 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamStatus = types.StreamStatus(jtv) } + case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -1652,6 +1682,7 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamViewType = types.StreamViewType(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -1660,6 +1691,7 @@ func awsAwsjson10_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -1740,18 +1772,22 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } } + case "Keys": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.Keys, value); err != nil { return err } + case "NewImage": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.NewImage, value); err != nil { return err } + case "OldImage": if err := awsAwsjson10_deserializeDocumentAttributeMap(&sv.OldImage, value); err != nil { return err } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -1760,6 +1796,7 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.SequenceNumber = ptr.String(jtv) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1772,6 +1809,7 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.SizeBytes = ptr.Int64(i64) } + case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -1780,6 +1818,7 @@ func awsAwsjson10_deserializeDocumentStreamRecord(v **types.StreamRecord, value } sv.StreamViewType = types.StreamViewType(jtv) } + default: _, _ = key, value @@ -1855,6 +1894,7 @@ func awsAwsjson10_deserializeDocumentTrimmedDataAccessException(v **types.Trimme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1890,6 +1930,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsAwsjson10_deserializeDocumentStreamDescription(&sv.StreamDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1929,10 +1970,12 @@ func awsAwsjson10_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.NextShardIterator = ptr.String(jtv) } + case "Records": if err := awsAwsjson10_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -1972,6 +2015,7 @@ func awsAwsjson10_deserializeOpDocumentGetShardIteratorOutput(v **GetShardIterat } sv.ShardIterator = ptr.String(jtv) } + default: _, _ = key, value @@ -2011,10 +2055,12 @@ func awsAwsjson10_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.LastEvaluatedStreamArn = ptr.String(jtv) } + case "Streams": if err := awsAwsjson10_deserializeDocumentStreamList(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/ebs/deserializers.go b/service/ebs/deserializers.go index 34ed27c3524..6f4e769d2d9 100644 --- a/service/ebs/deserializers.go +++ b/service/ebs/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCompleteSnapshotOutput(v **CompleteSnapsh } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -513,10 +514,12 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.BlockSize = ptr.Int32(int32(i64)) } + case "ChangedBlocks": if err := awsRestjson1_deserializeDocumentChangedBlocks(&sv.ChangedBlocks, value); err != nil { return err } + case "ExpiryTime": if value != nil { switch jtv := value.(type) { @@ -532,6 +535,7 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -540,6 +544,7 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.NextToken = ptr.String(jtv) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -552,6 +557,7 @@ func awsRestjson1_deserializeOpDocumentListChangedBlocksOutput(v **ListChangedBl } sv.VolumeSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -718,6 +724,7 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot if err := awsRestjson1_deserializeDocumentBlocks(&sv.Blocks, value); err != nil { return err } + case "BlockSize": if value != nil { jtv, ok := value.(json.Number) @@ -730,6 +737,7 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.BlockSize = ptr.Int32(int32(i64)) } + case "ExpiryTime": if value != nil { switch jtv := value.(type) { @@ -745,6 +753,7 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -753,6 +762,7 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.NextToken = ptr.String(jtv) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -765,6 +775,7 @@ func awsRestjson1_deserializeOpDocumentListSnapshotBlocksOutput(v **ListSnapshot } sv.VolumeSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -1071,6 +1082,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.BlockSize = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1079,6 +1091,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.Description = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1087,6 +1100,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.KmsKeyArn = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -1095,6 +1109,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.OwnerId = ptr.String(jtv) } + case "ParentSnapshotId": if value != nil { jtv, ok := value.(string) @@ -1103,6 +1118,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.ParentSnapshotId = ptr.String(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -1111,6 +1127,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.SnapshotId = ptr.String(jtv) } + case "SseType": if value != nil { jtv, ok := value.(string) @@ -1119,6 +1136,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.SseType = types.SSEType(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1134,6 +1152,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1142,10 +1161,12 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.Status = types.Status(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -1158,6 +1179,7 @@ func awsRestjson1_deserializeOpDocumentStartSnapshotOutput(v **StartSnapshotOutp } sv.VolumeSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -1485,6 +1507,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -1493,6 +1516,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } + default: _, _ = key, value @@ -1536,6 +1560,7 @@ func awsRestjson1_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockIndex = ptr.Int32(int32(i64)) } + case "BlockToken": if value != nil { jtv, ok := value.(string) @@ -1544,6 +1569,7 @@ func awsRestjson1_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1621,6 +1647,7 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.BlockIndex = ptr.Int32(int32(i64)) } + case "FirstBlockToken": if value != nil { jtv, ok := value.(string) @@ -1629,6 +1656,7 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.FirstBlockToken = ptr.String(jtv) } + case "SecondBlockToken": if value != nil { jtv, ok := value.(string) @@ -1637,6 +1665,7 @@ func awsRestjson1_deserializeDocumentChangedBlock(v **types.ChangedBlock, value } sv.SecondBlockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1710,6 +1739,7 @@ func awsRestjson1_deserializeDocumentConcurrentLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1749,6 +1779,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1788,6 +1819,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1827,6 +1859,7 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -1835,6 +1868,7 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Reason = types.RequestThrottledExceptionReason(jtv) } + default: _, _ = key, value @@ -1874,6 +1908,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -1882,6 +1917,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = types.ResourceNotFoundExceptionReason(jtv) } + default: _, _ = key, value @@ -1921,6 +1957,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -1929,6 +1966,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } + default: _, _ = key, value @@ -1968,6 +2006,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1976,6 +2015,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2049,6 +2089,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2057,6 +2098,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value diff --git a/service/ec2instanceconnect/deserializers.go b/service/ec2instanceconnect/deserializers.go index ca54732e6ac..48cfdc78b60 100644 --- a/service/ec2instanceconnect/deserializers.go +++ b/service/ec2instanceconnect/deserializers.go @@ -752,6 +752,7 @@ func awsAwsjson11_deserializeDocumentAuthException(v **types.AuthException, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -791,6 +792,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceNotFoundException(v **types.EC2I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -830,6 +832,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceStateInvalidException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -869,6 +872,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceTypeInvalidException(v **types.E } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -908,6 +912,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceUnavailableException(v **types.E } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -947,6 +952,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgsException(v **types.InvalidArgsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -986,6 +992,7 @@ func awsAwsjson11_deserializeDocumentSerialConsoleAccessDisabledException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1025,6 +1032,7 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionLimitExceededException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1064,6 +1072,7 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnavailableException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1103,6 +1112,7 @@ func awsAwsjson11_deserializeDocumentSerialConsoleSessionUnsupportedException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1142,6 +1152,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1181,6 +1192,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1220,6 +1232,7 @@ func awsAwsjson11_deserializeOpDocumentSendSerialConsoleSSHPublicKeyOutput(v **S } sv.RequestId = ptr.String(jtv) } + case "Success": if value != nil { jtv, ok := value.(bool) @@ -1228,6 +1241,7 @@ func awsAwsjson11_deserializeOpDocumentSendSerialConsoleSSHPublicKeyOutput(v **S } sv.Success = jtv } + default: _, _ = key, value @@ -1267,6 +1281,7 @@ func awsAwsjson11_deserializeOpDocumentSendSSHPublicKeyOutput(v **SendSSHPublicK } sv.RequestId = ptr.String(jtv) } + case "Success": if value != nil { jtv, ok := value.(bool) @@ -1275,6 +1290,7 @@ func awsAwsjson11_deserializeOpDocumentSendSSHPublicKeyOutput(v **SendSSHPublicK } sv.Success = jtv } + default: _, _ = key, value diff --git a/service/ecr/deserializers.go b/service/ecr/deserializers.go index 915e8d59e69..ac5093fcdb2 100644 --- a/service/ecr/deserializers.go +++ b/service/ecr/deserializers.go @@ -7421,6 +7421,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7429,6 +7430,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7502,6 +7504,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.AuthorizationToken = ptr.String(jtv) } + case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -7517,6 +7520,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } } + case "proxyEndpoint": if value != nil { jtv, ok := value.(string) @@ -7525,6 +7529,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.ProxyEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -7598,6 +7603,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -7606,6 +7612,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Author = ptr.String(jtv) } + case "imageHash": if value != nil { jtv, ok := value.(string) @@ -7614,10 +7621,12 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageHash = ptr.String(jtv) } + case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagsList(&sv.ImageTags, value); err != nil { return err } + case "platform": if value != nil { jtv, ok := value.(string) @@ -7626,6 +7635,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Platform = ptr.String(jtv) } + case "pushedAt": if value != nil { switch jtv := value.(type) { @@ -7641,6 +7651,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } } + case "registry": if value != nil { jtv, ok := value.(string) @@ -7649,6 +7660,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Registry = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7657,6 +7669,7 @@ func awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -7721,6 +7734,7 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -7729,6 +7743,7 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -7737,6 +7752,7 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7745,6 +7761,7 @@ func awsAwsjson11_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7784,6 +7801,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -7792,6 +7810,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -7861,6 +7880,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsAwsjson11_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -7894,6 +7914,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } + case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -7902,6 +7923,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -7910,6 +7932,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7918,6 +7941,7 @@ func awsAwsjson11_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7991,6 +8015,7 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8030,6 +8055,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -8038,6 +8064,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8077,6 +8104,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreatio } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -8085,6 +8113,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreatio } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8124,6 +8153,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.AwsAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8132,6 +8162,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Description = ptr.String(jtv) } + case "exploitAvailable": if value != nil { jtv, ok := value.(string) @@ -8140,6 +8171,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.ExploitAvailable = ptr.String(jtv) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -8148,6 +8180,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.FindingArn = ptr.String(jtv) } + case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -8163,6 +8196,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } + case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -8171,6 +8205,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.FixAvailable = ptr.String(jtv) } + case "lastObservedAt": if value != nil { switch jtv := value.(type) { @@ -8186,18 +8221,22 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } + case "packageVulnerabilityDetails": if err := awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } + case "remediation": if err := awsAwsjson11_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } + case "resources": if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -8231,10 +8270,12 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } + case "scoreDetails": if err := awsAwsjson11_deserializeDocumentScoreDetails(&sv.ScoreDetails, value); err != nil { return err } + case "severity": if value != nil { jtv, ok := value.(string) @@ -8243,6 +8284,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Severity = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8251,6 +8293,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Status = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -8259,6 +8302,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8267,6 +8311,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8282,6 +8327,7 @@ func awsAwsjson11_deserializeDocumentEnhancedImageScanFinding(v **types.Enhanced } } + default: _, _ = key, value @@ -8391,6 +8437,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + case "imageManifest": if value != nil { jtv, ok := value.(string) @@ -8399,6 +8446,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifest = ptr.String(jtv) } + case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -8407,6 +8455,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifestMediaType = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -8415,6 +8464,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -8423,6 +8473,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -8462,6 +8513,7 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8501,6 +8553,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ArtifactMediaType = ptr.String(jtv) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -8509,6 +8562,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageDigest = ptr.String(jtv) } + case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -8517,6 +8571,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageManifestMediaType = ptr.String(jtv) } + case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -8532,14 +8587,17 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } + case "imageScanFindingsSummary": if err := awsAwsjson11_deserializeDocumentImageScanFindingsSummary(&sv.ImageScanFindingsSummary, value); err != nil { return err } + case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } + case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8552,10 +8610,12 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageSizeInBytes = ptr.Int64(i64) } + case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } + case "lastRecordedPullTime": if value != nil { switch jtv := value.(type) { @@ -8571,6 +8631,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -8579,6 +8640,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -8587,6 +8649,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -8660,6 +8723,7 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8699,6 +8763,7 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureCode = types.ImageFailureCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8707,10 +8772,12 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureReason = ptr.String(jtv) } + case "imageId": if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + default: _, _ = key, value @@ -8784,6 +8851,7 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageDigest = ptr.String(jtv) } + case "imageTag": if value != nil { jtv, ok := value.(string) @@ -8792,6 +8860,7 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageTag = ptr.String(jtv) } + default: _, _ = key, value @@ -8899,6 +8968,7 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8938,6 +9008,7 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.FailureCode = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -8946,6 +9017,7 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.Region = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -8954,6 +9026,7 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.RegistryId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8962,6 +9035,7 @@ func awsAwsjson11_deserializeDocumentImageReplicationStatus(v **types.ImageRepli } sv.Status = types.ReplicationStatus(jtv) } + default: _, _ = key, value @@ -9031,6 +9105,7 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -9039,6 +9114,7 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9047,6 +9123,7 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Name = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -9055,6 +9132,7 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Severity = types.FindingSeverity(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -9063,6 +9141,7 @@ func awsAwsjson11_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -9132,14 +9211,17 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin if err := awsAwsjson11_deserializeDocumentEnhancedImageScanFindingList(&sv.EnhancedFindings, value); err != nil { return err } + case "findings": if err := awsAwsjson11_deserializeDocumentImageScanFindingList(&sv.Findings, value); err != nil { return err } + case "findingSeverityCounts": if err := awsAwsjson11_deserializeDocumentFindingSeverityCounts(&sv.FindingSeverityCounts, value); err != nil { return err } + case "imageScanCompletedAt": if value != nil { switch jtv := value.(type) { @@ -9155,6 +9237,7 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin } } + case "vulnerabilitySourceUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9170,6 +9253,7 @@ func awsAwsjson11_deserializeDocumentImageScanFindings(v **types.ImageScanFindin } } + default: _, _ = key, value @@ -9205,6 +9289,7 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca if err := awsAwsjson11_deserializeDocumentFindingSeverityCounts(&sv.FindingSeverityCounts, value); err != nil { return err } + case "imageScanCompletedAt": if value != nil { switch jtv := value.(type) { @@ -9220,6 +9305,7 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca } } + case "vulnerabilitySourceUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9235,6 +9321,7 @@ func awsAwsjson11_deserializeDocumentImageScanFindingsSummary(v **types.ImageSca } } + default: _, _ = key, value @@ -9274,6 +9361,7 @@ func awsAwsjson11_deserializeDocumentImageScanningConfiguration(v **types.ImageS } sv.ScanOnPush = jtv } + default: _, _ = key, value @@ -9313,6 +9401,7 @@ func awsAwsjson11_deserializeDocumentImageScanStatus(v **types.ImageScanStatus, } sv.Description = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9321,6 +9410,7 @@ func awsAwsjson11_deserializeDocumentImageScanStatus(v **types.ImageScanStatus, } sv.Status = types.ScanStatus(jtv) } + default: _, _ = key, value @@ -9360,6 +9450,7 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9471,6 +9562,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9514,6 +9606,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.LastValidByteReceived = ptr.Int64(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9522,6 +9615,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -9530,6 +9624,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -9538,6 +9633,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -9546,6 +9642,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -9585,6 +9682,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9624,6 +9722,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9663,6 +9762,7 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.KmsError = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9671,6 +9771,7 @@ func awsAwsjson11_deserializeDocumentKmsException(v **types.KmsException, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9710,6 +9811,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerAvailability = types.LayerAvailability(jtv) } + case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -9718,6 +9820,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerDigest = ptr.String(jtv) } + case "layerSize": if value != nil { jtv, ok := value.(json.Number) @@ -9730,6 +9833,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerSize = ptr.Int64(i64) } + case "mediaType": if value != nil { jtv, ok := value.(string) @@ -9738,6 +9842,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.MediaType = ptr.String(jtv) } + default: _, _ = key, value @@ -9777,6 +9882,7 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9816,6 +9922,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureCode = types.LayerFailureCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9824,6 +9931,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureReason = ptr.String(jtv) } + case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -9832,6 +9940,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.LayerDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -9905,6 +10014,7 @@ func awsAwsjson11_deserializeDocumentLayerInaccessibleException(v **types.LayerI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9978,6 +10088,7 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10017,6 +10128,7 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10056,6 +10168,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10095,6 +10208,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewInProgressException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10134,6 +10248,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewNotFoundException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10169,6 +10284,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life if err := awsAwsjson11_deserializeDocumentLifecyclePolicyRuleAction(&sv.Action, value); err != nil { return err } + case "appliedRulePriority": if value != nil { jtv, ok := value.(json.Number) @@ -10181,6 +10297,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } sv.AppliedRulePriority = ptr.Int32(int32(i64)) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -10189,6 +10306,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } sv.ImageDigest = ptr.String(jtv) } + case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -10204,10 +10322,12 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResult(v **types.Life } } + case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } + default: _, _ = key, value @@ -10285,6 +10405,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewSummary(v **types.Lif } sv.ExpiringImageTotalCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10324,6 +10445,7 @@ func awsAwsjson11_deserializeDocumentLifecyclePolicyRuleAction(v **types.Lifecyc } sv.Type = types.ImageActionType(jtv) } + default: _, _ = key, value @@ -10363,6 +10485,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10398,14 +10521,17 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsAwsjson11_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } + case "referenceUrls": if err := awsAwsjson11_deserializeDocumentReferenceUrlsList(&sv.ReferenceUrls, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsAwsjson11_deserializeDocumentRelatedVulnerabilitiesList(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -10414,6 +10540,7 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } + case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -10422,6 +10549,7 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } + case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -10437,6 +10565,7 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -10445,6 +10574,7 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } + case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10460,6 +10590,7 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -10468,10 +10599,12 @@ func awsAwsjson11_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } + case "vulnerablePackages": if err := awsAwsjson11_deserializeDocumentVulnerablePackagesList(&sv.VulnerablePackages, value); err != nil { return err } + default: _, _ = key, value @@ -10518,6 +10651,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } } + case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -10526,6 +10660,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.CredentialArn = ptr.String(jtv) } + case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -10534,6 +10669,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.EcrRepositoryPrefix = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -10542,6 +10678,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.RegistryId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10557,6 +10694,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } } + case "upstreamRegistry": if value != nil { jtv, ok := value.(string) @@ -10565,6 +10703,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.UpstreamRegistry = types.UpstreamRegistry(jtv) } + case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -10573,6 +10712,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRule(v **types.PullThroughC } sv.UpstreamRegistryUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10612,6 +10752,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleAlreadyExistsException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10685,6 +10826,7 @@ func awsAwsjson11_deserializeDocumentPullThroughCacheRuleNotFoundException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10760,6 +10902,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -10768,6 +10911,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -10807,6 +10951,7 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10882,6 +11027,7 @@ func awsAwsjson11_deserializeDocumentRegistryPolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10917,6 +11063,7 @@ func awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(v **types.Reg if err := awsAwsjson11_deserializeDocumentRegistryScanningRuleList(&sv.Rules, value); err != nil { return err } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -10925,6 +11072,7 @@ func awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(v **types.Reg } sv.ScanType = types.ScanType(jtv) } + default: _, _ = key, value @@ -10960,6 +11108,7 @@ func awsAwsjson11_deserializeDocumentRegistryScanningRule(v **types.RegistryScan if err := awsAwsjson11_deserializeDocumentScanningRepositoryFilterList(&sv.RepositoryFilters, value); err != nil { return err } + case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -10968,6 +11117,7 @@ func awsAwsjson11_deserializeDocumentRegistryScanningRule(v **types.RegistryScan } sv.ScanFrequency = types.ScanFrequency(jtv) } + default: _, _ = key, value @@ -11073,6 +11223,7 @@ func awsAwsjson11_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsAwsjson11_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } + default: _, _ = key, value @@ -11108,6 +11259,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfiguration(v **types.Replicat if err := awsAwsjson11_deserializeDocumentReplicationRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -11147,6 +11299,7 @@ func awsAwsjson11_deserializeDocumentReplicationDestination(v **types.Replicatio } sv.Region = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -11155,6 +11308,7 @@ func awsAwsjson11_deserializeDocumentReplicationDestination(v **types.Replicatio } sv.RegistryId = ptr.String(jtv) } + default: _, _ = key, value @@ -11224,10 +11378,12 @@ func awsAwsjson11_deserializeDocumentReplicationRule(v **types.ReplicationRule, if err := awsAwsjson11_deserializeDocumentReplicationDestinationList(&sv.Destinations, value); err != nil { return err } + case "repositoryFilters": if err := awsAwsjson11_deserializeDocumentRepositoryFilterList(&sv.RepositoryFilters, value); err != nil { return err } + default: _, _ = key, value @@ -11308,14 +11464,17 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } } + case "encryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "imageScanningConfiguration": if err := awsAwsjson11_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } + case "imageTagMutability": if value != nil { jtv, ok := value.(string) @@ -11324,6 +11483,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.ImageTagMutability = types.ImageTagMutability(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -11332,6 +11492,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RegistryId = ptr.String(jtv) } + case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -11340,6 +11501,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryArn = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -11348,6 +11510,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryName = ptr.String(jtv) } + case "repositoryUri": if value != nil { jtv, ok := value.(string) @@ -11356,6 +11519,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryUri = ptr.String(jtv) } + default: _, _ = key, value @@ -11395,6 +11559,7 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11430,6 +11595,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi if err := awsAwsjson11_deserializeDocumentRCTAppliedForList(&sv.AppliedFor, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11445,6 +11611,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } } + case "customRoleArn": if value != nil { jtv, ok := value.(string) @@ -11453,6 +11620,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.CustomRoleArn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11461,10 +11629,12 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.Description = ptr.String(jtv) } + case "encryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfigurationForRepositoryCreationTemplate(&sv.EncryptionConfiguration, value); err != nil { return err } + case "imageTagMutability": if value != nil { jtv, ok := value.(string) @@ -11473,6 +11643,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.ImageTagMutability = types.ImageTagMutability(jtv) } + case "lifecyclePolicy": if value != nil { jtv, ok := value.(string) @@ -11481,6 +11652,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.LifecyclePolicy = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -11489,6 +11661,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.Prefix = ptr.String(jtv) } + case "repositoryPolicy": if value != nil { jtv, ok := value.(string) @@ -11497,10 +11670,12 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } sv.RepositoryPolicy = ptr.String(jtv) } + case "resourceTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ResourceTags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -11516,6 +11691,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(v **types.Reposi } } + default: _, _ = key, value @@ -11589,6 +11765,7 @@ func awsAwsjson11_deserializeDocumentRepositoryFilter(v **types.RepositoryFilter } sv.Filter = ptr.String(jtv) } + case "filterType": if value != nil { jtv, ok := value.(string) @@ -11597,6 +11774,7 @@ func awsAwsjson11_deserializeDocumentRepositoryFilter(v **types.RepositoryFilter } sv.FilterType = types.RepositoryFilterType(jtv) } + default: _, _ = key, value @@ -11704,6 +11882,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11743,6 +11922,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11782,6 +11962,7 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11817,6 +11998,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R if err := awsAwsjson11_deserializeDocumentScanningRepositoryFilterList(&sv.AppliedScanFilters, value); err != nil { return err } + case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -11825,6 +12007,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.RepositoryArn = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -11833,6 +12016,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.RepositoryName = ptr.String(jtv) } + case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -11841,6 +12025,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.ScanFrequency = types.ScanFrequency(jtv) } + case "scanOnPush": if value != nil { jtv, ok := value.(bool) @@ -11849,6 +12034,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfiguration(v **types.R } sv.ScanOnPush = jtv } + default: _, _ = key, value @@ -11888,6 +12074,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.FailureCode = types.ScanningConfigurationFailureCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11896,6 +12083,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.FailureReason = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -11904,6 +12092,7 @@ func awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailure(v ** } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -12007,6 +12196,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12015,10 +12205,12 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -12027,6 +12219,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12062,6 +12255,7 @@ func awsAwsjson11_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsAwsjson11_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } + default: _, _ = key, value @@ -12135,6 +12329,7 @@ func awsAwsjson11_deserializeDocumentScanningRepositoryFilter(v **types.Scanning } sv.Filter = ptr.String(jtv) } + case "filterType": if value != nil { jtv, ok := value.(string) @@ -12143,6 +12338,7 @@ func awsAwsjson11_deserializeDocumentScanningRepositoryFilter(v **types.Scanning } sv.FilterType = types.ScanningRepositoryFilterType(jtv) } + default: _, _ = key, value @@ -12216,6 +12412,7 @@ func awsAwsjson11_deserializeDocumentScanNotFoundException(v **types.ScanNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12251,6 +12448,7 @@ func awsAwsjson11_deserializeDocumentScoreDetails(v **types.ScoreDetails, value if err := awsAwsjson11_deserializeDocumentCvssScoreDetails(&sv.Cvss, value); err != nil { return err } + default: _, _ = key, value @@ -12290,6 +12488,7 @@ func awsAwsjson11_deserializeDocumentSecretNotFoundException(v **types.SecretNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12329,6 +12528,7 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12368,6 +12568,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12376,6 +12577,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12485,6 +12687,7 @@ func awsAwsjson11_deserializeDocumentTemplateAlreadyExistsException(v **types.Te } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12524,6 +12727,7 @@ func awsAwsjson11_deserializeDocumentTemplateNotFoundException(v **types.Templat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12563,6 +12767,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12602,6 +12807,7 @@ func awsAwsjson11_deserializeDocumentUnableToAccessSecretException(v **types.Una } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12641,6 +12847,7 @@ func awsAwsjson11_deserializeDocumentUnableToDecryptSecretValueException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12680,6 +12887,7 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamImageException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12719,6 +12927,7 @@ func awsAwsjson11_deserializeDocumentUnableToGetUpstreamLayerException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12758,6 +12967,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedImageTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12797,6 +13007,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedUpstreamRegistryException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12836,6 +13047,7 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12875,6 +13087,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12914,6 +13127,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } + case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -12926,6 +13140,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = ptr.Int32(int32(i64)) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -12934,6 +13149,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } + case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -12942,6 +13158,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12950,6 +13167,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } + case "packageManager": if value != nil { jtv, ok := value.(string) @@ -12958,6 +13176,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = ptr.String(jtv) } + case "release": if value != nil { jtv, ok := value.(string) @@ -12966,6 +13185,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } + case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -12974,6 +13194,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12982,6 +13203,7 @@ func awsAwsjson11_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13051,10 +13273,12 @@ func awsAwsjson11_deserializeOpDocumentBatchCheckLayerAvailabilityOutput(v **Bat if err := awsAwsjson11_deserializeDocumentLayerFailureList(&sv.Failures, value); err != nil { return err } + case "layers": if err := awsAwsjson11_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } + default: _, _ = key, value @@ -13090,10 +13314,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImageOutput(v **BatchDeleteIma if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } + case "imageIds": if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } + default: _, _ = key, value @@ -13129,10 +13355,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetImageOutput(v **BatchGetImageOutp if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } + case "images": if err := awsAwsjson11_deserializeDocumentImageList(&sv.Images, value); err != nil { return err } + default: _, _ = key, value @@ -13168,10 +13396,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetRepositoryScanningConfigurationOu if err := awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationFailureList(&sv.Failures, value); err != nil { return err } + case "scanningConfigurations": if err := awsAwsjson11_deserializeDocumentRepositoryScanningConfigurationList(&sv.ScanningConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -13211,6 +13441,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.LayerDigest = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13219,6 +13450,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13227,6 +13459,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -13235,6 +13468,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -13281,6 +13515,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } } + case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -13289,6 +13524,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.CredentialArn = ptr.String(jtv) } + case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -13297,6 +13533,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.EcrRepositoryPrefix = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13305,6 +13542,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.RegistryId = ptr.String(jtv) } + case "upstreamRegistry": if value != nil { jtv, ok := value.(string) @@ -13313,6 +13551,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.UpstreamRegistry = types.UpstreamRegistry(jtv) } + case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -13321,6 +13560,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePullThroughCacheRuleOutput(v **Crea } sv.UpstreamRegistryUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13360,10 +13600,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } + case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -13399,6 +13641,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -13445,6 +13688,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } } + case "lifecyclePolicyText": if value != nil { jtv, ok := value.(string) @@ -13453,6 +13697,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.LifecyclePolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13706,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13469,6 +13715,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -13515,6 +13762,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } } + case "credentialArn": if value != nil { jtv, ok := value.(string) @@ -13523,6 +13771,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.CredentialArn = ptr.String(jtv) } + case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -13531,6 +13780,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.EcrRepositoryPrefix = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13539,6 +13789,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.RegistryId = ptr.String(jtv) } + case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -13547,6 +13798,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePullThroughCacheRuleOutput(v **Dele } sv.UpstreamRegistryUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13586,6 +13838,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryPolicyOutput(v **DeleteRegi } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13594,6 +13847,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryPolicyOutput(v **DeleteRegi } sv.RegistryId = ptr.String(jtv) } + default: _, _ = key, value @@ -13633,10 +13887,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } + case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -13672,6 +13928,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -13711,6 +13968,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13719,6 +13977,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13727,6 +13986,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -13762,10 +14022,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageReplicationStatusOutput(v ** if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + case "replicationStatuses": if err := awsAwsjson11_deserializeDocumentImageReplicationStatusList(&sv.ReplicationStatuses, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13774,6 +14036,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageReplicationStatusOutput(v ** } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -13809,14 +14072,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + case "imageScanFindings": if err := awsAwsjson11_deserializeDocumentImageScanFindings(&sv.ImageScanFindings, value); err != nil { return err } + case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13825,6 +14091,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -13833,6 +14100,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -13841,6 +14109,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageScanFindingsOutput(v **Descr } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -13876,6 +14145,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageDetailList(&sv.ImageDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13884,6 +14154,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13923,10 +14194,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePullThroughCacheRulesOutput(v **D } sv.NextToken = ptr.String(jtv) } + case "pullThroughCacheRules": if err := awsAwsjson11_deserializeDocumentPullThroughCacheRuleList(&sv.PullThroughCacheRules, value); err != nil { return err } + default: _, _ = key, value @@ -13966,10 +14239,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryId = ptr.String(jtv) } + case "replicationConfiguration": if err := awsAwsjson11_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14009,10 +14284,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoriesOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -14052,6 +14329,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoryCreationTemplatesOutput } sv.NextToken = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14060,10 +14338,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoryCreationTemplatesOutput } sv.RegistryId = ptr.String(jtv) } + case "repositoryCreationTemplates": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplateList(&sv.RepositoryCreationTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -14103,6 +14383,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingOutput(v **GetAccountSet } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14111,6 +14392,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountSettingOutput(v **GetAccountSet } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14146,6 +14428,7 @@ func awsAwsjson11_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor if err := awsAwsjson11_deserializeDocumentAuthorizationDataList(&sv.AuthorizationData, value); err != nil { return err } + default: _, _ = key, value @@ -14185,6 +14468,7 @@ func awsAwsjson11_deserializeOpDocumentGetDownloadUrlForLayerOutput(v **GetDownl } sv.DownloadUrl = ptr.String(jtv) } + case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -14193,6 +14477,7 @@ func awsAwsjson11_deserializeOpDocumentGetDownloadUrlForLayerOutput(v **GetDownl } sv.LayerDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -14239,6 +14524,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } } + case "lifecyclePolicyText": if value != nil { jtv, ok := value.(string) @@ -14247,6 +14533,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.LifecyclePolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14255,6 +14542,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14263,6 +14551,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -14302,6 +14591,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.LifecyclePolicyText = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14310,10 +14600,12 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.NextToken = ptr.String(jtv) } + case "previewResults": if err := awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewResultList(&sv.PreviewResults, value); err != nil { return err } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14322,6 +14614,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14330,6 +14623,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.RepositoryName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14338,10 +14632,12 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyPreviewOutput(v **GetLi } sv.Status = types.LifecyclePolicyPreviewStatus(jtv) } + case "summary": if err := awsAwsjson11_deserializeDocumentLifecyclePolicyPreviewSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -14381,6 +14677,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryPolicyOutput(v **GetRegistryPo } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14389,6 +14686,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryPolicyOutput(v **GetRegistryPo } sv.RegistryId = ptr.String(jtv) } + default: _, _ = key, value @@ -14428,10 +14726,12 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryScanningConfigurationOutput(v } sv.RegistryId = ptr.String(jtv) } + case "scanningConfiguration": if err := awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(&sv.ScanningConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14471,6 +14771,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14479,6 +14780,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14487,6 +14789,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -14530,6 +14833,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.PartSize = ptr.Int64(i64) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -14538,6 +14842,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -14573,6 +14878,7 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14581,6 +14887,7 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14616,6 +14923,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14655,6 +14963,7 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14663,6 +14972,7 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14698,6 +15008,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageOutput(v **PutImageOutput, value if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } + default: _, _ = key, value @@ -14733,6 +15044,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P if err := awsAwsjson11_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14741,6 +15053,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14749,6 +15062,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageScanningConfigurationOutput(v **P } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -14788,6 +15102,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.ImageTagMutability = types.ImageTagMutability(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14796,6 +15111,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14804,6 +15120,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageTagMutabilityOutput(v **PutImageT } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -14843,6 +15160,7 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.LifecyclePolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14851,6 +15169,7 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14859,6 +15178,7 @@ func awsAwsjson11_deserializeOpDocumentPutLifecyclePolicyOutput(v **PutLifecycle } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -14898,6 +15218,7 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryPolicyOutput(v **PutRegistryPo } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -14906,6 +15227,7 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryPolicyOutput(v **PutRegistryPo } sv.RegistryId = ptr.String(jtv) } + default: _, _ = key, value @@ -14941,6 +15263,7 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryScanningConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentRegistryScanningConfiguration(&sv.RegistryScanningConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14976,6 +15299,7 @@ func awsAwsjson11_deserializeOpDocumentPutReplicationConfigurationOutput(v **Put if err := awsAwsjson11_deserializeDocumentReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -15015,6 +15339,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15023,6 +15348,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15031,6 +15357,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -15066,10 +15393,12 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + case "imageScanStatus": if err := awsAwsjson11_deserializeDocumentImageScanStatus(&sv.ImageScanStatus, value); err != nil { return err } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15078,6 +15407,7 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15086,6 +15416,7 @@ func awsAwsjson11_deserializeOpDocumentStartImageScanOutput(v **StartImageScanOu } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -15125,6 +15456,7 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.LifecyclePolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15133,6 +15465,7 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15141,6 +15474,7 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.RepositoryName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15149,6 +15483,7 @@ func awsAwsjson11_deserializeOpDocumentStartLifecyclePolicyPreviewOutput(v **Sta } sv.Status = types.LifecyclePolicyPreviewStatus(jtv) } + default: _, _ = key, value @@ -15250,6 +15585,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.CredentialArn = ptr.String(jtv) } + case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -15258,6 +15594,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.EcrRepositoryPrefix = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15266,6 +15603,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } sv.RegistryId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15281,6 +15619,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePullThroughCacheRuleOutput(v **Upda } } + default: _, _ = key, value @@ -15320,10 +15659,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateRepositoryCreationTemplateOutput(v } sv.RegistryId = ptr.String(jtv) } + case "repositoryCreationTemplate": if err := awsAwsjson11_deserializeDocumentRepositoryCreationTemplate(&sv.RepositoryCreationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -15367,6 +15708,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.LastByteReceived = ptr.Int64(i64) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15375,6 +15717,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15383,6 +15726,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -15391,6 +15735,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -15430,6 +15775,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.CredentialArn = ptr.String(jtv) } + case "ecrRepositoryPrefix": if value != nil { jtv, ok := value.(string) @@ -15438,6 +15784,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.EcrRepositoryPrefix = ptr.String(jtv) } + case "failure": if value != nil { jtv, ok := value.(string) @@ -15446,6 +15793,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.Failure = ptr.String(jtv) } + case "isValid": if value != nil { jtv, ok := value.(bool) @@ -15454,6 +15802,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.IsValid = jtv } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -15462,6 +15811,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.RegistryId = ptr.String(jtv) } + case "upstreamRegistryUrl": if value != nil { jtv, ok := value.(string) @@ -15470,6 +15820,7 @@ func awsAwsjson11_deserializeOpDocumentValidatePullThroughCacheRuleOutput(v **Va } sv.UpstreamRegistryUrl = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ecrpublic/deserializers.go b/service/ecrpublic/deserializers.go index 3f4035fa457..e8796324de4 100644 --- a/service/ecrpublic/deserializers.go +++ b/service/ecrpublic/deserializers.go @@ -3773,6 +3773,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } sv.AuthorizationToken = ptr.String(jtv) } + case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -3788,6 +3789,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationData(v **types.AuthorizationDa } } + default: _, _ = key, value @@ -3827,6 +3829,7 @@ func awsAwsjson11_deserializeDocumentEmptyUploadException(v **types.EmptyUploadE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3862,6 +3865,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + case "imageManifest": if value != nil { jtv, ok := value.(string) @@ -3870,6 +3874,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifest = ptr.String(jtv) } + case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -3878,6 +3883,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageManifestMediaType = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -3886,6 +3892,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -3894,6 +3901,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -3933,6 +3941,7 @@ func awsAwsjson11_deserializeDocumentImageAlreadyExistsException(v **types.Image } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3972,6 +3981,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ArtifactMediaType = ptr.String(jtv) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -3980,6 +3990,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageDigest = ptr.String(jtv) } + case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -3988,6 +3999,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageManifestMediaType = ptr.String(jtv) } + case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -4003,6 +4015,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } } + case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4015,10 +4028,12 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.ImageSizeInBytes = ptr.Int64(i64) } + case "imageTags": if err := awsAwsjson11_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -4027,6 +4042,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -4035,6 +4051,7 @@ func awsAwsjson11_deserializeDocumentImageDetail(v **types.ImageDetail, value in } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -4108,6 +4125,7 @@ func awsAwsjson11_deserializeDocumentImageDigestDoesNotMatchException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4147,6 +4165,7 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureCode = types.ImageFailureCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4155,10 +4174,12 @@ func awsAwsjson11_deserializeDocumentImageFailure(v **types.ImageFailure, value } sv.FailureReason = ptr.String(jtv) } + case "imageId": if err := awsAwsjson11_deserializeDocumentImageIdentifier(&sv.ImageId, value); err != nil { return err } + default: _, _ = key, value @@ -4232,6 +4253,7 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageDigest = ptr.String(jtv) } + case "imageTag": if value != nil { jtv, ok := value.(string) @@ -4240,6 +4262,7 @@ func awsAwsjson11_deserializeDocumentImageIdentifier(v **types.ImageIdentifier, } sv.ImageTag = ptr.String(jtv) } + default: _, _ = key, value @@ -4313,6 +4336,7 @@ func awsAwsjson11_deserializeDocumentImageNotFoundException(v **types.ImageNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4352,6 +4376,7 @@ func awsAwsjson11_deserializeDocumentImageTagAlreadyExistsException(v **types.Im } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4398,10 +4423,12 @@ func awsAwsjson11_deserializeDocumentImageTagDetail(v **types.ImageTagDetail, va } } + case "imageDetail": if err := awsAwsjson11_deserializeDocumentReferencedImageDetail(&sv.ImageDetail, value); err != nil { return err } + case "imageTag": if value != nil { jtv, ok := value.(string) @@ -4410,6 +4437,7 @@ func awsAwsjson11_deserializeDocumentImageTagDetail(v **types.ImageTagDetail, va } sv.ImageTag = ptr.String(jtv) } + default: _, _ = key, value @@ -4519,6 +4547,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerException(v **types.InvalidLaye } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4562,6 +4591,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.LastValidByteReceived = ptr.Int64(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4570,6 +4600,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -4578,6 +4609,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -4586,6 +4618,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -4594,6 +4627,7 @@ func awsAwsjson11_deserializeDocumentInvalidLayerPartException(v **types.Invalid } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -4633,6 +4667,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4672,6 +4707,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagParameterException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4711,6 +4747,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerAvailability = types.LayerAvailability(jtv) } + case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -4719,6 +4756,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerDigest = ptr.String(jtv) } + case "layerSize": if value != nil { jtv, ok := value.(json.Number) @@ -4731,6 +4769,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerSize = ptr.Int64(i64) } + case "mediaType": if value != nil { jtv, ok := value.(string) @@ -4739,6 +4778,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.MediaType = ptr.String(jtv) } + default: _, _ = key, value @@ -4778,6 +4818,7 @@ func awsAwsjson11_deserializeDocumentLayerAlreadyExistsException(v **types.Layer } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4817,6 +4858,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureCode = types.LayerFailureCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4825,6 +4867,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.FailureReason = ptr.String(jtv) } + case "layerDigest": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4876,7 @@ func awsAwsjson11_deserializeDocumentLayerFailure(v **types.LayerFailure, value } sv.LayerDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -4940,6 +4984,7 @@ func awsAwsjson11_deserializeDocumentLayerPartTooSmallException(v **types.LayerP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4979,6 +5024,7 @@ func awsAwsjson11_deserializeDocumentLayersNotFoundException(v **types.LayersNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5018,6 +5064,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5093,6 +5140,7 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ArtifactMediaType = ptr.String(jtv) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -5101,6 +5149,7 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageDigest = ptr.String(jtv) } + case "imageManifestMediaType": if value != nil { jtv, ok := value.(string) @@ -5109,6 +5158,7 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageManifestMediaType = ptr.String(jtv) } + case "imagePushedAt": if value != nil { switch jtv := value.(type) { @@ -5124,6 +5174,7 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } } + case "imageSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5136,6 +5187,7 @@ func awsAwsjson11_deserializeDocumentReferencedImageDetail(v **types.ReferencedI } sv.ImageSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -5175,6 +5227,7 @@ func awsAwsjson11_deserializeDocumentReferencedImagesNotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5210,6 +5263,7 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac if err := awsAwsjson11_deserializeDocumentRegistryAliasList(&sv.Aliases, value); err != nil { return err } + case "registryArn": if value != nil { jtv, ok := value.(string) @@ -5218,6 +5272,7 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryArn = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -5226,6 +5281,7 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryId = ptr.String(jtv) } + case "registryUri": if value != nil { jtv, ok := value.(string) @@ -5234,6 +5290,7 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.RegistryUri = ptr.String(jtv) } + case "verified": if value != nil { jtv, ok := value.(bool) @@ -5242,6 +5299,7 @@ func awsAwsjson11_deserializeDocumentRegistry(v **types.Registry, value interfac } sv.Verified = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5281,6 +5339,7 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.DefaultRegistryAlias = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -5289,6 +5348,7 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.Name = ptr.String(jtv) } + case "primaryRegistryAlias": if value != nil { jtv, ok := value.(bool) @@ -5297,6 +5357,7 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.PrimaryRegistryAlias = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -5305,6 +5366,7 @@ func awsAwsjson11_deserializeDocumentRegistryAlias(v **types.RegistryAlias, valu } sv.Status = types.RegistryAliasStatus(jtv) } + default: _, _ = key, value @@ -5378,6 +5440,7 @@ func awsAwsjson11_deserializeDocumentRegistryCatalogData(v **types.RegistryCatal } sv.DisplayName = ptr.String(jtv) } + default: _, _ = key, value @@ -5451,6 +5514,7 @@ func awsAwsjson11_deserializeDocumentRegistryNotFoundException(v **types.Registr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5497,6 +5561,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -5505,6 +5570,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RegistryId = ptr.String(jtv) } + case "repositoryArn": if value != nil { jtv, ok := value.(string) @@ -5513,6 +5579,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryArn = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -5521,6 +5588,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryName = ptr.String(jtv) } + case "repositoryUri": if value != nil { jtv, ok := value.(string) @@ -5529,6 +5597,7 @@ func awsAwsjson11_deserializeDocumentRepository(v **types.Repository, value inte } sv.RepositoryUri = ptr.String(jtv) } + default: _, _ = key, value @@ -5568,6 +5637,7 @@ func awsAwsjson11_deserializeDocumentRepositoryAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5607,10 +5677,12 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.AboutText = ptr.String(jtv) } + case "architectures": if err := awsAwsjson11_deserializeDocumentArchitectureList(&sv.Architectures, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5619,6 +5691,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.Description = ptr.String(jtv) } + case "logoUrl": if value != nil { jtv, ok := value.(string) @@ -5627,6 +5700,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.LogoUrl = ptr.String(jtv) } + case "marketplaceCertified": if value != nil { jtv, ok := value.(bool) @@ -5635,10 +5709,12 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.MarketplaceCertified = ptr.Bool(jtv) } + case "operatingSystems": if err := awsAwsjson11_deserializeDocumentOperatingSystemList(&sv.OperatingSystems, value); err != nil { return err } + case "usageText": if value != nil { jtv, ok := value.(string) @@ -5647,6 +5723,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogData(v **types.RepositoryC } sv.UsageText = ptr.String(jtv) } + default: _, _ = key, value @@ -5686,6 +5763,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCatalogDataNotFoundException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5759,6 +5837,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNotEmptyException(v **types.Repos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5798,6 +5877,7 @@ func awsAwsjson11_deserializeDocumentRepositoryNotFoundException(v **types.Repos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5837,6 +5917,7 @@ func awsAwsjson11_deserializeDocumentRepositoryPolicyNotFoundException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5876,6 +5957,7 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5915,6 +5997,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5923,6 +6006,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5996,6 +6080,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6035,6 +6120,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedCommandException(v **types.Unsup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6074,6 +6160,7 @@ func awsAwsjson11_deserializeDocumentUploadNotFoundException(v **types.UploadNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6109,10 +6196,12 @@ func awsAwsjson11_deserializeOpDocumentBatchCheckLayerAvailabilityOutput(v **Bat if err := awsAwsjson11_deserializeDocumentLayerFailureList(&sv.Failures, value); err != nil { return err } + case "layers": if err := awsAwsjson11_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } + default: _, _ = key, value @@ -6148,10 +6237,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteImageOutput(v **BatchDeleteIma if err := awsAwsjson11_deserializeDocumentImageFailureList(&sv.Failures, value); err != nil { return err } + case "imageIds": if err := awsAwsjson11_deserializeDocumentImageIdentifierList(&sv.ImageIds, value); err != nil { return err } + default: _, _ = key, value @@ -6191,6 +6282,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.LayerDigest = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -6199,6 +6291,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6207,6 +6300,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -6215,6 +6309,7 @@ func awsAwsjson11_deserializeOpDocumentCompleteLayerUploadOutput(v **CompleteLay } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -6250,10 +6345,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } + case "repository": if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -6289,6 +6386,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson11_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -6328,6 +6426,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -6336,6 +6435,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6344,6 +6444,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRepositoryPolicyOutput(v **DeleteRe } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -6379,6 +6480,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu if err := awsAwsjson11_deserializeDocumentImageDetailList(&sv.ImageDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6387,6 +6489,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImagesOutput(v **DescribeImagesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6422,6 +6525,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageTagsOutput(v **DescribeImage if err := awsAwsjson11_deserializeDocumentImageTagDetailList(&sv.ImageTagDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6430,6 +6534,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageTagsOutput(v **DescribeImage } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6469,10 +6574,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRegistriesOutput(v **DescribeRegi } sv.NextToken = ptr.String(jtv) } + case "registries": if err := awsAwsjson11_deserializeDocumentRegistryList(&sv.Registries, value); err != nil { return err } + default: _, _ = key, value @@ -6512,10 +6619,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRepositoriesOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsAwsjson11_deserializeDocumentRepositoryList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -6551,6 +6660,7 @@ func awsAwsjson11_deserializeOpDocumentGetAuthorizationTokenOutput(v **GetAuthor if err := awsAwsjson11_deserializeDocumentAuthorizationData(&sv.AuthorizationData, value); err != nil { return err } + default: _, _ = key, value @@ -6586,6 +6696,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryCatalogDataOutput(v **GetRegis if err := awsAwsjson11_deserializeDocumentRegistryCatalogData(&sv.RegistryCatalogData, value); err != nil { return err } + default: _, _ = key, value @@ -6621,6 +6732,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryCatalogDataOutput(v **GetRep if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } + default: _, _ = key, value @@ -6660,6 +6772,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -6668,6 +6781,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6790,7 @@ func awsAwsjson11_deserializeOpDocumentGetRepositoryPolicyOutput(v **GetReposito } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -6719,6 +6834,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.PartSize = ptr.Int64(i64) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -6727,6 +6843,7 @@ func awsAwsjson11_deserializeOpDocumentInitiateLayerUploadOutput(v **InitiateLay } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -6762,6 +6879,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6797,6 +6915,7 @@ func awsAwsjson11_deserializeOpDocumentPutImageOutput(v **PutImageOutput, value if err := awsAwsjson11_deserializeDocumentImage(&sv.Image, value); err != nil { return err } + default: _, _ = key, value @@ -6832,6 +6951,7 @@ func awsAwsjson11_deserializeOpDocumentPutRegistryCatalogDataOutput(v **PutRegis if err := awsAwsjson11_deserializeDocumentRegistryCatalogData(&sv.RegistryCatalogData, value); err != nil { return err } + default: _, _ = key, value @@ -6867,6 +6987,7 @@ func awsAwsjson11_deserializeOpDocumentPutRepositoryCatalogDataOutput(v **PutRep if err := awsAwsjson11_deserializeDocumentRepositoryCatalogData(&sv.CatalogData, value); err != nil { return err } + default: _, _ = key, value @@ -6906,6 +7027,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.PolicyText = ptr.String(jtv) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -6914,6 +7036,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -6922,6 +7045,7 @@ func awsAwsjson11_deserializeOpDocumentSetRepositoryPolicyOutput(v **SetReposito } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -7027,6 +7151,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.LastByteReceived = ptr.Int64(i64) } + case "registryId": if value != nil { jtv, ok := value.(string) @@ -7035,6 +7160,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RegistryId = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -7043,6 +7169,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.RepositoryName = ptr.String(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -7051,6 +7178,7 @@ func awsAwsjson11_deserializeOpDocumentUploadLayerPartOutput(v **UploadLayerPart } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ecs/deserializers.go b/service/ecs/deserializers.go index cb23619b6f0..1a2715c7f27 100644 --- a/service/ecs/deserializers.go +++ b/service/ecs/deserializers.go @@ -8215,6 +8215,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8250,6 +8251,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte if err := awsAwsjson11_deserializeDocumentAttachmentDetails(&sv.Details, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -8258,6 +8260,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8266,6 +8269,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Status = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8274,6 +8278,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8381,6 +8386,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Name = ptr.String(jtv) } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -8389,6 +8395,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.TargetId = ptr.String(jtv) } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -8397,6 +8404,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.TargetType = types.TargetType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8405,6 +8413,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8444,6 +8453,7 @@ func awsAwsjson11_deserializeDocumentAttributeLimitExceededException(v **types.A } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8517,6 +8527,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.AutoScalingGroupArn = ptr.String(jtv) } + case "managedDraining": if value != nil { jtv, ok := value.(string) @@ -8525,10 +8536,12 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.ManagedDraining = types.ManagedDraining(jtv) } + case "managedScaling": if err := awsAwsjson11_deserializeDocumentManagedScaling(&sv.ManagedScaling, value); err != nil { return err } + case "managedTerminationProtection": if value != nil { jtv, ok := value.(string) @@ -8537,6 +8550,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(v **types.AutoScal } sv.ManagedTerminationProtection = types.ManagedTerminationProtection(jtv) } + default: _, _ = key, value @@ -8576,14 +8590,17 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + case "securityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -8623,6 +8640,7 @@ func awsAwsjson11_deserializeDocumentBlockedException(v **types.BlockedException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8658,6 +8676,7 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider if err := awsAwsjson11_deserializeDocumentAutoScalingGroupProvider(&sv.AutoScalingGroupProvider, value); err != nil { return err } + case "capacityProviderArn": if value != nil { jtv, ok := value.(string) @@ -8666,6 +8685,7 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.CapacityProviderArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8674,6 +8694,7 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8682,10 +8703,12 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.Status = types.CapacityProviderStatus(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateStatus": if value != nil { jtv, ok := value.(string) @@ -8694,6 +8717,7 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.UpdateStatus = types.CapacityProviderUpdateStatus(jtv) } + case "updateStatusReason": if value != nil { jtv, ok := value.(string) @@ -8702,6 +8726,7 @@ func awsAwsjson11_deserializeDocumentCapacityProvider(v **types.CapacityProvider } sv.UpdateStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -8813,6 +8838,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } + case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -8821,6 +8847,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -8833,6 +8860,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -8872,6 +8900,7 @@ func awsAwsjson11_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8915,10 +8944,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveServicesCount = int32(i64) } + case "attachments": if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "attachmentsStatus": if value != nil { jtv, ok := value.(string) @@ -8927,10 +8958,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AttachmentsStatus = ptr.String(jtv) } + case "capacityProviders": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CapacityProviders, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -8939,6 +8972,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -8947,14 +8981,17 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } + case "configuration": if err := awsAwsjson11_deserializeDocumentClusterConfiguration(&sv.Configuration, value); err != nil { return err } + case "defaultCapacityProviderStrategy": if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.DefaultCapacityProviderStrategy, value); err != nil { return err } + case "pendingTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -8967,6 +9004,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PendingTasksCount = int32(i64) } + case "registeredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -8979,6 +9017,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RegisteredContainerInstancesCount = int32(i64) } + case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -8991,18 +9030,22 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RunningTasksCount = int32(i64) } + case "serviceConnectDefaults": if err := awsAwsjson11_deserializeDocumentClusterServiceConnectDefaults(&sv.ServiceConnectDefaults, value); err != nil { return err } + case "settings": if err := awsAwsjson11_deserializeDocumentClusterSettings(&sv.Settings, value); err != nil { return err } + case "statistics": if err := awsAwsjson11_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9011,10 +9054,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9050,10 +9095,12 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi if err := awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(&sv.ExecuteCommandConfiguration, value); err != nil { return err } + case "managedStorageConfiguration": if err := awsAwsjson11_deserializeDocumentManagedStorageConfiguration(&sv.ManagedStorageConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9093,6 +9140,7 @@ func awsAwsjson11_deserializeDocumentClusterContainsContainerInstancesException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9132,6 +9180,7 @@ func awsAwsjson11_deserializeDocumentClusterContainsServicesException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9171,6 +9220,7 @@ func awsAwsjson11_deserializeDocumentClusterContainsTasksException(v **types.Clu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9210,6 +9260,7 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundException(v **types.ClusterN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9283,6 +9334,7 @@ func awsAwsjson11_deserializeDocumentClusterServiceConnectDefaults(v **types.Clu } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -9322,6 +9374,7 @@ func awsAwsjson11_deserializeDocumentClusterSetting(v **types.ClusterSetting, va } sv.Name = types.ClusterSettingName(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9330,6 +9383,7 @@ func awsAwsjson11_deserializeDocumentClusterSetting(v **types.ClusterSetting, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9439,10 +9493,12 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceIds": if err := awsAwsjson11_deserializeDocumentResourceIds(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -9482,6 +9538,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ContainerArn = ptr.String(jtv) } + case "cpu": if value != nil { jtv, ok := value.(string) @@ -9490,6 +9547,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Cpu = ptr.String(jtv) } + case "exitCode": if value != nil { jtv, ok := value.(json.Number) @@ -9502,10 +9560,12 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ExitCode = ptr.Int32(int32(i64)) } + case "gpuIds": if err := awsAwsjson11_deserializeDocumentGpuIds(&sv.GpuIds, value); err != nil { return err } + case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -9514,6 +9574,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.HealthStatus = types.HealthStatus(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -9522,6 +9583,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -9530,6 +9592,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ImageDigest = ptr.String(jtv) } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -9538,10 +9601,12 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.LastStatus = ptr.String(jtv) } + case "managedAgents": if err := awsAwsjson11_deserializeDocumentManagedAgents(&sv.ManagedAgents, value); err != nil { return err } + case "memory": if value != nil { jtv, ok := value.(string) @@ -9550,6 +9615,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Memory = ptr.String(jtv) } + case "memoryReservation": if value != nil { jtv, ok := value.(string) @@ -9558,6 +9624,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.MemoryReservation = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9566,14 +9633,17 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } + case "networkBindings": if err := awsAwsjson11_deserializeDocumentNetworkBindings(&sv.NetworkBindings, value); err != nil { return err } + case "networkInterfaces": if err := awsAwsjson11_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9582,6 +9652,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Reason = ptr.String(jtv) } + case "runtimeId": if value != nil { jtv, ok := value.(string) @@ -9590,6 +9661,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.RuntimeId = ptr.String(jtv) } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -9598,6 +9670,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9633,6 +9706,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -9645,14 +9719,17 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Cpu = int32(i64) } + case "credentialSpecs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CredentialSpecs, value); err != nil { return err } + case "dependsOn": if err := awsAwsjson11_deserializeDocumentContainerDependencies(&sv.DependsOn, value); err != nil { return err } + case "disableNetworking": if value != nil { jtv, ok := value.(bool) @@ -9661,34 +9738,42 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.DisableNetworking = ptr.Bool(jtv) } + case "dnsSearchDomains": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DnsSearchDomains, value); err != nil { return err } + case "dnsServers": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DnsServers, value); err != nil { return err } + case "dockerLabels": if err := awsAwsjson11_deserializeDocumentDockerLabelsMap(&sv.DockerLabels, value); err != nil { return err } + case "dockerSecurityOptions": if err := awsAwsjson11_deserializeDocumentStringList(&sv.DockerSecurityOptions, value); err != nil { return err } + case "entryPoint": if err := awsAwsjson11_deserializeDocumentStringList(&sv.EntryPoint, value); err != nil { return err } + case "environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "environmentFiles": if err := awsAwsjson11_deserializeDocumentEnvironmentFiles(&sv.EnvironmentFiles, value); err != nil { return err } + case "essential": if value != nil { jtv, ok := value.(bool) @@ -9697,18 +9782,22 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Essential = ptr.Bool(jtv) } + case "extraHosts": if err := awsAwsjson11_deserializeDocumentHostEntryList(&sv.ExtraHosts, value); err != nil { return err } + case "firelensConfiguration": if err := awsAwsjson11_deserializeDocumentFirelensConfiguration(&sv.FirelensConfiguration, value); err != nil { return err } + case "healthCheck": if err := awsAwsjson11_deserializeDocumentHealthCheck(&sv.HealthCheck, value); err != nil { return err } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -9717,6 +9806,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Hostname = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -9725,6 +9815,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Image = ptr.String(jtv) } + case "interactive": if value != nil { jtv, ok := value.(bool) @@ -9733,18 +9824,22 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Interactive = ptr.Bool(jtv) } + case "links": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Links, value); err != nil { return err } + case "linuxParameters": if err := awsAwsjson11_deserializeDocumentLinuxParameters(&sv.LinuxParameters, value); err != nil { return err } + case "logConfiguration": if err := awsAwsjson11_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -9757,6 +9852,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Memory = ptr.Int32(int32(i64)) } + case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -9769,10 +9865,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.MemoryReservation = ptr.Int32(int32(i64)) } + case "mountPoints": if err := awsAwsjson11_deserializeDocumentMountPointList(&sv.MountPoints, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9781,10 +9879,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Name = ptr.String(jtv) } + case "portMappings": if err := awsAwsjson11_deserializeDocumentPortMappingList(&sv.PortMappings, value); err != nil { return err } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -9793,6 +9893,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Privileged = ptr.Bool(jtv) } + case "pseudoTerminal": if value != nil { jtv, ok := value.(bool) @@ -9801,6 +9902,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.PseudoTerminal = ptr.Bool(jtv) } + case "readonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -9809,22 +9911,27 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "repositoryCredentials": if err := awsAwsjson11_deserializeDocumentRepositoryCredentials(&sv.RepositoryCredentials, value); err != nil { return err } + case "resourceRequirements": if err := awsAwsjson11_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + case "restartPolicy": if err := awsAwsjson11_deserializeDocumentContainerRestartPolicy(&sv.RestartPolicy, value); err != nil { return err } + case "secrets": if err := awsAwsjson11_deserializeDocumentSecretList(&sv.Secrets, value); err != nil { return err } + case "startTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -9837,6 +9944,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.StartTimeout = ptr.Int32(int32(i64)) } + case "stopTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -9849,14 +9957,17 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.StopTimeout = ptr.Int32(int32(i64)) } + case "systemControls": if err := awsAwsjson11_deserializeDocumentSystemControls(&sv.SystemControls, value); err != nil { return err } + case "ulimits": if err := awsAwsjson11_deserializeDocumentUlimitList(&sv.Ulimits, value); err != nil { return err } + case "user": if value != nil { jtv, ok := value.(string) @@ -9865,10 +9976,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.User = ptr.String(jtv) } + case "volumesFrom": if err := awsAwsjson11_deserializeDocumentVolumeFromList(&sv.VolumesFrom, value); err != nil { return err } + case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -9877,6 +9990,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -9984,6 +10098,7 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.Condition = types.ContainerCondition(jtv) } + case "containerName": if value != nil { jtv, ok := value.(string) @@ -9992,6 +10107,7 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.ContainerName = ptr.String(jtv) } + default: _, _ = key, value @@ -10031,6 +10147,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.ContainerName = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -10039,6 +10156,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Image = ptr.String(jtv) } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -10047,6 +10165,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.ImageDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -10120,6 +10239,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.AgentConnected = jtv } + case "agentUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -10128,14 +10248,17 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.AgentUpdateStatus = types.AgentUpdateStatus(jtv) } + case "attachments": if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "capacityProviderName": if value != nil { jtv, ok := value.(string) @@ -10144,6 +10267,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.CapacityProviderName = ptr.String(jtv) } + case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -10152,6 +10276,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.ContainerInstanceArn = ptr.String(jtv) } + case "ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -10160,10 +10285,12 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Ec2InstanceId = ptr.String(jtv) } + case "healthStatus": if err := awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(&sv.HealthStatus, value); err != nil { return err } + case "pendingTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -10176,6 +10303,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.PendingTasksCount = int32(i64) } + case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -10191,14 +10319,17 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } } + case "registeredResources": if err := awsAwsjson11_deserializeDocumentResources(&sv.RegisteredResources, value); err != nil { return err } + case "remainingResources": if err := awsAwsjson11_deserializeDocumentResources(&sv.RemainingResources, value); err != nil { return err } + case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -10211,6 +10342,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.RunningTasksCount = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10219,6 +10351,7 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Status = ptr.String(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -10227,10 +10360,12 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -10243,10 +10378,12 @@ func awsAwsjson11_deserializeDocumentContainerInstance(v **types.ContainerInstan } sv.Version = i64 } + case "versionInfo": if err := awsAwsjson11_deserializeDocumentVersionInfo(&sv.VersionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -10282,6 +10419,7 @@ func awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(v **types.Con if err := awsAwsjson11_deserializeDocumentInstanceHealthCheckResultList(&sv.Details, value); err != nil { return err } + case "overallStatus": if value != nil { jtv, ok := value.(string) @@ -10290,6 +10428,7 @@ func awsAwsjson11_deserializeDocumentContainerInstanceHealthStatus(v **types.Con } sv.OverallStatus = types.InstanceHealthCheckState(jtv) } + default: _, _ = key, value @@ -10359,6 +10498,7 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(json.Number) @@ -10371,14 +10511,17 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Cpu = ptr.Int32(int32(i64)) } + case "environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "environmentFiles": if err := awsAwsjson11_deserializeDocumentEnvironmentFiles(&sv.EnvironmentFiles, value); err != nil { return err } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -10391,6 +10534,7 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Memory = ptr.Int32(int32(i64)) } + case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -10403,6 +10547,7 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.MemoryReservation = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10411,10 +10556,12 @@ func awsAwsjson11_deserializeDocumentContainerOverride(v **types.ContainerOverri } sv.Name = ptr.String(jtv) } + case "resourceRequirements": if err := awsAwsjson11_deserializeDocumentResourceRequirements(&sv.ResourceRequirements, value); err != nil { return err } + default: _, _ = key, value @@ -10488,10 +10635,12 @@ func awsAwsjson11_deserializeDocumentContainerRestartPolicy(v **types.ContainerR } sv.Enabled = ptr.Bool(jtv) } + case "ignoredExitCodes": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.IgnoredExitCodes, value); err != nil { return err } + case "restartAttemptPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -10504,6 +10653,7 @@ func awsAwsjson11_deserializeDocumentContainerRestartPolicy(v **types.ContainerR } sv.RestartAttemptPeriod = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10573,6 +10723,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10588,6 +10739,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "desiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -10600,6 +10752,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DesiredCount = int32(i64) } + case "failedTasks": if value != nil { jtv, ok := value.(json.Number) @@ -10612,10 +10765,12 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.FailedTasks = int32(i64) } + case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10624,6 +10779,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -10632,10 +10788,12 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LaunchType = types.LaunchType(jtv) } + case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -10648,6 +10806,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PendingCount = int32(i64) } + case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -10656,6 +10815,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PlatformFamily = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -10664,6 +10824,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.PlatformVersion = ptr.String(jtv) } + case "rolloutState": if value != nil { jtv, ok := value.(string) @@ -10672,6 +10833,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RolloutState = types.DeploymentRolloutState(jtv) } + case "rolloutStateReason": if value != nil { jtv, ok := value.(string) @@ -10680,6 +10842,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RolloutStateReason = ptr.String(jtv) } + case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -10692,14 +10855,17 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RunningCount = int32(i64) } + case "serviceConnectConfiguration": if err := awsAwsjson11_deserializeDocumentServiceConnectConfiguration(&sv.ServiceConnectConfiguration, value); err != nil { return err } + case "serviceConnectResources": if err := awsAwsjson11_deserializeDocumentServiceConnectServiceResourceList(&sv.ServiceConnectResources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10708,6 +10874,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Status = ptr.String(jtv) } + case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -10716,6 +10883,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TaskDefinition = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10731,10 +10899,12 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "volumeConfigurations": if err := awsAwsjson11_deserializeDocumentServiceVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -10770,6 +10940,7 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlarmNames, value); err != nil { return err } + case "enable": if value != nil { jtv, ok := value.(bool) @@ -10778,6 +10949,7 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms } sv.Enable = jtv } + case "rollback": if value != nil { jtv, ok := value.(bool) @@ -10786,6 +10958,7 @@ func awsAwsjson11_deserializeDocumentDeploymentAlarms(v **types.DeploymentAlarms } sv.Rollback = jtv } + default: _, _ = key, value @@ -10825,6 +10998,7 @@ func awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(v **types.Deployme } sv.Enable = jtv } + case "rollback": if value != nil { jtv, ok := value.(bool) @@ -10833,6 +11007,7 @@ func awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(v **types.Deployme } sv.Rollback = jtv } + default: _, _ = key, value @@ -10868,10 +11043,12 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen if err := awsAwsjson11_deserializeDocumentDeploymentAlarms(&sv.Alarms, value); err != nil { return err } + case "deploymentCircuitBreaker": if err := awsAwsjson11_deserializeDocumentDeploymentCircuitBreaker(&sv.DeploymentCircuitBreaker, value); err != nil { return err } + case "maximumPercent": if value != nil { jtv, ok := value.(json.Number) @@ -10884,6 +11061,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen } sv.MaximumPercent = ptr.Int32(int32(i64)) } + case "minimumHealthyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -10896,6 +11074,7 @@ func awsAwsjson11_deserializeDocumentDeploymentConfiguration(v **types.Deploymen } sv.MinimumHealthyPercent = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10935,6 +11114,7 @@ func awsAwsjson11_deserializeDocumentDeploymentController(v **types.DeploymentCo } sv.Type = types.DeploymentControllerType(jtv) } + default: _, _ = key, value @@ -10974,6 +11154,7 @@ func awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(v **types.Deploy } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -11047,6 +11228,7 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ContainerPath = ptr.String(jtv) } + case "hostPath": if value != nil { jtv, ok := value.(string) @@ -11055,10 +11237,12 @@ func awsAwsjson11_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.HostPath = ptr.String(jtv) } + case "permissions": if err := awsAwsjson11_deserializeDocumentDeviceCgroupPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -11204,6 +11388,7 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Autoprovision = ptr.Bool(jtv) } + case "driver": if value != nil { jtv, ok := value.(string) @@ -11212,14 +11397,17 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Driver = ptr.String(jtv) } + case "driverOpts": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.DriverOpts, value); err != nil { return err } + case "labels": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Labels, value); err != nil { return err } + case "scope": if value != nil { jtv, ok := value.(string) @@ -11228,6 +11416,7 @@ func awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(v **types.DockerV } sv.Scope = types.Scope(jtv) } + default: _, _ = key, value @@ -11267,6 +11456,7 @@ func awsAwsjson11_deserializeDocumentEBSTagSpecification(v **types.EBSTagSpecifi } sv.PropagateTags = types.PropagateTags(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11275,10 +11465,12 @@ func awsAwsjson11_deserializeDocumentEBSTagSpecification(v **types.EBSTagSpecifi } sv.ResourceType = types.EBSResourceType(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11352,6 +11544,7 @@ func awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.AccessPointId = ptr.String(jtv) } + case "iam": if value != nil { jtv, ok := value.(string) @@ -11360,6 +11553,7 @@ func awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(v **types.EFSAuthori } sv.Iam = types.EFSAuthorizationConfigIAM(jtv) } + default: _, _ = key, value @@ -11395,6 +11589,7 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC if err := awsAwsjson11_deserializeDocumentEFSAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } + case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -11403,6 +11598,7 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.FileSystemId = ptr.String(jtv) } + case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -11411,6 +11607,7 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.RootDirectory = ptr.String(jtv) } + case "transitEncryption": if value != nil { jtv, ok := value.(string) @@ -11419,6 +11616,7 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryption = types.EFSTransitEncryption(jtv) } + case "transitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -11431,6 +11629,7 @@ func awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(v **types.EFSVolumeC } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11470,6 +11669,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentFile(v **types.EnvironmentFile, } sv.Type = types.EnvironmentFileType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11478,6 +11678,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentFile(v **types.EnvironmentFile, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11589,6 +11790,7 @@ func awsAwsjson11_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.SizeInGiB = int32(i64) } + default: _, _ = key, value @@ -11628,10 +11830,12 @@ func awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(v **types.Execu } sv.KmsKeyId = ptr.String(jtv) } + case "logConfiguration": if err := awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "logging": if value != nil { jtv, ok := value.(string) @@ -11640,6 +11844,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandConfiguration(v **types.Execu } sv.Logging = types.ExecuteCommandLogging(jtv) } + default: _, _ = key, value @@ -11679,6 +11884,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.CloudWatchEncryptionEnabled = jtv } + case "cloudWatchLogGroupName": if value != nil { jtv, ok := value.(string) @@ -11687,6 +11893,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.CloudWatchLogGroupName = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -11695,6 +11902,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3BucketName = ptr.String(jtv) } + case "s3EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -11703,6 +11911,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3EncryptionEnabled = jtv } + case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -11711,6 +11920,7 @@ func awsAwsjson11_deserializeDocumentExecuteCommandLogConfiguration(v **types.Ex } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -11750,6 +11960,7 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Arn = ptr.String(jtv) } + case "detail": if value != nil { jtv, ok := value.(string) @@ -11758,6 +11969,7 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Detail = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -11766,6 +11978,7 @@ func awsAwsjson11_deserializeDocumentFailure(v **types.Failure, value interface{ } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -11835,6 +12048,7 @@ func awsAwsjson11_deserializeDocumentFirelensConfiguration(v **types.FirelensCon if err := awsAwsjson11_deserializeDocumentFirelensConfigurationOptionsMap(&sv.Options, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11843,6 +12057,7 @@ func awsAwsjson11_deserializeDocumentFirelensConfiguration(v **types.FirelensCon } sv.Type = types.FirelensConfigurationType(jtv) } + default: _, _ = key, value @@ -11918,6 +12133,7 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(v * } sv.CredentialsParameter = ptr.String(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -11926,6 +12142,7 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(v * } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -11961,6 +12178,7 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * if err := awsAwsjson11_deserializeDocumentFSxWindowsFileServerAuthorizationConfig(&sv.AuthorizationConfig, value); err != nil { return err } + case "fileSystemId": if value != nil { jtv, ok := value.(string) @@ -11969,6 +12187,7 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * } sv.FileSystemId = ptr.String(jtv) } + case "rootDirectory": if value != nil { jtv, ok := value.(string) @@ -11977,6 +12196,7 @@ func awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(v * } sv.RootDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -12048,6 +12268,7 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -12060,6 +12281,7 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Interval = ptr.Int32(int32(i64)) } + case "retries": if value != nil { jtv, ok := value.(json.Number) @@ -12072,6 +12294,7 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Retries = ptr.Int32(int32(i64)) } + case "startPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -12084,6 +12307,7 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.StartPeriod = ptr.Int32(int32(i64)) } + case "timeout": if value != nil { jtv, ok := value.(json.Number) @@ -12096,6 +12320,7 @@ func awsAwsjson11_deserializeDocumentHealthCheck(v **types.HealthCheck, value in } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12135,6 +12360,7 @@ func awsAwsjson11_deserializeDocumentHostEntry(v **types.HostEntry, value interf } sv.Hostname = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -12143,6 +12369,7 @@ func awsAwsjson11_deserializeDocumentHostEntry(v **types.HostEntry, value interf } sv.IpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -12216,6 +12443,7 @@ func awsAwsjson11_deserializeDocumentHostVolumeProperties(v **types.HostVolumePr } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -12255,6 +12483,7 @@ func awsAwsjson11_deserializeDocumentInferenceAccelerator(v **types.InferenceAcc } sv.DeviceName = ptr.String(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -12263,6 +12492,7 @@ func awsAwsjson11_deserializeDocumentInferenceAccelerator(v **types.InferenceAcc } sv.DeviceType = ptr.String(jtv) } + default: _, _ = key, value @@ -12302,6 +12532,7 @@ func awsAwsjson11_deserializeDocumentInferenceAcceleratorOverride(v **types.Infe } sv.DeviceName = ptr.String(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -12310,6 +12541,7 @@ func awsAwsjson11_deserializeDocumentInferenceAcceleratorOverride(v **types.Infe } sv.DeviceType = ptr.String(jtv) } + default: _, _ = key, value @@ -12424,6 +12656,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -12439,6 +12672,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } } + case "status": if value != nil { jtv, ok := value.(string) @@ -12447,6 +12681,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } sv.Status = types.InstanceHealthCheckState(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12455,6 +12690,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthCheckResult(v **types.Instanc } sv.Type = types.InstanceHealthCheckType(jtv) } + default: _, _ = key, value @@ -12568,6 +12804,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12603,10 +12840,12 @@ func awsAwsjson11_deserializeDocumentKernelCapabilities(v **types.KernelCapabili if err := awsAwsjson11_deserializeDocumentStringList(&sv.Add, value); err != nil { return err } + case "drop": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Drop, value); err != nil { return err } + default: _, _ = key, value @@ -12646,6 +12885,7 @@ func awsAwsjson11_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -12654,6 +12894,7 @@ func awsAwsjson11_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12693,6 +12934,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12728,10 +12970,12 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, if err := awsAwsjson11_deserializeDocumentKernelCapabilities(&sv.Capabilities, value); err != nil { return err } + case "devices": if err := awsAwsjson11_deserializeDocumentDevicesList(&sv.Devices, value); err != nil { return err } + case "initProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -12740,6 +12984,7 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.InitProcessEnabled = ptr.Bool(jtv) } + case "maxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -12752,6 +12997,7 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.MaxSwap = ptr.Int32(int32(i64)) } + case "sharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -12764,6 +13010,7 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.SharedMemorySize = ptr.Int32(int32(i64)) } + case "swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -12776,10 +13023,12 @@ func awsAwsjson11_deserializeDocumentLinuxParameters(v **types.LinuxParameters, } sv.Swappiness = ptr.Int32(int32(i64)) } + case "tmpfs": if err := awsAwsjson11_deserializeDocumentTmpfsList(&sv.Tmpfs, value); err != nil { return err } + default: _, _ = key, value @@ -12819,6 +13068,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ContainerName = ptr.String(jtv) } + case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -12831,6 +13081,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "loadBalancerName": if value != nil { jtv, ok := value.(string) @@ -12839,6 +13090,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.LoadBalancerName = ptr.String(jtv) } + case "targetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12847,6 +13099,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.TargetGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12920,14 +13173,17 @@ func awsAwsjson11_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.LogDriver = types.LogDriver(jtv) } + case "options": if err := awsAwsjson11_deserializeDocumentLogConfigurationOptionsMap(&sv.Options, value); err != nil { return err } + case "secretOptions": if err := awsAwsjson11_deserializeDocumentSecretList(&sv.SecretOptions, value); err != nil { return err } + default: _, _ = key, value @@ -13010,6 +13266,7 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -13018,6 +13275,7 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.LastStatus = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13026,6 +13284,7 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.Name = types.ManagedAgentName(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -13034,6 +13293,7 @@ func awsAwsjson11_deserializeDocumentManagedAgent(v **types.ManagedAgent, value } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -13111,6 +13371,7 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.InstanceWarmupPeriod = ptr.Int32(int32(i64)) } + case "maximumScalingStepSize": if value != nil { jtv, ok := value.(json.Number) @@ -13123,6 +13384,7 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.MaximumScalingStepSize = ptr.Int32(int32(i64)) } + case "minimumScalingStepSize": if value != nil { jtv, ok := value.(json.Number) @@ -13135,6 +13397,7 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.MinimumScalingStepSize = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13143,6 +13406,7 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.Status = types.ManagedScalingStatus(jtv) } + case "targetCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -13155,6 +13419,7 @@ func awsAwsjson11_deserializeDocumentManagedScaling(v **types.ManagedScaling, va } sv.TargetCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13194,6 +13459,7 @@ func awsAwsjson11_deserializeDocumentManagedStorageConfiguration(v **types.Manag } sv.FargateEphemeralStorageKmsKeyId = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13202,6 +13468,7 @@ func awsAwsjson11_deserializeDocumentManagedStorageConfiguration(v **types.Manag } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -13241,6 +13508,7 @@ func awsAwsjson11_deserializeDocumentMissingVersionException(v **types.MissingVe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13280,6 +13548,7 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ContainerPath = ptr.String(jtv) } + case "readOnly": if value != nil { jtv, ok := value.(bool) @@ -13288,6 +13557,7 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.ReadOnly = ptr.Bool(jtv) } + case "sourceVolume": if value != nil { jtv, ok := value.(string) @@ -13296,6 +13566,7 @@ func awsAwsjson11_deserializeDocumentMountPoint(v **types.MountPoint, value inte } sv.SourceVolume = ptr.String(jtv) } + default: _, _ = key, value @@ -13369,6 +13640,7 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFoundException(v **types.Namesp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13408,6 +13680,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.BindIP = ptr.String(jtv) } + case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13420,6 +13693,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "containerPortRange": if value != nil { jtv, ok := value.(string) @@ -13428,6 +13702,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.ContainerPortRange = ptr.String(jtv) } + case "hostPort": if value != nil { jtv, ok := value.(json.Number) @@ -13440,6 +13715,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.HostPort = ptr.Int32(int32(i64)) } + case "hostPortRange": if value != nil { jtv, ok := value.(string) @@ -13448,6 +13724,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.HostPortRange = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13456,6 +13733,7 @@ func awsAwsjson11_deserializeDocumentNetworkBinding(v **types.NetworkBinding, va } sv.Protocol = types.TransportProtocol(jtv) } + default: _, _ = key, value @@ -13525,6 +13803,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13564,6 +13843,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AttachmentId = ptr.String(jtv) } + case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -13572,6 +13852,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } + case "privateIpv4Address": if value != nil { jtv, ok := value.(string) @@ -13580,6 +13861,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpv4Address = ptr.String(jtv) } + default: _, _ = key, value @@ -13653,6 +13935,7 @@ func awsAwsjson11_deserializeDocumentNoUpdateAvailableException(v **types.NoUpda } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13692,6 +13975,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13700,6 +13984,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } + default: _, _ = key, value @@ -13807,6 +14092,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13815,6 +14101,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } + default: _, _ = key, value @@ -13854,6 +14141,7 @@ func awsAwsjson11_deserializeDocumentPlatformTaskDefinitionIncompatibilityExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13893,6 +14181,7 @@ func awsAwsjson11_deserializeDocumentPlatformUnknownException(v **types.Platform } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13932,6 +14221,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.AppProtocol = types.ApplicationProtocol(jtv) } + case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13944,6 +14234,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "containerPortRange": if value != nil { jtv, ok := value.(string) @@ -13952,6 +14243,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ContainerPortRange = ptr.String(jtv) } + case "hostPort": if value != nil { jtv, ok := value.(json.Number) @@ -13964,6 +14256,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.HostPort = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13972,6 +14265,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Name = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13980,6 +14274,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.Protocol = types.TransportProtocol(jtv) } + default: _, _ = key, value @@ -14060,6 +14355,7 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } } + case "protectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -14068,6 +14364,7 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } sv.ProtectionEnabled = jtv } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -14076,6 +14373,7 @@ func awsAwsjson11_deserializeDocumentProtectedTask(v **types.ProtectedTask, valu } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14149,10 +14447,12 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.ContainerName = ptr.String(jtv) } + case "properties": if err := awsAwsjson11_deserializeDocumentProxyConfigurationProperties(&sv.Properties, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -14161,6 +14461,7 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Type = types.ProxyConfigurationType(jtv) } + default: _, _ = key, value @@ -14234,6 +14535,7 @@ func awsAwsjson11_deserializeDocumentRepositoryCredentials(v **types.RepositoryC } sv.CredentialsParameter = ptr.String(jtv) } + default: _, _ = key, value @@ -14332,6 +14634,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } + case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -14344,6 +14647,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.IntegerValue = int32(i64) } + case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -14356,6 +14660,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.LongValue = i64 } + case "name": if value != nil { jtv, ok := value.(string) @@ -14364,10 +14669,12 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + case "stringSetValue": if err := awsAwsjson11_deserializeDocumentStringList(&sv.StringSetValue, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -14376,6 +14683,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14451,6 +14759,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14490,6 +14799,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14529,6 +14839,7 @@ func awsAwsjson11_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Type = types.ResourceType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14537,6 +14848,7 @@ func awsAwsjson11_deserializeDocumentResourceRequirement(v **types.ResourceRequi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14644,6 +14956,7 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } sv.Reason = ptr.String(jtv) } + case "serviceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -14652,6 +14965,7 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } sv.ServiceRevisionArn = ptr.String(jtv) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14667,6 +14981,7 @@ func awsAwsjson11_deserializeDocumentRollback(v **types.Rollback, value interfac } } + default: _, _ = key, value @@ -14706,6 +15021,7 @@ func awsAwsjson11_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.CpuArchitecture = types.CPUArchitecture(jtv) } + case "operatingSystemFamily": if value != nil { jtv, ok := value.(string) @@ -14714,6 +15030,7 @@ func awsAwsjson11_deserializeDocumentRuntimePlatform(v **types.RuntimePlatform, } sv.OperatingSystemFamily = types.OSFamily(jtv) } + default: _, _ = key, value @@ -14753,6 +15070,7 @@ func awsAwsjson11_deserializeDocumentScale(v **types.Scale, value interface{}) e } sv.Unit = types.ScaleUnit(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -14786,6 +15104,7 @@ func awsAwsjson11_deserializeDocumentScale(v **types.Scale, value interface{}) e } } + default: _, _ = key, value @@ -14825,6 +15144,7 @@ func awsAwsjson11_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.Name = ptr.String(jtv) } + case "valueFrom": if value != nil { jtv, ok := value.(string) @@ -14833,6 +15153,7 @@ func awsAwsjson11_deserializeDocumentSecret(v **types.Secret, value interface{}) } sv.ValueFrom = ptr.String(jtv) } + default: _, _ = key, value @@ -14906,6 +15227,7 @@ func awsAwsjson11_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14941,6 +15263,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -14949,6 +15272,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14964,6 +15288,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -14972,18 +15297,22 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.CreatedBy = ptr.String(jtv) } + case "deploymentConfiguration": if err := awsAwsjson11_deserializeDocumentDeploymentConfiguration(&sv.DeploymentConfiguration, value); err != nil { return err } + case "deploymentController": if err := awsAwsjson11_deserializeDocumentDeploymentController(&sv.DeploymentController, value); err != nil { return err } + case "deployments": if err := awsAwsjson11_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } + case "desiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -14996,6 +15325,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.DesiredCount = int32(i64) } + case "enableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -15004,6 +15334,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.EnableECSManagedTags = jtv } + case "enableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -15012,10 +15343,12 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.EnableExecuteCommand = jtv } + case "events": if err := awsAwsjson11_deserializeDocumentServiceEvents(&sv.Events, value); err != nil { return err } + case "healthCheckGracePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15028,6 +15361,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.HealthCheckGracePeriodSeconds = ptr.Int32(int32(i64)) } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -15036,14 +15370,17 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.LaunchType = types.LaunchType(jtv) } + case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } + case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -15056,14 +15393,17 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PendingCount = int32(i64) } + case "placementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "placementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } + case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -15072,6 +15412,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PlatformFamily = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -15080,6 +15421,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PlatformVersion = ptr.String(jtv) } + case "propagateTags": if value != nil { jtv, ok := value.(string) @@ -15088,6 +15430,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.PropagateTags = types.PropagateTags(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -15096,6 +15439,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.RoleArn = ptr.String(jtv) } + case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -15108,6 +15452,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.RunningCount = int32(i64) } + case "schedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -15116,6 +15461,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.SchedulingStrategy = types.SchedulingStrategy(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -15124,6 +15470,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceArn = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15132,10 +15479,12 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } + case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15144,10 +15493,12 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -15156,10 +15507,12 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.TaskDefinition = ptr.String(jtv) } + case "taskSets": if err := awsAwsjson11_deserializeDocumentTaskSets(&sv.TaskSets, value); err != nil { return err } + default: _, _ = key, value @@ -15199,6 +15552,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectClientAlias(v **types.Service } sv.DnsName = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -15211,6 +15565,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectClientAlias(v **types.Service } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15284,10 +15639,12 @@ func awsAwsjson11_deserializeDocumentServiceConnectConfiguration(v **types.Servi } sv.Enabled = jtv } + case "logConfiguration": if err := awsAwsjson11_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -15296,10 +15653,12 @@ func awsAwsjson11_deserializeDocumentServiceConnectConfiguration(v **types.Servi } sv.Namespace = ptr.String(jtv) } + case "services": if err := awsAwsjson11_deserializeDocumentServiceConnectServiceList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -15335,6 +15694,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn if err := awsAwsjson11_deserializeDocumentServiceConnectClientAliasList(&sv.ClientAliases, value); err != nil { return err } + case "discoveryName": if value != nil { jtv, ok := value.(string) @@ -15343,6 +15703,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.DiscoveryName = ptr.String(jtv) } + case "ingressPortOverride": if value != nil { jtv, ok := value.(json.Number) @@ -15355,6 +15716,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.IngressPortOverride = ptr.Int32(int32(i64)) } + case "portName": if value != nil { jtv, ok := value.(string) @@ -15363,14 +15725,17 @@ func awsAwsjson11_deserializeDocumentServiceConnectService(v **types.ServiceConn } sv.PortName = ptr.String(jtv) } + case "timeout": if err := awsAwsjson11_deserializeDocumentTimeoutConfiguration(&sv.Timeout, value); err != nil { return err } + case "tls": if err := awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -15444,6 +15809,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectServiceResource(v **types.Ser } sv.DiscoveryArn = ptr.String(jtv) } + case "discoveryName": if value != nil { jtv, ok := value.(string) @@ -15452,6 +15818,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectServiceResource(v **types.Ser } sv.DiscoveryName = ptr.String(jtv) } + default: _, _ = key, value @@ -15525,6 +15892,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsCertificateAuthority(v **t } sv.AwsPcaAuthorityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15560,6 +15928,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se if err := awsAwsjson11_deserializeDocumentServiceConnectTlsCertificateAuthority(&sv.IssuerCertificateAuthority, value); err != nil { return err } + case "kmsKey": if value != nil { jtv, ok := value.(string) @@ -15568,6 +15937,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se } sv.KmsKey = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -15576,6 +15946,7 @@ func awsAwsjson11_deserializeDocumentServiceConnectTlsConfiguration(v **types.Se } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15611,6 +15982,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme if err := awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(&sv.Alarms, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -15619,6 +15991,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ClusterArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15634,14 +16007,17 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } + case "deploymentCircuitBreaker": if err := awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(&sv.DeploymentCircuitBreaker, value); err != nil { return err } + case "deploymentConfiguration": if err := awsAwsjson11_deserializeDocumentDeploymentConfiguration(&sv.DeploymentConfiguration, value); err != nil { return err } + case "finishedAt": if value != nil { switch jtv := value.(type) { @@ -15657,10 +16033,12 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } + case "rollback": if err := awsAwsjson11_deserializeDocumentRollback(&sv.Rollback, value); err != nil { return err } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -15669,6 +16047,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ServiceArn = ptr.String(jtv) } + case "serviceDeploymentArn": if value != nil { jtv, ok := value.(string) @@ -15677,10 +16056,12 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.ServiceDeploymentArn = ptr.String(jtv) } + case "sourceServiceRevisions": if err := awsAwsjson11_deserializeDocumentServiceRevisionsSummaryList(&sv.SourceServiceRevisions, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -15696,6 +16077,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } + case "status": if value != nil { jtv, ok := value.(string) @@ -15704,6 +16086,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.Status = types.ServiceDeploymentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -15712,6 +16095,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } sv.StatusReason = ptr.String(jtv) } + case "stoppedAt": if value != nil { switch jtv := value.(type) { @@ -15727,10 +16111,12 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } + case "targetServiceRevision": if err := awsAwsjson11_deserializeDocumentServiceRevisionSummary(&sv.TargetServiceRevision, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15746,6 +16132,7 @@ func awsAwsjson11_deserializeDocumentServiceDeployment(v **types.ServiceDeployme } } + default: _, _ = key, value @@ -15781,6 +16168,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(v **types.ServiceDe if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlarmNames, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15789,10 +16177,12 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentAlarms(v **types.ServiceDe } sv.Status = types.ServiceDeploymentRollbackMonitorsStatus(jtv) } + case "triggeredAlarmNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TriggeredAlarmNames, value); err != nil { return err } + default: _, _ = key, value @@ -15832,6 +16222,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ClusterArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15847,6 +16238,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } + case "finishedAt": if value != nil { switch jtv := value.(type) { @@ -15862,6 +16254,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -15870,6 +16263,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ServiceArn = ptr.String(jtv) } + case "serviceDeploymentArn": if value != nil { jtv, ok := value.(string) @@ -15878,6 +16272,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.ServiceDeploymentArn = ptr.String(jtv) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -15893,6 +16288,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } } + case "status": if value != nil { jtv, ok := value.(string) @@ -15901,6 +16297,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.Status = types.ServiceDeploymentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -15909,6 +16306,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.StatusReason = ptr.String(jtv) } + case "targetServiceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -15917,6 +16315,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentBrief(v **types.ServiceDep } sv.TargetServiceRevisionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15960,6 +16359,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.FailureCount = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15968,6 +16368,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.Status = types.ServiceDeploymentRollbackMonitorsStatus(jtv) } + case "threshold": if value != nil { jtv, ok := value.(json.Number) @@ -15980,6 +16381,7 @@ func awsAwsjson11_deserializeDocumentServiceDeploymentCircuitBreaker(v **types.S } sv.Threshold = int32(i64) } + default: _, _ = key, value @@ -16094,6 +16496,7 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } } + case "id": if value != nil { jtv, ok := value.(string) @@ -16102,6 +16505,7 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } sv.Id = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -16110,6 +16514,7 @@ func awsAwsjson11_deserializeDocumentServiceEvent(v **types.ServiceEvent, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16183,6 +16588,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Encrypted = ptr.Bool(jtv) } + case "filesystemType": if value != nil { jtv, ok := value.(string) @@ -16191,6 +16597,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.FilesystemType = types.TaskFilesystemType(jtv) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -16203,6 +16610,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Iops = ptr.Int32(int32(i64)) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16211,6 +16619,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.KmsKeyId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16219,6 +16628,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.RoleArn = ptr.String(jtv) } + case "sizeInGiB": if value != nil { jtv, ok := value.(json.Number) @@ -16231,6 +16641,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.SizeInGiB = ptr.Int32(int32(i64)) } + case "snapshotId": if value != nil { jtv, ok := value.(string) @@ -16239,10 +16650,12 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.SnapshotId = ptr.String(jtv) } + case "tagSpecifications": if err := awsAwsjson11_deserializeDocumentEBSTagSpecifications(&sv.TagSpecifications, value); err != nil { return err } + case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16255,6 +16668,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.Throughput = ptr.Int32(int32(i64)) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -16263,6 +16677,7 @@ func awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(v **ty } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -16302,6 +16717,7 @@ func awsAwsjson11_deserializeDocumentServiceNotActiveException(v **types.Service } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16341,6 +16757,7 @@ func awsAwsjson11_deserializeDocumentServiceNotFoundException(v **types.ServiceN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16414,6 +16831,7 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.ContainerName = ptr.String(jtv) } + case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -16426,6 +16844,7 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -16438,6 +16857,7 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.Port = ptr.Int32(int32(i64)) } + case "registryArn": if value != nil { jtv, ok := value.(string) @@ -16446,6 +16866,7 @@ func awsAwsjson11_deserializeDocumentServiceRegistry(v **types.ServiceRegistry, } sv.RegistryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16481,6 +16902,7 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -16489,10 +16911,12 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ClusterArn = ptr.String(jtv) } + case "containerImages": if err := awsAwsjson11_deserializeDocumentContainerImages(&sv.ContainerImages, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16508,10 +16932,12 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } } + case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } + case "guardDutyEnabled": if value != nil { jtv, ok := value.(bool) @@ -16520,6 +16946,7 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.GuardDutyEnabled = jtv } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -16528,14 +16955,17 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.LaunchType = types.LaunchType(jtv) } + case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } + case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -16544,6 +16974,7 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.PlatformFamily = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -16552,6 +16983,7 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.PlatformVersion = ptr.String(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -16560,14 +16992,17 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ServiceArn = ptr.String(jtv) } + case "serviceConnectConfiguration": if err := awsAwsjson11_deserializeDocumentServiceConnectConfiguration(&sv.ServiceConnectConfiguration, value); err != nil { return err } + case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } + case "serviceRevisionArn": if value != nil { jtv, ok := value.(string) @@ -16576,6 +17011,7 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.ServiceRevisionArn = ptr.String(jtv) } + case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -16584,10 +17020,12 @@ func awsAwsjson11_deserializeDocumentServiceRevision(v **types.ServiceRevision, } sv.TaskDefinition = ptr.String(jtv) } + case "volumeConfigurations": if err := awsAwsjson11_deserializeDocumentServiceVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -16695,6 +17133,7 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.Arn = ptr.String(jtv) } + case "pendingTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -16707,6 +17146,7 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.PendingTaskCount = int32(i64) } + case "requestedTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -16719,6 +17159,7 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.RequestedTaskCount = int32(i64) } + case "runningTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -16731,6 +17172,7 @@ func awsAwsjson11_deserializeDocumentServiceRevisionSummary(v **types.ServiceRev } sv.RunningTaskCount = int32(i64) } + default: _, _ = key, value @@ -16800,6 +17242,7 @@ func awsAwsjson11_deserializeDocumentServiceVolumeConfiguration(v **types.Servic if err := awsAwsjson11_deserializeDocumentServiceManagedEBSVolumeConfiguration(&sv.ManagedEBSVolume, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16808,6 +17251,7 @@ func awsAwsjson11_deserializeDocumentServiceVolumeConfiguration(v **types.Servic } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16881,6 +17325,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } + case "streamUrl": if value != nil { jtv, ok := value.(string) @@ -16889,6 +17334,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.StreamUrl = ptr.String(jtv) } + case "tokenValue": if value != nil { jtv, ok := value.(string) @@ -16897,6 +17343,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.TokenValue = ptr.String(jtv) } + default: _, _ = key, value @@ -16936,6 +17383,7 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Name = types.SettingName(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -16944,6 +17392,7 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.PrincipalArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16952,6 +17401,7 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Type = types.SettingType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -16960,6 +17410,7 @@ func awsAwsjson11_deserializeDocumentSetting(v **types.Setting, value interface{ } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17139,6 +17590,7 @@ func awsAwsjson11_deserializeDocumentSystemControl(v **types.SystemControl, valu } sv.Namespace = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17147,6 +17599,7 @@ func awsAwsjson11_deserializeDocumentSystemControl(v **types.SystemControl, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17220,6 +17673,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17228,6 +17682,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17301,6 +17756,7 @@ func awsAwsjson11_deserializeDocumentTargetNotConnectedException(v **types.Targe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17340,6 +17796,7 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17375,10 +17832,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err if err := awsAwsjson11_deserializeDocumentAttachments(&sv.Attachments, value); err != nil { return err } + case "attributes": if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -17387,6 +17846,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } + case "capacityProviderName": if value != nil { jtv, ok := value.(string) @@ -17395,6 +17855,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.CapacityProviderName = ptr.String(jtv) } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -17403,6 +17864,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ClusterArn = ptr.String(jtv) } + case "connectivity": if value != nil { jtv, ok := value.(string) @@ -17411,6 +17873,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Connectivity = types.Connectivity(jtv) } + case "connectivityAt": if value != nil { switch jtv := value.(type) { @@ -17426,6 +17889,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "containerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -17434,10 +17898,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ContainerInstanceArn = ptr.String(jtv) } + case "containers": if err := awsAwsjson11_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(string) @@ -17446,6 +17912,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Cpu = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -17461,6 +17928,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "desiredStatus": if value != nil { jtv, ok := value.(string) @@ -17469,6 +17937,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.DesiredStatus = ptr.String(jtv) } + case "enableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -17477,10 +17946,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.EnableExecuteCommand = jtv } + case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionStoppedAt": if value != nil { switch jtv := value.(type) { @@ -17496,10 +17967,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentTaskEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } + case "group": if value != nil { jtv, ok := value.(string) @@ -17508,6 +17981,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Group = ptr.String(jtv) } + case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -17516,10 +17990,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.HealthStatus = types.HealthStatus(jtv) } + case "inferenceAccelerators": if err := awsAwsjson11_deserializeDocumentInferenceAccelerators(&sv.InferenceAccelerators, value); err != nil { return err } + case "lastStatus": if value != nil { jtv, ok := value.(string) @@ -17528,6 +18004,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.LastStatus = ptr.String(jtv) } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -17536,6 +18013,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.LaunchType = types.LaunchType(jtv) } + case "memory": if value != nil { jtv, ok := value.(string) @@ -17544,10 +18022,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Memory = ptr.String(jtv) } + case "overrides": if err := awsAwsjson11_deserializeDocumentTaskOverride(&sv.Overrides, value); err != nil { return err } + case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -17556,6 +18036,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.PlatformFamily = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -17564,6 +18045,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.PlatformVersion = ptr.String(jtv) } + case "pullStartedAt": if value != nil { switch jtv := value.(type) { @@ -17579,6 +18061,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "pullStoppedAt": if value != nil { switch jtv := value.(type) { @@ -17594,6 +18077,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -17609,6 +18093,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -17617,6 +18102,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StartedBy = ptr.String(jtv) } + case "stopCode": if value != nil { jtv, ok := value.(string) @@ -17625,6 +18111,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StopCode = types.TaskStopCode(jtv) } + case "stoppedAt": if value != nil { switch jtv := value.(type) { @@ -17640,6 +18127,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "stoppedReason": if value != nil { jtv, ok := value.(string) @@ -17648,6 +18136,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StoppedReason = ptr.String(jtv) } + case "stoppingAt": if value != nil { switch jtv := value.(type) { @@ -17663,10 +18152,12 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -17675,6 +18166,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskArn = ptr.String(jtv) } + case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -17683,6 +18175,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.TaskDefinitionArn = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17695,6 +18188,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Version = i64 } + default: _, _ = key, value @@ -17730,10 +18224,12 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va if err := awsAwsjson11_deserializeDocumentCompatibilityList(&sv.Compatibilities, value); err != nil { return err } + case "containerDefinitions": if err := awsAwsjson11_deserializeDocumentContainerDefinitions(&sv.ContainerDefinitions, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(string) @@ -17742,6 +18238,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Cpu = ptr.String(jtv) } + case "deregisteredAt": if value != nil { switch jtv := value.(type) { @@ -17757,10 +18254,12 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } } + case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -17769,6 +18268,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.ExecutionRoleArn = ptr.String(jtv) } + case "family": if value != nil { jtv, ok := value.(string) @@ -17777,10 +18277,12 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Family = ptr.String(jtv) } + case "inferenceAccelerators": if err := awsAwsjson11_deserializeDocumentInferenceAccelerators(&sv.InferenceAccelerators, value); err != nil { return err } + case "ipcMode": if value != nil { jtv, ok := value.(string) @@ -17789,6 +18291,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.IpcMode = types.IpcMode(jtv) } + case "memory": if value != nil { jtv, ok := value.(string) @@ -17797,6 +18300,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Memory = ptr.String(jtv) } + case "networkMode": if value != nil { jtv, ok := value.(string) @@ -17805,6 +18309,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.NetworkMode = types.NetworkMode(jtv) } + case "pidMode": if value != nil { jtv, ok := value.(string) @@ -17813,14 +18318,17 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.PidMode = types.PidMode(jtv) } + case "placementConstraints": if err := awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "proxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } + case "registeredAt": if value != nil { switch jtv := value.(type) { @@ -17836,6 +18344,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } } + case "registeredBy": if value != nil { jtv, ok := value.(string) @@ -17844,14 +18353,17 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.RegisteredBy = ptr.String(jtv) } + case "requiresAttributes": if err := awsAwsjson11_deserializeDocumentRequiresAttributes(&sv.RequiresAttributes, value); err != nil { return err } + case "requiresCompatibilities": if err := awsAwsjson11_deserializeDocumentCompatibilityList(&sv.RequiresCompatibilities, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -17864,10 +18376,12 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Revision = int32(i64) } + case "runtimePlatform": if err := awsAwsjson11_deserializeDocumentRuntimePlatform(&sv.RuntimePlatform, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -17876,6 +18390,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.Status = types.TaskDefinitionStatus(jtv) } + case "taskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -17884,6 +18399,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.TaskDefinitionArn = ptr.String(jtv) } + case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -17892,10 +18408,12 @@ func awsAwsjson11_deserializeDocumentTaskDefinition(v **types.TaskDefinition, va } sv.TaskRoleArn = ptr.String(jtv) } + case "volumes": if err := awsAwsjson11_deserializeDocumentVolumeList(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -17969,6 +18487,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraint(v **types } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -17977,6 +18496,7 @@ func awsAwsjson11_deserializeDocumentTaskDefinitionPlacementConstraint(v **types } sv.Type = types.TaskDefinitionPlacementConstraintType(jtv) } + default: _, _ = key, value @@ -18050,6 +18570,7 @@ func awsAwsjson11_deserializeDocumentTaskEphemeralStorage(v **types.TaskEphemera } sv.KmsKeyId = ptr.String(jtv) } + case "sizeInGiB": if value != nil { jtv, ok := value.(json.Number) @@ -18062,6 +18583,7 @@ func awsAwsjson11_deserializeDocumentTaskEphemeralStorage(v **types.TaskEphemera } sv.SizeInGiB = int32(i64) } + default: _, _ = key, value @@ -18097,6 +18619,7 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value if err := awsAwsjson11_deserializeDocumentContainerOverrides(&sv.ContainerOverrides, value); err != nil { return err } + case "cpu": if value != nil { jtv, ok := value.(string) @@ -18105,10 +18628,12 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.Cpu = ptr.String(jtv) } + case "ephemeralStorage": if err := awsAwsjson11_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -18117,10 +18642,12 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.ExecutionRoleArn = ptr.String(jtv) } + case "inferenceAcceleratorOverrides": if err := awsAwsjson11_deserializeDocumentInferenceAcceleratorOverrides(&sv.InferenceAcceleratorOverrides, value); err != nil { return err } + case "memory": if value != nil { jtv, ok := value.(string) @@ -18129,6 +18656,7 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.Memory = ptr.String(jtv) } + case "taskRoleArn": if value != nil { jtv, ok := value.(string) @@ -18137,6 +18665,7 @@ func awsAwsjson11_deserializeDocumentTaskOverride(v **types.TaskOverride, value } sv.TaskRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18206,6 +18735,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -18214,6 +18744,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "computedDesiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -18226,6 +18757,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ComputedDesiredCount = int32(i64) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -18241,6 +18773,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -18249,10 +18782,12 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ExternalId = ptr.String(jtv) } + case "fargateEphemeralStorage": if err := awsAwsjson11_deserializeDocumentDeploymentEphemeralStorage(&sv.FargateEphemeralStorage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -18261,6 +18796,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.Id = ptr.String(jtv) } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -18269,14 +18805,17 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.LaunchType = types.LaunchType(jtv) } + case "loadBalancers": if err := awsAwsjson11_deserializeDocumentLoadBalancers(&sv.LoadBalancers, value); err != nil { return err } + case "networkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "pendingCount": if value != nil { jtv, ok := value.(json.Number) @@ -18289,6 +18828,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PendingCount = int32(i64) } + case "platformFamily": if value != nil { jtv, ok := value.(string) @@ -18297,6 +18837,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PlatformFamily = ptr.String(jtv) } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -18305,6 +18846,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.PlatformVersion = ptr.String(jtv) } + case "runningCount": if value != nil { jtv, ok := value.(json.Number) @@ -18317,10 +18859,12 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.RunningCount = int32(i64) } + case "scale": if err := awsAwsjson11_deserializeDocumentScale(&sv.Scale, value); err != nil { return err } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -18329,10 +18873,12 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.ServiceArn = ptr.String(jtv) } + case "serviceRegistries": if err := awsAwsjson11_deserializeDocumentServiceRegistries(&sv.ServiceRegistries, value); err != nil { return err } + case "stabilityStatus": if value != nil { jtv, ok := value.(string) @@ -18341,6 +18887,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.StabilityStatus = types.StabilityStatus(jtv) } + case "stabilityStatusAt": if value != nil { switch jtv := value.(type) { @@ -18356,6 +18903,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -18364,6 +18912,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.StartedBy = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18372,10 +18921,12 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.Status = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskDefinition": if value != nil { jtv, ok := value.(string) @@ -18384,6 +18935,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.TaskDefinition = ptr.String(jtv) } + case "taskSetArn": if value != nil { jtv, ok := value.(string) @@ -18392,6 +18944,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } sv.TaskSetArn = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -18407,6 +18960,7 @@ func awsAwsjson11_deserializeDocumentTaskSet(v **types.TaskSet, value interface{ } } + default: _, _ = key, value @@ -18446,6 +19000,7 @@ func awsAwsjson11_deserializeDocumentTaskSetNotFoundException(v **types.TaskSetN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18523,6 +19078,7 @@ func awsAwsjson11_deserializeDocumentTimeoutConfiguration(v **types.TimeoutConfi } sv.IdleTimeoutSeconds = ptr.Int32(int32(i64)) } + case "perRequestTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18535,6 +19091,7 @@ func awsAwsjson11_deserializeDocumentTimeoutConfiguration(v **types.TimeoutConfi } sv.PerRequestTimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18574,10 +19131,12 @@ func awsAwsjson11_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.ContainerPath = ptr.String(jtv) } + case "mountOptions": if err := awsAwsjson11_deserializeDocumentStringList(&sv.MountOptions, value); err != nil { return err } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -18590,6 +19149,7 @@ func awsAwsjson11_deserializeDocumentTmpfs(v **types.Tmpfs, value interface{}) e } sv.Size = int32(i64) } + default: _, _ = key, value @@ -18667,6 +19227,7 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.HardLimit = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18675,6 +19236,7 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.Name = types.UlimitName(jtv) } + case "softLimit": if value != nil { jtv, ok := value.(json.Number) @@ -18687,6 +19249,7 @@ func awsAwsjson11_deserializeDocumentUlimit(v **types.Ulimit, value interface{}) } sv.SoftLimit = int32(i64) } + default: _, _ = key, value @@ -18760,6 +19323,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18799,6 +19363,7 @@ func awsAwsjson11_deserializeDocumentUpdateInProgressException(v **types.UpdateI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18838,6 +19403,7 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.AgentHash = ptr.String(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -18846,6 +19412,7 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.AgentVersion = ptr.String(jtv) } + case "dockerVersion": if value != nil { jtv, ok := value.(string) @@ -18854,6 +19421,7 @@ func awsAwsjson11_deserializeDocumentVersionInfo(v **types.VersionInfo, value in } sv.DockerVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -18893,22 +19461,27 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.ConfiguredAtLaunch = ptr.Bool(jtv) } + case "dockerVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentDockerVolumeConfiguration(&sv.DockerVolumeConfiguration, value); err != nil { return err } + case "efsVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentEFSVolumeConfiguration(&sv.EfsVolumeConfiguration, value); err != nil { return err } + case "fsxWindowsFileServerVolumeConfiguration": if err := awsAwsjson11_deserializeDocumentFSxWindowsFileServerVolumeConfiguration(&sv.FsxWindowsFileServerVolumeConfiguration, value); err != nil { return err } + case "host": if err := awsAwsjson11_deserializeDocumentHostVolumeProperties(&sv.Host, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18917,6 +19490,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18956,6 +19530,7 @@ func awsAwsjson11_deserializeDocumentVolumeFrom(v **types.VolumeFrom, value inte } sv.ReadOnly = ptr.Bool(jtv) } + case "sourceContainer": if value != nil { jtv, ok := value.(string) @@ -18964,6 +19539,7 @@ func awsAwsjson11_deserializeDocumentVolumeFrom(v **types.VolumeFrom, value inte } sv.SourceContainer = ptr.String(jtv) } + default: _, _ = key, value @@ -19067,6 +19643,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCapacityProviderOutput(v **CreateCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -19102,6 +19679,7 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -19137,6 +19715,7 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -19172,6 +19751,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTaskSetOutput(v **CreateTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } + default: _, _ = key, value @@ -19207,6 +19787,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountSettingOutput(v **DeleteAcco if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } + default: _, _ = key, value @@ -19242,6 +19823,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAttributesOutput(v **DeleteAttribut if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -19277,6 +19859,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCapacityProviderOutput(v **DeleteCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -19312,6 +19895,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -19347,6 +19931,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -19382,10 +19967,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteTaskDefinitionsOutput(v **DeleteTas if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "taskDefinitions": if err := awsAwsjson11_deserializeDocumentTaskDefinitionList(&sv.TaskDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -19421,6 +20008,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTaskSetOutput(v **DeleteTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } + default: _, _ = key, value @@ -19456,6 +20044,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterContainerInstanceOutput(v **Der if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } + default: _, _ = key, value @@ -19491,6 +20080,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskDefinitionOutput(v **Deregi if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -19526,10 +20116,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCapacityProvidersOutput(v **Descr if err := awsAwsjson11_deserializeDocumentCapacityProviders(&sv.CapacityProviders, value); err != nil { return err } + case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -19538,6 +20130,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCapacityProvidersOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19573,10 +20166,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusters(&sv.Clusters, value); err != nil { return err } + case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -19612,10 +20207,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerInstancesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentContainerInstances(&sv.ContainerInstances, value); err != nil { return err } + case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -19651,10 +20248,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceDeploymentsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "serviceDeployments": if err := awsAwsjson11_deserializeDocumentServiceDeployments(&sv.ServiceDeployments, value); err != nil { return err } + default: _, _ = key, value @@ -19690,10 +20289,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceRevisionsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "serviceRevisions": if err := awsAwsjson11_deserializeDocumentServiceRevisions(&sv.ServiceRevisions, value); err != nil { return err } + default: _, _ = key, value @@ -19729,10 +20330,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "services": if err := awsAwsjson11_deserializeDocumentServices(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -19768,10 +20371,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskDefinitionOutput(v **Describe if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskDefinition": if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -19807,10 +20412,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTaskSetsOutput(v **DescribeTaskSe if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "taskSets": if err := awsAwsjson11_deserializeDocumentTaskSets(&sv.TaskSets, value); err != nil { return err } + default: _, _ = key, value @@ -19846,10 +20453,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTasksOutput(v **DescribeTasksOutp if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -19889,6 +20498,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.Endpoint = ptr.String(jtv) } + case "serviceConnectEndpoint": if value != nil { jtv, ok := value.(string) @@ -19897,6 +20507,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.ServiceConnectEndpoint = ptr.String(jtv) } + case "telemetryEndpoint": if value != nil { jtv, ok := value.(string) @@ -19905,6 +20516,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverPollEndpointOutput(v **DiscoverPo } sv.TelemetryEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -19944,6 +20556,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ClusterArn = ptr.String(jtv) } + case "containerArn": if value != nil { jtv, ok := value.(string) @@ -19952,6 +20565,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ContainerArn = ptr.String(jtv) } + case "containerName": if value != nil { jtv, ok := value.(string) @@ -19960,6 +20574,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.ContainerName = ptr.String(jtv) } + case "interactive": if value != nil { jtv, ok := value.(bool) @@ -19968,10 +20583,12 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.Interactive = jtv } + case "session": if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -19980,6 +20597,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteCommandOutput(v **ExecuteCommandOu } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20015,10 +20633,12 @@ func awsAwsjson11_deserializeOpDocumentGetTaskProtectionOutput(v **GetTaskProtec if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "protectedTasks": if err := awsAwsjson11_deserializeDocumentProtectedTasks(&sv.ProtectedTasks, value); err != nil { return err } + default: _, _ = key, value @@ -20058,10 +20678,12 @@ func awsAwsjson11_deserializeOpDocumentListAccountSettingsOutput(v **ListAccount } sv.NextToken = ptr.String(jtv) } + case "settings": if err := awsAwsjson11_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -20097,6 +20719,7 @@ func awsAwsjson11_deserializeOpDocumentListAttributesOutput(v **ListAttributesOu if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20105,6 +20728,7 @@ func awsAwsjson11_deserializeOpDocumentListAttributesOutput(v **ListAttributesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20140,6 +20764,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentStringList(&sv.ClusterArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20148,6 +20773,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20183,6 +20809,7 @@ func awsAwsjson11_deserializeOpDocumentListContainerInstancesOutput(v **ListCont if err := awsAwsjson11_deserializeDocumentStringList(&sv.ContainerInstanceArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20191,6 +20818,7 @@ func awsAwsjson11_deserializeOpDocumentListContainerInstancesOutput(v **ListCont } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20230,10 +20858,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceDeploymentsOutput(v **ListServ } sv.NextToken = ptr.String(jtv) } + case "serviceDeployments": if err := awsAwsjson11_deserializeDocumentServiceDeploymentsBrief(&sv.ServiceDeployments, value); err != nil { return err } + default: _, _ = key, value @@ -20273,10 +20903,12 @@ func awsAwsjson11_deserializeOpDocumentListServicesByNamespaceOutput(v **ListSer } sv.NextToken = ptr.String(jtv) } + case "serviceArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ServiceArns, value); err != nil { return err } + default: _, _ = key, value @@ -20316,10 +20948,12 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "serviceArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ServiceArns, value); err != nil { return err } + default: _, _ = key, value @@ -20355,6 +20989,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20390,6 +21025,7 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionFamiliesOutput(v **List if err := awsAwsjson11_deserializeDocumentStringList(&sv.Families, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -20398,6 +21034,7 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionFamiliesOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20437,10 +21074,12 @@ func awsAwsjson11_deserializeOpDocumentListTaskDefinitionsOutput(v **ListTaskDef } sv.NextToken = ptr.String(jtv) } + case "taskDefinitionArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TaskDefinitionArns, value); err != nil { return err } + default: _, _ = key, value @@ -20480,10 +21119,12 @@ func awsAwsjson11_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } + case "taskArns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.TaskArns, value); err != nil { return err } + default: _, _ = key, value @@ -20519,6 +21160,7 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingDefaultOutput(v **PutAcc if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } + default: _, _ = key, value @@ -20554,6 +21196,7 @@ func awsAwsjson11_deserializeOpDocumentPutAccountSettingOutput(v **PutAccountSet if err := awsAwsjson11_deserializeDocumentSetting(&sv.Setting, value); err != nil { return err } + default: _, _ = key, value @@ -20589,6 +21232,7 @@ func awsAwsjson11_deserializeOpDocumentPutAttributesOutput(v **PutAttributesOutp if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -20624,6 +21268,7 @@ func awsAwsjson11_deserializeOpDocumentPutClusterCapacityProvidersOutput(v **Put if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -20659,6 +21304,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterContainerInstanceOutput(v **Regis if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } + default: _, _ = key, value @@ -20694,10 +21340,12 @@ func awsAwsjson11_deserializeOpDocumentRegisterTaskDefinitionOutput(v **Register if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskDefinition": if err := awsAwsjson11_deserializeDocumentTaskDefinition(&sv.TaskDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -20733,10 +21381,12 @@ func awsAwsjson11_deserializeOpDocumentRunTaskOutput(v **RunTaskOutput, value in if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -20772,10 +21422,12 @@ func awsAwsjson11_deserializeOpDocumentStartTaskOutput(v **StartTaskOutput, valu if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "tasks": if err := awsAwsjson11_deserializeDocumentTasks(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -20811,6 +21463,7 @@ func awsAwsjson11_deserializeOpDocumentStopTaskOutput(v **StopTaskOutput, value if err := awsAwsjson11_deserializeDocumentTask(&sv.Task, value); err != nil { return err } + default: _, _ = key, value @@ -20850,6 +21503,7 @@ func awsAwsjson11_deserializeOpDocumentSubmitAttachmentStateChangesOutput(v **Su } sv.Acknowledgment = ptr.String(jtv) } + default: _, _ = key, value @@ -20889,6 +21543,7 @@ func awsAwsjson11_deserializeOpDocumentSubmitContainerStateChangeOutput(v **Subm } sv.Acknowledgment = ptr.String(jtv) } + default: _, _ = key, value @@ -20928,6 +21583,7 @@ func awsAwsjson11_deserializeOpDocumentSubmitTaskStateChangeOutput(v **SubmitTas } sv.Acknowledgment = ptr.String(jtv) } + default: _, _ = key, value @@ -21025,6 +21681,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCapacityProviderOutput(v **UpdateCa if err := awsAwsjson11_deserializeDocumentCapacityProvider(&sv.CapacityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -21060,6 +21717,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -21095,6 +21753,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterSettingsOutput(v **UpdateClu if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -21130,6 +21789,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerAgentOutput(v **UpdateCont if err := awsAwsjson11_deserializeDocumentContainerInstance(&sv.ContainerInstance, value); err != nil { return err } + default: _, _ = key, value @@ -21165,10 +21825,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerInstancesStateOutput(v **U if err := awsAwsjson11_deserializeDocumentContainerInstances(&sv.ContainerInstances, value); err != nil { return err } + case "failures": if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -21204,6 +21866,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -21239,6 +21902,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServicePrimaryTaskSetOutput(v **Upd if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } + default: _, _ = key, value @@ -21274,10 +21938,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateTaskProtectionOutput(v **UpdateTask if err := awsAwsjson11_deserializeDocumentFailures(&sv.Failures, value); err != nil { return err } + case "protectedTasks": if err := awsAwsjson11_deserializeDocumentProtectedTasks(&sv.ProtectedTasks, value); err != nil { return err } + default: _, _ = key, value @@ -21313,6 +21979,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTaskSetOutput(v **UpdateTaskSetOutp if err := awsAwsjson11_deserializeDocumentTaskSet(&sv.TaskSet, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/efs/deserializers.go b/service/efs/deserializers.go index d28190df9f0..7f97794d3c9 100644 --- a/service/efs/deserializers.go +++ b/service/efs/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.AccessPointArn = ptr.String(jtv) } + case "AccessPointId": if value != nil { jtv, ok := value.(string) @@ -203,6 +204,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.AccessPointId = ptr.String(jtv) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -211,6 +213,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.ClientToken = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -219,6 +222,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.FileSystemId = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -227,6 +231,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -235,6 +240,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -243,18 +249,22 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPointOutput(v **CreateAccessP } sv.OwnerId = ptr.String(jtv) } + case "PosixUser": if err := awsRestjson1_deserializeDocumentPosixUser(&sv.PosixUser, value); err != nil { return err } + case "RootDirectory": if err := awsRestjson1_deserializeDocumentRootDirectory(&sv.RootDirectory, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -428,6 +438,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -436,6 +447,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.AvailabilityZoneName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -451,6 +463,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } } + case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -459,6 +472,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.CreationToken = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -467,6 +481,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.Encrypted = ptr.Bool(jtv) } + case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -475,6 +490,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.FileSystemArn = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -483,10 +499,12 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -495,6 +513,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.KmsKeyId = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -503,6 +522,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -511,6 +531,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.Name = ptr.String(jtv) } + case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -523,6 +544,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.NumberOfMountTargets = int32(i64) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -531,6 +553,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.OwnerId = ptr.String(jtv) } + case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -539,6 +562,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.PerformanceMode = types.PerformanceMode(jtv) } + case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -572,14 +596,17 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } } + case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -588,6 +615,7 @@ func awsRestjson1_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst } sv.ThroughputMode = types.ThroughputMode(jtv) } + default: _, _ = key, value @@ -779,6 +807,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -787,6 +816,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.AvailabilityZoneName = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -795,6 +825,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.FileSystemId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -803,6 +834,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.IpAddress = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -811,6 +843,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "MountTargetId": if value != nil { jtv, ok := value.(string) @@ -819,6 +852,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.MountTargetId = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -827,6 +861,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.NetworkInterfaceId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -835,6 +870,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.OwnerId = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -843,6 +879,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -851,6 +888,7 @@ func awsRestjson1_deserializeOpDocumentCreateMountTargetOutput(v **CreateMountTa } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1043,10 +1081,12 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } } + case "Destinations": if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "OriginalSourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -1055,6 +1095,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.OriginalSourceFileSystemArn = ptr.String(jtv) } + case "SourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -1063,6 +1104,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemArn = ptr.String(jtv) } + case "SourceFileSystemId": if value != nil { jtv, ok := value.(string) @@ -1071,6 +1113,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemId = ptr.String(jtv) } + case "SourceFileSystemRegion": if value != nil { jtv, ok := value.(string) @@ -1079,6 +1122,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationOutput(v ** } sv.SourceFileSystemRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -1951,6 +1995,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPointsOutput(v **DescribeAc if err := awsRestjson1_deserializeDocumentAccessPointDescriptions(&sv.AccessPoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1959,6 +2004,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPointsOutput(v **DescribeAc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2114,10 +2160,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountPreferencesOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + case "ResourceIdPreference": if err := awsRestjson1_deserializeDocumentResourceIdPreference(&sv.ResourceIdPreference, value); err != nil { return err } + default: _, _ = key, value @@ -2281,6 +2329,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBackupPolicyOutput(v **DescribeBa if err := awsRestjson1_deserializeDocumentBackupPolicy(&sv.BackupPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -2445,6 +2494,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemPolicyOutput(v **Descri } sv.FileSystemId = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -2453,6 +2503,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemPolicyOutput(v **Descri } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -2610,6 +2661,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil if err := awsRestjson1_deserializeDocumentFileSystemDescriptions(&sv.FileSystems, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -2618,6 +2670,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.Marker = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -2626,6 +2679,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -2783,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLifecycleConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentLifecyclePolicies(&sv.LifecyclePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -2950,10 +3005,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetsOutput(v **DescribeMo } sv.Marker = ptr.String(jtv) } + case "MountTargets": if err := awsRestjson1_deserializeDocumentMountTargetDescriptions(&sv.MountTargets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -2962,6 +3019,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetsOutput(v **DescribeMo } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -3122,6 +3180,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMountTargetSecurityGroupsOutput(v if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -3289,10 +3348,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "Replications": if err := awsRestjson1_deserializeDocumentReplicationConfigurationDescriptions(&sv.Replications, value); err != nil { return err } + default: _, _ = key, value @@ -3454,6 +3515,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.Marker = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -3462,10 +3524,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.NextMarker = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3630,10 +3694,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3897,6 +3963,7 @@ func awsRestjson1_deserializeOpDocumentPutAccountPreferencesOutput(v **PutAccoun if err := awsRestjson1_deserializeDocumentResourceIdPreference(&sv.ResourceIdPreference, value); err != nil { return err } + default: _, _ = key, value @@ -4060,6 +4127,7 @@ func awsRestjson1_deserializeOpDocumentPutBackupPolicyOutput(v **PutBackupPolicy if err := awsRestjson1_deserializeDocumentBackupPolicy(&sv.BackupPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -4227,6 +4295,7 @@ func awsRestjson1_deserializeOpDocumentPutFileSystemPolicyOutput(v **PutFileSyst } sv.FileSystemId = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -4235,6 +4304,7 @@ func awsRestjson1_deserializeOpDocumentPutFileSystemPolicyOutput(v **PutFileSyst } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -4395,6 +4465,7 @@ func awsRestjson1_deserializeOpDocumentPutLifecycleConfigurationOutput(v **PutLi if err := awsRestjson1_deserializeDocumentLifecyclePolicies(&sv.LifecyclePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -4774,6 +4845,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -4782,6 +4854,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.AvailabilityZoneName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4797,6 +4870,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } } + case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -4805,6 +4879,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.CreationToken = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -4813,6 +4888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.Encrypted = ptr.Bool(jtv) } + case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -4821,6 +4897,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.FileSystemArn = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -4829,10 +4906,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4920,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.KmsKeyId = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -4849,6 +4929,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4857,6 +4938,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.Name = ptr.String(jtv) } + case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -4869,6 +4951,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.NumberOfMountTargets = int32(i64) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -4877,6 +4960,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.OwnerId = ptr.String(jtv) } + case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -4885,6 +4969,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.PerformanceMode = types.PerformanceMode(jtv) } + case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -4918,14 +5003,17 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } } + case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -4934,6 +5022,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst } sv.ThroughputMode = types.ThroughputMode(jtv) } + default: _, _ = key, value @@ -5110,6 +5199,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFileSystemProtectionOutput(v **Upda } sv.ReplicationOverwriteProtection = types.ReplicationOverwriteProtection(jtv) } + default: _, _ = key, value @@ -6301,6 +6391,7 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.AccessPointId = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -6309,6 +6400,7 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6317,6 +6409,7 @@ func awsRestjson1_deserializeDocumentAccessPointAlreadyExists(v **types.AccessPo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6356,6 +6449,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.AccessPointArn = ptr.String(jtv) } + case "AccessPointId": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6458,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.AccessPointId = ptr.String(jtv) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6467,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.ClientToken = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -6380,6 +6476,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.FileSystemId = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -6388,6 +6485,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6396,6 +6494,7 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -6404,18 +6503,22 @@ func awsRestjson1_deserializeDocumentAccessPointDescription(v **types.AccessPoin } sv.OwnerId = ptr.String(jtv) } + case "PosixUser": if err := awsRestjson1_deserializeDocumentPosixUser(&sv.PosixUser, value); err != nil { return err } + case "RootDirectory": if err := awsRestjson1_deserializeDocumentRootDirectory(&sv.RootDirectory, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6489,6 +6592,7 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6497,6 +6601,7 @@ func awsRestjson1_deserializeDocumentAccessPointLimitExceeded(v **types.AccessPo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6536,6 +6641,7 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6544,6 +6650,7 @@ func awsRestjson1_deserializeDocumentAccessPointNotFound(v **types.AccessPointNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6583,6 +6690,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6591,6 +6699,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZonesMismatch(v **types.Availab } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6630,6 +6739,7 @@ func awsRestjson1_deserializeDocumentBackupPolicy(v **types.BackupPolicy, value } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -6669,6 +6779,7 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6788,7 @@ func awsRestjson1_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6716,6 +6828,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6724,6 +6837,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6767,6 +6881,7 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.OwnerGid = ptr.Int64(i64) } + case "OwnerUid": if value != nil { jtv, ok := value.(json.Number) @@ -6779,6 +6894,7 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.OwnerUid = ptr.Int64(i64) } + case "Permissions": if value != nil { jtv, ok := value.(string) @@ -6787,6 +6903,7 @@ func awsRestjson1_deserializeDocumentCreationInfo(v **types.CreationInfo, value } sv.Permissions = ptr.String(jtv) } + default: _, _ = key, value @@ -6826,6 +6943,7 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6834,6 +6952,7 @@ func awsRestjson1_deserializeDocumentDependencyTimeout(v **types.DependencyTimeo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6873,6 +6992,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.FileSystemId = ptr.String(jtv) } + case "LastReplicatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6888,6 +7008,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } } + case "Region": if value != nil { jtv, ok := value.(string) @@ -6896,6 +7017,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Region = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6904,6 +7026,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Status = types.ReplicationStatus(jtv) } + default: _, _ = key, value @@ -6977,6 +7100,7 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.ErrorCode_ = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -6985,6 +7109,7 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.FileSystemId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6993,6 +7118,7 @@ func awsRestjson1_deserializeDocumentFileSystemAlreadyExists(v **types.FileSyste } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7032,6 +7158,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -7040,6 +7167,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.AvailabilityZoneName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7055,6 +7183,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } } + case "CreationToken": if value != nil { jtv, ok := value.(string) @@ -7063,6 +7192,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.CreationToken = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -7071,6 +7201,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.Encrypted = ptr.Bool(jtv) } + case "FileSystemArn": if value != nil { jtv, ok := value.(string) @@ -7079,6 +7210,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.FileSystemArn = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -7087,10 +7219,12 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemProtection": if err := awsRestjson1_deserializeDocumentFileSystemProtectionDescription(&sv.FileSystemProtection, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7233,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.KmsKeyId = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -7107,6 +7242,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7251,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.Name = ptr.String(jtv) } + case "NumberOfMountTargets": if value != nil { jtv, ok := value.(json.Number) @@ -7127,6 +7264,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.NumberOfMountTargets = int32(i64) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -7135,6 +7273,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.OwnerId = ptr.String(jtv) } + case "PerformanceMode": if value != nil { jtv, ok := value.(string) @@ -7143,6 +7282,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.PerformanceMode = types.PerformanceMode(jtv) } + case "ProvisionedThroughputInMibps": if value != nil { switch jtv := value.(type) { @@ -7176,14 +7316,17 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } } + case "SizeInBytes": if err := awsRestjson1_deserializeDocumentFileSystemSize(&sv.SizeInBytes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -7192,6 +7335,7 @@ func awsRestjson1_deserializeDocumentFileSystemDescription(v **types.FileSystemD } sv.ThroughputMode = types.ThroughputMode(jtv) } + default: _, _ = key, value @@ -7265,6 +7409,7 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7273,6 +7418,7 @@ func awsRestjson1_deserializeDocumentFileSystemInUse(v **types.FileSystemInUse, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7312,6 +7458,7 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7320,6 +7467,7 @@ func awsRestjson1_deserializeDocumentFileSystemLimitExceeded(v **types.FileSyste } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7359,6 +7507,7 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7367,6 +7516,7 @@ func awsRestjson1_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7406,6 +7556,7 @@ func awsRestjson1_deserializeDocumentFileSystemProtectionDescription(v **types.F } sv.ReplicationOverwriteProtection = types.ReplicationOverwriteProtection(jtv) } + default: _, _ = key, value @@ -7452,6 +7603,7 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -7464,6 +7616,7 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.Value = i64 } + case "ValueInArchive": if value != nil { jtv, ok := value.(json.Number) @@ -7476,6 +7629,7 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInArchive = ptr.Int64(i64) } + case "ValueInIA": if value != nil { jtv, ok := value.(json.Number) @@ -7488,6 +7642,7 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInIA = ptr.Int64(i64) } + case "ValueInStandard": if value != nil { jtv, ok := value.(json.Number) @@ -7500,6 +7655,7 @@ func awsRestjson1_deserializeDocumentFileSystemSize(v **types.FileSystemSize, va } sv.ValueInStandard = ptr.Int64(i64) } + default: _, _ = key, value @@ -7539,6 +7695,7 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7547,6 +7704,7 @@ func awsRestjson1_deserializeDocumentIncorrectFileSystemLifeCycleState(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7586,6 +7744,7 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7594,6 +7753,7 @@ func awsRestjson1_deserializeDocumentIncorrectMountTargetState(v **types.Incorre } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7633,6 +7793,7 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7641,6 +7802,7 @@ func awsRestjson1_deserializeDocumentInsufficientThroughputCapacity(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7680,6 +7842,7 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7688,6 +7851,7 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7727,6 +7891,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7735,6 +7900,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7774,6 +7940,7 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7782,6 +7949,7 @@ func awsRestjson1_deserializeDocumentIpAddressInUse(v **types.IpAddressInUse, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7855,6 +8023,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToArchive = types.TransitionToArchiveRules(jtv) } + case "TransitionToIA": if value != nil { jtv, ok := value.(string) @@ -7863,6 +8032,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToIA = types.TransitionToIARules(jtv) } + case "TransitionToPrimaryStorageClass": if value != nil { jtv, ok := value.(string) @@ -7871,6 +8041,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.TransitionToPrimaryStorageClass = types.TransitionToPrimaryStorageClassRules(jtv) } + default: _, _ = key, value @@ -7910,6 +8081,7 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7918,6 +8090,7 @@ func awsRestjson1_deserializeDocumentMountTargetConflict(v **types.MountTargetCo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7957,6 +8130,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailabilityZoneName": if value != nil { jtv, ok := value.(string) @@ -7965,6 +8139,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.AvailabilityZoneName = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -7973,6 +8148,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.FileSystemId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -7981,6 +8157,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.IpAddress = ptr.String(jtv) } + case "LifeCycleState": if value != nil { jtv, ok := value.(string) @@ -7989,6 +8166,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.LifeCycleState = types.LifeCycleState(jtv) } + case "MountTargetId": if value != nil { jtv, ok := value.(string) @@ -7997,6 +8175,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.MountTargetId = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8005,6 +8184,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.NetworkInterfaceId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -8013,6 +8193,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.OwnerId = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -8021,6 +8202,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8029,6 +8211,7 @@ func awsRestjson1_deserializeDocumentMountTargetDescription(v **types.MountTarge } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8102,6 +8285,7 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8110,6 +8294,7 @@ func awsRestjson1_deserializeDocumentMountTargetNotFound(v **types.MountTargetNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8149,6 +8334,7 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8157,6 +8343,7 @@ func awsRestjson1_deserializeDocumentNetworkInterfaceLimitExceeded(v **types.Net } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8196,6 +8383,7 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8204,6 +8392,7 @@ func awsRestjson1_deserializeDocumentNoFreeAddressesInSubnet(v **types.NoFreeAdd } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8243,6 +8432,7 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8251,6 +8441,7 @@ func awsRestjson1_deserializeDocumentPolicyNotFound(v **types.PolicyNotFound, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8294,10 +8485,12 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Gid = ptr.Int64(i64) } + case "SecondaryGids": if err := awsRestjson1_deserializeDocumentSecondaryGids(&sv.SecondaryGids, value); err != nil { return err } + case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -8310,6 +8503,7 @@ func awsRestjson1_deserializeDocumentPosixUser(v **types.PosixUser, value interf } sv.Uid = ptr.Int64(i64) } + default: _, _ = key, value @@ -8349,6 +8543,7 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8357,6 +8552,7 @@ func awsRestjson1_deserializeDocumentReplicationAlreadyExists(v **types.Replicat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8403,10 +8599,12 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } } + case "Destinations": if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "OriginalSourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -8415,6 +8613,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.OriginalSourceFileSystemArn = ptr.String(jtv) } + case "SourceFileSystemArn": if value != nil { jtv, ok := value.(string) @@ -8423,6 +8622,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemArn = ptr.String(jtv) } + case "SourceFileSystemId": if value != nil { jtv, ok := value.(string) @@ -8431,6 +8631,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemId = ptr.String(jtv) } + case "SourceFileSystemRegion": if value != nil { jtv, ok := value.(string) @@ -8439,6 +8640,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationDescription(v **typ } sv.SourceFileSystemRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -8512,6 +8714,7 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8520,6 +8723,7 @@ func awsRestjson1_deserializeDocumentReplicationNotFound(v **types.ReplicationNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8559,10 +8763,12 @@ func awsRestjson1_deserializeDocumentResourceIdPreference(v **types.ResourceIdPr } sv.ResourceIdType = types.ResourceIdType(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -8634,6 +8840,7 @@ func awsRestjson1_deserializeDocumentRootDirectory(v **types.RootDirectory, valu if err := awsRestjson1_deserializeDocumentCreationInfo(&sv.CreationInfo, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -8642,6 +8849,7 @@ func awsRestjson1_deserializeDocumentRootDirectory(v **types.RootDirectory, valu } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -8721,6 +8929,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8729,6 +8938,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupLimitExceeded(v **types.Securi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8768,6 +8978,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8776,6 +8987,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupNotFound(v **types.SecurityGro } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8851,6 +9063,7 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8859,6 +9072,7 @@ func awsRestjson1_deserializeDocumentSubnetNotFound(v **types.SubnetNotFound, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8898,6 +9112,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8906,6 +9121,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8979,6 +9195,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8987,6 +9204,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9026,6 +9244,7 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9034,6 +9253,7 @@ func awsRestjson1_deserializeDocumentThroughputLimitExceeded(v **types.Throughpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9073,6 +9293,7 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9081,6 +9302,7 @@ func awsRestjson1_deserializeDocumentTooManyRequests(v **types.TooManyRequests, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9120,6 +9342,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9128,6 +9351,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZone(v **types.Unsup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9167,6 +9391,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9175,6 +9400,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/eks/deserializers.go b/service/eks/deserializers.go index c30da0f4555..8950e9dbb78 100644 --- a/service/eks/deserializers.go +++ b/service/eks/deserializers.go @@ -180,6 +180,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate if err := awsRestjson1_deserializeDocumentAssociatedAccessPolicy(&sv.AssociatedAccessPolicy, value); err != nil { return err } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -188,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate } sv.ClusterName = ptr.String(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -196,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAccessPolicyOutput(v **Associate } sv.PrincipalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -362,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentAssociateEncryptionConfigOutput(v **Assoc if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -528,10 +532,12 @@ func awsRestjson1_deserializeOpDocumentAssociateIdentityProviderConfigOutput(v * if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "update": if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -698,6 +704,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessEntryOutput(v **CreateAccessE if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } + default: _, _ = key, value @@ -864,6 +871,7 @@ func awsRestjson1_deserializeOpDocumentCreateAddonOutput(v **CreateAddonOutput, if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } + default: _, _ = key, value @@ -1033,6 +1041,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -1196,6 +1205,7 @@ func awsRestjson1_deserializeOpDocumentCreateEksAnywhereSubscriptionOutput(v **C if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -1362,6 +1372,7 @@ func awsRestjson1_deserializeOpDocumentCreateFargateProfileOutput(v **CreateFarg if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } + default: _, _ = key, value @@ -1531,6 +1542,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodegroupOutput(v **CreateNodegroup if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } + default: _, _ = key, value @@ -1697,6 +1709,7 @@ func awsRestjson1_deserializeOpDocumentCreatePodIdentityAssociationOutput(v **Cr if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -1954,6 +1967,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAddonOutput(v **DeleteAddonOutput, if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } + default: _, _ = key, value @@ -2117,6 +2131,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -2277,6 +2292,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEksAnywhereSubscriptionOutput(v **D if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -2437,6 +2453,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFargateProfileOutput(v **DeleteFarg if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } + default: _, _ = key, value @@ -2603,6 +2620,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodegroupOutput(v **DeleteNodegroup if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } + default: _, _ = key, value @@ -2763,6 +2781,7 @@ func awsRestjson1_deserializeOpDocumentDeletePodIdentityAssociationOutput(v **De if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -2929,6 +2948,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterClusterOutput(v **DeregisterClu if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3086,6 +3106,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessEntryOutput(v **DescribeAcc if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } + default: _, _ = key, value @@ -3249,6 +3270,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonOutput(v **DescribeAddonOutp if err := awsRestjson1_deserializeDocumentAddon(&sv.Addon, value); err != nil { return err } + default: _, _ = key, value @@ -3410,6 +3432,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.AddonName = ptr.String(jtv) } + case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -3418,6 +3441,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.AddonVersion = ptr.String(jtv) } + case "configurationSchema": if value != nil { jtv, ok := value.(string) @@ -3426,10 +3450,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonConfigurationOutput(v **Desc } sv.ConfigurationSchema = ptr.String(jtv) } + case "podIdentityConfiguration": if err := awsRestjson1_deserializeDocumentAddonPodIdentityConfigurationList(&sv.PodIdentityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3587,6 +3613,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonVersionsOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentAddons(&sv.Addons, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3622,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAddonVersionsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3755,6 +3783,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -3915,6 +3944,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEksAnywhereSubscriptionOutput(v * if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -4075,6 +4105,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFargateProfileOutput(v **Describe if err := awsRestjson1_deserializeDocumentFargateProfile(&sv.FargateProfile, value); err != nil { return err } + default: _, _ = key, value @@ -4238,6 +4269,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIdentityProviderConfigOutput(v ** if err := awsRestjson1_deserializeDocumentIdentityProviderConfigResponse(&sv.IdentityProviderConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4398,6 +4430,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInsightOutput(v **DescribeInsight if err := awsRestjson1_deserializeDocumentInsight(&sv.Insight, value); err != nil { return err } + default: _, _ = key, value @@ -4561,6 +4594,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodegroupOutput(v **DescribeNodeg if err := awsRestjson1_deserializeDocumentNodegroup(&sv.Nodegroup, value); err != nil { return err } + default: _, _ = key, value @@ -4721,6 +4755,7 @@ func awsRestjson1_deserializeOpDocumentDescribePodIdentityAssociationOutput(v ** if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -4881,6 +4916,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUpdateOutput(v **DescribeUpdateOu if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -5141,6 +5177,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateIdentityProviderConfigOutput( if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -5301,6 +5338,7 @@ func awsRestjson1_deserializeOpDocumentListAccessEntriesOutput(v **ListAccessEnt if err := awsRestjson1_deserializeDocumentStringList(&sv.AccessEntries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5309,6 +5347,7 @@ func awsRestjson1_deserializeOpDocumentListAccessEntriesOutput(v **ListAccessEnt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5460,6 +5499,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsRestjson1_deserializeDocumentAccessPoliciesList(&sv.AccessPolicies, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5468,6 +5508,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5631,6 +5672,7 @@ func awsRestjson1_deserializeOpDocumentListAddonsOutput(v **ListAddonsOutput, va if err := awsRestjson1_deserializeDocumentStringList(&sv.Addons, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5639,6 +5681,7 @@ func awsRestjson1_deserializeOpDocumentListAddonsOutput(v **ListAddonsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5796,6 +5839,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li if err := awsRestjson1_deserializeDocumentAssociatedAccessPoliciesList(&sv.AssociatedAccessPolicies, value); err != nil { return err } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -5804,6 +5848,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.ClusterName = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5812,6 +5857,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -5820,6 +5866,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAccessPoliciesOutput(v **Li } sv.PrincipalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5980,6 +6027,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocumentStringList(&sv.Clusters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5988,6 +6036,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6152,10 +6201,12 @@ func awsRestjson1_deserializeOpDocumentListEksAnywhereSubscriptionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "subscriptions": if err := awsRestjson1_deserializeDocumentEksAnywhereSubscriptionList(&sv.Subscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -6316,6 +6367,7 @@ func awsRestjson1_deserializeOpDocumentListFargateProfilesOutput(v **ListFargate if err := awsRestjson1_deserializeDocumentStringList(&sv.FargateProfileNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6324,6 +6376,7 @@ func awsRestjson1_deserializeOpDocumentListFargateProfilesOutput(v **ListFargate } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6487,6 +6540,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProviderConfigsOutput(v **Lis if err := awsRestjson1_deserializeDocumentIdentityProviderConfigs(&sv.IdentityProviderConfigs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6495,6 +6549,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProviderConfigsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6655,6 +6710,7 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput if err := awsRestjson1_deserializeDocumentInsightSummaries(&sv.Insights, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6663,6 +6719,7 @@ func awsRestjson1_deserializeOpDocumentListInsightsOutput(v **ListInsightsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6830,10 +6887,12 @@ func awsRestjson1_deserializeOpDocumentListNodegroupsOutput(v **ListNodegroupsOu } sv.NextToken = ptr.String(jtv) } + case "nodegroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.Nodegroups, value); err != nil { return err } + default: _, _ = key, value @@ -6994,6 +7053,7 @@ func awsRestjson1_deserializeOpDocumentListPodIdentityAssociationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentPodIdentityAssociationSummaries(&sv.Associations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7002,6 +7062,7 @@ func awsRestjson1_deserializeOpDocumentListPodIdentityAssociationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7156,6 +7217,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7320,10 +7382,12 @@ func awsRestjson1_deserializeOpDocumentListUpdatesOutput(v **ListUpdatesOutput, } sv.NextToken = ptr.String(jtv) } + case "updateIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.UpdateIds, value); err != nil { return err } + default: _, _ = key, value @@ -7496,6 +7560,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClusterOutput(v **RegisterCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -7838,6 +7903,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessEntryOutput(v **UpdateAccessE if err := awsRestjson1_deserializeDocumentAccessEntry(&sv.AccessEntry, value); err != nil { return err } + default: _, _ = key, value @@ -8004,6 +8070,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAddonOutput(v **UpdateAddonOutput, if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -8170,6 +8237,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigOutput(v **UpdateClust if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -8336,6 +8404,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterVersionOutput(v **UpdateClus if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -8499,6 +8568,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEksAnywhereSubscriptionOutput(v **U if err := awsRestjson1_deserializeDocumentEksAnywhereSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -8665,6 +8735,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodegroupConfigOutput(v **UpdateNod if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -8831,6 +8902,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodegroupVersionOutput(v **UpdateNo if err := awsRestjson1_deserializeDocumentUpdate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -8991,6 +9063,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePodIdentityAssociationOutput(v **Up if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -9498,6 +9571,7 @@ func awsRestjson1_deserializeDocumentAccessConfigResponse(v **types.AccessConfig } sv.AuthenticationMode = types.AuthenticationMode(jtv) } + case "bootstrapClusterCreatorAdminPermissions": if value != nil { jtv, ok := value.(bool) @@ -9506,6 +9580,7 @@ func awsRestjson1_deserializeDocumentAccessConfigResponse(v **types.AccessConfig } sv.BootstrapClusterCreatorAdminPermissions = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9545,6 +9620,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9584,6 +9660,7 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.AccessEntryArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -9592,6 +9669,7 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.ClusterName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9607,10 +9685,12 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } } + case "kubernetesGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.KubernetesGroups, value); err != nil { return err } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -9626,6 +9706,7 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -9634,10 +9715,12 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.PrincipalArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9646,6 +9729,7 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.Type = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -9654,6 +9738,7 @@ func awsRestjson1_deserializeDocumentAccessEntry(v **types.AccessEntry, value in } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -9727,6 +9812,7 @@ func awsRestjson1_deserializeDocumentAccessPolicy(v **types.AccessPolicy, value } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9735,6 +9821,7 @@ func awsRestjson1_deserializeDocumentAccessPolicy(v **types.AccessPolicy, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9770,6 +9857,7 @@ func awsRestjson1_deserializeDocumentAccessScope(v **types.AccessScope, value in if err := awsRestjson1_deserializeDocumentStringList(&sv.Namespaces, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9778,6 +9866,7 @@ func awsRestjson1_deserializeDocumentAccessScope(v **types.AccessScope, value in } sv.Type = types.AccessScopeType(jtv) } + default: _, _ = key, value @@ -9853,6 +9942,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonArn = ptr.String(jtv) } + case "addonName": if value != nil { jtv, ok := value.(string) @@ -9861,6 +9951,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonName = ptr.String(jtv) } + case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -9869,6 +9960,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.AddonVersion = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -9877,6 +9969,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ClusterName = ptr.String(jtv) } + case "configurationValues": if value != nil { jtv, ok := value.(string) @@ -9885,6 +9978,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ConfigurationValues = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9900,14 +9994,17 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } } + case "health": if err := awsRestjson1_deserializeDocumentAddonHealth(&sv.Health, value); err != nil { return err } + case "marketplaceInformation": if err := awsRestjson1_deserializeDocumentMarketplaceInformation(&sv.MarketplaceInformation, value); err != nil { return err } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -9923,6 +10020,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } } + case "owner": if value != nil { jtv, ok := value.(string) @@ -9931,10 +10029,12 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Owner = ptr.String(jtv) } + case "podIdentityAssociations": if err := awsRestjson1_deserializeDocumentStringList(&sv.PodIdentityAssociations, value); err != nil { return err } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -9943,6 +10043,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Publisher = ptr.String(jtv) } + case "serviceAccountRoleArn": if value != nil { jtv, ok := value.(string) @@ -9951,6 +10052,7 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.ServiceAccountRoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9959,10 +10061,12 @@ func awsRestjson1_deserializeDocumentAddon(v **types.Addon, value interface{}) e } sv.Status = types.AddonStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9998,6 +10102,7 @@ func awsRestjson1_deserializeDocumentAddonHealth(v **types.AddonHealth, value in if err := awsRestjson1_deserializeDocumentAddonIssueList(&sv.Issues, value); err != nil { return err } + default: _, _ = key, value @@ -10037,14 +10142,17 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.AddonName = ptr.String(jtv) } + case "addonVersions": if err := awsRestjson1_deserializeDocumentAddonVersionInfoList(&sv.AddonVersions, value); err != nil { return err } + case "marketplaceInformation": if err := awsRestjson1_deserializeDocumentMarketplaceInformation(&sv.MarketplaceInformation, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -10053,6 +10161,7 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Owner = ptr.String(jtv) } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -10061,6 +10170,7 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Publisher = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10069,6 +10179,7 @@ func awsRestjson1_deserializeDocumentAddonInfo(v **types.AddonInfo, value interf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -10108,6 +10219,7 @@ func awsRestjson1_deserializeDocumentAddonIssue(v **types.AddonIssue, value inte } sv.Code = types.AddonIssueCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -10116,10 +10228,12 @@ func awsRestjson1_deserializeDocumentAddonIssue(v **types.AddonIssue, value inte } sv.Message = ptr.String(jtv) } + case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -10189,6 +10303,7 @@ func awsRestjson1_deserializeDocumentAddonPodIdentityConfiguration(v **types.Add if err := awsRestjson1_deserializeDocumentStringList(&sv.RecommendedManagedPolicies, value); err != nil { return err } + case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -10197,6 +10312,7 @@ func awsRestjson1_deserializeDocumentAddonPodIdentityConfiguration(v **types.Add } sv.ServiceAccount = ptr.String(jtv) } + default: _, _ = key, value @@ -10304,14 +10420,17 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.AddonVersion = ptr.String(jtv) } + case "architecture": if err := awsRestjson1_deserializeDocumentStringList(&sv.Architecture, value); err != nil { return err } + case "compatibilities": if err := awsRestjson1_deserializeDocumentCompatibilities(&sv.Compatibilities, value); err != nil { return err } + case "requiresConfiguration": if value != nil { jtv, ok := value.(bool) @@ -10320,6 +10439,7 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.RequiresConfiguration = jtv } + case "requiresIamPermissions": if value != nil { jtv, ok := value.(bool) @@ -10328,6 +10448,7 @@ func awsRestjson1_deserializeDocumentAddonVersionInfo(v **types.AddonVersionInfo } sv.RequiresIamPermissions = jtv } + default: _, _ = key, value @@ -10431,6 +10552,7 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated if err := awsRestjson1_deserializeDocumentAccessScope(&sv.AccessScope, value); err != nil { return err } + case "associatedAt": if value != nil { switch jtv := value.(type) { @@ -10446,6 +10568,7 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -10461,6 +10584,7 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -10469,6 +10593,7 @@ func awsRestjson1_deserializeDocumentAssociatedAccessPolicy(v **types.Associated } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10508,6 +10633,7 @@ func awsRestjson1_deserializeDocumentAutoScalingGroup(v **types.AutoScalingGroup } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10581,6 +10707,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10620,6 +10747,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Data = ptr.String(jtv) } + default: _, _ = key, value @@ -10659,6 +10787,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -10667,6 +10796,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10675,6 +10805,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -10683,6 +10814,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -10691,6 +10823,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10737,6 +10870,7 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } } + case "numberOfRequestsLast30Days": if value != nil { jtv, ok := value.(json.Number) @@ -10749,6 +10883,7 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } sv.NumberOfRequestsLast30Days = int32(i64) } + case "userAgent": if value != nil { jtv, ok := value.(string) @@ -10757,6 +10892,7 @@ func awsRestjson1_deserializeDocumentClientStat(v **types.ClientStat, value inte } sv.UserAgent = ptr.String(jtv) } + default: _, _ = key, value @@ -10826,6 +10962,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ if err := awsRestjson1_deserializeDocumentAccessConfigResponse(&sv.AccessConfig, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10834,10 +10971,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Arn = ptr.String(jtv) } + case "certificateAuthority": if err := awsRestjson1_deserializeDocumentCertificate(&sv.CertificateAuthority, value); err != nil { return err } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -10846,10 +10985,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClientRequestToken = ptr.String(jtv) } + case "connectorConfig": if err := awsRestjson1_deserializeDocumentConnectorConfigResponse(&sv.ConnectorConfig, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10865,10 +11006,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } } + case "encryptionConfig": if err := awsRestjson1_deserializeDocumentEncryptionConfigList(&sv.EncryptionConfig, value); err != nil { return err } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -10877,10 +11020,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Endpoint = ptr.String(jtv) } + case "health": if err := awsRestjson1_deserializeDocumentClusterHealth(&sv.Health, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10889,18 +11034,22 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } + case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } + case "kubernetesNetworkConfig": if err := awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(&sv.KubernetesNetworkConfig, value); err != nil { return err } + case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10909,10 +11058,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } + case "outpostConfig": if err := awsRestjson1_deserializeDocumentOutpostConfigResponse(&sv.OutpostConfig, value); err != nil { return err } + case "platformVersion": if value != nil { jtv, ok := value.(string) @@ -10921,10 +11072,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.PlatformVersion = ptr.String(jtv) } + case "resourcesVpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.ResourcesVpcConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10933,6 +11086,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10941,14 +11095,17 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.ClusterStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "upgradePolicy": if err := awsRestjson1_deserializeDocumentUpgradePolicyResponse(&sv.UpgradePolicy, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -10957,10 +11114,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Version = ptr.String(jtv) } + case "zonalShiftConfig": if err := awsRestjson1_deserializeDocumentZonalShiftConfigResponse(&sv.ZonalShiftConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10996,6 +11155,7 @@ func awsRestjson1_deserializeDocumentClusterHealth(v **types.ClusterHealth, valu if err := awsRestjson1_deserializeDocumentClusterIssueList(&sv.Issues, value); err != nil { return err } + default: _, _ = key, value @@ -11035,6 +11195,7 @@ func awsRestjson1_deserializeDocumentClusterIssue(v **types.ClusterIssue, value } sv.Code = types.ClusterIssueCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11043,10 +11204,12 @@ func awsRestjson1_deserializeDocumentClusterIssue(v **types.ClusterIssue, value } sv.Message = ptr.String(jtv) } + case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -11154,6 +11317,7 @@ func awsRestjson1_deserializeDocumentCompatibility(v **types.Compatibility, valu } sv.ClusterVersion = ptr.String(jtv) } + case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -11162,10 +11326,12 @@ func awsRestjson1_deserializeDocumentCompatibility(v **types.Compatibility, valu } sv.DefaultVersion = jtv } + case "platformVersions": if err := awsRestjson1_deserializeDocumentStringList(&sv.PlatformVersions, value); err != nil { return err } + default: _, _ = key, value @@ -11205,6 +11371,7 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.ActivationCode = ptr.String(jtv) } + case "activationExpiry": if value != nil { switch jtv := value.(type) { @@ -11220,6 +11387,7 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } } + case "activationId": if value != nil { jtv, ok := value.(string) @@ -11228,6 +11396,7 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.ActivationId = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -11236,6 +11405,7 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.Provider = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11244,6 +11414,7 @@ func awsRestjson1_deserializeDocumentConnectorConfigResponse(v **types.Connector } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11283,6 +11454,7 @@ func awsRestjson1_deserializeDocumentControlPlanePlacementResponse(v **types.Con } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -11318,6 +11490,7 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta if err := awsRestjson1_deserializeDocumentClientStats(&sv.ClientStats, value); err != nil { return err } + case "replacedWith": if value != nil { jtv, ok := value.(string) @@ -11326,6 +11499,7 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.ReplacedWith = ptr.String(jtv) } + case "startServingReplacementVersion": if value != nil { jtv, ok := value.(string) @@ -11334,6 +11508,7 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.StartServingReplacementVersion = ptr.String(jtv) } + case "stopServingVersion": if value != nil { jtv, ok := value.(string) @@ -11342,6 +11517,7 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.StopServingVersion = ptr.String(jtv) } + case "usage": if value != nil { jtv, ok := value.(string) @@ -11350,6 +11526,7 @@ func awsRestjson1_deserializeDocumentDeprecationDetail(v **types.DeprecationDeta } sv.Usage = ptr.String(jtv) } + default: _, _ = key, value @@ -11423,6 +11600,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Arn = ptr.String(jtv) } + case "autoRenew": if value != nil { jtv, ok := value.(bool) @@ -11431,6 +11609,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.AutoRenew = jtv } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11446,6 +11625,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } + case "effectiveDate": if value != nil { switch jtv := value.(type) { @@ -11461,6 +11641,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -11476,6 +11657,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } } + case "id": if value != nil { jtv, ok := value.(string) @@ -11484,10 +11666,12 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Id = ptr.String(jtv) } + case "licenseArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.LicenseArns, value); err != nil { return err } + case "licenseQuantity": if value != nil { jtv, ok := value.(json.Number) @@ -11500,6 +11684,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.LicenseQuantity = int32(i64) } + case "licenseType": if value != nil { jtv, ok := value.(string) @@ -11508,6 +11693,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.LicenseType = types.EksAnywhereSubscriptionLicenseType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11516,14 +11702,17 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscription(v **types.EksAnywhe } sv.Status = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "term": if err := awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(&sv.Term, value); err != nil { return err } + default: _, _ = key, value @@ -11601,6 +11790,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(v **types.EksAn } sv.Duration = int32(i64) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -11609,6 +11799,7 @@ func awsRestjson1_deserializeDocumentEksAnywhereSubscriptionTerm(v **types.EksAn } sv.Unit = types.EksAnywhereSubscriptionTermUnit(jtv) } + default: _, _ = key, value @@ -11644,10 +11835,12 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig if err := awsRestjson1_deserializeDocumentProvider(&sv.Provider, value); err != nil { return err } + case "resources": if err := awsRestjson1_deserializeDocumentStringList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -11721,6 +11914,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11729,10 +11923,12 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -11806,6 +12002,7 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.ClusterName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11821,6 +12018,7 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } } + case "fargateProfileArn": if value != nil { jtv, ok := value.(string) @@ -11829,6 +12027,7 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.FargateProfileArn = ptr.String(jtv) } + case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -11837,10 +12036,12 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.FargateProfileName = ptr.String(jtv) } + case "health": if err := awsRestjson1_deserializeDocumentFargateProfileHealth(&sv.Health, value); err != nil { return err } + case "podExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -11849,10 +12050,12 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.PodExecutionRoleArn = ptr.String(jtv) } + case "selectors": if err := awsRestjson1_deserializeDocumentFargateProfileSelectors(&sv.Selectors, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11861,14 +12064,17 @@ func awsRestjson1_deserializeDocumentFargateProfile(v **types.FargateProfile, va } sv.Status = types.FargateProfileStatus(jtv) } + case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11904,6 +12110,7 @@ func awsRestjson1_deserializeDocumentFargateProfileHealth(v **types.FargateProfi if err := awsRestjson1_deserializeDocumentFargateProfileIssueList(&sv.Issues, value); err != nil { return err } + default: _, _ = key, value @@ -11943,6 +12150,7 @@ func awsRestjson1_deserializeDocumentFargateProfileIssue(v **types.FargateProfil } sv.Code = types.FargateProfileIssueCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11951,10 +12159,12 @@ func awsRestjson1_deserializeDocumentFargateProfileIssue(v **types.FargateProfil } sv.Message = ptr.String(jtv) } + case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -12060,6 +12270,7 @@ func awsRestjson1_deserializeDocumentFargateProfileSelector(v **types.FargatePro if err := awsRestjson1_deserializeDocumentFargateProfileLabel(&sv.Labels, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -12068,6 +12279,7 @@ func awsRestjson1_deserializeDocumentFargateProfileSelector(v **types.FargatePro } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -12137,6 +12349,7 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac if err := awsRestjson1_deserializeDocumentOIDC(&sv.Oidc, value); err != nil { return err } + default: _, _ = key, value @@ -12176,6 +12389,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfig(v **types.IdentityPr } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12184,6 +12398,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfig(v **types.IdentityPr } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12219,6 +12434,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderConfigResponse(v **types.Id if err := awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(&sv.Oidc, value); err != nil { return err } + default: _, _ = key, value @@ -12288,6 +12504,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } + case "category": if value != nil { jtv, ok := value.(string) @@ -12296,10 +12513,12 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Category = types.Category(jtv) } + case "categorySpecificSummary": if err := awsRestjson1_deserializeDocumentInsightCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12308,6 +12527,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12316,10 +12536,12 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Id = ptr.String(jtv) } + case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } + case "kubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -12328,6 +12550,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.KubernetesVersion = ptr.String(jtv) } + case "lastRefreshTime": if value != nil { switch jtv := value.(type) { @@ -12343,6 +12566,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "lastTransitionTime": if value != nil { switch jtv := value.(type) { @@ -12358,6 +12582,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12366,6 +12591,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Name = ptr.String(jtv) } + case "recommendation": if value != nil { jtv, ok := value.(string) @@ -12374,10 +12600,12 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Recommendation = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentInsightResourceDetails(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -12413,6 +12641,7 @@ func awsRestjson1_deserializeDocumentInsightCategorySpecificSummary(v **types.In if err := awsRestjson1_deserializeDocumentDeprecationDetails(&sv.DeprecationDetails, value); err != nil { return err } + default: _, _ = key, value @@ -12452,10 +12681,12 @@ func awsRestjson1_deserializeDocumentInsightResourceDetail(v **types.InsightReso } sv.Arn = ptr.String(jtv) } + case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } + case "kubernetesResourceUri": if value != nil { jtv, ok := value.(string) @@ -12464,6 +12695,7 @@ func awsRestjson1_deserializeDocumentInsightResourceDetail(v **types.InsightReso } sv.KubernetesResourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -12537,6 +12769,7 @@ func awsRestjson1_deserializeDocumentInsightStatus(v **types.InsightStatus, valu } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12545,6 +12778,7 @@ func awsRestjson1_deserializeDocumentInsightStatus(v **types.InsightStatus, valu } sv.Status = types.InsightStatusValue(jtv) } + default: _, _ = key, value @@ -12618,6 +12852,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Category = types.Category(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12626,6 +12861,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12634,10 +12870,12 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Id = ptr.String(jtv) } + case "insightStatus": if err := awsRestjson1_deserializeDocumentInsightStatus(&sv.InsightStatus, value); err != nil { return err } + case "kubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -12646,6 +12884,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.KubernetesVersion = ptr.String(jtv) } + case "lastRefreshTime": if value != nil { switch jtv := value.(type) { @@ -12661,6 +12900,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } + case "lastTransitionTime": if value != nil { switch jtv := value.(type) { @@ -12676,6 +12916,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12684,6 +12925,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12723,6 +12965,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -12731,6 +12974,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ClusterName = ptr.String(jtv) } + case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -12739,6 +12983,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FargateProfileName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12747,6 +12992,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -12755,6 +13001,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -12763,6 +13010,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12802,6 +13050,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -12810,6 +13059,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12818,6 +13068,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -12826,6 +13077,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -12834,6 +13086,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12873,6 +13126,7 @@ func awsRestjson1_deserializeDocumentIssue(v **types.Issue, value interface{}) e } sv.Code = types.NodegroupIssueCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -12881,10 +13135,12 @@ func awsRestjson1_deserializeDocumentIssue(v **types.Issue, value interface{}) e } sv.Message = ptr.String(jtv) } + case "resourceIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResourceIds, value); err != nil { return err } + default: _, _ = key, value @@ -12958,6 +13214,7 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.IpFamily = types.IpFamily(jtv) } + case "serviceIpv4Cidr": if value != nil { jtv, ok := value.(string) @@ -12966,6 +13223,7 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.ServiceIpv4Cidr = ptr.String(jtv) } + case "serviceIpv6Cidr": if value != nil { jtv, ok := value.(string) @@ -12974,6 +13232,7 @@ func awsRestjson1_deserializeDocumentKubernetesNetworkConfigResponse(v **types.K } sv.ServiceIpv6Cidr = ptr.String(jtv) } + default: _, _ = key, value @@ -13049,6 +13308,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13057,6 +13317,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -13065,6 +13326,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateSpecification(v **types.Launc } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13100,6 +13362,7 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentLogSetups(&sv.ClusterLogging, value); err != nil { return err } + default: _, _ = key, value @@ -13139,10 +13402,12 @@ func awsRestjson1_deserializeDocumentLogSetup(v **types.LogSetup, value interfac } sv.Enabled = ptr.Bool(jtv) } + case "types": if err := awsRestjson1_deserializeDocumentLogTypes(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -13252,6 +13517,7 @@ func awsRestjson1_deserializeDocumentMarketplaceInformation(v **types.Marketplac } sv.ProductId = ptr.String(jtv) } + case "productUrl": if value != nil { jtv, ok := value.(string) @@ -13260,6 +13526,7 @@ func awsRestjson1_deserializeDocumentMarketplaceInformation(v **types.Marketplac } sv.ProductUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13299,6 +13566,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.AmiType = types.AMITypes(jtv) } + case "capacityType": if value != nil { jtv, ok := value.(string) @@ -13307,6 +13575,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.CapacityType = types.CapacityTypes(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13315,6 +13584,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.ClusterName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13330,6 +13600,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } } + case "diskSize": if value != nil { jtv, ok := value.(json.Number) @@ -13342,22 +13613,27 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.DiskSize = ptr.Int32(int32(i64)) } + case "health": if err := awsRestjson1_deserializeDocumentNodegroupHealth(&sv.Health, value); err != nil { return err } + case "instanceTypes": if err := awsRestjson1_deserializeDocumentStringList(&sv.InstanceTypes, value); err != nil { return err } + case "labels": if err := awsRestjson1_deserializeDocumentLabelsMap(&sv.Labels, value); err != nil { return err } + case "launchTemplate": if err := awsRestjson1_deserializeDocumentLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -13373,6 +13649,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } } + case "nodegroupArn": if value != nil { jtv, ok := value.(string) @@ -13381,6 +13658,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodegroupArn = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -13389,6 +13667,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodegroupName = ptr.String(jtv) } + case "nodeRole": if value != nil { jtv, ok := value.(string) @@ -13397,6 +13676,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.NodeRole = ptr.String(jtv) } + case "releaseVersion": if value != nil { jtv, ok := value.(string) @@ -13405,18 +13685,22 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.ReleaseVersion = ptr.String(jtv) } + case "remoteAccess": if err := awsRestjson1_deserializeDocumentRemoteAccessConfig(&sv.RemoteAccess, value); err != nil { return err } + case "resources": if err := awsRestjson1_deserializeDocumentNodegroupResources(&sv.Resources, value); err != nil { return err } + case "scalingConfig": if err := awsRestjson1_deserializeDocumentNodegroupScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -13425,22 +13709,27 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.Status = types.NodegroupStatus(jtv) } + case "subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "taints": if err := awsRestjson1_deserializeDocumentTaintsList(&sv.Taints, value); err != nil { return err } + case "updateConfig": if err := awsRestjson1_deserializeDocumentNodegroupUpdateConfig(&sv.UpdateConfig, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -13449,6 +13738,7 @@ func awsRestjson1_deserializeDocumentNodegroup(v **types.Nodegroup, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13484,6 +13774,7 @@ func awsRestjson1_deserializeDocumentNodegroupHealth(v **types.NodegroupHealth, if err := awsRestjson1_deserializeDocumentIssueList(&sv.Issues, value); err != nil { return err } + default: _, _ = key, value @@ -13519,6 +13810,7 @@ func awsRestjson1_deserializeDocumentNodegroupResources(v **types.NodegroupResou if err := awsRestjson1_deserializeDocumentAutoScalingGroupList(&sv.AutoScalingGroups, value); err != nil { return err } + case "remoteAccessSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -13527,6 +13819,7 @@ func awsRestjson1_deserializeDocumentNodegroupResources(v **types.NodegroupResou } sv.RemoteAccessSecurityGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -13570,6 +13863,7 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.DesiredSize = ptr.Int32(int32(i64)) } + case "maxSize": if value != nil { jtv, ok := value.(json.Number) @@ -13582,6 +13876,7 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.MaxSize = ptr.Int32(int32(i64)) } + case "minSize": if value != nil { jtv, ok := value.(json.Number) @@ -13594,6 +13889,7 @@ func awsRestjson1_deserializeDocumentNodegroupScalingConfig(v **types.NodegroupS } sv.MinSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13637,6 +13933,7 @@ func awsRestjson1_deserializeDocumentNodegroupUpdateConfig(v **types.NodegroupUp } sv.MaxUnavailable = ptr.Int32(int32(i64)) } + case "maxUnavailablePercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13649,6 +13946,7 @@ func awsRestjson1_deserializeDocumentNodegroupUpdateConfig(v **types.NodegroupUp } sv.MaxUnavailablePercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13688,6 +13986,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13727,6 +14026,7 @@ func awsRestjson1_deserializeDocumentOIDC(v **types.OIDC, value interface{}) err } sv.Issuer = ptr.String(jtv) } + default: _, _ = key, value @@ -13766,6 +14066,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.ClientId = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13774,6 +14075,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.ClusterName = ptr.String(jtv) } + case "groupsClaim": if value != nil { jtv, ok := value.(string) @@ -13782,6 +14084,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.GroupsClaim = ptr.String(jtv) } + case "groupsPrefix": if value != nil { jtv, ok := value.(string) @@ -13790,6 +14093,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.GroupsPrefix = ptr.String(jtv) } + case "identityProviderConfigArn": if value != nil { jtv, ok := value.(string) @@ -13798,6 +14102,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IdentityProviderConfigArn = ptr.String(jtv) } + case "identityProviderConfigName": if value != nil { jtv, ok := value.(string) @@ -13806,6 +14111,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IdentityProviderConfigName = ptr.String(jtv) } + case "issuerUrl": if value != nil { jtv, ok := value.(string) @@ -13814,10 +14120,12 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.IssuerUrl = ptr.String(jtv) } + case "requiredClaims": if err := awsRestjson1_deserializeDocumentRequiredClaimsMap(&sv.RequiredClaims, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -13826,10 +14134,12 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.Status = types.ConfigStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "usernameClaim": if value != nil { jtv, ok := value.(string) @@ -13838,6 +14148,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.UsernameClaim = ptr.String(jtv) } + case "usernamePrefix": if value != nil { jtv, ok := value.(string) @@ -13846,6 +14157,7 @@ func awsRestjson1_deserializeDocumentOidcIdentityProviderConfig(v **types.OidcId } sv.UsernamePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -13885,14 +14197,17 @@ func awsRestjson1_deserializeDocumentOutpostConfigResponse(v **types.OutpostConf } sv.ControlPlaneInstanceType = ptr.String(jtv) } + case "controlPlanePlacement": if err := awsRestjson1_deserializeDocumentControlPlanePlacementResponse(&sv.ControlPlanePlacement, value); err != nil { return err } + case "outpostArns": if err := awsRestjson1_deserializeDocumentStringList(&sv.OutpostArns, value); err != nil { return err } + default: _, _ = key, value @@ -13932,6 +14247,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationArn = ptr.String(jtv) } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -13940,6 +14256,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationId = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -13948,6 +14265,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.ClusterName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13963,6 +14281,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -13978,6 +14297,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -13986,6 +14306,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.Namespace = ptr.String(jtv) } + case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -13994,6 +14315,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.OwnerArn = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14002,6 +14324,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.RoleArn = ptr.String(jtv) } + case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -14010,10 +14333,12 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.ServiceAccount = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14087,6 +14412,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.AssociationArn = ptr.String(jtv) } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -14095,6 +14421,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.AssociationId = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14103,6 +14430,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.ClusterName = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -14111,6 +14439,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.Namespace = ptr.String(jtv) } + case "ownerArn": if value != nil { jtv, ok := value.(string) @@ -14119,6 +14448,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.OwnerArn = ptr.String(jtv) } + case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -14127,6 +14457,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociationSummary(v **types.Pod } sv.ServiceAccount = ptr.String(jtv) } + default: _, _ = key, value @@ -14166,6 +14497,7 @@ func awsRestjson1_deserializeDocumentProvider(v **types.Provider, value interfac } sv.KeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14205,10 +14537,12 @@ func awsRestjson1_deserializeDocumentRemoteAccessConfig(v **types.RemoteAccessCo } sv.Ec2SshKey = ptr.String(jtv) } + case "sourceSecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SourceSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -14284,6 +14618,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14292,6 +14627,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14300,6 +14636,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14308,6 +14645,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.NodegroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -14347,6 +14685,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14355,6 +14694,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14363,6 +14703,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -14371,6 +14712,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -14410,6 +14752,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14418,6 +14761,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ClusterName = ptr.String(jtv) } + case "fargateProfileName": if value != nil { jtv, ok := value.(string) @@ -14426,6 +14770,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.FargateProfileName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14434,6 +14779,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14442,6 +14788,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -14450,6 +14797,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -14489,6 +14837,7 @@ func awsRestjson1_deserializeDocumentResourcePropagationDelayException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14528,6 +14877,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.AddonName = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -14536,6 +14886,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14544,6 +14895,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14552,6 +14904,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.NodegroupName = ptr.String(jtv) } + case "subscriptionId": if value != nil { jtv, ok := value.(string) @@ -14560,6 +14913,7 @@ func awsRestjson1_deserializeDocumentServerException(v **types.ServerException, } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -14599,6 +14953,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14710,6 +15065,7 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Effect = types.TaintEffect(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -14718,6 +15074,7 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14726,6 +15083,7 @@ func awsRestjson1_deserializeDocumentTaint(v **types.Taint, value interface{}) e } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14799,6 +15157,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.ClusterName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14807,6 +15166,7 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.Message = ptr.String(jtv) } + case "nodegroupName": if value != nil { jtv, ok := value.(string) @@ -14815,10 +15175,12 @@ func awsRestjson1_deserializeDocumentUnsupportedAvailabilityZoneException(v **ty } sv.NodegroupName = ptr.String(jtv) } + case "validZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.ValidZones, value); err != nil { return err } + default: _, _ = key, value @@ -14865,10 +15227,12 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } } + case "errors": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Errors, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -14877,10 +15241,12 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Id = ptr.String(jtv) } + case "params": if err := awsRestjson1_deserializeDocumentUpdateParams(&sv.Params, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14889,6 +15255,7 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Status = types.UpdateStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14897,6 +15264,7 @@ func awsRestjson1_deserializeDocumentUpdate(v **types.Update, value interface{}) } sv.Type = types.UpdateType(jtv) } + default: _, _ = key, value @@ -14936,6 +15304,7 @@ func awsRestjson1_deserializeDocumentUpdateParam(v **types.UpdateParam, value in } sv.Type = types.UpdateParamType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14944,6 +15313,7 @@ func awsRestjson1_deserializeDocumentUpdateParam(v **types.UpdateParam, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15017,6 +15387,7 @@ func awsRestjson1_deserializeDocumentUpgradePolicyResponse(v **types.UpgradePoli } sv.SupportType = types.SupportType(jtv) } + default: _, _ = key, value @@ -15056,6 +15427,7 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.ClusterSecurityGroupId = ptr.String(jtv) } + case "endpointPrivateAccess": if value != nil { jtv, ok := value.(bool) @@ -15064,6 +15436,7 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.EndpointPrivateAccess = jtv } + case "endpointPublicAccess": if value != nil { jtv, ok := value.(bool) @@ -15072,18 +15445,22 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.EndpointPublicAccess = jtv } + case "publicAccessCidrs": if err := awsRestjson1_deserializeDocumentStringList(&sv.PublicAccessCidrs, value); err != nil { return err } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15092,6 +15469,7 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -15131,6 +15509,7 @@ func awsRestjson1_deserializeDocumentZonalShiftConfigResponse(v **types.ZonalShi } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value diff --git a/service/eksauth/deserializers.go b/service/eksauth/deserializers.go index 4028ac6e62e..c187dd1bfb3 100644 --- a/service/eksauth/deserializers.go +++ b/service/eksauth/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentAssumeRoleForPodIdentityOutput(v **Assume if err := awsRestjson1_deserializeDocumentAssumedRoleUser(&sv.AssumedRoleUser, value); err != nil { return err } + case "audience": if value != nil { jtv, ok := value.(string) @@ -203,18 +204,22 @@ func awsRestjson1_deserializeOpDocumentAssumeRoleForPodIdentityOutput(v **Assume } sv.Audience = ptr.String(jtv) } + case "credentials": if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "podIdentityAssociation": if err := awsRestjson1_deserializeDocumentPodIdentityAssociation(&sv.PodIdentityAssociation, value); err != nil { return err } + case "subject": if err := awsRestjson1_deserializeDocumentSubject(&sv.Subject, value); err != nil { return err } + default: _, _ = key, value @@ -578,6 +583,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -617,6 +623,7 @@ func awsRestjson1_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, } sv.Arn = ptr.String(jtv) } + case "assumeRoleId": if value != nil { jtv, ok := value.(string) @@ -625,6 +632,7 @@ func awsRestjson1_deserializeDocumentAssumedRoleUser(v **types.AssumedRoleUser, } sv.AssumeRoleId = ptr.String(jtv) } + default: _, _ = key, value @@ -664,6 +672,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } + case "expiration": if value != nil { switch jtv := value.(type) { @@ -679,6 +688,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -687,6 +697,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -695,6 +706,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -734,6 +746,7 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -773,6 +786,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -812,6 +826,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -851,6 +866,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -890,6 +906,7 @@ func awsRestjson1_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -929,6 +946,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationArn = ptr.String(jtv) } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -937,6 +955,7 @@ func awsRestjson1_deserializeDocumentPodIdentityAssociation(v **types.PodIdentit } sv.AssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -976,6 +995,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1015,6 +1035,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1054,6 +1075,7 @@ func awsRestjson1_deserializeDocumentSubject(v **types.Subject, value interface{ } sv.Namespace = ptr.String(jtv) } + case "serviceAccount": if value != nil { jtv, ok := value.(string) @@ -1062,6 +1084,7 @@ func awsRestjson1_deserializeDocumentSubject(v **types.Subject, value interface{ } sv.ServiceAccount = ptr.String(jtv) } + default: _, _ = key, value @@ -1101,6 +1124,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/elasticinference/deserializers.go b/service/elasticinference/deserializers.go index 466024a4586..60c2bd09659 100644 --- a/service/elasticinference/deserializers.go +++ b/service/elasticinference/deserializers.go @@ -177,6 +177,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorOfferingsOutput(v **De if err := awsRestjson1_deserializeDocumentAcceleratorTypeOfferingList(&sv.AcceleratorTypeOfferings, value); err != nil { return err } + default: _, _ = key, value @@ -334,6 +335,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorsOutput(v **DescribeAc if err := awsRestjson1_deserializeDocumentElasticInferenceAcceleratorSet(&sv.AcceleratorSet, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -342,6 +344,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorsOutput(v **DescribeAc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -493,6 +496,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAcceleratorTypesOutput(v **Descri if err := awsRestjson1_deserializeDocumentAcceleratorTypeList(&sv.AcceleratorTypes, value); err != nil { return err } + default: _, _ = key, value @@ -650,6 +654,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -985,14 +990,17 @@ func awsRestjson1_deserializeDocumentAcceleratorType(v **types.AcceleratorType, } sv.AcceleratorTypeName = ptr.String(jtv) } + case "memoryInfo": if err := awsRestjson1_deserializeDocumentMemoryInfo(&sv.MemoryInfo, value); err != nil { return err } + case "throughputInfo": if err := awsRestjson1_deserializeDocumentThroughputInfoList(&sv.ThroughputInfo, value); err != nil { return err } + default: _, _ = key, value @@ -1066,6 +1074,7 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.AcceleratorType = ptr.String(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -1074,6 +1083,7 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.Location = ptr.String(jtv) } + case "locationType": if value != nil { jtv, ok := value.(string) @@ -1082,6 +1092,7 @@ func awsRestjson1_deserializeDocumentAcceleratorTypeOffering(v **types.Accelerat } sv.LocationType = types.LocationType(jtv) } + default: _, _ = key, value @@ -1155,6 +1166,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1190,6 +1202,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast if err := awsRestjson1_deserializeDocumentElasticInferenceAcceleratorHealth(&sv.AcceleratorHealth, value); err != nil { return err } + case "acceleratorId": if value != nil { jtv, ok := value.(string) @@ -1198,6 +1211,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AcceleratorId = ptr.String(jtv) } + case "acceleratorType": if value != nil { jtv, ok := value.(string) @@ -1206,6 +1220,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AcceleratorType = ptr.String(jtv) } + case "attachedResource": if value != nil { jtv, ok := value.(string) @@ -1214,6 +1229,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AttachedResource = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -1222,6 +1238,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAccelerator(v **types.Elast } sv.AvailabilityZone = ptr.String(jtv) } + default: _, _ = key, value @@ -1261,6 +1278,7 @@ func awsRestjson1_deserializeDocumentElasticInferenceAcceleratorHealth(v **types } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1334,6 +1352,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1373,6 +1392,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -1385,6 +1405,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = int32(i64) } + default: _, _ = key, value @@ -1428,6 +1449,7 @@ func awsRestjson1_deserializeDocumentMemoryInfo(v **types.MemoryInfo, value inte } sv.SizeInMiB = int32(i64) } + default: _, _ = key, value @@ -1467,6 +1489,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/elasticsearchservice/deserializers.go b/service/elasticsearchservice/deserializers.go index 19019acc3d8..5947e283170 100644 --- a/service/elasticsearchservice/deserializers.go +++ b/service/elasticsearchservice/deserializers.go @@ -179,6 +179,7 @@ func awsRestjson1_deserializeOpDocumentAcceptInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } + default: _, _ = key, value @@ -448,6 +449,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePackageOutput(v **AssociatePacka if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -614,6 +616,7 @@ func awsRestjson1_deserializeOpDocumentAuthorizeVpcEndpointAccessOutput(v **Auth if err := awsRestjson1_deserializeDocumentAuthorizedPrincipal(&sv.AuthorizedPrincipal, value); err != nil { return err } + default: _, _ = key, value @@ -777,10 +780,12 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel if err := awsRestjson1_deserializeDocumentGUIDList(&sv.CancelledChangeIds, value); err != nil { return err } + case "CancelledChangeProperties": if err := awsRestjson1_deserializeDocumentCancelledChangePropertyList(&sv.CancelledChangeProperties, value); err != nil { return err } + case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -789,6 +794,7 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel } sv.DryRun = ptr.Bool(jtv) } + default: _, _ = key, value @@ -949,6 +955,7 @@ func awsRestjson1_deserializeOpDocumentCancelElasticsearchServiceSoftwareUpdateO if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + default: _, _ = key, value @@ -1118,6 +1125,7 @@ func awsRestjson1_deserializeOpDocumentCreateElasticsearchDomainOutput(v **Creat if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1282,10 +1290,12 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundCrossClusterSearchConnectio } sv.ConnectionAlias = ptr.String(jtv) } + case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -1294,14 +1304,17 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundCrossClusterSearchConnectio } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } + case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } + case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -1471,6 +1484,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -1637,6 +1651,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -1797,6 +1812,7 @@ func awsRestjson1_deserializeOpDocumentDeleteElasticsearchDomainOutput(v **Delet if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -2051,6 +2067,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } + default: _, _ = key, value @@ -2205,6 +2222,7 @@ func awsRestjson1_deserializeOpDocumentDeleteOutboundCrossClusterSearchConnectio if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } + default: _, _ = key, value @@ -2371,6 +2389,7 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -2531,6 +2550,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpointSummary(&sv.VpcEndpointSummary, value); err != nil { return err } + default: _, _ = key, value @@ -2691,6 +2711,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ if err := awsRestjson1_deserializeDocumentAutoTuneList(&sv.AutoTunes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2699,6 +2720,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2859,6 +2881,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainChangeProgressOutput(v **De if err := awsRestjson1_deserializeDocumentChangeProgressStatusDetails(&sv.ChangeProgressStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3019,6 +3042,7 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainOutput(v **Des if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3179,6 +3203,7 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainConfigOutput(v if err := awsRestjson1_deserializeDocumentElasticsearchDomainConfig(&sv.DomainConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3336,6 +3361,7 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchDomainsOutput(v **De if err := awsRestjson1_deserializeDocumentElasticsearchDomainStatusList(&sv.DomainStatusList, value); err != nil { return err } + default: _, _ = key, value @@ -3502,6 +3528,7 @@ func awsRestjson1_deserializeOpDocumentDescribeElasticsearchInstanceTypeLimitsOu if err := awsRestjson1_deserializeDocumentLimitsByRole(&sv.LimitsByRole, value); err != nil { return err } + default: _, _ = key, value @@ -3656,6 +3683,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundCrossClusterSearchConnecti if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnections(&sv.CrossClusterSearchConnections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3664,6 +3692,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundCrossClusterSearchConnecti } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3818,6 +3847,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundCrossClusterSearchConnect if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnections(&sv.CrossClusterSearchConnections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3826,6 +3856,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundCrossClusterSearchConnect } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3993,10 +4024,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagesOutput(v **DescribePackag } sv.NextToken = ptr.String(jtv) } + case "PackageDetailsList": if err := awsRestjson1_deserializeDocumentPackageDetailsList(&sv.PackageDetailsList, value); err != nil { return err } + default: _, _ = key, value @@ -4161,10 +4194,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedElasticsearchInstanceOffe } sv.NextToken = ptr.String(jtv) } + case "ReservedElasticsearchInstanceOfferings": if err := awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOfferingList(&sv.ReservedElasticsearchInstanceOfferings, value); err != nil { return err } + default: _, _ = key, value @@ -4329,10 +4364,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedElasticsearchInstancesOut } sv.NextToken = ptr.String(jtv) } + case "ReservedElasticsearchInstances": if err := awsRestjson1_deserializeDocumentReservedElasticsearchInstanceList(&sv.ReservedElasticsearchInstances, value); err != nil { return err } + default: _, _ = key, value @@ -4493,10 +4530,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcEndpointsOutput(v **DescribeVp if err := awsRestjson1_deserializeDocumentVpcEndpointErrorList(&sv.VpcEndpointErrors, value); err != nil { return err } + case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpoints(&sv.VpcEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -4663,6 +4702,7 @@ func awsRestjson1_deserializeOpDocumentDissociatePackageOutput(v **DissociatePac if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -4826,6 +4866,7 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleElasticsearchVersionsOutput( if err := awsRestjson1_deserializeDocumentCompatibleElasticsearchVersionsList(&sv.CompatibleElasticsearchVersions, value); err != nil { return err } + default: _, _ = key, value @@ -4993,6 +5034,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.NextToken = ptr.String(jtv) } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -5001,10 +5043,12 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.PackageID = ptr.String(jtv) } + case "PackageVersionHistoryList": if err := awsRestjson1_deserializeDocumentPackageVersionHistoryList(&sv.PackageVersionHistoryList, value); err != nil { return err } + default: _, _ = key, value @@ -5172,10 +5216,12 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeHistoryOutput(v **GetUpgradeHis } sv.NextToken = ptr.String(jtv) } + case "UpgradeHistories": if err := awsRestjson1_deserializeDocumentUpgradeHistoryList(&sv.UpgradeHistories, value); err != nil { return err } + default: _, _ = key, value @@ -5343,6 +5389,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.StepStatus = types.UpgradeStatus(jtv) } + case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -5351,6 +5398,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeName = ptr.String(jtv) } + case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -5359,6 +5407,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeStep = types.UpgradeStep(jtv) } + default: _, _ = key, value @@ -5513,6 +5562,7 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainInfoList(&sv.DomainNames, value); err != nil { return err } + default: _, _ = key, value @@ -5676,6 +5726,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5684,6 +5735,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5844,6 +5896,7 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchInstanceTypesOutput(v ** if err := awsRestjson1_deserializeDocumentElasticsearchInstanceTypeList(&sv.ElasticsearchInstanceTypes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5852,6 +5905,7 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchInstanceTypesOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6012,6 +6066,7 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchVersionsOutput(v **ListE if err := awsRestjson1_deserializeDocumentElasticsearchVersionList(&sv.ElasticsearchVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6020,6 +6075,7 @@ func awsRestjson1_deserializeOpDocumentListElasticsearchVersionsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6183,6 +6239,7 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6191,6 +6248,7 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6351,6 +6409,7 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -6511,6 +6570,7 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalList(&sv.AuthorizedPrincipalList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6519,6 +6579,7 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6680,10 +6741,12 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } + case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -6848,10 +6911,12 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsForDomainOutput(v **ListV } sv.NextToken = ptr.String(jtv) } + case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -7022,6 +7087,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedElasticsearchInstanceOffe } sv.ReservationName = ptr.String(jtv) } + case "ReservedElasticsearchInstanceId": if value != nil { jtv, ok := value.(string) @@ -7030,6 +7096,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedElasticsearchInstanceOffe } sv.ReservedElasticsearchInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7184,6 +7251,7 @@ func awsRestjson1_deserializeOpDocumentRejectInboundCrossClusterSearchConnection if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(&sv.CrossClusterSearchConnection, value); err != nil { return err } + default: _, _ = key, value @@ -7544,6 +7612,7 @@ func awsRestjson1_deserializeOpDocumentStartElasticsearchServiceSoftwareUpdateOu if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + default: _, _ = key, value @@ -7710,10 +7779,12 @@ func awsRestjson1_deserializeOpDocumentUpdateElasticsearchDomainConfigOutput(v * if err := awsRestjson1_deserializeDocumentElasticsearchDomainConfig(&sv.DomainConfig, value); err != nil { return err } + case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } + default: _, _ = key, value @@ -7880,6 +7951,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageOutput(v **UpdatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8046,6 +8118,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -8212,6 +8285,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -8220,6 +8294,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.DomainName = ptr.String(jtv) } + case "PerformCheckOnly": if value != nil { jtv, ok := value.(bool) @@ -8228,6 +8303,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.PerformCheckOnly = ptr.Bool(jtv) } + case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -8236,6 +8312,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeElasticsearchDomainOutput(v **Upgr } sv.TargetVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8671,6 +8748,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8710,10 +8788,12 @@ func awsRestjson1_deserializeDocumentAccessPoliciesStatus(v **types.AccessPolici } sv.Options = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -8753,10 +8833,12 @@ func awsRestjson1_deserializeDocumentAdditionalLimit(v **types.AdditionalLimit, } sv.LimitName = ptr.String(jtv) } + case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } + default: _, _ = key, value @@ -8862,10 +8944,12 @@ func awsRestjson1_deserializeDocumentAdvancedOptionsStatus(v **types.AdvancedOpt if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -8912,6 +8996,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } } + case "AnonymousAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -8920,6 +9005,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.AnonymousAuthEnabled = ptr.Bool(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -8928,6 +9014,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.Enabled = ptr.Bool(jtv) } + case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -8936,10 +9023,12 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } + case "SAMLOptions": if err := awsRestjson1_deserializeDocumentSAMLOptionsOutput(&sv.SAMLOptions, value); err != nil { return err } + default: _, _ = key, value @@ -8975,10 +9064,12 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(v **types.Adv if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -9018,6 +9109,7 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.Principal = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9026,6 +9118,7 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -9095,6 +9188,7 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac if err := awsRestjson1_deserializeDocumentAutoTuneDetails(&sv.AutoTuneDetails, value); err != nil { return err } + case "AutoTuneType": if value != nil { jtv, ok := value.(string) @@ -9103,6 +9197,7 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac } sv.AutoTuneType = types.AutoTuneType(jtv) } + default: _, _ = key, value @@ -9138,6 +9233,7 @@ func awsRestjson1_deserializeDocumentAutoTuneDetails(v **types.AutoTuneDetails, if err := awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(&sv.ScheduledAutoTuneDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9211,10 +9307,12 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } sv.CronExpressionForRecurrence = ptr.String(jtv) } + case "Duration": if err := awsRestjson1_deserializeDocumentDuration(&sv.Duration, value); err != nil { return err } + case "StartAt": if value != nil { switch jtv := value.(type) { @@ -9230,6 +9328,7 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } } + default: _, _ = key, value @@ -9303,10 +9402,12 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.DesiredState = types.AutoTuneDesiredState(jtv) } + case "MaintenanceSchedules": if err := awsRestjson1_deserializeDocumentAutoTuneMaintenanceScheduleList(&sv.MaintenanceSchedules, value); err != nil { return err } + case "RollbackOnDisable": if value != nil { jtv, ok := value.(string) @@ -9315,6 +9416,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.RollbackOnDisable = types.RollbackOnDisable(jtv) } + default: _, _ = key, value @@ -9354,6 +9456,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.ErrorMessage = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9362,6 +9465,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.State = types.AutoTuneState(jtv) } + default: _, _ = key, value @@ -9397,10 +9501,12 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(v **types.AutoTuneOpt if err := awsRestjson1_deserializeDocumentAutoTuneOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentAutoTuneStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -9447,6 +9553,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9455,6 +9562,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.ErrorMessage = ptr.String(jtv) } + case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -9463,6 +9571,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.PendingDeletion = ptr.Bool(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9471,6 +9580,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.State = types.AutoTuneState(jtv) } + case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -9486,6 +9596,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } + case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9498,6 +9609,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.UpdateVersion = int32(i64) } + default: _, _ = key, value @@ -9537,6 +9649,7 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9576,6 +9689,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.ActiveValue = ptr.String(jtv) } + case "CancelledValue": if value != nil { jtv, ok := value.(string) @@ -9584,6 +9698,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.CancelledValue = ptr.String(jtv) } + case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -9592,6 +9707,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.PropertyName = ptr.String(jtv) } + default: _, _ = key, value @@ -9665,6 +9781,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ChangeId = ptr.String(jtv) } + case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -9673,6 +9790,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } + case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -9681,6 +9799,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9696,6 +9815,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9704,6 +9824,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.Message = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9719,6 +9840,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } + default: _, _ = key, value @@ -9758,6 +9880,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -9773,6 +9896,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9781,6 +9905,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9789,6 +9914,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9862,14 +9988,17 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ChangeId = ptr.String(jtv) } + case "ChangeProgressStages": if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } + case "CompletedProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.CompletedProperties, value); err != nil { return err } + case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -9878,6 +10007,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } + case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -9886,6 +10016,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9901,10 +10032,12 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } + case "PendingProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingProperties, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9920,6 +10053,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9928,6 +10062,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.Status = types.OverallChangeStatus(jtv) } + case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -9940,6 +10075,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.TotalNumberOfStages = int32(i64) } + default: _, _ = key, value @@ -9979,6 +10115,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.Enabled = ptr.Bool(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -9987,6 +10124,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.IdentityPoolId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9995,6 +10133,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.RoleArn = ptr.String(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -10003,6 +10142,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -10038,10 +10178,12 @@ func awsRestjson1_deserializeDocumentCognitoOptionsStatus(v **types.CognitoOptio if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -10081,6 +10223,7 @@ func awsRestjson1_deserializeDocumentColdStorageOptions(v **types.ColdStorageOpt } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10154,10 +10297,12 @@ func awsRestjson1_deserializeDocumentCompatibleVersionsMap(v **types.CompatibleV } sv.SourceVersion = ptr.String(jtv) } + case "TargetVersions": if err := awsRestjson1_deserializeDocumentElasticsearchVersionList(&sv.TargetVersions, value); err != nil { return err } + default: _, _ = key, value @@ -10197,6 +10342,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10236,6 +10382,7 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10275,6 +10422,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpoint = ptr.String(jtv) } + case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -10283,6 +10431,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointCertificateArn = ptr.String(jtv) } + case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -10291,6 +10440,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointEnabled = ptr.Bool(jtv) } + case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -10299,6 +10449,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.EnforceHTTPS = ptr.Bool(jtv) } + case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -10307,6 +10458,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.TLSSecurityPolicy = types.TLSSecurityPolicy(jtv) } + default: _, _ = key, value @@ -10342,10 +10494,12 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(v **types.Domai if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -10385,6 +10539,7 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.DomainName = ptr.String(jtv) } + case "EngineType": if value != nil { jtv, ok := value.(string) @@ -10393,6 +10548,7 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.EngineType = types.EngineType(jtv) } + default: _, _ = key, value @@ -10466,6 +10622,7 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.DomainName = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10474,6 +10631,7 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.OwnerId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -10482,6 +10640,7 @@ func awsRestjson1_deserializeDocumentDomainInformation(v **types.DomainInformati } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -10521,6 +10680,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainName = ptr.String(jtv) } + case "DomainPackageStatus": if value != nil { jtv, ok := value.(string) @@ -10529,10 +10689,12 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainPackageStatus = types.DomainPackageStatus(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -10548,6 +10710,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -10556,6 +10719,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageID = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -10564,6 +10728,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageName = ptr.String(jtv) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -10572,6 +10737,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageType = types.PackageType(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -10580,6 +10746,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageVersion = ptr.String(jtv) } + case "ReferencePath": if value != nil { jtv, ok := value.(string) @@ -10588,6 +10755,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.ReferencePath = ptr.String(jtv) } + default: _, _ = key, value @@ -10661,6 +10829,7 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.DeploymentType = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10669,6 +10838,7 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10708,6 +10878,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.TimeUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -10720,6 +10891,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -10759,6 +10931,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.EBSEnabled = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -10771,6 +10944,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Iops = ptr.Int32(int32(i64)) } + case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -10783,6 +10957,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Throughput = ptr.Int32(int32(i64)) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -10795,6 +10970,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -10803,6 +10979,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -10838,10 +11015,12 @@ func awsRestjson1_deserializeDocumentEBSOptionsStatus(v **types.EBSOptionsStatus if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -10877,6 +11056,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti if err := awsRestjson1_deserializeDocumentColdStorageOptions(&sv.ColdStorageOptions, value); err != nil { return err } + case "DedicatedMasterCount": if value != nil { jtv, ok := value.(json.Number) @@ -10889,6 +11069,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } + case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -10897,6 +11078,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } + case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -10905,6 +11087,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.DedicatedMasterType = types.ESPartitionInstanceType(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10917,6 +11100,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -10925,6 +11109,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.InstanceType = types.ESPartitionInstanceType(jtv) } + case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -10937,6 +11122,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmCount = ptr.Int32(int32(i64)) } + case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -10945,6 +11131,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmEnabled = ptr.Bool(jtv) } + case "WarmType": if value != nil { jtv, ok := value.(string) @@ -10953,10 +11140,12 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.WarmType = types.ESWarmPartitionInstanceType(jtv) } + case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentZoneAwarenessConfig(&sv.ZoneAwarenessConfig, value); err != nil { return err } + case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -10965,6 +11154,7 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfig(v **types.Elasti } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11000,10 +11190,12 @@ func awsRestjson1_deserializeDocumentElasticsearchClusterConfigStatus(v **types. if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfig(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -11039,66 +11231,82 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainConfig(v **types.Elastic if err := awsRestjson1_deserializeDocumentAccessPoliciesStatus(&sv.AccessPolicies, value); err != nil { return err } + case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptionsStatus(&sv.AdvancedOptions, value); err != nil { return err } + case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(&sv.AdvancedSecurityOptions, value); err != nil { return err } + case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(&sv.AutoTuneOptions, value); err != nil { return err } + case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptionsStatus(&sv.CognitoOptions, value); err != nil { return err } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(&sv.DomainEndpointOptions, value); err != nil { return err } + case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptionsStatus(&sv.EBSOptions, value); err != nil { return err } + case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfigStatus(&sv.ElasticsearchClusterConfig, value); err != nil { return err } + case "ElasticsearchVersion": if err := awsRestjson1_deserializeDocumentElasticsearchVersionStatus(&sv.ElasticsearchVersion, value); err != nil { return err } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(&sv.LogPublishingOptions, value); err != nil { return err } + case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptionsStatus(&sv.SnapshotOptions, value); err != nil { return err } + case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(&sv.VPCOptions, value); err != nil { return err } + default: _, _ = key, value @@ -11138,14 +11346,17 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.AccessPolicies = ptr.String(jtv) } + case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } + case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.AdvancedSecurityOptions, value); err != nil { return err } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -11154,18 +11365,22 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.ARN = ptr.String(jtv) } + case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(&sv.AutoTuneOptions, value); err != nil { return err } + case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.CognitoOptions, value); err != nil { return err } + case "Created": if value != nil { jtv, ok := value.(bool) @@ -11174,6 +11389,7 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Created = ptr.Bool(jtv) } + case "Deleted": if value != nil { jtv, ok := value.(bool) @@ -11182,10 +11398,12 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Deleted = ptr.Bool(jtv) } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -11194,6 +11412,7 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11202,6 +11421,7 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainName = ptr.String(jtv) } + case "DomainProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -11210,14 +11430,17 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.DomainProcessingStatus = types.DomainProcessingStatusType(jtv) } + case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.EBSOptions, value); err != nil { return err } + case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentElasticsearchClusterConfig(&sv.ElasticsearchClusterConfig, value); err != nil { return err } + case "ElasticsearchVersion": if value != nil { jtv, ok := value.(string) @@ -11226,10 +11449,12 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.ElasticsearchVersion = ptr.String(jtv) } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -11238,22 +11463,27 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Endpoint = ptr.String(jtv) } + case "Endpoints": if err := awsRestjson1_deserializeDocumentEndpointsMap(&sv.Endpoints, value); err != nil { return err } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } + case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "Processing": if value != nil { jtv, ok := value.(bool) @@ -11262,14 +11492,17 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.Processing = ptr.Bool(jtv) } + case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.SnapshotOptions, value); err != nil { return err } + case "UpgradeProcessing": if value != nil { jtv, ok := value.(bool) @@ -11278,10 +11511,12 @@ func awsRestjson1_deserializeDocumentElasticsearchDomainStatus(v **types.Elastic } sv.UpgradeProcessing = ptr.Bool(jtv) } + case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VPCOptions, value); err != nil { return err } + default: _, _ = key, value @@ -11427,10 +11662,12 @@ func awsRestjson1_deserializeDocumentElasticsearchVersionStatus(v **types.Elasti } sv.Options = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -11470,6 +11707,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.Enabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11478,6 +11716,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -11513,10 +11752,12 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(v **types.Enc if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -11592,6 +11833,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -11600,6 +11842,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -11671,6 +11914,7 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(v **typ if err := awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -11679,14 +11923,17 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnection(v **typ } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } + case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } + case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -11760,6 +12007,7 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(v } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -11768,6 +12016,7 @@ func awsRestjson1_deserializeDocumentInboundCrossClusterSearchConnectionStatus(v } sv.StatusCode = types.InboundCrossClusterSearchConnectionStatusCode(jtv) } + default: _, _ = key, value @@ -11811,6 +12060,7 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MaximumInstanceCount = int32(i64) } + case "MinimumInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -11823,6 +12073,7 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MinimumInstanceCount = int32(i64) } + default: _, _ = key, value @@ -11858,6 +12109,7 @@ func awsRestjson1_deserializeDocumentInstanceLimits(v **types.InstanceLimits, va if err := awsRestjson1_deserializeDocumentInstanceCountLimits(&sv.InstanceCountLimits, value); err != nil { return err } + default: _, _ = key, value @@ -11897,6 +12149,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11936,6 +12189,7 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11975,6 +12229,7 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12050,6 +12305,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12085,14 +12341,17 @@ func awsRestjson1_deserializeDocumentLimits(v **types.Limits, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalLimitList(&sv.AdditionalLimits, value); err != nil { return err } + case "InstanceLimits": if err := awsRestjson1_deserializeDocumentInstanceLimits(&sv.InstanceLimits, value); err != nil { return err } + case "StorageTypes": if err := awsRestjson1_deserializeDocumentStorageTypeList(&sv.StorageTypes, value); err != nil { return err } + default: _, _ = key, value @@ -12203,6 +12462,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -12211,6 +12471,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12281,10 +12542,12 @@ func awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(v **types.LogPub if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12324,6 +12587,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ActiveValue = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12332,6 +12596,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.Name = ptr.String(jtv) } + case "PendingValue": if value != nil { jtv, ok := value.(string) @@ -12340,6 +12605,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.PendingValue = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -12348,6 +12614,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ValueType = types.PropertyValueType(jtv) } + default: _, _ = key, value @@ -12421,6 +12688,7 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(v **types.NodeT } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12456,10 +12724,12 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(v **types if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12506,6 +12776,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } + case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -12514,6 +12785,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.PendingDeletion = ptr.Bool(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -12522,6 +12794,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.State = types.OptionState(jtv) } + case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -12537,6 +12810,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } + case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -12549,6 +12823,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.UpdateVersion = int32(i64) } + default: _, _ = key, value @@ -12588,10 +12863,12 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(v **ty } sv.ConnectionAlias = ptr.String(jtv) } + case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "CrossClusterSearchConnectionId": if value != nil { jtv, ok := value.(string) @@ -12600,14 +12877,17 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnection(v **ty } sv.CrossClusterSearchConnectionId = ptr.String(jtv) } + case "DestinationDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.DestinationDomainInfo, value); err != nil { return err } + case "SourceDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformation(&sv.SourceDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -12681,6 +12961,7 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus( } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -12689,6 +12970,7 @@ func awsRestjson1_deserializeDocumentOutboundCrossClusterSearchConnectionStatus( } sv.StatusCode = types.OutboundCrossClusterSearchConnectionStatusCode(jtv) } + default: _, _ = key, value @@ -12728,6 +13010,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.AvailablePackageVersion = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -12743,10 +13026,12 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12762,6 +13047,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } + case "PackageDescription": if value != nil { jtv, ok := value.(string) @@ -12770,6 +13056,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageDescription = ptr.String(jtv) } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -12778,6 +13065,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageID = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -12786,6 +13074,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageName = ptr.String(jtv) } + case "PackageStatus": if value != nil { jtv, ok := value.(string) @@ -12794,6 +13083,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageStatus = types.PackageStatus(jtv) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -12802,6 +13092,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageType = types.PackageType(jtv) } + default: _, _ = key, value @@ -12875,6 +13166,7 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.CommitMessage = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -12890,6 +13182,7 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -12898,6 +13191,7 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.PackageVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -12996,6 +13290,7 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } + case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -13004,6 +13299,7 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } + default: _, _ = key, value @@ -13077,6 +13373,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.CurrencyCode = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -13089,6 +13386,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.Duration = int32(i64) } + case "ElasticsearchInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13101,6 +13399,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ElasticsearchInstanceCount = int32(i64) } + case "ElasticsearchInstanceType": if value != nil { jtv, ok := value.(string) @@ -13109,6 +13408,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ElasticsearchInstanceType = types.ESPartitionInstanceType(jtv) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -13142,6 +13442,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -13150,10 +13451,12 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.PaymentOption = types.ReservedElasticsearchInstancePaymentOption(jtv) } + case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservationName": if value != nil { jtv, ok := value.(string) @@ -13162,6 +13465,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservationName = ptr.String(jtv) } + case "ReservedElasticsearchInstanceId": if value != nil { jtv, ok := value.(string) @@ -13170,6 +13474,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservedElasticsearchInstanceId = ptr.String(jtv) } + case "ReservedElasticsearchInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -13178,6 +13483,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.ReservedElasticsearchInstanceOfferingId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13193,6 +13499,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } + case "State": if value != nil { jtv, ok := value.(string) @@ -13201,6 +13508,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } sv.State = ptr.String(jtv) } + case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -13234,6 +13542,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstance(v **types.Res } } + default: _, _ = key, value @@ -13307,6 +13616,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.CurrencyCode = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -13319,6 +13629,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.Duration = int32(i64) } + case "ElasticsearchInstanceType": if value != nil { jtv, ok := value.(string) @@ -13327,6 +13638,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.ElasticsearchInstanceType = types.ESPartitionInstanceType(jtv) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -13360,6 +13672,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -13368,10 +13681,12 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.PaymentOption = types.ReservedElasticsearchInstancePaymentOption(jtv) } + case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservedElasticsearchInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -13380,6 +13695,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } sv.ReservedElasticsearchInstanceOfferingId = ptr.String(jtv) } + case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -13413,6 +13729,7 @@ func awsRestjson1_deserializeDocumentReservedElasticsearchInstanceOffering(v **t } } + default: _, _ = key, value @@ -13486,6 +13803,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13525,6 +13843,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13564,6 +13883,7 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.EntityId = ptr.String(jtv) } + case "MetadataContent": if value != nil { jtv, ok := value.(string) @@ -13572,6 +13892,7 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.MetadataContent = ptr.String(jtv) } + default: _, _ = key, value @@ -13611,10 +13932,12 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.Enabled = ptr.Bool(jtv) } + case "Idp": if err := awsRestjson1_deserializeDocumentSAMLIdp(&sv.Idp, value); err != nil { return err } + case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -13623,6 +13946,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.RolesKey = ptr.String(jtv) } + case "SessionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13635,6 +13959,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SessionTimeoutMinutes = ptr.Int32(int32(i64)) } + case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -13643,6 +13968,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SubjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -13682,6 +14008,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Action = ptr.String(jtv) } + case "ActionType": if value != nil { jtv, ok := value.(string) @@ -13690,6 +14017,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.ActionType = types.ScheduledAutoTuneActionType(jtv) } + case "Date": if value != nil { switch jtv := value.(type) { @@ -13705,6 +14033,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -13713,6 +14042,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Severity = types.ScheduledAutoTuneSeverityType(jtv) } + default: _, _ = key, value @@ -13759,6 +14089,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } } + case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -13767,6 +14098,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Cancellable = ptr.Bool(jtv) } + case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -13775,6 +14107,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.CurrentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13783,6 +14116,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Description = ptr.String(jtv) } + case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -13791,6 +14125,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.NewVersion = ptr.String(jtv) } + case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -13799,6 +14134,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.OptionalDeployment = ptr.Bool(jtv) } + case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -13807,6 +14143,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateAvailable = ptr.Bool(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -13815,6 +14152,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateStatus = types.DeploymentStatus(jtv) } + default: _, _ = key, value @@ -13858,6 +14196,7 @@ func awsRestjson1_deserializeDocumentSnapshotOptions(v **types.SnapshotOptions, } sv.AutomatedSnapshotStartHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13893,10 +14232,12 @@ func awsRestjson1_deserializeDocumentSnapshotOptionsStatus(v **types.SnapshotOpt if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -13936,10 +14277,12 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageSubTypeName = ptr.String(jtv) } + case "StorageTypeLimits": if err := awsRestjson1_deserializeDocumentStorageTypeLimitList(&sv.StorageTypeLimits, value); err != nil { return err } + case "StorageTypeName": if value != nil { jtv, ok := value.(string) @@ -13948,6 +14291,7 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -13987,10 +14331,12 @@ func awsRestjson1_deserializeDocumentStorageTypeLimit(v **types.StorageTypeLimit } sv.LimitName = ptr.String(jtv) } + case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } + default: _, _ = key, value @@ -14134,6 +14480,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14142,6 +14489,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14222,10 +14570,12 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } } + case "StepsList": if err := awsRestjson1_deserializeDocumentUpgradeStepsList(&sv.StepsList, value); err != nil { return err } + case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -14234,6 +14584,7 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeName = ptr.String(jtv) } + case "UpgradeStatus": if value != nil { jtv, ok := value.(string) @@ -14242,6 +14593,7 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeStatus = types.UpgradeStatus(jtv) } + default: _, _ = key, value @@ -14311,6 +14663,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } + case "ProgressPercent": if value != nil { switch jtv := value.(type) { @@ -14344,6 +14697,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } } + case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -14352,6 +14706,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStep = types.UpgradeStep(jtv) } + case "UpgradeStepStatus": if value != nil { jtv, ok := value.(string) @@ -14360,6 +14715,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStepStatus = types.UpgradeStatus(jtv) } + default: _, _ = key, value @@ -14433,6 +14789,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14468,14 +14825,17 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -14484,6 +14844,7 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -14519,10 +14880,12 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(v **types.VPCDerivedIn if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14562,6 +14925,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.DomainArn = ptr.String(jtv) } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -14570,6 +14934,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Endpoint = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14578,6 +14943,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Status = types.VpcEndpointStatus(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -14586,6 +14952,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -14594,10 +14961,12 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointOwner = ptr.String(jtv) } + case "VpcOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VpcOptions, value); err != nil { return err } + default: _, _ = key, value @@ -14637,6 +15006,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorCode = types.VpcEndpointErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -14645,6 +15015,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorMessage = ptr.String(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -14653,6 +15024,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.VpcEndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -14760,6 +15132,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.DomainArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14768,6 +15141,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -14776,6 +15150,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -14784,6 +15159,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointOwner = ptr.String(jtv) } + default: _, _ = key, value @@ -14861,6 +15237,7 @@ func awsRestjson1_deserializeDocumentZoneAwarenessConfig(v **types.ZoneAwareness } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/elastictranscoder/deserializers.go b/service/elastictranscoder/deserializers.go index 31f16f62e55..44c80bbfc3c 100644 --- a/service/elastictranscoder/deserializers.go +++ b/service/elastictranscoder/deserializers.go @@ -289,6 +289,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -455,10 +456,12 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -622,6 +625,7 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } + case "Warning": if value != nil { jtv, ok := value.(string) @@ -630,6 +634,7 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput } sv.Warning = ptr.String(jtv) } + default: _, _ = key, value @@ -996,6 +1001,7 @@ func awsRestjson1_deserializeOpDocumentListJobsByPipelineOutput(v **ListJobsByPi if err := awsRestjson1_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -1004,6 +1010,7 @@ func awsRestjson1_deserializeOpDocumentListJobsByPipelineOutput(v **ListJobsByPi } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1167,6 +1174,7 @@ func awsRestjson1_deserializeOpDocumentListJobsByStatusOutput(v **ListJobsByStat if err := awsRestjson1_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -1175,6 +1183,7 @@ func awsRestjson1_deserializeOpDocumentListJobsByStatusOutput(v **ListJobsByStat } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1339,10 +1348,12 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextPageToken = ptr.String(jtv) } + case "Pipelines": if err := awsRestjson1_deserializeDocumentPipelines(&sv.Pipelines, value); err != nil { return err } + default: _, _ = key, value @@ -1507,10 +1518,12 @@ func awsRestjson1_deserializeOpDocumentListPresetsOutput(v **ListPresetsOutput, } sv.NextPageToken = ptr.String(jtv) } + case "Presets": if err := awsRestjson1_deserializeDocumentPresets(&sv.Presets, value); err != nil { return err } + default: _, _ = key, value @@ -1674,6 +1687,7 @@ func awsRestjson1_deserializeOpDocumentReadJobOutput(v **ReadJobOutput, value in if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -1837,10 +1851,12 @@ func awsRestjson1_deserializeOpDocumentReadPipelineOutput(v **ReadPipelineOutput if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -2004,6 +2020,7 @@ func awsRestjson1_deserializeOpDocumentReadPresetOutput(v **ReadPresetOutput, va if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } + default: _, _ = key, value @@ -2167,6 +2184,7 @@ func awsRestjson1_deserializeOpDocumentTestRoleOutput(v **TestRoleOutput, value if err := awsRestjson1_deserializeDocumentExceptionMessages(&sv.Messages, value); err != nil { return err } + case "Success": if value != nil { jtv, ok := value.(string) @@ -2175,6 +2193,7 @@ func awsRestjson1_deserializeOpDocumentTestRoleOutput(v **TestRoleOutput, value } sv.Success = ptr.String(jtv) } + default: _, _ = key, value @@ -2341,10 +2360,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + case "Warnings": if err := awsRestjson1_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -2511,6 +2532,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineNotificationsOutput(v **Upd if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -2677,6 +2699,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineStatusOutput(v **UpdatePipe if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -3004,6 +3027,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3043,10 +3067,12 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.AlbumArtFormat = ptr.String(jtv) } + case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "InputKey": if value != nil { jtv, ok := value.(string) @@ -3055,6 +3081,7 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.InputKey = ptr.String(jtv) } + case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -3063,6 +3090,7 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.MaxHeight = ptr.String(jtv) } + case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -3071,6 +3099,7 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.MaxWidth = ptr.String(jtv) } + case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -3079,6 +3108,7 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.PaddingPolicy = ptr.String(jtv) } + case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -3087,6 +3117,7 @@ func awsRestjson1_deserializeDocumentArtwork(v **types.Artwork, value interface{ } sv.SizingPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -3160,6 +3191,7 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.BitDepth = ptr.String(jtv) } + case "BitOrder": if value != nil { jtv, ok := value.(string) @@ -3168,6 +3200,7 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.BitOrder = ptr.String(jtv) } + case "Profile": if value != nil { jtv, ok := value.(string) @@ -3176,6 +3209,7 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.Profile = ptr.String(jtv) } + case "Signed": if value != nil { jtv, ok := value.(string) @@ -3184,6 +3218,7 @@ func awsRestjson1_deserializeDocumentAudioCodecOptions(v **types.AudioCodecOptio } sv.Signed = ptr.String(jtv) } + default: _, _ = key, value @@ -3223,6 +3258,7 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.AudioPackingMode = ptr.String(jtv) } + case "BitRate": if value != nil { jtv, ok := value.(string) @@ -3231,6 +3267,7 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.BitRate = ptr.String(jtv) } + case "Channels": if value != nil { jtv, ok := value.(string) @@ -3239,6 +3276,7 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.Channels = ptr.String(jtv) } + case "Codec": if value != nil { jtv, ok := value.(string) @@ -3247,10 +3285,12 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.Codec = ptr.String(jtv) } + case "CodecOptions": if err := awsRestjson1_deserializeDocumentAudioCodecOptions(&sv.CodecOptions, value); err != nil { return err } + case "SampleRate": if value != nil { jtv, ok := value.(string) @@ -3259,6 +3299,7 @@ func awsRestjson1_deserializeDocumentAudioParameters(v **types.AudioParameters, } sv.SampleRate = ptr.String(jtv) } + default: _, _ = key, value @@ -3294,6 +3335,7 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -3302,6 +3344,7 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu } sv.Format = ptr.String(jtv) } + case "Pattern": if value != nil { jtv, ok := value.(string) @@ -3310,6 +3353,7 @@ func awsRestjson1_deserializeDocumentCaptionFormat(v **types.CaptionFormat, valu } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -3379,10 +3423,12 @@ func awsRestjson1_deserializeDocumentCaptions(v **types.Captions, value interfac if err := awsRestjson1_deserializeDocumentCaptionFormats(&sv.CaptionFormats, value); err != nil { return err } + case "CaptionSources": if err := awsRestjson1_deserializeDocumentCaptionSources(&sv.CaptionSources, value); err != nil { return err } + case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -3391,6 +3437,7 @@ func awsRestjson1_deserializeDocumentCaptions(v **types.Captions, value interfac } sv.MergePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -3426,6 +3473,7 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "Key": if value != nil { jtv, ok := value.(string) @@ -3434,6 +3482,7 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Key = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3442,6 +3491,7 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Label = ptr.String(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -3450,6 +3500,7 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.Language = ptr.String(jtv) } + case "TimeOffset": if value != nil { jtv, ok := value.(string) @@ -3458,6 +3509,7 @@ func awsRestjson1_deserializeDocumentCaptionSource(v **types.CaptionSource, valu } sv.TimeOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -3527,6 +3579,7 @@ func awsRestjson1_deserializeDocumentClip(v **types.Clip, value interface{}) err if err := awsRestjson1_deserializeDocumentTimeSpan(&sv.TimeSpan, value); err != nil { return err } + default: _, _ = key, value @@ -3640,6 +3693,7 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.DurationMillis = ptr.Int64(i64) } + case "FileSize": if value != nil { jtv, ok := value.(json.Number) @@ -3652,6 +3706,7 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.FileSize = ptr.Int64(i64) } + case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -3660,6 +3715,7 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.FrameRate = ptr.String(jtv) } + case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -3672,6 +3728,7 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.Height = ptr.Int32(int32(i64)) } + case "Width": if value != nil { jtv, ok := value.(json.Number) @@ -3684,6 +3741,7 @@ func awsRestjson1_deserializeDocumentDetectedProperties(v **types.DetectedProper } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3723,6 +3781,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.InitializationVector = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -3731,6 +3790,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Key = ptr.String(jtv) } + case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -3739,6 +3799,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyMd5 = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -3747,6 +3808,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Mode = ptr.String(jtv) } + default: _, _ = key, value @@ -3822,6 +3884,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.InitializationVector = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -3830,6 +3893,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.Key = ptr.String(jtv) } + case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -3838,6 +3902,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.KeyMd5 = ptr.String(jtv) } + case "KeyStoragePolicy": if value != nil { jtv, ok := value.(string) @@ -3846,6 +3911,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.KeyStoragePolicy = ptr.String(jtv) } + case "LicenseAcquisitionUrl": if value != nil { jtv, ok := value.(string) @@ -3854,6 +3920,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.LicenseAcquisitionUrl = ptr.String(jtv) } + case "Method": if value != nil { jtv, ok := value.(string) @@ -3862,6 +3929,7 @@ func awsRestjson1_deserializeDocumentHlsContentProtection(v **types.HlsContentPr } sv.Method = ptr.String(jtv) } + default: _, _ = key, value @@ -3901,6 +3969,7 @@ func awsRestjson1_deserializeDocumentIncompatibleVersionException(v **types.Inco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3936,6 +4005,7 @@ func awsRestjson1_deserializeDocumentInputCaptions(v **types.InputCaptions, valu if err := awsRestjson1_deserializeDocumentCaptionSources(&sv.CaptionSources, value); err != nil { return err } + case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -3944,6 +4014,7 @@ func awsRestjson1_deserializeDocumentInputCaptions(v **types.InputCaptions, valu } sv.MergePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -3983,6 +4054,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4022,6 +4094,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4030,18 +4103,22 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } + case "Input": if err := awsRestjson1_deserializeDocumentJobInput(&sv.Input, value); err != nil { return err } + case "Inputs": if err := awsRestjson1_deserializeDocumentJobInputs(&sv.Inputs, value); err != nil { return err } + case "Output": if err := awsRestjson1_deserializeDocumentJobOutput(&sv.Output, value); err != nil { return err } + case "OutputKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4050,10 +4127,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.OutputKeyPrefix = ptr.String(jtv) } + case "Outputs": if err := awsRestjson1_deserializeDocumentJobOutputs(&sv.Outputs, value); err != nil { return err } + case "PipelineId": if value != nil { jtv, ok := value.(string) @@ -4062,10 +4141,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.PipelineId = ptr.String(jtv) } + case "Playlists": if err := awsRestjson1_deserializeDocumentPlaylists(&sv.Playlists, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4074,14 +4155,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = ptr.String(jtv) } + case "Timing": if err := awsRestjson1_deserializeDocumentTiming(&sv.Timing, value); err != nil { return err } + case "UserMetadata": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.UserMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -4117,6 +4201,7 @@ func awsRestjson1_deserializeDocumentJobAlbumArt(v **types.JobAlbumArt, value in if err := awsRestjson1_deserializeDocumentArtworks(&sv.Artwork, value); err != nil { return err } + case "MergePolicy": if value != nil { jtv, ok := value.(string) @@ -4125,6 +4210,7 @@ func awsRestjson1_deserializeDocumentJobAlbumArt(v **types.JobAlbumArt, value in } sv.MergePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -4164,6 +4250,7 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.AspectRatio = ptr.String(jtv) } + case "Container": if value != nil { jtv, ok := value.(string) @@ -4172,14 +4259,17 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Container = ptr.String(jtv) } + case "DetectedProperties": if err := awsRestjson1_deserializeDocumentDetectedProperties(&sv.DetectedProperties, value); err != nil { return err } + case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -4188,10 +4278,12 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.FrameRate = ptr.String(jtv) } + case "InputCaptions": if err := awsRestjson1_deserializeDocumentInputCaptions(&sv.InputCaptions, value); err != nil { return err } + case "Interlaced": if value != nil { jtv, ok := value.(string) @@ -4200,6 +4292,7 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Interlaced = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -4208,6 +4301,7 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Key = ptr.String(jtv) } + case "Resolution": if value != nil { jtv, ok := value.(string) @@ -4216,10 +4310,12 @@ func awsRestjson1_deserializeDocumentJobInput(v **types.JobInput, value interfac } sv.Resolution = ptr.String(jtv) } + case "TimeSpan": if err := awsRestjson1_deserializeDocumentTimeSpan(&sv.TimeSpan, value); err != nil { return err } + default: _, _ = key, value @@ -4289,6 +4385,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf if err := awsRestjson1_deserializeDocumentJobAlbumArt(&sv.AlbumArt, value); err != nil { return err } + case "AppliedColorSpaceConversion": if value != nil { jtv, ok := value.(string) @@ -4297,14 +4394,17 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.AppliedColorSpaceConversion = ptr.String(jtv) } + case "Captions": if err := awsRestjson1_deserializeDocumentCaptions(&sv.Captions, value); err != nil { return err } + case "Composition": if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4317,6 +4417,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Duration = ptr.Int64(i64) } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -4329,10 +4430,12 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.DurationMillis = ptr.Int64(i64) } + case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "FileSize": if value != nil { jtv, ok := value.(json.Number) @@ -4345,6 +4448,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.FileSize = ptr.Int64(i64) } + case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -4353,6 +4457,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.FrameRate = ptr.String(jtv) } + case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -4365,6 +4470,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Height = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4373,6 +4479,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Id = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -4381,6 +4488,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Key = ptr.String(jtv) } + case "PresetId": if value != nil { jtv, ok := value.(string) @@ -4389,6 +4497,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.PresetId = ptr.String(jtv) } + case "Rotate": if value != nil { jtv, ok := value.(string) @@ -4397,6 +4506,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Rotate = ptr.String(jtv) } + case "SegmentDuration": if value != nil { jtv, ok := value.(string) @@ -4405,6 +4515,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.SegmentDuration = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4413,6 +4524,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Status = ptr.String(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -4421,10 +4533,12 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.StatusDetail = ptr.String(jtv) } + case "ThumbnailEncryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.ThumbnailEncryption, value); err != nil { return err } + case "ThumbnailPattern": if value != nil { jtv, ok := value.(string) @@ -4433,10 +4547,12 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.ThumbnailPattern = ptr.String(jtv) } + case "Watermarks": if err := awsRestjson1_deserializeDocumentJobWatermarks(&sv.Watermarks, value); err != nil { return err } + case "Width": if value != nil { jtv, ok := value.(json.Number) @@ -4449,6 +4565,7 @@ func awsRestjson1_deserializeDocumentJobOutput(v **types.JobOutput, value interf } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4552,6 +4669,7 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "InputKey": if value != nil { jtv, ok := value.(string) @@ -4560,6 +4678,7 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value } sv.InputKey = ptr.String(jtv) } + case "PresetWatermarkId": if value != nil { jtv, ok := value.(string) @@ -4568,6 +4687,7 @@ func awsRestjson1_deserializeDocumentJobWatermark(v **types.JobWatermark, value } sv.PresetWatermarkId = ptr.String(jtv) } + default: _, _ = key, value @@ -4641,6 +4761,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4680,6 +4801,7 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Completed = ptr.String(jtv) } + case "Error": if value != nil { jtv, ok := value.(string) @@ -4688,6 +4810,7 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Error = ptr.String(jtv) } + case "Progressing": if value != nil { jtv, ok := value.(string) @@ -4696,6 +4819,7 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Progressing = ptr.String(jtv) } + case "Warning": if value != nil { jtv, ok := value.(string) @@ -4704,6 +4828,7 @@ func awsRestjson1_deserializeDocumentNotifications(v **types.Notifications, valu } sv.Warning = ptr.String(jtv) } + default: _, _ = key, value @@ -4775,6 +4900,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte if err := awsRestjson1_deserializeDocumentAccessControls(&sv.Access, value); err != nil { return err } + case "Grantee": if value != nil { jtv, ok := value.(string) @@ -4783,6 +4909,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Grantee = ptr.String(jtv) } + case "GranteeType": if value != nil { jtv, ok := value.(string) @@ -4791,6 +4918,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeType = ptr.String(jtv) } + default: _, _ = key, value @@ -4864,6 +4992,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Arn = ptr.String(jtv) } + case "AwsKmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4872,10 +5001,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.AwsKmsKeyArn = ptr.String(jtv) } + case "ContentConfig": if err := awsRestjson1_deserializeDocumentPipelineOutputConfig(&sv.ContentConfig, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4884,6 +5015,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Id = ptr.String(jtv) } + case "InputBucket": if value != nil { jtv, ok := value.(string) @@ -4892,6 +5024,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.InputBucket = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4900,10 +5033,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Name = ptr.String(jtv) } + case "Notifications": if err := awsRestjson1_deserializeDocumentNotifications(&sv.Notifications, value); err != nil { return err } + case "OutputBucket": if value != nil { jtv, ok := value.(string) @@ -4912,6 +5047,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.OutputBucket = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -4920,6 +5056,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Role = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4928,10 +5065,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Status = ptr.String(jtv) } + case "ThumbnailConfig": if err := awsRestjson1_deserializeDocumentPipelineOutputConfig(&sv.ThumbnailConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4971,10 +5110,12 @@ func awsRestjson1_deserializeDocumentPipelineOutputConfig(v **types.PipelineOutp } sv.Bucket = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -4983,6 +5124,7 @@ func awsRestjson1_deserializeDocumentPipelineOutputConfig(v **types.PipelineOutp } sv.StorageClass = ptr.String(jtv) } + default: _, _ = key, value @@ -5056,10 +5198,12 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Format = ptr.String(jtv) } + case "HlsContentProtection": if err := awsRestjson1_deserializeDocumentHlsContentProtection(&sv.HlsContentProtection, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5068,14 +5212,17 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Name = ptr.String(jtv) } + case "OutputKeys": if err := awsRestjson1_deserializeDocumentOutputKeys(&sv.OutputKeys, value); err != nil { return err } + case "PlayReadyDrm": if err := awsRestjson1_deserializeDocumentPlayReadyDrm(&sv.PlayReadyDrm, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5231,7 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.Status = ptr.String(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5240,7 @@ func awsRestjson1_deserializeDocumentPlaylist(v **types.Playlist, value interfac } sv.StatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -5165,6 +5314,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.Format = ptr.String(jtv) } + case "InitializationVector": if value != nil { jtv, ok := value.(string) @@ -5173,6 +5323,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.InitializationVector = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -5181,6 +5332,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.Key = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -5189,6 +5341,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.KeyId = ptr.String(jtv) } + case "KeyMd5": if value != nil { jtv, ok := value.(string) @@ -5197,6 +5350,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.KeyMd5 = ptr.String(jtv) } + case "LicenseAcquisitionUrl": if value != nil { jtv, ok := value.(string) @@ -5205,6 +5359,7 @@ func awsRestjson1_deserializeDocumentPlayReadyDrm(v **types.PlayReadyDrm, value } sv.LicenseAcquisitionUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -5244,10 +5399,12 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Arn = ptr.String(jtv) } + case "Audio": if err := awsRestjson1_deserializeDocumentAudioParameters(&sv.Audio, value); err != nil { return err } + case "Container": if value != nil { jtv, ok := value.(string) @@ -5256,6 +5413,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Container = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5422,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5272,6 +5431,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5280,10 +5440,12 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Name = ptr.String(jtv) } + case "Thumbnails": if err := awsRestjson1_deserializeDocumentThumbnails(&sv.Thumbnails, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5292,10 +5454,12 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Type = ptr.String(jtv) } + case "Video": if err := awsRestjson1_deserializeDocumentVideoParameters(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -5369,6 +5533,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.HorizontalAlign = ptr.String(jtv) } + case "HorizontalOffset": if value != nil { jtv, ok := value.(string) @@ -5377,6 +5542,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.HorizontalOffset = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5385,6 +5551,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Id = ptr.String(jtv) } + case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -5393,6 +5560,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.MaxHeight = ptr.String(jtv) } + case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -5401,6 +5569,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.MaxWidth = ptr.String(jtv) } + case "Opacity": if value != nil { jtv, ok := value.(string) @@ -5409,6 +5578,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Opacity = ptr.String(jtv) } + case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -5417,6 +5587,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.SizingPolicy = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -5425,6 +5596,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.Target = ptr.String(jtv) } + case "VerticalAlign": if value != nil { jtv, ok := value.(string) @@ -5433,6 +5605,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.VerticalAlign = ptr.String(jtv) } + case "VerticalOffset": if value != nil { jtv, ok := value.(string) @@ -5441,6 +5614,7 @@ func awsRestjson1_deserializeDocumentPresetWatermark(v **types.PresetWatermark, } sv.VerticalOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -5514,6 +5688,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5553,6 +5728,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5592,6 +5768,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.AspectRatio = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -5600,6 +5777,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Format = ptr.String(jtv) } + case "Interval": if value != nil { jtv, ok := value.(string) @@ -5608,6 +5786,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Interval = ptr.String(jtv) } + case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -5616,6 +5795,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.MaxHeight = ptr.String(jtv) } + case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -5624,6 +5804,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.MaxWidth = ptr.String(jtv) } + case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -5632,6 +5813,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.PaddingPolicy = ptr.String(jtv) } + case "Resolution": if value != nil { jtv, ok := value.(string) @@ -5640,6 +5822,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.Resolution = ptr.String(jtv) } + case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -5648,6 +5831,7 @@ func awsRestjson1_deserializeDocumentThumbnails(v **types.Thumbnails, value inte } sv.SizingPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -5687,6 +5871,7 @@ func awsRestjson1_deserializeDocumentTimeSpan(v **types.TimeSpan, value interfac } sv.Duration = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5695,6 +5880,7 @@ func awsRestjson1_deserializeDocumentTimeSpan(v **types.TimeSpan, value interfac } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5738,6 +5924,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.FinishTimeMillis = ptr.Int64(i64) } + case "StartTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -5750,6 +5937,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.StartTimeMillis = ptr.Int64(i64) } + case "SubmitTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -5762,6 +5950,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } sv.SubmitTimeMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -5837,6 +6026,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5876,6 +6066,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.AspectRatio = ptr.String(jtv) } + case "BitRate": if value != nil { jtv, ok := value.(string) @@ -5884,6 +6075,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.BitRate = ptr.String(jtv) } + case "Codec": if value != nil { jtv, ok := value.(string) @@ -5892,10 +6084,12 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.Codec = ptr.String(jtv) } + case "CodecOptions": if err := awsRestjson1_deserializeDocumentCodecOptions(&sv.CodecOptions, value); err != nil { return err } + case "DisplayAspectRatio": if value != nil { jtv, ok := value.(string) @@ -5904,6 +6098,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.DisplayAspectRatio = ptr.String(jtv) } + case "FixedGOP": if value != nil { jtv, ok := value.(string) @@ -5912,6 +6107,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.FixedGOP = ptr.String(jtv) } + case "FrameRate": if value != nil { jtv, ok := value.(string) @@ -5920,6 +6116,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.FrameRate = ptr.String(jtv) } + case "KeyframesMaxDist": if value != nil { jtv, ok := value.(string) @@ -5928,6 +6125,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.KeyframesMaxDist = ptr.String(jtv) } + case "MaxFrameRate": if value != nil { jtv, ok := value.(string) @@ -5936,6 +6134,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxFrameRate = ptr.String(jtv) } + case "MaxHeight": if value != nil { jtv, ok := value.(string) @@ -5944,6 +6143,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxHeight = ptr.String(jtv) } + case "MaxWidth": if value != nil { jtv, ok := value.(string) @@ -5952,6 +6152,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.MaxWidth = ptr.String(jtv) } + case "PaddingPolicy": if value != nil { jtv, ok := value.(string) @@ -5960,6 +6161,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.PaddingPolicy = ptr.String(jtv) } + case "Resolution": if value != nil { jtv, ok := value.(string) @@ -5968,6 +6170,7 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.Resolution = ptr.String(jtv) } + case "SizingPolicy": if value != nil { jtv, ok := value.(string) @@ -5976,10 +6179,12 @@ func awsRestjson1_deserializeDocumentVideoParameters(v **types.VideoParameters, } sv.SizingPolicy = ptr.String(jtv) } + case "Watermarks": if err := awsRestjson1_deserializeDocumentPresetWatermarks(&sv.Watermarks, value); err != nil { return err } + default: _, _ = key, value @@ -6019,6 +6224,7 @@ func awsRestjson1_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6027,6 +6233,7 @@ func awsRestjson1_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index cf78f08c255..75c02379ab4 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -6182,10 +6182,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in if err := awsAwsjson11_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } + case "Args": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6194,6 +6196,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -6202,6 +6205,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6271,14 +6275,17 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(v **types.Auto if err := awsAwsjson11_deserializeDocumentScalingConstraints(&sv.Constraints, value); err != nil { return err } + case "Rules": if err := awsAwsjson11_deserializeDocumentScalingRuleList(&sv.Rules, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -6318,6 +6325,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(v **type } sv.Code = types.AutoScalingPolicyStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6326,6 +6334,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6365,10 +6374,12 @@ func awsAwsjson11_deserializeDocumentAutoScalingPolicyStatus(v **types.AutoScali } sv.State = types.AutoScalingPolicyState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + default: _, _ = key, value @@ -6412,6 +6423,7 @@ func awsAwsjson11_deserializeDocumentAutoTerminationPolicy(v **types.AutoTermina } sv.IdleTimeout = ptr.Int64(i64) } + default: _, _ = key, value @@ -6451,6 +6463,7 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(v **types.Bl } sv.BlockPublicSecurityGroupRules = ptr.Bool(jtv) } + case "Classification": if value != nil { jtv, ok := value.(string) @@ -6459,18 +6472,22 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(v **types.Bl } sv.Classification = ptr.String(jtv) } + case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "PermittedPublicSecurityGroupRuleRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PermittedPublicSecurityGroupRuleRanges, value); err != nil { return err } + case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -6510,6 +6527,7 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(v ** } sv.CreatedByArn = ptr.String(jtv) } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -6525,6 +6543,7 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(v ** } } + default: _, _ = key, value @@ -6564,10 +6583,12 @@ func awsAwsjson11_deserializeDocumentBootstrapActionConfig(v **types.BootstrapAc } sv.Name = ptr.String(jtv) } + case "ScriptBootstrapAction": if err := awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(&sv.ScriptBootstrapAction, value); err != nil { return err } + default: _, _ = key, value @@ -6603,6 +6624,7 @@ func awsAwsjson11_deserializeDocumentBootstrapActionDetail(v **types.BootstrapAc if err := awsAwsjson11_deserializeDocumentBootstrapActionConfig(&sv.BootstrapActionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6676,6 +6698,7 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.Reason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6684,6 +6707,7 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.Status = types.CancelStepsRequestStatus(jtv) } + case "StepId": if value != nil { jtv, ok := value.(string) @@ -6692,6 +6716,7 @@ func awsAwsjson11_deserializeDocumentCancelStepsInfo(v **types.CancelStepsInfo, } sv.StepId = ptr.String(jtv) } + default: _, _ = key, value @@ -6765,10 +6790,12 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "Dimensions": if err := awsAwsjson11_deserializeDocumentMetricDimensionList(&sv.Dimensions, value); err != nil { return err } + case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -6781,6 +6808,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -6789,6 +6817,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -6797,6 +6826,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Namespace = ptr.String(jtv) } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -6809,6 +6839,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Period = ptr.Int32(int32(i64)) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -6817,6 +6848,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Statistic = types.Statistic(jtv) } + case "Threshold": if value != nil { switch jtv := value.(type) { @@ -6850,6 +6882,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -6858,6 +6891,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(v **types.CloudWa } sv.Unit = types.Unit(jtv) } + default: _, _ = key, value @@ -6893,6 +6927,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ if err := awsAwsjson11_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } + case "AutoScalingRole": if value != nil { jtv, ok := value.(string) @@ -6901,6 +6936,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoScalingRole = ptr.String(jtv) } + case "AutoTerminate": if value != nil { jtv, ok := value.(bool) @@ -6909,6 +6945,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoTerminate = ptr.Bool(jtv) } + case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -6917,10 +6954,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -6929,6 +6968,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CustomAmiId = ptr.String(jtv) } + case "EbsRootVolumeIops": if value != nil { jtv, ok := value.(json.Number) @@ -6941,6 +6981,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeIops = ptr.Int32(int32(i64)) } + case "EbsRootVolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -6953,6 +6994,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeSize = ptr.Int32(int32(i64)) } + case "EbsRootVolumeThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -6965,10 +7007,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EbsRootVolumeThroughput = ptr.Int32(int32(i64)) } + case "Ec2InstanceAttributes": if err := awsAwsjson11_deserializeDocumentEc2InstanceAttributes(&sv.Ec2InstanceAttributes, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6977,6 +7021,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } + case "InstanceCollectionType": if value != nil { jtv, ok := value.(string) @@ -6985,10 +7030,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.InstanceCollectionType = types.InstanceCollectionType(jtv) } + case "KerberosAttributes": if err := awsAwsjson11_deserializeDocumentKerberosAttributes(&sv.KerberosAttributes, value); err != nil { return err } + case "LogEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6997,6 +7044,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.LogEncryptionKmsKeyId = ptr.String(jtv) } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -7005,6 +7053,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.LogUri = ptr.String(jtv) } + case "MasterPublicDnsName": if value != nil { jtv, ok := value.(string) @@ -7013,6 +7062,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.MasterPublicDnsName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7021,6 +7071,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } + case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -7033,6 +7084,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } + case "OSReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -7041,6 +7093,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.OSReleaseLabel = ptr.String(jtv) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -7049,10 +7102,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.OutpostArn = ptr.String(jtv) } + case "PlacementGroups": if err := awsAwsjson11_deserializeDocumentPlacementGroupConfigList(&sv.PlacementGroups, value); err != nil { return err } + case "ReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -7061,6 +7116,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ReleaseLabel = ptr.String(jtv) } + case "RepoUpgradeOnBoot": if value != nil { jtv, ok := value.(string) @@ -7069,6 +7125,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RepoUpgradeOnBoot = types.RepoUpgradeOnBoot(jtv) } + case "RequestedAmiVersion": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7134,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RequestedAmiVersion = ptr.String(jtv) } + case "RunningAmiVersion": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7143,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.RunningAmiVersion = ptr.String(jtv) } + case "ScaleDownBehavior": if value != nil { jtv, ok := value.(string) @@ -7093,6 +7152,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ScaleDownBehavior = types.ScaleDownBehavior(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -7101,6 +7161,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SecurityConfiguration = ptr.String(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -7109,10 +7170,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ServiceRole = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentClusterStatus(&sv.Status, value); err != nil { return err } + case "StepConcurrencyLevel": if value != nil { jtv, ok := value.(json.Number) @@ -7125,10 +7188,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.StepConcurrencyLevel = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TerminationProtected": if value != nil { jtv, ok := value.(bool) @@ -7137,6 +7202,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TerminationProtected = ptr.Bool(jtv) } + case "UnhealthyNodeReplacement": if value != nil { jtv, ok := value.(bool) @@ -7145,6 +7211,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.UnhealthyNodeReplacement = ptr.Bool(jtv) } + case "VisibleToAllUsers": if value != nil { jtv, ok := value.(bool) @@ -7153,6 +7220,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.VisibleToAllUsers = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7192,6 +7260,7 @@ func awsAwsjson11_deserializeDocumentClusterStateChangeReason(v **types.ClusterS } sv.Code = types.ClusterStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -7200,6 +7269,7 @@ func awsAwsjson11_deserializeDocumentClusterStateChangeReason(v **types.ClusterS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7235,6 +7305,7 @@ func awsAwsjson11_deserializeDocumentClusterStatus(v **types.ClusterStatus, valu if err := awsAwsjson11_deserializeDocumentErrorDetailList(&sv.ErrorDetails, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -7243,14 +7314,17 @@ func awsAwsjson11_deserializeDocumentClusterStatus(v **types.ClusterStatus, valu } sv.State = types.ClusterState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentClusterStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentClusterTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -7290,6 +7364,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7373,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7306,6 +7382,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Name = ptr.String(jtv) } + case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -7318,6 +7395,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -7326,10 +7404,12 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.OutpostArn = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentClusterStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -7410,6 +7490,7 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -7425,6 +7506,7 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -7440,6 +7522,7 @@ func awsAwsjson11_deserializeDocumentClusterTimeline(v **types.ClusterTimeline, } } + default: _, _ = key, value @@ -7475,6 +7558,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7483,6 +7567,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Name = ptr.String(jtv) } + case "ScriptPath": if value != nil { jtv, ok := value.(string) @@ -7491,6 +7576,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ScriptPath = ptr.String(jtv) } + default: _, _ = key, value @@ -7568,6 +7654,7 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumCapacityUnits = ptr.Int32(int32(i64)) } + case "MaximumCoreCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7580,6 +7667,7 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumCoreCapacityUnits = ptr.Int32(int32(i64)) } + case "MaximumOnDemandCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7592,6 +7680,7 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MaximumOnDemandCapacityUnits = ptr.Int32(int32(i64)) } + case "MinimumCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -7604,6 +7693,7 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.MinimumCapacityUnits = ptr.Int32(int32(i64)) } + case "UnitType": if value != nil { jtv, ok := value.(string) @@ -7612,6 +7702,7 @@ func awsAwsjson11_deserializeDocumentComputeLimits(v **types.ComputeLimits, valu } sv.UnitType = types.ComputeLimitsUnitType(jtv) } + default: _, _ = key, value @@ -7651,14 +7742,17 @@ func awsAwsjson11_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } + case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -7772,10 +7866,12 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.Device = ptr.String(jtv) } + case "VolumeSpecification": if err := awsAwsjson11_deserializeDocumentVolumeSpecification(&sv.VolumeSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -7849,6 +7945,7 @@ func awsAwsjson11_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf } sv.Device = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -7857,6 +7954,7 @@ func awsAwsjson11_deserializeDocumentEbsVolume(v **types.EbsVolume, value interf } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -7926,10 +8024,12 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance if err := awsAwsjson11_deserializeDocumentStringList(&sv.AdditionalMasterSecurityGroups, value); err != nil { return err } + case "AdditionalSlaveSecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.AdditionalSlaveSecurityGroups, value); err != nil { return err } + case "Ec2AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7938,6 +8038,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2AvailabilityZone = ptr.String(jtv) } + case "Ec2KeyName": if value != nil { jtv, ok := value.(string) @@ -7946,6 +8047,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2KeyName = ptr.String(jtv) } + case "Ec2SubnetId": if value != nil { jtv, ok := value.(string) @@ -7954,6 +8056,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.Ec2SubnetId = ptr.String(jtv) } + case "EmrManagedMasterSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -7962,6 +8065,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.EmrManagedMasterSecurityGroup = ptr.String(jtv) } + case "EmrManagedSlaveSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -7970,6 +8074,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.EmrManagedSlaveSecurityGroup = ptr.String(jtv) } + case "IamInstanceProfile": if value != nil { jtv, ok := value.(string) @@ -7978,14 +8083,17 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.IamInstanceProfile = ptr.String(jtv) } + case "RequestedEc2AvailabilityZones": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.RequestedEc2AvailabilityZones, value); err != nil { return err } + case "RequestedEc2SubnetIds": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.RequestedEc2SubnetIds, value); err != nil { return err } + case "ServiceAccessSecurityGroup": if value != nil { jtv, ok := value.(string) @@ -7994,6 +8102,7 @@ func awsAwsjson11_deserializeDocumentEc2InstanceAttributes(v **types.Ec2Instance } sv.ServiceAccessSecurityGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -8137,10 +8246,12 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorData": if err := awsAwsjson11_deserializeDocumentErrorData(&sv.ErrorData, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -8149,6 +8260,7 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8222,6 +8334,7 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.ExecutionRoleArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8230,6 +8343,7 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.Id = ptr.String(jtv) } + case "MasterInstanceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -8238,6 +8352,7 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.MasterInstanceSecurityGroupId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8246,6 +8361,7 @@ func awsAwsjson11_deserializeDocumentExecutionEngineConfig(v **types.ExecutionEn } sv.Type = types.ExecutionEngineType(jtv) } + default: _, _ = key, value @@ -8285,6 +8401,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.LogFile = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -8293,6 +8410,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -8301,6 +8419,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -8336,6 +8455,7 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep if err := awsAwsjson11_deserializeDocumentXmlStringList(&sv.Args, value); err != nil { return err } + case "Jar": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8464,7 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep } sv.Jar = ptr.String(jtv) } + case "MainClass": if value != nil { jtv, ok := value.(string) @@ -8352,10 +8473,12 @@ func awsAwsjson11_deserializeDocumentHadoopJarStepConfig(v **types.HadoopJarStep } sv.MainClass = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentKeyValueList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -8391,6 +8514,7 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig if err := awsAwsjson11_deserializeDocumentStringList(&sv.Args, value); err != nil { return err } + case "Jar": if value != nil { jtv, ok := value.(string) @@ -8399,6 +8523,7 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig } sv.Jar = ptr.String(jtv) } + case "MainClass": if value != nil { jtv, ok := value.(string) @@ -8407,10 +8532,12 @@ func awsAwsjson11_deserializeDocumentHadoopStepConfig(v **types.HadoopStepConfig } sv.MainClass = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentStringMap(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -8446,6 +8573,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentEbsVolumeList(&sv.EbsVolumes, value); err != nil { return err } + case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -8454,6 +8582,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Ec2InstanceId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8462,6 +8591,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } + case "InstanceFleetId": if value != nil { jtv, ok := value.(string) @@ -8470,6 +8600,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceFleetId = ptr.String(jtv) } + case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -8478,6 +8609,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceGroupId = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -8486,6 +8618,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } + case "Market": if value != nil { jtv, ok := value.(string) @@ -8494,6 +8627,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Market = types.MarketType(jtv) } + case "PrivateDnsName": if value != nil { jtv, ok := value.(string) @@ -8502,6 +8636,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateDnsName = ptr.String(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -8510,6 +8645,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } + case "PublicDnsName": if value != nil { jtv, ok := value.(string) @@ -8518,6 +8654,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicDnsName = ptr.String(jtv) } + case "PublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -8526,10 +8663,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentInstanceStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -8569,6 +8708,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Context = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8577,6 +8717,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Id = ptr.String(jtv) } + case "InstanceFleetType": if value != nil { jtv, ok := value.(string) @@ -8585,14 +8726,17 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.InstanceFleetType = types.InstanceFleetType(jtv) } + case "InstanceTypeSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceTypeSpecificationList(&sv.InstanceTypeSpecifications, value); err != nil { return err } + case "LaunchSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceFleetProvisioningSpecifications(&sv.LaunchSpecifications, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8601,6 +8745,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.Name = ptr.String(jtv) } + case "ProvisionedOnDemandCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8613,6 +8758,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.ProvisionedOnDemandCapacity = ptr.Int32(int32(i64)) } + case "ProvisionedSpotCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8625,14 +8771,17 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.ProvisionedSpotCapacity = ptr.Int32(int32(i64)) } + case "ResizeSpecifications": if err := awsAwsjson11_deserializeDocumentInstanceFleetResizingSpecifications(&sv.ResizeSpecifications, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentInstanceFleetStatus(&sv.Status, value); err != nil { return err } + case "TargetOnDemandCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8645,6 +8794,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.TargetOnDemandCapacity = ptr.Int32(int32(i64)) } + case "TargetSpotCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8657,6 +8807,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleet(v **types.InstanceFleet, valu } sv.TargetSpotCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8726,10 +8877,12 @@ func awsAwsjson11_deserializeDocumentInstanceFleetProvisioningSpecifications(v * if err := awsAwsjson11_deserializeDocumentOnDemandProvisioningSpecification(&sv.OnDemandSpecification, value); err != nil { return err } + case "SpotSpecification": if err := awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(&sv.SpotSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -8765,10 +8918,12 @@ func awsAwsjson11_deserializeDocumentInstanceFleetResizingSpecifications(v **typ if err := awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(&sv.OnDemandResizeSpecification, value); err != nil { return err } + case "SpotResizeSpecification": if err := awsAwsjson11_deserializeDocumentSpotResizingSpecification(&sv.SpotResizeSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -8808,6 +8963,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(v **types.In } sv.Code = types.InstanceFleetStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -8816,6 +8972,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8855,14 +9012,17 @@ func awsAwsjson11_deserializeDocumentInstanceFleetStatus(v **types.InstanceFleet } sv.State = types.InstanceFleetState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceFleetStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceFleetTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -8909,6 +9069,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -8924,6 +9085,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -8939,6 +9101,7 @@ func awsAwsjson11_deserializeDocumentInstanceFleetTimeline(v **types.InstanceFle } } + default: _, _ = key, value @@ -8974,6 +9137,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(&sv.AutoScalingPolicy, value); err != nil { return err } + case "BidPrice": if value != nil { jtv, ok := value.(string) @@ -8982,10 +9146,12 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.BidPrice = ptr.String(jtv) } + case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "ConfigurationsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8998,6 +9164,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.ConfigurationsVersion = ptr.Int64(i64) } + case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -9006,10 +9173,12 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.CustomAmiId = ptr.String(jtv) } + case "EbsBlockDevices": if err := awsAwsjson11_deserializeDocumentEbsBlockDeviceList(&sv.EbsBlockDevices, value); err != nil { return err } + case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -9018,6 +9187,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.EbsOptimized = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9026,6 +9196,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Id = ptr.String(jtv) } + case "InstanceGroupType": if value != nil { jtv, ok := value.(string) @@ -9034,6 +9205,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceGroupType = types.InstanceGroupType(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9042,10 +9214,12 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceType = ptr.String(jtv) } + case "LastSuccessfullyAppliedConfigurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.LastSuccessfullyAppliedConfigurations, value); err != nil { return err } + case "LastSuccessfullyAppliedConfigurationsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -9058,6 +9232,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.LastSuccessfullyAppliedConfigurationsVersion = ptr.Int64(i64) } + case "Market": if value != nil { jtv, ok := value.(string) @@ -9066,6 +9241,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Market = types.MarketType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9074,6 +9250,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.Name = ptr.String(jtv) } + case "RequestedInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9086,6 +9263,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.RequestedInstanceCount = ptr.Int32(int32(i64)) } + case "RunningInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -9098,14 +9276,17 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.RunningInstanceCount = ptr.Int32(int32(i64)) } + case "ShrinkPolicy": if err := awsAwsjson11_deserializeDocumentShrinkPolicy(&sv.ShrinkPolicy, value); err != nil { return err } + case "Status": if err := awsAwsjson11_deserializeDocumentInstanceGroupStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -9145,6 +9326,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.BidPrice = ptr.String(jtv) } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -9160,6 +9342,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } + case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -9168,6 +9351,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.CustomAmiId = ptr.String(jtv) } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9183,6 +9367,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } + case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -9191,6 +9376,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceGroupId = ptr.String(jtv) } + case "InstanceRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -9203,6 +9389,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRequestCount = ptr.Int32(int32(i64)) } + case "InstanceRole": if value != nil { jtv, ok := value.(string) @@ -9211,6 +9398,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRole = types.InstanceRoleType(jtv) } + case "InstanceRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -9223,6 +9411,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceRunningCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9231,6 +9420,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.InstanceType = ptr.String(jtv) } + case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -9239,6 +9429,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.LastStateChangeReason = ptr.String(jtv) } + case "Market": if value != nil { jtv, ok := value.(string) @@ -9247,6 +9438,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.Market = types.MarketType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9255,6 +9447,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.Name = ptr.String(jtv) } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9270,6 +9463,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -9285,6 +9479,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9293,6 +9488,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupDetail(v **types.InstanceGroup } sv.State = types.InstanceGroupState(jtv) } + default: _, _ = key, value @@ -9436,6 +9632,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(v **types.In } sv.Code = types.InstanceGroupStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9444,6 +9641,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9483,14 +9681,17 @@ func awsAwsjson11_deserializeDocumentInstanceGroupStatus(v **types.InstanceGroup } sv.State = types.InstanceGroupState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceGroupStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceGroupTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -9537,6 +9738,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9552,6 +9754,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9567,6 +9770,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroupTimeline(v **types.InstanceGro } } + default: _, _ = key, value @@ -9636,10 +9840,12 @@ func awsAwsjson11_deserializeDocumentInstanceResizePolicy(v **types.InstanceResi if err := awsAwsjson11_deserializeDocumentEC2InstanceIdsList(&sv.InstancesToProtect, value); err != nil { return err } + case "InstancesToTerminate": if err := awsAwsjson11_deserializeDocumentEC2InstanceIdsList(&sv.InstancesToTerminate, value); err != nil { return err } + case "InstanceTerminationTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -9652,6 +9858,7 @@ func awsAwsjson11_deserializeDocumentInstanceResizePolicy(v **types.InstanceResi } sv.InstanceTerminationTimeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9691,6 +9898,7 @@ func awsAwsjson11_deserializeDocumentInstanceStateChangeReason(v **types.Instanc } sv.Code = types.InstanceStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9699,6 +9907,7 @@ func awsAwsjson11_deserializeDocumentInstanceStateChangeReason(v **types.Instanc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9738,14 +9947,17 @@ func awsAwsjson11_deserializeDocumentInstanceStatus(v **types.InstanceStatus, va } sv.State = types.InstanceState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentInstanceStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentInstanceTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -9792,6 +10004,7 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -9807,6 +10020,7 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -9822,6 +10036,7 @@ func awsAwsjson11_deserializeDocumentInstanceTimeline(v **types.InstanceTimeline } } + default: _, _ = key, value @@ -9861,6 +10076,7 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.BidPrice = ptr.String(jtv) } + case "BidPriceAsPercentageOfOnDemandPrice": if value != nil { switch jtv := value.(type) { @@ -9894,10 +10110,12 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } } + case "Configurations": if err := awsAwsjson11_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "CustomAmiId": if value != nil { jtv, ok := value.(string) @@ -9906,10 +10124,12 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.CustomAmiId = ptr.String(jtv) } + case "EbsBlockDevices": if err := awsAwsjson11_deserializeDocumentEbsBlockDeviceList(&sv.EbsBlockDevices, value); err != nil { return err } + case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -9918,6 +10138,7 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.EbsOptimized = ptr.Bool(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9926,6 +10147,7 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.InstanceType = ptr.String(jtv) } + case "Priority": if value != nil { switch jtv := value.(type) { @@ -9959,6 +10181,7 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } } + case "WeightedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9971,6 +10194,7 @@ func awsAwsjson11_deserializeDocumentInstanceTypeSpecification(v **types.Instanc } sv.WeightedCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10075,6 +10299,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10114,6 +10339,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10122,6 +10348,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10161,6 +10388,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.AmiVersion = ptr.String(jtv) } + case "AutoScalingRole": if value != nil { jtv, ok := value.(string) @@ -10169,18 +10397,22 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.AutoScalingRole = ptr.String(jtv) } + case "BootstrapActions": if err := awsAwsjson11_deserializeDocumentBootstrapActionDetailList(&sv.BootstrapActions, value); err != nil { return err } + case "ExecutionStatusDetail": if err := awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(&sv.ExecutionStatusDetail, value); err != nil { return err } + case "Instances": if err := awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(&sv.Instances, value); err != nil { return err } + case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -10189,6 +10421,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.JobFlowId = ptr.String(jtv) } + case "JobFlowRole": if value != nil { jtv, ok := value.(string) @@ -10197,6 +10430,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.JobFlowRole = ptr.String(jtv) } + case "LogEncryptionKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10205,6 +10439,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.LogEncryptionKmsKeyId = ptr.String(jtv) } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -10213,6 +10448,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.LogUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10221,6 +10457,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.Name = ptr.String(jtv) } + case "ScaleDownBehavior": if value != nil { jtv, ok := value.(string) @@ -10229,6 +10466,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.ScaleDownBehavior = types.ScaleDownBehavior(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -10237,14 +10475,17 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.ServiceRole = ptr.String(jtv) } + case "Steps": if err := awsAwsjson11_deserializeDocumentStepDetailList(&sv.Steps, value); err != nil { return err } + case "SupportedProducts": if err := awsAwsjson11_deserializeDocumentSupportedProductsList(&sv.SupportedProducts, value); err != nil { return err } + case "VisibleToAllUsers": if value != nil { jtv, ok := value.(bool) @@ -10253,6 +10494,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu } sv.VisibleToAllUsers = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10333,6 +10575,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -10348,6 +10591,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } + case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -10356,6 +10600,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } sv.LastStateChangeReason = ptr.String(jtv) } + case "ReadyDateTime": if value != nil { switch jtv := value.(type) { @@ -10371,6 +10616,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -10386,6 +10632,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } } + case "State": if value != nil { jtv, ok := value.(string) @@ -10394,6 +10641,7 @@ func awsAwsjson11_deserializeDocumentJobFlowExecutionStatusDetail(v **types.JobF } sv.State = types.JobFlowExecutionState(jtv) } + default: _, _ = key, value @@ -10433,6 +10681,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.Ec2KeyName = ptr.String(jtv) } + case "Ec2SubnetId": if value != nil { jtv, ok := value.(string) @@ -10441,6 +10690,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.Ec2SubnetId = ptr.String(jtv) } + case "HadoopVersion": if value != nil { jtv, ok := value.(string) @@ -10449,6 +10699,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.HadoopVersion = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10461,10 +10712,12 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentInstanceGroupDetailList(&sv.InstanceGroups, value); err != nil { return err } + case "KeepJobFlowAliveWhenNoSteps": if value != nil { jtv, ok := value.(bool) @@ -10473,6 +10726,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.KeepJobFlowAliveWhenNoSteps = ptr.Bool(jtv) } + case "MasterInstanceId": if value != nil { jtv, ok := value.(string) @@ -10481,6 +10735,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterInstanceId = ptr.String(jtv) } + case "MasterInstanceType": if value != nil { jtv, ok := value.(string) @@ -10489,6 +10744,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterInstanceType = ptr.String(jtv) } + case "MasterPublicDnsName": if value != nil { jtv, ok := value.(string) @@ -10497,6 +10753,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.MasterPublicDnsName = ptr.String(jtv) } + case "NormalizedInstanceHours": if value != nil { jtv, ok := value.(json.Number) @@ -10509,10 +10766,12 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.NormalizedInstanceHours = ptr.Int32(int32(i64)) } + case "Placement": if err := awsAwsjson11_deserializeDocumentPlacementType(&sv.Placement, value); err != nil { return err } + case "SlaveInstanceType": if value != nil { jtv, ok := value.(string) @@ -10521,6 +10780,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.SlaveInstanceType = ptr.String(jtv) } + case "TerminationProtected": if value != nil { jtv, ok := value.(bool) @@ -10529,6 +10789,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.TerminationProtected = ptr.Bool(jtv) } + case "UnhealthyNodeReplacement": if value != nil { jtv, ok := value.(bool) @@ -10537,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns } sv.UnhealthyNodeReplacement = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10576,6 +10838,7 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.ADDomainJoinPassword = ptr.String(jtv) } + case "ADDomainJoinUser": if value != nil { jtv, ok := value.(string) @@ -10584,6 +10847,7 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.ADDomainJoinUser = ptr.String(jtv) } + case "CrossRealmTrustPrincipalPassword": if value != nil { jtv, ok := value.(string) @@ -10592,6 +10856,7 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.CrossRealmTrustPrincipalPassword = ptr.String(jtv) } + case "KdcAdminPassword": if value != nil { jtv, ok := value.(string) @@ -10600,6 +10865,7 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.KdcAdminPassword = ptr.String(jtv) } + case "Realm": if value != nil { jtv, ok := value.(string) @@ -10608,6 +10874,7 @@ func awsAwsjson11_deserializeDocumentKerberosAttributes(v **types.KerberosAttrib } sv.Realm = ptr.String(jtv) } + default: _, _ = key, value @@ -10647,6 +10914,7 @@ func awsAwsjson11_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10655,6 +10923,7 @@ func awsAwsjson11_deserializeDocumentKeyValue(v **types.KeyValue, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10724,6 +10993,7 @@ func awsAwsjson11_deserializeDocumentManagedScalingPolicy(v **types.ManagedScali if err := awsAwsjson11_deserializeDocumentComputeLimits(&sv.ComputeLimits, value); err != nil { return err } + default: _, _ = key, value @@ -10763,6 +11033,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10771,6 +11042,7 @@ func awsAwsjson11_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10844,6 +11116,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.Arn = ptr.String(jtv) } + case "EditorId": if value != nil { jtv, ok := value.(string) @@ -10852,6 +11125,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.EditorId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10867,14 +11141,17 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } } + case "EnvironmentVariables": if err := awsAwsjson11_deserializeDocumentEnvironmentVariablesMap(&sv.EnvironmentVariables, value); err != nil { return err } + case "ExecutionEngine": if err := awsAwsjson11_deserializeDocumentExecutionEngineConfig(&sv.ExecutionEngine, value); err != nil { return err } + case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -10883,6 +11160,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.LastStateChangeReason = ptr.String(jtv) } + case "NotebookExecutionId": if value != nil { jtv, ok := value.(string) @@ -10891,6 +11169,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookExecutionId = ptr.String(jtv) } + case "NotebookExecutionName": if value != nil { jtv, ok := value.(string) @@ -10899,6 +11178,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookExecutionName = ptr.String(jtv) } + case "NotebookInstanceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -10907,6 +11187,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookInstanceSecurityGroupId = ptr.String(jtv) } + case "NotebookParams": if value != nil { jtv, ok := value.(string) @@ -10915,10 +11196,12 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.NotebookParams = ptr.String(jtv) } + case "NotebookS3Location": if err := awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(&sv.NotebookS3Location, value); err != nil { return err } + case "OutputNotebookFormat": if value != nil { jtv, ok := value.(string) @@ -10927,10 +11210,12 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.OutputNotebookFormat = types.OutputNotebookFormat(jtv) } + case "OutputNotebookS3Location": if err := awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(&sv.OutputNotebookS3Location, value); err != nil { return err } + case "OutputNotebookURI": if value != nil { jtv, ok := value.(string) @@ -10939,6 +11224,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.OutputNotebookURI = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10954,6 +11240,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10962,10 +11249,12 @@ func awsAwsjson11_deserializeDocumentNotebookExecution(v **types.NotebookExecuti } sv.Status = types.NotebookExecutionStatus(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11005,6 +11294,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.EditorId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11020,6 +11310,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } } + case "ExecutionEngineId": if value != nil { jtv, ok := value.(string) @@ -11028,6 +11319,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.ExecutionEngineId = ptr.String(jtv) } + case "NotebookExecutionId": if value != nil { jtv, ok := value.(string) @@ -11036,6 +11328,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.NotebookExecutionId = ptr.String(jtv) } + case "NotebookExecutionName": if value != nil { jtv, ok := value.(string) @@ -11044,10 +11337,12 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.NotebookExecutionName = ptr.String(jtv) } + case "NotebookS3Location": if err := awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(&sv.NotebookS3Location, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11063,6 +11358,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11071,6 +11367,7 @@ func awsAwsjson11_deserializeDocumentNotebookExecutionSummary(v **types.Notebook } sv.Status = types.NotebookExecutionStatus(jtv) } + default: _, _ = key, value @@ -11144,6 +11441,7 @@ func awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(v **types.Noteb } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -11152,6 +11450,7 @@ func awsAwsjson11_deserializeDocumentNotebookS3LocationForOutput(v **types.Noteb } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -11191,6 +11490,7 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.CapacityReservationPreference = types.OnDemandCapacityReservationPreference(jtv) } + case "CapacityReservationResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -11199,6 +11499,7 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.CapacityReservationResourceGroupArn = ptr.String(jtv) } + case "UsageStrategy": if value != nil { jtv, ok := value.(string) @@ -11207,6 +11508,7 @@ func awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(v **type } sv.UsageStrategy = types.OnDemandCapacityReservationUsageStrategy(jtv) } + default: _, _ = key, value @@ -11246,10 +11548,12 @@ func awsAwsjson11_deserializeDocumentOnDemandProvisioningSpecification(v **types } sv.AllocationStrategy = types.OnDemandProvisioningAllocationStrategy(jtv) } + case "CapacityReservationOptions": if err := awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(&sv.CapacityReservationOptions, value); err != nil { return err } + default: _, _ = key, value @@ -11289,10 +11593,12 @@ func awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(v **types.OnD } sv.AllocationStrategy = types.OnDemandProvisioningAllocationStrategy(jtv) } + case "CapacityReservationOptions": if err := awsAwsjson11_deserializeDocumentOnDemandCapacityReservationOptions(&sv.CapacityReservationOptions, value); err != nil { return err } + case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -11305,6 +11611,7 @@ func awsAwsjson11_deserializeDocumentOnDemandResizingSpecification(v **types.OnD } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11344,6 +11651,7 @@ func awsAwsjson11_deserializeDocumentOSRelease(v **types.OSRelease, value interf } sv.Label = ptr.String(jtv) } + default: _, _ = key, value @@ -11417,6 +11725,7 @@ func awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(v **types } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -11425,6 +11734,7 @@ func awsAwsjson11_deserializeDocumentOutputNotebookS3LocationForOutput(v **types } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -11464,6 +11774,7 @@ func awsAwsjson11_deserializeDocumentPlacementGroupConfig(v **types.PlacementGro } sv.InstanceRole = types.InstanceRoleType(jtv) } + case "PlacementStrategy": if value != nil { jtv, ok := value.(string) @@ -11472,6 +11783,7 @@ func awsAwsjson11_deserializeDocumentPlacementGroupConfig(v **types.PlacementGro } sv.PlacementStrategy = types.PlacementGroupStrategy(jtv) } + default: _, _ = key, value @@ -11545,10 +11857,12 @@ func awsAwsjson11_deserializeDocumentPlacementType(v **types.PlacementType, valu } sv.AvailabilityZone = ptr.String(jtv) } + case "AvailabilityZones": if err := awsAwsjson11_deserializeDocumentXmlStringMaxLen256List(&sv.AvailabilityZones, value); err != nil { return err } + default: _, _ = key, value @@ -11592,6 +11906,7 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.MaxRange = ptr.Int32(int32(i64)) } + case "MinRange": if value != nil { jtv, ok := value.(json.Number) @@ -11604,6 +11919,7 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.MinRange = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11677,10 +11993,12 @@ func awsAwsjson11_deserializeDocumentScalingAction(v **types.ScalingAction, valu } sv.Market = types.MarketType(jtv) } + case "SimpleScalingPolicyConfiguration": if err := awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(&sv.SimpleScalingPolicyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11724,6 +12042,7 @@ func awsAwsjson11_deserializeDocumentScalingConstraints(v **types.ScalingConstra } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11736,6 +12055,7 @@ func awsAwsjson11_deserializeDocumentScalingConstraints(v **types.ScalingConstra } sv.MinCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11771,6 +12091,7 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in if err := awsAwsjson11_deserializeDocumentScalingAction(&sv.Action, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11779,6 +12100,7 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11787,10 +12109,12 @@ func awsAwsjson11_deserializeDocumentScalingRule(v **types.ScalingRule, value in } sv.Name = ptr.String(jtv) } + case "Trigger": if err := awsAwsjson11_deserializeDocumentScalingTrigger(&sv.Trigger, value); err != nil { return err } + default: _, _ = key, value @@ -11860,6 +12184,7 @@ func awsAwsjson11_deserializeDocumentScalingTrigger(v **types.ScalingTrigger, va if err := awsAwsjson11_deserializeDocumentCloudWatchAlarmDefinition(&sv.CloudWatchAlarmDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -11895,6 +12220,7 @@ func awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(v **types.Scrip if err := awsAwsjson11_deserializeDocumentXmlStringList(&sv.Args, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -11903,6 +12229,7 @@ func awsAwsjson11_deserializeDocumentScriptBootstrapActionConfig(v **types.Scrip } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -11983,6 +12310,7 @@ func awsAwsjson11_deserializeDocumentSecurityConfigurationSummary(v **types.Secu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11991,6 +12319,7 @@ func awsAwsjson11_deserializeDocumentSecurityConfigurationSummary(v **types.Secu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12037,6 +12366,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -12045,6 +12375,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityId = ptr.String(jtv) } + case "IdentityName": if value != nil { jtv, ok := value.(string) @@ -12053,6 +12384,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityName = ptr.String(jtv) } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -12061,6 +12393,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.IdentityType = types.IdentityType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12076,6 +12409,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } } + case "SessionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -12084,6 +12418,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.SessionPolicyArn = ptr.String(jtv) } + case "StudioId": if value != nil { jtv, ok := value.(string) @@ -12092,6 +12427,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingDetail(v **types.SessionMappi } sv.StudioId = ptr.String(jtv) } + default: _, _ = key, value @@ -12138,6 +12474,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } } + case "IdentityId": if value != nil { jtv, ok := value.(string) @@ -12146,6 +12483,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityId = ptr.String(jtv) } + case "IdentityName": if value != nil { jtv, ok := value.(string) @@ -12154,6 +12492,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityName = ptr.String(jtv) } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -12162,6 +12501,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.IdentityType = types.IdentityType(jtv) } + case "SessionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -12170,6 +12510,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.SessionPolicyArn = ptr.String(jtv) } + case "StudioId": if value != nil { jtv, ok := value.(string) @@ -12178,6 +12519,7 @@ func awsAwsjson11_deserializeDocumentSessionMappingSummary(v **types.SessionMapp } sv.StudioId = ptr.String(jtv) } + default: _, _ = key, value @@ -12255,10 +12597,12 @@ func awsAwsjson11_deserializeDocumentShrinkPolicy(v **types.ShrinkPolicy, value } sv.DecommissionTimeout = ptr.Int32(int32(i64)) } + case "InstanceResizePolicy": if err := awsAwsjson11_deserializeDocumentInstanceResizePolicy(&sv.InstanceResizePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12298,6 +12642,7 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.AdjustmentType = types.AdjustmentType(jtv) } + case "CoolDown": if value != nil { jtv, ok := value.(json.Number) @@ -12310,6 +12655,7 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.CoolDown = ptr.Int32(int32(i64)) } + case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -12322,6 +12668,7 @@ func awsAwsjson11_deserializeDocumentSimpleScalingPolicyConfiguration(v **types. } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12361,6 +12708,7 @@ func awsAwsjson11_deserializeDocumentSimplifiedApplication(v **types.SimplifiedA } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -12369,6 +12717,7 @@ func awsAwsjson11_deserializeDocumentSimplifiedApplication(v **types.SimplifiedA } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12442,6 +12791,7 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.AllocationStrategy = types.SpotProvisioningAllocationStrategy(jtv) } + case "BlockDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12454,6 +12804,7 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } + case "TimeoutAction": if value != nil { jtv, ok := value.(string) @@ -12462,6 +12813,7 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.TimeoutAction = types.SpotProvisioningTimeoutAction(jtv) } + case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12474,6 +12826,7 @@ func awsAwsjson11_deserializeDocumentSpotProvisioningSpecification(v **types.Spo } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12513,6 +12866,7 @@ func awsAwsjson11_deserializeDocumentSpotResizingSpecification(v **types.SpotRes } sv.AllocationStrategy = types.SpotProvisioningAllocationStrategy(jtv) } + case "TimeoutDurationMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12525,6 +12879,7 @@ func awsAwsjson11_deserializeDocumentSpotResizingSpecification(v **types.SpotRes } sv.TimeoutDurationMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12564,10 +12919,12 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ActionOnFailure = types.ActionOnFailure(jtv) } + case "Config": if err := awsAwsjson11_deserializeDocumentHadoopStepConfig(&sv.Config, value); err != nil { return err } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -12576,6 +12933,7 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ExecutionRoleArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12584,6 +12942,7 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12592,10 +12951,12 @@ func awsAwsjson11_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentStepStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12635,10 +12996,12 @@ func awsAwsjson11_deserializeDocumentStepConfig(v **types.StepConfig, value inte } sv.ActionOnFailure = types.ActionOnFailure(jtv) } + case "HadoopJarStep": if err := awsAwsjson11_deserializeDocumentHadoopJarStepConfig(&sv.HadoopJarStep, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12647,6 +13010,7 @@ func awsAwsjson11_deserializeDocumentStepConfig(v **types.StepConfig, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12682,10 +13046,12 @@ func awsAwsjson11_deserializeDocumentStepDetail(v **types.StepDetail, value inte if err := awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(&sv.ExecutionStatusDetail, value); err != nil { return err } + case "StepConfig": if err := awsAwsjson11_deserializeDocumentStepConfig(&sv.StepConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12766,6 +13132,7 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -12781,6 +13148,7 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } + case "LastStateChangeReason": if value != nil { jtv, ok := value.(string) @@ -12789,6 +13157,7 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } sv.LastStateChangeReason = ptr.String(jtv) } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -12804,6 +13173,7 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12812,6 +13182,7 @@ func awsAwsjson11_deserializeDocumentStepExecutionStatusDetail(v **types.StepExe } sv.State = types.StepExecutionState(jtv) } + default: _, _ = key, value @@ -12887,6 +13258,7 @@ func awsAwsjson11_deserializeDocumentStepStateChangeReason(v **types.StepStateCh } sv.Code = types.StepStateChangeReasonCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12895,6 +13267,7 @@ func awsAwsjson11_deserializeDocumentStepStateChangeReason(v **types.StepStateCh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12930,6 +13303,7 @@ func awsAwsjson11_deserializeDocumentStepStatus(v **types.StepStatus, value inte if err := awsAwsjson11_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -12938,14 +13312,17 @@ func awsAwsjson11_deserializeDocumentStepStatus(v **types.StepStatus, value inte } sv.State = types.StepState(jtv) } + case "StateChangeReason": if err := awsAwsjson11_deserializeDocumentStepStateChangeReason(&sv.StateChangeReason, value); err != nil { return err } + case "Timeline": if err := awsAwsjson11_deserializeDocumentStepTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -12985,10 +13362,12 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.ActionOnFailure = types.ActionOnFailure(jtv) } + case "Config": if err := awsAwsjson11_deserializeDocumentHadoopStepConfig(&sv.Config, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12997,6 +13376,7 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13005,10 +13385,12 @@ func awsAwsjson11_deserializeDocumentStepSummary(v **types.StepSummary, value in } sv.Name = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentStepStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -13089,6 +13471,7 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } + case "EndDateTime": if value != nil { switch jtv := value.(type) { @@ -13104,6 +13487,7 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } + case "StartDateTime": if value != nil { switch jtv := value.(type) { @@ -13119,6 +13503,7 @@ func awsAwsjson11_deserializeDocumentStepTimeline(v **types.StepTimeline, value } } + default: _, _ = key, value @@ -13230,6 +13615,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.AuthMode = types.AuthMode(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13245,6 +13631,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } } + case "DefaultS3Location": if value != nil { jtv, ok := value.(string) @@ -13253,6 +13640,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.DefaultS3Location = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13261,6 +13649,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Description = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -13269,6 +13658,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.EncryptionKeyArn = ptr.String(jtv) } + case "EngineSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -13277,6 +13667,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.EngineSecurityGroupId = ptr.String(jtv) } + case "IdcInstanceArn": if value != nil { jtv, ok := value.(string) @@ -13285,6 +13676,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdcInstanceArn = ptr.String(jtv) } + case "IdcUserAssignment": if value != nil { jtv, ok := value.(string) @@ -13293,6 +13685,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdcUserAssignment = types.IdcUserAssignment(jtv) } + case "IdpAuthUrl": if value != nil { jtv, ok := value.(string) @@ -13301,6 +13694,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdpAuthUrl = ptr.String(jtv) } + case "IdpRelayStateParameterName": if value != nil { jtv, ok := value.(string) @@ -13309,6 +13703,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.IdpRelayStateParameterName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13317,6 +13712,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Name = ptr.String(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -13325,6 +13721,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.ServiceRole = ptr.String(jtv) } + case "StudioArn": if value != nil { jtv, ok := value.(string) @@ -13333,6 +13730,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.StudioArn = ptr.String(jtv) } + case "StudioId": if value != nil { jtv, ok := value.(string) @@ -13341,14 +13739,17 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.StudioId = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrustedIdentityPropagationEnabled": if value != nil { jtv, ok := value.(bool) @@ -13357,6 +13758,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.TrustedIdentityPropagationEnabled = ptr.Bool(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -13365,6 +13767,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.Url = ptr.String(jtv) } + case "UserRole": if value != nil { jtv, ok := value.(string) @@ -13373,6 +13776,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.UserRole = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -13381,6 +13785,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.VpcId = ptr.String(jtv) } + case "WorkspaceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -13389,6 +13794,7 @@ func awsAwsjson11_deserializeDocumentStudio(v **types.Studio, value interface{}) } sv.WorkspaceSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -13428,6 +13834,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.AuthMode = types.AuthMode(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13443,6 +13850,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13451,6 +13859,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13459,6 +13868,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Name = ptr.String(jtv) } + case "StudioId": if value != nil { jtv, ok := value.(string) @@ -13467,6 +13877,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.StudioId = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -13475,6 +13886,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.Url = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -13483,6 +13895,7 @@ func awsAwsjson11_deserializeDocumentStudioSummary(v **types.StudioSummary, valu } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -13592,6 +14005,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Architecture = ptr.String(jtv) } + case "EbsOptimizedAvailable": if value != nil { jtv, ok := value.(bool) @@ -13600,6 +14014,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsOptimizedAvailable = ptr.Bool(jtv) } + case "EbsOptimizedByDefault": if value != nil { jtv, ok := value.(bool) @@ -13608,6 +14023,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsOptimizedByDefault = ptr.Bool(jtv) } + case "EbsStorageOnly": if value != nil { jtv, ok := value.(bool) @@ -13616,6 +14032,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.EbsStorageOnly = ptr.Bool(jtv) } + case "InstanceFamilyId": if value != nil { jtv, ok := value.(string) @@ -13624,6 +14041,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.InstanceFamilyId = ptr.String(jtv) } + case "Is64BitsOnly": if value != nil { jtv, ok := value.(bool) @@ -13632,6 +14050,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Is64BitsOnly = ptr.Bool(jtv) } + case "MemoryGB": if value != nil { switch jtv := value.(type) { @@ -13665,6 +14084,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } } + case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -13677,6 +14097,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.NumberOfDisks = ptr.Int32(int32(i64)) } + case "StorageGB": if value != nil { jtv, ok := value.(json.Number) @@ -13689,6 +14110,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.StorageGB = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13697,6 +14119,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.Type = ptr.String(jtv) } + case "VCPU": if value != nil { jtv, ok := value.(json.Number) @@ -13709,6 +14132,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn } sv.VCPU = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13818,6 +14242,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -13826,6 +14251,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13899,6 +14325,7 @@ func awsAwsjson11_deserializeDocumentUsernamePassword(v **types.UsernamePassword } sv.Password = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -13907,6 +14334,7 @@ func awsAwsjson11_deserializeDocumentUsernamePassword(v **types.UsernamePassword } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -13950,6 +14378,7 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.Iops = ptr.Int32(int32(i64)) } + case "SizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -13962,6 +14391,7 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.SizeInGB = ptr.Int32(int32(i64)) } + case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -13974,6 +14404,7 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.Throughput = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -13982,6 +14413,7 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -14093,6 +14525,7 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.ClusterArn = ptr.String(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -14101,6 +14534,7 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.ClusterId = ptr.String(jtv) } + case "InstanceFleetId": if value != nil { jtv, ok := value.(string) @@ -14109,6 +14543,7 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceFleetOutput(v **AddInstanceFle } sv.InstanceFleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -14148,10 +14583,12 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceGroupsOutput(v **AddInstanceGr } sv.ClusterArn = ptr.String(jtv) } + case "InstanceGroupIds": if err := awsAwsjson11_deserializeDocumentInstanceGroupIdsList(&sv.InstanceGroupIds, value); err != nil { return err } + case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -14160,6 +14597,7 @@ func awsAwsjson11_deserializeOpDocumentAddInstanceGroupsOutput(v **AddInstanceGr } sv.JobFlowId = ptr.String(jtv) } + default: _, _ = key, value @@ -14195,6 +14633,7 @@ func awsAwsjson11_deserializeOpDocumentAddJobFlowStepsOutput(v **AddJobFlowSteps if err := awsAwsjson11_deserializeDocumentStepIdsList(&sv.StepIds, value); err != nil { return err } + default: _, _ = key, value @@ -14261,6 +14700,7 @@ func awsAwsjson11_deserializeOpDocumentCancelStepsOutput(v **CancelStepsOutput, if err := awsAwsjson11_deserializeDocumentCancelStepsInfoList(&sv.CancelStepsInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -14307,6 +14747,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14315,6 +14756,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14354,6 +14796,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioOutput(v **CreateStudioOutput } sv.StudioId = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -14362,6 +14805,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioOutput(v **CreateStudioOutput } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -14428,6 +14872,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -14463,6 +14908,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeJobFlowsOutput(v **DescribeJobFlo if err := awsAwsjson11_deserializeDocumentJobFlowDetailList(&sv.JobFlows, value); err != nil { return err } + default: _, _ = key, value @@ -14498,6 +14944,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookExecutionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentNotebookExecution(&sv.NotebookExecution, value); err != nil { return err } + default: _, _ = key, value @@ -14533,10 +14980,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe if err := awsAwsjson11_deserializeDocumentSimplifiedApplicationList(&sv.Applications, value); err != nil { return err } + case "AvailableOSReleases": if err := awsAwsjson11_deserializeDocumentOSReleaseList(&sv.AvailableOSReleases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14545,6 +14994,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe } sv.NextToken = ptr.String(jtv) } + case "ReleaseLabel": if value != nil { jtv, ok := value.(string) @@ -14553,6 +15003,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReleaseLabelOutput(v **DescribeRe } sv.ReleaseLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -14599,6 +15050,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14607,6 +15059,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } sv.Name = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -14615,6 +15068,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D } sv.SecurityConfiguration = ptr.String(jtv) } + default: _, _ = key, value @@ -14650,6 +15104,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStepOutput(v **DescribeStepOutput if err := awsAwsjson11_deserializeDocumentStep(&sv.Step, value); err != nil { return err } + default: _, _ = key, value @@ -14685,6 +15140,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioOutput(v **DescribeStudioOu if err := awsAwsjson11_deserializeDocumentStudio(&sv.Studio, value); err != nil { return err } + default: _, _ = key, value @@ -14720,6 +15176,7 @@ func awsAwsjson11_deserializeOpDocumentGetAutoTerminationPolicyOutput(v **GetAut if err := awsAwsjson11_deserializeDocumentAutoTerminationPolicy(&sv.AutoTerminationPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -14755,10 +15212,12 @@ func awsAwsjson11_deserializeOpDocumentGetBlockPublicAccessConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(&sv.BlockPublicAccessConfiguration, value); err != nil { return err } + case "BlockPublicAccessConfigurationMetadata": if err := awsAwsjson11_deserializeDocumentBlockPublicAccessConfigurationMetadata(&sv.BlockPublicAccessConfigurationMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -14794,6 +15253,7 @@ func awsAwsjson11_deserializeOpDocumentGetClusterSessionCredentialsOutput(v **Ge if err := awsAwsjson11_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "ExpiresAt": if value != nil { switch jtv := value.(type) { @@ -14809,6 +15269,7 @@ func awsAwsjson11_deserializeOpDocumentGetClusterSessionCredentialsOutput(v **Ge } } + default: _, _ = key, value @@ -14844,6 +15305,7 @@ func awsAwsjson11_deserializeOpDocumentGetManagedScalingPolicyOutput(v **GetMana if err := awsAwsjson11_deserializeDocumentManagedScalingPolicy(&sv.ManagedScalingPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -14879,6 +15341,7 @@ func awsAwsjson11_deserializeOpDocumentGetStudioSessionMappingOutput(v **GetStud if err := awsAwsjson11_deserializeDocumentSessionMappingDetail(&sv.SessionMapping, value); err != nil { return err } + default: _, _ = key, value @@ -14914,6 +15377,7 @@ func awsAwsjson11_deserializeOpDocumentListBootstrapActionsOutput(v **ListBootst if err := awsAwsjson11_deserializeDocumentCommandList(&sv.BootstrapActions, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -14922,6 +15386,7 @@ func awsAwsjson11_deserializeOpDocumentListBootstrapActionsOutput(v **ListBootst } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -14957,6 +15422,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterSummaryList(&sv.Clusters, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -14965,6 +15431,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -15000,6 +15467,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceFleetsOutput(v **ListInstance if err := awsAwsjson11_deserializeDocumentInstanceFleetList(&sv.InstanceFleets, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -15008,6 +15476,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceFleetsOutput(v **ListInstance } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -15043,6 +15512,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceGroupsOutput(v **ListInstance if err := awsAwsjson11_deserializeDocumentInstanceGroupList(&sv.InstanceGroups, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -15051,6 +15521,7 @@ func awsAwsjson11_deserializeOpDocumentListInstanceGroupsOutput(v **ListInstance } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -15086,6 +15557,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -15094,6 +15566,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -15133,10 +15606,12 @@ func awsAwsjson11_deserializeOpDocumentListNotebookExecutionsOutput(v **ListNote } sv.Marker = ptr.String(jtv) } + case "NotebookExecutions": if err := awsAwsjson11_deserializeDocumentNotebookExecutionSummaryList(&sv.NotebookExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -15176,10 +15651,12 @@ func awsAwsjson11_deserializeOpDocumentListReleaseLabelsOutput(v **ListReleaseLa } sv.NextToken = ptr.String(jtv) } + case "ReleaseLabels": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ReleaseLabels, value); err != nil { return err } + default: _, _ = key, value @@ -15219,10 +15696,12 @@ func awsAwsjson11_deserializeOpDocumentListSecurityConfigurationsOutput(v **List } sv.Marker = ptr.String(jtv) } + case "SecurityConfigurations": if err := awsAwsjson11_deserializeDocumentSecurityConfigurationList(&sv.SecurityConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -15262,10 +15741,12 @@ func awsAwsjson11_deserializeOpDocumentListStepsOutput(v **ListStepsOutput, valu } sv.Marker = ptr.String(jtv) } + case "Steps": if err := awsAwsjson11_deserializeDocumentStepSummaryList(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -15305,10 +15786,12 @@ func awsAwsjson11_deserializeOpDocumentListStudioSessionMappingsOutput(v **ListS } sv.Marker = ptr.String(jtv) } + case "SessionMappings": if err := awsAwsjson11_deserializeDocumentSessionMappingSummaryList(&sv.SessionMappings, value); err != nil { return err } + default: _, _ = key, value @@ -15348,10 +15831,12 @@ func awsAwsjson11_deserializeOpDocumentListStudiosOutput(v **ListStudiosOutput, } sv.Marker = ptr.String(jtv) } + case "Studios": if err := awsAwsjson11_deserializeDocumentStudioSummaryList(&sv.Studios, value); err != nil { return err } + default: _, _ = key, value @@ -15391,10 +15876,12 @@ func awsAwsjson11_deserializeOpDocumentListSupportedInstanceTypesOutput(v **List } sv.Marker = ptr.String(jtv) } + case "SupportedInstanceTypes": if err := awsAwsjson11_deserializeDocumentSupportedInstanceTypesList(&sv.SupportedInstanceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -15438,6 +15925,7 @@ func awsAwsjson11_deserializeOpDocumentModifyClusterOutput(v **ModifyClusterOutp } sv.StepConcurrencyLevel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15473,6 +15961,7 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca if err := awsAwsjson11_deserializeDocumentAutoScalingPolicyDescription(&sv.AutoScalingPolicy, value); err != nil { return err } + case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -15481,6 +15970,7 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.ClusterArn = ptr.String(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -15489,6 +15979,7 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.ClusterId = ptr.String(jtv) } + case "InstanceGroupId": if value != nil { jtv, ok := value.(string) @@ -15497,6 +15988,7 @@ func awsAwsjson11_deserializeOpDocumentPutAutoScalingPolicyOutput(v **PutAutoSca } sv.InstanceGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -15753,6 +16245,7 @@ func awsAwsjson11_deserializeOpDocumentRunJobFlowOutput(v **RunJobFlowOutput, va } sv.ClusterArn = ptr.String(jtv) } + case "JobFlowId": if value != nil { jtv, ok := value.(string) @@ -15761,6 +16254,7 @@ func awsAwsjson11_deserializeOpDocumentRunJobFlowOutput(v **RunJobFlowOutput, va } sv.JobFlowId = ptr.String(jtv) } + default: _, _ = key, value @@ -15800,6 +16294,7 @@ func awsAwsjson11_deserializeOpDocumentStartNotebookExecutionOutput(v **StartNot } sv.NotebookExecutionId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/emrcontainers/deserializers.go b/service/emrcontainers/deserializers.go index 617907d70fb..902b83f21fe 100644 --- a/service/emrcontainers/deserializers.go +++ b/service/emrcontainers/deserializers.go @@ -178,6 +178,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.Id = ptr.String(jtv) } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -186,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -347,6 +349,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -359,6 +362,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -367,6 +371,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -375,6 +380,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -536,6 +542,7 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -544,6 +551,7 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -552,6 +560,7 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.Name = ptr.String(jtv) } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -560,6 +569,7 @@ func awsRestjson1_deserializeOpDocumentCreateManagedEndpointOutput(v **CreateMan } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -718,6 +728,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -726,6 +737,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -734,6 +746,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -898,6 +911,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -906,6 +920,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -914,6 +929,7 @@ func awsRestjson1_deserializeOpDocumentCreateVirtualClusterOutput(v **CreateVirt } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1072,6 +1088,7 @@ func awsRestjson1_deserializeOpDocumentDeleteJobTemplateOutput(v **DeleteJobTemp } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1230,6 +1247,7 @@ func awsRestjson1_deserializeOpDocumentDeleteManagedEndpointOutput(v **DeleteMan } sv.Id = ptr.String(jtv) } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -1238,6 +1256,7 @@ func awsRestjson1_deserializeOpDocumentDeleteManagedEndpointOutput(v **DeleteMan } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -1396,6 +1415,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVirtualClusterOutput(v **DeleteVirt } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1553,6 +1573,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobRunOutput(v **DescribeJobRunOu if err := awsRestjson1_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } + default: _, _ = key, value @@ -1710,6 +1731,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -1867,6 +1889,7 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedEndpointOutput(v **Describ if err := awsRestjson1_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -2024,6 +2047,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityConfigurationOutput(v **D if err := awsRestjson1_deserializeDocumentSecurityConfiguration(&sv.SecurityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2181,6 +2205,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVirtualClusterOutput(v **Describe if err := awsRestjson1_deserializeDocumentVirtualCluster(&sv.VirtualCluster, value); err != nil { return err } + default: _, _ = key, value @@ -2341,6 +2366,7 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "expiresAt": if value != nil { jtv, ok := value.(string) @@ -2353,6 +2379,7 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu } sv.ExpiresAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2361,6 +2388,7 @@ func awsRestjson1_deserializeOpDocumentGetManagedEndpointSessionCredentialsOutpu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2515,6 +2543,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRuns(&sv.JobRuns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2523,6 +2552,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2681,10 +2711,12 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } + case "templates": if err := awsRestjson1_deserializeDocumentJobTemplates(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -2839,6 +2871,7 @@ func awsRestjson1_deserializeOpDocumentListManagedEndpointsOutput(v **ListManage if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2847,6 +2880,7 @@ func awsRestjson1_deserializeOpDocumentListManagedEndpointsOutput(v **ListManage } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3005,10 +3039,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "securityConfigurations": if err := awsRestjson1_deserializeDocumentSecurityConfigurations(&sv.SecurityConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -3166,6 +3202,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3324,10 +3361,12 @@ func awsRestjson1_deserializeOpDocumentListVirtualClustersOutput(v **ListVirtual } sv.NextToken = ptr.String(jtv) } + case "virtualClusters": if err := awsRestjson1_deserializeDocumentVirtualClusters(&sv.VirtualClusters, value); err != nil { return err } + default: _, _ = key, value @@ -3489,6 +3528,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3497,6 +3537,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3505,6 +3546,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Name = ptr.String(jtv) } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -3513,6 +3555,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -3916,10 +3959,12 @@ func awsRestjson1_deserializeDocumentAuthorizationConfiguration(v **types.Author if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "lakeFormationConfiguration": if err := awsRestjson1_deserializeDocumentLakeFormationConfiguration(&sv.LakeFormationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3959,6 +4004,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } + case "certificateData": if value != nil { jtv, ok := value.(string) @@ -3967,6 +4013,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateData = ptr.String(jtv) } + default: _, _ = key, value @@ -4006,6 +4053,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(v **types } sv.LogGroupName = ptr.String(jtv) } + case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -4014,6 +4062,7 @@ func awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(v **types } sv.LogStreamNamePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4053,14 +4102,17 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } + case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentSensitivePropertiesMap(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -4130,10 +4182,12 @@ func awsRestjson1_deserializeDocumentConfigurationOverrides(v **types.Configurat if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } + case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4217,6 +4271,7 @@ func awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(v **types } sv.MaxFilesToKeep = ptr.Int32(int32(i64)) } + case "rotationSize": if value != nil { jtv, ok := value.(string) @@ -4225,6 +4280,7 @@ func awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(v **types } sv.RotationSize = ptr.String(jtv) } + default: _, _ = key, value @@ -4264,10 +4320,12 @@ func awsRestjson1_deserializeDocumentContainerProvider(v **types.ContainerProvid } sv.Id = ptr.String(jtv) } + case "info": if err := awsRestjson1_deserializeDocumentContainerInfo(&sv.Info, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4276,6 +4334,7 @@ func awsRestjson1_deserializeDocumentContainerProvider(v **types.ContainerProvid } sv.Type = types.ContainerProviderType(jtv) } + default: _, _ = key, value @@ -4357,6 +4416,7 @@ func awsRestjson1_deserializeDocumentEksInfo(v **types.EksInfo, value interface{ } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -4396,6 +4456,7 @@ func awsRestjson1_deserializeDocumentEKSRequestThrottledException(v **types.EKSR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4431,6 +4492,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsRestjson1_deserializeDocumentInTransitEncryptionConfiguration(&sv.InTransitEncryptionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4470,6 +4532,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Arn = ptr.String(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -4478,14 +4541,17 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CertificateArn = ptr.String(jtv) } + case "certificateAuthority": if err := awsRestjson1_deserializeDocumentCertificate(&sv.CertificateAuthority, value); err != nil { return err } + case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4498,6 +4564,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CreatedAt = ptr.Time(t) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4506,6 +4573,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ExecutionRoleArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4514,6 +4582,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.FailureReason = types.FailureReason(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4522,6 +4591,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4530,6 +4600,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Name = ptr.String(jtv) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4538,6 +4609,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ReleaseLabel = ptr.String(jtv) } + case "securityGroup": if value != nil { jtv, ok := value.(string) @@ -4546,6 +4618,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SecurityGroup = ptr.String(jtv) } + case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -4554,6 +4627,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.ServerUrl = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4562,6 +4636,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.State = types.EndpointState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4570,14 +4645,17 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.StateDetails = ptr.String(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -4586,6 +4664,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Type = ptr.String(jtv) } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -4594,6 +4673,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -4703,6 +4783,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4738,6 +4819,7 @@ func awsRestjson1_deserializeDocumentInTransitEncryptionConfiguration(v **types. if err := awsRestjson1_deserializeDocumentTLSCertificateConfiguration(&sv.TlsCertificateConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4773,10 +4855,12 @@ func awsRestjson1_deserializeDocumentJobDriver(v **types.JobDriver, value interf if err := awsRestjson1_deserializeDocumentSparkSqlJobDriver(&sv.SparkSqlJobDriver, value); err != nil { return err } + case "sparkSubmitJobDriver": if err := awsRestjson1_deserializeDocumentSparkSubmitJobDriver(&sv.SparkSubmitJobDriver, value); err != nil { return err } + default: _, _ = key, value @@ -4816,6 +4900,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Arn = ptr.String(jtv) } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -4824,10 +4909,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ClientToken = ptr.String(jtv) } + case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4840,6 +4927,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4848,6 +4936,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedBy = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4856,6 +4945,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4864,6 +4954,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.FailureReason = types.FailureReason(jtv) } + case "finishedAt": if value != nil { jtv, ok := value.(string) @@ -4876,6 +4967,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.FinishedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4884,10 +4976,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Id = ptr.String(jtv) } + case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4896,6 +4990,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Name = ptr.String(jtv) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4904,14 +4999,17 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ReleaseLabel = ptr.String(jtv) } + case "retryPolicyConfiguration": if err := awsRestjson1_deserializeDocumentRetryPolicyConfiguration(&sv.RetryPolicyConfiguration, value); err != nil { return err } + case "retryPolicyExecution": if err := awsRestjson1_deserializeDocumentRetryPolicyExecution(&sv.RetryPolicyExecution, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -4920,6 +5018,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4928,10 +5027,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetails = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "virtualClusterId": if value != nil { jtv, ok := value.(string) @@ -4940,6 +5041,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.VirtualClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -5013,6 +5115,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5025,6 +5128,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5033,6 +5137,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.CreatedBy = ptr.String(jtv) } + case "decryptionError": if value != nil { jtv, ok := value.(string) @@ -5041,6 +5146,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.DecryptionError = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5049,10 +5155,12 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Id = ptr.String(jtv) } + case "jobTemplateData": if err := awsRestjson1_deserializeDocumentJobTemplateData(&sv.JobTemplateData, value); err != nil { return err } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5061,6 +5169,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.KmsKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5069,10 +5178,12 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5108,6 +5219,7 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, if err := awsRestjson1_deserializeDocumentParametricConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -5116,18 +5228,22 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, } sv.ExecutionRoleArn = ptr.String(jtv) } + case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } + case "jobTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.JobTags, value); err != nil { return err } + case "parameterConfiguration": if err := awsRestjson1_deserializeDocumentTemplateParameterConfigurationMap(&sv.ParameterConfiguration, value); err != nil { return err } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -5136,6 +5252,7 @@ func awsRestjson1_deserializeDocumentJobTemplateData(v **types.JobTemplateData, } sv.ReleaseLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -5209,6 +5326,7 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.AuthorizedSessionTagValue = ptr.String(jtv) } + case "queryEngineRoleArn": if value != nil { jtv, ok := value.(string) @@ -5217,10 +5335,12 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.QueryEngineRoleArn = ptr.String(jtv) } + case "secureNamespaceInfo": if err := awsRestjson1_deserializeDocumentSecureNamespaceInfo(&sv.SecureNamespaceInfo, value); err != nil { return err } + default: _, _ = key, value @@ -5256,10 +5376,12 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin if err := awsRestjson1_deserializeDocumentCloudWatchMonitoringConfiguration(&sv.CloudWatchMonitoringConfiguration, value); err != nil { return err } + case "containerLogRotationConfiguration": if err := awsRestjson1_deserializeDocumentContainerLogRotationConfiguration(&sv.ContainerLogRotationConfiguration, value); err != nil { return err } + case "persistentAppUI": if value != nil { jtv, ok := value.(string) @@ -5268,10 +5390,12 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin } sv.PersistentAppUI = types.PersistentAppUI(jtv) } + case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5311,6 +5435,7 @@ func awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration } sv.LogGroupName = ptr.String(jtv) } + case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -5319,6 +5444,7 @@ func awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration } sv.LogStreamNamePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -5354,10 +5480,12 @@ func awsRestjson1_deserializeDocumentParametricConfigurationOverrides(v **types. if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } + case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5393,6 +5521,7 @@ func awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(v **types if err := awsRestjson1_deserializeDocumentParametricCloudWatchMonitoringConfiguration(&sv.CloudWatchMonitoringConfiguration, value); err != nil { return err } + case "persistentAppUI": if value != nil { jtv, ok := value.(string) @@ -5401,10 +5530,12 @@ func awsRestjson1_deserializeDocumentParametricMonitoringConfiguration(v **types } sv.PersistentAppUI = ptr.String(jtv) } + case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentParametricS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5444,6 +5575,7 @@ func awsRestjson1_deserializeDocumentParametricS3MonitoringConfiguration(v **typ } sv.LogUri = ptr.String(jtv) } + default: _, _ = key, value @@ -5483,6 +5615,7 @@ func awsRestjson1_deserializeDocumentRequestThrottledException(v **types.Request } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5522,6 +5655,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5565,6 +5699,7 @@ func awsRestjson1_deserializeDocumentRetryPolicyConfiguration(v **types.RetryPol } sv.MaxAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5608,6 +5743,7 @@ func awsRestjson1_deserializeDocumentRetryPolicyExecution(v **types.RetryPolicyE } sv.CurrentAttemptCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5647,6 +5783,7 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.LogUri = ptr.String(jtv) } + default: _, _ = key, value @@ -5686,6 +5823,7 @@ func awsRestjson1_deserializeDocumentSecureNamespaceInfo(v **types.SecureNamespa } sv.ClusterId = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -5694,6 +5832,7 @@ func awsRestjson1_deserializeDocumentSecureNamespaceInfo(v **types.SecureNamespa } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -5733,6 +5872,7 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5745,6 +5885,7 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5753,6 +5894,7 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.CreatedBy = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5761,6 +5903,7 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5769,14 +5912,17 @@ func awsRestjson1_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Name = ptr.String(jtv) } + case "securityConfigurationData": if err := awsRestjson1_deserializeDocumentSecurityConfigurationData(&sv.SecurityConfigurationData, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5812,6 +5958,7 @@ func awsRestjson1_deserializeDocumentSecurityConfigurationData(v **types.Securit if err := awsRestjson1_deserializeDocumentAuthorizationConfiguration(&sv.AuthorizationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5921,6 +6068,7 @@ func awsRestjson1_deserializeDocumentSparkSqlJobDriver(v **types.SparkSqlJobDriv } sv.EntryPoint = ptr.String(jtv) } + case "sparkSqlParameters": if value != nil { jtv, ok := value.(string) @@ -5929,6 +6077,7 @@ func awsRestjson1_deserializeDocumentSparkSqlJobDriver(v **types.SparkSqlJobDriv } sv.SparkSqlParameters = ptr.String(jtv) } + default: _, _ = key, value @@ -5968,10 +6117,12 @@ func awsRestjson1_deserializeDocumentSparkSubmitJobDriver(v **types.SparkSubmitJ } sv.EntryPoint = ptr.String(jtv) } + case "entryPointArguments": if err := awsRestjson1_deserializeDocumentEntryPointArguments(&sv.EntryPointArguments, value); err != nil { return err } + case "sparkSubmitParameters": if value != nil { jtv, ok := value.(string) @@ -5980,6 +6131,7 @@ func awsRestjson1_deserializeDocumentSparkSubmitJobDriver(v **types.SparkSubmitJ } sv.SparkSubmitParameters = ptr.String(jtv) } + default: _, _ = key, value @@ -6091,6 +6243,7 @@ func awsRestjson1_deserializeDocumentTemplateParameterConfiguration(v **types.Te } sv.DefaultValue = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6099,6 +6252,7 @@ func awsRestjson1_deserializeDocumentTemplateParameterConfiguration(v **types.Te } sv.Type = types.TemplateParameterDataType(jtv) } + default: _, _ = key, value @@ -6173,6 +6327,7 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.CertificateProviderType = types.CertificateProviderType(jtv) } + case "privateCertificateSecretArn": if value != nil { jtv, ok := value.(string) @@ -6181,6 +6336,7 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.PrivateCertificateSecretArn = ptr.String(jtv) } + case "publicCertificateSecretArn": if value != nil { jtv, ok := value.(string) @@ -6189,6 +6345,7 @@ func awsRestjson1_deserializeDocumentTLSCertificateConfiguration(v **types.TLSCe } sv.PublicCertificateSecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6228,6 +6385,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6267,10 +6425,12 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Arn = ptr.String(jtv) } + case "containerProvider": if err := awsRestjson1_deserializeDocumentContainerProvider(&sv.ContainerProvider, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6443,7 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6452,7 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6299,6 +6461,7 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.Name = ptr.String(jtv) } + case "securityConfigurationId": if value != nil { jtv, ok := value.(string) @@ -6307,6 +6470,7 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.SecurityConfigurationId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6315,10 +6479,12 @@ func awsRestjson1_deserializeDocumentVirtualCluster(v **types.VirtualCluster, va } sv.State = types.VirtualClusterState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/emrserverless/deserializers.go b/service/emrserverless/deserializers.go index fea4a74d390..966b2d6a9a0 100644 --- a/service/emrserverless/deserializers.go +++ b/service/emrserverless/deserializers.go @@ -182,6 +182,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.ApplicationId = ptr.String(jtv) } + case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -190,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -354,6 +356,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -362,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -370,6 +374,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -621,6 +626,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -782,6 +788,7 @@ func awsRestjson1_deserializeOpDocumentGetDashboardForJobRunOutput(v **GetDashbo } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -939,6 +946,7 @@ func awsRestjson1_deserializeOpDocumentGetJobRunOutput(v **GetJobRunOutput, valu if err := awsRestjson1_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } + default: _, _ = key, value @@ -1093,6 +1101,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1101,6 +1110,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1258,6 +1268,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunAttemptsOutput(v **ListJobRunAt if err := awsRestjson1_deserializeDocumentJobRunAttempts(&sv.JobRunAttempts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1266,6 +1277,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunAttemptsOutput(v **ListJobRunAt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1420,6 +1432,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, if err := awsRestjson1_deserializeDocumentJobRuns(&sv.JobRuns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1428,6 +1441,7 @@ func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1585,6 +1599,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1846,6 +1861,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.ApplicationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1854,6 +1870,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.Arn = ptr.String(jtv) } + case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -1862,6 +1879,7 @@ func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -2301,6 +2319,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -2520,6 +2539,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationId = ptr.String(jtv) } + case "architecture": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2548,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Architecture = types.Architecture(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2536,14 +2557,17 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } + case "autoStartConfiguration": if err := awsRestjson1_deserializeDocumentAutoStartConfig(&sv.AutoStartConfiguration, value); err != nil { return err } + case "autoStopConfiguration": if err := awsRestjson1_deserializeDocumentAutoStopConfig(&sv.AutoStopConfiguration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2559,26 +2583,32 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } + case "imageConfiguration": if err := awsRestjson1_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } + case "initialCapacity": if err := awsRestjson1_deserializeDocumentInitialCapacityConfigMap(&sv.InitialCapacity, value); err != nil { return err } + case "interactiveConfiguration": if err := awsRestjson1_deserializeDocumentInteractiveConfiguration(&sv.InteractiveConfiguration, value); err != nil { return err } + case "maximumCapacity": if err := awsRestjson1_deserializeDocumentMaximumAllowedResources(&sv.MaximumCapacity, value); err != nil { return err } + case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2587,10 +2617,12 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -2599,14 +2631,17 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ReleaseLabel = ptr.String(jtv) } + case "runtimeConfiguration": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.RuntimeConfiguration, value); err != nil { return err } + case "schedulerConfiguration": if err := awsRestjson1_deserializeDocumentSchedulerConfiguration(&sv.SchedulerConfiguration, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -2615,6 +2650,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.State = types.ApplicationState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -2623,10 +2659,12 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.StateDetails = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2635,6 +2673,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2650,10 +2689,12 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } + case "workerTypeSpecifications": if err := awsRestjson1_deserializeDocumentWorkerTypeSpecificationMap(&sv.WorkerTypeSpecifications, value); err != nil { return err } + default: _, _ = key, value @@ -2727,6 +2768,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Architecture = types.Architecture(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2735,6 +2777,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2750,6 +2793,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "id": if value != nil { jtv, ok := value.(string) @@ -2758,6 +2802,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2766,6 +2811,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -2774,6 +2820,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ReleaseLabel = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2782,6 +2829,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.State = types.ApplicationState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -2790,6 +2838,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.StateDetails = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2798,6 +2847,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2813,6 +2863,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + default: _, _ = key, value @@ -2852,6 +2903,7 @@ func awsRestjson1_deserializeDocumentAutoStartConfig(v **types.AutoStartConfig, } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2891,6 +2943,7 @@ func awsRestjson1_deserializeDocumentAutoStopConfig(v **types.AutoStopConfig, va } sv.Enabled = ptr.Bool(jtv) } + case "idleTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2903,6 +2956,7 @@ func awsRestjson1_deserializeDocumentAutoStopConfig(v **types.AutoStopConfig, va } sv.IdleTimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2942,6 +2996,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.Enabled = ptr.Bool(jtv) } + case "encryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -2950,6 +3005,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.EncryptionKeyArn = ptr.String(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -2958,6 +3014,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.LogGroupName = ptr.String(jtv) } + case "logStreamNamePrefix": if value != nil { jtv, ok := value.(string) @@ -2966,10 +3023,12 @@ func awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(v **types.Cl } sv.LogStreamNamePrefix = ptr.String(jtv) } + case "logTypes": if err := awsRestjson1_deserializeDocumentLogTypeMap(&sv.LogTypes, value); err != nil { return err } + default: _, _ = key, value @@ -3009,14 +3068,17 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Classification = ptr.String(jtv) } + case "configurations": if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentSensitivePropertiesMap(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -3086,10 +3148,12 @@ func awsRestjson1_deserializeDocumentConfigurationOverrides(v **types.Configurat if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { return err } + case "monitoringConfiguration": if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3129,6 +3193,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3204,6 +3269,7 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.InitQueryFile = ptr.String(jtv) } + case "parameters": if value != nil { jtv, ok := value.(string) @@ -3212,6 +3278,7 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.Parameters = ptr.String(jtv) } + case "query": if value != nil { jtv, ok := value.(string) @@ -3220,6 +3287,7 @@ func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) err } sv.Query = ptr.String(jtv) } + default: _, _ = key, value @@ -3259,6 +3327,7 @@ func awsRestjson1_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.ImageUri = ptr.String(jtv) } + case "resolvedImageDigest": if value != nil { jtv, ok := value.(string) @@ -3267,6 +3336,7 @@ func awsRestjson1_deserializeDocumentImageConfiguration(v **types.ImageConfigura } sv.ResolvedImageDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -3302,6 +3372,7 @@ func awsRestjson1_deserializeDocumentInitialCapacityConfig(v **types.InitialCapa if err := awsRestjson1_deserializeDocumentWorkerResourceConfig(&sv.WorkerConfiguration, value); err != nil { return err } + case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -3314,6 +3385,7 @@ func awsRestjson1_deserializeDocumentInitialCapacityConfig(v **types.InitialCapa } sv.WorkerCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3388,6 +3460,7 @@ func awsRestjson1_deserializeDocumentInteractiveConfiguration(v **types.Interact } sv.LivyEndpointEnabled = ptr.Bool(jtv) } + case "studioEnabled": if value != nil { jtv, ok := value.(bool) @@ -3396,6 +3469,7 @@ func awsRestjson1_deserializeDocumentInteractiveConfiguration(v **types.Interact } sv.StudioEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3435,6 +3509,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3524,6 +3599,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ApplicationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3532,6 +3608,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Arn = ptr.String(jtv) } + case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -3544,6 +3621,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = ptr.Int32(int32(i64)) } + case "attemptCreatedAt": if value != nil { switch jtv := value.(type) { @@ -3559,6 +3637,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "attemptUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3574,14 +3653,17 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "billedResourceUtilization": if err := awsRestjson1_deserializeDocumentResourceUtilization(&sv.BilledResourceUtilization, value); err != nil { return err } + case "configurationOverrides": if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3597,6 +3679,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3605,6 +3688,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.CreatedBy = ptr.String(jtv) } + case "endedAt": if value != nil { switch jtv := value.(type) { @@ -3620,6 +3704,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -3628,6 +3713,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionRole = ptr.String(jtv) } + case "executionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3640,10 +3726,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTimeoutMinutes = ptr.Int64(i64) } + case "jobDriver": if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { return err } + case "jobRunId": if value != nil { jtv, ok := value.(string) @@ -3652,6 +3740,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunId = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -3660,6 +3749,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Mode = types.JobRunMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3668,10 +3758,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Name = ptr.String(jtv) } + case "networkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "queuedDurationMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -3684,6 +3776,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.QueuedDurationMilliseconds = ptr.Int64(i64) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -3692,10 +3785,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ReleaseLabel = ptr.String(jtv) } + case "retryPolicy": if err := awsRestjson1_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -3711,6 +3806,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "state": if value != nil { jtv, ok := value.(string) @@ -3719,6 +3815,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.State = types.JobRunState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -3727,10 +3824,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetails = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "totalExecutionDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3743,10 +3842,12 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.TotalExecutionDurationSeconds = ptr.Int32(int32(i64)) } + case "totalResourceUtilization": if err := awsRestjson1_deserializeDocumentTotalResourceUtilization(&sv.TotalResourceUtilization, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3762,6 +3863,7 @@ func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + default: _, _ = key, value @@ -3835,6 +3937,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ApplicationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3843,6 +3946,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Arn = ptr.String(jtv) } + case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -3855,6 +3959,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Attempt = ptr.Int32(int32(i64)) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3870,6 +3975,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3878,6 +3984,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.CreatedBy = ptr.String(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -3886,6 +3993,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ExecutionRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3894,6 +4002,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Id = ptr.String(jtv) } + case "jobCreatedAt": if value != nil { switch jtv := value.(type) { @@ -3909,6 +4018,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } + case "mode": if value != nil { jtv, ok := value.(string) @@ -3917,6 +4027,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Mode = types.JobRunMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3925,6 +4036,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Name = ptr.String(jtv) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -3933,6 +4045,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.ReleaseLabel = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3941,6 +4054,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.State = types.JobRunState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -3949,6 +4063,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.StateDetails = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3957,6 +4072,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3972,6 +4088,7 @@ func awsRestjson1_deserializeDocumentJobRunAttemptSummary(v **types.JobRunAttemp } } + default: _, _ = key, value @@ -4045,6 +4162,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ApplicationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4053,6 +4171,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Arn = ptr.String(jtv) } + case "attempt": if value != nil { jtv, ok := value.(json.Number) @@ -4065,6 +4184,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Attempt = ptr.Int32(int32(i64)) } + case "attemptCreatedAt": if value != nil { switch jtv := value.(type) { @@ -4080,6 +4200,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } + case "attemptUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4095,6 +4216,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4110,6 +4232,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4118,6 +4241,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.CreatedBy = ptr.String(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -4126,6 +4250,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ExecutionRole = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4134,6 +4259,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Id = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4268,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Mode = types.JobRunMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4150,6 +4277,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Name = ptr.String(jtv) } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -4158,6 +4286,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.ReleaseLabel = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4166,6 +4295,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.State = types.JobRunState(jtv) } + case "stateDetails": if value != nil { jtv, ok := value.(string) @@ -4174,6 +4304,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.StateDetails = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4182,6 +4313,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4197,6 +4329,7 @@ func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, valu } } + default: _, _ = key, value @@ -4306,6 +4439,7 @@ func awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(v } sv.Enabled = ptr.Bool(jtv) } + case "encryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4314,6 +4448,7 @@ func awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(v } sv.EncryptionKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4353,6 +4488,7 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Cpu = ptr.String(jtv) } + case "disk": if value != nil { jtv, ok := value.(string) @@ -4361,6 +4497,7 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Disk = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(string) @@ -4369,6 +4506,7 @@ func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAl } sv.Memory = ptr.String(jtv) } + default: _, _ = key, value @@ -4404,18 +4542,22 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin if err := awsRestjson1_deserializeDocumentCloudWatchLoggingConfiguration(&sv.CloudWatchLoggingConfiguration, value); err != nil { return err } + case "managedPersistenceMonitoringConfiguration": if err := awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(&sv.ManagedPersistenceMonitoringConfiguration, value); err != nil { return err } + case "prometheusMonitoringConfiguration": if err := awsRestjson1_deserializeDocumentPrometheusMonitoringConfiguration(&sv.PrometheusMonitoringConfiguration, value); err != nil { return err } + case "s3MonitoringConfiguration": if err := awsRestjson1_deserializeDocumentS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4451,10 +4593,12 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -4494,6 +4638,7 @@ func awsRestjson1_deserializeDocumentPrometheusMonitoringConfiguration(v **types } sv.RemoteWriteUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -4533,6 +4678,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4597,6 +4743,7 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } + case "storageGBHour": if value != nil { switch jtv := value.(type) { @@ -4630,6 +4777,7 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } + case "vCPUHour": if value != nil { switch jtv := value.(type) { @@ -4663,6 +4811,7 @@ func awsRestjson1_deserializeDocumentResourceUtilization(v **types.ResourceUtili } } + default: _, _ = key, value @@ -4706,6 +4855,7 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaxAttempts = ptr.Int32(int32(i64)) } + case "maxFailedAttemptsPerHour": if value != nil { jtv, ok := value.(json.Number) @@ -4718,6 +4868,7 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaxFailedAttemptsPerHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4757,6 +4908,7 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.EncryptionKeyArn = ptr.String(jtv) } + case "logUri": if value != nil { jtv, ok := value.(string) @@ -4765,6 +4917,7 @@ func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3Monit } sv.LogUri = ptr.String(jtv) } + default: _, _ = key, value @@ -4808,6 +4961,7 @@ func awsRestjson1_deserializeDocumentSchedulerConfiguration(v **types.SchedulerC } sv.MaxConcurrentRuns = ptr.Int32(int32(i64)) } + case "queueTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -4820,6 +4974,7 @@ func awsRestjson1_deserializeDocumentSchedulerConfiguration(v **types.SchedulerC } sv.QueueTimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4931,6 +5086,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4970,10 +5126,12 @@ func awsRestjson1_deserializeDocumentSparkSubmit(v **types.SparkSubmit, value in } sv.EntryPoint = ptr.String(jtv) } + case "entryPointArguments": if err := awsRestjson1_deserializeDocumentEntryPointArguments(&sv.EntryPointArguments, value); err != nil { return err } + case "sparkSubmitParameters": if value != nil { jtv, ok := value.(string) @@ -4982,6 +5140,7 @@ func awsRestjson1_deserializeDocumentSparkSubmit(v **types.SparkSubmit, value in } sv.SparkSubmitParameters = ptr.String(jtv) } + default: _, _ = key, value @@ -5118,6 +5277,7 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } + case "storageGBHour": if value != nil { switch jtv := value.(type) { @@ -5151,6 +5311,7 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } + case "vCPUHour": if value != nil { switch jtv := value.(type) { @@ -5184,6 +5345,7 @@ func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalRes } } + default: _, _ = key, value @@ -5223,6 +5385,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5262,6 +5425,7 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Cpu = ptr.String(jtv) } + case "disk": if value != nil { jtv, ok := value.(string) @@ -5270,6 +5434,7 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Disk = ptr.String(jtv) } + case "diskType": if value != nil { jtv, ok := value.(string) @@ -5278,6 +5443,7 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.DiskType = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(string) @@ -5286,6 +5452,7 @@ func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResour } sv.Memory = ptr.String(jtv) } + default: _, _ = key, value @@ -5321,6 +5488,7 @@ func awsRestjson1_deserializeDocumentWorkerTypeSpecification(v **types.WorkerTyp if err := awsRestjson1_deserializeDocumentImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/entityresolution/deserializers.go b/service/entityresolution/deserializers.go index 42cb0303e1e..02b8b016f44 100644 --- a/service/entityresolution/deserializers.go +++ b/service/entityresolution/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Arn = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -200,6 +201,7 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Policy = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -208,6 +210,7 @@ func awsRestjson1_deserializeOpDocumentAddPolicyStatementOutput(v **AddPolicySta } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -365,14 +368,17 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteUniqueIdOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentDeletedUniqueIdList(&sv.Deleted, value); err != nil { return err } + case "disconnectedUniqueIds": if err := awsRestjson1_deserializeDocumentDisconnectedUniqueIdsList(&sv.DisconnectedUniqueIds, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentDeleteUniqueIdErrorsList(&sv.Errors, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -381,6 +387,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteUniqueIdOutput(v **BatchDelete } sv.Status = types.DeleteUniqueIdStatus(jtv) } + default: _, _ = key, value @@ -551,18 +558,22 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.Description = ptr.String(jtv) } + case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -571,6 +582,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.RoleArn = ptr.String(jtv) } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -579,6 +591,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -587,6 +600,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdMappingWorkflowOutput(v **CreateI } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -764,6 +778,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } } + case "description": if value != nil { jtv, ok := value.(string) @@ -772,10 +787,12 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.Description = ptr.String(jtv) } + case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } + case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -784,6 +801,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.IdNamespaceArn = ptr.String(jtv) } + case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -792,10 +810,12 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.IdNamespaceName = ptr.String(jtv) } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -804,10 +824,12 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.RoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -816,6 +838,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } sv.Type = types.IdNamespaceType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -831,6 +854,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdNamespaceOutput(v **CreateIdNames } } + default: _, _ = key, value @@ -1001,22 +1025,27 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.Description = ptr.String(jtv) } + case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1025,6 +1054,7 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.RoleArn = ptr.String(jtv) } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -1033,6 +1063,7 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -1041,6 +1072,7 @@ func awsRestjson1_deserializeOpDocumentCreateMatchingWorkflowOutput(v **CreateMa } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -1211,10 +1243,12 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.Description = ptr.String(jtv) } + case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -1223,6 +1257,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.SchemaArn = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -1231,6 +1266,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaMappingOutput(v **CreateSchem } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -1398,6 +1434,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIdMappingWorkflowOutput(v **DeleteI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1562,6 +1599,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIdNamespaceOutput(v **DeleteIdNames } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1729,6 +1767,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMatchingWorkflowOutput(v **DeleteMa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1899,6 +1938,7 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Arn = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -1907,6 +1947,7 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Policy = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -1915,6 +1956,7 @@ func awsRestjson1_deserializeOpDocumentDeletePolicyStatementOutput(v **DeletePol } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -2082,6 +2124,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSchemaMappingOutput(v **DeleteSchem } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2256,10 +2299,12 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } } + case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2268,14 +2313,17 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } sv.JobId = ptr.String(jtv) } + case "metrics": if err := awsRestjson1_deserializeDocumentIdMappingJobMetrics(&sv.Metrics, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -2291,6 +2339,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } } + case "status": if value != nil { jtv, ok := value.(string) @@ -2299,6 +2348,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingJobOutput(v **GetIdMappingJob } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -2473,6 +2523,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2481,18 +2532,22 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.Description = ptr.String(jtv) } + case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2501,10 +2556,12 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.RoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2520,6 +2577,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2586,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -2536,6 +2595,7 @@ func awsRestjson1_deserializeOpDocumentGetIdMappingWorkflowOutput(v **GetIdMappi } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -2710,6 +2770,7 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2718,10 +2779,12 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.Description = ptr.String(jtv) } + case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } + case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -2730,6 +2793,7 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.IdNamespaceArn = ptr.String(jtv) } + case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -2738,10 +2802,12 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.IdNamespaceName = ptr.String(jtv) } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2750,10 +2816,12 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.RoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2762,6 +2830,7 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } sv.Type = types.IdNamespaceType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2777,6 +2846,7 @@ func awsRestjson1_deserializeOpDocumentGetIdNamespaceOutput(v **GetIdNamespaceOu } } + default: _, _ = key, value @@ -2944,6 +3014,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchIdOutput(v **GetMatchIdOutput, va } sv.MatchId = ptr.String(jtv) } + case "matchRule": if value != nil { jtv, ok := value.(string) @@ -2952,6 +3023,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchIdOutput(v **GetMatchIdOutput, va } sv.MatchRule = ptr.String(jtv) } + default: _, _ = key, value @@ -3126,10 +3198,12 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } } + case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -3138,14 +3212,17 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } sv.JobId = ptr.String(jtv) } + case "metrics": if err := awsRestjson1_deserializeDocumentJobMetrics(&sv.Metrics, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3161,6 +3238,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3169,6 +3247,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingJobOutput(v **GetMatchingJobOu } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -3343,6 +3422,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3351,22 +3431,27 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.Description = ptr.String(jtv) } + case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3375,10 +3460,12 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.RoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3394,6 +3481,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -3402,6 +3490,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -3410,6 +3499,7 @@ func awsRestjson1_deserializeOpDocumentGetMatchingWorkflowOutput(v **GetMatching } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -3577,6 +3667,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Arn = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -3585,6 +3676,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -3593,6 +3685,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -3760,34 +3853,42 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.AnonymizedOutput = ptr.Bool(jtv) } + case "providerComponentSchema": if err := awsRestjson1_deserializeDocumentProviderComponentSchema(&sv.ProviderComponentSchema, value); err != nil { return err } + case "providerConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfigurationDefinition, value); err != nil { return err } + case "providerEndpointConfiguration": if err := awsRestjson1_deserializeDocumentProviderEndpointConfiguration(&sv.ProviderEndpointConfiguration, value); err != nil { return err } + case "providerEntityOutputDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderEntityOutputDefinition, value); err != nil { return err } + case "providerIdNameSpaceConfiguration": if err := awsRestjson1_deserializeDocumentProviderIdNameSpaceConfiguration(&sv.ProviderIdNameSpaceConfiguration, value); err != nil { return err } + case "providerIntermediateDataAccessConfiguration": if err := awsRestjson1_deserializeDocumentProviderIntermediateDataAccessConfiguration(&sv.ProviderIntermediateDataAccessConfiguration, value); err != nil { return err } + case "providerJobConfiguration": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderJobConfiguration, value); err != nil { return err } + case "providerName": if value != nil { jtv, ok := value.(string) @@ -3796,6 +3897,7 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderName = ptr.String(jtv) } + case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -3804,6 +3906,7 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceArn = ptr.String(jtv) } + case "providerServiceDisplayName": if value != nil { jtv, ok := value.(string) @@ -3812,6 +3915,7 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceDisplayName = ptr.String(jtv) } + case "providerServiceName": if value != nil { jtv, ok := value.(string) @@ -3820,6 +3924,7 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceName = ptr.String(jtv) } + case "providerServiceType": if value != nil { jtv, ok := value.(string) @@ -3828,6 +3933,7 @@ func awsRestjson1_deserializeOpDocumentGetProviderServiceOutput(v **GetProviderS } sv.ProviderServiceType = types.ServiceType(jtv) } + default: _, _ = key, value @@ -4002,6 +4108,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4010,6 +4117,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.Description = ptr.String(jtv) } + case "hasWorkflows": if value != nil { jtv, ok := value.(bool) @@ -4018,10 +4126,12 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.HasWorkflows = ptr.Bool(jtv) } + case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -4030,6 +4140,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.SchemaArn = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -4038,10 +4149,12 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } sv.SchemaName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4057,6 +4170,7 @@ func awsRestjson1_deserializeOpDocumentGetSchemaMappingOutput(v **GetSchemaMappi } } + default: _, _ = key, value @@ -4220,6 +4334,7 @@ func awsRestjson1_deserializeOpDocumentListIdMappingJobsOutput(v **ListIdMapping if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4228,6 +4343,7 @@ func awsRestjson1_deserializeOpDocumentListIdMappingJobsOutput(v **ListIdMapping } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4392,10 +4508,12 @@ func awsRestjson1_deserializeOpDocumentListIdMappingWorkflowsOutput(v **ListIdMa } sv.NextToken = ptr.String(jtv) } + case "workflowSummaries": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowList(&sv.WorkflowSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -4556,6 +4674,7 @@ func awsRestjson1_deserializeOpDocumentListIdNamespacesOutput(v **ListIdNamespac if err := awsRestjson1_deserializeDocumentIdNamespaceList(&sv.IdNamespaceSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4564,6 +4683,7 @@ func awsRestjson1_deserializeOpDocumentListIdNamespacesOutput(v **ListIdNamespac } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4727,6 +4847,7 @@ func awsRestjson1_deserializeOpDocumentListMatchingJobsOutput(v **ListMatchingJo if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4735,6 +4856,7 @@ func awsRestjson1_deserializeOpDocumentListMatchingJobsOutput(v **ListMatchingJo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4899,10 +5021,12 @@ func awsRestjson1_deserializeOpDocumentListMatchingWorkflowsOutput(v **ListMatch } sv.NextToken = ptr.String(jtv) } + case "workflowSummaries": if err := awsRestjson1_deserializeDocumentMatchingWorkflowList(&sv.WorkflowSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5067,10 +5191,12 @@ func awsRestjson1_deserializeOpDocumentListProviderServicesOutput(v **ListProvid } sv.NextToken = ptr.String(jtv) } + case "providerServiceSummaries": if err := awsRestjson1_deserializeDocumentProviderServiceList(&sv.ProviderServiceSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5235,10 +5361,12 @@ func awsRestjson1_deserializeOpDocumentListSchemaMappingsOutput(v **ListSchemaMa } sv.NextToken = ptr.String(jtv) } + case "schemaList": if err := awsRestjson1_deserializeDocumentSchemaMappingList(&sv.SchemaList, value); err != nil { return err } + default: _, _ = key, value @@ -5396,6 +5524,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5566,6 +5695,7 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Arn = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -5574,6 +5704,7 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Policy = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -5582,6 +5713,7 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -5755,10 +5887,12 @@ func awsRestjson1_deserializeOpDocumentStartIdMappingJobOutput(v **StartIdMappin } sv.JobId = ptr.String(jtv) } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingJobOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5932,6 +6066,7 @@ func awsRestjson1_deserializeOpDocumentStartMatchingJobOutput(v **StartMatchingJ } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -6284,18 +6419,22 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.Description = ptr.String(jtv) } + case "idMappingTechniques": if err := awsRestjson1_deserializeDocumentIdMappingTechniques(&sv.IdMappingTechniques, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6304,6 +6443,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.RoleArn = ptr.String(jtv) } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -6312,6 +6452,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -6320,6 +6461,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdMappingWorkflowOutput(v **UpdateI } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -6494,6 +6636,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6502,10 +6645,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.Description = ptr.String(jtv) } + case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowPropertiesList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } + case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -6514,6 +6659,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.IdNamespaceArn = ptr.String(jtv) } + case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -6522,10 +6668,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.IdNamespaceName = ptr.String(jtv) } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentIdNamespaceInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6682,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.RoleArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6542,6 +6691,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } sv.Type = types.IdNamespaceType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6557,6 +6707,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdNamespaceOutput(v **UpdateIdNames } } + default: _, _ = key, value @@ -6724,22 +6875,27 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.Description = ptr.String(jtv) } + case "incrementalRunConfig": if err := awsRestjson1_deserializeDocumentIncrementalRunConfig(&sv.IncrementalRunConfig, value); err != nil { return err } + case "inputSourceConfig": if err := awsRestjson1_deserializeDocumentInputSourceConfig(&sv.InputSourceConfig, value); err != nil { return err } + case "outputSourceConfig": if err := awsRestjson1_deserializeDocumentOutputSourceConfig(&sv.OutputSourceConfig, value); err != nil { return err } + case "resolutionTechniques": if err := awsRestjson1_deserializeDocumentResolutionTechniques(&sv.ResolutionTechniques, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6748,6 +6904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.RoleArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -6756,6 +6913,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMatchingWorkflowOutput(v **UpdateMa } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -6926,10 +7084,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.Description = ptr.String(jtv) } + case "mappedInputFields": if err := awsRestjson1_deserializeDocumentSchemaInputAttributes(&sv.MappedInputFields, value); err != nil { return err } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -6938,6 +7098,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.SchemaArn = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -6946,6 +7107,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaMappingOutput(v **UpdateSchem } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -7237,6 +7399,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7312,6 +7475,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7351,6 +7515,7 @@ func awsRestjson1_deserializeDocumentDeletedUniqueId(v **types.DeletedUniqueId, } sv.UniqueId = ptr.String(jtv) } + default: _, _ = key, value @@ -7424,6 +7589,7 @@ func awsRestjson1_deserializeDocumentDeleteUniqueIdError(v **types.DeleteUniqueI } sv.ErrorType = types.DeleteUniqueIdErrorType(jtv) } + case "uniqueId": if value != nil { jtv, ok := value.(string) @@ -7432,6 +7598,7 @@ func awsRestjson1_deserializeDocumentDeleteUniqueIdError(v **types.DeleteUniqueI } sv.UniqueId = ptr.String(jtv) } + default: _, _ = key, value @@ -7541,6 +7708,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7580,6 +7748,7 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.Message = ptr.String(jtv) } + case "quotaName": if value != nil { jtv, ok := value.(string) @@ -7588,6 +7757,7 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.QuotaName = ptr.String(jtv) } + case "quotaValue": if value != nil { jtv, ok := value.(json.Number) @@ -7600,6 +7770,7 @@ func awsRestjson1_deserializeDocumentExceedsLimitException(v **types.ExceedsLimi } sv.QuotaValue = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7643,6 +7814,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.InputRecords = ptr.Int32(int32(i64)) } + case "recordsNotProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7655,6 +7827,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.RecordsNotProcessed = ptr.Int32(int32(i64)) } + case "totalMappedRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7667,6 +7840,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedRecords = ptr.Int32(int32(i64)) } + case "totalMappedSourceRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7679,6 +7853,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedSourceRecords = ptr.Int32(int32(i64)) } + case "totalMappedTargetRecords": if value != nil { jtv, ok := value.(json.Number) @@ -7691,6 +7866,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalMappedTargetRecords = ptr.Int32(int32(i64)) } + case "totalRecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -7703,6 +7879,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobMetrics(v **types.IdMappingJobM } sv.TotalRecordsProcessed = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7742,6 +7919,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.KMSArn = ptr.String(jtv) } + case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -7750,6 +7928,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.OutputS3Path = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7758,6 +7937,7 @@ func awsRestjson1_deserializeDocumentIdMappingJobOutputSource(v **types.IdMappin } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7831,6 +8011,7 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } + case "recordMatchingModel": if value != nil { jtv, ok := value.(string) @@ -7839,6 +8020,7 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.RecordMatchingModel = types.RecordMatchingModel(jtv) } + case "ruleDefinitionType": if value != nil { jtv, ok := value.(string) @@ -7847,10 +8029,12 @@ func awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(v **types.IdMa } sv.RuleDefinitionType = types.IdMappingWorkflowRuleDefinitionType(jtv) } + case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -7890,14 +8074,17 @@ func awsRestjson1_deserializeDocumentIdMappingTechniques(v **types.IdMappingTech } sv.IdMappingType = types.IdMappingType(jtv) } + case "providerProperties": if err := awsRestjson1_deserializeDocumentProviderProperties(&sv.ProviderProperties, value); err != nil { return err } + case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentIdMappingRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } + default: _, _ = key, value @@ -7937,6 +8124,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.InputSourceARN = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -7945,6 +8133,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.SchemaName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7953,6 +8142,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowInputSource(v **types.IdMa } sv.Type = types.IdNamespaceType(jtv) } + default: _, _ = key, value @@ -8060,6 +8250,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSource(v **types.IdM } sv.KMSArn = ptr.String(jtv) } + case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -8068,6 +8259,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowOutputSource(v **types.IdM } sv.OutputS3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -8184,6 +8376,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8199,6 +8392,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -8207,6 +8401,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -8215,6 +8410,7 @@ func awsRestjson1_deserializeDocumentIdMappingWorkflowSummary(v **types.IdMappin } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -8254,6 +8450,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowMetadata(v **ty } sv.IdMappingType = types.IdMappingType(jtv) } + default: _, _ = key, value @@ -8327,14 +8524,17 @@ func awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowProperties(v ** } sv.IdMappingType = types.IdMappingType(jtv) } + case "providerProperties": if err := awsRestjson1_deserializeDocumentNamespaceProviderProperties(&sv.ProviderProperties, value); err != nil { return err } + case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentNamespaceRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } + default: _, _ = key, value @@ -8408,6 +8608,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceInputSource(v **types.IdNamespac } sv.InputSourceARN = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -8416,6 +8617,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceInputSource(v **types.IdNamespac } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -8530,6 +8732,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8538,10 +8741,12 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.Description = ptr.String(jtv) } + case "idMappingWorkflowProperties": if err := awsRestjson1_deserializeDocumentIdNamespaceIdMappingWorkflowMetadataList(&sv.IdMappingWorkflowProperties, value); err != nil { return err } + case "idNamespaceArn": if value != nil { jtv, ok := value.(string) @@ -8550,6 +8755,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.IdNamespaceArn = ptr.String(jtv) } + case "idNamespaceName": if value != nil { jtv, ok := value.(string) @@ -8558,6 +8764,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.IdNamespaceName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8773,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } sv.Type = types.IdNamespaceType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -8581,6 +8789,7 @@ func awsRestjson1_deserializeDocumentIdNamespaceSummary(v **types.IdNamespaceSum } } + default: _, _ = key, value @@ -8620,6 +8829,7 @@ func awsRestjson1_deserializeDocumentIncrementalRunConfig(v **types.IncrementalR } sv.IncrementalRunType = types.IncrementalRunType(jtv) } + default: _, _ = key, value @@ -8659,6 +8869,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.ApplyNormalization = ptr.Bool(jtv) } + case "inputSourceARN": if value != nil { jtv, ok := value.(string) @@ -8667,6 +8878,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.InputSourceARN = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -8675,6 +8887,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -8748,6 +8961,7 @@ func awsRestjson1_deserializeDocumentIntermediateSourceConfiguration(v **types.I } sv.IntermediateS3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -8787,6 +9001,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8864,6 +9079,7 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.InputRecords = ptr.Int32(int32(i64)) } + case "matchIDs": if value != nil { jtv, ok := value.(json.Number) @@ -8876,6 +9092,7 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.MatchIDs = ptr.Int32(int32(i64)) } + case "recordsNotProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -8888,6 +9105,7 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.RecordsNotProcessed = ptr.Int32(int32(i64)) } + case "totalRecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -8900,6 +9118,7 @@ func awsRestjson1_deserializeDocumentJobMetrics(v **types.JobMetrics, value inte } sv.TotalRecordsProcessed = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8939,6 +9158,7 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.KMSArn = ptr.String(jtv) } + case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -8947,6 +9167,7 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.OutputS3Path = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8955,6 +9176,7 @@ func awsRestjson1_deserializeDocumentJobOutputSource(v **types.JobOutputSource, } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9035,6 +9257,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -9043,6 +9266,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -9058,6 +9282,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -9066,6 +9291,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -9182,6 +9408,7 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } } + case "resolutionType": if value != nil { jtv, ok := value.(string) @@ -9190,6 +9417,7 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.ResolutionType = types.ResolutionType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9205,6 +9433,7 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -9213,6 +9442,7 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.WorkflowArn = ptr.String(jtv) } + case "workflowName": if value != nil { jtv, ok := value.(string) @@ -9221,6 +9451,7 @@ func awsRestjson1_deserializeDocumentMatchingWorkflowSummary(v **types.MatchingW } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -9256,6 +9487,7 @@ func awsRestjson1_deserializeDocumentNamespaceProviderProperties(v **types.Names if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfiguration, value); err != nil { return err } + case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -9264,6 +9496,7 @@ func awsRestjson1_deserializeDocumentNamespaceProviderProperties(v **types.Names } sv.ProviderServiceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9303,18 +9536,22 @@ func awsRestjson1_deserializeDocumentNamespaceRuleBasedProperties(v **types.Name } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } + case "recordMatchingModels": if err := awsRestjson1_deserializeDocumentRecordMatchingModelList(&sv.RecordMatchingModels, value); err != nil { return err } + case "ruleDefinitionTypes": if err := awsRestjson1_deserializeDocumentIdMappingWorkflowRuleDefinitionTypeList(&sv.RuleDefinitionTypes, value); err != nil { return err } + case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -9354,6 +9591,7 @@ func awsRestjson1_deserializeDocumentOutputAttribute(v **types.OutputAttribute, } sv.Hashed = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9362,6 +9600,7 @@ func awsRestjson1_deserializeDocumentOutputAttribute(v **types.OutputAttribute, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9435,6 +9674,7 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.ApplyNormalization = ptr.Bool(jtv) } + case "KMSArn": if value != nil { jtv, ok := value.(string) @@ -9443,10 +9683,12 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.KMSArn = ptr.String(jtv) } + case "output": if err := awsRestjson1_deserializeDocumentOutputAttributes(&sv.Output, value); err != nil { return err } + case "outputS3Path": if value != nil { jtv, ok := value.(string) @@ -9455,6 +9697,7 @@ func awsRestjson1_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputS3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -9524,10 +9767,12 @@ func awsRestjson1_deserializeDocumentProviderComponentSchema(v **types.ProviderC if err := awsRestjson1_deserializeDocumentProviderSchemaAttributes(&sv.ProviderSchemaAttributes, value); err != nil { return err } + case "schemas": if err := awsRestjson1_deserializeDocumentSchemas(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -9607,14 +9852,17 @@ func awsRestjson1_deserializeDocumentProviderIdNameSpaceConfiguration(v **types. } sv.Description = ptr.String(jtv) } + case "providerSourceConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderSourceConfigurationDefinition, value); err != nil { return err } + case "providerTargetConfigurationDefinition": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderTargetConfigurationDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -9650,10 +9898,12 @@ func awsRestjson1_deserializeDocumentProviderIntermediateDataAccessConfiguration if err := awsRestjson1_deserializeDocumentAwsAccountIdList(&sv.AwsAccountIds, value); err != nil { return err } + case "requiredBucketActions": if err := awsRestjson1_deserializeDocumentRequiredBucketActionsList(&sv.RequiredBucketActions, value); err != nil { return err } + default: _, _ = key, value @@ -9693,6 +9943,7 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.AssetId = ptr.String(jtv) } + case "dataSetId": if value != nil { jtv, ok := value.(string) @@ -9701,6 +9952,7 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.DataSetId = ptr.String(jtv) } + case "listingId": if value != nil { jtv, ok := value.(string) @@ -9709,6 +9961,7 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.ListingId = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -9717,6 +9970,7 @@ func awsRestjson1_deserializeDocumentProviderMarketplaceConfiguration(v **types. } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9752,10 +10006,12 @@ func awsRestjson1_deserializeDocumentProviderProperties(v **types.ProviderProper if err := awsRestjson1_deserializeDocumentIntermediateSourceConfiguration(&sv.IntermediateSourceConfiguration, value); err != nil { return err } + case "providerConfiguration": if err := awsRestjson1_deserializeDocumentDocument(&sv.ProviderConfiguration, value); err != nil { return err } + case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -9764,6 +10020,7 @@ func awsRestjson1_deserializeDocumentProviderProperties(v **types.ProviderProper } sv.ProviderServiceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9803,6 +10060,7 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.FieldName = ptr.String(jtv) } + case "hashing": if value != nil { jtv, ok := value.(bool) @@ -9811,6 +10069,7 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.Hashing = ptr.Bool(jtv) } + case "subType": if value != nil { jtv, ok := value.(string) @@ -9819,6 +10078,7 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.SubType = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9827,6 +10087,7 @@ func awsRestjson1_deserializeDocumentProviderSchemaAttribute(v **types.ProviderS } sv.Type = types.SchemaAttributeType(jtv) } + default: _, _ = key, value @@ -9934,6 +10195,7 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderName = ptr.String(jtv) } + case "providerServiceArn": if value != nil { jtv, ok := value.(string) @@ -9942,6 +10204,7 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceArn = ptr.String(jtv) } + case "providerServiceDisplayName": if value != nil { jtv, ok := value.(string) @@ -9950,6 +10213,7 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceDisplayName = ptr.String(jtv) } + case "providerServiceName": if value != nil { jtv, ok := value.(string) @@ -9958,6 +10222,7 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceName = ptr.String(jtv) } + case "providerServiceType": if value != nil { jtv, ok := value.(string) @@ -9966,6 +10231,7 @@ func awsRestjson1_deserializeDocumentProviderServiceSummary(v **types.ProviderSe } sv.ProviderServiceType = types.ServiceType(jtv) } + default: _, _ = key, value @@ -10073,6 +10339,7 @@ func awsRestjson1_deserializeDocumentResolutionTechniques(v **types.ResolutionTe if err := awsRestjson1_deserializeDocumentProviderProperties(&sv.ProviderProperties, value); err != nil { return err } + case "resolutionType": if value != nil { jtv, ok := value.(string) @@ -10081,10 +10348,12 @@ func awsRestjson1_deserializeDocumentResolutionTechniques(v **types.ResolutionTe } sv.ResolutionType = types.ResolutionType(jtv) } + case "ruleBasedProperties": if err := awsRestjson1_deserializeDocumentRuleBasedProperties(&sv.RuleBasedProperties, value); err != nil { return err } + default: _, _ = key, value @@ -10124,6 +10393,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10159,6 +10429,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentMatchingKeys(&sv.MatchingKeys, value); err != nil { return err } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -10167,6 +10438,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -10206,6 +10478,7 @@ func awsRestjson1_deserializeDocumentRuleBasedProperties(v **types.RuleBasedProp } sv.AttributeMatchingModel = types.AttributeMatchingModel(jtv) } + case "matchPurpose": if value != nil { jtv, ok := value.(string) @@ -10214,10 +10487,12 @@ func awsRestjson1_deserializeDocumentRuleBasedProperties(v **types.RuleBasedProp } sv.MatchPurpose = types.MatchPurpose(jtv) } + case "rules": if err := awsRestjson1_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -10291,6 +10566,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.FieldName = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -10299,6 +10575,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.GroupName = ptr.String(jtv) } + case "hashed": if value != nil { jtv, ok := value.(bool) @@ -10307,6 +10584,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.Hashed = ptr.Bool(jtv) } + case "matchKey": if value != nil { jtv, ok := value.(string) @@ -10315,6 +10593,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.MatchKey = ptr.String(jtv) } + case "subType": if value != nil { jtv, ok := value.(string) @@ -10323,6 +10602,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.SubType = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10331,6 +10611,7 @@ func awsRestjson1_deserializeDocumentSchemaInputAttribute(v **types.SchemaInputA } sv.Type = types.SchemaAttributeType(jtv) } + default: _, _ = key, value @@ -10481,6 +10762,7 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } } + case "hasWorkflows": if value != nil { jtv, ok := value.(bool) @@ -10489,6 +10771,7 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.HasWorkflows = ptr.Bool(jtv) } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -10497,6 +10780,7 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.SchemaArn = ptr.String(jtv) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -10505,6 +10789,7 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } sv.SchemaName = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10520,6 +10805,7 @@ func awsRestjson1_deserializeDocumentSchemaMappingSummary(v **types.SchemaMappin } } + default: _, _ = key, value @@ -10627,6 +10913,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10666,6 +10953,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/eventbridge/deserializers.go b/service/eventbridge/deserializers.go index ad8878f562e..a0017607912 100644 --- a/service/eventbridge/deserializers.go +++ b/service/eventbridge/deserializers.go @@ -6940,6 +6940,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -6948,6 +6949,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -6956,6 +6958,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.ConnectionArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6971,6 +6974,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6979,6 +6983,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } + case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -6987,6 +6992,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationEndpoint = ptr.String(jtv) } + case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -6999,6 +7005,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7014,6 +7021,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7022,6 +7030,7 @@ func awsAwsjson11_deserializeDocumentApiDestination(v **types.ApiDestination, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7095,6 +7104,7 @@ func awsAwsjson11_deserializeDocumentAppSyncParameters(v **types.AppSyncParamete } sv.GraphQLOperation = ptr.String(jtv) } + default: _, _ = key, value @@ -7134,6 +7144,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7149,6 +7160,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } } + case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -7161,6 +7173,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventCount = i64 } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -7169,6 +7182,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.EventSourceArn = ptr.String(jtv) } + case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -7181,6 +7195,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.RetentionDays = ptr.Int32(int32(i64)) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7193,6 +7208,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.SizeBytes = i64 } + case "State": if value != nil { jtv, ok := value.(string) @@ -7201,6 +7217,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -7209,6 +7226,7 @@ func awsAwsjson11_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -7282,14 +7300,17 @@ func awsAwsjson11_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -7333,6 +7354,7 @@ func awsAwsjson11_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = int32(i64) } + default: _, _ = key, value @@ -7368,6 +7390,7 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, if err := awsAwsjson11_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } + case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -7376,6 +7399,7 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobDefinition = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -7384,10 +7408,12 @@ func awsAwsjson11_deserializeDocumentBatchParameters(v **types.BatchParameters, } sv.JobName = ptr.String(jtv) } + case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + default: _, _ = key, value @@ -7431,6 +7457,7 @@ func awsAwsjson11_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = int32(i64) } + default: _, _ = key, value @@ -7508,6 +7535,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } + case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -7516,6 +7544,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -7528,6 +7557,7 @@ func awsAwsjson11_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -7567,6 +7597,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7606,6 +7637,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -7614,6 +7646,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -7622,6 +7655,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7637,6 +7671,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -7652,6 +7687,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7667,6 +7703,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7675,6 +7712,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -7683,6 +7721,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -7722,6 +7761,7 @@ func awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(v ** } sv.ApiKeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -7757,18 +7797,22 @@ func awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(v **types. if err := awsAwsjson11_deserializeDocumentConnectionApiKeyAuthResponseParameters(&sv.ApiKeyAuthParameters, value); err != nil { return err } + case "BasicAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(&sv.BasicAuthParameters, value); err != nil { return err } + case "InvocationHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.InvocationHttpParameters, value); err != nil { return err } + case "OAuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(&sv.OAuthParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7808,6 +7852,7 @@ func awsAwsjson11_deserializeDocumentConnectionBasicAuthResponseParameters(v **t } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -7847,6 +7892,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7855,6 +7901,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7863,6 +7910,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7936,6 +7984,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -7944,6 +7993,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7952,6 +8002,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8021,14 +8072,17 @@ func awsAwsjson11_deserializeDocumentConnectionHttpParameters(v **types.Connecti if err := awsAwsjson11_deserializeDocumentConnectionBodyParametersList(&sv.BodyParameters, value); err != nil { return err } + case "HeaderParameters": if err := awsAwsjson11_deserializeDocumentConnectionHeaderParametersList(&sv.HeaderParameters, value); err != nil { return err } + case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentConnectionQueryStringParametersList(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -8068,6 +8122,7 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(v * } sv.ClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -8107,10 +8162,12 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.AuthorizationEndpoint = ptr.String(jtv) } + case "ClientParameters": if err := awsAwsjson11_deserializeDocumentConnectionOAuthClientResponseParameters(&sv.ClientParameters, value); err != nil { return err } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -8119,10 +8176,12 @@ func awsAwsjson11_deserializeDocumentConnectionOAuthResponseParameters(v **types } sv.HttpMethod = types.ConnectionOAuthHttpMethod(jtv) } + case "OAuthHttpParameters": if err := awsAwsjson11_deserializeDocumentConnectionHttpParameters(&sv.OAuthHttpParameters, value); err != nil { return err } + default: _, _ = key, value @@ -8162,6 +8221,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.IsValueSecret = jtv } + case "Key": if value != nil { jtv, ok := value.(string) @@ -8170,6 +8230,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8178,6 +8239,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8285,6 +8347,7 @@ func awsAwsjson11_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -8320,6 +8383,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsAwsjson11_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -8328,6 +8392,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = jtv } + case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -8336,6 +8401,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = jtv } + case "Group": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8410,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } + case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -8352,18 +8419,22 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } + case "NetworkConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "PlacementConstraints": if err := awsAwsjson11_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "PlacementStrategy": if err := awsAwsjson11_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -8372,6 +8443,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } + case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -8380,6 +8452,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } + case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -8388,10 +8461,12 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -8404,6 +8479,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } + case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -8412,6 +8488,7 @@ func awsAwsjson11_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8451,6 +8528,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8466,6 +8544,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8474,6 +8553,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Description = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -8482,6 +8562,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointId = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -8490,10 +8571,12 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointUrl = ptr.String(jtv) } + case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8509,6 +8592,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8517,10 +8601,12 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Name = ptr.String(jtv) } + case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8529,10 +8615,12 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.RoleArn = ptr.String(jtv) } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -8541,6 +8629,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.State = types.EndpointState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -8549,6 +8638,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -8588,6 +8678,7 @@ func awsAwsjson11_deserializeDocumentEndpointEventBus(v **types.EndpointEventBus } sv.EventBusArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8695,6 +8786,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8710,6 +8802,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8718,6 +8811,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8733,6 +8827,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8741,6 +8836,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Name = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -8749,6 +8845,7 @@ func awsAwsjson11_deserializeDocumentEventBus(v **types.EventBus, value interfac } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -8822,6 +8919,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -8830,6 +8928,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.CreatedBy = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8845,6 +8944,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -8860,6 +8960,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8868,6 +8969,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -8876,6 +8978,7 @@ func awsAwsjson11_deserializeDocumentEventSource(v **types.EventSource, value in } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -8945,10 +9048,12 @@ func awsAwsjson11_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va if err := awsAwsjson11_deserializeDocumentPrimary(&sv.Primary, value); err != nil { return err } + case "Secondary": if err := awsAwsjson11_deserializeDocumentSecondary(&sv.Secondary, value); err != nil { return err } + default: _, _ = key, value @@ -9020,14 +9125,17 @@ func awsAwsjson11_deserializeDocumentHttpParameters(v **types.HttpParameters, va if err := awsAwsjson11_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } + case "PathParameterValues": if err := awsAwsjson11_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } + case "QueryStringParameters": if err := awsAwsjson11_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -9067,6 +9175,7 @@ func awsAwsjson11_deserializeDocumentIllegalStatusException(v **types.IllegalSta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9102,6 +9211,7 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer if err := awsAwsjson11_deserializeDocumentTransformerPaths(&sv.InputPathsMap, value); err != nil { return err } + case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -9110,6 +9220,7 @@ func awsAwsjson11_deserializeDocumentInputTransformer(v **types.InputTransformer } sv.InputTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -9149,6 +9260,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9188,6 +9300,7 @@ func awsAwsjson11_deserializeDocumentInvalidEventPatternException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9227,6 +9340,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9266,6 +9380,7 @@ func awsAwsjson11_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKeyPath = ptr.String(jtv) } + default: _, _ = key, value @@ -9305,6 +9420,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9344,6 +9460,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleException(v **types.ManagedRuleE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9379,6 +9496,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsAwsjson11_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9418,6 +9536,7 @@ func awsAwsjson11_deserializeDocumentOperationDisabledException(v **types.Operat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9457,6 +9576,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9465,6 +9585,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSource(v **types.PartnerEventSo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9504,6 +9625,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.Account = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9519,6 +9641,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -9534,6 +9657,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9542,6 +9666,7 @@ func awsAwsjson11_deserializeDocumentPartnerEventSourceAccount(v **types.Partner } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -9685,6 +9810,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9693,6 +9819,7 @@ func awsAwsjson11_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } + default: _, _ = key, value @@ -9800,6 +9927,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9808,6 +9936,7 @@ func awsAwsjson11_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } + default: _, _ = key, value @@ -9847,6 +9976,7 @@ func awsAwsjson11_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9886,6 +10016,7 @@ func awsAwsjson11_deserializeDocumentPrimary(v **types.Primary, value interface{ } sv.HealthCheck = ptr.String(jtv) } + default: _, _ = key, value @@ -9925,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9933,6 +10065,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.ErrorMessage = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -9941,6 +10074,7 @@ func awsAwsjson11_deserializeDocumentPutEventsResultEntry(v **types.PutEventsRes } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -10014,6 +10148,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10022,6 +10157,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.ErrorMessage = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -10030,6 +10166,7 @@ func awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntry(v **types.PutPa } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -10103,6 +10240,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10111,6 +10249,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.ErrorMessage = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10119,6 +10258,7 @@ func awsAwsjson11_deserializeDocumentPutTargetsResultEntry(v **types.PutTargetsR } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10228,6 +10368,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Database = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -10236,6 +10377,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.DbUser = ptr.String(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -10244,6 +10386,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.SecretManagerArn = ptr.String(jtv) } + case "Sql": if value != nil { jtv, ok := value.(string) @@ -10252,10 +10395,12 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.Sql = ptr.String(jtv) } + case "Sqls": if err := awsAwsjson11_deserializeDocumentSqls(&sv.Sqls, value); err != nil { return err } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -10264,6 +10409,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.StatementName = ptr.String(jtv) } + case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -10272,6 +10418,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDataParameters(v **types.RedshiftDa } sv.WithEvent = jtv } + default: _, _ = key, value @@ -10311,6 +10458,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -10319,6 +10467,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.ErrorMessage = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10327,6 +10476,7 @@ func awsAwsjson11_deserializeDocumentRemoveTargetsResultEntry(v **types.RemoveTa } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10407,6 +10557,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -10422,6 +10573,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -10430,6 +10582,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.EventSourceArn = ptr.String(jtv) } + case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -10445,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -10460,6 +10614,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -10468,6 +10623,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.ReplayName = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -10483,6 +10639,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } } + case "State": if value != nil { jtv, ok := value.(string) @@ -10491,6 +10648,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -10499,6 +10657,7 @@ func awsAwsjson11_deserializeDocumentReplay(v **types.Replay, value interface{}) } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -10538,10 +10697,12 @@ func awsAwsjson11_deserializeDocumentReplayDestination(v **types.ReplayDestinati } sv.Arn = ptr.String(jtv) } + case "FilterArns": if err := awsAwsjson11_deserializeDocumentReplayDestinationFilters(&sv.FilterArns, value); err != nil { return err } + default: _, _ = key, value @@ -10651,6 +10812,7 @@ func awsAwsjson11_deserializeDocumentReplicationConfig(v **types.ReplicationConf } sv.State = types.ReplicationState(jtv) } + default: _, _ = key, value @@ -10690,6 +10852,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10729,6 +10892,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10772,6 +10936,7 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -10784,6 +10949,7 @@ func awsAwsjson11_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10819,6 +10985,7 @@ func awsAwsjson11_deserializeDocumentRoutingConfig(v **types.RoutingConfig, valu if err := awsAwsjson11_deserializeDocumentFailoverConfig(&sv.FailoverConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10858,6 +11025,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10866,6 +11034,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Description = ptr.String(jtv) } + case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -10874,6 +11043,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventBusName = ptr.String(jtv) } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -10882,6 +11052,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.EventPattern = ptr.String(jtv) } + case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -10890,6 +11061,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ManagedBy = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10898,6 +11070,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10906,6 +11079,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RoleArn = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -10914,6 +11088,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.ScheduleExpression = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10922,6 +11097,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.State = types.RuleState(jtv) } + default: _, _ = key, value @@ -11027,6 +11203,7 @@ func awsAwsjson11_deserializeDocumentRunCommandParameters(v **types.RunCommandPa if err := awsAwsjson11_deserializeDocumentRunCommandTargets(&sv.RunCommandTargets, value); err != nil { return err } + default: _, _ = key, value @@ -11066,10 +11243,12 @@ func awsAwsjson11_deserializeDocumentRunCommandTarget(v **types.RunCommandTarget } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentRunCommandTargetValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -11179,6 +11358,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11187,6 +11367,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11256,6 +11437,7 @@ func awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } + default: _, _ = key, value @@ -11295,6 +11477,7 @@ func awsAwsjson11_deserializeDocumentSecondary(v **types.Secondary, value interf } sv.Route = ptr.String(jtv) } + default: _, _ = key, value @@ -11370,6 +11553,7 @@ func awsAwsjson11_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -11445,6 +11629,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11453,6 +11638,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11522,6 +11708,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) if err := awsAwsjson11_deserializeDocumentAppSyncParameters(&sv.AppSyncParameters, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -11530,22 +11717,27 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } + case "BatchParameters": if err := awsAwsjson11_deserializeDocumentBatchParameters(&sv.BatchParameters, value); err != nil { return err } + case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "EcsParameters": if err := awsAwsjson11_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } + case "HttpParameters": if err := awsAwsjson11_deserializeDocumentHttpParameters(&sv.HttpParameters, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11554,6 +11746,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } + case "Input": if value != nil { jtv, ok := value.(string) @@ -11562,6 +11755,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } + case "InputPath": if value != nil { jtv, ok := value.(string) @@ -11570,22 +11764,27 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.InputPath = ptr.String(jtv) } + case "InputTransformer": if err := awsAwsjson11_deserializeDocumentInputTransformer(&sv.InputTransformer, value); err != nil { return err } + case "KinesisParameters": if err := awsAwsjson11_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } + case "RedshiftDataParameters": if err := awsAwsjson11_deserializeDocumentRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } + case "RetryPolicy": if err := awsAwsjson11_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11594,18 +11793,22 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } + case "RunCommandParameters": if err := awsAwsjson11_deserializeDocumentRunCommandParameters(&sv.RunCommandParameters, value); err != nil { return err } + case "SageMakerPipelineParameters": if err := awsAwsjson11_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } + case "SqsParameters": if err := awsAwsjson11_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } + default: _, _ = key, value @@ -11715,6 +11918,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.ReplayArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11723,6 +11927,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11731,6 +11936,7 @@ func awsAwsjson11_deserializeOpDocumentCancelReplayOutput(v **CancelReplayOutput } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -11770,6 +11976,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -11778,6 +11985,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11793,6 +12001,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11808,6 +12017,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApiDestinationOutput(v **CreateApiD } } + default: _, _ = key, value @@ -11847,6 +12057,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11862,6 +12073,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } } + case "State": if value != nil { jtv, ok := value.(string) @@ -11870,6 +12082,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -11878,6 +12091,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -11917,6 +12131,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -11925,6 +12140,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -11940,6 +12156,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11955,6 +12172,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } } + default: _, _ = key, value @@ -11994,10 +12212,12 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.Arn = ptr.String(jtv) } + case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12006,10 +12226,12 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.Name = ptr.String(jtv) } + case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12018,10 +12240,12 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.RoleArn = ptr.String(jtv) } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -12030,6 +12254,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.State = types.EndpointState(jtv) } + default: _, _ = key, value @@ -12065,6 +12290,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12073,6 +12299,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.Description = ptr.String(jtv) } + case "EventBusArn": if value != nil { jtv, ok := value.(string) @@ -12081,6 +12308,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.EventBusArn = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -12089,6 +12317,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventBusOutput(v **CreateEventBusOu } sv.KmsKeyIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12128,6 +12357,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePartnerEventSourceOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12167,6 +12397,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12175,6 +12406,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12190,6 +12422,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -12205,6 +12438,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12220,6 +12454,7 @@ func awsAwsjson11_deserializeOpDocumentDeauthorizeConnectionOutput(v **Deauthori } } + default: _, _ = key, value @@ -12321,6 +12556,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12329,6 +12565,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12344,6 +12581,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -12359,6 +12597,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12374,6 +12613,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti } } + default: _, _ = key, value @@ -12444,6 +12684,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -12452,6 +12693,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -12460,6 +12702,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.ConnectionArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12475,6 +12718,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12483,6 +12727,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Description = ptr.String(jtv) } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -12491,6 +12736,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.HttpMethod = types.ApiDestinationHttpMethod(jtv) } + case "InvocationEndpoint": if value != nil { jtv, ok := value.(string) @@ -12499,6 +12745,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationEndpoint = ptr.String(jtv) } + case "InvocationRateLimitPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -12511,6 +12758,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.InvocationRateLimitPerSecond = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12526,6 +12774,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12534,6 +12783,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApiDestinationOutput(v **Describe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12573,6 +12823,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveArn = ptr.String(jtv) } + case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -12581,6 +12832,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.ArchiveName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12596,6 +12848,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12604,6 +12857,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.Description = ptr.String(jtv) } + case "EventCount": if value != nil { jtv, ok := value.(json.Number) @@ -12616,6 +12870,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventCount = i64 } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -12624,6 +12879,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventPattern = ptr.String(jtv) } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -12632,6 +12888,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.EventSourceArn = ptr.String(jtv) } + case "RetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -12644,6 +12901,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.RetentionDays = ptr.Int32(int32(i64)) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -12656,6 +12914,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.SizeBytes = i64 } + case "State": if value != nil { jtv, ok := value.(string) @@ -12664,6 +12923,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12672,6 +12932,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArchiveOutput(v **DescribeArchive } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12711,10 +12972,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.AuthorizationType = types.ConnectionAuthorizationType(jtv) } + case "AuthParameters": if err := awsAwsjson11_deserializeDocumentConnectionAuthResponseParameters(&sv.AuthParameters, value); err != nil { return err } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -12723,6 +12986,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -12731,6 +12995,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12746,6 +13011,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12754,6 +13020,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Description = ptr.String(jtv) } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -12769,6 +13036,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12784,6 +13052,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12792,6 +13061,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.Name = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -12800,6 +13070,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.SecretArn = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12808,6 +13079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionOutput(v **DescribeConn } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12847,6 +13119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12862,6 +13135,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12870,6 +13144,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Description = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -12878,6 +13153,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointId = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -12886,10 +13162,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointUrl = ptr.String(jtv) } + case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -12905,6 +13183,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12913,10 +13192,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.Name = ptr.String(jtv) } + case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -12925,10 +13206,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.RoleArn = ptr.String(jtv) } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -12937,6 +13220,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.State = types.EndpointState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12945,6 +13229,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12984,6 +13269,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12999,10 +13285,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } } + case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13011,6 +13299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Description = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -13019,6 +13308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -13034,6 +13324,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13042,6 +13333,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Name = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -13050,6 +13342,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventBusOutput(v **DescribeEventB } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -13089,6 +13382,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13097,6 +13391,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.CreatedBy = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13112,6 +13407,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -13127,6 +13423,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13135,6 +13432,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13143,6 +13441,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventSourceOutput(v **DescribeEve } sv.State = types.EventSourceState(jtv) } + default: _, _ = key, value @@ -13182,6 +13481,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13190,6 +13490,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePartnerEventSourceOutput(v **Desc } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13229,10 +13530,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.Description = ptr.String(jtv) } + case "Destination": if err := awsAwsjson11_deserializeDocumentReplayDestination(&sv.Destination, value); err != nil { return err } + case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -13248,6 +13551,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "EventLastReplayedTime": if value != nil { switch jtv := value.(type) { @@ -13263,6 +13567,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -13271,6 +13576,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.EventSourceArn = ptr.String(jtv) } + case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -13286,6 +13592,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "ReplayArn": if value != nil { jtv, ok := value.(string) @@ -13294,6 +13601,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayArn = ptr.String(jtv) } + case "ReplayEndTime": if value != nil { switch jtv := value.(type) { @@ -13309,6 +13617,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "ReplayName": if value != nil { jtv, ok := value.(string) @@ -13317,6 +13626,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.ReplayName = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -13332,6 +13642,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } } + case "State": if value != nil { jtv, ok := value.(string) @@ -13340,6 +13651,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -13348,6 +13660,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReplayOutput(v **DescribeReplayOu } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -13387,6 +13700,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Arn = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13395,6 +13709,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13403,6 +13718,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Description = ptr.String(jtv) } + case "EventBusName": if value != nil { jtv, ok := value.(string) @@ -13411,6 +13727,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventBusName = ptr.String(jtv) } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -13419,6 +13736,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.EventPattern = ptr.String(jtv) } + case "ManagedBy": if value != nil { jtv, ok := value.(string) @@ -13427,6 +13745,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ManagedBy = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13435,6 +13754,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -13443,6 +13763,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.RoleArn = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -13451,6 +13772,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.ScheduleExpression = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13459,6 +13781,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuleOutput(v **DescribeRuleOutput } sv.State = types.RuleState(jtv) } + default: _, _ = key, value @@ -13494,6 +13817,7 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest if err := awsAwsjson11_deserializeDocumentApiDestinationResponseList(&sv.ApiDestinations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13502,6 +13826,7 @@ func awsAwsjson11_deserializeOpDocumentListApiDestinationsOutput(v **ListApiDest } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13537,6 +13862,7 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson11_deserializeDocumentArchiveResponseList(&sv.Archives, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13545,6 +13871,7 @@ func awsAwsjson11_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13580,6 +13907,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections if err := awsAwsjson11_deserializeDocumentConnectionResponseList(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13588,6 +13916,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectionsOutput(v **ListConnections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13623,6 +13952,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointList(&sv.Endpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13631,6 +13961,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13666,6 +13997,7 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu if err := awsAwsjson11_deserializeDocumentEventBusList(&sv.EventBuses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13674,6 +14006,7 @@ func awsAwsjson11_deserializeOpDocumentListEventBusesOutput(v **ListEventBusesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13709,6 +14042,7 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc if err := awsAwsjson11_deserializeDocumentEventSourceList(&sv.EventSources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13717,6 +14051,7 @@ func awsAwsjson11_deserializeOpDocumentListEventSourcesOutput(v **ListEventSourc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13756,10 +14091,12 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourceAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "PartnerEventSourceAccounts": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceAccountList(&sv.PartnerEventSourceAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -13799,10 +14136,12 @@ func awsAwsjson11_deserializeOpDocumentListPartnerEventSourcesOutput(v **ListPar } sv.NextToken = ptr.String(jtv) } + case "PartnerEventSources": if err := awsAwsjson11_deserializeDocumentPartnerEventSourceList(&sv.PartnerEventSources, value); err != nil { return err } + default: _, _ = key, value @@ -13842,10 +14181,12 @@ func awsAwsjson11_deserializeOpDocumentListReplaysOutput(v **ListReplaysOutput, } sv.NextToken = ptr.String(jtv) } + case "Replays": if err := awsAwsjson11_deserializeDocumentReplayList(&sv.Replays, value); err != nil { return err } + default: _, _ = key, value @@ -13885,10 +14226,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleNamesByTargetOutput(v **ListRuleN } sv.NextToken = ptr.String(jtv) } + case "RuleNames": if err := awsAwsjson11_deserializeDocumentRuleNameList(&sv.RuleNames, value); err != nil { return err } + default: _, _ = key, value @@ -13928,10 +14271,12 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleResponseList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -13967,6 +14312,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14006,10 +14352,12 @@ func awsAwsjson11_deserializeOpDocumentListTargetsByRuleOutput(v **ListTargetsBy } sv.NextToken = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -14045,6 +14393,7 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsAwsjson11_deserializeDocumentPutEventsResultEntryList(&sv.Entries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14057,6 +14406,7 @@ func awsAwsjson11_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -14092,6 +14442,7 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven if err := awsAwsjson11_deserializeDocumentPutPartnerEventsResultEntryList(&sv.Entries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14104,6 +14455,7 @@ func awsAwsjson11_deserializeOpDocumentPutPartnerEventsOutput(v **PutPartnerEven } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -14143,6 +14495,7 @@ func awsAwsjson11_deserializeOpDocumentPutRuleOutput(v **PutRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14178,6 +14531,7 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va if err := awsAwsjson11_deserializeDocumentPutTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14190,6 +14544,7 @@ func awsAwsjson11_deserializeOpDocumentPutTargetsOutput(v **PutTargetsOutput, va } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -14225,6 +14580,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp if err := awsAwsjson11_deserializeDocumentRemoveTargetsResultEntryList(&sv.FailedEntries, value); err != nil { return err } + case "FailedEntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -14237,6 +14593,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTargetsOutput(v **RemoveTargetsOutp } sv.FailedEntryCount = int32(i64) } + default: _, _ = key, value @@ -14276,6 +14633,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.ReplayArn = ptr.String(jtv) } + case "ReplayStartTime": if value != nil { switch jtv := value.(type) { @@ -14291,6 +14649,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } } + case "State": if value != nil { jtv, ok := value.(string) @@ -14299,6 +14658,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.State = types.ReplayState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -14307,6 +14667,7 @@ func awsAwsjson11_deserializeOpDocumentStartReplayOutput(v **StartReplayOutput, } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -14377,6 +14738,7 @@ func awsAwsjson11_deserializeOpDocumentTestEventPatternOutput(v **TestEventPatte } sv.Result = jtv } + default: _, _ = key, value @@ -14447,6 +14809,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationArn = ptr.String(jtv) } + case "ApiDestinationState": if value != nil { jtv, ok := value.(string) @@ -14455,6 +14818,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } sv.ApiDestinationState = types.ApiDestinationState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14470,6 +14834,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14485,6 +14850,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApiDestinationOutput(v **UpdateApiD } } + default: _, _ = key, value @@ -14524,6 +14890,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.ArchiveArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14539,6 +14906,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } } + case "State": if value != nil { jtv, ok := value.(string) @@ -14547,6 +14915,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.State = types.ArchiveState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -14555,6 +14924,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArchiveOutput(v **UpdateArchiveOutp } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -14594,6 +14964,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -14602,6 +14973,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } sv.ConnectionState = types.ConnectionState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14617,6 +14989,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + case "LastAuthorizedTime": if value != nil { switch jtv := value.(type) { @@ -14632,6 +15005,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14647,6 +15021,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti } } + default: _, _ = key, value @@ -14686,6 +15061,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.Arn = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -14694,6 +15070,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointId = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -14702,10 +15079,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointUrl = ptr.String(jtv) } + case "EventBuses": if err := awsAwsjson11_deserializeDocumentEndpointEventBusList(&sv.EventBuses, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14714,10 +15093,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.Name = ptr.String(jtv) } + case "ReplicationConfig": if err := awsAwsjson11_deserializeDocumentReplicationConfig(&sv.ReplicationConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -14726,10 +15107,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.RoleArn = ptr.String(jtv) } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -14738,6 +15121,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.State = types.EndpointState(jtv) } + default: _, _ = key, value @@ -14777,10 +15161,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Arn = ptr.String(jtv) } + case "DeadLetterConfig": if err := awsAwsjson11_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14789,6 +15175,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Description = ptr.String(jtv) } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -14797,6 +15184,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14805,6 +15193,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEventBusOutput(v **UpdateEventBusOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/evidently/deserializers.go b/service/evidently/deserializers.go index c6159fdc8d4..0b48060d0d0 100644 --- a/service/evidently/deserializers.go +++ b/service/evidently/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentBatchEvaluateFeatureOutput(v **BatchEvalu if err := awsRestjson1_deserializeDocumentEvaluationResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -344,6 +345,7 @@ func awsRestjson1_deserializeOpDocumentCreateExperimentOutput(v **CreateExperime if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -507,6 +509,7 @@ func awsRestjson1_deserializeOpDocumentCreateFeatureOutput(v **CreateFeatureOutp if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } + default: _, _ = key, value @@ -670,6 +673,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchOutput(v **CreateLaunchOutput if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } + default: _, _ = key, value @@ -830,6 +834,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -990,6 +995,7 @@ func awsRestjson1_deserializeOpDocumentCreateSegmentOutput(v **CreateSegmentOutp if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } + default: _, _ = key, value @@ -1657,6 +1663,7 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Details = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -1665,10 +1672,12 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Reason = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } + case "variation": if value != nil { jtv, ok := value.(string) @@ -1677,6 +1686,7 @@ func awsRestjson1_deserializeOpDocumentEvaluateFeatureOutput(v **EvaluateFeature } sv.Variation = ptr.String(jtv) } + default: _, _ = key, value @@ -1837,6 +1847,7 @@ func awsRestjson1_deserializeOpDocumentGetExperimentOutput(v **GetExperimentOutp if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -2004,18 +2015,22 @@ func awsRestjson1_deserializeOpDocumentGetExperimentResultsOutput(v **GetExperim } sv.Details = ptr.String(jtv) } + case "reports": if err := awsRestjson1_deserializeDocumentExperimentReportList(&sv.Reports, value); err != nil { return err } + case "resultsData": if err := awsRestjson1_deserializeDocumentExperimentResultsDataList(&sv.ResultsData, value); err != nil { return err } + case "timestamps": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.Timestamps, value); err != nil { return err } + default: _, _ = key, value @@ -2176,6 +2191,7 @@ func awsRestjson1_deserializeOpDocumentGetFeatureOutput(v **GetFeatureOutput, va if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } + default: _, _ = key, value @@ -2336,6 +2352,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchOutput(v **GetLaunchOutput, valu if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } + default: _, _ = key, value @@ -2496,6 +2513,7 @@ func awsRestjson1_deserializeOpDocumentGetProjectOutput(v **GetProjectOutput, va if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -2656,6 +2674,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentOutput(v **GetSegmentOutput, va if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } + default: _, _ = key, value @@ -2813,6 +2832,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsRestjson1_deserializeDocumentExperimentList(&sv.Experiments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2821,6 +2841,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2981,6 +3002,7 @@ func awsRestjson1_deserializeOpDocumentListFeaturesOutput(v **ListFeaturesOutput if err := awsRestjson1_deserializeDocumentFeatureSummariesList(&sv.Features, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2989,6 +3011,7 @@ func awsRestjson1_deserializeOpDocumentListFeaturesOutput(v **ListFeaturesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3146,6 +3169,7 @@ func awsRestjson1_deserializeOpDocumentListLaunchesOutput(v **ListLaunchesOutput if err := awsRestjson1_deserializeDocumentLaunchesList(&sv.Launches, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3154,6 +3178,7 @@ func awsRestjson1_deserializeOpDocumentListLaunchesOutput(v **ListLaunchesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3315,10 +3340,12 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "projects": if err := awsRestjson1_deserializeDocumentProjectSummariesList(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -3483,10 +3510,12 @@ func awsRestjson1_deserializeOpDocumentListSegmentReferencesOutput(v **ListSegme } sv.NextToken = ptr.String(jtv) } + case "referencedBy": if err := awsRestjson1_deserializeDocumentRefResourceList(&sv.ReferencedBy, value); err != nil { return err } + default: _, _ = key, value @@ -3648,10 +3677,12 @@ func awsRestjson1_deserializeOpDocumentListSegmentsOutput(v **ListSegmentsOutput } sv.NextToken = ptr.String(jtv) } + case "segments": if err := awsRestjson1_deserializeDocumentSegmentList(&sv.Segments, value); err != nil { return err } + default: _, _ = key, value @@ -3809,6 +3840,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3969,6 +4001,7 @@ func awsRestjson1_deserializeOpDocumentPutProjectEventsOutput(v **PutProjectEven if err := awsRestjson1_deserializeDocumentPutProjectEventsResultEntryList(&sv.EventResults, value); err != nil { return err } + case "failedEventCount": if value != nil { jtv, ok := value.(json.Number) @@ -3981,6 +4014,7 @@ func awsRestjson1_deserializeOpDocumentPutProjectEventsOutput(v **PutProjectEven } sv.FailedEventCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4158,6 +4192,7 @@ func awsRestjson1_deserializeOpDocumentStartExperimentOutput(v **StartExperiment } } + default: _, _ = key, value @@ -4324,6 +4359,7 @@ func awsRestjson1_deserializeOpDocumentStartLaunchOutput(v **StartLaunchOutput, if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } + default: _, _ = key, value @@ -4501,6 +4537,7 @@ func awsRestjson1_deserializeOpDocumentStopExperimentOutput(v **StopExperimentOu } } + default: _, _ = key, value @@ -4672,6 +4709,7 @@ func awsRestjson1_deserializeOpDocumentStopLaunchOutput(v **StopLaunchOutput, va } } + default: _, _ = key, value @@ -4927,6 +4965,7 @@ func awsRestjson1_deserializeOpDocumentTestSegmentPatternOutput(v **TestSegmentP } sv.Match = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5181,6 +5220,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExperimentOutput(v **UpdateExperime if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -5344,6 +5384,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFeatureOutput(v **UpdateFeatureOutp if err := awsRestjson1_deserializeDocumentFeature(&sv.Feature, value); err != nil { return err } + default: _, _ = key, value @@ -5504,6 +5545,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchOutput(v **UpdateLaunchOutput if err := awsRestjson1_deserializeDocumentLaunch(&sv.Launch, value); err != nil { return err } + default: _, _ = key, value @@ -5667,6 +5709,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -5830,6 +5873,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProjectDataDeliveryOutput(v **Updat if err := awsRestjson1_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -6157,6 +6201,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6196,6 +6241,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -6235,6 +6281,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6243,6 +6290,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6251,6 +6299,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6387,6 +6436,7 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Details = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -6395,6 +6445,7 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.EntityId = ptr.String(jtv) } + case "feature": if value != nil { jtv, ok := value.(string) @@ -6403,6 +6454,7 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Feature = ptr.String(jtv) } + case "project": if value != nil { jtv, ok := value.(string) @@ -6411,6 +6463,7 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Project = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6419,10 +6472,12 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Reason = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } + case "variation": if value != nil { jtv, ok := value.(string) @@ -6431,6 +6486,7 @@ func awsRestjson1_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.Variation = ptr.String(jtv) } + default: _, _ = key, value @@ -6504,6 +6560,7 @@ func awsRestjson1_deserializeDocumentEvaluationRule(v **types.EvaluationRule, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6512,6 +6569,7 @@ func awsRestjson1_deserializeDocumentEvaluationRule(v **types.EvaluationRule, va } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6585,6 +6643,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -6600,6 +6659,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6608,10 +6668,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Description = ptr.String(jtv) } + case "execution": if err := awsRestjson1_deserializeDocumentExperimentExecution(&sv.Execution, value); err != nil { return err } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6627,10 +6689,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "metricGoals": if err := awsRestjson1_deserializeDocumentMetricGoalsList(&sv.MetricGoals, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6639,10 +6703,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Name = ptr.String(jtv) } + case "onlineAbDefinition": if err := awsRestjson1_deserializeDocumentOnlineAbDefinition(&sv.OnlineAbDefinition, value); err != nil { return err } + case "project": if value != nil { jtv, ok := value.(string) @@ -6651,6 +6717,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Project = ptr.String(jtv) } + case "randomizationSalt": if value != nil { jtv, ok := value.(string) @@ -6659,6 +6726,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.RandomizationSalt = ptr.String(jtv) } + case "samplingRate": if value != nil { jtv, ok := value.(json.Number) @@ -6671,10 +6739,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.SamplingRate = i64 } + case "schedule": if err := awsRestjson1_deserializeDocumentExperimentSchedule(&sv.Schedule, value); err != nil { return err } + case "segment": if value != nil { jtv, ok := value.(string) @@ -6683,6 +6753,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Segment = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6691,6 +6762,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Status = types.ExperimentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6699,14 +6771,17 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "treatments": if err := awsRestjson1_deserializeDocumentTreatmentList(&sv.Treatments, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6715,6 +6790,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Type = types.ExperimentType(jtv) } + default: _, _ = key, value @@ -6761,6 +6837,7 @@ func awsRestjson1_deserializeDocumentExperimentExecution(v **types.ExperimentExe } } + case "startedTime": if value != nil { switch jtv := value.(type) { @@ -6776,6 +6853,7 @@ func awsRestjson1_deserializeDocumentExperimentExecution(v **types.ExperimentExe } } + default: _, _ = key, value @@ -6849,6 +6927,7 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.Content = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -6857,6 +6936,7 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.MetricName = ptr.String(jtv) } + case "reportName": if value != nil { jtv, ok := value.(string) @@ -6865,6 +6945,7 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.ReportName = types.ExperimentReportName(jtv) } + case "treatmentName": if value != nil { jtv, ok := value.(string) @@ -6873,6 +6954,7 @@ func awsRestjson1_deserializeDocumentExperimentReport(v **types.ExperimentReport } sv.TreatmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -6946,6 +7028,7 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.MetricName = ptr.String(jtv) } + case "resultStat": if value != nil { jtv, ok := value.(string) @@ -6954,6 +7037,7 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.ResultStat = types.ExperimentResultResponseType(jtv) } + case "treatmentName": if value != nil { jtv, ok := value.(string) @@ -6962,10 +7046,12 @@ func awsRestjson1_deserializeDocumentExperimentResultsData(v **types.ExperimentR } sv.TreatmentName = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentDoubleValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7046,6 +7132,7 @@ func awsRestjson1_deserializeDocumentExperimentSchedule(v **types.ExperimentSche } } + default: _, _ = key, value @@ -7085,6 +7172,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7100,6 +7188,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } } + case "defaultVariation": if value != nil { jtv, ok := value.(string) @@ -7108,6 +7197,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.DefaultVariation = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7116,14 +7206,17 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Description = ptr.String(jtv) } + case "entityOverrides": if err := awsRestjson1_deserializeDocumentEntityOverrideMap(&sv.EntityOverrides, value); err != nil { return err } + case "evaluationRules": if err := awsRestjson1_deserializeDocumentEvaluationRulesList(&sv.EvaluationRules, value); err != nil { return err } + case "evaluationStrategy": if value != nil { jtv, ok := value.(string) @@ -7132,6 +7225,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.EvaluationStrategy = types.FeatureEvaluationStrategy(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7147,6 +7241,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7155,6 +7250,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Name = ptr.String(jtv) } + case "project": if value != nil { jtv, ok := value.(string) @@ -7163,6 +7259,7 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Project = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7171,10 +7268,12 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.Status = types.FeatureStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "valueType": if value != nil { jtv, ok := value.(string) @@ -7183,10 +7282,12 @@ func awsRestjson1_deserializeDocumentFeature(v **types.Feature, value interface{ } sv.ValueType = types.VariationValueType(jtv) } + case "variations": if err := awsRestjson1_deserializeDocumentVariationsList(&sv.Variations, value); err != nil { return err } + default: _, _ = key, value @@ -7260,6 +7361,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7275,6 +7377,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } } + case "defaultVariation": if value != nil { jtv, ok := value.(string) @@ -7283,10 +7386,12 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.DefaultVariation = ptr.String(jtv) } + case "evaluationRules": if err := awsRestjson1_deserializeDocumentEvaluationRulesList(&sv.EvaluationRules, value); err != nil { return err } + case "evaluationStrategy": if value != nil { jtv, ok := value.(string) @@ -7295,6 +7400,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.EvaluationStrategy = types.FeatureEvaluationStrategy(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7310,6 +7416,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7318,6 +7425,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Name = ptr.String(jtv) } + case "project": if value != nil { jtv, ok := value.(string) @@ -7326,6 +7434,7 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Project = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7334,10 +7443,12 @@ func awsRestjson1_deserializeDocumentFeatureSummary(v **types.FeatureSummary, va } sv.Status = types.FeatureStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7453,6 +7564,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7492,6 +7604,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -7507,6 +7620,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } } + case "description": if value != nil { jtv, ok := value.(string) @@ -7515,14 +7629,17 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Description = ptr.String(jtv) } + case "execution": if err := awsRestjson1_deserializeDocumentLaunchExecution(&sv.Execution, value); err != nil { return err } + case "groups": if err := awsRestjson1_deserializeDocumentLaunchGroupList(&sv.Groups, value); err != nil { return err } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7538,10 +7655,12 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } } + case "metricMonitors": if err := awsRestjson1_deserializeDocumentMetricMonitorList(&sv.MetricMonitors, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7550,6 +7669,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Name = ptr.String(jtv) } + case "project": if value != nil { jtv, ok := value.(string) @@ -7558,6 +7678,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Project = ptr.String(jtv) } + case "randomizationSalt": if value != nil { jtv, ok := value.(string) @@ -7566,10 +7687,12 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.RandomizationSalt = ptr.String(jtv) } + case "scheduledSplitsDefinition": if err := awsRestjson1_deserializeDocumentScheduledSplitsLaunchDefinition(&sv.ScheduledSplitsDefinition, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7578,6 +7701,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Status = types.LaunchStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7586,10 +7710,12 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7598,6 +7724,7 @@ func awsRestjson1_deserializeDocumentLaunch(v **types.Launch, value interface{}) } sv.Type = types.LaunchType(jtv) } + default: _, _ = key, value @@ -7678,6 +7805,7 @@ func awsRestjson1_deserializeDocumentLaunchExecution(v **types.LaunchExecution, } } + case "startedTime": if value != nil { switch jtv := value.(type) { @@ -7693,6 +7821,7 @@ func awsRestjson1_deserializeDocumentLaunchExecution(v **types.LaunchExecution, } } + default: _, _ = key, value @@ -7732,10 +7861,12 @@ func awsRestjson1_deserializeDocumentLaunchGroup(v **types.LaunchGroup, value in } sv.Description = ptr.String(jtv) } + case "featureVariations": if err := awsRestjson1_deserializeDocumentFeatureToVariationMap(&sv.FeatureVariations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7744,6 +7875,7 @@ func awsRestjson1_deserializeDocumentLaunchGroup(v **types.LaunchGroup, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7817,6 +7949,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EntityIdKey = ptr.String(jtv) } + case "eventPattern": if value != nil { jtv, ok := value.(string) @@ -7825,6 +7958,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EventPattern = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7833,6 +7967,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } + case "unitLabel": if value != nil { jtv, ok := value.(string) @@ -7841,6 +7976,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.UnitLabel = ptr.String(jtv) } + case "valueKey": if value != nil { jtv, ok := value.(string) @@ -7849,6 +7985,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.ValueKey = ptr.String(jtv) } + default: _, _ = key, value @@ -7888,10 +8025,12 @@ func awsRestjson1_deserializeDocumentMetricGoal(v **types.MetricGoal, value inte } sv.DesiredChange = types.ChangeDirectionEnum(jtv) } + case "metricDefinition": if err := awsRestjson1_deserializeDocumentMetricDefinition(&sv.MetricDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -7961,6 +8100,7 @@ func awsRestjson1_deserializeDocumentMetricMonitor(v **types.MetricMonitor, valu if err := awsRestjson1_deserializeDocumentMetricDefinition(&sv.MetricDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -8034,10 +8174,12 @@ func awsRestjson1_deserializeDocumentOnlineAbDefinition(v **types.OnlineAbDefini } sv.ControlTreatmentName = ptr.String(jtv) } + case "treatmentWeights": if err := awsRestjson1_deserializeDocumentTreatmentToWeightMap(&sv.TreatmentWeights, value); err != nil { return err } + default: _, _ = key, value @@ -8081,6 +8223,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ActiveExperimentCount = ptr.Int64(i64) } + case "activeLaunchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8093,10 +8236,12 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ActiveLaunchCount = ptr.Int64(i64) } + case "appConfigResource": if err := awsRestjson1_deserializeDocumentProjectAppConfigResource(&sv.AppConfigResource, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8105,6 +8250,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8120,10 +8266,12 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } + case "dataDelivery": if err := awsRestjson1_deserializeDocumentProjectDataDelivery(&sv.DataDelivery, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -8132,6 +8280,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Description = ptr.String(jtv) } + case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -8144,6 +8293,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.ExperimentCount = ptr.Int64(i64) } + case "featureCount": if value != nil { jtv, ok := value.(json.Number) @@ -8156,6 +8306,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.FeatureCount = ptr.Int64(i64) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8171,6 +8322,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } } + case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8183,6 +8335,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.LaunchCount = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8191,6 +8344,7 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8199,10 +8353,12 @@ func awsRestjson1_deserializeDocumentProject(v **types.Project, value interface{ } sv.Status = types.ProjectStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8242,6 +8398,7 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.ApplicationId = ptr.String(jtv) } + case "configurationProfileId": if value != nil { jtv, ok := value.(string) @@ -8250,6 +8407,7 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.ConfigurationProfileId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8258,6 +8416,7 @@ func awsRestjson1_deserializeDocumentProjectAppConfigResource(v **types.ProjectA } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -8293,10 +8452,12 @@ func awsRestjson1_deserializeDocumentProjectDataDelivery(v **types.ProjectDataDe if err := awsRestjson1_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogs, value); err != nil { return err } + case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -8374,6 +8535,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ActiveExperimentCount = ptr.Int64(i64) } + case "activeLaunchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8386,6 +8548,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ActiveLaunchCount = ptr.Int64(i64) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8394,6 +8557,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8409,6 +8573,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8417,6 +8582,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } + case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -8429,6 +8595,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ExperimentCount = ptr.Int64(i64) } + case "featureCount": if value != nil { jtv, ok := value.(json.Number) @@ -8441,6 +8608,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.FeatureCount = ptr.Int64(i64) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8456,6 +8624,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -8468,6 +8637,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.LaunchCount = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8476,6 +8646,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8484,10 +8655,12 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Status = types.ProjectStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8527,6 +8700,7 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -8535,6 +8709,7 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.ErrorMessage = ptr.String(jtv) } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -8543,6 +8718,7 @@ func awsRestjson1_deserializeDocumentPutProjectEventsResultEntry(v **types.PutPr } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -8616,6 +8792,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Arn = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -8624,6 +8801,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.EndTime = ptr.String(jtv) } + case "lastUpdatedOn": if value != nil { jtv, ok := value.(string) @@ -8632,6 +8810,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.LastUpdatedOn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8640,6 +8819,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Name = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -8648,6 +8828,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8656,6 +8837,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Status = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8664,6 +8846,7 @@ func awsRestjson1_deserializeDocumentRefResource(v **types.RefResource, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8737,6 +8920,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8745,6 +8929,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8753,6 +8938,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -8792,6 +8978,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -8800,6 +8987,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8835,10 +9023,12 @@ func awsRestjson1_deserializeDocumentScheduledSplit(v **types.ScheduledSplit, va if err := awsRestjson1_deserializeDocumentGroupToWeightMap(&sv.GroupWeights, value); err != nil { return err } + case "segmentOverrides": if err := awsRestjson1_deserializeDocumentSegmentOverridesList(&sv.SegmentOverrides, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -8854,6 +9044,7 @@ func awsRestjson1_deserializeDocumentScheduledSplit(v **types.ScheduledSplit, va } } + default: _, _ = key, value @@ -8889,6 +9080,7 @@ func awsRestjson1_deserializeDocumentScheduledSplitsLaunchDefinition(v **types.S if err := awsRestjson1_deserializeDocumentScheduledStepList(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -8962,6 +9154,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8977,6 +9170,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9179,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Description = ptr.String(jtv) } + case "experimentCount": if value != nil { jtv, ok := value.(json.Number) @@ -8997,6 +9192,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.ExperimentCount = ptr.Int64(i64) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9012,6 +9208,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } } + case "launchCount": if value != nil { jtv, ok := value.(json.Number) @@ -9024,6 +9221,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.LaunchCount = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9032,6 +9230,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Name = ptr.String(jtv) } + case "pattern": if value != nil { jtv, ok := value.(string) @@ -9040,10 +9239,12 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Pattern = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9121,6 +9322,7 @@ func awsRestjson1_deserializeDocumentSegmentOverride(v **types.SegmentOverride, } sv.EvaluationOrder = ptr.Int64(i64) } + case "segment": if value != nil { jtv, ok := value.(string) @@ -9129,10 +9331,12 @@ func awsRestjson1_deserializeDocumentSegmentOverride(v **types.SegmentOverride, } sv.Segment = ptr.String(jtv) } + case "weights": if err := awsRestjson1_deserializeDocumentGroupToWeightMap(&sv.Weights, value); err != nil { return err } + default: _, _ = key, value @@ -9206,6 +9410,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9214,6 +9419,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9222,6 +9428,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9230,6 +9437,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9238,6 +9446,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9277,6 +9486,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9352,6 +9562,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9360,6 +9571,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9368,6 +9580,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9450,10 +9663,12 @@ func awsRestjson1_deserializeDocumentTreatment(v **types.Treatment, value interf } sv.Description = ptr.String(jtv) } + case "featureVariations": if err := awsRestjson1_deserializeDocumentFeatureToVariationMap(&sv.FeatureVariations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9462,6 +9677,7 @@ func awsRestjson1_deserializeDocumentTreatment(v **types.Treatment, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9571,6 +9787,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9579,6 +9796,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9587,6 +9805,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -9626,6 +9845,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9634,6 +9854,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9814,10 +10035,12 @@ func awsRestjson1_deserializeDocumentVariation(v **types.Variation, value interf } sv.Name = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/finspace/deserializers.go b/service/finspace/deserializers.go index d0d41007e29..12487295ed5 100644 --- a/service/finspace/deserializers.go +++ b/service/finspace/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -199,6 +200,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } + case "environmentUrl": if value != nil { jtv, ok := value.(string) @@ -207,6 +209,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -376,6 +379,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang if err := awsRestjson1_deserializeDocumentChangeRequests(&sv.ChangeRequests, value); err != nil { return err } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -384,6 +388,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -399,6 +404,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -407,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.DatabaseName = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -415,10 +422,12 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.EnvironmentId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -434,6 +443,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } } + case "status": if value != nil { jtv, ok := value.(string) @@ -442,6 +452,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxChangesetOutput(v **CreateKxChang } sv.Status = types.ChangesetStatus(jtv) } + default: _, _ = key, value @@ -611,6 +622,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster if err := awsRestjson1_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -619,6 +631,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -627,14 +640,17 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.AzMode = types.KxAzMode(jtv) } + case "cacheStorageConfigurations": if err := awsRestjson1_deserializeDocumentKxCacheStorageConfigurations(&sv.CacheStorageConfigurations, value); err != nil { return err } + case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } + case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -643,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterDescription = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -651,6 +668,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterName = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -659,14 +677,17 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ClusterType = types.KxClusterType(jtv) } + case "code": if err := awsRestjson1_deserializeDocumentCodeConfiguration(&sv.Code, value); err != nil { return err } + case "commandLineArguments": if err := awsRestjson1_deserializeDocumentKxCommandLineArguments(&sv.CommandLineArguments, value); err != nil { return err } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -682,10 +703,12 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } } + case "databases": if err := awsRestjson1_deserializeDocumentKxDatabaseConfigurations(&sv.Databases, value); err != nil { return err } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -694,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.EnvironmentId = ptr.String(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -702,6 +726,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ExecutionRole = ptr.String(jtv) } + case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -710,6 +735,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.InitializationScript = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -725,6 +751,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -733,14 +760,17 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.ReleaseLabel = ptr.String(jtv) } + case "savedownStorageConfiguration": if err := awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(&sv.SavedownStorageConfiguration, value); err != nil { return err } + case "scalingGroupConfiguration": if err := awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(&sv.ScalingGroupConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -749,6 +779,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.Status = types.KxClusterStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -757,18 +788,22 @@ func awsRestjson1_deserializeOpDocumentCreateKxClusterOutput(v **CreateKxCluster } sv.StatusReason = ptr.String(jtv) } + case "tickerplantLogConfiguration": if err := awsRestjson1_deserializeDocumentTickerplantLogConfiguration(&sv.TickerplantLogConfiguration, value); err != nil { return err } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -952,6 +987,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } } + case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -960,6 +996,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.DatabaseArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -968,6 +1005,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.DatabaseName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -976,6 +1014,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -984,6 +1023,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -999,6 +1039,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDatabaseOutput(v **CreateKxDataba } } + default: _, _ = key, value @@ -1175,6 +1216,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AutoUpdate = jtv } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -1183,6 +1225,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -1191,6 +1234,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.AzMode = types.KxAzMode(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -1199,6 +1243,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1214,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -1222,6 +1268,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.DatabaseName = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -1230,6 +1277,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.DataviewName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1238,6 +1286,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1246,6 +1295,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1261,6 +1311,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } } + case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -1269,10 +1320,12 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.ReadWrite = jtv } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1281,6 +1334,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxDataviewOutput(v **CreateKxDatavi } sv.Status = types.KxDataviewStatus(jtv) } + default: _, _ = key, value @@ -1461,6 +1515,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1469,6 +1524,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Description = ptr.String(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1533,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1485,6 +1542,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.EnvironmentId = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1493,6 +1551,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1501,6 +1560,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1509,6 +1569,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxEnvironmentOutput(v **CreateKxEnv } sv.Status = types.EnvironmentStatus(jtv) } + default: _, _ = key, value @@ -1682,6 +1743,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.AvailabilityZoneId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -1697,6 +1759,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1705,6 +1768,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.EnvironmentId = ptr.String(jtv) } + case "hostType": if value != nil { jtv, ok := value.(string) @@ -1713,6 +1777,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.HostType = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -1728,6 +1793,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } } + case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -1736,6 +1802,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.ScalingGroupName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1744,6 +1811,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxScalingGroupOutput(v **CreateKxSc } sv.Status = types.KxScalingGroupStatus(jtv) } + default: _, _ = key, value @@ -1920,6 +1988,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.EnvironmentId = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -1928,6 +1997,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.IamRole = ptr.String(jtv) } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -1936,6 +2006,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.UserArn = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -1944,6 +2015,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxUserOutput(v **CreateKxUserOutput } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -2116,6 +2188,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -2124,6 +2197,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.AzMode = types.KxAzMode(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -2139,6 +2213,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2147,6 +2222,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2155,10 +2231,12 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.EnvironmentId = ptr.String(jtv) } + case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2167,6 +2245,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.Status = types.KxVolumeStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2175,6 +2254,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.StatusReason = ptr.String(jtv) } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -2183,6 +2263,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeArn = ptr.String(jtv) } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -2191,6 +2272,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeName = ptr.String(jtv) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -2199,6 +2281,7 @@ func awsRestjson1_deserializeOpDocumentCreateKxVolumeOutput(v **CreateKxVolumeOu } sv.VolumeType = types.KxVolumeType(jtv) } + default: _, _ = key, value @@ -3289,6 +3372,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -3463,10 +3547,12 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } + case "changeRequests": if err := awsRestjson1_deserializeDocumentChangeRequests(&sv.ChangeRequests, value); err != nil { return err } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3561,7 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -3490,6 +3577,7 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -3498,6 +3586,7 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.DatabaseName = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3506,10 +3595,12 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.EnvironmentId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3525,6 +3616,7 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3533,6 +3625,7 @@ func awsRestjson1_deserializeOpDocumentGetKxChangesetOutput(v **GetKxChangesetOu } sv.Status = types.ChangesetStatus(jtv) } + default: _, _ = key, value @@ -3702,6 +3795,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput if err := awsRestjson1_deserializeDocumentAutoScalingConfiguration(&sv.AutoScalingConfiguration, value); err != nil { return err } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -3710,6 +3804,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -3718,14 +3813,17 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.AzMode = types.KxAzMode(jtv) } + case "cacheStorageConfigurations": if err := awsRestjson1_deserializeDocumentKxCacheStorageConfigurations(&sv.CacheStorageConfigurations, value); err != nil { return err } + case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } + case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -3734,6 +3832,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterDescription = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -3742,6 +3841,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterName = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -3750,14 +3850,17 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ClusterType = types.KxClusterType(jtv) } + case "code": if err := awsRestjson1_deserializeDocumentCodeConfiguration(&sv.Code, value); err != nil { return err } + case "commandLineArguments": if err := awsRestjson1_deserializeDocumentKxCommandLineArguments(&sv.CommandLineArguments, value); err != nil { return err } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -3773,10 +3876,12 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } } + case "databases": if err := awsRestjson1_deserializeDocumentKxDatabaseConfigurations(&sv.Databases, value); err != nil { return err } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -3785,6 +3890,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ExecutionRole = ptr.String(jtv) } + case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -3793,6 +3899,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.InitializationScript = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3808,6 +3915,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -3816,14 +3924,17 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.ReleaseLabel = ptr.String(jtv) } + case "savedownStorageConfiguration": if err := awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(&sv.SavedownStorageConfiguration, value); err != nil { return err } + case "scalingGroupConfiguration": if err := awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(&sv.ScalingGroupConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3832,6 +3943,7 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.Status = types.KxClusterStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -3840,18 +3952,22 @@ func awsRestjson1_deserializeOpDocumentGetKxClusterOutput(v **GetKxClusterOutput } sv.StatusReason = ptr.String(jtv) } + case "tickerplantLogConfiguration": if err := awsRestjson1_deserializeDocumentTickerplantLogConfiguration(&sv.TickerplantLogConfiguration, value); err != nil { return err } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4019,6 +4135,7 @@ func awsRestjson1_deserializeOpDocumentGetKxConnectionStringOutput(v **GetKxConn } sv.SignedConnectionString = ptr.String(jtv) } + default: _, _ = key, value @@ -4193,6 +4310,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } } + case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -4201,6 +4319,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.DatabaseArn = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -4209,6 +4328,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.DatabaseName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4217,6 +4337,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4225,6 +4346,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.EnvironmentId = ptr.String(jtv) } + case "lastCompletedChangesetId": if value != nil { jtv, ok := value.(string) @@ -4233,6 +4355,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.LastCompletedChangesetId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4248,6 +4371,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } } + case "numBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4260,6 +4384,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumBytes = i64 } + case "numChangesets": if value != nil { jtv, ok := value.(json.Number) @@ -4272,6 +4397,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumChangesets = int32(i64) } + case "numFiles": if value != nil { jtv, ok := value.(json.Number) @@ -4284,6 +4410,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDatabaseOutput(v **GetKxDatabaseOutp } sv.NumFiles = int32(i64) } + default: _, _ = key, value @@ -4447,6 +4574,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } + case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -4455,6 +4583,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AutoUpdate = jtv } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -4463,6 +4592,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -4471,6 +4601,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.AzMode = types.KxAzMode(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -4479,6 +4610,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -4494,6 +4626,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -4502,6 +4635,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.DatabaseName = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -4510,6 +4644,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.DataviewName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4518,6 +4653,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4526,6 +4662,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4541,6 +4678,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } } + case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -4549,10 +4687,12 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.ReadWrite = jtv } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4561,6 +4701,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.Status = types.KxDataviewStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4569,6 +4710,7 @@ func awsRestjson1_deserializeOpDocumentGetKxDataviewOutput(v **GetKxDataviewOutp } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -4732,6 +4874,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -4740,6 +4883,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.AwsAccountId = ptr.String(jtv) } + case "certificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4748,6 +4892,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -4763,10 +4908,12 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } } + case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } + case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -4775,6 +4922,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.DedicatedServiceAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4783,6 +4931,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Description = ptr.String(jtv) } + case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -4791,6 +4940,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.DnsStatus = types.DnsStatus(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -4799,6 +4949,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -4807,6 +4958,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4815,6 +4967,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.ErrorMessage = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4823,6 +4976,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4831,6 +4985,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4839,6 +4994,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.Status = types.EnvironmentStatus(jtv) } + case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -4847,10 +5003,12 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } sv.TgwStatus = types.TgwStatus(jtv) } + case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } + case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4866,6 +5024,7 @@ func awsRestjson1_deserializeOpDocumentGetKxEnvironmentOutput(v **GetKxEnvironme } } + default: _, _ = key, value @@ -5039,10 +5198,12 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.AvailabilityZoneId = ptr.String(jtv) } + case "clusters": if err := awsRestjson1_deserializeDocumentKxClusterNameList(&sv.Clusters, value); err != nil { return err } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -5058,6 +5219,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } } + case "hostType": if value != nil { jtv, ok := value.(string) @@ -5066,6 +5228,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.HostType = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5081,6 +5244,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } } + case "scalingGroupArn": if value != nil { jtv, ok := value.(string) @@ -5089,6 +5253,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.ScalingGroupArn = ptr.String(jtv) } + case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -5097,6 +5262,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.ScalingGroupName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5105,6 +5271,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.Status = types.KxScalingGroupStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5113,6 +5280,7 @@ func awsRestjson1_deserializeOpDocumentGetKxScalingGroupOutput(v **GetKxScalingG } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5280,6 +5448,7 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.EnvironmentId = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -5288,6 +5457,7 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.IamRole = ptr.String(jtv) } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -5296,6 +5466,7 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.UserArn = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -5304,6 +5475,7 @@ func awsRestjson1_deserializeOpDocumentGetKxUserOutput(v **GetKxUserOutput, valu } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -5473,10 +5645,12 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, if err := awsRestjson1_deserializeDocumentKxAttachedClusters(&sv.AttachedClusters, value); err != nil { return err } + case "availabilityZoneIds": if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -5485,6 +5659,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.AzMode = types.KxAzMode(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -5500,6 +5675,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5508,6 +5684,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -5516,6 +5693,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5531,10 +5709,12 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } } + case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5543,6 +5723,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.Status = types.KxVolumeStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5551,6 +5732,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.StatusReason = ptr.String(jtv) } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -5559,6 +5741,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeArn = ptr.String(jtv) } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -5567,6 +5750,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeName = ptr.String(jtv) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -5575,6 +5759,7 @@ func awsRestjson1_deserializeOpDocumentGetKxVolumeOutput(v **GetKxVolumeOutput, } sv.VolumeType = types.KxVolumeType(jtv) } + default: _, _ = key, value @@ -5732,6 +5917,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5740,6 +5926,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5903,6 +6090,7 @@ func awsRestjson1_deserializeOpDocumentListKxChangesetsOutput(v **ListKxChangese if err := awsRestjson1_deserializeDocumentKxChangesets(&sv.KxChangesets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5911,6 +6099,7 @@ func awsRestjson1_deserializeOpDocumentListKxChangesetsOutput(v **ListKxChangese } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6081,10 +6270,12 @@ func awsRestjson1_deserializeOpDocumentListKxClusterNodesOutput(v **ListKxCluste } sv.NextToken = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocumentKxNodeSummaries(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -6254,6 +6445,7 @@ func awsRestjson1_deserializeOpDocumentListKxClustersOutput(v **ListKxClustersOu if err := awsRestjson1_deserializeDocumentKxClusters(&sv.KxClusterSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6262,6 +6454,7 @@ func awsRestjson1_deserializeOpDocumentListKxClustersOutput(v **ListKxClustersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6425,6 +6618,7 @@ func awsRestjson1_deserializeOpDocumentListKxDatabasesOutput(v **ListKxDatabases if err := awsRestjson1_deserializeDocumentKxDatabases(&sv.KxDatabases, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6433,6 +6627,7 @@ func awsRestjson1_deserializeOpDocumentListKxDatabasesOutput(v **ListKxDatabases } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6596,6 +6791,7 @@ func awsRestjson1_deserializeOpDocumentListKxDataviewsOutput(v **ListKxDataviews if err := awsRestjson1_deserializeDocumentKxDataviews(&sv.KxDataviews, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6604,6 +6800,7 @@ func awsRestjson1_deserializeOpDocumentListKxDataviewsOutput(v **ListKxDataviews } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6761,6 +6958,7 @@ func awsRestjson1_deserializeOpDocumentListKxEnvironmentsOutput(v **ListKxEnviro if err := awsRestjson1_deserializeDocumentKxEnvironmentList(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6769,6 +6967,7 @@ func awsRestjson1_deserializeOpDocumentListKxEnvironmentsOutput(v **ListKxEnviro } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6942,10 +7141,12 @@ func awsRestjson1_deserializeOpDocumentListKxScalingGroupsOutput(v **ListKxScali } sv.NextToken = ptr.String(jtv) } + case "scalingGroups": if err := awsRestjson1_deserializeDocumentKxScalingGroupList(&sv.ScalingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -7113,10 +7314,12 @@ func awsRestjson1_deserializeOpDocumentListKxUsersOutput(v **ListKxUsersOutput, } sv.NextToken = ptr.String(jtv) } + case "users": if err := awsRestjson1_deserializeDocumentKxUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -7286,6 +7489,7 @@ func awsRestjson1_deserializeOpDocumentListKxVolumesOutput(v **ListKxVolumesOutp if err := awsRestjson1_deserializeDocumentKxVolumes(&sv.KxVolumeSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7294,6 +7498,7 @@ func awsRestjson1_deserializeOpDocumentListKxVolumesOutput(v **ListKxVolumesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7451,6 +7656,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7802,6 +8008,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -8184,6 +8391,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.DatabaseName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8192,6 +8400,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8200,6 +8409,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8215,6 +8425,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDatabaseOutput(v **UpdateKxDataba } } + default: _, _ = key, value @@ -8384,6 +8595,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } + case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -8392,6 +8604,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AutoUpdate = jtv } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -8400,6 +8613,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -8408,6 +8622,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.AzMode = types.KxAzMode(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -8416,6 +8631,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -8431,6 +8647,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -8439,6 +8656,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.DatabaseName = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -8447,6 +8665,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.DataviewName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8455,6 +8674,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8463,6 +8683,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8478,6 +8699,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } } + case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -8486,10 +8708,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.ReadWrite = jtv } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8498,6 +8722,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxDataviewOutput(v **UpdateKxDatavi } sv.Status = types.KxDataviewStatus(jtv) } + default: _, _ = key, value @@ -8664,6 +8889,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -8672,6 +8898,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.AwsAccountId = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -8687,10 +8914,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } } + case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } + case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -8699,6 +8928,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.DedicatedServiceAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8707,6 +8937,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Description = ptr.String(jtv) } + case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -8715,6 +8946,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.DnsStatus = types.DnsStatus(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -8723,6 +8955,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -8731,6 +8964,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -8739,6 +8973,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.ErrorMessage = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -8747,6 +8982,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8755,6 +8991,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8763,6 +9000,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.Status = types.EnvironmentStatus(jtv) } + case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -8771,10 +9009,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } sv.TgwStatus = types.TgwStatus(jtv) } + case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } + case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -8790,6 +9030,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentOutput(v **UpdateKxEnv } } + default: _, _ = key, value @@ -8956,6 +9197,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -8964,6 +9206,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.AwsAccountId = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -8979,10 +9222,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } } + case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } + case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -8991,6 +9236,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.DedicatedServiceAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8999,6 +9245,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Description = ptr.String(jtv) } + case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -9007,6 +9254,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.DnsStatus = types.DnsStatus(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -9015,6 +9263,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -9023,6 +9272,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9031,6 +9281,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.ErrorMessage = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9039,6 +9290,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9047,6 +9299,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9055,6 +9308,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.Status = types.EnvironmentStatus(jtv) } + case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -9063,10 +9317,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } sv.TgwStatus = types.TgwStatus(jtv) } + case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } + case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -9082,6 +9338,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxEnvironmentNetworkOutput(v **Upda } } + default: _, _ = key, value @@ -9255,6 +9512,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.EnvironmentId = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -9263,6 +9521,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.IamRole = ptr.String(jtv) } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -9271,6 +9530,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.UserArn = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -9279,6 +9539,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxUserOutput(v **UpdateKxUserOutput } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -9448,10 +9709,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu if err := awsRestjson1_deserializeDocumentKxAttachedClusters(&sv.AttachedClusters, value); err != nil { return err } + case "availabilityZoneIds": if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -9460,6 +9723,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.AzMode = types.KxAzMode(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -9475,6 +9739,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9483,6 +9748,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -9491,6 +9757,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9506,10 +9773,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } } + case "nas1Configuration": if err := awsRestjson1_deserializeDocumentKxNAS1Configuration(&sv.Nas1Configuration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9518,6 +9787,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.Status = types.KxVolumeStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -9526,6 +9796,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.StatusReason = ptr.String(jtv) } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -9534,6 +9805,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeArn = ptr.String(jtv) } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -9542,6 +9814,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeName = ptr.String(jtv) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -9550,6 +9823,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKxVolumeOutput(v **UpdateKxVolumeOu } sv.VolumeType = types.KxVolumeType(jtv) } + default: _, _ = key, value @@ -9949,6 +10223,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10060,6 +10335,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.AutoScalingMetric = types.AutoScalingMetric(jtv) } + case "maxNodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -10072,6 +10348,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MaxNodeCount = ptr.Int32(int32(i64)) } + case "metricTarget": if value != nil { switch jtv := value.(type) { @@ -10105,6 +10382,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } + case "minNodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -10117,6 +10395,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } sv.MinNodeCount = ptr.Int32(int32(i64)) } + case "scaleInCooldownSeconds": if value != nil { switch jtv := value.(type) { @@ -10150,6 +10429,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } + case "scaleOutCooldownSeconds": if value != nil { switch jtv := value.(type) { @@ -10183,6 +10463,7 @@ func awsRestjson1_deserializeDocumentAutoScalingConfiguration(v **types.AutoScal } } + default: _, _ = key, value @@ -10262,6 +10543,7 @@ func awsRestjson1_deserializeDocumentCapacityConfiguration(v **types.CapacityCon } sv.NodeCount = ptr.Int32(int32(i64)) } + case "nodeType": if value != nil { jtv, ok := value.(string) @@ -10270,6 +10552,7 @@ func awsRestjson1_deserializeDocumentCapacityConfiguration(v **types.CapacityCon } sv.NodeType = ptr.String(jtv) } + default: _, _ = key, value @@ -10309,6 +10592,7 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.ChangeType = types.ChangeType(jtv) } + case "dbPath": if value != nil { jtv, ok := value.(string) @@ -10317,6 +10601,7 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.DbPath = ptr.String(jtv) } + case "s3Path": if value != nil { jtv, ok := value.(string) @@ -10325,6 +10610,7 @@ func awsRestjson1_deserializeDocumentChangeRequest(v **types.ChangeRequest, valu } sv.S3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -10398,6 +10684,7 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3Bucket = ptr.String(jtv) } + case "s3Key": if value != nil { jtv, ok := value.(string) @@ -10406,6 +10693,7 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3Key = ptr.String(jtv) } + case "s3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -10414,6 +10702,7 @@ func awsRestjson1_deserializeDocumentCodeConfiguration(v **types.CodeConfigurati } sv.S3ObjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10453,6 +10742,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -10461,6 +10751,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -10534,6 +10825,7 @@ func awsRestjson1_deserializeDocumentCustomDNSServer(v **types.CustomDNSServer, } sv.CustomDNSServerIP = ptr.String(jtv) } + case "customDNSServerName": if value != nil { jtv, ok := value.(string) @@ -10542,6 +10834,7 @@ func awsRestjson1_deserializeDocumentCustomDNSServer(v **types.CustomDNSServer, } sv.CustomDNSServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -10617,6 +10910,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.AwsAccountId = ptr.String(jtv) } + case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -10625,6 +10919,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DedicatedServiceAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10633,6 +10928,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -10641,6 +10937,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -10649,6 +10946,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentId = ptr.String(jtv) } + case "environmentUrl": if value != nil { jtv, ok := value.(string) @@ -10657,6 +10955,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentUrl = ptr.String(jtv) } + case "federationMode": if value != nil { jtv, ok := value.(string) @@ -10665,10 +10964,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.FederationMode = types.FederationMode(jtv) } + case "federationParameters": if err := awsRestjson1_deserializeDocumentFederationParameters(&sv.FederationParameters, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10677,6 +10978,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10685,6 +10987,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "sageMakerStudioDomainUrl": if value != nil { jtv, ok := value.(string) @@ -10693,6 +10996,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SageMakerStudioDomainUrl = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10701,6 +11005,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Status = types.EnvironmentStatus(jtv) } + default: _, _ = key, value @@ -10774,6 +11079,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorMessage = ptr.String(jtv) } + case "errorType": if value != nil { jtv, ok := value.(string) @@ -10782,6 +11088,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorType = types.ErrorDetails(jtv) } + default: _, _ = key, value @@ -10821,10 +11128,12 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.ApplicationCallBackURL = ptr.String(jtv) } + case "attributeMap": if err := awsRestjson1_deserializeDocumentAttributeMap(&sv.AttributeMap, value); err != nil { return err } + case "federationProviderName": if value != nil { jtv, ok := value.(string) @@ -10833,6 +11142,7 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.FederationProviderName = ptr.String(jtv) } + case "federationURN": if value != nil { jtv, ok := value.(string) @@ -10841,6 +11151,7 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.FederationURN = ptr.String(jtv) } + case "samlMetadataDocument": if value != nil { jtv, ok := value.(string) @@ -10849,6 +11160,7 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.SamlMetadataDocument = ptr.String(jtv) } + case "samlMetadataURL": if value != nil { jtv, ok := value.(string) @@ -10857,6 +11169,7 @@ func awsRestjson1_deserializeDocumentFederationParameters(v **types.FederationPa } sv.SamlMetadataURL = ptr.String(jtv) } + default: _, _ = key, value @@ -10900,6 +11213,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Code = int32(i64) } + case "type": if value != nil { jtv, ok := value.(json.Number) @@ -10912,6 +11226,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Type = int32(i64) } + default: _, _ = key, value @@ -10951,6 +11266,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10990,6 +11306,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11029,6 +11346,7 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterName = ptr.String(jtv) } + case "clusterStatus": if value != nil { jtv, ok := value.(string) @@ -11037,6 +11355,7 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterStatus = types.KxClusterStatus(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11045,6 +11364,7 @@ func awsRestjson1_deserializeDocumentKxAttachedCluster(v **types.KxAttachedClust } sv.ClusterType = types.KxClusterType(jtv) } + default: _, _ = key, value @@ -11122,6 +11442,7 @@ func awsRestjson1_deserializeDocumentKxCacheStorageConfiguration(v **types.KxCac } sv.Size = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11130,6 +11451,7 @@ func awsRestjson1_deserializeDocumentKxCacheStorageConfiguration(v **types.KxCac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11210,6 +11532,7 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -11218,6 +11541,7 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -11233,6 +11557,7 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11248,6 +11573,7 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11256,6 +11582,7 @@ func awsRestjson1_deserializeDocumentKxChangesetListEntry(v **types.KxChangesetL } sv.Status = types.ChangesetStatus(jtv) } + default: _, _ = key, value @@ -11329,6 +11656,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -11337,6 +11665,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.AzMode = types.KxAzMode(jtv) } + case "clusterDescription": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11674,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterDescription = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11683,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterName = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11361,6 +11692,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ClusterType = types.KxClusterType(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -11376,6 +11708,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -11384,6 +11717,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ExecutionRole = ptr.String(jtv) } + case "initializationScript": if value != nil { jtv, ok := value.(string) @@ -11392,6 +11726,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.InitializationScript = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11407,6 +11742,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } } + case "releaseLabel": if value != nil { jtv, ok := value.(string) @@ -11415,6 +11751,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.ReleaseLabel = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11423,6 +11760,7 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.Status = types.KxClusterStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11431,10 +11769,12 @@ func awsRestjson1_deserializeDocumentKxCluster(v **types.KxCluster, value interf } sv.StatusReason = ptr.String(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -11544,6 +11884,7 @@ func awsRestjson1_deserializeDocumentKxCommandLineArgument(v **types.KxCommandLi } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11552,6 +11893,7 @@ func awsRestjson1_deserializeDocumentKxCommandLineArgument(v **types.KxCommandLi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11625,6 +11967,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseCacheConfiguration(v **types.KxDa } sv.CacheType = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -11633,10 +11976,12 @@ func awsRestjson1_deserializeDocumentKxDatabaseCacheConfiguration(v **types.KxDa } sv.DataviewName = ptr.String(jtv) } + case "dbPaths": if err := awsRestjson1_deserializeDocumentDbPaths(&sv.DbPaths, value); err != nil { return err } + default: _, _ = key, value @@ -11706,6 +12051,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas if err := awsRestjson1_deserializeDocumentKxDatabaseCacheConfigurations(&sv.CacheConfigurations, value); err != nil { return err } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -11714,6 +12060,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.ChangesetId = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -11722,10 +12069,12 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.DatabaseName = ptr.String(jtv) } + case "dataviewConfiguration": if err := awsRestjson1_deserializeDocumentKxDataviewConfiguration(&sv.DataviewConfiguration, value); err != nil { return err } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -11734,6 +12083,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseConfiguration(v **types.KxDatabas } sv.DataviewName = ptr.String(jtv) } + default: _, _ = key, value @@ -11814,6 +12164,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -11822,6 +12173,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } sv.DatabaseName = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11837,6 +12189,7 @@ func awsRestjson1_deserializeDocumentKxDatabaseListEntry(v **types.KxDatabaseLis } } + default: _, _ = key, value @@ -11906,6 +12259,7 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie if err := awsRestjson1_deserializeDocumentAttachedClusterList(&sv.AttachedClusters, value); err != nil { return err } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -11914,6 +12268,7 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -11929,10 +12284,12 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -11941,6 +12298,7 @@ func awsRestjson1_deserializeDocumentKxDataviewActiveVersion(v **types.KxDatavie } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12014,6 +12372,7 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.ChangesetId = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12022,6 +12381,7 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.DataviewName = ptr.String(jtv) } + case "dataviewVersionId": if value != nil { jtv, ok := value.(string) @@ -12030,10 +12390,12 @@ func awsRestjson1_deserializeDocumentKxDataviewConfiguration(v **types.KxDatavie } sv.DataviewVersionId = ptr.String(jtv) } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -12069,6 +12431,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis if err := awsRestjson1_deserializeDocumentKxDataviewActiveVersionList(&sv.ActiveVersions, value); err != nil { return err } + case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -12077,6 +12440,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AutoUpdate = jtv } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -12085,6 +12449,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AvailabilityZoneId = ptr.String(jtv) } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -12093,6 +12458,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.AzMode = types.KxAzMode(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -12101,6 +12467,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.ChangesetId = ptr.String(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -12116,6 +12483,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -12124,6 +12492,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.DatabaseName = ptr.String(jtv) } + case "dataviewName": if value != nil { jtv, ok := value.(string) @@ -12132,6 +12501,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.DataviewName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12140,6 +12510,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.Description = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12148,6 +12519,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.EnvironmentId = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12163,6 +12535,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } } + case "readWrite": if value != nil { jtv, ok := value.(bool) @@ -12171,10 +12544,12 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.ReadWrite = jtv } + case "segmentConfigurations": if err := awsRestjson1_deserializeDocumentKxDataviewSegmentConfigurationList(&sv.SegmentConfigurations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -12183,6 +12558,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.Status = types.KxDataviewStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -12191,6 +12567,7 @@ func awsRestjson1_deserializeDocumentKxDataviewListEntry(v **types.KxDataviewLis } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12260,6 +12637,7 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx if err := awsRestjson1_deserializeDocumentSegmentConfigurationDbPathList(&sv.DbPaths, value); err != nil { return err } + case "onDemand": if value != nil { jtv, ok := value.(bool) @@ -12268,6 +12646,7 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx } sv.OnDemand = jtv } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -12276,6 +12655,7 @@ func awsRestjson1_deserializeDocumentKxDataviewSegmentConfiguration(v **types.Kx } sv.VolumeName = ptr.String(jtv) } + default: _, _ = key, value @@ -12345,6 +12725,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "awsAccountId": if value != nil { jtv, ok := value.(string) @@ -12353,6 +12734,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.AwsAccountId = ptr.String(jtv) } + case "certificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -12361,6 +12743,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -12376,10 +12759,12 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } } + case "customDNSConfiguration": if err := awsRestjson1_deserializeDocumentCustomDNSConfiguration(&sv.CustomDNSConfiguration, value); err != nil { return err } + case "dedicatedServiceAccountId": if value != nil { jtv, ok := value.(string) @@ -12388,6 +12773,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.DedicatedServiceAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12396,6 +12782,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Description = ptr.String(jtv) } + case "dnsStatus": if value != nil { jtv, ok := value.(string) @@ -12404,6 +12791,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.DnsStatus = types.DnsStatus(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -12412,6 +12800,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -12420,6 +12809,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.EnvironmentId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12428,6 +12818,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.ErrorMessage = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -12436,6 +12827,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12444,6 +12836,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12452,6 +12845,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.Status = types.EnvironmentStatus(jtv) } + case "tgwStatus": if value != nil { jtv, ok := value.(string) @@ -12460,10 +12854,12 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } sv.TgwStatus = types.TgwStatus(jtv) } + case "transitGatewayConfiguration": if err := awsRestjson1_deserializeDocumentTransitGatewayConfiguration(&sv.TransitGatewayConfiguration, value); err != nil { return err } + case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -12479,6 +12875,7 @@ func awsRestjson1_deserializeDocumentKxEnvironment(v **types.KxEnvironment, valu } } + default: _, _ = key, value @@ -12556,6 +12953,7 @@ func awsRestjson1_deserializeDocumentKxNAS1Configuration(v **types.KxNAS1Configu } sv.Size = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12564,6 +12962,7 @@ func awsRestjson1_deserializeDocumentKxNAS1Configuration(v **types.KxNAS1Configu } sv.Type = types.KxNAS1Type(jtv) } + default: _, _ = key, value @@ -12603,6 +13002,7 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.AvailabilityZoneId = ptr.String(jtv) } + case "launchTime": if value != nil { switch jtv := value.(type) { @@ -12618,6 +13018,7 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } } + case "nodeId": if value != nil { jtv, ok := value.(string) @@ -12626,6 +13027,7 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.NodeId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12634,6 +13036,7 @@ func awsRestjson1_deserializeDocumentKxNode(v **types.KxNode, value interface{}) } sv.Status = types.KxNodeStatus(jtv) } + default: _, _ = key, value @@ -12711,6 +13114,7 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.Size = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12719,6 +13123,7 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.Type = types.KxSavedownStorageType(jtv) } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -12727,6 +13132,7 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx } sv.VolumeName = ptr.String(jtv) } + default: _, _ = key, value @@ -12766,10 +13172,12 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.AvailabilityZoneId = ptr.String(jtv) } + case "clusters": if err := awsRestjson1_deserializeDocumentKxClusterNameList(&sv.Clusters, value); err != nil { return err } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -12785,6 +13193,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } } + case "hostType": if value != nil { jtv, ok := value.(string) @@ -12793,6 +13202,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.HostType = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12808,6 +13218,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } } + case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -12816,6 +13227,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.ScalingGroupName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12824,6 +13236,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.Status = types.KxScalingGroupStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -12832,6 +13245,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroup(v **types.KxScalingGroup, va } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -12896,6 +13310,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } } + case "memoryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -12908,6 +13323,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.MemoryLimit = ptr.Int32(int32(i64)) } + case "memoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -12920,6 +13336,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.MemoryReservation = ptr.Int32(int32(i64)) } + case "nodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -12932,6 +13349,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.NodeCount = ptr.Int32(int32(i64)) } + case "scalingGroupName": if value != nil { jtv, ok := value.(string) @@ -12940,6 +13358,7 @@ func awsRestjson1_deserializeDocumentKxScalingGroupConfiguration(v **types.KxSca } sv.ScalingGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -13020,6 +13439,7 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -13028,6 +13448,7 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.IamRole = ptr.String(jtv) } + case "updateTimestamp": if value != nil { switch jtv := value.(type) { @@ -13043,6 +13464,7 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } } + case "userArn": if value != nil { jtv, ok := value.(string) @@ -13051,6 +13473,7 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.UserArn = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -13059,6 +13482,7 @@ func awsRestjson1_deserializeDocumentKxUser(v **types.KxUser, value interface{}) } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -13128,6 +13552,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac if err := awsRestjson1_deserializeDocumentAvailabilityZoneIds(&sv.AvailabilityZoneIds, value); err != nil { return err } + case "azMode": if value != nil { jtv, ok := value.(string) @@ -13136,6 +13561,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.AzMode = types.KxAzMode(jtv) } + case "createdTimestamp": if value != nil { switch jtv := value.(type) { @@ -13151,6 +13577,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13159,6 +13586,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.Description = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13174,6 +13602,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } } + case "status": if value != nil { jtv, ok := value.(string) @@ -13182,6 +13611,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.Status = types.KxVolumeStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -13190,6 +13620,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.StatusReason = ptr.String(jtv) } + case "volumeName": if value != nil { jtv, ok := value.(string) @@ -13198,6 +13629,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.VolumeName = ptr.String(jtv) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -13206,6 +13638,7 @@ func awsRestjson1_deserializeDocumentKxVolume(v **types.KxVolume, value interfac } sv.VolumeType = types.KxVolumeType(jtv) } + default: _, _ = key, value @@ -13279,6 +13712,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13352,14 +13786,17 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.CidrBlock = ptr.String(jtv) } + case "icmpTypeCode": if err := awsRestjson1_deserializeDocumentIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } + case "portRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.PortRange, value); err != nil { return err } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13368,6 +13805,7 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.Protocol = ptr.String(jtv) } + case "ruleAction": if value != nil { jtv, ok := value.(string) @@ -13376,6 +13814,7 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.RuleAction = types.RuleAction(jtv) } + case "ruleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13388,6 +13827,7 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, } sv.RuleNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13431,6 +13871,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.From = int32(i64) } + case "to": if value != nil { jtv, ok := value.(json.Number) @@ -13443,6 +13884,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.To = int32(i64) } + default: _, _ = key, value @@ -13482,6 +13924,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13521,6 +13964,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13632,6 +14076,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13743,6 +14188,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13778,6 +14224,7 @@ func awsRestjson1_deserializeDocumentTickerplantLogConfiguration(v **types.Ticke if err := awsRestjson1_deserializeDocumentTickerplantLogVolumes(&sv.TickerplantLogVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -13849,6 +14296,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans if err := awsRestjson1_deserializeDocumentNetworkACLConfiguration(&sv.AttachmentNetworkAclConfiguration, value); err != nil { return err } + case "routableCIDRSpace": if value != nil { jtv, ok := value.(string) @@ -13857,6 +14305,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans } sv.RoutableCIDRSpace = ptr.String(jtv) } + case "transitGatewayID": if value != nil { jtv, ok := value.(string) @@ -13865,6 +14314,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConfiguration(v **types.Trans } sv.TransitGatewayID = ptr.String(jtv) } + default: _, _ = key, value @@ -13904,6 +14354,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13943,6 +14394,7 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeName = ptr.String(jtv) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -13951,6 +14403,7 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -14024,14 +14477,17 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.IpAddressType = types.IPAddressType(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14040,6 +14496,7 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/finspacedata/deserializers.go b/service/finspacedata/deserializers.go index 6db71e9e8e6..b2d5661c3c7 100644 --- a/service/finspacedata/deserializers.go +++ b/service/finspacedata/deserializers.go @@ -311,6 +311,7 @@ func awsRestjson1_deserializeOpDocumentCreateChangesetOutput(v **CreateChangeset } sv.ChangesetId = ptr.String(jtv) } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -319,6 +320,7 @@ func awsRestjson1_deserializeOpDocumentCreateChangesetOutput(v **CreateChangeset } sv.DatasetId = ptr.String(jtv) } + default: _, _ = key, value @@ -492,6 +494,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetId = ptr.String(jtv) } + default: _, _ = key, value @@ -662,6 +665,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataViewOutput(v **CreateDataViewOu } sv.DatasetId = ptr.String(jtv) } + case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -670,6 +674,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataViewOutput(v **CreateDataViewOu } sv.DataViewId = ptr.String(jtv) } + default: _, _ = key, value @@ -840,6 +845,7 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionGroupOutput(v **CreatePer } sv.PermissionGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -1010,6 +1016,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -1183,6 +1190,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDatasetOutput(v **DeleteDatasetOutp } sv.DatasetId = ptr.String(jtv) } + default: _, _ = key, value @@ -1356,6 +1364,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionGroupOutput(v **DeletePer } sv.PermissionGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -1526,6 +1535,7 @@ func awsRestjson1_deserializeOpDocumentDisableUserOutput(v **DisableUserOutput, } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -1817,6 +1827,7 @@ func awsRestjson1_deserializeOpDocumentEnableUserOutput(v **EnableUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -1991,6 +2002,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ActiveFromTimestamp = ptr.Int64(i64) } + case "activeUntilTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -2003,6 +2015,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ActiveUntilTimestamp = ptr.Int64(i64) } + case "changesetArn": if value != nil { jtv, ok := value.(string) @@ -2011,6 +2024,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangesetArn = ptr.String(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -2019,6 +2033,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangesetId = ptr.String(jtv) } + case "changeType": if value != nil { jtv, ok := value.(string) @@ -2027,6 +2042,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.ChangeType = types.ChangeType(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2039,6 +2055,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.CreateTime = i64 } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2047,18 +2064,22 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.DatasetId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentChangesetErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "formatParams": if err := awsRestjson1_deserializeDocumentFormatParams(&sv.FormatParams, value); err != nil { return err } + case "sourceParams": if err := awsRestjson1_deserializeDocumentSourceParams(&sv.SourceParams, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2067,6 +2088,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.Status = types.IngestionStatus(jtv) } + case "updatedByChangesetId": if value != nil { jtv, ok := value.(string) @@ -2075,6 +2097,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.UpdatedByChangesetId = ptr.String(jtv) } + case "updatesChangesetId": if value != nil { jtv, ok := value.(string) @@ -2083,6 +2106,7 @@ func awsRestjson1_deserializeOpDocumentGetChangesetOutput(v **GetChangesetOutput } sv.UpdatesChangesetId = ptr.String(jtv) } + default: _, _ = key, value @@ -2253,6 +2277,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Alias = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2265,6 +2290,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.CreateTime = i64 } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -2273,6 +2299,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetArn = ptr.String(jtv) } + case "datasetDescription": if value != nil { jtv, ok := value.(string) @@ -2281,6 +2308,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetDescription = ptr.String(jtv) } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2289,6 +2317,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetId = ptr.String(jtv) } + case "datasetTitle": if value != nil { jtv, ok := value.(string) @@ -2297,6 +2326,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.DatasetTitle = ptr.String(jtv) } + case "kind": if value != nil { jtv, ok := value.(string) @@ -2305,6 +2335,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Kind = types.DatasetKind(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -2317,10 +2348,12 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.LastModifiedTime = i64 } + case "schemaDefinition": if err := awsRestjson1_deserializeDocumentSchemaUnion(&sv.SchemaDefinition, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2329,6 +2362,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetOutput(v **GetDatasetOutput, va } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -2500,6 +2534,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.AsOfTimestamp = ptr.Int64(i64) } + case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -2508,6 +2543,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.AutoUpdate = jtv } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -2520,6 +2556,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.CreateTime = i64 } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2565,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DatasetId = ptr.String(jtv) } + case "dataViewArn": if value != nil { jtv, ok := value.(string) @@ -2536,6 +2574,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DataViewArn = ptr.String(jtv) } + case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -2544,14 +2583,17 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.DataViewId = ptr.String(jtv) } + case "destinationTypeParams": if err := awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(&sv.DestinationTypeParams, value); err != nil { return err } + case "errorInfo": if err := awsRestjson1_deserializeDocumentDataViewErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -2564,14 +2606,17 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.LastModifiedTime = i64 } + case "partitionColumns": if err := awsRestjson1_deserializeDocumentPartitionColumnList(&sv.PartitionColumns, value); err != nil { return err } + case "sortColumns": if err := awsRestjson1_deserializeDocumentSortColumnList(&sv.SortColumns, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2580,6 +2625,7 @@ func awsRestjson1_deserializeOpDocumentGetDataViewOutput(v **GetDataViewOutput, } sv.Status = types.DataViewStatus(jtv) } + default: _, _ = key, value @@ -2743,10 +2789,12 @@ func awsRestjson1_deserializeOpDocumentGetExternalDataViewAccessDetailsOutput(v if err := awsRestjson1_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + case "s3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -2910,6 +2958,7 @@ func awsRestjson1_deserializeOpDocumentGetPermissionGroupOutput(v **GetPermissio if err := awsRestjson1_deserializeDocumentPermissionGroup(&sv.PermissionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -3070,6 +3119,7 @@ func awsRestjson1_deserializeOpDocumentGetProgrammaticAccessCredentialsOutput(v if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } + case "durationInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3082,6 +3132,7 @@ func awsRestjson1_deserializeOpDocumentGetProgrammaticAccessCredentialsOutput(v } sv.DurationInMinutes = ptr.Int64(i64) } + default: _, _ = key, value @@ -3249,6 +3300,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.ApiAccess = types.ApiAccess(jtv) } + case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -3257,6 +3309,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.ApiAccessPrincipalArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -3269,6 +3322,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.CreateTime = i64 } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -3277,6 +3331,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.EmailAddress = ptr.String(jtv) } + case "firstName": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3340,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.FirstName = ptr.String(jtv) } + case "lastDisabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -3297,6 +3353,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastDisabledTime = i64 } + case "lastEnabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -3309,6 +3366,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastEnabledTime = i64 } + case "lastLoginTime": if value != nil { jtv, ok := value.(json.Number) @@ -3321,6 +3379,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastLoginTime = i64 } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -3333,6 +3392,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastModifiedTime = i64 } + case "lastName": if value != nil { jtv, ok := value.(string) @@ -3341,6 +3401,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.LastName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3349,6 +3410,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Status = types.UserStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3357,6 +3419,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.Type = types.UserType(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -3365,6 +3428,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -3529,6 +3593,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Bucket = ptr.String(jtv) } + case "s3Path": if value != nil { jtv, ok := value.(string) @@ -3537,6 +3602,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Path = ptr.String(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -3545,6 +3611,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkingLocationOutput(v **GetWorkingLo } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3711,6 +3778,7 @@ func awsRestjson1_deserializeOpDocumentListChangesetsOutput(v **ListChangesetsOu if err := awsRestjson1_deserializeDocumentChangesetList(&sv.Changesets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3719,6 +3787,7 @@ func awsRestjson1_deserializeOpDocumentListChangesetsOutput(v **ListChangesetsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3882,6 +3951,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetList(&sv.Datasets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3890,6 +3960,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4053,6 +4124,7 @@ func awsRestjson1_deserializeOpDocumentListDataViewsOutput(v **ListDataViewsOutp if err := awsRestjson1_deserializeDocumentDataViewList(&sv.DataViews, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4061,6 +4133,7 @@ func awsRestjson1_deserializeOpDocumentListDataViewsOutput(v **ListDataViewsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4225,10 +4298,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionGroupsOutput(v **ListPermis } sv.NextToken = ptr.String(jtv) } + case "permissionGroups": if err := awsRestjson1_deserializeDocumentPermissionGroupList(&sv.PermissionGroups, value); err != nil { return err } + default: _, _ = key, value @@ -4396,10 +4471,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionGroupsByUserOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "permissionGroups": if err := awsRestjson1_deserializeDocumentPermissionGroupByUserList(&sv.PermissionGroups, value); err != nil { return err } + default: _, _ = key, value @@ -4564,10 +4641,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -4735,10 +4814,12 @@ func awsRestjson1_deserializeOpDocumentListUsersByPermissionGroupOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "users": if err := awsRestjson1_deserializeDocumentUserByPermissionGroupList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -4909,6 +4990,7 @@ func awsRestjson1_deserializeOpDocumentResetUserPasswordOutput(v **ResetUserPass } sv.TemporaryPassword = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -4917,6 +4999,7 @@ func awsRestjson1_deserializeOpDocumentResetUserPasswordOutput(v **ResetUserPass } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -5087,6 +5170,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChangesetOutput(v **UpdateChangeset } sv.ChangesetId = ptr.String(jtv) } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -5095,6 +5179,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChangesetOutput(v **UpdateChangeset } sv.DatasetId = ptr.String(jtv) } + default: _, _ = key, value @@ -5265,6 +5350,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.DatasetId = ptr.String(jtv) } + default: _, _ = key, value @@ -5435,6 +5521,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePermissionGroupOutput(v **UpdatePer } sv.PermissionGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -5605,6 +5692,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -5865,6 +5953,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5940,6 +6029,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } + case "expiration": if value != nil { jtv, ok := value.(json.Number) @@ -5952,6 +6042,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.Expiration = i64 } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -5960,6 +6051,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -5968,6 +6060,7 @@ func awsRestjson1_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6007,6 +6100,7 @@ func awsRestjson1_deserializeDocumentChangesetErrorInfo(v **types.ChangesetError } sv.ErrorCategory = types.ErrorCategory(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6015,6 +6109,7 @@ func awsRestjson1_deserializeDocumentChangesetErrorInfo(v **types.ChangesetError } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6092,6 +6187,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ActiveFromTimestamp = ptr.Int64(i64) } + case "activeUntilTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -6104,6 +6200,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ActiveUntilTimestamp = ptr.Int64(i64) } + case "changesetArn": if value != nil { jtv, ok := value.(string) @@ -6112,6 +6209,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangesetArn = ptr.String(jtv) } + case "changesetId": if value != nil { jtv, ok := value.(string) @@ -6120,6 +6218,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangesetId = ptr.String(jtv) } + case "changeType": if value != nil { jtv, ok := value.(string) @@ -6128,6 +6227,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.ChangeType = types.ChangeType(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6140,6 +6240,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.CreateTime = i64 } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6148,18 +6249,22 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.DatasetId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentChangesetErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "formatParams": if err := awsRestjson1_deserializeDocumentFormatParams(&sv.FormatParams, value); err != nil { return err } + case "sourceParams": if err := awsRestjson1_deserializeDocumentSourceParams(&sv.SourceParams, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6168,6 +6273,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.Status = types.IngestionStatus(jtv) } + case "updatedByChangesetId": if value != nil { jtv, ok := value.(string) @@ -6176,6 +6282,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.UpdatedByChangesetId = ptr.String(jtv) } + case "updatesChangesetId": if value != nil { jtv, ok := value.(string) @@ -6184,6 +6291,7 @@ func awsRestjson1_deserializeDocumentChangesetSummary(v **types.ChangesetSummary } sv.UpdatesChangesetId = ptr.String(jtv) } + default: _, _ = key, value @@ -6223,6 +6331,7 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.ColumnDescription = ptr.String(jtv) } + case "columnName": if value != nil { jtv, ok := value.(string) @@ -6231,6 +6340,7 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.ColumnName = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -6239,6 +6349,7 @@ func awsRestjson1_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.DataType = types.ColumnDataType(jtv) } + default: _, _ = key, value @@ -6348,6 +6459,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6356,6 +6468,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -6395,6 +6508,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.AccessKeyId = ptr.String(jtv) } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -6403,6 +6517,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -6411,6 +6526,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6450,6 +6566,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Alias = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6462,6 +6579,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.CreateTime = i64 } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -6470,6 +6588,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetArn = ptr.String(jtv) } + case "datasetDescription": if value != nil { jtv, ok := value.(string) @@ -6478,6 +6597,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetDescription = ptr.String(jtv) } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6486,6 +6606,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetId = ptr.String(jtv) } + case "datasetTitle": if value != nil { jtv, ok := value.(string) @@ -6494,6 +6615,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetTitle = ptr.String(jtv) } + case "kind": if value != nil { jtv, ok := value.(string) @@ -6502,6 +6624,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Kind = types.DatasetKind(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6514,14 +6637,17 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.LastModifiedTime = i64 } + case "ownerInfo": if err := awsRestjson1_deserializeDocumentDatasetOwnerInfo(&sv.OwnerInfo, value); err != nil { return err } + case "schemaDefinition": if err := awsRestjson1_deserializeDocumentSchemaUnion(&sv.SchemaDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -6595,6 +6721,7 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.Email = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6603,6 +6730,7 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.Name = ptr.String(jtv) } + case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -6611,6 +6739,7 @@ func awsRestjson1_deserializeDocumentDatasetOwnerInfo(v **types.DatasetOwnerInfo } sv.PhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -6650,6 +6779,7 @@ func awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(v **types.Dat } sv.DestinationType = ptr.String(jtv) } + case "s3DestinationExportFileFormat": if value != nil { jtv, ok := value.(string) @@ -6658,10 +6788,12 @@ func awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(v **types.Dat } sv.S3DestinationExportFileFormat = types.ExportFileFormat(jtv) } + case "s3DestinationExportFileFormatOptions": if err := awsRestjson1_deserializeDocumentS3DestinationFormatOptions(&sv.S3DestinationExportFileFormatOptions, value); err != nil { return err } + default: _, _ = key, value @@ -6701,6 +6833,7 @@ func awsRestjson1_deserializeDocumentDataViewErrorInfo(v **types.DataViewErrorIn } sv.ErrorCategory = types.ErrorCategory(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6709,6 +6842,7 @@ func awsRestjson1_deserializeDocumentDataViewErrorInfo(v **types.DataViewErrorIn } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6786,6 +6920,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.AsOfTimestamp = ptr.Int64(i64) } + case "autoUpdate": if value != nil { jtv, ok := value.(bool) @@ -6794,6 +6929,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.AutoUpdate = jtv } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -6806,6 +6942,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.CreateTime = i64 } + case "datasetId": if value != nil { jtv, ok := value.(string) @@ -6814,6 +6951,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DatasetId = ptr.String(jtv) } + case "dataViewArn": if value != nil { jtv, ok := value.(string) @@ -6822,6 +6960,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DataViewArn = ptr.String(jtv) } + case "dataViewId": if value != nil { jtv, ok := value.(string) @@ -6830,14 +6969,17 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.DataViewId = ptr.String(jtv) } + case "destinationTypeProperties": if err := awsRestjson1_deserializeDocumentDataViewDestinationTypeParams(&sv.DestinationTypeProperties, value); err != nil { return err } + case "errorInfo": if err := awsRestjson1_deserializeDocumentDataViewErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -6850,14 +6992,17 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.LastModifiedTime = i64 } + case "partitionColumns": if err := awsRestjson1_deserializeDocumentPartitionColumnList(&sv.PartitionColumns, value); err != nil { return err } + case "sortColumns": if err := awsRestjson1_deserializeDocumentSortColumnList(&sv.SortColumns, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6866,6 +7011,7 @@ func awsRestjson1_deserializeDocumentDataViewSummary(v **types.DataViewSummary, } sv.Status = types.DataViewStatus(jtv) } + default: _, _ = key, value @@ -6941,6 +7087,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6980,6 +7127,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7051,6 +7199,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, if err := awsRestjson1_deserializeDocumentApplicationPermissionList(&sv.ApplicationPermissions, value); err != nil { return err } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -7063,6 +7212,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.CreateTime = i64 } + case "description": if value != nil { jtv, ok := value.(string) @@ -7071,6 +7221,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.Description = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7083,6 +7234,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.LastModifiedTime = i64 } + case "membershipStatus": if value != nil { jtv, ok := value.(string) @@ -7091,6 +7243,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7252,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.Name = ptr.String(jtv) } + case "permissionGroupId": if value != nil { jtv, ok := value.(string) @@ -7107,6 +7261,7 @@ func awsRestjson1_deserializeDocumentPermissionGroup(v **types.PermissionGroup, } sv.PermissionGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -7146,6 +7301,7 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7154,6 +7310,7 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.Name = ptr.String(jtv) } + case "permissionGroupId": if value != nil { jtv, ok := value.(string) @@ -7162,6 +7319,7 @@ func awsRestjson1_deserializeDocumentPermissionGroupByUser(v **types.PermissionG } sv.PermissionGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -7269,6 +7427,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -7277,6 +7436,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -7352,6 +7512,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -7360,6 +7521,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -7395,10 +7557,12 @@ func awsRestjson1_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } + case "primaryKeyColumns": if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.PrimaryKeyColumns, value); err != nil { return err } + default: _, _ = key, value @@ -7434,6 +7598,7 @@ func awsRestjson1_deserializeDocumentSchemaUnion(v **types.SchemaUnion, value in if err := awsRestjson1_deserializeDocumentSchemaDefinition(&sv.TabularSchemaConfig, value); err != nil { return err } + default: _, _ = key, value @@ -7576,6 +7741,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ApiAccess = types.ApiAccess(jtv) } + case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -7584,6 +7750,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ApiAccessPrincipalArn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(json.Number) @@ -7596,6 +7763,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.CreateTime = i64 } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -7604,6 +7772,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } + case "firstName": if value != nil { jtv, ok := value.(string) @@ -7612,6 +7781,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.FirstName = ptr.String(jtv) } + case "lastDisabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -7624,6 +7794,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastDisabledTime = i64 } + case "lastEnabledTime": if value != nil { jtv, ok := value.(json.Number) @@ -7636,6 +7807,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastEnabledTime = i64 } + case "lastLoginTime": if value != nil { jtv, ok := value.(json.Number) @@ -7648,6 +7820,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastLoginTime = i64 } + case "lastModifiedTime": if value != nil { jtv, ok := value.(json.Number) @@ -7660,6 +7833,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastModifiedTime = i64 } + case "lastName": if value != nil { jtv, ok := value.(string) @@ -7668,6 +7842,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.LastName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7676,6 +7851,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = types.UserStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7684,6 +7860,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -7692,6 +7869,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -7731,6 +7909,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.ApiAccess = types.ApiAccess(jtv) } + case "apiAccessPrincipalArn": if value != nil { jtv, ok := value.(string) @@ -7739,6 +7918,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.ApiAccessPrincipalArn = ptr.String(jtv) } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -7747,6 +7927,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.EmailAddress = ptr.String(jtv) } + case "firstName": if value != nil { jtv, ok := value.(string) @@ -7755,6 +7936,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.FirstName = ptr.String(jtv) } + case "lastName": if value != nil { jtv, ok := value.(string) @@ -7763,6 +7945,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.LastName = ptr.String(jtv) } + case "membershipStatus": if value != nil { jtv, ok := value.(string) @@ -7771,6 +7954,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.MembershipStatus = types.PermissionGroupMembershipStatus(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7779,6 +7963,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.Status = types.UserStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7787,6 +7972,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.Type = types.UserType(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -7795,6 +7981,7 @@ func awsRestjson1_deserializeDocumentUserByPermissionGroup(v **types.UserByPermi } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -7902,6 +8089,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -7910,6 +8098,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/firehose/deserializers.go b/service/firehose/deserializers.go index de236de8f9c..71d4154dabe 100644 --- a/service/firehose/deserializers.go +++ b/service/firehose/deserializers.go @@ -1763,6 +1763,7 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(v } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -1775,6 +1776,7 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(v } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1810,10 +1812,12 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "CollectionEndpoint": if value != nil { jtv, ok := value.(string) @@ -1822,6 +1826,7 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.CollectionEndpoint = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -1830,14 +1835,17 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.IndexName = ptr.String(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -1846,6 +1854,7 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -1854,14 +1863,17 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescri } sv.S3BackupMode = types.AmazonOpenSearchServerlessS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1905,6 +1917,7 @@ func awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessRetryOptions(v ** } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1948,6 +1961,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(v **t } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -1960,6 +1974,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(v **t } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1995,10 +2010,12 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "ClusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -2007,10 +2024,12 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.ClusterEndpoint = ptr.String(jtv) } + case "DocumentIdOptions": if err := awsAwsjson11_deserializeDocumentDocumentIdOptions(&sv.DocumentIdOptions, value); err != nil { return err } + case "DomainARN": if value != nil { jtv, ok := value.(string) @@ -2019,6 +2038,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.DomainARN = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -2027,6 +2047,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.IndexName = ptr.String(jtv) } + case "IndexRotationPeriod": if value != nil { jtv, ok := value.(string) @@ -2035,14 +2056,17 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.IndexRotationPeriod = types.AmazonopensearchserviceIndexRotationPeriod(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2051,6 +2075,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -2059,10 +2084,12 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.S3BackupMode = types.AmazonopensearchserviceS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -2071,10 +2098,12 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescripti } sv.TypeName = ptr.String(jtv) } + case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -2118,6 +2147,7 @@ func awsAwsjson11_deserializeDocumentAmazonopensearchserviceRetryOptions(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2157,6 +2187,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.Connectivity = types.Connectivity(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -2165,6 +2196,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -2208,6 +2240,7 @@ func awsAwsjson11_deserializeDocumentBufferingHints(v **types.BufferingHints, va } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -2220,6 +2253,7 @@ func awsAwsjson11_deserializeDocumentBufferingHints(v **types.BufferingHints, va } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2259,6 +2293,7 @@ func awsAwsjson11_deserializeDocumentCatalogConfiguration(v **types.CatalogConfi } sv.CatalogARN = ptr.String(jtv) } + default: _, _ = key, value @@ -2298,6 +2333,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.Enabled = ptr.Bool(jtv) } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -2306,6 +2342,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.LogGroupName = ptr.String(jtv) } + case "LogStreamName": if value != nil { jtv, ok := value.(string) @@ -2314,6 +2351,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(v **types.CloudWat } sv.LogStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -2389,6 +2427,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2428,6 +2467,7 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.CopyOptions = ptr.String(jtv) } + case "DataTableColumns": if value != nil { jtv, ok := value.(string) @@ -2436,6 +2476,7 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.DataTableColumns = ptr.String(jtv) } + case "DataTableName": if value != nil { jtv, ok := value.(string) @@ -2444,6 +2485,7 @@ func awsAwsjson11_deserializeDocumentCopyCommand(v **types.CopyCommand, value in } sv.DataTableName = ptr.String(jtv) } + default: _, _ = key, value @@ -2483,18 +2525,22 @@ func awsAwsjson11_deserializeDocumentDataFormatConversionConfiguration(v **types } sv.Enabled = ptr.Bool(jtv) } + case "InputFormatConfiguration": if err := awsAwsjson11_deserializeDocumentInputFormatConfiguration(&sv.InputFormatConfiguration, value); err != nil { return err } + case "OutputFormatConfiguration": if err := awsAwsjson11_deserializeDocumentOutputFormatConfiguration(&sv.OutputFormatConfiguration, value); err != nil { return err } + case "SchemaConfiguration": if err := awsAwsjson11_deserializeDocumentSchemaConfiguration(&sv.SchemaConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2541,6 +2587,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } } + case "DeliveryStreamARN": if value != nil { jtv, ok := value.(string) @@ -2549,10 +2596,12 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamARN = ptr.String(jtv) } + case "DeliveryStreamEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(&sv.DeliveryStreamEncryptionConfiguration, value); err != nil { return err } + case "DeliveryStreamName": if value != nil { jtv, ok := value.(string) @@ -2561,6 +2610,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamName = ptr.String(jtv) } + case "DeliveryStreamStatus": if value != nil { jtv, ok := value.(string) @@ -2569,6 +2619,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamStatus = types.DeliveryStreamStatus(jtv) } + case "DeliveryStreamType": if value != nil { jtv, ok := value.(string) @@ -2577,14 +2628,17 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.DeliveryStreamType = types.DeliveryStreamType(jtv) } + case "Destinations": if err := awsAwsjson11_deserializeDocumentDestinationDescriptionList(&sv.Destinations, value); err != nil { return err } + case "FailureDescription": if err := awsAwsjson11_deserializeDocumentFailureDescription(&sv.FailureDescription, value); err != nil { return err } + case "HasMoreDestinations": if value != nil { jtv, ok := value.(bool) @@ -2593,6 +2647,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.HasMoreDestinations = ptr.Bool(jtv) } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2608,10 +2663,12 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } } + case "Source": if err := awsAwsjson11_deserializeDocumentSourceDescription(&sv.Source, value); err != nil { return err } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -2620,6 +2677,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamDescription(v **types.Deliver } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2655,6 +2713,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t if err := awsAwsjson11_deserializeDocumentFailureDescription(&sv.FailureDescription, value); err != nil { return err } + case "KeyARN": if value != nil { jtv, ok := value.(string) @@ -2663,6 +2722,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.KeyARN = ptr.String(jtv) } + case "KeyType": if value != nil { jtv, ok := value.(string) @@ -2671,6 +2731,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.KeyType = types.KeyType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2679,6 +2740,7 @@ func awsAwsjson11_deserializeDocumentDeliveryStreamEncryptionConfiguration(v **t } sv.Status = types.DeliveryStreamEncryptionStatus(jtv) } + default: _, _ = key, value @@ -2750,10 +2812,12 @@ func awsAwsjson11_deserializeDocumentDeserializer(v **types.Deserializer, value if err := awsAwsjson11_deserializeDocumentHiveJsonSerDe(&sv.HiveJsonSerDe, value); err != nil { return err } + case "OpenXJsonSerDe": if err := awsAwsjson11_deserializeDocumentOpenXJsonSerDe(&sv.OpenXJsonSerDe, value); err != nil { return err } + default: _, _ = key, value @@ -2789,10 +2853,12 @@ func awsAwsjson11_deserializeDocumentDestinationDescription(v **types.Destinatio if err := awsAwsjson11_deserializeDocumentAmazonOpenSearchServerlessDestinationDescription(&sv.AmazonOpenSearchServerlessDestinationDescription, value); err != nil { return err } + case "AmazonopensearchserviceDestinationDescription": if err := awsAwsjson11_deserializeDocumentAmazonopensearchserviceDestinationDescription(&sv.AmazonopensearchserviceDestinationDescription, value); err != nil { return err } + case "DestinationId": if value != nil { jtv, ok := value.(string) @@ -2801,38 +2867,47 @@ func awsAwsjson11_deserializeDocumentDestinationDescription(v **types.Destinatio } sv.DestinationId = ptr.String(jtv) } + case "ElasticsearchDestinationDescription": if err := awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(&sv.ElasticsearchDestinationDescription, value); err != nil { return err } + case "ExtendedS3DestinationDescription": if err := awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(&sv.ExtendedS3DestinationDescription, value); err != nil { return err } + case "HttpEndpointDestinationDescription": if err := awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(&sv.HttpEndpointDestinationDescription, value); err != nil { return err } + case "IcebergDestinationDescription": if err := awsAwsjson11_deserializeDocumentIcebergDestinationDescription(&sv.IcebergDestinationDescription, value); err != nil { return err } + case "RedshiftDestinationDescription": if err := awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(&sv.RedshiftDestinationDescription, value); err != nil { return err } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "SnowflakeDestinationDescription": if err := awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(&sv.SnowflakeDestinationDescription, value); err != nil { return err } + case "SplunkDestinationDescription": if err := awsAwsjson11_deserializeDocumentSplunkDestinationDescription(&sv.SplunkDestinationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -2906,6 +2981,7 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.DestinationDatabaseName = ptr.String(jtv) } + case "DestinationTableName": if value != nil { jtv, ok := value.(string) @@ -2914,6 +2990,7 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.DestinationTableName = ptr.String(jtv) } + case "S3ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -2922,10 +2999,12 @@ func awsAwsjson11_deserializeDocumentDestinationTableConfiguration(v **types.Des } sv.S3ErrorOutputPrefix = ptr.String(jtv) } + case "UniqueKeys": if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStringsWithoutWhitespace(&sv.UniqueKeys, value); err != nil { return err } + default: _, _ = key, value @@ -2999,6 +3078,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdOptions(v **types.DocumentIdOptio } sv.DefaultDocumentIdFormat = types.DefaultDocumentIdFormat(jtv) } + default: _, _ = key, value @@ -3038,10 +3118,12 @@ func awsAwsjson11_deserializeDocumentDynamicPartitioningConfiguration(v **types. } sv.Enabled = ptr.Bool(jtv) } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRetryOptions(&sv.RetryOptions, value); err != nil { return err } + default: _, _ = key, value @@ -3085,6 +3167,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(v **types.Elast } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -3097,6 +3180,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(v **types.Elast } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3132,10 +3216,12 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ if err := awsAwsjson11_deserializeDocumentElasticsearchBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "ClusterEndpoint": if value != nil { jtv, ok := value.(string) @@ -3144,10 +3230,12 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.ClusterEndpoint = ptr.String(jtv) } + case "DocumentIdOptions": if err := awsAwsjson11_deserializeDocumentDocumentIdOptions(&sv.DocumentIdOptions, value); err != nil { return err } + case "DomainARN": if value != nil { jtv, ok := value.(string) @@ -3156,6 +3244,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.DomainARN = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -3164,6 +3253,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.IndexName = ptr.String(jtv) } + case "IndexRotationPeriod": if value != nil { jtv, ok := value.(string) @@ -3172,14 +3262,17 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.IndexRotationPeriod = types.ElasticsearchIndexRotationPeriod(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentElasticsearchRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3188,6 +3281,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3196,10 +3290,12 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.S3BackupMode = types.ElasticsearchS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -3208,10 +3304,12 @@ func awsAwsjson11_deserializeDocumentElasticsearchDestinationDescription(v **typ } sv.TypeName = ptr.String(jtv) } + case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -3255,6 +3353,7 @@ func awsAwsjson11_deserializeDocumentElasticsearchRetryOptions(v **types.Elastic } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3290,6 +3389,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsAwsjson11_deserializeDocumentKMSEncryptionConfig(&sv.KMSEncryptionConfig, value); err != nil { return err } + case "NoEncryptionConfig": if value != nil { jtv, ok := value.(string) @@ -3298,6 +3398,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.NoEncryptionConfig = types.NoEncryptionConfig(jtv) } + default: _, _ = key, value @@ -3337,14 +3438,17 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.BucketARN = ptr.String(jtv) } + case "BufferingHints": if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "CompressionFormat": if value != nil { jtv, ok := value.(string) @@ -3353,6 +3457,7 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.CompressionFormat = types.CompressionFormat(jtv) } + case "CustomTimeZone": if value != nil { jtv, ok := value.(string) @@ -3361,18 +3466,22 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.CustomTimeZone = ptr.String(jtv) } + case "DataFormatConversionConfiguration": if err := awsAwsjson11_deserializeDocumentDataFormatConversionConfiguration(&sv.DataFormatConversionConfiguration, value); err != nil { return err } + case "DynamicPartitioningConfiguration": if err := awsAwsjson11_deserializeDocumentDynamicPartitioningConfiguration(&sv.DynamicPartitioningConfiguration, value); err != nil { return err } + case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -3381,6 +3490,7 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.ErrorOutputPrefix = ptr.String(jtv) } + case "FileExtension": if value != nil { jtv, ok := value.(string) @@ -3389,6 +3499,7 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.FileExtension = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -3397,10 +3508,12 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.Prefix = ptr.String(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3409,10 +3522,12 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.RoleARN = ptr.String(jtv) } + case "S3BackupDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3BackupDescription, value); err != nil { return err } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3421,6 +3536,7 @@ func awsAwsjson11_deserializeDocumentExtendedS3DestinationDescription(v **types. } sv.S3BackupMode = types.S3BackupMode(jtv) } + default: _, _ = key, value @@ -3460,6 +3576,7 @@ func awsAwsjson11_deserializeDocumentFailureDescription(v **types.FailureDescrip } sv.Details = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3468,6 +3585,7 @@ func awsAwsjson11_deserializeDocumentFailureDescription(v **types.FailureDescrip } sv.Type = types.DeliveryStreamFailureType(jtv) } + default: _, _ = key, value @@ -3503,6 +3621,7 @@ func awsAwsjson11_deserializeDocumentHiveJsonSerDe(v **types.HiveJsonSerDe, valu if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStrings(&sv.TimestampFormats, value); err != nil { return err } + default: _, _ = key, value @@ -3546,6 +3665,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(v **types.HttpEn } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -3558,6 +3678,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(v **types.HttpEn } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3597,6 +3718,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointCommonAttribute(v **types.HttpE } sv.AttributeName = ptr.String(jtv) } + case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -3605,6 +3727,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointCommonAttribute(v **types.HttpE } sv.AttributeValue = ptr.String(jtv) } + default: _, _ = key, value @@ -3678,6 +3801,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDescription(v **types.HttpEndpo } sv.Name = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -3686,6 +3810,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDescription(v **types.HttpEndpo } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -3721,26 +3846,32 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type if err := awsAwsjson11_deserializeDocumentHttpEndpointBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "EndpointConfiguration": if err := awsAwsjson11_deserializeDocumentHttpEndpointDescription(&sv.EndpointConfiguration, value); err != nil { return err } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RequestConfiguration": if err := awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(&sv.RequestConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentHttpEndpointRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3749,6 +3880,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3757,14 +3889,17 @@ func awsAwsjson11_deserializeDocumentHttpEndpointDestinationDescription(v **type } sv.S3BackupMode = types.HttpEndpointS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3800,6 +3935,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(v **types. if err := awsAwsjson11_deserializeDocumentHttpEndpointCommonAttributesList(&sv.CommonAttributes, value); err != nil { return err } + case "ContentEncoding": if value != nil { jtv, ok := value.(string) @@ -3808,6 +3944,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRequestConfiguration(v **types. } sv.ContentEncoding = types.ContentEncoding(jtv) } + default: _, _ = key, value @@ -3851,6 +3988,7 @@ func awsAwsjson11_deserializeDocumentHttpEndpointRetryOptions(v **types.HttpEndp } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3886,26 +4024,32 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CatalogConfiguration": if err := awsAwsjson11_deserializeDocumentCatalogConfiguration(&sv.CatalogConfiguration, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "DestinationTableConfigurationList": if err := awsAwsjson11_deserializeDocumentDestinationTableConfigurationList(&sv.DestinationTableConfigurationList, value); err != nil { return err } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3914,6 +4058,7 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -3922,10 +4067,12 @@ func awsAwsjson11_deserializeDocumentIcebergDestinationDescription(v **types.Ice } sv.S3BackupMode = types.IcebergS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -3961,6 +4108,7 @@ func awsAwsjson11_deserializeDocumentInputFormatConfiguration(v **types.InputFor if err := awsAwsjson11_deserializeDocumentDeserializer(&sv.Deserializer, value); err != nil { return err } + default: _, _ = key, value @@ -4000,6 +4148,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4039,6 +4188,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4047,6 +4197,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSResourceException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4086,6 +4237,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4094,6 +4246,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceException(v **types.InvalidSou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4140,6 +4293,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } } + case "KinesisStreamARN": if value != nil { jtv, ok := value.(string) @@ -4148,6 +4302,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } sv.KinesisStreamARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -4156,6 +4311,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4195,6 +4351,7 @@ func awsAwsjson11_deserializeDocumentKMSEncryptionConfig(v **types.KMSEncryption } sv.AWSKMSKeyARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4234,6 +4391,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4375,6 +4533,7 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "DeliveryStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -4390,6 +4549,7 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } } + case "MSKClusterARN": if value != nil { jtv, ok := value.(string) @@ -4398,6 +4558,7 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } sv.MSKClusterARN = ptr.String(jtv) } + case "ReadFromTimestamp": if value != nil { switch jtv := value.(type) { @@ -4413,6 +4574,7 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -4421,6 +4583,7 @@ func awsAwsjson11_deserializeDocumentMSKSourceDescription(v **types.MSKSourceDes } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -4460,10 +4623,12 @@ func awsAwsjson11_deserializeDocumentOpenXJsonSerDe(v **types.OpenXJsonSerDe, va } sv.CaseInsensitive = ptr.Bool(jtv) } + case "ColumnToJsonKeyMappings": if err := awsAwsjson11_deserializeDocumentColumnToJsonKeyMappings(&sv.ColumnToJsonKeyMappings, value); err != nil { return err } + case "ConvertDotsInJsonKeysToUnderscores": if value != nil { jtv, ok := value.(bool) @@ -4472,6 +4637,7 @@ func awsAwsjson11_deserializeDocumentOpenXJsonSerDe(v **types.OpenXJsonSerDe, va } sv.ConvertDotsInJsonKeysToUnderscores = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4515,10 +4681,12 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.BlockSizeBytes = ptr.Int32(int32(i64)) } + case "BloomFilterColumns": if err := awsAwsjson11_deserializeDocumentListOfNonEmptyStringsWithoutWhitespace(&sv.BloomFilterColumns, value); err != nil { return err } + case "BloomFilterFalsePositiveProbability": if value != nil { switch jtv := value.(type) { @@ -4552,6 +4720,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -4560,6 +4729,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.Compression = types.OrcCompression(jtv) } + case "DictionaryKeyThreshold": if value != nil { switch jtv := value.(type) { @@ -4593,6 +4763,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } + case "EnablePadding": if value != nil { jtv, ok := value.(bool) @@ -4601,6 +4772,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.EnablePadding = ptr.Bool(jtv) } + case "FormatVersion": if value != nil { jtv, ok := value.(string) @@ -4609,6 +4781,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.FormatVersion = types.OrcFormatVersion(jtv) } + case "PaddingTolerance": if value != nil { switch jtv := value.(type) { @@ -4642,6 +4815,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } } + case "RowIndexStride": if value != nil { jtv, ok := value.(json.Number) @@ -4654,6 +4828,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.RowIndexStride = ptr.Int32(int32(i64)) } + case "StripeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4666,6 +4841,7 @@ func awsAwsjson11_deserializeDocumentOrcSerDe(v **types.OrcSerDe, value interfac } sv.StripeSizeBytes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4701,6 +4877,7 @@ func awsAwsjson11_deserializeDocumentOutputFormatConfiguration(v **types.OutputF if err := awsAwsjson11_deserializeDocumentSerializer(&sv.Serializer, value); err != nil { return err } + default: _, _ = key, value @@ -4744,6 +4921,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.BlockSizeBytes = ptr.Int32(int32(i64)) } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -4752,6 +4930,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.Compression = types.ParquetCompression(jtv) } + case "EnableDictionaryCompression": if value != nil { jtv, ok := value.(bool) @@ -4760,6 +4939,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.EnableDictionaryCompression = ptr.Bool(jtv) } + case "MaxPaddingBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4772,6 +4952,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.MaxPaddingBytes = ptr.Int32(int32(i64)) } + case "PageSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4784,6 +4965,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.PageSizeBytes = ptr.Int32(int32(i64)) } + case "WriterVersion": if value != nil { jtv, ok := value.(string) @@ -4792,6 +4974,7 @@ func awsAwsjson11_deserializeDocumentParquetSerDe(v **types.ParquetSerDe, value } sv.WriterVersion = types.ParquetWriterVersion(jtv) } + default: _, _ = key, value @@ -4831,10 +5014,12 @@ func awsAwsjson11_deserializeDocumentProcessingConfiguration(v **types.Processin } sv.Enabled = ptr.Bool(jtv) } + case "Processors": if err := awsAwsjson11_deserializeDocumentProcessorList(&sv.Processors, value); err != nil { return err } + default: _, _ = key, value @@ -4870,6 +5055,7 @@ func awsAwsjson11_deserializeDocumentProcessor(v **types.Processor, value interf if err := awsAwsjson11_deserializeDocumentProcessorParameterList(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4878,6 +5064,7 @@ func awsAwsjson11_deserializeDocumentProcessor(v **types.Processor, value interf } sv.Type = types.ProcessorType(jtv) } + default: _, _ = key, value @@ -4951,6 +5138,7 @@ func awsAwsjson11_deserializeDocumentProcessorParameter(v **types.ProcessorParam } sv.ParameterName = types.ProcessorParameterName(jtv) } + case "ParameterValue": if value != nil { jtv, ok := value.(string) @@ -4959,6 +5147,7 @@ func awsAwsjson11_deserializeDocumentProcessorParameter(v **types.ProcessorParam } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5032,6 +5221,7 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5040,6 +5230,7 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.ErrorMessage = ptr.String(jtv) } + case "RecordId": if value != nil { jtv, ok := value.(string) @@ -5048,6 +5239,7 @@ func awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntry(v **types.PutRe } sv.RecordId = ptr.String(jtv) } + default: _, _ = key, value @@ -5117,6 +5309,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "ClusterJDBCURL": if value != nil { jtv, ok := value.(string) @@ -5125,18 +5318,22 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.ClusterJDBCURL = ptr.String(jtv) } + case "CopyCommand": if err := awsAwsjson11_deserializeDocumentCopyCommand(&sv.CopyCommand, value); err != nil { return err } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentRedshiftRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5145,10 +5342,12 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.RoleARN = ptr.String(jtv) } + case "S3BackupDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3BackupDescription, value); err != nil { return err } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -5157,14 +5356,17 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.S3BackupMode = types.RedshiftS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -5173,6 +5375,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDestinationDescription(v **types.Re } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -5216,6 +5419,7 @@ func awsAwsjson11_deserializeDocumentRedshiftRetryOptions(v **types.RedshiftRetr } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5255,6 +5459,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5294,6 +5499,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5337,6 +5543,7 @@ func awsAwsjson11_deserializeDocumentRetryOptions(v **types.RetryOptions, value } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5376,14 +5583,17 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.BucketARN = ptr.String(jtv) } + case "BufferingHints": if err := awsAwsjson11_deserializeDocumentBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "CompressionFormat": if value != nil { jtv, ok := value.(string) @@ -5392,10 +5602,12 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.CompressionFormat = types.CompressionFormat(jtv) } + case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "ErrorOutputPrefix": if value != nil { jtv, ok := value.(string) @@ -5404,6 +5616,7 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.ErrorOutputPrefix = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -5412,6 +5625,7 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.Prefix = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5420,6 +5634,7 @@ func awsAwsjson11_deserializeDocumentS3DestinationDescription(v **types.S3Destin } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5459,6 +5674,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -5467,6 +5683,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.DatabaseName = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -5475,6 +5692,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.Region = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5483,6 +5701,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.RoleARN = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -5491,6 +5710,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.TableName = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5499,6 +5719,7 @@ func awsAwsjson11_deserializeDocumentSchemaConfiguration(v **types.SchemaConfigu } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5538,6 +5759,7 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.Enabled = ptr.Bool(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5546,6 +5768,7 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.RoleARN = ptr.String(jtv) } + case "SecretARN": if value != nil { jtv, ok := value.(string) @@ -5554,6 +5777,7 @@ func awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(v **types.Secre } sv.SecretARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5625,10 +5849,12 @@ func awsAwsjson11_deserializeDocumentSerializer(v **types.Serializer, value inte if err := awsAwsjson11_deserializeDocumentOrcSerDe(&sv.OrcSerDe, value); err != nil { return err } + case "ParquetSerDe": if err := awsAwsjson11_deserializeDocumentParquetSerDe(&sv.ParquetSerDe, value); err != nil { return err } + default: _, _ = key, value @@ -5668,6 +5894,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5711,6 +5938,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(v **types.Snowflake } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -5723,6 +5951,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(v **types.Snowflake } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5762,14 +5991,17 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.AccountUrl = ptr.String(jtv) } + case "BufferingHints": if err := awsAwsjson11_deserializeDocumentSnowflakeBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "ContentColumnName": if value != nil { jtv, ok := value.(string) @@ -5778,6 +6010,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.ContentColumnName = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -5786,6 +6019,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Database = ptr.String(jtv) } + case "DataLoadingOption": if value != nil { jtv, ok := value.(string) @@ -5794,6 +6028,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.DataLoadingOption = types.SnowflakeDataLoadingOption(jtv) } + case "MetaDataColumnName": if value != nil { jtv, ok := value.(string) @@ -5802,14 +6037,17 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.MetaDataColumnName = ptr.String(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentSnowflakeRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5818,6 +6056,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.RoleARN = ptr.String(jtv) } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -5826,10 +6065,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.S3BackupMode = types.SnowflakeS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -5838,18 +6079,22 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Schema = ptr.String(jtv) } + case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } + case "SnowflakeRoleConfiguration": if err := awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(&sv.SnowflakeRoleConfiguration, value); err != nil { return err } + case "SnowflakeVpcConfiguration": if err := awsAwsjson11_deserializeDocumentSnowflakeVpcConfiguration(&sv.SnowflakeVpcConfiguration, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -5858,6 +6103,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.Table = ptr.String(jtv) } + case "User": if value != nil { jtv, ok := value.(string) @@ -5866,6 +6112,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeDestinationDescription(v **types.S } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -5909,6 +6156,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeRetryOptions(v **types.SnowflakeRe } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5948,6 +6196,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(v **types.Snowfl } sv.Enabled = ptr.Bool(jtv) } + case "SnowflakeRole": if value != nil { jtv, ok := value.(string) @@ -5956,6 +6205,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeRoleConfiguration(v **types.Snowfl } sv.SnowflakeRole = ptr.String(jtv) } + default: _, _ = key, value @@ -5995,6 +6245,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeVpcConfiguration(v **types.Snowfla } sv.PrivateLinkVpceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6030,10 +6281,12 @@ func awsAwsjson11_deserializeDocumentSourceDescription(v **types.SourceDescripti if err := awsAwsjson11_deserializeDocumentKinesisStreamSourceDescription(&sv.KinesisStreamSourceDescription, value); err != nil { return err } + case "MSKSourceDescription": if err := awsAwsjson11_deserializeDocumentMSKSourceDescription(&sv.MSKSourceDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6077,6 +6330,7 @@ func awsAwsjson11_deserializeDocumentSplunkBufferingHints(v **types.SplunkBuffer } sv.IntervalInSeconds = ptr.Int32(int32(i64)) } + case "SizeInMBs": if value != nil { jtv, ok := value.(json.Number) @@ -6089,6 +6343,7 @@ func awsAwsjson11_deserializeDocumentSplunkBufferingHints(v **types.SplunkBuffer } sv.SizeInMBs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6124,10 +6379,12 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu if err := awsAwsjson11_deserializeDocumentSplunkBufferingHints(&sv.BufferingHints, value); err != nil { return err } + case "CloudWatchLoggingOptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptions(&sv.CloudWatchLoggingOptions, value); err != nil { return err } + case "HECAcknowledgmentTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6140,6 +6397,7 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECAcknowledgmentTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "HECEndpoint": if value != nil { jtv, ok := value.(string) @@ -6148,6 +6406,7 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECEndpoint = ptr.String(jtv) } + case "HECEndpointType": if value != nil { jtv, ok := value.(string) @@ -6156,6 +6415,7 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECEndpointType = types.HECEndpointType(jtv) } + case "HECToken": if value != nil { jtv, ok := value.(string) @@ -6164,14 +6424,17 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.HECToken = ptr.String(jtv) } + case "ProcessingConfiguration": if err := awsAwsjson11_deserializeDocumentProcessingConfiguration(&sv.ProcessingConfiguration, value); err != nil { return err } + case "RetryOptions": if err := awsAwsjson11_deserializeDocumentSplunkRetryOptions(&sv.RetryOptions, value); err != nil { return err } + case "S3BackupMode": if value != nil { jtv, ok := value.(string) @@ -6180,14 +6443,17 @@ func awsAwsjson11_deserializeDocumentSplunkDestinationDescription(v **types.Splu } sv.S3BackupMode = types.SplunkS3BackupMode(jtv) } + case "S3DestinationDescription": if err := awsAwsjson11_deserializeDocumentS3DestinationDescription(&sv.S3DestinationDescription, value); err != nil { return err } + case "SecretsManagerConfiguration": if err := awsAwsjson11_deserializeDocumentSecretsManagerConfiguration(&sv.SecretsManagerConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6231,6 +6497,7 @@ func awsAwsjson11_deserializeDocumentSplunkRetryOptions(v **types.SplunkRetryOpt } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6306,6 +6573,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6314,6 +6582,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6353,14 +6622,17 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.RoleARN = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6369,6 +6641,7 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -6408,6 +6681,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeliveryStreamOutput(v **CreateDeli } sv.DeliveryStreamARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6474,6 +6748,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeliveryStreamOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDeliveryStreamDescription(&sv.DeliveryStreamDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6509,6 +6784,7 @@ func awsAwsjson11_deserializeOpDocumentListDeliveryStreamsOutput(v **ListDeliver if err := awsAwsjson11_deserializeDocumentDeliveryStreamNameList(&sv.DeliveryStreamNames, value); err != nil { return err } + case "HasMoreDeliveryStreams": if value != nil { jtv, ok := value.(bool) @@ -6517,6 +6793,7 @@ func awsAwsjson11_deserializeOpDocumentListDeliveryStreamsOutput(v **ListDeliver } sv.HasMoreDeliveryStreams = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6556,10 +6833,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForDeliveryStreamOutput(v **ListT } sv.HasMoreTags = ptr.Bool(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentListTagsForDeliveryStreamOutputTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6599,6 +6878,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordBatchOutput(v **PutRecordBatchOu } sv.Encrypted = ptr.Bool(jtv) } + case "FailedPutCount": if value != nil { jtv, ok := value.(json.Number) @@ -6611,10 +6891,12 @@ func awsAwsjson11_deserializeOpDocumentPutRecordBatchOutput(v **PutRecordBatchOu } sv.FailedPutCount = ptr.Int32(int32(i64)) } + case "RequestResponses": if err := awsAwsjson11_deserializeDocumentPutRecordBatchResponseEntryList(&sv.RequestResponses, value); err != nil { return err } + default: _, _ = key, value @@ -6654,6 +6936,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.Encrypted = ptr.Bool(jtv) } + case "RecordId": if value != nil { jtv, ok := value.(string) @@ -6662,6 +6945,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.RecordId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/fis/deserializers.go b/service/fis/deserializers.go index 895e0e1a590..ec4ed81f9ee 100644 --- a/service/fis/deserializers.go +++ b/service/fis/deserializers.go @@ -180,6 +180,7 @@ func awsRestjson1_deserializeOpDocumentCreateExperimentTemplateOutput(v **Create if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -340,6 +341,7 @@ func awsRestjson1_deserializeOpDocumentCreateTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -494,6 +496,7 @@ func awsRestjson1_deserializeOpDocumentDeleteExperimentTemplateOutput(v **Delete if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -648,6 +651,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -802,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentGetActionOutput(v **GetActionOutput, valu if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + default: _, _ = key, value @@ -956,6 +961,7 @@ func awsRestjson1_deserializeOpDocumentGetExperimentOutput(v **GetExperimentOutp if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -1110,6 +1116,7 @@ func awsRestjson1_deserializeOpDocumentGetExperimentTargetAccountConfigurationOu if err := awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1264,6 +1271,7 @@ func awsRestjson1_deserializeOpDocumentGetExperimentTemplateOutput(v **GetExperi if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -1415,6 +1423,7 @@ func awsRestjson1_deserializeOpDocumentGetSafetyLeverOutput(v **GetSafetyLeverOu if err := awsRestjson1_deserializeDocumentSafetyLever(&sv.SafetyLever, value); err != nil { return err } + default: _, _ = key, value @@ -1569,6 +1578,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetAccountConfigurationOutput(v **G if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1723,6 +1733,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetResourceTypeOutput(v **GetTarget if err := awsRestjson1_deserializeDocumentTargetResourceType(&sv.TargetResourceType, value); err != nil { return err } + default: _, _ = key, value @@ -1874,6 +1885,7 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsRestjson1_deserializeDocumentActionSummaryList(&sv.Actions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1882,6 +1894,7 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2040,10 +2053,12 @@ func awsRestjson1_deserializeOpDocumentListExperimentResolvedTargetsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "resolvedTargets": if err := awsRestjson1_deserializeDocumentResolvedTargetList(&sv.ResolvedTargets, value); err != nil { return err } + default: _, _ = key, value @@ -2195,6 +2210,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsRestjson1_deserializeDocumentExperimentSummaryList(&sv.Experiments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2203,6 +2219,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2361,10 +2378,12 @@ func awsRestjson1_deserializeOpDocumentListExperimentTargetAccountConfigurations } sv.NextToken = ptr.String(jtv) } + case "targetAccountConfigurations": if err := awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationList(&sv.TargetAccountConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2516,6 +2535,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentTemplatesOutput(v **ListExp if err := awsRestjson1_deserializeDocumentExperimentTemplateSummaryList(&sv.ExperimentTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2524,6 +2544,7 @@ func awsRestjson1_deserializeOpDocumentListExperimentTemplatesOutput(v **ListExp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2672,6 +2693,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2830,10 +2852,12 @@ func awsRestjson1_deserializeOpDocumentListTargetAccountConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "targetAccountConfigurations": if err := awsRestjson1_deserializeDocumentTargetAccountConfigurationList(&sv.TargetAccountConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2989,10 +3013,12 @@ func awsRestjson1_deserializeOpDocumentListTargetResourceTypesOutput(v **ListTar } sv.NextToken = ptr.String(jtv) } + case "targetResourceTypes": if err := awsRestjson1_deserializeDocumentTargetResourceTypeSummaryList(&sv.TargetResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -3153,6 +3179,7 @@ func awsRestjson1_deserializeOpDocumentStartExperimentOutput(v **StartExperiment if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -3307,6 +3334,7 @@ func awsRestjson1_deserializeOpDocumentStopExperimentOutput(v **StopExperimentOu if err := awsRestjson1_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + default: _, _ = key, value @@ -3634,6 +3662,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExperimentTemplateOutput(v **Update if err := awsRestjson1_deserializeDocumentExperimentTemplate(&sv.ExperimentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -3791,6 +3820,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSafetyLeverStateOutput(v **UpdateSa if err := awsRestjson1_deserializeDocumentSafetyLever(&sv.SafetyLever, value); err != nil { return err } + default: _, _ = key, value @@ -3945,6 +3975,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetAccountConfigurationOutput(v if err := awsRestjson1_deserializeDocumentTargetAccountConfiguration(&sv.TargetAccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4128,6 +4159,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4136,6 +4168,7 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4144,18 +4177,22 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Id = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActionParameterMap(&sv.Parameters, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentActionTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -4195,6 +4232,7 @@ func awsRestjson1_deserializeDocumentActionParameter(v **types.ActionParameter, } sv.Description = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -4203,6 +4241,7 @@ func awsRestjson1_deserializeDocumentActionParameter(v **types.ActionParameter, } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4277,6 +4316,7 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4285,6 +4325,7 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4293,14 +4334,17 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentActionTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -4374,6 +4418,7 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4448,6 +4493,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4483,6 +4529,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte if err := awsRestjson1_deserializeDocumentExperimentActionMap(&sv.Actions, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4491,6 +4538,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -4506,6 +4554,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -4521,10 +4570,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } + case "experimentTemplateId": if value != nil { jtv, ok := value.(string) @@ -4533,6 +4584,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentTemplateId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4541,10 +4593,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Id = ptr.String(jtv) } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentExperimentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4553,6 +4607,7 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.RoleArn = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -4568,18 +4623,22 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "state": if err := awsRestjson1_deserializeDocumentExperimentState(&sv.State, value); err != nil { return err } + case "stopConditions": if err := awsRestjson1_deserializeDocumentExperimentStopConditionList(&sv.StopConditions, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetAccountConfigurationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -4592,10 +4651,12 @@ func awsRestjson1_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.TargetAccountConfigurationsCount = ptr.Int64(i64) } + case "targets": if err := awsRestjson1_deserializeDocumentExperimentTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -4635,6 +4696,7 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } sv.ActionId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4705,7 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -4658,14 +4721,17 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } } + case "parameters": if err := awsRestjson1_deserializeDocumentExperimentActionParameterMap(&sv.Parameters, value); err != nil { return err } + case "startAfter": if err := awsRestjson1_deserializeDocumentExperimentActionStartAfterList(&sv.StartAfter, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -4681,14 +4747,17 @@ func awsRestjson1_deserializeDocumentExperimentAction(v **types.ExperimentAction } } + case "state": if err := awsRestjson1_deserializeDocumentExperimentActionState(&sv.State, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentExperimentActionTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -4835,6 +4904,7 @@ func awsRestjson1_deserializeDocumentExperimentActionState(v **types.ExperimentA } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4843,6 +4913,7 @@ func awsRestjson1_deserializeDocumentExperimentActionState(v **types.ExperimentA } sv.Status = types.ExperimentActionStatus(jtv) } + default: _, _ = key, value @@ -4918,6 +4989,7 @@ func awsRestjson1_deserializeDocumentExperimentCloudWatchLogsLogConfiguration(v } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4957,6 +5029,7 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.AccountId = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -4965,6 +5038,7 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.Code = ptr.String(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -4973,6 +5047,7 @@ func awsRestjson1_deserializeDocumentExperimentError(v **types.ExperimentError, } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -5008,6 +5083,7 @@ func awsRestjson1_deserializeDocumentExperimentLogConfiguration(v **types.Experi if err := awsRestjson1_deserializeDocumentExperimentCloudWatchLogsLogConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } + case "logSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5020,10 +5096,12 @@ func awsRestjson1_deserializeDocumentExperimentLogConfiguration(v **types.Experi } sv.LogSchemaVersion = ptr.Int32(int32(i64)) } + case "s3Configuration": if err := awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -5063,6 +5141,7 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.AccountTargeting = types.AccountTargeting(jtv) } + case "actionsMode": if value != nil { jtv, ok := value.(string) @@ -5071,6 +5150,7 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.ActionsMode = types.ActionsMode(jtv) } + case "emptyTargetResolutionMode": if value != nil { jtv, ok := value.(string) @@ -5079,6 +5159,7 @@ func awsRestjson1_deserializeDocumentExperimentOptions(v **types.ExperimentOptio } sv.EmptyTargetResolutionMode = types.EmptyTargetResolutionMode(jtv) } + default: _, _ = key, value @@ -5118,6 +5199,7 @@ func awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(v **types.Expe } sv.BucketName = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -5126,6 +5208,7 @@ func awsRestjson1_deserializeDocumentExperimentS3LogConfiguration(v **types.Expe } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -5161,6 +5244,7 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, if err := awsRestjson1_deserializeDocumentExperimentError(&sv.Error, value); err != nil { return err } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5169,6 +5253,7 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5177,6 +5262,7 @@ func awsRestjson1_deserializeDocumentExperimentState(v **types.ExperimentState, } sv.Status = types.ExperimentStatus(jtv) } + default: _, _ = key, value @@ -5216,6 +5302,7 @@ func awsRestjson1_deserializeDocumentExperimentStopCondition(v **types.Experimen } sv.Source = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -5224,6 +5311,7 @@ func awsRestjson1_deserializeDocumentExperimentStopCondition(v **types.Experimen } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5297,6 +5385,7 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5312,10 +5401,12 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } + case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } + case "experimentTemplateId": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5415,7 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentTemplateId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5332,14 +5424,17 @@ func awsRestjson1_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.Id = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentExperimentState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5409,18 +5504,22 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget if err := awsRestjson1_deserializeDocumentExperimentTargetFilterList(&sv.Filters, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTargetParameterMap(&sv.Parameters, value); err != nil { return err } + case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } + case "resourceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.ResourceTags, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5429,6 +5528,7 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget } sv.ResourceType = ptr.String(jtv) } + case "selectionMode": if value != nil { jtv, ok := value.(string) @@ -5437,6 +5537,7 @@ func awsRestjson1_deserializeDocumentExperimentTarget(v **types.ExperimentTarget } sv.SelectionMode = ptr.String(jtv) } + default: _, _ = key, value @@ -5476,6 +5577,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.AccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5484,6 +5586,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.Description = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5492,6 +5595,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfiguration(v **ty } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5565,6 +5669,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.AccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5573,6 +5678,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.Description = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5581,6 +5687,7 @@ func awsRestjson1_deserializeDocumentExperimentTargetAccountConfigurationSummary } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5620,10 +5727,12 @@ func awsRestjson1_deserializeDocumentExperimentTargetFilter(v **types.Experiment } sv.Path = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentExperimentTargetFilterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -5800,6 +5909,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp if err := awsRestjson1_deserializeDocumentExperimentTemplateActionMap(&sv.Actions, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5808,6 +5918,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5823,6 +5934,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5831,10 +5943,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Description = ptr.String(jtv) } + case "experimentOptions": if err := awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(&sv.ExperimentOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5843,6 +5957,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5858,10 +5973,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } } + case "logConfiguration": if err := awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5870,14 +5987,17 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.RoleArn = ptr.String(jtv) } + case "stopConditions": if err := awsRestjson1_deserializeDocumentExperimentTemplateStopConditionList(&sv.StopConditions, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetAccountConfigurationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -5890,10 +6010,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplate(v **types.ExperimentTemp } sv.TargetAccountConfigurationsCount = ptr.Int64(i64) } + case "targets": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -5933,6 +6055,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateAction(v **types.Experime } sv.ActionId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5941,18 +6064,22 @@ func awsRestjson1_deserializeDocumentExperimentTemplateAction(v **types.Experime } sv.Description = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionParameterMap(&sv.Parameters, value); err != nil { return err } + case "startAfter": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionStartAfterList(&sv.StartAfter, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentExperimentTemplateActionTargetMap(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -6135,6 +6262,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateCloudWatchLogsLogConfigur } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6174,6 +6302,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(v **typ } sv.AccountTargeting = types.AccountTargeting(jtv) } + case "emptyTargetResolutionMode": if value != nil { jtv, ok := value.(string) @@ -6182,6 +6311,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateExperimentOptions(v **typ } sv.EmptyTargetResolutionMode = types.EmptyTargetResolutionMode(jtv) } + default: _, _ = key, value @@ -6217,6 +6347,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(v **type if err := awsRestjson1_deserializeDocumentExperimentTemplateCloudWatchLogsLogConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } + case "logSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6229,10 +6360,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplateLogConfiguration(v **type } sv.LogSchemaVersion = ptr.Int32(int32(i64)) } + case "s3Configuration": if err := awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -6272,6 +6405,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(v **ty } sv.BucketName = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -6280,6 +6414,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateS3LogConfiguration(v **ty } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -6319,6 +6454,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateStopCondition(v **types.E } sv.Source = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6327,6 +6463,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateStopCondition(v **types.E } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6400,6 +6537,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6415,6 +6553,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6423,6 +6562,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6431,6 +6571,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6446,10 +6587,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplateSummary(v **types.Experim } } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6519,18 +6662,22 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetFilterList(&sv.Filters, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetParameterMap(&sv.Parameters, value); err != nil { return err } + case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } + case "resourceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.ResourceTags, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6686,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime } sv.ResourceType = ptr.String(jtv) } + case "selectionMode": if value != nil { jtv, ok := value.(string) @@ -6547,6 +6695,7 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTarget(v **types.Experime } sv.SelectionMode = ptr.String(jtv) } + default: _, _ = key, value @@ -6586,10 +6735,12 @@ func awsRestjson1_deserializeDocumentExperimentTemplateTargetFilter(v **types.Ex } sv.Path = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentExperimentTemplateTargetFilterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -6770,10 +6921,12 @@ func awsRestjson1_deserializeDocumentResolvedTarget(v **types.ResolvedTarget, va } sv.ResourceType = ptr.String(jtv) } + case "targetInformation": if err := awsRestjson1_deserializeDocumentTargetInformationMap(&sv.TargetInformation, value); err != nil { return err } + case "targetName": if value != nil { jtv, ok := value.(string) @@ -6782,6 +6935,7 @@ func awsRestjson1_deserializeDocumentResolvedTarget(v **types.ResolvedTarget, va } sv.TargetName = ptr.String(jtv) } + default: _, _ = key, value @@ -6891,6 +7045,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6930,6 +7085,7 @@ func awsRestjson1_deserializeDocumentSafetyLever(v **types.SafetyLever, value in } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6938,10 +7094,12 @@ func awsRestjson1_deserializeDocumentSafetyLever(v **types.SafetyLever, value in } sv.Id = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentSafetyLeverState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -6981,6 +7139,7 @@ func awsRestjson1_deserializeDocumentSafetyLeverState(v **types.SafetyLeverState } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6989,6 +7148,7 @@ func awsRestjson1_deserializeDocumentSafetyLeverState(v **types.SafetyLeverState } sv.Status = types.SafetyLeverStatus(jtv) } + default: _, _ = key, value @@ -7028,6 +7188,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7103,6 +7264,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.AccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7111,6 +7273,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.Description = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7119,6 +7282,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfiguration(v **types.Target } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7192,6 +7356,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.AccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7200,6 +7365,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.Description = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7208,6 +7374,7 @@ func awsRestjson1_deserializeDocumentTargetAccountConfigurationSummary(v **types } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7283,10 +7450,12 @@ func awsRestjson1_deserializeDocumentTargetResourceType(v **types.TargetResource } sv.Description = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentTargetResourceTypeParameterMap(&sv.Parameters, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7295,6 +7464,7 @@ func awsRestjson1_deserializeDocumentTargetResourceType(v **types.TargetResource } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7334,6 +7504,7 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeParameter(v **types.Targe } sv.Description = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -7342,6 +7513,7 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeParameter(v **types.Targe } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7416,6 +7588,7 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeSummary(v **types.TargetR } sv.Description = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7424,6 +7597,7 @@ func awsRestjson1_deserializeDocumentTargetResourceTypeSummary(v **types.TargetR } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7497,6 +7671,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/fms/deserializers.go b/service/fms/deserializers.go index d0654b9c5f8..f5fc13d2b02 100644 --- a/service/fms/deserializers.go +++ b/service/fms/deserializers.go @@ -5114,6 +5114,7 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.Accounts, value); err != nil { return err } + case "AllAccountsEnabled": if value != nil { jtv, ok := value.(bool) @@ -5122,6 +5123,7 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value } sv.AllAccountsEnabled = jtv } + case "ExcludeSpecifiedAccounts": if value != nil { jtv, ok := value.(bool) @@ -5130,6 +5132,7 @@ func awsAwsjson11_deserializeDocumentAccountScope(v **types.AccountScope, value } sv.ExcludeSpecifiedAccounts = jtv } + default: _, _ = key, value @@ -5169,6 +5172,7 @@ func awsAwsjson11_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Description = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5177,6 +5181,7 @@ func awsAwsjson11_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5216,6 +5221,7 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.AdminAccount = ptr.String(jtv) } + case "DefaultAdmin": if value != nil { jtv, ok := value.(bool) @@ -5224,6 +5230,7 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.DefaultAdmin = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5232,6 +5239,7 @@ func awsAwsjson11_deserializeDocumentAdminAccountSummary(v **types.AdminAccountS } sv.Status = types.OrganizationStatus(jtv) } + default: _, _ = key, value @@ -5301,18 +5309,22 @@ func awsAwsjson11_deserializeDocumentAdminScope(v **types.AdminScope, value inte if err := awsAwsjson11_deserializeDocumentAccountScope(&sv.AccountScope, value); err != nil { return err } + case "OrganizationalUnitScope": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitScope(&sv.OrganizationalUnitScope, value); err != nil { return err } + case "PolicyTypeScope": if err := awsAwsjson11_deserializeDocumentPolicyTypeScope(&sv.PolicyTypeScope, value); err != nil { return err } + case "RegionScope": if err := awsAwsjson11_deserializeDocumentRegionScope(&sv.RegionScope, value); err != nil { return err } + default: _, _ = key, value @@ -5352,6 +5364,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -5364,6 +5377,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Port = ptr.Int64(i64) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -5372,6 +5386,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -5441,6 +5456,7 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value if err := awsAwsjson11_deserializeDocumentAppsList(&sv.AppsList, value); err != nil { return err } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -5456,6 +5472,7 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5471,6 +5488,7 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } } + case "ListId": if value != nil { jtv, ok := value.(string) @@ -5479,6 +5497,7 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListId = ptr.String(jtv) } + case "ListName": if value != nil { jtv, ok := value.(string) @@ -5487,6 +5506,7 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListName = ptr.String(jtv) } + case "ListUpdateToken": if value != nil { jtv, ok := value.(string) @@ -5495,10 +5515,12 @@ func awsAwsjson11_deserializeDocumentAppsListData(v **types.AppsListData, value } sv.ListUpdateToken = ptr.String(jtv) } + case "PreviousAppsList": if err := awsAwsjson11_deserializeDocumentPreviousAppsList(&sv.PreviousAppsList, value); err != nil { return err } + default: _, _ = key, value @@ -5534,6 +5556,7 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS if err := awsAwsjson11_deserializeDocumentAppsList(&sv.AppsList, value); err != nil { return err } + case "ListArn": if value != nil { jtv, ok := value.(string) @@ -5542,6 +5565,7 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListArn = ptr.String(jtv) } + case "ListId": if value != nil { jtv, ok := value.(string) @@ -5550,6 +5574,7 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListId = ptr.String(jtv) } + case "ListName": if value != nil { jtv, ok := value.(string) @@ -5558,6 +5583,7 @@ func awsAwsjson11_deserializeDocumentAppsListDataSummary(v **types.AppsListDataS } sv.ListName = ptr.String(jtv) } + default: _, _ = key, value @@ -5627,6 +5653,7 @@ func awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(v **types.AwsEc2Ins if err := awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolations(&sv.AwsEc2NetworkInterfaceViolations, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5635,6 +5662,7 @@ func awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(v **types.AwsEc2Ins } sv.ViolationTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -5670,6 +5698,7 @@ func awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(v **types.A if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.ViolatingSecurityGroups, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5678,6 +5707,7 @@ func awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(v **types.A } sv.ViolationTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -5783,10 +5813,12 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV if err := awsAwsjson11_deserializeDocumentPartialMatches(&sv.PartialMatches, value); err != nil { return err } + case "PossibleSecurityGroupRemediationActions": if err := awsAwsjson11_deserializeDocumentSecurityGroupRemediationActions(&sv.PossibleSecurityGroupRemediationActions, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -5795,6 +5827,7 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV } sv.ViolationTarget = ptr.String(jtv) } + case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -5803,6 +5836,7 @@ func awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(v **types.AwsV } sv.ViolationTargetDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -5838,6 +5872,7 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol if err := awsAwsjson11_deserializeDocumentComplianceViolatorMetadata(&sv.Metadata, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5846,6 +5881,7 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5854,6 +5890,7 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ResourceType = ptr.String(jtv) } + case "ViolationReason": if value != nil { jtv, ok := value.(string) @@ -5862,6 +5899,7 @@ func awsAwsjson11_deserializeDocumentComplianceViolator(v **types.ComplianceViol } sv.ViolationReason = types.ViolationReason(jtv) } + default: _, _ = key, value @@ -5971,6 +6009,7 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclAction(v **types.CreateNetw } sv.Description = ptr.String(jtv) } + case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -5979,10 +6018,12 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclAction(v **types.CreateNetw } sv.FMSCanRemediate = jtv } + case "Vpc": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -6022,6 +6063,7 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(v **types.Cre } sv.Description = ptr.String(jtv) } + case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -6030,14 +6072,17 @@ func awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(v **types.Cre } sv.FMSCanRemediate = jtv } + case "NetworkAclEntriesToBeCreated": if err := awsAwsjson11_deserializeDocumentEntriesDescription(&sv.NetworkAclEntriesToBeCreated, value); err != nil { return err } + case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } + default: _, _ = key, value @@ -6147,6 +6192,7 @@ func awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(v **types.Del } sv.Description = ptr.String(jtv) } + case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -6155,14 +6201,17 @@ func awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(v **types.Del } sv.FMSCanRemediate = jtv } + case "NetworkAclEntriesToBeDeleted": if err := awsAwsjson11_deserializeDocumentEntriesDescription(&sv.NetworkAclEntriesToBeDeleted, value); err != nil { return err } + case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } + default: _, _ = key, value @@ -6202,6 +6251,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.AccountId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6210,6 +6260,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6218,6 +6269,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Type = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -6226,6 +6278,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -6299,6 +6352,7 @@ func awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(v **types.Dn } sv.ViolationTarget = ptr.String(jtv) } + case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6307,6 +6361,7 @@ func awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(v **types.Dn } sv.ViolationTargetDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -6350,6 +6405,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.NumberOfRuleGroupsAlreadyAssociated = int32(i64) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -6358,6 +6414,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.ViolationTarget = ptr.String(jtv) } + case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6366,6 +6423,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(v **type } sv.ViolationTargetDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -6445,6 +6503,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ConflictingPolicyId = ptr.String(jtv) } + case "ConflictingPriority": if value != nil { jtv, ok := value.(json.Number) @@ -6457,10 +6516,12 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ConflictingPriority = int32(i64) } + case "UnavailablePriorities": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupPriorities(&sv.UnavailablePriorities, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -6469,6 +6530,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ViolationTarget = ptr.String(jtv) } + case "ViolationTargetDescription": if value != nil { jtv, ok := value.(string) @@ -6477,6 +6539,7 @@ func awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(v **t } sv.ViolationTargetDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -6516,18 +6579,22 @@ func awsAwsjson11_deserializeDocumentEC2AssociateRouteTableAction(v **types.EC2A } sv.Description = ptr.String(jtv) } + case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + case "SubnetId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.SubnetId, value); err != nil { return err } + default: _, _ = key, value @@ -6567,14 +6634,17 @@ func awsAwsjson11_deserializeDocumentEC2CopyRouteTableAction(v **types.EC2CopyRo } sv.Description = ptr.String(jtv) } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + case "VpcId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcId, value); err != nil { return err } + default: _, _ = key, value @@ -6614,6 +6684,7 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.Description = ptr.String(jtv) } + case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6622,6 +6693,7 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationCidrBlock = ptr.String(jtv) } + case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6630,6 +6702,7 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } + case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6638,18 +6711,22 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteAction(v **types.EC2CreateRou } sv.DestinationPrefixListId = ptr.String(jtv) } + case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + case "VpcEndpointId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcEndpointId, value); err != nil { return err } + default: _, _ = key, value @@ -6689,10 +6766,12 @@ func awsAwsjson11_deserializeDocumentEC2CreateRouteTableAction(v **types.EC2Crea } sv.Description = ptr.String(jtv) } + case "VpcId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.VpcId, value); err != nil { return err } + default: _, _ = key, value @@ -6732,6 +6811,7 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.Description = ptr.String(jtv) } + case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6740,6 +6820,7 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationCidrBlock = ptr.String(jtv) } + case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6748,6 +6829,7 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } + case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6756,10 +6838,12 @@ func awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(v **types.EC2DeleteRou } sv.DestinationPrefixListId = ptr.String(jtv) } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + default: _, _ = key, value @@ -6799,6 +6883,7 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.Description = ptr.String(jtv) } + case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -6807,6 +6892,7 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationCidrBlock = ptr.String(jtv) } + case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -6815,6 +6901,7 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } + case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -6823,14 +6910,17 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(v **types.EC2ReplaceR } sv.DestinationPrefixListId = ptr.String(jtv) } + case "GatewayId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.GatewayId, value); err != nil { return err } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + default: _, _ = key, value @@ -6866,6 +6956,7 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(v **t if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.AssociationId, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6874,10 +6965,12 @@ func awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(v **t } sv.Description = ptr.String(jtv) } + case "RouteTableId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.RouteTableId, value); err != nil { return err } + default: _, _ = key, value @@ -6981,6 +7074,7 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription if err := awsAwsjson11_deserializeDocumentNetworkAclEntry(&sv.EntryDetail, value); err != nil { return err } + case "EntryRuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6993,6 +7087,7 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription } sv.EntryRuleNumber = int32(i64) } + case "EntryType": if value != nil { jtv, ok := value.(string) @@ -7001,6 +7096,7 @@ func awsAwsjson11_deserializeDocumentEntryDescription(v **types.EntryDescription } sv.EntryType = types.EntryType(jtv) } + default: _, _ = key, value @@ -7040,22 +7136,27 @@ func awsAwsjson11_deserializeDocumentEntryViolation(v **types.EntryViolation, va } sv.ActualEvaluationOrder = ptr.String(jtv) } + case "EntriesWithConflicts": if err := awsAwsjson11_deserializeDocumentEntriesWithConflicts(&sv.EntriesWithConflicts, value); err != nil { return err } + case "EntryAtExpectedEvaluationOrder": if err := awsAwsjson11_deserializeDocumentEntryDescription(&sv.EntryAtExpectedEvaluationOrder, value); err != nil { return err } + case "EntryViolationReasons": if err := awsAwsjson11_deserializeDocumentEntryViolationReasons(&sv.EntryViolationReasons, value); err != nil { return err } + case "ExpectedEntry": if err := awsAwsjson11_deserializeDocumentEntryDescription(&sv.ExpectedEntry, value); err != nil { return err } + case "ExpectedEvaluationOrder": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7165,7 @@ func awsAwsjson11_deserializeDocumentEntryViolation(v **types.EntryViolation, va } sv.ExpectedEvaluationOrder = ptr.String(jtv) } + default: _, _ = key, value @@ -7173,6 +7275,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ComplianceStatus = types.PolicyComplianceStatusType(jtv) } + case "EvaluationLimitExceeded": if value != nil { jtv, ok := value.(bool) @@ -7181,6 +7284,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.EvaluationLimitExceeded = jtv } + case "ViolatorCount": if value != nil { jtv, ok := value.(json.Number) @@ -7193,6 +7297,7 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.ViolatorCount = i64 } + default: _, _ = key, value @@ -7262,10 +7367,12 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu if err := awsAwsjson11_deserializeDocumentLengthBoundedStringList(&sv.AllowedTargets, value); err != nil { return err } + case "ContributingSubnets": if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.ContributingSubnets, value); err != nil { return err } + case "IpV4Cidr": if value != nil { jtv, ok := value.(string) @@ -7274,6 +7381,7 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.IpV4Cidr = ptr.String(jtv) } + case "IpV6Cidr": if value != nil { jtv, ok := value.(string) @@ -7282,6 +7390,7 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.IpV6Cidr = ptr.String(jtv) } + case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -7290,6 +7399,7 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.PrefixListId = ptr.String(jtv) } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7408,7 @@ func awsAwsjson11_deserializeDocumentExpectedRoute(v **types.ExpectedRoute, valu } sv.RouteTableId = ptr.String(jtv) } + default: _, _ = key, value @@ -7371,6 +7482,7 @@ func awsAwsjson11_deserializeDocumentFailedItem(v **types.FailedItem, value inte } sv.Reason = types.FailedItemReason(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -7379,6 +7491,7 @@ func awsAwsjson11_deserializeDocumentFailedItem(v **types.FailedItem, value inte } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -7452,6 +7565,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.FirewallSubnetId = ptr.String(jtv) } + case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7460,6 +7574,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -7468,6 +7583,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -7476,6 +7592,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7484,6 +7601,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(v **typ } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7523,6 +7641,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.FirewallSubnetId = ptr.String(jtv) } + case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7531,6 +7650,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -7539,6 +7659,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7547,6 +7668,7 @@ func awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(v } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7586,6 +7708,7 @@ func awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction } sv.Description = ptr.String(jtv) } + case "FirewallCreationConfig": if value != nil { jtv, ok := value.(string) @@ -7594,6 +7717,7 @@ func awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction } sv.FirewallCreationConfig = ptr.String(jtv) } + default: _, _ = key, value @@ -7633,6 +7757,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7672,6 +7797,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7711,10 +7837,12 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.CurrentAssociatedNetworkAcl = ptr.String(jtv) } + case "EntryViolations": if err := awsAwsjson11_deserializeDocumentEntryViolations(&sv.EntryViolations, value); err != nil { return err } + case "Subnet": if value != nil { jtv, ok := value.(string) @@ -7723,6 +7851,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.Subnet = ptr.String(jtv) } + case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -7731,6 +7860,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "Vpc": if value != nil { jtv, ok := value.(string) @@ -7739,6 +7869,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(v **types } sv.Vpc = ptr.String(jtv) } + default: _, _ = key, value @@ -7778,6 +7909,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7817,6 +7949,7 @@ func awsAwsjson11_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7928,6 +8061,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7999,6 +8133,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclCommonPolicy(v **types.NetworkAcl if err := awsAwsjson11_deserializeDocumentNetworkAclEntrySet(&sv.NetworkAclEntrySet, value); err != nil { return err } + default: _, _ = key, value @@ -8072,6 +8207,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.CidrBlock = ptr.String(jtv) } + case "Egress": if value != nil { jtv, ok := value.(bool) @@ -8080,10 +8216,12 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Egress = ptr.Bool(jtv) } + case "IcmpTypeCode": if err := awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } + case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -8092,10 +8230,12 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Ipv6CidrBlock = ptr.String(jtv) } + case "PortRange": if err := awsAwsjson11_deserializeDocumentNetworkAclPortRange(&sv.PortRange, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -8104,6 +8244,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.Protocol = ptr.String(jtv) } + case "RuleAction": if value != nil { jtv, ok := value.(string) @@ -8112,6 +8253,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntry(v **types.NetworkAclEntry, } sv.RuleAction = types.NetworkAclRuleAction(jtv) } + default: _, _ = key, value @@ -8147,6 +8289,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr if err := awsAwsjson11_deserializeDocumentNetworkAclEntries(&sv.FirstEntries, value); err != nil { return err } + case "ForceRemediateForFirstEntries": if value != nil { jtv, ok := value.(bool) @@ -8155,6 +8298,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr } sv.ForceRemediateForFirstEntries = ptr.Bool(jtv) } + case "ForceRemediateForLastEntries": if value != nil { jtv, ok := value.(bool) @@ -8163,10 +8307,12 @@ func awsAwsjson11_deserializeDocumentNetworkAclEntrySet(v **types.NetworkAclEntr } sv.ForceRemediateForLastEntries = ptr.Bool(jtv) } + case "LastEntries": if err := awsAwsjson11_deserializeDocumentNetworkAclEntries(&sv.LastEntries, value); err != nil { return err } + default: _, _ = key, value @@ -8210,6 +8356,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(v **types.NetworkAcl } sv.Code = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(json.Number) @@ -8222,6 +8369,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclIcmpTypeCode(v **types.NetworkAcl } sv.Type = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8265,6 +8413,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclPortRange(v **types.NetworkAclPor } sv.From = ptr.Int32(int32(i64)) } + case "To": if value != nil { jtv, ok := value.(json.Number) @@ -8277,6 +8426,7 @@ func awsAwsjson11_deserializeDocumentNetworkAclPortRange(v **types.NetworkAclPor } sv.To = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8352,10 +8502,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.RouteTableId = ptr.String(jtv) } + case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8364,6 +8516,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.ViolationTarget = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8372,6 +8525,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolat } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8407,10 +8561,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualFirewallSubnetRoutes, value); err != nil { return err } + case "ActualInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualInternetGatewayRoutes, value); err != nil { return err } + case "CurrentFirewallSubnetRouteTable": if value != nil { jtv, ok := value.(string) @@ -8419,6 +8575,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } + case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -8427,6 +8584,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } + case "ExpectedFirewallEndpoint": if value != nil { jtv, ok := value.(string) @@ -8435,14 +8593,17 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.ExpectedFirewallEndpoint = ptr.String(jtv) } + case "ExpectedFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedFirewallSubnetRoutes, value); err != nil { return err } + case "ExpectedInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedInternetGatewayRoutes, value); err != nil { return err } + case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8451,6 +8612,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.FirewallSubnetId = ptr.String(jtv) } + case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -8459,6 +8621,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.InternetGatewayId = ptr.String(jtv) } + case "IsRouteTableUsedInDifferentAZ": if value != nil { jtv, ok := value.(bool) @@ -8467,6 +8630,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.IsRouteTableUsedInDifferentAZ = jtv } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -8475,6 +8639,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.RouteTableId = ptr.String(jtv) } + case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -8483,6 +8648,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -8491,10 +8657,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.SubnetId = ptr.String(jtv) } + case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8503,6 +8671,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedV } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8542,6 +8711,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ActualFirewallEndpoint = ptr.String(jtv) } + case "ActualFirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8550,18 +8720,22 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ActualFirewallSubnetId = ptr.String(jtv) } + case "ActualFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualFirewallSubnetRoutes, value); err != nil { return err } + case "ActualInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ActualInternetGatewayRoutes, value); err != nil { return err } + case "AffectedSubnets": if err := awsAwsjson11_deserializeDocumentResourceIdList(&sv.AffectedSubnets, value); err != nil { return err } + case "CurrentFirewallSubnetRouteTable": if value != nil { jtv, ok := value.(string) @@ -8570,6 +8744,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } + case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -8578,6 +8753,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } + case "ExpectedFirewallEndpoint": if value != nil { jtv, ok := value.(string) @@ -8586,6 +8762,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ExpectedFirewallEndpoint = ptr.String(jtv) } + case "ExpectedFirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -8594,14 +8771,17 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.ExpectedFirewallSubnetId = ptr.String(jtv) } + case "ExpectedFirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedFirewallSubnetRoutes, value); err != nil { return err } + case "ExpectedInternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedInternetGatewayRoutes, value); err != nil { return err } + case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -8610,6 +8790,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.InternetGatewayId = ptr.String(jtv) } + case "IsRouteTableUsedInDifferentAZ": if value != nil { jtv, ok := value.(bool) @@ -8618,6 +8799,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.IsRouteTableUsedInDifferentAZ = jtv } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -8626,10 +8808,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.RouteTableId = ptr.String(jtv) } + case "ViolatingRoute": if err := awsAwsjson11_deserializeDocumentRoute(&sv.ViolatingRoute, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8638,6 +8822,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationVio } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8673,6 +8858,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati if err := awsAwsjson11_deserializeDocumentExpectedRoutes(&sv.ExpectedRoutes, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8681,6 +8867,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati } sv.ViolationTarget = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8689,6 +8876,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolati } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8728,6 +8916,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.AvailabilityZone = ptr.String(jtv) } + case "CurrentRouteTable": if value != nil { jtv, ok := value.(string) @@ -8736,6 +8925,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.CurrentRouteTable = ptr.String(jtv) } + case "ExpectedRouteTable": if value != nil { jtv, ok := value.(string) @@ -8744,6 +8934,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.ExpectedRouteTable = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8752,6 +8943,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -8760,6 +8952,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(v } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -8799,6 +8992,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.AvailabilityZone = ptr.String(jtv) } + case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -8807,6 +9001,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.TargetViolationReason = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8815,6 +9010,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -8823,6 +9019,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(v * } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -8862,6 +9059,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.AvailabilityZone = ptr.String(jtv) } + case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -8870,6 +9068,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.TargetViolationReason = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -8878,6 +9077,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -8886,6 +9086,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(v **t } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -8925,6 +9126,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicy(v **types.NetworkFire } sv.FirewallDeploymentModel = types.FirewallDeploymentModel(jtv) } + default: _, _ = key, value @@ -8960,30 +9162,37 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(v **types. if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatefulDefaultActions, value); err != nil { return err } + case "StatefulEngineOptions": if err := awsAwsjson11_deserializeDocumentStatefulEngineOptions(&sv.StatefulEngineOptions, value); err != nil { return err } + case "StatefulRuleGroups": if err := awsAwsjson11_deserializeDocumentStatefulRuleGroupList(&sv.StatefulRuleGroups, value); err != nil { return err } + case "StatelessCustomActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessCustomActions, value); err != nil { return err } + case "StatelessDefaultActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessDefaultActions, value); err != nil { return err } + case "StatelessFragmentDefaultActions": if err := awsAwsjson11_deserializeDocumentNetworkFirewallActionList(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } + case "StatelessRuleGroups": if err := awsAwsjson11_deserializeDocumentStatelessRuleGroupList(&sv.StatelessRuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -9019,10 +9228,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(v ** if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(&sv.CurrentPolicyDescription, value); err != nil { return err } + case "ExpectedPolicyDescription": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyDescription(&sv.ExpectedPolicyDescription, value); err != nil { return err } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -9031,6 +9242,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(v ** } sv.ViolationTarget = ptr.String(jtv) } + default: _, _ = key, value @@ -9070,6 +9282,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallStatefulRuleGroupOverride(v } sv.Action = types.NetworkFirewallOverrideAction(jtv) } + default: _, _ = key, value @@ -9109,6 +9322,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.FirewallEndpoint = ptr.String(jtv) } + case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -9117,6 +9331,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.FirewallSubnetId = ptr.String(jtv) } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -9125,10 +9340,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.RouteTableId = ptr.String(jtv) } + case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9137,6 +9354,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViol } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9176,6 +9394,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.GatewayId = ptr.String(jtv) } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -9184,10 +9403,12 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.RouteTableId = ptr.String(jtv) } + case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9196,6 +9417,7 @@ func awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViola } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9305,6 +9527,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitScope(v **types.Organizat } sv.AllOrganizationalUnitsEnabled = jtv } + case "ExcludeSpecifiedOrganizationalUnits": if value != nil { jtv, ok := value.(bool) @@ -9313,10 +9536,12 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitScope(v **types.Organizat } sv.ExcludeSpecifiedOrganizationalUnits = jtv } + case "OrganizationalUnits": if err := awsAwsjson11_deserializeDocumentOrganizationalUnitIdList(&sv.OrganizationalUnits, value); err != nil { return err } + default: _, _ = key, value @@ -9356,10 +9581,12 @@ func awsAwsjson11_deserializeDocumentPartialMatch(v **types.PartialMatch, value } sv.Reference = ptr.String(jtv) } + case "TargetViolationReasons": if err := awsAwsjson11_deserializeDocumentTargetViolationReasons(&sv.TargetViolationReasons, value); err != nil { return err } + default: _, _ = key, value @@ -9433,10 +9660,12 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.DeleteUnusedFMManagedResources = jtv } + case "ExcludeMap": if err := awsAwsjson11_deserializeDocumentCustomerPolicyScopeMap(&sv.ExcludeMap, value); err != nil { return err } + case "ExcludeResourceTags": if value != nil { jtv, ok := value.(bool) @@ -9445,10 +9674,12 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.ExcludeResourceTags = jtv } + case "IncludeMap": if err := awsAwsjson11_deserializeDocumentCustomerPolicyScopeMap(&sv.IncludeMap, value); err != nil { return err } + case "PolicyDescription": if value != nil { jtv, ok := value.(string) @@ -9457,6 +9688,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyDescription = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9465,6 +9697,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyId = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -9473,6 +9706,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyName = ptr.String(jtv) } + case "PolicyStatus": if value != nil { jtv, ok := value.(string) @@ -9481,6 +9715,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyStatus = types.CustomerPolicyStatus(jtv) } + case "PolicyUpdateToken": if value != nil { jtv, ok := value.(string) @@ -9489,6 +9724,7 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyUpdateToken = ptr.String(jtv) } + case "RemediationEnabled": if value != nil { jtv, ok := value.(bool) @@ -9497,14 +9733,17 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.RemediationEnabled = jtv } + case "ResourceSetIds": if err := awsAwsjson11_deserializeDocumentResourceSetIds(&sv.ResourceSetIds, value); err != nil { return err } + case "ResourceTags": if err := awsAwsjson11_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9513,14 +9752,17 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.ResourceType = ptr.String(jtv) } + case "ResourceTypeList": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypeList, value); err != nil { return err } + case "SecurityServicePolicyData": if err := awsAwsjson11_deserializeDocumentSecurityServicePolicyData(&sv.SecurityServicePolicyData, value); err != nil { return err } + default: _, _ = key, value @@ -9560,6 +9802,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.EvaluationLimitExceeded = jtv } + case "ExpiredAt": if value != nil { switch jtv := value.(type) { @@ -9575,10 +9818,12 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } } + case "IssueInfoMap": if err := awsAwsjson11_deserializeDocumentIssueInfoMap(&sv.IssueInfoMap, value); err != nil { return err } + case "MemberAccount": if value != nil { jtv, ok := value.(string) @@ -9587,6 +9832,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.MemberAccount = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9595,6 +9841,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.PolicyId = ptr.String(jtv) } + case "PolicyOwner": if value != nil { jtv, ok := value.(string) @@ -9603,10 +9850,12 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceDetail(v **types.PolicyComp } sv.PolicyOwner = ptr.String(jtv) } + case "Violators": if err := awsAwsjson11_deserializeDocumentComplianceViolators(&sv.Violators, value); err != nil { return err } + default: _, _ = key, value @@ -9642,10 +9891,12 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp if err := awsAwsjson11_deserializeDocumentEvaluationResults(&sv.EvaluationResults, value); err != nil { return err } + case "IssueInfoMap": if err := awsAwsjson11_deserializeDocumentIssueInfoMap(&sv.IssueInfoMap, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -9661,6 +9912,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } } + case "MemberAccount": if value != nil { jtv, ok := value.(string) @@ -9669,6 +9921,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.MemberAccount = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9677,6 +9930,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyId = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -9685,6 +9939,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyName = ptr.String(jtv) } + case "PolicyOwner": if value != nil { jtv, ok := value.(string) @@ -9693,6 +9948,7 @@ func awsAwsjson11_deserializeDocumentPolicyComplianceStatus(v **types.PolicyComp } sv.PolicyOwner = ptr.String(jtv) } + default: _, _ = key, value @@ -9762,14 +10018,17 @@ func awsAwsjson11_deserializeDocumentPolicyOption(v **types.PolicyOption, value if err := awsAwsjson11_deserializeDocumentNetworkAclCommonPolicy(&sv.NetworkAclCommonPolicy, value); err != nil { return err } + case "NetworkFirewallPolicy": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicy(&sv.NetworkFirewallPolicy, value); err != nil { return err } + case "ThirdPartyFirewallPolicy": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallPolicy(&sv.ThirdPartyFirewallPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -9809,6 +10068,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.DeleteUnusedFMManagedResources = jtv } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -9817,6 +10077,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyArn = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -9825,6 +10086,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyId = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -9833,6 +10095,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyName = ptr.String(jtv) } + case "PolicyStatus": if value != nil { jtv, ok := value.(string) @@ -9841,6 +10104,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.PolicyStatus = types.CustomerPolicyStatus(jtv) } + case "RemediationEnabled": if value != nil { jtv, ok := value.(bool) @@ -9849,6 +10113,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.RemediationEnabled = jtv } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9857,6 +10122,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.ResourceType = ptr.String(jtv) } + case "SecurityServiceType": if value != nil { jtv, ok := value.(string) @@ -9865,6 +10131,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.SecurityServiceType = types.SecurityServiceType(jtv) } + default: _, _ = key, value @@ -9938,10 +10205,12 @@ func awsAwsjson11_deserializeDocumentPolicyTypeScope(v **types.PolicyTypeScope, } sv.AllPolicyTypesEnabled = jtv } + case "PolicyTypes": if err := awsAwsjson11_deserializeDocumentSecurityServiceTypeList(&sv.PolicyTypes, value); err != nil { return err } + default: _, _ = key, value @@ -9981,6 +10250,7 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationAction(v **types.Possibl } sv.Description = ptr.String(jtv) } + case "IsDefaultAction": if value != nil { jtv, ok := value.(bool) @@ -9989,10 +10259,12 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationAction(v **types.Possibl } sv.IsDefaultAction = jtv } + case "OrderedRemediationActions": if err := awsAwsjson11_deserializeDocumentOrderedRemediationActions(&sv.OrderedRemediationActions, value); err != nil { return err } + default: _, _ = key, value @@ -10062,6 +10334,7 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationActions(v **types.Possib if err := awsAwsjson11_deserializeDocumentPossibleRemediationActionList(&sv.Actions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10070,6 +10343,7 @@ func awsAwsjson11_deserializeDocumentPossibleRemediationActions(v **types.Possib } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -10220,6 +10494,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -10235,6 +10510,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } } + case "ListId": if value != nil { jtv, ok := value.(string) @@ -10243,6 +10519,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListId = ptr.String(jtv) } + case "ListName": if value != nil { jtv, ok := value.(string) @@ -10251,6 +10528,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListName = ptr.String(jtv) } + case "ListUpdateToken": if value != nil { jtv, ok := value.(string) @@ -10259,14 +10537,17 @@ func awsAwsjson11_deserializeDocumentProtocolsListData(v **types.ProtocolsListDa } sv.ListUpdateToken = ptr.String(jtv) } + case "PreviousProtocolsList": if err := awsAwsjson11_deserializeDocumentPreviousProtocolsList(&sv.PreviousProtocolsList, value); err != nil { return err } + case "ProtocolsList": if err := awsAwsjson11_deserializeDocumentProtocolsList(&sv.ProtocolsList, value); err != nil { return err } + default: _, _ = key, value @@ -10306,6 +10587,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListArn = ptr.String(jtv) } + case "ListId": if value != nil { jtv, ok := value.(string) @@ -10314,6 +10596,7 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListId = ptr.String(jtv) } + case "ListName": if value != nil { jtv, ok := value.(string) @@ -10322,10 +10605,12 @@ func awsAwsjson11_deserializeDocumentProtocolsListDataSummary(v **types.Protocol } sv.ListName = ptr.String(jtv) } + case "ProtocolsList": if err := awsAwsjson11_deserializeDocumentProtocolsList(&sv.ProtocolsList, value); err != nil { return err } + default: _, _ = key, value @@ -10399,10 +10684,12 @@ func awsAwsjson11_deserializeDocumentRegionScope(v **types.RegionScope, value in } sv.AllRegionsEnabled = jtv } + case "Regions": if err := awsAwsjson11_deserializeDocumentAWSRegionList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -10438,14 +10725,17 @@ func awsAwsjson11_deserializeDocumentRemediationAction(v **types.RemediationActi if err := awsAwsjson11_deserializeDocumentCreateNetworkAclAction(&sv.CreateNetworkAclAction, value); err != nil { return err } + case "CreateNetworkAclEntriesAction": if err := awsAwsjson11_deserializeDocumentCreateNetworkAclEntriesAction(&sv.CreateNetworkAclEntriesAction, value); err != nil { return err } + case "DeleteNetworkAclEntriesAction": if err := awsAwsjson11_deserializeDocumentDeleteNetworkAclEntriesAction(&sv.DeleteNetworkAclEntriesAction, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10454,42 +10744,52 @@ func awsAwsjson11_deserializeDocumentRemediationAction(v **types.RemediationActi } sv.Description = ptr.String(jtv) } + case "EC2AssociateRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2AssociateRouteTableAction(&sv.EC2AssociateRouteTableAction, value); err != nil { return err } + case "EC2CopyRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2CopyRouteTableAction(&sv.EC2CopyRouteTableAction, value); err != nil { return err } + case "EC2CreateRouteAction": if err := awsAwsjson11_deserializeDocumentEC2CreateRouteAction(&sv.EC2CreateRouteAction, value); err != nil { return err } + case "EC2CreateRouteTableAction": if err := awsAwsjson11_deserializeDocumentEC2CreateRouteTableAction(&sv.EC2CreateRouteTableAction, value); err != nil { return err } + case "EC2DeleteRouteAction": if err := awsAwsjson11_deserializeDocumentEC2DeleteRouteAction(&sv.EC2DeleteRouteAction, value); err != nil { return err } + case "EC2ReplaceRouteAction": if err := awsAwsjson11_deserializeDocumentEC2ReplaceRouteAction(&sv.EC2ReplaceRouteAction, value); err != nil { return err } + case "EC2ReplaceRouteTableAssociationAction": if err := awsAwsjson11_deserializeDocumentEC2ReplaceRouteTableAssociationAction(&sv.EC2ReplaceRouteTableAssociationAction, value); err != nil { return err } + case "FMSPolicyUpdateFirewallCreationConfigAction": if err := awsAwsjson11_deserializeDocumentFMSPolicyUpdateFirewallCreationConfigAction(&sv.FMSPolicyUpdateFirewallCreationConfigAction, value); err != nil { return err } + case "ReplaceNetworkAclAssociationAction": if err := awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(&sv.ReplaceNetworkAclAssociationAction, value); err != nil { return err } + default: _, _ = key, value @@ -10533,10 +10833,12 @@ func awsAwsjson11_deserializeDocumentRemediationActionWithOrder(v **types.Remedi } sv.Order = int32(i64) } + case "RemediationAction": if err := awsAwsjson11_deserializeDocumentRemediationAction(&sv.RemediationAction, value); err != nil { return err } + default: _, _ = key, value @@ -10572,6 +10874,7 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.AssociationId, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10580,6 +10883,7 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type } sv.Description = ptr.String(jtv) } + case "FMSCanRemediate": if value != nil { jtv, ok := value.(bool) @@ -10588,10 +10892,12 @@ func awsAwsjson11_deserializeDocumentReplaceNetworkAclAssociationAction(v **type } sv.FMSCanRemediate = jtv } + case "NetworkAclId": if err := awsAwsjson11_deserializeDocumentActionTarget(&sv.NetworkAclId, value); err != nil { return err } + default: _, _ = key, value @@ -10631,6 +10937,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.AccountId = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -10639,6 +10946,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -10784,6 +11092,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10823,6 +11132,7 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10831,6 +11141,7 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Id = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -10846,6 +11157,7 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10854,6 +11166,7 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.Name = ptr.String(jtv) } + case "ResourceSetStatus": if value != nil { jtv, ok := value.(string) @@ -10862,10 +11175,12 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.ResourceSetStatus = types.ResourceSetStatus(jtv) } + case "ResourceTypeList": if err := awsAwsjson11_deserializeDocumentResourceTypeList(&sv.ResourceTypeList, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10874,6 +11189,7 @@ func awsAwsjson11_deserializeDocumentResourceSet(v **types.ResourceSet, value in } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10949,6 +11265,7 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10957,6 +11274,7 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Id = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -10972,6 +11290,7 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10980,6 +11299,7 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.Name = ptr.String(jtv) } + case "ResourceSetStatus": if value != nil { jtv, ok := value.(string) @@ -10988,6 +11308,7 @@ func awsAwsjson11_deserializeDocumentResourceSetSummary(v **types.ResourceSetSum } sv.ResourceSetStatus = types.ResourceSetStatus(jtv) } + default: _, _ = key, value @@ -11061,6 +11382,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11069,6 +11391,7 @@ func awsAwsjson11_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11174,106 +11497,132 @@ func awsAwsjson11_deserializeDocumentResourceViolation(v **types.ResourceViolati if err := awsAwsjson11_deserializeDocumentAwsEc2InstanceViolation(&sv.AwsEc2InstanceViolation, value); err != nil { return err } + case "AwsEc2NetworkInterfaceViolation": if err := awsAwsjson11_deserializeDocumentAwsEc2NetworkInterfaceViolation(&sv.AwsEc2NetworkInterfaceViolation, value); err != nil { return err } + case "AwsVPCSecurityGroupViolation": if err := awsAwsjson11_deserializeDocumentAwsVPCSecurityGroupViolation(&sv.AwsVPCSecurityGroupViolation, value); err != nil { return err } + case "DnsDuplicateRuleGroupViolation": if err := awsAwsjson11_deserializeDocumentDnsDuplicateRuleGroupViolation(&sv.DnsDuplicateRuleGroupViolation, value); err != nil { return err } + case "DnsRuleGroupLimitExceededViolation": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupLimitExceededViolation(&sv.DnsRuleGroupLimitExceededViolation, value); err != nil { return err } + case "DnsRuleGroupPriorityConflictViolation": if err := awsAwsjson11_deserializeDocumentDnsRuleGroupPriorityConflictViolation(&sv.DnsRuleGroupPriorityConflictViolation, value); err != nil { return err } + case "FirewallSubnetIsOutOfScopeViolation": if err := awsAwsjson11_deserializeDocumentFirewallSubnetIsOutOfScopeViolation(&sv.FirewallSubnetIsOutOfScopeViolation, value); err != nil { return err } + case "FirewallSubnetMissingVPCEndpointViolation": if err := awsAwsjson11_deserializeDocumentFirewallSubnetMissingVPCEndpointViolation(&sv.FirewallSubnetMissingVPCEndpointViolation, value); err != nil { return err } + case "InvalidNetworkAclEntriesViolation": if err := awsAwsjson11_deserializeDocumentInvalidNetworkAclEntriesViolation(&sv.InvalidNetworkAclEntriesViolation, value); err != nil { return err } + case "NetworkFirewallBlackHoleRouteDetectedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallBlackHoleRouteDetectedViolation(&sv.NetworkFirewallBlackHoleRouteDetectedViolation, value); err != nil { return err } + case "NetworkFirewallInternetTrafficNotInspectedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallInternetTrafficNotInspectedViolation(&sv.NetworkFirewallInternetTrafficNotInspectedViolation, value); err != nil { return err } + case "NetworkFirewallInvalidRouteConfigurationViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallInvalidRouteConfigurationViolation(&sv.NetworkFirewallInvalidRouteConfigurationViolation, value); err != nil { return err } + case "NetworkFirewallMissingExpectedRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRoutesViolation(&sv.NetworkFirewallMissingExpectedRoutesViolation, value); err != nil { return err } + case "NetworkFirewallMissingExpectedRTViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingExpectedRTViolation(&sv.NetworkFirewallMissingExpectedRTViolation, value); err != nil { return err } + case "NetworkFirewallMissingFirewallViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingFirewallViolation(&sv.NetworkFirewallMissingFirewallViolation, value); err != nil { return err } + case "NetworkFirewallMissingSubnetViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallMissingSubnetViolation(&sv.NetworkFirewallMissingSubnetViolation, value); err != nil { return err } + case "NetworkFirewallPolicyModifiedViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallPolicyModifiedViolation(&sv.NetworkFirewallPolicyModifiedViolation, value); err != nil { return err } + case "NetworkFirewallUnexpectedFirewallRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedFirewallRoutesViolation(&sv.NetworkFirewallUnexpectedFirewallRoutesViolation, value); err != nil { return err } + case "NetworkFirewallUnexpectedGatewayRoutesViolation": if err := awsAwsjson11_deserializeDocumentNetworkFirewallUnexpectedGatewayRoutesViolation(&sv.NetworkFirewallUnexpectedGatewayRoutesViolation, value); err != nil { return err } + case "PossibleRemediationActions": if err := awsAwsjson11_deserializeDocumentPossibleRemediationActions(&sv.PossibleRemediationActions, value); err != nil { return err } + case "RouteHasOutOfScopeEndpointViolation": if err := awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(&sv.RouteHasOutOfScopeEndpointViolation, value); err != nil { return err } + case "ThirdPartyFirewallMissingExpectedRouteTableViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTableViolation(&sv.ThirdPartyFirewallMissingExpectedRouteTableViolation, value); err != nil { return err } + case "ThirdPartyFirewallMissingFirewallViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation(&sv.ThirdPartyFirewallMissingFirewallViolation, value); err != nil { return err } + case "ThirdPartyFirewallMissingSubnetViolation": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(&sv.ThirdPartyFirewallMissingSubnetViolation, value); err != nil { return err } + case "WebACLHasIncompatibleConfigurationViolation": if err := awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation(&sv.WebACLHasIncompatibleConfigurationViolation, value); err != nil { return err } + case "WebACLHasOutOfScopeResourcesViolation": if err := awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(&sv.WebACLHasOutOfScopeResourcesViolation, value); err != nil { return err } + default: _, _ = key, value @@ -11347,6 +11696,7 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Destination = ptr.String(jtv) } + case "DestinationType": if value != nil { jtv, ok := value.(string) @@ -11355,6 +11705,7 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.DestinationType = types.DestinationType(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -11363,6 +11714,7 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Target = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -11371,6 +11723,7 @@ func awsAwsjson11_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.TargetType = types.TargetType(jtv) } + default: _, _ = key, value @@ -11410,6 +11763,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.CurrentFirewallSubnetRouteTable = ptr.String(jtv) } + case "CurrentInternetGatewayRouteTable": if value != nil { jtv, ok := value.(string) @@ -11418,6 +11772,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.CurrentInternetGatewayRouteTable = ptr.String(jtv) } + case "FirewallSubnetId": if value != nil { jtv, ok := value.(string) @@ -11426,10 +11781,12 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.FirewallSubnetId = ptr.String(jtv) } + case "FirewallSubnetRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.FirewallSubnetRoutes, value); err != nil { return err } + case "InternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -11438,10 +11795,12 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.InternetGatewayId = ptr.String(jtv) } + case "InternetGatewayRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.InternetGatewayRoutes, value); err != nil { return err } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -11450,6 +11809,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.RouteTableId = ptr.String(jtv) } + case "SubnetAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11458,6 +11818,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetAvailabilityZone = ptr.String(jtv) } + case "SubnetAvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -11466,6 +11827,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetAvailabilityZoneId = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -11474,10 +11836,12 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.SubnetId = ptr.String(jtv) } + case "ViolatingRoutes": if err := awsAwsjson11_deserializeDocumentRoutes(&sv.ViolatingRoutes, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11486,6 +11850,7 @@ func awsAwsjson11_deserializeDocumentRouteHasOutOfScopeEndpointViolation(v **typ } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -11559,6 +11924,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.Description = ptr.String(jtv) } + case "IsDefaultAction": if value != nil { jtv, ok := value.(bool) @@ -11567,6 +11933,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.IsDefaultAction = jtv } + case "RemediationActionType": if value != nil { jtv, ok := value.(string) @@ -11575,10 +11942,12 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRemediationAction(v **types.Se } sv.RemediationActionType = types.RemediationActionType(jtv) } + case "RemediationResult": if err := awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(&sv.RemediationResult, value); err != nil { return err } + default: _, _ = key, value @@ -11656,6 +12025,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.FromPort = ptr.Int64(i64) } + case "IPV4Range": if value != nil { jtv, ok := value.(string) @@ -11664,6 +12034,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.IPV4Range = ptr.String(jtv) } + case "IPV6Range": if value != nil { jtv, ok := value.(string) @@ -11672,6 +12043,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.IPV6Range = ptr.String(jtv) } + case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -11680,6 +12052,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.PrefixListId = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -11688,6 +12061,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.Protocol = ptr.String(jtv) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -11700,6 +12074,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupRuleDescription(v **types.Secu } sv.ToPort = ptr.Int64(i64) } + default: _, _ = key, value @@ -11739,10 +12114,12 @@ func awsAwsjson11_deserializeDocumentSecurityServicePolicyData(v **types.Securit } sv.ManagedServiceData = ptr.String(jtv) } + case "PolicyOption": if err := awsAwsjson11_deserializeDocumentPolicyOption(&sv.PolicyOption, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11751,6 +12128,7 @@ func awsAwsjson11_deserializeDocumentSecurityServicePolicyData(v **types.Securit } sv.Type = types.SecurityServiceType(jtv) } + default: _, _ = key, value @@ -11826,6 +12204,7 @@ func awsAwsjson11_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.RuleOrder = types.RuleOrder(jtv) } + case "StreamExceptionPolicy": if value != nil { jtv, ok := value.(string) @@ -11834,6 +12213,7 @@ func awsAwsjson11_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.StreamExceptionPolicy = types.StreamExceptionPolicy(jtv) } + default: _, _ = key, value @@ -11869,6 +12249,7 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro if err := awsAwsjson11_deserializeDocumentNetworkFirewallStatefulRuleGroupOverride(&sv.Override, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -11881,6 +12262,7 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.Priority = ptr.Int32(int32(i64)) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11889,6 +12271,7 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.ResourceId = ptr.String(jtv) } + case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -11897,6 +12280,7 @@ func awsAwsjson11_deserializeDocumentStatefulRuleGroup(v **types.StatefulRuleGro } sv.RuleGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -11974,6 +12358,7 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.Priority = ptr.Int32(int32(i64)) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11982,6 +12367,7 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.ResourceId = ptr.String(jtv) } + case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -11990,6 +12376,7 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG } sv.RuleGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -12063,6 +12450,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12071,6 +12459,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12214,6 +12603,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicy(v **types. } sv.FirewallPolicyId = ptr.String(jtv) } + case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -12222,6 +12612,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicy(v **types. } sv.FirewallPolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -12261,6 +12652,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.AvailabilityZone = ptr.String(jtv) } + case "CurrentRouteTable": if value != nil { jtv, ok := value.(string) @@ -12269,6 +12661,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.CurrentRouteTable = ptr.String(jtv) } + case "ExpectedRouteTable": if value != nil { jtv, ok := value.(string) @@ -12277,6 +12670,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.ExpectedRouteTable = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12285,6 +12679,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -12293,6 +12688,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingExpectedRouteTable } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -12332,6 +12728,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.AvailabilityZone = ptr.String(jtv) } + case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -12340,6 +12737,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.TargetViolationReason = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12348,6 +12746,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -12356,6 +12755,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingFirewallViolation( } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -12395,6 +12795,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.AvailabilityZone = ptr.String(jtv) } + case "TargetViolationReason": if value != nil { jtv, ok := value.(string) @@ -12403,6 +12804,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.TargetViolationReason = ptr.String(jtv) } + case "ViolationTarget": if value != nil { jtv, ok := value.(string) @@ -12411,6 +12813,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.ViolationTarget = ptr.String(jtv) } + case "VPC": if value != nil { jtv, ok := value.(string) @@ -12419,6 +12822,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallMissingSubnetViolation(v } sv.VPC = ptr.String(jtv) } + default: _, _ = key, value @@ -12458,6 +12862,7 @@ func awsAwsjson11_deserializeDocumentThirdPartyFirewallPolicy(v **types.ThirdPar } sv.FirewallDeploymentModel = types.FirewallDeploymentModel(jtv) } + default: _, _ = key, value @@ -12497,6 +12902,7 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.MemberAccount = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -12505,6 +12911,7 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.PolicyId = ptr.String(jtv) } + case "ResourceDescription": if value != nil { jtv, ok := value.(string) @@ -12513,6 +12920,7 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceDescription = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12521,10 +12929,12 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceId = ptr.String(jtv) } + case "ResourceTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12533,10 +12943,12 @@ func awsAwsjson11_deserializeDocumentViolationDetail(v **types.ViolationDetail, } sv.ResourceType = ptr.String(jtv) } + case "ResourceViolations": if err := awsAwsjson11_deserializeDocumentResourceViolations(&sv.ResourceViolations, value); err != nil { return err } + default: _, _ = key, value @@ -12576,6 +12988,7 @@ func awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation } sv.Description = ptr.String(jtv) } + case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -12584,6 +12997,7 @@ func awsAwsjson11_deserializeDocumentWebACLHasIncompatibleConfigurationViolation } sv.WebACLArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12619,6 +13033,7 @@ func awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(v **t if err := awsAwsjson11_deserializeDocumentResourceArnList(&sv.OutOfScopeResourceList, value); err != nil { return err } + case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -12627,6 +13042,7 @@ func awsAwsjson11_deserializeDocumentWebACLHasOutOfScopeResourcesViolation(v **t } sv.WebACLArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12666,6 +13082,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateThirdPartyFirewallOutput(v **Ass } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } + default: _, _ = key, value @@ -12701,6 +13118,7 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateResourceOutput(v **BatchAss if err := awsAwsjson11_deserializeDocumentFailedItemList(&sv.FailedItems, value); err != nil { return err } + case "ResourceSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -12709,6 +13127,7 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateResourceOutput(v **BatchAss } sv.ResourceSetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12744,6 +13163,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateResourceOutput(v **Batch if err := awsAwsjson11_deserializeDocumentFailedItemList(&sv.FailedItems, value); err != nil { return err } + case "ResourceSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -12752,6 +13172,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateResourceOutput(v **Batch } sv.ResourceSetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12791,6 +13212,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateThirdPartyFirewallOutput(v ** } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } + default: _, _ = key, value @@ -12830,6 +13252,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdminAccountOutput(v **GetAdminAccount } sv.AdminAccount = ptr.String(jtv) } + case "RoleStatus": if value != nil { jtv, ok := value.(string) @@ -12838,6 +13261,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdminAccountOutput(v **GetAdminAccount } sv.RoleStatus = types.AccountRoleStatus(jtv) } + default: _, _ = key, value @@ -12873,6 +13297,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdminScopeOutput(v **GetAdminScopeOutp if err := awsAwsjson11_deserializeDocumentAdminScope(&sv.AdminScope, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12881,6 +13306,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdminScopeOutput(v **GetAdminScopeOutp } sv.Status = types.OrganizationStatus(jtv) } + default: _, _ = key, value @@ -12916,6 +13342,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppsListOutput(v **GetAppsListOutput, if err := awsAwsjson11_deserializeDocumentAppsListData(&sv.AppsList, value); err != nil { return err } + case "AppsListArn": if value != nil { jtv, ok := value.(string) @@ -12924,6 +13351,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppsListOutput(v **GetAppsListOutput, } sv.AppsListArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12959,6 +13387,7 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceDetailOutput(v **GetComplian if err := awsAwsjson11_deserializeDocumentPolicyComplianceDetail(&sv.PolicyComplianceDetail, value); err != nil { return err } + default: _, _ = key, value @@ -12998,6 +13427,7 @@ func awsAwsjson11_deserializeOpDocumentGetNotificationChannelOutput(v **GetNotif } sv.SnsRoleName = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -13006,6 +13436,7 @@ func awsAwsjson11_deserializeOpDocumentGetNotificationChannelOutput(v **GetNotif } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13041,6 +13472,7 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -13049,6 +13481,7 @@ func awsAwsjson11_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13088,6 +13521,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.AdminAccountId = ptr.String(jtv) } + case "Data": if value != nil { jtv, ok := value.(string) @@ -13096,6 +13530,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.Data = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13104,6 +13539,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.NextToken = ptr.String(jtv) } + case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -13112,6 +13548,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtectionStatusOutput(v **GetProtecti } sv.ServiceType = types.SecurityServiceType(jtv) } + default: _, _ = key, value @@ -13147,6 +13584,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtocolsListOutput(v **GetProtocolsLi if err := awsAwsjson11_deserializeDocumentProtocolsListData(&sv.ProtocolsList, value); err != nil { return err } + case "ProtocolsListArn": if value != nil { jtv, ok := value.(string) @@ -13155,6 +13593,7 @@ func awsAwsjson11_deserializeOpDocumentGetProtocolsListOutput(v **GetProtocolsLi } sv.ProtocolsListArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13190,6 +13629,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu if err := awsAwsjson11_deserializeDocumentResourceSet(&sv.ResourceSet, value); err != nil { return err } + case "ResourceSetArn": if value != nil { jtv, ok := value.(string) @@ -13198,6 +13638,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13237,6 +13678,7 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyFirewallAssociationStatusOut } sv.MarketplaceOnboardingStatus = types.MarketplaceSubscriptionOnboardingStatus(jtv) } + case "ThirdPartyFirewallStatus": if value != nil { jtv, ok := value.(string) @@ -13245,6 +13687,7 @@ func awsAwsjson11_deserializeOpDocumentGetThirdPartyFirewallAssociationStatusOut } sv.ThirdPartyFirewallStatus = types.ThirdPartyFirewallAssociationStatus(jtv) } + default: _, _ = key, value @@ -13280,6 +13723,7 @@ func awsAwsjson11_deserializeOpDocumentGetViolationDetailsOutput(v **GetViolatio if err := awsAwsjson11_deserializeDocumentViolationDetail(&sv.ViolationDetail, value); err != nil { return err } + default: _, _ = key, value @@ -13315,6 +13759,7 @@ func awsAwsjson11_deserializeOpDocumentListAdminAccountsForOrganizationOutput(v if err := awsAwsjson11_deserializeDocumentAdminAccountSummaryList(&sv.AdminAccounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13323,6 +13768,7 @@ func awsAwsjson11_deserializeOpDocumentListAdminAccountsForOrganizationOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13358,6 +13804,7 @@ func awsAwsjson11_deserializeOpDocumentListAdminsManagingAccountOutput(v **ListA if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AdminAccounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13366,6 +13813,7 @@ func awsAwsjson11_deserializeOpDocumentListAdminsManagingAccountOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13401,6 +13849,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsListsOutput(v **ListAppsListsOutp if err := awsAwsjson11_deserializeDocumentAppsListsData(&sv.AppsLists, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13409,6 +13858,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsListsOutput(v **ListAppsListsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13448,10 +13898,12 @@ func awsAwsjson11_deserializeOpDocumentListComplianceStatusOutput(v **ListCompli } sv.NextToken = ptr.String(jtv) } + case "PolicyComplianceStatusList": if err := awsAwsjson11_deserializeDocumentPolicyComplianceStatusList(&sv.PolicyComplianceStatusList, value); err != nil { return err } + default: _, _ = key, value @@ -13487,6 +13939,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis if err := awsAwsjson11_deserializeDocumentDiscoveredResourceList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13495,6 +13948,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13530,6 +13984,7 @@ func awsAwsjson11_deserializeOpDocumentListMemberAccountsOutput(v **ListMemberAc if err := awsAwsjson11_deserializeDocumentMemberAccounts(&sv.MemberAccounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13538,6 +13993,7 @@ func awsAwsjson11_deserializeOpDocumentListMemberAccountsOutput(v **ListMemberAc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13577,10 +14033,12 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } + case "PolicyList": if err := awsAwsjson11_deserializeDocumentPolicySummaryList(&sv.PolicyList, value); err != nil { return err } + default: _, _ = key, value @@ -13620,10 +14078,12 @@ func awsAwsjson11_deserializeOpDocumentListProtocolsListsOutput(v **ListProtocol } sv.NextToken = ptr.String(jtv) } + case "ProtocolsLists": if err := awsAwsjson11_deserializeDocumentProtocolsListsData(&sv.ProtocolsLists, value); err != nil { return err } + default: _, _ = key, value @@ -13659,6 +14119,7 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetResourcesOutput(v **ListRe if err := awsAwsjson11_deserializeDocumentResourceList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13667,6 +14128,7 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetResourcesOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13706,10 +14168,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceSetsOutput(v **ListResourceSe } sv.NextToken = ptr.String(jtv) } + case "ResourceSets": if err := awsAwsjson11_deserializeDocumentResourceSetSummaryList(&sv.ResourceSets, value); err != nil { return err } + default: _, _ = key, value @@ -13745,6 +14209,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -13784,10 +14249,12 @@ func awsAwsjson11_deserializeOpDocumentListThirdPartyFirewallFirewallPoliciesOut } sv.NextToken = ptr.String(jtv) } + case "ThirdPartyFirewallFirewallPolicies": if err := awsAwsjson11_deserializeDocumentThirdPartyFirewallFirewallPolicies(&sv.ThirdPartyFirewallFirewallPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -13823,6 +14290,7 @@ func awsAwsjson11_deserializeOpDocumentPutAppsListOutput(v **PutAppsListOutput, if err := awsAwsjson11_deserializeDocumentAppsListData(&sv.AppsList, value); err != nil { return err } + case "AppsListArn": if value != nil { jtv, ok := value.(string) @@ -13831,6 +14299,7 @@ func awsAwsjson11_deserializeOpDocumentPutAppsListOutput(v **PutAppsListOutput, } sv.AppsListArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13866,6 +14335,7 @@ func awsAwsjson11_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -13874,6 +14344,7 @@ func awsAwsjson11_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13909,6 +14380,7 @@ func awsAwsjson11_deserializeOpDocumentPutProtocolsListOutput(v **PutProtocolsLi if err := awsAwsjson11_deserializeDocumentProtocolsListData(&sv.ProtocolsList, value); err != nil { return err } + case "ProtocolsListArn": if value != nil { jtv, ok := value.(string) @@ -13917,6 +14389,7 @@ func awsAwsjson11_deserializeOpDocumentPutProtocolsListOutput(v **PutProtocolsLi } sv.ProtocolsListArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13952,6 +14425,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourceSetOutput(v **PutResourceSetOu if err := awsAwsjson11_deserializeDocumentResourceSet(&sv.ResourceSet, value); err != nil { return err } + case "ResourceSetArn": if value != nil { jtv, ok := value.(string) @@ -13960,6 +14434,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourceSetOutput(v **PutResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/forecast/deserializers.go b/service/forecast/deserializers.go index 67147d2af12..fba9e24027e 100644 --- a/service/forecast/deserializers.go +++ b/service/forecast/deserializers.go @@ -7278,6 +7278,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.AttributeName = ptr.String(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -7286,6 +7287,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Operation = types.Operation(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -7319,6 +7321,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } } + default: _, _ = key, value @@ -7354,6 +7357,7 @@ func awsAwsjson11_deserializeDocumentAdditionalDataset(v **types.AdditionalDatas if err := awsAwsjson11_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7362,6 +7366,7 @@ func awsAwsjson11_deserializeDocumentAdditionalDataset(v **types.AdditionalDatas } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7471,10 +7476,12 @@ func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, } sv.AttributeName = ptr.String(jtv) } + case "Transformations": if err := awsAwsjson11_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { return err } + default: _, _ = key, value @@ -7544,6 +7551,7 @@ func awsAwsjson11_deserializeDocumentBaseline(v **types.Baseline, value interfac if err := awsAwsjson11_deserializeDocumentPredictorBaseline(&sv.PredictorBaseline, value); err != nil { return err } + default: _, _ = key, value @@ -7583,6 +7591,7 @@ func awsAwsjson11_deserializeDocumentBaselineMetric(v **types.BaselineMetric, va } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -7616,6 +7625,7 @@ func awsAwsjson11_deserializeDocumentBaselineMetric(v **types.BaselineMetric, va } } + default: _, _ = key, value @@ -7689,10 +7699,12 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRange(v **types.Categor } sv.Name = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7825,6 +7837,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } } + case "MinValue": if value != nil { switch jtv := value.(type) { @@ -7858,6 +7871,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7866,6 +7880,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.Name = ptr.String(jtv) } + case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -7874,6 +7889,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.ScalingType = types.ScalingType(jtv) } + default: _, _ = key, value @@ -7943,10 +7959,12 @@ func awsAwsjson11_deserializeDocumentDataConfig(v **types.DataConfig, value inte if err := awsAwsjson11_deserializeDocumentAdditionalDatasets(&sv.AdditionalDatasets, value); err != nil { return err } + case "AttributeConfigs": if err := awsAwsjson11_deserializeDocumentAttributeConfigs(&sv.AttributeConfigs, value); err != nil { return err } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -7955,6 +7973,7 @@ func awsAwsjson11_deserializeDocumentDataConfig(v **types.DataConfig, value inte } sv.DatasetGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7990,6 +8009,7 @@ func awsAwsjson11_deserializeDocumentDataDestination(v **types.DataDestination, if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + default: _, _ = key, value @@ -8070,6 +8090,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -8078,6 +8099,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupArn = ptr.String(jtv) } + case "DatasetGroupName": if value != nil { jtv, ok := value.(string) @@ -8086,6 +8108,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8101,6 +8124,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } + default: _, _ = key, value @@ -8181,6 +8205,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } + case "DatasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -8189,6 +8214,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobArn = ptr.String(jtv) } + case "DatasetImportJobName": if value != nil { jtv, ok := value.(string) @@ -8197,10 +8223,12 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobName = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -8209,6 +8237,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.ImportMode = types.ImportMode(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8224,6 +8253,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -8232,6 +8262,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8240,6 +8271,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8320,6 +8352,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -8328,6 +8361,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -8336,6 +8370,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8379,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetType = types.DatasetType(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -8352,6 +8388,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Domain = types.Domain(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8367,6 +8404,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + default: _, _ = key, value @@ -8402,6 +8440,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + default: _, _ = key, value @@ -8441,6 +8480,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KMSKeyArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8449,6 +8489,7 @@ func awsAwsjson11_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8488,6 +8529,7 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } sv.ForecastType = ptr.String(jtv) } + case "MAPE": if value != nil { switch jtv := value.(type) { @@ -8521,6 +8563,7 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } + case "MASE": if value != nil { switch jtv := value.(type) { @@ -8554,6 +8597,7 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } + case "RMSE": if value != nil { switch jtv := value.(type) { @@ -8587,6 +8631,7 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } + case "WAPE": if value != nil { switch jtv := value.(type) { @@ -8620,6 +8665,7 @@ func awsAwsjson11_deserializeDocumentErrorMetric(v **types.ErrorMetric, value in } } + default: _, _ = key, value @@ -8697,6 +8743,7 @@ func awsAwsjson11_deserializeDocumentEvaluationParameters(v **types.EvaluationPa } sv.BackTestWindowOffset = ptr.Int32(int32(i64)) } + case "NumberOfBacktestWindows": if value != nil { jtv, ok := value.(json.Number) @@ -8709,6 +8756,7 @@ func awsAwsjson11_deserializeDocumentEvaluationParameters(v **types.EvaluationPa } sv.NumberOfBacktestWindows = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8748,10 +8796,12 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } sv.AlgorithmArn = ptr.String(jtv) } + case "TestWindows": if err := awsAwsjson11_deserializeDocumentTestWindows(&sv.TestWindows, value); err != nil { return err } + default: _, _ = key, value @@ -8825,6 +8875,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityConfig(v **types.Explainabili } sv.TimePointGranularity = types.TimePointGranularity(jtv) } + case "TimeSeriesGranularity": if value != nil { jtv, ok := value.(string) @@ -8833,6 +8884,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityConfig(v **types.Explainabili } sv.TimeSeriesGranularity = types.TimeSeriesGranularity(jtv) } + default: _, _ = key, value @@ -8913,10 +8965,12 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "ExplainabilityExportArn": if value != nil { jtv, ok := value.(string) @@ -8925,6 +8979,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.ExplainabilityExportArn = ptr.String(jtv) } + case "ExplainabilityExportName": if value != nil { jtv, ok := value.(string) @@ -8933,6 +8988,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.ExplainabilityExportName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8948,6 +9004,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -8956,6 +9013,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8964,6 +9022,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityExportSummary(v **types.Expla } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9003,6 +9062,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityInfo(v **types.Explainability } sv.ExplainabilityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9011,6 +9071,7 @@ func awsAwsjson11_deserializeDocumentExplainabilityInfo(v **types.Explainability } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9057,6 +9118,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } } + case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -9065,10 +9127,12 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ExplainabilityArn = ptr.String(jtv) } + case "ExplainabilityConfig": if err := awsAwsjson11_deserializeDocumentExplainabilityConfig(&sv.ExplainabilityConfig, value); err != nil { return err } + case "ExplainabilityName": if value != nil { jtv, ok := value.(string) @@ -9077,6 +9141,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ExplainabilityName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9092,6 +9157,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9100,6 +9166,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.Message = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9108,6 +9175,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.ResourceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9116,6 +9184,7 @@ func awsAwsjson11_deserializeDocumentExplainabilitySummary(v **types.Explainabil } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9155,10 +9224,12 @@ func awsAwsjson11_deserializeDocumentFeaturization(v **types.Featurization, valu } sv.AttributeName = ptr.String(jtv) } + case "FeaturizationPipeline": if err := awsAwsjson11_deserializeDocumentFeaturizationPipeline(&sv.FeaturizationPipeline, value); err != nil { return err } + default: _, _ = key, value @@ -9194,10 +9265,12 @@ func awsAwsjson11_deserializeDocumentFeaturizationConfig(v **types.Featurization if err := awsAwsjson11_deserializeDocumentFeaturizations(&sv.Featurizations, value); err != nil { return err } + case "ForecastDimensions": if err := awsAwsjson11_deserializeDocumentForecastDimensions(&sv.ForecastDimensions, value); err != nil { return err } + case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -9206,6 +9279,7 @@ func awsAwsjson11_deserializeDocumentFeaturizationConfig(v **types.Featurization } sv.ForecastFrequency = ptr.String(jtv) } + default: _, _ = key, value @@ -9245,10 +9319,12 @@ func awsAwsjson11_deserializeDocumentFeaturizationMethod(v **types.Featurization } sv.FeaturizationMethodName = types.FeaturizationMethodName(jtv) } + case "FeaturizationMethodParameters": if err := awsAwsjson11_deserializeDocumentFeaturizationMethodParameters(&sv.FeaturizationMethodParameters, value); err != nil { return err } + default: _, _ = key, value @@ -9504,10 +9580,12 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "ForecastExportJobArn": if value != nil { jtv, ok := value.(string) @@ -9516,6 +9594,7 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.ForecastExportJobArn = ptr.String(jtv) } + case "ForecastExportJobName": if value != nil { jtv, ok := value.(string) @@ -9524,6 +9603,7 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.ForecastExportJobName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9539,6 +9619,7 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9547,6 +9628,7 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9555,6 +9637,7 @@ func awsAwsjson11_deserializeDocumentForecastExportJobSummary(v **types.Forecast } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9628,6 +9711,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.CreatedUsingAutoPredictor = ptr.Bool(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9643,6 +9727,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -9651,6 +9736,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.DatasetGroupArn = ptr.String(jtv) } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -9659,6 +9745,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.ForecastArn = ptr.String(jtv) } + case "ForecastName": if value != nil { jtv, ok := value.(string) @@ -9667,6 +9754,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.ForecastName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9682,6 +9770,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -9690,6 +9779,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.Message = ptr.String(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -9698,6 +9788,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.PredictorArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9706,6 +9797,7 @@ func awsAwsjson11_deserializeDocumentForecastSummary(v **types.ForecastSummary, } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9777,6 +9869,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.ParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -9816,10 +9909,12 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.DatasetGroupArn = ptr.String(jtv) } + case "SupplementaryFeatures": if err := awsAwsjson11_deserializeDocumentSupplementaryFeatures(&sv.SupplementaryFeatures, value); err != nil { return err } + default: _, _ = key, value @@ -9863,6 +9958,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MaxValue = ptr.Int32(int32(i64)) } + case "MinValue": if value != nil { jtv, ok := value.(json.Number) @@ -9875,6 +9971,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MinValue = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9883,6 +9980,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.Name = ptr.String(jtv) } + case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -9891,6 +9989,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.ScalingType = types.ScalingType(jtv) } + default: _, _ = key, value @@ -9964,6 +10063,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10003,6 +10103,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10042,6 +10143,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10117,6 +10219,7 @@ func awsAwsjson11_deserializeDocumentMetricResult(v **types.MetricResult, value } sv.MetricName = ptr.String(jtv) } + case "MetricValue": if value != nil { switch jtv := value.(type) { @@ -10150,6 +10253,7 @@ func awsAwsjson11_deserializeDocumentMetricResult(v **types.MetricResult, value } } + default: _, _ = key, value @@ -10248,10 +10352,12 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ } } + case "ErrorMetrics": if err := awsAwsjson11_deserializeDocumentErrorMetrics(&sv.ErrorMetrics, value); err != nil { return err } + case "RMSE": if value != nil { switch jtv := value.(type) { @@ -10285,10 +10391,12 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ } } + case "WeightedQuantileLosses": if err := awsAwsjson11_deserializeDocumentWeightedQuantileLosses(&sv.WeightedQuantileLosses, value); err != nil { return err } + default: _, _ = key, value @@ -10328,6 +10436,7 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.DatasetImportJobArn = ptr.String(jtv) } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -10336,6 +10445,7 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.ForecastArn = ptr.String(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -10344,6 +10454,7 @@ func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSour } sv.PredictorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10383,6 +10494,7 @@ func awsAwsjson11_deserializeDocumentMonitorInfo(v **types.MonitorInfo, value in } sv.MonitorArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10391,6 +10503,7 @@ func awsAwsjson11_deserializeDocumentMonitorInfo(v **types.MonitorInfo, value in } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10471,6 +10584,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10486,6 +10600,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -10494,6 +10609,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorArn = ptr.String(jtv) } + case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -10502,6 +10618,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorName = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10510,6 +10627,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.ResourceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10518,6 +10636,7 @@ func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10553,14 +10672,17 @@ func awsAwsjson11_deserializeDocumentParameterRanges(v **types.ParameterRanges, if err := awsAwsjson11_deserializeDocumentCategoricalParameterRanges(&sv.CategoricalParameterRanges, value); err != nil { return err } + case "ContinuousParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousParameterRanges(&sv.ContinuousParameterRanges, value); err != nil { return err } + case "IntegerParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerParameterRanges(&sv.IntegerParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -10641,10 +10763,12 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10660,6 +10784,7 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10668,6 +10793,7 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.Message = ptr.String(jtv) } + case "PredictorBacktestExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10676,6 +10802,7 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } + case "PredictorBacktestExportJobName": if value != nil { jtv, ok := value.(string) @@ -10684,6 +10811,7 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.PredictorBacktestExportJobName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10692,6 +10820,7 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10727,6 +10856,7 @@ func awsAwsjson11_deserializeDocumentPredictorBaseline(v **types.PredictorBaseli if err := awsAwsjson11_deserializeDocumentBaselineMetrics(&sv.BaselineMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -10807,6 +10937,7 @@ func awsAwsjson11_deserializeDocumentPredictorEvent(v **types.PredictorEvent, va } } + case "Detail": if value != nil { jtv, ok := value.(string) @@ -10815,6 +10946,7 @@ func awsAwsjson11_deserializeDocumentPredictorEvent(v **types.PredictorEvent, va } sv.Detail = ptr.String(jtv) } + default: _, _ = key, value @@ -10854,10 +10986,12 @@ func awsAwsjson11_deserializeDocumentPredictorExecution(v **types.PredictorExecu } sv.AlgorithmArn = ptr.String(jtv) } + case "TestWindows": if err := awsAwsjson11_deserializeDocumentTestWindowDetails(&sv.TestWindows, value); err != nil { return err } + default: _, _ = key, value @@ -10893,6 +11027,7 @@ func awsAwsjson11_deserializeDocumentPredictorExecutionDetails(v **types.Predict if err := awsAwsjson11_deserializeDocumentPredictorExecutions(&sv.PredictorExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -10966,6 +11101,7 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.EvaluationState = ptr.String(jtv) } + case "EvaluationTime": if value != nil { switch jtv := value.(type) { @@ -10981,6 +11117,7 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10989,10 +11126,12 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.Message = ptr.String(jtv) } + case "MetricResults": if err := awsAwsjson11_deserializeDocumentMetricResults(&sv.MetricResults, value); err != nil { return err } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -11001,10 +11140,12 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.MonitorArn = ptr.String(jtv) } + case "MonitorDataSource": if err := awsAwsjson11_deserializeDocumentMonitorDataSource(&sv.MonitorDataSource, value); err != nil { return err } + case "NumItemsEvaluated": if value != nil { jtv, ok := value.(json.Number) @@ -11017,10 +11158,12 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.NumItemsEvaluated = ptr.Int64(i64) } + case "PredictorEvent": if err := awsAwsjson11_deserializeDocumentPredictorEvent(&sv.PredictorEvent, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11029,6 +11172,7 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } sv.ResourceArn = ptr.String(jtv) } + case "WindowEndDatetime": if value != nil { switch jtv := value.(type) { @@ -11044,6 +11188,7 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } + case "WindowStartDatetime": if value != nil { switch jtv := value.(type) { @@ -11059,6 +11204,7 @@ func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.Predic } } + default: _, _ = key, value @@ -11173,6 +11319,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -11181,6 +11328,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.DatasetGroupArn = ptr.String(jtv) } + case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -11189,6 +11337,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.IsAutoPredictor = ptr.Bool(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11204,6 +11353,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -11212,6 +11362,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.Message = ptr.String(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -11220,6 +11371,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.PredictorArn = ptr.String(jtv) } + case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -11228,10 +11380,12 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.PredictorName = ptr.String(jtv) } + case "ReferencePredictorSummary": if err := awsAwsjson11_deserializeDocumentReferencePredictorSummary(&sv.ReferencePredictorSummary, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11240,6 +11394,7 @@ func awsAwsjson11_deserializeDocumentPredictorSummary(v **types.PredictorSummary } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11279,6 +11434,7 @@ func awsAwsjson11_deserializeDocumentReferencePredictorSummary(v **types.Referen } sv.Arn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -11287,6 +11443,7 @@ func awsAwsjson11_deserializeDocumentReferencePredictorSummary(v **types.Referen } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -11326,6 +11483,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11365,6 +11523,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11404,6 +11563,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11443,6 +11603,7 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.KMSKeyArn = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -11451,6 +11612,7 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.Path = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11459,6 +11621,7 @@ func awsAwsjson11_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11494,6 +11657,7 @@ func awsAwsjson11_deserializeDocumentSchema(v **types.Schema, value interface{}) if err := awsAwsjson11_deserializeDocumentSchemaAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -11533,6 +11697,7 @@ func awsAwsjson11_deserializeDocumentSchemaAttribute(v **types.SchemaAttribute, } sv.AttributeName = ptr.String(jtv) } + case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -11541,6 +11706,7 @@ func awsAwsjson11_deserializeDocumentSchemaAttribute(v **types.SchemaAttribute, } sv.AttributeType = types.AttributeType(jtv) } + default: _, _ = key, value @@ -11639,6 +11805,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -11651,6 +11818,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = ptr.Int32(int32(i64)) } + case "CountDistinct": if value != nil { jtv, ok := value.(json.Number) @@ -11663,6 +11831,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountDistinct = ptr.Int32(int32(i64)) } + case "CountDistinctLong": if value != nil { jtv, ok := value.(json.Number) @@ -11675,6 +11844,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountDistinctLong = ptr.Int64(i64) } + case "CountLong": if value != nil { jtv, ok := value.(json.Number) @@ -11687,6 +11857,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountLong = ptr.Int64(i64) } + case "CountNan": if value != nil { jtv, ok := value.(json.Number) @@ -11699,6 +11870,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNan = ptr.Int32(int32(i64)) } + case "CountNanLong": if value != nil { jtv, ok := value.(json.Number) @@ -11711,6 +11883,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNanLong = ptr.Int64(i64) } + case "CountNull": if value != nil { jtv, ok := value.(json.Number) @@ -11723,6 +11896,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNull = ptr.Int32(int32(i64)) } + case "CountNullLong": if value != nil { jtv, ok := value.(json.Number) @@ -11735,6 +11909,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.CountNullLong = ptr.Int64(i64) } + case "Max": if value != nil { jtv, ok := value.(string) @@ -11743,6 +11918,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Max = ptr.String(jtv) } + case "Min": if value != nil { jtv, ok := value.(string) @@ -11751,6 +11927,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Min = ptr.String(jtv) } + case "Stddev": if value != nil { switch jtv := value.(type) { @@ -11784,6 +11961,7 @@ func awsAwsjson11_deserializeDocumentStatistics(v **types.Statistics, value inte } } + default: _, _ = key, value @@ -11823,6 +12001,7 @@ func awsAwsjson11_deserializeDocumentSupplementaryFeature(v **types.Supplementar } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11831,6 +12010,7 @@ func awsAwsjson11_deserializeDocumentSupplementaryFeature(v **types.Supplementar } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11904,6 +12084,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11912,6 +12093,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12053,6 +12235,7 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12061,6 +12244,7 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } sv.Status = ptr.String(jtv) } + case "TestWindowEnd": if value != nil { switch jtv := value.(type) { @@ -12076,6 +12260,7 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } } + case "TestWindowStart": if value != nil { switch jtv := value.(type) { @@ -12091,6 +12276,7 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma } } + default: _, _ = key, value @@ -12134,6 +12320,7 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.DayOfMonth = ptr.Int32(int32(i64)) } + case "DayOfWeek": if value != nil { jtv, ok := value.(string) @@ -12142,6 +12329,7 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.DayOfWeek = types.DayOfWeek(jtv) } + case "Hour": if value != nil { jtv, ok := value.(json.Number) @@ -12154,6 +12342,7 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.Hour = ptr.Int32(int32(i64)) } + case "Month": if value != nil { jtv, ok := value.(string) @@ -12162,6 +12351,7 @@ func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignme } sv.Month = types.Month(jtv) } + default: _, _ = key, value @@ -12201,6 +12391,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.AttributeName = ptr.String(jtv) } + case "AttributeValue": if value != nil { jtv, ok := value.(string) @@ -12209,6 +12400,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.AttributeValue = ptr.String(jtv) } + case "Condition": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12409,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesCondition(v **types.TimeSeriesCon } sv.Condition = types.Condition(jtv) } + default: _, _ = key, value @@ -12286,6 +12479,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(v **types.TimeSeriesI if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -12294,10 +12488,12 @@ func awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(v **types.TimeSeriesI } sv.Format = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -12337,14 +12533,17 @@ func awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(v **types. } sv.Format = ptr.String(jtv) } + case "S3Config": if err := awsAwsjson11_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -12353,6 +12552,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(v **types. } sv.TimestampFormat = ptr.String(jtv) } + default: _, _ = key, value @@ -12388,6 +12588,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesSelector(v **types.TimeSeriesSele if err := awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(&sv.TimeSeriesIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -12423,10 +12624,12 @@ func awsAwsjson11_deserializeDocumentTimeSeriesTransformation(v **types.TimeSeri if err := awsAwsjson11_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "TimeSeriesConditions": if err := awsAwsjson11_deserializeDocumentTimeSeriesConditions(&sv.TimeSeriesConditions, value); err != nil { return err } + default: _, _ = key, value @@ -12633,6 +12836,7 @@ func awsAwsjson11_deserializeDocumentWeightedQuantileLoss(v **types.WeightedQuan } } + case "Quantile": if value != nil { switch jtv := value.(type) { @@ -12666,6 +12870,7 @@ func awsAwsjson11_deserializeDocumentWeightedQuantileLoss(v **types.WeightedQuan } } + default: _, _ = key, value @@ -12780,6 +12985,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -12788,6 +12994,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.ForecastArn = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -12803,6 +13010,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12811,6 +13019,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12819,6 +13028,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.Status = ptr.String(jtv) } + case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -12827,6 +13037,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.WhatIfAnalysisArn = ptr.String(jtv) } + case "WhatIfAnalysisName": if value != nil { jtv, ok := value.(string) @@ -12835,6 +13046,7 @@ func awsAwsjson11_deserializeDocumentWhatIfAnalysisSummary(v **types.WhatIfAnaly } sv.WhatIfAnalysisName = ptr.String(jtv) } + default: _, _ = key, value @@ -12951,10 +13163,12 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -12970,6 +13184,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -12978,6 +13193,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12986,10 +13202,12 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.Status = ptr.String(jtv) } + case "WhatIfForecastArns": if err := awsAwsjson11_deserializeDocumentWhatIfForecastArnListForExport(&sv.WhatIfForecastArns, value); err != nil { return err } + case "WhatIfForecastExportArn": if value != nil { jtv, ok := value.(string) @@ -12998,6 +13216,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.WhatIfForecastExportArn = ptr.String(jtv) } + case "WhatIfForecastExportName": if value != nil { jtv, ok := value.(string) @@ -13006,6 +13225,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastExportSummary(v **types.WhatI } sv.WhatIfForecastExportName = ptr.String(jtv) } + default: _, _ = key, value @@ -13086,6 +13306,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13101,6 +13322,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13109,6 +13331,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13117,6 +13340,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.Status = ptr.String(jtv) } + case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -13125,6 +13349,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfAnalysisArn = ptr.String(jtv) } + case "WhatIfForecastArn": if value != nil { jtv, ok := value.(string) @@ -13133,6 +13358,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfForecastArn = ptr.String(jtv) } + case "WhatIfForecastName": if value != nil { jtv, ok := value.(string) @@ -13141,6 +13367,7 @@ func awsAwsjson11_deserializeDocumentWhatIfForecastSummary(v **types.WhatIfForec } sv.WhatIfForecastName = ptr.String(jtv) } + default: _, _ = key, value @@ -13180,6 +13407,7 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } sv.EvaluationType = types.EvaluationType(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -13192,10 +13420,12 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } sv.ItemCount = ptr.Int32(int32(i64)) } + case "Metrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } + case "TestWindowEnd": if value != nil { switch jtv := value.(type) { @@ -13211,6 +13441,7 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } } + case "TestWindowStart": if value != nil { switch jtv := value.(type) { @@ -13226,6 +13457,7 @@ func awsAwsjson11_deserializeDocumentWindowSummary(v **types.WindowSummary, valu } } + default: _, _ = key, value @@ -13265,6 +13497,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoPredictorOutput(v **CreateAutoP } sv.PredictorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13304,6 +13537,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.DatasetGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13343,6 +13577,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetImportJobOutput(v **CreateDa } sv.DatasetImportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13382,6 +13617,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13421,6 +13657,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExplainabilityExportOutput(v **Crea } sv.ExplainabilityExportArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13460,6 +13697,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExplainabilityOutput(v **CreateExpl } sv.ExplainabilityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13499,6 +13737,7 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastExportJobOutput(v **CreateF } sv.ForecastExportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13538,6 +13777,7 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastOutput(v **CreateForecastOu } sv.ForecastArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13577,6 +13817,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13616,6 +13857,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePredictorBacktestExportJobOutput(v } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13655,6 +13897,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePredictorOutput(v **CreatePredictor } sv.PredictorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13694,6 +13937,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfAnalysisOutput(v **CreateWhat } sv.WhatIfAnalysisArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13733,6 +13977,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfForecastExportOutput(v **Crea } sv.WhatIfForecastExportArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13772,6 +14017,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWhatIfForecastOutput(v **CreateWhat } sv.WhatIfForecastArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13818,18 +14064,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } } + case "DataConfig": if err := awsAwsjson11_deserializeDocumentDataConfig(&sv.DataConfig, value); err != nil { return err } + case "DatasetImportJobArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetImportJobArns, value); err != nil { return err } + case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -13842,14 +14092,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "ExplainabilityInfo": if err := awsAwsjson11_deserializeDocumentExplainabilityInfo(&sv.ExplainabilityInfo, value); err != nil { return err } + case "ForecastDimensions": if err := awsAwsjson11_deserializeDocumentForecastDimensions(&sv.ForecastDimensions, value); err != nil { return err } + case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -13858,6 +14111,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.ForecastFrequency = ptr.String(jtv) } + case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -13870,10 +14124,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.ForecastHorizon = ptr.Int32(int32(i64)) } + case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13889,6 +14145,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13897,10 +14154,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.Message = ptr.String(jtv) } + case "MonitorInfo": if err := awsAwsjson11_deserializeDocumentMonitorInfo(&sv.MonitorInfo, value); err != nil { return err } + case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -13909,6 +14168,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.OptimizationMetric = types.OptimizationMetric(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -13917,6 +14177,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.PredictorArn = ptr.String(jtv) } + case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -13925,10 +14186,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.PredictorName = ptr.String(jtv) } + case "ReferencePredictorSummary": if err := awsAwsjson11_deserializeDocumentReferencePredictorSummary(&sv.ReferencePredictorSummary, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13937,10 +14200,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA } sv.Status = ptr.String(jtv) } + case "TimeAlignmentBoundary": if err := awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(&sv.TimeAlignmentBoundary, value); err != nil { return err } + default: _, _ = key, value @@ -13987,10 +14252,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } } + case "DatasetArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetArns, value); err != nil { return err } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -13999,6 +14266,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.DatasetGroupArn = ptr.String(jtv) } + case "DatasetGroupName": if value != nil { jtv, ok := value.(string) @@ -14007,6 +14275,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.DatasetGroupName = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -14015,6 +14284,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.Domain = types.Domain(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14030,6 +14300,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14038,6 +14309,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14084,6 +14356,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -14092,6 +14365,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetArn = ptr.String(jtv) } + case "DatasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -14100,6 +14374,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetImportJobArn = ptr.String(jtv) } + case "DatasetImportJobName": if value != nil { jtv, ok := value.(string) @@ -14108,6 +14383,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.DatasetImportJobName = ptr.String(jtv) } + case "DataSize": if value != nil { switch jtv := value.(type) { @@ -14141,10 +14417,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14157,10 +14435,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "FieldStatistics": if err := awsAwsjson11_deserializeDocumentFieldStatistics(&sv.FieldStatistics, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -14169,6 +14449,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Format = ptr.String(jtv) } + case "GeolocationFormat": if value != nil { jtv, ok := value.(string) @@ -14177,6 +14458,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.GeolocationFormat = ptr.String(jtv) } + case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -14185,6 +14467,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.ImportMode = types.ImportMode(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14200,6 +14483,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14208,6 +14492,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14216,6 +14501,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.Status = ptr.String(jtv) } + case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -14224,6 +14510,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.TimestampFormat = ptr.String(jtv) } + case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -14232,6 +14519,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.TimeZone = ptr.String(jtv) } + case "UseGeolocationForTimeZone": if value != nil { jtv, ok := value.(bool) @@ -14240,6 +14528,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri } sv.UseGeolocationForTimeZone = jtv } + default: _, _ = key, value @@ -14286,6 +14575,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "DataFrequency": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14584,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DataFrequency = ptr.String(jtv) } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14593,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -14310,6 +14602,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetName = ptr.String(jtv) } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -14318,6 +14611,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetType = types.DatasetType(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -14326,10 +14620,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Domain = types.Domain(jtv) } + case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14345,10 +14641,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14357,6 +14655,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14403,10 +14702,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -14415,6 +14716,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityArn = ptr.String(jtv) } + case "ExplainabilityExportArn": if value != nil { jtv, ok := value.(string) @@ -14423,6 +14725,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityExportArn = ptr.String(jtv) } + case "ExplainabilityExportName": if value != nil { jtv, ok := value.(string) @@ -14431,6 +14734,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.ExplainabilityExportName = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -14439,6 +14743,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Format = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14454,6 +14759,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14462,6 +14768,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14470,6 +14777,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14516,10 +14824,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "EnableVisualization": if value != nil { jtv, ok := value.(bool) @@ -14528,6 +14838,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EnableVisualization = ptr.Bool(jtv) } + case "EndDateTime": if value != nil { jtv, ok := value.(string) @@ -14536,6 +14847,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EndDateTime = ptr.String(jtv) } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14548,6 +14860,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "ExplainabilityArn": if value != nil { jtv, ok := value.(string) @@ -14556,10 +14869,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ExplainabilityArn = ptr.String(jtv) } + case "ExplainabilityConfig": if err := awsAwsjson11_deserializeDocumentExplainabilityConfig(&sv.ExplainabilityConfig, value); err != nil { return err } + case "ExplainabilityName": if value != nil { jtv, ok := value.(string) @@ -14568,6 +14883,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ExplainabilityName = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14583,6 +14899,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14591,6 +14908,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.Message = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14599,10 +14917,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.ResourceArn = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + case "StartDateTime": if value != nil { jtv, ok := value.(string) @@ -14611,6 +14931,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.StartDateTime = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14619,6 +14940,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityOutput(v **Describe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14665,10 +14987,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -14677,6 +15001,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastArn = ptr.String(jtv) } + case "ForecastExportJobArn": if value != nil { jtv, ok := value.(string) @@ -14685,6 +15010,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastExportJobArn = ptr.String(jtv) } + case "ForecastExportJobName": if value != nil { jtv, ok := value.(string) @@ -14693,6 +15019,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.ForecastExportJobName = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -14701,6 +15028,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Format = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14716,6 +15044,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14724,6 +15053,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14732,6 +15062,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14778,6 +15109,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } } + case "DatasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14786,6 +15118,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.DatasetGroupArn = ptr.String(jtv) } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14798,6 +15131,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -14806,6 +15140,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.ForecastArn = ptr.String(jtv) } + case "ForecastName": if value != nil { jtv, ok := value.(string) @@ -14814,10 +15149,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.ForecastName = ptr.String(jtv) } + case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14833,6 +15170,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14841,6 +15179,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.Message = ptr.String(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -14849,6 +15188,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.PredictorArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14857,10 +15197,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca } sv.Status = ptr.String(jtv) } + case "TimeSeriesSelector": if err := awsAwsjson11_deserializeDocumentTimeSeriesSelector(&sv.TimeSeriesSelector, value); err != nil { return err } + default: _, _ = key, value @@ -14896,6 +15238,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor if err := awsAwsjson11_deserializeDocumentBaseline(&sv.Baseline, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14911,6 +15254,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } + case "EstimatedEvaluationTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14923,6 +15267,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.EstimatedEvaluationTimeRemainingInMinutes = ptr.Int64(i64) } + case "LastEvaluationState": if value != nil { jtv, ok := value.(string) @@ -14931,6 +15276,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.LastEvaluationState = ptr.String(jtv) } + case "LastEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -14946,6 +15292,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14961,6 +15308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14969,6 +15317,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.Message = ptr.String(jtv) } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -14977,6 +15326,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.MonitorArn = ptr.String(jtv) } + case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -14985,6 +15335,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.MonitorName = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14993,6 +15344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.ResourceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15001,6 +15353,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitor } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -15047,10 +15400,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -15059,6 +15414,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Format = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15074,6 +15430,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15082,6 +15439,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Message = ptr.String(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -15090,6 +15448,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorArn = ptr.String(jtv) } + case "PredictorBacktestExportJobArn": if value != nil { jtv, ok := value.(string) @@ -15098,6 +15457,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorBacktestExportJobArn = ptr.String(jtv) } + case "PredictorBacktestExportJobName": if value != nil { jtv, ok := value.(string) @@ -15106,6 +15466,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.PredictorBacktestExportJobName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15114,6 +15475,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -15153,10 +15515,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.AlgorithmArn = ptr.String(jtv) } + case "AutoMLAlgorithmArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.AutoMLAlgorithmArns, value); err != nil { return err } + case "AutoMLOverrideStrategy": if value != nil { jtv, ok := value.(string) @@ -15165,6 +15529,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.AutoMLOverrideStrategy = types.AutoMLOverrideStrategy(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -15180,14 +15545,17 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } } + case "DatasetImportJobArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.DatasetImportJobArns, value); err != nil { return err } + case "EncryptionConfig": if err := awsAwsjson11_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15200,14 +15568,17 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "EvaluationParameters": if err := awsAwsjson11_deserializeDocumentEvaluationParameters(&sv.EvaluationParameters, value); err != nil { return err } + case "FeaturizationConfig": if err := awsAwsjson11_deserializeDocumentFeaturizationConfig(&sv.FeaturizationConfig, value); err != nil { return err } + case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -15220,18 +15591,22 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.ForecastHorizon = ptr.Int32(int32(i64)) } + case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } + case "HPOConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HPOConfig, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -15240,6 +15615,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.IsAutoPredictor = ptr.Bool(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15255,6 +15631,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15263,6 +15640,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.Message = ptr.String(jtv) } + case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -15271,6 +15649,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.OptimizationMetric = types.OptimizationMetric(jtv) } + case "PerformAutoML": if value != nil { jtv, ok := value.(bool) @@ -15279,6 +15658,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PerformAutoML = ptr.Bool(jtv) } + case "PerformHPO": if value != nil { jtv, ok := value.(bool) @@ -15287,6 +15667,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PerformHPO = ptr.Bool(jtv) } + case "PredictorArn": if value != nil { jtv, ok := value.(string) @@ -15295,10 +15676,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PredictorArn = ptr.String(jtv) } + case "PredictorExecutionDetails": if err := awsAwsjson11_deserializeDocumentPredictorExecutionDetails(&sv.PredictorExecutionDetails, value); err != nil { return err } + case "PredictorName": if value != nil { jtv, ok := value.(string) @@ -15307,6 +15690,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.PredictorName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15315,10 +15699,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(v **DescribePredi } sv.Status = ptr.String(jtv) } + case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } + default: _, _ = key, value @@ -15365,6 +15751,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15377,6 +15764,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "ForecastArn": if value != nil { jtv, ok := value.(string) @@ -15385,6 +15773,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.ForecastArn = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15400,6 +15789,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15408,6 +15798,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15416,10 +15807,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.Status = ptr.String(jtv) } + case "TimeSeriesSelector": if err := awsAwsjson11_deserializeDocumentTimeSeriesSelector(&sv.TimeSeriesSelector, value); err != nil { return err } + case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -15428,6 +15821,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.WhatIfAnalysisArn = ptr.String(jtv) } + case "WhatIfAnalysisName": if value != nil { jtv, ok := value.(string) @@ -15436,6 +15830,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfAnalysisOutput(v **Describe } sv.WhatIfAnalysisName = ptr.String(jtv) } + default: _, _ = key, value @@ -15482,10 +15877,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } } + case "Destination": if err := awsAwsjson11_deserializeDocumentDataDestination(&sv.Destination, value); err != nil { return err } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15498,6 +15895,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -15506,6 +15904,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Format = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15521,6 +15920,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15529,6 +15929,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15537,10 +15938,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.Status = ptr.String(jtv) } + case "WhatIfForecastArns": if err := awsAwsjson11_deserializeDocumentLongArnList(&sv.WhatIfForecastArns, value); err != nil { return err } + case "WhatIfForecastExportArn": if value != nil { jtv, ok := value.(string) @@ -15549,6 +15952,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.WhatIfForecastExportArn = ptr.String(jtv) } + case "WhatIfForecastExportName": if value != nil { jtv, ok := value.(string) @@ -15557,6 +15961,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastExportOutput(v **De } sv.WhatIfForecastExportName = ptr.String(jtv) } + default: _, _ = key, value @@ -15603,6 +16008,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } } + case "EstimatedTimeRemainingInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -15615,10 +16021,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.EstimatedTimeRemainingInMinutes = ptr.Int64(i64) } + case "ForecastTypes": if err := awsAwsjson11_deserializeDocumentForecastTypes(&sv.ForecastTypes, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -15634,6 +16042,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15642,6 +16051,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15650,14 +16060,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.Status = ptr.String(jtv) } + case "TimeSeriesReplacementsDataSource": if err := awsAwsjson11_deserializeDocumentTimeSeriesReplacementsDataSource(&sv.TimeSeriesReplacementsDataSource, value); err != nil { return err } + case "TimeSeriesTransformations": if err := awsAwsjson11_deserializeDocumentTimeSeriesTransformations(&sv.TimeSeriesTransformations, value); err != nil { return err } + case "WhatIfAnalysisArn": if value != nil { jtv, ok := value.(string) @@ -15666,6 +16079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfAnalysisArn = ptr.String(jtv) } + case "WhatIfForecastArn": if value != nil { jtv, ok := value.(string) @@ -15674,6 +16088,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfForecastArn = ptr.String(jtv) } + case "WhatIfForecastName": if value != nil { jtv, ok := value.(string) @@ -15682,6 +16097,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWhatIfForecastOutput(v **Describe } sv.WhatIfForecastName = ptr.String(jtv) } + default: _, _ = key, value @@ -15721,6 +16137,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.AutoMLOverrideStrategy = types.AutoMLOverrideStrategy(jtv) } + case "IsAutoPredictor": if value != nil { jtv, ok := value.(bool) @@ -15729,6 +16146,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.IsAutoPredictor = ptr.Bool(jtv) } + case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -15737,10 +16155,12 @@ func awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(v **GetAccuracyM } sv.OptimizationMetric = types.OptimizationMetric(jtv) } + case "PredictorEvaluationResults": if err := awsAwsjson11_deserializeDocumentPredictorEvaluationResults(&sv.PredictorEvaluationResults, value); err != nil { return err } + default: _, _ = key, value @@ -15776,6 +16196,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr if err := awsAwsjson11_deserializeDocumentDatasetGroups(&sv.DatasetGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15784,6 +16205,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15819,6 +16241,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetImportJobs(&sv.DatasetImportJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15827,6 +16250,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15862,6 +16286,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasets(&sv.Datasets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15870,6 +16295,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15905,6 +16331,7 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(v **ListExplai if err := awsAwsjson11_deserializeDocumentExplainabilities(&sv.Explainabilities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15913,6 +16340,7 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(v **ListExplai } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15948,6 +16376,7 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(v **ListE if err := awsAwsjson11_deserializeDocumentExplainabilityExports(&sv.ExplainabilityExports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15956,6 +16385,7 @@ func awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15991,6 +16421,7 @@ func awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(v **ListFore if err := awsAwsjson11_deserializeDocumentForecastExportJobs(&sv.ForecastExportJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -15999,6 +16430,7 @@ func awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(v **ListFore } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16034,6 +16466,7 @@ func awsAwsjson11_deserializeOpDocumentListForecastsOutput(v **ListForecastsOutp if err := awsAwsjson11_deserializeDocumentForecasts(&sv.Forecasts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16042,6 +16475,7 @@ func awsAwsjson11_deserializeOpDocumentListForecastsOutput(v **ListForecastsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16081,10 +16515,12 @@ func awsAwsjson11_deserializeOpDocumentListMonitorEvaluationsOutput(v **ListMoni } sv.NextToken = ptr.String(jtv) } + case "PredictorMonitorEvaluations": if err := awsAwsjson11_deserializeDocumentPredictorMonitorEvaluations(&sv.PredictorMonitorEvaluations, value); err != nil { return err } + default: _, _ = key, value @@ -16120,6 +16556,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsAwsjson11_deserializeDocumentMonitors(&sv.Monitors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16128,6 +16565,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16167,10 +16605,12 @@ func awsAwsjson11_deserializeOpDocumentListPredictorBacktestExportJobsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "PredictorBacktestExportJobs": if err := awsAwsjson11_deserializeDocumentPredictorBacktestExportJobs(&sv.PredictorBacktestExportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -16210,10 +16650,12 @@ func awsAwsjson11_deserializeOpDocumentListPredictorsOutput(v **ListPredictorsOu } sv.NextToken = ptr.String(jtv) } + case "Predictors": if err := awsAwsjson11_deserializeDocumentPredictors(&sv.Predictors, value); err != nil { return err } + default: _, _ = key, value @@ -16249,6 +16691,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16288,10 +16731,12 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfAnalysesOutput(v **ListWhatIfAn } sv.NextToken = ptr.String(jtv) } + case "WhatIfAnalyses": if err := awsAwsjson11_deserializeDocumentWhatIfAnalyses(&sv.WhatIfAnalyses, value); err != nil { return err } + default: _, _ = key, value @@ -16331,10 +16776,12 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfForecastExportsOutput(v **ListW } sv.NextToken = ptr.String(jtv) } + case "WhatIfForecastExports": if err := awsAwsjson11_deserializeDocumentWhatIfForecastExports(&sv.WhatIfForecastExports, value); err != nil { return err } + default: _, _ = key, value @@ -16374,10 +16821,12 @@ func awsAwsjson11_deserializeOpDocumentListWhatIfForecastsOutput(v **ListWhatIfF } sv.NextToken = ptr.String(jtv) } + case "WhatIfForecasts": if err := awsAwsjson11_deserializeDocumentWhatIfForecasts(&sv.WhatIfForecasts, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/forecastquery/deserializers.go b/service/forecastquery/deserializers.go index 4cf814249ac..73cb2c1e0d9 100644 --- a/service/forecastquery/deserializers.go +++ b/service/forecastquery/deserializers.go @@ -481,6 +481,7 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } sv.Timestamp = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -514,6 +515,7 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } + default: _, _ = key, value @@ -549,6 +551,7 @@ func awsAwsjson11_deserializeDocumentForecast(v **types.Forecast, value interfac if err := awsAwsjson11_deserializeDocumentPredictions(&sv.Predictions, value); err != nil { return err } + default: _, _ = key, value @@ -588,6 +591,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -627,6 +631,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -666,6 +671,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -739,6 +745,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -778,6 +785,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -847,6 +855,7 @@ func awsAwsjson11_deserializeOpDocumentQueryForecastOutput(v **QueryForecastOutp if err := awsAwsjson11_deserializeDocumentForecast(&sv.Forecast, value); err != nil { return err } + default: _, _ = key, value @@ -882,6 +891,7 @@ func awsAwsjson11_deserializeOpDocumentQueryWhatIfForecastOutput(v **QueryWhatIf if err := awsAwsjson11_deserializeDocumentForecast(&sv.Forecast, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/frauddetector/deserializers.go b/service/frauddetector/deserializers.go index 366aaf74322..728379ffca1 100644 --- a/service/frauddetector/deserializers.go +++ b/service/frauddetector/deserializers.go @@ -9287,6 +9287,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9351,10 +9352,12 @@ func awsAwsjson11_deserializeDocumentAggregatedLogOddsMetric(v **types.Aggregate } } + case "variableNames": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.VariableNames, value); err != nil { return err } + default: _, _ = key, value @@ -9390,6 +9393,7 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.EventVariableNames, value); err != nil { return err } + case "logOddsImpact": if value != nil { switch jtv := value.(type) { @@ -9423,6 +9427,7 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty } } + case "relativeImpact": if value != nil { jtv, ok := value.(string) @@ -9431,6 +9436,7 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImpactExplanation(v **ty } sv.RelativeImpact = ptr.String(jtv) } + default: _, _ = key, value @@ -9466,6 +9472,7 @@ func awsAwsjson11_deserializeDocumentAggregatedVariablesImportanceMetrics(v **ty if err := awsAwsjson11_deserializeDocumentListOfAggregatedLogOddsMetrics(&sv.LogOddsMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -9505,6 +9512,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -9513,6 +9521,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -9521,6 +9530,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9529,6 +9539,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.Name = ptr.String(jtv) } + case "updatedTime": if value != nil { jtv, ok := value.(string) @@ -9537,6 +9548,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.UpdatedTime = ptr.String(jtv) } + case "variableType": if value != nil { jtv, ok := value.(string) @@ -9545,6 +9557,7 @@ func awsAwsjson11_deserializeDocumentAllowDenyList(v **types.AllowDenyList, valu } sv.VariableType = ptr.String(jtv) } + default: _, _ = key, value @@ -9643,6 +9656,7 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } + case "atodr": if value != nil { switch jtv := value.(type) { @@ -9676,6 +9690,7 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } + case "cr": if value != nil { switch jtv := value.(type) { @@ -9709,6 +9724,7 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -9742,6 +9758,7 @@ func awsAwsjson11_deserializeDocumentATIMetricDataPoint(v **types.ATIMetricDataP } } + default: _, _ = key, value @@ -9840,6 +9857,7 @@ func awsAwsjson11_deserializeDocumentATIModelPerformance(v **types.ATIModelPerfo } } + default: _, _ = key, value @@ -9875,10 +9893,12 @@ func awsAwsjson11_deserializeDocumentATITrainingMetricsValue(v **types.ATITraini if err := awsAwsjson11_deserializeDocumentATIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } + case "modelPerformance": if err := awsAwsjson11_deserializeDocumentATIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } + default: _, _ = key, value @@ -9922,6 +9942,7 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Code = int32(i64) } + case "message": if value != nil { jtv, ok := value.(string) @@ -9930,6 +9951,7 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9938,6 +9960,7 @@ func awsAwsjson11_deserializeDocumentBatchCreateVariableError(v **types.BatchCre } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10015,6 +10038,7 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Code = int32(i64) } + case "message": if value != nil { jtv, ok := value.(string) @@ -10023,6 +10047,7 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10031,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentBatchGetVariableError(v **types.BatchGetVar } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10104,6 +10130,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.Arn = ptr.String(jtv) } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -10112,6 +10139,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.CompletionTime = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10120,6 +10148,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.EventTypeName = ptr.String(jtv) } + case "failedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10132,6 +10161,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10140,6 +10170,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.FailureReason = ptr.String(jtv) } + case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10148,6 +10179,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.IamRoleArn = ptr.String(jtv) } + case "inputPath": if value != nil { jtv, ok := value.(string) @@ -10156,6 +10188,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.InputPath = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -10164,6 +10197,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.JobId = ptr.String(jtv) } + case "outputPath": if value != nil { jtv, ok := value.(string) @@ -10172,6 +10206,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.OutputPath = ptr.String(jtv) } + case "processedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10184,6 +10219,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -10192,6 +10228,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10200,6 +10237,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.Status = types.AsyncJobStatus(jtv) } + case "totalRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10212,6 +10250,7 @@ func awsAwsjson11_deserializeDocumentBatchImport(v **types.BatchImport, value in } sv.TotalRecordsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10285,6 +10324,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Arn = ptr.String(jtv) } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -10293,6 +10333,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.CompletionTime = ptr.String(jtv) } + case "detectorName": if value != nil { jtv, ok := value.(string) @@ -10301,6 +10342,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.DetectorName = ptr.String(jtv) } + case "detectorVersion": if value != nil { jtv, ok := value.(string) @@ -10309,6 +10351,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.DetectorVersion = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10317,6 +10360,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.EventTypeName = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10325,6 +10369,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.FailureReason = ptr.String(jtv) } + case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -10333,6 +10378,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.IamRoleArn = ptr.String(jtv) } + case "inputPath": if value != nil { jtv, ok := value.(string) @@ -10341,6 +10387,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InputPath = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -10349,6 +10396,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.JobId = ptr.String(jtv) } + case "lastHeartbeatTime": if value != nil { jtv, ok := value.(string) @@ -10357,6 +10405,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.LastHeartbeatTime = ptr.String(jtv) } + case "outputPath": if value != nil { jtv, ok := value.(string) @@ -10365,6 +10414,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.OutputPath = ptr.String(jtv) } + case "processedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10377,6 +10427,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -10385,6 +10436,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10393,6 +10445,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Status = types.AsyncJobStatus(jtv) } + case "totalRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -10405,6 +10458,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.TotalRecordsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10478,6 +10532,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10549,10 +10604,12 @@ func awsAwsjson11_deserializeDocumentDataValidationMetrics(v **types.DataValidat if err := awsAwsjson11_deserializeDocumentFieldValidationMessageList(&sv.FieldLevelMessages, value); err != nil { return err } + case "fileLevelMessages": if err := awsAwsjson11_deserializeDocumentFileValidationMessageList(&sv.FileLevelMessages, value); err != nil { return err } + default: _, _ = key, value @@ -10592,6 +10649,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -10600,6 +10658,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10608,6 +10667,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.Description = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -10616,6 +10676,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorId = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -10624,6 +10685,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.EventTypeName = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10632,6 +10694,7 @@ func awsAwsjson11_deserializeDocumentDetector(v **types.Detector, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -10705,6 +10768,7 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.Description = ptr.String(jtv) } + case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -10713,6 +10777,7 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.DetectorVersionId = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10721,6 +10786,7 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.LastUpdatedTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10729,6 +10795,7 @@ func awsAwsjson11_deserializeDocumentDetectorVersionSummary(v **types.DetectorVe } sv.Status = types.DetectorVersionStatus(jtv) } + default: _, _ = key, value @@ -10838,6 +10905,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -10846,6 +10914,7 @@ func awsAwsjson11_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.EntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -10885,6 +10954,7 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -10893,6 +10963,7 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10901,6 +10972,7 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Description = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -10909,6 +10981,7 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.LastUpdatedTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10917,6 +10990,7 @@ func awsAwsjson11_deserializeDocumentEntityType(v **types.EntityType, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10986,6 +11060,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.InputVariables, value); err != nil { return err } + case "modelEndpoint": if value != nil { jtv, ok := value.(string) @@ -10994,10 +11069,12 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE } sv.ModelEndpoint = ptr.String(jtv) } + case "outputVariables": if err := awsAwsjson11_deserializeDocumentMapOfStrings(&sv.OutputVariables, value); err != nil { return err } + case "useEventVariables": if value != nil { jtv, ok := value.(bool) @@ -11006,6 +11083,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedExternalModel(v **types.EvaluatedE } sv.UseEventVariables = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11041,6 +11119,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo if err := awsAwsjson11_deserializeDocumentListOfModelVersionEvaluations(&sv.Evaluations, value); err != nil { return err } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -11049,6 +11128,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -11057,6 +11137,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelType = ptr.String(jtv) } + case "modelVersion": if value != nil { jtv, ok := value.(string) @@ -11065,6 +11146,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedModelVersion(v **types.EvaluatedMo } sv.ModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -11104,6 +11186,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Evaluated = ptr.Bool(jtv) } + case "expression": if value != nil { jtv, ok := value.(string) @@ -11112,6 +11195,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Expression = ptr.String(jtv) } + case "expressionWithValues": if value != nil { jtv, ok := value.(string) @@ -11120,6 +11204,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.ExpressionWithValues = ptr.String(jtv) } + case "matched": if value != nil { jtv, ok := value.(bool) @@ -11128,10 +11213,12 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.Matched = ptr.Bool(jtv) } + case "outcomes": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -11140,6 +11227,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.RuleId = ptr.String(jtv) } + case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -11148,6 +11236,7 @@ func awsAwsjson11_deserializeDocumentEvaluatedRule(v **types.EvaluatedRule, valu } sv.RuleVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -11221,10 +11310,12 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.CurrentLabel = ptr.String(jtv) } + case "entities": if err := awsAwsjson11_deserializeDocumentListOfEntities(&sv.Entities, value); err != nil { return err } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -11233,6 +11324,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } + case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -11241,6 +11333,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTimestamp = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -11249,10 +11342,12 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeName = ptr.String(jtv) } + case "eventVariables": if err := awsAwsjson11_deserializeDocumentEventAttributeMap(&sv.EventVariables, value); err != nil { return err } + case "labelTimestamp": if value != nil { jtv, ok := value.(string) @@ -11261,6 +11356,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.LabelTimestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -11336,6 +11432,7 @@ func awsAwsjson11_deserializeDocumentEventOrchestration(v **types.EventOrchestra } sv.EventBridgeEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11375,6 +11472,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.DetectorId = ptr.String(jtv) } + case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -11383,6 +11481,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.DetectorVersionId = ptr.String(jtv) } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -11391,6 +11490,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventId = ptr.String(jtv) } + case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -11399,6 +11499,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventTimestamp = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -11407,6 +11508,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.EventTypeName = ptr.String(jtv) } + case "predictionTimestamp": if value != nil { jtv, ok := value.(string) @@ -11415,6 +11517,7 @@ func awsAwsjson11_deserializeDocumentEventPredictionSummary(v **types.EventPredi } sv.PredictionTimestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -11454,6 +11557,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -11462,6 +11566,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11470,10 +11575,12 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Description = ptr.String(jtv) } + case "entityTypes": if err := awsAwsjson11_deserializeDocumentNonEmptyListOfStrings(&sv.EntityTypes, value); err != nil { return err } + case "eventIngestion": if value != nil { jtv, ok := value.(string) @@ -11482,22 +11589,27 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.EventIngestion = types.EventIngestion(jtv) } + case "eventOrchestration": if err := awsAwsjson11_deserializeDocumentEventOrchestration(&sv.EventOrchestration, value); err != nil { return err } + case "eventVariables": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.EventVariables, value); err != nil { return err } + case "ingestedEventStatistics": if err := awsAwsjson11_deserializeDocumentIngestedEventStatistics(&sv.IngestedEventStatistics, value); err != nil { return err } + case "labels": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Labels, value); err != nil { return err } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -11506,6 +11618,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.LastUpdatedTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11514,6 +11627,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11587,6 +11701,7 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Name = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -11595,6 +11710,7 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Source = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11603,6 +11719,7 @@ func awsAwsjson11_deserializeDocumentEventVariableSummary(v **types.EventVariabl } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11642,6 +11759,7 @@ func awsAwsjson11_deserializeDocumentExternalEventsDetail(v **types.ExternalEven } sv.DataAccessRoleArn = ptr.String(jtv) } + case "dataLocation": if value != nil { jtv, ok := value.(string) @@ -11650,6 +11768,7 @@ func awsAwsjson11_deserializeDocumentExternalEventsDetail(v **types.ExternalEven } sv.DataLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -11689,6 +11808,7 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -11697,10 +11817,12 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.CreatedTime = ptr.String(jtv) } + case "inputConfiguration": if err := awsAwsjson11_deserializeDocumentModelInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } + case "invokeModelEndpointRoleArn": if value != nil { jtv, ok := value.(string) @@ -11709,6 +11831,7 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.InvokeModelEndpointRoleArn = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -11717,6 +11840,7 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.LastUpdatedTime = ptr.String(jtv) } + case "modelEndpoint": if value != nil { jtv, ok := value.(string) @@ -11725,6 +11849,7 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelEndpoint = ptr.String(jtv) } + case "modelEndpointStatus": if value != nil { jtv, ok := value.(string) @@ -11733,6 +11858,7 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelEndpointStatus = types.ModelEndpointStatus(jtv) } + case "modelSource": if value != nil { jtv, ok := value.(string) @@ -11741,10 +11867,12 @@ func awsAwsjson11_deserializeDocumentExternalModel(v **types.ExternalModel, valu } sv.ModelSource = types.ModelSource(jtv) } + case "outputConfiguration": if err := awsAwsjson11_deserializeDocumentModelOutputConfiguration(&sv.OutputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11814,10 +11942,12 @@ func awsAwsjson11_deserializeDocumentExternalModelOutputs(v **types.ExternalMode if err := awsAwsjson11_deserializeDocumentExternalModelSummary(&sv.ExternalModel, value); err != nil { return err } + case "outputs": if err := awsAwsjson11_deserializeDocumentExternalModelPredictionMap(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -11893,6 +12023,7 @@ func awsAwsjson11_deserializeDocumentExternalModelSummary(v **types.ExternalMode } sv.ModelEndpoint = ptr.String(jtv) } + case "modelSource": if value != nil { jtv, ok := value.(string) @@ -11901,6 +12032,7 @@ func awsAwsjson11_deserializeDocumentExternalModelSummary(v **types.ExternalMode } sv.ModelSource = types.ModelSource(jtv) } + default: _, _ = key, value @@ -11940,6 +12072,7 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Content = ptr.String(jtv) } + case "fieldName": if value != nil { jtv, ok := value.(string) @@ -11948,6 +12081,7 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.FieldName = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -11956,6 +12090,7 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Identifier = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -11964,6 +12099,7 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11972,6 +12108,7 @@ func awsAwsjson11_deserializeDocumentFieldValidationMessage(v **types.FieldValid } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12045,6 +12182,7 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Content = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -12053,6 +12191,7 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12061,6 +12200,7 @@ func awsAwsjson11_deserializeDocumentFileValidationMessage(v **types.FileValidat } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12130,6 +12270,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventsDetail(v **types.IngestedEven if err := awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(&sv.IngestedEventsTimeWindow, value); err != nil { return err } + default: _, _ = key, value @@ -12173,6 +12314,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.EventDataSizeInBytes = ptr.Int64(i64) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -12181,6 +12323,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.LastUpdatedTime = ptr.String(jtv) } + case "leastRecentEvent": if value != nil { jtv, ok := value.(string) @@ -12189,6 +12332,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.LeastRecentEvent = ptr.String(jtv) } + case "mostRecentEvent": if value != nil { jtv, ok := value.(string) @@ -12197,6 +12341,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.MostRecentEvent = ptr.String(jtv) } + case "numberOfEvents": if value != nil { jtv, ok := value.(json.Number) @@ -12209,6 +12354,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventStatistics(v **types.IngestedE } sv.NumberOfEvents = ptr.Int64(i64) } + default: _, _ = key, value @@ -12248,6 +12394,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(v **types.Ingested } sv.EndTime = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -12256,6 +12403,7 @@ func awsAwsjson11_deserializeDocumentIngestedEventsTimeWindow(v **types.Ingested } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -12295,6 +12443,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12370,6 +12519,7 @@ func awsAwsjson11_deserializeDocumentKMSKey(v **types.KMSKey, value interface{}) } sv.KmsEncryptionKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12409,6 +12559,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -12417,6 +12568,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12425,6 +12577,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Description = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -12433,6 +12586,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.LastUpdatedTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12441,6 +12595,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12544,6 +12699,7 @@ func awsAwsjson11_deserializeDocumentLabelSchema(v **types.LabelSchema, value in if err := awsAwsjson11_deserializeDocumentLabelMapper(&sv.LabelMapper, value); err != nil { return err } + case "unlabeledEventsTreatment": if value != nil { jtv, ok := value.(string) @@ -12552,6 +12708,7 @@ func awsAwsjson11_deserializeDocumentLabelSchema(v **types.LabelSchema, value in } sv.UnlabeledEventsTreatment = types.UnlabeledEventsTreatment(jtv) } + default: _, _ = key, value @@ -13128,6 +13285,7 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } } + case "variableName": if value != nil { jtv, ok := value.(string) @@ -13136,6 +13294,7 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } sv.VariableName = ptr.String(jtv) } + case "variableType": if value != nil { jtv, ok := value.(string) @@ -13144,6 +13303,7 @@ func awsAwsjson11_deserializeDocumentLogOddsMetric(v **types.LogOddsMetric, valu } sv.VariableType = ptr.String(jtv) } + default: _, _ = key, value @@ -13244,6 +13404,7 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } + case "precision": if value != nil { switch jtv := value.(type) { @@ -13277,6 +13438,7 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -13310,6 +13472,7 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } + case "tpr": if value != nil { switch jtv := value.(type) { @@ -13343,6 +13506,7 @@ func awsAwsjson11_deserializeDocumentMetricDataPoint(v **types.MetricDataPoint, } } + default: _, _ = key, value @@ -13416,6 +13580,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -13424,6 +13589,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13432,6 +13598,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.Description = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -13440,6 +13607,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.EventTypeName = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -13448,6 +13616,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.LastUpdatedTime = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -13456,6 +13625,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -13464,6 +13634,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelType = types.ModelTypeEnum(jtv) } + default: _, _ = key, value @@ -13503,6 +13674,7 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.CsvInputTemplate = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -13511,6 +13683,7 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.EventTypeName = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -13519,6 +13692,7 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.Format = types.ModelInputDataFormat(jtv) } + case "jsonInputTemplate": if value != nil { jtv, ok := value.(string) @@ -13527,6 +13701,7 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.JsonInputTemplate = ptr.String(jtv) } + case "useEventVariables": if value != nil { jtv, ok := value.(bool) @@ -13535,6 +13710,7 @@ func awsAwsjson11_deserializeDocumentModelInputConfiguration(v **types.ModelInpu } sv.UseEventVariables = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13604,6 +13780,7 @@ func awsAwsjson11_deserializeDocumentModelOutputConfiguration(v **types.ModelOut if err := awsAwsjson11_deserializeDocumentCsvIndexToVariableMap(&sv.CsvIndexToVariableMap, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -13612,10 +13789,12 @@ func awsAwsjson11_deserializeDocumentModelOutputConfiguration(v **types.ModelOut } sv.Format = types.ModelOutputDataFormat(jtv) } + case "jsonKeyToVariableMap": if err := awsAwsjson11_deserializeDocumentJsonKeyToVariableMap(&sv.JsonKeyToVariableMap, value); err != nil { return err } + default: _, _ = key, value @@ -13712,10 +13891,12 @@ func awsAwsjson11_deserializeDocumentModelScores(v **types.ModelScores, value in if err := awsAwsjson11_deserializeDocumentModelVersion(&sv.ModelVersion, value); err != nil { return err } + case "scores": if err := awsAwsjson11_deserializeDocumentModelPredictionMap(&sv.Scores, value); err != nil { return err } + default: _, _ = key, value @@ -13755,6 +13936,7 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.Arn = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -13763,6 +13945,7 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -13771,6 +13954,7 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelType = types.ModelTypeEnum(jtv) } + case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -13779,6 +13963,7 @@ func awsAwsjson11_deserializeDocumentModelVersion(v **types.ModelVersion, value } sv.ModelVersionNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -13818,6 +14003,7 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -13826,14 +14012,17 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.CreatedTime = ptr.String(jtv) } + case "externalEventsDetail": if err := awsAwsjson11_deserializeDocumentExternalEventsDetail(&sv.ExternalEventsDetail, value); err != nil { return err } + case "ingestedEventsDetail": if err := awsAwsjson11_deserializeDocumentIngestedEventsDetail(&sv.IngestedEventsDetail, value); err != nil { return err } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -13842,6 +14031,7 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.LastUpdatedTime = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -13850,6 +14040,7 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -13858,6 +14049,7 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelType = types.ModelTypeEnum(jtv) } + case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -13866,6 +14058,7 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.ModelVersionNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13874,10 +14067,12 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.Status = ptr.String(jtv) } + case "trainingDataSchema": if err := awsAwsjson11_deserializeDocumentTrainingDataSchema(&sv.TrainingDataSchema, value); err != nil { return err } + case "trainingDataSource": if value != nil { jtv, ok := value.(string) @@ -13886,14 +14081,17 @@ func awsAwsjson11_deserializeDocumentModelVersionDetail(v **types.ModelVersionDe } sv.TrainingDataSource = types.TrainingDataSourceEnum(jtv) } + case "trainingResult": if err := awsAwsjson11_deserializeDocumentTrainingResult(&sv.TrainingResult, value); err != nil { return err } + case "trainingResultV2": if err := awsAwsjson11_deserializeDocumentTrainingResultV2(&sv.TrainingResultV2, value); err != nil { return err } + default: _, _ = key, value @@ -13967,6 +14165,7 @@ func awsAwsjson11_deserializeDocumentModelVersionEvaluation(v **types.ModelVersi } sv.EvaluationScore = ptr.String(jtv) } + case "outputVariableName": if value != nil { jtv, ok := value.(string) @@ -13975,10 +14174,12 @@ func awsAwsjson11_deserializeDocumentModelVersionEvaluation(v **types.ModelVersi } sv.OutputVariableName = ptr.String(jtv) } + case "predictionExplanations": if err := awsAwsjson11_deserializeDocumentPredictionExplanations(&sv.PredictionExplanations, value); err != nil { return err } + default: _, _ = key, value @@ -14079,6 +14280,7 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } + case "precision": if value != nil { switch jtv := value.(type) { @@ -14112,6 +14314,7 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -14145,6 +14348,7 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } + case "tpr": if value != nil { switch jtv := value.(type) { @@ -14178,6 +14382,7 @@ func awsAwsjson11_deserializeDocumentOFIMetricDataPoint(v **types.OFIMetricDataP } } + default: _, _ = key, value @@ -14276,10 +14481,12 @@ func awsAwsjson11_deserializeDocumentOFIModelPerformance(v **types.OFIModelPerfo } } + case "uncertaintyRange": if err := awsAwsjson11_deserializeDocumentUncertaintyRange(&sv.UncertaintyRange, value); err != nil { return err } + default: _, _ = key, value @@ -14315,10 +14522,12 @@ func awsAwsjson11_deserializeDocumentOFITrainingMetricsValue(v **types.OFITraini if err := awsAwsjson11_deserializeDocumentOFIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } + case "modelPerformance": if err := awsAwsjson11_deserializeDocumentOFIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } + default: _, _ = key, value @@ -14358,6 +14567,7 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -14366,6 +14576,7 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14374,6 +14585,7 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Description = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -14382,6 +14594,7 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.LastUpdatedTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14390,6 +14603,7 @@ func awsAwsjson11_deserializeDocumentOutcome(v **types.Outcome, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14459,10 +14673,12 @@ func awsAwsjson11_deserializeDocumentPredictionExplanations(v **types.Prediction if err := awsAwsjson11_deserializeDocumentListOfAggregatedVariablesImpactExplanations(&sv.AggregatedVariablesImpactExplanations, value); err != nil { return err } + case "variableImpactExplanations": if err := awsAwsjson11_deserializeDocumentListOfVariableImpactExplanations(&sv.VariableImpactExplanations, value); err != nil { return err } + default: _, _ = key, value @@ -14502,6 +14718,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14541,6 +14758,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14580,6 +14798,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.DetectorId = ptr.String(jtv) } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -14588,6 +14807,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } + case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -14596,6 +14816,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -14635,6 +14856,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -14643,6 +14865,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14651,6 +14874,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Description = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -14659,6 +14883,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.DetectorId = ptr.String(jtv) } + case "expression": if value != nil { jtv, ok := value.(string) @@ -14667,6 +14892,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Expression = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -14675,6 +14901,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.Language = types.Language(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -14683,10 +14910,12 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.LastUpdatedTime = ptr.String(jtv) } + case "outcomes": if err := awsAwsjson11_deserializeDocumentNonEmptyListOfStrings(&sv.Outcomes, value); err != nil { return err } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -14695,6 +14924,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.RuleId = ptr.String(jtv) } + case "ruleVersion": if value != nil { jtv, ok := value.(string) @@ -14703,6 +14933,7 @@ func awsAwsjson11_deserializeDocumentRuleDetail(v **types.RuleDetail, value inte } sv.RuleVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -14806,6 +15037,7 @@ func awsAwsjson11_deserializeDocumentRuleResult(v **types.RuleResult, value inte if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -14814,6 +15046,7 @@ func awsAwsjson11_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -14853,6 +15086,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14861,6 +15095,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14959,6 +15194,7 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } + case "precision": if value != nil { switch jtv := value.(type) { @@ -14992,6 +15228,7 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -15025,6 +15262,7 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } + case "tpr": if value != nil { switch jtv := value.(type) { @@ -15058,6 +15296,7 @@ func awsAwsjson11_deserializeDocumentTFIMetricDataPoint(v **types.TFIMetricDataP } } + default: _, _ = key, value @@ -15156,10 +15395,12 @@ func awsAwsjson11_deserializeDocumentTFIModelPerformance(v **types.TFIModelPerfo } } + case "uncertaintyRange": if err := awsAwsjson11_deserializeDocumentUncertaintyRange(&sv.UncertaintyRange, value); err != nil { return err } + default: _, _ = key, value @@ -15195,10 +15436,12 @@ func awsAwsjson11_deserializeDocumentTFITrainingMetricsValue(v **types.TFITraini if err := awsAwsjson11_deserializeDocumentTFIMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } + case "modelPerformance": if err := awsAwsjson11_deserializeDocumentTFIModelPerformance(&sv.ModelPerformance, value); err != nil { return err } + default: _, _ = key, value @@ -15238,6 +15481,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15273,10 +15517,12 @@ func awsAwsjson11_deserializeDocumentTrainingDataSchema(v **types.TrainingDataSc if err := awsAwsjson11_deserializeDocumentLabelSchema(&sv.LabelSchema, value); err != nil { return err } + case "modelVariables": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ModelVariables, value); err != nil { return err } + default: _, _ = key, value @@ -15341,10 +15587,12 @@ func awsAwsjson11_deserializeDocumentTrainingMetrics(v **types.TrainingMetrics, } } + case "metricDataPoints": if err := awsAwsjson11_deserializeDocumentMetricDataPointsList(&sv.MetricDataPoints, value); err != nil { return err } + default: _, _ = key, value @@ -15380,14 +15628,17 @@ func awsAwsjson11_deserializeDocumentTrainingMetricsV2(v **types.TrainingMetrics if err := awsAwsjson11_deserializeDocumentATITrainingMetricsValue(&sv.Ati, value); err != nil { return err } + case "ofi": if err := awsAwsjson11_deserializeDocumentOFITrainingMetricsValue(&sv.Ofi, value); err != nil { return err } + case "tfi": if err := awsAwsjson11_deserializeDocumentTFITrainingMetricsValue(&sv.Tfi, value); err != nil { return err } + default: _, _ = key, value @@ -15423,14 +15674,17 @@ func awsAwsjson11_deserializeDocumentTrainingResult(v **types.TrainingResult, va if err := awsAwsjson11_deserializeDocumentDataValidationMetrics(&sv.DataValidationMetrics, value); err != nil { return err } + case "trainingMetrics": if err := awsAwsjson11_deserializeDocumentTrainingMetrics(&sv.TrainingMetrics, value); err != nil { return err } + case "variableImportanceMetrics": if err := awsAwsjson11_deserializeDocumentVariableImportanceMetrics(&sv.VariableImportanceMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -15466,18 +15720,22 @@ func awsAwsjson11_deserializeDocumentTrainingResultV2(v **types.TrainingResultV2 if err := awsAwsjson11_deserializeDocumentAggregatedVariablesImportanceMetrics(&sv.AggregatedVariablesImportanceMetrics, value); err != nil { return err } + case "dataValidationMetrics": if err := awsAwsjson11_deserializeDocumentDataValidationMetrics(&sv.DataValidationMetrics, value); err != nil { return err } + case "trainingMetricsV2": if err := awsAwsjson11_deserializeDocumentTrainingMetricsV2(&sv.TrainingMetricsV2, value); err != nil { return err } + case "variableImportanceMetrics": if err := awsAwsjson11_deserializeDocumentVariableImportanceMetrics(&sv.VariableImportanceMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -15542,6 +15800,7 @@ func awsAwsjson11_deserializeDocumentUncertaintyRange(v **types.UncertaintyRange } } + case "upperBoundValue": if value != nil { switch jtv := value.(type) { @@ -15575,6 +15834,7 @@ func awsAwsjson11_deserializeDocumentUncertaintyRange(v **types.UncertaintyRange } } + default: _, _ = key, value @@ -15614,6 +15874,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15653,6 +15914,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -15661,6 +15923,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.CreatedTime = ptr.String(jtv) } + case "dataSource": if value != nil { jtv, ok := value.(string) @@ -15669,6 +15932,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DataSource = types.DataSource(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -15677,6 +15941,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DataType = types.DataType(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -15685,6 +15950,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15693,6 +15959,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Description = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -15701,6 +15968,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15709,6 +15977,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } + case "variableType": if value != nil { jtv, ok := value.(string) @@ -15717,6 +15986,7 @@ func awsAwsjson11_deserializeDocumentVariable(v **types.Variable, value interfac } sv.VariableType = ptr.String(jtv) } + default: _, _ = key, value @@ -15756,6 +16026,7 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } sv.EventVariableName = ptr.String(jtv) } + case "logOddsImpact": if value != nil { switch jtv := value.(type) { @@ -15789,6 +16060,7 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } } + case "relativeImpact": if value != nil { jtv, ok := value.(string) @@ -15797,6 +16069,7 @@ func awsAwsjson11_deserializeDocumentVariableImpactExplanation(v **types.Variabl } sv.RelativeImpact = ptr.String(jtv) } + default: _, _ = key, value @@ -15832,6 +16105,7 @@ func awsAwsjson11_deserializeDocumentVariableImportanceMetrics(v **types.Variabl if err := awsAwsjson11_deserializeDocumentListOfLogOddsMetrics(&sv.LogOddsMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -15901,6 +16175,7 @@ func awsAwsjson11_deserializeOpDocumentBatchCreateVariableOutput(v **BatchCreate if err := awsAwsjson11_deserializeDocumentBatchCreateVariableErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -15936,10 +16211,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetVariableOutput(v **BatchGetVariab if err := awsAwsjson11_deserializeDocumentBatchGetVariableErrorList(&sv.Errors, value); err != nil { return err } + case "variables": if err := awsAwsjson11_deserializeDocumentVariableList(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -16103,6 +16380,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.DetectorId = ptr.String(jtv) } + case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -16111,6 +16389,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.DetectorVersionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16119,6 +16398,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDetectorVersionOutput(v **CreateDet } sv.Status = types.DetectorVersionStatus(jtv) } + default: _, _ = key, value @@ -16220,6 +16500,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -16228,6 +16509,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelType = types.ModelTypeEnum(jtv) } + case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -16236,6 +16518,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.ModelVersionNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16244,6 +16527,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelVersionOutput(v **CreateModelV } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -16279,6 +16563,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -16535,6 +16820,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventsByEventTypeOutput(v **DeleteE } sv.EventsDeletionStatus = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -16543,6 +16829,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEventsByEventTypeOutput(v **DeleteE } sv.EventTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -16861,6 +17148,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.Arn = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -16869,10 +17157,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.DetectorId = ptr.String(jtv) } + case "detectorVersionSummaries": if err := awsAwsjson11_deserializeDocumentDetectorVersionSummaryList(&sv.DetectorVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16881,6 +17171,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16916,6 +17207,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelVersionsOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentModelVersionDetailList(&sv.ModelVersionDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16924,6 +17216,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelVersionsOutput(v **DescribeM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16959,6 +17252,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchImportJobsOutput(v **GetBatchImpo if err := awsAwsjson11_deserializeDocumentBatchImportList(&sv.BatchImports, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16967,6 +17261,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchImportJobsOutput(v **GetBatchImpo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17002,6 +17297,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionJobsOutput(v **GetBatch if err := awsAwsjson11_deserializeDocumentBatchPredictionList(&sv.BatchPredictions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17010,6 +17306,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionJobsOutput(v **GetBatch } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17049,6 +17346,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeleteEventsByEventTypeStatusOutput(v } sv.EventsDeletionStatus = types.AsyncJobStatus(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -17057,6 +17355,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeleteEventsByEventTypeStatusOutput(v } sv.EventTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -17092,6 +17391,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorsOutput(v **GetDetectorsOutput if err := awsAwsjson11_deserializeDocumentDetectorList(&sv.Detectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17100,6 +17400,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorsOutput(v **GetDetectorsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17139,6 +17440,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { jtv, ok := value.(string) @@ -17147,6 +17449,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.CreatedTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17155,6 +17458,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Description = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -17163,6 +17467,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.DetectorId = ptr.String(jtv) } + case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -17171,10 +17476,12 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.DetectorVersionId = ptr.String(jtv) } + case "externalModelEndpoints": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.ExternalModelEndpoints, value); err != nil { return err } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -17183,10 +17490,12 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.LastUpdatedTime = ptr.String(jtv) } + case "modelVersions": if err := awsAwsjson11_deserializeDocumentListOfModelVersions(&sv.ModelVersions, value); err != nil { return err } + case "ruleExecutionMode": if value != nil { jtv, ok := value.(string) @@ -17195,10 +17504,12 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.RuleExecutionMode = types.RuleExecutionMode(jtv) } + case "rules": if err := awsAwsjson11_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -17207,6 +17518,7 @@ func awsAwsjson11_deserializeOpDocumentGetDetectorVersionOutput(v **GetDetectorV } sv.Status = types.DetectorVersionStatus(jtv) } + default: _, _ = key, value @@ -17242,6 +17554,7 @@ func awsAwsjson11_deserializeOpDocumentGetEntityTypesOutput(v **GetEntityTypesOu if err := awsAwsjson11_deserializeDocumentEntityTypeList(&sv.EntityTypes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17250,6 +17563,7 @@ func awsAwsjson11_deserializeOpDocumentGetEntityTypesOutput(v **GetEntityTypesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17285,6 +17599,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventOutput(v **GetEventOutput, value if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + default: _, _ = key, value @@ -17324,6 +17639,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorId = ptr.String(jtv) } + case "detectorVersionId": if value != nil { jtv, ok := value.(string) @@ -17332,6 +17648,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorVersionId = ptr.String(jtv) } + case "detectorVersionStatus": if value != nil { jtv, ok := value.(string) @@ -17340,6 +17657,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.DetectorVersionStatus = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -17348,6 +17666,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -17356,14 +17675,17 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EntityType = ptr.String(jtv) } + case "evaluatedExternalModels": if err := awsAwsjson11_deserializeDocumentListOfEvaluatedExternalModels(&sv.EvaluatedExternalModels, value); err != nil { return err } + case "evaluatedModelVersions": if err := awsAwsjson11_deserializeDocumentListOfEvaluatedModelVersions(&sv.EvaluatedModelVersions, value); err != nil { return err } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -17372,6 +17694,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventId = ptr.String(jtv) } + case "eventTimestamp": if value != nil { jtv, ok := value.(string) @@ -17380,6 +17703,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventTimestamp = ptr.String(jtv) } + case "eventTypeName": if value != nil { jtv, ok := value.(string) @@ -17388,14 +17712,17 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.EventTypeName = ptr.String(jtv) } + case "eventVariables": if err := awsAwsjson11_deserializeDocumentListOfEventVariableSummaries(&sv.EventVariables, value); err != nil { return err } + case "outcomes": if err := awsAwsjson11_deserializeDocumentListOfStrings(&sv.Outcomes, value); err != nil { return err } + case "predictionTimestamp": if value != nil { jtv, ok := value.(string) @@ -17404,6 +17731,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.PredictionTimestamp = ptr.String(jtv) } + case "ruleExecutionMode": if value != nil { jtv, ok := value.(string) @@ -17412,10 +17740,12 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionMetadataOutput(v **GetE } sv.RuleExecutionMode = types.RuleExecutionMode(jtv) } + case "rules": if err := awsAwsjson11_deserializeDocumentEvaluatedRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -17451,14 +17781,17 @@ func awsAwsjson11_deserializeOpDocumentGetEventPredictionOutput(v **GetEventPred if err := awsAwsjson11_deserializeDocumentListOfExternalModelOutputs(&sv.ExternalModelOutputs, value); err != nil { return err } + case "modelScores": if err := awsAwsjson11_deserializeDocumentListOfModelScores(&sv.ModelScores, value); err != nil { return err } + case "ruleResults": if err := awsAwsjson11_deserializeDocumentListOfRuleResults(&sv.RuleResults, value); err != nil { return err } + default: _, _ = key, value @@ -17494,6 +17827,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventTypesOutput(v **GetEventTypesOutp if err := awsAwsjson11_deserializeDocumentEventTypeList(&sv.EventTypes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17502,6 +17836,7 @@ func awsAwsjson11_deserializeOpDocumentGetEventTypesOutput(v **GetEventTypesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17537,6 +17872,7 @@ func awsAwsjson11_deserializeOpDocumentGetExternalModelsOutput(v **GetExternalMo if err := awsAwsjson11_deserializeDocumentExternalModelList(&sv.ExternalModels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17545,6 +17881,7 @@ func awsAwsjson11_deserializeOpDocumentGetExternalModelsOutput(v **GetExternalMo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17580,6 +17917,7 @@ func awsAwsjson11_deserializeOpDocumentGetKMSEncryptionKeyOutput(v **GetKMSEncry if err := awsAwsjson11_deserializeDocumentKMSKey(&sv.KmsKey, value); err != nil { return err } + default: _, _ = key, value @@ -17615,6 +17953,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelsOutput(v **GetLabelsOutput, valu if err := awsAwsjson11_deserializeDocumentLabelList(&sv.Labels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17623,6 +17962,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelsOutput(v **GetLabelsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17658,6 +17998,7 @@ func awsAwsjson11_deserializeOpDocumentGetListElementsOutput(v **GetListElements if err := awsAwsjson11_deserializeDocumentElementsList(&sv.Elements, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17666,6 +18007,7 @@ func awsAwsjson11_deserializeOpDocumentGetListElementsOutput(v **GetListElements } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17701,6 +18043,7 @@ func awsAwsjson11_deserializeOpDocumentGetListsMetadataOutput(v **GetListsMetada if err := awsAwsjson11_deserializeDocumentAllowDenyLists(&sv.Lists, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17709,6 +18052,7 @@ func awsAwsjson11_deserializeOpDocumentGetListsMetadataOutput(v **GetListsMetada } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17744,6 +18088,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu if err := awsAwsjson11_deserializeDocumentModelList(&sv.Models, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17752,6 +18097,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelsOutput(v **GetModelsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17791,14 +18137,17 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.Arn = ptr.String(jtv) } + case "externalEventsDetail": if err := awsAwsjson11_deserializeDocumentExternalEventsDetail(&sv.ExternalEventsDetail, value); err != nil { return err } + case "ingestedEventsDetail": if err := awsAwsjson11_deserializeDocumentIngestedEventsDetail(&sv.IngestedEventsDetail, value); err != nil { return err } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -17807,6 +18156,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -17815,6 +18165,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelType = types.ModelTypeEnum(jtv) } + case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -17823,6 +18174,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.ModelVersionNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17831,10 +18183,12 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.Status = ptr.String(jtv) } + case "trainingDataSchema": if err := awsAwsjson11_deserializeDocumentTrainingDataSchema(&sv.TrainingDataSchema, value); err != nil { return err } + case "trainingDataSource": if value != nil { jtv, ok := value.(string) @@ -17843,6 +18197,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelVersionOutput(v **GetModelVersion } sv.TrainingDataSource = types.TrainingDataSourceEnum(jtv) } + default: _, _ = key, value @@ -17882,10 +18237,12 @@ func awsAwsjson11_deserializeOpDocumentGetOutcomesOutput(v **GetOutcomesOutput, } sv.NextToken = ptr.String(jtv) } + case "outcomes": if err := awsAwsjson11_deserializeDocumentOutcomeList(&sv.Outcomes, value); err != nil { return err } + default: _, _ = key, value @@ -17925,10 +18282,12 @@ func awsAwsjson11_deserializeOpDocumentGetRulesOutput(v **GetRulesOutput, value } sv.NextToken = ptr.String(jtv) } + case "ruleDetails": if err := awsAwsjson11_deserializeDocumentRuleDetailList(&sv.RuleDetails, value); err != nil { return err } + default: _, _ = key, value @@ -17968,10 +18327,12 @@ func awsAwsjson11_deserializeOpDocumentGetVariablesOutput(v **GetVariablesOutput } sv.NextToken = ptr.String(jtv) } + case "variables": if err := awsAwsjson11_deserializeDocumentVariableList(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -18007,6 +18368,7 @@ func awsAwsjson11_deserializeOpDocumentListEventPredictionsOutput(v **ListEventP if err := awsAwsjson11_deserializeDocumentListOfEventPredictionSummaries(&sv.EventPredictionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18015,6 +18377,7 @@ func awsAwsjson11_deserializeOpDocumentListEventPredictionsOutput(v **ListEventP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18054,10 +18417,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18593,6 +18958,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelId = ptr.String(jtv) } + case "modelType": if value != nil { jtv, ok := value.(string) @@ -18601,6 +18967,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelType = types.ModelTypeEnum(jtv) } + case "modelVersionNumber": if value != nil { jtv, ok := value.(string) @@ -18609,6 +18976,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.ModelVersionNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18617,6 +18985,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelVersionOutput(v **UpdateModelV } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -18714,6 +19083,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleVersionOutput(v **UpdateRuleVer if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/freetier/deserializers.go b/service/freetier/deserializers.go index b3e0cecc18f..d02b8474cdb 100644 --- a/service/freetier/deserializers.go +++ b/service/freetier/deserializers.go @@ -307,6 +307,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -315,6 +316,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Description = ptr.String(jtv) } + case "forecastedUsageAmount": if value != nil { switch jtv := value.(type) { @@ -348,6 +350,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } + case "freeTierType": if value != nil { jtv, ok := value.(string) @@ -356,6 +359,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.FreeTierType = ptr.String(jtv) } + case "limit": if value != nil { switch jtv := value.(type) { @@ -389,6 +393,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } } + case "operation": if value != nil { jtv, ok := value.(string) @@ -397,6 +402,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Operation = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -405,6 +411,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Region = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -413,6 +420,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Service = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -421,6 +429,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.Unit = ptr.String(jtv) } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -429,6 +438,7 @@ func awsAwsjson10_deserializeDocumentFreeTierUsage(v **types.FreeTierUsage, valu } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -502,6 +512,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -541,6 +552,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -580,6 +592,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -615,6 +628,7 @@ func awsAwsjson10_deserializeOpDocumentGetFreeTierUsageOutput(v **GetFreeTierUsa if err := awsAwsjson10_deserializeDocumentFreeTierUsages(&sv.FreeTierUsages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -623,6 +637,7 @@ func awsAwsjson10_deserializeOpDocumentGetFreeTierUsageOutput(v **GetFreeTierUsa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/fsx/deserializers.go b/service/fsx/deserializers.go index d154402198b..5eea61edc5f 100644 --- a/service/fsx/deserializers.go +++ b/service/fsx/deserializers.go @@ -6834,6 +6834,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.ActiveDirectoryId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -6842,6 +6843,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.DomainName = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -6850,6 +6852,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(v **types.A } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6889,6 +6892,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.ActiveDirectoryId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6897,6 +6901,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6905,6 +6910,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryError(v **types.ActiveDirect } sv.Type = types.ActiveDirectoryErrorType(jtv) } + default: _, _ = key, value @@ -6944,10 +6950,12 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.AdministrativeActionType = types.AdministrativeActionType(jtv) } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentAdministrativeActionFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -6960,6 +6968,7 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.ProgressPercent = ptr.Int32(int32(i64)) } + case "RemainingTransferBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6972,6 +6981,7 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.RemainingTransferBytes = ptr.Int64(i64) } + case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -6987,6 +6997,7 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6995,18 +7006,22 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.Status = types.Status(jtv) } + case "TargetFileSystemValues": if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.TargetFileSystemValues, value); err != nil { return err } + case "TargetSnapshotValues": if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.TargetSnapshotValues, value); err != nil { return err } + case "TargetVolumeValues": if err := awsAwsjson11_deserializeDocumentVolume(&sv.TargetVolumeValues, value); err != nil { return err } + case "TotalTransferBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7019,6 +7034,7 @@ func awsAwsjson11_deserializeDocumentAdministrativeAction(v **types.Administrati } sv.TotalTransferBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -7058,6 +7074,7 @@ func awsAwsjson11_deserializeDocumentAdministrativeActionFailureDetails(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7127,6 +7144,7 @@ func awsAwsjson11_deserializeDocumentAggregateConfiguration(v **types.AggregateC if err := awsAwsjson11_deserializeDocumentAggregates(&sv.Aggregates, value); err != nil { return err } + case "TotalConstituents": if value != nil { jtv, ok := value.(json.Number) @@ -7139,6 +7157,7 @@ func awsAwsjson11_deserializeDocumentAggregateConfiguration(v **types.AggregateC } sv.TotalConstituents = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7214,6 +7233,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Lifecycle = types.AliasLifecycle(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7222,6 +7242,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7295,6 +7316,7 @@ func awsAwsjson11_deserializeDocumentAutocommitPeriod(v **types.AutocommitPeriod } sv.Type = types.AutocommitPeriodType(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -7307,6 +7329,7 @@ func awsAwsjson11_deserializeDocumentAutocommitPeriod(v **types.AutocommitPeriod } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7342,6 +7365,7 @@ func awsAwsjson11_deserializeDocumentAutoExportPolicy(v **types.AutoExportPolicy if err := awsAwsjson11_deserializeDocumentEventTypes(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -7377,6 +7401,7 @@ func awsAwsjson11_deserializeDocumentAutoImportPolicy(v **types.AutoImportPolicy if err := awsAwsjson11_deserializeDocumentEventTypes(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -7416,6 +7441,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7431,18 +7457,22 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } + case "DirectoryInformation": if err := awsAwsjson11_deserializeDocumentActiveDirectoryBackupAttributes(&sv.DirectoryInformation, value); err != nil { return err } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentBackupFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileSystem": if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7451,6 +7481,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.KmsKeyId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -7459,6 +7490,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Lifecycle = types.BackupLifecycle(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -7467,6 +7499,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.OwnerId = ptr.String(jtv) } + case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -7479,6 +7512,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ProgressPercent = ptr.Int32(int32(i64)) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -7487,6 +7521,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ResourceARN = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7495,6 +7530,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } + case "SourceBackupId": if value != nil { jtv, ok := value.(string) @@ -7503,6 +7539,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackupId = ptr.String(jtv) } + case "SourceBackupRegion": if value != nil { jtv, ok := value.(string) @@ -7511,10 +7548,12 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.SourceBackupRegion = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7523,10 +7562,12 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Type = types.BackupType(jtv) } + case "Volume": if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } + default: _, _ = key, value @@ -7566,6 +7607,7 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi } sv.BackupId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7574,6 +7616,7 @@ func awsAwsjson11_deserializeDocumentBackupBeingCopied(v **types.BackupBeingCopi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7613,6 +7656,7 @@ func awsAwsjson11_deserializeDocumentBackupFailureDetails(v **types.BackupFailur } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7652,6 +7696,7 @@ func awsAwsjson11_deserializeDocumentBackupInProgress(v **types.BackupInProgress } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7691,6 +7736,7 @@ func awsAwsjson11_deserializeDocumentBackupNotFound(v **types.BackupNotFound, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7730,6 +7776,7 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, } sv.FileSystemId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7738,6 +7785,7 @@ func awsAwsjson11_deserializeDocumentBackupRestoring(v **types.BackupRestoring, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7811,6 +7859,7 @@ func awsAwsjson11_deserializeDocumentBadRequest(v **types.BadRequest, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7850,6 +7899,7 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Enabled = ptr.Bool(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -7858,6 +7908,7 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Format = types.ReportFormat(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -7866,6 +7917,7 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Path = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -7874,6 +7926,7 @@ func awsAwsjson11_deserializeDocumentCompletionReport(v **types.CompletionReport } sv.Scope = types.ReportScope(jtv) } + default: _, _ = key, value @@ -7913,6 +7966,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.AssociationId = ptr.String(jtv) } + case "BatchImportMetaDataOnCreate": if value != nil { jtv, ok := value.(bool) @@ -7921,6 +7975,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.BatchImportMetaDataOnCreate = ptr.Bool(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7936,6 +7991,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } } + case "DataRepositoryPath": if value != nil { jtv, ok := value.(string) @@ -7944,14 +8000,17 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.DataRepositoryPath = ptr.String(jtv) } + case "DataRepositorySubdirectories": if err := awsAwsjson11_deserializeDocumentSubDirectoriesPaths(&sv.DataRepositorySubdirectories, value); err != nil { return err } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -7960,6 +8019,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileCacheId = ptr.String(jtv) } + case "FileCachePath": if value != nil { jtv, ok := value.(string) @@ -7968,6 +8028,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileCachePath = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -7976,6 +8037,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemPath": if value != nil { jtv, ok := value.(string) @@ -7984,6 +8046,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.FileSystemPath = ptr.String(jtv) } + case "ImportedFileChunkSize": if value != nil { jtv, ok := value.(json.Number) @@ -7996,6 +8059,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.ImportedFileChunkSize = ptr.Int32(int32(i64)) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8004,10 +8068,12 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } + case "NFS": if err := awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(&sv.NFS, value); err != nil { return err } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8016,14 +8082,17 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociation(v **types.DataRep } sv.ResourceARN = ptr.String(jtv) } + case "S3": if err := awsAwsjson11_deserializeDocumentS3DataRepositoryConfiguration(&sv.S3, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8099,6 +8168,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryAssociationNotFound(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8172,6 +8242,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.AutoImportPolicy = types.AutoImportPolicyType(jtv) } + case "ExportPath": if value != nil { jtv, ok := value.(string) @@ -8180,10 +8251,12 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ExportPath = ptr.String(jtv) } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "ImportedFileChunkSize": if value != nil { jtv, ok := value.(json.Number) @@ -8196,6 +8269,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ImportedFileChunkSize = ptr.Int32(int32(i64)) } + case "ImportPath": if value != nil { jtv, ok := value.(string) @@ -8204,6 +8278,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.ImportPath = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8212,6 +8287,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(v **types.DataR } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } + default: _, _ = key, value @@ -8251,6 +8327,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryFailureDetails(v **types.Data } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8294,6 +8371,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.CapacityToRelease = ptr.Int64(i64) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8309,6 +8387,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8324,10 +8403,12 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -8336,6 +8417,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.FileCacheId = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8426,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.FileSystemId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -8352,18 +8435,22 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.Lifecycle = types.DataRepositoryTaskLifecycle(jtv) } + case "Paths": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskPaths(&sv.Paths, value); err != nil { return err } + case "ReleaseConfiguration": if err := awsAwsjson11_deserializeDocumentReleaseConfiguration(&sv.ReleaseConfiguration, value); err != nil { return err } + case "Report": if err := awsAwsjson11_deserializeDocumentCompletionReport(&sv.Report, value); err != nil { return err } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8372,6 +8459,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.ResourceARN = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8387,14 +8475,17 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } } + case "Status": if err := awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(&sv.Status, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "TaskId": if value != nil { jtv, ok := value.(string) @@ -8403,6 +8494,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.TaskId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8411,6 +8503,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTask(v **types.DataRepository } sv.Type = types.DataRepositoryTaskType(jtv) } + default: _, _ = key, value @@ -8450,6 +8543,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskEnded(v **types.DataRepos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8489,6 +8583,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskExecuting(v **types.DataR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8528,6 +8623,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskFailureDetails(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8567,6 +8663,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskNotFound(v **types.DataRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8680,6 +8777,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.FailedCount = ptr.Int64(i64) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8695,6 +8793,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } } + case "ReleasedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8707,6 +8806,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.ReleasedCapacity = ptr.Int64(i64) } + case "SucceededCount": if value != nil { jtv, ok := value.(json.Number) @@ -8719,6 +8819,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.SucceededCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -8731,6 +8832,7 @@ func awsAwsjson11_deserializeDocumentDataRepositoryTaskStatus(v **types.DataRepo } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -8770,10 +8872,12 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemLustreResponse(v **types.De } sv.FinalBackupId = ptr.String(jtv) } + case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } + default: _, _ = key, value @@ -8813,10 +8917,12 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemOpenZFSResponse(v **types.D } sv.FinalBackupId = ptr.String(jtv) } + case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } + default: _, _ = key, value @@ -8856,10 +8962,12 @@ func awsAwsjson11_deserializeDocumentDeleteFileSystemWindowsResponse(v **types.D } sv.FinalBackupId = ptr.String(jtv) } + case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } + default: _, _ = key, value @@ -8899,10 +9007,12 @@ func awsAwsjson11_deserializeDocumentDeleteVolumeOntapResponse(v **types.DeleteV } sv.FinalBackupId = ptr.String(jtv) } + case "FinalBackupTags": if err := awsAwsjson11_deserializeDocumentTags(&sv.FinalBackupTags, value); err != nil { return err } + default: _, _ = key, value @@ -8946,6 +9056,7 @@ func awsAwsjson11_deserializeDocumentDiskIopsConfiguration(v **types.DiskIopsCon } sv.Iops = ptr.Int64(i64) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -8954,6 +9065,7 @@ func awsAwsjson11_deserializeDocumentDiskIopsConfiguration(v **types.DiskIopsCon } sv.Mode = types.DiskIopsConfigurationMode(jtv) } + default: _, _ = key, value @@ -9029,6 +9141,7 @@ func awsAwsjson11_deserializeDocumentDurationSinceLastAccess(v **types.DurationS } sv.Unit = types.Unit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -9041,6 +9154,7 @@ func awsAwsjson11_deserializeDocumentDurationSinceLastAccess(v **types.DurationS } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -9123,10 +9237,12 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } } + case "DataRepositoryAssociationIds": if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociationIds(&sv.DataRepositoryAssociationIds, value); err != nil { return err } + case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9135,10 +9251,12 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.DNSName = ptr.String(jtv) } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileCacheFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -9147,6 +9265,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheId = ptr.String(jtv) } + case "FileCacheType": if value != nil { jtv, ok := value.(string) @@ -9155,6 +9274,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheType = types.FileCacheType(jtv) } + case "FileCacheTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9163,6 +9283,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.FileCacheTypeVersion = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9171,6 +9292,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.KmsKeyId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9179,14 +9301,17 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.Lifecycle = types.FileCacheLifecycle(jtv) } + case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(&sv.LustreConfiguration, value); err != nil { return err } + case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9195,6 +9320,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.OwnerId = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -9203,6 +9329,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.ResourceARN = ptr.String(jtv) } + case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9215,10 +9342,12 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9227,6 +9356,7 @@ func awsAwsjson11_deserializeDocumentFileCache(v **types.FileCache, value interf } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9266,6 +9396,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.CopyTagsToDataRepositoryAssociations = ptr.Bool(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9281,10 +9412,12 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } } + case "DataRepositoryAssociationIds": if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociationIds(&sv.DataRepositoryAssociationIds, value); err != nil { return err } + case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9293,10 +9426,12 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.DNSName = ptr.String(jtv) } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileCacheFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileCacheId": if value != nil { jtv, ok := value.(string) @@ -9305,6 +9440,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheId = ptr.String(jtv) } + case "FileCacheType": if value != nil { jtv, ok := value.(string) @@ -9313,6 +9449,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheType = types.FileCacheType(jtv) } + case "FileCacheTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9321,6 +9458,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.FileCacheTypeVersion = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9329,6 +9467,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.KmsKeyId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9337,14 +9476,17 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.Lifecycle = types.FileCacheLifecycle(jtv) } + case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(&sv.LustreConfiguration, value); err != nil { return err } + case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9353,6 +9495,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.OwnerId = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -9361,6 +9504,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.ResourceARN = ptr.String(jtv) } + case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9373,14 +9517,17 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9389,6 +9536,7 @@ func awsAwsjson11_deserializeDocumentFileCacheCreating(v **types.FileCacheCreati } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9428,6 +9576,7 @@ func awsAwsjson11_deserializeDocumentFileCacheFailureDetails(v **types.FileCache } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9467,14 +9616,17 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.DeploymentType = types.FileCacheLustreDeploymentType(jtv) } + case "LogConfiguration": if err := awsAwsjson11_deserializeDocumentLustreLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "MetadataConfiguration": if err := awsAwsjson11_deserializeDocumentFileCacheLustreMetadataConfiguration(&sv.MetadataConfiguration, value); err != nil { return err } + case "MountName": if value != nil { jtv, ok := value.(string) @@ -9483,6 +9635,7 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.MountName = ptr.String(jtv) } + case "PerUnitStorageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -9495,6 +9648,7 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.PerUnitStorageThroughput = ptr.Int32(int32(i64)) } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -9503,6 +9657,7 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreConfiguration(v **types.File } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -9546,6 +9701,7 @@ func awsAwsjson11_deserializeDocumentFileCacheLustreMetadataConfiguration(v **ty } sv.StorageCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9585,6 +9741,7 @@ func awsAwsjson11_deserializeDocumentFileCacheNotFound(v **types.FileCacheNotFou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9654,6 +9811,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9669,6 +9827,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } } + case "DNSName": if value != nil { jtv, ok := value.(string) @@ -9677,10 +9836,12 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.DNSName = ptr.String(jtv) } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFileSystemFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -9689,6 +9850,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -9697,6 +9859,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemType = types.FileSystemType(jtv) } + case "FileSystemTypeVersion": if value != nil { jtv, ok := value.(string) @@ -9705,6 +9868,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.FileSystemTypeVersion = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9713,6 +9877,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.KmsKeyId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -9721,22 +9886,27 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.Lifecycle = types.FileSystemLifecycle(jtv) } + case "LustreConfiguration": if err := awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(&sv.LustreConfiguration, value); err != nil { return err } + case "NetworkInterfaceIds": if err := awsAwsjson11_deserializeDocumentNetworkInterfaceIds(&sv.NetworkInterfaceIds, value); err != nil { return err } + case "OntapConfiguration": if err := awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(&sv.OntapConfiguration, value); err != nil { return err } + case "OpenZFSConfiguration": if err := awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(&sv.OpenZFSConfiguration, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9745,6 +9915,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.OwnerId = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -9753,6 +9924,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.ResourceARN = ptr.String(jtv) } + case "StorageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9765,6 +9937,7 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -9773,14 +9946,17 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.StorageType = types.StorageType(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9789,10 +9965,12 @@ func awsAwsjson11_deserializeDocumentFileSystem(v **types.FileSystem, value inte } sv.VpcId = ptr.String(jtv) } + case "WindowsConfiguration": if err := awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(&sv.WindowsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9832,10 +10010,12 @@ func awsAwsjson11_deserializeDocumentFileSystemEndpoint(v **types.FileSystemEndp } sv.DNSName = ptr.String(jtv) } + case "IpAddresses": if err := awsAwsjson11_deserializeDocumentOntapEndpointIpAddresses(&sv.IpAddresses, value); err != nil { return err } + default: _, _ = key, value @@ -9871,10 +10051,12 @@ func awsAwsjson11_deserializeDocumentFileSystemEndpoints(v **types.FileSystemEnd if err := awsAwsjson11_deserializeDocumentFileSystemEndpoint(&sv.Intercluster, value); err != nil { return err } + case "Management": if err := awsAwsjson11_deserializeDocumentFileSystemEndpoint(&sv.Management, value); err != nil { return err } + default: _, _ = key, value @@ -9914,6 +10096,7 @@ func awsAwsjson11_deserializeDocumentFileSystemFailureDetails(v **types.FileSyst } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9957,6 +10140,7 @@ func awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(v **t } sv.Iops = ptr.Int32(int32(i64)) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -9965,6 +10149,7 @@ func awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(v **t } sv.Mode = types.MetadataConfigurationMode(jtv) } + default: _, _ = key, value @@ -10040,6 +10225,7 @@ func awsAwsjson11_deserializeDocumentFileSystemNotFound(v **types.FileSystemNotF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10113,6 +10299,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp } sv.Message = ptr.String(jtv) } + case "Parameter": if value != nil { jtv, ok := value.(string) @@ -10121,6 +10308,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleParameterError(v **types.Incomp } sv.Parameter = ptr.String(jtv) } + default: _, _ = key, value @@ -10160,6 +10348,7 @@ func awsAwsjson11_deserializeDocumentIncompatibleRegionForMultiAZ(v **types.Inco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10199,6 +10388,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10238,6 +10428,7 @@ func awsAwsjson11_deserializeDocumentInvalidDataRepositoryType(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10277,6 +10468,7 @@ func awsAwsjson11_deserializeDocumentInvalidDestinationKmsKey(v **types.InvalidD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10316,6 +10508,7 @@ func awsAwsjson11_deserializeDocumentInvalidExportPath(v **types.InvalidExportPa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10355,6 +10548,7 @@ func awsAwsjson11_deserializeDocumentInvalidImportPath(v **types.InvalidImportPa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10394,6 +10588,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidRouteTableId = ptr.String(jtv) } + case "InvalidSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -10402,6 +10597,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidSecurityGroupId = ptr.String(jtv) } + case "InvalidSubnetId": if value != nil { jtv, ok := value.(string) @@ -10410,6 +10606,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.InvalidSubnetId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10418,6 +10615,7 @@ func awsAwsjson11_deserializeDocumentInvalidNetworkSettings(v **types.InvalidNet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10457,6 +10655,7 @@ func awsAwsjson11_deserializeDocumentInvalidPerUnitStorageThroughput(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10496,6 +10695,7 @@ func awsAwsjson11_deserializeDocumentInvalidRegion(v **types.InvalidRegion, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10535,6 +10735,7 @@ func awsAwsjson11_deserializeDocumentInvalidSourceKmsKey(v **types.InvalidSource } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10574,6 +10775,7 @@ func awsAwsjson11_deserializeDocumentLifecycleTransitionReason(v **types.Lifecyc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10617,6 +10819,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } + case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -10625,6 +10828,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.CopyTagsToBackups = ptr.Bool(jtv) } + case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -10633,6 +10837,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } + case "DataCompressionType": if value != nil { jtv, ok := value.(string) @@ -10641,10 +10846,12 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DataCompressionType = types.DataCompressionType(jtv) } + case "DataRepositoryConfiguration": if err := awsAwsjson11_deserializeDocumentDataRepositoryConfiguration(&sv.DataRepositoryConfiguration, value); err != nil { return err } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -10653,6 +10860,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DeploymentType = types.LustreDeploymentType(jtv) } + case "DriveCacheType": if value != nil { jtv, ok := value.(string) @@ -10661,14 +10869,17 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.DriveCacheType = types.DriveCacheType(jtv) } + case "LogConfiguration": if err := awsAwsjson11_deserializeDocumentLustreLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "MetadataConfiguration": if err := awsAwsjson11_deserializeDocumentFileSystemLustreMetadataConfiguration(&sv.MetadataConfiguration, value); err != nil { return err } + case "MountName": if value != nil { jtv, ok := value.(string) @@ -10677,6 +10888,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.MountName = ptr.String(jtv) } + case "PerUnitStorageThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -10689,10 +10901,12 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.PerUnitStorageThroughput = ptr.Int32(int32(i64)) } + case "RootSquashConfiguration": if err := awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(&sv.RootSquashConfiguration, value); err != nil { return err } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -10701,6 +10915,7 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -10740,6 +10955,7 @@ func awsAwsjson11_deserializeDocumentLustreLogConfiguration(v **types.LustreLogC } sv.Destination = ptr.String(jtv) } + case "Level": if value != nil { jtv, ok := value.(string) @@ -10748,6 +10964,7 @@ func awsAwsjson11_deserializeDocumentLustreLogConfiguration(v **types.LustreLogC } sv.Level = types.LustreAccessAuditLogLevel(jtv) } + default: _, _ = key, value @@ -10819,6 +11036,7 @@ func awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(v **types.Lus if err := awsAwsjson11_deserializeDocumentLustreNoSquashNids(&sv.NoSquashNids, value); err != nil { return err } + case "RootSquash": if value != nil { jtv, ok := value.(string) @@ -10827,6 +11045,7 @@ func awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(v **types.Lus } sv.RootSquash = ptr.String(jtv) } + default: _, _ = key, value @@ -10866,6 +11085,7 @@ func awsAwsjson11_deserializeDocumentMissingFileCacheConfiguration(v **types.Mis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10905,6 +11125,7 @@ func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.Mi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10944,6 +11165,7 @@ func awsAwsjson11_deserializeDocumentMissingVolumeConfiguration(v **types.Missin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11015,10 +11237,12 @@ func awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(v **types.NF if err := awsAwsjson11_deserializeDocumentAutoExportPolicy(&sv.AutoExportPolicy, value); err != nil { return err } + case "DnsIps": if err := awsAwsjson11_deserializeDocumentRepositoryDnsIps(&sv.DnsIps, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11027,6 +11251,7 @@ func awsAwsjson11_deserializeDocumentNFSDataRepositoryConfiguration(v **types.NF } sv.Version = types.NfsVersion(jtv) } + default: _, _ = key, value @@ -11066,6 +11291,7 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic } sv.Message = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -11074,6 +11300,7 @@ func awsAwsjson11_deserializeDocumentNotServiceResourceError(v **types.NotServic } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11153,6 +11380,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } + case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -11161,6 +11389,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -11169,10 +11398,12 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.DeploymentType = types.OntapDeploymentType(jtv) } + case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } + case "EndpointIpAddressRange": if value != nil { jtv, ok := value.(string) @@ -11181,10 +11412,12 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.EndpointIpAddressRange = ptr.String(jtv) } + case "Endpoints": if err := awsAwsjson11_deserializeDocumentFileSystemEndpoints(&sv.Endpoints, value); err != nil { return err } + case "FsxAdminPassword": if value != nil { jtv, ok := value.(string) @@ -11193,6 +11426,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.FsxAdminPassword = ptr.String(jtv) } + case "HAPairs": if value != nil { jtv, ok := value.(json.Number) @@ -11205,6 +11439,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.HAPairs = ptr.Int32(int32(i64)) } + case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -11213,10 +11448,12 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.PreferredSubnetId = ptr.String(jtv) } + case "RouteTableIds": if err := awsAwsjson11_deserializeDocumentRouteTableIds(&sv.RouteTableIds, value); err != nil { return err } + case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11229,6 +11466,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } + case "ThroughputCapacityPerHAPair": if value != nil { jtv, ok := value.(json.Number) @@ -11241,6 +11479,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.ThroughputCapacityPerHAPair = ptr.Int32(int32(i64)) } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -11249,6 +11488,7 @@ func awsAwsjson11_deserializeDocumentOntapFileSystemConfiguration(v **types.Onta } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -11284,6 +11524,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol if err := awsAwsjson11_deserializeDocumentAggregateConfiguration(&sv.AggregateConfiguration, value); err != nil { return err } + case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -11292,6 +11533,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.CopyTagsToBackups = ptr.Bool(jtv) } + case "FlexCacheEndpointType": if value != nil { jtv, ok := value.(string) @@ -11300,6 +11542,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.FlexCacheEndpointType = types.FlexCacheEndpointType(jtv) } + case "JunctionPath": if value != nil { jtv, ok := value.(string) @@ -11308,6 +11551,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.JunctionPath = ptr.String(jtv) } + case "OntapVolumeType": if value != nil { jtv, ok := value.(string) @@ -11316,6 +11560,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.OntapVolumeType = types.OntapVolumeType(jtv) } + case "SecurityStyle": if value != nil { jtv, ok := value.(string) @@ -11324,6 +11569,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SecurityStyle = types.SecurityStyle(jtv) } + case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11336,6 +11582,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SizeInBytes = ptr.Int64(i64) } + case "SizeInMegabytes": if value != nil { jtv, ok := value.(json.Number) @@ -11348,10 +11595,12 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SizeInMegabytes = ptr.Int32(int32(i64)) } + case "SnaplockConfiguration": if err := awsAwsjson11_deserializeDocumentSnaplockConfiguration(&sv.SnaplockConfiguration, value); err != nil { return err } + case "SnapshotPolicy": if value != nil { jtv, ok := value.(string) @@ -11360,6 +11609,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.SnapshotPolicy = ptr.String(jtv) } + case "StorageEfficiencyEnabled": if value != nil { jtv, ok := value.(bool) @@ -11368,6 +11618,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageEfficiencyEnabled = ptr.Bool(jtv) } + case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -11376,6 +11627,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageVirtualMachineId = ptr.String(jtv) } + case "StorageVirtualMachineRoot": if value != nil { jtv, ok := value.(bool) @@ -11384,10 +11636,12 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.StorageVirtualMachineRoot = ptr.Bool(jtv) } + case "TieringPolicy": if err := awsAwsjson11_deserializeDocumentTieringPolicy(&sv.TieringPolicy, value); err != nil { return err } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -11396,6 +11650,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.UUID = ptr.String(jtv) } + case "VolumeStyle": if value != nil { jtv, ok := value.(string) @@ -11404,6 +11659,7 @@ func awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(v **types.OntapVol } sv.VolumeStyle = types.VolumeStyle(jtv) } + default: _, _ = key, value @@ -11443,10 +11699,12 @@ func awsAwsjson11_deserializeDocumentOpenZFSClientConfiguration(v **types.OpenZF } sv.Clients = ptr.String(jtv) } + case "Options": if err := awsAwsjson11_deserializeDocumentOpenZFSNfsExportOptions(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -11524,6 +11782,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } + case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -11532,6 +11791,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.CopyTagsToBackups = ptr.Bool(jtv) } + case "CopyTagsToVolumes": if value != nil { jtv, ok := value.(bool) @@ -11540,6 +11800,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.CopyTagsToVolumes = ptr.Bool(jtv) } + case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -11548,6 +11809,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -11556,10 +11818,12 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.DeploymentType = types.OpenZFSDeploymentType(jtv) } + case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } + case "EndpointIpAddress": if value != nil { jtv, ok := value.(string) @@ -11568,6 +11832,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.EndpointIpAddress = ptr.String(jtv) } + case "EndpointIpAddressRange": if value != nil { jtv, ok := value.(string) @@ -11576,6 +11841,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.EndpointIpAddressRange = ptr.String(jtv) } + case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -11584,6 +11850,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.PreferredSubnetId = ptr.String(jtv) } + case "RootVolumeId": if value != nil { jtv, ok := value.(string) @@ -11592,10 +11859,12 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.RootVolumeId = ptr.String(jtv) } + case "RouteTableIds": if err := awsAwsjson11_deserializeDocumentRouteTableIds(&sv.RouteTableIds, value); err != nil { return err } + case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -11608,6 +11877,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -11616,6 +11886,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSFileSystemConfiguration(v **types.Op } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -11651,6 +11922,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSNfsExport(v **types.OpenZFSNfsExport if err := awsAwsjson11_deserializeDocumentOpenZFSClientConfigurations(&sv.ClientConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -11760,6 +12032,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(v **type } sv.CopyStrategy = types.OpenZFSCopyStrategy(jtv) } + case "SnapshotARN": if value != nil { jtv, ok := value.(string) @@ -11768,6 +12041,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(v **type } sv.SnapshotARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11845,6 +12119,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.Id = ptr.Int32(int32(i64)) } + case "StorageCapacityQuotaGiB": if value != nil { jtv, ok := value.(json.Number) @@ -11857,6 +12132,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.StorageCapacityQuotaGiB = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11865,6 +12141,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSUserOrGroupQuota(v **types.OpenZFSUs } sv.Type = types.OpenZFSQuotaType(jtv) } + default: _, _ = key, value @@ -11904,6 +12181,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.CopyStrategy = types.OpenZFSCopyStrategy(jtv) } + case "CopyTagsToSnapshots": if value != nil { jtv, ok := value.(bool) @@ -11912,6 +12190,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.CopyTagsToSnapshots = ptr.Bool(jtv) } + case "DataCompressionType": if value != nil { jtv, ok := value.(string) @@ -11920,6 +12199,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DataCompressionType = types.OpenZFSDataCompressionType(jtv) } + case "DeleteClonedVolumes": if value != nil { jtv, ok := value.(bool) @@ -11928,6 +12208,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteClonedVolumes = ptr.Bool(jtv) } + case "DeleteIntermediateData": if value != nil { jtv, ok := value.(bool) @@ -11936,6 +12217,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteIntermediateData = ptr.Bool(jtv) } + case "DeleteIntermediateSnaphots": if value != nil { jtv, ok := value.(bool) @@ -11944,6 +12226,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DeleteIntermediateSnaphots = ptr.Bool(jtv) } + case "DestinationSnapshot": if value != nil { jtv, ok := value.(string) @@ -11952,14 +12235,17 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.DestinationSnapshot = ptr.String(jtv) } + case "NfsExports": if err := awsAwsjson11_deserializeDocumentOpenZFSNfsExports(&sv.NfsExports, value); err != nil { return err } + case "OriginSnapshot": if err := awsAwsjson11_deserializeDocumentOpenZFSOriginSnapshotConfiguration(&sv.OriginSnapshot, value); err != nil { return err } + case "ParentVolumeId": if value != nil { jtv, ok := value.(string) @@ -11968,6 +12254,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.ParentVolumeId = ptr.String(jtv) } + case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -11976,6 +12263,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.ReadOnly = ptr.Bool(jtv) } + case "RecordSizeKiB": if value != nil { jtv, ok := value.(json.Number) @@ -11988,6 +12276,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.RecordSizeKiB = ptr.Int32(int32(i64)) } + case "RestoreToSnapshot": if value != nil { jtv, ok := value.(string) @@ -11996,6 +12285,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.RestoreToSnapshot = ptr.String(jtv) } + case "SourceSnapshotARN": if value != nil { jtv, ok := value.(string) @@ -12004,6 +12294,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.SourceSnapshotARN = ptr.String(jtv) } + case "StorageCapacityQuotaGiB": if value != nil { jtv, ok := value.(json.Number) @@ -12016,6 +12307,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.StorageCapacityQuotaGiB = ptr.Int32(int32(i64)) } + case "StorageCapacityReservationGiB": if value != nil { jtv, ok := value.(json.Number) @@ -12028,10 +12320,12 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.StorageCapacityReservationGiB = ptr.Int32(int32(i64)) } + case "UserAndGroupQuotas": if err := awsAwsjson11_deserializeDocumentOpenZFSUserAndGroupQuotas(&sv.UserAndGroupQuotas, value); err != nil { return err } + case "VolumePath": if value != nil { jtv, ok := value.(string) @@ -12040,6 +12334,7 @@ func awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(v **types.OpenZF } sv.VolumePath = ptr.String(jtv) } + default: _, _ = key, value @@ -12075,6 +12370,7 @@ func awsAwsjson11_deserializeDocumentReleaseConfiguration(v **types.ReleaseConfi if err := awsAwsjson11_deserializeDocumentDurationSinceLastAccess(&sv.DurationSinceLastAccess, value); err != nil { return err } + default: _, _ = key, value @@ -12150,6 +12446,7 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res } sv.Message = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12158,6 +12455,7 @@ func awsAwsjson11_deserializeDocumentResourceDoesNotSupportTagging(v **types.Res } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -12197,6 +12495,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12205,6 +12504,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -12244,6 +12544,7 @@ func awsAwsjson11_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Type = types.RetentionPeriodType(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -12256,6 +12557,7 @@ func awsAwsjson11_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12327,10 +12629,12 @@ func awsAwsjson11_deserializeDocumentS3DataRepositoryConfiguration(v **types.S3D if err := awsAwsjson11_deserializeDocumentAutoExportPolicy(&sv.AutoExportPolicy, value); err != nil { return err } + case "AutoImportPolicy": if err := awsAwsjson11_deserializeDocumentAutoImportPolicy(&sv.AutoImportPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12366,6 +12670,7 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty if err := awsAwsjson11_deserializeDocumentDnsIps(&sv.DnsIps, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12374,6 +12679,7 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.DomainName = ptr.String(jtv) } + case "FileSystemAdministratorsGroup": if value != nil { jtv, ok := value.(string) @@ -12382,6 +12688,7 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.FileSystemAdministratorsGroup = ptr.String(jtv) } + case "OrganizationalUnitDistinguishedName": if value != nil { jtv, ok := value.(string) @@ -12390,6 +12697,7 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.OrganizationalUnitDistinguishedName = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -12398,6 +12706,7 @@ func awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(v **ty } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -12437,6 +12746,7 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit } sv.Limit = types.ServiceLimit(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12445,6 +12755,7 @@ func awsAwsjson11_deserializeDocumentServiceLimitExceeded(v **types.ServiceLimit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12484,10 +12795,12 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.AuditLogVolume = ptr.Bool(jtv) } + case "AutocommitPeriod": if err := awsAwsjson11_deserializeDocumentAutocommitPeriod(&sv.AutocommitPeriod, value); err != nil { return err } + case "PrivilegedDelete": if value != nil { jtv, ok := value.(string) @@ -12496,10 +12809,12 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.PrivilegedDelete = types.PrivilegedDelete(jtv) } + case "RetentionPeriod": if err := awsAwsjson11_deserializeDocumentSnaplockRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "SnaplockType": if value != nil { jtv, ok := value.(string) @@ -12508,6 +12823,7 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.SnaplockType = types.SnaplockType(jtv) } + case "VolumeAppendModeEnabled": if value != nil { jtv, ok := value.(bool) @@ -12516,6 +12832,7 @@ func awsAwsjson11_deserializeDocumentSnaplockConfiguration(v **types.SnaplockCon } sv.VolumeAppendModeEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12551,14 +12868,17 @@ func awsAwsjson11_deserializeDocumentSnaplockRetentionPeriod(v **types.SnaplockR if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.DefaultRetention, value); err != nil { return err } + case "MaximumRetention": if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.MaximumRetention, value); err != nil { return err } + case "MinimumRetention": if err := awsAwsjson11_deserializeDocumentRetentionPeriod(&sv.MinimumRetention, value); err != nil { return err } + default: _, _ = key, value @@ -12594,6 +12914,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12609,6 +12930,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -12617,10 +12939,12 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Lifecycle = types.SnapshotLifecycle(jtv) } + case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12629,6 +12953,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12637,6 +12962,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ResourceARN = ptr.String(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -12645,10 +12971,12 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -12657,6 +12985,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -12696,6 +13025,7 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFound(v **types.SnapshotNotFound } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12769,6 +13099,7 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac } sv.BackupId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12777,6 +13108,7 @@ func awsAwsjson11_deserializeDocumentSourceBackupUnavailable(v **types.SourceBac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12812,6 +13144,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt if err := awsAwsjson11_deserializeDocumentSvmActiveDirectoryConfiguration(&sv.ActiveDirectoryConfiguration, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -12827,10 +13160,12 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } } + case "Endpoints": if err := awsAwsjson11_deserializeDocumentSvmEndpoints(&sv.Endpoints, value); err != nil { return err } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -12839,6 +13174,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.FileSystemId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -12847,10 +13183,12 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Lifecycle = types.StorageVirtualMachineLifecycle(jtv) } + case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12859,6 +13197,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Name = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -12867,6 +13206,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.ResourceARN = ptr.String(jtv) } + case "RootVolumeSecurityStyle": if value != nil { jtv, ok := value.(string) @@ -12875,6 +13215,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.RootVolumeSecurityStyle = types.StorageVirtualMachineRootVolumeSecurityStyle(jtv) } + case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -12883,6 +13224,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.StorageVirtualMachineId = ptr.String(jtv) } + case "Subtype": if value != nil { jtv, ok := value.(string) @@ -12891,10 +13233,12 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.Subtype = types.StorageVirtualMachineSubtype(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -12903,6 +13247,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachine(v **types.StorageVirt } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -12942,6 +13287,7 @@ func awsAwsjson11_deserializeDocumentStorageVirtualMachineNotFound(v **types.Sto } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13087,10 +13433,12 @@ func awsAwsjson11_deserializeDocumentSvmActiveDirectoryConfiguration(v **types.S } sv.NetBiosName = ptr.String(jtv) } + case "SelfManagedActiveDirectoryConfiguration": if err := awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(&sv.SelfManagedActiveDirectoryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13130,10 +13478,12 @@ func awsAwsjson11_deserializeDocumentSvmEndpoint(v **types.SvmEndpoint, value in } sv.DNSName = ptr.String(jtv) } + case "IpAddresses": if err := awsAwsjson11_deserializeDocumentOntapEndpointIpAddresses(&sv.IpAddresses, value); err != nil { return err } + default: _, _ = key, value @@ -13169,18 +13519,22 @@ func awsAwsjson11_deserializeDocumentSvmEndpoints(v **types.SvmEndpoints, value if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Iscsi, value); err != nil { return err } + case "Management": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Management, value); err != nil { return err } + case "Nfs": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Nfs, value); err != nil { return err } + case "Smb": if err := awsAwsjson11_deserializeDocumentSvmEndpoint(&sv.Smb, value); err != nil { return err } + default: _, _ = key, value @@ -13220,6 +13574,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -13228,6 +13583,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13305,6 +13661,7 @@ func awsAwsjson11_deserializeDocumentTieringPolicy(v **types.TieringPolicy, valu } sv.CoolingPeriod = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13313,6 +13670,7 @@ func awsAwsjson11_deserializeDocumentTieringPolicy(v **types.TieringPolicy, valu } sv.Name = types.TieringPolicyName(jtv) } + default: _, _ = key, value @@ -13352,6 +13710,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13387,6 +13746,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13402,6 +13762,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -13410,6 +13771,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.FileSystemId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -13418,10 +13780,12 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Lifecycle = types.VolumeLifecycle(jtv) } + case "LifecycleTransitionReason": if err := awsAwsjson11_deserializeDocumentLifecycleTransitionReason(&sv.LifecycleTransitionReason, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13430,14 +13794,17 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } + case "OntapConfiguration": if err := awsAwsjson11_deserializeDocumentOntapVolumeConfiguration(&sv.OntapConfiguration, value); err != nil { return err } + case "OpenZFSConfiguration": if err := awsAwsjson11_deserializeDocumentOpenZFSVolumeConfiguration(&sv.OpenZFSConfiguration, value); err != nil { return err } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -13446,10 +13813,12 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.ResourceARN = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -13458,6 +13827,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeId = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -13466,6 +13836,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -13505,6 +13876,7 @@ func awsAwsjson11_deserializeDocumentVolumeNotFound(v **types.VolumeNotFound, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13578,6 +13950,7 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.AuditLogDestination = ptr.String(jtv) } + case "FileAccessAuditLogLevel": if value != nil { jtv, ok := value.(string) @@ -13586,6 +13959,7 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.FileAccessAuditLogLevel = types.WindowsAccessAuditLogLevel(jtv) } + case "FileShareAccessAuditLogLevel": if value != nil { jtv, ok := value.(string) @@ -13594,6 +13968,7 @@ func awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(v **types.Wind } sv.FileShareAccessAuditLogLevel = types.WindowsAccessAuditLogLevel(jtv) } + default: _, _ = key, value @@ -13633,14 +14008,17 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.ActiveDirectoryId = ptr.String(jtv) } + case "Aliases": if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + case "AuditLogConfiguration": if err := awsAwsjson11_deserializeDocumentWindowsAuditLogConfiguration(&sv.AuditLogConfiguration, value); err != nil { return err } + case "AutomaticBackupRetentionDays": if value != nil { jtv, ok := value.(json.Number) @@ -13653,6 +14031,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.AutomaticBackupRetentionDays = ptr.Int32(int32(i64)) } + case "CopyTagsToBackups": if value != nil { jtv, ok := value.(bool) @@ -13661,6 +14040,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.CopyTagsToBackups = ptr.Bool(jtv) } + case "DailyAutomaticBackupStartTime": if value != nil { jtv, ok := value.(string) @@ -13669,6 +14049,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.DailyAutomaticBackupStartTime = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -13677,14 +14058,17 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.DeploymentType = types.WindowsDeploymentType(jtv) } + case "DiskIopsConfiguration": if err := awsAwsjson11_deserializeDocumentDiskIopsConfiguration(&sv.DiskIopsConfiguration, value); err != nil { return err } + case "MaintenanceOperationsInProgress": if err := awsAwsjson11_deserializeDocumentFileSystemMaintenanceOperations(&sv.MaintenanceOperationsInProgress, value); err != nil { return err } + case "PreferredFileServerIp": if value != nil { jtv, ok := value.(string) @@ -13693,6 +14077,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.PreferredFileServerIp = ptr.String(jtv) } + case "PreferredSubnetId": if value != nil { jtv, ok := value.(string) @@ -13701,6 +14086,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.PreferredSubnetId = ptr.String(jtv) } + case "RemoteAdministrationEndpoint": if value != nil { jtv, ok := value.(string) @@ -13709,10 +14095,12 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.RemoteAdministrationEndpoint = ptr.String(jtv) } + case "SelfManagedActiveDirectoryConfiguration": if err := awsAwsjson11_deserializeDocumentSelfManagedActiveDirectoryAttributes(&sv.SelfManagedActiveDirectoryConfiguration, value); err != nil { return err } + case "ThroughputCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -13725,6 +14113,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.ThroughputCapacity = ptr.Int32(int32(i64)) } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -13733,6 +14122,7 @@ func awsAwsjson11_deserializeDocumentWindowsFileSystemConfiguration(v **types.Wi } sv.WeeklyMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -13768,6 +14158,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateFileSystemAliasesOutput(v **Asso if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + default: _, _ = key, value @@ -13807,6 +14198,7 @@ func awsAwsjson11_deserializeOpDocumentCancelDataRepositoryTaskOutput(v **Cancel } sv.Lifecycle = types.DataRepositoryTaskLifecycle(jtv) } + case "TaskId": if value != nil { jtv, ok := value.(string) @@ -13815,6 +14207,7 @@ func awsAwsjson11_deserializeOpDocumentCancelDataRepositoryTaskOutput(v **Cancel } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -13850,6 +14243,7 @@ func awsAwsjson11_deserializeOpDocumentCopyBackupOutput(v **CopyBackupOutput, va if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value @@ -13885,6 +14279,7 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -13893,6 +14288,7 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop } sv.Lifecycle = types.VolumeLifecycle(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -13901,6 +14297,7 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotAndUpdateVolumeOutput(v **Cop } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -13936,6 +14333,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value @@ -13971,6 +14369,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataRepositoryAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -14006,6 +14405,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataRepositoryTaskOutput(v **Create if err := awsAwsjson11_deserializeDocumentDataRepositoryTask(&sv.DataRepositoryTask, value); err != nil { return err } + default: _, _ = key, value @@ -14041,6 +14441,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFileCacheOutput(v **CreateFileCache if err := awsAwsjson11_deserializeDocumentFileCacheCreating(&sv.FileCache, value); err != nil { return err } + default: _, _ = key, value @@ -14076,6 +14477,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFileSystemFromBackupOutput(v **Crea if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + default: _, _ = key, value @@ -14111,6 +14513,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFileSystemOutput(v **CreateFileSyst if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + default: _, _ = key, value @@ -14146,6 +14549,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -14181,6 +14585,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStorageVirtualMachineOutput(v **Cre if err := awsAwsjson11_deserializeDocumentStorageVirtualMachine(&sv.StorageVirtualMachine, value); err != nil { return err } + default: _, _ = key, value @@ -14216,6 +14621,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVolumeFromBackupOutput(v **CreateVo if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } + default: _, _ = key, value @@ -14251,6 +14657,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } + default: _, _ = key, value @@ -14290,6 +14697,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput } sv.BackupId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14298,6 +14706,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBackupOutput(v **DeleteBackupOutput } sv.Lifecycle = types.BackupLifecycle(jtv) } + default: _, _ = key, value @@ -14337,6 +14746,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.AssociationId = ptr.String(jtv) } + case "DeleteDataInFileSystem": if value != nil { jtv, ok := value.(bool) @@ -14345,6 +14755,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.DeleteDataInFileSystem = ptr.Bool(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14353,6 +14764,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataRepositoryAssociationOutput(v * } sv.Lifecycle = types.DataRepositoryLifecycle(jtv) } + default: _, _ = key, value @@ -14392,6 +14804,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileCacheOutput(v **DeleteFileCache } sv.FileCacheId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14400,6 +14813,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileCacheOutput(v **DeleteFileCache } sv.Lifecycle = types.FileCacheLifecycle(jtv) } + default: _, _ = key, value @@ -14439,6 +14853,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileSystemOutput(v **DeleteFileSyst } sv.FileSystemId = ptr.String(jtv) } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -14447,18 +14862,22 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileSystemOutput(v **DeleteFileSyst } sv.Lifecycle = types.FileSystemLifecycle(jtv) } + case "LustreResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemLustreResponse(&sv.LustreResponse, value); err != nil { return err } + case "OpenZFSResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemOpenZFSResponse(&sv.OpenZFSResponse, value); err != nil { return err } + case "WindowsResponse": if err := awsAwsjson11_deserializeDocumentDeleteFileSystemWindowsResponse(&sv.WindowsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14498,6 +14917,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.Lifecycle = types.SnapshotLifecycle(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -14506,6 +14926,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu } sv.SnapshotId = ptr.String(jtv) } + default: _, _ = key, value @@ -14545,6 +14966,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteStorageVirtualMachineOutput(v **Del } sv.Lifecycle = types.StorageVirtualMachineLifecycle(jtv) } + case "StorageVirtualMachineId": if value != nil { jtv, ok := value.(string) @@ -14553,6 +14975,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteStorageVirtualMachineOutput(v **Del } sv.StorageVirtualMachineId = ptr.String(jtv) } + default: _, _ = key, value @@ -14592,10 +15015,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.Lifecycle = types.VolumeLifecycle(jtv) } + case "OntapResponse": if err := awsAwsjson11_deserializeDocumentDeleteVolumeOntapResponse(&sv.OntapResponse, value); err != nil { return err } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -14604,6 +15029,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -14639,6 +15065,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14647,6 +15074,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14682,6 +15110,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryAssociationsOutput( if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociations(&sv.Associations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14690,6 +15119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryAssociationsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14725,6 +15155,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryTasksOutput(v **Des if err := awsAwsjson11_deserializeDocumentDataRepositoryTasks(&sv.DataRepositoryTasks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14733,6 +15164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataRepositoryTasksOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14768,6 +15200,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileCachesOutput(v **DescribeFile if err := awsAwsjson11_deserializeDocumentFileCaches(&sv.FileCaches, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14776,6 +15209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileCachesOutput(v **DescribeFile } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14811,6 +15245,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAliasesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14819,6 +15254,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAliasesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14854,6 +15290,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil if err := awsAwsjson11_deserializeDocumentFileSystems(&sv.FileSystems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14862,6 +15299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemsOutput(v **DescribeFil } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14901,6 +15339,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSharedVpcConfigurationOutput(v ** } sv.EnableFsxRouteTableUpdatesFromParticipantAccounts = ptr.String(jtv) } + default: _, _ = key, value @@ -14940,10 +15379,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } + case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshots(&sv.Snapshots, value); err != nil { return err } + default: _, _ = key, value @@ -14983,10 +15424,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorageVirtualMachinesOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "StorageVirtualMachines": if err := awsAwsjson11_deserializeDocumentStorageVirtualMachines(&sv.StorageVirtualMachines, value); err != nil { return err } + default: _, _ = key, value @@ -15026,10 +15469,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeVolumesOutput(v **DescribeVolumes } sv.NextToken = ptr.String(jtv) } + case "Volumes": if err := awsAwsjson11_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -15065,6 +15510,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFileSystemAliasesOutput(v **D if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + default: _, _ = key, value @@ -15104,10 +15550,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15143,6 +15591,7 @@ func awsAwsjson11_deserializeOpDocumentReleaseFileSystemNfsV3LocksOutput(v **Rel if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + default: _, _ = key, value @@ -15178,6 +15627,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto if err := awsAwsjson11_deserializeDocumentAdministrativeActions(&sv.AdministrativeActions, value); err != nil { return err } + case "Lifecycle": if value != nil { jtv, ok := value.(string) @@ -15186,6 +15636,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto } sv.Lifecycle = types.VolumeLifecycle(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -15194,6 +15645,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreVolumeFromSnapshotOutput(v **Resto } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -15229,6 +15681,7 @@ func awsAwsjson11_deserializeOpDocumentStartMisconfiguredStateRecoveryOutput(v * if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + default: _, _ = key, value @@ -15326,6 +15779,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataRepositoryAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentDataRepositoryAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -15361,6 +15815,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileCacheOutput(v **UpdateFileCache if err := awsAwsjson11_deserializeDocumentFileCache(&sv.FileCache, value); err != nil { return err } + default: _, _ = key, value @@ -15396,6 +15851,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileSystemOutput(v **UpdateFileSyst if err := awsAwsjson11_deserializeDocumentFileSystem(&sv.FileSystem, value); err != nil { return err } + default: _, _ = key, value @@ -15435,6 +15891,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSharedVpcConfigurationOutput(v **Up } sv.EnableFsxRouteTableUpdatesFromParticipantAccounts = ptr.String(jtv) } + default: _, _ = key, value @@ -15470,6 +15927,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(v **UpdateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -15505,6 +15963,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateStorageVirtualMachineOutput(v **Upd if err := awsAwsjson11_deserializeDocumentStorageVirtualMachine(&sv.StorageVirtualMachine, value); err != nil { return err } + default: _, _ = key, value @@ -15540,6 +15999,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVolumeOutput(v **UpdateVolumeOutput if err := awsAwsjson11_deserializeDocumentVolume(&sv.Volume, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index 3381f768f2d..f6255fa4b20 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -13646,6 +13646,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasArn = ptr.String(jtv) } + case "AliasId": if value != nil { jtv, ok := value.(string) @@ -13654,6 +13655,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasId = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13669,6 +13671,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13677,6 +13680,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Description = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13692,6 +13696,7 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13700,10 +13705,12 @@ func awsAwsjson11_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } + case "RoutingStrategy": if err := awsAwsjson11_deserializeDocumentRoutingStrategy(&sv.RoutingStrategy, value); err != nil { return err } + default: _, _ = key, value @@ -13777,6 +13784,7 @@ func awsAwsjson11_deserializeDocumentAnywhereConfiguration(v **types.AnywhereCon } sv.Cost = ptr.String(jtv) } + default: _, _ = key, value @@ -13841,6 +13849,7 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } } + case "S": if value != nil { jtv, ok := value.(string) @@ -13849,14 +13858,17 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.S = ptr.String(jtv) } + case "SDM": if err := awsAwsjson11_deserializeDocumentPlayerAttributeStringDoubleMap(&sv.SDM, value); err != nil { return err } + case "SL": if err := awsAwsjson11_deserializeDocumentPlayerAttributeStringList(&sv.SL, value); err != nil { return err } + default: _, _ = key, value @@ -13896,6 +13908,7 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.AccessKeyId = ptr.String(jtv) } + case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -13904,6 +13917,7 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SecretAccessKey = ptr.String(jtv) } + case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -13912,6 +13926,7 @@ func awsAwsjson11_deserializeDocumentAwsCredentials(v **types.AwsCredentials, va } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13951,6 +13966,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildArn = ptr.String(jtv) } + case "BuildId": if value != nil { jtv, ok := value.(string) @@ -13959,6 +13975,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.BuildId = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -13974,6 +13991,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13982,6 +14000,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -13990,6 +14009,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "ServerSdkVersion": if value != nil { jtv, ok := value.(string) @@ -13998,6 +14018,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.ServerSdkVersion = ptr.String(jtv) } + case "SizeOnDisk": if value != nil { jtv, ok := value.(json.Number) @@ -14010,6 +14031,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.SizeOnDisk = ptr.Int64(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14018,6 +14040,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Status = types.BuildStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -14026,6 +14049,7 @@ func awsAwsjson11_deserializeDocumentBuild(v **types.Build, value interface{}) e } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14099,6 +14123,7 @@ func awsAwsjson11_deserializeDocumentCertificateConfiguration(v **types.Certific } sv.CertificateType = types.CertificateType(jtv) } + default: _, _ = key, value @@ -14138,6 +14163,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeArn = ptr.String(jtv) } + case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -14146,6 +14172,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeName = ptr.String(jtv) } + case "ComputeStatus": if value != nil { jtv, ok := value.(string) @@ -14154,10 +14181,12 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeStatus = types.ComputeStatus(jtv) } + case "ContainerAttributes": if err := awsAwsjson11_deserializeDocumentContainerAttributes(&sv.ContainerAttributes, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14173,6 +14202,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -14181,6 +14211,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.DnsName = ptr.String(jtv) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -14189,6 +14220,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -14197,6 +14229,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.FleetId = ptr.String(jtv) } + case "GameLiftAgentEndpoint": if value != nil { jtv, ok := value.(string) @@ -14205,6 +14238,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GameLiftAgentEndpoint = ptr.String(jtv) } + case "GameLiftServiceSdkEndpoint": if value != nil { jtv, ok := value.(string) @@ -14213,6 +14247,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GameLiftServiceSdkEndpoint = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -14221,6 +14256,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.InstanceId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -14229,6 +14265,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.IpAddress = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -14237,6 +14274,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.Location = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -14245,6 +14283,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14253,6 +14292,7 @@ func awsAwsjson11_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.Type = types.EC2InstanceType(jtv) } + default: _, _ = key, value @@ -14326,6 +14366,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14369,6 +14410,7 @@ func awsAwsjson11_deserializeDocumentConnectionPortRange(v **types.ConnectionPor } sv.FromPort = ptr.Int32(int32(i64)) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -14381,6 +14423,7 @@ func awsAwsjson11_deserializeDocumentConnectionPortRange(v **types.ConnectionPor } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14416,6 +14459,7 @@ func awsAwsjson11_deserializeDocumentContainerAttributes(v **types.ContainerAttr if err := awsAwsjson11_deserializeDocumentContainerPortMappingList(&sv.ContainerPortMappings, value); err != nil { return err } + default: _, _ = key, value @@ -14487,6 +14531,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentContainerCommandStringList(&sv.Command, value); err != nil { return err } + case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -14495,6 +14540,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ContainerName = ptr.String(jtv) } + case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -14507,18 +14553,22 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Cpu = ptr.Int32(int32(i64)) } + case "DependsOn": if err := awsAwsjson11_deserializeDocumentContainerDependencyList(&sv.DependsOn, value); err != nil { return err } + case "EntryPoint": if err := awsAwsjson11_deserializeDocumentContainerEntryPointList(&sv.EntryPoint, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentContainerEnvironmentList(&sv.Environment, value); err != nil { return err } + case "Essential": if value != nil { jtv, ok := value.(bool) @@ -14527,10 +14577,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Essential = ptr.Bool(jtv) } + case "HealthCheck": if err := awsAwsjson11_deserializeDocumentContainerHealthCheck(&sv.HealthCheck, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -14539,14 +14591,17 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ImageUri = ptr.String(jtv) } + case "MemoryLimits": if err := awsAwsjson11_deserializeDocumentContainerMemoryLimits(&sv.MemoryLimits, value); err != nil { return err } + case "PortConfiguration": if err := awsAwsjson11_deserializeDocumentContainerPortConfiguration(&sv.PortConfiguration, value); err != nil { return err } + case "ResolvedImageDigest": if value != nil { jtv, ok := value.(string) @@ -14555,6 +14610,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ResolvedImageDigest = ptr.String(jtv) } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -14563,6 +14619,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -14636,6 +14693,7 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.Condition = types.ContainerDependencyCondition(jtv) } + case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -14644,6 +14702,7 @@ func awsAwsjson11_deserializeDocumentContainerDependency(v **types.ContainerDepe } sv.ContainerName = ptr.String(jtv) } + default: _, _ = key, value @@ -14753,6 +14812,7 @@ func awsAwsjson11_deserializeDocumentContainerEnvironment(v **types.ContainerEnv } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14761,6 +14821,7 @@ func awsAwsjson11_deserializeDocumentContainerEnvironment(v **types.ContainerEnv } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14830,6 +14891,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.ContainerDefinitions, value); err != nil { return err } + case "ContainerGroupDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -14838,6 +14900,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.ContainerGroupDefinitionArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -14853,6 +14916,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14861,6 +14925,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -14869,6 +14934,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.OperatingSystem = types.ContainerOperatingSystem(jtv) } + case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -14877,6 +14943,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.SchedulingStrategy = types.ContainerSchedulingStrategy(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14885,6 +14952,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.Status = types.ContainerGroupDefinitionStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -14893,6 +14961,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.StatusReason = ptr.String(jtv) } + case "TotalCpuLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14905,6 +14974,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.TotalCpuLimit = ptr.Int32(int32(i64)) } + case "TotalMemoryLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14917,6 +14987,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinition(v **types.Containe } sv.TotalMemoryLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15024,6 +15095,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinitionProperty(v **types. } sv.ContainerGroupDefinitionName = ptr.String(jtv) } + case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -15032,6 +15104,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupDefinitionProperty(v **types. } sv.SchedulingStrategy = types.ContainerSchedulingStrategy(jtv) } + default: _, _ = key, value @@ -15067,14 +15140,17 @@ func awsAwsjson11_deserializeDocumentContainerGroupsAttributes(v **types.Contain if err := awsAwsjson11_deserializeDocumentConnectionPortRange(&sv.ConnectionPortRange, value); err != nil { return err } + case "ContainerGroupDefinitionProperties": if err := awsAwsjson11_deserializeDocumentContainerGroupDefinitionPropertiesList(&sv.ContainerGroupDefinitionProperties, value); err != nil { return err } + case "ContainerGroupsPerInstance": if err := awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(&sv.ContainerGroupsPerInstance, value); err != nil { return err } + default: _, _ = key, value @@ -15118,6 +15194,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(v **types.Contai } sv.DesiredReplicaContainerGroupsPerInstance = ptr.Int32(int32(i64)) } + case "MaxReplicaContainerGroupsPerInstance": if value != nil { jtv, ok := value.(json.Number) @@ -15130,6 +15207,7 @@ func awsAwsjson11_deserializeDocumentContainerGroupsPerInstance(v **types.Contai } sv.MaxReplicaContainerGroupsPerInstance = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15165,6 +15243,7 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea if err := awsAwsjson11_deserializeDocumentContainerCommandStringList(&sv.Command, value); err != nil { return err } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -15177,6 +15256,7 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Interval = ptr.Int32(int32(i64)) } + case "Retries": if value != nil { jtv, ok := value.(json.Number) @@ -15189,6 +15269,7 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Retries = ptr.Int32(int32(i64)) } + case "StartPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -15201,6 +15282,7 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.StartPeriod = ptr.Int32(int32(i64)) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -15213,6 +15295,7 @@ func awsAwsjson11_deserializeDocumentContainerHealthCheck(v **types.ContainerHea } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15256,6 +15339,7 @@ func awsAwsjson11_deserializeDocumentContainerMemoryLimits(v **types.ContainerMe } sv.HardLimit = ptr.Int32(int32(i64)) } + case "SoftLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15268,6 +15352,7 @@ func awsAwsjson11_deserializeDocumentContainerMemoryLimits(v **types.ContainerMe } sv.SoftLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15303,6 +15388,7 @@ func awsAwsjson11_deserializeDocumentContainerPortConfiguration(v **types.Contai if err := awsAwsjson11_deserializeDocumentContainerPortRangeList(&sv.ContainerPortRanges, value); err != nil { return err } + default: _, _ = key, value @@ -15346,6 +15432,7 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.ConnectionPort = ptr.Int32(int32(i64)) } + case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -15358,6 +15445,7 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15366,6 +15454,7 @@ func awsAwsjson11_deserializeDocumentContainerPortMapping(v **types.ContainerPor } sv.Protocol = types.IpProtocol(jtv) } + default: _, _ = key, value @@ -15443,6 +15532,7 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.FromPort = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15451,6 +15541,7 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.Protocol = types.IpProtocol(jtv) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -15463,6 +15554,7 @@ func awsAwsjson11_deserializeDocumentContainerPortRange(v **types.ContainerPortR } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15540,6 +15632,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.ACTIVE = ptr.Int32(int32(i64)) } + case "DESIRED": if value != nil { jtv, ok := value.(json.Number) @@ -15552,6 +15645,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.DESIRED = ptr.Int32(int32(i64)) } + case "IDLE": if value != nil { jtv, ok := value.(json.Number) @@ -15564,6 +15658,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.IDLE = ptr.Int32(int32(i64)) } + case "MAXIMUM": if value != nil { jtv, ok := value.(json.Number) @@ -15576,6 +15671,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.MAXIMUM = ptr.Int32(int32(i64)) } + case "MINIMUM": if value != nil { jtv, ok := value.(json.Number) @@ -15588,6 +15684,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.MINIMUM = ptr.Int32(int32(i64)) } + case "PENDING": if value != nil { jtv, ok := value.(json.Number) @@ -15600,6 +15697,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.PENDING = ptr.Int32(int32(i64)) } + case "TERMINATING": if value != nil { jtv, ok := value.(json.Number) @@ -15612,6 +15710,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceCounts(v **types.EC2InstanceCoun } sv.TERMINATING = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15655,6 +15754,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.CurrentInstances = ptr.Int32(int32(i64)) } + case "EC2InstanceType": if value != nil { jtv, ok := value.(string) @@ -15663,6 +15763,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.EC2InstanceType = types.EC2InstanceType(jtv) } + case "InstanceLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15675,6 +15776,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.InstanceLimit = ptr.Int32(int32(i64)) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -15683,6 +15785,7 @@ func awsAwsjson11_deserializeDocumentEC2InstanceLimit(v **types.EC2InstanceLimit } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -15760,6 +15863,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Count = ptr.Int64(i64) } + case "EventCode": if value != nil { jtv, ok := value.(string) @@ -15768,6 +15872,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventCode = types.EventCode(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -15776,6 +15881,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventId = ptr.String(jtv) } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -15791,6 +15897,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15799,6 +15906,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } + case "PreSignedLogUrl": if value != nil { jtv, ok := value.(string) @@ -15807,6 +15915,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.PreSignedLogUrl = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15815,6 +15924,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -15884,6 +15994,7 @@ func awsAwsjson11_deserializeDocumentFilterConfiguration(v **types.FilterConfigu if err := awsAwsjson11_deserializeDocumentLocationList(&sv.AllowedLocations, value); err != nil { return err } + default: _, _ = key, value @@ -15955,6 +16066,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, if err := awsAwsjson11_deserializeDocumentAnywhereConfiguration(&sv.AnywhereConfiguration, value); err != nil { return err } + case "BuildArn": if value != nil { jtv, ok := value.(string) @@ -15963,6 +16075,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.BuildArn = ptr.String(jtv) } + case "BuildId": if value != nil { jtv, ok := value.(string) @@ -15971,10 +16084,12 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.BuildId = ptr.String(jtv) } + case "CertificateConfiguration": if err := awsAwsjson11_deserializeDocumentCertificateConfiguration(&sv.CertificateConfiguration, value); err != nil { return err } + case "ComputeType": if value != nil { jtv, ok := value.(string) @@ -15983,10 +16098,12 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ComputeType = types.ComputeType(jtv) } + case "ContainerGroupsAttributes": if err := awsAwsjson11_deserializeDocumentContainerGroupsAttributes(&sv.ContainerGroupsAttributes, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16002,6 +16119,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16010,6 +16128,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Description = ptr.String(jtv) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -16018,6 +16137,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16026,6 +16146,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetId = ptr.String(jtv) } + case "FleetType": if value != nil { jtv, ok := value.(string) @@ -16034,6 +16155,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.FleetType = types.FleetType(jtv) } + case "InstanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -16042,6 +16164,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceRoleArn = ptr.String(jtv) } + case "InstanceRoleCredentialsProvider": if value != nil { jtv, ok := value.(string) @@ -16050,6 +16173,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceRoleCredentialsProvider = types.InstanceRoleCredentialsProvider(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16058,14 +16182,17 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.InstanceType = types.EC2InstanceType(jtv) } + case "LogPaths": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LogPaths, value); err != nil { return err } + case "MetricGroups": if err := awsAwsjson11_deserializeDocumentMetricGroupList(&sv.MetricGroups, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16074,6 +16201,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Name = ptr.String(jtv) } + case "NewGameSessionProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -16082,6 +16210,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.NewGameSessionProtectionPolicy = types.ProtectionPolicy(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -16090,10 +16219,12 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "ResourceCreationLimitPolicy": if err := awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(&sv.ResourceCreationLimitPolicy, value); err != nil { return err } + case "ScriptArn": if value != nil { jtv, ok := value.(string) @@ -16102,6 +16233,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ScriptArn = ptr.String(jtv) } + case "ScriptId": if value != nil { jtv, ok := value.(string) @@ -16110,6 +16242,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ScriptId = ptr.String(jtv) } + case "ServerLaunchParameters": if value != nil { jtv, ok := value.(string) @@ -16118,6 +16251,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ServerLaunchParameters = ptr.String(jtv) } + case "ServerLaunchPath": if value != nil { jtv, ok := value.(string) @@ -16126,6 +16260,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.ServerLaunchPath = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16134,10 +16269,12 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } sv.Status = types.FleetStatus(jtv) } + case "StoppedActions": if err := awsAwsjson11_deserializeDocumentFleetActionList(&sv.StoppedActions, value); err != nil { return err } + case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -16153,6 +16290,7 @@ func awsAwsjson11_deserializeDocumentFleetAttributes(v **types.FleetAttributes, } } + default: _, _ = key, value @@ -16226,6 +16364,7 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16234,10 +16373,12 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.FleetId = ptr.String(jtv) } + case "InstanceCounts": if err := awsAwsjson11_deserializeDocumentEC2InstanceCounts(&sv.InstanceCounts, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16246,6 +16387,7 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.InstanceType = types.EC2InstanceType(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -16254,10 +16396,12 @@ func awsAwsjson11_deserializeDocumentFleetCapacity(v **types.FleetCapacity, valu } sv.Location = ptr.String(jtv) } + case "ReplicaContainerGroupCounts": if err := awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(&sv.ReplicaContainerGroupCounts, value); err != nil { return err } + default: _, _ = key, value @@ -16297,6 +16441,7 @@ func awsAwsjson11_deserializeDocumentFleetCapacityExceededException(v **types.Fl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16410,6 +16555,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.ActiveGameSessionCount = ptr.Int32(int32(i64)) } + case "ActiveServerProcessCount": if value != nil { jtv, ok := value.(json.Number) @@ -16422,6 +16568,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.ActiveServerProcessCount = ptr.Int32(int32(i64)) } + case "CurrentPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -16434,6 +16581,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.CurrentPlayerSessionCount = ptr.Int32(int32(i64)) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -16442,6 +16590,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -16450,6 +16599,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.FleetId = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -16458,6 +16608,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.Location = ptr.String(jtv) } + case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -16470,6 +16621,7 @@ func awsAwsjson11_deserializeDocumentFleetUtilization(v **types.FleetUtilization } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16543,6 +16695,7 @@ func awsAwsjson11_deserializeDocumentGameProperty(v **types.GameProperty, value } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16551,6 +16704,7 @@ func awsAwsjson11_deserializeDocumentGameProperty(v **types.GameProperty, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16624,6 +16778,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.ClaimStatus = types.GameServerClaimStatus(jtv) } + case "ConnectionInfo": if value != nil { jtv, ok := value.(string) @@ -16632,6 +16787,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.ConnectionInfo = ptr.String(jtv) } + case "GameServerData": if value != nil { jtv, ok := value.(string) @@ -16640,6 +16796,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerData = ptr.String(jtv) } + case "GameServerGroupArn": if value != nil { jtv, ok := value.(string) @@ -16648,6 +16805,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerGroupArn = ptr.String(jtv) } + case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -16656,6 +16814,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerGroupName = ptr.String(jtv) } + case "GameServerId": if value != nil { jtv, ok := value.(string) @@ -16664,6 +16823,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.GameServerId = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -16672,6 +16832,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.InstanceId = ptr.String(jtv) } + case "LastClaimTime": if value != nil { switch jtv := value.(type) { @@ -16687,6 +16848,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } + case "LastHealthCheckTime": if value != nil { switch jtv := value.(type) { @@ -16702,6 +16864,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } + case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -16717,6 +16880,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } } + case "UtilizationStatus": if value != nil { jtv, ok := value.(string) @@ -16725,6 +16889,7 @@ func awsAwsjson11_deserializeDocumentGameServer(v **types.GameServer, value inte } sv.UtilizationStatus = types.GameServerUtilizationStatus(jtv) } + default: _, _ = key, value @@ -16764,6 +16929,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.AutoScalingGroupArn = ptr.String(jtv) } + case "BalancingStrategy": if value != nil { jtv, ok := value.(string) @@ -16772,6 +16938,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.BalancingStrategy = types.BalancingStrategy(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16787,6 +16954,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } } + case "GameServerGroupArn": if value != nil { jtv, ok := value.(string) @@ -16795,6 +16963,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerGroupArn = ptr.String(jtv) } + case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -16803,6 +16972,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerGroupName = ptr.String(jtv) } + case "GameServerProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -16811,10 +16981,12 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.GameServerProtectionPolicy = types.GameServerProtectionPolicy(jtv) } + case "InstanceDefinitions": if err := awsAwsjson11_deserializeDocumentInstanceDefinitions(&sv.InstanceDefinitions, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -16830,6 +17002,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -16838,6 +17011,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16846,6 +17020,7 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.Status = types.GameServerGroupStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -16854,10 +17029,12 @@ func awsAwsjson11_deserializeDocumentGameServerGroup(v **types.GameServerGroup, } sv.StatusReason = ptr.String(jtv) } + case "SuspendedActions": if err := awsAwsjson11_deserializeDocumentGameServerGroupActions(&sv.SuspendedActions, value); err != nil { return err } + default: _, _ = key, value @@ -16967,6 +17144,7 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.GameServerGroupArn = ptr.String(jtv) } + case "GameServerGroupName": if value != nil { jtv, ok := value.(string) @@ -16975,6 +17153,7 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.GameServerGroupName = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -16983,6 +17162,7 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.InstanceId = ptr.String(jtv) } + case "InstanceStatus": if value != nil { jtv, ok := value.(string) @@ -16991,6 +17171,7 @@ func awsAwsjson11_deserializeDocumentGameServerInstance(v **types.GameServerInst } sv.InstanceStatus = types.GameServerInstanceStatus(jtv) } + default: _, _ = key, value @@ -17105,6 +17286,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } } + case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -17113,6 +17295,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.CreatorId = ptr.String(jtv) } + case "CurrentPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17125,6 +17308,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.CurrentPlayerSessionCount = ptr.Int32(int32(i64)) } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -17133,6 +17317,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.DnsName = ptr.String(jtv) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -17141,6 +17326,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -17149,10 +17335,12 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.FleetId = ptr.String(jtv) } + case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } + case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -17161,6 +17349,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.GameSessionData = ptr.String(jtv) } + case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -17169,6 +17358,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.GameSessionId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17177,6 +17367,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.IpAddress = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -17185,6 +17376,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Location = ptr.String(jtv) } + case "MatchmakerData": if value != nil { jtv, ok := value.(string) @@ -17193,6 +17385,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.MatchmakerData = ptr.String(jtv) } + case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17205,6 +17398,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17213,6 +17407,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Name = ptr.String(jtv) } + case "PlayerSessionCreationPolicy": if value != nil { jtv, ok := value.(string) @@ -17221,6 +17416,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.PlayerSessionCreationPolicy = types.PlayerSessionCreationPolicy(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17233,6 +17429,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Port = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17241,6 +17438,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.Status = types.GameSessionStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -17249,6 +17447,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } sv.StatusReason = types.GameSessionStatusReason(jtv) } + case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -17264,6 +17463,7 @@ func awsAwsjson11_deserializeDocumentGameSession(v **types.GameSession, value in } } + default: _, _ = key, value @@ -17303,6 +17503,7 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.DnsName = ptr.String(jtv) } + case "GameSessionArn": if value != nil { jtv, ok := value.(string) @@ -17311,6 +17512,7 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.GameSessionArn = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17319,10 +17521,12 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.IpAddress = ptr.String(jtv) } + case "MatchedPlayerSessions": if err := awsAwsjson11_deserializeDocumentMatchedPlayerSessionList(&sv.MatchedPlayerSessions, value); err != nil { return err } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17335,6 +17539,7 @@ func awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(v **types.GameSes } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17370,6 +17575,7 @@ func awsAwsjson11_deserializeDocumentGameSessionDetail(v **types.GameSessionDeta if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } + case "ProtectionPolicy": if value != nil { jtv, ok := value.(string) @@ -17378,6 +17584,7 @@ func awsAwsjson11_deserializeDocumentGameSessionDetail(v **types.GameSessionDeta } sv.ProtectionPolicy = types.ProtectionPolicy(jtv) } + default: _, _ = key, value @@ -17451,6 +17658,7 @@ func awsAwsjson11_deserializeDocumentGameSessionFullException(v **types.GameSess } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17524,6 +17732,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.DnsName = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -17539,10 +17748,12 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } } + case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } + case "GameSessionArn": if value != nil { jtv, ok := value.(string) @@ -17551,6 +17762,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionArn = ptr.String(jtv) } + case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -17559,6 +17771,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionData = ptr.String(jtv) } + case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -17567,6 +17780,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionId = ptr.String(jtv) } + case "GameSessionName": if value != nil { jtv, ok := value.(string) @@ -17575,6 +17789,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionName = ptr.String(jtv) } + case "GameSessionQueueName": if value != nil { jtv, ok := value.(string) @@ -17583,6 +17798,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionQueueName = ptr.String(jtv) } + case "GameSessionRegion": if value != nil { jtv, ok := value.(string) @@ -17591,6 +17807,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.GameSessionRegion = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17599,6 +17816,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.IpAddress = ptr.String(jtv) } + case "MatchmakerData": if value != nil { jtv, ok := value.(string) @@ -17607,6 +17825,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.MatchmakerData = ptr.String(jtv) } + case "MaximumPlayerSessionCount": if value != nil { jtv, ok := value.(json.Number) @@ -17619,10 +17838,12 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.MaximumPlayerSessionCount = ptr.Int32(int32(i64)) } + case "PlacedPlayerSessions": if err := awsAwsjson11_deserializeDocumentPlacedPlayerSessionList(&sv.PlacedPlayerSessions, value); err != nil { return err } + case "PlacementId": if value != nil { jtv, ok := value.(string) @@ -17631,10 +17852,12 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.PlacementId = ptr.String(jtv) } + case "PlayerLatencies": if err := awsAwsjson11_deserializeDocumentPlayerLatencyList(&sv.PlayerLatencies, value); err != nil { return err } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -17647,6 +17870,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.Port = ptr.Int32(int32(i64)) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -17662,6 +17886,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17670,6 +17895,7 @@ func awsAwsjson11_deserializeDocumentGameSessionPlacement(v **types.GameSessionP } sv.Status = types.GameSessionPlacementState(jtv) } + default: _, _ = key, value @@ -17709,14 +17935,17 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.CustomEventData = ptr.String(jtv) } + case "Destinations": if err := awsAwsjson11_deserializeDocumentGameSessionQueueDestinationList(&sv.Destinations, value); err != nil { return err } + case "FilterConfiguration": if err := awsAwsjson11_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + case "GameSessionQueueArn": if value != nil { jtv, ok := value.(string) @@ -17725,6 +17954,7 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.GameSessionQueueArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17733,6 +17963,7 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.Name = ptr.String(jtv) } + case "NotificationTarget": if value != nil { jtv, ok := value.(string) @@ -17741,14 +17972,17 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.NotificationTarget = ptr.String(jtv) } + case "PlayerLatencyPolicies": if err := awsAwsjson11_deserializeDocumentPlayerLatencyPolicyList(&sv.PlayerLatencyPolicies, value); err != nil { return err } + case "PriorityConfiguration": if err := awsAwsjson11_deserializeDocumentPriorityConfiguration(&sv.PriorityConfiguration, value); err != nil { return err } + case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17761,6 +17995,7 @@ func awsAwsjson11_deserializeDocumentGameSessionQueue(v **types.GameSessionQueue } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17800,6 +18035,7 @@ func awsAwsjson11_deserializeDocumentGameSessionQueueDestination(v **types.GameS } sv.DestinationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17907,6 +18143,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17953,6 +18190,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -17961,6 +18199,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.DnsName = ptr.String(jtv) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -17969,6 +18208,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -17977,6 +18217,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.FleetId = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -17985,6 +18226,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -17993,6 +18235,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IpAddress = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -18001,6 +18244,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Location = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -18009,6 +18253,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18017,6 +18262,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = types.InstanceStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18025,6 +18271,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Type = types.EC2InstanceType(jtv) } + default: _, _ = key, value @@ -18060,6 +18307,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va if err := awsAwsjson11_deserializeDocumentInstanceCredentials(&sv.Credentials, value); err != nil { return err } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -18068,6 +18316,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.FleetId = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -18076,6 +18325,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.InstanceId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -18084,6 +18334,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.IpAddress = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -18092,6 +18343,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccess(v **types.InstanceAccess, va } sv.OperatingSystem = types.OperatingSystem(jtv) } + default: _, _ = key, value @@ -18131,6 +18383,7 @@ func awsAwsjson11_deserializeDocumentInstanceCredentials(v **types.InstanceCrede } sv.Secret = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -18139,6 +18392,7 @@ func awsAwsjson11_deserializeDocumentInstanceCredentials(v **types.InstanceCrede } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -18178,6 +18432,7 @@ func awsAwsjson11_deserializeDocumentInstanceDefinition(v **types.InstanceDefini } sv.InstanceType = types.GameServerGroupInstanceType(jtv) } + case "WeightedCapacity": if value != nil { jtv, ok := value.(string) @@ -18186,6 +18441,7 @@ func awsAwsjson11_deserializeDocumentInstanceDefinition(v **types.InstanceDefini } sv.WeightedCapacity = ptr.String(jtv) } + default: _, _ = key, value @@ -18293,6 +18549,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18332,6 +18589,7 @@ func awsAwsjson11_deserializeDocumentInvalidFleetStatusException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18371,6 +18629,7 @@ func awsAwsjson11_deserializeDocumentInvalidGameSessionStatusException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18410,6 +18669,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18453,6 +18713,7 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.FromPort = ptr.Int32(int32(i64)) } + case "IpRange": if value != nil { jtv, ok := value.(string) @@ -18461,6 +18722,7 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.IpRange = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -18469,6 +18731,7 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.Protocol = types.IpProtocol(jtv) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -18481,6 +18744,7 @@ func awsAwsjson11_deserializeDocumentIpPermission(v **types.IpPermission, value } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18594,6 +18858,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18629,10 +18894,12 @@ func awsAwsjson11_deserializeDocumentLocationAttributes(v **types.LocationAttrib if err := awsAwsjson11_deserializeDocumentLocationState(&sv.LocationState, value); err != nil { return err } + case "StoppedActions": if err := awsAwsjson11_deserializeDocumentFleetActionList(&sv.StoppedActions, value); err != nil { return err } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -18641,6 +18908,7 @@ func awsAwsjson11_deserializeDocumentLocationAttributes(v **types.LocationAttrib } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } + default: _, _ = key, value @@ -18750,6 +19018,7 @@ func awsAwsjson11_deserializeDocumentLocationModel(v **types.LocationModel, valu } sv.LocationArn = ptr.String(jtv) } + case "LocationName": if value != nil { jtv, ok := value.(string) @@ -18758,6 +19027,7 @@ func awsAwsjson11_deserializeDocumentLocationModel(v **types.LocationModel, valu } sv.LocationName = ptr.String(jtv) } + default: _, _ = key, value @@ -18831,6 +19101,7 @@ func awsAwsjson11_deserializeDocumentLocationState(v **types.LocationState, valu } sv.Location = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18839,6 +19110,7 @@ func awsAwsjson11_deserializeDocumentLocationState(v **types.LocationState, valu } sv.Status = types.FleetStatus(jtv) } + default: _, _ = key, value @@ -18912,6 +19184,7 @@ func awsAwsjson11_deserializeDocumentMatchedPlayerSession(v **types.MatchedPlaye } sv.PlayerId = ptr.String(jtv) } + case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -18920,6 +19193,7 @@ func awsAwsjson11_deserializeDocumentMatchedPlayerSession(v **types.MatchedPlaye } sv.PlayerSessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -18993,6 +19267,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AcceptanceRequired = ptr.Bool(jtv) } + case "AcceptanceTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19005,6 +19280,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AcceptanceTimeoutSeconds = ptr.Int32(int32(i64)) } + case "AdditionalPlayerCount": if value != nil { jtv, ok := value.(json.Number) @@ -19017,6 +19293,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.AdditionalPlayerCount = ptr.Int32(int32(i64)) } + case "BackfillMode": if value != nil { jtv, ok := value.(string) @@ -19025,6 +19302,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.BackfillMode = types.BackfillMode(jtv) } + case "ConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -19033,6 +19311,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.ConfigurationArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -19048,6 +19327,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } } + case "CustomEventData": if value != nil { jtv, ok := value.(string) @@ -19056,6 +19336,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.CustomEventData = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19064,6 +19345,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.Description = ptr.String(jtv) } + case "FlexMatchMode": if value != nil { jtv, ok := value.(string) @@ -19072,10 +19354,12 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.FlexMatchMode = types.FlexMatchMode(jtv) } + case "GameProperties": if err := awsAwsjson11_deserializeDocumentGamePropertyList(&sv.GameProperties, value); err != nil { return err } + case "GameSessionData": if value != nil { jtv, ok := value.(string) @@ -19084,10 +19368,12 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.GameSessionData = ptr.String(jtv) } + case "GameSessionQueueArns": if err := awsAwsjson11_deserializeDocumentQueueArnsList(&sv.GameSessionQueueArns, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19096,6 +19382,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.Name = ptr.String(jtv) } + case "NotificationTarget": if value != nil { jtv, ok := value.(string) @@ -19104,6 +19391,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.NotificationTarget = ptr.String(jtv) } + case "RequestTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -19116,6 +19404,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RequestTimeoutSeconds = ptr.Int32(int32(i64)) } + case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -19124,6 +19413,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RuleSetArn = ptr.String(jtv) } + case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -19132,6 +19422,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingConfiguration(v **types.Matchmak } sv.RuleSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -19212,6 +19503,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } } + case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -19220,6 +19512,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetArn = ptr.String(jtv) } + case "RuleSetBody": if value != nil { jtv, ok := value.(string) @@ -19228,6 +19521,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetBody = ptr.String(jtv) } + case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -19236,6 +19530,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingRuleSet(v **types.MatchmakingRul } sv.RuleSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -19309,6 +19604,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.ConfigurationArn = ptr.String(jtv) } + case "ConfigurationName": if value != nil { jtv, ok := value.(string) @@ -19317,6 +19613,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.ConfigurationName = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -19332,6 +19629,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } } + case "EstimatedWaitTime": if value != nil { jtv, ok := value.(json.Number) @@ -19344,14 +19642,17 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.EstimatedWaitTime = ptr.Int32(int32(i64)) } + case "GameSessionConnectionInfo": if err := awsAwsjson11_deserializeDocumentGameSessionConnectionInfo(&sv.GameSessionConnectionInfo, value); err != nil { return err } + case "Players": if err := awsAwsjson11_deserializeDocumentPlayerList(&sv.Players, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -19367,6 +19668,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19375,6 +19677,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.Status = types.MatchmakingConfigurationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -19383,6 +19686,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.StatusMessage = ptr.String(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -19391,6 +19695,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.StatusReason = ptr.String(jtv) } + case "TicketId": if value != nil { jtv, ok := value.(string) @@ -19399,6 +19704,7 @@ func awsAwsjson11_deserializeDocumentMatchmakingTicket(v **types.MatchmakingTick } sv.TicketId = ptr.String(jtv) } + default: _, _ = key, value @@ -19508,6 +19814,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19547,6 +19854,7 @@ func awsAwsjson11_deserializeDocumentNotReadyException(v **types.NotReadyExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19586,6 +19894,7 @@ func awsAwsjson11_deserializeDocumentOutOfCapacityException(v **types.OutOfCapac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19625,6 +19934,7 @@ func awsAwsjson11_deserializeDocumentPlacedPlayerSession(v **types.PlacedPlayerS } sv.PlayerId = ptr.String(jtv) } + case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -19633,6 +19943,7 @@ func awsAwsjson11_deserializeDocumentPlacedPlayerSession(v **types.PlacedPlayerS } sv.PlayerSessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -19702,10 +20013,12 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) if err := awsAwsjson11_deserializeDocumentLatencyMap(&sv.LatencyInMs, value); err != nil { return err } + case "PlayerAttributes": if err := awsAwsjson11_deserializeDocumentPlayerAttributeMap(&sv.PlayerAttributes, value); err != nil { return err } + case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -19714,6 +20027,7 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) } sv.PlayerId = ptr.String(jtv) } + case "Team": if value != nil { jtv, ok := value.(string) @@ -19722,6 +20036,7 @@ func awsAwsjson11_deserializeDocumentPlayer(v **types.Player, value interface{}) } sv.Team = ptr.String(jtv) } + default: _, _ = key, value @@ -19918,6 +20233,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } } + case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -19926,6 +20242,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } sv.PlayerId = ptr.String(jtv) } + case "RegionIdentifier": if value != nil { jtv, ok := value.(string) @@ -19934,6 +20251,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu } sv.RegionIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -20011,6 +20329,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatencyPolicy(v **types.PlayerLatency } sv.MaximumIndividualPlayerLatencyMilliseconds = ptr.Int32(int32(i64)) } + case "PolicyDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20023,6 +20342,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatencyPolicy(v **types.PlayerLatency } sv.PolicyDurationSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20137,6 +20457,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -20145,6 +20466,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.DnsName = ptr.String(jtv) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -20153,6 +20475,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -20161,6 +20484,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.FleetId = ptr.String(jtv) } + case "GameSessionId": if value != nil { jtv, ok := value.(string) @@ -20169,6 +20493,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.GameSessionId = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -20177,6 +20502,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.IpAddress = ptr.String(jtv) } + case "PlayerData": if value != nil { jtv, ok := value.(string) @@ -20185,6 +20511,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerData = ptr.String(jtv) } + case "PlayerId": if value != nil { jtv, ok := value.(string) @@ -20193,6 +20520,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerId = ptr.String(jtv) } + case "PlayerSessionId": if value != nil { jtv, ok := value.(string) @@ -20201,6 +20529,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.PlayerSessionId = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -20213,6 +20542,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.Port = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20221,6 +20551,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } sv.Status = types.PlayerSessionStatus(jtv) } + case "TerminationTime": if value != nil { switch jtv := value.(type) { @@ -20236,6 +20567,7 @@ func awsAwsjson11_deserializeDocumentPlayerSession(v **types.PlayerSession, valu } } + default: _, _ = key, value @@ -20305,10 +20637,12 @@ func awsAwsjson11_deserializeDocumentPriorityConfiguration(v **types.PriorityCon if err := awsAwsjson11_deserializeDocumentLocationList(&sv.LocationOrder, value); err != nil { return err } + case "PriorityOrder": if err := awsAwsjson11_deserializeDocumentPriorityTypeList(&sv.PriorityOrder, value); err != nil { return err } + default: _, _ = key, value @@ -20424,6 +20758,7 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.ACTIVE = ptr.Int32(int32(i64)) } + case "IDLE": if value != nil { jtv, ok := value.(json.Number) @@ -20436,6 +20771,7 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.IDLE = ptr.Int32(int32(i64)) } + case "PENDING": if value != nil { jtv, ok := value.(json.Number) @@ -20448,6 +20784,7 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.PENDING = ptr.Int32(int32(i64)) } + case "TERMINATING": if value != nil { jtv, ok := value.(json.Number) @@ -20460,6 +20797,7 @@ func awsAwsjson11_deserializeDocumentReplicaContainerGroupCounts(v **types.Repli } sv.TERMINATING = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20503,6 +20841,7 @@ func awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(v **types.Resou } sv.NewGameSessionsPerCreator = ptr.Int32(int32(i64)) } + case "PolicyPeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -20515,6 +20854,7 @@ func awsAwsjson11_deserializeDocumentResourceCreationLimitPolicy(v **types.Resou } sv.PolicyPeriodInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20554,6 +20894,7 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.FleetId = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20562,6 +20903,7 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20570,6 +20912,7 @@ func awsAwsjson11_deserializeDocumentRoutingStrategy(v **types.RoutingStrategy, } sv.Type = types.RoutingStrategyType(jtv) } + default: _, _ = key, value @@ -20613,6 +20956,7 @@ func awsAwsjson11_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi } sv.GameSessionActivationTimeoutSeconds = ptr.Int32(int32(i64)) } + case "MaxConcurrentGameSessionActivations": if value != nil { jtv, ok := value.(json.Number) @@ -20625,10 +20969,12 @@ func awsAwsjson11_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi } sv.MaxConcurrentGameSessionActivations = ptr.Int32(int32(i64)) } + case "ServerProcesses": if err := awsAwsjson11_deserializeDocumentServerProcessList(&sv.ServerProcesses, value); err != nil { return err } + default: _, _ = key, value @@ -20668,6 +21014,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -20676,6 +21023,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -20684,6 +21032,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectVersion = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -20692,6 +21041,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20731,6 +21081,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ComparisonOperator = types.ComparisonOperatorType(jtv) } + case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -20743,6 +21094,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -20751,6 +21103,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -20759,6 +21112,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.FleetId = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -20767,6 +21121,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Location = ptr.String(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -20775,6 +21130,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.MetricName = types.MetricName(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20783,6 +21139,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Name = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -20791,6 +21148,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.PolicyType = types.PolicyType(jtv) } + case "ScalingAdjustment": if value != nil { jtv, ok := value.(json.Number) @@ -20803,6 +21161,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalingAdjustment = ptr.Int32(int32(i64)) } + case "ScalingAdjustmentType": if value != nil { jtv, ok := value.(string) @@ -20811,6 +21170,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.ScalingAdjustmentType = types.ScalingAdjustmentType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20819,10 +21179,12 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.Status = types.ScalingStatusType(jtv) } + case "TargetConfiguration": if err := awsAwsjson11_deserializeDocumentTargetConfiguration(&sv.TargetConfiguration, value); err != nil { return err } + case "Threshold": if value != nil { switch jtv := value.(type) { @@ -20856,6 +21218,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -20864,6 +21227,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } + default: _, _ = key, value @@ -20944,6 +21308,7 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20952,6 +21317,7 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Name = ptr.String(jtv) } + case "ScriptArn": if value != nil { jtv, ok := value.(string) @@ -20960,6 +21326,7 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptArn = ptr.String(jtv) } + case "ScriptId": if value != nil { jtv, ok := value.(string) @@ -20968,6 +21335,7 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.ScriptId = ptr.String(jtv) } + case "SizeOnDisk": if value != nil { jtv, ok := value.(json.Number) @@ -20980,10 +21348,12 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.SizeOnDisk = ptr.Int64(i64) } + case "StorageLocation": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -20992,6 +21362,7 @@ func awsAwsjson11_deserializeDocumentScript(v **types.Script, value interface{}) } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -21069,6 +21440,7 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.ConcurrentExecutions = ptr.Int32(int32(i64)) } + case "LaunchPath": if value != nil { jtv, ok := value.(string) @@ -21077,6 +21449,7 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.LaunchPath = ptr.String(jtv) } + case "Parameters": if value != nil { jtv, ok := value.(string) @@ -21085,6 +21458,7 @@ func awsAwsjson11_deserializeDocumentServerProcess(v **types.ServerProcess, valu } sv.Parameters = ptr.String(jtv) } + default: _, _ = key, value @@ -21194,6 +21568,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -21202,6 +21577,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21241,6 +21617,7 @@ func awsAwsjson11_deserializeDocumentTaggingFailedException(v **types.TaggingFai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21339,6 +21716,7 @@ func awsAwsjson11_deserializeDocumentTargetConfiguration(v **types.TargetConfigu } } + default: _, _ = key, value @@ -21378,6 +21756,7 @@ func awsAwsjson11_deserializeDocumentTerminalRoutingStrategyException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21417,6 +21796,7 @@ func awsAwsjson11_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21456,6 +21836,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedRegionException(v **types.Unsupp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21502,6 +21883,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -21517,6 +21899,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } } + case "GameLiftAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -21525,6 +21908,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.GameLiftAwsAccountId = ptr.String(jtv) } + case "PeerVpcAwsAccountId": if value != nil { jtv, ok := value.(string) @@ -21533,6 +21917,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.PeerVpcAwsAccountId = ptr.String(jtv) } + case "PeerVpcId": if value != nil { jtv, ok := value.(string) @@ -21541,6 +21926,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(v **types.VpcPeerin } sv.PeerVpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -21614,6 +22000,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -21622,6 +22009,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.FleetId = ptr.String(jtv) } + case "GameLiftVpcId": if value != nil { jtv, ok := value.(string) @@ -21630,6 +22018,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.GameLiftVpcId = ptr.String(jtv) } + case "IpV4CidrBlock": if value != nil { jtv, ok := value.(string) @@ -21638,6 +22027,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.IpV4CidrBlock = ptr.String(jtv) } + case "PeerVpcId": if value != nil { jtv, ok := value.(string) @@ -21646,10 +22036,12 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.PeerVpcId = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(&sv.Status, value); err != nil { return err } + case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -21658,6 +22050,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnection(v **types.VpcPeeringCo } sv.VpcPeeringConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -21731,6 +22124,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(v **types.VpcPee } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -21739,6 +22133,7 @@ func awsAwsjson11_deserializeDocumentVpcPeeringConnectionStatus(v **types.VpcPee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21805,6 +22200,7 @@ func awsAwsjson11_deserializeOpDocumentClaimGameServerOutput(v **ClaimGameServer if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } + default: _, _ = key, value @@ -21840,6 +22236,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value @@ -21875,14 +22272,17 @@ func awsAwsjson11_deserializeOpDocumentCreateBuildOutput(v **CreateBuildOutput, if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + case "StorageLocation": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } + case "UploadCredentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.UploadCredentials, value); err != nil { return err } + default: _, _ = key, value @@ -21918,6 +22318,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerGroupDefinitionOutput(v ** if err := awsAwsjson11_deserializeDocumentContainerGroupDefinition(&sv.ContainerGroupDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -21957,6 +22358,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetLocationsOutput(v **CreateFlee } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -21965,10 +22367,12 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetLocationsOutput(v **CreateFlee } sv.FleetId = ptr.String(jtv) } + case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } + default: _, _ = key, value @@ -22004,10 +22408,12 @@ func awsAwsjson11_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, if err := awsAwsjson11_deserializeDocumentFleetAttributes(&sv.FleetAttributes, value); err != nil { return err } + case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } + default: _, _ = key, value @@ -22043,6 +22449,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGameServerGroupOutput(v **CreateGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -22078,6 +22485,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGameSessionOutput(v **CreateGameSes if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } + default: _, _ = key, value @@ -22113,6 +22521,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGameSessionQueueOutput(v **CreateGa if err := awsAwsjson11_deserializeDocumentGameSessionQueue(&sv.GameSessionQueue, value); err != nil { return err } + default: _, _ = key, value @@ -22148,6 +22557,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLocationOutput(v **CreateLocationOu if err := awsAwsjson11_deserializeDocumentLocationModel(&sv.Location, value); err != nil { return err } + default: _, _ = key, value @@ -22183,6 +22593,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMatchmakingConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentMatchmakingConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -22218,6 +22629,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMatchmakingRuleSetOutput(v **Create if err := awsAwsjson11_deserializeDocumentMatchmakingRuleSet(&sv.RuleSet, value); err != nil { return err } + default: _, _ = key, value @@ -22253,6 +22665,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePlayerSessionOutput(v **CreatePlaye if err := awsAwsjson11_deserializeDocumentPlayerSession(&sv.PlayerSession, value); err != nil { return err } + default: _, _ = key, value @@ -22288,6 +22701,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePlayerSessionsOutput(v **CreatePlay if err := awsAwsjson11_deserializeDocumentPlayerSessionList(&sv.PlayerSessions, value); err != nil { return err } + default: _, _ = key, value @@ -22323,6 +22737,7 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } + default: _, _ = key, value @@ -22358,6 +22773,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVpcPeeringAuthorizationOutput(v **C if err := awsAwsjson11_deserializeDocumentVpcPeeringAuthorization(&sv.VpcPeeringAuthorization, value); err != nil { return err } + default: _, _ = key, value @@ -22428,6 +22844,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetLocationsOutput(v **DeleteFlee } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -22436,10 +22853,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteFleetLocationsOutput(v **DeleteFlee } sv.FleetId = ptr.String(jtv) } + case "LocationStates": if err := awsAwsjson11_deserializeDocumentLocationStateList(&sv.LocationStates, value); err != nil { return err } + default: _, _ = key, value @@ -22475,6 +22894,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGameServerGroupOutput(v **DeleteGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -22727,6 +23147,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAliasOutput(v **DescribeAliasOutp if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value @@ -22762,6 +23183,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBuildOutput(v **DescribeBuildOutp if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + default: _, _ = key, value @@ -22797,6 +23219,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeComputeOutput(v **DescribeCompute if err := awsAwsjson11_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } + default: _, _ = key, value @@ -22832,6 +23255,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerGroupDefinitionOutput(v if err := awsAwsjson11_deserializeDocumentContainerGroupDefinition(&sv.ContainerGroupDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -22867,6 +23291,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEC2InstanceLimitsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentEC2InstanceLimitList(&sv.EC2InstanceLimits, value); err != nil { return err } + default: _, _ = key, value @@ -22902,6 +23327,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAttributesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentFleetAttributesList(&sv.FleetAttributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22910,6 +23336,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetAttributesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22945,6 +23372,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetCapacityOutput(v **DescribeF if err := awsAwsjson11_deserializeDocumentFleetCapacityList(&sv.FleetCapacity, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22953,6 +23381,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetCapacityOutput(v **DescribeF } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22988,6 +23417,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetEventsOutput(v **DescribeFle if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22996,6 +23426,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetEventsOutput(v **DescribeFle } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23035,6 +23466,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -23043,10 +23475,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.FleetId = ptr.String(jtv) } + case "LocationAttributes": if err := awsAwsjson11_deserializeDocumentLocationAttributesList(&sv.LocationAttributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23055,6 +23489,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationAttributesOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23090,6 +23525,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationCapacityOutput(v **D if err := awsAwsjson11_deserializeDocumentFleetCapacity(&sv.FleetCapacity, value); err != nil { return err } + default: _, _ = key, value @@ -23125,6 +23561,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetLocationUtilizationOutput(v if err := awsAwsjson11_deserializeDocumentFleetUtilization(&sv.FleetUtilization, value); err != nil { return err } + default: _, _ = key, value @@ -23164,6 +23601,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -23172,10 +23610,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.FleetId = ptr.String(jtv) } + case "InboundPermissions": if err := awsAwsjson11_deserializeDocumentIpPermissionsList(&sv.InboundPermissions, value); err != nil { return err } + case "Location": if value != nil { jtv, ok := value.(string) @@ -23184,6 +23624,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.Location = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -23192,6 +23633,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetPortSettingsOutput(v **Descr } sv.UpdateStatus = types.LocationUpdateStatus(jtv) } + default: _, _ = key, value @@ -23227,6 +23669,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetUtilizationOutput(v **Descri if err := awsAwsjson11_deserializeDocumentFleetUtilizationList(&sv.FleetUtilization, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23235,6 +23678,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFleetUtilizationOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23270,6 +23714,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerGroupOutput(v **Describ if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -23305,6 +23750,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerInstancesOutput(v **Des if err := awsAwsjson11_deserializeDocumentGameServerInstances(&sv.GameServerInstances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23313,6 +23759,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerInstancesOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23348,6 +23795,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameServerOutput(v **DescribeGame if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } + default: _, _ = key, value @@ -23383,6 +23831,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionDetailsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentGameSessionDetailList(&sv.GameSessionDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23391,6 +23840,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionDetailsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23426,6 +23876,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionPlacementOutput(v **De if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } + default: _, _ = key, value @@ -23461,6 +23912,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionQueuesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentGameSessionQueueList(&sv.GameSessionQueues, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23469,6 +23921,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionQueuesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23504,6 +23957,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionsOutput(v **DescribeGa if err := awsAwsjson11_deserializeDocumentGameSessionList(&sv.GameSessions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23512,6 +23966,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGameSessionsOutput(v **DescribeGa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23547,6 +24002,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23555,6 +24011,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23590,6 +24047,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingConfigurationsOutput(v if err := awsAwsjson11_deserializeDocumentMatchmakingConfigurationList(&sv.Configurations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23598,6 +24056,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23633,6 +24092,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingOutput(v **DescribeMat if err := awsAwsjson11_deserializeDocumentMatchmakingTicketList(&sv.TicketList, value); err != nil { return err } + default: _, _ = key, value @@ -23672,10 +24132,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMatchmakingRuleSetsOutput(v **Des } sv.NextToken = ptr.String(jtv) } + case "RuleSets": if err := awsAwsjson11_deserializeDocumentMatchmakingRuleSetList(&sv.RuleSets, value); err != nil { return err } + default: _, _ = key, value @@ -23715,10 +24177,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePlayerSessionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + case "PlayerSessions": if err := awsAwsjson11_deserializeDocumentPlayerSessionList(&sv.PlayerSessions, value); err != nil { return err } + default: _, _ = key, value @@ -23754,6 +24218,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRuntimeConfigurationOutput(v **De if err := awsAwsjson11_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -23793,10 +24258,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeScalingPoliciesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicyList(&sv.ScalingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -23832,6 +24299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeScriptOutput(v **DescribeScriptOu if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } + default: _, _ = key, value @@ -23867,6 +24335,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVpcPeeringAuthorizationsOutput(v if err := awsAwsjson11_deserializeDocumentVpcPeeringAuthorizationList(&sv.VpcPeeringAuthorizations, value); err != nil { return err } + default: _, _ = key, value @@ -23902,6 +24371,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVpcPeeringConnectionsOutput(v **D if err := awsAwsjson11_deserializeDocumentVpcPeeringConnectionList(&sv.VpcPeeringConnections, value); err != nil { return err } + default: _, _ = key, value @@ -23941,6 +24411,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.ComputeArn = ptr.String(jtv) } + case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -23949,10 +24420,12 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.ComputeName = ptr.String(jtv) } + case "Credentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.Credentials, value); err != nil { return err } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -23961,6 +24434,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -23969,6 +24443,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.FleetId = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -23977,6 +24452,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAccessOutput(v **GetComputeAcce } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -24016,6 +24492,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.AuthToken = ptr.String(jtv) } + case "ComputeArn": if value != nil { jtv, ok := value.(string) @@ -24024,6 +24501,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.ComputeArn = ptr.String(jtv) } + case "ComputeName": if value != nil { jtv, ok := value.(string) @@ -24032,6 +24510,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.ComputeName = ptr.String(jtv) } + case "ExpirationTimestamp": if value != nil { switch jtv := value.(type) { @@ -24047,6 +24526,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } } + case "FleetArn": if value != nil { jtv, ok := value.(string) @@ -24055,6 +24535,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -24063,6 +24544,7 @@ func awsAwsjson11_deserializeOpDocumentGetComputeAuthTokenOutput(v **GetComputeA } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -24102,6 +24584,7 @@ func awsAwsjson11_deserializeOpDocumentGetGameSessionLogUrlOutput(v **GetGameSes } sv.PreSignedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -24137,6 +24620,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceAccessOutput(v **GetInstanceAc if err := awsAwsjson11_deserializeDocumentInstanceAccess(&sv.InstanceAccess, value); err != nil { return err } + default: _, _ = key, value @@ -24172,6 +24656,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24180,6 +24665,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24215,6 +24701,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va if err := awsAwsjson11_deserializeDocumentBuildList(&sv.Builds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24223,6 +24710,7 @@ func awsAwsjson11_deserializeOpDocumentListBuildsOutput(v **ListBuildsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24258,6 +24746,7 @@ func awsAwsjson11_deserializeOpDocumentListComputeOutput(v **ListComputeOutput, if err := awsAwsjson11_deserializeDocumentComputeList(&sv.ComputeList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24266,6 +24755,7 @@ func awsAwsjson11_deserializeOpDocumentListComputeOutput(v **ListComputeOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24301,6 +24791,7 @@ func awsAwsjson11_deserializeOpDocumentListContainerGroupDefinitionsOutput(v **L if err := awsAwsjson11_deserializeDocumentContainerGroupDefinitionList(&sv.ContainerGroupDefinitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24309,6 +24800,7 @@ func awsAwsjson11_deserializeOpDocumentListContainerGroupDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24344,6 +24836,7 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson11_deserializeDocumentFleetIdList(&sv.FleetIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24352,6 +24845,7 @@ func awsAwsjson11_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24387,6 +24881,7 @@ func awsAwsjson11_deserializeOpDocumentListGameServerGroupsOutput(v **ListGameSe if err := awsAwsjson11_deserializeDocumentGameServerGroups(&sv.GameServerGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24395,6 +24890,7 @@ func awsAwsjson11_deserializeOpDocumentListGameServerGroupsOutput(v **ListGameSe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24430,6 +24926,7 @@ func awsAwsjson11_deserializeOpDocumentListGameServersOutput(v **ListGameServers if err := awsAwsjson11_deserializeDocumentGameServers(&sv.GameServers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24438,6 +24935,7 @@ func awsAwsjson11_deserializeOpDocumentListGameServersOutput(v **ListGameServers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24473,6 +24971,7 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp if err := awsAwsjson11_deserializeDocumentLocationModelList(&sv.Locations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24481,6 +24980,7 @@ func awsAwsjson11_deserializeOpDocumentListLocationsOutput(v **ListLocationsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24520,10 +25020,12 @@ func awsAwsjson11_deserializeOpDocumentListScriptsOutput(v **ListScriptsOutput, } sv.NextToken = ptr.String(jtv) } + case "Scripts": if err := awsAwsjson11_deserializeDocumentScriptList(&sv.Scripts, value); err != nil { return err } + default: _, _ = key, value @@ -24559,6 +25061,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -24598,6 +25101,7 @@ func awsAwsjson11_deserializeOpDocumentPutScalingPolicyOutput(v **PutScalingPoli } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -24633,6 +25137,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterComputeOutput(v **RegisterCompute if err := awsAwsjson11_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } + default: _, _ = key, value @@ -24668,6 +25173,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterGameServerOutput(v **RegisterGame if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } + default: _, _ = key, value @@ -24703,10 +25209,12 @@ func awsAwsjson11_deserializeOpDocumentRequestUploadCredentialsOutput(v **Reques if err := awsAwsjson11_deserializeDocumentS3Location(&sv.StorageLocation, value); err != nil { return err } + case "UploadCredentials": if err := awsAwsjson11_deserializeDocumentAwsCredentials(&sv.UploadCredentials, value); err != nil { return err } + default: _, _ = key, value @@ -24746,6 +25254,7 @@ func awsAwsjson11_deserializeOpDocumentResolveAliasOutput(v **ResolveAliasOutput } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -24754,6 +25263,7 @@ func awsAwsjson11_deserializeOpDocumentResolveAliasOutput(v **ResolveAliasOutput } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -24789,6 +25299,7 @@ func awsAwsjson11_deserializeOpDocumentResumeGameServerGroupOutput(v **ResumeGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -24824,6 +25335,7 @@ func awsAwsjson11_deserializeOpDocumentSearchGameSessionsOutput(v **SearchGameSe if err := awsAwsjson11_deserializeDocumentGameSessionList(&sv.GameSessions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24832,6 +25344,7 @@ func awsAwsjson11_deserializeOpDocumentSearchGameSessionsOutput(v **SearchGameSe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24871,6 +25384,7 @@ func awsAwsjson11_deserializeOpDocumentStartFleetActionsOutput(v **StartFleetAct } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -24879,6 +25393,7 @@ func awsAwsjson11_deserializeOpDocumentStartFleetActionsOutput(v **StartFleetAct } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -24914,6 +25429,7 @@ func awsAwsjson11_deserializeOpDocumentStartGameSessionPlacementOutput(v **Start if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } + default: _, _ = key, value @@ -24949,6 +25465,7 @@ func awsAwsjson11_deserializeOpDocumentStartMatchBackfillOutput(v **StartMatchBa if err := awsAwsjson11_deserializeDocumentMatchmakingTicket(&sv.MatchmakingTicket, value); err != nil { return err } + default: _, _ = key, value @@ -24984,6 +25501,7 @@ func awsAwsjson11_deserializeOpDocumentStartMatchmakingOutput(v **StartMatchmaki if err := awsAwsjson11_deserializeDocumentMatchmakingTicket(&sv.MatchmakingTicket, value); err != nil { return err } + default: _, _ = key, value @@ -25023,6 +25541,7 @@ func awsAwsjson11_deserializeOpDocumentStopFleetActionsOutput(v **StopFleetActio } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25031,6 +25550,7 @@ func awsAwsjson11_deserializeOpDocumentStopFleetActionsOutput(v **StopFleetActio } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -25066,6 +25586,7 @@ func awsAwsjson11_deserializeOpDocumentStopGameSessionPlacementOutput(v **StopGa if err := awsAwsjson11_deserializeDocumentGameSessionPlacement(&sv.GameSessionPlacement, value); err != nil { return err } + default: _, _ = key, value @@ -25132,6 +25653,7 @@ func awsAwsjson11_deserializeOpDocumentSuspendGameServerGroupOutput(v **SuspendG if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -25229,6 +25751,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, if err := awsAwsjson11_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value @@ -25264,6 +25787,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBuildOutput(v **UpdateBuildOutput, if err := awsAwsjson11_deserializeDocumentBuild(&sv.Build, value); err != nil { return err } + default: _, _ = key, value @@ -25303,6 +25827,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetAttributesOutput(v **UpdateFle } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25311,6 +25836,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetAttributesOutput(v **UpdateFle } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -25350,6 +25876,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25358,6 +25885,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.FleetId = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -25366,6 +25894,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetCapacityOutput(v **UpdateFleet } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -25405,6 +25934,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetPortSettingsOutput(v **UpdateF } sv.FleetArn = ptr.String(jtv) } + case "FleetId": if value != nil { jtv, ok := value.(string) @@ -25413,6 +25943,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFleetPortSettingsOutput(v **UpdateF } sv.FleetId = ptr.String(jtv) } + default: _, _ = key, value @@ -25448,6 +25979,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameServerGroupOutput(v **UpdateGam if err := awsAwsjson11_deserializeDocumentGameServerGroup(&sv.GameServerGroup, value); err != nil { return err } + default: _, _ = key, value @@ -25483,6 +26015,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameServerOutput(v **UpdateGameServ if err := awsAwsjson11_deserializeDocumentGameServer(&sv.GameServer, value); err != nil { return err } + default: _, _ = key, value @@ -25518,6 +26051,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameSessionOutput(v **UpdateGameSes if err := awsAwsjson11_deserializeDocumentGameSession(&sv.GameSession, value); err != nil { return err } + default: _, _ = key, value @@ -25553,6 +26087,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGameSessionQueueOutput(v **UpdateGa if err := awsAwsjson11_deserializeDocumentGameSessionQueue(&sv.GameSessionQueue, value); err != nil { return err } + default: _, _ = key, value @@ -25588,6 +26123,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMatchmakingConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentMatchmakingConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -25623,6 +26159,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuntimeConfigurationOutput(v **Upda if err := awsAwsjson11_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -25658,6 +26195,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateScriptOutput(v **UpdateScriptOutput if err := awsAwsjson11_deserializeDocumentScript(&sv.Script, value); err != nil { return err } + default: _, _ = key, value @@ -25697,6 +26235,7 @@ func awsAwsjson11_deserializeOpDocumentValidateMatchmakingRuleSetOutput(v **Vali } sv.Valid = ptr.Bool(jtv) } + default: _, _ = key, value diff --git a/service/geomaps/deserializers.go b/service/geomaps/deserializers.go index 4d2af6f4a60..719bb2b5c19 100644 --- a/service/geomaps/deserializers.go +++ b/service/geomaps/deserializers.go @@ -932,6 +932,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -971,6 +972,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1010,6 +1012,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1045,6 +1048,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -1053,6 +1057,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -1061,6 +1066,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -1100,6 +1106,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1108,6 +1115,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/geoplaces/deserializers.go b/service/geoplaces/deserializers.go index 53bb2722001..9e691dd4d0f 100644 --- a/service/geoplaces/deserializers.go +++ b/service/geoplaces/deserializers.go @@ -198,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentAutocompleteOutput(v **AutocompleteOutput if err := awsRestjson1_deserializeDocumentAutocompleteResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -375,6 +376,7 @@ func awsRestjson1_deserializeOpDocumentGeocodeOutput(v **GeocodeOutput, value in if err := awsRestjson1_deserializeDocumentGeocodeResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -552,14 +554,17 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -568,34 +573,42 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.AddressNumberCorrected = ptr.Bool(jtv) } + case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } + case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -604,6 +617,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -612,6 +626,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -620,18 +635,22 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -640,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -817,6 +837,7 @@ func awsRestjson1_deserializeOpDocumentReverseGeocodeOutput(v **ReverseGeocodeOu if err := awsRestjson1_deserializeDocumentReverseGeocodeResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -998,10 +1019,12 @@ func awsRestjson1_deserializeOpDocumentSearchNearbyOutput(v **SearchNearbyOutput } sv.NextToken = ptr.String(jtv) } + case "ResultItems": if err := awsRestjson1_deserializeDocumentSearchNearbyResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -1183,10 +1206,12 @@ func awsRestjson1_deserializeOpDocumentSearchTextOutput(v **SearchTextOutput, va } sv.NextToken = ptr.String(jtv) } + case "ResultItems": if err := awsRestjson1_deserializeDocumentSearchTextResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -1364,10 +1389,12 @@ func awsRestjson1_deserializeOpDocumentSuggestOutput(v **SuggestOutput, value in if err := awsRestjson1_deserializeDocumentQueryRefinementList(&sv.QueryRefinements, value); err != nil { return err } + case "ResultItems": if err := awsRestjson1_deserializeDocumentSuggestResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -1551,6 +1578,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1586,6 +1614,7 @@ func awsRestjson1_deserializeDocumentAccessPoint(v **types.AccessPoint, value in if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -1655,6 +1684,7 @@ func awsRestjson1_deserializeDocumentAccessRestriction(v **types.AccessRestricti if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Restricted": if value != nil { jtv, ok := value.(bool) @@ -1663,6 +1693,7 @@ func awsRestjson1_deserializeDocumentAccessRestriction(v **types.AccessRestricti } sv.Restricted = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1736,6 +1767,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressNumber = ptr.String(jtv) } + case "Block": if value != nil { jtv, ok := value.(string) @@ -1744,6 +1776,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Block = ptr.String(jtv) } + case "Building": if value != nil { jtv, ok := value.(string) @@ -1752,10 +1785,12 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Building = ptr.String(jtv) } + case "Country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } + case "District": if value != nil { jtv, ok := value.(string) @@ -1764,10 +1799,12 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.District = ptr.String(jtv) } + case "Intersection": if err := awsRestjson1_deserializeDocumentIntersectionList(&sv.Intersection, value); err != nil { return err } + case "Label": if value != nil { jtv, ok := value.(string) @@ -1776,6 +1813,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Label = ptr.String(jtv) } + case "Locality": if value != nil { jtv, ok := value.(string) @@ -1784,6 +1822,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Locality = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -1792,10 +1831,12 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "Region": if err := awsRestjson1_deserializeDocumentRegion(&sv.Region, value); err != nil { return err } + case "Street": if value != nil { jtv, ok := value.(string) @@ -1804,10 +1845,12 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street = ptr.String(jtv) } + case "StreetComponents": if err := awsRestjson1_deserializeDocumentStreetComponentsList(&sv.StreetComponents, value); err != nil { return err } + case "SubBlock": if value != nil { jtv, ok := value.(string) @@ -1816,6 +1859,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.SubBlock = ptr.String(jtv) } + case "SubDistrict": if value != nil { jtv, ok := value.(string) @@ -1824,10 +1868,12 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.SubDistrict = ptr.String(jtv) } + case "SubRegion": if err := awsRestjson1_deserializeDocumentSubRegion(&sv.SubRegion, value); err != nil { return err } + default: _, _ = key, value @@ -1892,6 +1938,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "Block": if value != nil { switch jtv := value.(type) { @@ -1925,6 +1972,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "Building": if value != nil { switch jtv := value.(type) { @@ -1958,6 +2006,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "Country": if value != nil { switch jtv := value.(type) { @@ -1991,6 +2040,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "District": if value != nil { switch jtv := value.(type) { @@ -2024,10 +2074,12 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "Intersection": if err := awsRestjson1_deserializeDocumentMatchScoreList(&sv.Intersection, value); err != nil { return err } + case "Locality": if value != nil { switch jtv := value.(type) { @@ -2061,6 +2113,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "PostalCode": if value != nil { switch jtv := value.(type) { @@ -2094,6 +2147,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "Region": if value != nil { switch jtv := value.(type) { @@ -2127,6 +2181,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "SubBlock": if value != nil { switch jtv := value.(type) { @@ -2160,6 +2215,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "SubDistrict": if value != nil { switch jtv := value.(type) { @@ -2193,6 +2249,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + case "SubRegion": if value != nil { switch jtv := value.(type) { @@ -2226,6 +2283,7 @@ func awsRestjson1_deserializeDocumentAddressComponentMatchScores(v **types.Addre } } + default: _, _ = key, value @@ -2261,38 +2319,47 @@ func awsRestjson1_deserializeDocumentAddressComponentPhonemes(v **types.AddressC if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Block, value); err != nil { return err } + case "Country": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Country, value); err != nil { return err } + case "District": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.District, value); err != nil { return err } + case "Locality": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Locality, value); err != nil { return err } + case "Region": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Region, value); err != nil { return err } + case "Street": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Street, value); err != nil { return err } + case "SubBlock": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubBlock, value); err != nil { return err } + case "SubDistrict": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubDistrict, value); err != nil { return err } + case "SubRegion": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.SubRegion, value); err != nil { return err } + default: _, _ = key, value @@ -2328,58 +2395,72 @@ func awsRestjson1_deserializeDocumentAutocompleteAddressHighlights(v **types.Aut if err := awsRestjson1_deserializeDocumentHighlightList(&sv.AddressNumber, value); err != nil { return err } + case "Block": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Block, value); err != nil { return err } + case "Building": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Building, value); err != nil { return err } + case "Country": if err := awsRestjson1_deserializeDocumentCountryHighlights(&sv.Country, value); err != nil { return err } + case "District": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.District, value); err != nil { return err } + case "Intersection": if err := awsRestjson1_deserializeDocumentIntersectionHighlightsList(&sv.Intersection, value); err != nil { return err } + case "Label": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Label, value); err != nil { return err } + case "Locality": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Locality, value); err != nil { return err } + case "PostalCode": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.PostalCode, value); err != nil { return err } + case "Region": if err := awsRestjson1_deserializeDocumentRegionHighlights(&sv.Region, value); err != nil { return err } + case "Street": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Street, value); err != nil { return err } + case "SubBlock": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.SubBlock, value); err != nil { return err } + case "SubDistrict": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.SubDistrict, value); err != nil { return err } + case "SubRegion": if err := awsRestjson1_deserializeDocumentSubRegionHighlights(&sv.SubRegion, value); err != nil { return err } + default: _, _ = key, value @@ -2415,10 +2496,12 @@ func awsRestjson1_deserializeDocumentAutocompleteHighlights(v **types.Autocomple if err := awsRestjson1_deserializeDocumentAutocompleteAddressHighlights(&sv.Address, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -2454,6 +2537,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -2466,10 +2550,12 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Distance = i64 } + case "Highlights": if err := awsRestjson1_deserializeDocumentAutocompleteHighlights(&sv.Highlights, value); err != nil { return err } + case "Language": if value != nil { jtv, ok := value.(string) @@ -2478,6 +2564,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Language = ptr.String(jtv) } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -2486,6 +2573,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -2494,6 +2582,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -2502,6 +2591,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.PoliticalView = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -2510,6 +2600,7 @@ func awsRestjson1_deserializeDocumentAutocompleteResultItem(v **types.Autocomple } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -2644,6 +2735,7 @@ func awsRestjson1_deserializeDocumentBusinessChain(v **types.BusinessChain, valu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2652,6 +2744,7 @@ func awsRestjson1_deserializeDocumentBusinessChain(v **types.BusinessChain, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2725,6 +2818,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Id = ptr.String(jtv) } + case "LocalizedName": if value != nil { jtv, ok := value.(string) @@ -2733,6 +2827,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.LocalizedName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2741,6 +2836,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Name = ptr.String(jtv) } + case "Primary": if value != nil { jtv, ok := value.(bool) @@ -2749,6 +2845,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Primary = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2818,6 +2915,7 @@ func awsRestjson1_deserializeDocumentComponentMatchScores(v **types.ComponentMat if err := awsRestjson1_deserializeDocumentAddressComponentMatchScores(&sv.Address, value); err != nil { return err } + case "Title": if value != nil { switch jtv := value.(type) { @@ -2851,6 +2949,7 @@ func awsRestjson1_deserializeDocumentComponentMatchScores(v **types.ComponentMat } } + default: _, _ = key, value @@ -2886,6 +2985,7 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Label": if value != nil { jtv, ok := value.(string) @@ -2894,6 +2994,7 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va } sv.Label = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2902,6 +3003,7 @@ func awsRestjson1_deserializeDocumentContactDetails(v **types.ContactDetails, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2971,18 +3073,22 @@ func awsRestjson1_deserializeDocumentContacts(v **types.Contacts, value interfac if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Emails, value); err != nil { return err } + case "Faxes": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Faxes, value); err != nil { return err } + case "Phones": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Phones, value); err != nil { return err } + case "Websites": if err := awsRestjson1_deserializeDocumentContactDetailsList(&sv.Websites, value); err != nil { return err } + default: _, _ = key, value @@ -3022,6 +3128,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Code2 = ptr.String(jtv) } + case "Code3": if value != nil { jtv, ok := value.(string) @@ -3030,6 +3137,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Code3 = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3038,6 +3146,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3073,10 +3182,12 @@ func awsRestjson1_deserializeDocumentCountryHighlights(v **types.CountryHighligh if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } + case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } + default: _, _ = key, value @@ -3116,6 +3227,7 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.Id = ptr.String(jtv) } + case "LocalizedName": if value != nil { jtv, ok := value.(string) @@ -3124,6 +3236,7 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.LocalizedName = ptr.String(jtv) } + case "Primary": if value != nil { jtv, ok := value.(bool) @@ -3132,6 +3245,7 @@ func awsRestjson1_deserializeDocumentFoodType(v **types.FoodType, value interfac } sv.Primary = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3201,10 +3315,12 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -3213,10 +3329,12 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.AddressNumberCorrected = ptr.Bool(jtv) } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -3229,18 +3347,22 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.Distance = i64 } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "MatchScores": if err := awsRestjson1_deserializeDocumentMatchScoreDetails(&sv.MatchScores, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -3249,6 +3371,7 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -3257,6 +3380,7 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -3265,18 +3389,22 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3413,7 @@ func awsRestjson1_deserializeDocumentGeocodeResultItem(v **types.GeocodeResultIt } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -3362,6 +3491,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndIndex = ptr.Int32(int32(i64)) } + case "StartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3374,6 +3504,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.StartIndex = ptr.Int32(int32(i64)) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3382,6 +3513,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3455,6 +3587,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3558,6 +3691,7 @@ func awsRestjson1_deserializeDocumentMatchScoreDetails(v **types.MatchScoreDetai if err := awsRestjson1_deserializeDocumentComponentMatchScores(&sv.Components, value); err != nil { return err } + case "Overall": if value != nil { switch jtv := value.(type) { @@ -3591,6 +3725,7 @@ func awsRestjson1_deserializeDocumentMatchScoreDetails(v **types.MatchScoreDetai } } + default: _, _ = key, value @@ -3687,14 +3822,17 @@ func awsRestjson1_deserializeDocumentOpeningHours(v **types.OpeningHours, value if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Components": if err := awsRestjson1_deserializeDocumentOpeningHoursComponentsList(&sv.Components, value); err != nil { return err } + case "Display": if err := awsRestjson1_deserializeDocumentOpeningHoursDisplayList(&sv.Display, value); err != nil { return err } + case "OpenNow": if value != nil { jtv, ok := value.(bool) @@ -3703,6 +3841,7 @@ func awsRestjson1_deserializeDocumentOpeningHours(v **types.OpeningHours, value } sv.OpenNow = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3742,6 +3881,7 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.OpenDuration = ptr.String(jtv) } + case "OpenTime": if value != nil { jtv, ok := value.(string) @@ -3750,6 +3890,7 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.OpenTime = ptr.String(jtv) } + case "Recurrence": if value != nil { jtv, ok := value.(string) @@ -3758,6 +3899,7 @@ func awsRestjson1_deserializeDocumentOpeningHoursComponents(v **types.OpeningHou } sv.Recurrence = ptr.String(jtv) } + default: _, _ = key, value @@ -3897,10 +4039,12 @@ func awsRestjson1_deserializeDocumentPhonemeDetails(v **types.PhonemeDetails, va if err := awsRestjson1_deserializeDocumentAddressComponentPhonemes(&sv.Address, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentPhonemeTranscriptionList(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -3940,6 +4084,7 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Language = ptr.String(jtv) } + case "Preferred": if value != nil { jtv, ok := value.(bool) @@ -3948,6 +4093,7 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Preferred = ptr.Bool(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3956,6 +4102,7 @@ func awsRestjson1_deserializeDocumentPhonemeTranscription(v **types.PhonemeTrans } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4090,6 +4237,7 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalAuthority = types.PostalAuthority(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -4098,6 +4246,7 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalCode = ptr.String(jtv) } + case "PostalCodeType": if value != nil { jtv, ok := value.(string) @@ -4106,14 +4255,17 @@ func awsRestjson1_deserializeDocumentPostalCodeDetails(v **types.PostalCodeDetai } sv.PostalCodeType = types.PostalCodeType(jtv) } + case "UspsZip": if err := awsRestjson1_deserializeDocumentUspsZip(&sv.UspsZip, value); err != nil { return err } + case "UspsZipPlus4": if err := awsRestjson1_deserializeDocumentUspsZipPlus4(&sv.UspsZipPlus4, value); err != nil { return err } + default: _, _ = key, value @@ -4191,6 +4343,7 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.EndIndex = ptr.Int32(int32(i64)) } + case "OriginalTerm": if value != nil { jtv, ok := value.(string) @@ -4199,6 +4352,7 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.OriginalTerm = ptr.String(jtv) } + case "RefinedTerm": if value != nil { jtv, ok := value.(string) @@ -4207,6 +4361,7 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.RefinedTerm = ptr.String(jtv) } + case "StartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4219,6 +4374,7 @@ func awsRestjson1_deserializeDocumentQueryRefinement(v **types.QueryRefinement, } sv.StartIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4292,6 +4448,7 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Code = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4300,6 +4457,7 @@ func awsRestjson1_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4335,10 +4493,12 @@ func awsRestjson1_deserializeDocumentRegionHighlights(v **types.RegionHighlights if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } + case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } + default: _, _ = key, value @@ -4374,10 +4534,12 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4386,10 +4548,12 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.AddressNumberCorrected = ptr.Bool(jtv) } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4402,14 +4566,17 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.Distance = i64 } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4418,6 +4585,7 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4426,6 +4594,7 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4434,18 +4603,22 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PostalCodeDetails": if err := awsRestjson1_deserializeDocumentPostalCodeDetailsList(&sv.PostalCodeDetails, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -4454,6 +4627,7 @@ func awsRestjson1_deserializeDocumentReverseGeocodeResultItem(v **types.ReverseG } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -4523,14 +4697,17 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4539,18 +4716,22 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.AddressNumberCorrected = ptr.Bool(jtv) } + case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4563,22 +4744,27 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.Distance = i64 } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } + case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4587,6 +4773,7 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4595,6 +4782,7 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4603,14 +4791,17 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4810,7 @@ func awsRestjson1_deserializeDocumentSearchNearbyResultItem(v **types.SearchNear } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -4688,14 +4880,17 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressNumberCorrected": if value != nil { jtv, ok := value.(bool) @@ -4704,18 +4899,22 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.AddressNumberCorrected = ptr.Bool(jtv) } + case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Contacts": if err := awsRestjson1_deserializeDocumentContacts(&sv.Contacts, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4728,22 +4927,27 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.Distance = i64 } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "OpeningHours": if err := awsRestjson1_deserializeDocumentOpeningHoursList(&sv.OpeningHours, value); err != nil { return err } + case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -4752,6 +4956,7 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -4760,6 +4965,7 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -4768,14 +4974,17 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -4784,6 +4993,7 @@ func awsRestjson1_deserializeDocumentSearchTextResultItem(v **types.SearchTextRe } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -4857,6 +5067,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.BaseName = ptr.String(jtv) } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -4865,6 +5076,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Direction = ptr.String(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -4873,6 +5085,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Language = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -4881,6 +5094,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Prefix = ptr.String(jtv) } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -4889,6 +5103,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Suffix = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4897,6 +5112,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.Type = ptr.String(jtv) } + case "TypePlacement": if value != nil { jtv, ok := value.(string) @@ -4905,6 +5121,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.TypePlacement = types.TypePlacement(jtv) } + case "TypeSeparator": if value != nil { jtv, ok := value.(string) @@ -4913,6 +5130,7 @@ func awsRestjson1_deserializeDocumentStreetComponents(v **types.StreetComponents } sv.TypeSeparator = ptr.String(jtv) } + default: _, _ = key, value @@ -4986,6 +5204,7 @@ func awsRestjson1_deserializeDocumentSubRegion(v **types.SubRegion, value interf } sv.Code = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4994,6 +5213,7 @@ func awsRestjson1_deserializeDocumentSubRegion(v **types.SubRegion, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5029,10 +5249,12 @@ func awsRestjson1_deserializeDocumentSubRegionHighlights(v **types.SubRegionHigh if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Code, value); err != nil { return err } + case "Name": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Name, value); err != nil { return err } + default: _, _ = key, value @@ -5068,6 +5290,7 @@ func awsRestjson1_deserializeDocumentSuggestAddressHighlights(v **types.SuggestA if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Label, value); err != nil { return err } + default: _, _ = key, value @@ -5103,10 +5326,12 @@ func awsRestjson1_deserializeDocumentSuggestHighlights(v **types.SuggestHighligh if err := awsRestjson1_deserializeDocumentSuggestAddressHighlights(&sv.Address, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentHighlightList(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -5142,22 +5367,27 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe if err := awsRestjson1_deserializeDocumentAccessPointList(&sv.AccessPoints, value); err != nil { return err } + case "AccessRestrictions": if err := awsRestjson1_deserializeDocumentAccessRestrictionList(&sv.AccessRestrictions, value); err != nil { return err } + case "Address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "BusinessChains": if err := awsRestjson1_deserializeDocumentBusinessChainList(&sv.BusinessChains, value); err != nil { return err } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -5170,18 +5400,22 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.Distance = i64 } + case "FoodTypes": if err := awsRestjson1_deserializeDocumentFoodTypeList(&sv.FoodTypes, value); err != nil { return err } + case "MapView": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.MapView, value); err != nil { return err } + case "Phonemes": if err := awsRestjson1_deserializeDocumentPhonemeDetails(&sv.Phonemes, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -5190,6 +5424,7 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PlaceId = ptr.String(jtv) } + case "PlaceType": if value != nil { jtv, ok := value.(string) @@ -5198,6 +5433,7 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PlaceType = types.PlaceType(jtv) } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -5206,14 +5442,17 @@ func awsRestjson1_deserializeDocumentSuggestPlaceResult(v **types.SuggestPlaceRe } sv.PoliticalView = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + default: _, _ = key, value @@ -5253,6 +5492,7 @@ func awsRestjson1_deserializeDocumentSuggestQueryResult(v **types.SuggestQueryRe } sv.QueryId = ptr.String(jtv) } + case "QueryType": if value != nil { jtv, ok := value.(string) @@ -5261,6 +5501,7 @@ func awsRestjson1_deserializeDocumentSuggestQueryResult(v **types.SuggestQueryRe } sv.QueryType = types.QueryType(jtv) } + default: _, _ = key, value @@ -5296,14 +5537,17 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt if err := awsRestjson1_deserializeDocumentSuggestHighlights(&sv.Highlights, value); err != nil { return err } + case "Place": if err := awsRestjson1_deserializeDocumentSuggestPlaceResult(&sv.Place, value); err != nil { return err } + case "Query": if err := awsRestjson1_deserializeDocumentSuggestQueryResult(&sv.Query, value); err != nil { return err } + case "SuggestResultItemType": if value != nil { jtv, ok := value.(string) @@ -5312,6 +5556,7 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt } sv.SuggestResultItemType = types.SuggestResultItemType(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -5320,6 +5565,7 @@ func awsRestjson1_deserializeDocumentSuggestResultItem(v **types.SuggestResultIt } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -5393,6 +5639,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5432,6 +5679,7 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Name = ptr.String(jtv) } + case "Offset": if value != nil { jtv, ok := value.(string) @@ -5440,6 +5688,7 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Offset = ptr.String(jtv) } + case "OffsetSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5452,6 +5701,7 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.OffsetSeconds = i64 } + default: _, _ = key, value @@ -5491,6 +5741,7 @@ func awsRestjson1_deserializeDocumentUspsZip(v **types.UspsZip, value interface{ } sv.ZipClassificationCode = types.ZipClassificationCode(jtv) } + default: _, _ = key, value @@ -5530,6 +5781,7 @@ func awsRestjson1_deserializeDocumentUspsZipPlus4(v **types.UspsZipPlus4, value } sv.RecordTypeCode = types.RecordTypeCode(jtv) } + default: _, _ = key, value @@ -5565,6 +5817,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5573,6 +5826,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5581,6 +5835,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -5620,6 +5875,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5628,6 +5884,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/georoutes/deserializers.go b/service/georoutes/deserializers.go index a78fb9f5ed1..fcdce27f503 100644 --- a/service/georoutes/deserializers.go +++ b/service/georoutes/deserializers.go @@ -202,6 +202,7 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.ArrivalTime = ptr.String(jtv) } + case "DepartureTime": if value != nil { jtv, ok := value.(string) @@ -210,6 +211,7 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.DepartureTime = ptr.String(jtv) } + case "IsolineGeometryFormat": if value != nil { jtv, ok := value.(string) @@ -218,18 +220,22 @@ func awsRestjson1_deserializeOpDocumentCalculateIsolinesOutput(v **CalculateIsol } sv.IsolineGeometryFormat = types.GeometryFormat(jtv) } + case "Isolines": if err := awsRestjson1_deserializeDocumentIsolineList(&sv.Isolines, value); err != nil { return err } + case "SnappedDestination": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedDestination, value); err != nil { return err } + case "SnappedOrigin": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedOrigin, value); err != nil { return err } + default: _, _ = key, value @@ -415,14 +421,17 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteMatrixOutput(v **CalculateR } sv.ErrorCount = ptr.Int32(int32(i64)) } + case "RouteMatrix": if err := awsRestjson1_deserializeDocumentRouteMatrix(&sv.RouteMatrix, value); err != nil { return err } + case "RoutingBoundary": if err := awsRestjson1_deserializeDocumentRouteMatrixBoundary(&sv.RoutingBoundary, value); err != nil { return err } + default: _, _ = key, value @@ -604,14 +613,17 @@ func awsRestjson1_deserializeOpDocumentCalculateRoutesOutput(v **CalculateRoutes } sv.LegGeometryFormat = types.GeometryFormat(jtv) } + case "Notices": if err := awsRestjson1_deserializeDocumentRouteResponseNoticeList(&sv.Notices, value); err != nil { return err } + case "Routes": if err := awsRestjson1_deserializeDocumentRouteList(&sv.Routes, value); err != nil { return err } + default: _, _ = key, value @@ -789,6 +801,7 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo if err := awsRestjson1_deserializeDocumentWaypointOptimizationConnectionList(&sv.Connections, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -801,6 +814,7 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -813,18 +827,22 @@ func awsRestjson1_deserializeOpDocumentOptimizeWaypointsOutput(v **OptimizeWaypo } sv.Duration = i64 } + case "ImpedingWaypoints": if err := awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypointList(&sv.ImpedingWaypoints, value); err != nil { return err } + case "OptimizedWaypoints": if err := awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypointList(&sv.OptimizedWaypoints, value); err != nil { return err } + case "TimeBreakdown": if err := awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(&sv.TimeBreakdown, value); err != nil { return err } + default: _, _ = key, value @@ -1002,10 +1020,12 @@ func awsRestjson1_deserializeOpDocumentSnapToRoadsOutput(v **SnapToRoadsOutput, if err := awsRestjson1_deserializeDocumentRoadSnapNoticeList(&sv.Notices, value); err != nil { return err } + case "SnappedGeometry": if err := awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(&sv.SnappedGeometry, value); err != nil { return err } + case "SnappedGeometryFormat": if value != nil { jtv, ok := value.(string) @@ -1014,10 +1034,12 @@ func awsRestjson1_deserializeOpDocumentSnapToRoadsOutput(v **SnapToRoadsOutput, } sv.SnappedGeometryFormat = types.GeometryFormat(jtv) } + case "SnappedTracePoints": if err := awsRestjson1_deserializeDocumentRoadSnapSnappedTracePointList(&sv.SnappedTracePoints, value); err != nil { return err } + default: _, _ = key, value @@ -1201,6 +1223,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1297,6 +1320,7 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) if err := awsRestjson1_deserializeDocumentPosition(&sv.Center, value); err != nil { return err } + case "Radius": if value != nil { switch jtv := value.(type) { @@ -1330,6 +1354,7 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) } } + default: _, _ = key, value @@ -1409,6 +1434,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1444,6 +1470,7 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ if err := awsRestjson1_deserializeDocumentIsolineConnectionList(&sv.Connections, value); err != nil { return err } + case "DistanceThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -1456,10 +1483,12 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ } sv.DistanceThreshold = i64 } + case "Geometries": if err := awsRestjson1_deserializeDocumentIsolineShapeGeometryList(&sv.Geometries, value); err != nil { return err } + case "TimeThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -1472,6 +1501,7 @@ func awsRestjson1_deserializeDocumentIsoline(v **types.Isoline, value interface{ } sv.TimeThreshold = i64 } + default: _, _ = key, value @@ -1515,10 +1545,12 @@ func awsRestjson1_deserializeDocumentIsolineConnection(v **types.IsolineConnecti } sv.FromPolygonIndex = ptr.Int32(int32(i64)) } + case "Geometry": if err := awsRestjson1_deserializeDocumentIsolineConnectionGeometry(&sv.Geometry, value); err != nil { return err } + case "ToPolygonIndex": if value != nil { jtv, ok := value.(json.Number) @@ -1531,6 +1563,7 @@ func awsRestjson1_deserializeDocumentIsolineConnection(v **types.IsolineConnecti } sv.ToPolygonIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1566,6 +1599,7 @@ func awsRestjson1_deserializeDocumentIsolineConnectionGeometry(v **types.Isoline if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } + case "Polyline": if value != nil { jtv, ok := value.(string) @@ -1574,6 +1608,7 @@ func awsRestjson1_deserializeDocumentIsolineConnectionGeometry(v **types.Isoline } sv.Polyline = ptr.String(jtv) } + default: _, _ = key, value @@ -1677,10 +1712,12 @@ func awsRestjson1_deserializeDocumentIsolineShapeGeometry(v **types.IsolineShape if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } + case "PolylinePolygon": if err := awsRestjson1_deserializeDocumentPolylineRingList(&sv.PolylinePolygon, value); err != nil { return err } + default: _, _ = key, value @@ -1850,6 +1887,7 @@ func awsRestjson1_deserializeDocumentLocalizedString(v **types.LocalizedString, } sv.Language = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1858,6 +1896,7 @@ func awsRestjson1_deserializeDocumentLocalizedString(v **types.LocalizedString, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2089,6 +2128,7 @@ func awsRestjson1_deserializeDocumentRoadSnapNotice(v **types.RoadSnapNotice, va } sv.Code = types.RoadSnapNoticeCode(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -2097,10 +2137,12 @@ func awsRestjson1_deserializeDocumentRoadSnapNotice(v **types.RoadSnapNotice, va } sv.Title = ptr.String(jtv) } + case "TracePointIndexes": if err := awsRestjson1_deserializeDocumentRoadSnapTracePointIndexList(&sv.TracePointIndexes, value); err != nil { return err } + default: _, _ = key, value @@ -2170,6 +2212,7 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(v **types.RoadSnapS if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } + case "Polyline": if value != nil { jtv, ok := value.(string) @@ -2178,6 +2221,7 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedGeometry(v **types.RoadSnapS } sv.Polyline = ptr.String(jtv) } + default: _, _ = key, value @@ -2242,14 +2286,17 @@ func awsRestjson1_deserializeDocumentRoadSnapSnappedTracePoint(v **types.RoadSna } } + case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.OriginalPosition, value); err != nil { return err } + case "SnappedPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.SnappedPosition, value); err != nil { return err } + default: _, _ = key, value @@ -2359,14 +2406,17 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e if err := awsRestjson1_deserializeDocumentRouteLegList(&sv.Legs, value); err != nil { return err } + case "MajorRoadLabels": if err := awsRestjson1_deserializeDocumentRouteMajorRoadLabelList(&sv.MajorRoadLabels, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentRouteSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -2402,6 +2452,7 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2410,6 +2461,7 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2443,6 +2495,7 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2451,6 +2504,7 @@ func awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(v **types.R } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -2486,6 +2540,7 @@ func awsRestjson1_deserializeDocumentRouteContinueStepDetails(v **types.RouteCon if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + default: _, _ = key, value @@ -2521,6 +2576,7 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2529,6 +2585,7 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2562,6 +2619,7 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2570,6 +2628,7 @@ func awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(v **types.Rout } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -2605,6 +2664,7 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "RelativeExit": if value != nil { jtv, ok := value.(json.Number) @@ -2617,6 +2677,7 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.RelativeExit = ptr.Int32(int32(i64)) } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -2625,6 +2686,7 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -2658,6 +2720,7 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -2666,6 +2729,7 @@ func awsRestjson1_deserializeDocumentRouteExitStepDetails(v **types.RouteExitSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -2709,6 +2773,7 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Duration = i64 } + case "Instruction": if value != nil { jtv, ok := value.(string) @@ -2717,6 +2782,7 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Instruction = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2725,6 +2791,7 @@ func awsRestjson1_deserializeDocumentRouteFerryAfterTravelStep(v **types.RouteFe } sv.Type = types.RouteFerryAfterTravelStepType(jtv) } + default: _, _ = key, value @@ -2794,6 +2861,7 @@ func awsRestjson1_deserializeDocumentRouteFerryArrival(v **types.RouteFerryArriv if err := awsRestjson1_deserializeDocumentRouteFerryPlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -2802,6 +2870,7 @@ func awsRestjson1_deserializeDocumentRouteFerryArrival(v **types.RouteFerryArriv } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -2845,6 +2914,7 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Duration = i64 } + case "Instruction": if value != nil { jtv, ok := value.(string) @@ -2853,6 +2923,7 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Instruction = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2861,6 +2932,7 @@ func awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStep(v **types.RouteF } sv.Type = types.RouteFerryBeforeTravelStepType(jtv) } + default: _, _ = key, value @@ -2930,6 +3002,7 @@ func awsRestjson1_deserializeDocumentRouteFerryDeparture(v **types.RouteFerryDep if err := awsRestjson1_deserializeDocumentRouteFerryPlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -2938,6 +3011,7 @@ func awsRestjson1_deserializeDocumentRouteFerryDeparture(v **types.RouteFerryDep } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -2973,26 +3047,32 @@ func awsRestjson1_deserializeDocumentRouteFerryLegDetails(v **types.RouteFerryLe if err := awsRestjson1_deserializeDocumentRouteFerryAfterTravelStepList(&sv.AfterTravelSteps, value); err != nil { return err } + case "Arrival": if err := awsRestjson1_deserializeDocumentRouteFerryArrival(&sv.Arrival, value); err != nil { return err } + case "BeforeTravelSteps": if err := awsRestjson1_deserializeDocumentRouteFerryBeforeTravelStepList(&sv.BeforeTravelSteps, value); err != nil { return err } + case "Departure": if err := awsRestjson1_deserializeDocumentRouteFerryDeparture(&sv.Departure, value); err != nil { return err } + case "Notices": if err := awsRestjson1_deserializeDocumentRouteFerryNoticeList(&sv.Notices, value); err != nil { return err } + case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } + case "RouteName": if value != nil { jtv, ok := value.(string) @@ -3001,18 +3081,22 @@ func awsRestjson1_deserializeDocumentRouteFerryLegDetails(v **types.RouteFerryLe } sv.RouteName = ptr.String(jtv) } + case "Spans": if err := awsRestjson1_deserializeDocumentRouteFerrySpanList(&sv.Spans, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentRouteFerrySummary(&sv.Summary, value); err != nil { return err } + case "TravelSteps": if err := awsRestjson1_deserializeDocumentRouteFerryTravelStepList(&sv.TravelSteps, value); err != nil { return err } + default: _, _ = key, value @@ -3052,6 +3136,7 @@ func awsRestjson1_deserializeDocumentRouteFerryNotice(v **types.RouteFerryNotice } sv.Code = types.RouteFerryNoticeCode(jtv) } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -3060,6 +3145,7 @@ func awsRestjson1_deserializeDocumentRouteFerryNotice(v **types.RouteFerryNotice } sv.Impact = types.RouteNoticeImpact(jtv) } + default: _, _ = key, value @@ -3137,6 +3223,7 @@ func awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(v **types.RouteFe } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3149,6 +3236,7 @@ func awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(v **types.RouteFe } sv.Duration = i64 } + default: _, _ = key, value @@ -3188,14 +3276,17 @@ func awsRestjson1_deserializeDocumentRouteFerryPlace(v **types.RouteFerryPlace, } sv.Name = ptr.String(jtv) } + case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } + case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } + case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3208,6 +3299,7 @@ func awsRestjson1_deserializeDocumentRouteFerryPlace(v **types.RouteFerryPlace, } sv.WaypointIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3247,6 +3339,7 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Country = ptr.String(jtv) } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -3259,6 +3352,7 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3271,6 +3365,7 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Duration = i64 } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3283,10 +3378,12 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -3295,6 +3392,7 @@ func awsRestjson1_deserializeDocumentRouteFerrySpan(v **types.RouteFerrySpan, va } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -3364,10 +3462,12 @@ func awsRestjson1_deserializeDocumentRouteFerrySummary(v **types.RouteFerrySumma if err := awsRestjson1_deserializeDocumentRouteFerryOverviewSummary(&sv.Overview, value); err != nil { return err } + case "TravelOnly": if err := awsRestjson1_deserializeDocumentRouteFerryTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } + default: _, _ = key, value @@ -3411,6 +3511,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelOnlySummary(v **types.Route } sv.Duration = i64 } + default: _, _ = key, value @@ -3454,6 +3555,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3466,6 +3568,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Duration = i64 } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -3478,6 +3581,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Instruction": if value != nil { jtv, ok := value.(string) @@ -3486,6 +3590,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Instruction = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3494,6 +3599,7 @@ func awsRestjson1_deserializeDocumentRouteFerryTravelStep(v **types.RouteFerryTr } sv.Type = types.RouteFerryTravelStepType(jtv) } + default: _, _ = key, value @@ -3599,6 +3705,7 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -3607,6 +3714,7 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -3640,6 +3748,7 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -3648,6 +3757,7 @@ func awsRestjson1_deserializeDocumentRouteKeepStepDetails(v **types.RouteKeepSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -3683,10 +3793,12 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac if err := awsRestjson1_deserializeDocumentRouteFerryLegDetails(&sv.FerryLegDetails, value); err != nil { return err } + case "Geometry": if err := awsRestjson1_deserializeDocumentRouteLegGeometry(&sv.Geometry, value); err != nil { return err } + case "Language": if value != nil { jtv, ok := value.(string) @@ -3695,10 +3807,12 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.Language = ptr.String(jtv) } + case "PedestrianLegDetails": if err := awsRestjson1_deserializeDocumentRoutePedestrianLegDetails(&sv.PedestrianLegDetails, value); err != nil { return err } + case "TravelMode": if value != nil { jtv, ok := value.(string) @@ -3707,6 +3821,7 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.TravelMode = types.RouteLegTravelMode(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3715,10 +3830,12 @@ func awsRestjson1_deserializeDocumentRouteLeg(v **types.RouteLeg, value interfac } sv.Type = types.RouteLegType(jtv) } + case "VehicleLegDetails": if err := awsRestjson1_deserializeDocumentRouteVehicleLegDetails(&sv.VehicleLegDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3754,6 +3871,7 @@ func awsRestjson1_deserializeDocumentRouteLegGeometry(v **types.RouteLegGeometry if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } + case "Polyline": if value != nil { jtv, ok := value.(string) @@ -3762,6 +3880,7 @@ func awsRestjson1_deserializeDocumentRouteLegGeometry(v **types.RouteLegGeometry } sv.Polyline = ptr.String(jtv) } + default: _, _ = key, value @@ -3865,10 +3984,12 @@ func awsRestjson1_deserializeDocumentRouteMajorRoadLabel(v **types.RouteMajorRoa if err := awsRestjson1_deserializeDocumentLocalizedString(&sv.RoadName, value); err != nil { return err } + case "RouteNumber": if err := awsRestjson1_deserializeDocumentRouteNumber(&sv.RouteNumber, value); err != nil { return err } + default: _, _ = key, value @@ -3978,6 +4099,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(v **types.RouteMatrix } sv.Margin = i64 } + case "MaxRadius": if value != nil { jtv, ok := value.(json.Number) @@ -3990,6 +4112,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(v **types.RouteMatrix } sv.MaxRadius = i64 } + default: _, _ = key, value @@ -4025,6 +4148,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundary(v **types.RouteMatrixBo if err := awsRestjson1_deserializeDocumentRouteMatrixBoundaryGeometry(&sv.Geometry, value); err != nil { return err } + case "Unbounded": if value != nil { jtv, ok := value.(bool) @@ -4033,6 +4157,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundary(v **types.RouteMatrixBo } sv.Unbounded = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4068,18 +4193,22 @@ func awsRestjson1_deserializeDocumentRouteMatrixBoundaryGeometry(v **types.Route if err := awsRestjson1_deserializeDocumentRouteMatrixAutoCircle(&sv.AutoCircle, value); err != nil { return err } + case "BoundingBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Circle": if err := awsRestjson1_deserializeDocumentCircle(&sv.Circle, value); err != nil { return err } + case "Polygon": if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -4123,6 +4252,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4135,6 +4265,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Duration = i64 } + case "Error": if value != nil { jtv, ok := value.(string) @@ -4143,6 +4274,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } sv.Error = types.RouteMatrixErrorCode(jtv) } + default: _, _ = key, value @@ -4220,6 +4352,7 @@ func awsRestjson1_deserializeDocumentRouteNoticeDetailRange(v **types.RouteNotic } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -4232,6 +4365,7 @@ func awsRestjson1_deserializeDocumentRouteNoticeDetailRange(v **types.RouteNotic } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4271,6 +4405,7 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Direction = types.RouteDirection(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -4279,6 +4414,7 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Language = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4287,6 +4423,7 @@ func awsRestjson1_deserializeDocumentRouteNumber(v **types.RouteNumber, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4356,10 +4493,12 @@ func awsRestjson1_deserializeDocumentRoutePassThroughPlace(v **types.RoutePassTh if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } + case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } + case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4372,6 +4511,7 @@ func awsRestjson1_deserializeDocumentRoutePassThroughPlace(v **types.RoutePassTh } sv.WaypointIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4415,10 +4555,12 @@ func awsRestjson1_deserializeDocumentRoutePassThroughWaypoint(v **types.RoutePas } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Place": if err := awsRestjson1_deserializeDocumentRoutePassThroughPlace(&sv.Place, value); err != nil { return err } + default: _, _ = key, value @@ -4488,6 +4630,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianArrival(v **types.RoutePedes if err := awsRestjson1_deserializeDocumentRoutePedestrianPlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -4496,6 +4639,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianArrival(v **types.RoutePedes } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -4531,6 +4675,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianDeparture(v **types.RoutePed if err := awsRestjson1_deserializeDocumentRoutePedestrianPlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -4539,6 +4684,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianDeparture(v **types.RoutePed } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -4574,30 +4720,37 @@ func awsRestjson1_deserializeDocumentRoutePedestrianLegDetails(v **types.RoutePe if err := awsRestjson1_deserializeDocumentRoutePedestrianArrival(&sv.Arrival, value); err != nil { return err } + case "Departure": if err := awsRestjson1_deserializeDocumentRoutePedestrianDeparture(&sv.Departure, value); err != nil { return err } + case "Notices": if err := awsRestjson1_deserializeDocumentRoutePedestrianNoticeList(&sv.Notices, value); err != nil { return err } + case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } + case "Spans": if err := awsRestjson1_deserializeDocumentRoutePedestrianSpanList(&sv.Spans, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentRoutePedestrianSummary(&sv.Summary, value); err != nil { return err } + case "TravelSteps": if err := awsRestjson1_deserializeDocumentRoutePedestrianTravelStepList(&sv.TravelSteps, value); err != nil { return err } + default: _, _ = key, value @@ -4637,6 +4790,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianNotice(v **types.RoutePedest } sv.Code = types.RoutePedestrianNoticeCode(jtv) } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -4645,6 +4799,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianNotice(v **types.RoutePedest } sv.Impact = types.RouteNoticeImpact(jtv) } + default: _, _ = key, value @@ -4722,6 +4877,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(v **types.Ro } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4734,6 +4890,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(v **types.Ro } sv.Duration = i64 } + default: _, _ = key, value @@ -4773,14 +4930,17 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.Name = ptr.String(jtv) } + case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } + case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } + case "SideOfStreet": if value != nil { jtv, ok := value.(string) @@ -4789,6 +4949,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.SideOfStreet = types.RouteSideOfStreet(jtv) } + case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4801,6 +4962,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianPlace(v **types.RoutePedestr } sv.WaypointIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4844,6 +5006,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.BestCaseDuration = i64 } + case "Country": if value != nil { jtv, ok := value.(string) @@ -4852,6 +5015,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Country = ptr.String(jtv) } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -4864,6 +5028,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -4876,10 +5041,12 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Duration = i64 } + case "DynamicSpeed": if err := awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(&sv.DynamicSpeed, value); err != nil { return err } + case "FunctionalClassification": if value != nil { jtv, ok := value.(json.Number) @@ -4892,6 +5059,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.FunctionalClassification = ptr.Int32(int32(i64)) } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -4904,18 +5072,22 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Incidents": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Incidents, value); err != nil { return err } + case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } + case "PedestrianAccess": if err := awsRestjson1_deserializeDocumentRouteSpanPedestrianAccessAttributeList(&sv.PedestrianAccess, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -4924,18 +5096,22 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.Region = ptr.String(jtv) } + case "RoadAttributes": if err := awsRestjson1_deserializeDocumentRouteSpanRoadAttributeList(&sv.RoadAttributes, value); err != nil { return err } + case "RouteNumbers": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumbers, value); err != nil { return err } + case "SpeedLimit": if err := awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(&sv.SpeedLimit, value); err != nil { return err } + case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -4948,6 +5124,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSpan(v **types.RoutePedestri } sv.TypicalDuration = i64 } + default: _, _ = key, value @@ -5017,10 +5194,12 @@ func awsRestjson1_deserializeDocumentRoutePedestrianSummary(v **types.RoutePedes if err := awsRestjson1_deserializeDocumentRoutePedestrianOverviewSummary(&sv.Overview, value); err != nil { return err } + case "TravelOnly": if err := awsRestjson1_deserializeDocumentRoutePedestrianTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } + default: _, _ = key, value @@ -5064,6 +5243,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelOnlySummary(v **types. } sv.Duration = i64 } + default: _, _ = key, value @@ -5099,10 +5279,12 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe if err := awsRestjson1_deserializeDocumentRouteContinueStepDetails(&sv.ContinueStepDetails, value); err != nil { return err } + case "CurrentRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.CurrentRoad, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -5115,6 +5297,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -5127,10 +5310,12 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Duration = i64 } + case "ExitNumber": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.ExitNumber, value); err != nil { return err } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -5143,6 +5328,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Instruction": if value != nil { jtv, ok := value.(string) @@ -5151,34 +5337,42 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Instruction = ptr.String(jtv) } + case "KeepStepDetails": if err := awsRestjson1_deserializeDocumentRouteKeepStepDetails(&sv.KeepStepDetails, value); err != nil { return err } + case "NextRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.NextRoad, value); err != nil { return err } + case "RoundaboutEnterStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(&sv.RoundaboutEnterStepDetails, value); err != nil { return err } + case "RoundaboutExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(&sv.RoundaboutExitStepDetails, value); err != nil { return err } + case "RoundaboutPassStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(&sv.RoundaboutPassStepDetails, value); err != nil { return err } + case "Signpost": if err := awsRestjson1_deserializeDocumentRouteSignpost(&sv.Signpost, value); err != nil { return err } + case "TurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteTurnStepDetails(&sv.TurnStepDetails, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5381,7 @@ func awsRestjson1_deserializeDocumentRoutePedestrianTravelStep(v **types.RoutePe } sv.Type = types.RoutePedestrianTravelStepType(jtv) } + default: _, _ = key, value @@ -5256,6 +5451,7 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5460,7 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5297,6 +5494,7 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5305,6 +5503,7 @@ func awsRestjson1_deserializeDocumentRouteRampStepDetails(v **types.RouteRampSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -5344,6 +5543,7 @@ func awsRestjson1_deserializeDocumentRouteResponseNotice(v **types.RouteResponse } sv.Code = types.RouteResponseNoticeCode(jtv) } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -5352,6 +5552,7 @@ func awsRestjson1_deserializeDocumentRouteResponseNotice(v **types.RouteResponse } sv.Impact = types.RouteNoticeImpact(jtv) } + default: _, _ = key, value @@ -5421,14 +5622,17 @@ func awsRestjson1_deserializeDocumentRouteRoad(v **types.RouteRoad, value interf if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.RoadName, value); err != nil { return err } + case "RouteNumber": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumber, value); err != nil { return err } + case "Towards": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Towards, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5437,6 +5641,7 @@ func awsRestjson1_deserializeDocumentRouteRoad(v **types.RouteRoad, value interf } sv.Type = types.RouteRoadType(jtv) } + default: _, _ = key, value @@ -5472,6 +5677,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5480,6 +5686,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5513,6 +5720,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5521,6 +5729,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(v **types.R } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -5556,6 +5765,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "RelativeExit": if value != nil { jtv, ok := value.(json.Number) @@ -5568,6 +5778,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } sv.RelativeExit = ptr.Int32(int32(i64)) } + case "RoundaboutAngle": if value != nil { switch jtv := value.(type) { @@ -5601,6 +5812,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5609,6 +5821,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(v **types.Ro } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + default: _, _ = key, value @@ -5644,6 +5857,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -5652,6 +5866,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -5685,6 +5900,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -5693,6 +5909,7 @@ func awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(v **types.Ro } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -5728,6 +5945,7 @@ func awsRestjson1_deserializeDocumentRouteSignpost(v **types.RouteSignpost, valu if err := awsRestjson1_deserializeDocumentRouteSignpostLabelList(&sv.Labels, value); err != nil { return err } + default: _, _ = key, value @@ -5763,10 +5981,12 @@ func awsRestjson1_deserializeDocumentRouteSignpostLabel(v **types.RouteSignpostL if err := awsRestjson1_deserializeDocumentRouteNumber(&sv.RouteNumber, value); err != nil { return err } + case "Text": if err := awsRestjson1_deserializeDocumentLocalizedString(&sv.Text, value); err != nil { return err } + default: _, _ = key, value @@ -5901,6 +6121,7 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } } + case "TurnDuration": if value != nil { jtv, ok := value.(json.Number) @@ -5913,6 +6134,7 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } sv.TurnDuration = i64 } + case "TypicalSpeed": if value != nil { switch jtv := value.(type) { @@ -5946,6 +6168,7 @@ func awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(v **types.Rout } } + default: _, _ = key, value @@ -6118,6 +6341,7 @@ func awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(v **types.RouteS } } + case "Unlimited": if value != nil { jtv, ok := value.(bool) @@ -6126,6 +6350,7 @@ func awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(v **types.RouteS } sv.Unlimited = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6205,6 +6430,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -6217,10 +6443,12 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Duration = i64 } + case "Tolls": if err := awsRestjson1_deserializeDocumentRouteTollSummary(&sv.Tolls, value); err != nil { return err } + default: _, _ = key, value @@ -6260,18 +6488,22 @@ func awsRestjson1_deserializeDocumentRouteToll(v **types.RouteToll, value interf } sv.Country = ptr.String(jtv) } + case "PaymentSites": if err := awsRestjson1_deserializeDocumentRouteTollPaymentSiteList(&sv.PaymentSites, value); err != nil { return err } + case "Rates": if err := awsRestjson1_deserializeDocumentRouteTollRateList(&sv.Rates, value); err != nil { return err } + case "Systems": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Systems, value); err != nil { return err } + default: _, _ = key, value @@ -6345,6 +6577,7 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.IncludesReturnTrip = ptr.Bool(jtv) } + case "SeniorPass": if value != nil { jtv, ok := value.(bool) @@ -6353,6 +6586,7 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.SeniorPass = ptr.Bool(jtv) } + case "TransferCount": if value != nil { jtv, ok := value.(json.Number) @@ -6365,6 +6599,7 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.TransferCount = ptr.Int32(int32(i64)) } + case "TripCount": if value != nil { jtv, ok := value.(json.Number) @@ -6377,10 +6612,12 @@ func awsRestjson1_deserializeDocumentRouteTollPass(v **types.RouteTollPass, valu } sv.TripCount = ptr.Int32(int32(i64)) } + case "ValidityPeriod": if err := awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(&sv.ValidityPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -6420,6 +6657,7 @@ func awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(v **types.Route } sv.Period = types.RouteTollPassValidityPeriodType(jtv) } + case "PeriodCount": if value != nil { jtv, ok := value.(json.Number) @@ -6432,6 +6670,7 @@ func awsRestjson1_deserializeDocumentRouteTollPassValidityPeriod(v **types.Route } sv.PeriodCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6507,10 +6746,12 @@ func awsRestjson1_deserializeDocumentRouteTollPaymentSite(v **types.RouteTollPay } sv.Name = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -6584,6 +6825,7 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Currency = ptr.String(jtv) } + case "Estimate": if value != nil { jtv, ok := value.(bool) @@ -6592,6 +6834,7 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Estimate = ptr.Bool(jtv) } + case "PerDuration": if value != nil { jtv, ok := value.(json.Number) @@ -6604,6 +6847,7 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.PerDuration = i64 } + case "Range": if value != nil { jtv, ok := value.(bool) @@ -6612,10 +6856,12 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } sv.Range = ptr.Bool(jtv) } + case "RangeValue": if err := awsRestjson1_deserializeDocumentRouteTollPriceValueRange(&sv.RangeValue, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -6649,6 +6895,7 @@ func awsRestjson1_deserializeDocumentRouteTollPrice(v **types.RouteTollPrice, va } } + default: _, _ = key, value @@ -6688,6 +6935,7 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Currency = ptr.String(jtv) } + case "Estimate": if value != nil { jtv, ok := value.(bool) @@ -6696,6 +6944,7 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Estimate = ptr.Bool(jtv) } + case "Range": if value != nil { jtv, ok := value.(bool) @@ -6704,10 +6953,12 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } sv.Range = ptr.Bool(jtv) } + case "RangeValue": if err := awsRestjson1_deserializeDocumentRouteTollPriceValueRange(&sv.RangeValue, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -6741,6 +6992,7 @@ func awsRestjson1_deserializeDocumentRouteTollPriceSummary(v **types.RouteTollPr } } + default: _, _ = key, value @@ -6805,6 +7057,7 @@ func awsRestjson1_deserializeDocumentRouteTollPriceValueRange(v **types.RouteTol } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -6838,6 +7091,7 @@ func awsRestjson1_deserializeDocumentRouteTollPriceValueRange(v **types.RouteTol } } + default: _, _ = key, value @@ -6877,10 +7131,12 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.ApplicableTimes = ptr.String(jtv) } + case "ConvertedPrice": if err := awsRestjson1_deserializeDocumentRouteTollPrice(&sv.ConvertedPrice, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6889,10 +7145,12 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.Id = ptr.String(jtv) } + case "LocalPrice": if err := awsRestjson1_deserializeDocumentRouteTollPrice(&sv.LocalPrice, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6901,18 +7159,22 @@ func awsRestjson1_deserializeDocumentRouteTollRate(v **types.RouteTollRate, valu } sv.Name = ptr.String(jtv) } + case "Pass": if err := awsRestjson1_deserializeDocumentRouteTollPass(&sv.Pass, value); err != nil { return err } + case "PaymentMethods": if err := awsRestjson1_deserializeDocumentRouteTollPaymentMethodList(&sv.PaymentMethods, value); err != nil { return err } + case "Transponders": if err := awsRestjson1_deserializeDocumentRouteTransponderList(&sv.Transponders, value); err != nil { return err } + default: _, _ = key, value @@ -6982,6 +7244,7 @@ func awsRestjson1_deserializeDocumentRouteTollSummary(v **types.RouteTollSummary if err := awsRestjson1_deserializeDocumentRouteTollPriceSummary(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -7021,6 +7284,7 @@ func awsRestjson1_deserializeDocumentRouteTollSystem(v **types.RouteTollSystem, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7094,6 +7358,7 @@ func awsRestjson1_deserializeDocumentRouteTransponder(v **types.RouteTransponder } sv.SystemName = ptr.String(jtv) } + default: _, _ = key, value @@ -7163,6 +7428,7 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -7171,6 +7437,7 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -7204,6 +7471,7 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -7212,6 +7480,7 @@ func awsRestjson1_deserializeDocumentRouteTurnStepDetails(v **types.RouteTurnSte } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -7247,6 +7516,7 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Intersection, value); err != nil { return err } + case "SteeringDirection": if value != nil { jtv, ok := value.(string) @@ -7255,6 +7525,7 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } sv.SteeringDirection = types.RouteSteeringDirection(jtv) } + case "TurnAngle": if value != nil { switch jtv := value.(type) { @@ -7288,6 +7559,7 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } } + case "TurnIntensity": if value != nil { jtv, ok := value.(string) @@ -7296,6 +7568,7 @@ func awsRestjson1_deserializeDocumentRouteUTurnStepDetails(v **types.RouteUTurnS } sv.TurnIntensity = types.RouteTurnIntensity(jtv) } + default: _, _ = key, value @@ -7331,6 +7604,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleArrival(v **types.RouteVehicleA if err := awsRestjson1_deserializeDocumentRouteVehiclePlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -7339,6 +7613,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleArrival(v **types.RouteVehicleA } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -7374,6 +7649,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleDeparture(v **types.RouteVehicl if err := awsRestjson1_deserializeDocumentRouteVehiclePlace(&sv.Place, value); err != nil { return err } + case "Time": if value != nil { jtv, ok := value.(string) @@ -7382,6 +7658,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleDeparture(v **types.RouteVehicl } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -7421,6 +7698,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Description = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -7429,6 +7707,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.EndTime = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -7437,6 +7716,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Severity = types.RouteVehicleIncidentSeverity(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -7445,6 +7725,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.StartTime = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7453,6 +7734,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleIncident(v **types.RouteVehicle } sv.Type = types.RouteVehicleIncidentType(jtv) } + default: _, _ = key, value @@ -7522,50 +7804,62 @@ func awsRestjson1_deserializeDocumentRouteVehicleLegDetails(v **types.RouteVehic if err := awsRestjson1_deserializeDocumentRouteVehicleArrival(&sv.Arrival, value); err != nil { return err } + case "Departure": if err := awsRestjson1_deserializeDocumentRouteVehicleDeparture(&sv.Departure, value); err != nil { return err } + case "Incidents": if err := awsRestjson1_deserializeDocumentRouteVehicleIncidentList(&sv.Incidents, value); err != nil { return err } + case "Notices": if err := awsRestjson1_deserializeDocumentRouteVehicleNoticeList(&sv.Notices, value); err != nil { return err } + case "PassThroughWaypoints": if err := awsRestjson1_deserializeDocumentRoutePassThroughWaypointList(&sv.PassThroughWaypoints, value); err != nil { return err } + case "Spans": if err := awsRestjson1_deserializeDocumentRouteVehicleSpanList(&sv.Spans, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentRouteVehicleSummary(&sv.Summary, value); err != nil { return err } + case "Tolls": if err := awsRestjson1_deserializeDocumentRouteTollList(&sv.Tolls, value); err != nil { return err } + case "TollSystems": if err := awsRestjson1_deserializeDocumentRouteTollSystemList(&sv.TollSystems, value); err != nil { return err } + case "TravelSteps": if err := awsRestjson1_deserializeDocumentRouteVehicleTravelStepList(&sv.TravelSteps, value); err != nil { return err } + case "TruckRoadTypes": if err := awsRestjson1_deserializeDocumentTruckRoadTypeList(&sv.TruckRoadTypes, value); err != nil { return err } + case "Zones": if err := awsRestjson1_deserializeDocumentRouteZoneList(&sv.Zones, value); err != nil { return err } + default: _, _ = key, value @@ -7605,10 +7899,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleNotice(v **types.RouteVehicleNo } sv.Code = types.RouteVehicleNoticeCode(jtv) } + case "Details": if err := awsRestjson1_deserializeDocumentRouteVehicleNoticeDetailList(&sv.Details, value); err != nil { return err } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -7617,6 +7913,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleNotice(v **types.RouteVehicleNo } sv.Impact = types.RouteNoticeImpact(jtv) } + default: _, _ = key, value @@ -7656,10 +7953,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleNoticeDetail(v **types.RouteVeh } sv.Title = ptr.String(jtv) } + case "ViolatedConstraints": if err := awsRestjson1_deserializeDocumentRouteViolatedConstraints(&sv.ViolatedConstraints, value); err != nil { return err } + default: _, _ = key, value @@ -7771,6 +8070,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.BestCaseDuration = i64 } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -7783,6 +8083,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -7795,6 +8096,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.Duration = i64 } + case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -7807,6 +8109,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(v **types.Route } sv.TypicalDuration = i64 } + default: _, _ = key, value @@ -7846,14 +8149,17 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.Name = ptr.String(jtv) } + case "OriginalPosition": if err := awsRestjson1_deserializeDocumentPosition23(&sv.OriginalPosition, value); err != nil { return err } + case "Position": if err := awsRestjson1_deserializeDocumentPosition23(&sv.Position, value); err != nil { return err } + case "SideOfStreet": if value != nil { jtv, ok := value.(string) @@ -7862,6 +8168,7 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.SideOfStreet = types.RouteSideOfStreet(jtv) } + case "WaypointIndex": if value != nil { jtv, ok := value.(json.Number) @@ -7874,6 +8181,7 @@ func awsRestjson1_deserializeDocumentRouteVehiclePlace(v **types.RouteVehiclePla } sv.WaypointIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7917,10 +8225,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.BestCaseDuration = i64 } + case "CarAccess": if err := awsRestjson1_deserializeDocumentRouteSpanCarAccessAttributeList(&sv.CarAccess, value); err != nil { return err } + case "Country": if value != nil { jtv, ok := value.(string) @@ -7929,6 +8239,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Country = ptr.String(jtv) } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -7941,6 +8252,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -7953,10 +8265,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Duration = i64 } + case "DynamicSpeed": if err := awsRestjson1_deserializeDocumentRouteSpanDynamicSpeedDetails(&sv.DynamicSpeed, value); err != nil { return err } + case "FunctionalClassification": if value != nil { jtv, ok := value.(json.Number) @@ -7969,6 +8283,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.FunctionalClassification = ptr.Int32(int32(i64)) } + case "Gate": if value != nil { jtv, ok := value.(string) @@ -7977,6 +8292,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Gate = types.RouteSpanGateAttribute(jtv) } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -7989,18 +8305,22 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Incidents": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Incidents, value); err != nil { return err } + case "Names": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.Names, value); err != nil { return err } + case "Notices": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Notices, value); err != nil { return err } + case "RailwayCrossing": if value != nil { jtv, ok := value.(string) @@ -8009,6 +8329,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.RailwayCrossing = types.RouteSpanRailwayCrossingAttribute(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -8017,34 +8338,42 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.Region = ptr.String(jtv) } + case "RoadAttributes": if err := awsRestjson1_deserializeDocumentRouteSpanRoadAttributeList(&sv.RoadAttributes, value); err != nil { return err } + case "RouteNumbers": if err := awsRestjson1_deserializeDocumentRouteNumberList(&sv.RouteNumbers, value); err != nil { return err } + case "ScooterAccess": if err := awsRestjson1_deserializeDocumentRouteSpanScooterAccessAttributeList(&sv.ScooterAccess, value); err != nil { return err } + case "SpeedLimit": if err := awsRestjson1_deserializeDocumentRouteSpanSpeedLimitDetails(&sv.SpeedLimit, value); err != nil { return err } + case "TollSystems": if err := awsRestjson1_deserializeDocumentIndexList(&sv.TollSystems, value); err != nil { return err } + case "TruckAccess": if err := awsRestjson1_deserializeDocumentRouteSpanTruckAccessAttributeList(&sv.TruckAccess, value); err != nil { return err } + case "TruckRoadTypes": if err := awsRestjson1_deserializeDocumentIndexList(&sv.TruckRoadTypes, value); err != nil { return err } + case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8057,10 +8386,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleSpan(v **types.RouteVehicleSpan } sv.TypicalDuration = i64 } + case "Zones": if err := awsRestjson1_deserializeDocumentIndexList(&sv.Zones, value); err != nil { return err } + default: _, _ = key, value @@ -8130,10 +8461,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleSummary(v **types.RouteVehicleS if err := awsRestjson1_deserializeDocumentRouteVehicleOverviewSummary(&sv.Overview, value); err != nil { return err } + case "TravelOnly": if err := awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(&sv.TravelOnly, value); err != nil { return err } + default: _, _ = key, value @@ -8177,6 +8510,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.BestCaseDuration = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8189,6 +8523,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.Duration = i64 } + case "TypicalDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8201,6 +8536,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelOnlySummary(v **types.Rou } sv.TypicalDuration = i64 } + default: _, _ = key, value @@ -8236,14 +8572,17 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic if err := awsRestjson1_deserializeDocumentRouteContinueHighwayStepDetails(&sv.ContinueHighwayStepDetails, value); err != nil { return err } + case "ContinueStepDetails": if err := awsRestjson1_deserializeDocumentRouteContinueStepDetails(&sv.ContinueStepDetails, value); err != nil { return err } + case "CurrentRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.CurrentRoad, value); err != nil { return err } + case "Distance": if value != nil { jtv, ok := value.(json.Number) @@ -8256,6 +8595,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Distance = i64 } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8268,18 +8608,22 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Duration = i64 } + case "EnterHighwayStepDetails": if err := awsRestjson1_deserializeDocumentRouteEnterHighwayStepDetails(&sv.EnterHighwayStepDetails, value); err != nil { return err } + case "ExitNumber": if err := awsRestjson1_deserializeDocumentLocalizedStringList(&sv.ExitNumber, value); err != nil { return err } + case "ExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteExitStepDetails(&sv.ExitStepDetails, value); err != nil { return err } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8292,6 +8636,7 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "Instruction": if value != nil { jtv, ok := value.(string) @@ -8300,38 +8645,47 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Instruction = ptr.String(jtv) } + case "KeepStepDetails": if err := awsRestjson1_deserializeDocumentRouteKeepStepDetails(&sv.KeepStepDetails, value); err != nil { return err } + case "NextRoad": if err := awsRestjson1_deserializeDocumentRouteRoad(&sv.NextRoad, value); err != nil { return err } + case "RampStepDetails": if err := awsRestjson1_deserializeDocumentRouteRampStepDetails(&sv.RampStepDetails, value); err != nil { return err } + case "RoundaboutEnterStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutEnterStepDetails(&sv.RoundaboutEnterStepDetails, value); err != nil { return err } + case "RoundaboutExitStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutExitStepDetails(&sv.RoundaboutExitStepDetails, value); err != nil { return err } + case "RoundaboutPassStepDetails": if err := awsRestjson1_deserializeDocumentRouteRoundaboutPassStepDetails(&sv.RoundaboutPassStepDetails, value); err != nil { return err } + case "Signpost": if err := awsRestjson1_deserializeDocumentRouteSignpost(&sv.Signpost, value); err != nil { return err } + case "TurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteTurnStepDetails(&sv.TurnStepDetails, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8340,10 +8694,12 @@ func awsRestjson1_deserializeDocumentRouteVehicleTravelStep(v **types.RouteVehic } sv.Type = types.RouteVehicleTravelStepType(jtv) } + case "UTurnStepDetails": if err := awsRestjson1_deserializeDocumentRouteUTurnStepDetails(&sv.UTurnStepDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8417,14 +8773,17 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.AllHazardsRestricted = ptr.Bool(jtv) } + case "AxleCount": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.AxleCount, value); err != nil { return err } + case "HazardousCargos": if err := awsRestjson1_deserializeDocumentRouteHazardousCargoTypeList(&sv.HazardousCargos, value); err != nil { return err } + case "MaxHeight": if value != nil { jtv, ok := value.(json.Number) @@ -8437,6 +8796,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxHeight = i64 } + case "MaxKpraLength": if value != nil { jtv, ok := value.(json.Number) @@ -8449,6 +8809,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxKpraLength = i64 } + case "MaxLength": if value != nil { jtv, ok := value.(json.Number) @@ -8461,6 +8822,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxLength = i64 } + case "MaxPayloadCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -8473,10 +8835,12 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxPayloadCapacity = i64 } + case "MaxWeight": if err := awsRestjson1_deserializeDocumentRouteWeightConstraint(&sv.MaxWeight, value); err != nil { return err } + case "MaxWeightPerAxle": if value != nil { jtv, ok := value.(json.Number) @@ -8489,10 +8853,12 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxWeightPerAxle = i64 } + case "MaxWeightPerAxleGroup": if err := awsRestjson1_deserializeDocumentWeightPerAxleGroup(&sv.MaxWeightPerAxleGroup, value); err != nil { return err } + case "MaxWidth": if value != nil { jtv, ok := value.(json.Number) @@ -8505,10 +8871,12 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.MaxWidth = i64 } + case "Occupancy": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.Occupancy, value); err != nil { return err } + case "RestrictedTimes": if value != nil { jtv, ok := value.(string) @@ -8517,6 +8885,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.RestrictedTimes = ptr.String(jtv) } + case "TimeDependent": if value != nil { jtv, ok := value.(bool) @@ -8525,10 +8894,12 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TimeDependent = ptr.Bool(jtv) } + case "TrailerCount": if err := awsRestjson1_deserializeDocumentRouteNoticeDetailRange(&sv.TrailerCount, value); err != nil { return err } + case "TravelMode": if value != nil { jtv, ok := value.(bool) @@ -8537,6 +8908,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TravelMode = ptr.Bool(jtv) } + case "TruckRoadType": if value != nil { jtv, ok := value.(string) @@ -8545,6 +8917,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TruckRoadType = ptr.String(jtv) } + case "TruckType": if value != nil { jtv, ok := value.(string) @@ -8553,6 +8926,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TruckType = types.RouteTruckType(jtv) } + case "TunnelRestrictionCode": if value != nil { jtv, ok := value.(string) @@ -8561,6 +8935,7 @@ func awsRestjson1_deserializeDocumentRouteViolatedConstraints(v **types.RouteVio } sv.TunnelRestrictionCode = ptr.String(jtv) } + default: _, _ = key, value @@ -8600,6 +8975,7 @@ func awsRestjson1_deserializeDocumentRouteWeightConstraint(v **types.RouteWeight } sv.Type = types.RouteWeightConstraintType(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -8612,6 +8988,7 @@ func awsRestjson1_deserializeDocumentRouteWeightConstraint(v **types.RouteWeight } sv.Value = i64 } + default: _, _ = key, value @@ -8651,6 +9028,7 @@ func awsRestjson1_deserializeDocumentRouteZone(v **types.RouteZone, value interf } sv.Category = types.RouteZoneCategory(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8659,6 +9037,7 @@ func awsRestjson1_deserializeDocumentRouteZone(v **types.RouteZone, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8732,6 +9111,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8803,6 +9183,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8811,6 +9192,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -8819,6 +9201,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -8858,6 +9241,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8866,6 +9250,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8943,6 +9328,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.Distance = i64 } + case "From": if value != nil { jtv, ok := value.(string) @@ -8951,6 +9337,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.From = ptr.String(jtv) } + case "RestDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8963,6 +9350,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.RestDuration = i64 } + case "To": if value != nil { jtv, ok := value.(string) @@ -8971,6 +9359,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.To = ptr.String(jtv) } + case "TravelDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8983,6 +9372,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.TravelDuration = i64 } + case "WaitDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8995,6 +9385,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationConnection(v **types.Wa } sv.WaitDuration = i64 } + default: _, _ = key, value @@ -9068,6 +9459,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraint(v **ty } sv.Constraint = types.WaypointOptimizationConstraint(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9076,6 +9468,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraint(v **ty } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -9145,6 +9538,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypoint(v **ty if err := awsRestjson1_deserializeDocumentWaypointOptimizationFailedConstraintList(&sv.FailedConstraints, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9153,10 +9547,12 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationImpedingWaypoint(v **ty } sv.Id = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -9230,6 +9626,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.ArrivalTime = ptr.String(jtv) } + case "DepartureTime": if value != nil { jtv, ok := value.(string) @@ -9238,6 +9635,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.DepartureTime = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9246,10 +9644,12 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationOptimizedWaypoint(v **t } sv.Id = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -9327,6 +9727,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.RestDuration = i64 } + case "ServiceDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9339,6 +9740,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.ServiceDuration = i64 } + case "TravelDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9351,6 +9753,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.TravelDuration = i64 } + case "WaitDuration": if value != nil { jtv, ok := value.(json.Number) @@ -9363,6 +9766,7 @@ func awsRestjson1_deserializeDocumentWaypointOptimizationTimeBreakdown(v **types } sv.WaitDuration = i64 } + default: _, _ = key, value @@ -9406,6 +9810,7 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Quad = i64 } + case "Quint": if value != nil { jtv, ok := value.(json.Number) @@ -9418,6 +9823,7 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Quint = i64 } + case "Single": if value != nil { jtv, ok := value.(json.Number) @@ -9430,6 +9836,7 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Single = i64 } + case "Tandem": if value != nil { jtv, ok := value.(json.Number) @@ -9442,6 +9849,7 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Tandem = i64 } + case "Triple": if value != nil { jtv, ok := value.(json.Number) @@ -9454,6 +9862,7 @@ func awsRestjson1_deserializeDocumentWeightPerAxleGroup(v **types.WeightPerAxleG } sv.Triple = i64 } + default: _, _ = key, value diff --git a/service/glacier/deserializers.go b/service/glacier/deserializers.go index ea194432918..9340ce93558 100644 --- a/service/glacier/deserializers.go +++ b/service/glacier/deserializers.go @@ -1252,6 +1252,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Action = types.ActionCode(jtv) } + case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -1260,6 +1261,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveId = ptr.String(jtv) } + case "ArchiveSHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -1268,6 +1270,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveSHA256TreeHash = ptr.String(jtv) } + case "ArchiveSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1280,6 +1283,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.ArchiveSizeInBytes = ptr.Int64(i64) } + case "Completed": if value != nil { jtv, ok := value.(bool) @@ -1288,6 +1292,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Completed = jtv } + case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -1296,6 +1301,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CompletionDate = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -1304,10 +1310,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.CreationDate = ptr.String(jtv) } + case "InventoryRetrievalParameters": if err := awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(&sv.InventoryRetrievalParameters, value); err != nil { return err } + case "InventorySizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1320,6 +1328,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.InventorySizeInBytes = ptr.Int64(i64) } + case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -1328,6 +1337,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobDescription = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -1336,6 +1346,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobId = ptr.String(jtv) } + case "JobOutputPath": if value != nil { jtv, ok := value.(string) @@ -1344,10 +1355,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.JobOutputPath = ptr.String(jtv) } + case "OutputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "RetrievalByteRange": if value != nil { jtv, ok := value.(string) @@ -1356,10 +1369,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.RetrievalByteRange = ptr.String(jtv) } + case "SelectParameters": if err := awsRestjson1_deserializeDocumentSelectParameters(&sv.SelectParameters, value); err != nil { return err } + case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -1368,6 +1383,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.SHA256TreeHash = ptr.String(jtv) } + case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -1376,6 +1392,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.SNSTopic = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -1384,6 +1401,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.StatusCode = types.StatusCode(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -1392,6 +1410,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.StatusMessage = ptr.String(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -1400,6 +1419,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.Tier = ptr.String(jtv) } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -1408,6 +1428,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.VaultARN = ptr.String(jtv) } + default: _, _ = key, value @@ -1572,6 +1593,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.CreationDate = ptr.String(jtv) } + case "LastInventoryDate": if value != nil { jtv, ok := value.(string) @@ -1580,6 +1602,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.LastInventoryDate = ptr.String(jtv) } + case "NumberOfArchives": if value != nil { jtv, ok := value.(json.Number) @@ -1592,6 +1615,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.NumberOfArchives = i64 } + case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1604,6 +1628,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.SizeInBytes = i64 } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -1612,6 +1637,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.VaultARN = ptr.String(jtv) } + case "VaultName": if value != nil { jtv, ok := value.(string) @@ -1620,6 +1646,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVaultOutput(v **DescribeVaultOutp } sv.VaultName = ptr.String(jtv) } + default: _, _ = key, value @@ -1777,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentGetDataRetrievalPolicyOutput(v **GetDataR if err := awsRestjson1_deserializeDocumentDataRetrievalPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -2087,6 +2115,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultAccessPolicyOutput(v **GetVaultAc if err := awsRestjson1_deserializeDocumentVaultAccessPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -2251,6 +2280,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.CreationDate = ptr.String(jtv) } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -2259,6 +2289,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.ExpirationDate = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -2267,6 +2298,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.Policy = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2275,6 +2307,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultLockOutput(v **GetVaultLockOutput } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -2435,6 +2468,7 @@ func awsRestjson1_deserializeOpDocumentGetVaultNotificationsOutput(v **GetVaultN if err := awsRestjson1_deserializeDocumentVaultNotificationConfig(&sv.VaultNotificationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2961,6 +2995,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobList(&sv.JobList, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -2969,6 +3004,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -3133,10 +3169,12 @@ func awsRestjson1_deserializeOpDocumentListMultipartUploadsOutput(v **ListMultip } sv.Marker = ptr.String(jtv) } + case "UploadsList": if err := awsRestjson1_deserializeDocumentUploadsList(&sv.UploadsList, value); err != nil { return err } + default: _, _ = key, value @@ -3301,6 +3339,7 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.ArchiveDescription = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -3309,6 +3348,7 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.CreationDate = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -3317,6 +3357,7 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.Marker = ptr.String(jtv) } + case "MultipartUploadId": if value != nil { jtv, ok := value.(string) @@ -3325,10 +3366,12 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.MultipartUploadId = ptr.String(jtv) } + case "Parts": if err := awsRestjson1_deserializeDocumentPartList(&sv.Parts, value); err != nil { return err } + case "PartSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3341,6 +3384,7 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.PartSizeInBytes = i64 } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -3349,6 +3393,7 @@ func awsRestjson1_deserializeOpDocumentListPartsOutput(v **ListPartsOutput, valu } sv.VaultARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3506,6 +3551,7 @@ func awsRestjson1_deserializeOpDocumentListProvisionedCapacityOutput(v **ListPro if err := awsRestjson1_deserializeDocumentProvisionedCapacityList(&sv.ProvisionedCapacityList, value); err != nil { return err } + default: _, _ = key, value @@ -3666,6 +3712,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForVaultOutput(v **ListTagsForVau if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3830,10 +3877,12 @@ func awsRestjson1_deserializeOpDocumentListVaultsOutput(v **ListVaultsOutput, va } sv.Marker = ptr.String(jtv) } + case "VaultList": if err := awsRestjson1_deserializeDocumentVaultList(&sv.VaultList, value); err != nil { return err } + default: _, _ = key, value @@ -4964,6 +5013,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.Comments = ptr.String(jtv) } + case "FieldDelimiter": if value != nil { jtv, ok := value.(string) @@ -4972,6 +5022,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.FieldDelimiter = ptr.String(jtv) } + case "FileHeaderInfo": if value != nil { jtv, ok := value.(string) @@ -4980,6 +5031,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.FileHeaderInfo = types.FileHeaderInfo(jtv) } + case "QuoteCharacter": if value != nil { jtv, ok := value.(string) @@ -4988,6 +5040,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.QuoteCharacter = ptr.String(jtv) } + case "QuoteEscapeCharacter": if value != nil { jtv, ok := value.(string) @@ -4996,6 +5049,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.QuoteEscapeCharacter = ptr.String(jtv) } + case "RecordDelimiter": if value != nil { jtv, ok := value.(string) @@ -5004,6 +5058,7 @@ func awsRestjson1_deserializeDocumentCSVInput(v **types.CSVInput, value interfac } sv.RecordDelimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -5043,6 +5098,7 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.FieldDelimiter = ptr.String(jtv) } + case "QuoteCharacter": if value != nil { jtv, ok := value.(string) @@ -5051,6 +5107,7 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteCharacter = ptr.String(jtv) } + case "QuoteEscapeCharacter": if value != nil { jtv, ok := value.(string) @@ -5059,6 +5116,7 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteEscapeCharacter = ptr.String(jtv) } + case "QuoteFields": if value != nil { jtv, ok := value.(string) @@ -5067,6 +5125,7 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.QuoteFields = types.QuoteFields(jtv) } + case "RecordDelimiter": if value != nil { jtv, ok := value.(string) @@ -5075,6 +5134,7 @@ func awsRestjson1_deserializeDocumentCSVOutput(v **types.CSVOutput, value interf } sv.RecordDelimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -5110,6 +5170,7 @@ func awsRestjson1_deserializeDocumentDataRetrievalPolicy(v **types.DataRetrieval if err := awsRestjson1_deserializeDocumentDataRetrievalRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -5153,6 +5214,7 @@ func awsRestjson1_deserializeDocumentDataRetrievalRule(v **types.DataRetrievalRu } sv.BytesPerHour = ptr.Int64(i64) } + case "Strategy": if value != nil { jtv, ok := value.(string) @@ -5161,6 +5223,7 @@ func awsRestjson1_deserializeDocumentDataRetrievalRule(v **types.DataRetrievalRu } sv.Strategy = ptr.String(jtv) } + default: _, _ = key, value @@ -5234,6 +5297,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.CreationDate = ptr.String(jtv) } + case "LastInventoryDate": if value != nil { jtv, ok := value.(string) @@ -5242,6 +5306,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.LastInventoryDate = ptr.String(jtv) } + case "NumberOfArchives": if value != nil { jtv, ok := value.(json.Number) @@ -5254,6 +5319,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.NumberOfArchives = i64 } + case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5266,6 +5332,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.SizeInBytes = i64 } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -5274,6 +5341,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.VaultARN = ptr.String(jtv) } + case "VaultName": if value != nil { jtv, ok := value.(string) @@ -5282,6 +5350,7 @@ func awsRestjson1_deserializeDocumentDescribeVaultOutput(v **types.DescribeVault } sv.VaultName = ptr.String(jtv) } + default: _, _ = key, value @@ -5321,6 +5390,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.EncryptionType = types.EncryptionType(jtv) } + case "KMSContext": if value != nil { jtv, ok := value.(string) @@ -5329,6 +5399,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KMSContext = ptr.String(jtv) } + case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -5337,6 +5408,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KMSKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -5376,6 +5448,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Action = types.ActionCode(jtv) } + case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -5384,6 +5457,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveId = ptr.String(jtv) } + case "ArchiveSHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -5392,6 +5466,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveSHA256TreeHash = ptr.String(jtv) } + case "ArchiveSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5404,6 +5479,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.ArchiveSizeInBytes = ptr.Int64(i64) } + case "Completed": if value != nil { jtv, ok := value.(bool) @@ -5412,6 +5488,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Completed = jtv } + case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -5420,6 +5497,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.CompletionDate = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5428,10 +5506,12 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.CreationDate = ptr.String(jtv) } + case "InventoryRetrievalParameters": if err := awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(&sv.InventoryRetrievalParameters, value); err != nil { return err } + case "InventorySizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5444,6 +5524,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.InventorySizeInBytes = ptr.Int64(i64) } + case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -5452,6 +5533,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobDescription = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5460,6 +5542,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobId = ptr.String(jtv) } + case "JobOutputPath": if value != nil { jtv, ok := value.(string) @@ -5468,10 +5551,12 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.JobOutputPath = ptr.String(jtv) } + case "OutputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "RetrievalByteRange": if value != nil { jtv, ok := value.(string) @@ -5480,10 +5565,12 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.RetrievalByteRange = ptr.String(jtv) } + case "SelectParameters": if err := awsRestjson1_deserializeDocumentSelectParameters(&sv.SelectParameters, value); err != nil { return err } + case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -5492,6 +5579,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.SHA256TreeHash = ptr.String(jtv) } + case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -5500,6 +5588,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.SNSTopic = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -5508,6 +5597,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.StatusCode = types.StatusCode(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5516,6 +5606,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.StatusMessage = ptr.String(jtv) } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -5524,6 +5615,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.Tier = ptr.String(jtv) } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -5532,6 +5624,7 @@ func awsRestjson1_deserializeDocumentGlacierJobDescription(v **types.GlacierJobD } sv.VaultARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5567,6 +5660,7 @@ func awsRestjson1_deserializeDocumentGrant(v **types.Grant, value interface{}) e if err := awsRestjson1_deserializeDocumentGrantee(&sv.Grantee, value); err != nil { return err } + case "Permission": if value != nil { jtv, ok := value.(string) @@ -5575,6 +5669,7 @@ func awsRestjson1_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.Permission = types.Permission(jtv) } + default: _, _ = key, value @@ -5614,6 +5709,7 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.DisplayName = ptr.String(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5622,6 +5718,7 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.EmailAddress = ptr.String(jtv) } + case "ID": if value != nil { jtv, ok := value.(string) @@ -5630,6 +5727,7 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.ID = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5638,6 +5736,7 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.Type = types.Type(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -5646,6 +5745,7 @@ func awsRestjson1_deserializeDocumentGrantee(v **types.Grantee, value interface{ } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -5717,6 +5817,7 @@ func awsRestjson1_deserializeDocumentInputSerialization(v **types.InputSerializa if err := awsRestjson1_deserializeDocumentCSVInput(&sv.Csv, value); err != nil { return err } + default: _, _ = key, value @@ -5756,6 +5857,7 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5764,6 +5866,7 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5772,6 +5875,7 @@ func awsRestjson1_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5811,6 +5915,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5819,6 +5924,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5827,6 +5933,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5866,6 +5973,7 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.EndDate = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -5874,6 +5982,7 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Format = ptr.String(jtv) } + case "Limit": if value != nil { jtv, ok := value.(string) @@ -5882,6 +5991,7 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Limit = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -5890,6 +6000,7 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.Marker = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -5898,6 +6009,7 @@ func awsRestjson1_deserializeDocumentInventoryRetrievalJobDescription(v **types. } sv.StartDate = ptr.String(jtv) } + default: _, _ = key, value @@ -5971,6 +6083,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5979,6 +6092,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5987,6 +6101,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6026,6 +6141,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6034,6 +6150,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6042,6 +6159,7 @@ func awsRestjson1_deserializeDocumentMissingParameterValueException(v **types.Mi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6113,6 +6231,7 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -6148,6 +6267,7 @@ func awsRestjson1_deserializeDocumentOutputSerialization(v **types.OutputSeriali if err := awsRestjson1_deserializeDocumentCSVOutput(&sv.Csv, value); err != nil { return err } + default: _, _ = key, value @@ -6221,6 +6341,7 @@ func awsRestjson1_deserializeDocumentPartListElement(v **types.PartListElement, } sv.RangeInBytes = ptr.String(jtv) } + case "SHA256TreeHash": if value != nil { jtv, ok := value.(string) @@ -6229,6 +6350,7 @@ func awsRestjson1_deserializeDocumentPartListElement(v **types.PartListElement, } sv.SHA256TreeHash = ptr.String(jtv) } + default: _, _ = key, value @@ -6268,6 +6390,7 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6276,6 +6399,7 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6284,6 +6408,7 @@ func awsRestjson1_deserializeDocumentPolicyEnforcedException(v **types.PolicyEnf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6323,6 +6448,7 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.CapacityId = ptr.String(jtv) } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6331,6 +6457,7 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.ExpirationDate = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -6339,6 +6466,7 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.StartDate = ptr.String(jtv) } + default: _, _ = key, value @@ -6412,6 +6540,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6420,6 +6549,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6428,6 +6558,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6467,6 +6598,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6475,6 +6607,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6483,6 +6616,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6518,6 +6652,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte if err := awsRestjson1_deserializeDocumentAccessControlPolicyList(&sv.AccessControlList, value); err != nil { return err } + case "BucketName": if value != nil { jtv, ok := value.(string) @@ -6526,6 +6661,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } + case "CannedACL": if value != nil { jtv, ok := value.(string) @@ -6534,10 +6670,12 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.CannedACL = types.CannedACL(jtv) } + case "Encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -6546,6 +6684,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -6554,14 +6693,17 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.StorageClass = types.StorageClass(jtv) } + case "Tagging": if err := awsRestjson1_deserializeDocumentHashmap(&sv.Tagging, value); err != nil { return err } + case "UserMetadata": if err := awsRestjson1_deserializeDocumentHashmap(&sv.UserMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -6601,6 +6743,7 @@ func awsRestjson1_deserializeDocumentSelectParameters(v **types.SelectParameters } sv.Expression = ptr.String(jtv) } + case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -6609,14 +6752,17 @@ func awsRestjson1_deserializeDocumentSelectParameters(v **types.SelectParameters } sv.ExpressionType = types.ExpressionType(jtv) } + case "InputSerialization": if err := awsRestjson1_deserializeDocumentInputSerialization(&sv.InputSerialization, value); err != nil { return err } + case "OutputSerialization": if err := awsRestjson1_deserializeDocumentOutputSerialization(&sv.OutputSerialization, value); err != nil { return err } + default: _, _ = key, value @@ -6656,6 +6802,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6664,6 +6811,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6672,6 +6820,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6747,6 +6896,7 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.ArchiveDescription = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6755,6 +6905,7 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.CreationDate = ptr.String(jtv) } + case "MultipartUploadId": if value != nil { jtv, ok := value.(string) @@ -6763,6 +6914,7 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.MultipartUploadId = ptr.String(jtv) } + case "PartSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6775,6 +6927,7 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.PartSizeInBytes = i64 } + case "VaultARN": if value != nil { jtv, ok := value.(string) @@ -6783,6 +6936,7 @@ func awsRestjson1_deserializeDocumentUploadListElement(v **types.UploadListEleme } sv.VaultARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6856,6 +7010,7 @@ func awsRestjson1_deserializeDocumentVaultAccessPolicy(v **types.VaultAccessPoli } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -6925,6 +7080,7 @@ func awsRestjson1_deserializeDocumentVaultNotificationConfig(v **types.VaultNoti if err := awsRestjson1_deserializeDocumentNotificationEventList(&sv.Events, value); err != nil { return err } + case "SNSTopic": if value != nil { jtv, ok := value.(string) @@ -6933,6 +7089,7 @@ func awsRestjson1_deserializeDocumentVaultNotificationConfig(v **types.VaultNoti } sv.SNSTopic = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/globalaccelerator/deserializers.go b/service/globalaccelerator/deserializers.go index 7b4e0d16e49..793c8e90cc1 100644 --- a/service/globalaccelerator/deserializers.go +++ b/service/globalaccelerator/deserializers.go @@ -7314,6 +7314,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.AcceleratorArn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7329,6 +7330,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -7337,6 +7339,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.DnsName = ptr.String(jtv) } + case "DualStackDnsName": if value != nil { jtv, ok := value.(string) @@ -7345,6 +7348,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.DualStackDnsName = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -7353,10 +7357,12 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Enabled = ptr.Bool(jtv) } + case "Events": if err := awsAwsjson11_deserializeDocumentAcceleratorEvents(&sv.Events, value); err != nil { return err } + case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -7365,10 +7371,12 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.IpAddressType = types.IpAddressType(jtv) } + case "IpSets": if err := awsAwsjson11_deserializeDocumentIpSets(&sv.IpSets, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7384,6 +7392,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7392,6 +7401,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7400,6 +7410,7 @@ func awsAwsjson11_deserializeDocumentAccelerator(v **types.Accelerator, value in } sv.Status = types.AcceleratorStatus(jtv) } + default: _, _ = key, value @@ -7439,6 +7450,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsEnabled = ptr.Bool(jtv) } + case "FlowLogsS3Bucket": if value != nil { jtv, ok := value.(string) @@ -7447,6 +7459,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsS3Bucket = ptr.String(jtv) } + case "FlowLogsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -7455,6 +7468,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorAttributes(v **types.Accelerator } sv.FlowLogsS3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7494,6 +7508,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorEvent(v **types.AcceleratorEvent } sv.Message = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -7509,6 +7524,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorEvent(v **types.AcceleratorEvent } } + default: _, _ = key, value @@ -7582,6 +7598,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotDisabledException(v **types.A } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7621,6 +7638,7 @@ func awsAwsjson11_deserializeDocumentAcceleratorNotFoundException(v **types.Acce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7694,6 +7712,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7733,6 +7752,7 @@ func awsAwsjson11_deserializeDocumentAssociatedEndpointGroupFoundException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7772,6 +7792,7 @@ func awsAwsjson11_deserializeDocumentAssociatedListenerFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7811,6 +7832,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentArn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7826,6 +7848,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7841,6 +7864,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7849,14 +7873,17 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Name = ptr.String(jtv) } + case "Principals": if err := awsAwsjson11_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } + case "Resources": if err := awsAwsjson11_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -7896,6 +7923,7 @@ func awsAwsjson11_deserializeDocumentAttachmentNotFoundException(v **types.Attac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8005,10 +8033,12 @@ func awsAwsjson11_deserializeDocumentByoipCidr(v **types.ByoipCidr, value interf } sv.Cidr = ptr.String(jtv) } + case "Events": if err := awsAwsjson11_deserializeDocumentByoipCidrEvents(&sv.Events, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -8017,6 +8047,7 @@ func awsAwsjson11_deserializeDocumentByoipCidr(v **types.ByoipCidr, value interf } sv.State = types.ByoipCidrState(jtv) } + default: _, _ = key, value @@ -8056,6 +8087,7 @@ func awsAwsjson11_deserializeDocumentByoipCidrEvent(v **types.ByoipCidrEvent, va } sv.Message = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -8071,6 +8103,7 @@ func awsAwsjson11_deserializeDocumentByoipCidrEvent(v **types.ByoipCidrEvent, va } } + default: _, _ = key, value @@ -8144,6 +8177,7 @@ func awsAwsjson11_deserializeDocumentByoipCidrNotFoundException(v **types.ByoipC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8217,6 +8251,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8256,6 +8291,7 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.AttachmentArn = ptr.String(jtv) } + case "Cidr": if value != nil { jtv, ok := value.(string) @@ -8264,6 +8300,7 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.Cidr = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -8272,6 +8309,7 @@ func awsAwsjson11_deserializeDocumentCrossAccountResource(v **types.CrossAccount } sv.EndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -8345,6 +8383,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.AcceleratorArn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -8360,6 +8399,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -8368,6 +8408,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.DnsName = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -8376,6 +8417,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Enabled = ptr.Bool(jtv) } + case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -8384,10 +8426,12 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.IpAddressType = types.IpAddressType(jtv) } + case "IpSets": if err := awsAwsjson11_deserializeDocumentIpSets(&sv.IpSets, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8403,6 +8447,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8411,6 +8456,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8419,6 +8465,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(v **types.CustomRo } sv.Status = types.CustomRoutingAcceleratorStatus(jtv) } + default: _, _ = key, value @@ -8458,6 +8505,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsEnabled = ptr.Bool(jtv) } + case "FlowLogsS3Bucket": if value != nil { jtv, ok := value.(string) @@ -8466,6 +8514,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsS3Bucket = ptr.String(jtv) } + case "FlowLogsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -8474,6 +8523,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(v **type } sv.FlowLogsS3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8551,10 +8601,12 @@ func awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescription(v **typ } sv.FromPort = ptr.Int32(int32(i64)) } + case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -8567,6 +8619,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescription(v **typ } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8640,6 +8693,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescription(v **types. } sv.EndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -8709,10 +8763,12 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom if err := awsAwsjson11_deserializeDocumentCustomRoutingDestinationDescriptions(&sv.DestinationDescriptions, value); err != nil { return err } + case "EndpointDescriptions": if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -8721,6 +8777,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom } sv.EndpointGroupArn = ptr.String(jtv) } + case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -8729,6 +8786,7 @@ func awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(v **types.Custom } sv.EndpointGroupRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -8802,10 +8860,12 @@ func awsAwsjson11_deserializeDocumentCustomRoutingListener(v **types.CustomRouti } sv.ListenerArn = ptr.String(jtv) } + case "PortRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PortRanges, value); err != nil { return err } + default: _, _ = key, value @@ -8915,14 +8975,17 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.AcceleratorArn = ptr.String(jtv) } + case "AcceleratorSocketAddresses": if err := awsAwsjson11_deserializeDocumentSocketAddresses(&sv.AcceleratorSocketAddresses, value); err != nil { return err } + case "DestinationSocketAddress": if err := awsAwsjson11_deserializeDocumentSocketAddress(&sv.DestinationSocketAddress, value); err != nil { return err } + case "DestinationTrafficState": if value != nil { jtv, ok := value.(string) @@ -8931,6 +8994,7 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.DestinationTrafficState = types.CustomRoutingDestinationTrafficState(jtv) } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -8939,6 +9003,7 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointGroupArn = ptr.String(jtv) } + case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -8947,6 +9012,7 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointGroupRegion = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -8955,6 +9021,7 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.EndpointId = ptr.String(jtv) } + case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -8963,6 +9030,7 @@ func awsAwsjson11_deserializeDocumentDestinationPortMapping(v **types.Destinatio } sv.IpAddressType = types.IpAddressType(jtv) } + default: _, _ = key, value @@ -9036,6 +9104,7 @@ func awsAwsjson11_deserializeDocumentEndpointAlreadyExistsException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9075,6 +9144,7 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.ClientIPPreservationEnabled = ptr.Bool(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -9083,6 +9153,7 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.EndpointId = ptr.String(jtv) } + case "HealthReason": if value != nil { jtv, ok := value.(string) @@ -9091,6 +9162,7 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.HealthReason = ptr.String(jtv) } + case "HealthState": if value != nil { jtv, ok := value.(string) @@ -9099,6 +9171,7 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.HealthState = types.HealthState(jtv) } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -9111,6 +9184,7 @@ func awsAwsjson11_deserializeDocumentEndpointDescription(v **types.EndpointDescr } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9180,6 +9254,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu if err := awsAwsjson11_deserializeDocumentEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -9188,6 +9263,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.EndpointGroupArn = ptr.String(jtv) } + case "EndpointGroupRegion": if value != nil { jtv, ok := value.(string) @@ -9196,6 +9272,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.EndpointGroupRegion = ptr.String(jtv) } + case "HealthCheckIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9208,6 +9285,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckIntervalSeconds = ptr.Int32(int32(i64)) } + case "HealthCheckPath": if value != nil { jtv, ok := value.(string) @@ -9216,6 +9294,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckPath = ptr.String(jtv) } + case "HealthCheckPort": if value != nil { jtv, ok := value.(json.Number) @@ -9228,6 +9307,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckPort = ptr.Int32(int32(i64)) } + case "HealthCheckProtocol": if value != nil { jtv, ok := value.(string) @@ -9236,10 +9316,12 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.HealthCheckProtocol = types.HealthCheckProtocol(jtv) } + case "PortOverrides": if err := awsAwsjson11_deserializeDocumentPortOverrides(&sv.PortOverrides, value); err != nil { return err } + case "ThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -9252,6 +9334,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } sv.ThresholdCount = ptr.Int32(int32(i64)) } + case "TrafficDialPercentage": if value != nil { switch jtv := value.(type) { @@ -9285,6 +9368,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroup(v **types.EndpointGroup, valu } } + default: _, _ = key, value @@ -9324,6 +9408,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroupAlreadyExistsException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9363,6 +9448,7 @@ func awsAwsjson11_deserializeDocumentEndpointGroupNotFoundException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9436,6 +9522,7 @@ func awsAwsjson11_deserializeDocumentEndpointNotFoundException(v **types.Endpoin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9475,6 +9562,7 @@ func awsAwsjson11_deserializeDocumentIncorrectCidrStateException(v **types.Incor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9514,6 +9602,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9553,6 +9642,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9592,6 +9682,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9631,6 +9722,7 @@ func awsAwsjson11_deserializeDocumentInvalidPortRangeException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9702,6 +9794,7 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIpAddresses(&sv.IpAddresses, value); err != nil { return err } + case "IpAddressFamily": if value != nil { jtv, ok := value.(string) @@ -9710,6 +9803,7 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e } sv.IpAddressFamily = types.IpAddressFamily(jtv) } + case "IpFamily": if value != nil { jtv, ok := value.(string) @@ -9718,6 +9812,7 @@ func awsAwsjson11_deserializeDocumentIpSet(v **types.IpSet, value interface{}) e } sv.IpFamily = ptr.String(jtv) } + default: _, _ = key, value @@ -9791,6 +9886,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9830,6 +9926,7 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.ClientAffinity = types.ClientAffinity(jtv) } + case "ListenerArn": if value != nil { jtv, ok := value.(string) @@ -9838,10 +9935,12 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.ListenerArn = ptr.String(jtv) } + case "PortRanges": if err := awsAwsjson11_deserializeDocumentPortRanges(&sv.PortRanges, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -9850,6 +9949,7 @@ func awsAwsjson11_deserializeDocumentListener(v **types.Listener, value interfac } sv.Protocol = types.Protocol(jtv) } + default: _, _ = key, value @@ -9889,6 +9989,7 @@ func awsAwsjson11_deserializeDocumentListenerNotFoundException(v **types.Listene } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9966,10 +10067,12 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.AcceleratorPort = ptr.Int32(int32(i64)) } + case "DestinationSocketAddress": if err := awsAwsjson11_deserializeDocumentSocketAddress(&sv.DestinationSocketAddress, value); err != nil { return err } + case "DestinationTrafficState": if value != nil { jtv, ok := value.(string) @@ -9978,6 +10081,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.DestinationTrafficState = types.CustomRoutingDestinationTrafficState(jtv) } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -9986,6 +10090,7 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EndpointGroupArn = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -9994,10 +10099,12 @@ func awsAwsjson11_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EndpointId = ptr.String(jtv) } + case "Protocols": if err := awsAwsjson11_deserializeDocumentCustomRoutingProtocols(&sv.Protocols, value); err != nil { return err } + default: _, _ = key, value @@ -10075,6 +10182,7 @@ func awsAwsjson11_deserializeDocumentPortOverride(v **types.PortOverride, value } sv.EndpointPort = ptr.Int32(int32(i64)) } + case "ListenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -10087,6 +10195,7 @@ func awsAwsjson11_deserializeDocumentPortOverride(v **types.PortOverride, value } sv.ListenerPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10164,6 +10273,7 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.FromPort = ptr.Int32(int32(i64)) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -10176,6 +10286,7 @@ func awsAwsjson11_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10321,6 +10432,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Cidr = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -10329,6 +10441,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.EndpointId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -10337,6 +10450,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -10410,6 +10524,7 @@ func awsAwsjson11_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.IpAddress = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -10422,6 +10537,7 @@ func awsAwsjson11_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10495,6 +10611,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10503,6 +10620,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10576,6 +10694,7 @@ func awsAwsjson11_deserializeDocumentTransactionInProgressException(v **types.Tr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10611,6 +10730,7 @@ func awsAwsjson11_deserializeOpDocumentAddCustomRoutingEndpointsOutput(v **AddCu if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -10619,6 +10739,7 @@ func awsAwsjson11_deserializeOpDocumentAddCustomRoutingEndpointsOutput(v **AddCu } sv.EndpointGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10654,6 +10775,7 @@ func awsAwsjson11_deserializeOpDocumentAddEndpointsOutput(v **AddEndpointsOutput if err := awsAwsjson11_deserializeDocumentEndpointDescriptions(&sv.EndpointDescriptions, value); err != nil { return err } + case "EndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -10662,6 +10784,7 @@ func awsAwsjson11_deserializeOpDocumentAddEndpointsOutput(v **AddEndpointsOutput } sv.EndpointGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10697,6 +10820,7 @@ func awsAwsjson11_deserializeOpDocumentAdvertiseByoipCidrOutput(v **AdvertiseByo if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } + default: _, _ = key, value @@ -10732,6 +10856,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAcceleratorOutput(v **CreateAcceler if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -10767,6 +10892,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCrossAccountAttachmentOutput(v **Cr if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -10802,6 +10928,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingAcceleratorOutput(v ** if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -10837,6 +10964,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingEndpointGroupOutput(v if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } + default: _, _ = key, value @@ -10872,6 +11000,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomRoutingListenerOutput(v **Cre if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -10907,6 +11036,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointGroupOutput(v **CreateEndpo if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } + default: _, _ = key, value @@ -10942,6 +11072,7 @@ func awsAwsjson11_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -10977,6 +11108,7 @@ func awsAwsjson11_deserializeOpDocumentDeprovisionByoipCidrOutput(v **Deprovisio if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } + default: _, _ = key, value @@ -11012,6 +11144,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAcceleratorAttributesOutput(v **D if err := awsAwsjson11_deserializeDocumentAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -11047,6 +11180,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAcceleratorOutput(v **DescribeAcc if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -11082,6 +11216,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAttachmentOutput(v ** if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -11117,6 +11252,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingAcceleratorAttribute if err := awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -11152,6 +11288,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingAcceleratorOutput(v if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -11187,6 +11324,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingEndpointGroupOutput( if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } + default: _, _ = key, value @@ -11222,6 +11360,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomRoutingListenerOutput(v **D if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -11257,6 +11396,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointGroupOutput(v **DescribeE if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } + default: _, _ = key, value @@ -11292,6 +11432,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeListenerOutput(v **DescribeListen if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -11327,6 +11468,7 @@ func awsAwsjson11_deserializeOpDocumentListAcceleratorsOutput(v **ListAccelerato if err := awsAwsjson11_deserializeDocumentAccelerators(&sv.Accelerators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11477,7 @@ func awsAwsjson11_deserializeOpDocumentListAcceleratorsOutput(v **ListAccelerato } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11370,6 +11513,7 @@ func awsAwsjson11_deserializeOpDocumentListByoipCidrsOutput(v **ListByoipCidrsOu if err := awsAwsjson11_deserializeDocumentByoipCidrs(&sv.ByoipCidrs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11378,6 +11522,7 @@ func awsAwsjson11_deserializeOpDocumentListByoipCidrsOutput(v **ListByoipCidrsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11413,6 +11558,7 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountAttachmentsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentAttachments(&sv.CrossAccountAttachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11421,6 +11567,7 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountAttachmentsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11456,6 +11603,7 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourceAccountsOutput(v if err := awsAwsjson11_deserializeDocumentAwsAccountIds(&sv.ResourceOwnerAwsAccountIds, value); err != nil { return err } + default: _, _ = key, value @@ -11491,6 +11639,7 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourcesOutput(v **ListC if err := awsAwsjson11_deserializeDocumentCrossAccountResources(&sv.CrossAccountResources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11499,6 +11648,7 @@ func awsAwsjson11_deserializeOpDocumentListCrossAccountResourcesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11534,6 +11684,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingAcceleratorsOutput(v **L if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerators(&sv.Accelerators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11542,6 +11693,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingAcceleratorsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11577,6 +11729,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingEndpointGroupsOutput(v * if err := awsAwsjson11_deserializeDocumentCustomRoutingEndpointGroups(&sv.EndpointGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11585,6 +11738,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingEndpointGroupsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11620,6 +11774,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingListenersOutput(v **List if err := awsAwsjson11_deserializeDocumentCustomRoutingListeners(&sv.Listeners, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11628,6 +11783,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingListenersOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11663,6 +11819,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsByDestinatio if err := awsAwsjson11_deserializeDocumentDestinationPortMappings(&sv.DestinationPortMappings, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11671,6 +11828,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsByDestinatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11710,10 +11868,12 @@ func awsAwsjson11_deserializeOpDocumentListCustomRoutingPortMappingsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "PortMappings": if err := awsAwsjson11_deserializeDocumentPortMappings(&sv.PortMappings, value); err != nil { return err } + default: _, _ = key, value @@ -11749,6 +11909,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointGroupsOutput(v **ListEndpoint if err := awsAwsjson11_deserializeDocumentEndpointGroups(&sv.EndpointGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11757,6 +11918,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointGroupsOutput(v **ListEndpoint } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11792,6 +11954,7 @@ func awsAwsjson11_deserializeOpDocumentListListenersOutput(v **ListListenersOutp if err := awsAwsjson11_deserializeDocumentListeners(&sv.Listeners, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11800,6 +11963,7 @@ func awsAwsjson11_deserializeOpDocumentListListenersOutput(v **ListListenersOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11835,6 +11999,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11870,6 +12035,7 @@ func awsAwsjson11_deserializeOpDocumentProvisionByoipCidrOutput(v **ProvisionByo if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } + default: _, _ = key, value @@ -11967,6 +12133,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAcceleratorAttributesOutput(v **Upd if err := awsAwsjson11_deserializeDocumentAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -12002,6 +12169,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAcceleratorOutput(v **UpdateAcceler if err := awsAwsjson11_deserializeDocumentAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -12037,6 +12205,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCrossAccountAttachmentOutput(v **Up if err := awsAwsjson11_deserializeDocumentAttachment(&sv.CrossAccountAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -12072,6 +12241,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingAcceleratorAttributesO if err := awsAwsjson11_deserializeDocumentCustomRoutingAcceleratorAttributes(&sv.AcceleratorAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -12107,6 +12277,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingAcceleratorOutput(v ** if err := awsAwsjson11_deserializeDocumentCustomRoutingAccelerator(&sv.Accelerator, value); err != nil { return err } + default: _, _ = key, value @@ -12142,6 +12313,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomRoutingListenerOutput(v **Upd if err := awsAwsjson11_deserializeDocumentCustomRoutingListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -12177,6 +12349,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointGroupOutput(v **UpdateEndpo if err := awsAwsjson11_deserializeDocumentEndpointGroup(&sv.EndpointGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12212,6 +12385,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu if err := awsAwsjson11_deserializeDocumentListener(&sv.Listener, value); err != nil { return err } + default: _, _ = key, value @@ -12247,6 +12421,7 @@ func awsAwsjson11_deserializeOpDocumentWithdrawByoipCidrOutput(v **WithdrawByoip if err := awsAwsjson11_deserializeDocumentByoipCidr(&sv.ByoipCidr, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/glue/deserializers.go b/service/glue/deserializers.go index 3f3363c1aa6..615bcc2ba8a 100644 --- a/service/glue/deserializers.go +++ b/service/glue/deserializers.go @@ -29475,6 +29475,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29510,6 +29511,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.Arguments, value); err != nil { return err } + case "CrawlerName": if value != nil { jtv, ok := value.(string) @@ -29518,6 +29520,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.CrawlerName = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -29526,10 +29529,12 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.JobName = ptr.String(jtv) } + case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -29538,6 +29543,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.SecurityConfiguration = ptr.String(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -29550,6 +29556,7 @@ func awsAwsjson11_deserializeDocumentAction(v **types.Action, value interface{}) } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29655,14 +29662,17 @@ func awsAwsjson11_deserializeDocumentAggregate(v **types.Aggregate, value interf if err := awsAwsjson11_deserializeDocumentAggregateOperations(&sv.Aggs, value); err != nil { return err } + case "Groups": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Groups, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -29671,6 +29681,7 @@ func awsAwsjson11_deserializeDocumentAggregate(v **types.Aggregate, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -29710,10 +29721,12 @@ func awsAwsjson11_deserializeDocumentAggregateOperation(v **types.AggregateOpera } sv.AggFunc = types.AggFunction(jtv) } + case "Column": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Column, value); err != nil { return err } + default: _, _ = key, value @@ -29823,6 +29836,7 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29862,6 +29876,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOption(v **types.Amaz } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -29870,6 +29885,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOption(v **types.Amaz } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -29943,6 +29959,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.AccessType = ptr.String(jtv) } + case "Action": if value != nil { jtv, ok := value.(string) @@ -29951,14 +29968,17 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.Action = ptr.String(jtv) } + case "AdvancedOptions": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } + case "CatalogDatabase": if err := awsAwsjson11_deserializeDocumentOption(&sv.CatalogDatabase, value); err != nil { return err } + case "CatalogRedshiftSchema": if value != nil { jtv, ok := value.(string) @@ -29967,6 +29987,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CatalogRedshiftSchema = ptr.String(jtv) } + case "CatalogRedshiftTable": if value != nil { jtv, ok := value.(string) @@ -29975,14 +29996,17 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CatalogRedshiftTable = ptr.String(jtv) } + case "CatalogTable": if err := awsAwsjson11_deserializeDocumentOption(&sv.CatalogTable, value); err != nil { return err } + case "Connection": if err := awsAwsjson11_deserializeDocumentOption(&sv.Connection, value); err != nil { return err } + case "CrawlerConnection": if value != nil { jtv, ok := value.(string) @@ -29991,10 +30015,12 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.CrawlerConnection = ptr.String(jtv) } + case "IamRole": if err := awsAwsjson11_deserializeDocumentOption(&sv.IamRole, value); err != nil { return err } + case "MergeAction": if value != nil { jtv, ok := value.(string) @@ -30003,6 +30029,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeAction = ptr.String(jtv) } + case "MergeClause": if value != nil { jtv, ok := value.(string) @@ -30011,6 +30038,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeClause = ptr.String(jtv) } + case "MergeWhenMatched": if value != nil { jtv, ok := value.(string) @@ -30019,6 +30047,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeWhenMatched = ptr.String(jtv) } + case "MergeWhenNotMatched": if value != nil { jtv, ok := value.(string) @@ -30027,6 +30056,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.MergeWhenNotMatched = ptr.String(jtv) } + case "PostAction": if value != nil { jtv, ok := value.(string) @@ -30035,6 +30065,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.PostAction = ptr.String(jtv) } + case "PreAction": if value != nil { jtv, ok := value.(string) @@ -30043,6 +30074,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.PreAction = ptr.String(jtv) } + case "SampleQuery": if value != nil { jtv, ok := value.(string) @@ -30051,14 +30083,17 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.SampleQuery = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentOption(&sv.Schema, value); err != nil { return err } + case "SelectedColumns": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.SelectedColumns, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -30067,6 +30102,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.SourceType = ptr.String(jtv) } + case "StagingTable": if value != nil { jtv, ok := value.(string) @@ -30075,10 +30111,12 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.StagingTable = ptr.String(jtv) } + case "Table": if err := awsAwsjson11_deserializeDocumentOption(&sv.Table, value); err != nil { return err } + case "TablePrefix": if value != nil { jtv, ok := value.(string) @@ -30087,10 +30125,12 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.TablePrefix = ptr.String(jtv) } + case "TableSchema": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.TableSchema, value); err != nil { return err } + case "TempDir": if value != nil { jtv, ok := value.(string) @@ -30099,6 +30139,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.TempDir = ptr.String(jtv) } + case "Upsert": if value != nil { jtv, ok := value.(bool) @@ -30107,6 +30148,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(v **types.AmazonReds } sv.Upsert = jtv } + default: _, _ = key, value @@ -30142,6 +30184,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftSource(v **types.AmazonRedshi if err := awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(&sv.Data, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30150,6 +30193,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftSource(v **types.AmazonRedshi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -30185,10 +30229,12 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(v **types.AmazonRedshi if err := awsAwsjson11_deserializeDocumentAmazonRedshiftNodeData(&sv.Data, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30197,6 +30243,7 @@ func awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(v **types.AmazonRedshi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -30236,6 +30283,7 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.FailureReason = ptr.String(jtv) } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -30244,6 +30292,7 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.ProfileId = ptr.String(jtv) } + case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -30252,6 +30301,7 @@ func awsAwsjson11_deserializeDocumentAnnotationError(v **types.AnnotationError, } sv.StatisticId = ptr.String(jtv) } + default: _, _ = key, value @@ -30355,10 +30405,12 @@ func awsAwsjson11_deserializeDocumentApplyMapping(v **types.ApplyMapping, value if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Mapping": if err := awsAwsjson11_deserializeDocumentMappings(&sv.Mapping, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30367,6 +30419,7 @@ func awsAwsjson11_deserializeDocumentApplyMapping(v **types.ApplyMapping, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -30406,6 +30459,7 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -30414,6 +30468,7 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionTable = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -30422,6 +30477,7 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectionType = ptr.String(jtv) } + case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -30430,6 +30486,7 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.ConnectorName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30438,10 +30495,12 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -30450,6 +30509,7 @@ func awsAwsjson11_deserializeDocumentAthenaConnectorSource(v **types.AthenaConne } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -30489,10 +30549,12 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "OAuth2Properties": if err := awsAwsjson11_deserializeDocumentOAuth2Properties(&sv.OAuth2Properties, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -30501,6 +30563,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -30540,10 +30603,12 @@ func awsAwsjson11_deserializeDocumentBackfillError(v **types.BackfillError, valu } sv.Code = types.BackfillErrorCode(jtv) } + case "Partitions": if err := awsAwsjson11_deserializeDocumentBackfillErroredPartitionsList(&sv.Partitions, value); err != nil { return err } + default: _, _ = key, value @@ -30651,10 +30716,12 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30663,10 +30730,12 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -30675,6 +30744,7 @@ func awsAwsjson11_deserializeDocumentBasicCatalogTarget(v **types.BasicCatalogTa } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -30748,6 +30818,7 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.CatalogId = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -30756,10 +30827,12 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.DatabaseName = ptr.String(jtv) } + case "error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -30768,6 +30841,7 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.TableName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -30776,6 +30850,7 @@ func awsAwsjson11_deserializeDocumentBatchGetTableOptimizerError(v **types.Batch } sv.Type = types.TableOptimizerType(jtv) } + default: _, _ = key, value @@ -30845,6 +30920,7 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -30853,6 +30929,7 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -30861,6 +30938,7 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunError(v **types.BatchStopJob } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -30934,6 +31012,7 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmission(v **typ } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -30942,6 +31021,7 @@ func awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmission(v **typ } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -31015,6 +31095,7 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.CatalogId = ptr.String(jtv) } + case "databaseName": if value != nil { jtv, ok := value.(string) @@ -31023,6 +31104,7 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.DatabaseName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -31031,10 +31113,12 @@ func awsAwsjson11_deserializeDocumentBatchTableOptimizer(v **types.BatchTableOpt } sv.TableName = ptr.String(jtv) } + case "tableOptimizer": if err := awsAwsjson11_deserializeDocumentTableOptimizer(&sv.TableOptimizer, value); err != nil { return err } + default: _, _ = key, value @@ -31104,10 +31188,12 @@ func awsAwsjson11_deserializeDocumentBatchUpdatePartitionFailureEntry(v **types. if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "PartitionValueList": if err := awsAwsjson11_deserializeDocumentBoundedPartitionValueList(&sv.PartitionValueList, value); err != nil { return err } + default: _, _ = key, value @@ -31206,6 +31292,7 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } } + case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -31218,6 +31305,7 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } sv.MaximumLength = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -31230,6 +31318,7 @@ func awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(v **types.Binary } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -31269,6 +31358,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintLocation = ptr.String(jtv) } + case "BlueprintServiceLocation": if value != nil { jtv, ok := value.(string) @@ -31277,6 +31367,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintServiceLocation = ptr.String(jtv) } + case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -31292,6 +31383,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -31300,6 +31392,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31308,10 +31401,12 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ErrorMessage = ptr.String(jtv) } + case "LastActiveDefinition": if err := awsAwsjson11_deserializeDocumentLastActiveDefinition(&sv.LastActiveDefinition, value); err != nil { return err } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -31327,6 +31422,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31335,6 +31431,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Name = ptr.String(jtv) } + case "ParameterSpec": if value != nil { jtv, ok := value.(string) @@ -31343,6 +31440,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ParameterSpec = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -31351,6 +31449,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Status = types.BlueprintStatus(jtv) } + default: _, _ = key, value @@ -31390,6 +31489,7 @@ func awsAwsjson11_deserializeDocumentBlueprintDetails(v **types.BlueprintDetails } sv.BlueprintName = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -31398,6 +31498,7 @@ func awsAwsjson11_deserializeDocumentBlueprintDetails(v **types.BlueprintDetails } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -31473,6 +31574,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.BlueprintName = ptr.String(jtv) } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -31488,6 +31590,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31496,6 +31599,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.ErrorMessage = ptr.String(jtv) } + case "Parameters": if value != nil { jtv, ok := value.(string) @@ -31504,6 +31608,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.Parameters = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -31512,6 +31617,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RoleArn = ptr.String(jtv) } + case "RollbackErrorMessage": if value != nil { jtv, ok := value.(string) @@ -31520,6 +31626,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RollbackErrorMessage = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -31528,6 +31635,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.RunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -31543,6 +31651,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } } + case "State": if value != nil { jtv, ok := value.(string) @@ -31551,6 +31660,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.State = types.BlueprintRunState(jtv) } + case "WorkflowName": if value != nil { jtv, ok := value.(string) @@ -31559,6 +31669,7 @@ func awsAwsjson11_deserializeDocumentBlueprintRun(v **types.BlueprintRun, value } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -31670,6 +31781,7 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfFalses = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -31682,6 +31794,7 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfNulls = i64 } + case "NumberOfTrues": if value != nil { jtv, ok := value.(json.Number) @@ -31694,6 +31807,7 @@ func awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(v **types.Boole } sv.NumberOfTrues = i64 } + default: _, _ = key, value @@ -31765,6 +31879,7 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -31773,6 +31888,7 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31781,10 +31897,12 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -31793,6 +31911,7 @@ func awsAwsjson11_deserializeDocumentCatalogDeltaSource(v **types.CatalogDeltaSo } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -31828,6 +31947,7 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -31836,6 +31956,7 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31844,10 +31965,12 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -31856,6 +31979,7 @@ func awsAwsjson11_deserializeDocumentCatalogHudiSource(v **types.CatalogHudiSour } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -31895,6 +32019,7 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } sv.ImportCompleted = jtv } + case "ImportedBy": if value != nil { jtv, ok := value.(string) @@ -31903,6 +32028,7 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } sv.ImportedBy = ptr.String(jtv) } + case "ImportTime": if value != nil { switch jtv := value.(type) { @@ -31918,6 +32044,7 @@ func awsAwsjson11_deserializeDocumentCatalogImportStatus(v **types.CatalogImport } } + default: _, _ = key, value @@ -31957,10 +32084,12 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Database = ptr.String(jtv) } + case "DataPreviewOptions": if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } + case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -31969,6 +32098,7 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.DetectSchema = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31977,10 +32107,12 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Name = ptr.String(jtv) } + case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -31989,6 +32121,7 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.Table = ptr.String(jtv) } + case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -32001,6 +32134,7 @@ func awsAwsjson11_deserializeDocumentCatalogKafkaSource(v **types.CatalogKafkaSo } sv.WindowSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32040,10 +32174,12 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Database = ptr.String(jtv) } + case "DataPreviewOptions": if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } + case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -32052,6 +32188,7 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.DetectSchema = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32060,10 +32197,12 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Name = ptr.String(jtv) } + case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -32072,6 +32211,7 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.Table = ptr.String(jtv) } + case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -32084,6 +32224,7 @@ func awsAwsjson11_deserializeDocumentCatalogKinesisSource(v **types.CatalogKines } sv.WindowSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32123,6 +32264,7 @@ func awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(v **types.Catalog } sv.EnableUpdateCatalog = ptr.Bool(jtv) } + case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -32131,6 +32273,7 @@ func awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(v **types.Catalog } sv.UpdateBehavior = types.UpdateCatalogBehavior(jtv) } + default: _, _ = key, value @@ -32170,6 +32313,7 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32178,6 +32322,7 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -32186,6 +32331,7 @@ func awsAwsjson11_deserializeDocumentCatalogSource(v **types.CatalogSource, valu } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -32261,6 +32407,7 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.ConnectionName = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -32269,6 +32416,7 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.DatabaseName = ptr.String(jtv) } + case "DlqEventQueueArn": if value != nil { jtv, ok := value.(string) @@ -32277,6 +32425,7 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.DlqEventQueueArn = ptr.String(jtv) } + case "EventQueueArn": if value != nil { jtv, ok := value.(string) @@ -32285,10 +32434,12 @@ func awsAwsjson11_deserializeDocumentCatalogTarget(v **types.CatalogTarget, valu } sv.EventQueueArn = ptr.String(jtv) } + case "Tables": if err := awsAwsjson11_deserializeDocumentCatalogTablesList(&sv.Tables, value); err != nil { return err } + default: _, _ = key, value @@ -32358,18 +32509,22 @@ func awsAwsjson11_deserializeDocumentClassifier(v **types.Classifier, value inte if err := awsAwsjson11_deserializeDocumentCsvClassifier(&sv.CsvClassifier, value); err != nil { return err } + case "GrokClassifier": if err := awsAwsjson11_deserializeDocumentGrokClassifier(&sv.GrokClassifier, value); err != nil { return err } + case "JsonClassifier": if err := awsAwsjson11_deserializeDocumentJsonClassifier(&sv.JsonClassifier, value); err != nil { return err } + case "XMLClassifier": if err := awsAwsjson11_deserializeDocumentXMLClassifier(&sv.XMLClassifier, value); err != nil { return err } + default: _, _ = key, value @@ -32479,6 +32634,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchEncryption(v **types.CloudWatchEn } sv.CloudWatchEncryptionMode = types.CloudWatchEncryptionMode(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -32487,6 +32643,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchEncryption(v **types.CloudWatchEn } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -32522,286 +32679,357 @@ func awsAwsjson11_deserializeDocumentCodeGenConfigurationNode(v **types.CodeGenC if err := awsAwsjson11_deserializeDocumentAggregate(&sv.Aggregate, value); err != nil { return err } + case "AmazonRedshiftSource": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftSource(&sv.AmazonRedshiftSource, value); err != nil { return err } + case "AmazonRedshiftTarget": if err := awsAwsjson11_deserializeDocumentAmazonRedshiftTarget(&sv.AmazonRedshiftTarget, value); err != nil { return err } + case "ApplyMapping": if err := awsAwsjson11_deserializeDocumentApplyMapping(&sv.ApplyMapping, value); err != nil { return err } + case "AthenaConnectorSource": if err := awsAwsjson11_deserializeDocumentAthenaConnectorSource(&sv.AthenaConnectorSource, value); err != nil { return err } + case "CatalogDeltaSource": if err := awsAwsjson11_deserializeDocumentCatalogDeltaSource(&sv.CatalogDeltaSource, value); err != nil { return err } + case "CatalogHudiSource": if err := awsAwsjson11_deserializeDocumentCatalogHudiSource(&sv.CatalogHudiSource, value); err != nil { return err } + case "CatalogKafkaSource": if err := awsAwsjson11_deserializeDocumentCatalogKafkaSource(&sv.CatalogKafkaSource, value); err != nil { return err } + case "CatalogKinesisSource": if err := awsAwsjson11_deserializeDocumentCatalogKinesisSource(&sv.CatalogKinesisSource, value); err != nil { return err } + case "CatalogSource": if err := awsAwsjson11_deserializeDocumentCatalogSource(&sv.CatalogSource, value); err != nil { return err } + case "CatalogTarget": if err := awsAwsjson11_deserializeDocumentBasicCatalogTarget(&sv.CatalogTarget, value); err != nil { return err } + case "ConnectorDataSource": if err := awsAwsjson11_deserializeDocumentConnectorDataSource(&sv.ConnectorDataSource, value); err != nil { return err } + case "ConnectorDataTarget": if err := awsAwsjson11_deserializeDocumentConnectorDataTarget(&sv.ConnectorDataTarget, value); err != nil { return err } + case "CustomCode": if err := awsAwsjson11_deserializeDocumentCustomCode(&sv.CustomCode, value); err != nil { return err } + case "DirectJDBCSource": if err := awsAwsjson11_deserializeDocumentDirectJDBCSource(&sv.DirectJDBCSource, value); err != nil { return err } + case "DirectKafkaSource": if err := awsAwsjson11_deserializeDocumentDirectKafkaSource(&sv.DirectKafkaSource, value); err != nil { return err } + case "DirectKinesisSource": if err := awsAwsjson11_deserializeDocumentDirectKinesisSource(&sv.DirectKinesisSource, value); err != nil { return err } + case "DropDuplicates": if err := awsAwsjson11_deserializeDocumentDropDuplicates(&sv.DropDuplicates, value); err != nil { return err } + case "DropFields": if err := awsAwsjson11_deserializeDocumentDropFields(&sv.DropFields, value); err != nil { return err } + case "DropNullFields": if err := awsAwsjson11_deserializeDocumentDropNullFields(&sv.DropNullFields, value); err != nil { return err } + case "DynamicTransform": if err := awsAwsjson11_deserializeDocumentDynamicTransform(&sv.DynamicTransform, value); err != nil { return err } + case "DynamoDBCatalogSource": if err := awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(&sv.DynamoDBCatalogSource, value); err != nil { return err } + case "EvaluateDataQuality": if err := awsAwsjson11_deserializeDocumentEvaluateDataQuality(&sv.EvaluateDataQuality, value); err != nil { return err } + case "EvaluateDataQualityMultiFrame": if err := awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(&sv.EvaluateDataQualityMultiFrame, value); err != nil { return err } + case "FillMissingValues": if err := awsAwsjson11_deserializeDocumentFillMissingValues(&sv.FillMissingValues, value); err != nil { return err } + case "Filter": if err := awsAwsjson11_deserializeDocumentFilter(&sv.Filter, value); err != nil { return err } + case "GovernedCatalogSource": if err := awsAwsjson11_deserializeDocumentGovernedCatalogSource(&sv.GovernedCatalogSource, value); err != nil { return err } + case "GovernedCatalogTarget": if err := awsAwsjson11_deserializeDocumentGovernedCatalogTarget(&sv.GovernedCatalogTarget, value); err != nil { return err } + case "JDBCConnectorSource": if err := awsAwsjson11_deserializeDocumentJDBCConnectorSource(&sv.JDBCConnectorSource, value); err != nil { return err } + case "JDBCConnectorTarget": if err := awsAwsjson11_deserializeDocumentJDBCConnectorTarget(&sv.JDBCConnectorTarget, value); err != nil { return err } + case "Join": if err := awsAwsjson11_deserializeDocumentJoin(&sv.Join, value); err != nil { return err } + case "Merge": if err := awsAwsjson11_deserializeDocumentMerge(&sv.Merge, value); err != nil { return err } + case "MicrosoftSQLServerCatalogSource": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(&sv.MicrosoftSQLServerCatalogSource, value); err != nil { return err } + case "MicrosoftSQLServerCatalogTarget": if err := awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(&sv.MicrosoftSQLServerCatalogTarget, value); err != nil { return err } + case "MySQLCatalogSource": if err := awsAwsjson11_deserializeDocumentMySQLCatalogSource(&sv.MySQLCatalogSource, value); err != nil { return err } + case "MySQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentMySQLCatalogTarget(&sv.MySQLCatalogTarget, value); err != nil { return err } + case "OracleSQLCatalogSource": if err := awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(&sv.OracleSQLCatalogSource, value); err != nil { return err } + case "OracleSQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(&sv.OracleSQLCatalogTarget, value); err != nil { return err } + case "PIIDetection": if err := awsAwsjson11_deserializeDocumentPIIDetection(&sv.PIIDetection, value); err != nil { return err } + case "PostgreSQLCatalogSource": if err := awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(&sv.PostgreSQLCatalogSource, value); err != nil { return err } + case "PostgreSQLCatalogTarget": if err := awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(&sv.PostgreSQLCatalogTarget, value); err != nil { return err } + case "Recipe": if err := awsAwsjson11_deserializeDocumentRecipe(&sv.Recipe, value); err != nil { return err } + case "RedshiftSource": if err := awsAwsjson11_deserializeDocumentRedshiftSource(&sv.RedshiftSource, value); err != nil { return err } + case "RedshiftTarget": if err := awsAwsjson11_deserializeDocumentRedshiftTarget(&sv.RedshiftTarget, value); err != nil { return err } + case "RelationalCatalogSource": if err := awsAwsjson11_deserializeDocumentRelationalCatalogSource(&sv.RelationalCatalogSource, value); err != nil { return err } + case "RenameField": if err := awsAwsjson11_deserializeDocumentRenameField(&sv.RenameField, value); err != nil { return err } + case "S3CatalogDeltaSource": if err := awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(&sv.S3CatalogDeltaSource, value); err != nil { return err } + case "S3CatalogHudiSource": if err := awsAwsjson11_deserializeDocumentS3CatalogHudiSource(&sv.S3CatalogHudiSource, value); err != nil { return err } + case "S3CatalogSource": if err := awsAwsjson11_deserializeDocumentS3CatalogSource(&sv.S3CatalogSource, value); err != nil { return err } + case "S3CatalogTarget": if err := awsAwsjson11_deserializeDocumentS3CatalogTarget(&sv.S3CatalogTarget, value); err != nil { return err } + case "S3CsvSource": if err := awsAwsjson11_deserializeDocumentS3CsvSource(&sv.S3CsvSource, value); err != nil { return err } + case "S3DeltaCatalogTarget": if err := awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(&sv.S3DeltaCatalogTarget, value); err != nil { return err } + case "S3DeltaDirectTarget": if err := awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(&sv.S3DeltaDirectTarget, value); err != nil { return err } + case "S3DeltaSource": if err := awsAwsjson11_deserializeDocumentS3DeltaSource(&sv.S3DeltaSource, value); err != nil { return err } + case "S3DirectTarget": if err := awsAwsjson11_deserializeDocumentS3DirectTarget(&sv.S3DirectTarget, value); err != nil { return err } + case "S3GlueParquetTarget": if err := awsAwsjson11_deserializeDocumentS3GlueParquetTarget(&sv.S3GlueParquetTarget, value); err != nil { return err } + case "S3HudiCatalogTarget": if err := awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(&sv.S3HudiCatalogTarget, value); err != nil { return err } + case "S3HudiDirectTarget": if err := awsAwsjson11_deserializeDocumentS3HudiDirectTarget(&sv.S3HudiDirectTarget, value); err != nil { return err } + case "S3HudiSource": if err := awsAwsjson11_deserializeDocumentS3HudiSource(&sv.S3HudiSource, value); err != nil { return err } + case "S3JsonSource": if err := awsAwsjson11_deserializeDocumentS3JsonSource(&sv.S3JsonSource, value); err != nil { return err } + case "S3ParquetSource": if err := awsAwsjson11_deserializeDocumentS3ParquetSource(&sv.S3ParquetSource, value); err != nil { return err } + case "SelectFields": if err := awsAwsjson11_deserializeDocumentSelectFields(&sv.SelectFields, value); err != nil { return err } + case "SelectFromCollection": if err := awsAwsjson11_deserializeDocumentSelectFromCollection(&sv.SelectFromCollection, value); err != nil { return err } + case "SnowflakeSource": if err := awsAwsjson11_deserializeDocumentSnowflakeSource(&sv.SnowflakeSource, value); err != nil { return err } + case "SnowflakeTarget": if err := awsAwsjson11_deserializeDocumentSnowflakeTarget(&sv.SnowflakeTarget, value); err != nil { return err } + case "SparkConnectorSource": if err := awsAwsjson11_deserializeDocumentSparkConnectorSource(&sv.SparkConnectorSource, value); err != nil { return err } + case "SparkConnectorTarget": if err := awsAwsjson11_deserializeDocumentSparkConnectorTarget(&sv.SparkConnectorTarget, value); err != nil { return err } + case "SparkSQL": if err := awsAwsjson11_deserializeDocumentSparkSQL(&sv.SparkSQL, value); err != nil { return err } + case "Spigot": if err := awsAwsjson11_deserializeDocumentSpigot(&sv.Spigot, value); err != nil { return err } + case "SplitFields": if err := awsAwsjson11_deserializeDocumentSplitFields(&sv.SplitFields, value); err != nil { return err } + case "Union": if err := awsAwsjson11_deserializeDocumentUnion(&sv.Union, value); err != nil { return err } + default: _, _ = key, value @@ -32876,6 +33104,7 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.Source = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -32884,6 +33113,7 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.Target = ptr.String(jtv) } + case "TargetParameter": if value != nil { jtv, ok := value.(string) @@ -32892,6 +33122,7 @@ func awsAwsjson11_deserializeDocumentCodeGenEdge(v **types.CodeGenEdge, value in } sv.TargetParameter = ptr.String(jtv) } + default: _, _ = key, value @@ -32927,6 +33158,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in if err := awsAwsjson11_deserializeDocumentCodeGenNodeArgs(&sv.Args, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -32935,6 +33167,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.Id = ptr.String(jtv) } + case "LineNumber": if value != nil { jtv, ok := value.(json.Number) @@ -32947,6 +33180,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.LineNumber = int32(i64) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -32955,6 +33189,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNode(v **types.CodeGenNode, value in } sv.NodeType = ptr.String(jtv) } + default: _, _ = key, value @@ -32994,6 +33229,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Name = ptr.String(jtv) } + case "Param": if value != nil { jtv, ok := value.(bool) @@ -33002,6 +33238,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Param = jtv } + case "Value": if value != nil { jtv, ok := value.(string) @@ -33010,6 +33247,7 @@ func awsAwsjson11_deserializeDocumentCodeGenNodeArg(v **types.CodeGenNodeArg, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -33083,6 +33321,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Comment = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33091,10 +33330,12 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -33103,6 +33344,7 @@ func awsAwsjson11_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -33142,10 +33384,12 @@ func awsAwsjson11_deserializeDocumentColumnError(v **types.ColumnError, value in } sv.ColumnName = ptr.String(jtv) } + case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -33219,6 +33463,7 @@ func awsAwsjson11_deserializeDocumentColumnImportance(v **types.ColumnImportance } sv.ColumnName = ptr.String(jtv) } + case "Importance": if value != nil { switch jtv := value.(type) { @@ -33252,6 +33497,7 @@ func awsAwsjson11_deserializeDocumentColumnImportance(v **types.ColumnImportance } } + default: _, _ = key, value @@ -33395,6 +33641,7 @@ func awsAwsjson11_deserializeDocumentColumnRowFilter(v **types.ColumnRowFilter, } sv.ColumnName = ptr.String(jtv) } + case "RowFilterExpression": if value != nil { jtv, ok := value.(string) @@ -33403,6 +33650,7 @@ func awsAwsjson11_deserializeDocumentColumnRowFilter(v **types.ColumnRowFilter, } sv.RowFilterExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -33483,6 +33731,7 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } } + case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -33491,6 +33740,7 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } sv.ColumnName = ptr.String(jtv) } + case "ColumnType": if value != nil { jtv, ok := value.(string) @@ -33499,10 +33749,12 @@ func awsAwsjson11_deserializeDocumentColumnStatistics(v **types.ColumnStatistics } sv.ColumnType = ptr.String(jtv) } + case "StatisticsData": if err := awsAwsjson11_deserializeDocumentColumnStatisticsData(&sv.StatisticsData, value); err != nil { return err } + default: _, _ = key, value @@ -33538,30 +33790,37 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsData(v **types.ColumnStatis if err := awsAwsjson11_deserializeDocumentBinaryColumnStatisticsData(&sv.BinaryColumnStatisticsData, value); err != nil { return err } + case "BooleanColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentBooleanColumnStatisticsData(&sv.BooleanColumnStatisticsData, value); err != nil { return err } + case "DateColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDateColumnStatisticsData(&sv.DateColumnStatisticsData, value); err != nil { return err } + case "DecimalColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(&sv.DecimalColumnStatisticsData, value); err != nil { return err } + case "DoubleColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(&sv.DoubleColumnStatisticsData, value); err != nil { return err } + case "LongColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentLongColumnStatisticsData(&sv.LongColumnStatisticsData, value); err != nil { return err } + case "StringColumnStatisticsData": if err := awsAwsjson11_deserializeDocumentStringColumnStatisticsData(&sv.StringColumnStatisticsData, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -33570,6 +33829,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsData(v **types.ColumnStatis } sv.Type = types.ColumnStatisticsType(jtv) } + default: _, _ = key, value @@ -33605,10 +33865,12 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsError(v **types.ColumnStati if err := awsAwsjson11_deserializeDocumentColumnStatistics(&sv.ColumnStatistics, value); err != nil { return err } + case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -33716,6 +33978,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskNotRunningException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33755,10 +34018,12 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.CatalogID = ptr.String(jtv) } + case "ColumnNameList": if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnNameList, value); err != nil { return err } + case "ColumnStatisticsTaskRunId": if value != nil { jtv, ok := value.(string) @@ -33767,6 +34032,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ColumnStatisticsTaskRunId = ptr.String(jtv) } + case "ComputationType": if value != nil { jtv, ok := value.(string) @@ -33775,6 +34041,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ComputationType = types.ComputationType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -33790,6 +34057,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "CustomerId": if value != nil { jtv, ok := value.(string) @@ -33798,6 +34066,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.CustomerId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -33806,6 +34075,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.DatabaseName = ptr.String(jtv) } + case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -33839,6 +34109,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -33854,6 +34125,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -33862,6 +34134,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -33877,6 +34150,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -33889,6 +34163,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.NumberOfWorkers = int32(i64) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -33897,6 +34172,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.Role = ptr.String(jtv) } + case "SampleSize": if value != nil { switch jtv := value.(type) { @@ -33930,6 +34206,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -33938,6 +34215,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.SecurityConfiguration = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -33953,6 +34231,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -33961,6 +34240,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.Status = types.ColumnStatisticsState(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -33969,6 +34249,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.TableName = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -33977,6 +34258,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(v **types.ColumnSta } sv.WorkerType = ptr.String(jtv) } + default: _, _ = key, value @@ -34052,6 +34334,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunningException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34125,10 +34408,12 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.CatalogID = ptr.String(jtv) } + case "ColumnNameList": if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnNameList, value); err != nil { return err } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -34137,6 +34422,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.DatabaseName = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -34145,6 +34431,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.Role = ptr.String(jtv) } + case "SampleSize": if value != nil { switch jtv := value.(type) { @@ -34178,10 +34465,12 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } } + case "Schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -34190,6 +34479,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.SecurityConfiguration = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -34198,6 +34488,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(v **types.Colu } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -34237,6 +34528,7 @@ func awsAwsjson11_deserializeDocumentColumnStatisticsTaskStoppingException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34308,6 +34600,7 @@ func awsAwsjson11_deserializeDocumentCompactionMetrics(v **types.CompactionMetri if err := awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(&sv.IcebergMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -34347,6 +34640,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34386,6 +34680,7 @@ func awsAwsjson11_deserializeDocumentConcurrentRunsExceededException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34425,6 +34720,7 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.CrawlerName = ptr.String(jtv) } + case "CrawlState": if value != nil { jtv, ok := value.(string) @@ -34433,6 +34729,7 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.CrawlState = types.CrawlState(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -34441,6 +34738,7 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.JobName = ptr.String(jtv) } + case "LogicalOperator": if value != nil { jtv, ok := value.(string) @@ -34449,6 +34747,7 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.LogicalOperator = types.LogicalOperator(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -34457,6 +34756,7 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf } sv.State = types.JobRunState(jtv) } + default: _, _ = key, value @@ -34496,6 +34796,7 @@ func awsAwsjson11_deserializeDocumentConditionCheckFailureException(v **types.Co } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34535,6 +34836,7 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Condition = ptr.String(jtv) } + case "TargetColumn": if value != nil { jtv, ok := value.(string) @@ -34543,6 +34845,7 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.TargetColumn = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -34551,6 +34854,7 @@ func awsAwsjson11_deserializeDocumentConditionExpression(v **types.ConditionExpr } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -34689,6 +34993,7 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration if err := awsAwsjson11_deserializeDocumentAllowedValuesStringList(&sv.AllowedValues, value); err != nil { return err } + case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -34697,6 +35002,7 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.DefaultValue = ptr.String(jtv) } + case "MaxValue": if value != nil { jtv, ok := value.(string) @@ -34705,6 +35011,7 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -34713,6 +35020,7 @@ func awsAwsjson11_deserializeDocumentConfigurationObject(v **types.Configuration } sv.MinValue = ptr.String(jtv) } + default: _, _ = key, value @@ -34752,6 +35060,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34795,6 +35104,7 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumFalseNegatives = ptr.Int64(i64) } + case "NumFalsePositives": if value != nil { jtv, ok := value.(json.Number) @@ -34807,6 +35117,7 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumFalsePositives = ptr.Int64(i64) } + case "NumTrueNegatives": if value != nil { jtv, ok := value.(json.Number) @@ -34819,6 +35130,7 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumTrueNegatives = ptr.Int64(i64) } + case "NumTruePositives": if value != nil { jtv, ok := value.(json.Number) @@ -34831,6 +35143,7 @@ func awsAwsjson11_deserializeDocumentConfusionMatrix(v **types.ConfusionMatrix, } sv.NumTruePositives = ptr.Int64(i64) } + default: _, _ = key, value @@ -34866,14 +35179,17 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte if err := awsAwsjson11_deserializeDocumentPropertyMap(&sv.AthenaProperties, value); err != nil { return err } + case "AuthenticationConfiguration": if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "ConnectionProperties": if err := awsAwsjson11_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -34882,6 +35198,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionType = types.ConnectionType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -34897,6 +35214,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -34905,6 +35223,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Description = ptr.String(jtv) } + case "LastConnectionValidationTime": if value != nil { switch jtv := value.(type) { @@ -34920,6 +35239,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -34928,6 +35248,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.LastUpdatedBy = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -34943,10 +35264,12 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } } + case "MatchCriteria": if err := awsAwsjson11_deserializeDocumentMatchCriteria(&sv.MatchCriteria, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -34955,10 +35278,12 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Name = ptr.String(jtv) } + case "PhysicalConnectionRequirements": if err := awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(&sv.PhysicalConnectionRequirements, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -34967,6 +35292,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.Status = types.ConnectionStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -34975,6 +35301,7 @@ func awsAwsjson11_deserializeDocumentConnection(v **types.Connection, value inte } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -35048,6 +35375,7 @@ func awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(v **types.Conn } sv.AwsKmsKeyId = ptr.String(jtv) } + case "ReturnConnectionPasswordEncrypted": if value != nil { jtv, ok := value.(bool) @@ -35056,6 +35384,7 @@ func awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(v **types.Conn } sv.ReturnConnectionPasswordEncrypted = jtv } + default: _, _ = key, value @@ -35127,6 +35456,7 @@ func awsAwsjson11_deserializeDocumentConnectionsList(v **types.ConnectionsList, if err := awsAwsjson11_deserializeDocumentOrchestrationStringList(&sv.Connections, value); err != nil { return err } + default: _, _ = key, value @@ -35166,10 +35496,12 @@ func awsAwsjson11_deserializeDocumentConnectorDataSource(v **types.ConnectorData } sv.ConnectionType = ptr.String(jtv) } + case "Data": if err := awsAwsjson11_deserializeDocumentConnectorOptions(&sv.Data, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35178,10 +35510,12 @@ func awsAwsjson11_deserializeDocumentConnectorDataSource(v **types.ConnectorData } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -35221,14 +35555,17 @@ func awsAwsjson11_deserializeDocumentConnectorDataTarget(v **types.ConnectorData } sv.ConnectionType = ptr.String(jtv) } + case "Data": if err := awsAwsjson11_deserializeDocumentConnectorOptions(&sv.Data, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35237,6 +35574,7 @@ func awsAwsjson11_deserializeDocumentConnectorDataTarget(v **types.ConnectorData } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -35355,6 +35693,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -35363,6 +35702,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.ErrorMessage = ptr.String(jtv) } + case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -35371,6 +35711,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.LogGroup = ptr.String(jtv) } + case "LogStream": if value != nil { jtv, ok := value.(string) @@ -35379,6 +35720,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.LogStream = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -35394,6 +35736,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } } + case "State": if value != nil { jtv, ok := value.(string) @@ -35402,6 +35745,7 @@ func awsAwsjson11_deserializeDocumentCrawl(v **types.Crawl, value interface{}) e } sv.State = types.CrawlState(jtv) } + default: _, _ = key, value @@ -35437,6 +35781,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ if err := awsAwsjson11_deserializeDocumentClassifierNameList(&sv.Classifiers, value); err != nil { return err } + case "Configuration": if value != nil { jtv, ok := value.(string) @@ -35445,6 +35790,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Configuration = ptr.String(jtv) } + case "CrawlElapsedTime": if value != nil { jtv, ok := value.(json.Number) @@ -35457,6 +35803,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.CrawlElapsedTime = i64 } + case "CrawlerSecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -35465,6 +35812,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.CrawlerSecurityConfiguration = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -35480,6 +35828,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -35488,6 +35837,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.DatabaseName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -35496,14 +35846,17 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Description = ptr.String(jtv) } + case "LakeFormationConfiguration": if err := awsAwsjson11_deserializeDocumentLakeFormationConfiguration(&sv.LakeFormationConfiguration, value); err != nil { return err } + case "LastCrawl": if err := awsAwsjson11_deserializeDocumentLastCrawlInfo(&sv.LastCrawl, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -35519,10 +35872,12 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } } + case "LineageConfiguration": if err := awsAwsjson11_deserializeDocumentLineageConfiguration(&sv.LineageConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35531,10 +35886,12 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Name = ptr.String(jtv) } + case "RecrawlPolicy": if err := awsAwsjson11_deserializeDocumentRecrawlPolicy(&sv.RecrawlPolicy, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -35543,14 +35900,17 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Role = ptr.String(jtv) } + case "Schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -35559,6 +35919,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.State = types.CrawlerState(jtv) } + case "TablePrefix": if value != nil { jtv, ok := value.(string) @@ -35567,10 +35928,12 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.TablePrefix = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentCrawlerTargets(&sv.Targets, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -35583,6 +35946,7 @@ func awsAwsjson11_deserializeDocumentCrawler(v **types.Crawler, value interface{ } sv.Version = i64 } + default: _, _ = key, value @@ -35622,6 +35986,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.CrawlId = ptr.String(jtv) } + case "DPUHour": if value != nil { switch jtv := value.(type) { @@ -35655,6 +36020,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -35670,6 +36036,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -35678,6 +36045,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.ErrorMessage = ptr.String(jtv) } + case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -35686,6 +36054,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.LogGroup = ptr.String(jtv) } + case "LogStream": if value != nil { jtv, ok := value.(string) @@ -35694,6 +36063,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.LogStream = ptr.String(jtv) } + case "MessagePrefix": if value != nil { jtv, ok := value.(string) @@ -35702,6 +36072,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.MessagePrefix = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -35717,6 +36088,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } } + case "State": if value != nil { jtv, ok := value.(string) @@ -35725,6 +36097,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.State = types.CrawlerHistoryState(jtv) } + case "Summary": if value != nil { jtv, ok := value.(string) @@ -35733,6 +36106,7 @@ func awsAwsjson11_deserializeDocumentCrawlerHistory(v **types.CrawlerHistory, va } sv.Summary = ptr.String(jtv) } + default: _, _ = key, value @@ -35840,6 +36214,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.CrawlerName = ptr.String(jtv) } + case "LastRuntimeSeconds": if value != nil { switch jtv := value.(type) { @@ -35873,6 +36248,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } + case "MedianRuntimeSeconds": if value != nil { switch jtv := value.(type) { @@ -35906,6 +36282,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } + case "StillEstimating": if value != nil { jtv, ok := value.(bool) @@ -35914,6 +36291,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.StillEstimating = jtv } + case "TablesCreated": if value != nil { jtv, ok := value.(json.Number) @@ -35926,6 +36304,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesCreated = int32(i64) } + case "TablesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -35938,6 +36317,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesDeleted = int32(i64) } + case "TablesUpdated": if value != nil { jtv, ok := value.(json.Number) @@ -35950,6 +36330,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } sv.TablesUpdated = int32(i64) } + case "TimeLeftSeconds": if value != nil { switch jtv := value.(type) { @@ -35983,6 +36364,7 @@ func awsAwsjson11_deserializeDocumentCrawlerMetrics(v **types.CrawlerMetrics, va } } + default: _, _ = key, value @@ -36088,6 +36470,7 @@ func awsAwsjson11_deserializeDocumentCrawlerNodeDetails(v **types.CrawlerNodeDet if err := awsAwsjson11_deserializeDocumentCrawlList(&sv.Crawls, value); err != nil { return err } + default: _, _ = key, value @@ -36127,6 +36510,7 @@ func awsAwsjson11_deserializeDocumentCrawlerNotRunningException(v **types.Crawle } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36166,6 +36550,7 @@ func awsAwsjson11_deserializeDocumentCrawlerRunningException(v **types.CrawlerRu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36205,6 +36590,7 @@ func awsAwsjson11_deserializeDocumentCrawlerStoppingException(v **types.CrawlerS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36240,34 +36626,42 @@ func awsAwsjson11_deserializeDocumentCrawlerTargets(v **types.CrawlerTargets, va if err := awsAwsjson11_deserializeDocumentCatalogTargetList(&sv.CatalogTargets, value); err != nil { return err } + case "DeltaTargets": if err := awsAwsjson11_deserializeDocumentDeltaTargetList(&sv.DeltaTargets, value); err != nil { return err } + case "DynamoDBTargets": if err := awsAwsjson11_deserializeDocumentDynamoDBTargetList(&sv.DynamoDBTargets, value); err != nil { return err } + case "HudiTargets": if err := awsAwsjson11_deserializeDocumentHudiTargetList(&sv.HudiTargets, value); err != nil { return err } + case "IcebergTargets": if err := awsAwsjson11_deserializeDocumentIcebergTargetList(&sv.IcebergTargets, value); err != nil { return err } + case "JdbcTargets": if err := awsAwsjson11_deserializeDocumentJdbcTargetList(&sv.JdbcTargets, value); err != nil { return err } + case "MongoDBTargets": if err := awsAwsjson11_deserializeDocumentMongoDBTargetList(&sv.MongoDBTargets, value); err != nil { return err } + case "S3Targets": if err := awsAwsjson11_deserializeDocumentS3TargetList(&sv.S3Targets, value); err != nil { return err } + default: _, _ = key, value @@ -36341,6 +36735,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.AllowSingleColumn = ptr.Bool(jtv) } + case "ContainsHeader": if value != nil { jtv, ok := value.(string) @@ -36349,6 +36744,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.ContainsHeader = types.CsvHeaderOption(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -36364,6 +36760,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } } + case "CustomDatatypeConfigured": if value != nil { jtv, ok := value.(bool) @@ -36372,10 +36769,12 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.CustomDatatypeConfigured = ptr.Bool(jtv) } + case "CustomDatatypes": if err := awsAwsjson11_deserializeDocumentCustomDatatypes(&sv.CustomDatatypes, value); err != nil { return err } + case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -36384,6 +36783,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Delimiter = ptr.String(jtv) } + case "DisableValueTrimming": if value != nil { jtv, ok := value.(bool) @@ -36392,10 +36792,12 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.DisableValueTrimming = ptr.Bool(jtv) } + case "Header": if err := awsAwsjson11_deserializeDocumentCsvHeader(&sv.Header, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -36411,6 +36813,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36419,6 +36822,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Name = ptr.String(jtv) } + case "QuoteSymbol": if value != nil { jtv, ok := value.(string) @@ -36427,6 +36831,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.QuoteSymbol = ptr.String(jtv) } + case "Serde": if value != nil { jtv, ok := value.(string) @@ -36435,6 +36840,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Serde = types.CsvSerdeOption(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -36447,6 +36853,7 @@ func awsAwsjson11_deserializeDocumentCsvClassifier(v **types.CsvClassifier, valu } sv.Version = i64 } + default: _, _ = key, value @@ -36522,6 +36929,7 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.ClassName = ptr.String(jtv) } + case "Code": if value != nil { jtv, ok := value.(string) @@ -36530,10 +36938,12 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.Code = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36542,10 +36952,12 @@ func awsAwsjson11_deserializeDocumentCustomCode(v **types.CustomCode, value inte } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -36617,6 +37029,7 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType if err := awsAwsjson11_deserializeDocumentContextWords(&sv.ContextWords, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36625,6 +37038,7 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType } sv.Name = ptr.String(jtv) } + case "RegexString": if value != nil { jtv, ok := value.(string) @@ -36633,6 +37047,7 @@ func awsAwsjson11_deserializeDocumentCustomEntityType(v **types.CustomEntityType } sv.RegexString = ptr.String(jtv) } + default: _, _ = key, value @@ -36810,10 +37225,12 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.CatalogId = ptr.String(jtv) } + case "CreateTableDefaultPermissions": if err := awsAwsjson11_deserializeDocumentPrincipalPermissionsList(&sv.CreateTableDefaultPermissions, value); err != nil { return err } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -36829,6 +37246,7 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36837,10 +37255,12 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Description = ptr.String(jtv) } + case "FederatedDatabase": if err := awsAwsjson11_deserializeDocumentFederatedDatabase(&sv.FederatedDatabase, value); err != nil { return err } + case "LocationUri": if value != nil { jtv, ok := value.(string) @@ -36849,6 +37269,7 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.LocationUri = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36857,14 +37278,17 @@ func awsAwsjson11_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "TargetDatabase": if err := awsAwsjson11_deserializeDocumentDatabaseIdentifier(&sv.TargetDatabase, value); err != nil { return err } + default: _, _ = key, value @@ -36904,6 +37328,7 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -36912,6 +37337,7 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.DatabaseName = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -36920,6 +37346,7 @@ func awsAwsjson11_deserializeDocumentDatabaseIdentifier(v **types.DatabaseIdenti } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -36989,10 +37416,12 @@ func awsAwsjson11_deserializeDocumentDataCatalogEncryptionSettings(v **types.Dat if err := awsAwsjson11_deserializeDocumentConnectionPasswordEncryption(&sv.ConnectionPasswordEncryption, value); err != nil { return err } + case "EncryptionAtRest": if err := awsAwsjson11_deserializeDocumentEncryptionAtRest(&sv.EncryptionAtRest, value); err != nil { return err } + default: _, _ = key, value @@ -37032,6 +37461,7 @@ func awsAwsjson11_deserializeDocumentDataLakePrincipal(v **types.DataLakePrincip } sv.DataLakePrincipalIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -37071,10 +37501,12 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.Description = ptr.String(jtv) } + case "EvaluatedMetrics": if err := awsAwsjson11_deserializeDocumentEvaluatedMetricsMap(&sv.EvaluatedMetrics, value); err != nil { return err } + case "EvaluationMessage": if value != nil { jtv, ok := value.(string) @@ -37083,6 +37515,7 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.EvaluationMessage = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -37091,6 +37524,7 @@ func awsAwsjson11_deserializeDocumentDataQualityAnalyzerResult(v **types.DataQua } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -37164,6 +37598,7 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } + case "CompositeRuleEvaluationMethod": if value != nil { jtv, ok := value.(string) @@ -37172,6 +37607,7 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.CompositeRuleEvaluationMethod = types.DQCompositeRuleEvaluationMethod(jtv) } + case "ResultsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -37180,6 +37616,7 @@ func awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOption } sv.ResultsS3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -37244,6 +37681,7 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } + case "ExpectedValue": if value != nil { switch jtv := value.(type) { @@ -37277,6 +37715,7 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } + case "LowerLimit": if value != nil { switch jtv := value.(type) { @@ -37310,6 +37749,7 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } + case "UpperLimit": if value != nil { switch jtv := value.(type) { @@ -37343,6 +37783,7 @@ func awsAwsjson11_deserializeDocumentDataQualityMetricValues(v **types.DataQuali } } + default: _, _ = key, value @@ -37382,10 +37823,12 @@ func awsAwsjson11_deserializeDocumentDataQualityObservation(v **types.DataQualit } sv.Description = ptr.String(jtv) } + case "MetricBasedObservation": if err := awsAwsjson11_deserializeDocumentMetricBasedObservation(&sv.MetricBasedObservation, value); err != nil { return err } + default: _, _ = key, value @@ -37455,6 +37898,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu if err := awsAwsjson11_deserializeDocumentDataQualityAnalyzerResults(&sv.AnalyzerResults, value); err != nil { return err } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -37470,10 +37914,12 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -37482,6 +37928,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.EvaluationContext = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -37490,6 +37937,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -37498,10 +37946,12 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.JobRunId = ptr.String(jtv) } + case "Observations": if err := awsAwsjson11_deserializeDocumentDataQualityObservations(&sv.Observations, value); err != nil { return err } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -37510,6 +37960,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.ProfileId = ptr.String(jtv) } + case "ResultId": if value != nil { jtv, ok := value.(string) @@ -37518,10 +37969,12 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.ResultId = ptr.String(jtv) } + case "RuleResults": if err := awsAwsjson11_deserializeDocumentDataQualityRuleResults(&sv.RuleResults, value); err != nil { return err } + case "RulesetEvaluationRunId": if value != nil { jtv, ok := value.(string) @@ -37530,6 +37983,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.RulesetEvaluationRunId = ptr.String(jtv) } + case "RulesetName": if value != nil { jtv, ok := value.(string) @@ -37538,6 +37992,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } sv.RulesetName = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -37571,6 +38026,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -37586,6 +38042,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResult(v **types.DataQualityResu } } + default: _, _ = key, value @@ -37621,6 +38078,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -37629,6 +38087,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -37637,6 +38096,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.JobRunId = ptr.String(jtv) } + case "ResultId": if value != nil { jtv, ok := value.(string) @@ -37645,6 +38105,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } sv.ResultId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -37660,6 +38121,7 @@ func awsAwsjson11_deserializeDocumentDataQualityResultDescription(v **types.Data } } + default: _, _ = key, value @@ -37835,6 +38297,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -37843,6 +38306,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } sv.RunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -37858,6 +38322,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37866,6 +38331,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunDescription } sv.Status = types.TaskStatusType(jtv) } + default: _, _ = key, value @@ -37939,10 +38405,12 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Description = ptr.String(jtv) } + case "EvaluatedMetrics": if err := awsAwsjson11_deserializeDocumentEvaluatedMetricsMap(&sv.EvaluatedMetrics, value); err != nil { return err } + case "EvaluatedRule": if value != nil { jtv, ok := value.(string) @@ -37951,6 +38419,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.EvaluatedRule = ptr.String(jtv) } + case "EvaluationMessage": if value != nil { jtv, ok := value.(string) @@ -37959,6 +38428,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.EvaluationMessage = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -37967,6 +38437,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Name = ptr.String(jtv) } + case "Result": if value != nil { jtv, ok := value.(string) @@ -37975,6 +38446,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRuleResult(v **types.DataQuality } sv.Result = types.DataQualityRuleResultStatus(jtv) } + default: _, _ = key, value @@ -38044,6 +38516,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -38052,6 +38525,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } sv.RunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -38067,6 +38541,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -38075,6 +38550,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunDescription( } sv.Status = types.TaskStatusType(jtv) } + default: _, _ = key, value @@ -38189,6 +38665,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -38197,6 +38674,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.Description = ptr.String(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -38212,6 +38690,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38220,6 +38699,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.Name = ptr.String(jtv) } + case "RecommendationRunId": if value != nil { jtv, ok := value.(string) @@ -38228,6 +38708,7 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.RecommendationRunId = ptr.String(jtv) } + case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -38240,10 +38721,12 @@ func awsAwsjson11_deserializeDocumentDataQualityRulesetListDetails(v **types.Dat } sv.RuleCount = ptr.Int32(int32(i64)) } + case "TargetTable": if err := awsAwsjson11_deserializeDocumentDataQualityTargetTable(&sv.TargetTable, value); err != nil { return err } + default: _, _ = key, value @@ -38283,6 +38766,7 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -38291,6 +38775,7 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.DatabaseName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -38299,6 +38784,7 @@ func awsAwsjson11_deserializeDocumentDataQualityTargetTable(v **types.DataQualit } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -38334,6 +38820,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentGlueTable(&sv.GlueTable, value); err != nil { return err } + default: _, _ = key, value @@ -38408,6 +38895,7 @@ func awsAwsjson11_deserializeDocumentDatatype(v **types.Datatype, value interfac } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -38416,6 +38904,7 @@ func awsAwsjson11_deserializeDocumentDatatype(v **types.Datatype, value interfac } sv.Label = ptr.String(jtv) } + default: _, _ = key, value @@ -38462,6 +38951,7 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } } + case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -38477,6 +38967,7 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } } + case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -38489,6 +38980,7 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } sv.NumberOfDistinctValues = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -38501,6 +38993,7 @@ func awsAwsjson11_deserializeDocumentDateColumnStatisticsData(v **types.DateColu } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -38536,10 +39029,12 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim if err := awsAwsjson11_deserializeDocumentDecimalNumber(&sv.MaximumValue, value); err != nil { return err } + case "MinimumValue": if err := awsAwsjson11_deserializeDocumentDecimalNumber(&sv.MinimumValue, value); err != nil { return err } + case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -38552,6 +39047,7 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim } sv.NumberOfDistinctValues = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -38564,6 +39060,7 @@ func awsAwsjson11_deserializeDocumentDecimalColumnStatisticsData(v **types.Decim } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -38607,6 +39104,7 @@ func awsAwsjson11_deserializeDocumentDecimalNumber(v **types.DecimalNumber, valu } sv.Scale = int32(i64) } + case "UnscaledValue": if value != nil { jtv, ok := value.(string) @@ -38619,6 +39117,7 @@ func awsAwsjson11_deserializeDocumentDecimalNumber(v **types.DecimalNumber, valu } sv.UnscaledValue = dv } + default: _, _ = key, value @@ -38658,6 +39157,7 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.ConnectionName = ptr.String(jtv) } + case "CreateNativeDeltaTable": if value != nil { jtv, ok := value.(bool) @@ -38666,10 +39166,12 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.CreateNativeDeltaTable = ptr.Bool(jtv) } + case "DeltaTables": if err := awsAwsjson11_deserializeDocumentPathList(&sv.DeltaTables, value); err != nil { return err } + case "WriteManifest": if value != nil { jtv, ok := value.(bool) @@ -38678,6 +39180,7 @@ func awsAwsjson11_deserializeDocumentDeltaTarget(v **types.DeltaTarget, value in } sv.WriteManifest = ptr.Bool(jtv) } + default: _, _ = key, value @@ -38747,6 +39250,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in if err := awsAwsjson11_deserializeDocumentMapValue(&sv.Arguments, value); err != nil { return err } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -38755,6 +39259,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.AvailabilityZone = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -38770,6 +39275,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -38778,6 +39284,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.EndpointName = ptr.String(jtv) } + case "ExtraJarsS3Path": if value != nil { jtv, ok := value.(string) @@ -38786,6 +39293,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ExtraJarsS3Path = ptr.String(jtv) } + case "ExtraPythonLibsS3Path": if value != nil { jtv, ok := value.(string) @@ -38794,6 +39302,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ExtraPythonLibsS3Path = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -38802,6 +39311,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.FailureReason = ptr.String(jtv) } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -38810,6 +39320,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.GlueVersion = ptr.String(jtv) } + case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -38825,6 +39336,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -38833,6 +39345,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.LastUpdateStatus = ptr.String(jtv) } + case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -38845,6 +39358,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.NumberOfNodes = int32(i64) } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -38857,6 +39371,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "PrivateAddress": if value != nil { jtv, ok := value.(string) @@ -38865,6 +39380,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PrivateAddress = ptr.String(jtv) } + case "PublicAddress": if value != nil { jtv, ok := value.(string) @@ -38873,6 +39389,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PublicAddress = ptr.String(jtv) } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -38881,10 +39398,12 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.PublicKey = ptr.String(jtv) } + case "PublicKeys": if err := awsAwsjson11_deserializeDocumentPublicKeysList(&sv.PublicKeys, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -38893,6 +39412,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.RoleArn = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -38901,10 +39421,12 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.SecurityConfiguration = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -38913,6 +39435,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.Status = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -38921,6 +39444,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -38929,6 +39453,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.VpcId = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -38937,6 +39462,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.WorkerType = types.WorkerType(jtv) } + case "YarnEndpointAddress": if value != nil { jtv, ok := value.(string) @@ -38945,6 +39471,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.YarnEndpointAddress = ptr.String(jtv) } + case "ZeppelinRemoteSparkInterpreterPort": if value != nil { jtv, ok := value.(json.Number) @@ -38957,6 +39484,7 @@ func awsAwsjson11_deserializeDocumentDevEndpoint(v **types.DevEndpoint, value in } sv.ZeppelinRemoteSparkInterpreterPort = int32(i64) } + default: _, _ = key, value @@ -39102,6 +39630,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -39110,6 +39639,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.ConnectionType = types.JDBCConnectionType(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -39118,6 +39648,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39126,6 +39657,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Name = ptr.String(jtv) } + case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -39134,6 +39666,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.RedshiftTmpDir = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -39142,6 +39675,7 @@ func awsAwsjson11_deserializeDocumentDirectJDBCSource(v **types.DirectJDBCSource } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -39177,6 +39711,7 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } + case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -39185,6 +39720,7 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.DetectSchema = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39193,10 +39729,12 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.Name = ptr.String(jtv) } + case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } + case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -39209,6 +39747,7 @@ func awsAwsjson11_deserializeDocumentDirectKafkaSource(v **types.DirectKafkaSour } sv.WindowSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39244,6 +39783,7 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis if err := awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(&sv.DataPreviewOptions, value); err != nil { return err } + case "DetectSchema": if value != nil { jtv, ok := value.(bool) @@ -39252,6 +39792,7 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.DetectSchema = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39260,10 +39801,12 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.Name = ptr.String(jtv) } + case "StreamingOptions": if err := awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(&sv.StreamingOptions, value); err != nil { return err } + case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -39276,6 +39819,7 @@ func awsAwsjson11_deserializeDocumentDirectKinesisSource(v **types.DirectKinesis } sv.WindowSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39315,6 +39859,7 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.Database = ptr.String(jtv) } + case "EnableUpdateCatalog": if value != nil { jtv, ok := value.(bool) @@ -39323,6 +39868,7 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.EnableUpdateCatalog = ptr.Bool(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -39331,6 +39877,7 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.Table = ptr.String(jtv) } + case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -39339,6 +39886,7 @@ func awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(v **types.DirectSc } sv.UpdateBehavior = types.UpdateCatalogBehavior(jtv) } + default: _, _ = key, value @@ -39403,6 +39951,7 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } } + case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -39436,6 +39985,7 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } } + case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -39448,6 +39998,7 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } sv.NumberOfDistinctValues = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -39460,6 +40011,7 @@ func awsAwsjson11_deserializeDocumentDoubleColumnStatisticsData(v **types.Double } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -39571,6 +40123,7 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } + case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -39579,6 +40132,7 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.EvaluationContext = ptr.String(jtv) } + case "ResultsPublishingEnabled": if value != nil { jtv, ok := value.(bool) @@ -39587,6 +40141,7 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.ResultsPublishingEnabled = ptr.Bool(jtv) } + case "ResultsS3Prefix": if value != nil { jtv, ok := value.(string) @@ -39595,6 +40150,7 @@ func awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(v **types.DQResu } sv.ResultsS3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -39634,6 +40190,7 @@ func awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(v **types.DQStopJ } sv.StopJobOnFailureTiming = types.DQStopJobOnFailureTiming(jtv) } + default: _, _ = key, value @@ -39669,10 +40226,12 @@ func awsAwsjson11_deserializeDocumentDropDuplicates(v **types.DropDuplicates, va if err := awsAwsjson11_deserializeDocumentLimitedPathList(&sv.Columns, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39681,6 +40240,7 @@ func awsAwsjson11_deserializeDocumentDropDuplicates(v **types.DropDuplicates, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -39716,6 +40276,7 @@ func awsAwsjson11_deserializeDocumentDropFields(v **types.DropFields, value inte if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39724,10 +40285,12 @@ func awsAwsjson11_deserializeDocumentDropFields(v **types.DropFields, value inte } sv.Name = ptr.String(jtv) } + case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -39763,6 +40326,7 @@ func awsAwsjson11_deserializeDocumentDropNullFields(v **types.DropNullFields, va if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39771,14 +40335,17 @@ func awsAwsjson11_deserializeDocumentDropNullFields(v **types.DropNullFields, va } sv.Name = ptr.String(jtv) } + case "NullCheckBoxList": if err := awsAwsjson11_deserializeDocumentNullCheckBoxList(&sv.NullCheckBoxList, value); err != nil { return err } + case "NullTextList": if err := awsAwsjson11_deserializeDocumentNullValueFields(&sv.NullTextList, value); err != nil { return err } + default: _, _ = key, value @@ -39818,10 +40385,12 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.FunctionName = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39830,14 +40399,17 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformConfigParameterList(&sv.Parameters, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -39846,6 +40418,7 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Path = ptr.String(jtv) } + case "TransformName": if value != nil { jtv, ok := value.(string) @@ -39854,6 +40427,7 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.TransformName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -39862,6 +40436,7 @@ func awsAwsjson11_deserializeDocumentDynamicTransform(v **types.DynamicTransform } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -39901,6 +40476,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39909,6 +40485,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -39917,6 +40494,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBCatalogSource(v **types.DynamoDBCat } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -39956,6 +40534,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } sv.Path = ptr.String(jtv) } + case "scanAll": if value != nil { jtv, ok := value.(bool) @@ -39964,6 +40543,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } sv.ScanAll = ptr.Bool(jtv) } + case "scanRate": if value != nil { switch jtv := value.(type) { @@ -39997,6 +40577,7 @@ func awsAwsjson11_deserializeDocumentDynamoDBTarget(v **types.DynamoDBTarget, va } } + default: _, _ = key, value @@ -40070,6 +40651,7 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.DestinationId = ptr.String(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -40078,6 +40660,7 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.SourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -40259,6 +40842,7 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.CatalogEncryptionMode = types.CatalogEncryptionMode(jtv) } + case "CatalogEncryptionServiceRole": if value != nil { jtv, ok := value.(string) @@ -40267,6 +40851,7 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.CatalogEncryptionServiceRole = ptr.String(jtv) } + case "SseAwsKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40275,6 +40860,7 @@ func awsAwsjson11_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.SseAwsKmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -40310,14 +40896,17 @@ func awsAwsjson11_deserializeDocumentEncryptionConfiguration(v **types.Encryptio if err := awsAwsjson11_deserializeDocumentCloudWatchEncryption(&sv.CloudWatchEncryption, value); err != nil { return err } + case "JobBookmarksEncryption": if err := awsAwsjson11_deserializeDocumentJobBookmarksEncryption(&sv.JobBookmarksEncryption, value); err != nil { return err } + case "S3Encryption": if err := awsAwsjson11_deserializeDocumentS3EncryptionList(&sv.S3Encryption, value); err != nil { return err } + default: _, _ = key, value @@ -40357,6 +40946,7 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.FromFederationSource = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -40365,6 +40955,7 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -40439,6 +41030,7 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -40447,6 +41039,7 @@ func awsAwsjson11_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -40486,6 +41079,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -40494,6 +41088,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -40529,6 +41124,7 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40537,6 +41133,7 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Name = ptr.String(jtv) } + case "Output": if value != nil { jtv, ok := value.(string) @@ -40545,10 +41142,12 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Output = types.DQTransformOutput(jtv) } + case "PublishingOptions": if err := awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(&sv.PublishingOptions, value); err != nil { return err } + case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -40557,10 +41156,12 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQuality(v **types.EvaluateDataQ } sv.Ruleset = ptr.String(jtv) } + case "StopJobOnFailureOptions": if err := awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(&sv.StopJobOnFailureOptions, value); err != nil { return err } + default: _, _ = key, value @@ -40596,14 +41197,17 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva if err := awsAwsjson11_deserializeDocumentDQDLAliases(&sv.AdditionalDataSources, value); err != nil { return err } + case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentDQAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40612,10 +41216,12 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva } sv.Name = ptr.String(jtv) } + case "PublishingOptions": if err := awsAwsjson11_deserializeDocumentDQResultsPublishingOptions(&sv.PublishingOptions, value); err != nil { return err } + case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -40624,10 +41230,12 @@ func awsAwsjson11_deserializeDocumentEvaluateDataQualityMultiFrame(v **types.Eva } sv.Ruleset = ptr.String(jtv) } + case "StopJobOnFailureOptions": if err := awsAwsjson11_deserializeDocumentDQStopJobOnFailureOptions(&sv.StopJobOnFailureOptions, value); err != nil { return err } + default: _, _ = key, value @@ -40724,6 +41332,7 @@ func awsAwsjson11_deserializeDocumentEvaluationMetrics(v **types.EvaluationMetri if err := awsAwsjson11_deserializeDocumentFindMatchesMetrics(&sv.FindMatchesMetrics, value); err != nil { return err } + case "TransformType": if value != nil { jtv, ok := value.(string) @@ -40732,6 +41341,7 @@ func awsAwsjson11_deserializeDocumentEvaluationMetrics(v **types.EvaluationMetri } sv.TransformType = types.TransformType(jtv) } + default: _, _ = key, value @@ -40775,6 +41385,7 @@ func awsAwsjson11_deserializeDocumentEventBatchingCondition(v **types.EventBatch } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BatchWindow": if value != nil { jtv, ok := value.(json.Number) @@ -40787,6 +41398,7 @@ func awsAwsjson11_deserializeDocumentEventBatchingCondition(v **types.EventBatch } sv.BatchWindow = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40830,6 +41442,7 @@ func awsAwsjson11_deserializeDocumentExecutionProperty(v **types.ExecutionProper } sv.MaxConcurrentRuns = int32(i64) } + default: _, _ = key, value @@ -40869,6 +41482,7 @@ func awsAwsjson11_deserializeDocumentExportLabelsTaskRunProperties(v **types.Exp } sv.OutputS3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -40908,6 +41522,7 @@ func awsAwsjson11_deserializeDocumentFederatedDatabase(v **types.FederatedDataba } sv.ConnectionName = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -40916,6 +41531,7 @@ func awsAwsjson11_deserializeDocumentFederatedDatabase(v **types.FederatedDataba } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -40955,6 +41571,7 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * } sv.AssociatedGlueResource = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -40963,6 +41580,7 @@ func awsAwsjson11_deserializeDocumentFederatedResourceAlreadyExistsException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41002,6 +41620,7 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.ConnectionName = ptr.String(jtv) } + case "DatabaseIdentifier": if value != nil { jtv, ok := value.(string) @@ -41010,6 +41629,7 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.DatabaseIdentifier = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -41018,6 +41638,7 @@ func awsAwsjson11_deserializeDocumentFederatedTable(v **types.FederatedTable, va } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -41057,6 +41678,7 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat } sv.FederationSourceErrorCode = types.FederationSourceErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -41065,6 +41687,7 @@ func awsAwsjson11_deserializeDocumentFederationSourceException(v **types.Federat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41104,6 +41727,7 @@ func awsAwsjson11_deserializeDocumentFederationSourceRetryableException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41143,6 +41767,7 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.FilledPath = ptr.String(jtv) } + case "ImputedPath": if value != nil { jtv, ok := value.(string) @@ -41151,10 +41776,12 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.ImputedPath = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41163,6 +41790,7 @@ func awsAwsjson11_deserializeDocumentFillMissingValues(v **types.FillMissingValu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -41198,10 +41826,12 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) if err := awsAwsjson11_deserializeDocumentFilterExpressions(&sv.Filters, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "LogicalOperator": if value != nil { jtv, ok := value.(string) @@ -41210,6 +41840,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.LogicalOperator = types.FilterLogicalOperator(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41218,6 +41849,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -41257,6 +41889,7 @@ func awsAwsjson11_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Negated = ptr.Bool(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -41265,10 +41898,12 @@ func awsAwsjson11_deserializeDocumentFilterExpression(v **types.FilterExpression } sv.Operation = types.FilterOperation(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentFilterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -41342,10 +41977,12 @@ func awsAwsjson11_deserializeDocumentFilterValue(v **types.FilterValue, value in } sv.Type = types.FilterValueType(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -41444,14 +42081,17 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } + case "ColumnImportances": if err := awsAwsjson11_deserializeDocumentColumnImportanceList(&sv.ColumnImportances, value); err != nil { return err } + case "ConfusionMatrix": if err := awsAwsjson11_deserializeDocumentConfusionMatrix(&sv.ConfusionMatrix, value); err != nil { return err } + case "F1": if value != nil { switch jtv := value.(type) { @@ -41485,6 +42125,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -41518,6 +42159,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -41551,6 +42193,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesMetrics(v **types.FindMatchesMet } } + default: _, _ = key, value @@ -41615,6 +42258,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } } + case "EnforceProvidedLabels": if value != nil { jtv, ok := value.(bool) @@ -41623,6 +42267,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } sv.EnforceProvidedLabels = ptr.Bool(jtv) } + case "PrecisionRecallTradeoff": if value != nil { switch jtv := value.(type) { @@ -41656,6 +42301,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } } + case "PrimaryKeyColumnName": if value != nil { jtv, ok := value.(string) @@ -41664,6 +42310,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesParameters(v **types.FindMatches } sv.PrimaryKeyColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -41703,6 +42350,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -41711,6 +42359,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -41719,6 +42368,7 @@ func awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(v **types.Find } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -41862,6 +42512,7 @@ func awsAwsjson11_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41908,6 +42559,7 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } } + case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -41916,6 +42568,7 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } sv.PolicyHash = ptr.String(jtv) } + case "PolicyInJson": if value != nil { jtv, ok := value.(string) @@ -41924,6 +42577,7 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } sv.PolicyInJson = ptr.String(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -41939,6 +42593,7 @@ func awsAwsjson11_deserializeDocumentGluePolicy(v **types.GluePolicy, value inte } } + default: _, _ = key, value @@ -41974,6 +42629,7 @@ func awsAwsjson11_deserializeDocumentGlueSchema(v **types.GlueSchema, value inte if err := awsAwsjson11_deserializeDocumentGlueStudioSchemaColumnList(&sv.Columns, value); err != nil { return err } + default: _, _ = key, value @@ -42079,6 +42735,7 @@ func awsAwsjson11_deserializeDocumentGlueStudioSchemaColumn(v **types.GlueStudio } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -42087,6 +42744,7 @@ func awsAwsjson11_deserializeDocumentGlueStudioSchemaColumn(v **types.GlueStudio } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -42156,6 +42814,7 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf if err := awsAwsjson11_deserializeDocumentGlueTableAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "CatalogId": if value != nil { jtv, ok := value.(string) @@ -42164,6 +42823,7 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.CatalogId = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -42172,6 +42832,7 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.ConnectionName = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -42180,6 +42841,7 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.DatabaseName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -42188,6 +42850,7 @@ func awsAwsjson11_deserializeDocumentGlueTable(v **types.GlueTable, value interf } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -42293,6 +42956,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat if err := awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -42301,6 +42965,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -42309,6 +42974,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Name = ptr.String(jtv) } + case "PartitionPredicate": if value != nil { jtv, ok := value.(string) @@ -42317,6 +42983,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.PartitionPredicate = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -42325,6 +42992,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogSource(v **types.GovernedCat } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -42364,10 +43032,12 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -42376,14 +43046,17 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -42392,6 +43065,7 @@ func awsAwsjson11_deserializeDocumentGovernedCatalogTarget(v **types.GovernedCat } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -42431,6 +43105,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Classification = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -42446,6 +43121,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } } + case "CustomPatterns": if value != nil { jtv, ok := value.(string) @@ -42454,6 +43130,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.CustomPatterns = ptr.String(jtv) } + case "GrokPattern": if value != nil { jtv, ok := value.(string) @@ -42462,6 +43139,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.GrokPattern = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -42477,6 +43155,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -42485,6 +43164,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -42497,6 +43177,7 @@ func awsAwsjson11_deserializeDocumentGrokClassifier(v **types.GrokClassifier, va } sv.Version = i64 } + default: _, _ = key, value @@ -42536,10 +43217,12 @@ func awsAwsjson11_deserializeDocumentHudiTarget(v **types.HudiTarget, value inte } sv.ConnectionName = ptr.String(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } + case "MaximumTraversalDepth": if value != nil { jtv, ok := value.(json.Number) @@ -42552,10 +43235,12 @@ func awsAwsjson11_deserializeDocumentHudiTarget(v **types.HudiTarget, value inte } sv.MaximumTraversalDepth = ptr.Int32(int32(i64)) } + case "Paths": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -42654,6 +43339,7 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } } + case "NumberOfBytesCompacted": if value != nil { jtv, ok := value.(json.Number) @@ -42666,6 +43352,7 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfBytesCompacted = i64 } + case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -42678,6 +43365,7 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfDpus = int32(i64) } + case "NumberOfFilesCompacted": if value != nil { jtv, ok := value.(json.Number) @@ -42690,6 +43378,7 @@ func awsAwsjson11_deserializeDocumentIcebergCompactionMetrics(v **types.IcebergC } sv.NumberOfFilesCompacted = i64 } + default: _, _ = key, value @@ -42729,6 +43418,7 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(v ** } sv.Location = ptr.String(jtv) } + case "orphanFileRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -42741,6 +43431,7 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(v ** } sv.OrphanFileRetentionPeriodInDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42805,6 +43496,7 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } } + case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -42817,6 +43509,7 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } sv.NumberOfDpus = int32(i64) } + case "NumberOfOrphanFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -42829,6 +43522,7 @@ func awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(v **types. } sv.NumberOfOrphanFilesDeleted = i64 } + default: _, _ = key, value @@ -42868,6 +43562,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.CleanExpiredFiles = ptr.Bool(jtv) } + case "numberOfSnapshotsToRetain": if value != nil { jtv, ok := value.(json.Number) @@ -42880,6 +43575,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.NumberOfSnapshotsToRetain = ptr.Int32(int32(i64)) } + case "snapshotRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -42892,6 +43588,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(v **types.Ice } sv.SnapshotRetentionPeriodInDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42956,6 +43653,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } } + case "NumberOfDataFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -42968,6 +43666,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfDataFilesDeleted = i64 } + case "NumberOfDpus": if value != nil { jtv, ok := value.(json.Number) @@ -42980,6 +43679,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfDpus = int32(i64) } + case "NumberOfManifestFilesDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -42992,6 +43692,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfManifestFilesDeleted = i64 } + case "NumberOfManifestListsDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -43004,6 +43705,7 @@ func awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(v **types.IcebergRe } sv.NumberOfManifestListsDeleted = i64 } + default: _, _ = key, value @@ -43043,10 +43745,12 @@ func awsAwsjson11_deserializeDocumentIcebergTarget(v **types.IcebergTarget, valu } sv.ConnectionName = ptr.String(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } + case "MaximumTraversalDepth": if value != nil { jtv, ok := value.(json.Number) @@ -43059,10 +43763,12 @@ func awsAwsjson11_deserializeDocumentIcebergTarget(v **types.IcebergTarget, valu } sv.MaximumTraversalDepth = ptr.Int32(int32(i64)) } + case "Paths": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -43136,6 +43842,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43175,6 +43882,7 @@ func awsAwsjson11_deserializeDocumentIllegalBlueprintStateException(v **types.Il } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43214,6 +43922,7 @@ func awsAwsjson11_deserializeDocumentIllegalSessionStateException(v **types.Ille } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43253,6 +43962,7 @@ func awsAwsjson11_deserializeDocumentIllegalWorkflowStateException(v **types.Ill } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43292,6 +44002,7 @@ func awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(v **types.Imp } sv.InputS3Path = ptr.String(jtv) } + case "Replace": if value != nil { jtv, ok := value.(bool) @@ -43300,6 +44011,7 @@ func awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(v **types.Imp } sv.Replace = jtv } + default: _, _ = key, value @@ -43339,6 +44051,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43378,6 +44091,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.FromFederationSource = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -43386,6 +44100,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43425,6 +44140,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43460,6 +44176,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto if err := awsAwsjson11_deserializeDocumentJDBCDataTypeMapping(&sv.DataTypeMapping, value); err != nil { return err } + case "FilterPredicate": if value != nil { jtv, ok := value.(string) @@ -43468,10 +44185,12 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.FilterPredicate = ptr.String(jtv) } + case "JobBookmarkKeys": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.JobBookmarkKeys, value); err != nil { return err } + case "JobBookmarkKeysSortOrder": if value != nil { jtv, ok := value.(string) @@ -43480,6 +44199,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.JobBookmarkKeysSortOrder = ptr.String(jtv) } + case "LowerBound": if value != nil { jtv, ok := value.(json.Number) @@ -43492,6 +44212,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.LowerBound = ptr.Int64(i64) } + case "NumPartitions": if value != nil { jtv, ok := value.(json.Number) @@ -43504,6 +44225,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.NumPartitions = ptr.Int64(i64) } + case "PartitionColumn": if value != nil { jtv, ok := value.(string) @@ -43512,6 +44234,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.PartitionColumn = ptr.String(jtv) } + case "UpperBound": if value != nil { jtv, ok := value.(json.Number) @@ -43524,6 +44247,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorOptions(v **types.JDBCConnecto } sv.UpperBound = ptr.Int64(i64) } + default: _, _ = key, value @@ -43559,6 +44283,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector if err := awsAwsjson11_deserializeDocumentJDBCConnectorOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -43567,6 +44292,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -43575,6 +44301,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionTable = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -43583,6 +44310,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectionType = ptr.String(jtv) } + case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -43591,6 +44319,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.ConnectorName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -43599,10 +44328,12 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Query": if value != nil { jtv, ok := value.(string) @@ -43611,6 +44342,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorSource(v **types.JDBCConnector } sv.Query = ptr.String(jtv) } + default: _, _ = key, value @@ -43646,6 +44378,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -43654,6 +44387,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionTable": if value != nil { jtv, ok := value.(string) @@ -43662,6 +44396,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionTable = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -43670,6 +44405,7 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectionType = ptr.String(jtv) } + case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -43678,10 +44414,12 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.ConnectorName = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -43690,10 +44428,12 @@ func awsAwsjson11_deserializeDocumentJDBCConnectorTarget(v **types.JDBCConnector } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -43769,14 +44509,17 @@ func awsAwsjson11_deserializeDocumentJdbcTarget(v **types.JdbcTarget, value inte } sv.ConnectionName = ptr.String(jtv) } + case "EnableAdditionalMetadata": if err := awsAwsjson11_deserializeDocumentEnableAdditionalMetadata(&sv.EnableAdditionalMetadata, value); err != nil { return err } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -43785,6 +44528,7 @@ func awsAwsjson11_deserializeDocumentJdbcTarget(v **types.JdbcTarget, value inte } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -43862,18 +44606,22 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AllocatedCapacity = int32(i64) } + case "CodeGenConfigurationNodes": if err := awsAwsjson11_deserializeDocumentCodeGenConfigurationNodes(&sv.CodeGenConfigurationNodes, value); err != nil { return err } + case "Command": if err := awsAwsjson11_deserializeDocumentJobCommand(&sv.Command, value); err != nil { return err } + case "Connections": if err := awsAwsjson11_deserializeDocumentConnectionsList(&sv.Connections, value); err != nil { return err } + case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -43889,10 +44637,12 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "DefaultArguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.DefaultArguments, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -43901,6 +44651,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Description = ptr.String(jtv) } + case "ExecutionClass": if value != nil { jtv, ok := value.(string) @@ -43909,10 +44660,12 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ExecutionClass = types.ExecutionClass(jtv) } + case "ExecutionProperty": if err := awsAwsjson11_deserializeDocumentExecutionProperty(&sv.ExecutionProperty, value); err != nil { return err } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -43921,6 +44674,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.GlueVersion = ptr.String(jtv) } + case "JobMode": if value != nil { jtv, ok := value.(string) @@ -43929,6 +44683,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobMode = types.JobMode(jtv) } + case "JobRunQueuingEnabled": if value != nil { jtv, ok := value.(bool) @@ -43937,6 +44692,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobRunQueuingEnabled = ptr.Bool(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -43952,6 +44708,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -43960,6 +44717,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.LogUri = ptr.String(jtv) } + case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -43968,6 +44726,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaintenanceWindow = ptr.String(jtv) } + case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -44001,6 +44760,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -44013,6 +44773,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.MaxRetries = int32(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -44021,14 +44782,17 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Name = ptr.String(jtv) } + case "NonOverridableArguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.NonOverridableArguments, value); err != nil { return err } + case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -44041,6 +44805,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -44049,6 +44814,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ProfileName = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -44057,6 +44823,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Role = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -44065,10 +44832,12 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.SecurityConfiguration = ptr.String(jtv) } + case "SourceControlDetails": if err := awsAwsjson11_deserializeDocumentSourceControlDetails(&sv.SourceControlDetails, value); err != nil { return err } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -44081,6 +44850,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Timeout = ptr.Int32(int32(i64)) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -44089,6 +44859,7 @@ func awsAwsjson11_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.WorkerType = types.WorkerType(jtv) } + default: _, _ = key, value @@ -44132,6 +44903,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Attempt = int32(i64) } + case "JobBookmark": if value != nil { jtv, ok := value.(string) @@ -44140,6 +44912,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.JobBookmark = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -44148,6 +44921,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.JobName = ptr.String(jtv) } + case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -44156,6 +44930,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.PreviousRunId = ptr.String(jtv) } + case "Run": if value != nil { jtv, ok := value.(json.Number) @@ -44168,6 +44943,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Run = int32(i64) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -44176,6 +44952,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.RunId = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -44188,6 +44965,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarkEntry(v **types.JobBookmarkEntry } sv.Version = int32(i64) } + default: _, _ = key, value @@ -44227,6 +45005,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarksEncryption(v **types.JobBookmar } sv.JobBookmarksEncryptionMode = types.JobBookmarksEncryptionMode(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -44235,6 +45014,7 @@ func awsAwsjson11_deserializeDocumentJobBookmarksEncryption(v **types.JobBookmar } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -44274,6 +45054,7 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.Name = ptr.String(jtv) } + case "PythonVersion": if value != nil { jtv, ok := value.(string) @@ -44282,6 +45063,7 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.PythonVersion = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -44290,6 +45072,7 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.Runtime = ptr.String(jtv) } + case "ScriptLocation": if value != nil { jtv, ok := value.(string) @@ -44298,6 +45081,7 @@ func awsAwsjson11_deserializeDocumentJobCommand(v **types.JobCommand, value inte } sv.ScriptLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -44403,6 +45187,7 @@ func awsAwsjson11_deserializeDocumentJobNodeDetails(v **types.JobNodeDetails, va if err := awsAwsjson11_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } + default: _, _ = key, value @@ -44446,10 +45231,12 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.AllocatedCapacity = int32(i64) } + case "Arguments": if err := awsAwsjson11_deserializeDocumentGenericMap(&sv.Arguments, value); err != nil { return err } + case "Attempt": if value != nil { jtv, ok := value.(json.Number) @@ -44462,6 +45249,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Attempt = int32(i64) } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -44477,6 +45265,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -44510,6 +45299,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -44518,6 +45308,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ErrorMessage = ptr.String(jtv) } + case "ExecutionClass": if value != nil { jtv, ok := value.(string) @@ -44526,6 +45317,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionClass = types.ExecutionClass(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -44538,6 +45330,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ExecutionTime = int32(i64) } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -44546,6 +45339,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.GlueVersion = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -44554,6 +45348,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Id = ptr.String(jtv) } + case "JobMode": if value != nil { jtv, ok := value.(string) @@ -44562,6 +45357,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobMode = types.JobMode(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -44570,6 +45366,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobName = ptr.String(jtv) } + case "JobRunQueuingEnabled": if value != nil { jtv, ok := value.(bool) @@ -44578,6 +45375,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunQueuingEnabled = ptr.Bool(jtv) } + case "JobRunState": if value != nil { jtv, ok := value.(string) @@ -44586,6 +45384,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.JobRunState = types.JobRunState(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -44601,6 +45400,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -44609,6 +45409,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.LogGroupName = ptr.String(jtv) } + case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -44617,6 +45418,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.MaintenanceWindow = ptr.String(jtv) } + case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -44650,10 +45452,12 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "NotificationProperty": if err := awsAwsjson11_deserializeDocumentNotificationProperty(&sv.NotificationProperty, value); err != nil { return err } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -44666,10 +45470,12 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "PredecessorRuns": if err := awsAwsjson11_deserializeDocumentPredecessorList(&sv.PredecessorRuns, value); err != nil { return err } + case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -44678,6 +45484,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.PreviousRunId = ptr.String(jtv) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -44686,6 +45493,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.ProfileName = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -44694,6 +45502,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.SecurityConfiguration = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -44709,6 +45518,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } } + case "StateDetail": if value != nil { jtv, ok := value.(string) @@ -44717,6 +45527,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.StateDetail = ptr.String(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -44729,6 +45540,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.Timeout = ptr.Int32(int32(i64)) } + case "TriggerName": if value != nil { jtv, ok := value.(string) @@ -44737,6 +45549,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.TriggerName = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -44745,6 +45558,7 @@ func awsAwsjson11_deserializeDocumentJobRun(v **types.JobRun, value interface{}) } sv.WorkerType = types.WorkerType(jtv) } + default: _, _ = key, value @@ -44814,10 +45628,12 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err if err := awsAwsjson11_deserializeDocumentJoinColumns(&sv.Columns, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } + case "JoinType": if value != nil { jtv, ok := value.(string) @@ -44826,6 +45642,7 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err } sv.JoinType = types.JoinType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -44834,6 +45651,7 @@ func awsAwsjson11_deserializeDocumentJoin(v **types.Join, value interface{}) err } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -44873,10 +45691,12 @@ func awsAwsjson11_deserializeDocumentJoinColumn(v **types.JoinColumn, value inte } sv.From = ptr.String(jtv) } + case "Keys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Keys, value); err != nil { return err } + default: _, _ = key, value @@ -44957,6 +45777,7 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } } + case "JsonPath": if value != nil { jtv, ok := value.(string) @@ -44965,6 +45786,7 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.JsonPath = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -44980,6 +45802,7 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -44988,6 +45811,7 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -45000,6 +45824,7 @@ func awsAwsjson11_deserializeDocumentJsonClassifier(v **types.JsonClassifier, va } sv.Version = i64 } + default: _, _ = key, value @@ -45039,6 +45864,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.AddRecordTimestamp = ptr.String(jtv) } + case "Assign": if value != nil { jtv, ok := value.(string) @@ -45047,6 +45873,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Assign = ptr.String(jtv) } + case "BootstrapServers": if value != nil { jtv, ok := value.(string) @@ -45055,6 +45882,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.BootstrapServers = ptr.String(jtv) } + case "Classification": if value != nil { jtv, ok := value.(string) @@ -45063,6 +45891,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Classification = ptr.String(jtv) } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -45071,6 +45900,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.ConnectionName = ptr.String(jtv) } + case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -45079,6 +45909,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.Delimiter = ptr.String(jtv) } + case "EmitConsumerLagMetrics": if value != nil { jtv, ok := value.(string) @@ -45087,6 +45918,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.EmitConsumerLagMetrics = ptr.String(jtv) } + case "EndingOffsets": if value != nil { jtv, ok := value.(string) @@ -45095,6 +45927,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.EndingOffsets = ptr.String(jtv) } + case "IncludeHeaders": if value != nil { jtv, ok := value.(bool) @@ -45103,6 +45936,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.IncludeHeaders = ptr.Bool(jtv) } + case "MaxOffsetsPerTrigger": if value != nil { jtv, ok := value.(json.Number) @@ -45115,6 +45949,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.MaxOffsetsPerTrigger = ptr.Int64(i64) } + case "MinPartitions": if value != nil { jtv, ok := value.(json.Number) @@ -45127,6 +45962,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.MinPartitions = ptr.Int32(int32(i64)) } + case "NumRetries": if value != nil { jtv, ok := value.(json.Number) @@ -45139,6 +45975,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.NumRetries = ptr.Int32(int32(i64)) } + case "PollTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -45151,6 +45988,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.PollTimeoutMs = ptr.Int64(i64) } + case "RetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -45163,6 +46001,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.RetryIntervalMs = ptr.Int64(i64) } + case "SecurityProtocol": if value != nil { jtv, ok := value.(string) @@ -45171,6 +46010,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.SecurityProtocol = ptr.String(jtv) } + case "StartingOffsets": if value != nil { jtv, ok := value.(string) @@ -45179,6 +46019,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.StartingOffsets = ptr.String(jtv) } + case "StartingTimestamp": if value != nil { jtv, ok := value.(string) @@ -45191,6 +46032,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.StartingTimestamp = ptr.Time(t) } + case "SubscribePattern": if value != nil { jtv, ok := value.(string) @@ -45199,6 +46041,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.SubscribePattern = ptr.String(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -45207,6 +46050,7 @@ func awsAwsjson11_deserializeDocumentKafkaStreamingSourceOptions(v **types.Kafka } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -45246,6 +46090,7 @@ func awsAwsjson11_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -45254,6 +46099,7 @@ func awsAwsjson11_deserializeDocumentKeySchemaElement(v **types.KeySchemaElement } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -45327,6 +46173,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AddIdleTimeBetweenReads = ptr.Bool(jtv) } + case "AddRecordTimestamp": if value != nil { jtv, ok := value.(string) @@ -45335,6 +46182,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AddRecordTimestamp = ptr.String(jtv) } + case "AvoidEmptyBatches": if value != nil { jtv, ok := value.(bool) @@ -45343,6 +46191,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.AvoidEmptyBatches = ptr.Bool(jtv) } + case "Classification": if value != nil { jtv, ok := value.(string) @@ -45351,6 +46200,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.Classification = ptr.String(jtv) } + case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -45359,6 +46209,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.Delimiter = ptr.String(jtv) } + case "DescribeShardInterval": if value != nil { jtv, ok := value.(json.Number) @@ -45371,6 +46222,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.DescribeShardInterval = ptr.Int64(i64) } + case "EmitConsumerLagMetrics": if value != nil { jtv, ok := value.(string) @@ -45379,6 +46231,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.EmitConsumerLagMetrics = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -45387,6 +46240,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.EndpointUrl = ptr.String(jtv) } + case "IdleTimeBetweenReadsInMs": if value != nil { jtv, ok := value.(json.Number) @@ -45399,6 +46253,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.IdleTimeBetweenReadsInMs = ptr.Int64(i64) } + case "MaxFetchRecordsPerShard": if value != nil { jtv, ok := value.(json.Number) @@ -45411,6 +46266,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxFetchRecordsPerShard = ptr.Int64(i64) } + case "MaxFetchTimeInMs": if value != nil { jtv, ok := value.(json.Number) @@ -45423,6 +46279,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxFetchTimeInMs = ptr.Int64(i64) } + case "MaxRecordPerRead": if value != nil { jtv, ok := value.(json.Number) @@ -45435,6 +46292,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxRecordPerRead = ptr.Int64(i64) } + case "MaxRetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -45447,6 +46305,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.MaxRetryIntervalMs = ptr.Int64(i64) } + case "NumRetries": if value != nil { jtv, ok := value.(json.Number) @@ -45459,6 +46318,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.NumRetries = ptr.Int32(int32(i64)) } + case "RetryIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -45471,6 +46331,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RetryIntervalMs = ptr.Int64(i64) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -45479,6 +46340,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RoleArn = ptr.String(jtv) } + case "RoleSessionName": if value != nil { jtv, ok := value.(string) @@ -45487,6 +46349,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.RoleSessionName = ptr.String(jtv) } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -45495,6 +46358,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StartingPosition = types.StartingPosition(jtv) } + case "StartingTimestamp": if value != nil { jtv, ok := value.(string) @@ -45507,6 +46371,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StartingTimestamp = ptr.Time(t) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -45515,6 +46380,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StreamArn = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -45523,6 +46389,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamingSourceOptions(v **types.Kin } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -45562,6 +46429,7 @@ func awsAwsjson11_deserializeDocumentLabelingSetGenerationTaskRunProperties(v ** } sv.OutputS3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -45601,6 +46469,7 @@ func awsAwsjson11_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.AccountId = ptr.String(jtv) } + case "UseLakeFormationCredentials": if value != nil { jtv, ok := value.(bool) @@ -45609,6 +46478,7 @@ func awsAwsjson11_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo } sv.UseLakeFormationCredentials = ptr.Bool(jtv) } + default: _, _ = key, value @@ -45648,6 +46518,7 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.BlueprintLocation = ptr.String(jtv) } + case "BlueprintServiceLocation": if value != nil { jtv, ok := value.(string) @@ -45656,6 +46527,7 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.BlueprintServiceLocation = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -45664,6 +46536,7 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.Description = ptr.String(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -45679,6 +46552,7 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } } + case "ParameterSpec": if value != nil { jtv, ok := value.(string) @@ -45687,6 +46561,7 @@ func awsAwsjson11_deserializeDocumentLastActiveDefinition(v **types.LastActiveDe } sv.ParameterSpec = ptr.String(jtv) } + default: _, _ = key, value @@ -45726,6 +46601,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.ErrorMessage = ptr.String(jtv) } + case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -45734,6 +46610,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.LogGroup = ptr.String(jtv) } + case "LogStream": if value != nil { jtv, ok := value.(string) @@ -45742,6 +46619,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.LogStream = ptr.String(jtv) } + case "MessagePrefix": if value != nil { jtv, ok := value.(string) @@ -45750,6 +46628,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.MessagePrefix = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -45765,6 +46644,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45773,6 +46653,7 @@ func awsAwsjson11_deserializeDocumentLastCrawlInfo(v **types.LastCrawlInfo, valu } sv.Status = types.LastCrawlStatus(jtv) } + default: _, _ = key, value @@ -45880,6 +46761,7 @@ func awsAwsjson11_deserializeDocumentLineageConfiguration(v **types.LineageConfi } sv.CrawlerLineageSettings = types.CrawlerLineageSettings(jtv) } + default: _, _ = key, value @@ -45995,6 +46877,7 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.MaximumValue = i64 } + case "MinimumValue": if value != nil { jtv, ok := value.(json.Number) @@ -46007,6 +46890,7 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.MinimumValue = i64 } + case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -46019,6 +46903,7 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.NumberOfDistinctValues = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -46031,6 +46916,7 @@ func awsAwsjson11_deserializeDocumentLongColumnStatisticsData(v **types.LongColu } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -46102,6 +46988,7 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ if err := awsAwsjson11_deserializeDocumentMappings(&sv.Children, value); err != nil { return err } + case "Dropped": if value != nil { jtv, ok := value.(bool) @@ -46110,10 +46997,12 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.Dropped = ptr.Bool(jtv) } + case "FromPath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.FromPath, value); err != nil { return err } + case "FromType": if value != nil { jtv, ok := value.(string) @@ -46122,6 +47011,7 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.FromType = ptr.String(jtv) } + case "ToKey": if value != nil { jtv, ok := value.(string) @@ -46130,6 +47020,7 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.ToKey = ptr.String(jtv) } + case "ToType": if value != nil { jtv, ok := value.(string) @@ -46138,6 +47029,7 @@ func awsAwsjson11_deserializeDocumentMapping(v **types.Mapping, value interface{ } sv.ToType = ptr.String(jtv) } + default: _, _ = key, value @@ -46177,6 +47069,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourcePath = ptr.String(jtv) } + case "SourceTable": if value != nil { jtv, ok := value.(string) @@ -46185,6 +47078,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourceTable = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -46193,6 +47087,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.SourceType = ptr.String(jtv) } + case "TargetPath": if value != nil { jtv, ok := value.(string) @@ -46201,6 +47096,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetPath = ptr.String(jtv) } + case "TargetTable": if value != nil { jtv, ok := value.(string) @@ -46209,6 +47105,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetTable = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -46217,6 +47114,7 @@ func awsAwsjson11_deserializeDocumentMappingEntry(v **types.MappingEntry, value } sv.TargetType = ptr.String(jtv) } + default: _, _ = key, value @@ -46392,6 +47290,7 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46400,10 +47299,12 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e } sv.Name = ptr.String(jtv) } + case "PrimaryKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PrimaryKeys, value); err != nil { return err } + case "Source": if value != nil { jtv, ok := value.(string) @@ -46412,6 +47313,7 @@ func awsAwsjson11_deserializeDocumentMerge(v **types.Merge, value interface{}) e } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -46451,6 +47353,7 @@ func awsAwsjson11_deserializeDocumentMetadataInfo(v **types.MetadataInfo, value } sv.CreatedTime = ptr.String(jtv) } + case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -46459,10 +47362,12 @@ func awsAwsjson11_deserializeDocumentMetadataInfo(v **types.MetadataInfo, value } sv.MetadataValue = ptr.String(jtv) } + case "OtherMetadataValueList": if err := awsAwsjson11_deserializeDocumentOtherMetadataValueList(&sv.OtherMetadataValueList, value); err != nil { return err } + default: _, _ = key, value @@ -46537,14 +47442,17 @@ func awsAwsjson11_deserializeDocumentMetricBasedObservation(v **types.MetricBase } sv.MetricName = ptr.String(jtv) } + case "MetricValues": if err := awsAwsjson11_deserializeDocumentDataQualityMetricValues(&sv.MetricValues, value); err != nil { return err } + case "NewRules": if err := awsAwsjson11_deserializeDocumentNewRules(&sv.NewRules, value); err != nil { return err } + case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -46553,6 +47461,7 @@ func awsAwsjson11_deserializeDocumentMetricBasedObservation(v **types.MetricBase } sv.StatisticId = ptr.String(jtv) } + default: _, _ = key, value @@ -46592,6 +47501,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46600,6 +47510,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -46608,6 +47519,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogSource(v **types.M } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -46647,10 +47559,12 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46659,6 +47573,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -46667,6 +47582,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftSQLServerCatalogTarget(v **types.M } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -46713,6 +47629,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -46721,10 +47638,12 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Description = ptr.String(jtv) } + case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -46733,10 +47652,12 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.GlueVersion = ptr.String(jtv) } + case "InputRecordTables": if err := awsAwsjson11_deserializeDocumentGlueTables(&sv.InputRecordTables, value); err != nil { return err } + case "LabelCount": if value != nil { jtv, ok := value.(json.Number) @@ -46749,6 +47670,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.LabelCount = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -46764,6 +47686,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } + case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -46797,6 +47720,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } } + case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -46809,6 +47733,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.MaxRetries = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46817,6 +47742,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Name = ptr.String(jtv) } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -46829,10 +47755,12 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformParameters(&sv.Parameters, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -46841,10 +47769,12 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Role = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentTransformSchema(&sv.Schema, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -46853,6 +47783,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Status = types.TransformStatusType(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -46865,10 +47796,12 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.Timeout = ptr.Int32(int32(i64)) } + case "TransformEncryption": if err := awsAwsjson11_deserializeDocumentTransformEncryption(&sv.TransformEncryption, value); err != nil { return err } + case "TransformId": if value != nil { jtv, ok := value.(string) @@ -46877,6 +47810,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.TransformId = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -46885,6 +47819,7 @@ func awsAwsjson11_deserializeDocumentMLTransform(v **types.MLTransform, value in } sv.WorkerType = types.WorkerType(jtv) } + default: _, _ = key, value @@ -46924,6 +47859,7 @@ func awsAwsjson11_deserializeDocumentMLTransformNotReadyException(v **types.MLTr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -46963,6 +47899,7 @@ func awsAwsjson11_deserializeDocumentMLUserDataEncryption(v **types.MLUserDataEn } sv.KmsKeyId = ptr.String(jtv) } + case "MlUserDataEncryptionMode": if value != nil { jtv, ok := value.(string) @@ -46971,6 +47908,7 @@ func awsAwsjson11_deserializeDocumentMLUserDataEncryption(v **types.MLUserDataEn } sv.MlUserDataEncryptionMode = types.MLUserDataEncryptionModeString(jtv) } + default: _, _ = key, value @@ -47010,6 +47948,7 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.ConnectionName = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -47018,6 +47957,7 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.Path = ptr.String(jtv) } + case "ScanAll": if value != nil { jtv, ok := value.(bool) @@ -47026,6 +47966,7 @@ func awsAwsjson11_deserializeDocumentMongoDBTarget(v **types.MongoDBTarget, valu } sv.ScanAll = ptr.Bool(jtv) } + default: _, _ = key, value @@ -47099,6 +48040,7 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47107,6 +48049,7 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -47115,6 +48058,7 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogSource(v **types.MySQLCatalogSo } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -47154,10 +48098,12 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47166,6 +48112,7 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -47174,6 +48121,7 @@ func awsAwsjson11_deserializeDocumentMySQLCatalogTarget(v **types.MySQLCatalogTa } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -47281,10 +48229,12 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err if err := awsAwsjson11_deserializeDocumentCrawlerNodeDetails(&sv.CrawlerDetails, value); err != nil { return err } + case "JobDetails": if err := awsAwsjson11_deserializeDocumentJobNodeDetails(&sv.JobDetails, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47293,10 +48243,12 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } + case "TriggerDetails": if err := awsAwsjson11_deserializeDocumentTriggerNodeDetails(&sv.TriggerDetails, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -47305,6 +48257,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Type = types.NodeType(jtv) } + case "UniqueId": if value != nil { jtv, ok := value.(string) @@ -47313,6 +48266,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.UniqueId = ptr.String(jtv) } + default: _, _ = key, value @@ -47422,6 +48376,7 @@ func awsAwsjson11_deserializeDocumentNoScheduleException(v **types.NoScheduleExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47465,6 +48420,7 @@ func awsAwsjson11_deserializeDocumentNotificationProperty(v **types.Notification } sv.NotifyDelayAfter = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -47504,6 +48460,7 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsEmpty = ptr.Bool(jtv) } + case "IsNegOne": if value != nil { jtv, ok := value.(bool) @@ -47512,6 +48469,7 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsNegOne = ptr.Bool(jtv) } + case "IsNullString": if value != nil { jtv, ok := value.(bool) @@ -47520,6 +48478,7 @@ func awsAwsjson11_deserializeDocumentNullCheckBoxList(v **types.NullCheckBoxList } sv.IsNullString = ptr.Bool(jtv) } + default: _, _ = key, value @@ -47555,6 +48514,7 @@ func awsAwsjson11_deserializeDocumentNullValueField(v **types.NullValueField, va if err := awsAwsjson11_deserializeDocumentDatatype(&sv.Datatype, value); err != nil { return err } + case "Value": if value != nil { jtv, ok := value.(string) @@ -47563,6 +48523,7 @@ func awsAwsjson11_deserializeDocumentNullValueField(v **types.NullValueField, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -47636,6 +48597,7 @@ func awsAwsjson11_deserializeDocumentOAuth2ClientApplication(v **types.OAuth2Cli } sv.AWSManagedClientApplicationReference = ptr.String(jtv) } + case "UserManagedClientApplicationClientId": if value != nil { jtv, ok := value.(string) @@ -47644,6 +48606,7 @@ func awsAwsjson11_deserializeDocumentOAuth2ClientApplication(v **types.OAuth2Cli } sv.UserManagedClientApplicationClientId = ptr.String(jtv) } + default: _, _ = key, value @@ -47679,6 +48642,7 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties if err := awsAwsjson11_deserializeDocumentOAuth2ClientApplication(&sv.OAuth2ClientApplication, value); err != nil { return err } + case "OAuth2GrantType": if value != nil { jtv, ok := value.(string) @@ -47687,6 +48651,7 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.OAuth2GrantType = types.OAuth2GrantType(jtv) } + case "TokenUrl": if value != nil { jtv, ok := value.(string) @@ -47695,10 +48660,12 @@ func awsAwsjson11_deserializeDocumentOAuth2Properties(v **types.OAuth2Properties } sv.TokenUrl = ptr.String(jtv) } + case "TokenUrlParametersMap": if err := awsAwsjson11_deserializeDocumentTokenUrlParametersMap(&sv.TokenUrlParametersMap, value); err != nil { return err } + default: _, _ = key, value @@ -47774,6 +48741,7 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47813,6 +48781,7 @@ func awsAwsjson11_deserializeDocumentOperationTimeoutException(v **types.Operati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47852,6 +48821,7 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Description = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -47860,6 +48830,7 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Label = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -47868,6 +48839,7 @@ func awsAwsjson11_deserializeDocumentOption(v **types.Option, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -47941,6 +48913,7 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47949,6 +48922,7 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -47957,6 +48931,7 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogSource(v **types.OracleSQLC } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -47996,10 +48971,12 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48008,6 +48985,7 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -48016,6 +48994,7 @@ func awsAwsjson11_deserializeDocumentOracleSQLCatalogTarget(v **types.OracleSQLC } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -48127,6 +49106,7 @@ func awsAwsjson11_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.Column = ptr.String(jtv) } + case "SortOrder": if value != nil { jtv, ok := value.(json.Number) @@ -48139,6 +49119,7 @@ func awsAwsjson11_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.SortOrder = int32(i64) } + default: _, _ = key, value @@ -48208,6 +49189,7 @@ func awsAwsjson11_deserializeDocumentOrphanFileDeletionConfiguration(v **types.O if err := awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionConfiguration(&sv.IcebergConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -48243,6 +49225,7 @@ func awsAwsjson11_deserializeDocumentOrphanFileDeletionMetrics(v **types.OrphanF if err := awsAwsjson11_deserializeDocumentIcebergOrphanFileDeletionMetrics(&sv.IcebergMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -48316,6 +49299,7 @@ func awsAwsjson11_deserializeDocumentOtherMetadataValueListItem(v **types.OtherM } sv.CreatedTime = ptr.String(jtv) } + case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -48324,6 +49308,7 @@ func awsAwsjson11_deserializeDocumentOtherMetadataValueListItem(v **types.OtherM } sv.MetadataValue = ptr.String(jtv) } + default: _, _ = key, value @@ -48435,6 +49420,7 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.CatalogId = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -48450,6 +49436,7 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -48458,6 +49445,7 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.DatabaseName = ptr.String(jtv) } + case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -48473,6 +49461,7 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } + case "LastAnalyzedTime": if value != nil { switch jtv := value.(type) { @@ -48488,14 +49477,17 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "StorageDescriptor": if err := awsAwsjson11_deserializeDocumentStorageDescriptor(&sv.StorageDescriptor, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -48504,10 +49496,12 @@ func awsAwsjson11_deserializeDocumentPartition(v **types.Partition, value interf } sv.TableName = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -48543,10 +49537,12 @@ func awsAwsjson11_deserializeDocumentPartitionError(v **types.PartitionError, va if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "PartitionValues": if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.PartitionValues, value); err != nil { return err } + default: _, _ = key, value @@ -48616,6 +49612,7 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio if err := awsAwsjson11_deserializeDocumentBackfillErrors(&sv.BackfillErrors, value); err != nil { return err } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -48624,6 +49621,7 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio } sv.IndexName = ptr.String(jtv) } + case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -48632,10 +49630,12 @@ func awsAwsjson11_deserializeDocumentPartitionIndexDescriptor(v **types.Partitio } sv.IndexStatus = types.PartitionIndexStatus(jtv) } + case "Keys": if err := awsAwsjson11_deserializeDocumentKeySchemaElementList(&sv.Keys, value); err != nil { return err } + default: _, _ = key, value @@ -48739,6 +49739,7 @@ func awsAwsjson11_deserializeDocumentPartitionValueList(v **types.PartitionValue if err := awsAwsjson11_deserializeDocumentValueStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -48850,6 +49851,7 @@ func awsAwsjson11_deserializeDocumentPermissionTypeMismatchException(v **types.P } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48889,10 +49891,12 @@ func awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(v **types.Ph } sv.AvailabilityZone = ptr.String(jtv) } + case "SecurityGroupIdList": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIdList, value); err != nil { return err } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -48901,6 +49905,7 @@ func awsAwsjson11_deserializeDocumentPhysicalConnectionRequirements(v **types.Ph } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -48936,10 +49941,12 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.EntityTypesToDetect, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "MaskValue": if value != nil { jtv, ok := value.(string) @@ -48948,6 +49955,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.MaskValue = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48956,6 +49964,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.Name = ptr.String(jtv) } + case "OutputColumnName": if value != nil { jtv, ok := value.(string) @@ -48964,6 +49973,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.OutputColumnName = ptr.String(jtv) } + case "PiiType": if value != nil { jtv, ok := value.(string) @@ -48972,6 +49982,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } sv.PiiType = types.PiiType(jtv) } + case "SampleFraction": if value != nil { switch jtv := value.(type) { @@ -49005,6 +50016,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } } + case "ThresholdFraction": if value != nil { switch jtv := value.(type) { @@ -49038,6 +50050,7 @@ func awsAwsjson11_deserializeDocumentPIIDetection(v **types.PIIDetection, value } } + default: _, _ = key, value @@ -49077,6 +50090,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49085,6 +50099,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -49093,6 +50108,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogSource(v **types.PostgreSQ } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -49132,10 +50148,12 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49144,6 +50162,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -49152,6 +50171,7 @@ func awsAwsjson11_deserializeDocumentPostgreSQLCatalogTarget(v **types.PostgreSQ } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -49191,6 +50211,7 @@ func awsAwsjson11_deserializeDocumentPredecessor(v **types.Predecessor, value in } sv.JobName = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -49199,6 +50220,7 @@ func awsAwsjson11_deserializeDocumentPredecessor(v **types.Predecessor, value in } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -49268,6 +50290,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf if err := awsAwsjson11_deserializeDocumentConditionList(&sv.Conditions, value); err != nil { return err } + case "Logical": if value != nil { jtv, ok := value.(string) @@ -49276,6 +50299,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Logical = types.Logical(jtv) } + default: _, _ = key, value @@ -49311,10 +50335,12 @@ func awsAwsjson11_deserializeDocumentPrincipalPermissions(v **types.PrincipalPer if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "Principal": if err := awsAwsjson11_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } + default: _, _ = key, value @@ -49384,10 +50410,12 @@ func awsAwsjson11_deserializeDocumentProfileConfiguration(v **types.ProfileConfi if err := awsAwsjson11_deserializeDocumentConfigurationMap(&sv.JobConfiguration, value); err != nil { return err } + case "SessionConfiguration": if err := awsAwsjson11_deserializeDocumentConfigurationMap(&sv.SessionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -49495,6 +50523,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49503,14 +50532,17 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } + case "RecipeReference": if err := awsAwsjson11_deserializeDocumentRecipeReference(&sv.RecipeReference, value); err != nil { return err } + case "RecipeSteps": if err := awsAwsjson11_deserializeDocumentRecipeSteps(&sv.RecipeSteps, value); err != nil { return err } + default: _, _ = key, value @@ -49550,10 +50582,12 @@ func awsAwsjson11_deserializeDocumentRecipeAction(v **types.RecipeAction, value } sv.Operation = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterMap(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -49593,6 +50627,7 @@ func awsAwsjson11_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeArn = ptr.String(jtv) } + case "RecipeVersion": if value != nil { jtv, ok := value.(string) @@ -49601,6 +50636,7 @@ func awsAwsjson11_deserializeDocumentRecipeReference(v **types.RecipeReference, } sv.RecipeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -49636,10 +50672,12 @@ func awsAwsjson11_deserializeDocumentRecipeStep(v **types.RecipeStep, value inte if err := awsAwsjson11_deserializeDocumentRecipeAction(&sv.Action, value); err != nil { return err } + case "ConditionExpressions": if err := awsAwsjson11_deserializeDocumentConditionExpressionList(&sv.ConditionExpressions, value); err != nil { return err } + default: _, _ = key, value @@ -49713,6 +50751,7 @@ func awsAwsjson11_deserializeDocumentRecrawlPolicy(v **types.RecrawlPolicy, valu } sv.RecrawlBehavior = types.RecrawlBehavior(jtv) } + default: _, _ = key, value @@ -49752,6 +50791,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49760,6 +50800,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Name = ptr.String(jtv) } + case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -49768,6 +50809,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.RedshiftTmpDir = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -49776,6 +50818,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.Table = ptr.String(jtv) } + case "TmpDirIAMRole": if value != nil { jtv, ok := value.(string) @@ -49784,6 +50827,7 @@ func awsAwsjson11_deserializeDocumentRedshiftSource(v **types.RedshiftSource, va } sv.TmpDirIAMRole = ptr.String(jtv) } + default: _, _ = key, value @@ -49823,10 +50867,12 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49835,6 +50881,7 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Name = ptr.String(jtv) } + case "RedshiftTmpDir": if value != nil { jtv, ok := value.(string) @@ -49843,6 +50890,7 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.RedshiftTmpDir = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -49851,6 +50899,7 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.Table = ptr.String(jtv) } + case "TmpDirIAMRole": if value != nil { jtv, ok := value.(string) @@ -49859,10 +50908,12 @@ func awsAwsjson11_deserializeDocumentRedshiftTarget(v **types.RedshiftTarget, va } sv.TmpDirIAMRole = ptr.String(jtv) } + case "UpsertRedshiftOptions": if err := awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(&sv.UpsertRedshiftOptions, value); err != nil { return err } + default: _, _ = key, value @@ -49972,6 +51023,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.CreatedTime = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -49980,6 +51032,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -49988,6 +51041,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -49996,6 +51050,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.RegistryName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -50004,6 +51059,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.Status = types.RegistryStatus(jtv) } + case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -50012,6 +51068,7 @@ func awsAwsjson11_deserializeDocumentRegistryListItem(v **types.RegistryListItem } sv.UpdatedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -50051,6 +51108,7 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50059,6 +51117,7 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Name = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50067,6 +51126,7 @@ func awsAwsjson11_deserializeDocumentRelationalCatalogSource(v **types.Relationa } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -50102,6 +51162,7 @@ func awsAwsjson11_deserializeDocumentRenameField(v **types.RenameField, value in if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50110,14 +51171,17 @@ func awsAwsjson11_deserializeDocumentRenameField(v **types.RenameField, value in } sv.Name = ptr.String(jtv) } + case "SourcePath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.SourcePath, value); err != nil { return err } + case "TargetPath": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.TargetPath, value); err != nil { return err } + default: _, _ = key, value @@ -50157,6 +51221,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50196,6 +51261,7 @@ func awsAwsjson11_deserializeDocumentResourceNumberLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50235,6 +51301,7 @@ func awsAwsjson11_deserializeDocumentResourceUri(v **types.ResourceUri, value in } sv.ResourceType = types.ResourceType(jtv) } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -50243,6 +51310,7 @@ func awsAwsjson11_deserializeDocumentResourceUri(v **types.ResourceUri, value in } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -50312,6 +51380,7 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC if err := awsAwsjson11_deserializeDocumentIcebergRetentionConfiguration(&sv.IcebergConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -50347,6 +51416,7 @@ func awsAwsjson11_deserializeDocumentRetentionMetrics(v **types.RetentionMetrics if err := awsAwsjson11_deserializeDocumentIcebergRetentionMetrics(&sv.IcebergMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -50422,6 +51492,7 @@ func awsAwsjson11_deserializeDocumentRunIdentifier(v **types.RunIdentifier, valu } sv.JobRunId = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -50430,6 +51501,7 @@ func awsAwsjson11_deserializeDocumentRunIdentifier(v **types.RunIdentifier, valu } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -50469,6 +51541,7 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.JobDurationInHour = ptr.String(jtv) } + case "NumberOfBytesCompacted": if value != nil { jtv, ok := value.(string) @@ -50477,6 +51550,7 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfBytesCompacted = ptr.String(jtv) } + case "NumberOfDpus": if value != nil { jtv, ok := value.(string) @@ -50485,6 +51559,7 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfDpus = ptr.String(jtv) } + case "NumberOfFilesCompacted": if value != nil { jtv, ok := value.(string) @@ -50493,6 +51568,7 @@ func awsAwsjson11_deserializeDocumentRunMetrics(v **types.RunMetrics, value inte } sv.NumberOfFilesCompacted = ptr.String(jtv) } + default: _, _ = key, value @@ -50528,6 +51604,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -50536,6 +51613,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50544,10 +51622,12 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50556,6 +51636,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogDeltaSource(v **types.S3CatalogDel } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -50591,6 +51672,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -50599,6 +51681,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50607,10 +51690,12 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50619,6 +51704,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogHudiSource(v **types.S3CatalogHudi } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -50654,6 +51740,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, if err := awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -50662,6 +51749,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Database = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50670,6 +51758,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Name = ptr.String(jtv) } + case "PartitionPredicate": if value != nil { jtv, ok := value.(string) @@ -50678,6 +51767,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.PartitionPredicate = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50686,6 +51776,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogSource(v **types.S3CatalogSource, } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -50725,10 +51816,12 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50737,14 +51830,17 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50753,6 +51849,7 @@ func awsAwsjson11_deserializeDocumentS3CatalogTarget(v **types.S3CatalogTarget, } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -50788,6 +51885,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -50796,6 +51894,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.CompressionType = types.CompressionType(jtv) } + case "Escaper": if value != nil { jtv, ok := value.(string) @@ -50804,10 +51903,12 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Escaper = ptr.String(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } + case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -50816,6 +51917,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.GroupFiles = ptr.String(jtv) } + case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -50824,6 +51926,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.GroupSize = ptr.String(jtv) } + case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -50836,6 +51939,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.MaxBand = ptr.Int32(int32(i64)) } + case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -50848,6 +51952,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } + case "Multiline": if value != nil { jtv, ok := value.(bool) @@ -50856,6 +51961,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Multiline = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50864,6 +51970,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Name = ptr.String(jtv) } + case "OptimizePerformance": if value != nil { jtv, ok := value.(bool) @@ -50872,14 +51979,17 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.OptimizePerformance = jtv } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } + case "QuoteChar": if value != nil { jtv, ok := value.(string) @@ -50888,6 +51998,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.QuoteChar = types.QuoteChar(jtv) } + case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -50896,6 +52007,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Recurse = ptr.Bool(jtv) } + case "Separator": if value != nil { jtv, ok := value.(string) @@ -50904,6 +52016,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.Separator = types.Separator(jtv) } + case "SkipFirst": if value != nil { jtv, ok := value.(bool) @@ -50912,6 +52025,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.SkipFirst = ptr.Bool(jtv) } + case "WithHeader": if value != nil { jtv, ok := value.(bool) @@ -50920,6 +52034,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.WithHeader = ptr.Bool(jtv) } + case "WriteHeader": if value != nil { jtv, ok := value.(bool) @@ -50928,6 +52043,7 @@ func awsAwsjson11_deserializeDocumentS3CsvSource(v **types.S3CsvSource, value in } sv.WriteHeader = ptr.Bool(jtv) } + default: _, _ = key, value @@ -50963,6 +52079,7 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -50971,10 +52088,12 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50983,14 +52102,17 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -50999,6 +52121,7 @@ func awsAwsjson11_deserializeDocumentS3DeltaCatalogTarget(v **types.S3DeltaCatal } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -51034,6 +52157,7 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -51042,6 +52166,7 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Compression = types.DeltaTargetCompressionType(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -51050,10 +52175,12 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Format = types.TargetFormat(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51062,10 +52189,12 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -51074,10 +52203,12 @@ func awsAwsjson11_deserializeDocumentS3DeltaDirectTarget(v **types.S3DeltaDirect } sv.Path = ptr.String(jtv) } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -51113,10 +52244,12 @@ func awsAwsjson11_deserializeDocumentS3DeltaSource(v **types.S3DeltaSource, valu if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalDeltaOptions, value); err != nil { return err } + case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51125,14 +52258,17 @@ func awsAwsjson11_deserializeDocumentS3DeltaSource(v **types.S3DeltaSource, valu } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -51176,6 +52312,7 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.BoundedFiles = ptr.Int64(i64) } + case "BoundedSize": if value != nil { jtv, ok := value.(json.Number) @@ -51188,6 +52325,7 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.BoundedSize = ptr.Int64(i64) } + case "EnableSamplePath": if value != nil { jtv, ok := value.(bool) @@ -51196,6 +52334,7 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.EnableSamplePath = ptr.Bool(jtv) } + case "SamplePath": if value != nil { jtv, ok := value.(string) @@ -51204,6 +52343,7 @@ func awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(v **types.S } sv.SamplePath = ptr.String(jtv) } + default: _, _ = key, value @@ -51243,6 +52383,7 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Compression = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -51251,10 +52392,12 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Format = types.TargetFormat(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51263,10 +52406,12 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -51275,10 +52420,12 @@ func awsAwsjson11_deserializeDocumentS3DirectTarget(v **types.S3DirectTarget, va } sv.Path = ptr.String(jtv) } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -51318,6 +52465,7 @@ func awsAwsjson11_deserializeDocumentS3Encryption(v **types.S3Encryption, value } sv.KmsKeyArn = ptr.String(jtv) } + case "S3EncryptionMode": if value != nil { jtv, ok := value.(string) @@ -51326,6 +52474,7 @@ func awsAwsjson11_deserializeDocumentS3Encryption(v **types.S3Encryption, value } sv.S3EncryptionMode = types.S3EncryptionMode(jtv) } + default: _, _ = key, value @@ -51399,10 +52548,12 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Compression = types.ParquetCompressionType(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51411,10 +52562,12 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -51423,10 +52576,12 @@ func awsAwsjson11_deserializeDocumentS3GlueParquetTarget(v **types.S3GlueParquet } sv.Path = ptr.String(jtv) } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -51462,6 +52617,7 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -51470,10 +52626,12 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Database = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51482,14 +52640,17 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentCatalogSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + case "Table": if value != nil { jtv, ok := value.(string) @@ -51498,6 +52659,7 @@ func awsAwsjson11_deserializeDocumentS3HudiCatalogTarget(v **types.S3HudiCatalog } sv.Table = ptr.String(jtv) } + default: _, _ = key, value @@ -51533,6 +52695,7 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -51541,6 +52704,7 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Compression = types.HudiTargetCompressionType(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -51549,10 +52713,12 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Format = types.TargetFormat(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51561,10 +52727,12 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Name = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.PartitionKeys, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -51573,10 +52741,12 @@ func awsAwsjson11_deserializeDocumentS3HudiDirectTarget(v **types.S3HudiDirectTa } sv.Path = ptr.String(jtv) } + case "SchemaChangePolicy": if err := awsAwsjson11_deserializeDocumentDirectSchemaChangePolicy(&sv.SchemaChangePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -51612,10 +52782,12 @@ func awsAwsjson11_deserializeDocumentS3HudiSource(v **types.S3HudiSource, value if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalHudiOptions, value); err != nil { return err } + case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51624,14 +52796,17 @@ func awsAwsjson11_deserializeDocumentS3HudiSource(v **types.S3HudiSource, value } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -51667,6 +52842,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -51675,10 +52851,12 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.CompressionType = types.CompressionType(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } + case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -51687,6 +52865,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.GroupFiles = ptr.String(jtv) } + case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -51695,6 +52874,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.GroupSize = ptr.String(jtv) } + case "JsonPath": if value != nil { jtv, ok := value.(string) @@ -51703,6 +52883,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.JsonPath = ptr.String(jtv) } + case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -51715,6 +52896,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.MaxBand = ptr.Int32(int32(i64)) } + case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -51727,6 +52909,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } + case "Multiline": if value != nil { jtv, ok := value.(bool) @@ -51735,6 +52918,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Multiline = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51743,14 +52927,17 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } + case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -51759,6 +52946,7 @@ func awsAwsjson11_deserializeDocumentS3JsonSource(v **types.S3JsonSource, value } sv.Recurse = ptr.Bool(jtv) } + default: _, _ = key, value @@ -51794,6 +52982,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, if err := awsAwsjson11_deserializeDocumentS3DirectSourceAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -51802,10 +52991,12 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.CompressionType = types.ParquetCompressionType(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Exclusions, value); err != nil { return err } + case "GroupFiles": if value != nil { jtv, ok := value.(string) @@ -51814,6 +53005,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.GroupFiles = ptr.String(jtv) } + case "GroupSize": if value != nil { jtv, ok := value.(string) @@ -51822,6 +53014,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.GroupSize = ptr.String(jtv) } + case "MaxBand": if value != nil { jtv, ok := value.(json.Number) @@ -51834,6 +53027,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.MaxBand = ptr.Int32(int32(i64)) } + case "MaxFilesInBand": if value != nil { jtv, ok := value.(json.Number) @@ -51846,6 +53040,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.MaxFilesInBand = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51854,14 +53049,17 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "Paths": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Paths, value); err != nil { return err } + case "Recurse": if value != nil { jtv, ok := value.(bool) @@ -51870,6 +53068,7 @@ func awsAwsjson11_deserializeDocumentS3ParquetSource(v **types.S3ParquetSource, } sv.Recurse = ptr.Bool(jtv) } + default: _, _ = key, value @@ -51913,6 +53112,7 @@ func awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(v **types.S3Sourc } sv.BoundedFiles = ptr.Int64(i64) } + case "BoundedSize": if value != nil { jtv, ok := value.(json.Number) @@ -51925,6 +53125,7 @@ func awsAwsjson11_deserializeDocumentS3SourceAdditionalOptions(v **types.S3Sourc } sv.BoundedSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -51964,6 +53165,7 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.ConnectionName = ptr.String(jtv) } + case "DlqEventQueueArn": if value != nil { jtv, ok := value.(string) @@ -51972,6 +53174,7 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.DlqEventQueueArn = ptr.String(jtv) } + case "EventQueueArn": if value != nil { jtv, ok := value.(string) @@ -51980,10 +53183,12 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.EventQueueArn = ptr.String(jtv) } + case "Exclusions": if err := awsAwsjson11_deserializeDocumentPathList(&sv.Exclusions, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -51992,6 +53197,7 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.Path = ptr.String(jtv) } + case "SampleSize": if value != nil { jtv, ok := value.(json.Number) @@ -52004,6 +53210,7 @@ func awsAwsjson11_deserializeDocumentS3Target(v **types.S3Target, value interfac } sv.SampleSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -52077,6 +53284,7 @@ func awsAwsjson11_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ScheduleExpression = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -52085,6 +53293,7 @@ func awsAwsjson11_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.State = types.ScheduleState(jtv) } + default: _, _ = key, value @@ -52124,6 +53333,7 @@ func awsAwsjson11_deserializeDocumentSchedulerNotRunningException(v **types.Sche } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -52163,6 +53373,7 @@ func awsAwsjson11_deserializeDocumentSchedulerRunningException(v **types.Schedul } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -52202,6 +53413,7 @@ func awsAwsjson11_deserializeDocumentSchedulerTransitioningException(v **types.S } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -52241,6 +53453,7 @@ func awsAwsjson11_deserializeDocumentSchemaChangePolicy(v **types.SchemaChangePo } sv.DeleteBehavior = types.DeleteBehavior(jtv) } + case "UpdateBehavior": if value != nil { jtv, ok := value.(string) @@ -52249,6 +53462,7 @@ func awsAwsjson11_deserializeDocumentSchemaChangePolicy(v **types.SchemaChangePo } sv.UpdateBehavior = types.UpdateBehavior(jtv) } + default: _, _ = key, value @@ -52288,6 +53502,7 @@ func awsAwsjson11_deserializeDocumentSchemaColumn(v **types.SchemaColumn, value } sv.DataType = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52296,6 +53511,7 @@ func awsAwsjson11_deserializeDocumentSchemaColumn(v **types.SchemaColumn, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -52335,6 +53551,7 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -52343,6 +53560,7 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -52351,6 +53569,7 @@ func awsAwsjson11_deserializeDocumentSchemaId(v **types.SchemaId, value interfac } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -52424,6 +53643,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.CreatedTime = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -52432,6 +53652,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.Description = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -52440,6 +53661,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -52448,6 +53670,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -52456,6 +53679,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaName = ptr.String(jtv) } + case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -52464,6 +53688,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.SchemaStatus = types.SchemaStatus(jtv) } + case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -52472,6 +53697,7 @@ func awsAwsjson11_deserializeDocumentSchemaListItem(v **types.SchemaListItem, va } sv.UpdatedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -52507,6 +53733,7 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, if err := awsAwsjson11_deserializeDocumentSchemaId(&sv.SchemaId, value); err != nil { return err } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -52515,6 +53742,7 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, } sv.SchemaVersionId = ptr.String(jtv) } + case "SchemaVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -52527,6 +53755,7 @@ func awsAwsjson11_deserializeDocumentSchemaReference(v **types.SchemaReference, } sv.SchemaVersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -52562,6 +53791,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionErrorItem(v **types.SchemaVers if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -52574,6 +53804,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionErrorItem(v **types.SchemaVers } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -52681,6 +53912,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.CreatedTime = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -52689,6 +53921,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.SchemaArn = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -52697,6 +53930,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.SchemaVersionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52705,6 +53939,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.Status = types.SchemaVersionStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -52717,6 +53952,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -52763,10 +53999,12 @@ func awsAwsjson11_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } } + case "EncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52775,6 +54013,7 @@ func awsAwsjson11_deserializeDocumentSecurityConfiguration(v **types.SecurityCon } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -52880,6 +54119,7 @@ func awsAwsjson11_deserializeDocumentSelectFields(v **types.SelectFields, value if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52888,10 +54128,12 @@ func awsAwsjson11_deserializeDocumentSelectFields(v **types.SelectFields, value } sv.Name = ptr.String(jtv) } + case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -52935,10 +54177,12 @@ func awsAwsjson11_deserializeDocumentSelectFromCollection(v **types.SelectFromCo } sv.Index = int32(i64) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52947,6 +54191,7 @@ func awsAwsjson11_deserializeDocumentSelectFromCollection(v **types.SelectFromCo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -52986,10 +54231,12 @@ func awsAwsjson11_deserializeDocumentSerDeInfo(v **types.SerDeInfo, value interf } sv.Name = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "SerializationLibrary": if value != nil { jtv, ok := value.(string) @@ -52998,6 +54245,7 @@ func awsAwsjson11_deserializeDocumentSerDeInfo(v **types.SerDeInfo, value interf } sv.SerializationLibrary = ptr.String(jtv) } + default: _, _ = key, value @@ -53033,6 +54281,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ if err := awsAwsjson11_deserializeDocumentSessionCommand(&sv.Command, value); err != nil { return err } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -53048,10 +54297,12 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "Connections": if err := awsAwsjson11_deserializeDocumentConnectionsList(&sv.Connections, value); err != nil { return err } + case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -53067,10 +54318,12 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "DefaultArguments": if err := awsAwsjson11_deserializeDocumentOrchestrationArgumentsMap(&sv.DefaultArguments, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -53079,6 +54332,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Description = ptr.String(jtv) } + case "DPUSeconds": if value != nil { switch jtv := value.(type) { @@ -53112,6 +54366,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -53120,6 +54375,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ErrorMessage = ptr.String(jtv) } + case "ExecutionTime": if value != nil { switch jtv := value.(type) { @@ -53153,6 +54409,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -53161,6 +54418,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.GlueVersion = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -53169,6 +54427,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Id = ptr.String(jtv) } + case "IdleTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -53181,6 +54440,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.IdleTimeout = ptr.Int32(int32(i64)) } + case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -53214,6 +54474,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -53226,6 +54487,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -53234,6 +54496,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.ProfileName = ptr.String(jtv) } + case "Progress": if value != nil { switch jtv := value.(type) { @@ -53267,6 +54530,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "Role": if value != nil { jtv, ok := value.(string) @@ -53275,6 +54539,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Role = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -53283,6 +54548,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SecurityConfiguration = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -53291,6 +54557,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -53299,6 +54566,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.WorkerType = types.WorkerType(jtv) } + default: _, _ = key, value @@ -53338,6 +54606,7 @@ func awsAwsjson11_deserializeDocumentSessionCommand(v **types.SessionCommand, va } sv.Name = ptr.String(jtv) } + case "PythonVersion": if value != nil { jtv, ok := value.(string) @@ -53346,6 +54615,7 @@ func awsAwsjson11_deserializeDocumentSessionCommand(v **types.SessionCommand, va } sv.PythonVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -53451,14 +54721,17 @@ func awsAwsjson11_deserializeDocumentSkewedInfo(v **types.SkewedInfo, value inte if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.SkewedColumnNames, value); err != nil { return err } + case "SkewedColumnValueLocationMaps": if err := awsAwsjson11_deserializeDocumentLocationMap(&sv.SkewedColumnValueLocationMaps, value); err != nil { return err } + case "SkewedColumnValues": if err := awsAwsjson11_deserializeDocumentColumnValueStringList(&sv.SkewedColumnValues, value); err != nil { return err } + default: _, _ = key, value @@ -53498,10 +54771,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Action = ptr.String(jtv) } + case "AdditionalOptions": if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "AutoPushdown": if value != nil { jtv, ok := value.(bool) @@ -53510,10 +54785,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.AutoPushdown = jtv } + case "Connection": if err := awsAwsjson11_deserializeDocumentOption(&sv.Connection, value); err != nil { return err } + case "Database": if value != nil { jtv, ok := value.(string) @@ -53522,10 +54799,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Database = ptr.String(jtv) } + case "IamRole": if err := awsAwsjson11_deserializeDocumentOption(&sv.IamRole, value); err != nil { return err } + case "MergeAction": if value != nil { jtv, ok := value.(string) @@ -53534,6 +54813,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeAction = ptr.String(jtv) } + case "MergeClause": if value != nil { jtv, ok := value.(string) @@ -53542,6 +54822,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeClause = ptr.String(jtv) } + case "MergeWhenMatched": if value != nil { jtv, ok := value.(string) @@ -53550,6 +54831,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeWhenMatched = ptr.String(jtv) } + case "MergeWhenNotMatched": if value != nil { jtv, ok := value.(string) @@ -53558,6 +54840,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.MergeWhenNotMatched = ptr.String(jtv) } + case "PostAction": if value != nil { jtv, ok := value.(string) @@ -53566,6 +54849,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.PostAction = ptr.String(jtv) } + case "PreAction": if value != nil { jtv, ok := value.(string) @@ -53574,6 +54858,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.PreAction = ptr.String(jtv) } + case "SampleQuery": if value != nil { jtv, ok := value.(string) @@ -53582,6 +54867,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.SampleQuery = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -53590,10 +54876,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Schema = ptr.String(jtv) } + case "SelectedColumns": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.SelectedColumns, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -53602,6 +54890,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.SourceType = ptr.String(jtv) } + case "StagingTable": if value != nil { jtv, ok := value.(string) @@ -53610,6 +54899,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.StagingTable = ptr.String(jtv) } + case "Table": if value != nil { jtv, ok := value.(string) @@ -53618,10 +54908,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Table = ptr.String(jtv) } + case "TableSchema": if err := awsAwsjson11_deserializeDocumentOptionList(&sv.TableSchema, value); err != nil { return err } + case "TempDir": if value != nil { jtv, ok := value.(string) @@ -53630,6 +54922,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.TempDir = ptr.String(jtv) } + case "Upsert": if value != nil { jtv, ok := value.(bool) @@ -53638,6 +54931,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeNodeData(v **types.SnowflakeNodeDa } sv.Upsert = jtv } + default: _, _ = key, value @@ -53673,6 +54967,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeSource(v **types.SnowflakeSource, if err := awsAwsjson11_deserializeDocumentSnowflakeNodeData(&sv.Data, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53681,10 +54976,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeSource(v **types.SnowflakeSource, } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -53720,10 +55017,12 @@ func awsAwsjson11_deserializeDocumentSnowflakeTarget(v **types.SnowflakeTarget, if err := awsAwsjson11_deserializeDocumentSnowflakeNodeData(&sv.Data, value); err != nil { return err } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53732,6 +55031,7 @@ func awsAwsjson11_deserializeDocumentSnowflakeTarget(v **types.SnowflakeTarget, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -53771,6 +55071,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.AuthStrategy = types.SourceControlAuthStrategy(jtv) } + case "AuthToken": if value != nil { jtv, ok := value.(string) @@ -53779,6 +55080,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.AuthToken = ptr.String(jtv) } + case "Branch": if value != nil { jtv, ok := value.(string) @@ -53787,6 +55089,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Branch = ptr.String(jtv) } + case "Folder": if value != nil { jtv, ok := value.(string) @@ -53795,6 +55098,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Folder = ptr.String(jtv) } + case "LastCommitId": if value != nil { jtv, ok := value.(string) @@ -53803,6 +55107,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.LastCommitId = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -53811,6 +55116,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Owner = ptr.String(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -53819,6 +55125,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Provider = types.SourceControlProvider(jtv) } + case "Repository": if value != nil { jtv, ok := value.(string) @@ -53827,6 +55134,7 @@ func awsAwsjson11_deserializeDocumentSourceControlDetails(v **types.SourceContro } sv.Repository = ptr.String(jtv) } + default: _, _ = key, value @@ -53862,6 +55170,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -53870,6 +55179,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -53878,6 +55188,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectionType = ptr.String(jtv) } + case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -53886,6 +55197,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.ConnectorName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53894,10 +55206,12 @@ func awsAwsjson11_deserializeDocumentSparkConnectorSource(v **types.SparkConnect } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -53933,6 +55247,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect if err := awsAwsjson11_deserializeDocumentAdditionalOptions(&sv.AdditionalOptions, value); err != nil { return err } + case "ConnectionName": if value != nil { jtv, ok := value.(string) @@ -53941,6 +55256,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectionName = ptr.String(jtv) } + case "ConnectionType": if value != nil { jtv, ok := value.(string) @@ -53949,6 +55265,7 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectionType = ptr.String(jtv) } + case "ConnectorName": if value != nil { jtv, ok := value.(string) @@ -53957,10 +55274,12 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.ConnectorName = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53969,10 +55288,12 @@ func awsAwsjson11_deserializeDocumentSparkConnectorTarget(v **types.SparkConnect } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + default: _, _ = key, value @@ -54008,6 +55329,7 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac if err := awsAwsjson11_deserializeDocumentManyInputs(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54016,14 +55338,17 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac } sv.Name = ptr.String(jtv) } + case "OutputSchemas": if err := awsAwsjson11_deserializeDocumentGlueSchemas(&sv.OutputSchemas, value); err != nil { return err } + case "SqlAliases": if err := awsAwsjson11_deserializeDocumentSqlAliases(&sv.SqlAliases, value); err != nil { return err } + case "SqlQuery": if value != nil { jtv, ok := value.(string) @@ -54032,6 +55357,7 @@ func awsAwsjson11_deserializeDocumentSparkSQL(v **types.SparkSQL, value interfac } sv.SqlQuery = ptr.String(jtv) } + default: _, _ = key, value @@ -54067,6 +55393,7 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54075,6 +55402,7 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Name = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -54083,6 +55411,7 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Path = ptr.String(jtv) } + case "Prob": if value != nil { switch jtv := value.(type) { @@ -54116,6 +55445,7 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } } + case "Topk": if value != nil { jtv, ok := value.(json.Number) @@ -54128,6 +55458,7 @@ func awsAwsjson11_deserializeDocumentSpigot(v **types.Spigot, value interface{}) } sv.Topk = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54163,6 +55494,7 @@ func awsAwsjson11_deserializeDocumentSplitFields(v **types.SplitFields, value in if err := awsAwsjson11_deserializeDocumentOneInput(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -54171,10 +55503,12 @@ func awsAwsjson11_deserializeDocumentSplitFields(v **types.SplitFields, value in } sv.Name = ptr.String(jtv) } + case "Paths": if err := awsAwsjson11_deserializeDocumentGlueStudioPathList(&sv.Paths, value); err != nil { return err } + default: _, _ = key, value @@ -54214,6 +55548,7 @@ func awsAwsjson11_deserializeDocumentSqlAlias(v **types.SqlAlias, value interfac } sv.Alias = ptr.String(jtv) } + case "From": if value != nil { jtv, ok := value.(string) @@ -54222,6 +55557,7 @@ func awsAwsjson11_deserializeDocumentSqlAlias(v **types.SqlAlias, value interfac } sv.From = ptr.String(jtv) } + default: _, _ = key, value @@ -54299,6 +55635,7 @@ func awsAwsjson11_deserializeDocumentStartingEventBatchCondition(v **types.Start } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BatchWindow": if value != nil { jtv, ok := value.(json.Number) @@ -54311,6 +55648,7 @@ func awsAwsjson11_deserializeDocumentStartingEventBatchCondition(v **types.Start } sv.BatchWindow = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54350,6 +55688,7 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.Code = ptr.String(jtv) } + case "CompletedOn": if value != nil { jtv, ok := value.(json.Number) @@ -54362,6 +55701,7 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.CompletedOn = i64 } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -54374,10 +55714,12 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.Id = int32(i64) } + case "Output": if err := awsAwsjson11_deserializeDocumentStatementOutput(&sv.Output, value); err != nil { return err } + case "Progress": if value != nil { switch jtv := value.(type) { @@ -54411,6 +55753,7 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } } + case "StartedOn": if value != nil { jtv, ok := value.(json.Number) @@ -54423,6 +55766,7 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.StartedOn = i64 } + case "State": if value != nil { jtv, ok := value.(string) @@ -54431,6 +55775,7 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf } sv.State = types.StatementState(jtv) } + default: _, _ = key, value @@ -54500,6 +55845,7 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, if err := awsAwsjson11_deserializeDocumentStatementOutputData(&sv.Data, value); err != nil { return err } + case "ErrorName": if value != nil { jtv, ok := value.(string) @@ -54508,6 +55854,7 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ErrorName = ptr.String(jtv) } + case "ErrorValue": if value != nil { jtv, ok := value.(string) @@ -54516,6 +55863,7 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ErrorValue = ptr.String(jtv) } + case "ExecutionCount": if value != nil { jtv, ok := value.(json.Number) @@ -54528,6 +55876,7 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.ExecutionCount = int32(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -54536,10 +55885,12 @@ func awsAwsjson11_deserializeDocumentStatementOutput(v **types.StatementOutput, } sv.Status = types.StatementState(jtv) } + case "Traceback": if err := awsAwsjson11_deserializeDocumentOrchestrationStringList(&sv.Traceback, value); err != nil { return err } + default: _, _ = key, value @@ -54579,6 +55930,7 @@ func awsAwsjson11_deserializeDocumentStatementOutputData(v **types.StatementOutp } sv.TextPlain = ptr.String(jtv) } + default: _, _ = key, value @@ -54614,6 +55966,7 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno if err := awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(&sv.InclusionAnnotation, value); err != nil { return err } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -54622,6 +55975,7 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } sv.ProfileId = ptr.String(jtv) } + case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -54630,6 +55984,7 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } sv.StatisticId = ptr.String(jtv) } + case "StatisticRecordedOn": if value != nil { switch jtv := value.(type) { @@ -54645,6 +56000,7 @@ func awsAwsjson11_deserializeDocumentStatisticAnnotation(v **types.StatisticAnno } } + default: _, _ = key, value @@ -54709,6 +56065,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } + case "Date": if value != nil { switch jtv := value.(type) { @@ -54724,6 +56081,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } + case "InclusionAnnotation": if value != nil { jtv, ok := value.(string) @@ -54732,6 +56090,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } sv.InclusionAnnotation = types.InclusionAnnotationValue(jtv) } + case "LowerBound": if value != nil { switch jtv := value.(type) { @@ -54765,6 +56124,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } + case "PredictedValue": if value != nil { switch jtv := value.(type) { @@ -54798,6 +56158,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -54831,6 +56192,7 @@ func awsAwsjson11_deserializeDocumentStatisticModelResult(v **types.StatisticMod } } + default: _, _ = key, value @@ -54936,6 +56298,7 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary if err := awsAwsjson11_deserializeDocumentColumnNameList(&sv.ColumnsReferenced, value); err != nil { return err } + case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -54969,6 +56332,7 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } } + case "EvaluationLevel": if value != nil { jtv, ok := value.(string) @@ -54977,10 +56341,12 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.EvaluationLevel = types.StatisticEvaluationLevel(jtv) } + case "InclusionAnnotation": if err := awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(&sv.InclusionAnnotation, value); err != nil { return err } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -54989,6 +56355,7 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.ProfileId = ptr.String(jtv) } + case "RecordedOn": if value != nil { switch jtv := value.(type) { @@ -55004,14 +56371,17 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } } + case "ReferencedDatasets": if err := awsAwsjson11_deserializeDocumentReferenceDatasetsList(&sv.ReferencedDatasets, value); err != nil { return err } + case "RunIdentifier": if err := awsAwsjson11_deserializeDocumentRunIdentifier(&sv.RunIdentifier, value); err != nil { return err } + case "StatisticId": if value != nil { jtv, ok := value.(string) @@ -55020,6 +56390,7 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.StatisticId = ptr.String(jtv) } + case "StatisticName": if value != nil { jtv, ok := value.(string) @@ -55028,10 +56399,12 @@ func awsAwsjson11_deserializeDocumentStatisticSummary(v **types.StatisticSummary } sv.StatisticName = ptr.String(jtv) } + case "StatisticProperties": if err := awsAwsjson11_deserializeDocumentStatisticPropertiesMap(&sv.StatisticProperties, value); err != nil { return err } + default: _, _ = key, value @@ -55101,10 +56474,12 @@ func awsAwsjson11_deserializeDocumentStatusDetails(v **types.StatusDetails, valu if err := awsAwsjson11_deserializeDocumentTable(&sv.RequestedChange, value); err != nil { return err } + case "ViewValidations": if err := awsAwsjson11_deserializeDocumentViewValidationList(&sv.ViewValidations, value); err != nil { return err } + default: _, _ = key, value @@ -55140,14 +56515,17 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript if err := awsAwsjson11_deserializeDocumentLocationStringList(&sv.AdditionalLocations, value); err != nil { return err } + case "BucketColumns": if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.BucketColumns, value); err != nil { return err } + case "Columns": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } + case "Compressed": if value != nil { jtv, ok := value.(bool) @@ -55156,6 +56534,7 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.Compressed = jtv } + case "InputFormat": if value != nil { jtv, ok := value.(string) @@ -55164,6 +56543,7 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.InputFormat = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -55172,6 +56552,7 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.Location = ptr.String(jtv) } + case "NumberOfBuckets": if value != nil { jtv, ok := value.(json.Number) @@ -55184,6 +56565,7 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.NumberOfBuckets = int32(i64) } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -55192,26 +56574,32 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.OutputFormat = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "SchemaReference": if err := awsAwsjson11_deserializeDocumentSchemaReference(&sv.SchemaReference, value); err != nil { return err } + case "SerdeInfo": if err := awsAwsjson11_deserializeDocumentSerDeInfo(&sv.SerdeInfo, value); err != nil { return err } + case "SkewedInfo": if err := awsAwsjson11_deserializeDocumentSkewedInfo(&sv.SkewedInfo, value); err != nil { return err } + case "SortColumns": if err := awsAwsjson11_deserializeDocumentOrderList(&sv.SortColumns, value); err != nil { return err } + case "StoredAsSubDirectories": if value != nil { jtv, ok := value.(bool) @@ -55220,6 +56608,7 @@ func awsAwsjson11_deserializeDocumentStorageDescriptor(v **types.StorageDescript } sv.StoredAsSubDirectories = jtv } + default: _, _ = key, value @@ -55263,6 +56652,7 @@ func awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(v **types.Strea } sv.PollingTime = ptr.Int64(i64) } + case "RecordPollingLimit": if value != nil { jtv, ok := value.(json.Number) @@ -55275,6 +56665,7 @@ func awsAwsjson11_deserializeDocumentStreamingDataPreviewOptions(v **types.Strea } sv.RecordPollingLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -55339,6 +56730,7 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } } + case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -55351,6 +56743,7 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.MaximumLength = i64 } + case "NumberOfDistinctValues": if value != nil { jtv, ok := value.(json.Number) @@ -55363,6 +56756,7 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.NumberOfDistinctValues = i64 } + case "NumberOfNulls": if value != nil { jtv, ok := value.(json.Number) @@ -55375,6 +56769,7 @@ func awsAwsjson11_deserializeDocumentStringColumnStatisticsData(v **types.String } sv.NumberOfNulls = i64 } + default: _, _ = key, value @@ -55450,6 +56845,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.CatalogId = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -55458,6 +56854,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.CreatedBy = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -55473,6 +56870,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -55481,6 +56879,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.DatabaseName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -55489,10 +56888,12 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Description = ptr.String(jtv) } + case "FederatedTable": if err := awsAwsjson11_deserializeDocumentFederatedTable(&sv.FederatedTable, value); err != nil { return err } + case "IsMultiDialectView": if value != nil { jtv, ok := value.(bool) @@ -55501,6 +56902,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.IsMultiDialectView = ptr.Bool(jtv) } + case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -55509,6 +56911,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.IsRegisteredWithLakeFormation = jtv } + case "LastAccessTime": if value != nil { switch jtv := value.(type) { @@ -55524,6 +56927,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "LastAnalyzedTime": if value != nil { switch jtv := value.(type) { @@ -55539,6 +56943,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55547,6 +56952,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -55555,14 +56961,17 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Owner = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentColumnList(&sv.PartitionKeys, value); err != nil { return err } + case "Retention": if value != nil { jtv, ok := value.(json.Number) @@ -55575,14 +56984,17 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Retention = int32(i64) } + case "Status": if err := awsAwsjson11_deserializeDocumentTableStatus(&sv.Status, value); err != nil { return err } + case "StorageDescriptor": if err := awsAwsjson11_deserializeDocumentStorageDescriptor(&sv.StorageDescriptor, value); err != nil { return err } + case "TableType": if value != nil { jtv, ok := value.(string) @@ -55591,10 +57003,12 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableType = ptr.String(jtv) } + case "TargetTable": if err := awsAwsjson11_deserializeDocumentTableIdentifier(&sv.TargetTable, value); err != nil { return err } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -55610,6 +57024,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -55618,10 +57033,12 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.VersionId = ptr.String(jtv) } + case "ViewDefinition": if err := awsAwsjson11_deserializeDocumentViewDefinition(&sv.ViewDefinition, value); err != nil { return err } + case "ViewExpandedText": if value != nil { jtv, ok := value.(string) @@ -55630,6 +57047,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.ViewExpandedText = ptr.String(jtv) } + case "ViewOriginalText": if value != nil { jtv, ok := value.(string) @@ -55638,6 +57056,7 @@ func awsAwsjson11_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.ViewOriginalText = ptr.String(jtv) } + default: _, _ = key, value @@ -55673,6 +57092,7 @@ func awsAwsjson11_deserializeDocumentTableError(v **types.TableError, value inte if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -55681,6 +57101,7 @@ func awsAwsjson11_deserializeDocumentTableError(v **types.TableError, value inte } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -55754,6 +57175,7 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -55762,6 +57184,7 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55770,6 +57193,7 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.Name = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -55778,6 +57202,7 @@ func awsAwsjson11_deserializeDocumentTableIdentifier(v **types.TableIdentifier, } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -55847,10 +57272,12 @@ func awsAwsjson11_deserializeDocumentTableOptimizer(v **types.TableOptimizer, va if err := awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(&sv.Configuration, value); err != nil { return err } + case "lastRun": if err := awsAwsjson11_deserializeDocumentTableOptimizerRun(&sv.LastRun, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -55859,6 +57286,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizer(v **types.TableOptimizer, va } sv.Type = types.TableOptimizerType(jtv) } + default: _, _ = key, value @@ -55898,14 +57326,17 @@ func awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(v **types.Table } sv.Enabled = ptr.Bool(jtv) } + case "orphanFileDeletionConfiguration": if err := awsAwsjson11_deserializeDocumentOrphanFileDeletionConfiguration(&sv.OrphanFileDeletionConfiguration, value); err != nil { return err } + case "retentionConfiguration": if err := awsAwsjson11_deserializeDocumentRetentionConfiguration(&sv.RetentionConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -55914,6 +57345,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizerConfiguration(v **types.Table } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -55949,6 +57381,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR if err := awsAwsjson11_deserializeDocumentCompactionMetrics(&sv.CompactionMetrics, value); err != nil { return err } + case "endTimestamp": if value != nil { switch jtv := value.(type) { @@ -55964,6 +57397,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } } + case "error": if value != nil { jtv, ok := value.(string) @@ -55972,6 +57406,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } sv.Error = ptr.String(jtv) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -55980,18 +57415,22 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } sv.EventType = types.TableOptimizerEventType(jtv) } + case "metrics": if err := awsAwsjson11_deserializeDocumentRunMetrics(&sv.Metrics, value); err != nil { return err } + case "orphanFileDeletionMetrics": if err := awsAwsjson11_deserializeDocumentOrphanFileDeletionMetrics(&sv.OrphanFileDeletionMetrics, value); err != nil { return err } + case "retentionMetrics": if err := awsAwsjson11_deserializeDocumentRetentionMetrics(&sv.RetentionMetrics, value); err != nil { return err } + case "startTimestamp": if value != nil { switch jtv := value.(type) { @@ -56007,6 +57446,7 @@ func awsAwsjson11_deserializeDocumentTableOptimizerRun(v **types.TableOptimizerR } } + default: _, _ = key, value @@ -56080,14 +57520,17 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.Action = types.ResourceAction(jtv) } + case "Details": if err := awsAwsjson11_deserializeDocumentStatusDetails(&sv.Details, value); err != nil { return err } + case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "RequestedBy": if value != nil { jtv, ok := value.(string) @@ -56096,6 +57539,7 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.RequestedBy = ptr.String(jtv) } + case "RequestTime": if value != nil { switch jtv := value.(type) { @@ -56111,6 +57555,7 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } } + case "State": if value != nil { jtv, ok := value.(string) @@ -56119,6 +57564,7 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.State = types.ResourceState(jtv) } + case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -56127,6 +57573,7 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } sv.UpdatedBy = ptr.String(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -56142,6 +57589,7 @@ func awsAwsjson11_deserializeDocumentTableStatus(v **types.TableStatus, value in } } + default: _, _ = key, value @@ -56177,6 +57625,7 @@ func awsAwsjson11_deserializeDocumentTableVersion(v **types.TableVersion, value if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -56185,6 +57634,7 @@ func awsAwsjson11_deserializeDocumentTableVersion(v **types.TableVersion, value } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -56220,6 +57670,7 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -56228,6 +57679,7 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr } sv.TableName = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -56236,6 +57688,7 @@ func awsAwsjson11_deserializeDocumentTableVersionError(v **types.TableVersionErr } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -56352,6 +57805,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } + case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -56360,6 +57814,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.ErrorString = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -56372,6 +57827,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.ExecutionTime = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -56387,6 +57843,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -56395,10 +57852,12 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.LogGroupName = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentTaskRunProperties(&sv.Properties, value); err != nil { return err } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -56414,6 +57873,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56422,6 +57882,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.Status = types.TaskStatusType(jtv) } + case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -56430,6 +57891,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.TaskRunId = ptr.String(jtv) } + case "TransformId": if value != nil { jtv, ok := value.(string) @@ -56438,6 +57900,7 @@ func awsAwsjson11_deserializeDocumentTaskRun(v **types.TaskRun, value interface{ } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -56507,18 +57970,22 @@ func awsAwsjson11_deserializeDocumentTaskRunProperties(v **types.TaskRunProperti if err := awsAwsjson11_deserializeDocumentExportLabelsTaskRunProperties(&sv.ExportLabelsTaskRunProperties, value); err != nil { return err } + case "FindMatchesTaskRunProperties": if err := awsAwsjson11_deserializeDocumentFindMatchesTaskRunProperties(&sv.FindMatchesTaskRunProperties, value); err != nil { return err } + case "ImportLabelsTaskRunProperties": if err := awsAwsjson11_deserializeDocumentImportLabelsTaskRunProperties(&sv.ImportLabelsTaskRunProperties, value); err != nil { return err } + case "LabelingSetGenerationTaskRunProperties": if err := awsAwsjson11_deserializeDocumentLabelingSetGenerationTaskRunProperties(&sv.LabelingSetGenerationTaskRunProperties, value); err != nil { return err } + case "TaskType": if value != nil { jtv, ok := value.(string) @@ -56527,6 +57994,7 @@ func awsAwsjson11_deserializeDocumentTaskRunProperties(v **types.TaskRunProperti } sv.TaskType = types.TaskType(jtv) } + default: _, _ = key, value @@ -56566,6 +58034,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56612,6 +58081,7 @@ func awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(v **types.Ti } } + case "Value": if value != nil { jtv, ok := value.(string) @@ -56620,6 +58090,7 @@ func awsAwsjson11_deserializeDocumentTimestampedInclusionAnnotation(v **types.Ti } sv.Value = types.InclusionAnnotationValue(jtv) } + default: _, _ = key, value @@ -56695,6 +58166,7 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.IsOptional = ptr.Bool(jtv) } + case "ListType": if value != nil { jtv, ok := value.(string) @@ -56703,6 +58175,7 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ListType = types.ParamType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -56711,6 +58184,7 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -56719,6 +58193,7 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.Type = types.ParamType(jtv) } + case "ValidationMessage": if value != nil { jtv, ok := value.(string) @@ -56727,6 +58202,7 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ValidationMessage = ptr.String(jtv) } + case "ValidationRule": if value != nil { jtv, ok := value.(string) @@ -56735,10 +58211,12 @@ func awsAwsjson11_deserializeDocumentTransformConfigParameter(v **types.Transfor } sv.ValidationRule = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentEnclosedInStringProperties(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -56808,6 +58286,7 @@ func awsAwsjson11_deserializeDocumentTransformEncryption(v **types.TransformEncr if err := awsAwsjson11_deserializeDocumentMLUserDataEncryption(&sv.MlUserDataEncryption, value); err != nil { return err } + case "TaskRunSecurityConfigurationName": if value != nil { jtv, ok := value.(string) @@ -56816,6 +58295,7 @@ func awsAwsjson11_deserializeDocumentTransformEncryption(v **types.TransformEncr } sv.TaskRunSecurityConfigurationName = ptr.String(jtv) } + default: _, _ = key, value @@ -56921,6 +58401,7 @@ func awsAwsjson11_deserializeDocumentTransformParameters(v **types.TransformPara if err := awsAwsjson11_deserializeDocumentFindMatchesParameters(&sv.FindMatchesParameters, value); err != nil { return err } + case "TransformType": if value != nil { jtv, ok := value.(string) @@ -56929,6 +58410,7 @@ func awsAwsjson11_deserializeDocumentTransformParameters(v **types.TransformPara } sv.TransformType = types.TransformType(jtv) } + default: _, _ = key, value @@ -56998,6 +58480,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ if err := awsAwsjson11_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -57006,10 +58489,12 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Description = ptr.String(jtv) } + case "EventBatchingCondition": if err := awsAwsjson11_deserializeDocumentEventBatchingCondition(&sv.EventBatchingCondition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -57018,6 +58503,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -57026,10 +58512,12 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Name = ptr.String(jtv) } + case "Predicate": if err := awsAwsjson11_deserializeDocumentPredicate(&sv.Predicate, value); err != nil { return err } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -57038,6 +58526,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Schedule = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -57046,6 +58535,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.State = types.TriggerState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -57054,6 +58544,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.Type = types.TriggerType(jtv) } + case "WorkflowName": if value != nil { jtv, ok := value.(string) @@ -57062,6 +58553,7 @@ func awsAwsjson11_deserializeDocumentTrigger(v **types.Trigger, value interface{ } sv.WorkflowName = ptr.String(jtv) } + default: _, _ = key, value @@ -57167,6 +58659,7 @@ func awsAwsjson11_deserializeDocumentTriggerNodeDetails(v **types.TriggerNodeDet if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } + default: _, _ = key, value @@ -57238,6 +58731,7 @@ func awsAwsjson11_deserializeDocumentUnfilteredPartition(v **types.UnfilteredPar if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } + case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -57246,10 +58740,12 @@ func awsAwsjson11_deserializeDocumentUnfilteredPartition(v **types.UnfilteredPar } sv.IsRegisteredWithLakeFormation = jtv } + case "Partition": if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } + default: _, _ = key, value @@ -57319,6 +58815,7 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e if err := awsAwsjson11_deserializeDocumentTwoInputs(&sv.Inputs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -57327,6 +58824,7 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e } sv.Name = ptr.String(jtv) } + case "UnionType": if value != nil { jtv, ok := value.(string) @@ -57335,6 +58833,7 @@ func awsAwsjson11_deserializeDocumentUnion(v **types.Union, value interface{}) e } sv.UnionType = types.UnionType(jtv) } + default: _, _ = key, value @@ -57374,6 +58873,7 @@ func awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(v **types.Upser } sv.ConnectionName = ptr.String(jtv) } + case "TableLocation": if value != nil { jtv, ok := value.(string) @@ -57382,10 +58882,12 @@ func awsAwsjson11_deserializeDocumentUpsertRedshiftTargetOptions(v **types.Upser } sv.TableLocation = ptr.String(jtv) } + case "UpsertKeys": if err := awsAwsjson11_deserializeDocumentEnclosedInStringPropertiesMinOne(&sv.UpsertKeys, value); err != nil { return err } + default: _, _ = key, value @@ -57432,6 +58934,7 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -57440,6 +58943,7 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } sv.Description = ptr.String(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -57455,6 +58959,7 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -57463,6 +58968,7 @@ func awsAwsjson11_deserializeDocumentUsageProfileDefinition(v **types.UsageProfi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -57536,6 +59042,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.CatalogId = ptr.String(jtv) } + case "ClassName": if value != nil { jtv, ok := value.(string) @@ -57544,6 +59051,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.ClassName = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -57559,6 +59067,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -57567,6 +59076,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.DatabaseName = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -57575,6 +59085,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.FunctionName = ptr.String(jtv) } + case "OwnerName": if value != nil { jtv, ok := value.(string) @@ -57583,6 +59094,7 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.OwnerName = ptr.String(jtv) } + case "OwnerType": if value != nil { jtv, ok := value.(string) @@ -57591,10 +59103,12 @@ func awsAwsjson11_deserializeDocumentUserDefinedFunction(v **types.UserDefinedFu } sv.OwnerType = types.PrincipalType(jtv) } + case "ResourceUris": if err := awsAwsjson11_deserializeDocumentResourceUriList(&sv.ResourceUris, value); err != nil { return err } + default: _, _ = key, value @@ -57668,6 +59182,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -57743,6 +59258,7 @@ func awsAwsjson11_deserializeDocumentVersionMismatchException(v **types.VersionM } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -57782,6 +59298,7 @@ func awsAwsjson11_deserializeDocumentViewDefinition(v **types.ViewDefinition, va } sv.Definer = ptr.String(jtv) } + case "IsProtected": if value != nil { jtv, ok := value.(bool) @@ -57790,14 +59307,17 @@ func awsAwsjson11_deserializeDocumentViewDefinition(v **types.ViewDefinition, va } sv.IsProtected = ptr.Bool(jtv) } + case "Representations": if err := awsAwsjson11_deserializeDocumentViewRepresentationList(&sv.Representations, value); err != nil { return err } + case "SubObjects": if err := awsAwsjson11_deserializeDocumentViewSubObjectsList(&sv.SubObjects, value); err != nil { return err } + default: _, _ = key, value @@ -57837,6 +59357,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.Dialect = types.ViewDialect(jtv) } + case "DialectVersion": if value != nil { jtv, ok := value.(string) @@ -57845,6 +59366,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.DialectVersion = ptr.String(jtv) } + case "IsStale": if value != nil { jtv, ok := value.(bool) @@ -57853,6 +59375,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.IsStale = ptr.Bool(jtv) } + case "ValidationConnection": if value != nil { jtv, ok := value.(string) @@ -57861,6 +59384,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ValidationConnection = ptr.String(jtv) } + case "ViewExpandedText": if value != nil { jtv, ok := value.(string) @@ -57869,6 +59393,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ViewExpandedText = ptr.String(jtv) } + case "ViewOriginalText": if value != nil { jtv, ok := value.(string) @@ -57877,6 +59402,7 @@ func awsAwsjson11_deserializeDocumentViewRepresentation(v **types.ViewRepresenta } sv.ViewOriginalText = ptr.String(jtv) } + default: _, _ = key, value @@ -57986,6 +59512,7 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.Dialect = types.ViewDialect(jtv) } + case "DialectVersion": if value != nil { jtv, ok := value.(string) @@ -57994,10 +59521,12 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.DialectVersion = ptr.String(jtv) } + case "Error": if err := awsAwsjson11_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -58006,6 +59535,7 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.State = types.ResourceState(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -58021,6 +59551,7 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } } + case "ViewValidationText": if value != nil { jtv, ok := value.(string) @@ -58029,6 +59560,7 @@ func awsAwsjson11_deserializeDocumentViewValidation(v **types.ViewValidation, va } sv.ViewValidationText = ptr.String(jtv) } + default: _, _ = key, value @@ -58098,6 +59630,7 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac if err := awsAwsjson11_deserializeDocumentBlueprintDetails(&sv.BlueprintDetails, value); err != nil { return err } + case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -58113,10 +59646,12 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } } + case "DefaultRunProperties": if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.DefaultRunProperties, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -58125,10 +59660,12 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Description = ptr.String(jtv) } + case "Graph": if err := awsAwsjson11_deserializeDocumentWorkflowGraph(&sv.Graph, value); err != nil { return err } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -58144,10 +59681,12 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } } + case "LastRun": if err := awsAwsjson11_deserializeDocumentWorkflowRun(&sv.LastRun, value); err != nil { return err } + case "MaxConcurrentRuns": if value != nil { jtv, ok := value.(json.Number) @@ -58160,6 +59699,7 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.MaxConcurrentRuns = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58168,6 +59708,7 @@ func awsAwsjson11_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -58203,10 +59744,12 @@ func awsAwsjson11_deserializeDocumentWorkflowGraph(v **types.WorkflowGraph, valu if err := awsAwsjson11_deserializeDocumentEdgeList(&sv.Edges, value); err != nil { return err } + case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -58289,6 +59832,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -58297,10 +59841,12 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.ErrorMessage = ptr.String(jtv) } + case "Graph": if err := awsAwsjson11_deserializeDocumentWorkflowGraph(&sv.Graph, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58309,6 +59855,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.Name = ptr.String(jtv) } + case "PreviousRunId": if value != nil { jtv, ok := value.(string) @@ -58317,6 +59864,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.PreviousRunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -58332,14 +59880,17 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } } + case "StartingEventBatchCondition": if err := awsAwsjson11_deserializeDocumentStartingEventBatchCondition(&sv.StartingEventBatchCondition, value); err != nil { return err } + case "Statistics": if err := awsAwsjson11_deserializeDocumentWorkflowRunStatistics(&sv.Statistics, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -58348,6 +59899,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.Status = types.WorkflowRunStatus(jtv) } + case "WorkflowRunId": if value != nil { jtv, ok := value.(string) @@ -58356,10 +59908,12 @@ func awsAwsjson11_deserializeDocumentWorkflowRun(v **types.WorkflowRun, value in } sv.WorkflowRunId = ptr.String(jtv) } + case "WorkflowRunProperties": if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.WorkflowRunProperties, value); err != nil { return err } + default: _, _ = key, value @@ -58473,6 +60027,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.ErroredActions = int32(i64) } + case "FailedActions": if value != nil { jtv, ok := value.(json.Number) @@ -58485,6 +60040,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.FailedActions = int32(i64) } + case "RunningActions": if value != nil { jtv, ok := value.(json.Number) @@ -58497,6 +60053,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.RunningActions = int32(i64) } + case "StoppedActions": if value != nil { jtv, ok := value.(json.Number) @@ -58509,6 +60066,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.StoppedActions = int32(i64) } + case "SucceededActions": if value != nil { jtv, ok := value.(json.Number) @@ -58521,6 +60079,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.SucceededActions = int32(i64) } + case "TimeoutActions": if value != nil { jtv, ok := value.(json.Number) @@ -58533,6 +60092,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.TimeoutActions = int32(i64) } + case "TotalActions": if value != nil { jtv, ok := value.(json.Number) @@ -58545,6 +60105,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.TotalActions = int32(i64) } + case "WaitingActions": if value != nil { jtv, ok := value.(json.Number) @@ -58557,6 +60118,7 @@ func awsAwsjson11_deserializeDocumentWorkflowRunStatistics(v **types.WorkflowRun } sv.WaitingActions = int32(i64) } + default: _, _ = key, value @@ -58630,6 +60192,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Classification = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -58645,6 +60208,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -58660,6 +60224,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58668,6 +60233,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Name = ptr.String(jtv) } + case "RowTag": if value != nil { jtv, ok := value.(string) @@ -58676,6 +60242,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.RowTag = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -58688,6 +60255,7 @@ func awsAwsjson11_deserializeDocumentXMLClassifier(v **types.XMLClassifier, valu } sv.Version = i64 } + default: _, _ = key, value @@ -58723,6 +60291,7 @@ func awsAwsjson11_deserializeOpDocumentBatchCreatePartitionOutput(v **BatchCreat if err := awsAwsjson11_deserializeDocumentPartitionErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -58758,10 +60327,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteConnectionOutput(v **BatchDele if err := awsAwsjson11_deserializeDocumentErrorByName(&sv.Errors, value); err != nil { return err } + case "Succeeded": if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.Succeeded, value); err != nil { return err } + default: _, _ = key, value @@ -58797,6 +60368,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeletePartitionOutput(v **BatchDelet if err := awsAwsjson11_deserializeDocumentPartitionErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -58832,6 +60404,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteTableOutput(v **BatchDeleteTab if err := awsAwsjson11_deserializeDocumentTableErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -58867,6 +60440,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteTableVersionOutput(v **BatchDe if err := awsAwsjson11_deserializeDocumentTableVersionErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -58902,10 +60476,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetBlueprintsOutput(v **BatchGetBlue if err := awsAwsjson11_deserializeDocumentBlueprints(&sv.Blueprints, value); err != nil { return err } + case "MissingBlueprints": if err := awsAwsjson11_deserializeDocumentBlueprintNames(&sv.MissingBlueprints, value); err != nil { return err } + default: _, _ = key, value @@ -58941,10 +60517,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCrawlersOutput(v **BatchGetCrawle if err := awsAwsjson11_deserializeDocumentCrawlerList(&sv.Crawlers, value); err != nil { return err } + case "CrawlersNotFound": if err := awsAwsjson11_deserializeDocumentCrawlerNameList(&sv.CrawlersNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -58980,10 +60558,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetCustomEntityTypesOutput(v **Batch if err := awsAwsjson11_deserializeDocumentCustomEntityTypes(&sv.CustomEntityTypes, value); err != nil { return err } + case "CustomEntityTypesNotFound": if err := awsAwsjson11_deserializeDocumentCustomEntityTypeNames(&sv.CustomEntityTypesNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -59019,10 +60599,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDataQualityResultOutput(v **Batch if err := awsAwsjson11_deserializeDocumentDataQualityResultsList(&sv.Results, value); err != nil { return err } + case "ResultsNotFound": if err := awsAwsjson11_deserializeDocumentDataQualityResultIds(&sv.ResultsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -59058,10 +60640,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDevEndpointsOutput(v **BatchGetDe if err := awsAwsjson11_deserializeDocumentDevEndpointList(&sv.DevEndpoints, value); err != nil { return err } + case "DevEndpointsNotFound": if err := awsAwsjson11_deserializeDocumentDevEndpointNames(&sv.DevEndpointsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -59097,10 +60681,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetJobsOutput(v **BatchGetJobsOutput if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + case "JobsNotFound": if err := awsAwsjson11_deserializeDocumentJobNameList(&sv.JobsNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -59136,10 +60722,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetPartitionOutput(v **BatchGetParti if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } + case "UnprocessedKeys": if err := awsAwsjson11_deserializeDocumentBatchGetPartitionValueList(&sv.UnprocessedKeys, value); err != nil { return err } + default: _, _ = key, value @@ -59175,10 +60763,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetTableOptimizerOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentBatchGetTableOptimizerErrors(&sv.Failures, value); err != nil { return err } + case "TableOptimizers": if err := awsAwsjson11_deserializeDocumentBatchTableOptimizers(&sv.TableOptimizers, value); err != nil { return err } + default: _, _ = key, value @@ -59214,10 +60804,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetTriggersOutput(v **BatchGetTrigge if err := awsAwsjson11_deserializeDocumentTriggerList(&sv.Triggers, value); err != nil { return err } + case "TriggersNotFound": if err := awsAwsjson11_deserializeDocumentTriggerNameList(&sv.TriggersNotFound, value); err != nil { return err } + default: _, _ = key, value @@ -59253,10 +60845,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetWorkflowsOutput(v **BatchGetWorkf if err := awsAwsjson11_deserializeDocumentWorkflowNames(&sv.MissingWorkflows, value); err != nil { return err } + case "Workflows": if err := awsAwsjson11_deserializeDocumentWorkflows(&sv.Workflows, value); err != nil { return err } + default: _, _ = key, value @@ -59292,6 +60886,7 @@ func awsAwsjson11_deserializeOpDocumentBatchPutDataQualityStatisticAnnotationOut if err := awsAwsjson11_deserializeDocumentAnnotationErrorList(&sv.FailedInclusionAnnotations, value); err != nil { return err } + default: _, _ = key, value @@ -59327,10 +60922,12 @@ func awsAwsjson11_deserializeOpDocumentBatchStopJobRunOutput(v **BatchStopJobRun if err := awsAwsjson11_deserializeDocumentBatchStopJobRunErrorList(&sv.Errors, value); err != nil { return err } + case "SuccessfulSubmissions": if err := awsAwsjson11_deserializeDocumentBatchStopJobRunSuccessfulSubmissionList(&sv.SuccessfulSubmissions, value); err != nil { return err } + default: _, _ = key, value @@ -59366,6 +60963,7 @@ func awsAwsjson11_deserializeOpDocumentBatchUpdatePartitionOutput(v **BatchUpdat if err := awsAwsjson11_deserializeDocumentBatchUpdatePartitionFailureList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -59467,6 +61065,7 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.Status = types.TaskStatusType(jtv) } + case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -59475,6 +61074,7 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.TaskRunId = ptr.String(jtv) } + case "TransformId": if value != nil { jtv, ok := value.(string) @@ -59483,6 +61083,7 @@ func awsAwsjson11_deserializeOpDocumentCancelMLTaskRunOutput(v **CancelMLTaskRun } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -59553,6 +61154,7 @@ func awsAwsjson11_deserializeOpDocumentCheckSchemaVersionValidityOutput(v **Chec } sv.Error = ptr.String(jtv) } + case "Valid": if value != nil { jtv, ok := value.(bool) @@ -59561,6 +61163,7 @@ func awsAwsjson11_deserializeOpDocumentCheckSchemaVersionValidityOutput(v **Chec } sv.Valid = jtv } + default: _, _ = key, value @@ -59600,6 +61203,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBlueprintOutput(v **CreateBlueprint } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -59701,6 +61305,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti } sv.CreateConnectionStatus = types.ConnectionStatus(jtv) } + default: _, _ = key, value @@ -59771,6 +61376,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomEntityTypeOutput(v **CreateCu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -59841,6 +61447,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataQualityRulesetOutput(v **Create } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -59876,6 +61483,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp if err := awsAwsjson11_deserializeDocumentMapValue(&sv.Arguments, value); err != nil { return err } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -59884,6 +61492,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.AvailabilityZone = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -59899,6 +61508,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -59907,6 +61517,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.EndpointName = ptr.String(jtv) } + case "ExtraJarsS3Path": if value != nil { jtv, ok := value.(string) @@ -59915,6 +61526,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ExtraJarsS3Path = ptr.String(jtv) } + case "ExtraPythonLibsS3Path": if value != nil { jtv, ok := value.(string) @@ -59923,6 +61535,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ExtraPythonLibsS3Path = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -59931,6 +61544,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.FailureReason = ptr.String(jtv) } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -59939,6 +61553,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.GlueVersion = ptr.String(jtv) } + case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -59951,6 +61566,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.NumberOfNodes = int32(i64) } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -59963,6 +61579,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -59971,6 +61588,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.RoleArn = ptr.String(jtv) } + case "SecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -59979,10 +61597,12 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.SecurityConfiguration = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -59991,6 +61611,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.Status = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -59999,6 +61620,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -60007,6 +61629,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.VpcId = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -60015,6 +61638,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.WorkerType = types.WorkerType(jtv) } + case "YarnEndpointAddress": if value != nil { jtv, ok := value.(string) @@ -60023,6 +61647,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.YarnEndpointAddress = ptr.String(jtv) } + case "ZeppelinRemoteSparkInterpreterPort": if value != nil { jtv, ok := value.(json.Number) @@ -60035,6 +61660,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDevEndpointOutput(v **CreateDevEndp } sv.ZeppelinRemoteSparkInterpreterPort = int32(i64) } + default: _, _ = key, value @@ -60074,6 +61700,7 @@ func awsAwsjson11_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60113,6 +61740,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMLTransformOutput(v **CreateMLTrans } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -60214,6 +61842,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -60222,6 +61851,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -60230,10 +61860,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryName = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -60273,6 +61905,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Compatibility = types.Compatibility(jtv) } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -60281,6 +61914,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.DataFormat = types.DataFormat(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -60289,6 +61923,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Description = ptr.String(jtv) } + case "LatestSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -60301,6 +61936,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.LatestSchemaVersion = ptr.Int64(i64) } + case "NextSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -60313,6 +61949,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.NextSchemaVersion = ptr.Int64(i64) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -60321,6 +61958,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -60329,6 +61967,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -60337,6 +61976,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaCheckpoint": if value != nil { jtv, ok := value.(json.Number) @@ -60349,6 +61989,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaCheckpoint = ptr.Int64(i64) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -60357,6 +61998,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaName = ptr.String(jtv) } + case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -60365,6 +62007,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaStatus = types.SchemaStatus(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -60373,6 +62016,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersionId = ptr.String(jtv) } + case "SchemaVersionStatus": if value != nil { jtv, ok := value.(string) @@ -60381,10 +62025,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersionStatus = types.SchemaVersionStatus(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -60424,6 +62070,7 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput } sv.PythonScript = ptr.String(jtv) } + case "ScalaCode": if value != nil { jtv, ok := value.(string) @@ -60432,6 +62079,7 @@ func awsAwsjson11_deserializeOpDocumentCreateScriptOutput(v **CreateScriptOutput } sv.ScalaCode = ptr.String(jtv) } + default: _, _ = key, value @@ -60478,6 +62126,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -60486,6 +62135,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecurityConfigurationOutput(v **Cre } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60521,6 +62171,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -60622,6 +62273,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTriggerOutput(v **CreateTriggerOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60661,6 +62313,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageProfileOutput(v **CreateUsageP } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60731,6 +62384,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60770,6 +62424,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBlueprintOutput(v **DeleteBlueprint } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60995,6 +62650,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCustomEntityTypeOutput(v **DeleteCu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -61127,6 +62783,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteJobOutput(v **DeleteJobOutput, valu } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -61166,6 +62823,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteMLTransformOutput(v **DeleteMLTrans } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -61267,6 +62925,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -61275,6 +62934,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.RegistryName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -61283,6 +62943,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegistryOutput(v **DeleteRegistryOu } sv.Status = types.RegistryStatus(jtv) } + default: _, _ = key, value @@ -61353,6 +63014,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -61361,6 +63023,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.SchemaName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -61369,6 +63032,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaOutput(v **DeleteSchemaOutput } sv.Status = types.SchemaStatus(jtv) } + default: _, _ = key, value @@ -61404,6 +63068,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSchemaVersionsOutput(v **DeleteSche if err := awsAwsjson11_deserializeDocumentSchemaVersionErrorList(&sv.SchemaVersionErrors, value); err != nil { return err } + default: _, _ = key, value @@ -61474,6 +63139,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -61606,6 +63272,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTriggerOutput(v **DeleteTriggerOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -61707,6 +63374,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -61742,6 +63410,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintOutput(v **GetBlueprintOutput if err := awsAwsjson11_deserializeDocumentBlueprint(&sv.Blueprint, value); err != nil { return err } + default: _, _ = key, value @@ -61777,6 +63446,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunOutput(v **GetBlueprintRun if err := awsAwsjson11_deserializeDocumentBlueprintRun(&sv.BlueprintRun, value); err != nil { return err } + default: _, _ = key, value @@ -61812,6 +63482,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunsOutput(v **GetBlueprintRu if err := awsAwsjson11_deserializeDocumentBlueprintRuns(&sv.BlueprintRuns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -61820,6 +63491,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintRunsOutput(v **GetBlueprintRu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -61855,6 +63527,7 @@ func awsAwsjson11_deserializeOpDocumentGetCatalogImportStatusOutput(v **GetCatal if err := awsAwsjson11_deserializeDocumentCatalogImportStatus(&sv.ImportStatus, value); err != nil { return err } + default: _, _ = key, value @@ -61890,6 +63563,7 @@ func awsAwsjson11_deserializeOpDocumentGetClassifierOutput(v **GetClassifierOutp if err := awsAwsjson11_deserializeDocumentClassifier(&sv.Classifier, value); err != nil { return err } + default: _, _ = key, value @@ -61925,6 +63599,7 @@ func awsAwsjson11_deserializeOpDocumentGetClassifiersOutput(v **GetClassifiersOu if err := awsAwsjson11_deserializeDocumentClassifierList(&sv.Classifiers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -61933,6 +63608,7 @@ func awsAwsjson11_deserializeOpDocumentGetClassifiersOutput(v **GetClassifiersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -61968,10 +63644,12 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsForPartitionOutput(v * if err := awsAwsjson11_deserializeDocumentColumnStatisticsList(&sv.ColumnStatisticsList, value); err != nil { return err } + case "Errors": if err := awsAwsjson11_deserializeDocumentColumnErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -62007,10 +63685,12 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsForTableOutput(v **Get if err := awsAwsjson11_deserializeDocumentColumnStatisticsList(&sv.ColumnStatisticsList, value); err != nil { return err } + case "Errors": if err := awsAwsjson11_deserializeDocumentColumnErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -62046,6 +63726,7 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunOutput(v **GetC if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRun(&sv.ColumnStatisticsTaskRun, value); err != nil { return err } + default: _, _ = key, value @@ -62081,6 +63762,7 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunsOutput(v **Get if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunsList(&sv.ColumnStatisticsTaskRuns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -62089,6 +63771,7 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskRunsOutput(v **Get } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -62124,6 +63807,7 @@ func awsAwsjson11_deserializeOpDocumentGetColumnStatisticsTaskSettingsOutput(v * if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskSettings(&sv.ColumnStatisticsTaskSettings, value); err != nil { return err } + default: _, _ = key, value @@ -62159,6 +63843,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsAwsjson11_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -62194,6 +63879,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu if err := awsAwsjson11_deserializeDocumentConnectionList(&sv.ConnectionList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -62202,6 +63888,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -62237,6 +63924,7 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerMetricsOutput(v **GetCrawlerMet if err := awsAwsjson11_deserializeDocumentCrawlerMetricsList(&sv.CrawlerMetricsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -62245,6 +63933,7 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerMetricsOutput(v **GetCrawlerMet } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -62280,6 +63969,7 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlerOutput(v **GetCrawlerOutput, va if err := awsAwsjson11_deserializeDocumentCrawler(&sv.Crawler, value); err != nil { return err } + default: _, _ = key, value @@ -62315,6 +64005,7 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlersOutput(v **GetCrawlersOutput, if err := awsAwsjson11_deserializeDocumentCrawlerList(&sv.Crawlers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -62323,6 +64014,7 @@ func awsAwsjson11_deserializeOpDocumentGetCrawlersOutput(v **GetCrawlersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -62358,6 +64050,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn if err := awsAwsjson11_deserializeDocumentContextWords(&sv.ContextWords, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -62366,6 +64059,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn } sv.Name = ptr.String(jtv) } + case "RegexString": if value != nil { jtv, ok := value.(string) @@ -62374,6 +64068,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomEntityTypeOutput(v **GetCustomEn } sv.RegexString = ptr.String(jtv) } + default: _, _ = key, value @@ -62409,6 +64104,7 @@ func awsAwsjson11_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsAwsjson11_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + default: _, _ = key, value @@ -62444,6 +64140,7 @@ func awsAwsjson11_deserializeOpDocumentGetDatabasesOutput(v **GetDatabasesOutput if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.DatabaseList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -62452,6 +64149,7 @@ func awsAwsjson11_deserializeOpDocumentGetDatabasesOutput(v **GetDatabasesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -62487,6 +64185,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataCatalogEncryptionSettingsOutput(v if err := awsAwsjson11_deserializeDocumentDataCatalogEncryptionSettings(&sv.DataCatalogEncryptionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -62522,10 +64221,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataflowGraphOutput(v **GetDataflowGra if err := awsAwsjson11_deserializeDocumentDagEdges(&sv.DagEdges, value); err != nil { return err } + case "DagNodes": if err := awsAwsjson11_deserializeDocumentDagNodes(&sv.DagNodes, value); err != nil { return err } + default: _, _ = key, value @@ -62572,6 +64273,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -62580,6 +64282,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } sv.FailureReason = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -62595,6 +64298,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -62603,6 +64307,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelOutput(v **GetDataQual } sv.Status = types.DataQualityModelStatus(jtv) } + default: _, _ = key, value @@ -62649,10 +64354,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityModelResultOutput(v **GetDa } } + case "Model": if err := awsAwsjson11_deserializeDocumentStatisticModelResults(&sv.Model, value); err != nil { return err } + default: _, _ = key, value @@ -62688,6 +64395,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua if err := awsAwsjson11_deserializeDocumentDataQualityAnalyzerResults(&sv.AnalyzerResults, value); err != nil { return err } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -62703,10 +64411,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "EvaluationContext": if value != nil { jtv, ok := value.(string) @@ -62715,6 +64425,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.EvaluationContext = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -62723,6 +64434,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.JobName = ptr.String(jtv) } + case "JobRunId": if value != nil { jtv, ok := value.(string) @@ -62731,10 +64443,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.JobRunId = ptr.String(jtv) } + case "Observations": if err := awsAwsjson11_deserializeDocumentDataQualityObservations(&sv.Observations, value); err != nil { return err } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -62743,6 +64457,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.ProfileId = ptr.String(jtv) } + case "ResultId": if value != nil { jtv, ok := value.(string) @@ -62751,10 +64466,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.ResultId = ptr.String(jtv) } + case "RuleResults": if err := awsAwsjson11_deserializeDocumentDataQualityRuleResults(&sv.RuleResults, value); err != nil { return err } + case "RulesetEvaluationRunId": if value != nil { jtv, ok := value.(string) @@ -62763,6 +64480,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.RulesetEvaluationRunId = ptr.String(jtv) } + case "RulesetName": if value != nil { jtv, ok := value.(string) @@ -62771,6 +64489,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } sv.RulesetName = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -62804,6 +64523,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -62819,6 +64539,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityResultOutput(v **GetDataQua } } + default: _, _ = key, value @@ -62865,6 +64586,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } + case "CreatedRulesetName": if value != nil { jtv, ok := value.(string) @@ -62873,6 +64595,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.CreatedRulesetName = ptr.String(jtv) } + case "DataQualitySecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -62881,10 +64604,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.DataQualitySecurityConfiguration = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -62893,6 +64618,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.ErrorString = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -62905,6 +64631,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.ExecutionTime = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -62920,6 +64647,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -62932,6 +64660,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "RecommendedRuleset": if value != nil { jtv, ok := value.(string) @@ -62940,6 +64669,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.RecommendedRuleset = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -62948,6 +64678,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Role = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -62956,6 +64687,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.RunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -62971,6 +64703,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -62979,6 +64712,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Status = types.TaskStatusType(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -62991,6 +64725,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRuleRecommendationRunOutput } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -63026,10 +64761,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( if err := awsAwsjson11_deserializeDocumentDataSourceMap(&sv.AdditionalDataSources, value); err != nil { return err } + case "AdditionalRunOptions": if err := awsAwsjson11_deserializeDocumentDataQualityEvaluationRunAdditionalRunOptions(&sv.AdditionalRunOptions, value); err != nil { return err } + case "CompletedOn": if value != nil { switch jtv := value.(type) { @@ -63045,10 +64782,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -63057,6 +64796,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.ErrorString = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -63069,6 +64809,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.ExecutionTime = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -63084,6 +64825,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -63096,10 +64838,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "ResultIds": if err := awsAwsjson11_deserializeDocumentDataQualityResultIdList(&sv.ResultIds, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -63108,10 +64852,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Role = ptr.String(jtv) } + case "RulesetNames": if err := awsAwsjson11_deserializeDocumentRulesetNames(&sv.RulesetNames, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -63120,6 +64866,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.RunId = ptr.String(jtv) } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -63135,6 +64882,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -63143,6 +64891,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Status = types.TaskStatusType(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -63155,6 +64904,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetEvaluationRunOutput( } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -63201,6 +64951,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } } + case "DataQualitySecurityConfiguration": if value != nil { jtv, ok := value.(string) @@ -63209,6 +64960,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.DataQualitySecurityConfiguration = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -63217,6 +64969,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Description = ptr.String(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -63232,6 +64985,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -63240,6 +64994,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Name = ptr.String(jtv) } + case "RecommendationRunId": if value != nil { jtv, ok := value.(string) @@ -63248,6 +65003,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.RecommendationRunId = ptr.String(jtv) } + case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -63256,10 +65012,12 @@ func awsAwsjson11_deserializeOpDocumentGetDataQualityRulesetOutput(v **GetDataQu } sv.Ruleset = ptr.String(jtv) } + case "TargetTable": if err := awsAwsjson11_deserializeDocumentDataQualityTargetTable(&sv.TargetTable, value); err != nil { return err } + default: _, _ = key, value @@ -63295,6 +65053,7 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointOutput(v **GetDevEndpointOu if err := awsAwsjson11_deserializeDocumentDevEndpoint(&sv.DevEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -63330,6 +65089,7 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointsOutput(v **GetDevEndpoints if err := awsAwsjson11_deserializeDocumentDevEndpointList(&sv.DevEndpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63338,6 +65098,7 @@ func awsAwsjson11_deserializeOpDocumentGetDevEndpointsOutput(v **GetDevEndpoints } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -63373,6 +65134,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobBookmarkOutput(v **GetJobBookmarkOu if err := awsAwsjson11_deserializeDocumentJobBookmarkEntry(&sv.JobBookmarkEntry, value); err != nil { return err } + default: _, _ = key, value @@ -63408,6 +65170,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsAwsjson11_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -63443,6 +65206,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunOutput(v **GetJobRunOutput, valu if err := awsAwsjson11_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { return err } + default: _, _ = key, value @@ -63478,6 +65242,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunsOutput(v **GetJobRunsOutput, va if err := awsAwsjson11_deserializeDocumentJobRunList(&sv.JobRuns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63486,6 +65251,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobRunsOutput(v **GetJobRunsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -63521,6 +65287,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobsOutput(v **GetJobsOutput, value in if err := awsAwsjson11_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63529,6 +65296,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobsOutput(v **GetJobsOutput, value in } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -63564,6 +65332,7 @@ func awsAwsjson11_deserializeOpDocumentGetMappingOutput(v **GetMappingOutput, va if err := awsAwsjson11_deserializeDocumentMappingList(&sv.Mapping, value); err != nil { return err } + default: _, _ = key, value @@ -63610,6 +65379,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } + case "ErrorString": if value != nil { jtv, ok := value.(string) @@ -63618,6 +65388,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.ErrorString = ptr.String(jtv) } + case "ExecutionTime": if value != nil { jtv, ok := value.(json.Number) @@ -63630,6 +65401,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.ExecutionTime = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -63645,6 +65417,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -63653,10 +65426,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.LogGroupName = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentTaskRunProperties(&sv.Properties, value); err != nil { return err } + case "StartedOn": if value != nil { switch jtv := value.(type) { @@ -63672,6 +65447,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -63680,6 +65456,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.Status = types.TaskStatusType(jtv) } + case "TaskRunId": if value != nil { jtv, ok := value.(string) @@ -63688,6 +65465,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.TaskRunId = ptr.String(jtv) } + case "TransformId": if value != nil { jtv, ok := value.(string) @@ -63696,6 +65474,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunOutput(v **GetMLTaskRunOutput } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -63735,10 +65514,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTaskRunsOutput(v **GetMLTaskRunsOutp } sv.NextToken = ptr.String(jtv) } + case "TaskRuns": if err := awsAwsjson11_deserializeDocumentTaskRunList(&sv.TaskRuns, value); err != nil { return err } + default: _, _ = key, value @@ -63785,6 +65566,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -63793,10 +65575,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Description = ptr.String(jtv) } + case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "GlueVersion": if value != nil { jtv, ok := value.(string) @@ -63805,10 +65589,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.GlueVersion = ptr.String(jtv) } + case "InputRecordTables": if err := awsAwsjson11_deserializeDocumentGlueTables(&sv.InputRecordTables, value); err != nil { return err } + case "LabelCount": if value != nil { jtv, ok := value.(json.Number) @@ -63821,6 +65607,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.LabelCount = int32(i64) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -63836,6 +65623,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } + case "MaxCapacity": if value != nil { switch jtv := value.(type) { @@ -63869,6 +65657,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } } + case "MaxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -63881,6 +65670,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.MaxRetries = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -63889,6 +65679,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Name = ptr.String(jtv) } + case "NumberOfWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -63901,10 +65692,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.NumberOfWorkers = ptr.Int32(int32(i64)) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentTransformParameters(&sv.Parameters, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -63913,10 +65706,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Role = ptr.String(jtv) } + case "Schema": if err := awsAwsjson11_deserializeDocumentTransformSchema(&sv.Schema, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -63925,6 +65720,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Status = types.TransformStatusType(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -63937,10 +65733,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.Timeout = ptr.Int32(int32(i64)) } + case "TransformEncryption": if err := awsAwsjson11_deserializeDocumentTransformEncryption(&sv.TransformEncryption, value); err != nil { return err } + case "TransformId": if value != nil { jtv, ok := value.(string) @@ -63949,6 +65747,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.TransformId = ptr.String(jtv) } + case "WorkerType": if value != nil { jtv, ok := value.(string) @@ -63957,6 +65756,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformOutput(v **GetMLTransformOu } sv.WorkerType = types.WorkerType(jtv) } + default: _, _ = key, value @@ -63996,10 +65796,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLTransformsOutput(v **GetMLTransforms } sv.NextToken = ptr.String(jtv) } + case "Transforms": if err := awsAwsjson11_deserializeDocumentTransformList(&sv.Transforms, value); err != nil { return err } + default: _, _ = key, value @@ -64039,10 +65841,12 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionIndexesOutput(v **GetPartitio } sv.NextToken = ptr.String(jtv) } + case "PartitionIndexDescriptorList": if err := awsAwsjson11_deserializeDocumentPartitionIndexDescriptorList(&sv.PartitionIndexDescriptorList, value); err != nil { return err } + default: _, _ = key, value @@ -64078,6 +65882,7 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionOutput(v **GetPartitionOutput if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } + default: _, _ = key, value @@ -64117,10 +65922,12 @@ func awsAwsjson11_deserializeOpDocumentGetPartitionsOutput(v **GetPartitionsOutp } sv.NextToken = ptr.String(jtv) } + case "Partitions": if err := awsAwsjson11_deserializeDocumentPartitionList(&sv.Partitions, value); err != nil { return err } + default: _, _ = key, value @@ -64160,6 +65967,7 @@ func awsAwsjson11_deserializeOpDocumentGetPlanOutput(v **GetPlanOutput, value in } sv.PythonScript = ptr.String(jtv) } + case "ScalaCode": if value != nil { jtv, ok := value.(string) @@ -64168,6 +65976,7 @@ func awsAwsjson11_deserializeOpDocumentGetPlanOutput(v **GetPlanOutput, value in } sv.ScalaCode = ptr.String(jtv) } + default: _, _ = key, value @@ -64207,6 +66016,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.CreatedTime = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -64215,6 +66025,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -64223,6 +66034,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -64231,6 +66043,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.RegistryName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -64239,6 +66052,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.Status = types.RegistryStatus(jtv) } + case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -64247,6 +66061,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegistryOutput(v **GetRegistryOutput, } sv.UpdatedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -64282,6 +66097,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource if err := awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseList(&sv.GetResourcePoliciesResponseList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -64290,6 +66106,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -64336,6 +66153,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } + case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -64344,6 +66162,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyHash = ptr.String(jtv) } + case "PolicyInJson": if value != nil { jtv, ok := value.(string) @@ -64352,6 +66171,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyInJson = ptr.String(jtv) } + case "UpdateTime": if value != nil { switch jtv := value.(type) { @@ -64367,6 +66187,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } + default: _, _ = key, value @@ -64406,6 +66227,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.CreatedTime = ptr.String(jtv) } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -64414,6 +66236,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.DataFormat = types.DataFormat(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -64422,6 +66245,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.SchemaArn = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -64430,6 +66254,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.SchemaVersionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -64438,6 +66263,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaByDefinitionOutput(v **GetSchema } sv.Status = types.SchemaVersionStatus(jtv) } + default: _, _ = key, value @@ -64477,6 +66303,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Compatibility = types.Compatibility(jtv) } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -64485,6 +66312,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.CreatedTime = ptr.String(jtv) } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -64493,6 +66321,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.DataFormat = types.DataFormat(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -64501,6 +66330,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Description = ptr.String(jtv) } + case "LatestSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -64513,6 +66343,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.LatestSchemaVersion = ptr.Int64(i64) } + case "NextSchemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -64525,6 +66356,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.NextSchemaVersion = ptr.Int64(i64) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -64533,6 +66365,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -64541,6 +66374,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -64549,6 +66383,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaArn = ptr.String(jtv) } + case "SchemaCheckpoint": if value != nil { jtv, ok := value.(json.Number) @@ -64561,6 +66396,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaCheckpoint = ptr.Int64(i64) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -64569,6 +66405,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaName = ptr.String(jtv) } + case "SchemaStatus": if value != nil { jtv, ok := value.(string) @@ -64577,6 +66414,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.SchemaStatus = types.SchemaStatus(jtv) } + case "UpdatedTime": if value != nil { jtv, ok := value.(string) @@ -64585,6 +66423,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.UpdatedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -64624,6 +66463,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.CreatedTime = ptr.String(jtv) } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -64632,6 +66472,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.DataFormat = types.DataFormat(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -64640,6 +66481,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaArn = ptr.String(jtv) } + case "SchemaDefinition": if value != nil { jtv, ok := value.(string) @@ -64648,6 +66490,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaDefinition = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -64656,6 +66499,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.SchemaVersionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -64664,6 +66508,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.Status = types.SchemaVersionStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -64676,6 +66521,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -64715,6 +66561,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionsDiffOutput(v **GetSchema } sv.Diff = ptr.String(jtv) } + default: _, _ = key, value @@ -64750,6 +66597,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecurityConfigurationOutput(v **GetSec if err := awsAwsjson11_deserializeDocumentSecurityConfiguration(&sv.SecurityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -64789,10 +66637,12 @@ func awsAwsjson11_deserializeOpDocumentGetSecurityConfigurationsOutput(v **GetSe } sv.NextToken = ptr.String(jtv) } + case "SecurityConfigurations": if err := awsAwsjson11_deserializeDocumentSecurityConfigurationList(&sv.SecurityConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -64828,6 +66678,7 @@ func awsAwsjson11_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsAwsjson11_deserializeDocumentSession(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -64863,6 +66714,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementOutput(v **GetStatementOutput if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } + default: _, _ = key, value @@ -64902,6 +66754,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -64910,6 +66763,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.DatabaseName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -64918,10 +66772,12 @@ func awsAwsjson11_deserializeOpDocumentGetTableOptimizerOutput(v **GetTableOptim } sv.TableName = ptr.String(jtv) } + case "TableOptimizer": if err := awsAwsjson11_deserializeDocumentTableOptimizer(&sv.TableOptimizer, value); err != nil { return err } + default: _, _ = key, value @@ -64957,6 +66813,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -64996,10 +66853,12 @@ func awsAwsjson11_deserializeOpDocumentGetTablesOutput(v **GetTablesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "TableList": if err := awsAwsjson11_deserializeDocumentTableList(&sv.TableList, value); err != nil { return err } + default: _, _ = key, value @@ -65035,6 +66894,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableVersionOutput(v **GetTableVersion if err := awsAwsjson11_deserializeDocumentTableVersion(&sv.TableVersion, value); err != nil { return err } + default: _, _ = key, value @@ -65074,10 +66934,12 @@ func awsAwsjson11_deserializeOpDocumentGetTableVersionsOutput(v **GetTableVersio } sv.NextToken = ptr.String(jtv) } + case "TableVersions": if err := awsAwsjson11_deserializeDocumentGetTableVersionsList(&sv.TableVersions, value); err != nil { return err } + default: _, _ = key, value @@ -65113,6 +66975,7 @@ func awsAwsjson11_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in if err := awsAwsjson11_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -65148,6 +67011,7 @@ func awsAwsjson11_deserializeOpDocumentGetTriggerOutput(v **GetTriggerOutput, va if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } + default: _, _ = key, value @@ -65187,10 +67051,12 @@ func awsAwsjson11_deserializeOpDocumentGetTriggersOutput(v **GetTriggersOutput, } sv.NextToken = ptr.String(jtv) } + case "Triggers": if err := awsAwsjson11_deserializeDocumentTriggerList(&sv.Triggers, value); err != nil { return err } + default: _, _ = key, value @@ -65226,6 +67092,7 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionMetadataOutput(v ** if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } + case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -65234,10 +67101,12 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionMetadataOutput(v ** } sv.IsRegisteredWithLakeFormation = jtv } + case "Partition": if err := awsAwsjson11_deserializeDocumentPartition(&sv.Partition, value); err != nil { return err } + default: _, _ = key, value @@ -65277,10 +67146,12 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredPartitionsMetadataOutput(v * } sv.NextToken = ptr.String(jtv) } + case "UnfilteredPartitions": if err := awsAwsjson11_deserializeDocumentUnfilteredPartitionList(&sv.UnfilteredPartitions, value); err != nil { return err } + default: _, _ = key, value @@ -65316,10 +67187,12 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU if err := awsAwsjson11_deserializeDocumentNameStringList(&sv.AuthorizedColumns, value); err != nil { return err } + case "CellFilters": if err := awsAwsjson11_deserializeDocumentColumnRowFilterList(&sv.CellFilters, value); err != nil { return err } + case "IsMultiDialectView": if value != nil { jtv, ok := value.(bool) @@ -65328,6 +67201,7 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsMultiDialectView = jtv } + case "IsProtected": if value != nil { jtv, ok := value.(bool) @@ -65336,6 +67210,7 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsProtected = jtv } + case "IsRegisteredWithLakeFormation": if value != nil { jtv, ok := value.(bool) @@ -65344,10 +67219,12 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.IsRegisteredWithLakeFormation = jtv } + case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "QueryAuthorizationId": if value != nil { jtv, ok := value.(string) @@ -65356,6 +67233,7 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.QueryAuthorizationId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -65364,6 +67242,7 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.ResourceArn = ptr.String(jtv) } + case "RowFilter": if value != nil { jtv, ok := value.(string) @@ -65372,10 +67251,12 @@ func awsAwsjson11_deserializeOpDocumentGetUnfilteredTableMetadataOutput(v **GetU } sv.RowFilter = ptr.String(jtv) } + case "Table": if err := awsAwsjson11_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -65411,6 +67292,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile if err := awsAwsjson11_deserializeDocumentProfileConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreatedOn": if value != nil { switch jtv := value.(type) { @@ -65426,6 +67308,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -65434,6 +67317,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } sv.Description = ptr.String(jtv) } + case "LastModifiedOn": if value != nil { switch jtv := value.(type) { @@ -65449,6 +67333,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -65457,6 +67342,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageProfileOutput(v **GetUsageProfile } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -65492,6 +67378,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserDefinedFunctionOutput(v **GetUserD if err := awsAwsjson11_deserializeDocumentUserDefinedFunction(&sv.UserDefinedFunction, value); err != nil { return err } + default: _, _ = key, value @@ -65531,10 +67418,12 @@ func awsAwsjson11_deserializeOpDocumentGetUserDefinedFunctionsOutput(v **GetUser } sv.NextToken = ptr.String(jtv) } + case "UserDefinedFunctions": if err := awsAwsjson11_deserializeDocumentUserDefinedFunctionList(&sv.UserDefinedFunctions, value); err != nil { return err } + default: _, _ = key, value @@ -65570,6 +67459,7 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsAwsjson11_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } + default: _, _ = key, value @@ -65605,6 +67495,7 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunOutput(v **GetWorkflowRunOu if err := awsAwsjson11_deserializeDocumentWorkflowRun(&sv.Run, value); err != nil { return err } + default: _, _ = key, value @@ -65640,6 +67531,7 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunPropertiesOutput(v **GetWor if err := awsAwsjson11_deserializeDocumentWorkflowRunProperties(&sv.RunProperties, value); err != nil { return err } + default: _, _ = key, value @@ -65679,10 +67571,12 @@ func awsAwsjson11_deserializeOpDocumentGetWorkflowRunsOutput(v **GetWorkflowRuns } sv.NextToken = ptr.String(jtv) } + case "Runs": if err := awsAwsjson11_deserializeDocumentWorkflowRuns(&sv.Runs, value); err != nil { return err } + default: _, _ = key, value @@ -65749,6 +67643,7 @@ func awsAwsjson11_deserializeOpDocumentListBlueprintsOutput(v **ListBlueprintsOu if err := awsAwsjson11_deserializeDocumentBlueprintNames(&sv.Blueprints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65757,6 +67652,7 @@ func awsAwsjson11_deserializeOpDocumentListBlueprintsOutput(v **ListBlueprintsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -65792,6 +67688,7 @@ func awsAwsjson11_deserializeOpDocumentListColumnStatisticsTaskRunsOutput(v **Li if err := awsAwsjson11_deserializeDocumentColumnStatisticsTaskRunIdList(&sv.ColumnStatisticsTaskRunIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65800,6 +67697,7 @@ func awsAwsjson11_deserializeOpDocumentListColumnStatisticsTaskRunsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -65835,6 +67733,7 @@ func awsAwsjson11_deserializeOpDocumentListCrawlersOutput(v **ListCrawlersOutput if err := awsAwsjson11_deserializeDocumentCrawlerNameList(&sv.CrawlerNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65843,6 +67742,7 @@ func awsAwsjson11_deserializeOpDocumentListCrawlersOutput(v **ListCrawlersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -65878,6 +67778,7 @@ func awsAwsjson11_deserializeOpDocumentListCrawlsOutput(v **ListCrawlsOutput, va if err := awsAwsjson11_deserializeDocumentCrawlerHistoryList(&sv.Crawls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65886,6 +67787,7 @@ func awsAwsjson11_deserializeOpDocumentListCrawlsOutput(v **ListCrawlsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -65921,6 +67823,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomEntityTypesOutput(v **ListCusto if err := awsAwsjson11_deserializeDocumentCustomEntityTypes(&sv.CustomEntityTypes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -65929,6 +67832,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomEntityTypesOutput(v **ListCusto } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -65968,10 +67872,12 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityResultsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentDataQualityResultDescriptionList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -66011,10 +67917,12 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRuleRecommendationRunsOutp } sv.NextToken = ptr.String(jtv) } + case "Runs": if err := awsAwsjson11_deserializeDocumentDataQualityRuleRecommendationRunList(&sv.Runs, value); err != nil { return err } + default: _, _ = key, value @@ -66054,10 +67962,12 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRulesetEvaluationRunsOutpu } sv.NextToken = ptr.String(jtv) } + case "Runs": if err := awsAwsjson11_deserializeDocumentDataQualityRulesetEvaluationRunList(&sv.Runs, value); err != nil { return err } + default: _, _ = key, value @@ -66097,10 +68007,12 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityRulesetsOutput(v **ListDat } sv.NextToken = ptr.String(jtv) } + case "Rulesets": if err := awsAwsjson11_deserializeDocumentDataQualityRulesetList(&sv.Rulesets, value); err != nil { return err } + default: _, _ = key, value @@ -66136,6 +68048,7 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticAnnotationsOutput if err := awsAwsjson11_deserializeDocumentAnnotationList(&sv.Annotations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66144,6 +68057,7 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticAnnotationsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -66183,10 +68097,12 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityStatisticsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } + case "Statistics": if err := awsAwsjson11_deserializeDocumentStatisticSummaryList(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -66222,6 +68138,7 @@ func awsAwsjson11_deserializeOpDocumentListDevEndpointsOutput(v **ListDevEndpoin if err := awsAwsjson11_deserializeDocumentDevEndpointNameList(&sv.DevEndpointNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66230,6 +68147,7 @@ func awsAwsjson11_deserializeOpDocumentListDevEndpointsOutput(v **ListDevEndpoin } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -66265,6 +68183,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobNameList(&sv.JobNames, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66273,6 +68192,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -66312,10 +68232,12 @@ func awsAwsjson11_deserializeOpDocumentListMLTransformsOutput(v **ListMLTransfor } sv.NextToken = ptr.String(jtv) } + case "TransformIds": if err := awsAwsjson11_deserializeDocumentTransformIdList(&sv.TransformIds, value); err != nil { return err } + default: _, _ = key, value @@ -66355,10 +68277,12 @@ func awsAwsjson11_deserializeOpDocumentListRegistriesOutput(v **ListRegistriesOu } sv.NextToken = ptr.String(jtv) } + case "Registries": if err := awsAwsjson11_deserializeDocumentRegistryListDefinition(&sv.Registries, value); err != nil { return err } + default: _, _ = key, value @@ -66398,10 +68322,12 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaListDefinition(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -66441,10 +68367,12 @@ func awsAwsjson11_deserializeOpDocumentListSchemaVersionsOutput(v **ListSchemaVe } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaVersionList(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -66480,6 +68408,7 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput if err := awsAwsjson11_deserializeDocumentSessionIdList(&sv.Ids, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66488,10 +68417,12 @@ func awsAwsjson11_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } + case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -66531,10 +68462,12 @@ func awsAwsjson11_deserializeOpDocumentListStatementsOutput(v **ListStatementsOu } sv.NextToken = ptr.String(jtv) } + case "Statements": if err := awsAwsjson11_deserializeDocumentStatementList(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -66574,6 +68507,7 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -66582,6 +68516,7 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.DatabaseName = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -66590,6 +68525,7 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.NextToken = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -66598,10 +68534,12 @@ func awsAwsjson11_deserializeOpDocumentListTableOptimizerRunsOutput(v **ListTabl } sv.TableName = ptr.String(jtv) } + case "TableOptimizerRuns": if err := awsAwsjson11_deserializeDocumentTableOptimizerRuns(&sv.TableOptimizerRuns, value); err != nil { return err } + default: _, _ = key, value @@ -66641,10 +68579,12 @@ func awsAwsjson11_deserializeOpDocumentListTriggersOutput(v **ListTriggersOutput } sv.NextToken = ptr.String(jtv) } + case "TriggerNames": if err := awsAwsjson11_deserializeDocumentTriggerNameList(&sv.TriggerNames, value); err != nil { return err } + default: _, _ = key, value @@ -66684,10 +68624,12 @@ func awsAwsjson11_deserializeOpDocumentListUsageProfilesOutput(v **ListUsageProf } sv.NextToken = ptr.String(jtv) } + case "Profiles": if err := awsAwsjson11_deserializeDocumentUsageProfileDefinitionList(&sv.Profiles, value); err != nil { return err } + default: _, _ = key, value @@ -66727,10 +68669,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + case "Workflows": if err := awsAwsjson11_deserializeDocumentWorkflowNames(&sv.Workflows, value); err != nil { return err } + default: _, _ = key, value @@ -66832,6 +68776,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyHash = ptr.String(jtv) } + default: _, _ = key, value @@ -66871,6 +68816,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.LatestVersion = jtv } + case "MetadataKey": if value != nil { jtv, ok := value.(string) @@ -66879,6 +68825,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.MetadataKey = ptr.String(jtv) } + case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -66887,6 +68834,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.MetadataValue = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -66895,6 +68843,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -66903,6 +68852,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -66911,6 +68861,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -66919,6 +68870,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.SchemaVersionId = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -66931,6 +68883,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -66997,6 +68950,7 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer if err := awsAwsjson11_deserializeDocumentMetadataInfoMap(&sv.MetadataInfoMap, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -67005,6 +68959,7 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer } sv.NextToken = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -67013,6 +68968,7 @@ func awsAwsjson11_deserializeOpDocumentQuerySchemaVersionMetadataOutput(v **Quer } sv.SchemaVersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -67052,6 +69008,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.SchemaVersionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -67060,6 +69017,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.Status = types.SchemaVersionStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -67072,6 +69030,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -67111,6 +69070,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.LatestVersion = jtv } + case "MetadataKey": if value != nil { jtv, ok := value.(string) @@ -67119,6 +69079,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.MetadataKey = ptr.String(jtv) } + case "MetadataValue": if value != nil { jtv, ok := value.(string) @@ -67127,6 +69088,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.MetadataValue = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -67135,6 +69097,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -67143,6 +69106,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -67151,6 +69115,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersionId": if value != nil { jtv, ok := value.(string) @@ -67159,6 +69124,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.SchemaVersionId = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -67171,6 +69137,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -67206,6 +69173,7 @@ func awsAwsjson11_deserializeOpDocumentResetJobBookmarkOutput(v **ResetJobBookma if err := awsAwsjson11_deserializeDocumentJobBookmarkEntry(&sv.JobBookmarkEntry, value); err != nil { return err } + default: _, _ = key, value @@ -67241,6 +69209,7 @@ func awsAwsjson11_deserializeOpDocumentResumeWorkflowRunOutput(v **ResumeWorkflo if err := awsAwsjson11_deserializeDocumentNodeIdList(&sv.NodeIds, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -67249,6 +69218,7 @@ func awsAwsjson11_deserializeOpDocumentResumeWorkflowRunOutput(v **ResumeWorkflo } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67292,6 +69262,7 @@ func awsAwsjson11_deserializeOpDocumentRunStatementOutput(v **RunStatementOutput } sv.Id = int32(i64) } + default: _, _ = key, value @@ -67331,10 +69302,12 @@ func awsAwsjson11_deserializeOpDocumentSearchTablesOutput(v **SearchTablesOutput } sv.NextToken = ptr.String(jtv) } + case "TableList": if err := awsAwsjson11_deserializeDocumentTableList(&sv.TableList, value); err != nil { return err } + default: _, _ = key, value @@ -67374,6 +69347,7 @@ func awsAwsjson11_deserializeOpDocumentStartBlueprintRunOutput(v **StartBlueprin } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67413,6 +69387,7 @@ func awsAwsjson11_deserializeOpDocumentStartColumnStatisticsTaskRunOutput(v **St } sv.ColumnStatisticsTaskRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67545,6 +69520,7 @@ func awsAwsjson11_deserializeOpDocumentStartDataQualityRuleRecommendationRunOutp } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67584,6 +69560,7 @@ func awsAwsjson11_deserializeOpDocumentStartDataQualityRulesetEvaluationRunOutpu } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67623,6 +69600,7 @@ func awsAwsjson11_deserializeOpDocumentStartExportLabelsTaskRunOutput(v **StartE } sv.TaskRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67662,6 +69640,7 @@ func awsAwsjson11_deserializeOpDocumentStartImportLabelsTaskRunOutput(v **StartI } sv.TaskRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67701,6 +69680,7 @@ func awsAwsjson11_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, } sv.JobRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67740,6 +69720,7 @@ func awsAwsjson11_deserializeOpDocumentStartMLEvaluationTaskRunOutput(v **StartM } sv.TaskRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67779,6 +69760,7 @@ func awsAwsjson11_deserializeOpDocumentStartMLLabelingSetGenerationTaskRunOutput } sv.TaskRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -67818,6 +69800,7 @@ func awsAwsjson11_deserializeOpDocumentStartTriggerOutput(v **StartTriggerOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -67857,6 +69840,7 @@ func awsAwsjson11_deserializeOpDocumentStartWorkflowRunOutput(v **StartWorkflowR } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -68020,6 +70004,7 @@ func awsAwsjson11_deserializeOpDocumentStopSessionOutput(v **StopSessionOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -68059,6 +70044,7 @@ func awsAwsjson11_deserializeOpDocumentStopTriggerOutput(v **StopTriggerOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -68222,6 +70208,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBlueprintOutput(v **UpdateBlueprint } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -68288,6 +70275,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateColumnStatisticsForPartitionOutput( if err := awsAwsjson11_deserializeDocumentColumnStatisticsErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -68323,6 +70311,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateColumnStatisticsForTableOutput(v ** if err := awsAwsjson11_deserializeDocumentColumnStatisticsErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -68517,6 +70506,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -68525,6 +70515,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Name = ptr.String(jtv) } + case "Ruleset": if value != nil { jtv, ok := value.(string) @@ -68533,6 +70524,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataQualityRulesetOutput(v **Update } sv.Ruleset = ptr.String(jtv) } + default: _, _ = key, value @@ -68603,6 +70595,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateJobFromSourceControlOutput(v **Upda } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -68642,6 +70635,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateJobOutput(v **UpdateJobOutput, valu } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -68681,6 +70675,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMLTransformOutput(v **UpdateMLTrans } sv.TransformId = ptr.String(jtv) } + default: _, _ = key, value @@ -68751,6 +70746,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -68759,6 +70755,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryName = ptr.String(jtv) } + default: _, _ = key, value @@ -68798,6 +70795,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -68806,6 +70804,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -68814,6 +70813,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaName = ptr.String(jtv) } + default: _, _ = key, value @@ -68853,6 +70853,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSourceControlFromJobOutput(v **Upda } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -68950,6 +70951,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTriggerOutput(v **UpdateTriggerOutp if err := awsAwsjson11_deserializeDocumentTrigger(&sv.Trigger, value); err != nil { return err } + default: _, _ = key, value @@ -68989,6 +70991,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUsageProfileOutput(v **UpdateUsageP } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -69059,6 +71062,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/grafana/deserializers.go b/service/grafana/deserializers.go index a828b3c7010..a6c36fcb0e7 100644 --- a/service/grafana/deserializers.go +++ b/service/grafana/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentAssociateLicenseOutput(v **AssociateLicen if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -350,6 +351,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -523,6 +525,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.Key = ptr.String(jtv) } + case "keyName": if value != nil { jtv, ok := value.(string) @@ -531,6 +534,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.KeyName = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -539,6 +543,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceApiKeyOutput(v **CreateWor } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -712,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.GrafanaRole = types.Role(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -720,6 +726,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -728,6 +735,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.Name = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -736,6 +744,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountOutput(v **C } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -909,10 +918,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountTokenOutput( } sv.ServiceAccountId = ptr.String(jtv) } + case "serviceAccountToken": if err := awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(&sv.ServiceAccountToken, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -921,6 +932,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceServiceAccountTokenOutput( } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1087,6 +1099,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceOutput(v **DeleteWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -1257,6 +1270,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceApiKeyOutput(v **DeleteWor } sv.KeyName = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1265,6 +1279,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceApiKeyOutput(v **DeleteWor } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1435,6 +1450,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountOutput(v **D } sv.ServiceAccountId = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1443,6 +1459,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountOutput(v **D } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1613,6 +1630,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.ServiceAccountId = ptr.String(jtv) } + case "tokenId": if value != nil { jtv, ok := value.(string) @@ -1621,6 +1639,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.TokenId = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -1629,6 +1648,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceServiceAccountTokenOutput( } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1792,6 +1812,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceOutput(v **DescribeWorks if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -1958,6 +1979,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceAuthenticationOutput(v * if err := awsRestjson1_deserializeDocumentAuthenticationDescription(&sv.Authentication, value); err != nil { return err } + default: _, _ = key, value @@ -2122,6 +2144,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceConfigurationOutput(v ** } sv.Configuration = ptr.String(jtv) } + case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -2130,6 +2153,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkspaceConfigurationOutput(v ** } sv.GrafanaVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2293,6 +2317,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateLicenseOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -2460,10 +2485,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentPermissionEntryList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -2627,6 +2654,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2790,6 +2818,7 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput if err := awsRestjson1_deserializeDocumentGrafanaVersionList(&sv.GrafanaVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2798,6 +2827,7 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2959,10 +2989,12 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } + case "workspaces": if err := awsRestjson1_deserializeDocumentWorkspaceList(&sv.Workspaces, value); err != nil { return err } + default: _, _ = key, value @@ -3133,10 +3165,12 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "serviceAccounts": if err := awsRestjson1_deserializeDocumentServiceAccountList(&sv.ServiceAccounts, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3145,6 +3179,7 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountsOutput(v **Li } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3315,6 +3350,7 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.NextToken = ptr.String(jtv) } + case "serviceAccountId": if value != nil { jtv, ok := value.(string) @@ -3323,10 +3359,12 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.ServiceAccountId = ptr.String(jtv) } + case "serviceAccountTokens": if err := awsRestjson1_deserializeDocumentServiceAccountTokenList(&sv.ServiceAccountTokens, value); err != nil { return err } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3335,6 +3373,7 @@ func awsRestjson1_deserializeOpDocumentListWorkspaceServiceAccountTokensOutput(v } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3698,6 +3737,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePermissionsOutput(v **UpdatePermiss if err := awsRestjson1_deserializeDocumentUpdateErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -3864,6 +3904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceOutput(v **UpdateWorkspace if err := awsRestjson1_deserializeDocumentWorkspaceDescription(&sv.Workspace, value); err != nil { return err } + default: _, _ = key, value @@ -4030,6 +4071,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceAuthenticationOutput(v **U if err := awsRestjson1_deserializeDocumentAuthenticationDescription(&sv.Authentication, value); err != nil { return err } + default: _, _ = key, value @@ -4464,6 +4506,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4539,6 +4582,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Email = ptr.String(jtv) } + case "groups": if value != nil { jtv, ok := value.(string) @@ -4547,6 +4591,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Groups = ptr.String(jtv) } + case "login": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4600,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Login = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4563,6 +4609,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Name = ptr.String(jtv) } + case "org": if value != nil { jtv, ok := value.(string) @@ -4571,6 +4618,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Org = ptr.String(jtv) } + case "role": if value != nil { jtv, ok := value.(string) @@ -4579,6 +4627,7 @@ func awsRestjson1_deserializeDocumentAssertionAttributes(v **types.AssertionAttr } sv.Role = ptr.String(jtv) } + default: _, _ = key, value @@ -4614,14 +4663,17 @@ func awsRestjson1_deserializeDocumentAuthenticationDescription(v **types.Authent if err := awsRestjson1_deserializeDocumentAwsSsoAuthentication(&sv.AwsSso, value); err != nil { return err } + case "providers": if err := awsRestjson1_deserializeDocumentAuthenticationProviders(&sv.Providers, value); err != nil { return err } + case "saml": if err := awsRestjson1_deserializeDocumentSamlAuthentication(&sv.Saml, value); err != nil { return err } + default: _, _ = key, value @@ -4693,6 +4745,7 @@ func awsRestjson1_deserializeDocumentAuthenticationSummary(v **types.Authenticat if err := awsRestjson1_deserializeDocumentAuthenticationProviders(&sv.Providers, value); err != nil { return err } + case "samlConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4701,6 +4754,7 @@ func awsRestjson1_deserializeDocumentAuthenticationSummary(v **types.Authenticat } sv.SamlConfigurationStatus = types.SamlConfigurationStatus(jtv) } + default: _, _ = key, value @@ -4740,6 +4794,7 @@ func awsRestjson1_deserializeDocumentAwsSsoAuthentication(v **types.AwsSsoAuthen } sv.SsoClientId = ptr.String(jtv) } + default: _, _ = key, value @@ -4779,6 +4834,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4787,6 +4843,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4795,6 +4852,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4960,6 +5018,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4972,6 +5031,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5007,10 +5067,12 @@ func awsRestjson1_deserializeDocumentNetworkAccessConfiguration(v **types.Networ if err := awsRestjson1_deserializeDocumentPrefixListIds(&sv.PrefixListIds, value); err != nil { return err } + case "vpceIds": if err := awsRestjson1_deserializeDocumentVpceIds(&sv.VpceIds, value); err != nil { return err } + default: _, _ = key, value @@ -5122,10 +5184,12 @@ func awsRestjson1_deserializeDocumentPermissionEntry(v **types.PermissionEntry, } sv.Role = types.Role(jtv) } + case "user": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -5235,6 +5299,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5243,6 +5308,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5251,6 +5317,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5322,10 +5389,12 @@ func awsRestjson1_deserializeDocumentRoleValues(v **types.RoleValues, value inte if err := awsRestjson1_deserializeDocumentRoleValueList(&sv.Admin, value); err != nil { return err } + case "editor": if err := awsRestjson1_deserializeDocumentRoleValueList(&sv.Editor, value); err != nil { return err } + default: _, _ = key, value @@ -5361,6 +5430,7 @@ func awsRestjson1_deserializeDocumentSamlAuthentication(v **types.SamlAuthentica if err := awsRestjson1_deserializeDocumentSamlConfiguration(&sv.Configuration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5369,6 +5439,7 @@ func awsRestjson1_deserializeDocumentSamlAuthentication(v **types.SamlAuthentica } sv.Status = types.SamlConfigurationStatus(jtv) } + default: _, _ = key, value @@ -5404,14 +5475,17 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati if err := awsRestjson1_deserializeDocumentAllowedOrganizations(&sv.AllowedOrganizations, value); err != nil { return err } + case "assertionAttributes": if err := awsRestjson1_deserializeDocumentAssertionAttributes(&sv.AssertionAttributes, value); err != nil { return err } + case "idpMetadata": if err := awsRestjson1_deserializeDocumentIdpMetadata(&sv.IdpMetadata, value); err != nil { return err } + case "loginValidityDuration": if value != nil { jtv, ok := value.(json.Number) @@ -5424,10 +5498,12 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.LoginValidityDuration = int32(i64) } + case "roleValues": if err := awsRestjson1_deserializeDocumentRoleValues(&sv.RoleValues, value); err != nil { return err } + default: _, _ = key, value @@ -5537,6 +5613,7 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.GrafanaRole = types.Role(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5545,6 +5622,7 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.Id = ptr.String(jtv) } + case "isDisabled": if value != nil { jtv, ok := value.(string) @@ -5553,6 +5631,7 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.IsDisabled = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5561,6 +5640,7 @@ func awsRestjson1_deserializeDocumentServiceAccountSummary(v **types.ServiceAcco } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5641,6 +5721,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } + case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -5656,6 +5737,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } + case "id": if value != nil { jtv, ok := value.(string) @@ -5664,6 +5746,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } sv.Id = ptr.String(jtv) } + case "lastUsedAt": if value != nil { switch jtv := value.(type) { @@ -5679,6 +5762,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5687,6 +5771,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummary(v **types.Servic } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5726,6 +5811,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Id = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -5734,6 +5820,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Key = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5742,6 +5829,7 @@ func awsRestjson1_deserializeDocumentServiceAccountTokenSummaryWithKey(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5781,6 +5869,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5789,6 +5878,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5797,6 +5887,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5805,6 +5896,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5813,6 +5905,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5924,6 +6017,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -5932,6 +6026,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5944,6 +6039,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5952,6 +6048,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5987,6 +6084,7 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in if err := awsRestjson1_deserializeDocumentUpdateInstruction(&sv.CausedBy, value); err != nil { return err } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -5999,6 +6097,7 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.Code = ptr.Int32(int32(i64)) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6007,6 +6106,7 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6080,6 +6180,7 @@ func awsRestjson1_deserializeDocumentUpdateInstruction(v **types.UpdateInstructi } sv.Action = types.UpdateAction(jtv) } + case "role": if value != nil { jtv, ok := value.(string) @@ -6088,10 +6189,12 @@ func awsRestjson1_deserializeDocumentUpdateInstruction(v **types.UpdateInstructi } sv.Role = types.Role(jtv) } + case "users": if err := awsRestjson1_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -6131,6 +6234,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6139,6 +6243,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } + default: _, _ = key, value @@ -6208,6 +6313,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6216,6 +6322,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6224,6 +6331,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -6263,6 +6371,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6271,6 +6380,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6340,10 +6450,12 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -6419,10 +6531,12 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.AccountAccessType = types.AccountAccessType(jtv) } + case "authentication": if err := awsRestjson1_deserializeDocumentAuthenticationSummary(&sv.Authentication, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -6438,10 +6552,12 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceTypesList(&sv.DataSources, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -6450,6 +6566,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Description = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6458,6 +6575,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Endpoint = ptr.String(jtv) } + case "freeTrialConsumed": if value != nil { jtv, ok := value.(bool) @@ -6466,6 +6584,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.FreeTrialConsumed = ptr.Bool(jtv) } + case "freeTrialExpiration": if value != nil { switch jtv := value.(type) { @@ -6481,6 +6600,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } + case "grafanaToken": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6609,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.GrafanaToken = ptr.String(jtv) } + case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -6497,6 +6618,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.GrafanaVersion = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6505,6 +6627,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Id = ptr.String(jtv) } + case "licenseExpiration": if value != nil { switch jtv := value.(type) { @@ -6520,6 +6643,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } + case "licenseType": if value != nil { jtv, ok := value.(string) @@ -6528,6 +6652,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.LicenseType = types.LicenseType(jtv) } + case "modified": if value != nil { switch jtv := value.(type) { @@ -6543,6 +6668,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6551,18 +6677,22 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Name = ptr.String(jtv) } + case "networkAccessControl": if err := awsRestjson1_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessControl, value); err != nil { return err } + case "notificationDestinations": if err := awsRestjson1_deserializeDocumentNotificationDestinationsList(&sv.NotificationDestinations, value); err != nil { return err } + case "organizationalUnits": if err := awsRestjson1_deserializeDocumentOrganizationalUnitList(&sv.OrganizationalUnits, value); err != nil { return err } + case "organizationRoleName": if value != nil { jtv, ok := value.(string) @@ -6571,6 +6701,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.OrganizationRoleName = ptr.String(jtv) } + case "permissionType": if value != nil { jtv, ok := value.(string) @@ -6579,6 +6710,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.PermissionType = types.PermissionType(jtv) } + case "stackSetName": if value != nil { jtv, ok := value.(string) @@ -6587,6 +6719,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.StackSetName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6595,14 +6728,17 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.Status = types.WorkspaceStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + case "workspaceRoleArn": if value != nil { jtv, ok := value.(string) @@ -6611,6 +6747,7 @@ func awsRestjson1_deserializeDocumentWorkspaceDescription(v **types.WorkspaceDes } sv.WorkspaceRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6680,6 +6817,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary if err := awsRestjson1_deserializeDocumentAuthenticationSummary(&sv.Authentication, value); err != nil { return err } + case "created": if value != nil { switch jtv := value.(type) { @@ -6695,6 +6833,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6703,6 +6842,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Description = ptr.String(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6711,6 +6851,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Endpoint = ptr.String(jtv) } + case "grafanaToken": if value != nil { jtv, ok := value.(string) @@ -6719,6 +6860,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.GrafanaToken = ptr.String(jtv) } + case "grafanaVersion": if value != nil { jtv, ok := value.(string) @@ -6727,6 +6869,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.GrafanaVersion = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6735,6 +6878,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Id = ptr.String(jtv) } + case "licenseType": if value != nil { jtv, ok := value.(string) @@ -6743,6 +6887,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.LicenseType = types.LicenseType(jtv) } + case "modified": if value != nil { switch jtv := value.(type) { @@ -6758,6 +6903,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6766,10 +6912,12 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Name = ptr.String(jtv) } + case "notificationDestinations": if err := awsRestjson1_deserializeDocumentNotificationDestinationsList(&sv.NotificationDestinations, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6778,10 +6926,12 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Status = types.WorkspaceStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/greengrass/deserializers.go b/service/greengrass/deserializers.go index 5769b852ac6..581a56de19a 100644 --- a/service/greengrass/deserializers.go +++ b/service/greengrass/deserializers.go @@ -179,6 +179,7 @@ func awsRestjson1_deserializeOpDocumentAssociateRoleToGroupOutput(v **AssociateR } sv.AssociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -337,6 +338,7 @@ func awsRestjson1_deserializeOpDocumentAssociateServiceRoleToAccountOutput(v **A } sv.AssociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -492,6 +494,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -500,6 +503,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -508,6 +512,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -516,6 +521,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -524,6 +530,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -532,6 +539,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -540,6 +548,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionOutput(v **Creat } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -695,6 +704,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -703,6 +713,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -711,6 +722,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -719,6 +731,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorDefinitionVersionOutput(v } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -874,6 +887,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -882,6 +896,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -890,6 +905,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -898,6 +914,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -906,6 +923,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -914,6 +932,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -922,6 +941,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionOutput(v **CreateCore } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1077,6 +1097,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1085,6 +1106,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1093,6 +1115,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -1101,6 +1124,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreDefinitionVersionOutput(v **Cre } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1256,6 +1280,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentArn = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -1264,6 +1289,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -1419,6 +1445,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1427,6 +1454,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1435,6 +1463,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -1443,6 +1472,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -1451,6 +1481,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -1459,6 +1490,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1467,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionOutput(v **CreateDe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1622,6 +1655,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1630,6 +1664,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1638,6 +1673,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -1646,6 +1682,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceDefinitionVersionOutput(v **C } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1801,6 +1838,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -1809,6 +1847,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1817,6 +1856,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -1825,6 +1865,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -1833,6 +1874,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -1841,6 +1883,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1849,6 +1892,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionOutput(v **Create } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2004,6 +2048,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2012,6 +2057,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2020,6 +2066,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -2028,6 +2075,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionDefinitionVersionOutput(v * } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2183,6 +2231,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2191,6 +2240,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2199,6 +2249,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -2207,6 +2258,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -2215,6 +2267,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -2223,6 +2276,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2231,6 +2285,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2389,6 +2444,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupCertificateAuthorityOutput(v * } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2544,6 +2600,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2552,6 +2609,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2560,6 +2618,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -2568,6 +2627,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupVersionOutput(v **CreateGroupV } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2723,6 +2783,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2731,6 +2792,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2739,6 +2801,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -2747,6 +2810,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2819,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -2763,6 +2828,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2771,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionOutput(v **CreateLo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2926,6 +2993,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -2934,6 +3002,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2942,6 +3011,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -2950,6 +3020,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggerDefinitionVersionOutput(v **C } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3105,6 +3176,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3113,6 +3185,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3121,6 +3194,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3129,6 +3203,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -3137,6 +3212,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -3145,6 +3221,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3153,6 +3230,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionOutput(v **Create } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3308,6 +3386,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3316,6 +3395,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3324,6 +3404,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -3332,6 +3413,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceDefinitionVersionOutput(v * } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3490,6 +3572,7 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.IotJobArn = ptr.String(jtv) } + case "IotJobId": if value != nil { jtv, ok := value.(string) @@ -3498,6 +3581,7 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.IotJobId = ptr.String(jtv) } + case "PlatformSoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -3506,6 +3590,7 @@ func awsRestjson1_deserializeOpDocumentCreateSoftwareUpdateJobOutput(v **CreateS } sv.PlatformSoftwareVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3661,6 +3746,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3669,6 +3755,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3677,6 +3764,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -3685,6 +3773,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -3693,6 +3782,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -3701,6 +3791,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3709,6 +3800,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionOutput(v **Cr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3864,6 +3956,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -3872,6 +3965,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3880,6 +3974,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -3888,6 +3983,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriptionDefinitionVersionOutput } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4750,6 +4846,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateRoleFromGroupOutput(v **Disas } sv.DisassociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -4905,6 +5002,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateServiceRoleFromAccountOutput( } sv.DisassociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -5063,6 +5161,7 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedRoleOutput(v **GetAssociated } sv.AssociatedAt = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5071,6 +5170,7 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedRoleOutput(v **GetAssociated } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5222,6 +5322,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk if err := awsRestjson1_deserializeDocumentBulkDeploymentMetrics(&sv.BulkDeploymentMetrics, value); err != nil { return err } + case "BulkDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -5230,6 +5331,7 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.BulkDeploymentStatus = types.BulkDeploymentStatus(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -5238,10 +5340,12 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.CreatedAt = ptr.String(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5250,10 +5354,12 @@ func awsRestjson1_deserializeOpDocumentGetBulkDeploymentStatusOutput(v **GetBulk } sv.ErrorMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5408,6 +5514,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti if err := awsRestjson1_deserializeDocument__listOfConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -5416,6 +5523,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5571,6 +5679,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -5579,6 +5688,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5697,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -5595,6 +5706,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -5603,6 +5715,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -5611,6 +5724,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5619,10 +5733,12 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionOutput(v **GetConne } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5778,6 +5894,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -5786,10 +5903,12 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentConnectorDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5798,6 +5917,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Id = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5806,6 +5926,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.NextToken = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -5814,6 +5935,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorDefinitionVersionOutput(v **G } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5969,6 +6091,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -5977,6 +6100,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5985,6 +6109,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -5993,6 +6118,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -6001,6 +6127,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -6009,6 +6136,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6017,10 +6145,12 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionOutput(v **GetCoreDefini } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6176,6 +6306,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6184,10 +6315,12 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentCoreDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6196,6 +6329,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Id = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6204,6 +6338,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.NextToken = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -6212,6 +6347,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDefinitionVersionOutput(v **GetCor } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6367,6 +6503,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.DeploymentStatus = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -6375,10 +6512,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.DeploymentType = types.DeploymentType(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6387,6 +6526,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.ErrorMessage = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6395,6 +6535,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStatusOutput(v **GetDeployme } sv.UpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -6550,6 +6691,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6558,6 +6700,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6566,6 +6709,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6574,6 +6718,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -6582,6 +6727,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -6590,6 +6736,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6598,10 +6745,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionOutput(v **GetDeviceDe } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6757,6 +6906,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6765,10 +6915,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentDeviceDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6777,6 +6929,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Id = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6785,6 +6938,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.NextToken = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -6793,6 +6947,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceDefinitionVersionOutput(v **GetD } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6948,6 +7103,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -6956,6 +7112,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6964,6 +7121,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6972,6 +7130,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -6980,6 +7139,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7148,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6996,10 +7157,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionOutput(v **GetFuncti } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7155,6 +7318,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7163,10 +7327,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentFunctionDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7175,6 +7341,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Id = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7183,6 +7350,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -7191,6 +7359,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionDefinitionVersionOutput(v **Ge } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7346,6 +7515,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7354,6 +7524,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7362,6 +7533,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -7370,6 +7542,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -7378,6 +7551,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -7386,6 +7560,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7394,10 +7569,12 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7556,6 +7733,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } + case "GroupCertificateAuthorityId": if value != nil { jtv, ok := value.(string) @@ -7564,6 +7742,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.GroupCertificateAuthorityId = ptr.String(jtv) } + case "PemEncodedCertificate": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7751,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateAuthorityOutput(v **Ge } sv.PemEncodedCertificate = ptr.String(jtv) } + default: _, _ = key, value @@ -7730,6 +7910,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.CertificateAuthorityExpiryInMilliseconds = ptr.String(jtv) } + case "CertificateExpiryInMilliseconds": if value != nil { jtv, ok := value.(string) @@ -7738,6 +7919,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.CertificateExpiryInMilliseconds = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -7746,6 +7928,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupCertificateConfigurationOutput(v } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -7901,6 +8084,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -7909,10 +8093,12 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentGroupVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7921,6 +8107,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -7929,6 +8116,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupVersionOutput(v **GetGroupVersion } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8084,6 +8272,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8092,6 +8281,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8100,6 +8290,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8108,6 +8299,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -8116,6 +8308,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -8124,6 +8317,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8132,10 +8326,12 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionOutput(v **GetLoggerDe } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8291,6 +8487,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8299,10 +8496,12 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentLoggerDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8311,6 +8510,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -8319,6 +8519,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggerDefinitionVersionOutput(v **GetL } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8474,6 +8675,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8482,6 +8684,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8490,6 +8693,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -8498,6 +8702,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -8506,6 +8711,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -8514,6 +8720,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8522,10 +8729,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionOutput(v **GetResour } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8681,6 +8890,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -8689,10 +8899,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentResourceDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8701,6 +8913,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -8709,6 +8922,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceDefinitionVersionOutput(v **Ge } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8864,6 +9078,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.AssociatedAt = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8872,6 +9087,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9027,6 +9243,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9035,6 +9252,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9043,6 +9261,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -9051,6 +9270,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -9059,6 +9279,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -9067,6 +9288,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9075,10 +9297,12 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionOutput(v **GetSu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9234,6 +9458,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -9242,10 +9467,12 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.CreationTimestamp = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentSubscriptionDefinitionVersion(&sv.Definition, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9254,6 +9481,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Id = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9262,6 +9490,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.NextToken = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -9270,6 +9499,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriptionDefinitionVersionOutput(v } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9424,6 +9654,7 @@ func awsRestjson1_deserializeOpDocumentGetThingRuntimeConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentRuntimeConfiguration(&sv.RuntimeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -9575,6 +9806,7 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentDetailedReportsOutput(v if err := awsRestjson1_deserializeDocumentBulkDeploymentResults(&sv.Deployments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9583,6 +9815,7 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentDetailedReportsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9734,6 +9967,7 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentsOutput(v **ListBulkDep if err := awsRestjson1_deserializeDocumentBulkDeployments(&sv.BulkDeployments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9742,6 +9976,7 @@ func awsRestjson1_deserializeOpDocumentListBulkDeploymentsOutput(v **ListBulkDep } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9890,6 +10125,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionsOutput(v **ListCo if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9898,6 +10134,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionsOutput(v **ListCo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10053,10 +10290,12 @@ func awsRestjson1_deserializeOpDocumentListConnectorDefinitionVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -10205,6 +10444,7 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionsOutput(v **ListCoreDef if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10213,6 +10453,7 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionsOutput(v **ListCoreDef } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10368,10 +10609,12 @@ func awsRestjson1_deserializeOpDocumentListCoreDefinitionVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -10523,6 +10766,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10531,6 +10775,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10679,6 +10924,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionsOutput(v **ListDevic if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10687,6 +10933,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionsOutput(v **ListDevic } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10842,10 +11089,12 @@ func awsRestjson1_deserializeOpDocumentListDeviceDefinitionVersionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -10994,6 +11243,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionsOutput(v **ListFun if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11002,6 +11252,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionsOutput(v **ListFun } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11157,10 +11408,12 @@ func awsRestjson1_deserializeOpDocumentListFunctionDefinitionVersionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -11315,6 +11568,7 @@ func awsRestjson1_deserializeOpDocumentListGroupCertificateAuthoritiesOutput(v * if err := awsRestjson1_deserializeDocument__listOfGroupCertificateAuthorityProperties(&sv.GroupCertificateAuthorities, value); err != nil { return err } + default: _, _ = key, value @@ -11463,6 +11717,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocument__listOfGroupInformation(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11471,6 +11726,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11626,10 +11882,12 @@ func awsRestjson1_deserializeOpDocumentListGroupVersionsOutput(v **ListGroupVers } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -11778,6 +12036,7 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionsOutput(v **ListLogge if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11786,6 +12045,7 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionsOutput(v **ListLogge } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11941,10 +12201,12 @@ func awsRestjson1_deserializeOpDocumentListLoggerDefinitionVersionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -12093,6 +12355,7 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionsOutput(v **ListRes if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12101,6 +12364,7 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionsOutput(v **ListRes } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12256,10 +12520,12 @@ func awsRestjson1_deserializeOpDocumentListResourceDefinitionVersionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -12408,6 +12674,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionsOutput(v **Lis if err := awsRestjson1_deserializeDocument__listOfDefinitionInformation(&sv.Definitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12416,6 +12683,7 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12571,10 +12839,12 @@ func awsRestjson1_deserializeOpDocumentListSubscriptionDefinitionVersionsOutput( } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocument__listOfVersionInformation(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -12726,6 +12996,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12881,6 +13152,7 @@ func awsRestjson1_deserializeOpDocumentResetDeploymentsOutput(v **ResetDeploymen } sv.DeploymentArn = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -12889,6 +13161,7 @@ func awsRestjson1_deserializeOpDocumentResetDeploymentsOutput(v **ResetDeploymen } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -13044,6 +13317,7 @@ func awsRestjson1_deserializeOpDocumentStartBulkDeploymentOutput(v **StartBulkDe } sv.BulkDeploymentArn = ptr.String(jtv) } + case "BulkDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13052,6 +13326,7 @@ func awsRestjson1_deserializeOpDocumentStartBulkDeploymentOutput(v **StartBulkDe } sv.BulkDeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -13486,6 +13761,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Message = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -13494,6 +13770,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14092,6 +14369,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.CertificateAuthorityExpiryInMilliseconds = ptr.String(jtv) } + case "CertificateExpiryInMilliseconds": if value != nil { jtv, ok := value.(string) @@ -14100,6 +14378,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.CertificateExpiryInMilliseconds = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -14108,6 +14387,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupCertificateConfigurationOutput } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -15084,6 +15364,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15092,6 +15373,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15131,6 +15413,7 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.BulkDeploymentArn = ptr.String(jtv) } + case "BulkDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15139,6 +15422,7 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.BulkDeploymentId = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -15147,6 +15431,7 @@ func awsRestjson1_deserializeDocumentBulkDeployment(v **types.BulkDeployment, va } sv.CreatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -15190,6 +15475,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.InvalidInputRecords = ptr.Int32(int32(i64)) } + case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -15202,6 +15488,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.RecordsProcessed = ptr.Int32(int32(i64)) } + case "RetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -15214,6 +15501,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentMetrics(v **types.BulkDeploym } sv.RetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15253,6 +15541,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.CreatedAt = ptr.String(jtv) } + case "DeploymentArn": if value != nil { jtv, ok := value.(string) @@ -15261,6 +15550,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentArn = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15269,6 +15559,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentId = ptr.String(jtv) } + case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15277,6 +15568,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentStatus = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -15285,10 +15577,12 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.DeploymentType = types.DeploymentType(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15297,6 +15591,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.ErrorMessage = ptr.String(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -15305,6 +15600,7 @@ func awsRestjson1_deserializeDocumentBulkDeploymentResult(v **types.BulkDeployme } sv.GroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15412,6 +15708,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.HostAddress = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15420,6 +15717,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Id = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -15428,6 +15726,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Metadata = ptr.String(jtv) } + case "PortNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15440,6 +15739,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.PortNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15479,6 +15779,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15487,10 +15788,12 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Id = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -15526,6 +15829,7 @@ func awsRestjson1_deserializeDocumentConnectorDefinitionVersion(v **types.Connec if err := awsRestjson1_deserializeDocument__listOfConnector(&sv.Connectors, value); err != nil { return err } + default: _, _ = key, value @@ -15565,6 +15869,7 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.CertificateArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15573,6 +15878,7 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.Id = ptr.String(jtv) } + case "SyncShadow": if value != nil { jtv, ok := value.(bool) @@ -15581,6 +15887,7 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.SyncShadow = ptr.Bool(jtv) } + case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -15589,6 +15896,7 @@ func awsRestjson1_deserializeDocumentCore(v **types.Core, value interface{}) err } sv.ThingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15624,6 +15932,7 @@ func awsRestjson1_deserializeDocumentCoreDefinitionVersion(v **types.CoreDefinit if err := awsRestjson1_deserializeDocument__listOfCore(&sv.Cores, value); err != nil { return err } + default: _, _ = key, value @@ -15663,6 +15972,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -15671,6 +15981,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15679,6 +15990,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -15687,6 +15999,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -15695,6 +16008,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -15703,6 +16017,7 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15711,10 +16026,12 @@ func awsRestjson1_deserializeDocumentDefinitionInformation(v **types.DefinitionI } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15754,6 +16071,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedAt = ptr.String(jtv) } + case "DeploymentArn": if value != nil { jtv, ok := value.(string) @@ -15762,6 +16080,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentArn = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15770,6 +16089,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } + case "DeploymentType": if value != nil { jtv, ok := value.(string) @@ -15778,6 +16098,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentType = types.DeploymentType(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -15786,6 +16107,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.GroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15859,6 +16181,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CertificateArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15867,6 +16190,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Id = ptr.String(jtv) } + case "SyncShadow": if value != nil { jtv, ok := value.(bool) @@ -15875,6 +16199,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SyncShadow = ptr.Bool(jtv) } + case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -15883,6 +16208,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ThingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15918,6 +16244,7 @@ func awsRestjson1_deserializeDocumentDeviceDefinitionVersion(v **types.DeviceDef if err := awsRestjson1_deserializeDocument__listOfDevice(&sv.Devices, value); err != nil { return err } + default: _, _ = key, value @@ -15957,6 +16284,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.DetailedErrorCode = ptr.String(jtv) } + case "DetailedErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15965,6 +16293,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.DetailedErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -16038,10 +16367,12 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.FunctionArn = ptr.String(jtv) } + case "FunctionConfiguration": if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.FunctionConfiguration, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -16050,6 +16381,7 @@ func awsRestjson1_deserializeDocumentFunction(v **types.Function, value interfac } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -16089,10 +16421,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.EncodingType = types.EncodingType(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentFunctionConfigurationEnvironment(&sv.Environment, value); err != nil { return err } + case "ExecArgs": if value != nil { jtv, ok := value.(string) @@ -16101,6 +16435,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.ExecArgs = ptr.String(jtv) } + case "Executable": if value != nil { jtv, ok := value.(string) @@ -16109,6 +16444,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Executable = ptr.String(jtv) } + case "FunctionRuntimeOverride": if value != nil { jtv, ok := value.(string) @@ -16117,6 +16453,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionRuntimeOverride = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -16129,6 +16466,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MemorySize = ptr.Int32(int32(i64)) } + case "Pinned": if value != nil { jtv, ok := value.(bool) @@ -16137,6 +16475,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Pinned = ptr.Bool(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -16149,6 +16488,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16188,18 +16528,22 @@ func awsRestjson1_deserializeDocumentFunctionConfigurationEnvironment(v **types. } sv.AccessSysfs = ptr.Bool(jtv) } + case "Execution": if err := awsRestjson1_deserializeDocumentFunctionExecutionConfig(&sv.Execution, value); err != nil { return err } + case "ResourceAccessPolicies": if err := awsRestjson1_deserializeDocument__listOfResourceAccessPolicy(&sv.ResourceAccessPolicies, value); err != nil { return err } + case "Variables": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -16235,6 +16579,7 @@ func awsRestjson1_deserializeDocumentFunctionDefaultConfig(v **types.FunctionDef if err := awsRestjson1_deserializeDocumentFunctionDefaultExecutionConfig(&sv.Execution, value); err != nil { return err } + default: _, _ = key, value @@ -16274,10 +16619,12 @@ func awsRestjson1_deserializeDocumentFunctionDefaultExecutionConfig(v **types.Fu } sv.IsolationMode = types.FunctionIsolationMode(jtv) } + case "RunAs": if err := awsRestjson1_deserializeDocumentFunctionRunAsConfig(&sv.RunAs, value); err != nil { return err } + default: _, _ = key, value @@ -16313,10 +16660,12 @@ func awsRestjson1_deserializeDocumentFunctionDefinitionVersion(v **types.Functio if err := awsRestjson1_deserializeDocumentFunctionDefaultConfig(&sv.DefaultConfig, value); err != nil { return err } + case "Functions": if err := awsRestjson1_deserializeDocument__listOfFunction(&sv.Functions, value); err != nil { return err } + default: _, _ = key, value @@ -16356,10 +16705,12 @@ func awsRestjson1_deserializeDocumentFunctionExecutionConfig(v **types.FunctionE } sv.IsolationMode = types.FunctionIsolationMode(jtv) } + case "RunAs": if err := awsRestjson1_deserializeDocumentFunctionRunAsConfig(&sv.RunAs, value); err != nil { return err } + default: _, _ = key, value @@ -16403,6 +16754,7 @@ func awsRestjson1_deserializeDocumentFunctionRunAsConfig(v **types.FunctionRunAs } sv.Gid = ptr.Int32(int32(i64)) } + case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -16415,6 +16767,7 @@ func awsRestjson1_deserializeDocumentFunctionRunAsConfig(v **types.FunctionRunAs } sv.Uid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16454,6 +16807,7 @@ func awsRestjson1_deserializeDocumentGroupCertificateAuthorityProperties(v **typ } sv.GroupCertificateAuthorityArn = ptr.String(jtv) } + case "GroupCertificateAuthorityId": if value != nil { jtv, ok := value.(string) @@ -16462,6 +16816,7 @@ func awsRestjson1_deserializeDocumentGroupCertificateAuthorityProperties(v **typ } sv.GroupCertificateAuthorityId = ptr.String(jtv) } + default: _, _ = key, value @@ -16501,6 +16856,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -16509,6 +16865,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -16517,6 +16874,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Id = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -16525,6 +16883,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LastUpdatedTimestamp = ptr.String(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -16533,6 +16892,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LatestVersion = ptr.String(jtv) } + case "LatestVersionArn": if value != nil { jtv, ok := value.(string) @@ -16541,6 +16901,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.LatestVersionArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16549,6 +16910,7 @@ func awsRestjson1_deserializeDocumentGroupInformation(v **types.GroupInformation } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16588,6 +16950,7 @@ func awsRestjson1_deserializeDocumentGroupOwnerSetting(v **types.GroupOwnerSetti } sv.AutoAddGroupOwner = ptr.Bool(jtv) } + case "GroupOwner": if value != nil { jtv, ok := value.(string) @@ -16596,6 +16959,7 @@ func awsRestjson1_deserializeDocumentGroupOwnerSetting(v **types.GroupOwnerSetti } sv.GroupOwner = ptr.String(jtv) } + default: _, _ = key, value @@ -16635,6 +16999,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.ConnectorDefinitionVersionArn = ptr.String(jtv) } + case "CoreDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16643,6 +17008,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.CoreDefinitionVersionArn = ptr.String(jtv) } + case "DeviceDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16651,6 +17017,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.DeviceDefinitionVersionArn = ptr.String(jtv) } + case "FunctionDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16659,6 +17026,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.FunctionDefinitionVersionArn = ptr.String(jtv) } + case "LoggerDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16667,6 +17035,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.LoggerDefinitionVersionArn = ptr.String(jtv) } + case "ResourceDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16675,6 +17044,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.ResourceDefinitionVersionArn = ptr.String(jtv) } + case "SubscriptionDefinitionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16683,6 +17053,7 @@ func awsRestjson1_deserializeDocumentGroupVersion(v **types.GroupVersion, value } sv.SubscriptionDefinitionVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16718,6 +17089,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16726,6 +17098,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16761,6 +17134,7 @@ func awsRestjson1_deserializeDocumentLocalDeviceResourceData(v **types.LocalDevi if err := awsRestjson1_deserializeDocumentGroupOwnerSetting(&sv.GroupOwnerSetting, value); err != nil { return err } + case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -16769,6 +17143,7 @@ func awsRestjson1_deserializeDocumentLocalDeviceResourceData(v **types.LocalDevi } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -16808,10 +17183,12 @@ func awsRestjson1_deserializeDocumentLocalVolumeResourceData(v **types.LocalVolu } sv.DestinationPath = ptr.String(jtv) } + case "GroupOwnerSetting": if err := awsRestjson1_deserializeDocumentGroupOwnerSetting(&sv.GroupOwnerSetting, value); err != nil { return err } + case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -16820,6 +17197,7 @@ func awsRestjson1_deserializeDocumentLocalVolumeResourceData(v **types.LocalVolu } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -16859,6 +17237,7 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Component = types.LoggerComponent(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -16867,6 +17246,7 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Id = ptr.String(jtv) } + case "Level": if value != nil { jtv, ok := value.(string) @@ -16875,6 +17255,7 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Level = types.LoggerLevel(jtv) } + case "Space": if value != nil { jtv, ok := value.(json.Number) @@ -16887,6 +17268,7 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Space = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16895,6 +17277,7 @@ func awsRestjson1_deserializeDocumentLogger(v **types.Logger, value interface{}) } sv.Type = types.LoggerType(jtv) } + default: _, _ = key, value @@ -16930,6 +17313,7 @@ func awsRestjson1_deserializeDocumentLoggerDefinitionVersion(v **types.LoggerDef if err := awsRestjson1_deserializeDocument__listOfLogger(&sv.Loggers, value); err != nil { return err } + default: _, _ = key, value @@ -16969,6 +17353,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16977,10 +17362,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + case "ResourceDataContainer": if err := awsRestjson1_deserializeDocumentResourceDataContainer(&sv.ResourceDataContainer, value); err != nil { return err } + default: _, _ = key, value @@ -17020,6 +17407,7 @@ func awsRestjson1_deserializeDocumentResourceAccessPolicy(v **types.ResourceAcce } sv.Permission = types.Permission(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -17028,6 +17416,7 @@ func awsRestjson1_deserializeDocumentResourceAccessPolicy(v **types.ResourceAcce } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -17063,22 +17452,27 @@ func awsRestjson1_deserializeDocumentResourceDataContainer(v **types.ResourceDat if err := awsRestjson1_deserializeDocumentLocalDeviceResourceData(&sv.LocalDeviceResourceData, value); err != nil { return err } + case "LocalVolumeResourceData": if err := awsRestjson1_deserializeDocumentLocalVolumeResourceData(&sv.LocalVolumeResourceData, value); err != nil { return err } + case "S3MachineLearningModelResourceData": if err := awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(&sv.S3MachineLearningModelResourceData, value); err != nil { return err } + case "SageMakerMachineLearningModelResourceData": if err := awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(&sv.SageMakerMachineLearningModelResourceData, value); err != nil { return err } + case "SecretsManagerSecretResourceData": if err := awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(&sv.SecretsManagerSecretResourceData, value); err != nil { return err } + default: _, _ = key, value @@ -17114,6 +17508,7 @@ func awsRestjson1_deserializeDocumentResourceDefinitionVersion(v **types.Resourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -17153,6 +17548,7 @@ func awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(v **types.Reso } sv.GroupOwner = ptr.String(jtv) } + case "GroupPermission": if value != nil { jtv, ok := value.(string) @@ -17161,6 +17557,7 @@ func awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(v **types.Reso } sv.GroupPermission = types.Permission(jtv) } + default: _, _ = key, value @@ -17196,6 +17593,7 @@ func awsRestjson1_deserializeDocumentRuntimeConfiguration(v **types.RuntimeConfi if err := awsRestjson1_deserializeDocumentTelemetryConfiguration(&sv.TelemetryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17235,10 +17633,12 @@ func awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(v **type } sv.DestinationPath = ptr.String(jtv) } + case "OwnerSetting": if err := awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(&sv.OwnerSetting, value); err != nil { return err } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -17247,6 +17647,7 @@ func awsRestjson1_deserializeDocumentS3MachineLearningModelResourceData(v **type } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -17286,10 +17687,12 @@ func awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(v } sv.DestinationPath = ptr.String(jtv) } + case "OwnerSetting": if err := awsRestjson1_deserializeDocumentResourceDownloadOwnerSetting(&sv.OwnerSetting, value); err != nil { return err } + case "SageMakerJobArn": if value != nil { jtv, ok := value.(string) @@ -17298,6 +17701,7 @@ func awsRestjson1_deserializeDocumentSageMakerMachineLearningModelResourceData(v } sv.SageMakerJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17333,6 +17737,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(v **types. if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AdditionalStagingLabelsToDownload, value); err != nil { return err } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -17341,6 +17746,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerSecretResourceData(v **types. } sv.ARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17380,6 +17786,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Id = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -17388,6 +17795,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Source = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -17396,6 +17804,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Subject = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -17404,6 +17813,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -17439,6 +17849,7 @@ func awsRestjson1_deserializeDocumentSubscriptionDefinitionVersion(v **types.Sub if err := awsRestjson1_deserializeDocument__listOfSubscription(&sv.Subscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -17514,6 +17925,7 @@ func awsRestjson1_deserializeDocumentTelemetryConfiguration(v **types.TelemetryC } sv.ConfigurationSyncStatus = types.ConfigurationSyncStatus(jtv) } + case "Telemetry": if value != nil { jtv, ok := value.(string) @@ -17522,6 +17934,7 @@ func awsRestjson1_deserializeDocumentTelemetryConfiguration(v **types.TelemetryC } sv.Telemetry = types.Telemetry(jtv) } + default: _, _ = key, value @@ -17561,6 +17974,7 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Arn = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { jtv, ok := value.(string) @@ -17569,6 +17983,7 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.CreationTimestamp = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17577,6 +17992,7 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -17585,6 +18001,7 @@ func awsRestjson1_deserializeDocumentVersionInformation(v **types.VersionInforma } sv.Version = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index 8d117cc743d..6fb2492ff3d 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -182,6 +182,7 @@ func awsRestjson1_deserializeOpDocumentAssociateServiceRoleToAccountOutput(v **A } sv.AssociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -345,6 +346,7 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateClientDeviceWithCoreDeviceO if err := awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorList(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -508,6 +510,7 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateClientDeviceFromCoreDevi if err := awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceErrorList(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -678,6 +681,7 @@ func awsRestjson1_deserializeOpDocumentCancelDeploymentOutput(v **CancelDeployme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -851,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.Arn = ptr.String(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -859,6 +864,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.ComponentName = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -867,6 +873,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } sv.ComponentVersion = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -882,10 +889,12 @@ func awsRestjson1_deserializeOpDocumentCreateComponentVersionOutput(v **CreateCo } } + case "status": if err := awsRestjson1_deserializeDocumentCloudComponentStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -1059,6 +1068,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -1067,6 +1077,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.IotJobArn = ptr.String(jtv) } + case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -1075,6 +1086,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.IotJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -1569,6 +1581,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Arn = ptr.String(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -1577,6 +1590,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.ComponentName = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -1585,6 +1599,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.ComponentVersion = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -1600,6 +1615,7 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1608,10 +1624,12 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Description = ptr.String(jtv) } + case "platforms": if err := awsRestjson1_deserializeDocumentComponentPlatformList(&sv.Platforms, value); err != nil { return err } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -1620,14 +1638,17 @@ func awsRestjson1_deserializeOpDocumentDescribeComponentOutput(v **DescribeCompo } sv.Publisher = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentCloudComponentStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1783,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateServiceRoleFromAccountOutput( } sv.DisassociatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -1954,6 +1976,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.Recipe = dv } + case "recipeOutputFormat": if value != nil { jtv, ok := value.(string) @@ -1962,10 +1985,12 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.RecipeOutputFormat = types.RecipeOutputFormat(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2133,6 +2158,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentVersionArtifactOutput(v **Get } sv.PreSignedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -2287,6 +2313,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti if err := awsRestjson1_deserializeDocumentConnectivityInfoList(&sv.ConnectivityInfo, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -2295,6 +2322,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectivityInfoOutput(v **GetConnecti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2462,6 +2490,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Architecture = ptr.String(jtv) } + case "coreDeviceThingName": if value != nil { jtv, ok := value.(string) @@ -2470,6 +2499,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.CoreDeviceThingName = ptr.String(jtv) } + case "coreVersion": if value != nil { jtv, ok := value.(string) @@ -2478,6 +2508,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.CoreVersion = ptr.String(jtv) } + case "lastStatusUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2493,6 +2524,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } } + case "platform": if value != nil { jtv, ok := value.(string) @@ -2501,6 +2533,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Platform = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2509,10 +2542,12 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp } sv.Status = types.CoreDeviceStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2676,6 +2711,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentComponentDeploymentSpecifications(&sv.Components, value); err != nil { return err } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -2691,6 +2727,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2699,6 +2736,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } + case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -2707,10 +2745,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentName = ptr.String(jtv) } + case "deploymentPolicies": if err := awsRestjson1_deserializeDocumentDeploymentPolicies(&sv.DeploymentPolicies, value); err != nil { return err } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -2719,6 +2759,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -2727,10 +2768,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IotJobArn = ptr.String(jtv) } + case "iotJobConfiguration": if err := awsRestjson1_deserializeDocumentDeploymentIoTJobConfiguration(&sv.IotJobConfiguration, value); err != nil { return err } + case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -2739,6 +2782,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IotJobId = ptr.String(jtv) } + case "isLatestForTarget": if value != nil { jtv, ok := value.(bool) @@ -2747,6 +2791,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.IsLatestForTarget = jtv } + case "parentTargetArn": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2800,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ParentTargetArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2763,10 +2809,12 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.RevisionId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -2775,6 +2823,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2930,6 +2979,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.AssociatedAt = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2938,6 +2988,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceRoleForAccountOutput(v **GetSer } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3101,6 +3152,7 @@ func awsRestjson1_deserializeOpDocumentListClientDevicesAssociatedWithCoreDevice if err := awsRestjson1_deserializeDocumentAssociatedClientDeviceList(&sv.AssociatedClientDevices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3109,6 +3161,7 @@ func awsRestjson1_deserializeOpDocumentListClientDevicesAssociatedWithCoreDevice } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3272,6 +3325,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentList(&sv.Components, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3280,6 +3334,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3443,6 +3498,7 @@ func awsRestjson1_deserializeOpDocumentListComponentVersionsOutput(v **ListCompo if err := awsRestjson1_deserializeDocumentComponentVersionList(&sv.ComponentVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3451,6 +3507,7 @@ func awsRestjson1_deserializeOpDocumentListComponentVersionsOutput(v **ListCompo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3611,6 +3668,7 @@ func awsRestjson1_deserializeOpDocumentListCoreDevicesOutput(v **ListCoreDevices if err := awsRestjson1_deserializeDocumentCoreDevicesList(&sv.CoreDevices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3619,6 +3677,7 @@ func awsRestjson1_deserializeOpDocumentListCoreDevicesOutput(v **ListCoreDevices } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3779,6 +3838,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Deployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3787,6 +3847,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3950,6 +4011,7 @@ func awsRestjson1_deserializeOpDocumentListEffectiveDeploymentsOutput(v **ListEf if err := awsRestjson1_deserializeDocumentEffectiveDeploymentsList(&sv.EffectiveDeployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3958,6 +4020,7 @@ func awsRestjson1_deserializeOpDocumentListEffectiveDeploymentsOutput(v **ListEf } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4121,6 +4184,7 @@ func awsRestjson1_deserializeOpDocumentListInstalledComponentsOutput(v **ListIns if err := awsRestjson1_deserializeDocumentInstalledComponentList(&sv.InstalledComponents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4129,6 +4193,7 @@ func awsRestjson1_deserializeOpDocumentListInstalledComponentsOutput(v **ListIns } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4286,6 +4351,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4452,6 +4518,7 @@ func awsRestjson1_deserializeOpDocumentResolveComponentCandidatesOutput(v **Reso if err := awsRestjson1_deserializeDocumentResolvedComponentVersionsList(&sv.ResolvedComponentVersions, value); err != nil { return err } + default: _, _ = key, value @@ -4798,6 +4865,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Message = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -4806,6 +4874,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityInfoOutput(v **UpdateCo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5173,6 +5242,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5212,6 +5282,7 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -5220,6 +5291,7 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.Message = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -5228,6 +5300,7 @@ func awsRestjson1_deserializeDocumentAssociateClientDeviceWithCoreDeviceErrorEnt } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -5308,6 +5381,7 @@ func awsRestjson1_deserializeDocumentAssociatedClientDevice(v **types.Associated } } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -5316,6 +5390,7 @@ func awsRestjson1_deserializeDocumentAssociatedClientDevice(v **types.Associated } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -5389,10 +5464,12 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.ComponentState = types.CloudComponentState(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Errors, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -5401,6 +5478,7 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.Message = ptr.String(jtv) } + case "vendorGuidance": if value != nil { jtv, ok := value.(string) @@ -5409,6 +5487,7 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.VendorGuidance = types.VendorGuidance(jtv) } + case "vendorGuidanceMessage": if value != nil { jtv, ok := value.(string) @@ -5417,6 +5496,7 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone } sv.VendorGuidanceMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5456,6 +5536,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -5464,10 +5545,12 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentName = ptr.String(jtv) } + case "latestVersion": if err := awsRestjson1_deserializeDocumentComponentLatestVersion(&sv.LatestVersion, value); err != nil { return err } + default: _, _ = key, value @@ -5543,10 +5626,12 @@ func awsRestjson1_deserializeDocumentComponentConfigurationUpdate(v **types.Comp } sv.Merge = ptr.String(jtv) } + case "reset": if err := awsRestjson1_deserializeDocumentComponentConfigurationPathList(&sv.Reset, value); err != nil { return err } + default: _, _ = key, value @@ -5586,14 +5671,17 @@ func awsRestjson1_deserializeDocumentComponentDeploymentSpecification(v **types. } sv.ComponentVersion = ptr.String(jtv) } + case "configurationUpdate": if err := awsRestjson1_deserializeDocumentComponentConfigurationUpdate(&sv.ConfigurationUpdate, value); err != nil { return err } + case "runWith": if err := awsRestjson1_deserializeDocumentComponentRunWith(&sv.RunWith, value); err != nil { return err } + default: _, _ = key, value @@ -5668,6 +5756,7 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Arn = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -5676,6 +5765,7 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.ComponentVersion = ptr.String(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5691,6 +5781,7 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5699,10 +5790,12 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Description = ptr.String(jtv) } + case "platforms": if err := awsRestjson1_deserializeDocumentComponentPlatformList(&sv.Platforms, value); err != nil { return err } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -5711,6 +5804,7 @@ func awsRestjson1_deserializeDocumentComponentLatestVersion(v **types.ComponentL } sv.Publisher = ptr.String(jtv) } + default: _, _ = key, value @@ -5780,6 +5874,7 @@ func awsRestjson1_deserializeDocumentComponentPlatform(v **types.ComponentPlatfo if err := awsRestjson1_deserializeDocumentPlatformAttributesMap(&sv.Attributes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5788,6 +5883,7 @@ func awsRestjson1_deserializeDocumentComponentPlatform(v **types.ComponentPlatfo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5861,10 +5957,12 @@ func awsRestjson1_deserializeDocumentComponentRunWith(v **types.ComponentRunWith } sv.PosixUser = ptr.String(jtv) } + case "systemResourceLimits": if err := awsRestjson1_deserializeDocumentSystemResourceLimits(&sv.SystemResourceLimits, value); err != nil { return err } + case "windowsUser": if value != nil { jtv, ok := value.(string) @@ -5873,6 +5971,7 @@ func awsRestjson1_deserializeDocumentComponentRunWith(v **types.ComponentRunWith } sv.WindowsUser = ptr.String(jtv) } + default: _, _ = key, value @@ -5946,6 +6045,7 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.Arn = ptr.String(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -5954,6 +6054,7 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.ComponentName = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -5962,6 +6063,7 @@ func awsRestjson1_deserializeDocumentComponentVersionListItem(v **types.Componen } sv.ComponentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -6001,6 +6103,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6009,6 +6112,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6017,6 +6121,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6056,6 +6161,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.HostAddress = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6064,6 +6170,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Id = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -6072,6 +6179,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.Metadata = ptr.String(jtv) } + case "PortNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6084,6 +6192,7 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo } sv.PortNumber = int32(i64) } + default: _, _ = key, value @@ -6157,6 +6266,7 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } sv.CoreDeviceThingName = ptr.String(jtv) } + case "lastStatusUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -6172,6 +6282,7 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6180,6 +6291,7 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } sv.Status = types.CoreDeviceStatus(jtv) } + default: _, _ = key, value @@ -6260,6 +6372,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -6268,6 +6381,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } + case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -6276,6 +6390,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentName = ptr.String(jtv) } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -6284,6 +6399,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "isLatestForTarget": if value != nil { jtv, ok := value.(bool) @@ -6292,6 +6408,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IsLatestForTarget = jtv } + case "parentTargetArn": if value != nil { jtv, ok := value.(string) @@ -6300,6 +6417,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ParentTargetArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -6308,6 +6426,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.RevisionId = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -6316,6 +6435,7 @@ func awsRestjson1_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6355,6 +6475,7 @@ func awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(v **types.D } sv.Action = types.DeploymentComponentUpdatePolicyAction(jtv) } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6367,6 +6488,7 @@ func awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(v **types.D } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6410,6 +6532,7 @@ func awsRestjson1_deserializeDocumentDeploymentConfigurationValidationPolicy(v * } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6445,14 +6568,17 @@ func awsRestjson1_deserializeDocumentDeploymentIoTJobConfiguration(v **types.Dep if err := awsRestjson1_deserializeDocumentIoTJobAbortConfig(&sv.AbortConfig, value); err != nil { return err } + case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } + case "timeoutConfig": if err := awsRestjson1_deserializeDocumentIoTJobTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6522,10 +6648,12 @@ func awsRestjson1_deserializeDocumentDeploymentPolicies(v **types.DeploymentPoli if err := awsRestjson1_deserializeDocumentDeploymentComponentUpdatePolicy(&sv.ComponentUpdatePolicy, value); err != nil { return err } + case "configurationValidationPolicy": if err := awsRestjson1_deserializeDocumentDeploymentConfigurationValidationPolicy(&sv.ConfigurationValidationPolicy, value); err != nil { return err } + case "failureHandlingPolicy": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6662,7 @@ func awsRestjson1_deserializeDocumentDeploymentPolicies(v **types.DeploymentPoli } sv.FailureHandlingPolicy = types.DeploymentFailureHandlingPolicy(jtv) } + default: _, _ = key, value @@ -6573,6 +6702,7 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6711,7 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.Message = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -6589,6 +6720,7 @@ func awsRestjson1_deserializeDocumentDisassociateClientDeviceFromCoreDeviceError } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -6662,6 +6794,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.CoreDeviceExecutionStatus = types.EffectiveDeploymentExecutionStatus(jtv) } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6677,6 +6810,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -6685,6 +6819,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.DeploymentId = ptr.String(jtv) } + case "deploymentName": if value != nil { jtv, ok := value.(string) @@ -6693,6 +6828,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.DeploymentName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6701,6 +6837,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.Description = ptr.String(jtv) } + case "iotJobArn": if value != nil { jtv, ok := value.(string) @@ -6709,6 +6846,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.IotJobArn = ptr.String(jtv) } + case "iotJobId": if value != nil { jtv, ok := value.(string) @@ -6717,6 +6855,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.IotJobId = ptr.String(jtv) } + case "modifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6732,6 +6871,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6740,10 +6880,12 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.Reason = ptr.String(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentEffectiveDeploymentStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -6752,6 +6894,7 @@ func awsRestjson1_deserializeDocumentEffectiveDeployment(v **types.EffectiveDepl } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6893,10 +7036,12 @@ func awsRestjson1_deserializeDocumentEffectiveDeploymentStatusDetails(v **types. if err := awsRestjson1_deserializeDocumentEffectiveDeploymentErrorStack(&sv.ErrorStack, value); err != nil { return err } + case "errorTypes": if err := awsRestjson1_deserializeDocumentEffectiveDeploymentErrorTypeList(&sv.ErrorTypes, value); err != nil { return err } + default: _, _ = key, value @@ -6936,6 +7081,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.ComponentName = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -6944,6 +7090,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.ComponentVersion = ptr.String(jtv) } + case "isRoot": if value != nil { jtv, ok := value.(bool) @@ -6952,6 +7099,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.IsRoot = jtv } + case "lastInstallationSource": if value != nil { jtv, ok := value.(string) @@ -6960,6 +7108,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LastInstallationSource = ptr.String(jtv) } + case "lastReportedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6975,6 +7124,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } } + case "lastStatusChangeTimestamp": if value != nil { switch jtv := value.(type) { @@ -6990,6 +7140,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } } + case "lifecycleState": if value != nil { jtv, ok := value.(string) @@ -6998,6 +7149,7 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LifecycleState = types.InstalledComponentLifecycleState(jtv) } + case "lifecycleStateDetails": if value != nil { jtv, ok := value.(string) @@ -7006,10 +7158,12 @@ func awsRestjson1_deserializeDocumentInstalledComponent(v **types.InstalledCompo } sv.LifecycleStateDetails = ptr.String(jtv) } + case "lifecycleStatusCodes": if err := awsRestjson1_deserializeDocumentInstalledComponentLifecycleStatusCodeList(&sv.LifecycleStatusCodes, value); err != nil { return err } + default: _, _ = key, value @@ -7119,6 +7273,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7131,6 +7286,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -7166,6 +7322,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortConfig(v **types.IoTJobAbortConf if err := awsRestjson1_deserializeDocumentIoTJobAbortCriteriaList(&sv.CriteriaList, value); err != nil { return err } + default: _, _ = key, value @@ -7205,6 +7362,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.Action = types.IoTJobAbortAction(jtv) } + case "failureType": if value != nil { jtv, ok := value.(string) @@ -7213,6 +7371,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.FailureType = types.IoTJobExecutionFailureType(jtv) } + case "minNumberOfExecutedThings": if value != nil { jtv, ok := value.(json.Number) @@ -7225,6 +7384,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } sv.MinNumberOfExecutedThings = ptr.Int32(int32(i64)) } + case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -7258,6 +7418,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr } } + default: _, _ = key, value @@ -7327,6 +7488,7 @@ func awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(v **types.IoT if err := awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } + case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -7339,6 +7501,7 @@ func awsRestjson1_deserializeDocumentIoTJobExecutionsRolloutConfig(v **types.IoT } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7382,6 +7545,7 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } + case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -7415,10 +7579,12 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ } } + case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -7462,6 +7628,7 @@ func awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(v **types.IoTJob } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } + case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -7474,6 +7641,7 @@ func awsRestjson1_deserializeDocumentIoTJobRateIncreaseCriteria(v **types.IoTJob } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7517,6 +7685,7 @@ func awsRestjson1_deserializeDocumentIoTJobTimeoutConfig(v **types.IoTJobTimeout } sv.InProgressTimeoutInMinutes = ptr.Int64(i64) } + default: _, _ = key, value @@ -7592,6 +7761,7 @@ func awsRestjson1_deserializeDocumentRequestAlreadyInProgressException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7631,6 +7801,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Arn = ptr.String(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -7639,6 +7810,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.ComponentName = ptr.String(jtv) } + case "componentVersion": if value != nil { jtv, ok := value.(string) @@ -7647,6 +7819,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.ComponentVersion = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -7655,6 +7828,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Message = ptr.String(jtv) } + case "recipe": if value != nil { jtv, ok := value.(string) @@ -7667,6 +7841,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.Recipe = dv } + case "vendorGuidance": if value != nil { jtv, ok := value.(string) @@ -7675,6 +7850,7 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved } sv.VendorGuidance = types.VendorGuidance(jtv) } + default: _, _ = key, value @@ -7748,6 +7924,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7756,6 +7933,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7764,6 +7942,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7803,6 +7982,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7811,6 +7991,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7819,6 +8000,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7827,6 +8009,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7835,6 +8018,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7935,6 +8119,7 @@ func awsRestjson1_deserializeDocumentSystemResourceLimits(v **types.SystemResour } } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -7947,6 +8132,7 @@ func awsRestjson1_deserializeDocumentSystemResourceLimits(v **types.SystemResour } sv.Memory = i64 } + default: _, _ = key, value @@ -8022,6 +8208,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -8030,6 +8217,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8042,6 +8230,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8239,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -8085,6 +8275,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8093,6 +8284,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -8101,6 +8293,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -8140,6 +8333,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8148,6 +8342,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/groundstation/deserializers.go b/service/groundstation/deserializers.go index fdeb1b6b885..4b8bb3f10d9 100644 --- a/service/groundstation/deserializers.go +++ b/service/groundstation/deserializers.go @@ -182,6 +182,7 @@ func awsRestjson1_deserializeOpDocumentCancelContactOutput(v **CancelContactOutp } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -346,6 +347,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigArn = ptr.String(jtv) } + case "configId": if value != nil { jtv, ok := value.(string) @@ -354,6 +356,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -362,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigOutput(v **CreateConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } + default: _, _ = key, value @@ -523,6 +527,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataflowEndpointGroupOutput(v **Cre } sv.DataflowEndpointGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -684,6 +689,7 @@ func awsRestjson1_deserializeOpDocumentCreateEphemerisOutput(v **CreateEphemeris } sv.EphemerisId = ptr.String(jtv) } + default: _, _ = key, value @@ -845,6 +851,7 @@ func awsRestjson1_deserializeOpDocumentCreateMissionProfileOutput(v **CreateMiss } sv.MissionProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -1006,6 +1013,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigArn = ptr.String(jtv) } + case "configId": if value != nil { jtv, ok := value.(string) @@ -1014,6 +1022,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -1022,6 +1031,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigOutput(v **DeleteConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } + default: _, _ = key, value @@ -1183,6 +1193,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataflowEndpointGroupOutput(v **Del } sv.DataflowEndpointGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -1344,6 +1355,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEphemerisOutput(v **DeleteEphemeris } sv.EphemerisId = ptr.String(jtv) } + default: _, _ = key, value @@ -1505,6 +1517,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMissionProfileOutput(v **DeleteMiss } sv.MissionProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -1666,6 +1679,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ContactId = ptr.String(jtv) } + case "contactStatus": if value != nil { jtv, ok := value.(string) @@ -1674,10 +1688,12 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ContactStatus = types.ContactStatus(jtv) } + case "dataflowList": if err := awsRestjson1_deserializeDocumentDataflowList(&sv.DataflowList, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -1693,6 +1709,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -1701,6 +1718,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.ErrorMessage = ptr.String(jtv) } + case "groundStation": if value != nil { jtv, ok := value.(string) @@ -1709,10 +1727,12 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.GroundStation = ptr.String(jtv) } + case "maximumElevation": if err := awsRestjson1_deserializeDocumentElevation(&sv.MaximumElevation, value); err != nil { return err } + case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -1721,6 +1741,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.MissionProfileArn = ptr.String(jtv) } + case "postPassEndTime": if value != nil { switch jtv := value.(type) { @@ -1736,6 +1757,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + case "prePassStartTime": if value != nil { switch jtv := value.(type) { @@ -1751,6 +1773,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + case "region": if value != nil { jtv, ok := value.(string) @@ -1759,6 +1782,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.Region = ptr.String(jtv) } + case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -1767,6 +1791,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } sv.SatelliteArn = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -1782,10 +1807,12 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "visibilityEndTime": if value != nil { switch jtv := value.(type) { @@ -1801,6 +1828,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + case "visibilityStartTime": if value != nil { switch jtv := value.(type) { @@ -1816,6 +1844,7 @@ func awsRestjson1_deserializeOpDocumentDescribeContactOutput(v **DescribeContact } } + default: _, _ = key, value @@ -1984,6 +2013,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -1992,6 +2022,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Enabled = ptr.Bool(jtv) } + case "ephemerisId": if value != nil { jtv, ok := value.(string) @@ -2000,6 +2031,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.EphemerisId = ptr.String(jtv) } + case "invalidReason": if value != nil { jtv, ok := value.(string) @@ -2008,6 +2040,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.InvalidReason = types.EphemerisInvalidReason(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2016,6 +2049,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -2028,6 +2062,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Priority = ptr.Int32(int32(i64)) } + case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -2036,6 +2071,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.SatelliteId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2044,14 +2080,17 @@ func awsRestjson1_deserializeOpDocumentDescribeEphemerisOutput(v **DescribeEphem } sv.Status = types.EphemerisStatus(jtv) } + case "suppliedData": if err := awsRestjson1_deserializeDocumentEphemerisTypeDescription(&sv.SuppliedData, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2213,6 +2252,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentConfigurationOutput(v **GetAgentC } sv.AgentId = ptr.String(jtv) } + case "taskingDocument": if value != nil { jtv, ok := value.(string) @@ -2221,6 +2261,7 @@ func awsRestjson1_deserializeOpDocumentGetAgentConfigurationOutput(v **GetAgentC } sv.TaskingDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -2382,10 +2423,12 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigArn = ptr.String(jtv) } + case "configData": if err := awsRestjson1_deserializeDocumentConfigTypeData(&sv.ConfigData, value); err != nil { return err } + case "configId": if value != nil { jtv, ok := value.(string) @@ -2394,6 +2437,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -2402,6 +2446,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.ConfigType = types.ConfigCapabilityType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2410,10 +2455,12 @@ func awsRestjson1_deserializeOpDocumentGetConfigOutput(v **GetConfigOutput, valu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2579,6 +2626,7 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.ContactPostPassDurationSeconds = ptr.Int32(int32(i64)) } + case "contactPrePassDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2591,6 +2639,7 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.ContactPrePassDurationSeconds = ptr.Int32(int32(i64)) } + case "dataflowEndpointGroupArn": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2648,7 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.DataflowEndpointGroupArn = ptr.String(jtv) } + case "dataflowEndpointGroupId": if value != nil { jtv, ok := value.(string) @@ -2607,14 +2657,17 @@ func awsRestjson1_deserializeOpDocumentGetDataflowEndpointGroupOutput(v **GetDat } sv.DataflowEndpointGroupId = ptr.String(jtv) } + case "endpointsDetails": if err := awsRestjson1_deserializeDocumentEndpointDetailsList(&sv.EndpointsDetails, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2780,6 +2833,7 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.EstimatedMinutesRemaining = ptr.Int32(int32(i64)) } + case "isReservedMinutesCustomer": if value != nil { jtv, ok := value.(bool) @@ -2788,6 +2842,7 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.IsReservedMinutesCustomer = ptr.Bool(jtv) } + case "totalReservedMinuteAllocation": if value != nil { jtv, ok := value.(json.Number) @@ -2800,6 +2855,7 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.TotalReservedMinuteAllocation = ptr.Int32(int32(i64)) } + case "totalScheduledMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2812,6 +2868,7 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.TotalScheduledMinutes = ptr.Int32(int32(i64)) } + case "upcomingMinutesScheduled": if value != nil { jtv, ok := value.(json.Number) @@ -2824,6 +2881,7 @@ func awsRestjson1_deserializeOpDocumentGetMinuteUsageOutput(v **GetMinuteUsageOu } sv.UpcomingMinutesScheduled = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2989,6 +3047,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.ContactPostPassDurationSeconds = ptr.Int32(int32(i64)) } + case "contactPrePassDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3001,10 +3060,12 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.ContactPrePassDurationSeconds = ptr.Int32(int32(i64)) } + case "dataflowEdges": if err := awsRestjson1_deserializeDocumentDataflowEdgeList(&sv.DataflowEdges, value); err != nil { return err } + case "minimumViableContactDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3017,6 +3078,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MinimumViableContactDurationSeconds = ptr.Int32(int32(i64)) } + case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -3025,6 +3087,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MissionProfileArn = ptr.String(jtv) } + case "missionProfileId": if value != nil { jtv, ok := value.(string) @@ -3033,6 +3096,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.MissionProfileId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3041,6 +3105,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.Name = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -3049,10 +3114,12 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.Region = ptr.String(jtv) } + case "streamsKmsKey": if err := awsRestjson1_deserializeDocumentKmsKey(&sv.StreamsKmsKey, value); err != nil { return err } + case "streamsKmsRole": if value != nil { jtv, ok := value.(string) @@ -3061,10 +3128,12 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.StreamsKmsRole = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "trackingConfigArn": if value != nil { jtv, ok := value.(string) @@ -3073,6 +3142,7 @@ func awsRestjson1_deserializeOpDocumentGetMissionProfileOutput(v **GetMissionPro } sv.TrackingConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3230,10 +3300,12 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput if err := awsRestjson1_deserializeDocumentEphemerisMetaData(&sv.CurrentEphemeris, value); err != nil { return err } + case "groundStations": if err := awsRestjson1_deserializeDocumentGroundStationIdList(&sv.GroundStations, value); err != nil { return err } + case "noradSatelliteID": if value != nil { jtv, ok := value.(json.Number) @@ -3246,6 +3318,7 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.NoradSatelliteID = int32(i64) } + case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -3254,6 +3327,7 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.SatelliteArn = ptr.String(jtv) } + case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -3262,6 +3336,7 @@ func awsRestjson1_deserializeOpDocumentGetSatelliteOutput(v **GetSatelliteOutput } sv.SatelliteId = ptr.String(jtv) } + default: _, _ = key, value @@ -3419,6 +3494,7 @@ func awsRestjson1_deserializeOpDocumentListConfigsOutput(v **ListConfigsOutput, if err := awsRestjson1_deserializeDocumentConfigList(&sv.ConfigList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3427,6 +3503,7 @@ func awsRestjson1_deserializeOpDocumentListConfigsOutput(v **ListConfigsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3584,6 +3661,7 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsRestjson1_deserializeDocumentContactList(&sv.ContactList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3592,6 +3670,7 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3749,6 +3828,7 @@ func awsRestjson1_deserializeOpDocumentListDataflowEndpointGroupsOutput(v **List if err := awsRestjson1_deserializeDocumentDataflowEndpointGroupList(&sv.DataflowEndpointGroupList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3757,6 +3837,7 @@ func awsRestjson1_deserializeOpDocumentListDataflowEndpointGroupsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3914,6 +3995,7 @@ func awsRestjson1_deserializeOpDocumentListEphemeridesOutput(v **ListEphemerides if err := awsRestjson1_deserializeDocumentEphemeridesList(&sv.Ephemerides, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3922,6 +4004,7 @@ func awsRestjson1_deserializeOpDocumentListEphemeridesOutput(v **ListEphemerides } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4079,6 +4162,7 @@ func awsRestjson1_deserializeOpDocumentListGroundStationsOutput(v **ListGroundSt if err := awsRestjson1_deserializeDocumentGroundStationList(&sv.GroundStationList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4087,6 +4171,7 @@ func awsRestjson1_deserializeOpDocumentListGroundStationsOutput(v **ListGroundSt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4244,6 +4329,7 @@ func awsRestjson1_deserializeOpDocumentListMissionProfilesOutput(v **ListMission if err := awsRestjson1_deserializeDocumentMissionProfileList(&sv.MissionProfileList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4252,6 +4338,7 @@ func awsRestjson1_deserializeOpDocumentListMissionProfilesOutput(v **ListMission } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4413,10 +4500,12 @@ func awsRestjson1_deserializeOpDocumentListSatellitesOutput(v **ListSatellitesOu } sv.NextToken = ptr.String(jtv) } + case "satellites": if err := awsRestjson1_deserializeDocumentSatelliteList(&sv.Satellites, value); err != nil { return err } + default: _, _ = key, value @@ -4574,6 +4663,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4735,6 +4825,7 @@ func awsRestjson1_deserializeOpDocumentRegisterAgentOutput(v **RegisterAgentOutp } sv.AgentId = ptr.String(jtv) } + default: _, _ = key, value @@ -4896,6 +4987,7 @@ func awsRestjson1_deserializeOpDocumentReserveContactOutput(v **ReserveContactOu } sv.ContactId = ptr.String(jtv) } + default: _, _ = key, value @@ -5245,6 +5337,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAgentStatusOutput(v **UpdateAgentSt } sv.AgentId = ptr.String(jtv) } + default: _, _ = key, value @@ -5406,6 +5499,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigArn = ptr.String(jtv) } + case "configId": if value != nil { jtv, ok := value.(string) @@ -5414,6 +5508,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -5422,6 +5517,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigOutput(v **UpdateConfigOutput } sv.ConfigType = types.ConfigCapabilityType(jtv) } + default: _, _ = key, value @@ -5583,6 +5679,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEphemerisOutput(v **UpdateEphemeris } sv.EphemerisId = ptr.String(jtv) } + default: _, _ = key, value @@ -5744,6 +5841,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMissionProfileOutput(v **UpdateMiss } sv.MissionProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -5927,6 +6025,7 @@ func awsRestjson1_deserializeDocumentAntennaDemodDecodeDetails(v **types.Antenna } sv.OutputNode = ptr.String(jtv) } + default: _, _ = key, value @@ -5962,6 +6061,7 @@ func awsRestjson1_deserializeDocumentAntennaDownlinkConfig(v **types.AntennaDown if err := awsRestjson1_deserializeDocumentSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5997,14 +6097,17 @@ func awsRestjson1_deserializeDocumentAntennaDownlinkDemodDecodeConfig(v **types. if err := awsRestjson1_deserializeDocumentDecodeConfig(&sv.DecodeConfig, value); err != nil { return err } + case "demodulationConfig": if err := awsRestjson1_deserializeDocumentDemodulationConfig(&sv.DemodulationConfig, value); err != nil { return err } + case "spectrumConfig": if err := awsRestjson1_deserializeDocumentSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6040,10 +6143,12 @@ func awsRestjson1_deserializeDocumentAntennaUplinkConfig(v **types.AntennaUplink if err := awsRestjson1_deserializeDocumentUplinkSpectrumConfig(&sv.SpectrumConfig, value); err != nil { return err } + case "targetEirp": if err := awsRestjson1_deserializeDocumentEirp(&sv.TargetEirp, value); err != nil { return err } + case "transmitDisabled": if value != nil { jtv, ok := value.(bool) @@ -6052,6 +6157,7 @@ func awsRestjson1_deserializeDocumentAntennaUplinkConfig(v **types.AntennaUplink } sv.TransmitDisabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6091,6 +6197,7 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.AgentStatus = types.AgentStatus(jtv) } + case "auditResults": if value != nil { jtv, ok := value.(string) @@ -6099,14 +6206,17 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.AuditResults = types.AuditResults(jtv) } + case "egressAddress": if err := awsRestjson1_deserializeDocumentConnectionDetails(&sv.EgressAddress, value); err != nil { return err } + case "ingressAddress": if err := awsRestjson1_deserializeDocumentRangedConnectionDetails(&sv.IngressAddress, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6115,6 +6225,7 @@ func awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(v **types.Aws } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6284,6 +6395,7 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigArn = ptr.String(jtv) } + case "configId": if value != nil { jtv, ok := value.(string) @@ -6292,6 +6404,7 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -6300,6 +6413,7 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.ConfigType = types.ConfigCapabilityType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6308,6 +6422,7 @@ func awsRestjson1_deserializeDocumentConfigListItem(v **types.ConfigListItem, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6451,10 +6566,12 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.Mtu = ptr.Int32(int32(i64)) } + case "socketAddress": if err := awsRestjson1_deserializeDocumentSocketAddress(&sv.SocketAddress, value); err != nil { return err } + default: _, _ = key, value @@ -6494,6 +6611,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ContactId = ptr.String(jtv) } + case "contactStatus": if value != nil { jtv, ok := value.(string) @@ -6502,6 +6620,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ContactStatus = types.ContactStatus(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6517,6 +6636,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6525,6 +6645,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.ErrorMessage = ptr.String(jtv) } + case "groundStation": if value != nil { jtv, ok := value.(string) @@ -6533,10 +6654,12 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.GroundStation = ptr.String(jtv) } + case "maximumElevation": if err := awsRestjson1_deserializeDocumentElevation(&sv.MaximumElevation, value); err != nil { return err } + case "missionProfileArn": if value != nil { jtv, ok := value.(string) @@ -6545,6 +6668,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.MissionProfileArn = ptr.String(jtv) } + case "postPassEndTime": if value != nil { switch jtv := value.(type) { @@ -6560,6 +6684,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + case "prePassStartTime": if value != nil { switch jtv := value.(type) { @@ -6575,6 +6700,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + case "region": if value != nil { jtv, ok := value.(string) @@ -6583,6 +6709,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.Region = ptr.String(jtv) } + case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -6591,6 +6718,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } sv.SatelliteArn = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6606,10 +6734,12 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "visibilityEndTime": if value != nil { switch jtv := value.(type) { @@ -6625,6 +6755,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + case "visibilityStartTime": if value != nil { switch jtv := value.(type) { @@ -6640,6 +6771,7 @@ func awsRestjson1_deserializeDocumentContactData(v **types.ContactData, value in } } + default: _, _ = key, value @@ -6709,6 +6841,7 @@ func awsRestjson1_deserializeDocumentDataflowDetail(v **types.DataflowDetail, va if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6717,10 +6850,12 @@ func awsRestjson1_deserializeDocumentDataflowDetail(v **types.DataflowDetail, va } sv.ErrorMessage = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -6824,6 +6959,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint if err := awsRestjson1_deserializeDocumentSocketAddress(&sv.Address, value); err != nil { return err } + case "mtu": if value != nil { jtv, ok := value.(json.Number) @@ -6836,6 +6972,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Mtu = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6844,6 +6981,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6852,6 +6990,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpoint(v **types.DataflowEndpoint } sv.Status = types.EndpointStatus(jtv) } + default: _, _ = key, value @@ -6891,6 +7030,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpointConfig(v **types.DataflowEn } sv.DataflowEndpointName = ptr.String(jtv) } + case "dataflowEndpointRegion": if value != nil { jtv, ok := value.(string) @@ -6899,6 +7039,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpointConfig(v **types.DataflowEn } sv.DataflowEndpointRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -6972,6 +7113,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpointListItem(v **types.Dataflow } sv.DataflowEndpointGroupArn = ptr.String(jtv) } + case "dataflowEndpointGroupId": if value != nil { jtv, ok := value.(string) @@ -6980,6 +7122,7 @@ func awsRestjson1_deserializeDocumentDataflowEndpointListItem(v **types.Dataflow } sv.DataflowEndpointGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -7053,6 +7196,7 @@ func awsRestjson1_deserializeDocumentDecodeConfig(v **types.DecodeConfig, value } sv.UnvalidatedJSON = ptr.String(jtv) } + default: _, _ = key, value @@ -7092,6 +7236,7 @@ func awsRestjson1_deserializeDocumentDemodulationConfig(v **types.DemodulationCo } sv.UnvalidatedJSON = ptr.String(jtv) } + default: _, _ = key, value @@ -7131,6 +7276,7 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } + case "parameterName": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7285,7 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -7174,6 +7321,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentConfigDetails(&sv.ConfigDetails, value); err != nil { return err } + case "configId": if value != nil { jtv, ok := value.(string) @@ -7182,6 +7330,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -7190,6 +7339,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.ConfigType = types.ConfigCapabilityType(jtv) } + case "dataflowDestinationRegion": if value != nil { jtv, ok := value.(string) @@ -7198,6 +7348,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DataflowDestinationRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -7237,6 +7388,7 @@ func awsRestjson1_deserializeDocumentEirp(v **types.Eirp, value interface{}) err } sv.Units = types.EirpUnits(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7270,6 +7422,7 @@ func awsRestjson1_deserializeDocumentEirp(v **types.Eirp, value interface{}) err } } + default: _, _ = key, value @@ -7309,6 +7462,7 @@ func awsRestjson1_deserializeDocumentElevation(v **types.Elevation, value interf } sv.Unit = types.AngleUnits(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7342,6 +7496,7 @@ func awsRestjson1_deserializeDocumentElevation(v **types.Elevation, value interf } } + default: _, _ = key, value @@ -7377,14 +7532,17 @@ func awsRestjson1_deserializeDocumentEndpointDetails(v **types.EndpointDetails, if err := awsRestjson1_deserializeDocumentAwsGroundStationAgentEndpoint(&sv.AwsGroundStationAgentEndpoint, value); err != nil { return err } + case "endpoint": if err := awsRestjson1_deserializeDocumentDataflowEndpoint(&sv.Endpoint, value); err != nil { return err } + case "healthReasons": if err := awsRestjson1_deserializeDocumentCapabilityHealthReasonList(&sv.HealthReasons, value); err != nil { return err } + case "healthStatus": if value != nil { jtv, ok := value.(string) @@ -7393,10 +7551,12 @@ func awsRestjson1_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.HealthStatus = types.CapabilityHealth(jtv) } + case "securityDetails": if err := awsRestjson1_deserializeDocumentSecurityDetails(&sv.SecurityDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7504,10 +7664,12 @@ func awsRestjson1_deserializeDocumentEphemerisDescription(v **types.EphemerisDes } sv.EphemerisData = ptr.String(jtv) } + case "sourceS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.SourceS3Object, value); err != nil { return err } + default: _, _ = key, value @@ -7554,6 +7716,7 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -7562,6 +7725,7 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Enabled = ptr.Bool(jtv) } + case "ephemerisId": if value != nil { jtv, ok := value.(string) @@ -7570,6 +7734,7 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.EphemerisId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7578,6 +7743,7 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7590,10 +7756,12 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Priority = ptr.Int32(int32(i64)) } + case "sourceS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.SourceS3Object, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7602,6 +7770,7 @@ func awsRestjson1_deserializeDocumentEphemerisItem(v **types.EphemerisItem, valu } sv.Status = types.EphemerisStatus(jtv) } + default: _, _ = key, value @@ -7641,6 +7810,7 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.EphemerisId = ptr.String(jtv) } + case "epoch": if value != nil { switch jtv := value.(type) { @@ -7656,6 +7826,7 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7664,6 +7835,7 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.Name = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -7672,6 +7844,7 @@ func awsRestjson1_deserializeDocumentEphemerisMetaData(v **types.EphemerisMetaDa } sv.Source = types.EphemerisSource(jtv) } + default: _, _ = key, value @@ -7761,6 +7934,7 @@ func awsRestjson1_deserializeDocumentFrequency(v **types.Frequency, value interf } sv.Units = types.FrequencyUnits(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7794,6 +7968,7 @@ func awsRestjson1_deserializeDocumentFrequency(v **types.Frequency, value interf } } + default: _, _ = key, value @@ -7833,6 +8008,7 @@ func awsRestjson1_deserializeDocumentFrequencyBandwidth(v **types.FrequencyBandw } sv.Units = types.BandwidthUnits(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -7866,6 +8042,7 @@ func awsRestjson1_deserializeDocumentFrequencyBandwidth(v **types.FrequencyBandw } } + default: _, _ = key, value @@ -7905,6 +8082,7 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.GroundStationId = ptr.String(jtv) } + case "groundStationName": if value != nil { jtv, ok := value.(string) @@ -7913,6 +8091,7 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.GroundStationName = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -7921,6 +8100,7 @@ func awsRestjson1_deserializeDocumentGroundStationData(v **types.GroundStationDa } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -8034,6 +8214,7 @@ func awsRestjson1_deserializeDocumentIntegerRange(v **types.IntegerRange, value } sv.Maximum = ptr.Int32(int32(i64)) } + case "minimum": if value != nil { jtv, ok := value.(json.Number) @@ -8046,6 +8227,7 @@ func awsRestjson1_deserializeDocumentIntegerRange(v **types.IntegerRange, value } sv.Minimum = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8085,6 +8267,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "parameterName": if value != nil { jtv, ok := value.(string) @@ -8093,6 +8276,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -8232,6 +8416,7 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.MissionProfileArn = ptr.String(jtv) } + case "missionProfileId": if value != nil { jtv, ok := value.(string) @@ -8240,6 +8425,7 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.MissionProfileId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8248,6 +8434,7 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.Name = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -8256,6 +8443,7 @@ func awsRestjson1_deserializeDocumentMissionProfileListItem(v **types.MissionPro } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -8299,10 +8487,12 @@ func awsRestjson1_deserializeDocumentRangedConnectionDetails(v **types.RangedCon } sv.Mtu = ptr.Int32(int32(i64)) } + case "socketAddress": if err := awsRestjson1_deserializeDocumentRangedSocketAddress(&sv.SocketAddress, value); err != nil { return err } + default: _, _ = key, value @@ -8342,10 +8532,12 @@ func awsRestjson1_deserializeDocumentRangedSocketAddress(v **types.RangedSocketA } sv.Name = ptr.String(jtv) } + case "portRange": if err := awsRestjson1_deserializeDocumentIntegerRange(&sv.PortRange, value); err != nil { return err } + default: _, _ = key, value @@ -8385,6 +8577,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + case "parameterName": if value != nil { jtv, ok := value.(string) @@ -8393,6 +8586,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -8432,6 +8626,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8471,6 +8666,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -8479,6 +8675,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -8487,6 +8684,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8526,6 +8724,7 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.BucketArn = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -8534,6 +8733,7 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.Prefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8542,6 +8742,7 @@ func awsRestjson1_deserializeDocumentS3RecordingConfig(v **types.S3RecordingConf } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8581,6 +8782,7 @@ func awsRestjson1_deserializeDocumentS3RecordingDetails(v **types.S3RecordingDet } sv.BucketArn = ptr.String(jtv) } + case "keyTemplate": if value != nil { jtv, ok := value.(string) @@ -8589,6 +8791,7 @@ func awsRestjson1_deserializeDocumentS3RecordingDetails(v **types.S3RecordingDet } sv.KeyTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -8658,10 +8861,12 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt if err := awsRestjson1_deserializeDocumentEphemerisMetaData(&sv.CurrentEphemeris, value); err != nil { return err } + case "groundStations": if err := awsRestjson1_deserializeDocumentGroundStationIdList(&sv.GroundStations, value); err != nil { return err } + case "noradSatelliteID": if value != nil { jtv, ok := value.(json.Number) @@ -8674,6 +8879,7 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.NoradSatelliteID = int32(i64) } + case "satelliteArn": if value != nil { jtv, ok := value.(string) @@ -8682,6 +8888,7 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.SatelliteArn = ptr.String(jtv) } + case "satelliteId": if value != nil { jtv, ok := value.(string) @@ -8690,6 +8897,7 @@ func awsRestjson1_deserializeDocumentSatelliteListItem(v **types.SatelliteListIt } sv.SatelliteId = ptr.String(jtv) } + default: _, _ = key, value @@ -8729,14 +8937,17 @@ func awsRestjson1_deserializeDocumentSecurityDetails(v **types.SecurityDetails, } sv.RoleArn = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -8812,6 +9023,7 @@ func awsRestjson1_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8824,6 +9036,7 @@ func awsRestjson1_deserializeDocumentSocketAddress(v **types.SocketAddress, valu } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8859,6 +9072,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentConfigDetails(&sv.ConfigDetails, value); err != nil { return err } + case "configId": if value != nil { jtv, ok := value.(string) @@ -8867,6 +9081,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.ConfigId = ptr.String(jtv) } + case "configType": if value != nil { jtv, ok := value.(string) @@ -8875,6 +9090,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.ConfigType = types.ConfigCapabilityType(jtv) } + case "dataflowSourceRegion": if value != nil { jtv, ok := value.(string) @@ -8883,6 +9099,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.DataflowSourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -8918,10 +9135,12 @@ func awsRestjson1_deserializeDocumentSpectrumConfig(v **types.SpectrumConfig, va if err := awsRestjson1_deserializeDocumentFrequencyBandwidth(&sv.Bandwidth, value); err != nil { return err } + case "centerFrequency": if err := awsRestjson1_deserializeDocumentFrequency(&sv.CenterFrequency, value); err != nil { return err } + case "polarization": if value != nil { jtv, ok := value.(string) @@ -8930,6 +9149,7 @@ func awsRestjson1_deserializeDocumentSpectrumConfig(v **types.SpectrumConfig, va } sv.Polarization = types.Polarization(jtv) } + default: _, _ = key, value @@ -9041,6 +9261,7 @@ func awsRestjson1_deserializeDocumentTrackingConfig(v **types.TrackingConfig, va } sv.Autotrack = types.Criticality(jtv) } + default: _, _ = key, value @@ -9080,6 +9301,7 @@ func awsRestjson1_deserializeDocumentUplinkEchoConfig(v **types.UplinkEchoConfig } sv.AntennaUplinkConfigArn = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -9088,6 +9310,7 @@ func awsRestjson1_deserializeDocumentUplinkEchoConfig(v **types.UplinkEchoConfig } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9123,6 +9346,7 @@ func awsRestjson1_deserializeDocumentUplinkSpectrumConfig(v **types.UplinkSpectr if err := awsRestjson1_deserializeDocumentFrequency(&sv.CenterFrequency, value); err != nil { return err } + case "polarization": if value != nil { jtv, ok := value.(string) @@ -9131,6 +9355,7 @@ func awsRestjson1_deserializeDocumentUplinkSpectrumConfig(v **types.UplinkSpectr } sv.Polarization = types.Polarization(jtv) } + default: _, _ = key, value diff --git a/service/guardduty/deserializers.go b/service/guardduty/deserializers.go index c84dbf81d7d..d099d9f594f 100644 --- a/service/guardduty/deserializers.go +++ b/service/guardduty/deserializers.go @@ -453,10 +453,12 @@ func awsRestjson1_deserializeOpDocumentCreateDetectorOutput(v **CreateDetectorOu } sv.DetectorId = ptr.String(jtv) } + case "unprocessedDataSources": if err := awsRestjson1_deserializeDocumentUnprocessedDataSourcesResult(&sv.UnprocessedDataSources, value); err != nil { return err } + default: _, _ = key, value @@ -615,6 +617,7 @@ func awsRestjson1_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -773,6 +776,7 @@ func awsRestjson1_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.IpSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -937,6 +941,7 @@ func awsRestjson1_deserializeOpDocumentCreateMalwareProtectionPlanOutput(v **Cre } sv.MalwareProtectionPlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -1091,6 +1096,7 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1249,6 +1255,7 @@ func awsRestjson1_deserializeOpDocumentCreatePublishingDestinationOutput(v **Cre } sv.DestinationId = ptr.String(jtv) } + default: _, _ = key, value @@ -1498,6 +1505,7 @@ func awsRestjson1_deserializeOpDocumentCreateThreatIntelSetOutput(v **CreateThre } sv.ThreatIntelSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -1652,6 +1660,7 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1988,6 +1997,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -2336,6 +2346,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -2676,10 +2687,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMalwareScansOutput(v **DescribeMa } sv.NextToken = ptr.String(jtv) } + case "scans": if err := awsRestjson1_deserializeDocumentScans(&sv.Scans, value); err != nil { return err } + default: _, _ = key, value @@ -2838,6 +2851,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } + case "autoEnableOrganizationMembers": if value != nil { jtv, ok := value.(string) @@ -2846,14 +2860,17 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnableOrganizationMembers = types.AutoEnableMembers(jtv) } + case "dataSources": if err := awsRestjson1_deserializeDocumentOrganizationDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } + case "features": if err := awsRestjson1_deserializeDocumentOrganizationFeaturesConfigurationsResults(&sv.Features, value); err != nil { return err } + case "memberAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -2862,6 +2879,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MemberAccountLimitReached = ptr.Bool(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2870,6 +2888,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3028,10 +3047,12 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.DestinationId = ptr.String(jtv) } + case "destinationProperties": if err := awsRestjson1_deserializeDocumentDestinationProperties(&sv.DestinationProperties, value); err != nil { return err } + case "destinationType": if value != nil { jtv, ok := value.(string) @@ -3040,6 +3061,7 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.DestinationType = types.DestinationType(jtv) } + case "publishingFailureStartTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -3052,6 +3074,7 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.PublishingFailureStartTimestamp = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3060,6 +3083,7 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D } sv.Status = types.PublishingStatus(jtv) } + default: _, _ = key, value @@ -3487,6 +3511,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateMembersOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -3732,6 +3757,7 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentAdministrator(&sv.Administrator, value); err != nil { return err } + default: _, _ = key, value @@ -3886,6 +3912,7 @@ func awsRestjson1_deserializeOpDocumentGetCoverageStatisticsOutput(v **GetCovera if err := awsRestjson1_deserializeDocumentCoverageStatistics(&sv.CoverageStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -4044,14 +4071,17 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.CreatedAt = ptr.String(jtv) } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } + case "features": if err := awsRestjson1_deserializeDocumentDetectorFeatureConfigurationsResults(&sv.Features, value); err != nil { return err } + case "findingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -4060,6 +4090,7 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.FindingPublishingFrequency = types.FindingPublishingFrequency(jtv) } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -4068,6 +4099,7 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.ServiceRole = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4076,10 +4108,12 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.Status = types.DetectorStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4088,6 +4122,7 @@ func awsRestjson1_deserializeOpDocumentGetDetectorOutput(v **GetDetectorOutput, } sv.UpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -4246,6 +4281,7 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Action = types.FilterAction(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4254,10 +4290,12 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Description = ptr.String(jtv) } + case "findingCriteria": if err := awsRestjson1_deserializeDocumentFindingCriteria(&sv.FindingCriteria, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4266,6 +4304,7 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Name = ptr.String(jtv) } + case "rank": if value != nil { jtv, ok := value.(json.Number) @@ -4278,10 +4317,12 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu } sv.Rank = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4436,6 +4477,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentFindings(&sv.Findings, value); err != nil { return err } + default: _, _ = key, value @@ -4590,6 +4632,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsStatisticsOutput(v **GetFindin if err := awsRestjson1_deserializeDocumentFindingStatistics(&sv.FindingStatistics, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4598,6 +4641,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsStatisticsOutput(v **GetFindin } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4760,6 +4804,7 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4918,6 +4963,7 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Format = types.IpSetFormat(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -4926,6 +4972,7 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Location = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4934,6 +4981,7 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4942,10 +4990,12 @@ func awsRestjson1_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.Status = types.IpSetStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5106,6 +5156,7 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanActions(&sv.Actions, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5114,6 +5165,7 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5129,10 +5181,12 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } } + case "protectedResource": if err := awsRestjson1_deserializeDocumentCreateProtectedResource(&sv.ProtectedResource, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -5141,6 +5195,7 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Role = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5149,14 +5204,17 @@ func awsRestjson1_deserializeOpDocumentGetMalwareProtectionPlanOutput(v **GetMal } sv.Status = types.MalwareProtectionPlanStatus(jtv) } + case "statusReasons": if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReasonsList(&sv.StatusReasons, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5315,10 +5373,12 @@ func awsRestjson1_deserializeOpDocumentGetMalwareScanSettingsOutput(v **GetMalwa } sv.EbsSnapshotPreservation = types.EbsSnapshotPreservation(jtv) } + case "scanResourceCriteria": if err := awsRestjson1_deserializeDocumentScanResourceCriteria(&sv.ScanResourceCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -5473,6 +5533,7 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentMaster(&sv.Master, value); err != nil { return err } + default: _, _ = key, value @@ -5627,10 +5688,12 @@ func awsRestjson1_deserializeOpDocumentGetMemberDetectorsOutput(v **GetMemberDet if err := awsRestjson1_deserializeDocumentMemberDataSourceConfigurations(&sv.MemberDataSourceConfigurations, value); err != nil { return err } + case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -5785,10 +5848,12 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } + case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -5943,6 +6008,7 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationStatisticsOutput(v **GetOr if err := awsRestjson1_deserializeDocumentOrganizationDetails(&sv.OrganizationDetails, value); err != nil { return err } + default: _, _ = key, value @@ -6097,10 +6163,12 @@ func awsRestjson1_deserializeOpDocumentGetRemainingFreeTrialDaysOutput(v **GetRe if err := awsRestjson1_deserializeDocumentAccountFreeTrialInfos(&sv.Accounts, value); err != nil { return err } + case "unprocessedAccounts": if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -6259,6 +6327,7 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Format = types.ThreatIntelSetFormat(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -6267,6 +6336,7 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Location = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6275,6 +6345,7 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6283,10 +6354,12 @@ func awsRestjson1_deserializeOpDocumentGetThreatIntelSetOutput(v **GetThreatInte } sv.Status = types.ThreatIntelSetStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6445,10 +6518,12 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.NextToken = ptr.String(jtv) } + case "usageStatistics": if err := awsRestjson1_deserializeDocumentUsageStatistics(&sv.UsageStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -6603,6 +6678,7 @@ func awsRestjson1_deserializeOpDocumentInviteMembersOutput(v **InviteMembersOutp if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -6761,10 +6837,12 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentCoverageResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -6919,6 +6997,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp if err := awsRestjson1_deserializeDocumentDetectorIds(&sv.DetectorIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6927,6 +7006,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7081,6 +7161,7 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsRestjson1_deserializeDocumentFilterNames(&sv.FilterNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7089,6 +7170,7 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7243,6 +7325,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingIds(&sv.FindingIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7251,6 +7334,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7405,6 +7489,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitations(&sv.Invitations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7413,6 +7498,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7567,6 +7653,7 @@ func awsRestjson1_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsRestjson1_deserializeDocumentIpSetIds(&sv.IpSetIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7575,6 +7662,7 @@ func awsRestjson1_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7732,6 +7820,7 @@ func awsRestjson1_deserializeOpDocumentListMalwareProtectionPlansOutput(v **List if err := awsRestjson1_deserializeDocumentMalwareProtectionPlansSummary(&sv.MalwareProtectionPlans, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7740,6 +7829,7 @@ func awsRestjson1_deserializeOpDocumentListMalwareProtectionPlansOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7894,6 +7984,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7902,6 +7993,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8056,6 +8148,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdminAccounts(&sv.AdminAccounts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8064,6 +8157,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8218,6 +8312,7 @@ func awsRestjson1_deserializeOpDocumentListPublishingDestinationsOutput(v **List if err := awsRestjson1_deserializeDocumentDestinations(&sv.Destinations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8226,6 +8321,7 @@ func awsRestjson1_deserializeOpDocumentListPublishingDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8383,6 +8479,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8541,10 +8638,12 @@ func awsRestjson1_deserializeOpDocumentListThreatIntelSetsOutput(v **ListThreatI } sv.NextToken = ptr.String(jtv) } + case "threatIntelSetIds": if err := awsRestjson1_deserializeDocumentThreatIntelSetIds(&sv.ThreatIntelSetIds, value); err != nil { return err } + default: _, _ = key, value @@ -8706,6 +8805,7 @@ func awsRestjson1_deserializeOpDocumentStartMalwareScanOutput(v **StartMalwareSc } sv.ScanId = ptr.String(jtv) } + default: _, _ = key, value @@ -8860,6 +8960,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitoringMembersOutput(v **StartMon if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -9014,6 +9115,7 @@ func awsRestjson1_deserializeOpDocumentStopMonitoringMembersOutput(v **StopMonit if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -9542,6 +9644,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFilterOutput(v **UpdateFilterOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10072,6 +10175,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMemberDetectorsOutput(v **UpdateMem if err := awsRestjson1_deserializeDocumentUnprocessedAccounts(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -10564,6 +10668,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } + case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -10572,6 +10677,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10611,6 +10717,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "__type": if value != nil { jtv, ok := value.(string) @@ -10619,6 +10726,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -10658,6 +10766,7 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.AccessKeyId = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -10666,6 +10775,7 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.PrincipalId = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -10674,6 +10784,7 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.UserName = ptr.String(jtv) } + case "userType": if value != nil { jtv, ok := value.(string) @@ -10682,6 +10793,7 @@ func awsRestjson1_deserializeDocumentAccessKeyDetails(v **types.AccessKeyDetails } sv.UserType = ptr.String(jtv) } + default: _, _ = key, value @@ -10721,14 +10833,17 @@ func awsRestjson1_deserializeDocumentAccountFreeTrialInfo(v **types.AccountFreeT } sv.AccountId = ptr.String(jtv) } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourcesFreeTrial(&sv.DataSources, value); err != nil { return err } + case "features": if err := awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationsResults(&sv.Features, value); err != nil { return err } + default: _, _ = key, value @@ -10798,6 +10913,7 @@ func awsRestjson1_deserializeDocumentAccountLevelPermissions(v **types.AccountLe if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } + default: _, _ = key, value @@ -10837,6 +10953,7 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } sv.AccountId = ptr.String(jtv) } + case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -10852,6 +10969,7 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } } + case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -10864,6 +10982,7 @@ func awsRestjson1_deserializeDocumentAccountStatistics(v **types.AccountStatisti } sv.TotalFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10903,42 +11022,52 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = ptr.String(jtv) } + case "awsApiCallAction": if err := awsRestjson1_deserializeDocumentAwsApiCallAction(&sv.AwsApiCallAction, value); err != nil { return err } + case "dnsRequestAction": if err := awsRestjson1_deserializeDocumentDnsRequestAction(&sv.DnsRequestAction, value); err != nil { return err } + case "kubernetesApiCallAction": if err := awsRestjson1_deserializeDocumentKubernetesApiCallAction(&sv.KubernetesApiCallAction, value); err != nil { return err } + case "kubernetesPermissionCheckedDetails": if err := awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(&sv.KubernetesPermissionCheckedDetails, value); err != nil { return err } + case "kubernetesRoleBindingDetails": if err := awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(&sv.KubernetesRoleBindingDetails, value); err != nil { return err } + case "kubernetesRoleDetails": if err := awsRestjson1_deserializeDocumentKubernetesRoleDetails(&sv.KubernetesRoleDetails, value); err != nil { return err } + case "networkConnectionAction": if err := awsRestjson1_deserializeDocumentNetworkConnectionAction(&sv.NetworkConnectionAction, value); err != nil { return err } + case "portProbeAction": if err := awsRestjson1_deserializeDocumentPortProbeAction(&sv.PortProbeAction, value); err != nil { return err } + case "rdsLoginAttemptAction": if err := awsRestjson1_deserializeDocumentRdsLoginAttemptAction(&sv.RdsLoginAttemptAction, value); err != nil { return err } + default: _, _ = key, value @@ -10978,6 +11107,7 @@ func awsRestjson1_deserializeDocumentAddonDetails(v **types.AddonDetails, value } sv.AddonStatus = ptr.String(jtv) } + case "addonVersion": if value != nil { jtv, ok := value.(string) @@ -10986,6 +11116,7 @@ func awsRestjson1_deserializeDocumentAddonDetails(v **types.AddonDetails, value } sv.AddonVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -11025,6 +11156,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AdminAccountId = ptr.String(jtv) } + case "adminStatus": if value != nil { jtv, ok := value.(string) @@ -11033,6 +11165,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AdminStatus = types.AdminStatus(jtv) } + default: _, _ = key, value @@ -11106,6 +11239,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.AccountId = ptr.String(jtv) } + case "invitationId": if value != nil { jtv, ok := value.(string) @@ -11114,6 +11248,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.InvitationId = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -11122,6 +11257,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.InvitedAt = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -11130,6 +11266,7 @@ func awsRestjson1_deserializeDocumentAdministrator(v **types.Administrator, valu } sv.RelationshipStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -11205,6 +11342,7 @@ func awsRestjson1_deserializeDocumentAgentDetails(v **types.AgentDetails, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11240,10 +11378,12 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ if err := awsRestjson1_deserializeDocumentAnomalyProfiles(&sv.Profiles, value); err != nil { return err } + case "unusual": if err := awsRestjson1_deserializeDocumentAnomalyUnusual(&sv.Unusual, value); err != nil { return err } + default: _, _ = key, value @@ -11279,6 +11419,7 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu if err := awsRestjson1_deserializeDocumentObservations(&sv.Observations, value); err != nil { return err } + case "profileSubtype": if value != nil { jtv, ok := value.(string) @@ -11287,6 +11428,7 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu } sv.ProfileSubtype = types.ProfileSubtype(jtv) } + case "profileType": if value != nil { jtv, ok := value.(string) @@ -11295,6 +11437,7 @@ func awsRestjson1_deserializeDocumentAnomalyObject(v **types.AnomalyObject, valu } sv.ProfileType = types.ProfileType(jtv) } + default: _, _ = key, value @@ -11432,6 +11575,7 @@ func awsRestjson1_deserializeDocumentAnomalyUnusual(v **types.AnomalyUnusual, va if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } + default: _, _ = key, value @@ -11502,6 +11646,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction if err := awsRestjson1_deserializeDocumentAffectedResources(&sv.AffectedResources, value); err != nil { return err } + case "api": if value != nil { jtv, ok := value.(string) @@ -11510,6 +11655,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.Api = ptr.String(jtv) } + case "callerType": if value != nil { jtv, ok := value.(string) @@ -11518,10 +11664,12 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.CallerType = ptr.String(jtv) } + case "domainDetails": if err := awsRestjson1_deserializeDocumentDomainDetails(&sv.DomainDetails, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -11530,14 +11678,17 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ErrorCode = ptr.String(jtv) } + case "remoteAccountDetails": if err := awsRestjson1_deserializeDocumentRemoteAccountDetails(&sv.RemoteAccountDetails, value); err != nil { return err } + case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11546,6 +11697,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ServiceName = ptr.String(jtv) } + case "userAgent": if value != nil { jtv, ok := value.(string) @@ -11554,6 +11706,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.UserAgent = ptr.String(jtv) } + default: _, _ = key, value @@ -11593,6 +11746,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "__type": if value != nil { jtv, ok := value.(string) @@ -11601,6 +11755,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11674,6 +11829,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicAcls = ptr.Bool(jtv) } + case "blockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -11682,6 +11838,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicPolicy = ptr.Bool(jtv) } + case "ignorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -11690,6 +11847,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.IgnorePublicAcls = ptr.Bool(jtv) } + case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -11698,6 +11856,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.RestrictPublicBuckets = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11733,14 +11892,17 @@ func awsRestjson1_deserializeDocumentBucketLevelPermissions(v **types.BucketLeve if err := awsRestjson1_deserializeDocumentAccessControlList(&sv.AccessControlList, value); err != nil { return err } + case "blockPublicAccess": if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } + case "bucketPolicy": if err := awsRestjson1_deserializeDocumentBucketPolicy(&sv.BucketPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -11780,6 +11942,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } + case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -11788,6 +11951,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11827,6 +11991,7 @@ func awsRestjson1_deserializeDocumentCity(v **types.City, value interface{}) err } sv.CityName = ptr.String(jtv) } + default: _, _ = key, value @@ -11866,6 +12031,7 @@ func awsRestjson1_deserializeDocumentCloudTrailConfigurationResult(v **types.Clo } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -11901,10 +12067,12 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err := awsRestjson1_deserializeDocumentEq(&sv.Eq, value); err != nil { return err } + case "equals": if err := awsRestjson1_deserializeDocumentEquals(&sv.Equals, value); err != nil { return err } + case "greaterThan": if value != nil { jtv, ok := value.(json.Number) @@ -11917,6 +12085,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.GreaterThan = ptr.Int64(i64) } + case "greaterThanOrEqual": if value != nil { jtv, ok := value.(json.Number) @@ -11929,6 +12098,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.GreaterThanOrEqual = ptr.Int64(i64) } + case "gt": if value != nil { jtv, ok := value.(json.Number) @@ -11941,6 +12111,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Gt = ptr.Int32(int32(i64)) } + case "gte": if value != nil { jtv, ok := value.(json.Number) @@ -11953,6 +12124,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Gte = ptr.Int32(int32(i64)) } + case "lessThan": if value != nil { jtv, ok := value.(json.Number) @@ -11965,6 +12137,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.LessThan = ptr.Int64(i64) } + case "lessThanOrEqual": if value != nil { jtv, ok := value.(json.Number) @@ -11977,6 +12150,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.LessThanOrEqual = ptr.Int64(i64) } + case "lt": if value != nil { jtv, ok := value.(json.Number) @@ -11989,6 +12163,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Lt = ptr.Int32(int32(i64)) } + case "lte": if value != nil { jtv, ok := value.(json.Number) @@ -12001,14 +12176,17 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Lte = ptr.Int32(int32(i64)) } + case "neq": if err := awsRestjson1_deserializeDocumentNeq(&sv.Neq, value); err != nil { return err } + case "notEquals": if err := awsRestjson1_deserializeDocumentNotEquals(&sv.NotEquals, value); err != nil { return err } + default: _, _ = key, value @@ -12048,6 +12226,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "__type": if value != nil { jtv, ok := value.(string) @@ -12056,6 +12235,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12095,6 +12275,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.ContainerRuntime = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12103,6 +12284,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Id = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -12111,6 +12293,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } + case "imagePrefix": if value != nil { jtv, ok := value.(string) @@ -12119,6 +12302,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.ImagePrefix = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12127,14 +12311,17 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } + case "securityContext": if err := awsRestjson1_deserializeDocumentSecurityContext(&sv.SecurityContext, value); err != nil { return err } + case "volumeMounts": if err := awsRestjson1_deserializeDocumentVolumeMounts(&sv.VolumeMounts, value); err != nil { return err } + default: _, _ = key, value @@ -12178,6 +12365,7 @@ func awsRestjson1_deserializeDocumentContainerInstanceDetails(v **types.Containe } sv.CompatibleContainerInstances = ptr.Int64(i64) } + case "coveredContainerInstances": if value != nil { jtv, ok := value.(json.Number) @@ -12190,6 +12378,7 @@ func awsRestjson1_deserializeDocumentContainerInstanceDetails(v **types.Containe } sv.CoveredContainerInstances = ptr.Int64(i64) } + default: _, _ = key, value @@ -12383,6 +12572,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryCode = ptr.String(jtv) } + case "countryName": if value != nil { jtv, ok := value.(string) @@ -12391,6 +12581,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryName = ptr.String(jtv) } + default: _, _ = key, value @@ -12426,6 +12617,7 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera if err := awsRestjson1_deserializeDocumentAgentDetails(&sv.AgentDetails, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -12434,6 +12626,7 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.ClusterArn = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -12442,6 +12635,7 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.InstanceId = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -12450,6 +12644,7 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.InstanceType = ptr.String(jtv) } + case "managementType": if value != nil { jtv, ok := value.(string) @@ -12458,6 +12653,7 @@ func awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(v **types.Covera } sv.ManagementType = types.ManagementType(jtv) } + default: _, _ = key, value @@ -12497,14 +12693,17 @@ func awsRestjson1_deserializeDocumentCoverageEcsClusterDetails(v **types.Coverag } sv.ClusterName = ptr.String(jtv) } + case "containerInstanceDetails": if err := awsRestjson1_deserializeDocumentContainerInstanceDetails(&sv.ContainerInstanceDetails, value); err != nil { return err } + case "fargateDetails": if err := awsRestjson1_deserializeDocumentFargateDetails(&sv.FargateDetails, value); err != nil { return err } + default: _, _ = key, value @@ -12540,6 +12739,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag if err := awsRestjson1_deserializeDocumentAddonDetails(&sv.AddonDetails, value); err != nil { return err } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -12548,6 +12748,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.ClusterName = ptr.String(jtv) } + case "compatibleNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12560,6 +12761,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.CompatibleNodes = ptr.Int64(i64) } + case "coveredNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12572,6 +12774,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.CoveredNodes = ptr.Int64(i64) } + case "managementType": if value != nil { jtv, ok := value.(string) @@ -12580,6 +12783,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag } sv.ManagementType = types.ManagementType(jtv) } + default: _, _ = key, value @@ -12619,6 +12823,7 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.AccountId = ptr.String(jtv) } + case "coverageStatus": if value != nil { jtv, ok := value.(string) @@ -12627,6 +12832,7 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.CoverageStatus = types.CoverageStatus(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -12635,6 +12841,7 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.DetectorId = ptr.String(jtv) } + case "issue": if value != nil { jtv, ok := value.(string) @@ -12643,10 +12850,12 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.Issue = ptr.String(jtv) } + case "resourceDetails": if err := awsRestjson1_deserializeDocumentCoverageResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12655,6 +12864,7 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } sv.ResourceId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -12670,6 +12880,7 @@ func awsRestjson1_deserializeDocumentCoverageResource(v **types.CoverageResource } } + default: _, _ = key, value @@ -12705,14 +12916,17 @@ func awsRestjson1_deserializeDocumentCoverageResourceDetails(v **types.CoverageR if err := awsRestjson1_deserializeDocumentCoverageEc2InstanceDetails(&sv.Ec2InstanceDetails, value); err != nil { return err } + case "ecsClusterDetails": if err := awsRestjson1_deserializeDocumentCoverageEcsClusterDetails(&sv.EcsClusterDetails, value); err != nil { return err } + case "eksClusterDetails": if err := awsRestjson1_deserializeDocumentCoverageEksClusterDetails(&sv.EksClusterDetails, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12721,6 +12935,7 @@ func awsRestjson1_deserializeDocumentCoverageResourceDetails(v **types.CoverageR } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -12790,10 +13005,12 @@ func awsRestjson1_deserializeDocumentCoverageStatistics(v **types.CoverageStatis if err := awsRestjson1_deserializeDocumentCountByCoverageStatus(&sv.CountByCoverageStatus, value); err != nil { return err } + case "countByResourceType": if err := awsRestjson1_deserializeDocumentCountByResourceType(&sv.CountByResourceType, value); err != nil { return err } + default: _, _ = key, value @@ -12829,6 +13046,7 @@ func awsRestjson1_deserializeDocumentCreateProtectedResource(v **types.CreatePro if err := awsRestjson1_deserializeDocumentCreateS3BucketResource(&sv.S3Bucket, value); err != nil { return err } + default: _, _ = key, value @@ -12868,10 +13086,12 @@ func awsRestjson1_deserializeDocumentCreateS3BucketResource(v **types.CreateS3Bu } sv.BucketName = ptr.String(jtv) } + case "objectPrefixes": if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanObjectPrefixesList(&sv.ObjectPrefixes, value); err != nil { return err } + default: _, _ = key, value @@ -12942,26 +13162,32 @@ func awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(v **types.Da if err := awsRestjson1_deserializeDocumentCloudTrailConfigurationResult(&sv.CloudTrail, value); err != nil { return err } + case "dnsLogs": if err := awsRestjson1_deserializeDocumentDNSLogsConfigurationResult(&sv.DNSLogs, value); err != nil { return err } + case "flowLogs": if err := awsRestjson1_deserializeDocumentFlowLogsConfigurationResult(&sv.FlowLogs, value); err != nil { return err } + case "kubernetes": if err := awsRestjson1_deserializeDocumentKubernetesConfigurationResult(&sv.Kubernetes, value); err != nil { return err } + case "malwareProtection": if err := awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } + case "s3Logs": if err := awsRestjson1_deserializeDocumentS3LogsConfigurationResult(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -13005,6 +13231,7 @@ func awsRestjson1_deserializeDocumentDataSourceFreeTrial(v **types.DataSourceFre } sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13040,26 +13267,32 @@ func awsRestjson1_deserializeDocumentDataSourcesFreeTrial(v **types.DataSourcesF if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.CloudTrail, value); err != nil { return err } + case "dnsLogs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.DnsLogs, value); err != nil { return err } + case "flowLogs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.FlowLogs, value); err != nil { return err } + case "kubernetes": if err := awsRestjson1_deserializeDocumentKubernetesDataSourceFreeTrial(&sv.Kubernetes, value); err != nil { return err } + case "malwareProtection": if err := awsRestjson1_deserializeDocumentMalwareProtectionDataSourceFreeTrial(&sv.MalwareProtection, value); err != nil { return err } + case "s3Logs": if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -13106,6 +13339,7 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } + case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -13121,6 +13355,7 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } + case "severity": if value != nil { switch jtv := value.(type) { @@ -13154,6 +13389,7 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } } + case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -13166,6 +13402,7 @@ func awsRestjson1_deserializeDocumentDateStatistics(v **types.DateStatistics, va } sv.TotalFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13205,6 +13442,7 @@ func awsRestjson1_deserializeDocumentDefaultServerSideEncryption(v **types.Defau } sv.EncryptionType = ptr.String(jtv) } + case "kmsMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -13213,6 +13451,7 @@ func awsRestjson1_deserializeDocumentDefaultServerSideEncryption(v **types.Defau } sv.KmsMasterKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13252,6 +13491,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationId = ptr.String(jtv) } + case "destinationType": if value != nil { jtv, ok := value.(string) @@ -13260,6 +13500,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.DestinationType = types.DestinationType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13268,6 +13509,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Status = types.PublishingStatus(jtv) } + default: _, _ = key, value @@ -13307,6 +13549,7 @@ func awsRestjson1_deserializeDocumentDestinationProperties(v **types.Destination } sv.DestinationArn = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -13315,6 +13558,7 @@ func awsRestjson1_deserializeDocumentDestinationProperties(v **types.Destination } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13384,6 +13628,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf if err := awsRestjson1_deserializeDocumentAnomaly(&sv.Anomaly, value); err != nil { return err } + default: _, _ = key, value @@ -13423,6 +13668,7 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } sv.Name = types.FeatureAdditionalConfiguration(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13431,6 +13677,7 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } sv.Status = types.FeatureStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13446,6 +13693,7 @@ func awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResult(v **t } } + default: _, _ = key, value @@ -13515,6 +13763,7 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type if err := awsRestjson1_deserializeDocumentDetectorAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13523,6 +13772,7 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } sv.Name = types.DetectorFeatureResult(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13531,6 +13781,7 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } sv.Status = types.FeatureStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13546,6 +13797,7 @@ func awsRestjson1_deserializeDocumentDetectorFeatureConfigurationResult(v **type } } + default: _, _ = key, value @@ -13655,6 +13907,7 @@ func awsRestjson1_deserializeDocumentDNSLogsConfigurationResult(v **types.DNSLog } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -13694,6 +13947,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Blocked = ptr.Bool(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -13702,6 +13956,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Domain = ptr.String(jtv) } + case "domainWithSuffix": if value != nil { jtv, ok := value.(string) @@ -13710,6 +13965,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.DomainWithSuffix = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13718,6 +13974,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -13757,6 +14014,7 @@ func awsRestjson1_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -13792,10 +14050,12 @@ func awsRestjson1_deserializeDocumentEbsVolumeDetails(v **types.EbsVolumeDetails if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.ScannedVolumeDetails, value); err != nil { return err } + case "skippedVolumeDetails": if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.SkippedVolumeDetails, value); err != nil { return err } + default: _, _ = key, value @@ -13842,10 +14102,12 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } } + case "scanDetections": if err := awsRestjson1_deserializeDocumentScanDetections(&sv.ScanDetections, value); err != nil { return err } + case "scanId": if value != nil { jtv, ok := value.(string) @@ -13854,6 +14116,7 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.ScanId = ptr.String(jtv) } + case "scanStartedAt": if value != nil { switch jtv := value.(type) { @@ -13869,6 +14132,7 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -13877,10 +14141,12 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.ScanType = types.ScanType(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "triggerFindingId": if value != nil { jtv, ok := value.(string) @@ -13889,6 +14155,7 @@ func awsRestjson1_deserializeDocumentEbsVolumeScanDetails(v **types.EbsVolumeSca } sv.TriggerFindingId = ptr.String(jtv) } + default: _, _ = key, value @@ -13928,6 +14195,7 @@ func awsRestjson1_deserializeDocumentEbsVolumesResult(v **types.EbsVolumesResult } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13936,6 +14204,7 @@ func awsRestjson1_deserializeDocumentEbsVolumesResult(v **types.EbsVolumesResult } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -13979,6 +14248,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.ActiveServicesCount = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13987,6 +14257,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13995,6 +14266,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Name = ptr.String(jtv) } + case "registeredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -14007,6 +14279,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } + case "runningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -14019,6 +14292,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.RunningTasksCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14027,14 +14301,17 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai } sv.Status = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "taskDetails": if err := awsRestjson1_deserializeDocumentEcsTaskDetails(&sv.TaskDetails, value); err != nil { return err } + default: _, _ = key, value @@ -14074,10 +14351,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Arn = ptr.String(jtv) } + case "containers": if err := awsRestjson1_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } + case "definitionArn": if value != nil { jtv, ok := value.(string) @@ -14086,6 +14365,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.DefinitionArn = ptr.String(jtv) } + case "group": if value != nil { jtv, ok := value.(string) @@ -14094,6 +14374,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Group = ptr.String(jtv) } + case "launchType": if value != nil { jtv, ok := value.(string) @@ -14102,6 +14383,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.LaunchType = ptr.String(jtv) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14117,6 +14399,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -14125,10 +14408,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.StartedBy = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14144,6 +14429,7 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } } + case "version": if value != nil { jtv, ok := value.(string) @@ -14152,10 +14438,12 @@ func awsRestjson1_deserializeDocumentEcsTaskDetails(v **types.EcsTaskDetails, va } sv.Version = ptr.String(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -14195,6 +14483,7 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14210,6 +14499,7 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14218,6 +14508,7 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14226,10 +14517,12 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.Status = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14238,6 +14531,7 @@ func awsRestjson1_deserializeDocumentEksClusterDetails(v **types.EksClusterDetai } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -14345,6 +14639,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac if err := awsRestjson1_deserializeDocumentThreatIntelligenceDetails(&sv.ThreatIntelligenceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -14380,6 +14675,7 @@ func awsRestjson1_deserializeDocumentFargateDetails(v **types.FargateDetails, va if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } + case "managementType": if value != nil { jtv, ok := value.(string) @@ -14388,6 +14684,7 @@ func awsRestjson1_deserializeDocumentFargateDetails(v **types.FargateDetails, va } sv.ManagementType = types.ManagementType(jtv) } + default: _, _ = key, value @@ -14497,6 +14794,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14505,6 +14803,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Arn = ptr.String(jtv) } + case "confidence": if value != nil { switch jtv := value.(type) { @@ -14538,6 +14837,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14546,6 +14846,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14554,6 +14855,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14562,6 +14864,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "partition": if value != nil { jtv, ok := value.(string) @@ -14570,6 +14873,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Partition = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -14578,10 +14882,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Region = ptr.String(jtv) } + case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -14590,10 +14896,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = ptr.String(jtv) } + case "service": if err := awsRestjson1_deserializeDocumentService(&sv.Service, value); err != nil { return err } + case "severity": if value != nil { switch jtv := value.(type) { @@ -14627,6 +14935,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "title": if value != nil { jtv, ok := value.(string) @@ -14635,6 +14944,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14643,6 +14953,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14651,6 +14962,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -14686,6 +14998,7 @@ func awsRestjson1_deserializeDocumentFindingCriteria(v **types.FindingCriteria, if err := awsRestjson1_deserializeDocumentCriterion(&sv.Criterion, value); err != nil { return err } + default: _, _ = key, value @@ -14791,26 +15104,32 @@ func awsRestjson1_deserializeDocumentFindingStatistics(v **types.FindingStatisti if err := awsRestjson1_deserializeDocumentCountBySeverity(&sv.CountBySeverity, value); err != nil { return err } + case "groupedByAccount": if err := awsRestjson1_deserializeDocumentGroupedByAccount(&sv.GroupedByAccount, value); err != nil { return err } + case "groupedByDate": if err := awsRestjson1_deserializeDocumentGroupedByDate(&sv.GroupedByDate, value); err != nil { return err } + case "groupedByFindingType": if err := awsRestjson1_deserializeDocumentGroupedByFindingType(&sv.GroupedByFindingType, value); err != nil { return err } + case "groupedByResource": if err := awsRestjson1_deserializeDocumentGroupedByResource(&sv.GroupedByResource, value); err != nil { return err } + case "groupedBySeverity": if err := awsRestjson1_deserializeDocumentGroupedBySeverity(&sv.GroupedBySeverity, value); err != nil { return err } + default: _, _ = key, value @@ -14850,6 +15169,7 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } sv.FindingType = ptr.String(jtv) } + case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -14865,6 +15185,7 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } } + case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -14877,6 +15198,7 @@ func awsRestjson1_deserializeDocumentFindingTypeStatistics(v **types.FindingType } sv.TotalFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14952,6 +15274,7 @@ func awsRestjson1_deserializeDocumentFlowLogsConfigurationResult(v **types.FlowL } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -14995,6 +15318,7 @@ func awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationResult(v **typ } sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15003,6 +15327,7 @@ func awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationResult(v **typ } sv.Name = types.FreeTrialFeatureResult(jtv) } + default: _, _ = key, value @@ -15101,6 +15426,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } + case "lon": if value != nil { switch jtv := value.(type) { @@ -15134,6 +15460,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } + default: _, _ = key, value @@ -15383,6 +15710,7 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.Count = ptr.Int32(int32(i64)) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -15391,6 +15719,7 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.Severity = ptr.String(jtv) } + case "threatName": if value != nil { jtv, ok := value.(string) @@ -15399,6 +15728,7 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High } sv.ThreatName = ptr.String(jtv) } + default: _, _ = key, value @@ -15438,6 +15768,7 @@ func awsRestjson1_deserializeDocumentHostPath(v **types.HostPath, value interfac } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -15477,6 +15808,7 @@ func awsRestjson1_deserializeDocumentIamInstanceProfile(v **types.IamInstancePro } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15485,6 +15817,7 @@ func awsRestjson1_deserializeDocumentIamInstanceProfile(v **types.IamInstancePro } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -15520,6 +15853,7 @@ func awsRestjson1_deserializeDocumentImpersonatedUser(v **types.ImpersonatedUser if err := awsRestjson1_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "username": if value != nil { jtv, ok := value.(string) @@ -15528,6 +15862,7 @@ func awsRestjson1_deserializeDocumentImpersonatedUser(v **types.ImpersonatedUser } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -15567,10 +15902,12 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.AvailabilityZone = ptr.String(jtv) } + case "iamInstanceProfile": if err := awsRestjson1_deserializeDocumentIamInstanceProfile(&sv.IamInstanceProfile, value); err != nil { return err } + case "imageDescription": if value != nil { jtv, ok := value.(string) @@ -15579,6 +15916,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.ImageDescription = ptr.String(jtv) } + case "imageId": if value != nil { jtv, ok := value.(string) @@ -15587,6 +15925,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.ImageId = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -15595,6 +15934,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceId = ptr.String(jtv) } + case "instanceState": if value != nil { jtv, ok := value.(string) @@ -15603,6 +15943,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceState = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -15611,6 +15952,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.InstanceType = ptr.String(jtv) } + case "launchTime": if value != nil { jtv, ok := value.(string) @@ -15619,10 +15961,12 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.LaunchTime = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "outpostArn": if value != nil { jtv, ok := value.(string) @@ -15631,6 +15975,7 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.OutpostArn = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -15639,14 +15984,17 @@ func awsRestjson1_deserializeDocumentInstanceDetails(v **types.InstanceDetails, } sv.Platform = ptr.String(jtv) } + case "productCodes": if err := awsRestjson1_deserializeDocumentProductCodes(&sv.ProductCodes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15686,6 +16034,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + case "__type": if value != nil { jtv, ok := value.(string) @@ -15694,6 +16043,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15733,6 +16083,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } + case "invitationId": if value != nil { jtv, ok := value.(string) @@ -15741,6 +16092,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -15749,6 +16101,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -15757,6 +16110,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.RelationshipStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -15938,6 +16292,7 @@ func awsRestjson1_deserializeDocumentItemPath(v **types.ItemPath, value interfac } sv.Hash = ptr.String(jtv) } + case "nestedItemPath": if value != nil { jtv, ok := value.(string) @@ -15946,6 +16301,7 @@ func awsRestjson1_deserializeDocumentItemPath(v **types.ItemPath, value interfac } sv.NestedItemPath = ptr.String(jtv) } + default: _, _ = key, value @@ -16019,6 +16375,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Namespace = ptr.String(jtv) } + case "parameters": if value != nil { jtv, ok := value.(string) @@ -16027,10 +16384,12 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Parameters = ptr.String(jtv) } + case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + case "requestUri": if value != nil { jtv, ok := value.(string) @@ -16039,6 +16398,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.RequestUri = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -16047,6 +16407,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Resource = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -16055,10 +16416,12 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.ResourceName = ptr.String(jtv) } + case "sourceIPs": if err := awsRestjson1_deserializeDocumentSourceIps(&sv.SourceIps, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(json.Number) @@ -16071,6 +16434,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.StatusCode = ptr.Int32(int32(i64)) } + case "subresource": if value != nil { jtv, ok := value.(string) @@ -16079,6 +16443,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Subresource = ptr.String(jtv) } + case "userAgent": if value != nil { jtv, ok := value.(string) @@ -16087,6 +16452,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.UserAgent = ptr.String(jtv) } + case "verb": if value != nil { jtv, ok := value.(string) @@ -16095,6 +16461,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete } sv.Verb = ptr.String(jtv) } + default: _, _ = key, value @@ -16134,6 +16501,7 @@ func awsRestjson1_deserializeDocumentKubernetesAuditLogsConfigurationResult(v ** } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -16169,6 +16537,7 @@ func awsRestjson1_deserializeDocumentKubernetesConfigurationResult(v **types.Kub if err := awsRestjson1_deserializeDocumentKubernetesAuditLogsConfigurationResult(&sv.AuditLogs, value); err != nil { return err } + default: _, _ = key, value @@ -16204,6 +16573,7 @@ func awsRestjson1_deserializeDocumentKubernetesDataSourceFreeTrial(v **types.Kub if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.AuditLogs, value); err != nil { return err } + default: _, _ = key, value @@ -16239,10 +16609,12 @@ func awsRestjson1_deserializeDocumentKubernetesDetails(v **types.KubernetesDetai if err := awsRestjson1_deserializeDocumentKubernetesUserDetails(&sv.KubernetesUserDetails, value); err != nil { return err } + case "kubernetesWorkloadDetails": if err := awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(&sv.KubernetesWorkloadDetails, value); err != nil { return err } + default: _, _ = key, value @@ -16282,6 +16654,7 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Allowed = ptr.Bool(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -16290,6 +16663,7 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Namespace = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -16298,6 +16672,7 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Resource = ptr.String(jtv) } + case "verb": if value != nil { jtv, ok := value.(string) @@ -16306,6 +16681,7 @@ func awsRestjson1_deserializeDocumentKubernetesPermissionCheckedDetails(v **type } sv.Verb = ptr.String(jtv) } + default: _, _ = key, value @@ -16345,6 +16721,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Kind = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16353,6 +16730,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Name = ptr.String(jtv) } + case "roleRefKind": if value != nil { jtv, ok := value.(string) @@ -16361,6 +16739,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.RoleRefKind = ptr.String(jtv) } + case "roleRefName": if value != nil { jtv, ok := value.(string) @@ -16369,6 +16748,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.RoleRefName = ptr.String(jtv) } + case "uid": if value != nil { jtv, ok := value.(string) @@ -16377,6 +16757,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleBindingDetails(v **types.Kube } sv.Uid = ptr.String(jtv) } + default: _, _ = key, value @@ -16416,6 +16797,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Kind = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16424,6 +16806,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Name = ptr.String(jtv) } + case "uid": if value != nil { jtv, ok := value.(string) @@ -16432,6 +16815,7 @@ func awsRestjson1_deserializeDocumentKubernetesRoleDetails(v **types.KubernetesR } sv.Uid = ptr.String(jtv) } + default: _, _ = key, value @@ -16467,14 +16851,17 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU if err := awsRestjson1_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "impersonatedUser": if err := awsRestjson1_deserializeDocumentImpersonatedUser(&sv.ImpersonatedUser, value); err != nil { return err } + case "sessionName": if err := awsRestjson1_deserializeDocumentSessionNameList(&sv.SessionName, value); err != nil { return err } + case "uid": if value != nil { jtv, ok := value.(string) @@ -16483,6 +16870,7 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU } sv.Uid = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -16491,6 +16879,7 @@ func awsRestjson1_deserializeDocumentKubernetesUserDetails(v **types.KubernetesU } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -16526,6 +16915,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne if err := awsRestjson1_deserializeDocumentContainers(&sv.Containers, value); err != nil { return err } + case "hostIPC": if value != nil { jtv, ok := value.(bool) @@ -16534,6 +16924,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostIPC = ptr.Bool(jtv) } + case "hostNetwork": if value != nil { jtv, ok := value.(bool) @@ -16542,6 +16933,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostNetwork = ptr.Bool(jtv) } + case "hostPID": if value != nil { jtv, ok := value.(bool) @@ -16550,6 +16942,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.HostPID = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16558,6 +16951,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -16566,6 +16960,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Namespace = ptr.String(jtv) } + case "serviceAccountName": if value != nil { jtv, ok := value.(string) @@ -16574,6 +16969,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.ServiceAccountName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16582,6 +16978,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Type = ptr.String(jtv) } + case "uid": if value != nil { jtv, ok := value.(string) @@ -16590,10 +16987,12 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne } sv.Uid = ptr.String(jtv) } + case "volumes": if err := awsRestjson1_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -16633,6 +17032,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.Description = ptr.String(jtv) } + case "functionArn": if value != nil { jtv, ok := value.(string) @@ -16641,6 +17041,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionArn = ptr.String(jtv) } + case "functionName": if value != nil { jtv, ok := value.(string) @@ -16649,6 +17050,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionName = ptr.String(jtv) } + case "functionVersion": if value != nil { jtv, ok := value.(string) @@ -16657,6 +17059,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.FunctionVersion = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16672,6 +17075,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -16680,6 +17084,7 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.RevisionId = ptr.String(jtv) } + case "role": if value != nil { jtv, ok := value.(string) @@ -16688,14 +17093,17 @@ func awsRestjson1_deserializeDocumentLambdaDetails(v **types.LambdaDetails, valu } sv.Role = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16773,6 +17181,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Euid = ptr.Int32(int32(i64)) } + case "executablePath": if value != nil { jtv, ok := value.(string) @@ -16781,6 +17190,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.ExecutablePath = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16789,6 +17199,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Name = ptr.String(jtv) } + case "namespacePid": if value != nil { jtv, ok := value.(json.Number) @@ -16801,6 +17212,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.NamespacePid = ptr.Int32(int32(i64)) } + case "parentUuid": if value != nil { jtv, ok := value.(string) @@ -16809,6 +17221,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.ParentUuid = ptr.String(jtv) } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -16821,6 +17234,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Pid = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -16836,6 +17250,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } } + case "userId": if value != nil { jtv, ok := value.(json.Number) @@ -16848,6 +17263,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.UserId = ptr.Int32(int32(i64)) } + case "uuid": if value != nil { jtv, ok := value.(string) @@ -16856,6 +17272,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu } sv.Uuid = ptr.String(jtv) } + default: _, _ = key, value @@ -16895,6 +17312,7 @@ func awsRestjson1_deserializeDocumentLocalIpDetails(v **types.LocalIpDetails, va } sv.IpAddressV4 = ptr.String(jtv) } + case "ipAddressV6": if value != nil { jtv, ok := value.(string) @@ -16903,6 +17321,7 @@ func awsRestjson1_deserializeDocumentLocalIpDetails(v **types.LocalIpDetails, va } sv.IpAddressV6 = ptr.String(jtv) } + default: _, _ = key, value @@ -16946,6 +17365,7 @@ func awsRestjson1_deserializeDocumentLocalPortDetails(v **types.LocalPortDetails } sv.Port = ptr.Int32(int32(i64)) } + case "portName": if value != nil { jtv, ok := value.(string) @@ -16954,6 +17374,7 @@ func awsRestjson1_deserializeDocumentLocalPortDetails(v **types.LocalPortDetails } sv.PortName = ptr.String(jtv) } + default: _, _ = key, value @@ -16993,6 +17414,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.Application = ptr.String(jtv) } + case "failedLoginAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17005,6 +17427,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.FailedLoginAttempts = ptr.Int32(int32(i64)) } + case "successfulLoginAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17017,6 +17440,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.SuccessfulLoginAttempts = ptr.Int32(int32(i64)) } + case "user": if value != nil { jtv, ok := value.(string) @@ -17025,6 +17449,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -17094,6 +17519,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(v **ty if err := awsRestjson1_deserializeDocumentScanEc2InstanceWithFindingsResult(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -17102,6 +17528,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(v **ty } sv.ServiceRole = ptr.String(jtv) } + default: _, _ = key, value @@ -17137,6 +17564,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionDataSourceFreeTrial(v **ty if err := awsRestjson1_deserializeDocumentDataSourceFreeTrial(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } + default: _, _ = key, value @@ -17172,6 +17600,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanActions(v **types.Malw if err := awsRestjson1_deserializeDocumentMalwareProtectionPlanTaggingAction(&sv.Tagging, value); err != nil { return err } + default: _, _ = key, value @@ -17281,6 +17710,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReason(v **types } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -17289,6 +17719,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanStatusReason(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17362,6 +17793,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanSummary(v **types.Malw } sv.MalwareProtectionPlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -17401,6 +17833,7 @@ func awsRestjson1_deserializeDocumentMalwareProtectionPlanTaggingAction(v **type } sv.Status = types.MalwareProtectionPlanTaggingActionStatus(jtv) } + default: _, _ = key, value @@ -17436,6 +17869,7 @@ func awsRestjson1_deserializeDocumentMalwareScanDetails(v **types.MalwareScanDet if err := awsRestjson1_deserializeDocumentThreats(&sv.Threats, value); err != nil { return err } + default: _, _ = key, value @@ -17509,6 +17943,7 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "invitationId": if value != nil { jtv, ok := value.(string) @@ -17517,6 +17952,7 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.InvitationId = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -17525,6 +17961,7 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.InvitedAt = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -17533,6 +17970,7 @@ func awsRestjson1_deserializeDocumentMaster(v **types.Master, value interface{}) } sv.RelationshipStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -17572,6 +18010,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "administratorId": if value != nil { jtv, ok := value.(string) @@ -17580,6 +18019,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorId = ptr.String(jtv) } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -17588,6 +18028,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.DetectorId = ptr.String(jtv) } + case "email": if value != nil { jtv, ok := value.(string) @@ -17596,6 +18037,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -17604,6 +18046,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.String(jtv) } + case "masterId": if value != nil { jtv, ok := value.(string) @@ -17612,6 +18055,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterId = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -17620,6 +18064,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -17628,6 +18073,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -17667,6 +18113,7 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17675,6 +18122,7 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } sv.Status = types.FeatureStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -17690,6 +18138,7 @@ func awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResult(v **typ } } + default: _, _ = key, value @@ -17763,14 +18212,17 @@ func awsRestjson1_deserializeDocumentMemberDataSourceConfiguration(v **types.Mem } sv.AccountId = ptr.String(jtv) } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigurationsResult(&sv.DataSources, value); err != nil { return err } + case "features": if err := awsRestjson1_deserializeDocumentMemberFeaturesConfigurationsResults(&sv.Features, value); err != nil { return err } + default: _, _ = key, value @@ -17840,6 +18292,7 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types if err := awsRestjson1_deserializeDocumentMemberAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -17848,6 +18301,7 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } sv.Name = types.OrgFeature(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17856,6 +18310,7 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } sv.Status = types.FeatureStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -17871,6 +18326,7 @@ func awsRestjson1_deserializeDocumentMemberFeaturesConfigurationResult(v **types } } + default: _, _ = key, value @@ -18050,6 +18506,7 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Blocked = ptr.Bool(jtv) } + case "connectionDirection": if value != nil { jtv, ok := value.(string) @@ -18058,10 +18515,12 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.ConnectionDirection = ptr.String(jtv) } + case "localIpDetails": if err := awsRestjson1_deserializeDocumentLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } + case "localNetworkInterface": if value != nil { jtv, ok := value.(string) @@ -18070,10 +18529,12 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.LocalNetworkInterface = ptr.String(jtv) } + case "localPortDetails": if err := awsRestjson1_deserializeDocumentLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -18082,14 +18543,17 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Protocol = ptr.String(jtv) } + case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + case "remotePortDetails": if err := awsRestjson1_deserializeDocumentRemotePortDetails(&sv.RemotePortDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18125,6 +18589,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIpv6Addresses(&sv.Ipv6Addresses, value); err != nil { return err } + case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -18133,6 +18598,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "privateDnsName": if value != nil { jtv, ok := value.(string) @@ -18141,6 +18607,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateDnsName = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -18149,10 +18616,12 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } + case "privateIpAddresses": if err := awsRestjson1_deserializeDocumentPrivateIpAddresses(&sv.PrivateIpAddresses, value); err != nil { return err } + case "publicDnsName": if value != nil { jtv, ok := value.(string) @@ -18161,6 +18630,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicDnsName = ptr.String(jtv) } + case "publicIp": if value != nil { jtv, ok := value.(string) @@ -18169,10 +18639,12 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIp = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -18181,6 +18653,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -18189,6 +18662,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -18294,6 +18768,7 @@ func awsRestjson1_deserializeDocumentObservations(v **types.Observations, value if err := awsRestjson1_deserializeDocumentObservationTexts(&sv.Text, value); err != nil { return err } + default: _, _ = key, value @@ -18369,6 +18844,7 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Asn = ptr.String(jtv) } + case "asnOrg": if value != nil { jtv, ok := value.(string) @@ -18377,6 +18853,7 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.AsnOrg = ptr.String(jtv) } + case "isp": if value != nil { jtv, ok := value.(string) @@ -18385,6 +18862,7 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Isp = ptr.String(jtv) } + case "org": if value != nil { jtv, ok := value.(string) @@ -18393,6 +18871,7 @@ func awsRestjson1_deserializeDocumentOrganization(v **types.Organization, value } sv.Org = ptr.String(jtv) } + default: _, _ = key, value @@ -18432,6 +18911,7 @@ func awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResult(v } sv.AutoEnable = types.OrgFeatureStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18440,6 +18920,7 @@ func awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResult(v } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } + default: _, _ = key, value @@ -18509,14 +18990,17 @@ func awsRestjson1_deserializeDocumentOrganizationDataSourceConfigurationsResult( if err := awsRestjson1_deserializeDocumentOrganizationKubernetesConfigurationResult(&sv.Kubernetes, value); err != nil { return err } + case "malwareProtection": if err := awsRestjson1_deserializeDocumentOrganizationMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } + case "s3Logs": if err := awsRestjson1_deserializeDocumentOrganizationS3LogsConfigurationResult(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -18552,6 +19036,7 @@ func awsRestjson1_deserializeDocumentOrganizationDetails(v **types.OrganizationD if err := awsRestjson1_deserializeDocumentOrganizationStatistics(&sv.OrganizationStatistics, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -18567,6 +19052,7 @@ func awsRestjson1_deserializeDocumentOrganizationDetails(v **types.OrganizationD } } + default: _, _ = key, value @@ -18606,6 +19092,7 @@ func awsRestjson1_deserializeDocumentOrganizationEbsVolumesResult(v **types.Orga } sv.AutoEnable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18641,6 +19128,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** if err := awsRestjson1_deserializeDocumentOrganizationAdditionalConfigurationResults(&sv.AdditionalConfiguration, value); err != nil { return err } + case "autoEnable": if value != nil { jtv, ok := value.(string) @@ -18649,6 +19137,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** } sv.AutoEnable = types.OrgFeatureStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18657,6 +19146,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureConfigurationResult(v ** } sv.Name = types.OrgFeature(jtv) } + default: _, _ = key, value @@ -18726,6 +19216,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org if err := awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConfigurations(&sv.AdditionalConfiguration, value); err != nil { return err } + case "enabledAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -18738,6 +19229,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18746,6 +19238,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatistics(v **types.Org } sv.Name = types.OrgFeature(jtv) } + default: _, _ = key, value @@ -18789,6 +19282,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConf } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18797,6 +19291,7 @@ func awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsAdditionalConf } sv.Name = types.OrgFeatureAdditionalConfiguration(jtv) } + default: _, _ = key, value @@ -18904,6 +19399,7 @@ func awsRestjson1_deserializeDocumentOrganizationKubernetesAuditLogsConfiguratio } sv.AutoEnable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18939,6 +19435,7 @@ func awsRestjson1_deserializeDocumentOrganizationKubernetesConfigurationResult(v if err := awsRestjson1_deserializeDocumentOrganizationKubernetesAuditLogsConfigurationResult(&sv.AuditLogs, value); err != nil { return err } + default: _, _ = key, value @@ -18974,6 +19471,7 @@ func awsRestjson1_deserializeDocumentOrganizationMalwareProtectionConfigurationR if err := awsRestjson1_deserializeDocumentOrganizationScanEc2InstanceWithFindingsResult(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } + default: _, _ = key, value @@ -19013,6 +19511,7 @@ func awsRestjson1_deserializeDocumentOrganizationS3LogsConfigurationResult(v **t } sv.AutoEnable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19048,6 +19547,7 @@ func awsRestjson1_deserializeDocumentOrganizationScanEc2InstanceWithFindingsResu if err := awsRestjson1_deserializeDocumentOrganizationEbsVolumesResult(&sv.EbsVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -19091,10 +19591,12 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.ActiveAccountsCount = ptr.Int32(int32(i64)) } + case "countByFeature": if err := awsRestjson1_deserializeDocumentOrganizationFeatureStatisticsResults(&sv.CountByFeature, value); err != nil { return err } + case "enabledAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19107,6 +19609,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.EnabledAccountsCount = ptr.Int32(int32(i64)) } + case "memberAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19119,6 +19622,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.MemberAccountsCount = ptr.Int32(int32(i64)) } + case "totalAccountsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19131,6 +19635,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatistics(v **types.Organizati } sv.TotalAccountsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19170,6 +19675,7 @@ func awsRestjson1_deserializeDocumentOwner(v **types.Owner, value interface{}) e } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -19205,10 +19711,12 @@ func awsRestjson1_deserializeDocumentPermissionConfiguration(v **types.Permissio if err := awsRestjson1_deserializeDocumentAccountLevelPermissions(&sv.AccountLevelPermissions, value); err != nil { return err } + case "bucketLevelPermissions": if err := awsRestjson1_deserializeDocumentBucketLevelPermissions(&sv.BucketLevelPermissions, value); err != nil { return err } + default: _, _ = key, value @@ -19248,10 +19756,12 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, } sv.Blocked = ptr.Bool(jtv) } + case "portProbeDetails": if err := awsRestjson1_deserializeDocumentPortProbeDetails(&sv.PortProbeDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19287,14 +19797,17 @@ func awsRestjson1_deserializeDocumentPortProbeDetail(v **types.PortProbeDetail, if err := awsRestjson1_deserializeDocumentLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } + case "localPortDetails": if err := awsRestjson1_deserializeDocumentLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } + case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19368,6 +19881,7 @@ func awsRestjson1_deserializeDocumentPrivateIpAddressDetails(v **types.PrivateIp } sv.PrivateDnsName = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -19376,6 +19890,7 @@ func awsRestjson1_deserializeDocumentPrivateIpAddressDetails(v **types.PrivateIp } sv.PrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -19453,6 +19968,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Euid = ptr.Int32(int32(i64)) } + case "executablePath": if value != nil { jtv, ok := value.(string) @@ -19461,6 +19977,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ExecutablePath = ptr.String(jtv) } + case "executableSha256": if value != nil { jtv, ok := value.(string) @@ -19469,10 +19986,12 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ExecutableSha256 = ptr.String(jtv) } + case "lineage": if err := awsRestjson1_deserializeDocumentLineage(&sv.Lineage, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -19481,6 +20000,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Name = ptr.String(jtv) } + case "namespacePid": if value != nil { jtv, ok := value.(json.Number) @@ -19493,6 +20013,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.NamespacePid = ptr.Int32(int32(i64)) } + case "parentUuid": if value != nil { jtv, ok := value.(string) @@ -19501,6 +20022,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ParentUuid = ptr.String(jtv) } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -19513,6 +20035,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pid = ptr.Int32(int32(i64)) } + case "pwd": if value != nil { jtv, ok := value.(string) @@ -19521,6 +20044,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pwd = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -19536,6 +20060,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } } + case "user": if value != nil { jtv, ok := value.(string) @@ -19544,6 +20069,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.User = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(json.Number) @@ -19556,6 +20082,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.UserId = ptr.Int32(int32(i64)) } + case "uuid": if value != nil { jtv, ok := value.(string) @@ -19564,6 +20091,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Uuid = ptr.String(jtv) } + default: _, _ = key, value @@ -19603,6 +20131,7 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.Code = ptr.String(jtv) } + case "productCodeType": if value != nil { jtv, ok := value.(string) @@ -19611,6 +20140,7 @@ func awsRestjson1_deserializeDocumentProductCode(v **types.ProductCode, value in } sv.ProductType = ptr.String(jtv) } + default: _, _ = key, value @@ -19684,10 +20214,12 @@ func awsRestjson1_deserializeDocumentPublicAccess(v **types.PublicAccess, value } sv.EffectivePermission = ptr.String(jtv) } + case "permissionConfiguration": if err := awsRestjson1_deserializeDocumentPermissionConfiguration(&sv.PermissionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19727,6 +20259,7 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbClusterIdentifier = ptr.String(jtv) } + case "dbInstanceArn": if value != nil { jtv, ok := value.(string) @@ -19735,6 +20268,7 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbInstanceArn = ptr.String(jtv) } + case "dbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -19743,6 +20277,7 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.DbInstanceIdentifier = ptr.String(jtv) } + case "engine": if value != nil { jtv, ok := value.(string) @@ -19751,6 +20286,7 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.Engine = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -19759,10 +20295,12 @@ func awsRestjson1_deserializeDocumentRdsDbInstanceDetails(v **types.RdsDbInstanc } sv.EngineVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19802,6 +20340,7 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Application = ptr.String(jtv) } + case "authMethod": if value != nil { jtv, ok := value.(string) @@ -19810,6 +20349,7 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.AuthMethod = ptr.String(jtv) } + case "database": if value != nil { jtv, ok := value.(string) @@ -19818,6 +20358,7 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Database = ptr.String(jtv) } + case "ssl": if value != nil { jtv, ok := value.(string) @@ -19826,6 +20367,7 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.Ssl = ptr.String(jtv) } + case "user": if value != nil { jtv, ok := value.(string) @@ -19834,6 +20376,7 @@ func awsRestjson1_deserializeDocumentRdsDbUserDetails(v **types.RdsDbUserDetails } sv.User = ptr.String(jtv) } + default: _, _ = key, value @@ -19869,10 +20412,12 @@ func awsRestjson1_deserializeDocumentRdsLoginAttemptAction(v **types.RdsLoginAtt if err := awsRestjson1_deserializeDocumentLoginAttributes(&sv.LoginAttributes, value); err != nil { return err } + case "remoteIpDetails": if err := awsRestjson1_deserializeDocumentRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19912,6 +20457,7 @@ func awsRestjson1_deserializeDocumentRemoteAccountDetails(v **types.RemoteAccoun } sv.AccountId = ptr.String(jtv) } + case "affiliated": if value != nil { jtv, ok := value.(bool) @@ -19920,6 +20466,7 @@ func awsRestjson1_deserializeDocumentRemoteAccountDetails(v **types.RemoteAccoun } sv.Affiliated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19955,14 +20502,17 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, if err := awsRestjson1_deserializeDocumentCity(&sv.City, value); err != nil { return err } + case "country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } + case "geoLocation": if err := awsRestjson1_deserializeDocumentGeoLocation(&sv.GeoLocation, value); err != nil { return err } + case "ipAddressV4": if value != nil { jtv, ok := value.(string) @@ -19971,6 +20521,7 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, } sv.IpAddressV4 = ptr.String(jtv) } + case "ipAddressV6": if value != nil { jtv, ok := value.(string) @@ -19979,10 +20530,12 @@ func awsRestjson1_deserializeDocumentRemoteIpDetails(v **types.RemoteIpDetails, } sv.IpAddressV6 = ptr.String(jtv) } + case "organization": if err := awsRestjson1_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } + default: _, _ = key, value @@ -20026,6 +20579,7 @@ func awsRestjson1_deserializeDocumentRemotePortDetails(v **types.RemotePortDetai } sv.Port = ptr.Int32(int32(i64)) } + case "portName": if value != nil { jtv, ok := value.(string) @@ -20034,6 +20588,7 @@ func awsRestjson1_deserializeDocumentRemotePortDetails(v **types.RemotePortDetai } sv.PortName = ptr.String(jtv) } + default: _, _ = key, value @@ -20069,42 +20624,52 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentAccessKeyDetails(&sv.AccessKeyDetails, value); err != nil { return err } + case "containerDetails": if err := awsRestjson1_deserializeDocumentContainer(&sv.ContainerDetails, value); err != nil { return err } + case "ebsVolumeDetails": if err := awsRestjson1_deserializeDocumentEbsVolumeDetails(&sv.EbsVolumeDetails, value); err != nil { return err } + case "ecsClusterDetails": if err := awsRestjson1_deserializeDocumentEcsClusterDetails(&sv.EcsClusterDetails, value); err != nil { return err } + case "eksClusterDetails": if err := awsRestjson1_deserializeDocumentEksClusterDetails(&sv.EksClusterDetails, value); err != nil { return err } + case "instanceDetails": if err := awsRestjson1_deserializeDocumentInstanceDetails(&sv.InstanceDetails, value); err != nil { return err } + case "kubernetesDetails": if err := awsRestjson1_deserializeDocumentKubernetesDetails(&sv.KubernetesDetails, value); err != nil { return err } + case "lambdaDetails": if err := awsRestjson1_deserializeDocumentLambdaDetails(&sv.LambdaDetails, value); err != nil { return err } + case "rdsDbInstanceDetails": if err := awsRestjson1_deserializeDocumentRdsDbInstanceDetails(&sv.RdsDbInstanceDetails, value); err != nil { return err } + case "rdsDbUserDetails": if err := awsRestjson1_deserializeDocumentRdsDbUserDetails(&sv.RdsDbUserDetails, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20113,10 +20678,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } + case "s3BucketDetails": if err := awsRestjson1_deserializeDocumentS3BucketDetails(&sv.S3BucketDetails, value); err != nil { return err } + default: _, _ = key, value @@ -20156,6 +20723,7 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.InstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20195,6 +20763,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "__type": if value != nil { jtv, ok := value.(string) @@ -20203,6 +20772,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20242,6 +20812,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.AccountId = ptr.String(jtv) } + case "lastGeneratedAt": if value != nil { switch jtv := value.(type) { @@ -20257,6 +20828,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20265,6 +20837,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20273,6 +20846,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.ResourceType = ptr.String(jtv) } + case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -20285,6 +20859,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20324,6 +20899,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.AddressFamily = ptr.String(jtv) } + case "commandLineExample": if value != nil { jtv, ok := value.(string) @@ -20332,6 +20908,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.CommandLineExample = ptr.String(jtv) } + case "fileSystemType": if value != nil { jtv, ok := value.(string) @@ -20340,10 +20917,12 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.FileSystemType = ptr.String(jtv) } + case "flags": if err := awsRestjson1_deserializeDocumentFlagsList(&sv.Flags, value); err != nil { return err } + case "ianaProtocolNumber": if value != nil { jtv, ok := value.(json.Number) @@ -20356,6 +20935,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.IanaProtocolNumber = ptr.Int32(int32(i64)) } + case "ldPreloadValue": if value != nil { jtv, ok := value.(string) @@ -20364,6 +20944,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.LdPreloadValue = ptr.String(jtv) } + case "libraryPath": if value != nil { jtv, ok := value.(string) @@ -20372,10 +20953,12 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.LibraryPath = ptr.String(jtv) } + case "memoryRegions": if err := awsRestjson1_deserializeDocumentMemoryRegionsList(&sv.MemoryRegions, value); err != nil { return err } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -20391,10 +20974,12 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } } + case "modifyingProcess": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.ModifyingProcess, value); err != nil { return err } + case "moduleFilePath": if value != nil { jtv, ok := value.(string) @@ -20403,6 +20988,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleFilePath = ptr.String(jtv) } + case "moduleName": if value != nil { jtv, ok := value.(string) @@ -20411,6 +20997,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleName = ptr.String(jtv) } + case "moduleSha256": if value != nil { jtv, ok := value.(string) @@ -20419,6 +21006,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ModuleSha256 = ptr.String(jtv) } + case "mountSource": if value != nil { jtv, ok := value.(string) @@ -20427,6 +21015,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.MountSource = ptr.String(jtv) } + case "mountTarget": if value != nil { jtv, ok := value.(string) @@ -20435,6 +21024,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.MountTarget = ptr.String(jtv) } + case "releaseAgentPath": if value != nil { jtv, ok := value.(string) @@ -20443,6 +21033,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ReleaseAgentPath = ptr.String(jtv) } + case "runcBinaryPath": if value != nil { jtv, ok := value.(string) @@ -20451,6 +21042,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.RuncBinaryPath = ptr.String(jtv) } + case "scriptPath": if value != nil { jtv, ok := value.(string) @@ -20459,6 +21051,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ScriptPath = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -20467,6 +21060,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ServiceName = ptr.String(jtv) } + case "shellHistoryFilePath": if value != nil { jtv, ok := value.(string) @@ -20475,6 +21069,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ShellHistoryFilePath = ptr.String(jtv) } + case "socketPath": if value != nil { jtv, ok := value.(string) @@ -20483,10 +21078,12 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.SocketPath = ptr.String(jtv) } + case "targetProcess": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.TargetProcess, value); err != nil { return err } + case "threatFilePath": if value != nil { jtv, ok := value.(string) @@ -20495,6 +21092,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ThreatFilePath = ptr.String(jtv) } + case "toolCategory": if value != nil { jtv, ok := value.(string) @@ -20503,6 +21101,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ToolCategory = ptr.String(jtv) } + case "toolName": if value != nil { jtv, ok := value.(string) @@ -20511,6 +21110,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va } sv.ToolName = ptr.String(jtv) } + default: _, _ = key, value @@ -20546,10 +21146,12 @@ func awsRestjson1_deserializeDocumentRuntimeDetails(v **types.RuntimeDetails, va if err := awsRestjson1_deserializeDocumentRuntimeContext(&sv.Context, value); err != nil { return err } + case "process": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.Process, value); err != nil { return err } + default: _, _ = key, value @@ -20589,6 +21191,7 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -20604,10 +21207,12 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } } + case "defaultServerSideEncryption": if err := awsRestjson1_deserializeDocumentDefaultServerSideEncryption(&sv.DefaultServerSideEncryption, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -20616,22 +21221,27 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Name = ptr.String(jtv) } + case "owner": if err := awsRestjson1_deserializeDocumentOwner(&sv.Owner, value); err != nil { return err } + case "publicAccess": if err := awsRestjson1_deserializeDocumentPublicAccess(&sv.PublicAccess, value); err != nil { return err } + case "s3ObjectDetails": if err := awsRestjson1_deserializeDocumentS3ObjectDetails(&sv.S3ObjectDetails, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -20640,6 +21250,7 @@ func awsRestjson1_deserializeDocumentS3BucketDetail(v **types.S3BucketDetail, va } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20713,6 +21324,7 @@ func awsRestjson1_deserializeDocumentS3LogsConfigurationResult(v **types.S3LogsC } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -20752,6 +21364,7 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.ETag = ptr.String(jtv) } + case "hash": if value != nil { jtv, ok := value.(string) @@ -20760,6 +21373,7 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.Hash = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -20768,6 +21382,7 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.Key = ptr.String(jtv) } + case "objectArn": if value != nil { jtv, ok := value.(string) @@ -20776,6 +21391,7 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.ObjectArn = ptr.String(jtv) } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -20784,6 +21400,7 @@ func awsRestjson1_deserializeDocumentS3ObjectDetail(v **types.S3ObjectDetail, va } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -20857,6 +21474,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.AccountId = ptr.String(jtv) } + case "adminDetectorId": if value != nil { jtv, ok := value.(string) @@ -20865,10 +21483,12 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.AdminDetectorId = ptr.String(jtv) } + case "attachedVolumes": if err := awsRestjson1_deserializeDocumentVolumeDetails(&sv.AttachedVolumes, value); err != nil { return err } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -20877,6 +21497,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.DetectorId = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -20885,6 +21506,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.FailureReason = ptr.String(jtv) } + case "fileCount": if value != nil { jtv, ok := value.(json.Number) @@ -20897,10 +21519,12 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.FileCount = ptr.Int64(i64) } + case "resourceDetails": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "scanEndTime": if value != nil { switch jtv := value.(type) { @@ -20916,6 +21540,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } } + case "scanId": if value != nil { jtv, ok := value.(string) @@ -20924,10 +21549,12 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanId = ptr.String(jtv) } + case "scanResultDetails": if err := awsRestjson1_deserializeDocumentScanResultDetails(&sv.ScanResultDetails, value); err != nil { return err } + case "scanStartTime": if value != nil { switch jtv := value.(type) { @@ -20943,6 +21570,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } } + case "scanStatus": if value != nil { jtv, ok := value.(string) @@ -20951,6 +21579,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanStatus = types.ScanStatus(jtv) } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -20959,6 +21588,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.ScanType = types.ScanType(jtv) } + case "totalBytes": if value != nil { jtv, ok := value.(json.Number) @@ -20971,10 +21601,12 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err } sv.TotalBytes = ptr.Int64(i64) } + case "triggerDetails": if err := awsRestjson1_deserializeDocumentTriggerDetails(&sv.TriggerDetails, value); err != nil { return err } + default: _, _ = key, value @@ -21010,6 +21642,7 @@ func awsRestjson1_deserializeDocumentScanCondition(v **types.ScanCondition, valu if err := awsRestjson1_deserializeDocumentMapEquals(&sv.MapEquals, value); err != nil { return err } + default: _, _ = key, value @@ -21049,6 +21682,7 @@ func awsRestjson1_deserializeDocumentScanConditionPair(v **types.ScanConditionPa } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -21057,6 +21691,7 @@ func awsRestjson1_deserializeDocumentScanConditionPair(v **types.ScanConditionPa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21127,18 +21762,22 @@ func awsRestjson1_deserializeDocumentScanDetections(v **types.ScanDetections, va if err := awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(&sv.HighestSeverityThreatDetails, value); err != nil { return err } + case "scannedItemCount": if err := awsRestjson1_deserializeDocumentScannedItemCount(&sv.ScannedItemCount, value); err != nil { return err } + case "threatDetectedByName": if err := awsRestjson1_deserializeDocumentThreatDetectedByName(&sv.ThreatDetectedByName, value); err != nil { return err } + case "threatsDetectedItemCount": if err := awsRestjson1_deserializeDocumentThreatsDetectedItemCount(&sv.ThreatsDetectedItemCount, value); err != nil { return err } + default: _, _ = key, value @@ -21174,6 +21813,7 @@ func awsRestjson1_deserializeDocumentScanEc2InstanceWithFindingsResult(v **types if err := awsRestjson1_deserializeDocumentEbsVolumesResult(&sv.EbsVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -21213,6 +21853,7 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.FileName = ptr.String(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -21221,6 +21862,7 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.FilePath = ptr.String(jtv) } + case "hash": if value != nil { jtv, ok := value.(string) @@ -21229,6 +21871,7 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.Hash = ptr.String(jtv) } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -21237,6 +21880,7 @@ func awsRestjson1_deserializeDocumentScanFilePath(v **types.ScanFilePath, value } sv.VolumeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -21280,6 +21924,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.Files = ptr.Int32(int32(i64)) } + case "totalGb": if value != nil { jtv, ok := value.(json.Number) @@ -21292,6 +21937,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.TotalGb = ptr.Int32(int32(i64)) } + case "volumes": if value != nil { jtv, ok := value.(json.Number) @@ -21304,6 +21950,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount } sv.Volumes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21339,10 +21986,12 @@ func awsRestjson1_deserializeDocumentScanResourceCriteria(v **types.ScanResource if err := awsRestjson1_deserializeDocumentScanCriterion(&sv.Exclude, value); err != nil { return err } + case "include": if err := awsRestjson1_deserializeDocumentScanCriterion(&sv.Include, value); err != nil { return err } + default: _, _ = key, value @@ -21382,6 +22031,7 @@ func awsRestjson1_deserializeDocumentScanResultDetails(v **types.ScanResultDetai } sv.ScanResult = types.ScanResult(jtv) } + default: _, _ = key, value @@ -21451,6 +22101,7 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va if err := awsRestjson1_deserializeDocumentFilePaths(&sv.FilePaths, value); err != nil { return err } + case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -21463,6 +22114,7 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.ItemCount = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21471,6 +22123,7 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.Name = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -21479,6 +22132,7 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va } sv.Severity = ptr.String(jtv) } + default: _, _ = key, value @@ -21552,6 +22206,7 @@ func awsRestjson1_deserializeDocumentSecurityContext(v **types.SecurityContext, } sv.AllowPrivilegeEscalation = ptr.Bool(jtv) } + case "privileged": if value != nil { jtv, ok := value.(bool) @@ -21560,6 +22215,7 @@ func awsRestjson1_deserializeDocumentSecurityContext(v **types.SecurityContext, } sv.Privileged = ptr.Bool(jtv) } + default: _, _ = key, value @@ -21599,6 +22255,7 @@ func awsRestjson1_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -21607,6 +22264,7 @@ func awsRestjson1_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -21676,10 +22334,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "additionalInfo": if err := awsRestjson1_deserializeDocumentServiceAdditionalInfo(&sv.AdditionalInfo, value); err != nil { return err } + case "archived": if value != nil { jtv, ok := value.(bool) @@ -21688,6 +22348,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Archived = ptr.Bool(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -21700,10 +22361,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Count = ptr.Int32(int32(i64)) } + case "detection": if err := awsRestjson1_deserializeDocumentDetection(&sv.Detection, value); err != nil { return err } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -21712,10 +22375,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.DetectorId = ptr.String(jtv) } + case "ebsVolumeScanDetails": if err := awsRestjson1_deserializeDocumentEbsVolumeScanDetails(&sv.EbsVolumeScanDetails, value); err != nil { return err } + case "eventFirstSeen": if value != nil { jtv, ok := value.(string) @@ -21724,6 +22389,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.EventFirstSeen = ptr.String(jtv) } + case "eventLastSeen": if value != nil { jtv, ok := value.(string) @@ -21732,10 +22398,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.EventLastSeen = ptr.String(jtv) } + case "evidence": if err := awsRestjson1_deserializeDocumentEvidence(&sv.Evidence, value); err != nil { return err } + case "featureName": if value != nil { jtv, ok := value.(string) @@ -21744,10 +22412,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.FeatureName = ptr.String(jtv) } + case "malwareScanDetails": if err := awsRestjson1_deserializeDocumentMalwareScanDetails(&sv.MalwareScanDetails, value); err != nil { return err } + case "resourceRole": if value != nil { jtv, ok := value.(string) @@ -21756,10 +22426,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ResourceRole = ptr.String(jtv) } + case "runtimeDetails": if err := awsRestjson1_deserializeDocumentRuntimeDetails(&sv.RuntimeDetails, value); err != nil { return err } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -21768,6 +22440,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceName = ptr.String(jtv) } + case "userFeedback": if value != nil { jtv, ok := value.(string) @@ -21776,6 +22449,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.UserFeedback = ptr.String(jtv) } + default: _, _ = key, value @@ -21815,6 +22489,7 @@ func awsRestjson1_deserializeDocumentServiceAdditionalInfo(v **types.ServiceAddi } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -21823,6 +22498,7 @@ func awsRestjson1_deserializeDocumentServiceAdditionalInfo(v **types.ServiceAddi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21905,6 +22581,7 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } } + case "severity": if value != nil { switch jtv := value.(type) { @@ -21938,6 +22615,7 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } } + case "totalFindings": if value != nil { jtv, ok := value.(json.Number) @@ -21950,6 +22628,7 @@ func awsRestjson1_deserializeDocumentSeverityStatistics(v **types.SeverityStatis } sv.TotalFindings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22097,6 +22776,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -22105,6 +22785,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22210,6 +22891,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) if err := awsRestjson1_deserializeDocumentItemPaths(&sv.ItemPaths, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -22218,6 +22900,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Name = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -22226,6 +22909,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -22269,6 +22953,7 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.ItemCount = ptr.Int32(int32(i64)) } + case "shortened": if value != nil { jtv, ok := value.(bool) @@ -22277,10 +22962,12 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.Shortened = ptr.Bool(jtv) } + case "threatNames": if err := awsRestjson1_deserializeDocumentScanThreatNames(&sv.ThreatNames, value); err != nil { return err } + case "uniqueThreatNameCount": if value != nil { jtv, ok := value.(json.Number) @@ -22293,6 +22980,7 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect } sv.UniqueThreatNameCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22332,6 +23020,7 @@ func awsRestjson1_deserializeDocumentThreatIntelligenceDetail(v **types.ThreatIn } sv.ThreatFileSha256 = ptr.String(jtv) } + case "threatListName": if value != nil { jtv, ok := value.(string) @@ -22340,10 +23029,12 @@ func awsRestjson1_deserializeDocumentThreatIntelligenceDetail(v **types.ThreatIn } sv.ThreatListName = ptr.String(jtv) } + case "threatNames": if err := awsRestjson1_deserializeDocumentThreatNames(&sv.ThreatNames, value); err != nil { return err } + default: _, _ = key, value @@ -22527,6 +23218,7 @@ func awsRestjson1_deserializeDocumentThreatsDetectedItemCount(v **types.ThreatsD } sv.Files = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22566,6 +23258,7 @@ func awsRestjson1_deserializeDocumentTotal(v **types.Total, value interface{}) e } sv.Amount = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -22574,6 +23267,7 @@ func awsRestjson1_deserializeDocumentTotal(v **types.Total, value interface{}) e } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -22613,6 +23307,7 @@ func awsRestjson1_deserializeDocumentTriggerDetails(v **types.TriggerDetails, va } sv.Description = ptr.String(jtv) } + case "guardDutyFindingId": if value != nil { jtv, ok := value.(string) @@ -22621,6 +23316,7 @@ func awsRestjson1_deserializeDocumentTriggerDetails(v **types.TriggerDetails, va } sv.GuardDutyFindingId = ptr.String(jtv) } + default: _, _ = key, value @@ -22660,6 +23356,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } + case "result": if value != nil { jtv, ok := value.(string) @@ -22668,6 +23365,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -22737,6 +23435,7 @@ func awsRestjson1_deserializeDocumentUnprocessedDataSourcesResult(v **types.Unpr if err := awsRestjson1_deserializeDocumentMalwareProtectionConfigurationResult(&sv.MalwareProtection, value); err != nil { return err } + default: _, _ = key, value @@ -22776,10 +23475,12 @@ func awsRestjson1_deserializeDocumentUsageAccountResult(v **types.UsageAccountRe } sv.AccountId = ptr.String(jtv) } + case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -22853,10 +23554,12 @@ func awsRestjson1_deserializeDocumentUsageDataSourceResult(v **types.UsageDataSo } sv.DataSource = types.DataSource(jtv) } + case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -22930,10 +23633,12 @@ func awsRestjson1_deserializeDocumentUsageFeatureResult(v **types.UsageFeatureRe } sv.Feature = types.UsageFeature(jtv) } + case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -23007,10 +23712,12 @@ func awsRestjson1_deserializeDocumentUsageResourceResult(v **types.UsageResource } sv.Resource = ptr.String(jtv) } + case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -23080,26 +23787,32 @@ func awsRestjson1_deserializeDocumentUsageStatistics(v **types.UsageStatistics, if err := awsRestjson1_deserializeDocumentUsageAccountResultList(&sv.SumByAccount, value); err != nil { return err } + case "sumByDataSource": if err := awsRestjson1_deserializeDocumentUsageDataSourceResultList(&sv.SumByDataSource, value); err != nil { return err } + case "sumByFeature": if err := awsRestjson1_deserializeDocumentUsageFeatureResultList(&sv.SumByFeature, value); err != nil { return err } + case "sumByResource": if err := awsRestjson1_deserializeDocumentUsageResourceResultList(&sv.SumByResource, value); err != nil { return err } + case "topAccountsByFeature": if err := awsRestjson1_deserializeDocumentUsageTopAccountsResultList(&sv.TopAccountsByFeature, value); err != nil { return err } + case "topResources": if err := awsRestjson1_deserializeDocumentUsageResourceResultList(&sv.TopResources, value); err != nil { return err } + default: _, _ = key, value @@ -23139,10 +23852,12 @@ func awsRestjson1_deserializeDocumentUsageTopAccountResult(v **types.UsageTopAcc } sv.AccountId = ptr.String(jtv) } + case "total": if err := awsRestjson1_deserializeDocumentTotal(&sv.Total, value); err != nil { return err } + default: _, _ = key, value @@ -23212,6 +23927,7 @@ func awsRestjson1_deserializeDocumentUsageTopAccountsResult(v **types.UsageTopAc if err := awsRestjson1_deserializeDocumentUsageTopAccountsByFeatureList(&sv.Accounts, value); err != nil { return err } + case "feature": if value != nil { jtv, ok := value.(string) @@ -23220,6 +23936,7 @@ func awsRestjson1_deserializeDocumentUsageTopAccountsResult(v **types.UsageTopAc } sv.Feature = types.UsageFeature(jtv) } + default: _, _ = key, value @@ -23289,6 +24006,7 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) if err := awsRestjson1_deserializeDocumentHostPath(&sv.HostPath, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -23297,6 +24015,7 @@ func awsRestjson1_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -23336,6 +24055,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.DeviceName = ptr.String(jtv) } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -23344,6 +24064,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.EncryptionType = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -23352,6 +24073,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.KmsKeyArn = ptr.String(jtv) } + case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -23360,6 +24082,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.SnapshotArn = ptr.String(jtv) } + case "volumeArn": if value != nil { jtv, ok := value.(string) @@ -23368,6 +24091,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeArn = ptr.String(jtv) } + case "volumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -23380,6 +24104,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -23388,6 +24113,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -23461,6 +24187,7 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.MountPath = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23469,6 +24196,7 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -23572,10 +24300,12 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -23584,6 +24314,7 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/health/deserializers.go b/service/health/deserializers.go index d10230a96b6..bcc6d95acf2 100644 --- a/service/health/deserializers.go +++ b/service/health/deserializers.go @@ -1681,6 +1681,7 @@ func awsAwsjson11_deserializeDocumentAccountEntityAggregate(v **types.AccountEnt } sv.AccountId = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -1693,10 +1694,12 @@ func awsAwsjson11_deserializeDocumentAccountEntityAggregate(v **types.AccountEnt } sv.Count = int32(i64) } + case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } + default: _, _ = key, value @@ -1806,6 +1809,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.AwsAccountId = ptr.String(jtv) } + case "entityArn": if value != nil { jtv, ok := value.(string) @@ -1814,6 +1818,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityArn = ptr.String(jtv) } + case "entityUrl": if value != nil { jtv, ok := value.(string) @@ -1822,6 +1827,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityUrl = ptr.String(jtv) } + case "entityValue": if value != nil { jtv, ok := value.(string) @@ -1830,6 +1836,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EntityValue = ptr.String(jtv) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -1838,6 +1845,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.EventArn = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1853,6 +1861,7 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -1861,10 +1870,12 @@ func awsAwsjson11_deserializeDocumentAffectedEntity(v **types.AffectedEntity, va } sv.StatusCode = types.EntityStatusCode(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagSet(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1904,6 +1915,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2117,6 +2129,7 @@ func awsAwsjson11_deserializeDocumentEntityAggregate(v **types.EntityAggregate, } sv.Count = int32(i64) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2125,10 +2138,12 @@ func awsAwsjson11_deserializeDocumentEntityAggregate(v **types.EntityAggregate, } sv.EventArn = ptr.String(jtv) } + case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } + default: _, _ = key, value @@ -2276,6 +2291,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2300,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.AvailabilityZone = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2299,6 +2316,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -2307,6 +2325,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventScopeCode = types.EventScopeCode(jtv) } + case "eventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -2315,6 +2334,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeCategory = types.EventTypeCategory(jtv) } + case "eventTypeCode": if value != nil { jtv, ok := value.(string) @@ -2323,6 +2343,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTypeCode = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2338,6 +2359,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "region": if value != nil { jtv, ok := value.(string) @@ -2346,6 +2368,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Region = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -2354,6 +2377,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Service = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -2369,6 +2393,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -2377,6 +2402,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.StatusCode = types.EventStatusCode(jtv) } + default: _, _ = key, value @@ -2416,6 +2442,7 @@ func awsAwsjson11_deserializeDocumentEventAggregate(v **types.EventAggregate, va } sv.AggregateValue = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -2428,6 +2455,7 @@ func awsAwsjson11_deserializeDocumentEventAggregate(v **types.EventAggregate, va } sv.Count = int32(i64) } + default: _, _ = key, value @@ -2501,6 +2529,7 @@ func awsAwsjson11_deserializeDocumentEventDescription(v **types.EventDescription } sv.LatestDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -2536,14 +2565,17 @@ func awsAwsjson11_deserializeDocumentEventDetails(v **types.EventDetails, value if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "eventDescription": if err := awsAwsjson11_deserializeDocumentEventDescription(&sv.EventDescription, value); err != nil { return err } + case "eventMetadata": if err := awsAwsjson11_deserializeDocumentEventMetadata(&sv.EventMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -2583,6 +2615,7 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.ErrorMessage = ptr.String(jtv) } + case "errorName": if value != nil { jtv, ok := value.(string) @@ -2591,6 +2624,7 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.ErrorName = ptr.String(jtv) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2633,7 @@ func awsAwsjson11_deserializeDocumentEventDetailsErrorItem(v **types.EventDetail } sv.EventArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2708,6 +2743,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Category = types.EventTypeCategory(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -2716,6 +2752,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Code = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -2724,6 +2761,7 @@ func awsAwsjson11_deserializeDocumentEventType(v **types.EventType, value interf } sv.Service = ptr.String(jtv) } + default: _, _ = key, value @@ -2797,6 +2835,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationToken(v **types.InvalidPag } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2836,6 +2875,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.AwsAccountId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2844,6 +2884,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.ErrorMessage = ptr.String(jtv) } + case "errorName": if value != nil { jtv, ok := value.(string) @@ -2852,6 +2893,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.ErrorName = ptr.String(jtv) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2860,6 +2902,7 @@ func awsAwsjson11_deserializeDocumentOrganizationAffectedEntitiesErrorItem(v **t } sv.EventArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2895,6 +2938,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ if err := awsAwsjson11_deserializeDocumentAccountEntityAggregatesList(&sv.Accounts, value); err != nil { return err } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -2907,6 +2951,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ } sv.Count = int32(i64) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -2915,10 +2960,12 @@ func awsAwsjson11_deserializeDocumentOrganizationEntityAggregate(v **types.Organ } sv.EventArn = ptr.String(jtv) } + case "statuses": if err := awsAwsjson11_deserializeDocumentEntityStatuses(&sv.Statuses, value); err != nil { return err } + default: _, _ = key, value @@ -2992,6 +3039,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Arn = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -3007,6 +3055,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } + case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -3015,6 +3064,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventScopeCode = types.EventScopeCode(jtv) } + case "eventTypeCategory": if value != nil { jtv, ok := value.(string) @@ -3023,6 +3073,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventTypeCategory = types.EventTypeCategory(jtv) } + case "eventTypeCode": if value != nil { jtv, ok := value.(string) @@ -3031,6 +3082,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.EventTypeCode = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3046,6 +3098,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } + case "region": if value != nil { jtv, ok := value.(string) @@ -3054,6 +3107,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Region = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -3062,6 +3116,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.Service = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3077,6 +3132,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -3085,6 +3141,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEvent(v **types.OrganizationEve } sv.StatusCode = types.EventStatusCode(jtv) } + default: _, _ = key, value @@ -3124,18 +3181,22 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetails(v **types.Organiza } sv.AwsAccountId = ptr.String(jtv) } + case "event": if err := awsAwsjson11_deserializeDocumentEvent(&sv.Event, value); err != nil { return err } + case "eventDescription": if err := awsAwsjson11_deserializeDocumentEventDescription(&sv.EventDescription, value); err != nil { return err } + case "eventMetadata": if err := awsAwsjson11_deserializeDocumentEventMetadata(&sv.EventMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -3175,6 +3236,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.AwsAccountId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3183,6 +3245,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "errorName": if value != nil { jtv, ok := value.(string) @@ -3191,6 +3254,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.ErrorName = ptr.String(jtv) } + case "eventArn": if value != nil { jtv, ok := value.(string) @@ -3199,6 +3263,7 @@ func awsAwsjson11_deserializeDocumentOrganizationEventDetailsErrorItem(v **types } sv.EventArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3308,6 +3373,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedLocale(v **types.UnsupportedLoca } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3343,6 +3409,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu if err := awsAwsjson11_deserializeDocumentAffectedAccountsList(&sv.AffectedAccounts, value); err != nil { return err } + case "eventScopeCode": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3418,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu } sv.EventScopeCode = types.EventScopeCode(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3359,6 +3427,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedAccountsForOrganizationOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3394,10 +3463,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesForOrganizationOu if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "failedSet": if err := awsAwsjson11_deserializeDocumentDescribeAffectedEntitiesForOrganizationFailedSet(&sv.FailedSet, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3406,6 +3477,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesForOrganizationOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3441,6 +3513,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3449,6 +3522,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAffectedEntitiesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3484,6 +3558,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityAggregatesForOrganizationOu if err := awsAwsjson11_deserializeDocumentOrganizationEntityAggregatesList(&sv.OrganizationEntityAggregates, value); err != nil { return err } + default: _, _ = key, value @@ -3519,6 +3594,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityAggregatesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentEntityAggregateList(&sv.EntityAggregates, value); err != nil { return err } + default: _, _ = key, value @@ -3554,6 +3630,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventAggregatesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEventAggregateList(&sv.EventAggregates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3562,6 +3639,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventAggregatesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3597,10 +3675,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventDetailsForOrganizationOutput if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsForOrganizationFailedSet(&sv.FailedSet, value); err != nil { return err } + case "successfulSet": if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsForOrganizationSuccessfulSet(&sv.SuccessfulSet, value); err != nil { return err } + default: _, _ = key, value @@ -3636,10 +3716,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventDetailsOutput(v **DescribeEv if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsFailedSet(&sv.FailedSet, value); err != nil { return err } + case "successfulSet": if err := awsAwsjson11_deserializeDocumentDescribeEventDetailsSuccessfulSet(&sv.SuccessfulSet, value); err != nil { return err } + default: _, _ = key, value @@ -3675,6 +3757,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsForOrganizationOutput(v **D if err := awsAwsjson11_deserializeDocumentOrganizationEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3683,6 +3766,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsForOrganizationOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3718,6 +3802,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3726,6 +3811,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3761,6 +3847,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTypesOutput(v **DescribeEven if err := awsAwsjson11_deserializeDocumentEventTypeList(&sv.EventTypes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3769,6 +3856,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTypesOutput(v **DescribeEven } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3808,6 +3896,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHealthServiceStatusForOrganizatio } sv.HealthServiceAccessStatusForOrganization = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/healthlake/deserializers.go b/service/healthlake/deserializers.go index 85d988262a9..2553519a663 100644 --- a/service/healthlake/deserializers.go +++ b/service/healthlake/deserializers.go @@ -1827,6 +1827,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1866,6 +1867,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1912,6 +1914,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } + case "DatastoreArn": if value != nil { jtv, ok := value.(string) @@ -1920,6 +1923,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreArn = ptr.String(jtv) } + case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -1928,6 +1932,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreEndpoint = ptr.String(jtv) } + case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -1936,6 +1941,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreId = ptr.String(jtv) } + case "DatastoreName": if value != nil { jtv, ok := value.(string) @@ -1944,6 +1950,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreName = ptr.String(jtv) } + case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -1952,6 +1959,7 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + case "DatastoreTypeVersion": if value != nil { jtv, ok := value.(string) @@ -1960,22 +1968,27 @@ func awsAwsjson10_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreTypeVersion = types.FHIRVersion(jtv) } + case "ErrorCause": if err := awsAwsjson10_deserializeDocumentErrorCause(&sv.ErrorCause, value); err != nil { return err } + case "IdentityProviderConfiguration": if err := awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(&sv.IdentityProviderConfiguration, value); err != nil { return err } + case "PreloadDataConfig": if err := awsAwsjson10_deserializeDocumentPreloadDataConfig(&sv.PreloadDataConfig, value); err != nil { return err } + case "SseConfiguration": if err := awsAwsjson10_deserializeDocumentSseConfiguration(&sv.SseConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2049,6 +2062,7 @@ func awsAwsjson10_deserializeDocumentErrorCause(v **types.ErrorCause, value inte } sv.ErrorCategory = types.ErrorCategory(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2057,6 +2071,7 @@ func awsAwsjson10_deserializeDocumentErrorCause(v **types.ErrorCause, value inte } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -2096,6 +2111,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -2104,6 +2120,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.DatastoreId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2119,6 +2136,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -2127,6 +2145,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -2135,6 +2154,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -2143,6 +2163,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -2151,10 +2172,12 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -2170,6 +2193,7 @@ func awsAwsjson10_deserializeDocumentExportJobProperties(v **types.ExportJobProp } } + default: _, _ = key, value @@ -2243,6 +2267,7 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.AuthorizationStrategy = types.AuthorizationStrategy(jtv) } + case "FineGrainedAuthorizationEnabled": if value != nil { jtv, ok := value.(bool) @@ -2251,6 +2276,7 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.FineGrainedAuthorizationEnabled = jtv } + case "IdpLambdaArn": if value != nil { jtv, ok := value.(string) @@ -2259,6 +2285,7 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.IdpLambdaArn = ptr.String(jtv) } + case "Metadata": if value != nil { jtv, ok := value.(string) @@ -2267,6 +2294,7 @@ func awsAwsjson10_deserializeDocumentIdentityProviderConfiguration(v **types.Ide } sv.Metadata = ptr.String(jtv) } + default: _, _ = key, value @@ -2306,6 +2334,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -2314,6 +2343,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.DatastoreId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2329,10 +2359,12 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } } + case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -2341,6 +2373,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -2349,14 +2382,17 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobName = ptr.String(jtv) } + case "JobOutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.JobOutputDataConfig, value); err != nil { return err } + case "JobProgressReport": if err := awsAwsjson10_deserializeDocumentJobProgressReport(&sv.JobProgressReport, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -2365,6 +2401,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -2373,6 +2410,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } sv.Message = ptr.String(jtv) } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -2388,6 +2426,7 @@ func awsAwsjson10_deserializeDocumentImportJobProperties(v **types.ImportJobProp } } + default: _, _ = key, value @@ -2503,6 +2542,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2567,6 +2607,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } } + case "TotalNumberOfFilesReadWithCustomerError": if value != nil { jtv, ok := value.(json.Number) @@ -2579,6 +2620,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfFilesReadWithCustomerError = ptr.Int64(i64) } + case "TotalNumberOfImportedFiles": if value != nil { jtv, ok := value.(json.Number) @@ -2591,6 +2633,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfImportedFiles = ptr.Int64(i64) } + case "TotalNumberOfResourcesImported": if value != nil { jtv, ok := value.(json.Number) @@ -2603,6 +2646,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesImported = ptr.Int64(i64) } + case "TotalNumberOfResourcesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -2615,6 +2659,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesScanned = ptr.Int64(i64) } + case "TotalNumberOfResourcesWithCustomerError": if value != nil { jtv, ok := value.(json.Number) @@ -2627,6 +2672,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfResourcesWithCustomerError = ptr.Int64(i64) } + case "TotalNumberOfScannedFiles": if value != nil { jtv, ok := value.(json.Number) @@ -2639,6 +2685,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } sv.TotalNumberOfScannedFiles = ptr.Int64(i64) } + case "TotalSizeOfScannedFilesInMB": if value != nil { switch jtv := value.(type) { @@ -2672,6 +2719,7 @@ func awsAwsjson10_deserializeDocumentJobProgressReport(v **types.JobProgressRepo } } + default: _, _ = key, value @@ -2711,6 +2759,7 @@ func awsAwsjson10_deserializeDocumentKmsEncryptionConfig(v **types.KmsEncryption } sv.CmkType = types.CmkType(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2719,6 +2768,7 @@ func awsAwsjson10_deserializeDocumentKmsEncryptionConfig(v **types.KmsEncryption } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -2798,6 +2848,7 @@ func awsAwsjson10_deserializeDocumentPreloadDataConfig(v **types.PreloadDataConf } sv.PreloadDataType = types.PreloadDataType(jtv) } + default: _, _ = key, value @@ -2837,6 +2888,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2876,6 +2928,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -2884,6 +2937,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -2919,6 +2973,7 @@ func awsAwsjson10_deserializeDocumentSseConfiguration(v **types.SseConfiguration if err := awsAwsjson10_deserializeDocumentKmsEncryptionConfig(&sv.KmsEncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2958,6 +3013,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2966,6 +3022,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3039,6 +3096,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3078,6 +3136,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3117,6 +3176,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreArn = ptr.String(jtv) } + case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -3125,6 +3185,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreEndpoint = ptr.String(jtv) } + case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -3133,6 +3194,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreId = ptr.String(jtv) } + case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3141,6 +3203,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFHIRDatastoreOutput(v **CreateFHIRD } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + default: _, _ = key, value @@ -3180,6 +3243,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreArn = ptr.String(jtv) } + case "DatastoreEndpoint": if value != nil { jtv, ok := value.(string) @@ -3188,6 +3252,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreEndpoint = ptr.String(jtv) } + case "DatastoreId": if value != nil { jtv, ok := value.(string) @@ -3196,6 +3261,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreId = ptr.String(jtv) } + case "DatastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3204,6 +3270,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFHIRDatastoreOutput(v **DeleteFHIRD } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + default: _, _ = key, value @@ -3239,6 +3306,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRDatastoreOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentDatastoreProperties(&sv.DatastoreProperties, value); err != nil { return err } + default: _, _ = key, value @@ -3274,6 +3342,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRExportJobOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentExportJobProperties(&sv.ExportJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -3309,6 +3378,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFHIRImportJobOutput(v **DescribeF if err := awsAwsjson10_deserializeDocumentImportJobProperties(&sv.ImportJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -3344,6 +3414,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRDatastoresOutput(v **ListFHIRData if err := awsAwsjson10_deserializeDocumentDatastorePropertiesList(&sv.DatastorePropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3352,6 +3423,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRDatastoresOutput(v **ListFHIRData } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3387,6 +3459,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRExportJobsOutput(v **ListFHIRExpo if err := awsAwsjson10_deserializeDocumentExportJobPropertiesList(&sv.ExportJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3395,6 +3468,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRExportJobsOutput(v **ListFHIRExpo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3430,6 +3504,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRImportJobsOutput(v **ListFHIRImpo if err := awsAwsjson10_deserializeDocumentImportJobPropertiesList(&sv.ImportJobPropertiesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3438,6 +3513,7 @@ func awsAwsjson10_deserializeOpDocumentListFHIRImportJobsOutput(v **ListFHIRImpo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3473,6 +3549,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3512,6 +3589,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.DatastoreId = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -3520,6 +3598,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3528,6 +3607,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRExportJobOutput(v **StartFHIRExp } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -3567,6 +3647,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.DatastoreId = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -3575,6 +3656,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -3583,6 +3665,7 @@ func awsAwsjson10_deserializeOpDocumentStartFHIRImportJobOutput(v **StartFHIRImp } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value diff --git a/service/identitystore/deserializers.go b/service/identitystore/deserializers.go index 3a61f9d0689..d1e4983a7f9 100644 --- a/service/identitystore/deserializers.go +++ b/service/identitystore/deserializers.go @@ -2680,6 +2680,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2688,6 +2689,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2727,6 +2729,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "Formatted": if value != nil { jtv, ok := value.(string) @@ -2735,6 +2738,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Formatted = ptr.String(jtv) } + case "Locality": if value != nil { jtv, ok := value.(string) @@ -2743,6 +2747,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Locality = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -2751,6 +2756,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "Primary": if value != nil { jtv, ok := value.(bool) @@ -2759,6 +2765,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Primary = jtv } + case "Region": if value != nil { jtv, ok := value.(string) @@ -2767,6 +2774,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Region = ptr.String(jtv) } + case "StreetAddress": if value != nil { jtv, ok := value.(string) @@ -2775,6 +2783,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StreetAddress = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2783,6 +2792,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2856,6 +2866,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2875,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2872,6 +2884,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2911,6 +2924,7 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Primary = jtv } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2919,6 +2933,7 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2927,6 +2942,7 @@ func awsAwsjson11_deserializeDocumentEmail(v **types.Email, value interface{}) e } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3000,6 +3016,7 @@ func awsAwsjson11_deserializeDocumentExternalId(v **types.ExternalId, value inte } sv.Id = ptr.String(jtv) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -3008,6 +3025,7 @@ func awsAwsjson11_deserializeDocumentExternalId(v **types.ExternalId, value inte } sv.Issuer = ptr.String(jtv) } + default: _, _ = key, value @@ -3081,6 +3099,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3089,10 +3108,12 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -3101,6 +3122,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3109,6 +3131,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.IdentityStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -3148,6 +3171,7 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3156,10 +3180,12 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.IdentityStoreId = ptr.String(jtv) } + case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } + case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -3168,6 +3194,7 @@ func awsAwsjson11_deserializeDocumentGroupMembership(v **types.GroupMembership, } sv.MembershipId = ptr.String(jtv) } + default: _, _ = key, value @@ -3207,10 +3234,12 @@ func awsAwsjson11_deserializeDocumentGroupMembershipExistenceResult(v **types.Gr } sv.GroupId = ptr.String(jtv) } + case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } + case "MembershipExists": if value != nil { jtv, ok := value.(bool) @@ -3219,6 +3248,7 @@ func awsAwsjson11_deserializeDocumentGroupMembershipExistenceResult(v **types.Gr } sv.MembershipExists = jtv } + default: _, _ = key, value @@ -3360,6 +3390,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3368,6 +3399,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3380,6 +3412,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -3461,6 +3494,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.FamilyName = ptr.String(jtv) } + case "Formatted": if value != nil { jtv, ok := value.(string) @@ -3469,6 +3503,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.Formatted = ptr.String(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3512,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.GivenName = ptr.String(jtv) } + case "HonorificPrefix": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3521,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.HonorificPrefix = ptr.String(jtv) } + case "HonorificSuffix": if value != nil { jtv, ok := value.(string) @@ -3493,6 +3530,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.HonorificSuffix = ptr.String(jtv) } + case "MiddleName": if value != nil { jtv, ok := value.(string) @@ -3501,6 +3539,7 @@ func awsAwsjson11_deserializeDocumentName(v **types.Name, value interface{}) err } sv.MiddleName = ptr.String(jtv) } + default: _, _ = key, value @@ -3540,6 +3579,7 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Primary = jtv } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3548,6 +3588,7 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3556,6 +3597,7 @@ func awsAwsjson11_deserializeDocumentPhoneNumber(v **types.PhoneNumber, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3629,6 +3671,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3637,6 +3680,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3645,6 +3689,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3653,6 +3698,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -3692,6 +3738,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3700,6 +3747,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3739,6 +3787,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3747,6 +3796,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3759,6 +3809,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -3794,6 +3845,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err if err := awsAwsjson11_deserializeDocumentAddresses(&sv.Addresses, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3802,14 +3854,17 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } + case "Emails": if err := awsAwsjson11_deserializeDocumentEmails(&sv.Emails, value); err != nil { return err } + case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -3818,6 +3873,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityStoreId = ptr.String(jtv) } + case "Locale": if value != nil { jtv, ok := value.(string) @@ -3826,10 +3882,12 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Locale = ptr.String(jtv) } + case "Name": if err := awsAwsjson11_deserializeDocumentName(&sv.Name, value); err != nil { return err } + case "NickName": if value != nil { jtv, ok := value.(string) @@ -3838,10 +3896,12 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.NickName = ptr.String(jtv) } + case "PhoneNumbers": if err := awsAwsjson11_deserializeDocumentPhoneNumbers(&sv.PhoneNumbers, value); err != nil { return err } + case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -3850,6 +3910,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PreferredLanguage = ptr.String(jtv) } + case "ProfileUrl": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3919,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ProfileUrl = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3928,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Timezone = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -3874,6 +3937,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Title = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -3882,6 +3946,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -3890,6 +3955,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } + case "UserType": if value != nil { jtv, ok := value.(string) @@ -3898,6 +3964,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserType = ptr.String(jtv) } + default: _, _ = key, value @@ -3971,6 +4038,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3979,6 +4047,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4018,6 +4087,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.IdentityStoreId = ptr.String(jtv) } + case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4026,6 +4096,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.MembershipId = ptr.String(jtv) } + default: _, _ = key, value @@ -4065,6 +4136,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4073,6 +4145,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.IdentityStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -4112,6 +4185,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.IdentityStoreId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -4120,6 +4194,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -4252,6 +4327,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4260,10 +4336,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.IdentityStoreId = ptr.String(jtv) } + case "MemberId": if err := awsAwsjson11_deserializeDocumentMemberId(&sv.MemberId, value); err != nil { return err } + case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4272,6 +4350,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.MembershipId = ptr.String(jtv) } + default: _, _ = key, value @@ -4311,6 +4390,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4319,10 +4399,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.DisplayName = ptr.String(jtv) } + case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -4331,6 +4413,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4339,6 +4422,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.IdentityStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -4374,6 +4458,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput if err := awsAwsjson11_deserializeDocumentAddresses(&sv.Addresses, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4382,14 +4467,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DisplayName = ptr.String(jtv) } + case "Emails": if err := awsAwsjson11_deserializeDocumentEmails(&sv.Emails, value); err != nil { return err } + case "ExternalIds": if err := awsAwsjson11_deserializeDocumentExternalIds(&sv.ExternalIds, value); err != nil { return err } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4398,6 +4486,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityStoreId = ptr.String(jtv) } + case "Locale": if value != nil { jtv, ok := value.(string) @@ -4406,10 +4495,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Locale = ptr.String(jtv) } + case "Name": if err := awsAwsjson11_deserializeDocumentName(&sv.Name, value); err != nil { return err } + case "NickName": if value != nil { jtv, ok := value.(string) @@ -4418,10 +4509,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.NickName = ptr.String(jtv) } + case "PhoneNumbers": if err := awsAwsjson11_deserializeDocumentPhoneNumbers(&sv.PhoneNumbers, value); err != nil { return err } + case "PreferredLanguage": if value != nil { jtv, ok := value.(string) @@ -4430,6 +4523,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.PreferredLanguage = ptr.String(jtv) } + case "ProfileUrl": if value != nil { jtv, ok := value.(string) @@ -4438,6 +4532,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ProfileUrl = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -4446,6 +4541,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Timezone = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -4454,6 +4550,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Title = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -4462,6 +4559,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -4470,6 +4568,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserName = ptr.String(jtv) } + case "UserType": if value != nil { jtv, ok := value.(string) @@ -4478,6 +4577,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserType = ptr.String(jtv) } + default: _, _ = key, value @@ -4517,6 +4617,7 @@ func awsAwsjson11_deserializeOpDocumentGetGroupIdOutput(v **GetGroupIdOutput, va } sv.GroupId = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -4525,6 +4626,7 @@ func awsAwsjson11_deserializeOpDocumentGetGroupIdOutput(v **GetGroupIdOutput, va } sv.IdentityStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -4564,6 +4666,7 @@ func awsAwsjson11_deserializeOpDocumentGetGroupMembershipIdOutput(v **GetGroupMe } sv.IdentityStoreId = ptr.String(jtv) } + case "MembershipId": if value != nil { jtv, ok := value.(string) @@ -4572,6 +4675,7 @@ func awsAwsjson11_deserializeOpDocumentGetGroupMembershipIdOutput(v **GetGroupMe } sv.MembershipId = ptr.String(jtv) } + default: _, _ = key, value @@ -4611,6 +4715,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserIdOutput(v **GetUserIdOutput, valu } sv.IdentityStoreId = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4724,7 @@ func awsAwsjson11_deserializeOpDocumentGetUserIdOutput(v **GetUserIdOutput, valu } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -4654,6 +4760,7 @@ func awsAwsjson11_deserializeOpDocumentIsMemberInGroupsOutput(v **IsMemberInGrou if err := awsAwsjson11_deserializeDocumentGroupMembershipExistenceResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -4689,6 +4796,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsForMemberOutput(v **L if err := awsAwsjson11_deserializeDocumentGroupMemberships(&sv.GroupMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4697,6 +4805,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsForMemberOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4732,6 +4841,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM if err := awsAwsjson11_deserializeDocumentGroupMemberships(&sv.GroupMemberships, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4740,6 +4850,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4775,6 +4886,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4783,6 +4895,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4822,10 +4935,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/imagebuilder/deserializers.go b/service/imagebuilder/deserializers.go index c5d8f8d9f16..b10a1003552 100644 --- a/service/imagebuilder/deserializers.go +++ b/service/imagebuilder/deserializers.go @@ -197,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.ClientToken = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -205,6 +206,7 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -213,6 +215,7 @@ func awsRestjson1_deserializeOpDocumentCancelImageCreationOutput(v **CancelImage } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -389,6 +392,7 @@ func awsRestjson1_deserializeOpDocumentCancelLifecycleExecutionOutput(v **Cancel } sv.LifecycleExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -574,6 +578,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.ClientToken = ptr.String(jtv) } + case "componentBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -582,6 +587,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -590,6 +596,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentOutput(v **CreateComponent } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -775,6 +782,7 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.ClientToken = ptr.String(jtv) } + case "containerRecipeArn": if value != nil { jtv, ok := value.(string) @@ -783,6 +791,7 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.ContainerRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -791,6 +800,7 @@ func awsRestjson1_deserializeOpDocumentCreateContainerRecipeOutput(v **CreateCon } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -976,6 +986,7 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.ClientToken = ptr.String(jtv) } + case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -984,6 +995,7 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -992,6 +1004,7 @@ func awsRestjson1_deserializeOpDocumentCreateDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1171,6 +1184,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ClientToken = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1193,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -1187,6 +1202,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1369,6 +1385,7 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.ClientToken = ptr.String(jtv) } + case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -1377,6 +1394,7 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.ImagePipelineArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -1385,6 +1403,7 @@ func awsRestjson1_deserializeOpDocumentCreateImagePipelineOutput(v **CreateImage } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1570,6 +1589,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.ClientToken = ptr.String(jtv) } + case "imageRecipeArn": if value != nil { jtv, ok := value.(string) @@ -1578,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.ImageRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -1586,6 +1607,7 @@ func awsRestjson1_deserializeOpDocumentCreateImageRecipeOutput(v **CreateImageRe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1768,6 +1790,7 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.ClientToken = ptr.String(jtv) } + case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1776,6 +1799,7 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -1784,6 +1808,7 @@ func awsRestjson1_deserializeOpDocumentCreateInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1966,6 +1991,7 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.ClientToken = ptr.String(jtv) } + case "lifecyclePolicyArn": if value != nil { jtv, ok := value.(string) @@ -1974,6 +2000,7 @@ func awsRestjson1_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif } sv.LifecyclePolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2159,6 +2186,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.ClientToken = ptr.String(jtv) } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -2167,6 +2195,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2340,6 +2369,7 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2348,6 +2378,7 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2521,6 +2552,7 @@ func awsRestjson1_deserializeOpDocumentDeleteContainerRecipeOutput(v **DeleteCon } sv.ContainerRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2529,6 +2561,7 @@ func awsRestjson1_deserializeOpDocumentDeleteContainerRecipeOutput(v **DeleteCon } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2702,6 +2735,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2710,6 +2744,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2883,6 +2918,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2891,6 +2927,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageOutput(v **DeleteImageOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3064,6 +3101,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImagePipelineOutput(v **DeleteImage } sv.ImagePipelineArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -3072,6 +3110,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImagePipelineOutput(v **DeleteImage } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3245,6 +3284,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageRecipeOutput(v **DeleteImageRe } sv.ImageRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -3253,6 +3293,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageRecipeOutput(v **DeleteImageRe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3426,6 +3467,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -3434,6 +3476,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3607,6 +3650,7 @@ func awsRestjson1_deserializeOpDocumentDeleteLifecyclePolicyOutput(v **DeleteLif } sv.LifecyclePolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3780,6 +3824,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3946,6 +3991,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -3954,6 +4000,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4124,6 +4171,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentPolicyOutput(v **GetComponent } sv.Policy = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -4132,6 +4180,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentPolicyOutput(v **GetComponent } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4298,6 +4347,7 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipeOutput(v **GetContainer if err := awsRestjson1_deserializeDocumentContainerRecipe(&sv.ContainerRecipe, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -4306,6 +4356,7 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipeOutput(v **GetContainer } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4476,6 +4527,7 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipePolicyOutput(v **GetCon } sv.Policy = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -4484,6 +4536,7 @@ func awsRestjson1_deserializeOpDocumentGetContainerRecipePolicyOutput(v **GetCon } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4650,6 +4703,7 @@ func awsRestjson1_deserializeOpDocumentGetDistributionConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentDistributionConfiguration(&sv.DistributionConfiguration, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -4658,6 +4712,7 @@ func awsRestjson1_deserializeOpDocumentGetDistributionConfigurationOutput(v **Ge } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4824,6 +4879,7 @@ func awsRestjson1_deserializeOpDocumentGetImageOutput(v **GetImageOutput, value if err := awsRestjson1_deserializeDocumentImage(&sv.Image, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -4832,6 +4888,7 @@ func awsRestjson1_deserializeOpDocumentGetImageOutput(v **GetImageOutput, value } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -4998,6 +5055,7 @@ func awsRestjson1_deserializeOpDocumentGetImagePipelineOutput(v **GetImagePipeli if err := awsRestjson1_deserializeDocumentImagePipeline(&sv.ImagePipeline, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5006,6 +5064,7 @@ func awsRestjson1_deserializeOpDocumentGetImagePipelineOutput(v **GetImagePipeli } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5176,6 +5235,7 @@ func awsRestjson1_deserializeOpDocumentGetImagePolicyOutput(v **GetImagePolicyOu } sv.Policy = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5184,6 +5244,7 @@ func awsRestjson1_deserializeOpDocumentGetImagePolicyOutput(v **GetImagePolicyOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5350,6 +5411,7 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipeOutput(v **GetImageRecipeOu if err := awsRestjson1_deserializeDocumentImageRecipe(&sv.ImageRecipe, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5358,6 +5420,7 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipeOutput(v **GetImageRecipeOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5528,6 +5591,7 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipePolicyOutput(v **GetImageRe } sv.Policy = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5536,6 +5600,7 @@ func awsRestjson1_deserializeOpDocumentGetImageRecipePolicyOutput(v **GetImageRe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5702,6 +5767,7 @@ func awsRestjson1_deserializeOpDocumentGetInfrastructureConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentInfrastructureConfiguration(&sv.InfrastructureConfiguration, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5710,6 +5776,7 @@ func awsRestjson1_deserializeOpDocumentGetInfrastructureConfigurationOutput(v ** } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5876,6 +5943,7 @@ func awsRestjson1_deserializeOpDocumentGetLifecycleExecutionOutput(v **GetLifecy if err := awsRestjson1_deserializeDocumentLifecycleExecution(&sv.LifecycleExecution, value); err != nil { return err } + default: _, _ = key, value @@ -6042,6 +6110,7 @@ func awsRestjson1_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle if err := awsRestjson1_deserializeDocumentLifecyclePolicy(&sv.LifecyclePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -6208,6 +6277,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, if err := awsRestjson1_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } + default: _, _ = key, value @@ -6378,6 +6448,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.EndTime = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6386,6 +6457,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6394,6 +6466,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Message = ptr.String(jtv) } + case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -6402,6 +6475,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.ParallelGroup = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -6410,6 +6484,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.RequestId = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6418,6 +6493,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6426,6 +6502,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Status = types.WorkflowExecutionStatus(jtv) } + case "totalStepCount": if value != nil { jtv, ok := value.(json.Number) @@ -6438,6 +6515,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepCount = int32(i64) } + case "totalStepsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -6450,6 +6528,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsFailed = int32(i64) } + case "totalStepsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -6462,6 +6541,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsSkipped = int32(i64) } + case "totalStepsSucceeded": if value != nil { jtv, ok := value.(json.Number) @@ -6474,6 +6554,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.TotalStepsSucceeded = int32(i64) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6482,6 +6563,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.Type = types.WorkflowType(jtv) } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6490,6 +6572,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -6498,6 +6581,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowExecutionOutput(v **GetWorkflo } sv.WorkflowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6668,6 +6752,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Action = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6761,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -6684,6 +6770,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.EndTime = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6692,6 +6779,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "inputs": if value != nil { jtv, ok := value.(string) @@ -6700,6 +6788,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Inputs = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -6708,6 +6797,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6716,6 +6806,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Name = ptr.String(jtv) } + case "onFailure": if value != nil { jtv, ok := value.(string) @@ -6724,6 +6815,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.OnFailure = ptr.String(jtv) } + case "outputs": if value != nil { jtv, ok := value.(string) @@ -6732,6 +6824,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Outputs = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -6740,6 +6833,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.RequestId = ptr.String(jtv) } + case "rollbackStatus": if value != nil { jtv, ok := value.(string) @@ -6748,6 +6842,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.RollbackStatus = types.WorkflowStepExecutionRollbackStatus(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6756,6 +6851,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6764,6 +6860,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.Status = types.WorkflowStepExecutionStatus(jtv) } + case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -6772,6 +6869,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.StepExecutionId = ptr.String(jtv) } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6784,6 +6882,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6792,6 +6891,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -6800,6 +6900,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepExecutionOutput(v **GetWor } sv.WorkflowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6982,6 +7083,7 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.ClientToken = ptr.String(jtv) } + case "componentBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -6990,6 +7092,7 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.ComponentBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -6998,6 +7101,7 @@ func awsRestjson1_deserializeOpDocumentImportComponentOutput(v **ImportComponent } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7159,6 +7263,7 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.ClientToken = ptr.String(jtv) } + case "imageArn": if value != nil { jtv, ok := value.(string) @@ -7167,6 +7272,7 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.ImageArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -7175,6 +7281,7 @@ func awsRestjson1_deserializeOpDocumentImportVmImageOutput(v **ImportVmImageOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7344,6 +7451,7 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.ComponentSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7352,6 +7460,7 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -7360,6 +7469,7 @@ func awsRestjson1_deserializeOpDocumentListComponentBuildVersionsOutput(v **List } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7529,6 +7639,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentVersionList(&sv.ComponentVersionList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7537,6 +7648,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -7545,6 +7657,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7714,6 +7827,7 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai if err := awsRestjson1_deserializeDocumentContainerRecipeSummaryList(&sv.ContainerRecipeSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7722,6 +7836,7 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -7730,6 +7845,7 @@ func awsRestjson1_deserializeOpDocumentListContainerRecipesOutput(v **ListContai } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7899,6 +8015,7 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** if err := awsRestjson1_deserializeDocumentDistributionConfigurationSummaryList(&sv.DistributionConfigurationSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7907,6 +8024,7 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -7915,6 +8033,7 @@ func awsRestjson1_deserializeOpDocumentListDistributionConfigurationsOutput(v ** } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8084,6 +8203,7 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag if err := awsRestjson1_deserializeDocumentImageSummaryList(&sv.ImageSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8092,6 +8212,7 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8100,6 +8221,7 @@ func awsRestjson1_deserializeOpDocumentListImageBuildVersionsOutput(v **ListImag } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8272,6 +8394,7 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack if err := awsRestjson1_deserializeDocumentImagePackageList(&sv.ImagePackageList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8280,6 +8403,7 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8288,6 +8412,7 @@ func awsRestjson1_deserializeOpDocumentListImagePackagesOutput(v **ListImagePack } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8460,6 +8585,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma if err := awsRestjson1_deserializeDocumentImageSummaryList(&sv.ImageSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8468,6 +8594,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8476,6 +8603,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelineImagesOutput(v **ListIma } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8645,6 +8773,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip if err := awsRestjson1_deserializeDocumentImagePipelineList(&sv.ImagePipelineList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8653,6 +8782,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8661,6 +8791,7 @@ func awsRestjson1_deserializeOpDocumentListImagePipelinesOutput(v **ListImagePip } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8830,6 +8961,7 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip if err := awsRestjson1_deserializeDocumentImageRecipeSummaryList(&sv.ImageRecipeSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8838,6 +8970,7 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -8846,6 +8979,7 @@ func awsRestjson1_deserializeOpDocumentListImageRecipesOutput(v **ListImageRecip } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9015,6 +9149,7 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsRestjson1_deserializeDocumentImageVersionList(&sv.ImageVersionList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9023,6 +9158,7 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9031,6 +9167,7 @@ func awsRestjson1_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9204,6 +9341,7 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.AggregationType = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9212,6 +9350,7 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9220,10 +9359,12 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingAggregationsOutput(v } sv.RequestId = ptr.String(jtv) } + case "responses": if err := awsRestjson1_deserializeDocumentImageScanFindingAggregationsList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -9393,6 +9534,7 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage if err := awsRestjson1_deserializeDocumentImageScanFindingsList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9401,6 +9543,7 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9409,6 +9552,7 @@ func awsRestjson1_deserializeOpDocumentListImageScanFindingsOutput(v **ListImage } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9578,6 +9722,7 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v if err := awsRestjson1_deserializeDocumentInfrastructureConfigurationSummaryList(&sv.InfrastructureConfigurationSummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9586,6 +9731,7 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9594,6 +9740,7 @@ func awsRestjson1_deserializeOpDocumentListInfrastructureConfigurationsOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9767,10 +9914,12 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionResourcesOutput(v * } sv.LifecycleExecutionId = ptr.String(jtv) } + case "lifecycleExecutionState": if err := awsRestjson1_deserializeDocumentLifecycleExecutionState(&sv.LifecycleExecutionState, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9779,10 +9928,12 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionResourcesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -9952,6 +10103,7 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionsOutput(v **ListLif if err := awsRestjson1_deserializeDocumentLifecycleExecutionsList(&sv.LifecycleExecutions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9960,6 +10112,7 @@ func awsRestjson1_deserializeOpDocumentListLifecycleExecutionsOutput(v **ListLif } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10129,6 +10282,7 @@ func awsRestjson1_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec if err := awsRestjson1_deserializeDocumentLifecyclePolicySummaryList(&sv.LifecyclePolicySummaryList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10137,6 +10291,7 @@ func awsRestjson1_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10294,6 +10449,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10467,10 +10623,12 @@ func awsRestjson1_deserializeOpDocumentListWaitingWorkflowStepsOutput(v **ListWa } sv.NextToken = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentWorkflowStepExecutionList(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -10644,10 +10802,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowBuildVersionsOutput(v **ListW } sv.NextToken = ptr.String(jtv) } + case "workflowSummaryList": if err := awsRestjson1_deserializeDocumentWorkflowSummaryList(&sv.WorkflowSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -10821,6 +10981,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -10829,6 +10990,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.Message = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10837,6 +10999,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10845,10 +11008,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowExecutionsOutput(v **ListWork } sv.RequestId = ptr.String(jtv) } + case "workflowExecutions": if err := awsRestjson1_deserializeDocumentWorkflowExecutionsList(&sv.WorkflowExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -11022,10 +11187,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + case "workflowVersionList": if err := awsRestjson1_deserializeDocumentWorkflowVersionList(&sv.WorkflowVersionList, value); err != nil { return err } + default: _, _ = key, value @@ -11199,6 +11366,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11207,6 +11375,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.Message = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11215,6 +11384,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11223,10 +11393,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.RequestId = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentWorkflowStepExecutionsList(&sv.Steps, value); err != nil { return err } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -11235,6 +11407,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -11243,6 +11416,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepExecutionsOutput(v **List } sv.WorkflowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -11419,6 +11593,7 @@ func awsRestjson1_deserializeOpDocumentPutComponentPolicyOutput(v **PutComponent } sv.ComponentArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11427,6 +11602,7 @@ func awsRestjson1_deserializeOpDocumentPutComponentPolicyOutput(v **PutComponent } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11603,6 +11779,7 @@ func awsRestjson1_deserializeOpDocumentPutContainerRecipePolicyOutput(v **PutCon } sv.ContainerRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11611,6 +11788,7 @@ func awsRestjson1_deserializeOpDocumentPutContainerRecipePolicyOutput(v **PutCon } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11787,6 +11965,7 @@ func awsRestjson1_deserializeOpDocumentPutImagePolicyOutput(v **PutImagePolicyOu } sv.ImageArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11795,6 +11974,7 @@ func awsRestjson1_deserializeOpDocumentPutImagePolicyOutput(v **PutImagePolicyOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11971,6 +12151,7 @@ func awsRestjson1_deserializeOpDocumentPutImageRecipePolicyOutput(v **PutImageRe } sv.ImageRecipeArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11979,6 +12160,7 @@ func awsRestjson1_deserializeOpDocumentPutImageRecipePolicyOutput(v **PutImageRe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12161,6 +12343,7 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.ClientToken = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -12169,6 +12352,7 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -12177,6 +12361,7 @@ func awsRestjson1_deserializeOpDocumentSendWorkflowStepActionOutput(v **SendWork } sv.StepExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -12356,6 +12541,7 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.ClientToken = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -12364,6 +12550,7 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12372,6 +12559,7 @@ func awsRestjson1_deserializeOpDocumentStartImagePipelineExecutionOutput(v **Sta } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12551,6 +12739,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceStateUpdateOutput(v **StartR } sv.LifecycleExecutionId = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -12559,6 +12748,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceStateUpdateOutput(v **StartR } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12926,6 +13116,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.ClientToken = ptr.String(jtv) } + case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -12934,6 +13125,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.DistributionConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12942,6 +13134,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDistributionConfigurationOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13118,6 +13311,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.ClientToken = ptr.String(jtv) } + case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -13126,6 +13320,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.ImagePipelineArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13134,6 +13329,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImagePipelineOutput(v **UpdateImage } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13310,6 +13506,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.ClientToken = ptr.String(jtv) } + case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -13318,6 +13515,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.InfrastructureConfigurationArn = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13326,6 +13524,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInfrastructureConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13505,6 +13704,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLifecyclePolicyOutput(v **UpdateLif } sv.LifecyclePolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14156,10 +14356,12 @@ func awsRestjson1_deserializeDocumentAccountAggregation(v **types.AccountAggrega } sv.AccountId = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -14231,6 +14433,7 @@ func awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(v **types.A if err := awsRestjson1_deserializeDocumentSystemsManagerAgent(&sv.SystemsManagerAgent, value); err != nil { return err } + case "userDataOverride": if value != nil { jtv, ok := value.(string) @@ -14239,6 +14442,7 @@ func awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(v **types.A } sv.UserDataOverride = ptr.String(jtv) } + default: _, _ = key, value @@ -14278,6 +14482,7 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.AccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14286,6 +14491,7 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Description = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14500,7 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Image = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14509,7 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Name = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -14310,10 +14518,12 @@ func awsRestjson1_deserializeDocumentAmi(v **types.Ami, value interface{}) error } sv.Region = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -14349,6 +14559,7 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD if err := awsRestjson1_deserializeDocumentTagMap(&sv.AmiTags, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -14357,6 +14568,7 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.Description = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14365,10 +14577,12 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.KmsKeyId = ptr.String(jtv) } + case "launchPermission": if err := awsRestjson1_deserializeDocumentLaunchPermissionConfiguration(&sv.LaunchPermission, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14377,10 +14591,12 @@ func awsRestjson1_deserializeDocumentAmiDistributionConfiguration(v **types.AmiD } sv.Name = ptr.String(jtv) } + case "targetAccountIds": if err := awsRestjson1_deserializeDocumentAccountList(&sv.TargetAccountIds, value); err != nil { return err } + default: _, _ = key, value @@ -14454,6 +14670,7 @@ func awsRestjson1_deserializeDocumentCallRateLimitExceededException(v **types.Ca } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14493,6 +14710,7 @@ func awsRestjson1_deserializeDocumentClientException(v **types.ClientException, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14532,6 +14750,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } + case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -14540,6 +14759,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ChangeDescription = ptr.String(jtv) } + case "data": if value != nil { jtv, ok := value.(string) @@ -14548,6 +14768,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Data = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -14556,6 +14777,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14564,6 +14786,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Description = ptr.String(jtv) } + case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -14572,6 +14795,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Encrypted = ptr.Bool(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14580,6 +14804,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14588,6 +14813,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } + case "obfuscate": if value != nil { jtv, ok := value.(bool) @@ -14596,6 +14822,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Obfuscate = jtv } + case "owner": if value != nil { jtv, ok := value.(string) @@ -14604,10 +14831,12 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Owner = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentComponentParameterDetailList(&sv.Parameters, value); err != nil { return err } + case "platform": if value != nil { jtv, ok := value.(string) @@ -14616,6 +14845,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Platform = types.Platform(jtv) } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -14624,18 +14854,22 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Publisher = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentComponentState(&sv.State, value); err != nil { return err } + case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -14644,6 +14878,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Type = types.ComponentType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -14652,6 +14887,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14691,10 +14927,12 @@ func awsRestjson1_deserializeDocumentComponentConfiguration(v **types.ComponentC } sv.ComponentArn = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentComponentParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -14768,10 +15006,12 @@ func awsRestjson1_deserializeDocumentComponentParameter(v **types.ComponentParam } sv.Name = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentComponentParameterValueList(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -14807,6 +15047,7 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen if err := awsRestjson1_deserializeDocumentComponentParameterValueList(&sv.DefaultValue, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -14815,6 +15056,7 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14823,6 +15065,7 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14831,6 +15074,7 @@ func awsRestjson1_deserializeDocumentComponentParameterDetail(v **types.Componen } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14974,6 +15218,7 @@ func awsRestjson1_deserializeDocumentComponentState(v **types.ComponentState, va } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14982,6 +15227,7 @@ func awsRestjson1_deserializeDocumentComponentState(v **types.ComponentState, va } sv.Status = types.ComponentStatus(jtv) } + default: _, _ = key, value @@ -15021,6 +15267,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } + case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -15029,6 +15276,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ChangeDescription = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15037,6 +15285,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15045,6 +15294,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15053,6 +15303,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } + case "obfuscate": if value != nil { jtv, ok := value.(bool) @@ -15061,6 +15312,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Obfuscate = jtv } + case "owner": if value != nil { jtv, ok := value.(string) @@ -15069,6 +15321,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Owner = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -15077,6 +15330,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Platform = types.Platform(jtv) } + case "publisher": if value != nil { jtv, ok := value.(string) @@ -15085,18 +15339,22 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Publisher = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentComponentState(&sv.State, value); err != nil { return err } + case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15105,6 +15363,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Type = types.ComponentType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15113,6 +15372,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15186,6 +15446,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15194,6 +15455,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15202,6 +15464,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15210,6 +15473,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -15218,6 +15482,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Owner = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -15226,10 +15491,12 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Platform = types.Platform(jtv) } + case "supportedOsVersions": if err := awsRestjson1_deserializeDocumentOsVersionList(&sv.SupportedOsVersions, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15238,6 +15505,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Type = types.ComponentType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15246,6 +15514,7 @@ func awsRestjson1_deserializeDocumentComponentVersion(v **types.ComponentVersion } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15315,6 +15584,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageUris, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -15323,6 +15593,7 @@ func awsRestjson1_deserializeDocumentContainer(v **types.Container, value interf } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -15358,6 +15629,7 @@ func awsRestjson1_deserializeDocumentContainerDistributionConfiguration(v **type if err := awsRestjson1_deserializeDocumentStringList(&sv.ContainerTags, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -15366,10 +15638,12 @@ func awsRestjson1_deserializeDocumentContainerDistributionConfiguration(v **type } sv.Description = ptr.String(jtv) } + case "targetRepository": if err := awsRestjson1_deserializeDocumentTargetContainerRepository(&sv.TargetRepository, value); err != nil { return err } + default: _, _ = key, value @@ -15443,10 +15717,12 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Arn = ptr.String(jtv) } + case "components": if err := awsRestjson1_deserializeDocumentComponentConfigurationList(&sv.Components, value); err != nil { return err } + case "containerType": if value != nil { jtv, ok := value.(string) @@ -15455,6 +15731,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.ContainerType = types.ContainerType(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15463,6 +15740,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15471,6 +15749,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Description = ptr.String(jtv) } + case "dockerfileTemplateData": if value != nil { jtv, ok := value.(string) @@ -15479,6 +15758,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.DockerfileTemplateData = ptr.String(jtv) } + case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -15487,10 +15767,12 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Encrypted = ptr.Bool(jtv) } + case "instanceConfiguration": if err := awsRestjson1_deserializeDocumentInstanceConfiguration(&sv.InstanceConfiguration, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15499,6 +15781,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15507,6 +15790,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -15515,6 +15799,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Owner = ptr.String(jtv) } + case "parentImage": if value != nil { jtv, ok := value.(string) @@ -15523,6 +15808,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.ParentImage = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -15531,14 +15817,17 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Platform = types.Platform(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetRepository": if err := awsRestjson1_deserializeDocumentTargetContainerRepository(&sv.TargetRepository, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -15547,6 +15836,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.Version = ptr.String(jtv) } + case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -15555,6 +15845,7 @@ func awsRestjson1_deserializeDocumentContainerRecipe(v **types.ContainerRecipe, } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -15594,6 +15885,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Arn = ptr.String(jtv) } + case "containerType": if value != nil { jtv, ok := value.(string) @@ -15602,6 +15894,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.ContainerType = types.ContainerType(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -15610,6 +15903,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.DateCreated = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15618,6 +15912,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -15626,6 +15921,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Owner = ptr.String(jtv) } + case "parentImage": if value != nil { jtv, ok := value.(string) @@ -15634,6 +15930,7 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.ParentImage = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -15642,10 +15939,12 @@ func awsRestjson1_deserializeDocumentContainerRecipeSummary(v **types.ContainerR } sv.Platform = types.Platform(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15744,6 +16043,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -15752,6 +16052,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -15760,6 +16061,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15768,6 +16070,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15807,6 +16110,7 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -15815,6 +16119,7 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -15884,6 +16189,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsRestjson1_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } + case "cvssSource": if value != nil { jtv, ok := value.(string) @@ -15892,6 +16198,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.CvssSource = ptr.String(jtv) } + case "score": if value != nil { switch jtv := value.(type) { @@ -15925,6 +16232,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } + case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -15933,6 +16241,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -15941,6 +16250,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -15949,6 +16259,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -16018,22 +16329,27 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value if err := awsRestjson1_deserializeDocumentAmiDistributionConfiguration(&sv.AmiDistributionConfiguration, value); err != nil { return err } + case "containerDistributionConfiguration": if err := awsRestjson1_deserializeDocumentContainerDistributionConfiguration(&sv.ContainerDistributionConfiguration, value); err != nil { return err } + case "fastLaunchConfigurations": if err := awsRestjson1_deserializeDocumentFastLaunchConfigurationList(&sv.FastLaunchConfigurations, value); err != nil { return err } + case "launchTemplateConfigurations": if err := awsRestjson1_deserializeDocumentLaunchTemplateConfigurationList(&sv.LaunchTemplateConfigurations, value); err != nil { return err } + case "licenseConfigurationArns": if err := awsRestjson1_deserializeDocumentLicenseConfigurationArnList(&sv.LicenseConfigurationArns, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -16042,10 +16358,12 @@ func awsRestjson1_deserializeDocumentDistribution(v **types.Distribution, value } sv.Region = ptr.String(jtv) } + case "s3ExportConfiguration": if err := awsRestjson1_deserializeDocumentS3ExportConfiguration(&sv.S3ExportConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16085,6 +16403,7 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -16093,6 +16412,7 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.DateCreated = ptr.String(jtv) } + case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -16101,6 +16421,7 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.DateUpdated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16109,10 +16430,12 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Description = ptr.String(jtv) } + case "distributions": if err := awsRestjson1_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16121,10 +16444,12 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "timeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -16137,6 +16462,7 @@ func awsRestjson1_deserializeDocumentDistributionConfiguration(v **types.Distrib } sv.TimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16176,6 +16502,7 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -16184,6 +16511,7 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.DateCreated = ptr.String(jtv) } + case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -16192,6 +16520,7 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.DateUpdated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16200,6 +16529,7 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16208,14 +16538,17 @@ func awsRestjson1_deserializeDocumentDistributionConfigurationSummary(v **types. } sv.Name = ptr.String(jtv) } + case "regions": if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16323,6 +16656,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -16331,6 +16665,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Encrypted = ptr.Bool(jtv) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -16343,6 +16678,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Iops = ptr.Int32(int32(i64)) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -16351,6 +16687,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.KmsKeyId = ptr.String(jtv) } + case "snapshotId": if value != nil { jtv, ok := value.(string) @@ -16359,6 +16696,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.SnapshotId = ptr.String(jtv) } + case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16371,6 +16709,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.Throughput = ptr.Int32(int32(i64)) } + case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -16383,6 +16722,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -16391,6 +16731,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(v **typ } sv.VolumeType = types.EbsVolumeType(jtv) } + default: _, _ = key, value @@ -16426,6 +16767,7 @@ func awsRestjson1_deserializeDocumentEcrConfiguration(v **types.EcrConfiguration if err := awsRestjson1_deserializeDocumentStringList(&sv.ContainerTags, value); err != nil { return err } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -16434,6 +16776,7 @@ func awsRestjson1_deserializeDocumentEcrConfiguration(v **types.EcrConfiguration } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -16473,6 +16816,7 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.AccountId = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -16481,10 +16825,12 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.Enabled = jtv } + case "launchTemplate": if err := awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } + case "maxParallelLaunches": if value != nil { jtv, ok := value.(json.Number) @@ -16497,10 +16843,12 @@ func awsRestjson1_deserializeDocumentFastLaunchConfiguration(v **types.FastLaunc } sv.MaxParallelLaunches = ptr.Int32(int32(i64)) } + case "snapshotConfiguration": if err := awsRestjson1_deserializeDocumentFastLaunchSnapshotConfiguration(&sv.SnapshotConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16574,6 +16922,7 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateId = ptr.String(jtv) } + case "launchTemplateName": if value != nil { jtv, ok := value.(string) @@ -16582,6 +16931,7 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateName = ptr.String(jtv) } + case "launchTemplateVersion": if value != nil { jtv, ok := value.(string) @@ -16590,6 +16940,7 @@ func awsRestjson1_deserializeDocumentFastLaunchLaunchTemplateSpecification(v **t } sv.LaunchTemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -16633,6 +16984,7 @@ func awsRestjson1_deserializeDocumentFastLaunchSnapshotConfiguration(v **types.F } sv.TargetResourceCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16672,6 +17024,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16711,6 +17064,7 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16750,6 +17104,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "buildType": if value != nil { jtv, ok := value.(string) @@ -16758,10 +17113,12 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.BuildType = types.BuildType(jtv) } + case "containerRecipe": if err := awsRestjson1_deserializeDocumentContainerRecipe(&sv.ContainerRecipe, value); err != nil { return err } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -16770,6 +17127,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DateCreated = ptr.String(jtv) } + case "deprecationTime": if value != nil { switch jtv := value.(type) { @@ -16785,10 +17143,12 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } } + case "distributionConfiguration": if err := awsRestjson1_deserializeDocumentDistributionConfiguration(&sv.DistributionConfiguration, value); err != nil { return err } + case "enhancedImageMetadataEnabled": if value != nil { jtv, ok := value.(bool) @@ -16797,6 +17157,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.EnhancedImageMetadataEnabled = ptr.Bool(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -16805,14 +17166,17 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ExecutionRole = ptr.String(jtv) } + case "imageRecipe": if err := awsRestjson1_deserializeDocumentImageRecipe(&sv.ImageRecipe, value); err != nil { return err } + case "imageScanningConfiguration": if err := awsRestjson1_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } + case "imageSource": if value != nil { jtv, ok := value.(string) @@ -16821,14 +17185,17 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageSource = types.ImageSource(jtv) } + case "imageTestsConfiguration": if err := awsRestjson1_deserializeDocumentImageTestsConfiguration(&sv.ImageTestsConfiguration, value); err != nil { return err } + case "infrastructureConfiguration": if err := awsRestjson1_deserializeDocumentInfrastructureConfiguration(&sv.InfrastructureConfiguration, value); err != nil { return err } + case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -16837,6 +17204,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.LifecycleExecutionId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16845,6 +17213,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Name = ptr.String(jtv) } + case "osVersion": if value != nil { jtv, ok := value.(string) @@ -16853,10 +17222,12 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.OsVersion = ptr.String(jtv) } + case "outputResources": if err := awsRestjson1_deserializeDocumentOutputResources(&sv.OutputResources, value); err != nil { return err } + case "platform": if value != nil { jtv, ok := value.(string) @@ -16865,10 +17236,12 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Platform = types.Platform(jtv) } + case "scanState": if err := awsRestjson1_deserializeDocumentImageScanState(&sv.ScanState, value); err != nil { return err } + case "sourcePipelineArn": if value != nil { jtv, ok := value.(string) @@ -16877,6 +17250,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.SourcePipelineArn = ptr.String(jtv) } + case "sourcePipelineName": if value != nil { jtv, ok := value.(string) @@ -16885,14 +17259,17 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.SourcePipelineName = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -16901,6 +17278,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Type = types.ImageType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -16909,10 +17287,12 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Version = ptr.String(jtv) } + case "workflows": if err := awsRestjson1_deserializeDocumentWorkflowConfigurationList(&sv.Workflows, value); err != nil { return err } + default: _, _ = key, value @@ -16952,10 +17332,12 @@ func awsRestjson1_deserializeDocumentImageAggregation(v **types.ImageAggregation } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -16995,6 +17377,7 @@ func awsRestjson1_deserializeDocumentImagePackage(v **types.ImagePackage, value } sv.PackageName = ptr.String(jtv) } + case "packageVersion": if value != nil { jtv, ok := value.(string) @@ -17003,6 +17386,7 @@ func awsRestjson1_deserializeDocumentImagePackage(v **types.ImagePackage, value } sv.PackageVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -17076,6 +17460,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Arn = ptr.String(jtv) } + case "containerRecipeArn": if value != nil { jtv, ok := value.(string) @@ -17084,6 +17469,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ContainerRecipeArn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17092,6 +17478,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateCreated = ptr.String(jtv) } + case "dateLastRun": if value != nil { jtv, ok := value.(string) @@ -17100,6 +17487,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateLastRun = ptr.String(jtv) } + case "dateNextRun": if value != nil { jtv, ok := value.(string) @@ -17108,6 +17496,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateNextRun = ptr.String(jtv) } + case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -17116,6 +17505,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DateUpdated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17124,6 +17514,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Description = ptr.String(jtv) } + case "distributionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -17132,6 +17523,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.DistributionConfigurationArn = ptr.String(jtv) } + case "enhancedImageMetadataEnabled": if value != nil { jtv, ok := value.(bool) @@ -17140,6 +17532,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.EnhancedImageMetadataEnabled = ptr.Bool(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -17148,6 +17541,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ExecutionRole = ptr.String(jtv) } + case "imageRecipeArn": if value != nil { jtv, ok := value.(string) @@ -17156,14 +17550,17 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.ImageRecipeArn = ptr.String(jtv) } + case "imageScanningConfiguration": if err := awsRestjson1_deserializeDocumentImageScanningConfiguration(&sv.ImageScanningConfiguration, value); err != nil { return err } + case "imageTestsConfiguration": if err := awsRestjson1_deserializeDocumentImageTestsConfiguration(&sv.ImageTestsConfiguration, value); err != nil { return err } + case "infrastructureConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -17172,6 +17569,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.InfrastructureConfigurationArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17180,6 +17578,7 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Name = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -17188,10 +17587,12 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Platform = types.Platform(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -17200,14 +17601,17 @@ func awsRestjson1_deserializeDocumentImagePipeline(v **types.ImagePipeline, valu } sv.Status = types.PipelineStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "workflows": if err := awsRestjson1_deserializeDocumentWorkflowConfigurationList(&sv.Workflows, value); err != nil { return err } + default: _, _ = key, value @@ -17247,10 +17651,12 @@ func awsRestjson1_deserializeDocumentImagePipelineAggregation(v **types.ImagePip } sv.ImagePipelineArn = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -17320,6 +17726,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in if err := awsRestjson1_deserializeDocumentAdditionalInstanceConfiguration(&sv.AdditionalInstanceConfiguration, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17328,14 +17735,17 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Arn = ptr.String(jtv) } + case "blockDeviceMappings": if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } + case "components": if err := awsRestjson1_deserializeDocumentComponentConfigurationList(&sv.Components, value); err != nil { return err } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17344,6 +17754,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17352,6 +17763,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17360,6 +17772,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -17368,6 +17781,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Owner = ptr.String(jtv) } + case "parentImage": if value != nil { jtv, ok := value.(string) @@ -17376,6 +17790,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.ParentImage = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -17384,10 +17799,12 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Platform = types.Platform(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -17396,6 +17813,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Type = types.ImageType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -17404,6 +17822,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.Version = ptr.String(jtv) } + case "workingDirectory": if value != nil { jtv, ok := value.(string) @@ -17412,6 +17831,7 @@ func awsRestjson1_deserializeDocumentImageRecipe(v **types.ImageRecipe, value in } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -17451,6 +17871,7 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -17459,6 +17880,7 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.DateCreated = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17467,6 +17889,7 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -17475,6 +17898,7 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Owner = ptr.String(jtv) } + case "parentImage": if value != nil { jtv, ok := value.(string) @@ -17483,6 +17907,7 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.ParentImage = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -17491,10 +17916,12 @@ func awsRestjson1_deserializeDocumentImageRecipeSummary(v **types.ImageRecipeSum } sv.Platform = types.Platform(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17568,6 +17995,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.AwsAccountId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17576,6 +18004,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Description = ptr.String(jtv) } + case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -17591,6 +18020,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } + case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -17599,6 +18029,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.FixAvailable = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -17607,6 +18038,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "imagePipelineArn": if value != nil { jtv, ok := value.(string) @@ -17615,6 +18047,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.ImagePipelineArn = ptr.String(jtv) } + case "inspectorScore": if value != nil { switch jtv := value.(type) { @@ -17648,18 +18081,22 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } + case "inspectorScoreDetails": if err := awsRestjson1_deserializeDocumentInspectorScoreDetails(&sv.InspectorScoreDetails, value); err != nil { return err } + case "packageVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } + case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } + case "severity": if value != nil { jtv, ok := value.(string) @@ -17668,6 +18105,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Severity = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -17676,6 +18114,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -17684,6 +18123,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -17699,6 +18139,7 @@ func awsRestjson1_deserializeDocumentImageScanFinding(v **types.ImageScanFinding } } + default: _, _ = key, value @@ -17734,18 +18175,22 @@ func awsRestjson1_deserializeDocumentImageScanFindingAggregation(v **types.Image if err := awsRestjson1_deserializeDocumentAccountAggregation(&sv.AccountAggregation, value); err != nil { return err } + case "imageAggregation": if err := awsRestjson1_deserializeDocumentImageAggregation(&sv.ImageAggregation, value); err != nil { return err } + case "imagePipelineAggregation": if err := awsRestjson1_deserializeDocumentImagePipelineAggregation(&sv.ImagePipelineAggregation, value); err != nil { return err } + case "vulnerabilityIdAggregation": if err := awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(&sv.VulnerabilityIdAggregation, value); err != nil { return err } + default: _, _ = key, value @@ -17849,6 +18294,7 @@ func awsRestjson1_deserializeDocumentImageScanningConfiguration(v **types.ImageS if err := awsRestjson1_deserializeDocumentEcrConfiguration(&sv.EcrConfiguration, value); err != nil { return err } + case "imageScanningEnabled": if value != nil { jtv, ok := value.(bool) @@ -17857,6 +18303,7 @@ func awsRestjson1_deserializeDocumentImageScanningConfiguration(v **types.ImageS } sv.ImageScanningEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17896,6 +18343,7 @@ func awsRestjson1_deserializeDocumentImageScanState(v **types.ImageScanState, va } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17904,6 +18352,7 @@ func awsRestjson1_deserializeDocumentImageScanState(v **types.ImageScanState, va } sv.Status = types.ImageScanStatus(jtv) } + default: _, _ = key, value @@ -17943,6 +18392,7 @@ func awsRestjson1_deserializeDocumentImageState(v **types.ImageState, value inte } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17951,6 +18401,7 @@ func awsRestjson1_deserializeDocumentImageState(v **types.ImageState, value inte } sv.Status = types.ImageStatus(jtv) } + default: _, _ = key, value @@ -17990,6 +18441,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Arn = ptr.String(jtv) } + case "buildType": if value != nil { jtv, ok := value.(string) @@ -17998,6 +18450,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.BuildType = types.BuildType(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18006,6 +18459,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.DateCreated = ptr.String(jtv) } + case "deprecationTime": if value != nil { switch jtv := value.(type) { @@ -18021,6 +18475,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } } + case "imageSource": if value != nil { jtv, ok := value.(string) @@ -18029,6 +18484,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.ImageSource = types.ImageSource(jtv) } + case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -18037,6 +18493,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.LifecycleExecutionId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18045,6 +18502,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Name = ptr.String(jtv) } + case "osVersion": if value != nil { jtv, ok := value.(string) @@ -18053,10 +18511,12 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.OsVersion = ptr.String(jtv) } + case "outputResources": if err := awsRestjson1_deserializeDocumentOutputResources(&sv.OutputResources, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -18065,6 +18525,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Owner = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -18073,14 +18534,17 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Platform = types.Platform(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentImageState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -18089,6 +18553,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Type = types.ImageType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -18097,6 +18562,7 @@ func awsRestjson1_deserializeDocumentImageSummary(v **types.ImageSummary, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -18170,6 +18636,7 @@ func awsRestjson1_deserializeDocumentImageTestsConfiguration(v **types.ImageTest } sv.ImageTestsEnabled = ptr.Bool(jtv) } + case "timeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -18182,6 +18649,7 @@ func awsRestjson1_deserializeDocumentImageTestsConfiguration(v **types.ImageTest } sv.TimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18221,6 +18689,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Arn = ptr.String(jtv) } + case "buildType": if value != nil { jtv, ok := value.(string) @@ -18229,6 +18698,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.BuildType = types.BuildType(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18237,6 +18707,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.DateCreated = ptr.String(jtv) } + case "imageSource": if value != nil { jtv, ok := value.(string) @@ -18245,6 +18716,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageSource = types.ImageSource(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18253,6 +18725,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Name = ptr.String(jtv) } + case "osVersion": if value != nil { jtv, ok := value.(string) @@ -18261,6 +18734,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.OsVersion = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -18269,6 +18743,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Owner = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -18277,6 +18752,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Platform = types.Platform(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -18285,6 +18761,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Type = types.ImageType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -18293,6 +18770,7 @@ func awsRestjson1_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -18366,6 +18844,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18374,6 +18853,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.DateCreated = ptr.String(jtv) } + case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -18382,6 +18862,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.DateUpdated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18390,10 +18871,12 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Description = ptr.String(jtv) } + case "instanceMetadataOptions": if err := awsRestjson1_deserializeDocumentInstanceMetadataOptions(&sv.InstanceMetadataOptions, value); err != nil { return err } + case "instanceProfileName": if value != nil { jtv, ok := value.(string) @@ -18402,10 +18885,12 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.InstanceProfileName = ptr.String(jtv) } + case "instanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypeList(&sv.InstanceTypes, value); err != nil { return err } + case "keyPair": if value != nil { jtv, ok := value.(string) @@ -18414,10 +18899,12 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.KeyPair = ptr.String(jtv) } + case "logging": if err := awsRestjson1_deserializeDocumentLogging(&sv.Logging, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18426,18 +18913,22 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.Name = ptr.String(jtv) } + case "placement": if err := awsRestjson1_deserializeDocumentPlacement(&sv.Placement, value); err != nil { return err } + case "resourceTags": if err := awsRestjson1_deserializeDocumentResourceTagMap(&sv.ResourceTags, value); err != nil { return err } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -18446,6 +18937,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.SnsTopicArn = ptr.String(jtv) } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -18454,10 +18946,12 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.SubnetId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "terminateInstanceOnFailure": if value != nil { jtv, ok := value.(bool) @@ -18466,6 +18960,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfiguration(v **types.Infra } sv.TerminateInstanceOnFailure = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18505,6 +19000,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -18513,6 +19009,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.DateCreated = ptr.String(jtv) } + case "dateUpdated": if value != nil { jtv, ok := value.(string) @@ -18521,6 +19018,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.DateUpdated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18529,6 +19027,7 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Description = ptr.String(jtv) } + case "instanceProfileName": if value != nil { jtv, ok := value.(string) @@ -18537,10 +19036,12 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.InstanceProfileName = ptr.String(jtv) } + case "instanceTypes": if err := awsRestjson1_deserializeDocumentInstanceTypeList(&sv.InstanceTypes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18549,18 +19050,22 @@ func awsRestjson1_deserializeDocumentInfrastructureConfigurationSummary(v **type } sv.Name = ptr.String(jtv) } + case "placement": if err := awsRestjson1_deserializeDocumentPlacement(&sv.Placement, value); err != nil { return err } + case "resourceTags": if err := awsRestjson1_deserializeDocumentResourceTagMap(&sv.ResourceTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18630,6 +19135,7 @@ func awsRestjson1_deserializeDocumentInspectorScoreDetails(v **types.InspectorSc if err := awsRestjson1_deserializeDocumentCvssScoreDetails(&sv.AdjustedCvss, value); err != nil { return err } + default: _, _ = key, value @@ -18669,10 +19175,12 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.DeviceName = ptr.String(jtv) } + case "ebs": if err := awsRestjson1_deserializeDocumentEbsInstanceBlockDeviceSpecification(&sv.Ebs, value); err != nil { return err } + case "noDevice": if value != nil { jtv, ok := value.(string) @@ -18681,6 +19189,7 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.NoDevice = ptr.String(jtv) } + case "virtualName": if value != nil { jtv, ok := value.(string) @@ -18689,6 +19198,7 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.VirtualName = ptr.String(jtv) } + default: _, _ = key, value @@ -18758,6 +19268,7 @@ func awsRestjson1_deserializeDocumentInstanceConfiguration(v **types.InstanceCon if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -18766,6 +19277,7 @@ func awsRestjson1_deserializeDocumentInstanceConfiguration(v **types.InstanceCon } sv.Image = ptr.String(jtv) } + default: _, _ = key, value @@ -18809,6 +19321,7 @@ func awsRestjson1_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } + case "httpTokens": if value != nil { jtv, ok := value.(string) @@ -18817,6 +19330,7 @@ func awsRestjson1_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpTokens = ptr.String(jtv) } + default: _, _ = key, value @@ -18892,6 +19406,7 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18931,6 +19446,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18970,6 +19486,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19009,6 +19526,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19048,6 +19566,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19087,6 +19606,7 @@ func awsRestjson1_deserializeDocumentInvalidVersionNumberException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19122,18 +19642,22 @@ func awsRestjson1_deserializeDocumentLaunchPermissionConfiguration(v **types.Lau if err := awsRestjson1_deserializeDocumentOrganizationalUnitArnList(&sv.OrganizationalUnitArns, value); err != nil { return err } + case "organizationArns": if err := awsRestjson1_deserializeDocumentOrganizationArnList(&sv.OrganizationArns, value); err != nil { return err } + case "userGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.UserGroups, value); err != nil { return err } + case "userIds": if err := awsRestjson1_deserializeDocumentAccountList(&sv.UserIds, value); err != nil { return err } + default: _, _ = key, value @@ -19173,6 +19697,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.AccountId = ptr.String(jtv) } + case "launchTemplateId": if value != nil { jtv, ok := value.(string) @@ -19181,6 +19706,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.LaunchTemplateId = ptr.String(jtv) } + case "setDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -19189,6 +19715,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateConfiguration(v **types.Launc } sv.SetDefaultVersion = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19305,6 +19832,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } } + case "lifecycleExecutionId": if value != nil { jtv, ok := value.(string) @@ -19313,6 +19841,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } sv.LifecycleExecutionId = ptr.String(jtv) } + case "lifecyclePolicyArn": if value != nil { jtv, ok := value.(string) @@ -19321,10 +19850,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } sv.LifecyclePolicyArn = ptr.String(jtv) } + case "resourcesImpactedSummary": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourcesImpactedSummary(&sv.ResourcesImpactedSummary, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -19340,10 +19871,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecution(v **types.LifecycleExecu } } + case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -19383,10 +19916,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.AccountId = ptr.String(jtv) } + case "action": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(&sv.Action, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -19402,10 +19937,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } } + case "imageUris": if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageUris, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -19414,6 +19951,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.Region = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -19422,10 +19960,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } sv.ResourceId = ptr.String(jtv) } + case "snapshots": if err := awsRestjson1_deserializeDocumentLifecycleExecutionSnapshotResourceList(&sv.Snapshots, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -19441,10 +19981,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResource(v **types.Lifecy } } + case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -19484,6 +20026,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(v **types. } sv.Name = types.LifecycleExecutionResourceActionName(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -19492,6 +20035,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceAction(v **types. } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -19565,6 +20109,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourcesImpactedSummary( } sv.HasImpactedResources = jtv } + default: _, _ = key, value @@ -19604,6 +20149,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(v **types.L } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19612,6 +20158,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(v **types.L } sv.Status = types.LifecycleExecutionResourceStatus(jtv) } + default: _, _ = key, value @@ -19685,10 +20232,12 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionSnapshotResource(v **type } sv.SnapshotId = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentLifecycleExecutionResourceState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -19762,6 +20311,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionState(v **types.Lifecycle } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19770,6 +20320,7 @@ func awsRestjson1_deserializeDocumentLifecycleExecutionState(v **types.Lifecycle } sv.Status = types.LifecycleExecutionStatus(jtv) } + default: _, _ = key, value @@ -19809,6 +20360,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { switch jtv := value.(type) { @@ -19824,6 +20376,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } + case "dateLastRun": if value != nil { switch jtv := value.(type) { @@ -19839,6 +20392,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } + case "dateUpdated": if value != nil { switch jtv := value.(type) { @@ -19854,6 +20408,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19862,6 +20417,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Description = ptr.String(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -19870,6 +20426,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ExecutionRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19878,14 +20435,17 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Name = ptr.String(jtv) } + case "policyDetails": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetails(&sv.PolicyDetails, value); err != nil { return err } + case "resourceSelection": if err := awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelection(&sv.ResourceSelection, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -19894,6 +20454,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.ResourceType = types.LifecyclePolicyResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19902,10 +20463,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicy(v **types.LifecyclePolicy, } sv.Status = types.LifecyclePolicyStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19941,14 +20504,17 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(&sv.Action, value); err != nil { return err } + case "exclusionRules": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRules(&sv.ExclusionRules, value); err != nil { return err } + case "filter": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(&sv.Filter, value); err != nil { return err } + default: _, _ = key, value @@ -19984,6 +20550,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(v **types.Lifec if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources(&sv.IncludeResources, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -19992,6 +20559,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailAction(v **types.Lifec } sv.Type = types.LifecyclePolicyDetailActionType(jtv) } + default: _, _ = key, value @@ -20031,6 +20599,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Amis = jtv } + case "containers": if value != nil { jtv, ok := value.(bool) @@ -20039,6 +20608,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Containers = jtv } + case "snapshots": if value != nil { jtv, ok := value.(bool) @@ -20047,6 +20617,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailActionIncludeResources } sv.Snapshots = jtv } + default: _, _ = key, value @@ -20082,10 +20653,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRules(v **typ if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmis(&sv.Amis, value); err != nil { return err } + case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } + default: _, _ = key, value @@ -20125,22 +20698,27 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmis(v * } sv.IsPublic = jtv } + case "lastLaunched": if err := awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLastLaunched(&sv.LastLaunched, value); err != nil { return err } + case "regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } + case "sharedAccounts": if err := awsRestjson1_deserializeDocumentAccountList(&sv.SharedAccounts, value); err != nil { return err } + case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } + default: _, _ = key, value @@ -20180,6 +20758,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLast } sv.Unit = types.LifecyclePolicyTimeUnit(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -20192,6 +20771,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailExclusionRulesAmisLast } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20235,6 +20815,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.RetainAtLeast = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -20243,6 +20824,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Type = types.LifecyclePolicyDetailFilterType(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -20251,6 +20833,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Unit = types.LifecyclePolicyTimeUnit(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -20263,6 +20846,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyDetailFilter(v **types.Lifec } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20332,10 +20916,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelection(v **types. if err := awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipes(&sv.Recipes, value); err != nil { return err } + case "tagMap": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TagMap, value); err != nil { return err } + default: _, _ = key, value @@ -20375,6 +20961,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipe(v ** } sv.Name = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -20383,6 +20970,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicyResourceSelectionRecipe(v ** } sv.SemanticVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -20456,6 +21044,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { switch jtv := value.(type) { @@ -20471,6 +21060,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } + case "dateLastRun": if value != nil { switch jtv := value.(type) { @@ -20486,6 +21076,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } + case "dateUpdated": if value != nil { switch jtv := value.(type) { @@ -20501,6 +21092,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } } + case "description": if value != nil { jtv, ok := value.(string) @@ -20509,6 +21101,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } + case "executionRole": if value != nil { jtv, ok := value.(string) @@ -20517,6 +21110,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.ExecutionRole = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20525,6 +21119,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -20533,6 +21128,7 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.ResourceType = types.LifecyclePolicyResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20541,10 +21137,12 @@ func awsRestjson1_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Status = types.LifecyclePolicyStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20614,6 +21212,7 @@ func awsRestjson1_deserializeDocumentLogging(v **types.Logging, value interface{ if err := awsRestjson1_deserializeDocumentS3Logs(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -20793,10 +21392,12 @@ func awsRestjson1_deserializeDocumentOutputResources(v **types.OutputResources, if err := awsRestjson1_deserializeDocumentAmiList(&sv.Amis, value); err != nil { return err } + case "containers": if err := awsRestjson1_deserializeDocumentContainerList(&sv.Containers, value); err != nil { return err } + default: _, _ = key, value @@ -20832,14 +21433,17 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsRestjson1_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ReferenceUrls, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityIdList(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -20848,6 +21452,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } + case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -20856,6 +21461,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } + case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -20871,6 +21477,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -20879,6 +21486,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } + case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -20894,6 +21502,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -20902,10 +21511,12 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } + case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentVulnerablePackageList(&sv.VulnerablePackages, value); err != nil { return err } + default: _, _ = key, value @@ -20945,6 +21556,7 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.AvailabilityZone = ptr.String(jtv) } + case "hostId": if value != nil { jtv, ok := value.(string) @@ -20953,6 +21565,7 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.HostId = ptr.String(jtv) } + case "hostResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -20961,6 +21574,7 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.HostResourceGroupArn = ptr.String(jtv) } + case "tenancy": if value != nil { jtv, ok := value.(string) @@ -20969,6 +21583,7 @@ func awsRestjson1_deserializeDocumentPlacement(v **types.Placement, value interf } sv.Tenancy = types.TenancyType(jtv) } + default: _, _ = key, value @@ -21040,6 +21655,7 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRemediationRecommendation(&sv.Recommendation, value); err != nil { return err } + default: _, _ = key, value @@ -21079,6 +21695,7 @@ func awsRestjson1_deserializeDocumentRemediationRecommendation(v **types.Remedia } sv.Text = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -21087,6 +21704,7 @@ func awsRestjson1_deserializeDocumentRemediationRecommendation(v **types.Remedia } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -21126,6 +21744,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21165,6 +21784,7 @@ func awsRestjson1_deserializeDocumentResourceDependencyException(v **types.Resou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21204,6 +21824,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21243,6 +21864,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21318,6 +21940,7 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.DiskImageFormat = types.DiskImageFormat(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -21326,6 +21949,7 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.RoleName = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -21334,6 +21958,7 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.S3Bucket = ptr.String(jtv) } + case "s3Prefix": if value != nil { jtv, ok := value.(string) @@ -21342,6 +21967,7 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.S3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -21381,6 +22007,7 @@ func awsRestjson1_deserializeDocumentS3Logs(v **types.S3Logs, value interface{}) } sv.S3BucketName = ptr.String(jtv) } + case "s3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -21389,6 +22016,7 @@ func awsRestjson1_deserializeDocumentS3Logs(v **types.S3Logs, value interface{}) } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -21428,6 +22056,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.PipelineExecutionStartCondition = types.PipelineExecutionStartCondition(jtv) } + case "scheduleExpression": if value != nil { jtv, ok := value.(string) @@ -21436,6 +22065,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.ScheduleExpression = ptr.String(jtv) } + case "timezone": if value != nil { jtv, ok := value.(string) @@ -21444,6 +22074,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -21519,6 +22150,7 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21558,6 +22190,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21597,6 +22230,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21640,6 +22274,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.All = ptr.Int64(i64) } + case "critical": if value != nil { jtv, ok := value.(json.Number) @@ -21652,6 +22287,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Critical = ptr.Int64(i64) } + case "high": if value != nil { jtv, ok := value.(json.Number) @@ -21664,6 +22300,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.High = ptr.Int64(i64) } + case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -21676,6 +22313,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Medium = ptr.Int64(i64) } + default: _, _ = key, value @@ -21751,6 +22389,7 @@ func awsRestjson1_deserializeDocumentSystemsManagerAgent(v **types.SystemsManage } sv.UninstallAfterBuild = ptr.Bool(jtv) } + default: _, _ = key, value @@ -21826,6 +22465,7 @@ func awsRestjson1_deserializeDocumentTargetContainerRepository(v **types.TargetC } sv.RepositoryName = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -21834,6 +22474,7 @@ func awsRestjson1_deserializeDocumentTargetContainerRepository(v **types.TargetC } sv.Service = types.ContainerRepositoryService(jtv) } + default: _, _ = key, value @@ -21869,6 +22510,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(v **types.Vulner if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -21877,6 +22519,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityIdAggregation(v **types.Vulner } sv.VulnerabilityId = ptr.String(jtv) } + default: _, _ = key, value @@ -21952,6 +22595,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } + case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -21964,6 +22608,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = ptr.Int32(int32(i64)) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -21972,6 +22617,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } + case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -21980,6 +22626,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21988,6 +22635,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } + case "packageManager": if value != nil { jtv, ok := value.(string) @@ -21996,6 +22644,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = ptr.String(jtv) } + case "release": if value != nil { jtv, ok := value.(string) @@ -22004,6 +22653,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } + case "remediation": if value != nil { jtv, ok := value.(string) @@ -22012,6 +22662,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Remediation = ptr.String(jtv) } + case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -22020,6 +22671,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -22028,6 +22680,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -22101,6 +22754,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Arn = ptr.String(jtv) } + case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -22109,6 +22763,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.ChangeDescription = ptr.String(jtv) } + case "data": if value != nil { jtv, ok := value.(string) @@ -22117,6 +22772,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Data = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -22125,6 +22781,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -22133,6 +22790,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Description = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -22141,6 +22799,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22149,6 +22808,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -22157,18 +22817,22 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Owner = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentWorkflowParameterDetailList(&sv.Parameters, value); err != nil { return err } + case "state": if err := awsRestjson1_deserializeDocumentWorkflowState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -22177,6 +22841,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Type = types.WorkflowType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -22185,6 +22850,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -22224,6 +22890,7 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.OnFailure = types.OnWorkflowFailure(jtv) } + case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -22232,10 +22899,12 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.ParallelGroup = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentWorkflowParameterList(&sv.Parameters, value); err != nil { return err } + case "workflowArn": if value != nil { jtv, ok := value.(string) @@ -22244,6 +22913,7 @@ func awsRestjson1_deserializeDocumentWorkflowConfiguration(v **types.WorkflowCon } sv.WorkflowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22317,6 +22987,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.EndTime = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -22325,6 +22996,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Message = ptr.String(jtv) } + case "parallelGroup": if value != nil { jtv, ok := value.(string) @@ -22333,6 +23005,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.ParallelGroup = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -22341,6 +23014,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22349,6 +23023,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Status = types.WorkflowExecutionStatus(jtv) } + case "totalStepCount": if value != nil { jtv, ok := value.(json.Number) @@ -22361,6 +23036,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepCount = int32(i64) } + case "totalStepsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -22373,6 +23049,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsFailed = int32(i64) } + case "totalStepsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -22385,6 +23062,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsSkipped = int32(i64) } + case "totalStepsSucceeded": if value != nil { jtv, ok := value.(json.Number) @@ -22397,6 +23075,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.TotalStepsSucceeded = int32(i64) } + case "type": if value != nil { jtv, ok := value.(string) @@ -22405,6 +23084,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.Type = types.WorkflowType(jtv) } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -22413,6 +23093,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -22421,6 +23102,7 @@ func awsRestjson1_deserializeDocumentWorkflowExecutionMetadata(v **types.Workflo } sv.WorkflowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -22494,10 +23176,12 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Name = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentWorkflowParameterValueList(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -22533,6 +23217,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP if err := awsRestjson1_deserializeDocumentWorkflowParameterValueList(&sv.DefaultValue, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -22541,6 +23226,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22549,6 +23235,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -22557,6 +23244,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameterDetail(v **types.WorkflowP } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -22700,6 +23388,7 @@ func awsRestjson1_deserializeDocumentWorkflowState(v **types.WorkflowState, valu } sv.Reason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22708,6 +23397,7 @@ func awsRestjson1_deserializeDocumentWorkflowState(v **types.WorkflowState, valu } sv.Status = types.WorkflowStatus(jtv) } + default: _, _ = key, value @@ -22747,6 +23437,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.Action = ptr.String(jtv) } + case "imageBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -22755,6 +23446,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.ImageBuildVersionArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22763,6 +23455,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.Name = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -22771,6 +23464,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.StartTime = ptr.String(jtv) } + case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -22779,6 +23473,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.StepExecutionId = ptr.String(jtv) } + case "workflowBuildVersionArn": if value != nil { jtv, ok := value.(string) @@ -22787,6 +23482,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.WorkflowBuildVersionArn = ptr.String(jtv) } + case "workflowExecutionId": if value != nil { jtv, ok := value.(string) @@ -22795,6 +23491,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepExecution(v **types.WorkflowSte } sv.WorkflowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -22902,6 +23599,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Action = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -22910,6 +23608,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -22918,6 +23617,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.EndTime = ptr.String(jtv) } + case "inputs": if value != nil { jtv, ok := value.(string) @@ -22926,6 +23626,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Inputs = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -22934,6 +23635,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22942,6 +23644,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Name = ptr.String(jtv) } + case "outputs": if value != nil { jtv, ok := value.(string) @@ -22950,6 +23653,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Outputs = ptr.String(jtv) } + case "rollbackStatus": if value != nil { jtv, ok := value.(string) @@ -22958,6 +23662,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.RollbackStatus = types.WorkflowStepExecutionRollbackStatus(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -22966,6 +23671,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -22974,6 +23680,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.Status = types.WorkflowStepExecutionStatus(jtv) } + case "stepExecutionId": if value != nil { jtv, ok := value.(string) @@ -22982,6 +23689,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepMetadata(v **types.WorkflowStep } sv.StepExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -23021,6 +23729,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Arn = ptr.String(jtv) } + case "changeDescription": if value != nil { jtv, ok := value.(string) @@ -23029,6 +23738,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.ChangeDescription = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -23037,6 +23747,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -23045,6 +23756,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23053,6 +23765,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -23061,14 +23774,17 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Owner = ptr.String(jtv) } + case "state": if err := awsRestjson1_deserializeDocumentWorkflowState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -23077,6 +23793,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Type = types.WorkflowType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -23085,6 +23802,7 @@ func awsRestjson1_deserializeDocumentWorkflowSummary(v **types.WorkflowSummary, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -23158,6 +23876,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Arn = ptr.String(jtv) } + case "dateCreated": if value != nil { jtv, ok := value.(string) @@ -23166,6 +23885,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.DateCreated = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -23174,6 +23894,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23182,6 +23903,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -23190,6 +23912,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Owner = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -23198,6 +23921,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Type = types.WorkflowType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -23206,6 +23930,7 @@ func awsRestjson1_deserializeDocumentWorkflowVersion(v **types.WorkflowVersion, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/inspector/deserializers.go b/service/inspector/deserializers.go index 09b0bf92002..1c3e04eaf55 100644 --- a/service/inspector/deserializers.go +++ b/service/inspector/deserializers.go @@ -4724,6 +4724,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.CanRetry = ptr.Bool(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4732,6 +4733,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = types.AccessDeniedErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4740,6 +4742,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4779,6 +4782,7 @@ func awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessment(v **types.Age } sv.AgentId = ptr.String(jtv) } + case "assessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -4787,6 +4791,7 @@ func awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessment(v **types.Age } sv.AssessmentRunArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4860,6 +4865,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentHealth = types.AgentHealth(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -4868,6 +4874,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentId = ptr.String(jtv) } + case "agentVersion": if value != nil { jtv, ok := value.(string) @@ -4876,6 +4883,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AgentVersion = ptr.String(jtv) } + case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -4884,6 +4892,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.AutoScalingGroup = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -4892,6 +4901,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.Hostname = ptr.String(jtv) } + case "ipv4Address": if value != nil { jtv, ok := value.(string) @@ -4900,6 +4910,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.Ipv4Address = ptr.String(jtv) } + case "kernelVersion": if value != nil { jtv, ok := value.(string) @@ -4908,6 +4919,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.KernelVersion = ptr.String(jtv) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -4916,6 +4928,7 @@ func awsAwsjson11_deserializeDocumentAgentPreview(v **types.AgentPreview, value } sv.OperatingSystem = ptr.String(jtv) } + default: _, _ = key, value @@ -4985,6 +4998,7 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * if err := awsAwsjson11_deserializeDocumentAgentAlreadyRunningAssessmentList(&sv.Agents, value); err != nil { return err } + case "agentsTruncated": if value != nil { jtv, ok := value.(bool) @@ -4993,6 +5007,7 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.AgentsTruncated = ptr.Bool(jtv) } + case "canRetry": if value != nil { jtv, ok := value.(bool) @@ -5001,6 +5016,7 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.CanRetry = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5009,6 +5025,7 @@ func awsAwsjson11_deserializeDocumentAgentsAlreadyRunningAssessmentException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5084,6 +5101,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.Arn = ptr.String(jtv) } + case "assessmentTemplateArn": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5110,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.AssessmentTemplateArn = ptr.String(jtv) } + case "completedAt": if value != nil { switch jtv := value.(type) { @@ -5107,6 +5126,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5122,6 +5142,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } + case "dataCollected": if value != nil { jtv, ok := value.(bool) @@ -5130,6 +5151,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.DataCollected = ptr.Bool(jtv) } + case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5142,10 +5164,12 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "findingCounts": if err := awsAwsjson11_deserializeDocumentAssessmentRunFindingCounts(&sv.FindingCounts, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5154,14 +5178,17 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.Name = ptr.String(jtv) } + case "notifications": if err := awsAwsjson11_deserializeDocumentAssessmentRunNotificationList(&sv.Notifications, value); err != nil { return err } + case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentAssessmentRulesPackageArnList(&sv.RulesPackageArns, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -5177,6 +5204,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } + case "state": if value != nil { jtv, ok := value.(string) @@ -5185,6 +5213,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } sv.State = types.AssessmentRunState(jtv) } + case "stateChangedAt": if value != nil { switch jtv := value.(type) { @@ -5200,14 +5229,17 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu } } + case "stateChanges": if err := awsAwsjson11_deserializeDocumentAssessmentRunStateChangeList(&sv.StateChanges, value); err != nil { return err } + case "userAttributesForFindings": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributesForFindings, value); err != nil { return err } + default: _, _ = key, value @@ -5247,6 +5279,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealth = types.AgentHealth(jtv) } + case "agentHealthCode": if value != nil { jtv, ok := value.(string) @@ -5255,6 +5288,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealthCode = types.AgentHealthCode(jtv) } + case "agentHealthDetails": if value != nil { jtv, ok := value.(string) @@ -5263,6 +5297,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentHealthDetails = ptr.String(jtv) } + case "agentId": if value != nil { jtv, ok := value.(string) @@ -5271,6 +5306,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AgentId = ptr.String(jtv) } + case "assessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -5279,6 +5315,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AssessmentRunArn = ptr.String(jtv) } + case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -5287,10 +5324,12 @@ func awsAwsjson11_deserializeDocumentAssessmentRunAgent(v **types.AssessmentRunA } sv.AutoScalingGroup = ptr.String(jtv) } + case "telemetryMetadata": if err := awsAwsjson11_deserializeDocumentTelemetryMetadataList(&sv.TelemetryMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -5436,6 +5475,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. if err := awsAwsjson11_deserializeDocumentAssessmentRunInProgressArnList(&sv.AssessmentRunArns, value); err != nil { return err } + case "assessmentRunArnsTruncated": if value != nil { jtv, ok := value.(bool) @@ -5444,6 +5484,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.AssessmentRunArnsTruncated = ptr.Bool(jtv) } + case "canRetry": if value != nil { jtv, ok := value.(bool) @@ -5452,6 +5493,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.CanRetry = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5460,6 +5502,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunInProgressException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5540,6 +5583,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } } + case "error": if value != nil { jtv, ok := value.(bool) @@ -5548,6 +5592,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Error = ptr.Bool(jtv) } + case "event": if value != nil { jtv, ok := value.(string) @@ -5556,6 +5601,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Event = types.InspectorEvent(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -5564,6 +5610,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.Message = ptr.String(jtv) } + case "snsPublishStatusCode": if value != nil { jtv, ok := value.(string) @@ -5572,6 +5619,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.SnsPublishStatusCode = types.AssessmentRunNotificationSnsStatusCode(jtv) } + case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -5580,6 +5628,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunNotification(v **types.Assessm } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5653,6 +5702,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunStateChange(v **types.Assessme } sv.State = types.AssessmentRunState(jtv) } + case "stateChangedAt": if value != nil { switch jtv := value.(type) { @@ -5668,6 +5718,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRunStateChange(v **types.Assessme } } + default: _, _ = key, value @@ -5741,6 +5792,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5756,6 +5808,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5764,6 +5817,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Name = ptr.String(jtv) } + case "resourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -5772,6 +5826,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.ResourceGroupArn = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5787,6 +5842,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } } + default: _, _ = key, value @@ -5860,6 +5916,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.Arn = ptr.String(jtv) } + case "assessmentRunCount": if value != nil { jtv, ok := value.(json.Number) @@ -5872,6 +5929,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.AssessmentRunCount = ptr.Int32(int32(i64)) } + case "assessmentTargetArn": if value != nil { jtv, ok := value.(string) @@ -5880,6 +5938,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.AssessmentTargetArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5895,6 +5954,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } } + case "durationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5907,6 +5967,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "lastAssessmentRunArn": if value != nil { jtv, ok := value.(string) @@ -5915,6 +5976,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.LastAssessmentRunArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5923,14 +5985,17 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp } sv.Name = ptr.String(jtv) } + case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentAssessmentTemplateRulesPackageArnList(&sv.RulesPackageArns, value); err != nil { return err } + case "userAttributesForFindings": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributesForFindings, value); err != nil { return err } + default: _, _ = key, value @@ -6040,6 +6105,7 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AgentId = ptr.String(jtv) } + case "amiId": if value != nil { jtv, ok := value.(string) @@ -6048,6 +6114,7 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AmiId = ptr.String(jtv) } + case "autoScalingGroup": if value != nil { jtv, ok := value.(string) @@ -6056,6 +6123,7 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.AutoScalingGroup = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -6064,14 +6132,17 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.Hostname = ptr.String(jtv) } + case "ipv4Addresses": if err := awsAwsjson11_deserializeDocumentIpv4AddressList(&sv.Ipv4Addresses, value); err != nil { return err } + case "networkInterfaces": if err := awsAwsjson11_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6084,10 +6155,12 @@ func awsAwsjson11_deserializeDocumentAssetAttributes(v **types.AssetAttributes, } sv.SchemaVersion = int32(i64) } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6127,6 +6200,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6135,6 +6209,7 @@ func awsAwsjson11_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6208,6 +6283,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Event = types.InspectorEvent(jtv) } + case "subscribedAt": if value != nil { switch jtv := value.(type) { @@ -6223,6 +6299,7 @@ func awsAwsjson11_deserializeDocumentEventSubscription(v **types.EventSubscripti } } + default: _, _ = key, value @@ -6296,10 +6373,12 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Arn = ptr.String(jtv) } + case "attributes": if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -6308,6 +6387,7 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Description = ptr.String(jtv) } + case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6316,10 +6396,12 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Recommendation = ptr.String(jtv) } + case "scopes": if err := awsAwsjson11_deserializeDocumentScopeList(&sv.Scopes, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -6328,6 +6410,7 @@ func awsAwsjson11_deserializeDocumentExclusion(v **types.Exclusion, value interf } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6398,6 +6481,7 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -6406,6 +6490,7 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Description = ptr.String(jtv) } + case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6414,10 +6499,12 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Recommendation = ptr.String(jtv) } + case "scopes": if err := awsAwsjson11_deserializeDocumentScopeList(&sv.Scopes, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -6426,6 +6513,7 @@ func awsAwsjson11_deserializeDocumentExclusionPreview(v **types.ExclusionPreview } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6499,6 +6587,7 @@ func awsAwsjson11_deserializeDocumentFailedItemDetails(v **types.FailedItemDetai } sv.FailureCode = types.FailedItemErrorCode(jtv) } + case "retryable": if value != nil { jtv, ok := value.(bool) @@ -6507,6 +6596,7 @@ func awsAwsjson11_deserializeDocumentFailedItemDetails(v **types.FailedItemDetai } sv.Retryable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6581,10 +6671,12 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Arn = ptr.String(jtv) } + case "assetAttributes": if err := awsAwsjson11_deserializeDocumentAssetAttributes(&sv.AssetAttributes, value); err != nil { return err } + case "assetType": if value != nil { jtv, ok := value.(string) @@ -6593,10 +6685,12 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AssetType = types.AssetType(jtv) } + case "attributes": if err := awsAwsjson11_deserializeDocumentAttributeList(&sv.Attributes, value); err != nil { return err } + case "confidence": if value != nil { jtv, ok := value.(json.Number) @@ -6609,6 +6703,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Confidence = int32(i64) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6624,6 +6719,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6632,6 +6728,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6640,6 +6737,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "indicatorOfCompromise": if value != nil { jtv, ok := value.(bool) @@ -6648,6 +6746,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.IndicatorOfCompromise = ptr.Bool(jtv) } + case "numericSeverity": if value != nil { switch jtv := value.(type) { @@ -6681,6 +6780,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "recommendation": if value != nil { jtv, ok := value.(string) @@ -6689,6 +6789,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Recommendation = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6701,6 +6802,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = int32(i64) } + case "service": if value != nil { jtv, ok := value.(string) @@ -6709,10 +6811,12 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Service = ptr.String(jtv) } + case "serviceAttributes": if err := awsAwsjson11_deserializeDocumentInspectorServiceAttributes(&sv.ServiceAttributes, value); err != nil { return err } + case "severity": if value != nil { jtv, ok := value.(string) @@ -6721,6 +6825,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6729,6 +6834,7 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -6744,10 +6850,12 @@ func awsAwsjson11_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "userAttributes": if err := awsAwsjson11_deserializeDocumentUserAttributeList(&sv.UserAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -6821,6 +6929,7 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.AssessmentRunArn = ptr.String(jtv) } + case "rulesPackageArn": if value != nil { jtv, ok := value.(string) @@ -6829,6 +6938,7 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.RulesPackageArn = ptr.String(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6841,6 +6951,7 @@ func awsAwsjson11_deserializeDocumentInspectorServiceAttributes(v **types.Inspec } sv.SchemaVersion = int32(i64) } + default: _, _ = key, value @@ -6880,6 +6991,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.CanRetry = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6888,6 +7000,7 @@ func awsAwsjson11_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6927,6 +7040,7 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.CanRetry = ptr.Bool(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -6935,6 +7049,7 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.ErrorCode_ = types.InvalidCrossAccountRoleErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6943,6 +7058,7 @@ func awsAwsjson11_deserializeDocumentInvalidCrossAccountRoleException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6982,6 +7098,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.CanRetry = ptr.Bool(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -6990,6 +7107,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.ErrorCode_ = types.InvalidInputErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6998,6 +7116,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7109,6 +7228,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.CanRetry = ptr.Bool(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7117,6 +7237,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ErrorCode_ = types.LimitExceededErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7125,6 +7246,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7196,6 +7318,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsAwsjson11_deserializeDocumentIpv6Addresses(&sv.Ipv6Addresses, value); err != nil { return err } + case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -7204,6 +7327,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "privateDnsName": if value != nil { jtv, ok := value.(string) @@ -7212,6 +7336,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateDnsName = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -7220,10 +7345,12 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } + case "privateIpAddresses": if err := awsAwsjson11_deserializeDocumentPrivateIpAddresses(&sv.PrivateIpAddresses, value); err != nil { return err } + case "publicDnsName": if value != nil { jtv, ok := value.(string) @@ -7232,6 +7359,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicDnsName = ptr.String(jtv) } + case "publicIp": if value != nil { jtv, ok := value.(string) @@ -7240,10 +7368,12 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIp = ptr.String(jtv) } + case "securityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -7252,6 +7382,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7260,6 +7391,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7333,6 +7465,7 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.CanRetry = ptr.Bool(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7341,6 +7474,7 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.ErrorCode_ = types.NoSuchEntityErrorCode(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7349,6 +7483,7 @@ func awsAwsjson11_deserializeDocumentNoSuchEntityException(v **types.NoSuchEntit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7388,6 +7523,7 @@ func awsAwsjson11_deserializeDocumentPreviewGenerationInProgressException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7427,6 +7563,7 @@ func awsAwsjson11_deserializeDocumentPrivateIp(v **types.PrivateIp, value interf } sv.PrivateDnsName = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -7435,6 +7572,7 @@ func awsAwsjson11_deserializeDocumentPrivateIp(v **types.PrivateIp, value interf } sv.PrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -7508,6 +7646,7 @@ func awsAwsjson11_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -7523,10 +7662,12 @@ func awsAwsjson11_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } } + case "tags": if err := awsAwsjson11_deserializeDocumentResourceGroupTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7600,6 +7741,7 @@ func awsAwsjson11_deserializeDocumentResourceGroupTag(v **types.ResourceGroupTag } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7608,6 +7750,7 @@ func awsAwsjson11_deserializeDocumentResourceGroupTag(v **types.ResourceGroupTag } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7681,6 +7824,7 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7689,6 +7833,7 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7697,6 +7842,7 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -7705,6 +7851,7 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Provider = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7713,6 +7860,7 @@ func awsAwsjson11_deserializeDocumentRulesPackage(v **types.RulesPackage, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7786,6 +7934,7 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Key = types.ScopeType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7794,6 +7943,7 @@ func awsAwsjson11_deserializeDocumentScope(v **types.Scope, value interface{}) e } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7867,6 +8017,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -7875,6 +8026,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroup(v **types.SecurityGroup, valu } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7948,6 +8100,7 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** } sv.CanRetry = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7956,6 +8109,7 @@ func awsAwsjson11_deserializeDocumentServiceTemporarilyUnavailableException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7991,6 +8145,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value if err := awsAwsjson11_deserializeDocumentEventSubscriptionList(&sv.EventSubscriptions, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -7999,6 +8154,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.ResourceArn = ptr.String(jtv) } + case "topicArn": if value != nil { jtv, ok := value.(string) @@ -8007,6 +8163,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8080,6 +8237,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8088,6 +8246,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8199,6 +8358,7 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.Count = ptr.Int64(i64) } + case "dataSize": if value != nil { jtv, ok := value.(json.Number) @@ -8211,6 +8371,7 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.DataSize = ptr.Int64(i64) } + case "messageType": if value != nil { jtv, ok := value.(string) @@ -8219,6 +8380,7 @@ func awsAwsjson11_deserializeDocumentTelemetryMetadata(v **types.TelemetryMetada } sv.MessageType = ptr.String(jtv) } + default: _, _ = key, value @@ -8292,6 +8454,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.CanRetry = ptr.Bool(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8300,6 +8463,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureException(v **types.Unsup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8369,6 +8533,7 @@ func awsAwsjson11_deserializeOpDocumentAddAttributesToFindingsOutput(v **AddAttr if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -8408,6 +8573,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAssessmentTargetOutput(v **CreateAs } sv.AssessmentTargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8447,6 +8613,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAssessmentTemplateOutput(v **Create } sv.AssessmentTemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8486,6 +8653,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExclusionsPreviewOutput(v **CreateE } sv.PreviewToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8525,6 +8693,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceGroupOutput(v **CreateResou } sv.ResourceGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8560,10 +8729,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentRunsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentAssessmentRunList(&sv.AssessmentRuns, value); err != nil { return err } + case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -8599,10 +8770,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentTargetsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAssessmentTargetList(&sv.AssessmentTargets, value); err != nil { return err } + case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -8638,10 +8811,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssessmentTemplatesOutput(v **Des if err := awsAwsjson11_deserializeDocumentAssessmentTemplateList(&sv.AssessmentTemplates, value); err != nil { return err } + case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -8688,6 +8863,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8696,6 +8872,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } sv.RoleArn = ptr.String(jtv) } + case "valid": if value != nil { jtv, ok := value.(bool) @@ -8704,6 +8881,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCrossAccountAccessRoleOutput(v ** } sv.Valid = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8739,10 +8917,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExclusionsOutput(v **DescribeExcl if err := awsAwsjson11_deserializeDocumentExclusionMap(&sv.Exclusions, value); err != nil { return err } + case "failedItems": if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -8778,10 +8958,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFindingsOutput(v **DescribeFindin if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + case "findings": if err := awsAwsjson11_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } + default: _, _ = key, value @@ -8817,10 +8999,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceGroupsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + case "resourceGroups": if err := awsAwsjson11_deserializeDocumentResourceGroupList(&sv.ResourceGroups, value); err != nil { return err } + default: _, _ = key, value @@ -8856,10 +9040,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeRulesPackagesOutput(v **DescribeR if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + case "rulesPackages": if err := awsAwsjson11_deserializeDocumentRulesPackageList(&sv.RulesPackages, value); err != nil { return err } + default: _, _ = key, value @@ -8899,6 +9085,7 @@ func awsAwsjson11_deserializeOpDocumentGetAssessmentReportOutput(v **GetAssessme } sv.Status = types.ReportStatus(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -8907,6 +9094,7 @@ func awsAwsjson11_deserializeOpDocumentGetAssessmentReportOutput(v **GetAssessme } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -8942,6 +9130,7 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi if err := awsAwsjson11_deserializeDocumentExclusionPreviewList(&sv.ExclusionPreviews, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8950,6 +9139,7 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi } sv.NextToken = ptr.String(jtv) } + case "previewStatus": if value != nil { jtv, ok := value.(string) @@ -8958,6 +9148,7 @@ func awsAwsjson11_deserializeOpDocumentGetExclusionsPreviewOutput(v **GetExclusi } sv.PreviewStatus = types.PreviewStatus(jtv) } + default: _, _ = key, value @@ -8993,6 +9184,7 @@ func awsAwsjson11_deserializeOpDocumentGetTelemetryMetadataOutput(v **GetTelemet if err := awsAwsjson11_deserializeDocumentTelemetryMetadataList(&sv.TelemetryMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -9028,6 +9220,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunAgentsOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentAssessmentRunAgentList(&sv.AssessmentRunAgents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9036,6 +9229,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunAgentsOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9071,6 +9265,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunsOutput(v **ListAssessme if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentRunArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9079,6 +9274,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentRunsOutput(v **ListAssessme } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9114,6 +9310,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTargetsOutput(v **ListAsses if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentTargetArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9122,6 +9319,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTargetsOutput(v **ListAsses } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9157,6 +9355,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTemplatesOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.AssessmentTemplateArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9165,6 +9364,7 @@ func awsAwsjson11_deserializeOpDocumentListAssessmentTemplatesOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9204,10 +9404,12 @@ func awsAwsjson11_deserializeOpDocumentListEventSubscriptionsOutput(v **ListEven } sv.NextToken = ptr.String(jtv) } + case "subscriptions": if err := awsAwsjson11_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -9243,6 +9445,7 @@ func awsAwsjson11_deserializeOpDocumentListExclusionsOutput(v **ListExclusionsOu if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.ExclusionArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9251,6 +9454,7 @@ func awsAwsjson11_deserializeOpDocumentListExclusionsOutput(v **ListExclusionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9286,6 +9490,7 @@ func awsAwsjson11_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.FindingArns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9294,6 +9499,7 @@ func awsAwsjson11_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9333,10 +9539,12 @@ func awsAwsjson11_deserializeOpDocumentListRulesPackagesOutput(v **ListRulesPack } sv.NextToken = ptr.String(jtv) } + case "rulesPackageArns": if err := awsAwsjson11_deserializeDocumentListReturnedArnList(&sv.RulesPackageArns, value); err != nil { return err } + default: _, _ = key, value @@ -9372,6 +9580,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9407,6 +9616,7 @@ func awsAwsjson11_deserializeOpDocumentPreviewAgentsOutput(v **PreviewAgentsOutp if err := awsAwsjson11_deserializeDocumentAgentPreviewList(&sv.AgentPreviews, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9415,6 +9625,7 @@ func awsAwsjson11_deserializeOpDocumentPreviewAgentsOutput(v **PreviewAgentsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9450,6 +9661,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveAttributesFromFindingsOutput(v **Re if err := awsAwsjson11_deserializeDocumentFailedItems(&sv.FailedItems, value); err != nil { return err } + default: _, _ = key, value @@ -9489,6 +9701,7 @@ func awsAwsjson11_deserializeOpDocumentStartAssessmentRunOutput(v **StartAssessm } sv.AssessmentRunArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/inspector2/deserializers.go b/service/inspector2/deserializers.go index 59f9448fdb5..9340df8036b 100644 --- a/service/inspector2/deserializers.go +++ b/service/inspector2/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentAssociateMemberOutput(v **AssociateMember } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -349,10 +350,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetAccountStatusOutput(v **BatchGetA if err := awsRestjson1_deserializeDocumentAccountStateList(&sv.Accounts, value); err != nil { return err } + case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -513,10 +516,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetCodeSnippetOutput(v **BatchGetCod if err := awsRestjson1_deserializeDocumentCodeSnippetResultList(&sv.CodeSnippetResults, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentCodeSnippetErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -677,10 +682,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetFindingDetailsOutput(v **BatchGet if err := awsRestjson1_deserializeDocumentFindingDetailsErrorList(&sv.Errors, value); err != nil { return err } + case "findingDetails": if err := awsRestjson1_deserializeDocumentFindingDetails(&sv.FindingDetails, value); err != nil { return err } + default: _, _ = key, value @@ -841,10 +848,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetFreeTrialInfoOutput(v **BatchGetF if err := awsRestjson1_deserializeDocumentFreeTrialAccountInfoList(&sv.Accounts, value); err != nil { return err } + case "failedAccounts": if err := awsRestjson1_deserializeDocumentFreeTrialInfoErrorList(&sv.FailedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1005,10 +1014,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetMemberEc2DeepInspectionStatusOutp if err := awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusStateList(&sv.AccountIds, value); err != nil { return err } + case "failedAccountIds": if err := awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusStateList(&sv.FailedAccountIds, value); err != nil { return err } + default: _, _ = key, value @@ -1169,10 +1180,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateMemberEc2DeepInspectionStatusO if err := awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusStateList(&sv.AccountIds, value); err != nil { return err } + case "failedAccountIds": if err := awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusStateList(&sv.FailedAccountIds, value); err != nil { return err } + default: _, _ = key, value @@ -1340,6 +1353,7 @@ func awsRestjson1_deserializeOpDocumentCancelFindingsReportOutput(v **CancelFind } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1507,6 +1521,7 @@ func awsRestjson1_deserializeOpDocumentCancelSbomExportOutput(v **CancelSbomExpo } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1671,6 +1686,7 @@ func awsRestjson1_deserializeOpDocumentCreateCisScanConfigurationOutput(v **Crea } sv.ScanConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1841,6 +1857,7 @@ func awsRestjson1_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2008,6 +2025,7 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsReportOutput(v **CreateFind } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -2175,6 +2193,7 @@ func awsRestjson1_deserializeOpDocumentCreateSbomExportOutput(v **CreateSbomExpo } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -2342,6 +2361,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCisScanConfigurationOutput(v **Dele } sv.ScanConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2509,6 +2529,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFilterOutput(v **DeleteFilterOutput } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2669,6 +2690,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if err := awsRestjson1_deserializeDocumentAutoEnable(&sv.AutoEnable, value); err != nil { return err } + case "maxAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -2677,6 +2699,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MaxAccountLimitReached = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2840,10 +2863,12 @@ func awsRestjson1_deserializeOpDocumentDisableOutput(v **DisableOutput, value in if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } + case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -3014,6 +3039,7 @@ func awsRestjson1_deserializeOpDocumentDisableDelegatedAdminAccountOutput(v **Di } sv.DelegatedAdminAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -3178,6 +3204,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateMemberOutput(v **Disassociate } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -3341,10 +3368,12 @@ func awsRestjson1_deserializeOpDocumentEnableOutput(v **EnableOutput, value inte if err := awsRestjson1_deserializeDocumentAccountList(&sv.Accounts, value); err != nil { return err } + case "failedAccounts": if err := awsRestjson1_deserializeDocumentFailedAccountList(&sv.FailedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -3515,6 +3544,7 @@ func awsRestjson1_deserializeOpDocumentEnableDelegatedAdminAccountOutput(v **Ena } sv.DelegatedAdminAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -3682,6 +3712,7 @@ func awsRestjson1_deserializeOpDocumentGetCisScanReportOutput(v **GetCisScanRepo } sv.Status = types.CisReportStatus(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -3690,6 +3721,7 @@ func awsRestjson1_deserializeOpDocumentGetCisScanReportOutput(v **GetCisScanRepo } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -3854,10 +3886,12 @@ func awsRestjson1_deserializeOpDocumentGetCisScanResultDetailsOutput(v **GetCisS } sv.NextToken = ptr.String(jtv) } + case "scanResultDetails": if err := awsRestjson1_deserializeDocumentCisScanResultDetailsList(&sv.ScanResultDetails, value); err != nil { return err } + default: _, _ = key, value @@ -4015,10 +4049,12 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationOutput(v **GetConfigurati if err := awsRestjson1_deserializeDocumentEc2ConfigurationState(&sv.Ec2Configuration, value); err != nil { return err } + case "ecrConfiguration": if err := awsRestjson1_deserializeDocumentEcrConfigurationState(&sv.EcrConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4182,6 +4218,7 @@ func awsRestjson1_deserializeOpDocumentGetDelegatedAdminAccountOutput(v **GetDel if err := awsRestjson1_deserializeDocumentDelegatedAdmin(&sv.DelegatedAdmin, value); err != nil { return err } + default: _, _ = key, value @@ -4346,14 +4383,17 @@ func awsRestjson1_deserializeOpDocumentGetEc2DeepInspectionConfigurationOutput(v } sv.ErrorMessage = ptr.String(jtv) } + case "orgPackagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.OrgPackagePaths, value); err != nil { return err } + case "packagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.PackagePaths, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4362,6 +4402,7 @@ func awsRestjson1_deserializeOpDocumentGetEc2DeepInspectionConfigurationOutput(v } sv.Status = types.Ec2DeepInspectionStatus(jtv) } + default: _, _ = key, value @@ -4529,6 +4570,7 @@ func awsRestjson1_deserializeOpDocumentGetEncryptionKeyOutput(v **GetEncryptionK } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -4692,6 +4734,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -4700,6 +4743,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ErrorCode = types.ReportingErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4708,10 +4752,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ErrorMessage = ptr.String(jtv) } + case "filterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "reportId": if value != nil { jtv, ok := value.(string) @@ -4720,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.ReportId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4728,6 +4775,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsReportStatusOutput(v **GetFind } sv.Status = types.ExternalReportStatus(jtv) } + default: _, _ = key, value @@ -4891,6 +4939,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -5058,6 +5107,7 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ErrorCode = types.ReportingErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5066,10 +5116,12 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ErrorMessage = ptr.String(jtv) } + case "filterCriteria": if err := awsRestjson1_deserializeDocumentResourceFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "format": if value != nil { jtv, ok := value.(string) @@ -5078,6 +5130,7 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.Format = types.SbomReportFormat(jtv) } + case "reportId": if value != nil { jtv, ok := value.(string) @@ -5086,10 +5139,12 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.ReportId = ptr.String(jtv) } + case "s3Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.S3Destination, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5098,6 +5153,7 @@ func awsRestjson1_deserializeOpDocumentGetSbomExportOutput(v **GetSbomExportOutp } sv.Status = types.ExternalReportStatus(jtv) } + default: _, _ = key, value @@ -5262,10 +5318,12 @@ func awsRestjson1_deserializeOpDocumentListAccountPermissionsOutput(v **ListAcco } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -5430,10 +5488,12 @@ func awsRestjson1_deserializeOpDocumentListCisScanConfigurationsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + case "scanConfigurations": if err := awsRestjson1_deserializeDocumentCisScanConfigurationList(&sv.ScanConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -5594,6 +5654,7 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByChecksOutpu if err := awsRestjson1_deserializeDocumentCisCheckAggregationList(&sv.CheckAggregations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5602,6 +5663,7 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByChecksOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5766,10 +5828,12 @@ func awsRestjson1_deserializeOpDocumentListCisScanResultsAggregatedByTargetResou } sv.NextToken = ptr.String(jtv) } + case "targetResourceAggregations": if err := awsRestjson1_deserializeDocumentCisTargetResourceAggregationList(&sv.TargetResourceAggregations, value); err != nil { return err } + default: _, _ = key, value @@ -5934,10 +5998,12 @@ func awsRestjson1_deserializeOpDocumentListCisScansOutput(v **ListCisScansOutput } sv.NextToken = ptr.String(jtv) } + case "scans": if err := awsRestjson1_deserializeDocumentCisScanList(&sv.Scans, value); err != nil { return err } + default: _, _ = key, value @@ -6095,6 +6161,7 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput if err := awsRestjson1_deserializeDocumentCoveredResources(&sv.CoveredResources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6103,6 +6170,7 @@ func awsRestjson1_deserializeOpDocumentListCoverageOutput(v **ListCoverageOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6260,6 +6328,7 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove if err := awsRestjson1_deserializeDocumentCountsList(&sv.CountsByGroup, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6268,6 +6337,7 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove } sv.NextToken = ptr.String(jtv) } + case "totalCounts": if value != nil { jtv, ok := value.(json.Number) @@ -6280,6 +6350,7 @@ func awsRestjson1_deserializeOpDocumentListCoverageStatisticsOutput(v **ListCove } sv.TotalCounts = ptr.Int64(i64) } + default: _, _ = key, value @@ -6440,6 +6511,7 @@ func awsRestjson1_deserializeOpDocumentListDelegatedAdminAccountsOutput(v **List if err := awsRestjson1_deserializeDocumentDelegatedAdminAccountList(&sv.DelegatedAdminAccounts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6448,6 +6520,7 @@ func awsRestjson1_deserializeOpDocumentListDelegatedAdminAccountsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6608,6 +6681,7 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6616,6 +6690,7 @@ func awsRestjson1_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6777,6 +6852,7 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregationsOutput(v **ListFin } sv.AggregationType = types.AggregationType(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6785,10 +6861,12 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregationsOutput(v **ListFin } sv.NextToken = ptr.String(jtv) } + case "responses": if err := awsRestjson1_deserializeDocumentAggregationResponseList(&sv.Responses, value); err != nil { return err } + default: _, _ = key, value @@ -6946,6 +7024,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6954,6 +7033,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7114,6 +7194,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7122,6 +7203,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7282,6 +7364,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7446,10 +7529,12 @@ func awsRestjson1_deserializeOpDocumentListUsageTotalsOutput(v **ListUsageTotals } sv.NextToken = ptr.String(jtv) } + case "totals": if err := awsRestjson1_deserializeDocumentUsageTotalList(&sv.Totals, value); err != nil { return err } + default: _, _ = key, value @@ -7714,10 +7799,12 @@ func awsRestjson1_deserializeOpDocumentSearchVulnerabilitiesOutput(v **SearchVul } sv.NextToken = ptr.String(jtv) } + case "vulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilities(&sv.Vulnerabilities, value); err != nil { return err } + default: _, _ = key, value @@ -8482,6 +8569,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCisScanConfigurationOutput(v **Upda } sv.ScanConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8743,14 +8831,17 @@ func awsRestjson1_deserializeOpDocumentUpdateEc2DeepInspectionConfigurationOutpu } sv.ErrorMessage = ptr.String(jtv) } + case "orgPackagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.OrgPackagePaths, value); err != nil { return err } + case "packagePaths": if err := awsRestjson1_deserializeDocumentPathList(&sv.PackagePaths, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8759,6 +8850,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEc2DeepInspectionConfigurationOutpu } sv.Status = types.Ec2DeepInspectionStatus(jtv) } + default: _, _ = key, value @@ -9026,6 +9118,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFilterOutput(v **UpdateFilterOutput } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -9186,6 +9279,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOrganizationConfigurationOutput(v * if err := awsRestjson1_deserializeDocumentAutoEnable(&sv.AutoEnable, value); err != nil { return err } + default: _, _ = key, value @@ -9650,6 +9744,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9689,10 +9784,12 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.AccountId = ptr.String(jtv) } + case "resourceStatus": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.ResourceStatus, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9701,6 +9798,7 @@ func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -9740,6 +9838,7 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.AccountId = ptr.String(jtv) } + case "exploitAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -9752,6 +9851,7 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.ExploitAvailableCount = ptr.Int64(i64) } + case "fixAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -9764,10 +9864,12 @@ func awsRestjson1_deserializeDocumentAccountAggregationResponse(v **types.Accoun } sv.FixAvailableCount = ptr.Int64(i64) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -9841,14 +9943,17 @@ func awsRestjson1_deserializeDocumentAccountState(v **types.AccountState, value } sv.AccountId = ptr.String(jtv) } + case "resourceState": if err := awsRestjson1_deserializeDocumentResourceState(&sv.ResourceState, value); err != nil { return err } + case "state": if err := awsRestjson1_deserializeDocumentState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -10094,6 +10199,7 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.AccountId = ptr.String(jtv) } + case "affectedInstances": if value != nil { jtv, ok := value.(json.Number) @@ -10106,6 +10212,7 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.AffectedInstances = ptr.Int64(i64) } + case "ami": if value != nil { jtv, ok := value.(string) @@ -10114,10 +10221,12 @@ func awsRestjson1_deserializeDocumentAmiAggregationResponse(v **types.AmiAggrega } sv.Ami = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -10200,6 +10309,7 @@ func awsRestjson1_deserializeDocumentAtigData(v **types.AtigData, value interfac } } + case "lastSeen": if value != nil { switch jtv := value.(type) { @@ -10215,14 +10325,17 @@ func awsRestjson1_deserializeDocumentAtigData(v **types.AtigData, value interfac } } + case "targets": if err := awsRestjson1_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "ttps": if err := awsRestjson1_deserializeDocumentTtps(&sv.Ttps, value); err != nil { return err } + default: _, _ = key, value @@ -10262,6 +10375,7 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Ec2 = ptr.Bool(jtv) } + case "ecr": if value != nil { jtv, ok := value.(bool) @@ -10270,6 +10384,7 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Ecr = ptr.Bool(jtv) } + case "lambda": if value != nil { jtv, ok := value.(bool) @@ -10278,6 +10393,7 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.Lambda = ptr.Bool(jtv) } + case "lambdaCode": if value != nil { jtv, ok := value.(bool) @@ -10286,6 +10402,7 @@ func awsRestjson1_deserializeDocumentAutoEnable(v **types.AutoEnable, value inte } sv.LambdaCode = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10325,6 +10442,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.IamInstanceProfileArn = ptr.String(jtv) } + case "imageId": if value != nil { jtv, ok := value.(string) @@ -10333,14 +10451,17 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.ImageId = ptr.String(jtv) } + case "ipV4Addresses": if err := awsRestjson1_deserializeDocumentIpV4AddressList(&sv.IpV4Addresses, value); err != nil { return err } + case "ipV6Addresses": if err := awsRestjson1_deserializeDocumentIpV6AddressList(&sv.IpV6Addresses, value); err != nil { return err } + case "keyName": if value != nil { jtv, ok := value.(string) @@ -10349,6 +10470,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.KeyName = ptr.String(jtv) } + case "launchedAt": if value != nil { switch jtv := value.(type) { @@ -10364,6 +10486,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } } + case "platform": if value != nil { jtv, ok := value.(string) @@ -10372,6 +10495,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Platform = ptr.String(jtv) } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -10380,6 +10504,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.SubnetId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10388,6 +10513,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Type = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10396,6 +10522,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10435,6 +10562,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.AccountId = ptr.String(jtv) } + case "architecture": if value != nil { jtv, ok := value.(string) @@ -10443,6 +10571,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.Architecture = ptr.String(jtv) } + case "imageSha": if value != nil { jtv, ok := value.(string) @@ -10451,10 +10580,12 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.ImageSha = ptr.String(jtv) } + case "imageTags": if err := awsRestjson1_deserializeDocumentStringList(&sv.ImageTags, value); err != nil { return err } + case "repository": if value != nil { jtv, ok := value.(string) @@ -10463,6 +10594,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.Repository = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10471,10 +10603,12 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerAggregationResponse(v **type } sv.ResourceId = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -10514,6 +10648,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -10522,6 +10657,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Author = ptr.String(jtv) } + case "imageHash": if value != nil { jtv, ok := value.(string) @@ -10530,10 +10666,12 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageHash = ptr.String(jtv) } + case "imageTags": if err := awsRestjson1_deserializeDocumentImageTagList(&sv.ImageTags, value); err != nil { return err } + case "platform": if value != nil { jtv, ok := value.(string) @@ -10542,6 +10680,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Platform = ptr.String(jtv) } + case "pushedAt": if value != nil { switch jtv := value.(type) { @@ -10557,6 +10696,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } } + case "registry": if value != nil { jtv, ok := value.(string) @@ -10565,6 +10705,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Registry = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -10573,6 +10714,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -10608,6 +10750,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err := awsRestjson1_deserializeDocumentArchitectureList(&sv.Architectures, value); err != nil { return err } + case "codeSha256": if value != nil { jtv, ok := value.(string) @@ -10616,6 +10759,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.CodeSha256 = ptr.String(jtv) } + case "executionRoleArn": if value != nil { jtv, ok := value.(string) @@ -10624,6 +10768,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.ExecutionRoleArn = ptr.String(jtv) } + case "functionName": if value != nil { jtv, ok := value.(string) @@ -10632,6 +10777,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.FunctionName = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -10647,10 +10793,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } } + case "layers": if err := awsRestjson1_deserializeDocumentLayerList(&sv.Layers, value); err != nil { return err } + case "packageType": if value != nil { jtv, ok := value.(string) @@ -10659,6 +10807,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.PackageType = types.PackageType(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -10667,6 +10816,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Runtime = types.Runtime(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10675,10 +10825,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Version = ptr.String(jtv) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentLambdaVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10718,6 +10870,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10793,6 +10946,7 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } sv.Action = ptr.String(jtv) } + case "dateAdded": if value != nil { switch jtv := value.(type) { @@ -10808,6 +10962,7 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } } + case "dateDue": if value != nil { switch jtv := value.(type) { @@ -10823,6 +10978,7 @@ func awsRestjson1_deserializeDocumentCisaData(v **types.CisaData, value interfac } } + default: _, _ = key, value @@ -10862,6 +11018,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.AccountId = ptr.String(jtv) } + case "checkDescription": if value != nil { jtv, ok := value.(string) @@ -10870,6 +11027,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.CheckDescription = ptr.String(jtv) } + case "checkId": if value != nil { jtv, ok := value.(string) @@ -10878,6 +11036,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.CheckId = ptr.String(jtv) } + case "level": if value != nil { jtv, ok := value.(string) @@ -10886,6 +11045,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Level = types.CisSecurityLevel(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -10894,6 +11054,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Platform = ptr.String(jtv) } + case "scanArn": if value != nil { jtv, ok := value.(string) @@ -10902,10 +11063,12 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.ScanArn = ptr.String(jtv) } + case "statusCounts": if err := awsRestjson1_deserializeDocumentStatusCounts(&sv.StatusCounts, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -10914,6 +11077,7 @@ func awsRestjson1_deserializeDocumentCisCheckAggregation(v **types.CisCheckAggre } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -10991,6 +11155,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.FailedChecks = ptr.Int32(int32(i64)) } + case "scanArn": if value != nil { jtv, ok := value.(string) @@ -10999,6 +11164,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanArn = ptr.String(jtv) } + case "scanConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -11007,6 +11173,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanConfigurationArn = ptr.String(jtv) } + case "scanDate": if value != nil { switch jtv := value.(type) { @@ -11022,6 +11189,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -11030,6 +11198,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScanName = ptr.String(jtv) } + case "scheduledBy": if value != nil { jtv, ok := value.(string) @@ -11038,6 +11207,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.ScheduledBy = ptr.String(jtv) } + case "securityLevel": if value != nil { jtv, ok := value.(string) @@ -11046,6 +11216,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.SecurityLevel = types.CisSecurityLevel(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11054,10 +11225,12 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.Status = types.CisScanStatus(jtv) } + case "targets": if err := awsRestjson1_deserializeDocumentCisTargets(&sv.Targets, value); err != nil { return err } + case "totalChecks": if value != nil { jtv, ok := value.(json.Number) @@ -11070,6 +11243,7 @@ func awsRestjson1_deserializeDocumentCisScan(v **types.CisScan, value interface{ } sv.TotalChecks = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11109,6 +11283,7 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.OwnerId = ptr.String(jtv) } + case "scanConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -11117,6 +11292,7 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.ScanConfigurationArn = ptr.String(jtv) } + case "scanName": if value != nil { jtv, ok := value.(string) @@ -11125,10 +11301,12 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.ScanName = ptr.String(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "securityLevel": if value != nil { jtv, ok := value.(string) @@ -11137,14 +11315,17 @@ func awsRestjson1_deserializeDocumentCisScanConfiguration(v **types.CisScanConfi } sv.SecurityLevel = types.CisSecurityLevel(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentCisTagMap(&sv.Tags, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentCisTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -11252,6 +11433,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.AccountId = ptr.String(jtv) } + case "checkDescription": if value != nil { jtv, ok := value.(string) @@ -11260,6 +11442,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.CheckDescription = ptr.String(jtv) } + case "checkId": if value != nil { jtv, ok := value.(string) @@ -11268,6 +11451,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.CheckId = ptr.String(jtv) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -11276,6 +11460,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.FindingArn = ptr.String(jtv) } + case "level": if value != nil { jtv, ok := value.(string) @@ -11284,6 +11469,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Level = types.CisSecurityLevel(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -11292,6 +11478,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Platform = ptr.String(jtv) } + case "remediation": if value != nil { jtv, ok := value.(string) @@ -11300,6 +11487,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Remediation = ptr.String(jtv) } + case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11308,6 +11496,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.ScanArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11316,6 +11505,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Status = types.CisFindingStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11324,6 +11514,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.StatusReason = ptr.String(jtv) } + case "targetResourceId": if value != nil { jtv, ok := value.(string) @@ -11332,6 +11523,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.TargetResourceId = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -11340,6 +11532,7 @@ func awsRestjson1_deserializeDocumentCisScanResultDetails(v **types.CisScanResul } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -11449,6 +11642,7 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.AccountId = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -11457,6 +11651,7 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.Platform = ptr.String(jtv) } + case "scanArn": if value != nil { jtv, ok := value.(string) @@ -11465,10 +11660,12 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.ScanArn = ptr.String(jtv) } + case "statusCounts": if err := awsRestjson1_deserializeDocumentStatusCounts(&sv.StatusCounts, value); err != nil { return err } + case "targetResourceId": if value != nil { jtv, ok := value.(string) @@ -11477,10 +11674,12 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetResourceId = ptr.String(jtv) } + case "targetResourceTags": if err := awsRestjson1_deserializeDocumentTargetResourceTags(&sv.TargetResourceTags, value); err != nil { return err } + case "targetStatus": if value != nil { jtv, ok := value.(string) @@ -11489,6 +11688,7 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetStatus = types.CisTargetStatus(jtv) } + case "targetStatusReason": if value != nil { jtv, ok := value.(string) @@ -11497,6 +11697,7 @@ func awsRestjson1_deserializeDocumentCisTargetResourceAggregation(v **types.CisT } sv.TargetStatusReason = types.CisTargetStatusReason(jtv) } + default: _, _ = key, value @@ -11566,10 +11767,12 @@ func awsRestjson1_deserializeDocumentCisTargets(v **types.CisTargets, value inte if err := awsRestjson1_deserializeDocumentCisAccountIdList(&sv.AccountIds, value); err != nil { return err } + case "targetResourceTags": if err := awsRestjson1_deserializeDocumentTargetResourceTags(&sv.TargetResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -11613,6 +11816,7 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.EndLine = ptr.Int32(int32(i64)) } + case "fileName": if value != nil { jtv, ok := value.(string) @@ -11621,6 +11825,7 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.FileName = ptr.String(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -11629,6 +11834,7 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.FilePath = ptr.String(jtv) } + case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -11641,6 +11847,7 @@ func awsRestjson1_deserializeDocumentCodeFilePath(v **types.CodeFilePath, value } sv.StartLine = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11680,6 +11887,7 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.Content = ptr.String(jtv) } + case "lineNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11692,6 +11900,7 @@ func awsRestjson1_deserializeDocumentCodeLine(v **types.CodeLine, value interfac } sv.LineNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11765,6 +11974,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.ErrorCode = types.CodeSnippetErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -11773,6 +11983,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.ErrorMessage = ptr.String(jtv) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -11781,6 +11992,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetError(v **types.CodeSnippetError } sv.FindingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11850,6 +12062,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu if err := awsRestjson1_deserializeDocumentCodeLineList(&sv.CodeSnippet, value); err != nil { return err } + case "endLine": if value != nil { jtv, ok := value.(json.Number) @@ -11862,6 +12075,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.EndLine = ptr.Int32(int32(i64)) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -11870,6 +12084,7 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.FindingArn = ptr.String(jtv) } + case "startLine": if value != nil { jtv, ok := value.(json.Number) @@ -11882,10 +12097,12 @@ func awsRestjson1_deserializeDocumentCodeSnippetResult(v **types.CodeSnippetResu } sv.StartLine = ptr.Int32(int32(i64)) } + case "suggestedFixes": if err := awsRestjson1_deserializeDocumentSuggestedFixes(&sv.SuggestedFixes, value); err != nil { return err } + default: _, _ = key, value @@ -11955,6 +12172,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln if err := awsRestjson1_deserializeDocumentCweList(&sv.Cwes, value); err != nil { return err } + case "detectorId": if value != nil { jtv, ok := value.(string) @@ -11963,6 +12181,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.DetectorId = ptr.String(jtv) } + case "detectorName": if value != nil { jtv, ok := value.(string) @@ -11971,18 +12190,22 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.DetectorName = ptr.String(jtv) } + case "detectorTags": if err := awsRestjson1_deserializeDocumentDetectorTagList(&sv.DetectorTags, value); err != nil { return err } + case "filePath": if err := awsRestjson1_deserializeDocumentCodeFilePath(&sv.FilePath, value); err != nil { return err } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -11991,6 +12214,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.RuleId = ptr.String(jtv) } + case "sourceLambdaLayerArn": if value != nil { jtv, ok := value.(string) @@ -11999,6 +12223,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(v **types.CodeVuln } sv.SourceLambdaLayerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12038,6 +12263,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12046,6 +12272,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12054,6 +12281,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -12097,6 +12325,7 @@ func awsRestjson1_deserializeDocumentCounts(v **types.Counts, value interface{}) } sv.Count = i64 } + case "groupKey": if value != nil { jtv, ok := value.(string) @@ -12105,6 +12334,7 @@ func awsRestjson1_deserializeDocumentCounts(v **types.Counts, value interface{}) } sv.GroupKey = types.GroupKey(jtv) } + default: _, _ = key, value @@ -12178,6 +12408,7 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.AccountId = ptr.String(jtv) } + case "lastScannedAt": if value != nil { switch jtv := value.(type) { @@ -12193,6 +12424,7 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12201,10 +12433,12 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ResourceId = ptr.String(jtv) } + case "resourceMetadata": if err := awsRestjson1_deserializeDocumentResourceScanMetadata(&sv.ResourceMetadata, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12213,6 +12447,7 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ResourceType = types.CoverageResourceType(jtv) } + case "scanMode": if value != nil { jtv, ok := value.(string) @@ -12221,10 +12456,12 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ScanMode = types.ScanMode(jtv) } + case "scanStatus": if err := awsRestjson1_deserializeDocumentScanStatus(&sv.ScanStatus, value); err != nil { return err } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -12233,6 +12470,7 @@ func awsRestjson1_deserializeDocumentCoveredResource(v **types.CoveredResource, } sv.ScanType = types.ScanType(jtv) } + default: _, _ = key, value @@ -12331,6 +12569,7 @@ func awsRestjson1_deserializeDocumentCvss2(v **types.Cvss2, value interface{}) e } } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12339,6 +12578,7 @@ func awsRestjson1_deserializeDocumentCvss2(v **types.Cvss2, value interface{}) e } sv.ScoringVector = ptr.String(jtv) } + default: _, _ = key, value @@ -12403,6 +12643,7 @@ func awsRestjson1_deserializeDocumentCvss3(v **types.Cvss3, value interface{}) e } } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12411,6 +12652,7 @@ func awsRestjson1_deserializeDocumentCvss3(v **types.Cvss3, value interface{}) e } sv.ScoringVector = ptr.String(jtv) } + default: _, _ = key, value @@ -12475,6 +12717,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12483,6 +12726,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.ScoringVector = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -12491,6 +12735,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Source = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12499,6 +12744,7 @@ func awsRestjson1_deserializeDocumentCvssScore(v **types.CvssScore, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12538,6 +12784,7 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Metric = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -12546,6 +12793,7 @@ func awsRestjson1_deserializeDocumentCvssScoreAdjustment(v **types.CvssScoreAdju } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -12615,6 +12863,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails if err := awsRestjson1_deserializeDocumentCvssScoreAdjustmentList(&sv.Adjustments, value); err != nil { return err } + case "cvssSource": if value != nil { jtv, ok := value.(string) @@ -12623,6 +12872,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.CvssSource = ptr.String(jtv) } + case "score": if value != nil { switch jtv := value.(type) { @@ -12656,6 +12906,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } } + case "scoreSource": if value != nil { jtv, ok := value.(string) @@ -12664,6 +12915,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoreSource = ptr.String(jtv) } + case "scoringVector": if value != nil { jtv, ok := value.(string) @@ -12672,6 +12924,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.ScoringVector = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12680,6 +12933,7 @@ func awsRestjson1_deserializeDocumentCvssScoreDetails(v **types.CvssScoreDetails } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12821,6 +13075,7 @@ func awsRestjson1_deserializeDocumentDailySchedule(v **types.DailySchedule, valu if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } + default: _, _ = key, value @@ -12867,6 +13122,7 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } } + case "startInclusive": if value != nil { switch jtv := value.(type) { @@ -12882,6 +13138,7 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } } + default: _, _ = key, value @@ -12991,6 +13248,7 @@ func awsRestjson1_deserializeDocumentDelegatedAdmin(v **types.DelegatedAdmin, va } sv.AccountId = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -12999,6 +13257,7 @@ func awsRestjson1_deserializeDocumentDelegatedAdmin(v **types.DelegatedAdmin, va } sv.RelationshipStatus = types.RelationshipStatus(jtv) } + default: _, _ = key, value @@ -13038,6 +13297,7 @@ func awsRestjson1_deserializeDocumentDelegatedAdminAccount(v **types.DelegatedAd } sv.AccountId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13046,6 +13306,7 @@ func awsRestjson1_deserializeDocumentDelegatedAdminAccount(v **types.DelegatedAd } sv.Status = types.DelegatedAdminStatus(jtv) } + default: _, _ = key, value @@ -13119,6 +13380,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.BucketName = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -13127,6 +13389,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.KeyPrefix = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -13135,6 +13398,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13242,6 +13506,7 @@ func awsRestjson1_deserializeDocumentEc2ConfigurationState(v **types.Ec2Configur if err := awsRestjson1_deserializeDocumentEc2ScanModeState(&sv.ScanModeState, value); err != nil { return err } + default: _, _ = key, value @@ -13281,6 +13546,7 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.AccountId = ptr.String(jtv) } + case "ami": if value != nil { jtv, ok := value.(string) @@ -13289,6 +13555,7 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.Ami = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -13297,10 +13564,12 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.InstanceId = ptr.String(jtv) } + case "instanceTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.InstanceTags, value); err != nil { return err } + case "networkFindings": if value != nil { jtv, ok := value.(json.Number) @@ -13313,6 +13582,7 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.NetworkFindings = ptr.Int64(i64) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -13321,10 +13591,12 @@ func awsRestjson1_deserializeDocumentEc2InstanceAggregationResponse(v **types.Ec } sv.OperatingSystem = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -13364,6 +13636,7 @@ func awsRestjson1_deserializeDocumentEc2Metadata(v **types.Ec2Metadata, value in } sv.AmiId = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -13372,10 +13645,12 @@ func awsRestjson1_deserializeDocumentEc2Metadata(v **types.Ec2Metadata, value in } sv.Platform = types.Ec2Platform(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13415,6 +13690,7 @@ func awsRestjson1_deserializeDocumentEc2ScanModeState(v **types.Ec2ScanModeState } sv.ScanMode = types.Ec2ScanMode(jtv) } + case "scanModeStatus": if value != nil { jtv, ok := value.(string) @@ -13423,6 +13699,7 @@ func awsRestjson1_deserializeDocumentEc2ScanModeState(v **types.Ec2ScanModeState } sv.ScanModeStatus = types.Ec2ScanModeStatus(jtv) } + default: _, _ = key, value @@ -13458,6 +13735,7 @@ func awsRestjson1_deserializeDocumentEcrConfigurationState(v **types.EcrConfigur if err := awsRestjson1_deserializeDocumentEcrRescanDurationState(&sv.RescanDurationState, value); err != nil { return err } + default: _, _ = key, value @@ -13504,10 +13782,12 @@ func awsRestjson1_deserializeDocumentEcrContainerImageMetadata(v **types.EcrCont } } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13547,6 +13827,7 @@ func awsRestjson1_deserializeDocumentEcrRepositoryMetadata(v **types.EcrReposito } sv.Name = ptr.String(jtv) } + case "scanFrequency": if value != nil { jtv, ok := value.(string) @@ -13555,6 +13836,7 @@ func awsRestjson1_deserializeDocumentEcrRepositoryMetadata(v **types.EcrReposito } sv.ScanFrequency = types.EcrScanFrequency(jtv) } + default: _, _ = key, value @@ -13594,6 +13876,7 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.PullDateRescanDuration = types.EcrPullDateRescanDuration(jtv) } + case "rescanDuration": if value != nil { jtv, ok := value.(string) @@ -13602,6 +13885,7 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.RescanDuration = types.EcrRescanDuration(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13610,6 +13894,7 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } sv.Status = types.EcrRescanDurationStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13625,6 +13910,7 @@ func awsRestjson1_deserializeDocumentEcrRescanDurationState(v **types.EcrRescanD } } + default: _, _ = key, value @@ -13689,6 +13975,7 @@ func awsRestjson1_deserializeDocumentEpss(v **types.Epss, value interface{}) err } } + default: _, _ = key, value @@ -13753,6 +14040,7 @@ func awsRestjson1_deserializeDocumentEpssDetails(v **types.EpssDetails, value in } } + default: _, _ = key, value @@ -13792,6 +14080,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceDetail = ptr.String(jtv) } + case "evidenceRule": if value != nil { jtv, ok := value.(string) @@ -13800,6 +14089,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.EvidenceRule = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -13808,6 +14098,7 @@ func awsRestjson1_deserializeDocumentEvidence(v **types.Evidence, value interfac } sv.Severity = ptr.String(jtv) } + default: _, _ = key, value @@ -13888,6 +14179,7 @@ func awsRestjson1_deserializeDocumentExploitabilityDetails(v **types.Exploitabil } } + default: _, _ = key, value @@ -13934,6 +14226,7 @@ func awsRestjson1_deserializeDocumentExploitObserved(v **types.ExploitObserved, } } + case "lastSeen": if value != nil { switch jtv := value.(type) { @@ -13949,6 +14242,7 @@ func awsRestjson1_deserializeDocumentExploitObserved(v **types.ExploitObserved, } } + default: _, _ = key, value @@ -13988,6 +14282,7 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.AccountId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -13996,6 +14291,7 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14004,10 +14300,12 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.ErrorMessage = ptr.String(jtv) } + case "resourceStatus": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.ResourceStatus, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14016,6 +14314,7 @@ func awsRestjson1_deserializeDocumentFailedAccount(v **types.FailedAccount, valu } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -14089,6 +14388,7 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.AccountId = ptr.String(jtv) } + case "ec2ScanStatus": if value != nil { jtv, ok := value.(string) @@ -14097,6 +14397,7 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.Ec2ScanStatus = types.Status(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14105,6 +14406,7 @@ func awsRestjson1_deserializeDocumentFailedMemberAccountEc2DeepInspectionStatusS } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -14178,6 +14480,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Action = types.FilterAction(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14186,6 +14489,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14201,10 +14505,12 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + case "criteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.Criteria, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -14213,6 +14519,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14221,6 +14528,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } + case "ownerId": if value != nil { jtv, ok := value.(string) @@ -14229,6 +14537,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.OwnerId = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -14237,10 +14546,12 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Reason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14256,6 +14567,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + default: _, _ = key, value @@ -14291,170 +14603,212 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } + case "codeVulnerabilityDetectorName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityDetectorName, value); err != nil { return err } + case "codeVulnerabilityDetectorTags": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityDetectorTags, value); err != nil { return err } + case "codeVulnerabilityFilePath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CodeVulnerabilityFilePath, value); err != nil { return err } + case "componentId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComponentId, value); err != nil { return err } + case "componentType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComponentType, value); err != nil { return err } + case "ec2InstanceImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceImageId, value); err != nil { return err } + case "ec2InstanceSubnetId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceSubnetId, value); err != nil { return err } + case "ec2InstanceVpcId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Ec2InstanceVpcId, value); err != nil { return err } + case "ecrImageArchitecture": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageArchitecture, value); err != nil { return err } + case "ecrImageHash": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageHash, value); err != nil { return err } + case "ecrImagePushedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.EcrImagePushedAt, value); err != nil { return err } + case "ecrImageRegistry": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageRegistry, value); err != nil { return err } + case "ecrImageRepositoryName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageRepositoryName, value); err != nil { return err } + case "ecrImageTags": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.EcrImageTags, value); err != nil { return err } + case "epssScore": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.EpssScore, value); err != nil { return err } + case "exploitAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ExploitAvailable, value); err != nil { return err } + case "findingArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingArn, value); err != nil { return err } + case "findingStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingStatus, value); err != nil { return err } + case "findingType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingType, value); err != nil { return err } + case "firstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } + case "fixAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FixAvailable, value); err != nil { return err } + case "inspectorScore": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.InspectorScore, value); err != nil { return err } + case "lambdaFunctionExecutionRoleArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionExecutionRoleArn, value); err != nil { return err } + case "lambdaFunctionLastModifiedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LambdaFunctionLastModifiedAt, value); err != nil { return err } + case "lambdaFunctionLayers": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionLayers, value); err != nil { return err } + case "lambdaFunctionName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionName, value); err != nil { return err } + case "lambdaFunctionRuntime": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.LambdaFunctionRuntime, value); err != nil { return err } + case "lastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } + case "networkProtocol": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkProtocol, value); err != nil { return err } + case "portRange": if err := awsRestjson1_deserializeDocumentPortRangeFilterList(&sv.PortRange, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "resourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } + case "resourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } + case "resourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } + case "severity": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Severity, value); err != nil { return err } + case "title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } + case "updatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } + case "vendorSeverity": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VendorSeverity, value); err != nil { return err } + case "vulnerabilityId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilityId, value); err != nil { return err } + case "vulnerabilitySource": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitySource, value); err != nil { return err } + case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentPackageFilterList(&sv.VulnerablePackages, value); err != nil { return err } + default: _, _ = key, value @@ -14528,10 +14882,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AwsAccountId = ptr.String(jtv) } + case "codeVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentCodeVulnerabilityDetails(&sv.CodeVulnerabilityDetails, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -14540,14 +14896,17 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } + case "epss": if err := awsRestjson1_deserializeDocumentEpssDetails(&sv.Epss, value); err != nil { return err } + case "exploitabilityDetails": if err := awsRestjson1_deserializeDocumentExploitabilityDetails(&sv.ExploitabilityDetails, value); err != nil { return err } + case "exploitAvailable": if value != nil { jtv, ok := value.(string) @@ -14556,6 +14915,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.ExploitAvailable = types.ExploitAvailable(jtv) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -14564,6 +14924,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.FindingArn = ptr.String(jtv) } + case "firstObservedAt": if value != nil { switch jtv := value.(type) { @@ -14579,6 +14940,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "fixAvailable": if value != nil { jtv, ok := value.(string) @@ -14587,6 +14949,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.FixAvailable = types.FixAvailable(jtv) } + case "inspectorScore": if value != nil { switch jtv := value.(type) { @@ -14620,10 +14983,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "inspectorScoreDetails": if err := awsRestjson1_deserializeDocumentInspectorScoreDetails(&sv.InspectorScoreDetails, value); err != nil { return err } + case "lastObservedAt": if value != nil { switch jtv := value.(type) { @@ -14639,22 +15004,27 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "networkReachabilityDetails": if err := awsRestjson1_deserializeDocumentNetworkReachabilityDetails(&sv.NetworkReachabilityDetails, value); err != nil { return err } + case "packageVulnerabilityDetails": if err := awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(&sv.PackageVulnerabilityDetails, value); err != nil { return err } + case "remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } + case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "severity": if value != nil { jtv, ok := value.(string) @@ -14663,6 +15033,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Severity = types.Severity(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14671,6 +15042,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Status = types.FindingStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -14679,6 +15051,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14687,6 +15060,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = types.FindingType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -14702,6 +15076,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + default: _, _ = key, value @@ -14737,10 +15112,12 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu if err := awsRestjson1_deserializeDocumentCisaData(&sv.CisaData, value); err != nil { return err } + case "cwes": if err := awsRestjson1_deserializeDocumentCwes(&sv.Cwes, value); err != nil { return err } + case "epssScore": if value != nil { switch jtv := value.(type) { @@ -14774,14 +15151,17 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } } + case "evidences": if err := awsRestjson1_deserializeDocumentEvidenceList(&sv.Evidences, value); err != nil { return err } + case "exploitObserved": if err := awsRestjson1_deserializeDocumentExploitObserved(&sv.ExploitObserved, value); err != nil { return err } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -14790,10 +15170,12 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } sv.FindingArn = ptr.String(jtv) } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentVulnerabilityReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } + case "riskScore": if value != nil { jtv, ok := value.(json.Number) @@ -14806,14 +15188,17 @@ func awsRestjson1_deserializeDocumentFindingDetail(v **types.FindingDetail, valu } sv.RiskScore = ptr.Int32(int32(i64)) } + case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } + case "ttps": if err := awsRestjson1_deserializeDocumentTtps(&sv.Ttps, value); err != nil { return err } + default: _, _ = key, value @@ -14887,6 +15272,7 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.ErrorCode = types.FindingDetailsErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14895,6 +15281,7 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.ErrorMessage = ptr.String(jtv) } + case "findingArn": if value != nil { jtv, ok := value.(string) @@ -14903,6 +15290,7 @@ func awsRestjson1_deserializeDocumentFindingDetailsError(v **types.FindingDetail } sv.FindingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15010,6 +15398,7 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.AccountId = ptr.String(jtv) } + case "exploitAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -15022,6 +15411,7 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.ExploitAvailableCount = ptr.Int64(i64) } + case "fixAvailableCount": if value != nil { jtv, ok := value.(json.Number) @@ -15034,10 +15424,12 @@ func awsRestjson1_deserializeDocumentFindingTypeAggregationResponse(v **types.Fi } sv.FixAvailableCount = ptr.Int64(i64) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -15077,10 +15469,12 @@ func awsRestjson1_deserializeDocumentFreeTrialAccountInfo(v **types.FreeTrialAcc } sv.AccountId = ptr.String(jtv) } + case "freeTrialInfo": if err := awsRestjson1_deserializeDocumentFreeTrialInfoList(&sv.FreeTrialInfo, value); err != nil { return err } + default: _, _ = key, value @@ -15161,6 +15555,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } } + case "start": if value != nil { switch jtv := value.(type) { @@ -15176,6 +15571,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -15184,6 +15580,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } sv.Status = types.FreeTrialStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -15192,6 +15589,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfo(v **types.FreeTrialInfo, valu } sv.Type = types.FreeTrialType(jtv) } + default: _, _ = key, value @@ -15231,6 +15629,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.AccountId = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -15239,6 +15638,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.Code = types.FreeTrialInfoErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -15247,6 +15647,7 @@ func awsRestjson1_deserializeDocumentFreeTrialInfoError(v **types.FreeTrialInfoE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15354,6 +15755,7 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.AccountId = ptr.String(jtv) } + case "layerHash": if value != nil { jtv, ok := value.(string) @@ -15362,6 +15764,7 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.LayerHash = ptr.String(jtv) } + case "repository": if value != nil { jtv, ok := value.(string) @@ -15370,6 +15773,7 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.Repository = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15378,10 +15782,12 @@ func awsRestjson1_deserializeDocumentImageLayerAggregationResponse(v **types.Ima } sv.ResourceId = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -15453,6 +15859,7 @@ func awsRestjson1_deserializeDocumentInspectorScoreDetails(v **types.InspectorSc if err := awsRestjson1_deserializeDocumentCvssScoreDetails(&sv.AdjustedCvss, value); err != nil { return err } + default: _, _ = key, value @@ -15492,6 +15899,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15504,6 +15912,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15615,6 +16024,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.AccountId = ptr.String(jtv) } + case "functionName": if value != nil { jtv, ok := value.(string) @@ -15623,10 +16033,12 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.FunctionName = ptr.String(jtv) } + case "lambdaTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.LambdaTags, value); err != nil { return err } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -15642,6 +16054,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15650,6 +16063,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.ResourceId = ptr.String(jtv) } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -15658,10 +16072,12 @@ func awsRestjson1_deserializeDocumentLambdaFunctionAggregationResponse(v **types } sv.Runtime = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -15701,14 +16117,17 @@ func awsRestjson1_deserializeDocumentLambdaFunctionMetadata(v **types.LambdaFunc } sv.FunctionName = ptr.String(jtv) } + case "functionTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.FunctionTags, value); err != nil { return err } + case "layers": if err := awsRestjson1_deserializeDocumentLambdaLayerList(&sv.Layers, value); err != nil { return err } + case "runtime": if value != nil { jtv, ok := value.(string) @@ -15717,6 +16136,7 @@ func awsRestjson1_deserializeDocumentLambdaFunctionMetadata(v **types.LambdaFunc } sv.Runtime = types.Runtime(jtv) } + default: _, _ = key, value @@ -15756,6 +16176,7 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.AccountId = ptr.String(jtv) } + case "functionName": if value != nil { jtv, ok := value.(string) @@ -15764,6 +16185,7 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.FunctionName = ptr.String(jtv) } + case "layerArn": if value != nil { jtv, ok := value.(string) @@ -15772,6 +16194,7 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.LayerArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15780,10 +16203,12 @@ func awsRestjson1_deserializeDocumentLambdaLayerAggregationResponse(v **types.La } sv.ResourceId = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -15855,10 +16280,12 @@ func awsRestjson1_deserializeDocumentLambdaVpcConfig(v **types.LambdaVpcConfig, if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15867,6 +16294,7 @@ func awsRestjson1_deserializeDocumentLambdaVpcConfig(v **types.LambdaVpcConfig, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -15942,6 +16370,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Comparison = types.MapComparison(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -15950,6 +16379,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -15958,6 +16388,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16031,6 +16462,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "delegatedAdminAccountId": if value != nil { jtv, ok := value.(string) @@ -16039,6 +16471,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.DelegatedAdminAccountId = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -16047,6 +16480,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = types.RelationshipStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -16062,6 +16496,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } } + default: _, _ = key, value @@ -16101,6 +16536,7 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.AccountId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -16109,6 +16545,7 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.ErrorMessage = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16117,6 +16554,7 @@ func awsRestjson1_deserializeDocumentMemberAccountEc2DeepInspectionStatusState(v } sv.Status = types.Ec2DeepInspectionStatus(jtv) } + default: _, _ = key, value @@ -16224,10 +16662,12 @@ func awsRestjson1_deserializeDocumentMonthlySchedule(v **types.MonthlySchedule, } sv.Day = types.Day(jtv) } + case "startTime": if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } + default: _, _ = key, value @@ -16263,6 +16703,7 @@ func awsRestjson1_deserializeDocumentNetworkPath(v **types.NetworkPath, value in if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -16298,10 +16739,12 @@ func awsRestjson1_deserializeDocumentNetworkReachabilityDetails(v **types.Networ if err := awsRestjson1_deserializeDocumentNetworkPath(&sv.NetworkPath, value); err != nil { return err } + case "openPortRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.OpenPortRange, value); err != nil { return err } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -16310,6 +16753,7 @@ func awsRestjson1_deserializeDocumentNetworkReachabilityDetails(v **types.Networ } sv.Protocol = types.NetworkProtocol(jtv) } + default: _, _ = key, value @@ -16410,6 +16854,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + case "upperInclusive": if value != nil { switch jtv := value.(type) { @@ -16443,6 +16888,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + default: _, _ = key, value @@ -16547,6 +16993,7 @@ func awsRestjson1_deserializeDocumentPackageAggregationResponse(v **types.Packag } sv.AccountId = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -16555,10 +17002,12 @@ func awsRestjson1_deserializeDocumentPackageAggregationResponse(v **types.Packag } sv.PackageName = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -16594,30 +17043,37 @@ func awsRestjson1_deserializeDocumentPackageFilter(v **types.PackageFilter, valu if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Architecture, value); err != nil { return err } + case "epoch": if err := awsRestjson1_deserializeDocumentNumberFilter(&sv.Epoch, value); err != nil { return err } + case "name": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Name, value); err != nil { return err } + case "release": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Release, value); err != nil { return err } + case "sourceLambdaLayerArn": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.SourceLambdaLayerArn, value); err != nil { return err } + case "sourceLayerHash": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.SourceLayerHash, value); err != nil { return err } + case "version": if err := awsRestjson1_deserializeDocumentStringFilter(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -16687,14 +17143,17 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa if err := awsRestjson1_deserializeDocumentCvssScoreList(&sv.Cvss, value); err != nil { return err } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ReferenceUrls, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityIdList(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -16703,6 +17162,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.Source = ptr.String(jtv) } + case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -16711,6 +17171,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.SourceUrl = ptr.String(jtv) } + case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -16726,6 +17187,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -16734,6 +17196,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VendorSeverity = ptr.String(jtv) } + case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16749,6 +17212,7 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } } + case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -16757,10 +17221,12 @@ func awsRestjson1_deserializeDocumentPackageVulnerabilityDetails(v **types.Packa } sv.VulnerabilityId = ptr.String(jtv) } + case "vulnerablePackages": if err := awsRestjson1_deserializeDocumentVulnerablePackageList(&sv.VulnerablePackages, value); err != nil { return err } + default: _, _ = key, value @@ -16836,6 +17302,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Operation = types.Operation(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -16844,6 +17311,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Service = types.Service(jtv) } + default: _, _ = key, value @@ -16921,6 +17389,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.Begin = ptr.Int32(int32(i64)) } + case "end": if value != nil { jtv, ok := value.(json.Number) @@ -16933,6 +17402,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.End = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16976,6 +17446,7 @@ func awsRestjson1_deserializeDocumentPortRangeFilter(v **types.PortRangeFilter, } sv.BeginInclusive = ptr.Int32(int32(i64)) } + case "endInclusive": if value != nil { jtv, ok := value.(json.Number) @@ -16988,6 +17459,7 @@ func awsRestjson1_deserializeDocumentPortRangeFilter(v **types.PortRangeFilter, } sv.EndInclusive = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17061,6 +17533,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -17069,6 +17542,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -17176,6 +17650,7 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } + default: _, _ = key, value @@ -17215,6 +17690,7 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.AccountId = ptr.String(jtv) } + case "affectedImages": if value != nil { jtv, ok := value.(json.Number) @@ -17227,6 +17703,7 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.AffectedImages = ptr.Int64(i64) } + case "repository": if value != nil { jtv, ok := value.(string) @@ -17235,10 +17712,12 @@ func awsRestjson1_deserializeDocumentRepositoryAggregationResponse(v **types.Rep } sv.Repository = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + default: _, _ = key, value @@ -17274,6 +17753,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17282,6 +17762,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "partition": if value != nil { jtv, ok := value.(string) @@ -17290,6 +17771,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Partition = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -17298,10 +17780,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -17310,6 +17794,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = types.ResourceType(jtv) } + default: _, _ = key, value @@ -17345,14 +17830,17 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(&sv.AwsEc2Instance, value); err != nil { return err } + case "awsEcrContainerImage": if err := awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } + case "awsLambdaFunction": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(&sv.AwsLambdaFunction, value); err != nil { return err } + default: _, _ = key, value @@ -17388,34 +17876,42 @@ func awsRestjson1_deserializeDocumentResourceFilterCriteria(v **types.ResourceFi if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.AccountId, value); err != nil { return err } + case "ec2InstanceTags": if err := awsRestjson1_deserializeDocumentResourceMapFilterList(&sv.Ec2InstanceTags, value); err != nil { return err } + case "ecrImageTags": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.EcrImageTags, value); err != nil { return err } + case "ecrRepositoryName": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.EcrRepositoryName, value); err != nil { return err } + case "lambdaFunctionName": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.LambdaFunctionName, value); err != nil { return err } + case "lambdaFunctionTags": if err := awsRestjson1_deserializeDocumentResourceMapFilterList(&sv.LambdaFunctionTags, value); err != nil { return err } + case "resourceId": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.ResourceId, value); err != nil { return err } + case "resourceType": if err := awsRestjson1_deserializeDocumentResourceStringFilterList(&sv.ResourceType, value); err != nil { return err } + default: _, _ = key, value @@ -17489,6 +17985,7 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Comparison = types.ResourceMapComparison(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -17497,6 +17994,7 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17505,6 +18003,7 @@ func awsRestjson1_deserializeDocumentResourceMapFilter(v **types.ResourceMapFilt } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17578,6 +18077,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17613,18 +18113,22 @@ func awsRestjson1_deserializeDocumentResourceScanMetadata(v **types.ResourceScan if err := awsRestjson1_deserializeDocumentEc2Metadata(&sv.Ec2, value); err != nil { return err } + case "ecrImage": if err := awsRestjson1_deserializeDocumentEcrContainerImageMetadata(&sv.EcrImage, value); err != nil { return err } + case "ecrRepository": if err := awsRestjson1_deserializeDocumentEcrRepositoryMetadata(&sv.EcrRepository, value); err != nil { return err } + case "lambdaFunction": if err := awsRestjson1_deserializeDocumentLambdaFunctionMetadata(&sv.LambdaFunction, value); err != nil { return err } + default: _, _ = key, value @@ -17660,18 +18164,22 @@ func awsRestjson1_deserializeDocumentResourceState(v **types.ResourceState, valu if err := awsRestjson1_deserializeDocumentState(&sv.Ec2, value); err != nil { return err } + case "ecr": if err := awsRestjson1_deserializeDocumentState(&sv.Ecr, value); err != nil { return err } + case "lambda": if err := awsRestjson1_deserializeDocumentState(&sv.Lambda, value); err != nil { return err } + case "lambdaCode": if err := awsRestjson1_deserializeDocumentState(&sv.LambdaCode, value); err != nil { return err } + default: _, _ = key, value @@ -17711,6 +18219,7 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Ec2 = types.Status(jtv) } + case "ecr": if value != nil { jtv, ok := value.(string) @@ -17719,6 +18228,7 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Ecr = types.Status(jtv) } + case "lambda": if value != nil { jtv, ok := value.(string) @@ -17727,6 +18237,7 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Lambda = types.Status(jtv) } + case "lambdaCode": if value != nil { jtv, ok := value.(string) @@ -17735,6 +18246,7 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.LambdaCode = types.Status(jtv) } + default: _, _ = key, value @@ -17774,6 +18286,7 @@ func awsRestjson1_deserializeDocumentResourceStringFilter(v **types.ResourceStri } sv.Comparison = types.ResourceStringComparison(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17782,6 +18295,7 @@ func awsRestjson1_deserializeDocumentResourceStringFilter(v **types.ResourceStri } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17855,6 +18369,7 @@ func awsRestjson1_deserializeDocumentScanStatus(v **types.ScanStatus, value inte } sv.Reason = types.ScanStatusReason(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -17863,6 +18378,7 @@ func awsRestjson1_deserializeDocumentScanStatus(v **types.ScanStatus, value inte } sv.StatusCode = types.ScanStatusCode(jtv) } + default: _, _ = key, value @@ -18008,6 +18524,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -18016,6 +18533,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -18059,6 +18577,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.All = ptr.Int64(i64) } + case "critical": if value != nil { jtv, ok := value.(json.Number) @@ -18071,6 +18590,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Critical = ptr.Int64(i64) } + case "high": if value != nil { jtv, ok := value.(json.Number) @@ -18083,6 +18603,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.High = ptr.Int64(i64) } + case "medium": if value != nil { jtv, ok := value.(json.Number) @@ -18095,6 +18616,7 @@ func awsRestjson1_deserializeDocumentSeverityCounts(v **types.SeverityCounts, va } sv.Medium = ptr.Int64(i64) } + default: _, _ = key, value @@ -18134,6 +18656,7 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18142,6 +18665,7 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.ErrorMessage = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18150,6 +18674,7 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -18193,6 +18718,7 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Failed = ptr.Int32(int32(i64)) } + case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -18205,6 +18731,7 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Passed = ptr.Int32(int32(i64)) } + case "skipped": if value != nil { jtv, ok := value.(json.Number) @@ -18217,6 +18744,7 @@ func awsRestjson1_deserializeDocumentStatusCounts(v **types.StatusCounts, value } sv.Skipped = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18256,6 +18784,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ComponentId = ptr.String(jtv) } + case "componentType": if value != nil { jtv, ok := value.(string) @@ -18264,6 +18793,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.ComponentType = ptr.String(jtv) } + default: _, _ = key, value @@ -18337,6 +18867,7 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Comparison = types.StringComparison(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -18345,6 +18876,7 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18490,6 +19022,7 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Code = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18498,6 +19031,7 @@ func awsRestjson1_deserializeDocumentSuggestedFix(v **types.SuggestedFix, value } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -18749,6 +19283,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18761,6 +19296,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18800,6 +19336,7 @@ func awsRestjson1_deserializeDocumentTime(v **types.Time, value interface{}) err } sv.TimeOfDay = ptr.String(jtv) } + case "timezone": if value != nil { jtv, ok := value.(string) @@ -18808,6 +19345,7 @@ func awsRestjson1_deserializeDocumentTime(v **types.Time, value interface{}) err } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -18847,10 +19385,12 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.AccountId = ptr.String(jtv) } + case "severityCounts": if err := awsRestjson1_deserializeDocumentSeverityCounts(&sv.SeverityCounts, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -18859,6 +19399,7 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.Title = ptr.String(jtv) } + case "vulnerabilityId": if value != nil { jtv, ok := value.(string) @@ -18867,6 +19408,7 @@ func awsRestjson1_deserializeDocumentTitleAggregationResponse(v **types.TitleAgg } sv.VulnerabilityId = ptr.String(jtv) } + default: _, _ = key, value @@ -18978,6 +19520,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Currency = types.Currency(jtv) } + case "estimatedMonthlyCost": if value != nil { switch jtv := value.(type) { @@ -19011,6 +19554,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } + case "total": if value != nil { switch jtv := value.(type) { @@ -19044,6 +19588,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } } + case "type": if value != nil { jtv, ok := value.(string) @@ -19052,6 +19597,7 @@ func awsRestjson1_deserializeDocumentUsage(v **types.Usage, value interface{}) e } sv.Type = types.UsageType(jtv) } + default: _, _ = key, value @@ -19125,10 +19671,12 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.AccountId = ptr.String(jtv) } + case "usage": if err := awsRestjson1_deserializeDocumentUsageList(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -19198,6 +19746,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19206,6 +19755,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -19214,6 +19764,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -19253,6 +19804,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19261,6 +19813,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -19364,22 +19917,27 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentAtigData(&sv.AtigData, value); err != nil { return err } + case "cisaData": if err := awsRestjson1_deserializeDocumentCisaData(&sv.CisaData, value); err != nil { return err } + case "cvss2": if err := awsRestjson1_deserializeDocumentCvss2(&sv.Cvss2, value); err != nil { return err } + case "cvss3": if err := awsRestjson1_deserializeDocumentCvss3(&sv.Cvss3, value); err != nil { return err } + case "cwes": if err := awsRestjson1_deserializeDocumentCwes(&sv.Cwes, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -19388,18 +19946,22 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Description = ptr.String(jtv) } + case "detectionPlatforms": if err := awsRestjson1_deserializeDocumentDetectionPlatforms(&sv.DetectionPlatforms, value); err != nil { return err } + case "epss": if err := awsRestjson1_deserializeDocumentEpss(&sv.Epss, value); err != nil { return err } + case "exploitObserved": if err := awsRestjson1_deserializeDocumentExploitObserved(&sv.ExploitObserved, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -19408,14 +19970,17 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } + case "referenceUrls": if err := awsRestjson1_deserializeDocumentVulnerabilityReferenceUrls(&sv.ReferenceUrls, value); err != nil { return err } + case "relatedVulnerabilities": if err := awsRestjson1_deserializeDocumentRelatedVulnerabilities(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -19424,6 +19989,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Source = types.VulnerabilitySource(jtv) } + case "sourceUrl": if value != nil { jtv, ok := value.(string) @@ -19432,6 +19998,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.SourceUrl = ptr.String(jtv) } + case "vendorCreatedAt": if value != nil { switch jtv := value.(type) { @@ -19447,6 +20014,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } + case "vendorSeverity": if value != nil { jtv, ok := value.(string) @@ -19455,6 +20023,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.VendorSeverity = ptr.String(jtv) } + case "vendorUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -19470,6 +20039,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } + default: _, _ = key, value @@ -19581,6 +20151,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Arch = ptr.String(jtv) } + case "epoch": if value != nil { jtv, ok := value.(json.Number) @@ -19593,6 +20164,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Epoch = int32(i64) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -19601,6 +20173,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FilePath = ptr.String(jtv) } + case "fixedInVersion": if value != nil { jtv, ok := value.(string) @@ -19609,6 +20182,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.FixedInVersion = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19617,6 +20191,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Name = ptr.String(jtv) } + case "packageManager": if value != nil { jtv, ok := value.(string) @@ -19625,6 +20200,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.PackageManager = types.PackageManager(jtv) } + case "release": if value != nil { jtv, ok := value.(string) @@ -19633,6 +20209,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Release = ptr.String(jtv) } + case "remediation": if value != nil { jtv, ok := value.(string) @@ -19641,6 +20218,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Remediation = ptr.String(jtv) } + case "sourceLambdaLayerArn": if value != nil { jtv, ok := value.(string) @@ -19649,6 +20227,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLambdaLayerArn = ptr.String(jtv) } + case "sourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -19657,6 +20236,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.SourceLayerHash = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -19665,6 +20245,7 @@ func awsRestjson1_deserializeDocumentVulnerablePackage(v **types.VulnerablePacka } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -19734,10 +20315,12 @@ func awsRestjson1_deserializeDocumentWeeklySchedule(v **types.WeeklySchedule, va if err := awsRestjson1_deserializeDocumentDaysList(&sv.Days, value); err != nil { return err } + case "startTime": if err := awsRestjson1_deserializeDocumentTime(&sv.StartTime, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/inspectorscan/deserializers.go b/service/inspectorscan/deserializers.go index a817b8ee8c2..d527a96709a 100644 --- a/service/inspectorscan/deserializers.go +++ b/service/inspectorscan/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentScanSbomOutput(v **ScanSbomOutput, value if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } + default: _, _ = key, value @@ -406,6 +407,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -445,6 +447,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -453,6 +456,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Reason = types.InternalServerExceptionReason(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -465,6 +469,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -512,6 +517,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -524,6 +530,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -559,6 +566,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -567,6 +575,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -575,6 +584,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -614,6 +624,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -622,6 +633,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/internetmonitor/deserializers.go b/service/internetmonitor/deserializers.go index abd3395e94c..7630e72fe4b 100644 --- a/service/internetmonitor/deserializers.go +++ b/service/internetmonitor/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.Arn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -199,6 +200,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.Status = types.MonitorConfigState(jtv) } + default: _, _ = key, value @@ -464,6 +466,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.CreatedAt = ptr.Time(t) } + case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -476,6 +479,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EndedAt = ptr.Time(t) } + case "EventArn": if value != nil { jtv, ok := value.(string) @@ -484,6 +488,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EventArn = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -492,6 +497,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.EventId = ptr.String(jtv) } + case "HealthScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -525,10 +531,12 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } } + case "ImpactedLocations": if err := awsRestjson1_deserializeDocumentImpactedLocationsList(&sv.ImpactedLocations, value); err != nil { return err } + case "ImpactType": if value != nil { jtv, ok := value.(string) @@ -537,6 +545,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.ImpactType = types.HealthEventImpactType(jtv) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -549,6 +558,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.LastUpdatedAt = ptr.Time(t) } + case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -582,6 +592,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -594,6 +605,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.StartedAt = ptr.Time(t) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -602,6 +614,7 @@ func awsRestjson1_deserializeOpDocumentGetHealthEventOutput(v **GetHealthEventOu } sv.Status = types.HealthEventStatus(jtv) } + default: _, _ = key, value @@ -762,6 +775,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve if err := awsRestjson1_deserializeDocumentClientLocation(&sv.ClientLocation, value); err != nil { return err } + case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -774,6 +788,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EndedAt = ptr.Time(t) } + case "EventArn": if value != nil { jtv, ok := value.(string) @@ -782,6 +797,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventArn = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -790,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventId = ptr.String(jtv) } + case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -798,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventStatus = types.InternetEventStatus(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -806,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.EventType = types.InternetEventType(jtv) } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -818,6 +837,7 @@ func awsRestjson1_deserializeOpDocumentGetInternetEventOutput(v **GetInternetEve } sv.StartedAt = ptr.Time(t) } + default: _, _ = key, value @@ -986,14 +1006,17 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.CreatedAt = ptr.Time(t) } + case "HealthEventsConfig": if err := awsRestjson1_deserializeDocumentHealthEventsConfig(&sv.HealthEventsConfig, value); err != nil { return err } + case "InternetMeasurementsLogDelivery": if err := awsRestjson1_deserializeDocumentInternetMeasurementsLogDelivery(&sv.InternetMeasurementsLogDelivery, value); err != nil { return err } + case "MaxCityNetworksToMonitor": if value != nil { jtv, ok := value.(json.Number) @@ -1006,6 +1029,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MaxCityNetworksToMonitor = ptr.Int32(int32(i64)) } + case "ModifiedAt": if value != nil { jtv, ok := value.(string) @@ -1018,6 +1042,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ModifiedAt = ptr.Time(t) } + case "MonitorArn": if value != nil { jtv, ok := value.(string) @@ -1026,6 +1051,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorArn = ptr.String(jtv) } + case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -1034,6 +1060,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorName = ptr.String(jtv) } + case "ProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -1042,6 +1069,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ProcessingStatus = types.MonitorProcessingStatusCode(jtv) } + case "ProcessingStatusInfo": if value != nil { jtv, ok := value.(string) @@ -1050,10 +1078,12 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.ProcessingStatusInfo = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentSetOfARNs(&sv.Resources, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1062,10 +1092,12 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.Status = types.MonitorConfigState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TrafficPercentageToMonitor": if value != nil { jtv, ok := value.(json.Number) @@ -1078,6 +1110,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.TrafficPercentageToMonitor = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1241,10 +1274,12 @@ func awsRestjson1_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults if err := awsRestjson1_deserializeDocumentQueryData(&sv.Data, value); err != nil { return err } + case "Fields": if err := awsRestjson1_deserializeDocumentQueryFields(&sv.Fields, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1253,6 +1288,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryResultsOutput(v **GetQueryResults } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1420,6 +1456,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatusOutput(v **GetQueryStatusOu } sv.Status = types.QueryStatus(jtv) } + default: _, _ = key, value @@ -1580,6 +1617,7 @@ func awsRestjson1_deserializeOpDocumentListHealthEventsOutput(v **ListHealthEven if err := awsRestjson1_deserializeDocumentHealthEventList(&sv.HealthEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1588,6 +1626,7 @@ func awsRestjson1_deserializeOpDocumentListHealthEventsOutput(v **ListHealthEven } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1748,6 +1787,7 @@ func awsRestjson1_deserializeOpDocumentListInternetEventsOutput(v **ListInternet if err := awsRestjson1_deserializeDocumentInternetEventsList(&sv.InternetEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1756,6 +1796,7 @@ func awsRestjson1_deserializeOpDocumentListInternetEventsOutput(v **ListInternet } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1916,6 +1957,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1924,6 +1966,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2087,6 +2130,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2254,6 +2298,7 @@ func awsRestjson1_deserializeOpDocumentStartQueryOutput(v **StartQueryOutput, va } sv.QueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -2724,6 +2769,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2732,6 +2778,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.Status = types.MonitorConfigState(jtv) } + default: _, _ = key, value @@ -3167,6 +3214,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3231,6 +3279,7 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } + case "PercentOfClientLocationImpacted": if value != nil { switch jtv := value.(type) { @@ -3264,6 +3313,7 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } + case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -3297,6 +3347,7 @@ func awsRestjson1_deserializeDocumentAvailabilityMeasurement(v **types.Availabil } } + default: _, _ = key, value @@ -3336,6 +3387,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3375,6 +3427,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.ASName = ptr.String(jtv) } + case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3387,6 +3440,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.ASNumber = ptr.Int64(i64) } + case "City": if value != nil { jtv, ok := value.(string) @@ -3395,6 +3449,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.City = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -3403,6 +3458,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Country = ptr.String(jtv) } + case "Latitude": if value != nil { switch jtv := value.(type) { @@ -3436,6 +3492,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } } + case "Longitude": if value != nil { switch jtv := value.(type) { @@ -3469,6 +3526,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } } + case "Metro": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3535,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Metro = ptr.String(jtv) } + case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3544,7 @@ func awsRestjson1_deserializeDocumentClientLocation(v **types.ClientLocation, va } sv.Subdivision = ptr.String(jtv) } + default: _, _ = key, value @@ -3524,6 +3584,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3567,6 +3628,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.CreatedAt = ptr.Time(t) } + case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -3579,6 +3641,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EndedAt = ptr.Time(t) } + case "EventArn": if value != nil { jtv, ok := value.(string) @@ -3587,6 +3650,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EventArn = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3659,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.EventId = ptr.String(jtv) } + case "HealthScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3628,10 +3693,12 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } } + case "ImpactedLocations": if err := awsRestjson1_deserializeDocumentImpactedLocationsList(&sv.ImpactedLocations, value); err != nil { return err } + case "ImpactType": if value != nil { jtv, ok := value.(string) @@ -3640,6 +3707,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.ImpactType = types.HealthEventImpactType(jtv) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3652,6 +3720,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.LastUpdatedAt = ptr.Time(t) } + case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -3685,6 +3754,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -3697,6 +3767,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.StartedAt = ptr.Time(t) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3705,6 +3776,7 @@ func awsRestjson1_deserializeDocumentHealthEvent(v **types.HealthEvent, value in } sv.Status = types.HealthEventStatus(jtv) } + default: _, _ = key, value @@ -3774,6 +3846,7 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo if err := awsRestjson1_deserializeDocumentLocalHealthEventsConfig(&sv.AvailabilityLocalHealthEventsConfig, value); err != nil { return err } + case "AvailabilityScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3807,10 +3880,12 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo } } + case "PerformanceLocalHealthEventsConfig": if err := awsRestjson1_deserializeDocumentLocalHealthEventsConfig(&sv.PerformanceLocalHealthEventsConfig, value); err != nil { return err } + case "PerformanceScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -3844,6 +3919,7 @@ func awsRestjson1_deserializeDocumentHealthEventsConfig(v **types.HealthEventsCo } } + default: _, _ = key, value @@ -3883,6 +3959,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ASName = ptr.String(jtv) } + case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3895,10 +3972,12 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ASNumber = ptr.Int64(i64) } + case "CausedBy": if err := awsRestjson1_deserializeDocumentNetworkImpairment(&sv.CausedBy, value); err != nil { return err } + case "City": if value != nil { jtv, ok := value.(string) @@ -3907,6 +3986,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.City = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -3915,6 +3995,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Country = ptr.String(jtv) } + case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -3923,14 +4004,17 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.CountryCode = ptr.String(jtv) } + case "InternetHealth": if err := awsRestjson1_deserializeDocumentInternetHealth(&sv.InternetHealth, value); err != nil { return err } + case "Ipv4Prefixes": if err := awsRestjson1_deserializeDocumentIpv4PrefixList(&sv.Ipv4Prefixes, value); err != nil { return err } + case "Latitude": if value != nil { switch jtv := value.(type) { @@ -3964,6 +4048,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } } + case "Longitude": if value != nil { switch jtv := value.(type) { @@ -3997,6 +4082,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } } + case "Metro": if value != nil { jtv, ok := value.(string) @@ -4005,6 +4091,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Metro = ptr.String(jtv) } + case "ServiceLocation": if value != nil { jtv, ok := value.(string) @@ -4013,6 +4100,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.ServiceLocation = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4021,6 +4109,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Status = types.HealthEventStatus(jtv) } + case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -4029,6 +4118,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.Subdivision = ptr.String(jtv) } + case "SubdivisionCode": if value != nil { jtv, ok := value.(string) @@ -4037,6 +4127,7 @@ func awsRestjson1_deserializeDocumentImpactedLocation(v **types.ImpactedLocation } sv.SubdivisionCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4110,6 +4201,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4149,6 +4241,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4218,6 +4311,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven if err := awsRestjson1_deserializeDocumentClientLocation(&sv.ClientLocation, value); err != nil { return err } + case "EndedAt": if value != nil { jtv, ok := value.(string) @@ -4230,6 +4324,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EndedAt = ptr.Time(t) } + case "EventArn": if value != nil { jtv, ok := value.(string) @@ -4238,6 +4333,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventArn = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -4246,6 +4342,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventId = ptr.String(jtv) } + case "EventStatus": if value != nil { jtv, ok := value.(string) @@ -4254,6 +4351,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventStatus = types.InternetEventStatus(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -4262,6 +4360,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.EventType = types.InternetEventType(jtv) } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -4274,6 +4373,7 @@ func awsRestjson1_deserializeDocumentInternetEventSummary(v **types.InternetEven } sv.StartedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4309,10 +4409,12 @@ func awsRestjson1_deserializeDocumentInternetHealth(v **types.InternetHealth, va if err := awsRestjson1_deserializeDocumentAvailabilityMeasurement(&sv.Availability, value); err != nil { return err } + case "Performance": if err := awsRestjson1_deserializeDocumentPerformanceMeasurement(&sv.Performance, value); err != nil { return err } + default: _, _ = key, value @@ -4348,6 +4450,7 @@ func awsRestjson1_deserializeDocumentInternetMeasurementsLogDelivery(v **types.I if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + default: _, _ = key, value @@ -4423,6 +4526,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4487,6 +4591,7 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } } + case "MinTrafficImpact": if value != nil { switch jtv := value.(type) { @@ -4520,6 +4625,7 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4528,6 +4634,7 @@ func awsRestjson1_deserializeDocumentLocalHealthEventsConfig(v **types.LocalHeal } sv.Status = types.LocalHealthEventsConfigStatus(jtv) } + default: _, _ = key, value @@ -4567,6 +4674,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.MonitorArn = ptr.String(jtv) } + case "MonitorName": if value != nil { jtv, ok := value.(string) @@ -4575,6 +4683,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.MonitorName = ptr.String(jtv) } + case "ProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -4583,6 +4692,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.ProcessingStatus = types.MonitorProcessingStatusCode(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4591,6 +4701,7 @@ func awsRestjson1_deserializeDocumentMonitor(v **types.Monitor, value interface{ } sv.Status = types.MonitorConfigState(jtv) } + default: _, _ = key, value @@ -4664,6 +4775,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.ASName = ptr.String(jtv) } + case "ASNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4676,6 +4788,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.ASNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -4711,6 +4824,7 @@ func awsRestjson1_deserializeDocumentNetworkImpairment(v **types.NetworkImpairme if err := awsRestjson1_deserializeDocumentNetworkList(&sv.AsPath, value); err != nil { return err } + case "NetworkEventType": if value != nil { jtv, ok := value.(string) @@ -4719,10 +4833,12 @@ func awsRestjson1_deserializeDocumentNetworkImpairment(v **types.NetworkImpairme } sv.NetworkEventType = types.TriangulationEventType(jtv) } + case "Networks": if err := awsRestjson1_deserializeDocumentNetworkList(&sv.Networks, value); err != nil { return err } + default: _, _ = key, value @@ -4796,6 +4912,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4860,6 +4977,7 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } + case "PercentOfClientLocationImpacted": if value != nil { switch jtv := value.(type) { @@ -4893,6 +5011,7 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } + case "PercentOfTotalTrafficImpacted": if value != nil { switch jtv := value.(type) { @@ -4926,10 +5045,12 @@ func awsRestjson1_deserializeDocumentPerformanceMeasurement(v **types.Performanc } } + case "RoundTripTime": if err := awsRestjson1_deserializeDocumentRoundTripTime(&sv.RoundTripTime, value); err != nil { return err } + default: _, _ = key, value @@ -5001,6 +5122,7 @@ func awsRestjson1_deserializeDocumentQueryField(v **types.QueryField, value inte } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5009,6 +5131,7 @@ func awsRestjson1_deserializeDocumentQueryField(v **types.QueryField, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5118,6 +5241,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5182,6 +5306,7 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } + case "P90": if value != nil { switch jtv := value.(type) { @@ -5215,6 +5340,7 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } + case "P95": if value != nil { switch jtv := value.(type) { @@ -5248,6 +5374,7 @@ func awsRestjson1_deserializeDocumentRoundTripTime(v **types.RoundTripTime, valu } } + default: _, _ = key, value @@ -5287,6 +5414,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketName = ptr.String(jtv) } + case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -5295,6 +5423,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketPrefix = ptr.String(jtv) } + case "LogDeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -5303,6 +5432,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.LogDeliveryStatus = types.LogDeliveryStatus(jtv) } + default: _, _ = key, value @@ -5414,6 +5544,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5453,6 +5584,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5492,6 +5624,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iot/deserializers.go b/service/iot/deserializers.go index 0aab628078d..e1cc973fa33 100644 --- a/service/iot/deserializers.go +++ b/service/iot/deserializers.go @@ -499,10 +499,12 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.PackageName = ptr.String(jtv) } + case "sbom": if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } + case "sbomValidationStatus": if value != nil { jtv, ok := value.(string) @@ -511,6 +513,7 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.SbomValidationStatus = types.SbomValidationStatus(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -519,6 +522,7 @@ func awsRestjson1_deserializeOpDocumentAssociateSbomWithPackageVersionOutput(v * } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -686,6 +690,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.Description = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -694,6 +699,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -702,6 +708,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTargetsWithJobOutput(v **Associa } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -1702,6 +1709,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.Description = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -1710,6 +1718,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1718,6 +1727,7 @@ func awsRestjson1_deserializeOpDocumentCancelJobOutput(v **CancelJobOutput, valu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -2303,6 +2313,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerArn = ptr.String(jtv) } + case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -2311,6 +2322,7 @@ func awsRestjson1_deserializeOpDocumentCreateAuthorizerOutput(v **CreateAuthoriz } sv.AuthorizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -2475,6 +2487,7 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupArn = ptr.String(jtv) } + case "billingGroupId": if value != nil { jtv, ok := value.(string) @@ -2483,6 +2496,7 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupId = ptr.String(jtv) } + case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -2491,6 +2505,7 @@ func awsRestjson1_deserializeOpDocumentCreateBillingGroupOutput(v **CreateBillin } sv.BillingGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -2658,6 +2673,7 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -2666,6 +2682,7 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificateId = ptr.String(jtv) } + case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -2674,6 +2691,7 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateFromCsrOutput(v **Create } sv.CertificatePem = ptr.String(jtv) } + default: _, _ = key, value @@ -2847,6 +2865,7 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateProviderOutput(v **Creat } sv.CertificateProviderArn = ptr.String(jtv) } + case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -2855,6 +2874,7 @@ func awsRestjson1_deserializeOpDocumentCreateCertificateProviderOutput(v **Creat } sv.CertificateProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -3022,6 +3042,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomMetricOutput(v **CreateCustom } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -3030,6 +3051,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomMetricOutput(v **CreateCustom } sv.MetricName = ptr.String(jtv) } + default: _, _ = key, value @@ -3197,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentCreateDimensionOutput(v **CreateDimension } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3205,6 +3228,7 @@ func awsRestjson1_deserializeOpDocumentCreateDimensionOutput(v **CreateDimension } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3381,6 +3405,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainConfigurationOutput(v **Creat } sv.DomainConfigurationArn = ptr.String(jtv) } + case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -3389,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainConfigurationOutput(v **Creat } sv.DomainConfigurationName = ptr.String(jtv) } + default: _, _ = key, value @@ -3562,6 +3588,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.IndexName = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -3570,6 +3597,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.QueryString = ptr.String(jtv) } + case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -3578,6 +3606,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.QueryVersion = ptr.String(jtv) } + case "thingGroupArn": if value != nil { jtv, ok := value.(string) @@ -3586,6 +3615,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupArn = ptr.String(jtv) } + case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -3594,6 +3624,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupId = ptr.String(jtv) } + case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -3602,6 +3633,7 @@ func awsRestjson1_deserializeOpDocumentCreateDynamicThingGroupOutput(v **CreateD } sv.ThingGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3787,6 +3819,7 @@ func awsRestjson1_deserializeOpDocumentCreateFleetMetricOutput(v **CreateFleetMe } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -3795,6 +3828,7 @@ func awsRestjson1_deserializeOpDocumentCreateFleetMetricOutput(v **CreateFleetMe } sv.MetricName = ptr.String(jtv) } + default: _, _ = key, value @@ -3965,6 +3999,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.Description = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -3973,6 +4008,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -3981,6 +4017,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -4151,6 +4188,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.JobTemplateArn = ptr.String(jtv) } + case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -4159,6 +4197,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp } sv.JobTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -4326,6 +4365,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -4334,6 +4374,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificateId = ptr.String(jtv) } + case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -4342,10 +4383,12 @@ func awsRestjson1_deserializeOpDocumentCreateKeysAndCertificateOutput(v **Create } sv.CertificatePem = ptr.String(jtv) } + case "keyPair": if err := awsRestjson1_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } + default: _, _ = key, value @@ -4513,6 +4556,7 @@ func awsRestjson1_deserializeOpDocumentCreateMitigationActionOutput(v **CreateMi } sv.ActionArn = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4565,7 @@ func awsRestjson1_deserializeOpDocumentCreateMitigationActionOutput(v **CreateMi } sv.ActionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4697,6 +4742,7 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.AwsIotJobArn = ptr.String(jtv) } + case "awsIotJobId": if value != nil { jtv, ok := value.(string) @@ -4705,6 +4751,7 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.AwsIotJobId = ptr.String(jtv) } + case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -4713,6 +4760,7 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateArn = ptr.String(jtv) } + case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -4721,6 +4769,7 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateId = ptr.String(jtv) } + case "otaUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -4729,6 +4778,7 @@ func awsRestjson1_deserializeOpDocumentCreateOTAUpdateOutput(v **CreateOTAUpdate } sv.OtaUpdateStatus = types.OTAUpdateStatus(jtv) } + default: _, _ = key, value @@ -4896,6 +4946,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.Description = ptr.String(jtv) } + case "packageArn": if value != nil { jtv, ok := value.(string) @@ -4904,6 +4955,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageArn = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -4912,6 +4964,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageName = ptr.String(jtv) } + default: _, _ = key, value @@ -5075,6 +5128,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack if err := awsRestjson1_deserializeDocumentResourceAttributes(&sv.Attributes, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5083,6 +5137,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.Description = ptr.String(jtv) } + case "errorReason": if value != nil { jtv, ok := value.(string) @@ -5091,6 +5146,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.ErrorReason = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -5099,6 +5155,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.PackageName = ptr.String(jtv) } + case "packageVersionArn": if value != nil { jtv, ok := value.(string) @@ -5107,6 +5164,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.PackageVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5115,6 +5173,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.Status = types.PackageVersionStatus(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -5123,6 +5182,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageVersionOutput(v **CreatePack } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -5296,6 +5356,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyArn = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -5304,6 +5365,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -5312,6 +5374,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyName = ptr.String(jtv) } + case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -5320,6 +5383,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyVersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5496,6 +5560,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.IsDefaultVersion = jtv } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -5504,6 +5569,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyArn = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -5512,6 +5578,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyDocument = ptr.String(jtv) } + case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -5520,6 +5587,7 @@ func awsRestjson1_deserializeOpDocumentCreatePolicyVersionOutput(v **CreatePolic } sv.PolicyVersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5690,6 +5758,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } sv.CertificateId = ptr.String(jtv) } + case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -5698,6 +5767,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } sv.CertificatePem = ptr.String(jtv) } + case "expiration": if value != nil { switch jtv := value.(type) { @@ -5713,10 +5783,12 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningClaimOutput(v **CreateP } } + case "keyPair": if err := awsRestjson1_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } + default: _, _ = key, value @@ -5891,6 +5963,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.DefaultVersionId = ptr.Int32(int32(i64)) } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -5899,6 +5972,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.TemplateArn = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -5907,6 +5981,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateOutput(v **Crea } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -6080,6 +6155,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.IsDefaultVersion = jtv } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6164,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.TemplateArn = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -6096,6 +6173,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.TemplateName = ptr.String(jtv) } + case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -6108,6 +6186,7 @@ func awsRestjson1_deserializeOpDocumentCreateProvisioningTemplateVersionOutput(v } sv.VersionId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6281,6 +6360,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoleAliasOutput(v **CreateRoleAlias } sv.RoleAlias = ptr.String(jtv) } + case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -6289,6 +6369,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoleAliasOutput(v **CreateRoleAlias } sv.RoleAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6456,6 +6537,7 @@ func awsRestjson1_deserializeOpDocumentCreateScheduledAuditOutput(v **CreateSche } sv.ScheduledAuditArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6620,6 +6702,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileArn = ptr.String(jtv) } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -6628,6 +6711,7 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec } sv.SecurityProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -6804,6 +6888,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.Description = ptr.String(jtv) } + case "streamArn": if value != nil { jtv, ok := value.(string) @@ -6812,6 +6897,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamArn = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -6820,6 +6906,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamId = ptr.String(jtv) } + case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6832,6 +6919,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7005,6 +7093,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingArn = ptr.String(jtv) } + case "thingId": if value != nil { jtv, ok := value.(string) @@ -7013,6 +7102,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingId = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -7021,6 +7111,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingOutput(v **CreateThingOutput, } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -7185,6 +7276,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupArn = ptr.String(jtv) } + case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -7193,6 +7285,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupId = ptr.String(jtv) } + case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -7201,6 +7294,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingGroupOutput(v **CreateThingGro } sv.ThingGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7371,6 +7465,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeArn = ptr.String(jtv) } + case "thingTypeId": if value != nil { jtv, ok := value.(string) @@ -7379,6 +7474,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeId = ptr.String(jtv) } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -7387,6 +7483,7 @@ func awsRestjson1_deserializeOpDocumentCreateThingTypeOutput(v **CreateThingType } sv.ThingTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -7659,6 +7756,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRuleDestinationOutput(v **Crea if err := awsRestjson1_deserializeDocumentTopicRuleDestination(&sv.TopicRuleDestination, value); err != nil { return err } + default: _, _ = key, value @@ -11394,10 +11492,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountAuditConfigurationOutput(v if err := awsRestjson1_deserializeDocumentAuditCheckConfigurations(&sv.AuditCheckConfigurations, value); err != nil { return err } + case "auditNotificationTargetConfigurations": if err := awsRestjson1_deserializeDocumentAuditNotificationTargetConfigurations(&sv.AuditNotificationTargetConfigurations, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11406,6 +11506,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountAuditConfigurationOutput(v } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11566,6 +11667,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditFindingOutput(v **DescribeAu if err := awsRestjson1_deserializeDocumentAuditFinding(&sv.Finding, value); err != nil { return err } + default: _, _ = key, value @@ -11726,10 +11828,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( if err := awsRestjson1_deserializeDocumentMitigationActionList(&sv.ActionsDefinition, value); err != nil { return err } + case "auditCheckToActionsMapping": if err := awsRestjson1_deserializeDocumentAuditCheckToActionsMapping(&sv.AuditCheckToActionsMapping, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -11745,6 +11849,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11760,14 +11865,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } } + case "target": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(&sv.Target, value); err != nil { return err } + case "taskStatistics": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -11776,6 +11884,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditMitigationActionsTaskOutput( } sv.TaskStatus = types.AuditMitigationActionsTaskStatus(jtv) } + default: _, _ = key, value @@ -11940,6 +12049,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.CheckName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11948,6 +12058,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -11963,10 +12074,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } } + case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } + case "suppressIndefinitely": if value != nil { jtv, ok := value.(bool) @@ -11975,6 +12088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditSuppressionOutput(v **Descri } sv.SuppressIndefinitely = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12135,6 +12249,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit if err := awsRestjson1_deserializeDocumentAuditDetails(&sv.AuditDetails, value); err != nil { return err } + case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -12143,6 +12258,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.ScheduledAuditName = ptr.String(jtv) } + case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -12158,10 +12274,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } } + case "taskStatistics": if err := awsRestjson1_deserializeDocumentTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -12170,6 +12288,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.TaskStatus = types.AuditTaskStatus(jtv) } + case "taskType": if value != nil { jtv, ok := value.(string) @@ -12178,6 +12297,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuditTaskOutput(v **DescribeAudit } sv.TaskType = types.AuditTaskType(jtv) } + default: _, _ = key, value @@ -12344,6 +12464,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAuthorizerOutput(v **DescribeAuth if err := awsRestjson1_deserializeDocumentAuthorizerDescription(&sv.AuthorizerDescription, value); err != nil { return err } + default: _, _ = key, value @@ -12508,6 +12629,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupArn = ptr.String(jtv) } + case "billingGroupId": if value != nil { jtv, ok := value.(string) @@ -12516,10 +12638,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupId = ptr.String(jtv) } + case "billingGroupMetadata": if err := awsRestjson1_deserializeDocumentBillingGroupMetadata(&sv.BillingGroupMetadata, value); err != nil { return err } + case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -12528,10 +12652,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.BillingGroupName = ptr.String(jtv) } + case "billingGroupProperties": if err := awsRestjson1_deserializeDocumentBillingGroupProperties(&sv.BillingGroupProperties, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -12544,6 +12670,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBillingGroupOutput(v **DescribeBi } sv.Version = i64 } + default: _, _ = key, value @@ -12710,10 +12837,12 @@ func awsRestjson1_deserializeOpDocumentDescribeCACertificateOutput(v **DescribeC if err := awsRestjson1_deserializeDocumentCACertificateDescription(&sv.CertificateDescription, value); err != nil { return err } + case "registrationConfig": if err := awsRestjson1_deserializeDocumentRegistrationConfig(&sv.RegistrationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12880,6 +13009,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsRestjson1_deserializeDocumentCertificateDescription(&sv.CertificateDescription, value); err != nil { return err } + default: _, _ = key, value @@ -13046,6 +13176,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des if err := awsRestjson1_deserializeDocumentCertificateProviderAccountDefaultForOperations(&sv.AccountDefaultForOperations, value); err != nil { return err } + case "certificateProviderArn": if value != nil { jtv, ok := value.(string) @@ -13054,6 +13185,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.CertificateProviderArn = ptr.String(jtv) } + case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -13062,6 +13194,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.CertificateProviderName = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -13077,6 +13210,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } } + case "lambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -13085,6 +13219,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } sv.LambdaFunctionArn = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13100,6 +13235,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCertificateProviderOutput(v **Des } } + default: _, _ = key, value @@ -13271,6 +13407,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -13279,6 +13416,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.DisplayName = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13294,6 +13432,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } } + case "metricArn": if value != nil { jtv, ok := value.(string) @@ -13302,6 +13441,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -13310,6 +13450,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricName = ptr.String(jtv) } + case "metricType": if value != nil { jtv, ok := value.(string) @@ -13318,6 +13459,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomMetricOutput(v **DescribeCu } sv.MetricType = types.CustomMetricType(jtv) } + default: _, _ = key, value @@ -13484,6 +13626,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultAuthorizerOutput(v **Descr if err := awsRestjson1_deserializeDocumentAuthorizerDescription(&sv.AuthorizerDescription, value); err != nil { return err } + default: _, _ = key, value @@ -13644,6 +13787,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectMitigationActionsTaskOutput if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(&sv.TaskSummary, value); err != nil { return err } + default: _, _ = key, value @@ -13808,6 +13952,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Arn = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -13823,6 +13968,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -13838,6 +13984,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13846,10 +13993,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Name = ptr.String(jtv) } + case "stringValues": if err := awsRestjson1_deserializeDocumentDimensionStringValues(&sv.StringValues, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -13858,6 +14007,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDimensionOutput(v **DescribeDimen } sv.Type = types.DimensionType(jtv) } + default: _, _ = key, value @@ -14028,6 +14178,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.ApplicationProtocol = types.ApplicationProtocol(jtv) } + case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -14036,14 +14187,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "authorizerConfig": if err := awsRestjson1_deserializeDocumentAuthorizerConfig(&sv.AuthorizerConfig, value); err != nil { return err } + case "clientCertificateConfig": if err := awsRestjson1_deserializeDocumentClientCertificateConfig(&sv.ClientCertificateConfig, value); err != nil { return err } + case "domainConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -14052,6 +14206,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationArn = ptr.String(jtv) } + case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -14060,6 +14215,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationName = ptr.String(jtv) } + case "domainConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -14068,6 +14224,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainConfigurationStatus = types.DomainConfigurationStatus(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -14076,6 +14233,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainName = ptr.String(jtv) } + case "domainType": if value != nil { jtv, ok := value.(string) @@ -14084,6 +14242,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.DomainType = types.DomainType(jtv) } + case "lastStatusChangeDate": if value != nil { switch jtv := value.(type) { @@ -14099,14 +14258,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } } + case "serverCertificateConfig": if err := awsRestjson1_deserializeDocumentServerCertificateConfig(&sv.ServerCertificateConfig, value); err != nil { return err } + case "serverCertificates": if err := awsRestjson1_deserializeDocumentServerCertificates(&sv.ServerCertificates, value); err != nil { return err } + case "serviceType": if value != nil { jtv, ok := value.(string) @@ -14115,10 +14277,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigurationOutput(v **Des } sv.ServiceType = types.ServiceType(jtv) } + case "tlsConfig": if err := awsRestjson1_deserializeDocumentTlsConfig(&sv.TlsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14283,6 +14447,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -14448,10 +14613,12 @@ func awsRestjson1_deserializeOpDocumentDescribeEventConfigurationsOutput(v **Des } } + case "eventConfigurations": if err := awsRestjson1_deserializeDocumentEventConfigurations(&sv.EventConfigurations, value); err != nil { return err } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -14467,6 +14634,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEventConfigurationsOutput(v **Des } } + default: _, _ = key, value @@ -14637,10 +14805,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.AggregationField = ptr.String(jtv) } + case "aggregationType": if err := awsRestjson1_deserializeDocumentAggregationType(&sv.AggregationType, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -14656,6 +14826,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } } + case "description": if value != nil { jtv, ok := value.(string) @@ -14664,6 +14835,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Description = ptr.String(jtv) } + case "indexName": if value != nil { jtv, ok := value.(string) @@ -14672,6 +14844,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.IndexName = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -14687,6 +14860,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } } + case "metricArn": if value != nil { jtv, ok := value.(string) @@ -14695,6 +14869,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -14703,6 +14878,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.MetricName = ptr.String(jtv) } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -14715,6 +14891,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Period = ptr.Int32(int32(i64)) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -14723,6 +14900,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.QueryString = ptr.String(jtv) } + case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -14731,6 +14909,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.QueryVersion = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -14739,6 +14918,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Unit = types.FleetMetricUnit(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -14751,6 +14931,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetMetricOutput(v **DescribeFle } sv.Version = i64 } + default: _, _ = key, value @@ -14921,6 +15102,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.IndexName = ptr.String(jtv) } + case "indexStatus": if value != nil { jtv, ok := value.(string) @@ -14929,6 +15111,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.IndexStatus = types.IndexStatus(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -14937,6 +15120,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -15101,10 +15285,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, } sv.DocumentSource = ptr.String(jtv) } + case "job": if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -15265,6 +15451,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobExecutionOutput(v **DescribeJo if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } + default: _, _ = key, value @@ -15425,6 +15612,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentAbortConfig(&sv.AbortConfig, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15440,6 +15628,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15448,10 +15637,12 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.Description = ptr.String(jtv) } + case "destinationPackageVersions": if err := awsRestjson1_deserializeDocumentDestinationPackageVersions(&sv.DestinationPackageVersions, value); err != nil { return err } + case "document": if value != nil { jtv, ok := value.(string) @@ -15460,6 +15651,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.Document = ptr.String(jtv) } + case "documentSource": if value != nil { jtv, ok := value.(string) @@ -15468,14 +15660,17 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.DocumentSource = ptr.String(jtv) } + case "jobExecutionsRetryConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(&sv.JobExecutionsRetryConfig, value); err != nil { return err } + case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } + case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -15484,6 +15679,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.JobTemplateArn = ptr.String(jtv) } + case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -15492,18 +15688,22 @@ func awsRestjson1_deserializeOpDocumentDescribeJobTemplateOutput(v **DescribeJob } sv.JobTemplateId = ptr.String(jtv) } + case "maintenanceWindows": if err := awsRestjson1_deserializeDocumentMaintenanceWindows(&sv.MaintenanceWindows, value); err != nil { return err } + case "presignedUrlConfig": if err := awsRestjson1_deserializeDocumentPresignedUrlConfig(&sv.PresignedUrlConfig, value); err != nil { return err } + case "timeoutConfig": if err := awsRestjson1_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15668,6 +15868,7 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.Description = ptr.String(jtv) } + case "document": if value != nil { jtv, ok := value.(string) @@ -15676,14 +15877,17 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.Document = ptr.String(jtv) } + case "documentParameters": if err := awsRestjson1_deserializeDocumentDocumentParameters(&sv.DocumentParameters, value); err != nil { return err } + case "environments": if err := awsRestjson1_deserializeDocumentEnvironments(&sv.Environments, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -15692,6 +15896,7 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateArn = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15700,6 +15905,7 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateName = ptr.String(jtv) } + case "templateVersion": if value != nil { jtv, ok := value.(string) @@ -15708,6 +15914,7 @@ func awsRestjson1_deserializeOpDocumentDescribeManagedJobTemplateOutput(v **Desc } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -15872,6 +16079,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionArn = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -15880,6 +16088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionId = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -15888,10 +16097,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionName = ptr.String(jtv) } + case "actionParams": if err := awsRestjson1_deserializeDocumentMitigationActionParams(&sv.ActionParams, value); err != nil { return err } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -15900,6 +16111,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.ActionType = types.MitigationActionType(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -15915,6 +16127,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -15930,6 +16143,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -15938,6 +16152,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMitigationActionOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16112,6 +16327,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } } + case "defaultVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -16124,6 +16340,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.DefaultVersionId = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16132,6 +16349,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -16140,6 +16358,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Enabled = ptr.Bool(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16155,10 +16374,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } } + case "preProvisioningHook": if err := awsRestjson1_deserializeDocumentProvisioningHook(&sv.PreProvisioningHook, value); err != nil { return err } + case "provisioningRoleArn": if value != nil { jtv, ok := value.(string) @@ -16167,6 +16388,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.ProvisioningRoleArn = ptr.String(jtv) } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -16175,6 +16397,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateArn = ptr.String(jtv) } + case "templateBody": if value != nil { jtv, ok := value.(string) @@ -16183,6 +16406,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateBody = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -16191,6 +16415,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.TemplateName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16199,6 +16424,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateOutput(v **De } sv.Type = types.TemplateType(jtv) } + default: _, _ = key, value @@ -16373,6 +16599,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } } + case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -16381,6 +16608,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.IsDefaultVersion = jtv } + case "templateBody": if value != nil { jtv, ok := value.(string) @@ -16389,6 +16617,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.TemplateBody = ptr.String(jtv) } + case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -16401,6 +16630,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProvisioningTemplateVersionOutput } sv.VersionId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16567,6 +16797,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleAliasOutput(v **DescribeRoleA if err := awsRestjson1_deserializeDocumentRoleAliasDescription(&sv.RoleAliasDescription, value); err != nil { return err } + default: _, _ = key, value @@ -16731,6 +16962,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.DayOfMonth = ptr.String(jtv) } + case "dayOfWeek": if value != nil { jtv, ok := value.(string) @@ -16739,6 +16971,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.DayOfWeek = types.DayOfWeek(jtv) } + case "frequency": if value != nil { jtv, ok := value.(string) @@ -16747,6 +16980,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.Frequency = types.AuditFrequency(jtv) } + case "scheduledAuditArn": if value != nil { jtv, ok := value.(string) @@ -16755,6 +16989,7 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.ScheduledAuditArn = ptr.String(jtv) } + case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -16763,10 +16998,12 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduledAuditOutput(v **Describe } sv.ScheduledAuditName = ptr.String(jtv) } + case "targetCheckNames": if err := awsRestjson1_deserializeDocumentTargetAuditCheckNames(&sv.TargetCheckNames, value); err != nil { return err } + default: _, _ = key, value @@ -16927,18 +17164,22 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainList(&sv.AdditionalMetricsToRetain, value); err != nil { return err } + case "additionalMetricsToRetainV2": if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainV2List(&sv.AdditionalMetricsToRetainV2, value); err != nil { return err } + case "alertTargets": if err := awsRestjson1_deserializeDocumentAlertTargets(&sv.AlertTargets, value); err != nil { return err } + case "behaviors": if err := awsRestjson1_deserializeDocumentBehaviors(&sv.Behaviors, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -16954,6 +17195,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -16969,10 +17211,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } } + case "metricsExportConfig": if err := awsRestjson1_deserializeDocumentMetricsExportConfig(&sv.MetricsExportConfig, value); err != nil { return err } + case "securityProfileArn": if value != nil { jtv, ok := value.(string) @@ -16981,6 +17225,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileArn = ptr.String(jtv) } + case "securityProfileDescription": if value != nil { jtv, ok := value.(string) @@ -16989,6 +17234,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileDescription = ptr.String(jtv) } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -16997,6 +17243,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.SecurityProfileName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17009,6 +17256,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSecurityProfileOutput(v **Describ } sv.Version = i64 } + default: _, _ = key, value @@ -17175,6 +17423,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsRestjson1_deserializeDocumentStreamInfo(&sv.StreamInfo, value); err != nil { return err } + default: _, _ = key, value @@ -17341,6 +17590,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "billingGroupName": if value != nil { jtv, ok := value.(string) @@ -17349,6 +17599,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.BillingGroupName = ptr.String(jtv) } + case "defaultClientId": if value != nil { jtv, ok := value.(string) @@ -17357,6 +17608,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.DefaultClientId = ptr.String(jtv) } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -17365,6 +17617,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingArn = ptr.String(jtv) } + case "thingId": if value != nil { jtv, ok := value.(string) @@ -17373,6 +17626,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingId = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -17381,6 +17635,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingName = ptr.String(jtv) } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -17389,6 +17644,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.ThingTypeName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17401,6 +17657,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingOutput(v **DescribeThingOutp } sv.Version = i64 } + default: _, _ = key, value @@ -17565,6 +17822,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.IndexName = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -17573,6 +17831,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.QueryString = ptr.String(jtv) } + case "queryVersion": if value != nil { jtv, ok := value.(string) @@ -17581,6 +17840,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.QueryVersion = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17589,6 +17849,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.Status = types.DynamicGroupStatus(jtv) } + case "thingGroupArn": if value != nil { jtv, ok := value.(string) @@ -17597,6 +17858,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupArn = ptr.String(jtv) } + case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -17605,10 +17867,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupId = ptr.String(jtv) } + case "thingGroupMetadata": if err := awsRestjson1_deserializeDocumentThingGroupMetadata(&sv.ThingGroupMetadata, value); err != nil { return err } + case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -17617,10 +17881,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.ThingGroupName = ptr.String(jtv) } + case "thingGroupProperties": if err := awsRestjson1_deserializeDocumentThingGroupProperties(&sv.ThingGroupProperties, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -17633,6 +17899,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingGroupOutput(v **DescribeThin } sv.Version = i64 } + default: _, _ = key, value @@ -17807,6 +18074,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } } + case "failureCount": if value != nil { jtv, ok := value.(json.Number) @@ -17819,6 +18087,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.FailureCount = int32(i64) } + case "inputFileBucket": if value != nil { jtv, ok := value.(string) @@ -17827,6 +18096,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.InputFileBucket = ptr.String(jtv) } + case "inputFileKey": if value != nil { jtv, ok := value.(string) @@ -17835,6 +18105,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.InputFileKey = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -17850,6 +18121,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } } + case "message": if value != nil { jtv, ok := value.(string) @@ -17858,6 +18130,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.Message = ptr.String(jtv) } + case "percentageProgress": if value != nil { jtv, ok := value.(json.Number) @@ -17870,6 +18143,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.PercentageProgress = int32(i64) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17878,6 +18152,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17886,6 +18161,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.Status = types.Status(jtv) } + case "successCount": if value != nil { jtv, ok := value.(json.Number) @@ -17898,6 +18174,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.SuccessCount = int32(i64) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -17906,6 +18183,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.TaskId = ptr.String(jtv) } + case "templateBody": if value != nil { jtv, ok := value.(string) @@ -17914,6 +18192,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingRegistrationTaskOutput(v **D } sv.TemplateBody = ptr.String(jtv) } + default: _, _ = key, value @@ -18084,6 +18363,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeArn = ptr.String(jtv) } + case "thingTypeId": if value != nil { jtv, ok := value.(string) @@ -18092,10 +18372,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeId = ptr.String(jtv) } + case "thingTypeMetadata": if err := awsRestjson1_deserializeDocumentThingTypeMetadata(&sv.ThingTypeMetadata, value); err != nil { return err } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -18104,10 +18386,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThingTypeOutput(v **DescribeThing } sv.ThingTypeName = ptr.String(jtv) } + case "thingTypeProperties": if err := awsRestjson1_deserializeDocumentThingTypeProperties(&sv.ThingTypeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -19002,10 +19286,12 @@ func awsRestjson1_deserializeOpDocumentGetBehaviorModelTrainingSummariesOutput(v } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsRestjson1_deserializeDocumentBehaviorModelTrainingSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -19181,6 +19467,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketsAggregationOutput(v **GetBucket if err := awsRestjson1_deserializeDocumentBuckets(&sv.Buckets, value); err != nil { return err } + case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -19193,6 +19480,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketsAggregationOutput(v **GetBucket } sv.TotalCount = int32(i64) } + default: _, _ = key, value @@ -19376,6 +19664,7 @@ func awsRestjson1_deserializeOpDocumentGetCardinalityOutput(v **GetCardinalityOu } sv.Cardinality = int32(i64) } + default: _, _ = key, value @@ -19545,6 +19834,7 @@ func awsRestjson1_deserializeOpDocumentGetEffectivePoliciesOutput(v **GetEffecti if err := awsRestjson1_deserializeDocumentEffectivePolicies(&sv.EffectivePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -19708,10 +19998,12 @@ func awsRestjson1_deserializeOpDocumentGetIndexingConfigurationOutput(v **GetInd if err := awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(&sv.ThingGroupIndexingConfiguration, value); err != nil { return err } + case "thingIndexingConfiguration": if err := awsRestjson1_deserializeDocumentThingIndexingConfiguration(&sv.ThingIndexingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19876,6 +20168,7 @@ func awsRestjson1_deserializeOpDocumentGetJobDocumentOutput(v **GetJobDocumentOu } sv.Document = ptr.String(jtv) } + default: _, _ = key, value @@ -20037,6 +20330,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt } sv.LogLevel = types.LogLevel(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -20045,6 +20339,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20211,6 +20506,7 @@ func awsRestjson1_deserializeOpDocumentGetOTAUpdateOutput(v **GetOTAUpdateOutput if err := awsRestjson1_deserializeDocumentOTAUpdateInfo(&sv.OtaUpdateInfo, value); err != nil { return err } + default: _, _ = key, value @@ -20382,6 +20678,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } } + case "defaultVersionName": if value != nil { jtv, ok := value.(string) @@ -20390,6 +20687,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.DefaultVersionName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20398,6 +20696,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20413,6 +20712,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } } + case "packageArn": if value != nil { jtv, ok := value.(string) @@ -20421,6 +20721,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.PackageArn = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -20429,6 +20730,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageOutput(v **GetPackageOutput, va } sv.PackageName = ptr.String(jtv) } + default: _, _ = key, value @@ -20583,6 +20885,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageConfigurationOutput(v **GetPack if err := awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(&sv.VersionUpdateByJobsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -20743,10 +21046,12 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer if err := awsRestjson1_deserializeDocumentPackageVersionArtifact(&sv.Artifact, value); err != nil { return err } + case "attributes": if err := awsRestjson1_deserializeDocumentResourceAttributes(&sv.Attributes, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -20762,6 +21067,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } } + case "description": if value != nil { jtv, ok := value.(string) @@ -20770,6 +21076,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Description = ptr.String(jtv) } + case "errorReason": if value != nil { jtv, ok := value.(string) @@ -20778,6 +21085,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.ErrorReason = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -20793,6 +21101,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -20801,6 +21110,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.PackageName = ptr.String(jtv) } + case "packageVersionArn": if value != nil { jtv, ok := value.(string) @@ -20809,6 +21119,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.PackageVersionArn = ptr.String(jtv) } + case "recipe": if value != nil { jtv, ok := value.(string) @@ -20817,10 +21128,12 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Recipe = ptr.String(jtv) } + case "sbom": if err := awsRestjson1_deserializeDocumentSbom(&sv.Sbom, value); err != nil { return err } + case "sbomValidationStatus": if value != nil { jtv, ok := value.(string) @@ -20829,6 +21142,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.SbomValidationStatus = types.SbomValidationStatus(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20837,6 +21151,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.Status = types.PackageVersionStatus(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -20845,6 +21160,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionOutput(v **GetPackageVer } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -21020,6 +21336,7 @@ func awsRestjson1_deserializeOpDocumentGetPercentilesOutput(v **GetPercentilesOu if err := awsRestjson1_deserializeDocumentPercentiles(&sv.Percentiles, value); err != nil { return err } + default: _, _ = key, value @@ -21197,6 +21514,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } } + case "defaultVersionId": if value != nil { jtv, ok := value.(string) @@ -21205,6 +21523,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.DefaultVersionId = ptr.String(jtv) } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -21213,6 +21532,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.GenerationId = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21228,6 +21548,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -21236,6 +21557,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyArn = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -21244,6 +21566,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -21252,6 +21575,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -21429,6 +21753,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -21437,6 +21762,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.GenerationId = ptr.String(jtv) } + case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -21445,6 +21771,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.IsDefaultVersion = jtv } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -21460,6 +21787,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -21468,6 +21796,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyArn = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -21476,6 +21805,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -21484,6 +21814,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyName = ptr.String(jtv) } + case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -21492,6 +21823,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyVersionOutput(v **GetPolicyVersi } sv.PolicyVersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -21659,6 +21991,7 @@ func awsRestjson1_deserializeOpDocumentGetRegistrationCodeOutput(v **GetRegistra } sv.RegistrationCode = ptr.String(jtv) } + default: _, _ = key, value @@ -21834,6 +22167,7 @@ func awsRestjson1_deserializeOpDocumentGetStatisticsOutput(v **GetStatisticsOutp if err := awsRestjson1_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -21994,6 +22328,7 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleOutput(v **GetTopicRuleOutput if err := awsRestjson1_deserializeDocumentTopicRule(&sv.Rule, value); err != nil { return err } + case "ruleArn": if value != nil { jtv, ok := value.(string) @@ -22002,6 +22337,7 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleOutput(v **GetTopicRuleOutput } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22162,6 +22498,7 @@ func awsRestjson1_deserializeOpDocumentGetTopicRuleDestinationOutput(v **GetTopi if err := awsRestjson1_deserializeDocumentTopicRuleDestination(&sv.TopicRuleDestination, value); err != nil { return err } + default: _, _ = key, value @@ -22323,6 +22660,7 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.DefaultLogLevel = types.LogLevel(jtv) } + case "disableAllLogs": if value != nil { jtv, ok := value.(bool) @@ -22331,6 +22669,7 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.DisableAllLogs = jtv } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -22339,6 +22678,7 @@ func awsRestjson1_deserializeOpDocumentGetV2LoggingOptionsOutput(v **GetV2Loggin } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22499,6 +22839,7 @@ func awsRestjson1_deserializeOpDocumentListActiveViolationsOutput(v **ListActive if err := awsRestjson1_deserializeDocumentActiveViolations(&sv.ActiveViolations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -22507,6 +22848,7 @@ func awsRestjson1_deserializeOpDocumentListActiveViolationsOutput(v **ListActive } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22680,10 +23022,12 @@ func awsRestjson1_deserializeOpDocumentListAttachedPoliciesOutput(v **ListAttach } sv.NextMarker = ptr.String(jtv) } + case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -22841,6 +23185,7 @@ func awsRestjson1_deserializeOpDocumentListAuditFindingsOutput(v **ListAuditFind if err := awsRestjson1_deserializeDocumentAuditFindings(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -22849,6 +23194,7 @@ func awsRestjson1_deserializeOpDocumentListAuditFindingsOutput(v **ListAuditFind } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23006,6 +23352,7 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsExecutionsOutpu if err := awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadataList(&sv.ActionsExecutions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23014,6 +23361,7 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsExecutionsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23175,10 +23523,12 @@ func awsRestjson1_deserializeOpDocumentListAuditMitigationActionsTasksOutput(v * } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadataList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -23340,10 +23690,12 @@ func awsRestjson1_deserializeOpDocumentListAuditSuppressionsOutput(v **ListAudit } sv.NextToken = ptr.String(jtv) } + case "suppressions": if err := awsRestjson1_deserializeDocumentAuditSuppressionList(&sv.Suppressions, value); err != nil { return err } + default: _, _ = key, value @@ -23505,10 +23857,12 @@ func awsRestjson1_deserializeOpDocumentListAuditTasksOutput(v **ListAuditTasksOu } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentAuditTaskMetadataList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -23672,6 +24026,7 @@ func awsRestjson1_deserializeOpDocumentListAuthorizersOutput(v **ListAuthorizers if err := awsRestjson1_deserializeDocumentAuthorizers(&sv.Authorizers, value); err != nil { return err } + case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -23680,6 +24035,7 @@ func awsRestjson1_deserializeOpDocumentListAuthorizersOutput(v **ListAuthorizers } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -23840,6 +24196,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr if err := awsRestjson1_deserializeDocumentBillingGroupNameAndArnList(&sv.BillingGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -23848,6 +24205,7 @@ func awsRestjson1_deserializeOpDocumentListBillingGroupsOutput(v **ListBillingGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24011,6 +24369,7 @@ func awsRestjson1_deserializeOpDocumentListCACertificatesOutput(v **ListCACertif if err := awsRestjson1_deserializeDocumentCACertificates(&sv.Certificates, value); err != nil { return err } + case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24019,6 +24378,7 @@ func awsRestjson1_deserializeOpDocumentListCACertificatesOutput(v **ListCACertif } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -24182,6 +24542,7 @@ func awsRestjson1_deserializeOpDocumentListCertificateProvidersOutput(v **ListCe if err := awsRestjson1_deserializeDocumentCertificateProviders(&sv.CertificateProviders, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24190,6 +24551,7 @@ func awsRestjson1_deserializeOpDocumentListCertificateProvidersOutput(v **ListCe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24353,6 +24715,7 @@ func awsRestjson1_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsRestjson1_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } + case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24361,6 +24724,7 @@ func awsRestjson1_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -24524,6 +24888,7 @@ func awsRestjson1_deserializeOpDocumentListCertificatesByCAOutput(v **ListCertif if err := awsRestjson1_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } + case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -24532,6 +24897,7 @@ func awsRestjson1_deserializeOpDocumentListCertificatesByCAOutput(v **ListCertif } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -24689,6 +25055,7 @@ func awsRestjson1_deserializeOpDocumentListCustomMetricsOutput(v **ListCustomMet if err := awsRestjson1_deserializeDocumentMetricNames(&sv.MetricNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24697,6 +25064,7 @@ func awsRestjson1_deserializeOpDocumentListCustomMetricsOutput(v **ListCustomMet } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24854,6 +25222,7 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsExecutionsOutp if err := awsRestjson1_deserializeDocumentDetectMitigationActionExecutionList(&sv.ActionsExecutions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -24862,6 +25231,7 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsExecutionsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25023,10 +25393,12 @@ func awsRestjson1_deserializeOpDocumentListDetectMitigationActionsTasksOutput(v } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummaryList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -25184,6 +25556,7 @@ func awsRestjson1_deserializeOpDocumentListDimensionsOutput(v **ListDimensionsOu if err := awsRestjson1_deserializeDocumentDimensionNames(&sv.DimensionNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25192,6 +25565,7 @@ func awsRestjson1_deserializeOpDocumentListDimensionsOutput(v **ListDimensionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25355,6 +25729,7 @@ func awsRestjson1_deserializeOpDocumentListDomainConfigurationsOutput(v **ListDo if err := awsRestjson1_deserializeDocumentDomainConfigurations(&sv.DomainConfigurations, value); err != nil { return err } + case "nextMarker": if value != nil { jtv, ok := value.(string) @@ -25363,6 +25738,7 @@ func awsRestjson1_deserializeOpDocumentListDomainConfigurationsOutput(v **ListDo } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -25526,6 +25902,7 @@ func awsRestjson1_deserializeOpDocumentListFleetMetricsOutput(v **ListFleetMetri if err := awsRestjson1_deserializeDocumentFleetMetricNameAndArnList(&sv.FleetMetrics, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25534,6 +25911,7 @@ func awsRestjson1_deserializeOpDocumentListFleetMetricsOutput(v **ListFleetMetri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25697,6 +26075,7 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsRestjson1_deserializeDocumentIndexNamesList(&sv.IndexNames, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25705,6 +26084,7 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25865,6 +26245,7 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForJobOutput(v **ListJob if err := awsRestjson1_deserializeDocumentJobExecutionSummaryForJobList(&sv.ExecutionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -25873,6 +26254,7 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForJobOutput(v **ListJob } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26033,6 +26415,7 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForThingOutput(v **ListJ if err := awsRestjson1_deserializeDocumentJobExecutionSummaryForThingList(&sv.ExecutionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26041,6 +26424,7 @@ func awsRestjson1_deserializeOpDocumentListJobExecutionsForThingOutput(v **ListJ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26201,6 +26585,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocumentJobSummaryList(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26209,6 +26594,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26366,6 +26752,7 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat if err := awsRestjson1_deserializeDocumentJobTemplateSummaryList(&sv.JobTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26374,6 +26761,7 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26534,6 +26922,7 @@ func awsRestjson1_deserializeOpDocumentListManagedJobTemplatesOutput(v **ListMan if err := awsRestjson1_deserializeDocumentManagedJobTemplatesSummaryList(&sv.ManagedJobTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26542,6 +26931,7 @@ func awsRestjson1_deserializeOpDocumentListManagedJobTemplatesOutput(v **ListMan } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26702,6 +27092,7 @@ func awsRestjson1_deserializeOpDocumentListMetricValuesOutput(v **ListMetricValu if err := awsRestjson1_deserializeDocumentMetricDatumList(&sv.MetricDatumList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26710,6 +27101,7 @@ func awsRestjson1_deserializeOpDocumentListMetricValuesOutput(v **ListMetricValu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26867,6 +27259,7 @@ func awsRestjson1_deserializeOpDocumentListMitigationActionsOutput(v **ListMitig if err := awsRestjson1_deserializeDocumentMitigationActionIdentifierList(&sv.ActionIdentifiers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -26875,6 +27268,7 @@ func awsRestjson1_deserializeOpDocumentListMitigationActionsOutput(v **ListMitig } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27042,10 +27436,12 @@ func awsRestjson1_deserializeOpDocumentListOTAUpdatesOutput(v **ListOTAUpdatesOu } sv.NextToken = ptr.String(jtv) } + case "otaUpdates": if err := awsRestjson1_deserializeDocumentOTAUpdatesSummary(&sv.OtaUpdates, value); err != nil { return err } + default: _, _ = key, value @@ -27213,10 +27609,12 @@ func awsRestjson1_deserializeOpDocumentListOutgoingCertificatesOutput(v **ListOu } sv.NextMarker = ptr.String(jtv) } + case "outgoingCertificates": if err := awsRestjson1_deserializeDocumentOutgoingCertificates(&sv.OutgoingCertificates, value); err != nil { return err } + default: _, _ = key, value @@ -27378,10 +27776,12 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } + case "packageSummaries": if err := awsRestjson1_deserializeDocumentPackageSummaryList(&sv.PackageSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -27543,10 +27943,12 @@ func awsRestjson1_deserializeOpDocumentListPackageVersionsOutput(v **ListPackage } sv.NextToken = ptr.String(jtv) } + case "packageVersionSummaries": if err := awsRestjson1_deserializeDocumentPackageVersionSummaryList(&sv.PackageVersionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -27714,10 +28116,12 @@ func awsRestjson1_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextMarker = ptr.String(jtv) } + case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -27888,10 +28292,12 @@ func awsRestjson1_deserializeOpDocumentListPolicyPrincipalsOutput(v **ListPolicy } sv.NextMarker = ptr.String(jtv) } + case "principals": if err := awsRestjson1_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -28058,6 +28464,7 @@ func awsRestjson1_deserializeOpDocumentListPolicyVersionsOutput(v **ListPolicyVe if err := awsRestjson1_deserializeDocumentPolicyVersions(&sv.PolicyVersions, value); err != nil { return err } + default: _, _ = key, value @@ -28228,10 +28635,12 @@ func awsRestjson1_deserializeOpDocumentListPrincipalPoliciesOutput(v **ListPrinc } sv.NextMarker = ptr.String(jtv) } + case "policies": if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -28402,10 +28811,12 @@ func awsRestjson1_deserializeOpDocumentListPrincipalThingsOutput(v **ListPrincip } sv.NextToken = ptr.String(jtv) } + case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -28570,10 +28981,12 @@ func awsRestjson1_deserializeOpDocumentListProvisioningTemplatesOutput(v **ListP } sv.NextToken = ptr.String(jtv) } + case "templates": if err := awsRestjson1_deserializeDocumentProvisioningTemplateListing(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -28741,10 +29154,12 @@ func awsRestjson1_deserializeOpDocumentListProvisioningTemplateVersionsOutput(v } sv.NextToken = ptr.String(jtv) } + case "versions": if err := awsRestjson1_deserializeDocumentProvisioningTemplateVersionListing(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -28909,10 +29324,12 @@ func awsRestjson1_deserializeOpDocumentListRelatedResourcesForAuditFindingOutput } sv.NextToken = ptr.String(jtv) } + case "relatedResources": if err := awsRestjson1_deserializeDocumentRelatedResources(&sv.RelatedResources, value); err != nil { return err } + default: _, _ = key, value @@ -29080,10 +29497,12 @@ func awsRestjson1_deserializeOpDocumentListRoleAliasesOutput(v **ListRoleAliases } sv.NextMarker = ptr.String(jtv) } + case "roleAliases": if err := awsRestjson1_deserializeDocumentRoleAliases(&sv.RoleAliases, value); err != nil { return err } + default: _, _ = key, value @@ -29248,10 +29667,12 @@ func awsRestjson1_deserializeOpDocumentListSbomValidationResultsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + case "validationResultSummaries": if err := awsRestjson1_deserializeDocumentSbomValidationResultSummaryList(&sv.ValidationResultSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -29413,10 +29834,12 @@ func awsRestjson1_deserializeOpDocumentListScheduledAuditsOutput(v **ListSchedul } sv.NextToken = ptr.String(jtv) } + case "scheduledAudits": if err := awsRestjson1_deserializeDocumentScheduledAuditMetadataList(&sv.ScheduledAudits, value); err != nil { return err } + default: _, _ = key, value @@ -29581,10 +30004,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } + case "securityProfileIdentifiers": if err := awsRestjson1_deserializeDocumentSecurityProfileIdentifiers(&sv.SecurityProfileIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -29749,10 +30174,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesForTargetOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "securityProfileTargetMappings": if err := awsRestjson1_deserializeDocumentSecurityProfileTargetMappings(&sv.SecurityProfileTargetMappings, value); err != nil { return err } + default: _, _ = key, value @@ -29920,10 +30347,12 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } + case "streams": if err := awsRestjson1_deserializeDocumentStreamsSummary(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -30088,10 +30517,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -30265,10 +30696,12 @@ func awsRestjson1_deserializeOpDocumentListTargetsForPolicyOutput(v **ListTarget } sv.NextMarker = ptr.String(jtv) } + case "targets": if err := awsRestjson1_deserializeDocumentPolicyTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -30433,10 +30866,12 @@ func awsRestjson1_deserializeOpDocumentListTargetsForSecurityProfileOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "securityProfileTargets": if err := awsRestjson1_deserializeDocumentSecurityProfileTargets(&sv.SecurityProfileTargets, value); err != nil { return err } + default: _, _ = key, value @@ -30601,10 +31036,12 @@ func awsRestjson1_deserializeOpDocumentListThingGroupsOutput(v **ListThingGroups } sv.NextToken = ptr.String(jtv) } + case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.ThingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -30769,10 +31206,12 @@ func awsRestjson1_deserializeOpDocumentListThingGroupsForThingOutput(v **ListThi } sv.NextToken = ptr.String(jtv) } + case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.ThingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -30943,10 +31382,12 @@ func awsRestjson1_deserializeOpDocumentListThingPrincipalsOutput(v **ListThingPr } sv.NextToken = ptr.String(jtv) } + case "principals": if err := awsRestjson1_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -31111,6 +31552,7 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTaskReportsOutput(v } sv.NextToken = ptr.String(jtv) } + case "reportType": if value != nil { jtv, ok := value.(string) @@ -31119,10 +31561,12 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTaskReportsOutput(v } sv.ReportType = types.ReportType(jtv) } + case "resourceLinks": if err := awsRestjson1_deserializeDocumentS3FileUrlList(&sv.ResourceLinks, value); err != nil { return err } + default: _, _ = key, value @@ -31287,10 +31731,12 @@ func awsRestjson1_deserializeOpDocumentListThingRegistrationTasksOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "taskIds": if err := awsRestjson1_deserializeDocumentTaskIdList(&sv.TaskIds, value); err != nil { return err } + default: _, _ = key, value @@ -31458,10 +31904,12 @@ func awsRestjson1_deserializeOpDocumentListThingsOutput(v **ListThingsOutput, va } sv.NextToken = ptr.String(jtv) } + case "things": if err := awsRestjson1_deserializeDocumentThingAttributeList(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -31626,10 +32074,12 @@ func awsRestjson1_deserializeOpDocumentListThingsInBillingGroupOutput(v **ListTh } sv.NextToken = ptr.String(jtv) } + case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -31794,10 +32244,12 @@ func awsRestjson1_deserializeOpDocumentListThingsInThingGroupOutput(v **ListThin } sv.NextToken = ptr.String(jtv) } + case "things": if err := awsRestjson1_deserializeDocumentThingNameList(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -31965,10 +32417,12 @@ func awsRestjson1_deserializeOpDocumentListThingTypesOutput(v **ListThingTypesOu } sv.NextToken = ptr.String(jtv) } + case "thingTypes": if err := awsRestjson1_deserializeDocumentThingTypeList(&sv.ThingTypes, value); err != nil { return err } + default: _, _ = key, value @@ -32129,6 +32583,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRuleDestinationsOutput(v **ListT if err := awsRestjson1_deserializeDocumentTopicRuleDestinationSummaries(&sv.DestinationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32137,6 +32592,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRuleDestinationsOutput(v **ListT } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32298,10 +32754,12 @@ func awsRestjson1_deserializeOpDocumentListTopicRulesOutput(v **ListTopicRulesOu } sv.NextToken = ptr.String(jtv) } + case "rules": if err := awsRestjson1_deserializeDocumentTopicRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -32462,6 +32920,7 @@ func awsRestjson1_deserializeOpDocumentListV2LoggingLevelsOutput(v **ListV2Loggi if err := awsRestjson1_deserializeDocumentLogTargetConfigurations(&sv.LogTargetConfigurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -32470,6 +32929,7 @@ func awsRestjson1_deserializeOpDocumentListV2LoggingLevelsOutput(v **ListV2Loggi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32631,10 +33091,12 @@ func awsRestjson1_deserializeOpDocumentListViolationEventsOutput(v **ListViolati } sv.NextToken = ptr.String(jtv) } + case "violationEvents": if err := awsRestjson1_deserializeDocumentViolationEvents(&sv.ViolationEvents, value); err != nil { return err } + default: _, _ = key, value @@ -32911,6 +33373,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCACertificateOutput(v **RegisterC } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -32919,6 +33382,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCACertificateOutput(v **RegisterC } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -33098,6 +33562,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -33106,6 +33571,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateOutput(v **RegisterCer } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -33282,6 +33748,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateWithoutCAOutput(v **Re } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -33290,6 +33757,7 @@ func awsRestjson1_deserializeOpDocumentRegisterCertificateWithoutCAOutput(v **Re } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -33463,10 +33931,12 @@ func awsRestjson1_deserializeOpDocumentRegisterThingOutput(v **RegisterThingOutp } sv.CertificatePem = ptr.String(jtv) } + case "resourceArns": if err := awsRestjson1_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } + default: _, _ = key, value @@ -34058,14 +34528,17 @@ func awsRestjson1_deserializeOpDocumentSearchIndexOutput(v **SearchIndexOutput, } sv.NextToken = ptr.String(jtv) } + case "thingGroups": if err := awsRestjson1_deserializeDocumentThingGroupDocumentList(&sv.ThingGroups, value); err != nil { return err } + case "things": if err := awsRestjson1_deserializeDocumentThingDocumentList(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -34239,6 +34712,7 @@ func awsRestjson1_deserializeOpDocumentSetDefaultAuthorizerOutput(v **SetDefault } sv.AuthorizerArn = ptr.String(jtv) } + case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -34247,6 +34721,7 @@ func awsRestjson1_deserializeOpDocumentSetDefaultAuthorizerOutput(v **SetDefault } sv.AuthorizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -34829,6 +35304,7 @@ func awsRestjson1_deserializeOpDocumentStartAuditMitigationActionsTaskOutput(v * } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -34996,6 +35472,7 @@ func awsRestjson1_deserializeOpDocumentStartDetectMitigationActionsTaskOutput(v } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -35160,6 +35637,7 @@ func awsRestjson1_deserializeOpDocumentStartOnDemandAuditTaskOutput(v **StartOnD } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -35324,6 +35802,7 @@ func awsRestjson1_deserializeOpDocumentStartThingRegistrationTaskOutput(v **Star } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -35693,6 +36172,7 @@ func awsRestjson1_deserializeOpDocumentTestAuthorizationOutput(v **TestAuthoriza if err := awsRestjson1_deserializeDocumentAuthResults(&sv.AuthResults, value); err != nil { return err } + default: _, _ = key, value @@ -35870,6 +36350,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.DisconnectAfterInSeconds = ptr.Int32(int32(i64)) } + case "isAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -35878,10 +36359,12 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.IsAuthenticated = ptr.Bool(jtv) } + case "policyDocuments": if err := awsRestjson1_deserializeDocumentPolicyDocuments(&sv.PolicyDocuments, value); err != nil { return err } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -35890,6 +36373,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.PrincipalId = ptr.String(jtv) } + case "refreshAfterInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -35902,6 +36386,7 @@ func awsRestjson1_deserializeOpDocumentTestInvokeAuthorizerOutput(v **TestInvoke } sv.RefreshAfterInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -36078,6 +36563,7 @@ func awsRestjson1_deserializeOpDocumentTransferCertificateOutput(v **TransferCer } sv.TransferredCertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -36539,6 +37025,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerArn = ptr.String(jtv) } + case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -36547,6 +37034,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAuthorizerOutput(v **UpdateAuthoriz } sv.AuthorizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -36718,6 +37206,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBillingGroupOutput(v **UpdateBillin } sv.Version = i64 } + default: _, _ = key, value @@ -37109,6 +37598,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCertificateProviderOutput(v **Updat } sv.CertificateProviderArn = ptr.String(jtv) } + case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -37117,6 +37607,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCertificateProviderOutput(v **Updat } sv.CertificateProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -37288,6 +37779,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -37296,6 +37788,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.DisplayName = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37311,6 +37804,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } } + case "metricArn": if value != nil { jtv, ok := value.(string) @@ -37319,6 +37813,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -37327,6 +37822,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricName = ptr.String(jtv) } + case "metricType": if value != nil { jtv, ok := value.(string) @@ -37335,6 +37831,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCustomMetricOutput(v **UpdateCustom } sv.MetricType = types.CustomMetricType(jtv) } + default: _, _ = key, value @@ -37499,6 +37996,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Arn = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -37514,6 +38012,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -37529,6 +38028,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } } + case "name": if value != nil { jtv, ok := value.(string) @@ -37537,10 +38037,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Name = ptr.String(jtv) } + case "stringValues": if err := awsRestjson1_deserializeDocumentDimensionStringValues(&sv.StringValues, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -37549,6 +38051,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDimensionOutput(v **UpdateDimension } sv.Type = types.DimensionType(jtv) } + default: _, _ = key, value @@ -37722,6 +38225,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigurationOutput(v **Updat } sv.DomainConfigurationArn = ptr.String(jtv) } + case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -37730,6 +38234,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigurationOutput(v **Updat } sv.DomainConfigurationName = ptr.String(jtv) } + default: _, _ = key, value @@ -37904,6 +38409,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDynamicThingGroupOutput(v **UpdateD } sv.Version = i64 } + default: _, _ = key, value @@ -38486,6 +38992,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMitigationActionOutput(v **UpdateMi } sv.ActionArn = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -38494,6 +39001,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMitigationActionOutput(v **UpdateMi } sv.ActionId = ptr.String(jtv) } + default: _, _ = key, value @@ -39061,6 +39569,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleAliasOutput(v **UpdateRoleAlias } sv.RoleAlias = ptr.String(jtv) } + case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -39069,6 +39578,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleAliasOutput(v **UpdateRoleAlias } sv.RoleAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -39233,6 +39743,7 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduledAuditOutput(v **UpdateSche } sv.ScheduledAuditArn = ptr.String(jtv) } + default: _, _ = key, value @@ -39396,18 +39907,22 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainList(&sv.AdditionalMetricsToRetain, value); err != nil { return err } + case "additionalMetricsToRetainV2": if err := awsRestjson1_deserializeDocumentAdditionalMetricsToRetainV2List(&sv.AdditionalMetricsToRetainV2, value); err != nil { return err } + case "alertTargets": if err := awsRestjson1_deserializeDocumentAlertTargets(&sv.AlertTargets, value); err != nil { return err } + case "behaviors": if err := awsRestjson1_deserializeDocumentBehaviors(&sv.Behaviors, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -39423,6 +39938,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -39438,10 +39954,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } } + case "metricsExportConfig": if err := awsRestjson1_deserializeDocumentMetricsExportConfig(&sv.MetricsExportConfig, value); err != nil { return err } + case "securityProfileArn": if value != nil { jtv, ok := value.(string) @@ -39450,6 +39968,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileArn = ptr.String(jtv) } + case "securityProfileDescription": if value != nil { jtv, ok := value.(string) @@ -39458,6 +39977,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileDescription = ptr.String(jtv) } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -39466,6 +39986,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.SecurityProfileName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -39478,6 +39999,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityProfileOutput(v **UpdateSec } sv.Version = i64 } + default: _, _ = key, value @@ -39651,6 +40173,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.Description = ptr.String(jtv) } + case "streamArn": if value != nil { jtv, ok := value.(string) @@ -39659,6 +40182,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamArn = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -39667,6 +40191,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamId = ptr.String(jtv) } + case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -39679,6 +40204,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStreamOutput(v **UpdateStreamOutput } sv.StreamVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39956,6 +40482,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThingGroupOutput(v **UpdateThingGro } sv.Version = i64 } + default: _, _ = key, value @@ -40314,10 +40841,12 @@ func awsRestjson1_deserializeOpDocumentValidateSecurityProfileBehaviorsOutput(v } sv.Valid = jtv } + case "validationErrors": if err := awsRestjson1_deserializeDocumentValidationErrors(&sv.ValidationErrors, value); err != nil { return err } + default: _, _ = key, value @@ -41541,6 +42070,7 @@ func awsRestjson1_deserializeDocumentAbortConfig(v **types.AbortConfig, value in if err := awsRestjson1_deserializeDocumentAbortCriteriaList(&sv.CriteriaList, value); err != nil { return err } + default: _, _ = key, value @@ -41580,6 +42110,7 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.Action = types.AbortAction(jtv) } + case "failureType": if value != nil { jtv, ok := value.(string) @@ -41588,6 +42119,7 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.FailureType = types.JobExecutionFailureType(jtv) } + case "minNumberOfExecutedThings": if value != nil { jtv, ok := value.(json.Number) @@ -41600,6 +42132,7 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } sv.MinNumberOfExecutedThings = ptr.Int32(int32(i64)) } + case "thresholdPercentage": if value != nil { switch jtv := value.(type) { @@ -41633,6 +42166,7 @@ func awsRestjson1_deserializeDocumentAbortCriteria(v **types.AbortCriteria, valu } } + default: _, _ = key, value @@ -41702,94 +42236,117 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentCloudwatchAlarmAction(&sv.CloudwatchAlarm, value); err != nil { return err } + case "cloudwatchLogs": if err := awsRestjson1_deserializeDocumentCloudwatchLogsAction(&sv.CloudwatchLogs, value); err != nil { return err } + case "cloudwatchMetric": if err := awsRestjson1_deserializeDocumentCloudwatchMetricAction(&sv.CloudwatchMetric, value); err != nil { return err } + case "dynamoDB": if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } + case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } + case "elasticsearch": if err := awsRestjson1_deserializeDocumentElasticsearchAction(&sv.Elasticsearch, value); err != nil { return err } + case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } + case "http": if err := awsRestjson1_deserializeDocumentHttpAction(&sv.Http, value); err != nil { return err } + case "iotAnalytics": if err := awsRestjson1_deserializeDocumentIotAnalyticsAction(&sv.IotAnalytics, value); err != nil { return err } + case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } + case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } + case "kafka": if err := awsRestjson1_deserializeDocumentKafkaAction(&sv.Kafka, value); err != nil { return err } + case "kinesis": if err := awsRestjson1_deserializeDocumentKinesisAction(&sv.Kinesis, value); err != nil { return err } + case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } + case "location": if err := awsRestjson1_deserializeDocumentLocationAction(&sv.Location, value); err != nil { return err } + case "openSearch": if err := awsRestjson1_deserializeDocumentOpenSearchAction(&sv.OpenSearch, value); err != nil { return err } + case "republish": if err := awsRestjson1_deserializeDocumentRepublishAction(&sv.Republish, value); err != nil { return err } + case "s3": if err := awsRestjson1_deserializeDocumentS3Action(&sv.S3, value); err != nil { return err } + case "salesforce": if err := awsRestjson1_deserializeDocumentSalesforceAction(&sv.Salesforce, value); err != nil { return err } + case "sns": if err := awsRestjson1_deserializeDocumentSnsAction(&sv.Sns, value); err != nil { return err } + case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } + case "stepFunctions": if err := awsRestjson1_deserializeDocumentStepFunctionsAction(&sv.StepFunctions, value); err != nil { return err } + case "timestream": if err := awsRestjson1_deserializeDocumentTimestreamAction(&sv.Timestream, value); err != nil { return err } + default: _, _ = key, value @@ -41859,6 +42416,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } + case "lastViolationTime": if value != nil { switch jtv := value.(type) { @@ -41874,10 +42432,12 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } } + case "lastViolationValue": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.LastViolationValue, value); err != nil { return err } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -41886,6 +42446,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.SecurityProfileName = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -41894,6 +42455,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.ThingName = ptr.String(jtv) } + case "verificationState": if value != nil { jtv, ok := value.(string) @@ -41902,6 +42464,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.VerificationState = types.VerificationState(jtv) } + case "verificationStateDescription": if value != nil { jtv, ok := value.(string) @@ -41910,10 +42473,12 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.VerificationStateDescription = ptr.String(jtv) } + case "violationEventAdditionalInfo": if err := awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(&sv.ViolationEventAdditionalInfo, value); err != nil { return err } + case "violationId": if value != nil { jtv, ok := value.(string) @@ -41922,6 +42487,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } sv.ViolationId = ptr.String(jtv) } + case "violationStartTime": if value != nil { switch jtv := value.(type) { @@ -41937,6 +42503,7 @@ func awsRestjson1_deserializeDocumentActiveViolation(v **types.ActiveViolation, } } + default: _, _ = key, value @@ -42116,10 +42683,12 @@ func awsRestjson1_deserializeDocumentAddThingsToThingGroupParams(v **types.AddTh } sv.OverrideDynamicGroups = ptr.Bool(jtv) } + case "thingGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNames(&sv.ThingGroupNames, value); err != nil { return err } + default: _, _ = key, value @@ -42159,10 +42728,12 @@ func awsRestjson1_deserializeDocumentAggregationType(v **types.AggregationType, } sv.Name = types.AggregationTypeName(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentAggregationTypeValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -42238,6 +42809,7 @@ func awsRestjson1_deserializeDocumentAlertTarget(v **types.AlertTarget, value in } sv.AlertTargetArn = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -42246,6 +42818,7 @@ func awsRestjson1_deserializeDocumentAlertTarget(v **types.AlertTarget, value in } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -42316,6 +42889,7 @@ func awsRestjson1_deserializeDocumentAllowed(v **types.Allowed, value interface{ if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -42355,6 +42929,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.OffsetInNanos = ptr.String(jtv) } + case "timeInSeconds": if value != nil { jtv, ok := value.(string) @@ -42363,6 +42938,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.TimeInSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -42402,14 +42978,17 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = ptr.String(jtv) } + case "timestamp": if err := awsRestjson1_deserializeDocumentAssetPropertyTimestamp(&sv.Timestamp, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentAssetPropertyVariant(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -42557,6 +43136,7 @@ func awsRestjson1_deserializeDocumentAttributePayload(v **types.AttributePayload if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "merge": if value != nil { jtv, ok := value.(bool) @@ -42565,6 +43145,7 @@ func awsRestjson1_deserializeDocumentAttributePayload(v **types.AttributePayload } sv.Merge = jtv } + default: _, _ = key, value @@ -42676,6 +43257,7 @@ func awsRestjson1_deserializeDocumentAuditCheckConfiguration(v **types.AuditChec } sv.Enabled = jtv } + default: _, _ = key, value @@ -42750,6 +43332,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.CheckCompliant = ptr.Bool(jtv) } + case "checkRunStatus": if value != nil { jtv, ok := value.(string) @@ -42758,6 +43341,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.CheckRunStatus = types.AuditCheckRunStatus(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -42766,6 +43350,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.ErrorCode = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -42774,6 +43359,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.Message = ptr.String(jtv) } + case "nonCompliantResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -42786,6 +43372,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.NonCompliantResourcesCount = ptr.Int64(i64) } + case "suppressedNonCompliantResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -42798,6 +43385,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.SuppressedNonCompliantResourcesCount = ptr.Int64(i64) } + case "totalResourcesCount": if value != nil { jtv, ok := value.(json.Number) @@ -42810,6 +43398,7 @@ func awsRestjson1_deserializeDocumentAuditCheckDetails(v **types.AuditCheckDetai } sv.TotalResourcesCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -42952,6 +43541,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.CheckName = ptr.String(jtv) } + case "findingId": if value != nil { jtv, ok := value.(string) @@ -42960,6 +43550,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.FindingId = ptr.String(jtv) } + case "findingTime": if value != nil { switch jtv := value.(type) { @@ -42975,6 +43566,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } } + case "isSuppressed": if value != nil { jtv, ok := value.(bool) @@ -42983,10 +43575,12 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.IsSuppressed = ptr.Bool(jtv) } + case "nonCompliantResource": if err := awsRestjson1_deserializeDocumentNonCompliantResource(&sv.NonCompliantResource, value); err != nil { return err } + case "reasonForNonCompliance": if value != nil { jtv, ok := value.(string) @@ -42995,6 +43589,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.ReasonForNonCompliance = ptr.String(jtv) } + case "reasonForNonComplianceCode": if value != nil { jtv, ok := value.(string) @@ -43003,10 +43598,12 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.ReasonForNonComplianceCode = ptr.String(jtv) } + case "relatedResources": if err := awsRestjson1_deserializeDocumentRelatedResources(&sv.RelatedResources, value); err != nil { return err } + case "severity": if value != nil { jtv, ok := value.(string) @@ -43015,6 +43612,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.Severity = types.AuditFindingSeverity(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -43023,6 +43621,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } sv.TaskId = ptr.String(jtv) } + case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -43038,6 +43637,7 @@ func awsRestjson1_deserializeDocumentAuditFinding(v **types.AuditFinding, value } } + default: _, _ = key, value @@ -43111,6 +43711,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ActionId = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -43119,6 +43720,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ActionName = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -43134,6 +43736,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -43142,6 +43745,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.ErrorCode = ptr.String(jtv) } + case "findingId": if value != nil { jtv, ok := value.(string) @@ -43150,6 +43754,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.FindingId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -43158,6 +43763,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.Message = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -43173,6 +43779,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } } + case "status": if value != nil { jtv, ok := value.(string) @@ -43181,6 +43788,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.Status = types.AuditMitigationActionsExecutionStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -43189,6 +43797,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionExecutionMetadata(v ** } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -43269,6 +43878,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -43277,6 +43887,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } sv.TaskId = ptr.String(jtv) } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -43285,6 +43896,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskMetadata(v **type } sv.TaskStatus = types.AuditMitigationActionsTaskStatus(jtv) } + default: _, _ = key, value @@ -43389,6 +44001,7 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(v **types. if err := awsRestjson1_deserializeDocumentAuditCheckToReasonCodeFilter(&sv.AuditCheckToReasonCodeFilter, value); err != nil { return err } + case "auditTaskId": if value != nil { jtv, ok := value.(string) @@ -43397,10 +44010,12 @@ func awsRestjson1_deserializeDocumentAuditMitigationActionsTaskTarget(v **types. } sv.AuditTaskId = ptr.String(jtv) } + case "findingIds": if err := awsRestjson1_deserializeDocumentFindingIds(&sv.FindingIds, value); err != nil { return err } + default: _, _ = key, value @@ -43440,6 +44055,7 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.Enabled = jtv } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -43448,6 +44064,7 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.RoleArn = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -43456,6 +44073,7 @@ func awsRestjson1_deserializeDocumentAuditNotificationTarget(v **types.AuditNoti } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -43530,6 +44148,7 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.CheckName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -43538,6 +44157,7 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.Description = ptr.String(jtv) } + case "expirationDate": if value != nil { switch jtv := value.(type) { @@ -43553,10 +44173,12 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } } + case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } + case "suppressIndefinitely": if value != nil { jtv, ok := value.(bool) @@ -43565,6 +44187,7 @@ func awsRestjson1_deserializeDocumentAuditSuppression(v **types.AuditSuppression } sv.SuppressIndefinitely = ptr.Bool(jtv) } + default: _, _ = key, value @@ -43638,6 +44261,7 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskId = ptr.String(jtv) } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -43646,6 +44270,7 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskStatus = types.AuditTaskStatus(jtv) } + case "taskType": if value != nil { jtv, ok := value.(string) @@ -43654,6 +44279,7 @@ func awsRestjson1_deserializeDocumentAuditTaskMetadata(v **types.AuditTaskMetada } sv.TaskType = types.AuditTaskType(jtv) } + default: _, _ = key, value @@ -43727,10 +44353,12 @@ func awsRestjson1_deserializeDocumentAuthInfo(v **types.AuthInfo, value interfac } sv.ActionType = types.ActionType(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -43770,6 +44398,7 @@ func awsRestjson1_deserializeDocumentAuthorizerConfig(v **types.AuthorizerConfig } sv.AllowAuthorizerOverride = ptr.Bool(jtv) } + case "defaultAuthorizerName": if value != nil { jtv, ok := value.(string) @@ -43778,6 +44407,7 @@ func awsRestjson1_deserializeDocumentAuthorizerConfig(v **types.AuthorizerConfig } sv.DefaultAuthorizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -43817,6 +44447,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerArn = ptr.String(jtv) } + case "authorizerFunctionArn": if value != nil { jtv, ok := value.(string) @@ -43825,6 +44456,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerFunctionArn = ptr.String(jtv) } + case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -43833,6 +44465,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.AuthorizerName = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -43848,6 +44481,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } } + case "enableCachingForHttp": if value != nil { jtv, ok := value.(bool) @@ -43856,6 +44490,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.EnableCachingForHttp = ptr.Bool(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -43871,6 +44506,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } } + case "signingDisabled": if value != nil { jtv, ok := value.(bool) @@ -43879,6 +44515,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.SigningDisabled = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -43887,6 +44524,7 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.Status = types.AuthorizerStatus(jtv) } + case "tokenKeyName": if value != nil { jtv, ok := value.(string) @@ -43895,10 +44533,12 @@ func awsRestjson1_deserializeDocumentAuthorizerDescription(v **types.AuthorizerD } sv.TokenKeyName = ptr.String(jtv) } + case "tokenSigningPublicKeys": if err := awsRestjson1_deserializeDocumentPublicKeyMap(&sv.TokenSigningPublicKeys, value); err != nil { return err } + default: _, _ = key, value @@ -43972,6 +44612,7 @@ func awsRestjson1_deserializeDocumentAuthorizerSummary(v **types.AuthorizerSumma } sv.AuthorizerArn = ptr.String(jtv) } + case "authorizerName": if value != nil { jtv, ok := value.(string) @@ -43980,6 +44621,7 @@ func awsRestjson1_deserializeDocumentAuthorizerSummary(v **types.AuthorizerSumma } sv.AuthorizerName = ptr.String(jtv) } + default: _, _ = key, value @@ -44015,6 +44657,7 @@ func awsRestjson1_deserializeDocumentAuthResult(v **types.AuthResult, value inte if err := awsRestjson1_deserializeDocumentAllowed(&sv.Allowed, value); err != nil { return err } + case "authDecision": if value != nil { jtv, ok := value.(string) @@ -44023,18 +44666,22 @@ func awsRestjson1_deserializeDocumentAuthResult(v **types.AuthResult, value inte } sv.AuthDecision = types.AuthDecision(jtv) } + case "authInfo": if err := awsRestjson1_deserializeDocumentAuthInfo(&sv.AuthInfo, value); err != nil { return err } + case "denied": if err := awsRestjson1_deserializeDocumentDenied(&sv.Denied, value); err != nil { return err } + case "missingContextValues": if err := awsRestjson1_deserializeDocumentMissingContextValues(&sv.MissingContextValues, value); err != nil { return err } + default: _, _ = key, value @@ -44104,6 +44751,7 @@ func awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } + case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -44116,6 +44764,7 @@ func awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(v **types.Aws } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44159,6 +44808,7 @@ func awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(v **types.AwsJ } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } + case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -44192,10 +44842,12 @@ func awsRestjson1_deserializeDocumentAwsJobExponentialRolloutRate(v **types.AwsJ } } + case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -44239,6 +44891,7 @@ func awsRestjson1_deserializeDocumentAwsJobPresignedUrlConfig(v **types.AwsJobPr } sv.ExpiresInSec = ptr.Int64(i64) } + default: _, _ = key, value @@ -44282,6 +44935,7 @@ func awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(v **types.AwsJob } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } + case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -44294,6 +44948,7 @@ func awsRestjson1_deserializeDocumentAwsJobRateIncreaseCriteria(v **types.AwsJob } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44329,6 +44984,7 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac if err := awsRestjson1_deserializeDocumentBehaviorCriteria(&sv.Criteria, value); err != nil { return err } + case "exportMetric": if value != nil { jtv, ok := value.(bool) @@ -44337,6 +44993,7 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.ExportMetric = ptr.Bool(jtv) } + case "metric": if value != nil { jtv, ok := value.(string) @@ -44345,10 +45002,12 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.Metric = ptr.String(jtv) } + case "metricDimension": if err := awsRestjson1_deserializeDocumentMetricDimension(&sv.MetricDimension, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -44357,6 +45016,7 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.Name = ptr.String(jtv) } + case "suppressAlerts": if value != nil { jtv, ok := value.(bool) @@ -44365,6 +45025,7 @@ func awsRestjson1_deserializeDocumentBehavior(v **types.Behavior, value interfac } sv.SuppressAlerts = ptr.Bool(jtv) } + default: _, _ = key, value @@ -44404,6 +45065,7 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "consecutiveDatapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -44416,6 +45078,7 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ConsecutiveDatapointsToAlarm = ptr.Int32(int32(i64)) } + case "consecutiveDatapointsToClear": if value != nil { jtv, ok := value.(json.Number) @@ -44428,6 +45091,7 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.ConsecutiveDatapointsToClear = ptr.Int32(int32(i64)) } + case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -44440,18 +45104,22 @@ func awsRestjson1_deserializeDocumentBehaviorCriteria(v **types.BehaviorCriteria } sv.DurationSeconds = ptr.Int32(int32(i64)) } + case "mlDetectionConfig": if err := awsRestjson1_deserializeDocumentMachineLearningDetectionConfig(&sv.MlDetectionConfig, value); err != nil { return err } + case "statisticalThreshold": if err := awsRestjson1_deserializeDocumentStatisticalThreshold(&sv.StatisticalThreshold, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -44525,6 +45193,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.BehaviorName = ptr.String(jtv) } + case "datapointsCollectionPercentage": if value != nil { switch jtv := value.(type) { @@ -44558,6 +45227,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } + case "lastModelRefreshDate": if value != nil { switch jtv := value.(type) { @@ -44573,6 +45243,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } + case "modelStatus": if value != nil { jtv, ok := value.(string) @@ -44581,6 +45252,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.ModelStatus = types.ModelStatus(jtv) } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -44589,6 +45261,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } sv.SecurityProfileName = ptr.String(jtv) } + case "trainingDataCollectionStartDate": if value != nil { switch jtv := value.(type) { @@ -44604,6 +45277,7 @@ func awsRestjson1_deserializeDocumentBehaviorModelTrainingSummary(v **types.Beha } } + default: _, _ = key, value @@ -44684,6 +45358,7 @@ func awsRestjson1_deserializeDocumentBillingGroupMetadata(v **types.BillingGroup } } + default: _, _ = key, value @@ -44757,6 +45432,7 @@ func awsRestjson1_deserializeDocumentBillingGroupProperties(v **types.BillingGro } sv.BillingGroupDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -44800,6 +45476,7 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Count = int32(i64) } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -44808,6 +45485,7 @@ func awsRestjson1_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.KeyValue = ptr.String(jtv) } + default: _, _ = key, value @@ -44881,6 +45559,7 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -44889,6 +45568,7 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.CertificateId = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -44904,6 +45584,7 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -44912,6 +45593,7 @@ func awsRestjson1_deserializeDocumentCACertificate(v **types.CACertificate, valu } sv.Status = types.CACertificateStatus(jtv) } + default: _, _ = key, value @@ -44951,6 +45633,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.AutoRegistrationStatus = types.AutoRegistrationStatus(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -44959,6 +45642,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -44967,6 +45651,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateId = ptr.String(jtv) } + case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -44975,6 +45660,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificateMode = types.CertificateMode(jtv) } + case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -44983,6 +45669,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CertificatePem = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -44998,6 +45685,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } } + case "customerVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45010,6 +45698,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.CustomerVersion = ptr.Int32(int32(i64)) } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -45018,6 +45707,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.GenerationId = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -45033,6 +45723,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } } + case "ownedBy": if value != nil { jtv, ok := value.(string) @@ -45041,6 +45732,7 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.OwnedBy = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -45049,10 +45741,12 @@ func awsRestjson1_deserializeDocumentCACertificateDescription(v **types.CACertif } sv.Status = types.CACertificateStatus(jtv) } + case "validity": if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.Validity, value); err != nil { return err } + default: _, _ = key, value @@ -45126,6 +45820,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45134,6 +45829,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateId = ptr.String(jtv) } + case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -45142,6 +45838,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.CertificateMode = types.CertificateMode(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -45157,6 +45854,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "status": if value != nil { jtv, ok := value.(string) @@ -45165,6 +45863,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Status = types.CertificateStatus(jtv) } + default: _, _ = key, value @@ -45204,6 +45903,7 @@ func awsRestjson1_deserializeDocumentCertificateConflictException(v **types.Cert } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -45243,6 +45943,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CaCertificateId = ptr.String(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -45251,6 +45952,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -45259,6 +45961,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateId = ptr.String(jtv) } + case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -45267,6 +45970,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificateMode = types.CertificateMode(jtv) } + case "certificatePem": if value != nil { jtv, ok := value.(string) @@ -45275,6 +45979,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CertificatePem = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -45290,6 +45995,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } } + case "customerVersion": if value != nil { jtv, ok := value.(json.Number) @@ -45302,6 +46008,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.CustomerVersion = ptr.Int32(int32(i64)) } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -45310,6 +46017,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.GenerationId = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -45325,6 +46033,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } } + case "ownedBy": if value != nil { jtv, ok := value.(string) @@ -45333,6 +46042,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.OwnedBy = ptr.String(jtv) } + case "previousOwnedBy": if value != nil { jtv, ok := value.(string) @@ -45341,6 +46051,7 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.PreviousOwnedBy = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -45349,14 +46060,17 @@ func awsRestjson1_deserializeDocumentCertificateDescription(v **types.Certificat } sv.Status = types.CertificateStatus(jtv) } + case "transferData": if err := awsRestjson1_deserializeDocumentTransferData(&sv.TransferData, value); err != nil { return err } + case "validity": if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.Validity, value); err != nil { return err } + default: _, _ = key, value @@ -45466,6 +46180,7 @@ func awsRestjson1_deserializeDocumentCertificateProviderSummary(v **types.Certif } sv.CertificateProviderArn = ptr.String(jtv) } + case "certificateProviderName": if value != nil { jtv, ok := value.(string) @@ -45474,6 +46189,7 @@ func awsRestjson1_deserializeDocumentCertificateProviderSummary(v **types.Certif } sv.CertificateProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -45547,6 +46263,7 @@ func awsRestjson1_deserializeDocumentCertificateStateException(v **types.Certifi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -45586,6 +46303,7 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -45632,6 +46350,7 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa } } + case "notBefore": if value != nil { switch jtv := value.(type) { @@ -45647,6 +46366,7 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa } } + default: _, _ = key, value @@ -45722,6 +46442,7 @@ func awsRestjson1_deserializeDocumentClientCertificateConfig(v **types.ClientCer } sv.ClientCertificateCallbackArn = ptr.String(jtv) } + default: _, _ = key, value @@ -45797,6 +46518,7 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.AlarmName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -45805,6 +46527,7 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.RoleArn = ptr.String(jtv) } + case "stateReason": if value != nil { jtv, ok := value.(string) @@ -45813,6 +46536,7 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.StateReason = ptr.String(jtv) } + case "stateValue": if value != nil { jtv, ok := value.(string) @@ -45821,6 +46545,7 @@ func awsRestjson1_deserializeDocumentCloudwatchAlarmAction(v **types.CloudwatchA } sv.StateValue = ptr.String(jtv) } + default: _, _ = key, value @@ -45860,6 +46585,7 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.BatchMode = ptr.Bool(jtv) } + case "logGroupName": if value != nil { jtv, ok := value.(string) @@ -45868,6 +46594,7 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.LogGroupName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -45876,6 +46603,7 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsAction(v **types.CloudwatchLo } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -45915,6 +46643,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricName = ptr.String(jtv) } + case "metricNamespace": if value != nil { jtv, ok := value.(string) @@ -45923,6 +46652,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricNamespace = ptr.String(jtv) } + case "metricTimestamp": if value != nil { jtv, ok := value.(string) @@ -45931,6 +46661,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricTimestamp = ptr.String(jtv) } + case "metricUnit": if value != nil { jtv, ok := value.(string) @@ -45939,6 +46670,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricUnit = ptr.String(jtv) } + case "metricValue": if value != nil { jtv, ok := value.(string) @@ -45947,6 +46679,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.MetricValue = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -45955,6 +46688,7 @@ func awsRestjson1_deserializeDocumentCloudwatchMetricAction(v **types.Cloudwatch } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -45994,14 +46728,17 @@ func awsRestjson1_deserializeDocumentCodeSigning(v **types.CodeSigning, value in } sv.AwsSignerJobId = ptr.String(jtv) } + case "customCodeSigning": if err := awsRestjson1_deserializeDocumentCustomCodeSigning(&sv.CustomCodeSigning, value); err != nil { return err } + case "startSigningJobParameter": if err := awsRestjson1_deserializeDocumentStartSigningJobParameter(&sv.StartSigningJobParameter, value); err != nil { return err } + default: _, _ = key, value @@ -46041,6 +46778,7 @@ func awsRestjson1_deserializeDocumentCodeSigningCertificateChain(v **types.CodeS } sv.CertificateName = ptr.String(jtv) } + case "inlineDocument": if value != nil { jtv, ok := value.(string) @@ -46049,6 +46787,7 @@ func awsRestjson1_deserializeDocumentCodeSigningCertificateChain(v **types.CodeS } sv.InlineDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -46092,6 +46831,7 @@ func awsRestjson1_deserializeDocumentCodeSigningSignature(v **types.CodeSigningS } sv.InlineDocument = dv } + default: _, _ = key, value @@ -46131,6 +46871,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Enabled = jtv } + default: _, _ = key, value @@ -46170,6 +46911,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -46178,6 +46920,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -46217,6 +46960,7 @@ func awsRestjson1_deserializeDocumentConflictingResourceUpdateException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -46252,6 +46996,7 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni if err := awsRestjson1_deserializeDocumentCodeSigningCertificateChain(&sv.CertificateChain, value); err != nil { return err } + case "hashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -46260,10 +47005,12 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni } sv.HashAlgorithm = ptr.String(jtv) } + case "signature": if err := awsRestjson1_deserializeDocumentCodeSigningSignature(&sv.Signature, value); err != nil { return err } + case "signatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -46272,6 +47019,7 @@ func awsRestjson1_deserializeDocumentCustomCodeSigning(v **types.CustomCodeSigni } sv.SignatureAlgorithm = ptr.String(jtv) } + default: _, _ = key, value @@ -46311,6 +47059,7 @@ func awsRestjson1_deserializeDocumentDeleteConflictException(v **types.DeleteCon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -46346,10 +47095,12 @@ func awsRestjson1_deserializeDocumentDenied(v **types.Denied, value interface{}) if err := awsRestjson1_deserializeDocumentExplicitDeny(&sv.ExplicitDeny, value); err != nil { return err } + case "implicitDeny": if err := awsRestjson1_deserializeDocumentImplicitDeny(&sv.ImplicitDeny, value); err != nil { return err } + default: _, _ = key, value @@ -46385,6 +47136,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -46496,6 +47248,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ActionName = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -46504,6 +47257,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ErrorCode = ptr.String(jtv) } + case "executionEndDate": if value != nil { switch jtv := value.(type) { @@ -46519,6 +47273,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } } + case "executionStartDate": if value != nil { switch jtv := value.(type) { @@ -46534,6 +47289,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } } + case "message": if value != nil { jtv, ok := value.(string) @@ -46542,6 +47298,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.Message = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -46550,6 +47307,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.Status = types.DetectMitigationActionExecutionStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -46558,6 +47316,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.TaskId = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -46566,6 +47325,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ThingName = ptr.String(jtv) } + case "violationId": if value != nil { jtv, ok := value.(string) @@ -46574,6 +47334,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionExecution(v **types.D } sv.ViolationId = ptr.String(jtv) } + default: _, _ = key, value @@ -46651,6 +47412,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsExecuted = ptr.Int64(i64) } + case "actionsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -46663,6 +47425,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsFailed = ptr.Int64(i64) } + case "actionsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -46675,6 +47438,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(v **t } sv.ActionsSkipped = ptr.Int64(i64) } + default: _, _ = key, value @@ -46710,6 +47474,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type if err := awsRestjson1_deserializeDocumentMitigationActionList(&sv.ActionsDefinition, value); err != nil { return err } + case "onlyActiveViolationsIncluded": if value != nil { jtv, ok := value.(bool) @@ -46718,6 +47483,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.OnlyActiveViolationsIncluded = jtv } + case "suppressedAlertsIncluded": if value != nil { jtv, ok := value.(bool) @@ -46726,10 +47492,12 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.SuppressedAlertsIncluded = jtv } + case "target": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(&sv.Target, value); err != nil { return err } + case "taskEndTime": if value != nil { switch jtv := value.(type) { @@ -46745,6 +47513,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -46753,6 +47522,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.TaskId = ptr.String(jtv) } + case "taskStartTime": if value != nil { switch jtv := value.(type) { @@ -46768,10 +47538,12 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } } + case "taskStatistics": if err := awsRestjson1_deserializeDocumentDetectMitigationActionsTaskStatistics(&sv.TaskStatistics, value); err != nil { return err } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -46780,10 +47552,12 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskSummary(v **type } sv.TaskStatus = types.DetectMitigationActionsTaskStatus(jtv) } + case "violationEventOccurrenceRange": if err := awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(&sv.ViolationEventOccurrenceRange, value); err != nil { return err } + default: _, _ = key, value @@ -46857,6 +47631,7 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(v **types } sv.BehaviorName = ptr.String(jtv) } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -46865,10 +47640,12 @@ func awsRestjson1_deserializeDocumentDetectMitigationActionsTaskTarget(v **types } sv.SecurityProfileName = ptr.String(jtv) } + case "violationIds": if err := awsRestjson1_deserializeDocumentTargetViolationIdsForDetectMitigationActions(&sv.ViolationIds, value); err != nil { return err } + default: _, _ = key, value @@ -46980,6 +47757,7 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Description = ptr.String(jtv) } + case "example": if value != nil { jtv, ok := value.(string) @@ -46988,6 +47766,7 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Example = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -46996,6 +47775,7 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Key = ptr.String(jtv) } + case "optional": if value != nil { jtv, ok := value.(bool) @@ -47004,6 +47784,7 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Optional = jtv } + case "regex": if value != nil { jtv, ok := value.(string) @@ -47012,6 +47793,7 @@ func awsRestjson1_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -47119,6 +47901,7 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.DomainConfigurationArn = ptr.String(jtv) } + case "domainConfigurationName": if value != nil { jtv, ok := value.(string) @@ -47127,6 +47910,7 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.DomainConfigurationName = ptr.String(jtv) } + case "serviceType": if value != nil { jtv, ok := value.(string) @@ -47135,6 +47919,7 @@ func awsRestjson1_deserializeDocumentDomainConfigurationSummary(v **types.Domain } sv.ServiceType = types.ServiceType(jtv) } + default: _, _ = key, value @@ -47174,6 +47959,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyField = ptr.String(jtv) } + case "hashKeyType": if value != nil { jtv, ok := value.(string) @@ -47182,6 +47968,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyType = types.DynamoKeyType(jtv) } + case "hashKeyValue": if value != nil { jtv, ok := value.(string) @@ -47190,6 +47977,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyValue = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -47198,6 +47986,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.Operation = ptr.String(jtv) } + case "payloadField": if value != nil { jtv, ok := value.(string) @@ -47206,6 +47995,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.PayloadField = ptr.String(jtv) } + case "rangeKeyField": if value != nil { jtv, ok := value.(string) @@ -47214,6 +48004,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyField = ptr.String(jtv) } + case "rangeKeyType": if value != nil { jtv, ok := value.(string) @@ -47222,6 +48013,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyType = types.DynamoKeyType(jtv) } + case "rangeKeyValue": if value != nil { jtv, ok := value.(string) @@ -47230,6 +48022,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyValue = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -47238,6 +48031,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RoleArn = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -47246,6 +48040,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -47281,6 +48076,7 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action if err := awsRestjson1_deserializeDocumentPutItemInput(&sv.PutItem, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -47289,6 +48085,7 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -47362,6 +48159,7 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyArn = ptr.String(jtv) } + case "policyDocument": if value != nil { jtv, ok := value.(string) @@ -47370,6 +48168,7 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyDocument = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -47378,6 +48177,7 @@ func awsRestjson1_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -47417,6 +48217,7 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -47425,6 +48226,7 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Id = ptr.String(jtv) } + case "index": if value != nil { jtv, ok := value.(string) @@ -47433,6 +48235,7 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Index = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -47441,6 +48244,7 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.RoleArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -47449,6 +48253,7 @@ func awsRestjson1_deserializeDocumentElasticsearchAction(v **types.Elasticsearch } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -47488,6 +48293,7 @@ func awsRestjson1_deserializeDocumentEnableIoTLoggingParams(v **types.EnableIoTL } sv.LogLevel = types.LogLevel(jtv) } + case "roleArnForLogging": if value != nil { jtv, ok := value.(string) @@ -47496,6 +48302,7 @@ func awsRestjson1_deserializeDocumentEnableIoTLoggingParams(v **types.EnableIoTL } sv.RoleArnForLogging = ptr.String(jtv) } + default: _, _ = key, value @@ -47571,6 +48378,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -47579,6 +48387,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47649,6 +48458,7 @@ func awsRestjson1_deserializeDocumentExplicitDeny(v **types.ExplicitDeny, value if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -47692,6 +48502,7 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia } sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } + case "incrementFactor": if value != nil { switch jtv := value.(type) { @@ -47725,10 +48536,12 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia } } + case "rateIncreaseCriteria": if err := awsRestjson1_deserializeDocumentRateIncreaseCriteria(&sv.RateIncreaseCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -47768,6 +48581,7 @@ func awsRestjson1_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -47776,6 +48590,7 @@ func awsRestjson1_deserializeDocumentField(v **types.Field, value interface{}) e } sv.Type = types.FieldType(jtv) } + default: _, _ = key, value @@ -47845,10 +48660,12 @@ func awsRestjson1_deserializeDocumentFileLocation(v **types.FileLocation, value if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + case "stream": if err := awsRestjson1_deserializeDocumentStream(&sv.Stream, value); err != nil { return err } + default: _, _ = key, value @@ -47924,6 +48741,7 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.BatchMode = ptr.Bool(jtv) } + case "deliveryStreamName": if value != nil { jtv, ok := value.(string) @@ -47932,6 +48750,7 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.DeliveryStreamName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -47940,6 +48759,7 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.RoleArn = ptr.String(jtv) } + case "separator": if value != nil { jtv, ok := value.(string) @@ -47948,6 +48768,7 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.Separator = ptr.String(jtv) } + default: _, _ = key, value @@ -47987,6 +48808,7 @@ func awsRestjson1_deserializeDocumentFleetMetricNameAndArn(v **types.FleetMetric } sv.MetricArn = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -47995,6 +48817,7 @@ func awsRestjson1_deserializeDocumentFleetMetricNameAndArn(v **types.FleetMetric } sv.MetricName = ptr.String(jtv) } + default: _, _ = key, value @@ -48102,6 +48925,7 @@ func awsRestjson1_deserializeDocumentGeoLocationTarget(v **types.GeoLocationTarg } sv.Name = ptr.String(jtv) } + case "order": if value != nil { jtv, ok := value.(string) @@ -48110,6 +48934,7 @@ func awsRestjson1_deserializeDocumentGeoLocationTarget(v **types.GeoLocationTarg } sv.Order = types.TargetFieldOrder(jtv) } + default: _, _ = key, value @@ -48149,6 +48974,7 @@ func awsRestjson1_deserializeDocumentGroupNameAndArn(v **types.GroupNameAndArn, } sv.GroupArn = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -48157,6 +48983,7 @@ func awsRestjson1_deserializeDocumentGroupNameAndArn(v **types.GroupNameAndArn, } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -48226,6 +49053,7 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte if err := awsRestjson1_deserializeDocumentHttpAuthorization(&sv.Auth, value); err != nil { return err } + case "confirmationUrl": if value != nil { jtv, ok := value.(string) @@ -48234,10 +49062,12 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte } sv.ConfirmationUrl = ptr.String(jtv) } + case "headers": if err := awsRestjson1_deserializeDocumentHeaderList(&sv.Headers, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -48246,6 +49076,7 @@ func awsRestjson1_deserializeDocumentHttpAction(v **types.HttpAction, value inte } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -48285,6 +49116,7 @@ func awsRestjson1_deserializeDocumentHttpActionHeader(v **types.HttpActionHeader } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -48293,6 +49125,7 @@ func awsRestjson1_deserializeDocumentHttpActionHeader(v **types.HttpActionHeader } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -48328,6 +49161,7 @@ func awsRestjson1_deserializeDocumentHttpAuthorization(v **types.HttpAuthorizati if err := awsRestjson1_deserializeDocumentSigV4Authorization(&sv.Sigv4, value); err != nil { return err } + default: _, _ = key, value @@ -48367,6 +49201,7 @@ func awsRestjson1_deserializeDocumentHttpUrlDestinationProperties(v **types.Http } sv.ConfirmationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -48406,6 +49241,7 @@ func awsRestjson1_deserializeDocumentHttpUrlDestinationSummary(v **types.HttpUrl } sv.ConfirmationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -48441,6 +49277,7 @@ func awsRestjson1_deserializeDocumentImplicitDeny(v **types.ImplicitDeny, value if err := awsRestjson1_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -48476,10 +49313,12 @@ func awsRestjson1_deserializeDocumentIndexingFilter(v **types.IndexingFilter, va if err := awsRestjson1_deserializeDocumentGeoLocationsFilter(&sv.GeoLocations, value); err != nil { return err } + case "namedShadowNames": if err := awsRestjson1_deserializeDocumentNamedShadowNamesFilter(&sv.NamedShadowNames, value); err != nil { return err } + default: _, _ = key, value @@ -48555,6 +49394,7 @@ func awsRestjson1_deserializeDocumentIndexNotReadyException(v **types.IndexNotRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48594,6 +49434,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48633,6 +49474,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48672,6 +49514,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48711,6 +49554,7 @@ func awsRestjson1_deserializeDocumentInvalidAggregationException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48750,6 +49594,7 @@ func awsRestjson1_deserializeDocumentInvalidQueryException(v **types.InvalidQuer } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48789,6 +49634,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48828,6 +49674,7 @@ func awsRestjson1_deserializeDocumentInvalidResponseException(v **types.InvalidR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48867,6 +49714,7 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -48906,6 +49754,7 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.BatchMode = ptr.Bool(jtv) } + case "channelArn": if value != nil { jtv, ok := value.(string) @@ -48914,6 +49763,7 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.ChannelArn = ptr.String(jtv) } + case "channelName": if value != nil { jtv, ok := value.(string) @@ -48922,6 +49772,7 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.ChannelName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48930,6 +49781,7 @@ func awsRestjson1_deserializeDocumentIotAnalyticsAction(v **types.IotAnalyticsAc } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -48969,6 +49821,7 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.BatchMode = ptr.Bool(jtv) } + case "inputName": if value != nil { jtv, ok := value.(string) @@ -48977,6 +49830,7 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.InputName = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -48985,6 +49839,7 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.MessageId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -48993,6 +49848,7 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49028,6 +49884,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi if err := awsRestjson1_deserializeDocumentPutAssetPropertyValueEntryList(&sv.PutAssetPropertyValueEntries, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -49036,6 +49893,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49075,6 +49933,7 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerCertificateSerialNumber = ptr.String(jtv) } + case "issuerCertificateSubject": if value != nil { jtv, ok := value.(string) @@ -49083,6 +49942,7 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerCertificateSubject = ptr.String(jtv) } + case "issuerId": if value != nil { jtv, ok := value.(string) @@ -49091,6 +49951,7 @@ func awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(v **types.Issue } sv.IssuerId = ptr.String(jtv) } + default: _, _ = key, value @@ -49126,6 +49987,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentAbortConfig(&sv.AbortConfig, value); err != nil { return err } + case "comment": if value != nil { jtv, ok := value.(string) @@ -49134,6 +49996,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Comment = ptr.String(jtv) } + case "completedAt": if value != nil { switch jtv := value.(type) { @@ -49149,6 +50012,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -49164,6 +50028,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "description": if value != nil { jtv, ok := value.(string) @@ -49172,14 +50037,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Description = ptr.String(jtv) } + case "destinationPackageVersions": if err := awsRestjson1_deserializeDocumentDestinationPackageVersions(&sv.DestinationPackageVersions, value); err != nil { return err } + case "documentParameters": if err := awsRestjson1_deserializeDocumentParameterMap(&sv.DocumentParameters, value); err != nil { return err } + case "forceCanceled": if value != nil { jtv, ok := value.(bool) @@ -49188,6 +50056,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ForceCanceled = ptr.Bool(jtv) } + case "isConcurrent": if value != nil { jtv, ok := value.(bool) @@ -49196,6 +50065,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.IsConcurrent = ptr.Bool(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -49204,14 +50074,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobArn = ptr.String(jtv) } + case "jobExecutionsRetryConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(&sv.JobExecutionsRetryConfig, value); err != nil { return err } + case "jobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(&sv.JobExecutionsRolloutConfig, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -49220,10 +50093,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobId = ptr.String(jtv) } + case "jobProcessDetails": if err := awsRestjson1_deserializeDocumentJobProcessDetails(&sv.JobProcessDetails, value); err != nil { return err } + case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -49232,6 +50107,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobTemplateArn = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -49247,6 +50123,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "namespaceId": if value != nil { jtv, ok := value.(string) @@ -49255,10 +50132,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.NamespaceId = ptr.String(jtv) } + case "presignedUrlConfig": if err := awsRestjson1_deserializeDocumentPresignedUrlConfig(&sv.PresignedUrlConfig, value); err != nil { return err } + case "reasonCode": if value != nil { jtv, ok := value.(string) @@ -49267,14 +50146,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ReasonCode = ptr.String(jtv) } + case "scheduledJobRollouts": if err := awsRestjson1_deserializeDocumentScheduledJobRolloutList(&sv.ScheduledJobRollouts, value); err != nil { return err } + case "schedulingConfig": if err := awsRestjson1_deserializeDocumentSchedulingConfig(&sv.SchedulingConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -49283,10 +50165,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } + case "targets": if err := awsRestjson1_deserializeDocumentJobTargets(&sv.Targets, value); err != nil { return err } + case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -49295,10 +50179,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.TargetSelection = types.TargetSelection(jtv) } + case "timeoutConfig": if err := awsRestjson1_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } + default: _, _ = key, value @@ -49342,6 +50228,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ApproximateSecondsBeforeTimedOut = ptr.Int64(i64) } + case "executionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -49354,6 +50241,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ExecutionNumber = ptr.Int64(i64) } + case "forceCanceled": if value != nil { jtv, ok := value.(bool) @@ -49362,6 +50250,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ForceCanceled = ptr.Bool(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -49370,6 +50259,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -49385,6 +50275,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } + case "queuedAt": if value != nil { switch jtv := value.(type) { @@ -49400,6 +50291,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -49415,6 +50307,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } } + case "status": if value != nil { jtv, ok := value.(string) @@ -49423,10 +50316,12 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.Status = types.JobExecutionStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentJobExecutionStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -49435,6 +50330,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ThingArn = ptr.String(jtv) } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -49447,6 +50343,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.VersionNumber = i64 } + default: _, _ = key, value @@ -49482,6 +50379,7 @@ func awsRestjson1_deserializeDocumentJobExecutionsRetryConfig(v **types.JobExecu if err := awsRestjson1_deserializeDocumentRetryCriteriaList(&sv.CriteriaList, value); err != nil { return err } + default: _, _ = key, value @@ -49517,6 +50415,7 @@ func awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(v **types.JobExe if err := awsRestjson1_deserializeDocumentExponentialRolloutRate(&sv.ExponentialRate, value); err != nil { return err } + case "maximumPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -49529,6 +50428,7 @@ func awsRestjson1_deserializeDocumentJobExecutionsRolloutConfig(v **types.JobExe } sv.MaximumPerMinute = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -49564,6 +50464,7 @@ func awsRestjson1_deserializeDocumentJobExecutionStatusDetails(v **types.JobExec if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.DetailsMap, value); err != nil { return err } + default: _, _ = key, value @@ -49607,6 +50508,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.ExecutionNumber = ptr.Int64(i64) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -49622,6 +50524,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } + case "queuedAt": if value != nil { switch jtv := value.(type) { @@ -49637,6 +50540,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } + case "retryAttempt": if value != nil { jtv, ok := value.(json.Number) @@ -49649,6 +50553,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.RetryAttempt = ptr.Int32(int32(i64)) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -49664,6 +50569,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } } + case "status": if value != nil { jtv, ok := value.(string) @@ -49672,6 +50578,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.Status = types.JobExecutionStatus(jtv) } + default: _, _ = key, value @@ -49707,6 +50614,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForJob(v **types.JobExec if err := awsRestjson1_deserializeDocumentJobExecutionSummary(&sv.JobExecutionSummary, value); err != nil { return err } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -49715,6 +50623,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForJob(v **types.JobExec } sv.ThingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49784,6 +50693,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForThing(v **types.JobEx if err := awsRestjson1_deserializeDocumentJobExecutionSummary(&sv.JobExecutionSummary, value); err != nil { return err } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -49792,6 +50702,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummaryForThing(v **types.JobEx } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -49869,6 +50780,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfCanceledThings = ptr.Int32(int32(i64)) } + case "numberOfFailedThings": if value != nil { jtv, ok := value.(json.Number) @@ -49881,6 +50793,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfFailedThings = ptr.Int32(int32(i64)) } + case "numberOfInProgressThings": if value != nil { jtv, ok := value.(json.Number) @@ -49893,6 +50806,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfInProgressThings = ptr.Int32(int32(i64)) } + case "numberOfQueuedThings": if value != nil { jtv, ok := value.(json.Number) @@ -49905,6 +50819,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfQueuedThings = ptr.Int32(int32(i64)) } + case "numberOfRejectedThings": if value != nil { jtv, ok := value.(json.Number) @@ -49917,6 +50832,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfRejectedThings = ptr.Int32(int32(i64)) } + case "numberOfRemovedThings": if value != nil { jtv, ok := value.(json.Number) @@ -49929,6 +50845,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfRemovedThings = ptr.Int32(int32(i64)) } + case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -49941,6 +50858,7 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } + case "numberOfTimedOutThings": if value != nil { jtv, ok := value.(json.Number) @@ -49953,10 +50871,12 @@ func awsRestjson1_deserializeDocumentJobProcessDetails(v **types.JobProcessDetai } sv.NumberOfTimedOutThings = ptr.Int32(int32(i64)) } + case "processingTargets": if err := awsRestjson1_deserializeDocumentProcessingTargetNameList(&sv.ProcessingTargets, value); err != nil { return err } + default: _, _ = key, value @@ -50003,6 +50923,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -50018,6 +50939,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "isConcurrent": if value != nil { jtv, ok := value.(bool) @@ -50026,6 +50948,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.IsConcurrent = ptr.Bool(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -50034,6 +50957,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -50042,6 +50966,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -50057,6 +50982,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -50065,6 +50991,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } + case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -50073,6 +51000,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.TargetSelection = types.TargetSelection(jtv) } + case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -50081,6 +51009,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.ThingGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -50197,6 +51126,7 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } } + case "description": if value != nil { jtv, ok := value.(string) @@ -50205,6 +51135,7 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.Description = ptr.String(jtv) } + case "jobTemplateArn": if value != nil { jtv, ok := value.(string) @@ -50213,6 +51144,7 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.JobTemplateArn = ptr.String(jtv) } + case "jobTemplateId": if value != nil { jtv, ok := value.(string) @@ -50221,6 +51153,7 @@ func awsRestjson1_deserializeDocumentJobTemplateSummary(v **types.JobTemplateSum } sv.JobTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -50290,6 +51223,7 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in if err := awsRestjson1_deserializeDocumentClientProperties(&sv.ClientProperties, value); err != nil { return err } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -50298,10 +51232,12 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.DestinationArn = ptr.String(jtv) } + case "headers": if err := awsRestjson1_deserializeDocumentKafkaHeaders(&sv.Headers, value); err != nil { return err } + case "key": if value != nil { jtv, ok := value.(string) @@ -50310,6 +51246,7 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Key = ptr.String(jtv) } + case "partition": if value != nil { jtv, ok := value.(string) @@ -50318,6 +51255,7 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Partition = ptr.String(jtv) } + case "topic": if value != nil { jtv, ok := value.(string) @@ -50326,6 +51264,7 @@ func awsRestjson1_deserializeDocumentKafkaAction(v **types.KafkaAction, value in } sv.Topic = ptr.String(jtv) } + default: _, _ = key, value @@ -50365,6 +51304,7 @@ func awsRestjson1_deserializeDocumentKafkaActionHeader(v **types.KafkaActionHead } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -50373,6 +51313,7 @@ func awsRestjson1_deserializeDocumentKafkaActionHeader(v **types.KafkaActionHead } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -50446,6 +51387,7 @@ func awsRestjson1_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.PrivateKey = ptr.String(jtv) } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -50454,6 +51396,7 @@ func awsRestjson1_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.PublicKey = ptr.String(jtv) } + default: _, _ = key, value @@ -50493,6 +51436,7 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.PartitionKey = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -50501,6 +51445,7 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.RoleArn = ptr.String(jtv) } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -50509,6 +51454,7 @@ func awsRestjson1_deserializeDocumentKinesisAction(v **types.KinesisAction, valu } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -50548,6 +51494,7 @@ func awsRestjson1_deserializeDocumentLambdaAction(v **types.LambdaAction, value } sv.FunctionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -50587,6 +51534,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -50626,6 +51574,7 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.DeviceId = ptr.String(jtv) } + case "latitude": if value != nil { jtv, ok := value.(string) @@ -50634,6 +51583,7 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.Latitude = ptr.String(jtv) } + case "longitude": if value != nil { jtv, ok := value.(string) @@ -50642,6 +51592,7 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.Longitude = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -50650,10 +51601,12 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.RoleArn = ptr.String(jtv) } + case "timestamp": if err := awsRestjson1_deserializeDocumentLocationTimestamp(&sv.Timestamp, value); err != nil { return err } + case "trackerName": if value != nil { jtv, ok := value.(string) @@ -50662,6 +51615,7 @@ func awsRestjson1_deserializeDocumentLocationAction(v **types.LocationAction, va } sv.TrackerName = ptr.String(jtv) } + default: _, _ = key, value @@ -50701,6 +51655,7 @@ func awsRestjson1_deserializeDocumentLocationTimestamp(v **types.LocationTimesta } sv.Unit = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -50709,6 +51664,7 @@ func awsRestjson1_deserializeDocumentLocationTimestamp(v **types.LocationTimesta } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -50748,6 +51704,7 @@ func awsRestjson1_deserializeDocumentLogTarget(v **types.LogTarget, value interf } sv.TargetName = ptr.String(jtv) } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -50756,6 +51713,7 @@ func awsRestjson1_deserializeDocumentLogTarget(v **types.LogTarget, value interf } sv.TargetType = types.LogTargetType(jtv) } + default: _, _ = key, value @@ -50795,10 +51753,12 @@ func awsRestjson1_deserializeDocumentLogTargetConfiguration(v **types.LogTargetC } sv.LogLevel = types.LogLevel(jtv) } + case "logTarget": if err := awsRestjson1_deserializeDocumentLogTarget(&sv.LogTarget, value); err != nil { return err } + default: _, _ = key, value @@ -50872,6 +51832,7 @@ func awsRestjson1_deserializeDocumentMachineLearningDetectionConfig(v **types.Ma } sv.ConfidenceLevel = types.ConfidenceLevel(jtv) } + default: _, _ = key, value @@ -50915,6 +51876,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.DurationInMinutes = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -50923,6 +51885,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -50996,6 +51959,7 @@ func awsRestjson1_deserializeDocumentMalformedPolicyException(v **types.Malforme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -51069,10 +52033,12 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.Description = ptr.String(jtv) } + case "environments": if err := awsRestjson1_deserializeDocumentEnvironments(&sv.Environments, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -51081,6 +52047,7 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateArn = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -51089,6 +52056,7 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateName = ptr.String(jtv) } + case "templateVersion": if value != nil { jtv, ok := value.(string) @@ -51097,6 +52065,7 @@ func awsRestjson1_deserializeDocumentManagedJobTemplateSummary(v **types.Managed } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -51143,10 +52112,12 @@ func awsRestjson1_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } } + case "value": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -51220,6 +52191,7 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.DimensionName = ptr.String(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -51228,6 +52200,7 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.Operator = types.DimensionValueOperator(jtv) } + default: _, _ = key, value @@ -51303,6 +52276,7 @@ func awsRestjson1_deserializeDocumentMetricsExportConfig(v **types.MetricsExport } sv.MqttTopic = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -51311,6 +52285,7 @@ func awsRestjson1_deserializeDocumentMetricsExportConfig(v **types.MetricsExport } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -51350,6 +52325,7 @@ func awsRestjson1_deserializeDocumentMetricToRetain(v **types.MetricToRetain, va } sv.ExportMetric = ptr.Bool(jtv) } + case "metric": if value != nil { jtv, ok := value.(string) @@ -51358,10 +52334,12 @@ func awsRestjson1_deserializeDocumentMetricToRetain(v **types.MetricToRetain, va } sv.Metric = ptr.String(jtv) } + case "metricDimension": if err := awsRestjson1_deserializeDocumentMetricDimension(&sv.MetricDimension, value); err != nil { return err } + default: _, _ = key, value @@ -51397,6 +52375,7 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in if err := awsRestjson1_deserializeDocumentCidrs(&sv.Cidrs, value); err != nil { return err } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -51409,6 +52388,7 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in } sv.Count = ptr.Int64(i64) } + case "number": if value != nil { switch jtv := value.(type) { @@ -51442,18 +52422,22 @@ func awsRestjson1_deserializeDocumentMetricValue(v **types.MetricValue, value in } } + case "numbers": if err := awsRestjson1_deserializeDocumentNumberList(&sv.Numbers, value); err != nil { return err } + case "ports": if err := awsRestjson1_deserializeDocumentPorts(&sv.Ports, value); err != nil { return err } + case "strings": if err := awsRestjson1_deserializeDocumentStringList(&sv.Strings, value); err != nil { return err } + default: _, _ = key, value @@ -51525,6 +52509,7 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction if err := awsRestjson1_deserializeDocumentMitigationActionParams(&sv.ActionParams, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -51533,6 +52518,7 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -51541,6 +52527,7 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -51549,6 +52536,7 @@ func awsRestjson1_deserializeDocumentMitigationAction(v **types.MitigationAction } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -51588,6 +52576,7 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } sv.ActionArn = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -51596,6 +52585,7 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } sv.ActionName = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -51611,6 +52601,7 @@ func awsRestjson1_deserializeDocumentMitigationActionIdentifier(v **types.Mitiga } } + default: _, _ = key, value @@ -51750,26 +52741,32 @@ func awsRestjson1_deserializeDocumentMitigationActionParams(v **types.Mitigation if err := awsRestjson1_deserializeDocumentAddThingsToThingGroupParams(&sv.AddThingsToThingGroupParams, value); err != nil { return err } + case "enableIoTLoggingParams": if err := awsRestjson1_deserializeDocumentEnableIoTLoggingParams(&sv.EnableIoTLoggingParams, value); err != nil { return err } + case "publishFindingToSnsParams": if err := awsRestjson1_deserializeDocumentPublishFindingToSnsParams(&sv.PublishFindingToSnsParams, value); err != nil { return err } + case "replaceDefaultPolicyVersionParams": if err := awsRestjson1_deserializeDocumentReplaceDefaultPolicyVersionParams(&sv.ReplaceDefaultPolicyVersionParams, value); err != nil { return err } + case "updateCACertificateParams": if err := awsRestjson1_deserializeDocumentUpdateCACertificateParams(&sv.UpdateCACertificateParams, value); err != nil { return err } + case "updateDeviceCertificateParams": if err := awsRestjson1_deserializeDocumentUpdateDeviceCertificateParams(&sv.UpdateDeviceCertificateParams, value); err != nil { return err } + default: _, _ = key, value @@ -51809,6 +52806,7 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.ContentType = ptr.String(jtv) } + case "correlationData": if value != nil { jtv, ok := value.(string) @@ -51817,6 +52815,7 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.CorrelationData = ptr.String(jtv) } + case "messageExpiry": if value != nil { jtv, ok := value.(string) @@ -51825,6 +52824,7 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.MessageExpiry = ptr.String(jtv) } + case "payloadFormatIndicator": if value != nil { jtv, ok := value.(string) @@ -51833,6 +52833,7 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.PayloadFormatIndicator = ptr.String(jtv) } + case "responseTopic": if value != nil { jtv, ok := value.(string) @@ -51841,10 +52842,12 @@ func awsRestjson1_deserializeDocumentMqttHeaders(v **types.MqttHeaders, value in } sv.ResponseTopic = ptr.String(jtv) } + case "userProperties": if err := awsRestjson1_deserializeDocumentUserProperties(&sv.UserProperties, value); err != nil { return err } + default: _, _ = key, value @@ -51916,10 +52919,12 @@ func awsRestjson1_deserializeDocumentNonCompliantResource(v **types.NonCompliant if err := awsRestjson1_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } + case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -51928,6 +52933,7 @@ func awsRestjson1_deserializeDocumentNonCompliantResource(v **types.NonCompliant } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -51967,6 +52973,7 @@ func awsRestjson1_deserializeDocumentNotConfiguredException(v **types.NotConfigu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -52067,6 +53074,7 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -52075,6 +53083,7 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Id = ptr.String(jtv) } + case "index": if value != nil { jtv, ok := value.(string) @@ -52083,6 +53092,7 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Index = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -52091,6 +53101,7 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.RoleArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -52099,6 +53110,7 @@ func awsRestjson1_deserializeDocumentOpenSearchAction(v **types.OpenSearchAction } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -52134,14 +53146,17 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu if err := awsRestjson1_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } + case "codeSigning": if err := awsRestjson1_deserializeDocumentCodeSigning(&sv.CodeSigning, value); err != nil { return err } + case "fileLocation": if err := awsRestjson1_deserializeDocumentFileLocation(&sv.FileLocation, value); err != nil { return err } + case "fileName": if value != nil { jtv, ok := value.(string) @@ -52150,6 +53165,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileName = ptr.String(jtv) } + case "fileType": if value != nil { jtv, ok := value.(json.Number) @@ -52162,6 +53178,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileType = ptr.Int32(int32(i64)) } + case "fileVersion": if value != nil { jtv, ok := value.(string) @@ -52170,6 +53187,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateFile(v **types.OTAUpdateFile, valu } sv.FileVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -52239,6 +53257,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu if err := awsRestjson1_deserializeDocumentAdditionalParameterMap(&sv.AdditionalParameters, value); err != nil { return err } + case "awsIotJobArn": if value != nil { jtv, ok := value.(string) @@ -52247,6 +53266,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.AwsIotJobArn = ptr.String(jtv) } + case "awsIotJobId": if value != nil { jtv, ok := value.(string) @@ -52255,14 +53275,17 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.AwsIotJobId = ptr.String(jtv) } + case "awsJobExecutionsRolloutConfig": if err := awsRestjson1_deserializeDocumentAwsJobExecutionsRolloutConfig(&sv.AwsJobExecutionsRolloutConfig, value); err != nil { return err } + case "awsJobPresignedUrlConfig": if err := awsRestjson1_deserializeDocumentAwsJobPresignedUrlConfig(&sv.AwsJobPresignedUrlConfig, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -52278,6 +53301,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -52286,10 +53310,12 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.Description = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -52305,6 +53331,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } } + case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -52313,10 +53340,12 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateArn = ptr.String(jtv) } + case "otaUpdateFiles": if err := awsRestjson1_deserializeDocumentOTAUpdateFiles(&sv.OtaUpdateFiles, value); err != nil { return err } + case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -52325,6 +53354,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateId = ptr.String(jtv) } + case "otaUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -52333,14 +53363,17 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.OtaUpdateStatus = types.OTAUpdateStatus(jtv) } + case "protocols": if err := awsRestjson1_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "targetSelection": if value != nil { jtv, ok := value.(string) @@ -52349,6 +53382,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateInfo(v **types.OTAUpdateInfo, valu } sv.TargetSelection = types.TargetSelection(jtv) } + default: _, _ = key, value @@ -52429,6 +53463,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } } + case "otaUpdateArn": if value != nil { jtv, ok := value.(string) @@ -52437,6 +53472,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } sv.OtaUpdateArn = ptr.String(jtv) } + case "otaUpdateId": if value != nil { jtv, ok := value.(string) @@ -52445,6 +53481,7 @@ func awsRestjson1_deserializeDocumentOTAUpdateSummary(v **types.OTAUpdateSummary } sv.OtaUpdateId = ptr.String(jtv) } + default: _, _ = key, value @@ -52484,6 +53521,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.CertificateArn = ptr.String(jtv) } + case "certificateId": if value != nil { jtv, ok := value.(string) @@ -52492,6 +53530,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.CertificateId = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -52507,6 +53546,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } } + case "transferDate": if value != nil { switch jtv := value.(type) { @@ -52522,6 +53562,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } } + case "transferMessage": if value != nil { jtv, ok := value.(string) @@ -52530,6 +53571,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.TransferMessage = ptr.String(jtv) } + case "transferredTo": if value != nil { jtv, ok := value.(string) @@ -52538,6 +53580,7 @@ func awsRestjson1_deserializeDocumentOutgoingCertificate(v **types.OutgoingCerti } sv.TransferredTo = ptr.String(jtv) } + default: _, _ = key, value @@ -52618,6 +53661,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } } + case "defaultVersionName": if value != nil { jtv, ok := value.(string) @@ -52626,6 +53670,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.DefaultVersionName = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -52641,6 +53686,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -52649,6 +53695,7 @@ func awsRestjson1_deserializeDocumentPackageSummary(v **types.PackageSummary, va } sv.PackageName = ptr.String(jtv) } + default: _, _ = key, value @@ -52718,6 +53765,7 @@ func awsRestjson1_deserializeDocumentPackageVersionArtifact(v **types.PackageVer if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -52764,6 +53812,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -52779,6 +53828,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -52787,6 +53837,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.PackageName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -52795,6 +53846,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.Status = types.PackageVersionStatus(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -52803,6 +53855,7 @@ func awsRestjson1_deserializeDocumentPackageVersionSummary(v **types.PackageVers } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -52971,6 +54024,7 @@ func awsRestjson1_deserializeDocumentPercentPair(v **types.PercentPair, value in } } + case "value": if value != nil { switch jtv := value.(type) { @@ -53004,6 +54058,7 @@ func awsRestjson1_deserializeDocumentPercentPair(v **types.PercentPair, value in } } + default: _, _ = key, value @@ -53077,6 +54132,7 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyArn = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -53085,6 +54141,7 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -53203,6 +54260,7 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } } + case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -53211,6 +54269,7 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } sv.IsDefaultVersion = jtv } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -53219,6 +54278,7 @@ func awsRestjson1_deserializeDocumentPolicyVersion(v **types.PolicyVersion, valu } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -53258,6 +54318,7 @@ func awsRestjson1_deserializeDocumentPolicyVersionIdentifier(v **types.PolicyVer } sv.PolicyName = ptr.String(jtv) } + case "policyVersionId": if value != nil { jtv, ok := value.(string) @@ -53266,6 +54327,7 @@ func awsRestjson1_deserializeDocumentPolicyVersionIdentifier(v **types.PolicyVer } sv.PolicyVersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -53383,6 +54445,7 @@ func awsRestjson1_deserializeDocumentPresignedUrlConfig(v **types.PresignedUrlCo } sv.ExpiresInSec = ptr.Int64(i64) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -53391,6 +54454,7 @@ func awsRestjson1_deserializeDocumentPresignedUrlConfig(v **types.PresignedUrlCo } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -53538,6 +54602,7 @@ func awsRestjson1_deserializeDocumentProvisioningHook(v **types.ProvisioningHook } sv.PayloadVersion = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -53546,6 +54611,7 @@ func awsRestjson1_deserializeDocumentProvisioningHook(v **types.ProvisioningHook } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -53626,6 +54692,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -53634,6 +54701,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Description = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -53642,6 +54710,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Enabled = ptr.Bool(jtv) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -53657,6 +54726,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -53665,6 +54735,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.TemplateArn = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -53673,6 +54744,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.TemplateName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -53681,6 +54753,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateSummary(v **types.Provi } sv.Type = types.TemplateType(jtv) } + default: _, _ = key, value @@ -53761,6 +54834,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } } + case "isDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -53769,6 +54843,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } sv.IsDefaultVersion = jtv } + case "versionId": if value != nil { jtv, ok := value.(json.Number) @@ -53781,6 +54856,7 @@ func awsRestjson1_deserializeDocumentProvisioningTemplateVersionSummary(v **type } sv.VersionId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -53856,6 +54932,7 @@ func awsRestjson1_deserializeDocumentPublishFindingToSnsParams(v **types.Publish } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -53895,6 +54972,7 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.AssetId = ptr.String(jtv) } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -53903,6 +54981,7 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.EntryId = ptr.String(jtv) } + case "propertyAlias": if value != nil { jtv, ok := value.(string) @@ -53911,6 +54990,7 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.PropertyAlias = ptr.String(jtv) } + case "propertyId": if value != nil { jtv, ok := value.(string) @@ -53919,10 +54999,12 @@ func awsRestjson1_deserializeDocumentPutAssetPropertyValueEntry(v **types.PutAss } sv.PropertyId = ptr.String(jtv) } + case "propertyValues": if err := awsRestjson1_deserializeDocumentAssetPropertyValueList(&sv.PropertyValues, value); err != nil { return err } + default: _, _ = key, value @@ -53996,6 +55078,7 @@ func awsRestjson1_deserializeDocumentPutItemInput(v **types.PutItemInput, value } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -54039,6 +55122,7 @@ func awsRestjson1_deserializeDocumentRateIncreaseCriteria(v **types.RateIncrease } sv.NumberOfNotifiedThings = ptr.Int32(int32(i64)) } + case "numberOfSucceededThings": if value != nil { jtv, ok := value.(json.Number) @@ -54051,6 +55135,7 @@ func awsRestjson1_deserializeDocumentRateIncreaseCriteria(v **types.RateIncrease } sv.NumberOfSucceededThings = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54126,6 +55211,7 @@ func awsRestjson1_deserializeDocumentRegistrationCodeValidationException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -54165,6 +55251,7 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.RoleArn = ptr.String(jtv) } + case "templateBody": if value != nil { jtv, ok := value.(string) @@ -54173,6 +55260,7 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.TemplateBody = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -54181,6 +55269,7 @@ func awsRestjson1_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -54216,10 +55305,12 @@ func awsRestjson1_deserializeDocumentRelatedResource(v **types.RelatedResource, if err := awsRestjson1_deserializeDocumentStringMap(&sv.AdditionalInfo, value); err != nil { return err } + case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -54228,6 +55319,7 @@ func awsRestjson1_deserializeDocumentRelatedResource(v **types.RelatedResource, } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -54301,6 +55393,7 @@ func awsRestjson1_deserializeDocumentReplaceDefaultPolicyVersionParams(v **types } sv.TemplateName = types.PolicyTemplateName(jtv) } + default: _, _ = key, value @@ -54336,6 +55429,7 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, if err := awsRestjson1_deserializeDocumentMqttHeaders(&sv.Headers, value); err != nil { return err } + case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -54348,6 +55442,7 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.Qos = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -54356,6 +55451,7 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.RoleArn = ptr.String(jtv) } + case "topic": if value != nil { jtv, ok := value.(string) @@ -54364,6 +55460,7 @@ func awsRestjson1_deserializeDocumentRepublishAction(v **types.RepublishAction, } sv.Topic = ptr.String(jtv) } + default: _, _ = key, value @@ -54403,6 +55500,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -54411,6 +55509,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -54419,6 +55518,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -54530,6 +55630,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.Account = ptr.String(jtv) } + case "caCertificateId": if value != nil { jtv, ok := value.(string) @@ -54538,6 +55639,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.CaCertificateId = ptr.String(jtv) } + case "clientId": if value != nil { jtv, ok := value.(string) @@ -54546,6 +55648,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ClientId = ptr.String(jtv) } + case "cognitoIdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -54554,6 +55657,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.CognitoIdentityPoolId = ptr.String(jtv) } + case "deviceCertificateArn": if value != nil { jtv, ok := value.(string) @@ -54562,6 +55666,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.DeviceCertificateArn = ptr.String(jtv) } + case "deviceCertificateId": if value != nil { jtv, ok := value.(string) @@ -54570,6 +55675,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.DeviceCertificateId = ptr.String(jtv) } + case "iamRoleArn": if value != nil { jtv, ok := value.(string) @@ -54578,14 +55684,17 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.IamRoleArn = ptr.String(jtv) } + case "issuerCertificateIdentifier": if err := awsRestjson1_deserializeDocumentIssuerCertificateIdentifier(&sv.IssuerCertificateIdentifier, value); err != nil { return err } + case "policyVersionIdentifier": if err := awsRestjson1_deserializeDocumentPolicyVersionIdentifier(&sv.PolicyVersionIdentifier, value); err != nil { return err } + case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -54594,6 +55703,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.RoleAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -54633,6 +55743,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -54672,6 +55783,7 @@ func awsRestjson1_deserializeDocumentResourceRegistrationFailureException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -54747,6 +55859,7 @@ func awsRestjson1_deserializeDocumentRetryCriteria(v **types.RetryCriteria, valu } sv.FailureType = types.RetryableFailureType(jtv) } + case "numberOfRetries": if value != nil { jtv, ok := value.(json.Number) @@ -54759,6 +55872,7 @@ func awsRestjson1_deserializeDocumentRetryCriteria(v **types.RetryCriteria, valu } sv.NumberOfRetries = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54839,6 +55953,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } } + case "credentialDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -54851,6 +55966,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.CredentialDurationSeconds = ptr.Int32(int32(i64)) } + case "lastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -54866,6 +55982,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } } + case "owner": if value != nil { jtv, ok := value.(string) @@ -54874,6 +55991,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.Owner = ptr.String(jtv) } + case "roleAlias": if value != nil { jtv, ok := value.(string) @@ -54882,6 +56000,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleAlias = ptr.String(jtv) } + case "roleAliasArn": if value != nil { jtv, ok := value.(string) @@ -54890,6 +56009,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleAliasArn = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -54898,6 +56018,7 @@ func awsRestjson1_deserializeDocumentRoleAliasDescription(v **types.RoleAliasDes } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -54973,6 +56094,7 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.BucketName = ptr.String(jtv) } + case "cannedAcl": if value != nil { jtv, ok := value.(string) @@ -54981,6 +56103,7 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.CannedAcl = types.CannedAccessControlList(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -54989,6 +56112,7 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.Key = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -54997,6 +56121,7 @@ func awsRestjson1_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -55036,6 +56161,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -55044,6 +56170,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -55119,6 +56246,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -55127,6 +56255,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -55135,6 +56264,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -55174,6 +56304,7 @@ func awsRestjson1_deserializeDocumentSalesforceAction(v **types.SalesforceAction } sv.Token = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -55182,6 +56313,7 @@ func awsRestjson1_deserializeDocumentSalesforceAction(v **types.SalesforceAction } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -55217,6 +56349,7 @@ func awsRestjson1_deserializeDocumentSbom(v **types.Sbom, value interface{}) err if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -55256,6 +56389,7 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ErrorCode = types.SbomValidationErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -55264,6 +56398,7 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ErrorMessage = ptr.String(jtv) } + case "fileName": if value != nil { jtv, ok := value.(string) @@ -55272,6 +56407,7 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.FileName = ptr.String(jtv) } + case "validationResult": if value != nil { jtv, ok := value.(string) @@ -55280,6 +56416,7 @@ func awsRestjson1_deserializeDocumentSbomValidationResultSummary(v **types.SbomV } sv.ValidationResult = types.SbomValidationResult(jtv) } + default: _, _ = key, value @@ -55353,6 +56490,7 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.DayOfMonth = ptr.String(jtv) } + case "dayOfWeek": if value != nil { jtv, ok := value.(string) @@ -55361,6 +56499,7 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.DayOfWeek = types.DayOfWeek(jtv) } + case "frequency": if value != nil { jtv, ok := value.(string) @@ -55369,6 +56508,7 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.Frequency = types.AuditFrequency(jtv) } + case "scheduledAuditArn": if value != nil { jtv, ok := value.(string) @@ -55377,6 +56517,7 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.ScheduledAuditArn = ptr.String(jtv) } + case "scheduledAuditName": if value != nil { jtv, ok := value.(string) @@ -55385,6 +56526,7 @@ func awsRestjson1_deserializeDocumentScheduledAuditMetadata(v **types.ScheduledA } sv.ScheduledAuditName = ptr.String(jtv) } + default: _, _ = key, value @@ -55458,6 +56600,7 @@ func awsRestjson1_deserializeDocumentScheduledJobRollout(v **types.ScheduledJobR } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -55531,6 +56674,7 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.EndBehavior = types.JobEndBehavior(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -55539,10 +56683,12 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.EndTime = ptr.String(jtv) } + case "maintenanceWindows": if err := awsRestjson1_deserializeDocumentMaintenanceWindows(&sv.MaintenanceWindows, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -55551,6 +56697,7 @@ func awsRestjson1_deserializeDocumentSchedulingConfig(v **types.SchedulingConfig } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -55662,6 +56809,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileIdentifier(v **types.Securit } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -55670,6 +56818,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileIdentifier(v **types.Securit } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -55743,6 +56892,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileTarget(v **types.SecurityPro } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -55778,10 +56928,12 @@ func awsRestjson1_deserializeDocumentSecurityProfileTargetMapping(v **types.Secu if err := awsRestjson1_deserializeDocumentSecurityProfileIdentifier(&sv.SecurityProfileIdentifier, value); err != nil { return err } + case "target": if err := awsRestjson1_deserializeDocumentSecurityProfileTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -55889,6 +57041,7 @@ func awsRestjson1_deserializeDocumentServerCertificateConfig(v **types.ServerCer } sv.EnableOCSPCheck = ptr.Bool(jtv) } + default: _, _ = key, value @@ -55962,6 +57115,7 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateArn = ptr.String(jtv) } + case "serverCertificateStatus": if value != nil { jtv, ok := value.(string) @@ -55970,6 +57124,7 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateStatus = types.ServerCertificateStatus(jtv) } + case "serverCertificateStatusDetail": if value != nil { jtv, ok := value.(string) @@ -55978,6 +57133,7 @@ func awsRestjson1_deserializeDocumentServerCertificateSummary(v **types.ServerCe } sv.ServerCertificateStatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -56017,6 +57173,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56056,6 +57213,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56095,6 +57253,7 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.CertificateArn = ptr.String(jtv) } + case "certificatePathOnDevice": if value != nil { jtv, ok := value.(string) @@ -56103,6 +57262,7 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.CertificatePathOnDevice = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -56111,6 +57271,7 @@ func awsRestjson1_deserializeDocumentSigningProfileParameter(v **types.SigningPr } sv.Platform = ptr.String(jtv) } + default: _, _ = key, value @@ -56150,6 +57311,7 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.RoleArn = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -56158,6 +57320,7 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.ServiceName = ptr.String(jtv) } + case "signingRegion": if value != nil { jtv, ok := value.(string) @@ -56166,6 +57329,7 @@ func awsRestjson1_deserializeDocumentSigV4Authorization(v **types.SigV4Authoriza } sv.SigningRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -56205,6 +57369,7 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.MessageFormat = types.MessageFormat(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56213,6 +57378,7 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.RoleArn = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -56221,6 +57387,7 @@ func awsRestjson1_deserializeDocumentSnsAction(v **types.SnsAction, value interf } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -56260,6 +57427,7 @@ func awsRestjson1_deserializeDocumentSqlParseException(v **types.SqlParseExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56299,6 +57467,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.QueueUrl = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56307,6 +57476,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.RoleArn = ptr.String(jtv) } + case "useBase64": if value != nil { jtv, ok := value.(bool) @@ -56315,6 +57485,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.UseBase64 = ptr.Bool(jtv) } + default: _, _ = key, value @@ -56350,6 +57521,7 @@ func awsRestjson1_deserializeDocumentStartSigningJobParameter(v **types.StartSig if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "signingProfileName": if value != nil { jtv, ok := value.(string) @@ -56358,10 +57530,12 @@ func awsRestjson1_deserializeDocumentStartSigningJobParameter(v **types.StartSig } sv.SigningProfileName = ptr.String(jtv) } + case "signingProfileParameter": if err := awsRestjson1_deserializeDocumentSigningProfileParameter(&sv.SigningProfileParameter, value); err != nil { return err } + default: _, _ = key, value @@ -56401,6 +57575,7 @@ func awsRestjson1_deserializeDocumentStatisticalThreshold(v **types.StatisticalT } sv.Statistic = ptr.String(jtv) } + default: _, _ = key, value @@ -56465,6 +57640,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -56477,6 +57653,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Count = int32(i64) } + case "maximum": if value != nil { switch jtv := value.(type) { @@ -56510,6 +57687,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "minimum": if value != nil { switch jtv := value.(type) { @@ -56543,6 +57721,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "stdDeviation": if value != nil { switch jtv := value.(type) { @@ -56576,6 +57755,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "sum": if value != nil { switch jtv := value.(type) { @@ -56609,6 +57789,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "sumOfSquares": if value != nil { switch jtv := value.(type) { @@ -56642,6 +57823,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "variance": if value != nil { switch jtv := value.(type) { @@ -56675,6 +57857,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + default: _, _ = key, value @@ -56714,6 +57897,7 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.ExecutionNamePrefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56722,6 +57906,7 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.RoleArn = ptr.String(jtv) } + case "stateMachineName": if value != nil { jtv, ok := value.(string) @@ -56730,6 +57915,7 @@ func awsRestjson1_deserializeDocumentStepFunctionsAction(v **types.StepFunctions } sv.StateMachineName = ptr.String(jtv) } + default: _, _ = key, value @@ -56773,6 +57959,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.FileId = ptr.Int32(int32(i64)) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -56781,6 +57968,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -56824,10 +58012,12 @@ func awsRestjson1_deserializeDocumentStreamFile(v **types.StreamFile, value inte } sv.FileId = ptr.Int32(int32(i64)) } + case "s3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -56908,6 +58098,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -56916,10 +58107,12 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Description = ptr.String(jtv) } + case "files": if err := awsRestjson1_deserializeDocumentStreamFiles(&sv.Files, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -56935,6 +58128,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -56943,6 +58137,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.RoleArn = ptr.String(jtv) } + case "streamArn": if value != nil { jtv, ok := value.(string) @@ -56951,6 +58146,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamArn = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -56959,6 +58155,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamId = ptr.String(jtv) } + case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -56971,6 +58168,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57044,6 +58242,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.Description = ptr.String(jtv) } + case "streamArn": if value != nil { jtv, ok := value.(string) @@ -57052,6 +58251,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamArn = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -57060,6 +58260,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamId = ptr.String(jtv) } + case "streamVersion": if value != nil { jtv, ok := value.(json.Number) @@ -57072,6 +58273,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57219,6 +58421,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -57227,6 +58430,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -57408,6 +58612,7 @@ func awsRestjson1_deserializeDocumentTaskAlreadyExistsException(v **types.TaskAl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -57487,6 +58692,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.CanceledChecks = ptr.Int32(int32(i64)) } + case "compliantChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57499,6 +58705,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.CompliantChecks = ptr.Int32(int32(i64)) } + case "failedChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57511,6 +58718,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.FailedChecks = ptr.Int32(int32(i64)) } + case "inProgressChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57523,6 +58731,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.InProgressChecks = ptr.Int32(int32(i64)) } + case "nonCompliantChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57535,6 +58744,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.NonCompliantChecks = ptr.Int32(int32(i64)) } + case "totalChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57547,6 +58757,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.TotalChecks = ptr.Int32(int32(i64)) } + case "waitingForDataCollectionChecks": if value != nil { jtv, ok := value.(json.Number) @@ -57559,6 +58770,7 @@ func awsRestjson1_deserializeDocumentTaskStatistics(v **types.TaskStatistics, va } sv.WaitingForDataCollectionChecks = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57602,6 +58814,7 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.CanceledFindingsCount = ptr.Int64(i64) } + case "failedFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -57614,6 +58827,7 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.FailedFindingsCount = ptr.Int64(i64) } + case "skippedFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -57626,6 +58840,7 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.SkippedFindingsCount = ptr.Int64(i64) } + case "succeededFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -57638,6 +58853,7 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.SucceededFindingsCount = ptr.Int64(i64) } + case "totalFindingsCount": if value != nil { jtv, ok := value.(json.Number) @@ -57650,6 +58866,7 @@ func awsRestjson1_deserializeDocumentTaskStatisticsForAuditCheck(v **types.TaskS } sv.TotalFindingsCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -57685,6 +58902,7 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -57693,6 +58911,7 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingArn = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -57701,6 +58920,7 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingName = ptr.String(jtv) } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -57709,6 +58929,7 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.ThingTypeName = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -57721,6 +58942,7 @@ func awsRestjson1_deserializeDocumentThingAttribute(v **types.ThingAttribute, va } sv.Version = i64 } + default: _, _ = key, value @@ -57794,6 +59016,7 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.Connected = ptr.Bool(jtv) } + case "disconnectReason": if value != nil { jtv, ok := value.(string) @@ -57802,6 +59025,7 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.DisconnectReason = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -57814,6 +59038,7 @@ func awsRestjson1_deserializeDocumentThingConnectivity(v **types.ThingConnectivi } sv.Timestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -57849,10 +59074,12 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "connectivity": if err := awsRestjson1_deserializeDocumentThingConnectivity(&sv.Connectivity, value); err != nil { return err } + case "deviceDefender": if value != nil { jtv, ok := value.(string) @@ -57861,6 +59088,7 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.DeviceDefender = ptr.String(jtv) } + case "shadow": if value != nil { jtv, ok := value.(string) @@ -57869,10 +59097,12 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.Shadow = ptr.String(jtv) } + case "thingGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNameList(&sv.ThingGroupNames, value); err != nil { return err } + case "thingId": if value != nil { jtv, ok := value.(string) @@ -57881,6 +59111,7 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingId = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -57889,6 +59120,7 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingName = ptr.String(jtv) } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -57897,6 +59129,7 @@ func awsRestjson1_deserializeDocumentThingDocument(v **types.ThingDocument, valu } sv.ThingTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -57966,10 +59199,12 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "parentGroupNames": if err := awsRestjson1_deserializeDocumentThingGroupNameList(&sv.ParentGroupNames, value); err != nil { return err } + case "thingGroupDescription": if value != nil { jtv, ok := value.(string) @@ -57978,6 +59213,7 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupDescription = ptr.String(jtv) } + case "thingGroupId": if value != nil { jtv, ok := value.(string) @@ -57986,6 +59222,7 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupId = ptr.String(jtv) } + case "thingGroupName": if value != nil { jtv, ok := value.(string) @@ -57994,6 +59231,7 @@ func awsRestjson1_deserializeDocumentThingGroupDocument(v **types.ThingGroupDocu } sv.ThingGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -58063,10 +59301,12 @@ func awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(v **types.T if err := awsRestjson1_deserializeDocumentFields(&sv.CustomFields, value); err != nil { return err } + case "managedFields": if err := awsRestjson1_deserializeDocumentFields(&sv.ManagedFields, value); err != nil { return err } + case "thingGroupIndexingMode": if value != nil { jtv, ok := value.(string) @@ -58075,6 +59315,7 @@ func awsRestjson1_deserializeDocumentThingGroupIndexingConfiguration(v **types.T } sv.ThingGroupIndexingMode = types.ThingGroupIndexingMode(jtv) } + default: _, _ = key, value @@ -58121,6 +59362,7 @@ func awsRestjson1_deserializeDocumentThingGroupMetadata(v **types.ThingGroupMeta } } + case "parentGroupName": if value != nil { jtv, ok := value.(string) @@ -58129,10 +59371,12 @@ func awsRestjson1_deserializeDocumentThingGroupMetadata(v **types.ThingGroupMeta } sv.ParentGroupName = ptr.String(jtv) } + case "rootToParentThingGroups": if err := awsRestjson1_deserializeDocumentThingGroupNameAndArnList(&sv.RootToParentThingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -58274,6 +59518,7 @@ func awsRestjson1_deserializeDocumentThingGroupProperties(v **types.ThingGroupPr if err := awsRestjson1_deserializeDocumentAttributePayload(&sv.AttributePayload, value); err != nil { return err } + case "thingGroupDescription": if value != nil { jtv, ok := value.(string) @@ -58282,6 +59527,7 @@ func awsRestjson1_deserializeDocumentThingGroupProperties(v **types.ThingGroupPr } sv.ThingGroupDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -58317,6 +59563,7 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI if err := awsRestjson1_deserializeDocumentFields(&sv.CustomFields, value); err != nil { return err } + case "deviceDefenderIndexingMode": if value != nil { jtv, ok := value.(string) @@ -58325,14 +59572,17 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.DeviceDefenderIndexingMode = types.DeviceDefenderIndexingMode(jtv) } + case "filter": if err := awsRestjson1_deserializeDocumentIndexingFilter(&sv.Filter, value); err != nil { return err } + case "managedFields": if err := awsRestjson1_deserializeDocumentFields(&sv.ManagedFields, value); err != nil { return err } + case "namedShadowIndexingMode": if value != nil { jtv, ok := value.(string) @@ -58341,6 +59591,7 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.NamedShadowIndexingMode = types.NamedShadowIndexingMode(jtv) } + case "thingConnectivityIndexingMode": if value != nil { jtv, ok := value.(string) @@ -58349,6 +59600,7 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.ThingConnectivityIndexingMode = types.ThingConnectivityIndexingMode(jtv) } + case "thingIndexingMode": if value != nil { jtv, ok := value.(string) @@ -58357,6 +59609,7 @@ func awsRestjson1_deserializeDocumentThingIndexingConfiguration(v **types.ThingI } sv.ThingIndexingMode = types.ThingIndexingMode(jtv) } + default: _, _ = key, value @@ -58432,10 +59685,12 @@ func awsRestjson1_deserializeDocumentThingTypeDefinition(v **types.ThingTypeDefi } sv.ThingTypeArn = ptr.String(jtv) } + case "thingTypeMetadata": if err := awsRestjson1_deserializeDocumentThingTypeMetadata(&sv.ThingTypeMetadata, value); err != nil { return err } + case "thingTypeName": if value != nil { jtv, ok := value.(string) @@ -58444,10 +59699,12 @@ func awsRestjson1_deserializeDocumentThingTypeDefinition(v **types.ThingTypeDefi } sv.ThingTypeName = ptr.String(jtv) } + case "thingTypeProperties": if err := awsRestjson1_deserializeDocumentThingTypeProperties(&sv.ThingTypeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -58528,6 +59785,7 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } } + case "deprecated": if value != nil { jtv, ok := value.(bool) @@ -58536,6 +59794,7 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } sv.Deprecated = jtv } + case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -58551,6 +59810,7 @@ func awsRestjson1_deserializeDocumentThingTypeMetadata(v **types.ThingTypeMetada } } + default: _, _ = key, value @@ -58586,6 +59846,7 @@ func awsRestjson1_deserializeDocumentThingTypeProperties(v **types.ThingTypeProp if err := awsRestjson1_deserializeDocumentSearchableAttributes(&sv.SearchableAttributes, value); err != nil { return err } + case "thingTypeDescription": if value != nil { jtv, ok := value.(string) @@ -58594,6 +59855,7 @@ func awsRestjson1_deserializeDocumentThingTypeProperties(v **types.ThingTypeProp } sv.ThingTypeDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -58633,6 +59895,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -58676,6 +59939,7 @@ func awsRestjson1_deserializeDocumentTimeoutConfig(v **types.TimeoutConfig, valu } sv.InProgressTimeoutInMinutes = ptr.Int64(i64) } + default: _, _ = key, value @@ -58715,10 +59979,12 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.DatabaseName = ptr.String(jtv) } + case "dimensions": if err := awsRestjson1_deserializeDocumentTimestreamDimensionList(&sv.Dimensions, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -58727,6 +59993,7 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.RoleArn = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -58735,10 +60002,12 @@ func awsRestjson1_deserializeDocumentTimestreamAction(v **types.TimestreamAction } sv.TableName = ptr.String(jtv) } + case "timestamp": if err := awsRestjson1_deserializeDocumentTimestreamTimestamp(&sv.Timestamp, value); err != nil { return err } + default: _, _ = key, value @@ -58778,6 +60047,7 @@ func awsRestjson1_deserializeDocumentTimestreamDimension(v **types.TimestreamDim } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -58786,6 +60056,7 @@ func awsRestjson1_deserializeDocumentTimestreamDimension(v **types.TimestreamDim } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -58859,6 +60130,7 @@ func awsRestjson1_deserializeDocumentTimestreamTimestamp(v **types.TimestreamTim } sv.Unit = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -58867,6 +60139,7 @@ func awsRestjson1_deserializeDocumentTimestreamTimestamp(v **types.TimestreamTim } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -58906,6 +60179,7 @@ func awsRestjson1_deserializeDocumentTlsConfig(v **types.TlsConfig, value interf } sv.SecurityPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -58941,6 +60215,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "awsIotSqlVersion": if value != nil { jtv, ok := value.(string) @@ -58949,6 +60224,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.AwsIotSqlVersion = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -58964,6 +60240,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } } + case "description": if value != nil { jtv, ok := value.(string) @@ -58972,10 +60249,12 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.Description = ptr.String(jtv) } + case "errorAction": if err := awsRestjson1_deserializeDocumentAction(&sv.ErrorAction, value); err != nil { return err } + case "ruleDisabled": if value != nil { jtv, ok := value.(bool) @@ -58984,6 +60263,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.RuleDisabled = ptr.Bool(jtv) } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -58992,6 +60272,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.RuleName = ptr.String(jtv) } + case "sql": if value != nil { jtv, ok := value.(string) @@ -59000,6 +60281,7 @@ func awsRestjson1_deserializeDocumentTopicRule(v **types.TopicRule, value interf } sv.Sql = ptr.String(jtv) } + default: _, _ = key, value @@ -59039,6 +60321,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -59054,10 +60337,12 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } } + case "httpUrlProperties": if err := awsRestjson1_deserializeDocumentHttpUrlDestinationProperties(&sv.HttpUrlProperties, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -59073,6 +60358,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } } + case "status": if value != nil { jtv, ok := value.(string) @@ -59081,6 +60367,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.Status = types.TopicRuleDestinationStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -59089,10 +60376,12 @@ func awsRestjson1_deserializeDocumentTopicRuleDestination(v **types.TopicRuleDes } sv.StatusReason = ptr.String(jtv) } + case "vpcProperties": if err := awsRestjson1_deserializeDocumentVpcDestinationProperties(&sv.VpcProperties, value); err != nil { return err } + default: _, _ = key, value @@ -59166,6 +60455,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -59181,10 +60471,12 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } } + case "httpUrlSummary": if err := awsRestjson1_deserializeDocumentHttpUrlDestinationSummary(&sv.HttpUrlSummary, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -59200,6 +60492,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } } + case "status": if value != nil { jtv, ok := value.(string) @@ -59208,6 +60501,7 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.Status = types.TopicRuleDestinationStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -59216,10 +60510,12 @@ func awsRestjson1_deserializeDocumentTopicRuleDestinationSummary(v **types.Topic } sv.StatusReason = ptr.String(jtv) } + case "vpcDestinationSummary": if err := awsRestjson1_deserializeDocumentVpcDestinationSummary(&sv.VpcDestinationSummary, value); err != nil { return err } + default: _, _ = key, value @@ -59300,6 +60596,7 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } } + case "ruleArn": if value != nil { jtv, ok := value.(string) @@ -59308,6 +60605,7 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleArn = ptr.String(jtv) } + case "ruleDisabled": if value != nil { jtv, ok := value.(bool) @@ -59316,6 +60614,7 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleDisabled = ptr.Bool(jtv) } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -59324,6 +60623,7 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.RuleName = ptr.String(jtv) } + case "topicPattern": if value != nil { jtv, ok := value.(string) @@ -59332,6 +60632,7 @@ func awsRestjson1_deserializeDocumentTopicRuleListItem(v **types.TopicRuleListIt } sv.TopicPattern = ptr.String(jtv) } + default: _, _ = key, value @@ -59371,6 +60672,7 @@ func awsRestjson1_deserializeDocumentTransferAlreadyCompletedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59410,6 +60712,7 @@ func awsRestjson1_deserializeDocumentTransferConflictException(v **types.Transfe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59456,6 +60759,7 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } + case "rejectDate": if value != nil { switch jtv := value.(type) { @@ -59471,6 +60775,7 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } + case "rejectReason": if value != nil { jtv, ok := value.(string) @@ -59479,6 +60784,7 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } sv.RejectReason = ptr.String(jtv) } + case "transferDate": if value != nil { switch jtv := value.(type) { @@ -59494,6 +60800,7 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } } + case "transferMessage": if value != nil { jtv, ok := value.(string) @@ -59502,6 +60809,7 @@ func awsRestjson1_deserializeDocumentTransferData(v **types.TransferData, value } sv.TransferMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -59541,6 +60849,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59580,6 +60889,7 @@ func awsRestjson1_deserializeDocumentUpdateCACertificateParams(v **types.UpdateC } sv.Action = types.CACertificateUpdateAction(jtv) } + default: _, _ = key, value @@ -59619,6 +60929,7 @@ func awsRestjson1_deserializeDocumentUpdateDeviceCertificateParams(v **types.Upd } sv.Action = types.DeviceCertificateUpdateAction(jtv) } + default: _, _ = key, value @@ -59692,6 +61003,7 @@ func awsRestjson1_deserializeDocumentUserProperty(v **types.UserProperty, value } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -59700,6 +61012,7 @@ func awsRestjson1_deserializeDocumentUserProperty(v **types.UserProperty, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -59739,6 +61052,7 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -59812,6 +61126,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59851,6 +61166,7 @@ func awsRestjson1_deserializeDocumentVersionConflictException(v **types.VersionC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59890,6 +61206,7 @@ func awsRestjson1_deserializeDocumentVersionsLimitExceededException(v **types.Ve } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59929,6 +61246,7 @@ func awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(v **types.Version } sv.Enabled = ptr.Bool(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -59937,6 +61255,7 @@ func awsRestjson1_deserializeDocumentVersionUpdateByJobsConfig(v **types.Version } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -59972,10 +61291,12 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va if err := awsRestjson1_deserializeDocumentBehavior(&sv.Behavior, value); err != nil { return err } + case "metricValue": if err := awsRestjson1_deserializeDocumentMetricValue(&sv.MetricValue, value); err != nil { return err } + case "securityProfileName": if value != nil { jtv, ok := value.(string) @@ -59984,6 +61305,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.SecurityProfileName = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -59992,6 +61314,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ThingName = ptr.String(jtv) } + case "verificationState": if value != nil { jtv, ok := value.(string) @@ -60000,6 +61323,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.VerificationState = types.VerificationState(jtv) } + case "verificationStateDescription": if value != nil { jtv, ok := value.(string) @@ -60008,10 +61332,12 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.VerificationStateDescription = ptr.String(jtv) } + case "violationEventAdditionalInfo": if err := awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(&sv.ViolationEventAdditionalInfo, value); err != nil { return err } + case "violationEventTime": if value != nil { switch jtv := value.(type) { @@ -60027,6 +61353,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } } + case "violationEventType": if value != nil { jtv, ok := value.(string) @@ -60035,6 +61362,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ViolationEventType = types.ViolationEventType(jtv) } + case "violationId": if value != nil { jtv, ok := value.(string) @@ -60043,6 +61371,7 @@ func awsRestjson1_deserializeDocumentViolationEvent(v **types.ViolationEvent, va } sv.ViolationId = ptr.String(jtv) } + default: _, _ = key, value @@ -60082,6 +61411,7 @@ func awsRestjson1_deserializeDocumentViolationEventAdditionalInfo(v **types.Viol } sv.ConfidenceLevel = types.ConfidenceLevel(jtv) } + default: _, _ = key, value @@ -60128,6 +61458,7 @@ func awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(v **types.Vio } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -60143,6 +61474,7 @@ func awsRestjson1_deserializeDocumentViolationEventOccurrenceRange(v **types.Vio } } + default: _, _ = key, value @@ -60216,14 +61548,17 @@ func awsRestjson1_deserializeDocumentVpcDestinationProperties(v **types.VpcDesti } sv.RoleArn = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -60232,6 +61567,7 @@ func awsRestjson1_deserializeDocumentVpcDestinationProperties(v **types.VpcDesti } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -60271,14 +61607,17 @@ func awsRestjson1_deserializeDocumentVpcDestinationSummary(v **types.VpcDestinat } sv.RoleArn = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -60287,6 +61626,7 @@ func awsRestjson1_deserializeDocumentVpcDestinationSummary(v **types.VpcDestinat } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iot1clickdevicesservice/deserializers.go b/service/iot1clickdevicesservice/deserializers.go index 9fcb4f4b7b0..5251aa60bb5 100644 --- a/service/iot1clickdevicesservice/deserializers.go +++ b/service/iot1clickdevicesservice/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentClaimDevicesByClaimCodeOutput(v **ClaimDe } sv.ClaimCode = ptr.String(jtv) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -195,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentClaimDevicesByClaimCodeOutput(v **ClaimDe } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -352,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu if err := awsRestjson1_deserializeDocumentDeviceDescription(&sv.DeviceDescription, value); err != nil { return err } + default: _, _ = key, value @@ -519,6 +522,7 @@ func awsRestjson1_deserializeOpDocumentFinalizeDeviceClaimOutput(v **FinalizeDev } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -676,6 +680,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceMethodsOutput(v **GetDeviceMetho if err := awsRestjson1_deserializeDocument__listOfDeviceMethod(&sv.DeviceMethods, value); err != nil { return err } + default: _, _ = key, value @@ -840,6 +845,7 @@ func awsRestjson1_deserializeOpDocumentInitiateDeviceClaimOutput(v **InitiateDev } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -1010,6 +1016,7 @@ func awsRestjson1_deserializeOpDocumentInvokeDeviceMethodOutput(v **InvokeDevice } sv.DeviceMethodResponse = ptr.String(jtv) } + default: _, _ = key, value @@ -1170,6 +1177,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceEventsOutput(v **ListDeviceEven if err := awsRestjson1_deserializeDocument__listOfDeviceEvent(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1178,6 +1186,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceEventsOutput(v **ListDeviceEven } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1335,6 +1344,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocument__listOfDeviceDescription(&sv.Devices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1343,6 +1353,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1497,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1758,6 +1770,7 @@ func awsRestjson1_deserializeOpDocumentUnclaimDeviceOutput(v **UnclaimDeviceOutp } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -2408,6 +2421,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "deviceId": if value != nil { jtv, ok := value.(string) @@ -2416,6 +2430,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2424,6 +2439,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2499,10 +2515,12 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Arn = ptr.String(jtv) } + case "attributes": if err := awsRestjson1_deserializeDocumentDeviceAttributes(&sv.Attributes, value); err != nil { return err } + case "deviceId": if value != nil { jtv, ok := value.(string) @@ -2511,6 +2529,7 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.DeviceId = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -2519,6 +2538,7 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Enabled = ptr.Bool(jtv) } + case "remainingLife": if value != nil { switch jtv := value.(type) { @@ -2552,10 +2572,12 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2564,6 +2586,7 @@ func awsRestjson1_deserializeDocumentDeviceDescription(v **types.DeviceDescripti } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2599,6 +2622,7 @@ func awsRestjson1_deserializeDocumentDeviceEvent(v **types.DeviceEvent, value in if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + case "stdEvent": if value != nil { jtv, ok := value.(string) @@ -2607,6 +2631,7 @@ func awsRestjson1_deserializeDocumentDeviceEvent(v **types.DeviceEvent, value in } sv.StdEvent = ptr.String(jtv) } + default: _, _ = key, value @@ -2646,6 +2671,7 @@ func awsRestjson1_deserializeDocumentDeviceMethod(v **types.DeviceMethod, value } sv.DeviceType = ptr.String(jtv) } + case "methodName": if value != nil { jtv, ok := value.(string) @@ -2654,6 +2680,7 @@ func awsRestjson1_deserializeDocumentDeviceMethod(v **types.DeviceMethod, value } sv.MethodName = ptr.String(jtv) } + default: _, _ = key, value @@ -2693,6 +2720,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2701,6 +2729,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2740,6 +2769,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2748,6 +2778,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2787,6 +2818,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2795,6 +2827,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2834,6 +2867,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2842,6 +2876,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2881,6 +2916,7 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2925,7 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2928,6 +2965,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2936,6 +2974,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2975,6 +3014,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2983,6 +3023,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iot1clickprojects/deserializers.go b/service/iot1clickprojects/deserializers.go index 074b73c7c8b..98bc9069e20 100644 --- a/service/iot1clickprojects/deserializers.go +++ b/service/iot1clickprojects/deserializers.go @@ -659,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlacementOutput(v **DescribePlace if err := awsRestjson1_deserializeDocumentPlacementDescription(&sv.Placement, value); err != nil { return err } + default: _, _ = key, value @@ -816,6 +817,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsRestjson1_deserializeDocumentProjectDescription(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -1070,6 +1072,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicesInPlacementOutput(v **GetDevice if err := awsRestjson1_deserializeDocumentDeviceMap(&sv.Devices, value); err != nil { return err } + default: _, _ = key, value @@ -1231,10 +1234,12 @@ func awsRestjson1_deserializeOpDocumentListPlacementsOutput(v **ListPlacementsOu } sv.NextToken = ptr.String(jtv) } + case "placements": if err := awsRestjson1_deserializeDocumentPlacementSummaryList(&sv.Placements, value); err != nil { return err } + default: _, _ = key, value @@ -1393,10 +1398,12 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "projects": if err := awsRestjson1_deserializeDocumentProjectSummaryList(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -1554,6 +1561,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2259,6 +2267,7 @@ func awsRestjson1_deserializeDocumentDeviceTemplate(v **types.DeviceTemplate, va if err := awsRestjson1_deserializeDocumentDeviceCallbackOverrideMap(&sv.CallbackOverrides, value); err != nil { return err } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -2267,6 +2276,7 @@ func awsRestjson1_deserializeDocumentDeviceTemplate(v **types.DeviceTemplate, va } sv.DeviceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2341,6 +2351,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2349,6 +2360,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2388,6 +2400,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2396,6 +2409,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2467,6 +2481,7 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes if err := awsRestjson1_deserializeDocumentPlacementAttributeMap(&sv.Attributes, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2482,6 +2497,7 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } } + case "placementName": if value != nil { jtv, ok := value.(string) @@ -2490,6 +2506,7 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } sv.PlacementName = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2498,6 +2515,7 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } sv.ProjectName = ptr.String(jtv) } + case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2513,6 +2531,7 @@ func awsRestjson1_deserializeDocumentPlacementDescription(v **types.PlacementDes } } + default: _, _ = key, value @@ -2559,6 +2578,7 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } } + case "placementName": if value != nil { jtv, ok := value.(string) @@ -2567,6 +2587,7 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } sv.PlacementName = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2575,6 +2596,7 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } sv.ProjectName = ptr.String(jtv) } + case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2590,6 +2612,7 @@ func awsRestjson1_deserializeDocumentPlacementSummary(v **types.PlacementSummary } } + default: _, _ = key, value @@ -2659,10 +2682,12 @@ func awsRestjson1_deserializeDocumentPlacementTemplate(v **types.PlacementTempla if err := awsRestjson1_deserializeDocumentDefaultPlacementAttributeMap(&sv.DefaultAttributes, value); err != nil { return err } + case "deviceTemplates": if err := awsRestjson1_deserializeDocumentDeviceTemplateMap(&sv.DeviceTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -2702,6 +2727,7 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2717,6 +2743,7 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2725,10 +2752,12 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Description = ptr.String(jtv) } + case "placementTemplate": if err := awsRestjson1_deserializeDocumentPlacementTemplate(&sv.PlacementTemplate, value); err != nil { return err } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2737,10 +2766,12 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2756,6 +2787,7 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } + default: _, _ = key, value @@ -2795,6 +2827,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2810,6 +2843,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -2818,10 +2852,12 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedDate": if value != nil { switch jtv := value.(type) { @@ -2837,6 +2873,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + default: _, _ = key, value @@ -2910,6 +2947,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2918,6 +2956,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2957,6 +2996,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2965,6 +3005,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3040,6 +3081,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3048,6 +3090,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotanalytics/deserializers.go b/service/iotanalytics/deserializers.go index 994042b9980..c00944f0a05 100644 --- a/service/iotanalytics/deserializers.go +++ b/service/iotanalytics/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutMessageOutput(v **BatchPutMessage if err := awsRestjson1_deserializeDocumentBatchPutMessageErrorEntries(&sv.BatchPutMessageErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -456,6 +457,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelArn = ptr.String(jtv) } + case "channelName": if value != nil { jtv, ok := value.(string) @@ -464,10 +466,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -638,6 +642,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + case "datasetName": if value != nil { jtv, ok := value.(string) @@ -646,10 +651,12 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetName = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -817,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetContentOutput(v **CreateData } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -987,6 +995,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreArn = ptr.String(jtv) } + case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -995,10 +1004,12 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreName = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -1169,6 +1180,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineArn = ptr.String(jtv) } + case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -1177,6 +1189,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineName = ptr.String(jtv) } + default: _, _ = key, value @@ -1870,10 +1883,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + case "statistics": if err := awsRestjson1_deserializeDocumentChannelStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -2037,6 +2052,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -2200,10 +2216,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDatastoreOutput(v **DescribeDatas if err := awsRestjson1_deserializeDocumentDatastore(&sv.Datastore, value); err != nil { return err } + case "statistics": if err := awsRestjson1_deserializeDocumentDatastoreStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -2367,6 +2385,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -2530,6 +2549,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -2693,10 +2713,12 @@ func awsRestjson1_deserializeOpDocumentGetDatasetContentOutput(v **GetDatasetCon if err := awsRestjson1_deserializeDocumentDatasetEntries(&sv.Entries, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentDatasetContentStatus(&sv.Status, value); err != nil { return err } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -2712,6 +2734,7 @@ func awsRestjson1_deserializeOpDocumentGetDatasetContentOutput(v **GetDatasetCon } } + default: _, _ = key, value @@ -2872,6 +2895,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelSummaries(&sv.ChannelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2880,6 +2904,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3043,6 +3068,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetContentsOutput(v **ListDataset if err := awsRestjson1_deserializeDocumentDatasetContentSummaries(&sv.DatasetContentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3051,6 +3077,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetContentsOutput(v **ListDataset } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3211,6 +3238,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsRestjson1_deserializeDocumentDatasetSummaries(&sv.DatasetSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3219,6 +3247,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3379,6 +3408,7 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu if err := awsRestjson1_deserializeDocumentDatastoreSummaries(&sv.DatastoreSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3387,6 +3417,7 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3551,10 +3582,12 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } + case "pipelineSummaries": if err := awsRestjson1_deserializeDocumentPipelineSummaries(&sv.PipelineSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -3721,6 +3754,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3988,10 +4022,12 @@ func awsRestjson1_deserializeOpDocumentRunPipelineActivityOutput(v **RunPipeline } sv.LogResult = ptr.String(jtv) } + case "payloads": if err := awsRestjson1_deserializeDocumentMessagePayloads(&sv.Payloads, value); err != nil { return err } + default: _, _ = key, value @@ -4155,6 +4191,7 @@ func awsRestjson1_deserializeOpDocumentSampleChannelDataOutput(v **SampleChannel if err := awsRestjson1_deserializeDocumentMessagePayloads(&sv.Payloads, value); err != nil { return err } + default: _, _ = key, value @@ -4325,6 +4362,7 @@ func awsRestjson1_deserializeOpDocumentStartPipelineReprocessingOutput(v **Start } sv.ReprocessingId = ptr.String(jtv) } + default: _, _ = key, value @@ -5245,6 +5283,7 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut if err := awsRestjson1_deserializeDocumentAttributeNameMapping(&sv.Attributes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5253,6 +5292,7 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -5261,6 +5301,7 @@ func awsRestjson1_deserializeDocumentAddAttributesActivity(v **types.AddAttribut } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -5406,6 +5447,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5414,6 +5456,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorMessage = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -5422,6 +5465,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -5461,6 +5505,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5476,6 +5521,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -5491,6 +5537,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5506,6 +5553,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5514,10 +5562,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5526,10 +5576,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Status = types.ChannelStatus(jtv) } + case "storage": if err := awsRestjson1_deserializeDocumentChannelStorage(&sv.Storage, value); err != nil { return err } + default: _, _ = key, value @@ -5569,6 +5621,7 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.ChannelName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5577,6 +5630,7 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -5585,6 +5639,7 @@ func awsRestjson1_deserializeDocumentChannelActivity(v **types.ChannelActivity, } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -5620,6 +5675,7 @@ func awsRestjson1_deserializeDocumentChannelStatistics(v **types.ChannelStatisti if err := awsRestjson1_deserializeDocumentEstimatedResourceSize(&sv.Size, value); err != nil { return err } + default: _, _ = key, value @@ -5655,10 +5711,12 @@ func awsRestjson1_deserializeDocumentChannelStorage(v **types.ChannelStorage, va if err := awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(&sv.CustomerManagedS3, value); err != nil { return err } + case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedChannelS3Storage(&sv.ServiceManagedS3, value); err != nil { return err } + default: _, _ = key, value @@ -5694,10 +5752,12 @@ func awsRestjson1_deserializeDocumentChannelStorageSummary(v **types.ChannelStor if err := awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(&sv.CustomerManagedS3, value); err != nil { return err } + case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedChannelS3StorageSummary(&sv.ServiceManagedS3, value); err != nil { return err } + default: _, _ = key, value @@ -5771,10 +5831,12 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelName = ptr.String(jtv) } + case "channelStorage": if err := awsRestjson1_deserializeDocumentChannelStorageSummary(&sv.ChannelStorage, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5790,6 +5852,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } + case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -5805,6 +5868,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5820,6 +5884,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -5828,6 +5893,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Status = types.ChannelStatus(jtv) } + default: _, _ = key, value @@ -5867,6 +5933,7 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5875,6 +5942,7 @@ func awsRestjson1_deserializeDocumentColumn(v **types.Column, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5948,6 +6016,7 @@ func awsRestjson1_deserializeDocumentContainerDatasetAction(v **types.ContainerD } sv.ExecutionRoleArn = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -5956,14 +6025,17 @@ func awsRestjson1_deserializeDocumentContainerDatasetAction(v **types.ContainerD } sv.Image = ptr.String(jtv) } + case "resourceConfiguration": if err := awsRestjson1_deserializeDocumentResourceConfiguration(&sv.ResourceConfiguration, value); err != nil { return err } + case "variables": if err := awsRestjson1_deserializeDocumentVariables(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -6003,6 +6075,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6011,6 +6084,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.KeyPrefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6019,6 +6093,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3Storage(v **types.C } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6058,6 +6133,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6142,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.KeyPrefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6074,6 +6151,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedChannelS3StorageSummary(v ** } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6113,6 +6191,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6121,6 +6200,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.KeyPrefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6129,6 +6209,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3Storage(v **types } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6168,6 +6249,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -6176,6 +6258,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.KeyPrefix = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6184,6 +6267,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(v } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6219,6 +6303,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ if err := awsRestjson1_deserializeDocumentDatasetActions(&sv.Actions, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6227,10 +6312,12 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Arn = ptr.String(jtv) } + case "contentDeliveryRules": if err := awsRestjson1_deserializeDocumentDatasetContentDeliveryRules(&sv.ContentDeliveryRules, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6246,6 +6333,7 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6261,10 +6349,12 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "lateDataRules": if err := awsRestjson1_deserializeDocumentLateDataRules(&sv.LateDataRules, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6273,10 +6363,12 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6285,14 +6377,17 @@ func awsRestjson1_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Status = types.DatasetStatus(jtv) } + case "triggers": if err := awsRestjson1_deserializeDocumentDatasetTriggers(&sv.Triggers, value); err != nil { return err } + case "versioningConfiguration": if err := awsRestjson1_deserializeDocumentVersioningConfiguration(&sv.VersioningConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6332,14 +6427,17 @@ func awsRestjson1_deserializeDocumentDatasetAction(v **types.DatasetAction, valu } sv.ActionName = ptr.String(jtv) } + case "containerAction": if err := awsRestjson1_deserializeDocumentContainerDatasetAction(&sv.ContainerAction, value); err != nil { return err } + case "queryAction": if err := awsRestjson1_deserializeDocumentSqlQueryDatasetAction(&sv.QueryAction, value); err != nil { return err } + default: _, _ = key, value @@ -6447,6 +6545,7 @@ func awsRestjson1_deserializeDocumentDatasetActionSummary(v **types.DatasetActio } sv.ActionName = ptr.String(jtv) } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -6455,6 +6554,7 @@ func awsRestjson1_deserializeDocumentDatasetActionSummary(v **types.DatasetActio } sv.ActionType = types.DatasetActionType(jtv) } + default: _, _ = key, value @@ -6490,10 +6590,12 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryDestination(v **types if err := awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(&sv.IotEventsDestinationConfiguration, value); err != nil { return err } + case "s3DestinationConfiguration": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3DestinationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6529,6 +6631,7 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryRule(v **types.Datase if err := awsRestjson1_deserializeDocumentDatasetContentDeliveryDestination(&sv.Destination, value); err != nil { return err } + case "entryName": if value != nil { jtv, ok := value.(string) @@ -6537,6 +6640,7 @@ func awsRestjson1_deserializeDocumentDatasetContentDeliveryRule(v **types.Datase } sv.EntryName = ptr.String(jtv) } + default: _, _ = key, value @@ -6610,6 +6714,7 @@ func awsRestjson1_deserializeDocumentDatasetContentStatus(v **types.DatasetConte } sv.Reason = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6618,6 +6723,7 @@ func awsRestjson1_deserializeDocumentDatasetContentStatus(v **types.DatasetConte } sv.State = types.DatasetContentState(jtv) } + default: _, _ = key, value @@ -6698,6 +6804,7 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6713,6 +6820,7 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } + case "scheduleTime": if value != nil { switch jtv := value.(type) { @@ -6728,10 +6836,12 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } } + case "status": if err := awsRestjson1_deserializeDocumentDatasetContentStatus(&sv.Status, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -6740,6 +6850,7 @@ func awsRestjson1_deserializeDocumentDatasetContentSummary(v **types.DatasetCont } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6779,6 +6890,7 @@ func awsRestjson1_deserializeDocumentDatasetContentVersionValue(v **types.Datase } sv.DatasetName = ptr.String(jtv) } + default: _, _ = key, value @@ -6852,6 +6964,7 @@ func awsRestjson1_deserializeDocumentDatasetEntry(v **types.DatasetEntry, value } sv.DataURI = ptr.String(jtv) } + case "entryName": if value != nil { jtv, ok := value.(string) @@ -6860,6 +6973,7 @@ func awsRestjson1_deserializeDocumentDatasetEntry(v **types.DatasetEntry, value } sv.EntryName = ptr.String(jtv) } + default: _, _ = key, value @@ -6929,6 +7043,7 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va if err := awsRestjson1_deserializeDocumentDatasetActionSummaries(&sv.Actions, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6944,6 +7059,7 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "datasetName": if value != nil { jtv, ok := value.(string) @@ -6952,6 +7068,7 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6967,6 +7084,7 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6975,10 +7093,12 @@ func awsRestjson1_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = types.DatasetStatus(jtv) } + case "triggers": if err := awsRestjson1_deserializeDocumentDatasetTriggers(&sv.Triggers, value); err != nil { return err } + default: _, _ = key, value @@ -7014,10 +7134,12 @@ func awsRestjson1_deserializeDocumentDatasetTrigger(v **types.DatasetTrigger, va if err := awsRestjson1_deserializeDocumentTriggeringDataset(&sv.Dataset, value); err != nil { return err } + case "schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + default: _, _ = key, value @@ -7091,6 +7213,7 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7106,14 +7229,17 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } + case "datastorePartitions": if err := awsRestjson1_deserializeDocumentDatastorePartitions(&sv.DatastorePartitions, value); err != nil { return err } + case "fileFormatConfiguration": if err := awsRestjson1_deserializeDocumentFileFormatConfiguration(&sv.FileFormatConfiguration, value); err != nil { return err } + case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -7129,6 +7255,7 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7144,6 +7271,7 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7152,10 +7280,12 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Name = ptr.String(jtv) } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7164,10 +7294,12 @@ func awsRestjson1_deserializeDocumentDatastore(v **types.Datastore, value interf } sv.Status = types.DatastoreStatus(jtv) } + case "storage": if err := awsRestjson1_deserializeDocumentDatastoreStorage(&sv.Storage, value); err != nil { return err } + default: _, _ = key, value @@ -7207,6 +7339,7 @@ func awsRestjson1_deserializeDocumentDatastoreActivity(v **types.DatastoreActivi } sv.DatastoreName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7215,6 +7348,7 @@ func awsRestjson1_deserializeDocumentDatastoreActivity(v **types.DatastoreActivi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7250,6 +7384,7 @@ func awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorage(v **t if err := awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storage(&sv.CustomerManagedS3Storage, value); err != nil { return err } + default: _, _ = key, value @@ -7285,6 +7420,7 @@ func awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorageSummar if err := awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3StorageSummary(&sv.CustomerManagedS3Storage, value); err != nil { return err } + default: _, _ = key, value @@ -7320,10 +7456,12 @@ func awsRestjson1_deserializeDocumentDatastorePartition(v **types.DatastoreParti if err := awsRestjson1_deserializeDocumentPartition(&sv.AttributePartition, value); err != nil { return err } + case "timestampPartition": if err := awsRestjson1_deserializeDocumentTimestampPartition(&sv.TimestampPartition, value); err != nil { return err } + default: _, _ = key, value @@ -7359,6 +7497,7 @@ func awsRestjson1_deserializeDocumentDatastorePartitions(v **types.DatastorePart if err := awsRestjson1_deserializeDocumentPartitions(&sv.Partitions, value); err != nil { return err } + default: _, _ = key, value @@ -7394,6 +7533,7 @@ func awsRestjson1_deserializeDocumentDatastoreStatistics(v **types.DatastoreStat if err := awsRestjson1_deserializeDocumentEstimatedResourceSize(&sv.Size, value); err != nil { return err } + default: _, _ = key, value @@ -7489,14 +7629,17 @@ func awsRestjson1_deserializeDocumentDatastoreStorageSummary(v **types.Datastore if err := awsRestjson1_deserializeDocumentCustomerManagedDatastoreS3StorageSummary(&sv.CustomerManagedS3, value); err != nil { return err } + case "iotSiteWiseMultiLayerStorage": if err := awsRestjson1_deserializeDocumentDatastoreIotSiteWiseMultiLayerStorageSummary(&sv.IotSiteWiseMultiLayerStorage, value); err != nil { return err } + case "serviceManagedS3": if err := awsRestjson1_deserializeDocumentServiceManagedDatastoreS3StorageSummary(&sv.ServiceManagedS3, value); err != nil { return err } + default: _, _ = key, value @@ -7577,6 +7720,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } + case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -7585,14 +7729,17 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreName = ptr.String(jtv) } + case "datastorePartitions": if err := awsRestjson1_deserializeDocumentDatastorePartitions(&sv.DatastorePartitions, value); err != nil { return err } + case "datastoreStorage": if err := awsRestjson1_deserializeDocumentDatastoreStorageSummary(&sv.DatastoreStorage, value); err != nil { return err } + case "fileFormatType": if value != nil { jtv, ok := value.(string) @@ -7601,6 +7748,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.FileFormatType = types.FileFormatType(jtv) } + case "lastMessageArrivalTime": if value != nil { switch jtv := value.(type) { @@ -7616,6 +7764,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7631,6 +7780,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } + case "status": if value != nil { jtv, ok := value.(string) @@ -7639,6 +7789,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.Status = types.DatastoreStatus(jtv) } + default: _, _ = key, value @@ -7682,6 +7833,7 @@ func awsRestjson1_deserializeDocumentDeltaTime(v **types.DeltaTime, value interf } sv.OffsetSeconds = ptr.Int32(int32(i64)) } + case "timeExpression": if value != nil { jtv, ok := value.(string) @@ -7690,6 +7842,7 @@ func awsRestjson1_deserializeDocumentDeltaTime(v **types.DeltaTime, value interf } sv.TimeExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -7733,6 +7886,7 @@ func awsRestjson1_deserializeDocumentDeltaTimeSessionWindowConfiguration(v **typ } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7772,6 +7926,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Attribute = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7780,6 +7935,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -7788,6 +7944,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.Next = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7796,6 +7953,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.RoleArn = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -7804,6 +7962,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(v **types.Devi } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -7843,6 +8002,7 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Attribute = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7851,6 +8011,7 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -7859,6 +8020,7 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.Next = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7867,6 +8029,7 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.RoleArn = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -7875,6 +8038,7 @@ func awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(v **types.Device } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -7921,6 +8085,7 @@ func awsRestjson1_deserializeDocumentEstimatedResourceSize(v **types.EstimatedRe } } + case "estimatedSizeInBytes": if value != nil { switch jtv := value.(type) { @@ -7954,6 +8119,7 @@ func awsRestjson1_deserializeDocumentEstimatedResourceSize(v **types.EstimatedRe } } + default: _, _ = key, value @@ -7989,10 +8155,12 @@ func awsRestjson1_deserializeDocumentFileFormatConfiguration(v **types.FileForma if err := awsRestjson1_deserializeDocumentJsonConfiguration(&sv.JsonConfiguration, value); err != nil { return err } + case "parquetConfiguration": if err := awsRestjson1_deserializeDocumentParquetConfiguration(&sv.ParquetConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8032,6 +8200,7 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Filter = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8040,6 +8209,7 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -8048,6 +8218,7 @@ func awsRestjson1_deserializeDocumentFilterActivity(v **types.FilterActivity, va } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -8087,6 +8258,7 @@ func awsRestjson1_deserializeDocumentGlueConfiguration(v **types.GlueConfigurati } sv.DatabaseName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -8095,6 +8267,7 @@ func awsRestjson1_deserializeDocumentGlueConfiguration(v **types.GlueConfigurati } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -8134,6 +8307,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8173,6 +8347,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8212,6 +8387,7 @@ func awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(v **types } sv.InputName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8220,6 +8396,7 @@ func awsRestjson1_deserializeDocumentIotEventsDestinationConfiguration(v **types } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8259,6 +8436,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -8267,6 +8445,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8306,6 +8485,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -8314,6 +8494,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseCustomerManagedDatastoreS3Storag } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8388,6 +8569,7 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.BatchSize = ptr.Int32(int32(i64)) } + case "lambdaName": if value != nil { jtv, ok := value.(string) @@ -8396,6 +8578,7 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.LambdaName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8404,6 +8587,7 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -8412,6 +8596,7 @@ func awsRestjson1_deserializeDocumentLambdaActivity(v **types.LambdaActivity, va } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -8447,6 +8632,7 @@ func awsRestjson1_deserializeDocumentLateDataRule(v **types.LateDataRule, value if err := awsRestjson1_deserializeDocumentLateDataRuleConfiguration(&sv.RuleConfiguration, value); err != nil { return err } + case "ruleName": if value != nil { jtv, ok := value.(string) @@ -8455,6 +8641,7 @@ func awsRestjson1_deserializeDocumentLateDataRule(v **types.LateDataRule, value } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -8490,6 +8677,7 @@ func awsRestjson1_deserializeDocumentLateDataRuleConfiguration(v **types.LateDat if err := awsRestjson1_deserializeDocumentDeltaTimeSessionWindowConfiguration(&sv.DeltaTimeSessionWindowConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8563,6 +8751,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8602,6 +8791,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Enabled = jtv } + case "level": if value != nil { jtv, ok := value.(string) @@ -8610,6 +8800,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8618,6 +8809,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8657,6 +8849,7 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Attribute = ptr.String(jtv) } + case "math": if value != nil { jtv, ok := value.(string) @@ -8665,6 +8858,7 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Math = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8673,6 +8867,7 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -8681,6 +8876,7 @@ func awsRestjson1_deserializeDocumentMathActivity(v **types.MathActivity, value } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -8760,6 +8956,7 @@ func awsRestjson1_deserializeDocumentOutputFileUriValue(v **types.OutputFileUriV } sv.FileName = ptr.String(jtv) } + default: _, _ = key, value @@ -8795,6 +8992,7 @@ func awsRestjson1_deserializeDocumentParquetConfiguration(v **types.ParquetConfi if err := awsRestjson1_deserializeDocumentSchemaDefinition(&sv.SchemaDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -8834,6 +9032,7 @@ func awsRestjson1_deserializeDocumentPartition(v **types.Partition, value interf } sv.AttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -8903,6 +9102,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsRestjson1_deserializeDocumentPipelineActivities(&sv.Activities, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8911,6 +9111,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8926,6 +9127,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -8941,6 +9143,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8949,10 +9152,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Name = ptr.String(jtv) } + case "reprocessingSummaries": if err := awsRestjson1_deserializeDocumentReprocessingSummaries(&sv.ReprocessingSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9022,42 +9227,52 @@ func awsRestjson1_deserializeDocumentPipelineActivity(v **types.PipelineActivity if err := awsRestjson1_deserializeDocumentAddAttributesActivity(&sv.AddAttributes, value); err != nil { return err } + case "channel": if err := awsRestjson1_deserializeDocumentChannelActivity(&sv.Channel, value); err != nil { return err } + case "datastore": if err := awsRestjson1_deserializeDocumentDatastoreActivity(&sv.Datastore, value); err != nil { return err } + case "deviceRegistryEnrich": if err := awsRestjson1_deserializeDocumentDeviceRegistryEnrichActivity(&sv.DeviceRegistryEnrich, value); err != nil { return err } + case "deviceShadowEnrich": if err := awsRestjson1_deserializeDocumentDeviceShadowEnrichActivity(&sv.DeviceShadowEnrich, value); err != nil { return err } + case "filter": if err := awsRestjson1_deserializeDocumentFilterActivity(&sv.Filter, value); err != nil { return err } + case "lambda": if err := awsRestjson1_deserializeDocumentLambdaActivity(&sv.Lambda, value); err != nil { return err } + case "math": if err := awsRestjson1_deserializeDocumentMathActivity(&sv.Math, value); err != nil { return err } + case "removeAttributes": if err := awsRestjson1_deserializeDocumentRemoveAttributesActivity(&sv.RemoveAttributes, value); err != nil { return err } + case "selectAttributes": if err := awsRestjson1_deserializeDocumentSelectAttributesActivity(&sv.SelectAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -9138,6 +9353,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -9153,6 +9369,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "pipelineName": if value != nil { jtv, ok := value.(string) @@ -9161,10 +9378,12 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } + case "reprocessingSummaries": if err := awsRestjson1_deserializeDocumentReprocessingSummaries(&sv.ReprocessingSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9200,6 +9419,7 @@ func awsRestjson1_deserializeDocumentQueryFilter(v **types.QueryFilter, value in if err := awsRestjson1_deserializeDocumentDeltaTime(&sv.DeltaTime, value); err != nil { return err } + default: _, _ = key, value @@ -9269,6 +9489,7 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt if err := awsRestjson1_deserializeDocumentAttributeNames(&sv.Attributes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9277,6 +9498,7 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -9285,6 +9507,7 @@ func awsRestjson1_deserializeDocumentRemoveAttributesActivity(v **types.RemoveAt } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -9365,6 +9588,7 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } } + case "id": if value != nil { jtv, ok := value.(string) @@ -9373,6 +9597,7 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9381,6 +9606,7 @@ func awsRestjson1_deserializeDocumentReprocessingSummary(v **types.ReprocessingS } sv.Status = types.ReprocessingStatus(jtv) } + default: _, _ = key, value @@ -9420,6 +9646,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9428,6 +9655,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9436,6 +9664,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -9475,6 +9704,7 @@ func awsRestjson1_deserializeDocumentResourceConfiguration(v **types.ResourceCon } sv.ComputeType = types.ComputeType(jtv) } + case "volumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -9487,6 +9717,7 @@ func awsRestjson1_deserializeDocumentResourceConfiguration(v **types.ResourceCon } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9526,6 +9757,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9569,6 +9801,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.NumberOfDays = ptr.Int32(int32(i64)) } + case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -9577,6 +9810,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Unlimited = jtv } + default: _, _ = key, value @@ -9616,10 +9850,12 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Bucket = ptr.String(jtv) } + case "glueConfiguration": if err := awsRestjson1_deserializeDocumentGlueConfiguration(&sv.GlueConfiguration, value); err != nil { return err } + case "key": if value != nil { jtv, ok := value.(string) @@ -9628,6 +9864,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Key = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9636,6 +9873,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9675,6 +9913,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -9710,6 +9949,7 @@ func awsRestjson1_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsRestjson1_deserializeDocumentColumns(&sv.Columns, value); err != nil { return err } + default: _, _ = key, value @@ -9745,6 +9985,7 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt if err := awsRestjson1_deserializeDocumentAttributeNames(&sv.Attributes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9753,6 +9994,7 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt } sv.Name = ptr.String(jtv) } + case "next": if value != nil { jtv, ok := value.(string) @@ -9761,6 +10003,7 @@ func awsRestjson1_deserializeDocumentSelectAttributesActivity(v **types.SelectAt } sv.Next = ptr.String(jtv) } + default: _, _ = key, value @@ -9924,6 +10167,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9959,6 +10203,7 @@ func awsRestjson1_deserializeDocumentSqlQueryDatasetAction(v **types.SqlQueryDat if err := awsRestjson1_deserializeDocumentQueryFilters(&sv.Filters, value); err != nil { return err } + case "sqlQuery": if value != nil { jtv, ok := value.(string) @@ -9967,6 +10212,7 @@ func awsRestjson1_deserializeDocumentSqlQueryDatasetAction(v **types.SqlQueryDat } sv.SqlQuery = ptr.String(jtv) } + default: _, _ = key, value @@ -10006,6 +10252,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -10014,6 +10261,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10087,6 +10335,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10126,6 +10375,7 @@ func awsRestjson1_deserializeDocumentTimestampPartition(v **types.TimestampParti } sv.AttributeName = ptr.String(jtv) } + case "timestampFormat": if value != nil { jtv, ok := value.(string) @@ -10134,6 +10384,7 @@ func awsRestjson1_deserializeDocumentTimestampPartition(v **types.TimestampParti } sv.TimestampFormat = ptr.String(jtv) } + default: _, _ = key, value @@ -10173,6 +10424,7 @@ func awsRestjson1_deserializeDocumentTriggeringDataset(v **types.TriggeringDatas } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10208,6 +10460,7 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac if err := awsRestjson1_deserializeDocumentDatasetContentVersionValue(&sv.DatasetContentVersionValue, value); err != nil { return err } + case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -10241,6 +10494,7 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10249,10 +10503,12 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } + case "outputFileUriValue": if err := awsRestjson1_deserializeDocumentOutputFileUriValue(&sv.OutputFileUriValue, value); err != nil { return err } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -10261,6 +10517,7 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -10338,6 +10595,7 @@ func awsRestjson1_deserializeDocumentVersioningConfiguration(v **types.Versionin } sv.MaxVersions = ptr.Int32(int32(i64)) } + case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -10346,6 +10604,7 @@ func awsRestjson1_deserializeDocumentVersioningConfiguration(v **types.Versionin } sv.Unlimited = jtv } + default: _, _ = key, value diff --git a/service/iotdataplane/deserializers.go b/service/iotdataplane/deserializers.go index 24b275493dd..f8f78e7d915 100644 --- a/service/iotdataplane/deserializers.go +++ b/service/iotdataplane/deserializers.go @@ -335,6 +335,7 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.LastModifiedTime = i64 } + case "payload": if value != nil { jtv, ok := value.(string) @@ -347,6 +348,7 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Payload = dv } + case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -359,6 +361,7 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Qos = int32(i64) } + case "topic": if value != nil { jtv, ok := value.(string) @@ -367,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.Topic = ptr.String(jtv) } + case "userProperties": if value != nil { jtv, ok := value.(string) @@ -379,6 +383,7 @@ func awsRestjson1_deserializeOpDocumentGetRetainedMessageOutput(v **GetRetainedM } sv.UserProperties = dv } + default: _, _ = key, value @@ -688,10 +693,12 @@ func awsRestjson1_deserializeOpDocumentListNamedShadowsForThingOutput(v **ListNa } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentNamedShadowList(&sv.Results, value); err != nil { return err } + case "timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -704,6 +711,7 @@ func awsRestjson1_deserializeOpDocumentListNamedShadowsForThingOutput(v **ListNa } sv.Timestamp = i64 } + default: _, _ = key, value @@ -874,10 +882,12 @@ func awsRestjson1_deserializeOpDocumentListRetainedMessagesOutput(v **ListRetain } sv.NextToken = ptr.String(jtv) } + case "retainedTopics": if err := awsRestjson1_deserializeDocumentRetainedMessageList(&sv.RetainedTopics, value); err != nil { return err } + default: _, _ = key, value @@ -1522,6 +1532,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1561,6 +1572,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1600,6 +1612,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1639,6 +1652,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1714,6 +1728,7 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1753,6 +1768,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1830,6 +1846,7 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.LastModifiedTime = i64 } + case "payloadSize": if value != nil { jtv, ok := value.(json.Number) @@ -1842,6 +1859,7 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.PayloadSize = i64 } + case "qos": if value != nil { jtv, ok := value.(json.Number) @@ -1854,6 +1872,7 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.Qos = int32(i64) } + case "topic": if value != nil { jtv, ok := value.(string) @@ -1862,6 +1881,7 @@ func awsRestjson1_deserializeDocumentRetainedMessageSummary(v **types.RetainedMe } sv.Topic = ptr.String(jtv) } + default: _, _ = key, value @@ -1901,6 +1921,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1940,6 +1961,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1979,6 +2001,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2018,6 +2041,7 @@ func awsRestjson1_deserializeDocumentUnsupportedDocumentEncodingException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotdeviceadvisor/deserializers.go b/service/iotdeviceadvisor/deserializers.go index 56821bfc18a..abbe44e3453 100644 --- a/service/iotdeviceadvisor/deserializers.go +++ b/service/iotdeviceadvisor/deserializers.go @@ -185,6 +185,7 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } } + case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -193,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionArn = ptr.String(jtv) } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -201,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -209,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentCreateSuiteDefinitionOutput(v **CreateSui } sv.SuiteDefinitionName = ptr.String(jtv) } + default: _, _ = key, value @@ -461,6 +465,7 @@ func awsRestjson1_deserializeOpDocumentGetEndpointOutput(v **GetEndpointOutput, } sv.Endpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -629,6 +634,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -644,6 +650,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } } + case "latestVersion": if value != nil { jtv, ok := value.(string) @@ -652,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.LatestVersion = ptr.String(jtv) } + case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -660,10 +668,12 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionArn = ptr.String(jtv) } + case "suiteDefinitionConfiguration": if err := awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(&sv.SuiteDefinitionConfiguration, value); err != nil { return err } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -672,6 +682,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -680,10 +691,12 @@ func awsRestjson1_deserializeOpDocumentGetSuiteDefinitionOutput(v **GetSuiteDefi } sv.SuiteDefinitionVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -852,6 +865,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } } + case "errorReason": if value != nil { jtv, ok := value.(string) @@ -860,6 +874,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.ErrorReason = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -875,6 +890,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } } + case "status": if value != nil { jtv, ok := value.(string) @@ -883,6 +899,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.Status = types.SuiteRunStatus(jtv) } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -891,6 +908,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -899,6 +917,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteDefinitionVersion = ptr.String(jtv) } + case "suiteRunArn": if value != nil { jtv, ok := value.(string) @@ -907,10 +926,12 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteRunArn = ptr.String(jtv) } + case "suiteRunConfiguration": if err := awsRestjson1_deserializeDocumentSuiteRunConfiguration(&sv.SuiteRunConfiguration, value); err != nil { return err } + case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -919,14 +940,17 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunOutput(v **GetSuiteRunOutput, } sv.SuiteRunId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "testResult": if err := awsRestjson1_deserializeDocumentTestResult(&sv.TestResult, value); err != nil { return err } + default: _, _ = key, value @@ -1088,6 +1112,7 @@ func awsRestjson1_deserializeOpDocumentGetSuiteRunReportOutput(v **GetSuiteRunRe } sv.QualificationReportDownloadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -1246,10 +1271,12 @@ func awsRestjson1_deserializeOpDocumentListSuiteDefinitionsOutput(v **ListSuiteD } sv.NextToken = ptr.String(jtv) } + case "suiteDefinitionInformationList": if err := awsRestjson1_deserializeDocumentSuiteDefinitionInformationList(&sv.SuiteDefinitionInformationList, value); err != nil { return err } + default: _, _ = key, value @@ -1408,10 +1435,12 @@ func awsRestjson1_deserializeOpDocumentListSuiteRunsOutput(v **ListSuiteRunsOutp } sv.NextToken = ptr.String(jtv) } + case "suiteRunsList": if err := awsRestjson1_deserializeDocumentSuiteRunsList(&sv.SuiteRunsList, value); err != nil { return err } + default: _, _ = key, value @@ -1569,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1737,6 +1767,7 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1745,6 +1776,7 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.Endpoint = ptr.String(jtv) } + case "suiteRunArn": if value != nil { jtv, ok := value.(string) @@ -1753,6 +1785,7 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.SuiteRunArn = ptr.String(jtv) } + case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -1761,6 +1794,7 @@ func awsRestjson1_deserializeOpDocumentStartSuiteRunOutput(v **StartSuiteRunOutp } sv.SuiteRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -2208,6 +2242,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2223,6 +2258,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } } + case "suiteDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -2231,6 +2267,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionArn = ptr.String(jtv) } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2239,6 +2276,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2247,6 +2285,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionName = ptr.String(jtv) } + case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -2255,6 +2294,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSuiteDefinitionOutput(v **UpdateSui } sv.SuiteDefinitionVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2438,6 +2478,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2477,6 +2518,7 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.CertificateArn = ptr.String(jtv) } + case "deviceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2485,6 +2527,7 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.DeviceRoleArn = ptr.String(jtv) } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -2493,6 +2536,7 @@ func awsRestjson1_deserializeDocumentDeviceUnderTest(v **types.DeviceUnderTest, } sv.ThingArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2566,6 +2610,7 @@ func awsRestjson1_deserializeDocumentGroupResult(v **types.GroupResult, value in } sv.GroupId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -2574,10 +2619,12 @@ func awsRestjson1_deserializeDocumentGroupResult(v **types.GroupResult, value in } sv.GroupName = ptr.String(jtv) } + case "tests": if err := awsRestjson1_deserializeDocumentTestCaseRuns(&sv.Tests, value); err != nil { return err } + default: _, _ = key, value @@ -2651,6 +2698,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2690,6 +2738,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2765,10 +2814,12 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.DevicePermissionRoleArn = ptr.String(jtv) } + case "devices": if err := awsRestjson1_deserializeDocumentDeviceUnderTestList(&sv.Devices, value); err != nil { return err } + case "intendedForQualification": if value != nil { jtv, ok := value.(bool) @@ -2777,6 +2828,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.IntendedForQualification = ptr.Bool(jtv) } + case "isLongDurationTest": if value != nil { jtv, ok := value.(bool) @@ -2785,6 +2837,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.IsLongDurationTest = ptr.Bool(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -2793,6 +2846,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.Protocol = types.Protocol(jtv) } + case "rootGroup": if value != nil { jtv, ok := value.(string) @@ -2801,6 +2855,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.RootGroup = ptr.String(jtv) } + case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2809,6 +2864,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit } sv.SuiteDefinitionName = ptr.String(jtv) } + default: _, _ = key, value @@ -2855,10 +2911,12 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } } + case "defaultDevices": if err := awsRestjson1_deserializeDocumentDeviceUnderTestList(&sv.DefaultDevices, value); err != nil { return err } + case "intendedForQualification": if value != nil { jtv, ok := value.(bool) @@ -2867,6 +2925,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.IntendedForQualification = ptr.Bool(jtv) } + case "isLongDurationTest": if value != nil { jtv, ok := value.(bool) @@ -2875,6 +2934,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.IsLongDurationTest = ptr.Bool(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -2883,6 +2943,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.Protocol = types.Protocol(jtv) } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2891,6 +2952,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -2899,6 +2961,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD } sv.SuiteDefinitionName = ptr.String(jtv) } + default: _, _ = key, value @@ -2972,14 +3035,17 @@ func awsRestjson1_deserializeDocumentSuiteRunConfiguration(v **types.SuiteRunCon } sv.ParallelRun = ptr.Bool(jtv) } + case "primaryDevice": if err := awsRestjson1_deserializeDocumentDeviceUnderTest(&sv.PrimaryDevice, value); err != nil { return err } + case "selectedTestList": if err := awsRestjson1_deserializeDocumentSelectedTestList(&sv.SelectedTestList, value); err != nil { return err } + default: _, _ = key, value @@ -3026,6 +3092,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } + case "endAt": if value != nil { switch jtv := value.(type) { @@ -3041,6 +3108,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -3053,6 +3121,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Failed = ptr.Int32(int32(i64)) } + case "passed": if value != nil { jtv, ok := value.(json.Number) @@ -3065,6 +3134,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Passed = ptr.Int32(int32(i64)) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -3080,6 +3150,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3088,6 +3159,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.Status = types.SuiteRunStatus(jtv) } + case "suiteDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3096,6 +3168,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionId = ptr.String(jtv) } + case "suiteDefinitionName": if value != nil { jtv, ok := value.(string) @@ -3104,6 +3177,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionName = ptr.String(jtv) } + case "suiteDefinitionVersion": if value != nil { jtv, ok := value.(string) @@ -3112,6 +3186,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteDefinitionVersion = ptr.String(jtv) } + case "suiteRunId": if value != nil { jtv, ok := value.(string) @@ -3120,6 +3195,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor } sv.SuiteRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -3236,6 +3312,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } } + case "failure": if value != nil { jtv, ok := value.(string) @@ -3244,6 +3321,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Failure = ptr.String(jtv) } + case "logUrl": if value != nil { jtv, ok := value.(string) @@ -3252,6 +3330,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.LogUrl = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -3267,6 +3346,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3275,6 +3355,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Status = types.Status(jtv) } + case "testCaseDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3283,6 +3364,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseDefinitionId = ptr.String(jtv) } + case "testCaseDefinitionName": if value != nil { jtv, ok := value.(string) @@ -3291,6 +3373,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseDefinitionName = ptr.String(jtv) } + case "testCaseRunId": if value != nil { jtv, ok := value.(string) @@ -3299,10 +3382,12 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.TestCaseRunId = ptr.String(jtv) } + case "testScenarios": if err := awsRestjson1_deserializeDocumentTestCaseScenariosList(&sv.TestScenarios, value); err != nil { return err } + case "warnings": if value != nil { jtv, ok := value.(string) @@ -3311,6 +3396,7 @@ func awsRestjson1_deserializeDocumentTestCaseRun(v **types.TestCaseRun, value in } sv.Warnings = ptr.String(jtv) } + default: _, _ = key, value @@ -3384,6 +3470,7 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.Failure = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3392,6 +3479,7 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.Status = types.TestCaseScenarioStatus(jtv) } + case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -3400,6 +3488,7 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.SystemMessage = ptr.String(jtv) } + case "testCaseScenarioId": if value != nil { jtv, ok := value.(string) @@ -3408,6 +3497,7 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.TestCaseScenarioId = ptr.String(jtv) } + case "testCaseScenarioType": if value != nil { jtv, ok := value.(string) @@ -3416,6 +3506,7 @@ func awsRestjson1_deserializeDocumentTestCaseScenario(v **types.TestCaseScenario } sv.TestCaseScenarioType = types.TestCaseScenarioType(jtv) } + default: _, _ = key, value @@ -3485,6 +3576,7 @@ func awsRestjson1_deserializeDocumentTestResult(v **types.TestResult, value inte if err := awsRestjson1_deserializeDocumentGroupResultList(&sv.Groups, value); err != nil { return err } + default: _, _ = key, value @@ -3524,6 +3616,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotevents/deserializers.go b/service/iotevents/deserializers.go index e3e747cadbf..2d47ade1d44 100644 --- a/service/iotevents/deserializers.go +++ b/service/iotevents/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.AlarmModelArn = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -202,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -217,6 +219,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -232,6 +235,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } } + case "status": if value != nil { jtv, ok := value.(string) @@ -240,6 +244,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlarmModelOutput(v **CreateAlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } + default: _, _ = key, value @@ -409,6 +414,7 @@ func awsRestjson1_deserializeOpDocumentCreateDetectorModelOutput(v **CreateDetec if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -572,6 +578,7 @@ func awsRestjson1_deserializeOpDocumentCreateInputOutput(v **CreateInputOutput, if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1044,10 +1051,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar if err := awsRestjson1_deserializeDocumentAlarmCapabilities(&sv.AlarmCapabilities, value); err != nil { return err } + case "alarmEventActions": if err := awsRestjson1_deserializeDocumentAlarmEventActions(&sv.AlarmEventActions, value); err != nil { return err } + case "alarmModelArn": if value != nil { jtv, ok := value.(string) @@ -1056,6 +1065,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelArn = ptr.String(jtv) } + case "alarmModelDescription": if value != nil { jtv, ok := value.(string) @@ -1064,6 +1074,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelDescription = ptr.String(jtv) } + case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -1072,6 +1083,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelName = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -1080,14 +1092,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.AlarmModelVersion = ptr.String(jtv) } + case "alarmNotification": if err := awsRestjson1_deserializeDocumentAlarmNotification(&sv.AlarmNotification, value); err != nil { return err } + case "alarmRule": if err := awsRestjson1_deserializeDocumentAlarmRule(&sv.AlarmRule, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1103,6 +1118,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } } + case "key": if value != nil { jtv, ok := value.(string) @@ -1111,6 +1127,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Key = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -1126,6 +1143,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1134,6 +1152,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.RoleArn = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(json.Number) @@ -1146,6 +1165,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Severity = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1154,6 +1174,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.Status = types.AlarmModelVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1162,6 +1183,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmModelOutput(v **DescribeAlar } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -1325,6 +1347,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorModelOutput(v **DescribeD if err := awsRestjson1_deserializeDocumentDetectorModel(&sv.DetectorModel, value); err != nil { return err } + default: _, _ = key, value @@ -1492,6 +1515,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorModelAnalysisOutput(v **D } sv.Status = types.AnalysisStatus(jtv) } + default: _, _ = key, value @@ -1655,6 +1679,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + default: _, _ = key, value @@ -1821,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -1984,6 +2010,7 @@ func awsRestjson1_deserializeOpDocumentGetDetectorModelAnalysisResultsOutput(v * if err := awsRestjson1_deserializeDocumentAnalysisResults(&sv.AnalysisResults, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1992,6 +2019,7 @@ func awsRestjson1_deserializeOpDocumentGetDetectorModelAnalysisResultsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2152,6 +2180,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelsOutput(v **ListAlarmModels if err := awsRestjson1_deserializeDocumentAlarmModelSummaries(&sv.AlarmModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2160,6 +2189,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelsOutput(v **ListAlarmModels } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2323,6 +2353,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelVersionsOutput(v **ListAlar if err := awsRestjson1_deserializeDocumentAlarmModelVersionSummaries(&sv.AlarmModelVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2331,6 +2362,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmModelVersionsOutput(v **ListAlar } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2491,6 +2523,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelsOutput(v **ListDetector if err := awsRestjson1_deserializeDocumentDetectorModelSummaries(&sv.DetectorModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2499,6 +2532,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelsOutput(v **ListDetector } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2662,6 +2696,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelVersionsOutput(v **ListD if err := awsRestjson1_deserializeDocumentDetectorModelVersionSummaries(&sv.DetectorModelVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2670,6 +2705,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorModelVersionsOutput(v **ListD } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2837,10 +2873,12 @@ func awsRestjson1_deserializeOpDocumentListInputRoutingsOutput(v **ListInputRout } sv.NextToken = ptr.String(jtv) } + case "routedResources": if err := awsRestjson1_deserializeDocumentRoutedResources(&sv.RoutedResources, value); err != nil { return err } + default: _, _ = key, value @@ -3001,6 +3039,7 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va if err := awsRestjson1_deserializeDocumentInputSummaries(&sv.InputSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3009,6 +3048,7 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3172,6 +3212,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3448,6 +3489,7 @@ func awsRestjson1_deserializeOpDocumentStartDetectorModelAnalysisOutput(v **Star } sv.AnalysisId = ptr.String(jtv) } + default: _, _ = key, value @@ -3821,6 +3863,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.AlarmModelArn = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -3829,6 +3872,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -3844,6 +3888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -3859,6 +3904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3867,6 +3913,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlarmModelOutput(v **UpdateAlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } + default: _, _ = key, value @@ -4033,6 +4080,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDetectorModelOutput(v **UpdateDetec if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4199,6 +4247,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputOutput(v **UpdateInputOutput, if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4562,6 +4611,7 @@ func awsRestjson1_deserializeDocumentAcknowledgeFlow(v **types.AcknowledgeFlow, } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4597,54 +4647,67 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentClearTimerAction(&sv.ClearTimer, value); err != nil { return err } + case "dynamoDB": if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } + case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } + case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } + case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } + case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } + case "iotTopicPublish": if err := awsRestjson1_deserializeDocumentIotTopicPublishAction(&sv.IotTopicPublish, value); err != nil { return err } + case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } + case "resetTimer": if err := awsRestjson1_deserializeDocumentResetTimerAction(&sv.ResetTimer, value); err != nil { return err } + case "setTimer": if err := awsRestjson1_deserializeDocumentSetTimerAction(&sv.SetTimer, value); err != nil { return err } + case "setVariable": if err := awsRestjson1_deserializeDocumentSetVariableAction(&sv.SetVariable, value); err != nil { return err } + case "sns": if err := awsRestjson1_deserializeDocumentSNSTopicPublishAction(&sv.Sns, value); err != nil { return err } + case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } + default: _, _ = key, value @@ -4714,38 +4777,47 @@ func awsRestjson1_deserializeDocumentAlarmAction(v **types.AlarmAction, value in if err := awsRestjson1_deserializeDocumentDynamoDBAction(&sv.DynamoDB, value); err != nil { return err } + case "dynamoDBv2": if err := awsRestjson1_deserializeDocumentDynamoDBv2Action(&sv.DynamoDBv2, value); err != nil { return err } + case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseAction(&sv.Firehose, value); err != nil { return err } + case "iotEvents": if err := awsRestjson1_deserializeDocumentIotEventsAction(&sv.IotEvents, value); err != nil { return err } + case "iotSiteWise": if err := awsRestjson1_deserializeDocumentIotSiteWiseAction(&sv.IotSiteWise, value); err != nil { return err } + case "iotTopicPublish": if err := awsRestjson1_deserializeDocumentIotTopicPublishAction(&sv.IotTopicPublish, value); err != nil { return err } + case "lambda": if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.Lambda, value); err != nil { return err } + case "sns": if err := awsRestjson1_deserializeDocumentSNSTopicPublishAction(&sv.Sns, value); err != nil { return err } + case "sqs": if err := awsRestjson1_deserializeDocumentSqsAction(&sv.Sqs, value); err != nil { return err } + default: _, _ = key, value @@ -4815,10 +4887,12 @@ func awsRestjson1_deserializeDocumentAlarmCapabilities(v **types.AlarmCapabiliti if err := awsRestjson1_deserializeDocumentAcknowledgeFlow(&sv.AcknowledgeFlow, value); err != nil { return err } + case "initializationConfiguration": if err := awsRestjson1_deserializeDocumentInitializationConfiguration(&sv.InitializationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4854,6 +4928,7 @@ func awsRestjson1_deserializeDocumentAlarmEventActions(v **types.AlarmEventActio if err := awsRestjson1_deserializeDocumentAlarmActions(&sv.AlarmActions, value); err != nil { return err } + default: _, _ = key, value @@ -4927,6 +5002,7 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } sv.AlarmModelDescription = ptr.String(jtv) } + case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -4935,6 +5011,7 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } sv.AlarmModelName = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -4950,6 +5027,7 @@ func awsRestjson1_deserializeDocumentAlarmModelSummary(v **types.AlarmModelSumma } } + default: _, _ = key, value @@ -5023,6 +5101,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelArn = ptr.String(jtv) } + case "alarmModelName": if value != nil { jtv, ok := value.(string) @@ -5031,6 +5110,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelName = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -5039,6 +5119,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.AlarmModelVersion = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5054,6 +5135,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5069,6 +5151,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5077,6 +5160,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5085,6 +5169,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.Status = types.AlarmModelVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5093,6 +5178,7 @@ func awsRestjson1_deserializeDocumentAlarmModelVersionSummary(v **types.AlarmMod } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5128,6 +5214,7 @@ func awsRestjson1_deserializeDocumentAlarmNotification(v **types.AlarmNotificati if err := awsRestjson1_deserializeDocumentNotificationActions(&sv.NotificationActions, value); err != nil { return err } + default: _, _ = key, value @@ -5163,6 +5250,7 @@ func awsRestjson1_deserializeDocumentAlarmRule(v **types.AlarmRule, value interf if err := awsRestjson1_deserializeDocumentSimpleRule(&sv.SimpleRule, value); err != nil { return err } + default: _, _ = key, value @@ -5202,10 +5290,12 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Level = types.AnalysisResultLevel(jtv) } + case "locations": if err := awsRestjson1_deserializeDocumentAnalysisResultLocations(&sv.Locations, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -5214,6 +5304,7 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Message = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5222,6 +5313,7 @@ func awsRestjson1_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5261,6 +5353,7 @@ func awsRestjson1_deserializeDocumentAnalysisResultLocation(v **types.AnalysisRe } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -5368,6 +5461,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.OffsetInNanos = ptr.String(jtv) } + case "timeInSeconds": if value != nil { jtv, ok := value.(string) @@ -5376,6 +5470,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyTimestamp(v **types.AssetPrope } sv.TimeInSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -5415,14 +5510,17 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = ptr.String(jtv) } + case "timestamp": if err := awsRestjson1_deserializeDocumentAssetPropertyTimestamp(&sv.Timestamp, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentAssetPropertyVariant(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -5462,6 +5560,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.BooleanValue = ptr.String(jtv) } + case "doubleValue": if value != nil { jtv, ok := value.(string) @@ -5470,6 +5569,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.DoubleValue = ptr.String(jtv) } + case "integerValue": if value != nil { jtv, ok := value.(string) @@ -5478,6 +5578,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.IntegerValue = ptr.String(jtv) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -5486,6 +5587,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyVariant(v **types.AssetPropert } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5525,6 +5627,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.JsonPath = ptr.String(jtv) } + default: _, _ = key, value @@ -5598,6 +5701,7 @@ func awsRestjson1_deserializeDocumentClearTimerAction(v **types.ClearTimerAction } sv.TimerName = ptr.String(jtv) } + default: _, _ = key, value @@ -5637,6 +5741,7 @@ func awsRestjson1_deserializeDocumentDetectorDebugOption(v **types.DetectorDebug } sv.DetectorModelName = ptr.String(jtv) } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5750,7 @@ func awsRestjson1_deserializeDocumentDetectorDebugOption(v **types.DetectorDebug } sv.KeyValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5714,10 +5820,12 @@ func awsRestjson1_deserializeDocumentDetectorModel(v **types.DetectorModel, valu if err := awsRestjson1_deserializeDocumentDetectorModelConfiguration(&sv.DetectorModelConfiguration, value); err != nil { return err } + case "detectorModelDefinition": if err := awsRestjson1_deserializeDocumentDetectorModelDefinition(&sv.DetectorModelDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -5764,6 +5872,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } } + case "detectorModelArn": if value != nil { jtv, ok := value.(string) @@ -5772,6 +5881,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelArn = ptr.String(jtv) } + case "detectorModelDescription": if value != nil { jtv, ok := value.(string) @@ -5780,6 +5890,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelDescription = ptr.String(jtv) } + case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -5788,6 +5899,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelName = ptr.String(jtv) } + case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -5796,6 +5908,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.DetectorModelVersion = ptr.String(jtv) } + case "evaluationMethod": if value != nil { jtv, ok := value.(string) @@ -5804,6 +5917,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.EvaluationMethod = types.EvaluationMethod(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -5812,6 +5926,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.Key = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5827,6 +5942,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5835,6 +5951,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5843,6 +5960,7 @@ func awsRestjson1_deserializeDocumentDetectorModelConfiguration(v **types.Detect } sv.Status = types.DetectorModelVersionStatus(jtv) } + default: _, _ = key, value @@ -5882,10 +6000,12 @@ func awsRestjson1_deserializeDocumentDetectorModelDefinition(v **types.DetectorM } sv.InitialStateName = ptr.String(jtv) } + case "states": if err := awsRestjson1_deserializeDocumentStates(&sv.States, value); err != nil { return err } + default: _, _ = key, value @@ -5966,6 +6086,7 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } } + case "detectorModelDescription": if value != nil { jtv, ok := value.(string) @@ -5974,6 +6095,7 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } sv.DetectorModelDescription = ptr.String(jtv) } + case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -5982,6 +6104,7 @@ func awsRestjson1_deserializeDocumentDetectorModelSummary(v **types.DetectorMode } sv.DetectorModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -6062,6 +6185,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } } + case "detectorModelArn": if value != nil { jtv, ok := value.(string) @@ -6070,6 +6194,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelArn = ptr.String(jtv) } + case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -6078,6 +6203,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelName = ptr.String(jtv) } + case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -6086,6 +6212,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.DetectorModelVersion = ptr.String(jtv) } + case "evaluationMethod": if value != nil { jtv, ok := value.(string) @@ -6094,6 +6221,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.EvaluationMethod = types.EvaluationMethod(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6109,6 +6237,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6117,6 +6246,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6125,6 +6255,7 @@ func awsRestjson1_deserializeDocumentDetectorModelVersionSummary(v **types.Detec } sv.Status = types.DetectorModelVersionStatus(jtv) } + default: _, _ = key, value @@ -6164,6 +6295,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyField = ptr.String(jtv) } + case "hashKeyType": if value != nil { jtv, ok := value.(string) @@ -6172,6 +6304,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyType = ptr.String(jtv) } + case "hashKeyValue": if value != nil { jtv, ok := value.(string) @@ -6180,6 +6313,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.HashKeyValue = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -6188,10 +6322,12 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.Operation = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + case "payloadField": if value != nil { jtv, ok := value.(string) @@ -6200,6 +6336,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.PayloadField = ptr.String(jtv) } + case "rangeKeyField": if value != nil { jtv, ok := value.(string) @@ -6208,6 +6345,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyField = ptr.String(jtv) } + case "rangeKeyType": if value != nil { jtv, ok := value.(string) @@ -6216,6 +6354,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyType = ptr.String(jtv) } + case "rangeKeyValue": if value != nil { jtv, ok := value.(string) @@ -6224,6 +6363,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.RangeKeyValue = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -6232,6 +6372,7 @@ func awsRestjson1_deserializeDocumentDynamoDBAction(v **types.DynamoDBAction, va } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -6267,6 +6408,7 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -6275,6 +6417,7 @@ func awsRestjson1_deserializeDocumentDynamoDBv2Action(v **types.DynamoDBv2Action } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -6310,6 +6453,7 @@ func awsRestjson1_deserializeDocumentEmailConfiguration(v **types.EmailConfigura if err := awsRestjson1_deserializeDocumentEmailContent(&sv.Content, value); err != nil { return err } + case "from": if value != nil { jtv, ok := value.(string) @@ -6318,10 +6462,12 @@ func awsRestjson1_deserializeDocumentEmailConfiguration(v **types.EmailConfigura } sv.From = ptr.String(jtv) } + case "recipients": if err := awsRestjson1_deserializeDocumentEmailRecipients(&sv.Recipients, value); err != nil { return err } + default: _, _ = key, value @@ -6395,6 +6541,7 @@ func awsRestjson1_deserializeDocumentEmailContent(v **types.EmailContent, value } sv.AdditionalMessage = ptr.String(jtv) } + case "subject": if value != nil { jtv, ok := value.(string) @@ -6403,6 +6550,7 @@ func awsRestjson1_deserializeDocumentEmailContent(v **types.EmailContent, value } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -6438,6 +6586,7 @@ func awsRestjson1_deserializeDocumentEmailRecipients(v **types.EmailRecipients, if err := awsRestjson1_deserializeDocumentRecipientDetails(&sv.To, value); err != nil { return err } + default: _, _ = key, value @@ -6473,6 +6622,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e if err := awsRestjson1_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } + case "condition": if value != nil { jtv, ok := value.(string) @@ -6481,6 +6631,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Condition = ptr.String(jtv) } + case "eventName": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6640,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventName = ptr.String(jtv) } + default: _, _ = key, value @@ -6562,10 +6714,12 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.DeliveryStreamName = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + case "separator": if value != nil { jtv, ok := value.(string) @@ -6574,6 +6728,7 @@ func awsRestjson1_deserializeDocumentFirehoseAction(v **types.FirehoseAction, va } sv.Separator = ptr.String(jtv) } + default: _, _ = key, value @@ -6613,6 +6768,7 @@ func awsRestjson1_deserializeDocumentInitializationConfiguration(v **types.Initi } sv.DisabledOnInitialization = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6648,10 +6804,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e if err := awsRestjson1_deserializeDocumentInputConfiguration(&sv.InputConfiguration, value); err != nil { return err } + case "inputDefinition": if err := awsRestjson1_deserializeDocumentInputDefinition(&sv.InputDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -6698,6 +6856,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } } + case "inputArn": if value != nil { jtv, ok := value.(string) @@ -6706,6 +6865,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputArn = ptr.String(jtv) } + case "inputDescription": if value != nil { jtv, ok := value.(string) @@ -6714,6 +6874,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputDescription = ptr.String(jtv) } + case "inputName": if value != nil { jtv, ok := value.(string) @@ -6722,6 +6883,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputName = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6737,6 +6899,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6745,6 +6908,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.Status = types.InputStatus(jtv) } + default: _, _ = key, value @@ -6780,6 +6944,7 @@ func awsRestjson1_deserializeDocumentInputDefinition(v **types.InputDefinition, if err := awsRestjson1_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -6860,6 +7025,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } } + case "inputArn": if value != nil { jtv, ok := value.(string) @@ -6868,6 +7034,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputArn = ptr.String(jtv) } + case "inputDescription": if value != nil { jtv, ok := value.(string) @@ -6876,6 +7043,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputDescription = ptr.String(jtv) } + case "inputName": if value != nil { jtv, ok := value.(string) @@ -6884,6 +7052,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.InputName = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -6899,6 +7068,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6907,6 +7077,7 @@ func awsRestjson1_deserializeDocumentInputSummary(v **types.InputSummary, value } sv.Status = types.InputStatus(jtv) } + default: _, _ = key, value @@ -6946,6 +7117,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6985,6 +7157,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7024,10 +7197,12 @@ func awsRestjson1_deserializeDocumentIotEventsAction(v **types.IotEventsAction, } sv.InputName = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + default: _, _ = key, value @@ -7067,6 +7242,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.AssetId = ptr.String(jtv) } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -7075,6 +7251,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.EntryId = ptr.String(jtv) } + case "propertyAlias": if value != nil { jtv, ok := value.(string) @@ -7083,6 +7260,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.PropertyAlias = ptr.String(jtv) } + case "propertyId": if value != nil { jtv, ok := value.(string) @@ -7091,10 +7269,12 @@ func awsRestjson1_deserializeDocumentIotSiteWiseAction(v **types.IotSiteWiseActi } sv.PropertyId = ptr.String(jtv) } + case "propertyValue": if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.PropertyValue, value); err != nil { return err } + default: _, _ = key, value @@ -7134,10 +7314,12 @@ func awsRestjson1_deserializeDocumentIotTopicPublishAction(v **types.IotTopicPub } sv.MqttTopic = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + default: _, _ = key, value @@ -7177,10 +7359,12 @@ func awsRestjson1_deserializeDocumentLambdaAction(v **types.LambdaAction, value } sv.FunctionArn = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + default: _, _ = key, value @@ -7220,6 +7404,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7255,6 +7440,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va if err := awsRestjson1_deserializeDocumentDetectorDebugOptions(&sv.DetectorDebugOptions, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -7263,6 +7449,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Enabled = jtv } + case "level": if value != nil { jtv, ok := value.(string) @@ -7271,6 +7458,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7279,6 +7467,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7314,14 +7503,17 @@ func awsRestjson1_deserializeDocumentNotificationAction(v **types.NotificationAc if err := awsRestjson1_deserializeDocumentNotificationTargetActions(&sv.Action, value); err != nil { return err } + case "emailConfigurations": if err := awsRestjson1_deserializeDocumentEmailConfigurations(&sv.EmailConfigurations, value); err != nil { return err } + case "smsConfigurations": if err := awsRestjson1_deserializeDocumentSMSConfigurations(&sv.SmsConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -7391,6 +7583,7 @@ func awsRestjson1_deserializeDocumentNotificationTargetActions(v **types.Notific if err := awsRestjson1_deserializeDocumentLambdaAction(&sv.LambdaAction, value); err != nil { return err } + default: _, _ = key, value @@ -7426,6 +7619,7 @@ func awsRestjson1_deserializeDocumentOnEnterLifecycle(v **types.OnEnterLifecycle if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -7461,6 +7655,7 @@ func awsRestjson1_deserializeDocumentOnExitLifecycle(v **types.OnExitLifecycle, if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } + default: _, _ = key, value @@ -7496,10 +7691,12 @@ func awsRestjson1_deserializeDocumentOnInputLifecycle(v **types.OnInputLifecycle if err := awsRestjson1_deserializeDocumentEvents(&sv.Events, value); err != nil { return err } + case "transitionEvents": if err := awsRestjson1_deserializeDocumentTransitionEvents(&sv.TransitionEvents, value); err != nil { return err } + default: _, _ = key, value @@ -7539,6 +7736,7 @@ func awsRestjson1_deserializeDocumentPayload(v **types.Payload, value interface{ } sv.ContentExpression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7547,6 +7745,7 @@ func awsRestjson1_deserializeDocumentPayload(v **types.Payload, value interface{ } sv.Type = types.PayloadType(jtv) } + default: _, _ = key, value @@ -7582,6 +7781,7 @@ func awsRestjson1_deserializeDocumentRecipientDetail(v **types.RecipientDetail, if err := awsRestjson1_deserializeDocumentSSOIdentity(&sv.SsoIdentity, value); err != nil { return err } + default: _, _ = key, value @@ -7655,6 +7855,7 @@ func awsRestjson1_deserializeDocumentResetTimerAction(v **types.ResetTimerAction } sv.TimerName = ptr.String(jtv) } + default: _, _ = key, value @@ -7694,6 +7895,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -7702,6 +7904,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7710,6 +7913,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7749,6 +7953,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7788,6 +7993,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7827,6 +8033,7 @@ func awsRestjson1_deserializeDocumentRoutedResource(v **types.RoutedResource, va } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7835,6 +8042,7 @@ func awsRestjson1_deserializeDocumentRoutedResource(v **types.RoutedResource, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7908,6 +8116,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7947,6 +8156,7 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.DurationExpression = ptr.String(jtv) } + case "seconds": if value != nil { jtv, ok := value.(json.Number) @@ -7959,6 +8169,7 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.Seconds = ptr.Int32(int32(i64)) } + case "timerName": if value != nil { jtv, ok := value.(string) @@ -7967,6 +8178,7 @@ func awsRestjson1_deserializeDocumentSetTimerAction(v **types.SetTimerAction, va } sv.TimerName = ptr.String(jtv) } + default: _, _ = key, value @@ -8006,6 +8218,7 @@ func awsRestjson1_deserializeDocumentSetVariableAction(v **types.SetVariableActi } sv.Value = ptr.String(jtv) } + case "variableName": if value != nil { jtv, ok := value.(string) @@ -8014,6 +8227,7 @@ func awsRestjson1_deserializeDocumentSetVariableAction(v **types.SetVariableActi } sv.VariableName = ptr.String(jtv) } + default: _, _ = key, value @@ -8053,6 +8267,7 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "inputProperty": if value != nil { jtv, ok := value.(string) @@ -8061,6 +8276,7 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.InputProperty = ptr.String(jtv) } + case "threshold": if value != nil { jtv, ok := value.(string) @@ -8069,6 +8285,7 @@ func awsRestjson1_deserializeDocumentSimpleRule(v **types.SimpleRule, value inte } sv.Threshold = ptr.String(jtv) } + default: _, _ = key, value @@ -8108,10 +8325,12 @@ func awsRestjson1_deserializeDocumentSMSConfiguration(v **types.SMSConfiguration } sv.AdditionalMessage = ptr.String(jtv) } + case "recipients": if err := awsRestjson1_deserializeDocumentRecipientDetails(&sv.Recipients, value); err != nil { return err } + case "senderId": if value != nil { jtv, ok := value.(string) @@ -8120,6 +8339,7 @@ func awsRestjson1_deserializeDocumentSMSConfiguration(v **types.SMSConfiguration } sv.SenderId = ptr.String(jtv) } + default: _, _ = key, value @@ -8189,6 +8409,7 @@ func awsRestjson1_deserializeDocumentSNSTopicPublishAction(v **types.SNSTopicPub if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -8197,6 +8418,7 @@ func awsRestjson1_deserializeDocumentSNSTopicPublishAction(v **types.SNSTopicPub } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8232,6 +8454,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf if err := awsRestjson1_deserializeDocumentPayload(&sv.Payload, value); err != nil { return err } + case "queueUrl": if value != nil { jtv, ok := value.(string) @@ -8240,6 +8463,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.QueueUrl = ptr.String(jtv) } + case "useBase64": if value != nil { jtv, ok := value.(bool) @@ -8248,6 +8472,7 @@ func awsRestjson1_deserializeDocumentSqsAction(v **types.SqsAction, value interf } sv.UseBase64 = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8287,6 +8512,7 @@ func awsRestjson1_deserializeDocumentSSOIdentity(v **types.SSOIdentity, value in } sv.IdentityStoreId = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -8295,6 +8521,7 @@ func awsRestjson1_deserializeDocumentSSOIdentity(v **types.SSOIdentity, value in } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -8330,14 +8557,17 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e if err := awsRestjson1_deserializeDocumentOnEnterLifecycle(&sv.OnEnter, value); err != nil { return err } + case "onExit": if err := awsRestjson1_deserializeDocumentOnExitLifecycle(&sv.OnExit, value); err != nil { return err } + case "onInput": if err := awsRestjson1_deserializeDocumentOnInputLifecycle(&sv.OnInput, value); err != nil { return err } + case "stateName": if value != nil { jtv, ok := value.(string) @@ -8346,6 +8576,7 @@ func awsRestjson1_deserializeDocumentState(v **types.State, value interface{}) e } sv.StateName = ptr.String(jtv) } + default: _, _ = key, value @@ -8419,6 +8650,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -8427,6 +8659,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8500,6 +8733,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8535,6 +8769,7 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, if err := awsRestjson1_deserializeDocumentActions(&sv.Actions, value); err != nil { return err } + case "condition": if value != nil { jtv, ok := value.(string) @@ -8543,6 +8778,7 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.Condition = ptr.String(jtv) } + case "eventName": if value != nil { jtv, ok := value.(string) @@ -8551,6 +8787,7 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.EventName = ptr.String(jtv) } + case "nextState": if value != nil { jtv, ok := value.(string) @@ -8559,6 +8796,7 @@ func awsRestjson1_deserializeDocumentTransitionEvent(v **types.TransitionEvent, } sv.NextState = ptr.String(jtv) } + default: _, _ = key, value @@ -8632,6 +8870,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ioteventsdata/deserializers.go b/service/ioteventsdata/deserializers.go index 916f778d61d..9c9a18073e9 100644 --- a/service/ioteventsdata/deserializers.go +++ b/service/ioteventsdata/deserializers.go @@ -180,6 +180,7 @@ func awsRestjson1_deserializeOpDocumentBatchAcknowledgeAlarmOutput(v **BatchAckn if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -340,6 +341,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDetectorOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntries(&sv.BatchDeleteDetectorErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -500,6 +502,7 @@ func awsRestjson1_deserializeOpDocumentBatchDisableAlarmOutput(v **BatchDisableA if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -660,6 +663,7 @@ func awsRestjson1_deserializeOpDocumentBatchEnableAlarmOutput(v **BatchEnableAla if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -820,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutMessageOutput(v **BatchPutMessage if err := awsRestjson1_deserializeDocumentBatchPutMessageErrorEntries(&sv.BatchPutMessageErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -980,6 +985,7 @@ func awsRestjson1_deserializeOpDocumentBatchResetAlarmOutput(v **BatchResetAlarm if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1140,6 +1146,7 @@ func awsRestjson1_deserializeOpDocumentBatchSnoozeAlarmOutput(v **BatchSnoozeAla if err := awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1300,6 +1307,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateDetectorOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntries(&sv.BatchUpdateDetectorErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1463,6 +1471,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlarmOutput(v **DescribeAlarmOutp if err := awsRestjson1_deserializeDocumentAlarm(&sv.Alarm, value); err != nil { return err } + default: _, _ = key, value @@ -1626,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDetectorOutput(v **DescribeDetect if err := awsRestjson1_deserializeDocumentDetector(&sv.Detector, value); err != nil { return err } + default: _, _ = key, value @@ -1789,6 +1799,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmsOutput(v **ListAlarmsOutput, va if err := awsRestjson1_deserializeDocumentAlarmSummaries(&sv.AlarmSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1797,6 +1808,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmsOutput(v **ListAlarmsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1960,6 +1972,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp if err := awsRestjson1_deserializeDocumentDetectorSummaries(&sv.DetectorSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1968,6 +1981,7 @@ func awsRestjson1_deserializeOpDocumentListDetectorsOutput(v **ListDetectorsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2187,6 +2201,7 @@ func awsRestjson1_deserializeDocumentAcknowledgeActionConfiguration(v **types.Ac } sv.Note = ptr.String(jtv) } + default: _, _ = key, value @@ -2226,6 +2241,7 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmModelName = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -2234,10 +2250,12 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmModelVersion = ptr.String(jtv) } + case "alarmState": if err := awsRestjson1_deserializeDocumentAlarmState(&sv.AlarmState, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2253,6 +2271,7 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -2261,6 +2280,7 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.KeyValue = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2276,6 +2296,7 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } + case "severity": if value != nil { jtv, ok := value.(json.Number) @@ -2288,6 +2309,7 @@ func awsRestjson1_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Severity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2323,10 +2345,12 @@ func awsRestjson1_deserializeDocumentAlarmState(v **types.AlarmState, value inte if err := awsRestjson1_deserializeDocumentCustomerAction(&sv.CustomerAction, value); err != nil { return err } + case "ruleEvaluation": if err := awsRestjson1_deserializeDocumentRuleEvaluation(&sv.RuleEvaluation, value); err != nil { return err } + case "stateName": if value != nil { jtv, ok := value.(string) @@ -2335,10 +2359,12 @@ func awsRestjson1_deserializeDocumentAlarmState(v **types.AlarmState, value inte } sv.StateName = types.AlarmStateName(jtv) } + case "systemEvent": if err := awsRestjson1_deserializeDocumentSystemEvent(&sv.SystemEvent, value); err != nil { return err } + default: _, _ = key, value @@ -2412,6 +2438,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.AlarmModelName = ptr.String(jtv) } + case "alarmModelVersion": if value != nil { jtv, ok := value.(string) @@ -2420,6 +2447,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.AlarmModelVersion = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2435,6 +2463,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -2443,6 +2472,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.KeyValue = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2458,6 +2488,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } } + case "stateName": if value != nil { jtv, ok := value.(string) @@ -2466,6 +2497,7 @@ func awsRestjson1_deserializeDocumentAlarmSummary(v **types.AlarmSummary, value } sv.StateName = types.AlarmStateName(jtv) } + default: _, _ = key, value @@ -2539,6 +2571,7 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2547,6 +2580,7 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.ErrorMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2555,6 +2589,7 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2628,6 +2663,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2636,6 +2672,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -2644,6 +2681,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.Bat } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -2717,6 +2755,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2725,6 +2764,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.ErrorMessage = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -2733,6 +2773,7 @@ func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntry(v **types.BatchPu } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -2806,6 +2847,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2814,6 +2856,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -2822,6 +2865,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateDetectorErrorEntry(v **types.Bat } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -2857,6 +2901,7 @@ func awsRestjson1_deserializeDocumentCustomerAction(v **types.CustomerAction, va if err := awsRestjson1_deserializeDocumentAcknowledgeActionConfiguration(&sv.AcknowledgeActionConfiguration, value); err != nil { return err } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -2865,22 +2910,27 @@ func awsRestjson1_deserializeDocumentCustomerAction(v **types.CustomerAction, va } sv.ActionName = types.CustomerActionName(jtv) } + case "disableActionConfiguration": if err := awsRestjson1_deserializeDocumentDisableActionConfiguration(&sv.DisableActionConfiguration, value); err != nil { return err } + case "enableActionConfiguration": if err := awsRestjson1_deserializeDocumentEnableActionConfiguration(&sv.EnableActionConfiguration, value); err != nil { return err } + case "resetActionConfiguration": if err := awsRestjson1_deserializeDocumentResetActionConfiguration(&sv.ResetActionConfiguration, value); err != nil { return err } + case "snoozeActionConfiguration": if err := awsRestjson1_deserializeDocumentSnoozeActionConfiguration(&sv.SnoozeActionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2927,6 +2977,7 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } } + case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -2935,6 +2986,7 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorModelName = ptr.String(jtv) } + case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -2943,6 +2995,7 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.DetectorModelVersion = ptr.String(jtv) } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -2951,6 +3004,7 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } sv.KeyValue = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -2966,10 +3020,12 @@ func awsRestjson1_deserializeDocumentDetector(v **types.Detector, value interfac } } + case "state": if err := awsRestjson1_deserializeDocumentDetectorState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -3009,14 +3065,17 @@ func awsRestjson1_deserializeDocumentDetectorState(v **types.DetectorState, valu } sv.StateName = ptr.String(jtv) } + case "timers": if err := awsRestjson1_deserializeDocumentTimers(&sv.Timers, value); err != nil { return err } + case "variables": if err := awsRestjson1_deserializeDocumentVariables(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -3056,6 +3115,7 @@ func awsRestjson1_deserializeDocumentDetectorStateSummary(v **types.DetectorStat } sv.StateName = ptr.String(jtv) } + default: _, _ = key, value @@ -3136,6 +3196,7 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } } + case "detectorModelName": if value != nil { jtv, ok := value.(string) @@ -3144,6 +3205,7 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.DetectorModelName = ptr.String(jtv) } + case "detectorModelVersion": if value != nil { jtv, ok := value.(string) @@ -3152,6 +3214,7 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.DetectorModelVersion = ptr.String(jtv) } + case "keyValue": if value != nil { jtv, ok := value.(string) @@ -3160,6 +3223,7 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } sv.KeyValue = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -3175,10 +3239,12 @@ func awsRestjson1_deserializeDocumentDetectorSummary(v **types.DetectorSummary, } } + case "state": if err := awsRestjson1_deserializeDocumentDetectorStateSummary(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -3218,6 +3284,7 @@ func awsRestjson1_deserializeDocumentDisableActionConfiguration(v **types.Disabl } sv.Note = ptr.String(jtv) } + default: _, _ = key, value @@ -3257,6 +3324,7 @@ func awsRestjson1_deserializeDocumentEnableActionConfiguration(v **types.EnableA } sv.Note = ptr.String(jtv) } + default: _, _ = key, value @@ -3296,6 +3364,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3335,6 +3404,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3374,6 +3444,7 @@ func awsRestjson1_deserializeDocumentResetActionConfiguration(v **types.ResetAct } sv.Note = ptr.String(jtv) } + default: _, _ = key, value @@ -3413,6 +3484,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3448,6 +3520,7 @@ func awsRestjson1_deserializeDocumentRuleEvaluation(v **types.RuleEvaluation, va if err := awsRestjson1_deserializeDocumentSimpleRuleEvaluation(&sv.SimpleRuleEvaluation, value); err != nil { return err } + default: _, _ = key, value @@ -3487,6 +3560,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3526,6 +3600,7 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.InputPropertyValue = ptr.String(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -3534,6 +3609,7 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.Operator = types.ComparisonOperator(jtv) } + case "thresholdValue": if value != nil { jtv, ok := value.(string) @@ -3542,6 +3618,7 @@ func awsRestjson1_deserializeDocumentSimpleRuleEvaluation(v **types.SimpleRuleEv } sv.ThresholdValue = ptr.String(jtv) } + default: _, _ = key, value @@ -3581,6 +3658,7 @@ func awsRestjson1_deserializeDocumentSnoozeActionConfiguration(v **types.SnoozeA } sv.Note = ptr.String(jtv) } + case "snoozeDuration": if value != nil { jtv, ok := value.(json.Number) @@ -3593,6 +3671,7 @@ func awsRestjson1_deserializeDocumentSnoozeActionConfiguration(v **types.SnoozeA } sv.SnoozeDuration = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3632,6 +3711,7 @@ func awsRestjson1_deserializeDocumentStateChangeConfiguration(v **types.StateCha } sv.TriggerType = types.TriggerType(jtv) } + default: _, _ = key, value @@ -3671,10 +3751,12 @@ func awsRestjson1_deserializeDocumentSystemEvent(v **types.SystemEvent, value in } sv.EventType = types.EventType(jtv) } + case "stateChangeConfiguration": if err := awsRestjson1_deserializeDocumentStateChangeConfiguration(&sv.StateChangeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3714,6 +3796,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3753,6 +3836,7 @@ func awsRestjson1_deserializeDocumentTimer(v **types.Timer, value interface{}) e } sv.Name = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -3768,6 +3852,7 @@ func awsRestjson1_deserializeDocumentTimer(v **types.Timer, value interface{}) e } } + default: _, _ = key, value @@ -3841,6 +3926,7 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3849,6 +3935,7 @@ func awsRestjson1_deserializeDocumentVariable(v **types.Variable, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotfleethub/deserializers.go b/service/iotfleethub/deserializers.go index b0134363bc3..c390d2bbaa5 100644 --- a/service/iotfleethub/deserializers.go +++ b/service/iotfleethub/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -192,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -453,6 +455,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationArn = ptr.String(jtv) } + case "applicationCreationDate": if value != nil { jtv, ok := value.(json.Number) @@ -465,6 +468,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationCreationDate = i64 } + case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -473,6 +477,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationDescription = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -481,6 +486,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationId = ptr.String(jtv) } + case "applicationLastUpdateDate": if value != nil { jtv, ok := value.(json.Number) @@ -493,6 +499,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationLastUpdateDate = i64 } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -501,6 +508,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationName = ptr.String(jtv) } + case "applicationState": if value != nil { jtv, ok := value.(string) @@ -509,6 +517,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationState = types.ApplicationState(jtv) } + case "applicationUrl": if value != nil { jtv, ok := value.(string) @@ -517,6 +526,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationUrl = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -525,6 +535,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ErrorMessage = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -533,6 +544,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.RoleArn = ptr.String(jtv) } + case "ssoClientId": if value != nil { jtv, ok := value.(string) @@ -541,10 +553,12 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.SsoClientId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -702,6 +716,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -710,6 +725,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -867,6 +883,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1448,6 +1465,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationCreationDate = i64 } + case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -1456,6 +1474,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationDescription = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -1464,6 +1483,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } + case "applicationLastUpdateDate": if value != nil { jtv, ok := value.(json.Number) @@ -1476,6 +1496,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationLastUpdateDate = i64 } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -1484,6 +1505,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } + case "applicationState": if value != nil { jtv, ok := value.(string) @@ -1492,6 +1514,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationState = types.ApplicationState(jtv) } + case "applicationUrl": if value != nil { jtv, ok := value.(string) @@ -1500,6 +1523,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -1539,6 +1563,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1578,6 +1603,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1617,6 +1643,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1656,6 +1683,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1695,6 +1723,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1770,6 +1799,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotfleetwise/deserializers.go b/service/iotfleetwise/deserializers.go index 0e895a94e85..7684b811479 100644 --- a/service/iotfleetwise/deserializers.go +++ b/service/iotfleetwise/deserializers.go @@ -6899,6 +6899,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6934,6 +6935,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } + case "assignedValue": if value != nil { jtv, ok := value.(string) @@ -6942,6 +6944,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.AssignedValue = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -6950,6 +6953,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Comment = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -6958,6 +6962,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.DataType = types.NodeDataType(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -6966,6 +6971,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6974,6 +6980,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -6982,6 +6989,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.FullyQualifiedName = ptr.String(jtv) } + case "max": if value != nil { switch jtv := value.(type) { @@ -7015,6 +7023,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } } + case "min": if value != nil { switch jtv := value.(type) { @@ -7048,6 +7057,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } } + case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7056,6 +7066,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.StructFullyQualifiedName = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7075,7 @@ func awsAwsjson10_deserializeDocumentActuator(v **types.Actuator, value interfac } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -7099,6 +7111,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } + case "assignedValue": if value != nil { jtv, ok := value.(string) @@ -7107,6 +7120,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.AssignedValue = ptr.String(jtv) } + case "comment": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7129,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Comment = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -7123,6 +7138,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DataType = types.NodeDataType(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -7131,6 +7147,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DefaultValue = ptr.String(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7156,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7147,6 +7165,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7155,6 +7174,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.FullyQualifiedName = ptr.String(jtv) } + case "max": if value != nil { switch jtv := value.(type) { @@ -7188,6 +7208,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } } + case "min": if value != nil { switch jtv := value.(type) { @@ -7221,6 +7242,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } } + case "unit": if value != nil { jtv, ok := value.(string) @@ -7229,6 +7251,7 @@ func awsAwsjson10_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -7304,6 +7327,7 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Comment = ptr.String(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -7312,6 +7336,7 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7320,6 +7345,7 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -7328,6 +7354,7 @@ func awsAwsjson10_deserializeDocumentBranch(v **types.Branch, value interface{}) } sv.FullyQualifiedName = ptr.String(jtv) } + default: _, _ = key, value @@ -7401,6 +7428,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7416,6 +7444,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -7424,6 +7453,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -7439,6 +7469,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7447,6 +7478,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -7455,6 +7487,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.SignalCatalogArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7463,6 +7496,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Status = types.CampaignStatus(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -7471,6 +7505,7 @@ func awsAwsjson10_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7510,6 +7545,7 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.Name = ptr.String(jtv) } + case "protocolName": if value != nil { jtv, ok := value.(string) @@ -7518,6 +7554,7 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.ProtocolName = ptr.String(jtv) } + case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -7526,6 +7563,7 @@ func awsAwsjson10_deserializeDocumentCanInterface(v **types.CanInterface, value } sv.ProtocolVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -7590,6 +7628,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } } + case "isBigEndian": if value != nil { jtv, ok := value.(bool) @@ -7598,6 +7637,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.IsBigEndian = jtv } + case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -7606,6 +7646,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.IsSigned = jtv } + case "length": if value != nil { jtv, ok := value.(json.Number) @@ -7618,6 +7659,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.Length = int32(i64) } + case "messageId": if value != nil { jtv, ok := value.(json.Number) @@ -7630,6 +7672,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.MessageId = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7638,6 +7681,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.Name = ptr.String(jtv) } + case "offset": if value != nil { switch jtv := value.(type) { @@ -7671,6 +7715,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } } + case "startBit": if value != nil { jtv, ok := value.(json.Number) @@ -7683,6 +7728,7 @@ func awsAwsjson10_deserializeDocumentCanSignal(v **types.CanSignal, value interf } sv.StartBit = int32(i64) } + default: _, _ = key, value @@ -7722,6 +7768,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(v **types.Clou } sv.LogGroupName = ptr.String(jtv) } + case "logType": if value != nil { jtv, ok := value.(string) @@ -7730,6 +7777,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(v **types.Clou } sv.LogType = types.LogType(jtv) } + default: _, _ = key, value @@ -7823,6 +7871,7 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.ConditionLanguageVersion = ptr.Int32(int32(i64)) } + case "expression": if value != nil { jtv, ok := value.(string) @@ -7831,6 +7880,7 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.Expression = ptr.String(jtv) } + case "minimumTriggerIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -7843,6 +7893,7 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.MinimumTriggerIntervalMs = ptr.Int64(i64) } + case "triggerMode": if value != nil { jtv, ok := value.(string) @@ -7851,6 +7902,7 @@ func awsAwsjson10_deserializeDocumentConditionBasedCollectionScheme(v **types.Co } sv.TriggerMode = types.TriggerMode(jtv) } + default: _, _ = key, value @@ -7890,6 +7942,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -7898,6 +7951,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7906,6 +7960,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7945,6 +8000,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -7953,6 +8009,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.Message = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -7961,6 +8018,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleError(v **types.CreateVehicleE } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -8034,6 +8092,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.Arn = ptr.String(jtv) } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -8042,6 +8101,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.ThingArn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8110,7 @@ func awsAwsjson10_deserializeDocumentCreateVehicleResponseItem(v **types.CreateV } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -8123,6 +8184,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.Comment = ptr.String(jtv) } + case "dataEncoding": if value != nil { jtv, ok := value.(string) @@ -8131,6 +8193,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DataEncoding = types.NodeDataEncoding(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -8139,6 +8202,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DataType = types.NodeDataType(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -8147,6 +8211,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8155,6 +8220,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8163,6 +8229,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.FullyQualifiedName = ptr.String(jtv) } + case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8171,6 +8238,7 @@ func awsAwsjson10_deserializeDocumentCustomProperty(v **types.CustomProperty, va } sv.StructFullyQualifiedName = ptr.String(jtv) } + default: _, _ = key, value @@ -8210,6 +8278,7 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.Comment = ptr.String(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -8218,6 +8287,7 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8226,6 +8296,7 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -8234,6 +8305,7 @@ func awsAwsjson10_deserializeDocumentCustomStruct(v **types.CustomStruct, value } sv.FullyQualifiedName = ptr.String(jtv) } + default: _, _ = key, value @@ -8425,6 +8497,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8440,6 +8513,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8448,6 +8522,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8463,6 +8538,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } } + case "message": if value != nil { jtv, ok := value.(string) @@ -8471,6 +8547,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Message = ptr.String(jtv) } + case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -8479,6 +8556,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.ModelManifestArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8487,6 +8565,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8495,6 +8574,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestSummary(v **types.DecoderMan } sv.Status = types.ManifestStatus(jtv) } + default: _, _ = key, value @@ -8530,10 +8610,12 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type if err := awsAwsjson10_deserializeDocumentInvalidNetworkInterfaces(&sv.InvalidNetworkInterfaces, value); err != nil { return err } + case "invalidSignals": if err := awsAwsjson10_deserializeDocumentInvalidSignalDecoders(&sv.InvalidSignals, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8542,6 +8624,7 @@ func awsAwsjson10_deserializeDocumentDecoderManifestValidationException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8651,6 +8734,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8666,6 +8750,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8674,6 +8759,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8682,6 +8768,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.Id = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8697,6 +8784,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -8705,6 +8793,7 @@ func awsAwsjson10_deserializeDocumentFleetSummary(v **types.FleetSummary, value } sv.SignalCatalogArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8744,6 +8833,7 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.ErrorMessage = ptr.String(jtv) } + case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -8752,6 +8842,7 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8760,6 +8851,7 @@ func awsAwsjson10_deserializeDocumentIamRegistrationResponse(v **types.IamRegist } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8799,6 +8891,7 @@ func awsAwsjson10_deserializeDocumentIamResources(v **types.IamResources, value } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8838,6 +8931,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8850,6 +8944,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -8889,6 +8984,7 @@ func awsAwsjson10_deserializeDocumentInvalidNetworkInterface(v **types.InvalidNe } sv.InterfaceId = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -8897,6 +8993,7 @@ func awsAwsjson10_deserializeDocumentInvalidNetworkInterface(v **types.InvalidNe } sv.Reason = types.NetworkInterfaceFailureReason(jtv) } + default: _, _ = key, value @@ -8966,6 +9063,7 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE if err := awsAwsjson10_deserializeDocumentNodes(&sv.InvalidNodes, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8974,6 +9072,7 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -8982,6 +9081,7 @@ func awsAwsjson10_deserializeDocumentInvalidNodeException(v **types.InvalidNodeE } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -9021,6 +9121,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignal(v **types.InvalidSignal, valu } sv.Name = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9029,6 +9130,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignal(v **types.InvalidSignal, valu } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -9068,6 +9170,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Hint = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9076,6 +9179,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Name = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9084,6 +9188,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignalDecoder(v **types.InvalidSigna } sv.Reason = types.SignalDecoderFailureReason(jtv) } + default: _, _ = key, value @@ -9187,6 +9292,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi if err := awsAwsjson10_deserializeDocumentInvalidSignals(&sv.InvalidSignals, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9195,6 +9301,7 @@ func awsAwsjson10_deserializeDocumentInvalidSignalsException(v **types.InvalidSi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9234,6 +9341,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9242,6 +9350,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9250,6 +9359,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -9321,6 +9431,7 @@ func awsAwsjson10_deserializeDocumentMessageSignal(v **types.MessageSignal, valu if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.StructuredMessage, value); err != nil { return err } + case "topicName": if value != nil { jtv, ok := value.(string) @@ -9329,6 +9440,7 @@ func awsAwsjson10_deserializeDocumentMessageSignal(v **types.MessageSignal, valu } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -9402,6 +9514,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9417,6 +9530,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9425,6 +9539,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -9440,6 +9555,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9448,6 +9564,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Name = ptr.String(jtv) } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -9456,6 +9573,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.SignalCatalogArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9464,6 +9582,7 @@ func awsAwsjson10_deserializeDocumentModelManifestSummary(v **types.ModelManifes } sv.Status = types.ManifestStatus(jtv) } + default: _, _ = key, value @@ -9499,6 +9618,7 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsAwsjson10_deserializeDocumentCanInterface(&sv.CanInterface, value); err != nil { return err } + case "interfaceId": if value != nil { jtv, ok := value.(string) @@ -9507,10 +9627,12 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.InterfaceId = ptr.String(jtv) } + case "obdInterface": if err := awsAwsjson10_deserializeDocumentObdInterface(&sv.ObdInterface, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9519,10 +9641,12 @@ func awsAwsjson10_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Type = types.NetworkInterfaceType(jtv) } + case "vehicleMiddleware": if err := awsAwsjson10_deserializeDocumentVehicleMiddleware(&sv.VehicleMiddleware, value); err != nil { return err } + default: _, _ = key, value @@ -9690,6 +9814,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalActuators = int32(i64) } + case "totalAttributes": if value != nil { jtv, ok := value.(json.Number) @@ -9702,6 +9827,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalAttributes = int32(i64) } + case "totalBranches": if value != nil { jtv, ok := value.(json.Number) @@ -9714,6 +9840,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalBranches = int32(i64) } + case "totalNodes": if value != nil { jtv, ok := value.(json.Number) @@ -9726,6 +9853,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalNodes = int32(i64) } + case "totalProperties": if value != nil { jtv, ok := value.(json.Number) @@ -9738,6 +9866,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalProperties = int32(i64) } + case "totalSensors": if value != nil { jtv, ok := value.(json.Number) @@ -9750,6 +9879,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalSensors = int32(i64) } + case "totalStructs": if value != nil { jtv, ok := value.(json.Number) @@ -9762,6 +9892,7 @@ func awsAwsjson10_deserializeDocumentNodeCounts(v **types.NodeCounts, value inte } sv.TotalStructs = int32(i64) } + default: _, _ = key, value @@ -9837,6 +9968,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.DtcRequestIntervalSeconds = int32(i64) } + case "hasTransmissionEcu": if value != nil { jtv, ok := value.(bool) @@ -9845,6 +9977,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.HasTransmissionEcu = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -9853,6 +9986,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.Name = ptr.String(jtv) } + case "obdStandard": if value != nil { jtv, ok := value.(string) @@ -9861,6 +9995,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.ObdStandard = ptr.String(jtv) } + case "pidRequestIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9873,6 +10008,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.PidRequestIntervalSeconds = int32(i64) } + case "requestMessageId": if value != nil { jtv, ok := value.(json.Number) @@ -9885,6 +10021,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.RequestMessageId = int32(i64) } + case "useExtendedIds": if value != nil { jtv, ok := value.(bool) @@ -9893,6 +10030,7 @@ func awsAwsjson10_deserializeDocumentObdInterface(v **types.ObdInterface, value } sv.UseExtendedIds = jtv } + default: _, _ = key, value @@ -9936,6 +10074,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.BitMaskLength = ptr.Int32(int32(i64)) } + case "bitRightShift": if value != nil { jtv, ok := value.(json.Number) @@ -9948,6 +10087,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.BitRightShift = int32(i64) } + case "byteLength": if value != nil { jtv, ok := value.(json.Number) @@ -9960,6 +10100,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.ByteLength = ptr.Int32(int32(i64)) } + case "offset": if value != nil { switch jtv := value.(type) { @@ -9993,6 +10134,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -10005,6 +10147,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.Pid = int32(i64) } + case "pidResponseLength": if value != nil { jtv, ok := value.(json.Number) @@ -10017,6 +10160,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.PidResponseLength = ptr.Int32(int32(i64)) } + case "scaling": if value != nil { switch jtv := value.(type) { @@ -10050,6 +10194,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } } + case "serviceMode": if value != nil { jtv, ok := value.(json.Number) @@ -10062,6 +10207,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.ServiceMode = int32(i64) } + case "startByte": if value != nil { jtv, ok := value.(json.Number) @@ -10074,6 +10220,7 @@ func awsAwsjson10_deserializeDocumentObdSignal(v **types.ObdSignal, value interf } sv.StartByte = int32(i64) } + default: _, _ = key, value @@ -10153,6 +10300,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10161,6 +10309,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10169,6 +10318,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10233,6 +10383,7 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } } + case "primitiveType": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10392,7 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } sv.PrimitiveType = types.ROS2PrimitiveType(jtv) } + case "scaling": if value != nil { switch jtv := value.(type) { @@ -10274,6 +10426,7 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } } + case "upperBound": if value != nil { jtv, ok := value.(json.Number) @@ -10286,6 +10439,7 @@ func awsAwsjson10_deserializeDocumentROS2PrimitiveMessageDefinition(v **types.RO } sv.UpperBound = ptr.Int64(i64) } + default: _, _ = key, value @@ -10325,6 +10479,7 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.BucketArn = ptr.String(jtv) } + case "dataFormat": if value != nil { jtv, ok := value.(string) @@ -10333,6 +10488,7 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.DataFormat = types.DataFormat(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -10341,6 +10497,7 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.Prefix = ptr.String(jtv) } + case "storageCompressionFormat": if value != nil { jtv, ok := value.(string) @@ -10349,6 +10506,7 @@ func awsAwsjson10_deserializeDocumentS3Config(v **types.S3Config, value interfac } sv.StorageCompressionFormat = types.StorageCompressionFormat(jtv) } + default: _, _ = key, value @@ -10384,6 +10542,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) if err := awsAwsjson10_deserializeDocumentListOfStrings(&sv.AllowedValues, value); err != nil { return err } + case "comment": if value != nil { jtv, ok := value.(string) @@ -10392,6 +10551,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Comment = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -10400,6 +10560,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.DataType = types.NodeDataType(jtv) } + case "deprecationMessage": if value != nil { jtv, ok := value.(string) @@ -10408,6 +10569,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.DeprecationMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10416,6 +10578,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Description = ptr.String(jtv) } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10424,6 +10587,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.FullyQualifiedName = ptr.String(jtv) } + case "max": if value != nil { switch jtv := value.(type) { @@ -10457,6 +10621,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } } + case "min": if value != nil { switch jtv := value.(type) { @@ -10490,6 +10655,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } } + case "structFullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10498,6 +10664,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.StructFullyQualifiedName = ptr.String(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -10506,6 +10673,7 @@ func awsAwsjson10_deserializeDocumentSensor(v **types.Sensor, value interface{}) } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -10579,6 +10747,7 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -10594,6 +10763,7 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -10609,6 +10779,7 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10617,6 +10788,7 @@ func awsAwsjson10_deserializeDocumentSignalCatalogSummary(v **types.SignalCatalo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10652,6 +10824,7 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu if err := awsAwsjson10_deserializeDocumentCanSignal(&sv.CanSignal, value); err != nil { return err } + case "fullyQualifiedName": if value != nil { jtv, ok := value.(string) @@ -10660,6 +10833,7 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.FullyQualifiedName = ptr.String(jtv) } + case "interfaceId": if value != nil { jtv, ok := value.(string) @@ -10668,14 +10842,17 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.InterfaceId = ptr.String(jtv) } + case "messageSignal": if err := awsAwsjson10_deserializeDocumentMessageSignal(&sv.MessageSignal, value); err != nil { return err } + case "obdSignal": if err := awsAwsjson10_deserializeDocumentObdSignal(&sv.ObdSignal, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10684,6 +10861,7 @@ func awsAwsjson10_deserializeDocumentSignalDecoder(v **types.SignalDecoder, valu } sv.Type = types.SignalDecoderType(jtv) } + default: _, _ = key, value @@ -10761,6 +10939,7 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.MaxSampleCount = ptr.Int64(i64) } + case "minimumSamplingIntervalMs": if value != nil { jtv, ok := value.(json.Number) @@ -10773,6 +10952,7 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.MinimumSamplingIntervalMs = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10781,6 +10961,7 @@ func awsAwsjson10_deserializeDocumentSignalInformation(v **types.SignalInformati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10940,6 +11121,7 @@ func awsAwsjson10_deserializeDocumentStructuredMessageFieldNameAndDataTypePair(v if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.DataType, value); err != nil { return err } + case "fieldName": if value != nil { jtv, ok := value.(string) @@ -10948,6 +11130,7 @@ func awsAwsjson10_deserializeDocumentStructuredMessageFieldNameAndDataTypePair(v } sv.FieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -10991,6 +11174,7 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.Capacity = int32(i64) } + case "listType": if value != nil { jtv, ok := value.(string) @@ -10999,10 +11183,12 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.ListType = types.StructuredMessageListType(jtv) } + case "memberType": if err := awsAwsjson10_deserializeDocumentStructuredMessage(&sv.MemberType, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11011,6 +11197,7 @@ func awsAwsjson10_deserializeDocumentStructuredMessageListDefinition(v **types.S } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11050,6 +11237,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11058,6 +11246,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11131,6 +11320,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11139,6 +11329,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11151,6 +11342,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11159,6 +11351,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11202,6 +11395,7 @@ func awsAwsjson10_deserializeDocumentTimeBasedCollectionScheme(v **types.TimeBas } sv.PeriodMs = ptr.Int64(i64) } + default: _, _ = key, value @@ -11241,6 +11435,7 @@ func awsAwsjson10_deserializeDocumentTimestreamConfig(v **types.TimestreamConfig } sv.ExecutionRoleArn = ptr.String(jtv) } + case "timestreamTableArn": if value != nil { jtv, ok := value.(string) @@ -11249,6 +11444,7 @@ func awsAwsjson10_deserializeDocumentTimestreamConfig(v **types.TimestreamConfig } sv.TimestreamTableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11288,6 +11484,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.ErrorMessage = ptr.String(jtv) } + case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -11296,6 +11493,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "timestreamDatabaseArn": if value != nil { jtv, ok := value.(string) @@ -11304,6 +11502,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamDatabaseArn = ptr.String(jtv) } + case "timestreamDatabaseName": if value != nil { jtv, ok := value.(string) @@ -11312,6 +11511,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamDatabaseName = ptr.String(jtv) } + case "timestreamTableArn": if value != nil { jtv, ok := value.(string) @@ -11320,6 +11520,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamTableArn = ptr.String(jtv) } + case "timestreamTableName": if value != nil { jtv, ok := value.(string) @@ -11328,6 +11529,7 @@ func awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(v **types.Ti } sv.TimestreamTableName = ptr.String(jtv) } + default: _, _ = key, value @@ -11367,6 +11569,7 @@ func awsAwsjson10_deserializeDocumentTimestreamResources(v **types.TimestreamRes } sv.TimestreamDatabaseName = ptr.String(jtv) } + case "timestreamTableName": if value != nil { jtv, ok := value.(string) @@ -11375,6 +11578,7 @@ func awsAwsjson10_deserializeDocumentTimestreamResources(v **types.TimestreamRes } sv.TimestreamTableName = ptr.String(jtv) } + default: _, _ = key, value @@ -11418,6 +11622,7 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.Code = int32(i64) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11426,6 +11631,7 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.Message = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11434,6 +11640,7 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleError(v **types.UpdateVehicleE } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -11507,6 +11714,7 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleResponseItem(v **types.UpdateV } sv.Arn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11515,6 +11723,7 @@ func awsAwsjson10_deserializeDocumentUpdateVehicleResponseItem(v **types.UpdateV } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -11584,6 +11793,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11592,6 +11802,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -11600,6 +11811,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -11639,6 +11851,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11647,6 +11860,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11720,6 +11934,7 @@ func awsAwsjson10_deserializeDocumentVehicleMiddleware(v **types.VehicleMiddlewa } sv.Name = ptr.String(jtv) } + case "protocolName": if value != nil { jtv, ok := value.(string) @@ -11728,6 +11943,7 @@ func awsAwsjson10_deserializeDocumentVehicleMiddleware(v **types.VehicleMiddlewa } sv.ProtocolName = types.VehicleMiddlewareProtocol(jtv) } + default: _, _ = key, value @@ -11803,6 +12019,7 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.CampaignName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11811,6 +12028,7 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.Status = types.VehicleState(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11819,6 +12037,7 @@ func awsAwsjson10_deserializeDocumentVehicleStatus(v **types.VehicleStatus, valu } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -11926,10 +12145,12 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.Arn = ptr.String(jtv) } + case "attributes": if err := awsAwsjson10_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11945,6 +12166,7 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } } + case "decoderManifestArn": if value != nil { jtv, ok := value.(string) @@ -11953,6 +12175,7 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.DecoderManifestArn = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11968,6 +12191,7 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } } + case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -11976,6 +12200,7 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.ModelManifestArn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -11984,6 +12209,7 @@ func awsAwsjson10_deserializeDocumentVehicleSummary(v **types.VehicleSummary, va } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -12050,10 +12276,12 @@ func awsAwsjson10_deserializeOpDocumentBatchCreateVehicleOutput(v **BatchCreateV if err := awsAwsjson10_deserializeDocumentCreateVehicleErrors(&sv.Errors, value); err != nil { return err } + case "vehicles": if err := awsAwsjson10_deserializeDocumentCreateVehicleResponses(&sv.Vehicles, value); err != nil { return err } + default: _, _ = key, value @@ -12089,10 +12317,12 @@ func awsAwsjson10_deserializeOpDocumentBatchUpdateVehicleOutput(v **BatchUpdateV if err := awsAwsjson10_deserializeDocumentUpdateVehicleErrors(&sv.Errors, value); err != nil { return err } + case "vehicles": if err := awsAwsjson10_deserializeDocumentUpdateVehicleResponseItems(&sv.Vehicles, value); err != nil { return err } + default: _, _ = key, value @@ -12132,6 +12362,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12140,6 +12371,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12179,6 +12411,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDecoderManifestOutput(v **CreateDec } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12187,6 +12420,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDecoderManifestOutput(v **CreateDec } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12226,6 +12460,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12234,6 +12469,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12273,6 +12509,7 @@ func awsAwsjson10_deserializeOpDocumentCreateModelManifestOutput(v **CreateModel } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12281,6 +12518,7 @@ func awsAwsjson10_deserializeOpDocumentCreateModelManifestOutput(v **CreateModel } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12320,6 +12558,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSignalCatalogOutput(v **CreateSigna } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12328,6 +12567,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSignalCatalogOutput(v **CreateSigna } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12367,6 +12607,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.Arn = ptr.String(jtv) } + case "thingArn": if value != nil { jtv, ok := value.(string) @@ -12375,6 +12616,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.ThingArn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -12383,6 +12625,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVehicleOutput(v **CreateVehicleOutp } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -12422,6 +12665,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12430,6 +12674,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12469,6 +12714,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDecoderManifestOutput(v **DeleteDec } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12477,6 +12723,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDecoderManifestOutput(v **DeleteDec } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12516,6 +12763,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFleetOutput(v **DeleteFleetOutput, } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12524,6 +12772,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFleetOutput(v **DeleteFleetOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12563,6 +12812,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteModelManifestOutput(v **DeleteModel } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12571,6 +12821,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteModelManifestOutput(v **DeleteModel } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12610,6 +12861,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteSignalCatalogOutput(v **DeleteSigna } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12618,6 +12870,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteSignalCatalogOutput(v **DeleteSigna } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12657,6 +12910,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVehicleOutput(v **DeleteVehicleOutp } sv.Arn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -12665,6 +12919,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVehicleOutput(v **DeleteVehicleOutp } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -12735,10 +12990,12 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Arn = ptr.String(jtv) } + case "collectionScheme": if err := awsAwsjson10_deserializeDocumentCollectionScheme(&sv.CollectionScheme, value); err != nil { return err } + case "compression": if value != nil { jtv, ok := value.(string) @@ -12747,6 +13004,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Compression = types.Compression(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12762,14 +13020,17 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } + case "dataDestinationConfigs": if err := awsAwsjson10_deserializeDocumentDataDestinationConfigs(&sv.DataDestinationConfigs, value); err != nil { return err } + case "dataExtraDimensions": if err := awsAwsjson10_deserializeDocumentDataExtraDimensionNodePathList(&sv.DataExtraDimensions, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12778,6 +13039,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Description = ptr.String(jtv) } + case "diagnosticsMode": if value != nil { jtv, ok := value.(string) @@ -12786,6 +13048,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.DiagnosticsMode = types.DiagnosticsMode(jtv) } + case "expiryTime": if value != nil { switch jtv := value.(type) { @@ -12801,6 +13064,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -12816,6 +13080,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12824,6 +13089,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Name = ptr.String(jtv) } + case "postTriggerCollectionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -12836,6 +13102,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.PostTriggerCollectionDuration = ptr.Int64(i64) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -12848,6 +13115,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Priority = ptr.Int32(int32(i64)) } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -12856,10 +13124,12 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.SignalCatalogArn = ptr.String(jtv) } + case "signalsToCollect": if err := awsAwsjson10_deserializeDocumentSignalInformationList(&sv.SignalsToCollect, value); err != nil { return err } + case "spoolingMode": if value != nil { jtv, ok := value.(string) @@ -12868,6 +13138,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.SpoolingMode = types.SpoolingMode(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -12883,6 +13154,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } } + case "status": if value != nil { jtv, ok := value.(string) @@ -12891,6 +13163,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.Status = types.CampaignStatus(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12899,6 +13172,7 @@ func awsAwsjson10_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12938,6 +13212,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12953,6 +13228,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } } + case "description": if value != nil { jtv, ok := value.(string) @@ -12961,6 +13237,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -12976,6 +13253,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } } + case "message": if value != nil { jtv, ok := value.(string) @@ -12984,6 +13262,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Message = ptr.String(jtv) } + case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -12992,6 +13271,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.ModelManifestArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13000,6 +13280,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13008,6 +13289,7 @@ func awsAwsjson10_deserializeOpDocumentGetDecoderManifestOutput(v **GetDecoderMa } sv.Status = types.ManifestStatus(jtv) } + default: _, _ = key, value @@ -13054,6 +13336,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } } + case "encryptionStatus": if value != nil { jtv, ok := value.(string) @@ -13062,6 +13345,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.EncryptionStatus = types.EncryptionStatus(jtv) } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -13070,6 +13354,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.EncryptionType = types.EncryptionType(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -13078,6 +13363,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.ErrorMessage = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -13086,6 +13372,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } sv.KmsKeyId = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13101,6 +13388,7 @@ func awsAwsjson10_deserializeOpDocumentGetEncryptionConfigurationOutput(v **GetE } } + default: _, _ = key, value @@ -13140,6 +13428,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13155,6 +13444,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13163,6 +13453,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13171,6 +13462,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.Id = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13186,6 +13478,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -13194,6 +13487,7 @@ func awsAwsjson10_deserializeOpDocumentGetFleetOutput(v **GetFleetOutput, value } sv.SignalCatalogArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13229,6 +13523,7 @@ func awsAwsjson10_deserializeOpDocumentGetLoggingOptionsOutput(v **GetLoggingOpt if err := awsAwsjson10_deserializeDocumentCloudWatchLogDeliveryOptions(&sv.CloudWatchLogDelivery, value); err != nil { return err } + default: _, _ = key, value @@ -13268,6 +13563,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13283,6 +13579,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13291,6 +13588,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13306,6 +13604,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13613,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Name = ptr.String(jtv) } + case "signalCatalogArn": if value != nil { jtv, ok := value.(string) @@ -13322,6 +13622,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.SignalCatalogArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13330,6 +13631,7 @@ func awsAwsjson10_deserializeOpDocumentGetModelManifestOutput(v **GetModelManife } sv.Status = types.ManifestStatus(jtv) } + default: _, _ = key, value @@ -13369,6 +13671,7 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } sv.AccountStatus = types.RegistrationStatus(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13384,6 +13687,7 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } } + case "customerAccountId": if value != nil { jtv, ok := value.(string) @@ -13392,10 +13696,12 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } sv.CustomerAccountId = ptr.String(jtv) } + case "iamRegistrationResponse": if err := awsAwsjson10_deserializeDocumentIamRegistrationResponse(&sv.IamRegistrationResponse, value); err != nil { return err } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13411,10 +13717,12 @@ func awsAwsjson10_deserializeOpDocumentGetRegisterAccountStatusOutput(v **GetReg } } + case "timestreamRegistrationResponse": if err := awsAwsjson10_deserializeDocumentTimestreamRegistrationResponse(&sv.TimestreamRegistrationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13454,6 +13762,7 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13469,6 +13778,7 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13477,6 +13787,7 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Description = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13492,6 +13803,7 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13500,10 +13812,12 @@ func awsAwsjson10_deserializeOpDocumentGetSignalCatalogOutput(v **GetSignalCatal } sv.Name = ptr.String(jtv) } + case "nodeCounts": if err := awsAwsjson10_deserializeDocumentNodeCounts(&sv.NodeCounts, value); err != nil { return err } + default: _, _ = key, value @@ -13543,10 +13857,12 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.Arn = ptr.String(jtv) } + case "attributes": if err := awsAwsjson10_deserializeDocumentAttributesMap(&sv.Attributes, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13562,6 +13878,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } } + case "decoderManifestArn": if value != nil { jtv, ok := value.(string) @@ -13570,6 +13887,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.DecoderManifestArn = ptr.String(jtv) } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -13585,6 +13903,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } } + case "modelManifestArn": if value != nil { jtv, ok := value.(string) @@ -13593,6 +13912,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.ModelManifestArn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -13601,6 +13921,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleOutput(v **GetVehicleOutput, va } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value @@ -13636,6 +13957,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleStatusOutput(v **GetVehicleStat if err := awsAwsjson10_deserializeDocumentVehicleStatusList(&sv.Campaigns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13644,6 +13966,7 @@ func awsAwsjson10_deserializeOpDocumentGetVehicleStatusOutput(v **GetVehicleStat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13683,6 +14006,7 @@ func awsAwsjson10_deserializeOpDocumentImportDecoderManifestOutput(v **ImportDec } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13691,6 +14015,7 @@ func awsAwsjson10_deserializeOpDocumentImportDecoderManifestOutput(v **ImportDec } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13730,6 +14055,7 @@ func awsAwsjson10_deserializeOpDocumentImportSignalCatalogOutput(v **ImportSigna } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13738,6 +14064,7 @@ func awsAwsjson10_deserializeOpDocumentImportSignalCatalogOutput(v **ImportSigna } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13773,6 +14100,7 @@ func awsAwsjson10_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsAwsjson10_deserializeDocumentCampaignSummaries(&sv.CampaignSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13781,6 +14109,7 @@ func awsAwsjson10_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13816,6 +14145,7 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestNetworkInterfacesOutpu if err := awsAwsjson10_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13824,6 +14154,7 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestNetworkInterfacesOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13863,10 +14194,12 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestSignalsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "signalDecoders": if err := awsAwsjson10_deserializeDocumentSignalDecoders(&sv.SignalDecoders, value); err != nil { return err } + default: _, _ = key, value @@ -13906,10 +14239,12 @@ func awsAwsjson10_deserializeOpDocumentListDecoderManifestsOutput(v **ListDecode } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson10_deserializeDocumentDecoderManifestSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -13945,6 +14280,7 @@ func awsAwsjson10_deserializeOpDocumentListFleetsForVehicleOutput(v **ListFleets if err := awsAwsjson10_deserializeDocumentFleets(&sv.Fleets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13953,6 +14289,7 @@ func awsAwsjson10_deserializeOpDocumentListFleetsForVehicleOutput(v **ListFleets } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13988,6 +14325,7 @@ func awsAwsjson10_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsAwsjson10_deserializeDocumentFleetSummaries(&sv.FleetSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13996,6 +14334,7 @@ func awsAwsjson10_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14035,10 +14374,12 @@ func awsAwsjson10_deserializeOpDocumentListModelManifestNodesOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } + case "nodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -14078,10 +14419,12 @@ func awsAwsjson10_deserializeOpDocumentListModelManifestsOutput(v **ListModelMan } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson10_deserializeDocumentModelManifestSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -14121,10 +14464,12 @@ func awsAwsjson10_deserializeOpDocumentListSignalCatalogNodesOutput(v **ListSign } sv.NextToken = ptr.String(jtv) } + case "nodes": if err := awsAwsjson10_deserializeDocumentNodes(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -14164,10 +14509,12 @@ func awsAwsjson10_deserializeOpDocumentListSignalCatalogsOutput(v **ListSignalCa } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson10_deserializeDocumentSignalCatalogSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -14203,6 +14550,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14242,10 +14590,12 @@ func awsAwsjson10_deserializeOpDocumentListVehiclesInFleetOutput(v **ListVehicle } sv.NextToken = ptr.String(jtv) } + case "vehicles": if err := awsAwsjson10_deserializeDocumentVehicles(&sv.Vehicles, value); err != nil { return err } + default: _, _ = key, value @@ -14285,10 +14635,12 @@ func awsAwsjson10_deserializeOpDocumentListVehiclesOutput(v **ListVehiclesOutput } sv.NextToken = ptr.String(jtv) } + case "vehicleSummaries": if err := awsAwsjson10_deserializeDocumentVehicleSummaries(&sv.VehicleSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -14328,6 +14680,7 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.EncryptionStatus = types.EncryptionStatus(jtv) } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -14336,6 +14689,7 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -14344,6 +14698,7 @@ func awsAwsjson10_deserializeOpDocumentPutEncryptionConfigurationOutput(v **PutE } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -14421,10 +14776,12 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } } + case "iamResources": if err := awsAwsjson10_deserializeDocumentIamResources(&sv.IamResources, value); err != nil { return err } + case "lastModificationTime": if value != nil { switch jtv := value.(type) { @@ -14440,6 +14797,7 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } } + case "registerAccountStatus": if value != nil { jtv, ok := value.(string) @@ -14448,10 +14806,12 @@ func awsAwsjson10_deserializeOpDocumentRegisterAccountOutput(v **RegisterAccount } sv.RegisterAccountStatus = types.RegistrationStatus(jtv) } + case "timestreamResources": if err := awsAwsjson10_deserializeDocumentTimestreamResources(&sv.TimestreamResources, value); err != nil { return err } + default: _, _ = key, value @@ -14553,6 +14913,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14561,6 +14922,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14569,6 +14931,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.Status = types.CampaignStatus(jtv) } + default: _, _ = key, value @@ -14608,6 +14971,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDecoderManifestOutput(v **UpdateDec } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14616,6 +14980,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDecoderManifestOutput(v **UpdateDec } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14655,6 +15020,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14663,6 +15029,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFleetOutput(v **UpdateFleetOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -14702,6 +15069,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateModelManifestOutput(v **UpdateModel } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14710,6 +15078,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateModelManifestOutput(v **UpdateModel } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14749,6 +15118,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSignalCatalogOutput(v **UpdateSigna } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14757,6 +15127,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSignalCatalogOutput(v **UpdateSigna } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14796,6 +15167,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateVehicleOutput(v **UpdateVehicleOutp } sv.Arn = ptr.String(jtv) } + case "vehicleName": if value != nil { jtv, ok := value.(string) @@ -14804,6 +15176,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateVehicleOutput(v **UpdateVehicleOutp } sv.VehicleName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotjobsdataplane/deserializers.go b/service/iotjobsdataplane/deserializers.go index a31d0042b9e..2c9045de8a2 100644 --- a/service/iotjobsdataplane/deserializers.go +++ b/service/iotjobsdataplane/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobExecutionOutput(v **DescribeJo if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } + default: _, _ = key, value @@ -350,10 +351,12 @@ func awsRestjson1_deserializeOpDocumentGetPendingJobExecutionsOutput(v **GetPend if err := awsRestjson1_deserializeDocumentJobExecutionSummaryList(&sv.InProgressJobs, value); err != nil { return err } + case "queuedJobs": if err := awsRestjson1_deserializeDocumentJobExecutionSummaryList(&sv.QueuedJobs, value); err != nil { return err } + default: _, _ = key, value @@ -517,6 +520,7 @@ func awsRestjson1_deserializeOpDocumentStartNextPendingJobExecutionOutput(v **St if err := awsRestjson1_deserializeDocumentJobExecution(&sv.Execution, value); err != nil { return err } + default: _, _ = key, value @@ -683,6 +687,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJobExecutionOutput(v **UpdateJobExe if err := awsRestjson1_deserializeDocumentJobExecutionState(&sv.ExecutionState, value); err != nil { return err } + case "jobDocument": if value != nil { jtv, ok := value.(string) @@ -691,6 +696,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJobExecutionOutput(v **UpdateJobExe } sv.JobDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -982,6 +988,7 @@ func awsRestjson1_deserializeDocumentCertificateValidationException(v **types.Ce } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1057,6 +1064,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1096,6 +1104,7 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1139,6 +1148,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ApproximateSecondsBeforeTimedOut = ptr.Int64(i64) } + case "executionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1151,6 +1161,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ExecutionNumber = ptr.Int64(i64) } + case "jobDocument": if value != nil { jtv, ok := value.(string) @@ -1159,6 +1170,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobDocument = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1167,6 +1179,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.JobId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1179,6 +1192,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.LastUpdatedAt = i64 } + case "queuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1191,6 +1205,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.QueuedAt = i64 } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1203,6 +1218,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.StartedAt = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1211,10 +1227,12 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.Status = types.JobExecutionStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.StatusDetails, value); err != nil { return err } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -1223,6 +1241,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.ThingName = ptr.String(jtv) } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1235,6 +1254,7 @@ func awsRestjson1_deserializeDocumentJobExecution(v **types.JobExecution, value } sv.VersionNumber = i64 } + default: _, _ = key, value @@ -1274,10 +1294,12 @@ func awsRestjson1_deserializeDocumentJobExecutionState(v **types.JobExecutionSta } sv.Status = types.JobExecutionStatus(jtv) } + case "statusDetails": if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.StatusDetails, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1290,6 +1312,7 @@ func awsRestjson1_deserializeDocumentJobExecutionState(v **types.JobExecutionSta } sv.VersionNumber = i64 } + default: _, _ = key, value @@ -1333,6 +1356,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.ExecutionNumber = ptr.Int64(i64) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1341,6 +1365,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.JobId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1353,6 +1378,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.LastUpdatedAt = i64 } + case "queuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1365,6 +1391,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.QueuedAt = i64 } + case "startedAt": if value != nil { jtv, ok := value.(json.Number) @@ -1377,6 +1404,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.StartedAt = ptr.Int64(i64) } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -1389,6 +1417,7 @@ func awsRestjson1_deserializeDocumentJobExecutionSummary(v **types.JobExecutionS } sv.VersionNumber = i64 } + default: _, _ = key, value @@ -1462,6 +1491,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1501,6 +1531,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1540,6 +1571,7 @@ func awsRestjson1_deserializeDocumentTerminalStateException(v **types.TerminalSt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1579,6 +1611,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "payload": if value != nil { jtv, ok := value.(string) @@ -1591,6 +1624,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Payload = dv } + default: _, _ = key, value diff --git a/service/iotsecuretunneling/deserializers.go b/service/iotsecuretunneling/deserializers.go index 0a88d3fd8d5..2e17ef3f43d 100644 --- a/service/iotsecuretunneling/deserializers.go +++ b/service/iotsecuretunneling/deserializers.go @@ -1021,6 +1021,7 @@ func awsAwsjson11_deserializeDocumentConnectionState(v **types.ConnectionState, } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1029,6 +1030,7 @@ func awsAwsjson11_deserializeDocumentConnectionState(v **types.ConnectionState, } sv.Status = types.ConnectionStatus(jtv) } + default: _, _ = key, value @@ -1064,6 +1066,7 @@ func awsAwsjson11_deserializeDocumentDestinationConfig(v **types.DestinationConf if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -1072,6 +1075,7 @@ func awsAwsjson11_deserializeDocumentDestinationConfig(v **types.DestinationConf } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -1111,6 +1115,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1150,6 +1155,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1225,6 +1231,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -1233,6 +1240,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1310,6 +1318,7 @@ func awsAwsjson11_deserializeDocumentTimeoutConfig(v **types.TimeoutConfig, valu } sv.MaxLifetimeTimeoutMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1356,6 +1365,7 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1364,14 +1374,17 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.Description = ptr.String(jtv) } + case "destinationConfig": if err := awsAwsjson11_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "destinationConnectionState": if err := awsAwsjson11_deserializeDocumentConnectionState(&sv.DestinationConnectionState, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1387,10 +1400,12 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } } + case "sourceConnectionState": if err := awsAwsjson11_deserializeDocumentConnectionState(&sv.SourceConnectionState, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1399,14 +1414,17 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.Status = types.TunnelStatus(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "timeoutConfig": if err := awsAwsjson11_deserializeDocumentTimeoutConfig(&sv.TimeoutConfig, value); err != nil { return err } + case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1415,6 +1433,7 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.TunnelArn = ptr.String(jtv) } + case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1423,6 +1442,7 @@ func awsAwsjson11_deserializeDocumentTunnel(v **types.Tunnel, value interface{}) } sv.TunnelId = ptr.String(jtv) } + default: _, _ = key, value @@ -1469,6 +1489,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1498,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.Description = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1492,6 +1514,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1500,6 +1523,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.Status = types.TunnelStatus(jtv) } + case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1508,6 +1532,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.TunnelArn = ptr.String(jtv) } + case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1516,6 +1541,7 @@ func awsAwsjson11_deserializeDocumentTunnelSummary(v **types.TunnelSummary, valu } sv.TunnelId = ptr.String(jtv) } + default: _, _ = key, value @@ -1616,6 +1642,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTunnelOutput(v **DescribeTunnelOu if err := awsAwsjson11_deserializeDocumentTunnel(&sv.Tunnel, value); err != nil { return err } + default: _, _ = key, value @@ -1651,6 +1678,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1690,10 +1718,12 @@ func awsAwsjson11_deserializeOpDocumentListTunnelsOutput(v **ListTunnelsOutput, } sv.NextToken = ptr.String(jtv) } + case "tunnelSummaries": if err := awsAwsjson11_deserializeDocumentTunnelSummaryList(&sv.TunnelSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1733,6 +1763,7 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.DestinationAccessToken = ptr.String(jtv) } + case "sourceAccessToken": if value != nil { jtv, ok := value.(string) @@ -1741,6 +1772,7 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.SourceAccessToken = ptr.String(jtv) } + case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1749,6 +1781,7 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.TunnelArn = ptr.String(jtv) } + case "tunnelId": if value != nil { jtv, ok := value.(string) @@ -1757,6 +1790,7 @@ func awsAwsjson11_deserializeOpDocumentOpenTunnelOutput(v **OpenTunnelOutput, va } sv.TunnelId = ptr.String(jtv) } + default: _, _ = key, value @@ -1796,6 +1830,7 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.DestinationAccessToken = ptr.String(jtv) } + case "sourceAccessToken": if value != nil { jtv, ok := value.(string) @@ -1804,6 +1839,7 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.SourceAccessToken = ptr.String(jtv) } + case "tunnelArn": if value != nil { jtv, ok := value.(string) @@ -1812,6 +1848,7 @@ func awsAwsjson11_deserializeOpDocumentRotateTunnelAccessTokenOutput(v **RotateT } sv.TunnelArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotsitewise/deserializers.go b/service/iotsitewise/deserializers.go index 6f4a24a3960..733c1aa7f50 100644 --- a/service/iotsitewise/deserializers.go +++ b/service/iotsitewise/deserializers.go @@ -403,6 +403,7 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateProjectAssetsOutput(v **Bat if err := awsRestjson1_deserializeDocumentBatchAssociateProjectAssetsErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -563,6 +564,7 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateProjectAssetsOutput(v ** if err := awsRestjson1_deserializeDocumentBatchDisassociateProjectAssetsErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -723,6 +725,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyAggregatesOutput(v * if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -731,14 +734,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyAggregatesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntries(&sv.SkippedEntries, value); err != nil { return err } + case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntries(&sv.SuccessEntries, value); err != nil { return err } + default: _, _ = key, value @@ -899,6 +905,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -907,14 +914,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueOutput(v **Batc } sv.NextToken = ptr.String(jtv) } + case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntries(&sv.SkippedEntries, value); err != nil { return err } + case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntries(&sv.SuccessEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1075,6 +1085,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueHistoryOutput(v if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1083,14 +1094,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetAssetPropertyValueHistoryOutput(v } sv.NextToken = ptr.String(jtv) } + case "skippedEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEntries(&sv.SkippedEntries, value); err != nil { return err } + case "successEntries": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEntries(&sv.SuccessEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1260,6 +1274,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutAssetPropertyValueOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -1427,6 +1442,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess } sv.AccessPolicyArn = ptr.String(jtv) } + case "accessPolicyId": if value != nil { jtv, ok := value.(string) @@ -1435,6 +1451,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess } sv.AccessPolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -1608,6 +1625,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.AssetArn = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -1616,10 +1634,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.AssetId = ptr.String(jtv) } + case "assetStatus": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1793,6 +1813,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelOutput(v **CreateAssetMod } sv.AssetModelArn = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -1801,10 +1822,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelOutput(v **CreateAssetMod } sv.AssetModelId = ptr.String(jtv) } + case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1981,14 +2004,17 @@ func awsRestjson1_deserializeOpDocumentCreateAssetModelCompositeModelOutput(v ** } sv.AssetModelCompositeModelId = ptr.String(jtv) } + case "assetModelCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } + case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -2162,6 +2188,7 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -2170,6 +2197,7 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobName = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2178,6 +2206,7 @@ func awsRestjson1_deserializeOpDocumentCreateBulkImportJobOutput(v **CreateBulkI } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -2345,6 +2374,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardArn = ptr.String(jtv) } + case "dashboardId": if value != nil { jtv, ok := value.(string) @@ -2353,6 +2383,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardId = ptr.String(jtv) } + default: _, _ = key, value @@ -2520,6 +2551,7 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayArn = ptr.String(jtv) } + case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2560,7 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp } sv.GatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -2695,6 +2728,7 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalArn = ptr.String(jtv) } + case "portalId": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2737,7 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalId = ptr.String(jtv) } + case "portalStartUrl": if value != nil { jtv, ok := value.(string) @@ -2711,10 +2746,12 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalStartUrl = ptr.String(jtv) } + case "portalStatus": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } + case "ssoApplicationId": if value != nil { jtv, ok := value.(string) @@ -2723,6 +2760,7 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.SsoApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -2890,6 +2928,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -2898,6 +2937,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -3158,6 +3198,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetOutput(v **DeleteAssetOutput, if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3324,6 +3365,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetModelOutput(v **DeleteAssetMod if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3490,6 +3532,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAssetModelCompositeModelOutput(v ** if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3856,6 +3899,7 @@ func awsRestjson1_deserializeOpDocumentDeletePortalOutput(v **DeletePortalOutput if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } + default: _, _ = key, value @@ -4223,6 +4267,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyArn = ptr.String(jtv) } + case "accessPolicyCreationDate": if value != nil { switch jtv := value.(type) { @@ -4238,6 +4283,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } } + case "accessPolicyId": if value != nil { jtv, ok := value.(string) @@ -4246,10 +4292,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyId = ptr.String(jtv) } + case "accessPolicyIdentity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.AccessPolicyIdentity, value); err != nil { return err } + case "accessPolicyLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -4265,6 +4313,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } } + case "accessPolicyPermission": if value != nil { jtv, ok := value.(string) @@ -4273,10 +4322,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAccessPolicyOutput(v **DescribeAc } sv.AccessPolicyPermission = types.Permission(jtv) } + case "accessPolicyResource": if err := awsRestjson1_deserializeDocumentResource(&sv.AccessPolicyResource, value); err != nil { return err } + default: _, _ = key, value @@ -4441,6 +4492,7 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionDefinitionId = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -4449,10 +4501,12 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionId = ptr.String(jtv) } + case "actionPayload": if err := awsRestjson1_deserializeDocumentActionPayload(&sv.ActionPayload, value); err != nil { return err } + case "executionTime": if value != nil { switch jtv := value.(type) { @@ -4468,10 +4522,12 @@ func awsRestjson1_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } + case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } + default: _, _ = key, value @@ -4636,14 +4692,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetArn = ptr.String(jtv) } + case "assetCompositeModels": if err := awsRestjson1_deserializeDocumentAssetCompositeModels(&sv.AssetCompositeModels, value); err != nil { return err } + case "assetCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetCompositeModelSummaries(&sv.AssetCompositeModelSummaries, value); err != nil { return err } + case "assetCreationDate": if value != nil { switch jtv := value.(type) { @@ -4659,6 +4718,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } } + case "assetDescription": if value != nil { jtv, ok := value.(string) @@ -4667,6 +4727,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetDescription = ptr.String(jtv) } + case "assetExternalId": if value != nil { jtv, ok := value.(string) @@ -4675,10 +4736,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetExternalId = ptr.String(jtv) } + case "assetHierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.AssetHierarchies, value); err != nil { return err } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -4687,6 +4750,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetId = ptr.String(jtv) } + case "assetLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -4702,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -4710,6 +4775,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetModelId = ptr.String(jtv) } + case "assetName": if value != nil { jtv, ok := value.(string) @@ -4718,14 +4784,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.AssetName = ptr.String(jtv) } + case "assetProperties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.AssetProperties, value); err != nil { return err } + case "assetStatus": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } + default: _, _ = key, value @@ -4886,6 +4955,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des if err := awsRestjson1_deserializeDocumentActionDefinitions(&sv.ActionDefinitions, value); err != nil { return err } + case "assetCompositeModelDescription": if value != nil { jtv, ok := value.(string) @@ -4894,6 +4964,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelDescription = ptr.String(jtv) } + case "assetCompositeModelExternalId": if value != nil { jtv, ok := value.(string) @@ -4902,6 +4973,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelExternalId = ptr.String(jtv) } + case "assetCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -4910,6 +4982,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelId = ptr.String(jtv) } + case "assetCompositeModelName": if value != nil { jtv, ok := value.(string) @@ -4918,18 +4991,22 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelName = ptr.String(jtv) } + case "assetCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetCompositeModelPath(&sv.AssetCompositeModelPath, value); err != nil { return err } + case "assetCompositeModelProperties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.AssetCompositeModelProperties, value); err != nil { return err } + case "assetCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetCompositeModelSummaries(&sv.AssetCompositeModelSummaries, value); err != nil { return err } + case "assetCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -4938,6 +5015,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetCompositeModelType = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -4946,6 +5024,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetCompositeModelOutput(v **Des } sv.AssetId = ptr.String(jtv) } + default: _, _ = key, value @@ -5127,14 +5206,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelArn = ptr.String(jtv) } + case "assetModelCompositeModels": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModels(&sv.AssetModelCompositeModels, value); err != nil { return err } + case "assetModelCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } + case "assetModelCreationDate": if value != nil { switch jtv := value.(type) { @@ -5150,6 +5232,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } } + case "assetModelDescription": if value != nil { jtv, ok := value.(string) @@ -5158,6 +5241,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelDescription = ptr.String(jtv) } + case "assetModelExternalId": if value != nil { jtv, ok := value.(string) @@ -5166,10 +5250,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelExternalId = ptr.String(jtv) } + case "assetModelHierarchies": if err := awsRestjson1_deserializeDocumentAssetModelHierarchies(&sv.AssetModelHierarchies, value); err != nil { return err } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5264,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelId = ptr.String(jtv) } + case "assetModelLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -5193,6 +5280,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } } + case "assetModelName": if value != nil { jtv, ok := value.(string) @@ -5201,14 +5289,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelName = ptr.String(jtv) } + case "assetModelProperties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.AssetModelProperties, value); err != nil { return err } + case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + case "assetModelType": if value != nil { jtv, ok := value.(string) @@ -5217,6 +5308,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelType = types.AssetModelType(jtv) } + case "assetModelVersion": if value != nil { jtv, ok := value.(string) @@ -5225,6 +5317,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelOutput(v **DescribeAsse } sv.AssetModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -5385,6 +5478,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v if err := awsRestjson1_deserializeDocumentActionDefinitions(&sv.ActionDefinitions, value); err != nil { return err } + case "assetModelCompositeModelDescription": if value != nil { jtv, ok := value.(string) @@ -5393,6 +5487,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelDescription = ptr.String(jtv) } + case "assetModelCompositeModelExternalId": if value != nil { jtv, ok := value.(string) @@ -5401,6 +5496,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelExternalId = ptr.String(jtv) } + case "assetModelCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -5409,6 +5505,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelId = ptr.String(jtv) } + case "assetModelCompositeModelName": if value != nil { jtv, ok := value.(string) @@ -5417,18 +5514,22 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelName = ptr.String(jtv) } + case "assetModelCompositeModelPath": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } + case "assetModelCompositeModelProperties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.AssetModelCompositeModelProperties, value); err != nil { return err } + case "assetModelCompositeModelSummaries": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } + case "assetModelCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -5437,6 +5538,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelCompositeModelType = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5445,10 +5547,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetModelCompositeModelOutput(v } sv.AssetModelId = ptr.String(jtv) } + case "compositionDetails": if err := awsRestjson1_deserializeDocumentCompositionDetails(&sv.CompositionDetails, value); err != nil { return err } + default: _, _ = key, value @@ -5613,6 +5717,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetExternalId = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5726,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetId = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5735,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetModelId = ptr.String(jtv) } + case "assetName": if value != nil { jtv, ok := value.(string) @@ -5637,14 +5744,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetPropertyOutput(v **DescribeA } sv.AssetName = ptr.String(jtv) } + case "assetProperty": if err := awsRestjson1_deserializeDocumentProperty(&sv.AssetProperty, value); err != nil { return err } + case "compositeModel": if err := awsRestjson1_deserializeDocumentCompositeModelProperty(&sv.CompositeModel, value); err != nil { return err } + default: _, _ = key, value @@ -5809,6 +5919,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.AdaptiveIngestion = ptr.Bool(jtv) } + case "deleteFilesAfterImport": if value != nil { jtv, ok := value.(bool) @@ -5817,18 +5928,22 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.DeleteFilesAfterImport = ptr.Bool(jtv) } + case "errorReportLocation": if err := awsRestjson1_deserializeDocumentErrorReportLocation(&sv.ErrorReportLocation, value); err != nil { return err } + case "files": if err := awsRestjson1_deserializeDocumentFiles(&sv.Files, value); err != nil { return err } + case "jobConfiguration": if err := awsRestjson1_deserializeDocumentJobConfiguration(&sv.JobConfiguration, value); err != nil { return err } + case "jobCreationDate": if value != nil { switch jtv := value.(type) { @@ -5844,6 +5959,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -5852,6 +5968,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobId = ptr.String(jtv) } + case "jobLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -5867,6 +5984,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -5875,6 +5993,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobName = ptr.String(jtv) } + case "jobRoleArn": if value != nil { jtv, ok := value.(string) @@ -5883,6 +6002,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobRoleArn = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -5891,6 +6011,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBulkImportJobOutput(v **DescribeB } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -6055,6 +6176,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardArn = ptr.String(jtv) } + case "dashboardCreationDate": if value != nil { switch jtv := value.(type) { @@ -6070,6 +6192,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } } + case "dashboardDefinition": if value != nil { jtv, ok := value.(string) @@ -6078,6 +6201,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardDefinition = ptr.String(jtv) } + case "dashboardDescription": if value != nil { jtv, ok := value.(string) @@ -6086,6 +6210,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardDescription = ptr.String(jtv) } + case "dashboardId": if value != nil { jtv, ok := value.(string) @@ -6094,6 +6219,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardId = ptr.String(jtv) } + case "dashboardLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -6109,6 +6235,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } } + case "dashboardName": if value != nil { jtv, ok := value.(string) @@ -6117,6 +6244,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.DashboardName = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -6125,6 +6253,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.ProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -6282,6 +6411,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -6290,6 +6420,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -6298,6 +6429,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDefaultEncryptionConfigurationOut } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6469,6 +6601,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } } + case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -6477,10 +6610,12 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayArn = ptr.String(jtv) } + case "gatewayCapabilitySummaries": if err := awsRestjson1_deserializeDocumentGatewayCapabilitySummaries(&sv.GatewayCapabilitySummaries, value); err != nil { return err } + case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -6489,6 +6624,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayId = ptr.String(jtv) } + case "gatewayName": if value != nil { jtv, ok := value.(string) @@ -6497,10 +6633,12 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } sv.GatewayName = ptr.String(jtv) } + case "gatewayPlatform": if err := awsRestjson1_deserializeDocumentGatewayPlatform(&sv.GatewayPlatform, value); err != nil { return err } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -6516,6 +6654,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway } } + default: _, _ = key, value @@ -6680,6 +6819,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilityConfiguration = ptr.String(jtv) } + case "capabilityNamespace": if value != nil { jtv, ok := value.(string) @@ -6688,6 +6828,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilityNamespace = ptr.String(jtv) } + case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -6696,6 +6837,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } + case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -6704,6 +6846,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayCapabilityConfigurationOut } sv.GatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -6864,6 +7007,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLoggingOptionsOutput(v **Describe if err := awsRestjson1_deserializeDocumentLoggingOptions(&sv.LoggingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -7024,6 +7168,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu if err := awsRestjson1_deserializeDocumentAlarms(&sv.Alarms, value); err != nil { return err } + case "notificationSenderEmail": if value != nil { jtv, ok := value.(string) @@ -7032,6 +7177,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.NotificationSenderEmail = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -7040,6 +7186,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalArn = ptr.String(jtv) } + case "portalAuthMode": if value != nil { jtv, ok := value.(string) @@ -7048,6 +7195,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalAuthMode = types.AuthMode(jtv) } + case "portalClientId": if value != nil { jtv, ok := value.(string) @@ -7056,6 +7204,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalClientId = ptr.String(jtv) } + case "portalContactEmail": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7213,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalContactEmail = ptr.String(jtv) } + case "portalCreationDate": if value != nil { switch jtv := value.(type) { @@ -7079,6 +7229,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } } + case "portalDescription": if value != nil { jtv, ok := value.(string) @@ -7087,6 +7238,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalDescription = ptr.String(jtv) } + case "portalId": if value != nil { jtv, ok := value.(string) @@ -7095,6 +7247,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalId = ptr.String(jtv) } + case "portalLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7110,10 +7263,12 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } } + case "portalLogoImageLocation": if err := awsRestjson1_deserializeDocumentImageLocation(&sv.PortalLogoImageLocation, value); err != nil { return err } + case "portalName": if value != nil { jtv, ok := value.(string) @@ -7122,6 +7277,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalName = ptr.String(jtv) } + case "portalStartUrl": if value != nil { jtv, ok := value.(string) @@ -7130,10 +7286,12 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.PortalStartUrl = ptr.String(jtv) } + case "portalStatus": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7142,6 +7300,7 @@ func awsRestjson1_deserializeOpDocumentDescribePortalOutput(v **DescribePortalOu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7306,6 +7465,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.PortalId = ptr.String(jtv) } + case "projectArn": if value != nil { jtv, ok := value.(string) @@ -7314,6 +7474,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectArn = ptr.String(jtv) } + case "projectCreationDate": if value != nil { switch jtv := value.(type) { @@ -7329,6 +7490,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "projectDescription": if value != nil { jtv, ok := value.(string) @@ -7337,6 +7499,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectDescription = ptr.String(jtv) } + case "projectId": if value != nil { jtv, ok := value.(string) @@ -7345,6 +7508,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectId = ptr.String(jtv) } + case "projectLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7360,6 +7524,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -7368,6 +7533,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectName = ptr.String(jtv) } + default: _, _ = key, value @@ -7534,6 +7700,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } + case "disassociatedDataStorage": if value != nil { jtv, ok := value.(string) @@ -7542,6 +7709,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.DisassociatedDataStorage = types.DisassociatedDataStorageState(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7557,14 +7725,17 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } } + case "multiLayerStorage": if err := awsRestjson1_deserializeDocumentMultiLayerStorage(&sv.MultiLayerStorage, value); err != nil { return err } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -7573,6 +7744,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.StorageType = types.StorageType(jtv) } + case "warmTier": if value != nil { jtv, ok := value.(string) @@ -7581,10 +7753,12 @@ func awsRestjson1_deserializeOpDocumentDescribeStorageConfigurationOutput(v **De } sv.WarmTier = types.WarmTierState(jtv) } + case "warmTierRetentionPeriod": if err := awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(&sv.WarmTierRetentionPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -7749,6 +7923,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.Alias = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -7757,6 +7932,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.AssetId = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -7765,6 +7941,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.DataType = types.PropertyDataType(jtv) } + case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -7773,6 +7950,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.DataTypeSpec = ptr.String(jtv) } + case "propertyId": if value != nil { jtv, ok := value.(string) @@ -7781,6 +7959,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.PropertyId = ptr.String(jtv) } + case "timeSeriesArn": if value != nil { jtv, ok := value.(string) @@ -7789,6 +7968,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.TimeSeriesArn = ptr.String(jtv) } + case "timeSeriesCreationDate": if value != nil { switch jtv := value.(type) { @@ -7804,6 +7984,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } } + case "timeSeriesId": if value != nil { jtv, ok := value.(string) @@ -7812,6 +7993,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } sv.TimeSeriesId = ptr.String(jtv) } + case "timeSeriesLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -7827,6 +8009,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTimeSeriesOutput(v **DescribeTime } } + default: _, _ = key, value @@ -8209,6 +8392,7 @@ func awsRestjson1_deserializeOpDocumentExecuteActionOutput(v **ExecuteActionOutp } sv.ActionId = ptr.String(jtv) } + default: _, _ = key, value @@ -8378,6 +8562,7 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput if err := awsRestjson1_deserializeDocumentColumnsList(&sv.Columns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8386,10 +8571,12 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput } sv.NextToken = ptr.String(jtv) } + case "rows": if err := awsRestjson1_deserializeDocumentRows(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -8553,6 +8740,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyAggregatesOutput(v **GetA if err := awsRestjson1_deserializeDocumentAggregatedValues(&sv.AggregatedValues, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8561,6 +8749,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyAggregatesOutput(v **GetA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8724,6 +8913,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueOutput(v **GetAssetP if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.PropertyValue, value); err != nil { return err } + default: _, _ = key, value @@ -8887,6 +9077,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueHistoryOutput(v **Ge if err := awsRestjson1_deserializeDocumentAssetPropertyValueHistory(&sv.AssetPropertyValueHistory, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8895,6 +9086,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetPropertyValueHistoryOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9058,6 +9250,7 @@ func awsRestjson1_deserializeOpDocumentGetInterpolatedAssetPropertyValuesOutput( if err := awsRestjson1_deserializeDocumentInterpolatedAssetPropertyValues(&sv.InterpolatedAssetPropertyValues, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9066,6 +9259,7 @@ func awsRestjson1_deserializeOpDocumentGetInterpolatedAssetPropertyValuesOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9223,6 +9417,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsRestjson1_deserializeDocumentAccessPolicySummaries(&sv.AccessPolicySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9231,6 +9426,7 @@ func awsRestjson1_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9391,6 +9587,7 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsRestjson1_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9399,6 +9596,7 @@ func awsRestjson1_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9559,6 +9757,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelCompositeModelsOutput(v **L if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelSummaries(&sv.AssetModelCompositeModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9567,6 +9766,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelCompositeModelsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9727,6 +9927,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelPropertiesOutput(v **ListAs if err := awsRestjson1_deserializeDocumentAssetModelPropertySummaries(&sv.AssetModelPropertySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9735,6 +9936,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelPropertiesOutput(v **ListAs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9892,6 +10094,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelsOutput(v **ListAssetModels if err := awsRestjson1_deserializeDocumentAssetModelSummaries(&sv.AssetModelSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9900,6 +10103,7 @@ func awsRestjson1_deserializeOpDocumentListAssetModelsOutput(v **ListAssetModels } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10060,6 +10264,7 @@ func awsRestjson1_deserializeOpDocumentListAssetPropertiesOutput(v **ListAssetPr if err := awsRestjson1_deserializeDocumentAssetPropertySummaries(&sv.AssetPropertySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10068,6 +10273,7 @@ func awsRestjson1_deserializeOpDocumentListAssetPropertiesOutput(v **ListAssetPr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10228,6 +10434,7 @@ func awsRestjson1_deserializeOpDocumentListAssetRelationshipsOutput(v **ListAsse if err := awsRestjson1_deserializeDocumentAssetRelationshipSummaries(&sv.AssetRelationshipSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10236,6 +10443,7 @@ func awsRestjson1_deserializeOpDocumentListAssetRelationshipsOutput(v **ListAsse } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10396,6 +10604,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocumentAssetSummaries(&sv.AssetSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10404,6 +10613,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10564,6 +10774,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAssetsOutput(v **ListAssoci if err := awsRestjson1_deserializeDocumentAssociatedAssetsSummaries(&sv.AssetSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10572,6 +10783,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAssetsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10732,6 +10944,7 @@ func awsRestjson1_deserializeOpDocumentListBulkImportJobsOutput(v **ListBulkImpo if err := awsRestjson1_deserializeDocumentJobSummaries(&sv.JobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10740,6 +10953,7 @@ func awsRestjson1_deserializeOpDocumentListBulkImportJobsOutput(v **ListBulkImpo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10900,6 +11114,7 @@ func awsRestjson1_deserializeOpDocumentListCompositionRelationshipsOutput(v **Li if err := awsRestjson1_deserializeDocumentCompositionRelationshipSummaries(&sv.CompositionRelationshipSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10908,6 +11123,7 @@ func awsRestjson1_deserializeOpDocumentListCompositionRelationshipsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11065,6 +11281,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu if err := awsRestjson1_deserializeDocumentDashboardSummaries(&sv.DashboardSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11073,6 +11290,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11230,6 +11448,7 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsRestjson1_deserializeDocumentGatewaySummaries(&sv.GatewaySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11238,6 +11457,7 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11399,10 +11619,12 @@ func awsRestjson1_deserializeOpDocumentListPortalsOutput(v **ListPortalsOutput, } sv.NextToken = ptr.String(jtv) } + case "portalSummaries": if err := awsRestjson1_deserializeDocumentPortalSummaries(&sv.PortalSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -11560,6 +11782,7 @@ func awsRestjson1_deserializeOpDocumentListProjectAssetsOutput(v **ListProjectAs if err := awsRestjson1_deserializeDocumentAssetIDs(&sv.AssetIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11568,6 +11791,7 @@ func awsRestjson1_deserializeOpDocumentListProjectAssetsOutput(v **ListProjectAs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11729,10 +11953,12 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "projectSummaries": if err := awsRestjson1_deserializeDocumentProjectSummaries(&sv.ProjectSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -11902,6 +12128,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12066,10 +12293,12 @@ func awsRestjson1_deserializeOpDocumentListTimeSeriesOutput(v **ListTimeSeriesOu } sv.NextToken = ptr.String(jtv) } + case "TimeSeriesSummaries": if err := awsRestjson1_deserializeDocumentTimeSeriesSummaries(&sv.TimeSeriesSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -12233,6 +12462,7 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -12241,6 +12471,7 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -12249,6 +12480,7 @@ func awsRestjson1_deserializeOpDocumentPutDefaultEncryptionConfigurationOutput(v } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12518,6 +12750,7 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor if err := awsRestjson1_deserializeDocumentConfigurationStatus(&sv.ConfigurationStatus, value); err != nil { return err } + case "disassociatedDataStorage": if value != nil { jtv, ok := value.(string) @@ -12526,14 +12759,17 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.DisassociatedDataStorage = types.DisassociatedDataStorageState(jtv) } + case "multiLayerStorage": if err := awsRestjson1_deserializeDocumentMultiLayerStorage(&sv.MultiLayerStorage, value); err != nil { return err } + case "retentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -12542,6 +12778,7 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.StorageType = types.StorageType(jtv) } + case "warmTier": if value != nil { jtv, ok := value.(string) @@ -12550,10 +12787,12 @@ func awsRestjson1_deserializeOpDocumentPutStorageConfigurationOutput(v **PutStor } sv.WarmTier = types.WarmTierState(jtv) } + case "warmTierRetentionPeriod": if err := awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(&sv.WarmTierRetentionPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -13032,6 +13271,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetOutput(v **UpdateAssetOutput, if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.AssetStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13204,6 +13444,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetModelOutput(v **UpdateAssetMod if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13376,10 +13617,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAssetModelCompositeModelOutput(v ** if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.AssetModelCompositeModelPath, value); err != nil { return err } + case "assetModelStatus": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.AssetModelStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13859,6 +14102,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayCapabilityConfigurationOutpu } sv.CapabilityNamespace = ptr.String(jtv) } + case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -13867,6 +14111,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayCapabilityConfigurationOutpu } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } + default: _, _ = key, value @@ -14030,6 +14275,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePortalOutput(v **UpdatePortalOutput if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.PortalStatus, value); err != nil { return err } + default: _, _ = key, value @@ -14670,6 +14916,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14750,6 +14997,7 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } } + case "id": if value != nil { jtv, ok := value.(string) @@ -14758,10 +15006,12 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Id = ptr.String(jtv) } + case "identity": if err := awsRestjson1_deserializeDocumentIdentity(&sv.Identity, value); err != nil { return err } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -14777,6 +15027,7 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } } + case "permission": if value != nil { jtv, ok := value.(string) @@ -14785,10 +15036,12 @@ func awsRestjson1_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Permission = types.Permission(jtv) } + case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -14828,6 +15081,7 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionDefinitionId = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -14836,6 +15090,7 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionName = ptr.String(jtv) } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -14844,6 +15099,7 @@ func awsRestjson1_deserializeDocumentActionDefinition(v **types.ActionDefinition } sv.ActionType = ptr.String(jtv) } + default: _, _ = key, value @@ -14917,6 +15173,7 @@ func awsRestjson1_deserializeDocumentActionPayload(v **types.ActionPayload, valu } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -14990,6 +15247,7 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionDefinitionId = ptr.String(jtv) } + case "actionId": if value != nil { jtv, ok := value.(string) @@ -14998,10 +15256,12 @@ func awsRestjson1_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionId = ptr.String(jtv) } + case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } + default: _, _ = key, value @@ -15041,6 +15301,7 @@ func awsRestjson1_deserializeDocumentAggregatedValue(v **types.AggregatedValue, } sv.Quality = types.Quality(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -15056,10 +15317,12 @@ func awsRestjson1_deserializeDocumentAggregatedValue(v **types.AggregatedValue, } } + case "value": if err := awsRestjson1_deserializeDocumentAggregates(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -15158,6 +15421,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + case "count": if value != nil { switch jtv := value.(type) { @@ -15191,6 +15455,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + case "maximum": if value != nil { switch jtv := value.(type) { @@ -15224,6 +15489,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + case "minimum": if value != nil { switch jtv := value.(type) { @@ -15257,6 +15523,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + case "standardDeviation": if value != nil { switch jtv := value.(type) { @@ -15290,6 +15557,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + case "sum": if value != nil { switch jtv := value.(type) { @@ -15323,6 +15591,7 @@ func awsRestjson1_deserializeDocumentAggregates(v **types.Aggregates, value inte } } + default: _, _ = key, value @@ -15362,6 +15631,7 @@ func awsRestjson1_deserializeDocumentAlarms(v **types.Alarms, value interface{}) } sv.AlarmRoleArn = ptr.String(jtv) } + case "notificationLambdaArn": if value != nil { jtv, ok := value.(string) @@ -15370,6 +15640,7 @@ func awsRestjson1_deserializeDocumentAlarms(v **types.Alarms, value interface{}) } sv.NotificationLambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15409,6 +15680,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -15417,6 +15689,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15425,6 +15698,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15433,10 +15707,12 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Name = ptr.String(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentAssetProperties(&sv.Properties, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15445,6 +15721,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModel(v **types.AssetComposit } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15518,6 +15795,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelPathSegment(v **types.As } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15526,6 +15804,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelPathSegment(v **types.As } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -15633,6 +15912,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -15641,6 +15921,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15649,6 +15930,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15657,10 +15939,12 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Name = ptr.String(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentAssetCompositeModelPath(&sv.Path, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15669,6 +15953,7 @@ func awsRestjson1_deserializeDocumentAssetCompositeModelSummary(v **types.AssetC } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15708,6 +15993,7 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.AssetId = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -15716,6 +16002,7 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.Code = types.AssetErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -15724,6 +16011,7 @@ func awsRestjson1_deserializeDocumentAssetErrorDetails(v **types.AssetErrorDetai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15797,6 +16085,7 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15805,6 +16094,7 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15813,6 +16103,7 @@ func awsRestjson1_deserializeDocumentAssetHierarchy(v **types.AssetHierarchy, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -15852,6 +16143,7 @@ func awsRestjson1_deserializeDocumentAssetHierarchyInfo(v **types.AssetHierarchy } sv.ChildAssetId = ptr.String(jtv) } + case "parentAssetId": if value != nil { jtv, ok := value.(string) @@ -15860,6 +16152,7 @@ func awsRestjson1_deserializeDocumentAssetHierarchyInfo(v **types.AssetHierarchy } sv.ParentAssetId = ptr.String(jtv) } + default: _, _ = key, value @@ -15935,6 +16228,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -15943,6 +16237,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15951,6 +16246,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15959,10 +16255,12 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Name = ptr.String(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentAssetModelProperties(&sv.Properties, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15971,6 +16269,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModel(v **types.AssetMod } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16044,6 +16343,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelPathSegment(v **typ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16052,6 +16352,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelPathSegment(v **typ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16159,6 +16460,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16167,6 +16469,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16175,6 +16478,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16183,10 +16487,12 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Name = ptr.String(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentAssetModelCompositeModelPath(&sv.Path, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -16195,6 +16501,7 @@ func awsRestjson1_deserializeDocumentAssetModelCompositeModelSummary(v **types.A } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16268,6 +16575,7 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.ChildAssetModelId = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16276,6 +16584,7 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16284,6 +16593,7 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16292,6 +16602,7 @@ func awsRestjson1_deserializeDocumentAssetModelHierarchy(v **types.AssetModelHie } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16365,6 +16676,7 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.DataType = types.PropertyDataType(jtv) } + case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -16373,6 +16685,7 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.DataTypeSpec = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16381,6 +16694,7 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16389,6 +16703,7 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16397,14 +16712,17 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Name = ptr.String(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.Path, value); err != nil { return err } + case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } + case "unit": if value != nil { jtv, ok := value.(string) @@ -16413,6 +16731,7 @@ func awsRestjson1_deserializeDocumentAssetModelProperty(v **types.AssetModelProp } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -16486,6 +16805,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertyPathSegment(v **types.Ass } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16494,6 +16814,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertyPathSegment(v **types.Ass } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16567,6 +16888,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.AssetModelCompositeModelId = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -16575,6 +16897,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.DataType = types.PropertyDataType(jtv) } + case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -16583,6 +16906,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.DataTypeSpec = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16591,6 +16915,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16599,6 +16924,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16607,14 +16933,17 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Name = ptr.String(jtv) } + case "path": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.Path, value); err != nil { return err } + case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } + case "unit": if value != nil { jtv, ok := value.(string) @@ -16623,6 +16952,7 @@ func awsRestjson1_deserializeDocumentAssetModelPropertySummary(v **types.AssetMo } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -16658,6 +16988,7 @@ func awsRestjson1_deserializeDocumentAssetModelStatus(v **types.AssetModelStatus if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -16666,6 +16997,7 @@ func awsRestjson1_deserializeDocumentAssetModelStatus(v **types.AssetModelStatus } sv.State = types.AssetModelState(jtv) } + default: _, _ = key, value @@ -16739,6 +17071,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Arn = ptr.String(jtv) } + case "assetModelType": if value != nil { jtv, ok := value.(string) @@ -16747,6 +17080,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.AssetModelType = types.AssetModelType(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -16762,6 +17096,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16770,6 +17105,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16778,6 +17114,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16786,6 +17123,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -16801,6 +17139,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } } + case "name": if value != nil { jtv, ok := value.(string) @@ -16809,10 +17148,12 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentAssetModelStatus(&sv.Status, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -16821,6 +17162,7 @@ func awsRestjson1_deserializeDocumentAssetModelSummary(v **types.AssetModelSumma } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -16894,6 +17236,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Alias = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -16902,6 +17245,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.DataType = types.PropertyDataType(jtv) } + case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -16910,6 +17254,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.DataTypeSpec = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -16918,6 +17263,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16926,6 +17272,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16934,14 +17281,17 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Name = ptr.String(jtv) } + case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } + case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } + case "unit": if value != nil { jtv, ok := value.(string) @@ -16950,6 +17300,7 @@ func awsRestjson1_deserializeDocumentAssetProperty(v **types.AssetProperty, valu } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -17023,6 +17374,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyPathSegment(v **types.AssetPro } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17031,6 +17383,7 @@ func awsRestjson1_deserializeDocumentAssetPropertyPathSegment(v **types.AssetPro } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17104,6 +17457,7 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Alias = ptr.String(jtv) } + case "assetCompositeModelId": if value != nil { jtv, ok := value.(string) @@ -17112,6 +17466,7 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.AssetCompositeModelId = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -17120,6 +17475,7 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17128,14 +17484,17 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Id = ptr.String(jtv) } + case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } + case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } + case "unit": if value != nil { jtv, ok := value.(string) @@ -17144,6 +17503,7 @@ func awsRestjson1_deserializeDocumentAssetPropertySummary(v **types.AssetPropert } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -17183,14 +17543,17 @@ func awsRestjson1_deserializeDocumentAssetPropertyValue(v **types.AssetPropertyV } sv.Quality = types.Quality(jtv) } + case "timestamp": if err := awsRestjson1_deserializeDocumentTimeInNanos(&sv.Timestamp, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentVariant(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -17294,6 +17657,7 @@ func awsRestjson1_deserializeDocumentAssetRelationshipSummary(v **types.AssetRel if err := awsRestjson1_deserializeDocumentAssetHierarchyInfo(&sv.HierarchyInfo, value); err != nil { return err } + case "relationshipType": if value != nil { jtv, ok := value.(string) @@ -17302,6 +17666,7 @@ func awsRestjson1_deserializeDocumentAssetRelationshipSummary(v **types.AssetRel } sv.RelationshipType = types.AssetRelationshipType(jtv) } + default: _, _ = key, value @@ -17337,6 +17702,7 @@ func awsRestjson1_deserializeDocumentAssetStatus(v **types.AssetStatus, value in if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -17345,6 +17711,7 @@ func awsRestjson1_deserializeDocumentAssetStatus(v **types.AssetStatus, value in } sv.State = types.AssetState(jtv) } + default: _, _ = key, value @@ -17418,6 +17785,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Arn = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -17426,6 +17794,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.AssetModelId = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17441,6 +17810,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -17449,6 +17819,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -17457,10 +17828,12 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.ExternalId = ptr.String(jtv) } + case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17469,6 +17842,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -17484,6 +17858,7 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } } + case "name": if value != nil { jtv, ok := value.(string) @@ -17492,10 +17867,12 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -17569,6 +17946,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Arn = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -17577,6 +17955,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.AssetModelId = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -17592,6 +17971,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } } + case "description": if value != nil { jtv, ok := value.(string) @@ -17600,6 +17980,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Description = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -17608,10 +17989,12 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.ExternalId = ptr.String(jtv) } + case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17620,6 +18003,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -17635,6 +18019,7 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } } + case "name": if value != nil { jtv, ok := value.(string) @@ -17643,10 +18028,12 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentAssetStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -17686,6 +18073,7 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf } sv.DefaultValue = ptr.String(jtv) } + default: _, _ = key, value @@ -17827,6 +18215,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.EntryId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -17835,6 +18224,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.ErrorCode = types.BatchGetAssetPropertyAggregatesErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -17843,6 +18233,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorEntry(v } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -17882,6 +18273,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(v } sv.ErrorCode = types.BatchGetAssetPropertyAggregatesErrorCode(jtv) } + case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -17897,6 +18289,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(v } } + default: _, _ = key, value @@ -17970,6 +18363,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntry } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -17978,10 +18372,12 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSkippedEntry } sv.EntryId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + default: _, _ = key, value @@ -18051,6 +18447,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntry if err := awsRestjson1_deserializeDocumentAggregatedValues(&sv.AggregatedValues, value); err != nil { return err } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -18059,6 +18456,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyAggregatesSuccessEntry } sv.EntryId = ptr.String(jtv) } + default: _, _ = key, value @@ -18132,6 +18530,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.EntryId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18140,6 +18539,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.ErrorCode = types.BatchGetAssetPropertyValueErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18148,6 +18548,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorEntry(v **ty } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18187,6 +18588,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(v **typ } sv.ErrorCode = types.BatchGetAssetPropertyValueErrorCode(jtv) } + case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -18202,6 +18604,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(v **typ } } + default: _, _ = key, value @@ -18275,6 +18678,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.EntryId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18283,6 +18687,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.ErrorCode = types.BatchGetAssetPropertyValueHistoryErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18291,6 +18696,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorEntry } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18330,6 +18736,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo( } sv.ErrorCode = types.BatchGetAssetPropertyValueHistoryErrorCode(jtv) } + case "errorTimestamp": if value != nil { switch jtv := value.(type) { @@ -18345,6 +18752,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo( } } + default: _, _ = key, value @@ -18418,6 +18826,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEnt } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -18426,10 +18835,12 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySkippedEnt } sv.EntryId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistoryErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + default: _, _ = key, value @@ -18499,6 +18910,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEnt if err := awsRestjson1_deserializeDocumentAssetPropertyValueHistory(&sv.AssetPropertyValueHistory, value); err != nil { return err } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -18507,6 +18919,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueHistorySuccessEnt } sv.EntryId = ptr.String(jtv) } + default: _, _ = key, value @@ -18580,6 +18993,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntry(v ** } sv.CompletionStatus = types.BatchEntryCompletionStatus(jtv) } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -18588,10 +19002,12 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSkippedEntry(v ** } sv.EntryId = ptr.String(jtv) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + default: _, _ = key, value @@ -18661,6 +19077,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntry(v ** if err := awsRestjson1_deserializeDocumentAssetPropertyValue(&sv.AssetPropertyValue, value); err != nil { return err } + case "entryId": if value != nil { jtv, ok := value.(string) @@ -18669,6 +19086,7 @@ func awsRestjson1_deserializeDocumentBatchGetAssetPropertyValueSuccessEntry(v ** } sv.EntryId = ptr.String(jtv) } + default: _, _ = key, value @@ -18708,6 +19126,7 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyError(v **types.BatchP } sv.ErrorCode = types.BatchPutAssetPropertyValueErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18716,10 +19135,12 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyError(v **types.BatchP } sv.ErrorMessage = ptr.String(jtv) } + case "timestamps": if err := awsRestjson1_deserializeDocumentTimestamps(&sv.Timestamps, value); err != nil { return err } + default: _, _ = key, value @@ -18793,10 +19214,12 @@ func awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrorEntry(v **types.B } sv.EntryId = ptr.String(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentBatchPutAssetPropertyErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -18870,10 +19293,12 @@ func awsRestjson1_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } + case "type": if err := awsRestjson1_deserializeDocumentColumnType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -18983,6 +19408,7 @@ func awsRestjson1_deserializeDocumentColumnType(v **types.ColumnType, value inte } sv.ScalarType = types.ScalarType(jtv) } + default: _, _ = key, value @@ -19018,6 +19444,7 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM if err := awsRestjson1_deserializeDocumentProperty(&sv.AssetProperty, value); err != nil { return err } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -19026,6 +19453,7 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19034,6 +19462,7 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19042,6 +19471,7 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -19050,6 +19480,7 @@ func awsRestjson1_deserializeDocumentCompositeModelProperty(v **types.CompositeM } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19085,6 +19516,7 @@ func awsRestjson1_deserializeDocumentCompositionDetails(v **types.CompositionDet if err := awsRestjson1_deserializeDocumentCompositionRelationship(&sv.CompositionRelationship, value); err != nil { return err } + default: _, _ = key, value @@ -19158,6 +19590,7 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipItem(v **types.Compo } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -19231,6 +19664,7 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelCompositeModelId = ptr.String(jtv) } + case "assetModelCompositeModelType": if value != nil { jtv, ok := value.(string) @@ -19239,6 +19673,7 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelCompositeModelType = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -19247,6 +19682,7 @@ func awsRestjson1_deserializeDocumentCompositionRelationshipSummary(v **types.Co } sv.AssetModelId = ptr.String(jtv) } + default: _, _ = key, value @@ -19286,6 +19722,7 @@ func awsRestjson1_deserializeDocumentConfigurationErrorDetails(v **types.Configu } sv.Code = types.ErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -19294,6 +19731,7 @@ func awsRestjson1_deserializeDocumentConfigurationErrorDetails(v **types.Configu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19329,6 +19767,7 @@ func awsRestjson1_deserializeDocumentConfigurationStatus(v **types.Configuration if err := awsRestjson1_deserializeDocumentConfigurationErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -19337,6 +19776,7 @@ func awsRestjson1_deserializeDocumentConfigurationStatus(v **types.Configuration } sv.State = types.ConfigurationState(jtv) } + default: _, _ = key, value @@ -19376,6 +19816,7 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -19384,6 +19825,7 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -19392,6 +19834,7 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -19427,6 +19870,7 @@ func awsRestjson1_deserializeDocumentCsv(v **types.Csv, value interface{}) error if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } + default: _, _ = key, value @@ -19466,6 +19910,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedS3Storage(v **types.Customer } sv.RoleArn = ptr.String(jtv) } + case "s3ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19474,6 +19919,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedS3Storage(v **types.Customer } sv.S3ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19554,6 +20000,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19562,6 +20009,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19570,6 +20018,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -19585,6 +20034,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } + case "name": if value != nil { jtv, ok := value.(string) @@ -19593,6 +20043,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -19628,6 +20079,7 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e if err := awsRestjson1_deserializeDocumentDatumList(&sv.ArrayValue, value); err != nil { return err } + case "nullValue": if value != nil { jtv, ok := value.(bool) @@ -19636,10 +20088,12 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.NullValue = ptr.Bool(jtv) } + case "rowValue": if err := awsRestjson1_deserializeDocumentRow(&sv.RowValue, value); err != nil { return err } + case "scalarValue": if value != nil { jtv, ok := value.(string) @@ -19648,6 +20102,7 @@ func awsRestjson1_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.ScalarValue = ptr.String(jtv) } + default: _, _ = key, value @@ -19721,6 +20176,7 @@ func awsRestjson1_deserializeDocumentDetailedError(v **types.DetailedError, valu } sv.Code = types.DetailedErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -19729,6 +20185,7 @@ func awsRestjson1_deserializeDocumentDetailedError(v **types.DetailedError, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19802,10 +20259,12 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = types.ErrorCode(jtv) } + case "details": if err := awsRestjson1_deserializeDocumentDetailedErrors(&sv.Details, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -19814,6 +20273,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19853,6 +20313,7 @@ func awsRestjson1_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo } sv.Bucket = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -19861,6 +20322,7 @@ func awsRestjson1_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -19900,10 +20362,12 @@ func awsRestjson1_deserializeDocumentExpressionVariable(v **types.ExpressionVari } sv.Name = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentVariableValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -19977,6 +20441,7 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -19985,6 +20450,7 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.Key = ptr.String(jtv) } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -19993,6 +20459,7 @@ func awsRestjson1_deserializeDocumentFile(v **types.File, value interface{}) err } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -20028,10 +20495,12 @@ func awsRestjson1_deserializeDocumentFileFormat(v **types.FileFormat, value inte if err := awsRestjson1_deserializeDocumentCsv(&sv.Csv, value); err != nil { return err } + case "parquet": if err := awsRestjson1_deserializeDocumentParquet(&sv.Parquet, value); err != nil { return err } + default: _, _ = key, value @@ -20105,6 +20574,7 @@ func awsRestjson1_deserializeDocumentForwardingConfig(v **types.ForwardingConfig } sv.State = types.ForwardingConfigState(jtv) } + default: _, _ = key, value @@ -20178,6 +20648,7 @@ func awsRestjson1_deserializeDocumentGatewayCapabilitySummary(v **types.GatewayC } sv.CapabilityNamespace = ptr.String(jtv) } + case "capabilitySyncStatus": if value != nil { jtv, ok := value.(string) @@ -20186,6 +20657,7 @@ func awsRestjson1_deserializeDocumentGatewayCapabilitySummary(v **types.GatewayC } sv.CapabilitySyncStatus = types.CapabilitySyncStatus(jtv) } + default: _, _ = key, value @@ -20221,14 +20693,17 @@ func awsRestjson1_deserializeDocumentGatewayPlatform(v **types.GatewayPlatform, if err := awsRestjson1_deserializeDocumentGreengrass(&sv.Greengrass, value); err != nil { return err } + case "greengrassV2": if err := awsRestjson1_deserializeDocumentGreengrassV2(&sv.GreengrassV2, value); err != nil { return err } + case "siemensIE": if err := awsRestjson1_deserializeDocumentSiemensIE(&sv.SiemensIE, value); err != nil { return err } + default: _, _ = key, value @@ -20309,10 +20784,12 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } } + case "gatewayCapabilitySummaries": if err := awsRestjson1_deserializeDocumentGatewayCapabilitySummaries(&sv.GatewayCapabilitySummaries, value); err != nil { return err } + case "gatewayId": if value != nil { jtv, ok := value.(string) @@ -20321,6 +20798,7 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } sv.GatewayId = ptr.String(jtv) } + case "gatewayName": if value != nil { jtv, ok := value.(string) @@ -20329,10 +20807,12 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } sv.GatewayName = ptr.String(jtv) } + case "gatewayPlatform": if err := awsRestjson1_deserializeDocumentGatewayPlatform(&sv.GatewayPlatform, value); err != nil { return err } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -20348,6 +20828,7 @@ func awsRestjson1_deserializeDocumentGatewaySummary(v **types.GatewaySummary, va } } + default: _, _ = key, value @@ -20387,6 +20868,7 @@ func awsRestjson1_deserializeDocumentGreengrass(v **types.Greengrass, value inte } sv.GroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20426,6 +20908,7 @@ func awsRestjson1_deserializeDocumentGreengrassV2(v **types.GreengrassV2, value } sv.CoreDeviceThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -20465,6 +20948,7 @@ func awsRestjson1_deserializeDocumentGroupIdentity(v **types.GroupIdentity, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20504,6 +20988,7 @@ func awsRestjson1_deserializeDocumentIAMRoleIdentity(v **types.IAMRoleIdentity, } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -20543,6 +21028,7 @@ func awsRestjson1_deserializeDocumentIAMUserIdentity(v **types.IAMUserIdentity, } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -20578,18 +21064,22 @@ func awsRestjson1_deserializeDocumentIdentity(v **types.Identity, value interfac if err := awsRestjson1_deserializeDocumentGroupIdentity(&sv.Group, value); err != nil { return err } + case "iamRole": if err := awsRestjson1_deserializeDocumentIAMRoleIdentity(&sv.IamRole, value); err != nil { return err } + case "iamUser": if err := awsRestjson1_deserializeDocumentIAMUserIdentity(&sv.IamUser, value); err != nil { return err } + case "user": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -20629,6 +21119,7 @@ func awsRestjson1_deserializeDocumentImageLocation(v **types.ImageLocation, valu } sv.Id = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -20637,6 +21128,7 @@ func awsRestjson1_deserializeDocumentImageLocation(v **types.ImageLocation, valu } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -20676,6 +21168,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20711,10 +21204,12 @@ func awsRestjson1_deserializeDocumentInterpolatedAssetPropertyValue(v **types.In if err := awsRestjson1_deserializeDocumentTimeInNanos(&sv.Timestamp, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentVariant(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -20788,6 +21283,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20823,6 +21319,7 @@ func awsRestjson1_deserializeDocumentJobConfiguration(v **types.JobConfiguration if err := awsRestjson1_deserializeDocumentFileFormat(&sv.FileFormat, value); err != nil { return err } + default: _, _ = key, value @@ -20896,6 +21393,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20904,6 +21402,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20912,6 +21411,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Status = types.JobStatus(jtv) } + default: _, _ = key, value @@ -20951,6 +21451,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20990,6 +21491,7 @@ func awsRestjson1_deserializeDocumentLoggingOptions(v **types.LoggingOptions, va } sv.Level = types.LoggingLevel(jtv) } + default: _, _ = key, value @@ -21025,6 +21527,7 @@ func awsRestjson1_deserializeDocumentMeasurement(v **types.Measurement, value in if err := awsRestjson1_deserializeDocumentMeasurementProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -21060,6 +21563,7 @@ func awsRestjson1_deserializeDocumentMeasurementProcessingConfig(v **types.Measu if err := awsRestjson1_deserializeDocumentForwardingConfig(&sv.ForwardingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -21099,18 +21603,22 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Expression = ptr.String(jtv) } + case "processingConfig": if err := awsRestjson1_deserializeDocumentMetricProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } + case "variables": if err := awsRestjson1_deserializeDocumentExpressionVariables(&sv.Variables, value); err != nil { return err } + case "window": if err := awsRestjson1_deserializeDocumentMetricWindow(&sv.Window, value); err != nil { return err } + default: _, _ = key, value @@ -21150,6 +21658,7 @@ func awsRestjson1_deserializeDocumentMetricProcessingConfig(v **types.MetricProc } sv.ComputeLocation = types.ComputeLocation(jtv) } + default: _, _ = key, value @@ -21185,6 +21694,7 @@ func awsRestjson1_deserializeDocumentMetricWindow(v **types.MetricWindow, value if err := awsRestjson1_deserializeDocumentTumblingWindow(&sv.Tumbling, value); err != nil { return err } + default: _, _ = key, value @@ -21224,6 +21734,7 @@ func awsRestjson1_deserializeDocumentMonitorErrorDetails(v **types.MonitorErrorD } sv.Code = types.MonitorErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -21232,6 +21743,7 @@ func awsRestjson1_deserializeDocumentMonitorErrorDetails(v **types.MonitorErrorD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21267,6 +21779,7 @@ func awsRestjson1_deserializeDocumentMultiLayerStorage(v **types.MultiLayerStora if err := awsRestjson1_deserializeDocumentCustomerManagedS3Storage(&sv.CustomerManagedS3Storage, value); err != nil { return err } + default: _, _ = key, value @@ -21337,6 +21850,7 @@ func awsRestjson1_deserializeDocumentPortalResource(v **types.PortalResource, va } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -21372,6 +21886,7 @@ func awsRestjson1_deserializeDocumentPortalStatus(v **types.PortalStatus, value if err := awsRestjson1_deserializeDocumentMonitorErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -21380,6 +21895,7 @@ func awsRestjson1_deserializeDocumentPortalStatus(v **types.PortalStatus, value } sv.State = types.PortalState(jtv) } + default: _, _ = key, value @@ -21460,6 +21976,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -21468,6 +21985,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21476,6 +21994,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -21491,6 +22010,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -21499,6 +22019,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -21507,6 +22028,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.RoleArn = ptr.String(jtv) } + case "startUrl": if value != nil { jtv, ok := value.(string) @@ -21515,10 +22037,12 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.StartUrl = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentPortalStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -21558,6 +22082,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -21566,6 +22091,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -21574,6 +22100,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -21613,6 +22140,7 @@ func awsRestjson1_deserializeDocumentProjectResource(v **types.ProjectResource, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -21693,6 +22221,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -21701,6 +22230,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21709,6 +22239,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Id = ptr.String(jtv) } + case "lastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -21724,6 +22255,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -21732,6 +22264,7 @@ func awsRestjson1_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -21771,6 +22304,7 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Alias = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -21779,6 +22313,7 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.DataType = types.PropertyDataType(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -21787,6 +22322,7 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.ExternalId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21795,6 +22331,7 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21803,18 +22340,22 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Name = ptr.String(jtv) } + case "notification": if err := awsRestjson1_deserializeDocumentPropertyNotification(&sv.Notification, value); err != nil { return err } + case "path": if err := awsRestjson1_deserializeDocumentAssetPropertyPath(&sv.Path, value); err != nil { return err } + case "type": if err := awsRestjson1_deserializeDocumentPropertyType(&sv.Type, value); err != nil { return err } + case "unit": if value != nil { jtv, ok := value.(string) @@ -21823,6 +22364,7 @@ func awsRestjson1_deserializeDocumentProperty(v **types.Property, value interfac } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -21862,6 +22404,7 @@ func awsRestjson1_deserializeDocumentPropertyNotification(v **types.PropertyNoti } sv.State = types.PropertyNotificationState(jtv) } + case "topic": if value != nil { jtv, ok := value.(string) @@ -21870,6 +22413,7 @@ func awsRestjson1_deserializeDocumentPropertyNotification(v **types.PropertyNoti } sv.Topic = ptr.String(jtv) } + default: _, _ = key, value @@ -21905,18 +22449,22 @@ func awsRestjson1_deserializeDocumentPropertyType(v **types.PropertyType, value if err := awsRestjson1_deserializeDocumentAttribute(&sv.Attribute, value); err != nil { return err } + case "measurement": if err := awsRestjson1_deserializeDocumentMeasurement(&sv.Measurement, value); err != nil { return err } + case "metric": if err := awsRestjson1_deserializeDocumentMetric(&sv.Metric, value); err != nil { return err } + case "transform": if err := awsRestjson1_deserializeDocumentTransform(&sv.Transform, value); err != nil { return err } + default: _, _ = key, value @@ -21956,6 +22504,7 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21991,10 +22540,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentPortalResource(&sv.Portal, value); err != nil { return err } + case "project": if err := awsRestjson1_deserializeDocumentProjectResource(&sv.Project, value); err != nil { return err } + default: _, _ = key, value @@ -22034,6 +22585,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -22042,6 +22594,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -22050,6 +22603,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -22089,6 +22643,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22132,6 +22687,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.NumberOfDays = ptr.Int32(int32(i64)) } + case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -22140,6 +22696,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.Unlimited = ptr.Bool(jtv) } + default: _, _ = key, value @@ -22175,6 +22732,7 @@ func awsRestjson1_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsRestjson1_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } + default: _, _ = key, value @@ -22248,6 +22806,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22287,6 +22846,7 @@ func awsRestjson1_deserializeDocumentSiemensIE(v **types.SiemensIE, value interf } sv.IotCoreThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -22362,6 +22922,7 @@ func awsRestjson1_deserializeDocumentTargetResource(v **types.TargetResource, va } sv.AssetId = ptr.String(jtv) } + default: _, _ = key, value @@ -22401,6 +22962,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22444,6 +23006,7 @@ func awsRestjson1_deserializeDocumentTimeInNanos(v **types.TimeInNanos, value in } sv.OffsetInNanos = ptr.Int32(int32(i64)) } + case "timeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -22456,6 +23019,7 @@ func awsRestjson1_deserializeDocumentTimeInNanos(v **types.TimeInNanos, value in } sv.TimeInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -22529,6 +23093,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.Alias = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -22537,6 +23102,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.AssetId = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -22545,6 +23111,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.DataType = types.PropertyDataType(jtv) } + case "dataTypeSpec": if value != nil { jtv, ok := value.(string) @@ -22553,6 +23120,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.DataTypeSpec = ptr.String(jtv) } + case "propertyId": if value != nil { jtv, ok := value.(string) @@ -22561,6 +23129,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.PropertyId = ptr.String(jtv) } + case "timeSeriesArn": if value != nil { jtv, ok := value.(string) @@ -22569,6 +23138,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.TimeSeriesArn = ptr.String(jtv) } + case "timeSeriesCreationDate": if value != nil { switch jtv := value.(type) { @@ -22584,6 +23154,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } } + case "timeSeriesId": if value != nil { jtv, ok := value.(string) @@ -22592,6 +23163,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } sv.TimeSeriesId = ptr.String(jtv) } + case "timeSeriesLastUpdateDate": if value != nil { switch jtv := value.(type) { @@ -22607,6 +23179,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesSummary(v **types.TimeSeriesSumma } } + default: _, _ = key, value @@ -22680,6 +23253,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -22688,6 +23262,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -22727,14 +23302,17 @@ func awsRestjson1_deserializeDocumentTransform(v **types.Transform, value interf } sv.Expression = ptr.String(jtv) } + case "processingConfig": if err := awsRestjson1_deserializeDocumentTransformProcessingConfig(&sv.ProcessingConfig, value); err != nil { return err } + case "variables": if err := awsRestjson1_deserializeDocumentExpressionVariables(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -22774,10 +23352,12 @@ func awsRestjson1_deserializeDocumentTransformProcessingConfig(v **types.Transfo } sv.ComputeLocation = types.ComputeLocation(jtv) } + case "forwardingConfig": if err := awsRestjson1_deserializeDocumentForwardingConfig(&sv.ForwardingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -22817,6 +23397,7 @@ func awsRestjson1_deserializeDocumentTumblingWindow(v **types.TumblingWindow, va } sv.Interval = ptr.String(jtv) } + case "offset": if value != nil { jtv, ok := value.(string) @@ -22825,6 +23406,7 @@ func awsRestjson1_deserializeDocumentTumblingWindow(v **types.TumblingWindow, va } sv.Offset = ptr.String(jtv) } + default: _, _ = key, value @@ -22864,6 +23446,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22903,6 +23486,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -22942,6 +23526,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22981,6 +23566,7 @@ func awsRestjson1_deserializeDocumentVariableValue(v **types.VariableValue, valu } sv.HierarchyId = ptr.String(jtv) } + case "propertyId": if value != nil { jtv, ok := value.(string) @@ -22989,10 +23575,12 @@ func awsRestjson1_deserializeDocumentVariableValue(v **types.VariableValue, valu } sv.PropertyId = ptr.String(jtv) } + case "propertyPath": if err := awsRestjson1_deserializeDocumentAssetModelPropertyPath(&sv.PropertyPath, value); err != nil { return err } + default: _, _ = key, value @@ -23032,6 +23620,7 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.BooleanValue = ptr.Bool(jtv) } + case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -23065,6 +23654,7 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } } + case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -23077,6 +23667,7 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.IntegerValue = ptr.Int32(int32(i64)) } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -23085,6 +23676,7 @@ func awsRestjson1_deserializeDocumentVariant(v **types.Variant, value interface{ } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -23128,6 +23720,7 @@ func awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(v **types.WarmTierR } sv.NumberOfDays = ptr.Int32(int32(i64)) } + case "unlimited": if value != nil { jtv, ok := value.(bool) @@ -23136,6 +23729,7 @@ func awsRestjson1_deserializeDocumentWarmTierRetentionPeriod(v **types.WarmTierR } sv.Unlimited = ptr.Bool(jtv) } + default: _, _ = key, value diff --git a/service/iotthingsgraph/deserializers.go b/service/iotthingsgraph/deserializers.go index aaf782ac9ab..5d305c52cbb 100644 --- a/service/iotthingsgraph/deserializers.go +++ b/service/iotthingsgraph/deserializers.go @@ -4492,6 +4492,7 @@ func awsAwsjson11_deserializeDocumentDefinitionDocument(v **types.DefinitionDocu } sv.Language = types.DefinitionLanguage(jtv) } + case "text": if value != nil { jtv, ok := value.(string) @@ -4500,6 +4501,7 @@ func awsAwsjson11_deserializeDocumentDefinitionDocument(v **types.DefinitionDocu } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4539,6 +4541,7 @@ func awsAwsjson11_deserializeDocumentDependencyRevision(v **types.DependencyRevi } sv.Id = ptr.String(jtv) } + case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4551,6 +4554,7 @@ func awsAwsjson11_deserializeDocumentDependencyRevision(v **types.DependencyRevi } sv.RevisionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -4624,6 +4628,7 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4639,10 +4644,12 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } } + case "definition": if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4651,6 +4658,7 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Id = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4659,6 +4667,7 @@ func awsAwsjson11_deserializeDocumentEntityDescription(v **types.EntityDescripti } sv.Type = types.EntityType(jtv) } + default: _, _ = key, value @@ -4732,6 +4741,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.EventType = types.FlowExecutionEventType(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -4740,6 +4750,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.MessageId = ptr.String(jtv) } + case "payload": if value != nil { jtv, ok := value.(string) @@ -4748,6 +4759,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } sv.Payload = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -4763,6 +4775,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionMessage(v **types.FlowExecutio } } + default: _, _ = key, value @@ -4877,6 +4890,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } } + case "flowExecutionId": if value != nil { jtv, ok := value.(string) @@ -4885,6 +4899,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.FlowExecutionId = ptr.String(jtv) } + case "flowTemplateId": if value != nil { jtv, ok := value.(string) @@ -4893,6 +4908,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.FlowTemplateId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4901,6 +4917,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.Status = types.FlowExecutionStatus(jtv) } + case "systemInstanceId": if value != nil { jtv, ok := value.(string) @@ -4909,6 +4926,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } sv.SystemInstanceId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4924,6 +4942,7 @@ func awsAwsjson11_deserializeDocumentFlowExecutionSummary(v **types.FlowExecutio } } + default: _, _ = key, value @@ -4959,10 +4978,12 @@ func awsAwsjson11_deserializeDocumentFlowTemplateDescription(v **types.FlowTempl if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } + case "summary": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } + case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -4975,6 +4996,7 @@ func awsAwsjson11_deserializeDocumentFlowTemplateDescription(v **types.FlowTempl } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } + default: _, _ = key, value @@ -5048,6 +5070,7 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5063,6 +5086,7 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } } + case "id": if value != nil { jtv, ok := value.(string) @@ -5071,6 +5095,7 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.Id = ptr.String(jtv) } + case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5083,6 +5108,7 @@ func awsAwsjson11_deserializeDocumentFlowTemplateSummary(v **types.FlowTemplateS } sv.RevisionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -5122,6 +5148,7 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5161,6 +5188,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5200,6 +5228,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5239,6 +5268,7 @@ func awsAwsjson11_deserializeDocumentMetricsConfiguration(v **types.MetricsConfi } sv.CloudMetricEnabled = jtv } + case "metricRuleRoleArn": if value != nil { jtv, ok := value.(string) @@ -5247,6 +5277,7 @@ func awsAwsjson11_deserializeDocumentMetricsConfiguration(v **types.MetricsConfi } sv.MetricRuleRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5286,6 +5317,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5325,6 +5357,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5364,6 +5397,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5435,6 +5469,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } + case "flowActionsRoleArn": if value != nil { jtv, ok := value.(string) @@ -5443,10 +5478,12 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.FlowActionsRoleArn = ptr.String(jtv) } + case "metricsConfiguration": if err := awsAwsjson11_deserializeDocumentMetricsConfiguration(&sv.MetricsConfiguration, value); err != nil { return err } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -5455,14 +5492,17 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.S3BucketName = ptr.String(jtv) } + case "summary": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } + case "validatedDependencyRevisions": if err := awsAwsjson11_deserializeDocumentDependencyRevisions(&sv.ValidatedDependencyRevisions, value); err != nil { return err } + case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5475,6 +5515,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceDescription(v **types.SystemI } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } + default: _, _ = key, value @@ -5548,6 +5589,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5563,6 +5605,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } } + case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -5571,6 +5614,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupId = ptr.String(jtv) } + case "greengrassGroupName": if value != nil { jtv, ok := value.(string) @@ -5579,6 +5623,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupName = ptr.String(jtv) } + case "greengrassGroupVersionId": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5632,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.GreengrassGroupVersionId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5595,6 +5641,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5603,6 +5650,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Status = types.SystemInstanceDeploymentStatus(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -5611,6 +5659,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } sv.Target = types.DeploymentTarget(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5626,6 +5675,7 @@ func awsAwsjson11_deserializeDocumentSystemInstanceSummary(v **types.SystemInsta } } + default: _, _ = key, value @@ -5661,10 +5711,12 @@ func awsAwsjson11_deserializeDocumentSystemTemplateDescription(v **types.SystemT if err := awsAwsjson11_deserializeDocumentDefinitionDocument(&sv.Definition, value); err != nil { return err } + case "summary": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } + case "validatedNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5677,6 +5729,7 @@ func awsAwsjson11_deserializeDocumentSystemTemplateDescription(v **types.SystemT } sv.ValidatedNamespaceVersion = ptr.Int64(i64) } + default: _, _ = key, value @@ -5750,6 +5803,7 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5765,6 +5819,7 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } } + case "id": if value != nil { jtv, ok := value.(string) @@ -5773,6 +5828,7 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.Id = ptr.String(jtv) } + case "revisionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5785,6 +5841,7 @@ func awsAwsjson11_deserializeDocumentSystemTemplateSummary(v **types.SystemTempl } sv.RevisionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -5824,6 +5881,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -5832,6 +5890,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5905,6 +5964,7 @@ func awsAwsjson11_deserializeDocumentThing(v **types.Thing, value interface{}) e } sv.ThingArn = ptr.String(jtv) } + case "thingName": if value != nil { jtv, ok := value.(string) @@ -5913,6 +5973,7 @@ func awsAwsjson11_deserializeDocumentThing(v **types.Thing, value interface{}) e } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -5986,6 +6047,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6052,6 +6114,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFlowTemplateOutput(v **CreateFlowTe if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -6087,6 +6150,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSystemInstanceOutput(v **CreateSyst if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -6122,6 +6186,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSystemTemplateOutput(v **CreateSyst if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -6192,6 +6257,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6200,6 +6266,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.NamespaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6301,10 +6368,12 @@ func awsAwsjson11_deserializeOpDocumentDeploySystemInstanceOutput(v **DeploySyst } sv.GreengrassDeploymentId = ptr.String(jtv) } + case "summary": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -6406,6 +6475,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6414,6 +6484,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceName = ptr.String(jtv) } + case "namespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6426,6 +6497,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.NamespaceVersion = ptr.Int64(i64) } + case "trackingNamespaceName": if value != nil { jtv, ok := value.(string) @@ -6434,6 +6506,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.TrackingNamespaceName = ptr.String(jtv) } + case "trackingNamespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6446,6 +6519,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.TrackingNamespaceVersion = ptr.Int64(i64) } + default: _, _ = key, value @@ -6512,6 +6586,7 @@ func awsAwsjson11_deserializeOpDocumentGetEntitiesOutput(v **GetEntitiesOutput, if err := awsAwsjson11_deserializeDocumentEntityDescriptions(&sv.Descriptions, value); err != nil { return err } + default: _, _ = key, value @@ -6547,6 +6622,7 @@ func awsAwsjson11_deserializeOpDocumentGetFlowTemplateOutput(v **GetFlowTemplate if err := awsAwsjson11_deserializeDocumentFlowTemplateDescription(&sv.Description, value); err != nil { return err } + default: _, _ = key, value @@ -6586,10 +6662,12 @@ func awsAwsjson11_deserializeOpDocumentGetFlowTemplateRevisionsOutput(v **GetFlo } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -6629,6 +6707,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.ErrorCode = types.NamespaceDeletionStatusErrorCodes(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6637,6 +6716,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.ErrorMessage = ptr.String(jtv) } + case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -6645,6 +6725,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6653,6 +6734,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.NamespaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6661,6 +6743,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceDeletionStatusOutput(v **GetN } sv.Status = types.NamespaceDeletionStatus(jtv) } + default: _, _ = key, value @@ -6696,6 +6779,7 @@ func awsAwsjson11_deserializeOpDocumentGetSystemInstanceOutput(v **GetSystemInst if err := awsAwsjson11_deserializeDocumentSystemInstanceDescription(&sv.Description, value); err != nil { return err } + default: _, _ = key, value @@ -6731,6 +6815,7 @@ func awsAwsjson11_deserializeOpDocumentGetSystemTemplateOutput(v **GetSystemTemp if err := awsAwsjson11_deserializeDocumentSystemTemplateDescription(&sv.Description, value); err != nil { return err } + default: _, _ = key, value @@ -6770,10 +6855,12 @@ func awsAwsjson11_deserializeOpDocumentGetSystemTemplateRevisionsOutput(v **GetS } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -6820,10 +6907,12 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } } + case "failureReason": if err := awsAwsjson11_deserializeDocumentStringList(&sv.FailureReason, value); err != nil { return err } + case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -6832,6 +6921,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -6840,6 +6930,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceName = ptr.String(jtv) } + case "namespaceVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6852,6 +6943,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.NamespaceVersion = ptr.Int64(i64) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -6860,6 +6952,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.UploadId = ptr.String(jtv) } + case "uploadStatus": if value != nil { jtv, ok := value.(string) @@ -6868,6 +6961,7 @@ func awsAwsjson11_deserializeOpDocumentGetUploadStatusOutput(v **GetUploadStatus } sv.UploadStatus = types.UploadStatus(jtv) } + default: _, _ = key, value @@ -6903,6 +6997,7 @@ func awsAwsjson11_deserializeOpDocumentListFlowExecutionMessagesOutput(v **ListF if err := awsAwsjson11_deserializeDocumentFlowExecutionMessages(&sv.Messages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6911,6 +7006,7 @@ func awsAwsjson11_deserializeOpDocumentListFlowExecutionMessagesOutput(v **ListF } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6950,10 +7046,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6989,6 +7087,7 @@ func awsAwsjson11_deserializeOpDocumentSearchEntitiesOutput(v **SearchEntitiesOu if err := awsAwsjson11_deserializeDocumentEntityDescriptions(&sv.Descriptions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6997,6 +7096,7 @@ func awsAwsjson11_deserializeOpDocumentSearchEntitiesOutput(v **SearchEntitiesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7036,10 +7136,12 @@ func awsAwsjson11_deserializeOpDocumentSearchFlowExecutionsOutput(v **SearchFlow } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentFlowExecutionSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -7079,10 +7181,12 @@ func awsAwsjson11_deserializeOpDocumentSearchFlowTemplatesOutput(v **SearchFlowT } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentFlowTemplateSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -7122,10 +7226,12 @@ func awsAwsjson11_deserializeOpDocumentSearchSystemInstancesOutput(v **SearchSys } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentSystemInstanceSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -7165,10 +7271,12 @@ func awsAwsjson11_deserializeOpDocumentSearchSystemTemplatesOutput(v **SearchSys } sv.NextToken = ptr.String(jtv) } + case "summaries": if err := awsAwsjson11_deserializeDocumentSystemTemplateSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -7208,10 +7316,12 @@ func awsAwsjson11_deserializeOpDocumentSearchThingsOutput(v **SearchThingsOutput } sv.NextToken = ptr.String(jtv) } + case "things": if err := awsAwsjson11_deserializeDocumentThings(&sv.Things, value); err != nil { return err } + default: _, _ = key, value @@ -7278,6 +7388,7 @@ func awsAwsjson11_deserializeOpDocumentUndeploySystemInstanceOutput(v **Undeploy if err := awsAwsjson11_deserializeDocumentSystemInstanceSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -7344,6 +7455,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFlowTemplateOutput(v **UpdateFlowTe if err := awsAwsjson11_deserializeDocumentFlowTemplateSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -7379,6 +7491,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSystemTemplateOutput(v **UpdateSyst if err := awsAwsjson11_deserializeDocumentSystemTemplateSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -7418,6 +7531,7 @@ func awsAwsjson11_deserializeOpDocumentUploadEntityDefinitionsOutput(v **UploadE } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iottwinmaker/deserializers.go b/service/iottwinmaker/deserializers.go index 66e27a75527..4eff25a4b18 100644 --- a/service/iottwinmaker/deserializers.go +++ b/service/iottwinmaker/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutPropertyValuesOutput(v **BatchPut if err := awsRestjson1_deserializeDocumentErrorEntries(&sv.ErrorEntries, value); err != nil { return err } + default: _, _ = key, value @@ -353,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } sv.Arn = ptr.String(jtv) } + case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -361,14 +363,17 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } sv.MetadataTransferJobId = ptr.String(jtv) } + case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -384,6 +389,7 @@ func awsRestjson1_deserializeOpDocumentCancelMetadataTransferJobOutput(v **Cance } } + default: _, _ = key, value @@ -554,6 +560,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -569,6 +576,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } } + case "state": if value != nil { jtv, ok := value.(string) @@ -577,6 +585,7 @@ func awsRestjson1_deserializeOpDocumentCreateComponentTypeOutput(v **CreateCompo } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -747,6 +756,7 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -762,6 +772,7 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -770,6 +781,7 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.EntityId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -778,6 +790,7 @@ func awsRestjson1_deserializeOpDocumentCreateEntityOutput(v **CreateEntityOutput } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -951,6 +964,7 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -966,6 +980,7 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } } + case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -974,10 +989,12 @@ func awsRestjson1_deserializeOpDocumentCreateMetadataTransferJobOutput(v **Creat } sv.MetadataTransferJobId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -1148,6 +1165,7 @@ func awsRestjson1_deserializeOpDocumentCreateSceneOutput(v **CreateSceneOutput, } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1163,6 +1181,7 @@ func awsRestjson1_deserializeOpDocumentCreateSceneOutput(v **CreateSceneOutput, } } + default: _, _ = key, value @@ -1333,6 +1352,7 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1348,6 +1368,7 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } } + case "state": if value != nil { jtv, ok := value.(string) @@ -1356,6 +1377,7 @@ func awsRestjson1_deserializeOpDocumentCreateSyncJobOutput(v **CreateSyncJobOutp } sv.State = types.SyncJobState(jtv) } + default: _, _ = key, value @@ -1526,6 +1548,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1541,6 +1564,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkspaceOutput(v **CreateWorkspace } } + default: _, _ = key, value @@ -1708,6 +1732,7 @@ func awsRestjson1_deserializeOpDocumentDeleteComponentTypeOutput(v **DeleteCompo } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -1875,6 +1900,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEntityOutput(v **DeleteEntityOutput } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -2145,6 +2171,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSyncJobOutput(v **DeleteSyncJobOutp } sv.State = types.SyncJobState(jtv) } + default: _, _ = key, value @@ -2312,6 +2339,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkspaceOutput(v **DeleteWorkspace } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2478,6 +2506,7 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput if err := awsRestjson1_deserializeDocumentColumnDescriptions(&sv.ColumnDescriptions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2486,10 +2515,12 @@ func awsRestjson1_deserializeOpDocumentExecuteQueryOutput(v **ExecuteQueryOutput } sv.NextToken = ptr.String(jtv) } + case "rows": if err := awsRestjson1_deserializeDocumentRows(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -2657,6 +2688,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.Arn = ptr.String(jtv) } + case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -2665,6 +2697,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.ComponentTypeId = ptr.String(jtv) } + case "componentTypeName": if value != nil { jtv, ok := value.(string) @@ -2673,10 +2706,12 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.ComponentTypeName = ptr.String(jtv) } + case "compositeComponentTypes": if err := awsRestjson1_deserializeDocumentCompositeComponentTypesResponse(&sv.CompositeComponentTypes, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2692,6 +2727,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2700,14 +2736,17 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.Description = ptr.String(jtv) } + case "extendsFrom": if err := awsRestjson1_deserializeDocumentExtendsFrom(&sv.ExtendsFrom, value); err != nil { return err } + case "functions": if err := awsRestjson1_deserializeDocumentFunctionsResponse(&sv.Functions, value); err != nil { return err } + case "isAbstract": if value != nil { jtv, ok := value.(bool) @@ -2716,6 +2755,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsAbstract = ptr.Bool(jtv) } + case "isSchemaInitialized": if value != nil { jtv, ok := value.(bool) @@ -2724,6 +2764,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsSchemaInitialized = ptr.Bool(jtv) } + case "isSingleton": if value != nil { jtv, ok := value.(bool) @@ -2732,18 +2773,22 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.IsSingleton = ptr.Bool(jtv) } + case "propertyDefinitions": if err := awsRestjson1_deserializeDocumentPropertyDefinitionsResponse(&sv.PropertyDefinitions, value); err != nil { return err } + case "propertyGroups": if err := awsRestjson1_deserializeDocumentPropertyGroupsResponse(&sv.PropertyGroups, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -2752,6 +2797,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.SyncSource = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -2767,6 +2813,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -2775,6 +2822,7 @@ func awsRestjson1_deserializeOpDocumentGetComponentTypeOutput(v **GetComponentTy } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2942,6 +2990,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.AreAllComponentsReturned = ptr.Bool(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2950,10 +2999,12 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.Arn = ptr.String(jtv) } + case "components": if err := awsRestjson1_deserializeDocumentComponentsMap(&sv.Components, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2969,6 +3020,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2977,6 +3029,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.Description = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -2985,6 +3038,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.EntityId = ptr.String(jtv) } + case "entityName": if value != nil { jtv, ok := value.(string) @@ -2993,6 +3047,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.EntityName = ptr.String(jtv) } + case "hasChildEntities": if value != nil { jtv, ok := value.(bool) @@ -3001,6 +3056,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.HasChildEntities = ptr.Bool(jtv) } + case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -3009,10 +3065,12 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.ParentEntityId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -3021,6 +3079,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.SyncSource = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -3036,6 +3095,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -3044,6 +3104,7 @@ func awsRestjson1_deserializeOpDocumentGetEntityOutput(v **GetEntityOutput, valu } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3211,6 +3272,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3226,6 +3288,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3234,10 +3297,12 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.Description = ptr.String(jtv) } + case "destination": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.Destination, value); err != nil { return err } + case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -3246,6 +3311,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.MetadataTransferJobId = ptr.String(jtv) } + case "metadataTransferJobRole": if value != nil { jtv, ok := value.(string) @@ -3254,10 +3320,12 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.MetadataTransferJobRole = ptr.String(jtv) } + case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } + case "reportUrl": if value != nil { jtv, ok := value.(string) @@ -3266,14 +3334,17 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } sv.ReportUrl = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentSourceConfigurations(&sv.Sources, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -3289,6 +3360,7 @@ func awsRestjson1_deserializeOpDocumentGetMetadataTransferJobOutput(v **GetMetad } } + default: _, _ = key, value @@ -3449,10 +3521,12 @@ func awsRestjson1_deserializeOpDocumentGetPricingPlanOutput(v **GetPricingPlanOu if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.CurrentPricingPlan, value); err != nil { return err } + case "pendingPricingPlan": if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.PendingPricingPlan, value); err != nil { return err } + default: _, _ = key, value @@ -3626,14 +3700,17 @@ func awsRestjson1_deserializeOpDocumentGetPropertyValueOutput(v **GetPropertyVal } sv.NextToken = ptr.String(jtv) } + case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyLatestValueMap(&sv.PropertyValues, value); err != nil { return err } + case "tabularPropertyValues": if err := awsRestjson1_deserializeDocumentTabularPropertyValues(&sv.TabularPropertyValues, value); err != nil { return err } + default: _, _ = key, value @@ -3807,10 +3884,12 @@ func awsRestjson1_deserializeOpDocumentGetPropertyValueHistoryOutput(v **GetProp } sv.NextToken = ptr.String(jtv) } + case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyValueList(&sv.PropertyValues, value); err != nil { return err } + default: _, _ = key, value @@ -3978,10 +4057,12 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.Arn = ptr.String(jtv) } + case "capabilities": if err := awsRestjson1_deserializeDocumentSceneCapabilities(&sv.Capabilities, value); err != nil { return err } + case "contentLocation": if value != nil { jtv, ok := value.(string) @@ -3990,6 +4071,7 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.ContentLocation = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4005,6 +4087,7 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4013,14 +4096,17 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.Description = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentSceneError(&sv.Error, value); err != nil { return err } + case "generatedSceneMetadata": if err := awsRestjson1_deserializeDocumentGeneratedSceneMetadataMap(&sv.GeneratedSceneMetadata, value); err != nil { return err } + case "sceneId": if value != nil { jtv, ok := value.(string) @@ -4029,10 +4115,12 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.SceneId = ptr.String(jtv) } + case "sceneMetadata": if err := awsRestjson1_deserializeDocumentSceneMetadataMap(&sv.SceneMetadata, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4048,6 +4136,7 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4056,6 +4145,7 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4226,6 +4316,7 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4241,10 +4332,12 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } } + case "status": if err := awsRestjson1_deserializeDocumentSyncJobStatus(&sv.Status, value); err != nil { return err } + case "syncRole": if value != nil { jtv, ok := value.(string) @@ -4253,6 +4346,7 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.SyncRole = ptr.String(jtv) } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -4261,6 +4355,7 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.SyncSource = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4276,6 +4371,7 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4284,6 +4380,7 @@ func awsRestjson1_deserializeOpDocumentGetSyncJobOutput(v **GetSyncJobOutput, va } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4451,6 +4548,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -4466,6 +4564,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4474,10 +4573,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Description = ptr.String(jtv) } + case "linkedServices": if err := awsRestjson1_deserializeDocumentLinkedServices(&sv.LinkedServices, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -4486,6 +4587,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.Role = ptr.String(jtv) } + case "s3Location": if value != nil { jtv, ok := value.(string) @@ -4494,6 +4596,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.S3Location = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -4509,6 +4612,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4517,6 +4621,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkspaceOutput(v **GetWorkspaceOutput } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4680,6 +4785,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaries(&sv.ComponentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4688,6 +4794,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4848,6 +4955,7 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen if err := awsRestjson1_deserializeDocumentComponentTypeSummaries(&sv.ComponentTypeSummaries, value); err != nil { return err } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -4860,6 +4968,7 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4868,6 +4977,7 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.NextToken = ptr.String(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -4876,6 +4986,7 @@ func awsRestjson1_deserializeOpDocumentListComponentTypesOutput(v **ListComponen } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5036,6 +5147,7 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput if err := awsRestjson1_deserializeDocumentEntitySummaries(&sv.EntitySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5044,6 +5156,7 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5204,6 +5317,7 @@ func awsRestjson1_deserializeOpDocumentListMetadataTransferJobsOutput(v **ListMe if err := awsRestjson1_deserializeDocumentMetadataTransferJobSummaries(&sv.MetadataTransferJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5212,6 +5326,7 @@ func awsRestjson1_deserializeOpDocumentListMetadataTransferJobsOutput(v **ListMe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5379,10 +5494,12 @@ func awsRestjson1_deserializeOpDocumentListPropertiesOutput(v **ListPropertiesOu } sv.NextToken = ptr.String(jtv) } + case "propertySummaries": if err := awsRestjson1_deserializeDocumentPropertySummaries(&sv.PropertySummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5547,10 +5664,12 @@ func awsRestjson1_deserializeOpDocumentListScenesOutput(v **ListScenesOutput, va } sv.NextToken = ptr.String(jtv) } + case "sceneSummaries": if err := awsRestjson1_deserializeDocumentSceneSummaries(&sv.SceneSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5718,10 +5837,12 @@ func awsRestjson1_deserializeOpDocumentListSyncJobsOutput(v **ListSyncJobsOutput } sv.NextToken = ptr.String(jtv) } + case "syncJobSummaries": if err := awsRestjson1_deserializeDocumentSyncJobSummaries(&sv.SyncJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5889,10 +6010,12 @@ func awsRestjson1_deserializeOpDocumentListSyncResourcesOutput(v **ListSyncResou } sv.NextToken = ptr.String(jtv) } + case "syncResources": if err := awsRestjson1_deserializeDocumentSyncResourceSummaries(&sv.SyncResources, value); err != nil { return err } + default: _, _ = key, value @@ -6051,10 +6174,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6219,10 +6344,12 @@ func awsRestjson1_deserializeOpDocumentListWorkspacesOutput(v **ListWorkspacesOu } sv.NextToken = ptr.String(jtv) } + case "workspaceSummaries": if err := awsRestjson1_deserializeDocumentWorkspaceSummaries(&sv.WorkspaceSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -6578,6 +6705,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.Arn = ptr.String(jtv) } + case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -6586,6 +6714,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.ComponentTypeId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6594,6 +6723,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.State = types.State(jtv) } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -6602,6 +6732,7 @@ func awsRestjson1_deserializeOpDocumentUpdateComponentTypeOutput(v **UpdateCompo } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6775,6 +6906,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEntityOutput(v **UpdateEntityOutput } sv.State = types.State(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -6790,6 +6922,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEntityOutput(v **UpdateEntityOutput } } + default: _, _ = key, value @@ -6950,10 +7083,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePricingPlanOutput(v **UpdatePricing if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.CurrentPricingPlan, value); err != nil { return err } + case "pendingPricingPlan": if err := awsRestjson1_deserializeDocumentPricingPlan(&sv.PendingPricingPlan, value); err != nil { return err } + default: _, _ = key, value @@ -7128,6 +7263,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSceneOutput(v **UpdateSceneOutput, } } + default: _, _ = key, value @@ -7305,6 +7441,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkspaceOutput(v **UpdateWorkspace } } + default: _, _ = key, value @@ -7740,6 +7877,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7775,6 +7913,7 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro if err := awsRestjson1_deserializeDocumentPropertyValueEntry(&sv.Entry, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -7783,6 +7922,7 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -7791,6 +7931,7 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyError(v **types.BatchPutPro } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7826,6 +7967,7 @@ func awsRestjson1_deserializeDocumentBatchPutPropertyErrorEntry(v **types.BatchP if err := awsRestjson1_deserializeDocumentErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -7861,6 +8003,7 @@ func awsRestjson1_deserializeDocumentBundleInformation(v **types.BundleInformati if err := awsRestjson1_deserializeDocumentPricingBundles(&sv.BundleNames, value); err != nil { return err } + case "pricingTier": if value != nil { jtv, ok := value.(string) @@ -7869,6 +8012,7 @@ func awsRestjson1_deserializeDocumentBundleInformation(v **types.BundleInformati } sv.PricingTier = types.PricingTier(jtv) } + default: _, _ = key, value @@ -7908,6 +8052,7 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7916,6 +8061,7 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Type = types.ColumnType(jtv) } + default: _, _ = key, value @@ -7989,6 +8135,7 @@ func awsRestjson1_deserializeDocumentComponentPropertyGroupResponse(v **types.Co } sv.GroupType = types.GroupType(jtv) } + case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -7997,10 +8144,12 @@ func awsRestjson1_deserializeDocumentComponentPropertyGroupResponse(v **types.Co } sv.IsInherited = ptr.Bool(jtv) } + case "propertyNames": if err := awsRestjson1_deserializeDocumentPropertyNames(&sv.PropertyNames, value); err != nil { return err } + default: _, _ = key, value @@ -8075,6 +8224,7 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.AreAllCompositeComponentsReturned = ptr.Bool(jtv) } + case "areAllPropertiesReturned": if value != nil { jtv, ok := value.(bool) @@ -8083,6 +8233,7 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.AreAllPropertiesReturned = ptr.Bool(jtv) } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -8091,6 +8242,7 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.ComponentName = ptr.String(jtv) } + case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8099,10 +8251,12 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.ComponentTypeId = ptr.String(jtv) } + case "compositeComponents": if err := awsRestjson1_deserializeDocumentCompositeComponentResponse(&sv.CompositeComponents, value); err != nil { return err } + case "definedIn": if value != nil { jtv, ok := value.(string) @@ -8111,6 +8265,7 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.DefinedIn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8119,18 +8274,22 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.Description = ptr.String(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentPropertyResponses(&sv.Properties, value); err != nil { return err } + case "propertyGroups": if err := awsRestjson1_deserializeDocumentComponentPropertyGroupResponses(&sv.PropertyGroups, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -8139,6 +8298,7 @@ func awsRestjson1_deserializeDocumentComponentResponse(v **types.ComponentRespon } sv.SyncSource = ptr.String(jtv) } + default: _, _ = key, value @@ -8247,6 +8407,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentName = ptr.String(jtv) } + case "componentPath": if value != nil { jtv, ok := value.(string) @@ -8255,6 +8416,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentPath = ptr.String(jtv) } + case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8263,6 +8425,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentTypeId = ptr.String(jtv) } + case "definedIn": if value != nil { jtv, ok := value.(string) @@ -8271,6 +8434,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DefinedIn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8279,14 +8443,17 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Description = ptr.String(jtv) } + case "propertyGroups": if err := awsRestjson1_deserializeDocumentComponentPropertyGroupResponses(&sv.PropertyGroups, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -8295,6 +8462,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.SyncSource = ptr.String(jtv) } + default: _, _ = key, value @@ -8368,6 +8536,7 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.Arn = ptr.String(jtv) } + case "componentTypeId": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8545,7 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.ComponentTypeId = ptr.String(jtv) } + case "componentTypeName": if value != nil { jtv, ok := value.(string) @@ -8384,6 +8554,7 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.ComponentTypeName = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8399,6 +8570,7 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8407,10 +8579,12 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } sv.Description = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -8426,6 +8600,7 @@ func awsRestjson1_deserializeDocumentComponentTypeSummary(v **types.ComponentTyp } } + default: _, _ = key, value @@ -8500,6 +8675,7 @@ func awsRestjson1_deserializeDocumentCompositeComponentTypeResponse(v **types.Co } sv.ComponentTypeId = ptr.String(jtv) } + case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -8508,6 +8684,7 @@ func awsRestjson1_deserializeDocumentCompositeComponentTypeResponse(v **types.Co } sv.IsInherited = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8618,6 +8795,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8657,6 +8835,7 @@ func awsRestjson1_deserializeDocumentConnectorFailureException(v **types.Connect } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8696,6 +8875,7 @@ func awsRestjson1_deserializeDocumentConnectorTimeoutException(v **types.Connect } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8735,10 +8915,12 @@ func awsRestjson1_deserializeDocumentDataConnector(v **types.DataConnector, valu } sv.IsNative = ptr.Bool(jtv) } + case "lambda": if err := awsRestjson1_deserializeDocumentLambdaFunction(&sv.Lambda, value); err != nil { return err } + default: _, _ = key, value @@ -8774,14 +8956,17 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac if err := awsRestjson1_deserializeDocumentDataValueList(&sv.AllowedValues, value); err != nil { return err } + case "nestedType": if err := awsRestjson1_deserializeDocumentDataType(&sv.NestedType, value); err != nil { return err } + case "relationship": if err := awsRestjson1_deserializeDocumentRelationship(&sv.Relationship, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8790,6 +8975,7 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac } sv.Type = types.Type(jtv) } + case "unitOfMeasure": if value != nil { jtv, ok := value.(string) @@ -8798,6 +8984,7 @@ func awsRestjson1_deserializeDocumentDataType(v **types.DataType, value interfac } sv.UnitOfMeasure = ptr.String(jtv) } + default: _, _ = key, value @@ -8837,6 +9024,7 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.BooleanValue = ptr.Bool(jtv) } + case "doubleValue": if value != nil { switch jtv := value.(type) { @@ -8870,6 +9058,7 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } } + case "expression": if value != nil { jtv, ok := value.(string) @@ -8878,6 +9067,7 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.Expression = ptr.String(jtv) } + case "integerValue": if value != nil { jtv, ok := value.(json.Number) @@ -8890,10 +9080,12 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.IntegerValue = ptr.Int32(int32(i64)) } + case "listValue": if err := awsRestjson1_deserializeDocumentDataValueList(&sv.ListValue, value); err != nil { return err } + case "longValue": if value != nil { jtv, ok := value.(json.Number) @@ -8906,14 +9098,17 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.LongValue = ptr.Int64(i64) } + case "mapValue": if err := awsRestjson1_deserializeDocumentDataValueMap(&sv.MapValue, value); err != nil { return err } + case "relationshipValue": if err := awsRestjson1_deserializeDocumentRelationshipValue(&sv.RelationshipValue, value); err != nil { return err } + case "stringValue": if value != nil { jtv, ok := value.(string) @@ -8922,6 +9117,7 @@ func awsRestjson1_deserializeDocumentDataValue(v **types.DataValue, value interf } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -9026,10 +9222,12 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentIotTwinMakerDestinationConfiguration(&sv.IotTwinMakerConfiguration, value); err != nil { return err } + case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3Configuration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9038,6 +9236,7 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.Type = types.DestinationType(jtv) } + default: _, _ = key, value @@ -9077,6 +9276,7 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.ComponentName = ptr.String(jtv) } + case "componentPath": if value != nil { jtv, ok := value.(string) @@ -9085,6 +9285,7 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.ComponentPath = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -9093,10 +9294,12 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.EntityId = ptr.String(jtv) } + case "externalIdProperty": if err := awsRestjson1_deserializeDocumentExternalIdProperty(&sv.ExternalIdProperty, value); err != nil { return err } + case "propertyName": if value != nil { jtv, ok := value.(string) @@ -9105,6 +9308,7 @@ func awsRestjson1_deserializeDocumentEntityPropertyReference(v **types.EntityPro } sv.PropertyName = ptr.String(jtv) } + default: _, _ = key, value @@ -9178,6 +9382,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9193,6 +9398,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9201,6 +9407,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Description = ptr.String(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -9209,6 +9416,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityId = ptr.String(jtv) } + case "entityName": if value != nil { jtv, ok := value.(string) @@ -9217,6 +9425,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityName = ptr.String(jtv) } + case "hasChildEntities": if value != nil { jtv, ok := value.(bool) @@ -9225,6 +9434,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.HasChildEntities = ptr.Bool(jtv) } + case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -9233,10 +9443,12 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.ParentEntityId = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -9252,6 +9464,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } } + default: _, _ = key, value @@ -9291,6 +9504,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = types.ErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -9299,6 +9513,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9478,6 +9693,7 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.AssetExternalId = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -9486,6 +9702,7 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.AssetId = ptr.String(jtv) } + case "includeAssetModel": if value != nil { jtv, ok := value.(bool) @@ -9494,6 +9711,7 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.IncludeAssetModel = ptr.Bool(jtv) } + case "includeOffspring": if value != nil { jtv, ok := value.(bool) @@ -9502,6 +9720,7 @@ func awsRestjson1_deserializeDocumentFilterByAsset(v **types.FilterByAsset, valu } sv.IncludeOffspring = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9541,6 +9760,7 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.AssetModelExternalId = ptr.String(jtv) } + case "assetModelId": if value != nil { jtv, ok := value.(string) @@ -9549,6 +9769,7 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.AssetModelId = ptr.String(jtv) } + case "includeAssets": if value != nil { jtv, ok := value.(bool) @@ -9557,6 +9778,7 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.IncludeAssets = ptr.Bool(jtv) } + case "includeOffspring": if value != nil { jtv, ok := value.(bool) @@ -9565,6 +9787,7 @@ func awsRestjson1_deserializeDocumentFilterByAssetModel(v **types.FilterByAssetM } sv.IncludeOffspring = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9604,6 +9827,7 @@ func awsRestjson1_deserializeDocumentFilterByComponentType(v **types.FilterByCom } sv.ComponentTypeId = ptr.String(jtv) } + default: _, _ = key, value @@ -9643,6 +9867,7 @@ func awsRestjson1_deserializeDocumentFilterByEntity(v **types.FilterByEntity, va } sv.EntityId = ptr.String(jtv) } + default: _, _ = key, value @@ -9678,6 +9903,7 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse if err := awsRestjson1_deserializeDocumentDataConnector(&sv.ImplementedBy, value); err != nil { return err } + case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -9686,10 +9912,12 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse } sv.IsInherited = ptr.Bool(jtv) } + case "requiredProperties": if err := awsRestjson1_deserializeDocumentRequiredProperties(&sv.RequiredProperties, value); err != nil { return err } + case "scope": if value != nil { jtv, ok := value.(string) @@ -9698,6 +9926,7 @@ func awsRestjson1_deserializeDocumentFunctionResponse(v **types.FunctionResponse } sv.Scope = types.Scope(jtv) } + default: _, _ = key, value @@ -9808,6 +10037,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9843,6 +10073,7 @@ func awsRestjson1_deserializeDocumentIotSiteWiseSourceConfiguration(v **types.Io if err := awsRestjson1_deserializeDocumentIotSiteWiseSourceConfigurationFilters(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -9964,6 +10195,7 @@ func awsRestjson1_deserializeDocumentIotTwinMakerDestinationConfiguration(v **ty } sv.Workspace = ptr.String(jtv) } + default: _, _ = key, value @@ -9999,6 +10231,7 @@ func awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(v **types.I if err := awsRestjson1_deserializeDocumentIotTwinMakerSourceConfigurationFilters(&sv.Filters, value); err != nil { return err } + case "workspace": if value != nil { jtv, ok := value.(string) @@ -10007,6 +10240,7 @@ func awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(v **types.I } sv.Workspace = ptr.String(jtv) } + default: _, _ = key, value @@ -10128,6 +10362,7 @@ func awsRestjson1_deserializeDocumentLambdaFunction(v **types.LambdaFunction, va } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -10207,6 +10442,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.FailedCount = ptr.Int32(int32(i64)) } + case "skippedCount": if value != nil { jtv, ok := value.(json.Number) @@ -10219,6 +10455,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.SkippedCount = ptr.Int32(int32(i64)) } + case "succeededCount": if value != nil { jtv, ok := value.(json.Number) @@ -10231,6 +10468,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.SucceededCount = ptr.Int32(int32(i64)) } + case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -10243,6 +10481,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobProgress(v **types.Metad } sv.TotalCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10278,6 +10517,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "queuedPosition": if value != nil { jtv, ok := value.(json.Number) @@ -10290,6 +10530,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat } sv.QueuedPosition = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -10298,6 +10539,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobStatus(v **types.Metadat } sv.State = types.MetadataTransferJobState(jtv) } + default: _, _ = key, value @@ -10371,6 +10613,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -10386,6 +10629,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } } + case "metadataTransferJobId": if value != nil { jtv, ok := value.(string) @@ -10394,14 +10638,17 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } sv.MetadataTransferJobId = ptr.String(jtv) } + case "progress": if err := awsRestjson1_deserializeDocumentMetadataTransferJobProgress(&sv.Progress, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentMetadataTransferJobStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -10417,6 +10664,7 @@ func awsRestjson1_deserializeDocumentMetadataTransferJobSummary(v **types.Metada } } + default: _, _ = key, value @@ -10496,10 +10744,12 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.BillableEntityCount = ptr.Int64(i64) } + case "bundleInformation": if err := awsRestjson1_deserializeDocumentBundleInformation(&sv.BundleInformation, value); err != nil { return err } + case "effectiveDateTime": if value != nil { switch jtv := value.(type) { @@ -10515,6 +10765,7 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } } + case "pricingMode": if value != nil { jtv, ok := value.(string) @@ -10523,6 +10774,7 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.PricingMode = types.PricingMode(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -10538,6 +10790,7 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } } + case "updateReason": if value != nil { jtv, ok := value.(string) @@ -10546,6 +10799,7 @@ func awsRestjson1_deserializeDocumentPricingPlan(v **types.PricingPlan, value in } sv.UpdateReason = types.UpdateReason(jtv) } + default: _, _ = key, value @@ -10581,14 +10835,17 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } + case "dataType": if err := awsRestjson1_deserializeDocumentDataType(&sv.DataType, value); err != nil { return err } + case "defaultValue": if err := awsRestjson1_deserializeDocumentDataValue(&sv.DefaultValue, value); err != nil { return err } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -10597,6 +10854,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.DisplayName = ptr.String(jtv) } + case "isExternalId": if value != nil { jtv, ok := value.(bool) @@ -10605,6 +10863,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsExternalId = ptr.Bool(jtv) } + case "isFinal": if value != nil { jtv, ok := value.(bool) @@ -10613,6 +10872,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsFinal = ptr.Bool(jtv) } + case "isImported": if value != nil { jtv, ok := value.(bool) @@ -10621,6 +10881,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsImported = ptr.Bool(jtv) } + case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -10629,6 +10890,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsInherited = ptr.Bool(jtv) } + case "isRequiredInEntity": if value != nil { jtv, ok := value.(bool) @@ -10637,6 +10899,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsRequiredInEntity = ptr.Bool(jtv) } + case "isStoredExternally": if value != nil { jtv, ok := value.(bool) @@ -10645,6 +10908,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsStoredExternally = ptr.Bool(jtv) } + case "isTimeSeries": if value != nil { jtv, ok := value.(bool) @@ -10653,6 +10917,7 @@ func awsRestjson1_deserializeDocumentPropertyDefinitionResponse(v **types.Proper } sv.IsTimeSeries = ptr.Bool(jtv) } + default: _, _ = key, value @@ -10727,6 +10992,7 @@ func awsRestjson1_deserializeDocumentPropertyGroupResponse(v **types.PropertyGro } sv.GroupType = types.GroupType(jtv) } + case "isInherited": if value != nil { jtv, ok := value.(bool) @@ -10735,10 +11001,12 @@ func awsRestjson1_deserializeDocumentPropertyGroupResponse(v **types.PropertyGro } sv.IsInherited = ptr.Bool(jtv) } + case "propertyNames": if err := awsRestjson1_deserializeDocumentPropertyNames(&sv.PropertyNames, value); err != nil { return err } + default: _, _ = key, value @@ -10809,10 +11077,12 @@ func awsRestjson1_deserializeDocumentPropertyLatestValue(v **types.PropertyLates if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.PropertyReference, value); err != nil { return err } + case "propertyValue": if err := awsRestjson1_deserializeDocumentDataValue(&sv.PropertyValue, value); err != nil { return err } + default: _, _ = key, value @@ -10923,14 +11193,17 @@ func awsRestjson1_deserializeDocumentPropertyResponse(v **types.PropertyResponse } sv.AreAllPropertyValuesReturned = ptr.Bool(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentPropertyDefinitionResponse(&sv.Definition, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -11039,10 +11312,12 @@ func awsRestjson1_deserializeDocumentPropertySummary(v **types.PropertySummary, } sv.AreAllPropertyValuesReturned = ptr.Bool(jtv) } + case "definition": if err := awsRestjson1_deserializeDocumentPropertyDefinitionResponse(&sv.Definition, value); err != nil { return err } + case "propertyName": if value != nil { jtv, ok := value.(string) @@ -11051,10 +11326,12 @@ func awsRestjson1_deserializeDocumentPropertySummary(v **types.PropertySummary, } sv.PropertyName = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -11129,6 +11406,7 @@ func awsRestjson1_deserializeDocumentPropertyValue(v **types.PropertyValue, valu } sv.Time = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -11144,10 +11422,12 @@ func awsRestjson1_deserializeDocumentPropertyValue(v **types.PropertyValue, valu } } + case "value": if err := awsRestjson1_deserializeDocumentDataValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -11183,10 +11463,12 @@ func awsRestjson1_deserializeDocumentPropertyValueEntry(v **types.PropertyValueE if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.EntityPropertyReference, value); err != nil { return err } + case "propertyValues": if err := awsRestjson1_deserializeDocumentPropertyValues(&sv.PropertyValues, value); err != nil { return err } + default: _, _ = key, value @@ -11222,10 +11504,12 @@ func awsRestjson1_deserializeDocumentPropertyValueHistory(v **types.PropertyValu if err := awsRestjson1_deserializeDocumentEntityPropertyReference(&sv.EntityPropertyReference, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -11341,6 +11625,7 @@ func awsRestjson1_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11380,6 +11665,7 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.RelationshipType = ptr.String(jtv) } + case "targetComponentTypeId": if value != nil { jtv, ok := value.(string) @@ -11388,6 +11674,7 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.TargetComponentTypeId = ptr.String(jtv) } + default: _, _ = key, value @@ -11427,6 +11714,7 @@ func awsRestjson1_deserializeDocumentRelationshipValue(v **types.RelationshipVal } sv.TargetComponentName = ptr.String(jtv) } + case "targetEntityId": if value != nil { jtv, ok := value.(string) @@ -11435,6 +11723,7 @@ func awsRestjson1_deserializeDocumentRelationshipValue(v **types.RelationshipVal } sv.TargetEntityId = ptr.String(jtv) } + default: _, _ = key, value @@ -11510,6 +11799,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11545,6 +11835,7 @@ func awsRestjson1_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsRestjson1_deserializeDocumentRowData(&sv.RowData, value); err != nil { return err } + default: _, _ = key, value @@ -11650,6 +11941,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -11689,6 +11981,7 @@ func awsRestjson1_deserializeDocumentS3SourceConfiguration(v **types.S3SourceCon } sv.Location = ptr.String(jtv) } + default: _, _ = key, value @@ -11764,6 +12057,7 @@ func awsRestjson1_deserializeDocumentSceneError(v **types.SceneError, value inte } sv.Code = types.SceneErrorCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11772,6 +12066,7 @@ func awsRestjson1_deserializeDocumentSceneError(v **types.SceneError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11881,6 +12176,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.Arn = ptr.String(jtv) } + case "contentLocation": if value != nil { jtv, ok := value.(string) @@ -11889,6 +12185,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.ContentLocation = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -11904,6 +12201,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11912,6 +12210,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.Description = ptr.String(jtv) } + case "sceneId": if value != nil { jtv, ok := value.(string) @@ -11920,6 +12219,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } sv.SceneId = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -11935,6 +12235,7 @@ func awsRestjson1_deserializeDocumentSceneSummary(v **types.SceneSummary, value } } + default: _, _ = key, value @@ -11974,6 +12275,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12009,14 +12311,17 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu if err := awsRestjson1_deserializeDocumentIotSiteWiseSourceConfiguration(&sv.IotSiteWiseConfiguration, value); err != nil { return err } + case "iotTwinMakerConfiguration": if err := awsRestjson1_deserializeDocumentIotTwinMakerSourceConfiguration(&sv.IotTwinMakerConfiguration, value); err != nil { return err } + case "s3Configuration": if err := awsRestjson1_deserializeDocumentS3SourceConfiguration(&sv.S3Configuration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -12025,6 +12330,7 @@ func awsRestjson1_deserializeDocumentSourceConfiguration(v **types.SourceConfigu } sv.Type = types.SourceType(jtv) } + default: _, _ = key, value @@ -12094,6 +12400,7 @@ func awsRestjson1_deserializeDocumentStatus(v **types.Status, value interface{}) if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -12102,6 +12409,7 @@ func awsRestjson1_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -12137,6 +12445,7 @@ func awsRestjson1_deserializeDocumentSyncJobStatus(v **types.SyncJobStatus, valu if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -12145,6 +12454,7 @@ func awsRestjson1_deserializeDocumentSyncJobStatus(v **types.SyncJobStatus, valu } sv.State = types.SyncJobState(jtv) } + default: _, _ = key, value @@ -12218,6 +12528,7 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12233,10 +12544,12 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } } + case "status": if err := awsRestjson1_deserializeDocumentSyncJobStatus(&sv.Status, value); err != nil { return err } + case "syncSource": if value != nil { jtv, ok := value.(string) @@ -12245,6 +12558,7 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.SyncSource = ptr.String(jtv) } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12260,6 +12574,7 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -12268,6 +12583,7 @@ func awsRestjson1_deserializeDocumentSyncJobSummary(v **types.SyncJobSummary, va } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12303,6 +12619,7 @@ func awsRestjson1_deserializeDocumentSyncResourceStatus(v **types.SyncResourceSt if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.Error, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -12311,6 +12628,7 @@ func awsRestjson1_deserializeDocumentSyncResourceStatus(v **types.SyncResourceSt } sv.State = types.SyncResourceState(jtv) } + default: _, _ = key, value @@ -12384,6 +12702,7 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ExternalId = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -12392,6 +12711,7 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -12400,10 +12720,12 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } sv.ResourceType = types.SyncResourceType(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentSyncResourceStatus(&sv.Status, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12419,6 +12741,7 @@ func awsRestjson1_deserializeDocumentSyncResourceSummary(v **types.SyncResourceS } } + default: _, _ = key, value @@ -12558,6 +12881,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12597,6 +12921,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12636,6 +12961,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12743,6 +13069,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12758,6 +13085,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } + case "description": if value != nil { jtv, ok := value.(string) @@ -12766,10 +13094,12 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.Description = ptr.String(jtv) } + case "linkedServices": if err := awsRestjson1_deserializeDocumentLinkedServices(&sv.LinkedServices, value); err != nil { return err } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -12785,6 +13115,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } } + case "workspaceId": if value != nil { jtv, ok := value.(string) @@ -12793,6 +13124,7 @@ func awsRestjson1_deserializeDocumentWorkspaceSummary(v **types.WorkspaceSummary } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/iotwireless/deserializers.go b/service/iotwireless/deserializers.go index c6f1873e93c..7ca9ba7c963 100644 --- a/service/iotwireless/deserializers.go +++ b/service/iotwireless/deserializers.go @@ -191,10 +191,12 @@ func awsRestjson1_deserializeOpDocumentAssociateAwsAccountWithPartnerAccountOutp } sv.Arn = ptr.String(jtv) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountInfo(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -777,6 +779,7 @@ func awsRestjson1_deserializeOpDocumentAssociateWirelessGatewayWithCertificateOu } sv.IotCertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -1153,6 +1156,7 @@ func awsRestjson1_deserializeOpDocumentCreateDestinationOutput(v **CreateDestina } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1161,6 +1165,7 @@ func awsRestjson1_deserializeOpDocumentCreateDestinationOutput(v **CreateDestina } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1328,6 +1333,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceProfileOutput(v **CreateDevic } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1336,6 +1342,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceProfileOutput(v **CreateDevic } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1506,6 +1513,7 @@ func awsRestjson1_deserializeOpDocumentCreateFuotaTaskOutput(v **CreateFuotaTask } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1514,6 +1522,7 @@ func awsRestjson1_deserializeOpDocumentCreateFuotaTaskOutput(v **CreateFuotaTask } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1684,6 +1693,7 @@ func awsRestjson1_deserializeOpDocumentCreateMulticastGroupOutput(v **CreateMult } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1692,6 +1702,7 @@ func awsRestjson1_deserializeOpDocumentCreateMulticastGroupOutput(v **CreateMult } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1862,6 +1873,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkAnalyzerConfigurationOutput( } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1870,6 +1882,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkAnalyzerConfigurationOutput( } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2037,6 +2050,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceProfileOutput(v **CreateServ } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2045,6 +2059,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceProfileOutput(v **CreateServ } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2215,6 +2230,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessDeviceOutput(v **CreateWire } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2223,6 +2239,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessDeviceOutput(v **CreateWire } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2390,6 +2407,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayOutput(v **CreateWir } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2398,6 +2416,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayOutput(v **CreateWir } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2568,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskOutput(v **Creat } sv.Status = types.WirelessGatewayTaskStatus(jtv) } + case "WirelessGatewayTaskDefinitionId": if value != nil { jtv, ok := value.(string) @@ -2576,6 +2596,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskOutput(v **Creat } sv.WirelessGatewayTaskDefinitionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2746,6 +2767,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskDefinitionOutput } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2754,6 +2776,7 @@ func awsRestjson1_deserializeOpDocumentCreateWirelessGatewayTaskDefinitionOutput } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4942,6 +4965,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4950,6 +4974,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Description = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -4958,6 +4983,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Expression = ptr.String(jtv) } + case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -4966,6 +4992,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.ExpressionType = types.ExpressionType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4974,6 +5001,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -4982,6 +5010,7 @@ func awsRestjson1_deserializeOpDocumentGetDestinationOutput(v **GetDestinationOu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5149,6 +5178,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5157,10 +5187,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5169,10 +5201,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceProfileOutput(v **GetDeviceProfi } sv.Name = ptr.String(jtv) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -5330,22 +5364,27 @@ func awsRestjson1_deserializeOpDocumentGetEventConfigurationByResourceTypesOutpu if err := awsRestjson1_deserializeDocumentConnectionStatusResourceTypeEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } + case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateResourceTypeEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } + case "Join": if err := awsRestjson1_deserializeDocumentJoinResourceTypeEventConfiguration(&sv.Join, value); err != nil { return err } + case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusResourceTypeEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } + case "Proximity": if err := awsRestjson1_deserializeDocumentProximityResourceTypeEventConfiguration(&sv.Proximity, value); err != nil { return err } + default: _, _ = key, value @@ -5513,6 +5552,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5528,6 +5568,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5536,6 +5577,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Description = ptr.String(jtv) } + case "FirmwareUpdateImage": if value != nil { jtv, ok := value.(string) @@ -5544,6 +5586,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FirmwareUpdateImage = ptr.String(jtv) } + case "FirmwareUpdateRole": if value != nil { jtv, ok := value.(string) @@ -5552,6 +5595,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FirmwareUpdateRole = ptr.String(jtv) } + case "FragmentIntervalMS": if value != nil { jtv, ok := value.(json.Number) @@ -5564,6 +5608,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FragmentIntervalMS = ptr.Int32(int32(i64)) } + case "FragmentSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5576,6 +5621,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.FragmentSizeBytes = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5584,10 +5630,12 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5596,6 +5644,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Name = ptr.String(jtv) } + case "RedundancyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -5608,6 +5657,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.RedundancyPercent = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5616,6 +5666,7 @@ func awsRestjson1_deserializeOpDocumentGetFuotaTaskOutput(v **GetFuotaTaskOutput } sv.Status = types.FuotaTaskStatus(jtv) } + default: _, _ = key, value @@ -5783,14 +5834,17 @@ func awsRestjson1_deserializeOpDocumentGetLogLevelsByResourceTypesOutput(v **Get } sv.DefaultLogLevel = types.LogLevel(jtv) } + case "WirelessDeviceLogOptions": if err := awsRestjson1_deserializeDocumentWirelessDeviceLogOptionList(&sv.WirelessDeviceLogOptions, value); err != nil { return err } + case "WirelessGatewayLogOptions": if err := awsRestjson1_deserializeDocumentWirelessGatewayLogOptionList(&sv.WirelessGatewayLogOptions, value); err != nil { return err } + default: _, _ = key, value @@ -5957,6 +6011,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricConfigurationOutput(v **GetMetri if err := awsRestjson1_deserializeDocumentSummaryMetricConfiguration(&sv.SummaryMetric, value); err != nil { return err } + default: _, _ = key, value @@ -6123,6 +6178,7 @@ func awsRestjson1_deserializeOpDocumentGetMetricsOutput(v **GetMetricsOutput, va if err := awsRestjson1_deserializeDocumentSummaryMetricQueryResults(&sv.SummaryMetricQueryResults, value); err != nil { return err } + default: _, _ = key, value @@ -6290,6 +6346,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6305,6 +6362,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6313,6 +6371,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6321,10 +6380,12 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANMulticastGet(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6333,6 +6394,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6341,6 +6403,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupOutput(v **GetMulticastG } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -6504,6 +6567,7 @@ func awsRestjson1_deserializeOpDocumentGetMulticastGroupSessionOutput(v **GetMul if err := awsRestjson1_deserializeDocumentLoRaWANMulticastSession(&sv.LoRaWAN, value); err != nil { return err } + default: _, _ = key, value @@ -6671,6 +6735,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6679,10 +6744,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Description = ptr.String(jtv) } + case "MulticastGroups": if err := awsRestjson1_deserializeDocumentNetworkAnalyzerMulticastGroupList(&sv.MulticastGroups, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6691,18 +6758,22 @@ func awsRestjson1_deserializeOpDocumentGetNetworkAnalyzerConfigurationOutput(v * } sv.Name = ptr.String(jtv) } + case "TraceContent": if err := awsRestjson1_deserializeDocumentTraceContent(&sv.TraceContent, value); err != nil { return err } + case "WirelessDevices": if err := awsRestjson1_deserializeDocumentWirelessDeviceList(&sv.WirelessDevices, value); err != nil { return err } + case "WirelessGateways": if err := awsRestjson1_deserializeDocumentWirelessGatewayList(&sv.WirelessGateways, value); err != nil { return err } + default: _, _ = key, value @@ -6867,10 +6938,12 @@ func awsRestjson1_deserializeOpDocumentGetPartnerAccountOutput(v **GetPartnerAcc } sv.AccountLinked = jtv } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -7034,10 +7107,12 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, if err := awsRestjson1_deserializeDocumentAccuracy(&sv.Accuracy, value); err != nil { return err } + case "Position": if err := awsRestjson1_deserializeDocumentPositionCoordinate(&sv.Position, value); err != nil { return err } + case "SolverProvider": if value != nil { jtv, ok := value.(string) @@ -7046,6 +7121,7 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverProvider = types.PositionSolverProvider(jtv) } + case "SolverType": if value != nil { jtv, ok := value.(string) @@ -7054,6 +7130,7 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverType = types.PositionSolverType(jtv) } + case "SolverVersion": if value != nil { jtv, ok := value.(string) @@ -7062,6 +7139,7 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.SolverVersion = ptr.String(jtv) } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -7070,6 +7148,7 @@ func awsRestjson1_deserializeOpDocumentGetPositionOutput(v **GetPositionOutput, } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -7237,10 +7316,12 @@ func awsRestjson1_deserializeOpDocumentGetPositionConfigurationOutput(v **GetPos } sv.Destination = ptr.String(jtv) } + case "Solvers": if err := awsRestjson1_deserializeDocumentPositionSolverDetails(&sv.Solvers, value); err != nil { return err } + default: _, _ = key, value @@ -7531,22 +7612,27 @@ func awsRestjson1_deserializeOpDocumentGetResourceEventConfigurationOutput(v **G if err := awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } + case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } + case "Join": if err := awsRestjson1_deserializeDocumentJoinEventConfiguration(&sv.Join, value); err != nil { return err } + case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } + case "Proximity": if err := awsRestjson1_deserializeDocumentProximityEventConfiguration(&sv.Proximity, value); err != nil { return err } + default: _, _ = key, value @@ -7714,6 +7800,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceLogLevelOutput(v **GetResource } sv.LogLevel = types.LogLevel(jtv) } + default: _, _ = key, value @@ -8005,6 +8092,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServerTrust = ptr.String(jtv) } + case "ServiceEndpoint": if value != nil { jtv, ok := value.(string) @@ -8013,6 +8101,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServiceEndpoint = ptr.String(jtv) } + case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -8021,6 +8110,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceEndpointOutput(v **GetServiceEn } sv.ServiceType = types.WirelessGatewayServiceType(jtv) } + default: _, _ = key, value @@ -8188,6 +8278,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8196,10 +8287,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8208,6 +8301,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceProfileOutput(v **GetServicePro } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8375,6 +8469,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8383,6 +8478,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Description = ptr.String(jtv) } + case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -8391,6 +8487,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.DestinationName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8399,10 +8496,12 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDevice(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8411,6 +8510,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Name = ptr.String(jtv) } + case "Positioning": if value != nil { jtv, ok := value.(string) @@ -8419,10 +8519,12 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Positioning = types.PositioningConfigStatus(jtv) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkDevice(&sv.Sidewalk, value); err != nil { return err } + case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -8431,6 +8533,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.ThingArn = ptr.String(jtv) } + case "ThingName": if value != nil { jtv, ok := value.(string) @@ -8439,6 +8542,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.ThingName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8447,6 +8551,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceOutput(v **GetWirelessDe } sv.Type = types.WirelessDeviceType(jtv) } + default: _, _ = key, value @@ -8617,6 +8722,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -8629,6 +8735,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.CreationTime = ptr.Time(t) } + case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -8637,6 +8744,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.DestinationName = ptr.String(jtv) } + case "FailedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8649,6 +8757,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.FailedImportedDeviceCount = ptr.Int64(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8657,6 +8766,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Id = ptr.String(jtv) } + case "InitializedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8669,6 +8779,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.InitializedImportedDeviceCount = ptr.Int64(i64) } + case "OnboardedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8681,6 +8792,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.OnboardedImportedDeviceCount = ptr.Int64(i64) } + case "PendingImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8693,10 +8805,12 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.PendingImportedDeviceCount = ptr.Int64(i64) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(&sv.Sidewalk, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8705,6 +8819,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.Status = types.ImportTaskStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -8713,6 +8828,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceImportTaskOutput(v **Get } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -8880,14 +8996,17 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceStatisticsOutput(v **Get } sv.LastUplinkReceivedAt = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(&sv.LoRaWAN, value); err != nil { return err } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(&sv.Sidewalk, value); err != nil { return err } + case "WirelessDeviceId": if value != nil { jtv, ok := value.(string) @@ -8896,6 +9015,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessDeviceStatisticsOutput(v **Get } sv.WirelessDeviceId = ptr.String(jtv) } + default: _, _ = key, value @@ -9063,6 +9183,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9071,6 +9192,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9079,10 +9201,12 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGateway(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9091,6 +9215,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.Name = ptr.String(jtv) } + case "ThingArn": if value != nil { jtv, ok := value.(string) @@ -9099,6 +9224,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.ThingArn = ptr.String(jtv) } + case "ThingName": if value != nil { jtv, ok := value.(string) @@ -9107,6 +9233,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayOutput(v **GetWirelessG } sv.ThingName = ptr.String(jtv) } + default: _, _ = key, value @@ -9274,6 +9401,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayCertificateOutput(v **G } sv.IotCertificateId = ptr.String(jtv) } + case "LoRaWANNetworkServerCertificateId": if value != nil { jtv, ok := value.(string) @@ -9282,6 +9410,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayCertificateOutput(v **G } sv.LoRaWANNetworkServerCertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -9445,6 +9574,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayFirmwareInformationOutp if err := awsRestjson1_deserializeDocumentLoRaWANGatewayCurrentVersion(&sv.LoRaWAN, value); err != nil { return err } + default: _, _ = key, value @@ -9612,6 +9742,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.ConnectionStatus = types.ConnectionStatus(jtv) } + case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -9620,6 +9751,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.LastUplinkReceivedAt = ptr.String(jtv) } + case "WirelessGatewayId": if value != nil { jtv, ok := value.(string) @@ -9628,6 +9760,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayStatisticsOutput(v **Ge } sv.WirelessGatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -9795,6 +9928,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.LastUplinkReceivedAt = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9803,6 +9937,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.Status = types.WirelessGatewayTaskStatus(jtv) } + case "TaskCreatedAt": if value != nil { jtv, ok := value.(string) @@ -9811,6 +9946,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.TaskCreatedAt = ptr.String(jtv) } + case "WirelessGatewayId": if value != nil { jtv, ok := value.(string) @@ -9819,6 +9955,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.WirelessGatewayId = ptr.String(jtv) } + case "WirelessGatewayTaskDefinitionId": if value != nil { jtv, ok := value.(string) @@ -9827,6 +9964,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskOutput(v **GetWirel } sv.WirelessGatewayTaskDefinitionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9994,6 +10132,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.Arn = ptr.String(jtv) } + case "AutoCreateTasks": if value != nil { jtv, ok := value.(bool) @@ -10002,6 +10141,7 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.AutoCreateTasks = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10010,10 +10150,12 @@ func awsRestjson1_deserializeOpDocumentGetWirelessGatewayTaskDefinitionOutput(v } sv.Name = ptr.String(jtv) } + case "Update": if err := awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(&sv.Update, value); err != nil { return err } + default: _, _ = key, value @@ -10174,6 +10316,7 @@ func awsRestjson1_deserializeOpDocumentListDestinationsOutput(v **ListDestinatio if err := awsRestjson1_deserializeDocumentDestinationList(&sv.DestinationList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10182,6 +10325,7 @@ func awsRestjson1_deserializeOpDocumentListDestinationsOutput(v **ListDestinatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10342,6 +10486,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceProfilesOutput(v **ListDevicePr if err := awsRestjson1_deserializeDocumentDeviceProfileList(&sv.DeviceProfileList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10350,6 +10495,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceProfilesOutput(v **ListDevicePr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10520,10 +10666,12 @@ func awsRestjson1_deserializeOpDocumentListDevicesForWirelessDeviceImportTaskOut } sv.DestinationName = ptr.String(jtv) } + case "ImportedWirelessDeviceList": if err := awsRestjson1_deserializeDocumentImportedWirelessDeviceList(&sv.ImportedWirelessDeviceList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10532,6 +10680,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesForWirelessDeviceImportTaskOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10692,6 +10841,7 @@ func awsRestjson1_deserializeOpDocumentListEventConfigurationsOutput(v **ListEve if err := awsRestjson1_deserializeDocumentEventConfigurationsList(&sv.EventConfigurationsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10700,6 +10850,7 @@ func awsRestjson1_deserializeOpDocumentListEventConfigurationsOutput(v **ListEve } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10860,6 +11011,7 @@ func awsRestjson1_deserializeOpDocumentListFuotaTasksOutput(v **ListFuotaTasksOu if err := awsRestjson1_deserializeDocumentFuotaTaskList(&sv.FuotaTaskList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10868,6 +11020,7 @@ func awsRestjson1_deserializeOpDocumentListFuotaTasksOutput(v **ListFuotaTasksOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11028,6 +11181,7 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsOutput(v **ListMultica if err := awsRestjson1_deserializeDocumentMulticastGroupList(&sv.MulticastGroupList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11036,6 +11190,7 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsOutput(v **ListMultica } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11199,6 +11354,7 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsByFuotaTaskOutput(v ** if err := awsRestjson1_deserializeDocumentMulticastGroupListByFuotaTask(&sv.MulticastGroupList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11207,6 +11363,7 @@ func awsRestjson1_deserializeOpDocumentListMulticastGroupsByFuotaTaskOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11367,6 +11524,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkAnalyzerConfigurationsOutput(v if err := awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurationList(&sv.NetworkAnalyzerConfigurationList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11375,6 +11533,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkAnalyzerConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11539,10 +11698,12 @@ func awsRestjson1_deserializeOpDocumentListPartnerAccountsOutput(v **ListPartner } sv.NextToken = ptr.String(jtv) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkAccountList(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -11707,10 +11868,12 @@ func awsRestjson1_deserializeOpDocumentListPositionConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "PositionConfigurationList": if err := awsRestjson1_deserializeDocumentPositionConfigurationList(&sv.PositionConfigurationList, value); err != nil { return err } + default: _, _ = key, value @@ -11874,6 +12037,7 @@ func awsRestjson1_deserializeOpDocumentListQueuedMessagesOutput(v **ListQueuedMe if err := awsRestjson1_deserializeDocumentDownlinkQueueMessagesList(&sv.DownlinkQueueMessagesList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11882,6 +12046,7 @@ func awsRestjson1_deserializeOpDocumentListQueuedMessagesOutput(v **ListQueuedMe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12046,10 +12211,12 @@ func awsRestjson1_deserializeOpDocumentListServiceProfilesOutput(v **ListService } sv.NextToken = ptr.String(jtv) } + case "ServiceProfileList": if err := awsRestjson1_deserializeDocumentServiceProfileList(&sv.ServiceProfileList, value); err != nil { return err } + default: _, _ = key, value @@ -12213,6 +12380,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12383,10 +12551,12 @@ func awsRestjson1_deserializeOpDocumentListWirelessDeviceImportTasksOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "WirelessDeviceImportTaskList": if err := awsRestjson1_deserializeDocumentWirelessDeviceImportTaskList(&sv.WirelessDeviceImportTaskList, value); err != nil { return err } + default: _, _ = key, value @@ -12551,10 +12721,12 @@ func awsRestjson1_deserializeOpDocumentListWirelessDevicesOutput(v **ListWireles } sv.NextToken = ptr.String(jtv) } + case "WirelessDeviceList": if err := awsRestjson1_deserializeDocumentWirelessDeviceStatisticsList(&sv.WirelessDeviceList, value); err != nil { return err } + default: _, _ = key, value @@ -12719,10 +12891,12 @@ func awsRestjson1_deserializeOpDocumentListWirelessGatewaysOutput(v **ListWirele } sv.NextToken = ptr.String(jtv) } + case "WirelessGatewayList": if err := awsRestjson1_deserializeDocumentWirelessGatewayStatisticsList(&sv.WirelessGatewayList, value); err != nil { return err } + default: _, _ = key, value @@ -12887,10 +13061,12 @@ func awsRestjson1_deserializeOpDocumentListWirelessGatewayTaskDefinitionsOutput( } sv.NextToken = ptr.String(jtv) } + case "TaskDefinitions": if err := awsRestjson1_deserializeDocumentWirelessGatewayTaskDefinitionList(&sv.TaskDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -13461,6 +13637,7 @@ func awsRestjson1_deserializeOpDocumentSendDataToMulticastGroupOutput(v **SendDa } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -13625,6 +13802,7 @@ func awsRestjson1_deserializeOpDocumentSendDataToWirelessDeviceOutput(v **SendDa } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -14201,6 +14379,7 @@ func awsRestjson1_deserializeOpDocumentStartSingleWirelessDeviceImportTaskOutput } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14209,6 +14388,7 @@ func awsRestjson1_deserializeOpDocumentStartSingleWirelessDeviceImportTaskOutput } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -14379,6 +14559,7 @@ func awsRestjson1_deserializeOpDocumentStartWirelessDeviceImportTaskOutput(v **S } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14387,6 +14568,7 @@ func awsRestjson1_deserializeOpDocumentStartWirelessDeviceImportTaskOutput(v **S } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -14654,6 +14836,7 @@ func awsRestjson1_deserializeOpDocumentTestWirelessDeviceOutput(v **TestWireless } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -16457,6 +16640,7 @@ func awsRestjson1_deserializeDocumentAbpV1_0_x(v **types.AbpV1_0_x, value interf } sv.DevAddr = ptr.String(jtv) } + case "FCntStart": if value != nil { jtv, ok := value.(json.Number) @@ -16469,10 +16653,12 @@ func awsRestjson1_deserializeDocumentAbpV1_0_x(v **types.AbpV1_0_x, value interf } sv.FCntStart = ptr.Int32(int32(i64)) } + case "SessionKeys": if err := awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(&sv.SessionKeys, value); err != nil { return err } + default: _, _ = key, value @@ -16512,6 +16698,7 @@ func awsRestjson1_deserializeDocumentAbpV1_1(v **types.AbpV1_1, value interface{ } sv.DevAddr = ptr.String(jtv) } + case "FCntStart": if value != nil { jtv, ok := value.(json.Number) @@ -16524,10 +16711,12 @@ func awsRestjson1_deserializeDocumentAbpV1_1(v **types.AbpV1_1, value interface{ } sv.FCntStart = ptr.Int32(int32(i64)) } + case "SessionKeys": if err := awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(&sv.SessionKeys, value); err != nil { return err } + default: _, _ = key, value @@ -16567,6 +16756,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16631,6 +16821,7 @@ func awsRestjson1_deserializeDocumentAccuracy(v **types.Accuracy, value interfac } } + case "VerticalAccuracy": if value != nil { switch jtv := value.(type) { @@ -16664,6 +16855,7 @@ func awsRestjson1_deserializeDocumentAccuracy(v **types.Accuracy, value interfac } } + default: _, _ = key, value @@ -16703,6 +16895,7 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.DestinationName = ptr.String(jtv) } + case "FPort": if value != nil { jtv, ok := value.(json.Number) @@ -16715,6 +16908,7 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.FPort = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16723,6 +16917,7 @@ func awsRestjson1_deserializeDocumentApplicationConfig(v **types.ApplicationConf } sv.Type = types.ApplicationConfigType(jtv) } + default: _, _ = key, value @@ -16800,10 +16995,12 @@ func awsRestjson1_deserializeDocumentBeaconing(v **types.Beaconing, value interf } sv.DataRate = ptr.Int32(int32(i64)) } + case "Frequencies": if err := awsRestjson1_deserializeDocumentBeaconingFrequencies(&sv.Frequencies, value); err != nil { return err } + default: _, _ = key, value @@ -16883,6 +17080,7 @@ func awsRestjson1_deserializeDocumentCertificateList(v **types.CertificateList, } sv.SigningAlg = types.SigningAlg(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16891,6 +17089,7 @@ func awsRestjson1_deserializeDocumentCertificateList(v **types.CertificateList, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16930,6 +17129,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16938,6 +17138,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16946,6 +17147,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -16981,6 +17183,7 @@ func awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(v **type if err := awsRestjson1_deserializeDocumentLoRaWANConnectionStatusEventNotificationConfigurations(&sv.LoRaWAN, value); err != nil { return err } + case "WirelessGatewayIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -16989,6 +17192,7 @@ func awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(v **type } sv.WirelessGatewayIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -17024,6 +17228,7 @@ func awsRestjson1_deserializeDocumentConnectionStatusResourceTypeEventConfigurat if err := awsRestjson1_deserializeDocumentLoRaWANConnectionStatusResourceTypeEventConfiguration(&sv.LoRaWAN, value); err != nil { return err } + default: _, _ = key, value @@ -17063,6 +17268,7 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.ApId = ptr.String(jtv) } + case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -17071,6 +17277,7 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.CertificateId = ptr.String(jtv) } + case "DeviceTypeId": if value != nil { jtv, ok := value.(string) @@ -17079,6 +17286,7 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.DeviceTypeId = ptr.String(jtv) } + case "FactorySupport": if value != nil { jtv, ok := value.(bool) @@ -17087,6 +17295,7 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.FactorySupport = ptr.Bool(jtv) } + case "MaxAllowedSignature": if value != nil { jtv, ok := value.(json.Number) @@ -17099,6 +17308,7 @@ func awsRestjson1_deserializeDocumentDakCertificateMetadata(v **types.DakCertifi } sv.MaxAllowedSignature = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17206,6 +17416,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17214,6 +17425,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Description = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -17222,6 +17434,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Expression = ptr.String(jtv) } + case "ExpressionType": if value != nil { jtv, ok := value.(string) @@ -17230,6 +17443,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.ExpressionType = types.ExpressionType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17238,6 +17452,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17246,6 +17461,7 @@ func awsRestjson1_deserializeDocumentDestinations(v **types.Destinations, value } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17355,6 +17571,7 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17363,6 +17580,7 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17371,6 +17589,7 @@ func awsRestjson1_deserializeDocumentDeviceProfile(v **types.DeviceProfile, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17440,6 +17659,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(v if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } + case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -17448,6 +17668,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(v } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -17483,6 +17704,7 @@ func awsRestjson1_deserializeDocumentDeviceRegistrationStateResourceTypeEventCon if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -17522,6 +17744,7 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Name = types.DimensionName(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17530,6 +17753,7 @@ func awsRestjson1_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17599,6 +17823,7 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu if err := awsRestjson1_deserializeDocumentLoRaWANSendDataToDevice(&sv.LoRaWAN, value); err != nil { return err } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -17607,6 +17832,7 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.MessageId = ptr.String(jtv) } + case "ReceivedAt": if value != nil { jtv, ok := value.(string) @@ -17615,6 +17841,7 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.ReceivedAt = ptr.String(jtv) } + case "TransmitMode": if value != nil { jtv, ok := value.(json.Number) @@ -17627,6 +17854,7 @@ func awsRestjson1_deserializeDocumentDownlinkQueueMessage(v **types.DownlinkQueu } sv.TransmitMode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17696,6 +17924,7 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi if err := awsRestjson1_deserializeDocumentEventNotificationItemConfigurations(&sv.Events, value); err != nil { return err } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -17704,6 +17933,7 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.Identifier = ptr.String(jtv) } + case "IdentifierType": if value != nil { jtv, ok := value.(string) @@ -17712,6 +17942,7 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.IdentifierType = types.IdentifierType(jtv) } + case "PartnerType": if value != nil { jtv, ok := value.(string) @@ -17720,6 +17951,7 @@ func awsRestjson1_deserializeDocumentEventConfigurationItem(v **types.EventConfi } sv.PartnerType = types.EventNotificationPartnerType(jtv) } + default: _, _ = key, value @@ -17789,22 +18021,27 @@ func awsRestjson1_deserializeDocumentEventNotificationItemConfigurations(v **typ if err := awsRestjson1_deserializeDocumentConnectionStatusEventConfiguration(&sv.ConnectionStatus, value); err != nil { return err } + case "DeviceRegistrationState": if err := awsRestjson1_deserializeDocumentDeviceRegistrationStateEventConfiguration(&sv.DeviceRegistrationState, value); err != nil { return err } + case "Join": if err := awsRestjson1_deserializeDocumentJoinEventConfiguration(&sv.Join, value); err != nil { return err } + case "MessageDeliveryStatus": if err := awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(&sv.MessageDeliveryStatus, value); err != nil { return err } + case "Proximity": if err := awsRestjson1_deserializeDocumentProximityEventConfiguration(&sv.Proximity, value); err != nil { return err } + default: _, _ = key, value @@ -17880,6 +18117,7 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } + case "ClockSync": if value != nil { jtv, ok := value.(json.Number) @@ -17892,6 +18130,7 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.ClockSync = ptr.Int32(int32(i64)) } + case "Fuota": if value != nil { jtv, ok := value.(json.Number) @@ -17904,6 +18143,7 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.Fuota = ptr.Int32(int32(i64)) } + case "Multicast": if value != nil { jtv, ok := value.(json.Number) @@ -17916,10 +18156,12 @@ func awsRestjson1_deserializeDocumentFPorts(v **types.FPorts, value interface{}) } sv.Multicast = ptr.Int32(int32(i64)) } + case "Positioning": if err := awsRestjson1_deserializeDocumentPositioning(&sv.Positioning, value); err != nil { return err } + default: _, _ = key, value @@ -17959,6 +18201,7 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17967,6 +18210,7 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17975,6 +18219,7 @@ func awsRestjson1_deserializeDocumentFuotaTask(v **types.FuotaTask, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18086,6 +18331,7 @@ func awsRestjson1_deserializeDocumentGatewayListItem(v **types.GatewayListItem, } sv.DownlinkFrequency = ptr.Int32(int32(i64)) } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -18094,6 +18340,7 @@ func awsRestjson1_deserializeDocumentGatewayListItem(v **types.GatewayListItem, } sv.GatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -18137,6 +18384,7 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.LastUpdateTime = ptr.Time(t) } + case "OnboardingStatus": if value != nil { jtv, ok := value.(string) @@ -18145,6 +18393,7 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.OnboardingStatus = types.OnboardStatus(jtv) } + case "OnboardingStatusReason": if value != nil { jtv, ok := value.(string) @@ -18153,6 +18402,7 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.OnboardingStatusReason = ptr.String(jtv) } + case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -18161,6 +18411,7 @@ func awsRestjson1_deserializeDocumentImportedSidewalkDevice(v **types.ImportedSi } sv.SidewalkManufacturingSn = ptr.String(jtv) } + default: _, _ = key, value @@ -18196,6 +18447,7 @@ func awsRestjson1_deserializeDocumentImportedWirelessDevice(v **types.ImportedWi if err := awsRestjson1_deserializeDocumentImportedSidewalkDevice(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -18269,6 +18521,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18372,6 +18625,7 @@ func awsRestjson1_deserializeDocumentJoinEventConfiguration(v **types.JoinEventC if err := awsRestjson1_deserializeDocumentLoRaWANJoinEventNotificationConfigurations(&sv.LoRaWAN, value); err != nil { return err } + case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -18380,6 +18634,7 @@ func awsRestjson1_deserializeDocumentJoinEventConfiguration(v **types.JoinEventC } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -18415,6 +18670,7 @@ func awsRestjson1_deserializeDocumentJoinResourceTypeEventConfiguration(v **type if err := awsRestjson1_deserializeDocumentLoRaWANJoinResourceTypeEventConfiguration(&sv.LoRaWAN, value); err != nil { return err } + default: _, _ = key, value @@ -18454,6 +18710,7 @@ func awsRestjson1_deserializeDocumentLoRaWANConnectionStatusEventNotificationCon } sv.GatewayEuiEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -18493,6 +18750,7 @@ func awsRestjson1_deserializeDocumentLoRaWANConnectionStatusResourceTypeEventCon } sv.WirelessGatewayEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -18528,10 +18786,12 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu if err := awsRestjson1_deserializeDocumentAbpV1_0_x(&sv.AbpV1_0_x, value); err != nil { return err } + case "AbpV1_1": if err := awsRestjson1_deserializeDocumentAbpV1_1(&sv.AbpV1_1, value); err != nil { return err } + case "DevEui": if value != nil { jtv, ok := value.(string) @@ -18540,6 +18800,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.DevEui = ptr.String(jtv) } + case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -18548,18 +18809,22 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.DeviceProfileId = ptr.String(jtv) } + case "FPorts": if err := awsRestjson1_deserializeDocumentFPorts(&sv.FPorts, value); err != nil { return err } + case "OtaaV1_0_x": if err := awsRestjson1_deserializeDocumentOtaaV1_0_x(&sv.OtaaV1_0_x, value); err != nil { return err } + case "OtaaV1_1": if err := awsRestjson1_deserializeDocumentOtaaV1_1(&sv.OtaaV1_1, value); err != nil { return err } + case "ServiceProfileId": if value != nil { jtv, ok := value.(string) @@ -18568,6 +18833,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDevice(v **types.LoRaWANDevice, valu } sv.ServiceProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -18611,6 +18877,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.DataRate = ptr.Int32(int32(i64)) } + case "DevEui": if value != nil { jtv, ok := value.(string) @@ -18619,6 +18886,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.DevEui = ptr.String(jtv) } + case "FPort": if value != nil { jtv, ok := value.(json.Number) @@ -18631,6 +18899,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.FPort = ptr.Int32(int32(i64)) } + case "Frequency": if value != nil { jtv, ok := value.(json.Number) @@ -18643,14 +18912,17 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.Frequency = ptr.Int32(int32(i64)) } + case "Gateways": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayMetadataList(&sv.Gateways, value); err != nil { return err } + case "PublicGateways": if err := awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadataList(&sv.PublicGateways, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -18659,6 +18931,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceMetadata(v **types.LoRaWANDevi } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -18702,6 +18975,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.ClassBTimeout = ptr.Int32(int32(i64)) } + case "ClassCTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -18714,10 +18988,12 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.ClassCTimeout = ptr.Int32(int32(i64)) } + case "FactoryPresetFreqsList": if err := awsRestjson1_deserializeDocumentFactoryPresetFreqsList(&sv.FactoryPresetFreqsList, value); err != nil { return err } + case "MacVersion": if value != nil { jtv, ok := value.(string) @@ -18726,6 +19002,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MacVersion = ptr.String(jtv) } + case "MaxDutyCycle": if value != nil { jtv, ok := value.(json.Number) @@ -18738,6 +19015,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MaxDutyCycle = ptr.Int32(int32(i64)) } + case "MaxEirp": if value != nil { jtv, ok := value.(json.Number) @@ -18750,6 +19028,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.MaxEirp = ptr.Int32(int32(i64)) } + case "PingSlotDr": if value != nil { jtv, ok := value.(json.Number) @@ -18762,6 +19041,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotDr = ptr.Int32(int32(i64)) } + case "PingSlotFreq": if value != nil { jtv, ok := value.(json.Number) @@ -18774,6 +19054,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotFreq = ptr.Int32(int32(i64)) } + case "PingSlotPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -18786,6 +19067,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.PingSlotPeriod = ptr.Int32(int32(i64)) } + case "RegParamsRevision": if value != nil { jtv, ok := value.(string) @@ -18794,6 +19076,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RegParamsRevision = ptr.String(jtv) } + case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -18802,6 +19085,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RfRegion = ptr.String(jtv) } + case "RxDataRate2": if value != nil { jtv, ok := value.(json.Number) @@ -18814,6 +19098,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDataRate2 = ptr.Int32(int32(i64)) } + case "RxDelay1": if value != nil { jtv, ok := value.(json.Number) @@ -18826,6 +19111,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDelay1 = ptr.Int32(int32(i64)) } + case "RxDrOffset1": if value != nil { jtv, ok := value.(json.Number) @@ -18838,6 +19124,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxDrOffset1 = ptr.Int32(int32(i64)) } + case "RxFreq2": if value != nil { jtv, ok := value.(json.Number) @@ -18850,6 +19137,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.RxFreq2 = ptr.Int32(int32(i64)) } + case "Supports32BitFCnt": if value != nil { jtv, ok := value.(bool) @@ -18858,6 +19146,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.Supports32BitFCnt = jtv } + case "SupportsClassB": if value != nil { jtv, ok := value.(bool) @@ -18866,6 +19155,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsClassB = jtv } + case "SupportsClassC": if value != nil { jtv, ok := value.(bool) @@ -18874,6 +19164,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsClassC = jtv } + case "SupportsJoin": if value != nil { jtv, ok := value.(bool) @@ -18882,6 +19173,7 @@ func awsRestjson1_deserializeDocumentLoRaWANDeviceProfile(v **types.LoRaWANDevic } sv.SupportsJoin = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18921,6 +19213,7 @@ func awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(v **types.LoRaWANFu } sv.RfRegion = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -18933,6 +19226,7 @@ func awsRestjson1_deserializeDocumentLoRaWANFuotaTaskGetInfo(v **types.LoRaWANFu } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -18968,6 +19262,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va if err := awsRestjson1_deserializeDocumentBeaconing(&sv.Beaconing, value); err != nil { return err } + case "GatewayEui": if value != nil { jtv, ok := value.(string) @@ -18976,10 +19271,12 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } sv.GatewayEui = ptr.String(jtv) } + case "JoinEuiFilters": if err := awsRestjson1_deserializeDocumentJoinEuiFilters(&sv.JoinEuiFilters, value); err != nil { return err } + case "MaxEirp": if value != nil { switch jtv := value.(type) { @@ -19013,10 +19310,12 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } } + case "NetIdFilters": if err := awsRestjson1_deserializeDocumentNetIdFilters(&sv.NetIdFilters, value); err != nil { return err } + case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -19025,10 +19324,12 @@ func awsRestjson1_deserializeDocumentLoRaWANGateway(v **types.LoRaWANGateway, va } sv.RfRegion = ptr.String(jtv) } + case "SubBands": if err := awsRestjson1_deserializeDocumentSubBands(&sv.SubBands, value); err != nil { return err } + default: _, _ = key, value @@ -19064,6 +19365,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayCurrentVersion(v **types.LoRa if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } + default: _, _ = key, value @@ -19103,6 +19405,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } sv.GatewayEui = ptr.String(jtv) } + case "Rssi": if value != nil { switch jtv := value.(type) { @@ -19136,6 +19439,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } } + case "Snr": if value != nil { switch jtv := value.(type) { @@ -19169,6 +19473,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayMetadata(v **types.LoRaWANGat } } + default: _, _ = key, value @@ -19242,6 +19547,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.Model = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -19250,6 +19556,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.PackageVersion = ptr.String(jtv) } + case "Station": if value != nil { jtv, ok := value.(string) @@ -19258,6 +19565,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(v **types.LoRaWANGate } sv.Station = ptr.String(jtv) } + default: _, _ = key, value @@ -19297,6 +19605,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.AddGwMetadata = jtv } + case "ChannelMask": if value != nil { jtv, ok := value.(string) @@ -19305,6 +19614,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ChannelMask = ptr.String(jtv) } + case "DevStatusReqFreq": if value != nil { jtv, ok := value.(json.Number) @@ -19317,6 +19627,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DevStatusReqFreq = ptr.Int32(int32(i64)) } + case "DlBucketSize": if value != nil { jtv, ok := value.(json.Number) @@ -19329,6 +19640,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlBucketSize = ptr.Int32(int32(i64)) } + case "DlRate": if value != nil { jtv, ok := value.(json.Number) @@ -19341,6 +19653,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlRate = ptr.Int32(int32(i64)) } + case "DlRatePolicy": if value != nil { jtv, ok := value.(string) @@ -19349,6 +19662,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DlRatePolicy = ptr.String(jtv) } + case "DrMax": if value != nil { jtv, ok := value.(json.Number) @@ -19361,6 +19675,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DrMax = int32(i64) } + case "DrMin": if value != nil { jtv, ok := value.(json.Number) @@ -19373,6 +19688,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.DrMin = int32(i64) } + case "HrAllowed": if value != nil { jtv, ok := value.(bool) @@ -19381,6 +19697,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.HrAllowed = jtv } + case "MinGwDiversity": if value != nil { jtv, ok := value.(json.Number) @@ -19393,6 +19710,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.MinGwDiversity = ptr.Int32(int32(i64)) } + case "NwkGeoLoc": if value != nil { jtv, ok := value.(bool) @@ -19401,6 +19719,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.NwkGeoLoc = jtv } + case "PrAllowed": if value != nil { jtv, ok := value.(bool) @@ -19409,6 +19728,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.PrAllowed = jtv } + case "RaAllowed": if value != nil { jtv, ok := value.(bool) @@ -19417,6 +19737,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.RaAllowed = jtv } + case "ReportDevStatusBattery": if value != nil { jtv, ok := value.(bool) @@ -19425,6 +19746,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ReportDevStatusBattery = jtv } + case "ReportDevStatusMargin": if value != nil { jtv, ok := value.(bool) @@ -19433,6 +19755,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.ReportDevStatusMargin = jtv } + case "TargetPer": if value != nil { jtv, ok := value.(json.Number) @@ -19445,6 +19768,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.TargetPer = int32(i64) } + case "UlBucketSize": if value != nil { jtv, ok := value.(json.Number) @@ -19457,6 +19781,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlBucketSize = ptr.Int32(int32(i64)) } + case "UlRate": if value != nil { jtv, ok := value.(json.Number) @@ -19469,6 +19794,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlRate = ptr.Int32(int32(i64)) } + case "UlRatePolicy": if value != nil { jtv, ok := value.(string) @@ -19477,6 +19803,7 @@ func awsRestjson1_deserializeDocumentLoRaWANGetServiceProfileInfo(v **types.LoRa } sv.UlRatePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -19516,6 +19843,7 @@ func awsRestjson1_deserializeDocumentLoRaWANJoinEventNotificationConfigurations( } sv.DevEuiEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -19555,6 +19883,7 @@ func awsRestjson1_deserializeDocumentLoRaWANJoinResourceTypeEventConfiguration(v } sv.WirelessDeviceEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -19594,6 +19923,7 @@ func awsRestjson1_deserializeDocumentLoRaWANListDevice(v **types.LoRaWANListDevi } sv.DevEui = ptr.String(jtv) } + default: _, _ = key, value @@ -19633,6 +19963,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.DlClass = types.DlClass(jtv) } + case "NumberOfDevicesInGroup": if value != nil { jtv, ok := value.(json.Number) @@ -19645,6 +19976,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.NumberOfDevicesInGroup = ptr.Int32(int32(i64)) } + case "NumberOfDevicesRequested": if value != nil { jtv, ok := value.(json.Number) @@ -19657,6 +19989,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.NumberOfDevicesRequested = ptr.Int32(int32(i64)) } + case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -19665,6 +19998,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastGet(v **types.LoRaWANMultic } sv.RfRegion = types.SupportedRfRegion(jtv) } + default: _, _ = key, value @@ -19708,6 +20042,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.DlDr = ptr.Int32(int32(i64)) } + case "DlFreq": if value != nil { jtv, ok := value.(json.Number) @@ -19720,6 +20055,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.DlFreq = ptr.Int32(int32(i64)) } + case "PingSlotPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -19732,6 +20068,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.PingSlotPeriod = ptr.Int32(int32(i64)) } + case "SessionStartTime": if value != nil { jtv, ok := value.(string) @@ -19744,6 +20081,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.SessionStartTime = ptr.Time(t) } + case "SessionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19756,6 +20094,7 @@ func awsRestjson1_deserializeDocumentLoRaWANMulticastSession(v **types.LoRaWANMu } sv.SessionTimeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19795,6 +20134,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.DlAllowed = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -19803,6 +20143,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.Id = ptr.String(jtv) } + case "ProviderNetId": if value != nil { jtv, ok := value.(string) @@ -19811,6 +20152,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.ProviderNetId = ptr.String(jtv) } + case "RfRegion": if value != nil { jtv, ok := value.(string) @@ -19819,6 +20161,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } sv.RfRegion = ptr.String(jtv) } + case "Rssi": if value != nil { switch jtv := value.(type) { @@ -19852,6 +20195,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } } + case "Snr": if value != nil { switch jtv := value.(type) { @@ -19885,6 +20229,7 @@ func awsRestjson1_deserializeDocumentLoRaWANPublicGatewayMetadata(v **types.LoRa } } + default: _, _ = key, value @@ -19962,10 +20307,12 @@ func awsRestjson1_deserializeDocumentLoRaWANSendDataToDevice(v **types.LoRaWANSe } sv.FPort = ptr.Int32(int32(i64)) } + case "ParticipatingGateways": if err := awsRestjson1_deserializeDocumentParticipatingGateways(&sv.ParticipatingGateways, value); err != nil { return err } + default: _, _ = key, value @@ -20001,6 +20348,7 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } + case "SigKeyCrc": if value != nil { jtv, ok := value.(json.Number) @@ -20013,6 +20361,7 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo } sv.SigKeyCrc = ptr.Int64(i64) } + case "UpdateSignature": if value != nil { jtv, ok := value.(string) @@ -20021,10 +20370,12 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(v **types.Lo } sv.UpdateSignature = ptr.String(jtv) } + case "UpdateVersion": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.UpdateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -20060,10 +20411,12 @@ func awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskEntry(v **types.LoR if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.CurrentVersion, value); err != nil { return err } + case "UpdateVersion": if err := awsRestjson1_deserializeDocumentLoRaWANGatewayVersion(&sv.UpdateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -20099,6 +20452,7 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(v * if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } + case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -20107,6 +20461,7 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusEventConfiguration(v * } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -20142,6 +20497,7 @@ func awsRestjson1_deserializeDocumentMessageDeliveryStatusResourceTypeEventConfi if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -20249,6 +20605,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + case "Max": if value != nil { switch jtv := value.(type) { @@ -20282,6 +20639,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -20315,6 +20673,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + case "P90": if value != nil { switch jtv := value.(type) { @@ -20348,6 +20707,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + case "Std": if value != nil { switch jtv := value.(type) { @@ -20381,6 +20741,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + case "Sum": if value != nil { switch jtv := value.(type) { @@ -20414,6 +20775,7 @@ func awsRestjson1_deserializeDocumentMetricQueryValue(v **types.MetricQueryValue } } + default: _, _ = key, value @@ -20487,6 +20849,7 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -20495,6 +20858,7 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20503,6 +20867,7 @@ func awsRestjson1_deserializeDocumentMulticastGroup(v **types.MulticastGroup, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20542,6 +20907,7 @@ func awsRestjson1_deserializeDocumentMulticastGroupByFuotaTask(v **types.Multica } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20719,6 +21085,7 @@ func awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurations(v **types.Net } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20727,6 +21094,7 @@ func awsRestjson1_deserializeDocumentNetworkAnalyzerConfigurations(v **types.Net } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20802,6 +21170,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.AppEui = ptr.String(jtv) } + case "AppKey": if value != nil { jtv, ok := value.(string) @@ -20810,6 +21179,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.AppKey = ptr.String(jtv) } + case "GenAppKey": if value != nil { jtv, ok := value.(string) @@ -20818,6 +21188,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.GenAppKey = ptr.String(jtv) } + case "JoinEui": if value != nil { jtv, ok := value.(string) @@ -20826,6 +21197,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_0_x(v **types.OtaaV1_0_x, value inte } sv.JoinEui = ptr.String(jtv) } + default: _, _ = key, value @@ -20865,6 +21237,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.AppKey = ptr.String(jtv) } + case "JoinEui": if value != nil { jtv, ok := value.(string) @@ -20873,6 +21246,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.JoinEui = ptr.String(jtv) } + case "NwkKey": if value != nil { jtv, ok := value.(string) @@ -20881,6 +21255,7 @@ func awsRestjson1_deserializeDocumentOtaaV1_1(v **types.OtaaV1_1, value interfac } sv.NwkKey = ptr.String(jtv) } + default: _, _ = key, value @@ -20920,10 +21295,12 @@ func awsRestjson1_deserializeDocumentParticipatingGateways(v **types.Participati } sv.DownlinkMode = types.DownlinkMode(jtv) } + case "GatewayList": if err := awsRestjson1_deserializeDocumentGatewayList(&sv.GatewayList, value); err != nil { return err } + case "TransmissionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -20936,6 +21313,7 @@ func awsRestjson1_deserializeDocumentParticipatingGateways(v **types.Participati } sv.TransmissionInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20975,6 +21353,7 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.Destination = ptr.String(jtv) } + case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -20983,6 +21362,7 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.ResourceIdentifier = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -20991,10 +21371,12 @@ func awsRestjson1_deserializeDocumentPositionConfigurationItem(v **types.Positio } sv.ResourceType = types.PositionResourceType(jtv) } + case "Solvers": if err := awsRestjson1_deserializeDocumentPositionSolverDetails(&sv.Solvers, value); err != nil { return err } + default: _, _ = key, value @@ -21133,6 +21515,7 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.ClockSync = ptr.Int32(int32(i64)) } + case "Gnss": if value != nil { jtv, ok := value.(json.Number) @@ -21145,6 +21528,7 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.Gnss = ptr.Int32(int32(i64)) } + case "Stream": if value != nil { jtv, ok := value.(json.Number) @@ -21157,6 +21541,7 @@ func awsRestjson1_deserializeDocumentPositioning(v **types.Positioning, value in } sv.Stream = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21192,6 +21577,7 @@ func awsRestjson1_deserializeDocumentPositionSolverDetails(v **types.PositionSol if err := awsRestjson1_deserializeDocumentSemtechGnssDetail(&sv.SemtechGnss, value); err != nil { return err } + default: _, _ = key, value @@ -21261,6 +21647,7 @@ func awsRestjson1_deserializeDocumentProximityEventConfiguration(v **types.Proxi if err := awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(&sv.Sidewalk, value); err != nil { return err } + case "WirelessDeviceIdEventTopic": if value != nil { jtv, ok := value.(string) @@ -21269,6 +21656,7 @@ func awsRestjson1_deserializeDocumentProximityEventConfiguration(v **types.Proxi } sv.WirelessDeviceIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -21304,6 +21692,7 @@ func awsRestjson1_deserializeDocumentProximityResourceTypeEventConfiguration(v * if err := awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(&sv.Sidewalk, value); err != nil { return err } + default: _, _ = key, value @@ -21343,6 +21732,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -21351,6 +21741,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -21359,6 +21750,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -21398,6 +21790,7 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Fec = types.PositionConfigurationFec(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -21406,6 +21799,7 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Provider = types.PositionSolverProvider(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21414,6 +21808,7 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Status = types.PositionConfigurationStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -21422,6 +21817,7 @@ func awsRestjson1_deserializeDocumentSemtechGnssDetail(v **types.SemtechGnssDeta } sv.Type = types.PositionSolverType(jtv) } + default: _, _ = key, value @@ -21461,6 +21857,7 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21469,6 +21866,7 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21477,6 +21875,7 @@ func awsRestjson1_deserializeDocumentServiceProfile(v **types.ServiceProfile, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -21550,6 +21949,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(v **types.SessionKeysA } sv.AppSKey = ptr.String(jtv) } + case "NwkSKey": if value != nil { jtv, ok := value.(string) @@ -21558,6 +21958,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_0_x(v **types.SessionKeysA } sv.NwkSKey = ptr.String(jtv) } + default: _, _ = key, value @@ -21597,6 +21998,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.AppSKey = ptr.String(jtv) } + case "FNwkSIntKey": if value != nil { jtv, ok := value.(string) @@ -21605,6 +22007,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.FNwkSIntKey = ptr.String(jtv) } + case "NwkSEncKey": if value != nil { jtv, ok := value.(string) @@ -21613,6 +22016,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.NwkSEncKey = ptr.String(jtv) } + case "SNwkSIntKey": if value != nil { jtv, ok := value.(string) @@ -21621,6 +22025,7 @@ func awsRestjson1_deserializeDocumentSessionKeysAbpV1_1(v **types.SessionKeysAbp } sv.SNwkSIntKey = ptr.String(jtv) } + default: _, _ = key, value @@ -21660,6 +22065,7 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfo(v **types.SidewalkAccou } sv.AmazonId = ptr.String(jtv) } + case "AppServerPrivateKey": if value != nil { jtv, ok := value.(string) @@ -21668,6 +22074,7 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfo(v **types.SidewalkAccou } sv.AppServerPrivateKey = ptr.String(jtv) } + default: _, _ = key, value @@ -21707,6 +22114,7 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.AmazonId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -21715,6 +22123,7 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.Arn = ptr.String(jtv) } + case "Fingerprint": if value != nil { jtv, ok := value.(string) @@ -21723,6 +22132,7 @@ func awsRestjson1_deserializeDocumentSidewalkAccountInfoWithFingerprint(v **type } sv.Fingerprint = ptr.String(jtv) } + default: _, _ = key, value @@ -21796,6 +22206,7 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.AmazonId = ptr.String(jtv) } + case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -21804,10 +22215,12 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.CertificateId = ptr.String(jtv) } + case "DeviceCertificates": if err := awsRestjson1_deserializeDocumentDeviceCertificateList(&sv.DeviceCertificates, value); err != nil { return err } + case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -21816,10 +22229,12 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.DeviceProfileId = ptr.String(jtv) } + case "PrivateKeys": if err := awsRestjson1_deserializeDocumentPrivateKeysList(&sv.PrivateKeys, value); err != nil { return err } + case "SidewalkId": if value != nil { jtv, ok := value.(string) @@ -21828,6 +22243,7 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.SidewalkId = ptr.String(jtv) } + case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -21836,6 +22252,7 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.SidewalkManufacturingSn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21844,6 +22261,7 @@ func awsRestjson1_deserializeDocumentSidewalkDevice(v **types.SidewalkDevice, va } sv.Status = types.WirelessDeviceSidewalkStatus(jtv) } + default: _, _ = key, value @@ -21883,6 +22301,7 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.BatteryLevel = types.BatteryLevel(jtv) } + case "DeviceState": if value != nil { jtv, ok := value.(string) @@ -21891,6 +22310,7 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.DeviceState = types.DeviceState(jtv) } + case "Event": if value != nil { jtv, ok := value.(string) @@ -21899,6 +22319,7 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.Event = types.Event(jtv) } + case "Rssi": if value != nil { jtv, ok := value.(json.Number) @@ -21911,6 +22332,7 @@ func awsRestjson1_deserializeDocumentSidewalkDeviceMetadata(v **types.SidewalkDe } sv.Rssi = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21950,6 +22372,7 @@ func awsRestjson1_deserializeDocumentSidewalkEventNotificationConfigurations(v * } sv.AmazonIdEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -21989,10 +22412,12 @@ func awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(v **types.Sidewalk } sv.ApplicationServerPublicKey = ptr.String(jtv) } + case "DakCertificateMetadata": if err := awsRestjson1_deserializeDocumentDakCertificateMetadataList(&sv.DakCertificateMetadata, value); err != nil { return err } + case "QualificationStatus": if value != nil { jtv, ok := value.(bool) @@ -22001,6 +22426,7 @@ func awsRestjson1_deserializeDocumentSidewalkGetDeviceProfile(v **types.Sidewalk } sv.QualificationStatus = ptr.Bool(jtv) } + default: _, _ = key, value @@ -22036,6 +22462,7 @@ func awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(v **types.Sidewa if err := awsRestjson1_deserializeDocumentDeviceCreationFileList(&sv.DeviceCreationFileList, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -22044,6 +22471,7 @@ func awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(v **types.Sidewa } sv.Role = ptr.String(jtv) } + default: _, _ = key, value @@ -22083,10 +22511,12 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.AmazonId = ptr.String(jtv) } + case "DeviceCertificates": if err := awsRestjson1_deserializeDocumentDeviceCertificateList(&sv.DeviceCertificates, value); err != nil { return err } + case "DeviceProfileId": if value != nil { jtv, ok := value.(string) @@ -22095,6 +22525,7 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.DeviceProfileId = ptr.String(jtv) } + case "SidewalkId": if value != nil { jtv, ok := value.(string) @@ -22103,6 +22534,7 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.SidewalkId = ptr.String(jtv) } + case "SidewalkManufacturingSn": if value != nil { jtv, ok := value.(string) @@ -22111,6 +22543,7 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.SidewalkManufacturingSn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22119,6 +22552,7 @@ func awsRestjson1_deserializeDocumentSidewalkListDevice(v **types.SidewalkListDe } sv.Status = types.WirelessDeviceSidewalkStatus(jtv) } + default: _, _ = key, value @@ -22158,6 +22592,7 @@ func awsRestjson1_deserializeDocumentSidewalkResourceTypeEventConfiguration(v ** } sv.WirelessDeviceEventTopic = types.EventNotificationTopicStatus(jtv) } + default: _, _ = key, value @@ -22237,6 +22672,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricConfiguration(v **types.Summar } sv.Status = types.SummaryMetricConfigurationStatus(jtv) } + default: _, _ = key, value @@ -22276,10 +22712,12 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.AggregationPeriod = types.AggregationPeriod(jtv) } + case "Dimensions": if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + case "EndTimestamp": if value != nil { switch jtv := value.(type) { @@ -22295,6 +22733,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } } + case "Error": if value != nil { jtv, ok := value.(string) @@ -22303,6 +22742,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.Error = ptr.String(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -22311,6 +22751,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.MetricName = types.MetricName(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -22319,6 +22760,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.QueryId = ptr.String(jtv) } + case "QueryStatus": if value != nil { jtv, ok := value.(string) @@ -22327,6 +22769,7 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.QueryStatus = types.MetricQueryStatus(jtv) } + case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -22342,10 +22785,12 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } } + case "Timestamps": if err := awsRestjson1_deserializeDocumentMetricQueryTimestamps(&sv.Timestamps, value); err != nil { return err } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -22354,10 +22799,12 @@ func awsRestjson1_deserializeDocumentSummaryMetricQueryResult(v **types.SummaryM } sv.Unit = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentMetricQueryValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -22431,6 +22878,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -22439,6 +22887,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22512,6 +22961,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22551,6 +23001,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -22559,6 +23010,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -22598,6 +23050,7 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.LogLevel = types.LogLevel(jtv) } + case "MulticastFrameInfo": if value != nil { jtv, ok := value.(string) @@ -22606,6 +23059,7 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.MulticastFrameInfo = types.MulticastFrameInfo(jtv) } + case "WirelessDeviceFrameInfo": if value != nil { jtv, ok := value.(string) @@ -22614,6 +23068,7 @@ func awsRestjson1_deserializeDocumentTraceContent(v **types.TraceContent, value } sv.WirelessDeviceFrameInfo = types.WirelessDeviceFrameInfo(jtv) } + default: _, _ = key, value @@ -22649,6 +23104,7 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U if err := awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskCreate(&sv.LoRaWAN, value); err != nil { return err } + case "UpdateDataRole": if value != nil { jtv, ok := value.(string) @@ -22657,6 +23113,7 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U } sv.UpdateDataRole = ptr.String(jtv) } + case "UpdateDataSource": if value != nil { jtv, ok := value.(string) @@ -22665,6 +23122,7 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskCreate(v **types.U } sv.UpdateDataSource = ptr.String(jtv) } + default: _, _ = key, value @@ -22704,6 +23162,7 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskEntry(v **types.Up } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -22712,10 +23171,12 @@ func awsRestjson1_deserializeDocumentUpdateWirelessGatewayTaskEntry(v **types.Up } sv.Id = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANUpdateGatewayTaskEntry(&sv.LoRaWAN, value); err != nil { return err } + default: _, _ = key, value @@ -22755,6 +23216,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22794,6 +23256,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceEventLogOption(v **types.Wire } sv.Event = types.WirelessDeviceEvent(jtv) } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -22802,6 +23265,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceEventLogOption(v **types.Wire } sv.LogLevel = types.LogLevel(jtv) } + default: _, _ = key, value @@ -22875,6 +23339,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -22887,6 +23352,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.CreationTime = ptr.Time(t) } + case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -22895,6 +23361,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.DestinationName = ptr.String(jtv) } + case "FailedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22907,6 +23374,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.FailedImportedDeviceCount = ptr.Int64(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -22915,6 +23383,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Id = ptr.String(jtv) } + case "InitializedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22927,6 +23396,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.InitializedImportedDeviceCount = ptr.Int64(i64) } + case "OnboardedImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22939,6 +23409,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.OnboardedImportedDeviceCount = ptr.Int64(i64) } + case "PendingImportedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22951,10 +23422,12 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.PendingImportedDeviceCount = ptr.Int64(i64) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkGetStartImportInfo(&sv.Sidewalk, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22963,6 +23436,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.Status = types.ImportTaskStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -22971,6 +23445,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceImportTask(v **types.Wireless } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -23076,6 +23551,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD if err := awsRestjson1_deserializeDocumentWirelessDeviceEventLogOptionList(&sv.Events, value); err != nil { return err } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23084,6 +23560,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD } sv.LogLevel = types.LogLevel(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -23092,6 +23569,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceLogOption(v **types.WirelessD } sv.Type = types.WirelessDeviceType(jtv) } + default: _, _ = key, value @@ -23165,6 +23643,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Arn = ptr.String(jtv) } + case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -23173,6 +23652,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.DestinationName = ptr.String(jtv) } + case "FuotaDeviceStatus": if value != nil { jtv, ok := value.(string) @@ -23181,6 +23661,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.FuotaDeviceStatus = types.FuotaDeviceStatus(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -23189,6 +23670,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Id = ptr.String(jtv) } + case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -23197,10 +23679,12 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.LastUplinkReceivedAt = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANListDevice(&sv.LoRaWAN, value); err != nil { return err } + case "McGroupId": if value != nil { jtv, ok := value.(json.Number) @@ -23213,6 +23697,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.McGroupId = ptr.Int32(int32(i64)) } + case "MulticastDeviceStatus": if value != nil { jtv, ok := value.(string) @@ -23221,6 +23706,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.MulticastDeviceStatus = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23229,10 +23715,12 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Name = ptr.String(jtv) } + case "Sidewalk": if err := awsRestjson1_deserializeDocumentSidewalkListDevice(&sv.Sidewalk, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -23241,6 +23729,7 @@ func awsRestjson1_deserializeDocumentWirelessDeviceStatistics(v **types.Wireless } sv.Type = types.WirelessDeviceType(jtv) } + default: _, _ = key, value @@ -23314,6 +23803,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayEventLogOption(v **types.Wir } sv.Event = types.WirelessGatewayEvent(jtv) } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23322,6 +23812,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayEventLogOption(v **types.Wir } sv.LogLevel = types.LogLevel(jtv) } + default: _, _ = key, value @@ -23427,6 +23918,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless if err := awsRestjson1_deserializeDocumentWirelessGatewayEventLogOptionList(&sv.Events, value); err != nil { return err } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -23435,6 +23927,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless } sv.LogLevel = types.LogLevel(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -23443,6 +23936,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayLogOption(v **types.Wireless } sv.Type = types.WirelessGatewayType(jtv) } + default: _, _ = key, value @@ -23516,6 +24010,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -23524,6 +24019,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -23532,6 +24028,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Id = ptr.String(jtv) } + case "LastUplinkReceivedAt": if value != nil { jtv, ok := value.(string) @@ -23540,10 +24037,12 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.LastUplinkReceivedAt = ptr.String(jtv) } + case "LoRaWAN": if err := awsRestjson1_deserializeDocumentLoRaWANGateway(&sv.LoRaWAN, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23552,6 +24051,7 @@ func awsRestjson1_deserializeDocumentWirelessGatewayStatistics(v **types.Wireles } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ivs/deserializers.go b/service/ivs/deserializers.go index 48fa35a5082..e993381288f 100644 --- a/service/ivs/deserializers.go +++ b/service/ivs/deserializers.go @@ -169,10 +169,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetChannelOutput(v **BatchGetChannel if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -321,10 +323,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetStreamKeyOutput(v **BatchGetStrea if err := awsRestjson1_deserializeDocumentBatchErrors(&sv.Errors, value); err != nil { return err } + case "streamKeys": if err := awsRestjson1_deserializeDocumentStreamKeys(&sv.StreamKeys, value); err != nil { return err } + default: _, _ = key, value @@ -485,6 +489,7 @@ func awsRestjson1_deserializeOpDocumentBatchStartViewerSessionRevocationOutput(v if err := awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -648,10 +653,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + case "streamKey": if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } + default: _, _ = key, value @@ -815,6 +822,7 @@ func awsRestjson1_deserializeOpDocumentCreatePlaybackRestrictionPolicyOutput(v * if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -981,6 +989,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecordingConfigurationOutput(v **Cr if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1144,6 +1153,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamKeyOutput(v **CreateStreamKey if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } + default: _, _ = key, value @@ -1819,6 +1829,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -1976,6 +1987,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackKeyPairOutput(v **GetPlaybackK if err := awsRestjson1_deserializeDocumentPlaybackKeyPair(&sv.KeyPair, value); err != nil { return err } + default: _, _ = key, value @@ -2136,6 +2148,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackRestrictionPolicyOutput(v **Ge if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -2296,6 +2309,7 @@ func awsRestjson1_deserializeOpDocumentGetRecordingConfigurationOutput(v **GetRe if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2456,6 +2470,7 @@ func awsRestjson1_deserializeOpDocumentGetStreamOutput(v **GetStreamOutput, valu if err := awsRestjson1_deserializeDocumentStream(&sv.Stream, value); err != nil { return err } + default: _, _ = key, value @@ -2613,6 +2628,7 @@ func awsRestjson1_deserializeOpDocumentGetStreamKeyOutput(v **GetStreamKeyOutput if err := awsRestjson1_deserializeDocumentStreamKey(&sv.StreamKey, value); err != nil { return err } + default: _, _ = key, value @@ -2770,6 +2786,7 @@ func awsRestjson1_deserializeOpDocumentGetStreamSessionOutput(v **GetStreamSessi if err := awsRestjson1_deserializeDocumentStreamSession(&sv.StreamSession, value); err != nil { return err } + default: _, _ = key, value @@ -2933,6 +2950,7 @@ func awsRestjson1_deserializeOpDocumentImportPlaybackKeyPairOutput(v **ImportPla if err := awsRestjson1_deserializeDocumentPlaybackKeyPair(&sv.KeyPair, value); err != nil { return err } + default: _, _ = key, value @@ -3090,6 +3108,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelList(&sv.Channels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3098,6 +3117,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3252,6 +3272,7 @@ func awsRestjson1_deserializeOpDocumentListPlaybackKeyPairsOutput(v **ListPlayba if err := awsRestjson1_deserializeDocumentPlaybackKeyPairList(&sv.KeyPairs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3260,6 +3281,7 @@ func awsRestjson1_deserializeOpDocumentListPlaybackKeyPairsOutput(v **ListPlayba } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3424,10 +3446,12 @@ func awsRestjson1_deserializeOpDocumentListPlaybackRestrictionPoliciesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "playbackRestrictionPolicies": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyList(&sv.PlaybackRestrictionPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -3589,10 +3613,12 @@ func awsRestjson1_deserializeOpDocumentListRecordingConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "recordingConfigurations": if err := awsRestjson1_deserializeDocumentRecordingConfigurationList(&sv.RecordingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -3754,10 +3780,12 @@ func awsRestjson1_deserializeOpDocumentListStreamKeysOutput(v **ListStreamKeysOu } sv.NextToken = ptr.String(jtv) } + case "streamKeys": if err := awsRestjson1_deserializeDocumentStreamKeyList(&sv.StreamKeys, value); err != nil { return err } + default: _, _ = key, value @@ -3916,10 +3944,12 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } + case "streams": if err := awsRestjson1_deserializeDocumentStreamList(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -4081,10 +4111,12 @@ func awsRestjson1_deserializeOpDocumentListStreamSessionsOutput(v **ListStreamSe } sv.NextToken = ptr.String(jtv) } + case "streamSessions": if err := awsRestjson1_deserializeDocumentStreamSessionList(&sv.StreamSessions, value); err != nil { return err } + default: _, _ = key, value @@ -4242,6 +4274,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4902,6 +4935,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -5065,6 +5099,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaybackRestrictionPolicyOutput(v * if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(&sv.PlaybackRestrictionPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -5464,6 +5499,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5507,6 +5543,7 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.Channels = i64 } + case "codec": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5552,7 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.Codec = ptr.String(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -5527,6 +5565,7 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.SampleRate = i64 } + case "targetBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -5539,6 +5578,7 @@ func awsRestjson1_deserializeDocumentAudioConfiguration(v **types.AudioConfigura } sv.TargetBitrate = i64 } + default: _, _ = key, value @@ -5578,6 +5618,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Arn = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -5586,6 +5627,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -5594,6 +5636,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5667,6 +5710,7 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.ChannelArn = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -5675,6 +5719,7 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -5683,6 +5728,7 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.Message = ptr.String(jtv) } + case "viewerId": if value != nil { jtv, ok := value.(string) @@ -5691,6 +5737,7 @@ func awsRestjson1_deserializeDocumentBatchStartViewerSessionRevocationError(v ** } sv.ViewerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5764,6 +5811,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } + case "authorized": if value != nil { jtv, ok := value.(bool) @@ -5772,6 +5820,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Authorized = jtv } + case "ingestEndpoint": if value != nil { jtv, ok := value.(string) @@ -5780,6 +5829,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.IngestEndpoint = ptr.String(jtv) } + case "insecureIngest": if value != nil { jtv, ok := value.(bool) @@ -5788,6 +5838,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.InsecureIngest = jtv } + case "latencyMode": if value != nil { jtv, ok := value.(string) @@ -5796,6 +5847,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.LatencyMode = types.ChannelLatencyMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5804,6 +5856,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + case "playbackRestrictionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5812,6 +5865,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackRestrictionPolicyArn = ptr.String(jtv) } + case "playbackUrl": if value != nil { jtv, ok := value.(string) @@ -5820,6 +5874,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackUrl = ptr.String(jtv) } + case "preset": if value != nil { jtv, ok := value.(string) @@ -5828,6 +5883,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Preset = types.TranscodePreset(jtv) } + case "recordingConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5836,14 +5892,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RecordingConfigurationArn = ptr.String(jtv) } + case "srt": if err := awsRestjson1_deserializeDocumentSrt(&sv.Srt, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -5852,6 +5911,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -5925,6 +5985,7 @@ func awsRestjson1_deserializeDocumentChannelNotBroadcasting(v **types.ChannelNot } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5998,6 +6059,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Arn = ptr.String(jtv) } + case "authorized": if value != nil { jtv, ok := value.(bool) @@ -6006,6 +6068,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Authorized = jtv } + case "insecureIngest": if value != nil { jtv, ok := value.(bool) @@ -6014,6 +6077,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.InsecureIngest = jtv } + case "latencyMode": if value != nil { jtv, ok := value.(string) @@ -6022,6 +6086,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.LatencyMode = types.ChannelLatencyMode(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6030,6 +6095,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } + case "playbackRestrictionPolicyArn": if value != nil { jtv, ok := value.(string) @@ -6038,6 +6104,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.PlaybackRestrictionPolicyArn = ptr.String(jtv) } + case "preset": if value != nil { jtv, ok := value.(string) @@ -6046,6 +6113,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Preset = types.TranscodePreset(jtv) } + case "recordingConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -6054,10 +6122,12 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.RecordingConfigurationArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6136,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -6105,6 +6176,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6140,6 +6212,7 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -6175,10 +6248,12 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu if err := awsRestjson1_deserializeDocumentAudioConfiguration(&sv.Audio, value); err != nil { return err } + case "video": if err := awsRestjson1_deserializeDocumentVideoConfiguration(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -6218,6 +6293,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6257,6 +6333,7 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6296,6 +6373,7 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Arn = ptr.String(jtv) } + case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -6304,6 +6382,7 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Fingerprint = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6312,10 +6391,12 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPair(v **types.PlaybackKeyPair, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6389,6 +6470,7 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPairSummary(v **types.PlaybackKe } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6397,10 +6479,12 @@ func awsRestjson1_deserializeDocumentPlaybackKeyPairSummary(v **types.PlaybackKe } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6436,10 +6520,12 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedCountryList(&sv.AllowedCountries, value); err != nil { return err } + case "allowedOrigins": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedOriginList(&sv.AllowedOrigins, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6448,6 +6534,7 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.Arn = ptr.String(jtv) } + case "enableStrictOriginEnforcement": if value != nil { jtv, ok := value.(bool) @@ -6456,6 +6543,7 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.EnableStrictOriginEnforcement = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6464,10 +6552,12 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicy(v **types.Playbac } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6609,10 +6699,12 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedCountryList(&sv.AllowedCountries, value); err != nil { return err } + case "allowedOrigins": if err := awsRestjson1_deserializeDocumentPlaybackRestrictionPolicyAllowedOriginList(&sv.AllowedOrigins, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6621,6 +6713,7 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.Arn = ptr.String(jtv) } + case "enableStrictOriginEnforcement": if value != nil { jtv, ok := value.(bool) @@ -6629,6 +6722,7 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.EnableStrictOriginEnforcement = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6637,10 +6731,12 @@ func awsRestjson1_deserializeDocumentPlaybackRestrictionPolicySummary(v **types. } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6680,10 +6776,12 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Arn = ptr.String(jtv) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6692,6 +6790,7 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Name = ptr.String(jtv) } + case "recordingReconnectWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6704,10 +6803,12 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.RecordingReconnectWindowSeconds = int32(i64) } + case "renditionConfiguration": if err := awsRestjson1_deserializeDocumentRenditionConfiguration(&sv.RenditionConfiguration, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -6716,14 +6817,17 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.State = types.RecordingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "thumbnailConfiguration": if err := awsRestjson1_deserializeDocumentThumbnailConfiguration(&sv.ThumbnailConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6797,10 +6901,12 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.Arn = ptr.String(jtv) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6809,6 +6915,7 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6817,10 +6924,12 @@ func awsRestjson1_deserializeDocumentRecordingConfigurationSummary(v **types.Rec } sv.State = types.RecordingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6856,6 +6965,7 @@ func awsRestjson1_deserializeDocumentRenditionConfiguration(v **types.RenditionC if err := awsRestjson1_deserializeDocumentRenditionConfigurationRenditionList(&sv.Renditions, value); err != nil { return err } + case "renditionSelection": if value != nil { jtv, ok := value.(string) @@ -6864,6 +6974,7 @@ func awsRestjson1_deserializeDocumentRenditionConfiguration(v **types.RenditionC } sv.RenditionSelection = types.RenditionConfigurationRenditionSelection(jtv) } + default: _, _ = key, value @@ -6939,6 +7050,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6978,6 +7090,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -7017,6 +7130,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7056,6 +7170,7 @@ func awsRestjson1_deserializeDocumentSrt(v **types.Srt, value interface{}) error } sv.Endpoint = ptr.String(jtv) } + case "passphrase": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7179,7 @@ func awsRestjson1_deserializeDocumentSrt(v **types.Srt, value interface{}) error } sv.Passphrase = ptr.String(jtv) } + default: _, _ = key, value @@ -7103,6 +7219,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.ChannelArn = ptr.String(jtv) } + case "health": if value != nil { jtv, ok := value.(string) @@ -7111,6 +7228,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.Health = types.StreamHealth(jtv) } + case "playbackUrl": if value != nil { jtv, ok := value.(string) @@ -7119,6 +7237,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.PlaybackUrl = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7131,6 +7250,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7259,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.State = types.StreamState(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -7147,6 +7268,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.StreamId = ptr.String(jtv) } + case "viewerCount": if value != nil { jtv, ok := value.(json.Number) @@ -7159,6 +7281,7 @@ func awsRestjson1_deserializeDocumentStream(v **types.Stream, value interface{}) } sv.ViewerCount = i64 } + default: _, _ = key, value @@ -7198,6 +7321,7 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Code = ptr.String(jtv) } + case "eventTime": if value != nil { jtv, ok := value.(string) @@ -7210,6 +7334,7 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.EventTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7218,6 +7343,7 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7226,6 +7352,7 @@ func awsRestjson1_deserializeDocumentStreamEvent(v **types.StreamEvent, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -7299,6 +7426,7 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.Arn = ptr.String(jtv) } + case "channelArn": if value != nil { jtv, ok := value.(string) @@ -7307,10 +7435,12 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.ChannelArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -7319,6 +7449,7 @@ func awsRestjson1_deserializeDocumentStreamKey(v **types.StreamKey, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7426,6 +7557,7 @@ func awsRestjson1_deserializeDocumentStreamKeySummary(v **types.StreamKeySummary } sv.Arn = ptr.String(jtv) } + case "channelArn": if value != nil { jtv, ok := value.(string) @@ -7434,10 +7566,12 @@ func awsRestjson1_deserializeDocumentStreamKeySummary(v **types.StreamKeySummary } sv.ChannelArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7507,6 +7641,7 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -7519,14 +7654,17 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.EndTime = ptr.Time(t) } + case "ingestConfiguration": if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } + case "recordingConfiguration": if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7539,6 +7677,7 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.StartTime = ptr.Time(t) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -7547,10 +7686,12 @@ func awsRestjson1_deserializeDocumentStreamSession(v **types.StreamSession, valu } sv.StreamId = ptr.String(jtv) } + case "truncatedEvents": if err := awsRestjson1_deserializeDocumentStreamEvents(&sv.TruncatedEvents, value); err != nil { return err } + default: _, _ = key, value @@ -7628,6 +7769,7 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.EndTime = ptr.Time(t) } + case "hasErrorEvent": if value != nil { jtv, ok := value.(bool) @@ -7636,6 +7778,7 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.HasErrorEvent = jtv } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7648,6 +7791,7 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.StartTime = ptr.Time(t) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -7656,6 +7800,7 @@ func awsRestjson1_deserializeDocumentStreamSessionSummary(v **types.StreamSessio } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -7695,6 +7840,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.ChannelArn = ptr.String(jtv) } + case "health": if value != nil { jtv, ok := value.(string) @@ -7703,6 +7849,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.Health = types.StreamHealth(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7715,6 +7862,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7723,6 +7871,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.State = types.StreamState(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -7731,6 +7880,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamId = ptr.String(jtv) } + case "viewerCount": if value != nil { jtv, ok := value.(json.Number) @@ -7743,6 +7893,7 @@ func awsRestjson1_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.ViewerCount = i64 } + default: _, _ = key, value @@ -7782,6 +7933,7 @@ func awsRestjson1_deserializeDocumentStreamUnavailable(v **types.StreamUnavailab } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7857,6 +8009,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7896,6 +8049,7 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.RecordingMode = types.RecordingMode(jtv) } + case "resolution": if value != nil { jtv, ok := value.(string) @@ -7904,10 +8058,12 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.Resolution = types.ThumbnailConfigurationResolution(jtv) } + case "storage": if err := awsRestjson1_deserializeDocumentThumbnailConfigurationStorageList(&sv.Storage, value); err != nil { return err } + case "targetIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7920,6 +8076,7 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.TargetIntervalSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -7995,6 +8152,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8034,6 +8192,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.AvcLevel = ptr.String(jtv) } + case "avcProfile": if value != nil { jtv, ok := value.(string) @@ -8042,6 +8201,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.AvcProfile = ptr.String(jtv) } + case "codec": if value != nil { jtv, ok := value.(string) @@ -8050,6 +8210,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.Codec = ptr.String(jtv) } + case "encoder": if value != nil { jtv, ok := value.(string) @@ -8058,6 +8219,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.Encoder = ptr.String(jtv) } + case "targetBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -8070,6 +8232,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.TargetBitrate = i64 } + case "targetFramerate": if value != nil { jtv, ok := value.(json.Number) @@ -8082,6 +8245,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.TargetFramerate = i64 } + case "videoHeight": if value != nil { jtv, ok := value.(json.Number) @@ -8094,6 +8258,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.VideoHeight = i64 } + case "videoWidth": if value != nil { jtv, ok := value.(json.Number) @@ -8106,6 +8271,7 @@ func awsRestjson1_deserializeDocumentVideoConfiguration(v **types.VideoConfigura } sv.VideoWidth = i64 } + default: _, _ = key, value diff --git a/service/ivschat/deserializers.go b/service/ivschat/deserializers.go index 67b5318c244..6d865ad7808 100644 --- a/service/ivschat/deserializers.go +++ b/service/ivschat/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.SessionExpirationTime = ptr.Time(t) } + case "token": if value != nil { jtv, ok := value.(string) @@ -197,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.Token = ptr.String(jtv) } + case "tokenExpirationTime": if value != nil { jtv, ok := value.(string) @@ -209,6 +211,7 @@ func awsRestjson1_deserializeOpDocumentCreateChatTokenOutput(v **CreateChatToken } sv.TokenExpirationTime = ptr.Time(t) } + default: _, _ = key, value @@ -379,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -391,10 +395,12 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.CreateTime = ptr.Time(t) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -403,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -411,6 +418,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -419,10 +427,12 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.State = types.CreateLoggingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -435,6 +445,7 @@ func awsRestjson1_deserializeOpDocumentCreateLoggingConfigurationOutput(v **Crea } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -605,6 +616,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -617,6 +629,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.CreateTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -625,10 +638,12 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Id = ptr.String(jtv) } + case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } + case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -641,6 +656,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } + case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -653,10 +669,12 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } + case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -665,10 +683,12 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -681,6 +701,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoomOutput(v **CreateRoomOutput, va } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -954,6 +975,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMessageOutput(v **DeleteMessageOutp } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1318,6 +1340,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -1330,10 +1353,12 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.CreateTime = ptr.Time(t) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1342,6 +1367,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1350,6 +1376,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1358,10 +1385,12 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.State = types.LoggingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1374,6 +1403,7 @@ func awsRestjson1_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1535,6 +1565,7 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -1547,6 +1578,7 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.CreateTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1555,10 +1587,12 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Id = ptr.String(jtv) } + case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } + case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -1571,6 +1605,7 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } + case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -1583,10 +1618,12 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } + case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1595,10 +1632,12 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -1611,6 +1650,7 @@ func awsRestjson1_deserializeOpDocumentGetRoomOutput(v **GetRoomOutput, value in } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1765,6 +1805,7 @@ func awsRestjson1_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsRestjson1_deserializeDocumentLoggingConfigurationList(&sv.LoggingConfigurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1773,6 +1814,7 @@ func awsRestjson1_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1934,10 +1976,12 @@ func awsRestjson1_deserializeOpDocumentListRoomsOutput(v **ListRoomsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "rooms": if err := awsRestjson1_deserializeDocumentRoomList(&sv.Rooms, value); err != nil { return err } + default: _, _ = key, value @@ -2095,6 +2139,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2262,6 +2307,7 @@ func awsRestjson1_deserializeOpDocumentSendEventOutput(v **SendEventOutput, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2617,6 +2663,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -2629,10 +2676,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.CreateTime = ptr.Time(t) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2641,6 +2690,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2649,6 +2699,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2657,10 +2708,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.State = types.UpdateLoggingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2673,6 +2726,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -2837,6 +2891,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -2849,6 +2904,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.CreateTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2857,10 +2913,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Id = ptr.String(jtv) } + case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } + case "maximumMessageLength": if value != nil { jtv, ok := value.(json.Number) @@ -2873,6 +2931,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.MaximumMessageLength = ptr.Int32(int32(i64)) } + case "maximumMessageRatePerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -2885,10 +2944,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.MaximumMessageRatePerSecond = ptr.Int32(int32(i64)) } + case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2897,10 +2958,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -2913,6 +2976,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoomOutput(v **UpdateRoomOutput, va } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -3240,6 +3304,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3279,6 +3344,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestinationConfiguration(v ** } sv.LogGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3318,6 +3384,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3326,6 +3393,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3334,6 +3402,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -3433,6 +3502,7 @@ func awsRestjson1_deserializeDocumentFirehoseDestinationConfiguration(v **types. } sv.DeliveryStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -3472,6 +3542,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3581,6 +3652,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -3593,10 +3665,12 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.CreateTime = ptr.Time(t) } + case "destinationConfiguration": if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3605,6 +3679,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3613,6 +3688,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3621,10 +3697,12 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.State = types.LoggingConfigurationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -3637,6 +3715,7 @@ func awsRestjson1_deserializeDocumentLoggingConfigurationSummary(v **types.Loggi } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -3676,6 +3755,7 @@ func awsRestjson1_deserializeDocumentMessageReviewHandler(v **types.MessageRevie } sv.FallbackResult = types.FallbackResult(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -3684,6 +3764,7 @@ func awsRestjson1_deserializeDocumentMessageReviewHandler(v **types.MessageRevie } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3723,6 +3804,7 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3762,6 +3844,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3770,6 +3853,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3778,6 +3862,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -3851,6 +3936,7 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Arn = ptr.String(jtv) } + case "createTime": if value != nil { jtv, ok := value.(string) @@ -3863,6 +3949,7 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.CreateTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3871,14 +3958,17 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Id = ptr.String(jtv) } + case "loggingConfigurationIdentifiers": if err := awsRestjson1_deserializeDocumentLoggingConfigurationIdentifierList(&sv.LoggingConfigurationIdentifiers, value); err != nil { return err } + case "messageReviewHandler": if err := awsRestjson1_deserializeDocumentMessageReviewHandler(&sv.MessageReviewHandler, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3887,10 +3977,12 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -3903,6 +3995,7 @@ func awsRestjson1_deserializeDocumentRoomSummary(v **types.RoomSummary, value in } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -3942,6 +4035,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -3985,6 +4079,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Limit = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3993,6 +4088,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4001,6 +4097,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4009,6 +4106,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -4088,6 +4186,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Limit = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4096,6 +4195,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4104,6 +4204,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4112,6 +4213,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -4147,6 +4249,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4155,6 +4258,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4163,6 +4267,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -4202,6 +4307,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4210,6 +4316,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ivsrealtime/deserializers.go b/service/ivsrealtime/deserializers.go index 404f2329c70..a63de8a63f9 100644 --- a/service/ivsrealtime/deserializers.go +++ b/service/ivsrealtime/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateEncoderConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentEncoderConfiguration(&sv.EncoderConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -350,6 +351,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestConfigurationOutput(v **Creat if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -513,6 +515,7 @@ func awsRestjson1_deserializeOpDocumentCreateParticipantTokenOutput(v **CreatePa if err := awsRestjson1_deserializeDocumentParticipantToken(&sv.ParticipantToken, value); err != nil { return err } + default: _, _ = key, value @@ -673,10 +676,12 @@ func awsRestjson1_deserializeOpDocumentCreateStageOutput(v **CreateStageOutput, if err := awsRestjson1_deserializeDocumentParticipantTokenList(&sv.ParticipantTokens, value); err != nil { return err } + case "stage": if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } + default: _, _ = key, value @@ -846,6 +851,7 @@ func awsRestjson1_deserializeOpDocumentCreateStorageConfigurationOutput(v **Crea if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1615,6 +1621,7 @@ func awsRestjson1_deserializeOpDocumentGetCompositionOutput(v **GetCompositionOu if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } + default: _, _ = key, value @@ -1781,6 +1788,7 @@ func awsRestjson1_deserializeOpDocumentGetEncoderConfigurationOutput(v **GetEnco if err := awsRestjson1_deserializeDocumentEncoderConfiguration(&sv.EncoderConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1938,6 +1946,7 @@ func awsRestjson1_deserializeOpDocumentGetIngestConfigurationOutput(v **GetInges if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2095,6 +2104,7 @@ func awsRestjson1_deserializeOpDocumentGetParticipantOutput(v **GetParticipantOu if err := awsRestjson1_deserializeDocumentParticipant(&sv.Participant, value); err != nil { return err } + default: _, _ = key, value @@ -2252,6 +2262,7 @@ func awsRestjson1_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput if err := awsRestjson1_deserializeDocumentPublicKey(&sv.PublicKey, value); err != nil { return err } + default: _, _ = key, value @@ -2409,6 +2420,7 @@ func awsRestjson1_deserializeOpDocumentGetStageOutput(v **GetStageOutput, value if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } + default: _, _ = key, value @@ -2566,6 +2578,7 @@ func awsRestjson1_deserializeOpDocumentGetStageSessionOutput(v **GetStageSession if err := awsRestjson1_deserializeDocumentStageSession(&sv.StageSession, value); err != nil { return err } + default: _, _ = key, value @@ -2732,6 +2745,7 @@ func awsRestjson1_deserializeOpDocumentGetStorageConfigurationOutput(v **GetStor if err := awsRestjson1_deserializeDocumentStorageConfiguration(&sv.StorageConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2895,6 +2909,7 @@ func awsRestjson1_deserializeOpDocumentImportPublicKeyOutput(v **ImportPublicKey if err := awsRestjson1_deserializeDocumentPublicKey(&sv.PublicKey, value); err != nil { return err } + default: _, _ = key, value @@ -3058,6 +3073,7 @@ func awsRestjson1_deserializeOpDocumentListCompositionsOutput(v **ListCompositio if err := awsRestjson1_deserializeDocumentCompositionSummaryList(&sv.Compositions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3066,6 +3082,7 @@ func awsRestjson1_deserializeOpDocumentListCompositionsOutput(v **ListCompositio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3229,6 +3246,7 @@ func awsRestjson1_deserializeOpDocumentListEncoderConfigurationsOutput(v **ListE if err := awsRestjson1_deserializeDocumentEncoderConfigurationSummaryList(&sv.EncoderConfigurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3237,6 +3255,7 @@ func awsRestjson1_deserializeOpDocumentListEncoderConfigurationsOutput(v **ListE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3391,6 +3410,7 @@ func awsRestjson1_deserializeOpDocumentListIngestConfigurationsOutput(v **ListIn if err := awsRestjson1_deserializeDocumentIngestConfigurationList(&sv.IngestConfigurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3419,7 @@ func awsRestjson1_deserializeOpDocumentListIngestConfigurationsOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3553,6 +3574,7 @@ func awsRestjson1_deserializeOpDocumentListParticipantEventsOutput(v **ListParti if err := awsRestjson1_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3561,6 +3583,7 @@ func awsRestjson1_deserializeOpDocumentListParticipantEventsOutput(v **ListParti } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3719,10 +3742,12 @@ func awsRestjson1_deserializeOpDocumentListParticipantsOutput(v **ListParticipan } sv.NextToken = ptr.String(jtv) } + case "participants": if err := awsRestjson1_deserializeDocumentParticipantList(&sv.Participants, value); err != nil { return err } + default: _, _ = key, value @@ -3881,10 +3906,12 @@ func awsRestjson1_deserializeOpDocumentListPublicKeysOutput(v **ListPublicKeysOu } sv.NextToken = ptr.String(jtv) } + case "publicKeys": if err := awsRestjson1_deserializeDocumentPublicKeyList(&sv.PublicKeys, value); err != nil { return err } + default: _, _ = key, value @@ -4046,10 +4073,12 @@ func awsRestjson1_deserializeOpDocumentListStagesOutput(v **ListStagesOutput, va } sv.NextToken = ptr.String(jtv) } + case "stages": if err := awsRestjson1_deserializeDocumentStageSummaryList(&sv.Stages, value); err != nil { return err } + default: _, _ = key, value @@ -4208,10 +4237,12 @@ func awsRestjson1_deserializeOpDocumentListStageSessionsOutput(v **ListStageSess } sv.NextToken = ptr.String(jtv) } + case "stageSessions": if err := awsRestjson1_deserializeDocumentStageSessionList(&sv.StageSessions, value); err != nil { return err } + default: _, _ = key, value @@ -4379,10 +4410,12 @@ func awsRestjson1_deserializeOpDocumentListStorageConfigurationsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + case "storageConfigurations": if err := awsRestjson1_deserializeDocumentStorageConfigurationSummaryList(&sv.StorageConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -4540,6 +4573,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4709,6 +4743,7 @@ func awsRestjson1_deserializeOpDocumentStartCompositionOutput(v **StartCompositi if err := awsRestjson1_deserializeDocumentComposition(&sv.Composition, value); err != nil { return err } + default: _, _ = key, value @@ -5163,6 +5198,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIngestConfigurationOutput(v **Updat if err := awsRestjson1_deserializeDocumentIngestConfiguration(&sv.IngestConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5329,6 +5365,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStageOutput(v **UpdateStageOutput, if err := awsRestjson1_deserializeDocumentStage(&sv.Stage, value); err != nil { return err } + default: _, _ = key, value @@ -5620,6 +5657,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5655,6 +5693,7 @@ func awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(v **t if err := awsRestjson1_deserializeDocumentParticipantRecordingMediaTypeList(&sv.MediaTypes, value); err != nil { return err } + case "storageConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5663,6 +5702,7 @@ func awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(v **t } sv.StorageConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5702,6 +5742,7 @@ func awsRestjson1_deserializeDocumentChannelDestinationConfiguration(v **types.C } sv.ChannelArn = ptr.String(jtv) } + case "encoderConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5710,6 +5751,7 @@ func awsRestjson1_deserializeDocumentChannelDestinationConfiguration(v **types.C } sv.EncoderConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5749,10 +5791,12 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.Arn = ptr.String(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocumentDestinationList(&sv.Destinations, value); err != nil { return err } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -5765,10 +5809,12 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.EndTime = ptr.Time(t) } + case "layout": if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.Layout, value); err != nil { return err } + case "stageArn": if value != nil { jtv, ok := value.(string) @@ -5777,6 +5823,7 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.StageArn = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -5789,6 +5836,7 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -5797,10 +5845,12 @@ func awsRestjson1_deserializeDocumentComposition(v **types.Composition, value in } sv.State = types.CompositionState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5840,10 +5890,12 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.Arn = ptr.String(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocumentDestinationSummaryList(&sv.Destinations, value); err != nil { return err } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -5856,6 +5908,7 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.EndTime = ptr.Time(t) } + case "stageArn": if value != nil { jtv, ok := value.(string) @@ -5864,6 +5917,7 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.StageArn = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -5876,6 +5930,7 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -5884,10 +5939,12 @@ func awsRestjson1_deserializeDocumentCompositionSummary(v **types.CompositionSum } sv.State = types.CompositionState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5961,6 +6018,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5996,10 +6054,12 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentDestinationConfiguration(&sv.Configuration, value); err != nil { return err } + case "detail": if err := awsRestjson1_deserializeDocumentDestinationDetail(&sv.Detail, value); err != nil { return err } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -6012,6 +6072,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.EndTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6020,6 +6081,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.Id = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6032,6 +6094,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6040,6 +6103,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in } sv.State = types.DestinationState(jtv) } + default: _, _ = key, value @@ -6075,6 +6139,7 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat if err := awsRestjson1_deserializeDocumentChannelDestinationConfiguration(&sv.Channel, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6083,10 +6148,12 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.Name = ptr.String(jtv) } + case "s3": if err := awsRestjson1_deserializeDocumentS3DestinationConfiguration(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -6122,6 +6189,7 @@ func awsRestjson1_deserializeDocumentDestinationDetail(v **types.DestinationDeta if err := awsRestjson1_deserializeDocumentS3Detail(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -6199,6 +6267,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.EndTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6207,6 +6276,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.Id = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -6219,6 +6289,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.StartTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6227,6 +6298,7 @@ func awsRestjson1_deserializeDocumentDestinationSummary(v **types.DestinationSum } sv.State = types.DestinationState(jtv) } + default: _, _ = key, value @@ -6300,6 +6372,7 @@ func awsRestjson1_deserializeDocumentEncoderConfiguration(v **types.EncoderConfi } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6308,14 +6381,17 @@ func awsRestjson1_deserializeDocumentEncoderConfiguration(v **types.EncoderConfi } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "video": if err := awsRestjson1_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + default: _, _ = key, value @@ -6391,6 +6467,7 @@ func awsRestjson1_deserializeDocumentEncoderConfigurationSummary(v **types.Encod } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6399,10 +6476,12 @@ func awsRestjson1_deserializeDocumentEncoderConfigurationSummary(v **types.Encod } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6476,6 +6555,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ErrorCode = types.EventErrorCode(jtv) } + case "eventTime": if value != nil { jtv, ok := value.(string) @@ -6488,6 +6568,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.EventTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6496,6 +6577,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Name = types.EventName(jtv) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -6504,6 +6586,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.ParticipantId = ptr.String(jtv) } + case "remoteParticipantId": if value != nil { jtv, ok := value.(string) @@ -6512,6 +6595,7 @@ func awsRestjson1_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.RemoteParticipantId = ptr.String(jtv) } + default: _, _ = key, value @@ -6585,6 +6669,7 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.FeaturedParticipantAttribute = ptr.String(jtv) } + case "gridGap": if value != nil { jtv, ok := value.(json.Number) @@ -6597,6 +6682,7 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.GridGap = int32(i64) } + case "omitStoppedVideo": if value != nil { jtv, ok := value.(bool) @@ -6605,6 +6691,7 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.OmitStoppedVideo = jtv } + case "videoAspectRatio": if value != nil { jtv, ok := value.(string) @@ -6613,6 +6700,7 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.VideoAspectRatio = types.VideoAspectRatio(jtv) } + case "videoFillMode": if value != nil { jtv, ok := value.(string) @@ -6621,6 +6709,7 @@ func awsRestjson1_deserializeDocumentGridConfiguration(v **types.GridConfigurati } sv.VideoFillMode = types.VideoFillMode(jtv) } + default: _, _ = key, value @@ -6660,10 +6749,12 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.Arn = ptr.String(jtv) } + case "attributes": if err := awsRestjson1_deserializeDocumentParticipantAttributes(&sv.Attributes, value); err != nil { return err } + case "ingestProtocol": if value != nil { jtv, ok := value.(string) @@ -6672,6 +6763,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.IngestProtocol = types.IngestProtocol(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6680,6 +6772,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.Name = ptr.String(jtv) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -6688,6 +6781,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.ParticipantId = ptr.String(jtv) } + case "stageArn": if value != nil { jtv, ok := value.(string) @@ -6696,6 +6790,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.StageArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6704,6 +6799,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.State = types.IngestConfigurationState(jtv) } + case "streamKey": if value != nil { jtv, ok := value.(string) @@ -6712,10 +6808,12 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.StreamKey = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "userId": if value != nil { jtv, ok := value.(string) @@ -6724,6 +6822,7 @@ func awsRestjson1_deserializeDocumentIngestConfiguration(v **types.IngestConfigu } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -6797,6 +6896,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.Arn = ptr.String(jtv) } + case "ingestProtocol": if value != nil { jtv, ok := value.(string) @@ -6805,6 +6905,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.IngestProtocol = types.IngestProtocol(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6813,6 +6914,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.Name = ptr.String(jtv) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -6821,6 +6923,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.ParticipantId = ptr.String(jtv) } + case "stageArn": if value != nil { jtv, ok := value.(string) @@ -6829,6 +6932,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.StageArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6837,6 +6941,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.State = types.IngestConfigurationState(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -6845,6 +6950,7 @@ func awsRestjson1_deserializeDocumentIngestConfigurationSummary(v **types.Ingest } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -6884,6 +6990,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6919,10 +7026,12 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu if err := awsRestjson1_deserializeDocumentGridConfiguration(&sv.Grid, value); err != nil { return err } + case "pip": if err := awsRestjson1_deserializeDocumentPipConfiguration(&sv.Pip, value); err != nil { return err } + default: _, _ = key, value @@ -6958,6 +7067,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in if err := awsRestjson1_deserializeDocumentParticipantAttributes(&sv.Attributes, value); err != nil { return err } + case "browserName": if value != nil { jtv, ok := value.(string) @@ -6966,6 +7076,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.BrowserName = ptr.String(jtv) } + case "browserVersion": if value != nil { jtv, ok := value.(string) @@ -6974,6 +7085,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.BrowserVersion = ptr.String(jtv) } + case "firstJoinTime": if value != nil { jtv, ok := value.(string) @@ -6986,6 +7098,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.FirstJoinTime = ptr.Time(t) } + case "ispName": if value != nil { jtv, ok := value.(string) @@ -6994,6 +7107,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.IspName = ptr.String(jtv) } + case "osName": if value != nil { jtv, ok := value.(string) @@ -7002,6 +7116,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.OsName = ptr.String(jtv) } + case "osVersion": if value != nil { jtv, ok := value.(string) @@ -7010,6 +7125,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.OsVersion = ptr.String(jtv) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -7018,6 +7134,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.ParticipantId = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -7026,6 +7143,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.Protocol = types.ParticipantProtocol(jtv) } + case "published": if value != nil { jtv, ok := value.(bool) @@ -7034,6 +7152,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.Published = jtv } + case "recordingS3BucketName": if value != nil { jtv, ok := value.(string) @@ -7042,6 +7161,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingS3BucketName = ptr.String(jtv) } + case "recordingS3Prefix": if value != nil { jtv, ok := value.(string) @@ -7050,6 +7170,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingS3Prefix = ptr.String(jtv) } + case "recordingState": if value != nil { jtv, ok := value.(string) @@ -7058,6 +7179,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.RecordingState = types.ParticipantRecordingState(jtv) } + case "sdkVersion": if value != nil { jtv, ok := value.(string) @@ -7066,6 +7188,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.SdkVersion = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7074,6 +7197,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.State = types.ParticipantState(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -7082,6 +7206,7 @@ func awsRestjson1_deserializeDocumentParticipant(v **types.Participant, value in } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -7231,6 +7356,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.FirstJoinTime = ptr.Time(t) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -7239,6 +7365,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.ParticipantId = ptr.String(jtv) } + case "published": if value != nil { jtv, ok := value.(bool) @@ -7247,6 +7374,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.Published = jtv } + case "recordingState": if value != nil { jtv, ok := value.(string) @@ -7255,6 +7383,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.RecordingState = types.ParticipantRecordingState(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7263,6 +7392,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.State = types.ParticipantState(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -7271,6 +7401,7 @@ func awsRestjson1_deserializeDocumentParticipantSummary(v **types.ParticipantSum } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -7306,10 +7437,12 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken if err := awsRestjson1_deserializeDocumentParticipantTokenAttributes(&sv.Attributes, value); err != nil { return err } + case "capabilities": if err := awsRestjson1_deserializeDocumentParticipantTokenCapabilities(&sv.Capabilities, value); err != nil { return err } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -7322,6 +7455,7 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.Duration = ptr.Int32(int32(i64)) } + case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -7334,6 +7468,7 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.ExpirationTime = ptr.Time(t) } + case "participantId": if value != nil { jtv, ok := value.(string) @@ -7342,6 +7477,7 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.ParticipantId = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -7350,6 +7486,7 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.Token = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7495,7 @@ func awsRestjson1_deserializeDocumentParticipantToken(v **types.ParticipantToken } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -7503,6 +7641,7 @@ func awsRestjson1_deserializeDocumentPendingVerification(v **types.PendingVerifi } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7542,6 +7681,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.FeaturedParticipantAttribute = ptr.String(jtv) } + case "gridGap": if value != nil { jtv, ok := value.(json.Number) @@ -7554,6 +7694,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.GridGap = int32(i64) } + case "omitStoppedVideo": if value != nil { jtv, ok := value.(bool) @@ -7562,6 +7703,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.OmitStoppedVideo = jtv } + case "pipBehavior": if value != nil { jtv, ok := value.(string) @@ -7570,6 +7712,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipBehavior = types.PipBehavior(jtv) } + case "pipHeight": if value != nil { jtv, ok := value.(json.Number) @@ -7582,6 +7725,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipHeight = ptr.Int32(int32(i64)) } + case "pipOffset": if value != nil { jtv, ok := value.(json.Number) @@ -7594,6 +7738,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipOffset = int32(i64) } + case "pipParticipantAttribute": if value != nil { jtv, ok := value.(string) @@ -7602,6 +7747,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipParticipantAttribute = ptr.String(jtv) } + case "pipPosition": if value != nil { jtv, ok := value.(string) @@ -7610,6 +7756,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipPosition = types.PipPosition(jtv) } + case "pipWidth": if value != nil { jtv, ok := value.(json.Number) @@ -7622,6 +7769,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.PipWidth = ptr.Int32(int32(i64)) } + case "videoFillMode": if value != nil { jtv, ok := value.(string) @@ -7630,6 +7778,7 @@ func awsRestjson1_deserializeDocumentPipConfiguration(v **types.PipConfiguration } sv.VideoFillMode = types.VideoFillMode(jtv) } + default: _, _ = key, value @@ -7669,6 +7818,7 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Arn = ptr.String(jtv) } + case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -7677,6 +7827,7 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Fingerprint = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7685,6 +7836,7 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.Name = ptr.String(jtv) } + case "publicKeyMaterial": if value != nil { jtv, ok := value.(string) @@ -7693,10 +7845,12 @@ func awsRestjson1_deserializeDocumentPublicKey(v **types.PublicKey, value interf } sv.PublicKeyMaterial = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7770,6 +7924,7 @@ func awsRestjson1_deserializeDocumentPublicKeySummary(v **types.PublicKeySummary } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7778,10 +7933,12 @@ func awsRestjson1_deserializeDocumentPublicKeySummary(v **types.PublicKeySummary } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7821,6 +7978,7 @@ func awsRestjson1_deserializeDocumentRecordingConfiguration(v **types.RecordingC } sv.Format = types.RecordingConfigurationFormat(jtv) } + default: _, _ = key, value @@ -7860,6 +8018,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7895,10 +8054,12 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest if err := awsRestjson1_deserializeDocumentEncoderConfigurationArnList(&sv.EncoderConfigurationArns, value); err != nil { return err } + case "recordingConfiguration": if err := awsRestjson1_deserializeDocumentRecordingConfiguration(&sv.RecordingConfiguration, value); err != nil { return err } + case "storageConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -7907,6 +8068,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfiguration(v **types.S3Dest } sv.StorageConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7946,6 +8108,7 @@ func awsRestjson1_deserializeDocumentS3Detail(v **types.S3Detail, value interfac } sv.RecordingPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7985,6 +8148,7 @@ func awsRestjson1_deserializeDocumentS3StorageConfiguration(v **types.S3StorageC } sv.BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -8024,6 +8188,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8063,6 +8228,7 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.ActiveSessionId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8071,14 +8237,17 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "autoParticipantRecordingConfiguration": if err := awsRestjson1_deserializeDocumentAutoParticipantRecordingConfiguration(&sv.AutoParticipantRecordingConfiguration, value); err != nil { return err } + case "endpoints": if err := awsRestjson1_deserializeDocumentStageEndpoints(&sv.Endpoints, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8087,10 +8256,12 @@ func awsRestjson1_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8130,6 +8301,7 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Events = ptr.String(jtv) } + case "rtmp": if value != nil { jtv, ok := value.(string) @@ -8138,6 +8310,7 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Rtmp = ptr.String(jtv) } + case "rtmps": if value != nil { jtv, ok := value.(string) @@ -8146,6 +8319,7 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Rtmps = ptr.String(jtv) } + case "whip": if value != nil { jtv, ok := value.(string) @@ -8154,6 +8328,7 @@ func awsRestjson1_deserializeDocumentStageEndpoints(v **types.StageEndpoints, va } sv.Whip = ptr.String(jtv) } + default: _, _ = key, value @@ -8197,6 +8372,7 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.EndTime = ptr.Time(t) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8205,6 +8381,7 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.SessionId = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -8217,6 +8394,7 @@ func awsRestjson1_deserializeDocumentStageSession(v **types.StageSession, value } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -8294,6 +8472,7 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.EndTime = ptr.Time(t) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -8302,6 +8481,7 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.SessionId = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -8314,6 +8494,7 @@ func awsRestjson1_deserializeDocumentStageSessionSummary(v **types.StageSessionS } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -8353,6 +8534,7 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.ActiveSessionId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8361,6 +8543,7 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8369,10 +8552,12 @@ func awsRestjson1_deserializeDocumentStageSummary(v **types.StageSummary, value } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8446,6 +8631,7 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8454,14 +8640,17 @@ func awsRestjson1_deserializeDocumentStorageConfiguration(v **types.StorageConfi } sv.Name = ptr.String(jtv) } + case "s3": if err := awsRestjson1_deserializeDocumentS3StorageConfiguration(&sv.S3, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8501,6 +8690,7 @@ func awsRestjson1_deserializeDocumentStorageConfigurationSummary(v **types.Stora } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8509,14 +8699,17 @@ func awsRestjson1_deserializeDocumentStorageConfigurationSummary(v **types.Stora } sv.Name = ptr.String(jtv) } + case "s3": if err := awsRestjson1_deserializeDocumentS3StorageConfiguration(&sv.S3, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8626,6 +8819,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ExceptionMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8669,6 +8863,7 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Bitrate = ptr.Int32(int32(i64)) } + case "framerate": if value != nil { switch jtv := value.(type) { @@ -8702,6 +8897,7 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -8714,6 +8910,7 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -8726,6 +8923,7 @@ func awsRestjson1_deserializeDocumentVideo(v **types.Video, value interface{}) e } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/kafka/deserializers.go b/service/kafka/deserializers.go index b69bfeb2f54..81f4d724c9b 100644 --- a/service/kafka/deserializers.go +++ b/service/kafka/deserializers.go @@ -196,10 +196,12 @@ func awsRestjson1_deserializeOpDocumentBatchAssociateScramSecretOutput(v **Batch } sv.ClusterArn = ptr.String(jtv) } + case "unprocessedScramSecrets": if err := awsRestjson1_deserializeDocument__listOfUnprocessedScramSecret(&sv.UnprocessedScramSecrets, value); err != nil { return err } + default: _, _ = key, value @@ -373,10 +375,12 @@ func awsRestjson1_deserializeOpDocumentBatchDisassociateScramSecretOutput(v **Ba } sv.ClusterArn = ptr.String(jtv) } + case "unprocessedScramSecrets": if err := awsRestjson1_deserializeDocument__listOfUnprocessedScramSecret(&sv.UnprocessedScramSecrets, value); err != nil { return err } + default: _, _ = key, value @@ -550,6 +554,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -558,6 +563,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterName = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -566,6 +572,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -739,6 +746,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -747,6 +755,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterName = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -755,6 +764,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.ClusterType = types.ClusterType(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -763,6 +773,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterV2Output(v **CreateClusterV2 } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -936,6 +947,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -948,10 +960,12 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.CreationTime = ptr.Time(t) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -960,6 +974,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -968,6 +983,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.State = types.ConfigurationState(jtv) } + default: _, _ = key, value @@ -1144,6 +1160,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorArn = ptr.String(jtv) } + case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -1152,6 +1169,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorName = ptr.String(jtv) } + case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -1160,6 +1178,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicatorOutput(v **CreateReplicat } sv.ReplicatorState = types.ReplicatorState(jtv) } + default: _, _ = key, value @@ -1330,10 +1349,12 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.Authentication = ptr.String(jtv) } + case "clientSubnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ClientSubnets, value); err != nil { return err } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1346,10 +1367,12 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.CreationTime = ptr.Time(t) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -1358,10 +1381,12 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.State = types.VpcConnectionState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -1370,6 +1395,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.VpcConnectionArn = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1378,6 +1404,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcConnectionOutput(v **CreateVpcCo } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1542,6 +1569,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1550,6 +1578,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -1811,6 +1840,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigurationOutput(v **DeleteConfi } sv.Arn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1819,6 +1849,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConfigurationOutput(v **DeleteConfi } sv.State = types.ConfigurationState(jtv) } + default: _, _ = key, value @@ -1992,6 +2023,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReplicatorOutput(v **DeleteReplicat } sv.ReplicatorArn = ptr.String(jtv) } + case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -2000,6 +2032,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReplicatorOutput(v **DeleteReplicat } sv.ReplicatorState = types.ReplicatorState(jtv) } + default: _, _ = key, value @@ -2164,6 +2197,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcConnectionOutput(v **DeleteVpcCo } sv.State = types.VpcConnectionState(jtv) } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -2172,6 +2206,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcConnectionOutput(v **DeleteVpcCo } sv.VpcConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2335,6 +2370,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentClusterInfo(&sv.ClusterInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2498,6 +2534,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOperationOutput(v **Descri if err := awsRestjson1_deserializeDocumentClusterOperationInfo(&sv.ClusterOperationInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2667,6 +2704,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOperationV2Output(v **Desc if err := awsRestjson1_deserializeDocumentClusterOperationV2(&sv.ClusterOperationInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2830,6 +2868,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterV2Output(v **DescribeClust if err := awsRestjson1_deserializeDocumentCluster(&sv.ClusterInfo, value); err != nil { return err } + default: _, _ = key, value @@ -3000,6 +3039,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3012,6 +3052,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3020,14 +3061,17 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Description = ptr.String(jtv) } + case "kafkaVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.KafkaVersions, value); err != nil { return err } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3036,6 +3080,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3044,6 +3089,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.State = types.ConfigurationState(jtv) } + default: _, _ = key, value @@ -3214,6 +3260,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3226,6 +3273,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3234,6 +3282,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Description = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -3246,6 +3295,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Revision = ptr.Int64(i64) } + case "serverProperties": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3308,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.ServerProperties = dv } + default: _, _ = key, value @@ -3435,6 +3486,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.CreationTime = ptr.Time(t) } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -3443,6 +3495,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.CurrentVersion = ptr.String(jtv) } + case "isReplicatorReference": if value != nil { jtv, ok := value.(bool) @@ -3451,14 +3504,17 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.IsReplicatorReference = ptr.Bool(jtv) } + case "kafkaClusters": if err := awsRestjson1_deserializeDocument__listOfKafkaClusterDescription(&sv.KafkaClusters, value); err != nil { return err } + case "replicationInfoList": if err := awsRestjson1_deserializeDocument__listOfReplicationInfoDescription(&sv.ReplicationInfoList, value); err != nil { return err } + case "replicatorArn": if value != nil { jtv, ok := value.(string) @@ -3467,6 +3523,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorArn = ptr.String(jtv) } + case "replicatorDescription": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3532,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorDescription = ptr.String(jtv) } + case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -3483,6 +3541,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorName = ptr.String(jtv) } + case "replicatorResourceArn": if value != nil { jtv, ok := value.(string) @@ -3491,6 +3550,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorResourceArn = ptr.String(jtv) } + case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -3499,6 +3559,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ReplicatorState = types.ReplicatorState(jtv) } + case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3507,14 +3568,17 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicatorOutput(v **DescribeRepl } sv.ServiceExecutionRoleArn = ptr.String(jtv) } + case "stateInfo": if err := awsRestjson1_deserializeDocumentReplicationStateInfo(&sv.StateInfo, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3685,6 +3749,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.Authentication = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3697,10 +3762,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.CreationTime = ptr.Time(t) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -3709,14 +3776,17 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.State = types.VpcConnectionState(jtv) } + case "subnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subnets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "targetClusterArn": if value != nil { jtv, ok := value.(string) @@ -3725,6 +3795,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.TargetClusterArn = ptr.String(jtv) } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -3733,6 +3804,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.VpcConnectionArn = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -3741,6 +3813,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcConnectionOutput(v **DescribeV } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3908,6 +3981,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerString = ptr.String(jtv) } + case "bootstrapBrokerStringPublicSaslIam": if value != nil { jtv, ok := value.(string) @@ -3916,6 +3990,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicSaslIam = ptr.String(jtv) } + case "bootstrapBrokerStringPublicSaslScram": if value != nil { jtv, ok := value.(string) @@ -3924,6 +3999,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicSaslScram = ptr.String(jtv) } + case "bootstrapBrokerStringPublicTls": if value != nil { jtv, ok := value.(string) @@ -3932,6 +4008,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringPublicTls = ptr.String(jtv) } + case "bootstrapBrokerStringSaslIam": if value != nil { jtv, ok := value.(string) @@ -3940,6 +4017,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringSaslIam = ptr.String(jtv) } + case "bootstrapBrokerStringSaslScram": if value != nil { jtv, ok := value.(string) @@ -3948,6 +4026,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringSaslScram = ptr.String(jtv) } + case "bootstrapBrokerStringTls": if value != nil { jtv, ok := value.(string) @@ -3956,6 +4035,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringTls = ptr.String(jtv) } + case "bootstrapBrokerStringVpcConnectivitySaslIam": if value != nil { jtv, ok := value.(string) @@ -3964,6 +4044,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivitySaslIam = ptr.String(jtv) } + case "bootstrapBrokerStringVpcConnectivitySaslScram": if value != nil { jtv, ok := value.(string) @@ -3972,6 +4053,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivitySaslScram = ptr.String(jtv) } + case "bootstrapBrokerStringVpcConnectivityTls": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4062,7 @@ func awsRestjson1_deserializeOpDocumentGetBootstrapBrokersOutput(v **GetBootstra } sv.BootstrapBrokerStringVpcConnectivityTls = ptr.String(jtv) } + default: _, _ = key, value @@ -4144,6 +4227,7 @@ func awsRestjson1_deserializeOpDocumentGetClusterPolicyOutput(v **GetClusterPoli } sv.CurrentVersion = ptr.String(jtv) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -4152,6 +4236,7 @@ func awsRestjson1_deserializeOpDocumentGetClusterPolicyOutput(v **GetClusterPoli } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -4321,6 +4406,7 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleKafkaVersionsOutput(v **GetC if err := awsRestjson1_deserializeDocument__listOfCompatibleKafkaVersion(&sv.CompatibleKafkaVersions, value); err != nil { return err } + default: _, _ = key, value @@ -4484,6 +4570,7 @@ func awsRestjson1_deserializeOpDocumentListClientVpcConnectionsOutput(v **ListCl if err := awsRestjson1_deserializeDocument__listOfClientVpcConnection(&sv.ClientVpcConnections, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4492,6 +4579,7 @@ func awsRestjson1_deserializeOpDocumentListClientVpcConnectionsOutput(v **ListCl } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4652,6 +4740,7 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsOutput(v **ListClust if err := awsRestjson1_deserializeDocument__listOfClusterOperationInfo(&sv.ClusterOperationInfoList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4660,6 +4749,7 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsOutput(v **ListClust } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4829,6 +4919,7 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsV2Output(v **ListClu if err := awsRestjson1_deserializeDocument__listOfClusterOperationV2Summary(&sv.ClusterOperationInfoList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4837,6 +4928,7 @@ func awsRestjson1_deserializeOpDocumentListClusterOperationsV2Output(v **ListClu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4997,6 +5089,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfClusterInfo(&sv.ClusterInfoList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5098,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5165,6 +5259,7 @@ func awsRestjson1_deserializeOpDocumentListClustersV2Output(v **ListClustersV2Ou if err := awsRestjson1_deserializeDocument__listOfCluster(&sv.ClusterInfoList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5173,6 +5268,7 @@ func awsRestjson1_deserializeOpDocumentListClustersV2Output(v **ListClustersV2Ou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5343,10 +5439,12 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "revisions": if err := awsRestjson1_deserializeDocument__listOfConfigurationRevision(&sv.Revisions, value); err != nil { return err } + default: _, _ = key, value @@ -5510,6 +5608,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsRestjson1_deserializeDocument__listOfConfiguration(&sv.Configurations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5518,6 +5617,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5678,6 +5778,7 @@ func awsRestjson1_deserializeOpDocumentListKafkaVersionsOutput(v **ListKafkaVers if err := awsRestjson1_deserializeDocument__listOfKafkaVersion(&sv.KafkaVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5686,6 +5787,7 @@ func awsRestjson1_deserializeOpDocumentListKafkaVersionsOutput(v **ListKafkaVers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5850,10 +5952,12 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "nodeInfoList": if err := awsRestjson1_deserializeDocument__listOfNodeInfo(&sv.NodeInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -6027,10 +6131,12 @@ func awsRestjson1_deserializeOpDocumentListReplicatorsOutput(v **ListReplicators } sv.NextToken = ptr.String(jtv) } + case "replicators": if err := awsRestjson1_deserializeDocument__listOfReplicatorSummary(&sv.Replicators, value); err != nil { return err } + default: _, _ = key, value @@ -6204,10 +6310,12 @@ func awsRestjson1_deserializeOpDocumentListScramSecretsOutput(v **ListScramSecre } sv.NextToken = ptr.String(jtv) } + case "secretArnList": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecretArnList, value); err != nil { return err } + default: _, _ = key, value @@ -6365,6 +6473,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6532,10 +6641,12 @@ func awsRestjson1_deserializeOpDocumentListVpcConnectionsOutput(v **ListVpcConne } sv.NextToken = ptr.String(jtv) } + case "vpcConnections": if err := awsRestjson1_deserializeDocument__listOfVpcConnection(&sv.VpcConnections, value); err != nil { return err } + default: _, _ = key, value @@ -6697,6 +6808,7 @@ func awsRestjson1_deserializeOpDocumentPutClusterPolicyOutput(v **PutClusterPoli } sv.CurrentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -6870,6 +6982,7 @@ func awsRestjson1_deserializeOpDocumentRebootBrokerOutput(v **RebootBrokerOutput } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -6878,6 +6991,7 @@ func awsRestjson1_deserializeOpDocumentRebootBrokerOutput(v **RebootBrokerOutput } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7345,6 +7459,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerCountOutput(v **UpdateBrokerC } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7353,6 +7468,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerCountOutput(v **UpdateBrokerC } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7520,6 +7636,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerStorageOutput(v **UpdateBroke } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7528,6 +7645,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerStorageOutput(v **UpdateBroke } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7701,6 +7819,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerTypeOutput(v **UpdateBrokerTy } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7709,6 +7828,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerTypeOutput(v **UpdateBrokerTy } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7879,6 +7999,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigurationOutput(v **Upda } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -7887,6 +8008,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterConfigurationOutput(v **Upda } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8060,6 +8182,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterKafkaVersionOutput(v **Updat } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8068,6 +8191,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterKafkaVersionOutput(v **Updat } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8238,10 +8362,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Arn = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + default: _, _ = key, value @@ -8412,6 +8538,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityOutput(v **UpdateConnec } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8420,6 +8547,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectivityOutput(v **UpdateConnec } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8587,6 +8715,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitoringOutput(v **UpdateMonitori } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8595,6 +8724,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitoringOutput(v **UpdateMonitori } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8768,6 +8898,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationInfoOutput(v **UpdateRep } sv.ReplicatorArn = ptr.String(jtv) } + case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -8776,6 +8907,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationInfoOutput(v **UpdateRep } sv.ReplicatorState = types.ReplicatorState(jtv) } + default: _, _ = key, value @@ -8949,6 +9081,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityOutput(v **UpdateSecurityOu } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -8957,6 +9090,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSecurityOutput(v **UpdateSecurityOu } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9130,6 +9264,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStorageOutput(v **UpdateStorageOutp } sv.ClusterArn = ptr.String(jtv) } + case "clusterOperationArn": if value != nil { jtv, ok := value.(string) @@ -9138,6 +9273,7 @@ func awsRestjson1_deserializeOpDocumentUpdateStorageOutput(v **UpdateStorageOutp } sv.ClusterOperationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10350,6 +10486,7 @@ func awsRestjson1_deserializeDocumentAmazonMskCluster(v **types.AmazonMskCluster } sv.MskClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10389,6 +10526,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10397,6 +10535,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10432,10 +10571,12 @@ func awsRestjson1_deserializeDocumentBrokerCountUpdateInfo(v **types.BrokerCount if err := awsRestjson1_deserializeDocument__listOf__double(&sv.CreatedBrokerIds, value); err != nil { return err } + case "deletedBrokerIds": if err := awsRestjson1_deserializeDocument__listOf__double(&sv.DeletedBrokerIds, value); err != nil { return err } + default: _, _ = key, value @@ -10475,10 +10616,12 @@ func awsRestjson1_deserializeDocumentBrokerEBSVolumeInfo(v **types.BrokerEBSVolu } sv.KafkaBrokerNodeId = ptr.String(jtv) } + case "provisionedThroughput": if err := awsRestjson1_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + case "volumeSizeGB": if value != nil { jtv, ok := value.(json.Number) @@ -10491,6 +10634,7 @@ func awsRestjson1_deserializeDocumentBrokerEBSVolumeInfo(v **types.BrokerEBSVolu } sv.VolumeSizeGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10526,14 +10670,17 @@ func awsRestjson1_deserializeDocumentBrokerLogs(v **types.BrokerLogs, value inte if err := awsRestjson1_deserializeDocumentCloudWatchLogs(&sv.CloudWatchLogs, value); err != nil { return err } + case "firehose": if err := awsRestjson1_deserializeDocumentFirehose(&sv.Firehose, value); err != nil { return err } + case "s3": if err := awsRestjson1_deserializeDocumentS3(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -10573,14 +10720,17 @@ func awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(v **types.BrokerNodeGro } sv.BrokerAZDistribution = types.BrokerAZDistribution(jtv) } + case "clientSubnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ClientSubnets, value); err != nil { return err } + case "connectivityInfo": if err := awsRestjson1_deserializeDocumentConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -10589,18 +10739,22 @@ func awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(v **types.BrokerNodeGro } sv.InstanceType = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "storageInfo": if err := awsRestjson1_deserializeDocumentStorageInfo(&sv.StorageInfo, value); err != nil { return err } + case "zoneIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ZoneIds, value); err != nil { return err } + default: _, _ = key, value @@ -10640,6 +10794,7 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.AttachedENIId = ptr.String(jtv) } + case "brokerId": if value != nil { switch jtv := value.(type) { @@ -10673,6 +10828,7 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } } + case "clientSubnet": if value != nil { jtv, ok := value.(string) @@ -10681,6 +10837,7 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.ClientSubnet = ptr.String(jtv) } + case "clientVpcIpAddress": if value != nil { jtv, ok := value.(string) @@ -10689,14 +10846,17 @@ func awsRestjson1_deserializeDocumentBrokerNodeInfo(v **types.BrokerNodeInfo, va } sv.ClientVpcIpAddress = ptr.String(jtv) } + case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } + case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -10736,6 +10896,7 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.ConfigurationArn = ptr.String(jtv) } + case "configurationRevision": if value != nil { jtv, ok := value.(json.Number) @@ -10748,6 +10909,7 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.ConfigurationRevision = ptr.Int64(i64) } + case "kafkaVersion": if value != nil { jtv, ok := value.(string) @@ -10756,6 +10918,7 @@ func awsRestjson1_deserializeDocumentBrokerSoftwareInfo(v **types.BrokerSoftware } sv.KafkaVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10791,14 +10954,17 @@ func awsRestjson1_deserializeDocumentClientAuthentication(v **types.ClientAuthen if err := awsRestjson1_deserializeDocumentSasl(&sv.Sasl, value); err != nil { return err } + case "tls": if err := awsRestjson1_deserializeDocumentTls(&sv.Tls, value); err != nil { return err } + case "unauthenticated": if err := awsRestjson1_deserializeDocumentUnauthenticated(&sv.Unauthenticated, value); err != nil { return err } + default: _, _ = key, value @@ -10838,6 +11004,7 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.Authentication = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -10850,6 +11017,7 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.CreationTime = ptr.Time(t) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -10858,6 +11026,7 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.Owner = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -10866,6 +11035,7 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.State = types.VpcConnectionState(jtv) } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -10874,6 +11044,7 @@ func awsRestjson1_deserializeDocumentClientVpcConnection(v **types.ClientVpcConn } sv.VpcConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10913,6 +11084,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogs(v **types.CloudWatchLogs, va } sv.Enabled = ptr.Bool(jtv) } + case "logGroup": if value != nil { jtv, ok := value.(string) @@ -10921,6 +11093,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogs(v **types.CloudWatchLogs, va } sv.LogGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10960,6 +11133,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ActiveOperationArn = ptr.String(jtv) } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -10968,6 +11142,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -10976,6 +11151,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterName = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -10984,6 +11160,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterType = types.ClusterType(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11173,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreationTime = ptr.Time(t) } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -11004,14 +11182,17 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CurrentVersion = ptr.String(jtv) } + case "provisioned": if err := awsRestjson1_deserializeDocumentProvisioned(&sv.Provisioned, value); err != nil { return err } + case "serverless": if err := awsRestjson1_deserializeDocumentServerless(&sv.Serverless, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -11020,14 +11201,17 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.State = types.ClusterState(jtv) } + case "stateInfo": if err := awsRestjson1_deserializeDocumentStateInfo(&sv.StateInfo, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11067,14 +11251,17 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ActiveOperationArn = ptr.String(jtv) } + case "brokerNodeGroupInfo": if err := awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(&sv.BrokerNodeGroupInfo, value); err != nil { return err } + case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -11083,6 +11270,7 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ClusterArn = ptr.String(jtv) } + case "clusterName": if value != nil { jtv, ok := value.(string) @@ -11091,6 +11279,7 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ClusterName = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11103,10 +11292,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CreationTime = ptr.Time(t) } + case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -11115,6 +11306,7 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CurrentVersion = ptr.String(jtv) } + case "customerActionStatus": if value != nil { jtv, ok := value.(string) @@ -11123,10 +11315,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.CustomerActionStatus = types.CustomerActionStatus(jtv) } + case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } + case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -11135,10 +11329,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } + case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -11151,10 +11347,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } + case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoring(&sv.OpenMonitoring, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -11163,10 +11361,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.State = types.ClusterState(jtv) } + case "stateInfo": if err := awsRestjson1_deserializeDocumentStateInfo(&sv.StateInfo, value); err != nil { return err } + case "storageMode": if value != nil { jtv, ok := value.(string) @@ -11175,10 +11375,12 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.StorageMode = types.StorageMode(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "zookeeperConnectString": if value != nil { jtv, ok := value.(string) @@ -11187,6 +11389,7 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ZookeeperConnectString = ptr.String(jtv) } + case "zookeeperConnectStringTls": if value != nil { jtv, ok := value.(string) @@ -11195,6 +11398,7 @@ func awsRestjson1_deserializeDocumentClusterInfo(v **types.ClusterInfo, value in } sv.ZookeeperConnectStringTls = ptr.String(jtv) } + default: _, _ = key, value @@ -11234,6 +11438,7 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.ClientRequestId = ptr.String(jtv) } + case "clusterArn": if value != nil { jtv, ok := value.(string) @@ -11242,6 +11447,7 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.ClusterArn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11460,7 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.CreationTime = ptr.Time(t) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -11266,10 +11473,12 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.EndTime = ptr.Time(t) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11278,6 +11487,7 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationArn = ptr.String(jtv) } + case "operationState": if value != nil { jtv, ok := value.(string) @@ -11286,10 +11496,12 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationState = ptr.String(jtv) } + case "operationSteps": if err := awsRestjson1_deserializeDocument__listOfClusterOperationStep(&sv.OperationSteps, value); err != nil { return err } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -11298,18 +11510,22 @@ func awsRestjson1_deserializeDocumentClusterOperationInfo(v **types.ClusterOpera } sv.OperationType = ptr.String(jtv) } + case "sourceClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.SourceClusterInfo, value); err != nil { return err } + case "targetClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.TargetClusterInfo, value); err != nil { return err } + case "vpcConnectionInfo": if err := awsRestjson1_deserializeDocumentVpcConnectionInfo(&sv.VpcConnectionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -11345,6 +11561,7 @@ func awsRestjson1_deserializeDocumentClusterOperationStep(v **types.ClusterOpera if err := awsRestjson1_deserializeDocumentClusterOperationStepInfo(&sv.StepInfo, value); err != nil { return err } + case "stepName": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11570,7 @@ func awsRestjson1_deserializeDocumentClusterOperationStep(v **types.ClusterOpera } sv.StepName = ptr.String(jtv) } + default: _, _ = key, value @@ -11392,6 +11610,7 @@ func awsRestjson1_deserializeDocumentClusterOperationStepInfo(v **types.ClusterO } sv.StepStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -11431,6 +11650,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.ClusterArn = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11439,6 +11659,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.ClusterType = types.ClusterType(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -11451,10 +11672,12 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.EndTime = ptr.Time(t) } + case "errorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11463,6 +11686,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationArn = ptr.String(jtv) } + case "operationState": if value != nil { jtv, ok := value.(string) @@ -11471,6 +11695,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationState = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -11479,14 +11704,17 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.OperationType = ptr.String(jtv) } + case "provisioned": if err := awsRestjson1_deserializeDocumentClusterOperationV2Provisioned(&sv.Provisioned, value); err != nil { return err } + case "serverless": if err := awsRestjson1_deserializeDocumentClusterOperationV2Serverless(&sv.Serverless, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -11499,6 +11727,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2(v **types.ClusterOperati } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -11534,18 +11763,22 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Provisioned(v **types.Clu if err := awsRestjson1_deserializeDocument__listOfClusterOperationStep(&sv.OperationSteps, value); err != nil { return err } + case "sourceClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.SourceClusterInfo, value); err != nil { return err } + case "targetClusterInfo": if err := awsRestjson1_deserializeDocumentMutableClusterInfo(&sv.TargetClusterInfo, value); err != nil { return err } + case "vpcConnectionInfo": if err := awsRestjson1_deserializeDocumentVpcConnectionInfo(&sv.VpcConnectionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -11581,6 +11814,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Serverless(v **types.Clus if err := awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(&sv.VpcConnectionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -11620,6 +11854,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.ClusterArn = ptr.String(jtv) } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -11628,6 +11863,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.ClusterType = types.ClusterType(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -11640,6 +11876,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.EndTime = ptr.Time(t) } + case "operationArn": if value != nil { jtv, ok := value.(string) @@ -11648,6 +11885,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationArn = ptr.String(jtv) } + case "operationState": if value != nil { jtv, ok := value.(string) @@ -11656,6 +11894,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationState = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -11664,6 +11903,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.OperationType = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -11676,6 +11916,7 @@ func awsRestjson1_deserializeDocumentClusterOperationV2Summary(v **types.Cluster } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -11715,10 +11956,12 @@ func awsRestjson1_deserializeDocumentCompatibleKafkaVersion(v **types.Compatible } sv.SourceVersion = ptr.String(jtv) } + case "targetVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.TargetVersions, value); err != nil { return err } + default: _, _ = key, value @@ -11758,6 +12001,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -11770,6 +12014,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11778,14 +12023,17 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Description = ptr.String(jtv) } + case "kafkaVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.KafkaVersions, value); err != nil { return err } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11794,6 +12042,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Name = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -11802,6 +12051,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.State = types.ConfigurationState(jtv) } + default: _, _ = key, value @@ -11841,6 +12091,7 @@ func awsRestjson1_deserializeDocumentConfigurationInfo(v **types.ConfigurationIn } sv.Arn = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -11853,6 +12104,7 @@ func awsRestjson1_deserializeDocumentConfigurationInfo(v **types.ConfigurationIn } sv.Revision = ptr.Int64(i64) } + default: _, _ = key, value @@ -11896,6 +12148,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11904,6 +12157,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Description = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -11916,6 +12170,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Revision = ptr.Int64(i64) } + default: _, _ = key, value @@ -11955,6 +12210,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -11963,6 +12219,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11998,10 +12255,12 @@ func awsRestjson1_deserializeDocumentConnectivityInfo(v **types.ConnectivityInfo if err := awsRestjson1_deserializeDocumentPublicAccess(&sv.PublicAccess, value); err != nil { return err } + case "vpcConnectivity": if err := awsRestjson1_deserializeDocumentVpcConnectivity(&sv.VpcConnectivity, value); err != nil { return err } + default: _, _ = key, value @@ -12037,10 +12296,12 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer if err := awsRestjson1_deserializeDocument__listOf__stringMax256(&sv.ConsumerGroupsToExclude, value); err != nil { return err } + case "consumerGroupsToReplicate": if err := awsRestjson1_deserializeDocument__listOf__stringMax256(&sv.ConsumerGroupsToReplicate, value); err != nil { return err } + case "detectAndCopyNewConsumerGroups": if value != nil { jtv, ok := value.(bool) @@ -12049,6 +12310,7 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer } sv.DetectAndCopyNewConsumerGroups = ptr.Bool(jtv) } + case "synchroniseConsumerGroupOffsets": if value != nil { jtv, ok := value.(bool) @@ -12057,6 +12319,7 @@ func awsRestjson1_deserializeDocumentConsumerGroupReplication(v **types.Consumer } sv.SynchroniseConsumerGroupOffsets = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12092,6 +12355,7 @@ func awsRestjson1_deserializeDocumentControllerNodeInfo(v **types.ControllerNode if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -12127,6 +12391,7 @@ func awsRestjson1_deserializeDocumentEBSStorageInfo(v **types.EBSStorageInfo, va if err := awsRestjson1_deserializeDocumentProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + case "volumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12139,6 +12404,7 @@ func awsRestjson1_deserializeDocumentEBSStorageInfo(v **types.EBSStorageInfo, va } sv.VolumeSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12178,6 +12444,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRest(v **types.EncryptionAtRest } sv.DataVolumeKMSKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -12213,10 +12480,12 @@ func awsRestjson1_deserializeDocumentEncryptionInfo(v **types.EncryptionInfo, va if err := awsRestjson1_deserializeDocumentEncryptionAtRest(&sv.EncryptionAtRest, value); err != nil { return err } + case "encryptionInTransit": if err := awsRestjson1_deserializeDocumentEncryptionInTransit(&sv.EncryptionInTransit, value); err != nil { return err } + default: _, _ = key, value @@ -12256,6 +12525,7 @@ func awsRestjson1_deserializeDocumentEncryptionInTransit(v **types.EncryptionInT } sv.ClientBroker = types.ClientBroker(jtv) } + case "inCluster": if value != nil { jtv, ok := value.(bool) @@ -12264,6 +12534,7 @@ func awsRestjson1_deserializeDocumentEncryptionInTransit(v **types.EncryptionInT } sv.InCluster = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12303,6 +12574,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorCode = ptr.String(jtv) } + case "errorString": if value != nil { jtv, ok := value.(string) @@ -12311,6 +12583,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorString = ptr.String(jtv) } + default: _, _ = key, value @@ -12350,6 +12623,7 @@ func awsRestjson1_deserializeDocumentFirehose(v **types.Firehose, value interfac } sv.DeliveryStream = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -12358,6 +12632,7 @@ func awsRestjson1_deserializeDocumentFirehose(v **types.Firehose, value interfac } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12397,6 +12672,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12405,6 +12681,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12444,6 +12721,7 @@ func awsRestjson1_deserializeDocumentIam(v **types.Iam, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12483,6 +12761,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12491,6 +12770,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12530,6 +12810,7 @@ func awsRestjson1_deserializeDocumentJmxExporter(v **types.JmxExporter, value in } sv.EnabledInBroker = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12569,6 +12850,7 @@ func awsRestjson1_deserializeDocumentJmxExporterInfo(v **types.JmxExporterInfo, } sv.EnabledInBroker = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12604,10 +12886,12 @@ func awsRestjson1_deserializeDocumentKafkaClusterClientVpcConfig(v **types.Kafka if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -12643,6 +12927,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus if err := awsRestjson1_deserializeDocumentAmazonMskCluster(&sv.AmazonMskCluster, value); err != nil { return err } + case "kafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -12651,10 +12936,12 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus } sv.KafkaClusterAlias = ptr.String(jtv) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentKafkaClusterClientVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12690,6 +12977,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterSummary(v **types.KafkaClusterS if err := awsRestjson1_deserializeDocumentAmazonMskCluster(&sv.AmazonMskCluster, value); err != nil { return err } + case "kafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -12698,6 +12986,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterSummary(v **types.KafkaClusterS } sv.KafkaClusterAlias = ptr.String(jtv) } + default: _, _ = key, value @@ -12737,6 +13026,7 @@ func awsRestjson1_deserializeDocumentKafkaVersion(v **types.KafkaVersion, value } sv.Status = types.KafkaVersionStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12745,6 +13035,7 @@ func awsRestjson1_deserializeDocumentKafkaVersion(v **types.KafkaVersion, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12780,6 +13071,7 @@ func awsRestjson1_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in if err := awsRestjson1_deserializeDocumentBrokerLogs(&sv.BrokerLogs, value); err != nil { return err } + default: _, _ = key, value @@ -12815,26 +13107,32 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster if err := awsRestjson1_deserializeDocumentBrokerCountUpdateInfo(&sv.BrokerCountUpdateInfo, value); err != nil { return err } + case "brokerEBSVolumeInfo": if err := awsRestjson1_deserializeDocument__listOfBrokerEBSVolumeInfo(&sv.BrokerEBSVolumeInfo, value); err != nil { return err } + case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } + case "configurationInfo": if err := awsRestjson1_deserializeDocumentConfigurationInfo(&sv.ConfigurationInfo, value); err != nil { return err } + case "connectivityInfo": if err := awsRestjson1_deserializeDocumentConnectivityInfo(&sv.ConnectivityInfo, value); err != nil { return err } + case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } + case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -12843,6 +13141,7 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -12851,6 +13150,7 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.InstanceType = ptr.String(jtv) } + case "kafkaVersion": if value != nil { jtv, ok := value.(string) @@ -12859,10 +13159,12 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.KafkaVersion = ptr.String(jtv) } + case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12875,10 +13177,12 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } + case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoring(&sv.OpenMonitoring, value); err != nil { return err } + case "storageMode": if value != nil { jtv, ok := value.(string) @@ -12887,6 +13191,7 @@ func awsRestjson1_deserializeDocumentMutableClusterInfo(v **types.MutableCluster } sv.StorageMode = types.StorageMode(jtv) } + default: _, _ = key, value @@ -12926,6 +13231,7 @@ func awsRestjson1_deserializeDocumentNodeExporter(v **types.NodeExporter, value } sv.EnabledInBroker = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12965,6 +13271,7 @@ func awsRestjson1_deserializeDocumentNodeExporterInfo(v **types.NodeExporterInfo } sv.EnabledInBroker = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13004,14 +13311,17 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.AddedToClusterTime = ptr.String(jtv) } + case "brokerNodeInfo": if err := awsRestjson1_deserializeDocumentBrokerNodeInfo(&sv.BrokerNodeInfo, value); err != nil { return err } + case "controllerNodeInfo": if err := awsRestjson1_deserializeDocumentControllerNodeInfo(&sv.ControllerNodeInfo, value); err != nil { return err } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -13020,6 +13330,7 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.InstanceType = ptr.String(jtv) } + case "nodeARN": if value != nil { jtv, ok := value.(string) @@ -13028,6 +13339,7 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.NodeARN = ptr.String(jtv) } + case "nodeType": if value != nil { jtv, ok := value.(string) @@ -13036,10 +13348,12 @@ func awsRestjson1_deserializeDocumentNodeInfo(v **types.NodeInfo, value interfac } sv.NodeType = types.NodeType(jtv) } + case "zookeeperNodeInfo": if err := awsRestjson1_deserializeDocumentZookeeperNodeInfo(&sv.ZookeeperNodeInfo, value); err != nil { return err } + default: _, _ = key, value @@ -13079,6 +13393,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13087,6 +13402,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13122,6 +13438,7 @@ func awsRestjson1_deserializeDocumentOpenMonitoring(v **types.OpenMonitoring, va if err := awsRestjson1_deserializeDocumentPrometheus(&sv.Prometheus, value); err != nil { return err } + default: _, _ = key, value @@ -13157,6 +13474,7 @@ func awsRestjson1_deserializeDocumentOpenMonitoringInfo(v **types.OpenMonitoring if err := awsRestjson1_deserializeDocumentPrometheusInfo(&sv.Prometheus, value); err != nil { return err } + default: _, _ = key, value @@ -13192,10 +13510,12 @@ func awsRestjson1_deserializeDocumentPrometheus(v **types.Prometheus, value inte if err := awsRestjson1_deserializeDocumentJmxExporter(&sv.JmxExporter, value); err != nil { return err } + case "nodeExporter": if err := awsRestjson1_deserializeDocumentNodeExporter(&sv.NodeExporter, value); err != nil { return err } + default: _, _ = key, value @@ -13231,10 +13551,12 @@ func awsRestjson1_deserializeDocumentPrometheusInfo(v **types.PrometheusInfo, va if err := awsRestjson1_deserializeDocumentJmxExporterInfo(&sv.JmxExporter, value); err != nil { return err } + case "nodeExporter": if err := awsRestjson1_deserializeDocumentNodeExporterInfo(&sv.NodeExporter, value); err != nil { return err } + default: _, _ = key, value @@ -13270,14 +13592,17 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in if err := awsRestjson1_deserializeDocumentBrokerNodeGroupInfo(&sv.BrokerNodeGroupInfo, value); err != nil { return err } + case "clientAuthentication": if err := awsRestjson1_deserializeDocumentClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } + case "currentBrokerSoftwareInfo": if err := awsRestjson1_deserializeDocumentBrokerSoftwareInfo(&sv.CurrentBrokerSoftwareInfo, value); err != nil { return err } + case "customerActionStatus": if value != nil { jtv, ok := value.(string) @@ -13286,10 +13611,12 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.CustomerActionStatus = types.CustomerActionStatus(jtv) } + case "encryptionInfo": if err := awsRestjson1_deserializeDocumentEncryptionInfo(&sv.EncryptionInfo, value); err != nil { return err } + case "enhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -13298,10 +13625,12 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.EnhancedMonitoring = types.EnhancedMonitoring(jtv) } + case "loggingInfo": if err := awsRestjson1_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "numberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -13314,10 +13643,12 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } + case "openMonitoring": if err := awsRestjson1_deserializeDocumentOpenMonitoringInfo(&sv.OpenMonitoring, value); err != nil { return err } + case "storageMode": if value != nil { jtv, ok := value.(string) @@ -13326,6 +13657,7 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.StorageMode = types.StorageMode(jtv) } + case "zookeeperConnectString": if value != nil { jtv, ok := value.(string) @@ -13334,6 +13666,7 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.ZookeeperConnectString = ptr.String(jtv) } + case "zookeeperConnectStringTls": if value != nil { jtv, ok := value.(string) @@ -13342,6 +13675,7 @@ func awsRestjson1_deserializeDocumentProvisioned(v **types.Provisioned, value in } sv.ZookeeperConnectStringTls = ptr.String(jtv) } + default: _, _ = key, value @@ -13381,6 +13715,7 @@ func awsRestjson1_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.Enabled = ptr.Bool(jtv) } + case "volumeThroughput": if value != nil { jtv, ok := value.(json.Number) @@ -13393,6 +13728,7 @@ func awsRestjson1_deserializeDocumentProvisionedThroughput(v **types.Provisioned } sv.VolumeThroughput = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13432,6 +13768,7 @@ func awsRestjson1_deserializeDocumentPublicAccess(v **types.PublicAccess, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -13467,6 +13804,7 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic if err := awsRestjson1_deserializeDocumentConsumerGroupReplication(&sv.ConsumerGroupReplication, value); err != nil { return err } + case "sourceKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13475,6 +13813,7 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.SourceKafkaClusterAlias = ptr.String(jtv) } + case "targetCompressionType": if value != nil { jtv, ok := value.(string) @@ -13483,6 +13822,7 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.TargetCompressionType = types.TargetCompressionType(jtv) } + case "targetKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13491,10 +13831,12 @@ func awsRestjson1_deserializeDocumentReplicationInfoDescription(v **types.Replic } sv.TargetKafkaClusterAlias = ptr.String(jtv) } + case "topicReplication": if err := awsRestjson1_deserializeDocumentTopicReplication(&sv.TopicReplication, value); err != nil { return err } + default: _, _ = key, value @@ -13534,6 +13876,7 @@ func awsRestjson1_deserializeDocumentReplicationInfoSummary(v **types.Replicatio } sv.SourceKafkaClusterAlias = ptr.String(jtv) } + case "targetKafkaClusterAlias": if value != nil { jtv, ok := value.(string) @@ -13542,6 +13885,7 @@ func awsRestjson1_deserializeDocumentReplicationInfoSummary(v **types.Replicatio } sv.TargetKafkaClusterAlias = ptr.String(jtv) } + default: _, _ = key, value @@ -13581,6 +13925,7 @@ func awsRestjson1_deserializeDocumentReplicationStartingPosition(v **types.Repli } sv.Type = types.ReplicationStartingPositionType(jtv) } + default: _, _ = key, value @@ -13620,6 +13965,7 @@ func awsRestjson1_deserializeDocumentReplicationStateInfo(v **types.ReplicationS } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -13628,6 +13974,7 @@ func awsRestjson1_deserializeDocumentReplicationStateInfo(v **types.ReplicationS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13667,6 +14014,7 @@ func awsRestjson1_deserializeDocumentReplicationTopicNameConfiguration(v **types } sv.Type = types.ReplicationTopicNameConfigurationType(jtv) } + default: _, _ = key, value @@ -13710,6 +14058,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.CreationTime = ptr.Time(t) } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -13718,6 +14067,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.CurrentVersion = ptr.String(jtv) } + case "isReplicatorReference": if value != nil { jtv, ok := value.(bool) @@ -13726,14 +14076,17 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.IsReplicatorReference = ptr.Bool(jtv) } + case "kafkaClustersSummary": if err := awsRestjson1_deserializeDocument__listOfKafkaClusterSummary(&sv.KafkaClustersSummary, value); err != nil { return err } + case "replicationInfoSummaryList": if err := awsRestjson1_deserializeDocument__listOfReplicationInfoSummary(&sv.ReplicationInfoSummaryList, value); err != nil { return err } + case "replicatorArn": if value != nil { jtv, ok := value.(string) @@ -13742,6 +14095,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorArn = ptr.String(jtv) } + case "replicatorName": if value != nil { jtv, ok := value.(string) @@ -13750,6 +14104,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorName = ptr.String(jtv) } + case "replicatorResourceArn": if value != nil { jtv, ok := value.(string) @@ -13758,6 +14113,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorResourceArn = ptr.String(jtv) } + case "replicatorState": if value != nil { jtv, ok := value.(string) @@ -13766,6 +14122,7 @@ func awsRestjson1_deserializeDocumentReplicatorSummary(v **types.ReplicatorSumma } sv.ReplicatorState = types.ReplicatorState(jtv) } + default: _, _ = key, value @@ -13805,6 +14162,7 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Bucket = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -13813,6 +14171,7 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Enabled = ptr.Bool(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -13821,6 +14180,7 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -13856,10 +14216,12 @@ func awsRestjson1_deserializeDocumentSasl(v **types.Sasl, value interface{}) err if err := awsRestjson1_deserializeDocumentIam(&sv.Iam, value); err != nil { return err } + case "scram": if err := awsRestjson1_deserializeDocumentScram(&sv.Scram, value); err != nil { return err } + default: _, _ = key, value @@ -13899,6 +14261,7 @@ func awsRestjson1_deserializeDocumentScram(v **types.Scram, value interface{}) e } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13934,10 +14297,12 @@ func awsRestjson1_deserializeDocumentServerless(v **types.Serverless, value inte if err := awsRestjson1_deserializeDocumentServerlessClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } + case "vpcConfigs": if err := awsRestjson1_deserializeDocument__listOfVpcConfig(&sv.VpcConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -13973,6 +14338,7 @@ func awsRestjson1_deserializeDocumentServerlessClientAuthentication(v **types.Se if err := awsRestjson1_deserializeDocumentServerlessSasl(&sv.Sasl, value); err != nil { return err } + default: _, _ = key, value @@ -14008,6 +14374,7 @@ func awsRestjson1_deserializeDocumentServerlessSasl(v **types.ServerlessSasl, va if err := awsRestjson1_deserializeDocumentIam(&sv.Iam, value); err != nil { return err } + default: _, _ = key, value @@ -14047,6 +14414,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14055,6 +14423,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14094,6 +14463,7 @@ func awsRestjson1_deserializeDocumentStateInfo(v **types.StateInfo, value interf } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14102,6 +14472,7 @@ func awsRestjson1_deserializeDocumentStateInfo(v **types.StateInfo, value interf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14137,6 +14508,7 @@ func awsRestjson1_deserializeDocumentStorageInfo(v **types.StorageInfo, value in if err := awsRestjson1_deserializeDocumentEBSStorageInfo(&sv.EbsStorageInfo, value); err != nil { return err } + default: _, _ = key, value @@ -14172,6 +14544,7 @@ func awsRestjson1_deserializeDocumentTls(v **types.Tls, value interface{}) error if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CertificateAuthorityArnList, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -14180,6 +14553,7 @@ func awsRestjson1_deserializeDocumentTls(v **types.Tls, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14219,6 +14593,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14227,6 +14602,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14266,6 +14642,7 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.CopyAccessControlListsForTopics = ptr.Bool(jtv) } + case "copyTopicConfigurations": if value != nil { jtv, ok := value.(bool) @@ -14274,6 +14651,7 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.CopyTopicConfigurations = ptr.Bool(jtv) } + case "detectAndCopyNewTopics": if value != nil { jtv, ok := value.(bool) @@ -14282,22 +14660,27 @@ func awsRestjson1_deserializeDocumentTopicReplication(v **types.TopicReplication } sv.DetectAndCopyNewTopics = ptr.Bool(jtv) } + case "startingPosition": if err := awsRestjson1_deserializeDocumentReplicationStartingPosition(&sv.StartingPosition, value); err != nil { return err } + case "topicNameConfiguration": if err := awsRestjson1_deserializeDocumentReplicationTopicNameConfiguration(&sv.TopicNameConfiguration, value); err != nil { return err } + case "topicsToExclude": if err := awsRestjson1_deserializeDocument__listOf__stringMax249(&sv.TopicsToExclude, value); err != nil { return err } + case "topicsToReplicate": if err := awsRestjson1_deserializeDocument__listOf__stringMax249(&sv.TopicsToReplicate, value); err != nil { return err } + default: _, _ = key, value @@ -14337,6 +14720,7 @@ func awsRestjson1_deserializeDocumentUnauthenticated(v **types.Unauthenticated, } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14376,6 +14760,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.InvalidParameter = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14384,6 +14769,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14423,6 +14809,7 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -14431,6 +14818,7 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.ErrorMessage = ptr.String(jtv) } + case "secretArn": if value != nil { jtv, ok := value.(string) @@ -14439,6 +14827,7 @@ func awsRestjson1_deserializeDocumentUnprocessedScramSecret(v **types.Unprocesse } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14478,6 +14867,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.PrincipalId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14486,6 +14876,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Type = types.UserIdentityType(jtv) } + default: _, _ = key, value @@ -14521,10 +14912,12 @@ func awsRestjson1_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -14564,6 +14957,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.Authentication = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -14576,6 +14970,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.CreationTime = ptr.Time(t) } + case "state": if value != nil { jtv, ok := value.(string) @@ -14584,6 +14979,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.State = types.VpcConnectionState(jtv) } + case "targetClusterArn": if value != nil { jtv, ok := value.(string) @@ -14592,6 +14988,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.TargetClusterArn = ptr.String(jtv) } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -14600,6 +14997,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.VpcConnectionArn = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -14608,6 +15006,7 @@ func awsRestjson1_deserializeDocumentVpcConnection(v **types.VpcConnection, valu } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -14651,6 +15050,7 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.CreationTime = ptr.Time(t) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -14659,10 +15059,12 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.Owner = ptr.String(jtv) } + case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -14671,6 +15073,7 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfo(v **types.VpcConnectionIn } sv.VpcConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14714,6 +15117,7 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.CreationTime = ptr.Time(t) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -14722,10 +15126,12 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.Owner = ptr.String(jtv) } + case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } + case "vpcConnectionArn": if value != nil { jtv, ok := value.(string) @@ -14734,6 +15140,7 @@ func awsRestjson1_deserializeDocumentVpcConnectionInfoServerless(v **types.VpcCo } sv.VpcConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14769,6 +15176,7 @@ func awsRestjson1_deserializeDocumentVpcConnectivity(v **types.VpcConnectivity, if err := awsRestjson1_deserializeDocumentVpcConnectivityClientAuthentication(&sv.ClientAuthentication, value); err != nil { return err } + default: _, _ = key, value @@ -14804,10 +15212,12 @@ func awsRestjson1_deserializeDocumentVpcConnectivityClientAuthentication(v **typ if err := awsRestjson1_deserializeDocumentVpcConnectivitySasl(&sv.Sasl, value); err != nil { return err } + case "tls": if err := awsRestjson1_deserializeDocumentVpcConnectivityTls(&sv.Tls, value); err != nil { return err } + default: _, _ = key, value @@ -14847,6 +15257,7 @@ func awsRestjson1_deserializeDocumentVpcConnectivityIam(v **types.VpcConnectivit } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14882,10 +15293,12 @@ func awsRestjson1_deserializeDocumentVpcConnectivitySasl(v **types.VpcConnectivi if err := awsRestjson1_deserializeDocumentVpcConnectivityIam(&sv.Iam, value); err != nil { return err } + case "scram": if err := awsRestjson1_deserializeDocumentVpcConnectivityScram(&sv.Scram, value); err != nil { return err } + default: _, _ = key, value @@ -14925,6 +15338,7 @@ func awsRestjson1_deserializeDocumentVpcConnectivityScram(v **types.VpcConnectiv } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14964,6 +15378,7 @@ func awsRestjson1_deserializeDocumentVpcConnectivityTls(v **types.VpcConnectivit } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15003,6 +15418,7 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.AttachedENIId = ptr.String(jtv) } + case "clientVpcIpAddress": if value != nil { jtv, ok := value.(string) @@ -15011,10 +15427,12 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.ClientVpcIpAddress = ptr.String(jtv) } + case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } + case "zookeeperId": if value != nil { switch jtv := value.(type) { @@ -15048,6 +15466,7 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } } + case "zookeeperVersion": if value != nil { jtv, ok := value.(string) @@ -15056,6 +15475,7 @@ func awsRestjson1_deserializeDocumentZookeeperNodeInfo(v **types.ZookeeperNodeIn } sv.ZookeeperVersion = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kafkaconnect/deserializers.go b/service/kafkaconnect/deserializers.go index 29f6d413bd6..5066d0ad8c2 100644 --- a/service/kafkaconnect/deserializers.go +++ b/service/kafkaconnect/deserializers.go @@ -196,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } + case "connectorName": if value != nil { jtv, ok := value.(string) @@ -204,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorName = ptr.String(jtv) } + case "connectorState": if value != nil { jtv, ok := value.(string) @@ -212,6 +214,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorState = types.ConnectorState(jtv) } + default: _, _ = key, value @@ -388,6 +391,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.CustomPluginArn = ptr.String(jtv) } + case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -396,6 +400,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.CustomPluginState = types.CustomPluginState(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -404,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.Name = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -416,6 +422,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomPluginOutput(v **CreateCustom } sv.Revision = i64 } + default: _, _ = key, value @@ -596,10 +603,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.CreationTime = ptr.Time(t) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -608,6 +617,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.Name = ptr.String(jtv) } + case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -616,6 +626,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.WorkerConfigurationArn = ptr.String(jtv) } + case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -624,6 +635,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkerConfigurationOutput(v **Creat } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } + default: _, _ = key, value @@ -797,6 +809,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectorOutput(v **DeleteConnector } sv.ConnectorArn = ptr.String(jtv) } + case "connectorState": if value != nil { jtv, ok := value.(string) @@ -805,6 +818,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectorOutput(v **DeleteConnector } sv.ConnectorState = types.ConnectorState(jtv) } + default: _, _ = key, value @@ -978,6 +992,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomPluginOutput(v **DeleteCustom } sv.CustomPluginArn = ptr.String(jtv) } + case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -986,6 +1001,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomPluginOutput(v **DeleteCustom } sv.CustomPluginState = types.CustomPluginState(jtv) } + default: _, _ = key, value @@ -1159,6 +1175,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkerConfigurationOutput(v **Delet } sv.WorkerConfigurationArn = ptr.String(jtv) } + case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -1167,6 +1184,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkerConfigurationOutput(v **Delet } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } + default: _, _ = key, value @@ -1336,6 +1354,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsRestjson1_deserializeDocumentCapacityDescription(&sv.Capacity, value); err != nil { return err } + case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -1344,10 +1363,12 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorArn = ptr.String(jtv) } + case "connectorConfiguration": if err := awsRestjson1_deserializeDocument__sensitive__mapOf__string(&sv.ConnectorConfiguration, value); err != nil { return err } + case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -1356,6 +1377,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorDescription = ptr.String(jtv) } + case "connectorName": if value != nil { jtv, ok := value.(string) @@ -1364,6 +1386,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorName = ptr.String(jtv) } + case "connectorState": if value != nil { jtv, ok := value.(string) @@ -1372,6 +1395,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ConnectorState = types.ConnectorState(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1384,6 +1408,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.CreationTime = ptr.Time(t) } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -1392,18 +1417,22 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.CurrentVersion = ptr.String(jtv) } + case "kafkaCluster": if err := awsRestjson1_deserializeDocumentKafkaClusterDescription(&sv.KafkaCluster, value); err != nil { return err } + case "kafkaClusterClientAuthentication": if err := awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription(&sv.KafkaClusterClientAuthentication, value); err != nil { return err } + case "kafkaClusterEncryptionInTransit": if err := awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription(&sv.KafkaClusterEncryptionInTransit, value); err != nil { return err } + case "kafkaConnectVersion": if value != nil { jtv, ok := value.(string) @@ -1412,14 +1441,17 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.KafkaConnectVersion = ptr.String(jtv) } + case "logDelivery": if err := awsRestjson1_deserializeDocumentLogDeliveryDescription(&sv.LogDelivery, value); err != nil { return err } + case "plugins": if err := awsRestjson1_deserializeDocument__listOfPluginDescription(&sv.Plugins, value); err != nil { return err } + case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1428,14 +1460,17 @@ func awsRestjson1_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne } sv.ServiceExecutionRoleArn = ptr.String(jtv) } + case "stateDescription": if err := awsRestjson1_deserializeDocumentStateDescription(&sv.StateDescription, value); err != nil { return err } + case "workerConfiguration": if err := awsRestjson1_deserializeDocumentWorkerConfigurationDescription(&sv.WorkerConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1613,6 +1648,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CreationTime = ptr.Time(t) } + case "customPluginArn": if value != nil { jtv, ok := value.(string) @@ -1621,6 +1657,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CustomPluginArn = ptr.String(jtv) } + case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -1629,6 +1666,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.CustomPluginState = types.CustomPluginState(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1637,10 +1675,12 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.Description = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1649,10 +1689,12 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomPluginOutput(v **DescribeCu } sv.Name = ptr.String(jtv) } + case "stateDescription": if err := awsRestjson1_deserializeDocumentStateDescription(&sv.StateDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1830,6 +1872,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1838,10 +1881,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.Description = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1850,6 +1895,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.Name = ptr.String(jtv) } + case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -1858,6 +1904,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.WorkerConfigurationArn = ptr.String(jtv) } + case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -1866,6 +1913,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorkerConfigurationOutput(v **Des } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } + default: _, _ = key, value @@ -2035,6 +2083,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocument__listOfConnectorSummary(&sv.Connectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2043,6 +2092,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2212,6 +2262,7 @@ func awsRestjson1_deserializeOpDocumentListCustomPluginsOutput(v **ListCustomPlu if err := awsRestjson1_deserializeDocument__listOfCustomPluginSummary(&sv.CustomPlugins, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2220,6 +2271,7 @@ func awsRestjson1_deserializeOpDocumentListCustomPluginsOutput(v **ListCustomPlu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2389,6 +2441,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2562,10 +2615,12 @@ func awsRestjson1_deserializeOpDocumentListWorkerConfigurationsOutput(v **ListWo } sv.NextToken = ptr.String(jtv) } + case "workerConfigurations": if err := awsRestjson1_deserializeDocument__listOfWorkerConfigurationSummary(&sv.WorkerConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2954,6 +3009,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorArn = ptr.String(jtv) } + case "connectorState": if value != nil { jtv, ok := value.(string) @@ -2962,6 +3018,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorState = types.ConnectorState(jtv) } + default: _, _ = key, value @@ -3497,10 +3554,12 @@ func awsRestjson1_deserializeDocumentApacheKafkaClusterDescription(v **types.Apa } sv.BootstrapServers = ptr.String(jtv) } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -3544,6 +3603,7 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.MaxWorkerCount = int32(i64) } + case "mcuCount": if value != nil { jtv, ok := value.(json.Number) @@ -3556,6 +3616,7 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.McuCount = int32(i64) } + case "minWorkerCount": if value != nil { jtv, ok := value.(json.Number) @@ -3568,14 +3629,17 @@ func awsRestjson1_deserializeDocumentAutoScalingDescription(v **types.AutoScalin } sv.MinWorkerCount = int32(i64) } + case "scaleInPolicy": if err := awsRestjson1_deserializeDocumentScaleInPolicyDescription(&sv.ScaleInPolicy, value); err != nil { return err } + case "scaleOutPolicy": if err := awsRestjson1_deserializeDocumentScaleOutPolicyDescription(&sv.ScaleOutPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -3615,6 +3679,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3650,10 +3715,12 @@ func awsRestjson1_deserializeDocumentCapacityDescription(v **types.CapacityDescr if err := awsRestjson1_deserializeDocumentAutoScalingDescription(&sv.AutoScaling, value); err != nil { return err } + case "provisionedCapacity": if err := awsRestjson1_deserializeDocumentProvisionedCapacityDescription(&sv.ProvisionedCapacity, value); err != nil { return err } + default: _, _ = key, value @@ -3693,6 +3760,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(v **ty } sv.Enabled = jtv } + case "logGroup": if value != nil { jtv, ok := value.(string) @@ -3701,6 +3769,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(v **ty } sv.LogGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -3740,6 +3809,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3775,6 +3845,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary if err := awsRestjson1_deserializeDocumentCapacityDescription(&sv.Capacity, value); err != nil { return err } + case "connectorArn": if value != nil { jtv, ok := value.(string) @@ -3783,6 +3854,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorArn = ptr.String(jtv) } + case "connectorDescription": if value != nil { jtv, ok := value.(string) @@ -3791,6 +3863,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorDescription = ptr.String(jtv) } + case "connectorName": if value != nil { jtv, ok := value.(string) @@ -3799,6 +3872,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorName = ptr.String(jtv) } + case "connectorState": if value != nil { jtv, ok := value.(string) @@ -3807,6 +3881,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ConnectorState = types.ConnectorState(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3819,6 +3894,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CreationTime = ptr.Time(t) } + case "currentVersion": if value != nil { jtv, ok := value.(string) @@ -3827,18 +3903,22 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CurrentVersion = ptr.String(jtv) } + case "kafkaCluster": if err := awsRestjson1_deserializeDocumentKafkaClusterDescription(&sv.KafkaCluster, value); err != nil { return err } + case "kafkaClusterClientAuthentication": if err := awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription(&sv.KafkaClusterClientAuthentication, value); err != nil { return err } + case "kafkaClusterEncryptionInTransit": if err := awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription(&sv.KafkaClusterEncryptionInTransit, value); err != nil { return err } + case "kafkaConnectVersion": if value != nil { jtv, ok := value.(string) @@ -3847,14 +3927,17 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.KafkaConnectVersion = ptr.String(jtv) } + case "logDelivery": if err := awsRestjson1_deserializeDocumentLogDeliveryDescription(&sv.LogDelivery, value); err != nil { return err } + case "plugins": if err := awsRestjson1_deserializeDocument__listOfPluginDescription(&sv.Plugins, value); err != nil { return err } + case "serviceExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3863,10 +3946,12 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.ServiceExecutionRoleArn = ptr.String(jtv) } + case "workerConfiguration": if err := awsRestjson1_deserializeDocumentWorkerConfigurationDescription(&sv.WorkerConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3906,6 +3991,7 @@ func awsRestjson1_deserializeDocumentCustomPluginDescription(v **types.CustomPlu } sv.CustomPluginArn = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -3918,6 +4004,7 @@ func awsRestjson1_deserializeDocumentCustomPluginDescription(v **types.CustomPlu } sv.Revision = i64 } + default: _, _ = key, value @@ -3957,6 +4044,7 @@ func awsRestjson1_deserializeDocumentCustomPluginFileDescription(v **types.Custo } sv.FileMd5 = ptr.String(jtv) } + case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -3969,6 +4057,7 @@ func awsRestjson1_deserializeDocumentCustomPluginFileDescription(v **types.Custo } sv.FileSize = i64 } + default: _, _ = key, value @@ -4004,6 +4093,7 @@ func awsRestjson1_deserializeDocumentCustomPluginLocationDescription(v **types.C if err := awsRestjson1_deserializeDocumentS3LocationDescription(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -4043,6 +4133,7 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.ContentType = types.CustomPluginContentType(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4055,6 +4146,7 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4063,14 +4155,17 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.Description = ptr.String(jtv) } + case "fileDescription": if err := awsRestjson1_deserializeDocumentCustomPluginFileDescription(&sv.FileDescription, value); err != nil { return err } + case "location": if err := awsRestjson1_deserializeDocumentCustomPluginLocationDescription(&sv.Location, value); err != nil { return err } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -4083,6 +4178,7 @@ func awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(v **types.Custo } sv.Revision = i64 } + default: _, _ = key, value @@ -4126,6 +4222,7 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CreationTime = ptr.Time(t) } + case "customPluginArn": if value != nil { jtv, ok := value.(string) @@ -4134,6 +4231,7 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CustomPluginArn = ptr.String(jtv) } + case "customPluginState": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4240,7 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.CustomPluginState = types.CustomPluginState(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4150,10 +4249,12 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.Description = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentCustomPluginRevisionSummary(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4162,6 +4263,7 @@ func awsRestjson1_deserializeDocumentCustomPluginSummary(v **types.CustomPluginS } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4201,6 +4303,7 @@ func awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(v **types.Fi } sv.DeliveryStream = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -4209,6 +4312,7 @@ func awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(v **types.Fi } sv.Enabled = jtv } + default: _, _ = key, value @@ -4248,6 +4352,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4287,6 +4392,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4326,6 +4432,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterClientAuthenticationDescription } sv.AuthenticationType = types.KafkaClusterClientAuthenticationType(jtv) } + default: _, _ = key, value @@ -4361,6 +4468,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterDescription(v **types.KafkaClus if err := awsRestjson1_deserializeDocumentApacheKafkaClusterDescription(&sv.ApacheKafkaCluster, value); err != nil { return err } + default: _, _ = key, value @@ -4400,6 +4508,7 @@ func awsRestjson1_deserializeDocumentKafkaClusterEncryptionInTransitDescription( } sv.EncryptionType = types.KafkaClusterEncryptionInTransitType(jtv) } + default: _, _ = key, value @@ -4435,6 +4544,7 @@ func awsRestjson1_deserializeDocumentLogDeliveryDescription(v **types.LogDeliver if err := awsRestjson1_deserializeDocumentWorkerLogDeliveryDescription(&sv.WorkerLogDelivery, value); err != nil { return err } + default: _, _ = key, value @@ -4474,6 +4584,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4509,6 +4620,7 @@ func awsRestjson1_deserializeDocumentPluginDescription(v **types.PluginDescripti if err := awsRestjson1_deserializeDocumentCustomPluginDescription(&sv.CustomPlugin, value); err != nil { return err } + default: _, _ = key, value @@ -4552,6 +4664,7 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.McuCount = int32(i64) } + case "workerCount": if value != nil { jtv, ok := value.(json.Number) @@ -4564,6 +4677,7 @@ func awsRestjson1_deserializeDocumentProvisionedCapacityDescription(v **types.Pr } sv.WorkerCount = int32(i64) } + default: _, _ = key, value @@ -4603,6 +4717,7 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.BucketArn = ptr.String(jtv) } + case "fileKey": if value != nil { jtv, ok := value.(string) @@ -4611,6 +4726,7 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.FileKey = ptr.String(jtv) } + case "objectVersion": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4735,7 @@ func awsRestjson1_deserializeDocumentS3LocationDescription(v **types.S3LocationD } sv.ObjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4658,6 +4775,7 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Bucket = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -4666,6 +4784,7 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Enabled = jtv } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -4674,6 +4793,7 @@ func awsRestjson1_deserializeDocumentS3LogDeliveryDescription(v **types.S3LogDel } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4717,6 +4837,7 @@ func awsRestjson1_deserializeDocumentScaleInPolicyDescription(v **types.ScaleInP } sv.CpuUtilizationPercentage = int32(i64) } + default: _, _ = key, value @@ -4760,6 +4881,7 @@ func awsRestjson1_deserializeDocumentScaleOutPolicyDescription(v **types.ScaleOu } sv.CpuUtilizationPercentage = int32(i64) } + default: _, _ = key, value @@ -4799,6 +4921,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4838,6 +4961,7 @@ func awsRestjson1_deserializeDocumentStateDescription(v **types.StateDescription } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -4846,6 +4970,7 @@ func awsRestjson1_deserializeDocumentStateDescription(v **types.StateDescription } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4921,6 +5046,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4960,6 +5086,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4995,10 +5122,12 @@ func awsRestjson1_deserializeDocumentVpcDescription(v **types.VpcDescription, va if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "subnets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -5042,6 +5171,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationDescription(v **types.Wo } sv.Revision = i64 } + case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5050,6 +5180,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationDescription(v **types.Wo } sv.WorkerConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5093,6 +5224,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5101,6 +5233,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.Description = ptr.String(jtv) } + case "propertiesFileContent": if value != nil { jtv, ok := value.(string) @@ -5109,6 +5242,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.PropertiesFileContent = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5121,6 +5255,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionDescription(v ** } sv.Revision = i64 } + default: _, _ = key, value @@ -5164,6 +5299,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5172,6 +5308,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.Description = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5184,6 +5321,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(v **type } sv.Revision = i64 } + default: _, _ = key, value @@ -5227,6 +5365,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5235,10 +5374,12 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.Description = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentWorkerConfigurationRevisionSummary(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5247,6 +5388,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.Name = ptr.String(jtv) } + case "workerConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5255,6 +5397,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.WorkerConfigurationArn = ptr.String(jtv) } + case "workerConfigurationState": if value != nil { jtv, ok := value.(string) @@ -5263,6 +5406,7 @@ func awsRestjson1_deserializeDocumentWorkerConfigurationSummary(v **types.Worker } sv.WorkerConfigurationState = types.WorkerConfigurationState(jtv) } + default: _, _ = key, value @@ -5298,14 +5442,17 @@ func awsRestjson1_deserializeDocumentWorkerLogDeliveryDescription(v **types.Work if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogDeliveryDescription(&sv.CloudWatchLogs, value); err != nil { return err } + case "firehose": if err := awsRestjson1_deserializeDocumentFirehoseLogDeliveryDescription(&sv.Firehose, value); err != nil { return err } + case "s3": if err := awsRestjson1_deserializeDocumentS3LogDeliveryDescription(&sv.S3, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/kendra/deserializers.go b/service/kendra/deserializers.go index 99e0405f125..9f8283493fb 100644 --- a/service/kendra/deserializers.go +++ b/service/kendra/deserializers.go @@ -8408,6 +8408,7 @@ func awsAwsjson11_deserializeDocumentAccessControlConfigurationSummary(v **types } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -8481,6 +8482,7 @@ func awsAwsjson11_deserializeDocumentAccessControlListConfiguration(v **types.Ac } sv.KeyPath = ptr.String(jtv) } + default: _, _ = key, value @@ -8520,6 +8522,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8559,6 +8562,7 @@ func awsAwsjson11_deserializeDocumentAclConfiguration(v **types.AclConfiguration } sv.AllowedGroupsColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -8598,10 +8602,12 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttribute(v **types.Additio } sv.Key = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeValue(&sv.Value, value); err != nil { return err } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -8610,6 +8616,7 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttribute(v **types.Additio } sv.ValueType = types.AdditionalResultAttributeValueType(jtv) } + default: _, _ = key, value @@ -8679,6 +8686,7 @@ func awsAwsjson11_deserializeDocumentAdditionalResultAttributeValue(v **types.Ad if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.TextWithHighlightsValue, value); err != nil { return err } + default: _, _ = key, value @@ -8714,6 +8722,7 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.BlogFieldMappings, value); err != nil { return err } + case "CrawlComments": if value != nil { jtv, ok := value.(bool) @@ -8722,6 +8731,7 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.CrawlComments = jtv } + case "CrawlSystemFolders": if value != nil { jtv, ok := value.(bool) @@ -8730,22 +8740,27 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.CrawlSystemFolders = jtv } + case "DocumentLibraryFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.DocumentLibraryFieldMappings, value); err != nil { return err } + case "EntityFilter": if err := awsAwsjson11_deserializeDocumentEntityFilter(&sv.EntityFilter, value); err != nil { return err } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -8754,6 +8769,7 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SecretArn = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -8762,6 +8778,7 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SiteId = ptr.String(jtv) } + case "SiteUrl": if value != nil { jtv, ok := value.(string) @@ -8770,18 +8787,22 @@ func awsAwsjson11_deserializeDocumentAlfrescoConfiguration(v **types.AlfrescoCon } sv.SiteUrl = ptr.String(jtv) } + case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + case "WikiFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WikiFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -8855,10 +8876,12 @@ func awsAwsjson11_deserializeDocumentAttributeSuggestionsDescribeConfig(v **type } sv.AttributeSuggestionsMode = types.AttributeSuggestionsMode(jtv) } + case "SuggestableConfigList": if err := awsAwsjson11_deserializeDocumentSuggestableConfigList(&sv.SuggestableConfigList, value); err != nil { return err } + default: _, _ = key, value @@ -8894,6 +8917,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationConfiguration(v **types.Authe if err := awsAwsjson11_deserializeDocumentBasicAuthenticationConfigurationList(&sv.BasicAuthentication, value); err != nil { return err } + default: _, _ = key, value @@ -8933,6 +8957,7 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Credentials = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -8941,6 +8966,7 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -8953,6 +8979,7 @@ func awsAwsjson11_deserializeDocumentBasicAuthenticationConfiguration(v **types. } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9026,6 +9053,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9034,6 +9062,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9042,6 +9071,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocument(v } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -9115,6 +9145,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9123,6 +9154,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9131,6 +9163,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetError(v **type } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -9204,6 +9237,7 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.DocumentId = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -9212,6 +9246,7 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9220,6 +9255,7 @@ func awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseError(v **typ } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9293,6 +9329,7 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9301,6 +9338,7 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9309,6 +9347,7 @@ func awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocument(v ** } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -9378,6 +9417,7 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.CommentFieldMappings, value); err != nil { return err } + case "CrawlComments": if value != nil { jtv, ok := value.(bool) @@ -9386,6 +9426,7 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlComments = jtv } + case "CrawlTasks": if value != nil { jtv, ok := value.(bool) @@ -9394,6 +9435,7 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlTasks = jtv } + case "CrawlWebLinks": if value != nil { jtv, ok := value.(bool) @@ -9402,6 +9444,7 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.CrawlWebLinks = jtv } + case "EnterpriseId": if value != nil { jtv, ok := value.(string) @@ -9410,18 +9453,22 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.EnterpriseId = ptr.String(jtv) } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FileFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FileFieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -9430,10 +9477,12 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.SecretArn = ptr.String(jtv) } + case "TaskFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.TaskFieldMappings, value); err != nil { return err } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -9442,14 +9491,17 @@ func awsAwsjson11_deserializeDocumentBoxConfiguration(v **types.BoxConfiguration } sv.UseChangeLog = jtv } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + case "WebLinkFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WebLinkFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -9493,6 +9545,7 @@ func awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.QueryCapacityUnits = ptr.Int32(int32(i64)) } + case "StorageCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -9505,6 +9558,7 @@ func awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.StorageCapacityUnits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9576,10 +9630,12 @@ func awsAwsjson11_deserializeDocumentCollapsedResultDetail(v **types.CollapsedRe if err := awsAwsjson11_deserializeDocumentDocumentAttribute(&sv.DocumentAttribute, value); err != nil { return err } + case "ExpandedResults": if err := awsAwsjson11_deserializeDocumentExpandedResultList(&sv.ExpandedResults, value); err != nil { return err } + default: _, _ = key, value @@ -9615,6 +9671,7 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu if err := awsAwsjson11_deserializeDocumentChangeDetectingColumns(&sv.ChangeDetectingColumns, value); err != nil { return err } + case "DocumentDataColumnName": if value != nil { jtv, ok := value.(string) @@ -9623,6 +9680,7 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentDataColumnName = ptr.String(jtv) } + case "DocumentIdColumnName": if value != nil { jtv, ok := value.(string) @@ -9631,6 +9689,7 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentIdColumnName = ptr.String(jtv) } + case "DocumentTitleColumnName": if value != nil { jtv, ok := value.(string) @@ -9639,10 +9698,12 @@ func awsAwsjson11_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.DocumentTitleColumnName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -9682,6 +9743,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9721,6 +9783,7 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.QueryText = ptr.String(jtv) } + case "SetId": if value != nil { jtv, ok := value.(string) @@ -9729,6 +9792,7 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.SetId = ptr.String(jtv) } + case "SetName": if value != nil { jtv, ok := value.(string) @@ -9737,6 +9801,7 @@ func awsAwsjson11_deserializeDocumentConflictingItem(v **types.ConflictingItem, } sv.SetName = ptr.String(jtv) } + default: _, _ = key, value @@ -9806,6 +9871,7 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(v **types if err := awsAwsjson11_deserializeDocumentConfluenceAttachmentFieldMappingsList(&sv.AttachmentFieldMappings, value); err != nil { return err } + case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -9814,6 +9880,7 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(v **types } sv.CrawlAttachments = jtv } + default: _, _ = key, value @@ -9887,6 +9954,7 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.DataSourceFieldName = types.ConfluenceAttachmentFieldName(jtv) } + case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -9895,6 +9963,7 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.DateFieldFormat = ptr.String(jtv) } + case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -9903,6 +9972,7 @@ func awsAwsjson11_deserializeDocumentConfluenceAttachmentToIndexFieldMapping(v * } sv.IndexFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -9938,6 +10008,7 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogConfiguration(v **types.Confl if err := awsAwsjson11_deserializeDocumentConfluenceBlogFieldMappingsList(&sv.BlogFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -10011,6 +10082,7 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.DataSourceFieldName = types.ConfluenceBlogFieldName(jtv) } + case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10019,6 +10091,7 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.DateFieldFormat = ptr.String(jtv) } + case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10027,6 +10100,7 @@ func awsAwsjson11_deserializeDocumentConfluenceBlogToIndexFieldMapping(v **types } sv.IndexFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -10062,6 +10136,7 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc if err := awsAwsjson11_deserializeDocumentConfluenceAttachmentConfiguration(&sv.AttachmentConfiguration, value); err != nil { return err } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -10070,26 +10145,32 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.AuthenticationType = types.ConfluenceAuthenticationType(jtv) } + case "BlogConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceBlogConfiguration(&sv.BlogConfiguration, value); err != nil { return err } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "PageConfiguration": if err := awsAwsjson11_deserializeDocumentConfluencePageConfiguration(&sv.PageConfiguration, value); err != nil { return err } + case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10098,6 +10179,7 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.SecretArn = ptr.String(jtv) } + case "ServerUrl": if value != nil { jtv, ok := value.(string) @@ -10106,10 +10188,12 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.ServerUrl = ptr.String(jtv) } + case "SpaceConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(&sv.SpaceConfiguration, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -10118,10 +10202,12 @@ func awsAwsjson11_deserializeDocumentConfluenceConfiguration(v **types.Confluenc } sv.Version = types.ConfluenceVersion(jtv) } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10157,6 +10243,7 @@ func awsAwsjson11_deserializeDocumentConfluencePageConfiguration(v **types.Confl if err := awsAwsjson11_deserializeDocumentConfluencePageFieldMappingsList(&sv.PageFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -10230,6 +10317,7 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.DataSourceFieldName = types.ConfluencePageFieldName(jtv) } + case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10238,6 +10326,7 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.DateFieldFormat = ptr.String(jtv) } + case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10246,6 +10335,7 @@ func awsAwsjson11_deserializeDocumentConfluencePageToIndexFieldMapping(v **types } sv.IndexFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -10285,6 +10375,7 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(v **types.Conf } sv.CrawlArchivedSpaces = jtv } + case "CrawlPersonalSpaces": if value != nil { jtv, ok := value.(bool) @@ -10293,18 +10384,22 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceConfiguration(v **types.Conf } sv.CrawlPersonalSpaces = jtv } + case "ExcludeSpaces": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceList(&sv.ExcludeSpaces, value); err != nil { return err } + case "IncludeSpaces": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceList(&sv.IncludeSpaces, value); err != nil { return err } + case "SpaceFieldMappings": if err := awsAwsjson11_deserializeDocumentConfluenceSpaceFieldMappingsList(&sv.SpaceFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -10414,6 +10509,7 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.DataSourceFieldName = types.ConfluenceSpaceFieldName(jtv) } + case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -10422,6 +10518,7 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.DateFieldFormat = ptr.String(jtv) } + case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -10430,6 +10527,7 @@ func awsAwsjson11_deserializeDocumentConfluenceSpaceToIndexFieldMapping(v **type } sv.IndexFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -10469,6 +10567,7 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabaseHost = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -10477,6 +10576,7 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabaseName = ptr.String(jtv) } + case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -10489,6 +10589,7 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.DatabasePort = ptr.Int32(int32(i64)) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10497,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.SecretArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -10505,6 +10607,7 @@ func awsAwsjson11_deserializeDocumentConnectionConfiguration(v **types.Connectio } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -10540,6 +10643,7 @@ func awsAwsjson11_deserializeDocumentContentSourceConfiguration(v **types.Conten if err := awsAwsjson11_deserializeDocumentDataSourceIdList(&sv.DataSourceIds, value); err != nil { return err } + case "DirectPutContent": if value != nil { jtv, ok := value.(bool) @@ -10548,10 +10652,12 @@ func awsAwsjson11_deserializeDocumentContentSourceConfiguration(v **types.Conten } sv.DirectPutContent = jtv } + case "FaqIds": if err := awsAwsjson11_deserializeDocumentFaqIdsList(&sv.FaqIds, value); err != nil { return err } + default: _, _ = key, value @@ -10595,6 +10701,7 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "CorrectedTerm": if value != nil { jtv, ok := value.(string) @@ -10603,6 +10710,7 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.CorrectedTerm = ptr.String(jtv) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10615,6 +10723,7 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.EndOffset = ptr.Int32(int32(i64)) } + case "Term": if value != nil { jtv, ok := value.(string) @@ -10623,6 +10732,7 @@ func awsAwsjson11_deserializeDocumentCorrection(v **types.Correction, value inte } sv.Term = ptr.String(jtv) } + default: _, _ = key, value @@ -10692,14 +10802,17 @@ func awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(v **t if err := awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfigurationList(&sv.InlineConfigurations, value); err != nil { return err } + case "PostExtractionHookConfiguration": if err := awsAwsjson11_deserializeDocumentHookConfiguration(&sv.PostExtractionHookConfiguration, value); err != nil { return err } + case "PreExtractionHookConfiguration": if err := awsAwsjson11_deserializeDocumentHookConfiguration(&sv.PreExtractionHookConfiguration, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10708,6 +10821,7 @@ func awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(v **t } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10743,14 +10857,17 @@ func awsAwsjson11_deserializeDocumentDatabaseConfiguration(v **types.DatabaseCon if err := awsAwsjson11_deserializeDocumentAclConfiguration(&sv.AclConfiguration, value); err != nil { return err } + case "ColumnConfiguration": if err := awsAwsjson11_deserializeDocumentColumnConfiguration(&sv.ColumnConfiguration, value); err != nil { return err } + case "ConnectionConfiguration": if err := awsAwsjson11_deserializeDocumentConnectionConfiguration(&sv.ConnectionConfiguration, value); err != nil { return err } + case "DatabaseEngineType": if value != nil { jtv, ok := value.(string) @@ -10759,14 +10876,17 @@ func awsAwsjson11_deserializeDocumentDatabaseConfiguration(v **types.DatabaseCon } sv.DatabaseEngineType = types.DatabaseEngineType(jtv) } + case "SqlConfiguration": if err := awsAwsjson11_deserializeDocumentSqlConfiguration(&sv.SqlConfiguration, value); err != nil { return err } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10802,74 +10922,92 @@ func awsAwsjson11_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsAwsjson11_deserializeDocumentAlfrescoConfiguration(&sv.AlfrescoConfiguration, value); err != nil { return err } + case "BoxConfiguration": if err := awsAwsjson11_deserializeDocumentBoxConfiguration(&sv.BoxConfiguration, value); err != nil { return err } + case "ConfluenceConfiguration": if err := awsAwsjson11_deserializeDocumentConfluenceConfiguration(&sv.ConfluenceConfiguration, value); err != nil { return err } + case "DatabaseConfiguration": if err := awsAwsjson11_deserializeDocumentDatabaseConfiguration(&sv.DatabaseConfiguration, value); err != nil { return err } + case "FsxConfiguration": if err := awsAwsjson11_deserializeDocumentFsxConfiguration(&sv.FsxConfiguration, value); err != nil { return err } + case "GitHubConfiguration": if err := awsAwsjson11_deserializeDocumentGitHubConfiguration(&sv.GitHubConfiguration, value); err != nil { return err } + case "GoogleDriveConfiguration": if err := awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(&sv.GoogleDriveConfiguration, value); err != nil { return err } + case "JiraConfiguration": if err := awsAwsjson11_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } + case "OneDriveConfiguration": if err := awsAwsjson11_deserializeDocumentOneDriveConfiguration(&sv.OneDriveConfiguration, value); err != nil { return err } + case "QuipConfiguration": if err := awsAwsjson11_deserializeDocumentQuipConfiguration(&sv.QuipConfiguration, value); err != nil { return err } + case "S3Configuration": if err := awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(&sv.S3Configuration, value); err != nil { return err } + case "SalesforceConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceConfiguration(&sv.SalesforceConfiguration, value); err != nil { return err } + case "ServiceNowConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowConfiguration(&sv.ServiceNowConfiguration, value); err != nil { return err } + case "SharePointConfiguration": if err := awsAwsjson11_deserializeDocumentSharePointConfiguration(&sv.SharePointConfiguration, value); err != nil { return err } + case "SlackConfiguration": if err := awsAwsjson11_deserializeDocumentSlackConfiguration(&sv.SlackConfiguration, value); err != nil { return err } + case "TemplateConfiguration": if err := awsAwsjson11_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "WebCrawlerConfiguration": if err := awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(&sv.WebCrawlerConfiguration, value); err != nil { return err } + case "WorkDocsConfiguration": if err := awsAwsjson11_deserializeDocumentWorkDocsConfiguration(&sv.WorkDocsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10988,6 +11126,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11135,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Id = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -11004,6 +11144,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.LanguageCode = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11012,6 +11153,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11020,6 +11162,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Status = types.DataSourceStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11028,6 +11171,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = types.DataSourceType(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11043,6 +11187,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } + default: _, _ = key, value @@ -11116,6 +11261,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.DataSourceErrorCode = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -11131,6 +11277,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -11139,6 +11286,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11147,6 +11295,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ErrorMessage = ptr.String(jtv) } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -11155,10 +11304,12 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ExecutionId = ptr.String(jtv) } + case "Metrics": if err := awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(&sv.Metrics, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11174,6 +11325,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11182,6 +11334,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.Status = types.DataSourceSyncJobStatus(jtv) } + default: _, _ = key, value @@ -11255,6 +11408,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsAdded = ptr.String(jtv) } + case "DocumentsDeleted": if value != nil { jtv, ok := value.(string) @@ -11263,6 +11417,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsDeleted = ptr.String(jtv) } + case "DocumentsFailed": if value != nil { jtv, ok := value.(string) @@ -11271,6 +11426,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsFailed = ptr.String(jtv) } + case "DocumentsModified": if value != nil { jtv, ok := value.(string) @@ -11279,6 +11435,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsModified = ptr.String(jtv) } + case "DocumentsScanned": if value != nil { jtv, ok := value.(string) @@ -11287,6 +11444,7 @@ func awsAwsjson11_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsScanned = ptr.String(jtv) } + default: _, _ = key, value @@ -11326,6 +11484,7 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.DataSourceFieldName = ptr.String(jtv) } + case "DateFieldFormat": if value != nil { jtv, ok := value.(string) @@ -11334,6 +11493,7 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.DateFieldFormat = ptr.String(jtv) } + case "IndexFieldName": if value != nil { jtv, ok := value.(string) @@ -11342,6 +11502,7 @@ func awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMapping(v **types.Dat } sv.IndexFieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -11411,10 +11572,12 @@ func awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(v **types.DataSo if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -11454,10 +11617,12 @@ func awsAwsjson11_deserializeDocumentDocumentAttribute(v **types.DocumentAttribu } sv.Key = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -11497,10 +11662,12 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.ConditionDocumentAttributeKey = ptr.String(jtv) } + case "ConditionOnValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.ConditionOnValue, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -11509,6 +11676,7 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Operator = types.ConditionOperator(jtv) } + default: _, _ = key, value @@ -11654,10 +11822,12 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.TargetDocumentAttributeKey = ptr.String(jtv) } + case "TargetDocumentAttributeValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.TargetDocumentAttributeValue, value); err != nil { return err } + case "TargetDocumentAttributeValueDeletion": if value != nil { jtv, ok := value.(bool) @@ -11666,6 +11836,7 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.TargetDocumentAttributeValueDeletion = jtv } + default: _, _ = key, value @@ -11712,6 +11883,7 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } } + case "LongValue": if value != nil { jtv, ok := value.(json.Number) @@ -11724,10 +11896,12 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } sv.LongValue = ptr.Int64(i64) } + case "StringListValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeStringListValue(&sv.StringListValue, value); err != nil { return err } + case "StringValue": if value != nil { jtv, ok := value.(string) @@ -11736,6 +11910,7 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValue(v **types.DocumentAt } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -11779,14 +11954,17 @@ func awsAwsjson11_deserializeDocumentDocumentAttributeValueCountPair(v **types.D } sv.Count = ptr.Int32(int32(i64)) } + case "DocumentAttributeValue": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValue(&sv.DocumentAttributeValue, value); err != nil { return err } + case "FacetResults": if err := awsAwsjson11_deserializeDocumentFacetResultList(&sv.FacetResults, value); err != nil { return err } + default: _, _ = key, value @@ -11860,14 +12038,17 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataConfiguration(v **types.Doc } sv.Name = ptr.String(jtv) } + case "Relevance": if err := awsAwsjson11_deserializeDocumentRelevance(&sv.Relevance, value); err != nil { return err } + case "Search": if err := awsAwsjson11_deserializeDocumentSearch(&sv.Search, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11876,6 +12057,7 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataConfiguration(v **types.Doc } sv.Type = types.DocumentAttributeValueType(jtv) } + default: _, _ = key, value @@ -11949,6 +12131,7 @@ func awsAwsjson11_deserializeDocumentDocumentsMetadataConfiguration(v **types.Do } sv.S3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -12022,6 +12205,7 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.FirstName = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -12030,6 +12214,7 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.GroupName = ptr.String(jtv) } + case "IdentifiedUserName": if value != nil { jtv, ok := value.(string) @@ -12038,6 +12223,7 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.IdentifiedUserName = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -12046,6 +12232,7 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.LastName = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -12054,6 +12241,7 @@ func awsAwsjson11_deserializeDocumentEntityDisplayData(v **types.EntityDisplayDa } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -12233,10 +12421,12 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } + case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } + case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -12245,10 +12435,12 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.DocumentId = ptr.String(jtv) } + case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } + case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -12257,6 +12449,7 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.DocumentURI = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12265,6 +12458,7 @@ func awsAwsjson11_deserializeDocumentExpandedResultItem(v **types.ExpandedResult } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12334,10 +12528,12 @@ func awsAwsjson11_deserializeDocumentExperienceConfiguration(v **types.Experienc if err := awsAwsjson11_deserializeDocumentContentSourceConfiguration(&sv.ContentSourceConfiguration, value); err != nil { return err } + case "UserIdentityConfiguration": if err := awsAwsjson11_deserializeDocumentUserIdentityConfiguration(&sv.UserIdentityConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -12377,6 +12573,7 @@ func awsAwsjson11_deserializeDocumentExperienceEndpoint(v **types.ExperienceEndp } sv.Endpoint = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -12385,6 +12582,7 @@ func awsAwsjson11_deserializeDocumentExperienceEndpoint(v **types.ExperienceEndp } sv.EndpointType = types.EndpointType(jtv) } + default: _, _ = key, value @@ -12454,6 +12652,7 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie if err := awsAwsjson11_deserializeDocumentEntityDisplayData(&sv.DisplayData, value); err != nil { return err } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -12462,6 +12661,7 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie } sv.EntityId = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -12470,6 +12670,7 @@ func awsAwsjson11_deserializeDocumentExperienceEntitiesSummary(v **types.Experie } sv.EntityType = types.EntityType(jtv) } + default: _, _ = key, value @@ -12550,10 +12751,12 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } } + case "Endpoints": if err := awsAwsjson11_deserializeDocumentExperienceEndpoints(&sv.Endpoints, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12562,6 +12765,7 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12570,6 +12774,7 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12578,6 +12783,7 @@ func awsAwsjson11_deserializeDocumentExperiencesSummary(v **types.ExperiencesSum } sv.Status = types.ExperienceStatus(jtv) } + default: _, _ = key, value @@ -12651,10 +12857,12 @@ func awsAwsjson11_deserializeDocumentFacetResult(v **types.FacetResult, value in } sv.DocumentAttributeKey = ptr.String(jtv) } + case "DocumentAttributeValueCountPairs": if err := awsAwsjson11_deserializeDocumentDocumentAttributeValueCountPairList(&sv.DocumentAttributeValueCountPairs, value); err != nil { return err } + case "DocumentAttributeValueType": if value != nil { jtv, ok := value.(string) @@ -12663,6 +12871,7 @@ func awsAwsjson11_deserializeDocumentFacetResult(v **types.FacetResult, value in } sv.DocumentAttributeValueType = types.DocumentAttributeValueType(jtv) } + default: _, _ = key, value @@ -12736,6 +12945,7 @@ func awsAwsjson11_deserializeDocumentFailedEntity(v **types.FailedEntity, value } sv.EntityId = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -12744,6 +12954,7 @@ func awsAwsjson11_deserializeDocumentFailedEntity(v **types.FailedEntity, value } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -12857,6 +13068,7 @@ func awsAwsjson11_deserializeDocumentFaqStatistics(v **types.FaqStatistics, valu } sv.IndexedQuestionAnswersCount = int32(i64) } + default: _, _ = key, value @@ -12903,6 +13115,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } } + case "FileFormat": if value != nil { jtv, ok := value.(string) @@ -12911,6 +13124,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.FileFormat = types.FaqFileFormat(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12919,6 +13133,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Id = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -12927,6 +13142,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.LanguageCode = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12935,6 +13151,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12943,6 +13160,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } sv.Status = types.FaqStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12958,6 +13176,7 @@ func awsAwsjson11_deserializeDocumentFaqSummary(v **types.FaqSummary, value inte } } + default: _, _ = key, value @@ -13031,6 +13250,7 @@ func awsAwsjson11_deserializeDocumentFeaturedDocument(v **types.FeaturedDocument } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -13104,6 +13324,7 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentMissing(v **types.FeaturedD } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -13177,6 +13398,7 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.Id = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -13185,6 +13407,7 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.Title = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -13193,6 +13416,7 @@ func awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadata(v **types.Feat } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -13262,6 +13486,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. if err := awsAwsjson11_deserializeDocumentConflictingItems(&sv.ConflictingItems, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13270,6 +13495,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsConflictException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13305,14 +13531,17 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } + case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } + case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } + case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -13321,10 +13550,12 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.DocumentId = ptr.String(jtv) } + case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } + case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -13333,6 +13564,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.DocumentURI = ptr.String(jtv) } + case "FeedbackToken": if value != nil { jtv, ok := value.(string) @@ -13341,6 +13573,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.FeedbackToken = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13349,6 +13582,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13357,6 +13591,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsItem(v **types.FeaturedResul } sv.Type = types.QueryResultType(jtv) } + default: _, _ = key, value @@ -13434,6 +13669,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.CreationTimestamp = ptr.Int64(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13442,10 +13678,12 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.Description = ptr.String(jtv) } + case "FeaturedDocuments": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentList(&sv.FeaturedDocuments, value); err != nil { return err } + case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -13454,6 +13692,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.FeaturedResultsSetId = ptr.String(jtv) } + case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -13462,6 +13701,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.FeaturedResultsSetName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -13474,10 +13714,12 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.LastUpdatedTimestamp = ptr.Int64(i64) } + case "QueryTexts": if err := awsAwsjson11_deserializeDocumentQueryTextList(&sv.QueryTexts, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13486,6 +13728,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSet(v **types.FeaturedResult } sv.Status = types.FeaturedResultsSetStatus(jtv) } + default: _, _ = key, value @@ -13529,6 +13772,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.CreationTimestamp = ptr.Int64(i64) } + case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -13537,6 +13781,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.FeaturedResultsSetId = ptr.String(jtv) } + case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -13545,6 +13790,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.FeaturedResultsSetName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -13557,6 +13803,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.LastUpdatedTimestamp = ptr.Int64(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13565,6 +13812,7 @@ func awsAwsjson11_deserializeDocumentFeaturedResultsSetSummary(v **types.Feature } sv.Status = types.FeaturedResultsSetStatus(jtv) } + default: _, _ = key, value @@ -13670,10 +13918,12 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -13682,6 +13932,7 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -13690,10 +13941,12 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.FileSystemType = types.FsxFileSystemType(jtv) } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -13702,10 +13955,12 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration } sv.SecretArn = ptr.String(jtv) } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13741,74 +13996,92 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileNamePatterns, value); err != nil { return err } + case "ExclusionFileTypePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileTypePatterns, value); err != nil { return err } + case "ExclusionFolderNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFolderNamePatterns, value); err != nil { return err } + case "GitHubCommitConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubCommitConfigurationFieldMappings, value); err != nil { return err } + case "GitHubDocumentCrawlProperties": if err := awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(&sv.GitHubDocumentCrawlProperties, value); err != nil { return err } + case "GitHubIssueAttachmentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueAttachmentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubIssueCommentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueCommentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubIssueDocumentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueDocumentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubPullRequestCommentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestCommentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubPullRequestDocumentAttachmentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubPullRequestDocumentConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentConfigurationFieldMappings, value); err != nil { return err } + case "GitHubRepositoryConfigurationFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubRepositoryConfigurationFieldMappings, value); err != nil { return err } + case "InclusionFileNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileNamePatterns, value); err != nil { return err } + case "InclusionFileTypePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileTypePatterns, value); err != nil { return err } + case "InclusionFolderNamePatterns": if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFolderNamePatterns, value); err != nil { return err } + case "OnPremiseConfiguration": if err := awsAwsjson11_deserializeDocumentOnPremiseConfiguration(&sv.OnPremiseConfiguration, value); err != nil { return err } + case "RepositoryFilter": if err := awsAwsjson11_deserializeDocumentRepositoryNames(&sv.RepositoryFilter, value); err != nil { return err } + case "SaaSConfiguration": if err := awsAwsjson11_deserializeDocumentSaaSConfiguration(&sv.SaaSConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -13817,6 +14090,7 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.SecretArn = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13825,6 +14099,7 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.Type = types.Type(jtv) } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -13833,10 +14108,12 @@ func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfigu } sv.UseChangeLog = jtv } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13876,6 +14153,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssue = jtv } + case "CrawlIssueComment": if value != nil { jtv, ok := value.(bool) @@ -13884,6 +14162,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssueComment = jtv } + case "CrawlIssueCommentAttachment": if value != nil { jtv, ok := value.(bool) @@ -13892,6 +14171,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlIssueCommentAttachment = jtv } + case "CrawlPullRequest": if value != nil { jtv, ok := value.(bool) @@ -13900,6 +14180,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequest = jtv } + case "CrawlPullRequestComment": if value != nil { jtv, ok := value.(bool) @@ -13908,6 +14189,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequestComment = jtv } + case "CrawlPullRequestCommentAttachment": if value != nil { jtv, ok := value.(bool) @@ -13916,6 +14198,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlPullRequestCommentAttachment = jtv } + case "CrawlRepositoryDocuments": if value != nil { jtv, ok := value.(bool) @@ -13924,6 +14207,7 @@ func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.Git } sv.CrawlRepositoryDocuments = jtv } + default: _, _ = key, value @@ -13959,26 +14243,32 @@ func awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(v **types.GoogleDr if err := awsAwsjson11_deserializeDocumentExcludeMimeTypesList(&sv.ExcludeMimeTypes, value); err != nil { return err } + case "ExcludeSharedDrives": if err := awsAwsjson11_deserializeDocumentExcludeSharedDrivesList(&sv.ExcludeSharedDrives, value); err != nil { return err } + case "ExcludeUserAccounts": if err := awsAwsjson11_deserializeDocumentExcludeUserAccountsList(&sv.ExcludeUserAccounts, value); err != nil { return err } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -13987,6 +14277,7 @@ func awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(v **types.GoogleDr } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14060,6 +14351,7 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.FailureReason = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14075,6 +14367,7 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } } + case "OrderingId": if value != nil { jtv, ok := value.(json.Number) @@ -14087,6 +14380,7 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.OrderingId = ptr.Int64(i64) } + case "ReceivedAt": if value != nil { switch jtv := value.(type) { @@ -14102,6 +14396,7 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14110,6 +14405,7 @@ func awsAwsjson11_deserializeDocumentGroupOrderingIdSummary(v **types.GroupOrder } sv.Status = types.PrincipalMappingStatus(jtv) } + default: _, _ = key, value @@ -14149,6 +14445,7 @@ func awsAwsjson11_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupId = ptr.String(jtv) } + case "OrderingId": if value != nil { jtv, ok := value.(json.Number) @@ -14161,6 +14458,7 @@ func awsAwsjson11_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.OrderingId = ptr.Int64(i64) } + default: _, _ = key, value @@ -14196,6 +14494,7 @@ func awsAwsjson11_deserializeDocumentHierarchicalPrincipal(v **types.Hierarchica if err := awsAwsjson11_deserializeDocumentPrincipalList(&sv.PrincipalList, value); err != nil { return err } + default: _, _ = key, value @@ -14273,6 +14572,7 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14285,6 +14585,7 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffset = ptr.Int32(int32(i64)) } + case "TopAnswer": if value != nil { jtv, ok := value.(bool) @@ -14293,6 +14594,7 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.TopAnswer = jtv } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14301,6 +14603,7 @@ func awsAwsjson11_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.Type = types.HighlightType(jtv) } + default: _, _ = key, value @@ -14370,6 +14673,7 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati if err := awsAwsjson11_deserializeDocumentDocumentAttributeCondition(&sv.InvocationCondition, value); err != nil { return err } + case "LambdaArn": if value != nil { jtv, ok := value.(string) @@ -14378,6 +14682,7 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.LambdaArn = ptr.String(jtv) } + case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -14386,6 +14691,7 @@ func awsAwsjson11_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.S3Bucket = ptr.String(jtv) } + default: _, _ = key, value @@ -14432,6 +14738,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } } + case "Edition": if value != nil { jtv, ok := value.(string) @@ -14440,6 +14747,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Edition = types.IndexEdition(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14448,6 +14756,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14456,6 +14765,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14464,6 +14774,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } sv.Status = types.IndexStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14479,6 +14790,7 @@ func awsAwsjson11_deserializeDocumentIndexConfigurationSummary(v **types.IndexCo } } + default: _, _ = key, value @@ -14548,10 +14860,12 @@ func awsAwsjson11_deserializeDocumentIndexStatistics(v **types.IndexStatistics, if err := awsAwsjson11_deserializeDocumentFaqStatistics(&sv.FaqStatistics, value); err != nil { return err } + case "TextDocumentStatistics": if err := awsAwsjson11_deserializeDocumentTextDocumentStatistics(&sv.TextDocumentStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -14587,6 +14901,7 @@ func awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfiguration if err := awsAwsjson11_deserializeDocumentDocumentAttributeCondition(&sv.Condition, value); err != nil { return err } + case "DocumentContentDeletion": if value != nil { jtv, ok := value.(bool) @@ -14595,10 +14910,12 @@ func awsAwsjson11_deserializeDocumentInlineCustomDocumentEnrichmentConfiguration } sv.DocumentContentDeletion = jtv } + case "Target": if err := awsAwsjson11_deserializeDocumentDocumentAttributeTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -14672,6 +14989,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14711,6 +15029,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14818,30 +15137,37 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.AttachmentFieldMappings, value); err != nil { return err } + case "CommentFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.CommentFieldMappings, value); err != nil { return err } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "IssueFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.IssueFieldMappings, value); err != nil { return err } + case "IssueSubEntityFilter": if err := awsAwsjson11_deserializeDocumentIssueSubEntityFilter(&sv.IssueSubEntityFilter, value); err != nil { return err } + case "IssueType": if err := awsAwsjson11_deserializeDocumentIssueType(&sv.IssueType, value); err != nil { return err } + case "JiraAccountUrl": if value != nil { jtv, ok := value.(string) @@ -14850,14 +15176,17 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.JiraAccountUrl = ptr.String(jtv) } + case "Project": if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + case "ProjectFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.ProjectFieldMappings, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -14866,10 +15195,12 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.SecretArn = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentJiraStatus(&sv.Status, value); err != nil { return err } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -14878,14 +15209,17 @@ func awsAwsjson11_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.UseChangeLog = jtv } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + case "WorkLogFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.WorkLogFieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -14961,6 +15295,7 @@ func awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(v **types.JsonTo } sv.GroupAttributeField = ptr.String(jtv) } + case "UserNameAttributeField": if value != nil { jtv, ok := value.(string) @@ -14969,6 +15304,7 @@ func awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(v **types.JsonTo } sv.UserNameAttributeField = ptr.String(jtv) } + default: _, _ = key, value @@ -15008,6 +15344,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.ClaimRegex = ptr.String(jtv) } + case "GroupAttributeField": if value != nil { jtv, ok := value.(string) @@ -15016,6 +15353,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.GroupAttributeField = ptr.String(jtv) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -15024,6 +15362,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.Issuer = ptr.String(jtv) } + case "KeyLocation": if value != nil { jtv, ok := value.(string) @@ -15032,6 +15371,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.KeyLocation = types.KeyLocation(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -15040,6 +15380,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.SecretManagerArn = ptr.String(jtv) } + case "URL": if value != nil { jtv, ok := value.(string) @@ -15048,6 +15389,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.URL = ptr.String(jtv) } + case "UserNameAttributeField": if value != nil { jtv, ok := value.(string) @@ -15056,6 +15398,7 @@ func awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(v **types.JwtToke } sv.UserNameAttributeField = ptr.String(jtv) } + default: _, _ = key, value @@ -15129,22 +15472,27 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.DisableLocalGroups = jtv } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "OneDriveUsers": if err := awsAwsjson11_deserializeDocumentOneDriveUsers(&sv.OneDriveUsers, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -15153,6 +15501,7 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.SecretArn = ptr.String(jtv) } + case "TenantDomain": if value != nil { jtv, ok := value.(string) @@ -15161,6 +15510,7 @@ func awsAwsjson11_deserializeDocumentOneDriveConfiguration(v **types.OneDriveCon } sv.TenantDomain = ptr.String(jtv) } + default: _, _ = key, value @@ -15232,10 +15582,12 @@ func awsAwsjson11_deserializeDocumentOneDriveUsers(v **types.OneDriveUsers, valu if err := awsAwsjson11_deserializeDocumentOneDriveUserList(&sv.OneDriveUserList, value); err != nil { return err } + case "OneDriveUserS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.OneDriveUserS3Path, value); err != nil { return err } + default: _, _ = key, value @@ -15275,6 +15627,7 @@ func awsAwsjson11_deserializeDocumentOnPremiseConfiguration(v **types.OnPremiseC } sv.HostUrl = ptr.String(jtv) } + case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -15283,10 +15636,12 @@ func awsAwsjson11_deserializeDocumentOnPremiseConfiguration(v **types.OnPremiseC } sv.OrganizationName = ptr.String(jtv) } + case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } + default: _, _ = key, value @@ -15333,6 +15688,7 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -15341,6 +15697,7 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } sv.EntityId = ptr.String(jtv) } + case "Persona": if value != nil { jtv, ok := value.(string) @@ -15349,6 +15706,7 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } sv.Persona = types.Persona(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15364,6 +15722,7 @@ func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, } } + default: _, _ = key, value @@ -15437,6 +15796,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Access = types.ReadAccessType(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -15445,6 +15805,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.DataSourceId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15453,6 +15814,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15461,6 +15823,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Type = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -15606,6 +15969,7 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Credentials = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -15614,6 +15978,7 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -15626,6 +15991,7 @@ func awsAwsjson11_deserializeDocumentProxyConfiguration(v **types.ProxyConfigura } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15697,18 +16063,22 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, if err := awsAwsjson11_deserializeDocumentAdditionalResultAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } + case "CollapsedResultDetail": if err := awsAwsjson11_deserializeDocumentCollapsedResultDetail(&sv.CollapsedResultDetail, value); err != nil { return err } + case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } + case "DocumentExcerpt": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentExcerpt, value); err != nil { return err } + case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -15717,10 +16087,12 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.DocumentId = ptr.String(jtv) } + case "DocumentTitle": if err := awsAwsjson11_deserializeDocumentTextWithHighlights(&sv.DocumentTitle, value); err != nil { return err } + case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -15729,6 +16101,7 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.DocumentURI = ptr.String(jtv) } + case "FeedbackToken": if value != nil { jtv, ok := value.(string) @@ -15737,6 +16110,7 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.FeedbackToken = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -15745,6 +16119,7 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Format = types.QueryResultFormat(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15753,14 +16128,17 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Id = ptr.String(jtv) } + case "ScoreAttributes": if err := awsAwsjson11_deserializeDocumentScoreAttributes(&sv.ScoreAttributes, value); err != nil { return err } + case "TableExcerpt": if err := awsAwsjson11_deserializeDocumentTableExcerpt(&sv.TableExcerpt, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15769,6 +16147,7 @@ func awsAwsjson11_deserializeDocumentQueryResultItem(v **types.QueryResultItem, } sv.Type = types.QueryResultType(jtv) } + default: _, _ = key, value @@ -15849,6 +16228,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15857,6 +16237,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Id = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -15869,6 +16250,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.ItemCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15877,6 +16259,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15885,6 +16268,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } sv.Status = types.QuerySuggestionsBlockListStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15900,6 +16284,7 @@ func awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummary(v **types. } } + default: _, _ = key, value @@ -16005,6 +16390,7 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.AttachmentFieldMappings, value); err != nil { return err } + case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -16013,6 +16399,7 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlAttachments = jtv } + case "CrawlChatRooms": if value != nil { jtv, ok := value.(bool) @@ -16021,6 +16408,7 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlChatRooms = jtv } + case "CrawlFileComments": if value != nil { jtv, ok := value.(bool) @@ -16029,6 +16417,7 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.CrawlFileComments = jtv } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -16037,22 +16426,27 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.Domain = ptr.String(jtv) } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FolderIds": if err := awsAwsjson11_deserializeDocumentFolderIdList(&sv.FolderIds, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "MessageFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.MessageFieldMappings, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -16061,14 +16455,17 @@ func awsAwsjson11_deserializeDocumentQuipConfiguration(v **types.QuipConfigurati } sv.SecretArn = ptr.String(jtv) } + case "ThreadFieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.ThreadFieldMappings, value); err != nil { return err } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16108,6 +16505,7 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Duration = ptr.String(jtv) } + case "Freshness": if value != nil { jtv, ok := value.(bool) @@ -16116,6 +16514,7 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Freshness = ptr.Bool(jtv) } + case "Importance": if value != nil { jtv, ok := value.(json.Number) @@ -16128,6 +16527,7 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.Importance = ptr.Int32(int32(i64)) } + case "RankOrder": if value != nil { jtv, ok := value.(string) @@ -16136,10 +16536,12 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf } sv.RankOrder = types.Order(jtv) } + case "ValueImportanceMap": if err := awsAwsjson11_deserializeDocumentValueImportanceMap(&sv.ValueImportanceMap, value); err != nil { return err } + default: _, _ = key, value @@ -16215,6 +16617,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.Res } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16254,6 +16657,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16293,6 +16697,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16332,6 +16737,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16371,10 +16777,12 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.Content = ptr.String(jtv) } + case "DocumentAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.DocumentAttributes, value); err != nil { return err } + case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -16383,6 +16791,7 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentId = ptr.String(jtv) } + case "DocumentTitle": if value != nil { jtv, ok := value.(string) @@ -16391,6 +16800,7 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentTitle = ptr.String(jtv) } + case "DocumentURI": if value != nil { jtv, ok := value.(string) @@ -16399,6 +16809,7 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.DocumentURI = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -16407,10 +16818,12 @@ func awsAwsjson11_deserializeDocumentRetrieveResultItem(v **types.RetrieveResult } sv.Id = ptr.String(jtv) } + case "ScoreAttributes": if err := awsAwsjson11_deserializeDocumentScoreAttributes(&sv.ScoreAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -16480,6 +16893,7 @@ func awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS if err := awsAwsjson11_deserializeDocumentAccessControlListConfiguration(&sv.AccessControlListConfiguration, value); err != nil { return err } + case "BucketName": if value != nil { jtv, ok := value.(string) @@ -16488,22 +16902,27 @@ func awsAwsjson11_deserializeDocumentS3DataSourceConfiguration(v **types.S3DataS } sv.BucketName = ptr.String(jtv) } + case "DocumentsMetadataConfiguration": if err := awsAwsjson11_deserializeDocumentDocumentsMetadataConfiguration(&sv.DocumentsMetadataConfiguration, value); err != nil { return err } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "InclusionPrefixes": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPrefixes, value); err != nil { return err } + default: _, _ = key, value @@ -16543,6 +16962,7 @@ func awsAwsjson11_deserializeDocumentS3Path(v **types.S3Path, value interface{}) } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -16551,6 +16971,7 @@ func awsAwsjson11_deserializeDocumentS3Path(v **types.S3Path, value interface{}) } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -16590,6 +17011,7 @@ func awsAwsjson11_deserializeDocumentSaaSConfiguration(v **types.SaaSConfigurati } sv.HostUrl = ptr.String(jtv) } + case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -16598,6 +17020,7 @@ func awsAwsjson11_deserializeDocumentSaaSConfiguration(v **types.SaaSConfigurati } sv.OrganizationName = ptr.String(jtv) } + default: _, _ = key, value @@ -16637,6 +17060,7 @@ func awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(v **type } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -16645,14 +17069,17 @@ func awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(v **type } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "IncludeFilterTypes": if err := awsAwsjson11_deserializeDocumentSalesforceChatterFeedIncludeFilterTypes(&sv.IncludeFilterTypes, value); err != nil { return err } + default: _, _ = key, value @@ -16724,6 +17151,7 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc if err := awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(&sv.ChatterFeedConfiguration, value); err != nil { return err } + case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -16732,18 +17160,22 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.CrawlAttachments = jtv } + case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } + case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } + case "KnowledgeArticleConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleConfiguration(&sv.KnowledgeArticleConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -16752,6 +17184,7 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.SecretArn = ptr.String(jtv) } + case "ServerUrl": if value != nil { jtv, ok := value.(string) @@ -16760,14 +17193,17 @@ func awsAwsjson11_deserializeDocumentSalesforceConfiguration(v **types.Salesforc } sv.ServerUrl = ptr.String(jtv) } + case "StandardObjectAttachmentConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceStandardObjectAttachmentConfiguration(&sv.StandardObjectAttachmentConfiguration, value); err != nil { return err } + case "StandardObjectConfigurations": if err := awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfigurationList(&sv.StandardObjectConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -16807,6 +17243,7 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -16815,10 +17252,12 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16827,6 +17266,7 @@ func awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16896,14 +17336,17 @@ func awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleConfiguration(v * if err := awsAwsjson11_deserializeDocumentSalesforceCustomKnowledgeArticleTypeConfigurationList(&sv.CustomKnowledgeArticleTypeConfigurations, value); err != nil { return err } + case "IncludedStates": if err := awsAwsjson11_deserializeDocumentSalesforceKnowledgeArticleStateList(&sv.IncludedStates, value); err != nil { return err } + case "StandardKnowledgeArticleTypeConfiguration": if err := awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfiguration(&sv.StandardKnowledgeArticleTypeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16979,6 +17422,7 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfi } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -16987,10 +17431,12 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardKnowledgeArticleTypeConfi } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -17030,10 +17476,12 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectAttachmentConfigura } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + default: _, _ = key, value @@ -17073,6 +17521,7 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17081,10 +17530,12 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17093,6 +17544,7 @@ func awsAwsjson11_deserializeDocumentSalesforceStandardObjectConfiguration(v **t } sv.Name = types.SalesforceStandardObjectName(jtv) } + default: _, _ = key, value @@ -17166,6 +17618,7 @@ func awsAwsjson11_deserializeDocumentScoreAttributes(v **types.ScoreAttributes, } sv.ScoreConfidence = types.ScoreConfidence(jtv) } + default: _, _ = key, value @@ -17205,6 +17658,7 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Displayable = jtv } + case "Facetable": if value != nil { jtv, ok := value.(bool) @@ -17213,6 +17667,7 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Facetable = jtv } + case "Searchable": if value != nil { jtv, ok := value.(bool) @@ -17221,6 +17676,7 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Searchable = jtv } + case "Sortable": if value != nil { jtv, ok := value.(bool) @@ -17229,6 +17685,7 @@ func awsAwsjson11_deserializeDocumentSearch(v **types.Search, value interface{}) } sv.Sortable = jtv } + default: _, _ = key, value @@ -17300,6 +17757,7 @@ func awsAwsjson11_deserializeDocumentSeedUrlConfiguration(v **types.SeedUrlConfi if err := awsAwsjson11_deserializeDocumentSeedUrlList(&sv.SeedUrls, value); err != nil { return err } + case "WebCrawlerMode": if value != nil { jtv, ok := value.(string) @@ -17308,6 +17766,7 @@ func awsAwsjson11_deserializeDocumentSeedUrlConfiguration(v **types.SeedUrlConfi } sv.WebCrawlerMode = types.WebCrawlerMode(jtv) } + default: _, _ = key, value @@ -17383,6 +17842,7 @@ func awsAwsjson11_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -17422,6 +17882,7 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.AuthenticationType = types.ServiceNowAuthenticationType(jtv) } + case "HostUrl": if value != nil { jtv, ok := value.(string) @@ -17430,10 +17891,12 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.HostUrl = ptr.String(jtv) } + case "KnowledgeArticleConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(&sv.KnowledgeArticleConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -17442,10 +17905,12 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.SecretArn = ptr.String(jtv) } + case "ServiceCatalogConfiguration": if err := awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(&sv.ServiceCatalogConfiguration, value); err != nil { return err } + case "ServiceNowBuildVersion": if value != nil { jtv, ok := value.(string) @@ -17454,6 +17919,7 @@ func awsAwsjson11_deserializeDocumentServiceNowConfiguration(v **types.ServiceNo } sv.ServiceNowBuildVersion = types.ServiceNowBuildVersionType(jtv) } + default: _, _ = key, value @@ -17493,6 +17959,7 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.CrawlAttachments = jtv } + case "DocumentDataFieldName": if value != nil { jtv, ok := value.(string) @@ -17501,6 +17968,7 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17509,14 +17977,17 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "FilterQuery": if value != nil { jtv, ok := value.(string) @@ -17525,10 +17996,12 @@ func awsAwsjson11_deserializeDocumentServiceNowKnowledgeArticleConfiguration(v * } sv.FilterQuery = ptr.String(jtv) } + case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } + default: _, _ = key, value @@ -17568,6 +18041,7 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.CrawlAttachments = jtv } + case "DocumentDataFieldName": if value != nil { jtv, ok := value.(string) @@ -17576,6 +18050,7 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.DocumentDataFieldName = ptr.String(jtv) } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17584,18 +18059,22 @@ func awsAwsjson11_deserializeDocumentServiceNowServiceCatalogConfiguration(v **t } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "ExcludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExcludeAttachmentFilePatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "IncludeAttachmentFilePatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.IncludeAttachmentFilePatterns, value); err != nil { return err } + default: _, _ = key, value @@ -17635,6 +18114,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17674,6 +18154,7 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.AuthenticationType = types.SharePointOnlineAuthenticationType(jtv) } + case "CrawlAttachments": if value != nil { jtv, ok := value.(bool) @@ -17682,6 +18163,7 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.CrawlAttachments = jtv } + case "DisableLocalGroups": if value != nil { jtv, ok := value.(bool) @@ -17690,6 +18172,7 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.DisableLocalGroups = jtv } + case "DocumentTitleFieldName": if value != nil { jtv, ok := value.(string) @@ -17698,22 +18181,27 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.DocumentTitleFieldName = ptr.String(jtv) } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -17722,6 +18210,7 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.SecretArn = ptr.String(jtv) } + case "SharePointVersion": if value != nil { jtv, ok := value.(string) @@ -17730,14 +18219,17 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.SharePointVersion = types.SharePointVersion(jtv) } + case "SslCertificateS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { return err } + case "Urls": if err := awsAwsjson11_deserializeDocumentSharePointUrlList(&sv.Urls, value); err != nil { return err } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -17746,10 +18238,12 @@ func awsAwsjson11_deserializeDocumentSharePointConfiguration(v **types.SharePoin } sv.UseChangeLog = jtv } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17821,6 +18315,7 @@ func awsAwsjson11_deserializeDocumentSiteMapsConfiguration(v **types.SiteMapsCon if err := awsAwsjson11_deserializeDocumentSiteMapsList(&sv.SiteMaps, value); err != nil { return err } + default: _, _ = key, value @@ -17896,6 +18391,7 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.CrawlBotMessage = jtv } + case "ExcludeArchived": if value != nil { jtv, ok := value.(bool) @@ -17904,18 +18400,22 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.ExcludeArchived = jtv } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "LookBackPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -17928,14 +18428,17 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.LookBackPeriod = ptr.Int32(int32(i64)) } + case "PrivateChannelFilter": if err := awsAwsjson11_deserializeDocumentPrivateChannelFilter(&sv.PrivateChannelFilter, value); err != nil { return err } + case "PublicChannelFilter": if err := awsAwsjson11_deserializeDocumentPublicChannelFilter(&sv.PublicChannelFilter, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -17944,6 +18447,7 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.SecretArn = ptr.String(jtv) } + case "SinceCrawlDate": if value != nil { jtv, ok := value.(string) @@ -17952,10 +18456,12 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.SinceCrawlDate = ptr.String(jtv) } + case "SlackEntityList": if err := awsAwsjson11_deserializeDocumentSlackEntityList(&sv.SlackEntityList, value); err != nil { return err } + case "TeamId": if value != nil { jtv, ok := value.(string) @@ -17964,6 +18470,7 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.TeamId = ptr.String(jtv) } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -17972,10 +18479,12 @@ func awsAwsjson11_deserializeDocumentSlackConfiguration(v **types.SlackConfigura } sv.UseChangeLog = jtv } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -18151,6 +18660,7 @@ func awsAwsjson11_deserializeDocumentSourceDocument(v **types.SourceDocument, va if err := awsAwsjson11_deserializeDocumentDocumentAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } + case "DocumentId": if value != nil { jtv, ok := value.(string) @@ -18159,10 +18669,12 @@ func awsAwsjson11_deserializeDocumentSourceDocument(v **types.SourceDocument, va } sv.DocumentId = ptr.String(jtv) } + case "SuggestionAttributes": if err := awsAwsjson11_deserializeDocumentDocumentAttributeKeyList(&sv.SuggestionAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -18232,6 +18744,7 @@ func awsAwsjson11_deserializeDocumentSpellCorrectedQuery(v **types.SpellCorrecte if err := awsAwsjson11_deserializeDocumentCorrectionList(&sv.Corrections, value); err != nil { return err } + case "SuggestedQueryText": if value != nil { jtv, ok := value.(string) @@ -18240,6 +18753,7 @@ func awsAwsjson11_deserializeDocumentSpellCorrectedQuery(v **types.SpellCorrecte } sv.SuggestedQueryText = ptr.String(jtv) } + default: _, _ = key, value @@ -18313,6 +18827,7 @@ func awsAwsjson11_deserializeDocumentSqlConfiguration(v **types.SqlConfiguration } sv.QueryIdentifiersEnclosingOption = types.QueryIdentifiersEnclosingOption(jtv) } + default: _, _ = key, value @@ -18352,6 +18867,7 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.DocumentId = ptr.String(jtv) } + case "DocumentStatus": if value != nil { jtv, ok := value.(string) @@ -18360,6 +18876,7 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.DocumentStatus = types.DocumentStatus(jtv) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -18368,6 +18885,7 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.FailureCode = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -18376,6 +18894,7 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) } sv.FailureReason = ptr.String(jtv) } + default: _, _ = key, value @@ -18487,6 +19006,7 @@ func awsAwsjson11_deserializeDocumentSuggestableConfig(v **types.SuggestableConf } sv.AttributeName = ptr.String(jtv) } + case "Suggestable": if value != nil { jtv, ok := value.(bool) @@ -18495,6 +19015,7 @@ func awsAwsjson11_deserializeDocumentSuggestableConfig(v **types.SuggestableConf } sv.Suggestable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -18568,14 +19089,17 @@ func awsAwsjson11_deserializeDocumentSuggestion(v **types.Suggestion, value inte } sv.Id = ptr.String(jtv) } + case "SourceDocuments": if err := awsAwsjson11_deserializeDocumentSourceDocuments(&sv.SourceDocuments, value); err != nil { return err } + case "Value": if err := awsAwsjson11_deserializeDocumentSuggestionValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -18619,6 +19143,7 @@ func awsAwsjson11_deserializeDocumentSuggestionHighlight(v **types.SuggestionHig } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "EndOffset": if value != nil { jtv, ok := value.(json.Number) @@ -18631,6 +19156,7 @@ func awsAwsjson11_deserializeDocumentSuggestionHighlight(v **types.SuggestionHig } sv.EndOffset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18734,6 +19260,7 @@ func awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(v **types.Sugg if err := awsAwsjson11_deserializeDocumentSuggestionHighlightList(&sv.Highlights, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -18742,6 +19269,7 @@ func awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(v **types.Sugg } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -18777,6 +19305,7 @@ func awsAwsjson11_deserializeDocumentSuggestionValue(v **types.SuggestionValue, if err := awsAwsjson11_deserializeDocumentSuggestionTextWithHighlights(&sv.Text, value); err != nil { return err } + default: _, _ = key, value @@ -18816,6 +19345,7 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Header = jtv } + case "Highlighted": if value != nil { jtv, ok := value.(bool) @@ -18824,6 +19354,7 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Highlighted = jtv } + case "TopAnswer": if value != nil { jtv, ok := value.(bool) @@ -18832,6 +19363,7 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.TopAnswer = jtv } + case "Value": if value != nil { jtv, ok := value.(string) @@ -18840,6 +19372,7 @@ func awsAwsjson11_deserializeDocumentTableCell(v **types.TableCell, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18909,6 +19442,7 @@ func awsAwsjson11_deserializeDocumentTableExcerpt(v **types.TableExcerpt, value if err := awsAwsjson11_deserializeDocumentTableRowList(&sv.Rows, value); err != nil { return err } + case "TotalNumberOfRows": if value != nil { jtv, ok := value.(json.Number) @@ -18921,6 +19455,7 @@ func awsAwsjson11_deserializeDocumentTableExcerpt(v **types.TableExcerpt, value } sv.TotalNumberOfRows = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18956,6 +19491,7 @@ func awsAwsjson11_deserializeDocumentTableRow(v **types.TableRow, value interfac if err := awsAwsjson11_deserializeDocumentTableCellList(&sv.Cells, value); err != nil { return err } + default: _, _ = key, value @@ -19029,6 +19565,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -19037,6 +19574,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -19114,6 +19652,7 @@ func awsAwsjson11_deserializeDocumentTemplateConfiguration(v **types.TemplateCon if err := awsAwsjson11_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -19157,6 +19696,7 @@ func awsAwsjson11_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextBytes = i64 } + case "IndexedTextDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19169,6 +19709,7 @@ func awsAwsjson11_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextDocumentsCount = int32(i64) } + default: _, _ = key, value @@ -19204,6 +19745,7 @@ func awsAwsjson11_deserializeDocumentTextWithHighlights(v **types.TextWithHighli if err := awsAwsjson11_deserializeDocumentHighlightList(&sv.Highlights, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -19212,6 +19754,7 @@ func awsAwsjson11_deserializeDocumentTextWithHighlights(v **types.TextWithHighli } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -19258,6 +19801,7 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -19266,6 +19810,7 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19274,6 +19819,7 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19282,6 +19828,7 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } sv.Status = types.ThesaurusStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -19297,6 +19844,7 @@ func awsAwsjson11_deserializeDocumentThesaurusSummary(v **types.ThesaurusSummary } } + default: _, _ = key, value @@ -19370,6 +19918,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19416,6 +19965,7 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -19431,6 +19981,7 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } + default: _, _ = key, value @@ -19466,10 +20017,12 @@ func awsAwsjson11_deserializeDocumentUrls(v **types.Urls, value interface{}) err if err := awsAwsjson11_deserializeDocumentSeedUrlConfiguration(&sv.SeedUrlConfiguration, value); err != nil { return err } + case "SiteMapsConfiguration": if err := awsAwsjson11_deserializeDocumentSiteMapsConfiguration(&sv.SiteMapsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19509,6 +20062,7 @@ func awsAwsjson11_deserializeDocumentUserGroupResolutionConfiguration(v **types. } sv.UserGroupResolutionMode = types.UserGroupResolutionMode(jtv) } + default: _, _ = key, value @@ -19548,6 +20102,7 @@ func awsAwsjson11_deserializeDocumentUserIdentityConfiguration(v **types.UserIde } sv.IdentityAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -19583,10 +20138,12 @@ func awsAwsjson11_deserializeDocumentUserTokenConfiguration(v **types.UserTokenC if err := awsAwsjson11_deserializeDocumentJsonTokenTypeConfiguration(&sv.JsonTokenTypeConfiguration, value); err != nil { return err } + case "JwtTokenTypeConfiguration": if err := awsAwsjson11_deserializeDocumentJwtTokenTypeConfiguration(&sv.JwtTokenTypeConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19660,6 +20217,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19739,6 +20297,7 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Code = types.WarningCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -19747,6 +20306,7 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19816,6 +20376,7 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsAwsjson11_deserializeDocumentAuthenticationConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "CrawlDepth": if value != nil { jtv, ok := value.(json.Number) @@ -19828,6 +20389,7 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.CrawlDepth = ptr.Int32(int32(i64)) } + case "MaxContentSizePerPageInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -19861,6 +20423,7 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } } + case "MaxLinksPerPage": if value != nil { jtv, ok := value.(json.Number) @@ -19873,6 +20436,7 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.MaxLinksPerPage = ptr.Int32(int32(i64)) } + case "MaxUrlsPerMinuteCrawlRate": if value != nil { jtv, ok := value.(json.Number) @@ -19885,22 +20449,27 @@ func awsAwsjson11_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.MaxUrlsPerMinuteCrawlRate = ptr.Int32(int32(i64)) } + case "ProxyConfiguration": if err := awsAwsjson11_deserializeDocumentProxyConfiguration(&sv.ProxyConfiguration, value); err != nil { return err } + case "UrlExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.UrlExclusionPatterns, value); err != nil { return err } + case "UrlInclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.UrlInclusionPatterns, value); err != nil { return err } + case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } + default: _, _ = key, value @@ -19940,18 +20509,22 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.CrawlComments = jtv } + case "ExclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.ExclusionPatterns, value); err != nil { return err } + case "FieldMappings": if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.FieldMappings, value); err != nil { return err } + case "InclusionPatterns": if err := awsAwsjson11_deserializeDocumentDataSourceInclusionsExclusionsStrings(&sv.InclusionPatterns, value); err != nil { return err } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -19960,6 +20533,7 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.OrganizationId = ptr.String(jtv) } + case "UseChangeLog": if value != nil { jtv, ok := value.(bool) @@ -19968,6 +20542,7 @@ func awsAwsjson11_deserializeDocumentWorkDocsConfiguration(v **types.WorkDocsCon } sv.UseChangeLog = jtv } + default: _, _ = key, value @@ -20003,6 +20578,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateEntitiesToExperienceOutput(v **A if err := awsAwsjson11_deserializeDocumentAssociateEntitiesToExperienceFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } + default: _, _ = key, value @@ -20038,6 +20614,7 @@ func awsAwsjson11_deserializeOpDocumentAssociatePersonasToEntitiesOutput(v **Ass if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } + default: _, _ = key, value @@ -20073,6 +20650,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteDocumentOutput(v **BatchDelete if err := awsAwsjson11_deserializeDocumentBatchDeleteDocumentResponseFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -20108,6 +20686,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteFeaturedResultsSetOutput(v **B if err := awsAwsjson11_deserializeDocumentBatchDeleteFeaturedResultsSetErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -20143,10 +20722,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetDocumentStatusOutput(v **BatchGet if err := awsAwsjson11_deserializeDocumentDocumentStatusList(&sv.DocumentStatusList, value); err != nil { return err } + case "Errors": if err := awsAwsjson11_deserializeDocumentBatchGetDocumentStatusResponseErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -20182,6 +20763,7 @@ func awsAwsjson11_deserializeOpDocumentBatchPutDocumentOutput(v **BatchPutDocume if err := awsAwsjson11_deserializeDocumentBatchPutDocumentResponseFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -20221,6 +20803,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessControlConfigurationOutput(v } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20260,6 +20843,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20299,6 +20883,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExperienceOutput(v **CreateExperien } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20338,6 +20923,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFaqOutput(v **CreateFaqOutput, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20373,6 +20959,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFeaturedResultsSetOutput(v **Create if err := awsAwsjson11_deserializeDocumentFeaturedResultsSet(&sv.FeaturedResultsSet, value); err != nil { return err } + default: _, _ = key, value @@ -20412,6 +20999,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20451,6 +21039,7 @@ func awsAwsjson11_deserializeOpDocumentCreateQuerySuggestionsBlockListOutput(v * } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20490,6 +21079,7 @@ func awsAwsjson11_deserializeOpDocumentCreateThesaurusOutput(v **CreateThesaurus } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -20587,6 +21177,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( if err := awsAwsjson11_deserializeDocumentPrincipalList(&sv.AccessControlList, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20595,6 +21186,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20603,10 +21195,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.ErrorMessage = ptr.String(jtv) } + case "HierarchicalAccessControlList": if err := awsAwsjson11_deserializeDocumentHierarchicalPrincipalList(&sv.HierarchicalAccessControlList, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20615,6 +21209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessControlConfigurationOutput( } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20650,6 +21245,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData if err := awsAwsjson11_deserializeDocumentDataSourceConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -20665,10 +21261,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } } + case "CustomDocumentEnrichmentConfiguration": if err := awsAwsjson11_deserializeDocumentCustomDocumentEnrichmentConfiguration(&sv.CustomDocumentEnrichmentConfiguration, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20677,6 +21275,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20685,6 +21284,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -20693,6 +21293,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Id = ptr.String(jtv) } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -20701,6 +21302,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.IndexId = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -20709,6 +21311,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.LanguageCode = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20717,6 +21320,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -20725,6 +21329,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.RoleArn = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -20733,6 +21338,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Schedule = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20741,6 +21347,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Status = types.DataSourceStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20749,6 +21356,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.Type = types.DataSourceType(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -20764,10 +21372,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } } + case "VpcConfiguration": if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -20803,6 +21413,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe if err := awsAwsjson11_deserializeDocumentExperienceConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -20818,6 +21429,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20826,10 +21438,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Description = ptr.String(jtv) } + case "Endpoints": if err := awsAwsjson11_deserializeDocumentExperienceEndpoints(&sv.Endpoints, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20838,6 +21452,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -20846,6 +21461,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Id = ptr.String(jtv) } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -20854,6 +21470,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.IndexId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20862,6 +21479,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -20870,6 +21488,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20878,6 +21497,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } sv.Status = types.ExperienceStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -20893,6 +21513,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperienceOutput(v **DescribeExpe } } + default: _, _ = key, value @@ -20939,6 +21560,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20947,6 +21569,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20955,6 +21578,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.ErrorMessage = ptr.String(jtv) } + case "FileFormat": if value != nil { jtv, ok := value.(string) @@ -20963,6 +21587,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.FileFormat = types.FaqFileFormat(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -20971,6 +21596,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Id = ptr.String(jtv) } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -20979,6 +21605,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.IndexId = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -20987,6 +21614,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.LanguageCode = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20995,6 +21623,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21003,10 +21632,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.RoleArn = ptr.String(jtv) } + case "S3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.S3Path, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21015,6 +21646,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } sv.Status = types.FaqStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21030,6 +21662,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFaqOutput(v **DescribeFaqOutput, } } + default: _, _ = key, value @@ -21073,6 +21706,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.CreationTimestamp = ptr.Int64(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21081,14 +21715,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.Description = ptr.String(jtv) } + case "FeaturedDocumentsMissing": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentMissingList(&sv.FeaturedDocumentsMissing, value); err != nil { return err } + case "FeaturedDocumentsWithMetadata": if err := awsAwsjson11_deserializeDocumentFeaturedDocumentWithMetadataList(&sv.FeaturedDocumentsWithMetadata, value); err != nil { return err } + case "FeaturedResultsSetId": if value != nil { jtv, ok := value.(string) @@ -21097,6 +21734,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.FeaturedResultsSetId = ptr.String(jtv) } + case "FeaturedResultsSetName": if value != nil { jtv, ok := value.(string) @@ -21105,6 +21743,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.FeaturedResultsSetName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -21117,10 +21756,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.LastUpdatedTimestamp = ptr.Int64(i64) } + case "QueryTexts": if err := awsAwsjson11_deserializeDocumentQueryTextList(&sv.QueryTexts, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21129,6 +21770,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeaturedResultsSetOutput(v **Desc } sv.Status = types.FeaturedResultsSetStatus(jtv) } + default: _, _ = key, value @@ -21164,6 +21806,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp if err := awsAwsjson11_deserializeDocumentCapacityUnitsConfiguration(&sv.CapacityUnits, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -21179,6 +21822,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21187,10 +21831,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Description = ptr.String(jtv) } + case "DocumentMetadataConfigurations": if err := awsAwsjson11_deserializeDocumentDocumentMetadataConfigurationList(&sv.DocumentMetadataConfigurations, value); err != nil { return err } + case "Edition": if value != nil { jtv, ok := value.(string) @@ -21199,6 +21845,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Edition = types.IndexEdition(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21207,6 +21854,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21215,10 +21863,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Id = ptr.String(jtv) } + case "IndexStatistics": if err := awsAwsjson11_deserializeDocumentIndexStatistics(&sv.IndexStatistics, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21227,6 +21877,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21235,10 +21886,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.RoleArn = ptr.String(jtv) } + case "ServerSideEncryptionConfiguration": if err := awsAwsjson11_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21247,6 +21900,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.Status = types.IndexStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21262,6 +21916,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } } + case "UserContextPolicy": if value != nil { jtv, ok := value.(string) @@ -21270,14 +21925,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeIndexOutput(v **DescribeIndexOutp } sv.UserContextPolicy = types.UserContextPolicy(jtv) } + case "UserGroupResolutionConfiguration": if err := awsAwsjson11_deserializeDocumentUserGroupResolutionConfiguration(&sv.UserGroupResolutionConfiguration, value); err != nil { return err } + case "UserTokenConfigurations": if err := awsAwsjson11_deserializeDocumentUserTokenConfigurationList(&sv.UserTokenConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -21317,6 +21975,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.DataSourceId = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -21325,10 +21984,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.GroupId = ptr.String(jtv) } + case "GroupOrderingIdSummaries": if err := awsAwsjson11_deserializeDocumentGroupOrderingIdSummaries(&sv.GroupOrderingIdSummaries, value); err != nil { return err } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21337,6 +21998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePrincipalMappingOutput(v **Descri } sv.IndexId = ptr.String(jtv) } + default: _, _ = key, value @@ -21383,6 +22045,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21391,6 +22054,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21399,6 +22063,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.ErrorMessage = ptr.String(jtv) } + case "FileSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21411,6 +22076,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.FileSizeBytes = ptr.Int64(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21419,6 +22085,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Id = ptr.String(jtv) } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21427,6 +22094,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.IndexId = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -21439,6 +22107,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.ItemCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21447,6 +22116,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21455,10 +22125,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.RoleArn = ptr.String(jtv) } + case "SourceS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SourceS3Path, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21467,6 +22139,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } sv.Status = types.QuerySuggestionsBlockListStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21482,6 +22155,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsBlockListOutput(v } } + default: _, _ = key, value @@ -21517,6 +22191,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** if err := awsAwsjson11_deserializeDocumentAttributeSuggestionsDescribeConfig(&sv.AttributeSuggestionsConfig, value); err != nil { return err } + case "IncludeQueriesWithoutUserInformation": if value != nil { jtv, ok := value.(bool) @@ -21525,6 +22200,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.IncludeQueriesWithoutUserInformation = ptr.Bool(jtv) } + case "LastClearTime": if value != nil { switch jtv := value.(type) { @@ -21540,6 +22216,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } } + case "LastSuggestionsBuildTime": if value != nil { switch jtv := value.(type) { @@ -21555,6 +22232,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } } + case "MinimumNumberOfQueryingUsers": if value != nil { jtv, ok := value.(json.Number) @@ -21567,6 +22245,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.MinimumNumberOfQueryingUsers = ptr.Int32(int32(i64)) } + case "MinimumQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -21579,6 +22258,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.MinimumQueryCount = ptr.Int32(int32(i64)) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -21587,6 +22267,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.Mode = types.Mode(jtv) } + case "QueryLogLookBackWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -21599,6 +22280,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.QueryLogLookBackWindowInDays = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21607,6 +22289,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.Status = types.QuerySuggestionsStatus(jtv) } + case "TotalSuggestionsCount": if value != nil { jtv, ok := value.(json.Number) @@ -21619,6 +22302,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeQuerySuggestionsConfigOutput(v ** } sv.TotalSuggestionsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21665,6 +22349,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21673,6 +22358,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -21681,6 +22367,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.ErrorMessage = ptr.String(jtv) } + case "FileSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21693,6 +22380,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.FileSizeBytes = ptr.Int64(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21701,6 +22389,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Id = ptr.String(jtv) } + case "IndexId": if value != nil { jtv, ok := value.(string) @@ -21709,6 +22398,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.IndexId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21717,6 +22407,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -21725,10 +22416,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.RoleArn = ptr.String(jtv) } + case "SourceS3Path": if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SourceS3Path, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -21737,6 +22430,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.Status = types.ThesaurusStatus(jtv) } + case "SynonymRuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -21749,6 +22443,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.SynonymRuleCount = ptr.Int64(i64) } + case "TermCount": if value != nil { jtv, ok := value.(json.Number) @@ -21761,6 +22456,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } sv.TermCount = ptr.Int64(i64) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -21776,6 +22472,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeThesaurusOutput(v **DescribeThesa } } + default: _, _ = key, value @@ -21811,6 +22508,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateEntitiesFromExperienceOutput( if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } + default: _, _ = key, value @@ -21846,6 +22544,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociatePersonasFromEntitiesOutput(v if err := awsAwsjson11_deserializeDocumentFailedEntityList(&sv.FailedEntityList, value); err != nil { return err } + default: _, _ = key, value @@ -21885,10 +22584,12 @@ func awsAwsjson11_deserializeOpDocumentGetQuerySuggestionsOutput(v **GetQuerySug } sv.QuerySuggestionsId = ptr.String(jtv) } + case "Suggestions": if err := awsAwsjson11_deserializeDocumentSuggestionList(&sv.Suggestions, value); err != nil { return err } + default: _, _ = key, value @@ -21928,18 +22629,22 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotsOutput(v **GetSnapshotsOutput } sv.NextToken = ptr.String(jtv) } + case "SnapshotsData": if err := awsAwsjson11_deserializeDocumentSnapshotsDataRecords(&sv.SnapshotsData, value); err != nil { return err } + case "SnapshotsDataHeader": if err := awsAwsjson11_deserializeDocumentSnapshotsDataHeaderFields(&sv.SnapshotsDataHeader, value); err != nil { return err } + case "SnapShotTimeFilter": if err := awsAwsjson11_deserializeDocumentTimeRange(&sv.SnapShotTimeFilter, value); err != nil { return err } + default: _, _ = key, value @@ -21975,6 +22680,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlConfigurationsOutput(v * if err := awsAwsjson11_deserializeDocumentAccessControlConfigurationSummaryList(&sv.AccessControlConfigurations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21983,6 +22689,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22022,10 +22729,12 @@ func awsAwsjson11_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + case "SummaryItems": if err := awsAwsjson11_deserializeDocumentDataSourceSummaryList(&sv.SummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -22061,6 +22770,7 @@ func awsAwsjson11_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData if err := awsAwsjson11_deserializeDocumentDataSourceSyncJobHistoryList(&sv.History, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22069,6 +22779,7 @@ func awsAwsjson11_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22108,10 +22819,12 @@ func awsAwsjson11_deserializeOpDocumentListEntityPersonasOutput(v **ListEntityPe } sv.NextToken = ptr.String(jtv) } + case "SummaryItems": if err := awsAwsjson11_deserializeDocumentPersonasSummaryList(&sv.SummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -22151,10 +22864,12 @@ func awsAwsjson11_deserializeOpDocumentListExperienceEntitiesOutput(v **ListExpe } sv.NextToken = ptr.String(jtv) } + case "SummaryItems": if err := awsAwsjson11_deserializeDocumentExperienceEntitiesSummaryList(&sv.SummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -22194,10 +22909,12 @@ func awsAwsjson11_deserializeOpDocumentListExperiencesOutput(v **ListExperiences } sv.NextToken = ptr.String(jtv) } + case "SummaryItems": if err := awsAwsjson11_deserializeDocumentExperiencesSummaryList(&sv.SummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -22233,6 +22950,7 @@ func awsAwsjson11_deserializeOpDocumentListFaqsOutput(v **ListFaqsOutput, value if err := awsAwsjson11_deserializeDocumentFaqSummaryItems(&sv.FaqSummaryItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22241,6 +22959,7 @@ func awsAwsjson11_deserializeOpDocumentListFaqsOutput(v **ListFaqsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22276,6 +22995,7 @@ func awsAwsjson11_deserializeOpDocumentListFeaturedResultsSetsOutput(v **ListFea if err := awsAwsjson11_deserializeDocumentFeaturedResultsSetSummaryItems(&sv.FeaturedResultsSetSummaryItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22284,6 +23004,7 @@ func awsAwsjson11_deserializeOpDocumentListFeaturedResultsSetsOutput(v **ListFea } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22319,6 +23040,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOlderThanOrderingIdOutput(v **L if err := awsAwsjson11_deserializeDocumentListOfGroupSummaries(&sv.GroupsSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22327,6 +23049,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOlderThanOrderingIdOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22362,6 +23085,7 @@ func awsAwsjson11_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsAwsjson11_deserializeDocumentIndexConfigurationSummaryList(&sv.IndexConfigurationSummaryItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22370,6 +23094,7 @@ func awsAwsjson11_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22405,6 +23130,7 @@ func awsAwsjson11_deserializeOpDocumentListQuerySuggestionsBlockListsOutput(v ** if err := awsAwsjson11_deserializeDocumentQuerySuggestionsBlockListSummaryItems(&sv.BlockListSummaryItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22413,6 +23139,7 @@ func awsAwsjson11_deserializeOpDocumentListQuerySuggestionsBlockListsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22448,6 +23175,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -22487,10 +23215,12 @@ func awsAwsjson11_deserializeOpDocumentListThesauriOutput(v **ListThesauriOutput } sv.NextToken = ptr.String(jtv) } + case "ThesaurusSummaryItems": if err := awsAwsjson11_deserializeDocumentThesaurusSummaryItems(&sv.ThesaurusSummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -22526,10 +23256,12 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson11_deserializeDocumentFacetResultList(&sv.FacetResults, value); err != nil { return err } + case "FeaturedResultsItems": if err := awsAwsjson11_deserializeDocumentFeaturedResultsItemList(&sv.FeaturedResultsItems, value); err != nil { return err } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -22538,14 +23270,17 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.QueryId = ptr.String(jtv) } + case "ResultItems": if err := awsAwsjson11_deserializeDocumentQueryResultItemList(&sv.ResultItems, value); err != nil { return err } + case "SpellCorrectedQueries": if err := awsAwsjson11_deserializeDocumentSpellCorrectedQueryList(&sv.SpellCorrectedQueries, value); err != nil { return err } + case "TotalNumberOfResults": if value != nil { jtv, ok := value.(json.Number) @@ -22558,10 +23293,12 @@ func awsAwsjson11_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.TotalNumberOfResults = ptr.Int32(int32(i64)) } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarningList(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -22601,10 +23338,12 @@ func awsAwsjson11_deserializeOpDocumentRetrieveOutput(v **RetrieveOutput, value } sv.QueryId = ptr.String(jtv) } + case "ResultItems": if err := awsAwsjson11_deserializeDocumentRetrieveResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value @@ -22644,6 +23383,7 @@ func awsAwsjson11_deserializeOpDocumentStartDataSourceSyncJobOutput(v **StartDat } sv.ExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -22772,6 +23512,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFeaturedResultsSetOutput(v **Update if err := awsAwsjson11_deserializeDocumentFeaturedResultsSet(&sv.FeaturedResultsSet, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/kendraranking/deserializers.go b/service/kendraranking/deserializers.go index 520454c28e8..64a3252390c 100644 --- a/service/kendraranking/deserializers.go +++ b/service/kendraranking/deserializers.go @@ -1416,6 +1416,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1459,6 +1460,7 @@ func awsAwsjson10_deserializeDocumentCapacityUnitsConfiguration(v **types.Capaci } sv.RescoreCapacityUnits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1498,6 +1500,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1537,6 +1540,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1583,6 +1587,7 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -1591,6 +1596,7 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1599,6 +1605,7 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1607,6 +1614,7 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } sv.Status = types.RescoreExecutionPlanStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1622,6 +1630,7 @@ func awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummary(v **types.Resco } } + default: _, _ = key, value @@ -1695,6 +1704,7 @@ func awsAwsjson10_deserializeDocumentRescoreResultItem(v **types.RescoreResultIt } sv.DocumentId = ptr.String(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -1728,6 +1738,7 @@ func awsAwsjson10_deserializeDocumentRescoreResultItem(v **types.RescoreResultIt } } + default: _, _ = key, value @@ -1801,6 +1812,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1840,6 +1852,7 @@ func awsAwsjson10_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1879,6 +1892,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1918,6 +1932,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1926,6 +1941,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1999,6 +2015,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2038,6 +2055,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2077,6 +2095,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRescoreExecutionPlanOutput(v **Crea } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2085,6 +2104,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRescoreExecutionPlanOutput(v **Crea } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -2124,10 +2144,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Arn = ptr.String(jtv) } + case "CapacityUnits": if err := awsAwsjson10_deserializeDocumentCapacityUnitsConfiguration(&sv.CapacityUnits, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2143,6 +2165,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2151,6 +2174,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Description = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2159,6 +2183,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2167,6 +2192,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2175,6 +2201,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2183,6 +2210,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } sv.Status = types.RescoreExecutionPlanStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2198,6 +2226,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRescoreExecutionPlanOutput(v **De } } + default: _, _ = key, value @@ -2237,10 +2266,12 @@ func awsAwsjson10_deserializeOpDocumentListRescoreExecutionPlansOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + case "SummaryItems": if err := awsAwsjson10_deserializeDocumentRescoreExecutionPlanSummaryList(&sv.SummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -2276,6 +2307,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2315,10 +2347,12 @@ func awsAwsjson10_deserializeOpDocumentRescoreOutput(v **RescoreOutput, value in } sv.RescoreId = ptr.String(jtv) } + case "ResultItems": if err := awsAwsjson10_deserializeDocumentRescoreResultItemList(&sv.ResultItems, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/keyspaces/deserializers.go b/service/keyspaces/deserializers.go index 47ba3b5b9f8..7c1b2984be0 100644 --- a/service/keyspaces/deserializers.go +++ b/service/keyspaces/deserializers.go @@ -2511,6 +2511,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2546,6 +2547,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingPolicy(v **types.AutoScalingPoli if err := awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(&sv.TargetTrackingScalingPolicyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2585,6 +2587,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.AutoScalingDisabled = jtv } + case "maximumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2597,6 +2600,7 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.MaximumUnits = ptr.Int64(i64) } + case "minimumUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2609,10 +2613,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingSettings(v **types.AutoScalingSe } sv.MinimumUnits = ptr.Int64(i64) } + case "scalingPolicy": if err := awsAwsjson10_deserializeDocumentAutoScalingPolicy(&sv.ScalingPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -2648,10 +2654,12 @@ func awsAwsjson10_deserializeDocumentAutoScalingSpecification(v **types.AutoScal if err := awsAwsjson10_deserializeDocumentAutoScalingSettings(&sv.ReadCapacityAutoScaling, value); err != nil { return err } + case "writeCapacityAutoScaling": if err := awsAwsjson10_deserializeDocumentAutoScalingSettings(&sv.WriteCapacityAutoScaling, value); err != nil { return err } + default: _, _ = key, value @@ -2698,6 +2706,7 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } } + case "readCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2710,6 +2719,7 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.ReadCapacityUnits = ptr.Int64(i64) } + case "throughputMode": if value != nil { jtv, ok := value.(string) @@ -2718,6 +2728,7 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.ThroughputMode = types.ThroughputMode(jtv) } + case "writeCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -2730,6 +2741,7 @@ func awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(v **types.Capa } sv.WriteCapacityUnits = ptr.Int64(i64) } + default: _, _ = key, value @@ -2769,6 +2781,7 @@ func awsAwsjson10_deserializeDocumentClientSideTimestamps(v **types.ClientSideTi } sv.Status = types.ClientSideTimestampsStatus(jtv) } + default: _, _ = key, value @@ -2808,6 +2821,7 @@ func awsAwsjson10_deserializeDocumentClusteringKey(v **types.ClusteringKey, valu } sv.Name = ptr.String(jtv) } + case "orderBy": if value != nil { jtv, ok := value.(string) @@ -2816,6 +2830,7 @@ func awsAwsjson10_deserializeDocumentClusteringKey(v **types.ClusteringKey, valu } sv.OrderBy = types.SortOrder(jtv) } + default: _, _ = key, value @@ -2889,6 +2904,7 @@ func awsAwsjson10_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2897,6 +2913,7 @@ func awsAwsjson10_deserializeDocumentColumnDefinition(v **types.ColumnDefinition } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2970,6 +2987,7 @@ func awsAwsjson10_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3009,6 +3027,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3048,6 +3067,7 @@ func awsAwsjson10_deserializeDocumentEncryptionSpecification(v **types.Encryptio } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3056,6 +3076,7 @@ func awsAwsjson10_deserializeDocumentEncryptionSpecification(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -3095,6 +3116,7 @@ func awsAwsjson10_deserializeDocumentFieldDefinition(v **types.FieldDefinition, } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3103,6 +3125,7 @@ func awsAwsjson10_deserializeDocumentFieldDefinition(v **types.FieldDefinition, } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -3176,6 +3199,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3215,10 +3239,12 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.KeyspaceName = ptr.String(jtv) } + case "replicationRegions": if err := awsAwsjson10_deserializeDocumentRegionList(&sv.ReplicationRegions, value); err != nil { return err } + case "replicationStrategy": if value != nil { jtv, ok := value.(string) @@ -3227,6 +3253,7 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.ReplicationStrategy = types.Rs(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3235,6 +3262,7 @@ func awsAwsjson10_deserializeDocumentKeyspaceSummary(v **types.KeyspaceSummary, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3308,6 +3336,7 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3388,6 +3417,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(v **types.PointI } } + case "status": if value != nil { jtv, ok := value.(string) @@ -3396,6 +3426,7 @@ func awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(v **types.PointI } sv.Status = types.PointInTimeRecoveryStatus(jtv) } + default: _, _ = key, value @@ -3467,6 +3498,7 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecification(v **types.R if err := awsAwsjson10_deserializeDocumentAutoScalingSpecification(&sv.AutoScalingSpecification, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3507,7 @@ func awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecification(v **types.R } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -3544,6 +3577,7 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli if err := awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(&sv.CapacitySpecification, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -3552,6 +3586,7 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli } sv.Region = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3560,6 +3595,7 @@ func awsAwsjson10_deserializeDocumentReplicaSpecificationSummary(v **types.Repli } sv.Status = types.TableStatus(jtv) } + default: _, _ = key, value @@ -3633,6 +3669,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3641,6 +3678,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3676,18 +3714,22 @@ func awsAwsjson10_deserializeDocumentSchemaDefinition(v **types.SchemaDefinition if err := awsAwsjson10_deserializeDocumentColumnDefinitionList(&sv.AllColumns, value); err != nil { return err } + case "clusteringKeys": if err := awsAwsjson10_deserializeDocumentClusteringKeyList(&sv.ClusteringKeys, value); err != nil { return err } + case "partitionKeys": if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } + case "staticColumns": if err := awsAwsjson10_deserializeDocumentStaticColumnList(&sv.StaticColumns, value); err != nil { return err } + default: _, _ = key, value @@ -3727,6 +3769,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3766,6 +3809,7 @@ func awsAwsjson10_deserializeDocumentStaticColumn(v **types.StaticColumn, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3875,6 +3919,7 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.KeyspaceName = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3883,6 +3928,7 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.ResourceArn = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -3891,6 +3937,7 @@ func awsAwsjson10_deserializeDocumentTableSummary(v **types.TableSummary, value } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -3964,6 +4011,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3972,6 +4020,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4045,6 +4094,7 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.DisableScaleIn = jtv } + case "scaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4057,6 +4107,7 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleInCooldown = int32(i64) } + case "scaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -4069,6 +4120,7 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } sv.ScaleOutCooldown = int32(i64) } + case "targetValue": if value != nil { switch jtv := value.(type) { @@ -4102,6 +4154,7 @@ func awsAwsjson10_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } + default: _, _ = key, value @@ -4141,6 +4194,7 @@ func awsAwsjson10_deserializeDocumentTimeToLive(v **types.TimeToLive, value inte } sv.Status = types.TimeToLiveStatus(jtv) } + default: _, _ = key, value @@ -4216,6 +4270,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4255,6 +4310,7 @@ func awsAwsjson10_deserializeOpDocumentCreateKeyspaceOutput(v **CreateKeyspaceOu } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4294,6 +4350,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4333,6 +4390,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va } sv.KeyspaceArn = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -4341,6 +4399,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTypeOutput(v **CreateTypeOutput, va } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -4442,6 +4501,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTypeOutput(v **DeleteTypeOutput, va } sv.KeyspaceArn = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -4450,6 +4510,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTypeOutput(v **DeleteTypeOutput, va } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -4489,10 +4550,12 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.KeyspaceName = ptr.String(jtv) } + case "replicationRegions": if err := awsAwsjson10_deserializeDocumentRegionList(&sv.ReplicationRegions, value); err != nil { return err } + case "replicationStrategy": if value != nil { jtv, ok := value.(string) @@ -4501,6 +4564,7 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.ReplicationStrategy = types.Rs(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4509,6 +4573,7 @@ func awsAwsjson10_deserializeOpDocumentGetKeyspaceOutput(v **GetKeyspaceOutput, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4544,6 +4609,7 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get if err := awsAwsjson10_deserializeDocumentAutoScalingSpecification(&sv.AutoScalingSpecification, value); err != nil { return err } + case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4552,10 +4618,12 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.KeyspaceName = ptr.String(jtv) } + case "replicaSpecifications": if err := awsAwsjson10_deserializeDocumentReplicaAutoScalingSpecificationList(&sv.ReplicaSpecifications, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4564,6 +4632,7 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.ResourceArn = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -4572,6 +4641,7 @@ func awsAwsjson10_deserializeOpDocumentGetTableAutoScalingSettingsOutput(v **Get } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -4607,14 +4677,17 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value if err := awsAwsjson10_deserializeDocumentCapacitySpecificationSummary(&sv.CapacitySpecification, value); err != nil { return err } + case "clientSideTimestamps": if err := awsAwsjson10_deserializeDocumentClientSideTimestamps(&sv.ClientSideTimestamps, value); err != nil { return err } + case "comment": if err := awsAwsjson10_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + case "creationTimestamp": if value != nil { switch jtv := value.(type) { @@ -4630,6 +4703,7 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } } + case "defaultTimeToLive": if value != nil { jtv, ok := value.(json.Number) @@ -4642,10 +4716,12 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.DefaultTimeToLive = ptr.Int32(int32(i64)) } + case "encryptionSpecification": if err := awsAwsjson10_deserializeDocumentEncryptionSpecification(&sv.EncryptionSpecification, value); err != nil { return err } + case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4654,14 +4730,17 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.KeyspaceName = ptr.String(jtv) } + case "pointInTimeRecovery": if err := awsAwsjson10_deserializeDocumentPointInTimeRecoverySummary(&sv.PointInTimeRecovery, value); err != nil { return err } + case "replicaSpecifications": if err := awsAwsjson10_deserializeDocumentReplicaSpecificationSummaryList(&sv.ReplicaSpecifications, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -4670,10 +4749,12 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.ResourceArn = ptr.String(jtv) } + case "schemaDefinition": if err := awsAwsjson10_deserializeDocumentSchemaDefinition(&sv.SchemaDefinition, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4682,6 +4763,7 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.Status = types.TableStatus(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -4690,10 +4772,12 @@ func awsAwsjson10_deserializeOpDocumentGetTableOutput(v **GetTableOutput, value } sv.TableName = ptr.String(jtv) } + case "ttl": if err := awsAwsjson10_deserializeDocumentTimeToLive(&sv.Ttl, value); err != nil { return err } + default: _, _ = key, value @@ -4729,14 +4813,17 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in if err := awsAwsjson10_deserializeDocumentTypeNameList(&sv.DirectParentTypes, value); err != nil { return err } + case "directReferringTables": if err := awsAwsjson10_deserializeDocumentTableNameList(&sv.DirectReferringTables, value); err != nil { return err } + case "fieldDefinitions": if err := awsAwsjson10_deserializeDocumentFieldList(&sv.FieldDefinitions, value); err != nil { return err } + case "keyspaceArn": if value != nil { jtv, ok := value.(string) @@ -4745,6 +4832,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.KeyspaceArn = ptr.String(jtv) } + case "keyspaceName": if value != nil { jtv, ok := value.(string) @@ -4753,6 +4841,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.KeyspaceName = ptr.String(jtv) } + case "lastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4768,6 +4857,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } } + case "maxNestingDepth": if value != nil { jtv, ok := value.(json.Number) @@ -4780,6 +4870,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.MaxNestingDepth = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4788,6 +4879,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.Status = types.TypeStatus(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -4796,6 +4888,7 @@ func awsAwsjson10_deserializeOpDocumentGetTypeOutput(v **GetTypeOutput, value in } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -4831,6 +4924,7 @@ func awsAwsjson10_deserializeOpDocumentListKeyspacesOutput(v **ListKeyspacesOutp if err := awsAwsjson10_deserializeDocumentKeyspaceSummaryList(&sv.Keyspaces, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4839,6 +4933,7 @@ func awsAwsjson10_deserializeOpDocumentListKeyspacesOutput(v **ListKeyspacesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4878,10 +4973,12 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } + case "tables": if err := awsAwsjson10_deserializeDocumentTableSummaryList(&sv.Tables, value); err != nil { return err } + default: _, _ = key, value @@ -4921,10 +5018,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4964,10 +5063,12 @@ func awsAwsjson10_deserializeOpDocumentListTypesOutput(v **ListTypesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "types": if err := awsAwsjson10_deserializeDocumentTypeNameList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -5007,6 +5108,7 @@ func awsAwsjson10_deserializeOpDocumentRestoreTableOutput(v **RestoreTableOutput } sv.RestoredTableARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5108,6 +5210,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesis/deserializers.go b/service/kinesis/deserializers.go index 70649a83d81..cefa84fa22a 100644 --- a/service/kinesis/deserializers.go +++ b/service/kinesis/deserializers.go @@ -4131,10 +4131,12 @@ func awsAwsjson11_deserializeDocumentChildShard(v **types.ChildShard, value inte if err := awsAwsjson11_deserializeDocumentHashKeyRange(&sv.HashKeyRange, value); err != nil { return err } + case "ParentShards": if err := awsAwsjson11_deserializeDocumentShardIdList(&sv.ParentShards, value); err != nil { return err } + case "ShardId": if value != nil { jtv, ok := value.(string) @@ -4143,6 +4145,7 @@ func awsAwsjson11_deserializeDocumentChildShard(v **types.ChildShard, value inte } sv.ShardId = ptr.String(jtv) } + default: _, _ = key, value @@ -4216,6 +4219,7 @@ func awsAwsjson11_deserializeDocumentHashKeyRange(v **types.HashKeyRange, value } sv.EndingHashKey = ptr.String(jtv) } + case "StartingHashKey": if value != nil { jtv, ok := value.(string) @@ -4224,6 +4228,7 @@ func awsAwsjson11_deserializeDocumentHashKeyRange(v **types.HashKeyRange, value } sv.StartingHashKey = ptr.String(jtv) } + default: _, _ = key, value @@ -4263,6 +4268,7 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4302,6 +4308,7 @@ func awsAwsjson11_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4341,6 +4348,7 @@ func awsAwsjson11_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4380,6 +4388,7 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4419,6 +4428,7 @@ func awsAwsjson11_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4458,6 +4468,7 @@ func awsAwsjson11_deserializeDocumentKMSOptInRequired(v **types.KMSOptInRequired } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4497,6 +4508,7 @@ func awsAwsjson11_deserializeDocumentKMSThrottlingException(v **types.KMSThrottl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4543,6 +4555,7 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } } + case "Data": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4568,7 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.Data = dv } + case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -4563,6 +4577,7 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.EncryptionType = types.EncryptionType(jtv) } + case "PartitionKey": if value != nil { jtv, ok := value.(string) @@ -4571,6 +4586,7 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.PartitionKey = ptr.String(jtv) } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -4579,6 +4595,7 @@ func awsAwsjson11_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.SequenceNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -4652,6 +4669,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4691,6 +4709,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4762,6 +4781,7 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo if err := awsAwsjson11_deserializeDocumentChildShardList(&sv.ChildShards, value); err != nil { return err } + case "ContinuationSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -4770,6 +4790,7 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo } sv.ContinuationSequenceNumber = ptr.String(jtv) } + case "MillisBehindLatest": if value != nil { jtv, ok := value.(json.Number) @@ -4782,10 +4803,12 @@ func awsAwsjson11_deserializeDocumentSubscribeToShardEvent(v **types.SubscribeTo } sv.MillisBehindLatest = ptr.Int64(i64) } + case "Records": if err := awsAwsjson11_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -5417,6 +5440,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5456,6 +5480,7 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerARN = ptr.String(jtv) } + case "ConsumerCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5471,6 +5496,7 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } } + case "ConsumerName": if value != nil { jtv, ok := value.(string) @@ -5479,6 +5505,7 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerName = ptr.String(jtv) } + case "ConsumerStatus": if value != nil { jtv, ok := value.(string) @@ -5487,6 +5514,7 @@ func awsAwsjson11_deserializeDocumentConsumer(v **types.Consumer, value interfac } sv.ConsumerStatus = types.ConsumerStatus(jtv) } + default: _, _ = key, value @@ -5526,6 +5554,7 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerARN = ptr.String(jtv) } + case "ConsumerCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5541,6 +5570,7 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } } + case "ConsumerName": if value != nil { jtv, ok := value.(string) @@ -5549,6 +5579,7 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerName = ptr.String(jtv) } + case "ConsumerStatus": if value != nil { jtv, ok := value.(string) @@ -5557,6 +5588,7 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.ConsumerStatus = types.ConsumerStatus(jtv) } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -5565,6 +5597,7 @@ func awsAwsjson11_deserializeDocumentConsumerDescription(v **types.ConsumerDescr } sv.StreamARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5634,6 +5667,7 @@ func awsAwsjson11_deserializeDocumentEnhancedMetrics(v **types.EnhancedMetrics, if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.ShardLevelMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -5707,6 +5741,7 @@ func awsAwsjson11_deserializeDocumentExpiredIteratorException(v **types.ExpiredI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5746,6 +5781,7 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5785,6 +5821,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5824,6 +5861,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5899,6 +5937,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5938,6 +5977,7 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5946,6 +5986,7 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ErrorMessage = ptr.String(jtv) } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -5954,6 +5995,7 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.SequenceNumber = ptr.String(jtv) } + case "ShardId": if value != nil { jtv, ok := value.(string) @@ -5962,6 +6004,7 @@ func awsAwsjson11_deserializeDocumentPutRecordsResultEntry(v **types.PutRecordsR } sv.ShardId = ptr.String(jtv) } + default: _, _ = key, value @@ -6035,6 +6078,7 @@ func awsAwsjson11_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.EndingSequenceNumber = ptr.String(jtv) } + case "StartingSequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6043,6 +6087,7 @@ func awsAwsjson11_deserializeDocumentSequenceNumberRange(v **types.SequenceNumbe } sv.StartingSequenceNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -6082,10 +6127,12 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.AdjacentParentShardId = ptr.String(jtv) } + case "HashKeyRange": if err := awsAwsjson11_deserializeDocumentHashKeyRange(&sv.HashKeyRange, value); err != nil { return err } + case "ParentShardId": if value != nil { jtv, ok := value.(string) @@ -6094,10 +6141,12 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ParentShardId = ptr.String(jtv) } + case "SequenceNumberRange": if err := awsAwsjson11_deserializeDocumentSequenceNumberRange(&sv.SequenceNumberRange, value); err != nil { return err } + case "ShardId": if value != nil { jtv, ok := value.(string) @@ -6106,6 +6155,7 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.ShardId = ptr.String(jtv) } + default: _, _ = key, value @@ -6179,10 +6229,12 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.EncryptionType = types.EncryptionType(jtv) } + case "EnhancedMonitoring": if err := awsAwsjson11_deserializeDocumentEnhancedMonitoringList(&sv.EnhancedMonitoring, value); err != nil { return err } + case "HasMoreShards": if value != nil { jtv, ok := value.(bool) @@ -6191,6 +6243,7 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.HasMoreShards = ptr.Bool(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -6199,6 +6252,7 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.KeyId = ptr.String(jtv) } + case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -6211,10 +6265,12 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } + case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6223,6 +6279,7 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamARN = ptr.String(jtv) } + case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6238,10 +6295,12 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } } + case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6250,6 +6309,7 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamName = ptr.String(jtv) } + case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6318,7 @@ func awsAwsjson11_deserializeDocumentStreamDescription(v **types.StreamDescripti } sv.StreamStatus = types.StreamStatus(jtv) } + default: _, _ = key, value @@ -6301,6 +6362,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.ConsumerCount = ptr.Int32(int32(i64)) } + case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -6309,10 +6371,12 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.EncryptionType = types.EncryptionType(jtv) } + case "EnhancedMonitoring": if err := awsAwsjson11_deserializeDocumentEnhancedMonitoringList(&sv.EnhancedMonitoring, value); err != nil { return err } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -6321,6 +6385,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.KeyId = ptr.String(jtv) } + case "OpenShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -6333,6 +6398,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.OpenShardCount = ptr.Int32(int32(i64)) } + case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -6345,6 +6411,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6353,6 +6420,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamARN = ptr.String(jtv) } + case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6368,10 +6436,12 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } } + case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6380,6 +6450,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamName = ptr.String(jtv) } + case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6388,6 +6459,7 @@ func awsAwsjson11_deserializeDocumentStreamDescriptionSummary(v **types.StreamDe } sv.StreamStatus = types.StreamStatus(jtv) } + default: _, _ = key, value @@ -6427,6 +6499,7 @@ func awsAwsjson11_deserializeDocumentStreamModeDetails(v **types.StreamModeDetai } sv.StreamMode = types.StreamMode(jtv) } + default: _, _ = key, value @@ -6502,6 +6575,7 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamARN = ptr.String(jtv) } + case "StreamCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -6517,10 +6591,12 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } } + case "StreamModeDetails": if err := awsAwsjson11_deserializeDocumentStreamModeDetails(&sv.StreamModeDetails, value); err != nil { return err } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6529,6 +6605,7 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamName = ptr.String(jtv) } + case "StreamStatus": if value != nil { jtv, ok := value.(string) @@ -6537,6 +6614,7 @@ func awsAwsjson11_deserializeDocumentStreamSummary(v **types.StreamSummary, valu } sv.StreamStatus = types.StreamStatus(jtv) } + default: _, _ = key, value @@ -6610,6 +6688,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6618,6 +6697,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6691,6 +6771,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6734,6 +6815,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OnDemandStreamCount = ptr.Int32(int32(i64)) } + case "OnDemandStreamCountLimit": if value != nil { jtv, ok := value.(json.Number) @@ -6746,6 +6828,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OnDemandStreamCountLimit = ptr.Int32(int32(i64)) } + case "OpenShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -6758,6 +6841,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.OpenShardCount = ptr.Int32(int32(i64)) } + case "ShardLimit": if value != nil { jtv, ok := value.(json.Number) @@ -6770,6 +6854,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLimitsOutput(v **DescribeLimitsOu } sv.ShardLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6805,6 +6890,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamConsumerOutput(v **Describe if err := awsAwsjson11_deserializeDocumentConsumerDescription(&sv.ConsumerDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6840,6 +6926,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsAwsjson11_deserializeDocumentStreamDescription(&sv.StreamDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6875,6 +6962,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamSummaryOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentStreamDescriptionSummary(&sv.StreamDescriptionSummary, value); err != nil { return err } + default: _, _ = key, value @@ -6910,10 +6998,12 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.CurrentShardLevelMetrics, value); err != nil { return err } + case "DesiredShardLevelMetrics": if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.DesiredShardLevelMetrics, value); err != nil { return err } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6922,6 +7012,7 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6930,6 +7021,7 @@ func awsAwsjson11_deserializeOpDocumentDisableEnhancedMonitoringOutput(v **Disab } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -6965,10 +7057,12 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.CurrentShardLevelMetrics, value); err != nil { return err } + case "DesiredShardLevelMetrics": if err := awsAwsjson11_deserializeDocumentMetricsNameList(&sv.DesiredShardLevelMetrics, value); err != nil { return err } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6977,6 +7071,7 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6985,6 +7080,7 @@ func awsAwsjson11_deserializeOpDocumentEnableEnhancedMonitoringOutput(v **Enable } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -7020,6 +7116,7 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va if err := awsAwsjson11_deserializeDocumentChildShardList(&sv.ChildShards, value); err != nil { return err } + case "MillisBehindLatest": if value != nil { jtv, ok := value.(json.Number) @@ -7032,6 +7129,7 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.MillisBehindLatest = ptr.Int64(i64) } + case "NextShardIterator": if value != nil { jtv, ok := value.(string) @@ -7040,10 +7138,12 @@ func awsAwsjson11_deserializeOpDocumentGetRecordsOutput(v **GetRecordsOutput, va } sv.NextShardIterator = ptr.String(jtv) } + case "Records": if err := awsAwsjson11_deserializeDocumentRecordList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -7083,6 +7183,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -7122,6 +7223,7 @@ func awsAwsjson11_deserializeOpDocumentGetShardIteratorOutput(v **GetShardIterat } sv.ShardIterator = ptr.String(jtv) } + default: _, _ = key, value @@ -7161,10 +7263,12 @@ func awsAwsjson11_deserializeOpDocumentListShardsOutput(v **ListShardsOutput, va } sv.NextToken = ptr.String(jtv) } + case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } + default: _, _ = key, value @@ -7200,6 +7304,7 @@ func awsAwsjson11_deserializeOpDocumentListStreamConsumersOutput(v **ListStreamC if err := awsAwsjson11_deserializeDocumentConsumerList(&sv.Consumers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7208,6 +7313,7 @@ func awsAwsjson11_deserializeOpDocumentListStreamConsumersOutput(v **ListStreamC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7247,6 +7353,7 @@ func awsAwsjson11_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.HasMoreStreams = ptr.Bool(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7255,14 +7362,17 @@ func awsAwsjson11_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } + case "StreamNames": if err := awsAwsjson11_deserializeDocumentStreamNameList(&sv.StreamNames, value); err != nil { return err } + case "StreamSummaries": if err := awsAwsjson11_deserializeDocumentStreamSummaryList(&sv.StreamSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7302,10 +7412,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForStreamOutput(v **ListTagsForSt } sv.HasMoreTags = ptr.Bool(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7345,6 +7457,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.EncryptionType = types.EncryptionType(jtv) } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -7353,6 +7466,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.SequenceNumber = ptr.String(jtv) } + case "ShardId": if value != nil { jtv, ok := value.(string) @@ -7361,6 +7475,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordOutput(v **PutRecordOutput, valu } sv.ShardId = ptr.String(jtv) } + default: _, _ = key, value @@ -7400,6 +7515,7 @@ func awsAwsjson11_deserializeOpDocumentPutRecordsOutput(v **PutRecordsOutput, va } sv.EncryptionType = types.EncryptionType(jtv) } + case "FailedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -7412,10 +7528,12 @@ func awsAwsjson11_deserializeOpDocumentPutRecordsOutput(v **PutRecordsOutput, va } sv.FailedRecordCount = ptr.Int32(int32(i64)) } + case "Records": if err := awsAwsjson11_deserializeDocumentPutRecordsResultEntryList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -7451,6 +7569,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterStreamConsumerOutput(v **Register if err := awsAwsjson11_deserializeDocumentConsumer(&sv.Consumer, value); err != nil { return err } + default: _, _ = key, value @@ -7494,6 +7613,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.CurrentShardCount = ptr.Int32(int32(i64)) } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -7502,6 +7622,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7631,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.StreamName = ptr.String(jtv) } + case "TargetShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -7522,6 +7644,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateShardCountOutput(v **UpdateShardCou } sv.TargetShardCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/kinesisanalytics/deserializers.go b/service/kinesisanalytics/deserializers.go index b46914fb78e..7f4438c9c97 100644 --- a/service/kinesisanalytics/deserializers.go +++ b/service/kinesisanalytics/deserializers.go @@ -2906,6 +2906,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationCode": if value != nil { jtv, ok := value.(string) @@ -2914,6 +2915,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationCode = ptr.String(jtv) } + case "ApplicationDescription": if value != nil { jtv, ok := value.(string) @@ -2922,6 +2924,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationDescription = ptr.String(jtv) } + case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -2930,6 +2933,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationName = ptr.String(jtv) } + case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -2938,6 +2942,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -2950,10 +2955,12 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionId = ptr.Int64(i64) } + case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } + case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2969,10 +2976,12 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } + case "InputDescriptions": if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -2988,14 +2997,17 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } + case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } + case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -3069,6 +3081,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -3077,6 +3090,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } + case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -3085,6 +3099,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + default: _, _ = key, value @@ -3124,6 +3139,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.CloudWatchLoggingOptionId = ptr.String(jtv) } + case "LogStreamARN": if value != nil { jtv, ok := value.(string) @@ -3132,6 +3148,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.LogStreamARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3157,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3213,6 +3231,7 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3252,6 +3271,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3291,6 +3311,7 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordColumnDelimiter = ptr.String(jtv) } + case "RecordRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -3299,6 +3320,7 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordRowDelimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -3338,6 +3360,7 @@ func awsAwsjson11_deserializeDocumentDestinationSchema(v **types.DestinationSche } sv.RecordFormatType = types.RecordFormatType(jtv) } + default: _, _ = key, value @@ -3409,6 +3432,7 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription if err := awsAwsjson11_deserializeDocumentInAppStreamNames(&sv.InAppStreamNames, value); err != nil { return err } + case "InputId": if value != nil { jtv, ok := value.(string) @@ -3417,30 +3441,37 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.InputId = ptr.String(jtv) } + case "InputParallelism": if err := awsAwsjson11_deserializeDocumentInputParallelism(&sv.InputParallelism, value); err != nil { return err } + case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } + case "InputSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } + case "InputStartingPositionConfiguration": if err := awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(&sv.InputStartingPositionConfiguration, value); err != nil { return err } + case "KinesisFirehoseInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(&sv.KinesisFirehoseInputDescription, value); err != nil { return err } + case "KinesisStreamsInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(&sv.KinesisStreamsInputDescription, value); err != nil { return err } + case "NamePrefix": if value != nil { jtv, ok := value.(string) @@ -3449,6 +3480,7 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.NamePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -3522,6 +3554,7 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3530,6 +3563,7 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3573,6 +3607,7 @@ func awsAwsjson11_deserializeDocumentInputParallelism(v **types.InputParallelism } sv.Count = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3608,6 +3643,7 @@ func awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(&sv.InputLambdaProcessorDescription, value); err != nil { return err } + default: _, _ = key, value @@ -3647,6 +3683,7 @@ func awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(v **type } sv.InputStartingPosition = types.InputStartingPosition(jtv) } + default: _, _ = key, value @@ -3686,6 +3723,7 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3725,6 +3763,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3764,6 +3803,7 @@ func awsAwsjson11_deserializeDocumentJSONMappingParameters(v **types.JSONMapping } sv.RecordRowPath = ptr.String(jtv) } + default: _, _ = key, value @@ -3803,6 +3843,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3811,6 +3852,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3850,6 +3892,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3901,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3897,6 +3941,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3905,6 +3950,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3944,6 +3990,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3952,6 +3999,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -3991,6 +4039,7 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3999,6 +4048,7 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4038,6 +4088,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4073,10 +4124,12 @@ func awsAwsjson11_deserializeDocumentMappingParameters(v **types.MappingParamete if err := awsAwsjson11_deserializeDocumentCSVMappingParameters(&sv.CSVMappingParameters, value); err != nil { return err } + case "JSONMappingParameters": if err := awsAwsjson11_deserializeDocumentJSONMappingParameters(&sv.JSONMappingParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4112,18 +4165,22 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti if err := awsAwsjson11_deserializeDocumentDestinationSchema(&sv.DestinationSchema, value); err != nil { return err } + case "KinesisFirehoseOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(&sv.KinesisFirehoseOutputDescription, value); err != nil { return err } + case "KinesisStreamsOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(&sv.KinesisStreamsOutputDescription, value); err != nil { return err } + case "LambdaOutputDescription": if err := awsAwsjson11_deserializeDocumentLambdaOutputDescription(&sv.LambdaOutputDescription, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4132,6 +4189,7 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.Name = ptr.String(jtv) } + case "OutputId": if value != nil { jtv, ok := value.(string) @@ -4140,6 +4198,7 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.OutputId = ptr.String(jtv) } + default: _, _ = key, value @@ -4353,6 +4412,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Mapping = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4361,6 +4421,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Name = ptr.String(jtv) } + case "SqlType": if value != nil { jtv, ok := value.(string) @@ -4369,6 +4430,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.SqlType = ptr.String(jtv) } + default: _, _ = key, value @@ -4438,6 +4500,7 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value if err := awsAwsjson11_deserializeDocumentMappingParameters(&sv.MappingParameters, value); err != nil { return err } + case "RecordFormatType": if value != nil { jtv, ok := value.(string) @@ -4446,6 +4509,7 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value } sv.RecordFormatType = types.RecordFormatType(jtv) } + default: _, _ = key, value @@ -4485,14 +4549,17 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.ReferenceId = ptr.String(jtv) } + case "ReferenceSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.ReferenceSchema, value); err != nil { return err } + case "S3ReferenceDataSourceDescription": if err := awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(&sv.S3ReferenceDataSourceDescription, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -4501,6 +4568,7 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -4574,6 +4642,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4613,6 +4682,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4652,6 +4722,7 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4691,6 +4762,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.BucketARN = ptr.String(jtv) } + case "FileKey": if value != nil { jtv, ok := value.(string) @@ -4699,6 +4771,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.FileKey = ptr.String(jtv) } + case "ReferenceRoleARN": if value != nil { jtv, ok := value.(string) @@ -4707,6 +4780,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.ReferenceRoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4746,6 +4820,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4781,6 +4856,7 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value if err := awsAwsjson11_deserializeDocumentRecordColumns(&sv.RecordColumns, value); err != nil { return err } + case "RecordEncoding": if value != nil { jtv, ok := value.(string) @@ -4789,10 +4865,12 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value } sv.RecordEncoding = ptr.String(jtv) } + case "RecordFormat": if err := awsAwsjson11_deserializeDocumentRecordFormat(&sv.RecordFormat, value); err != nil { return err } + default: _, _ = key, value @@ -4832,6 +4910,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4840,6 +4919,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4913,6 +4993,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4952,14 +5033,17 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } sv.Message = ptr.String(jtv) } + case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } + case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } + default: _, _ = key, value @@ -4999,6 +5083,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5189,6 +5274,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationSummary(&sv.ApplicationSummary, value); err != nil { return err } + default: _, _ = key, value @@ -5379,6 +5465,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } + default: _, _ = key, value @@ -5414,18 +5501,22 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInputSchemaOutput(v **DiscoverInp if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } + case "ParsedInputRecords": if err := awsAwsjson11_deserializeDocumentParsedInputRecords(&sv.ParsedInputRecords, value); err != nil { return err } + case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } + case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } + default: _, _ = key, value @@ -5461,6 +5552,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } + case "HasMoreApplications": if value != nil { jtv, ok := value.(bool) @@ -5469,6 +5561,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.HasMoreApplications = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5504,6 +5597,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/kinesisanalyticsv2/deserializers.go b/service/kinesisanalyticsv2/deserializers.go index f9569b685a1..65a70a873f1 100644 --- a/service/kinesisanalyticsv2/deserializers.go +++ b/service/kinesisanalyticsv2/deserializers.go @@ -4548,6 +4548,7 @@ func awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentCodeContentDescription(&sv.CodeContentDescription, value); err != nil { return err } + case "CodeContentType": if value != nil { jtv, ok := value.(string) @@ -4556,6 +4557,7 @@ func awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(v * } sv.CodeContentType = types.CodeContentType(jtv) } + default: _, _ = key, value @@ -4591,38 +4593,47 @@ func awsAwsjson11_deserializeDocumentApplicationConfigurationDescription(v **typ if err := awsAwsjson11_deserializeDocumentApplicationCodeConfigurationDescription(&sv.ApplicationCodeConfigurationDescription, value); err != nil { return err } + case "ApplicationSnapshotConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationSnapshotConfigurationDescription(&sv.ApplicationSnapshotConfigurationDescription, value); err != nil { return err } + case "ApplicationSystemRollbackConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationSystemRollbackConfigurationDescription(&sv.ApplicationSystemRollbackConfigurationDescription, value); err != nil { return err } + case "EnvironmentPropertyDescriptions": if err := awsAwsjson11_deserializeDocumentEnvironmentPropertyDescriptions(&sv.EnvironmentPropertyDescriptions, value); err != nil { return err } + case "FlinkApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(&sv.FlinkApplicationConfigurationDescription, value); err != nil { return err } + case "RunConfigurationDescription": if err := awsAwsjson11_deserializeDocumentRunConfigurationDescription(&sv.RunConfigurationDescription, value); err != nil { return err } + case "SqlApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentSqlApplicationConfigurationDescription(&sv.SqlApplicationConfigurationDescription, value); err != nil { return err } + case "VpcConfigurationDescriptions": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescriptions(&sv.VpcConfigurationDescriptions, value); err != nil { return err } + case "ZeppelinApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentZeppelinApplicationConfigurationDescription(&sv.ZeppelinApplicationConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -4662,10 +4673,12 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationConfigurationDescription(&sv.ApplicationConfigurationDescription, value); err != nil { return err } + case "ApplicationDescription": if value != nil { jtv, ok := value.(string) @@ -4674,10 +4687,12 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationDescription = ptr.String(jtv) } + case "ApplicationMaintenanceConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescription(&sv.ApplicationMaintenanceConfigurationDescription, value); err != nil { return err } + case "ApplicationMode": if value != nil { jtv, ok := value.(string) @@ -4686,6 +4701,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationMode = types.ApplicationMode(jtv) } + case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -4694,6 +4710,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationName = ptr.String(jtv) } + case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -4702,6 +4719,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "ApplicationVersionCreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4717,6 +4735,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -4729,6 +4748,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionId = ptr.Int64(i64) } + case "ApplicationVersionRolledBackFrom": if value != nil { jtv, ok := value.(json.Number) @@ -4741,6 +4761,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionRolledBackFrom = ptr.Int64(i64) } + case "ApplicationVersionRolledBackTo": if value != nil { jtv, ok := value.(json.Number) @@ -4753,6 +4774,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionRolledBackTo = ptr.Int64(i64) } + case "ApplicationVersionUpdatedFrom": if value != nil { jtv, ok := value.(json.Number) @@ -4765,10 +4787,12 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ApplicationVersionUpdatedFrom = ptr.Int64(i64) } + case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } + case "ConditionalToken": if value != nil { jtv, ok := value.(string) @@ -4777,6 +4801,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ConditionalToken = ptr.String(jtv) } + case "CreateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4792,6 +4817,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -4807,6 +4833,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } } + case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -4815,6 +4842,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } + case "ServiceExecutionRole": if value != nil { jtv, ok := value.(string) @@ -4823,6 +4851,7 @@ func awsAwsjson11_deserializeDocumentApplicationDetail(v **types.ApplicationDeta } sv.ServiceExecutionRole = ptr.String(jtv) } + default: _, _ = key, value @@ -4862,6 +4891,7 @@ func awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescript } sv.ApplicationMaintenanceWindowEndTime = ptr.String(jtv) } + case "ApplicationMaintenanceWindowStartTime": if value != nil { jtv, ok := value.(string) @@ -4870,6 +4900,7 @@ func awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescript } sv.ApplicationMaintenanceWindowStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -4916,6 +4947,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -4924,6 +4956,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.Operation = ptr.String(jtv) } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -4932,6 +4965,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.OperationId = ptr.String(jtv) } + case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -4940,6 +4974,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } sv.OperationStatus = types.OperationStatus(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -4955,6 +4990,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfo(v **types.Applicat } } + default: _, _ = key, value @@ -4990,6 +5026,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A if err := awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(&sv.ApplicationVersionChangeDetails, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5005,6 +5042,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -5013,10 +5051,12 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } sv.Operation = ptr.String(jtv) } + case "OperationFailureDetails": if err := awsAwsjson11_deserializeDocumentOperationFailureDetails(&sv.OperationFailureDetails, value); err != nil { return err } + case "OperationStatus": if value != nil { jtv, ok := value.(string) @@ -5025,6 +5065,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } sv.OperationStatus = types.OperationStatus(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5040,6 +5081,7 @@ func awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(v **types.A } } + default: _, _ = key, value @@ -5113,6 +5155,7 @@ func awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(v **types.A } sv.ApplicationRestoreType = types.ApplicationRestoreType(jtv) } + case "SnapshotName": if value != nil { jtv, ok := value.(string) @@ -5121,6 +5164,7 @@ func awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(v **types.A } sv.SnapshotName = ptr.String(jtv) } + default: _, _ = key, value @@ -5160,6 +5204,7 @@ func awsAwsjson11_deserializeDocumentApplicationSnapshotConfigurationDescription } sv.SnapshotsEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5233,6 +5278,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationMode": if value != nil { jtv, ok := value.(string) @@ -5241,6 +5287,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationMode = types.ApplicationMode(jtv) } + case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -5249,6 +5296,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationName = ptr.String(jtv) } + case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -5257,6 +5305,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -5269,6 +5318,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationVersionId = ptr.Int64(i64) } + case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -5277,6 +5327,7 @@ func awsAwsjson11_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } + default: _, _ = key, value @@ -5316,6 +5367,7 @@ func awsAwsjson11_deserializeDocumentApplicationSystemRollbackConfigurationDescr } sv.RollbackEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5359,6 +5411,7 @@ func awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(v **types.A } sv.ApplicationVersionUpdatedFrom = ptr.Int64(i64) } + case "ApplicationVersionUpdatedTo": if value != nil { jtv, ok := value.(json.Number) @@ -5371,6 +5424,7 @@ func awsAwsjson11_deserializeDocumentApplicationVersionChangeDetails(v **types.A } sv.ApplicationVersionUpdatedTo = ptr.Int64(i64) } + default: _, _ = key, value @@ -5444,6 +5498,7 @@ func awsAwsjson11_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -5456,6 +5511,7 @@ func awsAwsjson11_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationVersionId = ptr.Int64(i64) } + default: _, _ = key, value @@ -5491,6 +5547,7 @@ func awsAwsjson11_deserializeDocumentCatalogConfigurationDescription(v **types.C if err := awsAwsjson11_deserializeDocumentGlueDataCatalogConfigurationDescription(&sv.GlueDataCatalogConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -5530,6 +5587,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.CheckpointingEnabled = ptr.Bool(jtv) } + case "CheckpointInterval": if value != nil { jtv, ok := value.(json.Number) @@ -5542,6 +5600,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.CheckpointInterval = ptr.Int64(i64) } + case "ConfigurationType": if value != nil { jtv, ok := value.(string) @@ -5550,6 +5609,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.ConfigurationType = types.ConfigurationType(jtv) } + case "MinPauseBetweenCheckpoints": if value != nil { jtv, ok := value.(json.Number) @@ -5562,6 +5622,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(v **type } sv.MinPauseBetweenCheckpoints = ptr.Int64(i64) } + default: _, _ = key, value @@ -5601,6 +5662,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.CloudWatchLoggingOptionId = ptr.String(jtv) } + case "LogStreamARN": if value != nil { jtv, ok := value.(string) @@ -5609,6 +5671,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.LogStreamARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5617,6 +5680,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescription(v **type } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5690,6 +5754,7 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.CodeMD5 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -5702,10 +5767,12 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.CodeSize = ptr.Int64(i64) } + case "S3ApplicationCodeLocationDescription": if err := awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(&sv.S3ApplicationCodeLocationDescription, value); err != nil { return err } + case "TextContent": if value != nil { jtv, ok := value.(string) @@ -5714,6 +5781,7 @@ func awsAwsjson11_deserializeDocumentCodeContentDescription(v **types.CodeConten } sv.TextContent = ptr.String(jtv) } + default: _, _ = key, value @@ -5753,6 +5821,7 @@ func awsAwsjson11_deserializeDocumentCodeValidationException(v **types.CodeValid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5792,6 +5861,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5831,6 +5901,7 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordColumnDelimiter = ptr.String(jtv) } + case "RecordRowDelimiter": if value != nil { jtv, ok := value.(string) @@ -5839,6 +5910,7 @@ func awsAwsjson11_deserializeDocumentCSVMappingParameters(v **types.CSVMappingPa } sv.RecordRowDelimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -5878,14 +5950,17 @@ func awsAwsjson11_deserializeDocumentCustomArtifactConfigurationDescription(v ** } sv.ArtifactType = types.ArtifactType(jtv) } + case "MavenReferenceDescription": if err := awsAwsjson11_deserializeDocumentMavenReference(&sv.MavenReferenceDescription, value); err != nil { return err } + case "S3ContentLocationDescription": if err := awsAwsjson11_deserializeDocumentS3ContentLocation(&sv.S3ContentLocationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -5955,6 +6030,7 @@ func awsAwsjson11_deserializeDocumentDeployAsApplicationConfigurationDescription if err := awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(&sv.S3ContentLocationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -5994,6 +6070,7 @@ func awsAwsjson11_deserializeDocumentDestinationSchema(v **types.DestinationSche } sv.RecordFormatType = types.RecordFormatType(jtv) } + default: _, _ = key, value @@ -6029,6 +6106,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentPropertyDescriptions(v **types.E if err := awsAwsjson11_deserializeDocumentPropertyGroups(&sv.PropertyGroupDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -6068,6 +6146,7 @@ func awsAwsjson11_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.ErrorString = ptr.String(jtv) } + default: _, _ = key, value @@ -6103,6 +6182,7 @@ func awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(v if err := awsAwsjson11_deserializeDocumentCheckpointConfigurationDescription(&sv.CheckpointConfigurationDescription, value); err != nil { return err } + case "JobPlanDescription": if value != nil { jtv, ok := value.(string) @@ -6111,14 +6191,17 @@ func awsAwsjson11_deserializeDocumentFlinkApplicationConfigurationDescription(v } sv.JobPlanDescription = ptr.String(jtv) } + case "MonitoringConfigurationDescription": if err := awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(&sv.MonitoringConfigurationDescription, value); err != nil { return err } + case "ParallelismConfigurationDescription": if err := awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(&sv.ParallelismConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6158,6 +6241,7 @@ func awsAwsjson11_deserializeDocumentFlinkRunConfiguration(v **types.FlinkRunCon } sv.AllowNonRestoredState = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6197,6 +6281,7 @@ func awsAwsjson11_deserializeDocumentGlueDataCatalogConfigurationDescription(v * } sv.DatabaseARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6268,6 +6353,7 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription if err := awsAwsjson11_deserializeDocumentInAppStreamNames(&sv.InAppStreamNames, value); err != nil { return err } + case "InputId": if value != nil { jtv, ok := value.(string) @@ -6276,30 +6362,37 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.InputId = ptr.String(jtv) } + case "InputParallelism": if err := awsAwsjson11_deserializeDocumentInputParallelism(&sv.InputParallelism, value); err != nil { return err } + case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } + case "InputSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } + case "InputStartingPositionConfiguration": if err := awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(&sv.InputStartingPositionConfiguration, value); err != nil { return err } + case "KinesisFirehoseInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(&sv.KinesisFirehoseInputDescription, value); err != nil { return err } + case "KinesisStreamsInputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(&sv.KinesisStreamsInputDescription, value); err != nil { return err } + case "NamePrefix": if value != nil { jtv, ok := value.(string) @@ -6308,6 +6401,7 @@ func awsAwsjson11_deserializeDocumentInputDescription(v **types.InputDescription } sv.NamePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -6381,6 +6475,7 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6389,6 +6484,7 @@ func awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(v **types.I } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6432,6 +6528,7 @@ func awsAwsjson11_deserializeDocumentInputParallelism(v **types.InputParallelism } sv.Count = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6467,6 +6564,7 @@ func awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(v * if err := awsAwsjson11_deserializeDocumentInputLambdaProcessorDescription(&sv.InputLambdaProcessorDescription, value); err != nil { return err } + default: _, _ = key, value @@ -6506,6 +6604,7 @@ func awsAwsjson11_deserializeDocumentInputStartingPositionConfiguration(v **type } sv.InputStartingPosition = types.InputStartingPosition(jtv) } + default: _, _ = key, value @@ -6545,6 +6644,7 @@ func awsAwsjson11_deserializeDocumentInvalidApplicationConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6584,6 +6684,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6623,6 +6724,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6662,6 +6764,7 @@ func awsAwsjson11_deserializeDocumentJSONMappingParameters(v **types.JSONMapping } sv.RecordRowPath = ptr.String(jtv) } + default: _, _ = key, value @@ -6701,6 +6804,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6709,6 +6813,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseInputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6748,6 +6853,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6756,6 +6862,7 @@ func awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(v **types. } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6795,6 +6902,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6803,6 +6911,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsInputDescription(v **types.Ki } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6842,6 +6951,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6850,6 +6960,7 @@ func awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(v **types.K } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6889,6 +7000,7 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.ResourceARN = ptr.String(jtv) } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6897,6 +7009,7 @@ func awsAwsjson11_deserializeDocumentLambdaOutputDescription(v **types.LambdaOut } sv.RoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6936,6 +7049,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6971,10 +7085,12 @@ func awsAwsjson11_deserializeDocumentMappingParameters(v **types.MappingParamete if err := awsAwsjson11_deserializeDocumentCSVMappingParameters(&sv.CSVMappingParameters, value); err != nil { return err } + case "JSONMappingParameters": if err := awsAwsjson11_deserializeDocumentJSONMappingParameters(&sv.JSONMappingParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7014,6 +7130,7 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.ArtifactId = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -7022,6 +7139,7 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.GroupId = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -7030,6 +7148,7 @@ func awsAwsjson11_deserializeDocumentMavenReference(v **types.MavenReference, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7069,6 +7188,7 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.ConfigurationType = types.ConfigurationType(jtv) } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7197,7 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.LogLevel = types.LogLevel(jtv) } + case "MetricsLevel": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7206,7 @@ func awsAwsjson11_deserializeDocumentMonitoringConfigurationDescription(v **type } sv.MetricsLevel = types.MetricsLevel(jtv) } + default: _, _ = key, value @@ -7120,6 +7242,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureDetails(v **types.Operation if err := awsAwsjson11_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "RollbackOperationId": if value != nil { jtv, ok := value.(string) @@ -7128,6 +7251,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureDetails(v **types.Operation } sv.RollbackOperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7163,18 +7287,22 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti if err := awsAwsjson11_deserializeDocumentDestinationSchema(&sv.DestinationSchema, value); err != nil { return err } + case "KinesisFirehoseOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisFirehoseOutputDescription(&sv.KinesisFirehoseOutputDescription, value); err != nil { return err } + case "KinesisStreamsOutputDescription": if err := awsAwsjson11_deserializeDocumentKinesisStreamsOutputDescription(&sv.KinesisStreamsOutputDescription, value); err != nil { return err } + case "LambdaOutputDescription": if err := awsAwsjson11_deserializeDocumentLambdaOutputDescription(&sv.LambdaOutputDescription, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7183,6 +7311,7 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.Name = ptr.String(jtv) } + case "OutputId": if value != nil { jtv, ok := value.(string) @@ -7191,6 +7320,7 @@ func awsAwsjson11_deserializeDocumentOutputDescription(v **types.OutputDescripti } sv.OutputId = ptr.String(jtv) } + default: _, _ = key, value @@ -7264,6 +7394,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.AutoScalingEnabled = ptr.Bool(jtv) } + case "ConfigurationType": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7403,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.ConfigurationType = types.ConfigurationType(jtv) } + case "CurrentParallelism": if value != nil { jtv, ok := value.(json.Number) @@ -7284,6 +7416,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.CurrentParallelism = ptr.Int32(int32(i64)) } + case "Parallelism": if value != nil { jtv, ok := value.(json.Number) @@ -7296,6 +7429,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.Parallelism = ptr.Int32(int32(i64)) } + case "ParallelismPerKPU": if value != nil { jtv, ok := value.(json.Number) @@ -7308,6 +7442,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfigurationDescription(v **typ } sv.ParallelismPerKPU = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7451,10 +7586,12 @@ func awsAwsjson11_deserializeDocumentPropertyGroup(v **types.PropertyGroup, valu } sv.PropertyGroupId = ptr.String(jtv) } + case "PropertyMap": if err := awsAwsjson11_deserializeDocumentPropertyMap(&sv.PropertyMap, value); err != nil { return err } + default: _, _ = key, value @@ -7600,6 +7737,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Mapping = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7608,6 +7746,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.Name = ptr.String(jtv) } + case "SqlType": if value != nil { jtv, ok := value.(string) @@ -7616,6 +7755,7 @@ func awsAwsjson11_deserializeDocumentRecordColumn(v **types.RecordColumn, value } sv.SqlType = ptr.String(jtv) } + default: _, _ = key, value @@ -7685,6 +7825,7 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value if err := awsAwsjson11_deserializeDocumentMappingParameters(&sv.MappingParameters, value); err != nil { return err } + case "RecordFormatType": if value != nil { jtv, ok := value.(string) @@ -7693,6 +7834,7 @@ func awsAwsjson11_deserializeDocumentRecordFormat(v **types.RecordFormat, value } sv.RecordFormatType = types.RecordFormatType(jtv) } + default: _, _ = key, value @@ -7732,14 +7874,17 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.ReferenceId = ptr.String(jtv) } + case "ReferenceSchema": if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.ReferenceSchema, value); err != nil { return err } + case "S3ReferenceDataSourceDescription": if err := awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(&sv.S3ReferenceDataSourceDescription, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -7748,6 +7893,7 @@ func awsAwsjson11_deserializeDocumentReferenceDataSourceDescription(v **types.Re } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -7821,6 +7967,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7860,6 +8007,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7899,6 +8047,7 @@ func awsAwsjson11_deserializeDocumentResourceProvisionedThroughputExceededExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7934,10 +8083,12 @@ func awsAwsjson11_deserializeDocumentRunConfigurationDescription(v **types.RunCo if err := awsAwsjson11_deserializeDocumentApplicationRestoreConfiguration(&sv.ApplicationRestoreConfigurationDescription, value); err != nil { return err } + case "FlinkRunConfigurationDescription": if err := awsAwsjson11_deserializeDocumentFlinkRunConfiguration(&sv.FlinkRunConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -7977,6 +8128,7 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.BucketARN = ptr.String(jtv) } + case "FileKey": if value != nil { jtv, ok := value.(string) @@ -7985,6 +8137,7 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.FileKey = ptr.String(jtv) } + case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -7993,6 +8146,7 @@ func awsAwsjson11_deserializeDocumentS3ApplicationCodeLocationDescription(v **ty } sv.ObjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8032,6 +8186,7 @@ func awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(v **types. } sv.BasePath = ptr.String(jtv) } + case "BucketARN": if value != nil { jtv, ok := value.(string) @@ -8040,6 +8195,7 @@ func awsAwsjson11_deserializeDocumentS3ContentBaseLocationDescription(v **types. } sv.BucketARN = ptr.String(jtv) } + default: _, _ = key, value @@ -8079,6 +8235,7 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.BucketARN = ptr.String(jtv) } + case "FileKey": if value != nil { jtv, ok := value.(string) @@ -8087,6 +8244,7 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.FileKey = ptr.String(jtv) } + case "ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -8095,6 +8253,7 @@ func awsAwsjson11_deserializeDocumentS3ContentLocation(v **types.S3ContentLocati } sv.ObjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8134,6 +8293,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.BucketARN = ptr.String(jtv) } + case "FileKey": if value != nil { jtv, ok := value.(string) @@ -8142,6 +8302,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.FileKey = ptr.String(jtv) } + case "ReferenceRoleARN": if value != nil { jtv, ok := value.(string) @@ -8150,6 +8311,7 @@ func awsAwsjson11_deserializeDocumentS3ReferenceDataSourceDescription(v **types. } sv.ReferenceRoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -8225,6 +8387,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8268,6 +8431,7 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.ApplicationVersionId = ptr.Int64(i64) } + case "RuntimeEnvironment": if value != nil { jtv, ok := value.(string) @@ -8276,6 +8440,7 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.RuntimeEnvironment = types.RuntimeEnvironment(jtv) } + case "SnapshotCreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -8291,6 +8456,7 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } } + case "SnapshotName": if value != nil { jtv, ok := value.(string) @@ -8299,6 +8465,7 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.SnapshotName = ptr.String(jtv) } + case "SnapshotStatus": if value != nil { jtv, ok := value.(string) @@ -8307,6 +8474,7 @@ func awsAwsjson11_deserializeDocumentSnapshotDetails(v **types.SnapshotDetails, } sv.SnapshotStatus = types.SnapshotStatus(jtv) } + default: _, _ = key, value @@ -8376,6 +8544,7 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value if err := awsAwsjson11_deserializeDocumentRecordColumns(&sv.RecordColumns, value); err != nil { return err } + case "RecordEncoding": if value != nil { jtv, ok := value.(string) @@ -8384,10 +8553,12 @@ func awsAwsjson11_deserializeDocumentSourceSchema(v **types.SourceSchema, value } sv.RecordEncoding = ptr.String(jtv) } + case "RecordFormat": if err := awsAwsjson11_deserializeDocumentRecordFormat(&sv.RecordFormat, value); err != nil { return err } + default: _, _ = key, value @@ -8423,14 +8594,17 @@ func awsAwsjson11_deserializeDocumentSqlApplicationConfigurationDescription(v ** if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } + case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } + case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -8506,6 +8680,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8514,6 +8689,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8587,6 +8763,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8626,14 +8803,17 @@ func awsAwsjson11_deserializeDocumentUnableToDetectSchemaException(v **types.Una } sv.Message = ptr.String(jtv) } + case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } + case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } + default: _, _ = key, value @@ -8673,6 +8853,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8708,10 +8889,12 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8720,6 +8903,7 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcConfigurationId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -8728,6 +8912,7 @@ func awsAwsjson11_deserializeDocumentVpcConfigurationDescription(v **types.VpcCo } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -8797,18 +8982,22 @@ func awsAwsjson11_deserializeDocumentZeppelinApplicationConfigurationDescription if err := awsAwsjson11_deserializeDocumentCatalogConfigurationDescription(&sv.CatalogConfigurationDescription, value); err != nil { return err } + case "CustomArtifactsConfigurationDescription": if err := awsAwsjson11_deserializeDocumentCustomArtifactsConfigurationDescriptionList(&sv.CustomArtifactsConfigurationDescription, value); err != nil { return err } + case "DeployAsApplicationConfigurationDescription": if err := awsAwsjson11_deserializeDocumentDeployAsApplicationConfigurationDescription(&sv.DeployAsApplicationConfigurationDescription, value); err != nil { return err } + case "MonitoringConfigurationDescription": if err := awsAwsjson11_deserializeDocumentZeppelinMonitoringConfigurationDescription(&sv.MonitoringConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -8848,6 +9037,7 @@ func awsAwsjson11_deserializeDocumentZeppelinMonitoringConfigurationDescription( } sv.LogLevel = types.LogLevel(jtv) } + default: _, _ = key, value @@ -8887,6 +9077,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -8899,10 +9090,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.ApplicationVersionId = ptr.Int64(i64) } + case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -8911,6 +9104,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationCloudWatchLoggingOptionOutp } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -8950,6 +9144,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputOutput(v **AddApplicat } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -8962,10 +9157,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputOutput(v **AddApplicat } sv.ApplicationVersionId = ptr.Int64(i64) } + case "InputDescriptions": if err := awsAwsjson11_deserializeDocumentInputDescriptions(&sv.InputDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -9005,6 +9202,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9017,6 +9215,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.ApplicationVersionId = ptr.Int64(i64) } + case "InputId": if value != nil { jtv, ok := value.(string) @@ -9025,10 +9224,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationInputProcessingConfiguratio } sv.InputId = ptr.String(jtv) } + case "InputProcessingConfigurationDescription": if err := awsAwsjson11_deserializeDocumentInputProcessingConfigurationDescription(&sv.InputProcessingConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -9068,6 +9269,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationOutputOutput(v **AddApplica } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9080,10 +9282,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationOutputOutput(v **AddApplica } sv.ApplicationVersionId = ptr.Int64(i64) } + case "OutputDescriptions": if err := awsAwsjson11_deserializeDocumentOutputDescriptions(&sv.OutputDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -9123,6 +9327,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationReferenceDataSourceOutput(v } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9135,10 +9340,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationReferenceDataSourceOutput(v } sv.ApplicationVersionId = ptr.Int64(i64) } + case "ReferenceDataSourceDescriptions": if err := awsAwsjson11_deserializeDocumentReferenceDataSourceDescriptions(&sv.ReferenceDataSourceDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -9178,6 +9385,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9190,6 +9398,7 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.ApplicationVersionId = ptr.Int64(i64) } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9198,10 +9407,12 @@ func awsAwsjson11_deserializeOpDocumentAddApplicationVpcConfigurationOutput(v ** } sv.OperationId = ptr.String(jtv) } + case "VpcConfigurationDescription": if err := awsAwsjson11_deserializeDocumentVpcConfigurationDescription(&sv.VpcConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -9237,6 +9448,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9276,6 +9488,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationPresignedUrlOutput(v **C } sv.AuthorizedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9346,6 +9559,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9358,10 +9572,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.ApplicationVersionId = ptr.Int64(i64) } + case "CloudWatchLoggingOptionDescriptions": if err := awsAwsjson11_deserializeDocumentCloudWatchLoggingOptionDescriptions(&sv.CloudWatchLoggingOptionDescriptions, value); err != nil { return err } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9370,6 +9586,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationCloudWatchLoggingOptionO } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -9409,6 +9626,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationInputProcessingConfigura } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9421,6 +9639,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationInputProcessingConfigura } sv.ApplicationVersionId = ptr.Int64(i64) } + default: _, _ = key, value @@ -9491,6 +9710,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationOutputOutput(v **DeleteA } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9503,6 +9723,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationOutputOutput(v **DeleteA } sv.ApplicationVersionId = ptr.Int64(i64) } + default: _, _ = key, value @@ -9542,6 +9763,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationReferenceDataSourceOutpu } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9554,6 +9776,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationReferenceDataSourceOutpu } sv.ApplicationVersionId = ptr.Int64(i64) } + default: _, _ = key, value @@ -9624,6 +9847,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -9636,6 +9860,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.ApplicationVersionId = ptr.Int64(i64) } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -9644,6 +9869,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteApplicationVpcConfigurationOutput(v } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -9679,6 +9905,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOperationOutput(v **De if err := awsAwsjson11_deserializeDocumentApplicationOperationInfoDetails(&sv.ApplicationOperationInfoDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9714,6 +9941,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9749,6 +9977,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationSnapshotOutput(v **Des if err := awsAwsjson11_deserializeDocumentSnapshotDetails(&sv.SnapshotDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9784,6 +10013,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationVersionOutput(v **Desc if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationVersionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9819,18 +10049,22 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInputSchemaOutput(v **DiscoverInp if err := awsAwsjson11_deserializeDocumentSourceSchema(&sv.InputSchema, value); err != nil { return err } + case "ParsedInputRecords": if err := awsAwsjson11_deserializeDocumentParsedInputRecords(&sv.ParsedInputRecords, value); err != nil { return err } + case "ProcessedInputRecords": if err := awsAwsjson11_deserializeDocumentProcessedInputRecords(&sv.ProcessedInputRecords, value); err != nil { return err } + case "RawInputRecords": if err := awsAwsjson11_deserializeDocumentRawInputRecords(&sv.RawInputRecords, value); err != nil { return err } + default: _, _ = key, value @@ -9866,6 +10100,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationOperationsOutput(v **ListA if err := awsAwsjson11_deserializeDocumentApplicationOperationInfoList(&sv.ApplicationOperationInfoList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9874,6 +10109,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationOperationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9913,10 +10149,12 @@ func awsAwsjson11_deserializeOpDocumentListApplicationSnapshotsOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } + case "SnapshotSummaries": if err := awsAwsjson11_deserializeDocumentSnapshotSummaries(&sv.SnapshotSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9952,6 +10190,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9960,6 +10199,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9995,6 +10235,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp if err := awsAwsjson11_deserializeDocumentApplicationVersionSummaries(&sv.ApplicationVersionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10003,6 +10244,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10038,6 +10280,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10073,6 +10316,7 @@ func awsAwsjson11_deserializeOpDocumentRollbackApplicationOutput(v **RollbackApp if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -10081,6 +10325,7 @@ func awsAwsjson11_deserializeOpDocumentRollbackApplicationOutput(v **RollbackApp } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -10120,6 +10365,7 @@ func awsAwsjson11_deserializeOpDocumentStartApplicationOutput(v **StartApplicati } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -10159,6 +10405,7 @@ func awsAwsjson11_deserializeOpDocumentStopApplicationOutput(v **StopApplication } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -10260,10 +10507,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationMaintenanceConfiguration } sv.ApplicationARN = ptr.String(jtv) } + case "ApplicationMaintenanceConfigurationDescription": if err := awsAwsjson11_deserializeDocumentApplicationMaintenanceConfigurationDescription(&sv.ApplicationMaintenanceConfigurationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -10299,6 +10548,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsAwsjson11_deserializeDocumentApplicationDetail(&sv.ApplicationDetail, value); err != nil { return err } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -10307,6 +10557,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesisvideo/deserializers.go b/service/kinesisvideo/deserializers.go index 69a8b81b0fb..4f5955374da 100644 --- a/service/kinesisvideo/deserializers.go +++ b/service/kinesisvideo/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalingChannelOutput(v **CreateSi } sv.ChannelARN = ptr.String(jtv) } + default: _, _ = key, value @@ -363,6 +364,7 @@ func awsRestjson1_deserializeOpDocumentCreateStreamOutput(v **CreateStreamOutput } sv.StreamARN = ptr.String(jtv) } + default: _, _ = key, value @@ -843,14 +845,17 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } } + case "EdgeAgentStatus": if err := awsRestjson1_deserializeDocumentEdgeAgentStatus(&sv.EdgeAgentStatus, value); err != nil { return err } + case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } + case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -859,6 +864,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.FailedStatusDetails = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -874,6 +880,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -882,6 +889,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -890,6 +898,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.StreamName = ptr.String(jtv) } + case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -898,6 +907,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEdgeConfigurationOutput(v **Descr } sv.SyncStatus = types.SyncStatus(jtv) } + default: _, _ = key, value @@ -1058,6 +1068,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImageGenerationConfigurationOutpu if err := awsRestjson1_deserializeDocumentImageGenerationConfiguration(&sv.ImageGenerationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1218,6 +1229,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMappedResourceConfigurationOutput if err := awsRestjson1_deserializeDocumentMappedResourceConfigurationList(&sv.MappedResourceConfigurationList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1226,6 +1238,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMappedResourceConfigurationOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1386,6 +1399,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMediaStorageConfigurationOutput(v if err := awsRestjson1_deserializeDocumentMediaStorageConfiguration(&sv.MediaStorageConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1546,6 +1560,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationConfigurationOutput(v if err := awsRestjson1_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1706,6 +1721,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSignalingChannelOutput(v **Descri if err := awsRestjson1_deserializeDocumentChannelInfo(&sv.ChannelInfo, value); err != nil { return err } + default: _, _ = key, value @@ -1866,6 +1882,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStreamOutput(v **DescribeStreamOu if err := awsRestjson1_deserializeDocumentStreamInfo(&sv.StreamInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2030,6 +2047,7 @@ func awsRestjson1_deserializeOpDocumentGetDataEndpointOutput(v **GetDataEndpoint } sv.DataEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -2193,6 +2211,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalingChannelEndpointOutput(v **Get if err := awsRestjson1_deserializeDocumentResourceEndpointList(&sv.ResourceEndpointList, value); err != nil { return err } + default: _, _ = key, value @@ -2350,6 +2369,7 @@ func awsRestjson1_deserializeOpDocumentListEdgeAgentConfigurationsOutput(v **Lis if err := awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfigList(&sv.EdgeConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2358,6 +2378,7 @@ func awsRestjson1_deserializeOpDocumentListEdgeAgentConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2515,6 +2536,7 @@ func awsRestjson1_deserializeOpDocumentListSignalingChannelsOutput(v **ListSigna if err := awsRestjson1_deserializeDocumentChannelInfoList(&sv.ChannelInfoList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2523,6 +2545,7 @@ func awsRestjson1_deserializeOpDocumentListSignalingChannelsOutput(v **ListSigna } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2681,10 +2704,12 @@ func awsRestjson1_deserializeOpDocumentListStreamsOutput(v **ListStreamsOutput, } sv.NextToken = ptr.String(jtv) } + case "StreamInfoList": if err := awsRestjson1_deserializeDocumentStreamInfoList(&sv.StreamInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -2849,10 +2874,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3020,10 +3047,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForStreamOutput(v **ListTagsForSt } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3201,10 +3230,12 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } } + case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } + case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -3213,6 +3244,7 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.FailedStatusDetails = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3228,6 +3260,7 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -3236,6 +3269,7 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3244,6 +3278,7 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.StreamName = ptr.String(jtv) } + case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -3252,6 +3287,7 @@ func awsRestjson1_deserializeOpDocumentStartEdgeConfigurationUpdateOutput(v **St } sv.SyncStatus = types.SyncStatus(jtv) } + default: _, _ = key, value @@ -4849,6 +4885,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4888,6 +4925,7 @@ func awsRestjson1_deserializeDocumentAccountChannelLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4927,6 +4965,7 @@ func awsRestjson1_deserializeDocumentAccountStreamLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4966,6 +5005,7 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelARN = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -4974,6 +5014,7 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelName = ptr.String(jtv) } + case "ChannelStatus": if value != nil { jtv, ok := value.(string) @@ -4982,6 +5023,7 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelStatus = types.Status(jtv) } + case "ChannelType": if value != nil { jtv, ok := value.(string) @@ -4990,6 +5032,7 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.ChannelType = types.ChannelType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5005,10 +5048,12 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } } + case "SingleMasterConfiguration": if err := awsRestjson1_deserializeDocumentSingleMasterConfiguration(&sv.SingleMasterConfiguration, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -5017,6 +5062,7 @@ func awsRestjson1_deserializeDocumentChannelInfo(v **types.ChannelInfo, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5090,6 +5136,7 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5129,6 +5176,7 @@ func awsRestjson1_deserializeDocumentDeletionConfig(v **types.DeletionConfig, va } sv.DeleteAfterUpload = ptr.Bool(jtv) } + case "EdgeRetentionInHours": if value != nil { jtv, ok := value.(json.Number) @@ -5141,10 +5189,12 @@ func awsRestjson1_deserializeDocumentDeletionConfig(v **types.DeletionConfig, va } sv.EdgeRetentionInHours = ptr.Int32(int32(i64)) } + case "LocalSizeConfig": if err := awsRestjson1_deserializeDocumentLocalSizeConfig(&sv.LocalSizeConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5184,6 +5234,7 @@ func awsRestjson1_deserializeDocumentDeviceStreamLimitExceededException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5219,10 +5270,12 @@ func awsRestjson1_deserializeDocumentEdgeAgentStatus(v **types.EdgeAgentStatus, if err := awsRestjson1_deserializeDocumentLastRecorderStatus(&sv.LastRecorderStatus, value); err != nil { return err } + case "LastUploaderStatus": if err := awsRestjson1_deserializeDocumentLastUploaderStatus(&sv.LastUploaderStatus, value); err != nil { return err } + default: _, _ = key, value @@ -5258,6 +5311,7 @@ func awsRestjson1_deserializeDocumentEdgeConfig(v **types.EdgeConfig, value inte if err := awsRestjson1_deserializeDocumentDeletionConfig(&sv.DeletionConfig, value); err != nil { return err } + case "HubDeviceArn": if value != nil { jtv, ok := value.(string) @@ -5266,14 +5320,17 @@ func awsRestjson1_deserializeDocumentEdgeConfig(v **types.EdgeConfig, value inte } sv.HubDeviceArn = ptr.String(jtv) } + case "RecorderConfig": if err := awsRestjson1_deserializeDocumentRecorderConfig(&sv.RecorderConfig, value); err != nil { return err } + case "UploaderConfig": if err := awsRestjson1_deserializeDocumentUploaderConfig(&sv.UploaderConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5345,6 +5402,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag if err := awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -5353,10 +5411,12 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.Format = types.Format(jtv) } + case "FormatConfig": if err := awsRestjson1_deserializeDocumentFormatConfig(&sv.FormatConfig, value); err != nil { return err } + case "HeightPixels": if value != nil { jtv, ok := value.(json.Number) @@ -5369,6 +5429,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.HeightPixels = ptr.Int32(int32(i64)) } + case "ImageSelectorType": if value != nil { jtv, ok := value.(string) @@ -5377,6 +5438,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.ImageSelectorType = types.ImageSelectorType(jtv) } + case "SamplingInterval": if value != nil { jtv, ok := value.(json.Number) @@ -5389,6 +5451,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.SamplingInterval = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5397,6 +5460,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.Status = types.ConfigurationStatus(jtv) } + case "WidthPixels": if value != nil { jtv, ok := value.(json.Number) @@ -5409,6 +5473,7 @@ func awsRestjson1_deserializeDocumentImageGenerationConfiguration(v **types.Imag } sv.WidthPixels = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5448,6 +5513,7 @@ func awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(v **types. } sv.DestinationRegion = ptr.String(jtv) } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -5456,6 +5522,7 @@ func awsRestjson1_deserializeDocumentImageGenerationDestinationConfig(v **types. } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -5495,6 +5562,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5534,6 +5602,7 @@ func awsRestjson1_deserializeDocumentInvalidDeviceException(v **types.InvalidDev } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5573,6 +5642,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceFormatException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5612,6 +5682,7 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } sv.JobStatusDetails = ptr.String(jtv) } + case "LastCollectedTime": if value != nil { switch jtv := value.(type) { @@ -5627,6 +5698,7 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5642,6 +5714,7 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } } + case "RecorderStatus": if value != nil { jtv, ok := value.(string) @@ -5650,6 +5723,7 @@ func awsRestjson1_deserializeDocumentLastRecorderStatus(v **types.LastRecorderSt } sv.RecorderStatus = types.RecorderStatus(jtv) } + default: _, _ = key, value @@ -5689,6 +5763,7 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } sv.JobStatusDetails = ptr.String(jtv) } + case "LastCollectedTime": if value != nil { switch jtv := value.(type) { @@ -5704,6 +5779,7 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5719,6 +5795,7 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } } + case "UploaderStatus": if value != nil { jtv, ok := value.(string) @@ -5727,6 +5804,7 @@ func awsRestjson1_deserializeDocumentLastUploaderStatus(v **types.LastUploaderSt } sv.UploaderStatus = types.UploaderStatus(jtv) } + default: _, _ = key, value @@ -5773,10 +5851,12 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } } + case "EdgeConfig": if err := awsRestjson1_deserializeDocumentEdgeConfig(&sv.EdgeConfig, value); err != nil { return err } + case "FailedStatusDetails": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5865,7 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.FailedStatusDetails = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5800,6 +5881,7 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -5808,6 +5890,7 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -5816,6 +5899,7 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.StreamName = ptr.String(jtv) } + case "SyncStatus": if value != nil { jtv, ok := value.(string) @@ -5824,6 +5908,7 @@ func awsRestjson1_deserializeDocumentListEdgeAgentConfigurationsEdgeConfig(v **t } sv.SyncStatus = types.SyncStatus(jtv) } + default: _, _ = key, value @@ -5901,6 +5986,7 @@ func awsRestjson1_deserializeDocumentLocalSizeConfig(v **types.LocalSizeConfig, } sv.MaxLocalMediaSizeInMB = ptr.Int32(int32(i64)) } + case "StrategyOnFullSize": if value != nil { jtv, ok := value.(string) @@ -5909,6 +5995,7 @@ func awsRestjson1_deserializeDocumentLocalSizeConfig(v **types.LocalSizeConfig, } sv.StrategyOnFullSize = types.StrategyOnFullSize(jtv) } + default: _, _ = key, value @@ -5982,6 +6069,7 @@ func awsRestjson1_deserializeDocumentMappedResourceConfigurationListItem(v **typ } sv.ARN = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5990,6 +6078,7 @@ func awsRestjson1_deserializeDocumentMappedResourceConfigurationListItem(v **typ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6029,6 +6118,7 @@ func awsRestjson1_deserializeDocumentMediaSourceConfig(v **types.MediaSourceConf } sv.MediaUriSecretArn = ptr.String(jtv) } + case "MediaUriType": if value != nil { jtv, ok := value.(string) @@ -6037,6 +6127,7 @@ func awsRestjson1_deserializeDocumentMediaSourceConfig(v **types.MediaSourceConf } sv.MediaUriType = types.MediaUriType(jtv) } + default: _, _ = key, value @@ -6076,6 +6167,7 @@ func awsRestjson1_deserializeDocumentMediaStorageConfiguration(v **types.MediaSt } sv.Status = types.MediaStorageConfigurationStatus(jtv) } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6084,6 +6176,7 @@ func awsRestjson1_deserializeDocumentMediaStorageConfiguration(v **types.MediaSt } sv.StreamARN = ptr.String(jtv) } + default: _, _ = key, value @@ -6123,6 +6216,7 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6162,6 +6256,7 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6197,6 +6292,7 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsRestjson1_deserializeDocumentNotificationDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6205,6 +6301,7 @@ func awsRestjson1_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.Status = types.ConfigurationStatus(jtv) } + default: _, _ = key, value @@ -6244,6 +6341,7 @@ func awsRestjson1_deserializeDocumentNotificationDestinationConfig(v **types.Not } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -6279,10 +6377,12 @@ func awsRestjson1_deserializeDocumentRecorderConfig(v **types.RecorderConfig, va if err := awsRestjson1_deserializeDocumentMediaSourceConfig(&sv.MediaSourceConfig, value); err != nil { return err } + case "ScheduleConfig": if err := awsRestjson1_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6356,6 +6456,7 @@ func awsRestjson1_deserializeDocumentResourceEndpointListItem(v **types.Resource } sv.Protocol = types.ChannelProtocol(jtv) } + case "ResourceEndpoint": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6465,7 @@ func awsRestjson1_deserializeDocumentResourceEndpointListItem(v **types.Resource } sv.ResourceEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -6403,6 +6505,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6442,6 +6545,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6521,6 +6625,7 @@ func awsRestjson1_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -6529,6 +6634,7 @@ func awsRestjson1_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.ScheduleExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -6572,6 +6678,7 @@ func awsRestjson1_deserializeDocumentSingleMasterConfiguration(v **types.SingleM } sv.MessageTtlSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6611,6 +6718,7 @@ func awsRestjson1_deserializeDocumentStreamEdgeConfigurationNotFoundException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6657,6 +6765,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } } + case "DataRetentionInHours": if value != nil { jtv, ok := value.(json.Number) @@ -6669,6 +6778,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.DataRetentionInHours = ptr.Int32(int32(i64)) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6787,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.DeviceName = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6685,6 +6796,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.KmsKeyId = ptr.String(jtv) } + case "MediaType": if value != nil { jtv, ok := value.(string) @@ -6693,6 +6805,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.MediaType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6701,6 +6814,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Status = types.Status(jtv) } + case "StreamARN": if value != nil { jtv, ok := value.(string) @@ -6709,6 +6823,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamARN = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -6717,6 +6832,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.StreamName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -6725,6 +6841,7 @@ func awsRestjson1_deserializeDocumentStreamInfo(v **types.StreamInfo, value inte } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6798,6 +6915,7 @@ func awsRestjson1_deserializeDocumentTagsPerResourceExceededLimitException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6833,6 +6951,7 @@ func awsRestjson1_deserializeDocumentUploaderConfig(v **types.UploaderConfig, va if err := awsRestjson1_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6872,6 +6991,7 @@ func awsRestjson1_deserializeDocumentVersionMismatchException(v **types.VersionM } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesisvideoarchivedmedia/deserializers.go b/service/kinesisvideoarchivedmedia/deserializers.go index 1a3000dc52a..f8bdac7d8da 100644 --- a/service/kinesisvideoarchivedmedia/deserializers.go +++ b/service/kinesisvideoarchivedmedia/deserializers.go @@ -339,6 +339,7 @@ func awsRestjson1_deserializeOpDocumentGetDASHStreamingSessionURLOutput(v **GetD } sv.DASHStreamingSessionURL = ptr.String(jtv) } + default: _, _ = key, value @@ -515,6 +516,7 @@ func awsRestjson1_deserializeOpDocumentGetHLSStreamingSessionURLOutput(v **GetHL } sv.HLSStreamingSessionURL = ptr.String(jtv) } + default: _, _ = key, value @@ -678,6 +680,7 @@ func awsRestjson1_deserializeOpDocumentGetImagesOutput(v **GetImagesOutput, valu if err := awsRestjson1_deserializeDocumentImages(&sv.Images, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -686,6 +689,7 @@ func awsRestjson1_deserializeOpDocumentGetImagesOutput(v **GetImagesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -974,6 +978,7 @@ func awsRestjson1_deserializeOpDocumentListFragmentsOutput(v **ListFragmentsOutp if err := awsRestjson1_deserializeDocumentFragmentList(&sv.Fragments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -982,6 +987,7 @@ func awsRestjson1_deserializeOpDocumentListFragmentsOutput(v **ListFragmentsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1345,6 +1351,7 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1388,6 +1395,7 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentLengthInMilliseconds = i64 } + case "FragmentNumber": if value != nil { jtv, ok := value.(string) @@ -1396,6 +1404,7 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentNumber = ptr.String(jtv) } + case "FragmentSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1408,6 +1417,7 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } sv.FragmentSizeInBytes = i64 } + case "ProducerTimestamp": if value != nil { switch jtv := value.(type) { @@ -1423,6 +1433,7 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } } + case "ServerTimestamp": if value != nil { switch jtv := value.(type) { @@ -1438,6 +1449,7 @@ func awsRestjson1_deserializeDocumentFragment(v **types.Fragment, value interfac } } + default: _, _ = key, value @@ -1511,6 +1523,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Error = types.ImageError(jtv) } + case "ImageContent": if value != nil { jtv, ok := value.(string) @@ -1519,6 +1532,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageContent = ptr.String(jtv) } + case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -1534,6 +1548,7 @@ func awsRestjson1_deserializeDocumentImage(v **types.Image, value interface{}) e } } + default: _, _ = key, value @@ -1607,6 +1622,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1646,6 +1662,7 @@ func awsRestjson1_deserializeDocumentInvalidCodecPrivateDataException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1685,6 +1702,7 @@ func awsRestjson1_deserializeDocumentInvalidMediaFrameException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1724,6 +1742,7 @@ func awsRestjson1_deserializeDocumentMissingCodecPrivateDataException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1763,6 +1782,7 @@ func awsRestjson1_deserializeDocumentNoDataRetentionException(v **types.NoDataRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1802,6 +1822,7 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1841,6 +1862,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1880,6 +1902,7 @@ func awsRestjson1_deserializeDocumentUnsupportedStreamMediaTypeException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesisvideomedia/deserializers.go b/service/kinesisvideomedia/deserializers.go index fe58d2462f6..a2f1944b8fc 100644 --- a/service/kinesisvideomedia/deserializers.go +++ b/service/kinesisvideomedia/deserializers.go @@ -409,6 +409,7 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -448,6 +449,7 @@ func awsRestjson1_deserializeDocumentConnectionLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -487,6 +489,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -526,6 +529,7 @@ func awsRestjson1_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -565,6 +569,7 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -604,6 +609,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesisvideosignaling/deserializers.go b/service/kinesisvideosignaling/deserializers.go index 357bf7495d7..6a5b5ea76a4 100644 --- a/service/kinesisvideosignaling/deserializers.go +++ b/service/kinesisvideosignaling/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentGetIceServerConfigOutput(v **GetIceServer if err := awsRestjson1_deserializeDocumentIceServerList(&sv.IceServerList, value); err != nil { return err } + default: _, _ = key, value @@ -350,6 +351,7 @@ func awsRestjson1_deserializeOpDocumentSendAlexaOfferToMasterOutput(v **SendAlex } sv.Answer = ptr.String(jtv) } + default: _, _ = key, value @@ -605,6 +607,7 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -644,6 +647,7 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Password = ptr.String(jtv) } + case "Ttl": if value != nil { jtv, ok := value.(json.Number) @@ -656,10 +660,12 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Ttl = ptr.Int32(int32(i64)) } + case "Uris": if err := awsRestjson1_deserializeDocumentUris(&sv.Uris, value); err != nil { return err } + case "Username": if value != nil { jtv, ok := value.(string) @@ -668,6 +674,7 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -741,6 +748,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -780,6 +788,7 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -819,6 +828,7 @@ func awsRestjson1_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -858,6 +868,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -897,6 +908,7 @@ func awsRestjson1_deserializeDocumentSessionExpiredException(v **types.SessionEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kinesisvideowebrtcstorage/deserializers.go b/service/kinesisvideowebrtcstorage/deserializers.go index 839a2bc520f..9e13f316431 100644 --- a/service/kinesisvideowebrtcstorage/deserializers.go +++ b/service/kinesisvideowebrtcstorage/deserializers.go @@ -410,6 +410,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -449,6 +450,7 @@ func awsRestjson1_deserializeDocumentClientLimitExceededException(v **types.Clie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -488,6 +490,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -527,6 +530,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/kms/deserializers.go b/service/kms/deserializers.go index 6962940168f..4a408e0fff5 100644 --- a/service/kms/deserializers.go +++ b/service/kms/deserializers.go @@ -8330,6 +8330,7 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.AliasArn = ptr.String(jtv) } + case "AliasName": if value != nil { jtv, ok := value.(string) @@ -8338,6 +8339,7 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.AliasName = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -8353,6 +8355,7 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } } + case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8368,6 +8371,7 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } } + case "TargetKeyId": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8380,7 @@ func awsAwsjson11_deserializeDocumentAliasListEntry(v **types.AliasListEntry, va } sv.TargetKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -8415,6 +8420,7 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8454,6 +8460,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInUseException(v **types.Clo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8493,6 +8500,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterInvalidConfigurationExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8532,6 +8540,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotActiveException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8571,6 +8580,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8610,6 +8620,7 @@ func awsAwsjson11_deserializeDocumentCloudHsmClusterNotRelatedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8649,6 +8660,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8688,6 +8700,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreHasCMKsException(v **types.Cu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8727,6 +8740,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreInvalidStateException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8766,6 +8780,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNameInUseException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8805,6 +8820,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoreNotFoundException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8878,6 +8894,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CloudHsmClusterId = ptr.String(jtv) } + case "ConnectionErrorCode": if value != nil { jtv, ok := value.(string) @@ -8886,6 +8903,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.ConnectionErrorCode = types.ConnectionErrorCodeType(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -8894,6 +8912,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.ConnectionState = types.ConnectionStateType(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -8909,6 +8928,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } } + case "CustomKeyStoreId": if value != nil { jtv, ok := value.(string) @@ -8917,6 +8937,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreId = ptr.String(jtv) } + case "CustomKeyStoreName": if value != nil { jtv, ok := value.(string) @@ -8925,6 +8946,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreName = ptr.String(jtv) } + case "CustomKeyStoreType": if value != nil { jtv, ok := value.(string) @@ -8933,6 +8955,7 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.CustomKeyStoreType = types.CustomKeyStoreType(jtv) } + case "TrustAnchorCertificate": if value != nil { jtv, ok := value.(string) @@ -8941,10 +8964,12 @@ func awsAwsjson11_deserializeDocumentCustomKeyStoresListEntry(v **types.CustomKe } sv.TrustAnchorCertificate = ptr.String(jtv) } + case "XksProxyConfiguration": if err := awsAwsjson11_deserializeDocumentXksProxyConfigurationType(&sv.XksProxyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8984,6 +9009,7 @@ func awsAwsjson11_deserializeDocumentDependencyTimeoutException(v **types.Depend } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9023,6 +9049,7 @@ func awsAwsjson11_deserializeDocumentDisabledException(v **types.DisabledExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9062,6 +9089,7 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9173,6 +9201,7 @@ func awsAwsjson11_deserializeDocumentExpiredImportTokenException(v **types.Expir } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9208,10 +9237,12 @@ func awsAwsjson11_deserializeDocumentGrantConstraints(v **types.GrantConstraints if err := awsAwsjson11_deserializeDocumentEncryptionContextType(&sv.EncryptionContextEquals, value); err != nil { return err } + case "EncryptionContextSubset": if err := awsAwsjson11_deserializeDocumentEncryptionContextType(&sv.EncryptionContextSubset, value); err != nil { return err } + default: _, _ = key, value @@ -9281,6 +9312,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va if err := awsAwsjson11_deserializeDocumentGrantConstraints(&sv.Constraints, value); err != nil { return err } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -9296,6 +9328,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } } + case "GranteePrincipal": if value != nil { jtv, ok := value.(string) @@ -9304,6 +9337,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.GranteePrincipal = ptr.String(jtv) } + case "GrantId": if value != nil { jtv, ok := value.(string) @@ -9312,6 +9346,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.GrantId = ptr.String(jtv) } + case "IssuingAccount": if value != nil { jtv, ok := value.(string) @@ -9320,6 +9355,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.IssuingAccount = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -9328,6 +9364,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.KeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9336,10 +9373,12 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.Name = ptr.String(jtv) } + case "Operations": if err := awsAwsjson11_deserializeDocumentGrantOperationList(&sv.Operations, value); err != nil { return err } + case "RetiringPrincipal": if value != nil { jtv, ok := value.(string) @@ -9348,6 +9387,7 @@ func awsAwsjson11_deserializeDocumentGrantListEntry(v **types.GrantListEntry, va } sv.RetiringPrincipal = ptr.String(jtv) } + default: _, _ = key, value @@ -9423,6 +9463,7 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyException(v **types.IncorrectKe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9462,6 +9503,7 @@ func awsAwsjson11_deserializeDocumentIncorrectKeyMaterialException(v **types.Inc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9501,6 +9543,7 @@ func awsAwsjson11_deserializeDocumentIncorrectTrustAnchorException(v **types.Inc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9540,6 +9583,7 @@ func awsAwsjson11_deserializeDocumentInvalidAliasNameException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9579,6 +9623,7 @@ func awsAwsjson11_deserializeDocumentInvalidArnException(v **types.InvalidArnExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9618,6 +9663,7 @@ func awsAwsjson11_deserializeDocumentInvalidCiphertextException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9657,6 +9703,7 @@ func awsAwsjson11_deserializeDocumentInvalidGrantIdException(v **types.InvalidGr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9696,6 +9743,7 @@ func awsAwsjson11_deserializeDocumentInvalidGrantTokenException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9735,6 +9783,7 @@ func awsAwsjson11_deserializeDocumentInvalidImportTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9774,6 +9823,7 @@ func awsAwsjson11_deserializeDocumentInvalidKeyUsageException(v **types.InvalidK } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9813,6 +9863,7 @@ func awsAwsjson11_deserializeDocumentInvalidMarkerException(v **types.InvalidMar } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9922,6 +9973,7 @@ func awsAwsjson11_deserializeDocumentKeyListEntry(v **types.KeyListEntry, value } sv.KeyArn = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -9930,6 +9982,7 @@ func awsAwsjson11_deserializeDocumentKeyListEntry(v **types.KeyListEntry, value } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -9969,6 +10022,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Arn = ptr.String(jtv) } + case "AWSAccountId": if value != nil { jtv, ok := value.(string) @@ -9977,6 +10031,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.AWSAccountId = ptr.String(jtv) } + case "CloudHsmClusterId": if value != nil { jtv, ok := value.(string) @@ -9985,6 +10040,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CloudHsmClusterId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -10000,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } + case "CustomerMasterKeySpec": if value != nil { jtv, ok := value.(string) @@ -10008,6 +10065,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CustomerMasterKeySpec = types.CustomerMasterKeySpec(jtv) } + case "CustomKeyStoreId": if value != nil { jtv, ok := value.(string) @@ -10016,6 +10074,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.CustomKeyStoreId = ptr.String(jtv) } + case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -10031,6 +10090,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10039,6 +10099,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Description = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -10047,10 +10108,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Enabled = jtv } + case "EncryptionAlgorithms": if err := awsAwsjson11_deserializeDocumentEncryptionAlgorithmSpecList(&sv.EncryptionAlgorithms, value); err != nil { return err } + case "ExpirationModel": if value != nil { jtv, ok := value.(string) @@ -10059,10 +10122,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.ExpirationModel = types.ExpirationModelType(jtv) } + case "KeyAgreementAlgorithms": if err := awsAwsjson11_deserializeDocumentKeyAgreementAlgorithmSpecList(&sv.KeyAgreementAlgorithms, value); err != nil { return err } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -10071,6 +10136,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyId = ptr.String(jtv) } + case "KeyManager": if value != nil { jtv, ok := value.(string) @@ -10079,6 +10145,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyManager = types.KeyManagerType(jtv) } + case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -10087,6 +10154,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeySpec = types.KeySpec(jtv) } + case "KeyState": if value != nil { jtv, ok := value.(string) @@ -10095,6 +10163,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyState = types.KeyState(jtv) } + case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -10103,10 +10172,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.KeyUsage = types.KeyUsageType(jtv) } + case "MacAlgorithms": if err := awsAwsjson11_deserializeDocumentMacAlgorithmSpecList(&sv.MacAlgorithms, value); err != nil { return err } + case "MultiRegion": if value != nil { jtv, ok := value.(bool) @@ -10115,10 +10186,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.MultiRegion = ptr.Bool(jtv) } + case "MultiRegionConfiguration": if err := awsAwsjson11_deserializeDocumentMultiRegionConfiguration(&sv.MultiRegionConfiguration, value); err != nil { return err } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -10127,6 +10200,7 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.Origin = types.OriginType(jtv) } + case "PendingDeletionWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -10139,10 +10213,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } sv.PendingDeletionWindowInDays = ptr.Int32(int32(i64)) } + case "SigningAlgorithms": if err := awsAwsjson11_deserializeDocumentSigningAlgorithmSpecList(&sv.SigningAlgorithms, value); err != nil { return err } + case "ValidTo": if value != nil { switch jtv := value.(type) { @@ -10158,10 +10234,12 @@ func awsAwsjson11_deserializeDocumentKeyMetadata(v **types.KeyMetadata, value in } } + case "XksKeyConfiguration": if err := awsAwsjson11_deserializeDocumentXksKeyConfigurationType(&sv.XksKeyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10201,6 +10279,7 @@ func awsAwsjson11_deserializeDocumentKeyUnavailableException(v **types.KeyUnavai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10240,6 +10319,7 @@ func awsAwsjson11_deserializeDocumentKMSInternalException(v **types.KMSInternalE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10279,6 +10359,7 @@ func awsAwsjson11_deserializeDocumentKMSInvalidMacException(v **types.KMSInvalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10318,6 +10399,7 @@ func awsAwsjson11_deserializeDocumentKMSInvalidSignatureException(v **types.KMSI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10357,6 +10439,7 @@ func awsAwsjson11_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10396,6 +10479,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10471,6 +10555,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10510,14 +10595,17 @@ func awsAwsjson11_deserializeDocumentMultiRegionConfiguration(v **types.MultiReg } sv.MultiRegionKeyType = types.MultiRegionKeyType(jtv) } + case "PrimaryKey": if err := awsAwsjson11_deserializeDocumentMultiRegionKey(&sv.PrimaryKey, value); err != nil { return err } + case "ReplicaKeys": if err := awsAwsjson11_deserializeDocumentMultiRegionKeyList(&sv.ReplicaKeys, value); err != nil { return err } + default: _, _ = key, value @@ -10557,6 +10645,7 @@ func awsAwsjson11_deserializeDocumentMultiRegionKey(v **types.MultiRegionKey, va } sv.Arn = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -10565,6 +10654,7 @@ func awsAwsjson11_deserializeDocumentMultiRegionKey(v **types.MultiRegionKey, va } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -10638,6 +10728,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10747,6 +10838,7 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } sv.KeyId = ptr.String(jtv) } + case "RotationDate": if value != nil { switch jtv := value.(type) { @@ -10762,6 +10854,7 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } } + case "RotationType": if value != nil { jtv, ok := value.(string) @@ -10770,6 +10863,7 @@ func awsAwsjson11_deserializeDocumentRotationsListEntry(v **types.RotationsListE } sv.RotationType = types.RotationType(jtv) } + default: _, _ = key, value @@ -10845,6 +10939,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -10853,6 +10948,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -10892,6 +10988,7 @@ func awsAwsjson11_deserializeDocumentTagException(v **types.TagException, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10965,6 +11062,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11004,6 +11102,7 @@ func awsAwsjson11_deserializeDocumentXksKeyAlreadyInUseException(v **types.XksKe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11043,6 +11142,7 @@ func awsAwsjson11_deserializeDocumentXksKeyConfigurationType(v **types.XksKeyCon } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -11082,6 +11182,7 @@ func awsAwsjson11_deserializeDocumentXksKeyInvalidConfigurationException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11121,6 +11222,7 @@ func awsAwsjson11_deserializeDocumentXksKeyNotFoundException(v **types.XksKeyNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11160,6 +11262,7 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.AccessKeyId = ptr.String(jtv) } + case "Connectivity": if value != nil { jtv, ok := value.(string) @@ -11168,6 +11271,7 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.Connectivity = types.XksProxyConnectivityType(jtv) } + case "UriEndpoint": if value != nil { jtv, ok := value.(string) @@ -11176,6 +11280,7 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.UriEndpoint = ptr.String(jtv) } + case "UriPath": if value != nil { jtv, ok := value.(string) @@ -11184,6 +11289,7 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.UriPath = ptr.String(jtv) } + case "VpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -11192,6 +11298,7 @@ func awsAwsjson11_deserializeDocumentXksProxyConfigurationType(v **types.XksProx } sv.VpcEndpointServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -11231,6 +11338,7 @@ func awsAwsjson11_deserializeDocumentXksProxyIncorrectAuthenticationCredentialEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11270,6 +11378,7 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidConfigurationException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11309,6 +11418,7 @@ func awsAwsjson11_deserializeDocumentXksProxyInvalidResponseException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11348,6 +11458,7 @@ func awsAwsjson11_deserializeDocumentXksProxyUriEndpointInUseException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11387,6 +11498,7 @@ func awsAwsjson11_deserializeDocumentXksProxyUriInUseException(v **types.XksProx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11426,6 +11538,7 @@ func awsAwsjson11_deserializeDocumentXksProxyUriUnreachableException(v **types.X } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11465,6 +11578,7 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInUseException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11504,6 +11618,7 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceInvalidConfigurat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11543,6 +11658,7 @@ func awsAwsjson11_deserializeDocumentXksProxyVpcEndpointServiceNotFoundException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11582,6 +11698,7 @@ func awsAwsjson11_deserializeOpDocumentCancelKeyDeletionOutput(v **CancelKeyDele } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -11652,6 +11769,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomKeyStoreOutput(v **CreateCust } sv.CustomKeyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -11691,6 +11809,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantId = ptr.String(jtv) } + case "GrantToken": if value != nil { jtv, ok := value.(string) @@ -11699,6 +11818,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11734,6 +11854,7 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.KeyMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -11777,6 +11898,7 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.CiphertextForRecipient = dv } + case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -11785,6 +11907,7 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.EncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -11793,6 +11916,7 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.KeyId = ptr.String(jtv) } + case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -11805,6 +11929,7 @@ func awsAwsjson11_deserializeOpDocumentDecryptOutput(v **DecryptOutput, value in } sv.Plaintext = dv } + default: _, _ = key, value @@ -11879,6 +12004,7 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.CiphertextForRecipient = dv } + case "KeyAgreementAlgorithm": if value != nil { jtv, ok := value.(string) @@ -11887,6 +12013,7 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyAgreementAlgorithm = types.KeyAgreementAlgorithmSpec(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -11895,6 +12022,7 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyId = ptr.String(jtv) } + case "KeyOrigin": if value != nil { jtv, ok := value.(string) @@ -11903,6 +12031,7 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.KeyOrigin = types.OriginType(jtv) } + case "SharedSecret": if value != nil { jtv, ok := value.(string) @@ -11915,6 +12044,7 @@ func awsAwsjson11_deserializeOpDocumentDeriveSharedSecretOutput(v **DeriveShared } sv.SharedSecret = dv } + default: _, _ = key, value @@ -11950,6 +12080,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ if err := awsAwsjson11_deserializeDocumentCustomKeyStoresList(&sv.CustomKeyStores, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -11958,6 +12089,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ } sv.NextMarker = ptr.String(jtv) } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -11966,6 +12098,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCustomKeyStoresOutput(v **Describ } sv.Truncated = jtv } + default: _, _ = key, value @@ -12001,6 +12134,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.KeyMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -12075,6 +12209,7 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.CiphertextBlob = dv } + case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12083,6 +12218,7 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.EncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12091,6 +12227,7 @@ func awsAwsjson11_deserializeOpDocumentEncryptOutput(v **EncryptOutput, value in } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -12134,6 +12271,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.CiphertextBlob = dv } + case "CiphertextForRecipient": if value != nil { jtv, ok := value.(string) @@ -12146,6 +12284,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.CiphertextForRecipient = dv } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12154,6 +12293,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.KeyId = ptr.String(jtv) } + case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -12166,6 +12306,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyOutput(v **GenerateDataKey } sv.Plaintext = dv } + default: _, _ = key, value @@ -12209,6 +12350,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.CiphertextForRecipient = dv } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12359,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.KeyId = ptr.String(jtv) } + case "KeyPairSpec": if value != nil { jtv, ok := value.(string) @@ -12225,6 +12368,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.KeyPairSpec = types.DataKeyPairSpec(jtv) } + case "PrivateKeyCiphertextBlob": if value != nil { jtv, ok := value.(string) @@ -12237,6 +12381,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PrivateKeyCiphertextBlob = dv } + case "PrivateKeyPlaintext": if value != nil { jtv, ok := value.(string) @@ -12249,6 +12394,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PrivateKeyPlaintext = dv } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12261,6 +12407,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairOutput(v **GenerateDat } sv.PublicKey = dv } + default: _, _ = key, value @@ -12300,6 +12447,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.KeyId = ptr.String(jtv) } + case "KeyPairSpec": if value != nil { jtv, ok := value.(string) @@ -12308,6 +12456,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.KeyPairSpec = types.DataKeyPairSpec(jtv) } + case "PrivateKeyCiphertextBlob": if value != nil { jtv, ok := value.(string) @@ -12320,6 +12469,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.PrivateKeyCiphertextBlob = dv } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12332,6 +12482,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyPairWithoutPlaintextOutput } sv.PublicKey = dv } + default: _, _ = key, value @@ -12375,6 +12526,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyWithoutPlaintextOutput(v * } sv.CiphertextBlob = dv } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12383,6 +12535,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataKeyWithoutPlaintextOutput(v * } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -12422,6 +12575,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyId = ptr.String(jtv) } + case "Mac": if value != nil { jtv, ok := value.(string) @@ -12434,6 +12588,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.Mac = dv } + case "MacAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12442,6 +12597,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.MacAlgorithm = types.MacAlgorithmSpec(jtv) } + default: _, _ = key, value @@ -12485,6 +12641,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateRandomOutput(v **GenerateRandomOu } sv.CiphertextForRecipient = dv } + case "Plaintext": if value != nil { jtv, ok := value.(string) @@ -12497,6 +12654,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateRandomOutput(v **GenerateRandomOu } sv.Plaintext = dv } + default: _, _ = key, value @@ -12536,6 +12694,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPolicyOutput(v **GetKeyPolicyOutput } sv.Policy = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -12544,6 +12703,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPolicyOutput(v **GetKeyPolicyOutput } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -12583,6 +12743,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.KeyId = ptr.String(jtv) } + case "KeyRotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -12591,6 +12752,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.KeyRotationEnabled = jtv } + case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -12606,6 +12768,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } } + case "OnDemandRotationStartDate": if value != nil { switch jtv := value.(type) { @@ -12621,6 +12784,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } } + case "RotationPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -12633,6 +12797,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyRotationStatusOutput(v **GetKeyRota } sv.RotationPeriodInDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12676,6 +12841,7 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.ImportToken = dv } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12684,6 +12850,7 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.KeyId = ptr.String(jtv) } + case "ParametersValidTo": if value != nil { switch jtv := value.(type) { @@ -12699,6 +12866,7 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12711,6 +12879,7 @@ func awsAwsjson11_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.PublicKey = dv } + default: _, _ = key, value @@ -12750,14 +12919,17 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.CustomerMasterKeySpec = types.CustomerMasterKeySpec(jtv) } + case "EncryptionAlgorithms": if err := awsAwsjson11_deserializeDocumentEncryptionAlgorithmSpecList(&sv.EncryptionAlgorithms, value); err != nil { return err } + case "KeyAgreementAlgorithms": if err := awsAwsjson11_deserializeDocumentKeyAgreementAlgorithmSpecList(&sv.KeyAgreementAlgorithms, value); err != nil { return err } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -12766,6 +12938,7 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeyId = ptr.String(jtv) } + case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -12774,6 +12947,7 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeySpec = types.KeySpec(jtv) } + case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -12782,6 +12956,7 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.KeyUsage = types.KeyUsageType(jtv) } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -12794,10 +12969,12 @@ func awsAwsjson11_deserializeOpDocumentGetPublicKeyOutput(v **GetPublicKeyOutput } sv.PublicKey = dv } + case "SigningAlgorithms": if err := awsAwsjson11_deserializeDocumentSigningAlgorithmSpecList(&sv.SigningAlgorithms, value); err != nil { return err } + default: _, _ = key, value @@ -12864,6 +13041,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -12872,6 +13050,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextMarker = ptr.String(jtv) } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -12880,6 +13059,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.Truncated = jtv } + default: _, _ = key, value @@ -12915,6 +13095,7 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -12923,6 +13104,7 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va } sv.NextMarker = ptr.String(jtv) } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -12931,6 +13113,7 @@ func awsAwsjson11_deserializeOpDocumentListGrantsOutput(v **ListGrantsOutput, va } sv.Truncated = jtv } + default: _, _ = key, value @@ -12970,10 +13153,12 @@ func awsAwsjson11_deserializeOpDocumentListKeyPoliciesOutput(v **ListKeyPolicies } sv.NextMarker = ptr.String(jtv) } + case "PolicyNames": if err := awsAwsjson11_deserializeDocumentPolicyNameList(&sv.PolicyNames, value); err != nil { return err } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -12982,6 +13167,7 @@ func awsAwsjson11_deserializeOpDocumentListKeyPoliciesOutput(v **ListKeyPolicies } sv.Truncated = jtv } + default: _, _ = key, value @@ -13021,10 +13207,12 @@ func awsAwsjson11_deserializeOpDocumentListKeyRotationsOutput(v **ListKeyRotatio } sv.NextMarker = ptr.String(jtv) } + case "Rotations": if err := awsAwsjson11_deserializeDocumentRotationsList(&sv.Rotations, value); err != nil { return err } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13033,6 +13221,7 @@ func awsAwsjson11_deserializeOpDocumentListKeyRotationsOutput(v **ListKeyRotatio } sv.Truncated = jtv } + default: _, _ = key, value @@ -13068,6 +13257,7 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsAwsjson11_deserializeDocumentKeyList(&sv.Keys, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13076,6 +13266,7 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextMarker = ptr.String(jtv) } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13084,6 +13275,7 @@ func awsAwsjson11_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.Truncated = jtv } + default: _, _ = key, value @@ -13123,10 +13315,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceTagsOutput(v **ListResourceTa } sv.NextMarker = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13135,6 +13329,7 @@ func awsAwsjson11_deserializeOpDocumentListResourceTagsOutput(v **ListResourceTa } sv.Truncated = jtv } + default: _, _ = key, value @@ -13170,6 +13365,7 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -13178,6 +13374,7 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab } sv.NextMarker = ptr.String(jtv) } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -13186,6 +13383,7 @@ func awsAwsjson11_deserializeOpDocumentListRetirableGrantsOutput(v **ListRetirab } sv.Truncated = jtv } + default: _, _ = key, value @@ -13229,6 +13427,7 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.CiphertextBlob = dv } + case "DestinationEncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13237,6 +13436,7 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.DestinationEncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -13245,6 +13445,7 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.KeyId = ptr.String(jtv) } + case "SourceEncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13253,6 +13454,7 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.SourceEncryptionAlgorithm = types.EncryptionAlgorithmSpec(jtv) } + case "SourceKeyId": if value != nil { jtv, ok := value.(string) @@ -13261,6 +13463,7 @@ func awsAwsjson11_deserializeOpDocumentReEncryptOutput(v **ReEncryptOutput, valu } sv.SourceKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -13296,6 +13499,7 @@ func awsAwsjson11_deserializeOpDocumentReplicateKeyOutput(v **ReplicateKeyOutput if err := awsAwsjson11_deserializeDocumentKeyMetadata(&sv.ReplicaKeyMetadata, value); err != nil { return err } + case "ReplicaPolicy": if value != nil { jtv, ok := value.(string) @@ -13304,10 +13508,12 @@ func awsAwsjson11_deserializeOpDocumentReplicateKeyOutput(v **ReplicateKeyOutput } sv.ReplicaPolicy = ptr.String(jtv) } + case "ReplicaTags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.ReplicaTags, value); err != nil { return err } + default: _, _ = key, value @@ -13347,6 +13553,7 @@ func awsAwsjson11_deserializeOpDocumentRotateKeyOnDemandOutput(v **RotateKeyOnDe } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -13393,6 +13600,7 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -13401,6 +13609,7 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.KeyId = ptr.String(jtv) } + case "KeyState": if value != nil { jtv, ok := value.(string) @@ -13409,6 +13618,7 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.KeyState = types.KeyState(jtv) } + case "PendingWindowInDays": if value != nil { jtv, ok := value.(json.Number) @@ -13421,6 +13631,7 @@ func awsAwsjson11_deserializeOpDocumentScheduleKeyDeletionOutput(v **ScheduleKey } sv.PendingWindowInDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13460,6 +13671,7 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.KeyId = ptr.String(jtv) } + case "Signature": if value != nil { jtv, ok := value.(string) @@ -13472,6 +13684,7 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.Signature = dv } + case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13480,6 +13693,7 @@ func awsAwsjson11_deserializeOpDocumentSignOutput(v **SignOutput, value interfac } sv.SigningAlgorithm = types.SigningAlgorithmSpec(jtv) } + default: _, _ = key, value @@ -13550,6 +13764,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyId = ptr.String(jtv) } + case "MacAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13558,6 +13773,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.MacAlgorithm = types.MacAlgorithmSpec(jtv) } + case "MacValid": if value != nil { jtv, ok := value.(bool) @@ -13566,6 +13782,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.MacValid = jtv } + default: _, _ = key, value @@ -13605,6 +13822,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.KeyId = ptr.String(jtv) } + case "SignatureValid": if value != nil { jtv, ok := value.(bool) @@ -13613,6 +13831,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.SignatureValid = jtv } + case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13621,6 +13840,7 @@ func awsAwsjson11_deserializeOpDocumentVerifyOutput(v **VerifyOutput, value inte } sv.SigningAlgorithm = types.SigningAlgorithmSpec(jtv) } + default: _, _ = key, value diff --git a/service/lakeformation/deserializers.go b/service/lakeformation/deserializers.go index 8ab41ea3243..c8e1eacfdc4 100644 --- a/service/lakeformation/deserializers.go +++ b/service/lakeformation/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentAddLFTagsToResourceOutput(v **AddLFTagsTo if err := awsRestjson1_deserializeDocumentLFTagErrors(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -353,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.AccessKeyId = ptr.String(jtv) } + case "Expiration": if value != nil { switch jtv := value.(type) { @@ -368,6 +370,7 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } } + case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -376,6 +379,7 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.SecretAccessKey = ptr.String(jtv) } + case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -384,6 +388,7 @@ func awsRestjson1_deserializeOpDocumentAssumeDecoratedRoleWithSAMLOutput(v **Ass } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -538,6 +543,7 @@ func awsRestjson1_deserializeOpDocumentBatchGrantPermissionsOutput(v **BatchGran if err := awsRestjson1_deserializeDocumentBatchPermissionsFailureList(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -692,6 +698,7 @@ func awsRestjson1_deserializeOpDocumentBatchRevokePermissionsOutput(v **BatchRev if err := awsRestjson1_deserializeDocumentBatchPermissionsFailureList(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -968,6 +975,7 @@ func awsRestjson1_deserializeOpDocumentCommitTransactionOutput(v **CommitTransac } sv.TransactionStatus = types.TransactionStatus(jtv) } + default: _, _ = key, value @@ -1244,6 +1252,7 @@ func awsRestjson1_deserializeOpDocumentCreateLakeFormationIdentityCenterConfigur } sv.ApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2229,6 +2238,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.ApplicationArn = ptr.String(jtv) } + case "CatalogId": if value != nil { jtv, ok := value.(string) @@ -2237,10 +2247,12 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.CatalogId = ptr.String(jtv) } + case "ExternalFiltering": if err := awsRestjson1_deserializeDocumentExternalFilteringConfiguration(&sv.ExternalFiltering, value); err != nil { return err } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -2249,6 +2261,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.InstanceArn = ptr.String(jtv) } + case "ResourceShare": if value != nil { jtv, ok := value.(string) @@ -2257,10 +2270,12 @@ func awsRestjson1_deserializeOpDocumentDescribeLakeFormationIdentityCenterConfig } sv.ResourceShare = ptr.String(jtv) } + case "ShareRecipients": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ShareRecipients, value); err != nil { return err } + default: _, _ = key, value @@ -2421,6 +2436,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour if err := awsRestjson1_deserializeDocumentResourceInfo(&sv.ResourceInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2581,6 +2597,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTransactionOutput(v **DescribeTra if err := awsRestjson1_deserializeDocumentTransactionDescription(&sv.TransactionDescription, value); err != nil { return err } + default: _, _ = key, value @@ -2850,6 +2867,7 @@ func awsRestjson1_deserializeOpDocumentGetDataCellsFilterOutput(v **GetDataCells if err := awsRestjson1_deserializeDocumentDataCellsFilter(&sv.DataCellsFilter, value); err != nil { return err } + default: _, _ = key, value @@ -3011,6 +3029,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakePrincipalOutput(v **GetDataLak } sv.Identity = ptr.String(jtv) } + default: _, _ = key, value @@ -3168,6 +3187,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSettingsOutput(v **GetDataLake if err := awsRestjson1_deserializeDocumentDataLakeSettings(&sv.DataLakeSettings, value); err != nil { return err } + default: _, _ = key, value @@ -3332,10 +3352,12 @@ func awsRestjson1_deserializeOpDocumentGetEffectivePermissionsForPathOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPrincipalResourcePermissionsList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -3503,6 +3525,7 @@ func awsRestjson1_deserializeOpDocumentGetLFTagOutput(v **GetLFTagOutput, value } sv.CatalogId = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -3511,10 +3534,12 @@ func awsRestjson1_deserializeOpDocumentGetLFTagOutput(v **GetLFTagOutput, value } sv.TagKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -3676,6 +3701,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryStateOutput(v **GetQueryStateOutp } sv.Error = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3684,6 +3710,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryStateOutput(v **GetQueryStateOutp } sv.State = types.QueryStateString(jtv) } + default: _, _ = key, value @@ -3850,10 +3877,12 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatisticsOutput(v **GetQueryStat if err := awsRestjson1_deserializeDocumentExecutionStatistics(&sv.ExecutionStatistics, value); err != nil { return err } + case "PlanningStatistics": if err := awsRestjson1_deserializeDocumentPlanningStatistics(&sv.PlanningStatistics, value); err != nil { return err } + case "QuerySubmissionTime": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3895,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryStatisticsOutput(v **GetQueryStat } sv.QuerySubmissionTime = ptr.Time(t) } + default: _, _ = key, value @@ -4032,14 +4062,17 @@ func awsRestjson1_deserializeOpDocumentGetResourceLFTagsOutput(v **GetResourceLF if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagOnDatabase, value); err != nil { return err } + case "LFTagsOnColumns": if err := awsRestjson1_deserializeDocumentColumnLFTagsList(&sv.LFTagsOnColumns, value); err != nil { return err } + case "LFTagsOnTable": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagsOnTable, value); err != nil { return err } + default: _, _ = key, value @@ -4213,10 +4246,12 @@ func awsRestjson1_deserializeOpDocumentGetTableObjectsOutput(v **GetTableObjects } sv.NextToken = ptr.String(jtv) } + case "Objects": if err := awsRestjson1_deserializeDocumentPartitionedTableObjectsList(&sv.Objects, value); err != nil { return err } + default: _, _ = key, value @@ -4387,6 +4422,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.AccessKeyId = ptr.String(jtv) } + case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4402,6 +4438,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } } + case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -4410,6 +4447,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.SecretAccessKey = ptr.String(jtv) } + case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -4418,6 +4456,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGluePartitionCredentialsOutpu } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4588,6 +4627,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.AccessKeyId = ptr.String(jtv) } + case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4603,6 +4643,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } } + case "SecretAccessKey": if value != nil { jtv, ok := value.(string) @@ -4611,6 +4652,7 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.SecretAccessKey = ptr.String(jtv) } + case "SessionToken": if value != nil { jtv, ok := value.(string) @@ -4619,10 +4661,12 @@ func awsRestjson1_deserializeOpDocumentGetTemporaryGlueTableCredentialsOutput(v } sv.SessionToken = ptr.String(jtv) } + case "VendedS3Path": if err := awsRestjson1_deserializeDocumentPathStringList(&sv.VendedS3Path, value); err != nil { return err } + default: _, _ = key, value @@ -4904,6 +4948,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkUnitsOutput(v **GetWorkUnitsOutput } sv.NextToken = ptr.String(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -4912,10 +4957,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkUnitsOutput(v **GetWorkUnitsOutput } sv.QueryId = ptr.String(jtv) } + case "WorkUnitRanges": if err := awsRestjson1_deserializeDocumentWorkUnitRangeList(&sv.WorkUnitRanges, value); err != nil { return err } + default: _, _ = key, value @@ -5170,6 +5217,7 @@ func awsRestjson1_deserializeOpDocumentListDataCellsFilterOutput(v **ListDataCel if err := awsRestjson1_deserializeDocumentDataCellsFilterList(&sv.DataCellsFilters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5226,7 @@ func awsRestjson1_deserializeOpDocumentListDataCellsFilterOutput(v **ListDataCel } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5338,6 +5387,7 @@ func awsRestjson1_deserializeOpDocumentListLakeFormationOptInsOutput(v **ListLak if err := awsRestjson1_deserializeDocumentLakeFormationOptInsInfoList(&sv.LakeFormationOptInsInfoList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5346,6 +5396,7 @@ func awsRestjson1_deserializeOpDocumentListLakeFormationOptInsOutput(v **ListLak } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5509,6 +5560,7 @@ func awsRestjson1_deserializeOpDocumentListLFTagsOutput(v **ListLFTagsOutput, va if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5517,6 +5569,7 @@ func awsRestjson1_deserializeOpDocumentListLFTagsOutput(v **ListLFTagsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5678,10 +5731,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } + case "PrincipalResourcePermissions": if err := awsRestjson1_deserializeDocumentPrincipalResourcePermissionsList(&sv.PrincipalResourcePermissions, value); err != nil { return err } + default: _, _ = key, value @@ -5843,10 +5898,12 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } + case "ResourceInfoList": if err := awsRestjson1_deserializeDocumentResourceInfoList(&sv.ResourceInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -6011,10 +6068,12 @@ func awsRestjson1_deserializeOpDocumentListTableStorageOptimizersOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "StorageOptimizerList": if err := awsRestjson1_deserializeDocumentStorageOptimizerList(&sv.StorageOptimizerList, value); err != nil { return err } + default: _, _ = key, value @@ -6176,10 +6235,12 @@ func awsRestjson1_deserializeOpDocumentListTransactionsOutput(v **ListTransactio } sv.NextToken = ptr.String(jtv) } + case "Transactions": if err := awsRestjson1_deserializeDocumentTransactionDescriptionList(&sv.Transactions, value); err != nil { return err } + default: _, _ = key, value @@ -6546,6 +6607,7 @@ func awsRestjson1_deserializeOpDocumentRemoveLFTagsFromResourceOutput(v **Remove if err := awsRestjson1_deserializeDocumentLFTagErrors(&sv.Failures, value); err != nil { return err } + default: _, _ = key, value @@ -6806,6 +6868,7 @@ func awsRestjson1_deserializeOpDocumentSearchDatabasesByLFTagsOutput(v **SearchD if err := awsRestjson1_deserializeDocumentDatabaseLFTagsList(&sv.DatabaseList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6814,6 +6877,7 @@ func awsRestjson1_deserializeOpDocumentSearchDatabasesByLFTagsOutput(v **SearchD } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6984,10 +7048,12 @@ func awsRestjson1_deserializeOpDocumentSearchTablesByLFTagsOutput(v **SearchTabl } sv.NextToken = ptr.String(jtv) } + case "TableList": if err := awsRestjson1_deserializeDocumentTableLFTagsList(&sv.TableList, value); err != nil { return err } + default: _, _ = key, value @@ -7152,6 +7218,7 @@ func awsRestjson1_deserializeOpDocumentStartQueryPlanningOutput(v **StartQueryPl } sv.QueryId = ptr.String(jtv) } + default: _, _ = key, value @@ -7310,6 +7377,7 @@ func awsRestjson1_deserializeOpDocumentStartTransactionOutput(v **StartTransacti } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7992,6 +8060,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTableStorageOptimizerOutput(v **Upd } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -8679,6 +8748,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8749,6 +8819,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8820,10 +8891,12 @@ func awsRestjson1_deserializeDocumentBatchPermissionsFailureEntry(v **types.Batc if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "RequestEntry": if err := awsRestjson1_deserializeDocumentBatchPermissionsRequestEntry(&sv.RequestEntry, value); err != nil { return err } + default: _, _ = key, value @@ -8897,22 +8970,27 @@ func awsRestjson1_deserializeDocumentBatchPermissionsRequestEntry(v **types.Batc } sv.Id = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "PermissionsWithGrantOption": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.PermissionsWithGrantOption, value); err != nil { return err } + case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } + case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -8979,6 +9057,7 @@ func awsRestjson1_deserializeDocumentColumnLFTag(v **types.ColumnLFTag, value in if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8987,6 +9066,7 @@ func awsRestjson1_deserializeDocumentColumnLFTag(v **types.ColumnLFTag, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9092,6 +9172,7 @@ func awsRestjson1_deserializeDocumentColumnWildcard(v **types.ColumnWildcard, va if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ExcludedColumnNames, value); err != nil { return err } + default: _, _ = key, value @@ -9131,6 +9212,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9204,6 +9286,7 @@ func awsRestjson1_deserializeDocumentDatabaseResource(v **types.DatabaseResource } sv.CatalogId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9212,6 +9295,7 @@ func awsRestjson1_deserializeDocumentDatabaseResource(v **types.DatabaseResource } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9247,10 +9331,12 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } + case "ColumnWildcard": if err := awsRestjson1_deserializeDocumentColumnWildcard(&sv.ColumnWildcard, value); err != nil { return err } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -9259,6 +9345,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9267,10 +9354,12 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.Name = ptr.String(jtv) } + case "RowFilter": if err := awsRestjson1_deserializeDocumentRowFilter(&sv.RowFilter, value); err != nil { return err } + case "TableCatalogId": if value != nil { jtv, ok := value.(string) @@ -9279,6 +9368,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.TableCatalogId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9287,6 +9377,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.TableName = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -9295,6 +9386,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilter(v **types.DataCellsFilter, } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9368,6 +9460,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9376,6 +9469,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.Name = ptr.String(jtv) } + case "TableCatalogId": if value != nil { jtv, ok := value.(string) @@ -9384,6 +9478,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.TableCatalogId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -9392,6 +9487,7 @@ func awsRestjson1_deserializeDocumentDataCellsFilterResource(v **types.DataCells } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -9431,6 +9527,7 @@ func awsRestjson1_deserializeDocumentDataLakePrincipal(v **types.DataLakePrincip } sv.DataLakePrincipalIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -9504,6 +9601,7 @@ func awsRestjson1_deserializeDocumentDataLakeSettings(v **types.DataLakeSettings } sv.AllowExternalDataFiltering = ptr.Bool(jtv) } + case "AllowFullTableExternalDataAccess": if value != nil { jtv, ok := value.(bool) @@ -9512,38 +9610,47 @@ func awsRestjson1_deserializeDocumentDataLakeSettings(v **types.DataLakeSettings } sv.AllowFullTableExternalDataAccess = ptr.Bool(jtv) } + case "AuthorizedSessionTagValueList": if err := awsRestjson1_deserializeDocumentAuthorizedSessionTagValueList(&sv.AuthorizedSessionTagValueList, value); err != nil { return err } + case "CreateDatabaseDefaultPermissions": if err := awsRestjson1_deserializeDocumentPrincipalPermissionsList(&sv.CreateDatabaseDefaultPermissions, value); err != nil { return err } + case "CreateTableDefaultPermissions": if err := awsRestjson1_deserializeDocumentPrincipalPermissionsList(&sv.CreateTableDefaultPermissions, value); err != nil { return err } + case "DataLakeAdmins": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.DataLakeAdmins, value); err != nil { return err } + case "ExternalDataFilteringAllowList": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ExternalDataFilteringAllowList, value); err != nil { return err } + case "Parameters": if err := awsRestjson1_deserializeDocumentParametersMap(&sv.Parameters, value); err != nil { return err } + case "ReadOnlyAdmins": if err := awsRestjson1_deserializeDocumentDataLakePrincipalList(&sv.ReadOnlyAdmins, value); err != nil { return err } + case "TrustedResourceOwners": if err := awsRestjson1_deserializeDocumentTrustedResourceOwners(&sv.TrustedResourceOwners, value); err != nil { return err } + default: _, _ = key, value @@ -9583,6 +9690,7 @@ func awsRestjson1_deserializeDocumentDataLocationResource(v **types.DataLocation } sv.CatalogId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9591,6 +9699,7 @@ func awsRestjson1_deserializeDocumentDataLocationResource(v **types.DataLocation } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9626,6 +9735,7 @@ func awsRestjson1_deserializeDocumentDetailsMap(v **types.DetailsMap, value inte if err := awsRestjson1_deserializeDocumentResourceShareList(&sv.ResourceShare, value); err != nil { return err } + default: _, _ = key, value @@ -9665,6 +9775,7 @@ func awsRestjson1_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9704,6 +9815,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9712,6 +9824,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9755,6 +9868,7 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.AverageExecutionTimeMillis = i64 } + case "DataScannedBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9767,6 +9881,7 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.DataScannedBytes = i64 } + case "WorkUnitsExecutedCount": if value != nil { jtv, ok := value.(json.Number) @@ -9779,6 +9894,7 @@ func awsRestjson1_deserializeDocumentExecutionStatistics(v **types.ExecutionStat } sv.WorkUnitsExecutedCount = i64 } + default: _, _ = key, value @@ -9818,6 +9934,7 @@ func awsRestjson1_deserializeDocumentExpiredException(v **types.ExpiredException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9887,6 +10004,7 @@ func awsRestjson1_deserializeDocumentExternalFilteringConfiguration(v **types.Ex if err := awsRestjson1_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9895,6 +10013,7 @@ func awsRestjson1_deserializeDocumentExternalFilteringConfiguration(v **types.Ex } sv.Status = types.EnableStatus(jtv) } + default: _, _ = key, value @@ -9934,6 +10053,7 @@ func awsRestjson1_deserializeDocumentGlueEncryptionException(v **types.GlueEncry } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9973,6 +10093,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10012,6 +10133,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10058,6 +10180,7 @@ func awsRestjson1_deserializeDocumentLakeFormationOptInsInfo(v **types.LakeForma } } + case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -10066,14 +10189,17 @@ func awsRestjson1_deserializeDocumentLakeFormationOptInsInfo(v **types.LakeForma } sv.LastUpdatedBy = ptr.String(jtv) } + case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } + case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -10147,10 +10273,12 @@ func awsRestjson1_deserializeDocumentLFTag(v **types.LFTag, value interface{}) e } sv.TagKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -10186,10 +10314,12 @@ func awsRestjson1_deserializeDocumentLFTagError(v **types.LFTagError, value inte if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "LFTag": if err := awsRestjson1_deserializeDocumentLFTagPair(&sv.LFTag, value); err != nil { return err } + default: _, _ = key, value @@ -10263,6 +10393,7 @@ func awsRestjson1_deserializeDocumentLFTagKeyResource(v **types.LFTagKeyResource } sv.CatalogId = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -10271,10 +10402,12 @@ func awsRestjson1_deserializeDocumentLFTagKeyResource(v **types.LFTagKeyResource } sv.TagKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -10314,6 +10447,7 @@ func awsRestjson1_deserializeDocumentLFTagPair(v **types.LFTagPair, value interf } sv.CatalogId = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -10322,10 +10456,12 @@ func awsRestjson1_deserializeDocumentLFTagPair(v **types.LFTagPair, value interf } sv.TagKey = ptr.String(jtv) } + case "TagValues": if err := awsRestjson1_deserializeDocumentTagValueList(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -10365,10 +10501,12 @@ func awsRestjson1_deserializeDocumentLFTagPolicyResource(v **types.LFTagPolicyRe } sv.CatalogId = ptr.String(jtv) } + case "Expression": if err := awsRestjson1_deserializeDocumentExpression(&sv.Expression, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10377,6 +10515,7 @@ func awsRestjson1_deserializeDocumentLFTagPolicyResource(v **types.LFTagPolicyRe } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -10450,6 +10589,7 @@ func awsRestjson1_deserializeDocumentOperationTimeoutException(v **types.Operati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10555,10 +10695,12 @@ func awsRestjson1_deserializeDocumentPartitionObjects(v **types.PartitionObjects if err := awsRestjson1_deserializeDocumentTableObjectList(&sv.Objects, value); err != nil { return err } + case "PartitionValues": if err := awsRestjson1_deserializeDocumentPartitionValuesList(&sv.PartitionValues, value); err != nil { return err } + default: _, _ = key, value @@ -10706,6 +10848,7 @@ func awsRestjson1_deserializeDocumentPermissionTypeMismatchException(v **types.P } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10749,6 +10892,7 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.EstimatedDataToScanBytes = i64 } + case "PlanningTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10761,6 +10905,7 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.PlanningTimeMillis = i64 } + case "QueueTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10773,6 +10918,7 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.QueueTimeMillis = i64 } + case "WorkUnitsGeneratedCount": if value != nil { jtv, ok := value.(json.Number) @@ -10785,6 +10931,7 @@ func awsRestjson1_deserializeDocumentPlanningStatistics(v **types.PlanningStatis } sv.WorkUnitsGeneratedCount = i64 } + default: _, _ = key, value @@ -10820,10 +10967,12 @@ func awsRestjson1_deserializeDocumentPrincipalPermissions(v **types.PrincipalPer if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } + default: _, _ = key, value @@ -10893,6 +11042,7 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin if err := awsRestjson1_deserializeDocumentDetailsMap(&sv.AdditionalDetails, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -10908,6 +11058,7 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin } } + case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -10916,22 +11067,27 @@ func awsRestjson1_deserializeDocumentPrincipalResourcePermissions(v **types.Prin } sv.LastUpdatedBy = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.Permissions, value); err != nil { return err } + case "PermissionsWithGrantOption": if err := awsRestjson1_deserializeDocumentPermissionList(&sv.PermissionsWithGrantOption, value); err != nil { return err } + case "Principal": if err := awsRestjson1_deserializeDocumentDataLakePrincipal(&sv.Principal, value); err != nil { return err } + case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -11001,34 +11157,42 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac if err := awsRestjson1_deserializeDocumentCatalogResource(&sv.Catalog, value); err != nil { return err } + case "Database": if err := awsRestjson1_deserializeDocumentDatabaseResource(&sv.Database, value); err != nil { return err } + case "DataCellsFilter": if err := awsRestjson1_deserializeDocumentDataCellsFilterResource(&sv.DataCellsFilter, value); err != nil { return err } + case "DataLocation": if err := awsRestjson1_deserializeDocumentDataLocationResource(&sv.DataLocation, value); err != nil { return err } + case "LFTag": if err := awsRestjson1_deserializeDocumentLFTagKeyResource(&sv.LFTag, value); err != nil { return err } + case "LFTagPolicy": if err := awsRestjson1_deserializeDocumentLFTagPolicyResource(&sv.LFTagPolicy, value); err != nil { return err } + case "Table": if err := awsRestjson1_deserializeDocumentTableResource(&sv.Table, value); err != nil { return err } + case "TableWithColumns": if err := awsRestjson1_deserializeDocumentTableWithColumnsResource(&sv.TableWithColumns, value); err != nil { return err } + default: _, _ = key, value @@ -11068,6 +11232,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.HybridAccessEnabled = ptr.Bool(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -11083,6 +11248,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11091,6 +11257,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.ResourceArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11099,6 +11266,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.RoleArn = ptr.String(jtv) } + case "WithFederation": if value != nil { jtv, ok := value.(bool) @@ -11107,6 +11275,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.WithFederation = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11180,6 +11349,7 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11219,6 +11389,7 @@ func awsRestjson1_deserializeDocumentResourceNumberLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11290,6 +11461,7 @@ func awsRestjson1_deserializeDocumentRowFilter(v **types.RowFilter, value interf if err := awsRestjson1_deserializeDocumentAllRowsWildcard(&sv.AllRowsWildcard, value); err != nil { return err } + case "FilterExpression": if value != nil { jtv, ok := value.(string) @@ -11298,6 +11470,7 @@ func awsRestjson1_deserializeDocumentRowFilter(v **types.RowFilter, value interf } sv.FilterExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -11373,6 +11546,7 @@ func awsRestjson1_deserializeDocumentStatisticsNotReadyYetException(v **types.St } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11408,6 +11582,7 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer if err := awsRestjson1_deserializeDocumentStorageOptimizerConfig(&sv.Config, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11416,6 +11591,7 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.ErrorMessage = ptr.String(jtv) } + case "LastRunDetails": if value != nil { jtv, ok := value.(string) @@ -11424,6 +11600,7 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.LastRunDetails = ptr.String(jtv) } + case "StorageOptimizerType": if value != nil { jtv, ok := value.(string) @@ -11432,6 +11609,7 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.StorageOptimizerType = types.OptimizerType(jtv) } + case "Warnings": if value != nil { jtv, ok := value.(string) @@ -11440,6 +11618,7 @@ func awsRestjson1_deserializeDocumentStorageOptimizer(v **types.StorageOptimizer } sv.Warnings = ptr.String(jtv) } + default: _, _ = key, value @@ -11583,6 +11762,7 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.ETag = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -11595,6 +11775,7 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.Size = i64 } + case "Uri": if value != nil { jtv, ok := value.(string) @@ -11603,6 +11784,7 @@ func awsRestjson1_deserializeDocumentTableObject(v **types.TableObject, value in } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -11676,6 +11858,7 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.CatalogId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -11684,6 +11867,7 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11692,10 +11876,12 @@ func awsRestjson1_deserializeDocumentTableResource(v **types.TableResource, valu } sv.Name = ptr.String(jtv) } + case "TableWildcard": if err := awsRestjson1_deserializeDocumentTableWildcard(&sv.TableWildcard, value); err != nil { return err } + default: _, _ = key, value @@ -11766,14 +11952,17 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.CatalogId = ptr.String(jtv) } + case "ColumnNames": if err := awsRestjson1_deserializeDocumentColumnNames(&sv.ColumnNames, value); err != nil { return err } + case "ColumnWildcard": if err := awsRestjson1_deserializeDocumentColumnWildcard(&sv.ColumnWildcard, value); err != nil { return err } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -11782,6 +11971,7 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11790,6 +11980,7 @@ func awsRestjson1_deserializeDocumentTableWithColumnsResource(v **types.TableWit } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11825,10 +12016,12 @@ func awsRestjson1_deserializeDocumentTaggedDatabase(v **types.TaggedDatabase, va if err := awsRestjson1_deserializeDocumentDatabaseResource(&sv.Database, value); err != nil { return err } + case "LFTags": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTags, value); err != nil { return err } + default: _, _ = key, value @@ -11864,18 +12057,22 @@ func awsRestjson1_deserializeDocumentTaggedTable(v **types.TaggedTable, value in if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagOnDatabase, value); err != nil { return err } + case "LFTagsOnColumns": if err := awsRestjson1_deserializeDocumentColumnLFTagsList(&sv.LFTagsOnColumns, value); err != nil { return err } + case "LFTagsOnTable": if err := awsRestjson1_deserializeDocumentLFTagsList(&sv.LFTagsOnTable, value); err != nil { return err } + case "Table": if err := awsRestjson1_deserializeDocumentTableResource(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -11951,6 +12148,7 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11990,6 +12188,7 @@ func awsRestjson1_deserializeDocumentTransactionCanceledException(v **types.Tran } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12029,6 +12228,7 @@ func awsRestjson1_deserializeDocumentTransactionCommitInProgressException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12068,6 +12268,7 @@ func awsRestjson1_deserializeDocumentTransactionCommittedException(v **types.Tra } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12114,6 +12315,7 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } } + case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -12122,6 +12324,7 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } sv.TransactionId = ptr.String(jtv) } + case "TransactionStartTime": if value != nil { switch jtv := value.(type) { @@ -12137,6 +12340,7 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } } + case "TransactionStatus": if value != nil { jtv, ok := value.(string) @@ -12145,6 +12349,7 @@ func awsRestjson1_deserializeDocumentTransactionDescription(v **types.Transactio } sv.TransactionStatus = types.TransactionStatus(jtv) } + default: _, _ = key, value @@ -12258,6 +12463,7 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitIdMax = i64 } + case "WorkUnitIdMin": if value != nil { jtv, ok := value.(json.Number) @@ -12270,6 +12476,7 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitIdMin = i64 } + case "WorkUnitToken": if value != nil { jtv, ok := value.(string) @@ -12278,6 +12485,7 @@ func awsRestjson1_deserializeDocumentWorkUnitRange(v **types.WorkUnitRange, valu } sv.WorkUnitToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12351,6 +12559,7 @@ func awsRestjson1_deserializeDocumentWorkUnitsNotReadyYetException(v **types.Wor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lambda/deserializers.go b/service/lambda/deserializers.go index 964a5e7d038..3332fee6a73 100644 --- a/service/lambda/deserializers.go +++ b/service/lambda/deserializers.go @@ -197,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentAddLayerVersionPermissionOutput(v **AddLa } sv.RevisionId = ptr.String(jtv) } + case "Statement": if value != nil { jtv, ok := value.(string) @@ -205,6 +206,7 @@ func awsRestjson1_deserializeOpDocumentAddLayerVersionPermissionOutput(v **AddLa } sv.Statement = ptr.String(jtv) } + default: _, _ = key, value @@ -378,6 +380,7 @@ func awsRestjson1_deserializeOpDocumentAddPermissionOutput(v **AddPermissionOutp } sv.Statement = ptr.String(jtv) } + default: _, _ = key, value @@ -545,6 +548,7 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.AliasArn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -553,6 +557,7 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Description = ptr.String(jtv) } + case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -561,6 +566,7 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.FunctionVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -569,6 +575,7 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -577,10 +584,12 @@ func awsRestjson1_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, } sv.RevisionId = ptr.String(jtv) } + case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -735,6 +744,7 @@ func awsRestjson1_deserializeOpDocumentCreateCodeSigningConfigOutput(v **CreateC if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } + default: _, _ = key, value @@ -898,6 +908,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -910,6 +921,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -918,14 +930,17 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } + case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -934,6 +949,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.EventSourceArn = ptr.String(jtv) } + case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -942,14 +958,17 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.EventSourceMappingArn = ptr.String(jtv) } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -958,10 +977,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.FunctionArn = ptr.String(jtv) } + case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -970,6 +991,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -985,6 +1007,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } } + case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -993,6 +1016,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.LastProcessingResult = ptr.String(jtv) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1005,6 +1029,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1017,6 +1042,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -1029,6 +1055,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -1041,26 +1068,32 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } + case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } + case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } + case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -1069,6 +1102,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.StartingPosition = types.EventSourcePosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -1084,6 +1118,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } } + case "State": if value != nil { jtv, ok := value.(string) @@ -1092,6 +1127,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.State = ptr.String(jtv) } + case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -1100,10 +1136,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.StateTransitionReason = ptr.String(jtv) } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1116,6 +1154,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -1124,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventSourceMappingOutput(v **Create } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -1299,6 +1339,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -1307,6 +1348,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -1319,10 +1361,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1331,18 +1375,22 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -1351,6 +1399,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -1359,6 +1408,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -1367,10 +1417,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -1379,6 +1431,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -1387,6 +1440,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -1395,6 +1449,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -1403,6 +1458,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -1411,14 +1467,17 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -1427,6 +1486,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -1439,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -1447,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -1455,6 +1517,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -1463,6 +1526,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -1471,10 +1535,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -1483,6 +1549,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -1491,10 +1558,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -1503,6 +1572,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -1511,6 +1581,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -1519,6 +1590,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -1531,10 +1603,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -1543,10 +1617,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionOutput(v **CreateFunctionOu } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1714,10 +1790,12 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.AuthType = types.FunctionUrlAuthType(jtv) } + case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -1726,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.CreationTime = ptr.String(jtv) } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -1734,6 +1813,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.FunctionArn = ptr.String(jtv) } + case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -1742,6 +1822,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.FunctionUrl = ptr.String(jtv) } + case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -1750,6 +1831,7 @@ func awsRestjson1_deserializeOpDocumentCreateFunctionUrlConfigOutput(v **CreateF } sv.InvokeMode = types.InvokeMode(jtv) } + default: _, _ = key, value @@ -2116,6 +2198,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -2128,6 +2211,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -2136,14 +2220,17 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } + case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -2152,6 +2239,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.EventSourceArn = ptr.String(jtv) } + case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -2160,14 +2248,17 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.EventSourceMappingArn = ptr.String(jtv) } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -2176,10 +2267,12 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.FunctionArn = ptr.String(jtv) } + case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -2188,6 +2281,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -2203,6 +2297,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } } + case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -2211,6 +2306,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.LastProcessingResult = ptr.String(jtv) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2223,6 +2319,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2235,6 +2332,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -2247,6 +2345,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -2259,26 +2358,32 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } + case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } + case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } + case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -2287,6 +2392,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.StartingPosition = types.EventSourcePosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -2302,6 +2408,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } } + case "State": if value != nil { jtv, ok := value.(string) @@ -2310,6 +2417,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.State = ptr.String(jtv) } + case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -2318,10 +2426,12 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.StateTransitionReason = ptr.String(jtv) } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2334,6 +2444,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -2342,6 +2453,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventSourceMappingOutput(v **Delete } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -3229,10 +3341,12 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountLimit(&sv.AccountLimit, value); err != nil { return err } + case "AccountUsage": if err := awsRestjson1_deserializeDocumentAccountUsage(&sv.AccountUsage, value); err != nil { return err } + default: _, _ = key, value @@ -3397,6 +3511,7 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.AliasArn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3405,6 +3520,7 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.Description = ptr.String(jtv) } + case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -3413,6 +3529,7 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.FunctionVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3421,6 +3538,7 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -3429,10 +3547,12 @@ func awsRestjson1_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value } sv.RevisionId = ptr.String(jtv) } + case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3590,6 +3710,7 @@ func awsRestjson1_deserializeOpDocumentGetCodeSigningConfigOutput(v **GetCodeSig if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3750,6 +3871,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -3762,6 +3884,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -3770,14 +3893,17 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } + case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -3786,6 +3912,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.EventSourceArn = ptr.String(jtv) } + case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -3794,14 +3921,17 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.EventSourceMappingArn = ptr.String(jtv) } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -3810,10 +3940,12 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.FunctionArn = ptr.String(jtv) } + case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -3822,6 +3954,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -3837,6 +3970,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } } + case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -3845,6 +3979,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.LastProcessingResult = ptr.String(jtv) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3857,6 +3992,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3869,6 +4005,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -3881,6 +4018,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -3893,26 +4031,32 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } + case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } + case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } + case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -3921,6 +4065,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.StartingPosition = types.EventSourcePosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3936,6 +4081,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } } + case "State": if value != nil { jtv, ok := value.(string) @@ -3944,6 +4090,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.State = ptr.String(jtv) } + case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -3952,10 +4099,12 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.StateTransitionReason = ptr.String(jtv) } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3968,6 +4117,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -3976,6 +4126,7 @@ func awsRestjson1_deserializeOpDocumentGetEventSourceMappingOutput(v **GetEventS } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -4136,22 +4287,27 @@ func awsRestjson1_deserializeOpDocumentGetFunctionOutput(v **GetFunctionOutput, if err := awsRestjson1_deserializeDocumentFunctionCodeLocation(&sv.Code, value); err != nil { return err } + case "Concurrency": if err := awsRestjson1_deserializeDocumentConcurrency(&sv.Concurrency, value); err != nil { return err } + case "Configuration": if err := awsRestjson1_deserializeDocumentFunctionConfiguration(&sv.Configuration, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "TagsError": if err := awsRestjson1_deserializeDocumentTagsError(&sv.TagsError, value); err != nil { return err } + default: _, _ = key, value @@ -4316,6 +4472,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionCodeSigningConfigOutput(v **Ge } sv.CodeSigningConfigArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -4324,6 +4481,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionCodeSigningConfigOutput(v **Ge } sv.FunctionName = ptr.String(jtv) } + default: _, _ = key, value @@ -4492,6 +4650,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConcurrencyOutput(v **GetFunct } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4652,6 +4811,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -4660,6 +4820,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -4672,10 +4833,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4684,18 +4847,22 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -4704,6 +4871,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -4712,6 +4880,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -4720,10 +4889,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -4732,6 +4903,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -4740,6 +4912,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -4748,6 +4921,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -4756,6 +4930,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -4764,14 +4939,17 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -4780,6 +4958,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -4792,6 +4971,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -4800,6 +4980,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -4808,6 +4989,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -4816,6 +4998,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -4824,10 +5007,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -4836,6 +5021,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -4844,10 +5030,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -4856,6 +5044,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4864,6 +5053,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -4872,6 +5062,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -4884,10 +5075,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -4896,10 +5089,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionConfigurationOutput(v **GetFun } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5060,6 +5255,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -5068,6 +5264,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.FunctionArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -5083,6 +5280,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } } + case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5095,6 +5293,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -5107,6 +5306,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionEventInvokeConfigOutput(v **Ge } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5271,6 +5471,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionRecursionConfigOutput(v **GetF } sv.RecursiveLoop = types.RecursiveLoop(jtv) } + default: _, _ = key, value @@ -5435,10 +5636,12 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.AuthType = types.FunctionUrlAuthType(jtv) } + case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5447,6 +5650,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.CreationTime = ptr.String(jtv) } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -5455,6 +5659,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.FunctionArn = ptr.String(jtv) } + case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -5463,6 +5668,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.FunctionUrl = ptr.String(jtv) } + case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -5471,6 +5677,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.InvokeMode = types.InvokeMode(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -5479,6 +5686,7 @@ func awsRestjson1_deserializeOpDocumentGetFunctionUrlConfigOutput(v **GetFunctio } sv.LastModifiedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5639,14 +5847,17 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } + case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -5655,6 +5866,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5663,6 +5875,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.Description = ptr.String(jtv) } + case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -5671,6 +5884,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LayerArn = ptr.String(jtv) } + case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -5679,6 +5893,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LayerVersionArn = ptr.String(jtv) } + case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -5687,6 +5902,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.LicenseInfo = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -5699,6 +5915,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionOutput(v **GetLayerVersion } sv.Version = i64 } + default: _, _ = key, value @@ -5859,14 +6076,17 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } + case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -5875,6 +6095,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5883,6 +6104,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.Description = ptr.String(jtv) } + case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -5891,6 +6113,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LayerArn = ptr.String(jtv) } + case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -5899,6 +6122,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LayerVersionArn = ptr.String(jtv) } + case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -5907,6 +6131,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.LicenseInfo = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -5919,6 +6144,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionByArnOutput(v **GetLayerVe } sv.Version = i64 } + default: _, _ = key, value @@ -6083,6 +6309,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionPolicyOutput(v **GetLayerV } sv.Policy = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6091,6 +6318,7 @@ func awsRestjson1_deserializeOpDocumentGetLayerVersionPolicyOutput(v **GetLayerV } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6255,6 +6483,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Policy = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -6263,6 +6492,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6434,6 +6664,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -6446,6 +6677,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -6454,6 +6686,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.LastModified = ptr.String(jtv) } + case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -6466,6 +6699,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6708,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6482,6 +6717,7 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6646,6 +6882,7 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.FunctionArn = ptr.String(jtv) } + case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -6654,6 +6891,7 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.RuntimeVersionArn = ptr.String(jtv) } + case "UpdateRuntimeOn": if value != nil { jtv, ok := value.(string) @@ -6662,6 +6900,7 @@ func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetR } sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) } + default: _, _ = key, value @@ -7368,6 +7607,7 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7376,6 +7616,7 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -7530,6 +7771,7 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode if err := awsRestjson1_deserializeDocumentCodeSigningConfigList(&sv.CodeSigningConfigs, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7538,6 +7780,7 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -7698,6 +7941,7 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve if err := awsRestjson1_deserializeDocumentEventSourceMappingsList(&sv.EventSourceMappings, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7706,6 +7950,7 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -7866,6 +8111,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** if err := awsRestjson1_deserializeDocumentFunctionEventInvokeConfigList(&sv.FunctionEventInvokeConfigs, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -7874,6 +8120,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8031,6 +8278,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Functions, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8039,6 +8287,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8196,6 +8445,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v if err := awsRestjson1_deserializeDocumentFunctionArnList(&sv.FunctionArns, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8204,6 +8454,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8364,6 +8615,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc if err := awsRestjson1_deserializeDocumentFunctionUrlConfigList(&sv.FunctionUrlConfigs, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8372,6 +8624,7 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8529,6 +8782,7 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va if err := awsRestjson1_deserializeDocumentLayersList(&sv.Layers, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8537,6 +8791,7 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8697,6 +8952,7 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers if err := awsRestjson1_deserializeDocumentLayerVersionsList(&sv.LayerVersions, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -8705,6 +8961,7 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -8869,10 +9126,12 @@ func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v } sv.NextMarker = ptr.String(jtv) } + case "ProvisionedConcurrencyConfigs": if err := awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigList(&sv.ProvisionedConcurrencyConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -9033,6 +9292,7 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9197,10 +9457,12 @@ func awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(v **ListVers } sv.NextMarker = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -9364,14 +9626,17 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } + case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } + case "Content": if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -9380,6 +9645,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9388,6 +9654,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.Description = ptr.String(jtv) } + case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -9396,6 +9663,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LayerArn = ptr.String(jtv) } + case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -9404,6 +9672,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LayerVersionArn = ptr.String(jtv) } + case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -9412,6 +9681,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.LicenseInfo = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -9424,6 +9694,7 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye } sv.Version = i64 } + default: _, _ = key, value @@ -9593,6 +9864,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -9601,6 +9873,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -9613,10 +9886,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9625,18 +9900,22 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -9645,6 +9924,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -9653,6 +9933,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -9661,10 +9942,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -9673,6 +9956,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -9681,6 +9965,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -9689,6 +9974,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -9697,6 +9983,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -9705,14 +9992,17 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -9721,6 +10011,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -9733,6 +10024,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -9741,6 +10033,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -9749,6 +10042,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -9757,6 +10051,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -9765,10 +10060,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -9777,6 +10074,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -9785,10 +10083,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -9797,6 +10097,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -9805,6 +10106,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -9813,6 +10115,7 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -9825,10 +10128,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -9837,10 +10142,12 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10011,6 +10318,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **Pu } sv.CodeSigningConfigArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -10019,6 +10327,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **Pu } sv.FunctionName = ptr.String(jtv) } + default: _, _ = key, value @@ -10190,6 +10499,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(v **PutFunct } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10353,6 +10663,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -10361,6 +10672,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.FunctionArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -10376,6 +10688,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } } + case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10388,6 +10701,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -10400,6 +10714,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10567,6 +10882,7 @@ func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutF } sv.RecursiveLoop = types.RecursiveLoop(jtv) } + default: _, _ = key, value @@ -10738,6 +11054,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -10750,6 +11067,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -10758,6 +11076,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.LastModified = ptr.String(jtv) } + case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -10770,6 +11089,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10778,6 +11098,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -10786,6 +11107,7 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -10953,6 +11275,7 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.FunctionArn = ptr.String(jtv) } + case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -10961,6 +11284,7 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.RuntimeVersionArn = ptr.String(jtv) } + case "UpdateRuntimeOn": if value != nil { jtv, ok := value.(string) @@ -10969,6 +11293,7 @@ func awsRestjson1_deserializeOpDocumentPutRuntimeManagementConfigOutput(v **PutR } sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) } + default: _, _ = key, value @@ -11563,6 +11888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.AliasArn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11571,6 +11897,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.Description = ptr.String(jtv) } + case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -11579,6 +11906,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.FunctionVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11587,6 +11915,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -11595,10 +11924,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, } sv.RevisionId = ptr.String(jtv) } + case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11756,6 +12087,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCodeSigningConfigOutput(v **UpdateC if err := awsRestjson1_deserializeDocumentCodeSigningConfig(&sv.CodeSigningConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11922,6 +12254,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -11934,6 +12267,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -11942,14 +12276,17 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } + case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -11958,6 +12295,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.EventSourceArn = ptr.String(jtv) } + case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -11966,14 +12304,17 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.EventSourceMappingArn = ptr.String(jtv) } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -11982,10 +12323,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.FunctionArn = ptr.String(jtv) } + case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -11994,6 +12337,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -12009,6 +12353,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } } + case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -12017,6 +12362,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.LastProcessingResult = ptr.String(jtv) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12029,6 +12375,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12041,6 +12388,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -12053,6 +12401,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -12065,26 +12414,32 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } + case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } + case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } + case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -12093,6 +12448,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.StartingPosition = types.EventSourcePosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -12108,6 +12464,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12116,6 +12473,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.State = ptr.String(jtv) } + case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -12124,10 +12482,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.StateTransitionReason = ptr.String(jtv) } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12140,6 +12500,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -12148,6 +12509,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventSourceMappingOutput(v **Update } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -12326,6 +12688,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -12334,6 +12697,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12346,10 +12710,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12358,18 +12724,22 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -12378,6 +12748,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -12386,6 +12757,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -12394,10 +12766,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -12406,6 +12780,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -12414,6 +12789,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -12422,6 +12798,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -12430,6 +12807,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -12438,14 +12816,17 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -12454,6 +12835,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -12466,6 +12848,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -12474,6 +12857,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -12482,6 +12866,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -12490,6 +12875,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -12498,10 +12884,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -12510,6 +12898,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -12518,10 +12907,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -12530,6 +12921,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12538,6 +12930,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -12546,6 +12939,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -12558,10 +12952,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -12570,10 +12966,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionCodeOutput(v **UpdateFuncti } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12749,6 +13147,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -12757,6 +13156,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -12769,10 +13169,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12781,18 +13183,22 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -12801,6 +13207,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -12809,6 +13216,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -12817,10 +13225,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -12829,6 +13239,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -12837,6 +13248,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -12845,6 +13257,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -12853,6 +13266,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -12861,14 +13275,17 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -12877,6 +13294,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -12889,6 +13307,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -12897,6 +13316,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -12905,6 +13325,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -12913,6 +13334,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -12921,10 +13343,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -12933,6 +13357,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -12941,10 +13366,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -12953,6 +13380,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -12961,6 +13389,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -12969,6 +13398,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -12981,10 +13411,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -12993,10 +13425,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionConfigurationOutput(v **Upd } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13160,6 +13594,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -13168,6 +13603,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.FunctionArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -13183,6 +13619,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } } + case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13195,6 +13632,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -13207,6 +13645,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionEventInvokeConfigOutput(v * } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13374,10 +13813,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.AuthType = types.FunctionUrlAuthType(jtv) } + case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -13386,6 +13827,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.CreationTime = ptr.String(jtv) } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -13394,6 +13836,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.FunctionArn = ptr.String(jtv) } + case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -13402,6 +13845,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.FunctionUrl = ptr.String(jtv) } + case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -13410,6 +13854,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.InvokeMode = types.InvokeMode(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -13418,6 +13863,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFunctionUrlConfigOutput(v **UpdateF } sv.LastModifiedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -13585,6 +14031,7 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.ErrorCode = ptr.String(jtv) } + case "ErrorDetails": if value != nil { jtv, ok := value.(string) @@ -13593,6 +14040,7 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.ErrorDetails = ptr.String(jtv) } + case "LogResult": if value != nil { jtv, ok := value.(string) @@ -13601,6 +14049,7 @@ func awsRestjson1_deserializeDocumentInvokeWithResponseStreamCompleteEvent(v **t } sv.LogResult = ptr.String(jtv) } + default: _, _ = key, value @@ -15028,6 +15477,7 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.CodeSizeUnzipped = i64 } + case "CodeSizeZipped": if value != nil { jtv, ok := value.(json.Number) @@ -15040,6 +15490,7 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.CodeSizeZipped = i64 } + case "ConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -15052,6 +15503,7 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.ConcurrentExecutions = int32(i64) } + case "TotalCodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -15064,6 +15516,7 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.TotalCodeSize = i64 } + case "UnreservedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -15076,6 +15529,7 @@ func awsRestjson1_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.UnreservedConcurrentExecutions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15119,6 +15573,7 @@ func awsRestjson1_deserializeDocumentAccountUsage(v **types.AccountUsage, value } sv.FunctionCount = i64 } + case "TotalCodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -15131,6 +15586,7 @@ func awsRestjson1_deserializeDocumentAccountUsage(v **types.AccountUsage, value } sv.TotalCodeSize = i64 } + default: _, _ = key, value @@ -15231,6 +15687,7 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.AliasArn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15239,6 +15696,7 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.Description = ptr.String(jtv) } + case "FunctionVersion": if value != nil { jtv, ok := value.(string) @@ -15247,6 +15705,7 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.FunctionVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15255,6 +15714,7 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.Name = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -15263,10 +15723,12 @@ func awsRestjson1_deserializeDocumentAliasConfiguration(v **types.AliasConfigura } sv.RevisionId = ptr.String(jtv) } + case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAliasRoutingConfiguration(&sv.RoutingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15336,6 +15798,7 @@ func awsRestjson1_deserializeDocumentAliasRoutingConfiguration(v **types.AliasRo if err := awsRestjson1_deserializeDocumentAdditionalVersionWeights(&sv.AdditionalVersionWeights, value); err != nil { return err } + default: _, _ = key, value @@ -15371,6 +15834,7 @@ func awsRestjson1_deserializeDocumentAllowedPublishers(v **types.AllowedPublishe if err := awsRestjson1_deserializeDocumentSigningProfileVersionArns(&sv.SigningProfileVersionArns, value); err != nil { return err } + default: _, _ = key, value @@ -15482,6 +15946,7 @@ func awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(v **typ } sv.ConsumerGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -15553,6 +16018,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf if err := awsRestjson1_deserializeDocumentAllowedPublishers(&sv.AllowedPublishers, value); err != nil { return err } + case "CodeSigningConfigArn": if value != nil { jtv, ok := value.(string) @@ -15561,6 +16027,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.CodeSigningConfigArn = ptr.String(jtv) } + case "CodeSigningConfigId": if value != nil { jtv, ok := value.(string) @@ -15569,10 +16036,12 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.CodeSigningConfigId = ptr.String(jtv) } + case "CodeSigningPolicies": if err := awsRestjson1_deserializeDocumentCodeSigningPolicies(&sv.CodeSigningPolicies, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15581,6 +16050,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.Description = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -15589,6 +16059,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfig(v **types.CodeSigningConf } sv.LastModified = ptr.String(jtv) } + default: _, _ = key, value @@ -15662,6 +16133,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15670,6 +16142,7 @@ func awsRestjson1_deserializeDocumentCodeSigningConfigNotFoundException(v **type } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15709,6 +16182,7 @@ func awsRestjson1_deserializeDocumentCodeSigningPolicies(v **types.CodeSigningPo } sv.UntrustedArtifactOnDeployment = types.CodeSigningPolicy(jtv) } + default: _, _ = key, value @@ -15748,6 +16222,7 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15756,6 +16231,7 @@ func awsRestjson1_deserializeDocumentCodeStorageExceededException(v **types.Code } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15795,6 +16271,7 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15803,6 +16280,7 @@ func awsRestjson1_deserializeDocumentCodeVerificationFailedException(v **types.C } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -15918,6 +16396,7 @@ func awsRestjson1_deserializeDocumentConcurrency(v **types.Concurrency, value in } sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15957,22 +16436,27 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.AllowCredentials = ptr.Bool(jtv) } + case "AllowHeaders": if err := awsRestjson1_deserializeDocumentHeadersList(&sv.AllowHeaders, value); err != nil { return err } + case "AllowMethods": if err := awsRestjson1_deserializeDocumentAllowMethodsList(&sv.AllowMethods, value); err != nil { return err } + case "AllowOrigins": if err := awsRestjson1_deserializeDocumentAllowOriginsList(&sv.AllowOrigins, value); err != nil { return err } + case "ExposeHeaders": if err := awsRestjson1_deserializeDocumentHeadersList(&sv.ExposeHeaders, value); err != nil { return err } + case "MaxAge": if value != nil { jtv, ok := value.(json.Number) @@ -15985,6 +16469,7 @@ func awsRestjson1_deserializeDocumentCors(v **types.Cors, value interface{}) err } sv.MaxAge = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16024,6 +16509,7 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16059,10 +16545,12 @@ func awsRestjson1_deserializeDocumentDestinationConfig(v **types.DestinationConf if err := awsRestjson1_deserializeDocumentOnFailure(&sv.OnFailure, value); err != nil { return err } + case "OnSuccess": if err := awsRestjson1_deserializeDocumentOnSuccess(&sv.OnSuccess, value); err != nil { return err } + default: _, _ = key, value @@ -16102,6 +16590,7 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.CollectionName = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -16110,6 +16599,7 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.DatabaseName = ptr.String(jtv) } + case "FullDocument": if value != nil { jtv, ok := value.(string) @@ -16118,6 +16608,7 @@ func awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(v **types.Docum } sv.FullDocument = types.FullDocument(jtv) } + default: _, _ = key, value @@ -16157,6 +16648,7 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16165,6 +16657,7 @@ func awsRestjson1_deserializeDocumentEC2AccessDeniedException(v **types.EC2Acces } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16204,6 +16697,7 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16212,6 +16706,7 @@ func awsRestjson1_deserializeDocumentEC2ThrottledException(v **types.EC2Throttle } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16251,6 +16746,7 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.EC2ErrorCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16259,6 +16755,7 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16267,6 +16764,7 @@ func awsRestjson1_deserializeDocumentEC2UnexpectedException(v **types.EC2Unexpec } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16306,6 +16804,7 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16314,6 +16813,7 @@ func awsRestjson1_deserializeDocumentEFSIOException(v **types.EFSIOException, va } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16353,6 +16853,7 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16361,6 +16862,7 @@ func awsRestjson1_deserializeDocumentEFSMountConnectivityException(v **types.EFS } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16400,6 +16902,7 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16408,6 +16911,7 @@ func awsRestjson1_deserializeDocumentEFSMountFailureException(v **types.EFSMount } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16447,6 +16951,7 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16455,6 +16960,7 @@ func awsRestjson1_deserializeDocumentEFSMountTimeoutException(v **types.EFSMount } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16564,6 +17070,7 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16572,6 +17079,7 @@ func awsRestjson1_deserializeDocumentENILimitReachedException(v **types.ENILimit } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16611,6 +17119,7 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -16619,6 +17128,7 @@ func awsRestjson1_deserializeDocumentEnvironmentError(v **types.EnvironmentError } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16654,10 +17164,12 @@ func awsRestjson1_deserializeDocumentEnvironmentResponse(v **types.EnvironmentRe if err := awsRestjson1_deserializeDocumentEnvironmentError(&sv.Error, value); err != nil { return err } + case "Variables": if err := awsRestjson1_deserializeDocumentEnvironmentVariables(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -16737,6 +17249,7 @@ func awsRestjson1_deserializeDocumentEphemeralStorage(v **types.EphemeralStorage } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16772,6 +17285,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E if err := awsRestjson1_deserializeDocumentAmazonManagedKafkaEventSourceConfig(&sv.AmazonManagedKafkaEventSourceConfig, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -16784,6 +17298,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BisectBatchOnFunctionError": if value != nil { jtv, ok := value.(bool) @@ -16792,14 +17307,17 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.BisectBatchOnFunctionError = ptr.Bool(jtv) } + case "DestinationConfig": if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "DocumentDBEventSourceConfig": if err := awsRestjson1_deserializeDocumentDocumentDBEventSourceConfig(&sv.DocumentDBEventSourceConfig, value); err != nil { return err } + case "EventSourceArn": if value != nil { jtv, ok := value.(string) @@ -16808,6 +17326,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.EventSourceArn = ptr.String(jtv) } + case "EventSourceMappingArn": if value != nil { jtv, ok := value.(string) @@ -16816,14 +17335,17 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.EventSourceMappingArn = ptr.String(jtv) } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "FilterCriteriaError": if err := awsRestjson1_deserializeDocumentFilterCriteriaError(&sv.FilterCriteriaError, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -16832,10 +17354,12 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.FunctionArn = ptr.String(jtv) } + case "FunctionResponseTypes": if err := awsRestjson1_deserializeDocumentFunctionResponseTypeList(&sv.FunctionResponseTypes, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -16844,6 +17368,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -16859,6 +17384,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } } + case "LastProcessingResult": if value != nil { jtv, ok := value.(string) @@ -16867,6 +17393,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.LastProcessingResult = ptr.String(jtv) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16879,6 +17406,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16891,6 +17419,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -16903,6 +17432,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -16915,26 +17445,32 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "Queues": if err := awsRestjson1_deserializeDocumentQueues(&sv.Queues, value); err != nil { return err } + case "ScalingConfig": if err := awsRestjson1_deserializeDocumentScalingConfig(&sv.ScalingConfig, value); err != nil { return err } + case "SelfManagedEventSource": if err := awsRestjson1_deserializeDocumentSelfManagedEventSource(&sv.SelfManagedEventSource, value); err != nil { return err } + case "SelfManagedKafkaEventSourceConfig": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(&sv.SelfManagedKafkaEventSourceConfig, value); err != nil { return err } + case "SourceAccessConfigurations": if err := awsRestjson1_deserializeDocumentSourceAccessConfigurations(&sv.SourceAccessConfigurations, value); err != nil { return err } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -16943,6 +17479,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.StartingPosition = types.EventSourcePosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -16958,6 +17495,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } } + case "State": if value != nil { jtv, ok := value.(string) @@ -16966,6 +17504,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.State = ptr.String(jtv) } + case "StateTransitionReason": if value != nil { jtv, ok := value.(string) @@ -16974,10 +17513,12 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.StateTransitionReason = ptr.String(jtv) } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + case "TumblingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16990,6 +17531,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.TumblingWindowInSeconds = ptr.Int32(int32(i64)) } + case "UUID": if value != nil { jtv, ok := value.(string) @@ -16998,6 +17540,7 @@ func awsRestjson1_deserializeDocumentEventSourceMappingConfiguration(v **types.E } sv.UUID = ptr.String(jtv) } + default: _, _ = key, value @@ -17071,6 +17614,7 @@ func awsRestjson1_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.Arn = ptr.String(jtv) } + case "LocalMountPath": if value != nil { jtv, ok := value.(string) @@ -17079,6 +17623,7 @@ func awsRestjson1_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.LocalMountPath = ptr.String(jtv) } + default: _, _ = key, value @@ -17152,6 +17697,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -17187,6 +17733,7 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -17226,6 +17773,7 @@ func awsRestjson1_deserializeDocumentFilterCriteriaError(v **types.FilterCriteri } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -17234,6 +17782,7 @@ func awsRestjson1_deserializeDocumentFilterCriteriaError(v **types.FilterCriteri } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17343,6 +17892,7 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.ImageUri = ptr.String(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -17351,6 +17901,7 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.Location = ptr.String(jtv) } + case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -17359,6 +17910,7 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.RepositoryType = ptr.String(jtv) } + case "ResolvedImageUri": if value != nil { jtv, ok := value.(string) @@ -17367,6 +17919,7 @@ func awsRestjson1_deserializeDocumentFunctionCodeLocation(v **types.FunctionCode } sv.ResolvedImageUri = ptr.String(jtv) } + default: _, _ = key, value @@ -17402,6 +17955,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -17410,6 +17964,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -17422,10 +17977,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.CodeSize = i64 } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17434,18 +17991,22 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Description = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentEnvironmentResponse(&sv.Environment, value); err != nil { return err } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "FileSystemConfigs": if err := awsRestjson1_deserializeDocumentFileSystemConfigList(&sv.FileSystemConfigs, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -17454,6 +18015,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionArn = ptr.String(jtv) } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -17462,6 +18024,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -17470,10 +18033,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Handler = ptr.String(jtv) } + case "ImageConfigResponse": if err := awsRestjson1_deserializeDocumentImageConfigResponse(&sv.ImageConfigResponse, value); err != nil { return err } + case "KMSKeyArn": if value != nil { jtv, ok := value.(string) @@ -17482,6 +18047,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.KMSKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -17490,6 +18056,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastModified = ptr.String(jtv) } + case "LastUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -17498,6 +18065,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatus = types.LastUpdateStatus(jtv) } + case "LastUpdateStatusReason": if value != nil { jtv, ok := value.(string) @@ -17506,6 +18074,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatusReason = ptr.String(jtv) } + case "LastUpdateStatusReasonCode": if value != nil { jtv, ok := value.(string) @@ -17514,14 +18083,17 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.LastUpdateStatusReasonCode = types.LastUpdateStatusReasonCode(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentLayersReferenceList(&sv.Layers, value); err != nil { return err } + case "LoggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -17530,6 +18102,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -17542,6 +18115,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -17550,6 +18124,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.PackageType = types.PackageType(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -17558,6 +18133,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -17566,6 +18142,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -17574,10 +18151,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Runtime = types.Runtime(jtv) } + case "RuntimeVersionConfig": if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { return err } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -17586,6 +18165,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -17594,10 +18174,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.SigningProfileVersionArn = ptr.String(jtv) } + case "SnapStart": if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -17606,6 +18188,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.State = types.State(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -17614,6 +18197,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -17622,6 +18206,7 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.StateReasonCode = types.StateReasonCode(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -17634,10 +18219,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -17646,10 +18233,12 @@ func awsRestjson1_deserializeDocumentFunctionConfiguration(v **types.FunctionCon } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17685,6 +18274,7 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { return err } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -17693,6 +18283,7 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.FunctionArn = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -17708,6 +18299,7 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } } + case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17720,6 +18312,7 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -17732,6 +18325,7 @@ func awsRestjson1_deserializeDocumentFunctionEventInvokeConfig(v **types.Functio } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17875,10 +18469,12 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.AuthType = types.FunctionUrlAuthType(jtv) } + case "Cors": if err := awsRestjson1_deserializeDocumentCors(&sv.Cors, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -17887,6 +18483,7 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.CreationTime = ptr.String(jtv) } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -17895,6 +18492,7 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.FunctionArn = ptr.String(jtv) } + case "FunctionUrl": if value != nil { jtv, ok := value.(string) @@ -17903,6 +18501,7 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.FunctionUrl = ptr.String(jtv) } + case "InvokeMode": if value != nil { jtv, ok := value.(string) @@ -17911,6 +18510,7 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.InvokeMode = types.InvokeMode(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -17919,6 +18519,7 @@ func awsRestjson1_deserializeDocumentFunctionUrlConfig(v **types.FunctionUrlConf } sv.LastModifiedTime = ptr.String(jtv) } + default: _, _ = key, value @@ -18024,10 +18625,12 @@ func awsRestjson1_deserializeDocumentImageConfig(v **types.ImageConfig, value in if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "EntryPoint": if err := awsRestjson1_deserializeDocumentStringList(&sv.EntryPoint, value); err != nil { return err } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -18036,6 +18639,7 @@ func awsRestjson1_deserializeDocumentImageConfig(v **types.ImageConfig, value in } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -18075,6 +18679,7 @@ func awsRestjson1_deserializeDocumentImageConfigError(v **types.ImageConfigError } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -18083,6 +18688,7 @@ func awsRestjson1_deserializeDocumentImageConfigError(v **types.ImageConfigError } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18118,10 +18724,12 @@ func awsRestjson1_deserializeDocumentImageConfigResponse(v **types.ImageConfigRe if err := awsRestjson1_deserializeDocumentImageConfigError(&sv.Error, value); err != nil { return err } + case "ImageConfig": if err := awsRestjson1_deserializeDocumentImageConfig(&sv.ImageConfig, value); err != nil { return err } + default: _, _ = key, value @@ -18161,6 +18769,7 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18169,6 +18778,7 @@ func awsRestjson1_deserializeDocumentInvalidCodeSignatureException(v **types.Inv } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18208,6 +18818,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18216,6 +18827,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18255,6 +18867,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18263,6 +18876,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestContentException(v **types.In } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18302,6 +18916,7 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18310,6 +18925,7 @@ func awsRestjson1_deserializeDocumentInvalidRuntimeException(v **types.InvalidRu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18349,6 +18965,7 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18357,6 +18974,7 @@ func awsRestjson1_deserializeDocumentInvalidSecurityGroupIDException(v **types.I } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18396,6 +19014,7 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18404,6 +19023,7 @@ func awsRestjson1_deserializeDocumentInvalidSubnetIDException(v **types.InvalidS } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18443,6 +19063,7 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18451,6 +19072,7 @@ func awsRestjson1_deserializeDocumentInvalidZipFileException(v **types.InvalidZi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18490,6 +19112,7 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18498,6 +19121,7 @@ func awsRestjson1_deserializeDocumentKMSAccessDeniedException(v **types.KMSAcces } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18537,6 +19161,7 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18545,6 +19170,7 @@ func awsRestjson1_deserializeDocumentKMSDisabledException(v **types.KMSDisabledE } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18584,6 +19210,7 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18592,6 +19219,7 @@ func awsRestjson1_deserializeDocumentKMSInvalidStateException(v **types.KMSInval } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18631,6 +19259,7 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18639,6 +19268,7 @@ func awsRestjson1_deserializeDocumentKMSNotFoundException(v **types.KMSNotFoundE } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18678,6 +19308,7 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -18690,6 +19321,7 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CodeSize = i64 } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -18698,6 +19330,7 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -18706,6 +19339,7 @@ func awsRestjson1_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.SigningProfileVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18775,6 +19409,7 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va if err := awsRestjson1_deserializeDocumentLayerVersionsListItem(&sv.LatestMatchingVersion, value); err != nil { return err } + case "LayerArn": if value != nil { jtv, ok := value.(string) @@ -18783,6 +19418,7 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va } sv.LayerArn = ptr.String(jtv) } + case "LayerName": if value != nil { jtv, ok := value.(string) @@ -18791,6 +19427,7 @@ func awsRestjson1_deserializeDocumentLayersListItem(v **types.LayersListItem, va } sv.LayerName = ptr.String(jtv) } + default: _, _ = key, value @@ -18864,6 +19501,7 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.CodeSha256 = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -18876,6 +19514,7 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.CodeSize = i64 } + case "Location": if value != nil { jtv, ok := value.(string) @@ -18884,6 +19523,7 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.Location = ptr.String(jtv) } + case "SigningJobArn": if value != nil { jtv, ok := value.(string) @@ -18892,6 +19532,7 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.SigningJobArn = ptr.String(jtv) } + case "SigningProfileVersionArn": if value != nil { jtv, ok := value.(string) @@ -18900,6 +19541,7 @@ func awsRestjson1_deserializeDocumentLayerVersionContentOutput(v **types.LayerVe } sv.SigningProfileVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18969,10 +19611,12 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } + case "CompatibleRuntimes": if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -18981,6 +19625,7 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18989,6 +19634,7 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.Description = ptr.String(jtv) } + case "LayerVersionArn": if value != nil { jtv, ok := value.(string) @@ -18997,6 +19643,7 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.LayerVersionArn = ptr.String(jtv) } + case "LicenseInfo": if value != nil { jtv, ok := value.(string) @@ -19005,6 +19652,7 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.LicenseInfo = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -19017,6 +19665,7 @@ func awsRestjson1_deserializeDocumentLayerVersionsListItem(v **types.LayerVersio } sv.Version = i64 } + default: _, _ = key, value @@ -19056,6 +19705,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.ApplicationLogLevel = types.ApplicationLogLevel(jtv) } + case "LogFormat": if value != nil { jtv, ok := value.(string) @@ -19064,6 +19714,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.LogFormat = types.LogFormat(jtv) } + case "LogGroup": if value != nil { jtv, ok := value.(string) @@ -19072,6 +19723,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.LogGroup = ptr.String(jtv) } + case "SystemLogLevel": if value != nil { jtv, ok := value.(string) @@ -19080,6 +19732,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.SystemLogLevel = types.SystemLogLevel(jtv) } + default: _, _ = key, value @@ -19119,6 +19772,7 @@ func awsRestjson1_deserializeDocumentOnFailure(v **types.OnFailure, value interf } sv.Destination = ptr.String(jtv) } + default: _, _ = key, value @@ -19158,6 +19812,7 @@ func awsRestjson1_deserializeDocumentOnSuccess(v **types.OnSuccess, value interf } sv.Destination = ptr.String(jtv) } + default: _, _ = key, value @@ -19197,6 +19852,7 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19205,6 +19861,7 @@ func awsRestjson1_deserializeDocumentPolicyLengthExceededException(v **types.Pol } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19244,6 +19901,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19252,6 +19910,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19329,6 +19988,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "AvailableProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -19341,6 +20001,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "FunctionArn": if value != nil { jtv, ok := value.(string) @@ -19349,6 +20010,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.FunctionArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -19357,6 +20019,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.LastModified = ptr.String(jtv) } + case "RequestedProvisionedConcurrentExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -19369,6 +20032,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19377,6 +20041,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -19385,6 +20050,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigListItem(v **ty } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -19424,6 +20090,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19432,6 +20099,7 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19507,6 +20175,7 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19515,6 +20184,7 @@ func awsRestjson1_deserializeDocumentRecursiveInvocationException(v **types.Recu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19554,6 +20224,7 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19562,6 +20233,7 @@ func awsRestjson1_deserializeDocumentRequestTooLargeException(v **types.RequestT } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19601,6 +20273,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19609,6 +20282,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19648,6 +20322,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19656,6 +20331,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19695,6 +20371,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19703,6 +20380,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19742,6 +20420,7 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19750,6 +20429,7 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -19785,6 +20465,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersionConfig(v **types.RuntimeVersi if err := awsRestjson1_deserializeDocumentRuntimeVersionError(&sv.Error, value); err != nil { return err } + case "RuntimeVersionArn": if value != nil { jtv, ok := value.(string) @@ -19793,6 +20474,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersionConfig(v **types.RuntimeVersi } sv.RuntimeVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19832,6 +20514,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersionError(v **types.RuntimeVersio } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -19840,6 +20523,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersionError(v **types.RuntimeVersio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19883,6 +20567,7 @@ func awsRestjson1_deserializeDocumentScalingConfig(v **types.ScalingConfig, valu } sv.MaximumConcurrency = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19954,6 +20639,7 @@ func awsRestjson1_deserializeDocumentSelfManagedEventSource(v **types.SelfManage if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -19993,6 +20679,7 @@ func awsRestjson1_deserializeDocumentSelfManagedKafkaEventSourceConfig(v **types } sv.ConsumerGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -20032,6 +20719,7 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20040,6 +20728,7 @@ func awsRestjson1_deserializeDocumentServiceException(v **types.ServiceException } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20115,6 +20804,7 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20123,6 +20813,7 @@ func awsRestjson1_deserializeDocumentSnapStartException(v **types.SnapStartExcep } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20162,6 +20853,7 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20170,6 +20862,7 @@ func awsRestjson1_deserializeDocumentSnapStartNotReadyException(v **types.SnapSt } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20209,6 +20902,7 @@ func awsRestjson1_deserializeDocumentSnapStartResponse(v **types.SnapStartRespon } sv.ApplyOn = types.SnapStartApplyOn(jtv) } + case "OptimizationStatus": if value != nil { jtv, ok := value.(string) @@ -20217,6 +20911,7 @@ func awsRestjson1_deserializeDocumentSnapStartResponse(v **types.SnapStartRespon } sv.OptimizationStatus = types.SnapStartOptimizationStatus(jtv) } + default: _, _ = key, value @@ -20256,6 +20951,7 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20264,6 +20960,7 @@ func awsRestjson1_deserializeDocumentSnapStartTimeoutException(v **types.SnapSta } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20303,6 +21000,7 @@ func awsRestjson1_deserializeDocumentSourceAccessConfiguration(v **types.SourceA } sv.Type = types.SourceAccessType(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -20311,6 +21009,7 @@ func awsRestjson1_deserializeDocumentSourceAccessConfiguration(v **types.SourceA } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -20456,6 +21155,7 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20464,6 +21164,7 @@ func awsRestjson1_deserializeDocumentSubnetIPAddressLimitReachedException(v **ty } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20539,6 +21240,7 @@ func awsRestjson1_deserializeDocumentTagsError(v **types.TagsError, value interf } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20547,6 +21249,7 @@ func awsRestjson1_deserializeDocumentTagsError(v **types.TagsError, value interf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20586,6 +21289,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -20594,6 +21298,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Reason = types.ThrottleReason(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -20602,6 +21307,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RetryAfterSeconds = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20610,6 +21316,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20685,6 +21392,7 @@ func awsRestjson1_deserializeDocumentTracingConfigResponse(v **types.TracingConf } sv.Mode = types.TracingMode(jtv) } + default: _, _ = key, value @@ -20724,6 +21432,7 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20732,6 +21441,7 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20771,14 +21481,17 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.Ipv6AllowedForDualStack = ptr.Bool(jtv) } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -20787,6 +21500,7 @@ func awsRestjson1_deserializeDocumentVpcConfigResponse(v **types.VpcConfigRespon } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/launchwizard/deserializers.go b/service/launchwizard/deserializers.go index fcd64797a4c..14f7d1e763b 100644 --- a/service/launchwizard/deserializers.go +++ b/service/launchwizard/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -348,6 +349,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme } sv.Status = types.DeploymentStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -356,6 +358,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -513,6 +516,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsRestjson1_deserializeDocumentDeploymentData(&sv.Deployment, value); err != nil { return err } + default: _, _ = key, value @@ -670,6 +674,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadOutput(v **GetWorkloadOutput, if err := awsRestjson1_deserializeDocumentWorkloadData(&sv.Workload, value); err != nil { return err } + default: _, _ = key, value @@ -827,6 +832,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadDeploymentPatternOutput(v **Ge if err := awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(&sv.WorkloadDeploymentPattern, value); err != nil { return err } + default: _, _ = key, value @@ -984,6 +990,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentEventsOutput(v **ListDeploy if err := awsRestjson1_deserializeDocumentDeploymentEventDataSummaryList(&sv.DeploymentEvents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -992,6 +999,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentEventsOutput(v **ListDeploy } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1146,6 +1154,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentDataSummaryList(&sv.Deployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1154,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1311,6 +1321,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1472,10 +1483,12 @@ func awsRestjson1_deserializeOpDocumentListWorkloadDeploymentPatternsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "workloadDeploymentPatterns": if err := awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummaryList(&sv.WorkloadDeploymentPatterns, value); err != nil { return err } + default: _, _ = key, value @@ -1634,10 +1647,12 @@ func awsRestjson1_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } + case "workloads": if err := awsRestjson1_deserializeDocumentWorkloadDataSummaryList(&sv.Workloads, value); err != nil { return err } + default: _, _ = key, value @@ -2045,6 +2060,7 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Comparator = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2053,6 +2069,7 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2061,6 +2078,7 @@ func awsRestjson1_deserializeDocumentDeploymentConditionalField(v **types.Deploy } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2107,6 +2125,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } } + case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -2122,6 +2141,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } } + case "deploymentArn": if value != nil { jtv, ok := value.(string) @@ -2130,6 +2150,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.DeploymentArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2138,6 +2159,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2146,6 +2168,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Name = ptr.String(jtv) } + case "patternName": if value != nil { jtv, ok := value.(string) @@ -2154,6 +2177,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.PatternName = ptr.String(jtv) } + case "resourceGroup": if value != nil { jtv, ok := value.(string) @@ -2162,10 +2186,12 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.ResourceGroup = ptr.String(jtv) } + case "specifications": if err := awsRestjson1_deserializeDocumentDeploymentSpecifications(&sv.Specifications, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2174,10 +2200,12 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.Status = types.DeploymentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2186,6 +2214,7 @@ func awsRestjson1_deserializeDocumentDeploymentData(v **types.DeploymentData, va } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -2232,6 +2261,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } } + case "id": if value != nil { jtv, ok := value.(string) @@ -2240,6 +2270,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2248,6 +2279,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Name = ptr.String(jtv) } + case "patternName": if value != nil { jtv, ok := value.(string) @@ -2256,6 +2288,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.PatternName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2264,6 +2297,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.Status = types.DeploymentStatus(jtv) } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2272,6 +2306,7 @@ func awsRestjson1_deserializeDocumentDeploymentDataSummary(v **types.DeploymentD } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -2345,6 +2380,7 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2353,6 +2389,7 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2361,6 +2398,7 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.Status = types.EventStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2369,6 +2407,7 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } sv.StatusReason = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -2384,6 +2423,7 @@ func awsRestjson1_deserializeDocumentDeploymentEventDataSummary(v **types.Deploy } } + default: _, _ = key, value @@ -2523,10 +2563,12 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep if err := awsRestjson1_deserializeDocumentAllowedValues(&sv.AllowedValues, value); err != nil { return err } + case "conditionals": if err := awsRestjson1_deserializeDocumentSpecificationsConditionalData(&sv.Conditionals, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -2535,6 +2577,7 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2543,6 +2586,7 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Name = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(string) @@ -2551,6 +2595,7 @@ func awsRestjson1_deserializeDocumentDeploymentSpecificationsField(v **types.Dep } sv.Required = ptr.String(jtv) } + default: _, _ = key, value @@ -2590,6 +2635,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2629,6 +2675,7 @@ func awsRestjson1_deserializeDocumentResourceLimitException(v **types.ResourceLi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2668,6 +2715,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2777,6 +2825,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2816,6 +2865,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -2824,6 +2874,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.DisplayName = ptr.String(jtv) } + case "documentationUrl": if value != nil { jtv, ok := value.(string) @@ -2832,6 +2883,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.DocumentationUrl = ptr.String(jtv) } + case "iconUrl": if value != nil { jtv, ok := value.(string) @@ -2840,6 +2892,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.IconUrl = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2848,6 +2901,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.Status = types.WorkloadStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2856,6 +2910,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.StatusMessage = ptr.String(jtv) } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2919,7 @@ func awsRestjson1_deserializeDocumentWorkloadData(v **types.WorkloadData, value } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -2903,6 +2959,7 @@ func awsRestjson1_deserializeDocumentWorkloadDataSummary(v **types.WorkloadDataS } sv.DisplayName = ptr.String(jtv) } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -2911,6 +2968,7 @@ func awsRestjson1_deserializeDocumentWorkloadDataSummary(v **types.WorkloadDataS } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -2984,6 +3042,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.DeploymentPatternName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2992,6 +3051,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -3000,10 +3060,12 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.DisplayName = ptr.String(jtv) } + case "specifications": if err := awsRestjson1_deserializeDocumentDeploymentSpecificationsData(&sv.Specifications, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3012,6 +3074,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.Status = types.WorkloadDeploymentPatternStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3020,6 +3083,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.StatusMessage = ptr.String(jtv) } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -3028,6 +3092,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.WorkloadName = ptr.String(jtv) } + case "workloadVersionName": if value != nil { jtv, ok := value.(string) @@ -3036,6 +3101,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternData(v **types.Wor } sv.WorkloadVersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -3075,6 +3141,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.DeploymentPatternName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3083,6 +3150,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -3091,6 +3159,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.DisplayName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3099,6 +3168,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.Status = types.WorkloadDeploymentPatternStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -3107,6 +3177,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.StatusMessage = ptr.String(jtv) } + case "workloadName": if value != nil { jtv, ok := value.(string) @@ -3115,6 +3186,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.WorkloadName = ptr.String(jtv) } + case "workloadVersionName": if value != nil { jtv, ok := value.(string) @@ -3123,6 +3195,7 @@ func awsRestjson1_deserializeDocumentWorkloadDeploymentPatternDataSummary(v **ty } sv.WorkloadVersionName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lexmodelbuildingservice/deserializers.go b/service/lexmodelbuildingservice/deserializers.go index 8b1d5b7c9ec..fa47bf07bdd 100644 --- a/service/lexmodelbuildingservice/deserializers.go +++ b/service/lexmodelbuildingservice/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -196,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Checksum = ptr.String(jtv) } + case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -204,10 +206,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.ChildDirected = ptr.Bool(jtv) } + case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -223,6 +227,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -231,6 +236,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Description = ptr.String(jtv) } + case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -239,6 +245,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.DetectSentiment = ptr.Bool(jtv) } + case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -247,6 +254,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.EnableModelImprovements = ptr.Bool(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -255,6 +263,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.FailureReason = ptr.String(jtv) } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -267,10 +276,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -286,6 +297,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } + case "locale": if value != nil { jtv, ok := value.(string) @@ -294,6 +306,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Locale = types.Locale(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -302,6 +315,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -310,6 +324,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Status = types.Status(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -318,6 +333,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Version = ptr.String(jtv) } + case "voiceId": if value != nil { jtv, ok := value.(string) @@ -326,6 +342,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.VoiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -496,14 +513,17 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Checksum = ptr.String(jtv) } + case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } + case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -519,6 +539,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } } + case "description": if value != nil { jtv, ok := value.(string) @@ -527,26 +548,32 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } + case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } + case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -562,6 +589,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } } + case "name": if value != nil { jtv, ok := value.(string) @@ -570,10 +598,12 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Name = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -582,18 +612,22 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.ParentIntentSignature = ptr.String(jtv) } + case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } + case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -602,6 +636,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentVersionOutput(v **CreateInten } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -772,6 +807,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Checksum = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -787,6 +823,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -795,10 +832,12 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Description = ptr.String(jtv) } + case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -814,6 +853,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -822,6 +862,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Name = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -830,10 +871,12 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } + case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -842,6 +885,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -850,6 +894,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeVersionOutput(v **CreateSlo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1982,6 +2027,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -1990,6 +2036,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Checksum = ptr.String(jtv) } + case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -1998,10 +2045,12 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.ChildDirected = ptr.Bool(jtv) } + case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2017,6 +2066,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2025,6 +2075,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Description = ptr.String(jtv) } + case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -2033,6 +2084,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.DetectSentiment = ptr.Bool(jtv) } + case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -2041,6 +2093,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.EnableModelImprovements = ptr.Bool(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -2049,6 +2102,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.FailureReason = ptr.String(jtv) } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2061,10 +2115,12 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2080,6 +2136,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } + case "locale": if value != nil { jtv, ok := value.(string) @@ -2088,6 +2145,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Locale = types.Locale(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2096,6 +2154,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Name = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -2129,6 +2188,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -2137,6 +2197,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Status = types.Status(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -2145,6 +2206,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.Version = ptr.String(jtv) } + case "voiceId": if value != nil { jtv, ok := value.(string) @@ -2153,6 +2215,7 @@ func awsRestjson1_deserializeOpDocumentGetBotOutput(v **GetBotOutput, value inte } sv.VoiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2317,6 +2380,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.BotName = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -2325,6 +2389,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.BotVersion = ptr.String(jtv) } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -2333,10 +2398,12 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Checksum = ptr.String(jtv) } + case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2352,6 +2419,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2360,6 +2428,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -2375,6 +2444,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2383,6 +2453,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasOutput(v **GetBotAliasOutput, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2540,6 +2611,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasesOutput(v **GetBotAliasesOutp if err := awsRestjson1_deserializeDocumentBotAliasMetadataList(&sv.BotAliases, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2548,6 +2620,7 @@ func awsRestjson1_deserializeOpDocumentGetBotAliasesOutput(v **GetBotAliasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2712,10 +2785,12 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.BotAlias = ptr.String(jtv) } + case "botConfiguration": if err := awsRestjson1_deserializeDocumentChannelConfigurationMap(&sv.BotConfiguration, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -2724,6 +2799,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.BotName = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -2739,6 +2815,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2747,6 +2824,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Description = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2833,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.FailureReason = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2763,6 +2842,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2771,6 +2851,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Status = types.ChannelStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2779,6 +2860,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationOutput(v **GetBot } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -2936,6 +3018,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationsOutput(v **GetBo if err := awsRestjson1_deserializeDocumentBotChannelAssociationList(&sv.BotChannelAssociations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2944,6 +3027,7 @@ func awsRestjson1_deserializeOpDocumentGetBotChannelAssociationsOutput(v **GetBo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3104,6 +3188,7 @@ func awsRestjson1_deserializeOpDocumentGetBotsOutput(v **GetBotsOutput, value in if err := awsRestjson1_deserializeDocumentBotMetadataList(&sv.Bots, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3112,6 +3197,7 @@ func awsRestjson1_deserializeOpDocumentGetBotsOutput(v **GetBotsOutput, value in } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3272,6 +3358,7 @@ func awsRestjson1_deserializeOpDocumentGetBotVersionsOutput(v **GetBotVersionsOu if err := awsRestjson1_deserializeDocumentBotMetadataList(&sv.Bots, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3280,6 +3367,7 @@ func awsRestjson1_deserializeOpDocumentGetBotVersionsOutput(v **GetBotVersionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3444,14 +3532,17 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentOutput(v **GetBuiltinInte } sv.Signature = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentBuiltinIntentSlotList(&sv.Slots, value); err != nil { return err } + case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } + default: _, _ = key, value @@ -3609,6 +3700,7 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentsOutput(v **GetBuiltinInt if err := awsRestjson1_deserializeDocumentBuiltinIntentMetadataList(&sv.Intents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3617,6 +3709,7 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinIntentsOutput(v **GetBuiltinInt } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3778,10 +3871,12 @@ func awsRestjson1_deserializeOpDocumentGetBuiltinSlotTypesOutput(v **GetBuiltinS } sv.NextToken = ptr.String(jtv) } + case "slotTypes": if err := awsRestjson1_deserializeDocumentBuiltinSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } + default: _, _ = key, value @@ -3946,6 +4041,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ExportStatus = types.ExportStatus(jtv) } + case "exportType": if value != nil { jtv, ok := value.(string) @@ -3954,6 +4050,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ExportType = types.ExportType(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -3962,6 +4059,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.FailureReason = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3970,6 +4068,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3978,6 +4077,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.ResourceType = types.ResourceType(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -3986,6 +4086,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Url = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3994,6 +4095,7 @@ func awsRestjson1_deserializeOpDocumentGetExportOutput(v **GetExportOutput, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4165,10 +4267,12 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } } + case "failureReason": if err := awsRestjson1_deserializeDocumentStringList(&sv.FailureReason, value); err != nil { return err } + case "importId": if value != nil { jtv, ok := value.(string) @@ -4177,6 +4281,7 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -4185,6 +4290,7 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ImportStatus = types.ImportStatus(jtv) } + case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -4193,6 +4299,7 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.MergeStrategy = types.MergeStrategy(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4201,6 +4308,7 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4209,6 +4317,7 @@ func awsRestjson1_deserializeOpDocumentGetImportOutput(v **GetImportOutput, valu } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -4373,14 +4482,17 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Checksum = ptr.String(jtv) } + case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } + case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -4396,6 +4508,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4404,26 +4517,32 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } + case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } + case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -4439,6 +4558,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -4447,10 +4567,12 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Name = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -4459,18 +4581,22 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.ParentIntentSignature = ptr.String(jtv) } + case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } + case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -4479,6 +4605,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentOutput(v **GetIntentOutput, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4639,6 +4766,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentsOutput(v **GetIntentsOutput, va if err := awsRestjson1_deserializeDocumentIntentMetadataList(&sv.Intents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4647,6 +4775,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentsOutput(v **GetIntentsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4807,6 +4936,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentVersionsOutput(v **GetIntentVers if err := awsRestjson1_deserializeDocumentIntentMetadataList(&sv.Intents, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4815,6 +4945,7 @@ func awsRestjson1_deserializeOpDocumentGetIntentVersionsOutput(v **GetIntentVers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4975,6 +5106,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput if err := awsRestjson1_deserializeDocumentMigrationAlerts(&sv.Alerts, value); err != nil { return err } + case "migrationId": if value != nil { jtv, ok := value.(string) @@ -4983,6 +5115,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationId = ptr.String(jtv) } + case "migrationStatus": if value != nil { jtv, ok := value.(string) @@ -4991,6 +5124,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationStatus = types.MigrationStatus(jtv) } + case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -4999,6 +5133,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.MigrationStrategy = types.MigrationStrategy(jtv) } + case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -5014,6 +5149,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } } + case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -5022,6 +5158,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotLocale = types.Locale(jtv) } + case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -5030,6 +5167,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotName = ptr.String(jtv) } + case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -5038,6 +5176,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V1BotVersion = ptr.String(jtv) } + case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -5046,6 +5185,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V2BotId = ptr.String(jtv) } + case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -5054,6 +5194,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationOutput(v **GetMigrationOutput } sv.V2BotRole = ptr.String(jtv) } + default: _, _ = key, value @@ -5211,6 +5352,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationsOutput(v **GetMigrationsOutp if err := awsRestjson1_deserializeDocumentMigrationSummaryList(&sv.MigrationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5219,6 +5361,7 @@ func awsRestjson1_deserializeOpDocumentGetMigrationsOutput(v **GetMigrationsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5383,6 +5526,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Checksum = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -5398,6 +5542,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5406,10 +5551,12 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Description = ptr.String(jtv) } + case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -5425,6 +5572,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5433,6 +5581,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Name = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -5441,10 +5590,12 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } + case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -5453,6 +5604,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5461,6 +5613,7 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeOutput(v **GetSlotTypeOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5625,10 +5778,12 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypesOutput(v **GetSlotTypesOutput } sv.NextToken = ptr.String(jtv) } + case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } + default: _, _ = key, value @@ -5793,10 +5948,12 @@ func awsRestjson1_deserializeOpDocumentGetSlotTypeVersionsOutput(v **GetSlotType } sv.NextToken = ptr.String(jtv) } + case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeMetadataList(&sv.SlotTypes, value); err != nil { return err } + default: _, _ = key, value @@ -5958,10 +6115,12 @@ func awsRestjson1_deserializeOpDocumentGetUtterancesViewOutput(v **GetUtterances } sv.BotName = ptr.String(jtv) } + case "utterances": if err := awsRestjson1_deserializeDocumentListsOfUtterances(&sv.Utterances, value); err != nil { return err } + default: _, _ = key, value @@ -6122,6 +6281,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6285,6 +6445,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte if err := awsRestjson1_deserializeDocumentStatement(&sv.AbortStatement, value); err != nil { return err } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -6293,6 +6454,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Checksum = ptr.String(jtv) } + case "childDirected": if value != nil { jtv, ok := value.(bool) @@ -6301,10 +6463,12 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.ChildDirected = ptr.Bool(jtv) } + case "clarificationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ClarificationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6320,6 +6484,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } + case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -6328,6 +6493,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.CreateVersion = ptr.Bool(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6336,6 +6502,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Description = ptr.String(jtv) } + case "detectSentiment": if value != nil { jtv, ok := value.(bool) @@ -6344,6 +6511,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.DetectSentiment = ptr.Bool(jtv) } + case "enableModelImprovements": if value != nil { jtv, ok := value.(bool) @@ -6352,6 +6520,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.EnableModelImprovements = ptr.Bool(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6360,6 +6529,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.FailureReason = ptr.String(jtv) } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6372,10 +6542,12 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "intents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.Intents, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6391,6 +6563,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } + case "locale": if value != nil { jtv, ok := value.(string) @@ -6399,6 +6572,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Locale = types.Locale(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6407,6 +6581,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Name = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -6440,6 +6615,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6448,10 +6624,12 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Status = types.Status(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -6460,6 +6638,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.Version = ptr.String(jtv) } + case "voiceId": if value != nil { jtv, ok := value.(string) @@ -6468,6 +6647,7 @@ func awsRestjson1_deserializeOpDocumentPutBotOutput(v **PutBotOutput, value inte } sv.VoiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6635,6 +6815,7 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.BotName = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6643,6 +6824,7 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.BotVersion = ptr.String(jtv) } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -6651,10 +6833,12 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Checksum = ptr.String(jtv) } + case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6670,6 +6854,7 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6678,6 +6863,7 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6693,6 +6879,7 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6701,10 +6888,12 @@ func awsRestjson1_deserializeOpDocumentPutBotAliasOutput(v **PutBotAliasOutput, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6872,14 +7061,17 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Checksum = ptr.String(jtv) } + case "conclusionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.ConclusionStatement, value); err != nil { return err } + case "confirmationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ConfirmationPrompt, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -6895,6 +7087,7 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } } + case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -6903,6 +7096,7 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.CreateVersion = ptr.Bool(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6911,26 +7105,32 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentCodeHook(&sv.DialogCodeHook, value); err != nil { return err } + case "followUpPrompt": if err := awsRestjson1_deserializeDocumentFollowUpPrompt(&sv.FollowUpPrompt, value); err != nil { return err } + case "fulfillmentActivity": if err := awsRestjson1_deserializeDocumentFulfillmentActivity(&sv.FulfillmentActivity, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextList(&sv.InputContexts, value); err != nil { return err } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6946,6 +7146,7 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6954,10 +7155,12 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Name = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -6966,18 +7169,22 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.ParentIntentSignature = ptr.String(jtv) } + case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentIntentUtteranceList(&sv.SampleUtterances, value); err != nil { return err } + case "slots": if err := awsRestjson1_deserializeDocumentSlotList(&sv.Slots, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -6986,6 +7193,7 @@ func awsRestjson1_deserializeOpDocumentPutIntentOutput(v **PutIntentOutput, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7153,6 +7361,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Checksum = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -7168,6 +7377,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } } + case "createVersion": if value != nil { jtv, ok := value.(bool) @@ -7176,6 +7386,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.CreateVersion = ptr.Bool(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7184,10 +7395,12 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Description = ptr.String(jtv) } + case "enumerationValues": if err := awsRestjson1_deserializeDocumentEnumerationValues(&sv.EnumerationValues, value); err != nil { return err } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -7203,6 +7416,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7211,6 +7425,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Name = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -7219,10 +7434,12 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeConfigurations": if err := awsRestjson1_deserializeDocumentSlotTypeConfigurations(&sv.SlotTypeConfigurations, value); err != nil { return err } + case "valueSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -7231,6 +7448,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.ValueSelectionStrategy = types.SlotValueSelectionStrategy(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -7239,6 +7457,7 @@ func awsRestjson1_deserializeOpDocumentPutSlotTypeOutput(v **PutSlotTypeOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7407,6 +7626,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + case "importId": if value != nil { jtv, ok := value.(string) @@ -7415,6 +7635,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -7423,6 +7644,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } + case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -7431,6 +7653,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.MergeStrategy = types.MergeStrategy(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7439,6 +7662,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7447,10 +7671,12 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ResourceType = types.ResourceType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7618,6 +7844,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.MigrationId = ptr.String(jtv) } + case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -7626,6 +7853,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.MigrationStrategy = types.MigrationStrategy(jtv) } + case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -7641,6 +7869,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } } + case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -7649,6 +7878,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotLocale = types.Locale(jtv) } + case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -7657,6 +7887,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotName = ptr.String(jtv) } + case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -7665,6 +7896,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V1BotVersion = ptr.String(jtv) } + case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -7673,6 +7905,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V2BotId = ptr.String(jtv) } + case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -7681,6 +7914,7 @@ func awsRestjson1_deserializeOpDocumentStartMigrationOutput(v **StartMigrationOu } sv.V2BotRole = ptr.String(jtv) } + default: _, _ = key, value @@ -8224,6 +8458,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8263,6 +8498,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8302,6 +8538,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.BotName = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8310,6 +8547,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.BotVersion = ptr.String(jtv) } + case "checksum": if value != nil { jtv, ok := value.(string) @@ -8318,10 +8556,12 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Checksum = ptr.String(jtv) } + case "conversationLogs": if err := awsRestjson1_deserializeDocumentConversationLogsResponse(&sv.ConversationLogs, value); err != nil { return err } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -8337,6 +8577,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8345,6 +8586,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8360,6 +8602,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8368,6 +8611,7 @@ func awsRestjson1_deserializeDocumentBotAliasMetadata(v **types.BotAliasMetadata } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8441,10 +8685,12 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.BotAlias = ptr.String(jtv) } + case "botConfiguration": if err := awsRestjson1_deserializeDocumentChannelConfigurationMap(&sv.BotConfiguration, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -8453,6 +8699,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.BotName = ptr.String(jtv) } + case "createdDate": if value != nil { switch jtv := value.(type) { @@ -8468,6 +8715,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8476,6 +8724,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Description = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8484,6 +8733,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.FailureReason = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8492,6 +8742,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8500,6 +8751,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Status = types.ChannelStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8508,6 +8760,7 @@ func awsRestjson1_deserializeDocumentBotChannelAssociation(v **types.BotChannelA } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -8588,6 +8841,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8596,6 +8850,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -8611,6 +8866,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8619,6 +8875,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8627,6 +8884,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Status = types.Status(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -8635,6 +8893,7 @@ func awsRestjson1_deserializeDocumentBotMetadata(v **types.BotMetadata, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8708,10 +8967,12 @@ func awsRestjson1_deserializeDocumentBuiltinIntentMetadata(v **types.BuiltinInte } sv.Signature = ptr.String(jtv) } + case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } + default: _, _ = key, value @@ -8785,6 +9046,7 @@ func awsRestjson1_deserializeDocumentBuiltinIntentSlot(v **types.BuiltinIntentSl } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8858,10 +9120,12 @@ func awsRestjson1_deserializeDocumentBuiltinSlotTypeMetadata(v **types.BuiltinSl } sv.Signature = ptr.String(jtv) } + case "supportedLocales": if err := awsRestjson1_deserializeDocumentLocaleList(&sv.SupportedLocales, value); err != nil { return err } + default: _, _ = key, value @@ -8971,6 +9235,7 @@ func awsRestjson1_deserializeDocumentCodeHook(v **types.CodeHook, value interfac } sv.MessageVersion = ptr.String(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -8979,6 +9244,7 @@ func awsRestjson1_deserializeDocumentCodeHook(v **types.CodeHook, value interfac } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -9018,6 +9284,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9057,10 +9324,12 @@ func awsRestjson1_deserializeDocumentConversationLogsResponse(v **types.Conversa } sv.IamRoleArn = ptr.String(jtv) } + case "logSettings": if err := awsRestjson1_deserializeDocumentLogSettingsResponseList(&sv.LogSettings, value); err != nil { return err } + default: _, _ = key, value @@ -9096,6 +9365,7 @@ func awsRestjson1_deserializeDocumentEnumerationValue(v **types.EnumerationValue if err := awsRestjson1_deserializeDocumentSynonymList(&sv.Synonyms, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -9104,6 +9374,7 @@ func awsRestjson1_deserializeDocumentEnumerationValue(v **types.EnumerationValue } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9173,10 +9444,12 @@ func awsRestjson1_deserializeDocumentFollowUpPrompt(v **types.FollowUpPrompt, va if err := awsRestjson1_deserializeDocumentPrompt(&sv.Prompt, value); err != nil { return err } + case "rejectionStatement": if err := awsRestjson1_deserializeDocumentStatement(&sv.RejectionStatement, value); err != nil { return err } + default: _, _ = key, value @@ -9212,6 +9485,7 @@ func awsRestjson1_deserializeDocumentFulfillmentActivity(v **types.FulfillmentAc if err := awsRestjson1_deserializeDocumentCodeHook(&sv.CodeHook, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9220,6 +9494,7 @@ func awsRestjson1_deserializeDocumentFulfillmentActivity(v **types.FulfillmentAc } sv.Type = types.FulfillmentActivityType(jtv) } + default: _, _ = key, value @@ -9259,6 +9534,7 @@ func awsRestjson1_deserializeDocumentInputContext(v **types.InputContext, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9332,6 +9608,7 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.IntentName = ptr.String(jtv) } + case "intentVersion": if value != nil { jtv, ok := value.(string) @@ -9340,6 +9617,7 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.IntentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -9420,6 +9698,7 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9428,6 +9707,7 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -9443,6 +9723,7 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9451,6 +9732,7 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -9459,6 +9741,7 @@ func awsRestjson1_deserializeDocumentIntentMetadata(v **types.IntentMetadata, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9568,6 +9851,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9607,6 +9891,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.KendraIndex = ptr.String(jtv) } + case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -9615,6 +9900,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterString = ptr.String(jtv) } + case "role": if value != nil { jtv, ok := value.(string) @@ -9623,6 +9909,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.Role = ptr.String(jtv) } + default: _, _ = key, value @@ -9662,6 +9949,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -9670,6 +9958,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -9813,6 +10102,7 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.Destination = types.Destination(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -9821,6 +10111,7 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.KmsKeyArn = ptr.String(jtv) } + case "logType": if value != nil { jtv, ok := value.(string) @@ -9829,6 +10120,7 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.LogType = types.LogType(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9837,6 +10129,7 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.ResourceArn = ptr.String(jtv) } + case "resourcePrefix": if value != nil { jtv, ok := value.(string) @@ -9845,6 +10138,7 @@ func awsRestjson1_deserializeDocumentLogSettingsResponse(v **types.LogSettingsRe } sv.ResourcePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -9918,6 +10212,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Content = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -9926,6 +10221,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ContentType = types.ContentType(jtv) } + case "groupNumber": if value != nil { jtv, ok := value.(json.Number) @@ -9938,6 +10234,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.GroupNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10007,6 +10304,7 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va if err := awsRestjson1_deserializeDocumentMigrationAlertDetails(&sv.Details, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -10015,10 +10313,12 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va } sv.Message = ptr.String(jtv) } + case "referenceURLs": if err := awsRestjson1_deserializeDocumentMigrationAlertReferenceURLs(&sv.ReferenceURLs, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10027,6 +10327,7 @@ func awsRestjson1_deserializeDocumentMigrationAlert(v **types.MigrationAlert, va } sv.Type = types.MigrationAlertType(jtv) } + default: _, _ = key, value @@ -10172,6 +10473,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationId = ptr.String(jtv) } + case "migrationStatus": if value != nil { jtv, ok := value.(string) @@ -10180,6 +10482,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationStatus = types.MigrationStatus(jtv) } + case "migrationStrategy": if value != nil { jtv, ok := value.(string) @@ -10188,6 +10491,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.MigrationStrategy = types.MigrationStrategy(jtv) } + case "migrationTimestamp": if value != nil { switch jtv := value.(type) { @@ -10203,6 +10507,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } } + case "v1BotLocale": if value != nil { jtv, ok := value.(string) @@ -10211,6 +10516,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotLocale = types.Locale(jtv) } + case "v1BotName": if value != nil { jtv, ok := value.(string) @@ -10219,6 +10525,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotName = ptr.String(jtv) } + case "v1BotVersion": if value != nil { jtv, ok := value.(string) @@ -10227,6 +10534,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V1BotVersion = ptr.String(jtv) } + case "v2BotId": if value != nil { jtv, ok := value.(string) @@ -10235,6 +10543,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V2BotId = ptr.String(jtv) } + case "v2BotRole": if value != nil { jtv, ok := value.(string) @@ -10243,6 +10552,7 @@ func awsRestjson1_deserializeDocumentMigrationSummary(v **types.MigrationSummary } sv.V2BotRole = ptr.String(jtv) } + default: _, _ = key, value @@ -10316,6 +10626,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10355,6 +10666,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.Name = ptr.String(jtv) } + case "timeToLiveInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10367,6 +10679,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } + case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -10379,6 +10692,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TurnsToLive = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10452,6 +10766,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10495,10 +10810,12 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.MaxAttempts = ptr.Int32(int32(i64)) } + case "messages": if err := awsRestjson1_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } + case "responseCard": if value != nil { jtv, ok := value.(string) @@ -10507,6 +10824,7 @@ func awsRestjson1_deserializeDocumentPrompt(v **types.Prompt, value interface{}) } sv.ResponseCard = ptr.String(jtv) } + default: _, _ = key, value @@ -10542,6 +10860,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn if err := awsRestjson1_deserializeDocumentResourceReference(&sv.ExampleReference, value); err != nil { return err } + case "referenceType": if value != nil { jtv, ok := value.(string) @@ -10550,6 +10869,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ReferenceType = types.ReferenceType(jtv) } + default: _, _ = key, value @@ -10589,6 +10909,7 @@ func awsRestjson1_deserializeDocumentResourceReference(v **types.ResourceReferen } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -10597,6 +10918,7 @@ func awsRestjson1_deserializeDocumentResourceReference(v **types.ResourceReferen } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10632,6 +10954,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpec(&sv.DefaultValueSpec, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10640,6 +10963,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10648,6 +10972,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Name = ptr.String(jtv) } + case "obfuscationSetting": if value != nil { jtv, ok := value.(string) @@ -10656,6 +10981,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.ObfuscationSetting = types.ObfuscationSetting(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -10668,6 +10994,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Priority = ptr.Int32(int32(i64)) } + case "responseCard": if value != nil { jtv, ok := value.(string) @@ -10676,10 +11003,12 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.ResponseCard = ptr.String(jtv) } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSlotUtteranceList(&sv.SampleUtterances, value); err != nil { return err } + case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -10688,6 +11017,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotConstraint = types.SlotConstraint(jtv) } + case "slotType": if value != nil { jtv, ok := value.(string) @@ -10696,6 +11026,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotType = ptr.String(jtv) } + case "slotTypeVersion": if value != nil { jtv, ok := value.(string) @@ -10704,10 +11035,12 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotTypeVersion = ptr.String(jtv) } + case "valueElicitationPrompt": if err := awsRestjson1_deserializeDocumentPrompt(&sv.ValueElicitationPrompt, value); err != nil { return err } + default: _, _ = key, value @@ -10747,6 +11080,7 @@ func awsRestjson1_deserializeDocumentSlotDefaultValue(v **types.SlotDefaultValue } sv.DefaultValue = ptr.String(jtv) } + default: _, _ = key, value @@ -10816,6 +11150,7 @@ func awsRestjson1_deserializeDocumentSlotDefaultValueSpec(v **types.SlotDefaultV if err := awsRestjson1_deserializeDocumentSlotDefaultValueList(&sv.DefaultValueList, value); err != nil { return err } + default: _, _ = key, value @@ -10885,6 +11220,7 @@ func awsRestjson1_deserializeDocumentSlotTypeConfiguration(v **types.SlotTypeCon if err := awsRestjson1_deserializeDocumentSlotTypeRegexConfiguration(&sv.RegexConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10965,6 +11301,7 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10973,6 +11310,7 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -10988,6 +11326,7 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11335,7 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -11004,6 +11344,7 @@ func awsRestjson1_deserializeDocumentSlotTypeMetadata(v **types.SlotTypeMetadata } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11077,6 +11418,7 @@ func awsRestjson1_deserializeDocumentSlotTypeRegexConfiguration(v **types.SlotTy } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -11148,6 +11490,7 @@ func awsRestjson1_deserializeDocumentStatement(v **types.Statement, value interf if err := awsRestjson1_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } + case "responseCard": if value != nil { jtv, ok := value.(string) @@ -11156,6 +11499,7 @@ func awsRestjson1_deserializeDocumentStatement(v **types.Statement, value interf } sv.ResponseCard = ptr.String(jtv) } + default: _, _ = key, value @@ -11267,6 +11611,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -11275,6 +11620,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11352,6 +11698,7 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.Count = ptr.Int32(int32(i64)) } + case "distinctUsers": if value != nil { jtv, ok := value.(json.Number) @@ -11364,6 +11711,7 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.DistinctUsers = ptr.Int32(int32(i64)) } + case "firstUtteredDate": if value != nil { switch jtv := value.(type) { @@ -11379,6 +11727,7 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } } + case "lastUtteredDate": if value != nil { switch jtv := value.(type) { @@ -11394,6 +11743,7 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } } + case "utteranceString": if value != nil { jtv, ok := value.(string) @@ -11402,6 +11752,7 @@ func awsRestjson1_deserializeDocumentUtteranceData(v **types.UtteranceData, valu } sv.UtteranceString = ptr.String(jtv) } + default: _, _ = key, value @@ -11441,10 +11792,12 @@ func awsRestjson1_deserializeDocumentUtteranceList(v **types.UtteranceList, valu } sv.BotVersion = ptr.String(jtv) } + case "utterances": if err := awsRestjson1_deserializeDocumentListOfUtterance(&sv.Utterances, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/lexmodelsv2/deserializers.go b/service/lexmodelsv2/deserializers.go index 0ee551772ae..91b3fa9523a 100644 --- a/service/lexmodelsv2/deserializers.go +++ b/service/lexmodelsv2/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -198,10 +199,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -210,10 +213,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -381,6 +386,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -389,10 +395,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -401,10 +409,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -572,6 +582,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -580,10 +591,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.BotVersion = ptr.String(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentFailedCustomVocabularyItems(&sv.Errors, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -592,10 +605,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateCustomVocabularyItemOutput(v * } sv.LocaleId = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -766,6 +781,7 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotId = ptr.String(jtv) } + case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -774,6 +790,7 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -782,6 +799,7 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.BotVersion = ptr.String(jtv) } + case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -797,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -805,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentBuildBotLocaleOutput(v **BuildBotLocaleOu } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -975,10 +995,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotId = ptr.String(jtv) } + case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -987,6 +1009,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -995,10 +1018,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } + case "botTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.BotTags, value); err != nil { return err } + case "botType": if value != nil { jtv, ok := value.(string) @@ -1007,6 +1032,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.BotType = types.BotType(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1022,10 +1048,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } } + case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -1034,6 +1062,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.Description = ptr.String(jtv) } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1046,6 +1075,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1054,10 +1084,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotOutput(v **CreateBotOutput, valu } sv.RoleArn = ptr.String(jtv) } + case "testBotAliasTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestBotAliasTags, value); err != nil { return err } + default: _, _ = key, value @@ -1228,10 +1260,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasId = ptr.String(jtv) } + case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } + case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -1240,6 +1274,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasName = ptr.String(jtv) } + case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -1248,6 +1283,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -1256,6 +1292,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -1264,10 +1301,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.BotVersion = ptr.String(jtv) } + case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1283,6 +1322,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1291,14 +1331,17 @@ func awsRestjson1_deserializeOpDocumentCreateBotAliasOutput(v **CreateBotAliasOu } sv.Description = ptr.String(jtv) } + case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1469,6 +1512,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotId = ptr.String(jtv) } + case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1521,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -1485,6 +1530,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1500,6 +1546,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1508,10 +1555,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.Description = ptr.String(jtv) } + case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -1520,6 +1569,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.LocaleId = ptr.String(jtv) } + case "localeName": if value != nil { jtv, ok := value.(string) @@ -1528,6 +1578,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } sv.LocaleName = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -1561,10 +1612,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotLocaleOutput(v **CreateBotLocale } } + case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -1735,6 +1788,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.BotId = ptr.String(jtv) } + case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -1743,6 +1797,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1758,6 +1813,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -1766,6 +1822,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.ReplicaRegion = ptr.String(jtv) } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -1774,6 +1831,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotReplicaOutput(v **CreateBotRepli } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -1944,6 +2002,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotId = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -1952,6 +2011,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotStatus = types.BotStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -1960,10 +2020,12 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.BotVersion = ptr.String(jtv) } + case "botVersionLocaleSpecification": if err := awsRestjson1_deserializeDocumentBotVersionLocaleSpecification(&sv.BotVersionLocaleSpecification, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -1979,6 +2041,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1987,6 +2050,7 @@ func awsRestjson1_deserializeOpDocumentCreateBotVersionOutput(v **CreateBotVersi } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -2164,6 +2228,7 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -2172,6 +2237,7 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportId = ptr.String(jtv) } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -2180,6 +2246,7 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -2188,10 +2255,12 @@ func awsRestjson1_deserializeOpDocumentCreateExportOutput(v **CreateExportOutput } sv.FileFormat = types.ImportExportFileFormat(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -2362,6 +2431,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -2370,6 +2440,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -2385,6 +2456,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2393,30 +2465,37 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } + case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } + case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } + case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } + case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -2425,6 +2504,7 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.IntentId = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -2433,10 +2513,12 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.IntentName = ptr.String(jtv) } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -2445,10 +2527,12 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.LocaleId = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -2457,14 +2541,17 @@ func awsRestjson1_deserializeOpDocumentCreateIntentOutput(v **CreateIntentOutput } sv.ParentIntentSignature = ptr.String(jtv) } + case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + default: _, _ = key, value @@ -2635,6 +2722,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyOutput(v **CreateReso } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2643,6 +2731,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyOutput(v **CreateReso } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2816,6 +2905,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyStatementOutput(v **C } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2824,6 +2914,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourcePolicyStatementOutput(v **C } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2994,6 +3085,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -3002,6 +3094,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3017,6 +3110,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3025,6 +3119,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.Description = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -3033,6 +3128,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.IntentId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -3041,14 +3137,17 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.LocaleId = ptr.String(jtv) } + case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } + case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } + case "slotId": if value != nil { jtv, ok := value.(string) @@ -3057,6 +3156,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotId = ptr.String(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -3065,6 +3165,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotName = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -3073,14 +3174,17 @@ func awsRestjson1_deserializeOpDocumentCreateSlotOutput(v **CreateSlotOutput, va } sv.SlotTypeId = ptr.String(jtv) } + case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } + case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } + default: _, _ = key, value @@ -3251,6 +3355,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -3259,10 +3364,12 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.BotVersion = ptr.String(jtv) } + case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -3278,6 +3385,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3286,10 +3394,12 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.Description = ptr.String(jtv) } + case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -3298,6 +3408,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.LocaleId = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -3306,6 +3417,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -3314,6 +3426,7 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.SlotTypeId = ptr.String(jtv) } + case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -3322,14 +3435,17 @@ func awsRestjson1_deserializeOpDocumentCreateSlotTypeOutput(v **CreateSlotTypeOu } sv.SlotTypeName = ptr.String(jtv) } + case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } + case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } + default: _, _ = key, value @@ -3507,10 +3623,12 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } } + case "target": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(&sv.Target, value); err != nil { return err } + case "testSetDiscrepancyReportId": if value != nil { jtv, ok := value.(string) @@ -3519,6 +3637,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } sv.TestSetDiscrepancyReportId = ptr.String(jtv) } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -3527,6 +3646,7 @@ func awsRestjson1_deserializeOpDocumentCreateTestSetDiscrepancyReportOutput(v ** } sv.TestSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -3694,6 +3814,7 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.ImportId = ptr.String(jtv) } + case "uploadUrl": if value != nil { jtv, ok := value.(string) @@ -3702,6 +3823,7 @@ func awsRestjson1_deserializeOpDocumentCreateUploadUrlOutput(v **CreateUploadUrl } sv.UploadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -3872,6 +3994,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotOutput(v **DeleteBotOutput, valu } sv.BotId = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -3880,6 +4003,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotOutput(v **DeleteBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } + default: _, _ = key, value @@ -4050,6 +4174,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotAliasId = ptr.String(jtv) } + case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -4058,6 +4183,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -4066,6 +4192,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotAliasOutput(v **DeleteBotAliasOu } sv.BotId = ptr.String(jtv) } + default: _, _ = key, value @@ -4236,6 +4363,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotId = ptr.String(jtv) } + case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -4244,6 +4372,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4252,6 +4381,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -4260,6 +4390,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotLocaleOutput(v **DeleteBotLocale } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -4430,6 +4561,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.BotId = ptr.String(jtv) } + case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -4438,6 +4570,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -4446,6 +4579,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotReplicaOutput(v **DeleteBotRepli } sv.ReplicaRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -4616,6 +4750,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotId = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -4624,6 +4759,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotStatus = types.BotStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4632,6 +4768,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBotVersionOutput(v **DeleteBotVersi } sv.BotVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4802,6 +4939,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -4810,6 +4948,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.BotVersion = ptr.String(jtv) } + case "customVocabularyStatus": if value != nil { jtv, ok := value.(string) @@ -4818,6 +4957,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.CustomVocabularyStatus = types.CustomVocabularyStatus(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -4826,6 +4966,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCustomVocabularyOutput(v **DeleteCu } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -4993,6 +5134,7 @@ func awsRestjson1_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportId = ptr.String(jtv) } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -5001,6 +5143,7 @@ func awsRestjson1_deserializeOpDocumentDeleteExportOutput(v **DeleteExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } + default: _, _ = key, value @@ -5168,6 +5311,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImportOutput(v **DeleteImportOutput } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -5176,6 +5320,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImportOutput(v **DeleteImportOutput } sv.ImportStatus = types.ImportStatus(jtv) } + default: _, _ = key, value @@ -5449,6 +5594,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5457,6 +5603,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5621,6 +5768,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyStatementOutput(v **D } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5777,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePolicyStatementOutput(v **D } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6217,10 +6366,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotId = ptr.String(jtv) } + case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -6229,6 +6380,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -6237,6 +6389,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotStatus = types.BotStatus(jtv) } + case "botType": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6398,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.BotType = types.BotType(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6260,10 +6414,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } } + case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -6272,10 +6428,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6288,6 +6446,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -6303,6 +6462,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6471,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotOutput(v **DescribeBotOutput, } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6474,6 +6635,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli if err := awsRestjson1_deserializeDocumentBotAliasHistoryEventsList(&sv.BotAliasHistoryEvents, value); err != nil { return err } + case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -6482,10 +6644,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasId = ptr.String(jtv) } + case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } + case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -6494,6 +6658,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasName = ptr.String(jtv) } + case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -6502,6 +6667,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotAliasStatus = types.BotAliasStatus(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -6510,6 +6676,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6518,10 +6685,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.BotVersion = ptr.String(jtv) } + case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6537,6 +6706,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6545,6 +6715,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -6560,14 +6731,17 @@ func awsRestjson1_deserializeOpDocumentDescribeBotAliasOutput(v **DescribeBotAli } } + case "parentBotNetworks": if err := awsRestjson1_deserializeDocumentParentBotNetworks(&sv.ParentBotNetworks, value); err != nil { return err } + case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } + default: _, _ = key, value @@ -6735,10 +6909,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotId = ptr.String(jtv) } + case "botLocaleHistoryEvents": if err := awsRestjson1_deserializeDocumentBotLocaleHistoryEventsList(&sv.BotLocaleHistoryEvents, value); err != nil { return err } + case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -6747,6 +6923,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -6755,6 +6932,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -6770,6 +6948,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -6778,14 +6957,17 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } + case "intentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6798,6 +6980,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.IntentsCount = ptr.Int32(int32(i64)) } + case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -6813,6 +6996,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -6828,6 +7012,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -6836,6 +7021,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.LocaleId = ptr.String(jtv) } + case "localeName": if value != nil { jtv, ok := value.(string) @@ -6844,6 +7030,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.LocaleName = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -6877,10 +7064,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } } + case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } + case "slotTypesCount": if value != nil { jtv, ok := value.(json.Number) @@ -6893,10 +7082,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotLocaleOutput(v **DescribeBotLo } sv.SlotTypesCount = ptr.Int32(int32(i64)) } + case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7061,6 +7252,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -7069,10 +7261,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotRecommendationId = ptr.String(jtv) } + case "botRecommendationResults": if err := awsRestjson1_deserializeDocumentBotRecommendationResults(&sv.BotRecommendationResults, value); err != nil { return err } + case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -7081,6 +7275,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -7089,6 +7284,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7104,14 +7300,17 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } } + case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -7127,6 +7326,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -7135,10 +7335,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotRecommendationOutput(v **Descr } sv.LocaleId = ptr.String(jtv) } + case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } + default: _, _ = key, value @@ -7306,6 +7508,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.BotId = ptr.String(jtv) } + case "botReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -7314,6 +7517,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7329,10 +7533,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -7341,6 +7547,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.ReplicaRegion = ptr.String(jtv) } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -7349,6 +7556,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotReplicaOutput(v **DescribeBotR } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -7513,6 +7721,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -7521,6 +7730,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7536,10 +7746,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "generatedBotLocaleUrl": if value != nil { jtv, ok := value.(string) @@ -7548,6 +7760,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GeneratedBotLocaleUrl = ptr.String(jtv) } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -7556,6 +7769,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationId = ptr.String(jtv) } + case "generationInputPrompt": if value != nil { jtv, ok := value.(string) @@ -7564,6 +7778,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationInputPrompt = ptr.String(jtv) } + case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7787,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.GenerationStatus = types.GenerationStatus(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -7587,6 +7803,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -7595,6 +7812,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.LocaleId = ptr.String(jtv) } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -7603,6 +7821,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotResourceGenerationOutput(v **D } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7770,10 +7989,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotId = ptr.String(jtv) } + case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -7782,6 +8003,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -7790,6 +8012,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotStatus = types.BotStatus(jtv) } + case "botType": if value != nil { jtv, ok := value.(string) @@ -7798,6 +8021,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotType = types.BotType(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -7806,6 +8030,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -7821,10 +8046,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } } + case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -7833,10 +8060,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7849,10 +8078,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "parentBotNetworks": if err := awsRestjson1_deserializeDocumentParentBotNetworks(&sv.ParentBotNetworks, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7861,6 +8092,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBotVersionOutput(v **DescribeBotV } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8028,6 +8260,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8036,6 +8269,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8051,6 +8285,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } } + case "customVocabularyStatus": if value != nil { jtv, ok := value.(string) @@ -8059,6 +8294,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.CustomVocabularyStatus = types.CustomVocabularyStatus(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8074,6 +8310,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -8082,6 +8319,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCustomVocabularyMetadataOutput(v } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -8253,6 +8491,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } } + case "downloadUrl": if value != nil { jtv, ok := value.(string) @@ -8261,6 +8500,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.DownloadUrl = ptr.String(jtv) } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -8269,6 +8509,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.ExportId = ptr.String(jtv) } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -8277,10 +8518,12 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.ExportStatus = types.ExportStatus(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -8289,6 +8532,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } sv.FileFormat = types.ImportExportFileFormat(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8304,10 +8548,12 @@ func awsRestjson1_deserializeOpDocumentDescribeExportOutput(v **DescribeExportOu } } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -8479,10 +8725,12 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "importedResourceId": if value != nil { jtv, ok := value.(string) @@ -8491,6 +8739,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportedResourceId = ptr.String(jtv) } + case "importedResourceName": if value != nil { jtv, ok := value.(string) @@ -8499,6 +8748,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportedResourceName = ptr.String(jtv) } + case "importId": if value != nil { jtv, ok := value.(string) @@ -8507,6 +8757,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -8515,6 +8766,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.ImportStatus = types.ImportStatus(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8530,6 +8782,7 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } } + case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -8538,10 +8791,12 @@ func awsRestjson1_deserializeOpDocumentDescribeImportOutput(v **DescribeImportOu } sv.MergeStrategy = types.MergeStrategy(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentImportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -8709,6 +8964,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -8717,6 +8973,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8732,6 +8989,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8740,30 +8998,37 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } + case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } + case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } + case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } + case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -8772,6 +9037,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.IntentId = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -8780,10 +9046,12 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.IntentName = ptr.String(jtv) } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8799,6 +9067,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -8807,10 +9076,12 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.LocaleId = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -8819,18 +9090,22 @@ func awsRestjson1_deserializeOpDocumentDescribeIntentOutput(v **DescribeIntentOu } sv.ParentIntentSignature = ptr.String(jtv) } + case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + case "slotPriorities": if err := awsRestjson1_deserializeDocumentSlotPrioritiesList(&sv.SlotPriorities, value); err != nil { return err } + default: _, _ = key, value @@ -8992,6 +9267,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.Policy = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9000,6 +9276,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -9008,6 +9285,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9175,6 +9453,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -9183,6 +9462,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9198,6 +9478,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9206,6 +9487,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.Description = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -9214,6 +9496,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.IntentId = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9229,6 +9512,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -9237,14 +9521,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.LocaleId = ptr.String(jtv) } + case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } + case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } + case "slotId": if value != nil { jtv, ok := value.(string) @@ -9253,6 +9540,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotId = ptr.String(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -9261,6 +9549,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotName = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -9269,14 +9558,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotOutput(v **DescribeSlotOutput } sv.SlotTypeId = ptr.String(jtv) } + case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } + case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } + default: _, _ = key, value @@ -9444,6 +9736,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -9452,10 +9745,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.BotVersion = ptr.String(jtv) } + case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9471,6 +9766,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9479,10 +9775,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.Description = ptr.String(jtv) } + case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9498,6 +9796,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -9506,6 +9805,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.LocaleId = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -9514,6 +9814,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -9522,6 +9823,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.SlotTypeId = ptr.String(jtv) } + case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -9530,14 +9832,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSlotTypeOutput(v **DescribeSlotTy } sv.SlotTypeName = ptr.String(jtv) } + case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } + case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } + default: _, _ = key, value @@ -9705,6 +10010,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.ApiMode = types.TestExecutionApiMode(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9720,10 +10026,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9739,10 +10047,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } } + case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } + case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -9751,6 +10061,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionId = ptr.String(jtv) } + case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -9759,6 +10070,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionModality = types.TestExecutionModality(jtv) } + case "testExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -9767,6 +10079,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestExecutionStatus = types.TestExecutionStatus(jtv) } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -9775,6 +10088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -9783,6 +10097,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestExecutionOutput(v **DescribeT } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -9957,6 +10272,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9965,6 +10281,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9980,6 +10297,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } } + case "modality": if value != nil { jtv, ok := value.(string) @@ -9988,6 +10306,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Modality = types.TestSetModality(jtv) } + case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -10000,6 +10319,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.NumTurns = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10008,6 +10328,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10016,10 +10337,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.Status = types.TestSetStatus(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10028,6 +10351,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -10036,6 +10360,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetOutput(v **DescribeTestSet } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -10210,10 +10535,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "lastUpdatedDataTime": if value != nil { switch jtv := value.(type) { @@ -10229,10 +10556,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } } + case "target": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(&sv.Target, value); err != nil { return err } + case "testSetDiscrepancyRawOutputUrl": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10570,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyRawOutputUrl = ptr.String(jtv) } + case "testSetDiscrepancyReportId": if value != nil { jtv, ok := value.(string) @@ -10249,6 +10579,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyReportId = ptr.String(jtv) } + case "testSetDiscrepancyReportStatus": if value != nil { jtv, ok := value.(string) @@ -10257,10 +10588,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetDiscrepancyReportStatus = types.TestSetDiscrepancyReportStatus(jtv) } + case "testSetDiscrepancyTopErrors": if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyErrors(&sv.TestSetDiscrepancyTopErrors, value); err != nil { return err } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10269,6 +10602,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetDiscrepancyReportOutput(v } sv.TestSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10443,6 +10777,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10451,14 +10786,17 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "generationDataSource": if err := awsRestjson1_deserializeDocumentTestSetGenerationDataSource(&sv.GenerationDataSource, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10474,6 +10812,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10482,10 +10821,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.RoleArn = ptr.String(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetGenerationId": if value != nil { jtv, ok := value.(string) @@ -10494,6 +10835,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetGenerationId = ptr.String(jtv) } + case "testSetGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -10502,6 +10844,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetGenerationStatus = types.TestSetGenerationStatus(jtv) } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -10510,6 +10853,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -10518,6 +10862,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTestSetGenerationOutput(v **Descr } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -10691,6 +11036,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -10699,6 +11045,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.BotVersion = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -10707,6 +11054,7 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.IntentId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -10715,10 +11063,12 @@ func awsRestjson1_deserializeOpDocumentGenerateBotElementOutput(v **GenerateBotE } sv.LocaleId = ptr.String(jtv) } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + default: _, _ = key, value @@ -10886,6 +11236,7 @@ func awsRestjson1_deserializeOpDocumentGetTestExecutionArtifactsUrlOutput(v **Ge } sv.DownloadArtifactsUrl = ptr.String(jtv) } + case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -10894,6 +11245,7 @@ func awsRestjson1_deserializeOpDocumentGetTestExecutionArtifactsUrlOutput(v **Ge } sv.TestExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -11054,10 +11406,12 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg if err := awsRestjson1_deserializeDocumentAggregatedUtterancesSummaryList(&sv.AggregatedUtterancesSummaries, value); err != nil { return err } + case "aggregationDuration": if err := awsRestjson1_deserializeDocumentUtteranceAggregationDuration(&sv.AggregationDuration, value); err != nil { return err } + case "aggregationLastRefreshedDateTime": if value != nil { switch jtv := value.(type) { @@ -11073,6 +11427,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } + case "aggregationWindowEndTime": if value != nil { switch jtv := value.(type) { @@ -11088,6 +11443,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } + case "aggregationWindowStartTime": if value != nil { switch jtv := value.(type) { @@ -11103,6 +11459,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } } + case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -11111,6 +11468,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotAliasId = ptr.String(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -11119,6 +11477,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11486,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -11135,6 +11495,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11143,6 +11504,7 @@ func awsRestjson1_deserializeOpDocumentListAggregatedUtterancesOutput(v **ListAg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11303,6 +11665,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu if err := awsRestjson1_deserializeDocumentBotAliasSummaryList(&sv.BotAliasSummaries, value); err != nil { return err } + case "botId": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11674,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11319,6 +11683,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasesOutput(v **ListBotAliasesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11479,6 +11844,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli if err := awsRestjson1_deserializeDocumentBotAliasReplicaSummaryList(&sv.BotAliasReplicaSummaries, value); err != nil { return err } + case "botId": if value != nil { jtv, ok := value.(string) @@ -11487,6 +11853,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11495,6 +11862,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.NextToken = ptr.String(jtv) } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -11503,6 +11871,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.ReplicaRegion = ptr.String(jtv) } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -11511,6 +11880,7 @@ func awsRestjson1_deserializeOpDocumentListBotAliasReplicasOutput(v **ListBotAli } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -11675,10 +12045,12 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.BotId = ptr.String(jtv) } + case "botLocaleSummaries": if err := awsRestjson1_deserializeDocumentBotLocaleSummaryList(&sv.BotLocaleSummaries, value); err != nil { return err } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -11687,6 +12059,7 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.BotVersion = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11695,6 +12068,7 @@ func awsRestjson1_deserializeOpDocumentListBotLocalesOutput(v **ListBotLocalesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11859,10 +12233,12 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.BotId = ptr.String(jtv) } + case "botRecommendationSummaries": if err := awsRestjson1_deserializeDocumentBotRecommendationSummaryList(&sv.BotRecommendationSummaries, value); err != nil { return err } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -11871,6 +12247,7 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -11879,6 +12256,7 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11887,6 +12265,7 @@ func awsRestjson1_deserializeOpDocumentListBotRecommendationsOutput(v **ListBotR } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12051,10 +12430,12 @@ func awsRestjson1_deserializeOpDocumentListBotReplicasOutput(v **ListBotReplicas } sv.BotId = ptr.String(jtv) } + case "botReplicaSummaries": if err := awsRestjson1_deserializeDocumentBotReplicaSummaryList(&sv.BotReplicaSummaries, value); err != nil { return err } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -12063,6 +12444,7 @@ func awsRestjson1_deserializeOpDocumentListBotReplicasOutput(v **ListBotReplicas } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -12227,6 +12609,7 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -12235,10 +12618,12 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.BotVersion = ptr.String(jtv) } + case "generationSummaries": if err := awsRestjson1_deserializeDocumentGenerationSummaryList(&sv.GenerationSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -12247,6 +12632,7 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12255,6 +12641,7 @@ func awsRestjson1_deserializeOpDocumentListBotResourceGenerationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12415,6 +12802,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value if err := awsRestjson1_deserializeDocumentBotSummaryList(&sv.BotSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12423,6 +12811,7 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12587,10 +12976,12 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.BotId = ptr.String(jtv) } + case "botVersionReplicaSummaries": if err := awsRestjson1_deserializeDocumentBotVersionReplicaSummaryList(&sv.BotVersionReplicaSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12599,6 +12990,7 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.NextToken = ptr.String(jtv) } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -12607,6 +12999,7 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.ReplicaRegion = ptr.String(jtv) } + case "sourceRegion": if value != nil { jtv, ok := value.(string) @@ -12615,6 +13008,7 @@ func awsRestjson1_deserializeOpDocumentListBotVersionReplicasOutput(v **ListBotV } sv.SourceRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -12779,10 +13173,12 @@ func awsRestjson1_deserializeOpDocumentListBotVersionsOutput(v **ListBotVersions } sv.BotId = ptr.String(jtv) } + case "botVersionSummaries": if err := awsRestjson1_deserializeDocumentBotVersionSummaryList(&sv.BotVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12791,6 +13187,7 @@ func awsRestjson1_deserializeOpDocumentListBotVersionsOutput(v **ListBotVersions } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12951,6 +13348,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI if err := awsRestjson1_deserializeDocumentBuiltInIntentSummaryList(&sv.BuiltInIntentSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -12959,6 +13357,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12967,6 +13366,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInIntentsOutput(v **ListBuiltInI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13127,6 +13527,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI if err := awsRestjson1_deserializeDocumentBuiltInSlotTypeSummaryList(&sv.BuiltInSlotTypeSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -13135,6 +13536,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13143,6 +13545,7 @@ func awsRestjson1_deserializeOpDocumentListBuiltInSlotTypesOutput(v **ListBuiltI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13310,6 +13713,7 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -13318,10 +13722,12 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.BotVersion = ptr.String(jtv) } + case "customVocabularyItems": if err := awsRestjson1_deserializeDocumentCustomVocabularyItems(&sv.CustomVocabularyItems, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -13330,6 +13736,7 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13338,6 +13745,7 @@ func awsRestjson1_deserializeOpDocumentListCustomVocabularyItemsOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13499,6 +13907,7 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -13507,10 +13916,12 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.BotVersion = ptr.String(jtv) } + case "exportSummaries": if err := awsRestjson1_deserializeDocumentExportSummaryList(&sv.ExportSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -13519,6 +13930,7 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13527,6 +13939,7 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13688,6 +14101,7 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -13696,10 +14110,12 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.BotVersion = ptr.String(jtv) } + case "importSummaries": if err := awsRestjson1_deserializeDocumentImportSummaryList(&sv.ImportSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -13708,6 +14124,7 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13716,6 +14133,7 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13883,6 +14301,7 @@ func awsRestjson1_deserializeOpDocumentListIntentMetricsOutput(v **ListIntentMet } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13891,10 +14310,12 @@ func awsRestjson1_deserializeOpDocumentListIntentMetricsOutput(v **ListIntentMet } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentAnalyticsIntentResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -14058,6 +14479,7 @@ func awsRestjson1_deserializeOpDocumentListIntentPathsOutput(v **ListIntentPaths if err := awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummaries(&sv.NodeSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -14222,6 +14644,7 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -14230,10 +14653,12 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.BotVersion = ptr.String(jtv) } + case "intentSummaries": if err := awsRestjson1_deserializeDocumentIntentSummaryList(&sv.IntentSummaries, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -14242,6 +14667,7 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14250,6 +14676,7 @@ func awsRestjson1_deserializeOpDocumentListIntentsOutput(v **ListIntentsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14417,6 +14844,7 @@ func awsRestjson1_deserializeOpDocumentListIntentStageMetricsOutput(v **ListInte } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14425,10 +14853,12 @@ func awsRestjson1_deserializeOpDocumentListIntentStageMetricsOutput(v **ListInte } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -14596,6 +15026,7 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -14604,6 +15035,7 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotRecommendationId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -14612,6 +15044,7 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -14620,6 +15053,7 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14628,10 +15062,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendedIntentsOutput(v **ListReco } sv.NextToken = ptr.String(jtv) } + case "summaryList": if err := awsRestjson1_deserializeDocumentRecommendedIntentSummaryList(&sv.SummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -14799,6 +15235,7 @@ func awsRestjson1_deserializeOpDocumentListSessionAnalyticsDataOutput(v **ListSe } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14807,10 +15244,12 @@ func awsRestjson1_deserializeOpDocumentListSessionAnalyticsDataOutput(v **ListSe } sv.NextToken = ptr.String(jtv) } + case "sessions": if err := awsRestjson1_deserializeDocumentSessionSpecifications(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -14978,6 +15417,7 @@ func awsRestjson1_deserializeOpDocumentListSessionMetricsOutput(v **ListSessionM } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14986,10 +15426,12 @@ func awsRestjson1_deserializeOpDocumentListSessionMetricsOutput(v **ListSessionM } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentAnalyticsSessionResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -15154,6 +15596,7 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -15162,6 +15605,7 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.BotVersion = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -15170,6 +15614,7 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.IntentId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -15178,6 +15623,7 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15186,10 +15632,12 @@ func awsRestjson1_deserializeOpDocumentListSlotsOutput(v **ListSlotsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "slotSummaries": if err := awsRestjson1_deserializeDocumentSlotSummaryList(&sv.SlotSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -15354,6 +15802,7 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -15362,6 +15811,7 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -15370,6 +15820,7 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.LocaleId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -15378,10 +15829,12 @@ func awsRestjson1_deserializeOpDocumentListSlotTypesOutput(v **ListSlotTypesOutp } sv.NextToken = ptr.String(jtv) } + case "slotTypeSummaries": if err := awsRestjson1_deserializeDocumentSlotTypeSummaryList(&sv.SlotTypeSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -15542,6 +15995,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15709,10 +16163,12 @@ func awsRestjson1_deserializeOpDocumentListTestExecutionResultItemsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "testExecutionResults": if err := awsRestjson1_deserializeDocumentTestExecutionResultItems(&sv.TestExecutionResults, value); err != nil { return err } + default: _, _ = key, value @@ -15877,10 +16333,12 @@ func awsRestjson1_deserializeOpDocumentListTestExecutionsOutput(v **ListTestExec } sv.NextToken = ptr.String(jtv) } + case "testExecutions": if err := awsRestjson1_deserializeDocumentTestExecutionSummaryList(&sv.TestExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -16048,10 +16506,12 @@ func awsRestjson1_deserializeOpDocumentListTestSetRecordsOutput(v **ListTestSetR } sv.NextToken = ptr.String(jtv) } + case "testSetRecords": if err := awsRestjson1_deserializeDocumentTestSetTurnRecordList(&sv.TestSetRecords, value); err != nil { return err } + default: _, _ = key, value @@ -16216,10 +16676,12 @@ func awsRestjson1_deserializeOpDocumentListTestSetsOutput(v **ListTestSetsOutput } sv.NextToken = ptr.String(jtv) } + case "testSets": if err := awsRestjson1_deserializeDocumentTestSetSummaryList(&sv.TestSets, value); err != nil { return err } + default: _, _ = key, value @@ -16387,6 +16849,7 @@ func awsRestjson1_deserializeOpDocumentListUtteranceAnalyticsDataOutput(v **List } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16395,10 +16858,12 @@ func awsRestjson1_deserializeOpDocumentListUtteranceAnalyticsDataOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "utterances": if err := awsRestjson1_deserializeDocumentUtteranceSpecifications(&sv.Utterances, value); err != nil { return err } + default: _, _ = key, value @@ -16566,6 +17031,7 @@ func awsRestjson1_deserializeOpDocumentListUtteranceMetricsOutput(v **ListUttera } sv.BotId = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -16574,10 +17040,12 @@ func awsRestjson1_deserializeOpDocumentListUtteranceMetricsOutput(v **ListUttera } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceResults(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -16741,6 +17209,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea if err := awsRestjson1_deserializeDocumentAssociatedTranscriptList(&sv.AssociatedTranscripts, value); err != nil { return err } + case "botId": if value != nil { jtv, ok := value.(string) @@ -16749,6 +17218,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -16757,6 +17227,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotRecommendationId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -16765,6 +17236,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -16773,6 +17245,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.LocaleId = ptr.String(jtv) } + case "nextIndex": if value != nil { jtv, ok := value.(json.Number) @@ -16785,6 +17258,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.NextIndex = ptr.Int32(int32(i64)) } + case "totalResults": if value != nil { jtv, ok := value.(json.Number) @@ -16797,6 +17271,7 @@ func awsRestjson1_deserializeOpDocumentSearchAssociatedTranscriptsOutput(v **Sea } sv.TotalResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16970,6 +17445,7 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -16978,6 +17454,7 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotRecommendationId = ptr.String(jtv) } + case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -16986,6 +17463,7 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -16994,6 +17472,7 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -17009,10 +17488,12 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } } + case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -17021,10 +17502,12 @@ func awsRestjson1_deserializeOpDocumentStartBotRecommendationOutput(v **StartBot } sv.LocaleId = ptr.String(jtv) } + case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } + default: _, _ = key, value @@ -17195,6 +17678,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -17203,6 +17687,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -17218,6 +17703,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -17226,6 +17712,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationId = ptr.String(jtv) } + case "generationInputPrompt": if value != nil { jtv, ok := value.(string) @@ -17234,6 +17721,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationInputPrompt = ptr.String(jtv) } + case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -17242,6 +17730,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.GenerationStatus = types.GenerationStatus(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -17250,6 +17739,7 @@ func awsRestjson1_deserializeOpDocumentStartBotResourceGenerationOutput(v **Star } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -17427,6 +17917,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } } + case "importId": if value != nil { jtv, ok := value.(string) @@ -17435,6 +17926,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -17443,6 +17935,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.ImportStatus = types.ImportStatus(jtv) } + case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -17451,10 +17944,12 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, } sv.MergeStrategy = types.MergeStrategy(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentImportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -17625,6 +18120,7 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.ApiMode = types.TestExecutionApiMode(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -17640,10 +18136,12 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } } + case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } + case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -17652,6 +18150,7 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestExecutionId = ptr.String(jtv) } + case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -17660,6 +18159,7 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestExecutionModality = types.TestExecutionModality(jtv) } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -17668,6 +18168,7 @@ func awsRestjson1_deserializeOpDocumentStartTestExecutionOutput(v **StartTestExe } sv.TestSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -17845,6 +18346,7 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } } + case "description": if value != nil { jtv, ok := value.(string) @@ -17853,10 +18355,12 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.Description = ptr.String(jtv) } + case "generationDataSource": if err := awsRestjson1_deserializeDocumentTestSetGenerationDataSource(&sv.GenerationDataSource, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17865,10 +18369,12 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.RoleArn = ptr.String(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetGenerationId": if value != nil { jtv, ok := value.(string) @@ -17877,6 +18383,7 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetGenerationId = ptr.String(jtv) } + case "testSetGenerationStatus": if value != nil { jtv, ok := value.(string) @@ -17885,6 +18392,7 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetGenerationStatus = types.TestSetGenerationStatus(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -17893,10 +18401,12 @@ func awsRestjson1_deserializeOpDocumentStartTestSetGenerationOutput(v **StartTes } sv.TestSetName = ptr.String(jtv) } + case "testSetTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestSetTags, value); err != nil { return err } + default: _, _ = key, value @@ -18070,6 +18580,7 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -18078,6 +18589,7 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotRecommendationId = ptr.String(jtv) } + case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -18086,6 +18598,7 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -18094,6 +18607,7 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -18102,6 +18616,7 @@ func awsRestjson1_deserializeOpDocumentStopBotRecommendationOutput(v **StopBotRe } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -18466,10 +18981,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotId = ptr.String(jtv) } + case "botMembers": if err := awsRestjson1_deserializeDocumentBotMembers(&sv.BotMembers, value); err != nil { return err } + case "botName": if value != nil { jtv, ok := value.(string) @@ -18478,6 +18995,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -18486,6 +19004,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotStatus = types.BotStatus(jtv) } + case "botType": if value != nil { jtv, ok := value.(string) @@ -18494,6 +19013,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.BotType = types.BotType(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -18509,10 +19029,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } } + case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -18521,6 +19043,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.Description = ptr.String(jtv) } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18533,6 +19056,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -18548,6 +19072,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -18556,6 +19081,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotOutput(v **UpdateBotOutput, valu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18726,10 +19252,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasId = ptr.String(jtv) } + case "botAliasLocaleSettings": if err := awsRestjson1_deserializeDocumentBotAliasLocaleSettingsMap(&sv.BotAliasLocaleSettings, value); err != nil { return err } + case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -18738,6 +19266,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasName = ptr.String(jtv) } + case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -18746,6 +19275,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotAliasStatus = types.BotAliasStatus(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -18754,6 +19284,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -18762,10 +19293,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.BotVersion = ptr.String(jtv) } + case "conversationLogSettings": if err := awsRestjson1_deserializeDocumentConversationLogSettings(&sv.ConversationLogSettings, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -18781,6 +19314,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -18789,6 +19323,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -18804,10 +19339,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotAliasOutput(v **UpdateBotAliasOu } } + case "sentimentAnalysisSettings": if err := awsRestjson1_deserializeDocumentSentimentAnalysisSettings(&sv.SentimentAnalysisSettings, value); err != nil { return err } + default: _, _ = key, value @@ -18978,6 +19515,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotId = ptr.String(jtv) } + case "botLocaleStatus": if value != nil { jtv, ok := value.(string) @@ -18986,6 +19524,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -18994,6 +19533,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19009,6 +19549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19017,14 +19558,17 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.Description = ptr.String(jtv) } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "generativeAISettings": if err := awsRestjson1_deserializeDocumentGenerativeAISettings(&sv.GenerativeAISettings, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19040,6 +19584,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -19048,6 +19593,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.LocaleId = ptr.String(jtv) } + case "localeName": if value != nil { jtv, ok := value.(string) @@ -19056,6 +19602,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } sv.LocaleName = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -19089,14 +19636,17 @@ func awsRestjson1_deserializeOpDocumentUpdateBotLocaleOutput(v **UpdateBotLocale } } + case "recommendedActions": if err := awsRestjson1_deserializeDocumentRecommendedActions(&sv.RecommendedActions, value); err != nil { return err } + case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -19270,6 +19820,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotId = ptr.String(jtv) } + case "botRecommendationId": if value != nil { jtv, ok := value.(string) @@ -19278,6 +19829,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotRecommendationId = ptr.String(jtv) } + case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -19286,6 +19838,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -19294,6 +19847,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19309,10 +19863,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } } + case "encryptionSetting": if err := awsRestjson1_deserializeDocumentEncryptionSetting(&sv.EncryptionSetting, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19328,6 +19884,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -19336,10 +19893,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBotRecommendationOutput(v **UpdateB } sv.LocaleId = ptr.String(jtv) } + case "transcriptSourceSetting": if err := awsRestjson1_deserializeDocumentTranscriptSourceSetting(&sv.TranscriptSourceSetting, value); err != nil { return err } + default: _, _ = key, value @@ -19517,6 +20076,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -19525,6 +20085,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportId = ptr.String(jtv) } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -19533,6 +20094,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.ExportStatus = types.ExportStatus(jtv) } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -19541,6 +20103,7 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } sv.FileFormat = types.ImportExportFileFormat(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19556,10 +20119,12 @@ func awsRestjson1_deserializeOpDocumentUpdateExportOutput(v **UpdateExportOutput } } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -19730,6 +20295,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -19738,6 +20304,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -19753,6 +20320,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19761,30 +20329,37 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.Description = ptr.String(jtv) } + case "dialogCodeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookSettings(&sv.DialogCodeHook, value); err != nil { return err } + case "fulfillmentCodeHook": if err := awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(&sv.FulfillmentCodeHook, value); err != nil { return err } + case "initialResponseSetting": if err := awsRestjson1_deserializeDocumentInitialResponseSetting(&sv.InitialResponseSetting, value); err != nil { return err } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } + case "intentClosingSetting": if err := awsRestjson1_deserializeDocumentIntentClosingSetting(&sv.IntentClosingSetting, value); err != nil { return err } + case "intentConfirmationSetting": if err := awsRestjson1_deserializeDocumentIntentConfirmationSetting(&sv.IntentConfirmationSetting, value); err != nil { return err } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -19793,6 +20368,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.IntentId = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -19801,10 +20377,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.IntentName = ptr.String(jtv) } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -19820,6 +20398,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -19828,10 +20407,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.LocaleId = ptr.String(jtv) } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -19840,18 +20421,22 @@ func awsRestjson1_deserializeOpDocumentUpdateIntentOutput(v **UpdateIntentOutput } sv.ParentIntentSignature = ptr.String(jtv) } + case "qnAIntentConfiguration": if err := awsRestjson1_deserializeDocumentQnAIntentConfiguration(&sv.QnAIntentConfiguration, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + case "slotPriorities": if err := awsRestjson1_deserializeDocumentSlotPrioritiesList(&sv.SlotPriorities, value); err != nil { return err } + default: _, _ = key, value @@ -20022,6 +20607,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourcePolicyOutput(v **UpdateReso } sv.ResourceArn = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -20030,6 +20616,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourcePolicyOutput(v **UpdateReso } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -20200,6 +20787,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -20208,6 +20796,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -20223,6 +20812,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -20231,6 +20821,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.Description = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -20239,6 +20830,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.IntentId = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20254,6 +20846,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -20262,14 +20855,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.LocaleId = ptr.String(jtv) } + case "multipleValuesSetting": if err := awsRestjson1_deserializeDocumentMultipleValuesSetting(&sv.MultipleValuesSetting, value); err != nil { return err } + case "obfuscationSetting": if err := awsRestjson1_deserializeDocumentObfuscationSetting(&sv.ObfuscationSetting, value); err != nil { return err } + case "slotId": if value != nil { jtv, ok := value.(string) @@ -20278,6 +20874,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotId = ptr.String(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -20286,6 +20883,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotName = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -20294,14 +20892,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotOutput(v **UpdateSlotOutput, va } sv.SlotTypeId = ptr.String(jtv) } + case "subSlotSetting": if err := awsRestjson1_deserializeDocumentSubSlotSetting(&sv.SubSlotSetting, value); err != nil { return err } + case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } + default: _, _ = key, value @@ -20472,6 +21073,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -20480,10 +21082,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.BotVersion = ptr.String(jtv) } + case "compositeSlotTypeSetting": if err := awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(&sv.CompositeSlotTypeSetting, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -20499,6 +21103,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -20507,10 +21112,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.Description = ptr.String(jtv) } + case "externalSourceSetting": if err := awsRestjson1_deserializeDocumentExternalSourceSetting(&sv.ExternalSourceSetting, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20526,6 +21133,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -20534,6 +21142,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.LocaleId = ptr.String(jtv) } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -20542,6 +21151,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -20550,6 +21160,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.SlotTypeId = ptr.String(jtv) } + case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -20558,14 +21169,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSlotTypeOutput(v **UpdateSlotTypeOu } sv.SlotTypeName = ptr.String(jtv) } + case "slotTypeValues": if err := awsRestjson1_deserializeDocumentSlotTypeValues(&sv.SlotTypeValues, value); err != nil { return err } + case "valueSelectionSetting": if err := awsRestjson1_deserializeDocumentSlotValueSelectionSetting(&sv.ValueSelectionSetting, value); err != nil { return err } + default: _, _ = key, value @@ -20743,6 +21357,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } } + case "description": if value != nil { jtv, ok := value.(string) @@ -20751,6 +21366,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -20766,6 +21382,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } } + case "modality": if value != nil { jtv, ok := value.(string) @@ -20774,6 +21391,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Modality = types.TestSetModality(jtv) } + case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -20786,6 +21404,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.NumTurns = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -20794,6 +21413,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20802,10 +21422,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.Status = types.TestSetStatus(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -20814,6 +21436,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -20822,6 +21445,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTestSetOutput(v **UpdateTestSetOutp } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -21133,6 +21757,7 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -21206,6 +21831,7 @@ func awsRestjson1_deserializeDocumentAdvancedRecognitionSetting(v **types.Advanc } sv.AudioRecognitionStrategy = types.AudioRecognitionStrategy(jtv) } + default: _, _ = key, value @@ -21245,6 +21871,7 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualAgentPrompt = ptr.String(jtv) } + case "actualElicitedSlot": if value != nil { jtv, ok := value.(string) @@ -21253,6 +21880,7 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualElicitedSlot = ptr.String(jtv) } + case "actualIntent": if value != nil { jtv, ok := value.(string) @@ -21261,10 +21889,12 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ActualIntent = ptr.String(jtv) } + case "errorDetails": if err := awsRestjson1_deserializeDocumentExecutionErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "expectedAgentPrompt": if value != nil { jtv, ok := value.(string) @@ -21273,6 +21903,7 @@ func awsRestjson1_deserializeDocumentAgentTurnResult(v **types.AgentTurnResult, } sv.ExpectedAgentPrompt = ptr.String(jtv) } + default: _, _ = key, value @@ -21312,6 +21943,7 @@ func awsRestjson1_deserializeDocumentAgentTurnSpecification(v **types.AgentTurnS } sv.AgentPrompt = ptr.String(jtv) } + default: _, _ = key, value @@ -21351,6 +21983,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.ContainsDataFromDeletedResources = ptr.Bool(jtv) } + case "hitCount": if value != nil { jtv, ok := value.(json.Number) @@ -21363,6 +21996,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.HitCount = ptr.Int32(int32(i64)) } + case "missedCount": if value != nil { jtv, ok := value.(json.Number) @@ -21375,6 +22009,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.MissedCount = ptr.Int32(int32(i64)) } + case "utterance": if value != nil { jtv, ok := value.(string) @@ -21383,6 +22018,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } sv.Utterance = ptr.String(jtv) } + case "utteranceFirstRecordedInAggregationDuration": if value != nil { switch jtv := value.(type) { @@ -21398,6 +22034,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } } + case "utteranceLastRecordedInAggregationDuration": if value != nil { switch jtv := value.(type) { @@ -21413,6 +22050,7 @@ func awsRestjson1_deserializeDocumentAggregatedUtterancesSummary(v **types.Aggre } } + default: _, _ = key, value @@ -21486,6 +22124,7 @@ func awsRestjson1_deserializeDocumentAllowedInputTypes(v **types.AllowedInputTyp } sv.AllowAudioInput = ptr.Bool(jtv) } + case "allowDTMFInput": if value != nil { jtv, ok := value.(bool) @@ -21494,6 +22133,7 @@ func awsRestjson1_deserializeDocumentAllowedInputTypes(v **types.AllowedInputTyp } sv.AllowDTMFInput = ptr.Bool(jtv) } + default: _, _ = key, value @@ -21533,6 +22173,7 @@ func awsRestjson1_deserializeDocumentAnalyticsBinKey(v **types.AnalyticsBinKey, } sv.Name = types.AnalyticsBinByName(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -21545,6 +22186,7 @@ func awsRestjson1_deserializeDocumentAnalyticsBinKey(v **types.AnalyticsBinKey, } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -21618,6 +22260,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKey(v **types.Analyti } sv.Name = types.AnalyticsIntentField(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -21626,6 +22269,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKey(v **types.Analyti } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21699,6 +22343,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } sv.Name = types.AnalyticsIntentMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -21707,6 +22352,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -21740,6 +22386,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentMetricResult(v **types.Analy } } + default: _, _ = key, value @@ -21851,6 +22498,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentCount = ptr.Int32(int32(i64)) } + case "intentLevel": if value != nil { jtv, ok := value.(json.Number) @@ -21863,6 +22511,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentLevel = ptr.Int32(int32(i64)) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -21871,6 +22520,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentName = ptr.String(jtv) } + case "intentPath": if value != nil { jtv, ok := value.(string) @@ -21879,6 +22529,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.IntentPath = ptr.String(jtv) } + case "nodeType": if value != nil { jtv, ok := value.(string) @@ -21887,6 +22538,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentNodeSummary(v **types.Analyt } sv.NodeType = types.AnalyticsNodeType(jtv) } + default: _, _ = key, value @@ -21922,14 +22574,17 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentResult(v **types.AnalyticsIn if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } + case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsIntentGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } + case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsIntentMetricResults(&sv.MetricsResults, value); err != nil { return err } + default: _, _ = key, value @@ -22003,6 +22658,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKey(v **types.An } sv.Name = types.AnalyticsIntentStageField(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -22011,6 +22667,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKey(v **types.An } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22084,6 +22741,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } sv.Name = types.AnalyticsIntentStageMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -22092,6 +22750,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -22125,6 +22784,7 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResult(v **types. } } + default: _, _ = key, value @@ -22194,14 +22854,17 @@ func awsRestjson1_deserializeDocumentAnalyticsIntentStageResult(v **types.Analyt if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } + case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } + case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsIntentStageMetricResults(&sv.MetricsResults, value); err != nil { return err } + default: _, _ = key, value @@ -22275,6 +22938,7 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKey(v **types.Analyt } sv.Name = types.AnalyticsSessionField(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -22283,6 +22947,7 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKey(v **types.Analyt } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22356,6 +23021,7 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } sv.Name = types.AnalyticsSessionMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -22364,6 +23030,7 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -22397,6 +23064,7 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionMetricResult(v **types.Anal } } + default: _, _ = key, value @@ -22466,14 +23134,17 @@ func awsRestjson1_deserializeDocumentAnalyticsSessionResult(v **types.AnalyticsS if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } + case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsSessionGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } + case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsSessionMetricResults(&sv.MetricsResults, value); err != nil { return err } + default: _, _ = key, value @@ -22547,6 +23218,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceAttributeResult(v **types } sv.LastUsedIntent = ptr.String(jtv) } + default: _, _ = key, value @@ -22620,6 +23292,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKey(v **types.Anal } sv.Name = types.AnalyticsUtteranceField(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -22628,6 +23301,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKey(v **types.Anal } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -22701,6 +23375,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } sv.Name = types.AnalyticsUtteranceMetricName(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -22709,6 +23384,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } sv.Statistic = types.AnalyticsMetricStatistic(jtv) } + case "value": if value != nil { switch jtv := value.(type) { @@ -22742,6 +23418,7 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResult(v **types.An } } + default: _, _ = key, value @@ -22811,18 +23488,22 @@ func awsRestjson1_deserializeDocumentAnalyticsUtteranceResult(v **types.Analytic if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceAttributeResults(&sv.AttributeResults, value); err != nil { return err } + case "binKeys": if err := awsRestjson1_deserializeDocumentAnalyticsBinKeys(&sv.BinKeys, value); err != nil { return err } + case "groupByKeys": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceGroupByKeys(&sv.GroupByKeys, value); err != nil { return err } + case "metricsResults": if err := awsRestjson1_deserializeDocumentAnalyticsUtteranceMetricResults(&sv.MetricsResults, value); err != nil { return err } + default: _, _ = key, value @@ -22896,6 +23577,7 @@ func awsRestjson1_deserializeDocumentAssociatedTranscript(v **types.AssociatedTr } sv.Transcript = ptr.String(jtv) } + default: _, _ = key, value @@ -22965,10 +23647,12 @@ func awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(v **types.Au if err := awsRestjson1_deserializeDocumentAudioSpecification(&sv.AudioSpecification, value); err != nil { return err } + case "dtmfSpecification": if err := awsRestjson1_deserializeDocumentDTMFSpecification(&sv.DtmfSpecification, value); err != nil { return err } + case "startTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -22981,6 +23665,7 @@ func awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(v **types.Au } sv.StartTimeoutMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23016,6 +23701,7 @@ func awsRestjson1_deserializeDocumentAudioLogDestination(v **types.AudioLogDesti if err := awsRestjson1_deserializeDocumentS3BucketLogDestination(&sv.S3Bucket, value); err != nil { return err } + default: _, _ = key, value @@ -23051,6 +23737,7 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, if err := awsRestjson1_deserializeDocumentAudioLogDestination(&sv.Destination, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -23059,6 +23746,7 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, } sv.Enabled = jtv } + case "selectiveLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -23067,6 +23755,7 @@ func awsRestjson1_deserializeDocumentAudioLogSetting(v **types.AudioLogSetting, } sv.SelectiveLoggingEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -23144,6 +23833,7 @@ func awsRestjson1_deserializeDocumentAudioSpecification(v **types.AudioSpecifica } sv.EndTimeoutMs = ptr.Int32(int32(i64)) } + case "maxLengthMs": if value != nil { jtv, ok := value.(json.Number) @@ -23156,6 +23846,7 @@ func awsRestjson1_deserializeDocumentAudioSpecification(v **types.AudioSpecifica } sv.MaxLengthMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23195,6 +23886,7 @@ func awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(v **types.Bed } sv.Identifier = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -23203,6 +23895,7 @@ func awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(v **types.Bed } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -23242,6 +23935,7 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(v **type } sv.BedrockKnowledgeBaseArn = ptr.String(jtv) } + case "exactResponse": if value != nil { jtv, ok := value.(bool) @@ -23250,10 +23944,12 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(v **type } sv.ExactResponse = jtv } + case "exactResponseFields": if err := awsRestjson1_deserializeDocumentBedrockKnowledgeStoreExactResponseFields(&sv.ExactResponseFields, value); err != nil { return err } + default: _, _ = key, value @@ -23293,6 +23989,7 @@ func awsRestjson1_deserializeDocumentBedrockKnowledgeStoreExactResponseFields(v } sv.AnswerField = ptr.String(jtv) } + default: _, _ = key, value @@ -23332,10 +24029,12 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.CustomPrompt = ptr.String(jtv) } + case "guardrail": if err := awsRestjson1_deserializeDocumentBedrockGuardrailConfiguration(&sv.Guardrail, value); err != nil { return err } + case "modelArn": if value != nil { jtv, ok := value.(string) @@ -23344,6 +24043,7 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.ModelArn = ptr.String(jtv) } + case "traceStatus": if value != nil { jtv, ok := value.(string) @@ -23352,6 +24052,7 @@ func awsRestjson1_deserializeDocumentBedrockModelSpecification(v **types.Bedrock } sv.TraceStatus = types.BedrockTraceStatus(jtv) } + default: _, _ = key, value @@ -23391,6 +24092,7 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } sv.BotVersion = ptr.String(jtv) } + case "endDate": if value != nil { switch jtv := value.(type) { @@ -23406,6 +24108,7 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -23421,6 +24124,7 @@ func awsRestjson1_deserializeDocumentBotAliasHistoryEvent(v **types.BotAliasHist } } + default: _, _ = key, value @@ -23490,6 +24194,7 @@ func awsRestjson1_deserializeDocumentBotAliasLocaleSettings(v **types.BotAliasLo if err := awsRestjson1_deserializeDocumentCodeHookSpecification(&sv.CodeHookSpecification, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -23498,6 +24203,7 @@ func awsRestjson1_deserializeDocumentBotAliasLocaleSettings(v **types.BotAliasLo } sv.Enabled = jtv } + default: _, _ = key, value @@ -23572,6 +24278,7 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotAliasId = ptr.String(jtv) } + case "botAliasReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -23580,6 +24287,7 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotAliasReplicationStatus = types.BotAliasReplicationStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -23588,6 +24296,7 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -23603,10 +24312,12 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -23622,6 +24333,7 @@ func awsRestjson1_deserializeDocumentBotAliasReplicaSummary(v **types.BotAliasRe } } + default: _, _ = key, value @@ -23695,6 +24407,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasId = ptr.String(jtv) } + case "botAliasName": if value != nil { jtv, ok := value.(string) @@ -23703,6 +24416,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasName = ptr.String(jtv) } + case "botAliasStatus": if value != nil { jtv, ok := value.(string) @@ -23711,6 +24425,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotAliasStatus = types.BotAliasStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -23719,6 +24434,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -23734,6 +24450,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -23742,6 +24459,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -23757,6 +24475,7 @@ func awsRestjson1_deserializeDocumentBotAliasSummary(v **types.BotAliasSummary, } } + default: _, _ = key, value @@ -23830,6 +24549,7 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.BotAliasId = ptr.String(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -23838,6 +24558,7 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.BotId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -23846,6 +24567,7 @@ func awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(v **types.BotAl } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -23885,6 +24607,7 @@ func awsRestjson1_deserializeDocumentBotExportSpecification(v **types.BotExportS } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -23893,6 +24616,7 @@ func awsRestjson1_deserializeDocumentBotExportSpecification(v **types.BotExportS } sv.BotVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -23932,14 +24656,17 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.BotName = ptr.String(jtv) } + case "botTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.BotTags, value); err != nil { return err } + case "dataPrivacy": if err := awsRestjson1_deserializeDocumentDataPrivacy(&sv.DataPrivacy, value); err != nil { return err } + case "idleSessionTTLInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -23952,6 +24679,7 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.IdleSessionTTLInSeconds = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -23960,10 +24688,12 @@ func awsRestjson1_deserializeDocumentBotImportSpecification(v **types.BotImportS } sv.RoleArn = ptr.String(jtv) } + case "testBotAliasTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestBotAliasTags, value); err != nil { return err } + default: _, _ = key, value @@ -24003,6 +24733,7 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24011,6 +24742,7 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -24019,6 +24751,7 @@ func awsRestjson1_deserializeDocumentBotLocaleExportSpecification(v **types.BotL } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -24058,6 +24791,7 @@ func awsRestjson1_deserializeDocumentBotLocaleHistoryEvent(v **types.BotLocaleHi } sv.Event = ptr.String(jtv) } + case "eventDate": if value != nil { switch jtv := value.(type) { @@ -24073,6 +24807,7 @@ func awsRestjson1_deserializeDocumentBotLocaleHistoryEvent(v **types.BotLocaleHi } } + default: _, _ = key, value @@ -24146,6 +24881,7 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -24154,6 +24890,7 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -24162,6 +24899,7 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } sv.LocaleId = ptr.String(jtv) } + case "nluIntentConfidenceThreshold": if value != nil { switch jtv := value.(type) { @@ -24195,10 +24933,12 @@ func awsRestjson1_deserializeDocumentBotLocaleImportSpecification(v **types.BotL } } + case "voiceSettings": if err := awsRestjson1_deserializeDocumentVoiceSettings(&sv.VoiceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -24238,6 +24978,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.BotLocaleStatus = types.BotLocaleStatus(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -24246,6 +24987,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.Description = ptr.String(jtv) } + case "lastBuildSubmittedDateTime": if value != nil { switch jtv := value.(type) { @@ -24261,6 +25003,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -24276,6 +25019,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -24284,6 +25028,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.LocaleId = ptr.String(jtv) } + case "localeName": if value != nil { jtv, ok := value.(string) @@ -24292,6 +25037,7 @@ func awsRestjson1_deserializeDocumentBotLocaleSummary(v **types.BotLocaleSummary } sv.LocaleName = ptr.String(jtv) } + default: _, _ = key, value @@ -24365,6 +25111,7 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberAliasId = ptr.String(jtv) } + case "botMemberAliasName": if value != nil { jtv, ok := value.(string) @@ -24373,6 +25120,7 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberAliasName = ptr.String(jtv) } + case "botMemberId": if value != nil { jtv, ok := value.(string) @@ -24381,6 +25129,7 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberId = ptr.String(jtv) } + case "botMemberName": if value != nil { jtv, ok := value.(string) @@ -24389,6 +25138,7 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberName = ptr.String(jtv) } + case "botMemberVersion": if value != nil { jtv, ok := value.(string) @@ -24397,6 +25147,7 @@ func awsRestjson1_deserializeDocumentBotMember(v **types.BotMember, value interf } sv.BotMemberVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -24470,6 +25221,7 @@ func awsRestjson1_deserializeDocumentBotRecommendationResults(v **types.BotRecom } sv.AssociatedTranscriptsUrl = ptr.String(jtv) } + case "botLocaleExportUrl": if value != nil { jtv, ok := value.(string) @@ -24478,10 +25230,12 @@ func awsRestjson1_deserializeDocumentBotRecommendationResults(v **types.BotRecom } sv.BotLocaleExportUrl = ptr.String(jtv) } + case "statistics": if err := awsRestjson1_deserializeDocumentBotRecommendationResultStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -24517,10 +25271,12 @@ func awsRestjson1_deserializeDocumentBotRecommendationResultStatistics(v **types if err := awsRestjson1_deserializeDocumentIntentStatistics(&sv.Intents, value); err != nil { return err } + case "slotTypes": if err := awsRestjson1_deserializeDocumentSlotTypeStatistics(&sv.SlotTypes, value); err != nil { return err } + default: _, _ = key, value @@ -24560,6 +25316,7 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } sv.BotRecommendationId = ptr.String(jtv) } + case "botRecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -24568,6 +25325,7 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } sv.BotRecommendationStatus = types.BotRecommendationStatus(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -24583,6 +25341,7 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -24598,6 +25357,7 @@ func awsRestjson1_deserializeDocumentBotRecommendationSummary(v **types.BotRecom } } + default: _, _ = key, value @@ -24671,6 +25431,7 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } sv.BotReplicaStatus = types.BotReplicaStatus(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -24686,10 +25447,12 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + case "replicaRegion": if value != nil { jtv, ok := value.(string) @@ -24698,6 +25461,7 @@ func awsRestjson1_deserializeDocumentBotReplicaSummary(v **types.BotReplicaSumma } sv.ReplicaRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -24771,6 +25535,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotId = ptr.String(jtv) } + case "botName": if value != nil { jtv, ok := value.(string) @@ -24779,6 +25544,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -24787,6 +25553,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotStatus = types.BotStatus(jtv) } + case "botType": if value != nil { jtv, ok := value.(string) @@ -24795,6 +25562,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.BotType = types.BotType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -24803,6 +25571,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -24818,6 +25587,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } } + case "latestBotVersion": if value != nil { jtv, ok := value.(string) @@ -24826,6 +25596,7 @@ func awsRestjson1_deserializeDocumentBotSummary(v **types.BotSummary, value inte } sv.LatestBotVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -24899,6 +25670,7 @@ func awsRestjson1_deserializeDocumentBotVersionLocaleDetails(v **types.BotVersio } sv.SourceBotVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -24973,6 +25745,7 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } sv.BotVersion = ptr.String(jtv) } + case "botVersionReplicationStatus": if value != nil { jtv, ok := value.(string) @@ -24981,6 +25754,7 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } sv.BotVersionReplicationStatus = types.BotVersionReplicationStatus(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -24996,10 +25770,12 @@ func awsRestjson1_deserializeDocumentBotVersionReplicaSummary(v **types.BotVersi } } + case "failureReasons": if err := awsRestjson1_deserializeDocumentFailureReasons(&sv.FailureReasons, value); err != nil { return err } + default: _, _ = key, value @@ -25073,6 +25849,7 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotName = ptr.String(jtv) } + case "botStatus": if value != nil { jtv, ok := value.(string) @@ -25081,6 +25858,7 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotStatus = types.BotStatus(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -25089,6 +25867,7 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.BotVersion = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -25104,6 +25883,7 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } } + case "description": if value != nil { jtv, ok := value.(string) @@ -25112,6 +25892,7 @@ func awsRestjson1_deserializeDocumentBotVersionSummary(v **types.BotVersionSumma } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -25181,10 +25962,12 @@ func awsRestjson1_deserializeDocumentBuildtimeSettings(v **types.BuildtimeSettin if err := awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(&sv.DescriptiveBotBuilder, value); err != nil { return err } + case "sampleUtteranceGeneration": if err := awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(&sv.SampleUtteranceGeneration, value); err != nil { return err } + default: _, _ = key, value @@ -25224,6 +26007,7 @@ func awsRestjson1_deserializeDocumentBuiltInIntentSummary(v **types.BuiltInInten } sv.Description = ptr.String(jtv) } + case "intentSignature": if value != nil { jtv, ok := value.(string) @@ -25232,6 +26016,7 @@ func awsRestjson1_deserializeDocumentBuiltInIntentSummary(v **types.BuiltInInten } sv.IntentSignature = ptr.String(jtv) } + default: _, _ = key, value @@ -25305,6 +26090,7 @@ func awsRestjson1_deserializeDocumentBuiltInSlotTypeSummary(v **types.BuiltInSlo } sv.Description = ptr.String(jtv) } + case "slotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -25313,6 +26099,7 @@ func awsRestjson1_deserializeDocumentBuiltInSlotTypeSummary(v **types.BuiltInSlo } sv.SlotTypeSignature = ptr.String(jtv) } + default: _, _ = key, value @@ -25386,6 +26173,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -25394,6 +26182,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -25467,6 +26256,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(v **types. } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "logPrefix": if value != nil { jtv, ok := value.(string) @@ -25475,6 +26265,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(v **types. } sv.LogPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -25510,6 +26301,7 @@ func awsRestjson1_deserializeDocumentCodeHookSpecification(v **types.CodeHookSpe if err := awsRestjson1_deserializeDocumentLambdaCodeHook(&sv.LambdaCodeHook, value); err != nil { return err } + default: _, _ = key, value @@ -25545,6 +26337,7 @@ func awsRestjson1_deserializeDocumentCompositeSlotTypeSetting(v **types.Composit if err := awsRestjson1_deserializeDocumentSubSlotTypeList(&sv.SubSlots, value); err != nil { return err } + default: _, _ = key, value @@ -25584,6 +26377,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.ExpressionString = ptr.String(jtv) } + default: _, _ = key, value @@ -25619,6 +26413,7 @@ func awsRestjson1_deserializeDocumentConditionalBranch(v **types.ConditionalBran if err := awsRestjson1_deserializeDocumentCondition(&sv.Condition, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -25627,14 +26422,17 @@ func awsRestjson1_deserializeDocumentConditionalBranch(v **types.ConditionalBran } sv.Name = ptr.String(jtv) } + case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } + case "response": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.Response, value); err != nil { return err } + default: _, _ = key, value @@ -25708,14 +26506,17 @@ func awsRestjson1_deserializeDocumentConditionalSpecification(v **types.Conditio } sv.Active = ptr.Bool(jtv) } + case "conditionalBranches": if err := awsRestjson1_deserializeDocumentConditionalBranches(&sv.ConditionalBranches, value); err != nil { return err } + case "defaultBranch": if err := awsRestjson1_deserializeDocumentDefaultConditionalBranch(&sv.DefaultBranch, value); err != nil { return err } + default: _, _ = key, value @@ -25755,6 +26556,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25794,6 +26596,7 @@ func awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResult } sv.IntentName = ptr.String(jtv) } + case "matchResult": if value != nil { jtv, ok := value.(string) @@ -25802,6 +26605,7 @@ func awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResult } sv.MatchResult = types.TestResultMatchStatus(jtv) } + default: _, _ = key, value @@ -25875,6 +26679,7 @@ func awsRestjson1_deserializeDocumentConversationLevelResultDetail(v **types.Con } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } + case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -25883,6 +26688,7 @@ func awsRestjson1_deserializeDocumentConversationLevelResultDetail(v **types.Con } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } + default: _, _ = key, value @@ -25922,6 +26728,7 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.IntentName = ptr.String(jtv) } + case "matchResult": if value != nil { jtv, ok := value.(string) @@ -25930,6 +26737,7 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.MatchResult = types.TestResultMatchStatus(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -25938,6 +26746,7 @@ func awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResultItem(v } sv.SlotName = ptr.String(jtv) } + default: _, _ = key, value @@ -26011,6 +26820,7 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.ConversationId = ptr.String(jtv) } + case "endToEndResult": if value != nil { jtv, ok := value.(string) @@ -26019,14 +26829,17 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } + case "intentClassificationResults": if err := awsRestjson1_deserializeDocumentConversationLevelIntentClassificationResults(&sv.IntentClassificationResults, value); err != nil { return err } + case "slotResolutionResults": if err := awsRestjson1_deserializeDocumentConversationLevelSlotResolutionResults(&sv.SlotResolutionResults, value); err != nil { return err } + case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -26035,6 +26848,7 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResultItem(v **types.C } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } + default: _, _ = key, value @@ -26104,6 +26918,7 @@ func awsRestjson1_deserializeDocumentConversationLevelTestResults(v **types.Conv if err := awsRestjson1_deserializeDocumentConversationLevelTestResultItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -26143,6 +26958,7 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.BotAliasId = ptr.String(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -26151,10 +26967,12 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.BotId = ptr.String(jtv) } + case "filter": if err := awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(&sv.Filter, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -26163,6 +26981,7 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSource(v **types.Conver } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -26209,6 +27028,7 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } } + case "inputMode": if value != nil { jtv, ok := value.(string) @@ -26217,6 +27037,7 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } sv.InputMode = types.ConversationLogsInputModeFilter(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -26232,6 +27053,7 @@ func awsRestjson1_deserializeDocumentConversationLogsDataSourceFilterBy(v **type } } + default: _, _ = key, value @@ -26267,10 +27089,12 @@ func awsRestjson1_deserializeDocumentConversationLogSettings(v **types.Conversat if err := awsRestjson1_deserializeDocumentAudioLogSettingsList(&sv.AudioLogSettings, value); err != nil { return err } + case "textLogSettings": if err := awsRestjson1_deserializeDocumentTextLogSettingsList(&sv.TextLogSettings, value); err != nil { return err } + default: _, _ = key, value @@ -26310,6 +27134,7 @@ func awsRestjson1_deserializeDocumentCustomPayload(v **types.CustomPayload, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -26349,6 +27174,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -26357,6 +27183,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -26365,6 +27192,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(v **typ } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -26404,6 +27232,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -26412,6 +27241,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.BotVersion = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -26420,6 +27250,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(v **typ } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -26459,6 +27290,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.DisplayAs = ptr.String(jtv) } + case "itemId": if value != nil { jtv, ok := value.(string) @@ -26467,6 +27299,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.ItemId = ptr.String(jtv) } + case "phrase": if value != nil { jtv, ok := value.(string) @@ -26475,6 +27308,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.Phrase = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -26487,6 +27321,7 @@ func awsRestjson1_deserializeDocumentCustomVocabularyItem(v **types.CustomVocabu } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26560,6 +27395,7 @@ func awsRestjson1_deserializeDocumentDataPrivacy(v **types.DataPrivacy, value in } sv.ChildDirected = jtv } + default: _, _ = key, value @@ -26595,14 +27431,17 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsRestjson1_deserializeDocumentBedrockKnowledgeStoreConfiguration(&sv.BedrockKnowledgeStoreConfiguration, value); err != nil { return err } + case "kendraConfiguration": if err := awsRestjson1_deserializeDocumentQnAKendraConfiguration(&sv.KendraConfiguration, value); err != nil { return err } + case "opensearchConfiguration": if err := awsRestjson1_deserializeDocumentOpensearchConfiguration(&sv.OpensearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -26649,6 +27488,7 @@ func awsRestjson1_deserializeDocumentDateRangeFilter(v **types.DateRangeFilter, } } + case "startDateTime": if value != nil { switch jtv := value.(type) { @@ -26664,6 +27504,7 @@ func awsRestjson1_deserializeDocumentDateRangeFilter(v **types.DateRangeFilter, } } + default: _, _ = key, value @@ -26699,10 +27540,12 @@ func awsRestjson1_deserializeDocumentDefaultConditionalBranch(v **types.DefaultC if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } + case "response": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.Response, value); err != nil { return err } + default: _, _ = key, value @@ -26738,6 +27581,7 @@ func awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(v **type if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -26746,6 +27590,7 @@ func awsRestjson1_deserializeDocumentDescriptiveBotBuilderSpecification(v **type } sv.Enabled = jtv } + default: _, _ = key, value @@ -26785,6 +27630,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } + case "suppressNextMessage": if value != nil { jtv, ok := value.(bool) @@ -26793,6 +27639,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SuppressNextMessage = ptr.Bool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -26801,6 +27648,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } + default: _, _ = key, value @@ -26840,6 +27688,7 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.Active = ptr.Bool(jtv) } + case "enableCodeHookInvocation": if value != nil { jtv, ok := value.(bool) @@ -26848,6 +27697,7 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.EnableCodeHookInvocation = ptr.Bool(jtv) } + case "invocationLabel": if value != nil { jtv, ok := value.(string) @@ -26856,10 +27706,12 @@ func awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(v **types.D } sv.InvocationLabel = ptr.String(jtv) } + case "postCodeHookSpecification": if err := awsRestjson1_deserializeDocumentPostDialogCodeHookInvocationSpecification(&sv.PostCodeHookSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -26899,6 +27751,7 @@ func awsRestjson1_deserializeDocumentDialogCodeHookSettings(v **types.DialogCode } sv.Enabled = jtv } + default: _, _ = key, value @@ -26934,14 +27787,17 @@ func awsRestjson1_deserializeDocumentDialogState(v **types.DialogState, value in if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } + case "intent": if err := awsRestjson1_deserializeDocumentIntentOverride(&sv.Intent, value); err != nil { return err } + case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -26981,6 +27837,7 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.DeletionCharacter = ptr.String(jtv) } + case "endCharacter": if value != nil { jtv, ok := value.(string) @@ -26989,6 +27846,7 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.EndCharacter = ptr.String(jtv) } + case "endTimeoutMs": if value != nil { jtv, ok := value.(json.Number) @@ -27001,6 +27859,7 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.EndTimeoutMs = ptr.Int32(int32(i64)) } + case "maxLength": if value != nil { jtv, ok := value.(json.Number) @@ -27013,6 +27872,7 @@ func awsRestjson1_deserializeDocumentDTMFSpecification(v **types.DTMFSpecificati } sv.MaxLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -27052,6 +27912,7 @@ func awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(v **ty } sv.EnableCodeHookInvocation = ptr.Bool(jtv) } + case "invocationLabel": if value != nil { jtv, ok := value.(string) @@ -27060,6 +27921,7 @@ func awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(v **ty } sv.InvocationLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -27099,6 +27961,7 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.AssociatedTranscriptsPassword = ptr.String(jtv) } + case "botLocaleExportPassword": if value != nil { jtv, ok := value.(string) @@ -27107,6 +27970,7 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.BotLocaleExportPassword = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -27115,6 +27979,7 @@ func awsRestjson1_deserializeDocumentEncryptionSetting(v **types.EncryptionSetti } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -27154,6 +28019,7 @@ func awsRestjson1_deserializeDocumentExactResponseFields(v **types.ExactResponse } sv.AnswerField = ptr.String(jtv) } + case "questionField": if value != nil { jtv, ok := value.(string) @@ -27162,6 +28028,7 @@ func awsRestjson1_deserializeDocumentExactResponseFields(v **types.ExactResponse } sv.QuestionField = ptr.String(jtv) } + default: _, _ = key, value @@ -27201,6 +28068,7 @@ func awsRestjson1_deserializeDocumentExecutionErrorDetails(v **types.ExecutionEr } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -27209,6 +28077,7 @@ func awsRestjson1_deserializeDocumentExecutionErrorDetails(v **types.ExecutionEr } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -27244,18 +28113,22 @@ func awsRestjson1_deserializeDocumentExportResourceSpecification(v **types.Expor if err := awsRestjson1_deserializeDocumentBotExportSpecification(&sv.BotExportSpecification, value); err != nil { return err } + case "botLocaleExportSpecification": if err := awsRestjson1_deserializeDocumentBotLocaleExportSpecification(&sv.BotLocaleExportSpecification, value); err != nil { return err } + case "customVocabularyExportSpecification": if err := awsRestjson1_deserializeDocumentCustomVocabularyExportSpecification(&sv.CustomVocabularyExportSpecification, value); err != nil { return err } + case "testSetExportSpecification": if err := awsRestjson1_deserializeDocumentTestSetExportSpecification(&sv.TestSetExportSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -27302,6 +28175,7 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } } + case "exportId": if value != nil { jtv, ok := value.(string) @@ -27310,6 +28184,7 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportId = ptr.String(jtv) } + case "exportStatus": if value != nil { jtv, ok := value.(string) @@ -27318,6 +28193,7 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportStatus = types.ExportStatus(jtv) } + case "fileFormat": if value != nil { jtv, ok := value.(string) @@ -27326,6 +28202,7 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.FileFormat = types.ImportExportFileFormat(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -27341,10 +28218,12 @@ func awsRestjson1_deserializeDocumentExportSummary(v **types.ExportSummary, valu } } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentExportResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -27414,6 +28293,7 @@ func awsRestjson1_deserializeDocumentExternalSourceSetting(v **types.ExternalSou if err := awsRestjson1_deserializeDocumentGrammarSlotTypeSetting(&sv.GrammarSlotTypeSetting, value); err != nil { return err } + default: _, _ = key, value @@ -27453,6 +28333,7 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -27461,6 +28342,7 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ErrorMessage = ptr.String(jtv) } + case "itemId": if value != nil { jtv, ok := value.(string) @@ -27469,6 +28351,7 @@ func awsRestjson1_deserializeDocumentFailedCustomVocabularyItem(v **types.Failed } sv.ItemId = ptr.String(jtv) } + default: _, _ = key, value @@ -27578,6 +28461,7 @@ func awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(v **types.Fulfi } sv.Active = ptr.Bool(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -27586,14 +28470,17 @@ func awsRestjson1_deserializeDocumentFulfillmentCodeHookSettings(v **types.Fulfi } sv.Enabled = jtv } + case "fulfillmentUpdatesSpecification": if err := awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(&sv.FulfillmentUpdatesSpecification, value); err != nil { return err } + case "postFulfillmentStatusSpecification": if err := awsRestjson1_deserializeDocumentPostFulfillmentStatusSpecification(&sv.PostFulfillmentStatusSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -27633,6 +28520,7 @@ func awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(v **t } sv.AllowInterrupt = ptr.Bool(jtv) } + case "delayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -27645,10 +28533,12 @@ func awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(v **t } sv.DelayInSeconds = ptr.Int32(int32(i64)) } + case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } + default: _, _ = key, value @@ -27688,6 +28578,7 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(v ** } sv.AllowInterrupt = ptr.Bool(jtv) } + case "frequencyInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -27700,10 +28591,12 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(v ** } sv.FrequencyInSeconds = ptr.Int32(int32(i64)) } + case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } + default: _, _ = key, value @@ -27743,10 +28636,12 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(v **types.F } sv.Active = ptr.Bool(jtv) } + case "startResponse": if err := awsRestjson1_deserializeDocumentFulfillmentStartResponseSpecification(&sv.StartResponse, value); err != nil { return err } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -27759,10 +28654,12 @@ func awsRestjson1_deserializeDocumentFulfillmentUpdatesSpecification(v **types.F } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + case "updateResponse": if err := awsRestjson1_deserializeDocumentFulfillmentUpdateResponseSpecification(&sv.UpdateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -27809,6 +28706,7 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } } + case "generationId": if value != nil { jtv, ok := value.(string) @@ -27817,6 +28715,7 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationId = ptr.String(jtv) } + case "generationStatus": if value != nil { jtv, ok := value.(string) @@ -27825,6 +28724,7 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } sv.GenerationStatus = types.GenerationStatus(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -27840,6 +28740,7 @@ func awsRestjson1_deserializeDocumentGenerationSummary(v **types.GenerationSumma } } + default: _, _ = key, value @@ -27909,10 +28810,12 @@ func awsRestjson1_deserializeDocumentGenerativeAISettings(v **types.GenerativeAI if err := awsRestjson1_deserializeDocumentBuildtimeSettings(&sv.BuildtimeSettings, value); err != nil { return err } + case "runtimeSettings": if err := awsRestjson1_deserializeDocumentRuntimeSettings(&sv.RuntimeSettings, value); err != nil { return err } + default: _, _ = key, value @@ -27948,6 +28851,7 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSetting(v **types.GrammarSlo if err := awsRestjson1_deserializeDocumentGrammarSlotTypeSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -27987,6 +28891,7 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.KmsKeyArn = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -27995,6 +28900,7 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.S3BucketName = ptr.String(jtv) } + case "s3ObjectKey": if value != nil { jtv, ok := value.(string) @@ -28003,6 +28909,7 @@ func awsRestjson1_deserializeDocumentGrammarSlotTypeSource(v **types.GrammarSlot } sv.S3ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -28038,6 +28945,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa if err := awsRestjson1_deserializeDocumentButtonsList(&sv.Buttons, value); err != nil { return err } + case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -28046,6 +28954,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.ImageUrl = ptr.String(jtv) } + case "subtitle": if value != nil { jtv, ok := value.(string) @@ -28054,6 +28963,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Subtitle = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -28062,6 +28972,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -28097,18 +29008,22 @@ func awsRestjson1_deserializeDocumentImportResourceSpecification(v **types.Impor if err := awsRestjson1_deserializeDocumentBotImportSpecification(&sv.BotImportSpecification, value); err != nil { return err } + case "botLocaleImportSpecification": if err := awsRestjson1_deserializeDocumentBotLocaleImportSpecification(&sv.BotLocaleImportSpecification, value); err != nil { return err } + case "customVocabularyImportSpecification": if err := awsRestjson1_deserializeDocumentCustomVocabularyImportSpecification(&sv.CustomVocabularyImportSpecification, value); err != nil { return err } + case "testSetImportResourceSpecification": if err := awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(&sv.TestSetImportResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -28155,6 +29070,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } + case "importedResourceId": if value != nil { jtv, ok := value.(string) @@ -28163,6 +29079,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceId = ptr.String(jtv) } + case "importedResourceName": if value != nil { jtv, ok := value.(string) @@ -28171,6 +29088,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceName = ptr.String(jtv) } + case "importedResourceType": if value != nil { jtv, ok := value.(string) @@ -28179,6 +29097,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportedResourceType = types.ImportResourceType(jtv) } + case "importId": if value != nil { jtv, ok := value.(string) @@ -28187,6 +29106,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportId = ptr.String(jtv) } + case "importStatus": if value != nil { jtv, ok := value.(string) @@ -28195,6 +29115,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.ImportStatus = types.ImportStatus(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -28210,6 +29131,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } } + case "mergeStrategy": if value != nil { jtv, ok := value.(string) @@ -28218,6 +29140,7 @@ func awsRestjson1_deserializeDocumentImportSummary(v **types.ImportSummary, valu } sv.MergeStrategy = types.MergeStrategy(jtv) } + default: _, _ = key, value @@ -28287,18 +29210,22 @@ func awsRestjson1_deserializeDocumentInitialResponseSetting(v **types.InitialRes if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } + case "conditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.Conditional, value); err != nil { return err } + case "initialResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.InitialResponse, value); err != nil { return err } + case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } + default: _, _ = key, value @@ -28338,6 +29265,7 @@ func awsRestjson1_deserializeDocumentInputContext(v **types.InputContext, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -28407,14 +29335,17 @@ func awsRestjson1_deserializeDocumentInputSessionStateSpecification(v **types.In if err := awsRestjson1_deserializeDocumentActiveContextList(&sv.ActiveContexts, value); err != nil { return err } + case "runtimeHints": if err := awsRestjson1_deserializeDocumentRuntimeHints(&sv.RuntimeHints, value); err != nil { return err } + case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -28454,6 +29385,7 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItem(v **type } sv.IntentName = ptr.String(jtv) } + case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -28462,10 +29394,12 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItem(v **type } sv.MultiTurnConversation = jtv } + case "resultCounts": if err := awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(&sv.ResultCounts, value); err != nil { return err } + default: _, _ = key, value @@ -28501,10 +29435,12 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(v if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.IntentMatchResultCounts, value); err != nil { return err } + case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } + case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -28517,6 +29453,7 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResultItemCounts(v } sv.TotalResultCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -28586,6 +29523,7 @@ func awsRestjson1_deserializeDocumentIntentClassificationTestResults(v **types.I if err := awsRestjson1_deserializeDocumentIntentClassificationTestResultItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -28625,18 +29563,22 @@ func awsRestjson1_deserializeDocumentIntentClosingSetting(v **types.IntentClosin } sv.Active = ptr.Bool(jtv) } + case "closingResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ClosingResponse, value); err != nil { return err } + case "conditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.Conditional, value); err != nil { return err } + case "nextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.NextStep, value); err != nil { return err } + default: _, _ = key, value @@ -28676,54 +29618,67 @@ func awsRestjson1_deserializeDocumentIntentConfirmationSetting(v **types.IntentC } sv.Active = ptr.Bool(jtv) } + case "codeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } + case "confirmationConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.ConfirmationConditional, value); err != nil { return err } + case "confirmationNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.ConfirmationNextStep, value); err != nil { return err } + case "confirmationResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ConfirmationResponse, value); err != nil { return err } + case "declinationConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.DeclinationConditional, value); err != nil { return err } + case "declinationNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.DeclinationNextStep, value); err != nil { return err } + case "declinationResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.DeclinationResponse, value); err != nil { return err } + case "elicitationCodeHook": if err := awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(&sv.ElicitationCodeHook, value); err != nil { return err } + case "failureConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } + case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } + case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } + case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -28763,6 +29718,7 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItem(v * } sv.IntentName = ptr.String(jtv) } + case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -28771,10 +29727,12 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItem(v * } sv.MultiTurnConversation = jtv } + case "slotResolutionResults": if err := awsRestjson1_deserializeDocumentSlotResolutionTestResultItems(&sv.SlotResolutionResults, value); err != nil { return err } + default: _, _ = key, value @@ -28844,6 +29802,7 @@ func awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResults(v **ty if err := awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResultItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -28883,10 +29842,12 @@ func awsRestjson1_deserializeDocumentIntentOverride(v **types.IntentOverride, va } sv.Name = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentSlotValueOverrideMap(&sv.Slots, value); err != nil { return err } + default: _, _ = key, value @@ -28930,6 +29891,7 @@ func awsRestjson1_deserializeDocumentIntentStatistics(v **types.IntentStatistics } sv.DiscoveredIntentCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -28969,10 +29931,12 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.Description = ptr.String(jtv) } + case "inputContexts": if err := awsRestjson1_deserializeDocumentInputContextsList(&sv.InputContexts, value); err != nil { return err } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -28981,6 +29945,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentId = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -28989,6 +29954,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -29004,10 +29970,12 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } } + case "outputContexts": if err := awsRestjson1_deserializeDocumentOutputContextsList(&sv.OutputContexts, value); err != nil { return err } + case "parentIntentSignature": if value != nil { jtv, ok := value.(string) @@ -29016,6 +29984,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.ParentIntentSignature = ptr.String(jtv) } + default: _, _ = key, value @@ -29089,6 +30058,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29128,6 +30098,7 @@ func awsRestjson1_deserializeDocumentInvokedIntentSample(v **types.InvokedIntent } sv.IntentName = ptr.String(jtv) } + default: _, _ = key, value @@ -29201,6 +30172,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.KendraIndex = ptr.String(jtv) } + case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -29209,6 +30181,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterString = ptr.String(jtv) } + case "queryFilterStringEnabled": if value != nil { jtv, ok := value.(bool) @@ -29217,6 +30190,7 @@ func awsRestjson1_deserializeDocumentKendraConfiguration(v **types.KendraConfigu } sv.QueryFilterStringEnabled = jtv } + default: _, _ = key, value @@ -29256,6 +30230,7 @@ func awsRestjson1_deserializeDocumentLambdaCodeHook(v **types.LambdaCodeHook, va } sv.CodeHookInterfaceVersion = ptr.String(jtv) } + case "lambdaARN": if value != nil { jtv, ok := value.(string) @@ -29264,6 +30239,7 @@ func awsRestjson1_deserializeDocumentLambdaCodeHook(v **types.LambdaCodeHook, va } sv.LambdaARN = ptr.String(jtv) } + default: _, _ = key, value @@ -29299,6 +30275,7 @@ func awsRestjson1_deserializeDocumentLexTranscriptFilter(v **types.LexTranscript if err := awsRestjson1_deserializeDocumentDateRangeFilter(&sv.DateRangeFilter, value); err != nil { return err } + default: _, _ = key, value @@ -29334,18 +30311,22 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentCustomPayload(&sv.CustomPayload, value); err != nil { return err } + case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } + case "plainTextMessage": if err := awsRestjson1_deserializeDocumentPlainTextMessage(&sv.PlainTextMessage, value); err != nil { return err } + case "ssmlMessage": if err := awsRestjson1_deserializeDocumentSSMLMessage(&sv.SsmlMessage, value); err != nil { return err } + default: _, _ = key, value @@ -29381,10 +30362,12 @@ func awsRestjson1_deserializeDocumentMessageGroup(v **types.MessageGroup, value if err := awsRestjson1_deserializeDocumentMessage(&sv.Message, value); err != nil { return err } + case "variations": if err := awsRestjson1_deserializeDocumentMessageVariationsList(&sv.Variations, value); err != nil { return err } + default: _, _ = key, value @@ -29492,6 +30475,7 @@ func awsRestjson1_deserializeDocumentMultipleValuesSetting(v **types.MultipleVal } sv.AllowMultipleValues = jtv } + default: _, _ = key, value @@ -29531,6 +30515,7 @@ func awsRestjson1_deserializeDocumentObfuscationSetting(v **types.ObfuscationSet } sv.ObfuscationSettingType = types.ObfuscationSettingType(jtv) } + default: _, _ = key, value @@ -29606,6 +30591,7 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.DomainEndpoint = ptr.String(jtv) } + case "exactResponse": if value != nil { jtv, ok := value.(bool) @@ -29614,14 +30600,17 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.ExactResponse = jtv } + case "exactResponseFields": if err := awsRestjson1_deserializeDocumentExactResponseFields(&sv.ExactResponseFields, value); err != nil { return err } + case "includeFields": if err := awsRestjson1_deserializeDocumentOSIncludeFields(&sv.IncludeFields, value); err != nil { return err } + case "indexName": if value != nil { jtv, ok := value.(string) @@ -29630,6 +30619,7 @@ func awsRestjson1_deserializeDocumentOpensearchConfiguration(v **types.Opensearc } sv.IndexName = ptr.String(jtv) } + default: _, _ = key, value @@ -29705,6 +30695,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.Name = ptr.String(jtv) } + case "timeToLiveInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -29717,6 +30708,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } + case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -29729,6 +30721,7 @@ func awsRestjson1_deserializeDocumentOutputContext(v **types.OutputContext, valu } sv.TurnsToLive = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29798,6 +30791,7 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.EndToEndResultCounts, value); err != nil { return err } + case "multiTurnConversation": if value != nil { jtv, ok := value.(bool) @@ -29806,10 +30800,12 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest } sv.MultiTurnConversation = jtv } + case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } + case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -29822,6 +30818,7 @@ func awsRestjson1_deserializeDocumentOverallTestResultItem(v **types.OverallTest } sv.TotalResultCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29891,6 +30888,7 @@ func awsRestjson1_deserializeDocumentOverallTestResults(v **types.OverallTestRes if err := awsRestjson1_deserializeDocumentOverallTestResultItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -29930,6 +30928,7 @@ func awsRestjson1_deserializeDocumentParentBotNetwork(v **types.ParentBotNetwork } sv.BotId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -29938,6 +30937,7 @@ func awsRestjson1_deserializeDocumentParentBotNetwork(v **types.ParentBotNetwork } sv.BotVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -30007,6 +31007,7 @@ func awsRestjson1_deserializeDocumentPathFormat(v **types.PathFormat, value inte if err := awsRestjson1_deserializeDocumentObjectPrefixes(&sv.ObjectPrefixes, value); err != nil { return err } + default: _, _ = key, value @@ -30046,6 +31047,7 @@ func awsRestjson1_deserializeDocumentPlainTextMessage(v **types.PlainTextMessage } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -30081,38 +31083,47 @@ func awsRestjson1_deserializeDocumentPostDialogCodeHookInvocationSpecification(v if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } + case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } + case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } + case "successConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.SuccessConditional, value); err != nil { return err } + case "successNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.SuccessNextStep, value); err != nil { return err } + case "successResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.SuccessResponse, value); err != nil { return err } + case "timeoutConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.TimeoutConditional, value); err != nil { return err } + case "timeoutNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.TimeoutNextStep, value); err != nil { return err } + case "timeoutResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.TimeoutResponse, value); err != nil { return err } + default: _, _ = key, value @@ -30148,38 +31159,47 @@ func awsRestjson1_deserializeDocumentPostFulfillmentStatusSpecification(v **type if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } + case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } + case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } + case "successConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.SuccessConditional, value); err != nil { return err } + case "successNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.SuccessNextStep, value); err != nil { return err } + case "successResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.SuccessResponse, value); err != nil { return err } + case "timeoutConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.TimeoutConditional, value); err != nil { return err } + case "timeoutNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.TimeoutNextStep, value); err != nil { return err } + case "timeoutResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.TimeoutResponse, value); err != nil { return err } + default: _, _ = key, value @@ -30219,6 +31239,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30254,6 +31275,7 @@ func awsRestjson1_deserializeDocumentPromptAttemptSpecification(v **types.Prompt if err := awsRestjson1_deserializeDocumentAllowedInputTypes(&sv.AllowedInputTypes, value); err != nil { return err } + case "allowInterrupt": if value != nil { jtv, ok := value.(bool) @@ -30262,14 +31284,17 @@ func awsRestjson1_deserializeDocumentPromptAttemptSpecification(v **types.Prompt } sv.AllowInterrupt = ptr.Bool(jtv) } + case "audioAndDTMFInputSpecification": if err := awsRestjson1_deserializeDocumentAudioAndDTMFInputSpecification(&sv.AudioAndDTMFInputSpecification, value); err != nil { return err } + case "textInputSpecification": if err := awsRestjson1_deserializeDocumentTextInputSpecification(&sv.TextInputSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -30344,6 +31369,7 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.AllowInterrupt = ptr.Bool(jtv) } + case "maxRetries": if value != nil { jtv, ok := value.(json.Number) @@ -30356,10 +31382,12 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.MaxRetries = ptr.Int32(int32(i64)) } + case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } + case "messageSelectionStrategy": if value != nil { jtv, ok := value.(string) @@ -30368,10 +31396,12 @@ func awsRestjson1_deserializeDocumentPromptSpecification(v **types.PromptSpecifi } sv.MessageSelectionStrategy = types.MessageSelectionStrategy(jtv) } + case "promptAttemptsSpecification": if err := awsRestjson1_deserializeDocumentPromptAttemptsSpecificationMap(&sv.PromptAttemptsSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -30407,10 +31437,12 @@ func awsRestjson1_deserializeDocumentQnAIntentConfiguration(v **types.QnAIntentC if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelConfiguration, value); err != nil { return err } + case "dataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -30450,6 +31482,7 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.ExactResponse = jtv } + case "kendraIndex": if value != nil { jtv, ok := value.(string) @@ -30458,6 +31491,7 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.KendraIndex = ptr.String(jtv) } + case "queryFilterString": if value != nil { jtv, ok := value.(string) @@ -30466,6 +31500,7 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.QueryFilterString = ptr.String(jtv) } + case "queryFilterStringEnabled": if value != nil { jtv, ok := value.(bool) @@ -30474,6 +31509,7 @@ func awsRestjson1_deserializeDocumentQnAKendraConfiguration(v **types.QnAKendraC } sv.QueryFilterStringEnabled = jtv } + default: _, _ = key, value @@ -30549,6 +31585,7 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.IntentId = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -30557,6 +31594,7 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.IntentName = ptr.String(jtv) } + case "sampleUtterancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -30569,6 +31607,7 @@ func awsRestjson1_deserializeDocumentRecommendedIntentSummary(v **types.Recommen } sv.SampleUtterancesCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30642,6 +31681,7 @@ func awsRestjson1_deserializeDocumentRelativeAggregationDuration(v **types.Relat } sv.TimeDimension = types.TimeDimension(jtv) } + case "timeValue": if value != nil { jtv, ok := value.(json.Number) @@ -30654,6 +31694,7 @@ func awsRestjson1_deserializeDocumentRelativeAggregationDuration(v **types.Relat } sv.TimeValue = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30693,6 +31734,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30732,10 +31774,12 @@ func awsRestjson1_deserializeDocumentResponseSpecification(v **types.ResponseSpe } sv.AllowInterrupt = ptr.Bool(jtv) } + case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } + default: _, _ = key, value @@ -30771,10 +31815,12 @@ func awsRestjson1_deserializeDocumentRuntimeHintDetails(v **types.RuntimeHintDet if err := awsRestjson1_deserializeDocumentRuntimeHintValuesList(&sv.RuntimeHintValues, value); err != nil { return err } + case "subSlotHints": if err := awsRestjson1_deserializeDocumentSlotHintsSlotMap(&sv.SubSlotHints, value); err != nil { return err } + default: _, _ = key, value @@ -30810,6 +31856,7 @@ func awsRestjson1_deserializeDocumentRuntimeHints(v **types.RuntimeHints, value if err := awsRestjson1_deserializeDocumentSlotHintsIntentMap(&sv.SlotHints, value); err != nil { return err } + default: _, _ = key, value @@ -30849,6 +31896,7 @@ func awsRestjson1_deserializeDocumentRuntimeHintValue(v **types.RuntimeHintValue } sv.Phrase = ptr.String(jtv) } + default: _, _ = key, value @@ -30918,6 +31966,7 @@ func awsRestjson1_deserializeDocumentRuntimeSettings(v **types.RuntimeSettings, if err := awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(&sv.SlotResolutionImprovement, value); err != nil { return err } + default: _, _ = key, value @@ -30957,6 +32006,7 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.KmsKeyArn = ptr.String(jtv) } + case "logPrefix": if value != nil { jtv, ok := value.(string) @@ -30965,6 +32015,7 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.LogPrefix = ptr.String(jtv) } + case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -30973,6 +32024,7 @@ func awsRestjson1_deserializeDocumentS3BucketLogDestination(v **types.S3BucketLo } sv.S3BucketArn = ptr.String(jtv) } + default: _, _ = key, value @@ -31012,10 +32064,12 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.KmsKeyArn = ptr.String(jtv) } + case "pathFormat": if err := awsRestjson1_deserializeDocumentPathFormat(&sv.PathFormat, value); err != nil { return err } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -31024,10 +32078,12 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.S3BucketName = ptr.String(jtv) } + case "transcriptFilter": if err := awsRestjson1_deserializeDocumentTranscriptFilter(&sv.TranscriptFilter, value); err != nil { return err } + case "transcriptFormat": if value != nil { jtv, ok := value.(string) @@ -31036,6 +32092,7 @@ func awsRestjson1_deserializeDocumentS3BucketTranscriptSource(v **types.S3Bucket } sv.TranscriptFormat = types.TranscriptFormat(jtv) } + default: _, _ = key, value @@ -31075,6 +32132,7 @@ func awsRestjson1_deserializeDocumentSampleUtterance(v **types.SampleUtterance, } sv.Utterance = ptr.String(jtv) } + default: _, _ = key, value @@ -31110,6 +32168,7 @@ func awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(v ** if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -31118,6 +32177,7 @@ func awsRestjson1_deserializeDocumentSampleUtteranceGenerationSpecification(v ** } sv.Enabled = jtv } + default: _, _ = key, value @@ -31191,6 +32251,7 @@ func awsRestjson1_deserializeDocumentSampleValue(v **types.SampleValue, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -31230,6 +32291,7 @@ func awsRestjson1_deserializeDocumentSentimentAnalysisSettings(v **types.Sentime } sv.DetectSentiment = jtv } + default: _, _ = key, value @@ -31269,6 +32331,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -31308,6 +32371,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.BotAliasId = ptr.String(jtv) } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -31316,6 +32380,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.BotVersion = ptr.String(jtv) } + case "channel": if value != nil { jtv, ok := value.(string) @@ -31324,6 +32389,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.Channel = ptr.String(jtv) } + case "conversationDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -31336,6 +32402,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.ConversationDurationSeconds = ptr.Int64(i64) } + case "conversationEndState": if value != nil { jtv, ok := value.(string) @@ -31344,6 +32411,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.ConversationEndState = types.ConversationEndState(jtv) } + case "conversationEndTime": if value != nil { switch jtv := value.(type) { @@ -31359,6 +32427,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } } + case "conversationStartTime": if value != nil { switch jtv := value.(type) { @@ -31374,10 +32443,12 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } } + case "invokedIntentSamples": if err := awsRestjson1_deserializeDocumentInvokedIntentSamples(&sv.InvokedIntentSamples, value); err != nil { return err } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -31386,6 +32457,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.LocaleId = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -31394,6 +32466,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.Mode = types.AnalyticsModality(jtv) } + case "numberOfTurns": if value != nil { jtv, ok := value.(json.Number) @@ -31406,6 +32479,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.NumberOfTurns = ptr.Int64(i64) } + case "originatingRequestId": if value != nil { jtv, ok := value.(string) @@ -31414,6 +32488,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.OriginatingRequestId = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -31422,6 +32497,7 @@ func awsRestjson1_deserializeDocumentSessionSpecification(v **types.SessionSpeci } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -31491,34 +32567,42 @@ func awsRestjson1_deserializeDocumentSlotCaptureSetting(v **types.SlotCaptureSet if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.CaptureConditional, value); err != nil { return err } + case "captureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.CaptureNextStep, value); err != nil { return err } + case "captureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.CaptureResponse, value); err != nil { return err } + case "codeHook": if err := awsRestjson1_deserializeDocumentDialogCodeHookInvocationSetting(&sv.CodeHook, value); err != nil { return err } + case "elicitationCodeHook": if err := awsRestjson1_deserializeDocumentElicitationCodeHookInvocationSetting(&sv.ElicitationCodeHook, value); err != nil { return err } + case "failureConditional": if err := awsRestjson1_deserializeDocumentConditionalSpecification(&sv.FailureConditional, value); err != nil { return err } + case "failureNextStep": if err := awsRestjson1_deserializeDocumentDialogState(&sv.FailureNextStep, value); err != nil { return err } + case "failureResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.FailureResponse, value); err != nil { return err } + default: _, _ = key, value @@ -31558,6 +32642,7 @@ func awsRestjson1_deserializeDocumentSlotDefaultValue(v **types.SlotDefaultValue } sv.DefaultValue = ptr.String(jtv) } + default: _, _ = key, value @@ -31627,6 +32712,7 @@ func awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(v **types.Slo if err := awsRestjson1_deserializeDocumentSlotDefaultValueList(&sv.DefaultValueList, value); err != nil { return err } + default: _, _ = key, value @@ -31773,6 +32859,7 @@ func awsRestjson1_deserializeDocumentSlotPriority(v **types.SlotPriority, value } sv.Priority = ptr.Int32(int32(i64)) } + case "slotId": if value != nil { jtv, ok := value.(string) @@ -31781,6 +32868,7 @@ func awsRestjson1_deserializeDocumentSlotPriority(v **types.SlotPriority, value } sv.SlotId = ptr.String(jtv) } + default: _, _ = key, value @@ -31816,6 +32904,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(v ** if err := awsRestjson1_deserializeDocumentBedrockModelSpecification(&sv.BedrockModelSpecification, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -31824,6 +32913,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionImprovementSpecification(v ** } sv.Enabled = jtv } + default: _, _ = key, value @@ -31863,6 +32953,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionSetting(v **types.SlotResolut } sv.SlotResolutionStrategy = types.SlotResolutionStrategy(jtv) } + default: _, _ = key, value @@ -31898,6 +32989,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItem(v **types.Slot if err := awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(&sv.ResultCounts, value); err != nil { return err } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -31906,6 +32998,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItem(v **types.Slot } sv.SlotName = ptr.String(jtv) } + default: _, _ = key, value @@ -31941,10 +33034,12 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(v **type if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SlotMatchResultCounts, value); err != nil { return err } + case "speechTranscriptionResultCounts": if err := awsRestjson1_deserializeDocumentTestResultMatchStatusCountMap(&sv.SpeechTranscriptionResultCounts, value); err != nil { return err } + case "totalResultCount": if value != nil { jtv, ok := value.(json.Number) @@ -31957,6 +33052,7 @@ func awsRestjson1_deserializeDocumentSlotResolutionTestResultItemCounts(v **type } sv.TotalResultCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32030,6 +33126,7 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -32045,6 +33142,7 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } } + case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -32053,6 +33151,7 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotConstraint = types.SlotConstraint(jtv) } + case "slotId": if value != nil { jtv, ok := value.(string) @@ -32061,6 +33160,7 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotId = ptr.String(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -32069,6 +33169,7 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotName = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -32077,10 +33178,12 @@ func awsRestjson1_deserializeDocumentSlotSummary(v **types.SlotSummary, value in } sv.SlotTypeId = ptr.String(jtv) } + case "valueElicitationPromptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.ValueElicitationPromptSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -32158,6 +33261,7 @@ func awsRestjson1_deserializeDocumentSlotTypeStatistics(v **types.SlotTypeStatis } sv.DiscoveredSlotTypeCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32197,6 +33301,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -32212,6 +33317,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } } + case "parentSlotTypeSignature": if value != nil { jtv, ok := value.(string) @@ -32220,6 +33326,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.ParentSlotTypeSignature = ptr.String(jtv) } + case "slotTypeCategory": if value != nil { jtv, ok := value.(string) @@ -32228,6 +33335,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeCategory = types.SlotTypeCategory(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -32236,6 +33344,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeId = ptr.String(jtv) } + case "slotTypeName": if value != nil { jtv, ok := value.(string) @@ -32244,6 +33353,7 @@ func awsRestjson1_deserializeDocumentSlotTypeSummary(v **types.SlotTypeSummary, } sv.SlotTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -32313,10 +33423,12 @@ func awsRestjson1_deserializeDocumentSlotTypeValue(v **types.SlotTypeValue, valu if err := awsRestjson1_deserializeDocumentSampleValue(&sv.SampleValue, value); err != nil { return err } + case "synonyms": if err := awsRestjson1_deserializeDocumentSynonymList(&sv.Synonyms, value); err != nil { return err } + default: _, _ = key, value @@ -32390,6 +33502,7 @@ func awsRestjson1_deserializeDocumentSlotValue(v **types.SlotValue, value interf } sv.InterpretedValue = ptr.String(jtv) } + default: _, _ = key, value @@ -32425,18 +33538,22 @@ func awsRestjson1_deserializeDocumentSlotValueElicitationSetting(v **types.SlotV if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(&sv.DefaultValueSpecification, value); err != nil { return err } + case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + case "slotCaptureSetting": if err := awsRestjson1_deserializeDocumentSlotCaptureSetting(&sv.SlotCaptureSetting, value); err != nil { return err } + case "slotConstraint": if value != nil { jtv, ok := value.(string) @@ -32445,14 +33562,17 @@ func awsRestjson1_deserializeDocumentSlotValueElicitationSetting(v **types.SlotV } sv.SlotConstraint = types.SlotConstraint(jtv) } + case "slotResolutionSetting": if err := awsRestjson1_deserializeDocumentSlotResolutionSetting(&sv.SlotResolutionSetting, value); err != nil { return err } + case "waitAndContinueSpecification": if err := awsRestjson1_deserializeDocumentWaitAndContinueSpecification(&sv.WaitAndContinueSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -32492,14 +33612,17 @@ func awsRestjson1_deserializeDocumentSlotValueOverride(v **types.SlotValueOverri } sv.Shape = types.SlotShape(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentSlotValue(&sv.Value, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentSlotValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -32574,6 +33697,7 @@ func awsRestjson1_deserializeDocumentSlotValueRegexFilter(v **types.SlotValueReg } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -32643,10 +33767,12 @@ func awsRestjson1_deserializeDocumentSlotValueSelectionSetting(v **types.SlotVal if err := awsRestjson1_deserializeDocumentAdvancedRecognitionSetting(&sv.AdvancedRecognitionSetting, value); err != nil { return err } + case "regexFilter": if err := awsRestjson1_deserializeDocumentSlotValueRegexFilter(&sv.RegexFilter, value); err != nil { return err } + case "resolutionStrategy": if value != nil { jtv, ok := value.(string) @@ -32655,6 +33781,7 @@ func awsRestjson1_deserializeDocumentSlotValueSelectionSetting(v **types.SlotVal } sv.ResolutionStrategy = types.SlotValueResolutionStrategy(jtv) } + default: _, _ = key, value @@ -32694,10 +33821,12 @@ func awsRestjson1_deserializeDocumentSpecifications(v **types.Specifications, va } sv.SlotTypeId = ptr.String(jtv) } + case "valueElicitationSetting": if err := awsRestjson1_deserializeDocumentSubSlotValueElicitationSetting(&sv.ValueElicitationSetting, value); err != nil { return err } + default: _, _ = key, value @@ -32737,6 +33866,7 @@ func awsRestjson1_deserializeDocumentSSMLMessage(v **types.SSMLMessage, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -32776,6 +33906,7 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.AllowInterrupt = ptr.Bool(jtv) } + case "frequencyInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -32788,10 +33919,12 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.FrequencyInSeconds = ptr.Int32(int32(i64)) } + case "messageGroups": if err := awsRestjson1_deserializeDocumentMessageGroupsList(&sv.MessageGroups, value); err != nil { return err } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -32804,6 +33937,7 @@ func awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(v **types } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32879,10 +34013,12 @@ func awsRestjson1_deserializeDocumentSubSlotSetting(v **types.SubSlotSetting, va } sv.Expression = ptr.String(jtv) } + case "slotSpecifications": if err := awsRestjson1_deserializeDocumentSubSlotSpecificationMap(&sv.SlotSpecifications, value); err != nil { return err } + default: _, _ = key, value @@ -32957,6 +34093,7 @@ func awsRestjson1_deserializeDocumentSubSlotTypeComposition(v **types.SubSlotTyp } sv.Name = ptr.String(jtv) } + case "slotTypeId": if value != nil { jtv, ok := value.(string) @@ -32965,6 +34102,7 @@ func awsRestjson1_deserializeDocumentSubSlotTypeComposition(v **types.SubSlotTyp } sv.SlotTypeId = ptr.String(jtv) } + default: _, _ = key, value @@ -33034,18 +34172,22 @@ func awsRestjson1_deserializeDocumentSubSlotValueElicitationSetting(v **types.Su if err := awsRestjson1_deserializeDocumentSlotDefaultValueSpecification(&sv.DefaultValueSpecification, value); err != nil { return err } + case "promptSpecification": if err := awsRestjson1_deserializeDocumentPromptSpecification(&sv.PromptSpecification, value); err != nil { return err } + case "sampleUtterances": if err := awsRestjson1_deserializeDocumentSampleUtterancesList(&sv.SampleUtterances, value); err != nil { return err } + case "waitAndContinueSpecification": if err := awsRestjson1_deserializeDocumentWaitAndContinueSpecification(&sv.WaitAndContinueSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -33151,22 +34293,27 @@ func awsRestjson1_deserializeDocumentTestExecutionResultItems(v **types.TestExec if err := awsRestjson1_deserializeDocumentConversationLevelTestResults(&sv.ConversationLevelTestResults, value); err != nil { return err } + case "intentClassificationTestResults": if err := awsRestjson1_deserializeDocumentIntentClassificationTestResults(&sv.IntentClassificationTestResults, value); err != nil { return err } + case "intentLevelSlotResolutionTestResults": if err := awsRestjson1_deserializeDocumentIntentLevelSlotResolutionTestResults(&sv.IntentLevelSlotResolutionTestResults, value); err != nil { return err } + case "overallTestResults": if err := awsRestjson1_deserializeDocumentOverallTestResults(&sv.OverallTestResults, value); err != nil { return err } + case "utteranceLevelTestResults": if err := awsRestjson1_deserializeDocumentUtteranceLevelTestResults(&sv.UtteranceLevelTestResults, value); err != nil { return err } + default: _, _ = key, value @@ -33206,6 +34353,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.ApiMode = types.TestExecutionApiMode(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -33221,6 +34369,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -33236,10 +34385,12 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } } + case "target": if err := awsRestjson1_deserializeDocumentTestExecutionTarget(&sv.Target, value); err != nil { return err } + case "testExecutionId": if value != nil { jtv, ok := value.(string) @@ -33248,6 +34399,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionId = ptr.String(jtv) } + case "testExecutionModality": if value != nil { jtv, ok := value.(string) @@ -33256,6 +34408,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionModality = types.TestExecutionModality(jtv) } + case "testExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -33264,6 +34417,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestExecutionStatus = types.TestExecutionStatus(jtv) } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -33272,6 +34426,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -33280,6 +34435,7 @@ func awsRestjson1_deserializeDocumentTestExecutionSummary(v **types.TestExecutio } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -33349,6 +34505,7 @@ func awsRestjson1_deserializeDocumentTestExecutionTarget(v **types.TestExecution if err := awsRestjson1_deserializeDocumentBotAliasTestExecutionTarget(&sv.BotAliasTarget, value); err != nil { return err } + default: _, _ = key, value @@ -33424,10 +34581,12 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyErrors(v **types.TestSetD if err := awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyList(&sv.IntentDiscrepancies, value); err != nil { return err } + case "slotDiscrepancies": if err := awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyList(&sv.SlotDiscrepancies, value); err != nil { return err } + default: _, _ = key, value @@ -33467,6 +34626,7 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.BotAliasId = ptr.String(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -33475,6 +34635,7 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.BotId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -33483,6 +34644,7 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(v ** } sv.LocaleId = ptr.String(jtv) } + default: _, _ = key, value @@ -33518,6 +34680,7 @@ func awsRestjson1_deserializeDocumentTestSetDiscrepancyReportResourceTarget(v ** if err := awsRestjson1_deserializeDocumentTestSetDiscrepancyReportBotAliasTarget(&sv.BotAliasTarget, value); err != nil { return err } + default: _, _ = key, value @@ -33557,6 +34720,7 @@ func awsRestjson1_deserializeDocumentTestSetExportSpecification(v **types.TestSe } sv.TestSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -33592,6 +34756,7 @@ func awsRestjson1_deserializeDocumentTestSetGenerationDataSource(v **types.TestS if err := awsRestjson1_deserializeDocumentConversationLogsDataSource(&sv.ConversationLogsDataSource, value); err != nil { return err } + default: _, _ = key, value @@ -33631,6 +34796,7 @@ func awsRestjson1_deserializeDocumentTestSetImportInputLocation(v **types.TestSe } sv.S3BucketName = ptr.String(jtv) } + case "s3Path": if value != nil { jtv, ok := value.(string) @@ -33639,6 +34805,7 @@ func awsRestjson1_deserializeDocumentTestSetImportInputLocation(v **types.TestSe } sv.S3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -33678,10 +34845,12 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.Description = ptr.String(jtv) } + case "importInputLocation": if err := awsRestjson1_deserializeDocumentTestSetImportInputLocation(&sv.ImportInputLocation, value); err != nil { return err } + case "modality": if value != nil { jtv, ok := value.(string) @@ -33690,6 +34859,7 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.Modality = types.TestSetModality(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -33698,10 +34868,12 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.RoleArn = ptr.String(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -33710,10 +34882,12 @@ func awsRestjson1_deserializeDocumentTestSetImportResourceSpecification(v **type } sv.TestSetName = ptr.String(jtv) } + case "testSetTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.TestSetTags, value); err != nil { return err } + default: _, _ = key, value @@ -33753,6 +34927,7 @@ func awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyItem(v **types.Test } sv.ErrorMessage = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -33761,6 +34936,7 @@ func awsRestjson1_deserializeDocumentTestSetIntentDiscrepancyItem(v **types.Test } sv.IntentName = ptr.String(jtv) } + default: _, _ = key, value @@ -33834,6 +35010,7 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.ErrorMessage = ptr.String(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -33842,6 +35019,7 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.IntentName = ptr.String(jtv) } + case "slotName": if value != nil { jtv, ok := value.(string) @@ -33850,6 +35028,7 @@ func awsRestjson1_deserializeDocumentTestSetSlotDiscrepancyItem(v **types.TestSe } sv.SlotName = ptr.String(jtv) } + default: _, _ = key, value @@ -33923,6 +35102,7 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.KmsKeyArn = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -33931,6 +35111,7 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.S3BucketName = ptr.String(jtv) } + case "s3Path": if value != nil { jtv, ok := value.(string) @@ -33939,6 +35120,7 @@ func awsRestjson1_deserializeDocumentTestSetStorageLocation(v **types.TestSetSto } sv.S3Path = ptr.String(jtv) } + default: _, _ = key, value @@ -33985,6 +35167,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -33993,6 +35176,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Description = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -34008,6 +35192,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } } + case "modality": if value != nil { jtv, ok := value.(string) @@ -34016,6 +35201,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Modality = types.TestSetModality(jtv) } + case "numTurns": if value != nil { jtv, ok := value.(json.Number) @@ -34028,6 +35214,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.NumTurns = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -34036,6 +35223,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -34044,10 +35232,12 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.Status = types.TestSetStatus(jtv) } + case "storageLocation": if err := awsRestjson1_deserializeDocumentTestSetStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "testSetId": if value != nil { jtv, ok := value.(string) @@ -34056,6 +35246,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.TestSetId = ptr.String(jtv) } + case "testSetName": if value != nil { jtv, ok := value.(string) @@ -34064,6 +35255,7 @@ func awsRestjson1_deserializeDocumentTestSetSummary(v **types.TestSetSummary, va } sv.TestSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -34137,6 +35329,7 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.ConversationId = ptr.String(jtv) } + case "recordNumber": if value != nil { jtv, ok := value.(json.Number) @@ -34149,6 +35342,7 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.RecordNumber = ptr.Int64(i64) } + case "turnNumber": if value != nil { jtv, ok := value.(json.Number) @@ -34161,10 +35355,12 @@ func awsRestjson1_deserializeDocumentTestSetTurnRecord(v **types.TestSetTurnReco } sv.TurnNumber = ptr.Int32(int32(i64)) } + case "turnSpecification": if err := awsRestjson1_deserializeDocumentTurnSpecification(&sv.TurnSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -34234,10 +35430,12 @@ func awsRestjson1_deserializeDocumentTestSetTurnResult(v **types.TestSetTurnResu if err := awsRestjson1_deserializeDocumentAgentTurnResult(&sv.Agent, value); err != nil { return err } + case "user": if err := awsRestjson1_deserializeDocumentUserTurnResult(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -34281,6 +35479,7 @@ func awsRestjson1_deserializeDocumentTextInputSpecification(v **types.TextInputS } sv.StartTimeoutMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -34316,6 +35515,7 @@ func awsRestjson1_deserializeDocumentTextLogDestination(v **types.TextLogDestina if err := awsRestjson1_deserializeDocumentCloudWatchLogGroupLogDestination(&sv.CloudWatch, value); err != nil { return err } + default: _, _ = key, value @@ -34351,6 +35551,7 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va if err := awsRestjson1_deserializeDocumentTextLogDestination(&sv.Destination, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -34359,6 +35560,7 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va } sv.Enabled = jtv } + case "selectiveLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -34367,6 +35569,7 @@ func awsRestjson1_deserializeDocumentTextLogSetting(v **types.TextLogSetting, va } sv.SelectiveLoggingEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -34440,6 +35643,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -34452,6 +35656,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -34487,6 +35692,7 @@ func awsRestjson1_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter if err := awsRestjson1_deserializeDocumentLexTranscriptFilter(&sv.LexTranscriptFilter, value); err != nil { return err } + default: _, _ = key, value @@ -34522,6 +35728,7 @@ func awsRestjson1_deserializeDocumentTranscriptSourceSetting(v **types.Transcrip if err := awsRestjson1_deserializeDocumentS3BucketTranscriptSource(&sv.S3BucketTranscriptSource, value); err != nil { return err } + default: _, _ = key, value @@ -34557,10 +35764,12 @@ func awsRestjson1_deserializeDocumentTurnSpecification(v **types.TurnSpecificati if err := awsRestjson1_deserializeDocumentAgentTurnSpecification(&sv.AgentTurn, value); err != nil { return err } + case "userTurn": if err := awsRestjson1_deserializeDocumentUserTurnSpecification(&sv.UserTurn, value); err != nil { return err } + default: _, _ = key, value @@ -34596,14 +35805,17 @@ func awsRestjson1_deserializeDocumentUserTurnInputSpecification(v **types.UserTu if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } + case "sessionState": if err := awsRestjson1_deserializeDocumentInputSessionStateSpecification(&sv.SessionState, value); err != nil { return err } + case "utteranceInput": if err := awsRestjson1_deserializeDocumentUtteranceInputSpecification(&sv.UtteranceInput, value); err != nil { return err } + default: _, _ = key, value @@ -34643,10 +35855,12 @@ func awsRestjson1_deserializeDocumentUserTurnIntentOutput(v **types.UserTurnInte } sv.Name = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputMap(&sv.Slots, value); err != nil { return err } + default: _, _ = key, value @@ -34682,10 +35896,12 @@ func awsRestjson1_deserializeDocumentUserTurnOutputSpecification(v **types.UserT if err := awsRestjson1_deserializeDocumentActiveContextList(&sv.ActiveContexts, value); err != nil { return err } + case "intent": if err := awsRestjson1_deserializeDocumentUserTurnIntentOutput(&sv.Intent, value); err != nil { return err } + case "transcript": if value != nil { jtv, ok := value.(string) @@ -34694,6 +35910,7 @@ func awsRestjson1_deserializeDocumentUserTurnOutputSpecification(v **types.UserT } sv.Transcript = ptr.String(jtv) } + default: _, _ = key, value @@ -34729,10 +35946,12 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.ActualOutput, value); err != nil { return err } + case "conversationLevelResult": if err := awsRestjson1_deserializeDocumentConversationLevelResultDetail(&sv.ConversationLevelResult, value); err != nil { return err } + case "endToEndResult": if value != nil { jtv, ok := value.(string) @@ -34741,18 +35960,22 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.EndToEndResult = types.TestResultMatchStatus(jtv) } + case "errorDetails": if err := awsRestjson1_deserializeDocumentExecutionErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "expectedOutput": if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.ExpectedOutput, value); err != nil { return err } + case "input": if err := awsRestjson1_deserializeDocumentUserTurnInputSpecification(&sv.Input, value); err != nil { return err } + case "intentMatchResult": if value != nil { jtv, ok := value.(string) @@ -34761,6 +35984,7 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.IntentMatchResult = types.TestResultMatchStatus(jtv) } + case "slotMatchResult": if value != nil { jtv, ok := value.(string) @@ -34769,6 +35993,7 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.SlotMatchResult = types.TestResultMatchStatus(jtv) } + case "speechTranscriptionResult": if value != nil { jtv, ok := value.(string) @@ -34777,6 +36002,7 @@ func awsRestjson1_deserializeDocumentUserTurnResult(v **types.UserTurnResult, va } sv.SpeechTranscriptionResult = types.TestResultMatchStatus(jtv) } + default: _, _ = key, value @@ -34812,6 +36038,7 @@ func awsRestjson1_deserializeDocumentUserTurnSlotOutput(v **types.UserTurnSlotOu if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputMap(&sv.SubSlots, value); err != nil { return err } + case "value": if value != nil { jtv, ok := value.(string) @@ -34820,10 +36047,12 @@ func awsRestjson1_deserializeDocumentUserTurnSlotOutput(v **types.UserTurnSlotOu } sv.Value = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentUserTurnSlotOutputList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -34928,10 +36157,12 @@ func awsRestjson1_deserializeDocumentUserTurnSpecification(v **types.UserTurnSpe if err := awsRestjson1_deserializeDocumentUserTurnOutputSpecification(&sv.Expected, value); err != nil { return err } + case "input": if err := awsRestjson1_deserializeDocumentUserTurnInputSpecification(&sv.Input, value); err != nil { return err } + default: _, _ = key, value @@ -34967,6 +36198,7 @@ func awsRestjson1_deserializeDocumentUtteranceAggregationDuration(v **types.Utte if err := awsRestjson1_deserializeDocumentRelativeAggregationDuration(&sv.RelativeAggregationDuration, value); err != nil { return err } + default: _, _ = key, value @@ -35006,6 +36238,7 @@ func awsRestjson1_deserializeDocumentUtteranceAudioInputSpecification(v **types. } sv.AudioFileS3Location = ptr.String(jtv) } + default: _, _ = key, value @@ -35045,6 +36278,7 @@ func awsRestjson1_deserializeDocumentUtteranceBotResponse(v **types.UtteranceBot } sv.Content = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -35053,10 +36287,12 @@ func awsRestjson1_deserializeDocumentUtteranceBotResponse(v **types.UtteranceBot } sv.ContentType = types.UtteranceContentType(jtv) } + case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } + default: _, _ = key, value @@ -35126,6 +36362,7 @@ func awsRestjson1_deserializeDocumentUtteranceInputSpecification(v **types.Utter if err := awsRestjson1_deserializeDocumentUtteranceAudioInputSpecification(&sv.AudioInput, value); err != nil { return err } + case "textInput": if value != nil { jtv, ok := value.(string) @@ -35134,6 +36371,7 @@ func awsRestjson1_deserializeDocumentUtteranceInputSpecification(v **types.Utter } sv.TextInput = ptr.String(jtv) } + default: _, _ = key, value @@ -35173,6 +36411,7 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResultItem(v **types.Utte } sv.ConversationId = ptr.String(jtv) } + case "recordNumber": if value != nil { jtv, ok := value.(json.Number) @@ -35185,10 +36424,12 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResultItem(v **types.Utte } sv.RecordNumber = ptr.Int64(i64) } + case "turnResult": if err := awsRestjson1_deserializeDocumentTestSetTurnResult(&sv.TurnResult, value); err != nil { return err } + default: _, _ = key, value @@ -35258,6 +36499,7 @@ func awsRestjson1_deserializeDocumentUtteranceLevelTestResults(v **types.Utteran if err := awsRestjson1_deserializeDocumentUtteranceLevelTestResultItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -35297,6 +36539,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AssociatedIntentName = ptr.String(jtv) } + case "associatedSlotName": if value != nil { jtv, ok := value.(string) @@ -35305,6 +36548,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AssociatedSlotName = ptr.String(jtv) } + case "audioVoiceDurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -35317,6 +36561,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.AudioVoiceDurationMillis = ptr.Int64(i64) } + case "botAliasId": if value != nil { jtv, ok := value.(string) @@ -35325,6 +36570,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotAliasId = ptr.String(jtv) } + case "botResponseAudioVoiceId": if value != nil { jtv, ok := value.(string) @@ -35333,10 +36579,12 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotResponseAudioVoiceId = ptr.String(jtv) } + case "botResponses": if err := awsRestjson1_deserializeDocumentUtteranceBotResponses(&sv.BotResponses, value); err != nil { return err } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -35345,6 +36593,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.BotVersion = ptr.String(jtv) } + case "channel": if value != nil { jtv, ok := value.(string) @@ -35353,6 +36602,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Channel = ptr.String(jtv) } + case "conversationEndTime": if value != nil { switch jtv := value.(type) { @@ -35368,6 +36618,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } + case "conversationStartTime": if value != nil { switch jtv := value.(type) { @@ -35383,6 +36634,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } + case "dialogActionType": if value != nil { jtv, ok := value.(string) @@ -35391,6 +36643,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.DialogActionType = ptr.String(jtv) } + case "inputType": if value != nil { jtv, ok := value.(string) @@ -35399,6 +36652,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.InputType = ptr.String(jtv) } + case "intentState": if value != nil { jtv, ok := value.(string) @@ -35407,6 +36661,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.IntentState = types.IntentState(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -35415,6 +36670,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.LocaleId = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -35423,6 +36679,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Mode = types.AnalyticsModality(jtv) } + case "outputType": if value != nil { jtv, ok := value.(string) @@ -35431,6 +36688,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.OutputType = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -35439,6 +36697,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.SessionId = ptr.String(jtv) } + case "slotsFilledInSession": if value != nil { jtv, ok := value.(string) @@ -35447,6 +36706,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.SlotsFilledInSession = ptr.String(jtv) } + case "utterance": if value != nil { jtv, ok := value.(string) @@ -35455,6 +36715,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.Utterance = ptr.String(jtv) } + case "utteranceRequestId": if value != nil { jtv, ok := value.(string) @@ -35463,6 +36724,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.UtteranceRequestId = ptr.String(jtv) } + case "utteranceTimestamp": if value != nil { switch jtv := value.(type) { @@ -35478,6 +36740,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } } + case "utteranceUnderstood": if value != nil { jtv, ok := value.(bool) @@ -35486,6 +36749,7 @@ func awsRestjson1_deserializeDocumentUtteranceSpecification(v **types.UtteranceS } sv.UtteranceUnderstood = jtv } + default: _, _ = key, value @@ -35559,6 +36823,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35598,6 +36863,7 @@ func awsRestjson1_deserializeDocumentVoiceSettings(v **types.VoiceSettings, valu } sv.Engine = types.VoiceEngine(jtv) } + case "voiceId": if value != nil { jtv, ok := value.(string) @@ -35606,6 +36872,7 @@ func awsRestjson1_deserializeDocumentVoiceSettings(v **types.VoiceSettings, valu } sv.VoiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -35645,18 +36912,22 @@ func awsRestjson1_deserializeDocumentWaitAndContinueSpecification(v **types.Wait } sv.Active = ptr.Bool(jtv) } + case "continueResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.ContinueResponse, value); err != nil { return err } + case "stillWaitingResponse": if err := awsRestjson1_deserializeDocumentStillWaitingResponseSpecification(&sv.StillWaitingResponse, value); err != nil { return err } + case "waitingResponse": if err := awsRestjson1_deserializeDocumentResponseSpecification(&sv.WaitingResponse, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/lexruntimeservice/deserializers.go b/service/lexruntimeservice/deserializers.go index a3272a0766c..bf840043fc3 100644 --- a/service/lexruntimeservice/deserializers.go +++ b/service/lexruntimeservice/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotAlias = ptr.String(jtv) } + case "botName": if value != nil { jtv, ok := value.(string) @@ -197,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotName = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -205,6 +207,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.SessionId = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -213,6 +216,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -373,18 +377,22 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } + case "dialogAction": if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } + case "recentIntentSummaryView": if err := awsRestjson1_deserializeDocumentIntentSummaryList(&sv.RecentIntentSummaryView, value); err != nil { return err } + case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -393,6 +401,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -814,10 +823,12 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } + case "alternativeIntents": if err := awsRestjson1_deserializeDocumentIntentList(&sv.AlternativeIntents, value); err != nil { return err } + case "botVersion": if value != nil { jtv, ok := value.(string) @@ -826,6 +837,7 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.BotVersion = ptr.String(jtv) } + case "dialogState": if value != nil { jtv, ok := value.(string) @@ -834,6 +846,7 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.DialogState = types.DialogState(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -842,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.IntentName = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -850,6 +864,7 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.Message = ptr.String(jtv) } + case "messageFormat": if value != nil { jtv, ok := value.(string) @@ -858,22 +873,27 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.MessageFormat = types.MessageFormatType(jtv) } + case "nluIntentConfidence": if err := awsRestjson1_deserializeDocumentIntentConfidence(&sv.NluIntentConfidence, value); err != nil { return err } + case "responseCard": if err := awsRestjson1_deserializeDocumentResponseCard(&sv.ResponseCard, value); err != nil { return err } + case "sentimentResponse": if err := awsRestjson1_deserializeDocumentSentimentResponse(&sv.SentimentResponse, value); err != nil { return err } + case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -882,10 +902,12 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.SessionId = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } + case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -894,6 +916,7 @@ func awsRestjson1_deserializeOpDocumentPostTextOutput(v **PostTextOutput, value } sv.SlotToElicit = ptr.String(jtv) } + default: _, _ = key, value @@ -1547,14 +1570,17 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentActiveContextParametersMap(&sv.Parameters, value); err != nil { return err } + case "timeToLive": if err := awsRestjson1_deserializeDocumentActiveContextTimeToLive(&sv.TimeToLive, value); err != nil { return err } + default: _, _ = key, value @@ -1668,6 +1694,7 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } + case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -1680,6 +1707,7 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TurnsToLive = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1719,6 +1747,7 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1758,6 +1787,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1797,6 +1827,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -1805,6 +1836,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1844,6 +1876,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1883,6 +1916,7 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1922,6 +1956,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.FulfillmentState = types.FulfillmentState(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -1930,6 +1965,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.IntentName = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -1938,6 +1974,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Message = ptr.String(jtv) } + case "messageFormat": if value != nil { jtv, ok := value.(string) @@ -1946,10 +1983,12 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.MessageFormat = types.MessageFormatType(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } + case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -1958,6 +1997,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -1966,6 +2006,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } + default: _, _ = key, value @@ -2005,10 +2046,12 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.AttachmentLinkUrl = ptr.String(jtv) } + case "buttons": if err := awsRestjson1_deserializeDocumentListOfButtons(&sv.Buttons, value); err != nil { return err } + case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -2017,6 +2060,7 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.ImageUrl = ptr.String(jtv) } + case "subTitle": if value != nil { jtv, ok := value.(string) @@ -2025,6 +2069,7 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.SubTitle = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -2033,6 +2078,7 @@ func awsRestjson1_deserializeDocumentGenericAttachment(v **types.GenericAttachme } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -2131,6 +2177,7 @@ func awsRestjson1_deserializeDocumentIntentConfidence(v **types.IntentConfidence } } + default: _, _ = key, value @@ -2204,6 +2251,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.CheckpointLabel = ptr.String(jtv) } + case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -2212,6 +2260,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } + case "dialogActionType": if value != nil { jtv, ok := value.(string) @@ -2220,6 +2269,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.DialogActionType = types.DialogActionType(jtv) } + case "fulfillmentState": if value != nil { jtv, ok := value.(string) @@ -2228,6 +2278,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.FulfillmentState = types.FulfillmentState(jtv) } + case "intentName": if value != nil { jtv, ok := value.(string) @@ -2236,10 +2287,12 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.IntentName = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } + case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -2248,6 +2301,7 @@ func awsRestjson1_deserializeDocumentIntentSummary(v **types.IntentSummary, valu } sv.SlotToElicit = ptr.String(jtv) } + default: _, _ = key, value @@ -2321,6 +2375,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2360,6 +2415,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -2368,6 +2424,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -2441,6 +2498,7 @@ func awsRestjson1_deserializeDocumentLoopDetectedException(v **types.LoopDetecte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2480,6 +2538,7 @@ func awsRestjson1_deserializeDocumentNotAcceptableException(v **types.NotAccepta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2519,6 +2578,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2558,14 +2618,17 @@ func awsRestjson1_deserializeDocumentPredictedIntent(v **types.PredictedIntent, } sv.IntentName = ptr.String(jtv) } + case "nluIntentConfidence": if err := awsRestjson1_deserializeDocumentIntentConfidence(&sv.NluIntentConfidence, value); err != nil { return err } + case "slots": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Slots, value); err != nil { return err } + default: _, _ = key, value @@ -2605,6 +2668,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2644,10 +2708,12 @@ func awsRestjson1_deserializeDocumentResponseCard(v **types.ResponseCard, value } sv.ContentType = types.ContentType(jtv) } + case "genericAttachments": if err := awsRestjson1_deserializeDocumentGenericAttachmentList(&sv.GenericAttachments, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2656,6 +2722,7 @@ func awsRestjson1_deserializeDocumentResponseCard(v **types.ResponseCard, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2695,6 +2762,7 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.SentimentLabel = ptr.String(jtv) } + case "sentimentScore": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2771,7 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.SentimentScore = ptr.String(jtv) } + default: _, _ = key, value @@ -2778,6 +2847,7 @@ func awsRestjson1_deserializeDocumentUnsupportedMediaTypeException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lexruntimev2/deserializers.go b/service/lexruntimev2/deserializers.go index 22c370d8242..254d65424dc 100644 --- a/service/lexruntimev2/deserializers.go +++ b/service/lexruntimev2/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotAliasId = ptr.String(jtv) } + case "botId": if value != nil { jtv, ok := value.(string) @@ -202,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.BotId = ptr.String(jtv) } + case "localeId": if value != nil { jtv, ok := value.(string) @@ -210,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.LocaleId = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -218,6 +221,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSessionOutput(v **DeleteSessionOutp } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -381,10 +385,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } + case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -393,10 +399,12 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va } sv.SessionId = ptr.String(jtv) } + case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } + default: _, _ = key, value @@ -729,18 +737,22 @@ func awsRestjson1_deserializeOpDocumentRecognizeTextOutput(v **RecognizeTextOutp if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } + case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } + case "recognizedBotMember": if err := awsRestjson1_deserializeDocumentRecognizedBotMember(&sv.RecognizedBotMember, value); err != nil { return err } + case "requestAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -749,10 +761,12 @@ func awsRestjson1_deserializeOpDocumentRecognizeTextOutput(v **RecognizeTextOutp } sv.SessionId = ptr.String(jtv) } + case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } + default: _, _ = key, value @@ -1709,6 +1723,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1744,6 +1759,7 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu if err := awsRestjson1_deserializeDocumentActiveContextParametersMap(&sv.ContextAttributes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1752,10 +1768,12 @@ func awsRestjson1_deserializeDocumentActiveContext(v **types.ActiveContext, valu } sv.Name = ptr.String(jtv) } + case "timeToLive": if err := awsRestjson1_deserializeDocumentActiveContextTimeToLive(&sv.TimeToLive, value); err != nil { return err } + default: _, _ = key, value @@ -1869,6 +1887,7 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TimeToLiveInSeconds = ptr.Int32(int32(i64)) } + case "turnsToLive": if value != nil { jtv, ok := value.(json.Number) @@ -1881,6 +1900,7 @@ func awsRestjson1_deserializeDocumentActiveContextTimeToLive(v **types.ActiveCon } sv.TurnsToLive = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1924,6 +1944,7 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.AudioChunk = dv } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -1932,6 +1953,7 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.ContentType = ptr.String(jtv) } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -1940,6 +1962,7 @@ func awsRestjson1_deserializeDocumentAudioResponseEvent(v **types.AudioResponseE } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -1979,6 +2002,7 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2018,6 +2042,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Text = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2026,6 +2051,7 @@ func awsRestjson1_deserializeDocumentButton(v **types.Button, value interface{}) } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2124,6 +2150,7 @@ func awsRestjson1_deserializeDocumentConfidenceScore(v **types.ConfidenceScore, } } + default: _, _ = key, value @@ -2163,6 +2190,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2202,6 +2230,7 @@ func awsRestjson1_deserializeDocumentDependencyFailedException(v **types.Depende } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2241,6 +2270,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotElicitationStyle = types.StyleType(jtv) } + case "slotToElicit": if value != nil { jtv, ok := value.(string) @@ -2249,10 +2279,12 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.SlotToElicit = ptr.String(jtv) } + case "subSlotToElicit": if err := awsRestjson1_deserializeDocumentElicitSubSlot(&sv.SubSlotToElicit, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2261,6 +2293,7 @@ func awsRestjson1_deserializeDocumentDialogAction(v **types.DialogAction, value } sv.Type = types.DialogActionType(jtv) } + default: _, _ = key, value @@ -2300,10 +2333,12 @@ func awsRestjson1_deserializeDocumentElicitSubSlot(v **types.ElicitSubSlot, valu } sv.Name = ptr.String(jtv) } + case "subSlotToElicit": if err := awsRestjson1_deserializeDocumentElicitSubSlot(&sv.SubSlotToElicit, value); err != nil { return err } + default: _, _ = key, value @@ -2343,6 +2378,7 @@ func awsRestjson1_deserializeDocumentHeartbeatEvent(v **types.HeartbeatEvent, va } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -2378,6 +2414,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa if err := awsRestjson1_deserializeDocumentButtonsList(&sv.Buttons, value); err != nil { return err } + case "imageUrl": if value != nil { jtv, ok := value.(string) @@ -2386,6 +2423,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.ImageUrl = ptr.String(jtv) } + case "subtitle": if value != nil { jtv, ok := value.(string) @@ -2394,6 +2432,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Subtitle = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -2402,6 +2441,7 @@ func awsRestjson1_deserializeDocumentImageResponseCard(v **types.ImageResponseCa } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -2441,6 +2481,7 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.ConfirmationState = types.ConfirmationState(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2449,10 +2490,12 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.Name = ptr.String(jtv) } + case "slots": if err := awsRestjson1_deserializeDocumentSlots(&sv.Slots, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -2461,6 +2504,7 @@ func awsRestjson1_deserializeDocumentIntent(v **types.Intent, value interface{}) } sv.State = types.IntentState(jtv) } + default: _, _ = key, value @@ -2500,6 +2544,7 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.EventId = ptr.String(jtv) } + case "inputMode": if value != nil { jtv, ok := value.(string) @@ -2508,18 +2553,22 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.InputMode = types.InputMode(jtv) } + case "interpretations": if err := awsRestjson1_deserializeDocumentInterpretations(&sv.Interpretations, value); err != nil { return err } + case "recognizedBotMember": if err := awsRestjson1_deserializeDocumentRecognizedBotMember(&sv.RecognizedBotMember, value); err != nil { return err } + case "requestAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.RequestAttributes, value); err != nil { return err } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -2528,10 +2577,12 @@ func awsRestjson1_deserializeDocumentIntentResultEvent(v **types.IntentResultEve } sv.SessionId = ptr.String(jtv) } + case "sessionState": if err := awsRestjson1_deserializeDocumentSessionState(&sv.SessionState, value); err != nil { return err } + default: _, _ = key, value @@ -2571,6 +2622,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2606,6 +2658,7 @@ func awsRestjson1_deserializeDocumentInterpretation(v **types.Interpretation, va if err := awsRestjson1_deserializeDocumentIntent(&sv.Intent, value); err != nil { return err } + case "interpretationSource": if value != nil { jtv, ok := value.(string) @@ -2614,14 +2667,17 @@ func awsRestjson1_deserializeDocumentInterpretation(v **types.Interpretation, va } sv.InterpretationSource = types.InterpretationSource(jtv) } + case "nluConfidence": if err := awsRestjson1_deserializeDocumentConfidenceScore(&sv.NluConfidence, value); err != nil { return err } + case "sentimentResponse": if err := awsRestjson1_deserializeDocumentSentimentResponse(&sv.SentimentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2695,6 +2751,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Content = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -2703,10 +2760,12 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ContentType = types.MessageContentType(jtv) } + case "imageResponseCard": if err := awsRestjson1_deserializeDocumentImageResponseCard(&sv.ImageResponseCard, value); err != nil { return err } + default: _, _ = key, value @@ -2780,6 +2839,7 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.CausedByEventId = ptr.String(jtv) } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -2788,6 +2848,7 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.EventId = ptr.String(jtv) } + case "eventReason": if value != nil { jtv, ok := value.(string) @@ -2796,6 +2857,7 @@ func awsRestjson1_deserializeDocumentPlaybackInterruptionEvent(v **types.Playbac } sv.EventReason = types.PlaybackInterruptionReason(jtv) } + default: _, _ = key, value @@ -2835,6 +2897,7 @@ func awsRestjson1_deserializeDocumentRecognizedBotMember(v **types.RecognizedBot } sv.BotId = ptr.String(jtv) } + case "botName": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2906,7 @@ func awsRestjson1_deserializeDocumentRecognizedBotMember(v **types.RecognizedBot } sv.BotName = ptr.String(jtv) } + default: _, _ = key, value @@ -2882,6 +2946,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2917,10 +2982,12 @@ func awsRestjson1_deserializeDocumentRuntimeHintDetails(v **types.RuntimeHintDet if err := awsRestjson1_deserializeDocumentRuntimeHintValuesList(&sv.RuntimeHintValues, value); err != nil { return err } + case "subSlotHints": if err := awsRestjson1_deserializeDocumentSlotHintsSlotMap(&sv.SubSlotHints, value); err != nil { return err } + default: _, _ = key, value @@ -2956,6 +3023,7 @@ func awsRestjson1_deserializeDocumentRuntimeHints(v **types.RuntimeHints, value if err := awsRestjson1_deserializeDocumentSlotHintsIntentMap(&sv.SlotHints, value); err != nil { return err } + default: _, _ = key, value @@ -2995,6 +3063,7 @@ func awsRestjson1_deserializeDocumentRuntimeHintValue(v **types.RuntimeHintValue } sv.Phrase = ptr.String(jtv) } + default: _, _ = key, value @@ -3068,10 +3137,12 @@ func awsRestjson1_deserializeDocumentSentimentResponse(v **types.SentimentRespon } sv.Sentiment = types.SentimentType(jtv) } + case "sentimentScore": if err := awsRestjson1_deserializeDocumentSentimentScore(&sv.SentimentScore, value); err != nil { return err } + default: _, _ = key, value @@ -3136,6 +3207,7 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "negative": if value != nil { switch jtv := value.(type) { @@ -3169,6 +3241,7 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "neutral": if value != nil { switch jtv := value.(type) { @@ -3202,6 +3275,7 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + case "positive": if value != nil { switch jtv := value.(type) { @@ -3235,6 +3309,7 @@ func awsRestjson1_deserializeDocumentSentimentScore(v **types.SentimentScore, va } } + default: _, _ = key, value @@ -3270,14 +3345,17 @@ func awsRestjson1_deserializeDocumentSessionState(v **types.SessionState, value if err := awsRestjson1_deserializeDocumentActiveContextsList(&sv.ActiveContexts, value); err != nil { return err } + case "dialogAction": if err := awsRestjson1_deserializeDocumentDialogAction(&sv.DialogAction, value); err != nil { return err } + case "intent": if err := awsRestjson1_deserializeDocumentIntent(&sv.Intent, value); err != nil { return err } + case "originatingRequestId": if value != nil { jtv, ok := value.(string) @@ -3286,14 +3364,17 @@ func awsRestjson1_deserializeDocumentSessionState(v **types.SessionState, value } sv.OriginatingRequestId = ptr.String(jtv) } + case "runtimeHints": if err := awsRestjson1_deserializeDocumentRuntimeHints(&sv.RuntimeHints, value); err != nil { return err } + case "sessionAttributes": if err := awsRestjson1_deserializeDocumentStringMap(&sv.SessionAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -3333,18 +3414,22 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.Shape = types.Shape(jtv) } + case "subSlots": if err := awsRestjson1_deserializeDocumentSlots(&sv.SubSlots, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentValue(&sv.Value, value); err != nil { return err } + case "values": if err := awsRestjson1_deserializeDocumentValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -3560,10 +3645,12 @@ func awsRestjson1_deserializeDocumentTextResponseEvent(v **types.TextResponseEve } sv.EventId = ptr.String(jtv) } + case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } + default: _, _ = key, value @@ -3603,6 +3690,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3642,6 +3730,7 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, } sv.EventId = ptr.String(jtv) } + case "transcript": if value != nil { jtv, ok := value.(string) @@ -3650,6 +3739,7 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, } sv.Transcript = ptr.String(jtv) } + default: _, _ = key, value @@ -3689,6 +3779,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3728,6 +3819,7 @@ func awsRestjson1_deserializeDocumentValue(v **types.Value, value interface{}) e } sv.InterpretedValue = ptr.String(jtv) } + case "originalValue": if value != nil { jtv, ok := value.(string) @@ -3736,10 +3828,12 @@ func awsRestjson1_deserializeDocumentValue(v **types.Value, value interface{}) e } sv.OriginalValue = ptr.String(jtv) } + case "resolvedValues": if err := awsRestjson1_deserializeDocumentStringList(&sv.ResolvedValues, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/licensemanager/deserializers.go b/service/licensemanager/deserializers.go index 12ec64ecbfa..f69799a9aa6 100644 --- a/service/licensemanager/deserializers.go +++ b/service/licensemanager/deserializers.go @@ -7038,6 +7038,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7149,6 +7150,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationException(v **types.Authorizat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7195,6 +7197,7 @@ func awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(v **types.Aut } } + default: _, _ = key, value @@ -7234,6 +7237,7 @@ func awsAwsjson11_deserializeDocumentBorrowConfiguration(v **types.BorrowConfigu } sv.AllowEarlyCheckIn = ptr.Bool(jtv) } + case "MaxTimeToLiveInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -7246,6 +7250,7 @@ func awsAwsjson11_deserializeDocumentBorrowConfiguration(v **types.BorrowConfigu } sv.MaxTimeToLiveInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7285,6 +7290,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7328,6 +7334,7 @@ func awsAwsjson11_deserializeDocumentConsumedLicenseSummary(v **types.ConsumedLi } sv.ConsumedLicenses = ptr.Int64(i64) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7336,6 +7343,7 @@ func awsAwsjson11_deserializeDocumentConsumedLicenseSummary(v **types.ConsumedLi } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -7405,10 +7413,12 @@ func awsAwsjson11_deserializeDocumentConsumptionConfiguration(v **types.Consumpt if err := awsAwsjson11_deserializeDocumentBorrowConfiguration(&sv.BorrowConfiguration, value); err != nil { return err } + case "ProvisionalConfiguration": if err := awsAwsjson11_deserializeDocumentProvisionalConfiguration(&sv.ProvisionalConfiguration, value); err != nil { return err } + case "RenewType": if value != nil { jtv, ok := value.(string) @@ -7417,6 +7427,7 @@ func awsAwsjson11_deserializeDocumentConsumptionConfiguration(v **types.Consumpt } sv.RenewType = types.RenewType(jtv) } + default: _, _ = key, value @@ -7456,6 +7467,7 @@ func awsAwsjson11_deserializeDocumentDatetimeRange(v **types.DatetimeRange, valu } sv.Begin = ptr.String(jtv) } + case "End": if value != nil { jtv, ok := value.(string) @@ -7464,6 +7476,7 @@ func awsAwsjson11_deserializeDocumentDatetimeRange(v **types.DatetimeRange, valu } sv.End = ptr.String(jtv) } + default: _, _ = key, value @@ -7503,6 +7516,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.AllowCheckIn = ptr.Bool(jtv) } + case "MaxCount": if value != nil { jtv, ok := value.(json.Number) @@ -7515,6 +7529,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.MaxCount = ptr.Int64(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7523,6 +7538,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } + case "Overage": if value != nil { jtv, ok := value.(bool) @@ -7531,6 +7547,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Overage = ptr.Bool(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -7539,6 +7556,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Unit = types.EntitlementUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7547,6 +7565,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7586,6 +7605,7 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Name = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -7594,6 +7614,7 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Unit = types.EntitlementDataUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7602,6 +7623,7 @@ func awsAwsjson11_deserializeDocumentEntitlementData(v **types.EntitlementData, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7709,6 +7731,7 @@ func awsAwsjson11_deserializeDocumentEntitlementNotAllowedException(v **types.En } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7748,6 +7771,7 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.ConsumedValue = ptr.String(jtv) } + case "MaxCount": if value != nil { jtv, ok := value.(string) @@ -7756,6 +7780,7 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.MaxCount = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7764,6 +7789,7 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.Name = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -7772,6 +7798,7 @@ func awsAwsjson11_deserializeDocumentEntitlementUsage(v **types.EntitlementUsage } sv.Unit = types.EntitlementDataUnit(jtv) } + default: _, _ = key, value @@ -7845,6 +7872,7 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7853,6 +7881,7 @@ func awsAwsjson11_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7892,6 +7921,7 @@ func awsAwsjson11_deserializeDocumentFilterLimitExceededException(v **types.Filt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7931,10 +7961,12 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantArn = ptr.String(jtv) } + case "GrantedOperations": if err := awsAwsjson11_deserializeDocumentAllowedOperationList(&sv.GrantedOperations, value); err != nil { return err } + case "GranteePrincipalArn": if value != nil { jtv, ok := value.(string) @@ -7943,6 +7975,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GranteePrincipalArn = ptr.String(jtv) } + case "GrantName": if value != nil { jtv, ok := value.(string) @@ -7951,6 +7984,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantName = ptr.String(jtv) } + case "GrantStatus": if value != nil { jtv, ok := value.(string) @@ -7959,6 +7993,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.GrantStatus = types.GrantStatus(jtv) } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -7967,6 +8002,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.HomeRegion = ptr.String(jtv) } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -7975,10 +8011,12 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.LicenseArn = ptr.String(jtv) } + case "Options": if err := awsAwsjson11_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "ParentArn": if value != nil { jtv, ok := value.(string) @@ -7987,6 +8025,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.ParentArn = ptr.String(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -7995,6 +8034,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.StatusReason = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -8003,6 +8043,7 @@ func awsAwsjson11_deserializeDocumentGrant(v **types.Grant, value interface{}) e } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8042,10 +8083,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Beneficiary = ptr.String(jtv) } + case "ConsumptionConfiguration": if err := awsAwsjson11_deserializeDocumentConsumptionConfiguration(&sv.ConsumptionConfiguration, value); err != nil { return err } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -8054,10 +8097,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.CreateTime = ptr.String(jtv) } + case "Entitlements": if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -8066,10 +8111,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.HomeRegion = ptr.String(jtv) } + case "Issuer": if err := awsAwsjson11_deserializeDocumentIssuerDetails(&sv.Issuer, value); err != nil { return err } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -8078,10 +8125,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.LicenseArn = ptr.String(jtv) } + case "LicenseMetadata": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.LicenseMetadata, value); err != nil { return err } + case "LicenseName": if value != nil { jtv, ok := value.(string) @@ -8090,6 +8139,7 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.LicenseName = ptr.String(jtv) } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -8098,6 +8148,7 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.ProductName = ptr.String(jtv) } + case "ProductSKU": if value != nil { jtv, ok := value.(string) @@ -8106,10 +8157,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.ProductSKU = ptr.String(jtv) } + case "ReceivedMetadata": if err := awsAwsjson11_deserializeDocumentReceivedMetadata(&sv.ReceivedMetadata, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8118,10 +8171,12 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Status = types.LicenseStatus(jtv) } + case "Validity": if err := awsAwsjson11_deserializeDocumentDatetimeRange(&sv.Validity, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -8130,6 +8185,7 @@ func awsAwsjson11_deserializeDocumentGrantedLicense(v **types.GrantedLicense, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8237,6 +8293,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8276,6 +8333,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8315,6 +8373,7 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.KeyFingerprint = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8323,6 +8382,7 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.Name = ptr.String(jtv) } + case "SignKey": if value != nil { jtv, ok := value.(string) @@ -8331,6 +8391,7 @@ func awsAwsjson11_deserializeDocumentIssuerDetails(v **types.IssuerDetails, valu } sv.SignKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8370,10 +8431,12 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Beneficiary = ptr.String(jtv) } + case "ConsumptionConfiguration": if err := awsAwsjson11_deserializeDocumentConsumptionConfiguration(&sv.ConsumptionConfiguration, value); err != nil { return err } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -8382,10 +8445,12 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.CreateTime = ptr.String(jtv) } + case "Entitlements": if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -8394,10 +8459,12 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.HomeRegion = ptr.String(jtv) } + case "Issuer": if err := awsAwsjson11_deserializeDocumentIssuerDetails(&sv.Issuer, value); err != nil { return err } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -8406,10 +8473,12 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.LicenseArn = ptr.String(jtv) } + case "LicenseMetadata": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.LicenseMetadata, value); err != nil { return err } + case "LicenseName": if value != nil { jtv, ok := value.(string) @@ -8418,6 +8487,7 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.LicenseName = ptr.String(jtv) } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -8426,6 +8496,7 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.ProductName = ptr.String(jtv) } + case "ProductSKU": if value != nil { jtv, ok := value.(string) @@ -8434,6 +8505,7 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.ProductSKU = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8442,10 +8514,12 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Status = types.LicenseStatus(jtv) } + case "Validity": if err := awsAwsjson11_deserializeDocumentDatetimeRange(&sv.Validity, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -8454,6 +8528,7 @@ func awsAwsjson11_deserializeDocumentLicense(v **types.License, value interface{ } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -8489,6 +8564,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi if err := awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(&sv.AutomatedDiscoveryInformation, value); err != nil { return err } + case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -8501,10 +8577,12 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.ConsumedLicenses = ptr.Int64(i64) } + case "ConsumedLicenseSummaryList": if err := awsAwsjson11_deserializeDocumentConsumedLicenseSummaryList(&sv.ConsumedLicenseSummaryList, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8513,6 +8591,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Description = ptr.String(jtv) } + case "DisassociateWhenNotFound": if value != nil { jtv, ok := value.(bool) @@ -8521,6 +8600,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.DisassociateWhenNotFound = ptr.Bool(jtv) } + case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -8529,6 +8609,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseConfigurationArn = ptr.String(jtv) } + case "LicenseConfigurationId": if value != nil { jtv, ok := value.(string) @@ -8537,6 +8618,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseConfigurationId = ptr.String(jtv) } + case "LicenseCount": if value != nil { jtv, ok := value.(json.Number) @@ -8549,6 +8631,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCount = ptr.Int64(i64) } + case "LicenseCountHardLimit": if value != nil { jtv, ok := value.(bool) @@ -8557,6 +8640,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCountHardLimit = ptr.Bool(jtv) } + case "LicenseCountingType": if value != nil { jtv, ok := value.(string) @@ -8565,14 +8649,17 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.LicenseCountingType = types.LicenseCountingType(jtv) } + case "LicenseRules": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LicenseRules, value); err != nil { return err } + case "ManagedResourceSummaryList": if err := awsAwsjson11_deserializeDocumentManagedResourceSummaryList(&sv.ManagedResourceSummaryList, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8581,6 +8668,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -8589,10 +8677,12 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.OwnerAccountId = ptr.String(jtv) } + case "ProductInformationList": if err := awsAwsjson11_deserializeDocumentProductInformationList(&sv.ProductInformationList, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8601,6 +8691,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfiguration(v **types.LicenseConfi } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8640,6 +8731,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.AmiAssociationScope = ptr.String(jtv) } + case "AssociationTime": if value != nil { switch jtv := value.(type) { @@ -8655,6 +8747,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8663,6 +8756,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceArn = ptr.String(jtv) } + case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -8671,6 +8765,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceOwnerId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8679,6 +8774,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationAssociation(v **types.L } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -8793,6 +8889,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } } + case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -8805,6 +8902,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ConsumedLicenses = ptr.Int64(i64) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8813,6 +8911,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceArn = ptr.String(jtv) } + case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -8821,6 +8920,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceOwnerId = ptr.String(jtv) } + case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -8829,6 +8929,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceStatus = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8837,6 +8938,7 @@ func awsAwsjson11_deserializeDocumentLicenseConfigurationUsage(v **types.License } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -8910,6 +9012,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionContext(v **types.LicenseC } sv.UsageOperation = ptr.String(jtv) } + default: _, _ = key, value @@ -8945,6 +9048,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.DestinationLicenseContext, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8960,6 +9064,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } + case "LicenseConversionTaskId": if value != nil { jtv, ok := value.(string) @@ -8968,6 +9073,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.LicenseConversionTaskId = ptr.String(jtv) } + case "LicenseConversionTime": if value != nil { switch jtv := value.(type) { @@ -8983,6 +9089,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8991,10 +9098,12 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.ResourceArn = ptr.String(jtv) } + case "SourceLicenseContext": if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.SourceLicenseContext, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9010,6 +9119,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9018,6 +9128,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.Status = types.LicenseConversionTaskStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9026,6 +9137,7 @@ func awsAwsjson11_deserializeDocumentLicenseConversionTask(v **types.LicenseConv } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9133,6 +9245,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ErrorMessage = ptr.String(jtv) } + case "FailureTime": if value != nil { switch jtv := value.(type) { @@ -9148,10 +9261,12 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } } + case "MetadataList": if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.MetadataList, value); err != nil { return err } + case "OperationName": if value != nil { jtv, ok := value.(string) @@ -9160,6 +9275,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.OperationName = ptr.String(jtv) } + case "OperationRequestedBy": if value != nil { jtv, ok := value.(string) @@ -9168,6 +9284,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.OperationRequestedBy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -9176,6 +9293,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceArn = ptr.String(jtv) } + case "ResourceOwnerId": if value != nil { jtv, ok := value.(string) @@ -9184,6 +9302,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceOwnerId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9192,6 +9311,7 @@ func awsAwsjson11_deserializeDocumentLicenseOperationFailure(v **types.LicenseOp } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -9265,6 +9385,7 @@ func awsAwsjson11_deserializeDocumentLicenseSpecification(v **types.LicenseSpeci } sv.AmiAssociationScope = ptr.String(jtv) } + case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9273,6 +9394,7 @@ func awsAwsjson11_deserializeDocumentLicenseSpecification(v **types.LicenseSpeci } sv.LicenseConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9342,6 +9464,7 @@ func awsAwsjson11_deserializeDocumentLicenseUsage(v **types.LicenseUsage, value if err := awsAwsjson11_deserializeDocumentEntitlementUsageList(&sv.EntitlementUsages, value); err != nil { return err } + default: _, _ = key, value @@ -9381,6 +9504,7 @@ func awsAwsjson11_deserializeDocumentLicenseUsageException(v **types.LicenseUsag } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9424,6 +9548,7 @@ func awsAwsjson11_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.AssociationCount = ptr.Int64(i64) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9432,6 +9557,7 @@ func awsAwsjson11_deserializeDocumentManagedResourceSummary(v **types.ManagedRes } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -9541,6 +9667,7 @@ func awsAwsjson11_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9549,6 +9676,7 @@ func awsAwsjson11_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9622,6 +9750,7 @@ func awsAwsjson11_deserializeDocumentNoEntitlementsAllowedException(v **types.No } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9661,6 +9790,7 @@ func awsAwsjson11_deserializeDocumentOptions(v **types.Options, value interface{ } sv.ActivationOverrideBehavior = types.ActivationOverrideBehavior(jtv) } + default: _, _ = key, value @@ -9700,6 +9830,7 @@ func awsAwsjson11_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.EnableIntegration = jtv } + default: _, _ = key, value @@ -9735,6 +9866,7 @@ func awsAwsjson11_deserializeDocumentProductInformation(v **types.ProductInforma if err := awsAwsjson11_deserializeDocumentProductInformationFilterList(&sv.ProductInformationFilterList, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9743,6 +9875,7 @@ func awsAwsjson11_deserializeDocumentProductInformation(v **types.ProductInforma } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -9782,6 +9915,7 @@ func awsAwsjson11_deserializeDocumentProductInformationFilter(v **types.ProductI } sv.ProductInformationFilterComparator = ptr.String(jtv) } + case "ProductInformationFilterName": if value != nil { jtv, ok := value.(string) @@ -9790,10 +9924,12 @@ func awsAwsjson11_deserializeDocumentProductInformationFilter(v **types.ProductI } sv.ProductInformationFilterName = ptr.String(jtv) } + case "ProductInformationFilterValue": if err := awsAwsjson11_deserializeDocumentStringList(&sv.ProductInformationFilterValue, value); err != nil { return err } + default: _, _ = key, value @@ -9905,6 +10041,7 @@ func awsAwsjson11_deserializeDocumentProvisionalConfiguration(v **types.Provisio } sv.MaxTimeToLiveInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9944,6 +10081,7 @@ func awsAwsjson11_deserializeDocumentRateLimitExceededException(v **types.RateLi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9979,6 +10117,7 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata if err := awsAwsjson11_deserializeDocumentAllowedOperationList(&sv.AllowedOperations, value); err != nil { return err } + case "ReceivedStatus": if value != nil { jtv, ok := value.(string) @@ -9987,6 +10126,7 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata } sv.ReceivedStatus = types.ReceivedStatus(jtv) } + case "ReceivedStatusReason": if value != nil { jtv, ok := value.(string) @@ -9995,6 +10135,7 @@ func awsAwsjson11_deserializeDocumentReceivedMetadata(v **types.ReceivedMetadata } sv.ReceivedStatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -10034,6 +10175,7 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti } sv.Location = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10042,6 +10184,7 @@ func awsAwsjson11_deserializeDocumentRedirectException(v **types.RedirectExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10077,6 +10220,7 @@ func awsAwsjson11_deserializeDocumentReportContext(v **types.ReportContext, valu if err := awsAwsjson11_deserializeDocumentArnList(&sv.LicenseConfigurationArns, value); err != nil { return err } + default: _, _ = key, value @@ -10116,6 +10260,7 @@ func awsAwsjson11_deserializeDocumentReportFrequency(v **types.ReportFrequency, } sv.Period = types.ReportFrequencyType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -10128,6 +10273,7 @@ func awsAwsjson11_deserializeDocumentReportFrequency(v **types.ReportFrequency, } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10167,6 +10313,7 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.CreateTime = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10175,6 +10322,7 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.Description = ptr.String(jtv) } + case "LastReportGenerationTime": if value != nil { jtv, ok := value.(string) @@ -10183,6 +10331,7 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastReportGenerationTime = ptr.String(jtv) } + case "LastRunFailureReason": if value != nil { jtv, ok := value.(string) @@ -10191,6 +10340,7 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastRunFailureReason = ptr.String(jtv) } + case "LastRunStatus": if value != nil { jtv, ok := value.(string) @@ -10199,6 +10349,7 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LastRunStatus = ptr.String(jtv) } + case "LicenseManagerReportGeneratorArn": if value != nil { jtv, ok := value.(string) @@ -10207,10 +10358,12 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.LicenseManagerReportGeneratorArn = ptr.String(jtv) } + case "ReportContext": if err := awsAwsjson11_deserializeDocumentReportContext(&sv.ReportContext, value); err != nil { return err } + case "ReportCreatorAccount": if value != nil { jtv, ok := value.(string) @@ -10219,10 +10372,12 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.ReportCreatorAccount = ptr.String(jtv) } + case "ReportFrequency": if err := awsAwsjson11_deserializeDocumentReportFrequency(&sv.ReportFrequency, value); err != nil { return err } + case "ReportGeneratorName": if value != nil { jtv, ok := value.(string) @@ -10231,18 +10386,22 @@ func awsAwsjson11_deserializeDocumentReportGenerator(v **types.ReportGenerator, } sv.ReportGeneratorName = ptr.String(jtv) } + case "ReportType": if err := awsAwsjson11_deserializeDocumentReportTypeList(&sv.ReportType, value); err != nil { return err } + case "S3Location": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10352,6 +10511,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.Platform = ptr.String(jtv) } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -10360,6 +10520,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.PlatformVersion = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10368,6 +10529,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10376,6 +10538,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceId = ptr.String(jtv) } + case "ResourceOwningAccountId": if value != nil { jtv, ok := value.(string) @@ -10384,6 +10547,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceOwningAccountId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10392,6 +10556,7 @@ func awsAwsjson11_deserializeDocumentResourceInventory(v **types.ResourceInvento } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -10465,6 +10630,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10504,6 +10670,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10543,6 +10710,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -10551,6 +10719,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -10590,6 +10759,7 @@ func awsAwsjson11_deserializeDocumentServerInternalException(v **types.ServerInt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10665,6 +10835,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10673,6 +10844,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10746,6 +10918,7 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.ExpirationTime = ptr.String(jtv) } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -10754,10 +10927,12 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.LicenseArn = ptr.String(jtv) } + case "RoleArns": if err := awsAwsjson11_deserializeDocumentArnList(&sv.RoleArns, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10766,6 +10941,7 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.Status = ptr.String(jtv) } + case "TokenId": if value != nil { jtv, ok := value.(string) @@ -10774,10 +10950,12 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.TokenId = ptr.String(jtv) } + case "TokenProperties": if err := awsAwsjson11_deserializeDocumentMaxSize3StringList(&sv.TokenProperties, value); err != nil { return err } + case "TokenType": if value != nil { jtv, ok := value.(string) @@ -10786,6 +10964,7 @@ func awsAwsjson11_deserializeDocumentTokenData(v **types.TokenData, value interf } sv.TokenType = ptr.String(jtv) } + default: _, _ = key, value @@ -10859,6 +11038,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDigitalSignatureMethodException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10898,6 +11078,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10937,6 +11118,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.GrantArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10945,6 +11127,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.Status = types.GrantStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -10953,6 +11136,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptGrantOutput(v **AcceptGrantOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11019,10 +11203,12 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB if err := awsAwsjson11_deserializeDocumentMetadataList(&sv.CheckoutMetadata, value); err != nil { return err } + case "EntitlementsAllowed": if err := awsAwsjson11_deserializeDocumentEntitlementDataList(&sv.EntitlementsAllowed, value); err != nil { return err } + case "Expiration": if value != nil { jtv, ok := value.(string) @@ -11031,6 +11217,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.Expiration = ptr.String(jtv) } + case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -11039,6 +11226,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.IssuedAt = ptr.String(jtv) } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -11047,6 +11235,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.LicenseArn = ptr.String(jtv) } + case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -11055,6 +11244,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.LicenseConsumptionToken = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -11063,6 +11253,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.NodeId = ptr.String(jtv) } + case "SignedToken": if value != nil { jtv, ok := value.(string) @@ -11071,6 +11262,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutBorrowLicenseOutput(v **CheckoutB } sv.SignedToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11110,10 +11302,12 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.CheckoutType = types.CheckoutType(jtv) } + case "EntitlementsAllowed": if err := awsAwsjson11_deserializeDocumentEntitlementDataList(&sv.EntitlementsAllowed, value); err != nil { return err } + case "Expiration": if value != nil { jtv, ok := value.(string) @@ -11122,6 +11316,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.Expiration = ptr.String(jtv) } + case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -11130,6 +11325,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.IssuedAt = ptr.String(jtv) } + case "LicenseArn": if value != nil { jtv, ok := value.(string) @@ -11138,6 +11334,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.LicenseArn = ptr.String(jtv) } + case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -11146,6 +11343,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.LicenseConsumptionToken = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -11154,6 +11352,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.NodeId = ptr.String(jtv) } + case "SignedToken": if value != nil { jtv, ok := value.(string) @@ -11162,6 +11361,7 @@ func awsAwsjson11_deserializeOpDocumentCheckoutLicenseOutput(v **CheckoutLicense } sv.SignedToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11201,6 +11401,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.GrantArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11209,6 +11410,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.Status = types.GrantStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11217,6 +11419,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantOutput(v **CreateGrantOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11256,6 +11459,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.GrantArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11264,6 +11468,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.Status = types.GrantStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11272,6 +11477,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGrantVersionOutput(v **CreateGrantV } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11311,6 +11517,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseConfigurationOutput(v **Crea } sv.LicenseConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11350,6 +11557,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseConversionTaskForResourceOut } sv.LicenseConversionTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -11389,6 +11597,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseManagerReportGeneratorOutput } sv.LicenseManagerReportGeneratorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11428,6 +11637,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.LicenseArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11436,6 +11646,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.Status = types.LicenseStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11444,6 +11655,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseOutput(v **CreateLicenseOutp } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11483,6 +11695,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.LicenseArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11491,6 +11704,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.Status = types.LicenseStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11499,6 +11713,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLicenseVersionOutput(v **CreateLice } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11538,6 +11753,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.Token = ptr.String(jtv) } + case "TokenId": if value != nil { jtv, ok := value.(string) @@ -11546,6 +11762,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenId = ptr.String(jtv) } + case "TokenType": if value != nil { jtv, ok := value.(string) @@ -11554,6 +11771,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenType = types.TokenType(jtv) } + default: _, _ = key, value @@ -11593,6 +11811,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.GrantArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11601,6 +11820,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.Status = types.GrantStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11609,6 +11829,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGrantOutput(v **DeleteGrantOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11710,6 +11931,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLicenseOutput(v **DeleteLicenseOutp } sv.DeletionDate = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11718,6 +11940,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLicenseOutput(v **DeleteLicenseOutp } sv.Status = types.LicenseDeletionStatus(jtv) } + default: _, _ = key, value @@ -11788,6 +12011,7 @@ func awsAwsjson11_deserializeOpDocumentExtendLicenseConsumptionOutput(v **Extend } sv.Expiration = ptr.String(jtv) } + case "LicenseConsumptionToken": if value != nil { jtv, ok := value.(string) @@ -11796,6 +12020,7 @@ func awsAwsjson11_deserializeOpDocumentExtendLicenseConsumptionOutput(v **Extend } sv.LicenseConsumptionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11835,6 +12060,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccessTokenOutput(v **GetAccessTokenOu } sv.AccessToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11870,6 +12096,7 @@ func awsAwsjson11_deserializeOpDocumentGetGrantOutput(v **GetGrantOutput, value if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } + default: _, _ = key, value @@ -11905,6 +12132,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice if err := awsAwsjson11_deserializeDocumentAutomatedDiscoveryInformation(&sv.AutomatedDiscoveryInformation, value); err != nil { return err } + case "ConsumedLicenses": if value != nil { jtv, ok := value.(json.Number) @@ -11917,10 +12145,12 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.ConsumedLicenses = ptr.Int64(i64) } + case "ConsumedLicenseSummaryList": if err := awsAwsjson11_deserializeDocumentConsumedLicenseSummaryList(&sv.ConsumedLicenseSummaryList, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11929,6 +12159,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Description = ptr.String(jtv) } + case "DisassociateWhenNotFound": if value != nil { jtv, ok := value.(bool) @@ -11937,6 +12168,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.DisassociateWhenNotFound = ptr.Bool(jtv) } + case "LicenseConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -11945,6 +12177,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseConfigurationArn = ptr.String(jtv) } + case "LicenseConfigurationId": if value != nil { jtv, ok := value.(string) @@ -11953,6 +12186,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseConfigurationId = ptr.String(jtv) } + case "LicenseCount": if value != nil { jtv, ok := value.(json.Number) @@ -11965,6 +12199,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCount = ptr.Int64(i64) } + case "LicenseCountHardLimit": if value != nil { jtv, ok := value.(bool) @@ -11973,6 +12208,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCountHardLimit = ptr.Bool(jtv) } + case "LicenseCountingType": if value != nil { jtv, ok := value.(string) @@ -11981,14 +12217,17 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.LicenseCountingType = types.LicenseCountingType(jtv) } + case "LicenseRules": if err := awsAwsjson11_deserializeDocumentStringList(&sv.LicenseRules, value); err != nil { return err } + case "ManagedResourceSummaryList": if err := awsAwsjson11_deserializeDocumentManagedResourceSummaryList(&sv.ManagedResourceSummaryList, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11997,6 +12236,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -12005,10 +12245,12 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.OwnerAccountId = ptr.String(jtv) } + case "ProductInformationList": if err := awsAwsjson11_deserializeDocumentProductInformationList(&sv.ProductInformationList, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12017,10 +12259,12 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConfigurationOutput(v **GetLice } sv.Status = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12056,6 +12300,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.DestinationLicenseContext, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -12071,6 +12316,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } + case "LicenseConversionTaskId": if value != nil { jtv, ok := value.(string) @@ -12079,6 +12325,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.LicenseConversionTaskId = ptr.String(jtv) } + case "LicenseConversionTime": if value != nil { switch jtv := value.(type) { @@ -12094,6 +12341,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12102,10 +12350,12 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.ResourceArn = ptr.String(jtv) } + case "SourceLicenseContext": if err := awsAwsjson11_deserializeDocumentLicenseConversionContext(&sv.SourceLicenseContext, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -12121,6 +12371,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12129,6 +12380,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.Status = types.LicenseConversionTaskStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -12137,6 +12389,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseConversionTaskOutput(v **GetLic } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -12172,6 +12425,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseManagerReportGeneratorOutput(v if err := awsAwsjson11_deserializeDocumentReportGenerator(&sv.ReportGenerator, value); err != nil { return err } + default: _, _ = key, value @@ -12207,6 +12461,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseOutput(v **GetLicenseOutput, va if err := awsAwsjson11_deserializeDocumentLicense(&sv.License, value); err != nil { return err } + default: _, _ = key, value @@ -12242,6 +12497,7 @@ func awsAwsjson11_deserializeOpDocumentGetLicenseUsageOutput(v **GetLicenseUsage if err := awsAwsjson11_deserializeDocumentLicenseUsage(&sv.LicenseUsage, value); err != nil { return err } + default: _, _ = key, value @@ -12281,6 +12537,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.EnableCrossAccountsDiscovery = ptr.Bool(jtv) } + case "LicenseManagerResourceShareArn": if value != nil { jtv, ok := value.(string) @@ -12289,10 +12546,12 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.LicenseManagerResourceShareArn = ptr.String(jtv) } + case "OrganizationConfiguration": if err := awsAwsjson11_deserializeDocumentOrganizationConfiguration(&sv.OrganizationConfiguration, value); err != nil { return err } + case "S3BucketArn": if value != nil { jtv, ok := value.(string) @@ -12301,6 +12560,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.S3BucketArn = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -12309,6 +12569,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12344,6 +12605,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsForLicenseConfigurationOu if err := awsAwsjson11_deserializeDocumentLicenseConfigurationAssociations(&sv.LicenseConfigurationAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12352,6 +12614,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsForLicenseConfigurationOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12387,6 +12650,7 @@ func awsAwsjson11_deserializeOpDocumentListDistributedGrantsOutput(v **ListDistr if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12395,6 +12659,7 @@ func awsAwsjson11_deserializeOpDocumentListDistributedGrantsOutput(v **ListDistr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12430,6 +12695,7 @@ func awsAwsjson11_deserializeOpDocumentListFailuresForLicenseConfigurationOperat if err := awsAwsjson11_deserializeDocumentLicenseOperationFailureList(&sv.LicenseOperationFailureList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12438,6 +12704,7 @@ func awsAwsjson11_deserializeOpDocumentListFailuresForLicenseConfigurationOperat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12473,6 +12740,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLicenseConfigurations(&sv.LicenseConfigurations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12481,6 +12749,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConfigurationsOutput(v **ListL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12516,6 +12785,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConversionTasksOutput(v **List if err := awsAwsjson11_deserializeDocumentLicenseConversionTasks(&sv.LicenseConversionTasks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12524,6 +12794,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseConversionTasksOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12563,10 +12834,12 @@ func awsAwsjson11_deserializeOpDocumentListLicenseManagerReportGeneratorsOutput( } sv.NextToken = ptr.String(jtv) } + case "ReportGenerators": if err := awsAwsjson11_deserializeDocumentReportGeneratorList(&sv.ReportGenerators, value); err != nil { return err } + default: _, _ = key, value @@ -12602,6 +12875,7 @@ func awsAwsjson11_deserializeOpDocumentListLicensesOutput(v **ListLicensesOutput if err := awsAwsjson11_deserializeDocumentLicenseList(&sv.Licenses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12610,6 +12884,7 @@ func awsAwsjson11_deserializeOpDocumentListLicensesOutput(v **ListLicensesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12645,6 +12920,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseSpecificationsForResourceOutpu if err := awsAwsjson11_deserializeDocumentLicenseSpecifications(&sv.LicenseSpecifications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12653,6 +12929,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseSpecificationsForResourceOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12688,6 +12965,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseVersionsOutput(v **ListLicense if err := awsAwsjson11_deserializeDocumentLicenseList(&sv.Licenses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12696,6 +12974,7 @@ func awsAwsjson11_deserializeOpDocumentListLicenseVersionsOutput(v **ListLicense } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12731,6 +13010,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsForOrganizationOutput(v if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12739,6 +13019,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsForOrganizationOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12774,6 +13055,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsOutput(v **ListReceived if err := awsAwsjson11_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12782,6 +13064,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedGrantsOutput(v **ListReceived } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12817,6 +13100,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesForOrganizationOutput if err := awsAwsjson11_deserializeDocumentGrantedLicenseList(&sv.Licenses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12825,6 +13109,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesForOrganizationOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12860,6 +13145,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesOutput(v **ListReceiv if err := awsAwsjson11_deserializeDocumentGrantedLicenseList(&sv.Licenses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12868,6 +13154,7 @@ func awsAwsjson11_deserializeOpDocumentListReceivedLicensesOutput(v **ListReceiv } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12907,10 +13194,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceInventoryOutput(v **ListResou } sv.NextToken = ptr.String(jtv) } + case "ResourceInventoryList": if err := awsAwsjson11_deserializeDocumentResourceInventoryList(&sv.ResourceInventoryList, value); err != nil { return err } + default: _, _ = key, value @@ -12946,6 +13235,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12985,10 +13275,12 @@ func awsAwsjson11_deserializeOpDocumentListTokensOutput(v **ListTokensOutput, va } sv.NextToken = ptr.String(jtv) } + case "Tokens": if err := awsAwsjson11_deserializeDocumentTokenList(&sv.Tokens, value); err != nil { return err } + default: _, _ = key, value @@ -13024,6 +13316,7 @@ func awsAwsjson11_deserializeOpDocumentListUsageForLicenseConfigurationOutput(v if err := awsAwsjson11_deserializeDocumentLicenseConfigurationUsageList(&sv.LicenseConfigurationUsageList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13032,6 +13325,7 @@ func awsAwsjson11_deserializeOpDocumentListUsageForLicenseConfigurationOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13071,6 +13365,7 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.GrantArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13079,6 +13374,7 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.Status = types.GrantStatus(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -13087,6 +13383,7 @@ func awsAwsjson11_deserializeOpDocumentRejectGrantOutput(v **RejectGrantOutput, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/licensemanagerlinuxsubscriptions/deserializers.go b/service/licensemanagerlinuxsubscriptions/deserializers.go index ddeb4f0872e..0d189839da3 100644 --- a/service/licensemanagerlinuxsubscriptions/deserializers.go +++ b/service/licensemanagerlinuxsubscriptions/deserializers.go @@ -281,6 +281,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.LastSuccessfulDataRetrievalTime = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -289,6 +290,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SecretArn = ptr.String(jtv) } + case "SubscriptionProviderArn": if value != nil { jtv, ok := value.(string) @@ -297,6 +299,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderArn = ptr.String(jtv) } + case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -305,6 +308,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } + case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -313,6 +317,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } + case "SubscriptionProviderStatusMessage": if value != nil { jtv, ok := value.(string) @@ -321,6 +326,7 @@ func awsRestjson1_deserializeOpDocumentGetRegisteredSubscriptionProviderOutput(v } sv.SubscriptionProviderStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -478,6 +484,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe if err := awsRestjson1_deserializeDocumentStringList(&sv.HomeRegions, value); err != nil { return err } + case "LinuxSubscriptionsDiscovery": if value != nil { jtv, ok := value.(string) @@ -486,10 +493,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.LinuxSubscriptionsDiscovery = types.LinuxSubscriptionsDiscovery(jtv) } + case "LinuxSubscriptionsDiscoverySettings": if err := awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(&sv.LinuxSubscriptionsDiscoverySettings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -498,10 +507,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe } sv.Status = types.Status(jtv) } + case "StatusMessage": if err := awsRestjson1_deserializeDocumentStringMap(&sv.StatusMessage, value); err != nil { return err } + default: _, _ = key, value @@ -659,6 +670,7 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionInstancesOutput(v ** if err := awsRestjson1_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -667,6 +679,7 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionInstancesOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -828,10 +841,12 @@ func awsRestjson1_deserializeOpDocumentListLinuxSubscriptionsOutput(v **ListLinu } sv.NextToken = ptr.String(jtv) } + case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -993,10 +1008,12 @@ func awsRestjson1_deserializeOpDocumentListRegisteredSubscriptionProvidersOutput } sv.NextToken = ptr.String(jtv) } + case "RegisteredSubscriptionProviders": if err := awsRestjson1_deserializeDocumentRegisteredSubscriptionProviderList(&sv.RegisteredSubscriptionProviders, value); err != nil { return err } + default: _, _ = key, value @@ -1154,6 +1171,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1315,6 +1333,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderArn = ptr.String(jtv) } + case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -1323,6 +1342,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } + case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -1331,6 +1351,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSubscriptionProviderOutput(v **Re } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } + default: _, _ = key, value @@ -1673,6 +1694,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer if err := awsRestjson1_deserializeDocumentStringList(&sv.HomeRegions, value); err != nil { return err } + case "LinuxSubscriptionsDiscovery": if value != nil { jtv, ok := value.(string) @@ -1681,10 +1703,12 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer } sv.LinuxSubscriptionsDiscovery = types.LinuxSubscriptionsDiscovery(jtv) } + case "LinuxSubscriptionsDiscoverySettings": if err := awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(&sv.LinuxSubscriptionsDiscoverySettings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1693,10 +1717,12 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceSettingsOutput(v **UpdateSer } sv.Status = types.Status(jtv) } + case "StatusMessage": if err := awsRestjson1_deserializeDocumentStringMap(&sv.StatusMessage, value); err != nil { return err } + default: _, _ = key, value @@ -1880,6 +1906,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AccountID = ptr.String(jtv) } + case "AmiId": if value != nil { jtv, ok := value.(string) @@ -1888,6 +1915,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiId = ptr.String(jtv) } + case "DualSubscription": if value != nil { jtv, ok := value.(string) @@ -1896,6 +1924,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.DualSubscription = ptr.String(jtv) } + case "InstanceID": if value != nil { jtv, ok := value.(string) @@ -1904,6 +1933,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceID = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -1912,6 +1942,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -1920,6 +1951,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.LastUpdatedTime = ptr.String(jtv) } + case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -1928,10 +1960,12 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.OsVersion = ptr.String(jtv) } + case "ProductCode": if err := awsRestjson1_deserializeDocumentProductCodeList(&sv.ProductCode, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -1940,6 +1974,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Region = ptr.String(jtv) } + case "RegisteredWithSubscriptionProvider": if value != nil { jtv, ok := value.(string) @@ -1948,6 +1983,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RegisteredWithSubscriptionProvider = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1956,6 +1992,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = ptr.String(jtv) } + case "SubscriptionName": if value != nil { jtv, ok := value.(string) @@ -1964,6 +2001,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionName = ptr.String(jtv) } + case "SubscriptionProviderCreateTime": if value != nil { jtv, ok := value.(string) @@ -1972,6 +2010,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionProviderCreateTime = ptr.String(jtv) } + case "SubscriptionProviderUpdateTime": if value != nil { jtv, ok := value.(string) @@ -1980,6 +2019,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubscriptionProviderUpdateTime = ptr.String(jtv) } + case "UsageOperation": if value != nil { jtv, ok := value.(string) @@ -1988,6 +2028,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.UsageOperation = ptr.String(jtv) } + default: _, _ = key, value @@ -2061,6 +2102,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2100,10 +2142,12 @@ func awsRestjson1_deserializeDocumentLinuxSubscriptionsDiscoverySettings(v **typ } sv.OrganizationIntegration = types.OrganizationIntegration(jtv) } + case "SourceRegions": if err := awsRestjson1_deserializeDocumentStringList(&sv.SourceRegions, value); err != nil { return err } + default: _, _ = key, value @@ -2179,6 +2223,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.LastSuccessfulDataRetrievalTime = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -2187,6 +2232,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SecretArn = ptr.String(jtv) } + case "SubscriptionProviderArn": if value != nil { jtv, ok := value.(string) @@ -2195,6 +2241,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderArn = ptr.String(jtv) } + case "SubscriptionProviderSource": if value != nil { jtv, ok := value.(string) @@ -2203,6 +2250,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderSource = types.SubscriptionProviderSource(jtv) } + case "SubscriptionProviderStatus": if value != nil { jtv, ok := value.(string) @@ -2211,6 +2259,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderStatus = types.SubscriptionProviderStatus(jtv) } + case "SubscriptionProviderStatusMessage": if value != nil { jtv, ok := value.(string) @@ -2219,6 +2268,7 @@ func awsRestjson1_deserializeDocumentRegisteredSubscriptionProvider(v **types.Re } sv.SubscriptionProviderStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -2292,6 +2342,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2407,6 +2458,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.InstanceCount = ptr.Int64(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2415,6 +2467,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2423,6 +2476,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2532,6 +2586,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2571,6 +2626,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/licensemanagerusersubscriptions/deserializers.go b/service/licensemanagerusersubscriptions/deserializers.go index 39af3a8eecf..44a79437ce8 100644 --- a/service/licensemanagerusersubscriptions/deserializers.go +++ b/service/licensemanagerusersubscriptions/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentAssociateUserOutput(v **AssociateUserOutp if err := awsRestjson1_deserializeDocumentInstanceUserSummary(&sv.InstanceUserSummary, value); err != nil { return err } + default: _, _ = key, value @@ -358,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterIdentityProviderOutput(v **Dere if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } + default: _, _ = key, value @@ -527,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateUserOutput(v **DisassociateUs if err := awsRestjson1_deserializeDocumentInstanceUserSummary(&sv.InstanceUserSummary, value); err != nil { return err } + default: _, _ = key, value @@ -696,6 +699,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent if err := awsRestjson1_deserializeDocumentIdentityProviderSummaryList(&sv.IdentityProviderSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -704,6 +708,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -873,6 +878,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -881,6 +887,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1054,10 +1061,12 @@ func awsRestjson1_deserializeOpDocumentListProductSubscriptionsOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } + case "ProductUserSummaries": if err := awsRestjson1_deserializeDocumentProductUserSummaryList(&sv.ProductUserSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1227,6 +1236,7 @@ func awsRestjson1_deserializeOpDocumentListUserAssociationsOutput(v **ListUserAs if err := awsRestjson1_deserializeDocumentInstanceUserSummaryList(&sv.InstanceUserSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1235,6 +1245,7 @@ func awsRestjson1_deserializeOpDocumentListUserAssociationsOutput(v **ListUserAs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1404,6 +1415,7 @@ func awsRestjson1_deserializeOpDocumentRegisterIdentityProviderOutput(v **Regist if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1573,6 +1585,7 @@ func awsRestjson1_deserializeOpDocumentStartProductSubscriptionOutput(v **StartP if err := awsRestjson1_deserializeDocumentProductUserSummary(&sv.ProductUserSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1742,6 +1755,7 @@ func awsRestjson1_deserializeOpDocumentStopProductSubscriptionOutput(v **StopPro if err := awsRestjson1_deserializeDocumentProductUserSummary(&sv.ProductUserSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1902,6 +1916,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityProviderSettingsOutput(v ** if err := awsRestjson1_deserializeDocumentIdentityProviderSummary(&sv.IdentityProviderSummary, value); err != nil { return err } + default: _, _ = key, value @@ -2193,6 +2208,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2232,6 +2248,7 @@ func awsRestjson1_deserializeDocumentActiveDirectoryIdentityProvider(v **types.A } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -2271,6 +2288,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2350,10 +2368,12 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.FailureMessage = ptr.String(jtv) } + case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } + case "Product": if value != nil { jtv, ok := value.(string) @@ -2362,10 +2382,12 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.Product = ptr.String(jtv) } + case "Settings": if err := awsRestjson1_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2374,6 +2396,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2447,6 +2470,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.InstanceId = ptr.String(jtv) } + case "LastStatusCheckDate": if value != nil { jtv, ok := value.(string) @@ -2455,10 +2479,12 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.LastStatusCheckDate = ptr.String(jtv) } + case "Products": if err := awsRestjson1_deserializeDocumentStringList(&sv.Products, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2467,6 +2493,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2475,6 +2502,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -2548,6 +2576,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.AssociationDate = ptr.String(jtv) } + case "DisassociationDate": if value != nil { jtv, ok := value.(string) @@ -2556,6 +2585,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.DisassociationDate = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -2564,10 +2594,12 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Domain = ptr.String(jtv) } + case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -2576,6 +2608,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.InstanceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2584,6 +2617,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2592,6 +2626,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.StatusMessage = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -2600,6 +2635,7 @@ func awsRestjson1_deserializeDocumentInstanceUserSummary(v **types.InstanceUserS } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -2673,6 +2709,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2712,10 +2749,12 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Domain = ptr.String(jtv) } + case "IdentityProvider": if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } + case "Product": if value != nil { jtv, ok := value.(string) @@ -2724,6 +2763,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Product = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2732,6 +2772,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2740,6 +2781,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.StatusMessage = ptr.String(jtv) } + case "SubscriptionEndDate": if value != nil { jtv, ok := value.(string) @@ -2748,6 +2790,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.SubscriptionEndDate = ptr.String(jtv) } + case "SubscriptionStartDate": if value != nil { jtv, ok := value.(string) @@ -2756,6 +2799,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.SubscriptionStartDate = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -2764,6 +2808,7 @@ func awsRestjson1_deserializeDocumentProductUserSummary(v **types.ProductUserSum } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -2837,6 +2882,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2876,6 +2922,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2915,10 +2962,12 @@ func awsRestjson1_deserializeDocumentSettings(v **types.Settings, value interfac } sv.SecurityGroupId = ptr.String(jtv) } + case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -3030,6 +3079,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3069,6 +3119,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index 1d7a043fa33..7b3c4eebca1 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -20783,6 +20783,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -20791,6 +20792,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -20799,6 +20801,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -20807,6 +20810,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -20846,6 +20850,7 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.AccessKeyId = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -20861,10 +20866,12 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } } + case "lastUsed": if err := awsAwsjson11_deserializeDocumentAccessKeyLastUsed(&sv.LastUsed, value); err != nil { return err } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -20873,6 +20880,7 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.SecretAccessKey = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20881,6 +20889,7 @@ func awsAwsjson11_deserializeDocumentAccessKey(v **types.AccessKey, value interf } sv.Status = types.StatusType(jtv) } + default: _, _ = key, value @@ -20927,6 +20936,7 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } } + case "region": if value != nil { jtv, ok := value.(string) @@ -20935,6 +20945,7 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } sv.Region = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -20943,6 +20954,7 @@ func awsAwsjson11_deserializeDocumentAccessKeyLastUsed(v **types.AccessKeyLastUs } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -21050,6 +21062,7 @@ func awsAwsjson11_deserializeDocumentAccessRules(v **types.AccessRules, value in } sv.AllowPublicOverrides = ptr.Bool(jtv) } + case "getObject": if value != nil { jtv, ok := value.(string) @@ -21058,6 +21071,7 @@ func awsAwsjson11_deserializeDocumentAccessRules(v **types.AccessRules, value in } sv.GetObject = types.AccessType(jtv) } + default: _, _ = key, value @@ -21097,6 +21111,7 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.BpaImpactsLightsail = ptr.Bool(jtv) } + case "lastSyncedAt": if value != nil { switch jtv := value.(type) { @@ -21112,6 +21127,7 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } } + case "message": if value != nil { jtv, ok := value.(string) @@ -21120,6 +21136,7 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.Message = types.BPAStatusMessage(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -21128,6 +21145,7 @@ func awsAwsjson11_deserializeDocumentAccountLevelBpaSync(v **types.AccountLevelB } sv.Status = types.AccountLevelBpaSyncStatus(jtv) } + default: _, _ = key, value @@ -21167,6 +21185,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -21175,6 +21194,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -21183,6 +21203,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -21191,6 +21212,7 @@ func awsAwsjson11_deserializeDocumentAccountSetupInProgressException(v **types.A } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -21230,6 +21252,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Duration = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21238,6 +21261,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Name = ptr.String(jtv) } + case "nextSnapshotTimeOfDay": if value != nil { jtv, ok := value.(string) @@ -21246,6 +21270,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.NextSnapshotTimeOfDay = ptr.String(jtv) } + case "snapshotTimeOfDay": if value != nil { jtv, ok := value.(string) @@ -21254,6 +21279,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.SnapshotTimeOfDay = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -21262,6 +21288,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Status = ptr.String(jtv) } + case "threshold": if value != nil { jtv, ok := value.(string) @@ -21270,6 +21297,7 @@ func awsAwsjson11_deserializeDocumentAddOn(v **types.AddOn, value interface{}) e } sv.Threshold = ptr.String(jtv) } + default: _, _ = key, value @@ -21343,6 +21371,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -21351,10 +21380,12 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "contactProtocols": if err := awsAwsjson11_deserializeDocumentContactProtocolsList(&sv.ContactProtocols, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -21370,6 +21401,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } + case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -21382,6 +21414,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -21394,10 +21427,12 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -21406,10 +21441,12 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.MetricName = types.MetricName(jtv) } + case "monitoredResourceInfo": if err := awsAwsjson11_deserializeDocumentMonitoredResourceInfo(&sv.MonitoredResourceInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -21418,6 +21455,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } + case "notificationEnabled": if value != nil { jtv, ok := value.(bool) @@ -21426,10 +21464,12 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.NotificationEnabled = ptr.Bool(jtv) } + case "notificationTriggers": if err := awsAwsjson11_deserializeDocumentNotificationTriggerList(&sv.NotificationTriggers, value); err != nil { return err } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -21442,6 +21482,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Period = ptr.Int32(int32(i64)) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -21450,6 +21491,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.ResourceType = types.ResourceType(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -21458,6 +21500,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.State = types.AlarmState(jtv) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -21466,6 +21509,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Statistic = types.MetricStatistic(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -21474,6 +21518,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.SupportCode = ptr.String(jtv) } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -21507,6 +21552,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } } + case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -21515,6 +21561,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.TreatMissingData = types.TreatMissingData(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -21523,6 +21570,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Unit = types.MetricUnit(jtv) } + default: _, _ = key, value @@ -21632,6 +21680,7 @@ func awsAwsjson11_deserializeDocumentAttachedDisk(v **types.AttachedDisk, value } sv.Path = ptr.String(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -21644,6 +21693,7 @@ func awsAwsjson11_deserializeDocumentAttachedDisk(v **types.AttachedDisk, value } sv.SizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21724,6 +21774,7 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } } + case "date": if value != nil { jtv, ok := value.(string) @@ -21732,10 +21783,12 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } sv.Date = ptr.String(jtv) } + case "fromAttachedDisks": if err := awsAwsjson11_deserializeDocumentAttachedDiskList(&sv.FromAttachedDisks, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -21744,6 +21797,7 @@ func awsAwsjson11_deserializeDocumentAutoSnapshotDetails(v **types.AutoSnapshotD } sv.Status = types.AutoSnapshotStatus(jtv) } + default: _, _ = key, value @@ -21817,6 +21871,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.State = ptr.String(jtv) } + case "zoneName": if value != nil { jtv, ok := value.(string) @@ -21825,6 +21880,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.ZoneName = ptr.String(jtv) } + default: _, _ = key, value @@ -21898,6 +21954,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.AppCategory = types.AppCategory(jtv) } + case "blueprintId": if value != nil { jtv, ok := value.(string) @@ -21906,6 +21963,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.BlueprintId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -21914,6 +21972,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Description = ptr.String(jtv) } + case "group": if value != nil { jtv, ok := value.(string) @@ -21922,6 +21981,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Group = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -21930,6 +21990,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.IsActive = ptr.Bool(jtv) } + case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -21938,6 +21999,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.LicenseUrl = ptr.String(jtv) } + case "minPower": if value != nil { jtv, ok := value.(json.Number) @@ -21950,6 +22012,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.MinPower = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -21958,6 +22021,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Name = ptr.String(jtv) } + case "platform": if value != nil { jtv, ok := value.(string) @@ -21966,6 +22030,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Platform = types.InstancePlatform(jtv) } + case "productUrl": if value != nil { jtv, ok := value.(string) @@ -21974,6 +22039,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.ProductUrl = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -21982,6 +22048,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Type = types.BlueprintType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -21990,6 +22057,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.Version = ptr.String(jtv) } + case "versionCode": if value != nil { jtv, ok := value.(string) @@ -21998,6 +22066,7 @@ func awsAwsjson11_deserializeDocumentBlueprint(v **types.Blueprint, value interf } sv.VersionCode = ptr.String(jtv) } + default: _, _ = key, value @@ -22071,14 +22140,17 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.AbleToUpdateBundle = ptr.Bool(jtv) } + case "accessLogConfig": if err := awsAwsjson11_deserializeDocumentBucketAccessLogConfig(&sv.AccessLogConfig, value); err != nil { return err } + case "accessRules": if err := awsAwsjson11_deserializeDocumentAccessRules(&sv.AccessRules, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -22087,6 +22159,7 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Arn = ptr.String(jtv) } + case "bundleId": if value != nil { jtv, ok := value.(string) @@ -22095,6 +22168,7 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.BundleId = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -22110,10 +22184,12 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -22122,6 +22198,7 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Name = ptr.String(jtv) } + case "objectVersioning": if value != nil { jtv, ok := value.(string) @@ -22130,14 +22207,17 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.ObjectVersioning = ptr.String(jtv) } + case "readonlyAccessAccounts": if err := awsAwsjson11_deserializeDocumentPartnerIdList(&sv.ReadonlyAccessAccounts, value); err != nil { return err } + case "resourcesReceivingAccess": if err := awsAwsjson11_deserializeDocumentAccessReceiverList(&sv.ResourcesReceivingAccess, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -22146,10 +22226,12 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.ResourceType = ptr.String(jtv) } + case "state": if err := awsAwsjson11_deserializeDocumentBucketState(&sv.State, value); err != nil { return err } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -22158,10 +22240,12 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -22170,6 +22254,7 @@ func awsAwsjson11_deserializeDocumentBucket(v **types.Bucket, value interface{}) } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -22209,6 +22294,7 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Destination = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -22217,6 +22303,7 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Enabled = ptr.Bool(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -22225,6 +22312,7 @@ func awsAwsjson11_deserializeDocumentBucketAccessLogConfig(v **types.BucketAcces } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -22264,6 +22352,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.BundleId = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -22272,6 +22361,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.IsActive = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22280,6 +22370,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.Name = ptr.String(jtv) } + case "price": if value != nil { switch jtv := value.(type) { @@ -22313,6 +22404,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } } + case "storagePerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22325,6 +22417,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.StoragePerMonthInGb = ptr.Int32(int32(i64)) } + case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22337,6 +22430,7 @@ func awsAwsjson11_deserializeDocumentBucketBundle(v **types.BucketBundle, value } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22444,6 +22538,7 @@ func awsAwsjson11_deserializeDocumentBucketState(v **types.BucketState, value in } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -22452,6 +22547,7 @@ func awsAwsjson11_deserializeDocumentBucketState(v **types.BucketState, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22491,6 +22587,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.BundleId = ptr.String(jtv) } + case "cpuCount": if value != nil { jtv, ok := value.(json.Number) @@ -22503,6 +22600,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.CpuCount = ptr.Int32(int32(i64)) } + case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22515,6 +22613,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -22523,6 +22622,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.InstanceType = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -22531,6 +22631,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.IsActive = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22539,6 +22640,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.Name = ptr.String(jtv) } + case "power": if value != nil { jtv, ok := value.(json.Number) @@ -22551,6 +22653,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.Power = ptr.Int32(int32(i64)) } + case "price": if value != nil { switch jtv := value.(type) { @@ -22584,6 +22687,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } } + case "publicIpv4AddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -22596,6 +22700,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.PublicIpv4AddressCount = ptr.Int32(int32(i64)) } + case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -22629,14 +22734,17 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } } + case "supportedAppCategories": if err := awsAwsjson11_deserializeDocumentAppCategoryList(&sv.SupportedAppCategories, value); err != nil { return err } + case "supportedPlatforms": if err := awsAwsjson11_deserializeDocumentInstancePlatformList(&sv.SupportedPlatforms, value); err != nil { return err } + case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -22649,6 +22757,7 @@ func awsAwsjson11_deserializeDocumentBundle(v **types.Bundle, value interface{}) } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22722,6 +22831,7 @@ func awsAwsjson11_deserializeDocumentCacheBehavior(v **types.CacheBehavior, valu } sv.Behavior = types.BehaviorEnum(jtv) } + default: _, _ = key, value @@ -22795,6 +22905,7 @@ func awsAwsjson11_deserializeDocumentCacheBehaviorPerPath(v **types.CacheBehavio } sv.Behavior = types.BehaviorEnum(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -22803,6 +22914,7 @@ func awsAwsjson11_deserializeDocumentCacheBehaviorPerPath(v **types.CacheBehavio } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -22842,6 +22954,7 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.AllowedHTTPMethods = ptr.String(jtv) } + case "cachedHTTPMethods": if value != nil { jtv, ok := value.(string) @@ -22850,6 +22963,7 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.CachedHTTPMethods = ptr.String(jtv) } + case "defaultTTL": if value != nil { jtv, ok := value.(json.Number) @@ -22862,18 +22976,22 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.DefaultTTL = ptr.Int64(i64) } + case "forwardedCookies": if err := awsAwsjson11_deserializeDocumentCookieObject(&sv.ForwardedCookies, value); err != nil { return err } + case "forwardedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderObject(&sv.ForwardedHeaders, value); err != nil { return err } + case "forwardedQueryStrings": if err := awsAwsjson11_deserializeDocumentQueryStringObject(&sv.ForwardedQueryStrings, value); err != nil { return err } + case "maximumTTL": if value != nil { jtv, ok := value.(json.Number) @@ -22886,6 +23004,7 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.MaximumTTL = ptr.Int64(i64) } + case "minimumTTL": if value != nil { jtv, ok := value.(json.Number) @@ -22898,6 +23017,7 @@ func awsAwsjson11_deserializeDocumentCacheSettings(v **types.CacheSettings, valu } sv.MinimumTTL = ptr.Int64(i64) } + default: _, _ = key, value @@ -22937,6 +23057,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -22952,6 +23073,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -22960,10 +23082,12 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.DomainName = ptr.String(jtv) } + case "domainValidationRecords": if err := awsAwsjson11_deserializeDocumentDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } + case "eligibleToRenew": if value != nil { jtv, ok := value.(string) @@ -22972,6 +23096,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.EligibleToRenew = ptr.String(jtv) } + case "inUseResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22984,6 +23109,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.InUseResourceCount = int32(i64) } + case "issuedAt": if value != nil { switch jtv := value.(type) { @@ -22999,6 +23125,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "issuerCA": if value != nil { jtv, ok := value.(string) @@ -23007,6 +23134,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.IssuerCA = ptr.String(jtv) } + case "keyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -23015,6 +23143,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.KeyAlgorithm = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23023,6 +23152,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Name = ptr.String(jtv) } + case "notAfter": if value != nil { switch jtv := value.(type) { @@ -23038,6 +23168,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "notBefore": if value != nil { switch jtv := value.(type) { @@ -23053,10 +23184,12 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "renewalSummary": if err := awsAwsjson11_deserializeDocumentRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } + case "requestFailureReason": if value != nil { jtv, ok := value.(string) @@ -23065,6 +23198,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.RequestFailureReason = ptr.String(jtv) } + case "revocationReason": if value != nil { jtv, ok := value.(string) @@ -23073,6 +23207,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.RevocationReason = ptr.String(jtv) } + case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -23088,6 +23223,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -23096,6 +23232,7 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SerialNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -23104,10 +23241,12 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Status = types.CertificateStatus(jtv) } + case "subjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentSubjectAlternativeNameList(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -23116,10 +23255,12 @@ func awsAwsjson11_deserializeDocumentCertificate(v **types.Certificate, value in } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -23159,10 +23300,12 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateArn = ptr.String(jtv) } + case "certificateDetail": if err := awsAwsjson11_deserializeDocumentCertificate(&sv.CertificateDetail, value); err != nil { return err } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -23171,6 +23314,7 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.CertificateName = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -23179,10 +23323,12 @@ func awsAwsjson11_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.DomainName = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -23256,6 +23402,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23271,14 +23418,17 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } } + case "destinationInfo": if err := awsAwsjson11_deserializeDocumentDestinationInfo(&sv.DestinationInfo, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -23287,6 +23437,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23295,10 +23446,12 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.ResourceType = types.ResourceType(jtv) } + case "sourceInfo": if err := awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfoList(&sv.SourceInfo, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -23307,6 +23460,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecord(v **types.CloudFo } sv.State = types.RecordState(jtv) } + default: _, _ = key, value @@ -23380,6 +23534,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -23388,6 +23543,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23396,6 +23552,7 @@ func awsAwsjson11_deserializeDocumentCloudFormationStackRecordSourceInfo(v **typ } sv.ResourceType = types.CloudFormationStackRecordSourceType(jtv) } + default: _, _ = key, value @@ -23469,6 +23626,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Arn = ptr.String(jtv) } + case "contactEndpoint": if value != nil { jtv, ok := value.(string) @@ -23477,6 +23635,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.ContactEndpoint = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23492,10 +23651,12 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -23504,6 +23665,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Name = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -23512,6 +23674,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Protocol = types.ContactProtocol(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23520,6 +23683,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -23528,6 +23692,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.Status = types.ContactMethodStatus(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -23536,6 +23701,7 @@ func awsAwsjson11_deserializeDocumentContactMethod(v **types.ContactMethod, valu } sv.SupportCode = ptr.String(jtv) } + default: _, _ = key, value @@ -23641,10 +23807,12 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf if err := awsAwsjson11_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "environment": if err := awsAwsjson11_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "image": if value != nil { jtv, ok := value.(string) @@ -23653,10 +23821,12 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Image = ptr.String(jtv) } + case "ports": if err := awsAwsjson11_deserializeDocumentPortMap(&sv.Ports, value); err != nil { return err } + default: _, _ = key, value @@ -23703,6 +23873,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } } + case "digest": if value != nil { jtv, ok := value.(string) @@ -23711,6 +23882,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Digest = ptr.String(jtv) } + case "image": if value != nil { jtv, ok := value.(string) @@ -23719,6 +23891,7 @@ func awsAwsjson11_deserializeDocumentContainerImage(v **types.ContainerImage, va } sv.Image = ptr.String(jtv) } + default: _, _ = key, value @@ -23827,6 +24000,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Arn = ptr.String(jtv) } + case "containerServiceName": if value != nil { jtv, ok := value.(string) @@ -23835,6 +24009,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.ContainerServiceName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -23850,10 +24025,12 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } } + case "currentDeployment": if err := awsAwsjson11_deserializeDocumentContainerServiceDeployment(&sv.CurrentDeployment, value); err != nil { return err } + case "isDisabled": if value != nil { jtv, ok := value.(bool) @@ -23862,14 +24039,17 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.IsDisabled = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "nextDeployment": if err := awsAwsjson11_deserializeDocumentContainerServiceDeployment(&sv.NextDeployment, value); err != nil { return err } + case "power": if value != nil { jtv, ok := value.(string) @@ -23878,6 +24058,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Power = types.ContainerServicePowerName(jtv) } + case "powerId": if value != nil { jtv, ok := value.(string) @@ -23886,6 +24067,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PowerId = ptr.String(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -23894,6 +24076,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PrincipalArn = ptr.String(jtv) } + case "privateDomainName": if value != nil { jtv, ok := value.(string) @@ -23902,14 +24085,17 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.PrivateDomainName = ptr.String(jtv) } + case "privateRegistryAccess": if err := awsAwsjson11_deserializeDocumentPrivateRegistryAccess(&sv.PrivateRegistryAccess, value); err != nil { return err } + case "publicDomainNames": if err := awsAwsjson11_deserializeDocumentContainerServicePublicDomains(&sv.PublicDomainNames, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -23918,6 +24104,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.ResourceType = types.ResourceType(jtv) } + case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -23930,6 +24117,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Scale = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -23938,14 +24126,17 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.State = types.ContainerServiceState(jtv) } + case "stateDetail": if err := awsAwsjson11_deserializeDocumentContainerServiceStateDetail(&sv.StateDetail, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -23954,6 +24145,7 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -23989,6 +24181,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai if err := awsAwsjson11_deserializeDocumentContainerMap(&sv.Containers, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -24004,10 +24197,12 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } } + case "publicEndpoint": if err := awsAwsjson11_deserializeDocumentContainerServiceEndpoint(&sv.PublicEndpoint, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -24016,6 +24211,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } sv.State = types.ContainerServiceDeploymentState(jtv) } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -24028,6 +24224,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeployment(v **types.Contai } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24101,6 +24298,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(v **type } sv.IsActive = ptr.Bool(jtv) } + case "principalArn": if value != nil { jtv, ok := value.(string) @@ -24109,6 +24307,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(v **type } sv.PrincipalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -24148,6 +24347,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceEndpoint(v **types.Containe } sv.ContainerName = ptr.String(jtv) } + case "containerPort": if value != nil { jtv, ok := value.(json.Number) @@ -24160,10 +24360,12 @@ func awsAwsjson11_deserializeDocumentContainerServiceEndpoint(v **types.Containe } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "healthCheck": if err := awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(&sv.HealthCheck, value); err != nil { return err } + default: _, _ = key, value @@ -24207,6 +24409,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.HealthyThreshold = ptr.Int32(int32(i64)) } + case "intervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24219,6 +24422,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.IntervalSeconds = ptr.Int32(int32(i64)) } + case "path": if value != nil { jtv, ok := value.(string) @@ -24227,6 +24431,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.Path = ptr.String(jtv) } + case "successCodes": if value != nil { jtv, ok := value.(string) @@ -24235,6 +24440,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.SuccessCodes = ptr.String(jtv) } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24247,6 +24453,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + case "unhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -24259,6 +24466,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceHealthCheckConfig(v **types } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24339,6 +24547,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceLogEvent(v **types.Containe } } + case "message": if value != nil { jtv, ok := value.(string) @@ -24347,6 +24556,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceLogEvent(v **types.Containe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24513,6 +24723,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -24521,6 +24732,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.IsActive = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -24529,6 +24741,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.Name = ptr.String(jtv) } + case "powerId": if value != nil { jtv, ok := value.(string) @@ -24537,6 +24750,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } sv.PowerId = ptr.String(jtv) } + case "price": if value != nil { switch jtv := value.(type) { @@ -24570,6 +24784,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } + case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -24603,6 +24818,7 @@ func awsAwsjson11_deserializeDocumentContainerServicePower(v **types.ContainerSe } } + default: _, _ = key, value @@ -24753,6 +24969,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } } + case "password": if value != nil { jtv, ok := value.(string) @@ -24761,6 +24978,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Password = ptr.String(jtv) } + case "registry": if value != nil { jtv, ok := value.(string) @@ -24769,6 +24987,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Registry = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -24777,6 +24996,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(v **types.Con } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -24816,6 +25036,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceStateDetail(v **types.Conta } sv.Code = types.ContainerServiceStateDetailCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -24824,6 +25045,7 @@ func awsAwsjson11_deserializeDocumentContainerServiceStateDetail(v **types.Conta } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24859,6 +25081,7 @@ func awsAwsjson11_deserializeDocumentCookieObject(v **types.CookieObject, value if err := awsAwsjson11_deserializeDocumentStringList(&sv.CookiesAllowList, value); err != nil { return err } + case "option": if value != nil { jtv, ok := value.(string) @@ -24867,6 +25090,7 @@ func awsAwsjson11_deserializeDocumentCookieObject(v **types.CookieObject, value } sv.Option = types.ForwardValues(jtv) } + default: _, _ = key, value @@ -24902,6 +25126,7 @@ func awsAwsjson11_deserializeDocumentCostEstimate(v **types.CostEstimate, value if err := awsAwsjson11_deserializeDocumentEstimatesByTime(&sv.ResultsByTime, value); err != nil { return err } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -24910,6 +25135,7 @@ func awsAwsjson11_deserializeDocumentCostEstimate(v **types.CostEstimate, value } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -24983,6 +25209,7 @@ func awsAwsjson11_deserializeDocumentDestinationInfo(v **types.DestinationInfo, } sv.Id = ptr.String(jtv) } + case "service": if value != nil { jtv, ok := value.(string) @@ -24991,6 +25218,7 @@ func awsAwsjson11_deserializeDocumentDestinationInfo(v **types.DestinationInfo, } sv.Service = ptr.String(jtv) } + default: _, _ = key, value @@ -25026,6 +25254,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err if err := awsAwsjson11_deserializeDocumentAddOnList(&sv.AddOns, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -25034,6 +25263,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "attachedTo": if value != nil { jtv, ok := value.(string) @@ -25042,6 +25272,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AttachedTo = ptr.String(jtv) } + case "attachmentState": if value != nil { jtv, ok := value.(string) @@ -25050,6 +25281,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AttachmentState = ptr.String(jtv) } + case "autoMountStatus": if value != nil { jtv, ok := value.(string) @@ -25058,6 +25290,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.AutoMountStatus = types.AutoMountStatus(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25073,6 +25306,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } } + case "gbInUse": if value != nil { jtv, ok := value.(json.Number) @@ -25085,6 +25319,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.GbInUse = ptr.Int32(int32(i64)) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -25097,6 +25332,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Iops = ptr.Int32(int32(i64)) } + case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -25105,6 +25341,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.IsAttached = ptr.Bool(jtv) } + case "isSystemDisk": if value != nil { jtv, ok := value.(bool) @@ -25113,10 +25350,12 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.IsSystemDisk = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -25125,6 +25364,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -25133,6 +25373,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Path = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -25141,6 +25382,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.ResourceType = types.ResourceType(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25153,6 +25395,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.SizeInGb = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -25161,6 +25404,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.State = types.DiskState(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -25169,10 +25413,12 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -25212,6 +25458,7 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.IsSystemDisk = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25220,6 +25467,7 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -25228,6 +25476,7 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.Path = ptr.String(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25240,6 +25489,7 @@ func awsAwsjson11_deserializeDocumentDiskInfo(v **types.DiskInfo, value interfac } sv.SizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25347,6 +25597,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25362,6 +25613,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } } + case "fromDiskArn": if value != nil { jtv, ok := value.(string) @@ -25370,6 +25622,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromDiskArn = ptr.String(jtv) } + case "fromDiskName": if value != nil { jtv, ok := value.(string) @@ -25378,6 +25631,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromDiskName = ptr.String(jtv) } + case "fromInstanceArn": if value != nil { jtv, ok := value.(string) @@ -25386,6 +25640,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromInstanceArn = ptr.String(jtv) } + case "fromInstanceName": if value != nil { jtv, ok := value.(string) @@ -25394,6 +25649,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.FromInstanceName = ptr.String(jtv) } + case "isFromAutoSnapshot": if value != nil { jtv, ok := value.(bool) @@ -25402,10 +25658,12 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.IsFromAutoSnapshot = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -25414,6 +25672,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Name = ptr.String(jtv) } + case "progress": if value != nil { jtv, ok := value.(string) @@ -25422,6 +25681,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.Progress = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -25430,6 +25690,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.ResourceType = types.ResourceType(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25442,6 +25703,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.SizeInGb = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -25450,6 +25712,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.State = types.DiskSnapshotState(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -25458,10 +25721,12 @@ func awsAwsjson11_deserializeDocumentDiskSnapshot(v **types.DiskSnapshot, value } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -25505,6 +25770,7 @@ func awsAwsjson11_deserializeDocumentDiskSnapshotInfo(v **types.DiskSnapshotInfo } sv.SizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25578,6 +25844,7 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.BundleId = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -25586,6 +25853,7 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.IsActive = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25594,6 +25862,7 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.Name = ptr.String(jtv) } + case "price": if value != nil { switch jtv := value.(type) { @@ -25627,6 +25896,7 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } } + case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -25639,6 +25909,7 @@ func awsAwsjson11_deserializeDocumentDistributionBundle(v **types.DistributionBu } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25746,6 +26017,7 @@ func awsAwsjson11_deserializeDocumentDnsRecordCreationState(v **types.DnsRecordC } sv.Code = types.DnsRecordCreationStateCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -25754,6 +26026,7 @@ func awsAwsjson11_deserializeDocumentDnsRecordCreationState(v **types.DnsRecordC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25793,6 +26066,7 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -25808,14 +26082,17 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } } + case "domainEntries": if err := awsAwsjson11_deserializeDocumentDomainEntryList(&sv.DomainEntries, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -25824,10 +26101,12 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } + case "registeredDomainDelegationInfo": if err := awsAwsjson11_deserializeDocumentRegisteredDomainDelegationInfo(&sv.RegisteredDomainDelegationInfo, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -25836,6 +26115,7 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -25844,10 +26124,12 @@ func awsAwsjson11_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -25887,6 +26169,7 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Id = ptr.String(jtv) } + case "isAlias": if value != nil { jtv, ok := value.(bool) @@ -25895,6 +26178,7 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.IsAlias = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -25903,10 +26187,12 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Name = ptr.String(jtv) } + case "options": if err := awsAwsjson11_deserializeDocumentDomainEntryOptions(&sv.Options, value); err != nil { return err } + case "target": if value != nil { jtv, ok := value.(string) @@ -25915,6 +26201,7 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Target = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -25923,6 +26210,7 @@ func awsAwsjson11_deserializeDocumentDomainEntry(v **types.DomainEntry, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -26062,6 +26350,7 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali if err := awsAwsjson11_deserializeDocumentDnsRecordCreationState(&sv.DnsRecordCreationState, value); err != nil { return err } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -26070,10 +26359,12 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali } sv.DomainName = ptr.String(jtv) } + case "resourceRecord": if err := awsAwsjson11_deserializeDocumentResourceRecord(&sv.ResourceRecord, value); err != nil { return err } + case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -26082,6 +26373,7 @@ func awsAwsjson11_deserializeDocumentDomainValidationRecord(v **types.DomainVali } sv.ValidationStatus = types.CertificateDomainValidationStatus(jtv) } + default: _, _ = key, value @@ -26191,6 +26483,7 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } sv.Currency = types.Currency(jtv) } + case "pricingUnit": if value != nil { jtv, ok := value.(string) @@ -26199,10 +26492,12 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } sv.PricingUnit = types.PricingUnit(jtv) } + case "timePeriod": if err := awsAwsjson11_deserializeDocumentTimePeriod(&sv.TimePeriod, value); err != nil { return err } + case "unit": if value != nil { switch jtv := value.(type) { @@ -26236,6 +26531,7 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } } + case "usageCost": if value != nil { switch jtv := value.(type) { @@ -26269,6 +26565,7 @@ func awsAwsjson11_deserializeDocumentEstimateByTime(v **types.EstimateByTime, va } } + default: _, _ = key, value @@ -26342,6 +26639,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26357,14 +26655,17 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } } + case "destinationInfo": if err := awsAwsjson11_deserializeDocumentDestinationInfo(&sv.DestinationInfo, value); err != nil { return err } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -26373,6 +26674,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26381,10 +26683,12 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.ResourceType = types.ResourceType(jtv) } + case "sourceInfo": if err := awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(&sv.SourceInfo, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -26393,6 +26697,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecord(v **types.ExportSnapsh } sv.State = types.RecordState(jtv) } + default: _, _ = key, value @@ -26466,6 +26771,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26481,10 +26787,12 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } } + case "diskSnapshotInfo": if err := awsAwsjson11_deserializeDocumentDiskSnapshotInfo(&sv.DiskSnapshotInfo, value); err != nil { return err } + case "fromResourceArn": if value != nil { jtv, ok := value.(string) @@ -26493,6 +26801,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.FromResourceArn = ptr.String(jtv) } + case "fromResourceName": if value != nil { jtv, ok := value.(string) @@ -26501,10 +26810,12 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.FromResourceName = ptr.String(jtv) } + case "instanceSnapshotInfo": if err := awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(&sv.InstanceSnapshotInfo, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -26513,6 +26824,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26521,6 +26833,7 @@ func awsAwsjson11_deserializeDocumentExportSnapshotRecordSourceInfo(v **types.Ex } sv.ResourceType = types.ExportSnapshotRecordSourceType(jtv) } + default: _, _ = key, value @@ -26592,6 +26905,7 @@ func awsAwsjson11_deserializeDocumentHeaderObject(v **types.HeaderObject, value if err := awsAwsjson11_deserializeDocumentHeaderForwardList(&sv.HeadersAllowList, value); err != nil { return err } + case "option": if value != nil { jtv, ok := value.(string) @@ -26600,6 +26914,7 @@ func awsAwsjson11_deserializeDocumentHeaderObject(v **types.HeaderObject, value } sv.Option = types.ForwardValues(jtv) } + default: _, _ = key, value @@ -26639,6 +26954,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.Algorithm = ptr.String(jtv) } + case "fingerprintSHA1": if value != nil { jtv, ok := value.(string) @@ -26647,6 +26963,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.FingerprintSHA1 = ptr.String(jtv) } + case "fingerprintSHA256": if value != nil { jtv, ok := value.(string) @@ -26655,6 +26972,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.FingerprintSHA256 = ptr.String(jtv) } + case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -26670,6 +26988,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } + case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -26685,6 +27004,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } + case "publicKey": if value != nil { jtv, ok := value.(string) @@ -26693,6 +27013,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } sv.PublicKey = ptr.String(jtv) } + case "witnessedAt": if value != nil { switch jtv := value.(type) { @@ -26708,6 +27029,7 @@ func awsAwsjson11_deserializeDocumentHostKeyAttributes(v **types.HostKeyAttribut } } + default: _, _ = key, value @@ -26777,6 +27099,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentAddOnList(&sv.AddOns, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -26785,6 +27108,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } + case "blueprintId": if value != nil { jtv, ok := value.(string) @@ -26793,6 +27117,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BlueprintId = ptr.String(jtv) } + case "blueprintName": if value != nil { jtv, ok := value.(string) @@ -26801,6 +27126,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BlueprintName = ptr.String(jtv) } + case "bundleId": if value != nil { jtv, ok := value.(string) @@ -26809,6 +27135,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.BundleId = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -26824,10 +27151,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "hardware": if err := awsAwsjson11_deserializeDocumentInstanceHardware(&sv.Hardware, value); err != nil { return err } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -26836,10 +27165,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IpAddressType = types.IpAddressType(jtv) } + case "ipv6Addresses": if err := awsAwsjson11_deserializeDocumentIpv6AddressList(&sv.Ipv6Addresses, value); err != nil { return err } + case "isStaticIp": if value != nil { jtv, ok := value.(bool) @@ -26848,14 +27179,17 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.IsStaticIp = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "metadataOptions": if err := awsAwsjson11_deserializeDocumentInstanceMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -26864,10 +27198,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Name = ptr.String(jtv) } + case "networking": if err := awsAwsjson11_deserializeDocumentInstanceNetworking(&sv.Networking, value); err != nil { return err } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -26876,6 +27212,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } + case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -26884,6 +27221,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -26892,6 +27230,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ResourceType = types.ResourceType(jtv) } + case "sshKeyName": if value != nil { jtv, ok := value.(string) @@ -26900,10 +27239,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshKeyName = ptr.String(jtv) } + case "state": if err := awsAwsjson11_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -26912,10 +27253,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "username": if value != nil { jtv, ok := value.(string) @@ -26924,6 +27267,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -26963,6 +27307,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.CertKey = ptr.String(jtv) } + case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -26978,10 +27323,12 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } } + case "hostKeys": if err := awsAwsjson11_deserializeDocumentHostKeysList(&sv.HostKeys, value); err != nil { return err } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -26990,6 +27337,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.InstanceName = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -26998,10 +27346,12 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.IpAddress = ptr.String(jtv) } + case "ipv6Addresses": if err := awsAwsjson11_deserializeDocumentIpv6AddressList(&sv.Ipv6Addresses, value); err != nil { return err } + case "password": if value != nil { jtv, ok := value.(string) @@ -27010,10 +27360,12 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Password = ptr.String(jtv) } + case "passwordData": if err := awsAwsjson11_deserializeDocumentPasswordData(&sv.PasswordData, value); err != nil { return err } + case "privateKey": if value != nil { jtv, ok := value.(string) @@ -27022,6 +27374,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.PrivateKey = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -27030,6 +27383,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Protocol = types.InstanceAccessProtocol(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -27038,6 +27392,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessDetails(v **types.InstanceAcc } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -27081,10 +27436,12 @@ func awsAwsjson11_deserializeDocumentInstanceHardware(v **types.InstanceHardware } sv.CpuCount = ptr.Int32(int32(i64)) } + case "disks": if err := awsAwsjson11_deserializeDocumentDiskList(&sv.Disks, value); err != nil { return err } + case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -27118,6 +27475,7 @@ func awsAwsjson11_deserializeDocumentInstanceHardware(v **types.InstanceHardware } } + default: _, _ = key, value @@ -27157,6 +27515,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceHealth = types.InstanceHealthState(jtv) } + case "instanceHealthReason": if value != nil { jtv, ok := value.(string) @@ -27165,6 +27524,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceHealthReason = types.InstanceHealthReason(jtv) } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -27173,6 +27533,7 @@ func awsAwsjson11_deserializeDocumentInstanceHealthSummary(v **types.InstanceHea } sv.InstanceName = ptr.String(jtv) } + default: _, _ = key, value @@ -27280,6 +27641,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpEndpoint = types.HttpEndpoint(jtv) } + case "httpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -27288,6 +27650,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpProtocolIpv6 = types.HttpProtocolIpv6(jtv) } + case "httpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -27300,6 +27663,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } + case "httpTokens": if value != nil { jtv, ok := value.(string) @@ -27308,6 +27672,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.HttpTokens = types.HttpTokens(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -27316,6 +27681,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataOptions(v **types.InstanceM } sv.State = types.InstanceMetadataState(jtv) } + default: _, _ = key, value @@ -27351,10 +27717,12 @@ func awsAwsjson11_deserializeDocumentInstanceNetworking(v **types.InstanceNetwor if err := awsAwsjson11_deserializeDocumentMonthlyTransfer(&sv.MonthlyTransfer, value); err != nil { return err } + case "ports": if err := awsAwsjson11_deserializeDocumentInstancePortInfoList(&sv.Ports, value); err != nil { return err } + default: _, _ = key, value @@ -27430,6 +27798,7 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessDirection = types.AccessDirection(jtv) } + case "accessFrom": if value != nil { jtv, ok := value.(string) @@ -27438,6 +27807,7 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessFrom = ptr.String(jtv) } + case "accessType": if value != nil { jtv, ok := value.(string) @@ -27446,14 +27816,17 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.AccessType = types.PortAccessType(jtv) } + case "cidrListAliases": if err := awsAwsjson11_deserializeDocumentStringList(&sv.CidrListAliases, value); err != nil { return err } + case "cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Cidrs, value); err != nil { return err } + case "commonName": if value != nil { jtv, ok := value.(string) @@ -27462,6 +27835,7 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.CommonName = ptr.String(jtv) } + case "fromPort": if value != nil { jtv, ok := value.(json.Number) @@ -27474,10 +27848,12 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.FromPort = int32(i64) } + case "ipv6Cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ipv6Cidrs, value); err != nil { return err } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -27486,6 +27862,7 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.Protocol = types.NetworkProtocol(jtv) } + case "toPort": if value != nil { jtv, ok := value.(json.Number) @@ -27498,6 +27875,7 @@ func awsAwsjson11_deserializeDocumentInstancePortInfo(v **types.InstancePortInfo } sv.ToPort = int32(i64) } + default: _, _ = key, value @@ -27567,10 +27945,12 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta if err := awsAwsjson11_deserializeDocumentStringList(&sv.CidrListAliases, value); err != nil { return err } + case "cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Cidrs, value); err != nil { return err } + case "fromPort": if value != nil { jtv, ok := value.(json.Number) @@ -27583,10 +27963,12 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.FromPort = int32(i64) } + case "ipv6Cidrs": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ipv6Cidrs, value); err != nil { return err } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -27595,6 +27977,7 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.Protocol = types.NetworkProtocol(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -27603,6 +27986,7 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.State = types.PortState(jtv) } + case "toPort": if value != nil { jtv, ok := value.(json.Number) @@ -27615,6 +27999,7 @@ func awsAwsjson11_deserializeDocumentInstancePortState(v **types.InstancePortSta } sv.ToPort = int32(i64) } + default: _, _ = key, value @@ -27688,6 +28073,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -27703,10 +28089,12 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } } + case "fromAttachedDisks": if err := awsAwsjson11_deserializeDocumentDiskList(&sv.FromAttachedDisks, value); err != nil { return err } + case "fromBlueprintId": if value != nil { jtv, ok := value.(string) @@ -27715,6 +28103,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromBlueprintId = ptr.String(jtv) } + case "fromBundleId": if value != nil { jtv, ok := value.(string) @@ -27723,6 +28112,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromBundleId = ptr.String(jtv) } + case "fromInstanceArn": if value != nil { jtv, ok := value.(string) @@ -27731,6 +28121,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromInstanceArn = ptr.String(jtv) } + case "fromInstanceName": if value != nil { jtv, ok := value.(string) @@ -27739,6 +28130,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.FromInstanceName = ptr.String(jtv) } + case "isFromAutoSnapshot": if value != nil { jtv, ok := value.(bool) @@ -27747,10 +28139,12 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.IsFromAutoSnapshot = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -27759,6 +28153,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Name = ptr.String(jtv) } + case "progress": if value != nil { jtv, ok := value.(string) @@ -27767,6 +28162,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.Progress = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -27775,6 +28171,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.ResourceType = types.ResourceType(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -27787,6 +28184,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.SizeInGb = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -27795,6 +28193,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.State = types.InstanceSnapshotState(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -27803,10 +28202,12 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshot(v **types.InstanceSnapshot } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -27846,6 +28247,7 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(v **types.InstanceSnap } sv.FromBlueprintId = ptr.String(jtv) } + case "fromBundleId": if value != nil { jtv, ok := value.(string) @@ -27854,10 +28256,12 @@ func awsAwsjson11_deserializeDocumentInstanceSnapshotInfo(v **types.InstanceSnap } sv.FromBundleId = ptr.String(jtv) } + case "fromDiskInfo": if err := awsAwsjson11_deserializeDocumentDiskInfoList(&sv.FromDiskInfo, value); err != nil { return err } + default: _, _ = key, value @@ -27935,6 +28339,7 @@ func awsAwsjson11_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Code = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -27943,6 +28348,7 @@ func awsAwsjson11_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -27982,6 +28388,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -27990,6 +28397,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -27998,6 +28406,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -28006,6 +28415,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -28081,6 +28491,7 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28096,6 +28507,7 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } } + case "fingerprint": if value != nil { jtv, ok := value.(string) @@ -28104,10 +28516,12 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Fingerprint = ptr.String(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28116,6 +28530,7 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28124,6 +28539,7 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.ResourceType = types.ResourceType(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28132,10 +28548,12 @@ func awsAwsjson11_deserializeDocumentKeyPair(v **types.KeyPair, value interface{ } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -28209,10 +28627,12 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.AbleToUpdateBundle = ptr.Bool(jtv) } + case "alternativeDomainNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.AlternativeDomainNames, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -28221,6 +28641,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Arn = ptr.String(jtv) } + case "bundleId": if value != nil { jtv, ok := value.(string) @@ -28229,14 +28650,17 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.BundleId = ptr.String(jtv) } + case "cacheBehaviors": if err := awsAwsjson11_deserializeDocumentCacheBehaviorList(&sv.CacheBehaviors, value); err != nil { return err } + case "cacheBehaviorSettings": if err := awsAwsjson11_deserializeDocumentCacheSettings(&sv.CacheBehaviorSettings, value); err != nil { return err } + case "certificateName": if value != nil { jtv, ok := value.(string) @@ -28245,6 +28669,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.CertificateName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28260,10 +28685,12 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } } + case "defaultCacheBehavior": if err := awsAwsjson11_deserializeDocumentCacheBehavior(&sv.DefaultCacheBehavior, value); err != nil { return err } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -28272,6 +28699,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.DomainName = ptr.String(jtv) } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -28280,6 +28708,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.IpAddressType = types.IpAddressType(jtv) } + case "isEnabled": if value != nil { jtv, ok := value.(bool) @@ -28288,10 +28717,12 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.IsEnabled = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28300,10 +28731,12 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Name = ptr.String(jtv) } + case "origin": if err := awsAwsjson11_deserializeDocumentOrigin(&sv.Origin, value); err != nil { return err } + case "originPublicDNS": if value != nil { jtv, ok := value.(string) @@ -28312,6 +28745,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.OriginPublicDNS = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28320,6 +28754,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -28328,6 +28763,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.Status = ptr.String(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28336,10 +28772,12 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "viewerMinimumTlsProtocolVersion": if value != nil { jtv, ok := value.(string) @@ -28348,6 +28786,7 @@ func awsAwsjson11_deserializeDocumentLightsailDistribution(v **types.LightsailDi } sv.ViewerMinimumTlsProtocolVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -28387,10 +28826,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Arn = ptr.String(jtv) } + case "configurationOptions": if err := awsAwsjson11_deserializeDocumentLoadBalancerConfigurationOptions(&sv.ConfigurationOptions, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28406,6 +28847,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } } + case "dnsName": if value != nil { jtv, ok := value.(string) @@ -28414,6 +28856,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.DnsName = ptr.String(jtv) } + case "healthCheckPath": if value != nil { jtv, ok := value.(string) @@ -28422,6 +28865,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.HealthCheckPath = ptr.String(jtv) } + case "httpsRedirectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -28430,10 +28874,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.HttpsRedirectionEnabled = ptr.Bool(jtv) } + case "instanceHealthSummary": if err := awsAwsjson11_deserializeDocumentInstanceHealthSummaryList(&sv.InstanceHealthSummary, value); err != nil { return err } + case "instancePort": if value != nil { jtv, ok := value.(json.Number) @@ -28446,6 +28892,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.InstancePort = ptr.Int32(int32(i64)) } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -28454,10 +28901,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.IpAddressType = types.IpAddressType(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28466,6 +28915,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Name = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -28474,10 +28924,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.Protocol = types.LoadBalancerProtocol(jtv) } + case "publicPorts": if err := awsAwsjson11_deserializeDocumentPortList(&sv.PublicPorts, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28486,6 +28938,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.ResourceType = types.ResourceType(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -28494,6 +28947,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.State = types.LoadBalancerState(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28502,14 +28956,17 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "tlsCertificateSummaries": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummaryList(&sv.TlsCertificateSummaries, value); err != nil { return err } + case "tlsPolicyName": if value != nil { jtv, ok := value.(string) @@ -28518,6 +28975,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancer(v **types.LoadBalancer, value } sv.TlsPolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -28627,6 +29085,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -28642,6 +29101,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -28650,10 +29110,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.DomainName = ptr.String(jtv) } + case "domainValidationRecords": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -28662,6 +29124,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.FailureReason = types.LoadBalancerTlsCertificateFailureReason(jtv) } + case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -28670,6 +29133,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.IsAttached = ptr.Bool(jtv) } + case "issuedAt": if value != nil { switch jtv := value.(type) { @@ -28685,6 +29149,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -28693,6 +29158,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Issuer = ptr.String(jtv) } + case "keyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -28701,6 +29167,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.KeyAlgorithm = ptr.String(jtv) } + case "loadBalancerName": if value != nil { jtv, ok := value.(string) @@ -28709,10 +29176,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.LoadBalancerName = ptr.String(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28721,6 +29190,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Name = ptr.String(jtv) } + case "notAfter": if value != nil { switch jtv := value.(type) { @@ -28736,6 +29206,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } + case "notBefore": if value != nil { switch jtv := value.(type) { @@ -28751,10 +29222,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } + case "renewalSummary": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -28763,6 +29236,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.ResourceType = types.ResourceType(jtv) } + case "revocationReason": if value != nil { jtv, ok := value.(string) @@ -28771,6 +29245,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.RevocationReason = types.LoadBalancerTlsCertificateRevocationReason(jtv) } + case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -28786,6 +29261,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } } + case "serial": if value != nil { jtv, ok := value.(string) @@ -28794,6 +29270,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Serial = ptr.String(jtv) } + case "signatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -28802,6 +29279,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.SignatureAlgorithm = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -28810,6 +29288,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Status = types.LoadBalancerTlsCertificateStatus(jtv) } + case "subject": if value != nil { jtv, ok := value.(string) @@ -28818,10 +29297,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.Subject = ptr.String(jtv) } + case "subjectAlternativeNames": if err := awsAwsjson11_deserializeDocumentStringList(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -28830,10 +29311,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificate(v **types.LoadBa } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -28873,6 +29356,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreation } sv.Code = types.LoadBalancerTlsCertificateDnsRecordCreationStateCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -28881,6 +29365,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreation } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28920,6 +29405,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationO } sv.DomainName = ptr.String(jtv) } + case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -28928,6 +29414,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationO } sv.ValidationStatus = types.LoadBalancerTlsCertificateDomainStatus(jtv) } + default: _, _ = key, value @@ -28997,6 +29484,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDnsRecordCreationState(&sv.DnsRecordCreationState, value); err != nil { return err } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -29005,6 +29493,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.DomainName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29013,6 +29502,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -29021,6 +29511,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Type = ptr.String(jtv) } + case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -29029,6 +29520,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.ValidationStatus = types.LoadBalancerTlsCertificateDomainStatus(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -29037,6 +29529,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationR } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -29140,6 +29633,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(v if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateDomainValidationOptionList(&sv.DomainValidationOptions, value); err != nil { return err } + case "renewalStatus": if value != nil { jtv, ok := value.(string) @@ -29148,6 +29642,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateRenewalSummary(v } sv.RenewalStatus = types.LoadBalancerTlsCertificateRenewalStatus(jtv) } + default: _, _ = key, value @@ -29187,6 +29682,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummary(v **types } sv.IsAttached = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29195,6 +29691,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateSummary(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -29264,6 +29761,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance if err := awsAwsjson11_deserializeDocumentStringList(&sv.Ciphers, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -29272,6 +29770,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.Description = ptr.String(jtv) } + case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -29280,6 +29779,7 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.IsDefault = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29288,10 +29788,12 @@ func awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicy(v **types.LoadBalance } sv.Name = ptr.String(jtv) } + case "protocols": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Protocols, value); err != nil { return err } + default: _, _ = key, value @@ -29372,6 +29874,7 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } } + case "message": if value != nil { jtv, ok := value.(string) @@ -29380,6 +29883,7 @@ func awsAwsjson11_deserializeDocumentLogEvent(v **types.LogEvent, value interfac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29478,6 +29982,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "maximum": if value != nil { switch jtv := value.(type) { @@ -29511,6 +30016,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "minimum": if value != nil { switch jtv := value.(type) { @@ -29544,6 +30050,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "sampleCount": if value != nil { switch jtv := value.(type) { @@ -29577,6 +30084,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "sum": if value != nil { switch jtv := value.(type) { @@ -29610,6 +30118,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -29625,6 +30134,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } } + case "unit": if value != nil { jtv, ok := value.(string) @@ -29633,6 +30143,7 @@ func awsAwsjson11_deserializeDocumentMetricDatapoint(v **types.MetricDatapoint, } sv.Unit = types.MetricUnit(jtv) } + default: _, _ = key, value @@ -29706,6 +30217,7 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29714,6 +30226,7 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -29722,6 +30235,7 @@ func awsAwsjson11_deserializeDocumentMonitoredResourceInfo(v **types.MonitoredRe } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -29765,6 +30279,7 @@ func awsAwsjson11_deserializeDocumentMonthlyTransfer(v **types.MonthlyTransfer, } sv.GbPerMonthAllocated = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29804,6 +30319,7 @@ func awsAwsjson11_deserializeDocumentNameServersUpdateState(v **types.NameServer } sv.Code = types.NameServersUpdateStateCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -29812,6 +30328,7 @@ func awsAwsjson11_deserializeDocumentNameServersUpdateState(v **types.NameServer } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29851,6 +30368,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -29859,6 +30377,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -29867,6 +30386,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -29875,6 +30395,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -29957,6 +30478,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -29965,6 +30487,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorCode = ptr.String(jtv) } + case "errorDetails": if value != nil { jtv, ok := value.(string) @@ -29973,6 +30496,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorDetails = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29981,6 +30505,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } + case "isTerminal": if value != nil { jtv, ok := value.(bool) @@ -29989,10 +30514,12 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.IsTerminal = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "operationDetails": if value != nil { jtv, ok := value.(string) @@ -30001,6 +30528,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.OperationDetails = ptr.String(jtv) } + case "operationType": if value != nil { jtv, ok := value.(string) @@ -30009,6 +30537,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.OperationType = types.OperationType(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -30017,6 +30546,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -30025,6 +30555,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceType = types.ResourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -30033,6 +30564,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } + case "statusChangedAt": if value != nil { switch jtv := value.(type) { @@ -30048,6 +30580,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } + default: _, _ = key, value @@ -30087,6 +30620,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -30095,6 +30629,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -30103,6 +30638,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -30111,6 +30647,7 @@ func awsAwsjson11_deserializeDocumentOperationFailureException(v **types.Operati } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -30184,6 +30721,7 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.Name = ptr.String(jtv) } + case "protocolPolicy": if value != nil { jtv, ok := value.(string) @@ -30192,6 +30730,7 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ProtocolPolicy = types.OriginProtocolPolicyEnum(jtv) } + case "regionName": if value != nil { jtv, ok := value.(string) @@ -30200,6 +30739,7 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.RegionName = types.RegionName(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -30208,6 +30748,7 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ResourceType = types.ResourceType(jtv) } + case "responseTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -30220,6 +30761,7 @@ func awsAwsjson11_deserializeDocumentOrigin(v **types.Origin, value interface{}) } sv.ResponseTimeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30295,6 +30837,7 @@ func awsAwsjson11_deserializeDocumentPasswordData(v **types.PasswordData, value } sv.Ciphertext = ptr.String(jtv) } + case "keyPairName": if value != nil { jtv, ok := value.(string) @@ -30303,6 +30846,7 @@ func awsAwsjson11_deserializeDocumentPasswordData(v **types.PasswordData, value } sv.KeyPairName = ptr.String(jtv) } + default: _, _ = key, value @@ -30342,6 +30886,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Action = ptr.String(jtv) } + case "currentApplyDate": if value != nil { switch jtv := value.(type) { @@ -30357,6 +30902,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } } + case "description": if value != nil { jtv, ok := value.(string) @@ -30365,6 +30911,7 @@ func awsAwsjson11_deserializeDocumentPendingMaintenanceAction(v **types.PendingM } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -30438,6 +30985,7 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.BackupRetentionEnabled = ptr.Bool(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -30446,6 +30994,7 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.EngineVersion = ptr.String(jtv) } + case "masterUserPassword": if value != nil { jtv, ok := value.(string) @@ -30454,6 +31003,7 @@ func awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(v * } sv.MasterUserPassword = ptr.String(jtv) } + default: _, _ = key, value @@ -30565,6 +31115,7 @@ func awsAwsjson11_deserializeDocumentPrivateRegistryAccess(v **types.PrivateRegi if err := awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(&sv.EcrImagePullerRole, value); err != nil { return err } + default: _, _ = key, value @@ -30604,10 +31155,12 @@ func awsAwsjson11_deserializeDocumentQueryStringObject(v **types.QueryStringObje } sv.Option = ptr.Bool(jtv) } + case "queryStringsAllowList": if err := awsAwsjson11_deserializeDocumentStringList(&sv.QueryStringsAllowList, value); err != nil { return err } + default: _, _ = key, value @@ -30647,6 +31200,7 @@ func awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(v **types.R53Hos } sv.Code = types.R53HostedZoneDeletionStateCode(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -30655,6 +31209,7 @@ func awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(v **types.R53Hos } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30690,6 +31245,7 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } + case "continentCode": if value != nil { jtv, ok := value.(string) @@ -30698,6 +31254,7 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.ContinentCode = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -30706,6 +31263,7 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -30714,6 +31272,7 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -30722,10 +31281,12 @@ func awsAwsjson11_deserializeDocumentRegion(v **types.Region, value interface{}) } sv.Name = types.RegionName(jtv) } + case "relationalDatabaseAvailabilityZones": if err := awsAwsjson11_deserializeDocumentAvailabilityZoneList(&sv.RelationalDatabaseAvailabilityZones, value); err != nil { return err } + default: _, _ = key, value @@ -30795,10 +31356,12 @@ func awsAwsjson11_deserializeDocumentRegisteredDomainDelegationInfo(v **types.Re if err := awsAwsjson11_deserializeDocumentNameServersUpdateState(&sv.NameServersUpdateState, value); err != nil { return err } + case "r53HostedZoneDeletionState": if err := awsAwsjson11_deserializeDocumentR53HostedZoneDeletionState(&sv.R53HostedZoneDeletionState, value); err != nil { return err } + default: _, _ = key, value @@ -30838,6 +31401,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Arn = ptr.String(jtv) } + case "backupRetentionEnabled": if value != nil { jtv, ok := value.(bool) @@ -30846,6 +31410,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.BackupRetentionEnabled = ptr.Bool(jtv) } + case "caCertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -30854,6 +31419,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.CaCertificateIdentifier = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -30869,6 +31435,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } } + case "engine": if value != nil { jtv, ok := value.(string) @@ -30877,6 +31444,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Engine = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -30885,10 +31453,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.EngineVersion = ptr.String(jtv) } + case "hardware": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(&sv.Hardware, value); err != nil { return err } + case "latestRestorableTime": if value != nil { switch jtv := value.(type) { @@ -30904,10 +31474,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "masterDatabaseName": if value != nil { jtv, ok := value.(string) @@ -30916,10 +31488,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.MasterDatabaseName = ptr.String(jtv) } + case "masterEndpoint": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(&sv.MasterEndpoint, value); err != nil { return err } + case "masterUsername": if value != nil { jtv, ok := value.(string) @@ -30928,6 +31502,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.MasterUsername = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -30936,6 +31511,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.Name = ptr.String(jtv) } + case "parameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -30944,14 +31520,17 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.ParameterApplyStatus = ptr.String(jtv) } + case "pendingMaintenanceActions": if err := awsAwsjson11_deserializeDocumentPendingMaintenanceActionList(&sv.PendingMaintenanceActions, value); err != nil { return err } + case "pendingModifiedValues": if err := awsAwsjson11_deserializeDocumentPendingModifiedRelationalDatabaseValues(&sv.PendingModifiedValues, value); err != nil { return err } + case "preferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -30960,6 +31539,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PreferredBackupWindow = ptr.String(jtv) } + case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -30968,6 +31548,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -30976,6 +31557,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "relationalDatabaseBlueprintId": if value != nil { jtv, ok := value.(string) @@ -30984,6 +31566,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.RelationalDatabaseBlueprintId = ptr.String(jtv) } + case "relationalDatabaseBundleId": if value != nil { jtv, ok := value.(string) @@ -30992,6 +31575,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.RelationalDatabaseBundleId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -31000,6 +31584,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.ResourceType = types.ResourceType(jtv) } + case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -31008,6 +31593,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -31016,6 +31602,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.State = ptr.String(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -31024,10 +31611,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabase(v **types.RelationalData } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -31067,6 +31656,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.BlueprintId = ptr.String(jtv) } + case "engine": if value != nil { jtv, ok := value.(string) @@ -31075,6 +31665,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.Engine = types.RelationalDatabaseEngine(jtv) } + case "engineDescription": if value != nil { jtv, ok := value.(string) @@ -31083,6 +31674,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineDescription = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -31091,6 +31683,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineVersion = ptr.String(jtv) } + case "engineVersionDescription": if value != nil { jtv, ok := value.(string) @@ -31099,6 +31692,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.EngineVersionDescription = ptr.String(jtv) } + case "isEngineDefault": if value != nil { jtv, ok := value.(bool) @@ -31107,6 +31701,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprint(v **types.Relat } sv.IsEngineDefault = ptr.Bool(jtv) } + default: _, _ = key, value @@ -31180,6 +31775,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.BundleId = ptr.String(jtv) } + case "cpuCount": if value != nil { jtv, ok := value.(json.Number) @@ -31192,6 +31788,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.CpuCount = ptr.Int32(int32(i64)) } + case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31204,6 +31801,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -31212,6 +31810,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.IsActive = ptr.Bool(jtv) } + case "isEncrypted": if value != nil { jtv, ok := value.(bool) @@ -31220,6 +31819,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.IsEncrypted = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -31228,6 +31828,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.Name = ptr.String(jtv) } + case "price": if value != nil { switch jtv := value.(type) { @@ -31261,6 +31862,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } } + case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -31294,6 +31896,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } } + case "transferPerMonthInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31306,6 +31909,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseBundle(v **types.Relation } sv.TransferPerMonthInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31379,6 +31983,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(v **types.Relati } sv.Address = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -31391,6 +31996,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEndpoint(v **types.Relati } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31437,10 +32043,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } } + case "eventCategories": if err := awsAwsjson11_deserializeDocumentStringList(&sv.EventCategories, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -31449,6 +32057,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } sv.Message = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -31457,6 +32066,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseEvent(v **types.Relationa } sv.Resource = ptr.String(jtv) } + default: _, _ = key, value @@ -31534,6 +32144,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } sv.CpuCount = ptr.Int32(int32(i64)) } + case "diskSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31546,6 +32157,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } sv.DiskSizeInGb = ptr.Int32(int32(i64)) } + case "ramSizeInGb": if value != nil { switch jtv := value.(type) { @@ -31579,6 +32191,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseHardware(v **types.Relati } } + default: _, _ = key, value @@ -31652,6 +32265,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.AllowedValues = ptr.String(jtv) } + case "applyMethod": if value != nil { jtv, ok := value.(string) @@ -31660,6 +32274,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ApplyMethod = ptr.String(jtv) } + case "applyType": if value != nil { jtv, ok := value.(string) @@ -31668,6 +32283,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ApplyType = ptr.String(jtv) } + case "dataType": if value != nil { jtv, ok := value.(string) @@ -31676,6 +32292,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.DataType = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -31684,6 +32301,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.Description = ptr.String(jtv) } + case "isModifiable": if value != nil { jtv, ok := value.(bool) @@ -31692,6 +32310,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.IsModifiable = ptr.Bool(jtv) } + case "parameterName": if value != nil { jtv, ok := value.(string) @@ -31700,6 +32319,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ParameterName = ptr.String(jtv) } + case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -31708,6 +32328,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseParameter(v **types.Relat } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -31781,6 +32402,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -31796,6 +32418,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } } + case "engine": if value != nil { jtv, ok := value.(string) @@ -31804,6 +32427,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Engine = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -31812,6 +32436,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.EngineVersion = ptr.String(jtv) } + case "fromRelationalDatabaseArn": if value != nil { jtv, ok := value.(string) @@ -31820,6 +32445,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseArn = ptr.String(jtv) } + case "fromRelationalDatabaseBlueprintId": if value != nil { jtv, ok := value.(string) @@ -31828,6 +32454,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseBlueprintId = ptr.String(jtv) } + case "fromRelationalDatabaseBundleId": if value != nil { jtv, ok := value.(string) @@ -31836,6 +32463,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseBundleId = ptr.String(jtv) } + case "fromRelationalDatabaseName": if value != nil { jtv, ok := value.(string) @@ -31844,10 +32472,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.FromRelationalDatabaseName = ptr.String(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -31856,6 +32486,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -31864,6 +32495,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.ResourceType = types.ResourceType(jtv) } + case "sizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -31876,6 +32508,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.SizeInGb = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -31884,6 +32517,7 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.State = ptr.String(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -31892,10 +32526,12 @@ func awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(v **types.Relati } sv.SupportCode = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -31965,6 +32601,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va if err := awsAwsjson11_deserializeDocumentDomainValidationRecordList(&sv.DomainValidationRecords, value); err != nil { return err } + case "renewalStatus": if value != nil { jtv, ok := value.(string) @@ -31973,6 +32610,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatus = types.RenewalStatus(jtv) } + case "renewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -31981,6 +32619,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } sv.RenewalStatusReason = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -31996,6 +32635,7 @@ func awsAwsjson11_deserializeDocumentRenewalSummary(v **types.RenewalSummary, va } } + default: _, _ = key, value @@ -32031,6 +32671,7 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu if err := awsAwsjson11_deserializeDocumentCostEstimates(&sv.CostEstimates, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -32046,6 +32687,7 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -32054,6 +32696,7 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32062,6 +32705,7 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } sv.ResourceType = types.ResourceType(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -32077,6 +32721,7 @@ func awsAwsjson11_deserializeDocumentResourceBudgetEstimate(v **types.ResourceBu } } + default: _, _ = key, value @@ -32116,6 +32761,7 @@ func awsAwsjson11_deserializeDocumentResourceLocation(v **types.ResourceLocation } sv.AvailabilityZone = ptr.String(jtv) } + case "regionName": if value != nil { jtv, ok := value.(string) @@ -32124,6 +32770,7 @@ func awsAwsjson11_deserializeDocumentResourceLocation(v **types.ResourceLocation } sv.RegionName = types.RegionName(jtv) } + default: _, _ = key, value @@ -32163,6 +32810,7 @@ func awsAwsjson11_deserializeDocumentResourceReceivingAccess(v **types.ResourceR } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32171,6 +32819,7 @@ func awsAwsjson11_deserializeDocumentResourceReceivingAccess(v **types.ResourceR } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -32210,6 +32859,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -32218,6 +32868,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -32226,6 +32877,7 @@ func awsAwsjson11_deserializeDocumentResourceRecord(v **types.ResourceRecord, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -32299,6 +32951,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -32307,6 +32960,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -32315,6 +32969,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -32323,6 +32978,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -32362,6 +33018,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.IsPrimary = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -32370,6 +33027,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Name = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -32378,6 +33036,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -32487,6 +33146,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Command = ptr.String(jtv) } + case "dateTime": if value != nil { switch jtv := value.(type) { @@ -32502,6 +33162,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } } + case "name": if value != nil { jtv, ok := value.(string) @@ -32510,6 +33171,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Name = ptr.String(jtv) } + case "standardError": if value != nil { jtv, ok := value.(string) @@ -32518,6 +33180,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.StandardError = ptr.String(jtv) } + case "standardOutput": if value != nil { jtv, ok := value.(string) @@ -32526,6 +33189,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.StandardOutput = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -32534,6 +33198,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Status = types.SetupStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -32542,6 +33207,7 @@ func awsAwsjson11_deserializeDocumentSetupExecutionDetails(v **types.SetupExecut } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -32611,6 +33277,7 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value if err := awsAwsjson11_deserializeDocumentSetupExecutionDetailsList(&sv.ExecutionDetails, value); err != nil { return err } + case "operationId": if value != nil { jtv, ok := value.(string) @@ -32619,14 +33286,17 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value } sv.OperationId = ptr.String(jtv) } + case "request": if err := awsAwsjson11_deserializeDocumentSetupRequest(&sv.Request, value); err != nil { return err } + case "resource": if err := awsAwsjson11_deserializeDocumentSetupHistoryResource(&sv.Resource, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -32635,6 +33305,7 @@ func awsAwsjson11_deserializeDocumentSetupHistory(v **types.SetupHistory, value } sv.Status = types.SetupStatus(jtv) } + default: _, _ = key, value @@ -32708,6 +33379,7 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -32723,10 +33395,12 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -32735,6 +33409,7 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32743,6 +33418,7 @@ func awsAwsjson11_deserializeDocumentSetupHistoryResource(v **types.SetupHistory } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -32782,10 +33458,12 @@ func awsAwsjson11_deserializeDocumentSetupRequest(v **types.SetupRequest, value } sv.CertificateProvider = types.CertificateProvider(jtv) } + case "domainNames": if err := awsAwsjson11_deserializeDocumentSetupDomainNameList(&sv.DomainNames, value); err != nil { return err } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -32794,6 +33472,7 @@ func awsAwsjson11_deserializeDocumentSetupRequest(v **types.SetupRequest, value } sv.InstanceName = ptr.String(jtv) } + default: _, _ = key, value @@ -32833,6 +33512,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.Arn = ptr.String(jtv) } + case "attachedTo": if value != nil { jtv, ok := value.(string) @@ -32841,6 +33521,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.AttachedTo = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -32856,6 +33537,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -32864,6 +33546,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.IpAddress = ptr.String(jtv) } + case "isAttached": if value != nil { jtv, ok := value.(bool) @@ -32872,10 +33555,12 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.IsAttached = ptr.Bool(jtv) } + case "location": if err := awsAwsjson11_deserializeDocumentResourceLocation(&sv.Location, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -32884,6 +33569,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.Name = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -32892,6 +33578,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.ResourceType = types.ResourceType(jtv) } + case "supportCode": if value != nil { jtv, ok := value.(string) @@ -32900,6 +33587,7 @@ func awsAwsjson11_deserializeDocumentStaticIp(v **types.StaticIp, value interfac } sv.SupportCode = ptr.String(jtv) } + default: _, _ = key, value @@ -33045,6 +33733,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -33053,6 +33742,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -33133,6 +33823,7 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } + case "start": if value != nil { switch jtv := value.(type) { @@ -33148,6 +33839,7 @@ func awsAwsjson11_deserializeDocumentTimePeriod(v **types.TimePeriod, value inte } } + default: _, _ = key, value @@ -33187,6 +33879,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Code = ptr.String(jtv) } + case "docs": if value != nil { jtv, ok := value.(string) @@ -33195,6 +33888,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Docs = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -33203,6 +33897,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Message = ptr.String(jtv) } + case "tip": if value != nil { jtv, ok := value.(string) @@ -33211,6 +33906,7 @@ func awsAwsjson11_deserializeDocumentUnauthenticatedException(v **types.Unauthen } sv.Tip = ptr.String(jtv) } + default: _, _ = key, value @@ -33246,6 +33942,7 @@ func awsAwsjson11_deserializeOpDocumentAllocateStaticIpOutput(v **AllocateStatic if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33281,6 +33978,7 @@ func awsAwsjson11_deserializeOpDocumentAttachCertificateToDistributionOutput(v * if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -33316,6 +34014,7 @@ func awsAwsjson11_deserializeOpDocumentAttachDiskOutput(v **AttachDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33351,6 +34050,7 @@ func awsAwsjson11_deserializeOpDocumentAttachInstancesToLoadBalancerOutput(v **A if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33386,6 +34086,7 @@ func awsAwsjson11_deserializeOpDocumentAttachLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33421,6 +34122,7 @@ func awsAwsjson11_deserializeOpDocumentAttachStaticIpOutput(v **AttachStaticIpOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33456,6 +34158,7 @@ func awsAwsjson11_deserializeOpDocumentCloseInstancePublicPortsOutput(v **CloseI if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -33491,6 +34194,7 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotOutput(v **CopySnapshotOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33526,10 +34230,12 @@ func awsAwsjson11_deserializeOpDocumentCreateBucketAccessKeyOutput(v **CreateBuc if err := awsAwsjson11_deserializeDocumentAccessKey(&sv.AccessKey, value); err != nil { return err } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33565,10 +34271,12 @@ func awsAwsjson11_deserializeOpDocumentCreateBucketOutput(v **CreateBucketOutput if err := awsAwsjson11_deserializeDocumentBucket(&sv.Bucket, value); err != nil { return err } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33604,10 +34312,12 @@ func awsAwsjson11_deserializeOpDocumentCreateCertificateOutput(v **CreateCertifi if err := awsAwsjson11_deserializeDocumentCertificateSummary(&sv.Certificate, value); err != nil { return err } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33643,6 +34353,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCloudFormationStackOutput(v **Creat if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33678,6 +34389,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContactMethodOutput(v **CreateConta if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33713,6 +34425,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceDeploymentOutput(v if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } + default: _, _ = key, value @@ -33748,6 +34461,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceOutput(v **CreateCo if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } + default: _, _ = key, value @@ -33783,6 +34497,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerServiceRegistryLoginOutput if err := awsAwsjson11_deserializeDocumentContainerServiceRegistryLogin(&sv.RegistryLogin, value); err != nil { return err } + default: _, _ = key, value @@ -33818,6 +34533,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskFromSnapshotOutput(v **CreateDi if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33853,6 +34569,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskOutput(v **CreateDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33888,6 +34605,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDiskSnapshotOutput(v **CreateDiskSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -33923,10 +34641,12 @@ func awsAwsjson11_deserializeOpDocumentCreateDistributionOutput(v **CreateDistri if err := awsAwsjson11_deserializeDocumentLightsailDistribution(&sv.Distribution, value); err != nil { return err } + case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -33962,6 +34682,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainEntryOutput(v **CreateDomainE if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -33997,6 +34718,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -34036,6 +34758,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.FailureReason = ptr.String(jtv) } + case "percentageComplete": if value != nil { jtv, ok := value.(json.Number) @@ -34048,6 +34771,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.PercentageComplete = ptr.Int32(int32(i64)) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -34056,10 +34780,12 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.ResourceName = ptr.String(jtv) } + case "sessions": if err := awsAwsjson11_deserializeDocumentSessions(&sv.Sessions, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -34068,6 +34794,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGUISessionAccessDetailsOutput(v **C } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -34103,6 +34830,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstancesFromSnapshotOutput(v **Cre if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34138,6 +34866,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceSnapshotOutput(v **CreateIn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34173,6 +34902,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstancesOutput(v **CreateInstances if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34208,10 +34938,12 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp if err := awsAwsjson11_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } + case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + case "privateKeyBase64": if value != nil { jtv, ok := value.(string) @@ -34220,6 +34952,7 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp } sv.PrivateKeyBase64 = ptr.String(jtv) } + case "publicKeyBase64": if value != nil { jtv, ok := value.(string) @@ -34228,6 +34961,7 @@ func awsAwsjson11_deserializeOpDocumentCreateKeyPairOutput(v **CreateKeyPairOutp } sv.PublicKeyBase64 = ptr.String(jtv) } + default: _, _ = key, value @@ -34263,6 +34997,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLoadBalancerOutput(v **CreateLoadBa if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34298,6 +35033,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34333,6 +35069,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseFromSnapshotOutpu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34368,6 +35105,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseOutput(v **Create if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34403,6 +35141,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRelationalDatabaseSnapshotOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34438,6 +35177,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAlarmOutput(v **DeleteAlarmOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34473,6 +35213,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAutoSnapshotOutput(v **DeleteAutoSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34508,6 +35249,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBucketAccessKeyOutput(v **DeleteBuc if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34543,6 +35285,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBucketOutput(v **DeleteBucketOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34578,6 +35321,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCertificateOutput(v **DeleteCertifi if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34613,6 +35357,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteContactMethodOutput(v **DeleteConta if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34710,6 +35455,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDiskOutput(v **DeleteDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34745,6 +35491,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDiskSnapshotOutput(v **DeleteDiskSn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34780,6 +35527,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDistributionOutput(v **DeleteDistri if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -34815,6 +35563,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainEntryOutput(v **DeleteDomainE if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -34850,6 +35599,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -34885,6 +35635,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceOutput(v **DeleteInstanceOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34920,6 +35671,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInstanceSnapshotOutput(v **DeleteIn if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -34955,6 +35707,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteKeyPairOutput(v **DeleteKeyPairOutp if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -34990,6 +35743,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteKnownHostKeysOutput(v **DeleteKnown if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35025,6 +35779,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLoadBalancerOutput(v **DeleteLoadBa if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35060,6 +35815,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteLoadBalancerTlsCertificateOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35095,6 +35851,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRelationalDatabaseOutput(v **Delete if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35130,6 +35887,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRelationalDatabaseSnapshotOutput(v if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35165,6 +35923,7 @@ func awsAwsjson11_deserializeOpDocumentDetachCertificateFromDistributionOutput(v if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -35200,6 +35959,7 @@ func awsAwsjson11_deserializeOpDocumentDetachDiskOutput(v **DetachDiskOutput, va if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35235,6 +35995,7 @@ func awsAwsjson11_deserializeOpDocumentDetachInstancesFromLoadBalancerOutput(v * if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35270,6 +36031,7 @@ func awsAwsjson11_deserializeOpDocumentDetachStaticIpOutput(v **DetachStaticIpOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35305,6 +36067,7 @@ func awsAwsjson11_deserializeOpDocumentDisableAddOnOutput(v **DisableAddOnOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35351,6 +36114,7 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } } + case "privateKeyBase64": if value != nil { jtv, ok := value.(string) @@ -35359,6 +36123,7 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } sv.PrivateKeyBase64 = ptr.String(jtv) } + case "publicKeyBase64": if value != nil { jtv, ok := value.(string) @@ -35367,6 +36132,7 @@ func awsAwsjson11_deserializeOpDocumentDownloadDefaultKeyPairOutput(v **Download } sv.PublicKeyBase64 = ptr.String(jtv) } + default: _, _ = key, value @@ -35402,6 +36168,7 @@ func awsAwsjson11_deserializeOpDocumentEnableAddOnOutput(v **EnableAddOnOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35437,6 +36204,7 @@ func awsAwsjson11_deserializeOpDocumentExportSnapshotOutput(v **ExportSnapshotOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -35472,6 +36240,7 @@ func awsAwsjson11_deserializeOpDocumentGetActiveNamesOutput(v **GetActiveNamesOu if err := awsAwsjson11_deserializeDocumentStringList(&sv.ActiveNames, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35480,6 +36249,7 @@ func awsAwsjson11_deserializeOpDocumentGetActiveNamesOutput(v **GetActiveNamesOu } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35515,6 +36285,7 @@ func awsAwsjson11_deserializeOpDocumentGetAlarmsOutput(v **GetAlarmsOutput, valu if err := awsAwsjson11_deserializeDocumentAlarmsList(&sv.Alarms, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35523,6 +36294,7 @@ func awsAwsjson11_deserializeOpDocumentGetAlarmsOutput(v **GetAlarmsOutput, valu } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35558,6 +36330,7 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho if err := awsAwsjson11_deserializeDocumentAutoSnapshotDetailsList(&sv.AutoSnapshots, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -35566,6 +36339,7 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -35574,6 +36348,7 @@ func awsAwsjson11_deserializeOpDocumentGetAutoSnapshotsOutput(v **GetAutoSnapsho } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -35609,6 +36384,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintsOutput(v **GetBlueprintsOutp if err := awsAwsjson11_deserializeDocumentBlueprintList(&sv.Blueprints, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35617,6 +36393,7 @@ func awsAwsjson11_deserializeOpDocumentGetBlueprintsOutput(v **GetBlueprintsOutp } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35652,6 +36429,7 @@ func awsAwsjson11_deserializeOpDocumentGetBucketAccessKeysOutput(v **GetBucketAc if err := awsAwsjson11_deserializeDocumentAccessKeyList(&sv.AccessKeys, value); err != nil { return err } + default: _, _ = key, value @@ -35687,6 +36465,7 @@ func awsAwsjson11_deserializeOpDocumentGetBucketBundlesOutput(v **GetBucketBundl if err := awsAwsjson11_deserializeDocumentBucketBundleList(&sv.Bundles, value); err != nil { return err } + default: _, _ = key, value @@ -35722,6 +36501,7 @@ func awsAwsjson11_deserializeOpDocumentGetBucketMetricDataOutput(v **GetBucketMe if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -35730,6 +36510,7 @@ func awsAwsjson11_deserializeOpDocumentGetBucketMetricDataOutput(v **GetBucketMe } sv.MetricName = types.BucketMetricName(jtv) } + default: _, _ = key, value @@ -35765,10 +36546,12 @@ func awsAwsjson11_deserializeOpDocumentGetBucketsOutput(v **GetBucketsOutput, va if err := awsAwsjson11_deserializeDocumentAccountLevelBpaSync(&sv.AccountLevelBpaSync, value); err != nil { return err } + case "buckets": if err := awsAwsjson11_deserializeDocumentBucketList(&sv.Buckets, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35777,6 +36560,7 @@ func awsAwsjson11_deserializeOpDocumentGetBucketsOutput(v **GetBucketsOutput, va } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35812,6 +36596,7 @@ func awsAwsjson11_deserializeOpDocumentGetBundlesOutput(v **GetBundlesOutput, va if err := awsAwsjson11_deserializeDocumentBundleList(&sv.Bundles, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35820,6 +36605,7 @@ func awsAwsjson11_deserializeOpDocumentGetBundlesOutput(v **GetBundlesOutput, va } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35855,6 +36641,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificatesOutput(v **GetCertificates if err := awsAwsjson11_deserializeDocumentCertificateSummaryList(&sv.Certificates, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35863,6 +36650,7 @@ func awsAwsjson11_deserializeOpDocumentGetCertificatesOutput(v **GetCertificates } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35898,6 +36686,7 @@ func awsAwsjson11_deserializeOpDocumentGetCloudFormationStackRecordsOutput(v **G if err := awsAwsjson11_deserializeDocumentCloudFormationStackRecordList(&sv.CloudFormationStackRecords, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -35906,6 +36695,7 @@ func awsAwsjson11_deserializeOpDocumentGetCloudFormationStackRecordsOutput(v **G } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -35941,6 +36731,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactMethodsOutput(v **GetContactMet if err := awsAwsjson11_deserializeDocumentContactMethodsList(&sv.ContactMethods, value); err != nil { return err } + default: _, _ = key, value @@ -35976,6 +36767,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerAPIMetadataOutput(v **GetCont if err := awsAwsjson11_deserializeDocumentContainerServiceMetadataEntryList(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -36011,6 +36803,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerImagesOutput(v **GetContainer if err := awsAwsjson11_deserializeDocumentContainerImageList(&sv.ContainerImages, value); err != nil { return err } + default: _, _ = key, value @@ -36046,6 +36839,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerLogOutput(v **GetContainerLog if err := awsAwsjson11_deserializeDocumentContainerServiceLogEventList(&sv.LogEvents, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36054,6 +36848,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerLogOutput(v **GetContainerLog } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36089,6 +36884,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceDeploymentsOutput(v ** if err := awsAwsjson11_deserializeDocumentContainerServiceDeploymentList(&sv.Deployments, value); err != nil { return err } + default: _, _ = key, value @@ -36124,6 +36920,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceMetricDataOutput(v **G if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -36132,6 +36929,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServiceMetricDataOutput(v **G } sv.MetricName = types.ContainerServiceMetricName(jtv) } + default: _, _ = key, value @@ -36167,6 +36965,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServicePowersOutput(v **GetCo if err := awsAwsjson11_deserializeDocumentContainerServicePowerList(&sv.Powers, value); err != nil { return err } + default: _, _ = key, value @@ -36202,6 +37001,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerServicesOutput(v **GetContain if err := awsAwsjson11_deserializeDocumentContainerServiceList(&sv.ContainerServices, value); err != nil { return err } + default: _, _ = key, value @@ -36237,6 +37037,7 @@ func awsAwsjson11_deserializeOpDocumentGetCostEstimateOutput(v **GetCostEstimate if err := awsAwsjson11_deserializeDocumentResourcesBudgetEstimate(&sv.ResourcesBudgetEstimate, value); err != nil { return err } + default: _, _ = key, value @@ -36272,6 +37073,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiskOutput(v **GetDiskOutput, value in if err := awsAwsjson11_deserializeDocumentDisk(&sv.Disk, value); err != nil { return err } + default: _, _ = key, value @@ -36307,6 +37109,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotOutput(v **GetDiskSnapshot if err := awsAwsjson11_deserializeDocumentDiskSnapshot(&sv.DiskSnapshot, value); err != nil { return err } + default: _, _ = key, value @@ -36342,6 +37145,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotsOutput(v **GetDiskSnapsho if err := awsAwsjson11_deserializeDocumentDiskSnapshotList(&sv.DiskSnapshots, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36350,6 +37154,7 @@ func awsAwsjson11_deserializeOpDocumentGetDiskSnapshotsOutput(v **GetDiskSnapsho } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36385,6 +37190,7 @@ func awsAwsjson11_deserializeOpDocumentGetDisksOutput(v **GetDisksOutput, value if err := awsAwsjson11_deserializeDocumentDiskList(&sv.Disks, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36393,6 +37199,7 @@ func awsAwsjson11_deserializeOpDocumentGetDisksOutput(v **GetDisksOutput, value } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36428,6 +37235,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionBundlesOutput(v **GetDistr if err := awsAwsjson11_deserializeDocumentDistributionBundleList(&sv.Bundles, value); err != nil { return err } + default: _, _ = key, value @@ -36474,6 +37282,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionLatestCacheResetOutput(v * } } + case "status": if value != nil { jtv, ok := value.(string) @@ -36482,6 +37291,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionLatestCacheResetOutput(v * } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -36517,6 +37327,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionMetricDataOutput(v **GetDi if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -36525,6 +37336,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionMetricDataOutput(v **GetDi } sv.MetricName = types.DistributionMetricName(jtv) } + default: _, _ = key, value @@ -36560,6 +37372,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionsOutput(v **GetDistributio if err := awsAwsjson11_deserializeDocumentDistributionList(&sv.Distributions, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36568,6 +37381,7 @@ func awsAwsjson11_deserializeOpDocumentGetDistributionsOutput(v **GetDistributio } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36603,6 +37417,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainOutput(v **GetDomainOutput, valu if err := awsAwsjson11_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -36638,6 +37453,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainsOutput(v **GetDomainsOutput, va if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36646,6 +37462,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainsOutput(v **GetDomainsOutput, va } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36681,6 +37498,7 @@ func awsAwsjson11_deserializeOpDocumentGetExportSnapshotRecordsOutput(v **GetExp if err := awsAwsjson11_deserializeDocumentExportSnapshotRecordList(&sv.ExportSnapshotRecords, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36689,6 +37507,7 @@ func awsAwsjson11_deserializeOpDocumentGetExportSnapshotRecordsOutput(v **GetExp } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36724,6 +37543,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceAccessDetailsOutput(v **GetIns if err := awsAwsjson11_deserializeDocumentInstanceAccessDetails(&sv.AccessDetails, value); err != nil { return err } + default: _, _ = key, value @@ -36759,6 +37579,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceMetricDataOutput(v **GetInstan if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -36767,6 +37588,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceMetricDataOutput(v **GetInstan } sv.MetricName = types.InstanceMetricName(jtv) } + default: _, _ = key, value @@ -36802,6 +37624,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsAwsjson11_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -36837,6 +37660,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstancePortStatesOutput(v **GetInstan if err := awsAwsjson11_deserializeDocumentInstancePortStateList(&sv.PortStates, value); err != nil { return err } + default: _, _ = key, value @@ -36872,6 +37696,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotOutput(v **GetInstance if err := awsAwsjson11_deserializeDocumentInstanceSnapshot(&sv.InstanceSnapshot, value); err != nil { return err } + default: _, _ = key, value @@ -36907,6 +37732,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotsOutput(v **GetInstanc if err := awsAwsjson11_deserializeDocumentInstanceSnapshotList(&sv.InstanceSnapshots, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36915,6 +37741,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceSnapshotsOutput(v **GetInstanc } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36950,6 +37777,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesOutput(v **GetInstancesOutput if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -36958,6 +37786,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesOutput(v **GetInstancesOutput } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -36993,6 +37822,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceStateOutput(v **GetInstanceSta if err := awsAwsjson11_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } + default: _, _ = key, value @@ -37028,6 +37858,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairOutput(v **GetKeyPairOutput, va if err := awsAwsjson11_deserializeDocumentKeyPair(&sv.KeyPair, value); err != nil { return err } + default: _, _ = key, value @@ -37063,6 +37894,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairsOutput(v **GetKeyPairsOutput, if err := awsAwsjson11_deserializeDocumentKeyPairList(&sv.KeyPairs, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37071,6 +37903,7 @@ func awsAwsjson11_deserializeOpDocumentGetKeyPairsOutput(v **GetKeyPairsOutput, } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -37106,6 +37939,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerMetricDataOutput(v **GetLo if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -37114,6 +37948,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerMetricDataOutput(v **GetLo } sv.MetricName = types.LoadBalancerMetricName(jtv) } + default: _, _ = key, value @@ -37149,6 +37984,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerOutput(v **GetLoadBalancer if err := awsAwsjson11_deserializeDocumentLoadBalancer(&sv.LoadBalancer, value); err != nil { return err } + default: _, _ = key, value @@ -37184,6 +38020,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancersOutput(v **GetLoadBalance if err := awsAwsjson11_deserializeDocumentLoadBalancerList(&sv.LoadBalancers, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37192,6 +38029,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancersOutput(v **GetLoadBalance } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -37227,6 +38065,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerTlsCertificatesOutput(v ** if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsCertificateList(&sv.TlsCertificates, value); err != nil { return err } + default: _, _ = key, value @@ -37266,10 +38105,12 @@ func awsAwsjson11_deserializeOpDocumentGetLoadBalancerTlsPoliciesOutput(v **GetL } sv.NextPageToken = ptr.String(jtv) } + case "tlsPolicies": if err := awsAwsjson11_deserializeDocumentLoadBalancerTlsPolicyList(&sv.TlsPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -37305,6 +38146,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -37344,6 +38186,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsForResourceOutput(v **GetOpe } sv.NextPageCount = ptr.String(jtv) } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37352,10 +38195,12 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsForResourceOutput(v **GetOpe } sv.NextPageToken = ptr.String(jtv) } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -37395,10 +38240,12 @@ func awsAwsjson11_deserializeOpDocumentGetOperationsOutput(v **GetOperationsOutp } sv.NextPageToken = ptr.String(jtv) } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -37434,6 +38281,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegionsOutput(v **GetRegionsOutput, va if err := awsAwsjson11_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -37469,6 +38317,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBlueprintsOutput(v * if err := awsAwsjson11_deserializeDocumentRelationalDatabaseBlueprintList(&sv.Blueprints, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37477,6 +38326,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBlueprintsOutput(v * } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -37512,6 +38362,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBundlesOutput(v **Ge if err := awsAwsjson11_deserializeDocumentRelationalDatabaseBundleList(&sv.Bundles, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -37520,6 +38371,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseBundlesOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -37559,10 +38411,12 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseEventsOutput(v **Get } sv.NextPageToken = ptr.String(jtv) } + case "relationalDatabaseEvents": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseEventList(&sv.RelationalDatabaseEvents, value); err != nil { return err } + default: _, _ = key, value @@ -37602,6 +38456,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogEventsOutput(v ** } sv.NextBackwardToken = ptr.String(jtv) } + case "nextForwardToken": if value != nil { jtv, ok := value.(string) @@ -37610,10 +38465,12 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogEventsOutput(v ** } sv.NextForwardToken = ptr.String(jtv) } + case "resourceLogEvents": if err := awsAwsjson11_deserializeDocumentLogEventList(&sv.ResourceLogEvents, value); err != nil { return err } + default: _, _ = key, value @@ -37649,6 +38506,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseLogStreamsOutput(v * if err := awsAwsjson11_deserializeDocumentStringList(&sv.LogStreams, value); err != nil { return err } + default: _, _ = key, value @@ -37695,6 +38553,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMasterUserPasswordOu } } + case "masterUserPassword": if value != nil { jtv, ok := value.(string) @@ -37703,6 +38562,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMasterUserPasswordOu } sv.MasterUserPassword = ptr.String(jtv) } + default: _, _ = key, value @@ -37738,6 +38598,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMetricDataOutput(v * if err := awsAwsjson11_deserializeDocumentMetricDatapointList(&sv.MetricData, value); err != nil { return err } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -37746,6 +38607,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseMetricDataOutput(v * } sv.MetricName = types.RelationalDatabaseMetricName(jtv) } + default: _, _ = key, value @@ -37781,6 +38643,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseOutput(v **GetRelati if err := awsAwsjson11_deserializeDocumentRelationalDatabase(&sv.RelationalDatabase, value); err != nil { return err } + default: _, _ = key, value @@ -37820,10 +38683,12 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseParametersOutput(v * } sv.NextPageToken = ptr.String(jtv) } + case "parameters": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -37859,6 +38724,7 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseSnapshotOutput(v **G if err := awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshot(&sv.RelationalDatabaseSnapshot, value); err != nil { return err } + default: _, _ = key, value @@ -37898,10 +38764,12 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabaseSnapshotsOutput(v ** } sv.NextPageToken = ptr.String(jtv) } + case "relationalDatabaseSnapshots": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseSnapshotList(&sv.RelationalDatabaseSnapshots, value); err != nil { return err } + default: _, _ = key, value @@ -37941,10 +38809,12 @@ func awsAwsjson11_deserializeOpDocumentGetRelationalDatabasesOutput(v **GetRelat } sv.NextPageToken = ptr.String(jtv) } + case "relationalDatabases": if err := awsAwsjson11_deserializeDocumentRelationalDatabaseList(&sv.RelationalDatabases, value); err != nil { return err } + default: _, _ = key, value @@ -37984,10 +38854,12 @@ func awsAwsjson11_deserializeOpDocumentGetSetupHistoryOutput(v **GetSetupHistory } sv.NextPageToken = ptr.String(jtv) } + case "setupHistory": if err := awsAwsjson11_deserializeDocumentSetupHistoryList(&sv.SetupHistory, value); err != nil { return err } + default: _, _ = key, value @@ -38023,6 +38895,7 @@ func awsAwsjson11_deserializeOpDocumentGetStaticIpOutput(v **GetStaticIpOutput, if err := awsAwsjson11_deserializeDocumentStaticIp(&sv.StaticIp, value); err != nil { return err } + default: _, _ = key, value @@ -38062,10 +38935,12 @@ func awsAwsjson11_deserializeOpDocumentGetStaticIpsOutput(v **GetStaticIpsOutput } sv.NextPageToken = ptr.String(jtv) } + case "staticIps": if err := awsAwsjson11_deserializeDocumentStaticIpList(&sv.StaticIps, value); err != nil { return err } + default: _, _ = key, value @@ -38101,6 +38976,7 @@ func awsAwsjson11_deserializeOpDocumentImportKeyPairOutput(v **ImportKeyPairOutp if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -38140,6 +39016,7 @@ func awsAwsjson11_deserializeOpDocumentIsVpcPeeredOutput(v **IsVpcPeeredOutput, } sv.IsPeered = ptr.Bool(jtv) } + default: _, _ = key, value @@ -38175,6 +39052,7 @@ func awsAwsjson11_deserializeOpDocumentOpenInstancePublicPortsOutput(v **OpenIns if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -38210,6 +39088,7 @@ func awsAwsjson11_deserializeOpDocumentPeerVpcOutput(v **PeerVpcOutput, value in if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -38245,6 +39124,7 @@ func awsAwsjson11_deserializeOpDocumentPutAlarmOutput(v **PutAlarmOutput, value if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38280,6 +39160,7 @@ func awsAwsjson11_deserializeOpDocumentPutInstancePublicPortsOutput(v **PutInsta if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -38315,6 +39196,7 @@ func awsAwsjson11_deserializeOpDocumentRebootInstanceOutput(v **RebootInstanceOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38350,6 +39232,7 @@ func awsAwsjson11_deserializeOpDocumentRebootRelationalDatabaseOutput(v **Reboot if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38385,6 +39268,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterContainerImageOutput(v **Register if err := awsAwsjson11_deserializeDocumentContainerImage(&sv.ContainerImage, value); err != nil { return err } + default: _, _ = key, value @@ -38420,6 +39304,7 @@ func awsAwsjson11_deserializeOpDocumentReleaseStaticIpOutput(v **ReleaseStaticIp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38466,10 +39351,12 @@ func awsAwsjson11_deserializeOpDocumentResetDistributionCacheOutput(v **ResetDis } } + case "operation": if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -38478,6 +39365,7 @@ func awsAwsjson11_deserializeOpDocumentResetDistributionCacheOutput(v **ResetDis } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -38513,6 +39401,7 @@ func awsAwsjson11_deserializeOpDocumentSendContactMethodVerificationOutput(v **S if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38548,6 +39437,7 @@ func awsAwsjson11_deserializeOpDocumentSetIpAddressTypeOutput(v **SetIpAddressTy if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38583,6 +39473,7 @@ func awsAwsjson11_deserializeOpDocumentSetResourceAccessForBucketOutput(v **SetR if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38618,6 +39509,7 @@ func awsAwsjson11_deserializeOpDocumentSetupInstanceHttpsOutput(v **SetupInstanc if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38653,6 +39545,7 @@ func awsAwsjson11_deserializeOpDocumentStartGUISessionOutput(v **StartGUISession if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38688,6 +39581,7 @@ func awsAwsjson11_deserializeOpDocumentStartInstanceOutput(v **StartInstanceOutp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38723,6 +39617,7 @@ func awsAwsjson11_deserializeOpDocumentStartRelationalDatabaseOutput(v **StartRe if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38758,6 +39653,7 @@ func awsAwsjson11_deserializeOpDocumentStopGUISessionOutput(v **StopGUISessionOu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38793,6 +39689,7 @@ func awsAwsjson11_deserializeOpDocumentStopInstanceOutput(v **StopInstanceOutput if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38828,6 +39725,7 @@ func awsAwsjson11_deserializeOpDocumentStopRelationalDatabaseOutput(v **StopRela if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38863,6 +39761,7 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38898,6 +39797,7 @@ func awsAwsjson11_deserializeOpDocumentTestAlarmOutput(v **TestAlarmOutput, valu if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -38933,6 +39833,7 @@ func awsAwsjson11_deserializeOpDocumentUnpeerVpcOutput(v **UnpeerVpcOutput, valu if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -38968,6 +39869,7 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39003,6 +39905,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBucketBundleOutput(v **UpdateBucket if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39038,10 +39941,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateBucketOutput(v **UpdateBucketOutput if err := awsAwsjson11_deserializeDocumentBucket(&sv.Bucket, value); err != nil { return err } + case "operations": if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39077,6 +39982,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateContainerServiceOutput(v **UpdateCo if err := awsAwsjson11_deserializeDocumentContainerService(&sv.ContainerService, value); err != nil { return err } + default: _, _ = key, value @@ -39112,6 +40018,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDistributionBundleOutput(v **Update if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -39147,6 +40054,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDistributionOutput(v **UpdateDistri if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -39182,6 +40090,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainEntryOutput(v **UpdateDomainE if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39217,6 +40126,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateInstanceMetadataOptionsOutput(v **U if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -39252,6 +40162,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateLoadBalancerAttributeOutput(v **Upd if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39287,6 +40198,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRelationalDatabaseOutput(v **Update if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -39322,6 +40234,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRelationalDatabaseParametersOutput( if err := awsAwsjson11_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/location/deserializers.go b/service/location/deserializers.go index a4088cd28a2..2f73f0353a5 100644 --- a/service/location/deserializers.go +++ b/service/location/deserializers.go @@ -291,6 +291,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDevicePositionHistoryOutput(v if err := awsRestjson1_deserializeDocumentBatchDeleteDevicePositionHistoryErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -454,6 +455,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteGeofenceOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentBatchDeleteGeofenceErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -617,6 +619,7 @@ func awsRestjson1_deserializeOpDocumentBatchEvaluateGeofencesOutput(v **BatchEva if err := awsRestjson1_deserializeDocumentBatchEvaluateGeofencesErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -780,10 +783,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetDevicePositionOutput(v **BatchGet if err := awsRestjson1_deserializeDocumentDevicePositionList(&sv.DevicePositions, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentBatchGetDevicePositionErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -947,10 +952,12 @@ func awsRestjson1_deserializeOpDocumentBatchPutGeofenceOutput(v **BatchPutGeofen if err := awsRestjson1_deserializeDocumentBatchPutGeofenceErrorList(&sv.Errors, value); err != nil { return err } + case "Successes": if err := awsRestjson1_deserializeDocumentBatchPutGeofenceSuccessList(&sv.Successes, value); err != nil { return err } + default: _, _ = key, value @@ -1114,6 +1121,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateDevicePositionOutput(v **Batch if err := awsRestjson1_deserializeDocumentBatchUpdateDevicePositionErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -1277,10 +1285,12 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteOutput(v **CalculateRouteOu if err := awsRestjson1_deserializeDocumentLegList(&sv.Legs, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentCalculateRouteSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -1444,18 +1454,22 @@ func awsRestjson1_deserializeOpDocumentCalculateRouteMatrixOutput(v **CalculateR if err := awsRestjson1_deserializeDocumentRouteMatrix(&sv.RouteMatrix, value); err != nil { return err } + case "SnappedDeparturePositions": if err := awsRestjson1_deserializeDocumentPositionList(&sv.SnappedDeparturePositions, value); err != nil { return err } + case "SnappedDestinationPositions": if err := awsRestjson1_deserializeDocumentPositionList(&sv.SnappedDestinationPositions, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -1626,6 +1640,7 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CollectionArn = ptr.String(jtv) } + case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -1634,6 +1649,7 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CollectionName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -1646,6 +1662,7 @@ func awsRestjson1_deserializeOpDocumentCreateGeofenceCollectionOutput(v **Create } sv.CreateTime = ptr.Time(t) } + default: _, _ = key, value @@ -1820,6 +1837,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.CreateTime = ptr.Time(t) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -1828,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.Key = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1836,6 +1855,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.KeyArn = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -1844,6 +1864,7 @@ func awsRestjson1_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu } sv.KeyName = ptr.String(jtv) } + default: _, _ = key, value @@ -2018,6 +2039,7 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.CreateTime = ptr.Time(t) } + case "MapArn": if value != nil { jtv, ok := value.(string) @@ -2026,6 +2048,7 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.MapArn = ptr.String(jtv) } + case "MapName": if value != nil { jtv, ok := value.(string) @@ -2034,6 +2057,7 @@ func awsRestjson1_deserializeOpDocumentCreateMapOutput(v **CreateMapOutput, valu } sv.MapName = ptr.String(jtv) } + default: _, _ = key, value @@ -2208,6 +2232,7 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.CreateTime = ptr.Time(t) } + case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -2216,6 +2241,7 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -2224,6 +2250,7 @@ func awsRestjson1_deserializeOpDocumentCreatePlaceIndexOutput(v **CreatePlaceInd } sv.IndexName = ptr.String(jtv) } + default: _, _ = key, value @@ -2394,6 +2421,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CalculatorArn = ptr.String(jtv) } + case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -2402,6 +2430,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CalculatorName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -2414,6 +2443,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteCalculatorOutput(v **CreateRou } sv.CreateTime = ptr.Time(t) } + default: _, _ = key, value @@ -2588,6 +2618,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.CreateTime = ptr.Time(t) } + case "TrackerArn": if value != nil { jtv, ok := value.(string) @@ -2596,6 +2627,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.TrackerArn = ptr.String(jtv) } + case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -2604,6 +2636,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrackerOutput(v **CreateTrackerOutp } sv.TrackerName = ptr.String(jtv) } + default: _, _ = key, value @@ -3371,6 +3404,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CollectionArn = ptr.String(jtv) } + case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -3379,6 +3413,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CollectionName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -3391,6 +3426,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3435,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.Description = ptr.String(jtv) } + case "GeofenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -3411,6 +3448,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.GeofenceCount = ptr.Int32(int32(i64)) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3419,6 +3457,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.KmsKeyId = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -3427,6 +3466,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.PricingPlan = types.PricingPlan(jtv) } + case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -3435,10 +3475,12 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.PricingPlanDataSource = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3451,6 +3493,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGeofenceCollectionOutput(v **Desc } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -3622,6 +3665,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3630,6 +3674,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.Description = ptr.String(jtv) } + case "ExpireTime": if value != nil { jtv, ok := value.(string) @@ -3642,6 +3687,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.ExpireTime = ptr.Time(t) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -3650,6 +3696,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.Key = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3658,6 +3705,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.KeyArn = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -3666,14 +3714,17 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.KeyName = ptr.String(jtv) } + case "Restrictions": if err := awsRestjson1_deserializeDocumentApiKeyRestrictions(&sv.Restrictions, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3686,6 +3737,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyOutput(v **DescribeKeyOutput, } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -3849,6 +3901,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, if err := awsRestjson1_deserializeDocumentMapConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -3861,6 +3914,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -3869,6 +3923,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.DataSource = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3877,6 +3932,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.Description = ptr.String(jtv) } + case "MapArn": if value != nil { jtv, ok := value.(string) @@ -3885,6 +3941,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.MapArn = ptr.String(jtv) } + case "MapName": if value != nil { jtv, ok := value.(string) @@ -3893,6 +3950,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.MapName = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -3901,10 +3959,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.PricingPlan = types.PricingPlan(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -3917,6 +3977,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMapOutput(v **DescribeMapOutput, } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4088,6 +4149,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -4096,10 +4158,12 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.DataSource = ptr.String(jtv) } + case "DataSourceConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4108,6 +4172,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.Description = ptr.String(jtv) } + case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -4116,6 +4181,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -4124,6 +4190,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.IndexName = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4132,10 +4199,12 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.PricingPlan = types.PricingPlan(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4148,6 +4217,7 @@ func awsRestjson1_deserializeOpDocumentDescribePlaceIndexOutput(v **DescribePlac } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4315,6 +4385,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CalculatorArn = ptr.String(jtv) } + case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -4323,6 +4394,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CalculatorName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -4335,6 +4407,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -4343,6 +4416,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.DataSource = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4351,6 +4425,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.Description = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4359,10 +4434,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.PricingPlan = types.PricingPlan(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4375,6 +4452,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRouteCalculatorOutput(v **Describ } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4546,6 +4624,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4554,6 +4633,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.Description = ptr.String(jtv) } + case "EventBridgeEnabled": if value != nil { jtv, ok := value.(bool) @@ -4562,6 +4642,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.EventBridgeEnabled = ptr.Bool(jtv) } + case "KmsKeyEnableGeospatialQueries": if value != nil { jtv, ok := value.(bool) @@ -4570,6 +4651,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.KmsKeyEnableGeospatialQueries = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4578,6 +4660,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.KmsKeyId = ptr.String(jtv) } + case "PositionFiltering": if value != nil { jtv, ok := value.(string) @@ -4586,6 +4669,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PositionFiltering = types.PositionFiltering(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -4594,6 +4678,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PricingPlan = types.PricingPlan(jtv) } + case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -4602,10 +4687,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.PricingPlanDataSource = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TrackerArn": if value != nil { jtv, ok := value.(string) @@ -4614,6 +4701,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.TrackerArn = ptr.String(jtv) } + case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -4622,6 +4710,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.TrackerName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -4634,6 +4723,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTrackerOutput(v **DescribeTracker } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4901,10 +4991,12 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.DistanceUnit = types.DistanceUnit(jtv) } + case "ForecastedEvents": if err := awsRestjson1_deserializeDocumentForecastedEventsList(&sv.ForecastedEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4913,6 +5005,7 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.NextToken = ptr.String(jtv) } + case "SpeedUnit": if value != nil { jtv, ok := value.(string) @@ -4921,6 +5014,7 @@ func awsRestjson1_deserializeOpDocumentForecastGeofenceEventsOutput(v **Forecast } sv.SpeedUnit = types.SpeedUnit(jtv) } + default: _, _ = key, value @@ -5084,6 +5178,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -5092,14 +5187,17 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.DeviceId = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } + case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -5112,6 +5210,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.ReceivedTime = ptr.Time(t) } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -5124,6 +5223,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionOutput(v **GetDevicePosi } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -5287,6 +5387,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionHistoryOutput(v **GetDev if err := awsRestjson1_deserializeDocumentDevicePositionList(&sv.DevicePositions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5295,6 +5396,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicePositionHistoryOutput(v **GetDev } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5466,6 +5568,7 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.CreateTime = ptr.Time(t) } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -5474,14 +5577,17 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.GeofenceId = ptr.String(jtv) } + case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } + case "Geometry": if err := awsRestjson1_deserializeDocumentGeofenceGeometry(&sv.Geometry, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5490,6 +5596,7 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.Status = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -5502,6 +5609,7 @@ func awsRestjson1_deserializeOpDocumentGetGeofenceOutput(v **GetGeofenceOutput, } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -6261,6 +6369,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaceOutput(v **GetPlaceOutput, value if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } + default: _, _ = key, value @@ -6421,6 +6530,7 @@ func awsRestjson1_deserializeOpDocumentListDevicePositionsOutput(v **ListDeviceP if err := awsRestjson1_deserializeDocumentListDevicePositionsResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6429,6 +6539,7 @@ func awsRestjson1_deserializeOpDocumentListDevicePositionsOutput(v **ListDeviceP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6589,6 +6700,7 @@ func awsRestjson1_deserializeOpDocumentListGeofenceCollectionsOutput(v **ListGeo if err := awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6597,6 +6709,7 @@ func awsRestjson1_deserializeOpDocumentListGeofenceCollectionsOutput(v **ListGeo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6760,6 +6873,7 @@ func awsRestjson1_deserializeOpDocumentListGeofencesOutput(v **ListGeofencesOutp if err := awsRestjson1_deserializeDocumentListGeofenceResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6768,6 +6882,7 @@ func awsRestjson1_deserializeOpDocumentListGeofencesOutput(v **ListGeofencesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6928,6 +7043,7 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsRestjson1_deserializeDocumentListKeysResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6936,6 +7052,7 @@ func awsRestjson1_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7096,6 +7213,7 @@ func awsRestjson1_deserializeOpDocumentListMapsOutput(v **ListMapsOutput, value if err := awsRestjson1_deserializeDocumentListMapsResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7104,6 +7222,7 @@ func awsRestjson1_deserializeOpDocumentListMapsOutput(v **ListMapsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7264,6 +7383,7 @@ func awsRestjson1_deserializeOpDocumentListPlaceIndexesOutput(v **ListPlaceIndex if err := awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7392,7 @@ func awsRestjson1_deserializeOpDocumentListPlaceIndexesOutput(v **ListPlaceIndex } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7432,6 +7553,7 @@ func awsRestjson1_deserializeOpDocumentListRouteCalculatorsOutput(v **ListRouteC if err := awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7440,6 +7562,7 @@ func awsRestjson1_deserializeOpDocumentListRouteCalculatorsOutput(v **ListRouteC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7603,6 +7726,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7766,6 +7890,7 @@ func awsRestjson1_deserializeOpDocumentListTrackerConsumersOutput(v **ListTracke if err := awsRestjson1_deserializeDocumentArnList(&sv.ConsumerArns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7774,6 +7899,7 @@ func awsRestjson1_deserializeOpDocumentListTrackerConsumersOutput(v **ListTracke } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7934,6 +8060,7 @@ func awsRestjson1_deserializeOpDocumentListTrackersOutput(v **ListTrackersOutput if err := awsRestjson1_deserializeDocumentListTrackersResponseEntryList(&sv.Entries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7942,6 +8069,7 @@ func awsRestjson1_deserializeOpDocumentListTrackersOutput(v **ListTrackersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8116,6 +8244,7 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.CreateTime = ptr.Time(t) } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -8124,6 +8253,7 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.GeofenceId = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -8136,6 +8266,7 @@ func awsRestjson1_deserializeOpDocumentPutGeofenceOutput(v **PutGeofenceOutput, } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -8299,10 +8430,12 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForPositionOutput(v **Sea if err := awsRestjson1_deserializeDocumentSearchForPositionResultList(&sv.Results, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -8466,10 +8599,12 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForSuggestionsOutput(v ** if err := awsRestjson1_deserializeDocumentSearchForSuggestionsResultList(&sv.Results, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -8633,10 +8768,12 @@ func awsRestjson1_deserializeOpDocumentSearchPlaceIndexForTextOutput(v **SearchP if err := awsRestjson1_deserializeDocumentSearchForTextResultList(&sv.Results, value); err != nil { return err } + case "Summary": if err := awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -9004,6 +9141,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.CollectionArn = ptr.String(jtv) } + case "CollectionName": if value != nil { jtv, ok := value.(string) @@ -9012,6 +9150,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.CollectionName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9024,6 +9163,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGeofenceCollectionOutput(v **Update } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -9191,6 +9331,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.KeyArn = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -9199,6 +9340,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.KeyName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9211,6 +9353,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyOutput(v **UpdateKeyOutput, valu } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -9378,6 +9521,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.MapArn = ptr.String(jtv) } + case "MapName": if value != nil { jtv, ok := value.(string) @@ -9386,6 +9530,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.MapName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9398,6 +9543,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMapOutput(v **UpdateMapOutput, valu } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -9565,6 +9711,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -9573,6 +9720,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.IndexName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9585,6 +9733,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePlaceIndexOutput(v **UpdatePlaceInd } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -9752,6 +9901,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.CalculatorArn = ptr.String(jtv) } + case "CalculatorName": if value != nil { jtv, ok := value.(string) @@ -9760,6 +9910,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.CalculatorName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9772,6 +9923,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteCalculatorOutput(v **UpdateRou } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -9939,6 +10091,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.TrackerArn = ptr.String(jtv) } + case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -9947,6 +10100,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.TrackerName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -9959,6 +10113,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTrackerOutput(v **UpdateTrackerOutp } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -10126,6 +10281,7 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.DeviceId = ptr.String(jtv) } + case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -10134,10 +10290,12 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.DistanceUnit = types.DistanceUnit(jtv) } + case "InferredState": if err := awsRestjson1_deserializeDocumentInferredState(&sv.InferredState, value); err != nil { return err } + case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -10150,6 +10308,7 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.ReceivedTime = ptr.Time(t) } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -10162,6 +10321,7 @@ func awsRestjson1_deserializeOpDocumentVerifyDevicePositionOutput(v **VerifyDevi } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -10453,6 +10613,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10524,14 +10685,17 @@ func awsRestjson1_deserializeDocumentApiKeyRestrictions(v **types.ApiKeyRestrict if err := awsRestjson1_deserializeDocumentApiKeyActionList(&sv.AllowActions, value); err != nil { return err } + case "AllowReferers": if err := awsRestjson1_deserializeDocumentRefererPatternList(&sv.AllowReferers, value); err != nil { return err } + case "AllowResources": if err := awsRestjson1_deserializeDocumentGeoArnList(&sv.AllowResources, value); err != nil { return err } + default: _, _ = key, value @@ -10607,10 +10771,12 @@ func awsRestjson1_deserializeDocumentBatchDeleteDevicePositionHistoryError(v **t } sv.DeviceId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -10680,6 +10846,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteGeofenceError(v **types.BatchDel if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -10688,6 +10855,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteGeofenceError(v **types.BatchDel } sv.GeofenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10761,10 +10929,12 @@ func awsRestjson1_deserializeDocumentBatchEvaluateGeofencesError(v **types.Batch } sv.DeviceId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -10777,6 +10947,7 @@ func awsRestjson1_deserializeDocumentBatchEvaluateGeofencesError(v **types.Batch } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -10850,10 +11021,12 @@ func awsRestjson1_deserializeDocumentBatchGetDevicePositionError(v **types.Batch } sv.DeviceId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -10927,6 +11100,7 @@ func awsRestjson1_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Code = types.BatchItemErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10935,6 +11109,7 @@ func awsRestjson1_deserializeDocumentBatchItemError(v **types.BatchItemError, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10970,6 +11145,7 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceError(v **types.BatchPutGeo if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -10978,6 +11154,7 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceError(v **types.BatchPutGeo } sv.GeofenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -11055,6 +11232,7 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.CreateTime = ptr.Time(t) } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -11063,6 +11241,7 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.GeofenceId = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -11075,6 +11254,7 @@ func awsRestjson1_deserializeDocumentBatchPutGeofenceSuccess(v **types.BatchPutG } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -11148,10 +11328,12 @@ func awsRestjson1_deserializeDocumentBatchUpdateDevicePositionError(v **types.Ba } sv.DeviceId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentBatchItemError(&sv.Error, value); err != nil { return err } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -11164,6 +11346,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateDevicePositionError(v **types.Ba } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -11298,6 +11481,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.DataSource = ptr.String(jtv) } + case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -11306,6 +11490,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.DistanceUnit = types.DistanceUnit(jtv) } + case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -11318,6 +11503,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.ErrorCount = ptr.Int32(int32(i64)) } + case "RouteCount": if value != nil { jtv, ok := value.(json.Number) @@ -11330,6 +11516,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteMatrixSummary(v **types.Calcu } sv.RouteCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11369,6 +11556,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } sv.DataSource = ptr.String(jtv) } + case "Distance": if value != nil { switch jtv := value.(type) { @@ -11402,6 +11590,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } } + case "DistanceUnit": if value != nil { jtv, ok := value.(string) @@ -11410,6 +11599,7 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } sv.DistanceUnit = types.DistanceUnit(jtv) } + case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -11443,10 +11633,12 @@ func awsRestjson1_deserializeDocumentCalculateRouteSummary(v **types.CalculateRo } } + case "RouteBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.RouteBBox, value); err != nil { return err } + default: _, _ = key, value @@ -11482,6 +11674,7 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) if err := awsRestjson1_deserializeDocumentPosition(&sv.Center, value); err != nil { return err } + case "Radius": if value != nil { switch jtv := value.(type) { @@ -11515,6 +11708,7 @@ func awsRestjson1_deserializeDocumentCircle(v **types.Circle, value interface{}) } } + default: _, _ = key, value @@ -11554,6 +11748,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11665,6 +11860,7 @@ func awsRestjson1_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.IntendedUse = types.IntendedUse(jtv) } + default: _, _ = key, value @@ -11700,6 +11896,7 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -11708,14 +11905,17 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.DeviceId = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } + case "ReceivedTime": if value != nil { jtv, ok := value.(string) @@ -11728,6 +11928,7 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.ReceivedTime = ptr.Time(t) } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -11740,6 +11941,7 @@ func awsRestjson1_deserializeDocumentDevicePosition(v **types.DevicePosition, va } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -11849,6 +12051,7 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.EventId = ptr.String(jtv) } + case "EventType": if value != nil { jtv, ok := value.(string) @@ -11857,6 +12060,7 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.EventType = types.ForecastedGeofenceEventType(jtv) } + case "ForecastedBreachTime": if value != nil { jtv, ok := value.(string) @@ -11869,6 +12073,7 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.ForecastedBreachTime = ptr.Time(t) } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -11877,10 +12082,12 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.GeofenceId = ptr.String(jtv) } + case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } + case "IsDeviceInGeofence": if value != nil { jtv, ok := value.(bool) @@ -11889,6 +12096,7 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } sv.IsDeviceInGeofence = ptr.Bool(jtv) } + case "NearestDistance": if value != nil { switch jtv := value.(type) { @@ -11922,6 +12130,7 @@ func awsRestjson1_deserializeDocumentForecastedEvent(v **types.ForecastedEvent, } } + default: _, _ = key, value @@ -12027,6 +12236,7 @@ func awsRestjson1_deserializeDocumentGeofenceGeometry(v **types.GeofenceGeometry if err := awsRestjson1_deserializeDocumentCircle(&sv.Circle, value); err != nil { return err } + case "Geobuf": if value != nil { jtv, ok := value.(string) @@ -12039,10 +12249,12 @@ func awsRestjson1_deserializeDocumentGeofenceGeometry(v **types.GeofenceGeometry } sv.Geobuf = dv } + case "Polygon": if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -12078,6 +12290,7 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } + case "DeviationDistance": if value != nil { switch jtv := value.(type) { @@ -12111,10 +12324,12 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu } } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "ProxyDetected": if value != nil { jtv, ok := value.(bool) @@ -12123,6 +12338,7 @@ func awsRestjson1_deserializeDocumentInferredState(v **types.InferredState, valu } sv.ProxyDetected = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12162,6 +12378,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12226,6 +12443,7 @@ func awsRestjson1_deserializeDocumentLeg(v **types.Leg, value interface{}) error } } + case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -12259,22 +12477,27 @@ func awsRestjson1_deserializeDocumentLeg(v **types.Leg, value interface{}) error } } + case "EndPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.EndPosition, value); err != nil { return err } + case "Geometry": if err := awsRestjson1_deserializeDocumentLegGeometry(&sv.Geometry, value); err != nil { return err } + case "StartPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.StartPosition, value); err != nil { return err } + case "Steps": if err := awsRestjson1_deserializeDocumentStepList(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -12310,6 +12533,7 @@ func awsRestjson1_deserializeDocumentLegGeometry(v **types.LegGeometry, value in if err := awsRestjson1_deserializeDocumentLineString(&sv.LineString, value); err != nil { return err } + default: _, _ = key, value @@ -12475,6 +12699,7 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. if err := awsRestjson1_deserializeDocumentPositionalAccuracy(&sv.Accuracy, value); err != nil { return err } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -12483,14 +12708,17 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. } sv.DeviceId = ptr.String(jtv) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "PositionProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.PositionProperties, value); err != nil { return err } + case "SampleTime": if value != nil { jtv, ok := value.(string) @@ -12503,6 +12731,7 @@ func awsRestjson1_deserializeDocumentListDevicePositionsResponseEntry(v **types. } sv.SampleTime = ptr.Time(t) } + default: _, _ = key, value @@ -12576,6 +12805,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.CollectionName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -12588,6 +12818,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12596,6 +12827,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.Description = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -12604,6 +12836,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.PricingPlan = types.PricingPlan(jtv) } + case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -12612,6 +12845,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.PricingPlanDataSource = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -12624,6 +12858,7 @@ func awsRestjson1_deserializeDocumentListGeofenceCollectionsResponseEntry(v **ty } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -12701,6 +12936,7 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.CreateTime = ptr.Time(t) } + case "GeofenceId": if value != nil { jtv, ok := value.(string) @@ -12709,14 +12945,17 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.GeofenceId = ptr.String(jtv) } + case "GeofenceProperties": if err := awsRestjson1_deserializeDocumentPropertyMap(&sv.GeofenceProperties, value); err != nil { return err } + case "Geometry": if err := awsRestjson1_deserializeDocumentGeofenceGeometry(&sv.Geometry, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12725,6 +12964,7 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.Status = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -12737,6 +12977,7 @@ func awsRestjson1_deserializeDocumentListGeofenceResponseEntry(v **types.ListGeo } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -12814,6 +13055,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12822,6 +13064,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.Description = ptr.String(jtv) } + case "ExpireTime": if value != nil { jtv, ok := value.(string) @@ -12834,6 +13077,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.ExpireTime = ptr.Time(t) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -12842,10 +13086,12 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.KeyName = ptr.String(jtv) } + case "Restrictions": if err := awsRestjson1_deserializeDocumentApiKeyRestrictions(&sv.Restrictions, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -12858,6 +13104,7 @@ func awsRestjson1_deserializeDocumentListKeysResponseEntry(v **types.ListKeysRes } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -12935,6 +13182,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -12943,6 +13191,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.DataSource = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12951,6 +13200,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.Description = ptr.String(jtv) } + case "MapName": if value != nil { jtv, ok := value.(string) @@ -12959,6 +13209,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.MapName = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -12967,6 +13218,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.PricingPlan = types.PricingPlan(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -12979,6 +13231,7 @@ func awsRestjson1_deserializeDocumentListMapsResponseEntry(v **types.ListMapsRes } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -13056,6 +13309,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -13064,6 +13318,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.DataSource = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13072,6 +13327,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.Description = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -13080,6 +13336,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.IndexName = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13088,6 +13345,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.PricingPlan = types.PricingPlan(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13100,6 +13358,7 @@ func awsRestjson1_deserializeDocumentListPlaceIndexesResponseEntry(v **types.Lis } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -13173,6 +13432,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.CalculatorName = ptr.String(jtv) } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -13185,6 +13445,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.CreateTime = ptr.Time(t) } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -13193,6 +13454,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.DataSource = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13201,6 +13463,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.Description = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13209,6 +13472,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.PricingPlan = types.PricingPlan(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13221,6 +13485,7 @@ func awsRestjson1_deserializeDocumentListRouteCalculatorsResponseEntry(v **types } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -13298,6 +13563,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.CreateTime = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13306,6 +13572,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.Description = ptr.String(jtv) } + case "PricingPlan": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13581,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.PricingPlan = types.PricingPlan(jtv) } + case "PricingPlanDataSource": if value != nil { jtv, ok := value.(string) @@ -13322,6 +13590,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.PricingPlanDataSource = ptr.String(jtv) } + case "TrackerName": if value != nil { jtv, ok := value.(string) @@ -13330,6 +13599,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.TrackerName = ptr.String(jtv) } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -13342,6 +13612,7 @@ func awsRestjson1_deserializeDocumentListTrackersResponseEntry(v **types.ListTra } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -13411,6 +13682,7 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration if err := awsRestjson1_deserializeDocumentCustomLayerList(&sv.CustomLayers, value); err != nil { return err } + case "PoliticalView": if value != nil { jtv, ok := value.(string) @@ -13419,6 +13691,7 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration } sv.PoliticalView = ptr.String(jtv) } + case "Style": if value != nil { jtv, ok := value.(string) @@ -13427,6 +13700,7 @@ func awsRestjson1_deserializeDocumentMapConfiguration(v **types.MapConfiguration } sv.Style = ptr.String(jtv) } + default: _, _ = key, value @@ -13466,10 +13740,12 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.AddressNumber = ptr.String(jtv) } + case "Categories": if err := awsRestjson1_deserializeDocumentPlaceCategoryList(&sv.Categories, value); err != nil { return err } + case "Country": if value != nil { jtv, ok := value.(string) @@ -13478,10 +13754,12 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Country = ptr.String(jtv) } + case "Geometry": if err := awsRestjson1_deserializeDocumentPlaceGeometry(&sv.Geometry, value); err != nil { return err } + case "Interpolated": if value != nil { jtv, ok := value.(bool) @@ -13490,6 +13768,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Interpolated = ptr.Bool(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -13498,6 +13777,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Label = ptr.String(jtv) } + case "Municipality": if value != nil { jtv, ok := value.(string) @@ -13506,6 +13786,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Municipality = ptr.String(jtv) } + case "Neighborhood": if value != nil { jtv, ok := value.(string) @@ -13514,6 +13795,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Neighborhood = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -13522,6 +13804,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.PostalCode = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -13530,6 +13813,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Region = ptr.String(jtv) } + case "Street": if value != nil { jtv, ok := value.(string) @@ -13538,6 +13822,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.Street = ptr.String(jtv) } + case "SubMunicipality": if value != nil { jtv, ok := value.(string) @@ -13546,6 +13831,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.SubMunicipality = ptr.String(jtv) } + case "SubRegion": if value != nil { jtv, ok := value.(string) @@ -13554,14 +13840,17 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.SubRegion = ptr.String(jtv) } + case "SupplementalCategories": if err := awsRestjson1_deserializeDocumentPlaceSupplementalCategoryList(&sv.SupplementalCategories, value); err != nil { return err } + case "TimeZone": if err := awsRestjson1_deserializeDocumentTimeZone(&sv.TimeZone, value); err != nil { return err } + case "UnitNumber": if value != nil { jtv, ok := value.(string) @@ -13570,6 +13859,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.UnitNumber = ptr.String(jtv) } + case "UnitType": if value != nil { jtv, ok := value.(string) @@ -13578,6 +13868,7 @@ func awsRestjson1_deserializeDocumentPlace(v **types.Place, value interface{}) e } sv.UnitType = ptr.String(jtv) } + default: _, _ = key, value @@ -13649,6 +13940,7 @@ func awsRestjson1_deserializeDocumentPlaceGeometry(v **types.PlaceGeometry, valu if err := awsRestjson1_deserializeDocumentPosition(&sv.Point, value); err != nil { return err } + default: _, _ = key, value @@ -13810,6 +14102,7 @@ func awsRestjson1_deserializeDocumentPositionalAccuracy(v **types.PositionalAccu } } + default: _, _ = key, value @@ -13953,6 +14246,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14049,6 +14343,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } } + case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -14082,10 +14377,12 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntry(v **types.RouteMatrixEntry } } + case "Error": if err := awsRestjson1_deserializeDocumentRouteMatrixEntryError(&sv.Error, value); err != nil { return err } + default: _, _ = key, value @@ -14125,6 +14422,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntryError(v **types.RouteMatrix } sv.Code = types.RouteMatrixErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14133,6 +14431,7 @@ func awsRestjson1_deserializeDocumentRouteMatrixEntryError(v **types.RouteMatrix } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14231,10 +14530,12 @@ func awsRestjson1_deserializeDocumentSearchForPositionResult(v **types.SearchFor } } + case "Place": if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14243,6 +14544,7 @@ func awsRestjson1_deserializeDocumentSearchForPositionResult(v **types.SearchFor } sv.PlaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -14312,6 +14614,7 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search if err := awsRestjson1_deserializeDocumentPlaceCategoryList(&sv.Categories, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14320,10 +14623,12 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search } sv.PlaceId = ptr.String(jtv) } + case "SupplementalCategories": if err := awsRestjson1_deserializeDocumentPlaceSupplementalCategoryList(&sv.SupplementalCategories, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -14332,6 +14637,7 @@ func awsRestjson1_deserializeDocumentSearchForSuggestionsResult(v **types.Search } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -14430,10 +14736,12 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } } + case "Place": if err := awsRestjson1_deserializeDocumentPlace(&sv.Place, value); err != nil { return err } + case "PlaceId": if value != nil { jtv, ok := value.(string) @@ -14442,6 +14750,7 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } sv.PlaceId = ptr.String(jtv) } + case "Relevance": if value != nil { switch jtv := value.(type) { @@ -14475,6 +14784,7 @@ func awsRestjson1_deserializeDocumentSearchForTextResult(v **types.SearchForText } } + default: _, _ = key, value @@ -14548,6 +14858,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.DataSource = ptr.String(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -14556,6 +14867,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.Language = ptr.String(jtv) } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14568,10 +14880,12 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForPositionSummary(v **type } sv.MaxResults = ptr.Int32(int32(i64)) } + case "Position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + default: _, _ = key, value @@ -14607,6 +14921,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t if err := awsRestjson1_deserializeDocumentPosition(&sv.BiasPosition, value); err != nil { return err } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -14615,18 +14930,22 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.DataSource = ptr.String(jtv) } + case "FilterBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.FilterBBox, value); err != nil { return err } + case "FilterCategories": if err := awsRestjson1_deserializeDocumentFilterPlaceCategoryList(&sv.FilterCategories, value); err != nil { return err } + case "FilterCountries": if err := awsRestjson1_deserializeDocumentCountryCodeList(&sv.FilterCountries, value); err != nil { return err } + case "Language": if value != nil { jtv, ok := value.(string) @@ -14635,6 +14954,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.Language = ptr.String(jtv) } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14647,6 +14967,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.MaxResults = ptr.Int32(int32(i64)) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -14655,6 +14976,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForSuggestionsSummary(v **t } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -14690,6 +15012,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se if err := awsRestjson1_deserializeDocumentPosition(&sv.BiasPosition, value); err != nil { return err } + case "DataSource": if value != nil { jtv, ok := value.(string) @@ -14698,18 +15021,22 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.DataSource = ptr.String(jtv) } + case "FilterBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.FilterBBox, value); err != nil { return err } + case "FilterCategories": if err := awsRestjson1_deserializeDocumentFilterPlaceCategoryList(&sv.FilterCategories, value); err != nil { return err } + case "FilterCountries": if err := awsRestjson1_deserializeDocumentCountryCodeList(&sv.FilterCountries, value); err != nil { return err } + case "Language": if value != nil { jtv, ok := value.(string) @@ -14718,6 +15045,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.Language = ptr.String(jtv) } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14730,10 +15058,12 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.MaxResults = ptr.Int32(int32(i64)) } + case "ResultBBox": if err := awsRestjson1_deserializeDocumentBoundingBox(&sv.ResultBBox, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -14742,6 +15072,7 @@ func awsRestjson1_deserializeDocumentSearchPlaceIndexForTextSummary(v **types.Se } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -14781,6 +15112,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14845,6 +15177,7 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } + case "DurationSeconds": if value != nil { switch jtv := value.(type) { @@ -14878,10 +15211,12 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } } + case "EndPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.EndPosition, value); err != nil { return err } + case "GeometryOffset": if value != nil { jtv, ok := value.(json.Number) @@ -14894,10 +15229,12 @@ func awsRestjson1_deserializeDocumentStep(v **types.Step, value interface{}) err } sv.GeometryOffset = ptr.Int32(int32(i64)) } + case "StartPosition": if err := awsRestjson1_deserializeDocumentPosition(&sv.StartPosition, value); err != nil { return err } + default: _, _ = key, value @@ -15007,6 +15344,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15046,6 +15384,7 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Name = ptr.String(jtv) } + case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -15058,6 +15397,7 @@ func awsRestjson1_deserializeDocumentTimeZone(v **types.TimeZone, value interfac } sv.Offset = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15093,6 +15433,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15101,6 +15442,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -15109,6 +15451,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -15148,6 +15491,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15156,6 +15500,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lookoutequipment/deserializers.go b/service/lookoutequipment/deserializers.go index 5b5491aaf63..443371f71bb 100644 --- a/service/lookoutequipment/deserializers.go +++ b/service/lookoutequipment/deserializers.go @@ -6172,6 +6172,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6215,6 +6216,7 @@ func awsAwsjson10_deserializeDocumentCategoricalValues(v **types.CategoricalValu } sv.NumberOfCategory = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6223,6 +6225,7 @@ func awsAwsjson10_deserializeDocumentCategoricalValues(v **types.CategoricalValu } sv.Status = types.StatisticalIssueStatus(jtv) } + default: _, _ = key, value @@ -6262,6 +6265,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6305,6 +6309,7 @@ func awsAwsjson10_deserializeDocumentCountPercent(v **types.CountPercent, value } sv.Count = ptr.Int32(int32(i64)) } + case "Percentage": if value != nil { switch jtv := value.(type) { @@ -6338,6 +6343,7 @@ func awsAwsjson10_deserializeDocumentCountPercent(v **types.CountPercent, value } } + default: _, _ = key, value @@ -6411,6 +6417,7 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -6419,10 +6426,12 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.DatasetName = ptr.String(jtv) } + case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -6431,6 +6440,7 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.JobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6439,6 +6449,7 @@ func awsAwsjson10_deserializeDocumentDataIngestionJobSummary(v **types.DataInges } sv.Status = types.IngestionJobStatus(jtv) } + default: _, _ = key, value @@ -6478,6 +6489,7 @@ func awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(v **types.Da } sv.TargetSamplingRate = types.TargetSamplingRate(jtv) } + default: _, _ = key, value @@ -6513,22 +6525,27 @@ func awsAwsjson10_deserializeDocumentDataQualitySummary(v **types.DataQualitySum if err := awsAwsjson10_deserializeDocumentDuplicateTimestamps(&sv.DuplicateTimestamps, value); err != nil { return err } + case "InsufficientSensorData": if err := awsAwsjson10_deserializeDocumentInsufficientSensorData(&sv.InsufficientSensorData, value); err != nil { return err } + case "InvalidSensorData": if err := awsAwsjson10_deserializeDocumentInvalidSensorData(&sv.InvalidSensorData, value); err != nil { return err } + case "MissingSensorData": if err := awsAwsjson10_deserializeDocumentMissingSensorData(&sv.MissingSensorData, value); err != nil { return err } + case "UnsupportedTimestamps": if err := awsAwsjson10_deserializeDocumentUnsupportedTimestamps(&sv.UnsupportedTimestamps, value); err != nil { return err } + default: _, _ = key, value @@ -6609,6 +6626,7 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -6617,6 +6635,7 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -6625,6 +6644,7 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6633,6 +6653,7 @@ func awsAwsjson10_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -6676,6 +6697,7 @@ func awsAwsjson10_deserializeDocumentDuplicateTimestamps(v **types.DuplicateTime } sv.TotalNumberOfDuplicateTimestamps = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6785,6 +6807,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.Diagnostics = ptr.String(jtv) } + case "EventDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6797,6 +6820,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.EventDurationInSeconds = ptr.Int64(i64) } + case "EventEndTime": if value != nil { switch jtv := value.(type) { @@ -6812,6 +6836,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } } + case "EventStartTime": if value != nil { switch jtv := value.(type) { @@ -6827,6 +6852,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } } + case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -6835,6 +6861,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -6843,6 +6870,7 @@ func awsAwsjson10_deserializeDocumentInferenceEventSummary(v **types.InferenceEv } sv.InferenceSchedulerName = ptr.String(jtv) } + default: _, _ = key, value @@ -6912,6 +6940,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen if err := awsAwsjson10_deserializeDocumentS3Object(&sv.CustomerResultObject, value); err != nil { return err } + case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -6927,14 +6956,17 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } + case "DataInputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceInputConfiguration(&sv.DataInputConfiguration, value); err != nil { return err } + case "DataOutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(&sv.DataOutputConfiguration, value); err != nil { return err } + case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -6950,6 +6982,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } + case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -6958,6 +6991,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.FailedReason = ptr.String(jtv) } + case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -6966,6 +7000,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -6974,6 +7009,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.InferenceSchedulerName = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -6982,6 +7018,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -6990,6 +7027,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7002,6 +7040,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelVersion = ptr.Int64(i64) } + case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -7010,6 +7049,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.ModelVersionArn = ptr.String(jtv) } + case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -7025,6 +7065,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7033,6 +7074,7 @@ func awsAwsjson10_deserializeDocumentInferenceExecutionSummary(v **types.Inferen } sv.Status = types.InferenceExecutionStatus(jtv) } + default: _, _ = key, value @@ -7068,6 +7110,7 @@ func awsAwsjson10_deserializeDocumentInferenceInputConfiguration(v **types.Infer if err := awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(&sv.InferenceInputNameConfiguration, value); err != nil { return err } + case "InputTimeZoneOffset": if value != nil { jtv, ok := value.(string) @@ -7076,10 +7119,12 @@ func awsAwsjson10_deserializeDocumentInferenceInputConfiguration(v **types.Infer } sv.InputTimeZoneOffset = ptr.String(jtv) } + case "S3InputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7119,6 +7164,7 @@ func awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(v **types.I } sv.ComponentTimestampDelimiter = ptr.String(jtv) } + case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -7127,6 +7173,7 @@ func awsAwsjson10_deserializeDocumentInferenceInputNameConfiguration(v **types.I } sv.TimestampFormat = ptr.String(jtv) } + default: _, _ = key, value @@ -7166,10 +7213,12 @@ func awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(v **types.Infe } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(&sv.S3OutputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7209,6 +7258,7 @@ func awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(v **types.Inf } sv.Bucket = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7217,6 +7267,7 @@ func awsAwsjson10_deserializeDocumentInferenceS3InputConfiguration(v **types.Inf } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7256,6 +7307,7 @@ func awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(v **types.In } sv.Bucket = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7264,6 +7316,7 @@ func awsAwsjson10_deserializeDocumentInferenceS3OutputConfiguration(v **types.In } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7341,6 +7394,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.DataDelayOffsetInMinutes = ptr.Int64(i64) } + case "DataUploadFrequency": if value != nil { jtv, ok := value.(string) @@ -7349,6 +7403,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.DataUploadFrequency = types.DataUploadFrequency(jtv) } + case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -7357,6 +7412,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -7365,6 +7421,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.InferenceSchedulerName = ptr.String(jtv) } + case "LatestInferenceResult": if value != nil { jtv, ok := value.(string) @@ -7373,6 +7430,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.LatestInferenceResult = types.LatestInferenceResult(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -7381,6 +7439,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -7389,6 +7448,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7397,6 +7457,7 @@ func awsAwsjson10_deserializeDocumentInferenceSchedulerSummary(v **types.Inferen } sv.Status = types.InferenceSchedulerStatus(jtv) } + default: _, _ = key, value @@ -7432,6 +7493,7 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile if err := awsAwsjson10_deserializeDocumentListOfDiscardedFiles(&sv.DiscardedFiles, value); err != nil { return err } + case "IngestedNumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -7444,6 +7506,7 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile } sv.IngestedNumberOfFiles = ptr.Int32(int32(i64)) } + case "TotalNumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -7456,6 +7519,7 @@ func awsAwsjson10_deserializeDocumentIngestedFilesSummary(v **types.IngestedFile } sv.TotalNumberOfFiles = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7491,6 +7555,7 @@ func awsAwsjson10_deserializeDocumentIngestionInputConfiguration(v **types.Inges if err := awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7530,6 +7595,7 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.Bucket = ptr.String(jtv) } + case "KeyPattern": if value != nil { jtv, ok := value.(string) @@ -7538,6 +7604,7 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.KeyPattern = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7546,6 +7613,7 @@ func awsAwsjson10_deserializeDocumentIngestionS3InputConfiguration(v **types.Ing } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7581,10 +7649,12 @@ func awsAwsjson10_deserializeDocumentInsufficientSensorData(v **types.Insufficie if err := awsAwsjson10_deserializeDocumentMissingCompleteSensorData(&sv.MissingCompleteSensorData, value); err != nil { return err } + case "SensorsWithShortDateRange": if err := awsAwsjson10_deserializeDocumentSensorsWithShortDateRange(&sv.SensorsWithShortDateRange, value); err != nil { return err } + default: _, _ = key, value @@ -7624,6 +7694,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7667,6 +7738,7 @@ func awsAwsjson10_deserializeDocumentInvalidSensorData(v **types.InvalidSensorDa } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } + case "TotalNumberOfInvalidValues": if value != nil { jtv, ok := value.(json.Number) @@ -7679,6 +7751,7 @@ func awsAwsjson10_deserializeDocumentInvalidSensorData(v **types.InvalidSensorDa } sv.TotalNumberOfInvalidValues = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7759,6 +7832,7 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } } + case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -7767,6 +7841,7 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } sv.LabelGroupArn = ptr.String(jtv) } + case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -7775,6 +7850,7 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } sv.LabelGroupName = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7790,6 +7866,7 @@ func awsAwsjson10_deserializeDocumentLabelGroupSummary(v **types.LabelGroupSumma } } + default: _, _ = key, value @@ -7829,10 +7906,12 @@ func awsAwsjson10_deserializeDocumentLabelsInputConfiguration(v **types.LabelsIn } sv.LabelGroupName = ptr.String(jtv) } + case "S3InputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(&sv.S3InputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7872,6 +7951,7 @@ func awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(v **types.Labels } sv.Bucket = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -7880,6 +7960,7 @@ func awsAwsjson10_deserializeDocumentLabelsS3InputConfiguration(v **types.Labels } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7960,6 +8041,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7975,6 +8057,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } + case "Equipment": if value != nil { jtv, ok := value.(string) @@ -7983,6 +8066,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Equipment = ptr.String(jtv) } + case "FaultCode": if value != nil { jtv, ok := value.(string) @@ -7991,6 +8075,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.FaultCode = ptr.String(jtv) } + case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -7999,6 +8084,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelGroupArn = ptr.String(jtv) } + case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -8007,6 +8093,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelGroupName = ptr.String(jtv) } + case "LabelId": if value != nil { jtv, ok := value.(string) @@ -8015,6 +8102,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.LabelId = ptr.String(jtv) } + case "Rating": if value != nil { jtv, ok := value.(string) @@ -8023,6 +8111,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Rating = types.LabelRating(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8038,6 +8127,7 @@ func awsAwsjson10_deserializeDocumentLabelSummary(v **types.LabelSummary, value } } + default: _, _ = key, value @@ -8081,6 +8171,7 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.MaxTimestampGapInDays = ptr.Int32(int32(i64)) } + case "NumberOfLargeTimestampGaps": if value != nil { jtv, ok := value.(json.Number) @@ -8093,6 +8184,7 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.NumberOfLargeTimestampGaps = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8101,6 +8193,7 @@ func awsAwsjson10_deserializeDocumentLargeTimestampGaps(v **types.LargeTimestamp } sv.Status = types.StatisticalIssueStatus(jtv) } + default: _, _ = key, value @@ -8178,6 +8271,7 @@ func awsAwsjson10_deserializeDocumentMissingCompleteSensorData(v **types.Missing } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8221,6 +8315,7 @@ func awsAwsjson10_deserializeDocumentMissingSensorData(v **types.MissingSensorDa } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } + case "TotalNumberOfMissingValues": if value != nil { jtv, ok := value.(json.Number) @@ -8233,6 +8328,7 @@ func awsAwsjson10_deserializeDocumentMissingSensorData(v **types.MissingSensorDa } sv.TotalNumberOfMissingValues = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8272,10 +8368,12 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(v **typ } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(&sv.S3OutputConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8315,6 +8413,7 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(v **t } sv.Bucket = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -8323,6 +8422,7 @@ func awsAwsjson10_deserializeDocumentModelDiagnosticsS3OutputConfiguration(v **t } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8400,6 +8500,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ActiveModelVersion = ptr.Int64(i64) } + case "ActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -8408,6 +8509,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ActiveModelVersionArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -8423,6 +8525,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -8431,6 +8534,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -8439,6 +8543,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.DatasetName = ptr.String(jtv) } + case "LatestScheduledRetrainingModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8451,6 +8556,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.LatestScheduledRetrainingModelVersion = ptr.Int64(i64) } + case "LatestScheduledRetrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -8466,6 +8572,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } + case "LatestScheduledRetrainingStatus": if value != nil { jtv, ok := value.(string) @@ -8474,6 +8581,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.LatestScheduledRetrainingStatus = types.ModelVersionStatus(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -8482,10 +8590,12 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelArn = ptr.String(jtv) } + case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -8494,6 +8604,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelName = ptr.String(jtv) } + case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -8502,6 +8613,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelQuality = types.ModelQuality(jtv) } + case "NextScheduledRetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -8517,6 +8629,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } } + case "RetrainingSchedulerStatus": if value != nil { jtv, ok := value.(string) @@ -8525,6 +8638,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.RetrainingSchedulerStatus = types.RetrainingSchedulerStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8533,6 +8647,7 @@ func awsAwsjson10_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.Status = types.ModelStatus(jtv) } + default: _, _ = key, value @@ -8613,6 +8728,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -8621,6 +8737,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -8629,6 +8746,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelName = ptr.String(jtv) } + case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -8637,6 +8755,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelQuality = types.ModelQuality(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -8649,6 +8768,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelVersion = ptr.Int64(i64) } + case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -8657,6 +8777,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.ModelVersionArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8665,6 +8786,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.SourceType = types.ModelVersionSourceType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8673,6 +8795,7 @@ func awsAwsjson10_deserializeDocumentModelVersionSummary(v **types.ModelVersionS } sv.Status = types.ModelVersionStatus(jtv) } + default: _, _ = key, value @@ -8712,6 +8835,7 @@ func awsAwsjson10_deserializeDocumentMonotonicValues(v **types.MonotonicValues, } sv.Monotonicity = types.Monotonicity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8720,6 +8844,7 @@ func awsAwsjson10_deserializeDocumentMonotonicValues(v **types.MonotonicValues, } sv.Status = types.StatisticalIssueStatus(jtv) } + default: _, _ = key, value @@ -8759,6 +8884,7 @@ func awsAwsjson10_deserializeDocumentMultipleOperatingModes(v **types.MultipleOp } sv.Status = types.StatisticalIssueStatus(jtv) } + default: _, _ = key, value @@ -8798,6 +8924,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8871,6 +8998,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.LookbackWindow = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -8879,6 +9007,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -8887,6 +9016,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.ModelName = ptr.String(jtv) } + case "RetrainingFrequency": if value != nil { jtv, ok := value.(string) @@ -8895,6 +9025,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.RetrainingFrequency = ptr.String(jtv) } + case "RetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -8910,6 +9041,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8918,6 +9050,7 @@ func awsAwsjson10_deserializeDocumentRetrainingSchedulerSummary(v **types.Retrai } sv.Status = types.RetrainingSchedulerStatus(jtv) } + default: _, _ = key, value @@ -8957,6 +9090,7 @@ func awsAwsjson10_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -8965,6 +9099,7 @@ func awsAwsjson10_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -9034,6 +9169,7 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta if err := awsAwsjson10_deserializeDocumentCategoricalValues(&sv.CategoricalValues, value); err != nil { return err } + case "ComponentName": if value != nil { jtv, ok := value.(string) @@ -9042,6 +9178,7 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.ComponentName = ptr.String(jtv) } + case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -9057,6 +9194,7 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } } + case "DataExists": if value != nil { jtv, ok := value.(bool) @@ -9065,6 +9203,7 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.DataExists = jtv } + case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -9080,34 +9219,42 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } } + case "DuplicateTimestamps": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.DuplicateTimestamps, value); err != nil { return err } + case "InvalidDateEntries": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.InvalidDateEntries, value); err != nil { return err } + case "InvalidValues": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.InvalidValues, value); err != nil { return err } + case "LargeTimestampGaps": if err := awsAwsjson10_deserializeDocumentLargeTimestampGaps(&sv.LargeTimestampGaps, value); err != nil { return err } + case "MissingValues": if err := awsAwsjson10_deserializeDocumentCountPercent(&sv.MissingValues, value); err != nil { return err } + case "MonotonicValues": if err := awsAwsjson10_deserializeDocumentMonotonicValues(&sv.MonotonicValues, value); err != nil { return err } + case "MultipleOperatingModes": if err := awsAwsjson10_deserializeDocumentMultipleOperatingModes(&sv.MultipleOperatingModes, value); err != nil { return err } + case "SensorName": if value != nil { jtv, ok := value.(string) @@ -9116,6 +9263,7 @@ func awsAwsjson10_deserializeDocumentSensorStatisticsSummary(v **types.SensorSta } sv.SensorName = ptr.String(jtv) } + default: _, _ = key, value @@ -9159,6 +9307,7 @@ func awsAwsjson10_deserializeDocumentSensorsWithShortDateRange(v **types.Sensors } sv.AffectedSensorCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9198,6 +9347,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9237,6 +9387,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9245,6 +9396,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9318,6 +9470,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9361,6 +9514,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedTimestamps(v **types.Unsupported } sv.TotalNumberOfUnsupportedTimestamps = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9400,6 +9554,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9439,6 +9594,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9447,6 +9603,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9455,6 +9612,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -9494,6 +9652,7 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -9502,6 +9661,7 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.InferenceSchedulerName = ptr.String(jtv) } + case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -9510,6 +9670,7 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.ModelQuality = types.ModelQuality(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9518,6 +9679,7 @@ func awsAwsjson10_deserializeOpDocumentCreateInferenceSchedulerOutput(v **Create } sv.Status = types.InferenceSchedulerStatus(jtv) } + default: _, _ = key, value @@ -9557,6 +9719,7 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelGroupOutput(v **CreateLabelGro } sv.LabelGroupArn = ptr.String(jtv) } + case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -9565,6 +9728,7 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelGroupOutput(v **CreateLabelGro } sv.LabelGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -9604,6 +9768,7 @@ func awsAwsjson10_deserializeOpDocumentCreateLabelOutput(v **CreateLabelOutput, } sv.LabelId = ptr.String(jtv) } + default: _, _ = key, value @@ -9643,6 +9808,7 @@ func awsAwsjson10_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9651,6 +9817,7 @@ func awsAwsjson10_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.Status = types.ModelStatus(jtv) } + default: _, _ = key, value @@ -9690,6 +9857,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -9698,6 +9866,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9706,6 +9875,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRetrainingSchedulerOutput(v **Creat } sv.Status = types.RetrainingSchedulerStatus(jtv) } + default: _, _ = key, value @@ -9752,6 +9922,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } + case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -9767,10 +9938,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } + case "DataQualitySummary": if err := awsAwsjson10_deserializeDocumentDataQualitySummary(&sv.DataQualitySummary, value); err != nil { return err } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -9779,6 +9952,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.DatasetArn = ptr.String(jtv) } + case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -9794,6 +9968,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } } + case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -9802,6 +9977,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.FailedReason = ptr.String(jtv) } + case "IngestedDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -9814,14 +9990,17 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.IngestedDataSize = ptr.Int64(i64) } + case "IngestedFilesSummary": if err := awsAwsjson10_deserializeDocumentIngestedFilesSummary(&sv.IngestedFilesSummary, value); err != nil { return err } + case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -9830,6 +10009,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.JobId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9838,6 +10018,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } + case "SourceDatasetArn": if value != nil { jtv, ok := value.(string) @@ -9846,6 +10027,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.SourceDatasetArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9854,6 +10036,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.Status = types.IngestionJobStatus(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -9862,6 +10045,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDataIngestionJobOutput(v **Descri } sv.StatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -9908,6 +10092,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "DataEndTime": if value != nil { switch jtv := value.(type) { @@ -9923,10 +10108,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "DataQualitySummary": if err := awsAwsjson10_deserializeDocumentDataQualitySummary(&sv.DataQualitySummary, value); err != nil { return err } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -9935,6 +10122,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -9943,6 +10131,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.DatasetName = ptr.String(jtv) } + case "DataStartTime": if value != nil { switch jtv := value.(type) { @@ -9958,14 +10147,17 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "IngestedFilesSummary": if err := awsAwsjson10_deserializeDocumentIngestedFilesSummary(&sv.IngestedFilesSummary, value); err != nil { return err } + case "IngestionInputConfiguration": if err := awsAwsjson10_deserializeDocumentIngestionInputConfiguration(&sv.IngestionInputConfiguration, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9981,6 +10173,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9989,6 +10182,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.RoleArn = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -9997,6 +10191,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Schema = ptr.String(jtv) } + case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10005,6 +10200,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.ServerSideKmsKeyId = ptr.String(jtv) } + case "SourceDatasetArn": if value != nil { jtv, ok := value.(string) @@ -10013,6 +10209,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.SourceDatasetArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10021,6 +10218,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -10067,6 +10265,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } } + case "DataDelayOffsetInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -10079,14 +10278,17 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.DataDelayOffsetInMinutes = ptr.Int64(i64) } + case "DataInputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceInputConfiguration(&sv.DataInputConfiguration, value); err != nil { return err } + case "DataOutputConfiguration": if err := awsAwsjson10_deserializeDocumentInferenceOutputConfiguration(&sv.DataOutputConfiguration, value); err != nil { return err } + case "DataUploadFrequency": if value != nil { jtv, ok := value.(string) @@ -10095,6 +10297,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.DataUploadFrequency = types.DataUploadFrequency(jtv) } + case "InferenceSchedulerArn": if value != nil { jtv, ok := value.(string) @@ -10103,6 +10306,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -10111,6 +10315,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.InferenceSchedulerName = ptr.String(jtv) } + case "LatestInferenceResult": if value != nil { jtv, ok := value.(string) @@ -10119,6 +10324,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.LatestInferenceResult = types.LatestInferenceResult(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -10127,6 +10333,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -10135,6 +10342,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ModelName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10143,6 +10351,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.RoleArn = ptr.String(jtv) } + case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10151,6 +10360,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.ServerSideKmsKeyId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10159,6 +10369,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } sv.Status = types.InferenceSchedulerStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10174,6 +10385,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeInferenceSchedulerOutput(v **Desc } } + default: _, _ = key, value @@ -10220,10 +10432,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } } + case "FaultCodes": if err := awsAwsjson10_deserializeDocumentFaultCodes(&sv.FaultCodes, value); err != nil { return err } + case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -10232,6 +10446,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } sv.LabelGroupArn = ptr.String(jtv) } + case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -10240,6 +10455,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } sv.LabelGroupName = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10255,6 +10471,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelGroupOutput(v **DescribeLabe } } + default: _, _ = key, value @@ -10301,6 +10518,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -10316,6 +10534,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } + case "Equipment": if value != nil { jtv, ok := value.(string) @@ -10324,6 +10543,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Equipment = ptr.String(jtv) } + case "FaultCode": if value != nil { jtv, ok := value.(string) @@ -10332,6 +10552,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.FaultCode = ptr.String(jtv) } + case "LabelGroupArn": if value != nil { jtv, ok := value.(string) @@ -10340,6 +10561,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelGroupArn = ptr.String(jtv) } + case "LabelGroupName": if value != nil { jtv, ok := value.(string) @@ -10348,6 +10570,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelGroupName = ptr.String(jtv) } + case "LabelId": if value != nil { jtv, ok := value.(string) @@ -10356,6 +10579,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.LabelId = ptr.String(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -10364,6 +10588,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Notes = ptr.String(jtv) } + case "Rating": if value != nil { jtv, ok := value.(string) @@ -10372,6 +10597,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } sv.Rating = types.LabelRating(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10387,6 +10613,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeLabelOutput(v **DescribeLabelOutp } } + default: _, _ = key, value @@ -10433,6 +10660,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "AccumulatedInferenceDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10448,6 +10676,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "ActiveModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -10460,6 +10689,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ActiveModelVersion = ptr.Int64(i64) } + case "ActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -10468,6 +10698,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ActiveModelVersionArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -10483,10 +10714,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "DataPreProcessingConfiguration": if err := awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(&sv.DataPreProcessingConfiguration, value); err != nil { return err } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -10495,6 +10728,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10503,6 +10737,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.DatasetName = ptr.String(jtv) } + case "EvaluationDataEndTime": if value != nil { switch jtv := value.(type) { @@ -10518,6 +10753,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "EvaluationDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10533,6 +10769,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -10541,6 +10778,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.FailedReason = ptr.String(jtv) } + case "ImportJobEndTime": if value != nil { switch jtv := value.(type) { @@ -10556,6 +10794,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "ImportJobStartTime": if value != nil { switch jtv := value.(type) { @@ -10571,10 +10810,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "LabelsInputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsInputConfiguration(&sv.LabelsInputConfiguration, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -10590,6 +10831,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "LatestScheduledRetrainingAvailableDataInDays": if value != nil { jtv, ok := value.(json.Number) @@ -10602,6 +10844,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingAvailableDataInDays = ptr.Int32(int32(i64)) } + case "LatestScheduledRetrainingFailedReason": if value != nil { jtv, ok := value.(string) @@ -10610,6 +10853,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingFailedReason = ptr.String(jtv) } + case "LatestScheduledRetrainingModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -10622,6 +10866,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingModelVersion = ptr.Int64(i64) } + case "LatestScheduledRetrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -10637,6 +10882,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "LatestScheduledRetrainingStatus": if value != nil { jtv, ok := value.(string) @@ -10645,6 +10891,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.LatestScheduledRetrainingStatus = types.ModelVersionStatus(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -10653,10 +10900,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelArn = ptr.String(jtv) } + case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } + case "ModelMetrics": if value != nil { jtv, ok := value.(string) @@ -10665,6 +10914,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelMetrics = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -10673,6 +10923,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelName = ptr.String(jtv) } + case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -10681,6 +10932,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelQuality = types.ModelQuality(jtv) } + case "ModelVersionActivatedAt": if value != nil { switch jtv := value.(type) { @@ -10696,6 +10948,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "NextScheduledRetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -10711,6 +10964,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "OffCondition": if value != nil { jtv, ok := value.(string) @@ -10719,6 +10973,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.OffCondition = ptr.String(jtv) } + case "PreviousActiveModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -10731,6 +10986,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PreviousActiveModelVersion = ptr.Int64(i64) } + case "PreviousActiveModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -10739,6 +10995,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PreviousActiveModelVersionArn = ptr.String(jtv) } + case "PreviousModelVersionActivatedAt": if value != nil { switch jtv := value.(type) { @@ -10754,6 +11011,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "PriorModelMetrics": if value != nil { jtv, ok := value.(string) @@ -10762,6 +11020,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.PriorModelMetrics = ptr.String(jtv) } + case "RetrainingSchedulerStatus": if value != nil { jtv, ok := value.(string) @@ -10770,6 +11029,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.RetrainingSchedulerStatus = types.RetrainingSchedulerStatus(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -10778,6 +11038,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.RoleArn = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -10786,6 +11047,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.Schema = ptr.String(jtv) } + case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10794,6 +11056,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ServerSideKmsKeyId = ptr.String(jtv) } + case "SourceModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -10802,6 +11065,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.SourceModelVersionArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10810,6 +11074,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.Status = types.ModelStatus(jtv) } + case "TrainingDataEndTime": if value != nil { switch jtv := value.(type) { @@ -10825,6 +11090,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "TrainingDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10840,6 +11106,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "TrainingExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -10855,6 +11122,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "TrainingExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -10870,6 +11138,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + default: _, _ = key, value @@ -10909,6 +11178,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.AutoPromotionResult = types.AutoPromotionResult(jtv) } + case "AutoPromotionResultReason": if value != nil { jtv, ok := value.(string) @@ -10917,6 +11187,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.AutoPromotionResultReason = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -10932,10 +11203,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "DataPreProcessingConfiguration": if err := awsAwsjson10_deserializeDocumentDataPreProcessingConfiguration(&sv.DataPreProcessingConfiguration, value); err != nil { return err } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -10944,6 +11217,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -10952,6 +11226,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.DatasetName = ptr.String(jtv) } + case "EvaluationDataEndTime": if value != nil { switch jtv := value.(type) { @@ -10967,6 +11242,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "EvaluationDataStartTime": if value != nil { switch jtv := value.(type) { @@ -10982,6 +11258,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "FailedReason": if value != nil { jtv, ok := value.(string) @@ -10990,6 +11267,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.FailedReason = ptr.String(jtv) } + case "ImportedDataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11002,6 +11280,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ImportedDataSizeInBytes = ptr.Int64(i64) } + case "ImportJobEndTime": if value != nil { switch jtv := value.(type) { @@ -11017,6 +11296,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "ImportJobStartTime": if value != nil { switch jtv := value.(type) { @@ -11032,10 +11312,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "LabelsInputConfiguration": if err := awsAwsjson10_deserializeDocumentLabelsInputConfiguration(&sv.LabelsInputConfiguration, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11051,6 +11333,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -11059,14 +11342,17 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelArn = ptr.String(jtv) } + case "ModelDiagnosticsOutputConfiguration": if err := awsAwsjson10_deserializeDocumentModelDiagnosticsOutputConfiguration(&sv.ModelDiagnosticsOutputConfiguration, value); err != nil { return err } + case "ModelDiagnosticsResultsObject": if err := awsAwsjson10_deserializeDocumentS3Object(&sv.ModelDiagnosticsResultsObject, value); err != nil { return err } + case "ModelMetrics": if value != nil { jtv, ok := value.(string) @@ -11075,6 +11361,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelMetrics = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11083,6 +11370,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelName = ptr.String(jtv) } + case "ModelQuality": if value != nil { jtv, ok := value.(string) @@ -11091,6 +11379,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelQuality = types.ModelQuality(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11103,6 +11392,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelVersion = ptr.Int64(i64) } + case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11111,6 +11401,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ModelVersionArn = ptr.String(jtv) } + case "OffCondition": if value != nil { jtv, ok := value.(string) @@ -11119,6 +11410,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.OffCondition = ptr.String(jtv) } + case "PriorModelMetrics": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11419,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.PriorModelMetrics = ptr.String(jtv) } + case "RetrainingAvailableDataInDays": if value != nil { jtv, ok := value.(json.Number) @@ -11139,6 +11432,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.RetrainingAvailableDataInDays = ptr.Int32(int32(i64)) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -11147,6 +11441,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.RoleArn = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -11155,6 +11450,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.Schema = ptr.String(jtv) } + case "ServerSideKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -11163,6 +11459,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.ServerSideKmsKeyId = ptr.String(jtv) } + case "SourceModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11171,6 +11468,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.SourceModelVersionArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -11179,6 +11477,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.SourceType = types.ModelVersionSourceType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11187,6 +11486,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } sv.Status = types.ModelVersionStatus(jtv) } + case "TrainingDataEndTime": if value != nil { switch jtv := value.(type) { @@ -11202,6 +11502,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "TrainingDataStartTime": if value != nil { switch jtv := value.(type) { @@ -11217,6 +11518,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "TrainingExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -11232,6 +11534,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + case "TrainingExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -11247,6 +11550,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeModelVersionOutput(v **DescribeMo } } + default: _, _ = key, value @@ -11293,6 +11597,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11308,6 +11613,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } } + case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -11316,6 +11622,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.PolicyRevisionId = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -11324,6 +11631,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -11370,6 +11678,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } + case "LookbackWindow": if value != nil { jtv, ok := value.(string) @@ -11378,6 +11687,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.LookbackWindow = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -11386,6 +11696,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11394,6 +11705,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.ModelName = ptr.String(jtv) } + case "PromoteMode": if value != nil { jtv, ok := value.(string) @@ -11402,6 +11714,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.PromoteMode = types.ModelPromoteMode(jtv) } + case "RetrainingFrequency": if value != nil { jtv, ok := value.(string) @@ -11410,6 +11723,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.RetrainingFrequency = ptr.String(jtv) } + case "RetrainingStartDate": if value != nil { switch jtv := value.(type) { @@ -11425,6 +11739,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11433,6 +11748,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } sv.Status = types.RetrainingSchedulerStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -11448,6 +11764,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRetrainingSchedulerOutput(v **Des } } + default: _, _ = key, value @@ -11487,6 +11804,7 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -11495,6 +11813,7 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.DatasetName = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -11503,6 +11822,7 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.JobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11511,6 +11831,7 @@ func awsAwsjson10_deserializeOpDocumentImportDatasetOutput(v **ImportDatasetOutp } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -11550,6 +11871,7 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -11558,6 +11880,7 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(json.Number) @@ -11570,6 +11893,7 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelVersion = ptr.Int64(i64) } + case "ModelVersionArn": if value != nil { jtv, ok := value.(string) @@ -11578,6 +11902,7 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.ModelVersionArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11586,6 +11911,7 @@ func awsAwsjson10_deserializeOpDocumentImportModelVersionOutput(v **ImportModelV } sv.Status = types.ModelVersionStatus(jtv) } + default: _, _ = key, value @@ -11621,6 +11947,7 @@ func awsAwsjson10_deserializeOpDocumentListDataIngestionJobsOutput(v **ListDataI if err := awsAwsjson10_deserializeDocumentDataIngestionJobSummaries(&sv.DataIngestionJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11629,6 +11956,7 @@ func awsAwsjson10_deserializeOpDocumentListDataIngestionJobsOutput(v **ListDataI } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11664,6 +11992,7 @@ func awsAwsjson10_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson10_deserializeDocumentDatasetSummaries(&sv.DatasetSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11672,6 +12001,7 @@ func awsAwsjson10_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11707,6 +12037,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceEventsOutput(v **ListInferen if err := awsAwsjson10_deserializeDocumentInferenceEventSummaries(&sv.InferenceEventSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11715,6 +12046,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceEventsOutput(v **ListInferen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11750,6 +12082,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceExecutionsOutput(v **ListInf if err := awsAwsjson10_deserializeDocumentInferenceExecutionSummaries(&sv.InferenceExecutionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11758,6 +12091,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceExecutionsOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11793,6 +12127,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceSchedulersOutput(v **ListInf if err := awsAwsjson10_deserializeDocumentInferenceSchedulerSummaries(&sv.InferenceSchedulerSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11801,6 +12136,7 @@ func awsAwsjson10_deserializeOpDocumentListInferenceSchedulersOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11836,6 +12172,7 @@ func awsAwsjson10_deserializeOpDocumentListLabelGroupsOutput(v **ListLabelGroups if err := awsAwsjson10_deserializeDocumentLabelGroupSummaries(&sv.LabelGroupSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11844,6 +12181,7 @@ func awsAwsjson10_deserializeOpDocumentListLabelGroupsOutput(v **ListLabelGroups } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11879,6 +12217,7 @@ func awsAwsjson10_deserializeOpDocumentListLabelsOutput(v **ListLabelsOutput, va if err := awsAwsjson10_deserializeDocumentLabelSummaries(&sv.LabelSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11887,6 +12226,7 @@ func awsAwsjson10_deserializeOpDocumentListLabelsOutput(v **ListLabelsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11922,6 +12262,7 @@ func awsAwsjson10_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsAwsjson10_deserializeDocumentModelSummaries(&sv.ModelSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11930,6 +12271,7 @@ func awsAwsjson10_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11965,6 +12307,7 @@ func awsAwsjson10_deserializeOpDocumentListModelVersionsOutput(v **ListModelVers if err := awsAwsjson10_deserializeDocumentModelVersionSummaries(&sv.ModelVersionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11973,6 +12316,7 @@ func awsAwsjson10_deserializeOpDocumentListModelVersionsOutput(v **ListModelVers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12012,10 +12356,12 @@ func awsAwsjson10_deserializeOpDocumentListRetrainingSchedulersOutput(v **ListRe } sv.NextToken = ptr.String(jtv) } + case "RetrainingSchedulerSummaries": if err := awsAwsjson10_deserializeDocumentRetrainingSchedulerSummaries(&sv.RetrainingSchedulerSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -12055,10 +12401,12 @@ func awsAwsjson10_deserializeOpDocumentListSensorStatisticsOutput(v **ListSensor } sv.NextToken = ptr.String(jtv) } + case "SensorStatisticsSummaries": if err := awsAwsjson10_deserializeDocumentSensorStatisticsSummaries(&sv.SensorStatisticsSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -12094,6 +12442,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12133,6 +12482,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyRevisionId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12141,6 +12491,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12180,6 +12531,7 @@ func awsAwsjson10_deserializeOpDocumentStartDataIngestionJobOutput(v **StartData } sv.JobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12188,6 +12540,7 @@ func awsAwsjson10_deserializeOpDocumentStartDataIngestionJobOutput(v **StartData } sv.Status = types.IngestionJobStatus(jtv) } + default: _, _ = key, value @@ -12227,6 +12580,7 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -12235,6 +12589,7 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.InferenceSchedulerName = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12243,6 +12598,7 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12251,6 +12607,7 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12259,6 +12616,7 @@ func awsAwsjson10_deserializeOpDocumentStartInferenceSchedulerOutput(v **StartIn } sv.Status = types.InferenceSchedulerStatus(jtv) } + default: _, _ = key, value @@ -12298,6 +12656,7 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12306,6 +12665,7 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12314,6 +12674,7 @@ func awsAwsjson10_deserializeOpDocumentStartRetrainingSchedulerOutput(v **StartR } sv.Status = types.RetrainingSchedulerStatus(jtv) } + default: _, _ = key, value @@ -12353,6 +12714,7 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.InferenceSchedulerArn = ptr.String(jtv) } + case "InferenceSchedulerName": if value != nil { jtv, ok := value.(string) @@ -12361,6 +12723,7 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.InferenceSchedulerName = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12369,6 +12732,7 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12377,6 +12741,7 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12385,6 +12750,7 @@ func awsAwsjson10_deserializeOpDocumentStopInferenceSchedulerOutput(v **StopInfe } sv.Status = types.InferenceSchedulerStatus(jtv) } + default: _, _ = key, value @@ -12424,6 +12790,7 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12432,6 +12799,7 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12440,6 +12808,7 @@ func awsAwsjson10_deserializeOpDocumentStopRetrainingSchedulerOutput(v **StopRet } sv.Status = types.RetrainingSchedulerStatus(jtv) } + default: _, _ = key, value @@ -12545,6 +12914,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.CurrentActiveVersion = ptr.Int64(i64) } + case "CurrentActiveVersionArn": if value != nil { jtv, ok := value.(string) @@ -12553,6 +12923,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.CurrentActiveVersionArn = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -12561,6 +12932,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -12569,6 +12941,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.ModelName = ptr.String(jtv) } + case "PreviousActiveVersion": if value != nil { jtv, ok := value.(json.Number) @@ -12581,6 +12954,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.PreviousActiveVersion = ptr.Int64(i64) } + case "PreviousActiveVersionArn": if value != nil { jtv, ok := value.(string) @@ -12589,6 +12963,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateActiveModelVersionOutput(v **Update } sv.PreviousActiveVersionArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/lookoutmetrics/deserializers.go b/service/lookoutmetrics/deserializers.go index 6cea478b04e..b75a7706525 100644 --- a/service/lookoutmetrics/deserializers.go +++ b/service/lookoutmetrics/deserializers.go @@ -397,6 +397,7 @@ func awsRestjson1_deserializeOpDocumentCreateAlertOutput(v **CreateAlertOutput, } sv.AlertArn = ptr.String(jtv) } + default: _, _ = key, value @@ -567,6 +568,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnomalyDetectorOutput(v **CreateAno } sv.AnomalyDetectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -740,6 +742,7 @@ func awsRestjson1_deserializeOpDocumentCreateMetricSetOutput(v **CreateMetricSet } sv.MetricSetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1209,6 +1212,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAlertOutput(v **DescribeAlertOutp if err := awsRestjson1_deserializeDocumentAlert(&sv.Alert, value); err != nil { return err } + default: _, _ = key, value @@ -1372,6 +1376,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectionExecutionsOutput( if err := awsRestjson1_deserializeDocumentExecutionList(&sv.ExecutionList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1380,6 +1385,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectionExecutionsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1547,10 +1553,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "AnomalyDetectorConfig": if err := awsRestjson1_deserializeDocumentAnomalyDetectorConfigSummary(&sv.AnomalyDetectorConfig, value); err != nil { return err } + case "AnomalyDetectorDescription": if value != nil { jtv, ok := value.(string) @@ -1559,6 +1567,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorDescription = ptr.String(jtv) } + case "AnomalyDetectorName": if value != nil { jtv, ok := value.(string) @@ -1567,6 +1576,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.AnomalyDetectorName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1582,6 +1592,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -1590,6 +1601,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.FailureReason = ptr.String(jtv) } + case "FailureType": if value != nil { jtv, ok := value.(string) @@ -1598,6 +1610,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.FailureType = types.AnomalyDetectorFailureType(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -1606,6 +1619,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.KmsKeyArn = ptr.String(jtv) } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -1621,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1629,6 +1644,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnomalyDetectorOutput(v **Describ } sv.Status = types.AnomalyDetectorStatus(jtv) } + default: _, _ = key, value @@ -1796,6 +1812,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1811,14 +1828,17 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } } + case "DimensionFilterList": if err := awsRestjson1_deserializeDocumentMetricSetDimensionFilterList(&sv.DimensionFilterList, value); err != nil { return err } + case "DimensionList": if err := awsRestjson1_deserializeDocumentDimensionList(&sv.DimensionList, value); err != nil { return err } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -1834,10 +1854,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } } + case "MetricList": if err := awsRestjson1_deserializeDocumentMetricList(&sv.MetricList, value); err != nil { return err } + case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -1846,6 +1868,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetArn = ptr.String(jtv) } + case "MetricSetDescription": if value != nil { jtv, ok := value.(string) @@ -1854,6 +1877,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetDescription = ptr.String(jtv) } + case "MetricSetFrequency": if value != nil { jtv, ok := value.(string) @@ -1862,6 +1886,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetFrequency = types.Frequency(jtv) } + case "MetricSetName": if value != nil { jtv, ok := value.(string) @@ -1870,10 +1895,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.MetricSetName = ptr.String(jtv) } + case "MetricSource": if err := awsRestjson1_deserializeDocumentMetricSource(&sv.MetricSource, value); err != nil { return err } + case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -1886,10 +1913,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.Offset = ptr.Int32(int32(i64)) } + case "TimestampColumn": if err := awsRestjson1_deserializeDocumentTimestampColumn(&sv.TimestampColumn, value); err != nil { return err } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -1898,6 +1927,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMetricSetOutput(v **DescribeMetri } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -2061,6 +2091,7 @@ func awsRestjson1_deserializeOpDocumentDetectMetricSetConfigOutput(v **DetectMet if err := awsRestjson1_deserializeDocumentDetectedMetricSetConfig(&sv.DetectedMetricSetConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2224,6 +2255,7 @@ func awsRestjson1_deserializeOpDocumentGetAnomalyGroupOutput(v **GetAnomalyGroup if err := awsRestjson1_deserializeDocumentAnomalyGroup(&sv.AnomalyGroup, value); err != nil { return err } + default: _, _ = key, value @@ -2387,6 +2419,7 @@ func awsRestjson1_deserializeOpDocumentGetDataQualityMetricsOutput(v **GetDataQu if err := awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetricList(&sv.AnomalyDetectorDataQualityMetricList, value); err != nil { return err } + default: _, _ = key, value @@ -2550,6 +2583,7 @@ func awsRestjson1_deserializeOpDocumentGetFeedbackOutput(v **GetFeedbackOutput, if err := awsRestjson1_deserializeDocumentTimeSeriesFeedbackList(&sv.AnomalyGroupTimeSeriesFeedback, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2558,6 +2592,7 @@ func awsRestjson1_deserializeOpDocumentGetFeedbackOutput(v **GetFeedbackOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2721,10 +2756,12 @@ func awsRestjson1_deserializeOpDocumentGetSampleDataOutput(v **GetSampleDataOutp if err := awsRestjson1_deserializeDocumentHeaderValueList(&sv.HeaderValues, value); err != nil { return err } + case "SampleRows": if err := awsRestjson1_deserializeDocumentSampleRows(&sv.SampleRows, value); err != nil { return err } + default: _, _ = key, value @@ -2888,6 +2925,7 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va if err := awsRestjson1_deserializeDocumentAlertSummaryList(&sv.AlertSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2896,6 +2934,7 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3059,6 +3098,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyDetectorsOutput(v **ListAnomal if err := awsRestjson1_deserializeDocumentAnomalyDetectorSummaryList(&sv.AnomalyDetectorSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3067,6 +3107,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyDetectorsOutput(v **ListAnomal } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3230,6 +3271,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupRelatedMetricsOutput(v ** if err := awsRestjson1_deserializeDocumentInterMetricImpactList(&sv.InterMetricImpactList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3238,6 +3280,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupRelatedMetricsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3401,10 +3444,12 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupSummariesOutput(v **ListA if err := awsRestjson1_deserializeDocumentAnomalyGroupStatistics(&sv.AnomalyGroupStatistics, value); err != nil { return err } + case "AnomalyGroupSummaryList": if err := awsRestjson1_deserializeDocumentAnomalyGroupSummaryList(&sv.AnomalyGroupSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3413,6 +3458,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupSummariesOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3580,6 +3626,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.AnomalyGroupId = ptr.String(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3588,6 +3635,7 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.MetricName = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3596,14 +3644,17 @@ func awsRestjson1_deserializeOpDocumentListAnomalyGroupTimeSeriesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "TimeSeriesList": if err := awsRestjson1_deserializeDocumentTimeSeriesList(&sv.TimeSeriesList, value); err != nil { return err } + case "TimestampList": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.TimestampList, value); err != nil { return err } + default: _, _ = key, value @@ -3767,6 +3818,7 @@ func awsRestjson1_deserializeOpDocumentListMetricSetsOutput(v **ListMetricSetsOu if err := awsRestjson1_deserializeDocumentMetricSetSummaryList(&sv.MetricSetSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3775,6 +3827,7 @@ func awsRestjson1_deserializeOpDocumentListMetricSetsOutput(v **ListMetricSetsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3932,6 +3985,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4387,6 +4441,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAlertOutput(v **UpdateAlertOutput, } sv.AlertArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4554,6 +4609,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnomalyDetectorOutput(v **UpdateAno } sv.AnomalyDetectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4724,6 +4780,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMetricSetOutput(v **UpdateMetricSet } sv.MetricSetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5015,6 +5072,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5050,10 +5108,12 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) if err := awsRestjson1_deserializeDocumentLambdaConfiguration(&sv.LambdaConfiguration, value); err != nil { return err } + case "SNSConfiguration": if err := awsRestjson1_deserializeDocumentSNSConfiguration(&sv.SNSConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5089,6 +5149,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "AlertArn": if value != nil { jtv, ok := value.(string) @@ -5097,6 +5158,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertArn = ptr.String(jtv) } + case "AlertDescription": if value != nil { jtv, ok := value.(string) @@ -5105,10 +5167,12 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertDescription = ptr.String(jtv) } + case "AlertFilters": if err := awsRestjson1_deserializeDocumentAlertFilters(&sv.AlertFilters, value); err != nil { return err } + case "AlertName": if value != nil { jtv, ok := value.(string) @@ -5117,6 +5181,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertName = ptr.String(jtv) } + case "AlertSensitivityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5129,6 +5194,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertSensitivityThreshold = int32(i64) } + case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -5137,6 +5203,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertStatus = types.AlertStatus(jtv) } + case "AlertType": if value != nil { jtv, ok := value.(string) @@ -5145,6 +5212,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertType = types.AlertType(jtv) } + case "AnomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -5153,6 +5221,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5168,6 +5237,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5183,6 +5253,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } + default: _, _ = key, value @@ -5218,10 +5289,12 @@ func awsRestjson1_deserializeDocumentAlertFilters(v **types.AlertFilters, value if err := awsRestjson1_deserializeDocumentDimensionFilterList(&sv.DimensionFilterList, value); err != nil { return err } + case "MetricList": if err := awsRestjson1_deserializeDocumentMetricNameList(&sv.MetricList, value); err != nil { return err } + default: _, _ = key, value @@ -5261,6 +5334,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertArn = ptr.String(jtv) } + case "AlertName": if value != nil { jtv, ok := value.(string) @@ -5269,6 +5343,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertName = ptr.String(jtv) } + case "AlertSensitivityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5281,6 +5356,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertSensitivityThreshold = int32(i64) } + case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -5289,6 +5365,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertStatus = types.AlertStatus(jtv) } + case "AlertType": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5374,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AlertType = types.AlertType(jtv) } + case "AnomalyDetectorArn": if value != nil { jtv, ok := value.(string) @@ -5305,6 +5383,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5320,6 +5399,7 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5335,10 +5415,12 @@ func awsRestjson1_deserializeDocumentAlertSummary(v **types.AlertSummary, value } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5412,6 +5494,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorConfigSummary(v **types.Anom } sv.AnomalyDetectorFrequency = types.Frequency(jtv) } + default: _, _ = key, value @@ -5447,6 +5530,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetric(v **types. if err := awsRestjson1_deserializeDocumentMetricSetDataQualityMetricList(&sv.MetricSetDataQualityMetricList, value); err != nil { return err } + case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -5462,6 +5546,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorDataQualityMetric(v **types. } } + default: _, _ = key, value @@ -5535,6 +5620,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "AnomalyDetectorDescription": if value != nil { jtv, ok := value.(string) @@ -5543,6 +5629,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorDescription = ptr.String(jtv) } + case "AnomalyDetectorName": if value != nil { jtv, ok := value.(string) @@ -5551,6 +5638,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.AnomalyDetectorName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5566,6 +5654,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -5581,6 +5670,7 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5589,10 +5679,12 @@ func awsRestjson1_deserializeDocumentAnomalyDetectorSummary(v **types.AnomalyDet } sv.Status = types.AnomalyDetectorStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5666,6 +5758,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.AnomalyGroupId = ptr.String(jtv) } + case "AnomalyGroupScore": if value != nil { switch jtv := value.(type) { @@ -5699,6 +5792,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -5707,10 +5801,12 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.EndTime = ptr.String(jtv) } + case "MetricLevelImpactList": if err := awsRestjson1_deserializeDocumentMetricLevelImpactList(&sv.MetricLevelImpactList, value); err != nil { return err } + case "PrimaryMetricName": if value != nil { jtv, ok := value.(string) @@ -5719,6 +5815,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.PrimaryMetricName = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5727,6 +5824,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroup(v **types.AnomalyGroup, value } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5766,10 +5864,12 @@ func awsRestjson1_deserializeDocumentAnomalyGroupStatistics(v **types.AnomalyGro } sv.EvaluationStartDate = ptr.String(jtv) } + case "ItemizedMetricStatsList": if err := awsRestjson1_deserializeDocumentItemizedMetricStatsList(&sv.ItemizedMetricStatsList, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -5782,6 +5882,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupStatistics(v **types.AnomalyGro } sv.TotalCount = int32(i64) } + default: _, _ = key, value @@ -5821,6 +5922,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.AnomalyGroupId = ptr.String(jtv) } + case "AnomalyGroupScore": if value != nil { switch jtv := value.(type) { @@ -5854,6 +5956,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -5862,6 +5965,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.EndTime = ptr.String(jtv) } + case "PrimaryMetricName": if value != nil { jtv, ok := value.(string) @@ -5870,6 +5974,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.PrimaryMetricName = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -5878,6 +5983,7 @@ func awsRestjson1_deserializeDocumentAnomalyGroupSummary(v **types.AnomalyGroupS } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -5951,6 +6057,7 @@ func awsRestjson1_deserializeDocumentAppFlowConfig(v **types.AppFlowConfig, valu } sv.FlowName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5959,6 +6066,7 @@ func awsRestjson1_deserializeDocumentAppFlowConfig(v **types.AppFlowConfig, valu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5994,6 +6102,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { return err } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -6002,6 +6111,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.DatabaseName = ptr.String(jtv) } + case "DataCatalog": if value != nil { jtv, ok := value.(string) @@ -6010,6 +6120,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.DataCatalog = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6018,6 +6129,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.RoleArn = ptr.String(jtv) } + case "S3ResultsPath": if value != nil { jtv, ok := value.(string) @@ -6026,6 +6138,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.S3ResultsPath = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -6034,6 +6147,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.TableName = ptr.String(jtv) } + case "WorkGroupName": if value != nil { jtv, ok := value.(string) @@ -6042,6 +6156,7 @@ func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceCo } sv.WorkGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -6081,10 +6196,12 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.B = ptr.String(jtv) } + case "BS": if err := awsRestjson1_deserializeDocumentBinaryListAttributeValue(&sv.BS, value); err != nil { return err } + case "N": if value != nil { jtv, ok := value.(string) @@ -6093,10 +6210,12 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.N = ptr.String(jtv) } + case "NS": if err := awsRestjson1_deserializeDocumentNumberListAttributeValue(&sv.NS, value); err != nil { return err } + case "S": if value != nil { jtv, ok := value.(string) @@ -6105,10 +6224,12 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.S = ptr.String(jtv) } + case "SS": if err := awsRestjson1_deserializeDocumentStringListAttributeValue(&sv.SS, value); err != nil { return err } + default: _, _ = key, value @@ -6148,6 +6269,7 @@ func awsRestjson1_deserializeDocumentBackTestConfiguration(v **types.BackTestCon } sv.RunBackTestMode = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6219,6 +6341,7 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6227,6 +6350,7 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6266,6 +6390,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6274,6 +6399,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6282,6 +6408,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6317,6 +6444,7 @@ func awsRestjson1_deserializeDocumentContributionMatrix(v **types.ContributionMa if err := awsRestjson1_deserializeDocumentDimensionContributionList(&sv.DimensionContributionList, value); err != nil { return err } + default: _, _ = key, value @@ -6356,6 +6484,7 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.Charset = ptr.String(jtv) } + case "ContainsHeader": if value != nil { jtv, ok := value.(bool) @@ -6364,6 +6493,7 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.ContainsHeader = ptr.Bool(jtv) } + case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -6372,6 +6502,7 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.Delimiter = ptr.String(jtv) } + case "FileCompression": if value != nil { jtv, ok := value.(string) @@ -6380,10 +6511,12 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.FileCompression = types.CSVFileCompression(jtv) } + case "HeaderList": if err := awsRestjson1_deserializeDocumentHeaderList(&sv.HeaderList, value); err != nil { return err } + case "QuoteSymbol": if value != nil { jtv, ok := value.(string) @@ -6392,6 +6525,7 @@ func awsRestjson1_deserializeDocumentCsvFormatDescriptor(v **types.CsvFormatDesc } sv.QuoteSymbol = ptr.String(jtv) } + default: _, _ = key, value @@ -6431,6 +6565,7 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.MetricDescription = ptr.String(jtv) } + case "MetricType": if value != nil { jtv, ok := value.(string) @@ -6439,6 +6574,7 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.MetricType = types.DataQualityMetricType(jtv) } + case "MetricValue": if value != nil { switch jtv := value.(type) { @@ -6472,6 +6608,7 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } } + case "RelatedColumnName": if value != nil { jtv, ok := value.(string) @@ -6480,6 +6617,7 @@ func awsRestjson1_deserializeDocumentDataQualityMetric(v **types.DataQualityMetr } sv.RelatedColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -6549,26 +6687,32 @@ func awsRestjson1_deserializeDocumentDetectedCsvFormatDescriptor(v **types.Detec if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Charset, value); err != nil { return err } + case "ContainsHeader": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.ContainsHeader, value); err != nil { return err } + case "Delimiter": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Delimiter, value); err != nil { return err } + case "FileCompression": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.FileCompression, value); err != nil { return err } + case "HeaderList": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.HeaderList, value); err != nil { return err } + case "QuoteSymbol": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.QuoteSymbol, value); err != nil { return err } + default: _, _ = key, value @@ -6608,6 +6752,7 @@ func awsRestjson1_deserializeDocumentDetectedField(v **types.DetectedField, valu } sv.Confidence = types.Confidence(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6616,10 +6761,12 @@ func awsRestjson1_deserializeDocumentDetectedField(v **types.DetectedField, valu } sv.Message = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -6655,10 +6802,12 @@ func awsRestjson1_deserializeDocumentDetectedFileFormatDescriptor(v **types.Dete if err := awsRestjson1_deserializeDocumentDetectedCsvFormatDescriptor(&sv.CsvFormatDescriptor, value); err != nil { return err } + case "JsonFormatDescriptor": if err := awsRestjson1_deserializeDocumentDetectedJsonFormatDescriptor(&sv.JsonFormatDescriptor, value); err != nil { return err } + default: _, _ = key, value @@ -6694,10 +6843,12 @@ func awsRestjson1_deserializeDocumentDetectedJsonFormatDescriptor(v **types.Dete if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Charset, value); err != nil { return err } + case "FileCompression": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.FileCompression, value); err != nil { return err } + default: _, _ = key, value @@ -6733,14 +6884,17 @@ func awsRestjson1_deserializeDocumentDetectedMetricSetConfig(v **types.DetectedM if err := awsRestjson1_deserializeDocumentDetectedField(&sv.MetricSetFrequency, value); err != nil { return err } + case "MetricSource": if err := awsRestjson1_deserializeDocumentDetectedMetricSource(&sv.MetricSource, value); err != nil { return err } + case "Offset": if err := awsRestjson1_deserializeDocumentDetectedField(&sv.Offset, value); err != nil { return err } + default: _, _ = key, value @@ -6776,6 +6930,7 @@ func awsRestjson1_deserializeDocumentDetectedMetricSource(v **types.DetectedMetr if err := awsRestjson1_deserializeDocumentDetectedS3SourceConfig(&sv.S3SourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -6811,6 +6966,7 @@ func awsRestjson1_deserializeDocumentDetectedS3SourceConfig(v **types.DetectedS3 if err := awsRestjson1_deserializeDocumentDetectedFileFormatDescriptor(&sv.FileFormatDescriptor, value); err != nil { return err } + default: _, _ = key, value @@ -6850,10 +7006,12 @@ func awsRestjson1_deserializeDocumentDimensionContribution(v **types.DimensionCo } sv.DimensionName = ptr.String(jtv) } + case "DimensionValueContributionList": if err := awsRestjson1_deserializeDocumentDimensionValueContributionList(&sv.DimensionValueContributionList, value); err != nil { return err } + default: _, _ = key, value @@ -6927,10 +7085,12 @@ func awsRestjson1_deserializeDocumentDimensionFilter(v **types.DimensionFilter, } sv.DimensionName = ptr.String(jtv) } + case "DimensionValueList": if err := awsRestjson1_deserializeDocumentDimensionValueList(&sv.DimensionValueList, value); err != nil { return err } + default: _, _ = key, value @@ -7040,6 +7200,7 @@ func awsRestjson1_deserializeDocumentDimensionNameValue(v **types.DimensionNameV } sv.DimensionName = ptr.String(jtv) } + case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -7048,6 +7209,7 @@ func awsRestjson1_deserializeDocumentDimensionNameValue(v **types.DimensionNameV } sv.DimensionValue = ptr.String(jtv) } + default: _, _ = key, value @@ -7146,6 +7308,7 @@ func awsRestjson1_deserializeDocumentDimensionValueContribution(v **types.Dimens } } + case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -7154,6 +7317,7 @@ func awsRestjson1_deserializeDocumentDimensionValueContribution(v **types.Dimens } sv.DimensionValue = ptr.String(jtv) } + default: _, _ = key, value @@ -7297,6 +7461,7 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.FailureReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7305,6 +7470,7 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.Status = types.AnomalyDetectionTaskStatus(jtv) } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -7313,6 +7479,7 @@ func awsRestjson1_deserializeDocumentExecutionStatus(v **types.ExecutionStatus, } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -7348,10 +7515,12 @@ func awsRestjson1_deserializeDocumentFileFormatDescriptor(v **types.FileFormatDe if err := awsRestjson1_deserializeDocumentCsvFormatDescriptor(&sv.CsvFormatDescriptor, value); err != nil { return err } + case "JsonFormatDescriptor": if err := awsRestjson1_deserializeDocumentJsonFormatDescriptor(&sv.JsonFormatDescriptor, value); err != nil { return err } + default: _, _ = key, value @@ -7391,6 +7560,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.DimensionValue = ptr.String(jtv) } + case "FilterOperation": if value != nil { jtv, ok := value.(string) @@ -7399,6 +7569,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterOperation = types.FilterOperation(jtv) } + default: _, _ = key, value @@ -7580,6 +7751,7 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.AnomalyGroupId = ptr.String(jtv) } + case "ContributionPercentage": if value != nil { switch jtv := value.(type) { @@ -7613,6 +7785,7 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -7621,6 +7794,7 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.MetricName = ptr.String(jtv) } + case "RelationshipType": if value != nil { jtv, ok := value.(string) @@ -7629,6 +7803,7 @@ func awsRestjson1_deserializeDocumentInterMetricImpactDetails(v **types.InterMet } sv.RelationshipType = types.RelationshipType(jtv) } + default: _, _ = key, value @@ -7702,6 +7877,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7741,6 +7917,7 @@ func awsRestjson1_deserializeDocumentItemizedMetricStats(v **types.ItemizedMetri } sv.MetricName = ptr.String(jtv) } + case "OccurrenceCount": if value != nil { jtv, ok := value.(json.Number) @@ -7753,6 +7930,7 @@ func awsRestjson1_deserializeDocumentItemizedMetricStats(v **types.ItemizedMetri } sv.OccurrenceCount = int32(i64) } + default: _, _ = key, value @@ -7826,6 +8004,7 @@ func awsRestjson1_deserializeDocumentJsonFormatDescriptor(v **types.JsonFormatDe } sv.Charset = ptr.String(jtv) } + case "FileCompression": if value != nil { jtv, ok := value.(string) @@ -7834,6 +8013,7 @@ func awsRestjson1_deserializeDocumentJsonFormatDescriptor(v **types.JsonFormatDe } sv.FileCompression = types.JsonFileCompression(jtv) } + default: _, _ = key, value @@ -7873,6 +8053,7 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.LambdaArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -7881,6 +8062,7 @@ func awsRestjson1_deserializeDocumentLambdaConfiguration(v **types.LambdaConfigu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7920,6 +8102,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.AggregationFunction = types.AggregationFunction(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -7928,6 +8111,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -7936,6 +8120,7 @@ func awsRestjson1_deserializeDocumentMetric(v **types.Metric, value interface{}) } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -7971,6 +8156,7 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa if err := awsRestjson1_deserializeDocumentContributionMatrix(&sv.ContributionMatrix, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -7979,6 +8165,7 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa } sv.MetricName = ptr.String(jtv) } + case "NumTimeSeries": if value != nil { jtv, ok := value.(json.Number) @@ -7991,6 +8178,7 @@ func awsRestjson1_deserializeDocumentMetricLevelImpact(v **types.MetricLevelImpa } sv.NumTimeSeries = int32(i64) } + default: _, _ = key, value @@ -8130,6 +8318,7 @@ func awsRestjson1_deserializeDocumentMetricSetDataQualityMetric(v **types.Metric if err := awsRestjson1_deserializeDocumentDataQualityMetricList(&sv.DataQualityMetricList, value); err != nil { return err } + case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -8138,6 +8327,7 @@ func awsRestjson1_deserializeDocumentMetricSetDataQualityMetric(v **types.Metric } sv.MetricSetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8207,6 +8397,7 @@ func awsRestjson1_deserializeDocumentMetricSetDimensionFilter(v **types.MetricSe if err := awsRestjson1_deserializeDocumentFilterList(&sv.FilterList, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8215,6 +8406,7 @@ func awsRestjson1_deserializeDocumentMetricSetDimensionFilter(v **types.MetricSe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8288,6 +8480,7 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.AnomalyDetectorArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8303,6 +8496,7 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -8318,6 +8512,7 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } } + case "MetricSetArn": if value != nil { jtv, ok := value.(string) @@ -8326,6 +8521,7 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetArn = ptr.String(jtv) } + case "MetricSetDescription": if value != nil { jtv, ok := value.(string) @@ -8334,6 +8530,7 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetDescription = ptr.String(jtv) } + case "MetricSetName": if value != nil { jtv, ok := value.(string) @@ -8342,10 +8539,12 @@ func awsRestjson1_deserializeDocumentMetricSetSummary(v **types.MetricSetSummary } sv.MetricSetName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8415,26 +8614,32 @@ func awsRestjson1_deserializeDocumentMetricSource(v **types.MetricSource, value if err := awsRestjson1_deserializeDocumentAppFlowConfig(&sv.AppFlowConfig, value); err != nil { return err } + case "AthenaSourceConfig": if err := awsRestjson1_deserializeDocumentAthenaSourceConfig(&sv.AthenaSourceConfig, value); err != nil { return err } + case "CloudWatchConfig": if err := awsRestjson1_deserializeDocumentCloudWatchConfig(&sv.CloudWatchConfig, value); err != nil { return err } + case "RDSSourceConfig": if err := awsRestjson1_deserializeDocumentRDSSourceConfig(&sv.RDSSourceConfig, value); err != nil { return err } + case "RedshiftSourceConfig": if err := awsRestjson1_deserializeDocumentRedshiftSourceConfig(&sv.RedshiftSourceConfig, value); err != nil { return err } + case "S3SourceConfig": if err := awsRestjson1_deserializeDocumentS3SourceConfig(&sv.S3SourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8571,6 +8776,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabaseHost = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8579,6 +8785,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabaseName = ptr.String(jtv) } + case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -8591,6 +8798,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DatabasePort = ptr.Int32(int32(i64)) } + case "DBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -8599,6 +8807,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.DBInstanceIdentifier = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8607,6 +8816,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.RoleArn = ptr.String(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -8615,6 +8825,7 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.SecretManagerArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -8623,10 +8834,12 @@ func awsRestjson1_deserializeDocumentRDSSourceConfig(v **types.RDSSourceConfig, } sv.TableName = ptr.String(jtv) } + case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8666,6 +8879,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.ClusterIdentifier = ptr.String(jtv) } + case "DatabaseHost": if value != nil { jtv, ok := value.(string) @@ -8674,6 +8888,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabaseHost = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8682,6 +8897,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabaseName = ptr.String(jtv) } + case "DatabasePort": if value != nil { jtv, ok := value.(json.Number) @@ -8694,6 +8910,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.DatabasePort = ptr.Int32(int32(i64)) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8702,6 +8919,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.RoleArn = ptr.String(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -8710,6 +8928,7 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.SecretManagerArn = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -8718,10 +8937,12 @@ func awsRestjson1_deserializeDocumentRedshiftSourceConfig(v **types.RedshiftSour } sv.TableName = ptr.String(jtv) } + case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -8761,6 +8982,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8769,6 +8991,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8777,6 +9000,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -8812,10 +9036,12 @@ func awsRestjson1_deserializeDocumentS3SourceConfig(v **types.S3SourceConfig, va if err := awsRestjson1_deserializeDocumentFileFormatDescriptor(&sv.FileFormatDescriptor, value); err != nil { return err } + case "HistoricalDataPathList": if err := awsRestjson1_deserializeDocumentHistoricalDataPathList(&sv.HistoricalDataPathList, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8824,10 +9050,12 @@ func awsRestjson1_deserializeDocumentS3SourceConfig(v **types.S3SourceConfig, va } sv.RoleArn = ptr.String(jtv) } + case "TemplatedPathList": if err := awsRestjson1_deserializeDocumentTemplatedPathList(&sv.TemplatedPathList, value); err != nil { return err } + default: _, _ = key, value @@ -8971,6 +9199,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -8979,6 +9208,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8987,6 +9217,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -8995,6 +9226,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -9003,6 +9235,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9042,6 +9275,7 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.RoleArn = ptr.String(jtv) } + case "SnsFormat": if value != nil { jtv, ok := value.(string) @@ -9050,6 +9284,7 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.SnsFormat = types.SnsFormat(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -9058,6 +9293,7 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9237,10 +9473,12 @@ func awsRestjson1_deserializeDocumentTimeSeries(v **types.TimeSeries, value inte if err := awsRestjson1_deserializeDocumentDimensionNameValueList(&sv.DimensionList, value); err != nil { return err } + case "MetricValueList": if err := awsRestjson1_deserializeDocumentMetricValueList(&sv.MetricValueList, value); err != nil { return err } + case "TimeSeriesId": if value != nil { jtv, ok := value.(string) @@ -9249,6 +9487,7 @@ func awsRestjson1_deserializeDocumentTimeSeries(v **types.TimeSeries, value inte } sv.TimeSeriesId = ptr.String(jtv) } + default: _, _ = key, value @@ -9288,6 +9527,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesFeedback(v **types.TimeSeriesFeed } sv.IsAnomaly = ptr.Bool(jtv) } + case "TimeSeriesId": if value != nil { jtv, ok := value.(string) @@ -9296,6 +9536,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesFeedback(v **types.TimeSeriesFeed } sv.TimeSeriesId = ptr.String(jtv) } + default: _, _ = key, value @@ -9403,6 +9644,7 @@ func awsRestjson1_deserializeDocumentTimestampColumn(v **types.TimestampColumn, } sv.ColumnFormat = ptr.String(jtv) } + case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -9411,6 +9653,7 @@ func awsRestjson1_deserializeDocumentTimestampColumn(v **types.TimestampColumn, } sv.ColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -9486,6 +9729,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9521,6 +9765,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9529,6 +9774,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9537,6 +9783,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -9576,6 +9823,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9584,6 +9832,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9653,10 +9902,12 @@ func awsRestjson1_deserializeDocumentVpcConfiguration(v **types.VpcConfiguration if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIdList, value); err != nil { return err } + case "SubnetIdList": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIdList, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/lookoutvision/deserializers.go b/service/lookoutvision/deserializers.go index 1c5bce83e41..35a9556f2c8 100644 --- a/service/lookoutvision/deserializers.go +++ b/service/lookoutvision/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp if err := awsRestjson1_deserializeDocumentDatasetMetadata(&sv.DatasetMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -361,6 +362,7 @@ func awsRestjson1_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, if err := awsRestjson1_deserializeDocumentModelMetadata(&sv.ModelMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -530,6 +532,7 @@ func awsRestjson1_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp if err := awsRestjson1_deserializeDocumentProjectMetadata(&sv.ProjectMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -803,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentDeleteModelOutput(v **DeleteModelOutput, } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -973,6 +977,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.ProjectArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1139,6 +1144,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsRestjson1_deserializeDocumentDatasetDescription(&sv.DatasetDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1305,6 +1311,7 @@ func awsRestjson1_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp if err := awsRestjson1_deserializeDocumentModelDescription(&sv.ModelDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1468,6 +1475,7 @@ func awsRestjson1_deserializeOpDocumentDescribeModelPackagingJobOutput(v **Descr if err := awsRestjson1_deserializeDocumentModelPackagingDescription(&sv.ModelPackagingDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1634,6 +1642,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsRestjson1_deserializeDocumentProjectDescription(&sv.ProjectDescription, value); err != nil { return err } + default: _, _ = key, value @@ -1800,6 +1809,7 @@ func awsRestjson1_deserializeOpDocumentDetectAnomaliesOutput(v **DetectAnomalies if err := awsRestjson1_deserializeDocumentDetectAnomalyResult(&sv.DetectAnomalyResult, value); err != nil { return err } + default: _, _ = key, value @@ -1966,6 +1976,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE if err := awsRestjson1_deserializeDocumentDatasetEntryList(&sv.DatasetEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1974,6 +1985,7 @@ func awsRestjson1_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2137,6 +2149,7 @@ func awsRestjson1_deserializeOpDocumentListModelPackagingJobsOutput(v **ListMode if err := awsRestjson1_deserializeDocumentModelPackagingJobsList(&sv.ModelPackagingJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2145,6 +2158,7 @@ func awsRestjson1_deserializeOpDocumentListModelPackagingJobsOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2311,6 +2325,7 @@ func awsRestjson1_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsRestjson1_deserializeDocumentModelMetadataList(&sv.Models, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2319,6 +2334,7 @@ func awsRestjson1_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2489,10 +2505,12 @@ func awsRestjson1_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "Projects": if err := awsRestjson1_deserializeDocumentProjectMetadataList(&sv.Projects, value); err != nil { return err } + default: _, _ = key, value @@ -2659,6 +2677,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2832,6 +2851,7 @@ func awsRestjson1_deserializeOpDocumentStartModelOutput(v **StartModelOutput, va } sv.Status = types.ModelHostingStatus(jtv) } + default: _, _ = key, value @@ -3005,6 +3025,7 @@ func awsRestjson1_deserializeOpDocumentStartModelPackagingJobOutput(v **StartMod } sv.JobName = ptr.String(jtv) } + default: _, _ = key, value @@ -3175,6 +3196,7 @@ func awsRestjson1_deserializeOpDocumentStopModelOutput(v **StopModelOutput, valu } sv.Status = types.ModelHostingStatus(jtv) } + default: _, _ = key, value @@ -3554,6 +3576,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDatasetEntriesOutput(v **UpdateData } sv.Status = types.DatasetStatus(jtv) } + default: _, _ = key, value @@ -3885,6 +3908,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3924,10 +3948,12 @@ func awsRestjson1_deserializeDocumentAnomaly(v **types.Anomaly, value interface{ } sv.Name = ptr.String(jtv) } + case "PixelAnomaly": if err := awsRestjson1_deserializeDocumentPixelAnomaly(&sv.PixelAnomaly, value); err != nil { return err } + default: _, _ = key, value @@ -4001,6 +4027,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4009,6 +4036,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4017,6 +4045,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -4063,6 +4092,7 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -4071,10 +4101,12 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.DatasetType = ptr.String(jtv) } + case "ImageStats": if err := awsRestjson1_deserializeDocumentDatasetImageStats(&sv.ImageStats, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4090,6 +4122,7 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -4098,6 +4131,7 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.ProjectName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4106,6 +4140,7 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.Status = types.DatasetStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4114,6 +4149,7 @@ func awsRestjson1_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4193,6 +4229,7 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Anomaly = ptr.Int32(int32(i64)) } + case "Labeled": if value != nil { jtv, ok := value.(json.Number) @@ -4205,6 +4242,7 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Labeled = ptr.Int32(int32(i64)) } + case "Normal": if value != nil { jtv, ok := value.(json.Number) @@ -4217,6 +4255,7 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Normal = ptr.Int32(int32(i64)) } + case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -4229,6 +4268,7 @@ func awsRestjson1_deserializeDocumentDatasetImageStats(v **types.DatasetImageSta } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4275,6 +4315,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -4283,6 +4324,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4291,6 +4333,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.Status = types.DatasetStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4299,6 +4342,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4368,6 +4412,7 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly if err := awsRestjson1_deserializeDocumentAnomalyList(&sv.Anomalies, value); err != nil { return err } + case "AnomalyMask": if value != nil { jtv, ok := value.(string) @@ -4380,6 +4425,7 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } sv.AnomalyMask = dv } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -4413,6 +4459,7 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } } + case "IsAnomalous": if value != nil { jtv, ok := value.(bool) @@ -4421,10 +4468,12 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly } sv.IsAnomalous = ptr.Bool(jtv) } + case "Source": if err := awsRestjson1_deserializeDocumentImageSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -4464,6 +4513,7 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.CompilerOptions = ptr.String(jtv) } + case "ComponentDescription": if value != nil { jtv, ok := value.(string) @@ -4472,6 +4522,7 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentDescription = ptr.String(jtv) } + case "ComponentName": if value != nil { jtv, ok := value.(string) @@ -4480,6 +4531,7 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentName = ptr.String(jtv) } + case "ComponentVersion": if value != nil { jtv, ok := value.(string) @@ -4488,14 +4540,17 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.ComponentVersion = ptr.String(jtv) } + case "S3OutputLocation": if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3OutputLocation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TargetDevice": if value != nil { jtv, ok := value.(string) @@ -4504,10 +4559,12 @@ func awsRestjson1_deserializeDocumentGreengrassConfiguration(v **types.Greengras } sv.TargetDevice = types.TargetDevice(jtv) } + case "TargetPlatform": if err := awsRestjson1_deserializeDocumentTargetPlatform(&sv.TargetPlatform, value); err != nil { return err } + default: _, _ = key, value @@ -4547,6 +4604,7 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentName = ptr.String(jtv) } + case "ComponentVersion": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4613,7 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentVersion = ptr.String(jtv) } + case "ComponentVersionArn": if value != nil { jtv, ok := value.(string) @@ -4563,6 +4622,7 @@ func awsRestjson1_deserializeDocumentGreengrassOutputDetails(v **types.Greengras } sv.ComponentVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4602,6 +4662,7 @@ func awsRestjson1_deserializeDocumentImageSource(v **types.ImageSource, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4641,6 +4702,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4653,6 +4715,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4699,6 +4762,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4707,6 +4771,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.Description = ptr.String(jtv) } + case "EvaluationEndTimestamp": if value != nil { switch jtv := value.(type) { @@ -4722,14 +4787,17 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } } + case "EvaluationManifest": if err := awsRestjson1_deserializeDocumentOutputS3Object(&sv.EvaluationManifest, value); err != nil { return err } + case "EvaluationResult": if err := awsRestjson1_deserializeDocumentOutputS3Object(&sv.EvaluationResult, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4738,6 +4806,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.KmsKeyId = ptr.String(jtv) } + case "MaxInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -4750,6 +4819,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.MaxInferenceUnits = ptr.Int32(int32(i64)) } + case "MinInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -4762,6 +4832,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.MinInferenceUnits = ptr.Int32(int32(i64)) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -4770,6 +4841,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.ModelArn = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -4778,14 +4850,17 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.ModelVersion = ptr.String(jtv) } + case "OutputConfig": if err := awsRestjson1_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Performance": if err := awsRestjson1_deserializeDocumentModelPerformance(&sv.Performance, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4794,6 +4869,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.Status = types.ModelStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4802,6 +4878,7 @@ func awsRestjson1_deserializeDocumentModelDescription(v **types.ModelDescription } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4848,6 +4925,7 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4856,6 +4934,7 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.Description = ptr.String(jtv) } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -4864,6 +4943,7 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.ModelArn = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -4872,10 +4952,12 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.ModelVersion = ptr.String(jtv) } + case "Performance": if err := awsRestjson1_deserializeDocumentModelPerformance(&sv.Performance, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4884,6 +4966,7 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.Status = types.ModelStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4892,6 +4975,7 @@ func awsRestjson1_deserializeDocumentModelMetadata(v **types.ModelMetadata, valu } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4961,6 +5045,7 @@ func awsRestjson1_deserializeDocumentModelPackagingConfiguration(v **types.Model if err := awsRestjson1_deserializeDocumentGreengrassConfiguration(&sv.Greengrass, value); err != nil { return err } + default: _, _ = key, value @@ -5007,6 +5092,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -5015,6 +5101,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.JobName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5030,10 +5117,12 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } } + case "ModelPackagingConfiguration": if err := awsRestjson1_deserializeDocumentModelPackagingConfiguration(&sv.ModelPackagingConfiguration, value); err != nil { return err } + case "ModelPackagingJobDescription": if value != nil { jtv, ok := value.(string) @@ -5042,6 +5131,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelPackagingJobDescription = ptr.String(jtv) } + case "ModelPackagingMethod": if value != nil { jtv, ok := value.(string) @@ -5050,10 +5140,12 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelPackagingMethod = ptr.String(jtv) } + case "ModelPackagingOutputDetails": if err := awsRestjson1_deserializeDocumentModelPackagingOutputDetails(&sv.ModelPackagingOutputDetails, value); err != nil { return err } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -5062,6 +5154,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ModelVersion = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5070,6 +5163,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.ProjectName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5078,6 +5172,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.Status = types.ModelPackagingJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5086,6 +5181,7 @@ func awsRestjson1_deserializeDocumentModelPackagingDescription(v **types.ModelPa } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5132,6 +5228,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -5140,6 +5237,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.JobName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5155,6 +5253,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } } + case "ModelPackagingJobDescription": if value != nil { jtv, ok := value.(string) @@ -5163,6 +5262,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelPackagingJobDescription = ptr.String(jtv) } + case "ModelPackagingMethod": if value != nil { jtv, ok := value.(string) @@ -5171,6 +5271,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelPackagingMethod = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -5179,6 +5280,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ModelVersion = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5289,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.ProjectName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5195,6 +5298,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.Status = types.ModelPackagingJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5203,6 +5307,7 @@ func awsRestjson1_deserializeDocumentModelPackagingJobMetadata(v **types.ModelPa } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5272,6 +5377,7 @@ func awsRestjson1_deserializeDocumentModelPackagingOutputDetails(v **types.Model if err := awsRestjson1_deserializeDocumentGreengrassOutputDetails(&sv.Greengrass, value); err != nil { return err } + default: _, _ = key, value @@ -5336,6 +5442,7 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -5369,6 +5476,7 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -5402,6 +5510,7 @@ func awsRestjson1_deserializeDocumentModelPerformance(v **types.ModelPerformance } } + default: _, _ = key, value @@ -5437,6 +5546,7 @@ func awsRestjson1_deserializeDocumentOutputConfig(v **types.OutputConfig, value if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -5476,6 +5586,7 @@ func awsRestjson1_deserializeDocumentOutputS3Object(v **types.OutputS3Object, va } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -5484,6 +5595,7 @@ func awsRestjson1_deserializeDocumentOutputS3Object(v **types.OutputS3Object, va } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -5523,6 +5635,7 @@ func awsRestjson1_deserializeDocumentPixelAnomaly(v **types.PixelAnomaly, value } sv.Color = ptr.String(jtv) } + case "TotalPercentageArea": if value != nil { switch jtv := value.(type) { @@ -5556,6 +5669,7 @@ func awsRestjson1_deserializeDocumentPixelAnomaly(v **types.PixelAnomaly, value } } + default: _, _ = key, value @@ -5602,10 +5716,12 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } + case "Datasets": if err := awsRestjson1_deserializeDocumentDatasetMetadataList(&sv.Datasets, value); err != nil { return err } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -5614,6 +5730,7 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectArn = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5622,6 +5739,7 @@ func awsRestjson1_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectName = ptr.String(jtv) } + default: _, _ = key, value @@ -5668,6 +5786,7 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -5676,6 +5795,7 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } sv.ProjectArn = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -5684,6 +5804,7 @@ func awsRestjson1_deserializeDocumentProjectMetadata(v **types.ProjectMetadata, } sv.ProjectName = ptr.String(jtv) } + default: _, _ = key, value @@ -5757,6 +5878,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5765,6 +5887,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5773,6 +5896,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -5812,6 +5936,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -5820,6 +5945,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -5859,6 +5985,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -5867,6 +5994,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5875,6 +6003,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5883,6 +6012,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -5891,6 +6021,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5930,6 +6061,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5938,6 +6070,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6011,6 +6144,7 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Accelerator = types.TargetPlatformAccelerator(jtv) } + case "Arch": if value != nil { jtv, ok := value.(string) @@ -6019,6 +6153,7 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Arch = types.TargetPlatformArch(jtv) } + case "Os": if value != nil { jtv, ok := value.(string) @@ -6027,6 +6162,7 @@ func awsRestjson1_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Os = types.TargetPlatformOs(jtv) } + default: _, _ = key, value @@ -6066,6 +6202,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6074,6 +6211,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6086,6 +6224,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6094,6 +6233,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6133,6 +6273,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/m2/deserializers.go b/service/m2/deserializers.go index 9fef8ac21be..814e20bff4f 100644 --- a/service/m2/deserializers.go +++ b/service/m2/deserializers.go @@ -294,6 +294,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -302,6 +303,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -314,6 +316,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -487,6 +490,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetImportTaskOutput(v **CreateD } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -660,6 +664,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -830,6 +835,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -1300,6 +1306,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -1308,6 +1315,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1323,10 +1331,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "deployedVersion": if err := awsRestjson1_deserializeDocumentDeployedVersionSummary(&sv.DeployedVersion, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -1335,6 +1345,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -1343,6 +1354,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EngineType = types.EngineType(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -1351,6 +1363,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EnvironmentId = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1359,6 +1372,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.KmsKeyId = ptr.String(jtv) } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -1374,18 +1388,22 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "latestVersion": if err := awsRestjson1_deserializeDocumentApplicationVersionSummary(&sv.LatestVersion, value); err != nil { return err } + case "listenerArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.ListenerArns, value); err != nil { return err } + case "listenerPorts": if err := awsRestjson1_deserializeDocumentPortList(&sv.ListenerPorts, value); err != nil { return err } + case "loadBalancerDnsName": if value != nil { jtv, ok := value.(string) @@ -1394,10 +1412,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LoadBalancerDnsName = ptr.String(jtv) } + case "logGroups": if err := awsRestjson1_deserializeDocumentLogGroupSummaries(&sv.LogGroups, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1406,6 +1426,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1414,6 +1435,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1422,6 +1444,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1430,14 +1453,17 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetGroupArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.TargetGroupArns, value); err != nil { return err } + default: _, _ = key, value @@ -1609,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -1624,6 +1651,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } } + case "definitionContent": if value != nil { jtv, ok := value.(string) @@ -1632,6 +1660,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.DefinitionContent = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1640,6 +1669,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1648,6 +1678,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1656,6 +1687,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.Status = types.ApplicationVersionLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1664,6 +1696,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationVersionOutput(v **GetApplic } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -1831,10 +1864,12 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ApplicationId = ptr.String(jtv) } + case "batchJobIdentifier": if err := awsRestjson1_deserializeDocumentBatchJobIdentifier(&sv.BatchJobIdentifier, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -1850,6 +1885,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } } + case "executionId": if value != nil { jtv, ok := value.(string) @@ -1858,6 +1894,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ExecutionId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -1866,6 +1903,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -1874,10 +1912,12 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobName = ptr.String(jtv) } + case "jobStepRestartMarker": if err := awsRestjson1_deserializeDocumentJobStepRestartMarker(&sv.JobStepRestartMarker, value); err != nil { return err } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -1886,6 +1926,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobType = types.BatchJobType(jtv) } + case "jobUser": if value != nil { jtv, ok := value.(string) @@ -1894,6 +1935,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.JobUser = ptr.String(jtv) } + case "returnCode": if value != nil { jtv, ok := value.(string) @@ -1902,6 +1944,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.ReturnCode = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -1917,6 +1960,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } } + case "status": if value != nil { jtv, ok := value.(string) @@ -1925,6 +1969,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.Status = types.BatchJobExecutionStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1933,6 +1978,7 @@ func awsRestjson1_deserializeOpDocumentGetBatchJobExecutionOutput(v **GetBatchJo } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -2113,6 +2159,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.Blocksize = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2128,6 +2175,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } + case "dataSetName": if value != nil { jtv, ok := value.(string) @@ -2136,10 +2184,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.DataSetName = ptr.String(jtv) } + case "dataSetOrg": if err := awsRestjson1_deserializeDocumentDatasetDetailOrgAttributes(&sv.DataSetOrg, value); err != nil { return err } + case "fileSize": if value != nil { jtv, ok := value.(json.Number) @@ -2152,6 +2202,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.FileSize = ptr.Int64(i64) } + case "lastReferencedTime": if value != nil { switch jtv := value.(type) { @@ -2167,6 +2218,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2182,6 +2234,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } } + case "location": if value != nil { jtv, ok := value.(string) @@ -2190,6 +2243,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.Location = ptr.String(jtv) } + case "recordLength": if value != nil { jtv, ok := value.(json.Number) @@ -2202,6 +2256,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetDetailsOutput(v **GetDataSetDet } sv.RecordLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2369,10 +2424,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSetImportTaskOutput(v **GetDataSet } sv.Status = types.DataSetTaskLifecycle(jtv) } + case "summary": if err := awsRestjson1_deserializeDocumentDataSetImportSummary(&sv.Summary, value); err != nil { return err } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -2381,6 +2438,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSetImportTaskOutput(v **GetDataSet } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -2548,6 +2606,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationId = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -2560,6 +2619,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2575,6 +2635,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -2583,6 +2644,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.DeploymentId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2591,6 +2653,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.EnvironmentId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2662,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.Status = types.DeploymentLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2607,6 +2671,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -2778,6 +2843,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.ActualCapacity = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2793,6 +2859,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2801,6 +2868,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -2809,6 +2877,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EngineType = types.EngineType(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -2817,6 +2886,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EngineVersion = ptr.String(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -2825,6 +2895,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2833,10 +2904,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentId = ptr.String(jtv) } + case "highAvailabilityConfig": if err := awsRestjson1_deserializeDocumentHighAvailabilityConfig(&sv.HighAvailabilityConfig, value); err != nil { return err } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -2845,6 +2918,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.InstanceType = ptr.String(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2853,6 +2927,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.KmsKeyId = ptr.String(jtv) } + case "loadBalancerArn": if value != nil { jtv, ok := value.(string) @@ -2861,6 +2936,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.LoadBalancerArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2869,10 +2945,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } + case "pendingMaintenance": if err := awsRestjson1_deserializeDocumentPendingMaintenance(&sv.PendingMaintenance, value); err != nil { return err } + case "preferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -2881,6 +2959,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -2889,10 +2968,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.PubliclyAccessible = jtv } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentString50List(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2901,6 +2982,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Status = types.EnvironmentLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2909,18 +2991,22 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.StatusReason = ptr.String(jtv) } + case "storageConfigurations": if err := awsRestjson1_deserializeDocumentStorageConfigurationList(&sv.StorageConfigurations, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentString50List(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2929,6 +3015,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3090,6 +3177,7 @@ func awsRestjson1_deserializeOpDocumentGetSignedBluinsightsUrlOutput(v **GetSign } sv.SignedBiUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -3250,6 +3338,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaryList(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3347,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3421,6 +3511,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp if err := awsRestjson1_deserializeDocumentApplicationVersionSummaryList(&sv.ApplicationVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3429,6 +3520,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3592,6 +3684,7 @@ func awsRestjson1_deserializeOpDocumentListBatchJobDefinitionsOutput(v **ListBat if err := awsRestjson1_deserializeDocumentBatchJobDefinitions(&sv.BatchJobDefinitions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3600,6 +3693,7 @@ func awsRestjson1_deserializeOpDocumentListBatchJobDefinitionsOutput(v **ListBat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3763,6 +3857,7 @@ func awsRestjson1_deserializeOpDocumentListBatchJobExecutionsOutput(v **ListBatc if err := awsRestjson1_deserializeDocumentBatchJobExecutionSummaryList(&sv.BatchJobExecutions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3771,6 +3866,7 @@ func awsRestjson1_deserializeOpDocumentListBatchJobExecutionsOutput(v **ListBatc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3937,6 +4033,7 @@ func awsRestjson1_deserializeOpDocumentListBatchJobRestartPointsOutput(v **ListB if err := awsRestjson1_deserializeDocumentBatchJobStepList(&sv.BatchJobSteps, value); err != nil { return err } + default: _, _ = key, value @@ -4100,6 +4197,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetImportHistoryOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataSetImportTaskList(&sv.DataSetImportTasks, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4108,6 +4206,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetImportHistoryOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4280,6 +4379,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentDataSetsSummaryList(&sv.DataSets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4288,6 +4388,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4451,6 +4552,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsRestjson1_deserializeDocumentDeploymentList(&sv.Deployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4459,6 +4561,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4619,6 +4722,7 @@ func awsRestjson1_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe if err := awsRestjson1_deserializeDocumentEngineVersionsSummaryList(&sv.EngineVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4627,6 +4731,7 @@ func awsRestjson1_deserializeOpDocumentListEngineVersionsOutput(v **ListEngineVe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4787,6 +4892,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaryList(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4795,6 +4901,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4958,6 +5065,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5231,6 +5339,7 @@ func awsRestjson1_deserializeOpDocumentStartBatchJobOutput(v **StartBatchJobOutp } sv.ExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5711,6 +5820,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5884,6 +5994,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.EnvironmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -6287,6 +6398,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6326,6 +6438,7 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.AllowDuplicates = jtv } + case "length": if value != nil { jtv, ok := value.(json.Number) @@ -6338,6 +6451,7 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Length = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6346,6 +6460,7 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Name = ptr.String(jtv) } + case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -6358,6 +6473,7 @@ func awsRestjson1_deserializeDocumentAlternateKey(v **types.AlternateKey, value } sv.Offset = int32(i64) } + default: _, _ = key, value @@ -6431,6 +6547,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -6439,6 +6556,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -6451,6 +6569,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6466,6 +6585,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6594,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.DeploymentStatus = types.ApplicationDeploymentLifecycle(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6482,6 +6603,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -6490,6 +6612,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EngineType = types.EngineType(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -6498,6 +6621,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EnvironmentId = ptr.String(jtv) } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -6513,6 +6637,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6521,6 +6646,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6529,6 +6655,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6537,6 +6664,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Status = types.ApplicationLifecycle(jtv) } + case "versionStatus": if value != nil { jtv, ok := value.(string) @@ -6545,6 +6673,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.VersionStatus = types.ApplicationVersionLifecycle(jtv) } + default: _, _ = key, value @@ -6622,6 +6751,7 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6637,6 +6767,7 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6645,6 +6776,7 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.Status = types.ApplicationVersionLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -6653,6 +6785,7 @@ func awsRestjson1_deserializeDocumentApplicationVersionSummary(v **types.Applica } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -6844,10 +6977,12 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ApplicationId = ptr.String(jtv) } + case "batchJobIdentifier": if err := awsRestjson1_deserializeDocumentBatchJobIdentifier(&sv.BatchJobIdentifier, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6863,6 +6998,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } } + case "executionId": if value != nil { jtv, ok := value.(string) @@ -6871,6 +7007,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ExecutionId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -6879,6 +7016,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -6887,6 +7025,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobName = ptr.String(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -6895,6 +7034,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.JobType = types.BatchJobType(jtv) } + case "returnCode": if value != nil { jtv, ok := value.(string) @@ -6903,6 +7043,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.ReturnCode = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6918,6 +7059,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6926,6 +7068,7 @@ func awsRestjson1_deserializeDocumentBatchJobExecutionSummary(v **types.BatchJob } sv.Status = types.BatchJobExecutionStatus(jtv) } + default: _, _ = key, value @@ -7103,6 +7246,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7111,6 +7255,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7119,6 +7264,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -7232,6 +7378,7 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Failed = int32(i64) } + case "inProgress": if value != nil { jtv, ok := value.(json.Number) @@ -7244,6 +7391,7 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.InProgress = int32(i64) } + case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -7256,6 +7404,7 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Pending = int32(i64) } + case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -7268,6 +7417,7 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Succeeded = int32(i64) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -7280,6 +7430,7 @@ func awsRestjson1_deserializeDocumentDataSetImportSummary(v **types.DataSetImpor } sv.Total = int32(i64) } + default: _, _ = key, value @@ -7319,6 +7470,7 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.Status = types.DataSetTaskLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7327,10 +7479,12 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.StatusReason = ptr.String(jtv) } + case "summary": if err := awsRestjson1_deserializeDocumentDataSetImportSummary(&sv.Summary, value); err != nil { return err } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -7339,6 +7493,7 @@ func awsRestjson1_deserializeDocumentDataSetImportTask(v **types.DataSetImportTa } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -7453,6 +7608,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } + case "dataSetName": if value != nil { jtv, ok := value.(string) @@ -7461,6 +7617,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetName = ptr.String(jtv) } + case "dataSetOrg": if value != nil { jtv, ok := value.(string) @@ -7469,6 +7626,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetOrg = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -7477,6 +7635,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Format = ptr.String(jtv) } + case "lastReferencedTime": if value != nil { switch jtv := value.(type) { @@ -7492,6 +7651,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7507,6 +7667,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } + default: _, _ = key, value @@ -7550,6 +7711,7 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7558,6 +7720,7 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.Status = types.DeploymentLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7566,6 +7729,7 @@ func awsRestjson1_deserializeDocumentDeployedVersionSummary(v **types.DeployedVe } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -7639,6 +7803,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ApplicationId = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(json.Number) @@ -7651,6 +7816,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ApplicationVersion = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -7666,6 +7832,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -7674,6 +7841,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -7682,6 +7850,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.EnvironmentId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7690,6 +7859,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Status = types.DeploymentLifecycle(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -7698,6 +7868,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -7737,6 +7908,7 @@ func awsRestjson1_deserializeDocumentEfsStorageConfiguration(v **types.EfsStorag } sv.FileSystemId = ptr.String(jtv) } + case "mount-point": if value != nil { jtv, ok := value.(string) @@ -7745,6 +7917,7 @@ func awsRestjson1_deserializeDocumentEfsStorageConfiguration(v **types.EfsStorag } sv.MountPoint = ptr.String(jtv) } + default: _, _ = key, value @@ -7784,6 +7957,7 @@ func awsRestjson1_deserializeDocumentEngineVersionsSummary(v **types.EngineVersi } sv.EngineType = ptr.String(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -7792,6 +7966,7 @@ func awsRestjson1_deserializeDocumentEngineVersionsSummary(v **types.EngineVersi } sv.EngineVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -7872,6 +8047,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -7880,6 +8056,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EngineType = types.EngineType(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -7888,6 +8065,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EngineVersion = ptr.String(jtv) } + case "environmentArn": if value != nil { jtv, ok := value.(string) @@ -7896,6 +8074,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentArn = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -7904,6 +8083,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentId = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -7912,6 +8092,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.InstanceType = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7920,6 +8101,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7928,6 +8110,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Status = types.EnvironmentLifecycle(jtv) } + default: _, _ = key, value @@ -8001,6 +8184,7 @@ func awsRestjson1_deserializeDocumentExecutionTimeoutException(v **types.Executi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8040,6 +8224,7 @@ func awsRestjson1_deserializeDocumentFileBatchJobDefinition(v **types.FileBatchJ } sv.FileName = ptr.String(jtv) } + case "folderPath": if value != nil { jtv, ok := value.(string) @@ -8048,6 +8233,7 @@ func awsRestjson1_deserializeDocumentFileBatchJobDefinition(v **types.FileBatchJ } sv.FolderPath = ptr.String(jtv) } + default: _, _ = key, value @@ -8087,6 +8273,7 @@ func awsRestjson1_deserializeDocumentFileBatchJobIdentifier(v **types.FileBatchJ } sv.FileName = ptr.String(jtv) } + case "folderPath": if value != nil { jtv, ok := value.(string) @@ -8095,6 +8282,7 @@ func awsRestjson1_deserializeDocumentFileBatchJobIdentifier(v **types.FileBatchJ } sv.FolderPath = ptr.String(jtv) } + default: _, _ = key, value @@ -8134,6 +8322,7 @@ func awsRestjson1_deserializeDocumentFsxStorageConfiguration(v **types.FsxStorag } sv.FileSystemId = ptr.String(jtv) } + case "mount-point": if value != nil { jtv, ok := value.(string) @@ -8142,6 +8331,7 @@ func awsRestjson1_deserializeDocumentFsxStorageConfiguration(v **types.FsxStorag } sv.MountPoint = ptr.String(jtv) } + default: _, _ = key, value @@ -8185,6 +8375,7 @@ func awsRestjson1_deserializeDocumentGdgDetailAttributes(v **types.GdgDetailAttr } sv.Limit = int32(i64) } + case "rollDisposition": if value != nil { jtv, ok := value.(string) @@ -8193,6 +8384,7 @@ func awsRestjson1_deserializeDocumentGdgDetailAttributes(v **types.GdgDetailAttr } sv.RollDisposition = ptr.String(jtv) } + default: _, _ = key, value @@ -8236,6 +8428,7 @@ func awsRestjson1_deserializeDocumentHighAvailabilityConfig(v **types.HighAvaila } sv.DesiredCapacity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8275,6 +8468,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8287,6 +8481,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -8380,6 +8575,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.ProcStepName = ptr.String(jtv) } + case "procStepNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8392,6 +8588,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.ProcStepNumber = int32(i64) } + case "stepCondCode": if value != nil { jtv, ok := value.(string) @@ -8400,6 +8597,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepCondCode = ptr.String(jtv) } + case "stepName": if value != nil { jtv, ok := value.(string) @@ -8408,6 +8606,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepName = ptr.String(jtv) } + case "stepNumber": if value != nil { jtv, ok := value.(json.Number) @@ -8420,6 +8619,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepNumber = int32(i64) } + case "stepRestartable": if value != nil { jtv, ok := value.(bool) @@ -8428,6 +8628,7 @@ func awsRestjson1_deserializeDocumentJobStep(v **types.JobStep, value interface{ } sv.StepRestartable = jtv } + default: _, _ = key, value @@ -8467,6 +8668,7 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.FromProcStep = ptr.String(jtv) } + case "fromStep": if value != nil { jtv, ok := value.(string) @@ -8475,6 +8677,7 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.FromStep = ptr.String(jtv) } + case "toProcStep": if value != nil { jtv, ok := value.(string) @@ -8483,6 +8686,7 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.ToProcStep = ptr.String(jtv) } + case "toStep": if value != nil { jtv, ok := value.(string) @@ -8491,6 +8695,7 @@ func awsRestjson1_deserializeDocumentJobStepRestartMarker(v **types.JobStepResta } sv.ToStep = ptr.String(jtv) } + default: _, _ = key, value @@ -8564,6 +8769,7 @@ func awsRestjson1_deserializeDocumentLogGroupSummary(v **types.LogGroupSummary, } sv.LogGroupName = ptr.String(jtv) } + case "logType": if value != nil { jtv, ok := value.(string) @@ -8572,6 +8778,7 @@ func awsRestjson1_deserializeDocumentLogGroupSummary(v **types.LogGroupSummary, } sv.LogType = ptr.String(jtv) } + default: _, _ = key, value @@ -8618,6 +8825,7 @@ func awsRestjson1_deserializeDocumentMaintenanceSchedule(v **types.MaintenanceSc } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -8633,6 +8841,7 @@ func awsRestjson1_deserializeDocumentMaintenanceSchedule(v **types.MaintenanceSc } } + default: _, _ = key, value @@ -8672,10 +8881,12 @@ func awsRestjson1_deserializeDocumentPendingMaintenance(v **types.PendingMainten } sv.EngineVersion = ptr.String(jtv) } + case "schedule": if err := awsRestjson1_deserializeDocumentMaintenanceSchedule(&sv.Schedule, value); err != nil { return err } + default: _, _ = key, value @@ -8715,6 +8926,7 @@ func awsRestjson1_deserializeDocumentPoDetailAttributes(v **types.PoDetailAttrib } sv.Encoding = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -8723,6 +8935,7 @@ func awsRestjson1_deserializeDocumentPoDetailAttributes(v **types.PoDetailAttrib } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -8806,6 +9019,7 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Length = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8814,6 +9028,7 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Name = ptr.String(jtv) } + case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -8826,6 +9041,7 @@ func awsRestjson1_deserializeDocumentPrimaryKey(v **types.PrimaryKey, value inte } sv.Offset = int32(i64) } + default: _, _ = key, value @@ -8865,6 +9081,7 @@ func awsRestjson1_deserializeDocumentPsDetailAttributes(v **types.PsDetailAttrib } sv.Encoding = ptr.String(jtv) } + case "format": if value != nil { jtv, ok := value.(string) @@ -8873,6 +9090,7 @@ func awsRestjson1_deserializeDocumentPsDetailAttributes(v **types.PsDetailAttrib } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -8912,6 +9130,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8920,6 +9139,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8928,6 +9148,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -8967,10 +9188,12 @@ func awsRestjson1_deserializeDocumentRestartBatchJobIdentifier(v **types.Restart } sv.ExecutionId = ptr.String(jtv) } + case "jobStepRestartMarker": if err := awsRestjson1_deserializeDocumentJobStepRestartMarker(&sv.JobStepRestartMarker, value); err != nil { return err } + default: _, _ = key, value @@ -9010,10 +9233,12 @@ func awsRestjson1_deserializeDocumentS3BatchJobIdentifier(v **types.S3BatchJobId } sv.Bucket = ptr.String(jtv) } + case "identifier": if err := awsRestjson1_deserializeDocumentJobIdentifier(&sv.Identifier, value); err != nil { return err } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -9022,6 +9247,7 @@ func awsRestjson1_deserializeDocumentS3BatchJobIdentifier(v **types.S3BatchJobId } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -9061,6 +9287,7 @@ func awsRestjson1_deserializeDocumentScriptBatchJobDefinition(v **types.ScriptBa } sv.ScriptName = ptr.String(jtv) } + default: _, _ = key, value @@ -9100,6 +9327,7 @@ func awsRestjson1_deserializeDocumentScriptBatchJobIdentifier(v **types.ScriptBa } sv.ScriptName = ptr.String(jtv) } + default: _, _ = key, value @@ -9139,6 +9367,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9147,6 +9376,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9155,6 +9385,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9163,6 +9394,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9171,6 +9403,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9210,6 +9443,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9403,6 +9637,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -9411,6 +9646,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9423,6 +9659,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -9431,6 +9668,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9466,6 +9704,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9474,6 +9713,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9482,6 +9722,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -9521,6 +9762,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9529,6 +9771,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9598,6 +9841,7 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt if err := awsRestjson1_deserializeDocumentAlternateKeyList(&sv.AlternateKeys, value); err != nil { return err } + case "cacheAtStartup": if value != nil { jtv, ok := value.(bool) @@ -9606,6 +9850,7 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.CacheAtStartup = ptr.Bool(jtv) } + case "compressed": if value != nil { jtv, ok := value.(bool) @@ -9614,6 +9859,7 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.Compressed = ptr.Bool(jtv) } + case "encoding": if value != nil { jtv, ok := value.(string) @@ -9622,10 +9868,12 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.Encoding = ptr.String(jtv) } + case "primaryKey": if err := awsRestjson1_deserializeDocumentPrimaryKey(&sv.PrimaryKey, value); err != nil { return err } + case "recordFormat": if value != nil { jtv, ok := value.(string) @@ -9634,6 +9882,7 @@ func awsRestjson1_deserializeDocumentVsamDetailAttributes(v **types.VsamDetailAt } sv.RecordFormat = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/machinelearning/deserializers.go b/service/machinelearning/deserializers.go index cb0bc3be6d4..559b27a0a1b 100644 --- a/service/machinelearning/deserializers.go +++ b/service/machinelearning/deserializers.go @@ -3619,6 +3619,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.BatchPredictionDataSourceId = ptr.String(jtv) } + case "BatchPredictionId": if value != nil { jtv, ok := value.(string) @@ -3627,6 +3628,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.BatchPredictionId = ptr.String(jtv) } + case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -3639,6 +3641,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3654,6 +3657,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -3662,6 +3666,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.CreatedByIamUser = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -3677,6 +3682,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -3685,6 +3691,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InputDataLocationS3 = ptr.String(jtv) } + case "InvalidRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3697,6 +3704,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.InvalidRecordCount = ptr.Int64(i64) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3712,6 +3720,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3720,6 +3729,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -3728,6 +3738,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.MLModelId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3736,6 +3747,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Name = ptr.String(jtv) } + case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -3744,6 +3756,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.OutputUri = ptr.String(jtv) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -3759,6 +3772,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3767,6 +3781,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.Status = types.EntityStatus(jtv) } + case "TotalRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3779,6 +3794,7 @@ func awsAwsjson11_deserializeDocumentBatchPrediction(v **types.BatchPrediction, } sv.TotalRecordCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3852,6 +3868,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ComputeStatistics = jtv } + case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -3864,6 +3881,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3879,6 +3897,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -3887,6 +3906,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.CreatedByIamUser = ptr.String(jtv) } + case "DataLocationS3": if value != nil { jtv, ok := value.(string) @@ -3895,6 +3915,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataLocationS3 = ptr.String(jtv) } + case "DataRearrangement": if value != nil { jtv, ok := value.(string) @@ -3903,6 +3924,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataRearrangement = ptr.String(jtv) } + case "DataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3915,6 +3937,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSizeInBytes = ptr.Int64(i64) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -3923,6 +3946,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -3938,6 +3962,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3953,6 +3978,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3961,6 +3987,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3969,6 +3996,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } + case "NumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -3981,14 +4009,17 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.NumberOfFiles = ptr.Int64(i64) } + case "RDSMetadata": if err := awsAwsjson11_deserializeDocumentRDSMetadata(&sv.RDSMetadata, value); err != nil { return err } + case "RedshiftMetadata": if err := awsAwsjson11_deserializeDocumentRedshiftMetadata(&sv.RedshiftMetadata, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3997,6 +4028,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.RoleARN = ptr.String(jtv) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4012,6 +4044,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4020,6 +4053,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.EntityStatus(jtv) } + default: _, _ = key, value @@ -4133,6 +4167,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4148,6 +4183,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -4156,6 +4192,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.CreatedByIamUser = ptr.String(jtv) } + case "EvaluationDataSourceId": if value != nil { jtv, ok := value.(string) @@ -4164,6 +4201,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationDataSourceId = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -4172,6 +4210,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.EvaluationId = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -4187,6 +4226,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -4195,6 +4235,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.InputDataLocationS3 = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4210,6 +4251,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4218,6 +4260,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -4226,6 +4269,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.MLModelId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4234,10 +4278,12 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Name = ptr.String(jtv) } + case "PerformanceMetrics": if err := awsAwsjson11_deserializeDocumentPerformanceMetrics(&sv.PerformanceMetrics, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4253,6 +4299,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4261,6 +4308,7 @@ func awsAwsjson11_deserializeDocumentEvaluation(v **types.Evaluation, value inte } sv.Status = types.EntityStatus(jtv) } + default: _, _ = key, value @@ -4338,6 +4386,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4346,6 +4395,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4389,6 +4439,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4397,6 +4448,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4440,6 +4492,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4448,6 +4501,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4487,6 +4541,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4530,6 +4585,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4538,6 +4594,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4577,6 +4634,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Algorithm = types.Algorithm(jtv) } + case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -4589,6 +4647,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4604,6 +4663,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -4612,10 +4672,12 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.CreatedByIamUser = ptr.String(jtv) } + case "EndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -4631,6 +4693,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -4639,6 +4702,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.InputDataLocationS3 = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4654,6 +4718,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4662,6 +4727,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -4670,6 +4736,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.MLModelId = ptr.String(jtv) } + case "MLModelType": if value != nil { jtv, ok := value.(string) @@ -4678,6 +4745,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.MLModelType = types.MLModelType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4686,6 +4754,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Name = ptr.String(jtv) } + case "ScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -4719,6 +4788,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "ScoreThresholdLastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4734,6 +4804,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4746,6 +4817,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.SizeInBytes = ptr.Int64(i64) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -4761,6 +4833,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4769,6 +4842,7 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.Status = types.EntityStatus(jtv) } + case "TrainingDataSourceId": if value != nil { jtv, ok := value.(string) @@ -4777,10 +4851,12 @@ func awsAwsjson11_deserializeDocumentMLModel(v **types.MLModel, value interface{ } sv.TrainingDataSourceId = ptr.String(jtv) } + case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4850,6 +4926,7 @@ func awsAwsjson11_deserializeDocumentPerformanceMetrics(v **types.PerformanceMet if err := awsAwsjson11_deserializeDocumentPerformanceMetricsProperties(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -4921,6 +4998,7 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte if err := awsAwsjson11_deserializeDocumentDetailsMap(&sv.Details, value); err != nil { return err } + case "predictedLabel": if value != nil { jtv, ok := value.(string) @@ -4929,10 +5007,12 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } sv.PredictedLabel = ptr.String(jtv) } + case "predictedScores": if err := awsAwsjson11_deserializeDocumentScoreValuePerLabelMap(&sv.PredictedScores, value); err != nil { return err } + case "predictedValue": if value != nil { switch jtv := value.(type) { @@ -4966,6 +5046,7 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } } + default: _, _ = key, value @@ -5005,6 +5086,7 @@ func awsAwsjson11_deserializeDocumentPredictorNotMountedException(v **types.Pred } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5044,6 +5126,7 @@ func awsAwsjson11_deserializeDocumentRDSDatabase(v **types.RDSDatabase, value in } sv.DatabaseName = ptr.String(jtv) } + case "InstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -5052,6 +5135,7 @@ func awsAwsjson11_deserializeDocumentRDSDatabase(v **types.RDSDatabase, value in } sv.InstanceIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5087,6 +5171,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in if err := awsAwsjson11_deserializeDocumentRDSDatabase(&sv.Database, value); err != nil { return err } + case "DatabaseUserName": if value != nil { jtv, ok := value.(string) @@ -5095,6 +5180,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.DatabaseUserName = ptr.String(jtv) } + case "DataPipelineId": if value != nil { jtv, ok := value.(string) @@ -5103,6 +5189,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.DataPipelineId = ptr.String(jtv) } + case "ResourceRole": if value != nil { jtv, ok := value.(string) @@ -5111,6 +5198,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.ResourceRole = ptr.String(jtv) } + case "SelectSqlQuery": if value != nil { jtv, ok := value.(string) @@ -5119,6 +5207,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.SelectSqlQuery = ptr.String(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -5127,6 +5216,7 @@ func awsAwsjson11_deserializeDocumentRDSMetadata(v **types.RDSMetadata, value in } sv.ServiceRole = ptr.String(jtv) } + default: _, _ = key, value @@ -5173,6 +5263,7 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -5181,6 +5272,7 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.EndpointStatus = types.RealtimeEndpointStatus(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -5189,6 +5281,7 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.EndpointUrl = ptr.String(jtv) } + case "PeakRequestsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -5201,6 +5294,7 @@ func awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(v **types.RealtimeEndp } sv.PeakRequestsPerSecond = int32(i64) } + default: _, _ = key, value @@ -5240,6 +5334,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatabase(v **types.RedshiftDatabase } sv.ClusterIdentifier = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -5248,6 +5343,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatabase(v **types.RedshiftDatabase } sv.DatabaseName = ptr.String(jtv) } + default: _, _ = key, value @@ -5287,10 +5383,12 @@ func awsAwsjson11_deserializeDocumentRedshiftMetadata(v **types.RedshiftMetadata } sv.DatabaseUserName = ptr.String(jtv) } + case "RedshiftDatabase": if err := awsAwsjson11_deserializeDocumentRedshiftDatabase(&sv.RedshiftDatabase, value); err != nil { return err } + case "SelectSqlQuery": if value != nil { jtv, ok := value.(string) @@ -5299,6 +5397,7 @@ func awsAwsjson11_deserializeDocumentRedshiftMetadata(v **types.RedshiftMetadata } sv.SelectSqlQuery = ptr.String(jtv) } + default: _, _ = key, value @@ -5342,6 +5441,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = int32(i64) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5350,6 +5450,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5450,6 +5551,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5458,6 +5560,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5497,6 +5600,7 @@ func awsAwsjson11_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5606,6 +5710,7 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5614,6 +5719,7 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in } sv.ResourceType = types.TaggableResourceType(jtv) } + default: _, _ = key, value @@ -5653,6 +5759,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchPredictionOutput(v **CreateBat } sv.BatchPredictionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5692,6 +5799,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromRDSOutput(v **CreateD } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5731,6 +5839,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromRedshiftOutput(v **Cr } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5770,6 +5879,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataSourceFromS3Output(v **CreateDa } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5809,6 +5919,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEvaluationOutput(v **CreateEvaluati } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5848,6 +5959,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMLModelOutput(v **CreateMLModelOutp } sv.MLModelId = ptr.String(jtv) } + default: _, _ = key, value @@ -5887,10 +5999,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRealtimeEndpointOutput(v **CreateRe } sv.MLModelId = ptr.String(jtv) } + case "RealtimeEndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.RealtimeEndpointInfo, value); err != nil { return err } + default: _, _ = key, value @@ -5930,6 +6044,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBatchPredictionOutput(v **DeleteBat } sv.BatchPredictionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5969,6 +6084,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6008,6 +6124,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEvaluationOutput(v **DeleteEvaluati } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6047,6 +6164,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteMLModelOutput(v **DeleteMLModelOutp } sv.MLModelId = ptr.String(jtv) } + default: _, _ = key, value @@ -6086,10 +6204,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteRealtimeEndpointOutput(v **DeleteRe } sv.MLModelId = ptr.String(jtv) } + case "RealtimeEndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.RealtimeEndpointInfo, value); err != nil { return err } + default: _, _ = key, value @@ -6129,6 +6249,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTagsOutput(v **DeleteTagsOutput, va } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6137,6 +6258,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTagsOutput(v **DeleteTagsOutput, va } sv.ResourceType = types.TaggableResourceType(jtv) } + default: _, _ = key, value @@ -6176,10 +6298,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchPredictionsOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentBatchPredictions(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6219,10 +6343,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataSourcesOutput(v **DescribeDat } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentDataSources(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6262,10 +6388,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEvaluationsOutput(v **DescribeEva } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentEvaluations(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6305,10 +6433,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMLModelsOutput(v **DescribeMLMode } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentMLModels(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6348,6 +6478,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6356,10 +6487,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput } sv.ResourceType = types.TaggableResourceType(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6399,6 +6532,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.BatchPredictionDataSourceId = ptr.String(jtv) } + case "BatchPredictionId": if value != nil { jtv, ok := value.(string) @@ -6407,6 +6541,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.BatchPredictionId = ptr.String(jtv) } + case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -6419,6 +6554,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6434,6 +6570,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -6442,6 +6579,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.CreatedByIamUser = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -6457,6 +6595,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -6465,6 +6604,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.InputDataLocationS3 = ptr.String(jtv) } + case "InvalidRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -6477,6 +6617,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.InvalidRecordCount = ptr.Int64(i64) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6492,6 +6633,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -6500,6 +6642,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.LogUri = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6508,6 +6651,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -6516,6 +6660,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.MLModelId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6524,6 +6669,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Name = ptr.String(jtv) } + case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -6532,6 +6678,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.OutputUri = ptr.String(jtv) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6547,6 +6694,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6555,6 +6703,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.Status = types.EntityStatus(jtv) } + case "TotalRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -6567,6 +6716,7 @@ func awsAwsjson11_deserializeOpDocumentGetBatchPredictionOutput(v **GetBatchPred } sv.TotalRecordCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6606,6 +6756,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ComputeStatistics = jtv } + case "ComputeTime": if value != nil { jtv, ok := value.(json.Number) @@ -6618,6 +6769,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6633,6 +6785,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -6641,6 +6794,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.CreatedByIamUser = ptr.String(jtv) } + case "DataLocationS3": if value != nil { jtv, ok := value.(string) @@ -6649,6 +6803,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataLocationS3 = ptr.String(jtv) } + case "DataRearrangement": if value != nil { jtv, ok := value.(string) @@ -6657,6 +6812,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataRearrangement = ptr.String(jtv) } + case "DataSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -6669,6 +6825,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSizeInBytes = ptr.Int64(i64) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6834,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceId = ptr.String(jtv) } + case "DataSourceSchema": if value != nil { jtv, ok := value.(string) @@ -6685,6 +6843,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceSchema = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -6700,6 +6859,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6715,6 +6875,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -6723,6 +6884,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.LogUri = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6731,6 +6893,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6739,6 +6902,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } + case "NumberOfFiles": if value != nil { jtv, ok := value.(json.Number) @@ -6751,14 +6915,17 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.NumberOfFiles = ptr.Int64(i64) } + case "RDSMetadata": if err := awsAwsjson11_deserializeDocumentRDSMetadata(&sv.RDSMetadata, value); err != nil { return err } + case "RedshiftMetadata": if err := awsAwsjson11_deserializeDocumentRedshiftMetadata(&sv.RedshiftMetadata, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -6767,6 +6934,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.RoleARN = ptr.String(jtv) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6782,6 +6950,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6790,6 +6959,7 @@ func awsAwsjson11_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.EntityStatus(jtv) } + default: _, _ = key, value @@ -6833,6 +7003,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6848,6 +7019,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -6856,6 +7028,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.CreatedByIamUser = ptr.String(jtv) } + case "EvaluationDataSourceId": if value != nil { jtv, ok := value.(string) @@ -6864,6 +7037,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.EvaluationDataSourceId = ptr.String(jtv) } + case "EvaluationId": if value != nil { jtv, ok := value.(string) @@ -6872,6 +7046,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.EvaluationId = ptr.String(jtv) } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -6887,6 +7062,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -6895,6 +7071,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.InputDataLocationS3 = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6910,6 +7087,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -6918,6 +7096,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.LogUri = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6926,6 +7105,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -6934,6 +7114,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.MLModelId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6942,10 +7123,12 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Name = ptr.String(jtv) } + case "PerformanceMetrics": if err := awsAwsjson11_deserializeDocumentPerformanceMetrics(&sv.PerformanceMetrics, value); err != nil { return err } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -6961,6 +7144,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6969,6 +7153,7 @@ func awsAwsjson11_deserializeOpDocumentGetEvaluationOutput(v **GetEvaluationOutp } sv.Status = types.EntityStatus(jtv) } + default: _, _ = key, value @@ -7012,6 +7197,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.ComputeTime = ptr.Int64(i64) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7027,6 +7213,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "CreatedByIamUser": if value != nil { jtv, ok := value.(string) @@ -7035,10 +7222,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.CreatedByIamUser = ptr.String(jtv) } + case "EndpointInfo": if err := awsAwsjson11_deserializeDocumentRealtimeEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } + case "FinishedAt": if value != nil { switch jtv := value.(type) { @@ -7054,6 +7243,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "InputDataLocationS3": if value != nil { jtv, ok := value.(string) @@ -7062,6 +7252,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.InputDataLocationS3 = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7077,6 +7268,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "LogUri": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7277,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.LogUri = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -7093,6 +7286,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Message = ptr.String(jtv) } + case "MLModelId": if value != nil { jtv, ok := value.(string) @@ -7101,6 +7295,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.MLModelId = ptr.String(jtv) } + case "MLModelType": if value != nil { jtv, ok := value.(string) @@ -7109,6 +7304,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.MLModelType = types.MLModelType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7117,6 +7313,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Name = ptr.String(jtv) } + case "Recipe": if value != nil { jtv, ok := value.(string) @@ -7125,6 +7322,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Recipe = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -7133,6 +7331,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Schema = ptr.String(jtv) } + case "ScoreThreshold": if value != nil { switch jtv := value.(type) { @@ -7166,6 +7365,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "ScoreThresholdLastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7181,6 +7381,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "SizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -7193,6 +7394,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.SizeInBytes = ptr.Int64(i64) } + case "StartedAt": if value != nil { switch jtv := value.(type) { @@ -7208,6 +7410,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7216,6 +7419,7 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.Status = types.EntityStatus(jtv) } + case "TrainingDataSourceId": if value != nil { jtv, ok := value.(string) @@ -7224,10 +7428,12 @@ func awsAwsjson11_deserializeOpDocumentGetMLModelOutput(v **GetMLModelOutput, va } sv.TrainingDataSourceId = ptr.String(jtv) } + case "TrainingParameters": if err := awsAwsjson11_deserializeDocumentTrainingParameters(&sv.TrainingParameters, value); err != nil { return err } + default: _, _ = key, value @@ -7263,6 +7469,7 @@ func awsAwsjson11_deserializeOpDocumentPredictOutput(v **PredictOutput, value in if err := awsAwsjson11_deserializeDocumentPrediction(&sv.Prediction, value); err != nil { return err } + default: _, _ = key, value @@ -7302,6 +7509,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBatchPredictionOutput(v **UpdateBat } sv.BatchPredictionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7341,6 +7549,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7380,6 +7589,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEvaluationOutput(v **UpdateEvaluati } sv.EvaluationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7419,6 +7629,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMLModelOutput(v **UpdateMLModelOutp } sv.MLModelId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/macie2/deserializers.go b/service/macie2/deserializers.go index 2fe068cb850..78457d3971d 100644 --- a/service/macie2/deserializers.go +++ b/service/macie2/deserializers.go @@ -296,10 +296,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetCustomDataIdentifiersOutput(v **B if err := awsRestjson1_deserializeDocument__listOfBatchGetCustomDataIdentifierSummary(&sv.CustomDataIdentifiers, value); err != nil { return err } + case "notFoundIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NotFoundIdentifierIds, value); err != nil { return err } + default: _, _ = key, value @@ -463,6 +465,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateAutomatedDiscoveryAccountsOutp if err := awsRestjson1_deserializeDocument__listOfAutomatedDiscoveryAccountUpdateError(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -636,6 +639,7 @@ func awsRestjson1_deserializeOpDocumentCreateAllowListOutput(v **CreateAllowList } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -644,6 +648,7 @@ func awsRestjson1_deserializeOpDocumentCreateAllowListOutput(v **CreateAllowList } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -817,6 +822,7 @@ func awsRestjson1_deserializeOpDocumentCreateClassificationJobOutput(v **CreateC } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -825,6 +831,7 @@ func awsRestjson1_deserializeOpDocumentCreateClassificationJobOutput(v **CreateC } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -998,6 +1005,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomDataIdentifierOutput(v **Crea } sv.CustomDataIdentifierId = ptr.String(jtv) } + default: _, _ = key, value @@ -1171,6 +1179,7 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsFilterOutput(v **CreateFind } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1188,7 @@ func awsRestjson1_deserializeOpDocumentCreateFindingsFilterOutput(v **CreateFind } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1348,6 +1358,7 @@ func awsRestjson1_deserializeOpDocumentCreateInvitationsOutput(v **CreateInvitat if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -1521,6 +1532,7 @@ func awsRestjson1_deserializeOpDocumentCreateMemberOutput(v **CreateMemberOutput } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1796,6 +1808,7 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -2277,6 +2290,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocument__listOfUnprocessedAccount(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -2552,6 +2566,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBucketsOutput(v **DescribeBuckets if err := awsRestjson1_deserializeDocument__listOfBucketMetadata(&sv.Buckets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2560,6 +2575,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBucketsOutput(v **DescribeBuckets } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2729,6 +2745,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowListIds, value); err != nil { return err } + case "clientToken": if value != nil { jtv, ok := value.(string) @@ -2737,6 +2754,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.ClientToken = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2749,10 +2767,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.CreatedAt = ptr.Time(t) } + case "customDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CustomDataIdentifierIds, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -2761,6 +2781,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.Description = ptr.String(jtv) } + case "initialRun": if value != nil { jtv, ok := value.(bool) @@ -2769,6 +2790,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.InitialRun = ptr.Bool(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -2777,6 +2799,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2785,6 +2808,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobId = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2793,6 +2817,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobStatus = types.JobStatus(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -2801,10 +2826,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.JobType = types.JobType(jtv) } + case "lastRunErrorStatus": if err := awsRestjson1_deserializeDocumentLastRunErrorStatus(&sv.LastRunErrorStatus, value); err != nil { return err } + case "lastRunTime": if value != nil { jtv, ok := value.(string) @@ -2817,10 +2844,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.LastRunTime = ptr.Time(t) } + case "managedDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } + case "managedDataIdentifierSelector": if value != nil { jtv, ok := value.(string) @@ -2829,6 +2858,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.ManagedDataIdentifierSelector = types.ManagedDataIdentifierSelector(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2837,10 +2867,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.Name = ptr.String(jtv) } + case "s3JobDefinition": if err := awsRestjson1_deserializeDocumentS3JobDefinition(&sv.S3JobDefinition, value); err != nil { return err } + case "samplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -2853,22 +2885,27 @@ func awsRestjson1_deserializeOpDocumentDescribeClassificationJobOutput(v **Descr } sv.SamplingPercentage = ptr.Int32(int32(i64)) } + case "scheduleFrequency": if err := awsRestjson1_deserializeDocumentJobScheduleFrequency(&sv.ScheduleFrequency, value); err != nil { return err } + case "statistics": if err := awsRestjson1_deserializeDocumentStatistics(&sv.Statistics, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "userPausedDetails": if err := awsRestjson1_deserializeDocumentUserPausedDetails(&sv.UserPausedDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3042,6 +3079,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } + case "maxAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -3050,6 +3088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MaxAccountLimitReached = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3961,6 +4000,7 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentInvitation(&sv.Administrator, value); err != nil { return err } + default: _, _ = key, value @@ -4128,6 +4168,7 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4140,10 +4181,12 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.CreatedAt = ptr.Time(t) } + case "criteria": if err := awsRestjson1_deserializeDocumentAllowListCriteria(&sv.Criteria, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -4152,6 +4195,7 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4160,6 +4204,7 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4168,14 +4213,17 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.Name = ptr.String(jtv) } + case "status": if err := awsRestjson1_deserializeDocumentAllowListStatus(&sv.Status, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -4188,6 +4236,7 @@ func awsRestjson1_deserializeOpDocumentGetAllowListOutput(v **GetAllowListOutput } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -4352,6 +4401,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.AutoEnableOrganizationMembers = types.AutoEnableMode(jtv) } + case "classificationScopeId": if value != nil { jtv, ok := value.(string) @@ -4360,6 +4410,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.ClassificationScopeId = ptr.String(jtv) } + case "disabledAt": if value != nil { jtv, ok := value.(string) @@ -4372,6 +4423,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.DisabledAt = ptr.Time(t) } + case "firstEnabledAt": if value != nil { jtv, ok := value.(string) @@ -4384,6 +4436,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.FirstEnabledAt = ptr.Time(t) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4396,6 +4449,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.LastUpdatedAt = ptr.Time(t) } + case "sensitivityInspectionTemplateId": if value != nil { jtv, ok := value.(string) @@ -4404,6 +4458,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.SensitivityInspectionTemplateId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4412,6 +4467,7 @@ func awsRestjson1_deserializeOpDocumentGetAutomatedDiscoveryConfigurationOutput( } sv.Status = types.AutomatedDiscoveryStatus(jtv) } + default: _, _ = key, value @@ -4589,26 +4645,32 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.BucketCount = ptr.Int64(i64) } + case "bucketCountByEffectivePermission": if err := awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(&sv.BucketCountByEffectivePermission, value); err != nil { return err } + case "bucketCountByEncryptionType": if err := awsRestjson1_deserializeDocumentBucketCountByEncryptionType(&sv.BucketCountByEncryptionType, value); err != nil { return err } + case "bucketCountByObjectEncryptionRequirement": if err := awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUploads(&sv.BucketCountByObjectEncryptionRequirement, value); err != nil { return err } + case "bucketCountBySharedAccessType": if err := awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(&sv.BucketCountBySharedAccessType, value); err != nil { return err } + case "bucketStatisticsBySensitivity": if err := awsRestjson1_deserializeDocumentBucketStatisticsBySensitivity(&sv.BucketStatisticsBySensitivity, value); err != nil { return err } + case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4621,6 +4683,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ClassifiableObjectCount = ptr.Int64(i64) } + case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4633,6 +4696,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } + case "lastUpdated": if value != nil { jtv, ok := value.(string) @@ -4645,6 +4709,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.LastUpdated = ptr.Time(t) } + case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -4657,6 +4722,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.ObjectCount = ptr.Int64(i64) } + case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4669,6 +4735,7 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.SizeInBytes = ptr.Int64(i64) } + case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -4681,14 +4748,17 @@ func awsRestjson1_deserializeOpDocumentGetBucketStatisticsOutput(v **GetBucketSt } sv.SizeInBytesCompressed = ptr.Int64(i64) } + case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } + case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } + default: _, _ = key, value @@ -4858,6 +4928,7 @@ func awsRestjson1_deserializeOpDocumentGetClassificationExportConfigurationOutpu if err := awsRestjson1_deserializeDocumentClassificationExportConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -5025,6 +5096,7 @@ func awsRestjson1_deserializeOpDocumentGetClassificationScopeOutput(v **GetClass } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5033,10 +5105,12 @@ func awsRestjson1_deserializeOpDocumentGetClassificationScopeOutput(v **GetClass } sv.Name = ptr.String(jtv) } + case "s3": if err := awsRestjson1_deserializeDocumentS3ClassificationScope(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -5210,6 +5284,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5222,6 +5297,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.CreatedAt = ptr.Time(t) } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -5230,6 +5306,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Deleted = ptr.Bool(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5238,6 +5315,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5246,14 +5324,17 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Id = ptr.String(jtv) } + case "ignoreWords": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.IgnoreWords, value); err != nil { return err } + case "keywords": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Keywords, value); err != nil { return err } + case "maximumMatchDistance": if value != nil { jtv, ok := value.(json.Number) @@ -5266,6 +5347,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.MaximumMatchDistance = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5274,6 +5356,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Name = ptr.String(jtv) } + case "regex": if value != nil { jtv, ok := value.(string) @@ -5282,14 +5365,17 @@ func awsRestjson1_deserializeOpDocumentGetCustomDataIdentifierOutput(v **GetCust } sv.Regex = ptr.String(jtv) } + case "severityLevels": if err := awsRestjson1_deserializeDocumentSeverityLevelList(&sv.SeverityLevels, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5459,6 +5545,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocument__listOfFinding(&sv.Findings, value); err != nil { return err } + default: _, _ = key, value @@ -5632,6 +5719,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Action = types.FindingsFilterAction(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5640,6 +5728,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5648,10 +5737,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Description = ptr.String(jtv) } + case "findingCriteria": if err := awsRestjson1_deserializeDocumentFindingCriteria(&sv.FindingCriteria, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5660,6 +5751,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5668,6 +5760,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Name = ptr.String(jtv) } + case "position": if value != nil { jtv, ok := value.(json.Number) @@ -5680,10 +5773,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingsFilterOutput(v **GetFindingsFi } sv.Position = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5853,6 +5948,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsPublicationConfigurationOutput if err := awsRestjson1_deserializeDocumentSecurityHubConfiguration(&sv.SecurityHubConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6022,6 +6118,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingStatisticsOutput(v **GetFinding if err := awsRestjson1_deserializeDocument__listOfGroupCount(&sv.CountsByGroup, value); err != nil { return err } + default: _, _ = key, value @@ -6199,6 +6296,7 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6376,6 +6474,7 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.CreatedAt = ptr.Time(t) } + case "findingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -6384,6 +6483,7 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.FindingPublishingFrequency = types.FindingPublishingFrequency(jtv) } + case "serviceRole": if value != nil { jtv, ok := value.(string) @@ -6392,6 +6492,7 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.ServiceRole = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6400,6 +6501,7 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.Status = types.MacieStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6412,6 +6514,7 @@ func awsRestjson1_deserializeOpDocumentGetMacieSessionOutput(v **GetMacieSession } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6581,6 +6684,7 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentInvitation(&sv.Master, value); err != nil { return err } + default: _, _ = key, value @@ -6754,6 +6858,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.AccountId = ptr.String(jtv) } + case "administratorAccountId": if value != nil { jtv, ok := value.(string) @@ -6762,6 +6867,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.AdministratorAccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6770,6 +6876,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.Arn = ptr.String(jtv) } + case "email": if value != nil { jtv, ok := value.(string) @@ -6778,6 +6885,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.Email = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -6790,6 +6898,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.InvitedAt = ptr.Time(t) } + case "masterAccountId": if value != nil { jtv, ok := value.(string) @@ -6798,6 +6907,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.MasterAccountId = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -6806,10 +6916,12 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.RelationshipStatus = types.RelationshipStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6822,6 +6934,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6996,6 +7109,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.ProfileUpdatedAt = ptr.Time(t) } + case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -7008,6 +7122,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.SensitivityScore = ptr.Int32(int32(i64)) } + case "sensitivityScoreOverridden": if value != nil { jtv, ok := value.(bool) @@ -7016,10 +7131,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceProfileOutput(v **GetResourceP } sv.SensitivityScoreOverridden = ptr.Bool(jtv) } + case "statistics": if err := awsRestjson1_deserializeDocumentResourceStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -7180,10 +7297,12 @@ func awsRestjson1_deserializeOpDocumentGetRevealConfigurationOutput(v **GetRevea if err := awsRestjson1_deserializeDocumentRevealConfiguration(&sv.Configuration, value); err != nil { return err } + case "retrievalConfiguration": if err := awsRestjson1_deserializeDocumentRetrievalConfiguration(&sv.RetrievalConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7354,10 +7473,12 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesOutput(v **Get } sv.Error = ptr.String(jtv) } + case "sensitiveDataOccurrences": if err := awsRestjson1_deserializeDocumentSensitiveDataOccurrences(&sv.SensitiveDataOccurrences, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7366,6 +7487,7 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesOutput(v **Get } sv.Status = types.RevealRequestStatus(jtv) } + default: _, _ = key, value @@ -7530,10 +7652,12 @@ func awsRestjson1_deserializeOpDocumentGetSensitiveDataOccurrencesAvailabilityOu } sv.Code = types.AvailabilityCode(jtv) } + case "reasons": if err := awsRestjson1_deserializeDocument__listOfUnavailabilityReasonCode(&sv.Reasons, value); err != nil { return err } + default: _, _ = key, value @@ -7701,14 +7825,17 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.Description = ptr.String(jtv) } + case "excludes": if err := awsRestjson1_deserializeDocumentSensitivityInspectionTemplateExcludes(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsRestjson1_deserializeDocumentSensitivityInspectionTemplateIncludes(&sv.Includes, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7717,6 +7844,7 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.Name = ptr.String(jtv) } + case "sensitivityInspectionTemplateId": if value != nil { jtv, ok := value.(string) @@ -7725,6 +7853,7 @@ func awsRestjson1_deserializeOpDocumentGetSensitivityInspectionTemplateOutput(v } sv.SensitivityInspectionTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -7898,10 +8027,12 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.NextToken = ptr.String(jtv) } + case "records": if err := awsRestjson1_deserializeDocument__listOfUsageRecord(&sv.Records, value); err != nil { return err } + case "timeRange": if value != nil { jtv, ok := value.(string) @@ -7910,6 +8041,7 @@ func awsRestjson1_deserializeOpDocumentGetUsageStatisticsOutput(v **GetUsageStat } sv.TimeRange = types.TimeRange(jtv) } + default: _, _ = key, value @@ -8083,10 +8215,12 @@ func awsRestjson1_deserializeOpDocumentGetUsageTotalsOutput(v **GetUsageTotalsOu } sv.TimeRange = types.TimeRange(jtv) } + case "usageTotals": if err := awsRestjson1_deserializeDocument__listOfUsageTotal(&sv.UsageTotals, value); err != nil { return err } + default: _, _ = key, value @@ -8247,6 +8381,7 @@ func awsRestjson1_deserializeOpDocumentListAllowListsOutput(v **ListAllowListsOu if err := awsRestjson1_deserializeDocument__listOfAllowListSummary(&sv.AllowLists, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8255,6 +8390,7 @@ func awsRestjson1_deserializeOpDocumentListAllowListsOutput(v **ListAllowListsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8418,6 +8554,7 @@ func awsRestjson1_deserializeOpDocumentListAutomatedDiscoveryAccountsOutput(v ** if err := awsRestjson1_deserializeDocument__listOfAutomatedDiscoveryAccount(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8426,6 +8563,7 @@ func awsRestjson1_deserializeOpDocumentListAutomatedDiscoveryAccountsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8595,6 +8733,7 @@ func awsRestjson1_deserializeOpDocumentListClassificationJobsOutput(v **ListClas if err := awsRestjson1_deserializeDocument__listOfJobSummary(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8603,6 +8742,7 @@ func awsRestjson1_deserializeOpDocumentListClassificationJobsOutput(v **ListClas } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8763,6 +8903,7 @@ func awsRestjson1_deserializeOpDocumentListClassificationScopesOutput(v **ListCl if err := awsRestjson1_deserializeDocument__listOfClassificationScopeSummary(&sv.ClassificationScopes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8771,6 +8912,7 @@ func awsRestjson1_deserializeOpDocumentListClassificationScopesOutput(v **ListCl } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8940,6 +9082,7 @@ func awsRestjson1_deserializeOpDocumentListCustomDataIdentifiersOutput(v **ListC if err := awsRestjson1_deserializeDocument__listOfCustomDataIdentifierSummary(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8948,6 +9091,7 @@ func awsRestjson1_deserializeOpDocumentListCustomDataIdentifiersOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9117,6 +9261,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput if err := awsRestjson1_deserializeDocument__listOf__string(&sv.FindingIds, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9125,6 +9270,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsOutput(v **ListFindingsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9294,6 +9440,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsFiltersOutput(v **ListFinding if err := awsRestjson1_deserializeDocument__listOfFindingsFilterListItem(&sv.FindingsFilterListItems, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9302,6 +9449,7 @@ func awsRestjson1_deserializeOpDocumentListFindingsFiltersOutput(v **ListFinding } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9471,6 +9619,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocument__listOfInvitation(&sv.Invitations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9479,6 +9628,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9627,6 +9777,7 @@ func awsRestjson1_deserializeOpDocumentListManagedDataIdentifiersOutput(v **List if err := awsRestjson1_deserializeDocument__listOfManagedDataIdentifierSummary(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9635,6 +9786,7 @@ func awsRestjson1_deserializeOpDocumentListManagedDataIdentifiersOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9804,6 +9956,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocument__listOfMember(&sv.Members, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9812,6 +9965,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9981,6 +10135,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocument__listOfAdminAccount(&sv.AdminAccounts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9989,6 +10144,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10152,6 +10308,7 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileArtifactsOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfResourceProfileArtifact(&sv.Artifacts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10160,6 +10317,7 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileArtifactsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10326,6 +10484,7 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileDetectionsOutput(v **L if err := awsRestjson1_deserializeDocument__listOfDetection(&sv.Detections, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10334,6 +10493,7 @@ func awsRestjson1_deserializeOpDocumentListResourceProfileDetectionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10501,10 +10661,12 @@ func awsRestjson1_deserializeOpDocumentListSensitivityInspectionTemplatesOutput( } sv.NextToken = ptr.String(jtv) } + case "sensitivityInspectionTemplates": if err := awsRestjson1_deserializeDocument__listOfSensitivityInspectionTemplatesEntry(&sv.SensitivityInspectionTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -10653,6 +10815,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10822,6 +10985,7 @@ func awsRestjson1_deserializeOpDocumentPutClassificationExportConfigurationOutpu if err := awsRestjson1_deserializeDocumentClassificationExportConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -11097,6 +11261,7 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources if err := awsRestjson1_deserializeDocument__listOfMatchingResource(&sv.MatchingResources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11105,6 +11270,7 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11367,6 +11533,7 @@ func awsRestjson1_deserializeOpDocumentTestCustomDataIdentifierOutput(v **TestCu } sv.MatchCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11619,6 +11786,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAllowListOutput(v **UpdateAllowList } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11627,6 +11795,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAllowListOutput(v **UpdateAllowList } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12103,6 +12272,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingsFilterOutput(v **UpdateFind } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12111,6 +12281,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingsFilterOutput(v **UpdateFind } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12795,10 +12966,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRevealConfigurationOutput(v **Updat if err := awsRestjson1_deserializeDocumentRevealConfiguration(&sv.Configuration, value); err != nil { return err } + case "retrievalConfiguration": if err := awsRestjson1_deserializeDocumentRetrievalConfiguration(&sv.RetrievalConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14354,6 +14527,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } + case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -14362,6 +14536,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14401,6 +14576,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14436,6 +14612,7 @@ func awsRestjson1_deserializeDocumentAccountLevelPermissions(v **types.AccountLe if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } + default: _, _ = key, value @@ -14475,6 +14652,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AccountId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14483,6 +14661,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.Status = types.AdminStatus(jtv) } + default: _, _ = key, value @@ -14522,10 +14701,12 @@ func awsRestjson1_deserializeDocumentAllowListCriteria(v **types.AllowListCriter } sv.Regex = ptr.String(jtv) } + case "s3WordsList": if err := awsRestjson1_deserializeDocumentS3WordsList(&sv.S3WordsList, value); err != nil { return err } + default: _, _ = key, value @@ -14565,6 +14746,7 @@ func awsRestjson1_deserializeDocumentAllowListStatus(v **types.AllowListStatus, } sv.Code = types.AllowListStatusCode(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14573,6 +14755,7 @@ func awsRestjson1_deserializeDocumentAllowListStatus(v **types.AllowListStatus, } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -14612,6 +14795,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -14624,6 +14808,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14632,6 +14817,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14640,6 +14826,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14648,6 +14835,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.Name = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -14660,6 +14848,7 @@ func awsRestjson1_deserializeDocumentAllowListSummary(v **types.AllowListSummary } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -14699,6 +14888,7 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.Api = ptr.String(jtv) } + case "apiServiceName": if value != nil { jtv, ok := value.(string) @@ -14707,6 +14897,7 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.ApiServiceName = ptr.String(jtv) } + case "firstSeen": if value != nil { jtv, ok := value.(string) @@ -14719,6 +14910,7 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.FirstSeen = ptr.Time(t) } + case "lastSeen": if value != nil { jtv, ok := value.(string) @@ -14731,6 +14923,7 @@ func awsRestjson1_deserializeDocumentApiCallDetails(v **types.ApiCallDetails, va } sv.LastSeen = ptr.Time(t) } + default: _, _ = key, value @@ -14770,6 +14963,7 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.AccessKeyId = ptr.String(jtv) } + case "accountId": if value != nil { jtv, ok := value.(string) @@ -14778,6 +14972,7 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -14786,6 +14981,7 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.Arn = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -14794,10 +14990,12 @@ func awsRestjson1_deserializeDocumentAssumedRole(v **types.AssumedRole, value in } sv.PrincipalId = ptr.String(jtv) } + case "sessionContext": if err := awsRestjson1_deserializeDocumentSessionContext(&sv.SessionContext, value); err != nil { return err } + default: _, _ = key, value @@ -14837,6 +15035,7 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccount(v **types.Automat } sv.AccountId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14845,6 +15044,7 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccount(v **types.Automat } sv.Status = types.AutomatedDiscoveryAccountStatus(jtv) } + default: _, _ = key, value @@ -14884,6 +15084,7 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccountUpdateError(v **ty } sv.AccountId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -14892,6 +15093,7 @@ func awsRestjson1_deserializeDocumentAutomatedDiscoveryAccountUpdateError(v **ty } sv.ErrorCode = types.AutomatedDiscoveryAccountUpdateErrorCode(jtv) } + default: _, _ = key, value @@ -14931,6 +15133,7 @@ func awsRestjson1_deserializeDocumentAwsAccount(v **types.AwsAccount, value inte } sv.AccountId = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -14939,6 +15142,7 @@ func awsRestjson1_deserializeDocumentAwsAccount(v **types.AwsAccount, value inte } sv.PrincipalId = ptr.String(jtv) } + default: _, _ = key, value @@ -14978,6 +15182,7 @@ func awsRestjson1_deserializeDocumentAwsService(v **types.AwsService, value inte } sv.InvokedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -15017,6 +15222,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -15029,6 +15235,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.CreatedAt = ptr.Time(t) } + case "deleted": if value != nil { jtv, ok := value.(bool) @@ -15037,6 +15244,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Deleted = ptr.Bool(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15045,6 +15253,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15053,6 +15262,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15061,6 +15271,7 @@ func awsRestjson1_deserializeDocumentBatchGetCustomDataIdentifierSummary(v **typ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -15100,6 +15311,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicAcls = ptr.Bool(jtv) } + case "blockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -15108,6 +15320,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.BlockPublicPolicy = ptr.Bool(jtv) } + case "ignorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -15116,6 +15329,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.IgnorePublicAcls = ptr.Bool(jtv) } + case "restrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -15124,6 +15338,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce } sv.RestrictPublicBuckets = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15167,6 +15382,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyAccessible = ptr.Int64(i64) } + case "publiclyReadable": if value != nil { jtv, ok := value.(json.Number) @@ -15179,6 +15395,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyReadable = ptr.Int64(i64) } + case "publiclyWritable": if value != nil { jtv, ok := value.(json.Number) @@ -15191,6 +15408,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.PubliclyWritable = ptr.Int64(i64) } + case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15203,6 +15421,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEffectivePermission(v **types. } sv.Unknown = ptr.Int64(i64) } + default: _, _ = key, value @@ -15246,6 +15465,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.KmsManaged = ptr.Int64(i64) } + case "s3Managed": if value != nil { jtv, ok := value.(json.Number) @@ -15258,6 +15478,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.S3Managed = ptr.Int64(i64) } + case "unencrypted": if value != nil { jtv, ok := value.(json.Number) @@ -15270,6 +15491,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.Unencrypted = ptr.Int64(i64) } + case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15282,6 +15504,7 @@ func awsRestjson1_deserializeDocumentBucketCountByEncryptionType(v **types.Bucke } sv.Unknown = ptr.Int64(i64) } + default: _, _ = key, value @@ -15325,6 +15548,7 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.External = ptr.Int64(i64) } + case "internal": if value != nil { jtv, ok := value.(json.Number) @@ -15337,6 +15561,7 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.Internal = ptr.Int64(i64) } + case "notShared": if value != nil { jtv, ok := value.(json.Number) @@ -15349,6 +15574,7 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.NotShared = ptr.Int64(i64) } + case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15361,6 +15587,7 @@ func awsRestjson1_deserializeDocumentBucketCountBySharedAccessType(v **types.Buc } sv.Unknown = ptr.Int64(i64) } + default: _, _ = key, value @@ -15404,6 +15631,7 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.AllowsUnencryptedObjectUploads = ptr.Int64(i64) } + case "deniesUnencryptedObjectUploads": if value != nil { jtv, ok := value.(json.Number) @@ -15416,6 +15644,7 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.DeniesUnencryptedObjectUploads = ptr.Int64(i64) } + case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -15428,6 +15657,7 @@ func awsRestjson1_deserializeDocumentBucketCountPolicyAllowsUnencryptedObjectUpl } sv.Unknown = ptr.Int64(i64) } + default: _, _ = key, value @@ -15463,14 +15693,17 @@ func awsRestjson1_deserializeDocumentBucketLevelPermissions(v **types.BucketLeve if err := awsRestjson1_deserializeDocumentAccessControlList(&sv.AccessControlList, value); err != nil { return err } + case "blockPublicAccess": if err := awsRestjson1_deserializeDocumentBlockPublicAccess(&sv.BlockPublicAccess, value); err != nil { return err } + case "bucketPolicy": if err := awsRestjson1_deserializeDocumentBucketPolicy(&sv.BucketPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -15510,6 +15743,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AccountId = ptr.String(jtv) } + case "allowsUnencryptedObjectUploads": if value != nil { jtv, ok := value.(string) @@ -15518,6 +15752,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AllowsUnencryptedObjectUploads = types.AllowsUnencryptedObjectUploads(jtv) } + case "automatedDiscoveryMonitoringStatus": if value != nil { jtv, ok := value.(string) @@ -15526,6 +15761,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.AutomatedDiscoveryMonitoringStatus = types.AutomatedDiscoveryMonitoringStatus(jtv) } + case "bucketArn": if value != nil { jtv, ok := value.(string) @@ -15534,6 +15770,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketArn = ptr.String(jtv) } + case "bucketCreatedAt": if value != nil { jtv, ok := value.(string) @@ -15546,6 +15783,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketCreatedAt = ptr.Time(t) } + case "bucketName": if value != nil { jtv, ok := value.(string) @@ -15554,6 +15792,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.BucketName = ptr.String(jtv) } + case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -15566,6 +15805,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ClassifiableObjectCount = ptr.Int64(i64) } + case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15578,6 +15818,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -15586,6 +15827,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ErrorCode = types.BucketMetadataErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -15594,10 +15836,12 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ErrorMessage = ptr.String(jtv) } + case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } + case "lastAutomatedDiscoveryTime": if value != nil { jtv, ok := value.(string) @@ -15610,6 +15854,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.LastAutomatedDiscoveryTime = ptr.Time(t) } + case "lastUpdated": if value != nil { jtv, ok := value.(string) @@ -15622,6 +15867,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.LastUpdated = ptr.Time(t) } + case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -15634,14 +15880,17 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.ObjectCount = ptr.Int64(i64) } + case "objectCountByEncryptionType": if err := awsRestjson1_deserializeDocumentObjectCountByEncryptionType(&sv.ObjectCountByEncryptionType, value); err != nil { return err } + case "publicAccess": if err := awsRestjson1_deserializeDocumentBucketPublicAccess(&sv.PublicAccess, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -15650,10 +15899,12 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.Region = ptr.String(jtv) } + case "replicationDetails": if err := awsRestjson1_deserializeDocumentReplicationDetails(&sv.ReplicationDetails, value); err != nil { return err } + case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -15666,10 +15917,12 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SensitivityScore = ptr.Int32(int32(i64)) } + case "serverSideEncryption": if err := awsRestjson1_deserializeDocumentBucketServerSideEncryption(&sv.ServerSideEncryption, value); err != nil { return err } + case "sharedAccess": if value != nil { jtv, ok := value.(string) @@ -15678,6 +15931,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SharedAccess = types.SharedAccess(jtv) } + case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15690,6 +15944,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SizeInBytes = ptr.Int64(i64) } + case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -15702,18 +15957,22 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.SizeInBytesCompressed = ptr.Int64(i64) } + case "tags": if err := awsRestjson1_deserializeDocument__listOfKeyValuePair(&sv.Tags, value); err != nil { return err } + case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } + case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } + case "versioning": if value != nil { jtv, ok := value.(bool) @@ -15722,6 +15981,7 @@ func awsRestjson1_deserializeDocumentBucketMetadata(v **types.BucketMetadata, va } sv.Versioning = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15757,10 +16017,12 @@ func awsRestjson1_deserializeDocumentBucketPermissionConfiguration(v **types.Buc if err := awsRestjson1_deserializeDocumentAccountLevelPermissions(&sv.AccountLevelPermissions, value); err != nil { return err } + case "bucketLevelPermissions": if err := awsRestjson1_deserializeDocumentBucketLevelPermissions(&sv.BucketLevelPermissions, value); err != nil { return err } + default: _, _ = key, value @@ -15800,6 +16062,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicReadAccess = ptr.Bool(jtv) } + case "allowsPublicWriteAccess": if value != nil { jtv, ok := value.(bool) @@ -15808,6 +16071,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value } sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15847,10 +16111,12 @@ func awsRestjson1_deserializeDocumentBucketPublicAccess(v **types.BucketPublicAc } sv.EffectivePermission = types.EffectivePermission(jtv) } + case "permissionConfiguration": if err := awsRestjson1_deserializeDocumentBucketPermissionConfiguration(&sv.PermissionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -15890,6 +16156,7 @@ func awsRestjson1_deserializeDocumentBucketServerSideEncryption(v **types.Bucket } sv.KmsMasterKeyId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -15898,6 +16165,7 @@ func awsRestjson1_deserializeDocumentBucketServerSideEncryption(v **types.Bucket } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -15933,18 +16201,22 @@ func awsRestjson1_deserializeDocumentBucketStatisticsBySensitivity(v **types.Buc if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.ClassificationError, value); err != nil { return err } + case "notClassified": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.NotClassified, value); err != nil { return err } + case "notSensitive": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.NotSensitive, value); err != nil { return err } + case "sensitive": if err := awsRestjson1_deserializeDocumentSensitivityAggregations(&sv.Sensitive, value); err != nil { return err } + default: _, _ = key, value @@ -15984,6 +16256,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.CellReference = ptr.String(jtv) } + case "column": if value != nil { jtv, ok := value.(json.Number) @@ -15996,6 +16269,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Column = ptr.Int64(i64) } + case "columnName": if value != nil { jtv, ok := value.(string) @@ -16004,6 +16278,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.ColumnName = ptr.String(jtv) } + case "row": if value != nil { jtv, ok := value.(json.Number) @@ -16016,6 +16291,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Row = ptr.Int64(i64) } + default: _, _ = key, value @@ -16089,6 +16365,7 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.DetailedResultsLocation = ptr.String(jtv) } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -16097,6 +16374,7 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.JobArn = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -16105,6 +16383,7 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.JobId = ptr.String(jtv) } + case "originType": if value != nil { jtv, ok := value.(string) @@ -16113,10 +16392,12 @@ func awsRestjson1_deserializeDocumentClassificationDetails(v **types.Classificat } sv.OriginType = types.OriginType(jtv) } + case "result": if err := awsRestjson1_deserializeDocumentClassificationResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -16152,6 +16433,7 @@ func awsRestjson1_deserializeDocumentClassificationExportConfiguration(v **types if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -16191,10 +16473,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.AdditionalOccurrences = ptr.Bool(jtv) } + case "customDataIdentifiers": if err := awsRestjson1_deserializeDocumentCustomDataIdentifiers(&sv.CustomDataIdentifiers, value); err != nil { return err } + case "mimeType": if value != nil { jtv, ok := value.(string) @@ -16203,10 +16487,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.MimeType = ptr.String(jtv) } + case "sensitiveData": if err := awsRestjson1_deserializeDocumentSensitiveData(&sv.SensitiveData, value); err != nil { return err } + case "sizeClassified": if value != nil { jtv, ok := value.(json.Number) @@ -16219,10 +16505,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.SizeClassified = ptr.Int64(i64) } + case "status": if err := awsRestjson1_deserializeDocumentClassificationResultStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -16262,6 +16550,7 @@ func awsRestjson1_deserializeDocumentClassificationResultStatus(v **types.Classi } sv.Code = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -16270,6 +16559,7 @@ func awsRestjson1_deserializeDocumentClassificationResultStatus(v **types.Classi } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -16309,6 +16599,7 @@ func awsRestjson1_deserializeDocumentClassificationScopeSummary(v **types.Classi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16317,6 +16608,7 @@ func awsRestjson1_deserializeDocumentClassificationScopeSummary(v **types.Classi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16356,6 +16648,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16391,6 +16684,7 @@ func awsRestjson1_deserializeDocumentCriteriaBlockForJob(v **types.CriteriaBlock if err := awsRestjson1_deserializeDocument__listOfCriteriaForJob(&sv.And, value); err != nil { return err } + default: _, _ = key, value @@ -16426,10 +16720,12 @@ func awsRestjson1_deserializeDocumentCriteriaForJob(v **types.CriteriaForJob, va if err := awsRestjson1_deserializeDocumentSimpleCriterionForJob(&sv.SimpleCriterion, value); err != nil { return err } + case "tagCriterion": if err := awsRestjson1_deserializeDocumentTagCriterionForJob(&sv.TagCriterion, value); err != nil { return err } + default: _, _ = key, value @@ -16500,10 +16796,12 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Eq, value); err != nil { return err } + case "eqExactMatch": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.EqExactMatch, value); err != nil { return err } + case "gt": if value != nil { jtv, ok := value.(json.Number) @@ -16516,6 +16814,7 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Gt = ptr.Int64(i64) } + case "gte": if value != nil { jtv, ok := value.(json.Number) @@ -16528,6 +16827,7 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Gte = ptr.Int64(i64) } + case "lt": if value != nil { jtv, ok := value.(json.Number) @@ -16540,6 +16840,7 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Lt = ptr.Int64(i64) } + case "lte": if value != nil { jtv, ok := value.(json.Number) @@ -16552,10 +16853,12 @@ func awsRestjson1_deserializeDocumentCriterionAdditionalProperties(v **types.Cri } sv.Lte = ptr.Int64(i64) } + case "neq": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Neq, value); err != nil { return err } + default: _, _ = key, value @@ -16591,6 +16894,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiers(v **types.CustomDataI if err := awsRestjson1_deserializeDocumentCustomDetections(&sv.Detections, value); err != nil { return err } + case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -16603,6 +16907,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiers(v **types.CustomDataI } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -16642,6 +16947,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -16654,6 +16960,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16662,6 +16969,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16670,6 +16978,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16678,6 +16987,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifierSummary(v **types.Custo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16717,6 +17027,7 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Arn = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -16729,6 +17040,7 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Count = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16737,10 +17049,12 @@ func awsRestjson1_deserializeDocumentCustomDetection(v **types.CustomDetection, } sv.Name = ptr.String(jtv) } + case "occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } + default: _, _ = key, value @@ -16849,10 +17163,12 @@ func awsRestjson1_deserializeDocumentDefaultDetection(v **types.DefaultDetection } sv.Count = ptr.Int64(i64) } + case "occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -16861,6 +17177,7 @@ func awsRestjson1_deserializeDocumentDefaultDetection(v **types.DefaultDetection } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -16934,6 +17251,7 @@ func awsRestjson1_deserializeDocumentDetectedDataDetails(v **types.DetectedDataD } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16973,6 +17291,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Arn = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -16985,6 +17304,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Count = ptr.Int64(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16993,6 +17313,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17001,6 +17322,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Name = ptr.String(jtv) } + case "suppressed": if value != nil { jtv, ok := value.(bool) @@ -17009,6 +17331,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Suppressed = ptr.Bool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -17017,6 +17340,7 @@ func awsRestjson1_deserializeDocumentDetection(v **types.Detection, value interf } sv.Type = types.DataIdentifierType(jtv) } + default: _, _ = key, value @@ -17056,6 +17380,7 @@ func awsRestjson1_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainName = ptr.String(jtv) } + default: _, _ = key, value @@ -17095,6 +17420,7 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.AccessKeyId = ptr.String(jtv) } + case "accountId": if value != nil { jtv, ok := value.(string) @@ -17103,6 +17429,7 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17111,6 +17438,7 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.Arn = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -17119,10 +17447,12 @@ func awsRestjson1_deserializeDocumentFederatedUser(v **types.FederatedUser, valu } sv.PrincipalId = ptr.String(jtv) } + case "sessionContext": if err := awsRestjson1_deserializeDocumentSessionContext(&sv.SessionContext, value); err != nil { return err } + default: _, _ = key, value @@ -17162,6 +17492,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.AccountId = ptr.String(jtv) } + case "archived": if value != nil { jtv, ok := value.(bool) @@ -17170,6 +17501,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Archived = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -17178,10 +17510,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Category = types.FindingCategory(jtv) } + case "classificationDetails": if err := awsRestjson1_deserializeDocumentClassificationDetails(&sv.ClassificationDetails, value); err != nil { return err } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -17194,6 +17528,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Count = ptr.Int64(i64) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17206,6 +17541,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17214,6 +17550,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17222,6 +17559,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "partition": if value != nil { jtv, ok := value.(string) @@ -17230,10 +17568,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Partition = ptr.String(jtv) } + case "policyDetails": if err := awsRestjson1_deserializeDocumentPolicyDetails(&sv.PolicyDetails, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -17242,10 +17582,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Region = ptr.String(jtv) } + case "resourcesAffected": if err := awsRestjson1_deserializeDocumentResourcesAffected(&sv.ResourcesAffected, value); err != nil { return err } + case "sample": if value != nil { jtv, ok := value.(bool) @@ -17254,6 +17596,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Sample = ptr.Bool(jtv) } + case "schemaVersion": if value != nil { jtv, ok := value.(string) @@ -17262,10 +17605,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.SchemaVersion = ptr.String(jtv) } + case "severity": if err := awsRestjson1_deserializeDocumentSeverity(&sv.Severity, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -17274,6 +17619,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -17282,6 +17628,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Type = types.FindingType(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -17294,6 +17641,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -17333,10 +17681,12 @@ func awsRestjson1_deserializeDocumentFindingAction(v **types.FindingAction, valu } sv.ActionType = types.FindingActionType(jtv) } + case "apiCallDetails": if err := awsRestjson1_deserializeDocumentApiCallDetails(&sv.ApiCallDetails, value); err != nil { return err } + default: _, _ = key, value @@ -17372,14 +17722,17 @@ func awsRestjson1_deserializeDocumentFindingActor(v **types.FindingActor, value if err := awsRestjson1_deserializeDocumentDomainDetails(&sv.DomainDetails, value); err != nil { return err } + case "ipAddressDetails": if err := awsRestjson1_deserializeDocumentIpAddressDetails(&sv.IpAddressDetails, value); err != nil { return err } + case "userIdentity": if err := awsRestjson1_deserializeDocumentUserIdentity(&sv.UserIdentity, value); err != nil { return err } + default: _, _ = key, value @@ -17415,6 +17768,7 @@ func awsRestjson1_deserializeDocumentFindingCriteria(v **types.FindingCriteria, if err := awsRestjson1_deserializeDocumentCriterion(&sv.Criterion, value); err != nil { return err } + default: _, _ = key, value @@ -17454,6 +17808,7 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Action = types.FindingsFilterAction(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17462,6 +17817,7 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17470,6 +17826,7 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17478,10 +17835,12 @@ func awsRestjson1_deserializeDocumentFindingsFilterListItem(v **types.FindingsFi } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17525,6 +17884,7 @@ func awsRestjson1_deserializeDocumentGroupCount(v **types.GroupCount, value inte } sv.Count = ptr.Int64(i64) } + case "groupKey": if value != nil { jtv, ok := value.(string) @@ -17533,6 +17893,7 @@ func awsRestjson1_deserializeDocumentGroupCount(v **types.GroupCount, value inte } sv.GroupKey = ptr.String(jtv) } + default: _, _ = key, value @@ -17572,6 +17933,7 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17580,6 +17942,7 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.Arn = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -17588,6 +17951,7 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.PrincipalId = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -17596,6 +17960,7 @@ func awsRestjson1_deserializeDocumentIamUser(v **types.IamUser, value interface{ } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -17635,6 +18000,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17674,6 +18040,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } + case "invitationId": if value != nil { jtv, ok := value.(string) @@ -17682,6 +18049,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -17694,6 +18062,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.Time(t) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -17702,6 +18071,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.RelationshipStatus = types.RelationshipStatus(jtv) } + default: _, _ = key, value @@ -17741,22 +18111,27 @@ func awsRestjson1_deserializeDocumentIpAddressDetails(v **types.IpAddressDetails } sv.IpAddressV4 = ptr.String(jtv) } + case "ipCity": if err := awsRestjson1_deserializeDocumentIpCity(&sv.IpCity, value); err != nil { return err } + case "ipCountry": if err := awsRestjson1_deserializeDocumentIpCountry(&sv.IpCountry, value); err != nil { return err } + case "ipGeoLocation": if err := awsRestjson1_deserializeDocumentIpGeoLocation(&sv.IpGeoLocation, value); err != nil { return err } + case "ipOwner": if err := awsRestjson1_deserializeDocumentIpOwner(&sv.IpOwner, value); err != nil { return err } + default: _, _ = key, value @@ -17796,6 +18171,7 @@ func awsRestjson1_deserializeDocumentIpCity(v **types.IpCity, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17835,6 +18211,7 @@ func awsRestjson1_deserializeDocumentIpCountry(v **types.IpCountry, value interf } sv.Code = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17843,6 +18220,7 @@ func awsRestjson1_deserializeDocumentIpCountry(v **types.IpCountry, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17907,6 +18285,7 @@ func awsRestjson1_deserializeDocumentIpGeoLocation(v **types.IpGeoLocation, valu } } + case "lon": if value != nil { switch jtv := value.(type) { @@ -17940,6 +18319,7 @@ func awsRestjson1_deserializeDocumentIpGeoLocation(v **types.IpGeoLocation, valu } } + default: _, _ = key, value @@ -17979,6 +18359,7 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Asn = ptr.String(jtv) } + case "asnOrg": if value != nil { jtv, ok := value.(string) @@ -17987,6 +18368,7 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.AsnOrg = ptr.String(jtv) } + case "isp": if value != nil { jtv, ok := value.(string) @@ -17995,6 +18377,7 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Isp = ptr.String(jtv) } + case "org": if value != nil { jtv, ok := value.(string) @@ -18003,6 +18386,7 @@ func awsRestjson1_deserializeDocumentIpOwner(v **types.IpOwner, value interface{ } sv.Org = ptr.String(jtv) } + default: _, _ = key, value @@ -18042,6 +18426,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.IsDefinedInJob = types.IsDefinedInJob(jtv) } + case "isMonitoredByJob": if value != nil { jtv, ok := value.(string) @@ -18050,6 +18435,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.IsMonitoredByJob = types.IsMonitoredByJob(jtv) } + case "lastJobId": if value != nil { jtv, ok := value.(string) @@ -18058,6 +18444,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.LastJobId = ptr.String(jtv) } + case "lastJobRunTime": if value != nil { jtv, ok := value.(string) @@ -18070,6 +18457,7 @@ func awsRestjson1_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.LastJobRunTime = ptr.Time(t) } + default: _, _ = key, value @@ -18105,14 +18493,17 @@ func awsRestjson1_deserializeDocumentJobScheduleFrequency(v **types.JobScheduleF if err := awsRestjson1_deserializeDocumentDailySchedule(&sv.DailySchedule, value); err != nil { return err } + case "monthlySchedule": if err := awsRestjson1_deserializeDocumentMonthlySchedule(&sv.MonthlySchedule, value); err != nil { return err } + case "weeklySchedule": if err := awsRestjson1_deserializeDocumentWeeklySchedule(&sv.WeeklySchedule, value); err != nil { return err } + default: _, _ = key, value @@ -18148,10 +18539,12 @@ func awsRestjson1_deserializeDocumentJobScopeTerm(v **types.JobScopeTerm, value if err := awsRestjson1_deserializeDocumentSimpleScopeTerm(&sv.SimpleScopeTerm, value); err != nil { return err } + case "tagScopeTerm": if err := awsRestjson1_deserializeDocumentTagScopeTerm(&sv.TagScopeTerm, value); err != nil { return err } + default: _, _ = key, value @@ -18187,6 +18580,7 @@ func awsRestjson1_deserializeDocumentJobScopingBlock(v **types.JobScopingBlock, if err := awsRestjson1_deserializeDocument__listOfJobScopeTerm(&sv.And, value); err != nil { return err } + default: _, _ = key, value @@ -18222,10 +18616,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte if err := awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(&sv.BucketCriteria, value); err != nil { return err } + case "bucketDefinitions": if err := awsRestjson1_deserializeDocument__listOfS3BucketDefinitionForJob(&sv.BucketDefinitions, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -18238,6 +18634,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.CreatedAt = ptr.Time(t) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -18246,6 +18643,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobId = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -18254,6 +18652,7 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobStatus = types.JobStatus(jtv) } + case "jobType": if value != nil { jtv, ok := value.(string) @@ -18262,10 +18661,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.JobType = types.JobType(jtv) } + case "lastRunErrorStatus": if err := awsRestjson1_deserializeDocumentLastRunErrorStatus(&sv.LastRunErrorStatus, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18274,10 +18675,12 @@ func awsRestjson1_deserializeDocumentJobSummary(v **types.JobSummary, value inte } sv.Name = ptr.String(jtv) } + case "userPausedDetails": if err := awsRestjson1_deserializeDocumentUserPausedDetails(&sv.UserPausedDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18317,6 +18720,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -18325,6 +18729,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18398,6 +18803,7 @@ func awsRestjson1_deserializeDocumentLastRunErrorStatus(v **types.LastRunErrorSt } sv.Code = types.LastRunErrorStatusCode(jtv) } + default: _, _ = key, value @@ -18437,6 +18843,7 @@ func awsRestjson1_deserializeDocumentManagedDataIdentifierSummary(v **types.Mana } sv.Category = types.SensitiveDataItemCategory(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18445,6 +18852,7 @@ func awsRestjson1_deserializeDocumentManagedDataIdentifierSummary(v **types.Mana } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -18484,6 +18892,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.AccountId = ptr.String(jtv) } + case "automatedDiscoveryMonitoringStatus": if value != nil { jtv, ok := value.(string) @@ -18492,6 +18901,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.AutomatedDiscoveryMonitoringStatus = types.AutomatedDiscoveryMonitoringStatus(jtv) } + case "bucketName": if value != nil { jtv, ok := value.(string) @@ -18500,6 +18910,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.BucketName = ptr.String(jtv) } + case "classifiableObjectCount": if value != nil { jtv, ok := value.(json.Number) @@ -18512,6 +18923,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ClassifiableObjectCount = ptr.Int64(i64) } + case "classifiableSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18524,6 +18936,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -18532,6 +18945,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ErrorCode = types.BucketMetadataErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -18540,10 +18954,12 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ErrorMessage = ptr.String(jtv) } + case "jobDetails": if err := awsRestjson1_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } + case "lastAutomatedDiscoveryTime": if value != nil { jtv, ok := value.(string) @@ -18556,6 +18972,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.LastAutomatedDiscoveryTime = ptr.Time(t) } + case "objectCount": if value != nil { jtv, ok := value.(json.Number) @@ -18568,10 +18985,12 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.ObjectCount = ptr.Int64(i64) } + case "objectCountByEncryptionType": if err := awsRestjson1_deserializeDocumentObjectCountByEncryptionType(&sv.ObjectCountByEncryptionType, value); err != nil { return err } + case "sensitivityScore": if value != nil { jtv, ok := value.(json.Number) @@ -18584,6 +19003,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SensitivityScore = ptr.Int32(int32(i64)) } + case "sizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18596,6 +19016,7 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SizeInBytes = ptr.Int64(i64) } + case "sizeInBytesCompressed": if value != nil { jtv, ok := value.(json.Number) @@ -18608,14 +19029,17 @@ func awsRestjson1_deserializeDocumentMatchingBucket(v **types.MatchingBucket, va } sv.SizeInBytesCompressed = ptr.Int64(i64) } + case "unclassifiableObjectCount": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectCount, value); err != nil { return err } + case "unclassifiableObjectSizeInBytes": if err := awsRestjson1_deserializeDocumentObjectLevelStatistics(&sv.UnclassifiableObjectSizeInBytes, value); err != nil { return err } + default: _, _ = key, value @@ -18651,6 +19075,7 @@ func awsRestjson1_deserializeDocumentMatchingResource(v **types.MatchingResource if err := awsRestjson1_deserializeDocumentMatchingBucket(&sv.MatchingBucket, value); err != nil { return err } + default: _, _ = key, value @@ -18690,6 +19115,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "administratorAccountId": if value != nil { jtv, ok := value.(string) @@ -18698,6 +19124,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorAccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -18706,6 +19133,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Arn = ptr.String(jtv) } + case "email": if value != nil { jtv, ok := value.(string) @@ -18714,6 +19142,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } + case "invitedAt": if value != nil { jtv, ok := value.(string) @@ -18726,6 +19155,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.Time(t) } + case "masterAccountId": if value != nil { jtv, ok := value.(string) @@ -18734,6 +19164,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterAccountId = ptr.String(jtv) } + case "relationshipStatus": if value != nil { jtv, ok := value.(string) @@ -18742,10 +19173,12 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.RelationshipStatus = types.RelationshipStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -18758,6 +19191,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -18801,6 +19235,7 @@ func awsRestjson1_deserializeDocumentMonthlySchedule(v **types.MonthlySchedule, } sv.DayOfMonth = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18844,6 +19279,7 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.CustomerManaged = ptr.Int64(i64) } + case "kmsManaged": if value != nil { jtv, ok := value.(json.Number) @@ -18856,6 +19292,7 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.KmsManaged = ptr.Int64(i64) } + case "s3Managed": if value != nil { jtv, ok := value.(json.Number) @@ -18868,6 +19305,7 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.S3Managed = ptr.Int64(i64) } + case "unencrypted": if value != nil { jtv, ok := value.(json.Number) @@ -18880,6 +19318,7 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.Unencrypted = ptr.Int64(i64) } + case "unknown": if value != nil { jtv, ok := value.(json.Number) @@ -18892,6 +19331,7 @@ func awsRestjson1_deserializeDocumentObjectCountByEncryptionType(v **types.Objec } sv.Unknown = ptr.Int64(i64) } + default: _, _ = key, value @@ -18935,6 +19375,7 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.FileType = ptr.Int64(i64) } + case "storageClass": if value != nil { jtv, ok := value.(json.Number) @@ -18947,6 +19388,7 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.StorageClass = ptr.Int64(i64) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -18959,6 +19401,7 @@ func awsRestjson1_deserializeDocumentObjectLevelStatistics(v **types.ObjectLevel } sv.Total = ptr.Int64(i64) } + default: _, _ = key, value @@ -18994,22 +19437,27 @@ func awsRestjson1_deserializeDocumentOccurrences(v **types.Occurrences, value in if err := awsRestjson1_deserializeDocumentCells(&sv.Cells, value); err != nil { return err } + case "lineRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.LineRanges, value); err != nil { return err } + case "offsetRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.OffsetRanges, value); err != nil { return err } + case "pages": if err := awsRestjson1_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } + case "records": if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -19045,10 +19493,12 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err if err := awsRestjson1_deserializeDocumentRange(&sv.LineRange, value); err != nil { return err } + case "offsetRange": if err := awsRestjson1_deserializeDocumentRange(&sv.OffsetRange, value); err != nil { return err } + case "pageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19061,6 +19511,7 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -19130,10 +19581,12 @@ func awsRestjson1_deserializeDocumentPolicyDetails(v **types.PolicyDetails, valu if err := awsRestjson1_deserializeDocumentFindingAction(&sv.Action, value); err != nil { return err } + case "actor": if err := awsRestjson1_deserializeDocumentFindingActor(&sv.Actor, value); err != nil { return err } + default: _, _ = key, value @@ -19177,6 +19630,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.End = ptr.Int64(i64) } + case "start": if value != nil { jtv, ok := value.(json.Number) @@ -19189,6 +19643,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Start = ptr.Int64(i64) } + case "startColumn": if value != nil { jtv, ok := value.(json.Number) @@ -19201,6 +19656,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.StartColumn = ptr.Int64(i64) } + default: _, _ = key, value @@ -19274,6 +19730,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.JsonPath = ptr.String(jtv) } + case "recordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -19286,6 +19743,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.RecordIndex = ptr.Int64(i64) } + default: _, _ = key, value @@ -19359,6 +19817,7 @@ func awsRestjson1_deserializeDocumentReplicationDetails(v **types.ReplicationDet } sv.Replicated = ptr.Bool(jtv) } + case "replicatedExternally": if value != nil { jtv, ok := value.(bool) @@ -19367,10 +19826,12 @@ func awsRestjson1_deserializeDocumentReplicationDetails(v **types.ReplicationDet } sv.ReplicatedExternally = ptr.Bool(jtv) } + case "replicationAccounts": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReplicationAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -19410,6 +19871,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19449,6 +19911,7 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.Arn = ptr.String(jtv) } + case "classificationResultStatus": if value != nil { jtv, ok := value.(string) @@ -19457,6 +19920,7 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.ClassificationResultStatus = ptr.String(jtv) } + case "sensitive": if value != nil { jtv, ok := value.(bool) @@ -19465,6 +19929,7 @@ func awsRestjson1_deserializeDocumentResourceProfileArtifact(v **types.ResourceP } sv.Sensitive = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19500,10 +19965,12 @@ func awsRestjson1_deserializeDocumentResourcesAffected(v **types.ResourcesAffect if err := awsRestjson1_deserializeDocumentS3Bucket(&sv.S3Bucket, value); err != nil { return err } + case "s3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -19547,6 +20014,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalBytesClassified = ptr.Int64(i64) } + case "totalDetections": if value != nil { jtv, ok := value.(json.Number) @@ -19559,6 +20027,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalDetections = ptr.Int64(i64) } + case "totalDetectionsSuppressed": if value != nil { jtv, ok := value.(json.Number) @@ -19571,6 +20040,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalDetectionsSuppressed = ptr.Int64(i64) } + case "totalItemsClassified": if value != nil { jtv, ok := value.(json.Number) @@ -19583,6 +20053,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsClassified = ptr.Int64(i64) } + case "totalItemsSensitive": if value != nil { jtv, ok := value.(json.Number) @@ -19595,6 +20066,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSensitive = ptr.Int64(i64) } + case "totalItemsSkipped": if value != nil { jtv, ok := value.(json.Number) @@ -19607,6 +20079,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkipped = ptr.Int64(i64) } + case "totalItemsSkippedInvalidEncryption": if value != nil { jtv, ok := value.(json.Number) @@ -19619,6 +20092,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedInvalidEncryption = ptr.Int64(i64) } + case "totalItemsSkippedInvalidKms": if value != nil { jtv, ok := value.(json.Number) @@ -19631,6 +20105,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedInvalidKms = ptr.Int64(i64) } + case "totalItemsSkippedPermissionDenied": if value != nil { jtv, ok := value.(json.Number) @@ -19643,6 +20118,7 @@ func awsRestjson1_deserializeDocumentResourceStatistics(v **types.ResourceStatis } sv.TotalItemsSkippedPermissionDenied = ptr.Int64(i64) } + default: _, _ = key, value @@ -19682,6 +20158,7 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.ExternalId = ptr.String(jtv) } + case "retrievalMode": if value != nil { jtv, ok := value.(string) @@ -19690,6 +20167,7 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.RetrievalMode = types.RetrievalMode(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -19698,6 +20176,7 @@ func awsRestjson1_deserializeDocumentRetrievalConfiguration(v **types.RetrievalC } sv.RoleName = ptr.String(jtv) } + default: _, _ = key, value @@ -19737,6 +20216,7 @@ func awsRestjson1_deserializeDocumentRevealConfiguration(v **types.RevealConfigu } sv.KmsKeyId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19745,6 +20225,7 @@ func awsRestjson1_deserializeDocumentRevealConfiguration(v **types.RevealConfigu } sv.Status = types.RevealStatus(jtv) } + default: _, _ = key, value @@ -19784,6 +20265,7 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.AllowsUnencryptedObjectUploads = types.AllowsUnencryptedObjectUploads(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -19792,6 +20274,7 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -19804,10 +20287,12 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.CreatedAt = ptr.Time(t) } + case "defaultServerSideEncryption": if err := awsRestjson1_deserializeDocumentServerSideEncryption(&sv.DefaultServerSideEncryption, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -19816,18 +20301,22 @@ func awsRestjson1_deserializeDocumentS3Bucket(v **types.S3Bucket, value interfac } sv.Name = ptr.String(jtv) } + case "owner": if err := awsRestjson1_deserializeDocumentS3BucketOwner(&sv.Owner, value); err != nil { return err } + case "publicAccess": if err := awsRestjson1_deserializeDocumentBucketPublicAccess(&sv.PublicAccess, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentKeyValuePairList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19863,10 +20352,12 @@ func awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(v **types.S3BucketCr if err := awsRestjson1_deserializeDocumentCriteriaBlockForJob(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsRestjson1_deserializeDocumentCriteriaBlockForJob(&sv.Includes, value); err != nil { return err } + default: _, _ = key, value @@ -19906,10 +20397,12 @@ func awsRestjson1_deserializeDocumentS3BucketDefinitionForJob(v **types.S3Bucket } sv.AccountId = ptr.String(jtv) } + case "buckets": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Buckets, value); err != nil { return err } + default: _, _ = key, value @@ -19949,6 +20442,7 @@ func awsRestjson1_deserializeDocumentS3BucketOwner(v **types.S3BucketOwner, valu } sv.DisplayName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19957,6 +20451,7 @@ func awsRestjson1_deserializeDocumentS3BucketOwner(v **types.S3BucketOwner, valu } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -19992,6 +20487,7 @@ func awsRestjson1_deserializeDocumentS3ClassificationScope(v **types.S3Classific if err := awsRestjson1_deserializeDocumentS3ClassificationScopeExclusion(&sv.Excludes, value); err != nil { return err } + default: _, _ = key, value @@ -20027,6 +20523,7 @@ func awsRestjson1_deserializeDocumentS3ClassificationScopeExclusion(v **types.S3 if err := awsRestjson1_deserializeDocument__listOfS3BucketName(&sv.BucketNames, value); err != nil { return err } + default: _, _ = key, value @@ -20066,6 +20563,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.BucketName = ptr.String(jtv) } + case "keyPrefix": if value != nil { jtv, ok := value.(string) @@ -20074,6 +20572,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KeyPrefix = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -20082,6 +20581,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20117,14 +20617,17 @@ func awsRestjson1_deserializeDocumentS3JobDefinition(v **types.S3JobDefinition, if err := awsRestjson1_deserializeDocumentS3BucketCriteriaForJob(&sv.BucketCriteria, value); err != nil { return err } + case "bucketDefinitions": if err := awsRestjson1_deserializeDocument__listOfS3BucketDefinitionForJob(&sv.BucketDefinitions, value); err != nil { return err } + case "scoping": if err := awsRestjson1_deserializeDocumentScoping(&sv.Scoping, value); err != nil { return err } + default: _, _ = key, value @@ -20164,6 +20667,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.BucketArn = ptr.String(jtv) } + case "eTag": if value != nil { jtv, ok := value.(string) @@ -20172,6 +20676,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.ETag = ptr.String(jtv) } + case "extension": if value != nil { jtv, ok := value.(string) @@ -20180,6 +20685,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Extension = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -20188,6 +20694,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -20200,6 +20707,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.LastModified = ptr.Time(t) } + case "path": if value != nil { jtv, ok := value.(string) @@ -20208,6 +20716,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Path = ptr.String(jtv) } + case "publicAccess": if value != nil { jtv, ok := value.(bool) @@ -20216,10 +20725,12 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.PublicAccess = ptr.Bool(jtv) } + case "serverSideEncryption": if err := awsRestjson1_deserializeDocumentServerSideEncryption(&sv.ServerSideEncryption, value); err != nil { return err } + case "size": if value != nil { jtv, ok := value.(json.Number) @@ -20232,6 +20743,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Size = ptr.Int64(i64) } + case "storageClass": if value != nil { jtv, ok := value.(string) @@ -20240,10 +20752,12 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.StorageClass = types.StorageClass(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentKeyValuePairList(&sv.Tags, value); err != nil { return err } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -20252,6 +20766,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -20291,6 +20806,7 @@ func awsRestjson1_deserializeDocumentS3WordsList(v **types.S3WordsList, value in } sv.BucketName = ptr.String(jtv) } + case "objectKey": if value != nil { jtv, ok := value.(string) @@ -20299,6 +20815,7 @@ func awsRestjson1_deserializeDocumentS3WordsList(v **types.S3WordsList, value in } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -20334,10 +20851,12 @@ func awsRestjson1_deserializeDocumentScoping(v **types.Scoping, value interface{ if err := awsRestjson1_deserializeDocumentJobScopingBlock(&sv.Excludes, value); err != nil { return err } + case "includes": if err := awsRestjson1_deserializeDocumentJobScopingBlock(&sv.Includes, value); err != nil { return err } + default: _, _ = key, value @@ -20377,6 +20896,7 @@ func awsRestjson1_deserializeDocumentSecurityHubConfiguration(v **types.Security } sv.PublishClassificationFindings = ptr.Bool(jtv) } + case "publishPolicyFindings": if value != nil { jtv, ok := value.(bool) @@ -20385,6 +20905,7 @@ func awsRestjson1_deserializeDocumentSecurityHubConfiguration(v **types.Security } sv.PublishPolicyFindings = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20458,10 +20979,12 @@ func awsRestjson1_deserializeDocumentSensitiveDataItem(v **types.SensitiveDataIt } sv.Category = types.SensitiveDataItemCategory(jtv) } + case "detections": if err := awsRestjson1_deserializeDocumentDefaultDetections(&sv.Detections, value); err != nil { return err } + case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -20474,6 +20997,7 @@ func awsRestjson1_deserializeDocumentSensitiveDataItem(v **types.SensitiveDataIt } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -20551,6 +21075,7 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.ClassifiableSizeInBytes = ptr.Int64(i64) } + case "publiclyAccessibleCount": if value != nil { jtv, ok := value.(json.Number) @@ -20563,6 +21088,7 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.PubliclyAccessibleCount = ptr.Int64(i64) } + case "totalCount": if value != nil { jtv, ok := value.(json.Number) @@ -20575,6 +21101,7 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.TotalCount = ptr.Int64(i64) } + case "totalSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -20587,6 +21114,7 @@ func awsRestjson1_deserializeDocumentSensitivityAggregations(v **types.Sensitivi } sv.TotalSizeInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -20622,6 +21150,7 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplateExcludes(v **t if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } + default: _, _ = key, value @@ -20657,14 +21186,17 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplateIncludes(v **t if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowListIds, value); err != nil { return err } + case "customDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CustomDataIdentifierIds, value); err != nil { return err } + case "managedDataIdentifierIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ManagedDataIdentifierIds, value); err != nil { return err } + default: _, _ = key, value @@ -20704,6 +21236,7 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplatesEntry(v **typ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20712,6 +21245,7 @@ func awsRestjson1_deserializeDocumentSensitivityInspectionTemplatesEntry(v **typ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20751,6 +21285,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryption(v **types.ServerSideEn } sv.EncryptionType = types.EncryptionType(jtv) } + case "kmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -20759,6 +21294,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryption(v **types.ServerSideEn } sv.KmsMasterKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -20798,6 +21334,7 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.IsServiceLimited = ptr.Bool(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -20806,6 +21343,7 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.Unit = types.Unit(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -20818,6 +21356,7 @@ func awsRestjson1_deserializeDocumentServiceLimit(v **types.ServiceLimit, value } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -20857,6 +21396,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20892,10 +21432,12 @@ func awsRestjson1_deserializeDocumentSessionContext(v **types.SessionContext, va if err := awsRestjson1_deserializeDocumentSessionContextAttributes(&sv.Attributes, value); err != nil { return err } + case "sessionIssuer": if err := awsRestjson1_deserializeDocumentSessionIssuer(&sv.SessionIssuer, value); err != nil { return err } + default: _, _ = key, value @@ -20939,6 +21481,7 @@ func awsRestjson1_deserializeDocumentSessionContextAttributes(v **types.SessionC } sv.CreationDate = ptr.Time(t) } + case "mfaAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -20947,6 +21490,7 @@ func awsRestjson1_deserializeDocumentSessionContextAttributes(v **types.SessionC } sv.MfaAuthenticated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20986,6 +21530,7 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -20994,6 +21539,7 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.Arn = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -21002,6 +21548,7 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.PrincipalId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -21010,6 +21557,7 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.Type = ptr.String(jtv) } + case "userName": if value != nil { jtv, ok := value.(string) @@ -21018,6 +21566,7 @@ func awsRestjson1_deserializeDocumentSessionIssuer(v **types.SessionIssuer, valu } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -21057,6 +21606,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Description = types.SeverityDescription(jtv) } + case "score": if value != nil { jtv, ok := value.(json.Number) @@ -21069,6 +21619,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Score = ptr.Int64(i64) } + default: _, _ = key, value @@ -21112,6 +21663,7 @@ func awsRestjson1_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.OccurrencesThreshold = ptr.Int64(i64) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -21120,6 +21672,7 @@ func awsRestjson1_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Severity = types.DataIdentifierSeverity(jtv) } + default: _, _ = key, value @@ -21193,6 +21746,7 @@ func awsRestjson1_deserializeDocumentSimpleCriterionForJob(v **types.SimpleCrite } sv.Comparator = types.JobComparator(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -21201,10 +21755,12 @@ func awsRestjson1_deserializeDocumentSimpleCriterionForJob(v **types.SimpleCrite } sv.Key = types.SimpleCriterionKeyForJob(jtv) } + case "values": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -21244,6 +21800,7 @@ func awsRestjson1_deserializeDocumentSimpleScopeTerm(v **types.SimpleScopeTerm, } sv.Comparator = types.JobComparator(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -21252,10 +21809,12 @@ func awsRestjson1_deserializeDocumentSimpleScopeTerm(v **types.SimpleScopeTerm, } sv.Key = types.ScopeFilterKey(jtv) } + case "values": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -21320,6 +21879,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + case "numberOfRuns": if value != nil { switch jtv := value.(type) { @@ -21353,6 +21913,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } } + default: _, _ = key, value @@ -21392,10 +21953,12 @@ func awsRestjson1_deserializeDocumentTagCriterionForJob(v **types.TagCriterionFo } sv.Comparator = types.JobComparator(jtv) } + case "tagValues": if err := awsRestjson1_deserializeDocument__listOfTagCriterionPairForJob(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -21435,6 +21998,7 @@ func awsRestjson1_deserializeDocumentTagCriterionPairForJob(v **types.TagCriteri } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -21443,6 +22007,7 @@ func awsRestjson1_deserializeDocumentTagCriterionPairForJob(v **types.TagCriteri } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21518,6 +22083,7 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Comparator = types.JobComparator(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -21526,10 +22092,12 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Key = ptr.String(jtv) } + case "tagValues": if err := awsRestjson1_deserializeDocument__listOfTagValuePair(&sv.TagValues, value); err != nil { return err } + case "target": if value != nil { jtv, ok := value.(string) @@ -21538,6 +22106,7 @@ func awsRestjson1_deserializeDocumentTagScopeTerm(v **types.TagScopeTerm, value } sv.Target = types.TagTarget(jtv) } + default: _, _ = key, value @@ -21577,6 +22146,7 @@ func awsRestjson1_deserializeDocumentTagValuePair(v **types.TagValuePair, value } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -21585,6 +22155,7 @@ func awsRestjson1_deserializeDocumentTagValuePair(v **types.TagValuePair, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -21624,6 +22195,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21663,6 +22235,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21702,6 +22275,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.AccountId = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -21710,6 +22284,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -21718,6 +22293,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAccount(v **types.UnprocessedAcc } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -21757,6 +22333,7 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.Currency = types.Currency(jtv) } + case "estimatedCost": if value != nil { jtv, ok := value.(string) @@ -21765,10 +22342,12 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.EstimatedCost = ptr.String(jtv) } + case "serviceLimit": if err := awsRestjson1_deserializeDocumentServiceLimit(&sv.ServiceLimit, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -21777,6 +22356,7 @@ func awsRestjson1_deserializeDocumentUsageByAccount(v **types.UsageByAccount, va } sv.Type = types.UsageType(jtv) } + default: _, _ = key, value @@ -21816,6 +22396,7 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.AccountId = ptr.String(jtv) } + case "automatedDiscoveryFreeTrialStartDate": if value != nil { jtv, ok := value.(string) @@ -21828,6 +22409,7 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.AutomatedDiscoveryFreeTrialStartDate = ptr.Time(t) } + case "freeTrialStartDate": if value != nil { jtv, ok := value.(string) @@ -21840,10 +22422,12 @@ func awsRestjson1_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.FreeTrialStartDate = ptr.Time(t) } + case "usage": if err := awsRestjson1_deserializeDocument__listOfUsageByAccount(&sv.Usage, value); err != nil { return err } + default: _, _ = key, value @@ -21883,6 +22467,7 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.Currency = types.Currency(jtv) } + case "estimatedCost": if value != nil { jtv, ok := value.(string) @@ -21891,6 +22476,7 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.EstimatedCost = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -21899,6 +22485,7 @@ func awsRestjson1_deserializeDocumentUsageTotal(v **types.UsageTotal, value inte } sv.Type = types.UsageType(jtv) } + default: _, _ = key, value @@ -21934,26 +22521,32 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value if err := awsRestjson1_deserializeDocumentAssumedRole(&sv.AssumedRole, value); err != nil { return err } + case "awsAccount": if err := awsRestjson1_deserializeDocumentAwsAccount(&sv.AwsAccount, value); err != nil { return err } + case "awsService": if err := awsRestjson1_deserializeDocumentAwsService(&sv.AwsService, value); err != nil { return err } + case "federatedUser": if err := awsRestjson1_deserializeDocumentFederatedUser(&sv.FederatedUser, value); err != nil { return err } + case "iamUser": if err := awsRestjson1_deserializeDocumentIamUser(&sv.IamUser, value); err != nil { return err } + case "root": if err := awsRestjson1_deserializeDocumentUserIdentityRoot(&sv.Root, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -21962,6 +22555,7 @@ func awsRestjson1_deserializeDocumentUserIdentity(v **types.UserIdentity, value } sv.Type = types.UserIdentityType(jtv) } + default: _, _ = key, value @@ -22001,6 +22595,7 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -22009,6 +22604,7 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.Arn = ptr.String(jtv) } + case "principalId": if value != nil { jtv, ok := value.(string) @@ -22017,6 +22613,7 @@ func awsRestjson1_deserializeDocumentUserIdentityRoot(v **types.UserIdentityRoot } sv.PrincipalId = ptr.String(jtv) } + default: _, _ = key, value @@ -22060,6 +22657,7 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobExpiresAt = ptr.Time(t) } + case "jobImminentExpirationHealthEventArn": if value != nil { jtv, ok := value.(string) @@ -22068,6 +22666,7 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobImminentExpirationHealthEventArn = ptr.String(jtv) } + case "jobPausedAt": if value != nil { jtv, ok := value.(string) @@ -22080,6 +22679,7 @@ func awsRestjson1_deserializeDocumentUserPausedDetails(v **types.UserPausedDetai } sv.JobPausedAt = ptr.Time(t) } + default: _, _ = key, value @@ -22119,6 +22719,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22158,6 +22759,7 @@ func awsRestjson1_deserializeDocumentWeeklySchedule(v **types.WeeklySchedule, va } sv.DayOfWeek = types.DayOfWeek(jtv) } + default: _, _ = key, value diff --git a/service/mailmanager/deserializers.go b/service/mailmanager/deserializers.go index ab6e673f524..6b8903dc09a 100644 --- a/service/mailmanager/deserializers.go +++ b/service/mailmanager/deserializers.go @@ -5754,6 +5754,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5793,6 +5794,7 @@ func awsAwsjson10_deserializeDocumentAddHeaderAction(v **types.AddHeaderAction, } sv.HeaderName = ptr.String(jtv) } + case "HeaderValue": if value != nil { jtv, ok := value.(string) @@ -5801,6 +5803,7 @@ func awsAwsjson10_deserializeDocumentAddHeaderAction(v **types.AddHeaderAction, } sv.HeaderValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5840,6 +5843,7 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonInstanceArn = ptr.String(jtv) } + case "AddonInstanceId": if value != nil { jtv, ok := value.(string) @@ -5848,6 +5852,7 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonInstanceId = ptr.String(jtv) } + case "AddonName": if value != nil { jtv, ok := value.(string) @@ -5856,6 +5861,7 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonName = ptr.String(jtv) } + case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -5864,6 +5870,7 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } sv.AddonSubscriptionId = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5879,6 +5886,7 @@ func awsAwsjson10_deserializeDocumentAddonInstance(v **types.AddonInstance, valu } } + default: _, _ = key, value @@ -5952,6 +5960,7 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonName = ptr.String(jtv) } + case "AddonSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -5960,6 +5969,7 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonSubscriptionArn = ptr.String(jtv) } + case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -5968,6 +5978,7 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } sv.AddonSubscriptionId = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5983,6 +5994,7 @@ func awsAwsjson10_deserializeDocumentAddonSubscription(v **types.AddonSubscripti } } + default: _, _ = key, value @@ -6056,6 +6068,7 @@ func awsAwsjson10_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Analyzer = ptr.String(jtv) } + case "ResultField": if value != nil { jtv, ok := value.(string) @@ -6064,6 +6077,7 @@ func awsAwsjson10_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.ResultField = ptr.String(jtv) } + default: _, _ = key, value @@ -6103,6 +6117,7 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveId = ptr.String(jtv) } + case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -6111,6 +6126,7 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveName = ptr.String(jtv) } + case "ArchiveState": if value != nil { jtv, ok := value.(string) @@ -6119,6 +6135,7 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } sv.ArchiveState = types.ArchiveState(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6134,6 +6151,7 @@ func awsAwsjson10_deserializeDocumentArchive(v **types.Archive, value interface{ } } + default: _, _ = key, value @@ -6173,6 +6191,7 @@ func awsAwsjson10_deserializeDocumentArchiveAction(v **types.ArchiveAction, valu } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } + case "TargetArchive": if value != nil { jtv, ok := value.(string) @@ -6181,6 +6200,7 @@ func awsAwsjson10_deserializeDocumentArchiveAction(v **types.ArchiveAction, valu } sv.TargetArchive = ptr.String(jtv) } + default: _, _ = key, value @@ -6216,6 +6236,7 @@ func awsAwsjson10_deserializeDocumentArchiveBooleanExpression(v **types.ArchiveB if err := awsAwsjson10_deserializeDocumentArchiveBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -6224,6 +6245,7 @@ func awsAwsjson10_deserializeDocumentArchiveBooleanExpression(v **types.ArchiveB } sv.Operator = types.ArchiveBooleanOperator(jtv) } + default: _, _ = key, value @@ -6383,10 +6405,12 @@ func awsAwsjson10_deserializeDocumentArchiveFilters(v **types.ArchiveFilters, va if err := awsAwsjson10_deserializeDocumentArchiveFilterConditions(&sv.Include, value); err != nil { return err } + case "Unless": if err := awsAwsjson10_deserializeDocumentArchiveFilterConditions(&sv.Unless, value); err != nil { return err } + default: _, _ = key, value @@ -6498,6 +6522,7 @@ func awsAwsjson10_deserializeDocumentArchiveStringExpression(v **types.ArchiveSt if err := awsAwsjson10_deserializeDocumentArchiveStringToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -6506,10 +6531,12 @@ func awsAwsjson10_deserializeDocumentArchiveStringExpression(v **types.ArchiveSt } sv.Operator = types.ArchiveStringOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentStringValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -6591,6 +6618,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6630,6 +6658,7 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } + case "MailboxArn": if value != nil { jtv, ok := value.(string) @@ -6638,6 +6667,7 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.MailboxArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -6646,6 +6676,7 @@ func awsAwsjson10_deserializeDocumentDeliverToMailboxAction(v **types.DeliverToM } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6752,6 +6783,7 @@ func awsAwsjson10_deserializeDocumentEnvelope(v **types.Envelope, value interfac } sv.From = ptr.String(jtv) } + case "Helo": if value != nil { jtv, ok := value.(string) @@ -6760,10 +6792,12 @@ func awsAwsjson10_deserializeDocumentEnvelope(v **types.Envelope, value interfac } sv.Helo = ptr.String(jtv) } + case "To": if err := awsAwsjson10_deserializeDocumentStringList(&sv.To, value); err != nil { return err } + default: _, _ = key, value @@ -6850,6 +6884,7 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6858,6 +6893,7 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.ErrorMessage = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6866,6 +6902,7 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } sv.State = types.ExportState(jtv) } + case "SubmissionTimestamp": if value != nil { switch jtv := value.(type) { @@ -6881,6 +6918,7 @@ func awsAwsjson10_deserializeDocumentExportStatus(v **types.ExportStatus, value } } + default: _, _ = key, value @@ -6920,10 +6958,12 @@ func awsAwsjson10_deserializeDocumentExportSummary(v **types.ExportSummary, valu } sv.ExportId = ptr.String(jtv) } + case "Status": if err := awsAwsjson10_deserializeDocumentExportStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -6997,6 +7037,7 @@ func awsAwsjson10_deserializeDocumentIngressAnalysis(v **types.IngressAnalysis, } sv.Analyzer = ptr.String(jtv) } + case "ResultField": if value != nil { jtv, ok := value.(string) @@ -7005,6 +7046,7 @@ func awsAwsjson10_deserializeDocumentIngressAnalysis(v **types.IngressAnalysis, } sv.ResultField = ptr.String(jtv) } + default: _, _ = key, value @@ -7040,6 +7082,7 @@ func awsAwsjson10_deserializeDocumentIngressBooleanExpression(v **types.IngressB if err := awsAwsjson10_deserializeDocumentIngressBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -7048,6 +7091,7 @@ func awsAwsjson10_deserializeDocumentIngressBooleanExpression(v **types.IngressB } sv.Operator = types.IngressBooleanOperator(jtv) } + default: _, _ = key, value @@ -7165,6 +7209,7 @@ func awsAwsjson10_deserializeDocumentIngressIpv4Expression(v **types.IngressIpv4 if err := awsAwsjson10_deserializeDocumentIngressIpToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -7173,10 +7218,12 @@ func awsAwsjson10_deserializeDocumentIngressIpv4Expression(v **types.IngressIpv4 } sv.Operator = types.IngressIpOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentIpv4Cidrs(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7216,6 +7263,7 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.ARecord = ptr.String(jtv) } + case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -7224,6 +7272,7 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.IngressPointId = ptr.String(jtv) } + case "IngressPointName": if value != nil { jtv, ok := value.(string) @@ -7232,6 +7281,7 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.IngressPointName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7240,6 +7290,7 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.Status = types.IngressPointStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7248,6 +7299,7 @@ func awsAwsjson10_deserializeDocumentIngressPoint(v **types.IngressPoint, value } sv.Type = types.IngressPointType(jtv) } + default: _, _ = key, value @@ -7283,6 +7335,7 @@ func awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(v **types.Ing if err := awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(&sv.IngressPointPasswordConfiguration, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -7291,6 +7344,7 @@ func awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(v **types.Ing } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7337,6 +7391,7 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } } + case "PreviousSmtpPasswordVersion": if value != nil { jtv, ok := value.(string) @@ -7345,6 +7400,7 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } sv.PreviousSmtpPasswordVersion = ptr.String(jtv) } + case "SmtpPasswordVersion": if value != nil { jtv, ok := value.(string) @@ -7353,6 +7409,7 @@ func awsAwsjson10_deserializeDocumentIngressPointPasswordConfiguration(v **types } sv.SmtpPasswordVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -7422,6 +7479,7 @@ func awsAwsjson10_deserializeDocumentIngressStringExpression(v **types.IngressSt if err := awsAwsjson10_deserializeDocumentIngressStringToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -7430,10 +7488,12 @@ func awsAwsjson10_deserializeDocumentIngressStringExpression(v **types.IngressSt } sv.Operator = types.IngressStringOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7511,6 +7571,7 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr if err := awsAwsjson10_deserializeDocumentIngressTlsProtocolToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -7519,6 +7580,7 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr } sv.Operator = types.IngressTlsProtocolOperator(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7527,6 +7589,7 @@ func awsAwsjson10_deserializeDocumentIngressTlsProtocolExpression(v **types.Ingr } sv.Value = types.IngressTlsProtocolAttribute(jtv) } + default: _, _ = key, value @@ -7644,6 +7707,7 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Html = ptr.String(jtv) } + case "MessageMalformed": if value != nil { jtv, ok := value.(bool) @@ -7652,6 +7716,7 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.MessageMalformed = ptr.Bool(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -7660,6 +7725,7 @@ func awsAwsjson10_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -7699,6 +7765,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.IngressPointId = ptr.String(jtv) } + case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -7707,6 +7774,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.RuleSetId = ptr.String(jtv) } + case "SenderHostname": if value != nil { jtv, ok := value.(string) @@ -7715,6 +7783,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SenderHostname = ptr.String(jtv) } + case "SenderIpAddress": if value != nil { jtv, ok := value.(string) @@ -7723,6 +7792,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.SenderIpAddress = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -7738,6 +7808,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } } + case "TlsCipherSuite": if value != nil { jtv, ok := value.(string) @@ -7746,6 +7817,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TlsCipherSuite = ptr.String(jtv) } + case "TlsProtocol": if value != nil { jtv, ok := value.(string) @@ -7754,6 +7826,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TlsProtocol = ptr.String(jtv) } + case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -7762,6 +7835,7 @@ func awsAwsjson10_deserializeDocumentMetadata(v **types.Metadata, value interfac } sv.TrafficPolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -7934,10 +8008,12 @@ func awsAwsjson10_deserializeDocumentPolicyStatement(v **types.PolicyStatement, } sv.Action = types.AcceptAction(jtv) } + case "Conditions": if err := awsAwsjson10_deserializeDocumentPolicyConditions(&sv.Conditions, value); err != nil { return err } + default: _, _ = key, value @@ -8054,6 +8130,7 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } } + case "RelayId": if value != nil { jtv, ok := value.(string) @@ -8062,6 +8139,7 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } sv.RelayId = ptr.String(jtv) } + case "RelayName": if value != nil { jtv, ok := value.(string) @@ -8070,6 +8148,7 @@ func awsAwsjson10_deserializeDocumentRelay(v **types.Relay, value interface{}) e } sv.RelayName = ptr.String(jtv) } + default: _, _ = key, value @@ -8109,6 +8188,7 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } + case "MailFrom": if value != nil { jtv, ok := value.(string) @@ -8117,6 +8197,7 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.MailFrom = types.MailFrom(jtv) } + case "Relay": if value != nil { jtv, ok := value.(string) @@ -8125,6 +8206,7 @@ func awsAwsjson10_deserializeDocumentRelayAction(v **types.RelayAction, value in } sv.Relay = ptr.String(jtv) } + default: _, _ = key, value @@ -8246,6 +8328,7 @@ func awsAwsjson10_deserializeDocumentReplaceRecipientAction(v **types.ReplaceRec if err := awsAwsjson10_deserializeDocumentRecipients(&sv.ReplaceWith, value); err != nil { return err } + default: _, _ = key, value @@ -8285,6 +8368,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8324,6 +8408,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.ArchivedMessageId = ptr.String(jtv) } + case "Cc": if value != nil { jtv, ok := value.(string) @@ -8332,6 +8417,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Cc = ptr.String(jtv) } + case "Date": if value != nil { jtv, ok := value.(string) @@ -8340,10 +8426,12 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Date = ptr.String(jtv) } + case "Envelope": if err := awsAwsjson10_deserializeDocumentEnvelope(&sv.Envelope, value); err != nil { return err } + case "From": if value != nil { jtv, ok := value.(string) @@ -8352,6 +8440,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.From = ptr.String(jtv) } + case "HasAttachments": if value != nil { jtv, ok := value.(bool) @@ -8360,6 +8449,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.HasAttachments = ptr.Bool(jtv) } + case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -8368,6 +8458,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.IngressPointId = ptr.String(jtv) } + case "InReplyTo": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8467,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.InReplyTo = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -8384,10 +8476,12 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.MessageId = ptr.String(jtv) } + case "ReceivedHeaders": if err := awsAwsjson10_deserializeDocumentEmailReceivedHeadersList(&sv.ReceivedHeaders, value); err != nil { return err } + case "ReceivedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8403,6 +8497,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } } + case "SenderHostname": if value != nil { jtv, ok := value.(string) @@ -8411,6 +8506,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.SenderHostname = ptr.String(jtv) } + case "SenderIpAddress": if value != nil { jtv, ok := value.(string) @@ -8419,6 +8515,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.SenderIpAddress = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -8427,6 +8524,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.Subject = ptr.String(jtv) } + case "To": if value != nil { jtv, ok := value.(string) @@ -8435,6 +8533,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.To = ptr.String(jtv) } + case "XMailer": if value != nil { jtv, ok := value.(string) @@ -8443,6 +8542,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XMailer = ptr.String(jtv) } + case "XOriginalMailer": if value != nil { jtv, ok := value.(string) @@ -8451,6 +8551,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XOriginalMailer = ptr.String(jtv) } + case "XPriority": if value != nil { jtv, ok := value.(string) @@ -8459,6 +8560,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error } sv.XPriority = ptr.String(jtv) } + default: _, _ = key, value @@ -8528,10 +8630,12 @@ func awsAwsjson10_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsAwsjson10_deserializeDocumentRuleActions(&sv.Actions, value); err != nil { return err } + case "Conditions": if err := awsAwsjson10_deserializeDocumentRuleConditions(&sv.Conditions, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8540,10 +8644,12 @@ func awsAwsjson10_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Unless": if err := awsAwsjson10_deserializeDocumentRuleConditions(&sv.Unless, value); err != nil { return err } + default: _, _ = key, value @@ -8721,6 +8827,7 @@ func awsAwsjson10_deserializeDocumentRuleBooleanExpression(v **types.RuleBoolean if err := awsAwsjson10_deserializeDocumentRuleBooleanToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -8729,6 +8836,7 @@ func awsAwsjson10_deserializeDocumentRuleBooleanExpression(v **types.RuleBoolean } sv.Operator = types.RuleBooleanOperator(jtv) } + default: _, _ = key, value @@ -8932,10 +9040,12 @@ func awsAwsjson10_deserializeDocumentRuleDmarcExpression(v **types.RuleDmarcExpr } sv.Operator = types.RuleDmarcOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentRuleDmarcValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9007,6 +9117,7 @@ func awsAwsjson10_deserializeDocumentRuleIpExpression(v **types.RuleIpExpression if err := awsAwsjson10_deserializeDocumentRuleIpToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -9015,10 +9126,12 @@ func awsAwsjson10_deserializeDocumentRuleIpExpression(v **types.RuleIpExpression } sv.Operator = types.RuleIpOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentRuleIpValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9132,6 +9245,7 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx if err := awsAwsjson10_deserializeDocumentRuleNumberToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -9140,6 +9254,7 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx } sv.Operator = types.RuleNumberOperator(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -9173,6 +9288,7 @@ func awsAwsjson10_deserializeDocumentRuleNumberExpression(v **types.RuleNumberEx } } + default: _, _ = key, value @@ -9295,6 +9411,7 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } } + case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -9303,6 +9420,7 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } sv.RuleSetId = ptr.String(jtv) } + case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -9311,6 +9429,7 @@ func awsAwsjson10_deserializeDocumentRuleSet(v **types.RuleSet, value interface{ } sv.RuleSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -9380,6 +9499,7 @@ func awsAwsjson10_deserializeDocumentRuleStringExpression(v **types.RuleStringEx if err := awsAwsjson10_deserializeDocumentRuleStringToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -9388,10 +9508,12 @@ func awsAwsjson10_deserializeDocumentRuleStringExpression(v **types.RuleStringEx } sv.Operator = types.RuleStringOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentRuleStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9517,6 +9639,7 @@ func awsAwsjson10_deserializeDocumentRuleVerdictExpression(v **types.RuleVerdict if err := awsAwsjson10_deserializeDocumentRuleVerdictToEvaluate(&sv.Evaluate, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -9525,10 +9648,12 @@ func awsAwsjson10_deserializeDocumentRuleVerdictExpression(v **types.RuleVerdict } sv.Operator = types.RuleVerdictOperator(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentRuleVerdictValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -9656,6 +9781,7 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9664,6 +9790,7 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.RoleArn = ptr.String(jtv) } + case "S3Bucket": if value != nil { jtv, ok := value.(string) @@ -9672,6 +9799,7 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3Bucket = ptr.String(jtv) } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -9680,6 +9808,7 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3Prefix = ptr.String(jtv) } + case "S3SseKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -9688,6 +9817,7 @@ func awsAwsjson10_deserializeDocumentS3Action(v **types.S3Action, value interfac } sv.S3SseKmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -9727,6 +9857,7 @@ func awsAwsjson10_deserializeDocumentS3ExportDestinationConfiguration(v **types. } sv.S3Location = ptr.String(jtv) } + default: _, _ = key, value @@ -9773,6 +9904,7 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -9781,6 +9913,7 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.ErrorMessage = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9789,6 +9922,7 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } sv.State = types.SearchState(jtv) } + case "SubmissionTimestamp": if value != nil { switch jtv := value.(type) { @@ -9804,6 +9938,7 @@ func awsAwsjson10_deserializeDocumentSearchStatus(v **types.SearchStatus, value } } + default: _, _ = key, value @@ -9843,10 +9978,12 @@ func awsAwsjson10_deserializeDocumentSearchSummary(v **types.SearchSummary, valu } sv.SearchId = ptr.String(jtv) } + case "Status": if err := awsAwsjson10_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -9920,6 +10057,7 @@ func awsAwsjson10_deserializeDocumentSendAction(v **types.SendAction, value inte } sv.ActionFailurePolicy = types.ActionFailurePolicy(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -9928,6 +10066,7 @@ func awsAwsjson10_deserializeDocumentSendAction(v **types.SendAction, value inte } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9967,6 +10106,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10078,6 +10218,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10086,6 +10227,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10159,6 +10301,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10198,6 +10341,7 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.DefaultAction = types.AcceptAction(jtv) } + case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -10206,6 +10350,7 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.TrafficPolicyId = ptr.String(jtv) } + case "TrafficPolicyName": if value != nil { jtv, ok := value.(string) @@ -10214,6 +10359,7 @@ func awsAwsjson10_deserializeDocumentTrafficPolicy(v **types.TrafficPolicy, valu } sv.TrafficPolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -10287,6 +10433,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10326,6 +10473,7 @@ func awsAwsjson10_deserializeOpDocumentCreateAddonInstanceOutput(v **CreateAddon } sv.AddonInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10365,6 +10513,7 @@ func awsAwsjson10_deserializeOpDocumentCreateAddonSubscriptionOutput(v **CreateA } sv.AddonSubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10404,6 +10553,7 @@ func awsAwsjson10_deserializeOpDocumentCreateArchiveOutput(v **CreateArchiveOutp } sv.ArchiveId = ptr.String(jtv) } + default: _, _ = key, value @@ -10443,6 +10593,7 @@ func awsAwsjson10_deserializeOpDocumentCreateIngressPointOutput(v **CreateIngres } sv.IngressPointId = ptr.String(jtv) } + default: _, _ = key, value @@ -10482,6 +10633,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRelayOutput(v **CreateRelayOutput, } sv.RelayId = ptr.String(jtv) } + default: _, _ = key, value @@ -10521,6 +10673,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleSetOutput(v **CreateRuleSetOutp } sv.RuleSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10560,6 +10713,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTrafficPolicyOutput(v **CreateTraff } sv.TrafficPolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -10816,6 +10970,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonInstanceArn = ptr.String(jtv) } + case "AddonName": if value != nil { jtv, ok := value.(string) @@ -10824,6 +10979,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonName = ptr.String(jtv) } + case "AddonSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -10832,6 +10988,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } sv.AddonSubscriptionId = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10847,6 +11004,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonInstanceOutput(v **GetAddonInstan } } + default: _, _ = key, value @@ -10886,6 +11044,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } sv.AddonName = ptr.String(jtv) } + case "AddonSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -10894,6 +11053,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } sv.AddonSubscriptionArn = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10909,6 +11069,7 @@ func awsAwsjson10_deserializeOpDocumentGetAddonSubscriptionOutput(v **GetAddonSu } } + default: _, _ = key, value @@ -10948,14 +11109,17 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } sv.ArchiveId = ptr.String(jtv) } + case "ExportDestinationConfiguration": if err := awsAwsjson10_deserializeDocumentExportDestinationConfiguration(&sv.ExportDestinationConfiguration, value); err != nil { return err } + case "Filters": if err := awsAwsjson10_deserializeDocumentArchiveFilters(&sv.Filters, value); err != nil { return err } + case "FromTimestamp": if value != nil { switch jtv := value.(type) { @@ -10971,6 +11135,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -10983,10 +11148,12 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } sv.MaxResults = ptr.Int32(int32(i64)) } + case "Status": if err := awsAwsjson10_deserializeDocumentExportStatus(&sv.Status, value); err != nil { return err } + case "ToTimestamp": if value != nil { switch jtv := value.(type) { @@ -11002,6 +11169,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveExportOutput(v **GetArchiveExpo } } + default: _, _ = key, value @@ -11037,6 +11205,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageContentOutput(v **GetArc if err := awsAwsjson10_deserializeDocumentMessageBody(&sv.Body, value); err != nil { return err } + default: _, _ = key, value @@ -11072,6 +11241,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageOutput(v **GetArchiveMes if err := awsAwsjson10_deserializeDocumentEnvelope(&sv.Envelope, value); err != nil { return err } + case "MessageDownloadLink": if value != nil { jtv, ok := value.(string) @@ -11080,10 +11250,12 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveMessageOutput(v **GetArchiveMes } sv.MessageDownloadLink = ptr.String(jtv) } + case "Metadata": if err := awsAwsjson10_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -11123,6 +11295,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveArn = ptr.String(jtv) } + case "ArchiveId": if value != nil { jtv, ok := value.(string) @@ -11131,6 +11304,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveId = ptr.String(jtv) } + case "ArchiveName": if value != nil { jtv, ok := value.(string) @@ -11139,6 +11313,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveName = ptr.String(jtv) } + case "ArchiveState": if value != nil { jtv, ok := value.(string) @@ -11147,6 +11322,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.ArchiveState = types.ArchiveState(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11162,6 +11338,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -11170,6 +11347,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } sv.KmsKeyArn = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11185,10 +11363,12 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveOutput(v **GetArchiveOutput, va } } + case "Retention": if err := awsAwsjson10_deserializeDocumentArchiveRetention(&sv.Retention, value); err != nil { return err } + default: _, _ = key, value @@ -11228,10 +11408,12 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } sv.ArchiveId = ptr.String(jtv) } + case "Filters": if err := awsAwsjson10_deserializeDocumentArchiveFilters(&sv.Filters, value); err != nil { return err } + case "FromTimestamp": if value != nil { switch jtv := value.(type) { @@ -11247,6 +11429,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -11259,10 +11442,12 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } sv.MaxResults = ptr.Int32(int32(i64)) } + case "Status": if err := awsAwsjson10_deserializeDocumentSearchStatus(&sv.Status, value); err != nil { return err } + case "ToTimestamp": if value != nil { switch jtv := value.(type) { @@ -11278,6 +11463,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchOutput(v **GetArchiveSear } } + default: _, _ = key, value @@ -11313,6 +11499,7 @@ func awsAwsjson10_deserializeOpDocumentGetArchiveSearchResultsOutput(v **GetArch if err := awsAwsjson10_deserializeDocumentRowsList(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -11352,6 +11539,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.ARecord = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11367,6 +11555,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } } + case "IngressPointArn": if value != nil { jtv, ok := value.(string) @@ -11375,10 +11564,12 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointArn = ptr.String(jtv) } + case "IngressPointAuthConfiguration": if err := awsAwsjson10_deserializeDocumentIngressPointAuthConfiguration(&sv.IngressPointAuthConfiguration, value); err != nil { return err } + case "IngressPointId": if value != nil { jtv, ok := value.(string) @@ -11387,6 +11578,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointId = ptr.String(jtv) } + case "IngressPointName": if value != nil { jtv, ok := value.(string) @@ -11395,6 +11587,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.IngressPointName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11410,6 +11603,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } } + case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -11418,6 +11612,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.RuleSetId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11426,6 +11621,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.Status = types.IngressPointStatus(jtv) } + case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -11434,6 +11630,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.TrafficPolicyId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11442,6 +11639,7 @@ func awsAwsjson10_deserializeOpDocumentGetIngressPointOutput(v **GetIngressPoint } sv.Type = types.IngressPointType(jtv) } + default: _, _ = key, value @@ -11477,6 +11675,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value if err := awsAwsjson10_deserializeDocumentRelayAuthentication(&sv.Authentication, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11492,6 +11691,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } } + case "LastModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11507,6 +11707,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } } + case "RelayArn": if value != nil { jtv, ok := value.(string) @@ -11515,6 +11716,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayArn = ptr.String(jtv) } + case "RelayId": if value != nil { jtv, ok := value.(string) @@ -11523,6 +11725,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayId = ptr.String(jtv) } + case "RelayName": if value != nil { jtv, ok := value.(string) @@ -11531,6 +11734,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.RelayName = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -11539,6 +11743,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.ServerName = ptr.String(jtv) } + case "ServerPort": if value != nil { jtv, ok := value.(json.Number) @@ -11551,6 +11756,7 @@ func awsAwsjson10_deserializeOpDocumentGetRelayOutput(v **GetRelayOutput, value } sv.ServerPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11597,6 +11803,7 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } } + case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -11612,10 +11819,12 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } } + case "Rules": if err := awsAwsjson10_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } + case "RuleSetArn": if value != nil { jtv, ok := value.(string) @@ -11624,6 +11833,7 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetArn = ptr.String(jtv) } + case "RuleSetId": if value != nil { jtv, ok := value.(string) @@ -11632,6 +11842,7 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetId = ptr.String(jtv) } + case "RuleSetName": if value != nil { jtv, ok := value.(string) @@ -11640,6 +11851,7 @@ func awsAwsjson10_deserializeOpDocumentGetRuleSetOutput(v **GetRuleSetOutput, va } sv.RuleSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -11686,6 +11898,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } } + case "DefaultAction": if value != nil { jtv, ok := value.(string) @@ -11694,6 +11907,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.DefaultAction = types.AcceptAction(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11709,6 +11923,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } } + case "MaxMessageSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11721,10 +11936,12 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.MaxMessageSizeBytes = ptr.Int32(int32(i64)) } + case "PolicyStatements": if err := awsAwsjson10_deserializeDocumentPolicyStatementList(&sv.PolicyStatements, value); err != nil { return err } + case "TrafficPolicyArn": if value != nil { jtv, ok := value.(string) @@ -11733,6 +11950,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyArn = ptr.String(jtv) } + case "TrafficPolicyId": if value != nil { jtv, ok := value.(string) @@ -11741,6 +11959,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyId = ptr.String(jtv) } + case "TrafficPolicyName": if value != nil { jtv, ok := value.(string) @@ -11749,6 +11968,7 @@ func awsAwsjson10_deserializeOpDocumentGetTrafficPolicyOutput(v **GetTrafficPoli } sv.TrafficPolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -11784,6 +12004,7 @@ func awsAwsjson10_deserializeOpDocumentListAddonInstancesOutput(v **ListAddonIns if err := awsAwsjson10_deserializeDocumentAddonInstances(&sv.AddonInstances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11792,6 +12013,7 @@ func awsAwsjson10_deserializeOpDocumentListAddonInstancesOutput(v **ListAddonIns } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11827,6 +12049,7 @@ func awsAwsjson10_deserializeOpDocumentListAddonSubscriptionsOutput(v **ListAddo if err := awsAwsjson10_deserializeDocumentAddonSubscriptions(&sv.AddonSubscriptions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11835,6 +12058,7 @@ func awsAwsjson10_deserializeOpDocumentListAddonSubscriptionsOutput(v **ListAddo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11870,6 +12094,7 @@ func awsAwsjson10_deserializeOpDocumentListArchiveExportsOutput(v **ListArchiveE if err := awsAwsjson10_deserializeDocumentExportSummaryList(&sv.Exports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11878,6 +12103,7 @@ func awsAwsjson10_deserializeOpDocumentListArchiveExportsOutput(v **ListArchiveE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11917,10 +12143,12 @@ func awsAwsjson10_deserializeOpDocumentListArchiveSearchesOutput(v **ListArchive } sv.NextToken = ptr.String(jtv) } + case "Searches": if err := awsAwsjson10_deserializeDocumentSearchSummaryList(&sv.Searches, value); err != nil { return err } + default: _, _ = key, value @@ -11956,6 +12184,7 @@ func awsAwsjson10_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput if err := awsAwsjson10_deserializeDocumentArchivesList(&sv.Archives, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11964,6 +12193,7 @@ func awsAwsjson10_deserializeOpDocumentListArchivesOutput(v **ListArchivesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11999,6 +12229,7 @@ func awsAwsjson10_deserializeOpDocumentListIngressPointsOutput(v **ListIngressPo if err := awsAwsjson10_deserializeDocumentIngressPointsList(&sv.IngressPoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12007,6 +12238,7 @@ func awsAwsjson10_deserializeOpDocumentListIngressPointsOutput(v **ListIngressPo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12046,10 +12278,12 @@ func awsAwsjson10_deserializeOpDocumentListRelaysOutput(v **ListRelaysOutput, va } sv.NextToken = ptr.String(jtv) } + case "Relays": if err := awsAwsjson10_deserializeDocumentRelays(&sv.Relays, value); err != nil { return err } + default: _, _ = key, value @@ -12089,10 +12323,12 @@ func awsAwsjson10_deserializeOpDocumentListRuleSetsOutput(v **ListRuleSetsOutput } sv.NextToken = ptr.String(jtv) } + case "RuleSets": if err := awsAwsjson10_deserializeDocumentRuleSets(&sv.RuleSets, value); err != nil { return err } + default: _, _ = key, value @@ -12128,6 +12364,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12167,10 +12404,12 @@ func awsAwsjson10_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTraffic } sv.NextToken = ptr.String(jtv) } + case "TrafficPolicies": if err := awsAwsjson10_deserializeDocumentTrafficPolicyList(&sv.TrafficPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -12210,6 +12449,7 @@ func awsAwsjson10_deserializeOpDocumentStartArchiveExportOutput(v **StartArchive } sv.ExportId = ptr.String(jtv) } + default: _, _ = key, value @@ -12249,6 +12489,7 @@ func awsAwsjson10_deserializeOpDocumentStartArchiveSearchOutput(v **StartArchive } sv.SearchId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/managedblockchain/deserializers.go b/service/managedblockchain/deserializers.go index 5f812b707d4..64e42a9feb2 100644 --- a/service/managedblockchain/deserializers.go +++ b/service/managedblockchain/deserializers.go @@ -193,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.AccessorId = ptr.String(jtv) } + case "BillingToken": if value != nil { jtv, ok := value.(string) @@ -201,6 +202,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.BillingToken = ptr.String(jtv) } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -209,6 +211,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessorOutput(v **CreateAccessorOu } sv.NetworkType = types.AccessorNetworkType(jtv) } + default: _, _ = key, value @@ -388,6 +391,7 @@ func awsRestjson1_deserializeOpDocumentCreateMemberOutput(v **CreateMemberOutput } sv.MemberId = ptr.String(jtv) } + default: _, _ = key, value @@ -561,6 +565,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.MemberId = ptr.String(jtv) } + case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -569,6 +574,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.NetworkId = ptr.String(jtv) } + default: _, _ = key, value @@ -748,6 +754,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.NodeId = ptr.String(jtv) } + default: _, _ = key, value @@ -921,6 +928,7 @@ func awsRestjson1_deserializeOpDocumentCreateProposalOutput(v **CreateProposalOu } sv.ProposalId = ptr.String(jtv) } + default: _, _ = key, value @@ -1390,6 +1398,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessorOutput(v **GetAccessorOutput, if err := awsRestjson1_deserializeDocumentAccessor(&sv.Accessor, value); err != nil { return err } + default: _, _ = key, value @@ -1553,6 +1562,7 @@ func awsRestjson1_deserializeOpDocumentGetMemberOutput(v **GetMemberOutput, valu if err := awsRestjson1_deserializeDocumentMember(&sv.Member, value); err != nil { return err } + default: _, _ = key, value @@ -1716,6 +1726,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkOutput(v **GetNetworkOutput, va if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } + default: _, _ = key, value @@ -1879,6 +1890,7 @@ func awsRestjson1_deserializeOpDocumentGetNodeOutput(v **GetNodeOutput, value in if err := awsRestjson1_deserializeDocumentNode(&sv.Node, value); err != nil { return err } + default: _, _ = key, value @@ -2042,6 +2054,7 @@ func awsRestjson1_deserializeOpDocumentGetProposalOutput(v **GetProposalOutput, if err := awsRestjson1_deserializeDocumentProposal(&sv.Proposal, value); err != nil { return err } + default: _, _ = key, value @@ -2202,6 +2215,7 @@ func awsRestjson1_deserializeOpDocumentListAccessorsOutput(v **ListAccessorsOutp if err := awsRestjson1_deserializeDocumentAccessorSummaryList(&sv.Accessors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2210,6 +2224,7 @@ func awsRestjson1_deserializeOpDocumentListAccessorsOutput(v **ListAccessorsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2376,6 +2391,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitationList(&sv.Invitations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2384,6 +2400,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2544,6 +2561,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberSummaryList(&sv.Members, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2552,6 +2570,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2712,6 +2731,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocumentNetworkSummaryList(&sv.Networks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2720,6 +2740,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2884,10 +2905,12 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Nodes": if err := awsRestjson1_deserializeDocumentNodeSummaryList(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -3055,10 +3078,12 @@ func awsRestjson1_deserializeOpDocumentListProposalsOutput(v **ListProposalsOutp } sv.NextToken = ptr.String(jtv) } + case "Proposals": if err := awsRestjson1_deserializeDocumentProposalSummaryList(&sv.Proposals, value); err != nil { return err } + default: _, _ = key, value @@ -3223,10 +3248,12 @@ func awsRestjson1_deserializeOpDocumentListProposalVotesOutput(v **ListProposalV } sv.NextToken = ptr.String(jtv) } + case "ProposalVotes": if err := awsRestjson1_deserializeDocumentProposalVoteList(&sv.ProposalVotes, value); err != nil { return err } + default: _, _ = key, value @@ -3387,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4327,6 +4355,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4366,6 +4395,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Arn = ptr.String(jtv) } + case "BillingToken": if value != nil { jtv, ok := value.(string) @@ -4374,6 +4404,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.BillingToken = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4386,6 +4417,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.CreationDate = ptr.Time(t) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4394,6 +4426,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Id = ptr.String(jtv) } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -4402,6 +4435,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.NetworkType = types.AccessorNetworkType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4410,10 +4444,12 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Status = types.AccessorStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4422,6 +4458,7 @@ func awsRestjson1_deserializeDocumentAccessor(v **types.Accessor, value interfac } sv.Type = types.AccessorType(jtv) } + default: _, _ = key, value @@ -4461,6 +4498,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4473,6 +4511,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.CreationDate = ptr.Time(t) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4481,6 +4520,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Id = ptr.String(jtv) } + case "NetworkType": if value != nil { jtv, ok := value.(string) @@ -4489,6 +4529,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.NetworkType = types.AccessorNetworkType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4497,6 +4538,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Status = types.AccessorStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4505,6 +4547,7 @@ func awsRestjson1_deserializeDocumentAccessorSummary(v **types.AccessorSummary, } sv.Type = types.AccessorType(jtv) } + default: _, _ = key, value @@ -4582,6 +4625,7 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ProposalDurationInHours = ptr.Int32(int32(i64)) } + case "ThresholdComparator": if value != nil { jtv, ok := value.(string) @@ -4590,6 +4634,7 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ThresholdComparator = types.ThresholdComparator(jtv) } + case "ThresholdPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -4602,6 +4647,7 @@ func awsRestjson1_deserializeDocumentApprovalThresholdPolicy(v **types.ApprovalT } sv.ThresholdPercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4641,6 +4687,7 @@ func awsRestjson1_deserializeDocumentIllegalActionException(v **types.IllegalAct } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4711,6 +4758,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4750,6 +4798,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -4762,6 +4811,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.CreationDate = ptr.Time(t) } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -4774,6 +4824,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.ExpirationDate = ptr.Time(t) } + case "InvitationId": if value != nil { jtv, ok := value.(string) @@ -4782,10 +4833,12 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } + case "NetworkSummary": if err := awsRestjson1_deserializeDocumentNetworkSummary(&sv.NetworkSummary, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4794,6 +4847,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.Status = types.InvitationStatus(jtv) } + default: _, _ = key, value @@ -4867,6 +4921,7 @@ func awsRestjson1_deserializeDocumentInviteAction(v **types.InviteAction, value } sv.Principal = ptr.String(jtv) } + default: _, _ = key, value @@ -4940,6 +4995,7 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4975,6 +5031,7 @@ func awsRestjson1_deserializeDocumentLogConfigurations(v **types.LogConfiguratio if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.Cloudwatch, value); err != nil { return err } + default: _, _ = key, value @@ -5014,6 +5071,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5026,6 +5084,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5034,10 +5093,12 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Description = ptr.String(jtv) } + case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentMemberFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5046,6 +5107,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Id = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5054,10 +5116,12 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.KmsKeyArn = ptr.String(jtv) } + case "LogPublishingConfiguration": if err := awsRestjson1_deserializeDocumentMemberLogPublishingConfiguration(&sv.LogPublishingConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5066,6 +5130,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Name = ptr.String(jtv) } + case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -5074,6 +5139,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.NetworkId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5082,10 +5148,12 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Status = types.MemberStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5125,6 +5193,7 @@ func awsRestjson1_deserializeDocumentMemberFabricAttributes(v **types.MemberFabr } sv.AdminUsername = ptr.String(jtv) } + case "CaEndpoint": if value != nil { jtv, ok := value.(string) @@ -5133,6 +5202,7 @@ func awsRestjson1_deserializeDocumentMemberFabricAttributes(v **types.MemberFabr } sv.CaEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -5168,6 +5238,7 @@ func awsRestjson1_deserializeDocumentMemberFabricLogPublishingConfiguration(v ** if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.CaLogs, value); err != nil { return err } + default: _, _ = key, value @@ -5203,6 +5274,7 @@ func awsRestjson1_deserializeDocumentMemberFrameworkAttributes(v **types.MemberF if err := awsRestjson1_deserializeDocumentMemberFabricAttributes(&sv.Fabric, value); err != nil { return err } + default: _, _ = key, value @@ -5238,6 +5310,7 @@ func awsRestjson1_deserializeDocumentMemberLogPublishingConfiguration(v **types. if err := awsRestjson1_deserializeDocumentMemberFabricLogPublishingConfiguration(&sv.Fabric, value); err != nil { return err } + default: _, _ = key, value @@ -5277,6 +5350,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5289,6 +5363,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5372,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5305,6 +5381,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Id = ptr.String(jtv) } + case "IsOwned": if value != nil { jtv, ok := value.(bool) @@ -5313,6 +5390,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.IsOwned = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5321,6 +5399,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5329,6 +5408,7 @@ func awsRestjson1_deserializeDocumentMemberSummary(v **types.MemberSummary, valu } sv.Status = types.MemberStatus(jtv) } + default: _, _ = key, value @@ -5402,6 +5482,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5414,6 +5495,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5422,6 +5504,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Description = ptr.String(jtv) } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -5430,10 +5513,12 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Framework = types.Framework(jtv) } + case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentNetworkFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -5442,6 +5527,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.FrameworkVersion = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5450,6 +5536,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5458,6 +5545,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5466,14 +5554,17 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Status = types.NetworkStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + case "VotingPolicy": if err := awsRestjson1_deserializeDocumentVotingPolicy(&sv.VotingPolicy, value); err != nil { return err } + case "VpcEndpointServiceName": if value != nil { jtv, ok := value.(string) @@ -5482,6 +5573,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.VpcEndpointServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5521,6 +5613,7 @@ func awsRestjson1_deserializeDocumentNetworkEthereumAttributes(v **types.Network } sv.ChainId = ptr.String(jtv) } + default: _, _ = key, value @@ -5560,6 +5653,7 @@ func awsRestjson1_deserializeDocumentNetworkFabricAttributes(v **types.NetworkFa } sv.Edition = types.Edition(jtv) } + case "OrderingServiceEndpoint": if value != nil { jtv, ok := value.(string) @@ -5568,6 +5662,7 @@ func awsRestjson1_deserializeDocumentNetworkFabricAttributes(v **types.NetworkFa } sv.OrderingServiceEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -5603,10 +5698,12 @@ func awsRestjson1_deserializeDocumentNetworkFrameworkAttributes(v **types.Networ if err := awsRestjson1_deserializeDocumentNetworkEthereumAttributes(&sv.Ethereum, value); err != nil { return err } + case "Fabric": if err := awsRestjson1_deserializeDocumentNetworkFabricAttributes(&sv.Fabric, value); err != nil { return err } + default: _, _ = key, value @@ -5646,6 +5743,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5658,6 +5756,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5666,6 +5765,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Description = ptr.String(jtv) } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -5674,6 +5774,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Framework = types.Framework(jtv) } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -5682,6 +5783,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.FrameworkVersion = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5690,6 +5792,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5698,6 +5801,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5706,6 +5810,7 @@ func awsRestjson1_deserializeDocumentNetworkSummary(v **types.NetworkSummary, va } sv.Status = types.NetworkStatus(jtv) } + default: _, _ = key, value @@ -5779,6 +5884,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -5787,6 +5893,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -5799,10 +5906,12 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.CreationDate = ptr.Time(t) } + case "FrameworkAttributes": if err := awsRestjson1_deserializeDocumentNodeFrameworkAttributes(&sv.FrameworkAttributes, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5811,6 +5920,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Id = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -5819,6 +5929,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.InstanceType = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5827,10 +5938,12 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.KmsKeyArn = ptr.String(jtv) } + case "LogPublishingConfiguration": if err := awsRestjson1_deserializeDocumentNodeLogPublishingConfiguration(&sv.LogPublishingConfiguration, value); err != nil { return err } + case "MemberId": if value != nil { jtv, ok := value.(string) @@ -5839,6 +5952,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.MemberId = ptr.String(jtv) } + case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -5847,6 +5961,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NetworkId = ptr.String(jtv) } + case "StateDB": if value != nil { jtv, ok := value.(string) @@ -5855,6 +5970,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.StateDB = types.StateDBType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5863,10 +5979,12 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Status = types.NodeStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5906,6 +6024,7 @@ func awsRestjson1_deserializeDocumentNodeEthereumAttributes(v **types.NodeEthere } sv.HttpEndpoint = ptr.String(jtv) } + case "WebSocketEndpoint": if value != nil { jtv, ok := value.(string) @@ -5914,6 +6033,7 @@ func awsRestjson1_deserializeDocumentNodeEthereumAttributes(v **types.NodeEthere } sv.WebSocketEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -5953,6 +6073,7 @@ func awsRestjson1_deserializeDocumentNodeFabricAttributes(v **types.NodeFabricAt } sv.PeerEndpoint = ptr.String(jtv) } + case "PeerEventEndpoint": if value != nil { jtv, ok := value.(string) @@ -5961,6 +6082,7 @@ func awsRestjson1_deserializeDocumentNodeFabricAttributes(v **types.NodeFabricAt } sv.PeerEventEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -5996,10 +6118,12 @@ func awsRestjson1_deserializeDocumentNodeFabricLogPublishingConfiguration(v **ty if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.ChaincodeLogs, value); err != nil { return err } + case "PeerLogs": if err := awsRestjson1_deserializeDocumentLogConfigurations(&sv.PeerLogs, value); err != nil { return err } + default: _, _ = key, value @@ -6035,10 +6159,12 @@ func awsRestjson1_deserializeDocumentNodeFrameworkAttributes(v **types.NodeFrame if err := awsRestjson1_deserializeDocumentNodeEthereumAttributes(&sv.Ethereum, value); err != nil { return err } + case "Fabric": if err := awsRestjson1_deserializeDocumentNodeFabricAttributes(&sv.Fabric, value); err != nil { return err } + default: _, _ = key, value @@ -6074,6 +6200,7 @@ func awsRestjson1_deserializeDocumentNodeLogPublishingConfiguration(v **types.No if err := awsRestjson1_deserializeDocumentNodeFabricLogPublishingConfiguration(&sv.Fabric, value); err != nil { return err } + default: _, _ = key, value @@ -6113,6 +6240,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Arn = ptr.String(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -6121,6 +6249,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.AvailabilityZone = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6133,6 +6262,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.CreationDate = ptr.Time(t) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6141,6 +6271,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Id = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -6149,6 +6280,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.InstanceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6157,6 +6289,7 @@ func awsRestjson1_deserializeDocumentNodeSummary(v **types.NodeSummary, value in } sv.Status = types.NodeStatus(jtv) } + default: _, _ = key, value @@ -6262,6 +6395,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac if err := awsRestjson1_deserializeDocumentProposalActions(&sv.Actions, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6270,6 +6404,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6282,6 +6417,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6290,6 +6426,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Description = ptr.String(jtv) } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6302,6 +6439,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ExpirationDate = ptr.Time(t) } + case "NetworkId": if value != nil { jtv, ok := value.(string) @@ -6310,6 +6448,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.NetworkId = ptr.String(jtv) } + case "NoVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6322,6 +6461,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.NoVoteCount = ptr.Int32(int32(i64)) } + case "OutstandingVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6334,6 +6474,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.OutstandingVoteCount = ptr.Int32(int32(i64)) } + case "ProposalId": if value != nil { jtv, ok := value.(string) @@ -6342,6 +6483,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposalId = ptr.String(jtv) } + case "ProposedByMemberId": if value != nil { jtv, ok := value.(string) @@ -6350,6 +6492,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposedByMemberId = ptr.String(jtv) } + case "ProposedByMemberName": if value != nil { jtv, ok := value.(string) @@ -6358,6 +6501,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.ProposedByMemberName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6366,10 +6510,12 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.Status = types.ProposalStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentOutputTagMap(&sv.Tags, value); err != nil { return err } + case "YesVoteCount": if value != nil { jtv, ok := value.(json.Number) @@ -6382,6 +6528,7 @@ func awsRestjson1_deserializeDocumentProposal(v **types.Proposal, value interfac } sv.YesVoteCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6417,10 +6564,12 @@ func awsRestjson1_deserializeDocumentProposalActions(v **types.ProposalActions, if err := awsRestjson1_deserializeDocumentInviteActionList(&sv.Invitations, value); err != nil { return err } + case "Removals": if err := awsRestjson1_deserializeDocumentRemoveActionList(&sv.Removals, value); err != nil { return err } + default: _, _ = key, value @@ -6460,6 +6609,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -6472,6 +6622,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.CreationDate = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6480,6 +6631,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Description = ptr.String(jtv) } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -6492,6 +6644,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ExpirationDate = ptr.Time(t) } + case "ProposalId": if value != nil { jtv, ok := value.(string) @@ -6500,6 +6653,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposalId = ptr.String(jtv) } + case "ProposedByMemberId": if value != nil { jtv, ok := value.(string) @@ -6508,6 +6662,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposedByMemberId = ptr.String(jtv) } + case "ProposedByMemberName": if value != nil { jtv, ok := value.(string) @@ -6516,6 +6671,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.ProposedByMemberName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6524,6 +6680,7 @@ func awsRestjson1_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.Status = types.ProposalStatus(jtv) } + default: _, _ = key, value @@ -6631,6 +6788,7 @@ func awsRestjson1_deserializeDocumentRemoveAction(v **types.RemoveAction, value } sv.MemberId = ptr.String(jtv) } + default: _, _ = key, value @@ -6704,6 +6862,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6743,6 +6902,7 @@ func awsRestjson1_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6782,6 +6942,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -6790,6 +6951,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6829,6 +6991,7 @@ func awsRestjson1_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6899,6 +7062,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -6907,6 +7071,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6946,6 +7111,7 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.MemberId = ptr.String(jtv) } + case "MemberName": if value != nil { jtv, ok := value.(string) @@ -6954,6 +7120,7 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.MemberName = ptr.String(jtv) } + case "Vote": if value != nil { jtv, ok := value.(string) @@ -6962,6 +7129,7 @@ func awsRestjson1_deserializeDocumentVoteSummary(v **types.VoteSummary, value in } sv.Vote = types.VoteValue(jtv) } + default: _, _ = key, value @@ -6997,6 +7165,7 @@ func awsRestjson1_deserializeDocumentVotingPolicy(v **types.VotingPolicy, value if err := awsRestjson1_deserializeDocumentApprovalThresholdPolicy(&sv.ApprovalThresholdPolicy, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/managedblockchainquery/deserializers.go b/service/managedblockchainquery/deserializers.go index 1f1eb50529e..6d1929fe2d6 100644 --- a/service/managedblockchainquery/deserializers.go +++ b/service/managedblockchainquery/deserializers.go @@ -187,10 +187,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetTokenBalanceOutput(v **BatchGetTo if err := awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrors(&sv.Errors, value); err != nil { return err } + case "tokenBalances": if err := awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputList(&sv.TokenBalances, value); err != nil { return err } + default: _, _ = key, value @@ -357,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra if err := awsRestjson1_deserializeDocumentContractIdentifier(&sv.ContractIdentifier, value); err != nil { return err } + case "deployerAddress": if value != nil { jtv, ok := value.(string) @@ -365,10 +368,12 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra } sv.DeployerAddress = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentContractMetadata(&sv.Metadata, value); err != nil { return err } + case "tokenStandard": if value != nil { jtv, ok := value.(string) @@ -377,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentGetAssetContractOutput(v **GetAssetContra } sv.TokenStandard = types.QueryTokenStandard(jtv) } + default: _, _ = key, value @@ -543,6 +549,7 @@ func awsRestjson1_deserializeOpDocumentGetTokenBalanceOutput(v **GetTokenBalance if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } + case "balance": if value != nil { jtv, ok := value.(string) @@ -551,18 +558,22 @@ func awsRestjson1_deserializeOpDocumentGetTokenBalanceOutput(v **GetTokenBalance } sv.Balance = ptr.String(jtv) } + case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } + case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } + case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -729,6 +740,7 @@ func awsRestjson1_deserializeOpDocumentGetTransactionOutput(v **GetTransactionOu if err := awsRestjson1_deserializeDocumentTransaction(&sv.Transaction, value); err != nil { return err } + default: _, _ = key, value @@ -892,6 +904,7 @@ func awsRestjson1_deserializeOpDocumentListAssetContractsOutput(v **ListAssetCon if err := awsRestjson1_deserializeDocumentAssetContractList(&sv.Contracts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -900,6 +913,7 @@ func awsRestjson1_deserializeOpDocumentListAssetContractsOutput(v **ListAssetCon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1063,6 +1077,7 @@ func awsRestjson1_deserializeOpDocumentListFilteredTransactionEventsOutput(v **L if err := awsRestjson1_deserializeDocumentTransactionEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1071,6 +1086,7 @@ func awsRestjson1_deserializeOpDocumentListFilteredTransactionEventsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1238,10 +1254,12 @@ func awsRestjson1_deserializeOpDocumentListTokenBalancesOutput(v **ListTokenBala } sv.NextToken = ptr.String(jtv) } + case "tokenBalances": if err := awsRestjson1_deserializeDocumentTokenBalanceList(&sv.TokenBalances, value); err != nil { return err } + default: _, _ = key, value @@ -1405,6 +1423,7 @@ func awsRestjson1_deserializeOpDocumentListTransactionEventsOutput(v **ListTrans if err := awsRestjson1_deserializeDocumentTransactionEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1413,6 +1432,7 @@ func awsRestjson1_deserializeOpDocumentListTransactionEventsOutput(v **ListTrans } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1580,10 +1600,12 @@ func awsRestjson1_deserializeOpDocumentListTransactionsOutput(v **ListTransactio } sv.NextToken = ptr.String(jtv) } + case "transactions": if err := awsRestjson1_deserializeDocumentTransactionOutputList(&sv.Transactions, value); err != nil { return err } + default: _, _ = key, value @@ -1879,6 +1901,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1914,6 +1937,7 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu if err := awsRestjson1_deserializeDocumentContractIdentifier(&sv.ContractIdentifier, value); err != nil { return err } + case "deployerAddress": if value != nil { jtv, ok := value.(string) @@ -1922,6 +1946,7 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu } sv.DeployerAddress = ptr.String(jtv) } + case "tokenStandard": if value != nil { jtv, ok := value.(string) @@ -1930,6 +1955,7 @@ func awsRestjson1_deserializeDocumentAssetContract(v **types.AssetContract, valu } sv.TokenStandard = types.QueryTokenStandard(jtv) } + default: _, _ = key, value @@ -1999,6 +2025,7 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -2007,6 +2034,7 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -2015,6 +2043,7 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorMessage = ptr.String(jtv) } + case "errorType": if value != nil { jtv, ok := value.(string) @@ -2023,14 +2052,17 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceErrorItem(v **types.Bat } sv.ErrorType = types.ErrorType(jtv) } + case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } + case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -2100,6 +2132,7 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputItem(v **types.Ba if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } + case "balance": if value != nil { jtv, ok := value.(string) @@ -2108,18 +2141,22 @@ func awsRestjson1_deserializeDocumentBatchGetTokenBalanceOutputItem(v **types.Ba } sv.Balance = ptr.String(jtv) } + case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } + case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } + case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -2200,6 +2237,7 @@ func awsRestjson1_deserializeDocumentBlockchainInstant(v **types.BlockchainInsta } } + default: _, _ = key, value @@ -2239,6 +2277,7 @@ func awsRestjson1_deserializeDocumentContractIdentifier(v **types.ContractIdenti } sv.ContractAddress = ptr.String(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -2247,6 +2286,7 @@ func awsRestjson1_deserializeDocumentContractIdentifier(v **types.ContractIdenti } sv.Network = types.QueryNetwork(jtv) } + default: _, _ = key, value @@ -2290,6 +2330,7 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Decimals = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2298,6 +2339,7 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Name = ptr.String(jtv) } + case "symbol": if value != nil { jtv, ok := value.(string) @@ -2306,6 +2348,7 @@ func awsRestjson1_deserializeDocumentContractMetadata(v **types.ContractMetadata } sv.Symbol = ptr.String(jtv) } + default: _, _ = key, value @@ -2345,6 +2388,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2357,6 +2401,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2396,6 +2441,7 @@ func awsRestjson1_deserializeDocumentOwnerIdentifier(v **types.OwnerIdentifier, } sv.Address = ptr.String(jtv) } + default: _, _ = key, value @@ -2435,6 +2481,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2443,6 +2490,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2451,6 +2499,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -2490,6 +2539,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2498,6 +2548,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2506,6 +2557,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2514,6 +2566,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2522,6 +2575,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2561,6 +2615,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2569,6 +2624,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2581,6 +2637,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2589,6 +2646,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2624,6 +2682,7 @@ func awsRestjson1_deserializeDocumentTokenBalance(v **types.TokenBalance, value if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.AtBlockchainInstant, value); err != nil { return err } + case "balance": if value != nil { jtv, ok := value.(string) @@ -2632,18 +2691,22 @@ func awsRestjson1_deserializeDocumentTokenBalance(v **types.TokenBalance, value } sv.Balance = ptr.String(jtv) } + case "lastUpdatedTime": if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.LastUpdatedTime, value); err != nil { return err } + case "ownerIdentifier": if err := awsRestjson1_deserializeDocumentOwnerIdentifier(&sv.OwnerIdentifier, value); err != nil { return err } + case "tokenIdentifier": if err := awsRestjson1_deserializeDocumentTokenIdentifier(&sv.TokenIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -2717,6 +2780,7 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.ContractAddress = ptr.String(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -2725,6 +2789,7 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.Network = types.QueryNetwork(jtv) } + case "tokenId": if value != nil { jtv, ok := value.(string) @@ -2733,6 +2798,7 @@ func awsRestjson1_deserializeDocumentTokenIdentifier(v **types.TokenIdentifier, } sv.TokenId = ptr.String(jtv) } + default: _, _ = key, value @@ -2772,6 +2838,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.BlockHash = ptr.String(jtv) } + case "blockNumber": if value != nil { jtv, ok := value.(string) @@ -2780,6 +2847,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.BlockNumber = ptr.String(jtv) } + case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -2788,6 +2856,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } + case "contractAddress": if value != nil { jtv, ok := value.(string) @@ -2796,6 +2865,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ContractAddress = ptr.String(jtv) } + case "cumulativeGasUsed": if value != nil { jtv, ok := value.(string) @@ -2804,6 +2874,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.CumulativeGasUsed = ptr.String(jtv) } + case "effectiveGasPrice": if value != nil { jtv, ok := value.(string) @@ -2812,6 +2883,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.EffectiveGasPrice = ptr.String(jtv) } + case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -2820,6 +2892,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.ExecutionStatus = types.ExecutionStatus(jtv) } + case "from": if value != nil { jtv, ok := value.(string) @@ -2828,6 +2901,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.From = ptr.String(jtv) } + case "gasUsed": if value != nil { jtv, ok := value.(string) @@ -2836,6 +2910,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.GasUsed = ptr.String(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -2844,6 +2919,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.Network = types.QueryNetwork(jtv) } + case "numberOfTransactions": if value != nil { jtv, ok := value.(json.Number) @@ -2856,6 +2932,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.NumberOfTransactions = ptr.Int64(i64) } + case "signatureR": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2941,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureR = ptr.String(jtv) } + case "signatureS": if value != nil { jtv, ok := value.(string) @@ -2872,6 +2950,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureS = ptr.String(jtv) } + case "signatureV": if value != nil { jtv, ok := value.(json.Number) @@ -2884,6 +2963,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.SignatureV = ptr.Int32(int32(i64)) } + case "to": if value != nil { jtv, ok := value.(string) @@ -2892,6 +2972,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.To = ptr.String(jtv) } + case "transactionFee": if value != nil { jtv, ok := value.(string) @@ -2900,6 +2981,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionFee = ptr.String(jtv) } + case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -2908,6 +2990,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionHash = ptr.String(jtv) } + case "transactionId": if value != nil { jtv, ok := value.(string) @@ -2916,6 +2999,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionId = ptr.String(jtv) } + case "transactionIndex": if value != nil { jtv, ok := value.(json.Number) @@ -2928,6 +3012,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } sv.TransactionIndex = ptr.Int64(i64) } + case "transactionTimestamp": if value != nil { switch jtv := value.(type) { @@ -2943,6 +3028,7 @@ func awsRestjson1_deserializeDocumentTransaction(v **types.Transaction, value in } } + default: _, _ = key, value @@ -2978,6 +3064,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent if err := awsRestjson1_deserializeDocumentBlockchainInstant(&sv.BlockchainInstant, value); err != nil { return err } + case "confirmationStatus": if value != nil { jtv, ok := value.(string) @@ -2986,6 +3073,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } + case "contractAddress": if value != nil { jtv, ok := value.(string) @@ -2994,6 +3082,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.ContractAddress = ptr.String(jtv) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -3002,6 +3091,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.EventType = types.QueryTransactionEventType(jtv) } + case "from": if value != nil { jtv, ok := value.(string) @@ -3010,6 +3100,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.From = ptr.String(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -3018,6 +3109,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.Network = types.QueryNetwork(jtv) } + case "spentVoutIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3030,6 +3122,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutIndex = ptr.Int32(int32(i64)) } + case "spentVoutTransactionHash": if value != nil { jtv, ok := value.(string) @@ -3038,6 +3131,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutTransactionHash = ptr.String(jtv) } + case "spentVoutTransactionId": if value != nil { jtv, ok := value.(string) @@ -3046,6 +3140,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.SpentVoutTransactionId = ptr.String(jtv) } + case "to": if value != nil { jtv, ok := value.(string) @@ -3054,6 +3149,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.To = ptr.String(jtv) } + case "tokenId": if value != nil { jtv, ok := value.(string) @@ -3062,6 +3158,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TokenId = ptr.String(jtv) } + case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -3070,6 +3167,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TransactionHash = ptr.String(jtv) } + case "transactionId": if value != nil { jtv, ok := value.(string) @@ -3078,6 +3176,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.TransactionId = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3086,6 +3185,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.Value = ptr.String(jtv) } + case "voutIndex": if value != nil { jtv, ok := value.(json.Number) @@ -3098,6 +3198,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.VoutIndex = ptr.Int32(int32(i64)) } + case "voutSpent": if value != nil { jtv, ok := value.(bool) @@ -3106,6 +3207,7 @@ func awsRestjson1_deserializeDocumentTransactionEvent(v **types.TransactionEvent } sv.VoutSpent = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3179,6 +3281,7 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.ConfirmationStatus = types.ConfirmationStatus(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -3187,6 +3290,7 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.Network = types.QueryNetwork(jtv) } + case "transactionHash": if value != nil { jtv, ok := value.(string) @@ -3195,6 +3299,7 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.TransactionHash = ptr.String(jtv) } + case "transactionId": if value != nil { jtv, ok := value.(string) @@ -3203,6 +3308,7 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } sv.TransactionId = ptr.String(jtv) } + case "transactionTimestamp": if value != nil { switch jtv := value.(type) { @@ -3218,6 +3324,7 @@ func awsRestjson1_deserializeDocumentTransactionOutputItem(v **types.Transaction } } + default: _, _ = key, value @@ -3287,6 +3394,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3295,6 +3403,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3303,6 +3412,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -3342,6 +3452,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3350,6 +3461,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplaceagreement/deserializers.go b/service/marketplaceagreement/deserializers.go index 9d23b4021cc..278f8d0a715 100644 --- a/service/marketplaceagreement/deserializers.go +++ b/service/marketplaceagreement/deserializers.go @@ -772,6 +772,7 @@ func awsAwsjson10_deserializeDocumentAcceptor(v **types.Acceptor, value interfac } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -811,6 +812,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -819,6 +821,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -865,10 +868,12 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } + case "acceptor": if err := awsAwsjson10_deserializeDocumentAcceptor(&sv.Acceptor, value); err != nil { return err } + case "agreementId": if value != nil { jtv, ok := value.(string) @@ -877,6 +882,7 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.AgreementId = ptr.String(jtv) } + case "agreementType": if value != nil { jtv, ok := value.(string) @@ -885,6 +891,7 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.AgreementType = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -900,14 +907,17 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } + case "proposalSummary": if err := awsAwsjson10_deserializeDocumentProposalSummary(&sv.ProposalSummary, value); err != nil { return err } + case "proposer": if err := awsAwsjson10_deserializeDocumentProposer(&sv.Proposer, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -923,6 +933,7 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } } + case "status": if value != nil { jtv, ok := value.(string) @@ -931,6 +942,7 @@ func awsAwsjson10_deserializeDocumentAgreementViewSummary(v **types.AgreementVie } sv.Status = types.AgreementStatus(jtv) } + default: _, _ = key, value @@ -1004,6 +1016,7 @@ func awsAwsjson10_deserializeDocumentByolPricingTerm(v **types.ByolPricingTerm, } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1039,6 +1052,7 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co if err := awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration(&sv.Configuration, value); err != nil { return err } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -1047,10 +1061,12 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co } sv.CurrencyCode = ptr.String(jtv) } + case "rateCards": if err := awsAwsjson10_deserializeDocumentConfigurableUpfrontRateCardList(&sv.RateCards, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -1059,6 +1075,7 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTerm(v **types.Co } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1094,6 +1111,7 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration if err := awsAwsjson10_deserializeDocumentDimensionList(&sv.Dimensions, value); err != nil { return err } + case "selectorValue": if value != nil { jtv, ok := value.(string) @@ -1102,6 +1120,7 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontPricingTermConfiguration } sv.SelectorValue = ptr.String(jtv) } + default: _, _ = key, value @@ -1137,14 +1156,17 @@ func awsAwsjson10_deserializeDocumentConfigurableUpfrontRateCardItem(v **types.C if err := awsAwsjson10_deserializeDocumentConstraints(&sv.Constraints, value); err != nil { return err } + case "rateCard": if err := awsAwsjson10_deserializeDocumentRateCardList(&sv.RateCard, value); err != nil { return err } + case "selector": if err := awsAwsjson10_deserializeDocumentSelector(&sv.Selector, value); err != nil { return err } + default: _, _ = key, value @@ -1218,6 +1240,7 @@ func awsAwsjson10_deserializeDocumentConstraints(v **types.Constraints, value in } sv.MultipleDimensionSelection = ptr.String(jtv) } + case "quantityConfiguration": if value != nil { jtv, ok := value.(string) @@ -1226,6 +1249,7 @@ func awsAwsjson10_deserializeDocumentConstraints(v **types.Constraints, value in } sv.QuantityConfiguration = ptr.String(jtv) } + default: _, _ = key, value @@ -1265,6 +1289,7 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.DimensionKey = ptr.String(jtv) } + case "dimensionValue": if value != nil { jtv, ok := value.(json.Number) @@ -1277,6 +1302,7 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.DimensionValue = int32(i64) } + default: _, _ = key, value @@ -1350,6 +1376,7 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Type = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -1358,6 +1385,7 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Url = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -1366,6 +1394,7 @@ func awsAwsjson10_deserializeDocumentDocumentItem(v **types.DocumentItem, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1439,6 +1468,7 @@ func awsAwsjson10_deserializeDocumentEstimatedCharges(v **types.EstimatedCharges } sv.AgreementValue = ptr.String(jtv) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -1447,6 +1477,7 @@ func awsAwsjson10_deserializeDocumentEstimatedCharges(v **types.EstimatedCharges } sv.CurrencyCode = ptr.String(jtv) } + default: _, _ = key, value @@ -1486,6 +1517,7 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(string) @@ -1494,10 +1526,12 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Duration = ptr.String(jtv) } + case "grants": if err := awsAwsjson10_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "price": if value != nil { jtv, ok := value.(string) @@ -1506,6 +1540,7 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Price = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -1514,6 +1549,7 @@ func awsAwsjson10_deserializeDocumentFixedUpfrontPricingTerm(v **types.FixedUpfr } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1553,10 +1589,12 @@ func awsAwsjson10_deserializeDocumentFreeTrialPricingTerm(v **types.FreeTrialPri } sv.Duration = ptr.String(jtv) } + case "grants": if err := awsAwsjson10_deserializeDocumentGrantList(&sv.Grants, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -1565,6 +1603,7 @@ func awsAwsjson10_deserializeDocumentFreeTrialPricingTerm(v **types.FreeTrialPri } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1604,6 +1643,7 @@ func awsAwsjson10_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.DimensionKey = ptr.String(jtv) } + case "maxQuantity": if value != nil { jtv, ok := value.(json.Number) @@ -1616,6 +1656,7 @@ func awsAwsjson10_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.MaxQuantity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1689,6 +1730,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -1697,6 +1739,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1732,6 +1775,7 @@ func awsAwsjson10_deserializeDocumentLegalTerm(v **types.LegalTerm, value interf if err := awsAwsjson10_deserializeDocumentDocumentList(&sv.Documents, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -1740,6 +1784,7 @@ func awsAwsjson10_deserializeDocumentLegalTerm(v **types.LegalTerm, value interf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1779,10 +1824,12 @@ func awsAwsjson10_deserializeDocumentPaymentScheduleTerm(v **types.PaymentSchedu } sv.CurrencyCode = ptr.String(jtv) } + case "schedule": if err := awsAwsjson10_deserializeDocumentScheduleList(&sv.Schedule, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -1791,6 +1838,7 @@ func awsAwsjson10_deserializeDocumentPaymentScheduleTerm(v **types.PaymentSchedu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1830,10 +1878,12 @@ func awsAwsjson10_deserializeDocumentProposalSummary(v **types.ProposalSummary, } sv.OfferId = ptr.String(jtv) } + case "resources": if err := awsAwsjson10_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -1873,6 +1923,7 @@ func awsAwsjson10_deserializeDocumentProposer(v **types.Proposer, value interfac } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -1912,6 +1963,7 @@ func awsAwsjson10_deserializeDocumentRateCardItem(v **types.RateCardItem, value } sv.DimensionKey = ptr.String(jtv) } + case "price": if value != nil { jtv, ok := value.(string) @@ -1920,6 +1972,7 @@ func awsAwsjson10_deserializeDocumentRateCardItem(v **types.RateCardItem, value } sv.Price = ptr.String(jtv) } + default: _, _ = key, value @@ -1993,6 +2046,7 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.BillingPeriod = ptr.String(jtv) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -2001,6 +2055,7 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.CurrencyCode = ptr.String(jtv) } + case "price": if value != nil { jtv, ok := value.(string) @@ -2009,6 +2064,7 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.Price = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2017,6 +2073,7 @@ func awsAwsjson10_deserializeDocumentRecurringPaymentTerm(v **types.RecurringPay } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2052,6 +2109,7 @@ func awsAwsjson10_deserializeDocumentRenewalTerm(v **types.RenewalTerm, value in if err := awsAwsjson10_deserializeDocumentRenewalTermConfiguration(&sv.Configuration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2060,6 +2118,7 @@ func awsAwsjson10_deserializeDocumentRenewalTerm(v **types.RenewalTerm, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2099,6 +2158,7 @@ func awsAwsjson10_deserializeDocumentRenewalTermConfiguration(v **types.RenewalT } sv.EnableAutoRenew = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2138,6 +2198,7 @@ func awsAwsjson10_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2146,6 +2207,7 @@ func awsAwsjson10_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2185,6 +2247,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2193,6 +2256,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2201,6 +2265,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2209,6 +2274,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -2282,6 +2348,7 @@ func awsAwsjson10_deserializeDocumentScheduleItem(v **types.ScheduleItem, value } sv.ChargeAmount = ptr.String(jtv) } + case "chargeDate": if value != nil { switch jtv := value.(type) { @@ -2297,6 +2364,7 @@ func awsAwsjson10_deserializeDocumentScheduleItem(v **types.ScheduleItem, value } } + default: _, _ = key, value @@ -2370,6 +2438,7 @@ func awsAwsjson10_deserializeDocumentSelector(v **types.Selector, value interfac } sv.Type = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2378,6 +2447,7 @@ func awsAwsjson10_deserializeDocumentSelector(v **types.Selector, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2417,6 +2487,7 @@ func awsAwsjson10_deserializeDocumentSupportTerm(v **types.SupportTerm, value in } sv.RefundPolicy = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2425,6 +2496,7 @@ func awsAwsjson10_deserializeDocumentSupportTerm(v **types.SupportTerm, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2464,6 +2536,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2472,6 +2545,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2511,10 +2585,12 @@ func awsAwsjson10_deserializeDocumentUsageBasedPricingTerm(v **types.UsageBasedP } sv.CurrencyCode = ptr.String(jtv) } + case "rateCards": if err := awsAwsjson10_deserializeDocumentUsageBasedRateCardList(&sv.RateCards, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -2523,6 +2599,7 @@ func awsAwsjson10_deserializeDocumentUsageBasedPricingTerm(v **types.UsageBasedP } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2558,6 +2635,7 @@ func awsAwsjson10_deserializeDocumentUsageBasedRateCardItem(v **types.UsageBased if err := awsAwsjson10_deserializeDocumentRateCardList(&sv.RateCard, value); err != nil { return err } + default: _, _ = key, value @@ -2627,6 +2705,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2635,6 +2714,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -2643,6 +2723,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2651,6 +2732,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2690,6 +2772,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2698,6 +2781,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2771,6 +2855,7 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } sv.AgreementDuration = ptr.String(jtv) } + case "agreementEndDate": if value != nil { switch jtv := value.(type) { @@ -2786,6 +2871,7 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } } + case "agreementStartDate": if value != nil { switch jtv := value.(type) { @@ -2801,6 +2887,7 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } } + case "type": if value != nil { jtv, ok := value.(string) @@ -2809,6 +2896,7 @@ func awsAwsjson10_deserializeDocumentValidityTerm(v **types.ValidityTerm, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2855,10 +2943,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } + case "acceptor": if err := awsAwsjson10_deserializeDocumentAcceptor(&sv.Acceptor, value); err != nil { return err } + case "agreementId": if value != nil { jtv, ok := value.(string) @@ -2867,6 +2957,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.AgreementId = ptr.String(jtv) } + case "agreementType": if value != nil { jtv, ok := value.(string) @@ -2875,6 +2966,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.AgreementType = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2890,18 +2982,22 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } + case "estimatedCharges": if err := awsAwsjson10_deserializeDocumentEstimatedCharges(&sv.EstimatedCharges, value); err != nil { return err } + case "proposalSummary": if err := awsAwsjson10_deserializeDocumentProposalSummary(&sv.ProposalSummary, value); err != nil { return err } + case "proposer": if err := awsAwsjson10_deserializeDocumentProposer(&sv.Proposer, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -2917,6 +3013,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } } + case "status": if value != nil { jtv, ok := value.(string) @@ -2925,6 +3022,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree } sv.Status = types.AgreementStatus(jtv) } + default: _, _ = key, value @@ -2960,6 +3058,7 @@ func awsAwsjson10_deserializeOpDocumentGetAgreementTermsOutput(v **GetAgreementT if err := awsAwsjson10_deserializeDocumentAcceptedTermList(&sv.AcceptedTerms, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2968,6 +3067,7 @@ func awsAwsjson10_deserializeOpDocumentGetAgreementTermsOutput(v **GetAgreementT } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3003,6 +3103,7 @@ func awsAwsjson10_deserializeOpDocumentSearchAgreementsOutput(v **SearchAgreemen if err := awsAwsjson10_deserializeDocumentAgreementViewSummaryList(&sv.AgreementViewSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3011,6 +3112,7 @@ func awsAwsjson10_deserializeOpDocumentSearchAgreementsOutput(v **SearchAgreemen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplacecatalog/deserializers.go b/service/marketplacecatalog/deserializers.go index b3e8de1e3d7..0efa77ac432 100644 --- a/service/marketplacecatalog/deserializers.go +++ b/service/marketplacecatalog/deserializers.go @@ -182,10 +182,12 @@ func awsRestjson1_deserializeOpDocumentBatchDescribeEntitiesOutput(v **BatchDesc if err := awsRestjson1_deserializeDocumentEntityDetails(&sv.EntityDetails, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +358,7 @@ func awsRestjson1_deserializeOpDocumentCancelChangeSetOutput(v **CancelChangeSet } sv.ChangeSetArn = ptr.String(jtv) } + case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -364,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentCancelChangeSetOutput(v **CancelChangeSet } sv.ChangeSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -627,6 +631,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang if err := awsRestjson1_deserializeDocumentChangeSetDescription(&sv.ChangeSet, value); err != nil { return err } + case "ChangeSetArn": if value != nil { jtv, ok := value.(string) @@ -635,6 +640,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetArn = ptr.String(jtv) } + case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -643,6 +649,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetId = ptr.String(jtv) } + case "ChangeSetName": if value != nil { jtv, ok := value.(string) @@ -651,6 +658,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.ChangeSetName = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -659,6 +667,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.EndTime = ptr.String(jtv) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -667,6 +676,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.FailureCode = types.FailureCode(jtv) } + case "FailureDescription": if value != nil { jtv, ok := value.(string) @@ -675,6 +685,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.FailureDescription = ptr.String(jtv) } + case "Intent": if value != nil { jtv, ok := value.(string) @@ -683,6 +694,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.Intent = types.Intent(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -691,6 +703,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.StartTime = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -699,6 +712,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChangeSetOutput(v **DescribeChang } sv.Status = types.ChangeStatus(jtv) } + default: _, _ = key, value @@ -869,10 +883,12 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Details = ptr.String(jtv) } + case "DetailsDocument": if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } + case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -881,6 +897,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityArn = ptr.String(jtv) } + case "EntityIdentifier": if value != nil { jtv, ok := value.(string) @@ -889,6 +906,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityIdentifier = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -897,6 +915,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityType = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -905,6 +924,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.LastModifiedDate = ptr.String(jtv) } + default: _, _ = key, value @@ -1072,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -1232,6 +1253,7 @@ func awsRestjson1_deserializeOpDocumentListChangeSetsOutput(v **ListChangeSetsOu if err := awsRestjson1_deserializeDocumentChangeSetSummaryList(&sv.ChangeSetSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1240,6 +1262,7 @@ func awsRestjson1_deserializeOpDocumentListChangeSetsOutput(v **ListChangeSetsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1403,6 +1426,7 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput if err := awsRestjson1_deserializeDocumentEntitySummaryList(&sv.EntitySummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1411,6 +1435,7 @@ func awsRestjson1_deserializeOpDocumentListEntitiesOutput(v **ListEntitiesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1578,10 +1603,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1855,6 +1882,7 @@ func awsRestjson1_deserializeOpDocumentStartChangeSetOutput(v **StartChangeSetOu } sv.ChangeSetArn = ptr.String(jtv) } + case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -1863,6 +1891,7 @@ func awsRestjson1_deserializeOpDocumentStartChangeSetOutput(v **StartChangeSetOu } sv.ChangeSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -2390,6 +2419,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2429,6 +2459,7 @@ func awsRestjson1_deserializeDocumentAmiProductSummary(v **types.AmiProductSumma } sv.ProductTitle = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2437,6 +2468,7 @@ func awsRestjson1_deserializeDocumentAmiProductSummary(v **types.AmiProductSumma } sv.Visibility = types.AmiProductVisibilityString(jtv) } + default: _, _ = key, value @@ -2476,6 +2508,7 @@ func awsRestjson1_deserializeDocumentBatchDescribeErrorDetail(v **types.BatchDes } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2484,6 +2517,7 @@ func awsRestjson1_deserializeDocumentBatchDescribeErrorDetail(v **types.BatchDes } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -2591,6 +2625,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetArn = ptr.String(jtv) } + case "ChangeSetId": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2634,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetId = ptr.String(jtv) } + case "ChangeSetName": if value != nil { jtv, ok := value.(string) @@ -2607,6 +2643,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.ChangeSetName = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -2615,10 +2652,12 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.EndTime = ptr.String(jtv) } + case "EntityIdList": if err := awsRestjson1_deserializeDocumentResourceIdList(&sv.EntityIdList, value); err != nil { return err } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -2627,6 +2666,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.FailureCode = types.FailureCode(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -2635,6 +2675,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.StartTime = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2643,6 +2684,7 @@ func awsRestjson1_deserializeDocumentChangeSetSummaryListItem(v **types.ChangeSe } sv.Status = types.ChangeStatus(jtv) } + default: _, _ = key, value @@ -2682,6 +2724,7 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.ChangeName = ptr.String(jtv) } + case "ChangeType": if value != nil { jtv, ok := value.(string) @@ -2690,6 +2733,7 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.ChangeType = ptr.String(jtv) } + case "Details": if value != nil { jtv, ok := value.(string) @@ -2698,18 +2742,22 @@ func awsRestjson1_deserializeDocumentChangeSummary(v **types.ChangeSummary, valu } sv.Details = ptr.String(jtv) } + case "DetailsDocument": if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } + case "Entity": if err := awsRestjson1_deserializeDocumentEntity(&sv.Entity, value); err != nil { return err } + case "ErrorDetailList": if err := awsRestjson1_deserializeDocumentErrorDetailList(&sv.ErrorDetailList, value); err != nil { return err } + default: _, _ = key, value @@ -2749,6 +2797,7 @@ func awsRestjson1_deserializeDocumentContainerProductSummary(v **types.Container } sv.ProductTitle = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2757,6 +2806,7 @@ func awsRestjson1_deserializeDocumentContainerProductSummary(v **types.Container } sv.Visibility = types.ContainerProductVisibilityString(jtv) } + default: _, _ = key, value @@ -2796,6 +2846,7 @@ func awsRestjson1_deserializeDocumentDataProductSummary(v **types.DataProductSum } sv.ProductTitle = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -2804,6 +2855,7 @@ func awsRestjson1_deserializeDocumentDataProductSummary(v **types.DataProductSum } sv.Visibility = types.DataProductVisibilityString(jtv) } + default: _, _ = key, value @@ -2843,6 +2895,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Identifier = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2851,6 +2904,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2886,6 +2940,7 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value if err := awsRestjson1_deserializeDocumentJsonDocumentType(&sv.DetailsDocument, value); err != nil { return err } + case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -2894,6 +2949,7 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityArn = ptr.String(jtv) } + case "EntityIdentifier": if value != nil { jtv, ok := value.(string) @@ -2902,6 +2958,7 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityIdentifier = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -2910,6 +2967,7 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.EntityType = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -2918,6 +2976,7 @@ func awsRestjson1_deserializeDocumentEntityDetail(v **types.EntityDetail, value } sv.LastModifiedDate = ptr.String(jtv) } + default: _, _ = key, value @@ -2988,14 +3047,17 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu if err := awsRestjson1_deserializeDocumentAmiProductSummary(&sv.AmiProductSummary, value); err != nil { return err } + case "ContainerProductSummary": if err := awsRestjson1_deserializeDocumentContainerProductSummary(&sv.ContainerProductSummary, value); err != nil { return err } + case "DataProductSummary": if err := awsRestjson1_deserializeDocumentDataProductSummary(&sv.DataProductSummary, value); err != nil { return err } + case "EntityArn": if value != nil { jtv, ok := value.(string) @@ -3004,6 +3066,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityArn = ptr.String(jtv) } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -3012,6 +3075,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityId = ptr.String(jtv) } + case "EntityType": if value != nil { jtv, ok := value.(string) @@ -3020,6 +3084,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.EntityType = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -3028,6 +3093,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.LastModifiedDate = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3036,18 +3102,22 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Name = ptr.String(jtv) } + case "OfferSummary": if err := awsRestjson1_deserializeDocumentOfferSummary(&sv.OfferSummary, value); err != nil { return err } + case "ResaleAuthorizationSummary": if err := awsRestjson1_deserializeDocumentResaleAuthorizationSummary(&sv.ResaleAuthorizationSummary, value); err != nil { return err } + case "SaaSProductSummary": if err := awsRestjson1_deserializeDocumentSaaSProductSummary(&sv.SaaSProductSummary, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -3056,6 +3126,7 @@ func awsRestjson1_deserializeDocumentEntitySummary(v **types.EntitySummary, valu } sv.Visibility = ptr.String(jtv) } + default: _, _ = key, value @@ -3129,6 +3200,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3137,6 +3209,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3245,6 +3318,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3328,10 +3402,12 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.AvailabilityEndDate = ptr.String(jtv) } + case "BuyerAccounts": if err := awsRestjson1_deserializeDocumentOfferBuyerAccountsList(&sv.BuyerAccounts, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3340,6 +3416,7 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.Name = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -3348,6 +3425,7 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ProductId = ptr.String(jtv) } + case "ReleaseDate": if value != nil { jtv, ok := value.(string) @@ -3356,6 +3434,7 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ReleaseDate = ptr.String(jtv) } + case "ResaleAuthorizationId": if value != nil { jtv, ok := value.(string) @@ -3364,6 +3443,7 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.ResaleAuthorizationId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3372,10 +3452,12 @@ func awsRestjson1_deserializeDocumentOfferSummary(v **types.OfferSummary, value } sv.State = types.OfferStateString(jtv) } + case "Targeting": if err := awsRestjson1_deserializeDocumentOfferTargetingList(&sv.Targeting, value); err != nil { return err } + default: _, _ = key, value @@ -3451,6 +3533,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.AvailabilityEndDate = ptr.String(jtv) } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -3459,6 +3542,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.CreatedDate = ptr.String(jtv) } + case "ManufacturerAccountId": if value != nil { jtv, ok := value.(string) @@ -3467,6 +3551,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ManufacturerAccountId = ptr.String(jtv) } + case "ManufacturerLegalName": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3560,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ManufacturerLegalName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3483,6 +3569,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.Name = ptr.String(jtv) } + case "OfferExtendedStatus": if value != nil { jtv, ok := value.(string) @@ -3491,6 +3578,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.OfferExtendedStatus = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -3499,6 +3587,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ProductId = ptr.String(jtv) } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -3507,6 +3596,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ProductName = ptr.String(jtv) } + case "ResellerAccountID": if value != nil { jtv, ok := value.(string) @@ -3515,6 +3605,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ResellerAccountID = ptr.String(jtv) } + case "ResellerLegalName": if value != nil { jtv, ok := value.(string) @@ -3523,6 +3614,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.ResellerLegalName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3531,6 +3623,7 @@ func awsRestjson1_deserializeDocumentResaleAuthorizationSummary(v **types.Resale } sv.Status = types.ResaleAuthorizationStatusString(jtv) } + default: _, _ = key, value @@ -3606,6 +3699,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3645,6 +3739,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3684,6 +3779,7 @@ func awsRestjson1_deserializeDocumentResourceNotSupportedException(v **types.Res } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3723,6 +3819,7 @@ func awsRestjson1_deserializeDocumentSaaSProductSummary(v **types.SaaSProductSum } sv.ProductTitle = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -3731,6 +3828,7 @@ func awsRestjson1_deserializeDocumentSaaSProductSummary(v **types.SaaSProductSum } sv.Visibility = types.SaaSProductVisibilityString(jtv) } + default: _, _ = key, value @@ -3770,6 +3868,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3809,6 +3908,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3817,6 +3917,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3890,6 +3991,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3929,6 +4031,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplacecommerceanalytics/deserializers.go b/service/marketplacecommerceanalytics/deserializers.go index 029c5fde41f..b05b6847fef 100644 --- a/service/marketplacecommerceanalytics/deserializers.go +++ b/service/marketplacecommerceanalytics/deserializers.go @@ -316,6 +316,7 @@ func awsAwsjson11_deserializeDocumentMarketplaceCommerceAnalyticsException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -355,6 +356,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateDataSetOutput(v **GenerateDataSet } sv.DataSetRequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -394,6 +396,7 @@ func awsAwsjson11_deserializeOpDocumentStartSupportDataExportOutput(v **StartSup } sv.DataSetRequestId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplacedeployment/deserializers.go b/service/marketplacedeployment/deserializers.go index 29eced16eeb..7cf118cce98 100644 --- a/service/marketplacedeployment/deserializers.go +++ b/service/marketplacedeployment/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +357,7 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.AgreementId = ptr.String(jtv) } + case "deploymentParameterId": if value != nil { jtv, ok := value.(string) @@ -364,6 +366,7 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.DeploymentParameterId = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -372,10 +375,12 @@ func awsRestjson1_deserializeOpDocumentPutDeploymentParameterOutput(v **PutDeplo } sv.ResourceArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -873,6 +878,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -912,6 +918,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -920,6 +927,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -959,6 +967,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -998,6 +1007,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1037,6 +1047,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1148,6 +1159,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1187,6 +1199,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.FieldName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -1195,6 +1208,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplaceentitlementservice/deserializers.go b/service/marketplaceentitlementservice/deserializers.go index fb25e5649e3..322fcc5f6ce 100644 --- a/service/marketplaceentitlementservice/deserializers.go +++ b/service/marketplaceentitlementservice/deserializers.go @@ -282,6 +282,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.CustomerIdentifier = ptr.String(jtv) } + case "Dimension": if value != nil { jtv, ok := value.(string) @@ -290,6 +291,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Dimension = ptr.String(jtv) } + case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -305,6 +307,7 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } } + case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -313,10 +316,12 @@ func awsAwsjson11_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.ProductCode = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentEntitlementValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -390,6 +395,7 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.BooleanValue = ptr.Bool(jtv) } + case "DoubleValue": if value != nil { switch jtv := value.(type) { @@ -423,6 +429,7 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } } + case "IntegerValue": if value != nil { jtv, ok := value.(json.Number) @@ -435,6 +442,7 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.IntegerValue = ptr.Int32(int32(i64)) } + case "StringValue": if value != nil { jtv, ok := value.(string) @@ -443,6 +451,7 @@ func awsAwsjson11_deserializeDocumentEntitlementValue(v **types.EntitlementValue } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -482,6 +491,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -521,6 +531,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -560,6 +571,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -595,6 +607,7 @@ func awsAwsjson11_deserializeOpDocumentGetEntitlementsOutput(v **GetEntitlements if err := awsAwsjson11_deserializeDocumentEntitlementList(&sv.Entitlements, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -603,6 +616,7 @@ func awsAwsjson11_deserializeOpDocumentGetEntitlementsOutput(v **GetEntitlements } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplacemetering/deserializers.go b/service/marketplacemetering/deserializers.go index 9bdd27b295c..93b180b792f 100644 --- a/service/marketplacemetering/deserializers.go +++ b/service/marketplacemetering/deserializers.go @@ -1182,6 +1182,7 @@ func awsAwsjson11_deserializeDocumentCustomerNotEntitledException(v **types.Cust } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1221,6 +1222,7 @@ func awsAwsjson11_deserializeDocumentDisabledApiException(v **types.DisabledApiE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1260,6 +1262,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequestException(v **types.Duplica } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1299,6 +1302,7 @@ func awsAwsjson11_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1338,6 +1342,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1377,6 +1382,7 @@ func awsAwsjson11_deserializeDocumentInvalidCustomerIdentifierException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1416,6 +1422,7 @@ func awsAwsjson11_deserializeDocumentInvalidEndpointRegionException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1455,6 +1462,7 @@ func awsAwsjson11_deserializeDocumentInvalidProductCodeException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1494,6 +1502,7 @@ func awsAwsjson11_deserializeDocumentInvalidPublicKeyVersionException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1533,6 +1542,7 @@ func awsAwsjson11_deserializeDocumentInvalidRegionException(v **types.InvalidReg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1572,6 +1582,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1611,6 +1622,7 @@ func awsAwsjson11_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1650,6 +1662,7 @@ func awsAwsjson11_deserializeDocumentInvalidUsageAllocationsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1689,6 +1702,7 @@ func awsAwsjson11_deserializeDocumentInvalidUsageDimensionException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1728,6 +1742,7 @@ func awsAwsjson11_deserializeDocumentPlatformNotSupportedException(v **types.Pla } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1767,6 +1782,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1775,6 +1791,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1848,6 +1865,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1887,6 +1905,7 @@ func awsAwsjson11_deserializeDocumentTimestampOutOfBoundsException(v **types.Tim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1930,10 +1949,12 @@ func awsAwsjson11_deserializeDocumentUsageAllocation(v **types.UsageAllocation, } sv.AllocatedUsageQuantity = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2007,6 +2028,7 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.CustomerIdentifier = ptr.String(jtv) } + case "Dimension": if value != nil { jtv, ok := value.(string) @@ -2015,6 +2037,7 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.Dimension = ptr.String(jtv) } + case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -2027,6 +2050,7 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } sv.Quantity = ptr.Int32(int32(i64)) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -2042,10 +2066,12 @@ func awsAwsjson11_deserializeDocumentUsageRecord(v **types.UsageRecord, value in } } + case "UsageAllocations": if err := awsAwsjson11_deserializeDocumentUsageAllocations(&sv.UsageAllocations, value); err != nil { return err } + default: _, _ = key, value @@ -2119,6 +2145,7 @@ func awsAwsjson11_deserializeDocumentUsageRecordResult(v **types.UsageRecordResu } sv.MeteringRecordId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2127,10 +2154,12 @@ func awsAwsjson11_deserializeDocumentUsageRecordResult(v **types.UsageRecordResu } sv.Status = types.UsageRecordResultStatus(jtv) } + case "UsageRecord": if err := awsAwsjson11_deserializeDocumentUsageRecord(&sv.UsageRecord, value); err != nil { return err } + default: _, _ = key, value @@ -2200,10 +2229,12 @@ func awsAwsjson11_deserializeOpDocumentBatchMeterUsageOutput(v **BatchMeterUsage if err := awsAwsjson11_deserializeDocumentUsageRecordResultList(&sv.Results, value); err != nil { return err } + case "UnprocessedRecords": if err := awsAwsjson11_deserializeDocumentUsageRecordList(&sv.UnprocessedRecords, value); err != nil { return err } + default: _, _ = key, value @@ -2243,6 +2274,7 @@ func awsAwsjson11_deserializeOpDocumentMeterUsageOutput(v **MeterUsageOutput, va } sv.MeteringRecordId = ptr.String(jtv) } + default: _, _ = key, value @@ -2289,6 +2321,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterUsageOutput(v **RegisterUsageOutp } } + case "Signature": if value != nil { jtv, ok := value.(string) @@ -2297,6 +2330,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterUsageOutput(v **RegisterUsageOutp } sv.Signature = ptr.String(jtv) } + default: _, _ = key, value @@ -2336,6 +2370,7 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.CustomerAWSAccountId = ptr.String(jtv) } + case "CustomerIdentifier": if value != nil { jtv, ok := value.(string) @@ -2344,6 +2379,7 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.CustomerIdentifier = ptr.String(jtv) } + case "ProductCode": if value != nil { jtv, ok := value.(string) @@ -2352,6 +2388,7 @@ func awsAwsjson11_deserializeOpDocumentResolveCustomerOutput(v **ResolveCustomer } sv.ProductCode = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/marketplacereporting/deserializers.go b/service/marketplacereporting/deserializers.go index 489f6b90a8c..985fa3e28fe 100644 --- a/service/marketplacereporting/deserializers.go +++ b/service/marketplacereporting/deserializers.go @@ -184,10 +184,12 @@ func awsRestjson1_deserializeOpDocumentGetBuyerDashboardOutput(v **GetBuyerDashb } sv.DashboardIdentifier = ptr.String(jtv) } + case "embeddingDomains": if err := awsRestjson1_deserializeDocumentEmbeddingDomains(&sv.EmbeddingDomains, value); err != nil { return err } + case "embedUrl": if value != nil { jtv, ok := value.(string) @@ -196,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentGetBuyerDashboardOutput(v **GetBuyerDashb } sv.EmbedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -379,6 +382,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -418,6 +422,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -493,6 +498,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -532,6 +538,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mediaconnect/deserializers.go b/service/mediaconnect/deserializers.go index 44a28708099..d22c135acce 100644 --- a/service/mediaconnect/deserializers.go +++ b/service/mediaconnect/deserializers.go @@ -195,10 +195,12 @@ func awsRestjson1_deserializeOpDocumentAddBridgeOutputsOutput(v **AddBridgeOutpu } sv.BridgeArn = ptr.String(jtv) } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfBridgeOutput(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -372,10 +374,12 @@ func awsRestjson1_deserializeOpDocumentAddBridgeSourcesOutput(v **AddBridgeSourc } sv.BridgeArn = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocument__listOfBridgeSource(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -546,10 +550,12 @@ func awsRestjson1_deserializeOpDocumentAddFlowMediaStreamsOutput(v **AddFlowMedi } sv.FlowArn = ptr.String(jtv) } + case "mediaStreams": if err := awsRestjson1_deserializeDocument__listOfMediaStream(&sv.MediaStreams, value); err != nil { return err } + default: _, _ = key, value @@ -723,10 +729,12 @@ func awsRestjson1_deserializeOpDocumentAddFlowOutputsOutput(v **AddFlowOutputsOu } sv.FlowArn = ptr.String(jtv) } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -897,10 +905,12 @@ func awsRestjson1_deserializeOpDocumentAddFlowSourcesOutput(v **AddFlowSourcesOu } sv.FlowArn = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocument__listOfSource(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -1071,10 +1081,12 @@ func awsRestjson1_deserializeOpDocumentAddFlowVpcInterfacesOutput(v **AddFlowVpc } sv.FlowArn = ptr.String(jtv) } + case "vpcInterfaces": if err := awsRestjson1_deserializeDocument__listOfVpcInterface(&sv.VpcInterfaces, value); err != nil { return err } + default: _, _ = key, value @@ -1244,6 +1256,7 @@ func awsRestjson1_deserializeOpDocumentCreateBridgeOutput(v **CreateBridgeOutput if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } + default: _, _ = key, value @@ -1410,6 +1423,7 @@ func awsRestjson1_deserializeOpDocumentCreateFlowOutput(v **CreateFlowOutput, va if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } + default: _, _ = key, value @@ -1579,6 +1593,7 @@ func awsRestjson1_deserializeOpDocumentCreateGatewayOutput(v **CreateGatewayOutp if err := awsRestjson1_deserializeDocumentGateway(&sv.Gateway, value); err != nil { return err } + default: _, _ = key, value @@ -1752,6 +1767,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBridgeOutput(v **DeleteBridgeOutput } sv.BridgeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1922,6 +1938,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.FlowArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1930,6 +1947,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFlowOutput(v **DeleteFlowOutput, va } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -2103,6 +2121,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2276,6 +2295,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterGatewayInstanceOutput(v **Dereg } sv.GatewayInstanceArn = ptr.String(jtv) } + case "instanceState": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2304,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterGatewayInstanceOutput(v **Dereg } sv.InstanceState = types.InstanceState(jtv) } + default: _, _ = key, value @@ -2453,6 +2474,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBridgeOutput(v **DescribeBridgeOu if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } + default: _, _ = key, value @@ -2619,10 +2641,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowOutput(v **DescribeFlowOutput if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } + case "messages": if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } + default: _, _ = key, value @@ -2793,10 +2817,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceMetadataOutput(v **Desc } sv.FlowArn = ptr.String(jtv) } + case "messages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.Messages, value); err != nil { return err } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -2809,10 +2835,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceMetadataOutput(v **Desc } sv.Timestamp = ptr.Time(t) } + case "transportMediaInfo": if err := awsRestjson1_deserializeDocumentTransportMediaInfo(&sv.TransportMediaInfo, value); err != nil { return err } + default: _, _ = key, value @@ -2979,6 +3007,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFlowSourceThumbnailOutput(v **Des if err := awsRestjson1_deserializeDocumentThumbnailDetails(&sv.ThumbnailDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3148,6 +3177,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayOutput(v **DescribeGateway if err := awsRestjson1_deserializeDocumentGateway(&sv.Gateway, value); err != nil { return err } + default: _, _ = key, value @@ -3317,6 +3347,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGatewayInstanceOutput(v **Describ if err := awsRestjson1_deserializeDocumentGatewayInstance(&sv.GatewayInstance, value); err != nil { return err } + default: _, _ = key, value @@ -3480,6 +3511,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi if err := awsRestjson1_deserializeDocumentOffering(&sv.Offering, value); err != nil { return err } + default: _, _ = key, value @@ -3643,6 +3675,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } + default: _, _ = key, value @@ -3812,6 +3845,7 @@ func awsRestjson1_deserializeOpDocumentGrantFlowEntitlementsOutput(v **GrantFlow if err := awsRestjson1_deserializeDocument__listOfEntitlement(&sv.Entitlements, value); err != nil { return err } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -3820,6 +3854,7 @@ func awsRestjson1_deserializeOpDocumentGrantFlowEntitlementsOutput(v **GrantFlow } sv.FlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3983,6 +4018,7 @@ func awsRestjson1_deserializeOpDocumentListBridgesOutput(v **ListBridgesOutput, if err := awsRestjson1_deserializeDocument__listOfListedBridge(&sv.Bridges, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3991,6 +4027,7 @@ func awsRestjson1_deserializeOpDocumentListBridgesOutput(v **ListBridgesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4151,6 +4188,7 @@ func awsRestjson1_deserializeOpDocumentListEntitlementsOutput(v **ListEntitlemen if err := awsRestjson1_deserializeDocument__listOfListedEntitlement(&sv.Entitlements, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4159,6 +4197,7 @@ func awsRestjson1_deserializeOpDocumentListEntitlementsOutput(v **ListEntitlemen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4319,6 +4358,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu if err := awsRestjson1_deserializeDocument__listOfListedFlow(&sv.Flows, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4327,6 +4367,7 @@ func awsRestjson1_deserializeOpDocumentListFlowsOutput(v **ListFlowsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4490,6 +4531,7 @@ func awsRestjson1_deserializeOpDocumentListGatewayInstancesOutput(v **ListGatewa if err := awsRestjson1_deserializeDocument__listOfListedGatewayInstance(&sv.Instances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4498,6 +4540,7 @@ func awsRestjson1_deserializeOpDocumentListGatewayInstancesOutput(v **ListGatewa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4661,6 +4704,7 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsRestjson1_deserializeDocument__listOfListedGateway(&sv.Gateways, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4669,6 +4713,7 @@ func awsRestjson1_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4833,10 +4878,12 @@ func awsRestjson1_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } + case "offerings": if err := awsRestjson1_deserializeDocument__listOfOffering(&sv.Offerings, value); err != nil { return err } + default: _, _ = key, value @@ -5001,10 +5048,12 @@ func awsRestjson1_deserializeOpDocumentListReservationsOutput(v **ListReservatio } sv.NextToken = ptr.String(jtv) } + case "reservations": if err := awsRestjson1_deserializeDocument__listOfReservation(&sv.Reservations, value); err != nil { return err } + default: _, _ = key, value @@ -5162,6 +5211,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5328,6 +5378,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } + default: _, _ = key, value @@ -5501,6 +5552,7 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeOutputOutput(v **RemoveBridge } sv.BridgeArn = ptr.String(jtv) } + case "outputName": if value != nil { jtv, ok := value.(string) @@ -5509,6 +5561,7 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeOutputOutput(v **RemoveBridge } sv.OutputName = ptr.String(jtv) } + default: _, _ = key, value @@ -5682,6 +5735,7 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeSourceOutput(v **RemoveBridge } sv.BridgeArn = ptr.String(jtv) } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5690,6 +5744,7 @@ func awsRestjson1_deserializeOpDocumentRemoveBridgeSourceOutput(v **RemoveBridge } sv.SourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5860,6 +5915,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowMediaStreamOutput(v **RemoveFlo } sv.FlowArn = ptr.String(jtv) } + case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -5868,6 +5924,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowMediaStreamOutput(v **RemoveFlo } sv.MediaStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -6038,6 +6095,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowOutputOutput(v **RemoveFlowOutp } sv.FlowArn = ptr.String(jtv) } + case "outputArn": if value != nil { jtv, ok := value.(string) @@ -6046,6 +6104,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowOutputOutput(v **RemoveFlowOutp } sv.OutputArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6216,6 +6275,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowSourceOutput(v **RemoveFlowSour } sv.FlowArn = ptr.String(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -6224,6 +6284,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowSourceOutput(v **RemoveFlowSour } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6394,10 +6455,12 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowVpcInterfaceOutput(v **RemoveFl } sv.FlowArn = ptr.String(jtv) } + case "nonDeletedNetworkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NonDeletedNetworkInterfaceIds, value); err != nil { return err } + case "vpcInterfaceName": if value != nil { jtv, ok := value.(string) @@ -6406,6 +6469,7 @@ func awsRestjson1_deserializeOpDocumentRemoveFlowVpcInterfaceOutput(v **RemoveFl } sv.VpcInterfaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6576,6 +6640,7 @@ func awsRestjson1_deserializeOpDocumentRevokeFlowEntitlementOutput(v **RevokeFlo } sv.EntitlementArn = ptr.String(jtv) } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -6584,6 +6649,7 @@ func awsRestjson1_deserializeOpDocumentRevokeFlowEntitlementOutput(v **RevokeFlo } sv.FlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6754,6 +6820,7 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.FlowArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6762,6 +6829,7 @@ func awsRestjson1_deserializeOpDocumentStartFlowOutput(v **StartFlowOutput, valu } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -6932,6 +7000,7 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.FlowArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6940,6 +7009,7 @@ func awsRestjson1_deserializeOpDocumentStopFlowOutput(v **StopFlowOutput, value } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -7309,6 +7379,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeOutput(v **UpdateBridgeOutput if err := awsRestjson1_deserializeDocumentBridge(&sv.Bridge, value); err != nil { return err } + default: _, _ = key, value @@ -7482,10 +7553,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeOutputOutput(v **UpdateBridge } sv.BridgeArn = ptr.String(jtv) } + case "output": if err := awsRestjson1_deserializeDocumentBridgeOutput(&sv.Output, value); err != nil { return err } + default: _, _ = key, value @@ -7659,10 +7732,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeSourceOutput(v **UpdateBridge } sv.BridgeArn = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentBridgeSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -7836,6 +7911,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeStateOutput(v **UpdateBridgeS } sv.BridgeArn = ptr.String(jtv) } + case "desiredState": if value != nil { jtv, ok := value.(string) @@ -7844,6 +7920,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBridgeStateOutput(v **UpdateBridgeS } sv.DesiredState = types.DesiredState(jtv) } + default: _, _ = key, value @@ -8010,6 +8087,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutput(v **UpdateFlowOutput, va if err := awsRestjson1_deserializeDocumentFlow(&sv.Flow, value); err != nil { return err } + default: _, _ = key, value @@ -8176,6 +8254,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowEntitlementOutput(v **UpdateFlo if err := awsRestjson1_deserializeDocumentEntitlement(&sv.Entitlement, value); err != nil { return err } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -8184,6 +8263,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowEntitlementOutput(v **UpdateFlo } sv.FlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8354,10 +8434,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowMediaStreamOutput(v **UpdateFlo } sv.FlowArn = ptr.String(jtv) } + case "mediaStream": if err := awsRestjson1_deserializeDocumentMediaStream(&sv.MediaStream, value); err != nil { return err } + default: _, _ = key, value @@ -8528,10 +8610,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowOutputOutput(v **UpdateFlowOutp } sv.FlowArn = ptr.String(jtv) } + case "output": if err := awsRestjson1_deserializeDocumentOutput(&sv.Output, value); err != nil { return err } + default: _, _ = key, value @@ -8702,10 +8786,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFlowSourceOutput(v **UpdateFlowSour } sv.FlowArn = ptr.String(jtv) } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -8879,6 +8965,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayInstanceOutput(v **UpdateGat } sv.BridgePlacement = types.BridgePlacement(jtv) } + case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -8887,6 +8974,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGatewayInstanceOutput(v **UpdateGat } sv.GatewayInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10218,6 +10306,7 @@ func awsRestjson1_deserializeDocumentAddFlowOutputs420Exception(v **types.AddFlo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10257,6 +10346,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10296,10 +10386,12 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.BridgeArn = ptr.String(jtv) } + case "bridgeMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.BridgeMessages, value); err != nil { return err } + case "bridgeState": if value != nil { jtv, ok := value.(string) @@ -10308,14 +10400,17 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.BridgeState = types.BridgeState(jtv) } + case "egressGatewayBridge": if err := awsRestjson1_deserializeDocumentEgressGatewayBridge(&sv.EgressGatewayBridge, value); err != nil { return err } + case "ingressGatewayBridge": if err := awsRestjson1_deserializeDocumentIngressGatewayBridge(&sv.IngressGatewayBridge, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10324,10 +10419,12 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.Name = ptr.String(jtv) } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfBridgeOutput(&sv.Outputs, value); err != nil { return err } + case "placementArn": if value != nil { jtv, ok := value.(string) @@ -10336,14 +10433,17 @@ func awsRestjson1_deserializeDocumentBridge(v **types.Bridge, value interface{}) } sv.PlacementArn = ptr.String(jtv) } + case "sourceFailoverConfig": if err := awsRestjson1_deserializeDocumentFailoverConfig(&sv.SourceFailoverConfig, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocument__listOfBridgeSource(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -10383,6 +10483,7 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.FlowArn = ptr.String(jtv) } + case "flowSourceArn": if value != nil { jtv, ok := value.(string) @@ -10391,6 +10492,7 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.FlowSourceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10399,6 +10501,7 @@ func awsRestjson1_deserializeDocumentBridgeFlowOutput(v **types.BridgeFlowOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10438,10 +10541,12 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.FlowArn = ptr.String(jtv) } + case "flowVpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.FlowVpcInterfaceAttachment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10450,6 +10555,7 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.Name = ptr.String(jtv) } + case "outputArn": if value != nil { jtv, ok := value.(string) @@ -10458,6 +10564,7 @@ func awsRestjson1_deserializeDocumentBridgeFlowSource(v **types.BridgeFlowSource } sv.OutputArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10497,6 +10604,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.IpAddress = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10505,6 +10613,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Name = ptr.String(jtv) } + case "networkName": if value != nil { jtv, ok := value.(string) @@ -10513,6 +10622,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.NetworkName = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10525,6 +10635,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -10533,6 +10644,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Protocol = types.Protocol(jtv) } + case "ttl": if value != nil { jtv, ok := value.(json.Number) @@ -10545,6 +10657,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkOutput(v **types.BridgeNetwork } sv.Ttl = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10584,6 +10697,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.MulticastIp = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10592,6 +10706,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Name = ptr.String(jtv) } + case "networkName": if value != nil { jtv, ok := value.(string) @@ -10600,6 +10715,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.NetworkName = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10612,6 +10728,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -10620,6 +10737,7 @@ func awsRestjson1_deserializeDocumentBridgeNetworkSource(v **types.BridgeNetwork } sv.Protocol = types.Protocol(jtv) } + default: _, _ = key, value @@ -10655,10 +10773,12 @@ func awsRestjson1_deserializeDocumentBridgeOutput(v **types.BridgeOutput, value if err := awsRestjson1_deserializeDocumentBridgeFlowOutput(&sv.FlowOutput, value); err != nil { return err } + case "networkOutput": if err := awsRestjson1_deserializeDocumentBridgeNetworkOutput(&sv.NetworkOutput, value); err != nil { return err } + default: _, _ = key, value @@ -10694,10 +10814,12 @@ func awsRestjson1_deserializeDocumentBridgeSource(v **types.BridgeSource, value if err := awsRestjson1_deserializeDocumentBridgeFlowSource(&sv.FlowSource, value); err != nil { return err } + case "networkSource": if err := awsRestjson1_deserializeDocumentBridgeNetworkSource(&sv.NetworkSource, value); err != nil { return err } + default: _, _ = key, value @@ -10737,6 +10859,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10776,6 +10899,7 @@ func awsRestjson1_deserializeDocumentCreateBridge420Exception(v **types.CreateBr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10815,6 +10939,7 @@ func awsRestjson1_deserializeDocumentCreateFlow420Exception(v **types.CreateFlow } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10854,6 +10979,7 @@ func awsRestjson1_deserializeDocumentCreateGateway420Exception(v **types.CreateG } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10893,6 +11019,7 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.DestinationIp = ptr.String(jtv) } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -10905,10 +11032,12 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "interface": if err := awsRestjson1_deserializeDocumentInterface(&sv.Interface, value); err != nil { return err } + case "outboundIp": if value != nil { jtv, ok := value.(string) @@ -10917,6 +11046,7 @@ func awsRestjson1_deserializeDocumentDestinationConfiguration(v **types.Destinat } sv.OutboundIp = ptr.String(jtv) } + default: _, _ = key, value @@ -10956,6 +11086,7 @@ func awsRestjson1_deserializeDocumentEgressGatewayBridge(v **types.EgressGateway } sv.InstanceId = ptr.String(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -10968,6 +11099,7 @@ func awsRestjson1_deserializeDocumentEgressGatewayBridge(v **types.EgressGateway } sv.MaxBitrate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11032,6 +11164,7 @@ func awsRestjson1_deserializeDocumentEncodingParameters(v **types.EncodingParame } } + case "encoderProfile": if value != nil { jtv, ok := value.(string) @@ -11040,6 +11173,7 @@ func awsRestjson1_deserializeDocumentEncodingParameters(v **types.EncodingParame } sv.EncoderProfile = types.EncoderProfile(jtv) } + default: _, _ = key, value @@ -11079,6 +11213,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Algorithm = types.Algorithm(jtv) } + case "constantInitializationVector": if value != nil { jtv, ok := value.(string) @@ -11087,6 +11222,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ConstantInitializationVector = ptr.String(jtv) } + case "deviceId": if value != nil { jtv, ok := value.(string) @@ -11095,6 +11231,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.DeviceId = ptr.String(jtv) } + case "keyType": if value != nil { jtv, ok := value.(string) @@ -11103,6 +11240,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyType = types.KeyType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -11111,6 +11249,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Region = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11119,6 +11258,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ResourceId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11267,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.RoleArn = ptr.String(jtv) } + case "secretArn": if value != nil { jtv, ok := value.(string) @@ -11135,6 +11276,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.SecretArn = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -11143,6 +11285,7 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -11186,6 +11329,7 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11194,10 +11338,12 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Description = ptr.String(jtv) } + case "encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -11206,6 +11352,7 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.EntitlementArn = ptr.String(jtv) } + case "entitlementStatus": if value != nil { jtv, ok := value.(string) @@ -11214,6 +11361,7 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.EntitlementStatus = types.EntitlementStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11222,10 +11370,12 @@ func awsRestjson1_deserializeDocumentEntitlement(v **types.Entitlement, value in } sv.Name = ptr.String(jtv) } + case "subscribers": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Subscribers, value); err != nil { return err } + default: _, _ = key, value @@ -11265,6 +11415,7 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.FailoverMode = types.FailoverMode(jtv) } + case "recoveryWindow": if value != nil { jtv, ok := value.(json.Number) @@ -11277,10 +11428,12 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.RecoveryWindow = ptr.Int32(int32(i64)) } + case "sourcePriority": if err := awsRestjson1_deserializeDocumentSourcePriority(&sv.SourcePriority, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -11289,6 +11442,7 @@ func awsRestjson1_deserializeDocumentFailoverConfig(v **types.FailoverConfig, va } sv.State = types.State(jtv) } + default: _, _ = key, value @@ -11328,6 +11482,7 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11336,6 +11491,7 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Description = ptr.String(jtv) } + case "egressIp": if value != nil { jtv, ok := value.(string) @@ -11344,10 +11500,12 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.EgressIp = ptr.String(jtv) } + case "entitlements": if err := awsRestjson1_deserializeDocument__listOfEntitlement(&sv.Entitlements, value); err != nil { return err } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -11356,14 +11514,17 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.FlowArn = ptr.String(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenance(&sv.Maintenance, value); err != nil { return err } + case "mediaStreams": if err := awsRestjson1_deserializeDocument__listOfMediaStream(&sv.MediaStreams, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11372,26 +11533,32 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Name = ptr.String(jtv) } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "sourceFailoverConfig": if err := awsRestjson1_deserializeDocumentFailoverConfig(&sv.SourceFailoverConfig, value); err != nil { return err } + case "sourceMonitoringConfig": if err := awsRestjson1_deserializeDocumentMonitoringConfig(&sv.SourceMonitoringConfig, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocument__listOfSource(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11400,10 +11567,12 @@ func awsRestjson1_deserializeDocumentFlow(v **types.Flow, value interface{}) err } sv.Status = types.Status(jtv) } + case "vpcInterfaces": if err := awsRestjson1_deserializeDocument__listOfVpcInterface(&sv.VpcInterfaces, value); err != nil { return err } + default: _, _ = key, value @@ -11443,6 +11612,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ChannelOrder = ptr.String(jtv) } + case "colorimetry": if value != nil { jtv, ok := value.(string) @@ -11451,6 +11621,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Colorimetry = types.Colorimetry(jtv) } + case "exactFramerate": if value != nil { jtv, ok := value.(string) @@ -11459,6 +11630,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ExactFramerate = ptr.String(jtv) } + case "par": if value != nil { jtv, ok := value.(string) @@ -11467,6 +11639,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Par = ptr.String(jtv) } + case "range": if value != nil { jtv, ok := value.(string) @@ -11475,6 +11648,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Range = types.Range(jtv) } + case "scanMode": if value != nil { jtv, ok := value.(string) @@ -11483,6 +11657,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.ScanMode = types.ScanMode(jtv) } + case "tcs": if value != nil { jtv, ok := value.(string) @@ -11491,6 +11666,7 @@ func awsRestjson1_deserializeDocumentFmtp(v **types.Fmtp, value interface{}) err } sv.Tcs = types.Tcs(jtv) } + default: _, _ = key, value @@ -11530,6 +11706,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11573,6 +11750,7 @@ func awsRestjson1_deserializeDocumentFrameResolution(v **types.FrameResolution, } sv.FrameHeight = ptr.Int32(int32(i64)) } + case "frameWidth": if value != nil { jtv, ok := value.(json.Number) @@ -11585,6 +11763,7 @@ func awsRestjson1_deserializeDocumentFrameResolution(v **types.FrameResolution, } sv.FrameWidth = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11620,6 +11799,7 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ if err := awsRestjson1_deserializeDocument__listOf__string(&sv.EgressCidrBlocks, value); err != nil { return err } + case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -11628,10 +11808,12 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayArn = ptr.String(jtv) } + case "gatewayMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.GatewayMessages, value); err != nil { return err } + case "gatewayState": if value != nil { jtv, ok := value.(string) @@ -11640,6 +11822,7 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.GatewayState = types.GatewayState(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11648,10 +11831,12 @@ func awsRestjson1_deserializeDocumentGateway(v **types.Gateway, value interface{ } sv.Name = ptr.String(jtv) } + case "networks": if err := awsRestjson1_deserializeDocument__listOfGatewayNetwork(&sv.Networks, value); err != nil { return err } + default: _, _ = key, value @@ -11691,10 +11876,12 @@ func awsRestjson1_deserializeDocumentGatewayBridgeSource(v **types.GatewayBridge } sv.BridgeArn = ptr.String(jtv) } + case "vpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.VpcInterfaceAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -11734,6 +11921,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.BridgePlacement = types.BridgePlacement(jtv) } + case "connectionStatus": if value != nil { jtv, ok := value.(string) @@ -11742,6 +11930,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.ConnectionStatus = types.ConnectionStatus(jtv) } + case "gatewayArn": if value != nil { jtv, ok := value.(string) @@ -11750,6 +11939,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.GatewayArn = ptr.String(jtv) } + case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -11758,6 +11948,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.GatewayInstanceArn = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -11766,10 +11957,12 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.InstanceId = ptr.String(jtv) } + case "instanceMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.InstanceMessages, value); err != nil { return err } + case "instanceState": if value != nil { jtv, ok := value.(string) @@ -11778,6 +11971,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.InstanceState = types.InstanceState(jtv) } + case "runningBridgeCount": if value != nil { jtv, ok := value.(json.Number) @@ -11790,6 +11984,7 @@ func awsRestjson1_deserializeDocumentGatewayInstance(v **types.GatewayInstance, } sv.RunningBridgeCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11829,6 +12024,7 @@ func awsRestjson1_deserializeDocumentGatewayNetwork(v **types.GatewayNetwork, va } sv.CidrBlock = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11837,6 +12033,7 @@ func awsRestjson1_deserializeDocumentGatewayNetwork(v **types.GatewayNetwork, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11876,6 +12073,7 @@ func awsRestjson1_deserializeDocumentGrantFlowEntitlements420Exception(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11915,6 +12113,7 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.InstanceId = ptr.String(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -11927,6 +12126,7 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "maxOutputs": if value != nil { jtv, ok := value.(json.Number) @@ -11939,6 +12139,7 @@ func awsRestjson1_deserializeDocumentIngressGatewayBridge(v **types.IngressGatew } sv.MaxOutputs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11978,6 +12179,7 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputIp = ptr.String(jtv) } + case "inputPort": if value != nil { jtv, ok := value.(json.Number) @@ -11990,10 +12192,12 @@ func awsRestjson1_deserializeDocumentInputConfiguration(v **types.InputConfigura } sv.InputPort = ptr.Int32(int32(i64)) } + case "interface": if err := awsRestjson1_deserializeDocumentInterface(&sv.Interface, value); err != nil { return err } + default: _, _ = key, value @@ -12033,6 +12237,7 @@ func awsRestjson1_deserializeDocumentInterface(v **types.Interface, value interf } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12072,6 +12277,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12111,6 +12317,7 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeArn = ptr.String(jtv) } + case "bridgeState": if value != nil { jtv, ok := value.(string) @@ -12119,6 +12326,7 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeState = types.BridgeState(jtv) } + case "bridgeType": if value != nil { jtv, ok := value.(string) @@ -12127,6 +12335,7 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.BridgeType = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12135,6 +12344,7 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.Name = ptr.String(jtv) } + case "placementArn": if value != nil { jtv, ok := value.(string) @@ -12143,6 +12353,7 @@ func awsRestjson1_deserializeDocumentListedBridge(v **types.ListedBridge, value } sv.PlacementArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12186,6 +12397,7 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } + case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -12194,6 +12406,7 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.EntitlementArn = ptr.String(jtv) } + case "entitlementName": if value != nil { jtv, ok := value.(string) @@ -12202,6 +12415,7 @@ func awsRestjson1_deserializeDocumentListedEntitlement(v **types.ListedEntitleme } sv.EntitlementName = ptr.String(jtv) } + default: _, _ = key, value @@ -12241,6 +12455,7 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.AvailabilityZone = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12249,6 +12464,7 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Description = ptr.String(jtv) } + case "flowArn": if value != nil { jtv, ok := value.(string) @@ -12257,10 +12473,12 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.FlowArn = ptr.String(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenance(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12269,6 +12487,7 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Name = ptr.String(jtv) } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -12277,6 +12496,7 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.SourceType = types.SourceType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12285,6 +12505,7 @@ func awsRestjson1_deserializeDocumentListedFlow(v **types.ListedFlow, value inte } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -12324,6 +12545,7 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.GatewayArn = ptr.String(jtv) } + case "gatewayState": if value != nil { jtv, ok := value.(string) @@ -12332,6 +12554,7 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.GatewayState = types.GatewayState(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12340,6 +12563,7 @@ func awsRestjson1_deserializeDocumentListedGateway(v **types.ListedGateway, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12379,6 +12603,7 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.GatewayArn = ptr.String(jtv) } + case "gatewayInstanceArn": if value != nil { jtv, ok := value.(string) @@ -12387,6 +12612,7 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.GatewayInstanceArn = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -12395,6 +12621,7 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.InstanceId = ptr.String(jtv) } + case "instanceState": if value != nil { jtv, ok := value.(string) @@ -12403,6 +12630,7 @@ func awsRestjson1_deserializeDocumentListedGatewayInstance(v **types.ListedGatew } sv.InstanceState = types.InstanceState(jtv) } + default: _, _ = key, value @@ -12442,6 +12670,7 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceDay = types.MaintenanceDay(jtv) } + case "maintenanceDeadline": if value != nil { jtv, ok := value.(string) @@ -12450,6 +12679,7 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceDeadline = ptr.String(jtv) } + case "maintenanceScheduledDate": if value != nil { jtv, ok := value.(string) @@ -12458,6 +12688,7 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceScheduledDate = ptr.String(jtv) } + case "maintenanceStartHour": if value != nil { jtv, ok := value.(string) @@ -12466,6 +12697,7 @@ func awsRestjson1_deserializeDocumentMaintenance(v **types.Maintenance, value in } sv.MaintenanceStartHour = ptr.String(jtv) } + default: _, _ = key, value @@ -12501,6 +12733,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in if err := awsRestjson1_deserializeDocumentMediaStreamAttributes(&sv.Attributes, value); err != nil { return err } + case "clockRate": if value != nil { jtv, ok := value.(json.Number) @@ -12513,6 +12746,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.ClockRate = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12521,6 +12755,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.Description = ptr.String(jtv) } + case "fmt": if value != nil { jtv, ok := value.(json.Number) @@ -12533,6 +12768,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.Fmt = ptr.Int32(int32(i64)) } + case "mediaStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -12545,6 +12781,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamId = ptr.Int32(int32(i64)) } + case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -12553,6 +12790,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamName = ptr.String(jtv) } + case "mediaStreamType": if value != nil { jtv, ok := value.(string) @@ -12561,6 +12799,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.MediaStreamType = types.MediaStreamType(jtv) } + case "videoFormat": if value != nil { jtv, ok := value.(string) @@ -12569,6 +12808,7 @@ func awsRestjson1_deserializeDocumentMediaStream(v **types.MediaStream, value in } sv.VideoFormat = ptr.String(jtv) } + default: _, _ = key, value @@ -12604,6 +12844,7 @@ func awsRestjson1_deserializeDocumentMediaStreamAttributes(v **types.MediaStream if err := awsRestjson1_deserializeDocumentFmtp(&sv.Fmtp, value); err != nil { return err } + case "lang": if value != nil { jtv, ok := value.(string) @@ -12612,6 +12853,7 @@ func awsRestjson1_deserializeDocumentMediaStreamAttributes(v **types.MediaStream } sv.Lang = ptr.String(jtv) } + default: _, _ = key, value @@ -12647,6 +12889,7 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me if err := awsRestjson1_deserializeDocument__listOfDestinationConfiguration(&sv.DestinationConfigurations, value); err != nil { return err } + case "encodingName": if value != nil { jtv, ok := value.(string) @@ -12655,10 +12898,12 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me } sv.EncodingName = types.EncodingName(jtv) } + case "encodingParameters": if err := awsRestjson1_deserializeDocumentEncodingParameters(&sv.EncodingParameters, value); err != nil { return err } + case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -12667,6 +12912,7 @@ func awsRestjson1_deserializeDocumentMediaStreamOutputConfiguration(v **types.Me } sv.MediaStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -12706,10 +12952,12 @@ func awsRestjson1_deserializeDocumentMediaStreamSourceConfiguration(v **types.Me } sv.EncodingName = types.EncodingName(jtv) } + case "inputConfigurations": if err := awsRestjson1_deserializeDocument__listOfInputConfiguration(&sv.InputConfigurations, value); err != nil { return err } + case "mediaStreamName": if value != nil { jtv, ok := value.(string) @@ -12718,6 +12966,7 @@ func awsRestjson1_deserializeDocumentMediaStreamSourceConfiguration(v **types.Me } sv.MediaStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -12757,6 +13006,7 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -12765,6 +13015,7 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -12773,6 +13024,7 @@ func awsRestjson1_deserializeDocumentMessageDetail(v **types.MessageDetail, valu } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -12808,6 +13060,7 @@ func awsRestjson1_deserializeDocumentMessages(v **types.Messages, value interfac if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -12847,6 +13100,7 @@ func awsRestjson1_deserializeDocumentMonitoringConfig(v **types.MonitoringConfig } sv.ThumbnailState = types.ThumbnailState(jtv) } + default: _, _ = key, value @@ -12886,6 +13140,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12925,6 +13180,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -12937,6 +13193,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -12945,6 +13202,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.DurationUnits = types.DurationUnits(jtv) } + case "offeringArn": if value != nil { jtv, ok := value.(string) @@ -12953,6 +13211,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingArn = ptr.String(jtv) } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -12961,6 +13220,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingDescription = ptr.String(jtv) } + case "pricePerUnit": if value != nil { jtv, ok := value.(string) @@ -12969,6 +13229,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.PricePerUnit = ptr.String(jtv) } + case "priceUnits": if value != nil { jtv, ok := value.(string) @@ -12977,10 +13238,12 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.PriceUnits = types.PriceUnits(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -13020,10 +13283,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.BridgeArn = ptr.String(jtv) } + case "bridgePorts": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.BridgePorts, value); err != nil { return err } + case "dataTransferSubscriberFeePercent": if value != nil { jtv, ok := value.(json.Number) @@ -13036,6 +13301,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13044,6 +13310,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Description = ptr.String(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -13052,10 +13319,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Destination = ptr.String(jtv) } + case "encryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -13064,6 +13333,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.EntitlementArn = ptr.String(jtv) } + case "listenerAddress": if value != nil { jtv, ok := value.(string) @@ -13072,6 +13342,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.ListenerAddress = ptr.String(jtv) } + case "mediaLiveInputArn": if value != nil { jtv, ok := value.(string) @@ -13080,10 +13351,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.MediaLiveInputArn = ptr.String(jtv) } + case "mediaStreamOutputConfigurations": if err := awsRestjson1_deserializeDocument__listOfMediaStreamOutputConfiguration(&sv.MediaStreamOutputConfigurations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13092,6 +13365,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Name = ptr.String(jtv) } + case "outputArn": if value != nil { jtv, ok := value.(string) @@ -13100,6 +13374,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputArn = ptr.String(jtv) } + case "outputStatus": if value != nil { jtv, ok := value.(string) @@ -13108,6 +13383,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputStatus = types.OutputStatus(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -13120,14 +13396,17 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Port = ptr.Int32(int32(i64)) } + case "transport": if err := awsRestjson1_deserializeDocumentTransport(&sv.Transport, value); err != nil { return err } + case "vpcInterfaceAttachment": if err := awsRestjson1_deserializeDocumentVpcInterfaceAttachment(&sv.VpcInterfaceAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -13167,6 +13446,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -13179,6 +13459,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -13187,6 +13468,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.DurationUnits = types.DurationUnits(jtv) } + case "end": if value != nil { jtv, ok := value.(string) @@ -13195,6 +13477,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.End = ptr.String(jtv) } + case "offeringArn": if value != nil { jtv, ok := value.(string) @@ -13203,6 +13486,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingArn = ptr.String(jtv) } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -13211,6 +13495,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingDescription = ptr.String(jtv) } + case "pricePerUnit": if value != nil { jtv, ok := value.(string) @@ -13219,6 +13504,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.PricePerUnit = ptr.String(jtv) } + case "priceUnits": if value != nil { jtv, ok := value.(string) @@ -13227,6 +13513,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.PriceUnits = types.PriceUnits(jtv) } + case "reservationArn": if value != nil { jtv, ok := value.(string) @@ -13235,6 +13522,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationArn = ptr.String(jtv) } + case "reservationName": if value != nil { jtv, ok := value.(string) @@ -13243,6 +13531,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationName = ptr.String(jtv) } + case "reservationState": if value != nil { jtv, ok := value.(string) @@ -13251,10 +13540,12 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationState = types.ReservationState(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "start": if value != nil { jtv, ok := value.(string) @@ -13263,6 +13554,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Start = ptr.String(jtv) } + default: _, _ = key, value @@ -13306,6 +13598,7 @@ func awsRestjson1_deserializeDocumentResourceSpecification(v **types.ResourceSpe } sv.ReservedBitrate = ptr.Int32(int32(i64)) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13607,7 @@ func awsRestjson1_deserializeDocumentResourceSpecification(v **types.ResourceSpe } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -13353,6 +13647,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13396,10 +13691,12 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.DataTransferSubscriberFeePercent = ptr.Int32(int32(i64)) } + case "decryption": if err := awsRestjson1_deserializeDocumentEncryption(&sv.Decryption, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -13408,6 +13705,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Description = ptr.String(jtv) } + case "entitlementArn": if value != nil { jtv, ok := value.(string) @@ -13416,10 +13714,12 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.EntitlementArn = ptr.String(jtv) } + case "gatewayBridgeSource": if err := awsRestjson1_deserializeDocumentGatewayBridgeSource(&sv.GatewayBridgeSource, value); err != nil { return err } + case "ingestIp": if value != nil { jtv, ok := value.(string) @@ -13428,6 +13728,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.IngestIp = ptr.String(jtv) } + case "ingestPort": if value != nil { jtv, ok := value.(json.Number) @@ -13440,10 +13741,12 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.IngestPort = ptr.Int32(int32(i64)) } + case "mediaStreamSourceConfigurations": if err := awsRestjson1_deserializeDocument__listOfMediaStreamSourceConfiguration(&sv.MediaStreamSourceConfigurations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13452,6 +13755,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Name = ptr.String(jtv) } + case "senderControlPort": if value != nil { jtv, ok := value.(json.Number) @@ -13464,6 +13768,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SenderControlPort = ptr.Int32(int32(i64)) } + case "senderIpAddress": if value != nil { jtv, ok := value.(string) @@ -13472,6 +13777,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SenderIpAddress = ptr.String(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -13480,10 +13786,12 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceArn = ptr.String(jtv) } + case "transport": if err := awsRestjson1_deserializeDocumentTransport(&sv.Transport, value); err != nil { return err } + case "vpcInterfaceName": if value != nil { jtv, ok := value.(string) @@ -13492,6 +13800,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.VpcInterfaceName = ptr.String(jtv) } + case "whitelistCidr": if value != nil { jtv, ok := value.(string) @@ -13500,6 +13809,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.WhitelistCidr = ptr.String(jtv) } + default: _, _ = key, value @@ -13539,6 +13849,7 @@ func awsRestjson1_deserializeDocumentSourcePriority(v **types.SourcePriority, va } sv.PrimarySource = ptr.String(jtv) } + default: _, _ = key, value @@ -13578,6 +13889,7 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.FlowArn = ptr.String(jtv) } + case "thumbnail": if value != nil { jtv, ok := value.(string) @@ -13586,10 +13898,12 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Thumbnail = ptr.String(jtv) } + case "thumbnailMessages": if err := awsRestjson1_deserializeDocument__listOfMessageDetail(&sv.ThumbnailMessages, value); err != nil { return err } + case "timecode": if value != nil { jtv, ok := value.(string) @@ -13598,6 +13912,7 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Timecode = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -13610,6 +13925,7 @@ func awsRestjson1_deserializeDocumentThumbnailDetails(v **types.ThumbnailDetails } sv.Timestamp = ptr.Time(t) } + default: _, _ = key, value @@ -13649,6 +13965,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13684,6 +14001,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CidrAllowList, value); err != nil { return err } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13696,6 +14014,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "maxLatency": if value != nil { jtv, ok := value.(json.Number) @@ -13708,6 +14027,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxLatency = ptr.Int32(int32(i64)) } + case "maxSyncBuffer": if value != nil { jtv, ok := value.(json.Number) @@ -13720,6 +14040,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MaxSyncBuffer = ptr.Int32(int32(i64)) } + case "minLatency": if value != nil { jtv, ok := value.(json.Number) @@ -13732,6 +14053,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.MinLatency = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -13740,6 +14062,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.Protocol = types.Protocol(jtv) } + case "remoteId": if value != nil { jtv, ok := value.(string) @@ -13748,6 +14071,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.RemoteId = ptr.String(jtv) } + case "senderControlPort": if value != nil { jtv, ok := value.(json.Number) @@ -13760,6 +14084,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SenderControlPort = ptr.Int32(int32(i64)) } + case "senderIpAddress": if value != nil { jtv, ok := value.(string) @@ -13768,6 +14093,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SenderIpAddress = ptr.String(jtv) } + case "smoothingLatency": if value != nil { jtv, ok := value.(json.Number) @@ -13780,6 +14106,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SmoothingLatency = ptr.Int32(int32(i64)) } + case "sourceListenerAddress": if value != nil { jtv, ok := value.(string) @@ -13788,6 +14115,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SourceListenerAddress = ptr.String(jtv) } + case "sourceListenerPort": if value != nil { jtv, ok := value.(json.Number) @@ -13800,6 +14128,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.SourceListenerPort = ptr.Int32(int32(i64)) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -13808,6 +14137,7 @@ func awsRestjson1_deserializeDocumentTransport(v **types.Transport, value interf } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -13843,6 +14173,7 @@ func awsRestjson1_deserializeDocumentTransportMediaInfo(v **types.TransportMedia if err := awsRestjson1_deserializeDocument__listOfTransportStreamProgram(&sv.Programs, value); err != nil { return err } + default: _, _ = key, value @@ -13886,6 +14217,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Channels = ptr.Int32(int32(i64)) } + case "codec": if value != nil { jtv, ok := value.(string) @@ -13894,6 +14226,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Codec = ptr.String(jtv) } + case "frameRate": if value != nil { jtv, ok := value.(string) @@ -13902,10 +14235,12 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.FrameRate = ptr.String(jtv) } + case "frameResolution": if err := awsRestjson1_deserializeDocumentFrameResolution(&sv.FrameResolution, value); err != nil { return err } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -13918,6 +14253,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.Pid = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -13930,6 +14266,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.SampleRate = ptr.Int32(int32(i64)) } + case "sampleSize": if value != nil { jtv, ok := value.(json.Number) @@ -13942,6 +14279,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.SampleSize = ptr.Int32(int32(i64)) } + case "streamType": if value != nil { jtv, ok := value.(string) @@ -13950,6 +14288,7 @@ func awsRestjson1_deserializeDocumentTransportStream(v **types.TransportStream, } sv.StreamType = ptr.String(jtv) } + default: _, _ = key, value @@ -13993,6 +14332,7 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.PcrPid = ptr.Int32(int32(i64)) } + case "programName": if value != nil { jtv, ok := value.(string) @@ -14001,6 +14341,7 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramName = ptr.String(jtv) } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14013,6 +14354,7 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "programPid": if value != nil { jtv, ok := value.(json.Number) @@ -14025,10 +14367,12 @@ func awsRestjson1_deserializeDocumentTransportStreamProgram(v **types.TransportS } sv.ProgramPid = ptr.Int32(int32(i64)) } + case "streams": if err := awsRestjson1_deserializeDocument__listOfTransportStream(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -14068,10 +14412,12 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.Name = ptr.String(jtv) } + case "networkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NetworkInterfaceIds, value); err != nil { return err } + case "networkInterfaceType": if value != nil { jtv, ok := value.(string) @@ -14080,6 +14426,7 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.NetworkInterfaceType = types.NetworkInterfaceType(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14088,10 +14435,12 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.RoleArn = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -14100,6 +14449,7 @@ func awsRestjson1_deserializeDocumentVpcInterface(v **types.VpcInterface, value } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -14139,6 +14489,7 @@ func awsRestjson1_deserializeDocumentVpcInterfaceAttachment(v **types.VpcInterfa } sv.VpcInterfaceName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index 25ac2381067..c06af0c8d0b 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -393,6 +393,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -559,6 +560,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobTemplateOutput(v **CreateJobTemp if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -725,6 +727,7 @@ func awsRestjson1_deserializeOpDocumentCreatePresetOutput(v **CreatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } + default: _, _ = key, value @@ -891,6 +894,7 @@ func awsRestjson1_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -1469,6 +1473,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsRestjson1_deserializeDocument__listOfEndpoint(&sv.Endpoints, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1482,7 @@ func awsRestjson1_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1746,6 +1752,7 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -1912,6 +1919,7 @@ func awsRestjson1_deserializeOpDocumentGetJobTemplateOutput(v **GetJobTemplateOu if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -2078,6 +2086,7 @@ func awsRestjson1_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsRestjson1_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -2244,6 +2253,7 @@ func awsRestjson1_deserializeOpDocumentGetPresetOutput(v **GetPresetOutput, valu if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } + default: _, _ = key, value @@ -2410,6 +2420,7 @@ func awsRestjson1_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -2576,6 +2587,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsRestjson1_deserializeDocument__listOfJob(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2584,6 +2596,7 @@ func awsRestjson1_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2750,6 +2763,7 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat if err := awsRestjson1_deserializeDocument__listOfJobTemplate(&sv.JobTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2758,6 +2772,7 @@ func awsRestjson1_deserializeOpDocumentListJobTemplatesOutput(v **ListJobTemplat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2928,10 +2943,12 @@ func awsRestjson1_deserializeOpDocumentListPresetsOutput(v **ListPresetsOutput, } sv.NextToken = ptr.String(jtv) } + case "presets": if err := awsRestjson1_deserializeDocument__listOfPreset(&sv.Presets, value); err != nil { return err } + default: _, _ = key, value @@ -3102,10 +3119,12 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } + case "queues": if err := awsRestjson1_deserializeDocument__listOfQueue(&sv.Queues, value); err != nil { return err } + default: _, _ = key, value @@ -3272,6 +3291,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + default: _, _ = key, value @@ -3442,10 +3462,12 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } + case "versions": if err := awsRestjson1_deserializeDocument__listOfJobEngineVersion(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -3612,6 +3634,7 @@ func awsRestjson1_deserializeOpDocumentPutPolicyOutput(v **PutPolicyOutput, valu if err := awsRestjson1_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -3778,6 +3801,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va if err := awsRestjson1_deserializeDocument__listOfJob(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3786,6 +3810,7 @@ func awsRestjson1_deserializeOpDocumentSearchJobsOutput(v **SearchJobsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4158,6 +4183,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJobTemplateOutput(v **UpdateJobTemp if err := awsRestjson1_deserializeDocumentJobTemplate(&sv.JobTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -4324,6 +4350,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePresetOutput(v **UpdatePresetOutput if err := awsRestjson1_deserializeDocumentPreset(&sv.Preset, value); err != nil { return err } + default: _, _ = key, value @@ -4490,6 +4517,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQueueOutput(v **UpdateQueueOutput, if err := awsRestjson1_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -6511,6 +6539,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.AudioDescriptionBroadcasterMix = types.AacAudioDescriptionBroadcasterMix(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -6523,6 +6552,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -6531,6 +6561,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodecProfile = types.AacCodecProfile(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -6539,6 +6570,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodingMode = types.AacCodingMode(jtv) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -6547,6 +6579,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RateControlMode = types.AacRateControlMode(jtv) } + case "rawFormat": if value != nil { jtv, ok := value.(string) @@ -6555,6 +6588,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RawFormat = types.AacRawFormat(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6567,6 +6601,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } + case "specification": if value != nil { jtv, ok := value.(string) @@ -6575,6 +6610,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Specification = types.AacSpecification(jtv) } + case "vbrQuality": if value != nil { jtv, ok := value.(string) @@ -6583,6 +6619,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.VbrQuality = types.AacVbrQuality(jtv) } + default: _, _ = key, value @@ -6626,6 +6663,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -6634,6 +6672,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.BitstreamMode = types.Ac3BitstreamMode(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -6642,6 +6681,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.CodingMode = types.Ac3CodingMode(jtv) } + case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -6654,6 +6694,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Dialnorm = ptr.Int32(int32(i64)) } + case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -6662,6 +6703,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionLine = types.Ac3DynamicRangeCompressionLine(jtv) } + case "dynamicRangeCompressionProfile": if value != nil { jtv, ok := value.(string) @@ -6670,6 +6712,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionProfile = types.Ac3DynamicRangeCompressionProfile(jtv) } + case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -6678,6 +6721,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DynamicRangeCompressionRf = types.Ac3DynamicRangeCompressionRf(jtv) } + case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -6686,6 +6730,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.LfeFilter = types.Ac3LfeFilter(jtv) } + case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -6694,6 +6739,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.MetadataControl = types.Ac3MetadataControl(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6706,6 +6752,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6745,6 +6792,7 @@ func awsRestjson1_deserializeDocumentAccelerationSettings(v **types.Acceleration } sv.Mode = types.AccelerationMode(jtv) } + default: _, _ = key, value @@ -6784,6 +6832,7 @@ func awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(v **types.Advan } sv.AddTexture = types.AdvancedInputFilterAddTexture(jtv) } + case "sharpening": if value != nil { jtv, ok := value.(string) @@ -6792,6 +6841,7 @@ func awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(v **types.Advan } sv.Sharpening = types.AdvancedInputFilterSharpen(jtv) } + default: _, _ = key, value @@ -6835,6 +6885,7 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.BitDepth = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -6847,6 +6898,7 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.Channels = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -6859,6 +6911,7 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6902,6 +6955,7 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Height = ptr.Int32(int32(i64)) } + case "required": if value != nil { jtv, ok := value.(string) @@ -6910,6 +6964,7 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Required = types.RequiredFlag(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -6922,6 +6977,7 @@ func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRendi } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6961,6 +7017,7 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.Convert608To708 = types.AncillaryConvert608To708(jtv) } + case "sourceAncillaryChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6973,6 +7030,7 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.SourceAncillaryChannelNumber = ptr.Int32(int32(i64)) } + case "terminateCaptions": if value != nil { jtv, ok := value.(string) @@ -6981,6 +7039,7 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.TerminateCaptions = types.AncillaryTerminateCaptions(jtv) } + default: _, _ = key, value @@ -7020,10 +7079,12 @@ func awsRestjson1_deserializeDocumentAudioChannelTaggingSettings(v **types.Audio } sv.ChannelTag = types.AudioChannelTag(jtv) } + case "channelTags": if err := awsRestjson1_deserializeDocument__listOfAudioChannelTag(&sv.ChannelTags, value); err != nil { return err } + default: _, _ = key, value @@ -7059,14 +7120,17 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett if err := awsRestjson1_deserializeDocumentAacSettings(&sv.AacSettings, value); err != nil { return err } + case "ac3Settings": if err := awsRestjson1_deserializeDocumentAc3Settings(&sv.Ac3Settings, value); err != nil { return err } + case "aiffSettings": if err := awsRestjson1_deserializeDocumentAiffSettings(&sv.AiffSettings, value); err != nil { return err } + case "codec": if value != nil { jtv, ok := value.(string) @@ -7075,38 +7139,47 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett } sv.Codec = types.AudioCodec(jtv) } + case "eac3AtmosSettings": if err := awsRestjson1_deserializeDocumentEac3AtmosSettings(&sv.Eac3AtmosSettings, value); err != nil { return err } + case "eac3Settings": if err := awsRestjson1_deserializeDocumentEac3Settings(&sv.Eac3Settings, value); err != nil { return err } + case "flacSettings": if err := awsRestjson1_deserializeDocumentFlacSettings(&sv.FlacSettings, value); err != nil { return err } + case "mp2Settings": if err := awsRestjson1_deserializeDocumentMp2Settings(&sv.Mp2Settings, value); err != nil { return err } + case "mp3Settings": if err := awsRestjson1_deserializeDocumentMp3Settings(&sv.Mp3Settings, value); err != nil { return err } + case "opusSettings": if err := awsRestjson1_deserializeDocumentOpusSettings(&sv.OpusSettings, value); err != nil { return err } + case "vorbisSettings": if err := awsRestjson1_deserializeDocumentVorbisSettings(&sv.VorbisSettings, value); err != nil { return err } + case "wavSettings": if err := awsRestjson1_deserializeDocumentWavSettings(&sv.WavSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7142,10 +7215,12 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription if err := awsRestjson1_deserializeDocumentAudioChannelTaggingSettings(&sv.AudioChannelTaggingSettings, value); err != nil { return err } + case "audioNormalizationSettings": if err := awsRestjson1_deserializeDocumentAudioNormalizationSettings(&sv.AudioNormalizationSettings, value); err != nil { return err } + case "audioSourceName": if value != nil { jtv, ok := value.(string) @@ -7154,6 +7229,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioSourceName = ptr.String(jtv) } + case "audioType": if value != nil { jtv, ok := value.(json.Number) @@ -7166,6 +7242,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioType = ptr.Int32(int32(i64)) } + case "audioTypeControl": if value != nil { jtv, ok := value.(string) @@ -7174,10 +7251,12 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioTypeControl = types.AudioTypeControl(jtv) } + case "codecSettings": if err := awsRestjson1_deserializeDocumentAudioCodecSettings(&sv.CodecSettings, value); err != nil { return err } + case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -7186,6 +7265,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.CustomLanguageCode = ptr.String(jtv) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -7194,6 +7274,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCode = types.LanguageCode(jtv) } + case "languageCodeControl": if value != nil { jtv, ok := value.(string) @@ -7202,10 +7283,12 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCodeControl = types.AudioLanguageCodeControl(jtv) } + case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -7214,6 +7297,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -7253,6 +7337,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.Algorithm = types.AudioNormalizationAlgorithm(jtv) } + case "algorithmControl": if value != nil { jtv, ok := value.(string) @@ -7261,6 +7346,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.AlgorithmControl = types.AudioNormalizationAlgorithmControl(jtv) } + case "correctionGateLevel": if value != nil { jtv, ok := value.(json.Number) @@ -7273,6 +7359,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.CorrectionGateLevel = ptr.Int32(int32(i64)) } + case "loudnessLogging": if value != nil { jtv, ok := value.(string) @@ -7281,6 +7368,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.LoudnessLogging = types.AudioNormalizationLoudnessLogging(jtv) } + case "peakCalculation": if value != nil { jtv, ok := value.(string) @@ -7289,6 +7377,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.PeakCalculation = types.AudioNormalizationPeakCalculation(jtv) } + case "targetLkfs": if value != nil { switch jtv := value.(type) { @@ -7322,6 +7411,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } + case "truePeakLimiterThreshold": if value != nil { switch jtv := value.(type) { @@ -7355,6 +7445,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } + default: _, _ = key, value @@ -7394,6 +7485,7 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.AudioDurationCorrection = types.AudioDurationCorrection(jtv) } + case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -7402,6 +7494,7 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.CustomLanguageCode = ptr.String(jtv) } + case "defaultSelection": if value != nil { jtv, ok := value.(string) @@ -7410,6 +7503,7 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.DefaultSelection = types.AudioDefaultSelection(jtv) } + case "externalAudioFileInput": if value != nil { jtv, ok := value.(string) @@ -7418,10 +7512,12 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.ExternalAudioFileInput = ptr.String(jtv) } + case "hlsRenditionGroupSettings": if err := awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(&sv.HlsRenditionGroupSettings, value); err != nil { return err } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -7430,6 +7526,7 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.LanguageCode = types.LanguageCode(jtv) } + case "offset": if value != nil { jtv, ok := value.(json.Number) @@ -7442,10 +7539,12 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.Offset = ptr.Int32(int32(i64)) } + case "pids": if err := awsRestjson1_deserializeDocument__listOf__integerMin1Max2147483647(&sv.Pids, value); err != nil { return err } + case "programSelection": if value != nil { jtv, ok := value.(json.Number) @@ -7458,10 +7557,12 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.ProgramSelection = ptr.Int32(int32(i64)) } + case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } + case "selectorType": if value != nil { jtv, ok := value.(string) @@ -7470,10 +7571,12 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.SelectorType = types.AudioSelectorType(jtv) } + case "tracks": if err := awsRestjson1_deserializeDocument__listOf__integerMin1Max2147483647(&sv.Tracks, value); err != nil { return err } + default: _, _ = key, value @@ -7509,6 +7612,7 @@ func awsRestjson1_deserializeDocumentAudioSelectorGroup(v **types.AudioSelectorG if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.AudioSelectorNames, value); err != nil { return err } + default: _, _ = key, value @@ -7544,18 +7648,22 @@ func awsRestjson1_deserializeDocumentAutomatedAbrRule(v **types.AutomatedAbrRule if err := awsRestjson1_deserializeDocument__listOfAllowedRenditionSize(&sv.AllowedRenditions, value); err != nil { return err } + case "forceIncludeRenditions": if err := awsRestjson1_deserializeDocument__listOfForceIncludeRenditionSize(&sv.ForceIncludeRenditions, value); err != nil { return err } + case "minBottomRenditionSize": if err := awsRestjson1_deserializeDocumentMinBottomRenditionSize(&sv.MinBottomRenditionSize, value); err != nil { return err } + case "minTopRenditionSize": if err := awsRestjson1_deserializeDocumentMinTopRenditionSize(&sv.MinTopRenditionSize, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -7564,6 +7672,7 @@ func awsRestjson1_deserializeDocumentAutomatedAbrRule(v **types.AutomatedAbrRule } sv.Type = types.RuleType(jtv) } + default: _, _ = key, value @@ -7607,6 +7716,7 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MaxAbrBitrate = ptr.Int32(int32(i64)) } + case "maxRenditions": if value != nil { jtv, ok := value.(json.Number) @@ -7619,6 +7729,7 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MaxRenditions = ptr.Int32(int32(i64)) } + case "minAbrBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -7631,10 +7742,12 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr } sv.MinAbrBitrate = ptr.Int32(int32(i64)) } + case "rules": if err := awsRestjson1_deserializeDocument__listOfAutomatedAbrRule(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -7670,6 +7783,7 @@ func awsRestjson1_deserializeDocumentAutomatedEncodingSettings(v **types.Automat if err := awsRestjson1_deserializeDocumentAutomatedAbrSettings(&sv.AbrSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7713,6 +7827,7 @@ func awsRestjson1_deserializeDocumentAv1QvbrSettings(v **types.Av1QvbrSettings, } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -7746,6 +7861,7 @@ func awsRestjson1_deserializeDocumentAv1QvbrSettings(v **types.Av1QvbrSettings, } } + default: _, _ = key, value @@ -7785,6 +7901,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.AdaptiveQuantization = types.Av1AdaptiveQuantization(jtv) } + case "bitDepth": if value != nil { jtv, ok := value.(string) @@ -7793,6 +7910,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.BitDepth = types.Av1BitDepth(jtv) } + case "filmGrainSynthesis": if value != nil { jtv, ok := value.(string) @@ -7801,6 +7919,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FilmGrainSynthesis = types.Av1FilmGrainSynthesis(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -7809,6 +7928,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateControl = types.Av1FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7817,6 +7937,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateConversionAlgorithm = types.Av1FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -7829,6 +7950,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -7841,6 +7963,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -7874,6 +7997,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -7886,6 +8010,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -7898,10 +8023,12 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } + case "qvbrSettings": if err := awsRestjson1_deserializeDocumentAv1QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -7910,6 +8037,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.RateControlMode = types.Av1RateControlMode(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -7922,6 +8050,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.Slices = ptr.Int32(int32(i64)) } + case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -7930,6 +8059,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.SpatialAdaptiveQuantization = types.Av1SpatialAdaptiveQuantization(jtv) } + default: _, _ = key, value @@ -7969,6 +8099,7 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu } sv.AvailBlankingImage = ptr.String(jtv) } + default: _, _ = key, value @@ -8008,10 +8139,12 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.AvcIntraClass = types.AvcIntraClass(jtv) } + case "avcIntraUhdSettings": if err := awsRestjson1_deserializeDocumentAvcIntraUhdSettings(&sv.AvcIntraUhdSettings, value); err != nil { return err } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -8020,6 +8153,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateControl = types.AvcIntraFramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -8028,6 +8162,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateConversionAlgorithm = types.AvcIntraFramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -8040,6 +8175,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -8052,6 +8188,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -8060,6 +8197,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.InterlaceMode = types.AvcIntraInterlaceMode(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -8068,6 +8206,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.ScanTypeConversionMode = types.AvcIntraScanTypeConversionMode(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -8076,6 +8215,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.SlowPal = types.AvcIntraSlowPal(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -8084,6 +8224,7 @@ func awsRestjson1_deserializeDocumentAvcIntraSettings(v **types.AvcIntraSettings } sv.Telecine = types.AvcIntraTelecine(jtv) } + default: _, _ = key, value @@ -8123,6 +8264,7 @@ func awsRestjson1_deserializeDocumentAvcIntraUhdSettings(v **types.AvcIntraUhdSe } sv.QualityTuningLevel = types.AvcIntraUhdQualityTuningLevel(jtv) } + default: _, _ = key, value @@ -8162,6 +8304,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8201,6 +8344,7 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilter(v **types.Bandwidt } sv.Sharpening = types.BandwidthReductionFilterSharpening(jtv) } + case "strength": if value != nil { jtv, ok := value.(string) @@ -8209,6 +8353,7 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilter(v **types.Bandwidt } sv.Strength = types.BandwidthReductionFilterStrength(jtv) } + default: _, _ = key, value @@ -8248,6 +8393,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.Alignment = types.BurninSubtitleAlignment(jtv) } + case "applyFontColor": if value != nil { jtv, ok := value.(string) @@ -8256,6 +8402,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ApplyFontColor = types.BurninSubtitleApplyFontColor(jtv) } + case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -8264,6 +8411,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.BackgroundColor = types.BurninSubtitleBackgroundColor(jtv) } + case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8276,6 +8424,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } + case "fallbackFont": if value != nil { jtv, ok := value.(string) @@ -8284,6 +8433,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FallbackFont = types.BurninSubtitleFallbackFont(jtv) } + case "fontColor": if value != nil { jtv, ok := value.(string) @@ -8292,6 +8442,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontColor = types.BurninSubtitleFontColor(jtv) } + case "fontFileBold": if value != nil { jtv, ok := value.(string) @@ -8300,6 +8451,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileBold = ptr.String(jtv) } + case "fontFileBoldItalic": if value != nil { jtv, ok := value.(string) @@ -8308,6 +8460,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileBoldItalic = ptr.String(jtv) } + case "fontFileItalic": if value != nil { jtv, ok := value.(string) @@ -8316,6 +8469,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileItalic = ptr.String(jtv) } + case "fontFileRegular": if value != nil { jtv, ok := value.(string) @@ -8324,6 +8478,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontFileRegular = ptr.String(jtv) } + case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8336,6 +8491,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontOpacity = ptr.Int32(int32(i64)) } + case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -8348,6 +8504,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontResolution = ptr.Int32(int32(i64)) } + case "fontScript": if value != nil { jtv, ok := value.(string) @@ -8356,6 +8513,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontScript = types.FontScript(jtv) } + case "fontSize": if value != nil { jtv, ok := value.(json.Number) @@ -8368,6 +8526,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.FontSize = ptr.Int32(int32(i64)) } + case "hexFontColor": if value != nil { jtv, ok := value.(string) @@ -8376,6 +8535,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.HexFontColor = ptr.String(jtv) } + case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -8384,6 +8544,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.OutlineColor = types.BurninSubtitleOutlineColor(jtv) } + case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -8396,6 +8557,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.OutlineSize = ptr.Int32(int32(i64)) } + case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -8404,6 +8566,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowColor = types.BurninSubtitleShadowColor(jtv) } + case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -8416,6 +8579,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } + case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8428,6 +8592,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } + case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -8440,6 +8605,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } + case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -8448,6 +8614,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.StylePassthrough = types.BurnInSubtitleStylePassthrough(jtv) } + case "teletextSpacing": if value != nil { jtv, ok := value.(string) @@ -8456,6 +8623,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.TeletextSpacing = types.BurninSubtitleTeletextSpacing(jtv) } + case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -8468,6 +8636,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.XPosition = ptr.Int32(int32(i64)) } + case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -8480,6 +8649,7 @@ func awsRestjson1_deserializeDocumentBurninDestinationSettings(v **types.BurninD } sv.YPosition = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8519,6 +8689,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CaptionSelectorName = ptr.String(jtv) } + case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -8527,10 +8698,12 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CustomLanguageCode = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8539,6 +8712,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageCode = types.LanguageCode(jtv) } + case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -8547,6 +8721,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -8586,10 +8761,12 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.CustomLanguageCode = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8598,6 +8775,7 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.LanguageCode = types.LanguageCode(jtv) } + case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -8606,6 +8784,7 @@ func awsRestjson1_deserializeDocumentCaptionDescriptionPreset(v **types.CaptionD } sv.LanguageDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -8641,6 +8820,7 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio if err := awsRestjson1_deserializeDocumentBurninDestinationSettings(&sv.BurninDestinationSettings, value); err != nil { return err } + case "destinationType": if value != nil { jtv, ok := value.(string) @@ -8649,38 +8829,47 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio } sv.DestinationType = types.CaptionDestinationType(jtv) } + case "dvbSubDestinationSettings": if err := awsRestjson1_deserializeDocumentDvbSubDestinationSettings(&sv.DvbSubDestinationSettings, value); err != nil { return err } + case "embeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(&sv.EmbeddedDestinationSettings, value); err != nil { return err } + case "imscDestinationSettings": if err := awsRestjson1_deserializeDocumentImscDestinationSettings(&sv.ImscDestinationSettings, value); err != nil { return err } + case "sccDestinationSettings": if err := awsRestjson1_deserializeDocumentSccDestinationSettings(&sv.SccDestinationSettings, value); err != nil { return err } + case "srtDestinationSettings": if err := awsRestjson1_deserializeDocumentSrtDestinationSettings(&sv.SrtDestinationSettings, value); err != nil { return err } + case "teletextDestinationSettings": if err := awsRestjson1_deserializeDocumentTeletextDestinationSettings(&sv.TeletextDestinationSettings, value); err != nil { return err } + case "ttmlDestinationSettings": if err := awsRestjson1_deserializeDocumentTtmlDestinationSettings(&sv.TtmlDestinationSettings, value); err != nil { return err } + case "webvttDestinationSettings": if err := awsRestjson1_deserializeDocumentWebvttDestinationSettings(&sv.WebvttDestinationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8720,6 +8909,7 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.CustomLanguageCode = ptr.String(jtv) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -8728,10 +8918,12 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.LanguageCode = types.LanguageCode(jtv) } + case "sourceSettings": if err := awsRestjson1_deserializeDocumentCaptionSourceSettings(&sv.SourceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8775,6 +8967,7 @@ func awsRestjson1_deserializeDocumentCaptionSourceFramerate(v **types.CaptionSou } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -8787,6 +8980,7 @@ func awsRestjson1_deserializeDocumentCaptionSourceFramerate(v **types.CaptionSou } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8822,18 +9016,22 @@ func awsRestjson1_deserializeDocumentCaptionSourceSettings(v **types.CaptionSour if err := awsRestjson1_deserializeDocumentAncillarySourceSettings(&sv.AncillarySourceSettings, value); err != nil { return err } + case "dvbSubSourceSettings": if err := awsRestjson1_deserializeDocumentDvbSubSourceSettings(&sv.DvbSubSourceSettings, value); err != nil { return err } + case "embeddedSourceSettings": if err := awsRestjson1_deserializeDocumentEmbeddedSourceSettings(&sv.EmbeddedSourceSettings, value); err != nil { return err } + case "fileSourceSettings": if err := awsRestjson1_deserializeDocumentFileSourceSettings(&sv.FileSourceSettings, value); err != nil { return err } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -8842,18 +9040,22 @@ func awsRestjson1_deserializeDocumentCaptionSourceSettings(v **types.CaptionSour } sv.SourceType = types.CaptionSourceType(jtv) } + case "teletextSourceSettings": if err := awsRestjson1_deserializeDocumentTeletextSourceSettings(&sv.TeletextSourceSettings, value); err != nil { return err } + case "trackSourceSettings": if err := awsRestjson1_deserializeDocumentTrackSourceSettings(&sv.TrackSourceSettings, value); err != nil { return err } + case "webvttHlsSourceSettings": if err := awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(&sv.WebvttHlsSourceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8889,6 +9091,7 @@ func awsRestjson1_deserializeDocumentChannelMapping(v **types.ChannelMapping, va if err := awsRestjson1_deserializeDocument__listOfOutputChannelMapping(&sv.OutputChannels, value); err != nil { return err } + default: _, _ = key, value @@ -8932,6 +9135,7 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MaximumRGBTolerance = ptr.Int32(int32(i64)) } + case "maximumYUV": if value != nil { jtv, ok := value.(json.Number) @@ -8944,6 +9148,7 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MaximumYUV = ptr.Int32(int32(i64)) } + case "minimumRGBTolerance": if value != nil { jtv, ok := value.(json.Number) @@ -8956,6 +9161,7 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MinimumRGBTolerance = ptr.Int32(int32(i64)) } + case "minimumYUV": if value != nil { jtv, ok := value.(json.Number) @@ -8968,6 +9174,7 @@ func awsRestjson1_deserializeDocumentClipLimits(v **types.ClipLimits, value inte } sv.MinimumYUV = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9007,10 +9214,12 @@ func awsRestjson1_deserializeDocumentCmafAdditionalManifest(v **types.CmafAdditi } sv.ManifestNameModifier = ptr.String(jtv) } + case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -9050,6 +9259,7 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.ConstantInitializationVector = ptr.String(jtv) } + case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -9058,6 +9268,7 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.EncryptionMethod = types.CmafEncryptionType(jtv) } + case "initializationVectorInManifest": if value != nil { jtv, ok := value.(string) @@ -9066,14 +9277,17 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.InitializationVectorInManifest = types.CmafInitializationVectorInManifest(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(&sv.SpekeKeyProvider, value); err != nil { return err } + case "staticKeyProvider": if err := awsRestjson1_deserializeDocumentStaticKeyProvider(&sv.StaticKeyProvider, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9082,6 +9296,7 @@ func awsRestjson1_deserializeDocumentCmafEncryptionSettings(v **types.CmafEncryp } sv.Type = types.CmafKeyProviderType(jtv) } + default: _, _ = key, value @@ -9117,6 +9332,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin if err := awsRestjson1_deserializeDocument__listOfCmafAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } + case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -9125,6 +9341,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.BaseUrl = ptr.String(jtv) } + case "clientCache": if value != nil { jtv, ok := value.(string) @@ -9133,6 +9350,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ClientCache = types.CmafClientCache(jtv) } + case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -9141,6 +9359,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.CodecSpecification = types.CmafCodecSpecification(jtv) } + case "dashIFrameTrickPlayNameModifier": if value != nil { jtv, ok := value.(string) @@ -9149,6 +9368,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.DashIFrameTrickPlayNameModifier = ptr.String(jtv) } + case "dashManifestStyle": if value != nil { jtv, ok := value.(string) @@ -9157,6 +9377,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.DashManifestStyle = types.DashManifestStyle(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -9165,14 +9386,17 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.Destination = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentCmafEncryptionSettings(&sv.Encryption, value); err != nil { return err } + case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -9185,6 +9409,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.FragmentLength = ptr.Int32(int32(i64)) } + case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -9193,10 +9418,12 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ImageBasedTrickPlay = types.CmafImageBasedTrickPlay(jtv) } + case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } + case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -9205,6 +9432,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ManifestCompression = types.CmafManifestCompression(jtv) } + case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -9213,6 +9441,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.ManifestDurationFormat = types.CmafManifestDurationFormat(jtv) } + case "minBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -9225,6 +9454,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MinBufferTime = ptr.Int32(int32(i64)) } + case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -9258,6 +9488,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } } + case "mpdManifestBandwidthType": if value != nil { jtv, ok := value.(string) @@ -9266,6 +9497,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MpdManifestBandwidthType = types.CmafMpdManifestBandwidthType(jtv) } + case "mpdProfile": if value != nil { jtv, ok := value.(string) @@ -9274,6 +9506,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.MpdProfile = types.CmafMpdProfile(jtv) } + case "ptsOffsetHandlingForBFrames": if value != nil { jtv, ok := value.(string) @@ -9282,6 +9515,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.PtsOffsetHandlingForBFrames = types.CmafPtsOffsetHandlingForBFrames(jtv) } + case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -9290,6 +9524,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentControl = types.CmafSegmentControl(jtv) } + case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -9302,6 +9537,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentLength = ptr.Int32(int32(i64)) } + case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -9310,6 +9546,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.SegmentLengthControl = types.CmafSegmentLengthControl(jtv) } + case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -9318,6 +9555,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.StreamInfResolution = types.CmafStreamInfResolution(jtv) } + case "targetDurationCompatibilityMode": if value != nil { jtv, ok := value.(string) @@ -9326,6 +9564,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.TargetDurationCompatibilityMode = types.CmafTargetDurationCompatibilityMode(jtv) } + case "videoCompositionOffsets": if value != nil { jtv, ok := value.(string) @@ -9334,6 +9573,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.VideoCompositionOffsets = types.CmafVideoCompositionOffsets(jtv) } + case "writeDashManifest": if value != nil { jtv, ok := value.(string) @@ -9342,6 +9582,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteDashManifest = types.CmafWriteDASHManifest(jtv) } + case "writeHlsManifest": if value != nil { jtv, ok := value.(string) @@ -9350,6 +9591,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteHlsManifest = types.CmafWriteHLSManifest(jtv) } + case "writeSegmentTimelineInRepresentation": if value != nil { jtv, ok := value.(string) @@ -9358,6 +9600,7 @@ func awsRestjson1_deserializeDocumentCmafGroupSettings(v **types.CmafGroupSettin } sv.WriteSegmentTimelineInRepresentation = types.CmafWriteSegmentTimelineInRepresentation(jtv) } + default: _, _ = key, value @@ -9397,6 +9640,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.IntervalCadence = types.CmafIntervalCadence(jtv) } + case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -9409,6 +9653,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } + case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -9442,6 +9687,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } } + case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -9454,6 +9700,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } + case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -9466,6 +9713,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.TileHeight = ptr.Int32(int32(i64)) } + case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -9478,6 +9726,7 @@ func awsRestjson1_deserializeDocumentCmafImageBasedTrickPlaySettings(v **types.C } sv.TileWidth = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9517,6 +9766,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioDuration = types.CmfcAudioDuration(jtv) } + case "audioGroupId": if value != nil { jtv, ok := value.(string) @@ -9525,6 +9775,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioGroupId = ptr.String(jtv) } + case "audioRenditionSets": if value != nil { jtv, ok := value.(string) @@ -9533,6 +9784,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioRenditionSets = ptr.String(jtv) } + case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -9541,6 +9793,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.AudioTrackType = types.CmfcAudioTrackType(jtv) } + case "descriptiveVideoServiceFlag": if value != nil { jtv, ok := value.(string) @@ -9549,6 +9802,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.DescriptiveVideoServiceFlag = types.CmfcDescriptiveVideoServiceFlag(jtv) } + case "iFrameOnlyManifest": if value != nil { jtv, ok := value.(string) @@ -9557,6 +9811,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.IFrameOnlyManifest = types.CmfcIFrameOnlyManifest(jtv) } + case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -9565,6 +9820,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.KlvMetadata = types.CmfcKlvMetadata(jtv) } + case "manifestMetadataSignaling": if value != nil { jtv, ok := value.(string) @@ -9573,6 +9829,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.ManifestMetadataSignaling = types.CmfcManifestMetadataSignaling(jtv) } + case "scte35Esam": if value != nil { jtv, ok := value.(string) @@ -9581,6 +9838,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.Scte35Esam = types.CmfcScte35Esam(jtv) } + case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -9589,6 +9847,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.Scte35Source = types.CmfcScte35Source(jtv) } + case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -9597,6 +9856,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadata = types.CmfcTimedMetadata(jtv) } + case "timedMetadataBoxVersion": if value != nil { jtv, ok := value.(string) @@ -9605,6 +9865,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataBoxVersion = types.CmfcTimedMetadataBoxVersion(jtv) } + case "timedMetadataSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -9613,6 +9874,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataSchemeIdUri = ptr.String(jtv) } + case "timedMetadataValue": if value != nil { jtv, ok := value.(string) @@ -9621,6 +9883,7 @@ func awsRestjson1_deserializeDocumentCmfcSettings(v **types.CmfcSettings, value } sv.TimedMetadataValue = ptr.String(jtv) } + default: _, _ = key, value @@ -9660,6 +9923,7 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.FileInput = ptr.String(jtv) } + case "inputColorSpace": if value != nil { jtv, ok := value.(string) @@ -9668,6 +9932,7 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.InputColorSpace = types.ColorSpace(jtv) } + case "inputMasteringLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -9680,6 +9945,7 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.InputMasteringLuminance = ptr.Int32(int32(i64)) } + case "outputColorSpace": if value != nil { jtv, ok := value.(string) @@ -9688,6 +9954,7 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.OutputColorSpace = types.ColorSpace(jtv) } + case "outputMasteringLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -9700,6 +9967,7 @@ func awsRestjson1_deserializeDocumentColorConversion3DLUTSetting(v **types.Color } sv.OutputMasteringLuminance = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9743,10 +10011,12 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Brightness = ptr.Int32(int32(i64)) } + case "clipLimits": if err := awsRestjson1_deserializeDocumentClipLimits(&sv.ClipLimits, value); err != nil { return err } + case "colorSpaceConversion": if value != nil { jtv, ok := value.(string) @@ -9755,6 +10025,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.ColorSpaceConversion = types.ColorSpaceConversion(jtv) } + case "contrast": if value != nil { jtv, ok := value.(json.Number) @@ -9767,10 +10038,12 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Contrast = ptr.Int32(int32(i64)) } + case "hdr10Metadata": if err := awsRestjson1_deserializeDocumentHdr10Metadata(&sv.Hdr10Metadata, value); err != nil { return err } + case "hdrToSdrToneMapper": if value != nil { jtv, ok := value.(string) @@ -9779,6 +10052,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.HdrToSdrToneMapper = types.HDRToSDRToneMapper(jtv) } + case "hue": if value != nil { jtv, ok := value.(json.Number) @@ -9791,6 +10065,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Hue = ptr.Int32(int32(i64)) } + case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -9803,6 +10078,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.MaxLuminance = ptr.Int32(int32(i64)) } + case "sampleRangeConversion": if value != nil { jtv, ok := value.(string) @@ -9811,6 +10087,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.SampleRangeConversion = types.SampleRangeConversion(jtv) } + case "saturation": if value != nil { jtv, ok := value.(json.Number) @@ -9823,6 +10100,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.Saturation = ptr.Int32(int32(i64)) } + case "sdrReferenceWhiteLevel": if value != nil { jtv, ok := value.(json.Number) @@ -9835,6 +10113,7 @@ func awsRestjson1_deserializeDocumentColorCorrector(v **types.ColorCorrector, va } sv.SdrReferenceWhiteLevel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9874,6 +10153,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9909,6 +10189,7 @@ func awsRestjson1_deserializeDocumentContainerSettings(v **types.ContainerSettin if err := awsRestjson1_deserializeDocumentCmfcSettings(&sv.CmfcSettings, value); err != nil { return err } + case "container": if value != nil { jtv, ok := value.(string) @@ -9917,34 +10198,42 @@ func awsRestjson1_deserializeDocumentContainerSettings(v **types.ContainerSettin } sv.Container = types.ContainerType(jtv) } + case "f4vSettings": if err := awsRestjson1_deserializeDocumentF4vSettings(&sv.F4vSettings, value); err != nil { return err } + case "m2tsSettings": if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } + case "m3u8Settings": if err := awsRestjson1_deserializeDocumentM3u8Settings(&sv.M3u8Settings, value); err != nil { return err } + case "movSettings": if err := awsRestjson1_deserializeDocumentMovSettings(&sv.MovSettings, value); err != nil { return err } + case "mp4Settings": if err := awsRestjson1_deserializeDocumentMp4Settings(&sv.Mp4Settings, value); err != nil { return err } + case "mpdSettings": if err := awsRestjson1_deserializeDocumentMpdSettings(&sv.MpdSettings, value); err != nil { return err } + case "mxfSettings": if err := awsRestjson1_deserializeDocumentMxfSettings(&sv.MxfSettings, value); err != nil { return err } + default: _, _ = key, value @@ -9984,10 +10273,12 @@ func awsRestjson1_deserializeDocumentDashAdditionalManifest(v **types.DashAdditi } sv.ManifestNameModifier = ptr.String(jtv) } + case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -10027,10 +10318,12 @@ func awsRestjson1_deserializeDocumentDashIsoEncryptionSettings(v **types.DashIso } sv.PlaybackDeviceCompatibility = types.DashIsoPlaybackDeviceCompatibility(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -10066,6 +10359,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup if err := awsRestjson1_deserializeDocument__listOfDashAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } + case "audioChannelConfigSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -10074,6 +10368,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.AudioChannelConfigSchemeIdUri = types.DashIsoGroupAudioChannelConfigSchemeIdUri(jtv) } + case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -10082,6 +10377,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.BaseUrl = ptr.String(jtv) } + case "dashIFrameTrickPlayNameModifier": if value != nil { jtv, ok := value.(string) @@ -10090,6 +10386,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.DashIFrameTrickPlayNameModifier = ptr.String(jtv) } + case "dashManifestStyle": if value != nil { jtv, ok := value.(string) @@ -10098,6 +10395,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.DashManifestStyle = types.DashManifestStyle(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -10106,14 +10404,17 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.Destination = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentDashIsoEncryptionSettings(&sv.Encryption, value); err != nil { return err } + case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -10126,6 +10427,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.FragmentLength = ptr.Int32(int32(i64)) } + case "hbbtvCompliance": if value != nil { jtv, ok := value.(string) @@ -10134,6 +10436,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.HbbtvCompliance = types.DashIsoHbbtvCompliance(jtv) } + case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -10142,10 +10445,12 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.ImageBasedTrickPlay = types.DashIsoImageBasedTrickPlay(jtv) } + case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } + case "minBufferTime": if value != nil { jtv, ok := value.(json.Number) @@ -10158,6 +10463,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MinBufferTime = ptr.Int32(int32(i64)) } + case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -10191,6 +10497,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } } + case "mpdManifestBandwidthType": if value != nil { jtv, ok := value.(string) @@ -10199,6 +10506,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MpdManifestBandwidthType = types.DashIsoMpdManifestBandwidthType(jtv) } + case "mpdProfile": if value != nil { jtv, ok := value.(string) @@ -10207,6 +10515,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.MpdProfile = types.DashIsoMpdProfile(jtv) } + case "ptsOffsetHandlingForBFrames": if value != nil { jtv, ok := value.(string) @@ -10215,6 +10524,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.PtsOffsetHandlingForBFrames = types.DashIsoPtsOffsetHandlingForBFrames(jtv) } + case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -10223,6 +10533,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentControl = types.DashIsoSegmentControl(jtv) } + case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -10235,6 +10546,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentLength = ptr.Int32(int32(i64)) } + case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -10243,6 +10555,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.SegmentLengthControl = types.DashIsoSegmentLengthControl(jtv) } + case "videoCompositionOffsets": if value != nil { jtv, ok := value.(string) @@ -10251,6 +10564,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.VideoCompositionOffsets = types.DashIsoVideoCompositionOffsets(jtv) } + case "writeSegmentTimelineInRepresentation": if value != nil { jtv, ok := value.(string) @@ -10259,6 +10573,7 @@ func awsRestjson1_deserializeDocumentDashIsoGroupSettings(v **types.DashIsoGroup } sv.WriteSegmentTimelineInRepresentation = types.DashIsoWriteSegmentTimelineInRepresentation(jtv) } + default: _, _ = key, value @@ -10298,6 +10613,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.IntervalCadence = types.DashIsoIntervalCadence(jtv) } + case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -10310,6 +10626,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } + case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -10343,6 +10660,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } } + case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -10355,6 +10673,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } + case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -10367,6 +10686,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.TileHeight = ptr.Int32(int32(i64)) } + case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -10379,6 +10699,7 @@ func awsRestjson1_deserializeDocumentDashIsoImageBasedTrickPlaySettings(v **type } sv.TileWidth = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10418,6 +10739,7 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Algorithm = types.DeinterlaceAlgorithm(jtv) } + case "control": if value != nil { jtv, ok := value.(string) @@ -10426,6 +10748,7 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Control = types.DeinterlacerControl(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -10434,6 +10757,7 @@ func awsRestjson1_deserializeDocumentDeinterlacer(v **types.Deinterlacer, value } sv.Mode = types.DeinterlacerMode(jtv) } + default: _, _ = key, value @@ -10469,6 +10793,7 @@ func awsRestjson1_deserializeDocumentDestinationSettings(v **types.DestinationSe if err := awsRestjson1_deserializeDocumentS3DestinationSettings(&sv.S3Settings, value); err != nil { return err } + default: _, _ = key, value @@ -10504,6 +10829,7 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in if err := awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(&sv.L6Metadata, value); err != nil { return err } + case "l6Mode": if value != nil { jtv, ok := value.(string) @@ -10512,6 +10838,7 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.L6Mode = types.DolbyVisionLevel6Mode(jtv) } + case "mapping": if value != nil { jtv, ok := value.(string) @@ -10520,6 +10847,7 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.Mapping = types.DolbyVisionMapping(jtv) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -10528,6 +10856,7 @@ func awsRestjson1_deserializeDocumentDolbyVision(v **types.DolbyVision, value in } sv.Profile = types.DolbyVisionProfile(jtv) } + default: _, _ = key, value @@ -10571,6 +10900,7 @@ func awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(v **types.DolbyVi } sv.MaxCll = ptr.Int32(int32(i64)) } + case "maxFall": if value != nil { jtv, ok := value.(json.Number) @@ -10583,6 +10913,7 @@ func awsRestjson1_deserializeDocumentDolbyVisionLevel6Metadata(v **types.DolbyVi } sv.MaxFall = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10626,6 +10957,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkId = ptr.Int32(int32(i64)) } + case "networkName": if value != nil { jtv, ok := value.(string) @@ -10634,6 +10966,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkName = ptr.String(jtv) } + case "nitInterval": if value != nil { jtv, ok := value.(json.Number) @@ -10646,6 +10979,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NitInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10685,6 +11019,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.OutputSdt = types.OutputSdt(jtv) } + case "sdtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -10697,6 +11032,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.SdtInterval = ptr.Int32(int32(i64)) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -10705,6 +11041,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceName = ptr.String(jtv) } + case "serviceProviderName": if value != nil { jtv, ok := value.(string) @@ -10713,6 +11050,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -10752,6 +11090,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Alignment = types.DvbSubtitleAlignment(jtv) } + case "applyFontColor": if value != nil { jtv, ok := value.(string) @@ -10760,6 +11099,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ApplyFontColor = types.DvbSubtitleApplyFontColor(jtv) } + case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -10768,6 +11108,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundColor = types.DvbSubtitleBackgroundColor(jtv) } + case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -10780,6 +11121,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } + case "ddsHandling": if value != nil { jtv, ok := value.(string) @@ -10788,6 +11130,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsHandling = types.DvbddsHandling(jtv) } + case "ddsXCoordinate": if value != nil { jtv, ok := value.(json.Number) @@ -10800,6 +11143,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsXCoordinate = ptr.Int32(int32(i64)) } + case "ddsYCoordinate": if value != nil { jtv, ok := value.(json.Number) @@ -10812,6 +11156,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.DdsYCoordinate = ptr.Int32(int32(i64)) } + case "fallbackFont": if value != nil { jtv, ok := value.(string) @@ -10820,6 +11165,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FallbackFont = types.DvbSubSubtitleFallbackFont(jtv) } + case "fontColor": if value != nil { jtv, ok := value.(string) @@ -10828,6 +11174,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontColor = types.DvbSubtitleFontColor(jtv) } + case "fontFileBold": if value != nil { jtv, ok := value.(string) @@ -10836,6 +11183,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileBold = ptr.String(jtv) } + case "fontFileBoldItalic": if value != nil { jtv, ok := value.(string) @@ -10844,6 +11192,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileBoldItalic = ptr.String(jtv) } + case "fontFileItalic": if value != nil { jtv, ok := value.(string) @@ -10852,6 +11201,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileItalic = ptr.String(jtv) } + case "fontFileRegular": if value != nil { jtv, ok := value.(string) @@ -10860,6 +11210,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontFileRegular = ptr.String(jtv) } + case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -10872,6 +11223,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontOpacity = ptr.Int32(int32(i64)) } + case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -10884,6 +11236,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontResolution = ptr.Int32(int32(i64)) } + case "fontScript": if value != nil { jtv, ok := value.(string) @@ -10892,6 +11245,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontScript = types.FontScript(jtv) } + case "fontSize": if value != nil { jtv, ok := value.(json.Number) @@ -10904,6 +11258,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontSize = ptr.Int32(int32(i64)) } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -10916,6 +11271,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Height = ptr.Int32(int32(i64)) } + case "hexFontColor": if value != nil { jtv, ok := value.(string) @@ -10924,6 +11280,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.HexFontColor = ptr.String(jtv) } + case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -10932,6 +11289,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineColor = types.DvbSubtitleOutlineColor(jtv) } + case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -10944,6 +11302,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineSize = ptr.Int32(int32(i64)) } + case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -10952,6 +11311,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowColor = types.DvbSubtitleShadowColor(jtv) } + case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -10964,6 +11324,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } + case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10976,6 +11337,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } + case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -10988,6 +11350,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } + case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11359,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.StylePassthrough = types.DvbSubtitleStylePassthrough(jtv) } + case "subtitlingType": if value != nil { jtv, ok := value.(string) @@ -11004,6 +11368,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.SubtitlingType = types.DvbSubtitlingType(jtv) } + case "teletextSpacing": if value != nil { jtv, ok := value.(string) @@ -11012,6 +11377,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.TeletextSpacing = types.DvbSubtitleTeletextSpacing(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -11024,6 +11390,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Width = ptr.Int32(int32(i64)) } + case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -11036,6 +11403,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.XPosition = ptr.Int32(int32(i64)) } + case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -11048,6 +11416,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.YPosition = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11091,6 +11460,7 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.Pid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11134,6 +11504,7 @@ func awsRestjson1_deserializeDocumentDvbTdtSettings(v **types.DvbTdtSettings, va } sv.TdtInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11177,6 +11548,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -11185,6 +11557,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.BitstreamMode = types.Eac3AtmosBitstreamMode(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -11193,6 +11566,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.CodingMode = types.Eac3AtmosCodingMode(jtv) } + case "dialogueIntelligence": if value != nil { jtv, ok := value.(string) @@ -11201,6 +11575,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DialogueIntelligence = types.Eac3AtmosDialogueIntelligence(jtv) } + case "downmixControl": if value != nil { jtv, ok := value.(string) @@ -11209,6 +11584,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DownmixControl = types.Eac3AtmosDownmixControl(jtv) } + case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -11217,6 +11593,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeCompressionLine = types.Eac3AtmosDynamicRangeCompressionLine(jtv) } + case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -11225,6 +11602,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeCompressionRf = types.Eac3AtmosDynamicRangeCompressionRf(jtv) } + case "dynamicRangeControl": if value != nil { jtv, ok := value.(string) @@ -11233,6 +11611,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DynamicRangeControl = types.Eac3AtmosDynamicRangeControl(jtv) } + case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11266,6 +11645,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11299,6 +11679,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11332,6 +11713,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11365,6 +11747,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "meteringMode": if value != nil { jtv, ok := value.(string) @@ -11373,6 +11756,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.MeteringMode = types.Eac3AtmosMeteringMode(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -11385,6 +11769,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SampleRate = ptr.Int32(int32(i64)) } + case "speechThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -11397,6 +11782,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SpeechThreshold = ptr.Int32(int32(i64)) } + case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -11405,6 +11791,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.StereoDownmix = types.Eac3AtmosStereoDownmix(jtv) } + case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -11413,6 +11800,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.SurroundExMode = types.Eac3AtmosSurroundExMode(jtv) } + default: _, _ = key, value @@ -11452,6 +11840,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.AttenuationControl = types.Eac3AttenuationControl(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -11464,6 +11853,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -11472,6 +11862,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.BitstreamMode = types.Eac3BitstreamMode(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -11480,6 +11871,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.CodingMode = types.Eac3CodingMode(jtv) } + case "dcFilter": if value != nil { jtv, ok := value.(string) @@ -11488,6 +11880,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DcFilter = types.Eac3DcFilter(jtv) } + case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -11500,6 +11893,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Dialnorm = ptr.Int32(int32(i64)) } + case "dynamicRangeCompressionLine": if value != nil { jtv, ok := value.(string) @@ -11508,6 +11902,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DynamicRangeCompressionLine = types.Eac3DynamicRangeCompressionLine(jtv) } + case "dynamicRangeCompressionRf": if value != nil { jtv, ok := value.(string) @@ -11516,6 +11911,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DynamicRangeCompressionRf = types.Eac3DynamicRangeCompressionRf(jtv) } + case "lfeControl": if value != nil { jtv, ok := value.(string) @@ -11524,6 +11920,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeControl = types.Eac3LfeControl(jtv) } + case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -11532,6 +11929,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeFilter = types.Eac3LfeFilter(jtv) } + case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11565,6 +11963,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11598,6 +11997,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -11631,6 +12031,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -11664,6 +12065,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -11672,6 +12074,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.MetadataControl = types.Eac3MetadataControl(jtv) } + case "passthroughControl": if value != nil { jtv, ok := value.(string) @@ -11680,6 +12083,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PassthroughControl = types.Eac3PassthroughControl(jtv) } + case "phaseControl": if value != nil { jtv, ok := value.(string) @@ -11688,6 +12092,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PhaseControl = types.Eac3PhaseControl(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -11700,6 +12105,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SampleRate = ptr.Int32(int32(i64)) } + case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -11708,6 +12114,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.StereoDownmix = types.Eac3StereoDownmix(jtv) } + case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -11716,6 +12123,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundExMode = types.Eac3SurroundExMode(jtv) } + case "surroundMode": if value != nil { jtv, ok := value.(string) @@ -11724,6 +12132,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundMode = types.Eac3SurroundMode(jtv) } + default: _, _ = key, value @@ -11767,6 +12176,7 @@ func awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(v **types.Embed } sv.Destination608ChannelNumber = ptr.Int32(int32(i64)) } + case "destination708ServiceNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11779,6 +12189,7 @@ func awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(v **types.Embed } sv.Destination708ServiceNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11818,6 +12229,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Convert608To708 = types.EmbeddedConvert608To708(jtv) } + case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11830,6 +12242,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } + case "source608TrackNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11842,6 +12255,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608TrackNumber = ptr.Int32(int32(i64)) } + case "terminateCaptions": if value != nil { jtv, ok := value.(string) @@ -11850,6 +12264,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.TerminateCaptions = types.EmbeddedTerminateCaptions(jtv) } + default: _, _ = key, value @@ -11889,6 +12304,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.SpekeAudioPreset = types.PresetSpeke20Audio(jtv) } + case "spekeVideoPreset": if value != nil { jtv, ok := value.(string) @@ -11897,6 +12313,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.SpekeVideoPreset = types.PresetSpeke20Video(jtv) } + default: _, _ = key, value @@ -11936,6 +12353,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -11975,6 +12393,7 @@ func awsRestjson1_deserializeDocumentEsamManifestConfirmConditionNotification(v } sv.MccXml = ptr.String(jtv) } + default: _, _ = key, value @@ -12010,6 +12429,7 @@ func awsRestjson1_deserializeDocumentEsamSettings(v **types.EsamSettings, value if err := awsRestjson1_deserializeDocumentEsamManifestConfirmConditionNotification(&sv.ManifestConfirmConditionNotification, value); err != nil { return err } + case "responseSignalPreroll": if value != nil { jtv, ok := value.(json.Number) @@ -12022,10 +12442,12 @@ func awsRestjson1_deserializeDocumentEsamSettings(v **types.EsamSettings, value } sv.ResponseSignalPreroll = ptr.Int32(int32(i64)) } + case "signalProcessingNotification": if err := awsRestjson1_deserializeDocumentEsamSignalProcessingNotification(&sv.SignalProcessingNotification, value); err != nil { return err } + default: _, _ = key, value @@ -12065,6 +12487,7 @@ func awsRestjson1_deserializeDocumentEsamSignalProcessingNotification(v **types. } sv.SccXml = ptr.String(jtv) } + default: _, _ = key, value @@ -12104,6 +12527,7 @@ func awsRestjson1_deserializeDocumentExtendedDataServices(v **types.ExtendedData } sv.CopyProtectionAction = types.CopyProtectionAction(jtv) } + case "vchipAction": if value != nil { jtv, ok := value.(string) @@ -12112,6 +12536,7 @@ func awsRestjson1_deserializeDocumentExtendedDataServices(v **types.ExtendedData } sv.VchipAction = types.VchipAction(jtv) } + default: _, _ = key, value @@ -12151,6 +12576,7 @@ func awsRestjson1_deserializeDocumentF4vSettings(v **types.F4vSettings, value in } sv.MoovPlacement = types.F4vMoovPlacement(jtv) } + default: _, _ = key, value @@ -12190,10 +12616,12 @@ func awsRestjson1_deserializeDocumentFileGroupSettings(v **types.FileGroupSettin } sv.Destination = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -12233,6 +12661,7 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.ByteRateLimit = types.CaptionSourceByteRateLimit(jtv) } + case "convert608To708": if value != nil { jtv, ok := value.(string) @@ -12241,6 +12670,7 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.Convert608To708 = types.FileSourceConvert608To708(jtv) } + case "convertPaintToPop": if value != nil { jtv, ok := value.(string) @@ -12249,10 +12679,12 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.ConvertPaintToPop = types.CaptionSourceConvertPaintOnToPopOn(jtv) } + case "framerate": if err := awsRestjson1_deserializeDocumentCaptionSourceFramerate(&sv.Framerate, value); err != nil { return err } + case "sourceFile": if value != nil { jtv, ok := value.(string) @@ -12261,6 +12693,7 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.SourceFile = ptr.String(jtv) } + case "timeDelta": if value != nil { jtv, ok := value.(json.Number) @@ -12273,6 +12706,7 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.TimeDelta = ptr.Int32(int32(i64)) } + case "timeDeltaUnits": if value != nil { jtv, ok := value.(string) @@ -12281,6 +12715,7 @@ func awsRestjson1_deserializeDocumentFileSourceSettings(v **types.FileSourceSett } sv.TimeDeltaUnits = types.FileSourceTimeDeltaUnits(jtv) } + default: _, _ = key, value @@ -12324,6 +12759,7 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.BitDepth = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -12336,6 +12772,7 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.Channels = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -12348,6 +12785,7 @@ func awsRestjson1_deserializeDocumentFlacSettings(v **types.FlacSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12387,6 +12825,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12430,6 +12869,7 @@ func awsRestjson1_deserializeDocumentForceIncludeRenditionSize(v **types.ForceIn } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -12442,6 +12882,7 @@ func awsRestjson1_deserializeDocumentForceIncludeRenditionSize(v **types.ForceIn } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12485,6 +12926,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -12497,6 +12939,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "maxCaptures": if value != nil { jtv, ok := value.(json.Number) @@ -12509,6 +12952,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.MaxCaptures = ptr.Int32(int32(i64)) } + case "quality": if value != nil { jtv, ok := value.(json.Number) @@ -12521,6 +12965,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.Quality = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12564,6 +13009,7 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } sv.MaxAverageBitrate = ptr.Int32(int32(i64)) } + case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -12576,6 +13022,7 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -12609,6 +13056,7 @@ func awsRestjson1_deserializeDocumentH264QvbrSettings(v **types.H264QvbrSettings } } + default: _, _ = key, value @@ -12648,10 +13096,12 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AdaptiveQuantization = types.H264AdaptiveQuantization(jtv) } + case "bandwidthReductionFilter": if err := awsRestjson1_deserializeDocumentBandwidthReductionFilter(&sv.BandwidthReductionFilter, value); err != nil { return err } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -12664,6 +13114,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -12672,6 +13123,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.CodecLevel = types.H264CodecLevel(jtv) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -12680,6 +13132,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.CodecProfile = types.H264CodecProfile(jtv) } + case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -12688,6 +13141,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.DynamicSubGop = types.H264DynamicSubGop(jtv) } + case "endOfStreamMarkers": if value != nil { jtv, ok := value.(string) @@ -12696,6 +13150,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EndOfStreamMarkers = types.H264EndOfStreamMarkers(jtv) } + case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -12704,6 +13159,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EntropyEncoding = types.H264EntropyEncoding(jtv) } + case "fieldEncoding": if value != nil { jtv, ok := value.(string) @@ -12712,6 +13168,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FieldEncoding = types.H264FieldEncoding(jtv) } + case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -12720,6 +13177,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FlickerAdaptiveQuantization = types.H264FlickerAdaptiveQuantization(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -12728,6 +13186,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateControl = types.H264FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -12736,6 +13195,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateConversionAlgorithm = types.H264FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -12748,6 +13208,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -12760,6 +13221,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -12768,6 +13230,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopBReference = types.H264GopBReference(jtv) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -12780,6 +13243,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -12813,6 +13277,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -12821,6 +13286,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopSizeUnits = types.H264GopSizeUnits(jtv) } + case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -12833,6 +13299,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -12845,6 +13312,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -12857,6 +13325,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -12865,6 +13334,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.InterlaceMode = types.H264InterlaceMode(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -12877,6 +13347,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -12889,6 +13360,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -12901,6 +13373,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } + case "numberReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -12913,6 +13386,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumberReferenceFrames = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -12921,6 +13395,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParControl = types.H264ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -12933,6 +13408,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -12945,6 +13421,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -12953,10 +13430,12 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QualityTuningLevel = types.H264QualityTuningLevel(jtv) } + case "qvbrSettings": if err := awsRestjson1_deserializeDocumentH264QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -12965,6 +13444,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RateControlMode = types.H264RateControlMode(jtv) } + case "repeatPps": if value != nil { jtv, ok := value.(string) @@ -12973,6 +13453,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RepeatPps = types.H264RepeatPps(jtv) } + case "saliencyAwareEncoding": if value != nil { jtv, ok := value.(string) @@ -12981,6 +13462,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SaliencyAwareEncoding = types.H264SaliencyAwareEncoding(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -12989,6 +13471,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ScanTypeConversionMode = types.H264ScanTypeConversionMode(jtv) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -12997,6 +13480,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SceneChangeDetect = types.H264SceneChangeDetect(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -13009,6 +13493,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Slices = ptr.Int32(int32(i64)) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -13017,6 +13502,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SlowPal = types.H264SlowPal(jtv) } + case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -13029,6 +13515,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Softness = ptr.Int32(int32(i64)) } + case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13037,6 +13524,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SpatialAdaptiveQuantization = types.H264SpatialAdaptiveQuantization(jtv) } + case "syntax": if value != nil { jtv, ok := value.(string) @@ -13045,6 +13533,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Syntax = types.H264Syntax(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -13053,6 +13542,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Telecine = types.H264Telecine(jtv) } + case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13061,6 +13551,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TemporalAdaptiveQuantization = types.H264TemporalAdaptiveQuantization(jtv) } + case "unregisteredSeiTimecode": if value != nil { jtv, ok := value.(string) @@ -13069,6 +13560,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.UnregisteredSeiTimecode = types.H264UnregisteredSeiTimecode(jtv) } + default: _, _ = key, value @@ -13112,6 +13604,7 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } sv.MaxAverageBitrate = ptr.Int32(int32(i64)) } + case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -13124,6 +13617,7 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "qvbrQualityLevelFineTune": if value != nil { switch jtv := value.(type) { @@ -13157,6 +13651,7 @@ func awsRestjson1_deserializeDocumentH265QvbrSettings(v **types.H265QvbrSettings } } + default: _, _ = key, value @@ -13196,6 +13691,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AdaptiveQuantization = types.H265AdaptiveQuantization(jtv) } + case "alternateTransferFunctionSei": if value != nil { jtv, ok := value.(string) @@ -13204,10 +13700,12 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AlternateTransferFunctionSei = types.H265AlternateTransferFunctionSei(jtv) } + case "bandwidthReductionFilter": if err := awsRestjson1_deserializeDocumentBandwidthReductionFilter(&sv.BandwidthReductionFilter, value); err != nil { return err } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13220,6 +13718,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -13228,6 +13727,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.CodecLevel = types.H265CodecLevel(jtv) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13736,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.CodecProfile = types.H265CodecProfile(jtv) } + case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -13244,6 +13745,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.DynamicSubGop = types.H265DynamicSubGop(jtv) } + case "endOfStreamMarkers": if value != nil { jtv, ok := value.(string) @@ -13252,6 +13754,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.EndOfStreamMarkers = types.H265EndOfStreamMarkers(jtv) } + case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13260,6 +13763,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FlickerAdaptiveQuantization = types.H265FlickerAdaptiveQuantization(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -13268,6 +13772,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateControl = types.H265FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -13276,6 +13781,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateConversionAlgorithm = types.H265FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -13288,6 +13794,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -13300,6 +13807,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -13308,6 +13816,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopBReference = types.H265GopBReference(jtv) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -13320,6 +13829,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -13353,6 +13863,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -13361,6 +13872,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopSizeUnits = types.H265GopSizeUnits(jtv) } + case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13373,6 +13885,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13385,6 +13898,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -13397,6 +13911,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -13405,6 +13920,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.InterlaceMode = types.H265InterlaceMode(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -13417,6 +13933,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -13429,6 +13946,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13441,6 +13959,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } + case "numberReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -13453,6 +13972,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.NumberReferenceFrames = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -13461,6 +13981,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParControl = types.H265ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -13473,6 +13994,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -13485,6 +14007,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -13493,10 +14016,12 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.QualityTuningLevel = types.H265QualityTuningLevel(jtv) } + case "qvbrSettings": if err := awsRestjson1_deserializeDocumentH265QvbrSettings(&sv.QvbrSettings, value); err != nil { return err } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -13505,6 +14030,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.RateControlMode = types.H265RateControlMode(jtv) } + case "sampleAdaptiveOffsetFilterMode": if value != nil { jtv, ok := value.(string) @@ -13513,6 +14039,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SampleAdaptiveOffsetFilterMode = types.H265SampleAdaptiveOffsetFilterMode(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -13521,6 +14048,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ScanTypeConversionMode = types.H265ScanTypeConversionMode(jtv) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -13529,6 +14057,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SceneChangeDetect = types.H265SceneChangeDetect(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -13541,6 +14070,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Slices = ptr.Int32(int32(i64)) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -13549,6 +14079,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SlowPal = types.H265SlowPal(jtv) } + case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13557,6 +14088,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SpatialAdaptiveQuantization = types.H265SpatialAdaptiveQuantization(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -13565,6 +14097,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Telecine = types.H265Telecine(jtv) } + case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -13573,6 +14106,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TemporalAdaptiveQuantization = types.H265TemporalAdaptiveQuantization(jtv) } + case "temporalIds": if value != nil { jtv, ok := value.(string) @@ -13581,6 +14115,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TemporalIds = types.H265TemporalIds(jtv) } + case "tiles": if value != nil { jtv, ok := value.(string) @@ -13589,6 +14124,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Tiles = types.H265Tiles(jtv) } + case "unregisteredSeiTimecode": if value != nil { jtv, ok := value.(string) @@ -13597,6 +14133,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.UnregisteredSeiTimecode = types.H265UnregisteredSeiTimecode(jtv) } + case "writeMp4PackagingType": if value != nil { jtv, ok := value.(string) @@ -13605,6 +14142,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.WriteMp4PackagingType = types.H265WriteMp4PackagingType(jtv) } + default: _, _ = key, value @@ -13648,6 +14186,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.BluePrimaryX = ptr.Int32(int32(i64)) } + case "bluePrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -13660,6 +14199,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.BluePrimaryY = ptr.Int32(int32(i64)) } + case "greenPrimaryX": if value != nil { jtv, ok := value.(json.Number) @@ -13672,6 +14212,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.GreenPrimaryX = ptr.Int32(int32(i64)) } + case "greenPrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -13684,6 +14225,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.GreenPrimaryY = ptr.Int32(int32(i64)) } + case "maxContentLightLevel": if value != nil { jtv, ok := value.(json.Number) @@ -13696,6 +14238,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxContentLightLevel = ptr.Int32(int32(i64)) } + case "maxFrameAverageLightLevel": if value != nil { jtv, ok := value.(json.Number) @@ -13708,6 +14251,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxFrameAverageLightLevel = ptr.Int32(int32(i64)) } + case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -13720,6 +14264,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MaxLuminance = ptr.Int32(int32(i64)) } + case "minLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -13732,6 +14277,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.MinLuminance = ptr.Int32(int32(i64)) } + case "redPrimaryX": if value != nil { jtv, ok := value.(json.Number) @@ -13744,6 +14290,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.RedPrimaryX = ptr.Int32(int32(i64)) } + case "redPrimaryY": if value != nil { jtv, ok := value.(json.Number) @@ -13756,6 +14303,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.RedPrimaryY = ptr.Int32(int32(i64)) } + case "whitePointX": if value != nil { jtv, ok := value.(json.Number) @@ -13768,6 +14316,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.WhitePointX = ptr.Int32(int32(i64)) } + case "whitePointY": if value != nil { jtv, ok := value.(json.Number) @@ -13780,6 +14329,7 @@ func awsRestjson1_deserializeDocumentHdr10Metadata(v **types.Hdr10Metadata, valu } sv.WhitePointY = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13823,6 +14373,7 @@ func awsRestjson1_deserializeDocumentHdr10Plus(v **types.Hdr10Plus, value interf } sv.MasteringMonitorNits = ptr.Int32(int32(i64)) } + case "targetMonitorNits": if value != nil { jtv, ok := value.(json.Number) @@ -13835,6 +14386,7 @@ func awsRestjson1_deserializeDocumentHdr10Plus(v **types.Hdr10Plus, value interf } sv.TargetMonitorNits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13874,10 +14426,12 @@ func awsRestjson1_deserializeDocumentHlsAdditionalManifest(v **types.HlsAddition } sv.ManifestNameModifier = ptr.String(jtv) } + case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -13921,6 +14475,7 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.CaptionChannel = ptr.Int32(int32(i64)) } + case "customLanguageCode": if value != nil { jtv, ok := value.(string) @@ -13929,6 +14484,7 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.CustomLanguageCode = ptr.String(jtv) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -13937,6 +14493,7 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.LanguageCode = types.LanguageCode(jtv) } + case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -13945,6 +14502,7 @@ func awsRestjson1_deserializeDocumentHlsCaptionLanguageMapping(v **types.HlsCapt } sv.LanguageDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -13984,6 +14542,7 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.ConstantInitializationVector = ptr.String(jtv) } + case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -13992,6 +14551,7 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.EncryptionMethod = types.HlsEncryptionType(jtv) } + case "initializationVectorInManifest": if value != nil { jtv, ok := value.(string) @@ -14000,6 +14560,7 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.InitializationVectorInManifest = types.HlsInitializationVectorInManifest(jtv) } + case "offlineEncrypted": if value != nil { jtv, ok := value.(string) @@ -14008,14 +14569,17 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.OfflineEncrypted = types.HlsOfflineEncrypted(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + case "staticKeyProvider": if err := awsRestjson1_deserializeDocumentStaticKeyProvider(&sv.StaticKeyProvider, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -14024,6 +14588,7 @@ func awsRestjson1_deserializeDocumentHlsEncryptionSettings(v **types.HlsEncrypti } sv.Type = types.HlsKeyProviderType(jtv) } + default: _, _ = key, value @@ -14059,10 +14624,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings if err := awsRestjson1_deserializeDocument__listOfHlsAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } + case "adMarkers": if err := awsRestjson1_deserializeDocument__listOfHlsAdMarkers(&sv.AdMarkers, value); err != nil { return err } + case "audioOnlyHeader": if value != nil { jtv, ok := value.(string) @@ -14071,6 +14638,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.AudioOnlyHeader = types.HlsAudioOnlyHeader(jtv) } + case "baseUrl": if value != nil { jtv, ok := value.(string) @@ -14079,10 +14647,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrl = ptr.String(jtv) } + case "captionLanguageMappings": if err := awsRestjson1_deserializeDocument__listOfHlsCaptionLanguageMapping(&sv.CaptionLanguageMappings, value); err != nil { return err } + case "captionLanguageSetting": if value != nil { jtv, ok := value.(string) @@ -14091,6 +14661,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionLanguageSetting = types.HlsCaptionLanguageSetting(jtv) } + case "captionSegmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -14099,6 +14670,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionSegmentLengthControl = types.HlsCaptionSegmentLengthControl(jtv) } + case "clientCache": if value != nil { jtv, ok := value.(string) @@ -14107,6 +14679,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ClientCache = types.HlsClientCache(jtv) } + case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -14115,6 +14688,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CodecSpecification = types.HlsCodecSpecification(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -14123,10 +14697,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.Destination = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "directoryStructure": if value != nil { jtv, ok := value.(string) @@ -14135,10 +14711,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DirectoryStructure = types.HlsDirectoryStructure(jtv) } + case "encryption": if err := awsRestjson1_deserializeDocumentHlsEncryptionSettings(&sv.Encryption, value); err != nil { return err } + case "imageBasedTrickPlay": if value != nil { jtv, ok := value.(string) @@ -14147,10 +14725,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ImageBasedTrickPlay = types.HlsImageBasedTrickPlay(jtv) } + case "imageBasedTrickPlaySettings": if err := awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(&sv.ImageBasedTrickPlaySettings, value); err != nil { return err } + case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -14159,6 +14739,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestCompression = types.HlsManifestCompression(jtv) } + case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -14167,6 +14748,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestDurationFormat = types.HlsManifestDurationFormat(jtv) } + case "minFinalSegmentLength": if value != nil { switch jtv := value.(type) { @@ -14200,6 +14782,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } } + case "minSegmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -14212,6 +14795,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.MinSegmentLength = ptr.Int32(int32(i64)) } + case "outputSelection": if value != nil { jtv, ok := value.(string) @@ -14220,6 +14804,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.OutputSelection = types.HlsOutputSelection(jtv) } + case "programDateTime": if value != nil { jtv, ok := value.(string) @@ -14228,6 +14813,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTime = types.HlsProgramDateTime(jtv) } + case "programDateTimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -14240,6 +14826,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimePeriod = ptr.Int32(int32(i64)) } + case "progressiveWriteHlsManifest": if value != nil { jtv, ok := value.(string) @@ -14248,6 +14835,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgressiveWriteHlsManifest = types.HlsProgressiveWriteHlsManifest(jtv) } + case "segmentControl": if value != nil { jtv, ok := value.(string) @@ -14256,6 +14844,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentControl = types.HlsSegmentControl(jtv) } + case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -14268,6 +14857,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLength = ptr.Int32(int32(i64)) } + case "segmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -14276,6 +14866,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLengthControl = types.HlsSegmentLengthControl(jtv) } + case "segmentsPerSubdirectory": if value != nil { jtv, ok := value.(json.Number) @@ -14288,6 +14879,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentsPerSubdirectory = ptr.Int32(int32(i64)) } + case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -14296,6 +14888,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.StreamInfResolution = types.HlsStreamInfResolution(jtv) } + case "targetDurationCompatibilityMode": if value != nil { jtv, ok := value.(string) @@ -14304,6 +14897,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TargetDurationCompatibilityMode = types.HlsTargetDurationCompatibilityMode(jtv) } + case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -14312,6 +14906,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Frame = types.HlsTimedMetadataId3Frame(jtv) } + case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -14324,6 +14919,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } + case "timestampDeltaMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -14336,6 +14932,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimestampDeltaMilliseconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14375,6 +14972,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.IntervalCadence = types.HlsIntervalCadence(jtv) } + case "thumbnailHeight": if value != nil { jtv, ok := value.(json.Number) @@ -14387,6 +14985,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.ThumbnailHeight = ptr.Int32(int32(i64)) } + case "thumbnailInterval": if value != nil { switch jtv := value.(type) { @@ -14420,6 +15019,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } } + case "thumbnailWidth": if value != nil { jtv, ok := value.(json.Number) @@ -14432,6 +15032,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.ThumbnailWidth = ptr.Int32(int32(i64)) } + case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -14444,6 +15045,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.TileHeight = ptr.Int32(int32(i64)) } + case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -14456,6 +15058,7 @@ func awsRestjson1_deserializeDocumentHlsImageBasedTrickPlaySettings(v **types.Hl } sv.TileWidth = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14495,6 +15098,7 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionGroupId = ptr.String(jtv) } + case "renditionLanguageCode": if value != nil { jtv, ok := value.(string) @@ -14503,6 +15107,7 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionLanguageCode = types.LanguageCode(jtv) } + case "renditionName": if value != nil { jtv, ok := value.(string) @@ -14511,6 +15116,7 @@ func awsRestjson1_deserializeDocumentHlsRenditionGroupSettings(v **types.HlsRend } sv.RenditionName = ptr.String(jtv) } + default: _, _ = key, value @@ -14550,6 +15156,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioGroupId = ptr.String(jtv) } + case "audioOnlyContainer": if value != nil { jtv, ok := value.(string) @@ -14558,6 +15165,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioOnlyContainer = types.HlsAudioOnlyContainer(jtv) } + case "audioRenditionSets": if value != nil { jtv, ok := value.(string) @@ -14566,6 +15174,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioRenditionSets = ptr.String(jtv) } + case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -14574,6 +15183,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.AudioTrackType = types.HlsAudioTrackType(jtv) } + case "descriptiveVideoServiceFlag": if value != nil { jtv, ok := value.(string) @@ -14582,6 +15192,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.DescriptiveVideoServiceFlag = types.HlsDescriptiveVideoServiceFlag(jtv) } + case "iFrameOnlyManifest": if value != nil { jtv, ok := value.(string) @@ -14590,6 +15201,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.IFrameOnlyManifest = types.HlsIFrameOnlyManifest(jtv) } + case "segmentModifier": if value != nil { jtv, ok := value.(string) @@ -14598,6 +15210,7 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in } sv.SegmentModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -14641,6 +15254,7 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.Priority = ptr.Int32(int32(i64)) } + case "queue": if value != nil { jtv, ok := value.(string) @@ -14649,6 +15263,7 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.Queue = ptr.String(jtv) } + case "waitMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -14661,6 +15276,7 @@ func awsRestjson1_deserializeDocumentHopDestination(v **types.HopDestination, va } sv.WaitMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14700,6 +15316,7 @@ func awsRestjson1_deserializeDocumentId3Insertion(v **types.Id3Insertion, value } sv.Id3 = ptr.String(jtv) } + case "timecode": if value != nil { jtv, ok := value.(string) @@ -14708,6 +15325,7 @@ func awsRestjson1_deserializeDocumentId3Insertion(v **types.Id3Insertion, value } sv.Timecode = ptr.String(jtv) } + default: _, _ = key, value @@ -14743,6 +15361,7 @@ func awsRestjson1_deserializeDocumentImageInserter(v **types.ImageInserter, valu if err := awsRestjson1_deserializeDocument__listOfInsertableImage(&sv.InsertableImages, value); err != nil { return err } + case "sdrReferenceWhiteLevel": if value != nil { jtv, ok := value.(json.Number) @@ -14755,6 +15374,7 @@ func awsRestjson1_deserializeDocumentImageInserter(v **types.ImageInserter, valu } sv.SdrReferenceWhiteLevel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14794,6 +15414,7 @@ func awsRestjson1_deserializeDocumentImscDestinationSettings(v **types.ImscDesti } sv.Accessibility = types.ImscAccessibilitySubs(jtv) } + case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -14802,6 +15423,7 @@ func awsRestjson1_deserializeDocumentImscDestinationSettings(v **types.ImscDesti } sv.StylePassthrough = types.ImscStylePassthrough(jtv) } + default: _, _ = key, value @@ -14841,26 +15463,32 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.AdvancedInputFilter = types.AdvancedInputFilter(jtv) } + case "advancedInputFilterSettings": if err := awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(&sv.AdvancedInputFilterSettings, value); err != nil { return err } + case "audioSelectorGroups": if err := awsRestjson1_deserializeDocument__mapOfAudioSelectorGroup(&sv.AudioSelectorGroups, value); err != nil { return err } + case "audioSelectors": if err := awsRestjson1_deserializeDocument__mapOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } + case "captionSelectors": if err := awsRestjson1_deserializeDocument__mapOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } + case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } + case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -14869,10 +15497,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DeblockFilter = types.InputDeblockFilter(jtv) } + case "decryptionSettings": if err := awsRestjson1_deserializeDocumentInputDecryptionSettings(&sv.DecryptionSettings, value); err != nil { return err } + case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -14881,6 +15511,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } + case "dolbyVisionMetadataXml": if value != nil { jtv, ok := value.(string) @@ -14889,6 +15520,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.DolbyVisionMetadataXml = ptr.String(jtv) } + case "fileInput": if value != nil { jtv, ok := value.(string) @@ -14897,6 +15529,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FileInput = ptr.String(jtv) } + case "filterEnable": if value != nil { jtv, ok := value.(string) @@ -14905,6 +15538,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FilterEnable = types.InputFilterEnable(jtv) } + case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -14917,14 +15551,17 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.FilterStrength = ptr.Int32(int32(i64)) } + case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } + case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfInputClipping(&sv.InputClippings, value); err != nil { return err } + case "inputScanType": if value != nil { jtv, ok := value.(string) @@ -14933,10 +15570,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputScanType = types.InputScanType(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14949,6 +15588,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "psiControl": if value != nil { jtv, ok := value.(string) @@ -14957,10 +15597,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.PsiControl = types.InputPsiControl(jtv) } + case "supplementalImps": if err := awsRestjson1_deserializeDocument__listOf__stringPatternS3ASSETMAPXml(&sv.SupplementalImps, value); err != nil { return err } + case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -14969,6 +15611,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.TimecodeSource = types.InputTimecodeSource(jtv) } + case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -14977,18 +15620,22 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.TimecodeStart = ptr.String(jtv) } + case "videoGenerator": if err := awsRestjson1_deserializeDocumentInputVideoGenerator(&sv.VideoGenerator, value); err != nil { return err } + case "videoOverlays": if err := awsRestjson1_deserializeDocument__listOfVideoOverlay(&sv.VideoOverlays, value); err != nil { return err } + case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } + default: _, _ = key, value @@ -15028,6 +15675,7 @@ func awsRestjson1_deserializeDocumentInputClipping(v **types.InputClipping, valu } sv.EndTimecode = ptr.String(jtv) } + case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -15036,6 +15684,7 @@ func awsRestjson1_deserializeDocumentInputClipping(v **types.InputClipping, valu } sv.StartTimecode = ptr.String(jtv) } + default: _, _ = key, value @@ -15075,6 +15724,7 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.DecryptionMode = types.DecryptionMode(jtv) } + case "encryptedDecryptionKey": if value != nil { jtv, ok := value.(string) @@ -15083,6 +15733,7 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.EncryptedDecryptionKey = ptr.String(jtv) } + case "initializationVector": if value != nil { jtv, ok := value.(string) @@ -15091,6 +15742,7 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.InitializationVector = ptr.String(jtv) } + case "kmsKeyRegion": if value != nil { jtv, ok := value.(string) @@ -15099,6 +15751,7 @@ func awsRestjson1_deserializeDocumentInputDecryptionSettings(v **types.InputDecr } sv.KmsKeyRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -15138,26 +15791,32 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.AdvancedInputFilter = types.AdvancedInputFilter(jtv) } + case "advancedInputFilterSettings": if err := awsRestjson1_deserializeDocumentAdvancedInputFilterSettings(&sv.AdvancedInputFilterSettings, value); err != nil { return err } + case "audioSelectorGroups": if err := awsRestjson1_deserializeDocument__mapOfAudioSelectorGroup(&sv.AudioSelectorGroups, value); err != nil { return err } + case "audioSelectors": if err := awsRestjson1_deserializeDocument__mapOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } + case "captionSelectors": if err := awsRestjson1_deserializeDocument__mapOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } + case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } + case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -15166,6 +15825,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DeblockFilter = types.InputDeblockFilter(jtv) } + case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -15174,6 +15834,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } + case "dolbyVisionMetadataXml": if value != nil { jtv, ok := value.(string) @@ -15182,6 +15843,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.DolbyVisionMetadataXml = ptr.String(jtv) } + case "filterEnable": if value != nil { jtv, ok := value.(string) @@ -15190,6 +15852,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.FilterEnable = types.InputFilterEnable(jtv) } + case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -15202,14 +15865,17 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.FilterStrength = ptr.Int32(int32(i64)) } + case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } + case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfInputClipping(&sv.InputClippings, value); err != nil { return err } + case "inputScanType": if value != nil { jtv, ok := value.(string) @@ -15218,10 +15884,12 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.InputScanType = types.InputScanType(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15234,6 +15902,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "psiControl": if value != nil { jtv, ok := value.(string) @@ -15242,6 +15911,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.PsiControl = types.InputPsiControl(jtv) } + case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -15250,6 +15920,7 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.TimecodeSource = types.InputTimecodeSource(jtv) } + case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -15258,14 +15929,17 @@ func awsRestjson1_deserializeDocumentInputTemplate(v **types.InputTemplate, valu } sv.TimecodeStart = ptr.String(jtv) } + case "videoOverlays": if err := awsRestjson1_deserializeDocument__listOfVideoOverlay(&sv.VideoOverlays, value); err != nil { return err } + case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } + default: _, _ = key, value @@ -15309,6 +15983,7 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.Channels = ptr.Int32(int32(i64)) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -15321,6 +15996,7 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.Duration = ptr.Int32(int32(i64)) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -15333,6 +16009,7 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -15345,6 +16022,7 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -15357,6 +16035,7 @@ func awsRestjson1_deserializeDocumentInputVideoGenerator(v **types.InputVideoGen } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15400,6 +16079,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Duration = ptr.Int32(int32(i64)) } + case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -15412,6 +16092,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.FadeIn = ptr.Int32(int32(i64)) } + case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -15424,6 +16105,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.FadeOut = ptr.Int32(int32(i64)) } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -15436,6 +16118,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Height = ptr.Int32(int32(i64)) } + case "imageInserterInput": if value != nil { jtv, ok := value.(string) @@ -15444,6 +16127,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageInserterInput = ptr.String(jtv) } + case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -15456,6 +16140,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageX = ptr.Int32(int32(i64)) } + case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -15468,6 +16153,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.ImageY = ptr.Int32(int32(i64)) } + case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -15480,6 +16166,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Layer = ptr.Int32(int32(i64)) } + case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -15492,6 +16179,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Opacity = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -15500,6 +16188,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.StartTime = ptr.String(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -15512,6 +16201,7 @@ func awsRestjson1_deserializeDocumentInsertableImage(v **types.InsertableImage, } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15551,6 +16241,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15586,6 +16277,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error if err := awsRestjson1_deserializeDocumentAccelerationSettings(&sv.AccelerationSettings, value); err != nil { return err } + case "accelerationStatus": if value != nil { jtv, ok := value.(string) @@ -15594,6 +16286,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.AccelerationStatus = types.AccelerationStatus(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -15602,6 +16295,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "billingTagsSource": if value != nil { jtv, ok := value.(string) @@ -15610,6 +16304,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.BillingTagsSource = types.BillingTagsSource(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -15618,6 +16313,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15633,6 +16329,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } } + case "currentPhase": if value != nil { jtv, ok := value.(string) @@ -15641,6 +16338,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CurrentPhase = types.JobPhase(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(json.Number) @@ -15653,6 +16351,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ErrorCode = ptr.Int32(int32(i64)) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -15661,10 +16360,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.ErrorMessage = ptr.String(jtv) } + case "hopDestinations": if err := awsRestjson1_deserializeDocument__listOfHopDestination(&sv.HopDestinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -15673,6 +16374,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Id = ptr.String(jtv) } + case "jobEngineVersionRequested": if value != nil { jtv, ok := value.(string) @@ -15681,6 +16383,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobEngineVersionRequested = ptr.String(jtv) } + case "jobEngineVersionUsed": if value != nil { jtv, ok := value.(string) @@ -15689,6 +16392,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobEngineVersionUsed = ptr.String(jtv) } + case "jobPercentComplete": if value != nil { jtv, ok := value.(json.Number) @@ -15701,6 +16405,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobPercentComplete = ptr.Int32(int32(i64)) } + case "jobTemplate": if value != nil { jtv, ok := value.(string) @@ -15709,14 +16414,17 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobTemplate = ptr.String(jtv) } + case "messages": if err := awsRestjson1_deserializeDocumentJobMessages(&sv.Messages, value); err != nil { return err } + case "outputGroupDetails": if err := awsRestjson1_deserializeDocument__listOfOutputGroupDetail(&sv.OutputGroupDetails, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -15729,6 +16437,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Priority = ptr.Int32(int32(i64)) } + case "queue": if value != nil { jtv, ok := value.(string) @@ -15737,10 +16446,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Queue = ptr.String(jtv) } + case "queueTransitions": if err := awsRestjson1_deserializeDocument__listOfQueueTransition(&sv.QueueTransitions, value); err != nil { return err } + case "retryCount": if value != nil { jtv, ok := value.(json.Number) @@ -15753,6 +16464,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.RetryCount = ptr.Int32(int32(i64)) } + case "role": if value != nil { jtv, ok := value.(string) @@ -15761,10 +16473,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Role = ptr.String(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentJobSettings(&sv.Settings, value); err != nil { return err } + case "simulateReservedQueue": if value != nil { jtv, ok := value.(string) @@ -15773,6 +16487,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.SimulateReservedQueue = types.SimulateReservedQueue(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15781,6 +16496,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } + case "statusUpdateInterval": if value != nil { jtv, ok := value.(string) @@ -15789,18 +16505,22 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.StatusUpdateInterval = types.StatusUpdateInterval(jtv) } + case "timing": if err := awsRestjson1_deserializeDocumentTiming(&sv.Timing, value); err != nil { return err } + case "userMetadata": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.UserMetadata, value); err != nil { return err } + case "warnings": if err := awsRestjson1_deserializeDocument__listOfWarningGroup(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -15847,6 +16567,7 @@ func awsRestjson1_deserializeDocumentJobEngineVersion(v **types.JobEngineVersion } } + case "version": if value != nil { jtv, ok := value.(string) @@ -15855,6 +16576,7 @@ func awsRestjson1_deserializeDocumentJobEngineVersion(v **types.JobEngineVersion } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15890,10 +16612,12 @@ func awsRestjson1_deserializeDocumentJobMessages(v **types.JobMessages, value in if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Info, value); err != nil { return err } + case "warning": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Warning, value); err != nil { return err } + default: _, _ = key, value @@ -15937,22 +16661,27 @@ func awsRestjson1_deserializeDocumentJobSettings(v **types.JobSettings, value in } sv.AdAvailOffset = ptr.Int32(int32(i64)) } + case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } + case "colorConversion3DLUTSettings": if err := awsRestjson1_deserializeDocument__listOfColorConversion3DLUTSetting(&sv.ColorConversion3DLUTSettings, value); err != nil { return err } + case "esam": if err := awsRestjson1_deserializeDocumentEsamSettings(&sv.Esam, value); err != nil { return err } + case "extendedDataServices": if err := awsRestjson1_deserializeDocumentExtendedDataServices(&sv.ExtendedDataServices, value); err != nil { return err } + case "followSource": if value != nil { jtv, ok := value.(json.Number) @@ -15965,38 +16694,47 @@ func awsRestjson1_deserializeDocumentJobSettings(v **types.JobSettings, value in } sv.FollowSource = ptr.Int32(int32(i64)) } + case "inputs": if err := awsRestjson1_deserializeDocument__listOfInput(&sv.Inputs, value); err != nil { return err } + case "kantarWatermark": if err := awsRestjson1_deserializeDocumentKantarWatermarkSettings(&sv.KantarWatermark, value); err != nil { return err } + case "motionImageInserter": if err := awsRestjson1_deserializeDocumentMotionImageInserter(&sv.MotionImageInserter, value); err != nil { return err } + case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } + case "nielsenNonLinearWatermark": if err := awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(&sv.NielsenNonLinearWatermark, value); err != nil { return err } + case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } + case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } + case "timedMetadataInsertion": if err := awsRestjson1_deserializeDocumentTimedMetadataInsertion(&sv.TimedMetadataInsertion, value); err != nil { return err } + default: _, _ = key, value @@ -16032,6 +16770,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in if err := awsRestjson1_deserializeDocumentAccelerationSettings(&sv.AccelerationSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -16040,6 +16779,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Arn = ptr.String(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -16048,6 +16788,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Category = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16063,6 +16804,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16071,10 +16813,12 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Description = ptr.String(jtv) } + case "hopDestinations": if err := awsRestjson1_deserializeDocument__listOfHopDestination(&sv.HopDestinations, value); err != nil { return err } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -16090,6 +16834,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } } + case "name": if value != nil { jtv, ok := value.(string) @@ -16098,6 +16843,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -16110,6 +16856,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Priority = ptr.Int32(int32(i64)) } + case "queue": if value != nil { jtv, ok := value.(string) @@ -16118,10 +16865,12 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Queue = ptr.String(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentJobTemplateSettings(&sv.Settings, value); err != nil { return err } + case "statusUpdateInterval": if value != nil { jtv, ok := value.(string) @@ -16130,6 +16879,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.StatusUpdateInterval = types.StatusUpdateInterval(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16138,6 +16888,7 @@ func awsRestjson1_deserializeDocumentJobTemplate(v **types.JobTemplate, value in } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -16181,22 +16932,27 @@ func awsRestjson1_deserializeDocumentJobTemplateSettings(v **types.JobTemplateSe } sv.AdAvailOffset = ptr.Int32(int32(i64)) } + case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } + case "colorConversion3DLUTSettings": if err := awsRestjson1_deserializeDocument__listOfColorConversion3DLUTSetting(&sv.ColorConversion3DLUTSettings, value); err != nil { return err } + case "esam": if err := awsRestjson1_deserializeDocumentEsamSettings(&sv.Esam, value); err != nil { return err } + case "extendedDataServices": if err := awsRestjson1_deserializeDocumentExtendedDataServices(&sv.ExtendedDataServices, value); err != nil { return err } + case "followSource": if value != nil { jtv, ok := value.(json.Number) @@ -16209,38 +16965,47 @@ func awsRestjson1_deserializeDocumentJobTemplateSettings(v **types.JobTemplateSe } sv.FollowSource = ptr.Int32(int32(i64)) } + case "inputs": if err := awsRestjson1_deserializeDocument__listOfInputTemplate(&sv.Inputs, value); err != nil { return err } + case "kantarWatermark": if err := awsRestjson1_deserializeDocumentKantarWatermarkSettings(&sv.KantarWatermark, value); err != nil { return err } + case "motionImageInserter": if err := awsRestjson1_deserializeDocumentMotionImageInserter(&sv.MotionImageInserter, value); err != nil { return err } + case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } + case "nielsenNonLinearWatermark": if err := awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(&sv.NielsenNonLinearWatermark, value); err != nil { return err } + case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } + case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } + case "timedMetadataInsertion": if err := awsRestjson1_deserializeDocumentTimedMetadataInsertion(&sv.TimedMetadataInsertion, value); err != nil { return err } + default: _, _ = key, value @@ -16280,6 +17045,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.ChannelName = ptr.String(jtv) } + case "contentReference": if value != nil { jtv, ok := value.(string) @@ -16288,6 +17054,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.ContentReference = ptr.String(jtv) } + case "credentialsSecretName": if value != nil { jtv, ok := value.(string) @@ -16296,6 +17063,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.CredentialsSecretName = ptr.String(jtv) } + case "fileOffset": if value != nil { switch jtv := value.(type) { @@ -16329,6 +17097,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } } + case "kantarLicenseId": if value != nil { jtv, ok := value.(json.Number) @@ -16341,6 +17110,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.KantarLicenseId = ptr.Int32(int32(i64)) } + case "kantarServerUrl": if value != nil { jtv, ok := value.(string) @@ -16349,6 +17119,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.KantarServerUrl = ptr.String(jtv) } + case "logDestination": if value != nil { jtv, ok := value.(string) @@ -16357,6 +17128,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.LogDestination = ptr.String(jtv) } + case "metadata3": if value != nil { jtv, ok := value.(string) @@ -16365,6 +17137,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata3 = ptr.String(jtv) } + case "metadata4": if value != nil { jtv, ok := value.(string) @@ -16373,6 +17146,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata4 = ptr.String(jtv) } + case "metadata5": if value != nil { jtv, ok := value.(string) @@ -16381,6 +17155,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata5 = ptr.String(jtv) } + case "metadata6": if value != nil { jtv, ok := value.(string) @@ -16389,6 +17164,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata6 = ptr.String(jtv) } + case "metadata7": if value != nil { jtv, ok := value.(string) @@ -16397,6 +17173,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata7 = ptr.String(jtv) } + case "metadata8": if value != nil { jtv, ok := value.(string) @@ -16405,6 +17182,7 @@ func awsRestjson1_deserializeDocumentKantarWatermarkSettings(v **types.KantarWat } sv.Metadata8 = ptr.String(jtv) } + default: _, _ = key, value @@ -16448,6 +17226,7 @@ func awsRestjson1_deserializeDocumentM2tsScte35Esam(v **types.M2tsScte35Esam, va } sv.Scte35EsamPid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16487,6 +17266,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } + case "audioDuration": if value != nil { jtv, ok := value.(string) @@ -16495,6 +17275,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioDuration = types.M2tsAudioDuration(jtv) } + case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -16507,10 +17288,12 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } + case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.AudioPids, value); err != nil { return err } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -16523,6 +17306,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bufferModel": if value != nil { jtv, ok := value.(string) @@ -16531,6 +17315,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.BufferModel = types.M2tsBufferModel(jtv) } + case "dataPTSControl": if value != nil { jtv, ok := value.(string) @@ -16539,22 +17324,27 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DataPTSControl = types.M2tsDataPtsControl(jtv) } + case "dvbNitSettings": if err := awsRestjson1_deserializeDocumentDvbNitSettings(&sv.DvbNitSettings, value); err != nil { return err } + case "dvbSdtSettings": if err := awsRestjson1_deserializeDocumentDvbSdtSettings(&sv.DvbSdtSettings, value); err != nil { return err } + case "dvbSubPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.DvbSubPids, value); err != nil { return err } + case "dvbTdtSettings": if err := awsRestjson1_deserializeDocumentDvbTdtSettings(&sv.DvbTdtSettings, value); err != nil { return err } + case "dvbTeletextPid": if value != nil { jtv, ok := value.(json.Number) @@ -16567,6 +17357,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbTeletextPid = ptr.Int32(int32(i64)) } + case "ebpAudioInterval": if value != nil { jtv, ok := value.(string) @@ -16575,6 +17366,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpAudioInterval = types.M2tsEbpAudioInterval(jtv) } + case "ebpPlacement": if value != nil { jtv, ok := value.(string) @@ -16583,6 +17375,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpPlacement = types.M2tsEbpPlacement(jtv) } + case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -16591,6 +17384,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } + case "forceTsVideoEbpOrder": if value != nil { jtv, ok := value.(string) @@ -16599,6 +17393,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ForceTsVideoEbpOrder = types.M2tsForceTsVideoEbpOrder(jtv) } + case "fragmentTime": if value != nil { switch jtv := value.(type) { @@ -16632,6 +17427,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -16640,6 +17436,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.KlvMetadata = types.M2tsKlvMetadata(jtv) } + case "maxPcrInterval": if value != nil { jtv, ok := value.(json.Number) @@ -16652,6 +17449,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.MaxPcrInterval = ptr.Int32(int32(i64)) } + case "minEbpInterval": if value != nil { jtv, ok := value.(json.Number) @@ -16664,6 +17462,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.MinEbpInterval = ptr.Int32(int32(i64)) } + case "nielsenId3": if value != nil { jtv, ok := value.(string) @@ -16672,6 +17471,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.NielsenId3 = types.M2tsNielsenId3(jtv) } + case "nullPacketBitrate": if value != nil { switch jtv := value.(type) { @@ -16705,6 +17505,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -16717,6 +17518,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PatInterval = ptr.Int32(int32(i64)) } + case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -16725,6 +17527,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrControl = types.M2tsPcrControl(jtv) } + case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -16737,6 +17540,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPid = ptr.Int32(int32(i64)) } + case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -16749,6 +17553,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } + case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -16761,6 +17566,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtPid = ptr.Int32(int32(i64)) } + case "preventBufferUnderflow": if value != nil { jtv, ok := value.(string) @@ -16769,6 +17575,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PreventBufferUnderflow = types.M2tsPreventBufferUnderflow(jtv) } + case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -16781,6 +17588,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16793,6 +17601,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "ptsOffset": if value != nil { jtv, ok := value.(json.Number) @@ -16805,6 +17614,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PtsOffset = ptr.Int32(int32(i64)) } + case "ptsOffsetMode": if value != nil { jtv, ok := value.(string) @@ -16813,6 +17623,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PtsOffsetMode = types.TsPtsOffset(jtv) } + case "rateMode": if value != nil { jtv, ok := value.(string) @@ -16821,10 +17632,12 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.RateMode = types.M2tsRateMode(jtv) } + case "scte35Esam": if err := awsRestjson1_deserializeDocumentM2tsScte35Esam(&sv.Scte35Esam, value); err != nil { return err } + case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -16837,6 +17650,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Pid = ptr.Int32(int32(i64)) } + case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -16845,6 +17659,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Source = types.M2tsScte35Source(jtv) } + case "segmentationMarkers": if value != nil { jtv, ok := value.(string) @@ -16853,6 +17668,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationMarkers = types.M2tsSegmentationMarkers(jtv) } + case "segmentationStyle": if value != nil { jtv, ok := value.(string) @@ -16861,6 +17677,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationStyle = types.M2tsSegmentationStyle(jtv) } + case "segmentationTime": if value != nil { switch jtv := value.(type) { @@ -16894,6 +17711,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -16906,6 +17724,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } + case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -16918,6 +17737,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } + case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -16930,6 +17750,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.VideoPid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16969,6 +17790,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioDuration = types.M3u8AudioDuration(jtv) } + case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -16981,10 +17803,12 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } + case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integerMin32Max8182(&sv.AudioPids, value); err != nil { return err } + case "dataPTSControl": if value != nil { jtv, ok := value.(string) @@ -16993,6 +17817,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.DataPTSControl = types.M3u8DataPtsControl(jtv) } + case "maxPcrInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17005,6 +17830,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.MaxPcrInterval = ptr.Int32(int32(i64)) } + case "nielsenId3": if value != nil { jtv, ok := value.(string) @@ -17013,6 +17839,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.NielsenId3 = types.M3u8NielsenId3(jtv) } + case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17025,6 +17852,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PatInterval = ptr.Int32(int32(i64)) } + case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -17033,6 +17861,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrControl = types.M3u8PcrControl(jtv) } + case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -17045,6 +17874,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPid = ptr.Int32(int32(i64)) } + case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -17057,6 +17887,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } + case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -17069,6 +17900,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtPid = ptr.Int32(int32(i64)) } + case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -17081,6 +17913,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17093,6 +17926,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "ptsOffset": if value != nil { jtv, ok := value.(json.Number) @@ -17105,6 +17939,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PtsOffset = ptr.Int32(int32(i64)) } + case "ptsOffsetMode": if value != nil { jtv, ok := value.(string) @@ -17113,6 +17948,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PtsOffsetMode = types.TsPtsOffset(jtv) } + case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -17125,6 +17961,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Pid = ptr.Int32(int32(i64)) } + case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -17133,6 +17970,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Source = types.M3u8Scte35Source(jtv) } + case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -17141,6 +17979,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadata = types.TimedMetadata(jtv) } + case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -17153,6 +17992,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } + case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -17165,6 +18005,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } + case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -17177,6 +18018,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.VideoPid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17220,6 +18062,7 @@ func awsRestjson1_deserializeDocumentMinBottomRenditionSize(v **types.MinBottomR } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -17232,6 +18075,7 @@ func awsRestjson1_deserializeDocumentMinBottomRenditionSize(v **types.MinBottomR } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17275,6 +18119,7 @@ func awsRestjson1_deserializeDocumentMinTopRenditionSize(v **types.MinTopRenditi } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -17287,6 +18132,7 @@ func awsRestjson1_deserializeDocumentMinTopRenditionSize(v **types.MinTopRenditi } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17322,6 +18168,7 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn if err := awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(&sv.Framerate, value); err != nil { return err } + case "input": if value != nil { jtv, ok := value.(string) @@ -17330,6 +18177,7 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.Input = ptr.String(jtv) } + case "insertionMode": if value != nil { jtv, ok := value.(string) @@ -17338,10 +18186,12 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.InsertionMode = types.MotionImageInsertionMode(jtv) } + case "offset": if err := awsRestjson1_deserializeDocumentMotionImageInsertionOffset(&sv.Offset, value); err != nil { return err } + case "playback": if value != nil { jtv, ok := value.(string) @@ -17350,6 +18200,7 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.Playback = types.MotionImagePlayback(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -17358,6 +18209,7 @@ func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageIn } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -17401,6 +18253,7 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(v **types.Mot } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -17413,6 +18266,7 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionFramerate(v **types.Mot } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17456,6 +18310,7 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionOffset(v **types.Motion } sv.ImageX = ptr.Int32(int32(i64)) } + case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -17468,6 +18323,7 @@ func awsRestjson1_deserializeDocumentMotionImageInsertionOffset(v **types.Motion } sv.ImageY = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17507,6 +18363,7 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.ClapAtom = types.MovClapAtom(jtv) } + case "cslgAtom": if value != nil { jtv, ok := value.(string) @@ -17515,6 +18372,7 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.CslgAtom = types.MovCslgAtom(jtv) } + case "mpeg2FourCCControl": if value != nil { jtv, ok := value.(string) @@ -17523,6 +18381,7 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.Mpeg2FourCCControl = types.MovMpeg2FourCCControl(jtv) } + case "paddingControl": if value != nil { jtv, ok := value.(string) @@ -17531,6 +18390,7 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.PaddingControl = types.MovPaddingControl(jtv) } + case "reference": if value != nil { jtv, ok := value.(string) @@ -17539,6 +18399,7 @@ func awsRestjson1_deserializeDocumentMovSettings(v **types.MovSettings, value in } sv.Reference = types.MovReference(jtv) } + default: _, _ = key, value @@ -17582,6 +18443,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -17594,6 +18456,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.Channels = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -17606,6 +18469,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17649,6 +18513,7 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -17661,6 +18526,7 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.Channels = ptr.Int32(int32(i64)) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -17669,6 +18535,7 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.RateControlMode = types.Mp3RateControlMode(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -17681,6 +18548,7 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } + case "vbrQuality": if value != nil { jtv, ok := value.(json.Number) @@ -17693,6 +18561,7 @@ func awsRestjson1_deserializeDocumentMp3Settings(v **types.Mp3Settings, value in } sv.VbrQuality = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17732,6 +18601,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.AudioDuration = types.CmfcAudioDuration(jtv) } + case "cslgAtom": if value != nil { jtv, ok := value.(string) @@ -17740,6 +18610,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.CslgAtom = types.Mp4CslgAtom(jtv) } + case "cttsVersion": if value != nil { jtv, ok := value.(json.Number) @@ -17752,6 +18623,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.CttsVersion = ptr.Int32(int32(i64)) } + case "freeSpaceBox": if value != nil { jtv, ok := value.(string) @@ -17760,6 +18632,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.FreeSpaceBox = types.Mp4FreeSpaceBox(jtv) } + case "moovPlacement": if value != nil { jtv, ok := value.(string) @@ -17768,6 +18641,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.MoovPlacement = types.Mp4MoovPlacement(jtv) } + case "mp4MajorBrand": if value != nil { jtv, ok := value.(string) @@ -17776,6 +18650,7 @@ func awsRestjson1_deserializeDocumentMp4Settings(v **types.Mp4Settings, value in } sv.Mp4MajorBrand = ptr.String(jtv) } + default: _, _ = key, value @@ -17815,6 +18690,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.AccessibilityCaptionHints = types.MpdAccessibilityCaptionHints(jtv) } + case "audioDuration": if value != nil { jtv, ok := value.(string) @@ -17823,6 +18699,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.AudioDuration = types.MpdAudioDuration(jtv) } + case "captionContainerType": if value != nil { jtv, ok := value.(string) @@ -17831,6 +18708,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.CaptionContainerType = types.MpdCaptionContainerType(jtv) } + case "klvMetadata": if value != nil { jtv, ok := value.(string) @@ -17839,6 +18717,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.KlvMetadata = types.MpdKlvMetadata(jtv) } + case "manifestMetadataSignaling": if value != nil { jtv, ok := value.(string) @@ -17847,6 +18726,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.ManifestMetadataSignaling = types.MpdManifestMetadataSignaling(jtv) } + case "scte35Esam": if value != nil { jtv, ok := value.(string) @@ -17855,6 +18735,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.Scte35Esam = types.MpdScte35Esam(jtv) } + case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -17863,6 +18744,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.Scte35Source = types.MpdScte35Source(jtv) } + case "timedMetadata": if value != nil { jtv, ok := value.(string) @@ -17871,6 +18753,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadata = types.MpdTimedMetadata(jtv) } + case "timedMetadataBoxVersion": if value != nil { jtv, ok := value.(string) @@ -17879,6 +18762,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataBoxVersion = types.MpdTimedMetadataBoxVersion(jtv) } + case "timedMetadataSchemeIdUri": if value != nil { jtv, ok := value.(string) @@ -17887,6 +18771,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataSchemeIdUri = ptr.String(jtv) } + case "timedMetadataValue": if value != nil { jtv, ok := value.(string) @@ -17895,6 +18780,7 @@ func awsRestjson1_deserializeDocumentMpdSettings(v **types.MpdSettings, value in } sv.TimedMetadataValue = ptr.String(jtv) } + default: _, _ = key, value @@ -17934,6 +18820,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AdaptiveQuantization = types.Mpeg2AdaptiveQuantization(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -17946,6 +18833,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Bitrate = ptr.Int32(int32(i64)) } + case "codecLevel": if value != nil { jtv, ok := value.(string) @@ -17954,6 +18842,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.CodecLevel = types.Mpeg2CodecLevel(jtv) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -17962,6 +18851,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.CodecProfile = types.Mpeg2CodecProfile(jtv) } + case "dynamicSubGop": if value != nil { jtv, ok := value.(string) @@ -17970,6 +18860,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.DynamicSubGop = types.Mpeg2DynamicSubGop(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -17978,6 +18869,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateControl = types.Mpeg2FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -17986,6 +18878,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateConversionAlgorithm = types.Mpeg2FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -17998,6 +18891,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -18010,6 +18904,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -18022,6 +18917,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -18055,6 +18951,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -18063,6 +18960,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopSizeUnits = types.Mpeg2GopSizeUnits(jtv) } + case "hrdBufferFinalFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -18075,6 +18973,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferFinalFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferInitialFillPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -18087,6 +18986,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferInitialFillPercentage = ptr.Int32(int32(i64)) } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -18099,6 +18999,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -18107,6 +19008,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.InterlaceMode = types.Mpeg2InterlaceMode(jtv) } + case "intraDcPrecision": if value != nil { jtv, ok := value.(string) @@ -18115,6 +19017,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.IntraDcPrecision = types.Mpeg2IntraDcPrecision(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -18127,6 +19030,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -18139,6 +19043,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "numberBFramesBetweenReferenceFrames": if value != nil { jtv, ok := value.(json.Number) @@ -18151,6 +19056,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.NumberBFramesBetweenReferenceFrames = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -18159,6 +19065,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParControl = types.Mpeg2ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -18171,6 +19078,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -18183,6 +19091,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -18191,6 +19100,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.QualityTuningLevel = types.Mpeg2QualityTuningLevel(jtv) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -18199,6 +19109,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.RateControlMode = types.Mpeg2RateControlMode(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -18207,6 +19118,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ScanTypeConversionMode = types.Mpeg2ScanTypeConversionMode(jtv) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -18215,6 +19127,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SceneChangeDetect = types.Mpeg2SceneChangeDetect(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -18223,6 +19136,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SlowPal = types.Mpeg2SlowPal(jtv) } + case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -18235,6 +19149,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Softness = ptr.Int32(int32(i64)) } + case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -18243,6 +19158,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SpatialAdaptiveQuantization = types.Mpeg2SpatialAdaptiveQuantization(jtv) } + case "syntax": if value != nil { jtv, ok := value.(string) @@ -18251,6 +19167,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Syntax = types.Mpeg2Syntax(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -18259,6 +19176,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.Telecine = types.Mpeg2Telecine(jtv) } + case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -18267,6 +19185,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.TemporalAdaptiveQuantization = types.Mpeg2TemporalAdaptiveQuantization(jtv) } + default: _, _ = key, value @@ -18306,10 +19225,12 @@ func awsRestjson1_deserializeDocumentMsSmoothAdditionalManifest(v **types.MsSmoo } sv.ManifestNameModifier = ptr.String(jtv) } + case "selectedOutputs": if err := awsRestjson1_deserializeDocument__listOf__stringMin1(&sv.SelectedOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -18345,6 +19266,7 @@ func awsRestjson1_deserializeDocumentMsSmoothEncryptionSettings(v **types.MsSmoo if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -18380,6 +19302,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro if err := awsRestjson1_deserializeDocument__listOfMsSmoothAdditionalManifest(&sv.AdditionalManifests, value); err != nil { return err } + case "audioDeduplication": if value != nil { jtv, ok := value.(string) @@ -18388,6 +19311,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AudioDeduplication = types.MsSmoothAudioDeduplication(jtv) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -18396,14 +19320,17 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.Destination = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentMsSmoothEncryptionSettings(&sv.Encryption, value); err != nil { return err } + case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -18416,6 +19343,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLength = ptr.Int32(int32(i64)) } + case "fragmentLengthControl": if value != nil { jtv, ok := value.(string) @@ -18424,6 +19352,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLengthControl = types.MsSmoothFragmentLengthControl(jtv) } + case "manifestEncoding": if value != nil { jtv, ok := value.(string) @@ -18432,6 +19361,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.ManifestEncoding = types.MsSmoothManifestEncoding(jtv) } + default: _, _ = key, value @@ -18471,6 +19401,7 @@ func awsRestjson1_deserializeDocumentMxfSettings(v **types.MxfSettings, value in } sv.AfdSignaling = types.MxfAfdSignaling(jtv) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -18479,10 +19410,12 @@ func awsRestjson1_deserializeDocumentMxfSettings(v **types.MxfSettings, value in } sv.Profile = types.MxfProfile(jtv) } + case "xavcProfileSettings": if err := awsRestjson1_deserializeDocumentMxfXavcProfileSettings(&sv.XavcProfileSettings, value); err != nil { return err } + default: _, _ = key, value @@ -18522,6 +19455,7 @@ func awsRestjson1_deserializeDocumentMxfXavcProfileSettings(v **types.MxfXavcPro } sv.DurationMode = types.MxfXavcDurationMode(jtv) } + case "maxAncDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -18534,6 +19468,7 @@ func awsRestjson1_deserializeDocumentMxfXavcProfileSettings(v **types.MxfXavcPro } sv.MaxAncDataSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18573,6 +19508,7 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.License = ptr.String(jtv) } + case "payload": if value != nil { jtv, ok := value.(json.Number) @@ -18585,6 +19521,7 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Payload = ptr.Int32(int32(i64)) } + case "preset": if value != nil { jtv, ok := value.(string) @@ -18593,6 +19530,7 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Preset = ptr.String(jtv) } + case "strength": if value != nil { jtv, ok := value.(string) @@ -18601,6 +19539,7 @@ func awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(v **types.NexGua } sv.Strength = types.WatermarkingStrength(jtv) } + default: _, _ = key, value @@ -18644,6 +19583,7 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.BreakoutCode = ptr.Int32(int32(i64)) } + case "distributorId": if value != nil { jtv, ok := value.(string) @@ -18652,6 +19592,7 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.DistributorId = ptr.String(jtv) } + default: _, _ = key, value @@ -18691,6 +19632,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.ActiveWatermarkProcess = types.NielsenActiveWatermarkProcessType(jtv) } + case "adiFilename": if value != nil { jtv, ok := value.(string) @@ -18699,6 +19641,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AdiFilename = ptr.String(jtv) } + case "assetId": if value != nil { jtv, ok := value.(string) @@ -18707,6 +19650,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AssetId = ptr.String(jtv) } + case "assetName": if value != nil { jtv, ok := value.(string) @@ -18715,6 +19659,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.AssetName = ptr.String(jtv) } + case "cbetSourceId": if value != nil { jtv, ok := value.(string) @@ -18723,6 +19668,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.CbetSourceId = ptr.String(jtv) } + case "episodeId": if value != nil { jtv, ok := value.(string) @@ -18731,6 +19677,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.EpisodeId = ptr.String(jtv) } + case "metadataDestination": if value != nil { jtv, ok := value.(string) @@ -18739,6 +19686,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.MetadataDestination = ptr.String(jtv) } + case "sourceId": if value != nil { jtv, ok := value.(json.Number) @@ -18751,6 +19699,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.SourceId = ptr.Int32(int32(i64)) } + case "sourceWatermarkStatus": if value != nil { jtv, ok := value.(string) @@ -18759,6 +19708,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.SourceWatermarkStatus = types.NielsenSourceWatermarkStatusType(jtv) } + case "ticServerUrl": if value != nil { jtv, ok := value.(string) @@ -18767,6 +19717,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.TicServerUrl = ptr.String(jtv) } + case "uniqueTicPerAudioTrack": if value != nil { jtv, ok := value.(string) @@ -18775,6 +19726,7 @@ func awsRestjson1_deserializeDocumentNielsenNonLinearWatermarkSettings(v **types } sv.UniqueTicPerAudioTrack = types.NielsenUniqueTicPerAudioTrackType(jtv) } + default: _, _ = key, value @@ -18814,18 +19766,22 @@ func awsRestjson1_deserializeDocumentNoiseReducer(v **types.NoiseReducer, value } sv.Filter = types.NoiseReducerFilter(jtv) } + case "filterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerFilterSettings(&sv.FilterSettings, value); err != nil { return err } + case "spatialFilterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(&sv.SpatialFilterSettings, value); err != nil { return err } + case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } + default: _, _ = key, value @@ -18869,6 +19825,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerFilterSettings(v **types.NoiseR } sv.Strength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18912,6 +19869,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.PostFilterSharpenStrength = ptr.Int32(int32(i64)) } + case "speed": if value != nil { jtv, ok := value.(json.Number) @@ -18924,6 +19882,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.Speed = ptr.Int32(int32(i64)) } + case "strength": if value != nil { jtv, ok := value.(json.Number) @@ -18936,6 +19895,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerSpatialFilterSettings(v **types } sv.Strength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18979,6 +19939,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.AggressiveMode = ptr.Int32(int32(i64)) } + case "postTemporalSharpening": if value != nil { jtv, ok := value.(string) @@ -18987,6 +19948,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.PostTemporalSharpening = types.NoiseFilterPostTemporalSharpening(jtv) } + case "postTemporalSharpeningStrength": if value != nil { jtv, ok := value.(string) @@ -18995,6 +19957,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.PostTemporalSharpeningStrength = types.NoiseFilterPostTemporalSharpeningStrength(jtv) } + case "speed": if value != nil { jtv, ok := value.(json.Number) @@ -19007,6 +19970,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.Speed = ptr.Int32(int32(i64)) } + case "strength": if value != nil { jtv, ok := value.(json.Number) @@ -19019,6 +19983,7 @@ func awsRestjson1_deserializeDocumentNoiseReducerTemporalFilterSettings(v **type } sv.Strength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19058,6 +20023,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19101,6 +20067,7 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -19113,6 +20080,7 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.Channels = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -19125,6 +20093,7 @@ func awsRestjson1_deserializeDocumentOpusSettings(v **types.OpusSettings, value } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19160,14 +20129,17 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } + case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescription(&sv.CaptionDescriptions, value); err != nil { return err } + case "containerSettings": if err := awsRestjson1_deserializeDocumentContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "extension": if value != nil { jtv, ok := value.(string) @@ -19176,6 +20148,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Extension = ptr.String(jtv) } + case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -19184,10 +20157,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.NameModifier = ptr.String(jtv) } + case "outputSettings": if err := awsRestjson1_deserializeDocumentOutputSettings(&sv.OutputSettings, value); err != nil { return err } + case "preset": if value != nil { jtv, ok := value.(string) @@ -19196,10 +20171,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Preset = ptr.String(jtv) } + case "videoDescription": if err := awsRestjson1_deserializeDocumentVideoDescription(&sv.VideoDescription, value); err != nil { return err } + default: _, _ = key, value @@ -19235,10 +20212,12 @@ func awsRestjson1_deserializeDocumentOutputChannelMapping(v **types.OutputChanne if err := awsRestjson1_deserializeDocument__listOf__integerMinNegative60Max6(&sv.InputChannels, value); err != nil { return err } + case "inputChannelsFineTune": if err := awsRestjson1_deserializeDocument__listOf__doubleMinNegative60Max6(&sv.InputChannelsFineTune, value); err != nil { return err } + default: _, _ = key, value @@ -19282,10 +20261,12 @@ func awsRestjson1_deserializeDocumentOutputDetail(v **types.OutputDetail, value } sv.DurationInMs = ptr.Int32(int32(i64)) } + case "videoDetails": if err := awsRestjson1_deserializeDocumentVideoDetail(&sv.VideoDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19321,6 +20302,7 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in if err := awsRestjson1_deserializeDocumentAutomatedEncodingSettings(&sv.AutomatedEncodingSettings, value); err != nil { return err } + case "customName": if value != nil { jtv, ok := value.(string) @@ -19329,6 +20311,7 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.CustomName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19337,14 +20320,17 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.Name = ptr.String(jtv) } + case "outputGroupSettings": if err := awsRestjson1_deserializeDocumentOutputGroupSettings(&sv.OutputGroupSettings, value); err != nil { return err } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -19380,6 +20366,7 @@ func awsRestjson1_deserializeDocumentOutputGroupDetail(v **types.OutputGroupDeta if err := awsRestjson1_deserializeDocument__listOfOutputDetail(&sv.OutputDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19415,22 +20402,27 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe if err := awsRestjson1_deserializeDocumentCmafGroupSettings(&sv.CmafGroupSettings, value); err != nil { return err } + case "dashIsoGroupSettings": if err := awsRestjson1_deserializeDocumentDashIsoGroupSettings(&sv.DashIsoGroupSettings, value); err != nil { return err } + case "fileGroupSettings": if err := awsRestjson1_deserializeDocumentFileGroupSettings(&sv.FileGroupSettings, value); err != nil { return err } + case "hlsGroupSettings": if err := awsRestjson1_deserializeDocumentHlsGroupSettings(&sv.HlsGroupSettings, value); err != nil { return err } + case "msSmoothGroupSettings": if err := awsRestjson1_deserializeDocumentMsSmoothGroupSettings(&sv.MsSmoothGroupSettings, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -19439,6 +20431,7 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe } sv.Type = types.OutputGroupType(jtv) } + default: _, _ = key, value @@ -19474,6 +20467,7 @@ func awsRestjson1_deserializeDocumentOutputSettings(v **types.OutputSettings, va if err := awsRestjson1_deserializeDocumentHlsSettings(&sv.HlsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -19509,6 +20503,7 @@ func awsRestjson1_deserializeDocumentPartnerWatermarking(v **types.PartnerWaterm if err := awsRestjson1_deserializeDocumentNexGuardFileMarkerSettings(&sv.NexguardFileMarkerSettings, value); err != nil { return err } + default: _, _ = key, value @@ -19548,6 +20543,7 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.HttpInputs = types.InputPolicy(jtv) } + case "httpsInputs": if value != nil { jtv, ok := value.(string) @@ -19556,6 +20552,7 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.HttpsInputs = types.InputPolicy(jtv) } + case "s3Inputs": if value != nil { jtv, ok := value.(string) @@ -19564,6 +20561,7 @@ func awsRestjson1_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.S3Inputs = types.InputPolicy(jtv) } + default: _, _ = key, value @@ -19603,6 +20601,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Arn = ptr.String(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -19611,6 +20610,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Category = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -19626,6 +20626,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19634,6 +20635,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Description = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -19649,6 +20651,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } } + case "name": if value != nil { jtv, ok := value.(string) @@ -19657,10 +20660,12 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Name = ptr.String(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentPresetSettings(&sv.Settings, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -19669,6 +20674,7 @@ func awsRestjson1_deserializeDocumentPreset(v **types.Preset, value interface{}) } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -19704,18 +20710,22 @@ func awsRestjson1_deserializeDocumentPresetSettings(v **types.PresetSettings, va if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } + case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescriptionPreset(&sv.CaptionDescriptions, value); err != nil { return err } + case "containerSettings": if err := awsRestjson1_deserializeDocumentContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "videoDescription": if err := awsRestjson1_deserializeDocumentVideoDescription(&sv.VideoDescription, value); err != nil { return err } + default: _, _ = key, value @@ -19755,6 +20765,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ChromaSampling = types.ProresChromaSampling(jtv) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -19763,6 +20774,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.CodecProfile = types.ProresCodecProfile(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -19771,6 +20783,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateControl = types.ProresFramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -19779,6 +20792,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateConversionAlgorithm = types.ProresFramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -19791,6 +20805,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -19803,6 +20818,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -19811,6 +20827,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.InterlaceMode = types.ProresInterlaceMode(jtv) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -19819,6 +20836,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParControl = types.ProresParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -19831,6 +20849,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -19843,6 +20862,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -19851,6 +20871,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.ScanTypeConversionMode = types.ProresScanTypeConversionMode(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -19859,6 +20880,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.SlowPal = types.ProresSlowPal(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -19867,6 +20889,7 @@ func awsRestjson1_deserializeDocumentProresSettings(v **types.ProresSettings, va } sv.Telecine = types.ProresTelecine(jtv) } + default: _, _ = key, value @@ -19906,6 +20929,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -19921,6 +20945,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } + case "description": if value != nil { jtv, ok := value.(string) @@ -19929,6 +20954,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Description = ptr.String(jtv) } + case "lastUpdated": if value != nil { switch jtv := value.(type) { @@ -19944,6 +20970,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } } + case "name": if value != nil { jtv, ok := value.(string) @@ -19952,6 +20979,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } + case "pricingPlan": if value != nil { jtv, ok := value.(string) @@ -19960,6 +20988,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.PricingPlan = types.PricingPlan(jtv) } + case "progressingJobsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19972,10 +21001,12 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ProgressingJobsCount = ptr.Int32(int32(i64)) } + case "reservationPlan": if err := awsRestjson1_deserializeDocumentReservationPlan(&sv.ReservationPlan, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -19984,6 +21015,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } + case "submittedJobsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19996,6 +21028,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.SubmittedJobsCount = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -20004,6 +21037,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -20043,6 +21077,7 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } sv.DestinationQueue = ptr.String(jtv) } + case "sourceQueue": if value != nil { jtv, ok := value.(string) @@ -20051,6 +21086,7 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } sv.SourceQueue = ptr.String(jtv) } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -20066,6 +21102,7 @@ func awsRestjson1_deserializeDocumentQueueTransition(v **types.QueueTransition, } } + default: _, _ = key, value @@ -20109,6 +21146,7 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Height = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -20121,6 +21159,7 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Width = ptr.Int32(int32(i64)) } + case "x": if value != nil { jtv, ok := value.(json.Number) @@ -20133,6 +21172,7 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.X = ptr.Int32(int32(i64)) } + case "y": if value != nil { jtv, ok := value.(json.Number) @@ -20145,6 +21185,7 @@ func awsRestjson1_deserializeDocumentRectangle(v **types.Rectangle, value interf } sv.Y = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20188,6 +21229,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.AudioDescriptionAudioChannel = ptr.Int32(int32(i64)) } + case "audioDescriptionDataChannel": if value != nil { jtv, ok := value.(json.Number) @@ -20200,10 +21242,12 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.AudioDescriptionDataChannel = ptr.Int32(int32(i64)) } + case "channelMapping": if err := awsRestjson1_deserializeDocumentChannelMapping(&sv.ChannelMapping, value); err != nil { return err } + case "channelsIn": if value != nil { jtv, ok := value.(json.Number) @@ -20216,6 +21260,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsIn = ptr.Int32(int32(i64)) } + case "channelsOut": if value != nil { jtv, ok := value.(json.Number) @@ -20228,6 +21273,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsOut = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20267,6 +21313,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.Commitment = types.Commitment(jtv) } + case "expiresAt": if value != nil { switch jtv := value.(type) { @@ -20282,6 +21329,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } } + case "purchasedAt": if value != nil { switch jtv := value.(type) { @@ -20297,6 +21345,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } } + case "renewalType": if value != nil { jtv, ok := value.(string) @@ -20305,6 +21354,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.RenewalType = types.RenewalType(jtv) } + case "reservedSlots": if value != nil { jtv, ok := value.(json.Number) @@ -20317,6 +21367,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.ReservedSlots = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20325,6 +21376,7 @@ func awsRestjson1_deserializeDocumentReservationPlan(v **types.ReservationPlan, } sv.Status = types.ReservationPlanStatus(jtv) } + default: _, _ = key, value @@ -20364,10 +21416,12 @@ func awsRestjson1_deserializeDocumentResourceTags(v **types.ResourceTags, value } sv.Arn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20407,6 +21461,7 @@ func awsRestjson1_deserializeDocumentS3DestinationAccessControl(v **types.S3Dest } sv.CannedAcl = types.S3ObjectCannedAcl(jtv) } + default: _, _ = key, value @@ -20442,10 +21497,12 @@ func awsRestjson1_deserializeDocumentS3DestinationSettings(v **types.S3Destinati if err := awsRestjson1_deserializeDocumentS3DestinationAccessControl(&sv.AccessControl, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentS3EncryptionSettings(&sv.Encryption, value); err != nil { return err } + case "storageClass": if value != nil { jtv, ok := value.(string) @@ -20454,6 +21511,7 @@ func awsRestjson1_deserializeDocumentS3DestinationSettings(v **types.S3Destinati } sv.StorageClass = types.S3StorageClass(jtv) } + default: _, _ = key, value @@ -20493,6 +21551,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.EncryptionType = types.S3ServerSideEncryptionType(jtv) } + case "kmsEncryptionContext": if value != nil { jtv, ok := value.(string) @@ -20501,6 +21560,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.KmsEncryptionContext = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -20509,6 +21569,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionSettings(v **types.S3Encryption } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20548,6 +21609,7 @@ func awsRestjson1_deserializeDocumentSccDestinationSettings(v **types.SccDestina } sv.Framerate = types.SccDestinationFramerate(jtv) } + default: _, _ = key, value @@ -20587,10 +21649,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.CertificateArn = ptr.String(jtv) } + case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20599,10 +21663,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } + case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.SystemIds, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -20611,6 +21677,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -20650,18 +21717,22 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.CertificateArn = ptr.String(jtv) } + case "dashSignaledSystemIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.DashSignaledSystemIds, value); err != nil { return err } + case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } + case "hlsSignaledSystemIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12(&sv.HlsSignaledSystemIds, value); err != nil { return err } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -20670,6 +21741,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.ResourceId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -20678,6 +21750,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -20717,6 +21790,7 @@ func awsRestjson1_deserializeDocumentSrtDestinationSettings(v **types.SrtDestina } sv.StylePassthrough = types.SrtStylePassthrough(jtv) } + default: _, _ = key, value @@ -20756,6 +21830,7 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.KeyFormat = ptr.String(jtv) } + case "keyFormatVersions": if value != nil { jtv, ok := value.(string) @@ -20764,6 +21839,7 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.KeyFormatVersions = ptr.String(jtv) } + case "staticKeyValue": if value != nil { jtv, ok := value.(string) @@ -20772,6 +21848,7 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.StaticKeyValue = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -20780,6 +21857,7 @@ func awsRestjson1_deserializeDocumentStaticKeyProvider(v **types.StaticKeyProvid } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -20819,10 +21897,12 @@ func awsRestjson1_deserializeDocumentTeletextDestinationSettings(v **types.Telet } sv.PageNumber = ptr.String(jtv) } + case "pageTypes": if err := awsRestjson1_deserializeDocument__listOfTeletextPageType(&sv.PageTypes, value); err != nil { return err } + default: _, _ = key, value @@ -20862,6 +21942,7 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo } sv.PageNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -20905,6 +21986,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.FontSize = ptr.Int32(int32(i64)) } + case "position": if value != nil { jtv, ok := value.(string) @@ -20913,6 +21995,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.Position = types.TimecodeBurninPosition(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -20921,6 +22004,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurnin(v **types.TimecodeBurnin, va } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -20960,6 +22044,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Anchor = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -20968,6 +22053,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Source = types.TimecodeSource(jtv) } + case "start": if value != nil { jtv, ok := value.(string) @@ -20976,6 +22062,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Start = ptr.String(jtv) } + case "timestampOffset": if value != nil { jtv, ok := value.(string) @@ -20984,6 +22071,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.TimestampOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -21019,6 +22107,7 @@ func awsRestjson1_deserializeDocumentTimedMetadataInsertion(v **types.TimedMetad if err := awsRestjson1_deserializeDocument__listOfId3Insertion(&sv.Id3Insertions, value); err != nil { return err } + default: _, _ = key, value @@ -21065,6 +22154,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -21080,6 +22170,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } + case "submitTime": if value != nil { switch jtv := value.(type) { @@ -21095,6 +22186,7 @@ func awsRestjson1_deserializeDocumentTiming(v **types.Timing, value interface{}) } } + default: _, _ = key, value @@ -21134,6 +22226,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -21177,6 +22270,7 @@ func awsRestjson1_deserializeDocumentTrackSourceSettings(v **types.TrackSourceSe } sv.TrackNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21216,6 +22310,7 @@ func awsRestjson1_deserializeDocumentTtmlDestinationSettings(v **types.TtmlDesti } sv.StylePassthrough = types.TtmlStylePassthrough(jtv) } + default: _, _ = key, value @@ -21255,6 +22350,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.Fourcc = types.UncompressedFourcc(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -21263,6 +22359,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateControl = types.UncompressedFramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -21271,6 +22368,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateConversionAlgorithm = types.UncompressedFramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -21283,6 +22381,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -21295,6 +22394,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -21303,6 +22403,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.InterlaceMode = types.UncompressedInterlaceMode(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -21311,6 +22412,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.ScanTypeConversionMode = types.UncompressedScanTypeConversionMode(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -21319,6 +22421,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.SlowPal = types.UncompressedSlowPal(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -21327,6 +22430,7 @@ func awsRestjson1_deserializeDocumentUncompressedSettings(v **types.Uncompressed } sv.Telecine = types.UncompressedTelecine(jtv) } + default: _, _ = key, value @@ -21366,6 +22470,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateControl = types.Vc3FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -21374,6 +22479,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateConversionAlgorithm = types.Vc3FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -21386,6 +22492,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -21398,6 +22505,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -21406,6 +22514,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.InterlaceMode = types.Vc3InterlaceMode(jtv) } + case "scanTypeConversionMode": if value != nil { jtv, ok := value.(string) @@ -21414,6 +22523,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.ScanTypeConversionMode = types.Vc3ScanTypeConversionMode(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -21422,6 +22532,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.SlowPal = types.Vc3SlowPal(jtv) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -21430,6 +22541,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.Telecine = types.Vc3Telecine(jtv) } + case "vc3Class": if value != nil { jtv, ok := value.(string) @@ -21438,6 +22550,7 @@ func awsRestjson1_deserializeDocumentVc3Settings(v **types.Vc3Settings, value in } sv.Vc3Class = types.Vc3Class(jtv) } + default: _, _ = key, value @@ -21473,10 +22586,12 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett if err := awsRestjson1_deserializeDocumentAv1Settings(&sv.Av1Settings, value); err != nil { return err } + case "avcIntraSettings": if err := awsRestjson1_deserializeDocumentAvcIntraSettings(&sv.AvcIntraSettings, value); err != nil { return err } + case "codec": if value != nil { jtv, ok := value.(string) @@ -21485,46 +22600,57 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett } sv.Codec = types.VideoCodec(jtv) } + case "frameCaptureSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureSettings(&sv.FrameCaptureSettings, value); err != nil { return err } + case "h264Settings": if err := awsRestjson1_deserializeDocumentH264Settings(&sv.H264Settings, value); err != nil { return err } + case "h265Settings": if err := awsRestjson1_deserializeDocumentH265Settings(&sv.H265Settings, value); err != nil { return err } + case "mpeg2Settings": if err := awsRestjson1_deserializeDocumentMpeg2Settings(&sv.Mpeg2Settings, value); err != nil { return err } + case "proresSettings": if err := awsRestjson1_deserializeDocumentProresSettings(&sv.ProresSettings, value); err != nil { return err } + case "uncompressedSettings": if err := awsRestjson1_deserializeDocumentUncompressedSettings(&sv.UncompressedSettings, value); err != nil { return err } + case "vc3Settings": if err := awsRestjson1_deserializeDocumentVc3Settings(&sv.Vc3Settings, value); err != nil { return err } + case "vp8Settings": if err := awsRestjson1_deserializeDocumentVp8Settings(&sv.Vp8Settings, value); err != nil { return err } + case "vp9Settings": if err := awsRestjson1_deserializeDocumentVp9Settings(&sv.Vp9Settings, value); err != nil { return err } + case "xavcSettings": if err := awsRestjson1_deserializeDocumentXavcSettings(&sv.XavcSettings, value); err != nil { return err } + default: _, _ = key, value @@ -21564,6 +22690,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.AfdSignaling = types.AfdSignaling(jtv) } + case "antiAlias": if value != nil { jtv, ok := value.(string) @@ -21572,10 +22699,12 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.AntiAlias = types.AntiAlias(jtv) } + case "codecSettings": if err := awsRestjson1_deserializeDocumentVideoCodecSettings(&sv.CodecSettings, value); err != nil { return err } + case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -21584,10 +22713,12 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ColorMetadata = types.ColorMetadata(jtv) } + case "crop": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Crop, value); err != nil { return err } + case "dropFrameTimecode": if value != nil { jtv, ok := value.(string) @@ -21596,6 +22727,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.DropFrameTimecode = types.DropFrameTimecode(jtv) } + case "fixedAfd": if value != nil { jtv, ok := value.(json.Number) @@ -21608,6 +22740,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.FixedAfd = ptr.Int32(int32(i64)) } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -21620,10 +22753,12 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Height = ptr.Int32(int32(i64)) } + case "position": if err := awsRestjson1_deserializeDocumentRectangle(&sv.Position, value); err != nil { return err } + case "respondToAfd": if value != nil { jtv, ok := value.(string) @@ -21632,6 +22767,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.RespondToAfd = types.RespondToAfd(jtv) } + case "scalingBehavior": if value != nil { jtv, ok := value.(string) @@ -21640,6 +22776,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ScalingBehavior = types.ScalingBehavior(jtv) } + case "sharpness": if value != nil { jtv, ok := value.(json.Number) @@ -21652,6 +22789,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Sharpness = ptr.Int32(int32(i64)) } + case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -21660,10 +22798,12 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.TimecodeInsertion = types.VideoTimecodeInsertion(jtv) } + case "videoPreprocessors": if err := awsRestjson1_deserializeDocumentVideoPreprocessor(&sv.VideoPreprocessors, value); err != nil { return err } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -21676,6 +22816,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21719,6 +22860,7 @@ func awsRestjson1_deserializeDocumentVideoDetail(v **types.VideoDetail, value in } sv.HeightInPx = ptr.Int32(int32(i64)) } + case "widthInPx": if value != nil { jtv, ok := value.(json.Number) @@ -21731,6 +22873,7 @@ func awsRestjson1_deserializeDocumentVideoDetail(v **types.VideoDetail, value in } sv.WidthInPx = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21770,14 +22913,17 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.EndTimecode = ptr.String(jtv) } + case "initialPosition": if err := awsRestjson1_deserializeDocumentVideoOverlayPosition(&sv.InitialPosition, value); err != nil { return err } + case "input": if err := awsRestjson1_deserializeDocumentVideoOverlayInput(&sv.Input, value); err != nil { return err } + case "playback": if value != nil { jtv, ok := value.(string) @@ -21786,6 +22932,7 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.Playback = types.VideoOverlayPlayBackMode(jtv) } + case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -21794,10 +22941,12 @@ func awsRestjson1_deserializeDocumentVideoOverlay(v **types.VideoOverlay, value } sv.StartTimecode = ptr.String(jtv) } + case "transitions": if err := awsRestjson1_deserializeDocument__listOfVideoOverlayTransition(&sv.Transitions, value); err != nil { return err } + default: _, _ = key, value @@ -21837,10 +22986,12 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.FileInput = ptr.String(jtv) } + case "inputClippings": if err := awsRestjson1_deserializeDocument__listOfVideoOverlayInputClipping(&sv.InputClippings, value); err != nil { return err } + case "timecodeSource": if value != nil { jtv, ok := value.(string) @@ -21849,6 +23000,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.TimecodeSource = types.InputTimecodeSource(jtv) } + case "timecodeStart": if value != nil { jtv, ok := value.(string) @@ -21857,6 +23009,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayInput(v **types.VideoOverlayInp } sv.TimecodeStart = ptr.String(jtv) } + default: _, _ = key, value @@ -21896,6 +23049,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayInputClipping(v **types.VideoOv } sv.EndTimecode = ptr.String(jtv) } + case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -21904,6 +23058,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayInputClipping(v **types.VideoOv } sv.StartTimecode = ptr.String(jtv) } + default: _, _ = key, value @@ -21947,6 +23102,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Height = ptr.Int32(int32(i64)) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -21955,6 +23111,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Unit = types.VideoOverlayUnit(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -21967,6 +23124,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.Width = ptr.Int32(int32(i64)) } + case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -21979,6 +23137,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.XPosition = ptr.Int32(int32(i64)) } + case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -21991,6 +23150,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayPosition(v **types.VideoOverlay } sv.YPosition = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22026,6 +23186,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl if err := awsRestjson1_deserializeDocumentVideoOverlayPosition(&sv.EndPosition, value); err != nil { return err } + case "endTimecode": if value != nil { jtv, ok := value.(string) @@ -22034,6 +23195,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl } sv.EndTimecode = ptr.String(jtv) } + case "startTimecode": if value != nil { jtv, ok := value.(string) @@ -22042,6 +23204,7 @@ func awsRestjson1_deserializeDocumentVideoOverlayTransition(v **types.VideoOverl } sv.StartTimecode = ptr.String(jtv) } + default: _, _ = key, value @@ -22077,34 +23240,42 @@ func awsRestjson1_deserializeDocumentVideoPreprocessor(v **types.VideoPreprocess if err := awsRestjson1_deserializeDocumentColorCorrector(&sv.ColorCorrector, value); err != nil { return err } + case "deinterlacer": if err := awsRestjson1_deserializeDocumentDeinterlacer(&sv.Deinterlacer, value); err != nil { return err } + case "dolbyVision": if err := awsRestjson1_deserializeDocumentDolbyVision(&sv.DolbyVision, value); err != nil { return err } + case "hdr10Plus": if err := awsRestjson1_deserializeDocumentHdr10Plus(&sv.Hdr10Plus, value); err != nil { return err } + case "imageInserter": if err := awsRestjson1_deserializeDocumentImageInserter(&sv.ImageInserter, value); err != nil { return err } + case "noiseReducer": if err := awsRestjson1_deserializeDocumentNoiseReducer(&sv.NoiseReducer, value); err != nil { return err } + case "partnerWatermarking": if err := awsRestjson1_deserializeDocumentPartnerWatermarking(&sv.PartnerWatermarking, value); err != nil { return err } + case "timecodeBurnin": if err := awsRestjson1_deserializeDocumentTimecodeBurnin(&sv.TimecodeBurnin, value); err != nil { return err } + default: _, _ = key, value @@ -22144,6 +23315,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.AlphaBehavior = types.AlphaBehavior(jtv) } + case "colorSpace": if value != nil { jtv, ok := value.(string) @@ -22152,6 +23324,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpace = types.ColorSpace(jtv) } + case "colorSpaceUsage": if value != nil { jtv, ok := value.(string) @@ -22160,6 +23333,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpaceUsage = types.ColorSpaceUsage(jtv) } + case "embeddedTimecodeOverride": if value != nil { jtv, ok := value.(string) @@ -22168,10 +23342,12 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.EmbeddedTimecodeOverride = types.EmbeddedTimecodeOverride(jtv) } + case "hdr10Metadata": if err := awsRestjson1_deserializeDocumentHdr10Metadata(&sv.Hdr10Metadata, value); err != nil { return err } + case "maxLuminance": if value != nil { jtv, ok := value.(json.Number) @@ -22184,6 +23360,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.MaxLuminance = ptr.Int32(int32(i64)) } + case "padVideo": if value != nil { jtv, ok := value.(string) @@ -22192,6 +23369,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.PadVideo = types.PadVideo(jtv) } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -22204,6 +23382,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.Pid = ptr.Int32(int32(i64)) } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -22216,6 +23395,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "rotate": if value != nil { jtv, ok := value.(string) @@ -22224,6 +23404,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.Rotate = types.InputRotate(jtv) } + case "sampleRange": if value != nil { jtv, ok := value.(string) @@ -22232,6 +23413,7 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.SampleRange = types.InputSampleRange(jtv) } + default: _, _ = key, value @@ -22275,6 +23457,7 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.Channels = ptr.Int32(int32(i64)) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -22287,6 +23470,7 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.SampleRate = ptr.Int32(int32(i64)) } + case "vbrQuality": if value != nil { jtv, ok := value.(json.Number) @@ -22299,6 +23483,7 @@ func awsRestjson1_deserializeDocumentVorbisSettings(v **types.VorbisSettings, va } sv.VbrQuality = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22342,6 +23527,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -22350,6 +23536,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateControl = types.Vp8FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -22358,6 +23545,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateConversionAlgorithm = types.Vp8FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22370,6 +23558,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22382,6 +23571,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -22415,6 +23605,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -22427,6 +23618,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -22439,6 +23631,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -22447,6 +23640,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParControl = types.Vp8ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22459,6 +23653,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22471,6 +23666,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -22479,6 +23675,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.QualityTuningLevel = types.Vp8QualityTuningLevel(jtv) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -22487,6 +23684,7 @@ func awsRestjson1_deserializeDocumentVp8Settings(v **types.Vp8Settings, value in } sv.RateControlMode = types.Vp8RateControlMode(jtv) } + default: _, _ = key, value @@ -22530,6 +23728,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.Bitrate = ptr.Int32(int32(i64)) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -22538,6 +23737,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateControl = types.Vp9FramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -22546,6 +23746,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateConversionAlgorithm = types.Vp9FramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22558,6 +23759,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22570,6 +23772,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -22603,6 +23806,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -22615,6 +23819,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -22627,6 +23832,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -22635,6 +23841,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParControl = types.Vp9ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -22647,6 +23854,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -22659,6 +23867,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -22667,6 +23876,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.QualityTuningLevel = types.Vp9QualityTuningLevel(jtv) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -22675,6 +23885,7 @@ func awsRestjson1_deserializeDocumentVp9Settings(v **types.Vp9Settings, value in } sv.RateControlMode = types.Vp9RateControlMode(jtv) } + default: _, _ = key, value @@ -22718,6 +23929,7 @@ func awsRestjson1_deserializeDocumentWarningGroup(v **types.WarningGroup, value } sv.Code = ptr.Int32(int32(i64)) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -22730,6 +23942,7 @@ func awsRestjson1_deserializeDocumentWarningGroup(v **types.WarningGroup, value } sv.Count = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22773,6 +23986,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.BitDepth = ptr.Int32(int32(i64)) } + case "channels": if value != nil { jtv, ok := value.(json.Number) @@ -22785,6 +23999,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.Channels = ptr.Int32(int32(i64)) } + case "format": if value != nil { jtv, ok := value.(string) @@ -22793,6 +24008,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.Format = types.WavFormat(jtv) } + case "sampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -22805,6 +24021,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.SampleRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22844,6 +24061,7 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.Accessibility = types.WebvttAccessibilitySubs(jtv) } + case "stylePassthrough": if value != nil { jtv, ok := value.(string) @@ -22852,6 +24070,7 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.StylePassthrough = types.WebvttStylePassthrough(jtv) } + default: _, _ = key, value @@ -22891,6 +24110,7 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionGroupId = ptr.String(jtv) } + case "renditionLanguageCode": if value != nil { jtv, ok := value.(string) @@ -22899,6 +24119,7 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionLanguageCode = types.LanguageCode(jtv) } + case "renditionName": if value != nil { jtv, ok := value.(string) @@ -22907,6 +24128,7 @@ func awsRestjson1_deserializeDocumentWebvttHlsSourceSettings(v **types.WebvttHls } sv.RenditionName = ptr.String(jtv) } + default: _, _ = key, value @@ -22946,6 +24168,7 @@ func awsRestjson1_deserializeDocumentXavc4kIntraCbgProfileSettings(v **types.Xav } sv.XavcClass = types.Xavc4kIntraCbgProfileClass(jtv) } + default: _, _ = key, value @@ -22985,6 +24208,7 @@ func awsRestjson1_deserializeDocumentXavc4kIntraVbrProfileSettings(v **types.Xav } sv.XavcClass = types.Xavc4kIntraVbrProfileClass(jtv) } + default: _, _ = key, value @@ -23024,6 +24248,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.BitrateClass = types.Xavc4kProfileBitrateClass(jtv) } + case "codecProfile": if value != nil { jtv, ok := value.(string) @@ -23032,6 +24257,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.CodecProfile = types.Xavc4kProfileCodecProfile(jtv) } + case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -23040,6 +24266,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.FlickerAdaptiveQuantization = types.XavcFlickerAdaptiveQuantization(jtv) } + case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -23048,6 +24275,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.GopBReference = types.XavcGopBReference(jtv) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -23060,6 +24288,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -23072,6 +24301,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -23080,6 +24310,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.QualityTuningLevel = types.Xavc4kProfileQualityTuningLevel(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -23092,6 +24323,7 @@ func awsRestjson1_deserializeDocumentXavc4kProfileSettings(v **types.Xavc4kProfi } sv.Slices = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23131,6 +24363,7 @@ func awsRestjson1_deserializeDocumentXavcHdIntraCbgProfileSettings(v **types.Xav } sv.XavcClass = types.XavcHdIntraCbgProfileClass(jtv) } + default: _, _ = key, value @@ -23170,6 +24403,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.BitrateClass = types.XavcHdProfileBitrateClass(jtv) } + case "flickerAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -23178,6 +24412,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.FlickerAdaptiveQuantization = types.XavcFlickerAdaptiveQuantization(jtv) } + case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -23186,6 +24421,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.GopBReference = types.XavcGopBReference(jtv) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -23198,6 +24434,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "hrdBufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -23210,6 +24447,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.HrdBufferSize = ptr.Int32(int32(i64)) } + case "interlaceMode": if value != nil { jtv, ok := value.(string) @@ -23218,6 +24456,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.InterlaceMode = types.XavcInterlaceMode(jtv) } + case "qualityTuningLevel": if value != nil { jtv, ok := value.(string) @@ -23226,6 +24465,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.QualityTuningLevel = types.XavcHdProfileQualityTuningLevel(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -23238,6 +24478,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.Slices = ptr.Int32(int32(i64)) } + case "telecine": if value != nil { jtv, ok := value.(string) @@ -23246,6 +24487,7 @@ func awsRestjson1_deserializeDocumentXavcHdProfileSettings(v **types.XavcHdProfi } sv.Telecine = types.XavcHdProfileTelecine(jtv) } + default: _, _ = key, value @@ -23285,6 +24527,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.AdaptiveQuantization = types.XavcAdaptiveQuantization(jtv) } + case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -23293,6 +24536,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.EntropyEncoding = types.XavcEntropyEncoding(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -23301,6 +24545,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateControl = types.XavcFramerateControl(jtv) } + case "framerateConversionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -23309,6 +24554,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateConversionAlgorithm = types.XavcFramerateConversionAlgorithm(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -23321,6 +24567,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -23333,6 +24580,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -23341,6 +24589,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.Profile = types.XavcProfile(jtv) } + case "slowPal": if value != nil { jtv, ok := value.(string) @@ -23349,6 +24598,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.SlowPal = types.XavcSlowPal(jtv) } + case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -23361,6 +24611,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.Softness = ptr.Int32(int32(i64)) } + case "spatialAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -23369,6 +24620,7 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.SpatialAdaptiveQuantization = types.XavcSpatialAdaptiveQuantization(jtv) } + case "temporalAdaptiveQuantization": if value != nil { jtv, ok := value.(string) @@ -23377,26 +24629,32 @@ func awsRestjson1_deserializeDocumentXavcSettings(v **types.XavcSettings, value } sv.TemporalAdaptiveQuantization = types.XavcTemporalAdaptiveQuantization(jtv) } + case "xavc4kIntraCbgProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kIntraCbgProfileSettings(&sv.Xavc4kIntraCbgProfileSettings, value); err != nil { return err } + case "xavc4kIntraVbrProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kIntraVbrProfileSettings(&sv.Xavc4kIntraVbrProfileSettings, value); err != nil { return err } + case "xavc4kProfileSettings": if err := awsRestjson1_deserializeDocumentXavc4kProfileSettings(&sv.Xavc4kProfileSettings, value); err != nil { return err } + case "xavcHdIntraCbgProfileSettings": if err := awsRestjson1_deserializeDocumentXavcHdIntraCbgProfileSettings(&sv.XavcHdIntraCbgProfileSettings, value); err != nil { return err } + case "xavcHdProfileSettings": if err := awsRestjson1_deserializeDocumentXavcHdProfileSettings(&sv.XavcHdProfileSettings, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index 6b6d90e7ea2..81e5d089000 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -307,10 +307,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteOutput(v **BatchDeleteOutput, if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } + case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -483,10 +485,12 @@ func awsRestjson1_deserializeOpDocumentBatchStartOutput(v **BatchStartOutput, va if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } + case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -659,10 +663,12 @@ func awsRestjson1_deserializeOpDocumentBatchStopOutput(v **BatchStopOutput, valu if err := awsRestjson1_deserializeDocument__listOfBatchFailedResultModel(&sv.Failed, value); err != nil { return err } + case "successful": if err := awsRestjson1_deserializeDocument__listOfBatchSuccessfulResultModel(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -835,10 +841,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateScheduleOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentBatchScheduleActionCreateResult(&sv.Creates, value); err != nil { return err } + case "deletes": if err := awsRestjson1_deserializeDocumentBatchScheduleActionDeleteResult(&sv.Deletes, value); err != nil { return err } + default: _, _ = key, value @@ -1232,6 +1240,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -1405,10 +1414,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Arn = ptr.String(jtv) } + case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -1417,6 +1428,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.ClusterId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1425,6 +1437,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1433,10 +1446,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.Name = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -1445,6 +1460,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelPlacementGroupOutput(v **Cre } sv.State = types.ChannelPlacementGroupState(jtv) } + default: _, _ = key, value @@ -1615,6 +1631,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Arn = ptr.String(jtv) } + case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -1623,6 +1640,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1635,6 +1653,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.CreatedAt = ptr.Time(t) } + case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -1647,6 +1666,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1655,6 +1675,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Description = ptr.String(jtv) } + case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -1667,6 +1688,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -1675,6 +1697,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1683,6 +1706,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Id = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -1691,6 +1715,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.MetricName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -1703,6 +1728,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1711,6 +1737,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Name = ptr.String(jtv) } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -1723,6 +1750,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Period = ptr.Int32(int32(i64)) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -1731,10 +1759,12 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -1743,6 +1773,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -1776,6 +1807,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } } + case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -1784,6 +1816,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateOutput(v **C } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } + default: _, _ = key, value @@ -1954,6 +1987,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1966,6 +2000,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1974,6 +2009,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1982,6 +2018,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -1994,6 +2031,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2002,10 +2040,12 @@ func awsRestjson1_deserializeOpDocumentCreateCloudWatchAlarmTemplateGroupOutput( } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2179,10 +2219,12 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Arn = ptr.String(jtv) } + case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -2191,6 +2233,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterType = types.ClusterType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2199,6 +2242,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Id = ptr.String(jtv) } + case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2207,6 +2251,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.InstanceRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2215,10 +2260,12 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2274,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -2397,6 +2445,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2409,6 +2458,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2417,10 +2467,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Description = ptr.String(jtv) } + case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -2429,6 +2481,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -2437,6 +2490,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2445,6 +2499,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2457,6 +2512,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2465,10 +2521,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateOutput(v **C } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2639,6 +2697,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2651,6 +2710,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2659,6 +2719,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2667,6 +2728,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2679,6 +2741,7 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2687,10 +2750,12 @@ func awsRestjson1_deserializeOpDocumentCreateEventBridgeRuleTemplateGroupOutput( } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2857,6 +2922,7 @@ func awsRestjson1_deserializeOpDocumentCreateInputOutput(v **CreateInputOutput, if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + default: _, _ = key, value @@ -3023,6 +3089,7 @@ func awsRestjson1_deserializeOpDocumentCreateInputSecurityGroupOutput(v **Create if err := awsRestjson1_deserializeDocumentInputSecurityGroup(&sv.SecurityGroup, value); err != nil { return err } + default: _, _ = key, value @@ -3195,6 +3262,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultiplexOutput(v **CreateMultiplex if err := awsRestjson1_deserializeDocumentMultiplex(&sv.Multiplex, value); err != nil { return err } + default: _, _ = key, value @@ -3367,6 +3435,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultiplexProgramOutput(v **CreateMu if err := awsRestjson1_deserializeDocumentMultiplexProgram(&sv.MultiplexProgram, value); err != nil { return err } + default: _, _ = key, value @@ -3540,10 +3609,12 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Arn = ptr.String(jtv) } + case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3552,10 +3623,12 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Id = ptr.String(jtv) } + case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3564,10 +3637,12 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.Name = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -3576,6 +3651,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp } sv.State = types.NetworkState(jtv) } + default: _, _ = key, value @@ -3749,10 +3825,12 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3761,6 +3839,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -3769,6 +3848,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3777,6 +3857,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -3785,6 +3866,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3793,10 +3875,12 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -3805,6 +3889,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3813,6 +3898,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeOutput(v **CreateNodeOutput, va } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -3986,6 +4072,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeRegistrationScriptOutput(v **Cr } sv.NodeRegistrationScript = ptr.String(jtv) } + default: _, _ = key, value @@ -4152,6 +4239,7 @@ func awsRestjson1_deserializeOpDocumentCreatePartnerInputOutput(v **CreatePartne if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + default: _, _ = key, value @@ -4322,10 +4410,12 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Arn = ptr.String(jtv) } + case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4338,6 +4428,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4346,6 +4437,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Description = ptr.String(jtv) } + case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -4354,6 +4446,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.DiscoveryEntryPointArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4362,14 +4455,17 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.ErrorMessage = ptr.String(jtv) } + case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } + case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4378,6 +4474,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Id = ptr.String(jtv) } + case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -4390,14 +4487,17 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.LastDiscoveredAt = ptr.Time(t) } + case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } + case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -4410,6 +4510,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.ModifiedAt = ptr.Time(t) } + case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -4418,10 +4519,12 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } + case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4430,6 +4533,7 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4438,10 +4542,12 @@ func awsRestjson1_deserializeOpDocumentCreateSignalMapOutput(v **CreateSignalMap } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4717,6 +4823,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4725,10 +4832,12 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -4737,18 +4846,22 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4757,14 +4870,17 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -4773,10 +4889,12 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4785,10 +4903,12 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -4801,6 +4921,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4809,6 +4930,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4817,14 +4939,17 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelOutput(v **DeleteChannelOutp } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -5001,10 +5126,12 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Arn = ptr.String(jtv) } + case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -5013,6 +5140,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.ClusterId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5021,6 +5149,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5029,10 +5158,12 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.Name = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -5041,6 +5172,7 @@ func awsRestjson1_deserializeOpDocumentDeleteChannelPlacementGroupOutput(v **Del } sv.State = types.ChannelPlacementGroupState(jtv) } + default: _, _ = key, value @@ -5435,10 +5567,12 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Arn = ptr.String(jtv) } + case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -5447,6 +5581,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterType = types.ClusterType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5455,6 +5590,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Id = ptr.String(jtv) } + case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -5463,6 +5599,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.InstanceRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5471,10 +5608,12 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -5483,6 +5622,7 @@ func awsRestjson1_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -6092,14 +6232,17 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6108,10 +6251,12 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6120,6 +6265,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -6132,6 +6278,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -6144,6 +6291,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6152,10 +6300,12 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexOutput(v **DeleteMultiplex } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6332,18 +6482,22 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexProgramOutput(v **DeleteMu } sv.ChannelId = ptr.String(jtv) } + case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } + case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "programName": if value != nil { jtv, ok := value.(string) @@ -6352,6 +6506,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMultiplexProgramOutput(v **DeleteMu } sv.ProgramName = ptr.String(jtv) } + default: _, _ = key, value @@ -6528,10 +6683,12 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Arn = ptr.String(jtv) } + case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6540,10 +6697,12 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Id = ptr.String(jtv) } + case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6552,10 +6711,12 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.Name = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -6564,6 +6725,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp } sv.State = types.NetworkState(jtv) } + default: _, _ = key, value @@ -6740,10 +6902,12 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -6752,6 +6916,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -6760,6 +6925,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6768,6 +6934,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -6776,6 +6943,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6784,10 +6952,12 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -6796,6 +6966,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -6804,6 +6975,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNodeOutput(v **DeleteNodeOutput, va } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -6980,6 +7152,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Arn = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -6992,6 +7165,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Count = ptr.Int32(int32(i64)) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -7000,6 +7174,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -7012,6 +7187,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -7020,6 +7196,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.DurationUnits = types.OfferingDurationUnits(jtv) } + case "end": if value != nil { jtv, ok := value.(string) @@ -7028,6 +7205,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.End = ptr.String(jtv) } + case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -7061,6 +7239,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7069,6 +7248,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Name = ptr.String(jtv) } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7257,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingDescription = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7266,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingId = ptr.String(jtv) } + case "offeringType": if value != nil { jtv, ok := value.(string) @@ -7093,6 +7275,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.OfferingType = types.OfferingType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -7101,10 +7284,12 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Region = ptr.String(jtv) } + case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } + case "reservationId": if value != nil { jtv, ok := value.(string) @@ -7113,10 +7298,12 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.ReservationId = ptr.String(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "start": if value != nil { jtv, ok := value.(string) @@ -7125,6 +7312,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.Start = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7133,10 +7321,12 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } sv.State = types.ReservationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -7170,6 +7360,7 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva } } + default: _, _ = key, value @@ -7654,6 +7845,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountConfigurationOutput(v **De if err := awsRestjson1_deserializeDocumentAccountConfiguration(&sv.AccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7823,6 +8015,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -7831,10 +8024,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -7843,18 +8038,22 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -7863,14 +8062,17 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -7879,10 +8081,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7891,10 +8095,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -7907,6 +8113,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7915,6 +8122,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7923,14 +8131,17 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -8104,10 +8315,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Arn = ptr.String(jtv) } + case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -8116,6 +8329,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.ClusterId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8124,6 +8338,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8132,10 +8347,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.Name = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -8144,6 +8361,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelPlacementGroupOutput(v **D } sv.State = types.ChannelPlacementGroupState(jtv) } + default: _, _ = key, value @@ -8317,10 +8535,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Arn = ptr.String(jtv) } + case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -8329,6 +8549,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterType = types.ClusterType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8337,6 +8558,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Id = ptr.String(jtv) } + case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -8345,6 +8567,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.InstanceRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8353,10 +8576,12 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -8365,6 +8590,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -8538,14 +8764,17 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Arn = ptr.String(jtv) } + case "attachedChannels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AttachedChannels, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfInputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -8554,6 +8783,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Id = ptr.String(jtv) } + case "inputClass": if value != nil { jtv, ok := value.(string) @@ -8562,10 +8792,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputClass = types.InputClass(jtv) } + case "inputDevices": if err := awsRestjson1_deserializeDocument__listOfInputDeviceSettings(&sv.InputDevices, value); err != nil { return err } + case "inputNetworkLocation": if value != nil { jtv, ok := value.(string) @@ -8574,10 +8806,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputNetworkLocation = types.InputNetworkLocation(jtv) } + case "inputPartnerIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.InputPartnerIds, value); err != nil { return err } + case "inputSourceType": if value != nil { jtv, ok := value.(string) @@ -8586,14 +8820,17 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.InputSourceType = types.InputSourceType(jtv) } + case "mediaConnectFlows": if err := awsRestjson1_deserializeDocument__listOfMediaConnectFlow(&sv.MediaConnectFlows, value); err != nil { return err } + case "multicastSettings": if err := awsRestjson1_deserializeDocumentMulticastSettings(&sv.MulticastSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8602,6 +8839,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8610,18 +8848,22 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.RoleArn = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocument__listOfInputSource(&sv.Sources, value); err != nil { return err } + case "srtSettings": if err := awsRestjson1_deserializeDocumentSrtSettings(&sv.SrtSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -8630,10 +8872,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.State = types.InputState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8642,6 +8886,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputOutput(v **DescribeInputOutp } sv.Type = types.InputType(jtv) } + default: _, _ = key, value @@ -8815,6 +9060,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -8823,6 +9069,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.AvailabilityZone = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -8831,6 +9078,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } + case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -8839,6 +9087,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } + case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -8847,10 +9096,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } + case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -8859,6 +9110,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Id = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -8867,10 +9119,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.MacAddress = ptr.String(jtv) } + case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8879,10 +9133,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "outputType": if value != nil { jtv, ok := value.(string) @@ -8891,6 +9147,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.OutputType = types.InputDeviceOutputType(jtv) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -8899,10 +9156,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.SerialNumber = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -8911,10 +9170,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputDeviceOutput(v **DescribeInp } sv.Type = types.InputDeviceType(jtv) } + case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -9248,6 +9509,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9256,10 +9518,12 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.Id = ptr.String(jtv) } + case "inputs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Inputs, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -9268,14 +9532,17 @@ func awsRestjson1_deserializeOpDocumentDescribeInputSecurityGroupOutput(v **Desc } sv.State = types.InputSecurityGroupState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "whitelistRules": if err := awsRestjson1_deserializeDocument__listOfInputWhitelistRule(&sv.WhitelistRules, value); err != nil { return err } + default: _, _ = key, value @@ -9449,14 +9716,17 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9465,10 +9735,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9477,6 +9749,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -9489,6 +9762,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -9501,6 +9775,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -9509,10 +9784,12 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexOutput(v **DescribeMulti } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9686,18 +9963,22 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexProgramOutput(v **Descri } sv.ChannelId = ptr.String(jtv) } + case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } + case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "programName": if value != nil { jtv, ok := value.(string) @@ -9706,6 +9987,7 @@ func awsRestjson1_deserializeOpDocumentDescribeMultiplexProgramOutput(v **Descri } sv.ProgramName = ptr.String(jtv) } + default: _, _ = key, value @@ -9879,10 +10161,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Arn = ptr.String(jtv) } + case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9891,10 +10175,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Id = ptr.String(jtv) } + case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9903,10 +10189,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.Name = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -9915,6 +10203,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNetworkOutput(v **DescribeNetwork } sv.State = types.NetworkState(jtv) } + default: _, _ = key, value @@ -10088,10 +10377,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -10100,6 +10391,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -10108,6 +10400,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10116,6 +10409,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -10124,6 +10418,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.InstanceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10132,10 +10427,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -10144,6 +10441,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -10152,6 +10450,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -10325,6 +10624,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Arn = ptr.String(jtv) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -10333,6 +10633,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -10345,6 +10646,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -10353,6 +10655,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.DurationUnits = types.OfferingDurationUnits(jtv) } + case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -10386,6 +10689,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -10394,6 +10698,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingDescription = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -10402,6 +10707,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingId = ptr.String(jtv) } + case "offeringType": if value != nil { jtv, ok := value.(string) @@ -10410,6 +10716,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.OfferingType = types.OfferingType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10418,10 +10725,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } sv.Region = ptr.String(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -10455,6 +10764,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOfferingOutput(v **DescribeOfferi } } + default: _, _ = key, value @@ -10628,6 +10938,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Arn = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -10640,6 +10951,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Count = ptr.Int32(int32(i64)) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -10648,6 +10960,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -10660,6 +10973,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -10668,6 +10982,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.DurationUnits = types.OfferingDurationUnits(jtv) } + case "end": if value != nil { jtv, ok := value.(string) @@ -10676,6 +10991,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.End = ptr.String(jtv) } + case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -10709,6 +11025,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10717,6 +11034,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Name = ptr.String(jtv) } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -10725,6 +11043,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingDescription = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -10733,6 +11052,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingId = ptr.String(jtv) } + case "offeringType": if value != nil { jtv, ok := value.(string) @@ -10741,6 +11061,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.OfferingType = types.OfferingType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10749,10 +11070,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Region = ptr.String(jtv) } + case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } + case "reservationId": if value != nil { jtv, ok := value.(string) @@ -10761,10 +11084,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.ReservationId = ptr.String(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "start": if value != nil { jtv, ok := value.(string) @@ -10773,6 +11098,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.Start = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -10781,10 +11107,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } sv.State = types.ReservationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -10818,6 +11146,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes } } + default: _, _ = key, value @@ -10991,10 +11320,12 @@ func awsRestjson1_deserializeOpDocumentDescribeScheduleOutput(v **DescribeSchedu } sv.NextToken = ptr.String(jtv) } + case "scheduleActions": if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } + default: _, _ = key, value @@ -11167,6 +11498,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThumbnailsOutput(v **DescribeThum if err := awsRestjson1_deserializeDocument__listOfThumbnailDetail(&sv.ThumbnailDetails, value); err != nil { return err } + default: _, _ = key, value @@ -11334,6 +11666,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Arn = ptr.String(jtv) } + case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -11342,6 +11675,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11354,6 +11688,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.CreatedAt = ptr.Time(t) } + case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -11366,6 +11701,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11374,6 +11710,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Description = ptr.String(jtv) } + case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -11386,6 +11723,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -11394,6 +11732,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11402,6 +11741,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Id = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -11410,6 +11750,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.MetricName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -11422,6 +11763,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11430,6 +11772,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Name = ptr.String(jtv) } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -11442,6 +11785,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Period = ptr.Int32(int32(i64)) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -11450,10 +11794,12 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -11462,6 +11808,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -11495,6 +11842,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } } + case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -11503,6 +11851,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateOutput(v **GetC } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } + default: _, _ = key, value @@ -11670,6 +12019,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11682,6 +12032,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11690,6 +12041,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11698,6 +12050,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -11710,6 +12063,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11718,10 +12072,12 @@ func awsRestjson1_deserializeOpDocumentGetCloudWatchAlarmTemplateGroupOutput(v * } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11889,6 +12245,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11901,6 +12258,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11909,10 +12267,12 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Description = ptr.String(jtv) } + case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -11921,6 +12281,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -11929,6 +12290,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11937,6 +12299,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -11949,6 +12312,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11957,10 +12321,12 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateOutput(v **GetE } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12128,6 +12494,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12140,6 +12507,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12148,6 +12516,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12156,6 +12525,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12168,6 +12538,7 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12176,10 +12547,12 @@ func awsRestjson1_deserializeOpDocumentGetEventBridgeRuleTemplateGroupOutput(v * } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12347,10 +12720,12 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Arn = ptr.String(jtv) } + case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12363,6 +12738,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12371,6 +12747,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Description = ptr.String(jtv) } + case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -12379,6 +12756,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.DiscoveryEntryPointArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12387,14 +12765,17 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.ErrorMessage = ptr.String(jtv) } + case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } + case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12403,6 +12784,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Id = ptr.String(jtv) } + case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -12415,14 +12797,17 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.LastDiscoveredAt = ptr.Time(t) } + case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } + case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -12435,6 +12820,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.ModifiedAt = ptr.Time(t) } + case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -12443,10 +12829,12 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } + case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12455,6 +12843,7 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12463,10 +12852,12 @@ func awsRestjson1_deserializeOpDocumentGetSignalMapOutput(v **GetSignalMapOutput } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12633,6 +13024,7 @@ func awsRestjson1_deserializeOpDocumentListChannelPlacementGroupsOutput(v **List if err := awsRestjson1_deserializeDocument__listOfDescribeChannelPlacementGroupSummary(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12641,6 +13033,7 @@ func awsRestjson1_deserializeOpDocumentListChannelPlacementGroupsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12807,6 +13200,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannelSummary(&sv.Channels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12815,6 +13209,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12978,6 +13373,7 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplateGroupsOutput(v if err := awsRestjson1_deserializeDocument__listOfCloudWatchAlarmTemplateGroupSummary(&sv.CloudWatchAlarmTemplateGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12986,6 +13382,7 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplateGroupsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13149,6 +13546,7 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplatesOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfCloudWatchAlarmTemplateSummary(&sv.CloudWatchAlarmTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13157,6 +13555,7 @@ func awsRestjson1_deserializeOpDocumentListCloudWatchAlarmTemplatesOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13323,6 +13722,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfDescribeClusterSummary(&sv.Clusters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13331,6 +13731,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13494,6 +13895,7 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplateGroupsOutput(v if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateGroupSummary(&sv.EventBridgeRuleTemplateGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13502,6 +13904,7 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplateGroupsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13665,6 +14068,7 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplatesOutput(v **Li if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateSummary(&sv.EventBridgeRuleTemplates, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13673,6 +14077,7 @@ func awsRestjson1_deserializeOpDocumentListEventBridgeRuleTemplatesOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13839,6 +14244,7 @@ func awsRestjson1_deserializeOpDocumentListInputDevicesOutput(v **ListInputDevic if err := awsRestjson1_deserializeDocument__listOfInputDeviceSummary(&sv.InputDevices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -13847,6 +14253,7 @@ func awsRestjson1_deserializeOpDocumentListInputDevicesOutput(v **ListInputDevic } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14016,6 +14423,7 @@ func awsRestjson1_deserializeOpDocumentListInputDeviceTransfersOutput(v **ListIn if err := awsRestjson1_deserializeDocument__listOfTransferringInputDeviceSummary(&sv.InputDeviceTransfers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14024,6 +14432,7 @@ func awsRestjson1_deserializeOpDocumentListInputDeviceTransfersOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14190,6 +14599,7 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va if err := awsRestjson1_deserializeDocument__listOfInput(&sv.Inputs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14198,6 +14608,7 @@ func awsRestjson1_deserializeOpDocumentListInputsOutput(v **ListInputsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14364,6 +14775,7 @@ func awsRestjson1_deserializeOpDocumentListInputSecurityGroupsOutput(v **ListInp if err := awsRestjson1_deserializeDocument__listOfInputSecurityGroup(&sv.InputSecurityGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14372,6 +14784,7 @@ func awsRestjson1_deserializeOpDocumentListInputSecurityGroupsOutput(v **ListInp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14538,6 +14951,7 @@ func awsRestjson1_deserializeOpDocumentListMultiplexesOutput(v **ListMultiplexes if err := awsRestjson1_deserializeDocument__listOfMultiplexSummary(&sv.Multiplexes, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14546,6 +14960,7 @@ func awsRestjson1_deserializeOpDocumentListMultiplexesOutput(v **ListMultiplexes } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14715,6 +15130,7 @@ func awsRestjson1_deserializeOpDocumentListMultiplexProgramsOutput(v **ListMulti if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramSummary(&sv.MultiplexPrograms, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14723,6 +15139,7 @@ func awsRestjson1_deserializeOpDocumentListMultiplexProgramsOutput(v **ListMulti } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14889,6 +15306,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocument__listOfDescribeNetworkSummary(&sv.Networks, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -14897,6 +15315,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15067,10 +15486,12 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOfDescribeNodeSummary(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -15241,10 +15662,12 @@ func awsRestjson1_deserializeOpDocumentListOfferingsOutput(v **ListOfferingsOutp } sv.NextToken = ptr.String(jtv) } + case "offerings": if err := awsRestjson1_deserializeDocument__listOfOffering(&sv.Offerings, value); err != nil { return err } + default: _, _ = key, value @@ -15415,10 +15838,12 @@ func awsRestjson1_deserializeOpDocumentListReservationsOutput(v **ListReservatio } sv.NextToken = ptr.String(jtv) } + case "reservations": if err := awsRestjson1_deserializeDocument__listOfReservation(&sv.Reservations, value); err != nil { return err } + default: _, _ = key, value @@ -15586,10 +16011,12 @@ func awsRestjson1_deserializeOpDocumentListSignalMapsOutput(v **ListSignalMapsOu } sv.NextToken = ptr.String(jtv) } + case "signalMaps": if err := awsRestjson1_deserializeDocument__listOfSignalMapSummary(&sv.SignalMaps, value); err != nil { return err } + default: _, _ = key, value @@ -15750,6 +16177,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15922,6 +16350,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseOfferingOutput(v **PurchaseOfferi if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } + default: _, _ = key, value @@ -16315,6 +16744,7 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -16323,10 +16753,12 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -16335,18 +16767,22 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -16355,14 +16791,17 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -16371,10 +16810,12 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "maintenanceStatus": if value != nil { jtv, ok := value.(string) @@ -16383,6 +16824,7 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.MaintenanceStatus = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16391,10 +16833,12 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -16407,6 +16851,7 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16415,6 +16860,7 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -16423,14 +16869,17 @@ func awsRestjson1_deserializeOpDocumentRestartChannelPipelinesOutput(v **Restart } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -16603,6 +17052,7 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -16611,10 +17061,12 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -16623,18 +17075,22 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -16643,14 +17099,17 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -16659,10 +17118,12 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16671,10 +17132,12 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -16687,6 +17150,7 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16695,6 +17159,7 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -16703,14 +17168,17 @@ func awsRestjson1_deserializeOpDocumentStartChannelOutput(v **StartChannelOutput } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -16881,10 +17349,12 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Arn = ptr.String(jtv) } + case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -16897,6 +17367,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16905,6 +17376,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Description = ptr.String(jtv) } + case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -16913,6 +17385,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.DiscoveryEntryPointArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -16921,14 +17394,17 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.ErrorMessage = ptr.String(jtv) } + case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } + case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -16937,6 +17413,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Id = ptr.String(jtv) } + case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -16949,14 +17426,17 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.LastDiscoveredAt = ptr.Time(t) } + case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } + case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -16969,6 +17449,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.ModifiedAt = ptr.Time(t) } + case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -16977,10 +17458,12 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } + case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16989,6 +17472,7 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16997,10 +17481,12 @@ func awsRestjson1_deserializeOpDocumentStartDeleteMonitorDeploymentOutput(v **St } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17389,10 +17875,12 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Arn = ptr.String(jtv) } + case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17405,6 +17893,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17413,6 +17902,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Description = ptr.String(jtv) } + case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -17421,6 +17911,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.DiscoveryEntryPointArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -17429,14 +17920,17 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.ErrorMessage = ptr.String(jtv) } + case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } + case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17445,6 +17939,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Id = ptr.String(jtv) } + case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -17457,14 +17952,17 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.LastDiscoveredAt = ptr.Time(t) } + case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } + case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -17477,6 +17975,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.ModifiedAt = ptr.Time(t) } + case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -17485,10 +17984,12 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } + case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -17497,6 +17998,7 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17505,10 +18007,12 @@ func awsRestjson1_deserializeOpDocumentStartMonitorDeploymentOutput(v **StartMon } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17685,14 +18189,17 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17701,10 +18208,12 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -17713,6 +18222,7 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -17725,6 +18235,7 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -17737,6 +18248,7 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -17745,10 +18257,12 @@ func awsRestjson1_deserializeOpDocumentStartMultiplexOutput(v **StartMultiplexOu } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17919,10 +18433,12 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Arn = ptr.String(jtv) } + case "cloudWatchAlarmTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.CloudWatchAlarmTemplateGroupIds, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -17935,6 +18451,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17943,6 +18460,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Description = ptr.String(jtv) } + case "discoveryEntryPointArn": if value != nil { jtv, ok := value.(string) @@ -17951,6 +18469,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.DiscoveryEntryPointArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -17959,14 +18478,17 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.ErrorMessage = ptr.String(jtv) } + case "eventBridgeRuleTemplateGroupIds": if err := awsRestjson1_deserializeDocument__listOf__stringMin7Max11PatternAws097(&sv.EventBridgeRuleTemplateGroupIds, value); err != nil { return err } + case "failedMediaResourceMap": if err := awsRestjson1_deserializeDocumentFailedMediaResourceMap(&sv.FailedMediaResourceMap, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17975,6 +18497,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Id = ptr.String(jtv) } + case "lastDiscoveredAt": if value != nil { jtv, ok := value.(string) @@ -17987,14 +18510,17 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.LastDiscoveredAt = ptr.Time(t) } + case "lastSuccessfulMonitorDeployment": if err := awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(&sv.LastSuccessfulMonitorDeployment, value); err != nil { return err } + case "mediaResourceMap": if err := awsRestjson1_deserializeDocumentMediaResourceMap(&sv.MediaResourceMap, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -18007,6 +18533,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.ModifiedAt = ptr.Time(t) } + case "monitorChangesPendingDeployment": if value != nil { jtv, ok := value.(bool) @@ -18015,10 +18542,12 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.MonitorChangesPendingDeployment = ptr.Bool(jtv) } + case "monitorDeployment": if err := awsRestjson1_deserializeDocumentMonitorDeployment(&sv.MonitorDeployment, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18027,6 +18556,7 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18035,10 +18565,12 @@ func awsRestjson1_deserializeOpDocumentStartUpdateSignalMapOutput(v **StartUpdat } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18211,6 +18743,7 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -18219,10 +18752,12 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -18231,18 +18766,22 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -18251,14 +18790,17 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -18267,10 +18809,12 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18279,10 +18823,12 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -18295,6 +18841,7 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -18303,6 +18850,7 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -18311,14 +18859,17 @@ func awsRestjson1_deserializeOpDocumentStopChannelOutput(v **StopChannelOutput, } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -18604,14 +19155,17 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -18620,10 +19174,12 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -18632,6 +19188,7 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -18644,6 +19201,7 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -18656,6 +19214,7 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -18664,10 +19223,12 @@ func awsRestjson1_deserializeOpDocumentStopMultiplexOutput(v **StopMultiplexOutp } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18949,6 +19510,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountConfigurationOutput(v **Upda if err := awsRestjson1_deserializeDocumentAccountConfiguration(&sv.AccountConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -19118,6 +19680,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -19293,6 +19856,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelClassOutput(v **UpdateChanne if err := awsRestjson1_deserializeDocumentChannel(&sv.Channel, value); err != nil { return err } + default: _, _ = key, value @@ -19469,10 +20033,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Arn = ptr.String(jtv) } + case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -19481,6 +20047,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.ClusterId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19489,6 +20056,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19497,10 +20065,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.Name = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -19509,6 +20079,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelPlacementGroupOutput(v **Upd } sv.State = types.ChannelPlacementGroupState(jtv) } + default: _, _ = key, value @@ -19679,6 +20250,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Arn = ptr.String(jtv) } + case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -19687,6 +20259,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -19699,6 +20272,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.CreatedAt = ptr.Time(t) } + case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -19711,6 +20285,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -19719,6 +20294,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Description = ptr.String(jtv) } + case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -19731,6 +20307,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -19739,6 +20316,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19747,6 +20325,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Id = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -19755,6 +20334,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.MetricName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -19767,6 +20347,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19775,6 +20356,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Name = ptr.String(jtv) } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -19787,6 +20369,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Period = ptr.Int32(int32(i64)) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -19795,10 +20378,12 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -19807,6 +20392,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -19840,6 +20426,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } } + case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -19848,6 +20435,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateOutput(v **U } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } + default: _, _ = key, value @@ -20018,6 +20606,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20030,6 +20619,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20038,6 +20628,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20046,6 +20637,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -20058,6 +20650,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20066,10 +20659,12 @@ func awsRestjson1_deserializeOpDocumentUpdateCloudWatchAlarmTemplateGroupOutput( } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20243,10 +20838,12 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Arn = ptr.String(jtv) } + case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -20255,6 +20852,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.ClusterType = types.ClusterType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20263,6 +20861,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20271,10 +20870,12 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -20283,6 +20884,7 @@ func awsRestjson1_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -20453,6 +21055,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20465,6 +21068,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20473,10 +21077,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Description = ptr.String(jtv) } + case "eventTargets": if err := awsRestjson1_deserializeDocument__listOfEventBridgeRuleTemplateTarget(&sv.EventTargets, value); err != nil { return err } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -20485,6 +21091,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -20493,6 +21100,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20501,6 +21109,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -20513,6 +21122,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20521,10 +21131,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateOutput(v **U } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20695,6 +21307,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -20707,6 +21320,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20715,6 +21329,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20723,6 +21338,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -20735,6 +21351,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20743,10 +21360,12 @@ func awsRestjson1_deserializeOpDocumentUpdateEventBridgeRuleTemplateGroupOutput( } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20916,6 +21535,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputOutput(v **UpdateInputOutput, if err := awsRestjson1_deserializeDocumentInput(&sv.Input, value); err != nil { return err } + default: _, _ = key, value @@ -21092,6 +21712,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -21100,6 +21721,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.AvailabilityZone = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -21108,6 +21730,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } + case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -21116,6 +21739,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } + case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -21124,10 +21748,12 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } + case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -21136,6 +21762,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Id = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -21144,10 +21771,12 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.MacAddress = ptr.String(jtv) } + case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -21156,10 +21785,12 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "outputType": if value != nil { jtv, ok := value.(string) @@ -21168,6 +21799,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.OutputType = types.InputDeviceOutputType(jtv) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -21176,10 +21808,12 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.SerialNumber = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -21188,10 +21822,12 @@ func awsRestjson1_deserializeOpDocumentUpdateInputDeviceOutput(v **UpdateInputDe } sv.Type = types.InputDeviceType(jtv) } + case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -21361,6 +21997,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInputSecurityGroupOutput(v **Update if err := awsRestjson1_deserializeDocumentInputSecurityGroup(&sv.SecurityGroup, value); err != nil { return err } + default: _, _ = key, value @@ -21533,6 +22170,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMultiplexOutput(v **UpdateMultiplex if err := awsRestjson1_deserializeDocumentMultiplex(&sv.Multiplex, value); err != nil { return err } + default: _, _ = key, value @@ -21705,6 +22343,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMultiplexProgramOutput(v **UpdateMu if err := awsRestjson1_deserializeDocumentMultiplexProgram(&sv.MultiplexProgram, value); err != nil { return err } + default: _, _ = key, value @@ -21878,10 +22517,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Arn = ptr.String(jtv) } + case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -21890,10 +22531,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Id = ptr.String(jtv) } + case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -21902,10 +22545,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.Name = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -21914,6 +22559,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkOutput(v **UpdateNetworkOutp } sv.State = types.NetworkState(jtv) } + default: _, _ = key, value @@ -22087,10 +22733,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -22099,6 +22747,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -22107,6 +22756,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -22115,6 +22765,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -22123,6 +22774,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.InstanceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22131,10 +22783,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -22143,6 +22797,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -22151,6 +22806,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeOutput(v **UpdateNodeOutput, va } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -22327,10 +22983,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -22339,6 +22997,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -22347,6 +23006,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -22355,6 +23015,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -22363,6 +23024,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.InstanceArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -22371,10 +23033,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -22383,6 +23047,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -22391,6 +23056,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNodeStateOutput(v **UpdateNodeState } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -22563,6 +23229,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReservationOutput(v **UpdateReserva if err := awsRestjson1_deserializeDocumentReservation(&sv.Reservation, value); err != nil { return err } + default: _, _ = key, value @@ -25349,6 +26016,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -25357,6 +26025,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.CodingMode = types.AacCodingMode(jtv) } + case "inputType": if value != nil { jtv, ok := value.(string) @@ -25365,6 +26034,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.InputType = types.AacInputType(jtv) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -25373,6 +26043,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Profile = types.AacProfile(jtv) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -25381,6 +26052,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RateControlMode = types.AacRateControlMode(jtv) } + case "rawFormat": if value != nil { jtv, ok := value.(string) @@ -25389,6 +26061,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.RawFormat = types.AacRawFormat(jtv) } + case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -25422,6 +26095,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } } + case "spec": if value != nil { jtv, ok := value.(string) @@ -25430,6 +26104,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.Spec = types.AacSpec(jtv) } + case "vbrQuality": if value != nil { jtv, ok := value.(string) @@ -25438,6 +26113,7 @@ func awsRestjson1_deserializeDocumentAacSettings(v **types.AacSettings, value in } sv.VbrQuality = types.AacVbrQuality(jtv) } + default: _, _ = key, value @@ -25477,6 +26153,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.AttenuationControl = types.Ac3AttenuationControl(jtv) } + case "bitrate": if value != nil { switch jtv := value.(type) { @@ -25510,6 +26187,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } } + case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -25518,6 +26196,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.BitstreamMode = types.Ac3BitstreamMode(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -25526,6 +26205,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.CodingMode = types.Ac3CodingMode(jtv) } + case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -25538,6 +26218,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.Dialnorm = ptr.Int32(int32(i64)) } + case "drcProfile": if value != nil { jtv, ok := value.(string) @@ -25546,6 +26227,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.DrcProfile = types.Ac3DrcProfile(jtv) } + case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -25554,6 +26236,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.LfeFilter = types.Ac3LfeFilter(jtv) } + case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -25562,6 +26245,7 @@ func awsRestjson1_deserializeDocumentAc3Settings(v **types.Ac3Settings, value in } sv.MetadataControl = types.Ac3MetadataControl(jtv) } + default: _, _ = key, value @@ -25601,6 +26285,7 @@ func awsRestjson1_deserializeDocumentAccountConfiguration(v **types.AccountConfi } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -25644,6 +26329,7 @@ func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.Ancillary } sv.SourceAncillaryChannelNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25679,6 +26365,7 @@ func awsRestjson1_deserializeDocumentArchiveCdnSettings(v **types.ArchiveCdnSett if err := awsRestjson1_deserializeDocumentArchiveS3Settings(&sv.ArchiveS3Settings, value); err != nil { return err } + default: _, _ = key, value @@ -25714,10 +26401,12 @@ func awsRestjson1_deserializeDocumentArchiveContainerSettings(v **types.ArchiveC if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } + case "rawSettings": if err := awsRestjson1_deserializeDocumentRawSettings(&sv.RawSettings, value); err != nil { return err } + default: _, _ = key, value @@ -25753,10 +26442,12 @@ func awsRestjson1_deserializeDocumentArchiveGroupSettings(v **types.ArchiveGroup if err := awsRestjson1_deserializeDocumentArchiveCdnSettings(&sv.ArchiveCdnSettings, value); err != nil { return err } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "rolloverInterval": if value != nil { jtv, ok := value.(json.Number) @@ -25769,6 +26460,7 @@ func awsRestjson1_deserializeDocumentArchiveGroupSettings(v **types.ArchiveGroup } sv.RolloverInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25804,6 +26496,7 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp if err := awsRestjson1_deserializeDocumentArchiveContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "extension": if value != nil { jtv, ok := value.(string) @@ -25812,6 +26505,7 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp } sv.Extension = ptr.String(jtv) } + case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -25820,6 +26514,7 @@ func awsRestjson1_deserializeDocumentArchiveOutputSettings(v **types.ArchiveOutp } sv.NameModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -25859,6 +26554,7 @@ func awsRestjson1_deserializeDocumentArchiveS3Settings(v **types.ArchiveS3Settin } sv.CannedAcl = types.S3CannedAcl(jtv) } + default: _, _ = key, value @@ -25956,6 +26652,7 @@ func awsRestjson1_deserializeDocumentAudioChannelMapping(v **types.AudioChannelM if err := awsRestjson1_deserializeDocument__listOfInputChannelLevel(&sv.InputChannelLevels, value); err != nil { return err } + case "outputChannel": if value != nil { jtv, ok := value.(json.Number) @@ -25968,6 +26665,7 @@ func awsRestjson1_deserializeDocumentAudioChannelMapping(v **types.AudioChannelM } sv.OutputChannel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26003,30 +26701,37 @@ func awsRestjson1_deserializeDocumentAudioCodecSettings(v **types.AudioCodecSett if err := awsRestjson1_deserializeDocumentAacSettings(&sv.AacSettings, value); err != nil { return err } + case "ac3Settings": if err := awsRestjson1_deserializeDocumentAc3Settings(&sv.Ac3Settings, value); err != nil { return err } + case "eac3AtmosSettings": if err := awsRestjson1_deserializeDocumentEac3AtmosSettings(&sv.Eac3AtmosSettings, value); err != nil { return err } + case "eac3Settings": if err := awsRestjson1_deserializeDocumentEac3Settings(&sv.Eac3Settings, value); err != nil { return err } + case "mp2Settings": if err := awsRestjson1_deserializeDocumentMp2Settings(&sv.Mp2Settings, value); err != nil { return err } + case "passThroughSettings": if err := awsRestjson1_deserializeDocumentPassThroughSettings(&sv.PassThroughSettings, value); err != nil { return err } + case "wavSettings": if err := awsRestjson1_deserializeDocumentWavSettings(&sv.WavSettings, value); err != nil { return err } + default: _, _ = key, value @@ -26062,10 +26767,12 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription if err := awsRestjson1_deserializeDocument__listOfDashRoleAudio(&sv.AudioDashRoles, value); err != nil { return err } + case "audioNormalizationSettings": if err := awsRestjson1_deserializeDocumentAudioNormalizationSettings(&sv.AudioNormalizationSettings, value); err != nil { return err } + case "audioSelectorName": if value != nil { jtv, ok := value.(string) @@ -26074,6 +26781,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioSelectorName = ptr.String(jtv) } + case "audioType": if value != nil { jtv, ok := value.(string) @@ -26082,6 +26790,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioType = types.AudioType(jtv) } + case "audioTypeControl": if value != nil { jtv, ok := value.(string) @@ -26090,14 +26799,17 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.AudioTypeControl = types.AudioDescriptionAudioTypeControl(jtv) } + case "audioWatermarkingSettings": if err := awsRestjson1_deserializeDocumentAudioWatermarkSettings(&sv.AudioWatermarkingSettings, value); err != nil { return err } + case "codecSettings": if err := awsRestjson1_deserializeDocumentAudioCodecSettings(&sv.CodecSettings, value); err != nil { return err } + case "dvbDashAccessibility": if value != nil { jtv, ok := value.(string) @@ -26106,6 +26818,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.DvbDashAccessibility = types.DvbDashAccessibility(jtv) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -26114,6 +26827,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCode = ptr.String(jtv) } + case "languageCodeControl": if value != nil { jtv, ok := value.(string) @@ -26122,6 +26836,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.LanguageCodeControl = types.AudioDescriptionLanguageCodeControl(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26130,10 +26845,12 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.Name = ptr.String(jtv) } + case "remixSettings": if err := awsRestjson1_deserializeDocumentRemixSettings(&sv.RemixSettings, value); err != nil { return err } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -26142,6 +26859,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -26181,6 +26899,7 @@ func awsRestjson1_deserializeDocumentAudioDolbyEDecode(v **types.AudioDolbyEDeco } sv.ProgramSelection = types.DolbyEProgramSelection(jtv) } + default: _, _ = key, value @@ -26220,6 +26939,7 @@ func awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(v **types.AudioH } sv.GroupId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -26228,6 +26948,7 @@ func awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(v **types.AudioH } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -26267,6 +26988,7 @@ func awsRestjson1_deserializeDocumentAudioLanguageSelection(v **types.AudioLangu } sv.LanguageCode = ptr.String(jtv) } + case "languageSelectionPolicy": if value != nil { jtv, ok := value.(string) @@ -26275,6 +26997,7 @@ func awsRestjson1_deserializeDocumentAudioLanguageSelection(v **types.AudioLangu } sv.LanguageSelectionPolicy = types.AudioLanguageSelectionPolicy(jtv) } + default: _, _ = key, value @@ -26314,6 +27037,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.Algorithm = types.AudioNormalizationAlgorithm(jtv) } + case "algorithmControl": if value != nil { jtv, ok := value.(string) @@ -26322,6 +27046,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } sv.AlgorithmControl = types.AudioNormalizationAlgorithmControl(jtv) } + case "targetLkfs": if value != nil { switch jtv := value.(type) { @@ -26355,6 +27080,7 @@ func awsRestjson1_deserializeDocumentAudioNormalizationSettings(v **types.AudioN } } + default: _, _ = key, value @@ -26394,10 +27120,12 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.AudioGroupId = ptr.String(jtv) } + case "audioOnlyImage": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.AudioOnlyImage, value); err != nil { return err } + case "audioTrackType": if value != nil { jtv, ok := value.(string) @@ -26406,6 +27134,7 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.AudioTrackType = types.AudioOnlyHlsTrackType(jtv) } + case "segmentType": if value != nil { jtv, ok := value.(string) @@ -26414,6 +27143,7 @@ func awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(v **types.AudioOnlyHls } sv.SegmentType = types.AudioOnlyHlsSegmentType(jtv) } + default: _, _ = key, value @@ -26457,6 +27187,7 @@ func awsRestjson1_deserializeDocumentAudioPidSelection(v **types.AudioPidSelecti } sv.Pid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26496,10 +27227,12 @@ func awsRestjson1_deserializeDocumentAudioSelector(v **types.AudioSelector, valu } sv.Name = ptr.String(jtv) } + case "selectorSettings": if err := awsRestjson1_deserializeDocumentAudioSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } + default: _, _ = key, value @@ -26535,18 +27268,22 @@ func awsRestjson1_deserializeDocumentAudioSelectorSettings(v **types.AudioSelect if err := awsRestjson1_deserializeDocumentAudioHlsRenditionSelection(&sv.AudioHlsRenditionSelection, value); err != nil { return err } + case "audioLanguageSelection": if err := awsRestjson1_deserializeDocumentAudioLanguageSelection(&sv.AudioLanguageSelection, value); err != nil { return err } + case "audioPidSelection": if err := awsRestjson1_deserializeDocumentAudioPidSelection(&sv.AudioPidSelection, value); err != nil { return err } + case "audioTrackSelection": if err := awsRestjson1_deserializeDocumentAudioTrackSelection(&sv.AudioTrackSelection, value); err != nil { return err } + default: _, _ = key, value @@ -26586,6 +27323,7 @@ func awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(v **types.Audi } sv.AudioSelectorName = ptr.String(jtv) } + case "audioSilenceThresholdMsec": if value != nil { jtv, ok := value.(json.Number) @@ -26598,6 +27336,7 @@ func awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(v **types.Audi } sv.AudioSilenceThresholdMsec = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26641,6 +27380,7 @@ func awsRestjson1_deserializeDocumentAudioTrack(v **types.AudioTrack, value inte } sv.Track = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26676,10 +27416,12 @@ func awsRestjson1_deserializeDocumentAudioTrackSelection(v **types.AudioTrackSel if err := awsRestjson1_deserializeDocumentAudioDolbyEDecode(&sv.DolbyEDecode, value); err != nil { return err } + case "tracks": if err := awsRestjson1_deserializeDocument__listOfAudioTrack(&sv.Tracks, value); err != nil { return err } + default: _, _ = key, value @@ -26715,6 +27457,7 @@ func awsRestjson1_deserializeDocumentAudioWatermarkSettings(v **types.AudioWater if err := awsRestjson1_deserializeDocumentNielsenWatermarksSettings(&sv.NielsenWatermarksSettings, value); err != nil { return err } + default: _, _ = key, value @@ -26758,10 +27501,12 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.ErrorClearTimeMsec = ptr.Int32(int32(i64)) } + case "failoverConditions": if err := awsRestjson1_deserializeDocument__listOfFailoverCondition(&sv.FailoverConditions, value); err != nil { return err } + case "inputPreference": if value != nil { jtv, ok := value.(string) @@ -26770,6 +27515,7 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.InputPreference = types.InputPreference(jtv) } + case "secondaryInputId": if value != nil { jtv, ok := value.(string) @@ -26778,6 +27524,7 @@ func awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(v **types.Au } sv.SecondaryInputId = ptr.String(jtv) } + default: _, _ = key, value @@ -26813,18 +27560,22 @@ func awsRestjson1_deserializeDocumentAv1ColorSpaceSettings(v **types.Av1ColorSpa if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } + case "hdr10Settings": if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } + case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } + case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } + default: _, _ = key, value @@ -26864,6 +27615,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.AfdSignaling = types.AfdSignaling(jtv) } + case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -26876,10 +27628,12 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.BufSize = ptr.Int32(int32(i64)) } + case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentAv1ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } + case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -26888,6 +27642,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FixedAfd = types.FixedAfd(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -26900,6 +27655,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -26912,6 +27668,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -26945,6 +27702,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -26953,6 +27711,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.GopSizeUnits = types.Av1GopSizeUnits(jtv) } + case "level": if value != nil { jtv, ok := value.(string) @@ -26961,6 +27720,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.Level = types.Av1Level(jtv) } + case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -26969,6 +27729,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.LookAheadRateControl = types.Av1LookAheadRateControl(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -26981,6 +27742,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -26993,6 +27755,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -27005,6 +27768,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -27017,6 +27781,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -27029,6 +27794,7 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -27037,10 +27803,12 @@ func awsRestjson1_deserializeDocumentAv1Settings(v **types.Av1Settings, value in } sv.SceneChangeDetect = types.Av1SceneChangeDetect(jtv) } + case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } + default: _, _ = key, value @@ -27076,6 +27844,7 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu if err := awsRestjson1_deserializeDocumentInputLocation(&sv.AvailBlankingImage, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -27084,6 +27853,7 @@ func awsRestjson1_deserializeDocumentAvailBlanking(v **types.AvailBlanking, valu } sv.State = types.AvailBlankingState(jtv) } + default: _, _ = key, value @@ -27119,6 +27889,7 @@ func awsRestjson1_deserializeDocumentAvailConfiguration(v **types.AvailConfigura if err := awsRestjson1_deserializeDocumentAvailSettings(&sv.AvailSettings, value); err != nil { return err } + case "scte35SegmentationScope": if value != nil { jtv, ok := value.(string) @@ -27127,6 +27898,7 @@ func awsRestjson1_deserializeDocumentAvailConfiguration(v **types.AvailConfigura } sv.Scte35SegmentationScope = types.Scte35SegmentationScope(jtv) } + default: _, _ = key, value @@ -27162,14 +27934,17 @@ func awsRestjson1_deserializeDocumentAvailSettings(v **types.AvailSettings, valu if err := awsRestjson1_deserializeDocumentEsam(&sv.Esam, value); err != nil { return err } + case "scte35SpliceInsert": if err := awsRestjson1_deserializeDocumentScte35SpliceInsert(&sv.Scte35SpliceInsert, value); err != nil { return err } + case "scte35TimeSignalApos": if err := awsRestjson1_deserializeDocumentScte35TimeSignalApos(&sv.Scte35TimeSignalApos, value); err != nil { return err } + default: _, _ = key, value @@ -27209,6 +27984,7 @@ func awsRestjson1_deserializeDocumentBadGatewayException(v **types.BadGatewayExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27248,6 +28024,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27287,6 +28064,7 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(v **types. } sv.PostFilterSharpening = types.BandwidthReductionPostFilterSharpening(jtv) } + case "strength": if value != nil { jtv, ok := value.(string) @@ -27295,6 +28073,7 @@ func awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(v **types. } sv.Strength = types.BandwidthReductionFilterStrength(jtv) } + default: _, _ = key, value @@ -27334,6 +28113,7 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Arn = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -27342,6 +28122,7 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Code = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -27350,6 +28131,7 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Id = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -27358,6 +28140,7 @@ func awsRestjson1_deserializeDocumentBatchFailedResultModel(v **types.BatchFaile } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27393,6 +28176,7 @@ func awsRestjson1_deserializeDocumentBatchScheduleActionCreateResult(v **types.B if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } + default: _, _ = key, value @@ -27428,6 +28212,7 @@ func awsRestjson1_deserializeDocumentBatchScheduleActionDeleteResult(v **types.B if err := awsRestjson1_deserializeDocument__listOfScheduleAction(&sv.ScheduleActions, value); err != nil { return err } + default: _, _ = key, value @@ -27467,6 +28252,7 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -27475,6 +28261,7 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.Id = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -27483,6 +28270,7 @@ func awsRestjson1_deserializeDocumentBatchSuccessfulResultModel(v **types.BatchS } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -27518,6 +28306,7 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu if err := awsRestjson1_deserializeDocumentInputLocation(&sv.BlackoutSlateImage, value); err != nil { return err } + case "networkEndBlackout": if value != nil { jtv, ok := value.(string) @@ -27526,10 +28315,12 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.NetworkEndBlackout = types.BlackoutSlateNetworkEndBlackout(jtv) } + case "networkEndBlackoutImage": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.NetworkEndBlackoutImage, value); err != nil { return err } + case "networkId": if value != nil { jtv, ok := value.(string) @@ -27538,6 +28329,7 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.NetworkId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -27546,6 +28338,7 @@ func awsRestjson1_deserializeDocumentBlackoutSlate(v **types.BlackoutSlate, valu } sv.State = types.BlackoutSlateState(jtv) } + default: _, _ = key, value @@ -27585,6 +28378,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.Alignment = types.BurnInAlignment(jtv) } + case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -27593,6 +28387,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.BackgroundColor = types.BurnInBackgroundColor(jtv) } + case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -27605,10 +28400,12 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } + case "font": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Font, value); err != nil { return err } + case "fontColor": if value != nil { jtv, ok := value.(string) @@ -27617,6 +28414,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontColor = types.BurnInFontColor(jtv) } + case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -27629,6 +28427,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontOpacity = ptr.Int32(int32(i64)) } + case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -27641,6 +28440,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontResolution = ptr.Int32(int32(i64)) } + case "fontSize": if value != nil { jtv, ok := value.(string) @@ -27649,6 +28449,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.FontSize = ptr.String(jtv) } + case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -27657,6 +28458,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.OutlineColor = types.BurnInOutlineColor(jtv) } + case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -27669,6 +28471,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.OutlineSize = ptr.Int32(int32(i64)) } + case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -27677,6 +28480,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowColor = types.BurnInShadowColor(jtv) } + case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -27689,6 +28493,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } + case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -27701,6 +28506,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } + case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -27713,6 +28519,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } + case "teletextGridControl": if value != nil { jtv, ok := value.(string) @@ -27721,6 +28528,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.TeletextGridControl = types.BurnInTeletextGridControl(jtv) } + case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -27733,6 +28541,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.XPosition = ptr.Int32(int32(i64)) } + case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -27745,6 +28554,7 @@ func awsRestjson1_deserializeDocumentBurnInDestinationSettings(v **types.BurnInD } sv.YPosition = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -27784,10 +28594,12 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.Accessibility = types.AccessibilityType(jtv) } + case "captionDashRoles": if err := awsRestjson1_deserializeDocument__listOfDashRoleCaption(&sv.CaptionDashRoles, value); err != nil { return err } + case "captionSelectorName": if value != nil { jtv, ok := value.(string) @@ -27796,10 +28608,12 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.CaptionSelectorName = ptr.String(jtv) } + case "destinationSettings": if err := awsRestjson1_deserializeDocumentCaptionDestinationSettings(&sv.DestinationSettings, value); err != nil { return err } + case "dvbDashAccessibility": if value != nil { jtv, ok := value.(string) @@ -27808,6 +28622,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.DvbDashAccessibility = types.DvbDashAccessibility(jtv) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -27816,6 +28631,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageCode = ptr.String(jtv) } + case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -27824,6 +28640,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.LanguageDescription = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -27832,6 +28649,7 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -27867,54 +28685,67 @@ func awsRestjson1_deserializeDocumentCaptionDestinationSettings(v **types.Captio if err := awsRestjson1_deserializeDocumentAribDestinationSettings(&sv.AribDestinationSettings, value); err != nil { return err } + case "burnInDestinationSettings": if err := awsRestjson1_deserializeDocumentBurnInDestinationSettings(&sv.BurnInDestinationSettings, value); err != nil { return err } + case "dvbSubDestinationSettings": if err := awsRestjson1_deserializeDocumentDvbSubDestinationSettings(&sv.DvbSubDestinationSettings, value); err != nil { return err } + case "ebuTtDDestinationSettings": if err := awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(&sv.EbuTtDDestinationSettings, value); err != nil { return err } + case "embeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedDestinationSettings(&sv.EmbeddedDestinationSettings, value); err != nil { return err } + case "embeddedPlusScte20DestinationSettings": if err := awsRestjson1_deserializeDocumentEmbeddedPlusScte20DestinationSettings(&sv.EmbeddedPlusScte20DestinationSettings, value); err != nil { return err } + case "rtmpCaptionInfoDestinationSettings": if err := awsRestjson1_deserializeDocumentRtmpCaptionInfoDestinationSettings(&sv.RtmpCaptionInfoDestinationSettings, value); err != nil { return err } + case "scte20PlusEmbeddedDestinationSettings": if err := awsRestjson1_deserializeDocumentScte20PlusEmbeddedDestinationSettings(&sv.Scte20PlusEmbeddedDestinationSettings, value); err != nil { return err } + case "scte27DestinationSettings": if err := awsRestjson1_deserializeDocumentScte27DestinationSettings(&sv.Scte27DestinationSettings, value); err != nil { return err } + case "smpteTtDestinationSettings": if err := awsRestjson1_deserializeDocumentSmpteTtDestinationSettings(&sv.SmpteTtDestinationSettings, value); err != nil { return err } + case "teletextDestinationSettings": if err := awsRestjson1_deserializeDocumentTeletextDestinationSettings(&sv.TeletextDestinationSettings, value); err != nil { return err } + case "ttmlDestinationSettings": if err := awsRestjson1_deserializeDocumentTtmlDestinationSettings(&sv.TtmlDestinationSettings, value); err != nil { return err } + case "webvttDestinationSettings": if err := awsRestjson1_deserializeDocumentWebvttDestinationSettings(&sv.WebvttDestinationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -27958,6 +28789,7 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.CaptionChannel = ptr.Int32(int32(i64)) } + case "languageCode": if value != nil { jtv, ok := value.(string) @@ -27966,6 +28798,7 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.LanguageCode = ptr.String(jtv) } + case "languageDescription": if value != nil { jtv, ok := value.(string) @@ -27974,6 +28807,7 @@ func awsRestjson1_deserializeDocumentCaptionLanguageMapping(v **types.CaptionLan } sv.LanguageDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -28038,6 +28872,7 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } + case "leftOffset": if value != nil { switch jtv := value.(type) { @@ -28071,6 +28906,7 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } + case "topOffset": if value != nil { switch jtv := value.(type) { @@ -28104,6 +28940,7 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } + case "width": if value != nil { switch jtv := value.(type) { @@ -28137,6 +28974,7 @@ func awsRestjson1_deserializeDocumentCaptionRectangle(v **types.CaptionRectangle } } + default: _, _ = key, value @@ -28176,6 +29014,7 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.LanguageCode = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -28184,10 +29023,12 @@ func awsRestjson1_deserializeDocumentCaptionSelector(v **types.CaptionSelector, } sv.Name = ptr.String(jtv) } + case "selectorSettings": if err := awsRestjson1_deserializeDocumentCaptionSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } + default: _, _ = key, value @@ -28223,30 +29064,37 @@ func awsRestjson1_deserializeDocumentCaptionSelectorSettings(v **types.CaptionSe if err := awsRestjson1_deserializeDocumentAncillarySourceSettings(&sv.AncillarySourceSettings, value); err != nil { return err } + case "aribSourceSettings": if err := awsRestjson1_deserializeDocumentAribSourceSettings(&sv.AribSourceSettings, value); err != nil { return err } + case "dvbSubSourceSettings": if err := awsRestjson1_deserializeDocumentDvbSubSourceSettings(&sv.DvbSubSourceSettings, value); err != nil { return err } + case "embeddedSourceSettings": if err := awsRestjson1_deserializeDocumentEmbeddedSourceSettings(&sv.EmbeddedSourceSettings, value); err != nil { return err } + case "scte20SourceSettings": if err := awsRestjson1_deserializeDocumentScte20SourceSettings(&sv.Scte20SourceSettings, value); err != nil { return err } + case "scte27SourceSettings": if err := awsRestjson1_deserializeDocumentScte27SourceSettings(&sv.Scte27SourceSettings, value); err != nil { return err } + case "teletextSourceSettings": if err := awsRestjson1_deserializeDocumentTeletextSourceSettings(&sv.TeletextSourceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -28286,6 +29134,7 @@ func awsRestjson1_deserializeDocumentCdiInputSpecification(v **types.CdiInputSpe } sv.Resolution = types.CdiInputResolution(jtv) } + default: _, _ = key, value @@ -28321,6 +29170,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -28329,10 +29179,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -28341,18 +29193,22 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "encoderSettings": if err := awsRestjson1_deserializeDocumentEncoderSettings(&sv.EncoderSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -28361,14 +29217,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -28377,10 +29236,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28389,10 +29250,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Name = ptr.String(jtv) } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -28405,6 +29268,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -28413,6 +29277,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -28421,14 +29286,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -28468,6 +29336,7 @@ func awsRestjson1_deserializeDocumentChannelEgressEndpoint(v **types.ChannelEgre } sv.SourceIp = ptr.String(jtv) } + default: _, _ = key, value @@ -28503,6 +29372,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va if err := awsRestjson1_deserializeDocumentDescribeAnywhereSettings(&sv.AnywhereSettings, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -28511,10 +29381,12 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Arn = ptr.String(jtv) } + case "cdiInputSpecification": if err := awsRestjson1_deserializeDocumentCdiInputSpecification(&sv.CdiInputSpecification, value); err != nil { return err } + case "channelClass": if value != nil { jtv, ok := value.(string) @@ -28523,14 +29395,17 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.ChannelClass = types.ChannelClass(jtv) } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfOutputDestination(&sv.Destinations, value); err != nil { return err } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfChannelEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -28539,14 +29414,17 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Id = ptr.String(jtv) } + case "inputAttachments": if err := awsRestjson1_deserializeDocument__listOfInputAttachment(&sv.InputAttachments, value); err != nil { return err } + case "inputSpecification": if err := awsRestjson1_deserializeDocumentInputSpecification(&sv.InputSpecification, value); err != nil { return err } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -28555,10 +29433,12 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.LogLevel = types.LogLevel(jtv) } + case "maintenance": if err := awsRestjson1_deserializeDocumentMaintenanceStatus(&sv.Maintenance, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -28567,6 +29447,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -28579,6 +29460,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -28587,6 +29469,7 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.RoleArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -28595,14 +29478,17 @@ func awsRestjson1_deserializeDocumentChannelSummary(v **types.ChannelSummary, va } sv.State = types.ChannelState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vpc": if err := awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -28642,6 +29528,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -28654,6 +29541,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -28662,6 +29550,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -28670,6 +29559,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -28682,6 +29572,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -28690,10 +29581,12 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "templateCount": if value != nil { jtv, ok := value.(json.Number) @@ -28706,6 +29599,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateGroupSummary(v **typ } sv.TemplateCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -28745,6 +29639,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Arn = ptr.String(jtv) } + case "comparisonOperator": if value != nil { jtv, ok := value.(string) @@ -28753,6 +29648,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.ComparisonOperator = types.CloudWatchAlarmTemplateComparisonOperator(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -28765,6 +29661,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.CreatedAt = ptr.Time(t) } + case "datapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -28777,6 +29674,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "description": if value != nil { jtv, ok := value.(string) @@ -28785,6 +29683,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Description = ptr.String(jtv) } + case "evaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -28797,6 +29696,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -28805,6 +29705,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -28813,6 +29714,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Id = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -28821,6 +29723,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.MetricName = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -28833,6 +29736,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -28841,6 +29745,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Name = ptr.String(jtv) } + case "period": if value != nil { jtv, ok := value.(json.Number) @@ -28853,6 +29758,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Period = ptr.Int32(int32(i64)) } + case "statistic": if value != nil { jtv, ok := value.(string) @@ -28861,10 +29767,12 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.Statistic = types.CloudWatchAlarmTemplateStatistic(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -28873,6 +29781,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.TargetResourceType = types.CloudWatchAlarmTemplateTargetResourceType(jtv) } + case "threshold": if value != nil { switch jtv := value.(type) { @@ -28906,6 +29815,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } } + case "treatMissingData": if value != nil { jtv, ok := value.(string) @@ -28914,6 +29824,7 @@ func awsRestjson1_deserializeDocumentCloudWatchAlarmTemplateSummary(v **types.Cl } sv.TreatMissingData = types.CloudWatchAlarmTemplateTreatMissingData(jtv) } + default: _, _ = key, value @@ -28953,10 +29864,12 @@ func awsRestjson1_deserializeDocumentClusterNetworkSettings(v **types.ClusterNet } sv.DefaultRoute = ptr.String(jtv) } + case "interfaceMappings": if err := awsRestjson1_deserializeDocument__listOfInterfaceMapping(&sv.InterfaceMappings, value); err != nil { return err } + default: _, _ = key, value @@ -28992,6 +29905,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -29000,6 +29914,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.NielsenId3Behavior = types.CmafNielsenId3Behavior(jtv) } + case "scte35Type": if value != nil { jtv, ok := value.(string) @@ -29008,6 +29923,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.Scte35Type = types.Scte35Type(jtv) } + case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -29020,6 +29936,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SegmentLength = ptr.Int32(int32(i64)) } + case "segmentLengthUnits": if value != nil { jtv, ok := value.(string) @@ -29028,6 +29945,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SegmentLengthUnits = types.CmafIngestSegmentLengthUnits(jtv) } + case "sendDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -29040,6 +29958,7 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges } sv.SendDelayMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29079,6 +29998,7 @@ func awsRestjson1_deserializeDocumentCmafIngestOutputSettings(v **types.CmafInge } sv.NameModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -29118,6 +30038,7 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.InputColorSpace = types.ColorSpace(jtv) } + case "outputColorSpace": if value != nil { jtv, ok := value.(string) @@ -29126,6 +30047,7 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.OutputColorSpace = types.ColorSpace(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -29134,6 +30056,7 @@ func awsRestjson1_deserializeDocumentColorCorrection(v **types.ColorCorrection, } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -29169,6 +30092,7 @@ func awsRestjson1_deserializeDocumentColorCorrectionSettings(v **types.ColorCorr if err := awsRestjson1_deserializeDocument__listOfColorCorrection(&sv.GlobalColorCorrections, value); err != nil { return err } + default: _, _ = key, value @@ -29239,6 +30163,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29278,6 +30203,7 @@ func awsRestjson1_deserializeDocumentDescribeAnywhereSettings(v **types.Describe } sv.ChannelPlacementGroupId = ptr.String(jtv) } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -29286,6 +30212,7 @@ func awsRestjson1_deserializeDocumentDescribeAnywhereSettings(v **types.Describe } sv.ClusterId = ptr.String(jtv) } + default: _, _ = key, value @@ -29325,10 +30252,12 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Arn = ptr.String(jtv) } + case "channels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Channels, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -29337,6 +30266,7 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.ClusterId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29345,6 +30275,7 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29353,10 +30284,12 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.Name = ptr.String(jtv) } + case "nodes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Nodes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -29365,6 +30298,7 @@ func awsRestjson1_deserializeDocumentDescribeChannelPlacementGroupSummary(v **ty } sv.State = types.ChannelPlacementGroupState(jtv) } + default: _, _ = key, value @@ -29404,10 +30338,12 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Arn = ptr.String(jtv) } + case "channelIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelIds, value); err != nil { return err } + case "clusterType": if value != nil { jtv, ok := value.(string) @@ -29416,6 +30352,7 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.ClusterType = types.ClusterType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29424,6 +30361,7 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Id = ptr.String(jtv) } + case "instanceRoleArn": if value != nil { jtv, ok := value.(string) @@ -29432,6 +30370,7 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.InstanceRoleArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29440,10 +30379,12 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentClusterNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -29452,6 +30393,7 @@ func awsRestjson1_deserializeDocumentDescribeClusterSummary(v **types.DescribeCl } sv.State = types.ClusterState(jtv) } + default: _, _ = key, value @@ -29491,10 +30433,12 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Arn = ptr.String(jtv) } + case "associatedClusterIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AssociatedClusterIds, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -29503,10 +30447,12 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Id = ptr.String(jtv) } + case "ipPools": if err := awsRestjson1_deserializeDocument__listOfIpPool(&sv.IpPools, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -29515,10 +30461,12 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.Name = ptr.String(jtv) } + case "routes": if err := awsRestjson1_deserializeDocument__listOfRoute(&sv.Routes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -29527,6 +30475,7 @@ func awsRestjson1_deserializeDocumentDescribeNetworkSummary(v **types.DescribeNe } sv.State = types.NetworkState(jtv) } + default: _, _ = key, value @@ -29566,10 +30515,12 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Arn = ptr.String(jtv) } + case "channelPlacementGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ChannelPlacementGroups, value); err != nil { return err } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -29578,6 +30529,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ClusterId = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -29586,6 +30538,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ConnectionState = types.NodeConnectionState(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -29594,6 +30547,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Id = ptr.String(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -29602,6 +30556,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.InstanceArn = ptr.String(jtv) } + case "managedInstanceId": if value != nil { jtv, ok := value.(string) @@ -29610,6 +30565,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.ManagedInstanceId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -29618,10 +30574,12 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Name = ptr.String(jtv) } + case "nodeInterfaceMappings": if err := awsRestjson1_deserializeDocument__listOfNodeInterfaceMapping(&sv.NodeInterfaceMappings, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -29630,6 +30588,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.Role = types.NodeRole(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -29638,6 +30597,7 @@ func awsRestjson1_deserializeDocumentDescribeNodeSummary(v **types.DescribeNodeS } sv.State = types.NodeState(jtv) } + default: _, _ = key, value @@ -29712,6 +30672,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkId = ptr.Int32(int32(i64)) } + case "networkName": if value != nil { jtv, ok := value.(string) @@ -29720,6 +30681,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.NetworkName = ptr.String(jtv) } + case "repInterval": if value != nil { jtv, ok := value.(json.Number) @@ -29732,6 +30694,7 @@ func awsRestjson1_deserializeDocumentDvbNitSettings(v **types.DvbNitSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29771,6 +30734,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.OutputSdt = types.DvbSdtOutputSdt(jtv) } + case "repInterval": if value != nil { jtv, ok := value.(json.Number) @@ -29783,6 +30747,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -29791,6 +30756,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceName = ptr.String(jtv) } + case "serviceProviderName": if value != nil { jtv, ok := value.(string) @@ -29799,6 +30765,7 @@ func awsRestjson1_deserializeDocumentDvbSdtSettings(v **types.DvbSdtSettings, va } sv.ServiceProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -29838,6 +30805,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.Alignment = types.DvbSubDestinationAlignment(jtv) } + case "backgroundColor": if value != nil { jtv, ok := value.(string) @@ -29846,6 +30814,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundColor = types.DvbSubDestinationBackgroundColor(jtv) } + case "backgroundOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -29858,10 +30827,12 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.BackgroundOpacity = ptr.Int32(int32(i64)) } + case "font": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Font, value); err != nil { return err } + case "fontColor": if value != nil { jtv, ok := value.(string) @@ -29870,6 +30841,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontColor = types.DvbSubDestinationFontColor(jtv) } + case "fontOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -29882,6 +30854,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontOpacity = ptr.Int32(int32(i64)) } + case "fontResolution": if value != nil { jtv, ok := value.(json.Number) @@ -29894,6 +30867,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontResolution = ptr.Int32(int32(i64)) } + case "fontSize": if value != nil { jtv, ok := value.(string) @@ -29902,6 +30876,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.FontSize = ptr.String(jtv) } + case "outlineColor": if value != nil { jtv, ok := value.(string) @@ -29910,6 +30885,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineColor = types.DvbSubDestinationOutlineColor(jtv) } + case "outlineSize": if value != nil { jtv, ok := value.(json.Number) @@ -29922,6 +30898,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.OutlineSize = ptr.Int32(int32(i64)) } + case "shadowColor": if value != nil { jtv, ok := value.(string) @@ -29930,6 +30907,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowColor = types.DvbSubDestinationShadowColor(jtv) } + case "shadowOpacity": if value != nil { jtv, ok := value.(json.Number) @@ -29942,6 +30920,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowOpacity = ptr.Int32(int32(i64)) } + case "shadowXOffset": if value != nil { jtv, ok := value.(json.Number) @@ -29954,6 +30933,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowXOffset = ptr.Int32(int32(i64)) } + case "shadowYOffset": if value != nil { jtv, ok := value.(json.Number) @@ -29966,6 +30946,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.ShadowYOffset = ptr.Int32(int32(i64)) } + case "teletextGridControl": if value != nil { jtv, ok := value.(string) @@ -29974,6 +30955,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.TeletextGridControl = types.DvbSubDestinationTeletextGridControl(jtv) } + case "xPosition": if value != nil { jtv, ok := value.(json.Number) @@ -29986,6 +30968,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.XPosition = ptr.Int32(int32(i64)) } + case "yPosition": if value != nil { jtv, ok := value.(json.Number) @@ -29998,6 +30981,7 @@ func awsRestjson1_deserializeDocumentDvbSubDestinationSettings(v **types.DvbSubD } sv.YPosition = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30037,6 +31021,7 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.OcrLanguage = types.DvbSubOcrLanguage(jtv) } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -30049,6 +31034,7 @@ func awsRestjson1_deserializeDocumentDvbSubSourceSettings(v **types.DvbSubSource } sv.Pid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30092,6 +31078,7 @@ func awsRestjson1_deserializeDocumentDvbTdtSettings(v **types.DvbTdtSettings, va } sv.RepInterval = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30156,6 +31143,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -30164,6 +31152,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.CodingMode = types.Eac3AtmosCodingMode(jtv) } + case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -30176,6 +31165,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.Dialnorm = ptr.Int32(int32(i64)) } + case "drcLine": if value != nil { jtv, ok := value.(string) @@ -30184,6 +31174,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DrcLine = types.Eac3AtmosDrcLine(jtv) } + case "drcRf": if value != nil { jtv, ok := value.(string) @@ -30192,6 +31183,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } sv.DrcRf = types.Eac3AtmosDrcRf(jtv) } + case "heightTrim": if value != nil { switch jtv := value.(type) { @@ -30225,6 +31217,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + case "surroundTrim": if value != nil { switch jtv := value.(type) { @@ -30258,6 +31251,7 @@ func awsRestjson1_deserializeDocumentEac3AtmosSettings(v **types.Eac3AtmosSettin } } + default: _, _ = key, value @@ -30297,6 +31291,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.AttenuationControl = types.Eac3AttenuationControl(jtv) } + case "bitrate": if value != nil { switch jtv := value.(type) { @@ -30330,6 +31325,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "bitstreamMode": if value != nil { jtv, ok := value.(string) @@ -30338,6 +31334,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.BitstreamMode = types.Eac3BitstreamMode(jtv) } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -30346,6 +31343,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.CodingMode = types.Eac3CodingMode(jtv) } + case "dcFilter": if value != nil { jtv, ok := value.(string) @@ -30354,6 +31352,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DcFilter = types.Eac3DcFilter(jtv) } + case "dialnorm": if value != nil { jtv, ok := value.(json.Number) @@ -30366,6 +31365,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.Dialnorm = ptr.Int32(int32(i64)) } + case "drcLine": if value != nil { jtv, ok := value.(string) @@ -30374,6 +31374,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DrcLine = types.Eac3DrcLine(jtv) } + case "drcRf": if value != nil { jtv, ok := value.(string) @@ -30382,6 +31383,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.DrcRf = types.Eac3DrcRf(jtv) } + case "lfeControl": if value != nil { jtv, ok := value.(string) @@ -30390,6 +31392,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeControl = types.Eac3LfeControl(jtv) } + case "lfeFilter": if value != nil { jtv, ok := value.(string) @@ -30398,6 +31401,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.LfeFilter = types.Eac3LfeFilter(jtv) } + case "loRoCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -30431,6 +31435,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "loRoSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -30464,6 +31469,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "ltRtCenterMixLevel": if value != nil { switch jtv := value.(type) { @@ -30497,6 +31503,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "ltRtSurroundMixLevel": if value != nil { switch jtv := value.(type) { @@ -30530,6 +31537,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } } + case "metadataControl": if value != nil { jtv, ok := value.(string) @@ -30538,6 +31546,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.MetadataControl = types.Eac3MetadataControl(jtv) } + case "passthroughControl": if value != nil { jtv, ok := value.(string) @@ -30546,6 +31555,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PassthroughControl = types.Eac3PassthroughControl(jtv) } + case "phaseControl": if value != nil { jtv, ok := value.(string) @@ -30554,6 +31564,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.PhaseControl = types.Eac3PhaseControl(jtv) } + case "stereoDownmix": if value != nil { jtv, ok := value.(string) @@ -30562,6 +31573,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.StereoDownmix = types.Eac3StereoDownmix(jtv) } + case "surroundExMode": if value != nil { jtv, ok := value.(string) @@ -30570,6 +31582,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundExMode = types.Eac3SurroundExMode(jtv) } + case "surroundMode": if value != nil { jtv, ok := value.(string) @@ -30578,6 +31591,7 @@ func awsRestjson1_deserializeDocumentEac3Settings(v **types.Eac3Settings, value } sv.SurroundMode = types.Eac3SurroundMode(jtv) } + default: _, _ = key, value @@ -30617,6 +31631,7 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.CopyrightHolder = ptr.String(jtv) } + case "fillLineGap": if value != nil { jtv, ok := value.(string) @@ -30625,6 +31640,7 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.FillLineGap = types.EbuTtDFillLineGapControl(jtv) } + case "fontFamily": if value != nil { jtv, ok := value.(string) @@ -30633,6 +31649,7 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.FontFamily = ptr.String(jtv) } + case "styleControl": if value != nil { jtv, ok := value.(string) @@ -30641,6 +31658,7 @@ func awsRestjson1_deserializeDocumentEbuTtDDestinationSettings(v **types.EbuTtDD } sv.StyleControl = types.EbuTtDDestinationStyleControl(jtv) } + default: _, _ = key, value @@ -30742,6 +31760,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Convert608To708 = types.EmbeddedConvert608To708(jtv) } + case "scte20Detection": if value != nil { jtv, ok := value.(string) @@ -30750,6 +31769,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Scte20Detection = types.EmbeddedScte20Detection(jtv) } + case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -30762,6 +31782,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } + case "source608TrackNumber": if value != nil { jtv, ok := value.(json.Number) @@ -30774,6 +31795,7 @@ func awsRestjson1_deserializeDocumentEmbeddedSourceSettings(v **types.EmbeddedSo } sv.Source608TrackNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30809,58 +31831,72 @@ func awsRestjson1_deserializeDocumentEncoderSettings(v **types.EncoderSettings, if err := awsRestjson1_deserializeDocument__listOfAudioDescription(&sv.AudioDescriptions, value); err != nil { return err } + case "availBlanking": if err := awsRestjson1_deserializeDocumentAvailBlanking(&sv.AvailBlanking, value); err != nil { return err } + case "availConfiguration": if err := awsRestjson1_deserializeDocumentAvailConfiguration(&sv.AvailConfiguration, value); err != nil { return err } + case "blackoutSlate": if err := awsRestjson1_deserializeDocumentBlackoutSlate(&sv.BlackoutSlate, value); err != nil { return err } + case "captionDescriptions": if err := awsRestjson1_deserializeDocument__listOfCaptionDescription(&sv.CaptionDescriptions, value); err != nil { return err } + case "colorCorrectionSettings": if err := awsRestjson1_deserializeDocumentColorCorrectionSettings(&sv.ColorCorrectionSettings, value); err != nil { return err } + case "featureActivations": if err := awsRestjson1_deserializeDocumentFeatureActivations(&sv.FeatureActivations, value); err != nil { return err } + case "globalConfiguration": if err := awsRestjson1_deserializeDocumentGlobalConfiguration(&sv.GlobalConfiguration, value); err != nil { return err } + case "motionGraphicsConfiguration": if err := awsRestjson1_deserializeDocumentMotionGraphicsConfiguration(&sv.MotionGraphicsConfiguration, value); err != nil { return err } + case "nielsenConfiguration": if err := awsRestjson1_deserializeDocumentNielsenConfiguration(&sv.NielsenConfiguration, value); err != nil { return err } + case "outputGroups": if err := awsRestjson1_deserializeDocument__listOfOutputGroup(&sv.OutputGroups, value); err != nil { return err } + case "thumbnailConfiguration": if err := awsRestjson1_deserializeDocumentThumbnailConfiguration(&sv.ThumbnailConfiguration, value); err != nil { return err } + case "timecodeConfig": if err := awsRestjson1_deserializeDocumentTimecodeConfig(&sv.TimecodeConfig, value); err != nil { return err } + case "videoDescriptions": if err := awsRestjson1_deserializeDocument__listOfVideoDescription(&sv.VideoDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -30900,6 +31936,7 @@ func awsRestjson1_deserializeDocumentEpochLockingSettings(v **types.EpochLocking } sv.CustomEpoch = ptr.String(jtv) } + case "jamSyncTime": if value != nil { jtv, ok := value.(string) @@ -30908,6 +31945,7 @@ func awsRestjson1_deserializeDocumentEpochLockingSettings(v **types.EpochLocking } sv.JamSyncTime = ptr.String(jtv) } + default: _, _ = key, value @@ -30947,6 +31985,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.AcquisitionPointId = ptr.String(jtv) } + case "adAvailOffset": if value != nil { jtv, ok := value.(json.Number) @@ -30959,6 +31998,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.AdAvailOffset = ptr.Int32(int32(i64)) } + case "passwordParam": if value != nil { jtv, ok := value.(string) @@ -30967,6 +32007,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.PasswordParam = ptr.String(jtv) } + case "poisEndpoint": if value != nil { jtv, ok := value.(string) @@ -30975,6 +32016,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.PoisEndpoint = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -30983,6 +32025,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.Username = ptr.String(jtv) } + case "zoneIdentity": if value != nil { jtv, ok := value.(string) @@ -30991,6 +32034,7 @@ func awsRestjson1_deserializeDocumentEsam(v **types.Esam, value interface{}) err } sv.ZoneIdentity = ptr.String(jtv) } + default: _, _ = key, value @@ -31030,6 +32074,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -31042,6 +32087,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -31050,6 +32096,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -31058,6 +32105,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -31070,6 +32118,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -31078,10 +32127,12 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "templateCount": if value != nil { jtv, ok := value.(json.Number) @@ -31094,6 +32145,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateGroupSummary(v **typ } sv.TemplateCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31133,6 +32185,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -31145,6 +32198,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -31153,6 +32207,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Description = ptr.String(jtv) } + case "eventTargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -31165,6 +32220,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.EventTargetCount = ptr.Int32(int32(i64)) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -31173,6 +32229,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.EventType = types.EventBridgeRuleTemplateEventType(jtv) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -31181,6 +32238,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.GroupId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -31189,6 +32247,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -31201,6 +32260,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -31209,10 +32269,12 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateSummary(v **types.Ev } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -31252,6 +32314,7 @@ func awsRestjson1_deserializeDocumentEventBridgeRuleTemplateTarget(v **types.Eve } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -31322,6 +32385,7 @@ func awsRestjson1_deserializeDocumentFailoverCondition(v **types.FailoverConditi if err := awsRestjson1_deserializeDocumentFailoverConditionSettings(&sv.FailoverConditionSettings, value); err != nil { return err } + default: _, _ = key, value @@ -31357,14 +32421,17 @@ func awsRestjson1_deserializeDocumentFailoverConditionSettings(v **types.Failove if err := awsRestjson1_deserializeDocumentAudioSilenceFailoverSettings(&sv.AudioSilenceSettings, value); err != nil { return err } + case "inputLossSettings": if err := awsRestjson1_deserializeDocumentInputLossFailoverSettings(&sv.InputLossSettings, value); err != nil { return err } + case "videoBlackSettings": if err := awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(&sv.VideoBlackSettings, value); err != nil { return err } + default: _, _ = key, value @@ -31404,6 +32471,7 @@ func awsRestjson1_deserializeDocumentFeatureActivations(v **types.FeatureActivat } sv.InputPrepareScheduleActions = types.FeatureActivationsInputPrepareScheduleActions(jtv) } + case "outputStaticImageOverlayScheduleActions": if value != nil { jtv, ok := value.(string) @@ -31412,6 +32480,7 @@ func awsRestjson1_deserializeDocumentFeatureActivations(v **types.FeatureActivat } sv.OutputStaticImageOverlayScheduleActions = types.FeatureActivationsOutputStaticImageOverlayScheduleActions(jtv) } + default: _, _ = key, value @@ -31455,6 +32524,7 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.ColumnDepth = ptr.Int32(int32(i64)) } + case "includeFec": if value != nil { jtv, ok := value.(string) @@ -31463,6 +32533,7 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.IncludeFec = types.FecOutputIncludeFec(jtv) } + case "rowLength": if value != nil { jtv, ok := value.(json.Number) @@ -31475,6 +32546,7 @@ func awsRestjson1_deserializeDocumentFecOutputSettings(v **types.FecOutputSettin } sv.RowLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31514,6 +32586,7 @@ func awsRestjson1_deserializeDocumentFixedModeScheduleActionStartSettings(v **ty } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -31553,6 +32626,7 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.AudioRenditionSets = ptr.String(jtv) } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -31561,6 +32635,7 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.NielsenId3Behavior = types.Fmp4NielsenId3Behavior(jtv) } + case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -31569,6 +32644,7 @@ func awsRestjson1_deserializeDocumentFmp4HlsSettings(v **types.Fmp4HlsSettings, } sv.TimedMetadataBehavior = types.Fmp4TimedMetadataBehavior(jtv) } + default: _, _ = key, value @@ -31608,6 +32684,7 @@ func awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(v **t } sv.FollowPoint = types.FollowPoint(jtv) } + case "referenceActionName": if value != nil { jtv, ok := value.(string) @@ -31616,6 +32693,7 @@ func awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(v **t } sv.ReferenceActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -31655,6 +32733,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -31690,6 +32769,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureCdnSettings(v **types.FrameCapt if err := awsRestjson1_deserializeDocumentFrameCaptureS3Settings(&sv.FrameCaptureS3Settings, value); err != nil { return err } + default: _, _ = key, value @@ -31725,10 +32805,12 @@ func awsRestjson1_deserializeDocumentFrameCaptureGroupSettings(v **types.FrameCa if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "frameCaptureCdnSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureCdnSettings(&sv.FrameCaptureCdnSettings, value); err != nil { return err } + default: _, _ = key, value @@ -31799,6 +32881,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureOutputSettings(v **types.FrameC } sv.NameModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -31838,6 +32921,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureS3Settings(v **types.FrameCaptu } sv.CannedAcl = types.S3CannedAcl(jtv) } + default: _, _ = key, value @@ -31881,6 +32965,7 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.CaptureInterval = ptr.Int32(int32(i64)) } + case "captureIntervalUnits": if value != nil { jtv, ok := value.(string) @@ -31889,10 +32974,12 @@ func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCapture } sv.CaptureIntervalUnits = types.FrameCaptureIntervalUnit(jtv) } + case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } + default: _, _ = key, value @@ -31932,6 +33019,7 @@ func awsRestjson1_deserializeDocumentGatewayTimeoutException(v **types.GatewayTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -31975,6 +33063,7 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.InitialAudioGain = ptr.Int32(int32(i64)) } + case "inputEndAction": if value != nil { jtv, ok := value.(string) @@ -31983,10 +33072,12 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.InputEndAction = types.GlobalConfigurationInputEndAction(jtv) } + case "inputLossBehavior": if err := awsRestjson1_deserializeDocumentInputLossBehavior(&sv.InputLossBehavior, value); err != nil { return err } + case "outputLockingMode": if value != nil { jtv, ok := value.(string) @@ -31995,10 +33086,12 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.OutputLockingMode = types.GlobalConfigurationOutputLockingMode(jtv) } + case "outputLockingSettings": if err := awsRestjson1_deserializeDocumentOutputLockingSettings(&sv.OutputLockingSettings, value); err != nil { return err } + case "outputTimingSource": if value != nil { jtv, ok := value.(string) @@ -32007,6 +33100,7 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.OutputTimingSource = types.GlobalConfigurationOutputTimingSource(jtv) } + case "supportLowFramerateInputs": if value != nil { jtv, ok := value.(string) @@ -32015,6 +33109,7 @@ func awsRestjson1_deserializeDocumentGlobalConfiguration(v **types.GlobalConfigu } sv.SupportLowFramerateInputs = types.GlobalConfigurationLowFramerateInputs(jtv) } + default: _, _ = key, value @@ -32050,14 +33145,17 @@ func awsRestjson1_deserializeDocumentH264ColorSpaceSettings(v **types.H264ColorS if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } + case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } + case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } + default: _, _ = key, value @@ -32093,10 +33191,12 @@ func awsRestjson1_deserializeDocumentH264FilterSettings(v **types.H264FilterSett if err := awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(&sv.BandwidthReductionFilterSettings, value); err != nil { return err } + case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } + default: _, _ = key, value @@ -32136,6 +33236,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AdaptiveQuantization = types.H264AdaptiveQuantization(jtv) } + case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -32144,6 +33245,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.AfdSignaling = types.AfdSignaling(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -32156,6 +33258,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bufFillPct": if value != nil { jtv, ok := value.(json.Number) @@ -32168,6 +33271,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.BufFillPct = ptr.Int32(int32(i64)) } + case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -32180,6 +33284,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.BufSize = ptr.Int32(int32(i64)) } + case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -32188,10 +33293,12 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ColorMetadata = types.H264ColorMetadata(jtv) } + case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentH264ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } + case "entropyEncoding": if value != nil { jtv, ok := value.(string) @@ -32200,10 +33307,12 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.EntropyEncoding = types.H264EntropyEncoding(jtv) } + case "filterSettings": if err := awsRestjson1_deserializeDocumentH264FilterSettings(&sv.FilterSettings, value); err != nil { return err } + case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -32212,6 +33321,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FixedAfd = types.FixedAfd(jtv) } + case "flickerAq": if value != nil { jtv, ok := value.(string) @@ -32220,6 +33330,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FlickerAq = types.H264FlickerAq(jtv) } + case "forceFieldPictures": if value != nil { jtv, ok := value.(string) @@ -32228,6 +33339,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ForceFieldPictures = types.H264ForceFieldPictures(jtv) } + case "framerateControl": if value != nil { jtv, ok := value.(string) @@ -32236,6 +33348,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateControl = types.H264FramerateControl(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -32248,6 +33361,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -32260,6 +33374,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopBReference": if value != nil { jtv, ok := value.(string) @@ -32268,6 +33383,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopBReference = types.H264GopBReference(jtv) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -32280,6 +33396,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopNumBFrames": if value != nil { jtv, ok := value.(json.Number) @@ -32292,6 +33409,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopNumBFrames = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -32325,6 +33443,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -32333,6 +33452,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.GopSizeUnits = types.H264GopSizeUnits(jtv) } + case "level": if value != nil { jtv, ok := value.(string) @@ -32341,6 +33461,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Level = types.H264Level(jtv) } + case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -32349,6 +33470,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.LookAheadRateControl = types.H264LookAheadRateControl(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -32361,6 +33483,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -32373,6 +33496,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "minQp": if value != nil { jtv, ok := value.(json.Number) @@ -32385,6 +33509,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.MinQp = ptr.Int32(int32(i64)) } + case "numRefFrames": if value != nil { jtv, ok := value.(json.Number) @@ -32397,6 +33522,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.NumRefFrames = ptr.Int32(int32(i64)) } + case "parControl": if value != nil { jtv, ok := value.(string) @@ -32405,6 +33531,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParControl = types.H264ParControl(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -32417,6 +33544,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -32429,6 +33557,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -32437,6 +33566,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Profile = types.H264Profile(jtv) } + case "qualityLevel": if value != nil { jtv, ok := value.(string) @@ -32445,6 +33575,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QualityLevel = types.H264QualityLevel(jtv) } + case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -32457,6 +33588,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -32465,6 +33597,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.RateControlMode = types.H264RateControlMode(jtv) } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -32473,6 +33606,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.ScanType = types.H264ScanType(jtv) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -32481,6 +33615,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SceneChangeDetect = types.H264SceneChangeDetect(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -32493,6 +33628,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Slices = ptr.Int32(int32(i64)) } + case "softness": if value != nil { jtv, ok := value.(json.Number) @@ -32505,6 +33641,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Softness = ptr.Int32(int32(i64)) } + case "spatialAq": if value != nil { jtv, ok := value.(string) @@ -32513,6 +33650,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SpatialAq = types.H264SpatialAq(jtv) } + case "subgopLength": if value != nil { jtv, ok := value.(string) @@ -32521,6 +33659,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.SubgopLength = types.H264SubGopLength(jtv) } + case "syntax": if value != nil { jtv, ok := value.(string) @@ -32529,6 +33668,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.Syntax = types.H264Syntax(jtv) } + case "temporalAq": if value != nil { jtv, ok := value.(string) @@ -32537,10 +33677,12 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TemporalAq = types.H264TemporalAq(jtv) } + case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } + case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -32549,6 +33691,7 @@ func awsRestjson1_deserializeDocumentH264Settings(v **types.H264Settings, value } sv.TimecodeInsertion = types.H264TimecodeInsertionBehavior(jtv) } + default: _, _ = key, value @@ -32584,22 +33727,27 @@ func awsRestjson1_deserializeDocumentH265ColorSpaceSettings(v **types.H265ColorS if err := awsRestjson1_deserializeDocumentColorSpacePassthroughSettings(&sv.ColorSpacePassthroughSettings, value); err != nil { return err } + case "dolbyVision81Settings": if err := awsRestjson1_deserializeDocumentDolbyVision81Settings(&sv.DolbyVision81Settings, value); err != nil { return err } + case "hdr10Settings": if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } + case "rec601Settings": if err := awsRestjson1_deserializeDocumentRec601Settings(&sv.Rec601Settings, value); err != nil { return err } + case "rec709Settings": if err := awsRestjson1_deserializeDocumentRec709Settings(&sv.Rec709Settings, value); err != nil { return err } + default: _, _ = key, value @@ -32635,10 +33783,12 @@ func awsRestjson1_deserializeDocumentH265FilterSettings(v **types.H265FilterSett if err := awsRestjson1_deserializeDocumentBandwidthReductionFilterSettings(&sv.BandwidthReductionFilterSettings, value); err != nil { return err } + case "temporalFilterSettings": if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } + default: _, _ = key, value @@ -32678,6 +33828,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AdaptiveQuantization = types.H265AdaptiveQuantization(jtv) } + case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -32686,6 +33837,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AfdSignaling = types.AfdSignaling(jtv) } + case "alternativeTransferFunction": if value != nil { jtv, ok := value.(string) @@ -32694,6 +33846,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.AlternativeTransferFunction = types.H265AlternativeTransferFunction(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -32706,6 +33859,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bufSize": if value != nil { jtv, ok := value.(json.Number) @@ -32718,6 +33872,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.BufSize = ptr.Int32(int32(i64)) } + case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -32726,14 +33881,17 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ColorMetadata = types.H265ColorMetadata(jtv) } + case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentH265ColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } + case "filterSettings": if err := awsRestjson1_deserializeDocumentH265FilterSettings(&sv.FilterSettings, value); err != nil { return err } + case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -32742,6 +33900,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FixedAfd = types.FixedAfd(jtv) } + case "flickerAq": if value != nil { jtv, ok := value.(string) @@ -32750,6 +33909,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FlickerAq = types.H265FlickerAq(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -32762,6 +33922,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -32774,6 +33935,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -32786,6 +33948,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -32819,6 +33982,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -32827,6 +33991,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.GopSizeUnits = types.H265GopSizeUnits(jtv) } + case "level": if value != nil { jtv, ok := value.(string) @@ -32835,6 +34000,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Level = types.H265Level(jtv) } + case "lookAheadRateControl": if value != nil { jtv, ok := value.(string) @@ -32843,6 +34009,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.LookAheadRateControl = types.H265LookAheadRateControl(jtv) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -32855,6 +34022,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "minIInterval": if value != nil { jtv, ok := value.(json.Number) @@ -32867,6 +34035,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinIInterval = ptr.Int32(int32(i64)) } + case "minQp": if value != nil { jtv, ok := value.(json.Number) @@ -32879,6 +34048,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MinQp = ptr.Int32(int32(i64)) } + case "mvOverPictureBoundaries": if value != nil { jtv, ok := value.(string) @@ -32887,6 +34057,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MvOverPictureBoundaries = types.H265MvOverPictureBoundaries(jtv) } + case "mvTemporalPredictor": if value != nil { jtv, ok := value.(string) @@ -32895,6 +34066,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.MvTemporalPredictor = types.H265MvTemporalPredictor(jtv) } + case "parDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -32907,6 +34079,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParDenominator = ptr.Int32(int32(i64)) } + case "parNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -32919,6 +34092,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ParNumerator = ptr.Int32(int32(i64)) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -32927,6 +34101,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Profile = types.H265Profile(jtv) } + case "qvbrQualityLevel": if value != nil { jtv, ok := value.(json.Number) @@ -32939,6 +34114,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.QvbrQualityLevel = ptr.Int32(int32(i64)) } + case "rateControlMode": if value != nil { jtv, ok := value.(string) @@ -32947,6 +34123,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.RateControlMode = types.H265RateControlMode(jtv) } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -32955,6 +34132,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.ScanType = types.H265ScanType(jtv) } + case "sceneChangeDetect": if value != nil { jtv, ok := value.(string) @@ -32963,6 +34141,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.SceneChangeDetect = types.H265SceneChangeDetect(jtv) } + case "slices": if value != nil { jtv, ok := value.(json.Number) @@ -32975,6 +34154,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Slices = ptr.Int32(int32(i64)) } + case "tier": if value != nil { jtv, ok := value.(string) @@ -32983,6 +34163,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.Tier = types.H265Tier(jtv) } + case "tileHeight": if value != nil { jtv, ok := value.(json.Number) @@ -32995,6 +34176,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TileHeight = ptr.Int32(int32(i64)) } + case "tilePadding": if value != nil { jtv, ok := value.(string) @@ -33003,6 +34185,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TilePadding = types.H265TilePadding(jtv) } + case "tileWidth": if value != nil { jtv, ok := value.(json.Number) @@ -33015,10 +34198,12 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TileWidth = ptr.Int32(int32(i64)) } + case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } + case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -33027,6 +34212,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TimecodeInsertion = types.H265TimecodeInsertionBehavior(jtv) } + case "treeblockSize": if value != nil { jtv, ok := value.(string) @@ -33035,6 +34221,7 @@ func awsRestjson1_deserializeDocumentH265Settings(v **types.H265Settings, value } sv.TreeblockSize = types.H265TreeblockSize(jtv) } + default: _, _ = key, value @@ -33078,6 +34265,7 @@ func awsRestjson1_deserializeDocumentHdr10Settings(v **types.Hdr10Settings, valu } sv.MaxCll = ptr.Int32(int32(i64)) } + case "maxFall": if value != nil { jtv, ok := value.(json.Number) @@ -33090,6 +34278,7 @@ func awsRestjson1_deserializeDocumentHdr10Settings(v **types.Hdr10Settings, valu } sv.MaxFall = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33133,6 +34322,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -33145,6 +34335,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.FilecacheDuration = ptr.Int32(int32(i64)) } + case "httpTransferMode": if value != nil { jtv, ok := value.(string) @@ -33153,6 +34344,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.HttpTransferMode = types.HlsAkamaiHttpTransferMode(jtv) } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -33165,6 +34357,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.NumRetries = ptr.Int32(int32(i64)) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -33177,6 +34370,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } + case "salt": if value != nil { jtv, ok := value.(string) @@ -33185,6 +34379,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.Salt = ptr.String(jtv) } + case "token": if value != nil { jtv, ok := value.(string) @@ -33193,6 +34388,7 @@ func awsRestjson1_deserializeDocumentHlsAkamaiSettings(v **types.HlsAkamaiSettin } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -33236,6 +34432,7 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -33248,6 +34445,7 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.FilecacheDuration = ptr.Int32(int32(i64)) } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -33260,6 +34458,7 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.NumRetries = ptr.Int32(int32(i64)) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -33272,6 +34471,7 @@ func awsRestjson1_deserializeDocumentHlsBasicPutSettings(v **types.HlsBasicPutSe } sv.RestartDelay = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33307,22 +34507,27 @@ func awsRestjson1_deserializeDocumentHlsCdnSettings(v **types.HlsCdnSettings, va if err := awsRestjson1_deserializeDocumentHlsAkamaiSettings(&sv.HlsAkamaiSettings, value); err != nil { return err } + case "hlsBasicPutSettings": if err := awsRestjson1_deserializeDocumentHlsBasicPutSettings(&sv.HlsBasicPutSettings, value); err != nil { return err } + case "hlsMediaStoreSettings": if err := awsRestjson1_deserializeDocumentHlsMediaStoreSettings(&sv.HlsMediaStoreSettings, value); err != nil { return err } + case "hlsS3Settings": if err := awsRestjson1_deserializeDocumentHlsS3Settings(&sv.HlsS3Settings, value); err != nil { return err } + case "hlsWebdavSettings": if err := awsRestjson1_deserializeDocumentHlsWebdavSettings(&sv.HlsWebdavSettings, value); err != nil { return err } + default: _, _ = key, value @@ -33358,6 +34563,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings if err := awsRestjson1_deserializeDocument__listOfHlsAdMarkers(&sv.AdMarkers, value); err != nil { return err } + case "baseUrlContent": if value != nil { jtv, ok := value.(string) @@ -33366,6 +34572,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlContent = ptr.String(jtv) } + case "baseUrlContent1": if value != nil { jtv, ok := value.(string) @@ -33374,6 +34581,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlContent1 = ptr.String(jtv) } + case "baseUrlManifest": if value != nil { jtv, ok := value.(string) @@ -33382,6 +34590,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlManifest = ptr.String(jtv) } + case "baseUrlManifest1": if value != nil { jtv, ok := value.(string) @@ -33390,10 +34599,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.BaseUrlManifest1 = ptr.String(jtv) } + case "captionLanguageMappings": if err := awsRestjson1_deserializeDocument__listOfCaptionLanguageMapping(&sv.CaptionLanguageMappings, value); err != nil { return err } + case "captionLanguageSetting": if value != nil { jtv, ok := value.(string) @@ -33402,6 +34613,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CaptionLanguageSetting = types.HlsCaptionLanguageSetting(jtv) } + case "clientCache": if value != nil { jtv, ok := value.(string) @@ -33410,6 +34622,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ClientCache = types.HlsClientCache(jtv) } + case "codecSpecification": if value != nil { jtv, ok := value.(string) @@ -33418,6 +34631,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.CodecSpecification = types.HlsCodecSpecification(jtv) } + case "constantIv": if value != nil { jtv, ok := value.(string) @@ -33426,10 +34640,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ConstantIv = ptr.String(jtv) } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "directoryStructure": if value != nil { jtv, ok := value.(string) @@ -33438,6 +34654,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DirectoryStructure = types.HlsDirectoryStructure(jtv) } + case "discontinuityTags": if value != nil { jtv, ok := value.(string) @@ -33446,6 +34663,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.DiscontinuityTags = types.HlsDiscontinuityTags(jtv) } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -33454,10 +34672,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.EncryptionType = types.HlsEncryptionType(jtv) } + case "hlsCdnSettings": if err := awsRestjson1_deserializeDocumentHlsCdnSettings(&sv.HlsCdnSettings, value); err != nil { return err } + case "hlsId3SegmentTagging": if value != nil { jtv, ok := value.(string) @@ -33466,6 +34686,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.HlsId3SegmentTagging = types.HlsId3SegmentTaggingState(jtv) } + case "iFrameOnlyPlaylists": if value != nil { jtv, ok := value.(string) @@ -33474,6 +34695,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IFrameOnlyPlaylists = types.IFrameOnlyPlaylistType(jtv) } + case "incompleteSegmentBehavior": if value != nil { jtv, ok := value.(string) @@ -33482,6 +34704,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IncompleteSegmentBehavior = types.HlsIncompleteSegmentBehavior(jtv) } + case "indexNSegments": if value != nil { jtv, ok := value.(json.Number) @@ -33494,6 +34717,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IndexNSegments = ptr.Int32(int32(i64)) } + case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -33502,6 +34726,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.InputLossAction = types.InputLossActionForHlsOut(jtv) } + case "ivInManifest": if value != nil { jtv, ok := value.(string) @@ -33510,6 +34735,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IvInManifest = types.HlsIvInManifest(jtv) } + case "ivSource": if value != nil { jtv, ok := value.(string) @@ -33518,6 +34744,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.IvSource = types.HlsIvSource(jtv) } + case "keepSegments": if value != nil { jtv, ok := value.(json.Number) @@ -33530,6 +34757,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeepSegments = ptr.Int32(int32(i64)) } + case "keyFormat": if value != nil { jtv, ok := value.(string) @@ -33538,6 +34766,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeyFormat = ptr.String(jtv) } + case "keyFormatVersions": if value != nil { jtv, ok := value.(string) @@ -33546,10 +34775,12 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.KeyFormatVersions = ptr.String(jtv) } + case "keyProviderSettings": if err := awsRestjson1_deserializeDocumentKeyProviderSettings(&sv.KeyProviderSettings, value); err != nil { return err } + case "manifestCompression": if value != nil { jtv, ok := value.(string) @@ -33558,6 +34789,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestCompression = types.HlsManifestCompression(jtv) } + case "manifestDurationFormat": if value != nil { jtv, ok := value.(string) @@ -33566,6 +34798,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ManifestDurationFormat = types.HlsManifestDurationFormat(jtv) } + case "minSegmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -33578,6 +34811,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.MinSegmentLength = ptr.Int32(int32(i64)) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -33586,6 +34820,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.Mode = types.HlsMode(jtv) } + case "outputSelection": if value != nil { jtv, ok := value.(string) @@ -33594,6 +34829,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.OutputSelection = types.HlsOutputSelection(jtv) } + case "programDateTime": if value != nil { jtv, ok := value.(string) @@ -33602,6 +34838,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTime = types.HlsProgramDateTime(jtv) } + case "programDateTimeClock": if value != nil { jtv, ok := value.(string) @@ -33610,6 +34847,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimeClock = types.HlsProgramDateTimeClock(jtv) } + case "programDateTimePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -33622,6 +34860,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.ProgramDateTimePeriod = ptr.Int32(int32(i64)) } + case "redundantManifest": if value != nil { jtv, ok := value.(string) @@ -33630,6 +34869,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.RedundantManifest = types.HlsRedundantManifest(jtv) } + case "segmentationMode": if value != nil { jtv, ok := value.(string) @@ -33638,6 +34878,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentationMode = types.HlsSegmentationMode(jtv) } + case "segmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -33650,6 +34891,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentLength = ptr.Int32(int32(i64)) } + case "segmentsPerSubdirectory": if value != nil { jtv, ok := value.(json.Number) @@ -33662,6 +34904,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.SegmentsPerSubdirectory = ptr.Int32(int32(i64)) } + case "streamInfResolution": if value != nil { jtv, ok := value.(string) @@ -33670,6 +34913,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.StreamInfResolution = types.HlsStreamInfResolution(jtv) } + case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -33678,6 +34922,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Frame = types.HlsTimedMetadataId3Frame(jtv) } + case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -33690,6 +34935,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } + case "timestampDeltaMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -33702,6 +34948,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TimestampDeltaMilliseconds = ptr.Int32(int32(i64)) } + case "tsFileMode": if value != nil { jtv, ok := value.(string) @@ -33710,6 +34957,7 @@ func awsRestjson1_deserializeDocumentHlsGroupSettings(v **types.HlsGroupSettings } sv.TsFileMode = types.HlsTsFileMode(jtv) } + default: _, _ = key, value @@ -33749,6 +34997,7 @@ func awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings( } sv.Id3 = ptr.String(jtv) } + case "tag": if value != nil { jtv, ok := value.(string) @@ -33757,6 +35006,7 @@ func awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings( } sv.Tag = ptr.String(jtv) } + default: _, _ = key, value @@ -33800,6 +35050,7 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Bandwidth = ptr.Int32(int32(i64)) } + case "bufferSegments": if value != nil { jtv, ok := value.(json.Number) @@ -33812,6 +35063,7 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.BufferSegments = ptr.Int32(int32(i64)) } + case "retries": if value != nil { jtv, ok := value.(json.Number) @@ -33824,6 +35076,7 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Retries = ptr.Int32(int32(i64)) } + case "retryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -33836,6 +35089,7 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.RetryInterval = ptr.Int32(int32(i64)) } + case "scte35Source": if value != nil { jtv, ok := value.(string) @@ -33844,6 +35098,7 @@ func awsRestjson1_deserializeDocumentHlsInputSettings(v **types.HlsInputSettings } sv.Scte35Source = types.HlsScte35SourceType(jtv) } + default: _, _ = key, value @@ -33887,6 +35142,7 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -33899,6 +35155,7 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.FilecacheDuration = ptr.Int32(int32(i64)) } + case "mediaStoreStorageClass": if value != nil { jtv, ok := value.(string) @@ -33907,6 +35164,7 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.MediaStoreStorageClass = types.HlsMediaStoreStorageClass(jtv) } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -33919,6 +35177,7 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.NumRetries = ptr.Int32(int32(i64)) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -33931,6 +35190,7 @@ func awsRestjson1_deserializeDocumentHlsMediaStoreSettings(v **types.HlsMediaSto } sv.RestartDelay = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33970,10 +35230,12 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.H265PackagingType = types.HlsH265PackagingType(jtv) } + case "hlsSettings": if err := awsRestjson1_deserializeDocumentHlsSettings(&sv.HlsSettings, value); err != nil { return err } + case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -33982,6 +35244,7 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.NameModifier = ptr.String(jtv) } + case "segmentModifier": if value != nil { jtv, ok := value.(string) @@ -33990,6 +35253,7 @@ func awsRestjson1_deserializeDocumentHlsOutputSettings(v **types.HlsOutputSettin } sv.SegmentModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -34029,6 +35293,7 @@ func awsRestjson1_deserializeDocumentHlsS3Settings(v **types.HlsS3Settings, valu } sv.CannedAcl = types.S3CannedAcl(jtv) } + default: _, _ = key, value @@ -34064,18 +35329,22 @@ func awsRestjson1_deserializeDocumentHlsSettings(v **types.HlsSettings, value in if err := awsRestjson1_deserializeDocumentAudioOnlyHlsSettings(&sv.AudioOnlyHlsSettings, value); err != nil { return err } + case "fmp4HlsSettings": if err := awsRestjson1_deserializeDocumentFmp4HlsSettings(&sv.Fmp4HlsSettings, value); err != nil { return err } + case "frameCaptureHlsSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureHlsSettings(&sv.FrameCaptureHlsSettings, value); err != nil { return err } + case "standardHlsSettings": if err := awsRestjson1_deserializeDocumentStandardHlsSettings(&sv.StandardHlsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -34115,6 +35384,7 @@ func awsRestjson1_deserializeDocumentHlsTimedMetadataScheduleActionSettings(v ** } sv.Id3 = ptr.String(jtv) } + default: _, _ = key, value @@ -34158,6 +35428,7 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -34170,6 +35441,7 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.FilecacheDuration = ptr.Int32(int32(i64)) } + case "httpTransferMode": if value != nil { jtv, ok := value.(string) @@ -34178,6 +35450,7 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.HttpTransferMode = types.HlsWebdavHttpTransferMode(jtv) } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -34190,6 +35463,7 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.NumRetries = ptr.Int32(int32(i64)) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -34202,6 +35476,7 @@ func awsRestjson1_deserializeDocumentHlsWebdavSettings(v **types.HlsWebdavSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -34303,14 +35578,17 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "attachedChannels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AttachedChannels, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfInputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -34319,6 +35597,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Id = ptr.String(jtv) } + case "inputClass": if value != nil { jtv, ok := value.(string) @@ -34327,10 +35606,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputClass = types.InputClass(jtv) } + case "inputDevices": if err := awsRestjson1_deserializeDocument__listOfInputDeviceSettings(&sv.InputDevices, value); err != nil { return err } + case "inputNetworkLocation": if value != nil { jtv, ok := value.(string) @@ -34339,10 +35620,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputNetworkLocation = types.InputNetworkLocation(jtv) } + case "inputPartnerIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.InputPartnerIds, value); err != nil { return err } + case "inputSourceType": if value != nil { jtv, ok := value.(string) @@ -34351,14 +35634,17 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.InputSourceType = types.InputSourceType(jtv) } + case "mediaConnectFlows": if err := awsRestjson1_deserializeDocument__listOfMediaConnectFlow(&sv.MediaConnectFlows, value); err != nil { return err } + case "multicastSettings": if err := awsRestjson1_deserializeDocumentMulticastSettings(&sv.MulticastSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -34367,6 +35653,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -34375,18 +35662,22 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.RoleArn = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocument__listOfInputSource(&sv.Sources, value); err != nil { return err } + case "srtSettings": if err := awsRestjson1_deserializeDocumentSrtSettings(&sv.SrtSettings, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -34395,10 +35686,12 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.State = types.InputState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -34407,6 +35700,7 @@ func awsRestjson1_deserializeDocumentInput(v **types.Input, value interface{}) e } sv.Type = types.InputType(jtv) } + default: _, _ = key, value @@ -34442,6 +35736,7 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, if err := awsRestjson1_deserializeDocumentAutomaticInputFailoverSettings(&sv.AutomaticInputFailoverSettings, value); err != nil { return err } + case "inputAttachmentName": if value != nil { jtv, ok := value.(string) @@ -34450,6 +35745,7 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, } sv.InputAttachmentName = ptr.String(jtv) } + case "inputId": if value != nil { jtv, ok := value.(string) @@ -34458,14 +35754,17 @@ func awsRestjson1_deserializeDocumentInputAttachment(v **types.InputAttachment, } sv.InputId = ptr.String(jtv) } + case "inputSettings": if err := awsRestjson1_deserializeDocumentInputSettings(&sv.InputSettings, value); err != nil { return err } + case "logicalInterfaceNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.LogicalInterfaceNames, value); err != nil { return err } + default: _, _ = key, value @@ -34509,6 +35808,7 @@ func awsRestjson1_deserializeDocumentInputChannelLevel(v **types.InputChannelLev } sv.Gain = ptr.Int32(int32(i64)) } + case "inputChannel": if value != nil { jtv, ok := value.(json.Number) @@ -34521,6 +35821,7 @@ func awsRestjson1_deserializeDocumentInputChannelLevel(v **types.InputChannelLev } sv.InputChannel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -34560,14 +35861,17 @@ func awsRestjson1_deserializeDocumentInputClippingSettings(v **types.InputClippi } sv.InputTimecodeSource = types.InputTimecodeSource(jtv) } + case "startTimecode": if err := awsRestjson1_deserializeDocumentStartTimecode(&sv.StartTimecode, value); err != nil { return err } + case "stopTimecode": if err := awsRestjson1_deserializeDocumentStopTimecode(&sv.StopTimecode, value); err != nil { return err } + default: _, _ = key, value @@ -34607,6 +35911,7 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Ip = ptr.String(jtv) } + case "network": if value != nil { jtv, ok := value.(string) @@ -34615,10 +35920,12 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Network = ptr.String(jtv) } + case "networkRoutes": if err := awsRestjson1_deserializeDocument__listOfInputDestinationRoute(&sv.NetworkRoutes, value); err != nil { return err } + case "port": if value != nil { jtv, ok := value.(string) @@ -34627,6 +35934,7 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Port = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -34635,10 +35943,12 @@ func awsRestjson1_deserializeDocumentInputDestination(v **types.InputDestination } sv.Url = ptr.String(jtv) } + case "vpc": if err := awsRestjson1_deserializeDocumentInputDestinationVpc(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -34678,6 +35988,7 @@ func awsRestjson1_deserializeDocumentInputDestinationRoute(v **types.InputDestin } sv.Cidr = ptr.String(jtv) } + case "gateway": if value != nil { jtv, ok := value.(string) @@ -34686,6 +35997,7 @@ func awsRestjson1_deserializeDocumentInputDestinationRoute(v **types.InputDestin } sv.Gateway = ptr.String(jtv) } + default: _, _ = key, value @@ -34725,6 +36037,7 @@ func awsRestjson1_deserializeDocumentInputDestinationVpc(v **types.InputDestinat } sv.AvailabilityZone = ptr.String(jtv) } + case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -34733,6 +36046,7 @@ func awsRestjson1_deserializeDocumentInputDestinationVpc(v **types.InputDestinat } sv.NetworkInterfaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -34772,6 +36086,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ActiveInput = types.InputDeviceActiveInput(jtv) } + case "configuredInput": if value != nil { jtv, ok := value.(string) @@ -34780,6 +36095,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ConfiguredInput = types.InputDeviceConfiguredInput(jtv) } + case "deviceState": if value != nil { jtv, ok := value.(string) @@ -34788,6 +36104,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.DeviceState = types.InputDeviceState(jtv) } + case "framerate": if value != nil { switch jtv := value.(type) { @@ -34821,6 +36138,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -34833,6 +36151,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.Height = ptr.Int32(int32(i64)) } + case "latencyMs": if value != nil { jtv, ok := value.(json.Number) @@ -34845,6 +36164,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.LatencyMs = ptr.Int32(int32(i64)) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -34857,6 +36177,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -34865,6 +36186,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.ScanType = types.InputDeviceScanType(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -34877,6 +36199,7 @@ func awsRestjson1_deserializeDocumentInputDeviceHdSettings(v **types.InputDevice } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -34916,6 +36239,7 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.FlowArn = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -34924,6 +36248,7 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.RoleArn = ptr.String(jtv) } + case "secretArn": if value != nil { jtv, ok := value.(string) @@ -34932,6 +36257,7 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.SecretArn = ptr.String(jtv) } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -34940,6 +36266,7 @@ func awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(v **types.I } sv.SourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -34975,6 +36302,7 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD if err := awsRestjson1_deserializeDocument__listOf__string(&sv.DnsAddresses, value); err != nil { return err } + case "gateway": if value != nil { jtv, ok := value.(string) @@ -34983,6 +36311,7 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.Gateway = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -34991,6 +36320,7 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.IpAddress = ptr.String(jtv) } + case "ipScheme": if value != nil { jtv, ok := value.(string) @@ -34999,6 +36329,7 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.IpScheme = types.InputDeviceIpScheme(jtv) } + case "subnetMask": if value != nil { jtv, ok := value.(string) @@ -35007,6 +36338,7 @@ func awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(v **types.InputD } sv.SubnetMask = ptr.String(jtv) } + default: _, _ = key, value @@ -35046,6 +36378,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSettings(v **types.InputDeviceSe } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -35085,6 +36418,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -35093,6 +36427,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.AvailabilityZone = ptr.String(jtv) } + case "connectionState": if value != nil { jtv, ok := value.(string) @@ -35101,6 +36436,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.ConnectionState = types.InputDeviceConnectionState(jtv) } + case "deviceSettingsSyncState": if value != nil { jtv, ok := value.(string) @@ -35109,6 +36445,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.DeviceSettingsSyncState = types.DeviceSettingsSyncState(jtv) } + case "deviceUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -35117,10 +36454,12 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.DeviceUpdateStatus = types.DeviceUpdateStatus(jtv) } + case "hdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceHdSettings(&sv.HdDeviceSettings, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -35129,6 +36468,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Id = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -35137,10 +36477,12 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.MacAddress = ptr.String(jtv) } + case "medialiveInputArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.MedialiveInputArns, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -35149,10 +36491,12 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Name = ptr.String(jtv) } + case "networkSettings": if err := awsRestjson1_deserializeDocumentInputDeviceNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + case "outputType": if value != nil { jtv, ok := value.(string) @@ -35161,6 +36505,7 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.OutputType = types.InputDeviceOutputType(jtv) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -35169,10 +36514,12 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.SerialNumber = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -35181,10 +36528,12 @@ func awsRestjson1_deserializeDocumentInputDeviceSummary(v **types.InputDeviceSum } sv.Type = types.InputDeviceType(jtv) } + case "uhdDeviceSettings": if err := awsRestjson1_deserializeDocumentInputDeviceUhdSettings(&sv.UhdDeviceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -35228,6 +36577,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdAudioChannelPairConfig(v **ty } sv.Id = ptr.Int32(int32(i64)) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -35236,6 +36586,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdAudioChannelPairConfig(v **ty } sv.Profile = types.InputDeviceUhdAudioChannelPairProfile(jtv) } + default: _, _ = key, value @@ -35275,10 +36626,12 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ActiveInput = types.InputDeviceActiveInput(jtv) } + case "audioChannelPairs": if err := awsRestjson1_deserializeDocument__listOfInputDeviceUhdAudioChannelPairConfig(&sv.AudioChannelPairs, value); err != nil { return err } + case "codec": if value != nil { jtv, ok := value.(string) @@ -35287,6 +36640,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Codec = types.InputDeviceCodec(jtv) } + case "configuredInput": if value != nil { jtv, ok := value.(string) @@ -35295,6 +36649,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ConfiguredInput = types.InputDeviceConfiguredInput(jtv) } + case "deviceState": if value != nil { jtv, ok := value.(string) @@ -35303,6 +36658,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.DeviceState = types.InputDeviceState(jtv) } + case "framerate": if value != nil { switch jtv := value.(type) { @@ -35336,6 +36692,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -35348,6 +36705,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Height = ptr.Int32(int32(i64)) } + case "latencyMs": if value != nil { jtv, ok := value.(json.Number) @@ -35360,6 +36718,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.LatencyMs = ptr.Int32(int32(i64)) } + case "maxBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -35372,10 +36731,12 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.MaxBitrate = ptr.Int32(int32(i64)) } + case "mediaconnectSettings": if err := awsRestjson1_deserializeDocumentInputDeviceMediaConnectSettings(&sv.MediaconnectSettings, value); err != nil { return err } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -35384,6 +36745,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.ScanType = types.InputDeviceScanType(jtv) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -35396,6 +36758,7 @@ func awsRestjson1_deserializeDocumentInputDeviceUhdSettings(v **types.InputDevic } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35435,6 +36798,7 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.PasswordParam = ptr.String(jtv) } + case "uri": if value != nil { jtv, ok := value.(string) @@ -35443,6 +36807,7 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.Uri = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -35451,6 +36816,7 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -35494,6 +36860,7 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.BlackFrameMsec = ptr.Int32(int32(i64)) } + case "inputLossImageColor": if value != nil { jtv, ok := value.(string) @@ -35502,10 +36869,12 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.InputLossImageColor = ptr.String(jtv) } + case "inputLossImageSlate": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.InputLossImageSlate, value); err != nil { return err } + case "inputLossImageType": if value != nil { jtv, ok := value.(string) @@ -35514,6 +36883,7 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.InputLossImageType = types.InputLossImageType(jtv) } + case "repeatFrameMsec": if value != nil { jtv, ok := value.(json.Number) @@ -35526,6 +36896,7 @@ func awsRestjson1_deserializeDocumentInputLossBehavior(v **types.InputLossBehavi } sv.RepeatFrameMsec = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35569,6 +36940,7 @@ func awsRestjson1_deserializeDocumentInputLossFailoverSettings(v **types.InputLo } sv.InputLossThresholdMsec = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35608,14 +36980,17 @@ func awsRestjson1_deserializeDocumentInputPrepareScheduleActionSettings(v **type } sv.InputAttachmentNameReference = ptr.String(jtv) } + case "inputClippingSettings": if err := awsRestjson1_deserializeDocumentInputClippingSettings(&sv.InputClippingSettings, value); err != nil { return err } + case "urlPath": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.UrlPath, value); err != nil { return err } + default: _, _ = key, value @@ -35655,6 +37030,7 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -35663,10 +37039,12 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.Id = ptr.String(jtv) } + case "inputs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Inputs, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -35675,14 +37053,17 @@ func awsRestjson1_deserializeDocumentInputSecurityGroup(v **types.InputSecurityG } sv.State = types.InputSecurityGroupState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "whitelistRules": if err := awsRestjson1_deserializeDocument__listOfInputWhitelistRule(&sv.WhitelistRules, value); err != nil { return err } + default: _, _ = key, value @@ -35718,10 +37099,12 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu if err := awsRestjson1_deserializeDocument__listOfAudioSelector(&sv.AudioSelectors, value); err != nil { return err } + case "captionSelectors": if err := awsRestjson1_deserializeDocument__listOfCaptionSelector(&sv.CaptionSelectors, value); err != nil { return err } + case "deblockFilter": if value != nil { jtv, ok := value.(string) @@ -35730,6 +37113,7 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.DeblockFilter = types.InputDeblockFilter(jtv) } + case "denoiseFilter": if value != nil { jtv, ok := value.(string) @@ -35738,6 +37122,7 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.DenoiseFilter = types.InputDenoiseFilter(jtv) } + case "filterStrength": if value != nil { jtv, ok := value.(json.Number) @@ -35750,6 +37135,7 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.FilterStrength = ptr.Int32(int32(i64)) } + case "inputFilter": if value != nil { jtv, ok := value.(string) @@ -35758,10 +37144,12 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.InputFilter = types.InputFilter(jtv) } + case "networkInputSettings": if err := awsRestjson1_deserializeDocumentNetworkInputSettings(&sv.NetworkInputSettings, value); err != nil { return err } + case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -35774,6 +37162,7 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.Scte35Pid = ptr.Int32(int32(i64)) } + case "smpte2038DataPreference": if value != nil { jtv, ok := value.(string) @@ -35782,6 +37171,7 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.Smpte2038DataPreference = types.Smpte2038DataPreference(jtv) } + case "sourceEndBehavior": if value != nil { jtv, ok := value.(string) @@ -35790,10 +37180,12 @@ func awsRestjson1_deserializeDocumentInputSettings(v **types.InputSettings, valu } sv.SourceEndBehavior = types.InputSourceEndBehavior(jtv) } + case "videoSelector": if err := awsRestjson1_deserializeDocumentVideoSelector(&sv.VideoSelector, value); err != nil { return err } + default: _, _ = key, value @@ -35833,6 +37225,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.PasswordParam = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -35841,6 +37234,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.Url = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -35849,6 +37243,7 @@ func awsRestjson1_deserializeDocumentInputSource(v **types.InputSource, value in } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -35888,6 +37283,7 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.Codec = types.InputCodec(jtv) } + case "maximumBitrate": if value != nil { jtv, ok := value.(string) @@ -35896,6 +37292,7 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.MaximumBitrate = types.InputMaximumBitrate(jtv) } + case "resolution": if value != nil { jtv, ok := value.(string) @@ -35904,6 +37301,7 @@ func awsRestjson1_deserializeDocumentInputSpecification(v **types.InputSpecifica } sv.Resolution = types.InputResolution(jtv) } + default: _, _ = key, value @@ -35943,14 +37341,17 @@ func awsRestjson1_deserializeDocumentInputSwitchScheduleActionSettings(v **types } sv.InputAttachmentNameReference = ptr.String(jtv) } + case "inputClippingSettings": if err := awsRestjson1_deserializeDocumentInputClippingSettings(&sv.InputClippingSettings, value); err != nil { return err } + case "urlPath": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.UrlPath, value); err != nil { return err } + default: _, _ = key, value @@ -35990,6 +37391,7 @@ func awsRestjson1_deserializeDocumentInputWhitelistRule(v **types.InputWhitelist } sv.Cidr = ptr.String(jtv) } + default: _, _ = key, value @@ -36029,6 +37431,7 @@ func awsRestjson1_deserializeDocumentInterfaceMapping(v **types.InterfaceMapping } sv.LogicalInterfaceName = ptr.String(jtv) } + case "networkId": if value != nil { jtv, ok := value.(string) @@ -36037,6 +37440,7 @@ func awsRestjson1_deserializeDocumentInterfaceMapping(v **types.InterfaceMapping } sv.NetworkId = ptr.String(jtv) } + default: _, _ = key, value @@ -36076,6 +37480,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36115,6 +37520,7 @@ func awsRestjson1_deserializeDocumentIpPool(v **types.IpPool, value interface{}) } sv.Cidr = ptr.String(jtv) } + default: _, _ = key, value @@ -36150,6 +37556,7 @@ func awsRestjson1_deserializeDocumentKeyProviderSettings(v **types.KeyProviderSe if err := awsRestjson1_deserializeDocumentStaticKeySettings(&sv.StaticKeySettings, value); err != nil { return err } + default: _, _ = key, value @@ -36189,6 +37596,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AbsentInputAudioBehavior = types.M2tsAbsentInputAudioBehavior(jtv) } + case "arib": if value != nil { jtv, ok := value.(string) @@ -36197,6 +37605,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Arib = types.M2tsArib(jtv) } + case "aribCaptionsPid": if value != nil { jtv, ok := value.(string) @@ -36205,6 +37614,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AribCaptionsPid = ptr.String(jtv) } + case "aribCaptionsPidControl": if value != nil { jtv, ok := value.(string) @@ -36213,6 +37623,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AribCaptionsPidControl = types.M2tsAribCaptionsPidControl(jtv) } + case "audioBufferModel": if value != nil { jtv, ok := value.(string) @@ -36221,6 +37632,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } + case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -36233,6 +37645,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } + case "audioPids": if value != nil { jtv, ok := value.(string) @@ -36241,6 +37654,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioPids = ptr.String(jtv) } + case "audioStreamType": if value != nil { jtv, ok := value.(string) @@ -36249,6 +37663,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.AudioStreamType = types.M2tsAudioStreamType(jtv) } + case "bitrate": if value != nil { jtv, ok := value.(json.Number) @@ -36261,6 +37676,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Bitrate = ptr.Int32(int32(i64)) } + case "bufferModel": if value != nil { jtv, ok := value.(string) @@ -36269,6 +37685,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.BufferModel = types.M2tsBufferModel(jtv) } + case "ccDescriptor": if value != nil { jtv, ok := value.(string) @@ -36277,14 +37694,17 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.CcDescriptor = types.M2tsCcDescriptor(jtv) } + case "dvbNitSettings": if err := awsRestjson1_deserializeDocumentDvbNitSettings(&sv.DvbNitSettings, value); err != nil { return err } + case "dvbSdtSettings": if err := awsRestjson1_deserializeDocumentDvbSdtSettings(&sv.DvbSdtSettings, value); err != nil { return err } + case "dvbSubPids": if value != nil { jtv, ok := value.(string) @@ -36293,10 +37713,12 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbSubPids = ptr.String(jtv) } + case "dvbTdtSettings": if err := awsRestjson1_deserializeDocumentDvbTdtSettings(&sv.DvbTdtSettings, value); err != nil { return err } + case "dvbTeletextPid": if value != nil { jtv, ok := value.(string) @@ -36305,6 +37727,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.DvbTeletextPid = ptr.String(jtv) } + case "ebif": if value != nil { jtv, ok := value.(string) @@ -36313,6 +37736,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Ebif = types.M2tsEbifControl(jtv) } + case "ebpAudioInterval": if value != nil { jtv, ok := value.(string) @@ -36321,6 +37745,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpAudioInterval = types.M2tsAudioInterval(jtv) } + case "ebpLookaheadMs": if value != nil { jtv, ok := value.(json.Number) @@ -36333,6 +37758,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpLookaheadMs = ptr.Int32(int32(i64)) } + case "ebpPlacement": if value != nil { jtv, ok := value.(string) @@ -36341,6 +37767,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EbpPlacement = types.M2tsEbpPlacement(jtv) } + case "ecmPid": if value != nil { jtv, ok := value.(string) @@ -36349,6 +37776,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EcmPid = ptr.String(jtv) } + case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -36357,6 +37785,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } + case "etvPlatformPid": if value != nil { jtv, ok := value.(string) @@ -36365,6 +37794,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EtvPlatformPid = ptr.String(jtv) } + case "etvSignalPid": if value != nil { jtv, ok := value.(string) @@ -36373,6 +37803,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.EtvSignalPid = ptr.String(jtv) } + case "fragmentTime": if value != nil { switch jtv := value.(type) { @@ -36406,6 +37837,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "klv": if value != nil { jtv, ok := value.(string) @@ -36414,6 +37846,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Klv = types.M2tsKlv(jtv) } + case "klvDataPids": if value != nil { jtv, ok := value.(string) @@ -36422,6 +37855,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.KlvDataPids = ptr.String(jtv) } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -36430,6 +37864,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.NielsenId3Behavior = types.M2tsNielsenId3Behavior(jtv) } + case "nullPacketBitrate": if value != nil { switch jtv := value.(type) { @@ -36463,6 +37898,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -36475,6 +37911,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PatInterval = ptr.Int32(int32(i64)) } + case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -36483,6 +37920,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrControl = types.M2tsPcrControl(jtv) } + case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -36495,6 +37933,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPeriod = ptr.Int32(int32(i64)) } + case "pcrPid": if value != nil { jtv, ok := value.(string) @@ -36503,6 +37942,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PcrPid = ptr.String(jtv) } + case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -36515,6 +37955,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } + case "pmtPid": if value != nil { jtv, ok := value.(string) @@ -36523,6 +37964,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.PmtPid = ptr.String(jtv) } + case "programNum": if value != nil { jtv, ok := value.(json.Number) @@ -36535,6 +37977,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.ProgramNum = ptr.Int32(int32(i64)) } + case "rateMode": if value != nil { jtv, ok := value.(string) @@ -36543,6 +37986,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.RateMode = types.M2tsRateMode(jtv) } + case "scte27Pids": if value != nil { jtv, ok := value.(string) @@ -36551,6 +37995,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte27Pids = ptr.String(jtv) } + case "scte35Control": if value != nil { jtv, ok := value.(string) @@ -36559,6 +38004,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Control = types.M2tsScte35Control(jtv) } + case "scte35Pid": if value != nil { jtv, ok := value.(string) @@ -36567,6 +38013,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.Scte35Pid = ptr.String(jtv) } + case "scte35PrerollPullupMilliseconds": if value != nil { switch jtv := value.(type) { @@ -36600,6 +38047,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "segmentationMarkers": if value != nil { jtv, ok := value.(string) @@ -36608,6 +38056,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationMarkers = types.M2tsSegmentationMarkers(jtv) } + case "segmentationStyle": if value != nil { jtv, ok := value.(string) @@ -36616,6 +38065,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.SegmentationStyle = types.M2tsSegmentationStyle(jtv) } + case "segmentationTime": if value != nil { switch jtv := value.(type) { @@ -36649,6 +38099,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } } + case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -36657,6 +38108,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataBehavior = types.M2tsTimedMetadataBehavior(jtv) } + case "timedMetadataPid": if value != nil { jtv, ok := value.(string) @@ -36665,6 +38117,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TimedMetadataPid = ptr.String(jtv) } + case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -36677,6 +38130,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } + case "videoPid": if value != nil { jtv, ok := value.(string) @@ -36685,6 +38139,7 @@ func awsRestjson1_deserializeDocumentM2tsSettings(v **types.M2tsSettings, value } sv.VideoPid = ptr.String(jtv) } + default: _, _ = key, value @@ -36728,6 +38183,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } + case "audioPids": if value != nil { jtv, ok := value.(string) @@ -36736,6 +38192,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.AudioPids = ptr.String(jtv) } + case "ecmPid": if value != nil { jtv, ok := value.(string) @@ -36744,6 +38201,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.EcmPid = ptr.String(jtv) } + case "klvBehavior": if value != nil { jtv, ok := value.(string) @@ -36752,6 +38210,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.KlvBehavior = types.M3u8KlvBehavior(jtv) } + case "klvDataPids": if value != nil { jtv, ok := value.(string) @@ -36760,6 +38219,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.KlvDataPids = ptr.String(jtv) } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -36768,6 +38228,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.NielsenId3Behavior = types.M3u8NielsenId3Behavior(jtv) } + case "patInterval": if value != nil { jtv, ok := value.(json.Number) @@ -36780,6 +38241,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PatInterval = ptr.Int32(int32(i64)) } + case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -36788,6 +38250,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrControl = types.M3u8PcrControl(jtv) } + case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -36800,6 +38263,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPeriod = ptr.Int32(int32(i64)) } + case "pcrPid": if value != nil { jtv, ok := value.(string) @@ -36808,6 +38272,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PcrPid = ptr.String(jtv) } + case "pmtInterval": if value != nil { jtv, ok := value.(json.Number) @@ -36820,6 +38285,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtInterval = ptr.Int32(int32(i64)) } + case "pmtPid": if value != nil { jtv, ok := value.(string) @@ -36828,6 +38294,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.PmtPid = ptr.String(jtv) } + case "programNum": if value != nil { jtv, ok := value.(json.Number) @@ -36840,6 +38307,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.ProgramNum = ptr.Int32(int32(i64)) } + case "scte35Behavior": if value != nil { jtv, ok := value.(string) @@ -36848,6 +38316,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Behavior = types.M3u8Scte35Behavior(jtv) } + case "scte35Pid": if value != nil { jtv, ok := value.(string) @@ -36856,6 +38325,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.Scte35Pid = ptr.String(jtv) } + case "timedMetadataBehavior": if value != nil { jtv, ok := value.(string) @@ -36864,6 +38334,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataBehavior = types.M3u8TimedMetadataBehavior(jtv) } + case "timedMetadataPid": if value != nil { jtv, ok := value.(string) @@ -36872,6 +38343,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TimedMetadataPid = ptr.String(jtv) } + case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -36884,6 +38356,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.TransportStreamId = ptr.Int32(int32(i64)) } + case "videoPid": if value != nil { jtv, ok := value.(string) @@ -36892,6 +38365,7 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value } sv.VideoPid = ptr.String(jtv) } + default: _, _ = key, value @@ -36931,6 +38405,7 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceDay = types.MaintenanceDay(jtv) } + case "maintenanceDeadline": if value != nil { jtv, ok := value.(string) @@ -36939,6 +38414,7 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceDeadline = ptr.String(jtv) } + case "maintenanceScheduledDate": if value != nil { jtv, ok := value.(string) @@ -36947,6 +38423,7 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceScheduledDate = ptr.String(jtv) } + case "maintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -36955,6 +38432,7 @@ func awsRestjson1_deserializeDocumentMaintenanceStatus(v **types.MaintenanceStat } sv.MaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -36994,6 +38472,7 @@ func awsRestjson1_deserializeDocumentMediaConnectFlow(v **types.MediaConnectFlow } sv.FlowArn = ptr.String(jtv) } + default: _, _ = key, value @@ -37029,6 +38508,7 @@ func awsRestjson1_deserializeDocumentMediaPackageGroupSettings(v **types.MediaPa if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + default: _, _ = key, value @@ -37068,6 +38548,7 @@ func awsRestjson1_deserializeDocumentMediaPackageOutputDestinationSettings(v **t } sv.ChannelId = ptr.String(jtv) } + default: _, _ = key, value @@ -37134,6 +38615,7 @@ func awsRestjson1_deserializeDocumentMediaResource(v **types.MediaResource, valu if err := awsRestjson1_deserializeDocument__listOfMediaResourceNeighbor(&sv.Destinations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -37142,10 +38624,12 @@ func awsRestjson1_deserializeDocumentMediaResource(v **types.MediaResource, valu } sv.Name = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocument__listOfMediaResourceNeighbor(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -37220,6 +38704,7 @@ func awsRestjson1_deserializeDocumentMediaResourceNeighbor(v **types.MediaResour } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -37228,6 +38713,7 @@ func awsRestjson1_deserializeDocumentMediaResourceNeighbor(v **types.MediaResour } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -37267,6 +38753,7 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.DetailsUri = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -37275,6 +38762,7 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.ErrorMessage = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -37283,6 +38771,7 @@ func awsRestjson1_deserializeDocumentMonitorDeployment(v **types.MonitorDeployme } sv.Status = types.SignalMapMonitorDeploymentStatus(jtv) } + default: _, _ = key, value @@ -37326,6 +38815,7 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Duration = ptr.Int64(i64) } + case "passwordParam": if value != nil { jtv, ok := value.(string) @@ -37334,6 +38824,7 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.PasswordParam = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -37342,6 +38833,7 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Url = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -37350,6 +38842,7 @@ func awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSetting } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -37389,10 +38882,12 @@ func awsRestjson1_deserializeDocumentMotionGraphicsConfiguration(v **types.Motio } sv.MotionGraphicsInsertion = types.MotionGraphicsInsertion(jtv) } + case "motionGraphicsSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsSettings(&sv.MotionGraphicsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -37459,6 +38954,7 @@ func awsRestjson1_deserializeDocumentMotionGraphicsSettings(v **types.MotionGrap if err := awsRestjson1_deserializeDocumentHtmlMotionGraphicsSettings(&sv.HtmlMotionGraphicsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -37523,6 +39019,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -37531,6 +39028,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } sv.CodingMode = types.Mp2CodingMode(jtv) } + case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -37564,6 +39062,7 @@ func awsRestjson1_deserializeDocumentMp2Settings(v **types.Mp2Settings, value in } } + default: _, _ = key, value @@ -37599,6 +39098,7 @@ func awsRestjson1_deserializeDocumentMpeg2FilterSettings(v **types.Mpeg2FilterSe if err := awsRestjson1_deserializeDocumentTemporalFilterSettings(&sv.TemporalFilterSettings, value); err != nil { return err } + default: _, _ = key, value @@ -37638,6 +39138,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AdaptiveQuantization = types.Mpeg2AdaptiveQuantization(jtv) } + case "afdSignaling": if value != nil { jtv, ok := value.(string) @@ -37646,6 +39147,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.AfdSignaling = types.AfdSignaling(jtv) } + case "colorMetadata": if value != nil { jtv, ok := value.(string) @@ -37654,6 +39156,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ColorMetadata = types.Mpeg2ColorMetadata(jtv) } + case "colorSpace": if value != nil { jtv, ok := value.(string) @@ -37662,6 +39165,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ColorSpace = types.Mpeg2ColorSpace(jtv) } + case "displayAspectRatio": if value != nil { jtv, ok := value.(string) @@ -37670,10 +39174,12 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.DisplayAspectRatio = types.Mpeg2DisplayRatio(jtv) } + case "filterSettings": if err := awsRestjson1_deserializeDocumentMpeg2FilterSettings(&sv.FilterSettings, value); err != nil { return err } + case "fixedAfd": if value != nil { jtv, ok := value.(string) @@ -37682,6 +39188,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FixedAfd = types.FixedAfd(jtv) } + case "framerateDenominator": if value != nil { jtv, ok := value.(json.Number) @@ -37694,6 +39201,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateDenominator = ptr.Int32(int32(i64)) } + case "framerateNumerator": if value != nil { jtv, ok := value.(json.Number) @@ -37706,6 +39214,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.FramerateNumerator = ptr.Int32(int32(i64)) } + case "gopClosedCadence": if value != nil { jtv, ok := value.(json.Number) @@ -37718,6 +39227,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopClosedCadence = ptr.Int32(int32(i64)) } + case "gopNumBFrames": if value != nil { jtv, ok := value.(json.Number) @@ -37730,6 +39240,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopNumBFrames = ptr.Int32(int32(i64)) } + case "gopSize": if value != nil { switch jtv := value.(type) { @@ -37763,6 +39274,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } } + case "gopSizeUnits": if value != nil { jtv, ok := value.(string) @@ -37771,6 +39283,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.GopSizeUnits = types.Mpeg2GopSizeUnits(jtv) } + case "scanType": if value != nil { jtv, ok := value.(string) @@ -37779,6 +39292,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.ScanType = types.Mpeg2ScanType(jtv) } + case "subgopLength": if value != nil { jtv, ok := value.(string) @@ -37787,10 +39301,12 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.SubgopLength = types.Mpeg2SubGopLength(jtv) } + case "timecodeBurninSettings": if err := awsRestjson1_deserializeDocumentTimecodeBurninSettings(&sv.TimecodeBurninSettings, value); err != nil { return err } + case "timecodeInsertion": if value != nil { jtv, ok := value.(string) @@ -37799,6 +39315,7 @@ func awsRestjson1_deserializeDocumentMpeg2Settings(v **types.Mpeg2Settings, valu } sv.TimecodeInsertion = types.Mpeg2TimecodeInsertionBehavior(jtv) } + default: _, _ = key, value @@ -37838,6 +39355,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AcquisitionPointId = ptr.String(jtv) } + case "audioOnlyTimecodeControl": if value != nil { jtv, ok := value.(string) @@ -37846,6 +39364,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.AudioOnlyTimecodeControl = types.SmoothGroupAudioOnlyTimecodeControl(jtv) } + case "certificateMode": if value != nil { jtv, ok := value.(string) @@ -37854,6 +39373,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.CertificateMode = types.SmoothGroupCertificateMode(jtv) } + case "connectionRetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -37866,10 +39386,12 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -37878,6 +39400,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventId = ptr.String(jtv) } + case "eventIdMode": if value != nil { jtv, ok := value.(string) @@ -37886,6 +39409,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventIdMode = types.SmoothGroupEventIdMode(jtv) } + case "eventStopBehavior": if value != nil { jtv, ok := value.(string) @@ -37894,6 +39418,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.EventStopBehavior = types.SmoothGroupEventStopBehavior(jtv) } + case "filecacheDuration": if value != nil { jtv, ok := value.(json.Number) @@ -37906,6 +39431,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FilecacheDuration = ptr.Int32(int32(i64)) } + case "fragmentLength": if value != nil { jtv, ok := value.(json.Number) @@ -37918,6 +39444,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.FragmentLength = ptr.Int32(int32(i64)) } + case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -37926,6 +39453,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.InputLossAction = types.InputLossActionForMsSmoothOut(jtv) } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -37938,6 +39466,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.NumRetries = ptr.Int32(int32(i64)) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -37950,6 +39479,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.RestartDelay = ptr.Int32(int32(i64)) } + case "segmentationMode": if value != nil { jtv, ok := value.(string) @@ -37958,6 +39488,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SegmentationMode = types.SmoothGroupSegmentationMode(jtv) } + case "sendDelayMs": if value != nil { jtv, ok := value.(json.Number) @@ -37970,6 +39501,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SendDelayMs = ptr.Int32(int32(i64)) } + case "sparseTrackType": if value != nil { jtv, ok := value.(string) @@ -37978,6 +39510,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.SparseTrackType = types.SmoothGroupSparseTrackType(jtv) } + case "streamManifestBehavior": if value != nil { jtv, ok := value.(string) @@ -37986,6 +39519,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.StreamManifestBehavior = types.SmoothGroupStreamManifestBehavior(jtv) } + case "timestampOffset": if value != nil { jtv, ok := value.(string) @@ -37994,6 +39528,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.TimestampOffset = ptr.String(jtv) } + case "timestampOffsetMode": if value != nil { jtv, ok := value.(string) @@ -38002,6 +39537,7 @@ func awsRestjson1_deserializeDocumentMsSmoothGroupSettings(v **types.MsSmoothGro } sv.TimestampOffsetMode = types.SmoothGroupTimestampOffsetMode(jtv) } + default: _, _ = key, value @@ -38041,6 +39577,7 @@ func awsRestjson1_deserializeDocumentMsSmoothOutputSettings(v **types.MsSmoothOu } sv.H265PackagingType = types.MsSmoothH265PackagingType(jtv) } + case "nameModifier": if value != nil { jtv, ok := value.(string) @@ -38049,6 +39586,7 @@ func awsRestjson1_deserializeDocumentMsSmoothOutputSettings(v **types.MsSmoothOu } sv.NameModifier = ptr.String(jtv) } + default: _, _ = key, value @@ -38088,6 +39626,7 @@ func awsRestjson1_deserializeDocumentMulticastInputSettings(v **types.MulticastI } sv.SourceIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -38123,6 +39662,7 @@ func awsRestjson1_deserializeDocumentMulticastSettings(v **types.MulticastSettin if err := awsRestjson1_deserializeDocument__listOfMulticastSource(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -38162,6 +39702,7 @@ func awsRestjson1_deserializeDocumentMulticastSource(v **types.MulticastSource, } sv.SourceIp = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -38170,6 +39711,7 @@ func awsRestjson1_deserializeDocumentMulticastSource(v **types.MulticastSource, } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -38209,14 +39751,17 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "destinations": if err := awsRestjson1_deserializeDocument__listOfMultiplexOutputDestination(&sv.Destinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -38225,10 +39770,12 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -38237,6 +39784,7 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -38249,6 +39797,7 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -38261,6 +39810,7 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -38269,10 +39819,12 @@ func awsRestjson1_deserializeDocumentMultiplex(v **types.Multiplex, value interf } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -38308,6 +39860,7 @@ func awsRestjson1_deserializeDocumentMultiplexContainerSettings(v **types.Multip if err := awsRestjson1_deserializeDocumentMultiplexM2tsSettings(&sv.MultiplexM2tsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -38378,6 +39931,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AbsentInputAudioBehavior = types.M2tsAbsentInputAudioBehavior(jtv) } + case "arib": if value != nil { jtv, ok := value.(string) @@ -38386,6 +39940,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Arib = types.M2tsArib(jtv) } + case "audioBufferModel": if value != nil { jtv, ok := value.(string) @@ -38394,6 +39949,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioBufferModel = types.M2tsAudioBufferModel(jtv) } + case "audioFramesPerPes": if value != nil { jtv, ok := value.(json.Number) @@ -38406,6 +39962,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioFramesPerPes = ptr.Int32(int32(i64)) } + case "audioStreamType": if value != nil { jtv, ok := value.(string) @@ -38414,6 +39971,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.AudioStreamType = types.M2tsAudioStreamType(jtv) } + case "ccDescriptor": if value != nil { jtv, ok := value.(string) @@ -38422,6 +39980,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.CcDescriptor = types.M2tsCcDescriptor(jtv) } + case "ebif": if value != nil { jtv, ok := value.(string) @@ -38430,6 +39989,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Ebif = types.M2tsEbifControl(jtv) } + case "esRateInPes": if value != nil { jtv, ok := value.(string) @@ -38438,6 +39998,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.EsRateInPes = types.M2tsEsRateInPes(jtv) } + case "klv": if value != nil { jtv, ok := value.(string) @@ -38446,6 +40007,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Klv = types.M2tsKlv(jtv) } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -38454,6 +40016,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.NielsenId3Behavior = types.M2tsNielsenId3Behavior(jtv) } + case "pcrControl": if value != nil { jtv, ok := value.(string) @@ -38462,6 +40025,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.PcrControl = types.M2tsPcrControl(jtv) } + case "pcrPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -38474,6 +40038,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.PcrPeriod = ptr.Int32(int32(i64)) } + case "scte35Control": if value != nil { jtv, ok := value.(string) @@ -38482,6 +40047,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } sv.Scte35Control = types.M2tsScte35Control(jtv) } + case "scte35PrerollPullupMilliseconds": if value != nil { switch jtv := value.(type) { @@ -38515,6 +40081,7 @@ func awsRestjson1_deserializeDocumentMultiplexM2tsSettings(v **types.MultiplexM2 } } + default: _, _ = key, value @@ -38554,6 +40121,7 @@ func awsRestjson1_deserializeDocumentMultiplexMediaConnectOutputDestinationSetti } sv.EntitlementArn = ptr.String(jtv) } + default: _, _ = key, value @@ -38589,6 +40157,7 @@ func awsRestjson1_deserializeDocumentMultiplexOutputDestination(v **types.Multip if err := awsRestjson1_deserializeDocumentMultiplexMediaConnectOutputDestinationSettings(&sv.MediaConnectSettings, value); err != nil { return err } + default: _, _ = key, value @@ -38624,10 +40193,12 @@ func awsRestjson1_deserializeDocumentMultiplexOutputSettings(v **types.Multiplex if err := awsRestjson1_deserializeDocumentMultiplexContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + default: _, _ = key, value @@ -38667,18 +40238,22 @@ func awsRestjson1_deserializeDocumentMultiplexProgram(v **types.MultiplexProgram } sv.ChannelId = ptr.String(jtv) } + case "multiplexProgramSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramSettings(&sv.MultiplexProgramSettings, value); err != nil { return err } + case "packetIdentifiersMap": if err := awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(&sv.PacketIdentifiersMap, value); err != nil { return err } + case "pipelineDetails": if err := awsRestjson1_deserializeDocument__listOfMultiplexProgramPipelineDetail(&sv.PipelineDetails, value); err != nil { return err } + case "programName": if value != nil { jtv, ok := value.(string) @@ -38687,6 +40262,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgram(v **types.MultiplexProgram } sv.ProgramName = ptr.String(jtv) } + default: _, _ = key, value @@ -38726,6 +40302,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings( } sv.MultiplexId = ptr.String(jtv) } + case "programName": if value != nil { jtv, ok := value.(string) @@ -38734,6 +40311,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings( } sv.ProgramName = ptr.String(jtv) } + default: _, _ = key, value @@ -38777,14 +40355,17 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.AribCaptionsPid = ptr.Int32(int32(i64)) } + case "audioPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.AudioPids, value); err != nil { return err } + case "dvbSubPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.DvbSubPids, value); err != nil { return err } + case "dvbTeletextPid": if value != nil { jtv, ok := value.(json.Number) @@ -38797,10 +40378,12 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.DvbTeletextPid = ptr.Int32(int32(i64)) } + case "dvbTeletextPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.DvbTeletextPids, value); err != nil { return err } + case "ecmPid": if value != nil { jtv, ok := value.(json.Number) @@ -38813,6 +40396,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EcmPid = ptr.Int32(int32(i64)) } + case "etvPlatformPid": if value != nil { jtv, ok := value.(json.Number) @@ -38825,6 +40409,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EtvPlatformPid = ptr.Int32(int32(i64)) } + case "etvSignalPid": if value != nil { jtv, ok := value.(json.Number) @@ -38837,10 +40422,12 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.EtvSignalPid = ptr.Int32(int32(i64)) } + case "klvDataPids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.KlvDataPids, value); err != nil { return err } + case "pcrPid": if value != nil { jtv, ok := value.(json.Number) @@ -38853,6 +40440,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PcrPid = ptr.Int32(int32(i64)) } + case "pmtPid": if value != nil { jtv, ok := value.(json.Number) @@ -38865,6 +40453,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PmtPid = ptr.Int32(int32(i64)) } + case "privateMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -38877,10 +40466,12 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.PrivateMetadataPid = ptr.Int32(int32(i64)) } + case "scte27Pids": if err := awsRestjson1_deserializeDocument__listOf__integer(&sv.Scte27Pids, value); err != nil { return err } + case "scte35Pid": if value != nil { jtv, ok := value.(json.Number) @@ -38893,6 +40484,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.Scte35Pid = ptr.Int32(int32(i64)) } + case "smpte2038Pid": if value != nil { jtv, ok := value.(json.Number) @@ -38905,6 +40497,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.Smpte2038Pid = ptr.Int32(int32(i64)) } + case "timedMetadataPid": if value != nil { jtv, ok := value.(json.Number) @@ -38917,6 +40510,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.TimedMetadataPid = ptr.Int32(int32(i64)) } + case "videoPid": if value != nil { jtv, ok := value.(json.Number) @@ -38929,6 +40523,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPacketIdentifiersMap(v **ty } sv.VideoPid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -38968,6 +40563,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPipelineDetail(v **types.Mu } sv.ActiveChannelPipeline = ptr.String(jtv) } + case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -38976,6 +40572,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramPipelineDetail(v **types.Mu } sv.PipelineId = ptr.String(jtv) } + default: _, _ = key, value @@ -39015,6 +40612,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(v **types } sv.ProviderName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -39023,6 +40621,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(v **types } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -39062,6 +40661,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSettings(v **types.Multiple } sv.PreferredChannelPipeline = types.PreferredChannelPipeline(jtv) } + case "programNumber": if value != nil { jtv, ok := value.(json.Number) @@ -39074,14 +40674,17 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSettings(v **types.Multiple } sv.ProgramNumber = ptr.Int32(int32(i64)) } + case "serviceDescriptor": if err := awsRestjson1_deserializeDocumentMultiplexProgramServiceDescriptor(&sv.ServiceDescriptor, value); err != nil { return err } + case "videoSettings": if err := awsRestjson1_deserializeDocumentMultiplexVideoSettings(&sv.VideoSettings, value); err != nil { return err } + default: _, _ = key, value @@ -39121,6 +40724,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSummary(v **types.Multiplex } sv.ChannelId = ptr.String(jtv) } + case "programName": if value != nil { jtv, ok := value.(string) @@ -39129,6 +40733,7 @@ func awsRestjson1_deserializeDocumentMultiplexProgramSummary(v **types.Multiplex } sv.ProgramName = ptr.String(jtv) } + default: _, _ = key, value @@ -39172,6 +40777,7 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.MaximumVideoBufferDelayMilliseconds = ptr.Int32(int32(i64)) } + case "transportStreamBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -39184,6 +40790,7 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamBitrate = ptr.Int32(int32(i64)) } + case "transportStreamId": if value != nil { jtv, ok := value.(json.Number) @@ -39196,6 +40803,7 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamId = ptr.Int32(int32(i64)) } + case "transportStreamReservedBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -39208,6 +40816,7 @@ func awsRestjson1_deserializeDocumentMultiplexSettings(v **types.MultiplexSettin } sv.TransportStreamReservedBitrate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39251,6 +40860,7 @@ func awsRestjson1_deserializeDocumentMultiplexSettingsSummary(v **types.Multiple } sv.TransportStreamBitrate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39294,6 +40904,7 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.MaximumBitrate = ptr.Int32(int32(i64)) } + case "minimumBitrate": if value != nil { jtv, ok := value.(json.Number) @@ -39306,6 +40917,7 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.MinimumBitrate = ptr.Int32(int32(i64)) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -39318,6 +40930,7 @@ func awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(v **types.Mul } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39357,10 +40970,12 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Arn = ptr.String(jtv) } + case "availabilityZones": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -39369,10 +40984,12 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Id = ptr.String(jtv) } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexSettingsSummary(&sv.MultiplexSettings, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -39381,6 +40998,7 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.Name = ptr.String(jtv) } + case "pipelinesRunningCount": if value != nil { jtv, ok := value.(json.Number) @@ -39393,6 +41011,7 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.PipelinesRunningCount = ptr.Int32(int32(i64)) } + case "programCount": if value != nil { jtv, ok := value.(json.Number) @@ -39405,6 +41024,7 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.ProgramCount = ptr.Int32(int32(i64)) } + case "state": if value != nil { jtv, ok := value.(string) @@ -39413,10 +41033,12 @@ func awsRestjson1_deserializeDocumentMultiplexSummary(v **types.MultiplexSummary } sv.State = types.MultiplexState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -39460,10 +41082,12 @@ func awsRestjson1_deserializeDocumentMultiplexVideoSettings(v **types.MultiplexV } sv.ConstantBitrate = ptr.Int32(int32(i64)) } + case "statmuxSettings": if err := awsRestjson1_deserializeDocumentMultiplexStatmuxVideoSettings(&sv.StatmuxSettings, value); err != nil { return err } + default: _, _ = key, value @@ -39499,10 +41123,12 @@ func awsRestjson1_deserializeDocumentNetworkInputSettings(v **types.NetworkInput if err := awsRestjson1_deserializeDocumentHlsInputSettings(&sv.HlsInputSettings, value); err != nil { return err } + case "multicastInputSettings": if err := awsRestjson1_deserializeDocumentMulticastInputSettings(&sv.MulticastInputSettings, value); err != nil { return err } + case "serverValidation": if value != nil { jtv, ok := value.(string) @@ -39511,6 +41137,7 @@ func awsRestjson1_deserializeDocumentNetworkInputSettings(v **types.NetworkInput } sv.ServerValidation = types.NetworkInputServerValidation(jtv) } + default: _, _ = key, value @@ -39550,6 +41177,7 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.CbetCheckDigitString = ptr.String(jtv) } + case "cbetStepaside": if value != nil { jtv, ok := value.(string) @@ -39558,6 +41186,7 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.CbetStepaside = types.NielsenWatermarksCbetStepaside(jtv) } + case "csid": if value != nil { jtv, ok := value.(string) @@ -39566,6 +41195,7 @@ func awsRestjson1_deserializeDocumentNielsenCBET(v **types.NielsenCBET, value in } sv.Csid = ptr.String(jtv) } + default: _, _ = key, value @@ -39605,6 +41235,7 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.DistributorId = ptr.String(jtv) } + case "nielsenPcmToId3Tagging": if value != nil { jtv, ok := value.(string) @@ -39613,6 +41244,7 @@ func awsRestjson1_deserializeDocumentNielsenConfiguration(v **types.NielsenConfi } sv.NielsenPcmToId3Tagging = types.NielsenPcmToId3TaggingState(jtv) } + default: _, _ = key, value @@ -39652,6 +41284,7 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } sv.CheckDigitString = ptr.String(jtv) } + case "sid": if value != nil { switch jtv := value.(type) { @@ -39685,6 +41318,7 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } } + case "timezone": if value != nil { jtv, ok := value.(string) @@ -39693,6 +41327,7 @@ func awsRestjson1_deserializeDocumentNielsenNaesIiNw(v **types.NielsenNaesIiNw, } sv.Timezone = types.NielsenWatermarkTimezones(jtv) } + default: _, _ = key, value @@ -39728,6 +41363,7 @@ func awsRestjson1_deserializeDocumentNielsenWatermarksSettings(v **types.Nielsen if err := awsRestjson1_deserializeDocumentNielsenCBET(&sv.NielsenCbetSettings, value); err != nil { return err } + case "nielsenDistributionType": if value != nil { jtv, ok := value.(string) @@ -39736,10 +41372,12 @@ func awsRestjson1_deserializeDocumentNielsenWatermarksSettings(v **types.Nielsen } sv.NielsenDistributionType = types.NielsenWatermarksDistributionTypes(jtv) } + case "nielsenNaesIiNwSettings": if err := awsRestjson1_deserializeDocumentNielsenNaesIiNw(&sv.NielsenNaesIiNwSettings, value); err != nil { return err } + default: _, _ = key, value @@ -39779,6 +41417,7 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.LogicalInterfaceName = ptr.String(jtv) } + case "networkInterfaceMode": if value != nil { jtv, ok := value.(string) @@ -39787,6 +41426,7 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.NetworkInterfaceMode = types.NetworkInterfaceMode(jtv) } + case "physicalInterfaceName": if value != nil { jtv, ok := value.(string) @@ -39795,6 +41435,7 @@ func awsRestjson1_deserializeDocumentNodeInterfaceMapping(v **types.NodeInterfac } sv.PhysicalInterfaceName = ptr.String(jtv) } + default: _, _ = key, value @@ -39834,6 +41475,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39873,6 +41515,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Arn = ptr.String(jtv) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -39881,6 +41524,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -39893,6 +41537,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -39901,6 +41546,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.DurationUnits = types.OfferingDurationUnits(jtv) } + case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -39934,6 +41580,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -39942,6 +41589,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingDescription = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -39950,6 +41598,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingId = ptr.String(jtv) } + case "offeringType": if value != nil { jtv, ok := value.(string) @@ -39958,6 +41607,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.OfferingType = types.OfferingType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -39966,10 +41616,12 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } sv.Region = ptr.String(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -40003,6 +41655,7 @@ func awsRestjson1_deserializeDocumentOffering(v **types.Offering, value interfac } } + default: _, _ = key, value @@ -40038,10 +41691,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AudioDescriptionNames, value); err != nil { return err } + case "captionDescriptionNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.CaptionDescriptionNames, value); err != nil { return err } + case "outputName": if value != nil { jtv, ok := value.(string) @@ -40050,10 +41705,12 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.OutputName = ptr.String(jtv) } + case "outputSettings": if err := awsRestjson1_deserializeDocumentOutputSettings(&sv.OutputSettings, value); err != nil { return err } + case "videoDescriptionName": if value != nil { jtv, ok := value.(string) @@ -40062,6 +41719,7 @@ func awsRestjson1_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.VideoDescriptionName = ptr.String(jtv) } + default: _, _ = key, value @@ -40101,22 +41759,27 @@ func awsRestjson1_deserializeDocumentOutputDestination(v **types.OutputDestinati } sv.Id = ptr.String(jtv) } + case "mediaPackageSettings": if err := awsRestjson1_deserializeDocument__listOfMediaPackageOutputDestinationSettings(&sv.MediaPackageSettings, value); err != nil { return err } + case "multiplexSettings": if err := awsRestjson1_deserializeDocumentMultiplexProgramChannelDestinationSettings(&sv.MultiplexSettings, value); err != nil { return err } + case "settings": if err := awsRestjson1_deserializeDocument__listOfOutputDestinationSettings(&sv.Settings, value); err != nil { return err } + case "srtSettings": if err := awsRestjson1_deserializeDocument__listOfSrtOutputDestinationSettings(&sv.SrtSettings, value); err != nil { return err } + default: _, _ = key, value @@ -40156,6 +41819,7 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.PasswordParam = ptr.String(jtv) } + case "streamName": if value != nil { jtv, ok := value.(string) @@ -40164,6 +41828,7 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.StreamName = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -40172,6 +41837,7 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.Url = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -40180,6 +41846,7 @@ func awsRestjson1_deserializeDocumentOutputDestinationSettings(v **types.OutputD } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -40219,14 +41886,17 @@ func awsRestjson1_deserializeDocumentOutputGroup(v **types.OutputGroup, value in } sv.Name = ptr.String(jtv) } + case "outputGroupSettings": if err := awsRestjson1_deserializeDocumentOutputGroupSettings(&sv.OutputGroupSettings, value); err != nil { return err } + case "outputs": if err := awsRestjson1_deserializeDocument__listOfOutput(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -40262,42 +41932,52 @@ func awsRestjson1_deserializeDocumentOutputGroupSettings(v **types.OutputGroupSe if err := awsRestjson1_deserializeDocumentArchiveGroupSettings(&sv.ArchiveGroupSettings, value); err != nil { return err } + case "cmafIngestGroupSettings": if err := awsRestjson1_deserializeDocumentCmafIngestGroupSettings(&sv.CmafIngestGroupSettings, value); err != nil { return err } + case "frameCaptureGroupSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureGroupSettings(&sv.FrameCaptureGroupSettings, value); err != nil { return err } + case "hlsGroupSettings": if err := awsRestjson1_deserializeDocumentHlsGroupSettings(&sv.HlsGroupSettings, value); err != nil { return err } + case "mediaPackageGroupSettings": if err := awsRestjson1_deserializeDocumentMediaPackageGroupSettings(&sv.MediaPackageGroupSettings, value); err != nil { return err } + case "msSmoothGroupSettings": if err := awsRestjson1_deserializeDocumentMsSmoothGroupSettings(&sv.MsSmoothGroupSettings, value); err != nil { return err } + case "multiplexGroupSettings": if err := awsRestjson1_deserializeDocumentMultiplexGroupSettings(&sv.MultiplexGroupSettings, value); err != nil { return err } + case "rtmpGroupSettings": if err := awsRestjson1_deserializeDocumentRtmpGroupSettings(&sv.RtmpGroupSettings, value); err != nil { return err } + case "srtGroupSettings": if err := awsRestjson1_deserializeDocumentSrtGroupSettings(&sv.SrtGroupSettings, value); err != nil { return err } + case "udpGroupSettings": if err := awsRestjson1_deserializeDocumentUdpGroupSettings(&sv.UdpGroupSettings, value); err != nil { return err } + default: _, _ = key, value @@ -40337,6 +42017,7 @@ func awsRestjson1_deserializeDocumentOutputLocationRef(v **types.OutputLocationR } sv.DestinationRefId = ptr.String(jtv) } + default: _, _ = key, value @@ -40372,10 +42053,12 @@ func awsRestjson1_deserializeDocumentOutputLockingSettings(v **types.OutputLocki if err := awsRestjson1_deserializeDocumentEpochLockingSettings(&sv.EpochLockingSettings, value); err != nil { return err } + case "pipelineLockingSettings": if err := awsRestjson1_deserializeDocumentPipelineLockingSettings(&sv.PipelineLockingSettings, value); err != nil { return err } + default: _, _ = key, value @@ -40411,42 +42094,52 @@ func awsRestjson1_deserializeDocumentOutputSettings(v **types.OutputSettings, va if err := awsRestjson1_deserializeDocumentArchiveOutputSettings(&sv.ArchiveOutputSettings, value); err != nil { return err } + case "cmafIngestOutputSettings": if err := awsRestjson1_deserializeDocumentCmafIngestOutputSettings(&sv.CmafIngestOutputSettings, value); err != nil { return err } + case "frameCaptureOutputSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureOutputSettings(&sv.FrameCaptureOutputSettings, value); err != nil { return err } + case "hlsOutputSettings": if err := awsRestjson1_deserializeDocumentHlsOutputSettings(&sv.HlsOutputSettings, value); err != nil { return err } + case "mediaPackageOutputSettings": if err := awsRestjson1_deserializeDocumentMediaPackageOutputSettings(&sv.MediaPackageOutputSettings, value); err != nil { return err } + case "msSmoothOutputSettings": if err := awsRestjson1_deserializeDocumentMsSmoothOutputSettings(&sv.MsSmoothOutputSettings, value); err != nil { return err } + case "multiplexOutputSettings": if err := awsRestjson1_deserializeDocumentMultiplexOutputSettings(&sv.MultiplexOutputSettings, value); err != nil { return err } + case "rtmpOutputSettings": if err := awsRestjson1_deserializeDocumentRtmpOutputSettings(&sv.RtmpOutputSettings, value); err != nil { return err } + case "srtOutputSettings": if err := awsRestjson1_deserializeDocumentSrtOutputSettings(&sv.SrtOutputSettings, value); err != nil { return err } + case "udpOutputSettings": if err := awsRestjson1_deserializeDocumentUdpOutputSettings(&sv.UdpOutputSettings, value); err != nil { return err } + default: _, _ = key, value @@ -40513,6 +42206,7 @@ func awsRestjson1_deserializeDocumentPauseStateScheduleActionSettings(v **types. if err := awsRestjson1_deserializeDocument__listOfPipelinePauseStateSettings(&sv.Pipelines, value); err != nil { return err } + default: _, _ = key, value @@ -40552,6 +42246,7 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveInputAttachmentName = ptr.String(jtv) } + case "activeInputSwitchActionName": if value != nil { jtv, ok := value.(string) @@ -40560,6 +42255,7 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveInputSwitchActionName = ptr.String(jtv) } + case "activeMotionGraphicsActionName": if value != nil { jtv, ok := value.(string) @@ -40568,6 +42264,7 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveMotionGraphicsActionName = ptr.String(jtv) } + case "activeMotionGraphicsUri": if value != nil { jtv, ok := value.(string) @@ -40576,6 +42273,7 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.ActiveMotionGraphicsUri = ptr.String(jtv) } + case "pipelineId": if value != nil { jtv, ok := value.(string) @@ -40584,6 +42282,7 @@ func awsRestjson1_deserializeDocumentPipelineDetail(v **types.PipelineDetail, va } sv.PipelineId = ptr.String(jtv) } + default: _, _ = key, value @@ -40654,6 +42353,7 @@ func awsRestjson1_deserializeDocumentPipelinePauseStateSettings(v **types.Pipeli } sv.PipelineId = types.PipelineId(jtv) } + default: _, _ = key, value @@ -40782,6 +42482,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu if err := awsRestjson1_deserializeDocument__listOfAudioChannelMapping(&sv.ChannelMappings, value); err != nil { return err } + case "channelsIn": if value != nil { jtv, ok := value.(json.Number) @@ -40794,6 +42495,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsIn = ptr.Int32(int32(i64)) } + case "channelsOut": if value != nil { jtv, ok := value.(json.Number) @@ -40806,6 +42508,7 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu } sv.ChannelsOut = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40845,6 +42548,7 @@ func awsRestjson1_deserializeDocumentRenewalSettings(v **types.RenewalSettings, } sv.AutomaticRenewal = types.ReservationAutomaticRenewal(jtv) } + case "renewalCount": if value != nil { jtv, ok := value.(json.Number) @@ -40857,6 +42561,7 @@ func awsRestjson1_deserializeDocumentRenewalSettings(v **types.RenewalSettings, } sv.RenewalCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40896,6 +42601,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Arn = ptr.String(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -40908,6 +42614,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Count = ptr.Int32(int32(i64)) } + case "currencyCode": if value != nil { jtv, ok := value.(string) @@ -40916,6 +42623,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.CurrencyCode = ptr.String(jtv) } + case "duration": if value != nil { jtv, ok := value.(json.Number) @@ -40928,6 +42636,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Duration = ptr.Int32(int32(i64)) } + case "durationUnits": if value != nil { jtv, ok := value.(string) @@ -40936,6 +42645,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.DurationUnits = types.OfferingDurationUnits(jtv) } + case "end": if value != nil { jtv, ok := value.(string) @@ -40944,6 +42654,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.End = ptr.String(jtv) } + case "fixedPrice": if value != nil { switch jtv := value.(type) { @@ -40977,6 +42688,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } } + case "name": if value != nil { jtv, ok := value.(string) @@ -40985,6 +42697,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Name = ptr.String(jtv) } + case "offeringDescription": if value != nil { jtv, ok := value.(string) @@ -40993,6 +42706,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingDescription = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -41001,6 +42715,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingId = ptr.String(jtv) } + case "offeringType": if value != nil { jtv, ok := value.(string) @@ -41009,6 +42724,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.OfferingType = types.OfferingType(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -41017,10 +42733,12 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Region = ptr.String(jtv) } + case "renewalSettings": if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { return err } + case "reservationId": if value != nil { jtv, ok := value.(string) @@ -41029,10 +42747,12 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.ReservationId = ptr.String(jtv) } + case "resourceSpecification": if err := awsRestjson1_deserializeDocumentReservationResourceSpecification(&sv.ResourceSpecification, value); err != nil { return err } + case "start": if value != nil { jtv, ok := value.(string) @@ -41041,6 +42761,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.Start = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -41049,10 +42770,12 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } sv.State = types.ReservationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "usagePrice": if value != nil { switch jtv := value.(type) { @@ -41086,6 +42809,7 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in } } + default: _, _ = key, value @@ -41125,6 +42849,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.ChannelClass = types.ChannelClass(jtv) } + case "codec": if value != nil { jtv, ok := value.(string) @@ -41133,6 +42858,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.Codec = types.ReservationCodec(jtv) } + case "maximumBitrate": if value != nil { jtv, ok := value.(string) @@ -41141,6 +42867,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.MaximumBitrate = types.ReservationMaximumBitrate(jtv) } + case "maximumFramerate": if value != nil { jtv, ok := value.(string) @@ -41149,6 +42876,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.MaximumFramerate = types.ReservationMaximumFramerate(jtv) } + case "resolution": if value != nil { jtv, ok := value.(string) @@ -41157,6 +42885,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.Resolution = types.ReservationResolution(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -41165,6 +42894,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.ResourceType = types.ReservationResourceType(jtv) } + case "specialFeature": if value != nil { jtv, ok := value.(string) @@ -41173,6 +42903,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.SpecialFeature = types.ReservationSpecialFeature(jtv) } + case "videoQuality": if value != nil { jtv, ok := value.(string) @@ -41181,6 +42912,7 @@ func awsRestjson1_deserializeDocumentReservationResourceSpecification(v **types. } sv.VideoQuality = types.ReservationVideoQuality(jtv) } + default: _, _ = key, value @@ -41220,6 +42952,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Cidr = ptr.String(jtv) } + case "gateway": if value != nil { jtv, ok := value.(string) @@ -41228,6 +42961,7 @@ func awsRestjson1_deserializeDocumentRoute(v **types.Route, value interface{}) e } sv.Gateway = ptr.String(jtv) } + default: _, _ = key, value @@ -41294,6 +43028,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin if err := awsRestjson1_deserializeDocument__listOfRtmpAdMarkers(&sv.AdMarkers, value); err != nil { return err } + case "authenticationScheme": if value != nil { jtv, ok := value.(string) @@ -41302,6 +43037,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.AuthenticationScheme = types.AuthenticationScheme(jtv) } + case "cacheFullBehavior": if value != nil { jtv, ok := value.(string) @@ -41310,6 +43046,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CacheFullBehavior = types.RtmpCacheFullBehavior(jtv) } + case "cacheLength": if value != nil { jtv, ok := value.(json.Number) @@ -41322,6 +43059,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CacheLength = ptr.Int32(int32(i64)) } + case "captionData": if value != nil { jtv, ok := value.(string) @@ -41330,6 +43068,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.CaptionData = types.RtmpCaptionData(jtv) } + case "includeFillerNalUnits": if value != nil { jtv, ok := value.(string) @@ -41338,6 +43077,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.IncludeFillerNalUnits = types.IncludeFillerNalUnits(jtv) } + case "inputLossAction": if value != nil { jtv, ok := value.(string) @@ -41346,6 +43086,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.InputLossAction = types.InputLossActionForRtmpOut(jtv) } + case "restartDelay": if value != nil { jtv, ok := value.(json.Number) @@ -41358,6 +43099,7 @@ func awsRestjson1_deserializeDocumentRtmpGroupSettings(v **types.RtmpGroupSettin } sv.RestartDelay = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41397,6 +43139,7 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.CertificateMode = types.RtmpOutputCertificateMode(jtv) } + case "connectionRetryInterval": if value != nil { jtv, ok := value.(json.Number) @@ -41409,10 +43152,12 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.ConnectionRetryInterval = ptr.Int32(int32(i64)) } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "numRetries": if value != nil { jtv, ok := value.(json.Number) @@ -41425,6 +43170,7 @@ func awsRestjson1_deserializeDocumentRtmpOutputSettings(v **types.RtmpOutputSett } sv.NumRetries = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41464,14 +43210,17 @@ func awsRestjson1_deserializeDocumentScheduleAction(v **types.ScheduleAction, va } sv.ActionName = ptr.String(jtv) } + case "scheduleActionSettings": if err := awsRestjson1_deserializeDocumentScheduleActionSettings(&sv.ScheduleActionSettings, value); err != nil { return err } + case "scheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentScheduleActionStartSettings(&sv.ScheduleActionStartSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41507,62 +43256,77 @@ func awsRestjson1_deserializeDocumentScheduleActionSettings(v **types.ScheduleAc if err := awsRestjson1_deserializeDocumentHlsId3SegmentTaggingScheduleActionSettings(&sv.HlsId3SegmentTaggingSettings, value); err != nil { return err } + case "hlsTimedMetadataSettings": if err := awsRestjson1_deserializeDocumentHlsTimedMetadataScheduleActionSettings(&sv.HlsTimedMetadataSettings, value); err != nil { return err } + case "inputPrepareSettings": if err := awsRestjson1_deserializeDocumentInputPrepareScheduleActionSettings(&sv.InputPrepareSettings, value); err != nil { return err } + case "inputSwitchSettings": if err := awsRestjson1_deserializeDocumentInputSwitchScheduleActionSettings(&sv.InputSwitchSettings, value); err != nil { return err } + case "motionGraphicsImageActivateSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsActivateScheduleActionSettings(&sv.MotionGraphicsImageActivateSettings, value); err != nil { return err } + case "motionGraphicsImageDeactivateSettings": if err := awsRestjson1_deserializeDocumentMotionGraphicsDeactivateScheduleActionSettings(&sv.MotionGraphicsImageDeactivateSettings, value); err != nil { return err } + case "pauseStateSettings": if err := awsRestjson1_deserializeDocumentPauseStateScheduleActionSettings(&sv.PauseStateSettings, value); err != nil { return err } + case "scte35InputSettings": if err := awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(&sv.Scte35InputSettings, value); err != nil { return err } + case "scte35ReturnToNetworkSettings": if err := awsRestjson1_deserializeDocumentScte35ReturnToNetworkScheduleActionSettings(&sv.Scte35ReturnToNetworkSettings, value); err != nil { return err } + case "scte35SpliceInsertSettings": if err := awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(&sv.Scte35SpliceInsertSettings, value); err != nil { return err } + case "scte35TimeSignalSettings": if err := awsRestjson1_deserializeDocumentScte35TimeSignalScheduleActionSettings(&sv.Scte35TimeSignalSettings, value); err != nil { return err } + case "staticImageActivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(&sv.StaticImageActivateSettings, value); err != nil { return err } + case "staticImageDeactivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings(&sv.StaticImageDeactivateSettings, value); err != nil { return err } + case "staticImageOutputActivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSettings(&sv.StaticImageOutputActivateSettings, value); err != nil { return err } + case "staticImageOutputDeactivateSettings": if err := awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSettings(&sv.StaticImageOutputDeactivateSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41598,14 +43362,17 @@ func awsRestjson1_deserializeDocumentScheduleActionStartSettings(v **types.Sched if err := awsRestjson1_deserializeDocumentFixedModeScheduleActionStartSettings(&sv.FixedModeScheduleActionStartSettings, value); err != nil { return err } + case "followModeScheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentFollowModeScheduleActionStartSettings(&sv.FollowModeScheduleActionStartSettings, value); err != nil { return err } + case "immediateModeScheduleActionStartSettings": if err := awsRestjson1_deserializeDocumentImmediateModeScheduleActionStartSettings(&sv.ImmediateModeScheduleActionStartSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41676,6 +43443,7 @@ func awsRestjson1_deserializeDocumentScte20SourceSettings(v **types.Scte20Source } sv.Convert608To708 = types.Scte20Convert608To708(jtv) } + case "source608ChannelNumber": if value != nil { jtv, ok := value.(json.Number) @@ -41688,6 +43456,7 @@ func awsRestjson1_deserializeDocumentScte20SourceSettings(v **types.Scte20Source } sv.Source608ChannelNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41758,6 +43527,7 @@ func awsRestjson1_deserializeDocumentScte27SourceSettings(v **types.Scte27Source } sv.OcrLanguage = types.Scte27OcrLanguage(jtv) } + case "pid": if value != nil { jtv, ok := value.(json.Number) @@ -41770,6 +43540,7 @@ func awsRestjson1_deserializeDocumentScte27SourceSettings(v **types.Scte27Source } sv.Pid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41809,6 +43580,7 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.ArchiveAllowedFlag = types.Scte35ArchiveAllowedFlag(jtv) } + case "deviceRestrictions": if value != nil { jtv, ok := value.(string) @@ -41817,6 +43589,7 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.DeviceRestrictions = types.Scte35DeviceRestrictions(jtv) } + case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -41825,6 +43598,7 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.NoRegionalBlackoutFlag = types.Scte35NoRegionalBlackoutFlag(jtv) } + case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -41833,6 +43607,7 @@ func awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(v **types.Scte35 } sv.WebDeliveryAllowedFlag = types.Scte35WebDeliveryAllowedFlag(jtv) } + default: _, _ = key, value @@ -41868,6 +43643,7 @@ func awsRestjson1_deserializeDocumentScte35Descriptor(v **types.Scte35Descriptor if err := awsRestjson1_deserializeDocumentScte35DescriptorSettings(&sv.Scte35DescriptorSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41903,6 +43679,7 @@ func awsRestjson1_deserializeDocumentScte35DescriptorSettings(v **types.Scte35De if err := awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(&sv.SegmentationDescriptorScte35DescriptorSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41942,6 +43719,7 @@ func awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(v **types } sv.InputAttachmentNameReference = ptr.String(jtv) } + case "mode": if value != nil { jtv, ok := value.(string) @@ -41950,6 +43728,7 @@ func awsRestjson1_deserializeDocumentScte35InputScheduleActionSettings(v **types } sv.Mode = types.Scte35InputMode(jtv) } + default: _, _ = key, value @@ -41993,6 +43772,7 @@ func awsRestjson1_deserializeDocumentScte35ReturnToNetworkScheduleActionSettings } sv.SpliceEventId = ptr.Int64(i64) } + default: _, _ = key, value @@ -42028,6 +43808,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte if err := awsRestjson1_deserializeDocumentScte35DeliveryRestrictions(&sv.DeliveryRestrictions, value); err != nil { return err } + case "segmentationCancelIndicator": if value != nil { jtv, ok := value.(string) @@ -42036,6 +43817,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationCancelIndicator = types.Scte35SegmentationCancelIndicator(jtv) } + case "segmentationDuration": if value != nil { jtv, ok := value.(json.Number) @@ -42048,6 +43830,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationDuration = ptr.Int64(i64) } + case "segmentationEventId": if value != nil { jtv, ok := value.(json.Number) @@ -42060,6 +43843,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationEventId = ptr.Int64(i64) } + case "segmentationTypeId": if value != nil { jtv, ok := value.(json.Number) @@ -42072,6 +43856,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationTypeId = ptr.Int32(int32(i64)) } + case "segmentationUpid": if value != nil { jtv, ok := value.(string) @@ -42080,6 +43865,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationUpid = ptr.String(jtv) } + case "segmentationUpidType": if value != nil { jtv, ok := value.(json.Number) @@ -42092,6 +43878,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentationUpidType = ptr.Int32(int32(i64)) } + case "segmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -42104,6 +43891,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentNum = ptr.Int32(int32(i64)) } + case "segmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -42116,6 +43904,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SegmentsExpected = ptr.Int32(int32(i64)) } + case "subSegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -42128,6 +43917,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SubSegmentNum = ptr.Int32(int32(i64)) } + case "subSegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -42140,6 +43930,7 @@ func awsRestjson1_deserializeDocumentScte35SegmentationDescriptor(v **types.Scte } sv.SubSegmentsExpected = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42183,6 +43974,7 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.AdAvailOffset = ptr.Int32(int32(i64)) } + case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -42191,6 +43983,7 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.NoRegionalBlackoutFlag = types.Scte35SpliceInsertNoRegionalBlackoutBehavior(jtv) } + case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -42199,6 +43992,7 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsert(v **types.Scte35SpliceIn } sv.WebDeliveryAllowedFlag = types.Scte35SpliceInsertWebDeliveryAllowedBehavior(jtv) } + default: _, _ = key, value @@ -42242,6 +44036,7 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(v } sv.Duration = ptr.Int64(i64) } + case "spliceEventId": if value != nil { jtv, ok := value.(json.Number) @@ -42254,6 +44049,7 @@ func awsRestjson1_deserializeDocumentScte35SpliceInsertScheduleActionSettings(v } sv.SpliceEventId = ptr.Int64(i64) } + default: _, _ = key, value @@ -42297,6 +44093,7 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.AdAvailOffset = ptr.Int32(int32(i64)) } + case "noRegionalBlackoutFlag": if value != nil { jtv, ok := value.(string) @@ -42305,6 +44102,7 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.NoRegionalBlackoutFlag = types.Scte35AposNoRegionalBlackoutBehavior(jtv) } + case "webDeliveryAllowedFlag": if value != nil { jtv, ok := value.(string) @@ -42313,6 +44111,7 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalApos(v **types.Scte35TimeSi } sv.WebDeliveryAllowedFlag = types.Scte35AposWebDeliveryAllowedBehavior(jtv) } + default: _, _ = key, value @@ -42348,6 +44147,7 @@ func awsRestjson1_deserializeDocumentScte35TimeSignalScheduleActionSettings(v ** if err := awsRestjson1_deserializeDocument__listOfScte35Descriptor(&sv.Scte35Descriptors, value); err != nil { return err } + default: _, _ = key, value @@ -42387,6 +44187,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -42399,6 +44200,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -42407,6 +44209,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -42415,6 +44218,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -42427,6 +44231,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.ModifiedAt = ptr.Time(t) } + case "monitorDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -42435,6 +44240,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.MonitorDeploymentStatus = types.SignalMapMonitorDeploymentStatus(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -42443,6 +44249,7 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -42451,10 +44258,12 @@ func awsRestjson1_deserializeDocumentSignalMapSummary(v **types.SignalMapSummary } sv.Status = types.SignalMapStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -42525,6 +44334,7 @@ func awsRestjson1_deserializeDocumentSrtCallerDecryption(v **types.SrtCallerDecr } sv.Algorithm = types.Algorithm(jtv) } + case "passphraseSecretArn": if value != nil { jtv, ok := value.(string) @@ -42533,6 +44343,7 @@ func awsRestjson1_deserializeDocumentSrtCallerDecryption(v **types.SrtCallerDecr } sv.PassphraseSecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -42568,6 +44379,7 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, if err := awsRestjson1_deserializeDocumentSrtCallerDecryption(&sv.Decryption, value); err != nil { return err } + case "minimumLatency": if value != nil { jtv, ok := value.(json.Number) @@ -42580,6 +44392,7 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.MinimumLatency = ptr.Int32(int32(i64)) } + case "srtListenerAddress": if value != nil { jtv, ok := value.(string) @@ -42588,6 +44401,7 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.SrtListenerAddress = ptr.String(jtv) } + case "srtListenerPort": if value != nil { jtv, ok := value.(string) @@ -42596,6 +44410,7 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.SrtListenerPort = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -42604,6 +44419,7 @@ func awsRestjson1_deserializeDocumentSrtCallerSource(v **types.SrtCallerSource, } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -42643,6 +44459,7 @@ func awsRestjson1_deserializeDocumentSrtGroupSettings(v **types.SrtGroupSettings } sv.InputLossAction = types.InputLossActionForUdpOut(jtv) } + default: _, _ = key, value @@ -42682,6 +44499,7 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.EncryptionPassphraseSecretArn = ptr.String(jtv) } + case "streamId": if value != nil { jtv, ok := value.(string) @@ -42690,6 +44508,7 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.StreamId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -42698,6 +44517,7 @@ func awsRestjson1_deserializeDocumentSrtOutputDestinationSettings(v **types.SrtO } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -42741,14 +44561,17 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.BufferMsec = ptr.Int32(int32(i64)) } + case "containerSettings": if err := awsRestjson1_deserializeDocumentUdpContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "encryptionType": if value != nil { jtv, ok := value.(string) @@ -42757,6 +44580,7 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.EncryptionType = types.SrtEncryptionType(jtv) } + case "latency": if value != nil { jtv, ok := value.(json.Number) @@ -42769,6 +44593,7 @@ func awsRestjson1_deserializeDocumentSrtOutputSettings(v **types.SrtOutputSettin } sv.Latency = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42804,6 +44629,7 @@ func awsRestjson1_deserializeDocumentSrtSettings(v **types.SrtSettings, value in if err := awsRestjson1_deserializeDocument__listOfSrtCallerSource(&sv.SrtCallerSources, value); err != nil { return err } + default: _, _ = key, value @@ -42843,10 +44669,12 @@ func awsRestjson1_deserializeDocumentStandardHlsSettings(v **types.StandardHlsSe } sv.AudioRenditionSets = ptr.String(jtv) } + case "m3u8Settings": if err := awsRestjson1_deserializeDocumentM3u8Settings(&sv.M3u8Settings, value); err != nil { return err } + default: _, _ = key, value @@ -42886,6 +44714,7 @@ func awsRestjson1_deserializeDocumentStartTimecode(v **types.StartTimecode, valu } sv.Timecode = ptr.String(jtv) } + default: _, _ = key, value @@ -42929,6 +44758,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Duration = ptr.Int32(int32(i64)) } + case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -42941,6 +44771,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.FadeIn = ptr.Int32(int32(i64)) } + case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -42953,6 +44784,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.FadeOut = ptr.Int32(int32(i64)) } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -42965,10 +44797,12 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Height = ptr.Int32(int32(i64)) } + case "image": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Image, value); err != nil { return err } + case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -42981,6 +44815,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.ImageX = ptr.Int32(int32(i64)) } + case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -42993,6 +44828,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.ImageY = ptr.Int32(int32(i64)) } + case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -43005,6 +44841,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Layer = ptr.Int32(int32(i64)) } + case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -43017,6 +44854,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Opacity = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -43029,6 +44867,7 @@ func awsRestjson1_deserializeDocumentStaticImageActivateScheduleActionSettings(v } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43072,6 +44911,7 @@ func awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings } sv.FadeOut = ptr.Int32(int32(i64)) } + case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -43084,6 +44924,7 @@ func awsRestjson1_deserializeDocumentStaticImageDeactivateScheduleActionSettings } sv.Layer = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43127,6 +44968,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Duration = ptr.Int32(int32(i64)) } + case "fadeIn": if value != nil { jtv, ok := value.(json.Number) @@ -43139,6 +44981,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.FadeIn = ptr.Int32(int32(i64)) } + case "fadeOut": if value != nil { jtv, ok := value.(json.Number) @@ -43151,6 +44994,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.FadeOut = ptr.Int32(int32(i64)) } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -43163,10 +45007,12 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Height = ptr.Int32(int32(i64)) } + case "image": if err := awsRestjson1_deserializeDocumentInputLocation(&sv.Image, value); err != nil { return err } + case "imageX": if value != nil { jtv, ok := value.(json.Number) @@ -43179,6 +45025,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.ImageX = ptr.Int32(int32(i64)) } + case "imageY": if value != nil { jtv, ok := value.(json.Number) @@ -43191,6 +45038,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.ImageY = ptr.Int32(int32(i64)) } + case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -43203,6 +45051,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Layer = ptr.Int32(int32(i64)) } + case "opacity": if value != nil { jtv, ok := value.(json.Number) @@ -43215,10 +45064,12 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Opacity = ptr.Int32(int32(i64)) } + case "outputNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.OutputNames, value); err != nil { return err } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -43231,6 +45082,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputActivateScheduleActionSett } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43274,6 +45126,7 @@ func awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSe } sv.FadeOut = ptr.Int32(int32(i64)) } + case "layer": if value != nil { jtv, ok := value.(json.Number) @@ -43286,10 +45139,12 @@ func awsRestjson1_deserializeDocumentStaticImageOutputDeactivateScheduleActionSe } sv.Layer = ptr.Int32(int32(i64)) } + case "outputNames": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.OutputNames, value); err != nil { return err } + default: _, _ = key, value @@ -43325,6 +45180,7 @@ func awsRestjson1_deserializeDocumentStaticKeySettings(v **types.StaticKeySettin if err := awsRestjson1_deserializeDocumentInputLocation(&sv.KeyProviderServer, value); err != nil { return err } + case "staticKeyValue": if value != nil { jtv, ok := value.(string) @@ -43333,6 +45189,7 @@ func awsRestjson1_deserializeDocumentStaticKeySettings(v **types.StaticKeySettin } sv.StaticKeyValue = ptr.String(jtv) } + default: _, _ = key, value @@ -43372,6 +45229,7 @@ func awsRestjson1_deserializeDocumentStopTimecode(v **types.StopTimecode, value } sv.LastFrameClippingBehavior = types.LastFrameClippingBehavior(jtv) } + case "timecode": if value != nil { jtv, ok := value.(string) @@ -43380,6 +45238,7 @@ func awsRestjson1_deserializeDocumentStopTimecode(v **types.StopTimecode, value } sv.Timecode = ptr.String(jtv) } + default: _, _ = key, value @@ -43419,6 +45278,7 @@ func awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(v **types.Succe } sv.DetailsUri = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -43427,6 +45287,7 @@ func awsRestjson1_deserializeDocumentSuccessfulMonitorDeployment(v **types.Succe } sv.Status = types.SignalMapMonitorDeploymentStatus(jtv) } + default: _, _ = key, value @@ -43565,6 +45426,7 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo if err := awsRestjson1_deserializeDocumentCaptionRectangle(&sv.OutputRectangle, value); err != nil { return err } + case "pageNumber": if value != nil { jtv, ok := value.(string) @@ -43573,6 +45435,7 @@ func awsRestjson1_deserializeDocumentTeletextSourceSettings(v **types.TeletextSo } sv.PageNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -43612,6 +45475,7 @@ func awsRestjson1_deserializeDocumentTemporalFilterSettings(v **types.TemporalFi } sv.PostFilterSharpening = types.TemporalFilterPostFilterSharpening(jtv) } + case "strength": if value != nil { jtv, ok := value.(string) @@ -43620,6 +45484,7 @@ func awsRestjson1_deserializeDocumentTemporalFilterSettings(v **types.TemporalFi } sv.Strength = types.TemporalFilterStrength(jtv) } + default: _, _ = key, value @@ -43659,6 +45524,7 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.Body = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -43667,6 +45533,7 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.ContentType = ptr.String(jtv) } + case "thumbnailType": if value != nil { jtv, ok := value.(string) @@ -43675,6 +45542,7 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.ThumbnailType = types.ThumbnailType(jtv) } + case "timeStamp": if value != nil { jtv, ok := value.(string) @@ -43687,6 +45555,7 @@ func awsRestjson1_deserializeDocumentThumbnail(v **types.Thumbnail, value interf } sv.TimeStamp = ptr.Time(t) } + default: _, _ = key, value @@ -43726,6 +45595,7 @@ func awsRestjson1_deserializeDocumentThumbnailConfiguration(v **types.ThumbnailC } sv.State = types.ThumbnailState(jtv) } + default: _, _ = key, value @@ -43765,10 +45635,12 @@ func awsRestjson1_deserializeDocumentThumbnailDetail(v **types.ThumbnailDetail, } sv.PipelineId = ptr.String(jtv) } + case "thumbnails": if err := awsRestjson1_deserializeDocument__listOfThumbnail(&sv.Thumbnails, value); err != nil { return err } + default: _, _ = key, value @@ -43808,6 +45680,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.FontSize = types.TimecodeBurninFontSize(jtv) } + case "position": if value != nil { jtv, ok := value.(string) @@ -43816,6 +45689,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.Position = types.TimecodeBurninPosition(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -43824,6 +45698,7 @@ func awsRestjson1_deserializeDocumentTimecodeBurninSettings(v **types.TimecodeBu } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -43863,6 +45738,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.Source = types.TimecodeConfigSource(jtv) } + case "syncThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -43875,6 +45751,7 @@ func awsRestjson1_deserializeDocumentTimecodeConfig(v **types.TimecodeConfig, va } sv.SyncThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43914,6 +45791,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -43953,6 +45831,7 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.Id = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -43961,6 +45840,7 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.Message = ptr.String(jtv) } + case "targetCustomerId": if value != nil { jtv, ok := value.(string) @@ -43969,6 +45849,7 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.TargetCustomerId = ptr.String(jtv) } + case "transferType": if value != nil { jtv, ok := value.(string) @@ -43977,6 +45858,7 @@ func awsRestjson1_deserializeDocumentTransferringInputDeviceSummary(v **types.Tr } sv.TransferType = types.InputDeviceTransferType(jtv) } + default: _, _ = key, value @@ -44016,6 +45898,7 @@ func awsRestjson1_deserializeDocumentTtmlDestinationSettings(v **types.TtmlDesti } sv.StyleControl = types.TtmlDestinationStyleControl(jtv) } + default: _, _ = key, value @@ -44051,6 +45934,7 @@ func awsRestjson1_deserializeDocumentUdpContainerSettings(v **types.UdpContainer if err := awsRestjson1_deserializeDocumentM2tsSettings(&sv.M2tsSettings, value); err != nil { return err } + default: _, _ = key, value @@ -44090,6 +45974,7 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.InputLossAction = types.InputLossActionForUdpOut(jtv) } + case "timedMetadataId3Frame": if value != nil { jtv, ok := value.(string) @@ -44098,6 +45983,7 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.TimedMetadataId3Frame = types.UdpTimedMetadataId3Frame(jtv) } + case "timedMetadataId3Period": if value != nil { jtv, ok := value.(json.Number) @@ -44110,6 +45996,7 @@ func awsRestjson1_deserializeDocumentUdpGroupSettings(v **types.UdpGroupSettings } sv.TimedMetadataId3Period = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44153,18 +46040,22 @@ func awsRestjson1_deserializeDocumentUdpOutputSettings(v **types.UdpOutputSettin } sv.BufferMsec = ptr.Int32(int32(i64)) } + case "containerSettings": if err := awsRestjson1_deserializeDocumentUdpContainerSettings(&sv.ContainerSettings, value); err != nil { return err } + case "destination": if err := awsRestjson1_deserializeDocumentOutputLocationRef(&sv.Destination, value); err != nil { return err } + case "fecOutputSettings": if err := awsRestjson1_deserializeDocumentFecOutputSettings(&sv.FecOutputSettings, value); err != nil { return err } + default: _, _ = key, value @@ -44204,10 +46095,12 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + case "validationErrors": if err := awsRestjson1_deserializeDocument__listOfValidationError(&sv.ValidationErrors, value); err != nil { return err } + default: _, _ = key, value @@ -44247,6 +46140,7 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ElementPath = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -44255,6 +46149,7 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -44319,6 +46214,7 @@ func awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(v **types.VideoB } } + case "videoBlackThresholdMsec": if value != nil { jtv, ok := value.(json.Number) @@ -44331,6 +46227,7 @@ func awsRestjson1_deserializeDocumentVideoBlackFailoverSettings(v **types.VideoB } sv.VideoBlackThresholdMsec = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44366,22 +46263,27 @@ func awsRestjson1_deserializeDocumentVideoCodecSettings(v **types.VideoCodecSett if err := awsRestjson1_deserializeDocumentAv1Settings(&sv.Av1Settings, value); err != nil { return err } + case "frameCaptureSettings": if err := awsRestjson1_deserializeDocumentFrameCaptureSettings(&sv.FrameCaptureSettings, value); err != nil { return err } + case "h264Settings": if err := awsRestjson1_deserializeDocumentH264Settings(&sv.H264Settings, value); err != nil { return err } + case "h265Settings": if err := awsRestjson1_deserializeDocumentH265Settings(&sv.H265Settings, value); err != nil { return err } + case "mpeg2Settings": if err := awsRestjson1_deserializeDocumentMpeg2Settings(&sv.Mpeg2Settings, value); err != nil { return err } + default: _, _ = key, value @@ -44417,6 +46319,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription if err := awsRestjson1_deserializeDocumentVideoCodecSettings(&sv.CodecSettings, value); err != nil { return err } + case "height": if value != nil { jtv, ok := value.(json.Number) @@ -44429,6 +46332,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Height = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -44437,6 +46341,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Name = ptr.String(jtv) } + case "respondToAfd": if value != nil { jtv, ok := value.(string) @@ -44445,6 +46350,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.RespondToAfd = types.VideoDescriptionRespondToAfd(jtv) } + case "scalingBehavior": if value != nil { jtv, ok := value.(string) @@ -44453,6 +46359,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.ScalingBehavior = types.VideoDescriptionScalingBehavior(jtv) } + case "sharpness": if value != nil { jtv, ok := value.(json.Number) @@ -44465,6 +46372,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Sharpness = ptr.Int32(int32(i64)) } + case "width": if value != nil { jtv, ok := value.(json.Number) @@ -44477,6 +46385,7 @@ func awsRestjson1_deserializeDocumentVideoDescription(v **types.VideoDescription } sv.Width = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44516,10 +46425,12 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpace = types.VideoSelectorColorSpace(jtv) } + case "colorSpaceSettings": if err := awsRestjson1_deserializeDocumentVideoSelectorColorSpaceSettings(&sv.ColorSpaceSettings, value); err != nil { return err } + case "colorSpaceUsage": if value != nil { jtv, ok := value.(string) @@ -44528,10 +46439,12 @@ func awsRestjson1_deserializeDocumentVideoSelector(v **types.VideoSelector, valu } sv.ColorSpaceUsage = types.VideoSelectorColorSpaceUsage(jtv) } + case "selectorSettings": if err := awsRestjson1_deserializeDocumentVideoSelectorSettings(&sv.SelectorSettings, value); err != nil { return err } + default: _, _ = key, value @@ -44567,6 +46480,7 @@ func awsRestjson1_deserializeDocumentVideoSelectorColorSpaceSettings(v **types.V if err := awsRestjson1_deserializeDocumentHdr10Settings(&sv.Hdr10Settings, value); err != nil { return err } + default: _, _ = key, value @@ -44610,6 +46524,7 @@ func awsRestjson1_deserializeDocumentVideoSelectorPid(v **types.VideoSelectorPid } sv.Pid = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44653,6 +46568,7 @@ func awsRestjson1_deserializeDocumentVideoSelectorProgramId(v **types.VideoSelec } sv.ProgramId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44688,10 +46604,12 @@ func awsRestjson1_deserializeDocumentVideoSelectorSettings(v **types.VideoSelect if err := awsRestjson1_deserializeDocumentVideoSelectorPid(&sv.VideoSelectorPid, value); err != nil { return err } + case "videoSelectorProgramId": if err := awsRestjson1_deserializeDocumentVideoSelectorProgramId(&sv.VideoSelectorProgramId, value); err != nil { return err } + default: _, _ = key, value @@ -44727,18 +46645,22 @@ func awsRestjson1_deserializeDocumentVpcOutputSettingsDescription(v **types.VpcO if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AvailabilityZones, value); err != nil { return err } + case "networkInterfaceIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.NetworkInterfaceIds, value); err != nil { return err } + case "securityGroupIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -44803,6 +46725,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } } + case "codingMode": if value != nil { jtv, ok := value.(string) @@ -44811,6 +46734,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } sv.CodingMode = types.WavCodingMode(jtv) } + case "sampleRate": if value != nil { switch jtv := value.(type) { @@ -44844,6 +46768,7 @@ func awsRestjson1_deserializeDocumentWavSettings(v **types.WavSettings, value in } } + default: _, _ = key, value @@ -44883,6 +46808,7 @@ func awsRestjson1_deserializeDocumentWebvttDestinationSettings(v **types.WebvttD } sv.StyleControl = types.WebvttDestinationStyleControl(jtv) } + default: _, _ = key, value diff --git a/service/mediapackage/deserializers.go b/service/mediapackage/deserializers.go index 1b278e5cdb5..8949bca8b0e 100644 --- a/service/mediapackage/deserializers.go +++ b/service/mediapackage/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -199,6 +200,7 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -207,14 +209,17 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -223,14 +228,17 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -401,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -409,6 +418,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -417,14 +427,17 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -433,14 +446,17 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -611,6 +627,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Arn = ptr.String(jtv) } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -619,6 +636,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -627,6 +645,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.CreatedAt = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -635,6 +654,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.EndTime = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -643,6 +663,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Id = ptr.String(jtv) } + case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -651,10 +672,12 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.OriginEndpointId = ptr.String(jtv) } + case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -663,6 +686,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -671,6 +695,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -841,10 +866,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -853,10 +880,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelId = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -865,10 +894,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -877,10 +908,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Description = ptr.String(jtv) } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -889,6 +922,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Id = ptr.String(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -897,10 +931,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ManifestName = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "origination": if value != nil { jtv, ok := value.(string) @@ -909,6 +945,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Origination = types.Origination(jtv) } + case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -921,10 +958,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -937,6 +976,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } + case "url": if value != nil { jtv, ok := value.(string) @@ -945,10 +985,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Url = ptr.String(jtv) } + case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } + default: _, _ = key, value @@ -1325,6 +1367,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1333,6 +1376,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1341,14 +1385,17 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1357,14 +1404,17 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1535,6 +1585,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Arn = ptr.String(jtv) } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -1543,6 +1594,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.ChannelId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1551,6 +1603,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.CreatedAt = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -1559,6 +1612,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.EndTime = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1567,6 +1621,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Id = ptr.String(jtv) } + case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -1575,10 +1630,12 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.OriginEndpointId = ptr.String(jtv) } + case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -1587,6 +1644,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1595,6 +1653,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHarvestJobOutput(v **DescribeHarv } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -1765,10 +1824,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -1777,10 +1838,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.ChannelId = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1789,10 +1852,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -1801,10 +1866,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Description = ptr.String(jtv) } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1813,6 +1880,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Id = ptr.String(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -1821,10 +1889,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.ManifestName = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "origination": if value != nil { jtv, ok := value.(string) @@ -1833,6 +1903,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Origination = types.Origination(jtv) } + case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1845,10 +1916,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1861,6 +1934,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } + case "url": if value != nil { jtv, ok := value.(string) @@ -1869,10 +1943,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOriginEndpointOutput(v **Describe } sv.Url = ptr.String(jtv) } + case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } + default: _, _ = key, value @@ -2039,6 +2115,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannel(&sv.Channels, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2047,6 +2124,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2213,6 +2291,7 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs if err := awsRestjson1_deserializeDocument__listOfHarvestJob(&sv.HarvestJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2221,6 +2300,7 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2391,10 +2471,12 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE } sv.NextToken = ptr.String(jtv) } + case "originEndpoints": if err := awsRestjson1_deserializeDocument__listOfOriginEndpoint(&sv.OriginEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -2543,6 +2625,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2713,6 +2796,7 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2721,6 +2805,7 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2729,14 +2814,17 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2745,14 +2833,17 @@ func awsRestjson1_deserializeOpDocumentRotateChannelCredentialsOutput(v **Rotate } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2923,6 +3014,7 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2931,6 +3023,7 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2939,14 +3032,17 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2955,14 +3051,17 @@ func awsRestjson1_deserializeOpDocumentRotateIngestEndpointCredentialsOutput(v * } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3315,6 +3414,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3323,6 +3423,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3331,14 +3432,17 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3347,14 +3451,17 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3525,10 +3632,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -3537,10 +3646,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelId = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3549,10 +3660,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -3561,10 +3674,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Description = ptr.String(jtv) } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3573,6 +3688,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Id = ptr.String(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -3581,10 +3697,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ManifestName = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "origination": if value != nil { jtv, ok := value.(string) @@ -3593,6 +3711,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Origination = types.Origination(jtv) } + case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3605,10 +3724,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3621,6 +3742,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } + case "url": if value != nil { jtv, ok := value.(string) @@ -3629,10 +3751,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Url = ptr.String(jtv) } + case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } + default: _, _ = key, value @@ -4202,6 +4326,7 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.CdnIdentifierSecret = ptr.String(jtv) } + case "secretsRoleArn": if value != nil { jtv, ok := value.(string) @@ -4210,6 +4335,7 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.SecretsRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4249,6 +4375,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4257,6 +4384,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.CreatedAt = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4265,14 +4393,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Description = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "hlsIngest": if err := awsRestjson1_deserializeDocumentHlsIngest(&sv.HlsIngest, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4281,14 +4412,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Id = ptr.String(jtv) } + case "ingressAccessLogs": if err := awsRestjson1_deserializeDocumentIngressAccessLogs(&sv.IngressAccessLogs, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4328,6 +4462,7 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.ConstantInitializationVector = ptr.String(jtv) } + case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -4336,6 +4471,7 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.EncryptionMethod = types.CmafEncryptionMethod(jtv) } + case "keyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4348,10 +4484,12 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4387,10 +4525,12 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in if err := awsRestjson1_deserializeDocumentCmafEncryption(&sv.Encryption, value); err != nil { return err } + case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4403,6 +4543,7 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "segmentPrefix": if value != nil { jtv, ok := value.(string) @@ -4411,10 +4552,12 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentPrefix = ptr.String(jtv) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + default: _, _ = key, value @@ -4458,10 +4601,12 @@ func awsRestjson1_deserializeDocumentDashEncryption(v **types.DashEncryption, va } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4501,14 +4646,17 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } + case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentDashEncryption(&sv.Encryption, value); err != nil { return err } + case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -4517,6 +4665,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } + case "manifestLayout": if value != nil { jtv, ok := value.(string) @@ -4525,6 +4674,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.ManifestLayout = types.ManifestLayout(jtv) } + case "manifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4537,6 +4687,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "minBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4549,6 +4700,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } + case "minUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4561,10 +4713,12 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } + case "periodTriggers": if err := awsRestjson1_deserializeDocument__listOf__PeriodTriggersElement(&sv.PeriodTriggers, value); err != nil { return err } + case "profile": if value != nil { jtv, ok := value.(string) @@ -4573,6 +4727,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.Profile = types.Profile(jtv) } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4585,6 +4740,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "segmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -4593,10 +4749,12 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentTemplateFormat = types.SegmentTemplateFormat(jtv) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + case "suggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4609,6 +4767,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } + case "utcTiming": if value != nil { jtv, ok := value.(string) @@ -4617,6 +4776,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.UtcTiming = types.UtcTiming(jtv) } + case "utcTimingUri": if value != nil { jtv, ok := value.(string) @@ -4625,6 +4785,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.UtcTimingUri = ptr.String(jtv) } + default: _, _ = key, value @@ -4664,6 +4825,7 @@ func awsRestjson1_deserializeDocumentEgressAccessLogs(v **types.EgressAccessLogs } sv.LogGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -4703,6 +4865,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } + case "presetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -4711,6 +4874,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } + default: _, _ = key, value @@ -4750,6 +4914,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4789,6 +4954,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Arn = ptr.String(jtv) } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -4797,6 +4963,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4805,6 +4972,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.CreatedAt = ptr.String(jtv) } + case "endTime": if value != nil { jtv, ok := value.(string) @@ -4813,6 +4981,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.EndTime = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4821,6 +4990,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Id = ptr.String(jtv) } + case "originEndpointId": if value != nil { jtv, ok := value.(string) @@ -4829,10 +4999,12 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.OriginEndpointId = ptr.String(jtv) } + case "s3Destination": if err := awsRestjson1_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -4841,6 +5013,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4849,6 +5022,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -4888,6 +5062,7 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.ConstantInitializationVector = ptr.String(jtv) } + case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -4896,6 +5071,7 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.EncryptionMethod = types.EncryptionMethod(jtv) } + case "keyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4908,6 +5084,7 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } + case "repeatExtXKey": if value != nil { jtv, ok := value.(bool) @@ -4916,10 +5093,12 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.RepeatExtXKey = ptr.Bool(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4955,6 +5134,7 @@ func awsRestjson1_deserializeDocumentHlsIngest(v **types.HlsIngest, value interf if err := awsRestjson1_deserializeDocument__listOfIngestEndpoint(&sv.IngestEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -4994,6 +5174,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdMarkers = types.AdMarkers(jtv) } + case "adsOnDeliveryRestrictions": if value != nil { jtv, ok := value.(string) @@ -5002,10 +5183,12 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } + case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5014,6 +5197,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.Id = ptr.String(jtv) } + case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -5022,6 +5206,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -5030,6 +5215,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ManifestName = ptr.String(jtv) } + case "playlistType": if value != nil { jtv, ok := value.(string) @@ -5038,6 +5224,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.PlaylistType = types.PlaylistType(jtv) } + case "playlistWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5050,6 +5237,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.PlaylistWindowSeconds = ptr.Int32(int32(i64)) } + case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5062,6 +5250,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } + case "url": if value != nil { jtv, ok := value.(string) @@ -5070,6 +5259,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5109,6 +5299,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.AdMarkers = types.AdMarkers(jtv) } + case "adsOnDeliveryRestrictions": if value != nil { jtv, ok := value.(string) @@ -5117,14 +5308,17 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.AdsOnDeliveryRestrictions = types.AdsOnDeliveryRestrictions(jtv) } + case "adTriggers": if err := awsRestjson1_deserializeDocumentAdTriggers(&sv.AdTriggers, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentHlsEncryption(&sv.Encryption, value); err != nil { return err } + case "includeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -5133,6 +5327,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeDvbSubtitles = ptr.Bool(jtv) } + case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -5141,6 +5336,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } + case "playlistType": if value != nil { jtv, ok := value.(string) @@ -5149,6 +5345,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.PlaylistType = types.PlaylistType(jtv) } + case "playlistWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5161,6 +5358,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.PlaylistWindowSeconds = ptr.Int32(int32(i64)) } + case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5173,6 +5371,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5185,10 +5384,12 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + case "useAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -5197,6 +5398,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.UseAudioRenditionGroup = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5236,6 +5438,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Id = ptr.String(jtv) } + case "password": if value != nil { jtv, ok := value.(string) @@ -5244,6 +5447,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Password = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -5252,6 +5456,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Url = ptr.String(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -5260,6 +5465,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -5299,6 +5505,7 @@ func awsRestjson1_deserializeDocumentIngressAccessLogs(v **types.IngressAccessLo } sv.LogGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -5338,6 +5545,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5373,6 +5581,7 @@ func awsRestjson1_deserializeDocumentMssEncryption(v **types.MssEncryption, valu if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -5408,6 +5617,7 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte if err := awsRestjson1_deserializeDocumentMssEncryption(&sv.Encryption, value); err != nil { return err } + case "manifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5420,6 +5630,7 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5432,10 +5643,12 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + default: _, _ = key, value @@ -5475,6 +5688,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5514,10 +5728,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -5526,10 +5742,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.ChannelId = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5538,10 +5756,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5550,10 +5770,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Description = ptr.String(jtv) } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5562,6 +5784,7 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Id = ptr.String(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -5570,10 +5793,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.ManifestName = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "origination": if value != nil { jtv, ok := value.(string) @@ -5582,6 +5807,7 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Origination = types.Origination(jtv) } + case "startoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5594,10 +5820,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "timeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5610,6 +5838,7 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } + case "url": if value != nil { jtv, ok := value.(string) @@ -5618,10 +5847,12 @@ func awsRestjson1_deserializeDocumentOriginEndpoint(v **types.OriginEndpoint, va } sv.Url = ptr.String(jtv) } + case "whitelist": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Whitelist, value); err != nil { return err } + default: _, _ = key, value @@ -5661,6 +5892,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.BucketName = ptr.String(jtv) } + case "manifestKey": if value != nil { jtv, ok := value.(string) @@ -5669,6 +5901,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.ManifestKey = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5677,6 +5910,7 @@ func awsRestjson1_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5716,6 +5950,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5755,10 +5990,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.CertificateArn = ptr.String(jtv) } + case "encryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5767,6 +6004,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5775,10 +6013,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } + case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SystemIds, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -5787,6 +6027,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -5830,6 +6071,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MaxVideoBitsPerSecond = ptr.Int32(int32(i64)) } + case "minVideoBitsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -5842,6 +6084,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MinVideoBitsPerSecond = ptr.Int32(int32(i64)) } + case "streamOrder": if value != nil { jtv, ok := value.(string) @@ -5850,6 +6093,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.StreamOrder = types.StreamOrder(jtv) } + default: _, _ = key, value @@ -5925,6 +6169,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5964,6 +6209,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mediapackagev2/deserializers.go b/service/mediapackagev2/deserializers.go index bbdc6b1d971..280a8794a9c 100644 --- a/service/mediapackagev2/deserializers.go +++ b/service/mediapackagev2/deserializers.go @@ -298,6 +298,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -306,6 +307,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -314,6 +316,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -329,6 +332,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -337,6 +341,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -345,10 +350,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ETag = ptr.String(jtv) } + case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } + case "InputType": if value != nil { jtv, ok := value.(string) @@ -357,6 +364,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.InputType = types.InputType(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -372,10 +380,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -549,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -557,6 +568,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.ChannelGroupName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -572,6 +584,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -580,6 +593,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.Description = ptr.String(jtv) } + case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -588,6 +602,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.EgressDomain = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -596,6 +611,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } sv.ETag = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -611,10 +627,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelGroupOutput(v **CreateChanne } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -788,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -796,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -804,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -819,6 +840,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -827,10 +849,12 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Description = ptr.String(jtv) } + case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -839,6 +863,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ErrorMessage = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -847,10 +872,12 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.ETag = ptr.String(jtv) } + case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } + case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -859,6 +886,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.HarvestJobName = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -874,6 +902,7 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -882,10 +911,12 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.OriginEndpointName = ptr.String(jtv) } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -894,10 +925,12 @@ func awsRestjson1_deserializeOpDocumentCreateHarvestJobOutput(v **CreateHarvestJ } sv.Status = types.HarvestJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1071,6 +1104,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -1079,6 +1113,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1087,6 +1122,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ChannelName = ptr.String(jtv) } + case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -1095,6 +1131,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ContainerType = types.ContainerType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -1110,10 +1147,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } } + case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1122,6 +1161,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -1130,18 +1170,22 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.ETag = ptr.String(jtv) } + case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } + case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } + case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -1157,6 +1201,7 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -1165,10 +1210,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.OriginEndpointName = ptr.String(jtv) } + case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } + case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1181,10 +1228,12 @@ func awsRestjson1_deserializeOpDocumentCreateOriginEndpointOutput(v **CreateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1849,6 +1898,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -1857,6 +1907,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1865,6 +1916,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -1880,6 +1932,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1888,6 +1941,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -1896,10 +1950,12 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.ETag = ptr.String(jtv) } + case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } + case "InputType": if value != nil { jtv, ok := value.(string) @@ -1908,6 +1964,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } sv.InputType = types.InputType(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -1923,10 +1980,12 @@ func awsRestjson1_deserializeOpDocumentGetChannelOutput(v **GetChannelOutput, va } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2094,6 +2153,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2102,6 +2162,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.ChannelGroupName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2117,6 +2178,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2125,6 +2187,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.Description = ptr.String(jtv) } + case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -2133,6 +2196,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.EgressDomain = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -2141,6 +2205,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } sv.ETag = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2156,10 +2221,12 @@ func awsRestjson1_deserializeOpDocumentGetChannelGroupOutput(v **GetChannelGroup } } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2327,6 +2394,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2335,6 +2403,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.ChannelName = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -2343,6 +2412,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -2510,6 +2580,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2518,6 +2589,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2526,6 +2598,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2541,6 +2614,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2549,10 +2623,12 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Description = ptr.String(jtv) } + case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2561,6 +2637,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ErrorMessage = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -2569,10 +2646,12 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.ETag = ptr.String(jtv) } + case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } + case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -2581,6 +2660,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.HarvestJobName = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2596,6 +2676,7 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -2604,10 +2685,12 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.OriginEndpointName = ptr.String(jtv) } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2616,10 +2699,12 @@ func awsRestjson1_deserializeOpDocumentGetHarvestJobOutput(v **GetHarvestJobOutp } sv.Status = types.HarvestJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2787,6 +2872,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -2795,6 +2881,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2803,6 +2890,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ChannelName = ptr.String(jtv) } + case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -2811,6 +2899,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ContainerType = types.ContainerType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2826,10 +2915,12 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } } + case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2838,6 +2929,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -2846,18 +2938,22 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.ETag = ptr.String(jtv) } + case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } + case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } + case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -2873,6 +2969,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -2881,10 +2978,12 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.OriginEndpointName = ptr.String(jtv) } + case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } + case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2897,10 +2996,12 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointOutput(v **GetOriginEndp } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3068,6 +3169,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -3076,6 +3178,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.ChannelName = ptr.String(jtv) } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -3084,6 +3187,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.OriginEndpointName = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -3092,6 +3196,7 @@ func awsRestjson1_deserializeOpDocumentGetOriginEndpointPolicyOutput(v **GetOrig } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -3252,6 +3357,7 @@ func awsRestjson1_deserializeOpDocumentListChannelGroupsOutput(v **ListChannelGr if err := awsRestjson1_deserializeDocumentChannelGroupsList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3260,6 +3366,7 @@ func awsRestjson1_deserializeOpDocumentListChannelGroupsOutput(v **ListChannelGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3423,6 +3530,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocumentChannelList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3431,6 +3539,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3594,6 +3703,7 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs if err := awsRestjson1_deserializeDocumentHarvestJobsList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3602,6 +3712,7 @@ func awsRestjson1_deserializeOpDocumentListHarvestJobsOutput(v **ListHarvestJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3765,6 +3876,7 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE if err := awsRestjson1_deserializeDocumentOriginEndpointsList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3773,6 +3885,7 @@ func awsRestjson1_deserializeOpDocumentListOriginEndpointsOutput(v **ListOriginE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3924,6 +4037,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4488,6 +4602,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -4496,6 +4611,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -4504,6 +4620,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4519,6 +4636,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4527,6 +4645,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -4535,10 +4654,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ETag = ptr.String(jtv) } + case "IngestEndpoints": if err := awsRestjson1_deserializeDocumentIngestEndpointList(&sv.IngestEndpoints, value); err != nil { return err } + case "InputType": if value != nil { jtv, ok := value.(string) @@ -4547,6 +4668,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.InputType = types.InputType(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -4562,10 +4684,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4736,6 +4860,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -4744,6 +4869,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.ChannelGroupName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4759,6 +4885,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4767,6 +4894,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.Description = ptr.String(jtv) } + case "EgressDomain": if value != nil { jtv, ok := value.(string) @@ -4775,6 +4903,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.EgressDomain = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -4783,6 +4912,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } sv.ETag = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -4798,10 +4928,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelGroupOutput(v **UpdateChanne } } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4975,6 +5107,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -4983,6 +5116,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -4991,6 +5125,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ChannelName = ptr.String(jtv) } + case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -4999,6 +5134,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ContainerType = types.ContainerType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5014,10 +5150,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } } + case "DashManifests": if err := awsRestjson1_deserializeDocumentGetDashManifests(&sv.DashManifests, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5026,6 +5164,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.Description = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -5034,18 +5173,22 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.ETag = ptr.String(jtv) } + case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } + case "HlsManifests": if err := awsRestjson1_deserializeDocumentGetHlsManifests(&sv.HlsManifests, value); err != nil { return err } + case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentGetLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5061,6 +5204,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -5069,10 +5213,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.OriginEndpointName = ptr.String(jtv) } + case "Segment": if err := awsRestjson1_deserializeDocumentSegment(&sv.Segment, value); err != nil { return err } + case "StartoverWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5085,10 +5231,12 @@ func awsRestjson1_deserializeOpDocumentUpdateOriginEndpointOutput(v **UpdateOrig } sv.StartoverWindowSeconds = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5380,6 +5528,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5419,6 +5568,7 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -5427,6 +5577,7 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.ChannelGroupName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5442,6 +5593,7 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5450,6 +5602,7 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } sv.Description = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5465,6 +5618,7 @@ func awsRestjson1_deserializeDocumentChannelGroupListConfiguration(v **types.Cha } } + default: _, _ = key, value @@ -5572,6 +5726,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -5580,6 +5735,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -5588,6 +5744,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -5603,6 +5760,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5611,6 +5769,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.Description = ptr.String(jtv) } + case "InputType": if value != nil { jtv, ok := value.(string) @@ -5619,6 +5778,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } sv.InputType = types.InputType(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -5634,6 +5794,7 @@ func awsRestjson1_deserializeDocumentChannelListConfiguration(v **types.ChannelL } } + default: _, _ = key, value @@ -5673,6 +5834,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictExceptionType = types.ConflictExceptionType(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5681,6 +5843,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5756,6 +5919,7 @@ func awsRestjson1_deserializeDocumentDashUtcTiming(v **types.DashUtcTiming, valu } sv.TimingMode = types.DashUtcTimingMode(jtv) } + case "TimingSource": if value != nil { jtv, ok := value.(string) @@ -5764,6 +5928,7 @@ func awsRestjson1_deserializeDocumentDashUtcTiming(v **types.DashUtcTiming, valu } sv.TimingSource = ptr.String(jtv) } + default: _, _ = key, value @@ -5799,6 +5964,7 @@ func awsRestjson1_deserializeDocumentDestination(v **types.Destination, value in if err := awsRestjson1_deserializeDocumentS3DestinationConfig(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -5874,10 +6040,12 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.ConstantInitializationVector = ptr.String(jtv) } + case "EncryptionMethod": if err := awsRestjson1_deserializeDocumentEncryptionMethod(&sv.EncryptionMethod, value); err != nil { return err } + case "KeyRotationIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5890,10 +6058,12 @@ func awsRestjson1_deserializeDocumentEncryption(v **types.Encryption, value inte } sv.KeyRotationIntervalSeconds = ptr.Int32(int32(i64)) } + case "SpekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -5933,6 +6103,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } + case "PresetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -5941,6 +6112,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } + default: _, _ = key, value @@ -5980,6 +6152,7 @@ func awsRestjson1_deserializeDocumentEncryptionMethod(v **types.EncryptionMethod } sv.CmafEncryptionMethod = types.CmafEncryptionMethod(jtv) } + case "TsEncryptionMethod": if value != nil { jtv, ok := value.(string) @@ -5988,6 +6161,7 @@ func awsRestjson1_deserializeDocumentEncryptionMethod(v **types.EncryptionMethod } sv.TsEncryptionMethod = types.TsEncryptionMethod(jtv) } + default: _, _ = key, value @@ -6070,6 +6244,7 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } + case "End": if value != nil { switch jtv := value.(type) { @@ -6085,6 +6260,7 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } + case "ManifestFilter": if value != nil { jtv, ok := value.(string) @@ -6093,6 +6269,7 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } sv.ManifestFilter = ptr.String(jtv) } + case "Start": if value != nil { switch jtv := value.(type) { @@ -6108,6 +6285,7 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } } + case "TimeDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6120,6 +6298,7 @@ func awsRestjson1_deserializeDocumentFilterConfiguration(v **types.FilterConfigu } sv.TimeDelaySeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6155,6 +6334,7 @@ func awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(v **types.F if err := awsRestjson1_deserializeDocumentEndpointErrorConditions(&sv.EndpointErrorConditions, value); err != nil { return err } + default: _, _ = key, value @@ -6194,10 +6374,12 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.DrmSignaling = types.DashDrmSignaling(jtv) } + case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6206,6 +6388,7 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.ManifestName = ptr.String(jtv) } + case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6218,6 +6401,7 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "MinBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6230,6 +6414,7 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } + case "MinUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6242,14 +6427,17 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } + case "PeriodTriggers": if err := awsRestjson1_deserializeDocumentDashPeriodTriggers(&sv.PeriodTriggers, value); err != nil { return err } + case "ScteDash": if err := awsRestjson1_deserializeDocumentScteDash(&sv.ScteDash, value); err != nil { return err } + case "SegmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6446,7 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.SegmentTemplateFormat = types.DashSegmentTemplateFormat(jtv) } + case "SuggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6270,6 +6459,7 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -6278,10 +6468,12 @@ func awsRestjson1_deserializeDocumentGetDashManifestConfiguration(v **types.GetD } sv.Url = ptr.String(jtv) } + case "UtcTiming": if err := awsRestjson1_deserializeDocumentDashUtcTiming(&sv.UtcTiming, value); err != nil { return err } + default: _, _ = key, value @@ -6355,10 +6547,12 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ChildManifestName = ptr.String(jtv) } + case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6367,6 +6561,7 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ManifestName = ptr.String(jtv) } + case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6379,6 +6574,7 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "ProgramDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6391,14 +6587,17 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } + case "ScteHls": if err := awsRestjson1_deserializeDocumentScteHls(&sv.ScteHls, value); err != nil { return err } + case "StartTag": if err := awsRestjson1_deserializeDocumentStartTag(&sv.StartTag, value); err != nil { return err } + case "Url": if value != nil { jtv, ok := value.(string) @@ -6407,6 +6606,7 @@ func awsRestjson1_deserializeDocumentGetHlsManifestConfiguration(v **types.GetHl } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -6480,10 +6680,12 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ChildManifestName = ptr.String(jtv) } + case "FilterConfiguration": if err := awsRestjson1_deserializeDocumentFilterConfiguration(&sv.FilterConfiguration, value); err != nil { return err } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -6492,6 +6694,7 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ManifestName = ptr.String(jtv) } + case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6504,6 +6707,7 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "ProgramDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6516,14 +6720,17 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } + case "ScteHls": if err := awsRestjson1_deserializeDocumentScteHls(&sv.ScteHls, value); err != nil { return err } + case "StartTag": if err := awsRestjson1_deserializeDocumentStartTag(&sv.StartTag, value); err != nil { return err } + case "Url": if value != nil { jtv, ok := value.(string) @@ -6532,6 +6739,7 @@ func awsRestjson1_deserializeDocumentGetLowLatencyHlsManifestConfiguration(v **t } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -6605,6 +6813,7 @@ func awsRestjson1_deserializeDocumentHarvestedDashManifest(v **types.HarvestedDa } sv.ManifestName = ptr.String(jtv) } + default: _, _ = key, value @@ -6678,6 +6887,7 @@ func awsRestjson1_deserializeDocumentHarvestedHlsManifest(v **types.HarvestedHls } sv.ManifestName = ptr.String(jtv) } + default: _, _ = key, value @@ -6751,6 +6961,7 @@ func awsRestjson1_deserializeDocumentHarvestedLowLatencyHlsManifest(v **types.Ha } sv.ManifestName = ptr.String(jtv) } + default: _, _ = key, value @@ -6820,14 +7031,17 @@ func awsRestjson1_deserializeDocumentHarvestedManifests(v **types.HarvestedManif if err := awsRestjson1_deserializeDocumentHarvestedDashManifestsList(&sv.DashManifests, value); err != nil { return err } + case "HlsManifests": if err := awsRestjson1_deserializeDocumentHarvestedHlsManifestsList(&sv.HlsManifests, value); err != nil { return err } + case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentHarvestedLowLatencyHlsManifestsList(&sv.LowLatencyHlsManifests, value); err != nil { return err } + default: _, _ = key, value @@ -6874,6 +7088,7 @@ func awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(v **types.Ha } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6889,6 +7104,7 @@ func awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(v **types.Ha } } + default: _, _ = key, value @@ -6928,6 +7144,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -6936,6 +7153,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6944,6 +7162,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ChannelName = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6959,6 +7178,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6967,10 +7187,12 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Description = ptr.String(jtv) } + case "Destination": if err := awsRestjson1_deserializeDocumentDestination(&sv.Destination, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -6979,6 +7201,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ErrorMessage = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -6987,10 +7210,12 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.ETag = ptr.String(jtv) } + case "HarvestedManifests": if err := awsRestjson1_deserializeDocumentHarvestedManifests(&sv.HarvestedManifests, value); err != nil { return err } + case "HarvestJobName": if value != nil { jtv, ok := value.(string) @@ -6999,6 +7224,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.HarvestJobName = ptr.String(jtv) } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -7014,6 +7240,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -7022,10 +7249,12 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.OriginEndpointName = ptr.String(jtv) } + case "ScheduleConfiguration": if err := awsRestjson1_deserializeDocumentHarvesterScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7034,6 +7263,7 @@ func awsRestjson1_deserializeDocumentHarvestJob(v **types.HarvestJob, value inte } sv.Status = types.HarvestJobStatus(jtv) } + default: _, _ = key, value @@ -7107,6 +7337,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Id = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7346,7 @@ func awsRestjson1_deserializeDocumentIngestEndpoint(v **types.IngestEndpoint, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7188,6 +7420,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7227,6 +7460,7 @@ func awsRestjson1_deserializeDocumentListDashManifestConfiguration(v **types.Lis } sv.ManifestName = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7235,6 +7469,7 @@ func awsRestjson1_deserializeDocumentListDashManifestConfiguration(v **types.Lis } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7308,6 +7543,7 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.ChildManifestName = ptr.String(jtv) } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -7316,6 +7552,7 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.ManifestName = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7324,6 +7561,7 @@ func awsRestjson1_deserializeDocumentListHlsManifestConfiguration(v **types.List } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7397,6 +7635,7 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.ChildManifestName = ptr.String(jtv) } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -7405,6 +7644,7 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.ManifestName = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7413,6 +7653,7 @@ func awsRestjson1_deserializeDocumentListLowLatencyHlsManifestConfiguration(v ** } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7486,6 +7727,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.Arn = ptr.String(jtv) } + case "ChannelGroupName": if value != nil { jtv, ok := value.(string) @@ -7494,6 +7736,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ChannelGroupName = ptr.String(jtv) } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -7502,6 +7745,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ChannelName = ptr.String(jtv) } + case "ContainerType": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7754,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.ContainerType = types.ContainerType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7525,10 +7770,12 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } } + case "DashManifests": if err := awsRestjson1_deserializeDocumentListDashManifests(&sv.DashManifests, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7537,18 +7784,22 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.Description = ptr.String(jtv) } + case "ForceEndpointErrorConfiguration": if err := awsRestjson1_deserializeDocumentForceEndpointErrorConfiguration(&sv.ForceEndpointErrorConfiguration, value); err != nil { return err } + case "HlsManifests": if err := awsRestjson1_deserializeDocumentListHlsManifests(&sv.HlsManifests, value); err != nil { return err } + case "LowLatencyHlsManifests": if err := awsRestjson1_deserializeDocumentListLowLatencyHlsManifests(&sv.LowLatencyHlsManifests, value); err != nil { return err } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -7564,6 +7815,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } } + case "OriginEndpointName": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7824,7 @@ func awsRestjson1_deserializeDocumentOriginEndpointListConfiguration(v **types.O } sv.OriginEndpointName = ptr.String(jtv) } + default: _, _ = key, value @@ -7645,6 +7898,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceTypeNotFound": if value != nil { jtv, ok := value.(string) @@ -7653,6 +7907,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceTypeNotFound = types.ResourceTypeNotFound(jtv) } + default: _, _ = key, value @@ -7692,6 +7947,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfig(v **types.S3Destination } sv.BucketName = ptr.String(jtv) } + case "DestinationPath": if value != nil { jtv, ok := value.(string) @@ -7700,6 +7956,7 @@ func awsRestjson1_deserializeDocumentS3DestinationConfig(v **types.S3Destination } sv.DestinationPath = ptr.String(jtv) } + default: _, _ = key, value @@ -7735,6 +7992,7 @@ func awsRestjson1_deserializeDocumentScte(v **types.Scte, value interface{}) err if err := awsRestjson1_deserializeDocumentScteFilterList(&sv.ScteFilter, value); err != nil { return err } + default: _, _ = key, value @@ -7774,6 +8032,7 @@ func awsRestjson1_deserializeDocumentScteDash(v **types.ScteDash, value interfac } sv.AdMarkerDash = types.AdMarkerDash(jtv) } + default: _, _ = key, value @@ -7849,6 +8108,7 @@ func awsRestjson1_deserializeDocumentScteHls(v **types.ScteHls, value interface{ } sv.AdMarkerHls = types.AdMarkerHls(jtv) } + default: _, _ = key, value @@ -7884,6 +8144,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ if err := awsRestjson1_deserializeDocumentEncryption(&sv.Encryption, value); err != nil { return err } + case "IncludeIframeOnlyStreams": if value != nil { jtv, ok := value.(bool) @@ -7892,10 +8153,12 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.IncludeIframeOnlyStreams = ptr.Bool(jtv) } + case "Scte": if err := awsRestjson1_deserializeDocumentScte(&sv.Scte, value); err != nil { return err } + case "SegmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7908,6 +8171,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -7916,6 +8180,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.SegmentName = ptr.String(jtv) } + case "TsIncludeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -7924,6 +8189,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.TsIncludeDvbSubtitles = ptr.Bool(jtv) } + case "TsUseAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -7932,6 +8198,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.TsUseAudioRenditionGroup = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7971,6 +8238,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8006,10 +8274,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider if err := awsRestjson1_deserializeDocumentDrmSystems(&sv.DrmSystems, value); err != nil { return err } + case "EncryptionContractConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -8018,6 +8288,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.ResourceId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8026,6 +8297,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -8034,6 +8306,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -8073,6 +8346,7 @@ func awsRestjson1_deserializeDocumentStartTag(v **types.StartTag, value interfac } sv.Precise = ptr.Bool(jtv) } + case "TimeOffset": if value != nil { switch jtv := value.(type) { @@ -8106,6 +8380,7 @@ func awsRestjson1_deserializeDocumentStartTag(v **types.StartTag, value interfac } } + default: _, _ = key, value @@ -8181,6 +8456,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8220,6 +8496,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "ValidationExceptionType": if value != nil { jtv, ok := value.(string) @@ -8228,6 +8505,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ValidationExceptionType = types.ValidationExceptionType(jtv) } + default: _, _ = key, value diff --git a/service/mediapackagevod/deserializers.go b/service/mediapackagevod/deserializers.go index 6b6d40c5236..07248aa98a3 100644 --- a/service/mediapackagevod/deserializers.go +++ b/service/mediapackagevod/deserializers.go @@ -191,10 +191,12 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -203,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.CreatedAt = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -211,10 +214,12 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.DomainName = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -223,10 +228,12 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsOutput(v **ConfigureLogsOutp } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -397,6 +404,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -405,10 +413,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.CreatedAt = ptr.String(jtv) } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -417,6 +427,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.Id = ptr.String(jtv) } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -425,6 +436,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.PackagingGroupId = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -433,6 +445,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.ResourceId = ptr.String(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -441,6 +454,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.SourceArn = ptr.String(jtv) } + case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -449,10 +463,12 @@ func awsRestjson1_deserializeOpDocumentCreateAssetOutput(v **CreateAssetOutput, } sv.SourceRoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -623,10 +639,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.Arn = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -635,14 +653,17 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -651,10 +672,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.Id = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -663,10 +686,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingConfigurationOutput(v **Cr } sv.PackagingGroupId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -837,10 +862,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -849,6 +876,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.CreatedAt = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -857,10 +885,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.DomainName = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -869,10 +899,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackagingGroupOutput(v **CreatePack } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1352,6 +1384,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1360,10 +1393,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.CreatedAt = ptr.String(jtv) } + case "egressEndpoints": if err := awsRestjson1_deserializeDocument__listOfEgressEndpoint(&sv.EgressEndpoints, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1372,6 +1407,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.Id = ptr.String(jtv) } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -1380,6 +1416,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.PackagingGroupId = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1388,6 +1425,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.ResourceId = ptr.String(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -1396,6 +1434,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.SourceArn = ptr.String(jtv) } + case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -1404,10 +1443,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } sv.SourceRoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1578,10 +1619,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.Arn = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1590,14 +1633,17 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1606,10 +1652,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.Id = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -1618,10 +1666,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingConfigurationOutput(v ** } sv.PackagingGroupId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1796,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1804,10 +1855,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1816,6 +1869,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.CreatedAt = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -1824,10 +1878,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.DomainName = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1836,10 +1892,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagingGroupOutput(v **Describe } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2006,6 +2064,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocument__listOfAssetShallow(&sv.Assets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2014,6 +2073,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2184,10 +2244,12 @@ func awsRestjson1_deserializeOpDocumentListPackagingConfigurationsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "packagingConfigurations": if err := awsRestjson1_deserializeDocument__listOfPackagingConfiguration(&sv.PackagingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -2358,10 +2420,12 @@ func awsRestjson1_deserializeOpDocumentListPackagingGroupsOutput(v **ListPackagi } sv.NextToken = ptr.String(jtv) } + case "packagingGroups": if err := awsRestjson1_deserializeDocument__listOfPackagingGroup(&sv.PackagingGroups, value); err != nil { return err } + default: _, _ = key, value @@ -2510,6 +2574,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2866,6 +2931,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2874,10 +2940,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2886,6 +2954,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.CreatedAt = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -2894,10 +2963,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.DomainName = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2906,10 +2977,12 @@ func awsRestjson1_deserializeOpDocumentUpdatePackagingGroupOutput(v **UpdatePack } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3511,6 +3584,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3519,6 +3593,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.CreatedAt = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3527,6 +3602,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.Id = ptr.String(jtv) } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -3535,6 +3611,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.PackagingGroupId = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3543,6 +3620,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.ResourceId = ptr.String(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -3551,6 +3629,7 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.SourceArn = ptr.String(jtv) } + case "sourceRoleArn": if value != nil { jtv, ok := value.(string) @@ -3559,10 +3638,12 @@ func awsRestjson1_deserializeDocumentAssetShallow(v **types.AssetShallow, value } sv.SourceRoleArn = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3602,6 +3683,7 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.CdnIdentifierSecret = ptr.String(jtv) } + case "secretsRoleArn": if value != nil { jtv, ok := value.(string) @@ -3610,6 +3692,7 @@ func awsRestjson1_deserializeDocumentAuthorization(v **types.Authorization, valu } sv.SecretsRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3649,10 +3732,12 @@ func awsRestjson1_deserializeDocumentCmafEncryption(v **types.CmafEncryption, va } sv.ConstantInitializationVector = ptr.String(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -3688,10 +3773,12 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in if err := awsRestjson1_deserializeDocumentCmafEncryption(&sv.Encryption, value); err != nil { return err } + case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } + case "includeEncoderConfigurationInSegments": if value != nil { jtv, ok := value.(bool) @@ -3700,6 +3787,7 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.IncludeEncoderConfigurationInSegments = ptr.Bool(jtv) } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3712,6 +3800,7 @@ func awsRestjson1_deserializeDocumentCmafPackage(v **types.CmafPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3747,6 +3836,7 @@ func awsRestjson1_deserializeDocumentDashEncryption(v **types.DashEncryption, va if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -3786,6 +3876,7 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ManifestLayout = types.ManifestLayout(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -3794,6 +3885,7 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ManifestName = ptr.String(jtv) } + case "minBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3806,6 +3898,7 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } + case "profile": if value != nil { jtv, ok := value.(string) @@ -3814,6 +3907,7 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.Profile = types.Profile(jtv) } + case "scteMarkersSource": if value != nil { jtv, ok := value.(string) @@ -3822,10 +3916,12 @@ func awsRestjson1_deserializeDocumentDashManifest(v **types.DashManifest, value } sv.ScteMarkersSource = types.ScteMarkersSource(jtv) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + default: _, _ = key, value @@ -3861,10 +3957,12 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in if err := awsRestjson1_deserializeDocument__listOfDashManifest(&sv.DashManifests, value); err != nil { return err } + case "encryption": if err := awsRestjson1_deserializeDocumentDashEncryption(&sv.Encryption, value); err != nil { return err } + case "includeEncoderConfigurationInSegments": if value != nil { jtv, ok := value.(bool) @@ -3873,6 +3971,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeEncoderConfigurationInSegments = ptr.Bool(jtv) } + case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -3881,10 +3980,12 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } + case "periodTriggers": if err := awsRestjson1_deserializeDocument__listOf__PeriodTriggersElement(&sv.PeriodTriggers, value); err != nil { return err } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3897,6 +3998,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "segmentTemplateFormat": if value != nil { jtv, ok := value.(string) @@ -3905,6 +4007,7 @@ func awsRestjson1_deserializeDocumentDashPackage(v **types.DashPackage, value in } sv.SegmentTemplateFormat = types.SegmentTemplateFormat(jtv) } + default: _, _ = key, value @@ -3944,6 +4047,7 @@ func awsRestjson1_deserializeDocumentEgressAccessLogs(v **types.EgressAccessLogs } sv.LogGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3983,6 +4087,7 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.PackagingConfigurationId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3991,6 +4096,7 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.Status = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -3999,6 +4105,7 @@ func awsRestjson1_deserializeDocumentEgressEndpoint(v **types.EgressEndpoint, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -4038,6 +4145,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Audio = types.PresetSpeke20Audio(jtv) } + case "presetSpeke20Video": if value != nil { jtv, ok := value.(string) @@ -4046,6 +4154,7 @@ func awsRestjson1_deserializeDocumentEncryptionContractConfiguration(v **types.E } sv.PresetSpeke20Video = types.PresetSpeke20Video(jtv) } + default: _, _ = key, value @@ -4085,6 +4194,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4124,6 +4234,7 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.ConstantInitializationVector = ptr.String(jtv) } + case "encryptionMethod": if value != nil { jtv, ok := value.(string) @@ -4132,10 +4243,12 @@ func awsRestjson1_deserializeDocumentHlsEncryption(v **types.HlsEncryption, valu } sv.EncryptionMethod = types.EncryptionMethod(jtv) } + case "spekeKeyProvider": if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4175,6 +4288,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.AdMarkers = types.AdMarkers(jtv) } + case "includeIframeOnlyStream": if value != nil { jtv, ok := value.(bool) @@ -4183,6 +4297,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.IncludeIframeOnlyStream = ptr.Bool(jtv) } + case "manifestName": if value != nil { jtv, ok := value.(string) @@ -4191,6 +4306,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ManifestName = ptr.String(jtv) } + case "programDateTimeIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4203,6 +4319,7 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.ProgramDateTimeIntervalSeconds = ptr.Int32(int32(i64)) } + case "repeatExtXKey": if value != nil { jtv, ok := value.(bool) @@ -4211,10 +4328,12 @@ func awsRestjson1_deserializeDocumentHlsManifest(v **types.HlsManifest, value in } sv.RepeatExtXKey = ptr.Bool(jtv) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + default: _, _ = key, value @@ -4250,10 +4369,12 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte if err := awsRestjson1_deserializeDocumentHlsEncryption(&sv.Encryption, value); err != nil { return err } + case "hlsManifests": if err := awsRestjson1_deserializeDocument__listOfHlsManifest(&sv.HlsManifests, value); err != nil { return err } + case "includeDvbSubtitles": if value != nil { jtv, ok := value.(bool) @@ -4262,6 +4383,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.IncludeDvbSubtitles = ptr.Bool(jtv) } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4274,6 +4396,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + case "useAudioRenditionGroup": if value != nil { jtv, ok := value.(bool) @@ -4282,6 +4405,7 @@ func awsRestjson1_deserializeDocumentHlsPackage(v **types.HlsPackage, value inte } sv.UseAudioRenditionGroup = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4321,6 +4445,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4356,6 +4481,7 @@ func awsRestjson1_deserializeDocumentMssEncryption(v **types.MssEncryption, valu if err := awsRestjson1_deserializeDocumentSpekeKeyProvider(&sv.SpekeKeyProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4395,10 +4521,12 @@ func awsRestjson1_deserializeDocumentMssManifest(v **types.MssManifest, value in } sv.ManifestName = ptr.String(jtv) } + case "streamSelection": if err := awsRestjson1_deserializeDocumentStreamSelection(&sv.StreamSelection, value); err != nil { return err } + default: _, _ = key, value @@ -4434,10 +4562,12 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte if err := awsRestjson1_deserializeDocumentMssEncryption(&sv.Encryption, value); err != nil { return err } + case "mssManifests": if err := awsRestjson1_deserializeDocument__listOfMssManifest(&sv.MssManifests, value); err != nil { return err } + case "segmentDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4450,6 +4580,7 @@ func awsRestjson1_deserializeDocumentMssPackage(v **types.MssPackage, value inte } sv.SegmentDurationSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4489,6 +4620,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4528,10 +4660,12 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.Arn = ptr.String(jtv) } + case "cmafPackage": if err := awsRestjson1_deserializeDocumentCmafPackage(&sv.CmafPackage, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4540,14 +4674,17 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.CreatedAt = ptr.String(jtv) } + case "dashPackage": if err := awsRestjson1_deserializeDocumentDashPackage(&sv.DashPackage, value); err != nil { return err } + case "hlsPackage": if err := awsRestjson1_deserializeDocumentHlsPackage(&sv.HlsPackage, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4556,10 +4693,12 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.Id = ptr.String(jtv) } + case "mssPackage": if err := awsRestjson1_deserializeDocumentMssPackage(&sv.MssPackage, value); err != nil { return err } + case "packagingGroupId": if value != nil { jtv, ok := value.(string) @@ -4568,10 +4707,12 @@ func awsRestjson1_deserializeDocumentPackagingConfiguration(v **types.PackagingC } sv.PackagingGroupId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4615,6 +4756,7 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.ApproximateAssetCount = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4623,10 +4765,12 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.Arn = ptr.String(jtv) } + case "authorization": if err := awsRestjson1_deserializeDocumentAuthorization(&sv.Authorization, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4635,6 +4779,7 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.CreatedAt = ptr.String(jtv) } + case "domainName": if value != nil { jtv, ok := value.(string) @@ -4643,10 +4788,12 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.DomainName = ptr.String(jtv) } + case "egressAccessLogs": if err := awsRestjson1_deserializeDocumentEgressAccessLogs(&sv.EgressAccessLogs, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4655,10 +4802,12 @@ func awsRestjson1_deserializeDocumentPackagingGroup(v **types.PackagingGroup, va } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4698,6 +4847,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4733,6 +4883,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider if err := awsRestjson1_deserializeDocumentEncryptionContractConfiguration(&sv.EncryptionContractConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4741,10 +4892,12 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.RoleArn = ptr.String(jtv) } + case "systemIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SystemIds, value); err != nil { return err } + case "url": if value != nil { jtv, ok := value.(string) @@ -4753,6 +4906,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -4796,6 +4950,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MaxVideoBitsPerSecond = ptr.Int32(int32(i64)) } + case "minVideoBitsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -4808,6 +4963,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.MinVideoBitsPerSecond = ptr.Int32(int32(i64)) } + case "streamOrder": if value != nil { jtv, ok := value.(string) @@ -4816,6 +4972,7 @@ func awsRestjson1_deserializeDocumentStreamSelection(v **types.StreamSelection, } sv.StreamOrder = types.StreamOrder(jtv) } + default: _, _ = key, value @@ -4891,6 +5048,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4930,6 +5088,7 @@ func awsRestjson1_deserializeDocumentUnprocessableEntityException(v **types.Unpr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mediastore/deserializers.go b/service/mediastore/deserializers.go index 2818fec37a1..23819c243be 100644 --- a/service/mediastore/deserializers.go +++ b/service/mediastore/deserializers.go @@ -2849,6 +2849,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.AccessLoggingEnabled = ptr.Bool(jtv) } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -2857,6 +2858,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.ARN = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2872,6 +2874,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2880,6 +2883,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Endpoint = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2888,6 +2892,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2896,6 +2901,7 @@ func awsAwsjson11_deserializeDocumentContainer(v **types.Container, value interf } sv.Status = types.ContainerStatus(jtv) } + default: _, _ = key, value @@ -2935,6 +2941,7 @@ func awsAwsjson11_deserializeDocumentContainerInUseException(v **types.Container } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3008,6 +3015,7 @@ func awsAwsjson11_deserializeDocumentContainerNotFoundException(v **types.Contai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3081,6 +3089,7 @@ func awsAwsjson11_deserializeDocumentCorsPolicyNotFoundException(v **types.CorsP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3116,18 +3125,22 @@ func awsAwsjson11_deserializeDocumentCorsRule(v **types.CorsRule, value interfac if err := awsAwsjson11_deserializeDocumentAllowedHeaders(&sv.AllowedHeaders, value); err != nil { return err } + case "AllowedMethods": if err := awsAwsjson11_deserializeDocumentAllowedMethods(&sv.AllowedMethods, value); err != nil { return err } + case "AllowedOrigins": if err := awsAwsjson11_deserializeDocumentAllowedOrigins(&sv.AllowedOrigins, value); err != nil { return err } + case "ExposeHeaders": if err := awsAwsjson11_deserializeDocumentExposeHeaders(&sv.ExposeHeaders, value); err != nil { return err } + case "MaxAgeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3140,6 +3153,7 @@ func awsAwsjson11_deserializeDocumentCorsRule(v **types.CorsRule, value interfac } sv.MaxAgeSeconds = int32(i64) } + default: _, _ = key, value @@ -3215,6 +3229,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3254,6 +3269,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3293,10 +3309,12 @@ func awsAwsjson11_deserializeDocumentMetricPolicy(v **types.MetricPolicy, value } sv.ContainerLevelMetrics = types.ContainerLevelMetrics(jtv) } + case "MetricPolicyRules": if err := awsAwsjson11_deserializeDocumentMetricPolicyRules(&sv.MetricPolicyRules, value); err != nil { return err } + default: _, _ = key, value @@ -3336,6 +3354,7 @@ func awsAwsjson11_deserializeDocumentMetricPolicyRule(v **types.MetricPolicyRule } sv.ObjectGroup = ptr.String(jtv) } + case "ObjectGroupName": if value != nil { jtv, ok := value.(string) @@ -3344,6 +3363,7 @@ func awsAwsjson11_deserializeDocumentMetricPolicyRule(v **types.MetricPolicyRule } sv.ObjectGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3417,6 +3437,7 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3456,6 +3477,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3464,6 +3486,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3533,6 +3556,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContainerOutput(v **CreateContainer if err := awsAwsjson11_deserializeDocumentContainer(&sv.Container, value); err != nil { return err } + default: _, _ = key, value @@ -3723,6 +3747,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContainerOutput(v **DescribeConta if err := awsAwsjson11_deserializeDocumentContainer(&sv.Container, value); err != nil { return err } + default: _, _ = key, value @@ -3762,6 +3787,7 @@ func awsAwsjson11_deserializeOpDocumentGetContainerPolicyOutput(v **GetContainer } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -3797,6 +3823,7 @@ func awsAwsjson11_deserializeOpDocumentGetCorsPolicyOutput(v **GetCorsPolicyOutp if err := awsAwsjson11_deserializeDocumentCorsPolicy(&sv.CorsPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -3836,6 +3863,7 @@ func awsAwsjson11_deserializeOpDocumentGetLifecyclePolicyOutput(v **GetLifecycle } sv.LifecyclePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -3871,6 +3899,7 @@ func awsAwsjson11_deserializeOpDocumentGetMetricPolicyOutput(v **GetMetricPolicy if err := awsAwsjson11_deserializeDocumentMetricPolicy(&sv.MetricPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -3906,6 +3935,7 @@ func awsAwsjson11_deserializeOpDocumentListContainersOutput(v **ListContainersOu if err := awsAwsjson11_deserializeDocumentContainerList(&sv.Containers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3914,6 +3944,7 @@ func awsAwsjson11_deserializeOpDocumentListContainersOutput(v **ListContainersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3949,6 +3980,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/mediastoredata/deserializers.go b/service/mediastoredata/deserializers.go index ea0ee236636..88641f18767 100644 --- a/service/mediastoredata/deserializers.go +++ b/service/mediastoredata/deserializers.go @@ -572,6 +572,7 @@ func awsRestjson1_deserializeOpDocumentListItemsOutput(v **ListItemsOutput, valu if err := awsRestjson1_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -580,6 +581,7 @@ func awsRestjson1_deserializeOpDocumentListItemsOutput(v **ListItemsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -738,6 +740,7 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.ContentSHA256 = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -746,6 +749,7 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.ETag = ptr.String(jtv) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -754,6 +758,7 @@ func awsRestjson1_deserializeOpDocumentPutObjectOutput(v **PutObjectOutput, valu } sv.StorageClass = types.StorageClass(jtv) } + default: _, _ = key, value @@ -937,6 +942,7 @@ func awsRestjson1_deserializeDocumentContainerNotFoundException(v **types.Contai } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -976,6 +982,7 @@ func awsRestjson1_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1019,6 +1026,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentLength = ptr.Int64(i64) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -1027,6 +1035,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ContentType = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -1035,6 +1044,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.ETag = ptr.String(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -1050,6 +1060,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1058,6 +1069,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1066,6 +1078,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ItemType(jtv) } + default: _, _ = key, value @@ -1139,6 +1152,7 @@ func awsRestjson1_deserializeDocumentObjectNotFoundException(v **types.ObjectNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1178,6 +1192,7 @@ func awsRestjson1_deserializeDocumentRequestedRangeNotSatisfiableException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mediatailor/deserializers.go b/service/mediatailor/deserializers.go index 110219adc1a..db43238bd98 100644 --- a/service/mediatailor/deserializers.go +++ b/service/mediatailor/deserializers.go @@ -173,10 +173,12 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForChannelOutput(v **Configu } sv.ChannelName = ptr.String(jtv) } + case "LogTypes": if err := awsRestjson1_deserializeDocumentLogTypes(&sv.LogTypes, value); err != nil { return err } + default: _, _ = key, value @@ -333,6 +335,7 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForPlaybackConfigurationOutp } sv.PercentEnabled = int32(i64) } + case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -341,6 +344,7 @@ func awsRestjson1_deserializeOpDocumentConfigureLogsForPlaybackConfigurationOutp } sv.PlaybackConfigurationName = ptr.String(jtv) } + default: _, _ = key, value @@ -493,10 +497,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Arn = ptr.String(jtv) } + case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -505,6 +511,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelName = ptr.String(jtv) } + case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -513,6 +520,7 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.ChannelState = types.ChannelState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -528,10 +536,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } + case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -547,10 +557,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } } + case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } + case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -559,10 +571,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.PlaybackMode = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -571,10 +585,12 @@ func awsRestjson1_deserializeOpDocumentCreateChannelOutput(v **CreateChannelOutp } sv.Tier = ptr.String(jtv) } + case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -727,6 +743,7 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -742,10 +759,12 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -761,6 +780,7 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -769,6 +789,7 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.LiveSourceName = ptr.String(jtv) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -777,10 +798,12 @@ func awsRestjson1_deserializeOpDocumentCreateLiveSourceOutput(v **CreateLiveSour } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -933,10 +956,12 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.Arn = ptr.String(jtv) } + case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -945,6 +970,7 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.Name = ptr.String(jtv) } + case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -953,10 +979,12 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.PlaybackConfigurationName = ptr.String(jtv) } + case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } + case "StreamId": if value != nil { jtv, ok := value.(string) @@ -965,6 +993,7 @@ func awsRestjson1_deserializeOpDocumentCreatePrefetchScheduleOutput(v **CreatePr } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -1113,6 +1142,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1121,10 +1151,12 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.Arn = ptr.String(jtv) } + case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -1133,10 +1165,12 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.ChannelName = ptr.String(jtv) } + case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1152,6 +1186,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1164,6 +1199,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.DurationMillis = ptr.Int64(i64) } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -1172,6 +1208,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.LiveSourceName = ptr.String(jtv) } + case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -1180,6 +1217,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.ProgramName = ptr.String(jtv) } + case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -1195,6 +1233,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1203,6 +1242,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -1211,6 +1251,7 @@ func awsRestjson1_deserializeOpDocumentCreateProgramOutput(v **CreateProgramOutp } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -1359,6 +1400,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1367,6 +1409,7 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1382,14 +1425,17 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } } + case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } + case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1405,10 +1451,12 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } } + case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1417,10 +1465,12 @@ func awsRestjson1_deserializeOpDocumentCreateSourceLocationOutput(v **CreateSour } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1573,6 +1623,7 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1588,10 +1639,12 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1607,6 +1660,7 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -1615,10 +1669,12 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -1627,6 +1683,7 @@ func awsRestjson1_deserializeOpDocumentCreateVodSourceOutput(v **CreateVodSource } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -2459,10 +2516,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Arn = ptr.String(jtv) } + case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2471,6 +2530,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelName = ptr.String(jtv) } + case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -2479,6 +2539,7 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.ChannelState = types.ChannelState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2494,10 +2555,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } } + case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2513,14 +2576,17 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfigurationForChannel(&sv.LogConfiguration, value); err != nil { return err } + case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } + case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -2529,10 +2595,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.PlaybackMode = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -2541,10 +2609,12 @@ func awsRestjson1_deserializeOpDocumentDescribeChannelOutput(v **DescribeChannel } sv.Tier = ptr.String(jtv) } + case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2697,6 +2767,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2712,10 +2783,12 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2731,6 +2804,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -2739,6 +2813,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.LiveSourceName = ptr.String(jtv) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -2747,10 +2822,12 @@ func awsRestjson1_deserializeOpDocumentDescribeLiveSourceOutput(v **DescribeLive } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2899,6 +2976,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2907,10 +2985,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.Arn = ptr.String(jtv) } + case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -2919,10 +2999,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.ChannelName = ptr.String(jtv) } + case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -2938,6 +3020,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -2950,6 +3033,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.DurationMillis = ptr.Int64(i64) } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -2958,6 +3042,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.LiveSourceName = ptr.String(jtv) } + case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -2966,6 +3051,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.ProgramName = ptr.String(jtv) } + case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -2981,6 +3067,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -2989,6 +3076,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -2997,6 +3085,7 @@ func awsRestjson1_deserializeOpDocumentDescribeProgramOutput(v **DescribeProgram } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3145,6 +3234,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3153,6 +3243,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3168,14 +3259,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } } + case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } + case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3191,10 +3285,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } } + case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -3203,10 +3299,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceLocationOutput(v **Describe } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3355,6 +3453,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo if err := awsRestjson1_deserializeDocumentAdBreakOpportunities(&sv.AdBreakOpportunities, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3363,6 +3462,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3378,10 +3478,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3397,6 +3499,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -3405,10 +3508,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -3417,6 +3522,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVodSourceOutput(v **DescribeVodSo } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3569,6 +3675,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelPolicyOutput(v **GetChannelPoli } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -3717,6 +3824,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelScheduleOutput(v **GetChannelSc if err := awsRestjson1_deserializeDocument__listOfScheduleEntry(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3725,6 +3833,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelScheduleOutput(v **GetChannelSc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3877,30 +3986,37 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.AdDecisionServerUrl = ptr.String(jtv) } + case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } + case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } + case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } + case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } + case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } + case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } + case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -3909,18 +4025,22 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.InsertionMode = types.InsertionMode(jtv) } + case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3929,6 +4049,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.Name = ptr.String(jtv) } + case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3941,6 +4062,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } + case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -3949,6 +4071,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PlaybackConfigurationArn = ptr.String(jtv) } + case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -3957,6 +4080,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.PlaybackEndpointPrefix = ptr.String(jtv) } + case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -3965,6 +4089,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } + case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -3973,10 +4098,12 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.SlateAdUrl = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -3985,6 +4112,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.TranscodeProfileName = ptr.String(jtv) } + case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -3993,6 +4121,7 @@ func awsRestjson1_deserializeOpDocumentGetPlaybackConfigurationOutput(v **GetPla } sv.VideoContentSourceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -4145,10 +4274,12 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.Arn = ptr.String(jtv) } + case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4157,6 +4288,7 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.Name = ptr.String(jtv) } + case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -4165,10 +4297,12 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.PlaybackConfigurationName = ptr.String(jtv) } + case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } + case "StreamId": if value != nil { jtv, ok := value.(string) @@ -4177,6 +4311,7 @@ func awsRestjson1_deserializeOpDocumentGetPrefetchScheduleOutput(v **GetPrefetch } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -4325,6 +4460,7 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va if err := awsRestjson1_deserializeDocument__listOfAlert(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4333,6 +4469,7 @@ func awsRestjson1_deserializeOpDocumentListAlertsOutput(v **ListAlertsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4481,6 +4618,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput if err := awsRestjson1_deserializeDocument__listOfChannel(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4489,6 +4627,7 @@ func awsRestjson1_deserializeOpDocumentListChannelsOutput(v **ListChannelsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4637,6 +4776,7 @@ func awsRestjson1_deserializeOpDocumentListLiveSourcesOutput(v **ListLiveSources if err := awsRestjson1_deserializeDocument__listOfLiveSource(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4645,6 +4785,7 @@ func awsRestjson1_deserializeOpDocumentListLiveSourcesOutput(v **ListLiveSources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4793,6 +4934,7 @@ func awsRestjson1_deserializeOpDocumentListPlaybackConfigurationsOutput(v **List if err := awsRestjson1_deserializeDocument__listOfPlaybackConfiguration(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4801,6 +4943,7 @@ func awsRestjson1_deserializeOpDocumentListPlaybackConfigurationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4949,6 +5092,7 @@ func awsRestjson1_deserializeOpDocumentListPrefetchSchedulesOutput(v **ListPrefe if err := awsRestjson1_deserializeDocument__listOfPrefetchSchedule(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4957,6 +5101,7 @@ func awsRestjson1_deserializeOpDocumentListPrefetchSchedulesOutput(v **ListPrefe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5105,6 +5250,7 @@ func awsRestjson1_deserializeOpDocumentListSourceLocationsOutput(v **ListSourceL if err := awsRestjson1_deserializeDocument__listOfSourceLocation(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5113,6 +5259,7 @@ func awsRestjson1_deserializeOpDocumentListSourceLocationsOutput(v **ListSourceL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5264,6 +5411,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5412,6 +5560,7 @@ func awsRestjson1_deserializeOpDocumentListVodSourcesOutput(v **ListVodSourcesOu if err := awsRestjson1_deserializeDocument__listOfVodSource(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5420,6 +5569,7 @@ func awsRestjson1_deserializeOpDocumentListVodSourcesOutput(v **ListVodSourcesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5657,30 +5807,37 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.AdDecisionServerUrl = ptr.String(jtv) } + case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } + case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } + case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } + case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } + case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } + case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } + case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -5689,18 +5846,22 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.InsertionMode = types.InsertionMode(jtv) } + case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5709,6 +5870,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.Name = ptr.String(jtv) } + case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5721,6 +5883,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } + case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5729,6 +5892,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PlaybackConfigurationArn = ptr.String(jtv) } + case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -5737,6 +5901,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.PlaybackEndpointPrefix = ptr.String(jtv) } + case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -5745,6 +5910,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } + case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -5753,10 +5919,12 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.SlateAdUrl = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -5765,6 +5933,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.TranscodeProfileName = ptr.String(jtv) } + case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -5773,6 +5942,7 @@ func awsRestjson1_deserializeOpDocumentPutPlaybackConfigurationOutput(v **PutPla } sv.VideoContentSourceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -6283,10 +6453,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Arn = ptr.String(jtv) } + case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6295,6 +6467,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelName = ptr.String(jtv) } + case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -6303,6 +6476,7 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.ChannelState = types.ChannelState(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6318,10 +6492,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } + case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6337,10 +6513,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } } + case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } + case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -6349,10 +6527,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.PlaybackMode = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -6361,10 +6541,12 @@ func awsRestjson1_deserializeOpDocumentUpdateChannelOutput(v **UpdateChannelOutp } sv.Tier = ptr.String(jtv) } + case "TimeShiftConfiguration": if err := awsRestjson1_deserializeDocumentTimeShiftConfiguration(&sv.TimeShiftConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6517,6 +6699,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6532,10 +6715,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6551,6 +6736,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -6559,6 +6745,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.LiveSourceName = ptr.String(jtv) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -6567,10 +6754,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLiveSourceOutput(v **UpdateLiveSour } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6719,6 +6908,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6727,10 +6917,12 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.Arn = ptr.String(jtv) } + case "AudienceMedia": if err := awsRestjson1_deserializeDocument__listOfAudienceMedia(&sv.AudienceMedia, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -6739,10 +6931,12 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.ChannelName = ptr.String(jtv) } + case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6758,6 +6952,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -6770,6 +6965,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.DurationMillis = ptr.Int64(i64) } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -6778,6 +6974,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.LiveSourceName = ptr.String(jtv) } + case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -6786,6 +6983,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.ProgramName = ptr.String(jtv) } + case "ScheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -6801,6 +6999,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -6809,6 +7008,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -6817,6 +7017,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProgramOutput(v **UpdateProgramOutp } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -6965,6 +7166,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6973,6 +7175,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6988,14 +7191,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } } + case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } + case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7011,10 +7217,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } } + case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -7023,10 +7231,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceLocationOutput(v **UpdateSour } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7179,6 +7389,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7194,10 +7405,12 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7213,6 +7426,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -7221,10 +7435,12 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -7233,6 +7449,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVodSourceOutput(v **UpdateVodSource } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -7856,10 +8073,12 @@ func awsRestjson1_deserializeDocumentAccessConfiguration(v **types.AccessConfigu } sv.AccessType = types.AccessType(jtv) } + case "SecretsManagerAccessTokenConfiguration": if err := awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(&sv.SecretsManagerAccessTokenConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -7895,6 +8114,7 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ if err := awsRestjson1_deserializeDocumentAdBreakMetadataList(&sv.AdBreakMetadata, value); err != nil { return err } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -7903,6 +8123,7 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ } sv.MessageType = types.MessageType(jtv) } + case "OffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -7915,18 +8136,22 @@ func awsRestjson1_deserializeDocumentAdBreak(v **types.AdBreak, value interface{ } sv.OffsetMillis = i64 } + case "Slate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.Slate, value); err != nil { return err } + case "SpliceInsertMessage": if err := awsRestjson1_deserializeDocumentSpliceInsertMessage(&sv.SpliceInsertMessage, value); err != nil { return err } + case "TimeSignalMessage": if err := awsRestjson1_deserializeDocumentTimeSignalMessage(&sv.TimeSignalMessage, value); err != nil { return err } + default: _, _ = key, value @@ -8038,6 +8263,7 @@ func awsRestjson1_deserializeDocumentAdBreakOpportunity(v **types.AdBreakOpportu } sv.OffsetMillis = i64 } + default: _, _ = key, value @@ -8077,6 +8303,7 @@ func awsRestjson1_deserializeDocumentAdMarkerPassthrough(v **types.AdMarkerPasst } sv.Enabled = jtv } + default: _, _ = key, value @@ -8152,6 +8379,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertCode = ptr.String(jtv) } + case "AlertMessage": if value != nil { jtv, ok := value.(string) @@ -8160,6 +8388,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.AlertMessage = ptr.String(jtv) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -8168,6 +8397,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.Category = types.AlertCategory(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8183,10 +8413,12 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } } + case "RelatedResourceArns": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.RelatedResourceArns, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8195,6 +8427,7 @@ func awsRestjson1_deserializeDocumentAlert(v **types.Alert, value interface{}) e } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8230,10 +8463,12 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va if err := awsRestjson1_deserializeDocument__listOfAdBreak(&sv.AdBreaks, value); err != nil { return err } + case "ClipRange": if err := awsRestjson1_deserializeDocumentClipRange(&sv.ClipRange, value); err != nil { return err } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8246,6 +8481,7 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.DurationMillis = ptr.Int64(i64) } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -8254,6 +8490,7 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.LiveSourceName = ptr.String(jtv) } + case "ScheduledStartTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8266,6 +8503,7 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.ScheduledStartTimeMillis = ptr.Int64(i64) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -8274,6 +8512,7 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -8282,6 +8521,7 @@ func awsRestjson1_deserializeDocumentAlternateMedia(v **types.AlternateMedia, va } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -8317,6 +8557,7 @@ func awsRestjson1_deserializeDocumentAudienceMedia(v **types.AudienceMedia, valu if err := awsRestjson1_deserializeDocument__listOfAlternateMedia(&sv.AlternateMedia, value); err != nil { return err } + case "Audience": if value != nil { jtv, ok := value.(string) @@ -8325,6 +8566,7 @@ func awsRestjson1_deserializeDocumentAudienceMedia(v **types.AudienceMedia, valu } sv.Audience = ptr.String(jtv) } + default: _, _ = key, value @@ -8400,6 +8642,7 @@ func awsRestjson1_deserializeDocumentAvailMatchingCriteria(v **types.AvailMatchi } sv.DynamicVariable = ptr.String(jtv) } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -8408,6 +8651,7 @@ func awsRestjson1_deserializeDocumentAvailMatchingCriteria(v **types.AvailMatchi } sv.Operator = types.Operator(jtv) } + default: _, _ = key, value @@ -8447,6 +8691,7 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.FillPolicy = types.FillPolicy(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -8455,6 +8700,7 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.Mode = types.Mode(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8463,6 +8709,7 @@ func awsRestjson1_deserializeDocumentAvailSuppression(v **types.AvailSuppression } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8502,6 +8749,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8541,6 +8789,7 @@ func awsRestjson1_deserializeDocumentBumper(v **types.Bumper, value interface{}) } sv.EndUrl = ptr.String(jtv) } + case "StartUrl": if value != nil { jtv, ok := value.(string) @@ -8549,6 +8798,7 @@ func awsRestjson1_deserializeDocumentBumper(v **types.Bumper, value interface{}) } sv.StartUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -8588,6 +8838,7 @@ func awsRestjson1_deserializeDocumentCdnConfiguration(v **types.CdnConfiguration } sv.AdSegmentUrlPrefix = ptr.String(jtv) } + case "ContentSegmentUrlPrefix": if value != nil { jtv, ok := value.(string) @@ -8596,6 +8847,7 @@ func awsRestjson1_deserializeDocumentCdnConfiguration(v **types.CdnConfiguration } sv.ContentSegmentUrlPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -8635,10 +8887,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Arn = ptr.String(jtv) } + case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -8647,6 +8901,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelName = ptr.String(jtv) } + case "ChannelState": if value != nil { jtv, ok := value.(string) @@ -8655,6 +8910,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelState = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8670,10 +8926,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "FillerSlate": if err := awsRestjson1_deserializeDocumentSlateSource(&sv.FillerSlate, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8689,14 +8947,17 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfigurationForChannel(&sv.LogConfiguration, value); err != nil { return err } + case "Outputs": if err := awsRestjson1_deserializeDocumentResponseOutputs(&sv.Outputs, value); err != nil { return err } + case "PlaybackMode": if value != nil { jtv, ok := value.(string) @@ -8705,10 +8966,12 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.PlaybackMode = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -8717,6 +8980,7 @@ func awsRestjson1_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.Tier = ptr.String(jtv) } + default: _, _ = key, value @@ -8760,6 +9024,7 @@ func awsRestjson1_deserializeDocumentClipRange(v **types.ClipRange, value interf } sv.EndOffsetMillis = ptr.Int64(i64) } + case "StartOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8772,6 +9037,7 @@ func awsRestjson1_deserializeDocumentClipRange(v **types.ClipRange, value interf } sv.StartOffsetMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -8845,6 +9111,7 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.ManifestEndpointPrefix = ptr.String(jtv) } + case "MpdLocation": if value != nil { jtv, ok := value.(string) @@ -8853,6 +9120,7 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.MpdLocation = ptr.String(jtv) } + case "OriginManifestType": if value != nil { jtv, ok := value.(string) @@ -8861,6 +9129,7 @@ func awsRestjson1_deserializeDocumentDashConfiguration(v **types.DashConfigurati } sv.OriginManifestType = types.OriginManifestType(jtv) } + default: _, _ = key, value @@ -8904,6 +9173,7 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + case "MinBufferTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8916,6 +9186,7 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.MinBufferTimeSeconds = ptr.Int32(int32(i64)) } + case "MinUpdatePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8928,6 +9199,7 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.MinUpdatePeriodSeconds = ptr.Int32(int32(i64)) } + case "SuggestedPresentationDelaySeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8940,6 +9212,7 @@ func awsRestjson1_deserializeDocumentDashPlaylistSettings(v **types.DashPlaylist } sv.SuggestedPresentationDelaySeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8979,6 +9252,7 @@ func awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(v **typ } sv.BaseUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9018,6 +9292,7 @@ func awsRestjson1_deserializeDocumentHlsConfiguration(v **types.HlsConfiguration } sv.ManifestEndpointPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -9053,6 +9328,7 @@ func awsRestjson1_deserializeDocumentHlsPlaylistSettings(v **types.HlsPlaylistSe if err := awsRestjson1_deserializeDocumentAdMarkupTypes(&sv.AdMarkupType, value); err != nil { return err } + case "ManifestWindowSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9065,6 +9341,7 @@ func awsRestjson1_deserializeDocumentHlsPlaylistSettings(v **types.HlsPlaylistSe } sv.ManifestWindowSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9104,6 +9381,7 @@ func awsRestjson1_deserializeDocumentHttpConfiguration(v **types.HttpConfigurati } sv.BaseUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9143,6 +9421,7 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.Path = ptr.String(jtv) } + case "SourceGroup": if value != nil { jtv, ok := value.(string) @@ -9151,6 +9430,7 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.SourceGroup = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9159,6 +9439,7 @@ func awsRestjson1_deserializeDocumentHttpPackageConfiguration(v **types.HttpPack } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -9232,6 +9513,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9240,6 +9522,7 @@ func awsRestjson1_deserializeDocumentKeyValuePair(v **types.KeyValuePair, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9279,6 +9562,7 @@ func awsRestjson1_deserializeDocumentLivePreRollConfiguration(v **types.LivePreR } sv.AdDecisionServerUrl = ptr.String(jtv) } + case "MaxDurationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9291,6 +9575,7 @@ func awsRestjson1_deserializeDocumentLivePreRollConfiguration(v **types.LivePreR } sv.MaxDurationSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9330,6 +9615,7 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9345,10 +9631,12 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9364,6 +9652,7 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -9372,6 +9661,7 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.LiveSourceName = ptr.String(jtv) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -9380,10 +9670,12 @@ func awsRestjson1_deserializeDocumentLiveSource(v **types.LiveSource, value inte } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9427,6 +9719,7 @@ func awsRestjson1_deserializeDocumentLogConfiguration(v **types.LogConfiguration } sv.PercentEnabled = int32(i64) } + default: _, _ = key, value @@ -9462,6 +9755,7 @@ func awsRestjson1_deserializeDocumentLogConfigurationForChannel(v **types.LogCon if err := awsRestjson1_deserializeDocumentLogTypes(&sv.LogTypes, value); err != nil { return err } + default: _, _ = key, value @@ -9533,6 +9827,7 @@ func awsRestjson1_deserializeDocumentManifestProcessingRules(v **types.ManifestP if err := awsRestjson1_deserializeDocumentAdMarkerPassthrough(&sv.AdMarkerPassthrough, value); err != nil { return err } + default: _, _ = key, value @@ -9572,30 +9867,37 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.AdDecisionServerUrl = ptr.String(jtv) } + case "AvailSuppression": if err := awsRestjson1_deserializeDocumentAvailSuppression(&sv.AvailSuppression, value); err != nil { return err } + case "Bumper": if err := awsRestjson1_deserializeDocumentBumper(&sv.Bumper, value); err != nil { return err } + case "CdnConfiguration": if err := awsRestjson1_deserializeDocumentCdnConfiguration(&sv.CdnConfiguration, value); err != nil { return err } + case "ConfigurationAliases": if err := awsRestjson1_deserializeDocumentConfigurationAliasesResponse(&sv.ConfigurationAliases, value); err != nil { return err } + case "DashConfiguration": if err := awsRestjson1_deserializeDocumentDashConfiguration(&sv.DashConfiguration, value); err != nil { return err } + case "HlsConfiguration": if err := awsRestjson1_deserializeDocumentHlsConfiguration(&sv.HlsConfiguration, value); err != nil { return err } + case "InsertionMode": if value != nil { jtv, ok := value.(string) @@ -9604,18 +9906,22 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.InsertionMode = types.InsertionMode(jtv) } + case "LivePreRollConfiguration": if err := awsRestjson1_deserializeDocumentLivePreRollConfiguration(&sv.LivePreRollConfiguration, value); err != nil { return err } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "ManifestProcessingRules": if err := awsRestjson1_deserializeDocumentManifestProcessingRules(&sv.ManifestProcessingRules, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9624,6 +9930,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.Name = ptr.String(jtv) } + case "PersonalizationThresholdSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -9636,6 +9943,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PersonalizationThresholdSeconds = ptr.Int32(int32(i64)) } + case "PlaybackConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9644,6 +9952,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PlaybackConfigurationArn = ptr.String(jtv) } + case "PlaybackEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -9652,6 +9961,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.PlaybackEndpointPrefix = ptr.String(jtv) } + case "SessionInitializationEndpointPrefix": if value != nil { jtv, ok := value.(string) @@ -9660,6 +9970,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.SessionInitializationEndpointPrefix = ptr.String(jtv) } + case "SlateAdUrl": if value != nil { jtv, ok := value.(string) @@ -9668,10 +9979,12 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.SlateAdUrl = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "TranscodeProfileName": if value != nil { jtv, ok := value.(string) @@ -9680,6 +9993,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.TranscodeProfileName = ptr.String(jtv) } + case "VideoContentSourceUrl": if value != nil { jtv, ok := value.(string) @@ -9688,6 +10002,7 @@ func awsRestjson1_deserializeDocumentPlaybackConfiguration(v **types.PlaybackCon } sv.VideoContentSourceUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9723,6 +10038,7 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu if err := awsRestjson1_deserializeDocument__listOfAvailMatchingCriteria(&sv.AvailMatchingCriteria, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -9738,6 +10054,7 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9753,6 +10070,7 @@ func awsRestjson1_deserializeDocumentPrefetchConsumption(v **types.PrefetchConsu } } + default: _, _ = key, value @@ -9788,6 +10106,7 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.DynamicVariables, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -9803,6 +10122,7 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9818,6 +10138,7 @@ func awsRestjson1_deserializeDocumentPrefetchRetrieval(v **types.PrefetchRetriev } } + default: _, _ = key, value @@ -9857,10 +10178,12 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.Arn = ptr.String(jtv) } + case "Consumption": if err := awsRestjson1_deserializeDocumentPrefetchConsumption(&sv.Consumption, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9869,6 +10192,7 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.Name = ptr.String(jtv) } + case "PlaybackConfigurationName": if value != nil { jtv, ok := value.(string) @@ -9877,10 +10201,12 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.PlaybackConfigurationName = ptr.String(jtv) } + case "Retrieval": if err := awsRestjson1_deserializeDocumentPrefetchRetrieval(&sv.Retrieval, value); err != nil { return err } + case "StreamId": if value != nil { jtv, ok := value.(string) @@ -9889,6 +10215,7 @@ func awsRestjson1_deserializeDocumentPrefetchSchedule(v **types.PrefetchSchedule } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -9924,10 +10251,12 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput if err := awsRestjson1_deserializeDocumentDashPlaylistSettings(&sv.DashPlaylistSettings, value); err != nil { return err } + case "HlsPlaylistSettings": if err := awsRestjson1_deserializeDocumentHlsPlaylistSettings(&sv.HlsPlaylistSettings, value); err != nil { return err } + case "ManifestName": if value != nil { jtv, ok := value.(string) @@ -9936,6 +10265,7 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.ManifestName = ptr.String(jtv) } + case "PlaybackUrl": if value != nil { jtv, ok := value.(string) @@ -9944,6 +10274,7 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.PlaybackUrl = ptr.String(jtv) } + case "SourceGroup": if value != nil { jtv, ok := value.(string) @@ -9952,6 +10283,7 @@ func awsRestjson1_deserializeDocumentResponseOutputItem(v **types.ResponseOutput } sv.SourceGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -10029,6 +10361,7 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.ApproximateDurationSeconds = ptr.Int64(i64) } + case "ApproximateStartTime": if value != nil { switch jtv := value.(type) { @@ -10044,6 +10377,7 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10052,6 +10386,7 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10060,6 +10395,7 @@ func awsRestjson1_deserializeDocumentScheduleAdBreak(v **types.ScheduleAdBreak, } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10103,6 +10439,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ApproximateDurationSeconds = ptr.Int64(i64) } + case "ApproximateStartTime": if value != nil { switch jtv := value.(type) { @@ -10118,6 +10455,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10126,10 +10464,12 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.Arn = ptr.String(jtv) } + case "Audiences": if err := awsRestjson1_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "ChannelName": if value != nil { jtv, ok := value.(string) @@ -10138,6 +10478,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ChannelName = ptr.String(jtv) } + case "LiveSourceName": if value != nil { jtv, ok := value.(string) @@ -10146,6 +10487,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.LiveSourceName = ptr.String(jtv) } + case "ProgramName": if value != nil { jtv, ok := value.(string) @@ -10154,10 +10496,12 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ProgramName = ptr.String(jtv) } + case "ScheduleAdBreaks": if err := awsRestjson1_deserializeDocument__listOfScheduleAdBreak(&sv.ScheduleAdBreaks, value); err != nil { return err } + case "ScheduleEntryType": if value != nil { jtv, ok := value.(string) @@ -10166,6 +10510,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.ScheduleEntryType = types.ScheduleEntryType(jtv) } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10174,6 +10519,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10182,6 +10528,7 @@ func awsRestjson1_deserializeDocumentScheduleEntry(v **types.ScheduleEntry, valu } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10221,6 +10568,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.HeaderName = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -10229,6 +10577,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.SecretArn = ptr.String(jtv) } + case "SecretStringKey": if value != nil { jtv, ok := value.(string) @@ -10237,6 +10586,7 @@ func awsRestjson1_deserializeDocumentSecretsManagerAccessTokenConfiguration(v ** } sv.SecretStringKey = ptr.String(jtv) } + default: _, _ = key, value @@ -10280,6 +10630,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationEventId = ptr.Int32(int32(i64)) } + case "SegmentationTypeId": if value != nil { jtv, ok := value.(json.Number) @@ -10292,6 +10643,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationTypeId = ptr.Int32(int32(i64)) } + case "SegmentationUpid": if value != nil { jtv, ok := value.(string) @@ -10300,6 +10652,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationUpid = ptr.String(jtv) } + case "SegmentationUpidType": if value != nil { jtv, ok := value.(json.Number) @@ -10312,6 +10665,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentationUpidType = ptr.Int32(int32(i64)) } + case "SegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -10324,6 +10678,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentNum = ptr.Int32(int32(i64)) } + case "SegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -10336,6 +10691,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SegmentsExpected = ptr.Int32(int32(i64)) } + case "SubSegmentNum": if value != nil { jtv, ok := value.(json.Number) @@ -10348,6 +10704,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SubSegmentNum = ptr.Int32(int32(i64)) } + case "SubSegmentsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -10360,6 +10717,7 @@ func awsRestjson1_deserializeDocumentSegmentationDescriptor(v **types.Segmentati } sv.SubSegmentsExpected = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10433,6 +10791,7 @@ func awsRestjson1_deserializeDocumentSegmentDeliveryConfiguration(v **types.Segm } sv.BaseUrl = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10441,6 +10800,7 @@ func awsRestjson1_deserializeDocumentSegmentDeliveryConfiguration(v **types.Segm } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10480,6 +10840,7 @@ func awsRestjson1_deserializeDocumentSlateSource(v **types.SlateSource, value in } sv.SourceLocationName = ptr.String(jtv) } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10488,6 +10849,7 @@ func awsRestjson1_deserializeDocumentSlateSource(v **types.SlateSource, value in } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10523,6 +10885,7 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va if err := awsRestjson1_deserializeDocumentAccessConfiguration(&sv.AccessConfiguration, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10531,6 +10894,7 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10546,14 +10910,17 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } } + case "DefaultSegmentDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentDefaultSegmentDeliveryConfiguration(&sv.DefaultSegmentDeliveryConfiguration, value); err != nil { return err } + case "HttpConfiguration": if err := awsRestjson1_deserializeDocumentHttpConfiguration(&sv.HttpConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10569,10 +10936,12 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } } + case "SegmentDeliveryConfigurations": if err := awsRestjson1_deserializeDocument__listOfSegmentDeliveryConfiguration(&sv.SegmentDeliveryConfigurations, value); err != nil { return err } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10581,10 +10950,12 @@ func awsRestjson1_deserializeDocumentSourceLocation(v **types.SourceLocation, va } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10628,6 +10999,7 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.AvailNum = ptr.Int32(int32(i64)) } + case "AvailsExpected": if value != nil { jtv, ok := value.(json.Number) @@ -10640,6 +11012,7 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.AvailsExpected = ptr.Int32(int32(i64)) } + case "SpliceEventId": if value != nil { jtv, ok := value.(json.Number) @@ -10652,6 +11025,7 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.SpliceEventId = ptr.Int32(int32(i64)) } + case "UniqueProgramId": if value != nil { jtv, ok := value.(json.Number) @@ -10664,6 +11038,7 @@ func awsRestjson1_deserializeDocumentSpliceInsertMessage(v **types.SpliceInsertM } sv.UniqueProgramId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10707,6 +11082,7 @@ func awsRestjson1_deserializeDocumentTimeShiftConfiguration(v **types.TimeShiftC } sv.MaxTimeDelaySeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10742,6 +11118,7 @@ func awsRestjson1_deserializeDocumentTimeSignalMessage(v **types.TimeSignalMessa if err := awsRestjson1_deserializeDocumentSegmentationDescriptorList(&sv.SegmentationDescriptors, value); err != nil { return err } + default: _, _ = key, value @@ -10781,6 +11158,7 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -10796,10 +11174,12 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } } + case "HttpPackageConfigurations": if err := awsRestjson1_deserializeDocumentHttpPackageConfigurations(&sv.HttpPackageConfigurations, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10815,6 +11195,7 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } } + case "SourceLocationName": if value != nil { jtv, ok := value.(string) @@ -10823,10 +11204,12 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.SourceLocationName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "VodSourceName": if value != nil { jtv, ok := value.(string) @@ -10835,6 +11218,7 @@ func awsRestjson1_deserializeDocumentVodSource(v **types.VodSource, value interf } sv.VodSourceName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/medicalimaging/deserializers.go b/service/medicalimaging/deserializers.go index 660df3372d8..3099225bc55 100644 --- a/service/medicalimaging/deserializers.go +++ b/service/medicalimaging/deserializers.go @@ -193,14 +193,17 @@ func awsRestjson1_deserializeOpDocumentCopyImageSetOutput(v **CopyImageSetOutput } sv.DatastoreId = ptr.String(jtv) } + case "destinationImageSetProperties": if err := awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(&sv.DestinationImageSetProperties, value); err != nil { return err } + case "sourceImageSetProperties": if err := awsRestjson1_deserializeDocumentCopySourceImageSetProperties(&sv.SourceImageSetProperties, value); err != nil { return err } + default: _, _ = key, value @@ -371,6 +374,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreId = ptr.String(jtv) } + case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -379,6 +383,7 @@ func awsRestjson1_deserializeOpDocumentCreateDatastoreOutput(v **CreateDatastore } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + default: _, _ = key, value @@ -549,6 +554,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDatastoreOutput(v **DeleteDatastore } sv.DatastoreId = ptr.String(jtv) } + case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -557,6 +563,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDatastoreOutput(v **DeleteDatastore } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + default: _, _ = key, value @@ -727,6 +734,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.DatastoreId = ptr.String(jtv) } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -735,6 +743,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -743,6 +752,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetState = types.ImageSetState(jtv) } + case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -751,6 +761,7 @@ func awsRestjson1_deserializeOpDocumentDeleteImageSetOutput(v **DeleteImageSetOu } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + default: _, _ = key, value @@ -914,6 +925,7 @@ func awsRestjson1_deserializeOpDocumentGetDatastoreOutput(v **GetDatastoreOutput if err := awsRestjson1_deserializeDocumentDatastoreProperties(&sv.DatastoreProperties, value); err != nil { return err } + default: _, _ = key, value @@ -1080,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentGetDICOMImportJobOutput(v **GetDICOMImpor if err := awsRestjson1_deserializeDocumentDICOMImportJobProperties(&sv.JobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -1391,6 +1404,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -1399,6 +1413,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.DatastoreId = ptr.String(jtv) } + case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -1414,6 +1429,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } + case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -1422,6 +1438,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetArn = ptr.String(jtv) } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -1430,6 +1447,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -1438,6 +1456,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetState = types.ImageSetState(jtv) } + case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -1446,6 +1465,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -1454,10 +1474,12 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.Message = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentOverrides(&sv.Overrides, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -1473,6 +1495,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -1481,6 +1504,7 @@ func awsRestjson1_deserializeOpDocumentGetImageSetOutput(v **GetImageSetOutput, } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1780,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu if err := awsRestjson1_deserializeDocumentDatastoreSummaries(&sv.DatastoreSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1788,6 +1813,7 @@ func awsRestjson1_deserializeOpDocumentListDatastoresOutput(v **ListDatastoresOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1954,6 +1980,7 @@ func awsRestjson1_deserializeOpDocumentListDICOMImportJobsOutput(v **ListDICOMIm if err := awsRestjson1_deserializeDocumentDICOMImportJobSummaries(&sv.JobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1962,6 +1989,7 @@ func awsRestjson1_deserializeOpDocumentListDICOMImportJobsOutput(v **ListDICOMIm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2128,6 +2156,7 @@ func awsRestjson1_deserializeOpDocumentListImageSetVersionsOutput(v **ListImageS if err := awsRestjson1_deserializeDocumentImageSetPropertiesList(&sv.ImageSetPropertiesList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2136,6 +2165,7 @@ func awsRestjson1_deserializeOpDocumentListImageSetVersionsOutput(v **ListImageS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2299,6 +2329,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2465,6 +2496,7 @@ func awsRestjson1_deserializeOpDocumentSearchImageSetsOutput(v **SearchImageSets if err := awsRestjson1_deserializeDocumentImageSetsMetadataSummaries(&sv.ImageSetsMetadataSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2473,10 +2505,12 @@ func awsRestjson1_deserializeOpDocumentSearchImageSetsOutput(v **SearchImageSets } sv.NextToken = ptr.String(jtv) } + case "sort": if err := awsRestjson1_deserializeDocumentSort(&sv.Sort, value); err != nil { return err } + default: _, _ = key, value @@ -2650,6 +2684,7 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.DatastoreId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -2658,6 +2693,7 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.JobId = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -2666,6 +2702,7 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } sv.JobStatus = types.JobStatus(jtv) } + case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -2681,6 +2718,7 @@ func awsRestjson1_deserializeOpDocumentStartDICOMImportJobOutput(v **StartDICOMI } } + default: _, _ = key, value @@ -3061,6 +3099,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3069,6 +3108,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.DatastoreId = ptr.String(jtv) } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3077,6 +3117,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3085,6 +3126,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetState = types.ImageSetState(jtv) } + case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3093,6 +3135,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3101,6 +3144,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.LatestVersionId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -3109,6 +3153,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } sv.Message = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3124,6 +3169,7 @@ func awsRestjson1_deserializeOpDocumentUpdateImageSetMetadataOutput(v **UpdateIm } } + default: _, _ = key, value @@ -3415,6 +3461,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3454,6 +3501,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3500,6 +3548,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } } + case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -3508,6 +3557,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetArn = ptr.String(jtv) } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3516,6 +3566,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3524,6 +3575,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetState = types.ImageSetState(jtv) } + case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3532,6 +3584,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3540,6 +3593,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } sv.LatestVersionId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3555,6 +3609,7 @@ func awsRestjson1_deserializeDocumentCopyDestinationImageSetProperties(v **types } } + default: _, _ = key, value @@ -3601,6 +3656,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } } + case "imageSetArn": if value != nil { jtv, ok := value.(string) @@ -3609,6 +3665,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetArn = ptr.String(jtv) } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -3617,6 +3674,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -3625,6 +3683,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetState = types.ImageSetState(jtv) } + case "imageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -3633,6 +3692,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + case "latestVersionId": if value != nil { jtv, ok := value.(string) @@ -3641,6 +3701,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } sv.LatestVersionId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3656,6 +3717,7 @@ func awsRestjson1_deserializeDocumentCopySourceImageSetProperties(v **types.Copy } } + default: _, _ = key, value @@ -3702,6 +3764,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } + case "datastoreArn": if value != nil { jtv, ok := value.(string) @@ -3710,6 +3773,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreArn = ptr.String(jtv) } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3718,6 +3782,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreId = ptr.String(jtv) } + case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -3726,6 +3791,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreName = ptr.String(jtv) } + case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3734,6 +3800,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3742,6 +3809,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } sv.KmsKeyArn = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3757,6 +3825,7 @@ func awsRestjson1_deserializeDocumentDatastoreProperties(v **types.DatastoreProp } } + default: _, _ = key, value @@ -3837,6 +3906,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } + case "datastoreArn": if value != nil { jtv, ok := value.(string) @@ -3845,6 +3915,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreArn = ptr.String(jtv) } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3853,6 +3924,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreId = ptr.String(jtv) } + case "datastoreName": if value != nil { jtv, ok := value.(string) @@ -3861,6 +3933,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreName = ptr.String(jtv) } + case "datastoreStatus": if value != nil { jtv, ok := value.(string) @@ -3869,6 +3942,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } sv.DatastoreStatus = types.DatastoreStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3884,6 +3958,7 @@ func awsRestjson1_deserializeDocumentDatastoreSummary(v **types.DatastoreSummary } } + default: _, _ = key, value @@ -3923,6 +3998,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.DataAccessRoleArn = ptr.String(jtv) } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -3931,6 +4007,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.DatastoreId = ptr.String(jtv) } + case "endedAt": if value != nil { switch jtv := value.(type) { @@ -3946,6 +4023,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } } + case "inputS3Uri": if value != nil { jtv, ok := value.(string) @@ -3954,6 +4032,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.InputS3Uri = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -3962,6 +4041,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -3970,6 +4050,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobName = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -3978,6 +4059,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.JobStatus = types.JobStatus(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -3986,6 +4068,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.Message = ptr.String(jtv) } + case "outputS3Uri": if value != nil { jtv, ok := value.(string) @@ -3994,6 +4077,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } sv.OutputS3Uri = ptr.String(jtv) } + case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -4009,6 +4093,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobProperties(v **types.DICOMImp } } + default: _, _ = key, value @@ -4082,6 +4167,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.DataAccessRoleArn = ptr.String(jtv) } + case "datastoreId": if value != nil { jtv, ok := value.(string) @@ -4090,6 +4176,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.DatastoreId = ptr.String(jtv) } + case "endedAt": if value != nil { switch jtv := value.(type) { @@ -4105,6 +4192,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -4113,6 +4201,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobId = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -4121,6 +4210,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobName = ptr.String(jtv) } + case "jobStatus": if value != nil { jtv, ok := value.(string) @@ -4129,6 +4219,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.JobStatus = types.JobStatus(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -4137,6 +4228,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } sv.Message = ptr.String(jtv) } + case "submittedAt": if value != nil { switch jtv := value.(type) { @@ -4152,6 +4244,7 @@ func awsRestjson1_deserializeDocumentDICOMImportJobSummary(v **types.DICOMImport } } + default: _, _ = key, value @@ -4191,6 +4284,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMAccessionNumber = ptr.String(jtv) } + case "DICOMNumberOfStudyRelatedInstances": if value != nil { jtv, ok := value.(json.Number) @@ -4203,6 +4297,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMNumberOfStudyRelatedInstances = int32(i64) } + case "DICOMNumberOfStudyRelatedSeries": if value != nil { jtv, ok := value.(json.Number) @@ -4215,6 +4310,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMNumberOfStudyRelatedSeries = int32(i64) } + case "DICOMPatientBirthDate": if value != nil { jtv, ok := value.(string) @@ -4223,6 +4319,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientBirthDate = ptr.String(jtv) } + case "DICOMPatientId": if value != nil { jtv, ok := value.(string) @@ -4231,6 +4328,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientId = ptr.String(jtv) } + case "DICOMPatientName": if value != nil { jtv, ok := value.(string) @@ -4239,6 +4337,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientName = ptr.String(jtv) } + case "DICOMPatientSex": if value != nil { jtv, ok := value.(string) @@ -4247,6 +4346,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMPatientSex = ptr.String(jtv) } + case "DICOMSeriesBodyPart": if value != nil { jtv, ok := value.(string) @@ -4255,6 +4355,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesBodyPart = ptr.String(jtv) } + case "DICOMSeriesInstanceUID": if value != nil { jtv, ok := value.(string) @@ -4263,6 +4364,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesInstanceUID = ptr.String(jtv) } + case "DICOMSeriesModality": if value != nil { jtv, ok := value.(string) @@ -4271,6 +4373,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesModality = ptr.String(jtv) } + case "DICOMSeriesNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4283,6 +4386,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMSeriesNumber = ptr.Int32(int32(i64)) } + case "DICOMStudyDate": if value != nil { jtv, ok := value.(string) @@ -4291,6 +4395,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyDate = ptr.String(jtv) } + case "DICOMStudyDescription": if value != nil { jtv, ok := value.(string) @@ -4299,6 +4404,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyDescription = ptr.String(jtv) } + case "DICOMStudyId": if value != nil { jtv, ok := value.(string) @@ -4307,6 +4413,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyId = ptr.String(jtv) } + case "DICOMStudyInstanceUID": if value != nil { jtv, ok := value.(string) @@ -4315,6 +4422,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyInstanceUID = ptr.String(jtv) } + case "DICOMStudyTime": if value != nil { jtv, ok := value.(string) @@ -4323,6 +4431,7 @@ func awsRestjson1_deserializeDocumentDICOMTags(v **types.DICOMTags, value interf } sv.DICOMStudyTime = ptr.String(jtv) } + default: _, _ = key, value @@ -4369,6 +4478,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } + case "deletedAt": if value != nil { switch jtv := value.(type) { @@ -4384,6 +4494,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -4392,6 +4503,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetId = ptr.String(jtv) } + case "imageSetState": if value != nil { jtv, ok := value.(string) @@ -4400,6 +4512,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetState = types.ImageSetState(jtv) } + case "ImageSetWorkflowStatus": if value != nil { jtv, ok := value.(string) @@ -4408,6 +4521,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.ImageSetWorkflowStatus = types.ImageSetWorkflowStatus(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -4416,10 +4530,12 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.Message = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentOverrides(&sv.Overrides, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4435,6 +4551,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } } + case "versionId": if value != nil { jtv, ok := value.(string) @@ -4443,6 +4560,7 @@ func awsRestjson1_deserializeDocumentImageSetProperties(v **types.ImageSetProper } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4557,10 +4675,12 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } } + case "DICOMTags": if err := awsRestjson1_deserializeDocumentDICOMTags(&sv.DICOMTags, value); err != nil { return err } + case "imageSetId": if value != nil { jtv, ok := value.(string) @@ -4569,6 +4689,7 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } sv.ImageSetId = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4584,6 +4705,7 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } } + case "version": if value != nil { jtv, ok := value.(json.Number) @@ -4596,6 +4718,7 @@ func awsRestjson1_deserializeDocumentImageSetsMetadataSummary(v **types.ImageSet } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4635,6 +4758,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4674,6 +4798,7 @@ func awsRestjson1_deserializeDocumentOverrides(v **types.Overrides, value interf } sv.Forced = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4713,6 +4838,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4752,6 +4878,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4791,6 +4918,7 @@ func awsRestjson1_deserializeDocumentSort(v **types.Sort, value interface{}) err } sv.SortField = types.SortField(jtv) } + case "sortOrder": if value != nil { jtv, ok := value.(string) @@ -4799,6 +4927,7 @@ func awsRestjson1_deserializeDocumentSort(v **types.Sort, value interface{}) err } sv.SortOrder = types.SortOrder(jtv) } + default: _, _ = key, value @@ -4874,6 +5003,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4913,6 +5043,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/memorydb/deserializers.go b/service/memorydb/deserializers.go index 6ad5e32cf43..7c9beaed117 100644 --- a/service/memorydb/deserializers.go +++ b/service/memorydb/deserializers.go @@ -6664,10 +6664,12 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.ARN = ptr.String(jtv) } + case "Clusters": if err := awsAwsjson11_deserializeDocumentACLClusterNameList(&sv.Clusters, value); err != nil { return err } + case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6678,7 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.MinimumEngineVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6684,10 +6687,12 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.Name = ptr.String(jtv) } + case "PendingChanges": if err := awsAwsjson11_deserializeDocumentACLPendingChanges(&sv.PendingChanges, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6696,10 +6701,12 @@ func awsAwsjson11_deserializeDocumentACL(v **types.ACL, value interface{}) error } sv.Status = ptr.String(jtv) } + case "UserNames": if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNames, value); err != nil { return err } + default: _, _ = key, value @@ -6739,6 +6746,7 @@ func awsAwsjson11_deserializeDocumentACLAlreadyExistsFault(v **types.ACLAlreadyE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6884,6 +6892,7 @@ func awsAwsjson11_deserializeDocumentACLNotFoundFault(v **types.ACLNotFoundFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6919,10 +6928,12 @@ func awsAwsjson11_deserializeDocumentACLPendingChanges(v **types.ACLPendingChang if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNamesToAdd, value); err != nil { return err } + case "UserNamesToRemove": if err := awsAwsjson11_deserializeDocumentUserNameList(&sv.UserNamesToRemove, value); err != nil { return err } + default: _, _ = key, value @@ -6962,6 +6973,7 @@ func awsAwsjson11_deserializeDocumentACLQuotaExceededFault(v **types.ACLQuotaExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7001,6 +7013,7 @@ func awsAwsjson11_deserializeDocumentACLsUpdateStatus(v **types.ACLsUpdateStatus } sv.ACLToApply = ptr.String(jtv) } + default: _, _ = key, value @@ -7040,6 +7053,7 @@ func awsAwsjson11_deserializeDocumentAPICallRateForCustomerExceededFault(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7083,6 +7097,7 @@ func awsAwsjson11_deserializeDocumentAuthentication(v **types.Authentication, va } sv.PasswordCount = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7091,6 +7106,7 @@ func awsAwsjson11_deserializeDocumentAuthentication(v **types.Authentication, va } sv.Type = types.AuthenticationType(jtv) } + default: _, _ = key, value @@ -7130,6 +7146,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7169,6 +7186,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ACLName = ptr.String(jtv) } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -7177,6 +7195,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ARN = ptr.String(jtv) } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -7185,6 +7204,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "AvailabilityMode": if value != nil { jtv, ok := value.(string) @@ -7193,10 +7213,12 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.AvailabilityMode = types.AZStatus(jtv) } + case "ClusterEndpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.ClusterEndpoint, value); err != nil { return err } + case "DataTiering": if value != nil { jtv, ok := value.(string) @@ -7205,6 +7227,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.DataTiering = types.DataTieringStatus(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7213,6 +7236,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Description = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -7221,6 +7245,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Engine = ptr.String(jtv) } + case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -7229,6 +7254,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EnginePatchVersion = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7237,6 +7263,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.EngineVersion = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7245,6 +7272,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.KmsKeyId = ptr.String(jtv) } + case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -7253,6 +7281,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.MaintenanceWindow = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7261,6 +7290,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -7269,6 +7299,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NodeType = ptr.String(jtv) } + case "NumberOfShards": if value != nil { jtv, ok := value.(json.Number) @@ -7281,6 +7312,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.NumberOfShards = ptr.Int32(int32(i64)) } + case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -7289,6 +7321,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ParameterGroupName = ptr.String(jtv) } + case "ParameterGroupStatus": if value != nil { jtv, ok := value.(string) @@ -7297,18 +7330,22 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ParameterGroupStatus = ptr.String(jtv) } + case "PendingUpdates": if err := awsAwsjson11_deserializeDocumentClusterPendingUpdates(&sv.PendingUpdates, value); err != nil { return err } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupMembershipList(&sv.SecurityGroups, value); err != nil { return err } + case "Shards": if err := awsAwsjson11_deserializeDocumentShardList(&sv.Shards, value); err != nil { return err } + case "SnapshotRetentionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -7321,6 +7358,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnapshotRetentionLimit = ptr.Int32(int32(i64)) } + case "SnapshotWindow": if value != nil { jtv, ok := value.(string) @@ -7329,6 +7367,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnapshotWindow = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -7337,6 +7376,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnsTopicArn = ptr.String(jtv) } + case "SnsTopicStatus": if value != nil { jtv, ok := value.(string) @@ -7345,6 +7385,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SnsTopicStatus = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7353,6 +7394,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = ptr.String(jtv) } + case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -7361,6 +7403,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.SubnetGroupName = ptr.String(jtv) } + case "TLSEnabled": if value != nil { jtv, ok := value.(bool) @@ -7369,6 +7412,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.TLSEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7408,6 +7452,7 @@ func awsAwsjson11_deserializeDocumentClusterAlreadyExistsFault(v **types.Cluster } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7447,6 +7492,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Description = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -7455,6 +7501,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Engine = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7463,6 +7510,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.EngineVersion = ptr.String(jtv) } + case "MaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -7471,6 +7519,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.MaintenanceWindow = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7479,6 +7528,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Name = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -7487,6 +7537,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.NodeType = ptr.String(jtv) } + case "NumShards": if value != nil { jtv, ok := value.(json.Number) @@ -7499,6 +7550,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.NumShards = ptr.Int32(int32(i64)) } + case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -7507,6 +7559,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.ParameterGroupName = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -7519,10 +7572,12 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.Port = ptr.Int32(int32(i64)) } + case "Shards": if err := awsAwsjson11_deserializeDocumentShardDetails(&sv.Shards, value); err != nil { return err } + case "SnapshotRetentionLimit": if value != nil { jtv, ok := value.(json.Number) @@ -7535,6 +7590,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SnapshotRetentionLimit = ptr.Int32(int32(i64)) } + case "SnapshotWindow": if value != nil { jtv, ok := value.(string) @@ -7543,6 +7599,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SnapshotWindow = ptr.String(jtv) } + case "SubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -7551,6 +7608,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.SubnetGroupName = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -7559,6 +7617,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.TopicArn = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -7567,6 +7626,7 @@ func awsAwsjson11_deserializeDocumentClusterConfiguration(v **types.ClusterConfi } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7640,6 +7700,7 @@ func awsAwsjson11_deserializeDocumentClusterNotFoundFault(v **types.ClusterNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7675,14 +7736,17 @@ func awsAwsjson11_deserializeDocumentClusterPendingUpdates(v **types.ClusterPend if err := awsAwsjson11_deserializeDocumentACLsUpdateStatus(&sv.ACLs, value); err != nil { return err } + case "Resharding": if err := awsAwsjson11_deserializeDocumentReshardingStatus(&sv.Resharding, value); err != nil { return err } + case "ServiceUpdates": if err := awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdateList(&sv.ServiceUpdates, value); err != nil { return err } + default: _, _ = key, value @@ -7722,6 +7786,7 @@ func awsAwsjson11_deserializeDocumentClusterQuotaForCustomerExceededFault(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7761,6 +7826,7 @@ func awsAwsjson11_deserializeDocumentDefaultUserRequired(v **types.DefaultUserRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7800,6 +7866,7 @@ func awsAwsjson11_deserializeDocumentDuplicateUserNameFault(v **types.DuplicateU } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7839,6 +7906,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -7851,6 +7919,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = int32(i64) } + default: _, _ = key, value @@ -7890,6 +7959,7 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.Engine = ptr.String(jtv) } + case "EnginePatchVersion": if value != nil { jtv, ok := value.(string) @@ -7898,6 +7968,7 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.EnginePatchVersion = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -7906,6 +7977,7 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.EngineVersion = ptr.String(jtv) } + case "ParameterGroupFamily": if value != nil { jtv, ok := value.(string) @@ -7914,6 +7986,7 @@ func awsAwsjson11_deserializeDocumentEngineVersionInfo(v **types.EngineVersionIn } sv.ParameterGroupFamily = ptr.String(jtv) } + default: _, _ = key, value @@ -7994,6 +8067,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -8002,6 +8076,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.Message = ptr.String(jtv) } + case "SourceName": if value != nil { jtv, ok := value.(string) @@ -8010,6 +8085,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceName = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -8018,6 +8094,7 @@ func awsAwsjson11_deserializeDocumentEvent(v **types.Event, value interface{}) e } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -8091,6 +8168,7 @@ func awsAwsjson11_deserializeDocumentInsufficientClusterCapacityFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8130,6 +8208,7 @@ func awsAwsjson11_deserializeDocumentInvalidACLStateFault(v **types.InvalidACLSt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8169,6 +8248,7 @@ func awsAwsjson11_deserializeDocumentInvalidARNFault(v **types.InvalidARNFault, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8208,6 +8288,7 @@ func awsAwsjson11_deserializeDocumentInvalidClusterStateFault(v **types.InvalidC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8247,6 +8328,7 @@ func awsAwsjson11_deserializeDocumentInvalidCredentialsException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8286,6 +8368,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyFault(v **types.InvalidKMSKeyF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8325,6 +8408,7 @@ func awsAwsjson11_deserializeDocumentInvalidNodeStateFault(v **types.InvalidNode } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8364,6 +8448,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterCombinationException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8403,6 +8488,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterGroupStateFault(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8442,6 +8528,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8481,6 +8568,7 @@ func awsAwsjson11_deserializeDocumentInvalidSnapshotStateFault(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8520,6 +8608,7 @@ func awsAwsjson11_deserializeDocumentInvalidSubnet(v **types.InvalidSubnet, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8559,6 +8648,7 @@ func awsAwsjson11_deserializeDocumentInvalidUserStateFault(v **types.InvalidUser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8598,6 +8688,7 @@ func awsAwsjson11_deserializeDocumentInvalidVPCNetworkStateFault(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8637,6 +8728,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.AvailabilityZone = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -8652,10 +8744,12 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } } + case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8664,6 +8758,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8672,6 +8767,7 @@ func awsAwsjson11_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8745,6 +8841,7 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForClusterExceededFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8784,6 +8881,7 @@ func awsAwsjson11_deserializeDocumentNodeQuotaForCustomerExceededFault(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8859,6 +8957,7 @@ func awsAwsjson11_deserializeDocumentNoOperationFault(v **types.NoOperationFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8898,6 +8997,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.AllowedValues = ptr.String(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -8906,6 +9006,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8914,6 +9015,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Description = ptr.String(jtv) } + case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -8922,6 +9024,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.MinimumEngineVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8930,6 +9033,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8938,6 +9042,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8977,6 +9082,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9091,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Description = ptr.String(jtv) } + case "Family": if value != nil { jtv, ok := value.(string) @@ -8993,6 +9100,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Family = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9001,6 +9109,7 @@ func awsAwsjson11_deserializeDocumentParameterGroup(v **types.ParameterGroup, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9040,6 +9149,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupAlreadyExistsFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9113,6 +9223,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupNotFoundFault(v **types.Param } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9152,6 +9263,7 @@ func awsAwsjson11_deserializeDocumentParameterGroupQuotaExceededFault(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9225,6 +9337,7 @@ func awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdate(v **types.Pend } sv.ServiceUpdateName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9233,6 +9346,7 @@ func awsAwsjson11_deserializeDocumentPendingModifiedServiceUpdate(v **types.Pend } sv.Status = types.ServiceUpdateStatus(jtv) } + default: _, _ = key, value @@ -9331,6 +9445,7 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } + case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -9339,6 +9454,7 @@ func awsAwsjson11_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } + default: _, _ = key, value @@ -9412,6 +9528,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ARN = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -9424,6 +9541,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.Duration = int32(i64) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -9457,6 +9575,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } } + case "NodeCount": if value != nil { jtv, ok := value.(json.Number) @@ -9469,6 +9588,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.NodeCount = int32(i64) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9477,6 +9597,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.NodeType = ptr.String(jtv) } + case "OfferingType": if value != nil { jtv, ok := value.(string) @@ -9485,10 +9606,12 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.OfferingType = ptr.String(jtv) } + case "RecurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservationId": if value != nil { jtv, ok := value.(string) @@ -9497,6 +9620,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ReservationId = ptr.String(jtv) } + case "ReservedNodesOfferingId": if value != nil { jtv, ok := value.(string) @@ -9505,6 +9629,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.ReservedNodesOfferingId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9520,6 +9645,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9528,6 +9654,7 @@ func awsAwsjson11_deserializeDocumentReservedNode(v **types.ReservedNode, value } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -9567,6 +9694,7 @@ func awsAwsjson11_deserializeDocumentReservedNodeAlreadyExistsFault(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9640,6 +9768,7 @@ func awsAwsjson11_deserializeDocumentReservedNodeNotFoundFault(v **types.Reserve } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9679,6 +9808,7 @@ func awsAwsjson11_deserializeDocumentReservedNodeQuotaExceededFault(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9722,6 +9852,7 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.Duration = int32(i64) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -9755,6 +9886,7 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -9763,6 +9895,7 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.NodeType = ptr.String(jtv) } + case "OfferingType": if value != nil { jtv, ok := value.(string) @@ -9771,10 +9904,12 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.OfferingType = ptr.String(jtv) } + case "RecurringCharges": if err := awsAwsjson11_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservedNodesOfferingId": if value != nil { jtv, ok := value.(string) @@ -9783,6 +9918,7 @@ func awsAwsjson11_deserializeDocumentReservedNodesOffering(v **types.ReservedNod } sv.ReservedNodesOfferingId = ptr.String(jtv) } + default: _, _ = key, value @@ -9856,6 +9992,7 @@ func awsAwsjson11_deserializeDocumentReservedNodesOfferingNotFoundFault(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9891,6 +10028,7 @@ func awsAwsjson11_deserializeDocumentReshardingStatus(v **types.ReshardingStatus if err := awsAwsjson11_deserializeDocumentSlotMigration(&sv.SlotMigration, value); err != nil { return err } + default: _, _ = key, value @@ -9930,6 +10068,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.SecurityGroupId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9938,6 +10077,7 @@ func awsAwsjson11_deserializeDocumentSecurityGroupMembership(v **types.SecurityG } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10011,6 +10151,7 @@ func awsAwsjson11_deserializeDocumentServiceLinkedRoleNotFoundFault(v **types.Se } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10057,6 +10198,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -10065,6 +10207,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.ClusterName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10073,6 +10216,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Description = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -10081,6 +10225,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Engine = ptr.String(jtv) } + case "NodesUpdated": if value != nil { jtv, ok := value.(string) @@ -10089,6 +10234,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.NodesUpdated = ptr.String(jtv) } + case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -10104,6 +10250,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } } + case "ServiceUpdateName": if value != nil { jtv, ok := value.(string) @@ -10112,6 +10259,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.ServiceUpdateName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10120,6 +10268,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Status = types.ServiceUpdateStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10128,6 +10277,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdate(v **types.ServiceUpdate, valu } sv.Type = types.ServiceUpdateType(jtv) } + default: _, _ = key, value @@ -10201,6 +10351,7 @@ func awsAwsjson11_deserializeDocumentServiceUpdateNotFoundFault(v **types.Servic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10240,10 +10391,12 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Nodes": if err := awsAwsjson11_deserializeDocumentNodeList(&sv.Nodes, value); err != nil { return err } + case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -10256,6 +10409,7 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.NumberOfNodes = ptr.Int32(int32(i64)) } + case "Slots": if value != nil { jtv, ok := value.(string) @@ -10264,6 +10418,7 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Slots = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10272,6 +10427,7 @@ func awsAwsjson11_deserializeDocumentShard(v **types.Shard, value interface{}) e } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10315,6 +10471,7 @@ func awsAwsjson11_deserializeDocumentShardConfiguration(v **types.ShardConfigura } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "Slots": if value != nil { jtv, ok := value.(string) @@ -10323,6 +10480,7 @@ func awsAwsjson11_deserializeDocumentShardConfiguration(v **types.ShardConfigura } sv.Slots = ptr.String(jtv) } + default: _, _ = key, value @@ -10358,6 +10516,7 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in if err := awsAwsjson11_deserializeDocumentShardConfiguration(&sv.Configuration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10366,6 +10525,7 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } sv.Name = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(string) @@ -10374,6 +10534,7 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } sv.Size = ptr.String(jtv) } + case "SnapshotCreationTime": if value != nil { switch jtv := value.(type) { @@ -10389,6 +10550,7 @@ func awsAwsjson11_deserializeDocumentShardDetail(v **types.ShardDetail, value in } } + default: _, _ = key, value @@ -10496,6 +10658,7 @@ func awsAwsjson11_deserializeDocumentShardNotFoundFault(v **types.ShardNotFoundF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10535,6 +10698,7 @@ func awsAwsjson11_deserializeDocumentShardsPerClusterQuotaExceededFault(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10599,6 +10763,7 @@ func awsAwsjson11_deserializeDocumentSlotMigration(v **types.SlotMigration, valu } } + default: _, _ = key, value @@ -10638,10 +10803,12 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ARN = ptr.String(jtv) } + case "ClusterConfiguration": if err := awsAwsjson11_deserializeDocumentClusterConfiguration(&sv.ClusterConfiguration, value); err != nil { return err } + case "DataTiering": if value != nil { jtv, ok := value.(string) @@ -10650,6 +10817,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.DataTiering = types.DataTieringStatus(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -10658,6 +10826,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10666,6 +10835,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Name = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -10674,6 +10844,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Source = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10682,6 +10853,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10721,6 +10893,7 @@ func awsAwsjson11_deserializeDocumentSnapshotAlreadyExistsFault(v **types.Snapsh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10794,6 +10967,7 @@ func awsAwsjson11_deserializeDocumentSnapshotNotFoundFault(v **types.SnapshotNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10833,6 +11007,7 @@ func awsAwsjson11_deserializeDocumentSnapshotQuotaExceededFault(v **types.Snapsh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10868,6 +11043,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) if err := awsAwsjson11_deserializeDocumentAvailabilityZone(&sv.AvailabilityZone, value); err != nil { return err } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -10876,6 +11052,7 @@ func awsAwsjson11_deserializeDocumentSubnet(v **types.Subnet, value interface{}) } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -10915,6 +11092,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10923,6 +11101,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10931,10 +11110,12 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.Name = ptr.String(jtv) } + case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnetList(&sv.Subnets, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -10943,6 +11124,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroup(v **types.SubnetGroup, value in } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10982,6 +11164,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupAlreadyExistsFault(v **types.Sub } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11021,6 +11204,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupInUseFault(v **types.SubnetGroup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11094,6 +11278,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupNotFoundFault(v **types.SubnetGr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11133,6 +11318,7 @@ func awsAwsjson11_deserializeDocumentSubnetGroupQuotaExceededFault(v **types.Sub } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11172,6 +11358,7 @@ func awsAwsjson11_deserializeDocumentSubnetInUse(v **types.SubnetInUse, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11245,6 +11432,7 @@ func awsAwsjson11_deserializeDocumentSubnetNotAllowedFault(v **types.SubnetNotAl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11284,6 +11472,7 @@ func awsAwsjson11_deserializeDocumentSubnetQuotaExceededFault(v **types.SubnetQu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11323,6 +11512,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11331,6 +11521,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11404,6 +11595,7 @@ func awsAwsjson11_deserializeDocumentTagNotFoundFault(v **types.TagNotFoundFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11443,6 +11635,7 @@ func awsAwsjson11_deserializeDocumentTagQuotaPerResourceExceeded(v **types.TagQu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11482,6 +11675,7 @@ func awsAwsjson11_deserializeDocumentTestFailoverNotAvailableFault(v **types.Tes } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11521,6 +11715,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ClusterName = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11529,6 +11724,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -11537,6 +11733,7 @@ func awsAwsjson11_deserializeDocumentUnprocessedCluster(v **types.UnprocessedClu } sv.ErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -11610,10 +11807,12 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.AccessString = ptr.String(jtv) } + case "ACLNames": if err := awsAwsjson11_deserializeDocumentACLNameList(&sv.ACLNames, value); err != nil { return err } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -11622,10 +11821,12 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ARN = ptr.String(jtv) } + case "Authentication": if err := awsAwsjson11_deserializeDocumentAuthentication(&sv.Authentication, value); err != nil { return err } + case "MinimumEngineVersion": if value != nil { jtv, ok := value.(string) @@ -11634,6 +11835,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.MinimumEngineVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11642,6 +11844,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11650,6 +11853,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11689,6 +11893,7 @@ func awsAwsjson11_deserializeDocumentUserAlreadyExistsFault(v **types.UserAlread } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11798,6 +12003,7 @@ func awsAwsjson11_deserializeDocumentUserNotFoundFault(v **types.UserNotFoundFau } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11837,6 +12043,7 @@ func awsAwsjson11_deserializeDocumentUserQuotaExceededFault(v **types.UserQuotaE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11872,10 +12079,12 @@ func awsAwsjson11_deserializeOpDocumentBatchUpdateClusterOutput(v **BatchUpdateC if err := awsAwsjson11_deserializeDocumentClusterList(&sv.ProcessedClusters, value); err != nil { return err } + case "UnprocessedClusters": if err := awsAwsjson11_deserializeDocumentUnprocessedClusterList(&sv.UnprocessedClusters, value); err != nil { return err } + default: _, _ = key, value @@ -11911,6 +12120,7 @@ func awsAwsjson11_deserializeOpDocumentCopySnapshotOutput(v **CopySnapshotOutput if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -11946,6 +12156,7 @@ func awsAwsjson11_deserializeOpDocumentCreateACLOutput(v **CreateACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } + default: _, _ = key, value @@ -11981,6 +12192,7 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -12016,6 +12228,7 @@ func awsAwsjson11_deserializeOpDocumentCreateParameterGroupOutput(v **CreatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12051,6 +12264,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -12086,6 +12300,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSubnetGroupOutput(v **CreateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12121,6 +12336,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -12156,6 +12372,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteACLOutput(v **DeleteACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } + default: _, _ = key, value @@ -12191,6 +12408,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -12226,6 +12444,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteParameterGroupOutput(v **DeletePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12261,6 +12480,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -12296,6 +12516,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSubnetGroupOutput(v **DeleteSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12331,6 +12552,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteUserOutput(v **DeleteUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -12366,6 +12588,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeACLsOutput(v **DescribeACLsOutput if err := awsAwsjson11_deserializeDocumentACLList(&sv.ACLs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12374,6 +12597,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeACLsOutput(v **DescribeACLsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12409,6 +12633,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste if err := awsAwsjson11_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12417,6 +12642,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClustersOutput(v **DescribeCluste } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12452,6 +12678,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentEngineVersionInfoList(&sv.EngineVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12460,6 +12687,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngineVersionsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12495,6 +12723,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu if err := awsAwsjson11_deserializeDocumentEventList(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -12503,6 +12732,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12542,10 +12772,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeParameterGroupsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ParameterGroups": if err := awsAwsjson11_deserializeDocumentParameterGroupList(&sv.ParameterGroups, value); err != nil { return err } + default: _, _ = key, value @@ -12585,10 +12817,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParametersList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -12628,10 +12862,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReservedNodesOfferingsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "ReservedNodesOfferings": if err := awsAwsjson11_deserializeDocumentReservedNodesOfferingList(&sv.ReservedNodesOfferings, value); err != nil { return err } + default: _, _ = key, value @@ -12671,10 +12907,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeReservedNodesOutput(v **DescribeR } sv.NextToken = ptr.String(jtv) } + case "ReservedNodes": if err := awsAwsjson11_deserializeDocumentReservedNodeList(&sv.ReservedNodes, value); err != nil { return err } + default: _, _ = key, value @@ -12714,10 +12952,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceUpdatesOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + case "ServiceUpdates": if err := awsAwsjson11_deserializeDocumentServiceUpdateList(&sv.ServiceUpdates, value); err != nil { return err } + default: _, _ = key, value @@ -12757,10 +12997,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotsOutput(v **DescribeSnaps } sv.NextToken = ptr.String(jtv) } + case "Snapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.Snapshots, value); err != nil { return err } + default: _, _ = key, value @@ -12800,10 +13042,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubnetGroupsOutput(v **DescribeSu } sv.NextToken = ptr.String(jtv) } + case "SubnetGroups": if err := awsAwsjson11_deserializeDocumentSubnetGroupList(&sv.SubnetGroups, value); err != nil { return err } + default: _, _ = key, value @@ -12843,10 +13087,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -12882,6 +13128,7 @@ func awsAwsjson11_deserializeOpDocumentFailoverShardOutput(v **FailoverShardOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -12917,10 +13164,12 @@ func awsAwsjson11_deserializeOpDocumentListAllowedNodeTypeUpdatesOutput(v **List if err := awsAwsjson11_deserializeDocumentNodeTypeList(&sv.ScaleDownNodeTypes, value); err != nil { return err } + case "ScaleUpNodeTypes": if err := awsAwsjson11_deserializeDocumentNodeTypeList(&sv.ScaleUpNodeTypes, value); err != nil { return err } + default: _, _ = key, value @@ -12956,6 +13205,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -12991,6 +13241,7 @@ func awsAwsjson11_deserializeOpDocumentPurchaseReservedNodesOfferingOutput(v **P if err := awsAwsjson11_deserializeDocumentReservedNode(&sv.ReservedNode, value); err != nil { return err } + default: _, _ = key, value @@ -13026,6 +13277,7 @@ func awsAwsjson11_deserializeOpDocumentResetParameterGroupOutput(v **ResetParame if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13061,6 +13313,7 @@ func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -13096,6 +13349,7 @@ func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -13131,6 +13385,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateACLOutput(v **UpdateACLOutput, valu if err := awsAwsjson11_deserializeDocumentACL(&sv.ACL, value); err != nil { return err } + default: _, _ = key, value @@ -13166,6 +13421,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp if err := awsAwsjson11_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -13201,6 +13457,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParameterGroupOutput(v **UpdatePara if err := awsAwsjson11_deserializeDocumentParameterGroup(&sv.ParameterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13236,6 +13493,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSubnetGroupOutput(v **UpdateSubnetG if err := awsAwsjson11_deserializeDocumentSubnetGroup(&sv.SubnetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13271,6 +13529,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsAwsjson11_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/mgn/deserializers.go b/service/mgn/deserializers.go index faa6b1a61ef..175c507e2fa 100644 --- a/service/mgn/deserializers.go +++ b/service/mgn/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -191,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -199,6 +201,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -207,6 +210,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -215,6 +219,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -223,6 +228,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -231,6 +237,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -239,10 +246,12 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -251,6 +260,7 @@ func awsRestjson1_deserializeOpDocumentArchiveApplicationOutput(v **ArchiveAppli } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -415,6 +425,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -423,6 +434,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -431,6 +443,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -439,6 +452,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -447,6 +461,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -455,14 +470,17 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -471,6 +489,7 @@ func awsRestjson1_deserializeOpDocumentArchiveWaveOutput(v **ArchiveWaveOutput, } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -829,6 +848,7 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -837,14 +857,17 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -853,6 +876,7 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -861,14 +885,17 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -877,10 +904,12 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -889,10 +918,12 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -901,6 +932,7 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -909,6 +941,7 @@ func awsRestjson1_deserializeOpDocumentChangeServerLifeCycleStateOutput(v **Chan } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -1066,6 +1099,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -1074,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1082,6 +1117,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -1090,6 +1126,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1098,6 +1135,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -1106,6 +1144,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -1114,6 +1153,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1122,10 +1162,12 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -1134,6 +1176,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -1292,6 +1335,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.Arn = ptr.String(jtv) } + case "connectorID": if value != nil { jtv, ok := value.(string) @@ -1300,6 +1344,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorID = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1308,10 +1353,12 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.Name = ptr.String(jtv) } + case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } + case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -1320,10 +1367,12 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.SsmInstanceID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1485,6 +1534,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.Arn = ptr.String(jtv) } + case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -1493,6 +1543,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "bootMode": if value != nil { jtv, ok := value.(string) @@ -1501,6 +1552,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.BootMode = types.BootMode(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -1509,6 +1561,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -1517,6 +1570,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -1525,6 +1579,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -1533,10 +1588,12 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.EnableMapAutoTagging = ptr.Bool(jtv) } + case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } + case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -1545,6 +1602,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -1553,10 +1611,12 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -1565,14 +1625,17 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.MapAutoTaggingMpeID = ptr.String(jtv) } + case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } + case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } + case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -1585,10 +1648,12 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.SmallVolumeMaxSize = i64 } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -1597,6 +1662,7 @@ func awsRestjson1_deserializeOpDocumentCreateLaunchConfigurationTemplateOutput(v } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -1758,6 +1824,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -1766,6 +1833,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -1778,6 +1846,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -1786,6 +1855,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -1794,6 +1864,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -1802,6 +1873,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -1810,6 +1882,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1818,6 +1891,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -1826,6 +1900,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -1834,10 +1909,12 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -1846,14 +1923,17 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -1862,6 +1942,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -1870,6 +1951,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationConfigurationTemplateOut } sv.UseFipsEndpoint = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2031,6 +2113,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -2039,6 +2122,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2047,6 +2131,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -2055,6 +2140,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -2063,6 +2149,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2071,14 +2158,17 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -2087,6 +2177,7 @@ func awsRestjson1_deserializeOpDocumentCreateWaveOutput(v **CreateWaveOutput, va } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -3005,6 +3096,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob if err := awsRestjson1_deserializeDocumentJobLogs(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3013,6 +3105,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobLogItemsOutput(v **DescribeJob } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3167,6 +3260,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput if err := awsRestjson1_deserializeDocumentJobsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3175,6 +3269,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJobsOutput(v **DescribeJobsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3332,6 +3427,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu if err := awsRestjson1_deserializeDocumentLaunchConfigurationTemplates(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3340,6 +3436,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLaunchConfigurationTemplatesOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3497,6 +3594,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates if err := awsRestjson1_deserializeDocumentReplicationConfigurationTemplates(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3505,6 +3603,7 @@ func awsRestjson1_deserializeOpDocumentDescribeReplicationConfigurationTemplates } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3659,6 +3758,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS if err := awsRestjson1_deserializeDocumentSourceServersList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3667,6 +3767,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSourceServersOutput(v **DescribeS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3824,6 +3925,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVcenterClientsOutput(v **Describe if err := awsRestjson1_deserializeDocumentVcenterClientList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3832,6 +3934,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVcenterClientsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4181,6 +4284,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4189,14 +4293,17 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -4205,6 +4312,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -4213,14 +4321,17 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -4229,10 +4340,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4241,10 +4354,12 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -4253,6 +4368,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -4261,6 +4377,7 @@ func awsRestjson1_deserializeOpDocumentDisconnectFromServiceOutput(v **Disconnec } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -4425,6 +4542,7 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4433,14 +4551,17 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -4449,6 +4570,7 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -4457,14 +4579,17 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -4473,10 +4598,12 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4485,10 +4612,12 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -4497,6 +4626,7 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -4505,6 +4635,7 @@ func awsRestjson1_deserializeOpDocumentFinalizeCutoverOutput(v **FinalizeCutover } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -4663,6 +4794,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.BootMode = types.BootMode(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -4671,6 +4803,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -4679,6 +4812,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -4687,6 +4821,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -4695,6 +4830,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.EnableMapAutoTagging = ptr.Bool(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -4703,10 +4839,12 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -4715,6 +4853,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.MapAutoTaggingMpeID = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4723,10 +4862,12 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.Name = ptr.String(jtv) } + case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4735,6 +4876,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -4743,6 +4885,7 @@ func awsRestjson1_deserializeOpDocumentGetLaunchConfigurationOutput(v **GetLaunc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -4901,6 +5044,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -4913,6 +5057,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -4921,6 +5066,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -4929,6 +5075,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -4937,6 +5084,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -4945,6 +5093,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -4953,6 +5102,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4961,10 +5111,12 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.Name = ptr.String(jtv) } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -4973,10 +5125,12 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -4985,6 +5139,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.SourceServerID = ptr.String(jtv) } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -4993,10 +5148,12 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -5005,6 +5162,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -5013,6 +5171,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationConfigurationOutput(v **Get } sv.UseFipsEndpoint = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5255,6 +5414,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5263,6 +5423,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5417,6 +5578,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5425,6 +5587,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5579,6 +5742,7 @@ func awsRestjson1_deserializeOpDocumentListExportErrorsOutput(v **ListExportErro if err := awsRestjson1_deserializeDocumentExportErrors(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5587,6 +5751,7 @@ func awsRestjson1_deserializeOpDocumentListExportErrorsOutput(v **ListExportErro } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5738,6 +5903,7 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, if err := awsRestjson1_deserializeDocumentExportsList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5746,6 +5912,7 @@ func awsRestjson1_deserializeOpDocumentListExportsOutput(v **ListExportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5900,6 +6067,7 @@ func awsRestjson1_deserializeOpDocumentListImportErrorsOutput(v **ListImportErro if err := awsRestjson1_deserializeDocumentImportErrors(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5908,6 +6076,7 @@ func awsRestjson1_deserializeOpDocumentListImportErrorsOutput(v **ListImportErro } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6062,6 +6231,7 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, if err := awsRestjson1_deserializeDocumentImportList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6070,6 +6240,7 @@ func awsRestjson1_deserializeOpDocumentListImportsOutput(v **ListImportsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6224,6 +6395,7 @@ func awsRestjson1_deserializeOpDocumentListManagedAccountsOutput(v **ListManaged if err := awsRestjson1_deserializeDocumentManagedAccounts(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6232,6 +6404,7 @@ func awsRestjson1_deserializeOpDocumentListManagedAccountsOutput(v **ListManaged } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6386,6 +6559,7 @@ func awsRestjson1_deserializeOpDocumentListSourceServerActionsOutput(v **ListSou if err := awsRestjson1_deserializeDocumentSourceServerActionDocuments(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6394,6 +6568,7 @@ func awsRestjson1_deserializeOpDocumentListSourceServerActionsOutput(v **ListSou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6557,6 +6732,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6711,6 +6887,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateActionsOutput(v **ListTemplat if err := awsRestjson1_deserializeDocumentTemplateActionDocuments(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6719,6 +6896,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateActionsOutput(v **ListTemplat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6870,6 +7048,7 @@ func awsRestjson1_deserializeOpDocumentListWavesOutput(v **ListWavesOutput, valu if err := awsRestjson1_deserializeDocumentWavesList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6878,6 +7057,7 @@ func awsRestjson1_deserializeOpDocumentListWavesOutput(v **ListWavesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7039,6 +7219,7 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -7047,14 +7228,17 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -7063,6 +7247,7 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -7071,14 +7256,17 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -7087,10 +7275,12 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7099,10 +7289,12 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -7111,6 +7303,7 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -7119,6 +7312,7 @@ func awsRestjson1_deserializeOpDocumentMarkAsArchivedOutput(v **MarkAsArchivedOu } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -7286,6 +7480,7 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -7294,14 +7489,17 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -7310,6 +7508,7 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -7318,14 +7517,17 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -7334,10 +7536,12 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -7346,10 +7550,12 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7564,7 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -7366,6 +7573,7 @@ func awsRestjson1_deserializeOpDocumentPauseReplicationOutput(v **PauseReplicati } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -7530,6 +7738,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.ActionID = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -7538,6 +7747,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.ActionName = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -7546,6 +7756,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -7554,6 +7765,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Category = types.ActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7562,6 +7774,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Description = ptr.String(jtv) } + case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -7570,6 +7783,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.DocumentIdentifier = ptr.String(jtv) } + case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -7578,10 +7792,12 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.DocumentVersion = ptr.String(jtv) } + case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } + case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -7590,6 +7806,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.MustSucceedForCutover = ptr.Bool(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -7602,10 +7819,12 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7618,6 +7837,7 @@ func awsRestjson1_deserializeOpDocumentPutSourceServerActionOutput(v **PutSource } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7782,6 +8002,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.ActionID = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -7790,6 +8011,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.ActionName = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -7798,6 +8020,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -7806,6 +8029,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Category = types.ActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7814,6 +8038,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Description = ptr.String(jtv) } + case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -7822,6 +8047,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.DocumentIdentifier = ptr.String(jtv) } + case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -7830,10 +8056,12 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.DocumentVersion = ptr.String(jtv) } + case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } + case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -7842,6 +8070,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.MustSucceedForCutover = ptr.Bool(jtv) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -7850,6 +8079,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.OperatingSystem = ptr.String(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -7862,10 +8092,12 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7878,6 +8110,7 @@ func awsRestjson1_deserializeOpDocumentPutTemplateActionOutput(v **PutTemplateAc } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8233,6 +8466,7 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8241,14 +8475,17 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -8257,6 +8494,7 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -8265,14 +8503,17 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -8281,10 +8522,12 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8293,10 +8536,12 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -8305,6 +8550,7 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -8313,6 +8559,7 @@ func awsRestjson1_deserializeOpDocumentResumeReplicationOutput(v **ResumeReplica } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -8474,6 +8721,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8482,14 +8730,17 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -8498,6 +8749,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -8506,14 +8758,17 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -8522,10 +8777,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -8534,10 +8791,12 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -8546,6 +8805,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -8554,6 +8814,7 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -8711,6 +8972,7 @@ func awsRestjson1_deserializeOpDocumentStartCutoverOutput(v **StartCutoverOutput if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -8868,6 +9130,7 @@ func awsRestjson1_deserializeOpDocumentStartExportOutput(v **StartExportOutput, if err := awsRestjson1_deserializeDocumentExportTask(&sv.ExportTask, value); err != nil { return err } + default: _, _ = key, value @@ -9031,6 +9294,7 @@ func awsRestjson1_deserializeOpDocumentStartImportOutput(v **StartImportOutput, if err := awsRestjson1_deserializeDocumentImportTask(&sv.ImportTask, value); err != nil { return err } + default: _, _ = key, value @@ -9198,6 +9462,7 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -9206,14 +9471,17 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -9222,6 +9490,7 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -9230,14 +9499,17 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -9246,10 +9518,12 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -9258,10 +9532,12 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -9270,6 +9546,7 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -9278,6 +9555,7 @@ func awsRestjson1_deserializeOpDocumentStartReplicationOutput(v **StartReplicati } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -9435,6 +9713,7 @@ func awsRestjson1_deserializeOpDocumentStartTestOutput(v **StartTestOutput, valu if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -9602,6 +9881,7 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -9610,14 +9890,17 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -9626,6 +9909,7 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -9634,14 +9918,17 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -9650,10 +9937,12 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -9662,10 +9951,12 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -9674,6 +9965,7 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -9682,6 +9974,7 @@ func awsRestjson1_deserializeOpDocumentStopReplicationOutput(v **StopReplication } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -9945,6 +10238,7 @@ func awsRestjson1_deserializeOpDocumentTerminateTargetInstancesOutput(v **Termin if err := awsRestjson1_deserializeDocumentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -10102,6 +10396,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -10110,6 +10405,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10118,6 +10414,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10126,6 +10423,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10134,6 +10432,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -10142,6 +10441,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -10150,6 +10450,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10158,10 +10459,12 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -10170,6 +10473,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveApplicationOutput(v **UnarchiveA } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -10331,6 +10635,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10339,6 +10644,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10347,6 +10653,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -10355,6 +10662,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -10363,6 +10671,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10371,14 +10680,17 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -10387,6 +10699,7 @@ func awsRestjson1_deserializeOpDocumentUnarchiveWaveOutput(v **UnarchiveWaveOutp } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -10650,6 +10963,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -10658,6 +10972,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10666,6 +10981,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -10674,6 +10990,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10682,6 +10999,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -10690,6 +11008,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -10698,6 +11017,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10706,10 +11026,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -10718,6 +11040,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -10879,6 +11202,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.Arn = ptr.String(jtv) } + case "connectorID": if value != nil { jtv, ok := value.(string) @@ -10887,6 +11211,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorID = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10895,10 +11220,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.Name = ptr.String(jtv) } + case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } + case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -10907,10 +11234,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.SsmInstanceID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11075,6 +11404,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.BootMode = types.BootMode(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -11083,6 +11413,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -11091,6 +11422,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -11099,6 +11431,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -11107,6 +11440,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.EnableMapAutoTagging = ptr.Bool(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -11115,10 +11449,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11463,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.MapAutoTaggingMpeID = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11135,10 +11472,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.Name = ptr.String(jtv) } + case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11147,6 +11486,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -11155,6 +11495,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationOutput(v **Updat } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -11319,6 +11660,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.Arn = ptr.String(jtv) } + case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -11327,6 +11669,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "bootMode": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11678,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.BootMode = types.BootMode(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -11343,6 +11687,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -11351,6 +11696,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -11359,6 +11705,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -11367,10 +11714,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.EnableMapAutoTagging = ptr.Bool(jtv) } + case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } + case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -11379,6 +11728,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -11387,10 +11737,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -11399,14 +11751,17 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.MapAutoTaggingMpeID = ptr.String(jtv) } + case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } + case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } + case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -11419,10 +11774,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.SmallVolumeMaxSize = i64 } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -11431,6 +11788,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLaunchConfigurationTemplateOutput(v } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -11598,6 +11956,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -11610,6 +11969,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -11618,6 +11978,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -11626,6 +11987,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -11634,6 +11996,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -11642,6 +12005,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11650,6 +12014,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11658,10 +12023,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.Name = ptr.String(jtv) } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -11670,10 +12037,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -11682,6 +12051,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.SourceServerID = ptr.String(jtv) } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -11690,10 +12060,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -11702,6 +12074,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -11710,6 +12083,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationOutput(v ** } sv.UseFipsEndpoint = ptr.Bool(jtv) } + default: _, _ = key, value @@ -11874,6 +12248,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -11882,6 +12257,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -11894,6 +12270,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -11902,6 +12279,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -11910,6 +12288,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -11918,6 +12297,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -11926,6 +12306,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -11934,6 +12315,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -11942,6 +12324,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -11950,10 +12333,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -11962,14 +12347,17 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -11978,6 +12366,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -11986,6 +12375,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReplicationConfigurationTemplateOut } sv.UseFipsEndpoint = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12147,6 +12537,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -12155,14 +12546,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -12171,6 +12565,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -12179,14 +12574,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -12195,10 +12593,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12207,10 +12607,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -12219,6 +12621,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -12227,6 +12630,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerOutput(v **UpdateSource } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -12391,6 +12795,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -12399,14 +12804,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -12415,6 +12823,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -12423,14 +12832,17 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -12439,10 +12851,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -12451,10 +12865,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -12463,6 +12879,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -12471,6 +12888,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSourceServerReplicationTypeOutput(v } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -12632,6 +13050,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -12640,6 +13059,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12648,6 +13068,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -12656,6 +13077,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -12664,6 +13086,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12672,14 +13095,17 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -12688,6 +13114,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWaveOutput(v **UpdateWaveOutput, va } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -13051,6 +13478,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13059,6 +13487,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13094,6 +13523,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationAggregatedStatus(&sv.ApplicationAggregatedStatus, value); err != nil { return err } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -13102,6 +13532,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -13110,6 +13541,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -13118,6 +13550,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -13126,6 +13559,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -13134,6 +13568,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -13142,6 +13577,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13150,10 +13586,12 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -13162,6 +13600,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -13201,6 +13640,7 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.HealthStatus = types.ApplicationHealthStatus(jtv) } + case "lastUpdateDateTime": if value != nil { jtv, ok := value.(string) @@ -13209,6 +13649,7 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.LastUpdateDateTime = ptr.String(jtv) } + case "progressStatus": if value != nil { jtv, ok := value.(string) @@ -13217,6 +13658,7 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.ProgressStatus = types.ApplicationProgressStatus(jtv) } + case "totalSourceServers": if value != nil { jtv, ok := value.(json.Number) @@ -13229,6 +13671,7 @@ func awsRestjson1_deserializeDocumentApplicationAggregatedStatus(v **types.Appli } sv.TotalSourceServers = i64 } + default: _, _ = key, value @@ -13302,10 +13745,12 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "errors": if err := awsRestjson1_deserializeDocumentConflictExceptionErrors(&sv.Errors, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13759,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13322,6 +13768,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13330,6 +13777,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13403,6 +13851,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } + case "connectorID": if value != nil { jtv, ok := value.(string) @@ -13411,6 +13860,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorID = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13419,10 +13869,12 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Name = ptr.String(jtv) } + case "ssmCommandConfig": if err := awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(&sv.SsmCommandConfig, value); err != nil { return err } + case "ssmInstanceID": if value != nil { jtv, ok := value.(string) @@ -13431,10 +13883,12 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.SsmInstanceID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13508,6 +13962,7 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.CloudWatchLogGroupName = ptr.String(jtv) } + case "cloudWatchOutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -13516,6 +13971,7 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.CloudWatchOutputEnabled = ptr.Bool(jtv) } + case "outputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -13524,6 +13980,7 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.OutputS3BucketName = ptr.String(jtv) } + case "s3OutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -13532,6 +13989,7 @@ func awsRestjson1_deserializeDocumentConnectorSsmCommandConfig(v **types.Connect } sv.S3OutputEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13575,6 +14033,7 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.Cores = i64 } + case "modelName": if value != nil { jtv, ok := value.(string) @@ -13583,6 +14042,7 @@ func awsRestjson1_deserializeDocumentCPU(v **types.CPU, value interface{}) error } sv.ModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -13656,6 +14116,7 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.Error = types.DataReplicationErrorString(jtv) } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -13664,6 +14125,7 @@ func awsRestjson1_deserializeDocumentDataReplicationError(v **types.DataReplicat } sv.RawError = ptr.String(jtv) } + default: _, _ = key, value @@ -13699,10 +14161,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati if err := awsRestjson1_deserializeDocumentDataReplicationError(&sv.DataReplicationError, value); err != nil { return err } + case "dataReplicationInitiation": if err := awsRestjson1_deserializeDocumentDataReplicationInitiation(&sv.DataReplicationInitiation, value); err != nil { return err } + case "dataReplicationState": if value != nil { jtv, ok := value.(string) @@ -13711,6 +14175,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.DataReplicationState = types.DataReplicationState(jtv) } + case "etaDateTime": if value != nil { jtv, ok := value.(string) @@ -13719,6 +14184,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.EtaDateTime = ptr.String(jtv) } + case "lagDuration": if value != nil { jtv, ok := value.(string) @@ -13727,6 +14193,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LagDuration = ptr.String(jtv) } + case "lastSnapshotDateTime": if value != nil { jtv, ok := value.(string) @@ -13735,10 +14202,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInfo(v **types.DataReplicati } sv.LastSnapshotDateTime = ptr.String(jtv) } + case "replicatedDisks": if err := awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisks(&sv.ReplicatedDisks, value); err != nil { return err } + default: _, _ = key, value @@ -13782,6 +14251,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.BackloggedStorageBytes = i64 } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -13790,6 +14260,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.DeviceName = ptr.String(jtv) } + case "replicatedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13802,6 +14273,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.ReplicatedStorageBytes = i64 } + case "rescannedStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13814,6 +14286,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.RescannedStorageBytes = i64 } + case "totalStorageBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13826,6 +14299,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInfoReplicatedDisk(v **types } sv.TotalStorageBytes = i64 } + default: _, _ = key, value @@ -13899,6 +14373,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.NextAttemptDateTime = ptr.String(jtv) } + case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -13907,10 +14382,12 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiation(v **types.DataRep } sv.StartDateTime = ptr.String(jtv) } + case "steps": if err := awsRestjson1_deserializeDocumentDataReplicationInitiationSteps(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -13950,6 +14427,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Name = types.DataReplicationInitiationStepName(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13958,6 +14436,7 @@ func awsRestjson1_deserializeDocumentDataReplicationInitiationStep(v **types.Dat } sv.Status = types.DataReplicationInitiationStepStatus(jtv) } + default: _, _ = key, value @@ -14035,6 +14514,7 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.Bytes = i64 } + case "deviceName": if value != nil { jtv, ok := value.(string) @@ -14043,6 +14523,7 @@ func awsRestjson1_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DeviceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14116,6 +14597,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14124,6 +14606,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14132,6 +14615,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14140,6 +14624,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14179,6 +14664,7 @@ func awsRestjson1_deserializeDocumentExportErrorData(v **types.ExportErrorData, } sv.RawError = ptr.String(jtv) } + default: _, _ = key, value @@ -14286,6 +14772,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.CreationDateTime = ptr.String(jtv) } + case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14781,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.EndDateTime = ptr.String(jtv) } + case "exportID": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14790,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.ExportID = ptr.String(jtv) } + case "progressPercentage": if value != nil { switch jtv := value.(type) { @@ -14335,6 +14824,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -14343,6 +14833,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3Bucket = ptr.String(jtv) } + case "s3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -14351,6 +14842,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3BucketOwner = ptr.String(jtv) } + case "s3Key": if value != nil { jtv, ok := value.(string) @@ -14359,6 +14851,7 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.S3Key = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14367,10 +14860,12 @@ func awsRestjson1_deserializeDocumentExportTask(v **types.ExportTask, value inte } sv.Status = types.ExportStatus(jtv) } + case "summary": if err := awsRestjson1_deserializeDocumentExportTaskSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -14406,6 +14901,7 @@ func awsRestjson1_deserializeDocumentExportTaskError(v **types.ExportTaskError, if err := awsRestjson1_deserializeDocumentExportErrorData(&sv.ErrorData, value); err != nil { return err } + case "errorDateTime": if value != nil { jtv, ok := value.(string) @@ -14414,6 +14910,7 @@ func awsRestjson1_deserializeDocumentExportTaskError(v **types.ExportTaskError, } sv.ErrorDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -14457,6 +14954,7 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.ApplicationsCount = i64 } + case "serversCount": if value != nil { jtv, ok := value.(json.Number) @@ -14469,6 +14967,7 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.ServersCount = i64 } + case "wavesCount": if value != nil { jtv, ok := value.(json.Number) @@ -14481,6 +14980,7 @@ func awsRestjson1_deserializeDocumentExportTaskSummary(v **types.ExportTaskSumma } sv.WavesCount = i64 } + default: _, _ = key, value @@ -14520,6 +15020,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.AwsInstanceID = ptr.String(jtv) } + case "fqdn": if value != nil { jtv, ok := value.(string) @@ -14528,6 +15029,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Fqdn = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -14536,6 +15038,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.Hostname = ptr.String(jtv) } + case "vmPath": if value != nil { jtv, ok := value.(string) @@ -14544,6 +15047,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmPath = ptr.String(jtv) } + case "vmWareUuid": if value != nil { jtv, ok := value.(string) @@ -14552,6 +15056,7 @@ func awsRestjson1_deserializeDocumentIdentificationHints(v **types.Identificatio } sv.VmWareUuid = ptr.String(jtv) } + default: _, _ = key, value @@ -14591,6 +15096,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.AccountID = ptr.String(jtv) } + case "applicationID": if value != nil { jtv, ok := value.(string) @@ -14599,6 +15105,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.ApplicationID = ptr.String(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -14607,6 +15114,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -14615,6 +15123,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.RawError = ptr.String(jtv) } + case "rowNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14627,6 +15136,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.RowNumber = i64 } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -14635,6 +15145,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.SourceServerID = ptr.String(jtv) } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -14643,6 +15154,7 @@ func awsRestjson1_deserializeDocumentImportErrorData(v **types.ImportErrorData, } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -14750,6 +15262,7 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.CreationDateTime = ptr.String(jtv) } + case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -14758,6 +15271,7 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.EndDateTime = ptr.String(jtv) } + case "importID": if value != nil { jtv, ok := value.(string) @@ -14766,6 +15280,7 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.ImportID = ptr.String(jtv) } + case "progressPercentage": if value != nil { switch jtv := value.(type) { @@ -14799,10 +15314,12 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } } + case "s3BucketSource": if err := awsRestjson1_deserializeDocumentS3BucketSource(&sv.S3BucketSource, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14811,10 +15328,12 @@ func awsRestjson1_deserializeDocumentImportTask(v **types.ImportTask, value inte } sv.Status = types.ImportStatus(jtv) } + case "summary": if err := awsRestjson1_deserializeDocumentImportTaskSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -14850,6 +15369,7 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, if err := awsRestjson1_deserializeDocumentImportErrorData(&sv.ErrorData, value); err != nil { return err } + case "errorDateTime": if value != nil { jtv, ok := value.(string) @@ -14858,6 +15378,7 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, } sv.ErrorDateTime = ptr.String(jtv) } + case "errorType": if value != nil { jtv, ok := value.(string) @@ -14866,6 +15387,7 @@ func awsRestjson1_deserializeDocumentImportTaskError(v **types.ImportTaskError, } sv.ErrorType = types.ImportErrorType(jtv) } + default: _, _ = key, value @@ -14901,14 +15423,17 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma if err := awsRestjson1_deserializeDocumentImportTaskSummaryApplications(&sv.Applications, value); err != nil { return err } + case "servers": if err := awsRestjson1_deserializeDocumentImportTaskSummaryServers(&sv.Servers, value); err != nil { return err } + case "waves": if err := awsRestjson1_deserializeDocumentImportTaskSummaryWaves(&sv.Waves, value); err != nil { return err } + default: _, _ = key, value @@ -14952,6 +15477,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryApplications(v **types.Imp } sv.CreatedCount = i64 } + case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -14964,6 +15490,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryApplications(v **types.Imp } sv.ModifiedCount = i64 } + default: _, _ = key, value @@ -15007,6 +15534,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryServers(v **types.ImportTa } sv.CreatedCount = i64 } + case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -15019,6 +15547,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryServers(v **types.ImportTa } sv.ModifiedCount = i64 } + default: _, _ = key, value @@ -15062,6 +15591,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryWaves(v **types.ImportTask } sv.CreatedCount = i64 } + case "modifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -15074,6 +15604,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummaryWaves(v **types.ImportTask } sv.ModifiedCount = i64 } + default: _, _ = key, value @@ -15113,6 +15644,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15125,6 +15657,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = i64 } + default: _, _ = key, value @@ -15200,6 +15733,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -15208,6 +15742,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.CreationDateTime = ptr.String(jtv) } + case "endDateTime": if value != nil { jtv, ok := value.(string) @@ -15216,6 +15751,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.EndDateTime = ptr.String(jtv) } + case "initiatedBy": if value != nil { jtv, ok := value.(string) @@ -15224,6 +15760,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -15232,10 +15769,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobID = ptr.String(jtv) } + case "participatingServers": if err := awsRestjson1_deserializeDocumentParticipatingServers(&sv.ParticipatingServers, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15244,10 +15783,12 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Status = types.JobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -15256,6 +15797,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.Type = types.JobType(jtv) } + default: _, _ = key, value @@ -15295,10 +15837,12 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.Event = types.JobLogEvent(jtv) } + case "eventData": if err := awsRestjson1_deserializeDocumentJobLogEventData(&sv.EventData, value); err != nil { return err } + case "logDateTime": if value != nil { jtv, ok := value.(string) @@ -15307,6 +15851,7 @@ func awsRestjson1_deserializeDocumentJobLog(v **types.JobLog, value interface{}) } sv.LogDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -15346,6 +15891,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.ConversionServerID = ptr.String(jtv) } + case "rawError": if value != nil { jtv, ok := value.(string) @@ -15354,6 +15900,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.RawError = ptr.String(jtv) } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -15362,6 +15909,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.SourceServerID = ptr.String(jtv) } + case "targetInstanceID": if value != nil { jtv, ok := value.(string) @@ -15370,6 +15918,7 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, } sv.TargetInstanceID = ptr.String(jtv) } + default: _, _ = key, value @@ -15443,6 +15992,7 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.ExecutionID = ptr.String(jtv) } + case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -15451,6 +16001,7 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.ExecutionStatus = types.PostLaunchActionExecutionStatus(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15459,10 +16010,12 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.FailureReason = ptr.String(jtv) } + case "ssmDocument": if err := awsRestjson1_deserializeDocumentSsmDocument(&sv.SsmDocument, value); err != nil { return err } + case "ssmDocumentType": if value != nil { jtv, ok := value.(string) @@ -15471,6 +16024,7 @@ func awsRestjson1_deserializeDocumentJobPostLaunchActionsLaunchStatus(v **types. } sv.SsmDocumentType = types.SsmDocumentType(jtv) } + default: _, _ = key, value @@ -15544,6 +16098,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Arn = ptr.String(jtv) } + case "associatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -15552,6 +16107,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "bootMode": if value != nil { jtv, ok := value.(string) @@ -15560,6 +16116,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.BootMode = types.BootMode(jtv) } + case "copyPrivateIp": if value != nil { jtv, ok := value.(bool) @@ -15568,6 +16125,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyPrivateIp = ptr.Bool(jtv) } + case "copyTags": if value != nil { jtv, ok := value.(bool) @@ -15576,6 +16134,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.CopyTags = ptr.Bool(jtv) } + case "ec2LaunchTemplateID": if value != nil { jtv, ok := value.(string) @@ -15584,6 +16143,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.Ec2LaunchTemplateID = ptr.String(jtv) } + case "enableMapAutoTagging": if value != nil { jtv, ok := value.(bool) @@ -15592,10 +16152,12 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.EnableMapAutoTagging = ptr.Bool(jtv) } + case "largeVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.LargeVolumeConf, value); err != nil { return err } + case "launchConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -15604,6 +16166,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchConfigurationTemplateID = ptr.String(jtv) } + case "launchDisposition": if value != nil { jtv, ok := value.(string) @@ -15612,10 +16175,12 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.LaunchDisposition = types.LaunchDisposition(jtv) } + case "licensing": if err := awsRestjson1_deserializeDocumentLicensing(&sv.Licensing, value); err != nil { return err } + case "mapAutoTaggingMpeID": if value != nil { jtv, ok := value.(string) @@ -15624,14 +16189,17 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.MapAutoTaggingMpeID = ptr.String(jtv) } + case "postLaunchActions": if err := awsRestjson1_deserializeDocumentPostLaunchActions(&sv.PostLaunchActions, value); err != nil { return err } + case "smallVolumeConf": if err := awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(&sv.SmallVolumeConf, value); err != nil { return err } + case "smallVolumeMaxSize": if value != nil { jtv, ok := value.(json.Number) @@ -15644,10 +16212,12 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.SmallVolumeMaxSize = i64 } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "targetInstanceTypeRightSizingMethod": if value != nil { jtv, ok := value.(string) @@ -15656,6 +16226,7 @@ func awsRestjson1_deserializeDocumentLaunchConfigurationTemplate(v **types.Launc } sv.TargetInstanceTypeRightSizingMethod = types.TargetInstanceTypeRightSizingMethod(jtv) } + default: _, _ = key, value @@ -15729,6 +16300,7 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.Ec2InstanceID = ptr.String(jtv) } + case "firstBoot": if value != nil { jtv, ok := value.(string) @@ -15737,6 +16309,7 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.FirstBoot = types.FirstBoot(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -15745,6 +16318,7 @@ func awsRestjson1_deserializeDocumentLaunchedInstance(v **types.LaunchedInstance } sv.JobID = ptr.String(jtv) } + default: _, _ = key, value @@ -15788,6 +16362,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.Iops = ptr.Int64(i64) } + case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -15800,6 +16375,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.Throughput = ptr.Int64(i64) } + case "volumeType": if value != nil { jtv, ok := value.(string) @@ -15808,6 +16384,7 @@ func awsRestjson1_deserializeDocumentLaunchTemplateDiskConf(v **types.LaunchTemp } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -15847,6 +16424,7 @@ func awsRestjson1_deserializeDocumentLicensing(v **types.Licensing, value interf } sv.OsByol = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15886,6 +16464,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.AddedToServiceDateTime = ptr.String(jtv) } + case "elapsedReplicationDuration": if value != nil { jtv, ok := value.(string) @@ -15894,6 +16473,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.ElapsedReplicationDuration = ptr.String(jtv) } + case "firstByteDateTime": if value != nil { jtv, ok := value.(string) @@ -15902,10 +16482,12 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.FirstByteDateTime = ptr.String(jtv) } + case "lastCutover": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutover(&sv.LastCutover, value); err != nil { return err } + case "lastSeenByServiceDateTime": if value != nil { jtv, ok := value.(string) @@ -15914,10 +16496,12 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.LastSeenByServiceDateTime = ptr.String(jtv) } + case "lastTest": if err := awsRestjson1_deserializeDocumentLifeCycleLastTest(&sv.LastTest, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -15926,6 +16510,7 @@ func awsRestjson1_deserializeDocumentLifeCycle(v **types.LifeCycle, value interf } sv.State = types.LifeCycleState(jtv) } + default: _, _ = key, value @@ -15961,14 +16546,17 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutover(v **types.LifeCycleLas if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverFinalized(&sv.Finalized, value); err != nil { return err } + case "initiated": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(&sv.Initiated, value); err != nil { return err } + case "reverted": if err := awsRestjson1_deserializeDocumentLifeCycleLastCutoverReverted(&sv.Reverted, value); err != nil { return err } + default: _, _ = key, value @@ -16008,6 +16596,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverFinalized(v **types.Lif } sv.ApiCallDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -16047,6 +16636,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(v **types.Lif } sv.ApiCallDateTime = ptr.String(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -16055,6 +16645,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverInitiated(v **types.Lif } sv.JobID = ptr.String(jtv) } + default: _, _ = key, value @@ -16094,6 +16685,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastCutoverReverted(v **types.Life } sv.ApiCallDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -16129,14 +16721,17 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTest(v **types.LifeCycleLastTe if err := awsRestjson1_deserializeDocumentLifeCycleLastTestFinalized(&sv.Finalized, value); err != nil { return err } + case "initiated": if err := awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(&sv.Initiated, value); err != nil { return err } + case "reverted": if err := awsRestjson1_deserializeDocumentLifeCycleLastTestReverted(&sv.Reverted, value); err != nil { return err } + default: _, _ = key, value @@ -16176,6 +16771,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestFinalized(v **types.LifeCy } sv.ApiCallDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -16215,6 +16811,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(v **types.LifeCy } sv.ApiCallDateTime = ptr.String(jtv) } + case "jobID": if value != nil { jtv, ok := value.(string) @@ -16223,6 +16820,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestInitiated(v **types.LifeCy } sv.JobID = ptr.String(jtv) } + default: _, _ = key, value @@ -16262,6 +16860,7 @@ func awsRestjson1_deserializeDocumentLifeCycleLastTestReverted(v **types.LifeCyc } sv.ApiCallDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -16301,6 +16900,7 @@ func awsRestjson1_deserializeDocumentManagedAccount(v **types.ManagedAccount, va } sv.AccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -16370,6 +16970,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface if err := awsRestjson1_deserializeDocumentIPsList(&sv.Ips, value); err != nil { return err } + case "isPrimary": if value != nil { jtv, ok := value.(bool) @@ -16378,6 +16979,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.IsPrimary = ptr.Bool(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -16386,6 +16988,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -16459,6 +17062,7 @@ func awsRestjson1_deserializeDocumentOS(v **types.OS, value interface{}) error { } sv.FullString = ptr.String(jtv) } + default: _, _ = key, value @@ -16498,6 +17102,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchedEc2InstanceID = ptr.String(jtv) } + case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -16506,10 +17111,12 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.LaunchStatus = types.LaunchStatus(jtv) } + case "postLaunchActionsStatus": if err := awsRestjson1_deserializeDocumentPostLaunchActionsStatus(&sv.PostLaunchActionsStatus, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -16518,6 +17125,7 @@ func awsRestjson1_deserializeDocumentParticipatingServer(v **types.Participating } sv.SourceServerID = ptr.String(jtv) } + default: _, _ = key, value @@ -16591,6 +17199,7 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.CloudWatchLogGroupName = ptr.String(jtv) } + case "deployment": if value != nil { jtv, ok := value.(string) @@ -16599,6 +17208,7 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.Deployment = types.PostLaunchActionsDeploymentType(jtv) } + case "s3LogBucket": if value != nil { jtv, ok := value.(string) @@ -16607,6 +17217,7 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.S3LogBucket = ptr.String(jtv) } + case "s3OutputKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -16615,10 +17226,12 @@ func awsRestjson1_deserializeDocumentPostLaunchActions(v **types.PostLaunchActio } sv.S3OutputKeyPrefix = ptr.String(jtv) } + case "ssmDocuments": if err := awsRestjson1_deserializeDocumentSsmDocuments(&sv.SsmDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -16688,6 +17301,7 @@ func awsRestjson1_deserializeDocumentPostLaunchActionsStatus(v **types.PostLaunc if err := awsRestjson1_deserializeDocumentPostLaunchActionsLaunchStatusList(&sv.PostLaunchActionsLaunchStatusList, value); err != nil { return err } + case "ssmAgentDiscoveryDatetime": if value != nil { jtv, ok := value.(string) @@ -16696,6 +17310,7 @@ func awsRestjson1_deserializeDocumentPostLaunchActionsStatus(v **types.PostLaunc } sv.SsmAgentDiscoveryDatetime = ptr.String(jtv) } + default: _, _ = key, value @@ -16735,6 +17350,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.DeviceName = ptr.String(jtv) } + case "iops": if value != nil { jtv, ok := value.(json.Number) @@ -16747,6 +17363,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Iops = i64 } + case "isBootDisk": if value != nil { jtv, ok := value.(bool) @@ -16755,6 +17372,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.IsBootDisk = ptr.Bool(jtv) } + case "stagingDiskType": if value != nil { jtv, ok := value.(string) @@ -16763,6 +17381,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.StagingDiskType = types.ReplicationConfigurationReplicatedDiskStagingDiskType(jtv) } + case "throughput": if value != nil { jtv, ok := value.(json.Number) @@ -16775,6 +17394,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationReplicatedDisk(v ** } sv.Throughput = i64 } + default: _, _ = key, value @@ -16848,6 +17468,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.Arn = ptr.String(jtv) } + case "associateDefaultSecurityGroup": if value != nil { jtv, ok := value.(bool) @@ -16856,6 +17477,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.AssociateDefaultSecurityGroup = ptr.Bool(jtv) } + case "bandwidthThrottling": if value != nil { jtv, ok := value.(json.Number) @@ -16868,6 +17490,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.BandwidthThrottling = i64 } + case "createPublicIP": if value != nil { jtv, ok := value.(bool) @@ -16876,6 +17499,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.CreatePublicIP = ptr.Bool(jtv) } + case "dataPlaneRouting": if value != nil { jtv, ok := value.(string) @@ -16884,6 +17508,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DataPlaneRouting = types.ReplicationConfigurationDataPlaneRouting(jtv) } + case "defaultLargeStagingDiskType": if value != nil { jtv, ok := value.(string) @@ -16892,6 +17517,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.DefaultLargeStagingDiskType = types.ReplicationConfigurationDefaultLargeStagingDiskType(jtv) } + case "ebsEncryption": if value != nil { jtv, ok := value.(string) @@ -16900,6 +17526,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryption = types.ReplicationConfigurationEbsEncryption(jtv) } + case "ebsEncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -16908,6 +17535,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.EbsEncryptionKeyArn = ptr.String(jtv) } + case "replicationConfigurationTemplateID": if value != nil { jtv, ok := value.(string) @@ -16916,6 +17544,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationConfigurationTemplateID = ptr.String(jtv) } + case "replicationServerInstanceType": if value != nil { jtv, ok := value.(string) @@ -16924,10 +17553,12 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.ReplicationServerInstanceType = ptr.String(jtv) } + case "replicationServersSecurityGroupsIDs": if err := awsRestjson1_deserializeDocumentReplicationServersSecurityGroupsIDs(&sv.ReplicationServersSecurityGroupsIDs, value); err != nil { return err } + case "stagingAreaSubnetId": if value != nil { jtv, ok := value.(string) @@ -16936,14 +17567,17 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.StagingAreaSubnetId = ptr.String(jtv) } + case "stagingAreaTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.StagingAreaTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "useDedicatedReplicationServer": if value != nil { jtv, ok := value.(bool) @@ -16952,6 +17586,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseDedicatedReplicationServer = ptr.Bool(jtv) } + case "useFipsEndpoint": if value != nil { jtv, ok := value.(bool) @@ -16960,6 +17595,7 @@ func awsRestjson1_deserializeDocumentReplicationConfigurationTemplate(v **types. } sv.UseFipsEndpoint = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17069,6 +17705,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17077,6 +17714,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -17085,6 +17723,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -17093,6 +17732,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -17132,6 +17772,7 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Bucket = ptr.String(jtv) } + case "s3BucketOwner": if value != nil { jtv, ok := value.(string) @@ -17140,6 +17781,7 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3BucketOwner = ptr.String(jtv) } + case "s3Key": if value != nil { jtv, ok := value.(string) @@ -17148,6 +17790,7 @@ func awsRestjson1_deserializeDocumentS3BucketSource(v **types.S3BucketSource, va } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -17187,6 +17830,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17195,6 +17839,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -17203,6 +17848,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "quotaValue": if value != nil { jtv, ok := value.(json.Number) @@ -17215,6 +17861,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaValue = ptr.Int32(int32(i64)) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -17223,6 +17870,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -17231,6 +17879,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -17239,6 +17888,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -17274,14 +17924,17 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties if err := awsRestjson1_deserializeDocumentCpus(&sv.Cpus, value); err != nil { return err } + case "disks": if err := awsRestjson1_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } + case "identificationHints": if err := awsRestjson1_deserializeDocumentIdentificationHints(&sv.IdentificationHints, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { jtv, ok := value.(string) @@ -17290,14 +17943,17 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.LastUpdatedDateTime = ptr.String(jtv) } + case "networkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "os": if err := awsRestjson1_deserializeDocumentOS(&sv.Os, value); err != nil { return err } + case "ramBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17310,6 +17966,7 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RamBytes = i64 } + case "recommendedInstanceType": if value != nil { jtv, ok := value.(string) @@ -17318,6 +17975,7 @@ func awsRestjson1_deserializeDocumentSourceProperties(v **types.SourceProperties } sv.RecommendedInstanceType = ptr.String(jtv) } + default: _, _ = key, value @@ -17357,6 +18015,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ApplicationID = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -17365,14 +18024,17 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.Arn = ptr.String(jtv) } + case "connectorAction": if err := awsRestjson1_deserializeDocumentSourceServerConnectorAction(&sv.ConnectorAction, value); err != nil { return err } + case "dataReplicationInfo": if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { return err } + case "fqdnForActionFramework": if value != nil { jtv, ok := value.(string) @@ -17381,6 +18043,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.FqdnForActionFramework = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -17389,14 +18052,17 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.IsArchived = ptr.Bool(jtv) } + case "launchedInstance": if err := awsRestjson1_deserializeDocumentLaunchedInstance(&sv.LaunchedInstance, value); err != nil { return err } + case "lifeCycle": if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { return err } + case "replicationType": if value != nil { jtv, ok := value.(string) @@ -17405,10 +18071,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.ReplicationType = types.ReplicationType(jtv) } + case "sourceProperties": if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { return err } + case "sourceServerID": if value != nil { jtv, ok := value.(string) @@ -17417,10 +18085,12 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.SourceServerID = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "userProvidedID": if value != nil { jtv, ok := value.(string) @@ -17429,6 +18099,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.UserProvidedID = ptr.String(jtv) } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -17437,6 +18108,7 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value } sv.VcenterClientID = ptr.String(jtv) } + default: _, _ = key, value @@ -17476,6 +18148,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.ActionID = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -17484,6 +18157,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.ActionName = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -17492,6 +18166,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -17500,6 +18175,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Category = types.ActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17508,6 +18184,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Description = ptr.String(jtv) } + case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -17516,6 +18193,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.DocumentIdentifier = ptr.String(jtv) } + case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -17524,10 +18202,12 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.DocumentVersion = ptr.String(jtv) } + case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } + case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -17536,6 +18216,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.MustSucceedForCutover = ptr.Bool(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -17548,10 +18229,12 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17564,6 +18247,7 @@ func awsRestjson1_deserializeDocumentSourceServerActionDocument(v **types.Source } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17637,6 +18321,7 @@ func awsRestjson1_deserializeDocumentSourceServerConnectorAction(v **types.Sourc } sv.ConnectorArn = ptr.String(jtv) } + case "credentialsSecretArn": if value != nil { jtv, ok := value.(string) @@ -17645,6 +18330,7 @@ func awsRestjson1_deserializeDocumentSourceServerConnectorAction(v **types.Sourc } sv.CredentialsSecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17718,10 +18404,12 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.ActionName = ptr.String(jtv) } + case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } + case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -17730,10 +18418,12 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.MustSucceedForCutover = ptr.Bool(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "ssmDocumentName": if value != nil { jtv, ok := value.(string) @@ -17742,6 +18432,7 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.SsmDocumentName = ptr.String(jtv) } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17754,6 +18445,7 @@ func awsRestjson1_deserializeDocumentSsmDocument(v **types.SsmDocument, value in } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17937,6 +18629,7 @@ func awsRestjson1_deserializeDocumentSsmParameterStoreParameter(v **types.SsmPar } sv.ParameterName = ptr.String(jtv) } + case "parameterType": if value != nil { jtv, ok := value.(string) @@ -17945,6 +18638,7 @@ func awsRestjson1_deserializeDocumentSsmParameterStoreParameter(v **types.SsmPar } sv.ParameterType = types.SsmParameterStoreParameterType(jtv) } + default: _, _ = key, value @@ -18054,6 +18748,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.ActionID = ptr.String(jtv) } + case "actionName": if value != nil { jtv, ok := value.(string) @@ -18062,6 +18757,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.ActionName = ptr.String(jtv) } + case "active": if value != nil { jtv, ok := value.(bool) @@ -18070,6 +18766,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Active = ptr.Bool(jtv) } + case "category": if value != nil { jtv, ok := value.(string) @@ -18078,6 +18775,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Category = types.ActionCategory(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18086,6 +18784,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Description = ptr.String(jtv) } + case "documentIdentifier": if value != nil { jtv, ok := value.(string) @@ -18094,6 +18793,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.DocumentIdentifier = ptr.String(jtv) } + case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -18102,10 +18802,12 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.DocumentVersion = ptr.String(jtv) } + case "externalParameters": if err := awsRestjson1_deserializeDocumentSsmDocumentExternalParameters(&sv.ExternalParameters, value); err != nil { return err } + case "mustSucceedForCutover": if value != nil { jtv, ok := value.(bool) @@ -18114,6 +18816,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.MustSucceedForCutover = ptr.Bool(jtv) } + case "operatingSystem": if value != nil { jtv, ok := value.(string) @@ -18122,6 +18825,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.OperatingSystem = ptr.String(jtv) } + case "order": if value != nil { jtv, ok := value.(json.Number) @@ -18134,10 +18838,12 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.Order = ptr.Int32(int32(i64)) } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "timeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18150,6 +18856,7 @@ func awsRestjson1_deserializeDocumentTemplateActionDocument(v **types.TemplateAc } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18223,6 +18930,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -18231,6 +18939,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(string) @@ -18239,6 +18948,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -18247,6 +18957,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -18286,6 +18997,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18294,6 +19006,7 @@ func awsRestjson1_deserializeDocumentUninitializedAccountException(v **types.Uni } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18333,10 +19046,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } + case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -18345,6 +19060,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -18353,6 +19069,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -18392,6 +19109,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18400,6 +19118,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18473,6 +19192,7 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.Arn = ptr.String(jtv) } + case "datacenterName": if value != nil { jtv, ok := value.(string) @@ -18481,6 +19201,7 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.DatacenterName = ptr.String(jtv) } + case "hostname": if value != nil { jtv, ok := value.(string) @@ -18489,6 +19210,7 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.Hostname = ptr.String(jtv) } + case "lastSeenDatetime": if value != nil { jtv, ok := value.(string) @@ -18497,14 +19219,17 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.LastSeenDatetime = ptr.String(jtv) } + case "sourceServerTags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.SourceServerTags, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "vcenterClientID": if value != nil { jtv, ok := value.(string) @@ -18513,6 +19238,7 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.VcenterClientID = ptr.String(jtv) } + case "vcenterUUID": if value != nil { jtv, ok := value.(string) @@ -18521,6 +19247,7 @@ func awsRestjson1_deserializeDocumentVcenterClient(v **types.VcenterClient, valu } sv.VcenterUUID = ptr.String(jtv) } + default: _, _ = key, value @@ -18594,6 +19321,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "creationDateTime": if value != nil { jtv, ok := value.(string) @@ -18602,6 +19330,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.CreationDateTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18610,6 +19339,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Description = ptr.String(jtv) } + case "isArchived": if value != nil { jtv, ok := value.(bool) @@ -18618,6 +19348,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.IsArchived = ptr.Bool(jtv) } + case "lastModifiedDateTime": if value != nil { jtv, ok := value.(string) @@ -18626,6 +19357,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.LastModifiedDateTime = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18634,14 +19366,17 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "waveAggregatedStatus": if err := awsRestjson1_deserializeDocumentWaveAggregatedStatus(&sv.WaveAggregatedStatus, value); err != nil { return err } + case "waveID": if value != nil { jtv, ok := value.(string) @@ -18650,6 +19385,7 @@ func awsRestjson1_deserializeDocumentWave(v **types.Wave, value interface{}) err } sv.WaveID = ptr.String(jtv) } + default: _, _ = key, value @@ -18689,6 +19425,7 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.HealthStatus = types.WaveHealthStatus(jtv) } + case "lastUpdateDateTime": if value != nil { jtv, ok := value.(string) @@ -18697,6 +19434,7 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.LastUpdateDateTime = ptr.String(jtv) } + case "progressStatus": if value != nil { jtv, ok := value.(string) @@ -18705,6 +19443,7 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.ProgressStatus = types.WaveProgressStatus(jtv) } + case "replicationStartedDateTime": if value != nil { jtv, ok := value.(string) @@ -18713,6 +19452,7 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.ReplicationStartedDateTime = ptr.String(jtv) } + case "totalApplications": if value != nil { jtv, ok := value.(json.Number) @@ -18725,6 +19465,7 @@ func awsRestjson1_deserializeDocumentWaveAggregatedStatus(v **types.WaveAggregat } sv.TotalApplications = i64 } + default: _, _ = key, value diff --git a/service/migrationhub/deserializers.go b/service/migrationhub/deserializers.go index 223fc9c776a..8156e756286 100644 --- a/service/migrationhub/deserializers.go +++ b/service/migrationhub/deserializers.go @@ -2665,6 +2665,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2704,6 +2705,7 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } sv.ApplicationId = ptr.String(jtv) } + case "ApplicationStatus": if value != nil { jtv, ok := value.(string) @@ -2712,6 +2714,7 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2727,6 +2730,7 @@ func awsAwsjson11_deserializeDocumentApplicationState(v **types.ApplicationState } } + default: _, _ = key, value @@ -2800,6 +2804,7 @@ func awsAwsjson11_deserializeDocumentCreatedArtifact(v **types.CreatedArtifact, } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2808,6 +2813,7 @@ func awsAwsjson11_deserializeDocumentCreatedArtifact(v **types.CreatedArtifact, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2881,6 +2887,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.ConfigurationId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2896,7 @@ func awsAwsjson11_deserializeDocumentDiscoveredResource(v **types.DiscoveredReso } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -2962,6 +2970,7 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3001,6 +3010,7 @@ func awsAwsjson11_deserializeDocumentHomeRegionNotSetException(v **types.HomeReg } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3040,6 +3050,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3079,6 +3090,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3152,6 +3164,7 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } sv.MigrationTaskName = ptr.String(jtv) } + case "ProgressUpdateStream": if value != nil { jtv, ok := value.(string) @@ -3160,14 +3173,17 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } sv.ProgressUpdateStream = ptr.String(jtv) } + case "ResourceAttributeList": if err := awsAwsjson11_deserializeDocumentLatestResourceAttributeList(&sv.ResourceAttributeList, value); err != nil { return err } + case "Task": if err := awsAwsjson11_deserializeDocumentTask(&sv.Task, value); err != nil { return err } + case "UpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -3183,6 +3199,7 @@ func awsAwsjson11_deserializeDocumentMigrationTask(v **types.MigrationTask, valu } } + default: _, _ = key, value @@ -3222,6 +3239,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.MigrationTaskName = ptr.String(jtv) } + case "ProgressPercent": if value != nil { jtv, ok := value.(json.Number) @@ -3234,6 +3252,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.ProgressPercent = ptr.Int32(int32(i64)) } + case "ProgressUpdateStream": if value != nil { jtv, ok := value.(string) @@ -3242,6 +3261,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.ProgressUpdateStream = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3250,6 +3270,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.Status = types.Status(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3279,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } sv.StatusDetail = ptr.String(jtv) } + case "UpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -3273,6 +3295,7 @@ func awsAwsjson11_deserializeDocumentMigrationTaskSummary(v **types.MigrationTas } } + default: _, _ = key, value @@ -3346,6 +3369,7 @@ func awsAwsjson11_deserializeDocumentPolicyErrorException(v **types.PolicyErrorE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3385,6 +3409,7 @@ func awsAwsjson11_deserializeDocumentProgressUpdateStreamSummary(v **types.Progr } sv.ProgressUpdateStreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -3458,6 +3483,7 @@ func awsAwsjson11_deserializeDocumentResourceAttribute(v **types.ResourceAttribu } sv.Type = types.ResourceAttributeType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3466,6 +3492,7 @@ func awsAwsjson11_deserializeDocumentResourceAttribute(v **types.ResourceAttribu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3505,6 +3532,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3544,6 +3572,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3587,6 +3616,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.ProgressPercent = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3625,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.Status = types.Status(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -3603,6 +3634,7 @@ func awsAwsjson11_deserializeDocumentTask(v **types.Task, value interface{}) err } sv.StatusDetail = ptr.String(jtv) } + default: _, _ = key, value @@ -3642,6 +3674,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3654,6 +3687,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -3693,6 +3727,7 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperation(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3856,6 +3891,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationStateOutput(v **Descri } sv.ApplicationStatus = types.ApplicationStatus(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3871,6 +3907,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationStateOutput(v **Descri } } + default: _, _ = key, value @@ -3906,6 +3943,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMigrationTaskOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentMigrationTask(&sv.MigrationTask, value); err != nil { return err } + default: _, _ = key, value @@ -4034,6 +4072,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationStatesOutput(v **ListAppli if err := awsAwsjson11_deserializeDocumentApplicationStateList(&sv.ApplicationStateList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4042,6 +4081,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationStatesOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4077,6 +4117,7 @@ func awsAwsjson11_deserializeOpDocumentListCreatedArtifactsOutput(v **ListCreate if err := awsAwsjson11_deserializeDocumentCreatedArtifactList(&sv.CreatedArtifactList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4085,6 +4126,7 @@ func awsAwsjson11_deserializeOpDocumentListCreatedArtifactsOutput(v **ListCreate } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4120,6 +4162,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis if err := awsAwsjson11_deserializeDocumentDiscoveredResourceList(&sv.DiscoveredResourceList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4128,6 +4171,7 @@ func awsAwsjson11_deserializeOpDocumentListDiscoveredResourcesOutput(v **ListDis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4163,6 +4207,7 @@ func awsAwsjson11_deserializeOpDocumentListMigrationTasksOutput(v **ListMigratio if err := awsAwsjson11_deserializeDocumentMigrationTaskSummaryList(&sv.MigrationTaskSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4171,6 +4216,7 @@ func awsAwsjson11_deserializeOpDocumentListMigrationTasksOutput(v **ListMigratio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4210,10 +4256,12 @@ func awsAwsjson11_deserializeOpDocumentListProgressUpdateStreamsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } + case "ProgressUpdateStreamSummaryList": if err := awsAwsjson11_deserializeDocumentProgressUpdateStreamSummaryList(&sv.ProgressUpdateStreamSummaryList, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/migrationhubconfig/deserializers.go b/service/migrationhubconfig/deserializers.go index e8f78a4cfcf..25ac184e334 100644 --- a/service/migrationhubconfig/deserializers.go +++ b/service/migrationhubconfig/deserializers.go @@ -764,6 +764,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -803,6 +804,7 @@ func awsAwsjson11_deserializeDocumentDryRunOperation(v **types.DryRunOperation, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -842,6 +844,7 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } sv.ControlId = ptr.String(jtv) } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -850,6 +853,7 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } sv.HomeRegion = ptr.String(jtv) } + case "RequestedTime": if value != nil { switch jtv := value.(type) { @@ -865,10 +869,12 @@ func awsAwsjson11_deserializeDocumentHomeRegionControl(v **types.HomeRegionContr } } + case "Target": if err := awsAwsjson11_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -942,6 +948,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -981,6 +988,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1020,6 +1028,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1059,6 +1068,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1067,6 +1077,7 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Type = types.TargetType(jtv) } + default: _, _ = key, value @@ -1106,6 +1117,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1118,6 +1130,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -1153,6 +1166,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHomeRegionControlOutput(v **CreateH if err := awsAwsjson11_deserializeDocumentHomeRegionControl(&sv.HomeRegionControl, value); err != nil { return err } + default: _, _ = key, value @@ -1219,6 +1233,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHomeRegionControlsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentHomeRegionControls(&sv.HomeRegionControls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1227,6 +1242,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHomeRegionControlsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1266,6 +1282,7 @@ func awsAwsjson11_deserializeOpDocumentGetHomeRegionOutput(v **GetHomeRegionOutp } sv.HomeRegion = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/migrationhuborchestrator/deserializers.go b/service/migrationhuborchestrator/deserializers.go index 0274d2e282f..5a22ad7defa 100644 --- a/service/migrationhuborchestrator/deserializers.go +++ b/service/migrationhuborchestrator/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -191,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -199,6 +201,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -363,6 +366,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.AdsApplicationConfigurationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -371,6 +375,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -386,6 +391,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -394,6 +400,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -402,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -410,6 +418,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -418,14 +427,17 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "stepTargets": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTargets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -434,10 +446,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.TemplateId = ptr.String(jtv) } + case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } + default: _, _ = key, value @@ -602,6 +616,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -610,6 +625,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.Name = ptr.String(jtv) } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -618,6 +634,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.StepGroupId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -626,6 +643,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepOutput(v **CreateWorkfl } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -797,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } } + case "description": if value != nil { jtv, ok := value.(string) @@ -805,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -813,6 +833,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -821,18 +842,22 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -841,6 +866,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowStepGroupOutput(v **CreateW } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -1108,6 +1134,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1116,6 +1143,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1124,6 +1152,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWorkflowOutput(v **DeleteWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + default: _, _ = key, value @@ -1495,6 +1524,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1503,6 +1533,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1511,10 +1542,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Id = ptr.String(jtv) } + case "inputs": if err := awsRestjson1_deserializeDocumentTemplateInputList(&sv.Inputs, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1523,6 +1556,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Name = ptr.String(jtv) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -1531,6 +1565,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Owner = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1539,6 +1574,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.Status = types.TemplateStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -1547,10 +1583,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -1559,6 +1597,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateArn = ptr.String(jtv) } + case "templateClass": if value != nil { jtv, ok := value.(string) @@ -1567,10 +1606,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, } sv.TemplateClass = ptr.String(jtv) } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + default: _, _ = key, value @@ -1738,6 +1779,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.CreationTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1746,6 +1788,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1754,6 +1797,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1762,18 +1806,22 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "outputs": if err := awsRestjson1_deserializeDocumentStepOutputList(&sv.Outputs, value); err != nil { return err } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -1782,10 +1830,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.StepActionType = types.StepActionType(jtv) } + case "stepAutomationConfiguration": if err := awsRestjson1_deserializeDocumentStepAutomationConfiguration(&sv.StepAutomationConfiguration, value); err != nil { return err } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -1794,6 +1844,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.StepGroupId = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -1802,6 +1853,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepOutput(v **GetTemplateStep } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -1976,6 +2028,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1984,6 +2037,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1992,6 +2046,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2007,6 +2062,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2015,14 +2071,17 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2031,6 +2090,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.Status = types.StepGroupStatus(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -2039,10 +2099,12 @@ func awsRestjson1_deserializeOpDocumentGetTemplateStepGroupOutput(v **GetTemplat } sv.TemplateId = ptr.String(jtv) } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + default: _, _ = key, value @@ -2210,6 +2272,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.AdsApplicationConfigurationId = ptr.String(jtv) } + case "adsApplicationName": if value != nil { jtv, ok := value.(string) @@ -2218,6 +2281,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.AdsApplicationName = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2226,6 +2290,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Arn = ptr.String(jtv) } + case "completedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -2238,6 +2303,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CompletedSteps = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -2253,6 +2319,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2261,6 +2328,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2276,6 +2344,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "id": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2353,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2299,6 +2369,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -2314,6 +2385,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -2329,6 +2401,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2337,6 +2410,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2345,6 +2419,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2353,10 +2428,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -2365,10 +2442,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.TemplateId = ptr.String(jtv) } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + case "totalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -2381,6 +2460,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.TotalSteps = ptr.Int32(int32(i64)) } + case "workflowBucket": if value != nil { jtv, ok := value.(string) @@ -2389,10 +2469,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.WorkflowBucket = ptr.String(jtv) } + case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } + default: _, _ = key, value @@ -2564,6 +2646,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2655,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2587,6 +2671,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -2602,6 +2687,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2610,10 +2696,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "noOfSrvCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -2626,6 +2714,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.NoOfSrvCompleted = ptr.Int32(int32(i64)) } + case "noOfSrvFailed": if value != nil { jtv, ok := value.(json.Number) @@ -2638,10 +2727,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.NoOfSrvFailed = ptr.Int32(int32(i64)) } + case "outputs": if err := awsRestjson1_deserializeDocumentWorkflowStepOutputList(&sv.Outputs, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -2650,10 +2741,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Owner = types.Owner(jtv) } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "scriptOutputLocation": if value != nil { jtv, ok := value.(string) @@ -2662,6 +2755,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.ScriptOutputLocation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2670,6 +2764,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.Status = types.StepStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -2678,6 +2773,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StatusMessage = ptr.String(jtv) } + case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -2686,6 +2782,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepActionType = types.StepActionType(jtv) } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -2694,6 +2791,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepGroupId = ptr.String(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -2702,10 +2800,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.StepId = ptr.String(jtv) } + case "stepTarget": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTarget, value); err != nil { return err } + case "totalNoOfSrv": if value != nil { jtv, ok := value.(json.Number) @@ -2718,6 +2818,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.TotalNoOfSrv = ptr.Int32(int32(i64)) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -2726,10 +2827,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepOutput(v **GetWorkflowStep } sv.WorkflowId = ptr.String(jtv) } + case "workflowStepAutomationConfiguration": if err := awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(&sv.WorkflowStepAutomationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2904,6 +3007,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -2912,6 +3016,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Description = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -2927,6 +3032,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } + case "id": if value != nil { jtv, ok := value.(string) @@ -2935,6 +3041,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -2950,6 +3057,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2958,10 +3066,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -2970,10 +3080,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Owner = types.Owner(jtv) } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2982,10 +3094,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.Status = types.StepGroupStatus(jtv) } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -2994,6 +3108,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowStepGroupOutput(v **GetWorkflo } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -3155,10 +3270,12 @@ func awsRestjson1_deserializeOpDocumentListPluginsOutput(v **ListPluginsOutput, } sv.NextToken = ptr.String(jtv) } + case "plugins": if err := awsRestjson1_deserializeDocumentPluginSummaries(&sv.Plugins, value); err != nil { return err } + default: _, _ = key, value @@ -3313,6 +3430,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3474,10 +3592,12 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } + case "templateSummary": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.TemplateSummary, value); err != nil { return err } + default: _, _ = key, value @@ -3642,10 +3762,12 @@ func awsRestjson1_deserializeOpDocumentListTemplateStepGroupsOutput(v **ListTemp } sv.NextToken = ptr.String(jtv) } + case "templateStepGroupSummary": if err := awsRestjson1_deserializeDocumentTemplateStepGroupSummaryList(&sv.TemplateStepGroupSummary, value); err != nil { return err } + default: _, _ = key, value @@ -3813,10 +3935,12 @@ func awsRestjson1_deserializeOpDocumentListTemplateStepsOutput(v **ListTemplateS } sv.NextToken = ptr.String(jtv) } + case "templateStepSummaryList": if err := awsRestjson1_deserializeDocumentTemplateStepSummaryList(&sv.TemplateStepSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -3980,6 +4104,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentMigrationWorkflowSummaryList(&sv.MigrationWorkflowSummary, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3988,6 +4113,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4155,10 +4281,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepGroupsOutput(v **ListWork } sv.NextToken = ptr.String(jtv) } + case "workflowStepGroupsSummary": if err := awsRestjson1_deserializeDocumentWorkflowStepGroupsSummaryList(&sv.WorkflowStepGroupsSummary, value); err != nil { return err } + default: _, _ = key, value @@ -4323,10 +4451,12 @@ func awsRestjson1_deserializeOpDocumentListWorkflowStepsOutput(v **ListWorkflowS } sv.NextToken = ptr.String(jtv) } + case "workflowStepsSummary": if err := awsRestjson1_deserializeDocumentWorkflowStepsSummaryList(&sv.WorkflowStepsSummary, value); err != nil { return err } + default: _, _ = key, value @@ -4491,6 +4621,7 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4499,6 +4630,7 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.Status = types.StepStatus(jtv) } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -4507,6 +4639,7 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.StepGroupId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -4515,6 +4648,7 @@ func awsRestjson1_deserializeOpDocumentRetryWorkflowStepOutput(v **RetryWorkflow } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -4682,6 +4816,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4690,6 +4825,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Id = ptr.String(jtv) } + case "lastStartTime": if value != nil { switch jtv := value.(type) { @@ -4705,6 +4841,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } } + case "status": if value != nil { jtv, ok := value.(string) @@ -4713,6 +4850,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4721,6 +4859,7 @@ func awsRestjson1_deserializeOpDocumentStartWorkflowOutput(v **StartWorkflowOutp } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4888,6 +5027,7 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4896,6 +5036,7 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Id = ptr.String(jtv) } + case "lastStopTime": if value != nil { switch jtv := value.(type) { @@ -4911,6 +5052,7 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } } + case "status": if value != nil { jtv, ok := value.(string) @@ -4919,6 +5061,7 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4927,6 +5070,7 @@ func awsRestjson1_deserializeOpDocumentStopWorkflowOutput(v **StopWorkflowOutput } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5272,6 +5416,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateArn": if value != nil { jtv, ok := value.(string) @@ -5280,6 +5425,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateArn = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -5288,6 +5434,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -5455,6 +5602,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.AdsApplicationConfigurationId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -5463,6 +5611,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5478,6 +5627,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5486,6 +5636,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5494,6 +5645,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5509,6 +5661,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5517,6 +5670,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5525,14 +5679,17 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "stepTargets": if err := awsRestjson1_deserializeDocumentStringList(&sv.StepTargets, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Tags, value); err != nil { return err } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -5541,10 +5698,12 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowOutput(v **UpdateWorkflowOu } sv.TemplateId = ptr.String(jtv) } + case "workflowInputs": if err := awsRestjson1_deserializeDocumentStepInputParameters(&sv.WorkflowInputs, value); err != nil { return err } + default: _, _ = key, value @@ -5709,6 +5868,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5717,6 +5877,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.Name = ptr.String(jtv) } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -5725,6 +5886,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.StepGroupId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -5733,6 +5895,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepOutput(v **UpdateWorkfl } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -5900,6 +6063,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5908,6 +6072,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5923,6 +6088,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5931,18 +6097,22 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "tools": if err := awsRestjson1_deserializeDocumentToolsList(&sv.Tools, value); err != nil { return err } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -5951,6 +6121,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkflowStepGroupOutput(v **UpdateW } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -6206,6 +6377,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6245,6 +6417,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6284,6 +6457,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6359,6 +6533,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.AdsApplicationConfigurationName = ptr.String(jtv) } + case "completedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -6371,6 +6546,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.CompletedSteps = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6386,6 +6562,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -6401,6 +6578,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } } + case "id": if value != nil { jtv, ok := value.(string) @@ -6409,6 +6587,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6417,6 +6596,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6425,6 +6605,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.Status = types.MigrationWorkflowStatusEnum(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6433,6 +6614,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.StatusMessage = ptr.String(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -6441,6 +6623,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.TemplateId = ptr.String(jtv) } + case "totalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -6453,6 +6636,7 @@ func awsRestjson1_deserializeDocumentMigrationWorkflowSummary(v **types.Migratio } sv.TotalSteps = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6526,6 +6710,7 @@ func awsRestjson1_deserializeDocumentPlatformCommand(v **types.PlatformCommand, } sv.Linux = ptr.String(jtv) } + case "windows": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6719,7 @@ func awsRestjson1_deserializeDocumentPlatformCommand(v **types.PlatformCommand, } sv.Windows = ptr.String(jtv) } + default: _, _ = key, value @@ -6573,6 +6759,7 @@ func awsRestjson1_deserializeDocumentPlatformScriptKey(v **types.PlatformScriptK } sv.Linux = ptr.String(jtv) } + case "windows": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6768,7 @@ func awsRestjson1_deserializeDocumentPlatformScriptKey(v **types.PlatformScriptK } sv.Windows = ptr.String(jtv) } + default: _, _ = key, value @@ -6654,6 +6842,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Hostname = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -6662,6 +6851,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.IpAddress = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -6670,6 +6860,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.PluginId = ptr.String(jtv) } + case "registeredTime": if value != nil { jtv, ok := value.(string) @@ -6678,6 +6869,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.RegisteredTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6686,6 +6878,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Status = types.PluginHealth(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -6694,6 +6887,7 @@ func awsRestjson1_deserializeDocumentPluginSummary(v **types.PluginSummary, valu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6733,6 +6927,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6768,6 +6963,7 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA if err := awsRestjson1_deserializeDocumentPlatformCommand(&sv.Command, value); err != nil { return err } + case "runEnvironment": if value != nil { jtv, ok := value.(string) @@ -6776,6 +6972,7 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.RunEnvironment = types.RunEnvironment(jtv) } + case "scriptLocationS3Bucket": if value != nil { jtv, ok := value.(string) @@ -6784,10 +6981,12 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.ScriptLocationS3Bucket = ptr.String(jtv) } + case "scriptLocationS3Key": if err := awsRestjson1_deserializeDocumentPlatformScriptKey(&sv.ScriptLocationS3Key, value); err != nil { return err } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -6796,6 +6995,7 @@ func awsRestjson1_deserializeDocumentStepAutomationConfiguration(v **types.StepA } sv.TargetType = types.TargetType(jtv) } + default: _, _ = key, value @@ -6943,6 +7143,7 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.DataType = types.DataType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6951,6 +7152,7 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.Name = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -6959,6 +7161,7 @@ func awsRestjson1_deserializeDocumentStepOutput(v **types.StepOutput, value inte } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7140,6 +7343,7 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.DataType = types.DataType(jtv) } + case "inputName": if value != nil { jtv, ok := value.(string) @@ -7148,6 +7352,7 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.InputName = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -7156,6 +7361,7 @@ func awsRestjson1_deserializeDocumentTemplateInput(v **types.TemplateInput, valu } sv.Required = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7229,6 +7435,7 @@ func awsRestjson1_deserializeDocumentTemplateStepGroupSummary(v **types.Template } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7237,14 +7444,17 @@ func awsRestjson1_deserializeDocumentTemplateStepGroupSummary(v **types.Template } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + default: _, _ = key, value @@ -7318,6 +7528,7 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7326,10 +7537,12 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -7338,10 +7551,12 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.Owner = types.Owner(jtv) } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -7350,6 +7565,7 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.StepActionType = types.StepActionType(jtv) } + case "stepGroupId": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7574,7 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.StepGroupId = ptr.String(jtv) } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -7366,6 +7583,7 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.TargetType = types.TargetType(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -7374,6 +7592,7 @@ func awsRestjson1_deserializeDocumentTemplateStepSummary(v **types.TemplateStepS } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -7447,6 +7666,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7455,6 +7675,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7463,6 +7684,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7471,6 +7693,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7544,6 +7767,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7583,6 +7807,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Name = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -7591,6 +7816,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7664,6 +7890,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7699,6 +7926,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ if err := awsRestjson1_deserializeDocumentPlatformCommand(&sv.Command, value); err != nil { return err } + case "runEnvironment": if value != nil { jtv, ok := value.(string) @@ -7707,6 +7935,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.RunEnvironment = types.RunEnvironment(jtv) } + case "scriptLocationS3Bucket": if value != nil { jtv, ok := value.(string) @@ -7715,10 +7944,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.ScriptLocationS3Bucket = ptr.String(jtv) } + case "scriptLocationS3Key": if err := awsRestjson1_deserializeDocumentPlatformScriptKey(&sv.ScriptLocationS3Key, value); err != nil { return err } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -7727,6 +7958,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepAutomationConfiguration(v **typ } sv.TargetType = types.TargetType(jtv) } + default: _, _ = key, value @@ -7800,6 +8032,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7808,10 +8041,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "owner": if value != nil { jtv, ok := value.(string) @@ -7820,10 +8055,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Owner = types.Owner(jtv) } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7832,6 +8069,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepGroupSummary(v **types.Workflow } sv.Status = types.StepGroupStatus(jtv) } + default: _, _ = key, value @@ -7871,6 +8109,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.DataType = types.DataType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7879,6 +8118,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.Name = ptr.String(jtv) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -7887,10 +8127,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepOutput(v **types.WorkflowStepOu } sv.Required = ptr.Bool(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentWorkflowStepOutputUnion(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -8064,6 +8306,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8072,10 +8315,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Name = ptr.String(jtv) } + case "next": if err := awsRestjson1_deserializeDocumentStringList(&sv.Next, value); err != nil { return err } + case "noOfSrvCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -8088,6 +8333,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.NoOfSrvCompleted = ptr.Int32(int32(i64)) } + case "noOfSrvFailed": if value != nil { jtv, ok := value.(json.Number) @@ -8100,6 +8346,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.NoOfSrvFailed = ptr.Int32(int32(i64)) } + case "owner": if value != nil { jtv, ok := value.(string) @@ -8108,10 +8355,12 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Owner = types.Owner(jtv) } + case "previous": if err := awsRestjson1_deserializeDocumentStringList(&sv.Previous, value); err != nil { return err } + case "scriptLocation": if value != nil { jtv, ok := value.(string) @@ -8120,6 +8369,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.ScriptLocation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8128,6 +8378,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.Status = types.StepStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8136,6 +8387,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StatusMessage = ptr.String(jtv) } + case "stepActionType": if value != nil { jtv, ok := value.(string) @@ -8144,6 +8396,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StepActionType = types.StepActionType(jtv) } + case "stepId": if value != nil { jtv, ok := value.(string) @@ -8152,6 +8405,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.StepId = ptr.String(jtv) } + case "totalNoOfSrv": if value != nil { jtv, ok := value.(json.Number) @@ -8164,6 +8418,7 @@ func awsRestjson1_deserializeDocumentWorkflowStepSummary(v **types.WorkflowStepS } sv.TotalNoOfSrv = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/migrationhubrefactorspaces/deserializers.go b/service/migrationhubrefactorspaces/deserializers.go index 1122a54bbdc..d0a70695040 100644 --- a/service/migrationhubrefactorspaces/deserializers.go +++ b/service/migrationhubrefactorspaces/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApiGatewayProxyInput(&sv.ApiGatewayProxy, value); err != nil { return err } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -198,6 +199,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -206,6 +208,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -214,6 +217,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -229,6 +233,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -237,6 +242,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -252,6 +258,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -260,6 +267,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -268,6 +276,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.OwnerAccountId = ptr.String(jtv) } + case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -276,6 +285,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ProxyType = types.ProxyType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -284,10 +294,12 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.State = types.ApplicationState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -296,6 +308,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -469,6 +482,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -484,6 +498,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -492,6 +507,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -500,6 +516,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -515,6 +532,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -523,6 +541,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Name = ptr.String(jtv) } + case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -531,6 +550,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.NetworkFabricType = types.NetworkFabricType(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -539,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.OwnerAccountId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -547,10 +568,12 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.State = types.EnvironmentState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -724,6 +747,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -732,6 +756,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -740,6 +765,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -755,6 +781,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -770,6 +797,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -778,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.OwnerAccountId = ptr.String(jtv) } + case "RouteId": if value != nil { jtv, ok := value.(string) @@ -786,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteId = ptr.String(jtv) } + case "RouteType": if value != nil { jtv, ok := value.(string) @@ -794,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.RouteType = types.RouteType(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -802,6 +833,7 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -810,14 +842,17 @@ func awsRestjson1_deserializeOpDocumentCreateRouteOutput(v **CreateRouteOutput, } sv.State = types.RouteState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UriPathRoute": if err := awsRestjson1_deserializeDocumentUriPathRouteInput(&sv.UriPathRoute, value); err != nil { return err } + default: _, _ = key, value @@ -991,6 +1026,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -999,6 +1035,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -1007,6 +1044,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1022,6 +1060,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1030,6 +1069,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Description = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -1038,6 +1078,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.EndpointType = types.ServiceEndpointType(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1046,10 +1087,12 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.EnvironmentId = ptr.String(jtv) } + case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointInput(&sv.LambdaEndpoint, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1065,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1073,6 +1117,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -1081,6 +1126,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.OwnerAccountId = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -1089,6 +1135,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1097,14 +1144,17 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.State = types.ServiceState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointInput(&sv.UrlEndpoint, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -1113,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1283,6 +1334,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1291,6 +1343,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.Arn = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1299,6 +1352,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1314,6 +1368,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1322,6 +1377,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1330,6 +1386,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica } sv.State = types.ApplicationState(jtv) } + default: _, _ = key, value @@ -1500,6 +1557,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.Arn = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -1508,6 +1566,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1523,6 +1582,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1531,6 +1591,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1539,6 +1600,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron } sv.State = types.EnvironmentState(jtv) } + default: _, _ = key, value @@ -1809,6 +1871,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1817,6 +1880,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.Arn = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1832,6 +1896,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } } + case "RouteId": if value != nil { jtv, ok := value.(string) @@ -1840,6 +1905,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.RouteId = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -1848,6 +1914,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1856,6 +1923,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRouteOutput(v **DeleteRouteOutput, } sv.State = types.RouteState(jtv) } + default: _, _ = key, value @@ -2026,6 +2094,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2034,6 +2103,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Arn = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2042,6 +2112,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2057,6 +2128,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2065,6 +2137,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Name = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -2073,6 +2146,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2081,6 +2155,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.State = types.ServiceState(jtv) } + default: _, _ = key, value @@ -2244,6 +2319,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApiGatewayProxyConfig(&sv.ApiGatewayProxy, value); err != nil { return err } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -2252,6 +2328,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2260,6 +2337,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -2268,6 +2346,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2283,6 +2362,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2291,10 +2371,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2310,6 +2392,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2318,6 +2401,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -2326,6 +2410,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.OwnerAccountId = ptr.String(jtv) } + case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -2334,6 +2419,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ProxyType = types.ProxyType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2342,10 +2428,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.State = types.ApplicationState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -2354,6 +2442,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -2521,6 +2610,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2536,6 +2626,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2544,6 +2635,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2552,10 +2644,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2571,6 +2665,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2579,6 +2674,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.Name = ptr.String(jtv) } + case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -2587,6 +2683,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.NetworkFabricType = types.NetworkFabricType(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -2595,6 +2692,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.OwnerAccountId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2603,10 +2701,12 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.State = types.EnvironmentState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -2615,6 +2715,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu } sv.TransitGatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -2782,6 +2883,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -2949,6 +3051,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.AppendSourcePath = ptr.Bool(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -2957,6 +3060,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2965,6 +3069,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -2973,6 +3078,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2988,6 +3094,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -2996,10 +3103,12 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -3008,6 +3117,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.IncludeChildPaths = ptr.Bool(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3023,10 +3133,12 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } } + case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -3035,10 +3147,12 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.OwnerAccountId = ptr.String(jtv) } + case "PathResourceToId": if err := awsRestjson1_deserializeDocumentPathResourceToId(&sv.PathResourceToId, value); err != nil { return err } + case "RouteId": if value != nil { jtv, ok := value.(string) @@ -3047,6 +3161,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteId = ptr.String(jtv) } + case "RouteType": if value != nil { jtv, ok := value.(string) @@ -3055,6 +3170,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.RouteType = types.RouteType(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -3063,6 +3179,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.ServiceId = ptr.String(jtv) } + case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -3071,6 +3188,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.SourcePath = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3079,10 +3197,12 @@ func awsRestjson1_deserializeOpDocumentGetRouteOutput(v **GetRouteOutput, value } sv.State = types.RouteState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3250,6 +3370,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3379,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -3266,6 +3388,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3281,6 +3404,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3289,6 +3413,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Description = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -3297,6 +3422,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.EndpointType = types.ServiceEndpointType(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -3305,14 +3431,17 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointConfig(&sv.LambdaEndpoint, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3328,6 +3457,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3336,6 +3466,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -3344,6 +3475,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.OwnerAccountId = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -3352,6 +3484,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3360,14 +3493,17 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.State = types.ServiceState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointConfig(&sv.UrlEndpoint, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -3376,6 +3512,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3545,6 +3682,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3553,6 +3691,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3716,6 +3855,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentSummaries(&sv.EnvironmentSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3724,6 +3864,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3887,6 +4028,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentVpcsOutput(v **ListEnviron if err := awsRestjson1_deserializeDocumentEnvironmentVpcs(&sv.EnvironmentVpcList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3895,6 +4037,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentVpcsOutput(v **ListEnviron } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4068,10 +4211,12 @@ func awsRestjson1_deserializeOpDocumentListRoutesOutput(v **ListRoutesOutput, va } sv.NextToken = ptr.String(jtv) } + case "RouteSummaryList": if err := awsRestjson1_deserializeDocumentRouteSummaries(&sv.RouteSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -4245,10 +4390,12 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "ServiceSummaryList": if err := awsRestjson1_deserializeDocumentServiceSummaries(&sv.ServiceSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -4406,6 +4553,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4864,6 +5012,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4872,6 +5021,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.Arn = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4887,6 +5037,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } } + case "RouteId": if value != nil { jtv, ok := value.(string) @@ -4895,6 +5046,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.RouteId = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -4903,6 +5055,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4911,6 +5064,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRouteOutput(v **UpdateRouteOutput, } sv.State = types.RouteState(jtv) } + default: _, _ = key, value @@ -5258,6 +5412,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5333,6 +5488,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.ApiGatewayId = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -5341,6 +5497,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } + case "NlbArn": if value != nil { jtv, ok := value.(string) @@ -5349,6 +5506,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.NlbArn = ptr.String(jtv) } + case "NlbName": if value != nil { jtv, ok := value.(string) @@ -5357,6 +5515,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.NlbName = ptr.String(jtv) } + case "ProxyUrl": if value != nil { jtv, ok := value.(string) @@ -5365,6 +5524,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.ProxyUrl = ptr.String(jtv) } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -5373,6 +5533,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.StageName = ptr.String(jtv) } + case "VpcLinkId": if value != nil { jtv, ok := value.(string) @@ -5381,6 +5542,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyConfig(v **types.ApiGatewayP } sv.VpcLinkId = ptr.String(jtv) } + default: _, _ = key, value @@ -5420,6 +5582,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyInput(v **types.ApiGatewayPr } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -5428,6 +5591,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxyInput(v **types.ApiGatewayPr } sv.StageName = ptr.String(jtv) } + default: _, _ = key, value @@ -5467,6 +5631,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.ApiGatewayId = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -5475,6 +5640,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.EndpointType = types.ApiGatewayEndpointType(jtv) } + case "NlbArn": if value != nil { jtv, ok := value.(string) @@ -5483,6 +5649,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.NlbArn = ptr.String(jtv) } + case "NlbName": if value != nil { jtv, ok := value.(string) @@ -5491,6 +5658,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.NlbName = ptr.String(jtv) } + case "ProxyUrl": if value != nil { jtv, ok := value.(string) @@ -5499,6 +5667,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.ProxyUrl = ptr.String(jtv) } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -5507,6 +5676,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.StageName = ptr.String(jtv) } + case "VpcLinkId": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5685,7 @@ func awsRestjson1_deserializeDocumentApiGatewayProxySummary(v **types.ApiGateway } sv.VpcLinkId = ptr.String(jtv) } + default: _, _ = key, value @@ -5584,6 +5755,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum if err := awsRestjson1_deserializeDocumentApiGatewayProxySummary(&sv.ApiGatewayProxy, value); err != nil { return err } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -5592,6 +5764,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -5600,6 +5773,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -5608,6 +5782,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -5623,6 +5798,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -5631,10 +5807,12 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5650,6 +5828,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5658,6 +5837,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -5666,6 +5846,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.OwnerAccountId = ptr.String(jtv) } + case "ProxyType": if value != nil { jtv, ok := value.(string) @@ -5674,6 +5855,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ProxyType = types.ProxyType(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -5682,10 +5864,12 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.State = types.ApplicationState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5694,6 +5878,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -5769,6 +5954,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5777,6 +5963,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5972,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5858,6 +6046,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -5873,6 +6062,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5881,6 +6071,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -5889,10 +6080,12 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5908,6 +6101,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5916,6 +6110,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } + case "NetworkFabricType": if value != nil { jtv, ok := value.(string) @@ -5924,6 +6119,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.NetworkFabricType = types.NetworkFabricType(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -5932,6 +6128,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.OwnerAccountId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -5940,10 +6137,12 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.State = types.EnvironmentState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -5952,6 +6151,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TransitGatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -5991,10 +6191,12 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.AccountId = ptr.String(jtv) } + case "CidrBlocks": if err := awsRestjson1_deserializeDocumentCidrBlocks(&sv.CidrBlocks, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6010,6 +6212,7 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6018,6 +6221,7 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.EnvironmentId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6033,6 +6237,7 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6041,6 +6246,7 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.VpcId = ptr.String(jtv) } + case "VpcName": if value != nil { jtv, ok := value.(string) @@ -6049,6 +6255,7 @@ func awsRestjson1_deserializeDocumentEnvironmentVpc(v **types.EnvironmentVpc, va } sv.VpcName = ptr.String(jtv) } + default: _, _ = key, value @@ -6122,10 +6329,12 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.AccountId = ptr.String(jtv) } + case "AdditionalDetails": if err := awsRestjson1_deserializeDocumentAdditionalDetails(&sv.AdditionalDetails, value); err != nil { return err } + case "Code": if value != nil { jtv, ok := value.(string) @@ -6134,6 +6343,7 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.Code = types.ErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6142,6 +6352,7 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.Message = ptr.String(jtv) } + case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -6150,6 +6361,7 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.ResourceIdentifier = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6158,6 +6370,7 @@ func awsRestjson1_deserializeDocumentErrorResponse(v **types.ErrorResponse, valu } sv.ResourceType = types.ErrorResourceType(jtv) } + default: _, _ = key, value @@ -6233,6 +6446,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6272,6 +6486,7 @@ func awsRestjson1_deserializeDocumentInvalidResourcePolicyException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6311,6 +6526,7 @@ func awsRestjson1_deserializeDocumentLambdaEndpointConfig(v **types.LambdaEndpoi } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -6350,6 +6566,7 @@ func awsRestjson1_deserializeDocumentLambdaEndpointInput(v **types.LambdaEndpoin } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -6389,6 +6606,7 @@ func awsRestjson1_deserializeDocumentLambdaEndpointSummary(v **types.LambdaEndpo } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -6464,6 +6682,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6472,6 +6691,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6480,6 +6700,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6553,6 +6774,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.AppendSourcePath = ptr.Bool(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -6561,6 +6783,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6569,6 +6792,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -6577,6 +6801,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6592,6 +6817,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6600,10 +6826,12 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -6612,6 +6840,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.IncludeChildPaths = ptr.Bool(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6627,10 +6856,12 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } } + case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -6639,10 +6870,12 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.OwnerAccountId = ptr.String(jtv) } + case "PathResourceToId": if err := awsRestjson1_deserializeDocumentPathResourceToId(&sv.PathResourceToId, value); err != nil { return err } + case "RouteId": if value != nil { jtv, ok := value.(string) @@ -6651,6 +6884,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.RouteId = ptr.String(jtv) } + case "RouteType": if value != nil { jtv, ok := value.(string) @@ -6659,6 +6893,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.RouteType = types.RouteType(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6667,6 +6902,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.ServiceId = ptr.String(jtv) } + case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -6675,6 +6911,7 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.SourcePath = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6683,10 +6920,12 @@ func awsRestjson1_deserializeDocumentRouteSummary(v **types.RouteSummary, value } sv.State = types.RouteState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6726,6 +6965,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6734,6 +6974,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6742,6 +6983,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6750,6 +6992,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6758,6 +7001,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6831,6 +7075,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6839,6 +7084,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } + case "CreatedByAccountId": if value != nil { jtv, ok := value.(string) @@ -6847,6 +7093,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CreatedByAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6862,6 +7109,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6870,6 +7118,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -6878,6 +7127,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.EndpointType = types.ServiceEndpointType(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -6886,14 +7136,17 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.EnvironmentId = ptr.String(jtv) } + case "Error": if err := awsRestjson1_deserializeDocumentErrorResponse(&sv.Error, value); err != nil { return err } + case "LambdaEndpoint": if err := awsRestjson1_deserializeDocumentLambdaEndpointSummary(&sv.LambdaEndpoint, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6909,6 +7162,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6917,6 +7171,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -6925,6 +7180,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.OwnerAccountId = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -6933,6 +7189,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.ServiceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6941,14 +7198,17 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.State = types.ServiceState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UrlEndpoint": if err := awsRestjson1_deserializeDocumentUrlEndpointSummary(&sv.UrlEndpoint, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -6957,6 +7217,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7032,6 +7293,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7040,6 +7302,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7052,6 +7315,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7060,6 +7324,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7099,6 +7364,7 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.ActivationState = types.RouteActivationState(jtv) } + case "AppendSourcePath": if value != nil { jtv, ok := value.(bool) @@ -7107,6 +7373,7 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.AppendSourcePath = ptr.Bool(jtv) } + case "IncludeChildPaths": if value != nil { jtv, ok := value.(bool) @@ -7115,10 +7382,12 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.IncludeChildPaths = ptr.Bool(jtv) } + case "Methods": if err := awsRestjson1_deserializeDocumentHttpMethods(&sv.Methods, value); err != nil { return err } + case "SourcePath": if value != nil { jtv, ok := value.(string) @@ -7127,6 +7396,7 @@ func awsRestjson1_deserializeDocumentUriPathRouteInput(v **types.UriPathRouteInp } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -7166,6 +7436,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointConfig(v **types.UrlEndpointConf } sv.HealthUrl = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7174,6 +7445,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointConfig(v **types.UrlEndpointConf } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7213,6 +7485,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointInput(v **types.UrlEndpointInput } sv.HealthUrl = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7221,6 +7494,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointInput(v **types.UrlEndpointInput } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7260,6 +7534,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointSummary(v **types.UrlEndpointSum } sv.HealthUrl = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -7268,6 +7543,7 @@ func awsRestjson1_deserializeDocumentUrlEndpointSummary(v **types.UrlEndpointSum } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7307,6 +7583,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/migrationhubstrategy/deserializers.go b/service/migrationhubstrategy/deserializers.go index a6b7a34c97d..60ba80323cf 100644 --- a/service/migrationhubstrategy/deserializers.go +++ b/service/migrationhubstrategy/deserializers.go @@ -177,14 +177,17 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentDetailsOutput(v ** if err := awsRestjson1_deserializeDocumentApplicationComponentDetail(&sv.ApplicationComponentDetail, value); err != nil { return err } + case "associatedApplications": if err := awsRestjson1_deserializeDocumentAssociatedApplications(&sv.AssociatedApplications, value); err != nil { return err } + case "associatedServerIds": if err := awsRestjson1_deserializeDocumentAssociatedServerIDs(&sv.AssociatedServerIds, value); err != nil { return err } + case "moreApplicationResource": if value != nil { jtv, ok := value.(bool) @@ -193,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentDetailsOutput(v ** } sv.MoreApplicationResource = ptr.Bool(jtv) } + default: _, _ = key, value @@ -350,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationComponentStrategiesOutput(v if err := awsRestjson1_deserializeDocumentApplicationComponentStrategies(&sv.ApplicationComponentStrategies, value); err != nil { return err } + default: _, _ = key, value @@ -510,10 +515,12 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp if err := awsRestjson1_deserializeDocumentAssessmentTargets(&sv.AssessmentTargets, value); err != nil { return err } + case "dataCollectionDetails": if err := awsRestjson1_deserializeDocumentDataCollectionDetails(&sv.DataCollectionDetails, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -522,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentGetAssessmentOutput(v **GetAssessmentOutp } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -696,6 +704,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } } + case "id": if value != nil { jtv, ok := value.(string) @@ -704,6 +713,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.Id = ptr.String(jtv) } + case "importName": if value != nil { jtv, ok := value.(string) @@ -712,6 +722,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.ImportName = ptr.String(jtv) } + case "inputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -720,6 +731,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.InputS3Bucket = ptr.String(jtv) } + case "inputS3Key": if value != nil { jtv, ok := value.(string) @@ -728,6 +740,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.InputS3Key = ptr.String(jtv) } + case "numberOfRecordsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -740,6 +753,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.NumberOfRecordsFailed = ptr.Int32(int32(i64)) } + case "numberOfRecordsSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -752,6 +766,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.NumberOfRecordsSuccess = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -767,6 +782,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } } + case "status": if value != nil { jtv, ok := value.(string) @@ -775,6 +791,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.Status = types.ImportFileTaskStatus(jtv) } + case "statusReportS3Bucket": if value != nil { jtv, ok := value.(string) @@ -783,6 +800,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.StatusReportS3Bucket = ptr.String(jtv) } + case "statusReportS3Key": if value != nil { jtv, ok := value.(string) @@ -791,6 +809,7 @@ func awsRestjson1_deserializeOpDocumentGetImportFileTaskOutput(v **GetImportFile } sv.StatusReportS3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -955,6 +974,7 @@ func awsRestjson1_deserializeOpDocumentGetLatestAssessmentIdOutput(v **GetLatest } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1119,18 +1139,22 @@ func awsRestjson1_deserializeOpDocumentGetPortfolioPreferencesOutput(v **GetPort } sv.ApplicationMode = types.ApplicationMode(jtv) } + case "applicationPreferences": if err := awsRestjson1_deserializeDocumentApplicationPreferences(&sv.ApplicationPreferences, value); err != nil { return err } + case "databasePreferences": if err := awsRestjson1_deserializeDocumentDatabasePreferences(&sv.DatabasePreferences, value); err != nil { return err } + case "prioritizeBusinessGoals": if err := awsRestjson1_deserializeDocumentPrioritizeBusinessGoals(&sv.PrioritizeBusinessGoals, value); err != nil { return err } + default: _, _ = key, value @@ -1288,6 +1312,7 @@ func awsRestjson1_deserializeOpDocumentGetPortfolioSummaryOutput(v **GetPortfoli if err := awsRestjson1_deserializeDocumentAssessmentSummary(&sv.AssessmentSummary, value); err != nil { return err } + default: _, _ = key, value @@ -1455,10 +1480,12 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationReportDetailsOutput(v ** } sv.Id = ptr.String(jtv) } + case "recommendationReportDetails": if err := awsRestjson1_deserializeDocumentRecommendationReportDetails(&sv.RecommendationReportDetails, value); err != nil { return err } + default: _, _ = key, value @@ -1622,6 +1649,7 @@ func awsRestjson1_deserializeOpDocumentGetServerDetailsOutput(v **GetServerDetai if err := awsRestjson1_deserializeDocumentAssociatedApplications(&sv.AssociatedApplications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1630,10 +1658,12 @@ func awsRestjson1_deserializeOpDocumentGetServerDetailsOutput(v **GetServerDetai } sv.NextToken = ptr.String(jtv) } + case "serverDetail": if err := awsRestjson1_deserializeDocumentServerDetail(&sv.ServerDetail, value); err != nil { return err } + default: _, _ = key, value @@ -1797,6 +1827,7 @@ func awsRestjson1_deserializeOpDocumentGetServerStrategiesOutput(v **GetServerSt if err := awsRestjson1_deserializeDocumentServerStrategies(&sv.ServerStrategies, value); err != nil { return err } + default: _, _ = key, value @@ -1957,6 +1988,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzableServersOutput(v **ListAnaly if err := awsRestjson1_deserializeDocumentAnalyzableServerSummaryList(&sv.AnalyzableServers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1965,6 +1997,7 @@ func awsRestjson1_deserializeOpDocumentListAnalyzableServersOutput(v **ListAnaly } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2125,6 +2158,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationComponentsOutput(v **ListA if err := awsRestjson1_deserializeDocumentApplicationComponentDetails(&sv.ApplicationComponentInfos, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2133,6 +2167,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationComponentsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2293,6 +2328,7 @@ func awsRestjson1_deserializeOpDocumentListCollectorsOutput(v **ListCollectorsOu if err := awsRestjson1_deserializeDocumentCollectors(&sv.Collectors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2301,6 +2337,7 @@ func awsRestjson1_deserializeOpDocumentListCollectorsOutput(v **ListCollectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2465,10 +2502,12 @@ func awsRestjson1_deserializeOpDocumentListImportFileTaskOutput(v **ListImportFi } sv.NextToken = ptr.String(jtv) } + case "taskInfos": if err := awsRestjson1_deserializeDocumentListImportFileTaskInformation(&sv.TaskInfos, value); err != nil { return err } + default: _, _ = key, value @@ -2633,10 +2672,12 @@ func awsRestjson1_deserializeOpDocumentListServersOutput(v **ListServersOutput, } sv.NextToken = ptr.String(jtv) } + case "serverInfos": if err := awsRestjson1_deserializeDocumentServerDetails(&sv.ServerInfos, value); err != nil { return err } + default: _, _ = key, value @@ -2901,6 +2942,7 @@ func awsRestjson1_deserializeOpDocumentStartAssessmentOutput(v **StartAssessment } sv.AssessmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -3068,6 +3110,7 @@ func awsRestjson1_deserializeOpDocumentStartImportFileTaskOutput(v **StartImport } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3235,6 +3278,7 @@ func awsRestjson1_deserializeOpDocumentStartRecommendationReportGenerationOutput } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -3889,6 +3933,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3982,6 +4027,7 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.Hostname = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -3990,6 +4036,7 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.IpAddress = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -3998,6 +4045,7 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.Source = ptr.String(jtv) } + case "vmId": if value != nil { jtv, ok := value.(string) @@ -4006,6 +4054,7 @@ func awsRestjson1_deserializeDocumentAnalyzableServerSummary(v **types.Analyzabl } sv.VmId = ptr.String(jtv) } + default: _, _ = key, value @@ -4141,10 +4190,12 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte if err := awsRestjson1_deserializeDocumentAnalyzerNameUnion(&sv.AnalyzerName, value); err != nil { return err } + case "antiPatternReportS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntiPatternReportS3Object, value); err != nil { return err } + case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4153,6 +4204,7 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } + case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4161,6 +4213,7 @@ func awsRestjson1_deserializeDocumentAntipatternReportResult(v **types.Antipatte } sv.AntipatternReportStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4238,6 +4291,7 @@ func awsRestjson1_deserializeDocumentAntipatternSeveritySummary(v **types.Antipa } sv.Count = ptr.Int32(int32(i64)) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -4246,6 +4300,7 @@ func awsRestjson1_deserializeDocumentAntipatternSeveritySummary(v **types.Antipa } sv.Severity = types.Severity(jtv) } + default: _, _ = key, value @@ -4285,10 +4340,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AnalysisStatus = types.SrcCodeOrDbAnalysisStatus(jtv) } + case "antipatternReportS3Object": if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } + case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4297,6 +4354,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } + case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4305,6 +4363,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AntipatternReportStatusMessage = ptr.String(jtv) } + case "appType": if value != nil { jtv, ok := value.(string) @@ -4313,10 +4372,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AppType = types.AppType(jtv) } + case "appUnitError": if err := awsRestjson1_deserializeDocumentAppUnitError(&sv.AppUnitError, value); err != nil { return err } + case "associatedServerId": if value != nil { jtv, ok := value.(string) @@ -4325,10 +4386,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.AssociatedServerId = ptr.String(jtv) } + case "databaseConfigDetail": if err := awsRestjson1_deserializeDocumentDatabaseConfigDetail(&sv.DatabaseConfigDetail, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4337,6 +4400,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.Id = ptr.String(jtv) } + case "inclusionStatus": if value != nil { jtv, ok := value.(string) @@ -4345,6 +4409,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.InclusionStatus = types.InclusionStatus(jtv) } + case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4360,10 +4425,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } } + case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } + case "moreServerAssociationExists": if value != nil { jtv, ok := value.(bool) @@ -4372,6 +4439,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.MoreServerAssociationExists = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4380,6 +4448,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.Name = ptr.String(jtv) } + case "osDriver": if value != nil { jtv, ok := value.(string) @@ -4388,6 +4457,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.OsDriver = ptr.String(jtv) } + case "osVersion": if value != nil { jtv, ok := value.(string) @@ -4396,10 +4466,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.OsVersion = ptr.String(jtv) } + case "recommendationSet": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.RecommendationSet, value); err != nil { return err } + case "resourceSubType": if value != nil { jtv, ok := value.(string) @@ -4408,10 +4480,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.ResourceSubType = types.ResourceSubType(jtv) } + case "resultList": if err := awsRestjson1_deserializeDocumentResultList(&sv.ResultList, value); err != nil { return err } + case "runtimeStatus": if value != nil { jtv, ok := value.(string) @@ -4420,6 +4494,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.RuntimeStatus = types.RuntimeAnalysisStatus(jtv) } + case "runtimeStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4428,10 +4503,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.RuntimeStatusMessage = ptr.String(jtv) } + case "sourceCodeRepositories": if err := awsRestjson1_deserializeDocumentSourceCodeRepositories(&sv.SourceCodeRepositories, value); err != nil { return err } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4440,6 +4517,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentDetail(v **types.Applic } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4517,6 +4595,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentStatusSummary(v **types } sv.Count = ptr.Int32(int32(i64)) } + case "srcCodeOrDbAnalysisStatus": if value != nil { jtv, ok := value.(string) @@ -4525,6 +4604,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentStatusSummary(v **types } sv.SrcCodeOrDbAnalysisStatus = types.SrcCodeOrDbAnalysisStatus(jtv) } + default: _, _ = key, value @@ -4598,10 +4678,12 @@ func awsRestjson1_deserializeDocumentApplicationComponentStrategy(v **types.Appl } sv.IsPreferred = ptr.Bool(jtv) } + case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.Recommendation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4610,6 +4692,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentStrategy(v **types.Appl } sv.Status = types.StrategyRecommendation(jtv) } + default: _, _ = key, value @@ -4649,6 +4732,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentSummary(v **types.Appli } sv.AppType = types.AppType(jtv) } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -4661,6 +4745,7 @@ func awsRestjson1_deserializeDocumentApplicationComponentSummary(v **types.Appli } sv.Count = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4696,6 +4781,7 @@ func awsRestjson1_deserializeDocumentApplicationPreferences(v **types.Applicatio if err := awsRestjson1_deserializeDocumentManagementPreference(&sv.ManagementPreference, value); err != nil { return err } + default: _, _ = key, value @@ -4735,6 +4821,7 @@ func awsRestjson1_deserializeDocumentAppUnitError(v **types.AppUnitError, value } sv.AppUnitErrorCategory = types.AppUnitErrorCategory(jtv) } + default: _, _ = key, value @@ -4770,6 +4857,7 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } + case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -4778,6 +4866,7 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } + case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4786,6 +4875,7 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.AntipatternReportStatusMessage = ptr.String(jtv) } + case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -4801,34 +4891,42 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } } + case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } + case "listApplicationComponentStatusSummary": if err := awsRestjson1_deserializeDocumentListApplicationComponentStatusSummary(&sv.ListApplicationComponentStatusSummary, value); err != nil { return err } + case "listApplicationComponentStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ListApplicationComponentStrategySummary, value); err != nil { return err } + case "listApplicationComponentSummary": if err := awsRestjson1_deserializeDocumentListApplicationComponentSummary(&sv.ListApplicationComponentSummary, value); err != nil { return err } + case "listServerStatusSummary": if err := awsRestjson1_deserializeDocumentListServerStatusSummary(&sv.ListServerStatusSummary, value); err != nil { return err } + case "listServerStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ListServerStrategySummary, value); err != nil { return err } + case "listServerSummary": if err := awsRestjson1_deserializeDocumentListServerSummary(&sv.ListServerSummary, value); err != nil { return err } + default: _, _ = key, value @@ -4868,6 +4966,7 @@ func awsRestjson1_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Condition = types.Condition(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4876,10 +4975,12 @@ func awsRestjson1_deserializeDocumentAssessmentTarget(v **types.AssessmentTarget } sv.Name = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentAssessmentTargetValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -4989,6 +5090,7 @@ func awsRestjson1_deserializeDocumentAssociatedApplication(v **types.AssociatedA } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4997,6 +5099,7 @@ func awsRestjson1_deserializeDocumentAssociatedApplication(v **types.AssociatedA } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5102,6 +5205,7 @@ func awsRestjson1_deserializeDocumentAwsManagedResources(v **types.AwsManagedRes if err := awsRestjson1_deserializeDocumentAwsManagedTargetDestinations(&sv.TargetDestination, value); err != nil { return err } + default: _, _ = key, value @@ -5181,6 +5285,7 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.LicenseCostReduction = ptr.Int32(int32(i64)) } + case "modernizeInfrastructureWithCloudNativeTechnologies": if value != nil { jtv, ok := value.(json.Number) @@ -5193,6 +5298,7 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.ModernizeInfrastructureWithCloudNativeTechnologies = ptr.Int32(int32(i64)) } + case "reduceOperationalOverheadWithManagedServices": if value != nil { jtv, ok := value.(json.Number) @@ -5205,6 +5311,7 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.ReduceOperationalOverheadWithManagedServices = ptr.Int32(int32(i64)) } + case "speedOfMigration": if value != nil { jtv, ok := value.(json.Number) @@ -5217,6 +5324,7 @@ func awsRestjson1_deserializeDocumentBusinessGoals(v **types.BusinessGoals, valu } sv.SpeedOfMigration = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5256,6 +5364,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorHealth = types.CollectorHealth(jtv) } + case "collectorId": if value != nil { jtv, ok := value.(string) @@ -5264,6 +5373,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorId = ptr.String(jtv) } + case "collectorVersion": if value != nil { jtv, ok := value.(string) @@ -5272,10 +5382,12 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.CollectorVersion = ptr.String(jtv) } + case "configurationSummary": if err := awsRestjson1_deserializeDocumentConfigurationSummary(&sv.ConfigurationSummary, value); err != nil { return err } + case "hostName": if value != nil { jtv, ok := value.(string) @@ -5284,6 +5396,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.HostName = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -5292,6 +5405,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.IpAddress = ptr.String(jtv) } + case "lastActivityTimeStamp": if value != nil { jtv, ok := value.(string) @@ -5300,6 +5414,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.LastActivityTimeStamp = ptr.String(jtv) } + case "registeredTimeStamp": if value != nil { jtv, ok := value.(string) @@ -5308,6 +5423,7 @@ func awsRestjson1_deserializeDocumentCollector(v **types.Collector, value interf } sv.RegisteredTimeStamp = ptr.String(jtv) } + default: _, _ = key, value @@ -5377,22 +5493,27 @@ func awsRestjson1_deserializeDocumentConfigurationSummary(v **types.Configuratio if err := awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfoList(&sv.IpAddressBasedRemoteInfoList, value); err != nil { return err } + case "pipelineInfoList": if err := awsRestjson1_deserializeDocumentPipelineInfoList(&sv.PipelineInfoList, value); err != nil { return err } + case "remoteSourceCodeAnalysisServerInfo": if err := awsRestjson1_deserializeDocumentRemoteSourceCodeAnalysisServerInfo(&sv.RemoteSourceCodeAnalysisServerInfo, value); err != nil { return err } + case "vcenterBasedRemoteInfoList": if err := awsRestjson1_deserializeDocumentVcenterBasedRemoteInfoList(&sv.VcenterBasedRemoteInfoList, value); err != nil { return err } + case "versionControlInfoList": if err := awsRestjson1_deserializeDocumentVersionControlInfoList(&sv.VersionControlInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -5432,6 +5553,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5471,6 +5593,7 @@ func awsRestjson1_deserializeDocumentDatabaseConfigDetail(v **types.DatabaseConf } sv.SecretName = ptr.String(jtv) } + default: _, _ = key, value @@ -5570,10 +5693,12 @@ func awsRestjson1_deserializeDocumentDatabasePreferences(v **types.DatabasePrefe } sv.DatabaseManagementPreference = types.DatabaseManagementPreference(jtv) } + case "databaseMigrationPreference": if err := awsRestjson1_deserializeDocumentDatabaseMigrationPreference(&sv.DatabaseMigrationPreference, value); err != nil { return err } + default: _, _ = key, value @@ -5620,6 +5745,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -5632,6 +5758,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Failed = ptr.Int32(int32(i64)) } + case "inProgress": if value != nil { jtv, ok := value.(json.Number) @@ -5644,6 +5771,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.InProgress = ptr.Int32(int32(i64)) } + case "servers": if value != nil { jtv, ok := value.(json.Number) @@ -5656,6 +5784,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Servers = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -5671,6 +5800,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } } + case "status": if value != nil { jtv, ok := value.(string) @@ -5679,6 +5809,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Status = types.AssessmentStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5687,6 +5818,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.StatusMessage = ptr.String(jtv) } + case "success": if value != nil { jtv, ok := value.(json.Number) @@ -5699,6 +5831,7 @@ func awsRestjson1_deserializeDocumentDataCollectionDetails(v **types.DataCollect } sv.Success = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5738,6 +5871,7 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5773,6 +5907,7 @@ func awsRestjson1_deserializeDocumentHeterogeneous(v **types.Heterogeneous, valu if err := awsRestjson1_deserializeDocumentHeterogeneousTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } + default: _, _ = key, value @@ -5844,6 +5979,7 @@ func awsRestjson1_deserializeDocumentHomogeneous(v **types.Homogeneous, value in if err := awsRestjson1_deserializeDocumentHomogeneousTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } + default: _, _ = key, value @@ -5926,6 +6062,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } } + case "id": if value != nil { jtv, ok := value.(string) @@ -5934,6 +6071,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.Id = ptr.String(jtv) } + case "importName": if value != nil { jtv, ok := value.(string) @@ -5942,6 +6080,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.ImportName = ptr.String(jtv) } + case "inputS3Bucket": if value != nil { jtv, ok := value.(string) @@ -5950,6 +6089,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.InputS3Bucket = ptr.String(jtv) } + case "inputS3Key": if value != nil { jtv, ok := value.(string) @@ -5958,6 +6098,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.InputS3Key = ptr.String(jtv) } + case "numberOfRecordsFailed": if value != nil { jtv, ok := value.(json.Number) @@ -5970,6 +6111,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.NumberOfRecordsFailed = ptr.Int32(int32(i64)) } + case "numberOfRecordsSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -5982,6 +6124,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.NumberOfRecordsSuccess = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -5997,6 +6140,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6005,6 +6149,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.Status = types.ImportFileTaskStatus(jtv) } + case "statusReportS3Bucket": if value != nil { jtv, ok := value.(string) @@ -6013,6 +6158,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.StatusReportS3Bucket = ptr.String(jtv) } + case "statusReportS3Key": if value != nil { jtv, ok := value.(string) @@ -6021,6 +6167,7 @@ func awsRestjson1_deserializeDocumentImportFileTaskInformation(v **types.ImportF } sv.StatusReportS3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -6060,6 +6207,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6099,6 +6247,7 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.AuthType = types.AuthType(jtv) } + case "ipAddressConfigurationTimeStamp": if value != nil { jtv, ok := value.(string) @@ -6107,6 +6256,7 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.IpAddressConfigurationTimeStamp = ptr.String(jtv) } + case "osType": if value != nil { jtv, ok := value.(string) @@ -6115,6 +6265,7 @@ func awsRestjson1_deserializeDocumentIPAddressBasedRemoteInfo(v **types.IPAddres } sv.OsType = types.OSType(jtv) } + default: _, _ = key, value @@ -6486,6 +6637,7 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.InterfaceName = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -6494,6 +6646,7 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.IpAddress = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -6502,6 +6655,7 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.MacAddress = ptr.String(jtv) } + case "netMask": if value != nil { jtv, ok := value.(string) @@ -6510,6 +6664,7 @@ func awsRestjson1_deserializeDocumentNetworkInfo(v **types.NetworkInfo, value in } sv.NetMask = ptr.String(jtv) } + default: _, _ = key, value @@ -6579,6 +6734,7 @@ func awsRestjson1_deserializeDocumentNoDatabaseMigrationPreference(v **types.NoD if err := awsRestjson1_deserializeDocumentTargetDatabaseEngines(&sv.TargetDatabaseEngine, value); err != nil { return err } + default: _, _ = key, value @@ -6614,6 +6770,7 @@ func awsRestjson1_deserializeDocumentNoManagementPreference(v **types.NoManageme if err := awsRestjson1_deserializeDocumentNoPreferenceTargetDestinations(&sv.TargetDestination, value); err != nil { return err } + default: _, _ = key, value @@ -6689,6 +6846,7 @@ func awsRestjson1_deserializeDocumentOSInfo(v **types.OSInfo, value interface{}) } sv.Type = types.OSType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -6697,6 +6855,7 @@ func awsRestjson1_deserializeDocumentOSInfo(v **types.OSInfo, value interface{}) } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6736,6 +6895,7 @@ func awsRestjson1_deserializeDocumentPipelineInfo(v **types.PipelineInfo, value } sv.PipelineConfigurationTimeStamp = ptr.String(jtv) } + case "pipelineType": if value != nil { jtv, ok := value.(string) @@ -6744,6 +6904,7 @@ func awsRestjson1_deserializeDocumentPipelineInfo(v **types.PipelineInfo, value } sv.PipelineType = types.PipelineType(jtv) } + default: _, _ = key, value @@ -6813,6 +6974,7 @@ func awsRestjson1_deserializeDocumentPrioritizeBusinessGoals(v **types.Prioritiz if err := awsRestjson1_deserializeDocumentBusinessGoals(&sv.BusinessGoals, value); err != nil { return err } + default: _, _ = key, value @@ -6859,6 +7021,7 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -6867,10 +7030,12 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.S3Bucket = ptr.String(jtv) } + case "s3Keys": if err := awsRestjson1_deserializeDocumentS3Keys(&sv.S3Keys, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6886,6 +7051,7 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6894,6 +7060,7 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.Status = types.RecommendationReportStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6902,6 +7069,7 @@ func awsRestjson1_deserializeDocumentRecommendationReportDetails(v **types.Recom } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6941,6 +7109,7 @@ func awsRestjson1_deserializeDocumentRecommendationSet(v **types.RecommendationS } sv.Strategy = types.Strategy(jtv) } + case "targetDestination": if value != nil { jtv, ok := value.(string) @@ -6949,10 +7118,12 @@ func awsRestjson1_deserializeDocumentRecommendationSet(v **types.RecommendationS } sv.TargetDestination = types.TargetDestination(jtv) } + case "transformationTool": if err := awsRestjson1_deserializeDocumentTransformationTool(&sv.TransformationTool, value); err != nil { return err } + default: _, _ = key, value @@ -6992,6 +7163,7 @@ func awsRestjson1_deserializeDocumentRemoteSourceCodeAnalysisServerInfo(v **type } sv.RemoteSourceCodeAnalysisServerConfigurationTimestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -7031,6 +7203,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7066,6 +7239,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) if err := awsRestjson1_deserializeDocumentAnalysisStatusUnion(&sv.AnalysisStatus, value); err != nil { return err } + case "analysisType": if value != nil { jtv, ok := value.(string) @@ -7074,10 +7248,12 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.AnalysisType = types.AnalysisType(jtv) } + case "antipatternReportResultList": if err := awsRestjson1_deserializeDocumentAntipatternReportResultList(&sv.AntipatternReportResultList, value); err != nil { return err } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7086,6 +7262,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7195,6 +7372,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.S3Bucket = ptr.String(jtv) } + case "s3key": if value != nil { jtv, ok := value.(string) @@ -7203,6 +7381,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.S3key = ptr.String(jtv) } + default: _, _ = key, value @@ -7238,6 +7417,7 @@ func awsRestjson1_deserializeDocumentSelfManageResources(v **types.SelfManageRes if err := awsRestjson1_deserializeDocumentSelfManageTargetDestinations(&sv.TargetDestination, value); err != nil { return err } + default: _, _ = key, value @@ -7309,6 +7489,7 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value if err := awsRestjson1_deserializeDocumentS3Object(&sv.AntipatternReportS3Object, value); err != nil { return err } + case "antipatternReportStatus": if value != nil { jtv, ok := value.(string) @@ -7317,6 +7498,7 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.AntipatternReportStatus = types.AntipatternReportStatus(jtv) } + case "antipatternReportStatusMessage": if value != nil { jtv, ok := value.(string) @@ -7325,10 +7507,12 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.AntipatternReportStatusMessage = ptr.String(jtv) } + case "applicationComponentStrategySummary": if err := awsRestjson1_deserializeDocumentListStrategySummary(&sv.ApplicationComponentStrategySummary, value); err != nil { return err } + case "dataCollectionStatus": if value != nil { jtv, ok := value.(string) @@ -7337,6 +7521,7 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.DataCollectionStatus = types.RunTimeAssessmentStatus(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7345,6 +7530,7 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.Id = ptr.String(jtv) } + case "lastAnalyzedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7360,10 +7546,12 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } } + case "listAntipatternSeveritySummary": if err := awsRestjson1_deserializeDocumentListAntipatternSeveritySummary(&sv.ListAntipatternSeveritySummary, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7372,14 +7560,17 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.Name = ptr.String(jtv) } + case "recommendationSet": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.RecommendationSet, value); err != nil { return err } + case "serverError": if err := awsRestjson1_deserializeDocumentServerError(&sv.ServerError, value); err != nil { return err } + case "serverType": if value != nil { jtv, ok := value.(string) @@ -7388,6 +7579,7 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.ServerType = ptr.String(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7396,10 +7588,12 @@ func awsRestjson1_deserializeDocumentServerDetail(v **types.ServerDetail, value } sv.StatusMessage = ptr.String(jtv) } + case "systemInfo": if err := awsRestjson1_deserializeDocumentSystemInfo(&sv.SystemInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7473,6 +7667,7 @@ func awsRestjson1_deserializeDocumentServerError(v **types.ServerError, value in } sv.ServerErrorCategory = types.ServerErrorCategory(jtv) } + default: _, _ = key, value @@ -7516,6 +7711,7 @@ func awsRestjson1_deserializeDocumentServerStatusSummary(v **types.ServerStatusS } sv.Count = ptr.Int32(int32(i64)) } + case "runTimeAssessmentStatus": if value != nil { jtv, ok := value.(string) @@ -7524,6 +7720,7 @@ func awsRestjson1_deserializeDocumentServerStatusSummary(v **types.ServerStatusS } sv.RunTimeAssessmentStatus = types.RunTimeAssessmentStatus(jtv) } + default: _, _ = key, value @@ -7597,6 +7794,7 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.IsPreferred = ptr.Bool(jtv) } + case "numberOfApplicationComponents": if value != nil { jtv, ok := value.(json.Number) @@ -7609,10 +7807,12 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.NumberOfApplicationComponents = ptr.Int32(int32(i64)) } + case "recommendation": if err := awsRestjson1_deserializeDocumentRecommendationSet(&sv.Recommendation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7621,6 +7821,7 @@ func awsRestjson1_deserializeDocumentServerStrategy(v **types.ServerStrategy, va } sv.Status = types.StrategyRecommendation(jtv) } + default: _, _ = key, value @@ -7664,6 +7865,7 @@ func awsRestjson1_deserializeDocumentServerSummary(v **types.ServerSummary, valu } sv.Count = ptr.Int32(int32(i64)) } + case "ServerOsType": if value != nil { jtv, ok := value.(string) @@ -7672,6 +7874,7 @@ func awsRestjson1_deserializeDocumentServerSummary(v **types.ServerSummary, valu } sv.ServerOsType = types.ServerOsType(jtv) } + default: _, _ = key, value @@ -7711,6 +7914,7 @@ func awsRestjson1_deserializeDocumentServiceLinkedRoleLockClientException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7750,6 +7954,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7823,6 +8028,7 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.Branch = ptr.String(jtv) } + case "projectName": if value != nil { jtv, ok := value.(string) @@ -7831,6 +8037,7 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.ProjectName = ptr.String(jtv) } + case "repository": if value != nil { jtv, ok := value.(string) @@ -7839,6 +8046,7 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.Repository = ptr.String(jtv) } + case "versionControlType": if value != nil { jtv, ok := value.(string) @@ -7847,6 +8055,7 @@ func awsRestjson1_deserializeDocumentSourceCodeRepository(v **types.SourceCodeRe } sv.VersionControlType = ptr.String(jtv) } + default: _, _ = key, value @@ -7890,6 +8099,7 @@ func awsRestjson1_deserializeDocumentStrategySummary(v **types.StrategySummary, } sv.Count = ptr.Int32(int32(i64)) } + case "strategy": if value != nil { jtv, ok := value.(string) @@ -7898,6 +8108,7 @@ func awsRestjson1_deserializeDocumentStrategySummary(v **types.StrategySummary, } sv.Strategy = types.Strategy(jtv) } + default: _, _ = key, value @@ -7937,6 +8148,7 @@ func awsRestjson1_deserializeDocumentSystemInfo(v **types.SystemInfo, value inte } sv.CpuArchitecture = ptr.String(jtv) } + case "fileSystemType": if value != nil { jtv, ok := value.(string) @@ -7945,14 +8157,17 @@ func awsRestjson1_deserializeDocumentSystemInfo(v **types.SystemInfo, value inte } sv.FileSystemType = ptr.String(jtv) } + case "networkInfoList": if err := awsRestjson1_deserializeDocumentNetworkInfoList(&sv.NetworkInfoList, value); err != nil { return err } + case "osInfo": if err := awsRestjson1_deserializeDocumentOSInfo(&sv.OsInfo, value); err != nil { return err } + default: _, _ = key, value @@ -8028,6 +8243,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8067,6 +8283,7 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8075,6 +8292,7 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.Name = types.TransformationToolName(jtv) } + case "tranformationToolInstallationLink": if value != nil { jtv, ok := value.(string) @@ -8083,6 +8301,7 @@ func awsRestjson1_deserializeDocumentTransformationTool(v **types.Transformation } sv.TranformationToolInstallationLink = ptr.String(jtv) } + default: _, _ = key, value @@ -8122,6 +8341,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8161,6 +8381,7 @@ func awsRestjson1_deserializeDocumentVcenterBasedRemoteInfo(v **types.VcenterBas } sv.OsType = types.OSType(jtv) } + case "vcenterConfigurationTimeStamp": if value != nil { jtv, ok := value.(string) @@ -8169,6 +8390,7 @@ func awsRestjson1_deserializeDocumentVcenterBasedRemoteInfo(v **types.VcenterBas } sv.VcenterConfigurationTimeStamp = ptr.String(jtv) } + default: _, _ = key, value @@ -8242,6 +8464,7 @@ func awsRestjson1_deserializeDocumentVersionControlInfo(v **types.VersionControl } sv.VersionControlConfigurationTimeStamp = ptr.String(jtv) } + case "versionControlType": if value != nil { jtv, ok := value.(string) @@ -8250,6 +8473,7 @@ func awsRestjson1_deserializeDocumentVersionControlInfo(v **types.VersionControl } sv.VersionControlType = types.VersionControlType(jtv) } + default: _, _ = key, value diff --git a/service/mq/deserializers.go b/service/mq/deserializers.go index 67cc1094ff8..de38f396133 100644 --- a/service/mq/deserializers.go +++ b/service/mq/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCreateBrokerOutput(v **CreateBrokerOutput } sv.BrokerArn = ptr.String(jtv) } + case "brokerId": if value != nil { jtv, ok := value.(string) @@ -196,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCreateBrokerOutput(v **CreateBrokerOutput } sv.BrokerId = ptr.String(jtv) } + default: _, _ = key, value @@ -360,6 +362,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Arn = ptr.String(jtv) } + case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -368,6 +371,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -380,6 +384,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Created = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -388,10 +393,12 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Id = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -400,6 +407,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationOutput(v **CreateConfi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -767,6 +775,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBrokerOutput(v **DeleteBrokerOutput } sv.BrokerId = ptr.String(jtv) } + default: _, _ = key, value @@ -1127,6 +1136,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu if err := awsRestjson1_deserializeDocument__listOfActionRequired(&sv.ActionsRequired, value); err != nil { return err } + case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1135,6 +1145,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "autoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -1143,6 +1154,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "brokerArn": if value != nil { jtv, ok := value.(string) @@ -1151,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerArn = ptr.String(jtv) } + case "brokerId": if value != nil { jtv, ok := value.(string) @@ -1159,10 +1172,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerId = ptr.String(jtv) } + case "brokerInstances": if err := awsRestjson1_deserializeDocument__listOfBrokerInstance(&sv.BrokerInstances, value); err != nil { return err } + case "brokerName": if value != nil { jtv, ok := value.(string) @@ -1171,6 +1186,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerName = ptr.String(jtv) } + case "brokerState": if value != nil { jtv, ok := value.(string) @@ -1179,10 +1195,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.BrokerState = types.BrokerState(jtv) } + case "configurations": if err := awsRestjson1_deserializeDocumentConfigurations(&sv.Configurations, value); err != nil { return err } + case "created": if value != nil { jtv, ok := value.(string) @@ -1195,10 +1213,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.Created = ptr.Time(t) } + case "dataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.DataReplicationMetadata, value); err != nil { return err } + case "dataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -1207,6 +1227,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.DataReplicationMode = types.DataReplicationMode(jtv) } + case "deploymentMode": if value != nil { jtv, ok := value.(string) @@ -1215,10 +1236,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.DeploymentMode = types.DeploymentMode(jtv) } + case "encryptionOptions": if err := awsRestjson1_deserializeDocumentEncryptionOptions(&sv.EncryptionOptions, value); err != nil { return err } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -1227,6 +1250,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.EngineType = types.EngineType(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -1235,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.EngineVersion = ptr.String(jtv) } + case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -1243,18 +1268,22 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.HostInstanceType = ptr.String(jtv) } + case "ldapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.LdapServerMetadata, value); err != nil { return err } + case "logs": if err := awsRestjson1_deserializeDocumentLogsSummary(&sv.Logs, value); err != nil { return err } + case "maintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentWeeklyStartTime(&sv.MaintenanceWindowStartTime, value); err != nil { return err } + case "pendingAuthenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1263,10 +1292,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingAuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "pendingDataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.PendingDataReplicationMetadata, value); err != nil { return err } + case "pendingDataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -1275,6 +1306,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingDataReplicationMode = types.DataReplicationMode(jtv) } + case "pendingEngineVersion": if value != nil { jtv, ok := value.(string) @@ -1283,6 +1315,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingEngineVersion = ptr.String(jtv) } + case "pendingHostInstanceType": if value != nil { jtv, ok := value.(string) @@ -1291,14 +1324,17 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PendingHostInstanceType = ptr.String(jtv) } + case "pendingLdapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.PendingLdapServerMetadata, value); err != nil { return err } + case "pendingSecurityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.PendingSecurityGroups, value); err != nil { return err } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -1307,10 +1343,12 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -1319,18 +1357,22 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerOutput(v **DescribeBrokerOu } sv.StorageType = types.BrokerStorageType(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SubnetIds, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + case "users": if err := awsRestjson1_deserializeDocument__listOfUserSummary(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -1488,6 +1530,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr if err := awsRestjson1_deserializeDocument__listOfBrokerEngineType(&sv.BrokerEngineTypes, value); err != nil { return err } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1500,6 +1543,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1508,6 +1552,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerEngineTypesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1665,6 +1710,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D if err := awsRestjson1_deserializeDocument__listOfBrokerInstanceOption(&sv.BrokerInstanceOptions, value); err != nil { return err } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -1677,6 +1723,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1685,6 +1732,7 @@ func awsRestjson1_deserializeOpDocumentDescribeBrokerInstanceOptionsOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1849,6 +1897,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Arn = ptr.String(jtv) } + case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -1857,6 +1906,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -1869,6 +1919,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Created = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1877,6 +1928,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Description = ptr.String(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -1885,6 +1937,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.EngineType = types.EngineType(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -1893,6 +1946,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.EngineVersion = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1901,10 +1955,12 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Id = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1913,10 +1969,12 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationOutput(v **DescribeC } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2081,6 +2139,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.ConfigurationId = ptr.String(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -2093,6 +2152,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Created = ptr.Time(t) } + case "data": if value != nil { jtv, ok := value.(string) @@ -2101,6 +2161,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Data = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2109,6 +2170,7 @@ func awsRestjson1_deserializeOpDocumentDescribeConfigurationRevisionOutput(v **D } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -2273,6 +2335,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.BrokerId = ptr.String(jtv) } + case "consoleAccess": if value != nil { jtv, ok := value.(bool) @@ -2281,14 +2344,17 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ConsoleAccess = ptr.Bool(jtv) } + case "groups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Groups, value); err != nil { return err } + case "pending": if err := awsRestjson1_deserializeDocumentUserPendingChanges(&sv.Pending, value); err != nil { return err } + case "replicationUser": if value != nil { jtv, ok := value.(bool) @@ -2297,6 +2363,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ReplicationUser = ptr.Bool(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -2305,6 +2372,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -2462,6 +2530,7 @@ func awsRestjson1_deserializeOpDocumentListBrokersOutput(v **ListBrokersOutput, if err := awsRestjson1_deserializeDocument__listOfBrokerSummary(&sv.BrokerSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2470,6 +2539,7 @@ func awsRestjson1_deserializeOpDocumentListBrokersOutput(v **ListBrokersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2634,6 +2704,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.ConfigurationId = ptr.String(jtv) } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -2646,6 +2717,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2654,10 +2726,12 @@ func awsRestjson1_deserializeOpDocumentListConfigurationRevisionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "revisions": if err := awsRestjson1_deserializeDocument__listOfConfigurationRevision(&sv.Revisions, value); err != nil { return err } + default: _, _ = key, value @@ -2815,6 +2889,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur if err := awsRestjson1_deserializeDocument__listOfConfiguration(&sv.Configurations, value); err != nil { return err } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -2827,6 +2902,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2835,6 +2911,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationsOutput(v **ListConfigur } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2995,6 +3072,7 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3159,6 +3237,7 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.BrokerId = ptr.String(jtv) } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -3171,6 +3250,7 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.MaxResults = ptr.Int32(int32(i64)) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3179,10 +3259,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "users": if err := awsRestjson1_deserializeDocument__listOfUserSummary(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -3347,6 +3429,7 @@ func awsRestjson1_deserializeOpDocumentPromoteOutput(v **PromoteOutput, value in } sv.BrokerId = ptr.String(jtv) } + default: _, _ = key, value @@ -3611,6 +3694,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "autoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -3619,6 +3703,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "brokerId": if value != nil { jtv, ok := value.(string) @@ -3627,14 +3712,17 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.BrokerId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Configuration, value); err != nil { return err } + case "dataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.DataReplicationMetadata, value); err != nil { return err } + case "dataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -3643,6 +3731,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.DataReplicationMode = types.DataReplicationMode(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -3651,6 +3740,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.EngineVersion = ptr.String(jtv) } + case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -3659,22 +3749,27 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.HostInstanceType = ptr.String(jtv) } + case "ldapServerMetadata": if err := awsRestjson1_deserializeDocumentLdapServerMetadataOutput(&sv.LdapServerMetadata, value); err != nil { return err } + case "logs": if err := awsRestjson1_deserializeDocumentLogs(&sv.Logs, value); err != nil { return err } + case "maintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentWeeklyStartTime(&sv.MaintenanceWindowStartTime, value); err != nil { return err } + case "pendingDataReplicationMetadata": if err := awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(&sv.PendingDataReplicationMetadata, value); err != nil { return err } + case "pendingDataReplicationMode": if value != nil { jtv, ok := value.(string) @@ -3683,10 +3778,12 @@ func awsRestjson1_deserializeOpDocumentUpdateBrokerOutput(v **UpdateBrokerOutput } sv.PendingDataReplicationMode = types.DataReplicationMode(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -3854,6 +3951,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Arn = ptr.String(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3964,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Created = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3874,10 +3973,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Id = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3886,10 +3987,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationOutput(v **UpdateConfi } sv.Name = ptr.String(jtv) } + case "warnings": if err := awsRestjson1_deserializeDocument__listOfSanitizationWarning(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -4761,6 +4864,7 @@ func awsRestjson1_deserializeDocumentActionRequired(v **types.ActionRequired, va } sv.ActionRequiredCode = ptr.String(jtv) } + case "actionRequiredInfo": if value != nil { jtv, ok := value.(string) @@ -4769,6 +4873,7 @@ func awsRestjson1_deserializeDocumentActionRequired(v **types.ActionRequired, va } sv.ActionRequiredInfo = ptr.String(jtv) } + default: _, _ = key, value @@ -4808,6 +4913,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4847,6 +4953,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4855,6 +4962,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4894,10 +5002,12 @@ func awsRestjson1_deserializeDocumentBrokerEngineType(v **types.BrokerEngineType } sv.EngineType = types.EngineType(jtv) } + case "engineVersions": if err := awsRestjson1_deserializeDocument__listOfEngineVersion(&sv.EngineVersions, value); err != nil { return err } + default: _, _ = key, value @@ -4937,10 +5047,12 @@ func awsRestjson1_deserializeDocumentBrokerInstance(v **types.BrokerInstance, va } sv.ConsoleURL = ptr.String(jtv) } + case "endpoints": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Endpoints, value); err != nil { return err } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -4949,6 +5061,7 @@ func awsRestjson1_deserializeDocumentBrokerInstance(v **types.BrokerInstance, va } sv.IpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -4984,6 +5097,7 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan if err := awsRestjson1_deserializeDocument__listOfAvailabilityZone(&sv.AvailabilityZones, value); err != nil { return err } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -4992,6 +5106,7 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.EngineType = types.EngineType(jtv) } + case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -5000,6 +5115,7 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.HostInstanceType = ptr.String(jtv) } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -5008,14 +5124,17 @@ func awsRestjson1_deserializeDocumentBrokerInstanceOption(v **types.BrokerInstan } sv.StorageType = types.BrokerStorageType(jtv) } + case "supportedDeploymentModes": if err := awsRestjson1_deserializeDocument__listOfDeploymentMode(&sv.SupportedDeploymentModes, value); err != nil { return err } + case "supportedEngineVersions": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.SupportedEngineVersions, value); err != nil { return err } + default: _, _ = key, value @@ -5055,6 +5174,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerArn = ptr.String(jtv) } + case "brokerId": if value != nil { jtv, ok := value.(string) @@ -5063,6 +5183,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerId = ptr.String(jtv) } + case "brokerName": if value != nil { jtv, ok := value.(string) @@ -5071,6 +5192,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerName = ptr.String(jtv) } + case "brokerState": if value != nil { jtv, ok := value.(string) @@ -5079,6 +5201,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.BrokerState = types.BrokerState(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -5091,6 +5214,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.Created = ptr.Time(t) } + case "deploymentMode": if value != nil { jtv, ok := value.(string) @@ -5099,6 +5223,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.DeploymentMode = types.DeploymentMode(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -5107,6 +5232,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.EngineType = types.EngineType(jtv) } + case "hostInstanceType": if value != nil { jtv, ok := value.(string) @@ -5115,6 +5241,7 @@ func awsRestjson1_deserializeDocumentBrokerSummary(v **types.BrokerSummary, valu } sv.HostInstanceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5154,6 +5281,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Arn = ptr.String(jtv) } + case "authenticationStrategy": if value != nil { jtv, ok := value.(string) @@ -5162,6 +5290,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.AuthenticationStrategy = types.AuthenticationStrategy(jtv) } + case "created": if value != nil { jtv, ok := value.(string) @@ -5174,6 +5303,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Created = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5182,6 +5312,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Description = ptr.String(jtv) } + case "engineType": if value != nil { jtv, ok := value.(string) @@ -5190,6 +5321,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.EngineType = types.EngineType(jtv) } + case "engineVersion": if value != nil { jtv, ok := value.(string) @@ -5198,6 +5330,7 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.EngineVersion = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5206,10 +5339,12 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Id = ptr.String(jtv) } + case "latestRevision": if err := awsRestjson1_deserializeDocumentConfigurationRevision(&sv.LatestRevision, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5218,10 +5353,12 @@ func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, valu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocument__mapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5261,6 +5398,7 @@ func awsRestjson1_deserializeDocumentConfigurationId(v **types.ConfigurationId, } sv.Id = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5273,6 +5411,7 @@ func awsRestjson1_deserializeDocumentConfigurationId(v **types.ConfigurationId, } sv.Revision = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5316,6 +5455,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Created = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5464,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Description = ptr.String(jtv) } + case "revision": if value != nil { jtv, ok := value.(json.Number) @@ -5336,6 +5477,7 @@ func awsRestjson1_deserializeDocumentConfigurationRevision(v **types.Configurati } sv.Revision = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5371,14 +5513,17 @@ func awsRestjson1_deserializeDocumentConfigurations(v **types.Configurations, va if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Current, value); err != nil { return err } + case "history": if err := awsRestjson1_deserializeDocument__listOfConfigurationId(&sv.History, value); err != nil { return err } + case "pending": if err := awsRestjson1_deserializeDocumentConfigurationId(&sv.Pending, value); err != nil { return err } + default: _, _ = key, value @@ -5418,6 +5563,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5426,6 +5572,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5465,6 +5612,7 @@ func awsRestjson1_deserializeDocumentDataReplicationCounterpart(v **types.DataRe } sv.BrokerId = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -5473,6 +5621,7 @@ func awsRestjson1_deserializeDocumentDataReplicationCounterpart(v **types.DataRe } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -5508,6 +5657,7 @@ func awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(v **types.Dat if err := awsRestjson1_deserializeDocumentDataReplicationCounterpart(&sv.DataReplicationCounterpart, value); err != nil { return err } + case "dataReplicationRole": if value != nil { jtv, ok := value.(string) @@ -5516,6 +5666,7 @@ func awsRestjson1_deserializeDocumentDataReplicationMetadataOutput(v **types.Dat } sv.DataReplicationRole = ptr.String(jtv) } + default: _, _ = key, value @@ -5555,6 +5706,7 @@ func awsRestjson1_deserializeDocumentEncryptionOptions(v **types.EncryptionOptio } sv.KmsKeyId = ptr.String(jtv) } + case "useAwsOwnedKey": if value != nil { jtv, ok := value.(bool) @@ -5563,6 +5715,7 @@ func awsRestjson1_deserializeDocumentEncryptionOptions(v **types.EncryptionOptio } sv.UseAwsOwnedKey = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5602,6 +5755,7 @@ func awsRestjson1_deserializeDocumentEngineVersion(v **types.EngineVersion, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5641,6 +5795,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5649,6 +5804,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5688,6 +5844,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5696,6 +5853,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5731,6 +5889,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Hosts, value); err != nil { return err } + case "roleBase": if value != nil { jtv, ok := value.(string) @@ -5739,6 +5898,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleBase = ptr.String(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -5747,6 +5907,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleName = ptr.String(jtv) } + case "roleSearchMatching": if value != nil { jtv, ok := value.(string) @@ -5755,6 +5916,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleSearchMatching = ptr.String(jtv) } + case "roleSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -5763,6 +5925,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.RoleSearchSubtree = ptr.Bool(jtv) } + case "serviceAccountUsername": if value != nil { jtv, ok := value.(string) @@ -5771,6 +5934,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.ServiceAccountUsername = ptr.String(jtv) } + case "userBase": if value != nil { jtv, ok := value.(string) @@ -5779,6 +5943,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserBase = ptr.String(jtv) } + case "userRoleName": if value != nil { jtv, ok := value.(string) @@ -5787,6 +5952,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserRoleName = ptr.String(jtv) } + case "userSearchMatching": if value != nil { jtv, ok := value.(string) @@ -5795,6 +5961,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserSearchMatching = ptr.String(jtv) } + case "userSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -5803,6 +5970,7 @@ func awsRestjson1_deserializeDocumentLdapServerMetadataOutput(v **types.LdapServ } sv.UserSearchSubtree = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5842,6 +6010,7 @@ func awsRestjson1_deserializeDocumentLogs(v **types.Logs, value interface{}) err } sv.Audit = ptr.Bool(jtv) } + case "general": if value != nil { jtv, ok := value.(bool) @@ -5850,6 +6019,7 @@ func awsRestjson1_deserializeDocumentLogs(v **types.Logs, value interface{}) err } sv.General = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5889,6 +6059,7 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.Audit = ptr.Bool(jtv) } + case "auditLogGroup": if value != nil { jtv, ok := value.(string) @@ -5897,6 +6068,7 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.AuditLogGroup = ptr.String(jtv) } + case "general": if value != nil { jtv, ok := value.(bool) @@ -5905,6 +6077,7 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.General = ptr.Bool(jtv) } + case "generalLogGroup": if value != nil { jtv, ok := value.(string) @@ -5913,10 +6086,12 @@ func awsRestjson1_deserializeDocumentLogsSummary(v **types.LogsSummary, value in } sv.GeneralLogGroup = ptr.String(jtv) } + case "pending": if err := awsRestjson1_deserializeDocumentPendingLogs(&sv.Pending, value); err != nil { return err } + default: _, _ = key, value @@ -5956,6 +6131,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5964,6 +6140,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6003,6 +6180,7 @@ func awsRestjson1_deserializeDocumentPendingLogs(v **types.PendingLogs, value in } sv.Audit = ptr.Bool(jtv) } + case "general": if value != nil { jtv, ok := value.(bool) @@ -6011,6 +6189,7 @@ func awsRestjson1_deserializeDocumentPendingLogs(v **types.PendingLogs, value in } sv.General = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6050,6 +6229,7 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.AttributeName = ptr.String(jtv) } + case "elementName": if value != nil { jtv, ok := value.(string) @@ -6058,6 +6238,7 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.ElementName = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6247,7 @@ func awsRestjson1_deserializeDocumentSanitizationWarning(v **types.SanitizationW } sv.Reason = types.SanitizationWarningReason(jtv) } + default: _, _ = key, value @@ -6105,6 +6287,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.ErrorAttribute = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6113,6 +6296,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6152,10 +6336,12 @@ func awsRestjson1_deserializeDocumentUserPendingChanges(v **types.UserPendingCha } sv.ConsoleAccess = ptr.Bool(jtv) } + case "groups": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Groups, value); err != nil { return err } + case "pendingChange": if value != nil { jtv, ok := value.(string) @@ -6164,6 +6350,7 @@ func awsRestjson1_deserializeDocumentUserPendingChanges(v **types.UserPendingCha } sv.PendingChange = types.ChangeType(jtv) } + default: _, _ = key, value @@ -6203,6 +6390,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.PendingChange = types.ChangeType(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -6211,6 +6399,7 @@ func awsRestjson1_deserializeDocumentUserSummary(v **types.UserSummary, value in } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -6250,6 +6439,7 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.DayOfWeek = types.DayOfWeek(jtv) } + case "timeOfDay": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6448,7 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.TimeOfDay = ptr.String(jtv) } + case "timeZone": if value != nil { jtv, ok := value.(string) @@ -6266,6 +6457,7 @@ func awsRestjson1_deserializeDocumentWeeklyStartTime(v **types.WeeklyStartTime, } sv.TimeZone = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/mturk/deserializers.go b/service/mturk/deserializers.go index 31f94b92036..0f90405257b 100644 --- a/service/mturk/deserializers.go +++ b/service/mturk/deserializers.go @@ -4582,6 +4582,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "Answer": if value != nil { jtv, ok := value.(string) @@ -4590,6 +4591,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.Answer = ptr.String(jtv) } + case "ApprovalTime": if value != nil { switch jtv := value.(type) { @@ -4605,6 +4607,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "AssignmentId": if value != nil { jtv, ok := value.(string) @@ -4613,6 +4616,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.AssignmentId = ptr.String(jtv) } + case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -4621,6 +4625,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.AssignmentStatus = types.AssignmentStatus(jtv) } + case "AutoApprovalTime": if value != nil { switch jtv := value.(type) { @@ -4636,6 +4641,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "Deadline": if value != nil { switch jtv := value.(type) { @@ -4651,6 +4657,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "HITId": if value != nil { jtv, ok := value.(string) @@ -4659,6 +4666,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.HITId = ptr.String(jtv) } + case "RejectionTime": if value != nil { switch jtv := value.(type) { @@ -4674,6 +4682,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "RequesterFeedback": if value != nil { jtv, ok := value.(string) @@ -4682,6 +4691,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.RequesterFeedback = ptr.String(jtv) } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -4697,6 +4707,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -4705,6 +4716,7 @@ func awsAwsjson11_deserializeDocumentAssignment(v **types.Assignment, value inte } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -4778,6 +4790,7 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.AssignmentId = ptr.String(jtv) } + case "BonusAmount": if value != nil { jtv, ok := value.(string) @@ -4786,6 +4799,7 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.BonusAmount = ptr.String(jtv) } + case "GrantTime": if value != nil { switch jtv := value.(type) { @@ -4801,6 +4815,7 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -4809,6 +4824,7 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.Reason = ptr.String(jtv) } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -4817,6 +4833,7 @@ func awsAwsjson11_deserializeDocumentBonusPayment(v **types.BonusPayment, value } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -4894,6 +4911,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.AssignmentDurationInSeconds = ptr.Int64(i64) } + case "AutoApprovalDelayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4906,6 +4924,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.AutoApprovalDelayInSeconds = ptr.Int64(i64) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4921,6 +4940,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4929,6 +4949,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Description = ptr.String(jtv) } + case "Expiration": if value != nil { switch jtv := value.(type) { @@ -4944,6 +4965,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } } + case "HITGroupId": if value != nil { jtv, ok := value.(string) @@ -4952,6 +4974,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITGroupId = ptr.String(jtv) } + case "HITId": if value != nil { jtv, ok := value.(string) @@ -4960,6 +4983,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITId = ptr.String(jtv) } + case "HITLayoutId": if value != nil { jtv, ok := value.(string) @@ -4968,6 +4992,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITLayoutId = ptr.String(jtv) } + case "HITReviewStatus": if value != nil { jtv, ok := value.(string) @@ -4976,6 +5001,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITReviewStatus = types.HITReviewStatus(jtv) } + case "HITStatus": if value != nil { jtv, ok := value.(string) @@ -4984,6 +5010,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITStatus = types.HITStatus(jtv) } + case "HITTypeId": if value != nil { jtv, ok := value.(string) @@ -4992,6 +5019,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.HITTypeId = ptr.String(jtv) } + case "Keywords": if value != nil { jtv, ok := value.(string) @@ -5000,6 +5028,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Keywords = ptr.String(jtv) } + case "MaxAssignments": if value != nil { jtv, ok := value.(json.Number) @@ -5012,6 +5041,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.MaxAssignments = ptr.Int32(int32(i64)) } + case "NumberOfAssignmentsAvailable": if value != nil { jtv, ok := value.(json.Number) @@ -5024,6 +5054,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsAvailable = ptr.Int32(int32(i64)) } + case "NumberOfAssignmentsCompleted": if value != nil { jtv, ok := value.(json.Number) @@ -5036,6 +5067,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsCompleted = ptr.Int32(int32(i64)) } + case "NumberOfAssignmentsPending": if value != nil { jtv, ok := value.(json.Number) @@ -5048,10 +5080,12 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.NumberOfAssignmentsPending = ptr.Int32(int32(i64)) } + case "QualificationRequirements": if err := awsAwsjson11_deserializeDocumentQualificationRequirementList(&sv.QualificationRequirements, value); err != nil { return err } + case "Question": if value != nil { jtv, ok := value.(string) @@ -5060,6 +5094,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Question = ptr.String(jtv) } + case "RequesterAnnotation": if value != nil { jtv, ok := value.(string) @@ -5068,6 +5103,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.RequesterAnnotation = ptr.String(jtv) } + case "Reward": if value != nil { jtv, ok := value.(string) @@ -5076,6 +5112,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Reward = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5121,7 @@ func awsAwsjson11_deserializeDocumentHIT(v **types.HIT, value interface{}) error } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -5197,6 +5235,7 @@ func awsAwsjson11_deserializeDocumentLocale(v **types.Locale, value interface{}) } sv.Country = ptr.String(jtv) } + case "Subdivision": if value != nil { jtv, ok := value.(string) @@ -5205,6 +5244,7 @@ func awsAwsjson11_deserializeDocumentLocale(v **types.Locale, value interface{}) } sv.Subdivision = ptr.String(jtv) } + default: _, _ = key, value @@ -5278,6 +5318,7 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.NotifyWorkersFailureCode = types.NotifyWorkersFailureCode(jtv) } + case "NotifyWorkersFailureMessage": if value != nil { jtv, ok := value.(string) @@ -5286,6 +5327,7 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.NotifyWorkersFailureMessage = ptr.String(jtv) } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5294,6 +5336,7 @@ func awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatus(v **types.Notify } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5367,10 +5410,12 @@ func awsAwsjson11_deserializeDocumentParameterMapEntry(v **types.ParameterMapEnt } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -5444,14 +5489,17 @@ func awsAwsjson11_deserializeDocumentPolicyParameter(v **types.PolicyParameter, } sv.Key = ptr.String(jtv) } + case "MapEntries": if err := awsAwsjson11_deserializeDocumentParameterMapEntryList(&sv.MapEntries, value); err != nil { return err } + case "Values": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -5532,6 +5580,7 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } } + case "IntegerValue": if value != nil { jtv, ok := value.(json.Number) @@ -5544,10 +5593,12 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.IntegerValue = ptr.Int32(int32(i64)) } + case "LocaleValue": if err := awsAwsjson11_deserializeDocumentLocale(&sv.LocaleValue, value); err != nil { return err } + case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5556,6 +5607,7 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.QualificationTypeId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5564,6 +5616,7 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.Status = types.QualificationStatus(jtv) } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5572,6 +5625,7 @@ func awsAwsjson11_deserializeDocumentQualification(v **types.Qualification, valu } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5645,6 +5699,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.Answer = ptr.String(jtv) } + case "QualificationRequestId": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5708,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.QualificationRequestId = ptr.String(jtv) } + case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5717,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.QualificationTypeId = ptr.String(jtv) } + case "SubmitTime": if value != nil { switch jtv := value.(type) { @@ -5676,6 +5733,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } } + case "Test": if value != nil { jtv, ok := value.(string) @@ -5684,6 +5742,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.Test = ptr.String(jtv) } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -5692,6 +5751,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequest(v **types.Qualificatio } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5765,6 +5825,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.ActionsGuarded = types.HITAccessActions(jtv) } + case "Comparator": if value != nil { jtv, ok := value.(string) @@ -5773,14 +5834,17 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.Comparator = types.Comparator(jtv) } + case "IntegerValues": if err := awsAwsjson11_deserializeDocumentIntegerList(&sv.IntegerValues, value); err != nil { return err } + case "LocaleValues": if err := awsAwsjson11_deserializeDocumentLocaleList(&sv.LocaleValues, value); err != nil { return err } + case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5789,6 +5853,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.QualificationTypeId = ptr.String(jtv) } + case "RequiredToPreview": if value != nil { jtv, ok := value.(bool) @@ -5797,6 +5862,7 @@ func awsAwsjson11_deserializeDocumentQualificationRequirement(v **types.Qualific } sv.RequiredToPreview = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5870,6 +5936,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AnswerKey = ptr.String(jtv) } + case "AutoGranted": if value != nil { jtv, ok := value.(bool) @@ -5878,6 +5945,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AutoGranted = ptr.Bool(jtv) } + case "AutoGrantedValue": if value != nil { jtv, ok := value.(json.Number) @@ -5890,6 +5958,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.AutoGrantedValue = ptr.Int32(int32(i64)) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5905,6 +5974,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5913,6 +5983,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Description = ptr.String(jtv) } + case "IsRequestable": if value != nil { jtv, ok := value.(bool) @@ -5921,6 +5992,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.IsRequestable = ptr.Bool(jtv) } + case "Keywords": if value != nil { jtv, ok := value.(string) @@ -5929,6 +6001,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Keywords = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5937,6 +6010,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Name = ptr.String(jtv) } + case "QualificationTypeId": if value != nil { jtv, ok := value.(string) @@ -5945,6 +6019,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.QualificationTypeId = ptr.String(jtv) } + case "QualificationTypeStatus": if value != nil { jtv, ok := value.(string) @@ -5953,6 +6028,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.QualificationTypeStatus = types.QualificationTypeStatus(jtv) } + case "RetryDelayInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5965,6 +6041,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.RetryDelayInSeconds = ptr.Int64(i64) } + case "Test": if value != nil { jtv, ok := value.(string) @@ -5973,6 +6050,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.Test = ptr.String(jtv) } + case "TestDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5985,6 +6063,7 @@ func awsAwsjson11_deserializeDocumentQualificationType(v **types.QualificationTy } sv.TestDurationInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -6058,6 +6137,7 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value } sv.Message = ptr.String(jtv) } + case "TurkErrorCode": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6146,7 @@ func awsAwsjson11_deserializeDocumentRequestError(v **types.RequestError, value } sv.TurkErrorCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6105,6 +6186,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ActionId = ptr.String(jtv) } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -6113,6 +6195,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ActionName = ptr.String(jtv) } + case "CompleteTime": if value != nil { switch jtv := value.(type) { @@ -6128,6 +6211,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -6136,6 +6220,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.ErrorCode = ptr.String(jtv) } + case "Result": if value != nil { jtv, ok := value.(string) @@ -6144,6 +6229,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.Result = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6152,6 +6238,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.Status = types.ReviewActionStatus(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -6160,6 +6247,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -6168,6 +6256,7 @@ func awsAwsjson11_deserializeDocumentReviewActionDetail(v **types.ReviewActionDe } sv.TargetType = ptr.String(jtv) } + default: _, _ = key, value @@ -6237,6 +6326,7 @@ func awsAwsjson11_deserializeDocumentReviewPolicy(v **types.ReviewPolicy, value if err := awsAwsjson11_deserializeDocumentPolicyParameterList(&sv.Parameters, value); err != nil { return err } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6335,7 @@ func awsAwsjson11_deserializeDocumentReviewPolicy(v **types.ReviewPolicy, value } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -6280,10 +6371,12 @@ func awsAwsjson11_deserializeDocumentReviewReport(v **types.ReviewReport, value if err := awsAwsjson11_deserializeDocumentReviewActionDetailList(&sv.ReviewActions, value); err != nil { return err } + case "ReviewResults": if err := awsAwsjson11_deserializeDocumentReviewResultDetailList(&sv.ReviewResults, value); err != nil { return err } + default: _, _ = key, value @@ -6323,6 +6416,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.ActionId = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -6331,6 +6425,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.Key = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -6339,6 +6434,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.QuestionId = ptr.String(jtv) } + case "SubjectId": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6443,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.SubjectId = ptr.String(jtv) } + case "SubjectType": if value != nil { jtv, ok := value.(string) @@ -6355,6 +6452,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.SubjectType = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6363,6 +6461,7 @@ func awsAwsjson11_deserializeDocumentReviewResultDetail(v **types.ReviewResultDe } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6436,6 +6535,7 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value } sv.Message = ptr.String(jtv) } + case "TurkErrorCode": if value != nil { jtv, ok := value.(string) @@ -6444,6 +6544,7 @@ func awsAwsjson11_deserializeDocumentServiceFault(v **types.ServiceFault, value } sv.TurkErrorCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6519,6 +6620,7 @@ func awsAwsjson11_deserializeDocumentWorkerBlock(v **types.WorkerBlock, value in } sv.Reason = ptr.String(jtv) } + case "WorkerId": if value != nil { jtv, ok := value.(string) @@ -6527,6 +6629,7 @@ func awsAwsjson11_deserializeDocumentWorkerBlock(v **types.WorkerBlock, value in } sv.WorkerId = ptr.String(jtv) } + default: _, _ = key, value @@ -6720,6 +6823,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHITOutput(v **CreateHITOutput, valu if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } + default: _, _ = key, value @@ -6759,6 +6863,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHITTypeOutput(v **CreateHITTypeOutp } sv.HITTypeId = ptr.String(jtv) } + default: _, _ = key, value @@ -6794,6 +6899,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHITWithHITTypeOutput(v **CreateHITW if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } + default: _, _ = key, value @@ -6829,6 +6935,7 @@ func awsAwsjson11_deserializeOpDocumentCreateQualificationTypeOutput(v **CreateQ if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } + default: _, _ = key, value @@ -7023,6 +7130,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountBalanceOutput(v **GetAccountBal } sv.AvailableBalance = ptr.String(jtv) } + case "OnHoldBalance": if value != nil { jtv, ok := value.(string) @@ -7031,6 +7139,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountBalanceOutput(v **GetAccountBal } sv.OnHoldBalance = ptr.String(jtv) } + default: _, _ = key, value @@ -7066,10 +7175,12 @@ func awsAwsjson11_deserializeOpDocumentGetAssignmentOutput(v **GetAssignmentOutp if err := awsAwsjson11_deserializeDocumentAssignment(&sv.Assignment, value); err != nil { return err } + case "HIT": if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } + default: _, _ = key, value @@ -7109,6 +7220,7 @@ func awsAwsjson11_deserializeOpDocumentGetFileUploadURLOutput(v **GetFileUploadU } sv.FileUploadURL = ptr.String(jtv) } + default: _, _ = key, value @@ -7144,6 +7256,7 @@ func awsAwsjson11_deserializeOpDocumentGetHITOutput(v **GetHITOutput, value inte if err := awsAwsjson11_deserializeDocumentHIT(&sv.HIT, value); err != nil { return err } + default: _, _ = key, value @@ -7179,6 +7292,7 @@ func awsAwsjson11_deserializeOpDocumentGetQualificationScoreOutput(v **GetQualif if err := awsAwsjson11_deserializeDocumentQualification(&sv.Qualification, value); err != nil { return err } + default: _, _ = key, value @@ -7214,6 +7328,7 @@ func awsAwsjson11_deserializeOpDocumentGetQualificationTypeOutput(v **GetQualifi if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } + default: _, _ = key, value @@ -7249,6 +7364,7 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig if err := awsAwsjson11_deserializeDocumentAssignmentList(&sv.Assignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7257,6 +7373,7 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7269,6 +7386,7 @@ func awsAwsjson11_deserializeOpDocumentListAssignmentsForHITOutput(v **ListAssig } sv.NumResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7304,6 +7422,7 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym if err := awsAwsjson11_deserializeDocumentBonusPaymentList(&sv.BonusPayments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7312,6 +7431,7 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7324,6 +7444,7 @@ func awsAwsjson11_deserializeOpDocumentListBonusPaymentsOutput(v **ListBonusPaym } sv.NumResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7359,6 +7480,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7367,6 +7489,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7379,6 +7502,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsForQualificationTypeOutput(v **Li } sv.NumResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7414,6 +7538,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7422,6 +7547,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7434,6 +7560,7 @@ func awsAwsjson11_deserializeOpDocumentListHITsOutput(v **ListHITsOutput, value } sv.NumResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7473,6 +7600,7 @@ func awsAwsjson11_deserializeOpDocumentListQualificationRequestsOutput(v **ListQ } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7485,10 +7613,12 @@ func awsAwsjson11_deserializeOpDocumentListQualificationRequestsOutput(v **ListQ } sv.NumResults = ptr.Int32(int32(i64)) } + case "QualificationRequests": if err := awsAwsjson11_deserializeDocumentQualificationRequestList(&sv.QualificationRequests, value); err != nil { return err } + default: _, _ = key, value @@ -7528,6 +7658,7 @@ func awsAwsjson11_deserializeOpDocumentListQualificationTypesOutput(v **ListQual } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7540,10 +7671,12 @@ func awsAwsjson11_deserializeOpDocumentListQualificationTypesOutput(v **ListQual } sv.NumResults = ptr.Int32(int32(i64)) } + case "QualificationTypes": if err := awsAwsjson11_deserializeDocumentQualificationTypeList(&sv.QualificationTypes, value); err != nil { return err } + default: _, _ = key, value @@ -7579,6 +7712,7 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab if err := awsAwsjson11_deserializeDocumentHITList(&sv.HITs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7587,6 +7721,7 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7599,6 +7734,7 @@ func awsAwsjson11_deserializeOpDocumentListReviewableHITsOutput(v **ListReviewab } sv.NumResults = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7634,10 +7770,12 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L if err := awsAwsjson11_deserializeDocumentReviewPolicy(&sv.AssignmentReviewPolicy, value); err != nil { return err } + case "AssignmentReviewReport": if err := awsAwsjson11_deserializeDocumentReviewReport(&sv.AssignmentReviewReport, value); err != nil { return err } + case "HITId": if value != nil { jtv, ok := value.(string) @@ -7646,14 +7784,17 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L } sv.HITId = ptr.String(jtv) } + case "HITReviewPolicy": if err := awsAwsjson11_deserializeDocumentReviewPolicy(&sv.HITReviewPolicy, value); err != nil { return err } + case "HITReviewReport": if err := awsAwsjson11_deserializeDocumentReviewReport(&sv.HITReviewReport, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7662,6 +7803,7 @@ func awsAwsjson11_deserializeOpDocumentListReviewPolicyResultsForHITOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7701,6 +7843,7 @@ func awsAwsjson11_deserializeOpDocumentListWorkerBlocksOutput(v **ListWorkerBloc } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7713,10 +7856,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkerBlocksOutput(v **ListWorkerBloc } sv.NumResults = ptr.Int32(int32(i64)) } + case "WorkerBlocks": if err := awsAwsjson11_deserializeDocumentWorkerBlockList(&sv.WorkerBlocks, value); err != nil { return err } + default: _, _ = key, value @@ -7756,6 +7901,7 @@ func awsAwsjson11_deserializeOpDocumentListWorkersWithQualificationTypeOutput(v } sv.NextToken = ptr.String(jtv) } + case "NumResults": if value != nil { jtv, ok := value.(json.Number) @@ -7768,10 +7914,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkersWithQualificationTypeOutput(v } sv.NumResults = ptr.Int32(int32(i64)) } + case "Qualifications": if err := awsAwsjson11_deserializeDocumentQualificationList(&sv.Qualifications, value); err != nil { return err } + default: _, _ = key, value @@ -7807,6 +7955,7 @@ func awsAwsjson11_deserializeOpDocumentNotifyWorkersOutput(v **NotifyWorkersOutp if err := awsAwsjson11_deserializeDocumentNotifyWorkersFailureStatusList(&sv.NotifyWorkersFailureStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -8090,6 +8239,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateQualificationTypeOutput(v **UpdateQ if err := awsAwsjson11_deserializeDocumentQualificationType(&sv.QualificationType, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/mwaa/deserializers.go b/service/mwaa/deserializers.go index d105ef57fa8..7483398403e 100644 --- a/service/mwaa/deserializers.go +++ b/service/mwaa/deserializers.go @@ -177,6 +177,7 @@ func awsRestjson1_deserializeOpDocumentCreateCliTokenOutput(v **CreateCliTokenOu } sv.CliToken = ptr.String(jtv) } + case "WebServerHostname": if value != nil { jtv, ok := value.(string) @@ -185,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentCreateCliTokenOutput(v **CreateCliTokenOu } sv.WebServerHostname = ptr.String(jtv) } + default: _, _ = key, value @@ -343,6 +345,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -507,6 +510,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.AirflowIdentity = ptr.String(jtv) } + case "IamIdentity": if value != nil { jtv, ok := value.(string) @@ -515,6 +519,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.IamIdentity = ptr.String(jtv) } + case "WebServerHostname": if value != nil { jtv, ok := value.(string) @@ -523,6 +528,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.WebServerHostname = ptr.String(jtv) } + case "WebToken": if value != nil { jtv, ok := value.(string) @@ -531,6 +537,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebLoginTokenOutput(v **CreateWebLo } sv.WebToken = ptr.String(jtv) } + default: _, _ = key, value @@ -782,6 +789,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -948,6 +956,7 @@ func awsRestjson1_deserializeOpDocumentInvokeRestApiOutput(v **InvokeRestApiOutp if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } + case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -960,6 +969,7 @@ func awsRestjson1_deserializeOpDocumentInvokeRestApiOutput(v **InvokeRestApiOutp } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1114,6 +1124,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1122,6 +1133,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1279,6 +1291,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1719,6 +1732,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -1974,6 +1988,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2045,6 +2060,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in if err := awsRestjson1_deserializeDocumentAirflowConfigurationOptions(&sv.AirflowConfigurationOptions, value); err != nil { return err } + case "AirflowVersion": if value != nil { jtv, ok := value.(string) @@ -2053,6 +2069,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.AirflowVersion = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -2061,6 +2078,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } + case "CeleryExecutorQueue": if value != nil { jtv, ok := value.(string) @@ -2069,6 +2087,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.CeleryExecutorQueue = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2084,6 +2103,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } + case "DagS3Path": if value != nil { jtv, ok := value.(string) @@ -2092,6 +2112,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DagS3Path = ptr.String(jtv) } + case "DatabaseVpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -2100,6 +2121,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DatabaseVpcEndpointService = ptr.String(jtv) } + case "EndpointManagement": if value != nil { jtv, ok := value.(string) @@ -2108,6 +2130,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EndpointManagement = types.EndpointManagement(jtv) } + case "EnvironmentClass": if value != nil { jtv, ok := value.(string) @@ -2116,6 +2139,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentClass = ptr.String(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2124,6 +2148,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ExecutionRoleArn = ptr.String(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -2132,14 +2157,17 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKey = ptr.String(jtv) } + case "LastUpdate": if err := awsRestjson1_deserializeDocumentLastUpdate(&sv.LastUpdate, value); err != nil { return err } + case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + case "MaxWebservers": if value != nil { jtv, ok := value.(json.Number) @@ -2152,6 +2180,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MaxWebservers = ptr.Int32(int32(i64)) } + case "MaxWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -2164,6 +2193,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MaxWorkers = ptr.Int32(int32(i64)) } + case "MinWebservers": if value != nil { jtv, ok := value.(json.Number) @@ -2176,6 +2206,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MinWebservers = ptr.Int32(int32(i64)) } + case "MinWorkers": if value != nil { jtv, ok := value.(json.Number) @@ -2188,6 +2219,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.MinWorkers = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2196,10 +2228,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "PluginsS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2208,6 +2242,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PluginsS3ObjectVersion = ptr.String(jtv) } + case "PluginsS3Path": if value != nil { jtv, ok := value.(string) @@ -2216,6 +2251,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PluginsS3Path = ptr.String(jtv) } + case "RequirementsS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2224,6 +2260,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RequirementsS3ObjectVersion = ptr.String(jtv) } + case "RequirementsS3Path": if value != nil { jtv, ok := value.(string) @@ -2232,6 +2269,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RequirementsS3Path = ptr.String(jtv) } + case "Schedulers": if value != nil { jtv, ok := value.(json.Number) @@ -2244,6 +2282,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Schedulers = ptr.Int32(int32(i64)) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2252,6 +2291,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ServiceRoleArn = ptr.String(jtv) } + case "SourceBucketArn": if value != nil { jtv, ok := value.(string) @@ -2260,6 +2300,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SourceBucketArn = ptr.String(jtv) } + case "StartupScriptS3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -2268,6 +2309,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.StartupScriptS3ObjectVersion = ptr.String(jtv) } + case "StartupScriptS3Path": if value != nil { jtv, ok := value.(string) @@ -2276,6 +2318,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.StartupScriptS3Path = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2284,10 +2327,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Status = types.EnvironmentStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "WebserverAccessMode": if value != nil { jtv, ok := value.(string) @@ -2296,6 +2341,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverAccessMode = types.WebserverAccessMode(jtv) } + case "WebserverUrl": if value != nil { jtv, ok := value.(string) @@ -2304,6 +2350,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverUrl = ptr.String(jtv) } + case "WebserverVpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -2312,6 +2359,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WebserverVpcEndpointService = ptr.String(jtv) } + case "WeeklyMaintenanceWindowStart": if value != nil { jtv, ok := value.(string) @@ -2320,6 +2368,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.WeeklyMaintenanceWindowStart = ptr.String(jtv) } + default: _, _ = key, value @@ -2395,6 +2444,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2441,10 +2491,12 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } } + case "Error": if err := awsRestjson1_deserializeDocumentUpdateError(&sv.Error, value); err != nil { return err } + case "Source": if value != nil { jtv, ok := value.(string) @@ -2453,6 +2505,7 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } sv.Source = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2461,6 +2514,7 @@ func awsRestjson1_deserializeDocumentLastUpdate(v **types.LastUpdate, value inte } sv.Status = types.UpdateStatus(jtv) } + default: _, _ = key, value @@ -2496,22 +2550,27 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.DagProcessingLogs, value); err != nil { return err } + case "SchedulerLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.SchedulerLogs, value); err != nil { return err } + case "TaskLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.TaskLogs, value); err != nil { return err } + case "WebserverLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.WebserverLogs, value); err != nil { return err } + case "WorkerLogs": if err := awsRestjson1_deserializeDocumentModuleLoggingConfiguration(&sv.WorkerLogs, value); err != nil { return err } + default: _, _ = key, value @@ -2551,6 +2610,7 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.CloudWatchLogGroupArn = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -2559,6 +2619,7 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.Enabled = ptr.Bool(jtv) } + case "LogLevel": if value != nil { jtv, ok := value.(string) @@ -2567,6 +2628,7 @@ func awsRestjson1_deserializeDocumentModuleLoggingConfiguration(v **types.Module } sv.LogLevel = types.LoggingLevel(jtv) } + default: _, _ = key, value @@ -2602,10 +2664,12 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -2645,6 +2709,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2680,6 +2745,7 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } + case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -2692,6 +2758,7 @@ func awsRestjson1_deserializeDocumentRestApiClientException(v **types.RestApiCli } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2735,6 +2802,7 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer if err := awsRestjson1_deserializeDocumentRestApiResponse(&sv.RestApiResponse, value); err != nil { return err } + case "RestApiStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -2747,6 +2815,7 @@ func awsRestjson1_deserializeDocumentRestApiServerException(v **types.RestApiSer } sv.RestApiStatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2894,6 +2963,7 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2902,6 +2972,7 @@ func awsRestjson1_deserializeDocumentUpdateError(v **types.UpdateError, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -2941,6 +3012,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/neptunedata/deserializers.go b/service/neptunedata/deserializers.go index e2411f247ca..a59e1c12322 100644 --- a/service/neptunedata/deserializers.go +++ b/service/neptunedata/deserializers.go @@ -216,6 +216,7 @@ func awsRestjson1_deserializeOpDocumentCancelGremlinQueryOutput(v **CancelGremli } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -407,6 +408,7 @@ func awsRestjson1_deserializeOpDocumentCancelLoaderJobOutput(v **CancelLoaderJob } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -592,6 +594,7 @@ func awsRestjson1_deserializeOpDocumentCancelMLDataProcessingJobOutput(v **Cance } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -777,6 +780,7 @@ func awsRestjson1_deserializeOpDocumentCancelMLModelTrainingJobOutput(v **Cancel } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -962,6 +966,7 @@ func awsRestjson1_deserializeOpDocumentCancelMLModelTransformJobOutput(v **Cance } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1159,6 +1164,7 @@ func awsRestjson1_deserializeOpDocumentCancelOpenCypherQueryOutput(v **CancelOpe } sv.Payload = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1167,6 +1173,7 @@ func awsRestjson1_deserializeOpDocumentCancelOpenCypherQueryOutput(v **CancelOpe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1352,6 +1359,7 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.Arn = ptr.String(jtv) } + case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1364,6 +1372,7 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.CreationTimeInMillis = ptr.Int64(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1372,6 +1381,7 @@ func awsRestjson1_deserializeOpDocumentCreateMLEndpointOutput(v **CreateMLEndpoi } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1557,6 +1567,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMLEndpointOutput(v **DeleteMLEndpoi } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1758,6 +1769,7 @@ func awsRestjson1_deserializeOpDocumentDeletePropertygraphStatisticsOutput(v **D if err := awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1766,6 +1778,7 @@ func awsRestjson1_deserializeOpDocumentDeletePropertygraphStatisticsOutput(v **D } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -1967,6 +1980,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSparqlStatisticsOutput(v **DeleteSp if err := awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1975,6 +1989,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSparqlStatisticsOutput(v **DeleteSp } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2162,6 +2177,7 @@ func awsRestjson1_deserializeOpDocumentExecuteFastResetOutput(v **ExecuteFastRes if err := awsRestjson1_deserializeDocumentFastResetToken(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2170,6 +2186,7 @@ func awsRestjson1_deserializeOpDocumentExecuteFastResetOutput(v **ExecuteFastRes } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2722,6 +2739,7 @@ func awsRestjson1_deserializeOpDocumentExecuteGremlinQueryOutput(v **ExecuteGrem if err := awsRestjson1_deserializeDocumentDocument(&sv.Meta, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -2730,14 +2748,17 @@ func awsRestjson1_deserializeOpDocumentExecuteGremlinQueryOutput(v **ExecuteGrem } sv.RequestId = ptr.String(jtv) } + case "result": if err := awsRestjson1_deserializeDocumentDocument(&sv.Result, value); err != nil { return err } + case "status": if err := awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -3124,6 +3145,7 @@ func awsRestjson1_deserializeOpDocumentExecuteOpenCypherQueryOutput(v **ExecuteO if err := awsRestjson1_deserializeDocumentDocument(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -3300,6 +3322,7 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.DbEngineVersion = ptr.String(jtv) } + case "dfeQueryEngine": if value != nil { jtv, ok := value.(string) @@ -3308,22 +3331,27 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.DfeQueryEngine = ptr.String(jtv) } + case "features": if err := awsRestjson1_deserializeDocumentDocumentValuedMap(&sv.Features, value); err != nil { return err } + case "gremlin": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Gremlin, value); err != nil { return err } + case "labMode": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LabMode, value); err != nil { return err } + case "opencypher": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Opencypher, value); err != nil { return err } + case "role": if value != nil { jtv, ok := value.(string) @@ -3332,6 +3360,7 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.Role = ptr.String(jtv) } + case "rollingBackTrxCount": if value != nil { jtv, ok := value.(json.Number) @@ -3344,6 +3373,7 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.RollingBackTrxCount = ptr.Int32(int32(i64)) } + case "rollingBackTrxEarliestStartTime": if value != nil { jtv, ok := value.(string) @@ -3352,14 +3382,17 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.RollingBackTrxEarliestStartTime = ptr.String(jtv) } + case "settings": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.Settings, value); err != nil { return err } + case "sparql": if err := awsRestjson1_deserializeDocumentQueryLanguageVersion(&sv.Sparql, value); err != nil { return err } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -3368,6 +3401,7 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.StartTime = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3376,6 +3410,7 @@ func awsRestjson1_deserializeOpDocumentGetEngineStatusOutput(v **GetEngineStatus } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3572,6 +3607,7 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } + case "queryId": if value != nil { jtv, ok := value.(string) @@ -3580,6 +3616,7 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli } sv.QueryId = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -3588,6 +3625,7 @@ func awsRestjson1_deserializeOpDocumentGetGremlinQueryStatusOutput(v **GetGremli } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -3775,6 +3813,7 @@ func awsRestjson1_deserializeOpDocumentGetLoaderJobStatusOutput(v **GetLoaderJob if err := awsRestjson1_deserializeDocumentDocument(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3783,6 +3822,7 @@ func awsRestjson1_deserializeOpDocumentGetLoaderJobStatusOutput(v **GetLoaderJob } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3968,10 +4008,12 @@ func awsRestjson1_deserializeOpDocumentGetMLDataProcessingJobOutput(v **GetMLDat } sv.Id = ptr.String(jtv) } + case "processingJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ProcessingJob, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4022,7 @@ func awsRestjson1_deserializeOpDocumentGetMLDataProcessingJobOutput(v **GetMLDat } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4161,10 +4204,12 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.Endpoint, value); err != nil { return err } + case "endpointConfig": if err := awsRestjson1_deserializeDocumentMlConfigDefinition(&sv.EndpointConfig, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4173,6 +4218,7 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4181,6 +4227,7 @@ func awsRestjson1_deserializeOpDocumentGetMLEndpointOutput(v **GetMLEndpointOutp } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4362,6 +4409,7 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.HpoJob, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4370,18 +4418,22 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode } sv.Id = ptr.String(jtv) } + case "mlModels": if err := awsRestjson1_deserializeDocumentMlModels(&sv.MlModels, value); err != nil { return err } + case "modelTransformJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ModelTransformJob, value); err != nil { return err } + case "processingJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.ProcessingJob, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4390,6 +4442,7 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTrainingJobOutput(v **GetMLMode } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4571,6 +4624,7 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.BaseProcessingJob, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4579,14 +4633,17 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod } sv.Id = ptr.String(jtv) } + case "models": if err := awsRestjson1_deserializeDocumentModels(&sv.Models, value); err != nil { return err } + case "remoteModelTransformJob": if err := awsRestjson1_deserializeDocumentMlResourceDefinition(&sv.RemoteModelTransformJob, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4595,6 +4652,7 @@ func awsRestjson1_deserializeOpDocumentGetMLModelTransformJobOutput(v **GetMLMod } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4794,6 +4852,7 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } + case "queryId": if value != nil { jtv, ok := value.(string) @@ -4802,6 +4861,7 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe } sv.QueryId = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -4810,6 +4870,7 @@ func awsRestjson1_deserializeOpDocumentGetOpenCypherQueryStatusOutput(v **GetOpe } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -4997,6 +5058,7 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStatisticsOutput(v **GetP if err := awsRestjson1_deserializeDocumentStatistics(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5067,7 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStatisticsOutput(v **GetP } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5193,10 +5256,12 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.Format = ptr.String(jtv) } + case "lastEventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LastEventId, value); err != nil { return err } + case "lastTrxTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -5209,10 +5274,12 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.LastTrxTimestampInMillis = ptr.Int64(i64) } + case "records": if err := awsRestjson1_deserializeDocumentPropertygraphRecordsList(&sv.Records, value); err != nil { return err } + case "totalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -5225,6 +5292,7 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphStreamOutput(v **GetPrope } sv.TotalRecords = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5426,6 +5494,7 @@ func awsRestjson1_deserializeOpDocumentGetPropertygraphSummaryOutput(v **GetProp if err := awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(&sv.Payload, value); err != nil { return err } + default: _, _ = key, value @@ -5627,6 +5696,7 @@ func awsRestjson1_deserializeOpDocumentGetRDFGraphSummaryOutput(v **GetRDFGraphS if err := awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(&sv.Payload, value); err != nil { return err } + default: _, _ = key, value @@ -5814,6 +5884,7 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStatisticsOutput(v **GetSparqlSt if err := awsRestjson1_deserializeDocumentStatistics(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5822,6 +5893,7 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStatisticsOutput(v **GetSparqlSt } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -6010,10 +6082,12 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.Format = ptr.String(jtv) } + case "lastEventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.LastEventId, value); err != nil { return err } + case "lastTrxTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -6026,10 +6100,12 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.LastTrxTimestampInMillis = ptr.Int64(i64) } + case "records": if err := awsRestjson1_deserializeDocumentSparqlRecordsList(&sv.Records, value); err != nil { return err } + case "totalRecords": if value != nil { jtv, ok := value.(json.Number) @@ -6042,6 +6118,7 @@ func awsRestjson1_deserializeOpDocumentGetSparqlStreamOutput(v **GetSparqlStream } sv.TotalRecords = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6246,10 +6323,12 @@ func awsRestjson1_deserializeOpDocumentListGremlinQueriesOutput(v **ListGremlinQ } sv.AcceptedQueryCount = ptr.Int32(int32(i64)) } + case "queries": if err := awsRestjson1_deserializeDocumentGremlinQueries(&sv.Queries, value); err != nil { return err } + case "runningQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -6262,6 +6341,7 @@ func awsRestjson1_deserializeOpDocumentListGremlinQueriesOutput(v **ListGremlinQ } sv.RunningQueryCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6446,6 +6526,7 @@ func awsRestjson1_deserializeOpDocumentListLoaderJobsOutput(v **ListLoaderJobsOu if err := awsRestjson1_deserializeDocumentLoaderIdResult(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6454,6 +6535,7 @@ func awsRestjson1_deserializeOpDocumentListLoaderJobsOutput(v **ListLoaderJobsOu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -6635,6 +6717,7 @@ func awsRestjson1_deserializeOpDocumentListMLDataProcessingJobsOutput(v **ListML if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } + default: _, _ = key, value @@ -6816,6 +6899,7 @@ func awsRestjson1_deserializeOpDocumentListMLEndpointsOutput(v **ListMLEndpoints if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } + default: _, _ = key, value @@ -6997,6 +7081,7 @@ func awsRestjson1_deserializeOpDocumentListMLModelTrainingJobsOutput(v **ListMLM if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } + default: _, _ = key, value @@ -7178,6 +7263,7 @@ func awsRestjson1_deserializeOpDocumentListMLModelTransformJobsOutput(v **ListML if err := awsRestjson1_deserializeDocumentStringList(&sv.Ids, value); err != nil { return err } + default: _, _ = key, value @@ -7385,10 +7471,12 @@ func awsRestjson1_deserializeOpDocumentListOpenCypherQueriesOutput(v **ListOpenC } sv.AcceptedQueryCount = ptr.Int32(int32(i64)) } + case "queries": if err := awsRestjson1_deserializeDocumentOpenCypherQueries(&sv.Queries, value); err != nil { return err } + case "runningQueryCount": if value != nil { jtv, ok := value.(json.Number) @@ -7401,6 +7489,7 @@ func awsRestjson1_deserializeOpDocumentListOpenCypherQueriesOutput(v **ListOpenC } sv.RunningQueryCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7588,6 +7677,7 @@ func awsRestjson1_deserializeOpDocumentManagePropertygraphStatisticsOutput(v **M if err := awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7596,6 +7686,7 @@ func awsRestjson1_deserializeOpDocumentManagePropertygraphStatisticsOutput(v **M } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -7783,6 +7874,7 @@ func awsRestjson1_deserializeOpDocumentManageSparqlStatisticsOutput(v **ManageSp if err := awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7791,6 +7883,7 @@ func awsRestjson1_deserializeOpDocumentManageSparqlStatisticsOutput(v **ManageSp } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -7981,6 +8074,7 @@ func awsRestjson1_deserializeOpDocumentStartLoaderJobOutput(v **StartLoaderJobOu if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.Payload, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7989,6 +8083,7 @@ func awsRestjson1_deserializeOpDocumentStartLoaderJobOutput(v **StartLoaderJobOu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8174,6 +8269,7 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.Arn = ptr.String(jtv) } + case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8186,6 +8282,7 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.CreationTimeInMillis = ptr.Int64(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8194,6 +8291,7 @@ func awsRestjson1_deserializeOpDocumentStartMLDataProcessingJobOutput(v **StartM } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -8379,6 +8477,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.Arn = ptr.String(jtv) } + case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8391,6 +8490,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.CreationTimeInMillis = ptr.Int64(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8399,6 +8499,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTrainingJobOutput(v **StartML } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -8584,6 +8685,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.Arn = ptr.String(jtv) } + case "creationTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -8596,6 +8698,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.CreationTimeInMillis = ptr.Int64(i64) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8604,6 +8707,7 @@ func awsRestjson1_deserializeOpDocumentStartMLModelTransformJobOutput(v **StartM } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -9867,6 +9971,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -9875,6 +9980,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9883,6 +9989,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9922,6 +10029,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -9930,6 +10038,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9938,6 +10047,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -9977,6 +10087,7 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -9985,6 +10096,7 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -9993,6 +10105,7 @@ func awsRestjson1_deserializeDocumentBulkLoadIdNotFoundException(v **types.BulkL } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10032,6 +10145,7 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10040,6 +10154,7 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10048,6 +10163,7 @@ func awsRestjson1_deserializeDocumentCancelledByUserException(v **types.Cancelle } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10123,6 +10239,7 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10131,6 +10248,7 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10139,6 +10257,7 @@ func awsRestjson1_deserializeDocumentClientTimeoutException(v **types.ClientTime } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10178,6 +10297,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10186,6 +10306,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10194,6 +10315,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10233,6 +10355,7 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10364,7 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10249,6 +10373,7 @@ func awsRestjson1_deserializeDocumentConstraintViolationException(v **types.Cons } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10288,6 +10413,7 @@ func awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(v **types.DeleteSt } sv.Active = ptr.Bool(jtv) } + case "statisticsId": if value != nil { jtv, ok := value.(string) @@ -10296,6 +10422,7 @@ func awsRestjson1_deserializeDocumentDeleteStatisticsValueMap(v **types.DeleteSt } sv.StatisticsId = ptr.String(jtv) } + default: _, _ = key, value @@ -10445,10 +10572,12 @@ func awsRestjson1_deserializeDocumentEdgeStructure(v **types.EdgeStructure, valu } sv.Count = ptr.Int64(i64) } + case "edgeProperties": if err := awsRestjson1_deserializeDocumentEdgeProperties(&sv.EdgeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -10522,6 +10651,7 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10530,6 +10660,7 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10538,6 +10669,7 @@ func awsRestjson1_deserializeDocumentExpiredStreamException(v **types.ExpiredStr } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10577,6 +10709,7 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10585,6 +10718,7 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10593,6 +10727,7 @@ func awsRestjson1_deserializeDocumentFailureByQueryException(v **types.FailureBy } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10632,6 +10767,7 @@ func awsRestjson1_deserializeDocumentFastResetToken(v **types.FastResetToken, va } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -10701,6 +10837,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt if err := awsRestjson1_deserializeDocumentQueryEvalStats(&sv.QueryEvalStats, value); err != nil { return err } + case "queryId": if value != nil { jtv, ok := value.(string) @@ -10709,6 +10846,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt } sv.QueryId = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -10717,6 +10855,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatus(v **types.GremlinQuerySt } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -10752,6 +10891,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem if err := awsRestjson1_deserializeDocumentDocument(&sv.Attributes, value); err != nil { return err } + case "code": if value != nil { jtv, ok := value.(json.Number) @@ -10764,6 +10904,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem } sv.Code = ptr.Int32(int32(i64)) } + case "message": if value != nil { jtv, ok := value.(string) @@ -10772,6 +10913,7 @@ func awsRestjson1_deserializeDocumentGremlinQueryStatusAttributes(v **types.Grem } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10811,6 +10953,7 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10819,6 +10962,7 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10827,6 +10971,7 @@ func awsRestjson1_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10866,6 +11011,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10874,6 +11020,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10882,6 +11029,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10921,6 +11069,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10929,6 +11078,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10937,6 +11087,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10976,6 +11127,7 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -10984,6 +11136,7 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -10992,6 +11145,7 @@ func awsRestjson1_deserializeDocumentInvalidNumericDataException(v **types.Inval } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11031,6 +11185,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11039,6 +11194,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11047,6 +11203,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11082,6 +11239,7 @@ func awsRestjson1_deserializeDocumentLoaderIdResult(v **types.LoaderIdResult, va if err := awsRestjson1_deserializeDocumentStringList(&sv.LoadIds, value); err != nil { return err } + default: _, _ = key, value @@ -11121,6 +11279,7 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11129,6 +11288,7 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11137,6 +11297,7 @@ func awsRestjson1_deserializeDocumentLoadUrlAccessDeniedException(v **types.Load } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11248,6 +11409,7 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11256,6 +11418,7 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11264,6 +11427,7 @@ func awsRestjson1_deserializeDocumentMalformedQueryException(v **types.Malformed } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11303,6 +11467,7 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11476,7 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11319,6 +11485,7 @@ func awsRestjson1_deserializeDocumentMemoryLimitExceededException(v **types.Memo } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11358,6 +11525,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11366,6 +11534,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11374,6 +11543,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11413,6 +11583,7 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11421,6 +11592,7 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11429,6 +11601,7 @@ func awsRestjson1_deserializeDocumentMissingParameterException(v **types.Missing } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11468,6 +11641,7 @@ func awsRestjson1_deserializeDocumentMlConfigDefinition(v **types.MlConfigDefini } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11476,6 +11650,7 @@ func awsRestjson1_deserializeDocumentMlConfigDefinition(v **types.MlConfigDefini } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11549,6 +11724,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Arn = ptr.String(jtv) } + case "cloudwatchLogUrl": if value != nil { jtv, ok := value.(string) @@ -11557,6 +11733,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.CloudwatchLogUrl = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11565,6 +11742,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.FailureReason = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11573,6 +11751,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Name = ptr.String(jtv) } + case "outputLocation": if value != nil { jtv, ok := value.(string) @@ -11581,6 +11760,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.OutputLocation = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11589,6 +11769,7 @@ func awsRestjson1_deserializeDocumentMlResourceDefinition(v **types.MlResourceDe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11628,6 +11809,7 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11636,6 +11818,7 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11644,6 +11827,7 @@ func awsRestjson1_deserializeDocumentMLResourceNotFoundException(v **types.MLRes } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11793,14 +11977,17 @@ func awsRestjson1_deserializeDocumentNodeStructure(v **types.NodeStructure, valu } sv.Count = ptr.Int64(i64) } + case "distinctOutgoingEdgeLabels": if err := awsRestjson1_deserializeDocumentOutgoingEdgeLabels(&sv.DistinctOutgoingEdgeLabels, value); err != nil { return err } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -11944,6 +12131,7 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -11952,6 +12140,7 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -11960,6 +12149,7 @@ func awsRestjson1_deserializeDocumentParsingException(v **types.ParsingException } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11999,6 +12189,7 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12007,6 +12198,7 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12015,6 +12207,7 @@ func awsRestjson1_deserializeDocumentPreconditionsFailedException(v **types.Prec } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12090,6 +12283,7 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.From = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12098,6 +12292,7 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Id = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -12106,6 +12301,7 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Key = ptr.String(jtv) } + case "to": if value != nil { jtv, ok := value.(string) @@ -12114,6 +12310,7 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.To = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12122,10 +12319,12 @@ func awsRestjson1_deserializeDocumentPropertygraphData(v **types.PropertygraphDa } sv.Type = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDocument(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -12169,14 +12368,17 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.CommitTimestampInMillis = ptr.Int64(i64) } + case "data": if err := awsRestjson1_deserializeDocumentPropertygraphData(&sv.Data, value); err != nil { return err } + case "eventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.EventId, value); err != nil { return err } + case "isLastOp": if value != nil { jtv, ok := value.(bool) @@ -12185,6 +12387,7 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.IsLastOp = ptr.Bool(jtv) } + case "op": if value != nil { jtv, ok := value.(string) @@ -12193,6 +12396,7 @@ func awsRestjson1_deserializeDocumentPropertygraphRecord(v **types.Propertygraph } sv.Op = ptr.String(jtv) } + default: _, _ = key, value @@ -12262,26 +12466,32 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap if err := awsRestjson1_deserializeDocumentEdgeLabels(&sv.EdgeLabels, value); err != nil { return err } + case "edgeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.EdgeProperties, value); err != nil { return err } + case "edgeStructures": if err := awsRestjson1_deserializeDocumentEdgeStructures(&sv.EdgeStructures, value); err != nil { return err } + case "nodeLabels": if err := awsRestjson1_deserializeDocumentNodeLabels(&sv.NodeLabels, value); err != nil { return err } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.NodeProperties, value); err != nil { return err } + case "nodeStructures": if err := awsRestjson1_deserializeDocumentNodeStructures(&sv.NodeStructures, value); err != nil { return err } + case "numEdgeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12294,6 +12504,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdgeLabels = ptr.Int64(i64) } + case "numEdgeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -12306,6 +12517,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdgeProperties = ptr.Int64(i64) } + case "numEdges": if value != nil { jtv, ok := value.(json.Number) @@ -12318,6 +12530,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumEdges = ptr.Int64(i64) } + case "numNodeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -12330,6 +12543,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodeLabels = ptr.Int64(i64) } + case "numNodeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -12342,6 +12556,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodeProperties = ptr.Int64(i64) } + case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -12354,6 +12569,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.NumNodes = ptr.Int64(i64) } + case "totalEdgePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -12366,6 +12582,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.TotalEdgePropertyValues = ptr.Int64(i64) } + case "totalNodePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -12378,6 +12595,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummary(v **types.Propertygrap } sv.TotalNodePropertyValues = ptr.Int64(i64) } + default: _, _ = key, value @@ -12413,6 +12631,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop if err := awsRestjson1_deserializeDocumentPropertygraphSummary(&sv.GraphSummary, value); err != nil { return err } + case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -12425,6 +12644,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop } sv.LastStatisticsComputationTime = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12433,6 +12653,7 @@ func awsRestjson1_deserializeDocumentPropertygraphSummaryValueMap(v **types.Prop } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12472,6 +12693,7 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Cancelled = ptr.Bool(jtv) } + case "elapsed": if value != nil { jtv, ok := value.(json.Number) @@ -12484,10 +12706,12 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Elapsed = ptr.Int32(int32(i64)) } + case "subqueries": if err := awsRestjson1_deserializeDocumentDocument(&sv.Subqueries, value); err != nil { return err } + case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -12500,6 +12724,7 @@ func awsRestjson1_deserializeDocumentQueryEvalStats(v **types.QueryEvalStats, va } sv.Waited = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12539,6 +12764,7 @@ func awsRestjson1_deserializeDocumentQueryLanguageVersion(v **types.QueryLanguag } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12578,6 +12804,7 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12586,6 +12813,7 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12594,6 +12822,7 @@ func awsRestjson1_deserializeDocumentQueryLimitExceededException(v **types.Query } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12633,6 +12862,7 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12641,6 +12871,7 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12649,6 +12880,7 @@ func awsRestjson1_deserializeDocumentQueryLimitException(v **types.QueryLimitExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12688,6 +12920,7 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12696,6 +12929,7 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12704,6 +12938,7 @@ func awsRestjson1_deserializeDocumentQueryTooLargeException(v **types.QueryTooLa } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12739,6 +12974,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, if err := awsRestjson1_deserializeDocumentClasses(&sv.Classes, value); err != nil { return err } + case "numClasses": if value != nil { jtv, ok := value.(json.Number) @@ -12751,6 +12987,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumClasses = ptr.Int64(i64) } + case "numDistinctPredicates": if value != nil { jtv, ok := value.(json.Number) @@ -12763,6 +13000,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumDistinctPredicates = ptr.Int64(i64) } + case "numDistinctSubjects": if value != nil { jtv, ok := value.(json.Number) @@ -12775,6 +13013,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumDistinctSubjects = ptr.Int64(i64) } + case "numQuads": if value != nil { jtv, ok := value.(json.Number) @@ -12787,14 +13026,17 @@ func awsRestjson1_deserializeDocumentRDFGraphSummary(v **types.RDFGraphSummary, } sv.NumQuads = ptr.Int64(i64) } + case "predicates": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.Predicates, value); err != nil { return err } + case "subjectStructures": if err := awsRestjson1_deserializeDocumentSubjectStructures(&sv.SubjectStructures, value); err != nil { return err } + default: _, _ = key, value @@ -12830,6 +13072,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS if err := awsRestjson1_deserializeDocumentRDFGraphSummary(&sv.GraphSummary, value); err != nil { return err } + case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -12842,6 +13085,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS } sv.LastStatisticsComputationTime = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12850,6 +13094,7 @@ func awsRestjson1_deserializeDocumentRDFGraphSummaryValueMap(v **types.RDFGraphS } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12889,6 +13134,7 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12897,6 +13143,7 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12905,6 +13152,7 @@ func awsRestjson1_deserializeDocumentReadOnlyViolationException(v **types.ReadOn } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12944,6 +13192,7 @@ func awsRestjson1_deserializeDocumentRefreshStatisticsIdMap(v **types.RefreshSta } sv.StatisticsId = ptr.String(jtv) } + default: _, _ = key, value @@ -12983,6 +13232,7 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -12991,6 +13241,7 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -12999,6 +13250,7 @@ func awsRestjson1_deserializeDocumentS3Exception(v **types.S3Exception, value in } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13038,6 +13290,7 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13046,6 +13299,7 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13054,6 +13308,7 @@ func awsRestjson1_deserializeDocumentServerShutdownException(v **types.ServerShu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13093,6 +13348,7 @@ func awsRestjson1_deserializeDocumentSparqlData(v **types.SparqlData, value inte } sv.Stmt = ptr.String(jtv) } + default: _, _ = key, value @@ -13136,14 +13392,17 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.CommitTimestampInMillis = ptr.Int64(i64) } + case "data": if err := awsRestjson1_deserializeDocumentSparqlData(&sv.Data, value); err != nil { return err } + case "eventId": if err := awsRestjson1_deserializeDocumentStringValuedMap(&sv.EventId, value); err != nil { return err } + case "isLastOp": if value != nil { jtv, ok := value.(bool) @@ -13152,6 +13411,7 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.IsLastOp = ptr.Bool(jtv) } + case "op": if value != nil { jtv, ok := value.(string) @@ -13160,6 +13420,7 @@ func awsRestjson1_deserializeDocumentSparqlRecord(v **types.SparqlRecord, value } sv.Op = ptr.String(jtv) } + default: _, _ = key, value @@ -13233,6 +13494,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Active = ptr.Bool(jtv) } + case "autoCompute": if value != nil { jtv, ok := value.(bool) @@ -13241,6 +13503,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.AutoCompute = ptr.Bool(jtv) } + case "date": if value != nil { jtv, ok := value.(string) @@ -13253,6 +13516,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Date = ptr.Time(t) } + case "note": if value != nil { jtv, ok := value.(string) @@ -13261,10 +13525,12 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.Note = ptr.String(jtv) } + case "signatureInfo": if err := awsRestjson1_deserializeDocumentStatisticsSummary(&sv.SignatureInfo, value); err != nil { return err } + case "statisticsId": if value != nil { jtv, ok := value.(string) @@ -13273,6 +13539,7 @@ func awsRestjson1_deserializeDocumentStatistics(v **types.Statistics, value inte } sv.StatisticsId = ptr.String(jtv) } + default: _, _ = key, value @@ -13312,6 +13579,7 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13320,6 +13588,7 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13328,6 +13597,7 @@ func awsRestjson1_deserializeDocumentStatisticsNotAvailableException(v **types.S } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13371,6 +13641,7 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "predicateCount": if value != nil { jtv, ok := value.(json.Number) @@ -13383,6 +13654,7 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.PredicateCount = ptr.Int32(int32(i64)) } + case "signatureCount": if value != nil { jtv, ok := value.(json.Number) @@ -13395,6 +13667,7 @@ func awsRestjson1_deserializeDocumentStatisticsSummary(v **types.StatisticsSumma } sv.SignatureCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13434,6 +13707,7 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13442,6 +13716,7 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13450,6 +13725,7 @@ func awsRestjson1_deserializeDocumentStreamRecordsNotFoundException(v **types.St } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13565,10 +13841,12 @@ func awsRestjson1_deserializeDocumentSubjectStructure(v **types.SubjectStructure } sv.Count = ptr.Int64(i64) } + case "predicates": if err := awsRestjson1_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } + default: _, _ = key, value @@ -13642,6 +13920,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13650,6 +13929,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13658,6 +13938,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13697,6 +13978,7 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13705,6 +13987,7 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13713,6 +13996,7 @@ func awsRestjson1_deserializeDocumentTimeLimitExceededException(v **types.TimeLi } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13752,6 +14036,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13760,6 +14045,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13768,6 +14054,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13807,6 +14094,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Code = ptr.String(jtv) } + case "detailedMessage": if value != nil { jtv, ok := value.(string) @@ -13815,6 +14103,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.DetailedMessage = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -13823,6 +14112,7 @@ func awsRestjson1_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/neptunegraph/deserializers.go b/service/neptunegraph/deserializers.go index 42c9f643266..91d977a896c 100644 --- a/service/neptunegraph/deserializers.go +++ b/service/neptunegraph/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Format = types.Format(jtv) } + case "graphId": if value != nil { jtv, ok := value.(string) @@ -196,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.GraphId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -204,6 +206,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.RoleArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -212,6 +215,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -220,6 +224,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.Status = types.ImportTaskStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -228,6 +233,7 @@ func awsRestjson1_deserializeOpDocumentCancelImportTaskOutput(v **CancelImportTa } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -501,6 +507,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -509,6 +516,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -524,6 +532,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -532,6 +541,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -540,6 +550,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -548,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -556,6 +568,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -564,6 +577,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -576,6 +590,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -584,6 +599,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -596,6 +612,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -604,6 +621,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -612,6 +630,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -620,10 +639,12 @@ func awsRestjson1_deserializeOpDocumentCreateGraphOutput(v **CreateGraphOutput, } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -794,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -802,6 +824,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -810,6 +833,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -818,6 +842,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Name = ptr.String(jtv) } + case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -833,6 +858,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } } + case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -841,6 +867,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.SourceGraphId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -849,6 +876,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphSnapshotOutput(v **CreateGraph } sv.Status = types.SnapshotStatus(jtv) } + default: _, _ = key, value @@ -1016,6 +1044,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Format = types.Format(jtv) } + case "graphId": if value != nil { jtv, ok := value.(string) @@ -1024,10 +1053,12 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.GraphId = ptr.String(jtv) } + case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1036,6 +1067,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.RoleArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -1044,6 +1076,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1052,6 +1085,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.Status = types.ImportTaskStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -1060,6 +1094,7 @@ func awsRestjson1_deserializeOpDocumentCreateGraphUsingImportTaskOutput(v **Crea } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -1230,10 +1265,12 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.Status = types.PrivateGraphEndpointStatus(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -1242,6 +1279,7 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.VpcEndpointId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1250,6 +1288,7 @@ func awsRestjson1_deserializeOpDocumentCreatePrivateGraphEndpointOutput(v **Crea } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1417,6 +1456,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -1425,6 +1465,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -1440,6 +1481,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -1448,6 +1490,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1456,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1464,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -1472,6 +1517,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1480,6 +1526,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -1492,6 +1539,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -1500,6 +1548,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -1512,6 +1561,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -1520,6 +1570,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1528,6 +1579,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1536,10 +1588,12 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphOutput(v **DeleteGraphOutput, } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1707,6 +1761,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1715,6 +1770,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -1723,6 +1779,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1731,6 +1788,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Name = ptr.String(jtv) } + case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -1746,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } } + case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -1754,6 +1813,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.SourceGraphId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1762,6 +1822,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGraphSnapshotOutput(v **DeleteGraph } sv.Status = types.SnapshotStatus(jtv) } + default: _, _ = key, value @@ -1929,10 +1990,12 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.Status = types.PrivateGraphEndpointStatus(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -1941,6 +2004,7 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.VpcEndpointId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1949,6 +2013,7 @@ func awsRestjson1_deserializeOpDocumentDeletePrivateGraphEndpointOutput(v **Dele } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -2230,6 +2295,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -2238,6 +2304,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -2253,6 +2320,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -2261,6 +2329,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -2269,6 +2338,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2277,6 +2347,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2285,6 +2356,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2293,6 +2365,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -2305,6 +2378,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -2313,6 +2387,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -2325,6 +2400,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -2333,6 +2409,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2341,6 +2418,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2349,10 +2427,12 @@ func awsRestjson1_deserializeOpDocumentGetGraphOutput(v **GetGraphOutput, value } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2517,6 +2597,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2525,6 +2606,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -2533,6 +2615,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2541,6 +2624,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Name = ptr.String(jtv) } + case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -2556,6 +2640,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } } + case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -2564,6 +2649,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.SourceGraphId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2658,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSnapshotOutput(v **GetGraphSnapsh } sv.Status = types.SnapshotStatus(jtv) } + default: _, _ = key, value @@ -2735,6 +2822,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary if err := awsRestjson1_deserializeDocumentGraphDataSummary(&sv.GraphSummary, value); err != nil { return err } + case "lastStatisticsComputationTime": if value != nil { jtv, ok := value.(string) @@ -2747,6 +2835,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary } sv.LastStatisticsComputationTime = ptr.Time(t) } + case "version": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2844,7 @@ func awsRestjson1_deserializeOpDocumentGetGraphSummaryOutput(v **GetGraphSummary } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2923,6 +3013,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.AttemptNumber = ptr.Int32(int32(i64)) } + case "format": if value != nil { jtv, ok := value.(string) @@ -2931,6 +3022,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Format = types.Format(jtv) } + case "graphId": if value != nil { jtv, ok := value.(string) @@ -2939,14 +3031,17 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.GraphId = ptr.String(jtv) } + case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } + case "importTaskDetails": if err := awsRestjson1_deserializeDocumentImportTaskDetails(&sv.ImportTaskDetails, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -2955,6 +3050,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.RoleArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -2963,6 +3059,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2971,6 +3068,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.Status = types.ImportTaskStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -2979,6 +3077,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.StatusReason = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -2987,6 +3086,7 @@ func awsRestjson1_deserializeOpDocumentGetImportTaskOutput(v **GetImportTaskOutp } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -3151,10 +3251,12 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.Status = types.PrivateGraphEndpointStatus(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -3163,6 +3265,7 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.VpcEndpointId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -3171,6 +3274,7 @@ func awsRestjson1_deserializeOpDocumentGetPrivateGraphEndpointOutput(v **GetPriv } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -3342,6 +3446,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Elapsed = ptr.Int32(int32(i64)) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3350,6 +3455,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Id = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -3358,6 +3464,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.QueryString = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3366,6 +3473,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.State = types.QueryState(jtv) } + case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -3378,6 +3486,7 @@ func awsRestjson1_deserializeOpDocumentGetQueryOutput(v **GetQueryOutput, value } sv.Waited = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3535,6 +3644,7 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va if err := awsRestjson1_deserializeDocumentGraphSummaryList(&sv.Graphs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3543,6 +3653,7 @@ func awsRestjson1_deserializeOpDocumentListGraphsOutput(v **ListGraphsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3703,6 +3814,7 @@ func awsRestjson1_deserializeOpDocumentListGraphSnapshotsOutput(v **ListGraphSna if err := awsRestjson1_deserializeDocumentGraphSnapshotSummaryList(&sv.GraphSnapshots, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3711,6 +3823,7 @@ func awsRestjson1_deserializeOpDocumentListGraphSnapshotsOutput(v **ListGraphSna } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3875,10 +3988,12 @@ func awsRestjson1_deserializeOpDocumentListImportTasksOutput(v **ListImportTasks } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentImportTaskSummaryList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -4043,10 +4158,12 @@ func awsRestjson1_deserializeOpDocumentListPrivateGraphEndpointsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } + case "privateGraphEndpoints": if err := awsRestjson1_deserializeDocumentPrivateGraphEndpointSummaryList(&sv.PrivateGraphEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -4207,6 +4324,7 @@ func awsRestjson1_deserializeOpDocumentListQueriesOutput(v **ListQueriesOutput, if err := awsRestjson1_deserializeDocumentQuerySummaryList(&sv.Queries, value); err != nil { return err } + default: _, _ = key, value @@ -4367,6 +4485,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4534,6 +4653,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -4542,6 +4662,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -4557,6 +4678,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -4565,6 +4687,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -4573,6 +4696,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4581,6 +4705,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -4589,6 +4714,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4597,6 +4723,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -4609,6 +4736,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -4617,6 +4745,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -4629,6 +4758,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -4637,6 +4767,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4645,6 +4776,7 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4653,10 +4785,12 @@ func awsRestjson1_deserializeOpDocumentResetGraphOutput(v **ResetGraphOutput, va } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4827,6 +4961,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -4835,6 +4970,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -4850,6 +4986,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -4858,6 +4995,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -4866,6 +5004,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4874,6 +5013,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -4882,6 +5022,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4890,6 +5031,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -4902,6 +5044,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -4910,6 +5053,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -4922,6 +5066,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -4930,6 +5075,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4938,6 +5084,7 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4946,10 +5093,12 @@ func awsRestjson1_deserializeOpDocumentRestoreGraphFromSnapshotOutput(v **Restor } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5117,6 +5266,7 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Format = types.Format(jtv) } + case "graphId": if value != nil { jtv, ok := value.(string) @@ -5125,10 +5275,12 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.GraphId = ptr.String(jtv) } + case "importOptions": if err := awsRestjson1_deserializeDocumentImportOptions(&sv.ImportOptions, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5137,6 +5289,7 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.RoleArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -5145,6 +5298,7 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5153,6 +5307,7 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.Status = types.ImportTaskStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -5161,6 +5316,7 @@ func awsRestjson1_deserializeOpDocumentStartImportTaskOutput(v **StartImportTask } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -5522,6 +5678,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Arn = ptr.String(jtv) } + case "buildNumber": if value != nil { jtv, ok := value.(string) @@ -5530,6 +5687,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.BuildNumber = ptr.String(jtv) } + case "createTime": if value != nil { switch jtv := value.(type) { @@ -5545,6 +5703,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -5553,6 +5712,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -5561,6 +5721,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5569,6 +5730,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -5577,6 +5739,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5585,6 +5748,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -5597,6 +5761,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -5605,6 +5770,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -5617,6 +5783,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "sourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -5625,6 +5792,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.SourceSnapshotId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5633,6 +5801,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.Status = types.GraphStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5641,10 +5810,12 @@ func awsRestjson1_deserializeOpDocumentUpdateGraphOutput(v **UpdateGraphOutput, } sv.StatusReason = ptr.String(jtv) } + case "vectorSearchConfiguration": if err := awsRestjson1_deserializeDocumentVectorSearchConfiguration(&sv.VectorSearchConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -5972,6 +6143,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6011,6 +6183,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6019,6 +6192,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + default: _, _ = key, value @@ -6134,10 +6308,12 @@ func awsRestjson1_deserializeDocumentEdgeStructure(v **types.EdgeStructure, valu } sv.Count = ptr.Int64(i64) } + case "edgeProperties": if err := awsRestjson1_deserializeDocumentEdgeProperties(&sv.EdgeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -6207,26 +6383,32 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary if err := awsRestjson1_deserializeDocumentEdgeLabels(&sv.EdgeLabels, value); err != nil { return err } + case "edgeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.EdgeProperties, value); err != nil { return err } + case "edgeStructures": if err := awsRestjson1_deserializeDocumentEdgeStructures(&sv.EdgeStructures, value); err != nil { return err } + case "nodeLabels": if err := awsRestjson1_deserializeDocumentNodeLabels(&sv.NodeLabels, value); err != nil { return err } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentLongValuedMapList(&sv.NodeProperties, value); err != nil { return err } + case "nodeStructures": if err := awsRestjson1_deserializeDocumentNodeStructures(&sv.NodeStructures, value); err != nil { return err } + case "numEdgeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -6239,6 +6421,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdgeLabels = ptr.Int64(i64) } + case "numEdgeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -6251,6 +6434,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdgeProperties = ptr.Int64(i64) } + case "numEdges": if value != nil { jtv, ok := value.(json.Number) @@ -6263,6 +6447,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumEdges = ptr.Int64(i64) } + case "numNodeLabels": if value != nil { jtv, ok := value.(json.Number) @@ -6275,6 +6460,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodeLabels = ptr.Int64(i64) } + case "numNodeProperties": if value != nil { jtv, ok := value.(json.Number) @@ -6287,6 +6473,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodeProperties = ptr.Int64(i64) } + case "numNodes": if value != nil { jtv, ok := value.(json.Number) @@ -6299,6 +6486,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.NumNodes = ptr.Int64(i64) } + case "totalEdgePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -6311,6 +6499,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.TotalEdgePropertyValues = ptr.Int64(i64) } + case "totalNodePropertyValues": if value != nil { jtv, ok := value.(json.Number) @@ -6323,6 +6512,7 @@ func awsRestjson1_deserializeDocumentGraphDataSummary(v **types.GraphDataSummary } sv.TotalNodePropertyValues = ptr.Int64(i64) } + default: _, _ = key, value @@ -6362,6 +6552,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6370,6 +6561,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6378,6 +6570,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6386,6 +6579,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Name = ptr.String(jtv) } + case "snapshotCreateTime": if value != nil { switch jtv := value.(type) { @@ -6401,6 +6595,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } } + case "sourceGraphId": if value != nil { jtv, ok := value.(string) @@ -6409,6 +6604,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.SourceGraphId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6417,6 +6613,7 @@ func awsRestjson1_deserializeDocumentGraphSnapshotSummary(v **types.GraphSnapsho } sv.Status = types.SnapshotStatus(jtv) } + default: _, _ = key, value @@ -6490,6 +6687,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Arn = ptr.String(jtv) } + case "deletionProtection": if value != nil { jtv, ok := value.(bool) @@ -6498,6 +6696,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.DeletionProtection = ptr.Bool(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6506,6 +6705,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6514,6 +6714,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Id = ptr.String(jtv) } + case "kmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -6522,6 +6723,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6530,6 +6732,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Name = ptr.String(jtv) } + case "provisionedMemory": if value != nil { jtv, ok := value.(json.Number) @@ -6542,6 +6745,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.ProvisionedMemory = ptr.Int32(int32(i64)) } + case "publicConnectivity": if value != nil { jtv, ok := value.(bool) @@ -6550,6 +6754,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.PublicConnectivity = ptr.Bool(jtv) } + case "replicaCount": if value != nil { jtv, ok := value.(json.Number) @@ -6562,6 +6767,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.ReplicaCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6570,6 +6776,7 @@ func awsRestjson1_deserializeDocumentGraphSummary(v **types.GraphSummary, value } sv.Status = types.GraphStatus(jtv) } + default: _, _ = key, value @@ -6687,6 +6894,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.DictionaryEntryCount = ptr.Int64(i64) } + case "errorCount": if value != nil { jtv, ok := value.(json.Number) @@ -6699,6 +6907,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ErrorCount = ptr.Int32(int32(i64)) } + case "errorDetails": if value != nil { jtv, ok := value.(string) @@ -6707,6 +6916,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ErrorDetails = ptr.String(jtv) } + case "progressPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -6719,6 +6929,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.ProgressPercentage = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -6734,6 +6945,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } } + case "statementCount": if value != nil { jtv, ok := value.(json.Number) @@ -6746,6 +6958,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.StatementCount = ptr.Int64(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6754,6 +6967,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.Status = ptr.String(jtv) } + case "timeElapsedSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6766,6 +6980,7 @@ func awsRestjson1_deserializeDocumentImportTaskDetails(v **types.ImportTaskDetai } sv.TimeElapsedSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -6805,6 +7020,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Format = types.Format(jtv) } + case "graphId": if value != nil { jtv, ok := value.(string) @@ -6813,6 +7029,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.GraphId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6821,6 +7038,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.RoleArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -6829,6 +7047,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Source = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6837,6 +7056,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.Status = types.ImportTaskStatus(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -6845,6 +7065,7 @@ func awsRestjson1_deserializeDocumentImportTaskSummary(v **types.ImportTaskSumma } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -6918,6 +7139,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7029,6 +7251,7 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.PreserveDefaultVertexLabels = ptr.Bool(jtv) } + case "preserveEdgeIds": if value != nil { jtv, ok := value.(bool) @@ -7037,6 +7260,7 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.PreserveEdgeIds = ptr.Bool(jtv) } + case "s3ExportKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7045,6 +7269,7 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.S3ExportKmsKeyId = ptr.String(jtv) } + case "s3ExportPath": if value != nil { jtv, ok := value.(string) @@ -7053,6 +7278,7 @@ func awsRestjson1_deserializeDocumentNeptuneImportOptions(v **types.NeptuneImpor } sv.S3ExportPath = ptr.String(jtv) } + default: _, _ = key, value @@ -7168,14 +7394,17 @@ func awsRestjson1_deserializeDocumentNodeStructure(v **types.NodeStructure, valu } sv.Count = ptr.Int64(i64) } + case "distinctOutgoingEdgeLabels": if err := awsRestjson1_deserializeDocumentOutgoingEdgeLabels(&sv.DistinctOutgoingEdgeLabels, value); err != nil { return err } + case "nodeProperties": if err := awsRestjson1_deserializeDocumentNodeProperties(&sv.NodeProperties, value); err != nil { return err } + default: _, _ = key, value @@ -7285,10 +7514,12 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.Status = types.PrivateGraphEndpointStatus(jtv) } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -7297,6 +7528,7 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.VpcEndpointId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7305,6 +7537,7 @@ func awsRestjson1_deserializeDocumentPrivateGraphEndpointSummary(v **types.Priva } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7382,6 +7615,7 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Elapsed = ptr.Int32(int32(i64)) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7390,6 +7624,7 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Id = ptr.String(jtv) } + case "queryString": if value != nil { jtv, ok := value.(string) @@ -7398,6 +7633,7 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.QueryString = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7406,6 +7642,7 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.State = types.QueryState(jtv) } + case "waited": if value != nil { jtv, ok := value.(json.Number) @@ -7418,6 +7655,7 @@ func awsRestjson1_deserializeDocumentQuerySummary(v **types.QuerySummary, value } sv.Waited = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7491,6 +7729,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7530,6 +7769,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7538,6 +7778,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7546,6 +7787,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7554,6 +7796,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7562,6 +7805,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7673,6 +7917,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7712,6 +7957,7 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -7720,6 +7966,7 @@ func awsRestjson1_deserializeDocumentUnprocessableException(v **types.Unprocessa } sv.Reason = types.UnprocessableExceptionReason(jtv) } + default: _, _ = key, value @@ -7759,6 +8006,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -7767,6 +8015,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -7810,6 +8059,7 @@ func awsRestjson1_deserializeDocumentVectorSearchConfiguration(v **types.VectorS } sv.Dimension = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/networkfirewall/deserializers.go b/service/networkfirewall/deserializers.go index dfb5c399746..6b8b92e5928 100644 --- a/service/networkfirewall/deserializers.go +++ b/service/networkfirewall/deserializers.go @@ -4888,6 +4888,7 @@ func awsAwsjson10_deserializeDocumentActionDefinition(v **types.ActionDefinition if err := awsAwsjson10_deserializeDocumentPublishMetricAction(&sv.PublishMetricAction, value); err != nil { return err } + default: _, _ = key, value @@ -4927,6 +4928,7 @@ func awsAwsjson10_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressDefinition = ptr.String(jtv) } + default: _, _ = key, value @@ -5000,10 +5002,12 @@ func awsAwsjson10_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.AnalysisDetail = ptr.String(jtv) } + case "IdentifiedRuleIds": if err := awsAwsjson10_deserializeDocumentRuleIdList(&sv.IdentifiedRuleIds, value); err != nil { return err } + case "IdentifiedType": if value != nil { jtv, ok := value.(string) @@ -5012,6 +5016,7 @@ func awsAwsjson10_deserializeDocumentAnalysisResult(v **types.AnalysisResult, va } sv.IdentifiedType = types.IdentifiedType(jtv) } + default: _, _ = key, value @@ -5085,6 +5090,7 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.EndpointId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5093,6 +5099,7 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Status = types.AttachmentStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -5101,6 +5108,7 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.StatusMessage = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -5109,6 +5117,7 @@ func awsAwsjson10_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -5144,6 +5153,7 @@ func awsAwsjson10_deserializeDocumentCapacityUsageSummary(v **types.CapacityUsag if err := awsAwsjson10_deserializeDocumentCIDRSummary(&sv.CIDRs, value); err != nil { return err } + default: _, _ = key, value @@ -5217,6 +5227,7 @@ func awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(v * } sv.RevokedStatusAction = types.RevocationCheckAction(jtv) } + case "UnknownStatusAction": if value != nil { jtv, ok := value.(string) @@ -5225,6 +5236,7 @@ func awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(v * } sv.UnknownStatusAction = types.RevocationCheckAction(jtv) } + default: _, _ = key, value @@ -5268,10 +5280,12 @@ func awsAwsjson10_deserializeDocumentCIDRSummary(v **types.CIDRSummary, value in } sv.AvailableCIDRCount = ptr.Int32(int32(i64)) } + case "IPSetReferences": if err := awsAwsjson10_deserializeDocumentIPSetMetadataMap(&sv.IPSetReferences, value); err != nil { return err } + case "UtilizedCIDRCount": if value != nil { jtv, ok := value.(json.Number) @@ -5284,6 +5298,7 @@ func awsAwsjson10_deserializeDocumentCIDRSummary(v **types.CIDRSummary, value in } sv.UtilizedCIDRCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5319,6 +5334,7 @@ func awsAwsjson10_deserializeDocumentCustomAction(v **types.CustomAction, value if err := awsAwsjson10_deserializeDocumentActionDefinition(&sv.ActionDefinition, value); err != nil { return err } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -5327,6 +5343,7 @@ func awsAwsjson10_deserializeDocumentCustomAction(v **types.CustomAction, value } sv.ActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -5400,6 +5417,7 @@ func awsAwsjson10_deserializeDocumentDimension(v **types.Dimension, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5473,6 +5491,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KeyId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5481,6 +5500,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -5520,6 +5540,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.DeleteProtection = jtv } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5528,10 +5549,12 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.Description = ptr.String(jtv) } + case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -5540,6 +5563,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallArn = ptr.String(jtv) } + case "FirewallId": if value != nil { jtv, ok := value.(string) @@ -5548,6 +5572,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallId = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -5556,6 +5581,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallName = ptr.String(jtv) } + case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5564,6 +5590,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallPolicyArn = ptr.String(jtv) } + case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -5572,6 +5599,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.FirewallPolicyChangeProtection = jtv } + case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -5580,14 +5608,17 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.SubnetChangeProtection = jtv } + case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5596,6 +5627,7 @@ func awsAwsjson10_deserializeDocumentFirewall(v **types.Firewall, value interfac } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -5635,6 +5667,7 @@ func awsAwsjson10_deserializeDocumentFirewallMetadata(v **types.FirewallMetadata } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -5643,6 +5676,7 @@ func awsAwsjson10_deserializeDocumentFirewallMetadata(v **types.FirewallMetadata } sv.FirewallName = ptr.String(jtv) } + default: _, _ = key, value @@ -5712,34 +5746,42 @@ func awsAwsjson10_deserializeDocumentFirewallPolicy(v **types.FirewallPolicy, va if err := awsAwsjson10_deserializeDocumentPolicyVariables(&sv.PolicyVariables, value); err != nil { return err } + case "StatefulDefaultActions": if err := awsAwsjson10_deserializeDocumentStatefulActions(&sv.StatefulDefaultActions, value); err != nil { return err } + case "StatefulEngineOptions": if err := awsAwsjson10_deserializeDocumentStatefulEngineOptions(&sv.StatefulEngineOptions, value); err != nil { return err } + case "StatefulRuleGroupReferences": if err := awsAwsjson10_deserializeDocumentStatefulRuleGroupReferences(&sv.StatefulRuleGroupReferences, value); err != nil { return err } + case "StatelessCustomActions": if err := awsAwsjson10_deserializeDocumentCustomActions(&sv.StatelessCustomActions, value); err != nil { return err } + case "StatelessDefaultActions": if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.StatelessDefaultActions, value); err != nil { return err } + case "StatelessFragmentDefaultActions": if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } + case "StatelessRuleGroupReferences": if err := awsAwsjson10_deserializeDocumentStatelessRuleGroupReferences(&sv.StatelessRuleGroupReferences, value); err != nil { return err } + case "TLSInspectionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -5748,6 +5790,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicy(v **types.FirewallPolicy, va } sv.TLSInspectionConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5787,6 +5830,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyMetadata(v **types.FirewallPo } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5795,6 +5839,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyMetadata(v **types.FirewallPo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5838,6 +5883,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.ConsumedStatefulRuleCapacity = ptr.Int32(int32(i64)) } + case "ConsumedStatelessRuleCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -5850,6 +5896,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.ConsumedStatelessRuleCapacity = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5858,10 +5905,12 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.Description = ptr.String(jtv) } + case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -5870,6 +5919,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyArn = ptr.String(jtv) } + case "FirewallPolicyId": if value != nil { jtv, ok := value.(string) @@ -5878,6 +5928,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyId = ptr.String(jtv) } + case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -5886,6 +5937,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyName = ptr.String(jtv) } + case "FirewallPolicyStatus": if value != nil { jtv, ok := value.(string) @@ -5894,6 +5946,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.FirewallPolicyStatus = types.ResourceStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5909,6 +5962,7 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } } + case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -5921,10 +5975,12 @@ func awsAwsjson10_deserializeDocumentFirewallPolicyResponse(v **types.FirewallPo } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5994,6 +6050,7 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va if err := awsAwsjson10_deserializeDocumentCapacityUsageSummary(&sv.CapacityUsageSummary, value); err != nil { return err } + case "ConfigurationSyncStateSummary": if value != nil { jtv, ok := value.(string) @@ -6002,6 +6059,7 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va } sv.ConfigurationSyncStateSummary = types.ConfigurationSyncState(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6010,10 +6068,12 @@ func awsAwsjson10_deserializeDocumentFirewallStatus(v **types.FirewallStatus, va } sv.Status = types.FirewallStatusValue(jtv) } + case "SyncStates": if err := awsAwsjson10_deserializeDocumentSyncStates(&sv.SyncStates, value); err != nil { return err } + default: _, _ = key, value @@ -6093,6 +6153,7 @@ func awsAwsjson10_deserializeDocumentFlowTimeouts(v **types.FlowTimeouts, value } sv.TcpIdleTimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6132,6 +6193,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Destination = ptr.String(jtv) } + case "DestinationPort": if value != nil { jtv, ok := value.(string) @@ -6140,6 +6202,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.DestinationPort = ptr.String(jtv) } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -6148,6 +6211,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Direction = types.StatefulRuleDirection(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -6156,6 +6220,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Protocol = types.StatefulRuleProtocol(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -6164,6 +6229,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.Source = ptr.String(jtv) } + case "SourcePort": if value != nil { jtv, ok := value.(string) @@ -6172,6 +6238,7 @@ func awsAwsjson10_deserializeDocumentHeader(v **types.Header, value interface{}) } sv.SourcePort = ptr.String(jtv) } + default: _, _ = key, value @@ -6211,6 +6278,7 @@ func awsAwsjson10_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6250,6 +6318,7 @@ func awsAwsjson10_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6289,6 +6358,7 @@ func awsAwsjson10_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6328,6 +6398,7 @@ func awsAwsjson10_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6367,6 +6438,7 @@ func awsAwsjson10_deserializeDocumentInvalidResourcePolicyException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6406,6 +6478,7 @@ func awsAwsjson10_deserializeDocumentInvalidTokenException(v **types.InvalidToke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6441,6 +6514,7 @@ func awsAwsjson10_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson10_deserializeDocumentVariableDefinitionList(&sv.Definition, value); err != nil { return err } + default: _, _ = key, value @@ -6484,6 +6558,7 @@ func awsAwsjson10_deserializeDocumentIPSetMetadata(v **types.IPSetMetadata, valu } sv.ResolvedCIDRCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6558,6 +6633,7 @@ func awsAwsjson10_deserializeDocumentIPSetReference(v **types.IPSetReference, va } sv.ReferenceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6667,6 +6743,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6702,6 +6779,7 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati if err := awsAwsjson10_deserializeDocumentLogDestinationMap(&sv.LogDestination, value); err != nil { return err } + case "LogDestinationType": if value != nil { jtv, ok := value.(string) @@ -6710,6 +6788,7 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati } sv.LogDestinationType = types.LogDestinationType(jtv) } + case "LogType": if value != nil { jtv, ok := value.(string) @@ -6718,6 +6797,7 @@ func awsAwsjson10_deserializeDocumentLogDestinationConfig(v **types.LogDestinati } sv.LogType = types.LogType(jtv) } + default: _, _ = key, value @@ -6827,6 +6907,7 @@ func awsAwsjson10_deserializeDocumentLogDestinationPermissionException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6862,6 +6943,7 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson10_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -6897,26 +6979,32 @@ func awsAwsjson10_deserializeDocumentMatchAttributes(v **types.MatchAttributes, if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.DestinationPorts, value); err != nil { return err } + case "Destinations": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Destinations, value); err != nil { return err } + case "Protocols": if err := awsAwsjson10_deserializeDocumentProtocolNumbers(&sv.Protocols, value); err != nil { return err } + case "SourcePorts": if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.SourcePorts, value); err != nil { return err } + case "Sources": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Sources, value); err != nil { return err } + case "TCPFlags": if err := awsAwsjson10_deserializeDocumentTCPFlags(&sv.TCPFlags, value); err != nil { return err } + default: _, _ = key, value @@ -6956,6 +7044,7 @@ func awsAwsjson10_deserializeDocumentPerObjectStatus(v **types.PerObjectStatus, } sv.SyncStatus = types.PerObjectSyncStatus(jtv) } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -6964,6 +7053,7 @@ func awsAwsjson10_deserializeDocumentPerObjectStatus(v **types.PerObjectStatus, } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6999,6 +7089,7 @@ func awsAwsjson10_deserializeDocumentPolicyVariables(v **types.PolicyVariables, if err := awsAwsjson10_deserializeDocumentIPSets(&sv.RuleVariables, value); err != nil { return err } + default: _, _ = key, value @@ -7042,6 +7133,7 @@ func awsAwsjson10_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.FromPort = int32(i64) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -7054,6 +7146,7 @@ func awsAwsjson10_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.ToPort = int32(i64) } + default: _, _ = key, value @@ -7123,6 +7216,7 @@ func awsAwsjson10_deserializeDocumentPortSet(v **types.PortSet, value interface{ if err := awsAwsjson10_deserializeDocumentVariableDefinitionList(&sv.Definition, value); err != nil { return err } + default: _, _ = key, value @@ -7233,6 +7327,7 @@ func awsAwsjson10_deserializeDocumentPublishMetricAction(v **types.PublishMetric if err := awsAwsjson10_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -7268,6 +7363,7 @@ func awsAwsjson10_deserializeDocumentReferenceSets(v **types.ReferenceSets, valu if err := awsAwsjson10_deserializeDocumentIPSetReferenceMap(&sv.IPSetReferences, value); err != nil { return err } + default: _, _ = key, value @@ -7307,6 +7403,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7346,6 +7443,7 @@ func awsAwsjson10_deserializeDocumentResourceOwnerCheckException(v **types.Resou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7381,10 +7479,12 @@ func awsAwsjson10_deserializeDocumentRuleDefinition(v **types.RuleDefinition, va if err := awsAwsjson10_deserializeDocumentStatelessActions(&sv.Actions, value); err != nil { return err } + case "MatchAttributes": if err := awsAwsjson10_deserializeDocumentMatchAttributes(&sv.MatchAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -7420,18 +7520,22 @@ func awsAwsjson10_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf if err := awsAwsjson10_deserializeDocumentReferenceSets(&sv.ReferenceSets, value); err != nil { return err } + case "RulesSource": if err := awsAwsjson10_deserializeDocumentRulesSource(&sv.RulesSource, value); err != nil { return err } + case "RuleVariables": if err := awsAwsjson10_deserializeDocumentRuleVariables(&sv.RuleVariables, value); err != nil { return err } + case "StatefulRuleOptions": if err := awsAwsjson10_deserializeDocumentStatefulRuleOptions(&sv.StatefulRuleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -7471,6 +7575,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupMetadata(v **types.RuleGroupMetada } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7479,6 +7584,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupMetadata(v **types.RuleGroupMetada } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7514,6 +7620,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon if err := awsAwsjson10_deserializeDocumentAnalysisResultList(&sv.AnalysisResults, value); err != nil { return err } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -7526,6 +7633,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Capacity = ptr.Int32(int32(i64)) } + case "ConsumedCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -7538,6 +7646,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.ConsumedCapacity = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7546,10 +7655,12 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Description = ptr.String(jtv) } + case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7565,6 +7676,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } } + case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -7577,6 +7689,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } + case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -7585,6 +7698,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupArn = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -7593,6 +7707,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupId = ptr.String(jtv) } + case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -7601,6 +7716,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupName = ptr.String(jtv) } + case "RuleGroupStatus": if value != nil { jtv, ok := value.(string) @@ -7609,6 +7725,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.RuleGroupStatus = types.ResourceStatus(jtv) } + case "SnsTopic": if value != nil { jtv, ok := value.(string) @@ -7617,14 +7734,17 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.SnsTopic = ptr.String(jtv) } + case "SourceMetadata": if err := awsAwsjson10_deserializeDocumentSourceMetadata(&sv.SourceMetadata, value); err != nil { return err } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7633,6 +7753,7 @@ func awsAwsjson10_deserializeDocumentRuleGroupResponse(v **types.RuleGroupRespon } sv.Type = types.RuleGroupType(jtv) } + default: _, _ = key, value @@ -7742,10 +7863,12 @@ func awsAwsjson10_deserializeDocumentRuleOption(v **types.RuleOption, value inte } sv.Keyword = ptr.String(jtv) } + case "Settings": if err := awsAwsjson10_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -7815,6 +7938,7 @@ func awsAwsjson10_deserializeDocumentRulesSource(v **types.RulesSource, value in if err := awsAwsjson10_deserializeDocumentRulesSourceList(&sv.RulesSourceList, value); err != nil { return err } + case "RulesString": if value != nil { jtv, ok := value.(string) @@ -7823,14 +7947,17 @@ func awsAwsjson10_deserializeDocumentRulesSource(v **types.RulesSource, value in } sv.RulesString = ptr.String(jtv) } + case "StatefulRules": if err := awsAwsjson10_deserializeDocumentStatefulRules(&sv.StatefulRules, value); err != nil { return err } + case "StatelessRulesAndCustomActions": if err := awsAwsjson10_deserializeDocumentStatelessRulesAndCustomActions(&sv.StatelessRulesAndCustomActions, value); err != nil { return err } + default: _, _ = key, value @@ -7870,14 +7997,17 @@ func awsAwsjson10_deserializeDocumentRulesSourceList(v **types.RulesSourceList, } sv.GeneratedRulesType = types.GeneratedRulesType(jtv) } + case "Targets": if err := awsAwsjson10_deserializeDocumentRuleTargets(&sv.Targets, value); err != nil { return err } + case "TargetTypes": if err := awsAwsjson10_deserializeDocumentTargetTypes(&sv.TargetTypes, value); err != nil { return err } + default: _, _ = key, value @@ -7949,10 +8079,12 @@ func awsAwsjson10_deserializeDocumentRuleVariables(v **types.RuleVariables, valu if err := awsAwsjson10_deserializeDocumentIPSets(&sv.IPSets, value); err != nil { return err } + case "PortSets": if err := awsAwsjson10_deserializeDocumentPortSets(&sv.PortSets, value); err != nil { return err } + default: _, _ = key, value @@ -7992,6 +8124,7 @@ func awsAwsjson10_deserializeDocumentServerCertificate(v **types.ServerCertifica } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8031,18 +8164,22 @@ func awsAwsjson10_deserializeDocumentServerCertificateConfiguration(v **types.Se } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CheckCertificateRevocationStatus": if err := awsAwsjson10_deserializeDocumentCheckCertificateRevocationStatusActions(&sv.CheckCertificateRevocationStatus, value); err != nil { return err } + case "Scopes": if err := awsAwsjson10_deserializeDocumentServerCertificateScopes(&sv.Scopes, value); err != nil { return err } + case "ServerCertificates": if err := awsAwsjson10_deserializeDocumentServerCertificates(&sv.ServerCertificates, value); err != nil { return err } + default: _, _ = key, value @@ -8146,22 +8283,27 @@ func awsAwsjson10_deserializeDocumentServerCertificateScope(v **types.ServerCert if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.DestinationPorts, value); err != nil { return err } + case "Destinations": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Destinations, value); err != nil { return err } + case "Protocols": if err := awsAwsjson10_deserializeDocumentProtocolNumbers(&sv.Protocols, value); err != nil { return err } + case "SourcePorts": if err := awsAwsjson10_deserializeDocumentPortRanges(&sv.SourcePorts, value); err != nil { return err } + case "Sources": if err := awsAwsjson10_deserializeDocumentAddresses(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -8271,6 +8413,7 @@ func awsAwsjson10_deserializeDocumentSourceMetadata(v **types.SourceMetadata, va } sv.SourceArn = ptr.String(jtv) } + case "SourceUpdateToken": if value != nil { jtv, ok := value.(string) @@ -8279,6 +8422,7 @@ func awsAwsjson10_deserializeDocumentSourceMetadata(v **types.SourceMetadata, va } sv.SourceUpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8350,6 +8494,7 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng if err := awsAwsjson10_deserializeDocumentFlowTimeouts(&sv.FlowTimeouts, value); err != nil { return err } + case "RuleOrder": if value != nil { jtv, ok := value.(string) @@ -8358,6 +8503,7 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.RuleOrder = types.RuleOrder(jtv) } + case "StreamExceptionPolicy": if value != nil { jtv, ok := value.(string) @@ -8366,6 +8512,7 @@ func awsAwsjson10_deserializeDocumentStatefulEngineOptions(v **types.StatefulEng } sv.StreamExceptionPolicy = types.StreamExceptionPolicy(jtv) } + default: _, _ = key, value @@ -8405,14 +8552,17 @@ func awsAwsjson10_deserializeDocumentStatefulRule(v **types.StatefulRule, value } sv.Action = types.StatefulAction(jtv) } + case "Header": if err := awsAwsjson10_deserializeDocumentHeader(&sv.Header, value); err != nil { return err } + case "RuleOptions": if err := awsAwsjson10_deserializeDocumentRuleOptions(&sv.RuleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -8452,6 +8602,7 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupOverride(v **types.Statefu } sv.Action = types.OverrideAction(jtv) } + default: _, _ = key, value @@ -8487,6 +8638,7 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef if err := awsAwsjson10_deserializeDocumentStatefulRuleGroupOverride(&sv.Override, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -8499,6 +8651,7 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef } sv.Priority = ptr.Int32(int32(i64)) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8507,6 +8660,7 @@ func awsAwsjson10_deserializeDocumentStatefulRuleGroupReference(v **types.Statef } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8580,6 +8734,7 @@ func awsAwsjson10_deserializeDocumentStatefulRuleOptions(v **types.StatefulRuleO } sv.RuleOrder = types.RuleOrder(jtv) } + default: _, _ = key, value @@ -8693,10 +8848,12 @@ func awsAwsjson10_deserializeDocumentStatelessRule(v **types.StatelessRule, valu } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleDefinition": if err := awsAwsjson10_deserializeDocumentRuleDefinition(&sv.RuleDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -8740,6 +8897,7 @@ func awsAwsjson10_deserializeDocumentStatelessRuleGroupReference(v **types.State } sv.Priority = ptr.Int32(int32(i64)) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -8748,6 +8906,7 @@ func awsAwsjson10_deserializeDocumentStatelessRuleGroupReference(v **types.State } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8851,10 +9010,12 @@ func awsAwsjson10_deserializeDocumentStatelessRulesAndCustomActions(v **types.St if err := awsAwsjson10_deserializeDocumentCustomActions(&sv.CustomActions, value); err != nil { return err } + case "StatelessRules": if err := awsAwsjson10_deserializeDocumentStatelessRules(&sv.StatelessRules, value); err != nil { return err } + default: _, _ = key, value @@ -8894,6 +9055,7 @@ func awsAwsjson10_deserializeDocumentSubnetMapping(v **types.SubnetMapping, valu } sv.IPAddressType = types.IPAddressType(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -8902,6 +9064,7 @@ func awsAwsjson10_deserializeDocumentSubnetMapping(v **types.SubnetMapping, valu } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -8971,10 +9134,12 @@ func awsAwsjson10_deserializeDocumentSyncState(v **types.SyncState, value interf if err := awsAwsjson10_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + case "Config": if err := awsAwsjson10_deserializeDocumentSyncStateConfig(&sv.Config, value); err != nil { return err } + default: _, _ = key, value @@ -9084,6 +9249,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9092,6 +9258,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9197,10 +9364,12 @@ func awsAwsjson10_deserializeDocumentTCPFlagField(v **types.TCPFlagField, value if err := awsAwsjson10_deserializeDocumentFlags(&sv.Flags, value); err != nil { return err } + case "Masks": if err := awsAwsjson10_deserializeDocumentFlags(&sv.Masks, value); err != nil { return err } + default: _, _ = key, value @@ -9274,6 +9443,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9313,6 +9483,7 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.CertificateArn = ptr.String(jtv) } + case "CertificateSerial": if value != nil { jtv, ok := value.(string) @@ -9321,6 +9492,7 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.CertificateSerial = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9329,6 +9501,7 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9337,6 +9510,7 @@ func awsAwsjson10_deserializeDocumentTlsCertificateData(v **types.TlsCertificate } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9372,6 +9546,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfiguration(v **types.TLSIns if err := awsAwsjson10_deserializeDocumentServerCertificateConfigurations(&sv.ServerCertificateConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -9411,6 +9586,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationMetadata(v **type } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9419,6 +9595,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationMetadata(v **type } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9454,10 +9631,12 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type if err := awsAwsjson10_deserializeDocumentTlsCertificateData(&sv.CertificateAuthority, value); err != nil { return err } + case "Certificates": if err := awsAwsjson10_deserializeDocumentCertificates(&sv.Certificates, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9466,10 +9645,12 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.Description = ptr.String(jtv) } + case "EncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9485,6 +9666,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } } + case "NumberOfAssociations": if value != nil { jtv, ok := value.(json.Number) @@ -9497,10 +9679,12 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.NumberOfAssociations = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TLSInspectionConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9509,6 +9693,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationArn = ptr.String(jtv) } + case "TLSInspectionConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9517,6 +9702,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationId = ptr.String(jtv) } + case "TLSInspectionConfigurationName": if value != nil { jtv, ok := value.(string) @@ -9525,6 +9711,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationName = ptr.String(jtv) } + case "TLSInspectionConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -9533,6 +9720,7 @@ func awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(v **type } sv.TLSInspectionConfigurationStatus = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -9606,6 +9794,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9681,6 +9870,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -9689,6 +9879,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallName = ptr.String(jtv) } + case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -9697,6 +9888,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.FirewallPolicyArn = ptr.String(jtv) } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -9705,6 +9897,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateFirewallPolicyOutput(v **Associa } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9744,6 +9937,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -9752,10 +9946,12 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.FirewallName = ptr.String(jtv) } + case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -9764,6 +9960,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateSubnetsOutput(v **AssociateSubne } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9799,10 +9996,12 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallOutput(v **CreateFirewallOu if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } + case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } + default: _, _ = key, value @@ -9838,6 +10037,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallPolicyOutput(v **CreateFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -9846,6 +10046,7 @@ func awsAwsjson10_deserializeOpDocumentCreateFirewallPolicyOutput(v **CreateFire } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9881,6 +10082,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -9889,6 +10091,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9924,6 +10127,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -9932,6 +10136,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTLSInspectionConfigurationOutput(v } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9967,10 +10172,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteFirewallOutput(v **DeleteFirewallOu if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } + case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } + default: _, _ = key, value @@ -10006,6 +10213,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteFirewallPolicyOutput(v **DeleteFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10072,6 +10280,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10107,6 +10316,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10142,10 +10352,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallOutput(v **DescribeFirewa if err := awsAwsjson10_deserializeDocumentFirewall(&sv.Firewall, value); err != nil { return err } + case "FirewallStatus": if err := awsAwsjson10_deserializeDocumentFirewallStatus(&sv.FirewallStatus, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10154,6 +10366,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallOutput(v **DescribeFirewa } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10189,10 +10402,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallPolicyOutput(v **Describe if err := awsAwsjson10_deserializeDocumentFirewallPolicy(&sv.FirewallPolicy, value); err != nil { return err } + case "FirewallPolicyResponse": if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10201,6 +10416,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFirewallPolicyOutput(v **Describe } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10240,10 +10456,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeLoggingConfigurationOutput(v **De } sv.FirewallArn = ptr.String(jtv) } + case "LoggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10283,6 +10501,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -10326,6 +10545,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Capacity = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10334,6 +10554,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10349,6 +10570,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } } + case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -10357,6 +10579,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.RuleGroupArn = ptr.String(jtv) } + case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -10365,10 +10588,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.RuleGroupName = ptr.String(jtv) } + case "StatefulRuleOptions": if err := awsAwsjson10_deserializeDocumentStatefulRuleOptions(&sv.StatefulRuleOptions, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10377,6 +10602,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupMetadataOutput(v **Descr } sv.Type = types.RuleGroupType(jtv) } + default: _, _ = key, value @@ -10412,10 +10638,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupOutput(v **DescribeRuleG if err := awsAwsjson10_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + case "RuleGroupResponse": if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10424,6 +10652,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRuleGroupOutput(v **DescribeRuleG } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10459,10 +10688,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeTLSInspectionConfigurationOutput( if err := awsAwsjson10_deserializeDocumentTLSInspectionConfiguration(&sv.TLSInspectionConfiguration, value); err != nil { return err } + case "TLSInspectionConfigurationResponse": if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10471,6 +10702,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeTLSInspectionConfigurationOutput( } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10510,6 +10742,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -10518,10 +10751,12 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.FirewallName = ptr.String(jtv) } + case "SubnetMappings": if err := awsAwsjson10_deserializeDocumentSubnetMappings(&sv.SubnetMappings, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10530,6 +10765,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateSubnetsOutput(v **Disassociat } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10565,6 +10801,7 @@ func awsAwsjson10_deserializeOpDocumentListFirewallPoliciesOutput(v **ListFirewa if err := awsAwsjson10_deserializeDocumentFirewallPolicies(&sv.FirewallPolicies, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10573,6 +10810,7 @@ func awsAwsjson10_deserializeOpDocumentListFirewallPoliciesOutput(v **ListFirewa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10608,6 +10846,7 @@ func awsAwsjson10_deserializeOpDocumentListFirewallsOutput(v **ListFirewallsOutp if err := awsAwsjson10_deserializeDocumentFirewalls(&sv.Firewalls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10616,6 +10855,7 @@ func awsAwsjson10_deserializeOpDocumentListFirewallsOutput(v **ListFirewallsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10655,10 +10895,12 @@ func awsAwsjson10_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextToken = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson10_deserializeDocumentRuleGroups(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -10698,10 +10940,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10741,10 +10985,12 @@ func awsAwsjson10_deserializeOpDocumentListTLSInspectionConfigurationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "TLSInspectionConfigurations": if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurations(&sv.TLSInspectionConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -10877,6 +11123,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.DeleteProtection = jtv } + case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -10885,6 +11132,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -10893,6 +11141,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.FirewallName = ptr.String(jtv) } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10901,6 +11150,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDeleteProtectionOutput(v ** } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10940,6 +11190,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.Description = ptr.String(jtv) } + case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -10948,6 +11199,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -10956,6 +11208,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.FirewallName = ptr.String(jtv) } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -10964,6 +11217,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallDescriptionOutput(v **Updat } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10999,6 +11253,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -11007,6 +11262,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11015,6 +11271,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.FirewallName = ptr.String(jtv) } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11023,6 +11280,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallEncryptionConfigurationOutp } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11062,6 +11320,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11070,6 +11329,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallName = ptr.String(jtv) } + case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -11078,6 +11338,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.FirewallPolicyChangeProtection = jtv } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11086,6 +11347,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyChangeProtectionOutpu } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11121,6 +11383,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyOutput(v **UpdateFire if err := awsAwsjson10_deserializeDocumentFirewallPolicyResponse(&sv.FirewallPolicyResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11129,6 +11392,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateFirewallPolicyOutput(v **UpdateFire } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11168,6 +11432,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11176,10 +11441,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateLoggingConfigurationOutput(v **Upda } sv.FirewallName = ptr.String(jtv) } + case "LoggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -11215,6 +11482,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup if err := awsAwsjson10_deserializeDocumentRuleGroupResponse(&sv.RuleGroupResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11223,6 +11491,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11262,6 +11531,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.FirewallArn = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -11270,6 +11540,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.FirewallName = ptr.String(jtv) } + case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -11278,6 +11549,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.SubnetChangeProtection = jtv } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11286,6 +11558,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSubnetChangeProtectionOutput(v **Up } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11321,6 +11594,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTLSInspectionConfigurationOutput(v if err := awsAwsjson10_deserializeDocumentTLSInspectionConfigurationResponse(&sv.TLSInspectionConfigurationResponse, value); err != nil { return err } + case "UpdateToken": if value != nil { jtv, ok := value.(string) @@ -11329,6 +11603,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTLSInspectionConfigurationOutput(v } sv.UpdateToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index ef80a44d7b5..ed22c0c1c30 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentAcceptAttachmentOutput(v **AcceptAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +357,7 @@ func awsRestjson1_deserializeOpDocumentAssociateConnectPeerOutput(v **AssociateC if err := awsRestjson1_deserializeDocumentConnectPeerAssociation(&sv.ConnectPeerAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -525,6 +527,7 @@ func awsRestjson1_deserializeOpDocumentAssociateCustomerGatewayOutput(v **Associ if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociation(&sv.CustomerGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -694,6 +697,7 @@ func awsRestjson1_deserializeOpDocumentAssociateLinkOutput(v **AssociateLinkOutp if err := awsRestjson1_deserializeDocumentLinkAssociation(&sv.LinkAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -863,6 +867,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTransitGatewayConnectPeerOutput( if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(&sv.TransitGatewayConnectPeerAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1029,6 +1034,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectAttachmentOutput(v **CreateC if err := awsRestjson1_deserializeDocumentConnectAttachment(&sv.ConnectAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -1195,6 +1201,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectionOutput(v **CreateConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -1361,6 +1368,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectPeerOutput(v **CreateConnect if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } + default: _, _ = key, value @@ -1530,6 +1538,7 @@ func awsRestjson1_deserializeOpDocumentCreateCoreNetworkOutput(v **CreateCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -1699,6 +1708,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeviceOutput(v **CreateDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -1865,6 +1875,7 @@ func awsRestjson1_deserializeOpDocumentCreateGlobalNetworkOutput(v **CreateGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -2034,6 +2045,7 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } + default: _, _ = key, value @@ -2203,6 +2215,7 @@ func awsRestjson1_deserializeOpDocumentCreateSiteOutput(v **CreateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -2369,6 +2382,7 @@ func awsRestjson1_deserializeOpDocumentCreateSiteToSiteVpnAttachmentOutput(v **C if err := awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(&sv.SiteToSiteVpnAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -2535,6 +2549,7 @@ func awsRestjson1_deserializeOpDocumentCreateTransitGatewayPeeringOutput(v **Cre if err := awsRestjson1_deserializeDocumentTransitGatewayPeering(&sv.TransitGatewayPeering, value); err != nil { return err } + default: _, _ = key, value @@ -2701,6 +2716,7 @@ func awsRestjson1_deserializeOpDocumentCreateTransitGatewayRouteTableAttachmentO if err := awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(&sv.TransitGatewayRouteTableAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -2867,6 +2883,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcAttachmentOutput(v **CreateVpcAt if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -3033,6 +3050,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAttachmentOutput(v **DeleteAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + default: _, _ = key, value @@ -3199,6 +3217,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectionOutput(v **DeleteConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -3365,6 +3384,7 @@ func awsRestjson1_deserializeOpDocumentDeleteConnectPeerOutput(v **DeleteConnect if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } + default: _, _ = key, value @@ -3531,6 +3551,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCoreNetworkOutput(v **DeleteCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -3697,6 +3718,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCoreNetworkPolicyVersionOutput(v ** if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -3863,6 +3885,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDeviceOutput(v **DeleteDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -4029,6 +4052,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGlobalNetworkOutput(v **DeleteGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -4195,6 +4219,7 @@ func awsRestjson1_deserializeOpDocumentDeleteLinkOutput(v **DeleteLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } + default: _, _ = key, value @@ -4361,6 +4386,7 @@ func awsRestjson1_deserializeOpDocumentDeletePeeringOutput(v **DeletePeeringOutp if err := awsRestjson1_deserializeDocumentPeering(&sv.Peering, value); err != nil { return err } + default: _, _ = key, value @@ -4627,6 +4653,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSiteOutput(v **DeleteSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -4793,6 +4820,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterTransitGatewayOutput(v **Deregi if err := awsRestjson1_deserializeDocumentTransitGatewayRegistration(&sv.TransitGatewayRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -4956,6 +4984,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalNetworksOutput(v **Describe if err := awsRestjson1_deserializeDocumentGlobalNetworkList(&sv.GlobalNetworks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4964,6 +4993,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGlobalNetworksOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5130,6 +5160,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateConnectPeerOutput(v **Disasso if err := awsRestjson1_deserializeDocumentConnectPeerAssociation(&sv.ConnectPeerAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5296,6 +5327,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateCustomerGatewayOutput(v **Dis if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociation(&sv.CustomerGatewayAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5462,6 +5494,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateLinkOutput(v **DisassociateLi if err := awsRestjson1_deserializeDocumentLinkAssociation(&sv.LinkAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5628,6 +5661,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateTransitGatewayConnectPeerOutp if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(&sv.TransitGatewayConnectPeerAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -5894,6 +5928,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectAttachmentOutput(v **GetConnect if err := awsRestjson1_deserializeDocumentConnectAttachment(&sv.ConnectAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -6057,6 +6092,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu if err := awsRestjson1_deserializeDocumentConnectionList(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6065,6 +6101,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectionsOutput(v **GetConnectionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6228,6 +6265,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerOutput(v **GetConnectPeerOu if err := awsRestjson1_deserializeDocumentConnectPeer(&sv.ConnectPeer, value); err != nil { return err } + default: _, _ = key, value @@ -6394,6 +6432,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerAssociationsOutput(v **GetC if err := awsRestjson1_deserializeDocumentConnectPeerAssociationList(&sv.ConnectPeerAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6402,6 +6441,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectPeerAssociationsOutput(v **GetC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6565,6 +6605,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkOutput(v **GetCoreNetworkOu if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -6728,6 +6769,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeEventsOutput(v **GetC if err := awsRestjson1_deserializeDocumentCoreNetworkChangeEventList(&sv.CoreNetworkChangeEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6736,6 +6778,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeEventsOutput(v **GetC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6899,6 +6942,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeSetOutput(v **GetCore if err := awsRestjson1_deserializeDocumentCoreNetworkChangeList(&sv.CoreNetworkChanges, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6907,6 +6951,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkChangeSetOutput(v **GetCore } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7070,6 +7115,7 @@ func awsRestjson1_deserializeOpDocumentGetCoreNetworkPolicyOutput(v **GetCoreNet if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -7236,6 +7282,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomerGatewayAssociationsOutput(v ** if err := awsRestjson1_deserializeDocumentCustomerGatewayAssociationList(&sv.CustomerGatewayAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7244,6 +7291,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomerGatewayAssociationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7407,6 +7455,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicesOutput(v **GetDevicesOutput, va if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7415,6 +7464,7 @@ func awsRestjson1_deserializeOpDocumentGetDevicesOutput(v **GetDevicesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7578,6 +7628,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkAssociationsOutput(v **GetLinkAsso if err := awsRestjson1_deserializeDocumentLinkAssociationList(&sv.LinkAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7586,6 +7637,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkAssociationsOutput(v **GetLinkAsso } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7749,6 +7801,7 @@ func awsRestjson1_deserializeOpDocumentGetLinksOutput(v **GetLinksOutput, value if err := awsRestjson1_deserializeDocumentLinkList(&sv.Links, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7757,6 +7810,7 @@ func awsRestjson1_deserializeOpDocumentGetLinksOutput(v **GetLinksOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7917,6 +7971,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceCountsOutput(v **GetNet if err := awsRestjson1_deserializeDocumentNetworkResourceCountList(&sv.NetworkResourceCounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7925,6 +7980,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceCountsOutput(v **GetNet } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8092,10 +8148,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceRelationshipsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "Relationships": if err := awsRestjson1_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } + default: _, _ = key, value @@ -8259,6 +8317,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourcesOutput(v **GetNetworkR if err := awsRestjson1_deserializeDocumentNetworkResourceList(&sv.NetworkResources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8267,6 +8326,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourcesOutput(v **GetNetworkR } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8430,10 +8490,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout if err := awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(&sv.CoreNetworkSegmentEdge, value); err != nil { return err } + case "NetworkRoutes": if err := awsRestjson1_deserializeDocumentNetworkRouteList(&sv.NetworkRoutes, value); err != nil { return err } + case "RouteTableArn": if value != nil { jtv, ok := value.(string) @@ -8442,6 +8504,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } sv.RouteTableArn = ptr.String(jtv) } + case "RouteTableTimestamp": if value != nil { switch jtv := value.(type) { @@ -8457,6 +8520,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } } + case "RouteTableType": if value != nil { jtv, ok := value.(string) @@ -8465,6 +8529,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkRoutesOutput(v **GetNetworkRout } sv.RouteTableType = types.RouteTableType(jtv) } + default: _, _ = key, value @@ -8628,6 +8693,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkTelemetryOutput(v **GetNetworkT if err := awsRestjson1_deserializeDocumentNetworkTelemetryList(&sv.NetworkTelemetry, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8636,6 +8702,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkTelemetryOutput(v **GetNetworkT } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8800,6 +8867,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.PolicyDocument = ptr.String(jtv) } + default: _, _ = key, value @@ -8963,6 +9031,7 @@ func awsRestjson1_deserializeOpDocumentGetRouteAnalysisOutput(v **GetRouteAnalys if err := awsRestjson1_deserializeDocumentRouteAnalysis(&sv.RouteAnalysis, value); err != nil { return err } + default: _, _ = key, value @@ -9130,10 +9199,12 @@ func awsRestjson1_deserializeOpDocumentGetSitesOutput(v **GetSitesOutput, value } sv.NextToken = ptr.String(jtv) } + case "Sites": if err := awsRestjson1_deserializeDocumentSiteList(&sv.Sites, value); err != nil { return err } + default: _, _ = key, value @@ -9297,6 +9368,7 @@ func awsRestjson1_deserializeOpDocumentGetSiteToSiteVpnAttachmentOutput(v **GetS if err := awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(&sv.SiteToSiteVpnAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -9467,10 +9539,12 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayConnectPeerAssociationsO } sv.NextToken = ptr.String(jtv) } + case "TransitGatewayConnectPeerAssociations": if err := awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociationList(&sv.TransitGatewayConnectPeerAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -9634,6 +9708,7 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayPeeringOutput(v **GetTra if err := awsRestjson1_deserializeDocumentTransitGatewayPeering(&sv.TransitGatewayPeering, value); err != nil { return err } + default: _, _ = key, value @@ -9801,10 +9876,12 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayRegistrationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "TransitGatewayRegistrations": if err := awsRestjson1_deserializeDocumentTransitGatewayRegistrationList(&sv.TransitGatewayRegistrations, value); err != nil { return err } + default: _, _ = key, value @@ -9968,6 +10045,7 @@ func awsRestjson1_deserializeOpDocumentGetTransitGatewayRouteTableAttachmentOutp if err := awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(&sv.TransitGatewayRouteTableAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -10131,6 +10209,7 @@ func awsRestjson1_deserializeOpDocumentGetVpcAttachmentOutput(v **GetVpcAttachme if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -10291,6 +10370,7 @@ func awsRestjson1_deserializeOpDocumentListAttachmentsOutput(v **ListAttachments if err := awsRestjson1_deserializeDocumentAttachmentList(&sv.Attachments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10299,6 +10379,7 @@ func awsRestjson1_deserializeOpDocumentListAttachmentsOutput(v **ListAttachments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10459,6 +10540,7 @@ func awsRestjson1_deserializeOpDocumentListConnectPeersOutput(v **ListConnectPee if err := awsRestjson1_deserializeDocumentConnectPeerSummaryList(&sv.ConnectPeers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10467,6 +10549,7 @@ func awsRestjson1_deserializeOpDocumentListConnectPeersOutput(v **ListConnectPee } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10630,6 +10713,7 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworkPolicyVersionsOutput(v **L if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyVersionList(&sv.CoreNetworkPolicyVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10638,6 +10722,7 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworkPolicyVersionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10798,6 +10883,7 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworksOutput(v **ListCoreNetwor if err := awsRestjson1_deserializeDocumentCoreNetworkSummaryList(&sv.CoreNetworks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10806,6 +10892,7 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworksOutput(v **ListCoreNetwor } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10958,10 +11045,12 @@ func awsRestjson1_deserializeOpDocumentListOrganizationServiceAccessStatusOutput } sv.NextToken = ptr.String(jtv) } + case "OrganizationStatus": if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -11126,10 +11215,12 @@ func awsRestjson1_deserializeOpDocumentListPeeringsOutput(v **ListPeeringsOutput } sv.NextToken = ptr.String(jtv) } + case "Peerings": if err := awsRestjson1_deserializeDocumentPeeringList(&sv.Peerings, value); err != nil { return err } + default: _, _ = key, value @@ -11293,6 +11384,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -11462,6 +11554,7 @@ func awsRestjson1_deserializeOpDocumentPutCoreNetworkPolicyOutput(v **PutCoreNet if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -11731,6 +11824,7 @@ func awsRestjson1_deserializeOpDocumentRegisterTransitGatewayOutput(v **Register if err := awsRestjson1_deserializeDocumentTransitGatewayRegistration(&sv.TransitGatewayRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -11897,6 +11991,7 @@ func awsRestjson1_deserializeOpDocumentRejectAttachmentOutput(v **RejectAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + default: _, _ = key, value @@ -12063,6 +12158,7 @@ func awsRestjson1_deserializeOpDocumentRestoreCoreNetworkPolicyVersionOutput(v * if err := awsRestjson1_deserializeDocumentCoreNetworkPolicy(&sv.CoreNetworkPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12229,6 +12325,7 @@ func awsRestjson1_deserializeOpDocumentStartOrganizationServiceAccessUpdateOutpu if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12395,6 +12492,7 @@ func awsRestjson1_deserializeOpDocumentStartRouteAnalysisOutput(v **StartRouteAn if err := awsRestjson1_deserializeDocumentRouteAnalysis(&sv.RouteAnalysis, value); err != nil { return err } + default: _, _ = key, value @@ -12770,6 +12868,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConnectionOutput(v **UpdateConnecti if err := awsRestjson1_deserializeDocumentConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -12936,6 +13035,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCoreNetworkOutput(v **UpdateCoreNet if err := awsRestjson1_deserializeDocumentCoreNetwork(&sv.CoreNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -13102,6 +13202,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceOutput(v **UpdateDeviceOutput if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -13268,6 +13369,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGlobalNetworkOutput(v **UpdateGloba if err := awsRestjson1_deserializeDocumentGlobalNetwork(&sv.GlobalNetwork, value); err != nil { return err } + default: _, _ = key, value @@ -13437,6 +13539,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va if err := awsRestjson1_deserializeDocumentLink(&sv.Link, value); err != nil { return err } + default: _, _ = key, value @@ -13603,6 +13706,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkResourceMetadataOutput(v **U if err := awsRestjson1_deserializeDocumentNetworkResourceMetadataMap(&sv.Metadata, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -13611,6 +13715,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkResourceMetadataOutput(v **U } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13777,6 +13882,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteOutput(v **UpdateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -13943,6 +14049,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcAttachmentOutput(v **UpdateVpcAt if err := awsRestjson1_deserializeDocumentVpcAttachment(&sv.VpcAttachment, value); err != nil { return err } + default: _, _ = key, value @@ -14310,6 +14417,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14349,6 +14457,7 @@ func awsRestjson1_deserializeDocumentAccountStatus(v **types.AccountStatus, valu } sv.AccountId = ptr.String(jtv) } + case "SLRDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -14357,6 +14466,7 @@ func awsRestjson1_deserializeDocumentAccountStatus(v **types.AccountStatus, valu } sv.SLRDeploymentStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -14430,6 +14540,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentId = ptr.String(jtv) } + case "AttachmentPolicyRuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14442,6 +14553,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } + case "AttachmentType": if value != nil { jtv, ok := value.(string) @@ -14450,6 +14562,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.AttachmentType = types.AttachmentType(jtv) } + case "CoreNetworkArn": if value != nil { jtv, ok := value.(string) @@ -14458,6 +14571,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.CoreNetworkArn = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -14466,6 +14580,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -14481,6 +14596,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -14489,10 +14605,12 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentAttachmentErrorList(&sv.LastModificationErrors, value); err != nil { return err } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -14501,6 +14619,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.NetworkFunctionGroupName = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -14509,14 +14628,17 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.OwnerAccountId = ptr.String(jtv) } + case "ProposedNetworkFunctionGroupChange": if err := awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(&sv.ProposedNetworkFunctionGroupChange, value); err != nil { return err } + case "ProposedSegmentChange": if err := awsRestjson1_deserializeDocumentProposedSegmentChange(&sv.ProposedSegmentChange, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14525,6 +14647,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.ResourceArn = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -14533,6 +14656,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.SegmentName = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14541,10 +14665,12 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.State = types.AttachmentState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14560,6 +14686,7 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte } } + default: _, _ = key, value @@ -14599,6 +14726,7 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.Code = types.AttachmentErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -14607,6 +14735,7 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14615,6 +14744,7 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.RequestId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14623,6 +14753,7 @@ func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14730,6 +14861,7 @@ func awsRestjson1_deserializeDocumentAWSLocation(v **types.AWSLocation, value in } sv.SubnetArn = ptr.String(jtv) } + case "Zone": if value != nil { jtv, ok := value.(string) @@ -14738,6 +14870,7 @@ func awsRestjson1_deserializeDocumentAWSLocation(v **types.AWSLocation, value in } sv.Zone = ptr.String(jtv) } + default: _, _ = key, value @@ -14781,6 +14914,7 @@ func awsRestjson1_deserializeDocumentBandwidth(v **types.Bandwidth, value interf } sv.DownloadSpeed = ptr.Int32(int32(i64)) } + case "UploadSpeed": if value != nil { jtv, ok := value.(json.Number) @@ -14793,6 +14927,7 @@ func awsRestjson1_deserializeDocumentBandwidth(v **types.Bandwidth, value interf } sv.UploadSpeed = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14832,6 +14967,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -14840,6 +14976,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14848,6 +14985,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14883,10 +15021,12 @@ func awsRestjson1_deserializeDocumentConnectAttachment(v **types.ConnectAttachme if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + case "Options": if err := awsRestjson1_deserializeDocumentConnectAttachmentOptions(&sv.Options, value); err != nil { return err } + case "TransportAttachmentId": if value != nil { jtv, ok := value.(string) @@ -14895,6 +15035,7 @@ func awsRestjson1_deserializeDocumentConnectAttachment(v **types.ConnectAttachme } sv.TransportAttachmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -14934,6 +15075,7 @@ func awsRestjson1_deserializeDocumentConnectAttachmentOptions(v **types.ConnectA } sv.Protocol = types.TunnelProtocol(jtv) } + default: _, _ = key, value @@ -14973,6 +15115,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectedDeviceId = ptr.String(jtv) } + case "ConnectedLinkId": if value != nil { jtv, ok := value.(string) @@ -14981,6 +15124,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectedLinkId = ptr.String(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -14989,6 +15133,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -14997,6 +15142,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.ConnectionId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15012,6 +15158,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15020,6 +15167,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.Description = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -15028,6 +15176,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -15036,6 +15185,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -15044,6 +15194,7 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.LinkId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15052,10 +15203,12 @@ func awsRestjson1_deserializeDocumentConnection(v **types.Connection, value inte } sv.State = types.ConnectionState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15095,6 +15248,7 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } sv.Status = types.ConnectionStatus(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -15110,6 +15264,7 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15118,6 +15273,7 @@ func awsRestjson1_deserializeDocumentConnectionHealth(v **types.ConnectionHealth } sv.Type = types.ConnectionType(jtv) } + default: _, _ = key, value @@ -15187,6 +15343,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in if err := awsRestjson1_deserializeDocumentConnectPeerConfiguration(&sv.Configuration, value); err != nil { return err } + case "ConnectAttachmentId": if value != nil { jtv, ok := value.(string) @@ -15195,6 +15352,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.ConnectAttachmentId = ptr.String(jtv) } + case "ConnectPeerId": if value != nil { jtv, ok := value.(string) @@ -15203,6 +15361,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.ConnectPeerId = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -15211,6 +15370,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15226,6 +15386,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -15234,10 +15395,12 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentConnectPeerErrorList(&sv.LastModificationErrors, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -15246,6 +15409,7 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.State = types.ConnectPeerState(jtv) } + case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -15254,10 +15418,12 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in } sv.SubnetArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15297,6 +15463,7 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.ConnectPeerId = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -15305,6 +15472,7 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -15313,6 +15481,7 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -15321,6 +15490,7 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.LinkId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15329,6 +15499,7 @@ func awsRestjson1_deserializeDocumentConnectPeerAssociation(v **types.ConnectPee } sv.State = types.ConnectPeerAssociationState(jtv) } + default: _, _ = key, value @@ -15402,6 +15573,7 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.CoreNetworkAddress = ptr.String(jtv) } + case "CoreNetworkAsn": if value != nil { jtv, ok := value.(json.Number) @@ -15414,6 +15586,7 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.CoreNetworkAsn = ptr.Int64(i64) } + case "PeerAddress": if value != nil { jtv, ok := value.(string) @@ -15422,6 +15595,7 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.PeerAddress = ptr.String(jtv) } + case "PeerAsn": if value != nil { jtv, ok := value.(json.Number) @@ -15434,6 +15608,7 @@ func awsRestjson1_deserializeDocumentConnectPeerBgpConfiguration(v **types.Conne } sv.PeerAsn = ptr.Int64(i64) } + default: _, _ = key, value @@ -15503,6 +15678,7 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP if err := awsRestjson1_deserializeDocumentConnectPeerBgpConfigurationList(&sv.BgpConfigurations, value); err != nil { return err } + case "CoreNetworkAddress": if value != nil { jtv, ok := value.(string) @@ -15511,10 +15687,12 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.CoreNetworkAddress = ptr.String(jtv) } + case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } + case "PeerAddress": if value != nil { jtv, ok := value.(string) @@ -15523,6 +15701,7 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.PeerAddress = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -15531,6 +15710,7 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP } sv.Protocol = types.TunnelProtocol(jtv) } + default: _, _ = key, value @@ -15570,6 +15750,7 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.Code = types.ConnectPeerErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15578,6 +15759,7 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15586,6 +15768,7 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.RequestId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -15594,6 +15777,7 @@ func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15667,6 +15851,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectAttachmentId = ptr.String(jtv) } + case "ConnectPeerId": if value != nil { jtv, ok := value.(string) @@ -15675,6 +15860,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectPeerId = ptr.String(jtv) } + case "ConnectPeerState": if value != nil { jtv, ok := value.(string) @@ -15683,6 +15869,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.ConnectPeerState = types.ConnectPeerState(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -15691,6 +15878,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15706,6 +15894,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -15714,6 +15903,7 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.EdgeLocation = ptr.String(jtv) } + case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -15722,10 +15912,12 @@ func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSum } sv.SubnetArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15835,6 +16027,7 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.CoreNetworkArn = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -15843,6 +16036,7 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -15858,6 +16052,7 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15866,10 +16061,12 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.Description = ptr.String(jtv) } + case "Edges": if err := awsRestjson1_deserializeDocumentCoreNetworkEdgeList(&sv.Edges, value); err != nil { return err } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -15878,14 +16075,17 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.GlobalNetworkId = ptr.String(jtv) } + case "NetworkFunctionGroups": if err := awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroupList(&sv.NetworkFunctionGroups, value); err != nil { return err } + case "Segments": if err := awsRestjson1_deserializeDocumentCoreNetworkSegmentList(&sv.Segments, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -15894,10 +16094,12 @@ func awsRestjson1_deserializeDocumentCoreNetwork(v **types.CoreNetwork, value in } sv.State = types.CoreNetworkState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15937,6 +16139,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Action = types.ChangeAction(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -15945,6 +16148,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Identifier = ptr.String(jtv) } + case "IdentifierPath": if value != nil { jtv, ok := value.(string) @@ -15953,14 +16157,17 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.IdentifierPath = ptr.String(jtv) } + case "NewValues": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeValues(&sv.NewValues, value); err != nil { return err } + case "PreviousValues": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeValues(&sv.PreviousValues, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15969,6 +16176,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChange(v **types.CoreNetworkChan } sv.Type = types.ChangeType(jtv) } + default: _, _ = key, value @@ -16008,6 +16216,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Action = types.ChangeAction(jtv) } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -16023,6 +16232,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } } + case "IdentifierPath": if value != nil { jtv, ok := value.(string) @@ -16031,6 +16241,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.IdentifierPath = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16039,6 +16250,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Status = types.ChangeStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16047,10 +16259,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEvent(v **types.CoreNetwor } sv.Type = types.ChangeType(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -16124,6 +16338,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.AttachmentId = ptr.String(jtv) } + case "Cidr": if value != nil { jtv, ok := value.(string) @@ -16132,6 +16347,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.Cidr = ptr.String(jtv) } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -16140,6 +16356,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.EdgeLocation = ptr.String(jtv) } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -16148,6 +16365,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.NetworkFunctionGroupName = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -16156,6 +16374,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeEventValues(v **types.Core } sv.SegmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -16233,6 +16452,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.Asn = ptr.Int64(i64) } + case "Cidr": if value != nil { jtv, ok := value.(string) @@ -16241,6 +16461,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.Cidr = ptr.String(jtv) } + case "DestinationIdentifier": if value != nil { jtv, ok := value.(string) @@ -16249,14 +16470,17 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.DestinationIdentifier = ptr.String(jtv) } + case "EdgeLocations": if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } + case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -16265,6 +16489,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.NetworkFunctionGroupName = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -16273,14 +16498,17 @@ func awsRestjson1_deserializeDocumentCoreNetworkChangeValues(v **types.CoreNetwo } sv.SegmentName = ptr.String(jtv) } + case "ServiceInsertionActions": if err := awsRestjson1_deserializeDocumentServiceInsertionActionList(&sv.ServiceInsertionActions, value); err != nil { return err } + case "SharedSegments": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SharedSegments, value); err != nil { return err } + default: _, _ = key, value @@ -16324,6 +16552,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkEdge(v **types.CoreNetworkEdge, } sv.Asn = ptr.Int64(i64) } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -16332,10 +16561,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkEdge(v **types.CoreNetworkEdge, } sv.EdgeLocation = ptr.String(jtv) } + case "InsideCidrBlocks": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.InsideCidrBlocks, value); err != nil { return err } + default: _, _ = key, value @@ -16405,6 +16636,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroup(v **types.C if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16413,10 +16645,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkNetworkFunctionGroup(v **types.C } sv.Name = ptr.String(jtv) } + case "Segments": if err := awsRestjson1_deserializeDocumentServiceInsertionSegments(&sv.Segments, value); err != nil { return err } + default: _, _ = key, value @@ -16490,6 +16724,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.Alias = types.CoreNetworkPolicyAlias(jtv) } + case "ChangeSetState": if value != nil { jtv, ok := value.(string) @@ -16498,6 +16733,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.ChangeSetState = types.ChangeSetState(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -16506,6 +16742,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -16521,6 +16758,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16529,6 +16767,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.Description = ptr.String(jtv) } + case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -16537,10 +16776,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.PolicyDocument = ptr.String(jtv) } + case "PolicyErrors": if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyErrorList(&sv.PolicyErrors, value); err != nil { return err } + case "PolicyVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -16553,6 +16794,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicy(v **types.CoreNetworkPoli } sv.PolicyVersionId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16592,6 +16834,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -16600,6 +16843,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.Message = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -16608,6 +16852,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyError(v **types.CoreNetwor } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -16677,6 +16922,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe if err := awsRestjson1_deserializeDocumentCoreNetworkPolicyErrorList(&sv.Errors, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16685,6 +16931,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyException(v **types.CoreNe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16724,6 +16971,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.Alias = types.CoreNetworkPolicyAlias(jtv) } + case "ChangeSetState": if value != nil { jtv, ok := value.(string) @@ -16732,6 +16980,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.ChangeSetState = types.ChangeSetState(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -16740,6 +16989,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -16755,6 +17005,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16763,6 +17014,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.Description = ptr.String(jtv) } + case "PolicyVersionId": if value != nil { jtv, ok := value.(json.Number) @@ -16775,6 +17027,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkPolicyVersion(v **types.CoreNetw } sv.PolicyVersionId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16844,6 +17097,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegment(v **types.CoreNetworkSeg if err := awsRestjson1_deserializeDocumentExternalRegionCodeList(&sv.EdgeLocations, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16852,10 +17106,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegment(v **types.CoreNetworkSeg } sv.Name = ptr.String(jtv) } + case "SharedSegments": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SharedSegments, value); err != nil { return err } + default: _, _ = key, value @@ -16895,6 +17151,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.CoreNetworkId = ptr.String(jtv) } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -16903,6 +17160,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.EdgeLocation = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -16911,6 +17169,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSegmentEdgeIdentifier(v **types. } sv.SegmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -16984,6 +17243,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.CoreNetworkArn = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -16992,6 +17252,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.CoreNetworkId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17000,6 +17261,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.Description = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17008,6 +17270,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.GlobalNetworkId = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -17016,6 +17279,7 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.OwnerAccountId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17024,10 +17288,12 @@ func awsRestjson1_deserializeDocumentCoreNetworkSummary(v **types.CoreNetworkSum } sv.State = types.CoreNetworkState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17101,6 +17367,7 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.CustomerGatewayArn = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -17109,6 +17376,7 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17117,6 +17385,7 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -17125,6 +17394,7 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.LinkId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17133,6 +17403,7 @@ func awsRestjson1_deserializeDocumentCustomerGatewayAssociation(v **types.Custom } sv.State = types.CustomerGatewayAssociationState(jtv) } + default: _, _ = key, value @@ -17202,6 +17473,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) if err := awsRestjson1_deserializeDocumentAWSLocation(&sv.AWSLocation, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -17217,6 +17489,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17225,6 +17498,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Description = ptr.String(jtv) } + case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -17233,6 +17507,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceArn = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -17241,6 +17516,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17249,10 +17525,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.GlobalNetworkId = ptr.String(jtv) } + case "Location": if err := awsRestjson1_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "Model": if value != nil { jtv, ok := value.(string) @@ -17261,6 +17539,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } + case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -17269,6 +17548,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SerialNumber = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -17277,6 +17557,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SiteId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17285,10 +17566,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.State = types.DeviceState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17297,6 +17580,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = ptr.String(jtv) } + case "Vendor": if value != nil { jtv, ok := value.(string) @@ -17305,6 +17589,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Vendor = ptr.String(jtv) } + default: _, _ = key, value @@ -17374,6 +17659,7 @@ func awsRestjson1_deserializeDocumentEdgeOverride(v **types.EdgeOverride, value if err := awsRestjson1_deserializeDocumentEdgeSetList(&sv.EdgeSets, value); err != nil { return err } + case "UseEdge": if value != nil { jtv, ok := value.(string) @@ -17382,6 +17668,7 @@ func awsRestjson1_deserializeDocumentEdgeOverride(v **types.EdgeOverride, value } sv.UseEdge = ptr.String(jtv) } + default: _, _ = key, value @@ -17568,6 +17855,7 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17576,6 +17864,7 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.Description = ptr.String(jtv) } + case "GlobalNetworkArn": if value != nil { jtv, ok := value.(string) @@ -17584,6 +17873,7 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.GlobalNetworkArn = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17592,6 +17882,7 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.GlobalNetworkId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17600,10 +17891,12 @@ func awsRestjson1_deserializeDocumentGlobalNetwork(v **types.GlobalNetwork, valu } sv.State = types.GlobalNetworkState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17677,6 +17970,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -17689,6 +17983,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17724,6 +18019,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err if err := awsRestjson1_deserializeDocumentBandwidth(&sv.Bandwidth, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -17739,6 +18035,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17747,6 +18044,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Description = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17755,6 +18053,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkArn": if value != nil { jtv, ok := value.(string) @@ -17763,6 +18062,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.LinkArn = ptr.String(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -17771,6 +18071,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.LinkId = ptr.String(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -17779,6 +18080,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Provider = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -17787,6 +18089,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.SiteId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17795,10 +18098,12 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.State = types.LinkState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17807,6 +18112,7 @@ func awsRestjson1_deserializeDocumentLink(v **types.Link, value interface{}) err } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -17846,6 +18152,7 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -17854,6 +18161,7 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkAssociationState": if value != nil { jtv, ok := value.(string) @@ -17862,6 +18170,7 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.LinkAssociationState = types.LinkAssociationState(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -17870,6 +18179,7 @@ func awsRestjson1_deserializeDocumentLinkAssociation(v **types.LinkAssociation, } sv.LinkId = ptr.String(jtv) } + default: _, _ = key, value @@ -17977,6 +18287,7 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Address = ptr.String(jtv) } + case "Latitude": if value != nil { jtv, ok := value.(string) @@ -17985,6 +18296,7 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Latitude = ptr.String(jtv) } + case "Longitude": if value != nil { jtv, ok := value.(string) @@ -17993,6 +18305,7 @@ func awsRestjson1_deserializeDocumentLocation(v **types.Location, value interfac } sv.Longitude = ptr.String(jtv) } + default: _, _ = key, value @@ -18032,6 +18345,7 @@ func awsRestjson1_deserializeDocumentNetworkFunctionGroup(v **types.NetworkFunct } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18105,6 +18419,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.AccountId = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -18113,6 +18428,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.AwsRegion = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -18121,6 +18437,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.CoreNetworkId = ptr.String(jtv) } + case "Definition": if value != nil { jtv, ok := value.(string) @@ -18129,6 +18446,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Definition = ptr.String(jtv) } + case "DefinitionTimestamp": if value != nil { switch jtv := value.(type) { @@ -18144,10 +18462,12 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } } + case "Metadata": if err := awsRestjson1_deserializeDocumentNetworkResourceMetadataMap(&sv.Metadata, value); err != nil { return err } + case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -18156,6 +18476,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.RegisteredGatewayArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18164,6 +18485,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18172,6 +18494,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18180,10 +18503,12 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.ResourceType = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18227,6 +18552,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceCount(v **types.NetworkResou } sv.Count = ptr.Int32(int32(i64)) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18235,6 +18561,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceCount(v **types.NetworkResou } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -18378,6 +18705,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.Definition = ptr.String(jtv) } + case "IsMiddlebox": if value != nil { jtv, ok := value.(bool) @@ -18386,6 +18714,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.IsMiddlebox = jtv } + case "NameTag": if value != nil { jtv, ok := value.(string) @@ -18394,6 +18723,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.NameTag = ptr.String(jtv) } + case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -18402,6 +18732,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.RegisteredGatewayArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18410,6 +18741,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.ResourceArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18418,6 +18750,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceSummary(v **types.NetworkRes } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -18457,10 +18790,12 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.DestinationCidrBlock = ptr.String(jtv) } + case "Destinations": if err := awsRestjson1_deserializeDocumentNetworkRouteDestinationList(&sv.Destinations, value); err != nil { return err } + case "PrefixListId": if value != nil { jtv, ok := value.(string) @@ -18469,6 +18804,7 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.PrefixListId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -18477,6 +18813,7 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.State = types.RouteState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18485,6 +18822,7 @@ func awsRestjson1_deserializeDocumentNetworkRoute(v **types.NetworkRoute, value } sv.Type = types.RouteType(jtv) } + default: _, _ = key, value @@ -18524,6 +18862,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.CoreNetworkAttachmentId = ptr.String(jtv) } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -18532,6 +18871,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.EdgeLocation = ptr.String(jtv) } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -18540,6 +18880,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.NetworkFunctionGroupName = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18548,6 +18889,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18556,6 +18898,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.ResourceType = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -18564,6 +18907,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.SegmentName = ptr.String(jtv) } + case "TransitGatewayAttachmentId": if value != nil { jtv, ok := value.(string) @@ -18572,6 +18916,7 @@ func awsRestjson1_deserializeDocumentNetworkRouteDestination(v **types.NetworkRo } sv.TransitGatewayAttachmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -18679,6 +19024,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.AccountId = ptr.String(jtv) } + case "Address": if value != nil { jtv, ok := value.(string) @@ -18687,6 +19033,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.Address = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -18695,6 +19042,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.AwsRegion = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -18703,10 +19051,12 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.CoreNetworkId = ptr.String(jtv) } + case "Health": if err := awsRestjson1_deserializeDocumentConnectionHealth(&sv.Health, value); err != nil { return err } + case "RegisteredGatewayArn": if value != nil { jtv, ok := value.(string) @@ -18715,6 +19065,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.RegisteredGatewayArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18723,6 +19074,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -18731,6 +19083,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -18739,6 +19092,7 @@ func awsRestjson1_deserializeDocumentNetworkTelemetry(v **types.NetworkTelemetry } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -18808,6 +19162,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt if err := awsRestjson1_deserializeDocumentAccountStatusList(&sv.AccountStatusList, value); err != nil { return err } + case "OrganizationAwsServiceAccessStatus": if value != nil { jtv, ok := value.(string) @@ -18816,6 +19171,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.OrganizationAwsServiceAccessStatus = ptr.String(jtv) } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -18824,6 +19180,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.OrganizationId = ptr.String(jtv) } + case "SLRDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -18832,6 +19189,7 @@ func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationSt } sv.SLRDeploymentStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -18871,10 +19229,12 @@ func awsRestjson1_deserializeDocumentPathComponent(v **types.PathComponent, valu } sv.DestinationCidrBlock = ptr.String(jtv) } + case "Resource": if err := awsRestjson1_deserializeDocumentNetworkResourceSummary(&sv.Resource, value); err != nil { return err } + case "Sequence": if value != nil { jtv, ok := value.(json.Number) @@ -18887,6 +19247,7 @@ func awsRestjson1_deserializeDocumentPathComponent(v **types.PathComponent, valu } sv.Sequence = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18960,6 +19321,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.CoreNetworkArn = ptr.String(jtv) } + case "CoreNetworkId": if value != nil { jtv, ok := value.(string) @@ -18968,6 +19330,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.CoreNetworkId = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18983,6 +19346,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } } + case "EdgeLocation": if value != nil { jtv, ok := value.(string) @@ -18991,10 +19355,12 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": if err := awsRestjson1_deserializeDocumentPeeringErrorList(&sv.LastModificationErrors, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -19003,6 +19369,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.OwnerAccountId = ptr.String(jtv) } + case "PeeringId": if value != nil { jtv, ok := value.(string) @@ -19011,6 +19378,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.PeeringId = ptr.String(jtv) } + case "PeeringType": if value != nil { jtv, ok := value.(string) @@ -19019,6 +19387,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.PeeringType = types.PeeringType(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19027,6 +19396,7 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.ResourceArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -19035,10 +19405,12 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ } sv.State = types.PeeringState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19078,6 +19450,7 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.Code = types.PeeringErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -19086,10 +19459,12 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.Message = ptr.String(jtv) } + case "MissingPermissionsContext": if err := awsRestjson1_deserializeDocumentPermissionsErrorContext(&sv.MissingPermissionsContext, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19098,6 +19473,7 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.RequestId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -19106,6 +19482,7 @@ func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19213,6 +19590,7 @@ func awsRestjson1_deserializeDocumentPermissionsErrorContext(v **types.Permissio } sv.MissingPermission = ptr.String(jtv) } + default: _, _ = key, value @@ -19256,6 +19634,7 @@ func awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(v **type } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -19264,10 +19643,12 @@ func awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(v **type } sv.NetworkFunctionGroupName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19311,6 +19692,7 @@ func awsRestjson1_deserializeDocumentProposedSegmentChange(v **types.ProposedSeg } sv.AttachmentPolicyRuleNumber = ptr.Int32(int32(i64)) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -19319,10 +19701,12 @@ func awsRestjson1_deserializeDocumentProposedSegmentChange(v **types.ProposedSeg } sv.SegmentName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19398,6 +19782,7 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.From = ptr.String(jtv) } + case "To": if value != nil { jtv, ok := value.(string) @@ -19406,6 +19791,7 @@ func awsRestjson1_deserializeDocumentRelationship(v **types.Relationship, value } sv.To = ptr.String(jtv) } + default: _, _ = key, value @@ -19475,6 +19861,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc if err := awsRestjson1_deserializeDocumentExceptionContextMap(&sv.Context, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19483,6 +19870,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -19491,6 +19879,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19499,6 +19888,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -19534,10 +19924,12 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu if err := awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(&sv.Destination, value); err != nil { return err } + case "ForwardPath": if err := awsRestjson1_deserializeDocumentRouteAnalysisPath(&sv.ForwardPath, value); err != nil { return err } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -19546,6 +19938,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.GlobalNetworkId = ptr.String(jtv) } + case "IncludeReturnPath": if value != nil { jtv, ok := value.(bool) @@ -19554,6 +19947,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.IncludeReturnPath = jtv } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -19562,10 +19956,12 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.OwnerAccountId = ptr.String(jtv) } + case "ReturnPath": if err := awsRestjson1_deserializeDocumentRouteAnalysisPath(&sv.ReturnPath, value); err != nil { return err } + case "RouteAnalysisId": if value != nil { jtv, ok := value.(string) @@ -19574,10 +19970,12 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.RouteAnalysisId = ptr.String(jtv) } + case "Source": if err := awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(&sv.Source, value); err != nil { return err } + case "StartTimestamp": if value != nil { switch jtv := value.(type) { @@ -19593,6 +19991,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19601,6 +20000,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.Status = types.RouteAnalysisStatus(jtv) } + case "UseMiddleboxes": if value != nil { jtv, ok := value.(bool) @@ -19609,6 +20009,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysis(v **types.RouteAnalysis, valu } sv.UseMiddleboxes = jtv } + default: _, _ = key, value @@ -19648,10 +20049,12 @@ func awsRestjson1_deserializeDocumentRouteAnalysisCompletion(v **types.RouteAnal } sv.ReasonCode = types.RouteAnalysisCompletionReasonCode(jtv) } + case "ReasonContext": if err := awsRestjson1_deserializeDocumentReasonContextMap(&sv.ReasonContext, value); err != nil { return err } + case "ResultCode": if value != nil { jtv, ok := value.(string) @@ -19660,6 +20063,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysisCompletion(v **types.RouteAnal } sv.ResultCode = types.RouteAnalysisCompletionResultCode(jtv) } + default: _, _ = key, value @@ -19699,6 +20103,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.IpAddress = ptr.String(jtv) } + case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -19707,6 +20112,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.TransitGatewayArn = ptr.String(jtv) } + case "TransitGatewayAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -19715,6 +20121,7 @@ func awsRestjson1_deserializeDocumentRouteAnalysisEndpointOptions(v **types.Rout } sv.TransitGatewayAttachmentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19750,10 +20157,12 @@ func awsRestjson1_deserializeDocumentRouteAnalysisPath(v **types.RouteAnalysisPa if err := awsRestjson1_deserializeDocumentRouteAnalysisCompletion(&sv.CompletionStatus, value); err != nil { return err } + case "Path": if err := awsRestjson1_deserializeDocumentPathComponentList(&sv.Path, value); err != nil { return err } + default: _, _ = key, value @@ -19793,6 +20202,7 @@ func awsRestjson1_deserializeDocumentServiceInsertionAction(v **types.ServiceIns } sv.Action = types.SegmentActionServiceInsertion(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -19801,14 +20211,17 @@ func awsRestjson1_deserializeDocumentServiceInsertionAction(v **types.ServiceIns } sv.Mode = types.SendViaMode(jtv) } + case "Via": if err := awsRestjson1_deserializeDocumentVia(&sv.Via, value); err != nil { return err } + case "WhenSentTo": if err := awsRestjson1_deserializeDocumentWhenSentTo(&sv.WhenSentTo, value); err != nil { return err } + default: _, _ = key, value @@ -19878,10 +20291,12 @@ func awsRestjson1_deserializeDocumentServiceInsertionSegments(v **types.ServiceI if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SendTo, value); err != nil { return err } + case "SendVia": if err := awsRestjson1_deserializeDocumentConstrainedStringList(&sv.SendVia, value); err != nil { return err } + default: _, _ = key, value @@ -19921,6 +20336,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19929,6 +20345,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -19937,6 +20354,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -19945,6 +20363,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -19953,6 +20372,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -19999,6 +20419,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20007,6 +20428,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Description = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -20015,10 +20437,12 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.GlobalNetworkId = ptr.String(jtv) } + case "Location": if err := awsRestjson1_deserializeDocumentLocation(&sv.Location, value); err != nil { return err } + case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -20027,6 +20451,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteArn = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -20035,6 +20460,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -20043,10 +20469,12 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.State = types.SiteState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -20116,6 +20544,7 @@ func awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(v **types.SiteToSit if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + case "VpnConnectionArn": if value != nil { jtv, ok := value.(string) @@ -20124,6 +20553,7 @@ func awsRestjson1_deserializeDocumentSiteToSiteVpnAttachment(v **types.SiteToSit } sv.VpnConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20199,6 +20629,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -20207,6 +20638,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -20280,6 +20712,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -20292,6 +20725,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -20331,6 +20765,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.DeviceId = ptr.String(jtv) } + case "GlobalNetworkId": if value != nil { jtv, ok := value.(string) @@ -20339,6 +20774,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.GlobalNetworkId = ptr.String(jtv) } + case "LinkId": if value != nil { jtv, ok := value.(string) @@ -20347,6 +20783,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.LinkId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -20355,6 +20792,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.State = types.TransitGatewayConnectPeerAssociationState(jtv) } + case "TransitGatewayConnectPeerArn": if value != nil { jtv, ok := value.(string) @@ -20363,6 +20801,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayConnectPeerAssociation(v **ty } sv.TransitGatewayConnectPeerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20432,6 +20871,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate if err := awsRestjson1_deserializeDocumentPeering(&sv.Peering, value); err != nil { return err } + case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -20440,6 +20880,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate } sv.TransitGatewayArn = ptr.String(jtv) } + case "TransitGatewayPeeringAttachmentId": if value != nil { jtv, ok := value.(string) @@ -20448,6 +20889,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayPeering(v **types.TransitGate } sv.TransitGatewayPeeringAttachmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -20487,10 +20929,12 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistration(v **types.Transi } sv.GlobalNetworkId = ptr.String(jtv) } + case "State": if err := awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(&sv.State, value); err != nil { return err } + case "TransitGatewayArn": if value != nil { jtv, ok := value.(string) @@ -20499,6 +20943,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistration(v **types.Transi } sv.TransitGatewayArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20572,6 +21017,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(v **t } sv.Code = types.TransitGatewayRegistrationState(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20580,6 +21026,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRegistrationStateReason(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20615,6 +21062,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + case "PeeringId": if value != nil { jtv, ok := value.(string) @@ -20623,6 +21071,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type } sv.PeeringId = ptr.String(jtv) } + case "TransitGatewayRouteTableArn": if value != nil { jtv, ok := value.(string) @@ -20631,6 +21080,7 @@ func awsRestjson1_deserializeDocumentTransitGatewayRouteTableAttachment(v **type } sv.TransitGatewayRouteTableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20666,6 +21116,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -20674,6 +21125,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -20682,6 +21134,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -20721,6 +21174,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20729,6 +21183,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -20798,10 +21253,12 @@ func awsRestjson1_deserializeDocumentVia(v **types.Via, value interface{}) error if err := awsRestjson1_deserializeDocumentNetworkFunctionGroupList(&sv.NetworkFunctionGroups, value); err != nil { return err } + case "WithEdgeOverrides": if err := awsRestjson1_deserializeDocumentWithEdgeOverridesList(&sv.WithEdgeOverrides, value); err != nil { return err } + default: _, _ = key, value @@ -20837,14 +21294,17 @@ func awsRestjson1_deserializeDocumentVpcAttachment(v **types.VpcAttachment, valu if err := awsRestjson1_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + case "Options": if err := awsRestjson1_deserializeDocumentVpcOptions(&sv.Options, value); err != nil { return err } + case "SubnetArns": if err := awsRestjson1_deserializeDocumentSubnetArnList(&sv.SubnetArns, value); err != nil { return err } + default: _, _ = key, value @@ -20884,6 +21344,7 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.ApplianceModeSupport = jtv } + case "Ipv6Support": if value != nil { jtv, ok := value.(bool) @@ -20892,6 +21353,7 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.Ipv6Support = jtv } + default: _, _ = key, value @@ -20927,6 +21389,7 @@ func awsRestjson1_deserializeDocumentWhenSentTo(v **types.WhenSentTo, value inte if err := awsRestjson1_deserializeDocumentWhenSentToSegmentsList(&sv.WhenSentToSegmentsList, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/networkmonitor/deserializers.go b/service/networkmonitor/deserializers.go index 110132c95a3..2f7d237c83a 100644 --- a/service/networkmonitor/deserializers.go +++ b/service/networkmonitor/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.AggregationPeriod = ptr.Int64(i64) } + case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -202,6 +203,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } + case "monitorName": if value != nil { jtv, ok := value.(string) @@ -210,6 +212,7 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.MonitorName = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -218,10 +221,12 @@ func awsRestjson1_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutp } sv.State = types.MonitorState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -392,6 +397,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.AddressFamily = types.AddressFamily(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -407,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } } + case "destination": if value != nil { jtv, ok := value.(string) @@ -415,6 +422,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.Destination = ptr.String(jtv) } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -427,6 +435,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -442,6 +451,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } } + case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -454,6 +464,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.PacketSize = ptr.Int32(int32(i64)) } + case "probeArn": if value != nil { jtv, ok := value.(string) @@ -462,6 +473,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.ProbeArn = ptr.String(jtv) } + case "probeId": if value != nil { jtv, ok := value.(string) @@ -470,6 +482,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.ProbeId = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -478,6 +491,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.Protocol = types.Protocol(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -486,6 +500,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.SourceArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -494,10 +509,12 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.State = types.ProbeState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -506,6 +523,7 @@ func awsRestjson1_deserializeOpDocumentCreateProbeOutput(v **CreateProbeOutput, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -880,6 +898,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.AggregationPeriod = ptr.Int64(i64) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -895,6 +914,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -910,6 +930,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } } + case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -918,6 +939,7 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorArn = ptr.String(jtv) } + case "monitorName": if value != nil { jtv, ok := value.(string) @@ -926,10 +948,12 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.MonitorName = ptr.String(jtv) } + case "probes": if err := awsRestjson1_deserializeDocumentProbeList(&sv.Probes, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -938,10 +962,12 @@ func awsRestjson1_deserializeOpDocumentGetMonitorOutput(v **GetMonitorOutput, va } sv.State = types.MonitorState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1109,6 +1135,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.AddressFamily = types.AddressFamily(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1124,6 +1151,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } } + case "destination": if value != nil { jtv, ok := value.(string) @@ -1132,6 +1160,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.Destination = ptr.String(jtv) } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -1144,6 +1173,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -1159,6 +1189,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } } + case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -1171,6 +1202,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.PacketSize = ptr.Int32(int32(i64)) } + case "probeArn": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1211,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.ProbeArn = ptr.String(jtv) } + case "probeId": if value != nil { jtv, ok := value.(string) @@ -1187,6 +1220,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.ProbeId = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -1195,6 +1229,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.Protocol = types.Protocol(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -1203,6 +1238,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.SourceArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1211,10 +1247,12 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.State = types.ProbeState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -1223,6 +1261,7 @@ func awsRestjson1_deserializeOpDocumentGetProbeOutput(v **GetProbeOutput, value } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1383,6 +1422,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput if err := awsRestjson1_deserializeDocumentMonitorList(&sv.Monitors, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1391,6 +1431,7 @@ func awsRestjson1_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1557,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1937,6 +1979,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.AggregationPeriod = ptr.Int64(i64) } + case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -1945,6 +1988,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorArn = ptr.String(jtv) } + case "monitorName": if value != nil { jtv, ok := value.(string) @@ -1953,6 +1997,7 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.MonitorName = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1961,10 +2006,12 @@ func awsRestjson1_deserializeOpDocumentUpdateMonitorOutput(v **UpdateMonitorOutp } sv.State = types.MonitorState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2135,6 +2182,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.AddressFamily = types.AddressFamily(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2150,6 +2198,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } } + case "destination": if value != nil { jtv, ok := value.(string) @@ -2158,6 +2207,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.Destination = ptr.String(jtv) } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -2170,6 +2220,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -2185,6 +2236,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } } + case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -2197,6 +2249,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.PacketSize = ptr.Int32(int32(i64)) } + case "probeArn": if value != nil { jtv, ok := value.(string) @@ -2205,6 +2258,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.ProbeArn = ptr.String(jtv) } + case "probeId": if value != nil { jtv, ok := value.(string) @@ -2213,6 +2267,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.ProbeId = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -2221,6 +2276,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.Protocol = types.Protocol(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -2229,6 +2285,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.SourceArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2237,10 +2294,12 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.State = types.ProbeState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2249,6 +2308,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProbeOutput(v **UpdateProbeOutput, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -2540,6 +2600,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2579,6 +2640,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2618,6 +2680,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2695,6 +2758,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.AggregationPeriod = ptr.Int64(i64) } + case "monitorArn": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2767,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorArn = ptr.String(jtv) } + case "monitorName": if value != nil { jtv, ok := value.(string) @@ -2711,6 +2776,7 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.MonitorName = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2719,10 +2785,12 @@ func awsRestjson1_deserializeDocumentMonitorSummary(v **types.MonitorSummary, va } sv.State = types.MonitorState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2762,6 +2830,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.AddressFamily = types.AddressFamily(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2777,6 +2846,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } } + case "destination": if value != nil { jtv, ok := value.(string) @@ -2785,6 +2855,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.Destination = ptr.String(jtv) } + case "destinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -2797,6 +2868,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "modifiedAt": if value != nil { switch jtv := value.(type) { @@ -2812,6 +2884,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } } + case "packetSize": if value != nil { jtv, ok := value.(json.Number) @@ -2824,6 +2897,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.PacketSize = ptr.Int32(int32(i64)) } + case "probeArn": if value != nil { jtv, ok := value.(string) @@ -2832,6 +2906,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.ProbeArn = ptr.String(jtv) } + case "probeId": if value != nil { jtv, ok := value.(string) @@ -2840,6 +2915,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.ProbeId = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -2848,6 +2924,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.Protocol = types.Protocol(jtv) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -2856,6 +2933,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.SourceArn = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2864,10 +2942,12 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.State = types.ProbeState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -2876,6 +2956,7 @@ func awsRestjson1_deserializeDocumentProbe(v **types.Probe, value interface{}) e } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -2949,6 +3030,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2988,6 +3070,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3063,6 +3146,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3102,6 +3186,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/oam/deserializers.go b/service/oam/deserializers.go index 761ce096a5f..3b08f39fa47 100644 --- a/service/oam/deserializers.go +++ b/service/oam/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -195,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -203,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.Label = ptr.String(jtv) } + case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -211,14 +214,17 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.LabelTemplate = ptr.String(jtv) } + case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -227,10 +233,12 @@ func awsRestjson1_deserializeOpDocumentCreateLinkOutput(v **CreateLinkOutput, va } sv.SinkArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -398,6 +406,7 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -406,6 +415,7 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -414,10 +424,12 @@ func awsRestjson1_deserializeOpDocumentCreateSinkOutput(v **CreateSinkOutput, va } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -779,6 +791,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -787,6 +800,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -795,6 +809,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.Label = ptr.String(jtv) } + case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -803,14 +818,17 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.LabelTemplate = ptr.String(jtv) } + case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -819,10 +837,12 @@ func awsRestjson1_deserializeOpDocumentGetLinkOutput(v **GetLinkOutput, value in } sv.SinkArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -987,6 +1007,7 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -995,6 +1016,7 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1003,10 +1025,12 @@ func awsRestjson1_deserializeOpDocumentGetSinkOutput(v **GetSinkOutput, value in } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1171,6 +1195,7 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.Policy = ptr.String(jtv) } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1204,7 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.SinkArn = ptr.String(jtv) } + case "SinkId": if value != nil { jtv, ok := value.(string) @@ -1187,6 +1213,7 @@ func awsRestjson1_deserializeOpDocumentGetSinkPolicyOutput(v **GetSinkPolicyOutp } sv.SinkId = ptr.String(jtv) } + default: _, _ = key, value @@ -1347,6 +1374,7 @@ func awsRestjson1_deserializeOpDocumentListAttachedLinksOutput(v **ListAttachedL if err := awsRestjson1_deserializeDocumentListAttachedLinksItems(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1355,6 +1383,7 @@ func awsRestjson1_deserializeOpDocumentListAttachedLinksOutput(v **ListAttachedL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1512,6 +1541,7 @@ func awsRestjson1_deserializeOpDocumentListLinksOutput(v **ListLinksOutput, valu if err := awsRestjson1_deserializeDocumentListLinksItems(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1520,6 +1550,7 @@ func awsRestjson1_deserializeOpDocumentListLinksOutput(v **ListLinksOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1677,6 +1708,7 @@ func awsRestjson1_deserializeOpDocumentListSinksOutput(v **ListSinksOutput, valu if err := awsRestjson1_deserializeDocumentListSinksItems(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1685,6 +1717,7 @@ func awsRestjson1_deserializeOpDocumentListSinksOutput(v **ListSinksOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1839,6 +1872,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2003,6 +2037,7 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.Policy = ptr.String(jtv) } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -2011,6 +2046,7 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.SinkArn = ptr.String(jtv) } + case "SinkId": if value != nil { jtv, ok := value.(string) @@ -2019,6 +2055,7 @@ func awsRestjson1_deserializeOpDocumentPutSinkPolicyOutput(v **PutSinkPolicyOutp } sv.SinkId = ptr.String(jtv) } + default: _, _ = key, value @@ -2368,6 +2405,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2376,6 +2414,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -2384,6 +2423,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.Label = ptr.String(jtv) } + case "LabelTemplate": if value != nil { jtv, ok := value.(string) @@ -2392,14 +2432,17 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.LabelTemplate = ptr.String(jtv) } + case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -2408,10 +2451,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLinkOutput(v **UpdateLinkOutput, va } sv.SinkArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMapOutput(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2835,6 +2880,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2889,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2882,6 +2929,7 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2890,6 +2938,7 @@ func awsRestjson1_deserializeDocumentInternalServiceFault(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2929,6 +2978,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2937,6 +2987,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2972,10 +3023,12 @@ func awsRestjson1_deserializeDocumentLinkConfiguration(v **types.LinkConfigurati if err := awsRestjson1_deserializeDocumentLogGroupConfiguration(&sv.LogGroupConfiguration, value); err != nil { return err } + case "MetricConfiguration": if err := awsRestjson1_deserializeDocumentMetricConfiguration(&sv.MetricConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3015,6 +3068,7 @@ func awsRestjson1_deserializeDocumentListAttachedLinksItem(v **types.ListAttache } sv.Label = ptr.String(jtv) } + case "LinkArn": if value != nil { jtv, ok := value.(string) @@ -3023,10 +3077,12 @@ func awsRestjson1_deserializeDocumentListAttachedLinksItem(v **types.ListAttache } sv.LinkArn = ptr.String(jtv) } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -3100,6 +3156,7 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3108,6 +3165,7 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Id = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -3116,10 +3174,12 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.Label = ptr.String(jtv) } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypesOutput(&sv.ResourceTypes, value); err != nil { return err } + case "SinkArn": if value != nil { jtv, ok := value.(string) @@ -3128,6 +3188,7 @@ func awsRestjson1_deserializeDocumentListLinksItem(v **types.ListLinksItem, valu } sv.SinkArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3201,6 +3262,7 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3209,6 +3271,7 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3217,6 +3280,7 @@ func awsRestjson1_deserializeDocumentListSinksItem(v **types.ListSinksItem, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3290,6 +3354,7 @@ func awsRestjson1_deserializeDocumentLogGroupConfiguration(v **types.LogGroupCon } sv.Filter = ptr.String(jtv) } + default: _, _ = key, value @@ -3329,6 +3394,7 @@ func awsRestjson1_deserializeDocumentMetricConfiguration(v **types.MetricConfigu } sv.Filter = ptr.String(jtv) } + default: _, _ = key, value @@ -3368,6 +3434,7 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3376,6 +3443,7 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3415,6 +3483,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3423,6 +3492,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3498,6 +3568,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.AmznErrorType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3506,6 +3577,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3581,6 +3653,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3620,6 +3693,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/omics/deserializers.go b/service/omics/deserializers.go index 2160d9d3927..8a3b542c4dd 100644 --- a/service/omics/deserializers.go +++ b/service/omics/deserializers.go @@ -305,6 +305,7 @@ func awsRestjson1_deserializeOpDocumentAcceptShareOutput(v **AcceptShareOutput, } sv.Status = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -471,6 +472,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteReadSetOutput(v **BatchDeleteR if err := awsRestjson1_deserializeDocumentReadSetBatchErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -962,6 +964,7 @@ func awsRestjson1_deserializeOpDocumentCompleteMultipartReadSetUploadOutput(v ** } sv.ReadSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -1139,6 +1142,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1147,6 +1151,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1155,10 +1160,12 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1167,6 +1174,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.Status = types.StoreStatus(jtv) } + case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -1175,10 +1183,12 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.StoreFormat = types.StoreFormat(jtv) } + case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -1187,6 +1197,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreOutput(v **CreateAnn } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -1364,6 +1375,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1372,6 +1384,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1380,6 +1393,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1388,6 +1402,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.Status = types.VersionStatus(jtv) } + case "storeId": if value != nil { jtv, ok := value.(string) @@ -1396,6 +1411,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.StoreId = ptr.String(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -1404,10 +1420,12 @@ func awsRestjson1_deserializeOpDocumentCreateAnnotationStoreVersionOutput(v **Cr } sv.VersionName = ptr.String(jtv) } + case "versionOptions": if err := awsRestjson1_deserializeDocumentVersionOptions(&sv.VersionOptions, value); err != nil { return err } + default: _, _ = key, value @@ -1588,6 +1606,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1596,6 +1615,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.Description = ptr.String(jtv) } + case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -1604,6 +1624,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.GeneratedFrom = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1612,6 +1633,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.Name = ptr.String(jtv) } + case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -1620,6 +1642,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.ReferenceArn = ptr.String(jtv) } + case "sampleId": if value != nil { jtv, ok := value.(string) @@ -1628,6 +1651,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SampleId = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -1636,6 +1660,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SequenceStoreId = ptr.String(jtv) } + case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -1644,6 +1669,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SourceFileType = types.FileType(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -1652,10 +1678,12 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.SubjectId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -1664,6 +1692,7 @@ func awsRestjson1_deserializeOpDocumentCreateMultipartReadSetUploadOutput(v **Cr } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -1834,6 +1863,7 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1846,6 +1876,7 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1854,6 +1885,7 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1862,6 +1894,7 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1870,10 +1903,12 @@ func awsRestjson1_deserializeOpDocumentCreateReferenceStoreOutput(v **CreateRefe } sv.Name = ptr.String(jtv) } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2050,6 +2085,7 @@ func awsRestjson1_deserializeOpDocumentCreateRunGroupOutput(v **CreateRunGroupOu } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2058,10 +2094,12 @@ func awsRestjson1_deserializeOpDocumentCreateRunGroupOutput(v **CreateRunGroupOu } sv.Id = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2232,6 +2270,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2244,6 +2283,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2252,6 +2292,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Description = ptr.String(jtv) } + case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -2260,6 +2301,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } + case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -2268,6 +2310,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.FallbackLocation = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2276,6 +2319,7 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2284,10 +2328,12 @@ func awsRestjson1_deserializeOpDocumentCreateSequenceStoreOutput(v **CreateSeque } sv.Name = ptr.String(jtv) } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2461,6 +2507,7 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.ShareId = ptr.String(jtv) } + case "shareName": if value != nil { jtv, ok := value.(string) @@ -2469,6 +2516,7 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.ShareName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2477,6 +2525,7 @@ func awsRestjson1_deserializeOpDocumentCreateShareOutput(v **CreateShareOutput, } sv.Status = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -2654,6 +2703,7 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2662,6 +2712,7 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2670,10 +2721,12 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2682,6 +2735,7 @@ func awsRestjson1_deserializeOpDocumentCreateVariantStoreOutput(v **CreateVarian } sv.Status = types.StoreStatus(jtv) } + default: _, _ = key, value @@ -2858,6 +2912,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2866,6 +2921,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2874,10 +2930,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.Status = types.WorkflowStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3048,6 +3106,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnnotationStoreOutput(v **DeleteAnn } sv.Status = types.StoreStatus(jtv) } + default: _, _ = key, value @@ -3214,6 +3273,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnnotationStoreVersionsOutput(v **D if err := awsRestjson1_deserializeDocumentVersionDeleteErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -3935,6 +3995,7 @@ func awsRestjson1_deserializeOpDocumentDeleteShareOutput(v **DeleteShareOutput, } sv.Status = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -4105,6 +4166,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVariantStoreOutput(v **DeleteVarian } sv.Status = types.StoreStatus(jtv) } + default: _, _ = key, value @@ -4383,6 +4445,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -4395,6 +4458,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4407,6 +4471,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.CreationTime = ptr.Time(t) } + case "destinationName": if value != nil { jtv, ok := value.(string) @@ -4415,10 +4480,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.DestinationName = ptr.String(jtv) } + case "formatOptions": if err := awsRestjson1_deserializeDocumentFormatOptions(&sv.FormatOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4427,10 +4494,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.Id = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentAnnotationImportItemDetails(&sv.Items, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4439,6 +4508,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.RoleArn = ptr.String(jtv) } + case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -4447,6 +4517,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.RunLeftNormalization = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -4455,6 +4526,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.Status = types.JobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4463,6 +4535,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.StatusMessage = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4475,6 +4548,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.UpdateTime = ptr.Time(t) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -4483,6 +4557,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationImportJobOutput(v **GetAnnot } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -4654,6 +4729,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4662,6 +4738,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4670,6 +4747,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4678,6 +4756,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Name = ptr.String(jtv) } + case "numVersions": if value != nil { jtv, ok := value.(json.Number) @@ -4690,14 +4769,17 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.NumVersions = ptr.Int32(int32(i64)) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4706,6 +4788,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.Status = types.StoreStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4714,6 +4797,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StatusMessage = ptr.String(jtv) } + case "storeArn": if value != nil { jtv, ok := value.(string) @@ -4722,6 +4806,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreArn = ptr.String(jtv) } + case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -4730,10 +4815,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreFormat = types.StoreFormat(jtv) } + case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } + case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4746,10 +4833,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.StoreSizeBytes = ptr.Int64(i64) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4762,6 +4851,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreOutput(v **GetAnnotatio } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -4933,6 +5023,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4941,6 +5032,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4949,6 +5041,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4957,6 +5050,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4965,6 +5059,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.Status = types.VersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4973,6 +5068,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.StatusMessage = ptr.String(jtv) } + case "storeId": if value != nil { jtv, ok := value.(string) @@ -4981,10 +5077,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.StoreId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -4997,6 +5095,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.UpdateTime = ptr.Time(t) } + case "versionArn": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5104,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionArn = ptr.String(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -5013,10 +5113,12 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionName = ptr.String(jtv) } + case "versionOptions": if err := awsRestjson1_deserializeDocumentVersionOptions(&sv.VersionOptions, value); err != nil { return err } + case "versionSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -5029,6 +5131,7 @@ func awsRestjson1_deserializeOpDocumentGetAnnotationStoreVersionOutput(v **GetAn } sv.VersionSizeBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -5326,6 +5429,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5338,6 +5442,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5346,6 +5451,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.Id = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5354,10 +5460,12 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.SequenceStoreId = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentActivateReadSetSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5366,6 +5474,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.Status = types.ReadSetActivationJobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5374,6 +5483,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetActivationJobOutput(v **GetRead } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5548,6 +5658,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5560,6 +5671,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.CreationTime = ptr.Time(t) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -5568,6 +5680,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Destination = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5576,10 +5689,12 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Id = ptr.String(jtv) } + case "readSets": if err := awsRestjson1_deserializeDocumentExportReadSetDetailList(&sv.ReadSets, value); err != nil { return err } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5588,6 +5703,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5596,6 +5712,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.Status = types.ReadSetExportJobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5604,6 +5721,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetExportJobOutput(v **GetReadSetE } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5778,6 +5896,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -5790,6 +5909,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5798,6 +5918,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5806,6 +5927,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.RoleArn = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -5814,10 +5936,12 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.SequenceStoreId = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentImportReadSetSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5826,6 +5950,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.Status = types.ReadSetImportJobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5834,6 +5959,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetImportJobOutput(v **GetReadSetI } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6004,6 +6130,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Arn = ptr.String(jtv) } + case "creationJobId": if value != nil { jtv, ok := value.(string) @@ -6012,6 +6139,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationJobId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6024,6 +6152,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationTime = ptr.Time(t) } + case "creationType": if value != nil { jtv, ok := value.(string) @@ -6032,6 +6161,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.CreationType = types.CreationType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6040,14 +6170,17 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Description = ptr.String(jtv) } + case "etag": if err := awsRestjson1_deserializeDocumentETag(&sv.Etag, value); err != nil { return err } + case "files": if err := awsRestjson1_deserializeDocumentReadSetFiles(&sv.Files, value); err != nil { return err } + case "fileType": if value != nil { jtv, ok := value.(string) @@ -6056,6 +6189,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.FileType = types.FileType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6064,6 +6198,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6072,6 +6207,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Name = ptr.String(jtv) } + case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -6080,6 +6216,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.ReferenceArn = ptr.String(jtv) } + case "sampleId": if value != nil { jtv, ok := value.(string) @@ -6088,10 +6225,12 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SampleId = ptr.String(jtv) } + case "sequenceInformation": if err := awsRestjson1_deserializeDocumentSequenceInformation(&sv.SequenceInformation, value); err != nil { return err } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6100,6 +6239,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6108,6 +6248,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.Status = types.ReadSetStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6116,6 +6257,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.StatusMessage = ptr.String(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -6124,6 +6266,7 @@ func awsRestjson1_deserializeOpDocumentGetReadSetMetadataOutput(v **GetReadSetMe } sv.SubjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -6418,6 +6561,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6430,6 +6574,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6438,6 +6583,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.Id = ptr.String(jtv) } + case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6446,6 +6592,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.ReferenceStoreId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6454,10 +6601,12 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.RoleArn = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentImportReferenceSourceList(&sv.Sources, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6466,6 +6615,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.Status = types.ReferenceImportJobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6474,6 +6624,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceImportJobOutput(v **GetRefere } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -6644,6 +6795,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Arn = ptr.String(jtv) } + case "creationJobId": if value != nil { jtv, ok := value.(string) @@ -6652,6 +6804,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationJobId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6664,6 +6817,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationTime = ptr.Time(t) } + case "creationType": if value != nil { jtv, ok := value.(string) @@ -6672,6 +6826,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.CreationType = types.ReferenceCreationType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6680,10 +6835,12 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Description = ptr.String(jtv) } + case "files": if err := awsRestjson1_deserializeDocumentReferenceFiles(&sv.Files, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6692,6 +6849,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Id = ptr.String(jtv) } + case "md5": if value != nil { jtv, ok := value.(string) @@ -6700,6 +6858,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Md5 = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6708,6 +6867,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Name = ptr.String(jtv) } + case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -6716,6 +6876,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.ReferenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6724,6 +6885,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.Status = types.ReferenceStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -6736,6 +6898,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceMetadataOutput(v **GetReferen } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -6906,6 +7069,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -6918,6 +7082,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6926,6 +7091,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6934,6 +7100,7 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6942,10 +7109,12 @@ func awsRestjson1_deserializeOpDocumentGetReferenceStoreOutput(v **GetReferenceS } sv.Name = ptr.String(jtv) } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -7122,6 +7291,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Accelerators = types.Accelerators(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -7130,6 +7300,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7142,6 +7313,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.CreationTime = ptr.Time(t) } + case "definition": if value != nil { jtv, ok := value.(string) @@ -7150,6 +7322,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Definition = ptr.String(jtv) } + case "digest": if value != nil { jtv, ok := value.(string) @@ -7158,6 +7331,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Digest = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -7166,6 +7340,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.FailureReason = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7174,6 +7349,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Id = ptr.String(jtv) } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -7182,10 +7358,12 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.LogLevel = types.RunLogLevel(jtv) } + case "logLocation": if err := awsRestjson1_deserializeDocumentRunLogLocation(&sv.LogLocation, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7194,6 +7372,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Name = ptr.String(jtv) } + case "outputUri": if value != nil { jtv, ok := value.(string) @@ -7202,10 +7381,12 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.OutputUri = ptr.String(jtv) } + case "parameters": if err := awsRestjson1_deserializeDocumentRunParameters(&sv.Parameters, value); err != nil { return err } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -7218,10 +7399,12 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Priority = ptr.Int32(int32(i64)) } + case "resourceDigests": if err := awsRestjson1_deserializeDocumentRunResourceDigests(&sv.ResourceDigests, value); err != nil { return err } + case "retentionMode": if value != nil { jtv, ok := value.(string) @@ -7230,6 +7413,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RetentionMode = types.RunRetentionMode(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7238,6 +7422,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RoleArn = ptr.String(jtv) } + case "runGroupId": if value != nil { jtv, ok := value.(string) @@ -7246,6 +7431,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunGroupId = ptr.String(jtv) } + case "runId": if value != nil { jtv, ok := value.(string) @@ -7254,6 +7440,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunId = ptr.String(jtv) } + case "runOutputUri": if value != nil { jtv, ok := value.(string) @@ -7262,6 +7449,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.RunOutputUri = ptr.String(jtv) } + case "startedBy": if value != nil { jtv, ok := value.(string) @@ -7270,6 +7458,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StartedBy = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7282,6 +7471,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7290,6 +7480,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Status = types.RunStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7489,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StatusMessage = ptr.String(jtv) } + case "stopTime": if value != nil { jtv, ok := value.(string) @@ -7310,6 +7502,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StopTime = ptr.Time(t) } + case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -7322,6 +7515,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -7330,10 +7524,12 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.StorageType = types.StorageType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "uuid": if value != nil { jtv, ok := value.(string) @@ -7342,6 +7538,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.Uuid = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7350,6 +7547,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowId = ptr.String(jtv) } + case "workflowOwnerId": if value != nil { jtv, ok := value.(string) @@ -7358,6 +7556,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowOwnerId = ptr.String(jtv) } + case "workflowType": if value != nil { jtv, ok := value.(string) @@ -7366,6 +7565,7 @@ func awsRestjson1_deserializeOpDocumentGetRunOutput(v **GetRunOutput, value inte } sv.WorkflowType = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -7542,6 +7742,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7554,6 +7755,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7562,6 +7764,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Id = ptr.String(jtv) } + case "maxCpus": if value != nil { jtv, ok := value.(json.Number) @@ -7574,6 +7777,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxCpus = ptr.Int32(int32(i64)) } + case "maxDuration": if value != nil { jtv, ok := value.(json.Number) @@ -7586,6 +7790,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxDuration = ptr.Int32(int32(i64)) } + case "maxGpus": if value != nil { jtv, ok := value.(json.Number) @@ -7598,6 +7803,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxGpus = ptr.Int32(int32(i64)) } + case "maxRuns": if value != nil { jtv, ok := value.(json.Number) @@ -7610,6 +7816,7 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.MaxRuns = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7618,10 +7825,12 @@ func awsRestjson1_deserializeOpDocumentGetRunGroupOutput(v **GetRunGroupOutput, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7802,6 +8011,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Cpus = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -7814,6 +8024,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.CreationTime = ptr.Time(t) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -7822,6 +8033,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.FailureReason = ptr.String(jtv) } + case "gpus": if value != nil { jtv, ok := value.(json.Number) @@ -7834,6 +8046,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Gpus = ptr.Int32(int32(i64)) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -7842,6 +8055,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.InstanceType = ptr.String(jtv) } + case "logStream": if value != nil { jtv, ok := value.(string) @@ -7850,6 +8064,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.LogStream = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -7862,6 +8077,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Memory = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7870,6 +8086,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Name = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -7882,6 +8099,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7890,6 +8108,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.Status = types.TaskStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7898,6 +8117,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StatusMessage = ptr.String(jtv) } + case "stopTime": if value != nil { jtv, ok := value.(string) @@ -7910,6 +8130,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.StopTime = ptr.Time(t) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -7918,6 +8139,7 @@ func awsRestjson1_deserializeOpDocumentGetRunTaskOutput(v **GetRunTaskOutput, va } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -8088,6 +8310,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8100,6 +8323,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8108,6 +8332,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Description = ptr.String(jtv) } + case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -8116,6 +8341,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } + case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -8124,6 +8350,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.FallbackLocation = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8132,6 +8359,7 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8140,14 +8368,17 @@ func awsRestjson1_deserializeOpDocumentGetSequenceStoreOutput(v **GetSequenceSto } sv.Name = ptr.String(jtv) } + case "s3Access": if err := awsRestjson1_deserializeDocumentSequenceStoreS3Access(&sv.S3Access, value); err != nil { return err } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8317,6 +8548,7 @@ func awsRestjson1_deserializeOpDocumentGetShareOutput(v **GetShareOutput, value if err := awsRestjson1_deserializeDocumentShareDetails(&sv.Share, value); err != nil { return err } + default: _, _ = key, value @@ -8480,6 +8712,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -8492,6 +8725,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -8504,6 +8738,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.CreationTime = ptr.Time(t) } + case "destinationName": if value != nil { jtv, ok := value.(string) @@ -8512,6 +8747,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.DestinationName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8520,10 +8756,12 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.Id = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentVariantImportItemDetails(&sv.Items, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8532,6 +8770,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.RoleArn = ptr.String(jtv) } + case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -8540,6 +8779,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.RunLeftNormalization = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -8548,6 +8788,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.Status = types.JobStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8556,6 +8797,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.StatusMessage = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -8568,6 +8810,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantImportJobOutput(v **GetVariantI } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -8739,6 +8982,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -8747,6 +8991,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8755,6 +9000,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8763,14 +9009,17 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8779,6 +9028,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.Status = types.StoreStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8787,6 +9037,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StatusMessage = ptr.String(jtv) } + case "storeArn": if value != nil { jtv, ok := value.(string) @@ -8795,6 +9046,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StoreArn = ptr.String(jtv) } + case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -8807,10 +9059,12 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.StoreSizeBytes = ptr.Int64(i64) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -8823,6 +9077,7 @@ func awsRestjson1_deserializeOpDocumentGetVariantStoreOutput(v **GetVariantStore } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -8999,6 +9254,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Accelerators = types.Accelerators(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -9007,6 +9263,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -9019,6 +9276,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.CreationTime = ptr.Time(t) } + case "definition": if value != nil { jtv, ok := value.(string) @@ -9027,6 +9285,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Definition = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -9035,6 +9294,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Description = ptr.String(jtv) } + case "digest": if value != nil { jtv, ok := value.(string) @@ -9043,6 +9303,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Digest = ptr.String(jtv) } + case "engine": if value != nil { jtv, ok := value.(string) @@ -9051,6 +9312,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Engine = types.WorkflowEngine(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9059,6 +9321,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Id = ptr.String(jtv) } + case "main": if value != nil { jtv, ok := value.(string) @@ -9067,10 +9330,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Main = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentWorkflowMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9079,10 +9344,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Name = ptr.String(jtv) } + case "parameterTemplate": if err := awsRestjson1_deserializeDocumentWorkflowParameterTemplate(&sv.ParameterTemplate, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9091,6 +9358,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Status = types.WorkflowStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -9099,6 +9367,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StatusMessage = ptr.String(jtv) } + case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -9111,10 +9380,12 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -9123,6 +9394,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkflowOutput(v **GetWorkflowOutput, } sv.Type = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -9286,6 +9558,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationImportJobsOutput(v **ListAn if err := awsRestjson1_deserializeDocumentAnnotationImportJobItems(&sv.AnnotationImportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9294,6 +9567,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationImportJobsOutput(v **ListAn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9457,6 +9731,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoresOutput(v **ListAnnota if err := awsRestjson1_deserializeDocumentAnnotationStoreItems(&sv.AnnotationStores, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9465,6 +9740,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoresOutput(v **ListAnnota } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9628,6 +9904,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoreVersionsOutput(v **Lis if err := awsRestjson1_deserializeDocumentAnnotationStoreVersionItems(&sv.AnnotationStoreVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9636,6 +9913,7 @@ func awsRestjson1_deserializeOpDocumentListAnnotationStoreVersionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9812,10 +10090,12 @@ func awsRestjson1_deserializeOpDocumentListMultipartReadSetUploadsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "uploads": if err := awsRestjson1_deserializeDocumentMultipartReadSetUploadList(&sv.Uploads, value); err != nil { return err } + default: _, _ = key, value @@ -9982,6 +10262,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetActivationJobsOutput(v **ListR if err := awsRestjson1_deserializeDocumentActivateReadSetJobList(&sv.ActivationJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -9990,6 +10271,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetActivationJobsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10156,6 +10438,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetExportJobsOutput(v **ListReadS if err := awsRestjson1_deserializeDocumentExportReadSetJobDetailList(&sv.ExportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10164,6 +10447,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetExportJobsOutput(v **ListReadS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10330,6 +10614,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetImportJobsOutput(v **ListReadS if err := awsRestjson1_deserializeDocumentImportReadSetJobList(&sv.ImportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10338,6 +10623,7 @@ func awsRestjson1_deserializeOpDocumentListReadSetImportJobsOutput(v **ListReadS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10508,10 +10794,12 @@ func awsRestjson1_deserializeOpDocumentListReadSetsOutput(v **ListReadSetsOutput } sv.NextToken = ptr.String(jtv) } + case "readSets": if err := awsRestjson1_deserializeDocumentReadSetList(&sv.ReadSets, value); err != nil { return err } + default: _, _ = key, value @@ -10688,10 +10976,12 @@ func awsRestjson1_deserializeOpDocumentListReadSetUploadPartsOutput(v **ListRead } sv.NextToken = ptr.String(jtv) } + case "parts": if err := awsRestjson1_deserializeDocumentReadSetUploadPartList(&sv.Parts, value); err != nil { return err } + default: _, _ = key, value @@ -10858,6 +11148,7 @@ func awsRestjson1_deserializeOpDocumentListReferenceImportJobsOutput(v **ListRef if err := awsRestjson1_deserializeDocumentImportReferenceJobList(&sv.ImportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -10866,6 +11157,7 @@ func awsRestjson1_deserializeOpDocumentListReferenceImportJobsOutput(v **ListRef } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11036,10 +11328,12 @@ func awsRestjson1_deserializeOpDocumentListReferencesOutput(v **ListReferencesOu } sv.NextToken = ptr.String(jtv) } + case "references": if err := awsRestjson1_deserializeDocumentReferenceList(&sv.References, value); err != nil { return err } + default: _, _ = key, value @@ -11207,10 +11501,12 @@ func awsRestjson1_deserializeOpDocumentListReferenceStoresOutput(v **ListReferen } sv.NextToken = ptr.String(jtv) } + case "referenceStores": if err := awsRestjson1_deserializeDocumentReferenceStoreDetailList(&sv.ReferenceStores, value); err != nil { return err } + default: _, _ = key, value @@ -11383,6 +11679,7 @@ func awsRestjson1_deserializeOpDocumentListRunGroupsOutput(v **ListRunGroupsOutp if err := awsRestjson1_deserializeDocumentRunGroupList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11391,6 +11688,7 @@ func awsRestjson1_deserializeOpDocumentListRunGroupsOutput(v **ListRunGroupsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11563,6 +11861,7 @@ func awsRestjson1_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value if err := awsRestjson1_deserializeDocumentRunList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11571,6 +11870,7 @@ func awsRestjson1_deserializeOpDocumentListRunsOutput(v **ListRunsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11743,6 +12043,7 @@ func awsRestjson1_deserializeOpDocumentListRunTasksOutput(v **ListRunTasksOutput if err := awsRestjson1_deserializeDocumentTaskList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11751,6 +12052,7 @@ func awsRestjson1_deserializeOpDocumentListRunTasksOutput(v **ListRunTasksOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11918,10 +12220,12 @@ func awsRestjson1_deserializeOpDocumentListSequenceStoresOutput(v **ListSequence } sv.NextToken = ptr.String(jtv) } + case "sequenceStores": if err := awsRestjson1_deserializeDocumentSequenceStoreDetailList(&sv.SequenceStores, value); err != nil { return err } + default: _, _ = key, value @@ -12095,10 +12399,12 @@ func awsRestjson1_deserializeOpDocumentListSharesOutput(v **ListSharesOutput, va } sv.NextToken = ptr.String(jtv) } + case "shares": if err := awsRestjson1_deserializeDocumentShareDetailsList(&sv.Shares, value); err != nil { return err } + default: _, _ = key, value @@ -12271,6 +12577,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12438,10 +12745,12 @@ func awsRestjson1_deserializeOpDocumentListVariantImportJobsOutput(v **ListVaria } sv.NextToken = ptr.String(jtv) } + case "variantImportJobs": if err := awsRestjson1_deserializeDocumentVariantImportJobItems(&sv.VariantImportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -12609,10 +12918,12 @@ func awsRestjson1_deserializeOpDocumentListVariantStoresOutput(v **ListVariantSt } sv.NextToken = ptr.String(jtv) } + case "variantStores": if err := awsRestjson1_deserializeDocumentVariantStoreItems(&sv.VariantStores, value); err != nil { return err } + default: _, _ = key, value @@ -12785,6 +13096,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp if err := awsRestjson1_deserializeDocumentWorkflowList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12793,6 +13105,7 @@ func awsRestjson1_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12963,6 +13276,7 @@ func awsRestjson1_deserializeOpDocumentStartAnnotationImportJobOutput(v **StartA } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -13140,6 +13454,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13148,6 +13463,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.Id = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13156,6 +13472,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13164,6 +13481,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetActivationJobOutput(v **Start } sv.Status = types.ReadSetActivationJobStatus(jtv) } + default: _, _ = key, value @@ -13341,6 +13659,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.CreationTime = ptr.Time(t) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -13349,6 +13668,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Destination = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13357,6 +13677,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Id = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13365,6 +13686,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13373,6 +13695,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetExportJobOutput(v **StartRead } sv.Status = types.ReadSetExportJobStatus(jtv) } + default: _, _ = key, value @@ -13550,6 +13873,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13558,6 +13882,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13566,6 +13891,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.RoleArn = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13574,6 +13900,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13582,6 +13909,7 @@ func awsRestjson1_deserializeOpDocumentStartReadSetImportJobOutput(v **StartRead } sv.Status = types.ReadSetImportJobStatus(jtv) } + default: _, _ = key, value @@ -13759,6 +14087,7 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13767,6 +14096,7 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.Id = ptr.String(jtv) } + case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -13775,6 +14105,7 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.ReferenceStoreId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -13783,6 +14114,7 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13791,6 +14123,7 @@ func awsRestjson1_deserializeOpDocumentStartReferenceImportJobOutput(v **StartRe } sv.Status = types.ReferenceImportJobStatus(jtv) } + default: _, _ = key, value @@ -13967,6 +14300,7 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -13975,6 +14309,7 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Id = ptr.String(jtv) } + case "runOutputUri": if value != nil { jtv, ok := value.(string) @@ -13983,6 +14318,7 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.RunOutputUri = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13991,10 +14327,12 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Status = types.RunStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "uuid": if value != nil { jtv, ok := value.(string) @@ -14003,6 +14341,7 @@ func awsRestjson1_deserializeOpDocumentStartRunOutput(v **StartRunOutput, value } sv.Uuid = ptr.String(jtv) } + default: _, _ = key, value @@ -14173,6 +14512,7 @@ func awsRestjson1_deserializeOpDocumentStartVariantImportJobOutput(v **StartVari } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -14562,6 +14902,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14570,6 +14911,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14578,6 +14920,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14586,10 +14929,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14598,6 +14943,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.Status = types.StoreStatus(jtv) } + case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -14606,10 +14952,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.StoreFormat = types.StoreFormat(jtv) } + case "storeOptions": if err := awsRestjson1_deserializeDocumentStoreOptions(&sv.StoreOptions, value); err != nil { return err } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -14622,6 +14970,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreOutput(v **UpdateAnn } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -14793,6 +15142,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -14801,6 +15151,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -14809,6 +15160,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14817,6 +15169,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14825,6 +15178,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.Status = types.VersionStatus(jtv) } + case "storeId": if value != nil { jtv, ok := value.(string) @@ -14833,6 +15187,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.StoreId = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -14845,6 +15200,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.UpdateTime = ptr.Time(t) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -14853,6 +15209,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnnotationStoreVersionOutput(v **Up } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -15139,6 +15496,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15147,6 +15505,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15155,6 +15514,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15163,10 +15523,12 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15175,6 +15537,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.Status = types.StoreStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -15187,6 +15550,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVariantStoreOutput(v **UpdateVarian } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -15478,6 +15842,7 @@ func awsRestjson1_deserializeOpDocumentUploadReadSetPartOutput(v **UploadReadSet } sv.Checksum = ptr.String(jtv) } + default: _, _ = key, value @@ -15877,6 +16242,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15920,6 +16286,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -15932,6 +16299,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -15940,6 +16308,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.Id = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -15948,6 +16317,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15956,6 +16326,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetJobItem(v **types.ActivateRe } sv.Status = types.ReadSetActivationJobStatus(jtv) } + default: _, _ = key, value @@ -16029,6 +16400,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.ReadSetId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16037,6 +16409,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.Status = types.ReadSetActivationJobItemStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16045,6 +16418,7 @@ func awsRestjson1_deserializeDocumentActivateReadSetSourceItem(v **types.Activat } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -16154,6 +16528,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportItemDetail(v **types.Annota } sv.JobStatus = types.JobStatus(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -16162,6 +16537,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportItemDetail(v **types.Annota } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -16231,6 +16607,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -16243,6 +16620,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -16255,6 +16633,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.CreationTime = ptr.Time(t) } + case "destinationName": if value != nil { jtv, ok := value.(string) @@ -16263,6 +16642,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.DestinationName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16271,6 +16651,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -16279,6 +16660,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.RoleArn = ptr.String(jtv) } + case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -16287,6 +16669,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.RunLeftNormalization = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -16295,6 +16678,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.Status = types.JobStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -16307,6 +16691,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.UpdateTime = ptr.Time(t) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -16315,6 +16700,7 @@ func awsRestjson1_deserializeDocumentAnnotationImportJobItem(v **types.Annotatio } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -16392,6 +16778,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16400,6 +16787,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16408,6 +16796,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16416,14 +16805,17 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -16432,6 +16824,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.Status = types.StoreStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16440,6 +16833,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StatusMessage = ptr.String(jtv) } + case "storeArn": if value != nil { jtv, ok := value.(string) @@ -16448,6 +16842,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreArn = ptr.String(jtv) } + case "storeFormat": if value != nil { jtv, ok := value.(string) @@ -16456,6 +16851,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreFormat = types.StoreFormat(jtv) } + case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -16468,6 +16864,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.StoreSizeBytes = ptr.Int64(i64) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -16480,6 +16877,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreItem(v **types.AnnotationSto } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -16557,6 +16955,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -16565,6 +16964,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16573,6 +16973,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -16581,6 +16982,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16589,6 +16991,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.Status = types.VersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16597,6 +17000,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.StatusMessage = ptr.String(jtv) } + case "storeId": if value != nil { jtv, ok := value.(string) @@ -16605,6 +17009,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.StoreId = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -16617,6 +17022,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.UpdateTime = ptr.Time(t) } + case "versionArn": if value != nil { jtv, ok := value.(string) @@ -16625,6 +17031,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionArn = ptr.String(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -16633,6 +17040,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionName = ptr.String(jtv) } + case "versionSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -16645,6 +17053,7 @@ func awsRestjson1_deserializeDocumentAnnotationStoreVersionItem(v **types.Annota } sv.VersionSizeBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -16718,6 +17127,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16757,6 +17167,7 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Algorithm = types.ETagAlgorithm(jtv) } + case "source1": if value != nil { jtv, ok := value.(string) @@ -16765,6 +17176,7 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Source1 = ptr.String(jtv) } + case "source2": if value != nil { jtv, ok := value.(string) @@ -16773,6 +17185,7 @@ func awsRestjson1_deserializeDocumentETag(v **types.ETag, value interface{}) err } sv.Source2 = ptr.String(jtv) } + default: _, _ = key, value @@ -16812,6 +17225,7 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16820,6 +17234,7 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.Status = types.ReadSetExportJobItemStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16828,6 +17243,7 @@ func awsRestjson1_deserializeDocumentExportReadSetDetail(v **types.ExportReadSet } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -16905,6 +17321,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -16917,6 +17334,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.CreationTime = ptr.Time(t) } + case "destination": if value != nil { jtv, ok := value.(string) @@ -16925,6 +17343,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Destination = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16933,6 +17352,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Id = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -16941,6 +17361,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16949,6 +17370,7 @@ func awsRestjson1_deserializeDocumentExportReadSetJobDetail(v **types.ExportRead } sv.Status = types.ReadSetExportJobStatus(jtv) } + default: _, _ = key, value @@ -17026,6 +17448,7 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.ContentLength = ptr.Int64(i64) } + case "partSize": if value != nil { jtv, ok := value.(json.Number) @@ -17038,10 +17461,12 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.PartSize = ptr.Int64(i64) } + case "s3Access": if err := awsRestjson1_deserializeDocumentReadSetS3Access(&sv.S3Access, value); err != nil { return err } + case "totalParts": if value != nil { jtv, ok := value.(json.Number) @@ -17054,6 +17479,7 @@ func awsRestjson1_deserializeDocumentFileInformation(v **types.FileInformation, } sv.TotalParts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17183,6 +17609,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -17195,6 +17622,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17203,6 +17631,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17211,6 +17640,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.RoleArn = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17219,6 +17649,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17227,6 +17658,7 @@ func awsRestjson1_deserializeDocumentImportReadSetJobItem(v **types.ImportReadSe } sv.Status = types.ReadSetImportJobStatus(jtv) } + default: _, _ = key, value @@ -17300,6 +17732,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Description = ptr.String(jtv) } + case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -17308,6 +17741,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.GeneratedFrom = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17316,6 +17750,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Name = ptr.String(jtv) } + case "readSetId": if value != nil { jtv, ok := value.(string) @@ -17324,6 +17759,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.ReadSetId = ptr.String(jtv) } + case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -17332,6 +17768,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.ReferenceArn = ptr.String(jtv) } + case "sampleId": if value != nil { jtv, ok := value.(string) @@ -17340,10 +17777,12 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SampleId = ptr.String(jtv) } + case "sourceFiles": if err := awsRestjson1_deserializeDocumentSourceFiles(&sv.SourceFiles, value); err != nil { return err } + case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -17352,6 +17791,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SourceFileType = types.FileType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17360,6 +17800,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.Status = types.ReadSetImportJobItemStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -17368,6 +17809,7 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.StatusMessage = ptr.String(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -17376,10 +17818,12 @@ func awsRestjson1_deserializeDocumentImportReadSetSourceItem(v **types.ImportRea } sv.SubjectId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17457,6 +17901,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -17469,6 +17914,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -17477,6 +17923,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.Id = ptr.String(jtv) } + case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17485,6 +17932,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.ReferenceStoreId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -17493,6 +17941,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17501,6 +17950,7 @@ func awsRestjson1_deserializeDocumentImportReferenceJobItem(v **types.ImportRefe } sv.Status = types.ReferenceImportJobStatus(jtv) } + default: _, _ = key, value @@ -17574,6 +18024,7 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17582,6 +18033,7 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Name = ptr.String(jtv) } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -17590,6 +18042,7 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.ReferenceId = ptr.String(jtv) } + case "sourceFile": if value != nil { jtv, ok := value.(string) @@ -17598,6 +18051,7 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.SourceFile = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -17606,6 +18060,7 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.Status = types.ReferenceImportJobItemStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -17614,10 +18069,12 @@ func awsRestjson1_deserializeDocumentImportReferenceSourceItem(v **types.ImportR } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17691,6 +18148,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17768,6 +18226,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -17776,6 +18235,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.Description = ptr.String(jtv) } + case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -17784,6 +18244,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.GeneratedFrom = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -17792,6 +18253,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.Name = ptr.String(jtv) } + case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -17800,6 +18262,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.ReferenceArn = ptr.String(jtv) } + case "sampleId": if value != nil { jtv, ok := value.(string) @@ -17808,6 +18271,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SampleId = ptr.String(jtv) } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -17816,6 +18280,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SequenceStoreId = ptr.String(jtv) } + case "sourceFileType": if value != nil { jtv, ok := value.(string) @@ -17824,6 +18289,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SourceFileType = types.FileType(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -17832,10 +18298,12 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.SubjectId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -17844,6 +18312,7 @@ func awsRestjson1_deserializeDocumentMultipartReadSetUploadListItem(v **types.Mu } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -17883,6 +18352,7 @@ func awsRestjson1_deserializeDocumentNotSupportedOperationException(v **types.No } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17922,6 +18392,7 @@ func awsRestjson1_deserializeDocumentRangeNotSatisfiableException(v **types.Rang } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17961,6 +18432,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Comment = ptr.String(jtv) } + case "encoding": if value != nil { jtv, ok := value.(string) @@ -17969,6 +18441,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Encoding = ptr.String(jtv) } + case "escape": if value != nil { jtv, ok := value.(string) @@ -17977,6 +18450,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Escape = ptr.String(jtv) } + case "escapeQuotes": if value != nil { jtv, ok := value.(bool) @@ -17985,6 +18459,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.EscapeQuotes = jtv } + case "header": if value != nil { jtv, ok := value.(bool) @@ -17993,6 +18468,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Header = jtv } + case "lineSep": if value != nil { jtv, ok := value.(string) @@ -18001,6 +18477,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.LineSep = ptr.String(jtv) } + case "quote": if value != nil { jtv, ok := value.(string) @@ -18009,6 +18486,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Quote = ptr.String(jtv) } + case "quoteAll": if value != nil { jtv, ok := value.(bool) @@ -18017,6 +18495,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.QuoteAll = jtv } + case "sep": if value != nil { jtv, ok := value.(string) @@ -18025,6 +18504,7 @@ func awsRestjson1_deserializeDocumentReadOptions(v **types.ReadOptions, value in } sv.Sep = ptr.String(jtv) } + default: _, _ = key, value @@ -18064,6 +18544,7 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Code = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18072,6 +18553,7 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Id = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -18080,6 +18562,7 @@ func awsRestjson1_deserializeDocumentReadSetBatchError(v **types.ReadSetBatchErr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18149,14 +18632,17 @@ func awsRestjson1_deserializeDocumentReadSetFiles(v **types.ReadSetFiles, value if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Index, value); err != nil { return err } + case "source1": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source1, value); err != nil { return err } + case "source2": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source2, value); err != nil { return err } + default: _, _ = key, value @@ -18230,6 +18716,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -18242,6 +18729,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.CreationTime = ptr.Time(t) } + case "creationType": if value != nil { jtv, ok := value.(string) @@ -18250,6 +18738,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.CreationType = types.CreationType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18258,10 +18747,12 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Description = ptr.String(jtv) } + case "etag": if err := awsRestjson1_deserializeDocumentETag(&sv.Etag, value); err != nil { return err } + case "fileType": if value != nil { jtv, ok := value.(string) @@ -18270,6 +18761,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.FileType = types.FileType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18278,6 +18770,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18286,6 +18779,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Name = ptr.String(jtv) } + case "referenceArn": if value != nil { jtv, ok := value.(string) @@ -18294,6 +18788,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.ReferenceArn = ptr.String(jtv) } + case "sampleId": if value != nil { jtv, ok := value.(string) @@ -18302,10 +18797,12 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SampleId = ptr.String(jtv) } + case "sequenceInformation": if err := awsRestjson1_deserializeDocumentSequenceInformation(&sv.SequenceInformation, value); err != nil { return err } + case "sequenceStoreId": if value != nil { jtv, ok := value.(string) @@ -18314,6 +18811,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SequenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18322,6 +18820,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.Status = types.ReadSetStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -18330,6 +18829,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.StatusMessage = ptr.String(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -18338,6 +18838,7 @@ func awsRestjson1_deserializeDocumentReadSetListItem(v **types.ReadSetListItem, } sv.SubjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -18377,6 +18878,7 @@ func awsRestjson1_deserializeDocumentReadSetS3Access(v **types.ReadSetS3Access, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -18450,6 +18952,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.Checksum = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -18462,6 +18965,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.CreationTime = ptr.Time(t) } + case "lastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -18474,6 +18978,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.LastUpdatedTime = ptr.Time(t) } + case "partNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18486,6 +18991,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartNumber = ptr.Int32(int32(i64)) } + case "partSize": if value != nil { jtv, ok := value.(json.Number) @@ -18498,6 +19004,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartSize = ptr.Int64(i64) } + case "partSource": if value != nil { jtv, ok := value.(string) @@ -18506,6 +19013,7 @@ func awsRestjson1_deserializeDocumentReadSetUploadPartListItem(v **types.ReadSet } sv.PartSource = types.ReadSetPartSource(jtv) } + default: _, _ = key, value @@ -18541,10 +19049,12 @@ func awsRestjson1_deserializeDocumentReferenceFiles(v **types.ReferenceFiles, va if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Index, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentFileInformation(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -18660,6 +19170,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -18672,6 +19183,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18680,6 +19192,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18688,6 +19201,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Id = ptr.String(jtv) } + case "md5": if value != nil { jtv, ok := value.(string) @@ -18696,6 +19210,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Md5 = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18704,6 +19219,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Name = ptr.String(jtv) } + case "referenceStoreId": if value != nil { jtv, ok := value.(string) @@ -18712,6 +19228,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.ReferenceStoreId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -18720,6 +19237,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.Status = types.ReferenceStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -18732,6 +19250,7 @@ func awsRestjson1_deserializeDocumentReferenceListItem(v **types.ReferenceListIt } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -18771,6 +19290,7 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -18783,6 +19303,7 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -18791,6 +19312,7 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -18799,6 +19321,7 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -18807,10 +19330,12 @@ func awsRestjson1_deserializeDocumentReferenceStoreDetail(v **types.ReferenceSto } sv.Name = ptr.String(jtv) } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -18884,6 +19409,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18923,6 +19449,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18996,6 +19523,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19008,6 +19536,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19016,6 +19545,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Id = ptr.String(jtv) } + case "maxCpus": if value != nil { jtv, ok := value.(json.Number) @@ -19028,6 +19558,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxCpus = ptr.Int32(int32(i64)) } + case "maxDuration": if value != nil { jtv, ok := value.(json.Number) @@ -19040,6 +19571,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxDuration = ptr.Int32(int32(i64)) } + case "maxGpus": if value != nil { jtv, ok := value.(json.Number) @@ -19052,6 +19584,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxGpus = ptr.Int32(int32(i64)) } + case "maxRuns": if value != nil { jtv, ok := value.(json.Number) @@ -19064,6 +19597,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.MaxRuns = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19072,6 +19606,7 @@ func awsRestjson1_deserializeDocumentRunGroupListItem(v **types.RunGroupListItem } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -19145,6 +19680,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19157,6 +19693,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.CreationTime = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19165,6 +19702,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19173,6 +19711,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -19185,6 +19724,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Priority = ptr.Int32(int32(i64)) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -19197,6 +19737,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19205,6 +19746,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.Status = types.RunStatus(jtv) } + case "stopTime": if value != nil { jtv, ok := value.(string) @@ -19217,6 +19759,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StopTime = ptr.Time(t) } + case "storageCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -19229,6 +19772,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StorageCapacity = ptr.Int32(int32(i64)) } + case "storageType": if value != nil { jtv, ok := value.(string) @@ -19237,6 +19781,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.StorageType = types.StorageType(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -19245,6 +19790,7 @@ func awsRestjson1_deserializeDocumentRunListItem(v **types.RunListItem, value in } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -19284,6 +19830,7 @@ func awsRestjson1_deserializeDocumentRunLogLocation(v **types.RunLogLocation, va } sv.EngineLogStream = ptr.String(jtv) } + case "runLogStream": if value != nil { jtv, ok := value.(string) @@ -19292,6 +19839,7 @@ func awsRestjson1_deserializeDocumentRunLogLocation(v **types.RunLogLocation, va } sv.RunLogStream = ptr.String(jtv) } + default: _, _ = key, value @@ -19443,6 +19991,7 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.Alignment = ptr.String(jtv) } + case "generatedFrom": if value != nil { jtv, ok := value.(string) @@ -19451,6 +20000,7 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.GeneratedFrom = ptr.String(jtv) } + case "totalBaseCount": if value != nil { jtv, ok := value.(json.Number) @@ -19463,6 +20013,7 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.TotalBaseCount = ptr.Int64(i64) } + case "totalReadCount": if value != nil { jtv, ok := value.(json.Number) @@ -19475,6 +20026,7 @@ func awsRestjson1_deserializeDocumentSequenceInformation(v **types.SequenceInfor } sv.TotalReadCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -19514,6 +20066,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -19526,6 +20079,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -19534,6 +20088,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Description = ptr.String(jtv) } + case "eTagAlgorithmFamily": if value != nil { jtv, ok := value.(string) @@ -19542,6 +20097,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.ETagAlgorithmFamily = types.ETagAlgorithmFamily(jtv) } + case "fallbackLocation": if value != nil { jtv, ok := value.(string) @@ -19550,6 +20106,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.FallbackLocation = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -19558,6 +20115,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -19566,10 +20124,12 @@ func awsRestjson1_deserializeDocumentSequenceStoreDetail(v **types.SequenceStore } sv.Name = ptr.String(jtv) } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + default: _, _ = key, value @@ -19643,6 +20203,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreS3Access(v **types.SequenceSto } sv.S3AccessPointArn = ptr.String(jtv) } + case "s3Uri": if value != nil { jtv, ok := value.(string) @@ -19651,6 +20212,7 @@ func awsRestjson1_deserializeDocumentSequenceStoreS3Access(v **types.SequenceSto } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -19690,6 +20252,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19733,6 +20296,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.CreationTime = ptr.Time(t) } + case "ownerId": if value != nil { jtv, ok := value.(string) @@ -19741,6 +20305,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.OwnerId = ptr.String(jtv) } + case "principalSubscriber": if value != nil { jtv, ok := value.(string) @@ -19749,6 +20314,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.PrincipalSubscriber = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -19757,6 +20323,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -19765,6 +20332,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ResourceId = ptr.String(jtv) } + case "shareId": if value != nil { jtv, ok := value.(string) @@ -19773,6 +20341,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ShareId = ptr.String(jtv) } + case "shareName": if value != nil { jtv, ok := value.(string) @@ -19781,6 +20350,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.ShareName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -19789,6 +20359,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.Status = types.ShareStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -19797,6 +20368,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.StatusMessage = ptr.String(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -19809,6 +20381,7 @@ func awsRestjson1_deserializeDocumentShareDetails(v **types.ShareDetails, value } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -19882,6 +20455,7 @@ func awsRestjson1_deserializeDocumentSourceFiles(v **types.SourceFiles, value in } sv.Source1 = ptr.String(jtv) } + case "source2": if value != nil { jtv, ok := value.(string) @@ -19890,6 +20464,7 @@ func awsRestjson1_deserializeDocumentSourceFiles(v **types.SourceFiles, value in } sv.Source2 = ptr.String(jtv) } + default: _, _ = key, value @@ -19929,6 +20504,7 @@ func awsRestjson1_deserializeDocumentSseConfig(v **types.SseConfig, value interf } sv.KeyArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -19937,6 +20513,7 @@ func awsRestjson1_deserializeDocumentSseConfig(v **types.SseConfig, value interf } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -20090,6 +20667,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Cpus = ptr.Int32(int32(i64)) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -20102,6 +20680,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.CreationTime = ptr.Time(t) } + case "gpus": if value != nil { jtv, ok := value.(json.Number) @@ -20114,6 +20693,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Gpus = ptr.Int32(int32(i64)) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -20122,6 +20702,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.InstanceType = ptr.String(jtv) } + case "memory": if value != nil { jtv, ok := value.(json.Number) @@ -20134,6 +20715,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Memory = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20142,6 +20724,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Name = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -20154,6 +20737,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.StartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -20162,6 +20746,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.Status = types.TaskStatus(jtv) } + case "stopTime": if value != nil { jtv, ok := value.(string) @@ -20174,6 +20759,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.StopTime = ptr.Time(t) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -20182,6 +20768,7 @@ func awsRestjson1_deserializeDocumentTaskListItem(v **types.TaskListItem, value } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -20221,6 +20808,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20256,6 +20844,7 @@ func awsRestjson1_deserializeDocumentTsvOptions(v **types.TsvOptions, value inte if err := awsRestjson1_deserializeDocumentReadOptions(&sv.ReadOptions, value); err != nil { return err } + default: _, _ = key, value @@ -20295,14 +20884,17 @@ func awsRestjson1_deserializeDocumentTsvStoreOptions(v **types.TsvStoreOptions, } sv.AnnotationType = types.AnnotationType(jtv) } + case "formatToHeader": if err := awsRestjson1_deserializeDocumentFormatToHeader(&sv.FormatToHeader, value); err != nil { return err } + case "schema": if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -20342,14 +20934,17 @@ func awsRestjson1_deserializeDocumentTsvVersionOptions(v **types.TsvVersionOptio } sv.AnnotationType = types.AnnotationType(jtv) } + case "formatToHeader": if err := awsRestjson1_deserializeDocumentFormatToHeader(&sv.FormatToHeader, value); err != nil { return err } + case "schema": if err := awsRestjson1_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -20389,6 +20984,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20428,6 +21024,7 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.JobStatus = types.JobStatus(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -20436,6 +21033,7 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.Source = ptr.String(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -20444,6 +21042,7 @@ func awsRestjson1_deserializeDocumentVariantImportItemDetail(v **types.VariantIm } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -20513,6 +21112,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor if err := awsRestjson1_deserializeDocumentAnnotationFieldMap(&sv.AnnotationFields, value); err != nil { return err } + case "completionTime": if value != nil { jtv, ok := value.(string) @@ -20525,6 +21125,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.CompletionTime = ptr.Time(t) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -20537,6 +21138,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.CreationTime = ptr.Time(t) } + case "destinationName": if value != nil { jtv, ok := value.(string) @@ -20545,6 +21147,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.DestinationName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20553,6 +21156,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.Id = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -20561,6 +21165,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.RoleArn = ptr.String(jtv) } + case "runLeftNormalization": if value != nil { jtv, ok := value.(bool) @@ -20569,6 +21174,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.RunLeftNormalization = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -20577,6 +21183,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.Status = types.JobStatus(jtv) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -20589,6 +21196,7 @@ func awsRestjson1_deserializeDocumentVariantImportJobItem(v **types.VariantImpor } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -20666,6 +21274,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -20674,6 +21283,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -20682,6 +21292,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -20690,14 +21301,17 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Name = ptr.String(jtv) } + case "reference": if err := awsRestjson1_deserializeDocumentReferenceItem(&sv.Reference, value); err != nil { return err } + case "sseConfig": if err := awsRestjson1_deserializeDocumentSseConfig(&sv.SseConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -20706,6 +21320,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.Status = types.StoreStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -20714,6 +21329,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StatusMessage = ptr.String(jtv) } + case "storeArn": if value != nil { jtv, ok := value.(string) @@ -20722,6 +21338,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StoreArn = ptr.String(jtv) } + case "storeSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -20734,6 +21351,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.StoreSizeBytes = ptr.Int64(i64) } + case "updateTime": if value != nil { jtv, ok := value.(string) @@ -20746,6 +21364,7 @@ func awsRestjson1_deserializeDocumentVariantStoreItem(v **types.VariantStoreItem } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -20819,6 +21438,7 @@ func awsRestjson1_deserializeDocumentVcfOptions(v **types.VcfOptions, value inte } sv.IgnoreFilterField = ptr.Bool(jtv) } + case "ignoreQualField": if value != nil { jtv, ok := value.(bool) @@ -20827,6 +21447,7 @@ func awsRestjson1_deserializeDocumentVcfOptions(v **types.VcfOptions, value inte } sv.IgnoreQualField = ptr.Bool(jtv) } + default: _, _ = key, value @@ -20866,6 +21487,7 @@ func awsRestjson1_deserializeDocumentVersionDeleteError(v **types.VersionDeleteE } sv.Message = ptr.String(jtv) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -20874,6 +21496,7 @@ func awsRestjson1_deserializeDocumentVersionDeleteError(v **types.VersionDeleteE } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -21021,6 +21644,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -21033,6 +21657,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.CreationTime = ptr.Time(t) } + case "digest": if value != nil { jtv, ok := value.(string) @@ -21041,6 +21666,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Digest = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -21049,10 +21675,12 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentWorkflowMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -21061,6 +21689,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -21069,6 +21698,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Status = types.WorkflowStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -21077,6 +21707,7 @@ func awsRestjson1_deserializeDocumentWorkflowListItem(v **types.WorkflowListItem } sv.Type = types.WorkflowType(jtv) } + default: _, _ = key, value @@ -21152,6 +21783,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Description = ptr.String(jtv) } + case "optional": if value != nil { jtv, ok := value.(bool) @@ -21160,6 +21792,7 @@ func awsRestjson1_deserializeDocumentWorkflowParameter(v **types.WorkflowParamet } sv.Optional = ptr.Bool(jtv) } + default: _, _ = key, value diff --git a/service/opensearch/deserializers.go b/service/opensearch/deserializers.go index b2813a143ec..e476959475a 100644 --- a/service/opensearch/deserializers.go +++ b/service/opensearch/deserializers.go @@ -179,6 +179,7 @@ func awsRestjson1_deserializeOpDocumentAcceptInboundConnectionOutput(v **AcceptI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -352,6 +353,7 @@ func awsRestjson1_deserializeOpDocumentAddDataSourceOutput(v **AddDataSourceOutp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -621,6 +623,7 @@ func awsRestjson1_deserializeOpDocumentAssociatePackageOutput(v **AssociatePacka if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -787,6 +790,7 @@ func awsRestjson1_deserializeOpDocumentAuthorizeVpcEndpointAccessOutput(v **Auth if err := awsRestjson1_deserializeDocumentAuthorizedPrincipal(&sv.AuthorizedPrincipal, value); err != nil { return err } + default: _, _ = key, value @@ -950,10 +954,12 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel if err := awsRestjson1_deserializeDocumentGUIDList(&sv.CancelledChangeIds, value); err != nil { return err } + case "CancelledChangeProperties": if err := awsRestjson1_deserializeDocumentCancelledChangePropertyList(&sv.CancelledChangeProperties, value); err != nil { return err } + case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -962,6 +968,7 @@ func awsRestjson1_deserializeOpDocumentCancelDomainConfigChangeOutput(v **Cancel } sv.DryRun = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1122,6 +1129,7 @@ func awsRestjson1_deserializeOpDocumentCancelServiceSoftwareUpdateOutput(v **Can if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + default: _, _ = key, value @@ -1288,6 +1296,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1296,6 +1305,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1311,14 +1321,17 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1327,6 +1340,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1335,10 +1349,12 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + case "tagList": if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -1508,6 +1524,7 @@ func awsRestjson1_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -1672,6 +1689,7 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionAlias = ptr.String(jtv) } + case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -1680,6 +1698,7 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionId = ptr.String(jtv) } + case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -1688,22 +1707,27 @@ func awsRestjson1_deserializeOpDocumentCreateOutboundConnectionOutput(v **Create } sv.ConnectionMode = types.ConnectionMode(jtv) } + case "ConnectionProperties": if err := awsRestjson1_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } + case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } + case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -1873,6 +1897,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -2039,6 +2064,7 @@ func awsRestjson1_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -2315,6 +2341,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2475,6 +2502,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -2629,6 +2657,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInboundConnectionOutput(v **DeleteI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -2783,6 +2812,7 @@ func awsRestjson1_deserializeOpDocumentDeleteOutboundConnectionOutput(v **Delete if err := awsRestjson1_deserializeDocumentOutboundConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -2949,6 +2979,7 @@ func awsRestjson1_deserializeOpDocumentDeletePackageOutput(v **DeletePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -3109,6 +3140,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpointSummary(&sv.VpcEndpointSummary, value); err != nil { return err } + default: _, _ = key, value @@ -3269,6 +3301,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DomainStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3429,6 +3462,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ if err := awsRestjson1_deserializeDocumentAutoTuneList(&sv.AutoTunes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3437,6 +3471,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainAutoTunesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3597,6 +3632,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainChangeProgressOutput(v **De if err := awsRestjson1_deserializeDocumentChangeProgressStatusDetails(&sv.ChangeProgressStatus, value); err != nil { return err } + default: _, _ = key, value @@ -3757,6 +3793,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainConfigOutput(v **DescribeDo if err := awsRestjson1_deserializeDocumentDomainConfig(&sv.DomainConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3924,6 +3961,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.ActiveAvailabilityZoneCount = ptr.String(jtv) } + case "AvailabilityZoneCount": if value != nil { jtv, ok := value.(string) @@ -3932,6 +3970,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.AvailabilityZoneCount = ptr.String(jtv) } + case "ClusterHealth": if value != nil { jtv, ok := value.(string) @@ -3940,6 +3979,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.ClusterHealth = types.DomainHealth(jtv) } + case "DataNodeCount": if value != nil { jtv, ok := value.(string) @@ -3948,6 +3988,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DataNodeCount = ptr.String(jtv) } + case "DedicatedMaster": if value != nil { jtv, ok := value.(bool) @@ -3956,6 +3997,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DedicatedMaster = ptr.Bool(jtv) } + case "DomainState": if value != nil { jtv, ok := value.(string) @@ -3964,10 +4006,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.DomainState = types.DomainState(jtv) } + case "EnvironmentInformation": if err := awsRestjson1_deserializeDocumentEnvironmentInfoList(&sv.EnvironmentInformation, value); err != nil { return err } + case "MasterEligibleNodeCount": if value != nil { jtv, ok := value.(string) @@ -3976,6 +4020,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.MasterEligibleNodeCount = ptr.String(jtv) } + case "MasterNode": if value != nil { jtv, ok := value.(string) @@ -3984,6 +4029,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.MasterNode = types.MasterNodeStatus(jtv) } + case "StandByAvailabilityZoneCount": if value != nil { jtv, ok := value.(string) @@ -3992,6 +4038,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.StandByAvailabilityZoneCount = ptr.String(jtv) } + case "TotalShards": if value != nil { jtv, ok := value.(string) @@ -4000,6 +4047,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.TotalShards = ptr.String(jtv) } + case "TotalUnAssignedShards": if value != nil { jtv, ok := value.(string) @@ -4008,6 +4056,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.TotalUnAssignedShards = ptr.String(jtv) } + case "WarmNodeCount": if value != nil { jtv, ok := value.(string) @@ -4016,6 +4065,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainHealthOutput(v **DescribeDo } sv.WarmNodeCount = ptr.String(jtv) } + default: _, _ = key, value @@ -4182,6 +4232,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainNodesOutput(v **DescribeDom if err := awsRestjson1_deserializeDocumentDomainNodesStatusList(&sv.DomainNodesStatusList, value); err != nil { return err } + default: _, _ = key, value @@ -4339,6 +4390,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDomainsOutput(v **DescribeDomains if err := awsRestjson1_deserializeDocumentDomainStatusList(&sv.DomainStatusList, value); err != nil { return err } + default: _, _ = key, value @@ -4502,14 +4554,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDryRunProgressOutput(v **Describe if err := awsRestjson1_deserializeDocumentDomainStatus(&sv.DryRunConfig, value); err != nil { return err } + case "DryRunProgressStatus": if err := awsRestjson1_deserializeDocumentDryRunProgressStatus(&sv.DryRunProgressStatus, value); err != nil { return err } + case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } + default: _, _ = key, value @@ -4664,6 +4719,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundConnectionsOutput(v **Desc if err := awsRestjson1_deserializeDocumentInboundConnections(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4672,6 +4728,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInboundConnectionsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4838,6 +4895,7 @@ func awsRestjson1_deserializeOpDocumentDescribeInstanceTypeLimitsOutput(v **Desc if err := awsRestjson1_deserializeDocumentLimitsByRole(&sv.LimitsByRole, value); err != nil { return err } + default: _, _ = key, value @@ -4992,6 +5050,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundConnectionsOutput(v **Des if err := awsRestjson1_deserializeDocumentOutboundConnections(&sv.Connections, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5000,6 +5059,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOutboundConnectionsOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5167,10 +5227,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackagesOutput(v **DescribePackag } sv.NextToken = ptr.String(jtv) } + case "PackageDetailsList": if err := awsRestjson1_deserializeDocumentPackageDetailsList(&sv.PackageDetailsList, value); err != nil { return err } + default: _, _ = key, value @@ -5335,10 +5397,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedInstanceOfferingsOutput(v } sv.NextToken = ptr.String(jtv) } + case "ReservedInstanceOfferings": if err := awsRestjson1_deserializeDocumentReservedInstanceOfferingList(&sv.ReservedInstanceOfferings, value); err != nil { return err } + default: _, _ = key, value @@ -5503,10 +5567,12 @@ func awsRestjson1_deserializeOpDocumentDescribeReservedInstancesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "ReservedInstances": if err := awsRestjson1_deserializeDocumentReservedInstanceList(&sv.ReservedInstances, value); err != nil { return err } + default: _, _ = key, value @@ -5667,10 +5733,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVpcEndpointsOutput(v **DescribeVp if err := awsRestjson1_deserializeDocumentVpcEndpointErrorList(&sv.VpcEndpointErrors, value); err != nil { return err } + case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpoints(&sv.VpcEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -5837,6 +5905,7 @@ func awsRestjson1_deserializeOpDocumentDissociatePackageOutput(v **DissociatePac if err := awsRestjson1_deserializeDocumentDomainPackageDetails(&sv.DomainPackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -6003,6 +6072,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -6011,6 +6081,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6026,10 +6097,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -6038,10 +6111,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Endpoint = ptr.String(jtv) } + case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6050,6 +6125,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6065,6 +6141,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6073,6 +6150,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6081,6 +6159,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationStatus(jtv) } + default: _, _ = key, value @@ -6244,6 +6323,7 @@ func awsRestjson1_deserializeOpDocumentGetCompatibleVersionsOutput(v **GetCompat if err := awsRestjson1_deserializeDocumentCompatibleVersionsList(&sv.CompatibleVersions, value); err != nil { return err } + default: _, _ = key, value @@ -6410,6 +6490,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp if err := awsRestjson1_deserializeDocumentDataSourceType(&sv.DataSourceType, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6418,6 +6499,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6426,6 +6508,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6434,6 +6517,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -6601,6 +6685,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.Action = types.MaintenanceType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6616,6 +6701,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -6624,6 +6710,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.NodeId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6632,6 +6719,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.Status = types.MaintenanceStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -6640,6 +6728,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6655,6 +6744,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainMaintenanceStatusOutput(v **GetD } } + default: _, _ = key, value @@ -6822,6 +6912,7 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.NextToken = ptr.String(jtv) } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -6830,10 +6921,12 @@ func awsRestjson1_deserializeOpDocumentGetPackageVersionHistoryOutput(v **GetPac } sv.PackageID = ptr.String(jtv) } + case "PackageVersionHistoryList": if err := awsRestjson1_deserializeDocumentPackageVersionHistoryList(&sv.PackageVersionHistoryList, value); err != nil { return err } + default: _, _ = key, value @@ -7001,10 +7094,12 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeHistoryOutput(v **GetUpgradeHis } sv.NextToken = ptr.String(jtv) } + case "UpgradeHistories": if err := awsRestjson1_deserializeDocumentUpgradeHistoryList(&sv.UpgradeHistories, value); err != nil { return err } + default: _, _ = key, value @@ -7172,6 +7267,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.StepStatus = types.UpgradeStatus(jtv) } + case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -7180,6 +7276,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeName = ptr.String(jtv) } + case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -7188,6 +7285,7 @@ func awsRestjson1_deserializeOpDocumentGetUpgradeStatusOutput(v **GetUpgradeStat } sv.UpgradeStep = types.UpgradeStep(jtv) } + default: _, _ = key, value @@ -7354,6 +7452,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.ApplicationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7362,6 +7461,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7528,6 +7628,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceList(&sv.DataSources, value); err != nil { return err } + default: _, _ = key, value @@ -7691,6 +7792,7 @@ func awsRestjson1_deserializeOpDocumentListDomainMaintenancesOutput(v **ListDoma if err := awsRestjson1_deserializeDocumentDomainMaintenanceList(&sv.DomainMaintenances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7699,6 +7801,7 @@ func awsRestjson1_deserializeOpDocumentListDomainMaintenancesOutput(v **ListDoma } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7853,6 +7956,7 @@ func awsRestjson1_deserializeOpDocumentListDomainNamesOutput(v **ListDomainNames if err := awsRestjson1_deserializeDocumentDomainInfoList(&sv.DomainNames, value); err != nil { return err } + default: _, _ = key, value @@ -8016,6 +8120,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8024,6 +8129,7 @@ func awsRestjson1_deserializeOpDocumentListDomainsForPackageOutput(v **ListDomai } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8184,6 +8290,7 @@ func awsRestjson1_deserializeOpDocumentListInstanceTypeDetailsOutput(v **ListIns if err := awsRestjson1_deserializeDocumentInstanceTypeDetailsList(&sv.InstanceTypeDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8192,6 +8299,7 @@ func awsRestjson1_deserializeOpDocumentListInstanceTypeDetailsOutput(v **ListIns } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8355,6 +8463,7 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka if err := awsRestjson1_deserializeDocumentDomainPackageDetailsList(&sv.DomainPackageDetailsList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8363,6 +8472,7 @@ func awsRestjson1_deserializeOpDocumentListPackagesForDomainOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8530,10 +8640,12 @@ func awsRestjson1_deserializeOpDocumentListScheduledActionsOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } + case "ScheduledActions": if err := awsRestjson1_deserializeDocumentScheduledActionsList(&sv.ScheduledActions, value); err != nil { return err } + default: _, _ = key, value @@ -8694,6 +8806,7 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value if err := awsRestjson1_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -8858,10 +8971,12 @@ func awsRestjson1_deserializeOpDocumentListVersionsOutput(v **ListVersionsOutput } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsRestjson1_deserializeDocumentVersionList(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -9022,6 +9137,7 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn if err := awsRestjson1_deserializeDocumentAuthorizedPrincipalList(&sv.AuthorizedPrincipalList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9030,6 +9146,7 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointAccessOutput(v **ListVpcEn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9191,10 +9308,12 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } + case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -9359,10 +9478,12 @@ func awsRestjson1_deserializeOpDocumentListVpcEndpointsForDomainOutput(v **ListV } sv.NextToken = ptr.String(jtv) } + case "VpcEndpointSummaryList": if err := awsRestjson1_deserializeDocumentVpcEndpointSummaryList(&sv.VpcEndpointSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -9533,6 +9654,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedInstanceOfferingOutput(v } sv.ReservationName = ptr.String(jtv) } + case "ReservedInstanceId": if value != nil { jtv, ok := value.(string) @@ -9541,6 +9663,7 @@ func awsRestjson1_deserializeOpDocumentPurchaseReservedInstanceOfferingOutput(v } sv.ReservedInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -9695,6 +9818,7 @@ func awsRestjson1_deserializeOpDocumentRejectInboundConnectionOutput(v **RejectI if err := awsRestjson1_deserializeDocumentInboundConnection(&sv.Connection, value); err != nil { return err } + default: _, _ = key, value @@ -10062,6 +10186,7 @@ func awsRestjson1_deserializeOpDocumentStartDomainMaintenanceOutput(v **StartDom } sv.MaintenanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10222,6 +10347,7 @@ func awsRestjson1_deserializeOpDocumentStartServiceSoftwareUpdateOutput(v **Star if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + default: _, _ = key, value @@ -10391,6 +10517,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentAppConfigs(&sv.AppConfigs, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -10399,6 +10526,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10414,14 +10542,17 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "iamIdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIamIdentityCenterOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -10430,6 +10561,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10445,6 +10577,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10453,6 +10586,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10623,6 +10757,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10789,14 +10924,17 @@ func awsRestjson1_deserializeOpDocumentUpdateDomainConfigOutput(v **UpdateDomain if err := awsRestjson1_deserializeDocumentDomainConfig(&sv.DomainConfig, value); err != nil { return err } + case "DryRunProgressStatus": if err := awsRestjson1_deserializeDocumentDryRunProgressStatus(&sv.DryRunProgressStatus, value); err != nil { return err } + case "DryRunResults": if err := awsRestjson1_deserializeDocumentDryRunResults(&sv.DryRunResults, value); err != nil { return err } + default: _, _ = key, value @@ -10963,6 +11101,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePackageOutput(v **UpdatePackageOutp if err := awsRestjson1_deserializeDocumentPackageDetails(&sv.PackageDetails, value); err != nil { return err } + default: _, _ = key, value @@ -11132,6 +11271,7 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduledActionOutput(v **UpdateSch if err := awsRestjson1_deserializeDocumentScheduledAction(&sv.ScheduledAction, value); err != nil { return err } + default: _, _ = key, value @@ -11298,6 +11438,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsRestjson1_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -11464,10 +11605,12 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } + case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11476,6 +11619,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.DomainName = ptr.String(jtv) } + case "PerformCheckOnly": if value != nil { jtv, ok := value.(bool) @@ -11484,6 +11628,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.PerformCheckOnly = ptr.Bool(jtv) } + case "TargetVersion": if value != nil { jtv, ok := value.(string) @@ -11492,6 +11637,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.TargetVersion = ptr.String(jtv) } + case "UpgradeId": if value != nil { jtv, ok := value.(string) @@ -11500,6 +11646,7 @@ func awsRestjson1_deserializeOpDocumentUpgradeDomainOutput(v **UpgradeDomainOutp } sv.UpgradeId = ptr.String(jtv) } + default: _, _ = key, value @@ -12007,6 +12154,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12046,10 +12194,12 @@ func awsRestjson1_deserializeDocumentAccessPoliciesStatus(v **types.AccessPolici } sv.Options = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12089,10 +12239,12 @@ func awsRestjson1_deserializeDocumentAdditionalLimit(v **types.AdditionalLimit, } sv.LimitName = ptr.String(jtv) } + case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } + default: _, _ = key, value @@ -12198,10 +12350,12 @@ func awsRestjson1_deserializeDocumentAdvancedOptionsStatus(v **types.AdvancedOpt if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12248,6 +12402,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } } + case "AnonymousAuthEnabled": if value != nil { jtv, ok := value.(bool) @@ -12256,6 +12411,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.AnonymousAuthEnabled = ptr.Bool(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -12264,6 +12420,7 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.Enabled = ptr.Bool(jtv) } + case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -12272,14 +12429,17 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptions(v **types.AdvancedS } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } + case "JWTOptions": if err := awsRestjson1_deserializeDocumentJWTOptionsOutput(&sv.JWTOptions, value); err != nil { return err } + case "SAMLOptions": if err := awsRestjson1_deserializeDocumentSAMLOptionsOutput(&sv.SAMLOptions, value); err != nil { return err } + default: _, _ = key, value @@ -12315,10 +12475,12 @@ func awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(v **types.Adv if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12354,6 +12516,7 @@ func awsRestjson1_deserializeDocumentAIMLOptionsOutput(v **types.AIMLOptionsOutp if err := awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput(&sv.NaturalLanguageQueryGenerationOptions, value); err != nil { return err } + default: _, _ = key, value @@ -12389,10 +12552,12 @@ func awsRestjson1_deserializeDocumentAIMLOptionsStatus(v **types.AIMLOptionsStat if err := awsRestjson1_deserializeDocumentAIMLOptionsOutput(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -12432,6 +12597,7 @@ func awsRestjson1_deserializeDocumentAppConfig(v **types.AppConfig, value interf } sv.Key = types.AppConfigType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -12440,6 +12606,7 @@ func awsRestjson1_deserializeDocumentAppConfig(v **types.AppConfig, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12547,6 +12714,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12562,6 +12730,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -12570,6 +12739,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12578,6 +12748,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12593,6 +12764,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12601,6 +12773,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12609,6 +12782,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Status = types.ApplicationStatus(jtv) } + default: _, _ = key, value @@ -12648,6 +12822,7 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.Principal = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -12656,6 +12831,7 @@ func awsRestjson1_deserializeDocumentAuthorizedPrincipal(v **types.AuthorizedPri } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -12725,6 +12901,7 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac if err := awsRestjson1_deserializeDocumentAutoTuneDetails(&sv.AutoTuneDetails, value); err != nil { return err } + case "AutoTuneType": if value != nil { jtv, ok := value.(string) @@ -12733,6 +12910,7 @@ func awsRestjson1_deserializeDocumentAutoTune(v **types.AutoTune, value interfac } sv.AutoTuneType = types.AutoTuneType(jtv) } + default: _, _ = key, value @@ -12768,6 +12946,7 @@ func awsRestjson1_deserializeDocumentAutoTuneDetails(v **types.AutoTuneDetails, if err := awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(&sv.ScheduledAutoTuneDetails, value); err != nil { return err } + default: _, _ = key, value @@ -12841,10 +13020,12 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } sv.CronExpressionForRecurrence = ptr.String(jtv) } + case "Duration": if err := awsRestjson1_deserializeDocumentDuration(&sv.Duration, value); err != nil { return err } + case "StartAt": if value != nil { switch jtv := value.(type) { @@ -12860,6 +13041,7 @@ func awsRestjson1_deserializeDocumentAutoTuneMaintenanceSchedule(v **types.AutoT } } + default: _, _ = key, value @@ -12933,10 +13115,12 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.DesiredState = types.AutoTuneDesiredState(jtv) } + case "MaintenanceSchedules": if err := awsRestjson1_deserializeDocumentAutoTuneMaintenanceScheduleList(&sv.MaintenanceSchedules, value); err != nil { return err } + case "RollbackOnDisable": if value != nil { jtv, ok := value.(string) @@ -12945,6 +13129,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.RollbackOnDisable = types.RollbackOnDisable(jtv) } + case "UseOffPeakWindow": if value != nil { jtv, ok := value.(bool) @@ -12953,6 +13138,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptions(v **types.AutoTuneOptions, } sv.UseOffPeakWindow = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12992,6 +13178,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.ErrorMessage = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13000,6 +13187,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.State = types.AutoTuneState(jtv) } + case "UseOffPeakWindow": if value != nil { jtv, ok := value.(bool) @@ -13008,6 +13196,7 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(v **types.AutoTuneOpt } sv.UseOffPeakWindow = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13043,10 +13232,12 @@ func awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(v **types.AutoTuneOpt if err := awsRestjson1_deserializeDocumentAutoTuneOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentAutoTuneStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -13093,6 +13284,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13101,6 +13293,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.ErrorMessage = ptr.String(jtv) } + case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -13109,6 +13302,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.PendingDeletion = ptr.Bool(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13117,6 +13311,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.State = types.AutoTuneState(jtv) } + case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -13132,6 +13327,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } } + case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -13144,6 +13340,7 @@ func awsRestjson1_deserializeDocumentAutoTuneStatus(v **types.AutoTuneStatus, va } sv.UpdateVersion = int32(i64) } + default: _, _ = key, value @@ -13183,6 +13380,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.AvailabilityZoneName = ptr.String(jtv) } + case "AvailableDataNodeCount": if value != nil { jtv, ok := value.(string) @@ -13191,6 +13389,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.AvailableDataNodeCount = ptr.String(jtv) } + case "ConfiguredDataNodeCount": if value != nil { jtv, ok := value.(string) @@ -13199,6 +13398,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.ConfiguredDataNodeCount = ptr.String(jtv) } + case "TotalShards": if value != nil { jtv, ok := value.(string) @@ -13207,6 +13407,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.TotalShards = ptr.String(jtv) } + case "TotalUnAssignedShards": if value != nil { jtv, ok := value.(string) @@ -13215,6 +13416,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.TotalUnAssignedShards = ptr.String(jtv) } + case "ZoneStatus": if value != nil { jtv, ok := value.(string) @@ -13223,6 +13425,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneInfo(v **types.Availability } sv.ZoneStatus = types.ZoneStatus(jtv) } + default: _, _ = key, value @@ -13332,6 +13535,7 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.DomainName = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -13340,6 +13544,7 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.OwnerId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -13348,6 +13553,7 @@ func awsRestjson1_deserializeDocumentAWSDomainInformation(v **types.AWSDomainInf } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -13387,6 +13593,7 @@ func awsRestjson1_deserializeDocumentBaseException(v **types.BaseException, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13426,6 +13633,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.ActiveValue = ptr.String(jtv) } + case "CancelledValue": if value != nil { jtv, ok := value.(string) @@ -13434,6 +13642,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.CancelledValue = ptr.String(jtv) } + case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -13442,6 +13651,7 @@ func awsRestjson1_deserializeDocumentCancelledChangeProperty(v **types.Cancelled } sv.PropertyName = ptr.String(jtv) } + default: _, _ = key, value @@ -13515,6 +13725,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ChangeId = ptr.String(jtv) } + case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -13523,6 +13734,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } + case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -13531,6 +13743,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13546,6 +13759,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -13554,6 +13768,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } sv.Message = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13569,6 +13784,7 @@ func awsRestjson1_deserializeDocumentChangeProgressDetails(v **types.ChangeProgr } } + default: _, _ = key, value @@ -13608,6 +13824,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -13623,6 +13840,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13631,6 +13849,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13639,6 +13858,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -13712,14 +13932,17 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ChangeId = ptr.String(jtv) } + case "ChangeProgressStages": if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } + case "CompletedProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.CompletedProperties, value); err != nil { return err } + case "ConfigChangeStatus": if value != nil { jtv, ok := value.(string) @@ -13728,6 +13951,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.ConfigChangeStatus = types.ConfigChangeStatus(jtv) } + case "InitiatedBy": if value != nil { jtv, ok := value.(string) @@ -13736,6 +13960,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.InitiatedBy = types.InitiatedBy(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13751,10 +13976,12 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } + case "PendingProperties": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingProperties, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13770,6 +13997,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13778,6 +14006,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.Status = types.OverallChangeStatus(jtv) } + case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -13790,6 +14019,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatusDetails(v **types.Chang } sv.TotalNumberOfStages = int32(i64) } + default: _, _ = key, value @@ -13825,6 +14055,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu if err := awsRestjson1_deserializeDocumentColdStorageOptions(&sv.ColdStorageOptions, value); err != nil { return err } + case "DedicatedMasterCount": if value != nil { jtv, ok := value.(json.Number) @@ -13837,6 +14068,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } + case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -13845,6 +14077,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } + case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -13853,6 +14086,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.DedicatedMasterType = types.OpenSearchPartitionInstanceType(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -13865,6 +14099,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -13873,6 +14108,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } + case "MultiAZWithStandbyEnabled": if value != nil { jtv, ok := value.(bool) @@ -13881,10 +14117,12 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.MultiAZWithStandbyEnabled = ptr.Bool(jtv) } + case "NodeOptions": if err := awsRestjson1_deserializeDocumentNodeOptionsList(&sv.NodeOptions, value); err != nil { return err } + case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -13897,6 +14135,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmCount = ptr.Int32(int32(i64)) } + case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -13905,6 +14144,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmEnabled = ptr.Bool(jtv) } + case "WarmType": if value != nil { jtv, ok := value.(string) @@ -13913,10 +14153,12 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.WarmType = types.OpenSearchWarmPartitionInstanceType(jtv) } + case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentZoneAwarenessConfig(&sv.ZoneAwarenessConfig, value); err != nil { return err } + case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -13925,6 +14167,7 @@ func awsRestjson1_deserializeDocumentClusterConfig(v **types.ClusterConfig, valu } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13960,10 +14203,12 @@ func awsRestjson1_deserializeDocumentClusterConfigStatus(v **types.ClusterConfig if err := awsRestjson1_deserializeDocumentClusterConfig(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14003,6 +14248,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.Enabled = ptr.Bool(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -14011,6 +14257,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.IdentityPoolId = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -14019,6 +14266,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.RoleArn = ptr.String(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -14027,6 +14275,7 @@ func awsRestjson1_deserializeDocumentCognitoOptions(v **types.CognitoOptions, va } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -14062,10 +14311,12 @@ func awsRestjson1_deserializeDocumentCognitoOptionsStatus(v **types.CognitoOptio if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14105,6 +14356,7 @@ func awsRestjson1_deserializeDocumentColdStorageOptions(v **types.ColdStorageOpt } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14178,10 +14430,12 @@ func awsRestjson1_deserializeDocumentCompatibleVersionsMap(v **types.CompatibleV } sv.SourceVersion = ptr.String(jtv) } + case "TargetVersions": if err := awsRestjson1_deserializeDocumentVersionList(&sv.TargetVersions, value); err != nil { return err } + default: _, _ = key, value @@ -14221,6 +14475,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14256,6 +14511,7 @@ func awsRestjson1_deserializeDocumentConnectionProperties(v **types.ConnectionPr if err := awsRestjson1_deserializeDocumentCrossClusterSearchConnectionProperties(&sv.CrossClusterSearch, value); err != nil { return err } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -14264,6 +14520,7 @@ func awsRestjson1_deserializeDocumentConnectionProperties(v **types.ConnectionPr } sv.Endpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -14303,6 +14560,7 @@ func awsRestjson1_deserializeDocumentCrossClusterSearchConnectionProperties(v ** } sv.SkipUnavailable = types.SkipUnavailableStatus(jtv) } + default: _, _ = key, value @@ -14342,6 +14600,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceArn = ptr.String(jtv) } + case "dataSourceDescription": if value != nil { jtv, ok := value.(string) @@ -14350,6 +14609,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -14385,6 +14645,7 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai if err := awsRestjson1_deserializeDocumentDataSourceType(&sv.DataSourceType, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14393,6 +14654,7 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14401,6 +14663,7 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14409,6 +14672,7 @@ func awsRestjson1_deserializeDocumentDataSourceDetails(v **types.DataSourceDetai } sv.Status = types.DataSourceStatus(jtv) } + default: _, _ = key, value @@ -14556,6 +14820,7 @@ func awsRestjson1_deserializeDocumentDependencyFailureException(v **types.Depend } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14595,6 +14860,7 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14630,86 +14896,107 @@ func awsRestjson1_deserializeDocumentDomainConfig(v **types.DomainConfig, value if err := awsRestjson1_deserializeDocumentAccessPoliciesStatus(&sv.AccessPolicies, value); err != nil { return err } + case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptionsStatus(&sv.AdvancedOptions, value); err != nil { return err } + case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptionsStatus(&sv.AdvancedSecurityOptions, value); err != nil { return err } + case "AIMLOptions": if err := awsRestjson1_deserializeDocumentAIMLOptionsStatus(&sv.AIMLOptions, value); err != nil { return err } + case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsStatus(&sv.AutoTuneOptions, value); err != nil { return err } + case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "ClusterConfig": if err := awsRestjson1_deserializeDocumentClusterConfigStatus(&sv.ClusterConfig, value); err != nil { return err } + case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptionsStatus(&sv.CognitoOptions, value); err != nil { return err } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(&sv.DomainEndpointOptions, value); err != nil { return err } + case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptionsStatus(&sv.EBSOptions, value); err != nil { return err } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "EngineVersion": if err := awsRestjson1_deserializeDocumentVersionStatus(&sv.EngineVersion, value); err != nil { return err } + case "IdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIdentityCenterOptionsStatus(&sv.IdentityCenterOptions, value); err != nil { return err } + case "IPAddressType": if err := awsRestjson1_deserializeDocumentIPAddressTypeStatus(&sv.IPAddressType, value); err != nil { return err } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(&sv.LogPublishingOptions, value); err != nil { return err } + case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "OffPeakWindowOptions": if err := awsRestjson1_deserializeDocumentOffPeakWindowOptionsStatus(&sv.OffPeakWindowOptions, value); err != nil { return err } + case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptionsStatus(&sv.SnapshotOptions, value); err != nil { return err } + case "SoftwareUpdateOptions": if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptionsStatus(&sv.SoftwareUpdateOptions, value); err != nil { return err } + case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(&sv.VPCOptions, value); err != nil { return err } + default: _, _ = key, value @@ -14749,6 +15036,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpoint = ptr.String(jtv) } + case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -14757,6 +15045,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointCertificateArn = ptr.String(jtv) } + case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -14765,6 +15054,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.CustomEndpointEnabled = ptr.Bool(jtv) } + case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -14773,6 +15063,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.EnforceHTTPS = ptr.Bool(jtv) } + case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -14781,6 +15072,7 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptions(v **types.DomainEndpo } sv.TLSSecurityPolicy = types.TLSSecurityPolicy(jtv) } + default: _, _ = key, value @@ -14816,10 +15108,12 @@ func awsRestjson1_deserializeDocumentDomainEndpointOptionsStatus(v **types.Domai if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -14859,6 +15153,7 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.DomainName = ptr.String(jtv) } + case "EngineType": if value != nil { jtv, ok := value.(string) @@ -14867,6 +15162,7 @@ func awsRestjson1_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.EngineType = types.EngineType(jtv) } + default: _, _ = key, value @@ -14936,6 +15232,7 @@ func awsRestjson1_deserializeDocumentDomainInformationContainer(v **types.Domain if err := awsRestjson1_deserializeDocumentAWSDomainInformation(&sv.AWSDomainInformation, value); err != nil { return err } + default: _, _ = key, value @@ -14975,6 +15272,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.Action = types.MaintenanceType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -14990,6 +15288,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -14998,6 +15297,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.DomainName = ptr.String(jtv) } + case "MaintenanceId": if value != nil { jtv, ok := value.(string) @@ -15006,6 +15306,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.MaintenanceId = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -15014,6 +15315,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.NodeId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15022,6 +15324,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.Status = types.MaintenanceStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -15030,6 +15333,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15045,6 +15349,7 @@ func awsRestjson1_deserializeDocumentDomainMaintenanceDetails(v **types.DomainMa } } + default: _, _ = key, value @@ -15118,6 +15423,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.AvailabilityZone = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -15126,6 +15432,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -15134,6 +15441,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeId = ptr.String(jtv) } + case "NodeStatus": if value != nil { jtv, ok := value.(string) @@ -15142,6 +15450,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeStatus = types.NodeStatus(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -15150,6 +15459,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.NodeType = types.NodeType(jtv) } + case "StorageSize": if value != nil { jtv, ok := value.(string) @@ -15158,6 +15468,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageSize = ptr.String(jtv) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -15166,6 +15477,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageType = ptr.String(jtv) } + case "StorageVolumeType": if value != nil { jtv, ok := value.(string) @@ -15174,6 +15486,7 @@ func awsRestjson1_deserializeDocumentDomainNodesStatus(v **types.DomainNodesStat } sv.StorageVolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -15247,6 +15560,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainName = ptr.String(jtv) } + case "DomainPackageStatus": if value != nil { jtv, ok := value.(string) @@ -15255,10 +15569,12 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.DomainPackageStatus = types.DomainPackageStatus(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -15274,6 +15590,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -15282,6 +15599,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageID = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -15290,6 +15608,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageName = ptr.String(jtv) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -15298,6 +15617,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageType = types.PackageType(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -15306,6 +15626,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.PackageVersion = ptr.String(jtv) } + case "ReferencePath": if value != nil { jtv, ok := value.(string) @@ -15314,6 +15635,7 @@ func awsRestjson1_deserializeDocumentDomainPackageDetails(v **types.DomainPackag } sv.ReferencePath = ptr.String(jtv) } + default: _, _ = key, value @@ -15387,18 +15709,22 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.AccessPolicies = ptr.String(jtv) } + case "AdvancedOptions": if err := awsRestjson1_deserializeDocumentAdvancedOptions(&sv.AdvancedOptions, value); err != nil { return err } + case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAdvancedSecurityOptions(&sv.AdvancedSecurityOptions, value); err != nil { return err } + case "AIMLOptions": if err := awsRestjson1_deserializeDocumentAIMLOptionsOutput(&sv.AIMLOptions, value); err != nil { return err } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -15407,22 +15733,27 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.ARN = ptr.String(jtv) } + case "AutoTuneOptions": if err := awsRestjson1_deserializeDocumentAutoTuneOptionsOutput(&sv.AutoTuneOptions, value); err != nil { return err } + case "ChangeProgressDetails": if err := awsRestjson1_deserializeDocumentChangeProgressDetails(&sv.ChangeProgressDetails, value); err != nil { return err } + case "ClusterConfig": if err := awsRestjson1_deserializeDocumentClusterConfig(&sv.ClusterConfig, value); err != nil { return err } + case "CognitoOptions": if err := awsRestjson1_deserializeDocumentCognitoOptions(&sv.CognitoOptions, value); err != nil { return err } + case "Created": if value != nil { jtv, ok := value.(bool) @@ -15431,6 +15762,7 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Created = ptr.Bool(jtv) } + case "Deleted": if value != nil { jtv, ok := value.(bool) @@ -15439,10 +15771,12 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Deleted = ptr.Bool(jtv) } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } + case "DomainEndpointV2HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -15451,6 +15785,7 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainEndpointV2HostedZoneId = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -15459,6 +15794,7 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -15467,6 +15803,7 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainName = ptr.String(jtv) } + case "DomainProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -15475,14 +15812,17 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.DomainProcessingStatus = types.DomainProcessingStatusType(jtv) } + case "EBSOptions": if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.EBSOptions, value); err != nil { return err } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -15491,10 +15831,12 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Endpoint = ptr.String(jtv) } + case "Endpoints": if err := awsRestjson1_deserializeDocumentEndpointsMap(&sv.Endpoints, value); err != nil { return err } + case "EndpointV2": if value != nil { jtv, ok := value.(string) @@ -15503,6 +15845,7 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.EndpointV2 = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -15511,10 +15854,12 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.EngineVersion = ptr.String(jtv) } + case "IdentityCenterOptions": if err := awsRestjson1_deserializeDocumentIdentityCenterOptions(&sv.IdentityCenterOptions, value); err != nil { return err } + case "IPAddressType": if value != nil { jtv, ok := value.(string) @@ -15523,22 +15868,27 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.IPAddressType = types.IPAddressType(jtv) } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } + case "ModifyingProperties": if err := awsRestjson1_deserializeDocumentModifyingPropertiesList(&sv.ModifyingProperties, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "OffPeakWindowOptions": if err := awsRestjson1_deserializeDocumentOffPeakWindowOptions(&sv.OffPeakWindowOptions, value); err != nil { return err } + case "Processing": if value != nil { jtv, ok := value.(bool) @@ -15547,18 +15897,22 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.Processing = ptr.Bool(jtv) } + case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + case "SnapshotOptions": if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.SnapshotOptions, value); err != nil { return err } + case "SoftwareUpdateOptions": if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptions(&sv.SoftwareUpdateOptions, value); err != nil { return err } + case "UpgradeProcessing": if value != nil { jtv, ok := value.(bool) @@ -15567,10 +15921,12 @@ func awsRestjson1_deserializeDocumentDomainStatus(v **types.DomainStatus, value } sv.UpgradeProcessing = ptr.Bool(jtv) } + case "VPCOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VPCOptions, value); err != nil { return err } + default: _, _ = key, value @@ -15644,6 +16000,7 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.CreationDate = ptr.String(jtv) } + case "DryRunId": if value != nil { jtv, ok := value.(string) @@ -15652,6 +16009,7 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.DryRunId = ptr.String(jtv) } + case "DryRunStatus": if value != nil { jtv, ok := value.(string) @@ -15660,6 +16018,7 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.DryRunStatus = ptr.String(jtv) } + case "UpdateDate": if value != nil { jtv, ok := value.(string) @@ -15668,10 +16027,12 @@ func awsRestjson1_deserializeDocumentDryRunProgressStatus(v **types.DryRunProgre } sv.UpdateDate = ptr.String(jtv) } + case "ValidationFailures": if err := awsRestjson1_deserializeDocumentValidationFailures(&sv.ValidationFailures, value); err != nil { return err } + default: _, _ = key, value @@ -15711,6 +16072,7 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.DeploymentType = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15719,6 +16081,7 @@ func awsRestjson1_deserializeDocumentDryRunResults(v **types.DryRunResults, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15758,6 +16121,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Unit = types.TimeUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -15770,6 +16134,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -15809,6 +16174,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.EBSEnabled = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -15821,6 +16187,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Iops = ptr.Int32(int32(i64)) } + case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -15833,6 +16200,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.Throughput = ptr.Int32(int32(i64)) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -15845,6 +16213,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -15853,6 +16222,7 @@ func awsRestjson1_deserializeDocumentEBSOptions(v **types.EBSOptions, value inte } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -15888,10 +16258,12 @@ func awsRestjson1_deserializeDocumentEBSOptionsStatus(v **types.EBSOptionsStatus if err := awsRestjson1_deserializeDocumentEBSOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -15931,6 +16303,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.Enabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -15939,6 +16312,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -15974,10 +16348,12 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptionsStatus(v **types.Enc if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -16049,6 +16425,7 @@ func awsRestjson1_deserializeDocumentEnvironmentInfo(v **types.EnvironmentInfo, if err := awsRestjson1_deserializeDocumentAvailabilityZoneInfoList(&sv.AvailabilityZoneInformation, value); err != nil { return err } + default: _, _ = key, value @@ -16122,6 +16499,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -16130,6 +16508,7 @@ func awsRestjson1_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -16205,6 +16584,7 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.Enabled = ptr.Bool(jtv) } + case "iamIdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -16213,6 +16593,7 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamIdentityCenterApplicationArn = ptr.String(jtv) } + case "iamIdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -16221,6 +16602,7 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamIdentityCenterInstanceArn = ptr.String(jtv) } + case "iamRoleForIdentityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -16229,6 +16611,7 @@ func awsRestjson1_deserializeDocumentIamIdentityCenterOptions(v **types.IamIdent } sv.IamRoleForIdentityCenterApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16268,6 +16651,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.EnabledAPIAccess = ptr.Bool(jtv) } + case "IdentityCenterApplicationARN": if value != nil { jtv, ok := value.(string) @@ -16276,6 +16660,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityCenterApplicationARN = ptr.String(jtv) } + case "IdentityCenterInstanceARN": if value != nil { jtv, ok := value.(string) @@ -16284,6 +16669,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityCenterInstanceARN = ptr.String(jtv) } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -16292,6 +16678,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.IdentityStoreId = ptr.String(jtv) } + case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -16300,6 +16687,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.RolesKey = types.RolesKeyIdCOption(jtv) } + case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -16308,6 +16696,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptions(v **types.IdentityCen } sv.SubjectKey = types.SubjectKeyIdCOption(jtv) } + default: _, _ = key, value @@ -16343,10 +16732,12 @@ func awsRestjson1_deserializeDocumentIdentityCenterOptionsStatus(v **types.Ident if err := awsRestjson1_deserializeDocumentIdentityCenterOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -16386,6 +16777,7 @@ func awsRestjson1_deserializeDocumentInboundConnection(v **types.InboundConnecti } sv.ConnectionId = ptr.String(jtv) } + case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -16394,18 +16786,22 @@ func awsRestjson1_deserializeDocumentInboundConnection(v **types.InboundConnecti } sv.ConnectionMode = types.ConnectionMode(jtv) } + case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentInboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } + case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -16479,6 +16875,7 @@ func awsRestjson1_deserializeDocumentInboundConnectionStatus(v **types.InboundCo } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -16487,6 +16884,7 @@ func awsRestjson1_deserializeDocumentInboundConnectionStatus(v **types.InboundCo } sv.StatusCode = types.InboundConnectionStatusCode(jtv) } + default: _, _ = key, value @@ -16530,6 +16928,7 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MaximumInstanceCount = int32(i64) } + case "MinimumInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -16542,6 +16941,7 @@ func awsRestjson1_deserializeDocumentInstanceCountLimits(v **types.InstanceCount } sv.MinimumInstanceCount = int32(i64) } + default: _, _ = key, value @@ -16577,6 +16977,7 @@ func awsRestjson1_deserializeDocumentInstanceLimits(v **types.InstanceLimits, va if err := awsRestjson1_deserializeDocumentInstanceCountLimits(&sv.InstanceCountLimits, value); err != nil { return err } + default: _, _ = key, value @@ -16652,6 +17053,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.AdvancedSecurityEnabled = ptr.Bool(jtv) } + case "AppLogsEnabled": if value != nil { jtv, ok := value.(bool) @@ -16660,10 +17062,12 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.AppLogsEnabled = ptr.Bool(jtv) } + case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentAvailabilityZoneList(&sv.AvailabilityZones, value); err != nil { return err } + case "CognitoEnabled": if value != nil { jtv, ok := value.(bool) @@ -16672,6 +17076,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.CognitoEnabled = ptr.Bool(jtv) } + case "EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16680,10 +17085,12 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.EncryptionEnabled = ptr.Bool(jtv) } + case "InstanceRole": if err := awsRestjson1_deserializeDocumentInstanceRoleList(&sv.InstanceRole, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16692,6 +17099,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } + case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -16700,6 +17108,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeDetails(v **types.InstanceTypeD } sv.WarmEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16773,6 +17182,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16812,6 +17222,7 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16851,6 +17262,7 @@ func awsRestjson1_deserializeDocumentInvalidTypeException(v **types.InvalidTypeE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16890,10 +17302,12 @@ func awsRestjson1_deserializeDocumentIPAddressTypeStatus(v **types.IPAddressType } sv.Options = types.IPAddressType(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -16969,6 +17383,7 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.Enabled = ptr.Bool(jtv) } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -16977,6 +17392,7 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.PublicKey = ptr.String(jtv) } + case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -16985,6 +17401,7 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.RolesKey = ptr.String(jtv) } + case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -16993,6 +17410,7 @@ func awsRestjson1_deserializeDocumentJWTOptionsOutput(v **types.JWTOptionsOutput } sv.SubjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -17032,6 +17450,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17067,14 +17486,17 @@ func awsRestjson1_deserializeDocumentLimits(v **types.Limits, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalLimitList(&sv.AdditionalLimits, value); err != nil { return err } + case "InstanceLimits": if err := awsRestjson1_deserializeDocumentInstanceLimits(&sv.InstanceLimits, value); err != nil { return err } + case "StorageTypes": if err := awsRestjson1_deserializeDocumentStorageTypeList(&sv.StorageTypes, value); err != nil { return err } + default: _, _ = key, value @@ -17185,6 +17607,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17193,6 +17616,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOption(v **types.LogPublishing } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17263,10 +17687,12 @@ func awsRestjson1_deserializeDocumentLogPublishingOptionsStatus(v **types.LogPub if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -17306,6 +17732,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ActiveValue = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17314,6 +17741,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.Name = ptr.String(jtv) } + case "PendingValue": if value != nil { jtv, ok := value.(string) @@ -17322,6 +17750,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.PendingValue = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -17330,6 +17759,7 @@ func awsRestjson1_deserializeDocumentModifyingProperties(v **types.ModifyingProp } sv.ValueType = types.PropertyValueType(jtv) } + default: _, _ = key, value @@ -17403,6 +17833,7 @@ func awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput } sv.CurrentState = types.NaturalLanguageQueryGenerationCurrentState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -17411,6 +17842,7 @@ func awsRestjson1_deserializeDocumentNaturalLanguageQueryGenerationOptionsOutput } sv.DesiredState = types.NaturalLanguageQueryGenerationDesiredState(jtv) } + default: _, _ = key, value @@ -17454,6 +17886,7 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Count = ptr.Int32(int32(i64)) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -17462,6 +17895,7 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Enabled = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17470,6 +17904,7 @@ func awsRestjson1_deserializeDocumentNodeConfig(v **types.NodeConfig, value inte } sv.Type = types.OpenSearchPartitionInstanceType(jtv) } + default: _, _ = key, value @@ -17505,6 +17940,7 @@ func awsRestjson1_deserializeDocumentNodeOption(v **types.NodeOption, value inte if err := awsRestjson1_deserializeDocumentNodeConfig(&sv.NodeConfig, value); err != nil { return err } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -17513,6 +17949,7 @@ func awsRestjson1_deserializeDocumentNodeOption(v **types.NodeOption, value inte } sv.NodeType = types.NodeOptionsNodeType(jtv) } + default: _, _ = key, value @@ -17586,6 +18023,7 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(v **types.NodeT } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17621,10 +18059,12 @@ func awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptionsStatus(v **types if err := awsRestjson1_deserializeDocumentNodeToNodeEncryptionOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -17660,6 +18100,7 @@ func awsRestjson1_deserializeDocumentOffPeakWindow(v **types.OffPeakWindow, valu if err := awsRestjson1_deserializeDocumentWindowStartTime(&sv.WindowStartTime, value); err != nil { return err } + default: _, _ = key, value @@ -17699,10 +18140,12 @@ func awsRestjson1_deserializeDocumentOffPeakWindowOptions(v **types.OffPeakWindo } sv.Enabled = ptr.Bool(jtv) } + case "OffPeakWindow": if err := awsRestjson1_deserializeDocumentOffPeakWindow(&sv.OffPeakWindow, value); err != nil { return err } + default: _, _ = key, value @@ -17738,10 +18181,12 @@ func awsRestjson1_deserializeDocumentOffPeakWindowOptionsStatus(v **types.OffPea if err := awsRestjson1_deserializeDocumentOffPeakWindowOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -17788,6 +18233,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } + case "PendingDeletion": if value != nil { jtv, ok := value.(bool) @@ -17796,6 +18242,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.PendingDeletion = ptr.Bool(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17804,6 +18251,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.State = types.OptionState(jtv) } + case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -17819,6 +18267,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } } + case "UpdateVersion": if value != nil { jtv, ok := value.(json.Number) @@ -17831,6 +18280,7 @@ func awsRestjson1_deserializeDocumentOptionStatus(v **types.OptionStatus, value } sv.UpdateVersion = int32(i64) } + default: _, _ = key, value @@ -17870,6 +18320,7 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionAlias = ptr.String(jtv) } + case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -17878,6 +18329,7 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionId = ptr.String(jtv) } + case "ConnectionMode": if value != nil { jtv, ok := value.(string) @@ -17886,22 +18338,27 @@ func awsRestjson1_deserializeDocumentOutboundConnection(v **types.OutboundConnec } sv.ConnectionMode = types.ConnectionMode(jtv) } + case "ConnectionProperties": if err := awsRestjson1_deserializeDocumentConnectionProperties(&sv.ConnectionProperties, value); err != nil { return err } + case "ConnectionStatus": if err := awsRestjson1_deserializeDocumentOutboundConnectionStatus(&sv.ConnectionStatus, value); err != nil { return err } + case "LocalDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.LocalDomainInfo, value); err != nil { return err } + case "RemoteDomainInfo": if err := awsRestjson1_deserializeDocumentDomainInformationContainer(&sv.RemoteDomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -17975,6 +18432,7 @@ func awsRestjson1_deserializeDocumentOutboundConnectionStatus(v **types.Outbound } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -17983,6 +18441,7 @@ func awsRestjson1_deserializeDocumentOutboundConnectionStatus(v **types.Outbound } sv.StatusCode = types.OutboundConnectionStatusCode(jtv) } + default: _, _ = key, value @@ -18022,10 +18481,12 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.AvailablePackageVersion = ptr.String(jtv) } + case "AvailablePluginProperties": if err := awsRestjson1_deserializeDocumentPluginProperties(&sv.AvailablePluginProperties, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18041,6 +18502,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -18049,10 +18511,12 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.EngineVersion = ptr.String(jtv) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -18068,6 +18532,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } } + case "PackageDescription": if value != nil { jtv, ok := value.(string) @@ -18076,6 +18541,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageDescription = ptr.String(jtv) } + case "PackageID": if value != nil { jtv, ok := value.(string) @@ -18084,6 +18550,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageID = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -18092,6 +18559,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageName = ptr.String(jtv) } + case "PackageStatus": if value != nil { jtv, ok := value.(string) @@ -18100,6 +18568,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageStatus = types.PackageStatus(jtv) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -18108,6 +18577,7 @@ func awsRestjson1_deserializeDocumentPackageDetails(v **types.PackageDetails, va } sv.PackageType = types.PackageType(jtv) } + default: _, _ = key, value @@ -18181,6 +18651,7 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.CommitMessage = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -18196,6 +18667,7 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -18204,10 +18676,12 @@ func awsRestjson1_deserializeDocumentPackageVersionHistory(v **types.PackageVers } sv.PackageVersion = ptr.String(jtv) } + case "PluginProperties": if err := awsRestjson1_deserializeDocumentPluginProperties(&sv.PluginProperties, value); err != nil { return err } + default: _, _ = key, value @@ -18281,6 +18755,7 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.ClassName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18289,6 +18764,7 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18297,6 +18773,7 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Name = ptr.String(jtv) } + case "UncompressedSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -18309,6 +18786,7 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.UncompressedSizeInBytes = ptr.Int64(i64) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -18317,6 +18795,7 @@ func awsRestjson1_deserializeDocumentPluginProperties(v **types.PluginProperties } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -18381,6 +18860,7 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } } + case "RecurringChargeFrequency": if value != nil { jtv, ok := value.(string) @@ -18389,6 +18869,7 @@ func awsRestjson1_deserializeDocumentRecurringCharge(v **types.RecurringCharge, } sv.RecurringChargeFrequency = ptr.String(jtv) } + default: _, _ = key, value @@ -18466,6 +18947,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.BillingSubscriptionId = ptr.Int64(i64) } + case "CurrencyCode": if value != nil { jtv, ok := value.(string) @@ -18474,6 +18956,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.CurrencyCode = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -18486,6 +18969,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.Duration = int32(i64) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -18519,6 +19003,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -18531,6 +19016,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.InstanceCount = int32(i64) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -18539,6 +19025,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -18547,10 +19034,12 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.PaymentOption = types.ReservedInstancePaymentOption(jtv) } + case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservationName": if value != nil { jtv, ok := value.(string) @@ -18559,6 +19048,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservationName = ptr.String(jtv) } + case "ReservedInstanceId": if value != nil { jtv, ok := value.(string) @@ -18567,6 +19057,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservedInstanceId = ptr.String(jtv) } + case "ReservedInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -18575,6 +19066,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.ReservedInstanceOfferingId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -18590,6 +19082,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } + case "State": if value != nil { jtv, ok := value.(string) @@ -18598,6 +19091,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } sv.State = ptr.String(jtv) } + case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -18631,6 +19125,7 @@ func awsRestjson1_deserializeDocumentReservedInstance(v **types.ReservedInstance } } + default: _, _ = key, value @@ -18704,6 +19199,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.CurrencyCode = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -18716,6 +19212,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.Duration = int32(i64) } + case "FixedPrice": if value != nil { switch jtv := value.(type) { @@ -18749,6 +19246,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -18757,6 +19255,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.InstanceType = types.OpenSearchPartitionInstanceType(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -18765,10 +19264,12 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.PaymentOption = types.ReservedInstancePaymentOption(jtv) } + case "RecurringCharges": if err := awsRestjson1_deserializeDocumentRecurringChargeList(&sv.RecurringCharges, value); err != nil { return err } + case "ReservedInstanceOfferingId": if value != nil { jtv, ok := value.(string) @@ -18777,6 +19278,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } sv.ReservedInstanceOfferingId = ptr.String(jtv) } + case "UsagePrice": if value != nil { switch jtv := value.(type) { @@ -18810,6 +19312,7 @@ func awsRestjson1_deserializeDocumentReservedInstanceOffering(v **types.Reserved } } + default: _, _ = key, value @@ -18883,6 +19386,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18922,6 +19426,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18961,6 +19466,7 @@ func awsRestjson1_deserializeDocumentS3GlueDataCatalog(v **types.S3GlueDataCatal } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19000,6 +19506,7 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.EntityId = ptr.String(jtv) } + case "MetadataContent": if value != nil { jtv, ok := value.(string) @@ -19008,6 +19515,7 @@ func awsRestjson1_deserializeDocumentSAMLIdp(v **types.SAMLIdp, value interface{ } sv.MetadataContent = ptr.String(jtv) } + default: _, _ = key, value @@ -19047,10 +19555,12 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.Enabled = ptr.Bool(jtv) } + case "Idp": if err := awsRestjson1_deserializeDocumentSAMLIdp(&sv.Idp, value); err != nil { return err } + case "RolesKey": if value != nil { jtv, ok := value.(string) @@ -19059,6 +19569,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.RolesKey = ptr.String(jtv) } + case "SessionTimeoutMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -19071,6 +19582,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SessionTimeoutMinutes = ptr.Int32(int32(i64)) } + case "SubjectKey": if value != nil { jtv, ok := value.(string) @@ -19079,6 +19591,7 @@ func awsRestjson1_deserializeDocumentSAMLOptionsOutput(v **types.SAMLOptionsOutp } sv.SubjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -19118,6 +19631,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Cancellable = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19126,6 +19640,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -19134,6 +19649,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Id = ptr.String(jtv) } + case "Mandatory": if value != nil { jtv, ok := value.(bool) @@ -19142,6 +19658,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Mandatory = ptr.Bool(jtv) } + case "ScheduledBy": if value != nil { jtv, ok := value.(string) @@ -19150,6 +19667,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledBy = types.ScheduledBy(jtv) } + case "ScheduledTime": if value != nil { jtv, ok := value.(json.Number) @@ -19162,6 +19680,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.ScheduledTime = ptr.Int64(i64) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -19170,6 +19689,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Severity = types.ActionSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19178,6 +19698,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Status = types.ActionStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19186,6 +19707,7 @@ func awsRestjson1_deserializeDocumentScheduledAction(v **types.ScheduledAction, } sv.Type = types.ActionType(jtv) } + default: _, _ = key, value @@ -19259,6 +19781,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Action = ptr.String(jtv) } + case "ActionType": if value != nil { jtv, ok := value.(string) @@ -19267,6 +19790,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.ActionType = types.ScheduledAutoTuneActionType(jtv) } + case "Date": if value != nil { switch jtv := value.(type) { @@ -19282,6 +19806,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -19290,6 +19815,7 @@ func awsRestjson1_deserializeDocumentScheduledAutoTuneDetails(v **types.Schedule } sv.Severity = types.ScheduledAutoTuneSeverityType(jtv) } + default: _, _ = key, value @@ -19336,6 +19862,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } } + case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -19344,6 +19871,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Cancellable = ptr.Bool(jtv) } + case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -19352,6 +19880,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.CurrentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19360,6 +19889,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.Description = ptr.String(jtv) } + case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -19368,6 +19898,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.NewVersion = ptr.String(jtv) } + case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -19376,6 +19907,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.OptionalDeployment = ptr.Bool(jtv) } + case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -19384,6 +19916,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateAvailable = ptr.Bool(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -19392,6 +19925,7 @@ func awsRestjson1_deserializeDocumentServiceSoftwareOptions(v **types.ServiceSof } sv.UpdateStatus = types.DeploymentStatus(jtv) } + default: _, _ = key, value @@ -19471,10 +20005,12 @@ func awsRestjson1_deserializeDocumentSlotNotAvailableException(v **types.SlotNot } sv.Message = ptr.String(jtv) } + case "SlotSuggestions": if err := awsRestjson1_deserializeDocumentSlotList(&sv.SlotSuggestions, value); err != nil { return err } + default: _, _ = key, value @@ -19518,6 +20054,7 @@ func awsRestjson1_deserializeDocumentSnapshotOptions(v **types.SnapshotOptions, } sv.AutomatedSnapshotStartHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19553,10 +20090,12 @@ func awsRestjson1_deserializeDocumentSnapshotOptionsStatus(v **types.SnapshotOpt if err := awsRestjson1_deserializeDocumentSnapshotOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -19596,6 +20135,7 @@ func awsRestjson1_deserializeDocumentSoftwareUpdateOptions(v **types.SoftwareUpd } sv.AutoSoftwareUpdateEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -19631,10 +20171,12 @@ func awsRestjson1_deserializeDocumentSoftwareUpdateOptionsStatus(v **types.Softw if err := awsRestjson1_deserializeDocumentSoftwareUpdateOptions(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -19674,10 +20216,12 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageSubTypeName = ptr.String(jtv) } + case "StorageTypeLimits": if err := awsRestjson1_deserializeDocumentStorageTypeLimitList(&sv.StorageTypeLimits, value); err != nil { return err } + case "StorageTypeName": if value != nil { jtv, ok := value.(string) @@ -19686,6 +20230,7 @@ func awsRestjson1_deserializeDocumentStorageType(v **types.StorageType, value in } sv.StorageTypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -19725,10 +20270,12 @@ func awsRestjson1_deserializeDocumentStorageTypeLimit(v **types.StorageTypeLimit } sv.LimitName = ptr.String(jtv) } + case "LimitValues": if err := awsRestjson1_deserializeDocumentLimitValueList(&sv.LimitValues, value); err != nil { return err } + default: _, _ = key, value @@ -19872,6 +20419,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -19880,6 +20428,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -19960,10 +20509,12 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } } + case "StepsList": if err := awsRestjson1_deserializeDocumentUpgradeStepsList(&sv.StepsList, value); err != nil { return err } + case "UpgradeName": if value != nil { jtv, ok := value.(string) @@ -19972,6 +20523,7 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeName = ptr.String(jtv) } + case "UpgradeStatus": if value != nil { jtv, ok := value.(string) @@ -19980,6 +20532,7 @@ func awsRestjson1_deserializeDocumentUpgradeHistory(v **types.UpgradeHistory, va } sv.UpgradeStatus = types.UpgradeStatus(jtv) } + default: _, _ = key, value @@ -20049,6 +20602,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, if err := awsRestjson1_deserializeDocumentIssues(&sv.Issues, value); err != nil { return err } + case "ProgressPercent": if value != nil { switch jtv := value.(type) { @@ -20082,6 +20636,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } } + case "UpgradeStep": if value != nil { jtv, ok := value.(string) @@ -20090,6 +20645,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStep = types.UpgradeStep(jtv) } + case "UpgradeStepStatus": if value != nil { jtv, ok := value.(string) @@ -20098,6 +20654,7 @@ func awsRestjson1_deserializeDocumentUpgradeStepItem(v **types.UpgradeStepItem, } sv.UpgradeStepStatus = types.UpgradeStatus(jtv) } + default: _, _ = key, value @@ -20171,6 +20728,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20210,6 +20768,7 @@ func awsRestjson1_deserializeDocumentValidationFailure(v **types.ValidationFailu } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -20218,6 +20777,7 @@ func awsRestjson1_deserializeDocumentValidationFailure(v **types.ValidationFailu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20327,10 +20887,12 @@ func awsRestjson1_deserializeDocumentVersionStatus(v **types.VersionStatus, valu } sv.Options = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -20366,14 +20928,17 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -20382,6 +20947,7 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfo(v **types.VPCDerivedInfo, va } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -20417,10 +20983,12 @@ func awsRestjson1_deserializeDocumentVPCDerivedInfoStatus(v **types.VPCDerivedIn if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.Options, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentOptionStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -20460,6 +21028,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.DomainArn = ptr.String(jtv) } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -20468,6 +21037,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Endpoint = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20476,6 +21046,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.Status = types.VpcEndpointStatus(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -20484,6 +21055,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -20492,10 +21064,12 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointOwner = ptr.String(jtv) } + case "VpcOptions": if err := awsRestjson1_deserializeDocumentVPCDerivedInfo(&sv.VpcOptions, value); err != nil { return err } + default: _, _ = key, value @@ -20535,6 +21109,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorCode = types.VpcEndpointErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -20543,6 +21118,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.ErrorMessage = ptr.String(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -20551,6 +21127,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointError(v **types.VpcEndpointError } sv.VpcEndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -20658,6 +21235,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.DomainArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20666,6 +21244,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -20674,6 +21253,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcEndpointOwner": if value != nil { jtv, ok := value.(string) @@ -20682,6 +21262,7 @@ func awsRestjson1_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.VpcEndpointOwner = ptr.String(jtv) } + default: _, _ = key, value @@ -20759,6 +21340,7 @@ func awsRestjson1_deserializeDocumentWindowStartTime(v **types.WindowStartTime, } sv.Hours = i64 } + case "Minutes": if value != nil { jtv, ok := value.(json.Number) @@ -20771,6 +21353,7 @@ func awsRestjson1_deserializeDocumentWindowStartTime(v **types.WindowStartTime, } sv.Minutes = i64 } + default: _, _ = key, value @@ -20814,6 +21397,7 @@ func awsRestjson1_deserializeDocumentZoneAwarenessConfig(v **types.ZoneAwareness } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/opensearchserverless/deserializers.go b/service/opensearchserverless/deserializers.go index f14b5d31d01..836834287b2 100644 --- a/service/opensearchserverless/deserializers.go +++ b/service/opensearchserverless/deserializers.go @@ -4628,6 +4628,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4636,6 +4637,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -4648,6 +4650,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4656,10 +4659,12 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Name = ptr.String(jtv) } + case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -4668,6 +4673,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4676,6 +4682,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyDetail(v **types.AccessPolicyDe } sv.Type = types.AccessPolicyType(jtv) } + default: _, _ = key, value @@ -4719,6 +4726,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicyStats(v **types.AccessPolicySta } sv.DataPolicyCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -4796,6 +4804,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4804,6 +4813,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -4816,6 +4826,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4824,6 +4835,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Name = ptr.String(jtv) } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -4832,6 +4844,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4840,6 +4853,7 @@ func awsAwsjson10_deserializeDocumentAccessPolicySummary(v **types.AccessPolicyS } sv.Type = types.AccessPolicyType(jtv) } + default: _, _ = key, value @@ -4875,6 +4889,7 @@ func awsAwsjson10_deserializeDocumentAccountSettingsDetail(v **types.AccountSett if err := awsAwsjson10_deserializeDocumentCapacityLimits(&sv.CapacityLimits, value); err != nil { return err } + default: _, _ = key, value @@ -4918,6 +4933,7 @@ func awsAwsjson10_deserializeDocumentCapacityLimits(v **types.CapacityLimits, va } sv.MaxIndexingCapacityInOCU = ptr.Int32(int32(i64)) } + case "maxSearchCapacityInOCU": if value != nil { jtv, ok := value.(json.Number) @@ -4930,6 +4946,7 @@ func awsAwsjson10_deserializeDocumentCapacityLimits(v **types.CapacityLimits, va } sv.MaxSearchCapacityInOCU = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4969,6 +4986,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Arn = ptr.String(jtv) } + case "collectionEndpoint": if value != nil { jtv, ok := value.(string) @@ -4977,6 +4995,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.CollectionEndpoint = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -4989,6 +5008,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.CreatedDate = ptr.Int64(i64) } + case "dashboardEndpoint": if value != nil { jtv, ok := value.(string) @@ -4997,6 +5017,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.DashboardEndpoint = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5005,6 +5026,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Description = ptr.String(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5013,6 +5035,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5021,6 +5044,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5029,6 +5053,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Id = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5037,6 +5062,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.KmsKeyArn = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -5049,6 +5075,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5057,6 +5084,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Name = ptr.String(jtv) } + case "standbyReplicas": if value != nil { jtv, ok := value.(string) @@ -5065,6 +5093,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.StandbyReplicas = types.StandbyReplicas(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5073,6 +5102,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Status = types.CollectionStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5081,6 +5111,7 @@ func awsAwsjson10_deserializeDocumentCollectionDetail(v **types.CollectionDetail } sv.Type = types.CollectionType(jtv) } + default: _, _ = key, value @@ -5154,6 +5185,7 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5162,6 +5194,7 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5170,6 +5203,7 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5212,7 @@ func awsAwsjson10_deserializeDocumentCollectionErrorDetail(v **types.CollectionE } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5285,6 +5320,7 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5293,6 +5329,7 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5301,6 +5338,7 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5309,6 +5347,7 @@ func awsAwsjson10_deserializeDocumentCollectionSummary(v **types.CollectionSumma } sv.Status = types.CollectionStatus(jtv) } + default: _, _ = key, value @@ -5348,6 +5387,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5387,6 +5427,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -5399,6 +5440,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5407,6 +5449,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5415,6 +5458,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Id = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -5423,6 +5467,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.KmsKeyArn = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -5435,6 +5480,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5443,6 +5489,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Name = ptr.String(jtv) } + case "standbyReplicas": if value != nil { jtv, ok := value.(string) @@ -5451,6 +5498,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.StandbyReplicas = types.StandbyReplicas(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5459,6 +5507,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Status = types.CollectionStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5467,6 +5516,7 @@ func awsAwsjson10_deserializeDocumentCreateCollectionDetail(v **types.CreateColl } sv.Type = types.CollectionType(jtv) } + default: _, _ = key, value @@ -5506,6 +5556,7 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5514,6 +5565,7 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5522,6 +5574,7 @@ func awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(v **types.CreateVpc } sv.Status = types.VpcEndpointStatus(jtv) } + default: _, _ = key, value @@ -5561,6 +5614,7 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5569,6 +5623,7 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5577,6 +5632,7 @@ func awsAwsjson10_deserializeDocumentDeleteCollectionDetail(v **types.DeleteColl } sv.Status = types.CollectionStatus(jtv) } + default: _, _ = key, value @@ -5616,6 +5672,7 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5624,6 +5681,7 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5632,6 +5690,7 @@ func awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(v **types.DeleteVpc } sv.Status = types.VpcEndpointStatus(jtv) } + default: _, _ = key, value @@ -5671,6 +5730,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.NoMinRetentionPeriod = ptr.Bool(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -5679,6 +5739,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.PolicyName = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -5687,6 +5748,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5695,6 +5757,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.ResourceType = types.ResourceType(jtv) } + case "retentionPeriod": if value != nil { jtv, ok := value.(string) @@ -5703,6 +5766,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.RetentionPeriod = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5711,6 +5775,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetail(v **types.Ef } sv.Type = types.LifecyclePolicyType(jtv) } + default: _, _ = key, value @@ -5784,6 +5849,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5792,6 +5858,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.ErrorMessage = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -5800,6 +5867,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.Resource = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5808,6 +5876,7 @@ func awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetail(v **typ } sv.Type = types.LifecyclePolicyType(jtv) } + default: _, _ = key, value @@ -5881,6 +5950,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationArn = ptr.String(jtv) } + case "applicationDescription": if value != nil { jtv, ok := value.(string) @@ -5889,6 +5959,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationDescription = ptr.String(jtv) } + case "applicationName": if value != nil { jtv, ok := value.(string) @@ -5897,6 +5968,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.ApplicationName = ptr.String(jtv) } + case "groupAttribute": if value != nil { jtv, ok := value.(string) @@ -5905,6 +5977,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.GroupAttribute = types.IamIdentityCenterGroupAttribute(jtv) } + case "instanceArn": if value != nil { jtv, ok := value.(string) @@ -5913,6 +5986,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.InstanceArn = ptr.String(jtv) } + case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -5921,6 +5995,7 @@ func awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(v **types.Ia } sv.UserAttribute = types.IamIdentityCenterUserAttribute(jtv) } + default: _, _ = key, value @@ -5960,6 +6035,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6003,6 +6079,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6011,6 +6088,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6023,6 +6101,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6031,10 +6110,12 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Name = ptr.String(jtv) } + case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -6043,6 +6124,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6051,6 +6133,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(v **types.LifecyclePo } sv.Type = types.LifecyclePolicyType(jtv) } + default: _, _ = key, value @@ -6124,6 +6207,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -6132,6 +6216,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.ErrorMessage = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6140,6 +6225,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6148,6 +6234,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetail(v **types.Lifecy } sv.Type = types.LifecyclePolicyType(jtv) } + default: _, _ = key, value @@ -6225,6 +6312,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicyStats(v **types.LifecyclePol } sv.RetentionPolicyCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6302,6 +6390,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6310,6 +6399,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6322,6 +6412,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6330,6 +6421,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Name = ptr.String(jtv) } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -6338,6 +6430,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6346,6 +6439,7 @@ func awsAwsjson10_deserializeDocumentLifecyclePolicySummary(v **types.LifecycleP } sv.Type = types.LifecyclePolicyType(jtv) } + default: _, _ = key, value @@ -6385,6 +6479,7 @@ func awsAwsjson10_deserializeDocumentOcuLimitExceededException(v **types.OcuLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6424,6 +6519,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6463,6 +6559,7 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.GroupAttribute = ptr.String(jtv) } + case "metadata": if value != nil { jtv, ok := value.(string) @@ -6471,6 +6568,7 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.Metadata = ptr.String(jtv) } + case "sessionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -6483,6 +6581,7 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.SessionTimeout = ptr.Int32(int32(i64)) } + case "userAttribute": if value != nil { jtv, ok := value.(string) @@ -6491,6 +6590,7 @@ func awsAwsjson10_deserializeDocumentSamlConfigOptions(v **types.SamlConfigOptio } sv.UserAttribute = ptr.String(jtv) } + default: _, _ = key, value @@ -6530,6 +6630,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.ConfigVersion = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -6542,6 +6643,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6550,10 +6652,12 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Description = ptr.String(jtv) } + case "iamIdentityCenterOptions": if err := awsAwsjson10_deserializeDocumentIamIdentityCenterConfigOptions(&sv.IamIdentityCenterOptions, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6562,6 +6666,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Id = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6574,10 +6679,12 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.LastModifiedDate = ptr.Int64(i64) } + case "samlOptions": if err := awsAwsjson10_deserializeDocumentSamlConfigOptions(&sv.SamlOptions, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6586,6 +6693,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigDetail(v **types.SecurityConf } sv.Type = types.SecurityConfigType(jtv) } + default: _, _ = key, value @@ -6629,6 +6737,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigStats(v **types.SecurityConfi } sv.SamlConfigCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6702,6 +6811,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.ConfigVersion = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -6714,6 +6824,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6722,6 +6833,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6730,6 +6842,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Id = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6742,6 +6855,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.LastModifiedDate = ptr.Int64(i64) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6750,6 +6864,7 @@ func awsAwsjson10_deserializeDocumentSecurityConfigSummary(v **types.SecurityCon } sv.Type = types.SecurityConfigType(jtv) } + default: _, _ = key, value @@ -6829,6 +6944,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6837,6 +6953,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -6849,6 +6966,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6857,10 +6975,12 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Name = ptr.String(jtv) } + case "policy": if err := awsAwsjson10_deserializeDocumentDocument(&sv.Policy, value); err != nil { return err } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -6869,6 +6989,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6877,6 +6998,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyDetail(v **types.SecurityPoli } sv.Type = types.SecurityPolicyType(jtv) } + default: _, _ = key, value @@ -6920,6 +7042,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyStats(v **types.SecurityPolic } sv.EncryptionPolicyCount = ptr.Int64(i64) } + case "NetworkPolicyCount": if value != nil { jtv, ok := value.(json.Number) @@ -6932,6 +7055,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicyStats(v **types.SecurityPolic } sv.NetworkPolicyCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -7009,6 +7133,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7017,6 +7142,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Description = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7029,6 +7155,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7037,6 +7164,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Name = ptr.String(jtv) } + case "policyVersion": if value != nil { jtv, ok := value.(string) @@ -7045,6 +7173,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.PolicyVersion = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7053,6 +7182,7 @@ func awsAwsjson10_deserializeDocumentSecurityPolicySummary(v **types.SecurityPol } sv.Type = types.SecurityPolicyType(jtv) } + default: _, _ = key, value @@ -7092,6 +7222,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7100,6 +7231,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -7108,6 +7240,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7116,6 +7249,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7124,6 +7258,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7199,6 +7334,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7207,6 +7343,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7280,6 +7417,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(json.Number) @@ -7292,6 +7430,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.CreatedDate = ptr.Int64(i64) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7300,6 +7439,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7308,6 +7448,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Id = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7320,6 +7461,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7328,6 +7470,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7336,6 +7479,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Status = types.CollectionStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -7344,6 +7488,7 @@ func awsAwsjson10_deserializeDocumentUpdateCollectionDetail(v **types.UpdateColl } sv.Type = types.CollectionType(jtv) } + default: _, _ = key, value @@ -7383,6 +7528,7 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Id = ptr.String(jtv) } + case "lastModifiedDate": if value != nil { jtv, ok := value.(json.Number) @@ -7395,6 +7541,7 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.LastModifiedDate = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7403,10 +7550,12 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7415,10 +7564,12 @@ func awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(v **types.UpdateVpc } sv.Status = types.VpcEndpointStatus(jtv) } + case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -7458,6 +7609,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7501,6 +7653,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.CreatedDate = ptr.Int64(i64) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -7509,6 +7662,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -7517,6 +7671,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7525,6 +7680,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7533,10 +7689,12 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Name = ptr.String(jtv) } + case "securityGroupIds": if err := awsAwsjson10_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7545,10 +7703,12 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.Status = types.VpcEndpointStatus(jtv) } + case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -7557,6 +7717,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointDetail(v **types.VpcEndpointDeta } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -7630,6 +7791,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -7638,6 +7800,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.ErrorMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7646,6 +7809,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointErrorDetail(v **types.VpcEndpoin } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -7753,6 +7917,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7761,6 +7926,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7769,6 +7935,7 @@ func awsAwsjson10_deserializeDocumentVpcEndpointSummary(v **types.VpcEndpointSum } sv.Status = types.VpcEndpointStatus(jtv) } + default: _, _ = key, value @@ -7812,10 +7979,12 @@ func awsAwsjson10_deserializeOpDocumentBatchGetCollectionOutput(v **BatchGetColl if err := awsAwsjson10_deserializeDocumentCollectionDetails(&sv.CollectionDetails, value); err != nil { return err } + case "collectionErrorDetails": if err := awsAwsjson10_deserializeDocumentCollectionErrorDetails(&sv.CollectionErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7851,10 +8020,12 @@ func awsAwsjson10_deserializeOpDocumentBatchGetEffectiveLifecyclePolicyOutput(v if err := awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyDetails(&sv.EffectiveLifecyclePolicyDetails, value); err != nil { return err } + case "effectiveLifecyclePolicyErrorDetails": if err := awsAwsjson10_deserializeDocumentEffectiveLifecyclePolicyErrorDetails(&sv.EffectiveLifecyclePolicyErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7890,10 +8061,12 @@ func awsAwsjson10_deserializeOpDocumentBatchGetLifecyclePolicyOutput(v **BatchGe if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetails(&sv.LifecyclePolicyDetails, value); err != nil { return err } + case "lifecyclePolicyErrorDetails": if err := awsAwsjson10_deserializeDocumentLifecyclePolicyErrorDetails(&sv.LifecyclePolicyErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7929,10 +8102,12 @@ func awsAwsjson10_deserializeOpDocumentBatchGetVpcEndpointOutput(v **BatchGetVpc if err := awsAwsjson10_deserializeDocumentVpcEndpointDetails(&sv.VpcEndpointDetails, value); err != nil { return err } + case "vpcEndpointErrorDetails": if err := awsAwsjson10_deserializeDocumentVpcEndpointErrorDetails(&sv.VpcEndpointErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7968,6 +8143,7 @@ func awsAwsjson10_deserializeOpDocumentCreateAccessPolicyOutput(v **CreateAccess if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8003,6 +8179,7 @@ func awsAwsjson10_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti if err := awsAwsjson10_deserializeDocumentCreateCollectionDetail(&sv.CreateCollectionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8038,6 +8215,7 @@ func awsAwsjson10_deserializeOpDocumentCreateLifecyclePolicyOutput(v **CreateLif if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(&sv.LifecyclePolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8073,6 +8251,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSecurityConfigOutput(v **CreateSecu if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8108,6 +8287,7 @@ func awsAwsjson10_deserializeOpDocumentCreateSecurityPolicyOutput(v **CreateSecu if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8143,6 +8323,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVpcEndpointOutput(v **CreateVpcEndp if err := awsAwsjson10_deserializeDocumentCreateVpcEndpointDetail(&sv.CreateVpcEndpointDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8209,6 +8390,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteCollectionOutput(v **DeleteCollecti if err := awsAwsjson10_deserializeDocumentDeleteCollectionDetail(&sv.DeleteCollectionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8337,6 +8519,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVpcEndpointOutput(v **DeleteVpcEndp if err := awsAwsjson10_deserializeDocumentDeleteVpcEndpointDetail(&sv.DeleteVpcEndpointDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8372,6 +8555,7 @@ func awsAwsjson10_deserializeOpDocumentGetAccessPolicyOutput(v **GetAccessPolicy if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8407,6 +8591,7 @@ func awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson10_deserializeDocumentAccountSettingsDetail(&sv.AccountSettingsDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8442,18 +8627,22 @@ func awsAwsjson10_deserializeOpDocumentGetPoliciesStatsOutput(v **GetPoliciesSta if err := awsAwsjson10_deserializeDocumentAccessPolicyStats(&sv.AccessPolicyStats, value); err != nil { return err } + case "LifecyclePolicyStats": if err := awsAwsjson10_deserializeDocumentLifecyclePolicyStats(&sv.LifecyclePolicyStats, value); err != nil { return err } + case "SecurityConfigStats": if err := awsAwsjson10_deserializeDocumentSecurityConfigStats(&sv.SecurityConfigStats, value); err != nil { return err } + case "SecurityPolicyStats": if err := awsAwsjson10_deserializeDocumentSecurityPolicyStats(&sv.SecurityPolicyStats, value); err != nil { return err } + case "TotalPolicyCount": if value != nil { jtv, ok := value.(json.Number) @@ -8466,6 +8655,7 @@ func awsAwsjson10_deserializeOpDocumentGetPoliciesStatsOutput(v **GetPoliciesSta } sv.TotalPolicyCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -8501,6 +8691,7 @@ func awsAwsjson10_deserializeOpDocumentGetSecurityConfigOutput(v **GetSecurityCo if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8536,6 +8727,7 @@ func awsAwsjson10_deserializeOpDocumentGetSecurityPolicyOutput(v **GetSecurityPo if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8571,6 +8763,7 @@ func awsAwsjson10_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo if err := awsAwsjson10_deserializeDocumentAccessPolicySummaries(&sv.AccessPolicySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8579,6 +8772,7 @@ func awsAwsjson10_deserializeOpDocumentListAccessPoliciesOutput(v **ListAccessPo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8614,6 +8808,7 @@ func awsAwsjson10_deserializeOpDocumentListCollectionsOutput(v **ListCollections if err := awsAwsjson10_deserializeDocumentCollectionSummaries(&sv.CollectionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8622,6 +8817,7 @@ func awsAwsjson10_deserializeOpDocumentListCollectionsOutput(v **ListCollections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8657,6 +8853,7 @@ func awsAwsjson10_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec if err := awsAwsjson10_deserializeDocumentLifecyclePolicySummaries(&sv.LifecyclePolicySummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8665,6 +8862,7 @@ func awsAwsjson10_deserializeOpDocumentListLifecyclePoliciesOutput(v **ListLifec } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8704,10 +8902,12 @@ func awsAwsjson10_deserializeOpDocumentListSecurityConfigsOutput(v **ListSecurit } sv.NextToken = ptr.String(jtv) } + case "securityConfigSummaries": if err := awsAwsjson10_deserializeDocumentSecurityConfigSummaries(&sv.SecurityConfigSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8747,10 +8947,12 @@ func awsAwsjson10_deserializeOpDocumentListSecurityPoliciesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } + case "securityPolicySummaries": if err := awsAwsjson10_deserializeDocumentSecurityPolicySummaries(&sv.SecurityPolicySummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8786,6 +8988,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8825,10 +9028,12 @@ func awsAwsjson10_deserializeOpDocumentListVpcEndpointsOutput(v **ListVpcEndpoin } sv.NextToken = ptr.String(jtv) } + case "vpcEndpointSummaries": if err := awsAwsjson10_deserializeDocumentVpcEndpointSummaries(&sv.VpcEndpointSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8926,6 +9131,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccessPolicyOutput(v **UpdateAccess if err := awsAwsjson10_deserializeDocumentAccessPolicyDetail(&sv.AccessPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8961,6 +9167,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsAwsjson10_deserializeDocumentAccountSettingsDetail(&sv.AccountSettingsDetail, value); err != nil { return err } + default: _, _ = key, value @@ -8996,6 +9203,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateCollectionOutput(v **UpdateCollecti if err := awsAwsjson10_deserializeDocumentUpdateCollectionDetail(&sv.UpdateCollectionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9031,6 +9239,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateLifecyclePolicyOutput(v **UpdateLif if err := awsAwsjson10_deserializeDocumentLifecyclePolicyDetail(&sv.LifecyclePolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9066,6 +9275,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSecurityConfigOutput(v **UpdateSecu if err := awsAwsjson10_deserializeDocumentSecurityConfigDetail(&sv.SecurityConfigDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9101,6 +9311,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSecurityPolicyOutput(v **UpdateSecu if err := awsAwsjson10_deserializeDocumentSecurityPolicyDetail(&sv.SecurityPolicyDetail, value); err != nil { return err } + default: _, _ = key, value @@ -9136,6 +9347,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateVpcEndpointOutput(v **UpdateVpcEndp if err := awsAwsjson10_deserializeDocumentUpdateVpcEndpointDetail(&sv.UpdateVpcEndpointDetail, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/opsworks/deserializers.go b/service/opsworks/deserializers.go index 3f31f926ec9..5a8cd2993a9 100644 --- a/service/opsworks/deserializers.go +++ b/service/opsworks/deserializers.go @@ -7703,6 +7703,7 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value if err := awsAwsjson11_deserializeDocumentStackConfigurationManager(&sv.ConfigurationManager, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -7711,6 +7712,7 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7784,14 +7786,17 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppId = ptr.String(jtv) } + case "AppSource": if err := awsAwsjson11_deserializeDocumentSource(&sv.AppSource, value); err != nil { return err } + case "Attributes": if err := awsAwsjson11_deserializeDocumentAppAttributes(&sv.Attributes, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -7800,10 +7805,12 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.CreatedAt = ptr.String(jtv) } + case "DataSources": if err := awsAwsjson11_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7812,10 +7819,12 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } + case "Domains": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Domains, value); err != nil { return err } + case "EnableSsl": if value != nil { jtv, ok := value.(bool) @@ -7824,10 +7833,12 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.EnableSsl = ptr.Bool(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentVariables(&sv.Environment, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7836,6 +7847,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } + case "Shortname": if value != nil { jtv, ok := value.(string) @@ -7844,10 +7856,12 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Shortname = ptr.String(jtv) } + case "SslConfiguration": if err := awsAwsjson11_deserializeDocumentSslConfiguration(&sv.SslConfiguration, value); err != nil { return err } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -7856,6 +7870,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.StackId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7864,6 +7879,7 @@ func awsAwsjson11_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Type = types.AppType(jtv) } + default: _, _ = key, value @@ -7969,6 +7985,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling if err := awsAwsjson11_deserializeDocumentStrings(&sv.Alarms, value); err != nil { return err } + case "CpuThreshold": if value != nil { switch jtv := value.(type) { @@ -8002,6 +8019,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } + case "IgnoreMetricsTime": if value != nil { jtv, ok := value.(json.Number) @@ -8014,6 +8032,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.IgnoreMetricsTime = ptr.Int32(int32(i64)) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -8026,6 +8045,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "LoadThreshold": if value != nil { switch jtv := value.(type) { @@ -8059,6 +8079,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } + case "MemoryThreshold": if value != nil { switch jtv := value.(type) { @@ -8092,6 +8113,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } } + case "ThresholdsWaitTime": if value != nil { jtv, ok := value.(json.Number) @@ -8104,6 +8126,7 @@ func awsAwsjson11_deserializeDocumentAutoScalingThresholds(v **types.AutoScaling } sv.ThresholdsWaitTime = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8143,10 +8166,12 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.DeviceName = ptr.String(jtv) } + case "Ebs": if err := awsAwsjson11_deserializeDocumentEbsBlockDevice(&sv.Ebs, value); err != nil { return err } + case "NoDevice": if value != nil { jtv, ok := value.(string) @@ -8155,6 +8180,7 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.NoDevice = ptr.String(jtv) } + case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -8163,6 +8189,7 @@ func awsAwsjson11_deserializeDocumentBlockDeviceMapping(v **types.BlockDeviceMap } sv.VirtualName = ptr.String(jtv) } + default: _, _ = key, value @@ -8236,6 +8263,7 @@ func awsAwsjson11_deserializeDocumentChefConfiguration(v **types.ChefConfigurati } sv.BerkshelfVersion = ptr.String(jtv) } + case "ManageBerkshelf": if value != nil { jtv, ok := value.(bool) @@ -8244,6 +8272,7 @@ func awsAwsjson11_deserializeDocumentChefConfiguration(v **types.ChefConfigurati } sv.ManageBerkshelf = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8283,10 +8312,12 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsConfiguration(v **types.Cloud } sv.Enabled = ptr.Bool(jtv) } + case "LogStreams": if err := awsAwsjson11_deserializeDocumentCloudWatchLogsLogStreams(&sv.LogStreams, value); err != nil { return err } + default: _, _ = key, value @@ -8330,6 +8361,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BatchCount = ptr.Int32(int32(i64)) } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -8342,6 +8374,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BatchSize = ptr.Int32(int32(i64)) } + case "BufferDuration": if value != nil { jtv, ok := value.(json.Number) @@ -8354,6 +8387,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.BufferDuration = ptr.Int32(int32(i64)) } + case "DatetimeFormat": if value != nil { jtv, ok := value.(string) @@ -8362,6 +8396,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.DatetimeFormat = ptr.String(jtv) } + case "Encoding": if value != nil { jtv, ok := value.(string) @@ -8370,6 +8405,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.Encoding = types.CloudWatchLogsEncoding(jtv) } + case "File": if value != nil { jtv, ok := value.(string) @@ -8378,6 +8414,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.File = ptr.String(jtv) } + case "FileFingerprintLines": if value != nil { jtv, ok := value.(string) @@ -8386,6 +8423,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.FileFingerprintLines = ptr.String(jtv) } + case "InitialPosition": if value != nil { jtv, ok := value.(string) @@ -8394,6 +8432,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.InitialPosition = types.CloudWatchLogsInitialPosition(jtv) } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -8402,6 +8441,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.LogGroupName = ptr.String(jtv) } + case "MultiLineStartPattern": if value != nil { jtv, ok := value.(string) @@ -8410,6 +8450,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.MultiLineStartPattern = ptr.String(jtv) } + case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -8418,6 +8459,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchLogsLogStream(v **types.CloudWatc } sv.TimeZone = types.CloudWatchLogsTimeZone(jtv) } + default: _, _ = key, value @@ -8491,6 +8533,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.AcknowledgedAt = ptr.String(jtv) } + case "CommandId": if value != nil { jtv, ok := value.(string) @@ -8499,6 +8542,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CommandId = ptr.String(jtv) } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -8507,6 +8551,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CompletedAt = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8515,6 +8560,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CreatedAt = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -8523,6 +8569,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DeploymentId = ptr.String(jtv) } + case "ExitCode": if value != nil { jtv, ok := value.(json.Number) @@ -8535,6 +8582,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ExitCode = ptr.Int32(int32(i64)) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -8543,6 +8591,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.InstanceId = ptr.String(jtv) } + case "LogUrl": if value != nil { jtv, ok := value.(string) @@ -8551,6 +8600,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.LogUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8559,6 +8609,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Status = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8567,6 +8618,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8676,6 +8728,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Arn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -8684,6 +8737,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DatabaseName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8692,6 +8746,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8765,10 +8820,12 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.AppId = ptr.String(jtv) } + case "Command": if err := awsAwsjson11_deserializeDocumentDeploymentCommand(&sv.Command, value); err != nil { return err } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -8777,6 +8834,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Comment = ptr.String(jtv) } + case "CompletedAt": if value != nil { jtv, ok := value.(string) @@ -8785,6 +8843,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CompletedAt = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -8793,6 +8852,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CreatedAt = ptr.String(jtv) } + case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -8801,6 +8861,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.CustomJson = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -8809,6 +8870,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentId = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -8821,6 +8883,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Duration = ptr.Int32(int32(i64)) } + case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -8829,10 +8892,12 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.IamUserArn = ptr.String(jtv) } + case "InstanceIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.InstanceIds, value); err != nil { return err } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -8841,6 +8906,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.StackId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8849,6 +8915,7 @@ func awsAwsjson11_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -8884,6 +8951,7 @@ func awsAwsjson11_deserializeDocumentDeploymentCommand(v **types.DeploymentComma if err := awsAwsjson11_deserializeDocumentDeploymentCommandArgs(&sv.Args, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8892,6 +8960,7 @@ func awsAwsjson11_deserializeDocumentDeploymentCommand(v **types.DeploymentComma } sv.Name = types.DeploymentCommandName(jtv) } + default: _, _ = key, value @@ -8999,6 +9068,7 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -9011,6 +9081,7 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.Iops = ptr.Int32(int32(i64)) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -9019,6 +9090,7 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.SnapshotId = ptr.String(jtv) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -9031,6 +9103,7 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -9039,6 +9112,7 @@ func awsAwsjson11_deserializeDocumentEbsBlockDevice(v **types.EbsBlockDevice, va } sv.VolumeType = types.VolumeType(jtv) } + default: _, _ = key, value @@ -9078,6 +9152,7 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.EcsClusterArn = ptr.String(jtv) } + case "EcsClusterName": if value != nil { jtv, ok := value.(string) @@ -9086,6 +9161,7 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.EcsClusterName = ptr.String(jtv) } + case "RegisteredAt": if value != nil { jtv, ok := value.(string) @@ -9094,6 +9170,7 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.RegisteredAt = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -9102,6 +9179,7 @@ func awsAwsjson11_deserializeDocumentEcsCluster(v **types.EcsCluster, value inte } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -9175,6 +9253,7 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Domain = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -9183,6 +9262,7 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.InstanceId = ptr.String(jtv) } + case "Ip": if value != nil { jtv, ok := value.(string) @@ -9191,6 +9271,7 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Ip = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9199,6 +9280,7 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Name = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9207,6 +9289,7 @@ func awsAwsjson11_deserializeDocumentElasticIp(v **types.ElasticIp, value interf } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -9276,6 +9359,7 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa if err := awsAwsjson11_deserializeDocumentStrings(&sv.AvailabilityZones, value); err != nil { return err } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -9284,10 +9368,12 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.DnsName = ptr.String(jtv) } + case "Ec2InstanceIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Ec2InstanceIds, value); err != nil { return err } + case "ElasticLoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -9296,6 +9382,7 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.ElasticLoadBalancerName = ptr.String(jtv) } + case "LayerId": if value != nil { jtv, ok := value.(string) @@ -9304,6 +9391,7 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.LayerId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9312,6 +9400,7 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.Region = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -9320,10 +9409,12 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.StackId = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9332,6 +9423,7 @@ func awsAwsjson11_deserializeDocumentElasticLoadBalancer(v **types.ElasticLoadBa } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9405,6 +9497,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Key = ptr.String(jtv) } + case "Secure": if value != nil { jtv, ok := value.(bool) @@ -9413,6 +9506,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Secure = ptr.Bool(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9421,6 +9515,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentVariable(v **types.EnvironmentVa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9494,6 +9589,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AgentVersion = ptr.String(jtv) } + case "AmiId": if value != nil { jtv, ok := value.(string) @@ -9502,6 +9598,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiId = ptr.String(jtv) } + case "Architecture": if value != nil { jtv, ok := value.(string) @@ -9510,6 +9607,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Architecture = types.Architecture(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -9518,6 +9616,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Arn = ptr.String(jtv) } + case "AutoScalingType": if value != nil { jtv, ok := value.(string) @@ -9526,6 +9625,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AutoScalingType = types.AutoScalingType(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -9534,10 +9634,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AvailabilityZone = ptr.String(jtv) } + case "BlockDeviceMappings": if err := awsAwsjson11_deserializeDocumentBlockDeviceMappings(&sv.BlockDeviceMappings, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -9546,6 +9648,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.CreatedAt = ptr.String(jtv) } + case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -9554,6 +9657,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EbsOptimized = ptr.Bool(jtv) } + case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -9562,6 +9666,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Ec2InstanceId = ptr.String(jtv) } + case "EcsClusterArn": if value != nil { jtv, ok := value.(string) @@ -9570,6 +9675,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EcsClusterArn = ptr.String(jtv) } + case "EcsContainerInstanceArn": if value != nil { jtv, ok := value.(string) @@ -9578,6 +9684,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.EcsContainerInstanceArn = ptr.String(jtv) } + case "ElasticIp": if value != nil { jtv, ok := value.(string) @@ -9586,6 +9693,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ElasticIp = ptr.String(jtv) } + case "Hostname": if value != nil { jtv, ok := value.(string) @@ -9594,6 +9702,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Hostname = ptr.String(jtv) } + case "InfrastructureClass": if value != nil { jtv, ok := value.(string) @@ -9602,6 +9711,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InfrastructureClass = ptr.String(jtv) } + case "InstallUpdatesOnBoot": if value != nil { jtv, ok := value.(bool) @@ -9610,6 +9720,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstallUpdatesOnBoot = ptr.Bool(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -9618,6 +9729,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } + case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -9626,6 +9738,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceProfileArn = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -9634,6 +9747,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } + case "LastServiceErrorId": if value != nil { jtv, ok := value.(string) @@ -9642,10 +9756,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.LastServiceErrorId = ptr.String(jtv) } + case "LayerIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.LayerIds, value); err != nil { return err } + case "Os": if value != nil { jtv, ok := value.(string) @@ -9654,6 +9770,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Os = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -9662,6 +9779,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Platform = ptr.String(jtv) } + case "PrivateDns": if value != nil { jtv, ok := value.(string) @@ -9670,6 +9788,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateDns = ptr.String(jtv) } + case "PrivateIp": if value != nil { jtv, ok := value.(string) @@ -9678,6 +9797,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIp = ptr.String(jtv) } + case "PublicDns": if value != nil { jtv, ok := value.(string) @@ -9686,6 +9806,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicDns = ptr.String(jtv) } + case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -9694,6 +9815,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIp = ptr.String(jtv) } + case "RegisteredBy": if value != nil { jtv, ok := value.(string) @@ -9702,6 +9824,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RegisteredBy = ptr.String(jtv) } + case "ReportedAgentVersion": if value != nil { jtv, ok := value.(string) @@ -9710,10 +9833,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ReportedAgentVersion = ptr.String(jtv) } + case "ReportedOs": if err := awsAwsjson11_deserializeDocumentReportedOs(&sv.ReportedOs, value); err != nil { return err } + case "RootDeviceType": if value != nil { jtv, ok := value.(string) @@ -9722,6 +9847,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceType = types.RootDeviceType(jtv) } + case "RootDeviceVolumeId": if value != nil { jtv, ok := value.(string) @@ -9730,10 +9856,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceVolumeId = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } + case "SshHostDsaKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -9742,6 +9870,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshHostDsaKeyFingerprint = ptr.String(jtv) } + case "SshHostRsaKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -9750,6 +9879,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshHostRsaKeyFingerprint = ptr.String(jtv) } + case "SshKeyName": if value != nil { jtv, ok := value.(string) @@ -9758,6 +9888,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SshKeyName = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -9766,6 +9897,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.StackId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9774,6 +9906,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Status = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -9782,6 +9915,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.SubnetId = ptr.String(jtv) } + case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -9790,6 +9924,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Tenancy = ptr.String(jtv) } + case "VirtualizationType": if value != nil { jtv, ok := value.(string) @@ -9798,6 +9933,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.VirtualizationType = types.VirtualizationType(jtv) } + default: _, _ = key, value @@ -9875,6 +10011,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Assigning = ptr.Int32(int32(i64)) } + case "Booting": if value != nil { jtv, ok := value.(json.Number) @@ -9887,6 +10024,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Booting = ptr.Int32(int32(i64)) } + case "ConnectionLost": if value != nil { jtv, ok := value.(json.Number) @@ -9899,6 +10037,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.ConnectionLost = ptr.Int32(int32(i64)) } + case "Deregistering": if value != nil { jtv, ok := value.(json.Number) @@ -9911,6 +10050,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Deregistering = ptr.Int32(int32(i64)) } + case "Online": if value != nil { jtv, ok := value.(json.Number) @@ -9923,6 +10063,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Online = ptr.Int32(int32(i64)) } + case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -9935,6 +10076,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Pending = ptr.Int32(int32(i64)) } + case "Rebooting": if value != nil { jtv, ok := value.(json.Number) @@ -9947,6 +10089,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Rebooting = ptr.Int32(int32(i64)) } + case "Registered": if value != nil { jtv, ok := value.(json.Number) @@ -9959,6 +10102,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Registered = ptr.Int32(int32(i64)) } + case "Registering": if value != nil { jtv, ok := value.(json.Number) @@ -9971,6 +10115,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Registering = ptr.Int32(int32(i64)) } + case "Requested": if value != nil { jtv, ok := value.(json.Number) @@ -9983,6 +10128,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Requested = ptr.Int32(int32(i64)) } + case "RunningSetup": if value != nil { jtv, ok := value.(json.Number) @@ -9995,6 +10141,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.RunningSetup = ptr.Int32(int32(i64)) } + case "SetupFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10007,6 +10154,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.SetupFailed = ptr.Int32(int32(i64)) } + case "ShuttingDown": if value != nil { jtv, ok := value.(json.Number) @@ -10019,6 +10167,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.ShuttingDown = ptr.Int32(int32(i64)) } + case "StartFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10031,6 +10180,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.StartFailed = ptr.Int32(int32(i64)) } + case "StopFailed": if value != nil { jtv, ok := value.(json.Number) @@ -10043,6 +10193,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.StopFailed = ptr.Int32(int32(i64)) } + case "Stopped": if value != nil { jtv, ok := value.(json.Number) @@ -10055,6 +10206,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Stopped = ptr.Int32(int32(i64)) } + case "Stopping": if value != nil { jtv, ok := value.(json.Number) @@ -10067,6 +10219,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Stopping = ptr.Int32(int32(i64)) } + case "Terminated": if value != nil { jtv, ok := value.(json.Number) @@ -10079,6 +10232,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Terminated = ptr.Int32(int32(i64)) } + case "Terminating": if value != nil { jtv, ok := value.(json.Number) @@ -10091,6 +10245,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Terminating = ptr.Int32(int32(i64)) } + case "Unassigning": if value != nil { jtv, ok := value.(json.Number) @@ -10103,6 +10258,7 @@ func awsAwsjson11_deserializeDocumentInstancesCount(v **types.InstancesCount, va } sv.Unassigning = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10142,10 +10298,12 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "Attributes": if err := awsAwsjson11_deserializeDocumentLayerAttributes(&sv.Attributes, value); err != nil { return err } + case "AutoAssignElasticIps": if value != nil { jtv, ok := value.(bool) @@ -10154,6 +10312,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.AutoAssignElasticIps = ptr.Bool(jtv) } + case "AutoAssignPublicIps": if value != nil { jtv, ok := value.(bool) @@ -10162,10 +10321,12 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.AutoAssignPublicIps = ptr.Bool(jtv) } + case "CloudWatchLogsConfiguration": if err := awsAwsjson11_deserializeDocumentCloudWatchLogsConfiguration(&sv.CloudWatchLogsConfiguration, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10174,6 +10335,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CreatedAt = ptr.String(jtv) } + case "CustomInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -10182,6 +10344,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CustomInstanceProfileArn = ptr.String(jtv) } + case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -10190,22 +10353,27 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.CustomJson = ptr.String(jtv) } + case "CustomRecipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.CustomRecipes, value); err != nil { return err } + case "CustomSecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.CustomSecurityGroupIds, value); err != nil { return err } + case "DefaultRecipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.DefaultRecipes, value); err != nil { return err } + case "DefaultSecurityGroupNames": if err := awsAwsjson11_deserializeDocumentStrings(&sv.DefaultSecurityGroupNames, value); err != nil { return err } + case "EnableAutoHealing": if value != nil { jtv, ok := value.(bool) @@ -10214,6 +10382,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.EnableAutoHealing = ptr.Bool(jtv) } + case "InstallUpdatesOnBoot": if value != nil { jtv, ok := value.(bool) @@ -10222,6 +10391,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.InstallUpdatesOnBoot = ptr.Bool(jtv) } + case "LayerId": if value != nil { jtv, ok := value.(string) @@ -10230,10 +10400,12 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.LayerId = ptr.String(jtv) } + case "LifecycleEventConfiguration": if err := awsAwsjson11_deserializeDocumentLifecycleEventConfiguration(&sv.LifecycleEventConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10242,10 +10414,12 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Packages": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Packages, value); err != nil { return err } + case "Shortname": if value != nil { jtv, ok := value.(string) @@ -10254,6 +10428,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Shortname = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -10262,6 +10437,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.StackId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10270,6 +10446,7 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.Type = types.LayerType(jtv) } + case "UseEbsOptimizedInstances": if value != nil { jtv, ok := value.(bool) @@ -10278,10 +10455,12 @@ func awsAwsjson11_deserializeDocumentLayer(v **types.Layer, value interface{}) e } sv.UseEbsOptimizedInstances = ptr.Bool(jtv) } + case "VolumeConfigurations": if err := awsAwsjson11_deserializeDocumentVolumeConfigurations(&sv.VolumeConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -10387,6 +10566,7 @@ func awsAwsjson11_deserializeDocumentLifecycleEventConfiguration(v **types.Lifec if err := awsAwsjson11_deserializeDocumentShutdownEventConfiguration(&sv.Shutdown, value); err != nil { return err } + default: _, _ = key, value @@ -10422,6 +10602,7 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types if err := awsAwsjson11_deserializeDocumentAutoScalingThresholds(&sv.DownScaling, value); err != nil { return err } + case "Enable": if value != nil { jtv, ok := value.(bool) @@ -10430,6 +10611,7 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types } sv.Enable = ptr.Bool(jtv) } + case "LayerId": if value != nil { jtv, ok := value.(string) @@ -10438,10 +10620,12 @@ func awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfiguration(v **types } sv.LayerId = ptr.String(jtv) } + case "UpScaling": if err := awsAwsjson11_deserializeDocumentAutoScalingThresholds(&sv.UpScaling, value); err != nil { return err } + default: _, _ = key, value @@ -10511,6 +10695,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, if err := awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManagers(&sv.ConfigurationManagers, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10519,6 +10704,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10527,6 +10713,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Name = ptr.String(jtv) } + case "ReportedName": if value != nil { jtv, ok := value.(string) @@ -10535,6 +10722,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.ReportedName = ptr.String(jtv) } + case "ReportedVersion": if value != nil { jtv, ok := value.(string) @@ -10543,6 +10731,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.ReportedVersion = ptr.String(jtv) } + case "Supported": if value != nil { jtv, ok := value.(bool) @@ -10551,6 +10740,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Supported = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10559,6 +10749,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -10598,6 +10789,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManager(v **typ } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -10606,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystemConfigurationManager(v **typ } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10749,6 +10942,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.AllowSsh = ptr.Bool(jtv) } + case "AllowSudo": if value != nil { jtv, ok := value.(bool) @@ -10757,6 +10951,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.AllowSudo = ptr.Bool(jtv) } + case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -10765,6 +10960,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.IamUserArn = ptr.String(jtv) } + case "Level": if value != nil { jtv, ok := value.(string) @@ -10773,6 +10969,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.Level = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -10781,6 +10978,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -10854,6 +11052,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.AvailabilityZone = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -10862,6 +11061,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.CreatedAt = ptr.String(jtv) } + case "Device": if value != nil { jtv, ok := value.(string) @@ -10870,6 +11070,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Device = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -10878,6 +11079,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.InstanceId = ptr.String(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -10890,6 +11092,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Iops = ptr.Int32(int32(i64)) } + case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -10898,6 +11101,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.MountPoint = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10906,6 +11110,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Name = ptr.String(jtv) } + case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -10918,6 +11123,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.NumberOfDisks = ptr.Int32(int32(i64)) } + case "RaidArrayId": if value != nil { jtv, ok := value.(string) @@ -10926,6 +11132,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.RaidArrayId = ptr.String(jtv) } + case "RaidLevel": if value != nil { jtv, ok := value.(json.Number) @@ -10938,6 +11145,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.RaidLevel = ptr.Int32(int32(i64)) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -10950,6 +11158,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.Size = ptr.Int32(int32(i64)) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -10958,6 +11167,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.StackId = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -10966,6 +11176,7 @@ func awsAwsjson11_deserializeDocumentRaidArray(v **types.RaidArray, value interf } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -11039,6 +11250,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Address = ptr.String(jtv) } + case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -11047,6 +11259,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbInstanceIdentifier = ptr.String(jtv) } + case "DbPassword": if value != nil { jtv, ok := value.(string) @@ -11055,6 +11268,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbPassword = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -11063,6 +11277,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.DbUser = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -11071,6 +11286,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Engine = ptr.String(jtv) } + case "MissingOnRds": if value != nil { jtv, ok := value.(bool) @@ -11079,6 +11295,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.MissingOnRds = ptr.Bool(jtv) } + case "RdsDbInstanceArn": if value != nil { jtv, ok := value.(string) @@ -11087,6 +11304,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.RdsDbInstanceArn = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -11095,6 +11313,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.Region = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -11103,6 +11322,7 @@ func awsAwsjson11_deserializeDocumentRdsDbInstance(v **types.RdsDbInstance, valu } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -11172,22 +11392,27 @@ func awsAwsjson11_deserializeDocumentRecipes(v **types.Recipes, value interface{ if err := awsAwsjson11_deserializeDocumentStrings(&sv.Configure, value); err != nil { return err } + case "Deploy": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Deploy, value); err != nil { return err } + case "Setup": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Setup, value); err != nil { return err } + case "Shutdown": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Shutdown, value); err != nil { return err } + case "Undeploy": if err := awsAwsjson11_deserializeDocumentStrings(&sv.Undeploy, value); err != nil { return err } + default: _, _ = key, value @@ -11227,6 +11452,7 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Family = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11235,6 +11461,7 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11243,6 +11470,7 @@ func awsAwsjson11_deserializeDocumentReportedOs(v **types.ReportedOs, value inte } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11282,6 +11510,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11321,6 +11550,7 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.IamUserArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11329,6 +11559,7 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.Name = ptr.String(jtv) } + case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -11337,6 +11568,7 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.SshPublicKey = ptr.String(jtv) } + case "SshUsername": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11577,7 @@ func awsAwsjson11_deserializeDocumentSelfUserProfile(v **types.SelfUserProfile, } sv.SshUsername = ptr.String(jtv) } + default: _, _ = key, value @@ -11384,6 +11617,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.CreatedAt = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -11392,6 +11626,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.InstanceId = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -11400,6 +11635,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.Message = ptr.String(jtv) } + case "ServiceErrorId": if value != nil { jtv, ok := value.(string) @@ -11408,6 +11644,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.ServiceErrorId = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -11416,6 +11653,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.StackId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11424,6 +11662,7 @@ func awsAwsjson11_deserializeDocumentServiceError(v **types.ServiceError, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11497,6 +11736,7 @@ func awsAwsjson11_deserializeDocumentShutdownEventConfiguration(v **types.Shutdo } sv.DelayUntilElbConnectionsDrained = ptr.Bool(jtv) } + case "ExecutionTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -11509,6 +11749,7 @@ func awsAwsjson11_deserializeDocumentShutdownEventConfiguration(v **types.Shutdo } sv.ExecutionTimeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11548,6 +11789,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Password = ptr.String(jtv) } + case "Revision": if value != nil { jtv, ok := value.(string) @@ -11556,6 +11798,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Revision = ptr.String(jtv) } + case "SshKey": if value != nil { jtv, ok := value.(string) @@ -11564,6 +11807,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SshKey = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11572,6 +11816,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Type = types.SourceType(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -11580,6 +11825,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Url = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -11588,6 +11834,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -11627,6 +11874,7 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.Certificate = ptr.String(jtv) } + case "Chain": if value != nil { jtv, ok := value.(string) @@ -11635,6 +11883,7 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.Chain = ptr.String(jtv) } + case "PrivateKey": if value != nil { jtv, ok := value.(string) @@ -11643,6 +11892,7 @@ func awsAwsjson11_deserializeDocumentSslConfiguration(v **types.SslConfiguration } sv.PrivateKey = ptr.String(jtv) } + default: _, _ = key, value @@ -11682,6 +11932,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.AgentVersion = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -11690,18 +11941,22 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "Attributes": if err := awsAwsjson11_deserializeDocumentStackAttributes(&sv.Attributes, value); err != nil { return err } + case "ChefConfiguration": if err := awsAwsjson11_deserializeDocumentChefConfiguration(&sv.ChefConfiguration, value); err != nil { return err } + case "ConfigurationManager": if err := awsAwsjson11_deserializeDocumentStackConfigurationManager(&sv.ConfigurationManager, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11710,10 +11965,12 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.CreatedAt = ptr.String(jtv) } + case "CustomCookbooksSource": if err := awsAwsjson11_deserializeDocumentSource(&sv.CustomCookbooksSource, value); err != nil { return err } + case "CustomJson": if value != nil { jtv, ok := value.(string) @@ -11722,6 +11979,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.CustomJson = ptr.String(jtv) } + case "DefaultAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -11730,6 +11988,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultAvailabilityZone = ptr.String(jtv) } + case "DefaultInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -11738,6 +11997,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultInstanceProfileArn = ptr.String(jtv) } + case "DefaultOs": if value != nil { jtv, ok := value.(string) @@ -11746,6 +12006,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultOs = ptr.String(jtv) } + case "DefaultRootDeviceType": if value != nil { jtv, ok := value.(string) @@ -11754,6 +12015,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultRootDeviceType = types.RootDeviceType(jtv) } + case "DefaultSshKeyName": if value != nil { jtv, ok := value.(string) @@ -11762,6 +12024,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultSshKeyName = ptr.String(jtv) } + case "DefaultSubnetId": if value != nil { jtv, ok := value.(string) @@ -11770,6 +12033,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.DefaultSubnetId = ptr.String(jtv) } + case "HostnameTheme": if value != nil { jtv, ok := value.(string) @@ -11778,6 +12042,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.HostnameTheme = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11786,6 +12051,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -11794,6 +12060,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.Region = ptr.String(jtv) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11802,6 +12069,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.ServiceRoleArn = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -11810,6 +12078,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.StackId = ptr.String(jtv) } + case "UseCustomCookbooks": if value != nil { jtv, ok := value.(bool) @@ -11818,6 +12087,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.UseCustomCookbooks = ptr.Bool(jtv) } + case "UseOpsworksSecurityGroups": if value != nil { jtv, ok := value.(bool) @@ -11826,6 +12096,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.UseOpsworksSecurityGroups = ptr.Bool(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -11834,6 +12105,7 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -11909,6 +12181,7 @@ func awsAwsjson11_deserializeDocumentStackConfigurationManager(v **types.StackCo } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -11917,6 +12190,7 @@ func awsAwsjson11_deserializeDocumentStackConfigurationManager(v **types.StackCo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11994,6 +12268,7 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.AppsCount = ptr.Int32(int32(i64)) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -12002,10 +12277,12 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.Arn = ptr.String(jtv) } + case "InstancesCount": if err := awsAwsjson11_deserializeDocumentInstancesCount(&sv.InstancesCount, value); err != nil { return err } + case "LayersCount": if value != nil { jtv, ok := value.(json.Number) @@ -12018,6 +12295,7 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.LayersCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12026,6 +12304,7 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.Name = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -12034,6 +12313,7 @@ func awsAwsjson11_deserializeDocumentStackSummary(v **types.StackSummary, value } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -12145,6 +12425,7 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.InstanceId = ptr.String(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -12153,6 +12434,7 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.Password = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -12161,6 +12443,7 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.Username = ptr.String(jtv) } + case "ValidForInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12173,6 +12456,7 @@ func awsAwsjson11_deserializeDocumentTemporaryCredential(v **types.TemporaryCred } sv.ValidForInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12208,6 +12492,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfiguration(v **types if err := awsAwsjson11_deserializeDocumentWeeklyAutoScalingSchedule(&sv.AutoScalingSchedule, value); err != nil { return err } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -12216,6 +12501,7 @@ func awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfiguration(v **types } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12289,6 +12575,7 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.AllowSelfManagement = ptr.Bool(jtv) } + case "IamUserArn": if value != nil { jtv, ok := value.(string) @@ -12297,6 +12584,7 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.IamUserArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12305,6 +12593,7 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.Name = ptr.String(jtv) } + case "SshPublicKey": if value != nil { jtv, ok := value.(string) @@ -12313,6 +12602,7 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.SshPublicKey = ptr.String(jtv) } + case "SshUsername": if value != nil { jtv, ok := value.(string) @@ -12321,6 +12611,7 @@ func awsAwsjson11_deserializeDocumentUserProfile(v **types.UserProfile, value in } sv.SshUsername = ptr.String(jtv) } + default: _, _ = key, value @@ -12394,6 +12685,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12433,6 +12725,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.AvailabilityZone = ptr.String(jtv) } + case "Device": if value != nil { jtv, ok := value.(string) @@ -12441,6 +12734,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Device = ptr.String(jtv) } + case "Ec2VolumeId": if value != nil { jtv, ok := value.(string) @@ -12449,6 +12743,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Ec2VolumeId = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -12457,6 +12752,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Encrypted = ptr.Bool(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -12465,6 +12761,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.InstanceId = ptr.String(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -12477,6 +12774,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Iops = ptr.Int32(int32(i64)) } + case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -12485,6 +12783,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.MountPoint = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12493,6 +12792,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Name = ptr.String(jtv) } + case "RaidArrayId": if value != nil { jtv, ok := value.(string) @@ -12501,6 +12801,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.RaidArrayId = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -12509,6 +12810,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Region = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12521,6 +12823,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Size = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12529,6 +12832,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.Status = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -12537,6 +12841,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeId = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -12545,6 +12850,7 @@ func awsAwsjson11_deserializeDocumentVolume(v **types.Volume, value interface{}) } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -12584,6 +12890,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Encrypted = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -12596,6 +12903,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Iops = ptr.Int32(int32(i64)) } + case "MountPoint": if value != nil { jtv, ok := value.(string) @@ -12604,6 +12912,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.MountPoint = ptr.String(jtv) } + case "NumberOfDisks": if value != nil { jtv, ok := value.(json.Number) @@ -12616,6 +12925,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.NumberOfDisks = ptr.Int32(int32(i64)) } + case "RaidLevel": if value != nil { jtv, ok := value.(json.Number) @@ -12628,6 +12938,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.RaidLevel = ptr.Int32(int32(i64)) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12640,6 +12951,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.Size = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -12648,6 +12960,7 @@ func awsAwsjson11_deserializeDocumentVolumeConfiguration(v **types.VolumeConfigu } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -12751,30 +13064,37 @@ func awsAwsjson11_deserializeDocumentWeeklyAutoScalingSchedule(v **types.WeeklyA if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Friday, value); err != nil { return err } + case "Monday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Monday, value); err != nil { return err } + case "Saturday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Saturday, value); err != nil { return err } + case "Sunday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Sunday, value); err != nil { return err } + case "Thursday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Thursday, value); err != nil { return err } + case "Tuesday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Tuesday, value); err != nil { return err } + case "Wednesday": if err := awsAwsjson11_deserializeDocumentDailyAutoScalingSchedule(&sv.Wednesday, value); err != nil { return err } + default: _, _ = key, value @@ -12814,6 +13134,7 @@ func awsAwsjson11_deserializeOpDocumentCloneStackOutput(v **CloneStackOutput, va } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -12853,6 +13174,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu } sv.AppId = ptr.String(jtv) } + default: _, _ = key, value @@ -12892,6 +13214,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDeploymentOutput(v **CreateDeployme } sv.DeploymentId = ptr.String(jtv) } + default: _, _ = key, value @@ -12931,6 +13254,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12970,6 +13294,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLayerOutput(v **CreateLayerOutput, } sv.LayerId = ptr.String(jtv) } + default: _, _ = key, value @@ -13009,6 +13334,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStackOutput(v **CreateStackOutput, } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -13048,6 +13374,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.IamUserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13083,6 +13410,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgentVersionsOutput(v **DescribeA if err := awsAwsjson11_deserializeDocumentAgentVersions(&sv.AgentVersions, value); err != nil { return err } + default: _, _ = key, value @@ -13118,6 +13446,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppsOutput(v **DescribeAppsOutput if err := awsAwsjson11_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } + default: _, _ = key, value @@ -13153,6 +13482,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommandsOutput(v **DescribeComman if err := awsAwsjson11_deserializeDocumentCommands(&sv.Commands, value); err != nil { return err } + default: _, _ = key, value @@ -13188,6 +13518,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeploymentsOutput(v **DescribeDep if err := awsAwsjson11_deserializeDocumentDeployments(&sv.Deployments, value); err != nil { return err } + default: _, _ = key, value @@ -13223,6 +13554,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEcsClustersOutput(v **DescribeEcs if err := awsAwsjson11_deserializeDocumentEcsClusters(&sv.EcsClusters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13231,6 +13563,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEcsClustersOutput(v **DescribeEcs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13266,6 +13599,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeElasticIpsOutput(v **DescribeElas if err := awsAwsjson11_deserializeDocumentElasticIps(&sv.ElasticIps, value); err != nil { return err } + default: _, _ = key, value @@ -13301,6 +13635,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeElasticLoadBalancersOutput(v **De if err := awsAwsjson11_deserializeDocumentElasticLoadBalancers(&sv.ElasticLoadBalancers, value); err != nil { return err } + default: _, _ = key, value @@ -13336,6 +13671,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancesOutput(v **DescribeInsta if err := awsAwsjson11_deserializeDocumentInstances(&sv.Instances, value); err != nil { return err } + default: _, _ = key, value @@ -13371,6 +13707,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLayersOutput(v **DescribeLayersOu if err := awsAwsjson11_deserializeDocumentLayers(&sv.Layers, value); err != nil { return err } + default: _, _ = key, value @@ -13406,6 +13743,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLoadBasedAutoScalingOutput(v **De if err := awsAwsjson11_deserializeDocumentLoadBasedAutoScalingConfigurations(&sv.LoadBasedAutoScalingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -13441,6 +13779,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMyUserProfileOutput(v **DescribeM if err := awsAwsjson11_deserializeDocumentSelfUserProfile(&sv.UserProfile, value); err != nil { return err } + default: _, _ = key, value @@ -13476,6 +13815,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOperatingSystemsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentOperatingSystems(&sv.OperatingSystems, value); err != nil { return err } + default: _, _ = key, value @@ -13511,6 +13851,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionsOutput(v **DescribePer if err := awsAwsjson11_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -13546,6 +13887,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRaidArraysOutput(v **DescribeRaid if err := awsAwsjson11_deserializeDocumentRaidArrays(&sv.RaidArrays, value); err != nil { return err } + default: _, _ = key, value @@ -13581,6 +13923,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRdsDbInstancesOutput(v **Describe if err := awsAwsjson11_deserializeDocumentRdsDbInstances(&sv.RdsDbInstances, value); err != nil { return err } + default: _, _ = key, value @@ -13616,6 +13959,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceErrorsOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentServiceErrors(&sv.ServiceErrors, value); err != nil { return err } + default: _, _ = key, value @@ -13655,10 +13999,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStackProvisioningParametersOutput } sv.AgentInstallerUrl = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -13694,6 +14040,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStacksOutput(v **DescribeStacksOu if err := awsAwsjson11_deserializeDocumentStacks(&sv.Stacks, value); err != nil { return err } + default: _, _ = key, value @@ -13729,6 +14076,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStackSummaryOutput(v **DescribeSt if err := awsAwsjson11_deserializeDocumentStackSummary(&sv.StackSummary, value); err != nil { return err } + default: _, _ = key, value @@ -13764,6 +14112,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTimeBasedAutoScalingOutput(v **De if err := awsAwsjson11_deserializeDocumentTimeBasedAutoScalingConfigurations(&sv.TimeBasedAutoScalingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -13799,6 +14148,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfilesOutput(v **DescribeUs if err := awsAwsjson11_deserializeDocumentUserProfiles(&sv.UserProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -13834,6 +14184,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVolumesOutput(v **DescribeVolumes if err := awsAwsjson11_deserializeDocumentVolumes(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -13873,6 +14224,7 @@ func awsAwsjson11_deserializeOpDocumentGetHostnameSuggestionOutput(v **GetHostna } sv.Hostname = ptr.String(jtv) } + case "LayerId": if value != nil { jtv, ok := value.(string) @@ -13881,6 +14233,7 @@ func awsAwsjson11_deserializeOpDocumentGetHostnameSuggestionOutput(v **GetHostna } sv.LayerId = ptr.String(jtv) } + default: _, _ = key, value @@ -13916,6 +14269,7 @@ func awsAwsjson11_deserializeOpDocumentGrantAccessOutput(v **GrantAccessOutput, if err := awsAwsjson11_deserializeDocumentTemporaryCredential(&sv.TemporaryCredential, value); err != nil { return err } + default: _, _ = key, value @@ -13955,10 +14309,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13998,6 +14354,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterEcsClusterOutput(v **RegisterEcsC } sv.EcsClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14037,6 +14394,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterElasticIpOutput(v **RegisterElast } sv.ElasticIp = ptr.String(jtv) } + default: _, _ = key, value @@ -14076,6 +14434,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterInstanceOutput(v **RegisterInstan } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -14115,6 +14474,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterVolumeOutput(v **RegisterVolumeOu } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/opsworkscm/deserializers.go b/service/opsworkscm/deserializers.go index e56e5c09527..cd96ca60620 100644 --- a/service/opsworkscm/deserializers.go +++ b/service/opsworkscm/deserializers.go @@ -2487,6 +2487,7 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Maximum = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2495,6 +2496,7 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Name = ptr.String(jtv) } + case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -2507,6 +2509,7 @@ func awsAwsjson11_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Used = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2580,6 +2583,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupArn = ptr.String(jtv) } + case "BackupId": if value != nil { jtv, ok := value.(string) @@ -2588,6 +2592,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupId = ptr.String(jtv) } + case "BackupType": if value != nil { jtv, ok := value.(string) @@ -2596,6 +2601,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.BackupType = types.BackupType(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2611,6 +2617,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2619,6 +2626,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Description = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -2627,6 +2635,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Engine = ptr.String(jtv) } + case "EngineModel": if value != nil { jtv, ok := value.(string) @@ -2635,6 +2644,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.EngineModel = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -2643,6 +2653,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.EngineVersion = ptr.String(jtv) } + case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -2651,6 +2662,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.InstanceProfileArn = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -2659,6 +2671,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.InstanceType = ptr.String(jtv) } + case "KeyPair": if value != nil { jtv, ok := value.(string) @@ -2667,6 +2680,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.KeyPair = ptr.String(jtv) } + case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -2675,6 +2689,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.PreferredBackupWindow = ptr.String(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -2683,6 +2698,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "S3DataSize": if value != nil { jtv, ok := value.(json.Number) @@ -2695,6 +2711,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3DataSize = ptr.Int32(int32(i64)) } + case "S3DataUrl": if value != nil { jtv, ok := value.(string) @@ -2703,6 +2720,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3DataUrl = ptr.String(jtv) } + case "S3LogUrl": if value != nil { jtv, ok := value.(string) @@ -2711,10 +2729,12 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.S3LogUrl = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -2723,6 +2743,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ServerName = ptr.String(jtv) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -2731,6 +2752,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ServiceRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2739,6 +2761,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.Status = types.BackupStatus(jtv) } + case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -2747,10 +2770,12 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.StatusDescription = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } + case "ToolsVersion": if value != nil { jtv, ok := value.(string) @@ -2759,6 +2784,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.ToolsVersion = ptr.String(jtv) } + case "UserArn": if value != nil { jtv, ok := value.(string) @@ -2767,6 +2793,7 @@ func awsAwsjson11_deserializeDocumentBackup(v **types.Backup, value interface{}) } sv.UserArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2840,6 +2867,7 @@ func awsAwsjson11_deserializeDocumentEngineAttribute(v **types.EngineAttribute, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2848,6 +2876,7 @@ func awsAwsjson11_deserializeDocumentEngineAttribute(v **types.EngineAttribute, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2921,6 +2950,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2960,6 +2990,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2999,6 +3030,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3038,6 +3070,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3077,6 +3110,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3116,6 +3150,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "BackupRetentionCount": if value != nil { jtv, ok := value.(json.Number) @@ -3128,6 +3163,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.BackupRetentionCount = ptr.Int32(int32(i64)) } + case "CloudFormationStackArn": if value != nil { jtv, ok := value.(string) @@ -3136,6 +3172,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.CloudFormationStackArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3151,6 +3188,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } } + case "CustomDomain": if value != nil { jtv, ok := value.(string) @@ -3159,6 +3197,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.CustomDomain = ptr.String(jtv) } + case "DisableAutomatedBackup": if value != nil { jtv, ok := value.(bool) @@ -3167,6 +3206,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.DisableAutomatedBackup = ptr.Bool(jtv) } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -3175,6 +3215,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Endpoint = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -3183,10 +3224,12 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Engine = ptr.String(jtv) } + case "EngineAttributes": if err := awsAwsjson11_deserializeDocumentEngineAttributes(&sv.EngineAttributes, value); err != nil { return err } + case "EngineModel": if value != nil { jtv, ok := value.(string) @@ -3195,6 +3238,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.EngineModel = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -3203,6 +3247,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.EngineVersion = ptr.String(jtv) } + case "InstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -3211,6 +3256,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.InstanceProfileArn = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -3219,6 +3265,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.InstanceType = ptr.String(jtv) } + case "KeyPair": if value != nil { jtv, ok := value.(string) @@ -3227,6 +3274,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.KeyPair = ptr.String(jtv) } + case "MaintenanceStatus": if value != nil { jtv, ok := value.(string) @@ -3235,6 +3283,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.MaintenanceStatus = types.MaintenanceStatus(jtv) } + case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -3243,6 +3292,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.PreferredBackupWindow = ptr.String(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -3251,10 +3301,12 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SecurityGroupIds, value); err != nil { return err } + case "ServerArn": if value != nil { jtv, ok := value.(string) @@ -3263,6 +3315,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerArn = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -3271,6 +3324,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerName = ptr.String(jtv) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -3279,6 +3333,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServiceRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3287,6 +3342,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.Status = types.ServerStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -3295,10 +3351,12 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.StatusReason = ptr.String(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentStrings(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -3345,6 +3403,7 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } } + case "LogUrl": if value != nil { jtv, ok := value.(string) @@ -3353,6 +3412,7 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.LogUrl = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3361,6 +3421,7 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.Message = ptr.String(jtv) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -3369,6 +3430,7 @@ func awsAwsjson11_deserializeDocumentServerEvent(v **types.ServerEvent, value in } sv.ServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -3512,6 +3574,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3520,6 +3583,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3593,6 +3657,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3632,6 +3697,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateNodeOutput(v **AssociateNodeOutp } sv.NodeAssociationStatusToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3667,6 +3733,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBackupOutput(v **CreateBackupOutput if err := awsAwsjson11_deserializeDocumentBackup(&sv.Backup, value); err != nil { return err } + default: _, _ = key, value @@ -3702,6 +3769,7 @@ func awsAwsjson11_deserializeOpDocumentCreateServerOutput(v **CreateServerOutput if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -3799,6 +3867,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentAccountAttributes(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -3834,6 +3903,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups if err := awsAwsjson11_deserializeDocumentBackups(&sv.Backups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3842,6 +3912,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBackupsOutput(v **DescribeBackups } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3881,10 +3952,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventsOutput(v **DescribeEventsOu } sv.NextToken = ptr.String(jtv) } + case "ServerEvents": if err := awsAwsjson11_deserializeDocumentServerEvents(&sv.ServerEvents, value); err != nil { return err } + default: _, _ = key, value @@ -3920,6 +3993,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNodeAssociationStatusOutput(v **D if err := awsAwsjson11_deserializeDocumentEngineAttributes(&sv.EngineAttributes, value); err != nil { return err } + case "NodeAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -3928,6 +4002,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNodeAssociationStatusOutput(v **D } sv.NodeAssociationStatus = types.NodeAssociationStatus(jtv) } + default: _, _ = key, value @@ -3967,10 +4042,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServersOutput(v **DescribeServers } sv.NextToken = ptr.String(jtv) } + case "Servers": if err := awsAwsjson11_deserializeDocumentServers(&sv.Servers, value); err != nil { return err } + default: _, _ = key, value @@ -4010,6 +4087,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateNodeOutput(v **DisassociateNo } sv.NodeAssociationStatusToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4045,6 +4123,7 @@ func awsAwsjson11_deserializeOpDocumentExportServerEngineAttributeOutput(v **Exp if err := awsAwsjson11_deserializeDocumentEngineAttribute(&sv.EngineAttribute, value); err != nil { return err } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -4053,6 +4132,7 @@ func awsAwsjson11_deserializeOpDocumentExportServerEngineAttributeOutput(v **Exp } sv.ServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -4092,10 +4172,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4131,6 +4213,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreServerOutput(v **RestoreServerOutp if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -4166,6 +4249,7 @@ func awsAwsjson11_deserializeOpDocumentStartMaintenanceOutput(v **StartMaintenan if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -4263,6 +4347,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerEngineAttributesOutput(v **Up if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -4298,6 +4383,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerOutput(v **UpdateServerOutput if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/organizations/deserializers.go b/service/organizations/deserializers.go index 34ab5fedba2..3c0e046805c 100644 --- a/service/organizations/deserializers.go +++ b/service/organizations/deserializers.go @@ -8622,6 +8622,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8661,6 +8662,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -8669,6 +8671,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Reason = types.AccessDeniedForDependencyExceptionReason(jtv) } + default: _, _ = key, value @@ -8708,6 +8711,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Arn = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -8716,6 +8720,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Email = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8724,6 +8729,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Id = ptr.String(jtv) } + case "JoinedMethod": if value != nil { jtv, ok := value.(string) @@ -8732,6 +8738,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.JoinedMethod = types.AccountJoinedMethod(jtv) } + case "JoinedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8747,6 +8754,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8755,6 +8763,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8763,6 +8772,7 @@ func awsAwsjson11_deserializeDocumentAccount(v **types.Account, value interface{ } sv.Status = types.AccountStatus(jtv) } + default: _, _ = key, value @@ -8802,6 +8812,7 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyClosedException(v **types.Acc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8841,6 +8852,7 @@ func awsAwsjson11_deserializeDocumentAccountAlreadyRegisteredException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8880,6 +8892,7 @@ func awsAwsjson11_deserializeDocumentAccountNotFoundException(v **types.AccountN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8919,6 +8932,7 @@ func awsAwsjson11_deserializeDocumentAccountNotRegisteredException(v **types.Acc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8958,6 +8972,7 @@ func awsAwsjson11_deserializeDocumentAccountOwnerNotVerifiedException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9031,6 +9046,7 @@ func awsAwsjson11_deserializeDocumentAlreadyInOrganizationException(v **types.Al } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9070,6 +9086,7 @@ func awsAwsjson11_deserializeDocumentAWSOrganizationsNotInUseException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9109,6 +9126,7 @@ func awsAwsjson11_deserializeDocumentChild(v **types.Child, value interface{}) e } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9117,6 +9135,7 @@ func awsAwsjson11_deserializeDocumentChild(v **types.Child, value interface{}) e } sv.Type = types.ChildType(jtv) } + default: _, _ = key, value @@ -9156,6 +9175,7 @@ func awsAwsjson11_deserializeDocumentChildNotFoundException(v **types.ChildNotFo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9229,6 +9249,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9268,6 +9289,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9307,6 +9329,7 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9315,6 +9338,7 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Reason = types.ConstraintViolationExceptionReason(jtv) } + default: _, _ = key, value @@ -9354,6 +9378,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.AccountId = ptr.String(jtv) } + case "AccountName": if value != nil { jtv, ok := value.(string) @@ -9362,6 +9387,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.AccountName = ptr.String(jtv) } + case "CompletedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9377,6 +9403,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9385,6 +9412,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.FailureReason = types.CreateAccountFailureReason(jtv) } + case "GovCloudAccountId": if value != nil { jtv, ok := value.(string) @@ -9393,6 +9421,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.GovCloudAccountId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9401,6 +9430,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.Id = ptr.String(jtv) } + case "RequestedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9416,6 +9446,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9424,6 +9455,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatus(v **types.CreateAccount } sv.State = types.CreateAccountState(jtv) } + default: _, _ = key, value @@ -9497,6 +9529,7 @@ func awsAwsjson11_deserializeDocumentCreateAccountStatusNotFoundException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9536,6 +9569,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Arn = ptr.String(jtv) } + case "DelegationEnabledDate": if value != nil { switch jtv := value.(type) { @@ -9551,6 +9585,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } } + case "Email": if value != nil { jtv, ok := value.(string) @@ -9559,6 +9594,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Email = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9567,6 +9603,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Id = ptr.String(jtv) } + case "JoinedMethod": if value != nil { jtv, ok := value.(string) @@ -9575,6 +9612,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.JoinedMethod = types.AccountJoinedMethod(jtv) } + case "JoinedTimestamp": if value != nil { switch jtv := value.(type) { @@ -9590,6 +9628,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9598,6 +9637,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9606,6 +9646,7 @@ func awsAwsjson11_deserializeDocumentDelegatedAdministrator(v **types.DelegatedA } sv.Status = types.AccountStatus(jtv) } + default: _, _ = key, value @@ -9686,6 +9727,7 @@ func awsAwsjson11_deserializeDocumentDelegatedService(v **types.DelegatedService } } + case "ServicePrincipal": if value != nil { jtv, ok := value.(string) @@ -9694,6 +9736,7 @@ func awsAwsjson11_deserializeDocumentDelegatedService(v **types.DelegatedService } sv.ServicePrincipal = ptr.String(jtv) } + default: _, _ = key, value @@ -9767,6 +9810,7 @@ func awsAwsjson11_deserializeDocumentDestinationParentNotFoundException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9806,6 +9850,7 @@ func awsAwsjson11_deserializeDocumentDuplicateAccountException(v **types.Duplica } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9845,6 +9890,7 @@ func awsAwsjson11_deserializeDocumentDuplicateHandshakeException(v **types.Dupli } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9884,6 +9930,7 @@ func awsAwsjson11_deserializeDocumentDuplicateOrganizationalUnitException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9923,6 +9970,7 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyAttachmentException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9962,6 +10010,7 @@ func awsAwsjson11_deserializeDocumentDuplicatePolicyException(v **types.Duplicat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10008,6 +10057,7 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } } + case "PolicyContent": if value != nil { jtv, ok := value.(string) @@ -10016,6 +10066,7 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyContent = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -10024,6 +10075,7 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.PolicyType = types.EffectivePolicyType(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10032,6 +10084,7 @@ func awsAwsjson11_deserializeDocumentEffectivePolicy(v **types.EffectivePolicy, } sv.TargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10071,6 +10124,7 @@ func awsAwsjson11_deserializeDocumentEffectivePolicyNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10117,6 +10171,7 @@ func awsAwsjson11_deserializeDocumentEnabledServicePrincipal(v **types.EnabledSe } } + case "ServicePrincipal": if value != nil { jtv, ok := value.(string) @@ -10125,6 +10180,7 @@ func awsAwsjson11_deserializeDocumentEnabledServicePrincipal(v **types.EnabledSe } sv.ServicePrincipal = ptr.String(jtv) } + default: _, _ = key, value @@ -10198,6 +10254,7 @@ func awsAwsjson11_deserializeDocumentFinalizingOrganizationException(v **types.F } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10237,6 +10294,7 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Action = types.ActionType(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10245,6 +10303,7 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Arn = ptr.String(jtv) } + case "ExpirationTimestamp": if value != nil { switch jtv := value.(type) { @@ -10260,6 +10319,7 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10268,10 +10328,12 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.Id = ptr.String(jtv) } + case "Parties": if err := awsAwsjson11_deserializeDocumentHandshakeParties(&sv.Parties, value); err != nil { return err } + case "RequestedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10287,10 +10349,12 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } } + case "Resources": if err := awsAwsjson11_deserializeDocumentHandshakeResources(&sv.Resources, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -10299,6 +10363,7 @@ func awsAwsjson11_deserializeDocumentHandshake(v **types.Handshake, value interf } sv.State = types.HandshakeState(jtv) } + default: _, _ = key, value @@ -10338,6 +10403,7 @@ func awsAwsjson11_deserializeDocumentHandshakeAlreadyInStateException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10377,6 +10443,7 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -10385,6 +10452,7 @@ func awsAwsjson11_deserializeDocumentHandshakeConstraintViolationException(v **t } sv.Reason = types.HandshakeConstraintViolationExceptionReason(jtv) } + default: _, _ = key, value @@ -10424,6 +10492,7 @@ func awsAwsjson11_deserializeDocumentHandshakeNotFoundException(v **types.Handsh } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10497,6 +10566,7 @@ func awsAwsjson11_deserializeDocumentHandshakeParty(v **types.HandshakeParty, va } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10505,6 +10575,7 @@ func awsAwsjson11_deserializeDocumentHandshakeParty(v **types.HandshakeParty, va } sv.Type = types.HandshakePartyType(jtv) } + default: _, _ = key, value @@ -10540,6 +10611,7 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour if err := awsAwsjson11_deserializeDocumentHandshakeResources(&sv.Resources, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10548,6 +10620,7 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour } sv.Type = types.HandshakeResourceType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10556,6 +10629,7 @@ func awsAwsjson11_deserializeDocumentHandshakeResource(v **types.HandshakeResour } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10663,6 +10737,7 @@ func awsAwsjson11_deserializeDocumentInvalidHandshakeTransitionException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10702,6 +10777,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -10710,6 +10786,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Reason = types.InvalidInputExceptionReason(jtv) } + default: _, _ = key, value @@ -10749,6 +10826,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10788,6 +10866,7 @@ func awsAwsjson11_deserializeDocumentMasterCannotLeaveOrganizationException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10827,10 +10906,12 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.Arn = ptr.String(jtv) } + case "AvailablePolicyTypes": if err := awsAwsjson11_deserializeDocumentPolicyTypes(&sv.AvailablePolicyTypes, value); err != nil { return err } + case "FeatureSet": if value != nil { jtv, ok := value.(string) @@ -10839,6 +10920,7 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.FeatureSet = types.OrganizationFeatureSet(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10847,6 +10929,7 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.Id = ptr.String(jtv) } + case "MasterAccountArn": if value != nil { jtv, ok := value.(string) @@ -10855,6 +10938,7 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountArn = ptr.String(jtv) } + case "MasterAccountEmail": if value != nil { jtv, ok := value.(string) @@ -10863,6 +10947,7 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountEmail = ptr.String(jtv) } + case "MasterAccountId": if value != nil { jtv, ok := value.(string) @@ -10871,6 +10956,7 @@ func awsAwsjson11_deserializeDocumentOrganization(v **types.Organization, value } sv.MasterAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -10910,6 +10996,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10918,6 +11005,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10926,6 +11014,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnit(v **types.Organizational } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10965,6 +11054,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotEmptyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11004,6 +11094,7 @@ func awsAwsjson11_deserializeDocumentOrganizationalUnitNotFoundException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11077,6 +11168,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNotEmptyException(v **types.Org } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11116,6 +11208,7 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11124,6 +11217,7 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Type = types.ParentType(jtv) } + default: _, _ = key, value @@ -11163,6 +11257,7 @@ func awsAwsjson11_deserializeDocumentParentNotFoundException(v **types.ParentNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11270,10 +11365,12 @@ func awsAwsjson11_deserializeDocumentPolicy(v **types.Policy, value interface{}) } sv.Content = ptr.String(jtv) } + case "PolicySummary": if err := awsAwsjson11_deserializeDocumentPolicySummary(&sv.PolicySummary, value); err != nil { return err } + default: _, _ = key, value @@ -11313,6 +11410,7 @@ func awsAwsjson11_deserializeDocumentPolicyChangesInProgressException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11352,6 +11450,7 @@ func awsAwsjson11_deserializeDocumentPolicyInUseException(v **types.PolicyInUseE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11391,6 +11490,7 @@ func awsAwsjson11_deserializeDocumentPolicyNotAttachedException(v **types.Policy } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11430,6 +11530,7 @@ func awsAwsjson11_deserializeDocumentPolicyNotFoundException(v **types.PolicyNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11469,6 +11570,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Arn = ptr.String(jtv) } + case "AwsManaged": if value != nil { jtv, ok := value.(bool) @@ -11477,6 +11579,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.AwsManaged = jtv } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11485,6 +11588,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11493,6 +11597,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11501,6 +11606,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11509,6 +11615,7 @@ func awsAwsjson11_deserializeDocumentPolicySummary(v **types.PolicySummary, valu } sv.Type = types.PolicyType(jtv) } + default: _, _ = key, value @@ -11582,6 +11689,7 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11590,6 +11698,7 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Name = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -11598,6 +11707,7 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.TargetId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11606,6 +11716,7 @@ func awsAwsjson11_deserializeDocumentPolicyTargetSummary(v **types.PolicyTargetS } sv.Type = types.TargetType(jtv) } + default: _, _ = key, value @@ -11645,6 +11756,7 @@ func awsAwsjson11_deserializeDocumentPolicyTypeAlreadyEnabledException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11684,6 +11796,7 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotAvailableForOrganizationExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11723,6 +11836,7 @@ func awsAwsjson11_deserializeDocumentPolicyTypeNotEnabledException(v **types.Pol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11796,6 +11910,7 @@ func awsAwsjson11_deserializeDocumentPolicyTypeSummary(v **types.PolicyTypeSumma } sv.Status = types.PolicyTypeStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11804,6 +11919,7 @@ func awsAwsjson11_deserializeDocumentPolicyTypeSummary(v **types.PolicyTypeSumma } sv.Type = types.PolicyType(jtv) } + default: _, _ = key, value @@ -11843,10 +11959,12 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Content = ptr.String(jtv) } + case "ResourcePolicySummary": if err := awsAwsjson11_deserializeDocumentResourcePolicySummary(&sv.ResourcePolicySummary, value); err != nil { return err } + default: _, _ = key, value @@ -11886,6 +12004,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11925,6 +12044,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicySummary(v **types.ResourcePol } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11933,6 +12053,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicySummary(v **types.ResourcePol } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -11972,6 +12093,7 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11980,6 +12102,7 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11988,10 +12111,12 @@ func awsAwsjson11_deserializeDocumentRoot(v **types.Root, value interface{}) err } sv.Name = ptr.String(jtv) } + case "PolicyTypes": if err := awsAwsjson11_deserializeDocumentPolicyTypes(&sv.PolicyTypes, value); err != nil { return err } + default: _, _ = key, value @@ -12031,6 +12156,7 @@ func awsAwsjson11_deserializeDocumentRootNotFoundException(v **types.RootNotFoun } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12104,6 +12230,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12143,6 +12270,7 @@ func awsAwsjson11_deserializeDocumentSourceParentNotFoundException(v **types.Sou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12182,6 +12310,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12190,6 +12319,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12263,6 +12393,7 @@ func awsAwsjson11_deserializeDocumentTargetNotFoundException(v **types.TargetNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12302,6 +12433,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12310,6 +12442,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12349,6 +12482,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedAPIEndpointException(v **types.U } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12384,6 +12518,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptHandshakeOutput(v **AcceptHandshake if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -12419,6 +12554,7 @@ func awsAwsjson11_deserializeOpDocumentCancelHandshakeOutput(v **CancelHandshake if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -12454,6 +12590,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountOutput(v **CreateAccountOutp if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12489,6 +12626,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGovCloudAccountOutput(v **CreateGov if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12524,6 +12662,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationalUnitOutput(v **Create if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } + default: _, _ = key, value @@ -12559,6 +12698,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationOutput(v **CreateOrgani if err := awsAwsjson11_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } + default: _, _ = key, value @@ -12594,6 +12734,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -12629,6 +12770,7 @@ func awsAwsjson11_deserializeOpDocumentDeclineHandshakeOutput(v **DeclineHandsha if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -12664,6 +12806,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount if err := awsAwsjson11_deserializeDocumentAccount(&sv.Account, value); err != nil { return err } + default: _, _ = key, value @@ -12699,6 +12842,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateAccountStatusOutput(v **Des if err := awsAwsjson11_deserializeDocumentCreateAccountStatus(&sv.CreateAccountStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12734,6 +12878,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePolicyOutput(v **Describ if err := awsAwsjson11_deserializeDocumentEffectivePolicy(&sv.EffectivePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12769,6 +12914,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHandshakeOutput(v **DescribeHands if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -12804,6 +12950,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationalUnitOutput(v **Desc if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } + default: _, _ = key, value @@ -12839,6 +12986,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr if err := awsAwsjson11_deserializeDocumentOrganization(&sv.Organization, value); err != nil { return err } + default: _, _ = key, value @@ -12874,6 +13022,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePolicyOutput(v **DescribePolicyOu if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -12909,6 +13058,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourcePolicyOutput(v **Describe if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -12944,6 +13094,7 @@ func awsAwsjson11_deserializeOpDocumentDisablePolicyTypeOutput(v **DisablePolicy if err := awsAwsjson11_deserializeDocumentRoot(&sv.Root, value); err != nil { return err } + default: _, _ = key, value @@ -12979,6 +13130,7 @@ func awsAwsjson11_deserializeOpDocumentEnableAllFeaturesOutput(v **EnableAllFeat if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -13014,6 +13166,7 @@ func awsAwsjson11_deserializeOpDocumentEnablePolicyTypeOutput(v **EnablePolicyTy if err := awsAwsjson11_deserializeDocumentRoot(&sv.Root, value); err != nil { return err } + default: _, _ = key, value @@ -13049,6 +13202,7 @@ func awsAwsjson11_deserializeOpDocumentInviteAccountToOrganizationOutput(v **Inv if err := awsAwsjson11_deserializeDocumentHandshake(&sv.Handshake, value); err != nil { return err } + default: _, _ = key, value @@ -13084,6 +13238,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForParentOutput(v **ListAccou if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13092,6 +13247,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForParentOutput(v **ListAccou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13127,6 +13283,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13135,6 +13292,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13170,6 +13328,7 @@ func awsAwsjson11_deserializeOpDocumentListAWSServiceAccessForOrganizationOutput if err := awsAwsjson11_deserializeDocumentEnabledServicePrincipals(&sv.EnabledServicePrincipals, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13178,6 +13337,7 @@ func awsAwsjson11_deserializeOpDocumentListAWSServiceAccessForOrganizationOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13213,6 +13373,7 @@ func awsAwsjson11_deserializeOpDocumentListChildrenOutput(v **ListChildrenOutput if err := awsAwsjson11_deserializeDocumentChildren(&sv.Children, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13221,6 +13382,7 @@ func awsAwsjson11_deserializeOpDocumentListChildrenOutput(v **ListChildrenOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13256,6 +13418,7 @@ func awsAwsjson11_deserializeOpDocumentListCreateAccountStatusOutput(v **ListCre if err := awsAwsjson11_deserializeDocumentCreateAccountStatuses(&sv.CreateAccountStatuses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13264,6 +13427,7 @@ func awsAwsjson11_deserializeOpDocumentListCreateAccountStatusOutput(v **ListCre } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13299,6 +13463,7 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedAdministratorsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentDelegatedAdministrators(&sv.DelegatedAdministrators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13307,6 +13472,7 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedAdministratorsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13342,6 +13508,7 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedServicesForAccountOutput(v * if err := awsAwsjson11_deserializeDocumentDelegatedServices(&sv.DelegatedServices, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13350,6 +13517,7 @@ func awsAwsjson11_deserializeOpDocumentListDelegatedServicesForAccountOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13385,6 +13553,7 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForAccountOutput(v **ListHa if err := awsAwsjson11_deserializeDocumentHandshakes(&sv.Handshakes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13393,6 +13562,7 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForAccountOutput(v **ListHa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13428,6 +13598,7 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForOrganizationOutput(v **L if err := awsAwsjson11_deserializeDocumentHandshakes(&sv.Handshakes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13436,6 +13607,7 @@ func awsAwsjson11_deserializeOpDocumentListHandshakesForOrganizationOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13475,10 +13647,12 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationalUnitsForParentOutput(v } sv.NextToken = ptr.String(jtv) } + case "OrganizationalUnits": if err := awsAwsjson11_deserializeDocumentOrganizationalUnits(&sv.OrganizationalUnits, value); err != nil { return err } + default: _, _ = key, value @@ -13518,10 +13692,12 @@ func awsAwsjson11_deserializeOpDocumentListParentsOutput(v **ListParentsOutput, } sv.NextToken = ptr.String(jtv) } + case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } + default: _, _ = key, value @@ -13561,10 +13737,12 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesForTargetOutput(v **ListPolic } sv.NextToken = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -13604,10 +13782,12 @@ func awsAwsjson11_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentPolicies(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -13647,10 +13827,12 @@ func awsAwsjson11_deserializeOpDocumentListRootsOutput(v **ListRootsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Roots": if err := awsAwsjson11_deserializeDocumentRoots(&sv.Roots, value); err != nil { return err } + default: _, _ = key, value @@ -13690,10 +13872,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13733,10 +13917,12 @@ func awsAwsjson11_deserializeOpDocumentListTargetsForPolicyOutput(v **ListTarget } sv.NextToken = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentPolicyTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -13772,6 +13958,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -13807,6 +13994,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateOrganizationalUnitOutput(v **Update if err := awsAwsjson11_deserializeDocumentOrganizationalUnit(&sv.OrganizationalUnit, value); err != nil { return err } + default: _, _ = key, value @@ -13842,6 +14030,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput if err := awsAwsjson11_deserializeDocumentPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/osis/deserializers.go b/service/osis/deserializers.go index 1ee6d0a08a7..2eded4c11e8 100644 --- a/service/osis/deserializers.go +++ b/service/osis/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -455,6 +456,7 @@ func awsRestjson1_deserializeOpDocumentGetPipelineOutput(v **GetPipelineOutput, if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -618,6 +620,7 @@ func awsRestjson1_deserializeOpDocumentGetPipelineBlueprintOutput(v **GetPipelin if err := awsRestjson1_deserializeDocumentPipelineBlueprint(&sv.Blueprint, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -626,6 +629,7 @@ func awsRestjson1_deserializeOpDocumentGetPipelineBlueprintOutput(v **GetPipelin } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -789,6 +793,7 @@ func awsRestjson1_deserializeOpDocumentGetPipelineChangeProgressOutput(v **GetPi if err := awsRestjson1_deserializeDocumentChangeProgressStatusList(&sv.ChangeProgressStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -952,6 +957,7 @@ func awsRestjson1_deserializeOpDocumentListPipelineBlueprintsOutput(v **ListPipe if err := awsRestjson1_deserializeDocumentPipelineBlueprintsSummaryList(&sv.Blueprints, value); err != nil { return err } + default: _, _ = key, value @@ -1119,10 +1125,12 @@ func awsRestjson1_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } + case "Pipelines": if err := awsRestjson1_deserializeDocumentPipelineSummaryList(&sv.Pipelines, value); err != nil { return err } + default: _, _ = key, value @@ -1286,6 +1294,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1452,6 +1461,7 @@ func awsRestjson1_deserializeOpDocumentStartPipelineOutput(v **StartPipelineOutp if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -1618,6 +1628,7 @@ func awsRestjson1_deserializeOpDocumentStopPipelineOutput(v **StopPipelineOutput if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -1987,6 +1998,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu if err := awsRestjson1_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -2147,6 +2159,7 @@ func awsRestjson1_deserializeOpDocumentValidatePipelineOutput(v **ValidatePipeli if err := awsRestjson1_deserializeDocumentValidationMessageList(&sv.Errors, value); err != nil { return err } + case "isValid": if value != nil { jtv, ok := value.(bool) @@ -2155,6 +2168,7 @@ func awsRestjson1_deserializeOpDocumentValidatePipelineOutput(v **ValidatePipeli } sv.IsValid = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2518,6 +2532,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2557,6 +2572,7 @@ func awsRestjson1_deserializeDocumentBufferOptions(v **types.BufferOptions, valu } sv.PersistentBufferEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2596,6 +2612,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Description = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2611,6 +2628,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2619,6 +2637,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2627,6 +2646,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStage(v **types.ChangeProgres } sv.Status = types.ChangeProgressStageStatuses(jtv) } + default: _, _ = key, value @@ -2696,6 +2716,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre if err := awsRestjson1_deserializeDocumentChangeProgressStageList(&sv.ChangeProgressStages, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2711,6 +2732,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2719,6 +2741,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } sv.Status = types.ChangeProgressStatuses(jtv) } + case "TotalNumberOfStages": if value != nil { jtv, ok := value.(json.Number) @@ -2731,6 +2754,7 @@ func awsRestjson1_deserializeDocumentChangeProgressStatus(v **types.ChangeProgre } sv.TotalNumberOfStages = int32(i64) } + default: _, _ = key, value @@ -2804,6 +2828,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogDestination(v **types.CloudWat } sv.LogGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -2843,6 +2868,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2882,6 +2908,7 @@ func awsRestjson1_deserializeDocumentDisabledOperationException(v **types.Disabl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2921,6 +2948,7 @@ func awsRestjson1_deserializeDocumentEncryptionAtRestOptions(v **types.Encryptio } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2996,6 +3024,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3035,6 +3064,7 @@ func awsRestjson1_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3074,6 +3104,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3109,6 +3140,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOptions(v **types.LogPublishin if err := awsRestjson1_deserializeDocumentCloudWatchLogDestination(&sv.CloudWatchLogDestination, value); err != nil { return err } + case "IsLoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -3117,6 +3149,7 @@ func awsRestjson1_deserializeDocumentLogPublishingOptions(v **types.LogPublishin } sv.IsLoggingEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3152,6 +3185,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsRestjson1_deserializeDocumentBufferOptions(&sv.BufferOptions, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3167,18 +3201,22 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "Destinations": if err := awsRestjson1_deserializeDocumentPipelineDestinationList(&sv.Destinations, value); err != nil { return err } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "IngestEndpointUrls": if err := awsRestjson1_deserializeDocumentIngestEndpointUrlsList(&sv.IngestEndpointUrls, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3194,10 +3232,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } + case "MaxUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3210,6 +3250,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.MaxUnits = int32(i64) } + case "MinUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3222,6 +3263,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.MinUnits = int32(i64) } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -3230,6 +3272,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineArn = ptr.String(jtv) } + case "PipelineConfigurationBody": if value != nil { jtv, ok := value.(string) @@ -3238,6 +3281,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineConfigurationBody = ptr.String(jtv) } + case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -3246,10 +3290,12 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineName = ptr.String(jtv) } + case "ServiceVpcEndpoints": if err := awsRestjson1_deserializeDocumentServiceVpcEndpointsList(&sv.ServiceVpcEndpoints, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3258,18 +3304,22 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.Status = types.PipelineStatus(jtv) } + case "StatusReason": if err := awsRestjson1_deserializeDocumentPipelineStatusReason(&sv.StatusReason, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VpcEndpoints": if err := awsRestjson1_deserializeDocumentVpcEndpointsList(&sv.VpcEndpoints, value); err != nil { return err } + case "VpcEndpointService": if value != nil { jtv, ok := value.(string) @@ -3278,6 +3328,7 @@ func awsRestjson1_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.VpcEndpointService = ptr.String(jtv) } + default: _, _ = key, value @@ -3317,6 +3368,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.BlueprintName = ptr.String(jtv) } + case "DisplayDescription": if value != nil { jtv, ok := value.(string) @@ -3325,6 +3377,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.DisplayDescription = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3333,6 +3386,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.DisplayName = ptr.String(jtv) } + case "PipelineConfigurationBody": if value != nil { jtv, ok := value.(string) @@ -3341,6 +3395,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.PipelineConfigurationBody = ptr.String(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -3349,6 +3404,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.Service = ptr.String(jtv) } + case "UseCase": if value != nil { jtv, ok := value.(string) @@ -3357,6 +3413,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprint(v **types.PipelineBluepri } sv.UseCase = ptr.String(jtv) } + default: _, _ = key, value @@ -3430,6 +3487,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.BlueprintName = ptr.String(jtv) } + case "DisplayDescription": if value != nil { jtv, ok := value.(string) @@ -3438,6 +3496,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.DisplayDescription = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3446,6 +3505,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.DisplayName = ptr.String(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -3454,6 +3514,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.Service = ptr.String(jtv) } + case "UseCase": if value != nil { jtv, ok := value.(string) @@ -3462,6 +3523,7 @@ func awsRestjson1_deserializeDocumentPipelineBlueprintSummary(v **types.Pipeline } sv.UseCase = ptr.String(jtv) } + default: _, _ = key, value @@ -3501,6 +3563,7 @@ func awsRestjson1_deserializeDocumentPipelineDestination(v **types.PipelineDesti } sv.Endpoint = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -3509,6 +3572,7 @@ func awsRestjson1_deserializeDocumentPipelineDestination(v **types.PipelineDesti } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -3582,6 +3646,7 @@ func awsRestjson1_deserializeDocumentPipelineStatusReason(v **types.PipelineStat } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -3628,10 +3693,12 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "Destinations": if err := awsRestjson1_deserializeDocumentPipelineDestinationList(&sv.Destinations, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3647,6 +3714,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "MaxUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3659,6 +3727,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.MaxUnits = ptr.Int32(int32(i64)) } + case "MinUnits": if value != nil { jtv, ok := value.(json.Number) @@ -3671,6 +3740,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.MinUnits = ptr.Int32(int32(i64)) } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -3679,6 +3749,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineArn = ptr.String(jtv) } + case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -3687,6 +3758,7 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3695,14 +3767,17 @@ func awsRestjson1_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.Status = types.PipelineStatus(jtv) } + case "StatusReason": if err := awsRestjson1_deserializeDocumentPipelineStatusReason(&sv.StatusReason, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3776,6 +3851,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3815,6 +3891,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3890,6 +3967,7 @@ func awsRestjson1_deserializeDocumentServiceVpcEndpoint(v **types.ServiceVpcEndp } sv.ServiceName = types.VpcEndpointServiceName(jtv) } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -3898,6 +3976,7 @@ func awsRestjson1_deserializeDocumentServiceVpcEndpoint(v **types.ServiceVpcEndp } sv.VpcEndpointId = ptr.String(jtv) } + default: _, _ = key, value @@ -4007,6 +4086,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4015,6 +4095,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4088,6 +4169,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4127,6 +4209,7 @@ func awsRestjson1_deserializeDocumentValidationMessage(v **types.ValidationMessa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4200,6 +4283,7 @@ func awsRestjson1_deserializeDocumentVpcAttachmentOptions(v **types.VpcAttachmen } sv.AttachToVpc = ptr.Bool(jtv) } + case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -4208,6 +4292,7 @@ func awsRestjson1_deserializeDocumentVpcAttachmentOptions(v **types.VpcAttachmen } sv.CidrBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -4247,6 +4332,7 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -4255,10 +4341,12 @@ func awsRestjson1_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcId = ptr.String(jtv) } + case "VpcOptions": if err := awsRestjson1_deserializeDocumentVpcOptions(&sv.VpcOptions, value); err != nil { return err } + default: _, _ = key, value @@ -4328,14 +4416,17 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcAttachmentOptions": if err := awsRestjson1_deserializeDocumentVpcAttachmentOptions(&sv.VpcAttachmentOptions, value); err != nil { return err } + case "VpcEndpointManagement": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4435,7 @@ func awsRestjson1_deserializeDocumentVpcOptions(v **types.VpcOptions, value inte } sv.VpcEndpointManagement = types.VpcEndpointManagement(jtv) } + default: _, _ = key, value diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index 7385ea7bf35..00c8b686058 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -387,6 +387,7 @@ func awsRestjson1_deserializeOpDocumentCreateOrderOutput(v **CreateOrderOutput, if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } + default: _, _ = key, value @@ -553,6 +554,7 @@ func awsRestjson1_deserializeOpDocumentCreateOutpostOutput(v **CreateOutpostOutp if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } + default: _, _ = key, value @@ -716,6 +718,7 @@ func awsRestjson1_deserializeOpDocumentCreateSiteOutput(v **CreateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -1080,6 +1083,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.CapacityTaskId = ptr.String(jtv) } + case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -1088,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -1103,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1118,6 +1124,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } + case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -1126,10 +1133,12 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.DryRun = jtv } + case "Failed": if err := awsRestjson1_deserializeDocumentCapacityTaskFailure(&sv.Failed, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -1145,6 +1154,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -1153,6 +1163,7 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.OrderId = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -1161,10 +1172,12 @@ func awsRestjson1_deserializeOpDocumentGetCapacityTaskOutput(v **GetCapacityTask } sv.OutpostId = ptr.String(jtv) } + case "RequestedInstancePools": if err := awsRestjson1_deserializeDocumentRequestedInstancePools(&sv.RequestedInstancePools, value); err != nil { return err } + default: _, _ = key, value @@ -1322,6 +1335,7 @@ func awsRestjson1_deserializeOpDocumentGetCatalogItemOutput(v **GetCatalogItemOu if err := awsRestjson1_deserializeDocumentCatalogItem(&sv.CatalogItem, value); err != nil { return err } + default: _, _ = key, value @@ -1482,6 +1496,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp if err := awsRestjson1_deserializeDocumentConnectionDetails(&sv.ConnectionDetails, value); err != nil { return err } + case "ConnectionId": if value != nil { jtv, ok := value.(string) @@ -1490,6 +1505,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectionOutput(v **GetConnectionOutp } sv.ConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1647,6 +1663,7 @@ func awsRestjson1_deserializeOpDocumentGetOrderOutput(v **GetOrderOutput, value if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } + default: _, _ = key, value @@ -1807,6 +1824,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostOutput(v **GetOutpostOutput, va if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } + default: _, _ = key, value @@ -1967,6 +1985,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp if err := awsRestjson1_deserializeDocumentInstanceTypeListDefinition(&sv.InstanceTypes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1975,6 +1994,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.NextToken = ptr.String(jtv) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -1983,6 +2003,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.OutpostArn = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -1991,6 +2012,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostInstanceTypesOutput(v **GetOutp } sv.OutpostId = ptr.String(jtv) } + default: _, _ = key, value @@ -2151,6 +2173,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostSupportedInstanceTypesOutput(v if err := awsRestjson1_deserializeDocumentInstanceTypeListDefinition(&sv.InstanceTypes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2159,6 +2182,7 @@ func awsRestjson1_deserializeOpDocumentGetOutpostSupportedInstanceTypesOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2319,6 +2343,7 @@ func awsRestjson1_deserializeOpDocumentGetSiteOutput(v **GetSiteOutput, value in if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -2479,6 +2504,7 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressType": if value != nil { jtv, ok := value.(string) @@ -2487,6 +2513,7 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu } sv.AddressType = types.AddressType(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -2495,6 +2522,7 @@ func awsRestjson1_deserializeOpDocumentGetSiteAddressOutput(v **GetSiteAddressOu } sv.SiteId = ptr.String(jtv) } + default: _, _ = key, value @@ -2655,6 +2683,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va if err := awsRestjson1_deserializeDocumentAssetListDefinition(&sv.Assets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2663,6 +2692,7 @@ func awsRestjson1_deserializeOpDocumentListAssetsOutput(v **ListAssetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2823,6 +2853,7 @@ func awsRestjson1_deserializeOpDocumentListCapacityTasksOutput(v **ListCapacityT if err := awsRestjson1_deserializeDocumentCapacityTaskList(&sv.CapacityTasks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2831,6 +2862,7 @@ func awsRestjson1_deserializeOpDocumentListCapacityTasksOutput(v **ListCapacityT } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2988,6 +3020,7 @@ func awsRestjson1_deserializeOpDocumentListCatalogItemsOutput(v **ListCatalogIte if err := awsRestjson1_deserializeDocumentCatalogItemListDefinition(&sv.CatalogItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2996,6 +3029,7 @@ func awsRestjson1_deserializeOpDocumentListCatalogItemsOutput(v **ListCatalogIte } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3160,10 +3194,12 @@ func awsRestjson1_deserializeOpDocumentListOrdersOutput(v **ListOrdersOutput, va } sv.NextToken = ptr.String(jtv) } + case "Orders": if err := awsRestjson1_deserializeDocumentOrderSummaryListDefinition(&sv.Orders, value); err != nil { return err } + default: _, _ = key, value @@ -3325,10 +3361,12 @@ func awsRestjson1_deserializeOpDocumentListOutpostsOutput(v **ListOutpostsOutput } sv.NextToken = ptr.String(jtv) } + case "Outposts": if err := awsRestjson1_deserializeDocumentOutpostListDefinition(&sv.Outposts, value); err != nil { return err } + default: _, _ = key, value @@ -3490,10 +3528,12 @@ func awsRestjson1_deserializeOpDocumentListSitesOutput(v **ListSitesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Sites": if err := awsRestjson1_deserializeDocumentSiteListDefinition(&sv.Sites, value); err != nil { return err } + default: _, _ = key, value @@ -3651,6 +3691,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3818,6 +3859,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.CapacityTaskId = ptr.String(jtv) } + case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -3826,6 +3868,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -3841,6 +3884,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3856,6 +3900,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } + case "DryRun": if value != nil { jtv, ok := value.(bool) @@ -3864,10 +3909,12 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.DryRun = jtv } + case "Failed": if err := awsRestjson1_deserializeDocumentCapacityTaskFailure(&sv.Failed, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -3883,6 +3930,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -3891,6 +3939,7 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.OrderId = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -3899,10 +3948,12 @@ func awsRestjson1_deserializeOpDocumentStartCapacityTaskOutput(v **StartCapacity } sv.OutpostId = ptr.String(jtv) } + case "RequestedInstancePools": if err := awsRestjson1_deserializeDocumentRequestedInstancePools(&sv.RequestedInstancePools, value); err != nil { return err } + default: _, _ = key, value @@ -4067,6 +4118,7 @@ func awsRestjson1_deserializeOpDocumentStartConnectionOutput(v **StartConnection } sv.ConnectionId = ptr.String(jtv) } + case "UnderlayIpAddress": if value != nil { jtv, ok := value.(string) @@ -4075,6 +4127,7 @@ func awsRestjson1_deserializeOpDocumentStartConnectionOutput(v **StartConnection } sv.UnderlayIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -4426,6 +4479,7 @@ func awsRestjson1_deserializeOpDocumentUpdateOutpostOutput(v **UpdateOutpostOutp if err := awsRestjson1_deserializeDocumentOutpost(&sv.Outpost, value); err != nil { return err } + default: _, _ = key, value @@ -4589,6 +4643,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteOutput(v **UpdateSiteOutput, va if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -4752,6 +4807,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteAddressOutput(v **UpdateSiteAdd if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "AddressType": if value != nil { jtv, ok := value.(string) @@ -4760,6 +4816,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteAddressOutput(v **UpdateSiteAdd } sv.AddressType = types.AddressType(jtv) } + default: _, _ = key, value @@ -4923,6 +4980,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSiteRackPhysicalPropertiesOutput(v if err := awsRestjson1_deserializeDocumentSite(&sv.Site, value); err != nil { return err } + default: _, _ = key, value @@ -5178,6 +5236,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5217,6 +5276,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine1 = ptr.String(jtv) } + case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -5225,6 +5285,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine2 = ptr.String(jtv) } + case "AddressLine3": if value != nil { jtv, ok := value.(string) @@ -5233,6 +5294,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine3 = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -5241,6 +5303,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "ContactName": if value != nil { jtv, ok := value.(string) @@ -5249,6 +5312,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.ContactName = ptr.String(jtv) } + case "ContactPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -5257,6 +5321,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.ContactPhoneNumber = ptr.String(jtv) } + case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -5265,6 +5330,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.CountryCode = ptr.String(jtv) } + case "DistrictOrCounty": if value != nil { jtv, ok := value.(string) @@ -5273,6 +5339,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.DistrictOrCounty = ptr.String(jtv) } + case "Municipality": if value != nil { jtv, ok := value.(string) @@ -5281,6 +5348,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Municipality = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -5289,6 +5357,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "StateOrRegion": if value != nil { jtv, ok := value.(string) @@ -5297,6 +5366,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -5336,10 +5406,12 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.AssetId = ptr.String(jtv) } + case "AssetLocation": if err := awsRestjson1_deserializeDocumentAssetLocation(&sv.AssetLocation, value); err != nil { return err } + case "AssetType": if value != nil { jtv, ok := value.(string) @@ -5348,10 +5420,12 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.AssetType = types.AssetType(jtv) } + case "ComputeAttributes": if err := awsRestjson1_deserializeDocumentComputeAttributes(&sv.ComputeAttributes, value); err != nil { return err } + case "RackId": if value != nil { jtv, ok := value.(string) @@ -5360,6 +5434,7 @@ func awsRestjson1_deserializeDocumentAssetInfo(v **types.AssetInfo, value interf } sv.RackId = ptr.String(jtv) } + default: _, _ = key, value @@ -5458,6 +5533,7 @@ func awsRestjson1_deserializeDocumentAssetLocation(v **types.AssetLocation, valu } } + default: _, _ = key, value @@ -5497,6 +5573,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskFailure(v **types.CapacityTaskF } sv.Reason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5505,6 +5582,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskFailure(v **types.CapacityTaskF } sv.Type = types.CapacityTaskFailureType(jtv) } + default: _, _ = key, value @@ -5578,6 +5656,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.CapacityTaskId = ptr.String(jtv) } + case "CapacityTaskStatus": if value != nil { jtv, ok := value.(string) @@ -5586,6 +5665,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.CapacityTaskStatus = types.CapacityTaskStatus(jtv) } + case "CompletionDate": if value != nil { switch jtv := value.(type) { @@ -5601,6 +5681,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5616,6 +5697,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -5631,6 +5713,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -5639,6 +5722,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.OrderId = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -5647,6 +5731,7 @@ func awsRestjson1_deserializeDocumentCapacityTaskSummary(v **types.CapacityTaskS } sv.OutpostId = ptr.String(jtv) } + default: _, _ = key, value @@ -5686,10 +5771,12 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.CatalogItemId = ptr.String(jtv) } + case "EC2Capacities": if err := awsRestjson1_deserializeDocumentEC2CapacityListDefinition(&sv.EC2Capacities, value); err != nil { return err } + case "ItemStatus": if value != nil { jtv, ok := value.(string) @@ -5698,6 +5785,7 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.ItemStatus = types.CatalogItemStatus(jtv) } + case "PowerKva": if value != nil { switch jtv := value.(type) { @@ -5731,14 +5819,17 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } } + case "SupportedStorage": if err := awsRestjson1_deserializeDocumentSupportedStorageList(&sv.SupportedStorage, value); err != nil { return err } + case "SupportedUplinkGbps": if err := awsRestjson1_deserializeDocumentSupportedUplinkGbpsListDefinition(&sv.SupportedUplinkGbps, value); err != nil { return err } + case "WeightLbs": if value != nil { jtv, ok := value.(json.Number) @@ -5751,6 +5842,7 @@ func awsRestjson1_deserializeDocumentCatalogItem(v **types.CatalogItem, value in } sv.WeightLbs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5860,10 +5952,12 @@ func awsRestjson1_deserializeDocumentComputeAttributes(v **types.ComputeAttribut } sv.HostId = ptr.String(jtv) } + case "InstanceFamilies": if err := awsRestjson1_deserializeDocumentInstanceFamilies(&sv.InstanceFamilies, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -5872,6 +5966,7 @@ func awsRestjson1_deserializeDocumentComputeAttributes(v **types.ComputeAttribut } sv.State = types.ComputeAssetState(jtv) } + default: _, _ = key, value @@ -5911,6 +6006,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5919,6 +6015,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5927,6 +6024,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -5962,6 +6060,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai if err := awsRestjson1_deserializeDocumentCIDRList(&sv.AllowedIps, value); err != nil { return err } + case "ClientPublicKey": if value != nil { jtv, ok := value.(string) @@ -5970,6 +6069,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ClientPublicKey = ptr.String(jtv) } + case "ClientTunnelAddress": if value != nil { jtv, ok := value.(string) @@ -5978,6 +6078,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ClientTunnelAddress = ptr.String(jtv) } + case "ServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -5986,6 +6087,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerEndpoint = ptr.String(jtv) } + case "ServerPublicKey": if value != nil { jtv, ok := value.(string) @@ -5994,6 +6096,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerPublicKey = ptr.String(jtv) } + case "ServerTunnelAddress": if value != nil { jtv, ok := value.(string) @@ -6002,6 +6105,7 @@ func awsRestjson1_deserializeDocumentConnectionDetails(v **types.ConnectionDetai } sv.ServerTunnelAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -6041,6 +6145,7 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.Family = ptr.String(jtv) } + case "MaxSize": if value != nil { jtv, ok := value.(string) @@ -6049,6 +6154,7 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.MaxSize = ptr.String(jtv) } + case "Quantity": if value != nil { jtv, ok := value.(string) @@ -6057,6 +6163,7 @@ func awsRestjson1_deserializeDocumentEC2Capacity(v **types.EC2Capacity, value in } sv.Quantity = ptr.String(jtv) } + default: _, _ = key, value @@ -6170,6 +6277,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeCapacity(v **types.InstanceType } sv.Count = int32(i64) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -6178,6 +6286,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeCapacity(v **types.InstanceType } sv.InstanceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6217,6 +6326,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeItem(v **types.InstanceTypeItem } sv.InstanceType = ptr.String(jtv) } + case "VCPUs": if value != nil { jtv, ok := value.(json.Number) @@ -6229,6 +6339,7 @@ func awsRestjson1_deserializeDocumentInstanceTypeItem(v **types.InstanceTypeItem } sv.VCPUs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6302,6 +6413,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6337,6 +6449,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac if err := awsRestjson1_deserializeDocumentLineItemAssetInformationList(&sv.AssetInformationList, value); err != nil { return err } + case "CatalogItemId": if value != nil { jtv, ok := value.(string) @@ -6345,6 +6458,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.CatalogItemId = ptr.String(jtv) } + case "LineItemId": if value != nil { jtv, ok := value.(string) @@ -6353,6 +6467,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.LineItemId = ptr.String(jtv) } + case "PreviousLineItemId": if value != nil { jtv, ok := value.(string) @@ -6361,6 +6476,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.PreviousLineItemId = ptr.String(jtv) } + case "PreviousOrderId": if value != nil { jtv, ok := value.(string) @@ -6369,6 +6485,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.PreviousOrderId = ptr.String(jtv) } + case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -6381,10 +6498,12 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.Quantity = ptr.Int32(int32(i64)) } + case "ShipmentInformation": if err := awsRestjson1_deserializeDocumentShipmentInformation(&sv.ShipmentInformation, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6393,6 +6512,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac } sv.Status = types.LineItemStatus(jtv) } + default: _, _ = key, value @@ -6432,10 +6552,12 @@ func awsRestjson1_deserializeDocumentLineItemAssetInformation(v **types.LineItem } sv.AssetId = ptr.String(jtv) } + case "MacAddressList": if err := awsRestjson1_deserializeDocumentMacAddressList(&sv.MacAddressList, value); err != nil { return err } + default: _, _ = key, value @@ -6619,6 +6741,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6654,6 +6777,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e if err := awsRestjson1_deserializeDocumentLineItemListDefinition(&sv.LineItems, value); err != nil { return err } + case "OrderFulfilledDate": if value != nil { switch jtv := value.(type) { @@ -6669,6 +6793,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -6677,6 +6802,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderId = ptr.String(jtv) } + case "OrderSubmissionDate": if value != nil { switch jtv := value.(type) { @@ -6692,6 +6818,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } } + case "OrderType": if value != nil { jtv, ok := value.(string) @@ -6700,6 +6827,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderType = types.OrderType(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -6708,6 +6836,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OutpostId = ptr.String(jtv) } + case "PaymentOption": if value != nil { jtv, ok := value.(string) @@ -6716,6 +6845,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.PaymentOption = types.PaymentOption(jtv) } + case "PaymentTerm": if value != nil { jtv, ok := value.(string) @@ -6724,6 +6854,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.PaymentTerm = types.PaymentTerm(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6732,6 +6863,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.Status = types.OrderStatus(jtv) } + default: _, _ = key, value @@ -6767,6 +6899,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value if err := awsRestjson1_deserializeDocumentLineItemStatusCounts(&sv.LineItemCountsByStatus, value); err != nil { return err } + case "OrderFulfilledDate": if value != nil { switch jtv := value.(type) { @@ -6782,6 +6915,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } } + case "OrderId": if value != nil { jtv, ok := value.(string) @@ -6790,6 +6924,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OrderId = ptr.String(jtv) } + case "OrderSubmissionDate": if value != nil { switch jtv := value.(type) { @@ -6805,6 +6940,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } } + case "OrderType": if value != nil { jtv, ok := value.(string) @@ -6813,6 +6949,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OrderType = types.OrderType(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -6821,6 +6958,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.OutpostId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6829,6 +6967,7 @@ func awsRestjson1_deserializeDocumentOrderSummary(v **types.OrderSummary, value } sv.Status = types.OrderStatus(jtv) } + default: _, _ = key, value @@ -6902,6 +7041,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.AvailabilityZone = ptr.String(jtv) } + case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -6910,6 +7050,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.AvailabilityZoneId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6918,6 +7059,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.Description = ptr.String(jtv) } + case "LifeCycleStatus": if value != nil { jtv, ok := value.(string) @@ -6926,6 +7068,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.LifeCycleStatus = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6934,6 +7077,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.Name = ptr.String(jtv) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -6942,6 +7086,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostArn = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -6950,6 +7095,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -6958,6 +7104,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OwnerId = ptr.String(jtv) } + case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -6966,6 +7113,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SiteArn = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -6974,6 +7122,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SiteId = ptr.String(jtv) } + case "SupportedHardwareType": if value != nil { jtv, ok := value.(string) @@ -6982,10 +7131,12 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.SupportedHardwareType = types.SupportedHardwareType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7059,6 +7210,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.FiberOpticCableType = types.FiberOpticCableType(jtv) } + case "MaximumSupportedWeightLbs": if value != nil { jtv, ok := value.(string) @@ -7067,6 +7219,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.MaximumSupportedWeightLbs = types.MaximumSupportedWeightLbs(jtv) } + case "OpticalStandard": if value != nil { jtv, ok := value.(string) @@ -7075,6 +7228,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.OpticalStandard = types.OpticalStandard(jtv) } + case "PowerConnector": if value != nil { jtv, ok := value.(string) @@ -7083,6 +7237,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerConnector = types.PowerConnector(jtv) } + case "PowerDrawKva": if value != nil { jtv, ok := value.(string) @@ -7091,6 +7246,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerDrawKva = types.PowerDrawKva(jtv) } + case "PowerFeedDrop": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7255,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerFeedDrop = types.PowerFeedDrop(jtv) } + case "PowerPhase": if value != nil { jtv, ok := value.(string) @@ -7107,6 +7264,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.PowerPhase = types.PowerPhase(jtv) } + case "UplinkCount": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7273,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.UplinkCount = types.UplinkCount(jtv) } + case "UplinkGbps": if value != nil { jtv, ok := value.(string) @@ -7123,6 +7282,7 @@ func awsRestjson1_deserializeDocumentRackPhysicalProperties(v **types.RackPhysic } sv.UplinkGbps = types.UplinkGbps(jtv) } + default: _, _ = key, value @@ -7196,6 +7356,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7235,6 +7396,7 @@ func awsRestjson1_deserializeDocumentShipmentInformation(v **types.ShipmentInfor } sv.ShipmentCarrier = types.ShipmentCarrier(jtv) } + case "ShipmentTrackingNumber": if value != nil { jtv, ok := value.(string) @@ -7243,6 +7405,7 @@ func awsRestjson1_deserializeDocumentShipmentInformation(v **types.ShipmentInfor } sv.ShipmentTrackingNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -7282,6 +7445,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.AccountId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7290,6 +7454,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7298,6 +7463,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -7306,6 +7472,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.Notes = ptr.String(jtv) } + case "OperatingAddressCity": if value != nil { jtv, ok := value.(string) @@ -7314,6 +7481,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressCity = ptr.String(jtv) } + case "OperatingAddressCountryCode": if value != nil { jtv, ok := value.(string) @@ -7322,6 +7490,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressCountryCode = ptr.String(jtv) } + case "OperatingAddressStateOrRegion": if value != nil { jtv, ok := value.(string) @@ -7330,10 +7499,12 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.OperatingAddressStateOrRegion = ptr.String(jtv) } + case "RackPhysicalProperties": if err := awsRestjson1_deserializeDocumentRackPhysicalProperties(&sv.RackPhysicalProperties, value); err != nil { return err } + case "SiteArn": if value != nil { jtv, ok := value.(string) @@ -7342,6 +7513,7 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteArn = ptr.String(jtv) } + case "SiteId": if value != nil { jtv, ok := value.(string) @@ -7350,10 +7522,12 @@ func awsRestjson1_deserializeDocumentSite(v **types.Site, value interface{}) err } sv.SiteId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7539,6 +7713,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/panorama/deserializers.go b/service/panorama/deserializers.go index b5d86474792..45200b3cdd4 100644 --- a/service/panorama/deserializers.go +++ b/service/panorama/deserializers.go @@ -186,6 +186,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationInstanceOutput(v **Creat } sv.ApplicationInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -349,6 +350,7 @@ func awsRestjson1_deserializeOpDocumentCreateJobForDevicesOutput(v **CreateJobFo if err := awsRestjson1_deserializeDocumentJobList(&sv.Jobs, value); err != nil { return err } + default: _, _ = key, value @@ -513,6 +515,7 @@ func awsRestjson1_deserializeOpDocumentCreateNodeFromTemplateJobOutput(v **Creat } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -677,6 +680,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.Arn = ptr.String(jtv) } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -685,10 +689,12 @@ func awsRestjson1_deserializeOpDocumentCreatePackageOutput(v **CreatePackageOutp } sv.PackageId = ptr.String(jtv) } + case "StorageLocation": if err := awsRestjson1_deserializeDocumentStorageLocation(&sv.StorageLocation, value); err != nil { return err } + default: _, _ = key, value @@ -853,6 +859,7 @@ func awsRestjson1_deserializeOpDocumentCreatePackageImportJobOutput(v **CreatePa } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -1020,6 +1027,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDeviceOutput(v **DeleteDeviceOutput } sv.DeviceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1387,6 +1395,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.ApplicationInstanceId = ptr.String(jtv) } + case "ApplicationInstanceIdToReplace": if value != nil { jtv, ok := value.(string) @@ -1395,6 +1404,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.ApplicationInstanceIdToReplace = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1403,6 +1413,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1418,6 +1429,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } } + case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -1426,6 +1438,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } + case "DefaultRuntimeContextDeviceName": if value != nil { jtv, ok := value.(string) @@ -1434,6 +1447,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.DefaultRuntimeContextDeviceName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1442,6 +1456,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Description = ptr.String(jtv) } + case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -1450,6 +1465,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.HealthStatus = types.ApplicationInstanceHealthStatus(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -1465,6 +1481,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1473,10 +1490,12 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Name = ptr.String(jtv) } + case "RuntimeContextStates": if err := awsRestjson1_deserializeDocumentReportedRuntimeContextStates(&sv.RuntimeContextStates, value); err != nil { return err } + case "RuntimeRoleArn": if value != nil { jtv, ok := value.(string) @@ -1485,6 +1504,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.RuntimeRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1493,6 +1513,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.Status = types.ApplicationInstanceStatus(jtv) } + case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -1501,10 +1522,12 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceOutput(v **Des } sv.StatusDescription = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1672,6 +1695,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.ApplicationInstanceId = ptr.String(jtv) } + case "ApplicationInstanceIdToReplace": if value != nil { jtv, ok := value.(string) @@ -1680,6 +1704,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.ApplicationInstanceIdToReplace = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1695,6 +1720,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } } + case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -1703,6 +1729,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1711,14 +1738,17 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.Description = ptr.String(jtv) } + case "ManifestOverridesPayload": if err := awsRestjson1_deserializeDocumentManifestOverridesPayload(&sv.ManifestOverridesPayload, value); err != nil { return err } + case "ManifestPayload": if err := awsRestjson1_deserializeDocumentManifestPayload(&sv.ManifestPayload, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1727,6 +1757,7 @@ func awsRestjson1_deserializeOpDocumentDescribeApplicationInstanceDetailsOutput( } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1887,6 +1918,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu if err := awsRestjson1_deserializeDocumentAlternateSoftwares(&sv.AlternateSoftwares, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1895,6 +1927,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Arn = ptr.String(jtv) } + case "Brand": if value != nil { jtv, ok := value.(string) @@ -1903,6 +1936,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Brand = types.DeviceBrand(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -1918,10 +1952,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + case "CurrentNetworkingStatus": if err := awsRestjson1_deserializeDocumentNetworkStatus(&sv.CurrentNetworkingStatus, value); err != nil { return err } + case "CurrentSoftware": if value != nil { jtv, ok := value.(string) @@ -1930,6 +1966,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.CurrentSoftware = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1938,6 +1975,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Description = ptr.String(jtv) } + case "DeviceAggregatedStatus": if value != nil { jtv, ok := value.(string) @@ -1946,6 +1984,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceAggregatedStatus = types.DeviceAggregatedStatus(jtv) } + case "DeviceConnectionStatus": if value != nil { jtv, ok := value.(string) @@ -1954,6 +1993,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceConnectionStatus = types.DeviceConnectionStatus(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -1962,6 +2002,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceId = ptr.String(jtv) } + case "LatestAlternateSoftware": if value != nil { jtv, ok := value.(string) @@ -1970,10 +2011,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.LatestAlternateSoftware = ptr.String(jtv) } + case "LatestDeviceJob": if err := awsRestjson1_deserializeDocumentLatestDeviceJob(&sv.LatestDeviceJob, value); err != nil { return err } + case "LatestSoftware": if value != nil { jtv, ok := value.(string) @@ -1982,6 +2025,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.LatestSoftware = ptr.String(jtv) } + case "LeaseExpirationTime": if value != nil { switch jtv := value.(type) { @@ -1997,6 +2041,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2005,10 +2050,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Name = ptr.String(jtv) } + case "NetworkingConfiguration": if err := awsRestjson1_deserializeDocumentNetworkPayload(&sv.NetworkingConfiguration, value); err != nil { return err } + case "ProvisioningStatus": if value != nil { jtv, ok := value.(string) @@ -2017,6 +2064,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ProvisioningStatus = types.DeviceStatus(jtv) } + case "SerialNumber": if value != nil { jtv, ok := value.(string) @@ -2025,10 +2073,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.SerialNumber = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2037,6 +2087,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Type = types.DeviceType(jtv) } + default: _, _ = key, value @@ -2211,6 +2262,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } } + case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -2219,6 +2271,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceArn = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2280,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceId = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -2235,6 +2289,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceName = ptr.String(jtv) } + case "DeviceType": if value != nil { jtv, ok := value.(string) @@ -2243,6 +2298,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.DeviceType = types.DeviceType(jtv) } + case "ImageVersion": if value != nil { jtv, ok := value.(string) @@ -2251,6 +2307,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.ImageVersion = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -2259,6 +2316,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.JobId = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -2267,6 +2325,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.JobType = types.JobType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2275,6 +2334,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceJobOutput(v **DescribeDevic } sv.Status = types.UpdateProgress(jtv) } + default: _, _ = key, value @@ -2442,6 +2502,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.AssetName = ptr.String(jtv) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -2450,6 +2511,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Category = types.NodeCategory(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2465,6 +2527,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2473,6 +2536,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Description = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2488,6 +2552,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2496,6 +2561,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.Name = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -2504,10 +2570,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.NodeId = ptr.String(jtv) } + case "NodeInterface": if err := awsRestjson1_deserializeDocumentNodeInterface(&sv.NodeInterface, value); err != nil { return err } + case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -2516,6 +2584,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.OwnerAccount = ptr.String(jtv) } + case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -2524,6 +2593,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageArn = ptr.String(jtv) } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -2532,6 +2602,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageId = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -2540,6 +2611,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageName = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -2548,6 +2620,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PackageVersion = ptr.String(jtv) } + case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -2556,6 +2629,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeOutput(v **DescribeNodeOutput } sv.PatchVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2727,6 +2801,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -2735,10 +2810,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.JobId = ptr.String(jtv) } + case "JobTags": if err := awsRestjson1_deserializeDocumentJobTagsList(&sv.JobTags, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2754,6 +2831,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } } + case "NodeDescription": if value != nil { jtv, ok := value.(string) @@ -2762,6 +2840,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.NodeDescription = ptr.String(jtv) } + case "NodeName": if value != nil { jtv, ok := value.(string) @@ -2770,6 +2849,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.NodeName = ptr.String(jtv) } + case "OutputPackageName": if value != nil { jtv, ok := value.(string) @@ -2778,6 +2858,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.OutputPackageName = ptr.String(jtv) } + case "OutputPackageVersion": if value != nil { jtv, ok := value.(string) @@ -2786,6 +2867,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.OutputPackageVersion = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2794,6 +2876,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.Status = types.NodeFromTemplateJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2802,10 +2885,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.StatusMessage = ptr.String(jtv) } + case "TemplateParameters": if err := awsRestjson1_deserializeDocumentTemplateParametersMap(&sv.TemplateParameters, value); err != nil { return err } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -2814,6 +2899,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNodeFromTemplateJobOutput(v **Des } sv.TemplateType = types.TemplateType(jtv) } + default: _, _ = key, value @@ -2981,6 +3067,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -2996,6 +3083,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -3004,6 +3092,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.PackageId = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -3012,22 +3101,27 @@ func awsRestjson1_deserializeOpDocumentDescribePackageOutput(v **DescribePackage } sv.PackageName = ptr.String(jtv) } + case "ReadAccessPrincipalArns": if err := awsRestjson1_deserializeDocumentPrincipalArnsList(&sv.ReadAccessPrincipalArns, value); err != nil { return err } + case "StorageLocation": if err := awsRestjson1_deserializeDocumentStorageLocation(&sv.StorageLocation, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "WriteAccessPrincipalArns": if err := awsRestjson1_deserializeDocumentPrincipalArnsList(&sv.WriteAccessPrincipalArns, value); err != nil { return err } + default: _, _ = key, value @@ -3192,6 +3286,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.ClientToken = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -3207,10 +3302,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } } + case "InputConfig": if err := awsRestjson1_deserializeDocumentPackageImportJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -3219,10 +3316,12 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.JobId = ptr.String(jtv) } + case "JobTags": if err := awsRestjson1_deserializeDocumentJobTagsList(&sv.JobTags, value); err != nil { return err } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -3231,6 +3330,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.JobType = types.PackageImportJobType(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3246,14 +3346,17 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } } + case "Output": if err := awsRestjson1_deserializeDocumentPackageImportJobOutput(&sv.Output, value); err != nil { return err } + case "OutputConfig": if err := awsRestjson1_deserializeDocumentPackageImportJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3262,6 +3365,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.Status = types.PackageImportJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3270,6 +3374,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageImportJobOutput(v **Descri } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3437,6 +3542,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.IsLatestPatch = jtv } + case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -3445,6 +3551,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.OwnerAccount = ptr.String(jtv) } + case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -3453,6 +3560,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageArn = ptr.String(jtv) } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -3461,6 +3569,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageId = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -3469,6 +3578,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageName = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -3477,6 +3587,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PackageVersion = ptr.String(jtv) } + case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3596,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.PatchVersion = ptr.String(jtv) } + case "RegisteredTime": if value != nil { switch jtv := value.(type) { @@ -3500,6 +3612,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3508,6 +3621,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.Status = types.PackageVersionStatus(jtv) } + case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -3516,6 +3630,7 @@ func awsRestjson1_deserializeOpDocumentDescribePackageVersionOutput(v **Describe } sv.StatusDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -3674,10 +3789,12 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstanceDependenciesOutput } sv.NextToken = ptr.String(jtv) } + case "PackageObjects": if err := awsRestjson1_deserializeDocumentPackageObjects(&sv.PackageObjects, value); err != nil { return err } + default: _, _ = key, value @@ -3836,10 +3953,12 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstanceNodeInstancesOutpu } sv.NextToken = ptr.String(jtv) } + case "NodeInstances": if err := awsRestjson1_deserializeDocumentNodeInstances(&sv.NodeInstances, value); err != nil { return err } + default: _, _ = key, value @@ -3994,6 +4113,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstancesOutput(v **ListAp if err := awsRestjson1_deserializeDocumentApplicationInstances(&sv.ApplicationInstances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4002,6 +4122,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationInstancesOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4162,6 +4283,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4170,6 +4292,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4333,6 +4456,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesJobsOutput(v **ListDevicesJobs if err := awsRestjson1_deserializeDocumentDeviceJobList(&sv.DeviceJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4341,6 +4465,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesJobsOutput(v **ListDevicesJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4505,10 +4630,12 @@ func awsRestjson1_deserializeOpDocumentListNodeFromTemplateJobsOutput(v **ListNo } sv.NextToken = ptr.String(jtv) } + case "NodeFromTemplateJobs": if err := awsRestjson1_deserializeDocumentNodeFromTemplateJobList(&sv.NodeFromTemplateJobs, value); err != nil { return err } + default: _, _ = key, value @@ -4670,10 +4797,12 @@ func awsRestjson1_deserializeOpDocumentListNodesOutput(v **ListNodesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Nodes": if err := awsRestjson1_deserializeDocumentNodesList(&sv.Nodes, value); err != nil { return err } + default: _, _ = key, value @@ -4838,10 +4967,12 @@ func awsRestjson1_deserializeOpDocumentListPackageImportJobsOutput(v **ListPacka } sv.NextToken = ptr.String(jtv) } + case "PackageImportJobs": if err := awsRestjson1_deserializeDocumentPackageImportJobList(&sv.PackageImportJobs, value); err != nil { return err } + default: _, _ = key, value @@ -5009,10 +5140,12 @@ func awsRestjson1_deserializeOpDocumentListPackagesOutput(v **ListPackagesOutput } sv.NextToken = ptr.String(jtv) } + case "Packages": if err := awsRestjson1_deserializeDocumentPackageList(&sv.Packages, value); err != nil { return err } + default: _, _ = key, value @@ -5170,6 +5303,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5337,6 +5471,7 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Arn = ptr.String(jtv) } + case "Certificates": if value != nil { jtv, ok := value.(string) @@ -5349,6 +5484,7 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Certificates = dv } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -5357,6 +5493,7 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.DeviceId = ptr.String(jtv) } + case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -5365,6 +5502,7 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.IotThingName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5373,6 +5511,7 @@ func awsRestjson1_deserializeOpDocumentProvisionDeviceOutput(v **ProvisionDevice } sv.Status = types.DeviceStatus(jtv) } + default: _, _ = key, value @@ -5734,6 +5873,7 @@ func awsRestjson1_deserializeOpDocumentSignalApplicationInstanceNodeInstancesOut } sv.ApplicationInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6089,6 +6229,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceMetadataOutput(v **UpdateDevi } sv.DeviceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6364,6 +6505,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6403,6 +6545,7 @@ func awsRestjson1_deserializeDocumentAlternateSoftwareMetadata(v **types.Alterna } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6476,6 +6619,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.ApplicationInstanceId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -6484,6 +6628,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6499,6 +6644,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } } + case "DefaultRuntimeContextDevice": if value != nil { jtv, ok := value.(string) @@ -6507,6 +6653,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.DefaultRuntimeContextDevice = ptr.String(jtv) } + case "DefaultRuntimeContextDeviceName": if value != nil { jtv, ok := value.(string) @@ -6515,6 +6662,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.DefaultRuntimeContextDeviceName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6523,6 +6671,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Description = ptr.String(jtv) } + case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -6531,6 +6680,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.HealthStatus = types.ApplicationInstanceHealthStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6539,10 +6689,12 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Name = ptr.String(jtv) } + case "RuntimeContextStates": if err := awsRestjson1_deserializeDocumentReportedRuntimeContextStates(&sv.RuntimeContextStates, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6551,6 +6703,7 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.Status = types.ApplicationInstanceStatus(jtv) } + case "StatusDescription": if value != nil { jtv, ok := value.(string) @@ -6559,10 +6712,12 @@ func awsRestjson1_deserializeDocumentApplicationInstance(v **types.ApplicationIn } sv.StatusDescription = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6632,6 +6787,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti if err := awsRestjson1_deserializeDocumentConflictExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { return err } + case "ErrorId": if value != nil { jtv, ok := value.(string) @@ -6640,6 +6796,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6648,6 +6805,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6656,6 +6814,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6664,6 +6823,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6703,6 +6863,7 @@ func awsRestjson1_deserializeDocumentConflictExceptionErrorArgument(v **types.Co } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6711,6 +6872,7 @@ func awsRestjson1_deserializeDocumentConflictExceptionErrorArgument(v **types.Co } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6784,6 +6946,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Brand = types.DeviceBrand(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -6799,6 +6962,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "CurrentSoftware": if value != nil { jtv, ok := value.(string) @@ -6807,6 +6971,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftware = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6815,6 +6980,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Description = ptr.String(jtv) } + case "DeviceAggregatedStatus": if value != nil { jtv, ok := value.(string) @@ -6823,6 +6989,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceAggregatedStatus = types.DeviceAggregatedStatus(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -6831,6 +6998,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DeviceId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -6846,10 +7014,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "LatestDeviceJob": if err := awsRestjson1_deserializeDocumentLatestDeviceJob(&sv.LatestDeviceJob, value); err != nil { return err } + case "LeaseExpirationTime": if value != nil { switch jtv := value.(type) { @@ -6865,6 +7035,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6873,6 +7044,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } + case "ProvisioningStatus": if value != nil { jtv, ok := value.(string) @@ -6881,10 +7053,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.ProvisioningStatus = types.DeviceStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6893,6 +7067,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Type = types.DeviceType(jtv) } + default: _, _ = key, value @@ -6939,6 +7114,7 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -6947,6 +7123,7 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.DeviceId = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -6955,6 +7132,7 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.DeviceName = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -6963,6 +7141,7 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.JobId = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -6971,6 +7150,7 @@ func awsRestjson1_deserializeDocumentDeviceJob(v **types.DeviceJob, value interf } sv.JobType = types.JobType(jtv) } + default: _, _ = key, value @@ -7114,10 +7294,12 @@ func awsRestjson1_deserializeDocumentEthernetPayload(v **types.EthernetPayload, } sv.ConnectionType = types.ConnectionType(jtv) } + case "StaticIpConnectionInfo": if err := awsRestjson1_deserializeDocumentStaticIpConnectionInfo(&sv.StaticIpConnectionInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7157,6 +7339,7 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.ConnectionStatus = types.NetworkConnectionStatus(jtv) } + case "HwAddress": if value != nil { jtv, ok := value.(string) @@ -7165,6 +7348,7 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.HwAddress = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -7173,6 +7357,7 @@ func awsRestjson1_deserializeDocumentEthernetStatus(v **types.EthernetStatus, va } sv.IpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -7246,6 +7431,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7258,6 +7444,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -7297,6 +7484,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.DeviceId = ptr.String(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -7305,6 +7493,7 @@ func awsRestjson1_deserializeDocumentJob(v **types.Job, value interface{}) error } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -7378,10 +7567,12 @@ func awsRestjson1_deserializeDocumentJobResourceTags(v **types.JobResourceTags, } sv.ResourceType = types.JobResourceType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7455,6 +7646,7 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.ImageVersion = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -7463,6 +7655,7 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.JobType = types.JobType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7471,6 +7664,7 @@ func awsRestjson1_deserializeDocumentLatestDeviceJob(v **types.LatestDeviceJob, } sv.Status = types.UpdateProgress(jtv) } + default: _, _ = key, value @@ -7590,14 +7784,17 @@ func awsRestjson1_deserializeDocumentNetworkPayload(v **types.NetworkPayload, va if err := awsRestjson1_deserializeDocumentEthernetPayload(&sv.Ethernet0, value); err != nil { return err } + case "Ethernet1": if err := awsRestjson1_deserializeDocumentEthernetPayload(&sv.Ethernet1, value); err != nil { return err } + case "Ntp": if err := awsRestjson1_deserializeDocumentNtpPayload(&sv.Ntp, value); err != nil { return err } + default: _, _ = key, value @@ -7633,10 +7830,12 @@ func awsRestjson1_deserializeDocumentNetworkStatus(v **types.NetworkStatus, valu if err := awsRestjson1_deserializeDocumentEthernetStatus(&sv.Ethernet0Status, value); err != nil { return err } + case "Ethernet1Status": if err := awsRestjson1_deserializeDocumentEthernetStatus(&sv.Ethernet1Status, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7652,10 +7851,12 @@ func awsRestjson1_deserializeDocumentNetworkStatus(v **types.NetworkStatus, valu } } + case "NtpStatus": if err := awsRestjson1_deserializeDocumentNtpStatus(&sv.NtpStatus, value); err != nil { return err } + default: _, _ = key, value @@ -7695,6 +7896,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Category = types.NodeCategory(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -7710,6 +7912,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7718,6 +7921,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7726,6 +7930,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.Name = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -7734,6 +7939,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.NodeId = ptr.String(jtv) } + case "OwnerAccount": if value != nil { jtv, ok := value.(string) @@ -7742,6 +7948,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.OwnerAccount = ptr.String(jtv) } + case "PackageArn": if value != nil { jtv, ok := value.(string) @@ -7750,6 +7957,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageArn = ptr.String(jtv) } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -7758,6 +7966,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageId = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -7766,6 +7975,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageName = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -7774,6 +7984,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PackageVersion = ptr.String(jtv) } + case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -7782,6 +7993,7 @@ func awsRestjson1_deserializeDocumentNode(v **types.Node, value interface{}) err } sv.PatchVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -7828,6 +8040,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -7836,6 +8049,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.JobId = ptr.String(jtv) } + case "NodeName": if value != nil { jtv, ok := value.(string) @@ -7844,6 +8058,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.NodeName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7852,6 +8067,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.Status = types.NodeFromTemplateJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -7860,6 +8076,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.StatusMessage = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -7868,6 +8085,7 @@ func awsRestjson1_deserializeDocumentNodeFromTemplateJob(v **types.NodeFromTempl } sv.TemplateType = types.TemplateType(jtv) } + default: _, _ = key, value @@ -7941,6 +8159,7 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.DefaultValue = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -7949,6 +8168,7 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Description = ptr.String(jtv) } + case "MaxConnections": if value != nil { jtv, ok := value.(json.Number) @@ -7961,6 +8181,7 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.MaxConnections = int32(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7969,6 +8190,7 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7977,6 +8199,7 @@ func awsRestjson1_deserializeDocumentNodeInputPort(v **types.NodeInputPort, valu } sv.Type = types.PortType(jtv) } + default: _, _ = key, value @@ -8016,6 +8239,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.CurrentStatus = types.NodeInstanceStatus(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -8024,6 +8248,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeId = ptr.String(jtv) } + case "NodeInstanceId": if value != nil { jtv, ok := value.(string) @@ -8032,6 +8257,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeInstanceId = ptr.String(jtv) } + case "NodeName": if value != nil { jtv, ok := value.(string) @@ -8040,6 +8266,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.NodeName = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -8048,6 +8275,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackageName = ptr.String(jtv) } + case "PackagePatchVersion": if value != nil { jtv, ok := value.(string) @@ -8056,6 +8284,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackagePatchVersion = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8064,6 +8293,7 @@ func awsRestjson1_deserializeDocumentNodeInstance(v **types.NodeInstance, value } sv.PackageVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8133,10 +8363,12 @@ func awsRestjson1_deserializeDocumentNodeInterface(v **types.NodeInterface, valu if err := awsRestjson1_deserializeDocumentInputPortList(&sv.Inputs, value); err != nil { return err } + case "Outputs": if err := awsRestjson1_deserializeDocumentOutputPortList(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -8176,6 +8408,7 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8184,6 +8417,7 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8192,6 +8426,7 @@ func awsRestjson1_deserializeDocumentNodeOutputPort(v **types.NodeOutputPort, va } sv.Type = types.PortType(jtv) } + default: _, _ = key, value @@ -8261,6 +8496,7 @@ func awsRestjson1_deserializeDocumentNtpPayload(v **types.NtpPayload, value inte if err := awsRestjson1_deserializeDocumentNtpServerList(&sv.NtpServers, value); err != nil { return err } + default: _, _ = key, value @@ -8336,6 +8572,7 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.ConnectionStatus = types.NetworkConnectionStatus(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -8344,6 +8581,7 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.IpAddress = ptr.String(jtv) } + case "NtpServerName": if value != nil { jtv, ok := value.(string) @@ -8352,6 +8590,7 @@ func awsRestjson1_deserializeDocumentNtpStatus(v **types.NtpStatus, value interf } sv.NtpServerName = ptr.String(jtv) } + default: _, _ = key, value @@ -8425,6 +8664,7 @@ func awsRestjson1_deserializeDocumentOutPutS3Location(v **types.OutPutS3Location } sv.BucketName = ptr.String(jtv) } + case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -8433,6 +8673,7 @@ func awsRestjson1_deserializeDocumentOutPutS3Location(v **types.OutPutS3Location } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -8479,6 +8720,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -8487,6 +8729,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.JobId = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -8495,6 +8738,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.JobType = types.PackageImportJobType(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8510,6 +8754,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8518,6 +8763,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.Status = types.PackageImportJobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -8526,6 +8772,7 @@ func awsRestjson1_deserializeDocumentPackageImportJob(v **types.PackageImportJob } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8561,6 +8808,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobInputConfig(v **types.Packa if err := awsRestjson1_deserializeDocumentPackageVersionInputConfig(&sv.PackageVersionInputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8630,6 +8878,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp if err := awsRestjson1_deserializeDocumentOutPutS3Location(&sv.OutputS3Location, value); err != nil { return err } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -8638,6 +8887,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PackageId = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8646,6 +8896,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PackageVersion = ptr.String(jtv) } + case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -8654,6 +8905,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutput(v **types.PackageImp } sv.PatchVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8689,6 +8941,7 @@ func awsRestjson1_deserializeDocumentPackageImportJobOutputConfig(v **types.Pack if err := awsRestjson1_deserializeDocumentPackageVersionOutputConfig(&sv.PackageVersionOutputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8762,6 +9015,7 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -8777,6 +9031,7 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } } + case "PackageId": if value != nil { jtv, ok := value.(string) @@ -8785,6 +9040,7 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.PackageId = ptr.String(jtv) } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -8793,10 +9049,12 @@ func awsRestjson1_deserializeDocumentPackageListItem(v **types.PackageListItem, } sv.PackageName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8836,6 +9094,7 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.Name = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8844,6 +9103,7 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.PackageVersion = ptr.String(jtv) } + case "PatchVersion": if value != nil { jtv, ok := value.(string) @@ -8852,6 +9112,7 @@ func awsRestjson1_deserializeDocumentPackageObject(v **types.PackageObject, valu } sv.PatchVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8921,6 +9182,7 @@ func awsRestjson1_deserializeDocumentPackageVersionInputConfig(v **types.Package if err := awsRestjson1_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -8960,6 +9222,7 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.MarkLatest = jtv } + case "PackageName": if value != nil { jtv, ok := value.(string) @@ -8968,6 +9231,7 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.PackageName = ptr.String(jtv) } + case "PackageVersion": if value != nil { jtv, ok := value.(string) @@ -8976,6 +9240,7 @@ func awsRestjson1_deserializeDocumentPackageVersionOutputConfig(v **types.Packag } sv.PackageVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -9051,6 +9316,7 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.DesiredState = types.DesiredState(jtv) } + case "DeviceReportedStatus": if value != nil { jtv, ok := value.(string) @@ -9059,6 +9325,7 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.DeviceReportedStatus = types.DeviceReportedStatus(jtv) } + case "DeviceReportedTime": if value != nil { switch jtv := value.(type) { @@ -9074,6 +9341,7 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } } + case "RuntimeContextName": if value != nil { jtv, ok := value.(string) @@ -9082,6 +9350,7 @@ func awsRestjson1_deserializeDocumentReportedRuntimeContextState(v **types.Repor } sv.RuntimeContextName = ptr.String(jtv) } + default: _, _ = key, value @@ -9155,6 +9424,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9163,6 +9433,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9171,6 +9442,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -9210,6 +9482,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } + case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -9218,6 +9491,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectKey = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -9226,6 +9500,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -9265,6 +9540,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -9273,6 +9549,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9281,6 +9558,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9289,6 +9567,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -9297,6 +9576,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -9336,10 +9616,12 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.DefaultGateway = ptr.String(jtv) } + case "Dns": if err := awsRestjson1_deserializeDocumentDnsList(&sv.Dns, value); err != nil { return err } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -9348,6 +9630,7 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.IpAddress = ptr.String(jtv) } + case "Mask": if value != nil { jtv, ok := value.(string) @@ -9356,6 +9639,7 @@ func awsRestjson1_deserializeDocumentStaticIpConnectionInfo(v **types.StaticIpCo } sv.Mask = ptr.String(jtv) } + default: _, _ = key, value @@ -9395,6 +9679,7 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.BinaryPrefixLocation = ptr.String(jtv) } + case "Bucket": if value != nil { jtv, ok := value.(string) @@ -9403,6 +9688,7 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.Bucket = ptr.String(jtv) } + case "GeneratedPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9411,6 +9697,7 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.GeneratedPrefixLocation = ptr.String(jtv) } + case "ManifestPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9419,6 +9706,7 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.ManifestPrefixLocation = ptr.String(jtv) } + case "RepoPrefixLocation": if value != nil { jtv, ok := value.(string) @@ -9427,6 +9715,7 @@ func awsRestjson1_deserializeDocumentStorageLocation(v **types.StorageLocation, } sv.RepoPrefixLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -9534,6 +9823,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionErrorArgumentList(&sv.ErrorArguments, value); err != nil { return err } + case "ErrorId": if value != nil { jtv, ok := value.(string) @@ -9542,10 +9832,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorId = ptr.String(jtv) } + case "Fields": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9554,6 +9846,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -9562,6 +9855,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -9601,6 +9895,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionErrorArgument(v **types. } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9609,6 +9904,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionErrorArgument(v **types. } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9682,6 +9978,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9690,6 +9987,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/paymentcryptography/deserializers.go b/service/paymentcryptography/deserializers.go index a8d306093d8..76812ff35ed 100644 --- a/service/paymentcryptography/deserializers.go +++ b/service/paymentcryptography/deserializers.go @@ -2928,6 +2928,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2967,6 +2968,7 @@ func awsAwsjson10_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.AliasName = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -2975,6 +2977,7 @@ func awsAwsjson10_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.KeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3048,6 +3051,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3087,6 +3091,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3133,6 +3138,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } + case "DeletePendingTimestamp": if value != nil { switch jtv := value.(type) { @@ -3148,6 +3154,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } + case "DeleteTimestamp": if value != nil { switch jtv := value.(type) { @@ -3163,6 +3170,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -3171,6 +3179,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.Enabled = ptr.Bool(jtv) } + case "Exportable": if value != nil { jtv, ok := value.(bool) @@ -3179,6 +3188,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.Exportable = ptr.Bool(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3187,10 +3197,12 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyArn = ptr.String(jtv) } + case "KeyAttributes": if err := awsAwsjson10_deserializeDocumentKeyAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3199,6 +3211,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyCheckValue = ptr.String(jtv) } + case "KeyCheckValueAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3207,6 +3220,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyCheckValueAlgorithm = types.KeyCheckValueAlgorithm(jtv) } + case "KeyOrigin": if value != nil { jtv, ok := value.(string) @@ -3215,6 +3229,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyOrigin = types.KeyOrigin(jtv) } + case "KeyState": if value != nil { jtv, ok := value.(string) @@ -3223,6 +3238,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } sv.KeyState = types.KeyState(jtv) } + case "UsageStartTimestamp": if value != nil { switch jtv := value.(type) { @@ -3238,6 +3254,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } + case "UsageStopTimestamp": if value != nil { switch jtv := value.(type) { @@ -3253,6 +3270,7 @@ func awsAwsjson10_deserializeDocumentKey(v **types.Key, value interface{}) error } } + default: _, _ = key, value @@ -3292,6 +3310,7 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyAlgorithm = types.KeyAlgorithm(jtv) } + case "KeyClass": if value != nil { jtv, ok := value.(string) @@ -3300,10 +3319,12 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyClass = types.KeyClass(jtv) } + case "KeyModesOfUse": if err := awsAwsjson10_deserializeDocumentKeyModesOfUse(&sv.KeyModesOfUse, value); err != nil { return err } + case "KeyUsage": if value != nil { jtv, ok := value.(string) @@ -3312,6 +3333,7 @@ func awsAwsjson10_deserializeDocumentKeyAttributes(v **types.KeyAttributes, valu } sv.KeyUsage = types.KeyUsage(jtv) } + default: _, _ = key, value @@ -3351,6 +3373,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Decrypt = jtv } + case "DeriveKey": if value != nil { jtv, ok := value.(bool) @@ -3359,6 +3382,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.DeriveKey = jtv } + case "Encrypt": if value != nil { jtv, ok := value.(bool) @@ -3367,6 +3391,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Encrypt = jtv } + case "Generate": if value != nil { jtv, ok := value.(bool) @@ -3375,6 +3400,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Generate = jtv } + case "NoRestrictions": if value != nil { jtv, ok := value.(bool) @@ -3383,6 +3409,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.NoRestrictions = jtv } + case "Sign": if value != nil { jtv, ok := value.(bool) @@ -3391,6 +3418,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Sign = jtv } + case "Unwrap": if value != nil { jtv, ok := value.(bool) @@ -3399,6 +3427,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Unwrap = jtv } + case "Verify": if value != nil { jtv, ok := value.(bool) @@ -3407,6 +3436,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Verify = jtv } + case "Wrap": if value != nil { jtv, ok := value.(bool) @@ -3415,6 +3445,7 @@ func awsAwsjson10_deserializeDocumentKeyModesOfUse(v **types.KeyModesOfUse, valu } sv.Wrap = jtv } + default: _, _ = key, value @@ -3454,6 +3485,7 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.Enabled = ptr.Bool(jtv) } + case "Exportable": if value != nil { jtv, ok := value.(bool) @@ -3462,6 +3494,7 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.Exportable = ptr.Bool(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -3470,10 +3503,12 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyArn = ptr.String(jtv) } + case "KeyAttributes": if err := awsAwsjson10_deserializeDocumentKeyAttributes(&sv.KeyAttributes, value); err != nil { return err } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -3482,6 +3517,7 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyCheckValue = ptr.String(jtv) } + case "KeyState": if value != nil { jtv, ok := value.(string) @@ -3490,6 +3526,7 @@ func awsAwsjson10_deserializeDocumentKeySummary(v **types.KeySummary, value inte } sv.KeyState = types.KeyState(jtv) } + default: _, _ = key, value @@ -3563,6 +3600,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3602,6 +3640,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3641,6 +3680,7 @@ func awsAwsjson10_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3680,6 +3720,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3688,6 +3729,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3761,6 +3803,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3800,6 +3843,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3839,6 +3883,7 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyCheckValue = ptr.String(jtv) } + case "KeyCheckValueAlgorithm": if value != nil { jtv, ok := value.(string) @@ -3847,6 +3892,7 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyCheckValueAlgorithm = types.KeyCheckValueAlgorithm(jtv) } + case "KeyMaterial": if value != nil { jtv, ok := value.(string) @@ -3855,6 +3901,7 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.KeyMaterial = ptr.String(jtv) } + case "WrappedKeyMaterialFormat": if value != nil { jtv, ok := value.(string) @@ -3863,6 +3910,7 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.WrappedKeyMaterialFormat = types.WrappedKeyMaterialFormat(jtv) } + case "WrappingKeyArn": if value != nil { jtv, ok := value.(string) @@ -3871,6 +3919,7 @@ func awsAwsjson10_deserializeDocumentWrappedKey(v **types.WrappedKey, value inte } sv.WrappingKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3906,6 +3955,7 @@ func awsAwsjson10_deserializeOpDocumentCreateAliasOutput(v **CreateAliasOutput, if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value @@ -3941,6 +3991,7 @@ func awsAwsjson10_deserializeOpDocumentCreateKeyOutput(v **CreateKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4007,6 +4058,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeyOutput(v **DeleteKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4042,6 +4094,7 @@ func awsAwsjson10_deserializeOpDocumentExportKeyOutput(v **ExportKeyOutput, valu if err := awsAwsjson10_deserializeDocumentWrappedKey(&sv.WrappedKey, value); err != nil { return err } + default: _, _ = key, value @@ -4077,6 +4130,7 @@ func awsAwsjson10_deserializeOpDocumentGetAliasOutput(v **GetAliasOutput, value if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value @@ -4112,6 +4166,7 @@ func awsAwsjson10_deserializeOpDocumentGetKeyOutput(v **GetKeyOutput, value inte if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4151,6 +4206,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.ExportToken = ptr.String(jtv) } + case "ParametersValidUntilTimestamp": if value != nil { switch jtv := value.(type) { @@ -4166,6 +4222,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } } + case "SigningKeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4174,6 +4231,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyAlgorithm = types.KeyAlgorithm(jtv) } + case "SigningKeyCertificate": if value != nil { jtv, ok := value.(string) @@ -4182,6 +4240,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyCertificate = ptr.String(jtv) } + case "SigningKeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4190,6 +4249,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForExportOutput(v **GetParam } sv.SigningKeyCertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -4229,6 +4289,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.ImportToken = ptr.String(jtv) } + case "ParametersValidUntilTimestamp": if value != nil { switch jtv := value.(type) { @@ -4244,6 +4305,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } } + case "WrappingKeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4252,6 +4314,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyAlgorithm = types.KeyAlgorithm(jtv) } + case "WrappingKeyCertificate": if value != nil { jtv, ok := value.(string) @@ -4260,6 +4323,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyCertificate = ptr.String(jtv) } + case "WrappingKeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4268,6 +4332,7 @@ func awsAwsjson10_deserializeOpDocumentGetParametersForImportOutput(v **GetParam } sv.WrappingKeyCertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -4307,6 +4372,7 @@ func awsAwsjson10_deserializeOpDocumentGetPublicKeyCertificateOutput(v **GetPubl } sv.KeyCertificate = ptr.String(jtv) } + case "KeyCertificateChain": if value != nil { jtv, ok := value.(string) @@ -4315,6 +4381,7 @@ func awsAwsjson10_deserializeOpDocumentGetPublicKeyCertificateOutput(v **GetPubl } sv.KeyCertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -4350,6 +4417,7 @@ func awsAwsjson10_deserializeOpDocumentImportKeyOutput(v **ImportKeyOutput, valu if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4385,6 +4453,7 @@ func awsAwsjson10_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson10_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4393,6 +4462,7 @@ func awsAwsjson10_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4428,6 +4498,7 @@ func awsAwsjson10_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value if err := awsAwsjson10_deserializeDocumentKeySummaryList(&sv.Keys, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4436,6 +4507,7 @@ func awsAwsjson10_deserializeOpDocumentListKeysOutput(v **ListKeysOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4475,10 +4547,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4514,6 +4588,7 @@ func awsAwsjson10_deserializeOpDocumentRestoreKeyOutput(v **RestoreKeyOutput, va if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4549,6 +4624,7 @@ func awsAwsjson10_deserializeOpDocumentStartKeyUsageOutput(v **StartKeyUsageOutp if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4584,6 +4660,7 @@ func awsAwsjson10_deserializeOpDocumentStopKeyUsageOutput(v **StopKeyUsageOutput if err := awsAwsjson10_deserializeDocumentKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -4681,6 +4758,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAliasOutput(v **UpdateAliasOutput, if err := awsAwsjson10_deserializeDocumentAlias(&sv.Alias, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/paymentcryptographydata/deserializers.go b/service/paymentcryptographydata/deserializers.go index 783298f4238..cdb3e9c47eb 100644 --- a/service/paymentcryptographydata/deserializers.go +++ b/service/paymentcryptographydata/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -195,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.KeyCheckValue = ptr.String(jtv) } + case "PlainText": if value != nil { jtv, ok := value.(string) @@ -203,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentDecryptDataOutput(v **DecryptDataOutput, } sv.PlainText = ptr.String(jtv) } + default: _, _ = key, value @@ -370,6 +373,7 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.CipherText = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -378,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -386,6 +391,7 @@ func awsRestjson1_deserializeOpDocumentEncryptDataOutput(v **EncryptDataOutput, } sv.KeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -553,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -561,6 +568,7 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.KeyCheckValue = ptr.String(jtv) } + case "ValidationData": if value != nil { jtv, ok := value.(string) @@ -569,6 +577,7 @@ func awsRestjson1_deserializeOpDocumentGenerateCardValidationDataOutput(v **Gene } sv.ValidationData = ptr.String(jtv) } + default: _, _ = key, value @@ -736,6 +745,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -744,6 +754,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.KeyCheckValue = ptr.String(jtv) } + case "Mac": if value != nil { jtv, ok := value.(string) @@ -752,6 +763,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacOutput(v **GenerateMacOutput, } sv.Mac = ptr.String(jtv) } + default: _, _ = key, value @@ -919,6 +931,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.EncryptedPinBlock = ptr.String(jtv) } + case "Mac": if value != nil { jtv, ok := value.(string) @@ -927,6 +940,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.Mac = ptr.String(jtv) } + case "NewPinPekArn": if value != nil { jtv, ok := value.(string) @@ -935,6 +949,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.NewPinPekArn = ptr.String(jtv) } + case "NewPinPekKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -943,6 +958,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.NewPinPekKeyCheckValue = ptr.String(jtv) } + case "SecureMessagingConfidentialityKeyArn": if value != nil { jtv, ok := value.(string) @@ -951,6 +967,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingConfidentialityKeyArn = ptr.String(jtv) } + case "SecureMessagingConfidentialityKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -959,6 +976,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingConfidentialityKeyCheckValue = ptr.String(jtv) } + case "SecureMessagingIntegrityKeyArn": if value != nil { jtv, ok := value.(string) @@ -967,6 +985,7 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingIntegrityKeyArn = ptr.String(jtv) } + case "SecureMessagingIntegrityKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -975,10 +994,12 @@ func awsRestjson1_deserializeOpDocumentGenerateMacEmvPinChangeOutput(v **Generat } sv.SecureMessagingIntegrityKeyCheckValue = ptr.String(jtv) } + case "VisaAmexDerivationOutputs": if err := awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(&sv.VisaAmexDerivationOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -1146,6 +1167,7 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptedPinBlock = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -1154,6 +1176,7 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptionKeyArn = ptr.String(jtv) } + case "EncryptionKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1162,6 +1185,7 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.EncryptionKeyCheckValue = ptr.String(jtv) } + case "GenerationKeyArn": if value != nil { jtv, ok := value.(string) @@ -1170,6 +1194,7 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.GenerationKeyArn = ptr.String(jtv) } + case "GenerationKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1178,10 +1203,12 @@ func awsRestjson1_deserializeOpDocumentGeneratePinDataOutput(v **GeneratePinData } sv.GenerationKeyCheckValue = ptr.String(jtv) } + case "PinData": if err := awsRestjson1_deserializeDocumentPinData(&sv.PinData, value); err != nil { return err } + default: _, _ = key, value @@ -1349,6 +1376,7 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.CipherText = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1357,6 +1385,7 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1365,6 +1394,7 @@ func awsRestjson1_deserializeOpDocumentReEncryptDataOutput(v **ReEncryptDataOutp } sv.KeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -1532,6 +1562,7 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1540,6 +1571,7 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.KeyCheckValue = ptr.String(jtv) } + case "PinBlock": if value != nil { jtv, ok := value.(string) @@ -1548,6 +1580,7 @@ func awsRestjson1_deserializeOpDocumentTranslatePinDataOutput(v **TranslatePinDa } sv.PinBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -1718,6 +1751,7 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.AuthResponseValue = ptr.String(jtv) } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -1726,6 +1760,7 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1734,6 +1769,7 @@ func awsRestjson1_deserializeOpDocumentVerifyAuthRequestCryptogramOutput(v **Ver } sv.KeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -1904,6 +1940,7 @@ func awsRestjson1_deserializeOpDocumentVerifyCardValidationDataOutput(v **Verify } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -1912,6 +1949,7 @@ func awsRestjson1_deserializeOpDocumentVerifyCardValidationDataOutput(v **Verify } sv.KeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2082,6 +2120,7 @@ func awsRestjson1_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyArn = ptr.String(jtv) } + case "KeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2090,6 +2129,7 @@ func awsRestjson1_deserializeOpDocumentVerifyMacOutput(v **VerifyMacOutput, valu } sv.KeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2260,6 +2300,7 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.EncryptionKeyArn = ptr.String(jtv) } + case "EncryptionKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2268,6 +2309,7 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.EncryptionKeyCheckValue = ptr.String(jtv) } + case "VerificationKeyArn": if value != nil { jtv, ok := value.(string) @@ -2276,6 +2318,7 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.VerificationKeyArn = ptr.String(jtv) } + case "VerificationKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2327,7 @@ func awsRestjson1_deserializeOpDocumentVerifyPinDataOutput(v **VerifyPinDataOutp } sv.VerificationKeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2539,6 +2583,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2578,6 +2623,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2671,6 +2717,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2710,6 +2757,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2745,6 +2793,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2753,6 +2802,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2792,6 +2842,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -2800,6 +2851,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -2873,6 +2925,7 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2881,6 +2934,7 @@ func awsRestjson1_deserializeDocumentVerificationFailedException(v **types.Verif } sv.Reason = types.VerificationFailedReason(jtv) } + default: _, _ = key, value @@ -2920,6 +2974,7 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.AuthorizationRequestKeyArn = ptr.String(jtv) } + case "AuthorizationRequestKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2928,6 +2983,7 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.AuthorizationRequestKeyCheckValue = ptr.String(jtv) } + case "CurrentPinPekArn": if value != nil { jtv, ok := value.(string) @@ -2936,6 +2992,7 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.CurrentPinPekArn = ptr.String(jtv) } + case "CurrentPinPekKeyCheckValue": if value != nil { jtv, ok := value.(string) @@ -2944,6 +3001,7 @@ func awsRestjson1_deserializeDocumentVisaAmexDerivationOutputs(v **types.VisaAme } sv.CurrentPinPekKeyCheckValue = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/pcaconnectorad/deserializers.go b/service/pcaconnectorad/deserializers.go index 63ab76426c2..f0d492c40ba 100644 --- a/service/pcaconnectorad/deserializers.go +++ b/service/pcaconnectorad/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -364,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentCreateDirectoryRegistrationOutput(v **Cre } sv.DirectoryRegistrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -646,6 +648,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1460,6 +1463,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorOutput(v **GetConnectorOutput if err := awsRestjson1_deserializeDocumentConnector(&sv.Connector, value); err != nil { return err } + default: _, _ = key, value @@ -1623,6 +1627,7 @@ func awsRestjson1_deserializeOpDocumentGetDirectoryRegistrationOutput(v **GetDir if err := awsRestjson1_deserializeDocumentDirectoryRegistration(&sv.DirectoryRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -1786,6 +1791,7 @@ func awsRestjson1_deserializeOpDocumentGetServicePrincipalNameOutput(v **GetServ if err := awsRestjson1_deserializeDocumentServicePrincipalName(&sv.ServicePrincipalName, value); err != nil { return err } + default: _, _ = key, value @@ -1949,6 +1955,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateOutput(v **GetTemplateOutput, if err := awsRestjson1_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -2112,6 +2119,7 @@ func awsRestjson1_deserializeOpDocumentGetTemplateGroupAccessControlEntryOutput( if err := awsRestjson1_deserializeDocumentAccessControlEntry(&sv.AccessControlEntry, value); err != nil { return err } + default: _, _ = key, value @@ -2272,6 +2280,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2280,6 +2289,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2440,6 +2450,7 @@ func awsRestjson1_deserializeOpDocumentListDirectoryRegistrationsOutput(v **List if err := awsRestjson1_deserializeDocumentDirectoryRegistrationList(&sv.DirectoryRegistrations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2448,6 +2459,7 @@ func awsRestjson1_deserializeOpDocumentListDirectoryRegistrationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2615,10 +2627,12 @@ func awsRestjson1_deserializeOpDocumentListServicePrincipalNamesOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + case "ServicePrincipalNames": if err := awsRestjson1_deserializeDocumentServicePrincipalNameList(&sv.ServicePrincipalNames, value); err != nil { return err } + default: _, _ = key, value @@ -2782,6 +2796,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2945,6 +2960,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateGroupAccessControlEntriesOutp if err := awsRestjson1_deserializeDocumentAccessControlEntryList(&sv.AccessControlEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2953,6 +2969,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateGroupAccessControlEntriesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3120,10 +3137,12 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } + case "Templates": if err := awsRestjson1_deserializeDocumentTemplateList(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -3841,6 +3860,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE if err := awsRestjson1_deserializeDocumentAccessRights(&sv.AccessRights, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3856,6 +3876,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } } + case "GroupDisplayName": if value != nil { jtv, ok := value.(string) @@ -3864,6 +3885,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.GroupDisplayName = ptr.String(jtv) } + case "GroupSecurityIdentifier": if value != nil { jtv, ok := value.(string) @@ -3872,6 +3894,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.GroupSecurityIdentifier = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -3880,6 +3903,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } sv.TemplateArn = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3895,6 +3919,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntry(v **types.AccessControlE } } + default: _, _ = key, value @@ -3964,6 +3989,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC if err := awsRestjson1_deserializeDocumentAccessRights(&sv.AccessRights, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3979,6 +4005,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } } + case "GroupDisplayName": if value != nil { jtv, ok := value.(string) @@ -3987,6 +4014,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.GroupDisplayName = ptr.String(jtv) } + case "GroupSecurityIdentifier": if value != nil { jtv, ok := value.(string) @@ -3995,6 +4023,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.GroupSecurityIdentifier = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -4003,6 +4032,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } sv.TemplateArn = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4018,6 +4048,7 @@ func awsRestjson1_deserializeDocumentAccessControlEntrySummary(v **types.AccessC } } + default: _, _ = key, value @@ -4057,6 +4088,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4096,6 +4128,7 @@ func awsRestjson1_deserializeDocumentAccessRights(v **types.AccessRights, value } sv.AutoEnroll = types.AccessRight(jtv) } + case "Enroll": if value != nil { jtv, ok := value.(string) @@ -4104,6 +4137,7 @@ func awsRestjson1_deserializeDocumentAccessRights(v **types.AccessRights, value } sv.Enroll = types.AccessRight(jtv) } + default: _, _ = key, value @@ -4143,10 +4177,12 @@ func awsRestjson1_deserializeDocumentApplicationPolicies(v **types.ApplicationPo } sv.Critical = ptr.Bool(jtv) } + case "Policies": if err := awsRestjson1_deserializeDocumentApplicationPolicyList(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -4268,10 +4304,12 @@ func awsRestjson1_deserializeDocumentCertificateValidity(v **types.CertificateVa if err := awsRestjson1_deserializeDocumentValidityPeriod(&sv.RenewalPeriod, value); err != nil { return err } + case "ValidityPeriod": if err := awsRestjson1_deserializeDocumentValidityPeriod(&sv.ValidityPeriod, value); err != nil { return err } + default: _, _ = key, value @@ -4311,6 +4349,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4319,6 +4358,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4327,6 +4367,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4366,6 +4407,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4374,6 +4416,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CertificateEnrollmentPolicyServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -4382,6 +4425,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateEnrollmentPolicyServerEndpoint = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4397,6 +4441,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4405,6 +4450,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.DirectoryId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4413,6 +4459,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4421,6 +4468,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.StatusReason = types.ConnectorStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4436,10 +4484,12 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } + case "VpcInformation": if err := awsRestjson1_deserializeDocumentVpcInformation(&sv.VpcInformation, value); err != nil { return err } + default: _, _ = key, value @@ -4513,6 +4563,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4572,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CertificateEnrollmentPolicyServerEndpoint": if value != nil { jtv, ok := value.(string) @@ -4529,6 +4581,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateEnrollmentPolicyServerEndpoint = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4544,6 +4597,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4552,6 +4606,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.DirectoryId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4560,6 +4615,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Status = types.ConnectorStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4568,6 +4624,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.StatusReason = types.ConnectorStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4583,10 +4640,12 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } + case "VpcInformation": if err := awsRestjson1_deserializeDocumentVpcInformation(&sv.VpcInformation, value); err != nil { return err } + default: _, _ = key, value @@ -4662,6 +4721,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4677,6 +4737,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4685,6 +4746,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.DirectoryId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4693,6 +4755,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.Status = types.DirectoryRegistrationStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4701,6 +4764,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } sv.StatusReason = types.DirectoryRegistrationStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4716,6 +4780,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistration(v **types.DirectoryRe } } + default: _, _ = key, value @@ -4789,6 +4854,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4804,6 +4870,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -4812,6 +4879,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.DirectoryId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4820,6 +4888,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.Status = types.DirectoryRegistrationStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -4828,6 +4897,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } sv.StatusReason = types.DirectoryRegistrationStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4843,6 +4913,7 @@ func awsRestjson1_deserializeDocumentDirectoryRegistrationSummary(v **types.Dire } } + default: _, _ = key, value @@ -4882,6 +4953,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } + case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -4890,6 +4962,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } + case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -4898,6 +4971,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } + case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -4906,6 +4980,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } + case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -4914,6 +4989,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV2(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4953,6 +5029,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } + case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -4961,6 +5038,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } + case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -4969,6 +5047,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } + case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -4977,6 +5056,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } + case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -4985,6 +5065,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV3(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5024,6 +5105,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.EnableKeyReuseOnNtTokenKeysetStorageFull = ptr.Bool(jtv) } + case "IncludeSymmetricAlgorithms": if value != nil { jtv, ok := value.(bool) @@ -5032,6 +5114,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.IncludeSymmetricAlgorithms = ptr.Bool(jtv) } + case "NoSecurityExtension": if value != nil { jtv, ok := value.(bool) @@ -5040,6 +5123,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.NoSecurityExtension = ptr.Bool(jtv) } + case "RemoveInvalidCertificateFromPersonalStore": if value != nil { jtv, ok := value.(bool) @@ -5048,6 +5132,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.RemoveInvalidCertificateFromPersonalStore = ptr.Bool(jtv) } + case "UserInteractionRequired": if value != nil { jtv, ok := value.(bool) @@ -5056,6 +5141,7 @@ func awsRestjson1_deserializeDocumentEnrollmentFlagsV4(v **types.EnrollmentFlags } sv.UserInteractionRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5091,10 +5177,12 @@ func awsRestjson1_deserializeDocumentExtensionsV2(v **types.ExtensionsV2, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } + case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } + default: _, _ = key, value @@ -5130,10 +5218,12 @@ func awsRestjson1_deserializeDocumentExtensionsV3(v **types.ExtensionsV3, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } + case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } + default: _, _ = key, value @@ -5169,10 +5259,12 @@ func awsRestjson1_deserializeDocumentExtensionsV4(v **types.ExtensionsV4, value if err := awsRestjson1_deserializeDocumentApplicationPolicies(&sv.ApplicationPolicies, value); err != nil { return err } + case "KeyUsage": if err := awsRestjson1_deserializeDocumentKeyUsage(&sv.KeyUsage, value); err != nil { return err } + default: _, _ = key, value @@ -5212,6 +5304,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV2(v **types.GeneralFlagsV2, va } sv.AutoEnrollment = ptr.Bool(jtv) } + case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5220,6 +5313,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV2(v **types.GeneralFlagsV2, va } sv.MachineType = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5259,6 +5353,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV3(v **types.GeneralFlagsV3, va } sv.AutoEnrollment = ptr.Bool(jtv) } + case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5267,6 +5362,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV3(v **types.GeneralFlagsV3, va } sv.MachineType = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5306,6 +5402,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV4(v **types.GeneralFlagsV4, va } sv.AutoEnrollment = ptr.Bool(jtv) } + case "MachineType": if value != nil { jtv, ok := value.(bool) @@ -5314,6 +5411,7 @@ func awsRestjson1_deserializeDocumentGeneralFlagsV4(v **types.GeneralFlagsV4, va } sv.MachineType = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5353,6 +5451,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5392,10 +5491,12 @@ func awsRestjson1_deserializeDocumentKeyUsage(v **types.KeyUsage, value interfac } sv.Critical = ptr.Bool(jtv) } + case "UsageFlags": if err := awsRestjson1_deserializeDocumentKeyUsageFlags(&sv.UsageFlags, value); err != nil { return err } + default: _, _ = key, value @@ -5435,6 +5536,7 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.DataEncipherment = ptr.Bool(jtv) } + case "DigitalSignature": if value != nil { jtv, ok := value.(bool) @@ -5443,6 +5545,7 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.DigitalSignature = ptr.Bool(jtv) } + case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -5451,6 +5554,7 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.KeyAgreement = ptr.Bool(jtv) } + case "KeyEncipherment": if value != nil { jtv, ok := value.(bool) @@ -5459,6 +5563,7 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.KeyEncipherment = ptr.Bool(jtv) } + case "NonRepudiation": if value != nil { jtv, ok := value.(bool) @@ -5467,6 +5572,7 @@ func awsRestjson1_deserializeDocumentKeyUsageFlags(v **types.KeyUsageFlags, valu } sv.NonRepudiation = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5558,6 +5664,7 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.Decrypt = ptr.Bool(jtv) } + case "KeyAgreement": if value != nil { jtv, ok := value.(bool) @@ -5566,6 +5673,7 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.KeyAgreement = ptr.Bool(jtv) } + case "Sign": if value != nil { jtv, ok := value.(bool) @@ -5574,6 +5682,7 @@ func awsRestjson1_deserializeDocumentKeyUsagePropertyFlags(v **types.KeyUsagePro } sv.Sign = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5609,6 +5718,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } + case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5617,6 +5727,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } + case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5629,6 +5740,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5668,10 +5780,12 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.Algorithm = types.PrivateKeyAlgorithm(jtv) } + case "CryptoProviders": if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } + case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5680,10 +5794,12 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } + case "KeyUsageProperty": if err := awsRestjson1_deserializeDocumentKeyUsageProperty(&sv.KeyUsageProperty, value); err != nil { return err } + case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5696,6 +5812,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5735,10 +5852,12 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.Algorithm = types.PrivateKeyAlgorithm(jtv) } + case "CryptoProviders": if err := awsRestjson1_deserializeDocumentCryptoProvidersList(&sv.CryptoProviders, value); err != nil { return err } + case "KeySpec": if value != nil { jtv, ok := value.(string) @@ -5747,10 +5866,12 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.KeySpec = types.KeySpec(jtv) } + case "KeyUsageProperty": if err := awsRestjson1_deserializeDocumentKeyUsageProperty(&sv.KeyUsageProperty, value); err != nil { return err } + case "MinimalKeyLength": if value != nil { jtv, ok := value.(json.Number) @@ -5763,6 +5884,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(v **types.PrivateKey } sv.MinimalKeyLength = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5802,6 +5924,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV2(jtv) } + case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -5810,6 +5933,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } + case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -5818,6 +5942,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5857,6 +5982,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV3(jtv) } + case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -5865,6 +5991,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } + case "RequireAlternateSignatureAlgorithm": if value != nil { jtv, ok := value.(bool) @@ -5873,6 +6000,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.RequireAlternateSignatureAlgorithm = ptr.Bool(jtv) } + case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -5881,6 +6009,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5920,6 +6049,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.ClientVersion = types.ClientCompatibilityV4(jtv) } + case "ExportableKey": if value != nil { jtv, ok := value.(bool) @@ -5928,6 +6058,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.ExportableKey = ptr.Bool(jtv) } + case "RequireAlternateSignatureAlgorithm": if value != nil { jtv, ok := value.(bool) @@ -5936,6 +6067,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.RequireAlternateSignatureAlgorithm = ptr.Bool(jtv) } + case "RequireSameKeyRenewal": if value != nil { jtv, ok := value.(bool) @@ -5944,6 +6076,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.RequireSameKeyRenewal = ptr.Bool(jtv) } + case "StrongKeyProtectionRequired": if value != nil { jtv, ok := value.(bool) @@ -5952,6 +6085,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.StrongKeyProtectionRequired = ptr.Bool(jtv) } + case "UseLegacyProvider": if value != nil { jtv, ok := value.(bool) @@ -5960,6 +6094,7 @@ func awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(v **types.PrivateKeyFlags } sv.UseLegacyProvider = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5999,6 +6134,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6007,6 +6143,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6015,6 +6152,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6090,6 +6228,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6105,6 +6244,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } } + case "DirectoryRegistrationArn": if value != nil { jtv, ok := value.(string) @@ -6113,6 +6253,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.DirectoryRegistrationArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6121,6 +6262,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.Status = types.ServicePrincipalNameStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6129,6 +6271,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } sv.StatusReason = types.ServicePrincipalNameStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6144,6 +6287,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalName(v **types.ServicePrinc } } + default: _, _ = key, value @@ -6217,6 +6361,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6232,6 +6377,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } } + case "DirectoryRegistrationArn": if value != nil { jtv, ok := value.(string) @@ -6240,6 +6386,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.DirectoryRegistrationArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6248,6 +6395,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.Status = types.ServicePrincipalNameStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -6256,6 +6404,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } sv.StatusReason = types.ServicePrincipalNameStatusReason(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6271,6 +6420,7 @@ func awsRestjson1_deserializeDocumentServicePrincipalNameSummary(v **types.Servi } } + default: _, _ = key, value @@ -6310,6 +6460,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6318,6 +6469,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6326,6 +6478,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6334,6 +6487,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6342,6 +6496,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6381,6 +6536,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } + case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6389,6 +6545,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } + case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6397,6 +6554,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } + case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6405,6 +6563,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } + case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6413,6 +6572,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } + case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6421,6 +6581,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } + case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6429,6 +6590,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } + case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6437,6 +6599,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } + case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6445,6 +6608,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } + case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6453,6 +6617,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV2(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6492,6 +6657,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } + case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6500,6 +6666,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } + case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6508,6 +6675,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } + case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6516,6 +6684,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } + case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6524,6 +6693,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } + case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6532,6 +6702,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } + case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6540,6 +6711,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } + case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6548,6 +6720,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } + case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6556,6 +6729,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } + case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6564,6 +6738,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV3(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6603,6 +6778,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireCommonName = ptr.Bool(jtv) } + case "RequireDirectoryPath": if value != nil { jtv, ok := value.(bool) @@ -6611,6 +6787,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireDirectoryPath = ptr.Bool(jtv) } + case "RequireDnsAsCn": if value != nil { jtv, ok := value.(bool) @@ -6619,6 +6796,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireDnsAsCn = ptr.Bool(jtv) } + case "RequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6627,6 +6805,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.RequireEmail = ptr.Bool(jtv) } + case "SanRequireDirectoryGuid": if value != nil { jtv, ok := value.(bool) @@ -6635,6 +6814,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDirectoryGuid = ptr.Bool(jtv) } + case "SanRequireDns": if value != nil { jtv, ok := value.(bool) @@ -6643,6 +6823,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDns = ptr.Bool(jtv) } + case "SanRequireDomainDns": if value != nil { jtv, ok := value.(bool) @@ -6651,6 +6832,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireDomainDns = ptr.Bool(jtv) } + case "SanRequireEmail": if value != nil { jtv, ok := value.(bool) @@ -6659,6 +6841,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireEmail = ptr.Bool(jtv) } + case "SanRequireSpn": if value != nil { jtv, ok := value.(bool) @@ -6667,6 +6850,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireSpn = ptr.Bool(jtv) } + case "SanRequireUpn": if value != nil { jtv, ok := value.(bool) @@ -6675,6 +6859,7 @@ func awsRestjson1_deserializeDocumentSubjectNameFlagsV4(v **types.SubjectNameFla } sv.SanRequireUpn = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6750,6 +6935,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Arn = ptr.String(jtv) } + case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -6758,6 +6944,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -6773,10 +6960,12 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } + case "Definition": if err := awsRestjson1_deserializeDocumentTemplateDefinition(&sv.Definition, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6785,6 +6974,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } + case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -6793,6 +6983,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.ObjectIdentifier = ptr.String(jtv) } + case "PolicySchema": if value != nil { jtv, ok := value.(json.Number) @@ -6805,10 +6996,12 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.PolicySchema = ptr.Int32(int32(i64)) } + case "Revision": if err := awsRestjson1_deserializeDocumentTemplateRevision(&sv.Revision, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6817,6 +7010,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Status = types.TemplateStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6832,6 +7026,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } + default: _, _ = key, value @@ -7005,6 +7200,7 @@ func awsRestjson1_deserializeDocumentTemplateRevision(v **types.TemplateRevision } sv.MajorRevision = ptr.Int32(int32(i64)) } + case "MinorRevision": if value != nil { jtv, ok := value.(json.Number) @@ -7017,6 +7213,7 @@ func awsRestjson1_deserializeDocumentTemplateRevision(v **types.TemplateRevision } sv.MinorRevision = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7056,6 +7253,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } + case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -7064,6 +7262,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -7079,10 +7278,12 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + case "Definition": if err := awsRestjson1_deserializeDocumentTemplateDefinition(&sv.Definition, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7091,6 +7292,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } + case "ObjectIdentifier": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7301,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.ObjectIdentifier = ptr.String(jtv) } + case "PolicySchema": if value != nil { jtv, ok := value.(json.Number) @@ -7111,10 +7314,12 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.PolicySchema = ptr.Int32(int32(i64)) } + case "Revision": if err := awsRestjson1_deserializeDocumentTemplateRevision(&sv.Revision, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7123,6 +7328,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Status = types.TemplateStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -7138,6 +7344,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + default: _, _ = key, value @@ -7173,34 +7380,42 @@ func awsRestjson1_deserializeDocumentTemplateV2(v **types.TemplateV2, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } + case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV2(&sv.EnrollmentFlags, value); err != nil { return err } + case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV2(&sv.Extensions, value); err != nil { return err } + case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV2(&sv.GeneralFlags, value); err != nil { return err } + case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV2(&sv.PrivateKeyAttributes, value); err != nil { return err } + case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV2(&sv.PrivateKeyFlags, value); err != nil { return err } + case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV2(&sv.SubjectNameFlags, value); err != nil { return err } + case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -7236,18 +7451,22 @@ func awsRestjson1_deserializeDocumentTemplateV3(v **types.TemplateV3, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } + case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV3(&sv.EnrollmentFlags, value); err != nil { return err } + case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV3(&sv.Extensions, value); err != nil { return err } + case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV3(&sv.GeneralFlags, value); err != nil { return err } + case "HashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7256,22 +7475,27 @@ func awsRestjson1_deserializeDocumentTemplateV3(v **types.TemplateV3, value inte } sv.HashAlgorithm = types.HashAlgorithm(jtv) } + case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV3(&sv.PrivateKeyAttributes, value); err != nil { return err } + case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV3(&sv.PrivateKeyFlags, value); err != nil { return err } + case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV3(&sv.SubjectNameFlags, value); err != nil { return err } + case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -7307,18 +7531,22 @@ func awsRestjson1_deserializeDocumentTemplateV4(v **types.TemplateV4, value inte if err := awsRestjson1_deserializeDocumentCertificateValidity(&sv.CertificateValidity, value); err != nil { return err } + case "EnrollmentFlags": if err := awsRestjson1_deserializeDocumentEnrollmentFlagsV4(&sv.EnrollmentFlags, value); err != nil { return err } + case "Extensions": if err := awsRestjson1_deserializeDocumentExtensionsV4(&sv.Extensions, value); err != nil { return err } + case "GeneralFlags": if err := awsRestjson1_deserializeDocumentGeneralFlagsV4(&sv.GeneralFlags, value); err != nil { return err } + case "HashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7327,22 +7555,27 @@ func awsRestjson1_deserializeDocumentTemplateV4(v **types.TemplateV4, value inte } sv.HashAlgorithm = types.HashAlgorithm(jtv) } + case "PrivateKeyAttributes": if err := awsRestjson1_deserializeDocumentPrivateKeyAttributesV4(&sv.PrivateKeyAttributes, value); err != nil { return err } + case "PrivateKeyFlags": if err := awsRestjson1_deserializeDocumentPrivateKeyFlagsV4(&sv.PrivateKeyFlags, value); err != nil { return err } + case "SubjectNameFlags": if err := awsRestjson1_deserializeDocumentSubjectNameFlagsV4(&sv.SubjectNameFlags, value); err != nil { return err } + case "SupersededTemplates": if err := awsRestjson1_deserializeDocumentTemplateNameList(&sv.SupersededTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -7382,6 +7615,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7390,6 +7624,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7398,6 +7633,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7437,6 +7673,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -7445,6 +7682,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -7488,6 +7726,7 @@ func awsRestjson1_deserializeDocumentValidityPeriod(v **types.ValidityPeriod, va } sv.Period = ptr.Int64(i64) } + case "PeriodType": if value != nil { jtv, ok := value.(string) @@ -7496,6 +7735,7 @@ func awsRestjson1_deserializeDocumentValidityPeriod(v **types.ValidityPeriod, va } sv.PeriodType = types.ValidityPeriodType(jtv) } + default: _, _ = key, value @@ -7531,6 +7771,7 @@ func awsRestjson1_deserializeDocumentVpcInformation(v **types.VpcInformation, va if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/pcaconnectorscep/deserializers.go b/service/pcaconnectorscep/deserializers.go index 5389b02d538..360c9fedb43 100644 --- a/service/pcaconnectorscep/deserializers.go +++ b/service/pcaconnectorscep/deserializers.go @@ -193,6 +193,7 @@ func awsRestjson1_deserializeOpDocumentCreateChallengeOutput(v **CreateChallenge if err := awsRestjson1_deserializeDocumentChallenge(&sv.Challenge, value); err != nil { return err } + default: _, _ = key, value @@ -366,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -747,6 +749,7 @@ func awsRestjson1_deserializeOpDocumentGetChallengeMetadataOutput(v **GetChallen if err := awsRestjson1_deserializeDocumentChallengeMetadata(&sv.ChallengeMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -914,6 +917,7 @@ func awsRestjson1_deserializeOpDocumentGetChallengePasswordOutput(v **GetChallen } sv.Password = ptr.String(jtv) } + default: _, _ = key, value @@ -1077,6 +1081,7 @@ func awsRestjson1_deserializeOpDocumentGetConnectorOutput(v **GetConnectorOutput if err := awsRestjson1_deserializeDocumentConnector(&sv.Connector, value); err != nil { return err } + default: _, _ = key, value @@ -1240,6 +1245,7 @@ func awsRestjson1_deserializeOpDocumentListChallengeMetadataOutput(v **ListChall if err := awsRestjson1_deserializeDocumentChallengeMetadataList(&sv.Challenges, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1248,6 +1254,7 @@ func awsRestjson1_deserializeOpDocumentListChallengeMetadataOutput(v **ListChall } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1408,6 +1415,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsRestjson1_deserializeDocumentConnectorList(&sv.Connectors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1416,6 +1424,7 @@ func awsRestjson1_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1579,6 +1588,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2118,6 +2128,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2157,6 +2168,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2196,6 +2208,7 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.Arn = ptr.String(jtv) } + case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2204,6 +2217,7 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2219,6 +2233,7 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } } + case "Password": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2242,7 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } sv.Password = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2242,6 +2258,7 @@ func awsRestjson1_deserializeDocumentChallenge(v **types.Challenge, value interf } } + default: _, _ = key, value @@ -2281,6 +2298,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } sv.Arn = ptr.String(jtv) } + case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2289,6 +2307,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2304,6 +2323,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2319,6 +2339,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadata(v **types.ChallengeMetada } } + default: _, _ = key, value @@ -2392,6 +2413,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } sv.Arn = ptr.String(jtv) } + case "ConnectorArn": if value != nil { jtv, ok := value.(string) @@ -2400,6 +2422,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } sv.ConnectorArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2415,6 +2438,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2430,6 +2454,7 @@ func awsRestjson1_deserializeDocumentChallengeMetadataSummary(v **types.Challeng } } + default: _, _ = key, value @@ -2469,6 +2494,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2477,6 +2503,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2485,6 +2512,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2524,6 +2552,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2532,6 +2561,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2547,6 +2577,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2555,14 +2586,17 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Endpoint = ptr.String(jtv) } + case "MobileDeviceManagement": if err := awsRestjson1_deserializeDocumentMobileDeviceManagement(&sv.MobileDeviceManagement, value); err != nil { return err } + case "OpenIdConfiguration": if err := awsRestjson1_deserializeDocumentOpenIdConfiguration(&sv.OpenIdConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2571,6 +2605,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2579,6 +2614,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.StatusReason = types.ConnectorStatusReason(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2587,6 +2623,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } sv.Type = types.ConnectorType(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2602,6 +2639,7 @@ func awsRestjson1_deserializeDocumentConnector(v **types.Connector, value interf } } + default: _, _ = key, value @@ -2675,6 +2713,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityArn": if value != nil { jtv, ok := value.(string) @@ -2683,6 +2722,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -2698,6 +2738,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -2706,14 +2747,17 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Endpoint = ptr.String(jtv) } + case "MobileDeviceManagement": if err := awsRestjson1_deserializeDocumentMobileDeviceManagement(&sv.MobileDeviceManagement, value); err != nil { return err } + case "OpenIdConfiguration": if err := awsRestjson1_deserializeDocumentOpenIdConfiguration(&sv.OpenIdConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2722,6 +2766,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Status = types.ConnectorStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -2730,6 +2775,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.StatusReason = types.ConnectorStatusReason(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2738,6 +2784,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } sv.Type = types.ConnectorType(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2753,6 +2800,7 @@ func awsRestjson1_deserializeDocumentConnectorSummary(v **types.ConnectorSummary } } + default: _, _ = key, value @@ -2792,6 +2840,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2831,6 +2880,7 @@ func awsRestjson1_deserializeDocumentIntuneConfiguration(v **types.IntuneConfigu } sv.AzureApplicationId = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -2839,6 +2889,7 @@ func awsRestjson1_deserializeDocumentIntuneConfiguration(v **types.IntuneConfigu } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -2918,6 +2969,7 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Audience = ptr.String(jtv) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -2926,6 +2978,7 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Issuer = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -2934,6 +2987,7 @@ func awsRestjson1_deserializeDocumentOpenIdConfiguration(v **types.OpenIdConfigu } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -2973,6 +3027,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2981,6 +3036,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -2989,6 +3045,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3028,6 +3085,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -3036,6 +3094,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3044,6 +3103,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -3052,6 +3112,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -3127,6 +3188,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3166,6 +3228,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -3174,6 +3237,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value diff --git a/service/pcs/deserializers.go b/service/pcs/deserializers.go index 8cd86c317ba..67b69070f9a 100644 --- a/service/pcs/deserializers.go +++ b/service/pcs/deserializers.go @@ -2484,6 +2484,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2523,6 +2524,7 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2535,14 +2537,17 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.CreatedAt = ptr.Time(t) } + case "endpoints": if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2551,6 +2556,7 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2563,6 +2569,7 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2571,14 +2578,17 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } + case "networking": if err := awsAwsjson10_deserializeDocumentNetworking(&sv.Networking, value); err != nil { return err } + case "scheduler": if err := awsAwsjson10_deserializeDocumentScheduler(&sv.Scheduler, value); err != nil { return err } + case "size": if value != nil { jtv, ok := value.(string) @@ -2587,10 +2597,12 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Size = types.Size(jtv) } + case "slurmConfiguration": if err := awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(&sv.SlurmConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2611,7 @@ func awsAwsjson10_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.ClusterStatus(jtv) } + default: _, _ = key, value @@ -2668,6 +2681,7 @@ func awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(v **types.Cluster if err := awsAwsjson10_deserializeDocumentSlurmAuthKey(&sv.AuthKey, value); err != nil { return err } + case "scaleDownIdleTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2680,10 +2694,12 @@ func awsAwsjson10_deserializeDocumentClusterSlurmConfiguration(v **types.Cluster } sv.ScaleDownIdleTimeInSeconds = ptr.Int32(int32(i64)) } + case "slurmCustomSettings": if err := awsAwsjson10_deserializeDocumentSlurmCustomSettings(&sv.SlurmCustomSettings, value); err != nil { return err } + default: _, _ = key, value @@ -2723,6 +2739,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2735,6 +2752,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2743,6 +2761,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2755,6 +2774,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2763,6 +2783,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2771,6 +2792,7 @@ func awsAwsjson10_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.Status = types.ClusterStatus(jtv) } + default: _, _ = key, value @@ -2810,6 +2832,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.AmiId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2818,6 +2841,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Arn = ptr.String(jtv) } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -2826,6 +2850,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.ClusterId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2838,14 +2863,17 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.CreatedAt = ptr.Time(t) } + case "customLaunchTemplate": if err := awsAwsjson10_deserializeDocumentCustomLaunchTemplate(&sv.CustomLaunchTemplate, value); err != nil { return err } + case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } + case "iamInstanceProfileArn": if value != nil { jtv, ok := value.(string) @@ -2854,6 +2882,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.IamInstanceProfileArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2862,10 +2891,12 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Id = ptr.String(jtv) } + case "instanceConfigs": if err := awsAwsjson10_deserializeDocumentInstanceList(&sv.InstanceConfigs, value); err != nil { return err } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -2878,6 +2909,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2886,6 +2918,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Name = ptr.String(jtv) } + case "purchaseOption": if value != nil { jtv, ok := value.(string) @@ -2894,18 +2927,22 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.PurchaseOption = types.PurchaseOption(jtv) } + case "scalingConfiguration": if err := awsAwsjson10_deserializeDocumentScalingConfiguration(&sv.ScalingConfiguration, value); err != nil { return err } + case "slurmConfiguration": if err := awsAwsjson10_deserializeDocumentComputeNodeGroupSlurmConfiguration(&sv.SlurmConfiguration, value); err != nil { return err } + case "spotOptions": if err := awsAwsjson10_deserializeDocumentSpotOptions(&sv.SpotOptions, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2914,10 +2951,12 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroup(v **types.ComputeNodeGroup } sv.Status = types.ComputeNodeGroupStatus(jtv) } + case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -2957,6 +2996,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupConfiguration(v **types.Com } sv.ComputeNodeGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -3060,6 +3100,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSlurmConfiguration(v **type if err := awsAwsjson10_deserializeDocumentSlurmCustomSettings(&sv.SlurmCustomSettings, value); err != nil { return err } + default: _, _ = key, value @@ -3099,6 +3140,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Arn = ptr.String(jtv) } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3107,6 +3149,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.ClusterId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3119,6 +3162,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3127,6 +3171,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3139,6 +3184,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3147,6 +3193,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3155,6 +3202,7 @@ func awsAwsjson10_deserializeDocumentComputeNodeGroupSummary(v **types.ComputeNo } sv.Status = types.ComputeNodeGroupStatus(jtv) } + default: _, _ = key, value @@ -3194,6 +3242,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3202,6 +3251,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3210,6 +3260,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3249,6 +3300,7 @@ func awsAwsjson10_deserializeDocumentCustomLaunchTemplate(v **types.CustomLaunch } sv.Id = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3257,6 +3309,7 @@ func awsAwsjson10_deserializeDocumentCustomLaunchTemplate(v **types.CustomLaunch } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3296,6 +3349,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -3304,6 +3358,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } + case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -3312,6 +3367,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.PublicIpAddress = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3320,6 +3376,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Type = types.EndpointType(jtv) } + default: _, _ = key, value @@ -3393,6 +3450,7 @@ func awsAwsjson10_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -3401,6 +3459,7 @@ func awsAwsjson10_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3474,6 +3533,7 @@ func awsAwsjson10_deserializeDocumentInstanceConfig(v **types.InstanceConfig, va } sv.InstanceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3547,6 +3607,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3582,10 +3643,12 @@ func awsAwsjson10_deserializeDocumentNetworking(v **types.Networking, value inte if err := awsAwsjson10_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsAwsjson10_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -3625,6 +3688,7 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3633,10 +3697,12 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ClusterId = ptr.String(jtv) } + case "computeNodeGroupConfigurations": if err := awsAwsjson10_deserializeDocumentComputeNodeGroupConfigurationList(&sv.ComputeNodeGroupConfigurations, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3649,10 +3715,12 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.CreatedAt = ptr.Time(t) } + case "errorInfo": if err := awsAwsjson10_deserializeDocumentErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3661,6 +3729,7 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3673,6 +3742,7 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3681,6 +3751,7 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3689,6 +3760,7 @@ func awsAwsjson10_deserializeDocumentQueue(v **types.Queue, value interface{}) e } sv.Status = types.QueueStatus(jtv) } + default: _, _ = key, value @@ -3762,6 +3834,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Arn = ptr.String(jtv) } + case "clusterId": if value != nil { jtv, ok := value.(string) @@ -3770,6 +3843,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.ClusterId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3782,6 +3856,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3790,6 +3865,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Id = ptr.String(jtv) } + case "modifiedAt": if value != nil { jtv, ok := value.(string) @@ -3802,6 +3878,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.ModifiedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3810,6 +3887,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3818,6 +3896,7 @@ func awsAwsjson10_deserializeDocumentQueueSummary(v **types.QueueSummary, value } sv.Status = types.QueueStatus(jtv) } + default: _, _ = key, value @@ -3857,6 +3936,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3865,6 +3945,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3873,6 +3954,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3952,6 +4034,7 @@ func awsAwsjson10_deserializeDocumentScalingConfiguration(v **types.ScalingConfi } sv.MaxInstanceCount = int32(i64) } + case "minInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -3964,6 +4047,7 @@ func awsAwsjson10_deserializeDocumentScalingConfiguration(v **types.ScalingConfi } sv.MinInstanceCount = int32(i64) } + default: _, _ = key, value @@ -4003,6 +4087,7 @@ func awsAwsjson10_deserializeDocumentScheduler(v **types.Scheduler, value interf } sv.Type = types.SchedulerType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4011,6 +4096,7 @@ func awsAwsjson10_deserializeDocumentScheduler(v **types.Scheduler, value interf } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4086,6 +4172,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4094,6 +4181,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4102,6 +4190,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4110,6 +4199,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4118,6 +4208,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4157,6 +4248,7 @@ func awsAwsjson10_deserializeDocumentSlurmAuthKey(v **types.SlurmAuthKey, value } sv.SecretArn = ptr.String(jtv) } + case "secretVersion": if value != nil { jtv, ok := value.(string) @@ -4165,6 +4257,7 @@ func awsAwsjson10_deserializeDocumentSlurmAuthKey(v **types.SlurmAuthKey, value } sv.SecretVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4204,6 +4297,7 @@ func awsAwsjson10_deserializeDocumentSlurmCustomSetting(v **types.SlurmCustomSet } sv.ParameterName = ptr.String(jtv) } + case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -4212,6 +4306,7 @@ func awsAwsjson10_deserializeDocumentSlurmCustomSetting(v **types.SlurmCustomSet } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -4285,6 +4380,7 @@ func awsAwsjson10_deserializeDocumentSpotOptions(v **types.SpotOptions, value in } sv.AllocationStrategy = types.SpotAllocationStrategy(jtv) } + default: _, _ = key, value @@ -4360,6 +4456,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4372,6 +4469,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4407,6 +4505,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4415,6 +4514,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4423,6 +4523,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -4462,6 +4563,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4470,6 +4572,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4539,6 +4642,7 @@ func awsAwsjson10_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsAwsjson10_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -4574,6 +4678,7 @@ func awsAwsjson10_deserializeOpDocumentCreateComputeNodeGroupOutput(v **CreateCo if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -4609,6 +4714,7 @@ func awsAwsjson10_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -4737,6 +4843,7 @@ func awsAwsjson10_deserializeOpDocumentGetClusterOutput(v **GetClusterOutput, va if err := awsAwsjson10_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -4772,6 +4879,7 @@ func awsAwsjson10_deserializeOpDocumentGetComputeNodeGroupOutput(v **GetComputeN if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -4807,6 +4915,7 @@ func awsAwsjson10_deserializeOpDocumentGetQueueOutput(v **GetQueueOutput, value if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value @@ -4842,6 +4951,7 @@ func awsAwsjson10_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson10_deserializeDocumentClusterList(&sv.Clusters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4850,6 +4960,7 @@ func awsAwsjson10_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4885,6 +4996,7 @@ func awsAwsjson10_deserializeOpDocumentListComputeNodeGroupsOutput(v **ListCompu if err := awsAwsjson10_deserializeDocumentComputeNodeGroupList(&sv.ComputeNodeGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4893,6 +5005,7 @@ func awsAwsjson10_deserializeOpDocumentListComputeNodeGroupsOutput(v **ListCompu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4932,10 +5045,12 @@ func awsAwsjson10_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } + case "queues": if err := awsAwsjson10_deserializeDocumentQueueList(&sv.Queues, value); err != nil { return err } + default: _, _ = key, value @@ -4971,6 +5086,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResponseTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5006,6 +5122,7 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "nodeID": if value != nil { jtv, ok := value.(string) @@ -5014,6 +5131,7 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v } sv.NodeID = ptr.String(jtv) } + case "sharedSecret": if value != nil { jtv, ok := value.(string) @@ -5022,6 +5140,7 @@ func awsAwsjson10_deserializeOpDocumentRegisterComputeNodeGroupInstanceOutput(v } sv.SharedSecret = ptr.String(jtv) } + default: _, _ = key, value @@ -5057,6 +5176,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateComputeNodeGroupOutput(v **UpdateCo if err := awsAwsjson10_deserializeDocumentComputeNodeGroup(&sv.ComputeNodeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -5092,6 +5212,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateQueueOutput(v **UpdateQueueOutput, if err := awsAwsjson10_deserializeDocumentQueue(&sv.Queue, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/personalize/deserializers.go b/service/personalize/deserializers.go index c2b3969f716..6aac7474de2 100644 --- a/service/personalize/deserializers.go +++ b/service/personalize/deserializers.go @@ -8449,10 +8449,12 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.AlgorithmArn = ptr.String(jtv) } + case "algorithmImage": if err := awsAwsjson11_deserializeDocumentAlgorithmImage(&sv.AlgorithmImage, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8468,18 +8470,22 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } } + case "defaultHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultHyperParameterRanges(&sv.DefaultHyperParameterRanges, value); err != nil { return err } + case "defaultHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.DefaultHyperParameters, value); err != nil { return err } + case "defaultResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.DefaultResourceConfig, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8495,6 +8501,7 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8503,6 +8510,7 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8511,6 +8519,7 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.RoleArn = ptr.String(jtv) } + case "trainingInputMode": if value != nil { jtv, ok := value.(string) @@ -8519,6 +8528,7 @@ func awsAwsjson11_deserializeDocumentAlgorithm(v **types.Algorithm, value interf } sv.TrainingInputMode = ptr.String(jtv) } + default: _, _ = key, value @@ -8558,6 +8568,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmImage(v **types.AlgorithmImage, va } sv.DockerURI = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8577,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmImage(v **types.AlgorithmImage, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8641,10 +8653,12 @@ func awsAwsjson11_deserializeDocumentAutoMLConfig(v **types.AutoMLConfig, value } sv.MetricName = ptr.String(jtv) } + case "recipeList": if err := awsAwsjson11_deserializeDocumentArnList(&sv.RecipeList, value); err != nil { return err } + default: _, _ = key, value @@ -8684,6 +8698,7 @@ func awsAwsjson11_deserializeDocumentAutoMLResult(v **types.AutoMLResult, value } sv.BestRecipeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8723,6 +8738,7 @@ func awsAwsjson11_deserializeDocumentAutoTrainingConfig(v **types.AutoTrainingCo } sv.SchedulingExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -8762,10 +8778,12 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.BatchInferenceJobArn = ptr.String(jtv) } + case "batchInferenceJobConfig": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobConfig(&sv.BatchInferenceJobConfig, value); err != nil { return err } + case "batchInferenceJobMode": if value != nil { jtv, ok := value.(string) @@ -8774,6 +8792,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.BatchInferenceJobMode = types.BatchInferenceJobMode(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -8789,6 +8808,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -8797,6 +8817,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.FailureReason = ptr.String(jtv) } + case "filterArn": if value != nil { jtv, ok := value.(string) @@ -8805,10 +8826,12 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.FilterArn = ptr.String(jtv) } + case "jobInput": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobInput(&sv.JobInput, value); err != nil { return err } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -8817,10 +8840,12 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.JobName = ptr.String(jtv) } + case "jobOutput": if err := awsAwsjson11_deserializeDocumentBatchInferenceJobOutput(&sv.JobOutput, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -8836,6 +8861,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } } + case "numResults": if value != nil { jtv, ok := value.(json.Number) @@ -8848,6 +8874,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.NumResults = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8856,6 +8883,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.RoleArn = ptr.String(jtv) } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -8864,6 +8892,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8872,10 +8901,12 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJob(v **types.BatchInferenceJ } sv.Status = ptr.String(jtv) } + case "themeGenerationConfig": if err := awsAwsjson11_deserializeDocumentThemeGenerationConfig(&sv.ThemeGenerationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8911,6 +8942,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobConfig(v **types.BatchInfe if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -8946,6 +8978,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobInput(v **types.BatchInfer if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -8981,6 +9014,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobOutput(v **types.BatchInfe if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } + default: _, _ = key, value @@ -9054,6 +9088,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.BatchInferenceJobArn = ptr.String(jtv) } + case "batchInferenceJobMode": if value != nil { jtv, ok := value.(string) @@ -9062,6 +9097,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.BatchInferenceJobMode = types.BatchInferenceJobMode(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9077,6 +9113,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9085,6 +9122,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.FailureReason = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -9093,6 +9131,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9108,6 +9147,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9116,6 +9156,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9124,6 +9165,7 @@ func awsAwsjson11_deserializeDocumentBatchInferenceJobSummary(v **types.BatchInf } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9163,6 +9205,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.BatchSegmentJobArn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9178,6 +9221,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9186,6 +9230,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.FailureReason = ptr.String(jtv) } + case "filterArn": if value != nil { jtv, ok := value.(string) @@ -9194,10 +9239,12 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.FilterArn = ptr.String(jtv) } + case "jobInput": if err := awsAwsjson11_deserializeDocumentBatchSegmentJobInput(&sv.JobInput, value); err != nil { return err } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -9206,10 +9253,12 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.JobName = ptr.String(jtv) } + case "jobOutput": if err := awsAwsjson11_deserializeDocumentBatchSegmentJobOutput(&sv.JobOutput, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9225,6 +9274,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } } + case "numResults": if value != nil { jtv, ok := value.(json.Number) @@ -9237,6 +9287,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.NumResults = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -9245,6 +9296,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.RoleArn = ptr.String(jtv) } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9253,6 +9305,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9261,6 +9314,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJob(v **types.BatchSegmentJob, } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9296,6 +9350,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobInput(v **types.BatchSegment if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -9331,6 +9386,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobOutput(v **types.BatchSegmen if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } + default: _, _ = key, value @@ -9404,6 +9460,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.BatchSegmentJobArn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9419,6 +9476,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9427,6 +9485,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.FailureReason = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -9435,6 +9494,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9450,6 +9510,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9458,6 +9519,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9466,6 +9528,7 @@ func awsAwsjson11_deserializeDocumentBatchSegmentJobSummary(v **types.BatchSegme } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9505,10 +9568,12 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.CampaignArn = ptr.String(jtv) } + case "campaignConfig": if err := awsAwsjson11_deserializeDocumentCampaignConfig(&sv.CampaignConfig, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9524,6 +9589,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9532,6 +9598,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9547,10 +9614,12 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } } + case "latestCampaignUpdate": if err := awsAwsjson11_deserializeDocumentCampaignUpdateSummary(&sv.LatestCampaignUpdate, value); err != nil { return err } + case "minProvisionedTPS": if value != nil { jtv, ok := value.(json.Number) @@ -9563,6 +9632,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.MinProvisionedTPS = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9571,6 +9641,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Name = ptr.String(jtv) } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9579,6 +9650,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9587,6 +9659,7 @@ func awsAwsjson11_deserializeDocumentCampaign(v **types.Campaign, value interfac } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9626,10 +9699,12 @@ func awsAwsjson11_deserializeDocumentCampaignConfig(v **types.CampaignConfig, va } sv.EnableMetadataWithRecommendations = ptr.Bool(jtv) } + case "itemExplorationConfig": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } + case "syncWithLatestSolutionVersion": if value != nil { jtv, ok := value.(bool) @@ -9638,6 +9713,7 @@ func awsAwsjson11_deserializeDocumentCampaignConfig(v **types.CampaignConfig, va } sv.SyncWithLatestSolutionVersion = ptr.Bool(jtv) } + default: _, _ = key, value @@ -9711,6 +9787,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.CampaignArn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9726,6 +9803,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9734,6 +9812,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9749,6 +9828,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9757,6 +9837,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9765,6 +9846,7 @@ func awsAwsjson11_deserializeDocumentCampaignSummary(v **types.CampaignSummary, } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9800,6 +9882,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd if err := awsAwsjson11_deserializeDocumentCampaignConfig(&sv.CampaignConfig, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -9815,6 +9898,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9823,6 +9907,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -9838,6 +9923,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } } + case "minProvisionedTPS": if value != nil { jtv, ok := value.(json.Number) @@ -9850,6 +9936,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.MinProvisionedTPS = ptr.Int32(int32(i64)) } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -9858,6 +9945,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9866,6 +9954,7 @@ func awsAwsjson11_deserializeDocumentCampaignUpdateSummary(v **types.CampaignUpd } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -9905,10 +9994,12 @@ func awsAwsjson11_deserializeDocumentCategoricalHyperParameterRange(v **types.Ca } sv.Name = ptr.String(jtv) } + case "values": if err := awsAwsjson11_deserializeDocumentCategoricalValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -10079,6 +10170,7 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } } + case "minValue": if value != nil { switch jtv := value.(type) { @@ -10112,6 +10204,7 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10120,6 +10213,7 @@ func awsAwsjson11_deserializeDocumentContinuousHyperParameterRange(v **types.Con } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10200,6 +10294,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } } + case "dataDeletionJobArn": if value != nil { jtv, ok := value.(string) @@ -10208,6 +10303,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.DataDeletionJobArn = ptr.String(jtv) } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10216,10 +10312,12 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.DatasetGroupArn = ptr.String(jtv) } + case "dataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10228,6 +10326,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.FailureReason = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -10236,6 +10335,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10251,6 +10351,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } } + case "numDeleted": if value != nil { jtv, ok := value.(json.Number) @@ -10263,6 +10364,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.NumDeleted = ptr.Int32(int32(i64)) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10271,6 +10373,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10279,6 +10382,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJob(v **types.DataDeletionJob, } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10359,6 +10463,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } } + case "dataDeletionJobArn": if value != nil { jtv, ok := value.(string) @@ -10367,6 +10472,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.DataDeletionJobArn = ptr.String(jtv) } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10375,6 +10481,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.DatasetGroupArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10383,6 +10490,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.FailureReason = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -10391,6 +10499,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10406,6 +10515,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } } + case "status": if value != nil { jtv, ok := value.(string) @@ -10414,6 +10524,7 @@ func awsAwsjson11_deserializeDocumentDataDeletionJobSummary(v **types.DataDeleti } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10460,6 +10571,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -10468,6 +10580,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetArn = ptr.String(jtv) } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10476,6 +10589,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetGroupArn = ptr.String(jtv) } + case "datasetType": if value != nil { jtv, ok := value.(string) @@ -10484,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.DatasetType = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10499,10 +10614,12 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } } + case "latestDatasetUpdate": if err := awsAwsjson11_deserializeDocumentDatasetUpdateSummary(&sv.LatestDatasetUpdate, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10511,6 +10628,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Name = ptr.String(jtv) } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -10519,6 +10637,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.SchemaArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10527,6 +10646,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.Status = ptr.String(jtv) } + case "trackingId": if value != nil { jtv, ok := value.(string) @@ -10535,6 +10655,7 @@ func awsAwsjson11_deserializeDocumentDataset(v **types.Dataset, value interface{ } sv.TrackingId = ptr.String(jtv) } + default: _, _ = key, value @@ -10581,6 +10702,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -10589,6 +10711,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.DatasetArn = ptr.String(jtv) } + case "datasetExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10597,6 +10720,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.DatasetExportJobArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10605,6 +10729,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.FailureReason = ptr.String(jtv) } + case "ingestionMode": if value != nil { jtv, ok := value.(string) @@ -10613,6 +10738,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.IngestionMode = types.IngestionMode(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -10621,10 +10747,12 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.JobName = ptr.String(jtv) } + case "jobOutput": if err := awsAwsjson11_deserializeDocumentDatasetExportJobOutput(&sv.JobOutput, value); err != nil { return err } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10640,6 +10768,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10648,6 +10777,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10656,6 +10786,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJob(v **types.DatasetExportJob } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10691,6 +10822,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobOutput(v **types.DatasetExp if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } + default: _, _ = key, value @@ -10771,6 +10903,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } } + case "datasetExportJobArn": if value != nil { jtv, ok := value.(string) @@ -10779,6 +10912,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.DatasetExportJobArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10787,6 +10921,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.FailureReason = ptr.String(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -10795,6 +10930,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10810,6 +10946,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } } + case "status": if value != nil { jtv, ok := value.(string) @@ -10818,6 +10955,7 @@ func awsAwsjson11_deserializeDocumentDatasetExportJobSummary(v **types.DatasetEx } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -10864,6 +11002,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -10872,6 +11011,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.DatasetGroupArn = ptr.String(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -10880,6 +11020,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Domain = types.Domain(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -10888,6 +11029,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.FailureReason = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -10896,6 +11038,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.KmsKeyArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -10911,6 +11054,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10919,6 +11063,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Name = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -10927,6 +11072,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10935,6 +11081,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroup(v **types.DatasetGroup, value } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11015,6 +11162,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -11023,6 +11171,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.DatasetGroupArn = ptr.String(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -11031,6 +11180,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Domain = types.Domain(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11039,6 +11189,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11054,6 +11205,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11062,6 +11214,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11070,6 +11223,7 @@ func awsAwsjson11_deserializeDocumentDatasetGroupSummary(v **types.DatasetGroupS } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11116,6 +11270,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -11124,6 +11279,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.DatasetArn = ptr.String(jtv) } + case "datasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -11132,10 +11288,12 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.DatasetImportJobArn = ptr.String(jtv) } + case "dataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11144,6 +11302,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.FailureReason = ptr.String(jtv) } + case "importMode": if value != nil { jtv, ok := value.(string) @@ -11152,6 +11311,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.ImportMode = types.ImportMode(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -11160,6 +11320,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11175,6 +11336,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } } + case "publishAttributionMetricsToS3": if value != nil { jtv, ok := value.(bool) @@ -11183,6 +11345,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.PublishAttributionMetricsToS3 = ptr.Bool(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11191,6 +11354,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11199,6 +11363,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJob(v **types.DatasetImportJob } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11279,6 +11444,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } + case "datasetImportJobArn": if value != nil { jtv, ok := value.(string) @@ -11287,6 +11453,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.DatasetImportJobArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11295,6 +11462,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.FailureReason = ptr.String(jtv) } + case "importMode": if value != nil { jtv, ok := value.(string) @@ -11303,6 +11471,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.ImportMode = types.ImportMode(jtv) } + case "jobName": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11480,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.JobName = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11326,6 +11496,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11334,6 +11505,7 @@ func awsAwsjson11_deserializeDocumentDatasetImportJobSummary(v **types.DatasetIm } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11414,6 +11586,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } } + case "domain": if value != nil { jtv, ok := value.(string) @@ -11422,6 +11595,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Domain = types.Domain(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11437,6 +11611,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11445,6 +11620,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -11453,6 +11629,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.Schema = ptr.String(jtv) } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11461,6 +11638,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchema(v **types.DatasetSchema, valu } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11507,6 +11685,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } } + case "domain": if value != nil { jtv, ok := value.(string) @@ -11515,6 +11694,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.Domain = types.Domain(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11530,6 +11710,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11538,6 +11719,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.Name = ptr.String(jtv) } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11546,6 +11728,7 @@ func awsAwsjson11_deserializeDocumentDatasetSchemaSummary(v **types.DatasetSchem } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11592,6 +11775,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "datasetArn": if value != nil { jtv, ok := value.(string) @@ -11600,6 +11784,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetArn = ptr.String(jtv) } + case "datasetType": if value != nil { jtv, ok := value.(string) @@ -11608,6 +11793,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.DatasetType = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11623,6 +11809,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11631,6 +11818,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11639,6 +11827,7 @@ func awsAwsjson11_deserializeDocumentDatasetSummary(v **types.DatasetSummary, va } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11685,6 +11874,7 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11693,6 +11883,7 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -11708,6 +11899,7 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } } + case "schemaArn": if value != nil { jtv, ok := value.(string) @@ -11716,6 +11908,7 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.SchemaArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11724,6 +11917,7 @@ func awsAwsjson11_deserializeDocumentDatasetUpdateSummary(v **types.DatasetUpdat } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -11763,6 +11957,7 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -11802,6 +11997,7 @@ func awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRange(v **t } sv.IsTunable = jtv } + case "name": if value != nil { jtv, ok := value.(string) @@ -11810,10 +12006,12 @@ func awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRange(v **t } sv.Name = ptr.String(jtv) } + case "values": if err := awsAwsjson11_deserializeDocumentCategoricalValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -11887,6 +12085,7 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } sv.IsTunable = jtv } + case "maxValue": if value != nil { switch jtv := value.(type) { @@ -11920,6 +12119,7 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } } + case "minValue": if value != nil { switch jtv := value.(type) { @@ -11953,6 +12153,7 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11961,6 +12162,7 @@ func awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRange(v **ty } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12030,14 +12232,17 @@ func awsAwsjson11_deserializeDocumentDefaultHyperParameterRanges(v **types.Defau if err := awsAwsjson11_deserializeDocumentDefaultCategoricalHyperParameterRanges(&sv.CategoricalHyperParameterRanges, value); err != nil { return err } + case "continuousHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultContinuousHyperParameterRanges(&sv.ContinuousHyperParameterRanges, value); err != nil { return err } + case "integerHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRanges(&sv.IntegerHyperParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -12077,6 +12282,7 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.IsTunable = jtv } + case "maxValue": if value != nil { jtv, ok := value.(json.Number) @@ -12089,6 +12295,7 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.MaxValue = int32(i64) } + case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -12101,6 +12308,7 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.MinValue = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12109,6 +12317,7 @@ func awsAwsjson11_deserializeDocumentDefaultIntegerHyperParameterRange(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12182,6 +12391,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.AccountId = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -12197,6 +12407,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12205,6 +12416,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.DatasetGroupArn = ptr.String(jtv) } + case "eventTrackerArn": if value != nil { jtv, ok := value.(string) @@ -12213,6 +12425,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.EventTrackerArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12228,6 +12441,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12236,6 +12450,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12244,6 +12459,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.Status = ptr.String(jtv) } + case "trackingId": if value != nil { jtv, ok := value.(string) @@ -12252,6 +12468,7 @@ func awsAwsjson11_deserializeDocumentEventTracker(v **types.EventTracker, value } sv.TrackingId = ptr.String(jtv) } + default: _, _ = key, value @@ -12332,6 +12549,7 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } } + case "eventTrackerArn": if value != nil { jtv, ok := value.(string) @@ -12340,6 +12558,7 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.EventTrackerArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12355,6 +12574,7 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12363,6 +12583,7 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12371,6 +12592,7 @@ func awsAwsjson11_deserializeDocumentEventTrackerSummary(v **types.EventTrackerS } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -12451,10 +12673,12 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } } + case "defaultParameters": if err := awsAwsjson11_deserializeDocumentFeaturizationParameters(&sv.DefaultParameters, value); err != nil { return err } + case "featureTransformationArn": if value != nil { jtv, ok := value.(string) @@ -12463,6 +12687,7 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.FeatureTransformationArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12478,6 +12703,7 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12486,6 +12712,7 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12494,6 +12721,7 @@ func awsAwsjson11_deserializeDocumentFeatureTransformation(v **types.FeatureTran } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -12605,6 +12833,7 @@ func awsAwsjson11_deserializeDocumentFieldsForThemeGeneration(v **types.FieldsFo } sv.ItemName = ptr.String(jtv) } + default: _, _ = key, value @@ -12651,6 +12880,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12659,6 +12889,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.DatasetGroupArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -12667,6 +12898,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FailureReason = ptr.String(jtv) } + case "filterArn": if value != nil { jtv, ok := value.(string) @@ -12675,6 +12907,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterArn = ptr.String(jtv) } + case "filterExpression": if value != nil { jtv, ok := value.(string) @@ -12683,6 +12916,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.FilterExpression = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12698,6 +12932,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12706,6 +12941,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12714,6 +12950,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -12794,6 +13031,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -12802,6 +13040,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.DatasetGroupArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -12810,6 +13049,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.FailureReason = ptr.String(jtv) } + case "filterArn": if value != nil { jtv, ok := value.(string) @@ -12818,6 +13058,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.FilterArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -12833,6 +13074,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12841,6 +13083,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12849,6 +13092,7 @@ func awsAwsjson11_deserializeDocumentFilterSummary(v **types.FilterSummary, valu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -12884,14 +13128,17 @@ func awsAwsjson11_deserializeDocumentHPOConfig(v **types.HPOConfig, value interf if err := awsAwsjson11_deserializeDocumentHyperParameterRanges(&sv.AlgorithmHyperParameterRanges, value); err != nil { return err } + case "hpoObjective": if err := awsAwsjson11_deserializeDocumentHPOObjective(&sv.HpoObjective, value); err != nil { return err } + case "hpoResourceConfig": if err := awsAwsjson11_deserializeDocumentHPOResourceConfig(&sv.HpoResourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12931,6 +13178,7 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.MetricName = ptr.String(jtv) } + case "metricRegex": if value != nil { jtv, ok := value.(string) @@ -12939,6 +13187,7 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.MetricRegex = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12947,6 +13196,7 @@ func awsAwsjson11_deserializeDocumentHPOObjective(v **types.HPOObjective, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -12986,6 +13236,7 @@ func awsAwsjson11_deserializeDocumentHPOResourceConfig(v **types.HPOResourceConf } sv.MaxNumberOfTrainingJobs = ptr.String(jtv) } + case "maxParallelTrainingJobs": if value != nil { jtv, ok := value.(string) @@ -12994,6 +13245,7 @@ func awsAwsjson11_deserializeDocumentHPOResourceConfig(v **types.HPOResourceConf } sv.MaxParallelTrainingJobs = ptr.String(jtv) } + default: _, _ = key, value @@ -13029,14 +13281,17 @@ func awsAwsjson11_deserializeDocumentHyperParameterRanges(v **types.HyperParamet if err := awsAwsjson11_deserializeDocumentCategoricalHyperParameterRanges(&sv.CategoricalHyperParameterRanges, value); err != nil { return err } + case "continuousHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousHyperParameterRanges(&sv.ContinuousHyperParameterRanges, value); err != nil { return err } + case "integerHyperParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerHyperParameterRanges(&sv.IntegerHyperParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -13116,6 +13371,7 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.MaxValue = int32(i64) } + case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -13128,6 +13384,7 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.MinValue = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13136,6 +13393,7 @@ func awsAwsjson11_deserializeDocumentIntegerHyperParameterRange(v **types.Intege } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13209,6 +13467,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13248,6 +13507,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13287,6 +13547,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13326,6 +13587,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.EventType = ptr.String(jtv) } + case "expression": if value != nil { jtv, ok := value.(string) @@ -13334,6 +13596,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.Expression = ptr.String(jtv) } + case "metricName": if value != nil { jtv, ok := value.(string) @@ -13342,6 +13605,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribute(v **types.MetricAttribute, } sv.MetricName = ptr.String(jtv) } + default: _, _ = key, value @@ -13422,6 +13686,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -13430,6 +13695,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.DatasetGroupArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13438,6 +13704,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13453,6 +13720,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } } + case "metricAttributionArn": if value != nil { jtv, ok := value.(string) @@ -13461,10 +13729,12 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.MetricAttributionArn = ptr.String(jtv) } + case "metricsOutputConfig": if err := awsAwsjson11_deserializeDocumentMetricAttributionOutput(&sv.MetricsOutputConfig, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13473,6 +13743,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13481,6 +13752,7 @@ func awsAwsjson11_deserializeDocumentMetricAttribution(v **types.MetricAttributi } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -13520,10 +13792,12 @@ func awsAwsjson11_deserializeDocumentMetricAttributionOutput(v **types.MetricAtt } sv.RoleArn = ptr.String(jtv) } + case "s3DataDestination": if err := awsAwsjson11_deserializeDocumentS3DataConfig(&sv.S3DataDestination, value); err != nil { return err } + default: _, _ = key, value @@ -13604,6 +13878,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13612,6 +13887,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13627,6 +13903,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } } + case "metricAttributionArn": if value != nil { jtv, ok := value.(string) @@ -13635,6 +13912,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.MetricAttributionArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13643,6 +13921,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13651,6 +13930,7 @@ func awsAwsjson11_deserializeDocumentMetricAttributionSummary(v **types.MetricAt } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -13751,6 +14031,7 @@ func awsAwsjson11_deserializeDocumentOptimizationObjective(v **types.Optimizatio } sv.ItemAttribute = ptr.String(jtv) } + case "objectiveSensitivity": if value != nil { jtv, ok := value.(string) @@ -13759,6 +14040,7 @@ func awsAwsjson11_deserializeDocumentOptimizationObjective(v **types.Optimizatio } sv.ObjectiveSensitivity = types.ObjectiveSensitivity(jtv) } + default: _, _ = key, value @@ -13798,6 +14080,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.AlgorithmArn = ptr.String(jtv) } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -13813,6 +14096,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13821,6 +14105,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Description = ptr.String(jtv) } + case "featureTransformationArn": if value != nil { jtv, ok := value.(string) @@ -13829,6 +14114,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.FeatureTransformationArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13844,6 +14130,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13852,6 +14139,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Name = ptr.String(jtv) } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -13860,6 +14148,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeArn = ptr.String(jtv) } + case "recipeType": if value != nil { jtv, ok := value.(string) @@ -13868,6 +14157,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.RecipeType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13876,6 +14166,7 @@ func awsAwsjson11_deserializeDocumentRecipe(v **types.Recipe, value interface{}) } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -13956,6 +14247,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } } + case "domain": if value != nil { jtv, ok := value.(string) @@ -13964,6 +14256,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Domain = types.Domain(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -13979,6 +14272,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13987,6 +14281,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Name = ptr.String(jtv) } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -13995,6 +14290,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.RecipeArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14003,6 +14299,7 @@ func awsAwsjson11_deserializeDocumentRecipeSummary(v **types.RecipeSummary, valu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14049,6 +14346,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14057,6 +14355,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.DatasetGroupArn = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -14065,6 +14364,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14080,14 +14380,17 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } } + case "latestRecommenderUpdate": if err := awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(&sv.LatestRecommenderUpdate, value); err != nil { return err } + case "modelMetrics": if err := awsAwsjson11_deserializeDocumentMetrics(&sv.ModelMetrics, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14096,6 +14399,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.Name = ptr.String(jtv) } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14104,6 +14408,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.RecipeArn = ptr.String(jtv) } + case "recommenderArn": if value != nil { jtv, ok := value.(string) @@ -14112,10 +14417,12 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.RecommenderArn = ptr.String(jtv) } + case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14124,6 +14431,7 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14163,10 +14471,12 @@ func awsAwsjson11_deserializeDocumentRecommenderConfig(v **types.RecommenderConf } sv.EnableMetadataWithRecommendations = ptr.Bool(jtv) } + case "itemExplorationConfig": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.ItemExplorationConfig, value); err != nil { return err } + case "minRecommendationRequestsPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -14179,10 +14489,12 @@ func awsAwsjson11_deserializeDocumentRecommenderConfig(v **types.RecommenderConf } sv.MinRecommendationRequestsPerSecond = ptr.Int32(int32(i64)) } + case "trainingDataConfig": if err := awsAwsjson11_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14263,6 +14575,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14271,6 +14584,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.DatasetGroupArn = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14286,6 +14600,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14609,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.Name = ptr.String(jtv) } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14618,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.RecipeArn = ptr.String(jtv) } + case "recommenderArn": if value != nil { jtv, ok := value.(string) @@ -14310,10 +14627,12 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.RecommenderArn = ptr.String(jtv) } + case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14322,6 +14641,7 @@ func awsAwsjson11_deserializeDocumentRecommenderSummary(v **types.RecommenderSum } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14368,6 +14688,7 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -14376,6 +14697,7 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14391,10 +14713,12 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } } + case "recommenderConfig": if err := awsAwsjson11_deserializeDocumentRecommenderConfig(&sv.RecommenderConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14403,6 +14727,7 @@ func awsAwsjson11_deserializeDocumentRecommenderUpdateSummary(v **types.Recommen } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14442,6 +14767,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14517,6 +14843,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14556,6 +14883,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14595,6 +14923,7 @@ func awsAwsjson11_deserializeDocumentS3DataConfig(v **types.S3DataConfig, value } sv.KmsKeyArn = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -14603,6 +14932,7 @@ func awsAwsjson11_deserializeDocumentS3DataConfig(v **types.S3DataConfig, value } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -14672,6 +15002,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac if err := awsAwsjson11_deserializeDocumentAutoMLResult(&sv.AutoMLResult, value); err != nil { return err } + case "creationDateTime": if value != nil { switch jtv := value.(type) { @@ -14687,6 +15018,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -14695,6 +15027,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.DatasetGroupArn = ptr.String(jtv) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -14703,6 +15036,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.EventType = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14718,14 +15052,17 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } } + case "latestSolutionUpdate": if err := awsAwsjson11_deserializeDocumentSolutionUpdateSummary(&sv.LatestSolutionUpdate, value); err != nil { return err } + case "latestSolutionVersion": if err := awsAwsjson11_deserializeDocumentSolutionVersionSummary(&sv.LatestSolutionVersion, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14734,6 +15071,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.Name = ptr.String(jtv) } + case "performAutoML": if value != nil { jtv, ok := value.(bool) @@ -14742,6 +15080,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformAutoML = jtv } + case "performAutoTraining": if value != nil { jtv, ok := value.(bool) @@ -14750,6 +15089,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformAutoTraining = ptr.Bool(jtv) } + case "performHPO": if value != nil { jtv, ok := value.(bool) @@ -14758,6 +15098,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.PerformHPO = jtv } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14766,6 +15107,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.RecipeArn = ptr.String(jtv) } + case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -14774,10 +15116,12 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.SolutionArn = ptr.String(jtv) } + case "solutionConfig": if err := awsAwsjson11_deserializeDocumentSolutionConfig(&sv.SolutionConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14786,6 +15130,7 @@ func awsAwsjson11_deserializeDocumentSolution(v **types.Solution, value interfac } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -14821,14 +15166,17 @@ func awsAwsjson11_deserializeDocumentSolutionConfig(v **types.SolutionConfig, va if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.AlgorithmHyperParameters, value); err != nil { return err } + case "autoMLConfig": if err := awsAwsjson11_deserializeDocumentAutoMLConfig(&sv.AutoMLConfig, value); err != nil { return err } + case "autoTrainingConfig": if err := awsAwsjson11_deserializeDocumentAutoTrainingConfig(&sv.AutoTrainingConfig, value); err != nil { return err } + case "eventValueThreshold": if value != nil { jtv, ok := value.(string) @@ -14837,22 +15185,27 @@ func awsAwsjson11_deserializeDocumentSolutionConfig(v **types.SolutionConfig, va } sv.EventValueThreshold = ptr.String(jtv) } + case "featureTransformationParameters": if err := awsAwsjson11_deserializeDocumentFeatureTransformationParameters(&sv.FeatureTransformationParameters, value); err != nil { return err } + case "hpoConfig": if err := awsAwsjson11_deserializeDocumentHPOConfig(&sv.HpoConfig, value); err != nil { return err } + case "optimizationObjective": if err := awsAwsjson11_deserializeDocumentOptimizationObjective(&sv.OptimizationObjective, value); err != nil { return err } + case "trainingDataConfig": if err := awsAwsjson11_deserializeDocumentTrainingDataConfig(&sv.TrainingDataConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14933,6 +15286,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -14948,6 +15302,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14956,6 +15311,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.Name = ptr.String(jtv) } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -14964,6 +15320,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.RecipeArn = ptr.String(jtv) } + case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -14972,6 +15329,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.SolutionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14980,6 +15338,7 @@ func awsAwsjson11_deserializeDocumentSolutionSummary(v **types.SolutionSummary, } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -15015,6 +15374,7 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateConfig(v **types.SolutionUpda if err := awsAwsjson11_deserializeDocumentAutoTrainingConfig(&sv.AutoTrainingConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15061,6 +15421,7 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15069,6 +15430,7 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15084,6 +15446,7 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } } + case "performAutoTraining": if value != nil { jtv, ok := value.(bool) @@ -15092,10 +15455,12 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.PerformAutoTraining = ptr.Bool(jtv) } + case "solutionUpdateConfig": if err := awsAwsjson11_deserializeDocumentSolutionUpdateConfig(&sv.SolutionUpdateConfig, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15104,6 +15469,7 @@ func awsAwsjson11_deserializeDocumentSolutionUpdateSummary(v **types.SolutionUpd } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -15150,6 +15516,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } + case "datasetGroupArn": if value != nil { jtv, ok := value.(string) @@ -15158,6 +15525,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.DatasetGroupArn = ptr.String(jtv) } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -15166,6 +15534,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.EventType = ptr.String(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15174,6 +15543,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15189,6 +15559,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15197,6 +15568,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.Name = ptr.String(jtv) } + case "performAutoML": if value != nil { jtv, ok := value.(bool) @@ -15205,6 +15577,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.PerformAutoML = jtv } + case "performHPO": if value != nil { jtv, ok := value.(bool) @@ -15213,6 +15586,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.PerformHPO = jtv } + case "recipeArn": if value != nil { jtv, ok := value.(string) @@ -15221,6 +15595,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.RecipeArn = ptr.String(jtv) } + case "solutionArn": if value != nil { jtv, ok := value.(string) @@ -15229,10 +15604,12 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.SolutionArn = ptr.String(jtv) } + case "solutionConfig": if err := awsAwsjson11_deserializeDocumentSolutionConfig(&sv.SolutionConfig, value); err != nil { return err } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -15241,6 +15618,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15249,6 +15627,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.Status = ptr.String(jtv) } + case "trainingHours": if value != nil { switch jtv := value.(type) { @@ -15282,6 +15661,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } } + case "trainingMode": if value != nil { jtv, ok := value.(string) @@ -15290,6 +15670,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.TrainingMode = types.TrainingMode(jtv) } + case "trainingType": if value != nil { jtv, ok := value.(string) @@ -15298,10 +15679,12 @@ func awsAwsjson11_deserializeDocumentSolutionVersion(v **types.SolutionVersion, } sv.TrainingType = types.TrainingType(jtv) } + case "tunedHPOParams": if err := awsAwsjson11_deserializeDocumentTunedHPOParams(&sv.TunedHPOParams, value); err != nil { return err } + default: _, _ = key, value @@ -15382,6 +15765,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -15390,6 +15774,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedDateTime": if value != nil { switch jtv := value.(type) { @@ -15405,6 +15790,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -15413,6 +15799,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.SolutionVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15421,6 +15808,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.Status = ptr.String(jtv) } + case "trainingMode": if value != nil { jtv, ok := value.(string) @@ -15429,6 +15817,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.TrainingMode = types.TrainingMode(jtv) } + case "trainingType": if value != nil { jtv, ok := value.(string) @@ -15437,6 +15826,7 @@ func awsAwsjson11_deserializeDocumentSolutionVersionSummary(v **types.SolutionVe } sv.TrainingType = types.TrainingType(jtv) } + default: _, _ = key, value @@ -15476,6 +15866,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagKey = ptr.String(jtv) } + case "tagValue": if value != nil { jtv, ok := value.(string) @@ -15484,6 +15875,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -15553,6 +15945,7 @@ func awsAwsjson11_deserializeDocumentThemeGenerationConfig(v **types.ThemeGenera if err := awsAwsjson11_deserializeDocumentFieldsForThemeGeneration(&sv.FieldsForThemeGeneration, value); err != nil { return err } + default: _, _ = key, value @@ -15592,6 +15985,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagKeysException(v **types.TooManyTa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15631,6 +16025,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15666,6 +16061,7 @@ func awsAwsjson11_deserializeDocumentTrainingDataConfig(v **types.TrainingDataCo if err := awsAwsjson11_deserializeDocumentExcludedDatasetColumns(&sv.ExcludedDatasetColumns, value); err != nil { return err } + default: _, _ = key, value @@ -15701,6 +16097,7 @@ func awsAwsjson11_deserializeDocumentTunedHPOParams(v **types.TunedHPOParams, va if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.AlgorithmHyperParameters, value); err != nil { return err } + default: _, _ = key, value @@ -15740,6 +16137,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchInferenceJobOutput(v **CreateB } sv.BatchInferenceJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15779,6 +16177,7 @@ func awsAwsjson11_deserializeOpDocumentCreateBatchSegmentJobOutput(v **CreateBat } sv.BatchSegmentJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15818,6 +16217,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu } sv.CampaignArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15857,6 +16257,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataDeletionJobOutput(v **CreateDat } sv.DataDeletionJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15896,6 +16297,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetExportJobOutput(v **CreateDa } sv.DatasetExportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15935,6 +16337,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.DatasetGroupArn = ptr.String(jtv) } + case "domain": if value != nil { jtv, ok := value.(string) @@ -15943,6 +16346,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetGroupOutput(v **CreateDatase } sv.Domain = types.Domain(jtv) } + default: _, _ = key, value @@ -15982,6 +16386,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetImportJobOutput(v **CreateDa } sv.DatasetImportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16021,6 +16426,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16060,6 +16466,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventTrackerOutput(v **CreateEventT } sv.EventTrackerArn = ptr.String(jtv) } + case "trackingId": if value != nil { jtv, ok := value.(string) @@ -16068,6 +16475,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEventTrackerOutput(v **CreateEventT } sv.TrackingId = ptr.String(jtv) } + default: _, _ = key, value @@ -16107,6 +16515,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFilterOutput(v **CreateFilterOutput } sv.FilterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16146,6 +16555,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMetricAttributionOutput(v **CreateM } sv.MetricAttributionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16185,6 +16595,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRecommenderOutput(v **CreateRecomme } sv.RecommenderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16224,6 +16635,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16263,6 +16675,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSolutionOutput(v **CreateSolutionOu } sv.SolutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16302,6 +16715,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSolutionVersionOutput(v **CreateSol } sv.SolutionVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16337,6 +16751,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor if err := awsAwsjson11_deserializeDocumentAlgorithm(&sv.Algorithm, value); err != nil { return err } + default: _, _ = key, value @@ -16372,6 +16787,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchInferenceJobOutput(v **Descr if err := awsAwsjson11_deserializeDocumentBatchInferenceJob(&sv.BatchInferenceJob, value); err != nil { return err } + default: _, _ = key, value @@ -16407,6 +16823,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBatchSegmentJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentBatchSegmentJob(&sv.BatchSegmentJob, value); err != nil { return err } + default: _, _ = key, value @@ -16442,6 +16859,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCampaignOutput(v **DescribeCampai if err := awsAwsjson11_deserializeDocumentCampaign(&sv.Campaign, value); err != nil { return err } + default: _, _ = key, value @@ -16477,6 +16895,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataDeletionJobOutput(v **Describ if err := awsAwsjson11_deserializeDocumentDataDeletionJob(&sv.DataDeletionJob, value); err != nil { return err } + default: _, _ = key, value @@ -16512,6 +16931,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetExportJobOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDatasetExportJob(&sv.DatasetExportJob, value); err != nil { return err } + default: _, _ = key, value @@ -16547,6 +16967,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetGroupOutput(v **DescribeDa if err := awsAwsjson11_deserializeDocumentDatasetGroup(&sv.DatasetGroup, value); err != nil { return err } + default: _, _ = key, value @@ -16582,6 +17003,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri if err := awsAwsjson11_deserializeDocumentDatasetImportJob(&sv.DatasetImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -16617,6 +17039,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -16652,6 +17075,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEventTrackerOutput(v **DescribeEv if err := awsAwsjson11_deserializeDocumentEventTracker(&sv.EventTracker, value); err != nil { return err } + default: _, _ = key, value @@ -16687,6 +17111,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureTransformationOutput(v **D if err := awsAwsjson11_deserializeDocumentFeatureTransformation(&sv.FeatureTransformation, value); err != nil { return err } + default: _, _ = key, value @@ -16722,6 +17147,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFilterOutput(v **DescribeFilterOu if err := awsAwsjson11_deserializeDocumentFilter(&sv.Filter, value); err != nil { return err } + default: _, _ = key, value @@ -16757,6 +17183,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMetricAttributionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentMetricAttribution(&sv.MetricAttribution, value); err != nil { return err } + default: _, _ = key, value @@ -16792,6 +17219,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecipeOutput(v **DescribeRecipeOu if err := awsAwsjson11_deserializeDocumentRecipe(&sv.Recipe, value); err != nil { return err } + default: _, _ = key, value @@ -16827,6 +17255,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecommenderOutput(v **DescribeRec if err := awsAwsjson11_deserializeDocumentRecommender(&sv.Recommender, value); err != nil { return err } + default: _, _ = key, value @@ -16862,6 +17291,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu if err := awsAwsjson11_deserializeDocumentDatasetSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -16897,6 +17327,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSolutionOutput(v **DescribeSoluti if err := awsAwsjson11_deserializeDocumentSolution(&sv.Solution, value); err != nil { return err } + default: _, _ = key, value @@ -16932,6 +17363,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSolutionVersionOutput(v **Describ if err := awsAwsjson11_deserializeDocumentSolutionVersion(&sv.SolutionVersion, value); err != nil { return err } + default: _, _ = key, value @@ -16967,6 +17399,7 @@ func awsAwsjson11_deserializeOpDocumentGetSolutionMetricsOutput(v **GetSolutionM if err := awsAwsjson11_deserializeDocumentMetrics(&sv.Metrics, value); err != nil { return err } + case "solutionVersionArn": if value != nil { jtv, ok := value.(string) @@ -16975,6 +17408,7 @@ func awsAwsjson11_deserializeOpDocumentGetSolutionMetricsOutput(v **GetSolutionM } sv.SolutionVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17010,6 +17444,7 @@ func awsAwsjson11_deserializeOpDocumentListBatchInferenceJobsOutput(v **ListBatc if err := awsAwsjson11_deserializeDocumentBatchInferenceJobs(&sv.BatchInferenceJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17018,6 +17453,7 @@ func awsAwsjson11_deserializeOpDocumentListBatchInferenceJobsOutput(v **ListBatc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17053,6 +17489,7 @@ func awsAwsjson11_deserializeOpDocumentListBatchSegmentJobsOutput(v **ListBatchS if err := awsAwsjson11_deserializeDocumentBatchSegmentJobs(&sv.BatchSegmentJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17061,6 +17498,7 @@ func awsAwsjson11_deserializeOpDocumentListBatchSegmentJobsOutput(v **ListBatchS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17096,6 +17534,7 @@ func awsAwsjson11_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp if err := awsAwsjson11_deserializeDocumentCampaigns(&sv.Campaigns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17104,6 +17543,7 @@ func awsAwsjson11_deserializeOpDocumentListCampaignsOutput(v **ListCampaignsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17139,6 +17579,7 @@ func awsAwsjson11_deserializeOpDocumentListDataDeletionJobsOutput(v **ListDataDe if err := awsAwsjson11_deserializeDocumentDataDeletionJobs(&sv.DataDeletionJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17147,6 +17588,7 @@ func awsAwsjson11_deserializeOpDocumentListDataDeletionJobsOutput(v **ListDataDe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17182,6 +17624,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetExportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetExportJobs(&sv.DatasetExportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17190,6 +17633,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetExportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17225,6 +17669,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr if err := awsAwsjson11_deserializeDocumentDatasetGroups(&sv.DatasetGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17233,6 +17678,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(v **ListDatasetGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17268,6 +17714,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas if err := awsAwsjson11_deserializeDocumentDatasetImportJobs(&sv.DatasetImportJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17276,6 +17723,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(v **ListDatas } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17311,6 +17759,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput if err := awsAwsjson11_deserializeDocumentDatasets(&sv.Datasets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17319,6 +17768,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetsOutput(v **ListDatasetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17354,6 +17804,7 @@ func awsAwsjson11_deserializeOpDocumentListEventTrackersOutput(v **ListEventTrac if err := awsAwsjson11_deserializeDocumentEventTrackers(&sv.EventTrackers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17362,6 +17813,7 @@ func awsAwsjson11_deserializeOpDocumentListEventTrackersOutput(v **ListEventTrac } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17397,6 +17849,7 @@ func awsAwsjson11_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, if err := awsAwsjson11_deserializeDocumentFilters(&sv.Filters, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17405,6 +17858,7 @@ func awsAwsjson11_deserializeOpDocumentListFiltersOutput(v **ListFiltersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17440,6 +17894,7 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionMetricsOutput(v **Li if err := awsAwsjson11_deserializeDocumentMetricAttributes(&sv.Metrics, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17448,6 +17903,7 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionMetricsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17483,6 +17939,7 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionsOutput(v **ListMetr if err := awsAwsjson11_deserializeDocumentMetricAttributions(&sv.MetricAttributions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -17491,6 +17948,7 @@ func awsAwsjson11_deserializeOpDocumentListMetricAttributionsOutput(v **ListMetr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17530,10 +17988,12 @@ func awsAwsjson11_deserializeOpDocumentListRecipesOutput(v **ListRecipesOutput, } sv.NextToken = ptr.String(jtv) } + case "recipes": if err := awsAwsjson11_deserializeDocumentRecipes(&sv.Recipes, value); err != nil { return err } + default: _, _ = key, value @@ -17573,10 +18033,12 @@ func awsAwsjson11_deserializeOpDocumentListRecommendersOutput(v **ListRecommende } sv.NextToken = ptr.String(jtv) } + case "recommenders": if err := awsAwsjson11_deserializeDocumentRecommenders(&sv.Recommenders, value); err != nil { return err } + default: _, _ = key, value @@ -17616,10 +18078,12 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } + case "schemas": if err := awsAwsjson11_deserializeDocumentSchemas(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -17659,10 +18123,12 @@ func awsAwsjson11_deserializeOpDocumentListSolutionsOutput(v **ListSolutionsOutp } sv.NextToken = ptr.String(jtv) } + case "solutions": if err := awsAwsjson11_deserializeDocumentSolutions(&sv.Solutions, value); err != nil { return err } + default: _, _ = key, value @@ -17702,10 +18168,12 @@ func awsAwsjson11_deserializeOpDocumentListSolutionVersionsOutput(v **ListSoluti } sv.NextToken = ptr.String(jtv) } + case "solutionVersions": if err := awsAwsjson11_deserializeDocumentSolutionVersions(&sv.SolutionVersions, value); err != nil { return err } + default: _, _ = key, value @@ -17741,6 +18209,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17780,6 +18249,7 @@ func awsAwsjson11_deserializeOpDocumentStartRecommenderOutput(v **StartRecommend } sv.RecommenderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17819,6 +18289,7 @@ func awsAwsjson11_deserializeOpDocumentStopRecommenderOutput(v **StopRecommender } sv.RecommenderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17920,6 +18391,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu } sv.CampaignArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17959,6 +18431,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDatasetOutput(v **UpdateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17998,6 +18471,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMetricAttributionOutput(v **UpdateM } sv.MetricAttributionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18037,6 +18511,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRecommenderOutput(v **UpdateRecomme } sv.RecommenderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18076,6 +18551,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSolutionOutput(v **UpdateSolutionOu } sv.SolutionArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/personalizeevents/deserializers.go b/service/personalizeevents/deserializers.go index 360b6163244..8b838fd745c 100644 --- a/service/personalizeevents/deserializers.go +++ b/service/personalizeevents/deserializers.go @@ -662,6 +662,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -701,6 +702,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -740,6 +742,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/personalizeruntime/deserializers.go b/service/personalizeruntime/deserializers.go index f4999a0befb..f3767d41b59 100644 --- a/service/personalizeruntime/deserializers.go +++ b/service/personalizeruntime/deserializers.go @@ -175,6 +175,7 @@ func awsRestjson1_deserializeOpDocumentGetActionRecommendationsOutput(v **GetAct if err := awsRestjson1_deserializeDocumentActionList(&sv.ActionList, value); err != nil { return err } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -183,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentGetActionRecommendationsOutput(v **GetAct } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -337,6 +339,7 @@ func awsRestjson1_deserializeOpDocumentGetPersonalizedRankingOutput(v **GetPerso if err := awsRestjson1_deserializeDocumentItemList(&sv.PersonalizedRanking, value); err != nil { return err } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -345,6 +348,7 @@ func awsRestjson1_deserializeOpDocumentGetPersonalizedRankingOutput(v **GetPerso } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -499,6 +503,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentItemList(&sv.ItemList, value); err != nil { return err } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -507,6 +512,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -652,6 +658,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -761,6 +768,7 @@ func awsRestjson1_deserializeDocumentPredictedAction(v **types.PredictedAction, } sv.ActionId = ptr.String(jtv) } + case "score": if value != nil { switch jtv := value.(type) { @@ -794,6 +802,7 @@ func awsRestjson1_deserializeDocumentPredictedAction(v **types.PredictedAction, } } + default: _, _ = key, value @@ -833,10 +842,12 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } sv.ItemId = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "promotionName": if value != nil { jtv, ok := value.(string) @@ -845,10 +856,12 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } sv.PromotionName = ptr.String(jtv) } + case "reason": if err := awsRestjson1_deserializeDocumentReasonList(&sv.Reason, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -882,6 +895,7 @@ func awsRestjson1_deserializeDocumentPredictedItem(v **types.PredictedItem, valu } } + default: _, _ = key, value @@ -957,6 +971,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/pi/deserializers.go b/service/pi/deserializers.go index e1025bc6971..16dd331da2c 100644 --- a/service/pi/deserializers.go +++ b/service/pi/deserializers.go @@ -1747,6 +1747,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.AnalysisReportId = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1762,6 +1763,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -1777,6 +1779,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1785,10 +1788,12 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.Identifier = ptr.String(jtv) } + case "Insights": if err := awsAwsjson11_deserializeDocumentInsightList(&sv.Insights, value); err != nil { return err } + case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -1797,6 +1802,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.ServiceType = types.ServiceType(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1812,6 +1818,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1820,6 +1827,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReport(v **types.AnalysisReport, va } sv.Status = types.AnalysisStatus(jtv) } + default: _, _ = key, value @@ -1859,6 +1867,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } sv.AnalysisReportId = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -1874,6 +1883,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -1889,6 +1899,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1904,6 +1915,7 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1912,10 +1924,12 @@ func awsAwsjson11_deserializeDocumentAnalysisReportSummary(v **types.AnalysisRep } sv.Status = types.AnalysisStatus(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1985,6 +1999,7 @@ func awsAwsjson11_deserializeDocumentData(v **types.Data, value interface{}) err if err := awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(&sv.PerformanceInsightsMetric, value); err != nil { return err } + default: _, _ = key, value @@ -2065,6 +2080,7 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } + case "Value": if value != nil { switch jtv := value.(type) { @@ -2098,6 +2114,7 @@ func awsAwsjson11_deserializeDocumentDataPoint(v **types.DataPoint, value interf } } + default: _, _ = key, value @@ -2207,6 +2224,7 @@ func awsAwsjson11_deserializeDocumentDimensionDetail(v **types.DimensionDetail, } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -2276,6 +2294,7 @@ func awsAwsjson11_deserializeDocumentDimensionGroupDetail(v **types.DimensionGro if err := awsAwsjson11_deserializeDocumentDimensionDetailList(&sv.Dimensions, value); err != nil { return err } + case "Group": if value != nil { jtv, ok := value.(string) @@ -2284,6 +2303,7 @@ func awsAwsjson11_deserializeDocumentDimensionGroupDetail(v **types.DimensionGro } sv.Group = ptr.String(jtv) } + default: _, _ = key, value @@ -2353,14 +2373,17 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDescription(v **types.Dimension if err := awsAwsjson11_deserializeDocumentAdditionalMetricsMap(&sv.AdditionalMetrics, value); err != nil { return err } + case "Dimensions": if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } + case "Partitions": if err := awsAwsjson11_deserializeDocumentMetricValuesList(&sv.Partitions, value); err != nil { return err } + case "Total": if value != nil { switch jtv := value.(type) { @@ -2394,6 +2417,7 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDescription(v **types.Dimension } } + default: _, _ = key, value @@ -2467,6 +2491,7 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Dimension = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2475,6 +2500,7 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Status = types.DetailStatus(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2483,6 +2509,7 @@ func awsAwsjson11_deserializeDocumentDimensionKeyDetail(v **types.DimensionKeyDe } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2592,6 +2619,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -2662,6 +2690,7 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsAwsjson11_deserializeDocumentDataList(&sv.BaselineData, value); err != nil { return err } + case "Context": if value != nil { jtv, ok := value.(string) @@ -2670,6 +2699,7 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Context = types.ContextType(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2678,6 +2708,7 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Description = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2693,10 +2724,12 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "InsightData": if err := awsAwsjson11_deserializeDocumentDataList(&sv.InsightData, value); err != nil { return err } + case "InsightId": if value != nil { jtv, ok := value.(string) @@ -2705,6 +2738,7 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightId = ptr.String(jtv) } + case "InsightType": if value != nil { jtv, ok := value.(string) @@ -2713,10 +2747,12 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightType = ptr.String(jtv) } + case "Recommendations": if err := awsAwsjson11_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -2725,6 +2761,7 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Severity = types.Severity(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2740,10 +2777,12 @@ func awsAwsjson11_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "SupportingInsights": if err := awsAwsjson11_deserializeDocumentInsightList(&sv.SupportingInsights, value); err != nil { return err } + default: _, _ = key, value @@ -2817,6 +2856,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2856,6 +2896,7 @@ func awsAwsjson11_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2891,6 +2932,7 @@ func awsAwsjson11_deserializeDocumentMetricDimensionGroups(v **types.MetricDimen if err := awsAwsjson11_deserializeDocumentDimensionGroupDetailList(&sv.Groups, value); err != nil { return err } + case "Metric": if value != nil { jtv, ok := value.(string) @@ -2899,6 +2941,7 @@ func awsAwsjson11_deserializeDocumentMetricDimensionGroups(v **types.MetricDimen } sv.Metric = ptr.String(jtv) } + default: _, _ = key, value @@ -2968,10 +3011,12 @@ func awsAwsjson11_deserializeDocumentMetricKeyDataPoints(v **types.MetricKeyData if err := awsAwsjson11_deserializeDocumentDataPointsList(&sv.DataPoints, value); err != nil { return err } + case "Key": if err := awsAwsjson11_deserializeDocumentResponseResourceMetricKey(&sv.Key, value); err != nil { return err } + default: _, _ = key, value @@ -3106,6 +3151,7 @@ func awsAwsjson11_deserializeDocumentNotAuthorizedException(v **types.NotAuthori } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3141,6 +3187,7 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform if err := awsAwsjson11_deserializeDocumentDescriptiveMap(&sv.Dimensions, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -3149,6 +3196,7 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } sv.DisplayName = ptr.String(jtv) } + case "Metric": if value != nil { jtv, ok := value.(string) @@ -3157,6 +3205,7 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } sv.Metric = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -3190,6 +3239,7 @@ func awsAwsjson11_deserializeDocumentPerformanceInsightsMetric(v **types.Perform } } + default: _, _ = key, value @@ -3229,6 +3279,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationDescription = ptr.String(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -3237,6 +3288,7 @@ func awsAwsjson11_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -3306,6 +3358,7 @@ func awsAwsjson11_deserializeDocumentResponsePartitionKey(v **types.ResponsePart if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -3379,6 +3432,7 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Description = ptr.String(jtv) } + case "Metric": if value != nil { jtv, ok := value.(string) @@ -3387,6 +3441,7 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Metric = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -3395,6 +3450,7 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetric(v **types.ResponseRe } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -3430,6 +3486,7 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetricKey(v **types.Respons if err := awsAwsjson11_deserializeDocumentDimensionMap(&sv.Dimensions, value); err != nil { return err } + case "Metric": if value != nil { jtv, ok := value.(string) @@ -3438,6 +3495,7 @@ func awsAwsjson11_deserializeDocumentResponseResourceMetricKey(v **types.Respons } sv.Metric = ptr.String(jtv) } + default: _, _ = key, value @@ -3511,6 +3569,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3519,6 +3578,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3592,6 +3652,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePerformanceAnalysisReportOutput(v * } sv.AnalysisReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -3669,6 +3730,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } } + case "AlignedStartTime": if value != nil { switch jtv := value.(type) { @@ -3684,10 +3746,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } } + case "Keys": if err := awsAwsjson11_deserializeDocumentDimensionKeyDescriptionList(&sv.Keys, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3696,10 +3760,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDimensionKeysOutput(v **DescribeD } sv.NextToken = ptr.String(jtv) } + case "PartitionKeys": if err := awsAwsjson11_deserializeDocumentResponsePartitionKeyList(&sv.PartitionKeys, value); err != nil { return err } + default: _, _ = key, value @@ -3735,6 +3801,7 @@ func awsAwsjson11_deserializeOpDocumentGetDimensionKeyDetailsOutput(v **GetDimen if err := awsAwsjson11_deserializeDocumentDimensionKeyDetailList(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -3770,6 +3837,7 @@ func awsAwsjson11_deserializeOpDocumentGetPerformanceAnalysisReportOutput(v **Ge if err := awsAwsjson11_deserializeDocumentAnalysisReport(&sv.AnalysisReport, value); err != nil { return err } + default: _, _ = key, value @@ -3805,6 +3873,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetadataOutput(v **GetResource if err := awsAwsjson11_deserializeDocumentFeatureMetadataMap(&sv.Features, value); err != nil { return err } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -3813,6 +3882,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetadataOutput(v **GetResource } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -3859,6 +3929,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } } + case "AlignedStartTime": if value != nil { switch jtv := value.(type) { @@ -3874,6 +3945,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -3882,10 +3954,12 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } sv.Identifier = ptr.String(jtv) } + case "MetricList": if err := awsAwsjson11_deserializeDocumentMetricKeyDataPointsList(&sv.MetricList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3894,6 +3968,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourceMetricsOutput(v **GetResourceM } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3929,6 +4004,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceDimensionsOutput(v * if err := awsAwsjson11_deserializeDocumentMetricDimensionsList(&sv.MetricDimensions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3937,6 +4013,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceDimensionsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3972,6 +4049,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceMetricsOutput(v **Li if err := awsAwsjson11_deserializeDocumentResponseResourceMetricList(&sv.Metrics, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4058,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableResourceMetricsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4015,6 +4094,7 @@ func awsAwsjson11_deserializeOpDocumentListPerformanceAnalysisReportsOutput(v ** if err := awsAwsjson11_deserializeDocumentAnalysisReportSummaryList(&sv.AnalysisReports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4023,6 +4103,7 @@ func awsAwsjson11_deserializeOpDocumentListPerformanceAnalysisReportsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4058,6 +4139,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/pinpoint/deserializers.go b/service/pinpoint/deserializers.go index ba577b48a9d..93f5a7ba12a 100644 --- a/service/pinpoint/deserializers.go +++ b/service/pinpoint/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -360,6 +361,7 @@ func awsRestjson1_deserializeOpDocumentCreateCampaignOutput(v **CreateCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } + default: _, _ = key, value @@ -523,6 +525,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailTemplateOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -692,6 +695,7 @@ func awsRestjson1_deserializeOpDocumentCreateExportJobOutput(v **CreateExportJob if err := awsRestjson1_deserializeDocumentExportJobResponse(&sv.ExportJobResponse, value); err != nil { return err } + default: _, _ = key, value @@ -861,6 +865,7 @@ func awsRestjson1_deserializeOpDocumentCreateImportJobOutput(v **CreateImportJob if err := awsRestjson1_deserializeDocumentImportJobResponse(&sv.ImportJobResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1024,6 +1029,7 @@ func awsRestjson1_deserializeOpDocumentCreateInAppTemplateOutput(v **CreateInApp if err := awsRestjson1_deserializeDocumentTemplateCreateMessageBody(&sv.TemplateCreateMessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -1193,6 +1199,7 @@ func awsRestjson1_deserializeOpDocumentCreateJourneyOutput(v **CreateJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1356,6 +1363,7 @@ func awsRestjson1_deserializeOpDocumentCreatePushTemplateOutput(v **CreatePushTe if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -1525,6 +1533,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1694,6 +1703,7 @@ func awsRestjson1_deserializeOpDocumentCreateSegmentOutput(v **CreateSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1857,6 +1867,7 @@ func awsRestjson1_deserializeOpDocumentCreateSmsTemplateOutput(v **CreateSmsTemp if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -2020,6 +2031,7 @@ func awsRestjson1_deserializeOpDocumentCreateVoiceTemplateOutput(v **CreateVoice if err := awsRestjson1_deserializeDocumentCreateTemplateMessageBody(&sv.CreateTemplateMessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -2189,6 +2201,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAdmChannelOutput(v **DeleteAdmChann if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2358,6 +2371,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsChannelOutput(v **DeleteApnsCha if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2527,6 +2541,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsSandboxChannelOutput(v **Delete if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2696,6 +2711,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsVoipChannelOutput(v **DeleteApn if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2865,6 +2881,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApnsVoipSandboxChannelOutput(v **De if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -3034,6 +3051,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -3203,6 +3221,7 @@ func awsRestjson1_deserializeOpDocumentDeleteBaiduChannelOutput(v **DeleteBaiduC if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -3372,6 +3391,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCampaignOutput(v **DeleteCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } + default: _, _ = key, value @@ -3541,6 +3561,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEmailChannelOutput(v **DeleteEmailC if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -3710,6 +3731,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEmailTemplateOutput(v **DeleteEmail if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -3879,6 +3901,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEndpointOutput(v **DeleteEndpointOu if err := awsRestjson1_deserializeDocumentEndpointResponse(&sv.EndpointResponse, value); err != nil { return err } + default: _, _ = key, value @@ -4048,6 +4071,7 @@ func awsRestjson1_deserializeOpDocumentDeleteEventStreamOutput(v **DeleteEventSt if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } + default: _, _ = key, value @@ -4217,6 +4241,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGcmChannelOutput(v **DeleteGcmChann if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -4386,6 +4411,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInAppTemplateOutput(v **DeleteInApp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -4555,6 +4581,7 @@ func awsRestjson1_deserializeOpDocumentDeleteJourneyOutput(v **DeleteJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -4724,6 +4751,7 @@ func awsRestjson1_deserializeOpDocumentDeletePushTemplateOutput(v **DeletePushTe if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -4893,6 +4921,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -5062,6 +5091,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSegmentOutput(v **DeleteSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -5231,6 +5261,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSmsChannelOutput(v **DeleteSmsChann if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -5400,6 +5431,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSmsTemplateOutput(v **DeleteSmsTemp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -5569,6 +5601,7 @@ func awsRestjson1_deserializeOpDocumentDeleteUserEndpointsOutput(v **DeleteUserE if err := awsRestjson1_deserializeDocumentEndpointsResponse(&sv.EndpointsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -5738,6 +5771,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVoiceChannelOutput(v **DeleteVoiceC if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -5907,6 +5941,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVoiceTemplateOutput(v **DeleteVoice if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -6076,6 +6111,7 @@ func awsRestjson1_deserializeOpDocumentGetAdmChannelOutput(v **GetAdmChannelOutp if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6245,6 +6281,7 @@ func awsRestjson1_deserializeOpDocumentGetApnsChannelOutput(v **GetApnsChannelOu if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6414,6 +6451,7 @@ func awsRestjson1_deserializeOpDocumentGetApnsSandboxChannelOutput(v **GetApnsSa if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6583,6 +6621,7 @@ func awsRestjson1_deserializeOpDocumentGetApnsVoipChannelOutput(v **GetApnsVoipC if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6752,6 +6791,7 @@ func awsRestjson1_deserializeOpDocumentGetApnsVoipSandboxChannelOutput(v **GetAp if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6921,6 +6961,7 @@ func awsRestjson1_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsRestjson1_deserializeDocumentApplicationResponse(&sv.ApplicationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -7090,6 +7131,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationDateRangeKpiOutput(v **GetA if err := awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(&sv.ApplicationDateRangeKpiResponse, value); err != nil { return err } + default: _, _ = key, value @@ -7259,6 +7301,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationSettingsOutput(v **GetAppli if err := awsRestjson1_deserializeDocumentApplicationSettingsResource(&sv.ApplicationSettingsResource, value); err != nil { return err } + default: _, _ = key, value @@ -7428,6 +7471,7 @@ func awsRestjson1_deserializeOpDocumentGetAppsOutput(v **GetAppsOutput, value in if err := awsRestjson1_deserializeDocumentApplicationsResponse(&sv.ApplicationsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -7597,6 +7641,7 @@ func awsRestjson1_deserializeOpDocumentGetBaiduChannelOutput(v **GetBaiduChannel if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -7766,6 +7811,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignOutput(v **GetCampaignOutput, if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } + default: _, _ = key, value @@ -7935,6 +7981,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignActivitiesOutput(v **GetCampai if err := awsRestjson1_deserializeDocumentActivitiesResponse(&sv.ActivitiesResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8104,6 +8151,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignDateRangeKpiOutput(v **GetCamp if err := awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(&sv.CampaignDateRangeKpiResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8273,6 +8321,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignsOutput(v **GetCampaignsOutput if err := awsRestjson1_deserializeDocumentCampaignsResponse(&sv.CampaignsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8442,6 +8491,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignVersionOutput(v **GetCampaignV if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8611,6 +8661,7 @@ func awsRestjson1_deserializeOpDocumentGetCampaignVersionsOutput(v **GetCampaign if err := awsRestjson1_deserializeDocumentCampaignsResponse(&sv.CampaignsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8780,6 +8831,7 @@ func awsRestjson1_deserializeOpDocumentGetChannelsOutput(v **GetChannelsOutput, if err := awsRestjson1_deserializeDocumentChannelsResponse(&sv.ChannelsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8949,6 +9001,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailChannelOutput(v **GetEmailChannel if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9118,6 +9171,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla if err := awsRestjson1_deserializeDocumentEmailTemplateResponse(&sv.EmailTemplateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9287,6 +9341,7 @@ func awsRestjson1_deserializeOpDocumentGetEndpointOutput(v **GetEndpointOutput, if err := awsRestjson1_deserializeDocumentEndpointResponse(&sv.EndpointResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9456,6 +9511,7 @@ func awsRestjson1_deserializeOpDocumentGetEventStreamOutput(v **GetEventStreamOu if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } + default: _, _ = key, value @@ -9625,6 +9681,7 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput if err := awsRestjson1_deserializeDocumentExportJobResponse(&sv.ExportJobResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9794,6 +9851,7 @@ func awsRestjson1_deserializeOpDocumentGetExportJobsOutput(v **GetExportJobsOutp if err := awsRestjson1_deserializeDocumentExportJobsResponse(&sv.ExportJobsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9963,6 +10021,7 @@ func awsRestjson1_deserializeOpDocumentGetGcmChannelOutput(v **GetGcmChannelOutp if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10132,6 +10191,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobResponse(&sv.ImportJobResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10301,6 +10361,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobsOutput(v **GetImportJobsOutp if err := awsRestjson1_deserializeDocumentImportJobsResponse(&sv.ImportJobsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10470,6 +10531,7 @@ func awsRestjson1_deserializeOpDocumentGetInAppMessagesOutput(v **GetInAppMessag if err := awsRestjson1_deserializeDocumentInAppMessagesResponse(&sv.InAppMessagesResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10639,6 +10701,7 @@ func awsRestjson1_deserializeOpDocumentGetInAppTemplateOutput(v **GetInAppTempla if err := awsRestjson1_deserializeDocumentInAppTemplateResponse(&sv.InAppTemplateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10808,6 +10871,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyOutput(v **GetJourneyOutput, va if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -10977,6 +11041,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyDateRangeKpiOutput(v **GetJourn if err := awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(&sv.JourneyDateRangeKpiResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11146,6 +11211,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyExecutionActivityMetricsOutput( if err := awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(&sv.JourneyExecutionActivityMetricsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11315,6 +11381,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyExecutionMetricsOutput(v **GetJ if err := awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(&sv.JourneyExecutionMetricsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11484,6 +11551,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunExecutionActivityMetricsOutp if err := awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse(&sv.JourneyRunExecutionActivityMetricsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11653,6 +11721,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunExecutionMetricsOutput(v **G if err := awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(&sv.JourneyRunExecutionMetricsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11822,6 +11891,7 @@ func awsRestjson1_deserializeOpDocumentGetJourneyRunsOutput(v **GetJourneyRunsOu if err := awsRestjson1_deserializeDocumentJourneyRunsResponse(&sv.JourneyRunsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -11991,6 +12061,7 @@ func awsRestjson1_deserializeOpDocumentGetPushTemplateOutput(v **GetPushTemplate if err := awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(&sv.PushNotificationTemplateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -12160,6 +12231,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommenderConfigurationOutput(v **Get if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -12329,6 +12401,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommenderConfigurationsOutput(v **Ge if err := awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(&sv.ListRecommenderConfigurationsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -12498,6 +12571,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentOutput(v **GetSegmentOutput, va if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -12667,6 +12741,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentExportJobsOutput(v **GetSegment if err := awsRestjson1_deserializeDocumentExportJobsResponse(&sv.ExportJobsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -12836,6 +12911,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentImportJobsOutput(v **GetSegment if err := awsRestjson1_deserializeDocumentImportJobsResponse(&sv.ImportJobsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13005,6 +13081,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentsOutput(v **GetSegmentsOutput, if err := awsRestjson1_deserializeDocumentSegmentsResponse(&sv.SegmentsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13174,6 +13251,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentVersionOutput(v **GetSegmentVer if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13343,6 +13421,7 @@ func awsRestjson1_deserializeOpDocumentGetSegmentVersionsOutput(v **GetSegmentVe if err := awsRestjson1_deserializeDocumentSegmentsResponse(&sv.SegmentsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13512,6 +13591,7 @@ func awsRestjson1_deserializeOpDocumentGetSmsChannelOutput(v **GetSmsChannelOutp if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13681,6 +13761,7 @@ func awsRestjson1_deserializeOpDocumentGetSmsTemplateOutput(v **GetSmsTemplateOu if err := awsRestjson1_deserializeDocumentSMSTemplateResponse(&sv.SMSTemplateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -13850,6 +13931,7 @@ func awsRestjson1_deserializeOpDocumentGetUserEndpointsOutput(v **GetUserEndpoin if err := awsRestjson1_deserializeDocumentEndpointsResponse(&sv.EndpointsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14019,6 +14101,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceChannelOutput(v **GetVoiceChannel if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14188,6 +14271,7 @@ func awsRestjson1_deserializeOpDocumentGetVoiceTemplateOutput(v **GetVoiceTempla if err := awsRestjson1_deserializeDocumentVoiceTemplateResponse(&sv.VoiceTemplateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14357,6 +14441,7 @@ func awsRestjson1_deserializeOpDocumentListJourneysOutput(v **ListJourneysOutput if err := awsRestjson1_deserializeDocumentJourneysResponse(&sv.JourneysResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14505,6 +14590,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsModel(&sv.TagsModel, value); err != nil { return err } + default: _, _ = key, value @@ -14668,6 +14754,7 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp if err := awsRestjson1_deserializeDocumentTemplatesResponse(&sv.TemplatesResponse, value); err != nil { return err } + default: _, _ = key, value @@ -14837,6 +14924,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla if err := awsRestjson1_deserializeDocumentTemplateVersionsResponse(&sv.TemplateVersionsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -15006,6 +15094,7 @@ func awsRestjson1_deserializeOpDocumentPhoneNumberValidateOutput(v **PhoneNumber if err := awsRestjson1_deserializeDocumentNumberValidateResponse(&sv.NumberValidateResponse, value); err != nil { return err } + default: _, _ = key, value @@ -15175,6 +15264,7 @@ func awsRestjson1_deserializeOpDocumentPutEventsOutput(v **PutEventsOutput, valu if err := awsRestjson1_deserializeDocumentEventsResponse(&sv.EventsResponse, value); err != nil { return err } + default: _, _ = key, value @@ -15344,6 +15434,7 @@ func awsRestjson1_deserializeOpDocumentPutEventStreamOutput(v **PutEventStreamOu if err := awsRestjson1_deserializeDocumentEventStream(&sv.EventStream, value); err != nil { return err } + default: _, _ = key, value @@ -15513,6 +15604,7 @@ func awsRestjson1_deserializeOpDocumentRemoveAttributesOutput(v **RemoveAttribut if err := awsRestjson1_deserializeDocumentAttributesResource(&sv.AttributesResource, value); err != nil { return err } + default: _, _ = key, value @@ -15682,6 +15774,7 @@ func awsRestjson1_deserializeOpDocumentSendMessagesOutput(v **SendMessagesOutput if err := awsRestjson1_deserializeDocumentMessageResponse(&sv.MessageResponse, value); err != nil { return err } + default: _, _ = key, value @@ -15851,6 +15944,7 @@ func awsRestjson1_deserializeOpDocumentSendOTPMessageOutput(v **SendOTPMessageOu if err := awsRestjson1_deserializeDocumentMessageResponse(&sv.MessageResponse, value); err != nil { return err } + default: _, _ = key, value @@ -16020,6 +16114,7 @@ func awsRestjson1_deserializeOpDocumentSendUsersMessagesOutput(v **SendUsersMess if err := awsRestjson1_deserializeDocumentSendUsersMessageResponse(&sv.SendUsersMessageResponse, value); err != nil { return err } + default: _, _ = key, value @@ -16371,6 +16466,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAdmChannelOutput(v **UpdateAdmChann if err := awsRestjson1_deserializeDocumentADMChannelResponse(&sv.ADMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -16540,6 +16636,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsChannelOutput(v **UpdateApnsCha if err := awsRestjson1_deserializeDocumentAPNSChannelResponse(&sv.APNSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -16709,6 +16806,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsSandboxChannelOutput(v **Update if err := awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(&sv.APNSSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -16878,6 +16976,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsVoipChannelOutput(v **UpdateApn if err := awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(&sv.APNSVoipChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -17047,6 +17146,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApnsVoipSandboxChannelOutput(v **Up if err := awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(&sv.APNSVoipSandboxChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -17216,6 +17316,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationSettingsOutput(v **Updat if err := awsRestjson1_deserializeDocumentApplicationSettingsResource(&sv.ApplicationSettingsResource, value); err != nil { return err } + default: _, _ = key, value @@ -17385,6 +17486,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBaiduChannelOutput(v **UpdateBaiduC if err := awsRestjson1_deserializeDocumentBaiduChannelResponse(&sv.BaiduChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -17554,6 +17656,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCampaignOutput(v **UpdateCampaignOu if err := awsRestjson1_deserializeDocumentCampaignResponse(&sv.CampaignResponse, value); err != nil { return err } + default: _, _ = key, value @@ -17723,6 +17826,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEmailChannelOutput(v **UpdateEmailC if err := awsRestjson1_deserializeDocumentEmailChannelResponse(&sv.EmailChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -17892,6 +17996,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEmailTemplateOutput(v **UpdateEmail if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -18061,6 +18166,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -18230,6 +18336,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEndpointsBatchOutput(v **UpdateEndp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -18399,6 +18506,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGcmChannelOutput(v **UpdateGcmChann if err := awsRestjson1_deserializeDocumentGCMChannelResponse(&sv.GCMChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -18568,6 +18676,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInAppTemplateOutput(v **UpdateInApp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -18740,6 +18849,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJourneyOutput(v **UpdateJourneyOutp if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -18909,6 +19019,7 @@ func awsRestjson1_deserializeOpDocumentUpdateJourneyStateOutput(v **UpdateJourne if err := awsRestjson1_deserializeDocumentJourneyResponse(&sv.JourneyResponse, value); err != nil { return err } + default: _, _ = key, value @@ -19078,6 +19189,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePushTemplateOutput(v **UpdatePushTe if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -19247,6 +19359,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecommenderConfigurationOutput(v ** if err := awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(&sv.RecommenderConfigurationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -19416,6 +19529,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSegmentOutput(v **UpdateSegmentOutp if err := awsRestjson1_deserializeDocumentSegmentResponse(&sv.SegmentResponse, value); err != nil { return err } + default: _, _ = key, value @@ -19585,6 +19699,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSmsChannelOutput(v **UpdateSmsChann if err := awsRestjson1_deserializeDocumentSMSChannelResponse(&sv.SMSChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -19754,6 +19869,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSmsTemplateOutput(v **UpdateSmsTemp if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -19923,6 +20039,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateActiveVersionOutput(v **Upd if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -20092,6 +20209,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceChannelOutput(v **UpdateVoiceC if err := awsRestjson1_deserializeDocumentVoiceChannelResponse(&sv.VoiceChannelResponse, value); err != nil { return err } + default: _, _ = key, value @@ -20261,6 +20379,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVoiceTemplateOutput(v **UpdateVoice if err := awsRestjson1_deserializeDocumentMessageBody(&sv.MessageBody, value); err != nil { return err } + default: _, _ = key, value @@ -20430,6 +20549,7 @@ func awsRestjson1_deserializeOpDocumentVerifyOTPMessageOutput(v **VerifyOTPMessa if err := awsRestjson1_deserializeDocumentVerificationResponse(&sv.VerificationResponse, value); err != nil { return err } + default: _, _ = key, value @@ -20753,6 +20873,7 @@ func awsRestjson1_deserializeDocumentActivitiesResponse(v **types.ActivitiesResp if err := awsRestjson1_deserializeDocumentListOfActivityResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20761,6 +20882,7 @@ func awsRestjson1_deserializeDocumentActivitiesResponse(v **types.ActivitiesResp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20796,14 +20918,17 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac if err := awsRestjson1_deserializeDocumentConditionalSplitActivity(&sv.ConditionalSplit, value); err != nil { return err } + case "ContactCenter": if err := awsRestjson1_deserializeDocumentContactCenterActivity(&sv.ContactCenter, value); err != nil { return err } + case "CUSTOM": if err := awsRestjson1_deserializeDocumentCustomMessageActivity(&sv.CUSTOM, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -20812,34 +20937,42 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.Description = ptr.String(jtv) } + case "EMAIL": if err := awsRestjson1_deserializeDocumentEmailMessageActivity(&sv.EMAIL, value); err != nil { return err } + case "Holdout": if err := awsRestjson1_deserializeDocumentHoldoutActivity(&sv.Holdout, value); err != nil { return err } + case "MultiCondition": if err := awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(&sv.MultiCondition, value); err != nil { return err } + case "PUSH": if err := awsRestjson1_deserializeDocumentPushMessageActivity(&sv.PUSH, value); err != nil { return err } + case "RandomSplit": if err := awsRestjson1_deserializeDocumentRandomSplitActivity(&sv.RandomSplit, value); err != nil { return err } + case "SMS": if err := awsRestjson1_deserializeDocumentSMSMessageActivity(&sv.SMS, value); err != nil { return err } + case "Wait": if err := awsRestjson1_deserializeDocumentWaitActivity(&sv.Wait, value); err != nil { return err } + default: _, _ = key, value @@ -20879,6 +21012,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.ApplicationId = ptr.String(jtv) } + case "CampaignId": if value != nil { jtv, ok := value.(string) @@ -20887,6 +21021,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.CampaignId = ptr.String(jtv) } + case "End": if value != nil { jtv, ok := value.(string) @@ -20895,10 +21030,12 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.End = ptr.String(jtv) } + case "ExecutionMetrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.ExecutionMetrics, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -20907,6 +21044,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Id = ptr.String(jtv) } + case "Result": if value != nil { jtv, ok := value.(string) @@ -20915,6 +21053,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Result = ptr.String(jtv) } + case "ScheduledStart": if value != nil { jtv, ok := value.(string) @@ -20923,6 +21062,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.ScheduledStart = ptr.String(jtv) } + case "Start": if value != nil { jtv, ok := value.(string) @@ -20931,6 +21071,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.Start = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -20939,6 +21080,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.State = ptr.String(jtv) } + case "SuccessfulEndpointCount": if value != nil { jtv, ok := value.(json.Number) @@ -20951,6 +21093,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.SuccessfulEndpointCount = ptr.Int32(int32(i64)) } + case "TimezonesCompletedCount": if value != nil { jtv, ok := value.(json.Number) @@ -20963,6 +21106,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TimezonesCompletedCount = ptr.Int32(int32(i64)) } + case "TimezonesTotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -20975,6 +21119,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TimezonesTotalCount = ptr.Int32(int32(i64)) } + case "TotalEndpointCount": if value != nil { jtv, ok := value.(json.Number) @@ -20987,6 +21132,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TotalEndpointCount = ptr.Int32(int32(i64)) } + case "TreatmentId": if value != nil { jtv, ok := value.(string) @@ -20995,6 +21141,7 @@ func awsRestjson1_deserializeDocumentActivityResponse(v **types.ActivityResponse } sv.TreatmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -21034,6 +21181,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21042,6 +21190,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.CreationDate = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21050,6 +21199,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21058,6 +21208,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21066,6 +21217,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21074,6 +21226,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21082,6 +21235,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21090,6 +21244,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -21098,6 +21253,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21110,6 +21266,7 @@ func awsRestjson1_deserializeDocumentADMChannelResponse(v **types.ADMChannelResp } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21149,6 +21306,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Action = types.Action(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -21157,6 +21315,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Body = ptr.String(jtv) } + case "ImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -21165,6 +21324,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.ImageIconUrl = ptr.String(jtv) } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -21173,6 +21333,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.ImageUrl = ptr.String(jtv) } + case "RawContent": if value != nil { jtv, ok := value.(string) @@ -21181,6 +21342,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.RawContent = ptr.String(jtv) } + case "SmallImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -21189,6 +21351,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.SmallImageIconUrl = ptr.String(jtv) } + case "Sound": if value != nil { jtv, ok := value.(string) @@ -21197,6 +21360,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Sound = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -21205,6 +21369,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Title = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -21213,6 +21378,7 @@ func awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(v **types.A } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -21252,6 +21418,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21260,6 +21427,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.CreationDate = ptr.String(jtv) } + case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21268,6 +21436,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.DefaultAuthenticationMethod = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21276,6 +21445,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21284,6 +21454,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.HasCredential = ptr.Bool(jtv) } + case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21292,6 +21463,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.HasTokenKey = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21300,6 +21472,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21308,6 +21481,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21316,6 +21490,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21324,6 +21499,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -21332,6 +21508,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21344,6 +21521,7 @@ func awsRestjson1_deserializeDocumentAPNSChannelResponse(v **types.APNSChannelRe } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21383,6 +21561,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Action = types.Action(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -21391,6 +21570,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Body = ptr.String(jtv) } + case "MediaUrl": if value != nil { jtv, ok := value.(string) @@ -21399,6 +21579,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.MediaUrl = ptr.String(jtv) } + case "RawContent": if value != nil { jtv, ok := value.(string) @@ -21407,6 +21588,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.RawContent = ptr.String(jtv) } + case "Sound": if value != nil { jtv, ok := value.(string) @@ -21415,6 +21597,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Sound = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -21423,6 +21606,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Title = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -21431,6 +21615,7 @@ func awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(v **types.APNS } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -21470,6 +21655,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21478,6 +21664,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.CreationDate = ptr.String(jtv) } + case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21486,6 +21673,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.DefaultAuthenticationMethod = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21494,6 +21682,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21502,6 +21691,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.HasCredential = ptr.Bool(jtv) } + case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21510,6 +21700,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.HasTokenKey = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21518,6 +21709,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21526,6 +21718,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21534,6 +21727,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21542,6 +21736,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -21550,6 +21745,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21562,6 +21758,7 @@ func awsRestjson1_deserializeDocumentAPNSSandboxChannelResponse(v **types.APNSSa } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21601,6 +21798,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21609,6 +21807,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.CreationDate = ptr.String(jtv) } + case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21617,6 +21816,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.DefaultAuthenticationMethod = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21625,6 +21825,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21633,6 +21834,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.HasCredential = ptr.Bool(jtv) } + case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21641,6 +21843,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.HasTokenKey = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21649,6 +21852,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21657,6 +21861,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21665,6 +21870,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21673,6 +21879,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -21681,6 +21888,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21693,6 +21901,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipChannelResponse(v **types.APNSVoipC } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21732,6 +21941,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21740,6 +21950,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.CreationDate = ptr.String(jtv) } + case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -21748,6 +21959,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.DefaultAuthenticationMethod = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -21756,6 +21968,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -21764,6 +21977,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.HasCredential = ptr.Bool(jtv) } + case "HasTokenKey": if value != nil { jtv, ok := value.(bool) @@ -21772,6 +21986,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.HasTokenKey = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21780,6 +21995,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -21788,6 +22004,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -21796,6 +22013,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -21804,6 +22022,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -21812,6 +22031,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -21824,6 +22044,7 @@ func awsRestjson1_deserializeDocumentAPNSVoipSandboxChannelResponse(v **types.AP } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21863,6 +22084,7 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.ApplicationId = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -21875,6 +22097,7 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.EndTime = ptr.Time(t) } + case "KpiName": if value != nil { jtv, ok := value.(string) @@ -21883,10 +22106,12 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.KpiName = ptr.String(jtv) } + case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21895,6 +22120,7 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.NextToken = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -21907,6 +22133,7 @@ func awsRestjson1_deserializeDocumentApplicationDateRangeKpiResponse(v **types.A } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -21946,6 +22173,7 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -21954,6 +22182,7 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.CreationDate = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21962,6 +22191,7 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -21970,10 +22200,12 @@ func awsRestjson1_deserializeDocumentApplicationResponse(v **types.ApplicationRe } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -22017,10 +22249,12 @@ func awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(v **types. } sv.DailyCap = ptr.Int32(int32(i64)) } + case "TimeframeCap": if err := awsRestjson1_deserializeDocumentJourneyTimeframeCap(&sv.TimeframeCap, value); err != nil { return err } + case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -22033,6 +22267,7 @@ func awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(v **types. } sv.TotalCap = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22072,14 +22307,17 @@ func awsRestjson1_deserializeDocumentApplicationSettingsResource(v **types.Appli } sv.ApplicationId = ptr.String(jtv) } + case "CampaignHook": if err := awsRestjson1_deserializeDocumentCampaignHook(&sv.CampaignHook, value); err != nil { return err } + case "JourneyLimits": if err := awsRestjson1_deserializeDocumentApplicationSettingsJourneyLimits(&sv.JourneyLimits, value); err != nil { return err } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22088,14 +22326,17 @@ func awsRestjson1_deserializeDocumentApplicationSettingsResource(v **types.Appli } sv.LastModifiedDate = ptr.String(jtv) } + case "Limits": if err := awsRestjson1_deserializeDocumentCampaignLimits(&sv.Limits, value); err != nil { return err } + case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } + default: _, _ = key, value @@ -22131,6 +22372,7 @@ func awsRestjson1_deserializeDocumentApplicationsResponse(v **types.Applications if err := awsRestjson1_deserializeDocumentListOfApplicationResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22139,6 +22381,7 @@ func awsRestjson1_deserializeDocumentApplicationsResponse(v **types.Applications } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -22178,10 +22421,12 @@ func awsRestjson1_deserializeDocumentAttributeDimension(v **types.AttributeDimen } sv.AttributeType = types.AttributeType(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -22221,10 +22466,12 @@ func awsRestjson1_deserializeDocumentAttributesResource(v **types.AttributesReso } sv.ApplicationId = ptr.String(jtv) } + case "Attributes": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Attributes, value); err != nil { return err } + case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -22233,6 +22480,7 @@ func awsRestjson1_deserializeDocumentAttributesResource(v **types.AttributesReso } sv.AttributeType = ptr.String(jtv) } + default: _, _ = key, value @@ -22272,6 +22520,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -22280,6 +22529,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -22319,6 +22569,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -22327,6 +22578,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.CreationDate = ptr.String(jtv) } + case "Credential": if value != nil { jtv, ok := value.(string) @@ -22335,6 +22587,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Credential = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -22343,6 +22596,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -22351,6 +22605,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -22359,6 +22614,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -22367,6 +22623,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -22375,6 +22632,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22383,6 +22641,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -22391,6 +22650,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -22403,6 +22663,7 @@ func awsRestjson1_deserializeDocumentBaiduChannelResponse(v **types.BaiduChannel } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22438,6 +22699,7 @@ func awsRestjson1_deserializeDocumentBaseKpiResult(v **types.BaseKpiResult, valu if err := awsRestjson1_deserializeDocumentListOfResultRow(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -22477,6 +22739,7 @@ func awsRestjson1_deserializeDocumentCampaignCustomMessage(v **types.CampaignCus } sv.Data = ptr.String(jtv) } + default: _, _ = key, value @@ -22516,6 +22779,7 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.ApplicationId = ptr.String(jtv) } + case "CampaignId": if value != nil { jtv, ok := value.(string) @@ -22524,6 +22788,7 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.CampaignId = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -22536,6 +22801,7 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.EndTime = ptr.Time(t) } + case "KpiName": if value != nil { jtv, ok := value.(string) @@ -22544,10 +22810,12 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.KpiName = ptr.String(jtv) } + case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22556,6 +22824,7 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.NextToken = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -22568,6 +22837,7 @@ func awsRestjson1_deserializeDocumentCampaignDateRangeKpiResponse(v **types.Camp } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -22607,6 +22877,7 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.Body = ptr.String(jtv) } + case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -22615,10 +22886,12 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.FromAddress = ptr.String(jtv) } + case "Headers": if err := awsRestjson1_deserializeDocumentListOfMessageHeader(&sv.Headers, value); err != nil { return err } + case "HtmlBody": if value != nil { jtv, ok := value.(string) @@ -22627,6 +22900,7 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.HtmlBody = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -22635,6 +22909,7 @@ func awsRestjson1_deserializeDocumentCampaignEmailMessage(v **types.CampaignEmai } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -22670,6 +22945,7 @@ func awsRestjson1_deserializeDocumentCampaignEventFilter(v **types.CampaignEvent if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } + case "FilterType": if value != nil { jtv, ok := value.(string) @@ -22678,6 +22954,7 @@ func awsRestjson1_deserializeDocumentCampaignEventFilter(v **types.CampaignEvent } sv.FilterType = types.FilterType(jtv) } + default: _, _ = key, value @@ -22717,6 +22994,7 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.LambdaFunctionName = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -22725,6 +23003,7 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.Mode = types.Mode(jtv) } + case "WebUrl": if value != nil { jtv, ok := value.(string) @@ -22733,6 +23012,7 @@ func awsRestjson1_deserializeDocumentCampaignHook(v **types.CampaignHook, value } sv.WebUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -22772,14 +23052,17 @@ func awsRestjson1_deserializeDocumentCampaignInAppMessage(v **types.CampaignInAp } sv.Body = ptr.String(jtv) } + case "Content": if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } + case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } + case "Layout": if value != nil { jtv, ok := value.(string) @@ -22788,6 +23071,7 @@ func awsRestjson1_deserializeDocumentCampaignInAppMessage(v **types.CampaignInAp } sv.Layout = types.Layout(jtv) } + default: _, _ = key, value @@ -22831,6 +23115,7 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Daily = ptr.Int32(int32(i64)) } + case "MaximumDuration": if value != nil { jtv, ok := value.(json.Number) @@ -22843,6 +23128,7 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.MaximumDuration = ptr.Int32(int32(i64)) } + case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -22855,6 +23141,7 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } + case "Session": if value != nil { jtv, ok := value.(json.Number) @@ -22867,6 +23154,7 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Session = ptr.Int32(int32(i64)) } + case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -22879,6 +23167,7 @@ func awsRestjson1_deserializeDocumentCampaignLimits(v **types.CampaignLimits, va } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22914,6 +23203,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse if err := awsRestjson1_deserializeDocumentListOfTreatmentResource(&sv.AdditionalTreatments, value); err != nil { return err } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -22922,6 +23212,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -22930,6 +23221,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -22938,14 +23230,17 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.CreationDate = ptr.String(jtv) } + case "CustomDeliveryConfiguration": if err := awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(&sv.CustomDeliveryConfiguration, value); err != nil { return err } + case "DefaultState": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.DefaultState, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -22954,6 +23249,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Description = ptr.String(jtv) } + case "HoldoutPercent": if value != nil { jtv, ok := value.(json.Number) @@ -22966,10 +23262,12 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.HoldoutPercent = ptr.Int32(int32(i64)) } + case "Hook": if err := awsRestjson1_deserializeDocumentCampaignHook(&sv.Hook, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -22978,6 +23276,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Id = ptr.String(jtv) } + case "IsPaused": if value != nil { jtv, ok := value.(bool) @@ -22986,6 +23285,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.IsPaused = ptr.Bool(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -22994,14 +23294,17 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.LastModifiedDate = ptr.String(jtv) } + case "Limits": if err := awsRestjson1_deserializeDocumentCampaignLimits(&sv.Limits, value); err != nil { return err } + case "MessageConfiguration": if err := awsRestjson1_deserializeDocumentMessageConfiguration(&sv.MessageConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23010,6 +23313,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -23022,10 +23326,12 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Priority = ptr.Int32(int32(i64)) } + case "Schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -23034,6 +23340,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.SegmentId = ptr.String(jtv) } + case "SegmentVersion": if value != nil { jtv, ok := value.(json.Number) @@ -23046,18 +23353,22 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.SegmentVersion = ptr.Int32(int32(i64)) } + case "State": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.State, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateConfiguration": if err := awsRestjson1_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "TreatmentDescription": if value != nil { jtv, ok := value.(string) @@ -23066,6 +23377,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.TreatmentDescription = ptr.String(jtv) } + case "TreatmentName": if value != nil { jtv, ok := value.(string) @@ -23074,6 +23386,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.TreatmentName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -23086,6 +23399,7 @@ func awsRestjson1_deserializeDocumentCampaignResponse(v **types.CampaignResponse } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23125,6 +23439,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.Body = ptr.String(jtv) } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -23133,6 +23448,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.EntityId = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -23141,6 +23457,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.MessageType = types.MessageType(jtv) } + case "OriginationNumber": if value != nil { jtv, ok := value.(string) @@ -23149,6 +23466,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.OriginationNumber = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -23157,6 +23475,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.SenderId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -23165,6 +23484,7 @@ func awsRestjson1_deserializeDocumentCampaignSmsMessage(v **types.CampaignSmsMes } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -23200,6 +23520,7 @@ func awsRestjson1_deserializeDocumentCampaignsResponse(v **types.CampaignsRespon if err := awsRestjson1_deserializeDocumentListOfCampaignResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23208,6 +23529,7 @@ func awsRestjson1_deserializeDocumentCampaignsResponse(v **types.CampaignsRespon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -23247,6 +23569,7 @@ func awsRestjson1_deserializeDocumentCampaignState(v **types.CampaignState, valu } sv.CampaignStatus = types.CampaignStatus(jtv) } + default: _, _ = key, value @@ -23286,6 +23609,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -23294,6 +23618,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.CreationDate = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23302,6 +23627,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -23310,6 +23636,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -23318,6 +23645,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -23326,6 +23654,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -23334,6 +23663,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -23342,6 +23672,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.LastModifiedDate = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -23354,6 +23685,7 @@ func awsRestjson1_deserializeDocumentChannelResponse(v **types.ChannelResponse, } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23389,6 +23721,7 @@ func awsRestjson1_deserializeDocumentChannelsResponse(v **types.ChannelsResponse if err := awsRestjson1_deserializeDocumentMapOfChannelResponse(&sv.Channels, value); err != nil { return err } + default: _, _ = key, value @@ -23424,22 +23757,27 @@ func awsRestjson1_deserializeDocumentClosedDays(v **types.ClosedDays, value inte if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.CUSTOM, value); err != nil { return err } + case "EMAIL": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.EMAIL, value); err != nil { return err } + case "PUSH": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.PUSH, value); err != nil { return err } + case "SMS": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.SMS, value); err != nil { return err } + case "VOICE": if err := awsRestjson1_deserializeDocumentListOfClosedDaysRules(&sv.VOICE, value); err != nil { return err } + default: _, _ = key, value @@ -23479,6 +23817,7 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.EndDateTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23487,6 +23826,7 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.Name = ptr.String(jtv) } + case "StartDateTime": if value != nil { jtv, ok := value.(string) @@ -23495,6 +23835,7 @@ func awsRestjson1_deserializeDocumentClosedDaysRule(v **types.ClosedDaysRule, va } sv.StartDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -23530,6 +23871,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err := awsRestjson1_deserializeDocumentListOfSimpleCondition(&sv.Conditions, value); err != nil { return err } + case "Operator": if value != nil { jtv, ok := value.(string) @@ -23538,6 +23880,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf } sv.Operator = types.Operator(jtv) } + default: _, _ = key, value @@ -23573,10 +23916,12 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio if err := awsRestjson1_deserializeDocumentCondition(&sv.Condition, value); err != nil { return err } + case "EvaluationWaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.EvaluationWaitTime, value); err != nil { return err } + case "FalseActivity": if value != nil { jtv, ok := value.(string) @@ -23585,6 +23930,7 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio } sv.FalseActivity = ptr.String(jtv) } + case "TrueActivity": if value != nil { jtv, ok := value.(string) @@ -23593,6 +23939,7 @@ func awsRestjson1_deserializeDocumentConditionalSplitActivity(v **types.Conditio } sv.TrueActivity = ptr.String(jtv) } + default: _, _ = key, value @@ -23632,6 +23979,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -23640,6 +23988,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -23679,6 +24028,7 @@ func awsRestjson1_deserializeDocumentContactCenterActivity(v **types.ContactCent } sv.NextActivity = ptr.String(jtv) } + default: _, _ = key, value @@ -23718,6 +24068,7 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -23726,6 +24077,7 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -23734,6 +24086,7 @@ func awsRestjson1_deserializeDocumentCreateTemplateMessageBody(v **types.CreateT } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -23773,10 +24126,12 @@ func awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(v **types.Custo } sv.DeliveryUri = ptr.String(jtv) } + case "EndpointTypes": if err := awsRestjson1_deserializeDocumentListOf__EndpointTypesElement(&sv.EndpointTypes, value); err != nil { return err } + default: _, _ = key, value @@ -23816,14 +24171,17 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.DeliveryUri = ptr.String(jtv) } + case "EndpointTypes": if err := awsRestjson1_deserializeDocumentListOf__EndpointTypesElement(&sv.EndpointTypes, value); err != nil { return err } + case "MessageConfig": if err := awsRestjson1_deserializeDocumentJourneyCustomMessage(&sv.MessageConfig, value); err != nil { return err } + case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -23832,6 +24190,7 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.NextActivity = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -23840,6 +24199,7 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.TemplateName = ptr.String(jtv) } + case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -23848,6 +24208,7 @@ func awsRestjson1_deserializeDocumentCustomMessageActivity(v **types.CustomMessa } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -23887,6 +24248,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.BackgroundColor = ptr.String(jtv) } + case "BorderRadius": if value != nil { jtv, ok := value.(json.Number) @@ -23899,6 +24261,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.BorderRadius = ptr.Int32(int32(i64)) } + case "ButtonAction": if value != nil { jtv, ok := value.(string) @@ -23907,6 +24270,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.ButtonAction = types.ButtonAction(jtv) } + case "Link": if value != nil { jtv, ok := value.(string) @@ -23915,6 +24279,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.Link = ptr.String(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -23923,6 +24288,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.Text = ptr.String(jtv) } + case "TextColor": if value != nil { jtv, ok := value.(string) @@ -23931,6 +24297,7 @@ func awsRestjson1_deserializeDocumentDefaultButtonConfiguration(v **types.Defaul } sv.TextColor = ptr.String(jtv) } + default: _, _ = key, value @@ -23970,6 +24337,7 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Action = types.Action(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -23978,6 +24346,7 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Body = ptr.String(jtv) } + case "Sound": if value != nil { jtv, ok := value.(string) @@ -23986,6 +24355,7 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Sound = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -23994,6 +24364,7 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Title = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -24002,6 +24373,7 @@ func awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(v **types.D } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -24041,6 +24413,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.ApplicationId = ptr.String(jtv) } + case "ConfigurationSet": if value != nil { jtv, ok := value.(string) @@ -24049,6 +24422,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.ConfigurationSet = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -24057,6 +24431,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.CreationDate = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -24065,6 +24440,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Enabled = ptr.Bool(jtv) } + case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -24073,6 +24449,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.FromAddress = ptr.String(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -24081,6 +24458,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -24089,6 +24467,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Id = ptr.String(jtv) } + case "Identity": if value != nil { jtv, ok := value.(string) @@ -24097,6 +24476,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Identity = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -24105,6 +24485,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -24113,6 +24494,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -24121,6 +24503,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.LastModifiedDate = ptr.String(jtv) } + case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -24133,6 +24516,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } + case "OrchestrationSendingRoleArn": if value != nil { jtv, ok := value.(string) @@ -24141,6 +24525,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.OrchestrationSendingRoleArn = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -24149,6 +24534,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Platform = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -24157,6 +24543,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.RoleArn = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -24169,6 +24556,7 @@ func awsRestjson1_deserializeDocumentEmailChannelResponse(v **types.EmailChannel } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24204,6 +24592,7 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage if err := awsRestjson1_deserializeDocumentJourneyEmailMessage(&sv.MessageConfig, value); err != nil { return err } + case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -24212,6 +24601,7 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.NextActivity = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -24220,6 +24610,7 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.TemplateName = ptr.String(jtv) } + case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -24228,6 +24619,7 @@ func awsRestjson1_deserializeDocumentEmailMessageActivity(v **types.EmailMessage } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -24267,6 +24659,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -24275,6 +24668,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.CreationDate = ptr.String(jtv) } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -24283,10 +24677,12 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.DefaultSubstitutions = ptr.String(jtv) } + case "Headers": if err := awsRestjson1_deserializeDocumentListOfMessageHeader(&sv.Headers, value); err != nil { return err } + case "HtmlPart": if value != nil { jtv, ok := value.(string) @@ -24295,6 +24691,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.HtmlPart = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -24303,6 +24700,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.LastModifiedDate = ptr.String(jtv) } + case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -24311,6 +24709,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.RecommenderId = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -24319,10 +24718,12 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Subject = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -24331,6 +24732,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -24339,6 +24741,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -24347,6 +24750,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TemplateType = types.TemplateType(jtv) } + case "TextPart": if value != nil { jtv, ok := value.(string) @@ -24355,6 +24759,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.TextPart = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -24363,6 +24768,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateResponse(v **types.EmailTempla } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -24402,6 +24808,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.AppVersion = ptr.String(jtv) } + case "Locale": if value != nil { jtv, ok := value.(string) @@ -24410,6 +24817,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Locale = ptr.String(jtv) } + case "Make": if value != nil { jtv, ok := value.(string) @@ -24418,6 +24826,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Make = ptr.String(jtv) } + case "Model": if value != nil { jtv, ok := value.(string) @@ -24426,6 +24835,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Model = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -24434,6 +24844,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.ModelVersion = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -24442,6 +24853,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Platform = ptr.String(jtv) } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -24450,6 +24862,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.PlatformVersion = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -24458,6 +24871,7 @@ func awsRestjson1_deserializeDocumentEndpointDemographic(v **types.EndpointDemog } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -24497,6 +24911,7 @@ func awsRestjson1_deserializeDocumentEndpointItemResponse(v **types.EndpointItem } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -24509,6 +24924,7 @@ func awsRestjson1_deserializeDocumentEndpointItemResponse(v **types.EndpointItem } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24548,6 +24964,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.City = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -24556,6 +24973,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.Country = ptr.String(jtv) } + case "Latitude": if value != nil { switch jtv := value.(type) { @@ -24589,6 +25007,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } } + case "Longitude": if value != nil { switch jtv := value.(type) { @@ -24622,6 +25041,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -24630,6 +25050,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.PostalCode = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -24638,6 +25059,7 @@ func awsRestjson1_deserializeDocumentEndpointLocation(v **types.EndpointLocation } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -24677,6 +25099,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.Address = ptr.String(jtv) } + case "DeliveryStatus": if value != nil { jtv, ok := value.(string) @@ -24685,6 +25108,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.DeliveryStatus = types.DeliveryStatus(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -24693,6 +25117,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.MessageId = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -24705,6 +25130,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.StatusCode = ptr.Int32(int32(i64)) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24713,6 +25139,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedToken": if value != nil { jtv, ok := value.(string) @@ -24721,6 +25148,7 @@ func awsRestjson1_deserializeDocumentEndpointMessageResult(v **types.EndpointMes } sv.UpdatedToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24760,6 +25188,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.Address = ptr.String(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -24768,10 +25197,12 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.ApplicationId = ptr.String(jtv) } + case "Attributes": if err := awsRestjson1_deserializeDocumentMapOfListOf__string(&sv.Attributes, value); err != nil { return err } + case "ChannelType": if value != nil { jtv, ok := value.(string) @@ -24780,6 +25211,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.ChannelType = types.ChannelType(jtv) } + case "CohortId": if value != nil { jtv, ok := value.(string) @@ -24788,6 +25220,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.CohortId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -24796,10 +25229,12 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.CreationDate = ptr.String(jtv) } + case "Demographic": if err := awsRestjson1_deserializeDocumentEndpointDemographic(&sv.Demographic, value); err != nil { return err } + case "EffectiveDate": if value != nil { jtv, ok := value.(string) @@ -24808,6 +25243,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.EffectiveDate = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -24816,6 +25252,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.EndpointStatus = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -24824,14 +25261,17 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.Id = ptr.String(jtv) } + case "Location": if err := awsRestjson1_deserializeDocumentEndpointLocation(&sv.Location, value); err != nil { return err } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__double(&sv.Metrics, value); err != nil { return err } + case "OptOut": if value != nil { jtv, ok := value.(string) @@ -24840,6 +25280,7 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.OptOut = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24848,10 +25289,12 @@ func awsRestjson1_deserializeDocumentEndpointResponse(v **types.EndpointResponse } sv.RequestId = ptr.String(jtv) } + case "User": if err := awsRestjson1_deserializeDocumentEndpointUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -24887,6 +25330,7 @@ func awsRestjson1_deserializeDocumentEndpointsResponse(v **types.EndpointsRespon if err := awsRestjson1_deserializeDocumentListOfEndpointResponse(&sv.Item, value); err != nil { return err } + default: _, _ = key, value @@ -24922,6 +25366,7 @@ func awsRestjson1_deserializeDocumentEndpointUser(v **types.EndpointUser, value if err := awsRestjson1_deserializeDocumentMapOfListOf__string(&sv.UserAttributes, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -24930,6 +25375,7 @@ func awsRestjson1_deserializeDocumentEndpointUser(v **types.EndpointUser, value } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -24965,6 +25411,7 @@ func awsRestjson1_deserializeDocumentEventCondition(v **types.EventCondition, va if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } + case "MessageActivity": if value != nil { jtv, ok := value.(string) @@ -24973,6 +25420,7 @@ func awsRestjson1_deserializeDocumentEventCondition(v **types.EventCondition, va } sv.MessageActivity = ptr.String(jtv) } + default: _, _ = key, value @@ -25008,14 +25456,17 @@ func awsRestjson1_deserializeDocumentEventDimensions(v **types.EventDimensions, if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.Attributes, value); err != nil { return err } + case "EventType": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.EventType, value); err != nil { return err } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOfMetricDimension(&sv.Metrics, value); err != nil { return err } + default: _, _ = key, value @@ -25051,6 +25502,7 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in if err := awsRestjson1_deserializeDocumentEventDimensions(&sv.Dimensions, value); err != nil { return err } + case "FilterType": if value != nil { jtv, ok := value.(string) @@ -25059,6 +25511,7 @@ func awsRestjson1_deserializeDocumentEventFilter(v **types.EventFilter, value in } sv.FilterType = types.FilterType(jtv) } + default: _, _ = key, value @@ -25098,6 +25551,7 @@ func awsRestjson1_deserializeDocumentEventItemResponse(v **types.EventItemRespon } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -25110,6 +25564,7 @@ func awsRestjson1_deserializeDocumentEventItemResponse(v **types.EventItemRespon } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25145,6 +25600,7 @@ func awsRestjson1_deserializeDocumentEventsResponse(v **types.EventsResponse, va if err := awsRestjson1_deserializeDocumentMapOfItemResponse(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -25180,6 +25636,7 @@ func awsRestjson1_deserializeDocumentEventStartCondition(v **types.EventStartCon if err := awsRestjson1_deserializeDocumentEventFilter(&sv.EventFilter, value); err != nil { return err } + case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -25188,6 +25645,7 @@ func awsRestjson1_deserializeDocumentEventStartCondition(v **types.EventStartCon } sv.SegmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -25227,6 +25685,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.ApplicationId = ptr.String(jtv) } + case "DestinationStreamArn": if value != nil { jtv, ok := value.(string) @@ -25235,6 +25694,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.DestinationStreamArn = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -25243,6 +25703,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.ExternalId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -25251,6 +25712,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.LastModifiedDate = ptr.String(jtv) } + case "LastUpdatedBy": if value != nil { jtv, ok := value.(string) @@ -25259,6 +25721,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.LastUpdatedBy = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -25267,6 +25730,7 @@ func awsRestjson1_deserializeDocumentEventStream(v **types.EventStream, value in } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25306,6 +25770,7 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.RoleArn = ptr.String(jtv) } + case "S3UrlPrefix": if value != nil { jtv, ok := value.(string) @@ -25314,6 +25779,7 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.S3UrlPrefix = ptr.String(jtv) } + case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -25322,6 +25788,7 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.SegmentId = ptr.String(jtv) } + case "SegmentVersion": if value != nil { jtv, ok := value.(json.Number) @@ -25334,6 +25801,7 @@ func awsRestjson1_deserializeDocumentExportJobResource(v **types.ExportJobResour } sv.SegmentVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25373,6 +25841,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.ApplicationId = ptr.String(jtv) } + case "CompletedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25385,6 +25854,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CompletedPieces = ptr.Int32(int32(i64)) } + case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -25393,6 +25863,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CompletionDate = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -25401,10 +25872,12 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.CreationDate = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentExportJobResource(&sv.Definition, value); err != nil { return err } + case "FailedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25417,10 +25890,12 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.FailedPieces = ptr.Int32(int32(i64)) } + case "Failures": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Failures, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -25429,6 +25904,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.Id = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -25437,6 +25913,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.JobStatus = types.JobStatus(jtv) } + case "TotalFailures": if value != nil { jtv, ok := value.(json.Number) @@ -25449,6 +25926,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalFailures = ptr.Int32(int32(i64)) } + case "TotalPieces": if value != nil { jtv, ok := value.(json.Number) @@ -25461,6 +25939,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalPieces = ptr.Int32(int32(i64)) } + case "TotalProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -25473,6 +25952,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.TotalProcessed = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -25481,6 +25961,7 @@ func awsRestjson1_deserializeDocumentExportJobResponse(v **types.ExportJobRespon } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -25516,6 +25997,7 @@ func awsRestjson1_deserializeDocumentExportJobsResponse(v **types.ExportJobsResp if err := awsRestjson1_deserializeDocumentListOfExportJobResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -25524,6 +26006,7 @@ func awsRestjson1_deserializeDocumentExportJobsResponse(v **types.ExportJobsResp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -25563,6 +26046,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -25571,6 +26055,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -25610,6 +26095,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -25618,6 +26104,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.CreationDate = ptr.String(jtv) } + case "Credential": if value != nil { jtv, ok := value.(string) @@ -25626,6 +26113,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Credential = ptr.String(jtv) } + case "DefaultAuthenticationMethod": if value != nil { jtv, ok := value.(string) @@ -25634,6 +26122,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.DefaultAuthenticationMethod = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -25642,6 +26131,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -25650,6 +26140,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.HasCredential = ptr.Bool(jtv) } + case "HasFcmServiceCredentials": if value != nil { jtv, ok := value.(bool) @@ -25658,6 +26149,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.HasFcmServiceCredentials = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -25666,6 +26158,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -25674,6 +26167,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -25682,6 +26176,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -25690,6 +26185,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -25698,6 +26194,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -25710,6 +26207,7 @@ func awsRestjson1_deserializeDocumentGCMChannelResponse(v **types.GCMChannelResp } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25774,6 +26272,7 @@ func awsRestjson1_deserializeDocumentGPSCoordinates(v **types.GPSCoordinates, va } } + case "Longitude": if value != nil { switch jtv := value.(type) { @@ -25807,6 +26306,7 @@ func awsRestjson1_deserializeDocumentGPSCoordinates(v **types.GPSCoordinates, va } } + default: _, _ = key, value @@ -25842,6 +26342,7 @@ func awsRestjson1_deserializeDocumentGPSPointDimension(v **types.GPSPointDimensi if err := awsRestjson1_deserializeDocumentGPSCoordinates(&sv.Coordinates, value); err != nil { return err } + case "RangeInKilometers": if value != nil { switch jtv := value.(type) { @@ -25875,6 +26376,7 @@ func awsRestjson1_deserializeDocumentGPSPointDimension(v **types.GPSPointDimensi } } + default: _, _ = key, value @@ -25914,6 +26416,7 @@ func awsRestjson1_deserializeDocumentHoldoutActivity(v **types.HoldoutActivity, } sv.NextActivity = ptr.String(jtv) } + case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -25926,6 +26429,7 @@ func awsRestjson1_deserializeDocumentHoldoutActivity(v **types.HoldoutActivity, } sv.Percentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25965,6 +26469,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.DefineSegment = ptr.Bool(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -25973,6 +26478,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.ExternalId = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -25981,6 +26487,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.Format = types.Format(jtv) } + case "RegisterEndpoints": if value != nil { jtv, ok := value.(bool) @@ -25989,6 +26496,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.RegisterEndpoints = ptr.Bool(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -25997,6 +26505,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.RoleArn = ptr.String(jtv) } + case "S3Url": if value != nil { jtv, ok := value.(string) @@ -26005,6 +26514,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.S3Url = ptr.String(jtv) } + case "SegmentId": if value != nil { jtv, ok := value.(string) @@ -26013,6 +26523,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.SegmentId = ptr.String(jtv) } + case "SegmentName": if value != nil { jtv, ok := value.(string) @@ -26021,6 +26532,7 @@ func awsRestjson1_deserializeDocumentImportJobResource(v **types.ImportJobResour } sv.SegmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -26060,6 +26572,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.ApplicationId = ptr.String(jtv) } + case "CompletedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26072,6 +26585,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CompletedPieces = ptr.Int32(int32(i64)) } + case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -26080,6 +26594,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CompletionDate = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -26088,10 +26603,12 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.CreationDate = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentImportJobResource(&sv.Definition, value); err != nil { return err } + case "FailedPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26104,10 +26621,12 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.FailedPieces = ptr.Int32(int32(i64)) } + case "Failures": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Failures, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -26116,6 +26635,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.Id = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -26124,6 +26644,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.JobStatus = types.JobStatus(jtv) } + case "TotalFailures": if value != nil { jtv, ok := value.(json.Number) @@ -26136,6 +26657,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalFailures = ptr.Int32(int32(i64)) } + case "TotalPieces": if value != nil { jtv, ok := value.(json.Number) @@ -26148,6 +26670,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalPieces = ptr.Int32(int32(i64)) } + case "TotalProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -26160,6 +26683,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.TotalProcessed = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -26168,6 +26692,7 @@ func awsRestjson1_deserializeDocumentImportJobResponse(v **types.ImportJobRespon } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -26203,6 +26728,7 @@ func awsRestjson1_deserializeDocumentImportJobsResponse(v **types.ImportJobsResp if err := awsRestjson1_deserializeDocumentListOfImportJobResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26211,6 +26737,7 @@ func awsRestjson1_deserializeDocumentImportJobsResponse(v **types.ImportJobsResp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -26250,14 +26777,17 @@ func awsRestjson1_deserializeDocumentInAppCampaignSchedule(v **types.InAppCampai } sv.EndDate = ptr.String(jtv) } + case "EventFilter": if err := awsRestjson1_deserializeDocumentCampaignEventFilter(&sv.EventFilter, value); err != nil { return err } + case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } + default: _, _ = key, value @@ -26293,10 +26823,12 @@ func awsRestjson1_deserializeDocumentInAppMessage(v **types.InAppMessage, value if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } + case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } + case "Layout": if value != nil { jtv, ok := value.(string) @@ -26305,6 +26837,7 @@ func awsRestjson1_deserializeDocumentInAppMessage(v **types.InAppMessage, value } sv.Layout = types.Layout(jtv) } + default: _, _ = key, value @@ -26344,6 +26877,7 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.Alignment = types.Alignment(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -26352,6 +26886,7 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.Body = ptr.String(jtv) } + case "TextColor": if value != nil { jtv, ok := value.(string) @@ -26360,6 +26895,7 @@ func awsRestjson1_deserializeDocumentInAppMessageBodyConfig(v **types.InAppMessa } sv.TextColor = ptr.String(jtv) } + default: _, _ = key, value @@ -26395,18 +26931,22 @@ func awsRestjson1_deserializeDocumentInAppMessageButton(v **types.InAppMessageBu if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.Android, value); err != nil { return err } + case "DefaultConfig": if err := awsRestjson1_deserializeDocumentDefaultButtonConfiguration(&sv.DefaultConfig, value); err != nil { return err } + case "IOS": if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.IOS, value); err != nil { return err } + case "Web": if err := awsRestjson1_deserializeDocumentOverrideButtonConfiguration(&sv.Web, value); err != nil { return err } + default: _, _ = key, value @@ -26446,6 +26986,7 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.CampaignId = ptr.String(jtv) } + case "DailyCap": if value != nil { jtv, ok := value.(json.Number) @@ -26458,10 +26999,12 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.DailyCap = ptr.Int32(int32(i64)) } + case "InAppMessage": if err := awsRestjson1_deserializeDocumentInAppMessage(&sv.InAppMessage, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -26474,10 +27017,12 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.Priority = ptr.Int32(int32(i64)) } + case "Schedule": if err := awsRestjson1_deserializeDocumentInAppCampaignSchedule(&sv.Schedule, value); err != nil { return err } + case "SessionCap": if value != nil { jtv, ok := value.(json.Number) @@ -26490,6 +27035,7 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.SessionCap = ptr.Int32(int32(i64)) } + case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -26502,6 +27048,7 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.TotalCap = ptr.Int32(int32(i64)) } + case "TreatmentId": if value != nil { jtv, ok := value.(string) @@ -26510,6 +27057,7 @@ func awsRestjson1_deserializeDocumentInAppMessageCampaign(v **types.InAppMessage } sv.TreatmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -26549,14 +27097,17 @@ func awsRestjson1_deserializeDocumentInAppMessageContent(v **types.InAppMessageC } sv.BackgroundColor = ptr.String(jtv) } + case "BodyConfig": if err := awsRestjson1_deserializeDocumentInAppMessageBodyConfig(&sv.BodyConfig, value); err != nil { return err } + case "HeaderConfig": if err := awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(&sv.HeaderConfig, value); err != nil { return err } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -26565,14 +27116,17 @@ func awsRestjson1_deserializeDocumentInAppMessageContent(v **types.InAppMessageC } sv.ImageUrl = ptr.String(jtv) } + case "PrimaryBtn": if err := awsRestjson1_deserializeDocumentInAppMessageButton(&sv.PrimaryBtn, value); err != nil { return err } + case "SecondaryBtn": if err := awsRestjson1_deserializeDocumentInAppMessageButton(&sv.SecondaryBtn, value); err != nil { return err } + default: _, _ = key, value @@ -26612,6 +27166,7 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.Alignment = types.Alignment(jtv) } + case "Header": if value != nil { jtv, ok := value.(string) @@ -26620,6 +27175,7 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.Header = ptr.String(jtv) } + case "TextColor": if value != nil { jtv, ok := value.(string) @@ -26628,6 +27184,7 @@ func awsRestjson1_deserializeDocumentInAppMessageHeaderConfig(v **types.InAppMes } sv.TextColor = ptr.String(jtv) } + default: _, _ = key, value @@ -26663,6 +27220,7 @@ func awsRestjson1_deserializeDocumentInAppMessagesResponse(v **types.InAppMessag if err := awsRestjson1_deserializeDocumentListOfInAppMessageCampaign(&sv.InAppMessageCampaigns, value); err != nil { return err } + default: _, _ = key, value @@ -26702,10 +27260,12 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Arn = ptr.String(jtv) } + case "Content": if err := awsRestjson1_deserializeDocumentListOfInAppMessageContent(&sv.Content, value); err != nil { return err } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -26714,10 +27274,12 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.CreationDate = ptr.String(jtv) } + case "CustomConfig": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.CustomConfig, value); err != nil { return err } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -26726,6 +27288,7 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.LastModifiedDate = ptr.String(jtv) } + case "Layout": if value != nil { jtv, ok := value.(string) @@ -26734,10 +27297,12 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Layout = types.Layout(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -26746,6 +27311,7 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -26754,6 +27320,7 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -26762,6 +27329,7 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.TemplateType = types.TemplateType(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -26770,6 +27338,7 @@ func awsRestjson1_deserializeDocumentInAppTemplateResponse(v **types.InAppTempla } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -26809,6 +27378,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -26817,6 +27387,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -26852,10 +27423,12 @@ func awsRestjson1_deserializeDocumentItemResponse(v **types.ItemResponse, value if err := awsRestjson1_deserializeDocumentEndpointItemResponse(&sv.EndpointItemResponse, value); err != nil { return err } + case "EventsItemResponse": if err := awsRestjson1_deserializeDocumentMapOfEventItemResponse(&sv.EventsItemResponse, value); err != nil { return err } + default: _, _ = key, value @@ -26895,6 +27468,7 @@ func awsRestjson1_deserializeDocumentJourneyChannelSettings(v **types.JourneyCha } sv.ConnectCampaignArn = ptr.String(jtv) } + case "ConnectCampaignExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -26903,6 +27477,7 @@ func awsRestjson1_deserializeDocumentJourneyChannelSettings(v **types.JourneyCha } sv.ConnectCampaignExecutionRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -26942,6 +27517,7 @@ func awsRestjson1_deserializeDocumentJourneyCustomMessage(v **types.JourneyCusto } sv.Data = ptr.String(jtv) } + default: _, _ = key, value @@ -26981,6 +27557,7 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.ApplicationId = ptr.String(jtv) } + case "EndTime": if value != nil { jtv, ok := value.(string) @@ -26993,6 +27570,7 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.EndTime = ptr.Time(t) } + case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27001,6 +27579,7 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.JourneyId = ptr.String(jtv) } + case "KpiName": if value != nil { jtv, ok := value.(string) @@ -27009,10 +27588,12 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.KpiName = ptr.String(jtv) } + case "KpiResult": if err := awsRestjson1_deserializeDocumentBaseKpiResult(&sv.KpiResult, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27021,6 +27602,7 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.NextToken = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -27033,6 +27615,7 @@ func awsRestjson1_deserializeDocumentJourneyDateRangeKpiResponse(v **types.Journ } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -27072,6 +27655,7 @@ func awsRestjson1_deserializeDocumentJourneyEmailMessage(v **types.JourneyEmailM } sv.FromAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -27111,6 +27695,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.ActivityType = ptr.String(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -27119,6 +27704,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.ApplicationId = ptr.String(jtv) } + case "JourneyActivityId": if value != nil { jtv, ok := value.(string) @@ -27127,6 +27713,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.JourneyActivityId = ptr.String(jtv) } + case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27135,6 +27722,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.JourneyId = ptr.String(jtv) } + case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27143,10 +27731,12 @@ func awsRestjson1_deserializeDocumentJourneyExecutionActivityMetricsResponse(v * } sv.LastEvaluatedTime = ptr.String(jtv) } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } + default: _, _ = key, value @@ -27186,6 +27776,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.ApplicationId = ptr.String(jtv) } + case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27194,6 +27785,7 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.JourneyId = ptr.String(jtv) } + case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27202,10 +27794,12 @@ func awsRestjson1_deserializeDocumentJourneyExecutionMetricsResponse(v **types.J } sv.LastEvaluatedTime = ptr.String(jtv) } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } + default: _, _ = key, value @@ -27249,6 +27843,7 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.DailyCap = ptr.Int32(int32(i64)) } + case "EndpointReentryCap": if value != nil { jtv, ok := value.(json.Number) @@ -27261,6 +27856,7 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.EndpointReentryCap = ptr.Int32(int32(i64)) } + case "EndpointReentryInterval": if value != nil { jtv, ok := value.(string) @@ -27269,6 +27865,7 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.EndpointReentryInterval = ptr.String(jtv) } + case "MessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -27281,10 +27878,12 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.MessagesPerSecond = ptr.Int32(int32(i64)) } + case "TimeframeCap": if err := awsRestjson1_deserializeDocumentJourneyTimeframeCap(&sv.TimeframeCap, value); err != nil { return err } + case "TotalCap": if value != nil { jtv, ok := value.(json.Number) @@ -27297,6 +27896,7 @@ func awsRestjson1_deserializeDocumentJourneyLimits(v **types.JourneyLimits, valu } sv.TotalCap = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -27336,6 +27936,7 @@ func awsRestjson1_deserializeDocumentJourneyPushMessage(v **types.JourneyPushMes } sv.TimeToLive = ptr.String(jtv) } + default: _, _ = key, value @@ -27371,6 +27972,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, if err := awsRestjson1_deserializeDocumentMapOfActivity(&sv.Activities, value); err != nil { return err } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -27379,10 +27981,12 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.ApplicationId = ptr.String(jtv) } + case "ClosedDays": if err := awsRestjson1_deserializeDocumentClosedDays(&sv.ClosedDays, value); err != nil { return err } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -27391,6 +27995,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.CreationDate = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -27399,10 +28004,12 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.Id = ptr.String(jtv) } + case "JourneyChannelSettings": if err := awsRestjson1_deserializeDocumentJourneyChannelSettings(&sv.JourneyChannelSettings, value); err != nil { return err } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -27411,10 +28018,12 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.LastModifiedDate = ptr.String(jtv) } + case "Limits": if err := awsRestjson1_deserializeDocumentJourneyLimits(&sv.Limits, value); err != nil { return err } + case "LocalTime": if value != nil { jtv, ok := value.(bool) @@ -27423,6 +28032,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.LocalTime = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -27431,14 +28041,17 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.Name = ptr.String(jtv) } + case "OpenHours": if err := awsRestjson1_deserializeDocumentOpenHours(&sv.OpenHours, value); err != nil { return err } + case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } + case "RefreshFrequency": if value != nil { jtv, ok := value.(string) @@ -27447,6 +28060,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.RefreshFrequency = ptr.String(jtv) } + case "RefreshOnSegmentUpdate": if value != nil { jtv, ok := value.(bool) @@ -27455,10 +28069,12 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.RefreshOnSegmentUpdate = ptr.Bool(jtv) } + case "Schedule": if err := awsRestjson1_deserializeDocumentJourneySchedule(&sv.Schedule, value); err != nil { return err } + case "SendingSchedule": if value != nil { jtv, ok := value.(bool) @@ -27467,6 +28083,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.SendingSchedule = ptr.Bool(jtv) } + case "StartActivity": if value != nil { jtv, ok := value.(string) @@ -27475,10 +28092,12 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.StartActivity = ptr.String(jtv) } + case "StartCondition": if err := awsRestjson1_deserializeDocumentStartCondition(&sv.StartCondition, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -27487,14 +28106,17 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.State = types.State(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TimezoneEstimationMethods": if err := awsRestjson1_deserializeDocumentListOf__TimezoneEstimationMethodsElement(&sv.TimezoneEstimationMethods, value); err != nil { return err } + case "WaitForQuietTime": if value != nil { jtv, ok := value.(bool) @@ -27503,6 +28125,7 @@ func awsRestjson1_deserializeDocumentJourneyResponse(v **types.JourneyResponse, } sv.WaitForQuietTime = ptr.Bool(jtv) } + default: _, _ = key, value @@ -27542,6 +28165,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.ActivityType = ptr.String(jtv) } + case "ApplicationId": if value != nil { jtv, ok := value.(string) @@ -27550,6 +28174,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.ApplicationId = ptr.String(jtv) } + case "JourneyActivityId": if value != nil { jtv, ok := value.(string) @@ -27558,6 +28183,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.JourneyActivityId = ptr.String(jtv) } + case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27566,6 +28192,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.JourneyId = ptr.String(jtv) } + case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27574,10 +28201,12 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.LastEvaluatedTime = ptr.String(jtv) } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -27586,6 +28215,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionActivityMetricsResponse( } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -27625,6 +28255,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.ApplicationId = ptr.String(jtv) } + case "JourneyId": if value != nil { jtv, ok := value.(string) @@ -27633,6 +28264,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.JourneyId = ptr.String(jtv) } + case "LastEvaluatedTime": if value != nil { jtv, ok := value.(string) @@ -27641,10 +28273,12 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.LastEvaluatedTime = ptr.String(jtv) } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Metrics, value); err != nil { return err } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -27653,6 +28287,7 @@ func awsRestjson1_deserializeDocumentJourneyRunExecutionMetricsResponse(v **type } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value @@ -27692,6 +28327,7 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.CreationTime = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -27700,6 +28336,7 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.LastUpdateTime = ptr.String(jtv) } + case "RunId": if value != nil { jtv, ok := value.(string) @@ -27708,6 +28345,7 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.RunId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -27716,6 +28354,7 @@ func awsRestjson1_deserializeDocumentJourneyRunResponse(v **types.JourneyRunResp } sv.Status = types.JourneyRunStatus(jtv) } + default: _, _ = key, value @@ -27751,6 +28390,7 @@ func awsRestjson1_deserializeDocumentJourneyRunsResponse(v **types.JourneyRunsRe if err := awsRestjson1_deserializeDocumentListOfJourneyRunResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27759,6 +28399,7 @@ func awsRestjson1_deserializeDocumentJourneyRunsResponse(v **types.JourneyRunsRe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27802,6 +28443,7 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.EndTime = ptr.Time(t) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -27814,6 +28456,7 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.StartTime = ptr.Time(t) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -27822,6 +28465,7 @@ func awsRestjson1_deserializeDocumentJourneySchedule(v **types.JourneySchedule, } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -27861,6 +28505,7 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.EntityId = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -27869,6 +28514,7 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.MessageType = types.MessageType(jtv) } + case "OriginationNumber": if value != nil { jtv, ok := value.(string) @@ -27877,6 +28523,7 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.OriginationNumber = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -27885,6 +28532,7 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.SenderId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -27893,6 +28541,7 @@ func awsRestjson1_deserializeDocumentJourneySMSMessage(v **types.JourneySMSMessa } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -27928,6 +28577,7 @@ func awsRestjson1_deserializeDocumentJourneysResponse(v **types.JourneysResponse if err := awsRestjson1_deserializeDocumentListOfJourneyResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27936,6 +28586,7 @@ func awsRestjson1_deserializeDocumentJourneysResponse(v **types.JourneysResponse } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -27979,6 +28630,7 @@ func awsRestjson1_deserializeDocumentJourneyTimeframeCap(v **types.JourneyTimefr } sv.Cap = ptr.Int32(int32(i64)) } + case "Days": if value != nil { jtv, ok := value.(json.Number) @@ -27991,6 +28643,7 @@ func awsRestjson1_deserializeDocumentJourneyTimeframeCap(v **types.JourneyTimefr } sv.Days = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29018,6 +29671,7 @@ func awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(v **t if err := awsRestjson1_deserializeDocumentListOfRecommenderConfigurationResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -29026,6 +29680,7 @@ func awsRestjson1_deserializeDocumentListRecommenderConfigurationsResponse(v **t } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -29584,6 +30239,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Action = types.Action(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -29592,6 +30248,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } + case "ImageIconUrl": if value != nil { jtv, ok := value.(string) @@ -29600,6 +30257,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageIconUrl = ptr.String(jtv) } + case "ImageSmallIconUrl": if value != nil { jtv, ok := value.(string) @@ -29608,6 +30266,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageSmallIconUrl = ptr.String(jtv) } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -29616,6 +30275,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ImageUrl = ptr.String(jtv) } + case "JsonBody": if value != nil { jtv, ok := value.(string) @@ -29624,6 +30284,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.JsonBody = ptr.String(jtv) } + case "MediaUrl": if value != nil { jtv, ok := value.(string) @@ -29632,6 +30293,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MediaUrl = ptr.String(jtv) } + case "RawContent": if value != nil { jtv, ok := value.(string) @@ -29640,6 +30302,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.RawContent = ptr.String(jtv) } + case "SilentPush": if value != nil { jtv, ok := value.(bool) @@ -29648,6 +30311,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.SilentPush = ptr.Bool(jtv) } + case "TimeToLive": if value != nil { jtv, ok := value.(json.Number) @@ -29660,6 +30324,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.TimeToLive = ptr.Int32(int32(i64)) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -29668,6 +30333,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Title = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -29676,6 +30342,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -29715,6 +30382,7 @@ func awsRestjson1_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -29723,6 +30391,7 @@ func awsRestjson1_deserializeDocumentMessageBody(v **types.MessageBody, value in } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -29758,38 +30427,47 @@ func awsRestjson1_deserializeDocumentMessageConfiguration(v **types.MessageConfi if err := awsRestjson1_deserializeDocumentMessage(&sv.ADMMessage, value); err != nil { return err } + case "APNSMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.APNSMessage, value); err != nil { return err } + case "BaiduMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.BaiduMessage, value); err != nil { return err } + case "CustomMessage": if err := awsRestjson1_deserializeDocumentCampaignCustomMessage(&sv.CustomMessage, value); err != nil { return err } + case "DefaultMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.DefaultMessage, value); err != nil { return err } + case "EmailMessage": if err := awsRestjson1_deserializeDocumentCampaignEmailMessage(&sv.EmailMessage, value); err != nil { return err } + case "GCMMessage": if err := awsRestjson1_deserializeDocumentMessage(&sv.GCMMessage, value); err != nil { return err } + case "InAppMessage": if err := awsRestjson1_deserializeDocumentCampaignInAppMessage(&sv.InAppMessage, value); err != nil { return err } + case "SMSMessage": if err := awsRestjson1_deserializeDocumentCampaignSmsMessage(&sv.SMSMessage, value); err != nil { return err } + default: _, _ = key, value @@ -29829,6 +30507,7 @@ func awsRestjson1_deserializeDocumentMessageHeader(v **types.MessageHeader, valu } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -29837,6 +30516,7 @@ func awsRestjson1_deserializeDocumentMessageHeader(v **types.MessageHeader, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -29876,10 +30556,12 @@ func awsRestjson1_deserializeDocumentMessageResponse(v **types.MessageResponse, } sv.ApplicationId = ptr.String(jtv) } + case "EndpointResult": if err := awsRestjson1_deserializeDocumentMapOfEndpointMessageResult(&sv.EndpointResult, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -29888,10 +30570,12 @@ func awsRestjson1_deserializeDocumentMessageResponse(v **types.MessageResponse, } sv.RequestId = ptr.String(jtv) } + case "Result": if err := awsRestjson1_deserializeDocumentMapOfMessageResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -29931,6 +30615,7 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.DeliveryStatus = types.DeliveryStatus(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -29939,6 +30624,7 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.MessageId = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -29951,6 +30637,7 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.StatusCode = ptr.Int32(int32(i64)) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -29959,6 +30646,7 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.StatusMessage = ptr.String(jtv) } + case "UpdatedToken": if value != nil { jtv, ok := value.(string) @@ -29967,6 +30655,7 @@ func awsRestjson1_deserializeDocumentMessageResult(v **types.MessageResult, valu } sv.UpdatedToken = ptr.String(jtv) } + default: _, _ = key, value @@ -30006,6 +30695,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30014,6 +30704,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -30053,6 +30744,7 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } sv.ComparisonOperator = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -30086,6 +30778,7 @@ func awsRestjson1_deserializeDocumentMetricDimension(v **types.MetricDimension, } } + default: _, _ = key, value @@ -30121,6 +30814,7 @@ func awsRestjson1_deserializeDocumentMultiConditionalBranch(v **types.MultiCondi if err := awsRestjson1_deserializeDocumentSimpleCondition(&sv.Condition, value); err != nil { return err } + case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -30129,6 +30823,7 @@ func awsRestjson1_deserializeDocumentMultiConditionalBranch(v **types.MultiCondi } sv.NextActivity = ptr.String(jtv) } + default: _, _ = key, value @@ -30164,6 +30859,7 @@ func awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(v **types.Mul if err := awsRestjson1_deserializeDocumentListOfMultiConditionalBranch(&sv.Branches, value); err != nil { return err } + case "DefaultActivity": if value != nil { jtv, ok := value.(string) @@ -30172,10 +30868,12 @@ func awsRestjson1_deserializeDocumentMultiConditionalSplitActivity(v **types.Mul } sv.DefaultActivity = ptr.String(jtv) } + case "EvaluationWaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.EvaluationWaitTime, value); err != nil { return err } + default: _, _ = key, value @@ -30215,6 +30913,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30223,6 +30922,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -30262,6 +30962,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Carrier = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -30270,6 +30971,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.City = ptr.String(jtv) } + case "CleansedPhoneNumberE164": if value != nil { jtv, ok := value.(string) @@ -30278,6 +30980,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CleansedPhoneNumberE164 = ptr.String(jtv) } + case "CleansedPhoneNumberNational": if value != nil { jtv, ok := value.(string) @@ -30286,6 +30989,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CleansedPhoneNumberNational = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -30294,6 +30998,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Country = ptr.String(jtv) } + case "CountryCodeIso2": if value != nil { jtv, ok := value.(string) @@ -30302,6 +31007,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CountryCodeIso2 = ptr.String(jtv) } + case "CountryCodeNumeric": if value != nil { jtv, ok := value.(string) @@ -30310,6 +31016,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.CountryCodeNumeric = ptr.String(jtv) } + case "County": if value != nil { jtv, ok := value.(string) @@ -30318,6 +31025,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.County = ptr.String(jtv) } + case "OriginalCountryCodeIso2": if value != nil { jtv, ok := value.(string) @@ -30326,6 +31034,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.OriginalCountryCodeIso2 = ptr.String(jtv) } + case "OriginalPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -30334,6 +31043,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.OriginalPhoneNumber = ptr.String(jtv) } + case "PhoneType": if value != nil { jtv, ok := value.(string) @@ -30342,6 +31052,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.PhoneType = ptr.String(jtv) } + case "PhoneTypeCode": if value != nil { jtv, ok := value.(json.Number) @@ -30354,6 +31065,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.PhoneTypeCode = ptr.Int32(int32(i64)) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -30362,6 +31074,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.Timezone = ptr.String(jtv) } + case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -30370,6 +31083,7 @@ func awsRestjson1_deserializeDocumentNumberValidateResponse(v **types.NumberVali } sv.ZipCode = ptr.String(jtv) } + default: _, _ = key, value @@ -30405,22 +31119,27 @@ func awsRestjson1_deserializeDocumentOpenHours(v **types.OpenHours, value interf if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.CUSTOM, value); err != nil { return err } + case "EMAIL": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.EMAIL, value); err != nil { return err } + case "PUSH": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.PUSH, value); err != nil { return err } + case "SMS": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.SMS, value); err != nil { return err } + case "VOICE": if err := awsRestjson1_deserializeDocumentMapOfListOfOpenHoursRules(&sv.VOICE, value); err != nil { return err } + default: _, _ = key, value @@ -30460,6 +31179,7 @@ func awsRestjson1_deserializeDocumentOpenHoursRule(v **types.OpenHoursRule, valu } sv.EndTime = ptr.String(jtv) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -30468,6 +31188,7 @@ func awsRestjson1_deserializeDocumentOpenHoursRule(v **types.OpenHoursRule, valu } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -30507,6 +31228,7 @@ func awsRestjson1_deserializeDocumentOverrideButtonConfiguration(v **types.Overr } sv.ButtonAction = types.ButtonAction(jtv) } + case "Link": if value != nil { jtv, ok := value.(string) @@ -30515,6 +31237,7 @@ func awsRestjson1_deserializeDocumentOverrideButtonConfiguration(v **types.Overr } sv.Link = ptr.String(jtv) } + default: _, _ = key, value @@ -30554,6 +31277,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -30562,6 +31286,7 @@ func awsRestjson1_deserializeDocumentPayloadTooLargeException(v **types.PayloadT } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -30597,6 +31322,7 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc if err := awsRestjson1_deserializeDocumentJourneyPushMessage(&sv.MessageConfig, value); err != nil { return err } + case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -30605,6 +31331,7 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.NextActivity = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -30613,6 +31340,7 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.TemplateName = ptr.String(jtv) } + case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -30621,6 +31349,7 @@ func awsRestjson1_deserializeDocumentPushMessageActivity(v **types.PushMessageAc } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -30656,10 +31385,12 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.ADM, value); err != nil { return err } + case "APNS": if err := awsRestjson1_deserializeDocumentAPNSPushNotificationTemplate(&sv.APNS, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -30668,10 +31399,12 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.Arn = ptr.String(jtv) } + case "Baidu": if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.Baidu, value); err != nil { return err } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -30680,10 +31413,12 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.CreationDate = ptr.String(jtv) } + case "Default": if err := awsRestjson1_deserializeDocumentDefaultPushNotificationTemplate(&sv.Default, value); err != nil { return err } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -30692,10 +31427,12 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.DefaultSubstitutions = ptr.String(jtv) } + case "GCM": if err := awsRestjson1_deserializeDocumentAndroidPushNotificationTemplate(&sv.GCM, value); err != nil { return err } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -30704,6 +31441,7 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.LastModifiedDate = ptr.String(jtv) } + case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -30712,10 +31450,12 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.RecommenderId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -30724,6 +31464,7 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -30732,6 +31473,7 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -30740,6 +31482,7 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.TemplateType = types.TemplateType(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -30748,6 +31491,7 @@ func awsRestjson1_deserializeDocumentPushNotificationTemplateResponse(v **types. } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -30787,6 +31531,7 @@ func awsRestjson1_deserializeDocumentQuietTime(v **types.QuietTime, value interf } sv.End = ptr.String(jtv) } + case "Start": if value != nil { jtv, ok := value.(string) @@ -30795,6 +31540,7 @@ func awsRestjson1_deserializeDocumentQuietTime(v **types.QuietTime, value interf } sv.Start = ptr.String(jtv) } + default: _, _ = key, value @@ -30830,6 +31576,7 @@ func awsRestjson1_deserializeDocumentRandomSplitActivity(v **types.RandomSplitAc if err := awsRestjson1_deserializeDocumentListOfRandomSplitEntry(&sv.Branches, value); err != nil { return err } + default: _, _ = key, value @@ -30869,6 +31616,7 @@ func awsRestjson1_deserializeDocumentRandomSplitEntry(v **types.RandomSplitEntry } sv.NextActivity = ptr.String(jtv) } + case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -30881,6 +31629,7 @@ func awsRestjson1_deserializeDocumentRandomSplitEntry(v **types.RandomSplitEntry } sv.Percentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -30920,6 +31669,7 @@ func awsRestjson1_deserializeDocumentRecencyDimension(v **types.RecencyDimension } sv.Duration = types.Duration(jtv) } + case "RecencyType": if value != nil { jtv, ok := value.(string) @@ -30928,6 +31678,7 @@ func awsRestjson1_deserializeDocumentRecencyDimension(v **types.RecencyDimension } sv.RecencyType = types.RecencyType(jtv) } + default: _, _ = key, value @@ -30963,6 +31714,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Attributes, value); err != nil { return err } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -30971,6 +31723,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.CreationDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -30979,6 +31732,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -30987,6 +31741,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Id = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -30995,6 +31750,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.LastModifiedDate = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31003,6 +31759,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.Name = ptr.String(jtv) } + case "RecommendationProviderIdType": if value != nil { jtv, ok := value.(string) @@ -31011,6 +31768,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderIdType = ptr.String(jtv) } + case "RecommendationProviderRoleArn": if value != nil { jtv, ok := value.(string) @@ -31019,6 +31777,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderRoleArn = ptr.String(jtv) } + case "RecommendationProviderUri": if value != nil { jtv, ok := value.(string) @@ -31027,6 +31786,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationProviderUri = ptr.String(jtv) } + case "RecommendationsDisplayName": if value != nil { jtv, ok := value.(string) @@ -31035,6 +31795,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationsDisplayName = ptr.String(jtv) } + case "RecommendationsPerMessage": if value != nil { jtv, ok := value.(json.Number) @@ -31047,6 +31808,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationsPerMessage = ptr.Int32(int32(i64)) } + case "RecommendationTransformerUri": if value != nil { jtv, ok := value.(string) @@ -31055,6 +31817,7 @@ func awsRestjson1_deserializeDocumentRecommenderConfigurationResponse(v **types. } sv.RecommendationTransformerUri = ptr.String(jtv) } + default: _, _ = key, value @@ -31090,10 +31853,12 @@ func awsRestjson1_deserializeDocumentResultRow(v **types.ResultRow, value interf if err := awsRestjson1_deserializeDocumentListOfResultRowValue(&sv.GroupedBys, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentListOfResultRowValue(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -31133,6 +31898,7 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Key = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -31141,6 +31907,7 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -31149,6 +31916,7 @@ func awsRestjson1_deserializeDocumentResultRowValue(v **types.ResultRowValue, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -31188,10 +31956,12 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.EndTime = ptr.String(jtv) } + case "EventFilter": if err := awsRestjson1_deserializeDocumentCampaignEventFilter(&sv.EventFilter, value); err != nil { return err } + case "Frequency": if value != nil { jtv, ok := value.(string) @@ -31200,6 +31970,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Frequency = types.Frequency(jtv) } + case "IsLocalTime": if value != nil { jtv, ok := value.(bool) @@ -31208,10 +31979,12 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.IsLocalTime = ptr.Bool(jtv) } + case "QuietTime": if err := awsRestjson1_deserializeDocumentQuietTime(&sv.QuietTime, value); err != nil { return err } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -31220,6 +31993,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.StartTime = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -31228,6 +32002,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -31263,6 +32038,7 @@ func awsRestjson1_deserializeDocumentSegmentBehaviors(v **types.SegmentBehaviors if err := awsRestjson1_deserializeDocumentRecencyDimension(&sv.Recency, value); err != nil { return err } + default: _, _ = key, value @@ -31302,6 +32078,7 @@ func awsRestjson1_deserializeDocumentSegmentCondition(v **types.SegmentCondition } sv.SegmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -31337,26 +32114,32 @@ func awsRestjson1_deserializeDocumentSegmentDemographics(v **types.SegmentDemogr if err := awsRestjson1_deserializeDocumentSetDimension(&sv.AppVersion, value); err != nil { return err } + case "Channel": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Channel, value); err != nil { return err } + case "DeviceType": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.DeviceType, value); err != nil { return err } + case "Make": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Make, value); err != nil { return err } + case "Model": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Model, value); err != nil { return err } + case "Platform": if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Platform, value); err != nil { return err } + default: _, _ = key, value @@ -31392,26 +32175,32 @@ func awsRestjson1_deserializeDocumentSegmentDimensions(v **types.SegmentDimensio if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.Attributes, value); err != nil { return err } + case "Behavior": if err := awsRestjson1_deserializeDocumentSegmentBehaviors(&sv.Behavior, value); err != nil { return err } + case "Demographic": if err := awsRestjson1_deserializeDocumentSegmentDemographics(&sv.Demographic, value); err != nil { return err } + case "Location": if err := awsRestjson1_deserializeDocumentSegmentLocation(&sv.Location, value); err != nil { return err } + case "Metrics": if err := awsRestjson1_deserializeDocumentMapOfMetricDimension(&sv.Metrics, value); err != nil { return err } + case "UserAttributes": if err := awsRestjson1_deserializeDocumentMapOfAttributeDimension(&sv.UserAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -31447,10 +32236,12 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value if err := awsRestjson1_deserializeDocumentListOfSegmentDimensions(&sv.Dimensions, value); err != nil { return err } + case "SourceSegments": if err := awsRestjson1_deserializeDocumentListOfSegmentReference(&sv.SourceSegments, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -31459,6 +32250,7 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value } sv.SourceType = types.SourceType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -31467,6 +32259,7 @@ func awsRestjson1_deserializeDocumentSegmentGroup(v **types.SegmentGroup, value } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -31502,6 +32295,7 @@ func awsRestjson1_deserializeDocumentSegmentGroupList(v **types.SegmentGroupList if err := awsRestjson1_deserializeDocumentListOfSegmentGroup(&sv.Groups, value); err != nil { return err } + case "Include": if value != nil { jtv, ok := value.(string) @@ -31510,6 +32304,7 @@ func awsRestjson1_deserializeDocumentSegmentGroupList(v **types.SegmentGroupList } sv.Include = types.Include(jtv) } + default: _, _ = key, value @@ -31545,6 +32340,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo if err := awsRestjson1_deserializeDocumentMapOf__integer(&sv.ChannelCounts, value); err != nil { return err } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -31553,6 +32349,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.ExternalId = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -31561,6 +32358,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.Format = types.Format(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -31569,6 +32367,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.RoleArn = ptr.String(jtv) } + case "S3Url": if value != nil { jtv, ok := value.(string) @@ -31577,6 +32376,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.S3Url = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -31589,6 +32389,7 @@ func awsRestjson1_deserializeDocumentSegmentImportResource(v **types.SegmentImpo } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31624,10 +32425,12 @@ func awsRestjson1_deserializeDocumentSegmentLocation(v **types.SegmentLocation, if err := awsRestjson1_deserializeDocumentSetDimension(&sv.Country, value); err != nil { return err } + case "GPSPoint": if err := awsRestjson1_deserializeDocumentGPSPointDimension(&sv.GPSPoint, value); err != nil { return err } + default: _, _ = key, value @@ -31667,6 +32470,7 @@ func awsRestjson1_deserializeDocumentSegmentReference(v **types.SegmentReference } sv.Id = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -31679,6 +32483,7 @@ func awsRestjson1_deserializeDocumentSegmentReference(v **types.SegmentReference } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31718,6 +32523,7 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -31726,6 +32532,7 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -31734,10 +32541,12 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.CreationDate = ptr.String(jtv) } + case "Dimensions": if err := awsRestjson1_deserializeDocumentSegmentDimensions(&sv.Dimensions, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -31746,10 +32555,12 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Id = ptr.String(jtv) } + case "ImportDefinition": if err := awsRestjson1_deserializeDocumentSegmentImportResource(&sv.ImportDefinition, value); err != nil { return err } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -31758,6 +32569,7 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.LastModifiedDate = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31766,10 +32578,12 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Name = ptr.String(jtv) } + case "SegmentGroups": if err := awsRestjson1_deserializeDocumentSegmentGroupList(&sv.SegmentGroups, value); err != nil { return err } + case "SegmentType": if value != nil { jtv, ok := value.(string) @@ -31778,10 +32592,12 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.SegmentType = types.SegmentType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -31794,6 +32610,7 @@ func awsRestjson1_deserializeDocumentSegmentResponse(v **types.SegmentResponse, } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31829,6 +32646,7 @@ func awsRestjson1_deserializeDocumentSegmentsResponse(v **types.SegmentsResponse if err := awsRestjson1_deserializeDocumentListOfSegmentResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -31837,6 +32655,7 @@ func awsRestjson1_deserializeDocumentSegmentsResponse(v **types.SegmentsResponse } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -31876,6 +32695,7 @@ func awsRestjson1_deserializeDocumentSendUsersMessageResponse(v **types.SendUser } sv.ApplicationId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31884,10 +32704,12 @@ func awsRestjson1_deserializeDocumentSendUsersMessageResponse(v **types.SendUser } sv.RequestId = ptr.String(jtv) } + case "Result": if err := awsRestjson1_deserializeDocumentMapOfMapOfEndpointMessageResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -31927,10 +32749,12 @@ func awsRestjson1_deserializeDocumentSetDimension(v **types.SetDimension, value } sv.DimensionType = types.DimensionType(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentListOf__string(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -31966,14 +32790,17 @@ func awsRestjson1_deserializeDocumentSimpleCondition(v **types.SimpleCondition, if err := awsRestjson1_deserializeDocumentEventCondition(&sv.EventCondition, value); err != nil { return err } + case "SegmentCondition": if err := awsRestjson1_deserializeDocumentSegmentCondition(&sv.SegmentCondition, value); err != nil { return err } + case "segmentDimensions": if err := awsRestjson1_deserializeDocumentSegmentDimensions(&sv.SegmentDimensions, value); err != nil { return err } + default: _, _ = key, value @@ -32013,6 +32840,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -32021,6 +32849,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.CreationDate = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -32029,6 +32858,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -32037,6 +32867,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -32045,6 +32876,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -32053,6 +32885,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -32061,6 +32894,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32069,6 +32903,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -32077,6 +32912,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Platform = ptr.String(jtv) } + case "PromotionalMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -32089,6 +32925,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.PromotionalMessagesPerSecond = ptr.Int32(int32(i64)) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -32097,6 +32934,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.SenderId = ptr.String(jtv) } + case "ShortCode": if value != nil { jtv, ok := value.(string) @@ -32105,6 +32943,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.ShortCode = ptr.String(jtv) } + case "TransactionalMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -32117,6 +32956,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.TransactionalMessagesPerSecond = ptr.Int32(int32(i64)) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -32129,6 +32969,7 @@ func awsRestjson1_deserializeDocumentSMSChannelResponse(v **types.SMSChannelResp } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32164,6 +33005,7 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi if err := awsRestjson1_deserializeDocumentJourneySMSMessage(&sv.MessageConfig, value); err != nil { return err } + case "NextActivity": if value != nil { jtv, ok := value.(string) @@ -32172,6 +33014,7 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.NextActivity = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -32180,6 +33023,7 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.TemplateName = ptr.String(jtv) } + case "TemplateVersion": if value != nil { jtv, ok := value.(string) @@ -32188,6 +33032,7 @@ func awsRestjson1_deserializeDocumentSMSMessageActivity(v **types.SMSMessageActi } sv.TemplateVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -32227,6 +33072,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Arn = ptr.String(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -32235,6 +33081,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Body = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -32243,6 +33090,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.CreationDate = ptr.String(jtv) } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -32251,6 +33099,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.DefaultSubstitutions = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32259,6 +33108,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.LastModifiedDate = ptr.String(jtv) } + case "RecommenderId": if value != nil { jtv, ok := value.(string) @@ -32267,10 +33117,12 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.RecommenderId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -32279,6 +33131,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -32287,6 +33140,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -32295,6 +33149,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.TemplateType = types.TemplateType(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -32303,6 +33158,7 @@ func awsRestjson1_deserializeDocumentSMSTemplateResponse(v **types.SMSTemplateRe } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -32342,14 +33198,17 @@ func awsRestjson1_deserializeDocumentStartCondition(v **types.StartCondition, va } sv.Description = ptr.String(jtv) } + case "EventStartCondition": if err := awsRestjson1_deserializeDocumentEventStartCondition(&sv.EventStartCondition, value); err != nil { return err } + case "SegmentStartCondition": if err := awsRestjson1_deserializeDocumentSegmentCondition(&sv.SegmentStartCondition, value); err != nil { return err } + default: _, _ = key, value @@ -32385,6 +33244,7 @@ func awsRestjson1_deserializeDocumentTagsModel(v **types.TagsModel, value interf if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -32424,6 +33284,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -32432,6 +33293,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -32467,22 +33329,27 @@ func awsRestjson1_deserializeDocumentTemplateConfiguration(v **types.TemplateCon if err := awsRestjson1_deserializeDocumentTemplate(&sv.EmailTemplate, value); err != nil { return err } + case "InAppTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.InAppTemplate, value); err != nil { return err } + case "PushTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.PushTemplate, value); err != nil { return err } + case "SMSTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.SMSTemplate, value); err != nil { return err } + case "VoiceTemplate": if err := awsRestjson1_deserializeDocumentTemplate(&sv.VoiceTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -32522,6 +33389,7 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -32530,6 +33398,7 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -32538,6 +33407,7 @@ func awsRestjson1_deserializeDocumentTemplateCreateMessageBody(v **types.Templat } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -32577,6 +33447,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -32585,6 +33456,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.CreationDate = ptr.String(jtv) } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -32593,6 +33465,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.DefaultSubstitutions = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32601,10 +33474,12 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.LastModifiedDate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -32613,6 +33488,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -32621,6 +33497,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -32629,6 +33506,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.TemplateType = types.TemplateType(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -32637,6 +33515,7 @@ func awsRestjson1_deserializeDocumentTemplateResponse(v **types.TemplateResponse } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -32672,6 +33551,7 @@ func awsRestjson1_deserializeDocumentTemplatesResponse(v **types.TemplatesRespon if err := awsRestjson1_deserializeDocumentListOfTemplateResponse(&sv.Item, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -32680,6 +33560,7 @@ func awsRestjson1_deserializeDocumentTemplatesResponse(v **types.TemplatesRespon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -32719,6 +33600,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.CreationDate = ptr.String(jtv) } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -32727,6 +33609,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.DefaultSubstitutions = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -32735,6 +33618,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.LastModifiedDate = ptr.String(jtv) } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -32743,6 +33627,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -32751,6 +33636,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -32759,6 +33645,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.TemplateType = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -32767,6 +33654,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionResponse(v **types.TemplateV } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -32802,6 +33690,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template if err := awsRestjson1_deserializeDocumentListOfTemplateVersionResponse(&sv.Item, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -32810,6 +33699,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.Message = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -32818,6 +33708,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.NextToken = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -32826,6 +33717,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionsResponse(v **types.Template } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -32865,6 +33757,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + case "RequestID": if value != nil { jtv, ok := value.(string) @@ -32873,6 +33766,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.RequestID = ptr.String(jtv) } + default: _, _ = key, value @@ -32908,6 +33802,7 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour if err := awsRestjson1_deserializeDocumentCustomDeliveryConfiguration(&sv.CustomDeliveryConfiguration, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -32916,14 +33811,17 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.Id = ptr.String(jtv) } + case "MessageConfiguration": if err := awsRestjson1_deserializeDocumentMessageConfiguration(&sv.MessageConfiguration, value); err != nil { return err } + case "Schedule": if err := awsRestjson1_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "SizePercent": if value != nil { jtv, ok := value.(json.Number) @@ -32936,14 +33834,17 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.SizePercent = ptr.Int32(int32(i64)) } + case "State": if err := awsRestjson1_deserializeDocumentCampaignState(&sv.State, value); err != nil { return err } + case "TemplateConfiguration": if err := awsRestjson1_deserializeDocumentTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "TreatmentDescription": if value != nil { jtv, ok := value.(string) @@ -32952,6 +33853,7 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.TreatmentDescription = ptr.String(jtv) } + case "TreatmentName": if value != nil { jtv, ok := value.(string) @@ -32960,6 +33862,7 @@ func awsRestjson1_deserializeDocumentTreatmentResource(v **types.TreatmentResour } sv.TreatmentName = ptr.String(jtv) } + default: _, _ = key, value @@ -32999,6 +33902,7 @@ func awsRestjson1_deserializeDocumentVerificationResponse(v **types.Verification } sv.Valid = ptr.Bool(jtv) } + default: _, _ = key, value @@ -33038,6 +33942,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.ApplicationId = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -33046,6 +33951,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.CreationDate = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -33054,6 +33960,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Enabled = ptr.Bool(jtv) } + case "HasCredential": if value != nil { jtv, ok := value.(bool) @@ -33062,6 +33969,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.HasCredential = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -33070,6 +33978,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Id = ptr.String(jtv) } + case "IsArchived": if value != nil { jtv, ok := value.(bool) @@ -33078,6 +33987,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.IsArchived = ptr.Bool(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -33086,6 +33996,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -33094,6 +34005,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.LastModifiedDate = ptr.String(jtv) } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -33102,6 +34014,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Platform = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -33114,6 +34027,7 @@ func awsRestjson1_deserializeDocumentVoiceChannelResponse(v **types.VoiceChannel } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33153,6 +34067,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Arn = ptr.String(jtv) } + case "Body": if value != nil { jtv, ok := value.(string) @@ -33161,6 +34076,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Body = ptr.String(jtv) } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -33169,6 +34085,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.CreationDate = ptr.String(jtv) } + case "DefaultSubstitutions": if value != nil { jtv, ok := value.(string) @@ -33177,6 +34094,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.DefaultSubstitutions = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -33185,6 +34103,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.LanguageCode = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { jtv, ok := value.(string) @@ -33193,10 +34112,12 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.LastModifiedDate = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentMapOf__string(&sv.Tags, value); err != nil { return err } + case "TemplateDescription": if value != nil { jtv, ok := value.(string) @@ -33205,6 +34126,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateDescription = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -33213,6 +34135,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateName = ptr.String(jtv) } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -33221,6 +34144,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.TemplateType = types.TemplateType(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -33229,6 +34153,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.Version = ptr.String(jtv) } + case "VoiceId": if value != nil { jtv, ok := value.(string) @@ -33237,6 +34162,7 @@ func awsRestjson1_deserializeDocumentVoiceTemplateResponse(v **types.VoiceTempla } sv.VoiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -33276,10 +34202,12 @@ func awsRestjson1_deserializeDocumentWaitActivity(v **types.WaitActivity, value } sv.NextActivity = ptr.String(jtv) } + case "WaitTime": if err := awsRestjson1_deserializeDocumentWaitTime(&sv.WaitTime, value); err != nil { return err } + default: _, _ = key, value @@ -33319,6 +34247,7 @@ func awsRestjson1_deserializeDocumentWaitTime(v **types.WaitTime, value interfac } sv.WaitFor = ptr.String(jtv) } + case "WaitUntil": if value != nil { jtv, ok := value.(string) @@ -33327,6 +34256,7 @@ func awsRestjson1_deserializeDocumentWaitTime(v **types.WaitTime, value interfac } sv.WaitUntil = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/pinpointemail/deserializers.go b/service/pinpointemail/deserializers.go index 001eeae5b58..aa16f17ac0f 100644 --- a/service/pinpointemail/deserializers.go +++ b/service/pinpointemail/deserializers.go @@ -503,6 +503,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } + case "ReportId": if value != nil { jtv, ok := value.(string) @@ -511,6 +512,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -671,6 +673,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -679,6 +682,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.IdentityType = types.IdentityType(jtv) } + case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -687,6 +691,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.VerifiedForSendingStatus = jtv } + default: _, _ = key, value @@ -1230,6 +1235,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.DedicatedIpAutoWarmupEnabled = jtv } + case "EnforcementStatus": if value != nil { jtv, ok := value.(string) @@ -1238,6 +1244,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.EnforcementStatus = ptr.String(jtv) } + case "ProductionAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -1246,6 +1253,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ProductionAccessEnabled = jtv } + case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -1254,10 +1262,12 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.SendingEnabled = jtv } + case "SendQuota": if err := awsRestjson1_deserializeDocumentSendQuota(&sv.SendQuota, value); err != nil { return err } + default: _, _ = key, value @@ -1415,6 +1425,7 @@ func awsRestjson1_deserializeOpDocumentGetBlacklistReportsOutput(v **GetBlacklis if err := awsRestjson1_deserializeDocumentBlacklistReport(&sv.BlacklistReport, value); err != nil { return err } + default: _, _ = key, value @@ -1576,26 +1587,32 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetOutput(v **GetConfigur } sv.ConfigurationSetName = ptr.String(jtv) } + case "DeliveryOptions": if err := awsRestjson1_deserializeDocumentDeliveryOptions(&sv.DeliveryOptions, value); err != nil { return err } + case "ReputationOptions": if err := awsRestjson1_deserializeDocumentReputationOptions(&sv.ReputationOptions, value); err != nil { return err } + case "SendingOptions": if err := awsRestjson1_deserializeDocumentSendingOptions(&sv.SendingOptions, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrackingOptions": if err := awsRestjson1_deserializeDocumentTrackingOptions(&sv.TrackingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -1753,6 +1770,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } + default: _, _ = key, value @@ -1910,6 +1928,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpOutput(v **GetDedicatedIpOu if err := awsRestjson1_deserializeDocumentDedicatedIp(&sv.DedicatedIp, value); err != nil { return err } + default: _, _ = key, value @@ -2067,6 +2086,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps if err := awsRestjson1_deserializeDocumentDedicatedIpList(&sv.DedicatedIps, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2075,6 +2095,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2236,10 +2257,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.AccountStatus = types.DeliverabilityDashboardAccountStatus(jtv) } + case "ActiveSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.ActiveSubscribedDomains, value); err != nil { return err } + case "DashboardEnabled": if value != nil { jtv, ok := value.(bool) @@ -2248,10 +2271,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.DashboardEnabled = jtv } + case "PendingExpirationSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.PendingExpirationSubscribedDomains, value); err != nil { return err } + case "SubscriptionExpiryDate": if value != nil { switch jtv := value.(type) { @@ -2267,6 +2292,7 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } } + default: _, _ = key, value @@ -2424,10 +2450,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get if err := awsRestjson1_deserializeDocumentDeliverabilityTestReport(&sv.DeliverabilityTestReport, value); err != nil { return err } + case "IspPlacements": if err := awsRestjson1_deserializeDocumentIspPlacements(&sv.IspPlacements, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -2436,14 +2464,17 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get } sv.Message = ptr.String(jtv) } + case "OverallPlacement": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.OverallPlacement, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2601,6 +2632,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainDeliverabilityCampaignOutput(v * if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(&sv.DomainDeliverabilityCampaign, value); err != nil { return err } + default: _, _ = key, value @@ -2758,10 +2790,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainStatisticsReportOutput(v **GetDo if err := awsRestjson1_deserializeDocumentDailyVolumes(&sv.DailyVolumes, value); err != nil { return err } + case "OverallVolume": if err := awsRestjson1_deserializeDocumentOverallVolume(&sv.OverallVolume, value); err != nil { return err } + default: _, _ = key, value @@ -2919,6 +2953,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } + case "FeedbackForwardingStatus": if value != nil { jtv, ok := value.(bool) @@ -2927,6 +2962,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.FeedbackForwardingStatus = jtv } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -2935,14 +2971,17 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.IdentityType = types.IdentityType(jtv) } + case "MailFromAttributes": if err := awsRestjson1_deserializeDocumentMailFromAttributes(&sv.MailFromAttributes, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -2951,6 +2990,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerifiedForSendingStatus = jtv } + default: _, _ = key, value @@ -3105,6 +3145,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSetNameList(&sv.ConfigurationSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3113,6 +3154,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3267,6 +3309,7 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica if err := awsRestjson1_deserializeDocumentListOfDedicatedIpPools(&sv.DedicatedIpPools, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3275,6 +3318,7 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3432,6 +3476,7 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L if err := awsRestjson1_deserializeDocumentDeliverabilityTestReports(&sv.DeliverabilityTestReports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3440,6 +3485,7 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3597,6 +3643,7 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaignList(&sv.DomainDeliverabilityCampaigns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3605,6 +3652,7 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3759,6 +3807,7 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId if err := awsRestjson1_deserializeDocumentIdentityInfoList(&sv.EmailIdentities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3767,6 +3816,7 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3924,6 +3974,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5228,6 +5279,7 @@ func awsRestjson1_deserializeOpDocumentSendEmailOutput(v **SendEmailOutput, valu } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -5915,6 +5967,7 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5954,6 +6007,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5993,6 +6047,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6066,6 +6121,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.Description = ptr.String(jtv) } + case "ListingTime": if value != nil { switch jtv := value.(type) { @@ -6081,6 +6137,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } } + case "RblName": if value != nil { jtv, ok := value.(string) @@ -6089,6 +6146,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.RblName = ptr.String(jtv) } + default: _, _ = key, value @@ -6158,6 +6216,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDestination(v **types.CloudWatchD if err := awsRestjson1_deserializeDocumentCloudWatchDimensionConfigurations(&sv.DimensionConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6197,6 +6256,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DefaultDimensionValue = ptr.String(jtv) } + case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -6205,6 +6265,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionName = ptr.String(jtv) } + case "DimensionValueSource": if value != nil { jtv, ok := value.(string) @@ -6213,6 +6274,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionValueSource = types.DimensionValueSource(jtv) } + default: _, _ = key, value @@ -6286,6 +6348,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6357,6 +6420,7 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -6372,10 +6436,12 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in } } + case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -6449,6 +6515,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.Ip = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -6457,6 +6524,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.PoolName = ptr.String(jtv) } + case "WarmupPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -6469,6 +6537,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupPercentage = ptr.Int32(int32(i64)) } + case "WarmupStatus": if value != nil { jtv, ok := value.(string) @@ -6477,6 +6546,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupStatus = types.WarmupStatus(jtv) } + default: _, _ = key, value @@ -6557,6 +6627,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } } + case "DeliverabilityTestStatus": if value != nil { jtv, ok := value.(string) @@ -6565,6 +6636,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } + case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -6573,6 +6645,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.FromEmailAddress = ptr.String(jtv) } + case "ReportId": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6654,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportId = ptr.String(jtv) } + case "ReportName": if value != nil { jtv, ok := value.(string) @@ -6589,6 +6663,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportName = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -6597,6 +6672,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -6670,6 +6746,7 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.SendingPoolName = ptr.String(jtv) } + case "TlsPolicy": if value != nil { jtv, ok := value.(string) @@ -6678,6 +6755,7 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.TlsPolicy = types.TlsPolicy(jtv) } + default: _, _ = key, value @@ -6717,6 +6795,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6725,10 +6804,12 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.Status = types.DkimStatus(jtv) } + case "Tokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.Tokens, value); err != nil { return err } + default: _, _ = key, value @@ -6804,6 +6885,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.CampaignId = ptr.String(jtv) } + case "DeleteRate": if value != nil { switch jtv := value.(type) { @@ -6837,10 +6919,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "Esps": if err := awsRestjson1_deserializeDocumentEsps(&sv.Esps, value); err != nil { return err } + case "FirstSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -6856,6 +6940,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -6864,6 +6949,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.FromAddress = ptr.String(jtv) } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -6872,6 +6958,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ImageUrl = ptr.String(jtv) } + case "InboxCount": if value != nil { jtv, ok := value.(json.Number) @@ -6884,6 +6971,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.InboxCount = ptr.Int64(i64) } + case "LastSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -6899,6 +6987,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "ProjectedVolume": if value != nil { jtv, ok := value.(json.Number) @@ -6911,6 +7000,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ProjectedVolume = ptr.Int64(i64) } + case "ReadDeleteRate": if value != nil { switch jtv := value.(type) { @@ -6944,6 +7034,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "ReadRate": if value != nil { switch jtv := value.(type) { @@ -6977,10 +7068,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "SendingIps": if err := awsRestjson1_deserializeDocumentIpList(&sv.SendingIps, value); err != nil { return err } + case "SpamCount": if value != nil { jtv, ok := value.(json.Number) @@ -6993,6 +7086,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.SpamCount = ptr.Int64(i64) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -7001,6 +7095,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -7074,10 +7169,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } sv.Domain = ptr.String(jtv) } + case "InboxPlacementTrackingOption": if err := awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(&sv.InboxPlacementTrackingOption, value); err != nil { return err } + case "SubscriptionStartDate": if value != nil { switch jtv := value.(type) { @@ -7093,6 +7190,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } } + default: _, _ = key, value @@ -7191,6 +7289,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } + case "InboxRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -7203,6 +7302,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.InboxRawCount = ptr.Int64(i64) } + case "IspName": if value != nil { jtv, ok := value.(string) @@ -7211,6 +7311,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.IspName = ptr.String(jtv) } + case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -7244,6 +7345,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } + case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -7256,6 +7358,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.SpamRawCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -7361,6 +7464,7 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchDestination(&sv.CloudWatchDestination, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -7369,14 +7473,17 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = jtv } + case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } + case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7385,14 +7492,17 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } + case "PinpointDestination": if err := awsRestjson1_deserializeDocumentPinpointDestination(&sv.PinpointDestination, value); err != nil { return err } + case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } + default: _, _ = key, value @@ -7502,6 +7612,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityName = ptr.String(jtv) } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -7510,6 +7621,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityType = types.IdentityType(jtv) } + case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -7518,6 +7630,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.SendingEnabled = jtv } + default: _, _ = key, value @@ -7591,10 +7704,12 @@ func awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(v **types.Inbo } sv.Global = jtv } + case "TrackedIsps": if err := awsRestjson1_deserializeDocumentIspNameList(&sv.TrackedIsps, value); err != nil { return err } + default: _, _ = key, value @@ -7706,10 +7821,12 @@ func awsRestjson1_deserializeDocumentIspPlacement(v **types.IspPlacement, value } sv.IspName = ptr.String(jtv) } + case "PlacementStatistics": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.PlacementStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -7783,6 +7900,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -7791,6 +7909,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7830,6 +7949,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7905,6 +8025,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.BehaviorOnMxFailure = types.BehaviorOnMxFailure(jtv) } + case "MailFromDomain": if value != nil { jtv, ok := value.(string) @@ -7913,6 +8034,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomain = ptr.String(jtv) } + case "MailFromDomainStatus": if value != nil { jtv, ok := value.(string) @@ -7921,6 +8043,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomainStatus = types.MailFromDomainStatus(jtv) } + default: _, _ = key, value @@ -7960,6 +8083,7 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7999,6 +8123,7 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8038,6 +8163,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8073,6 +8199,7 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } + case "ReadRatePercent": if value != nil { switch jtv := value.(type) { @@ -8106,10 +8233,12 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu } } + case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -8149,6 +8278,7 @@ func awsRestjson1_deserializeDocumentPinpointDestination(v **types.PinpointDesti } sv.ApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8213,6 +8343,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "InboxPercentage": if value != nil { switch jtv := value.(type) { @@ -8246,6 +8377,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "MissingPercentage": if value != nil { switch jtv := value.(type) { @@ -8279,6 +8411,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -8312,6 +8445,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "SpfPercentage": if value != nil { switch jtv := value.(type) { @@ -8345,6 +8479,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + default: _, _ = key, value @@ -8391,6 +8526,7 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } } + case "ReputationMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -8399,6 +8535,7 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } sv.ReputationMetricsEnabled = jtv } + default: _, _ = key, value @@ -8438,6 +8575,7 @@ func awsRestjson1_deserializeDocumentSendingOptions(v **types.SendingOptions, va } sv.SendingEnabled = jtv } + default: _, _ = key, value @@ -8477,6 +8615,7 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8541,6 +8680,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + case "MaxSendRate": if value != nil { switch jtv := value.(type) { @@ -8574,6 +8714,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + case "SentLast24Hours": if value != nil { switch jtv := value.(type) { @@ -8607,6 +8748,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + default: _, _ = key, value @@ -8646,6 +8788,7 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8685,6 +8828,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8693,6 +8837,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8766,6 +8911,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8805,6 +8951,7 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.CustomRedirectDomain = ptr.String(jtv) } + default: _, _ = key, value @@ -8848,6 +8995,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.InboxRawCount = ptr.Int64(i64) } + case "ProjectedInbox": if value != nil { jtv, ok := value.(json.Number) @@ -8860,6 +9008,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedInbox = ptr.Int64(i64) } + case "ProjectedSpam": if value != nil { jtv, ok := value.(json.Number) @@ -8872,6 +9021,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedSpam = ptr.Int64(i64) } + case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -8884,6 +9034,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.SpamRawCount = ptr.Int64(i64) } + default: _, _ = key, value diff --git a/service/pinpointsmsvoice/deserializers.go b/service/pinpointsmsvoice/deserializers.go index fbab2578cc7..dc75a798925 100644 --- a/service/pinpointsmsvoice/deserializers.go +++ b/service/pinpointsmsvoice/deserializers.go @@ -577,6 +577,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } + default: _, _ = key, value @@ -734,6 +735,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSets(&sv.ConfigurationSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -742,6 +744,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -903,6 +906,7 @@ func awsRestjson1_deserializeOpDocumentSendVoiceMessageOutput(v **SendVoiceMessa } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -1255,6 +1259,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1294,6 +1299,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1333,6 +1339,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.IamRoleArn = ptr.String(jtv) } + case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -1341,6 +1348,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1412,6 +1420,7 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogsDestination, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -1420,14 +1429,17 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = ptr.Bool(jtv) } + case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } + case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1436,10 +1448,12 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } + case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } + default: _, _ = key, value @@ -1549,6 +1563,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1588,6 +1603,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -1596,6 +1612,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1635,6 +1652,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1674,6 +1692,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1713,6 +1732,7 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1752,6 +1772,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/pinpointsmsvoicev2/deserializers.go b/service/pinpointsmsvoicev2/deserializers.go index 8c399436047..ac950d9051b 100644 --- a/service/pinpointsmsvoicev2/deserializers.go +++ b/service/pinpointsmsvoicev2/deserializers.go @@ -10873,6 +10873,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -10881,6 +10882,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Reason = types.AccessDeniedExceptionReason(jtv) } + default: _, _ = key, value @@ -10920,6 +10922,7 @@ func awsAwsjson10_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Name = types.AccountAttributeName(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10928,6 +10931,7 @@ func awsAwsjson10_deserializeDocumentAccountAttribute(v **types.AccountAttribute } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11005,6 +11009,7 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Max = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11013,6 +11018,7 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Name = types.AccountLimitName(jtv) } + case "Used": if value != nil { jtv, ok := value.(json.Number) @@ -11025,6 +11031,7 @@ func awsAwsjson10_deserializeDocumentAccountLimit(v **types.AccountLimit, value } sv.Used = i64 } + default: _, _ = key, value @@ -11098,6 +11105,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.IamRoleArn = ptr.String(jtv) } + case "LogGroupArn": if value != nil { jtv, ok := value.(string) @@ -11106,6 +11114,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(v **types.CloudWa } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11145,6 +11154,7 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -11153,6 +11163,7 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ConfigurationSetName = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -11168,6 +11179,7 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } } + case "DefaultMessageType": if value != nil { jtv, ok := value.(string) @@ -11176,6 +11188,7 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.DefaultMessageType = types.MessageType(jtv) } + case "DefaultSenderId": if value != nil { jtv, ok := value.(string) @@ -11184,10 +11197,12 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.DefaultSenderId = ptr.String(jtv) } + case "EventDestinations": if err := awsAwsjson10_deserializeDocumentEventDestinationList(&sv.EventDestinations, value); err != nil { return err } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -11196,6 +11211,7 @@ func awsAwsjson10_deserializeDocumentConfigurationSetInformation(v **types.Confi } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -11269,6 +11285,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -11277,6 +11294,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11285,6 +11303,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11293,6 +11312,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -11328,6 +11348,7 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination if err := awsAwsjson10_deserializeDocumentCloudWatchLogsDestination(&sv.CloudWatchLogsDestination, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -11336,6 +11357,7 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = ptr.Bool(jtv) } + case "EventDestinationName": if value != nil { jtv, ok := value.(string) @@ -11344,18 +11366,22 @@ func awsAwsjson10_deserializeDocumentEventDestination(v **types.EventDestination } sv.EventDestinationName = ptr.String(jtv) } + case "KinesisFirehoseDestination": if err := awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } + case "MatchingEventTypes": if err := awsAwsjson10_deserializeDocumentEventTypeList(&sv.MatchingEventTypes, value); err != nil { return err } + case "SnsDestination": if err := awsAwsjson10_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } + default: _, _ = key, value @@ -11465,6 +11491,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11473,6 +11500,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11512,6 +11540,7 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.Keyword = ptr.String(jtv) } + case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -11520,6 +11549,7 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.KeywordAction = types.KeywordAction(jtv) } + case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -11528,6 +11558,7 @@ func awsAwsjson10_deserializeDocumentKeywordInformation(v **types.KeywordInforma } sv.KeywordMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11601,6 +11632,7 @@ func awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -11609,6 +11641,7 @@ func awsAwsjson10_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11720,6 +11753,7 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } sv.EndUserOptedOut = jtv } + case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -11728,6 +11762,7 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } sv.OptedOutNumber = ptr.String(jtv) } + case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -11743,6 +11778,7 @@ func awsAwsjson10_deserializeDocumentOptedOutNumberInformation(v **types.OptedOu } } + default: _, _ = key, value @@ -11823,6 +11859,7 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -11831,6 +11868,7 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -11839,6 +11877,7 @@ func awsAwsjson10_deserializeDocumentOptOutListInformation(v **types.OptOutListI } sv.OptOutListName = ptr.String(jtv) } + default: _, _ = key, value @@ -11912,10 +11951,12 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.IsoCountryCode = ptr.String(jtv) } + case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -11924,6 +11965,7 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -11932,6 +11974,7 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.OriginationIdentityArn = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -11940,6 +11983,7 @@ func awsAwsjson10_deserializeDocumentOriginationIdentityMetadata(v **types.Origi } sv.PhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -12020,6 +12064,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12028,6 +12073,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -12036,6 +12082,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -12044,6 +12091,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.MessageType = types.MessageType(jtv) } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -12052,10 +12100,12 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } + case "NumberType": if value != nil { jtv, ok := value.(string) @@ -12064,6 +12114,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.NumberType = types.NumberType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -12072,6 +12123,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.OptOutListName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -12080,6 +12132,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -12088,6 +12141,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -12096,6 +12150,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PhoneNumberId = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -12104,6 +12159,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.PoolId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -12112,6 +12168,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.RegistrationId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -12120,6 +12177,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.SelfManagedOptOutsEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12128,6 +12186,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.Status = types.NumberStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -12136,6 +12195,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -12144,6 +12204,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12152,6 +12213,7 @@ func awsAwsjson10_deserializeDocumentPhoneNumberInformation(v **types.PhoneNumbe } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -12232,6 +12294,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12240,6 +12303,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.DeletionProtectionEnabled = jtv } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -12248,6 +12312,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.MessageType = types.MessageType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -12256,6 +12321,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.OptOutListName = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -12264,6 +12330,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -12272,6 +12339,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.PoolId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -12280,6 +12348,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.SelfManagedOptOutsEnabled = jtv } + case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -12288,6 +12357,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.SharedRoutesEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12296,6 +12366,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.Status = types.PoolStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -12304,6 +12375,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -12312,6 +12384,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -12320,6 +12393,7 @@ func awsAwsjson10_deserializeDocumentPoolInformation(v **types.PoolInformation, } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -12428,6 +12502,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSetInformati } sv.ProtectStatus = types.ProtectStatus(jtv) } + default: _, _ = key, value @@ -12467,6 +12542,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.AccountDefault = jtv } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12482,6 +12558,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -12490,6 +12567,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.DeletionProtectionEnabled = jtv } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -12498,6 +12576,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -12506,6 +12585,7 @@ func awsAwsjson10_deserializeDocumentProtectConfigurationInformation(v **types.P } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -12579,6 +12659,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.IsoCountryCode = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -12587,6 +12668,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.PhoneNumber = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -12595,6 +12677,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12603,6 +12686,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -12611,6 +12695,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAssociationMetadata(v **types.R } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -12684,6 +12769,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.AttachmentStatus = types.AttachmentStatus(jtv) } + case "AttachmentUploadErrorReason": if value != nil { jtv, ok := value.(string) @@ -12692,6 +12778,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.AttachmentUploadErrorReason = types.AttachmentUploadErrorReason(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12707,6 +12794,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } } + case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -12715,6 +12803,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.RegistrationAttachmentArn = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -12723,6 +12812,7 @@ func awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformation(v **type } sv.RegistrationAttachmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -12796,6 +12886,7 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.DocumentationLink = ptr.String(jtv) } + case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -12804,6 +12895,7 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.DocumentationTitle = ptr.String(jtv) } + case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -12812,6 +12904,7 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.LongDescription = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12820,6 +12913,7 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.Reason = ptr.String(jtv) } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -12828,6 +12922,7 @@ func awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformation(v **typ } sv.ShortDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -12897,6 +12992,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis if err := awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(&sv.DisplayHints, value); err != nil { return err } + case "FieldPath": if value != nil { jtv, ok := value.(string) @@ -12905,6 +13001,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldPath = ptr.String(jtv) } + case "FieldRequirement": if value != nil { jtv, ok := value.(string) @@ -12913,6 +13010,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldRequirement = types.FieldRequirement(jtv) } + case "FieldType": if value != nil { jtv, ok := value.(string) @@ -12921,6 +13019,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.FieldType = types.FieldType(jtv) } + case "SectionPath": if value != nil { jtv, ok := value.(string) @@ -12929,14 +13028,17 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDefinition(v **types.Regis } sv.SectionPath = ptr.String(jtv) } + case "SelectValidation": if err := awsAwsjson10_deserializeDocumentSelectValidation(&sv.SelectValidation, value); err != nil { return err } + case "TextValidation": if err := awsAwsjson10_deserializeDocumentTextValidation(&sv.TextValidation, value); err != nil { return err } + default: _, _ = key, value @@ -13010,6 +13112,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.DocumentationLink = ptr.String(jtv) } + case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13018,6 +13121,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.DocumentationTitle = ptr.String(jtv) } + case "ExampleTextValue": if value != nil { jtv, ok := value.(string) @@ -13026,6 +13130,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.ExampleTextValue = ptr.String(jtv) } + case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13034,10 +13139,12 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.LongDescription = ptr.String(jtv) } + case "SelectOptionDescriptions": if err := awsAwsjson10_deserializeDocumentSelectOptionDescriptionsList(&sv.SelectOptionDescriptions, value); err != nil { return err } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13046,6 +13153,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.ShortDescription = ptr.String(jtv) } + case "TextValidationDescription": if value != nil { jtv, ok := value.(string) @@ -13054,6 +13162,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.TextValidationDescription = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -13062,6 +13171,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldDisplayHints(v **types.Reg } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -13101,6 +13211,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.DeniedReason = ptr.String(jtv) } + case "FieldPath": if value != nil { jtv, ok := value.(string) @@ -13109,6 +13220,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.FieldPath = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -13117,10 +13229,12 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.RegistrationAttachmentId = ptr.String(jtv) } + case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } + case "TextValue": if value != nil { jtv, ok := value.(string) @@ -13129,6 +13243,7 @@ func awsAwsjson10_deserializeDocumentRegistrationFieldValueInformation(v **types } sv.TextValue = ptr.String(jtv) } + default: _, _ = key, value @@ -13198,6 +13313,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } + case "ApprovedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13210,6 +13326,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.ApprovedVersionNumber = ptr.Int64(i64) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13225,6 +13342,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } } + case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13237,6 +13355,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.CurrentVersionNumber = ptr.Int64(i64) } + case "LatestDeniedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13249,6 +13368,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.LatestDeniedVersionNumber = ptr.Int64(i64) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -13257,6 +13377,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -13265,6 +13386,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -13273,6 +13395,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -13281,6 +13404,7 @@ func awsAwsjson10_deserializeDocumentRegistrationInformation(v **types.Registrat } sv.RegistrationType = ptr.String(jtv) } + default: _, _ = key, value @@ -13350,6 +13474,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDefinition(v **types.Reg if err := awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(&sv.DisplayHints, value); err != nil { return err } + case "SectionPath": if value != nil { jtv, ok := value.(string) @@ -13358,6 +13483,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDefinition(v **types.Reg } sv.SectionPath = ptr.String(jtv) } + default: _, _ = key, value @@ -13431,6 +13557,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.DocumentationLink = ptr.String(jtv) } + case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13439,6 +13566,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.DocumentationTitle = ptr.String(jtv) } + case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13447,6 +13575,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.LongDescription = ptr.String(jtv) } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13455,6 +13584,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.ShortDescription = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -13463,6 +13593,7 @@ func awsAwsjson10_deserializeDocumentRegistrationSectionDisplayHints(v **types.R } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -13498,6 +13629,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDefinition(v **types.Regist if err := awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(&sv.DisplayHints, value); err != nil { return err } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -13506,10 +13638,12 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDefinition(v **types.Regist } sv.RegistrationType = ptr.String(jtv) } + case "SupportedAssociations": if err := awsAwsjson10_deserializeDocumentSupportedAssociationList(&sv.SupportedAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -13583,6 +13717,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.DocumentationLink = ptr.String(jtv) } + case "DocumentationTitle": if value != nil { jtv, ok := value.(string) @@ -13591,6 +13726,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.DocumentationTitle = ptr.String(jtv) } + case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -13599,6 +13735,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.LongDescription = ptr.String(jtv) } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -13607,6 +13744,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.ShortDescription = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -13615,6 +13753,7 @@ func awsAwsjson10_deserializeDocumentRegistrationTypeDisplayHints(v **types.Regi } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -13650,6 +13789,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re if err := awsAwsjson10_deserializeDocumentRegistrationDeniedReasonInformationList(&sv.DeniedReasons, value); err != nil { return err } + case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -13658,10 +13798,12 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } + case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -13674,6 +13816,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionInformation(v **types.Re } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -13754,6 +13897,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "ArchivedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13769,6 +13913,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "DeniedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13784,6 +13929,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "DiscardedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13799,6 +13945,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "DraftTimestamp": if value != nil { switch jtv := value.(type) { @@ -13814,6 +13961,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "ReviewingTimestamp": if value != nil { switch jtv := value.(type) { @@ -13829,6 +13977,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "RevokedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13844,6 +13993,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + case "SubmittedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13859,6 +14009,7 @@ func awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(v **types. } } + default: _, _ = key, value @@ -13898,6 +14049,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -13906,6 +14058,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13914,6 +14067,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -13989,6 +14143,7 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Description = ptr.String(jtv) } + case "Option": if value != nil { jtv, ok := value.(string) @@ -13997,6 +14152,7 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Option = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -14005,6 +14161,7 @@ func awsAwsjson10_deserializeDocumentSelectOptionDescription(v **types.SelectOpt } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -14082,6 +14239,7 @@ func awsAwsjson10_deserializeDocumentSelectValidation(v **types.SelectValidation } sv.MaxChoices = ptr.Int32(int32(i64)) } + case "MinChoices": if value != nil { jtv, ok := value.(json.Number) @@ -14094,10 +14252,12 @@ func awsAwsjson10_deserializeDocumentSelectValidation(v **types.SelectValidation } sv.MinChoices = ptr.Int32(int32(i64)) } + case "Options": if err := awsAwsjson10_deserializeDocumentStringList(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -14137,6 +14297,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -14145,10 +14306,12 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -14157,6 +14320,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "Registered": if value != nil { jtv, ok := value.(bool) @@ -14165,6 +14329,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.Registered = jtv } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -14173,6 +14338,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.RegistrationId = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -14181,6 +14347,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.SenderId = ptr.String(jtv) } + case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -14189,6 +14356,7 @@ func awsAwsjson10_deserializeDocumentSenderIdInformation(v **types.SenderIdInfor } sv.SenderIdArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14262,6 +14430,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -14270,6 +14439,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } + default: _, _ = key, value @@ -14309,6 +14479,7 @@ func awsAwsjson10_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -14352,6 +14523,7 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.EnforcedLimit = i64 } + case "MaxLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14364,6 +14536,7 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.MaxLimit = i64 } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14372,6 +14545,7 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.Name = types.SpendLimitName(jtv) } + case "Overridden": if value != nil { jtv, ok := value.(bool) @@ -14380,6 +14554,7 @@ func awsAwsjson10_deserializeDocumentSpendLimit(v **types.SpendLimit, value inte } sv.Overridden = jtv } + default: _, _ = key, value @@ -14525,6 +14700,7 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.AssociationBehavior = types.RegistrationAssociationBehavior(jtv) } + case "DisassociationBehavior": if value != nil { jtv, ok := value.(string) @@ -14533,6 +14709,7 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.DisassociationBehavior = types.RegistrationDisassociationBehavior(jtv) } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -14541,6 +14718,7 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.IsoCountryCode = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14549,6 +14727,7 @@ func awsAwsjson10_deserializeDocumentSupportedAssociation(v **types.SupportedAss } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14622,6 +14801,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14630,6 +14810,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14707,6 +14888,7 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.MaxLength = ptr.Int32(int32(i64)) } + case "MinLength": if value != nil { jtv, ok := value.(json.Number) @@ -14719,6 +14901,7 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.MinLength = ptr.Int32(int32(i64)) } + case "Pattern": if value != nil { jtv, ok := value.(string) @@ -14727,6 +14910,7 @@ func awsAwsjson10_deserializeDocumentTextValidation(v **types.TextValidation, va } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -14766,6 +14950,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14801,6 +14986,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14809,6 +14995,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -14817,6 +15004,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -14856,6 +15044,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14864,6 +15053,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14944,6 +15134,7 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } } + case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -14952,6 +15143,7 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.DestinationPhoneNumber = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14960,6 +15152,7 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.Status = types.VerificationStatus(jtv) } + case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -14968,6 +15161,7 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } + case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -14976,6 +15170,7 @@ func awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformation(v **ty } sv.VerifiedDestinationNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -15049,6 +15244,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.IsoCountryCode = ptr.String(jtv) } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -15057,6 +15253,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -15065,6 +15262,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.OriginationIdentityArn = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -15073,6 +15271,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -15081,6 +15280,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateOriginationIdentityOutput(v **As } sv.PoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -15120,6 +15320,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15128,6 +15329,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ConfigurationSetName = ptr.String(jtv) } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -15136,6 +15338,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -15144,6 +15347,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateProtectConfigurationOutput(v **A } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -15183,6 +15387,7 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15191,6 +15396,7 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } sv.ConfigurationSetName = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15206,10 +15412,12 @@ func awsAwsjson10_deserializeOpDocumentCreateConfigurationSetOutput(v **CreateCo } } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15249,6 +15457,7 @@ func awsAwsjson10_deserializeOpDocumentCreateEventDestinationOutput(v **CreateEv } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -15257,10 +15466,12 @@ func awsAwsjson10_deserializeOpDocumentCreateEventDestinationOutput(v **CreateEv } sv.ConfigurationSetName = ptr.String(jtv) } + case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } + default: _, _ = key, value @@ -15307,6 +15518,7 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -15315,6 +15527,7 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -15323,10 +15536,12 @@ func awsAwsjson10_deserializeOpDocumentCreateOptOutListOutput(v **CreateOptOutLi } sv.OptOutListName = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15373,6 +15588,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15381,6 +15597,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.DeletionProtectionEnabled = jtv } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -15389,6 +15606,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.MessageType = types.MessageType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -15397,6 +15615,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -15405,6 +15624,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -15413,6 +15633,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.PoolId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15421,6 +15642,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } + case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -15429,6 +15651,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.SharedRoutesEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15437,10 +15660,12 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.Status = types.PoolStatus(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -15449,6 +15674,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -15457,6 +15683,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -15465,6 +15692,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePoolOutput(v **CreatePoolOutput, va } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -15504,6 +15732,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.AccountDefault = jtv } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15519,6 +15748,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -15527,6 +15757,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.DeletionProtectionEnabled = jtv } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -15535,6 +15766,7 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -15543,10 +15775,12 @@ func awsAwsjson10_deserializeOpDocumentCreateProtectConfigurationOutput(v **Crea } sv.ProtectConfigurationId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15586,6 +15820,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.IsoCountryCode = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15594,6 +15829,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.PhoneNumber = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -15602,6 +15838,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -15610,6 +15847,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -15618,6 +15856,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.RegistrationType = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -15626,6 +15865,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15634,6 +15874,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15642,6 +15883,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAssociationOutput(v **C } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15681,6 +15923,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.AttachmentStatus = types.AttachmentStatus(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15696,6 +15939,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } } + case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -15704,6 +15948,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.RegistrationAttachmentArn = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -15712,10 +15957,12 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationAttachmentOutput(v **Cr } sv.RegistrationAttachmentId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15751,6 +15998,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15766,6 +16014,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } } + case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15778,6 +16027,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.CurrentVersionNumber = ptr.Int64(i64) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -15786,6 +16036,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -15794,6 +16045,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -15802,6 +16054,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -15810,10 +16063,12 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationOutput(v **CreateRegist } sv.RegistrationType = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15853,6 +16108,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -15861,6 +16117,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -15869,10 +16126,12 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } + case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -15885,6 +16144,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRegistrationVersionOutput(v **Creat } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -15931,6 +16191,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } } + case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -15939,6 +16200,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.DestinationPhoneNumber = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15947,10 +16209,12 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.Status = types.VerificationStatus(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -15959,6 +16223,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } + case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -15967,6 +16232,7 @@ func awsAwsjson10_deserializeOpDocumentCreateVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -16006,6 +16272,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteAccountDefaultProtectConfigurationO } sv.DefaultProtectConfigurationArn = ptr.String(jtv) } + case "DefaultProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -16014,6 +16281,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteAccountDefaultProtectConfigurationO } sv.DefaultProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -16053,6 +16321,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16061,6 +16330,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.ConfigurationSetName = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16076,6 +16346,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } } + case "DefaultMessageType": if value != nil { jtv, ok := value.(string) @@ -16084,6 +16355,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.DefaultMessageType = types.MessageType(jtv) } + case "DefaultSenderId": if value != nil { jtv, ok := value.(string) @@ -16092,10 +16364,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteConfigurationSetOutput(v **DeleteCo } sv.DefaultSenderId = ptr.String(jtv) } + case "EventDestinations": if err := awsAwsjson10_deserializeDocumentEventDestinationList(&sv.EventDestinations, value); err != nil { return err } + default: _, _ = key, value @@ -16135,6 +16409,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16143,6 +16418,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.ConfigurationSetName = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -16151,6 +16427,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultMessageTypeOutput(v **Delete } sv.MessageType = types.MessageType(jtv) } + default: _, _ = key, value @@ -16190,6 +16467,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16198,6 +16476,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.ConfigurationSetName = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -16206,6 +16485,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDefaultSenderIdOutput(v **DeleteDef } sv.SenderId = ptr.String(jtv) } + default: _, _ = key, value @@ -16245,6 +16525,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteEventDestinationOutput(v **DeleteEv } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -16253,10 +16534,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteEventDestinationOutput(v **DeleteEv } sv.ConfigurationSetName = ptr.String(jtv) } + case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } + default: _, _ = key, value @@ -16296,6 +16579,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.Keyword = ptr.String(jtv) } + case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -16304,6 +16588,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.KeywordAction = types.KeywordAction(jtv) } + case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -16312,6 +16597,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.KeywordMessage = ptr.String(jtv) } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -16320,6 +16606,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -16328,6 +16615,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteKeywordOutput(v **DeleteKeywordOutp } sv.OriginationIdentityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16371,6 +16659,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteMediaMessageSpendLimitOverrideOutpu } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -16410,6 +16699,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.EndUserOptedOut = jtv } + case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -16418,6 +16708,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptedOutNumber = ptr.String(jtv) } + case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -16433,6 +16724,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -16441,6 +16733,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16449,6 +16742,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptedOutNumberOutput(v **DeleteOpte } sv.OptOutListName = ptr.String(jtv) } + default: _, _ = key, value @@ -16495,6 +16789,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -16503,6 +16798,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16511,6 +16807,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteOptOutListOutput(v **DeleteOptOutLi } sv.OptOutListName = ptr.String(jtv) } + default: _, _ = key, value @@ -16557,6 +16854,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -16565,6 +16863,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.MessageType = types.MessageType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -16573,6 +16872,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -16581,6 +16881,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -16589,6 +16890,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.PoolId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -16597,6 +16899,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } + case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -16605,6 +16908,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.SharedRoutesEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16613,6 +16917,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.Status = types.PoolStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -16621,6 +16926,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -16629,6 +16935,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -16637,6 +16944,7 @@ func awsAwsjson10_deserializeOpDocumentDeletePoolOutput(v **DeletePoolOutput, va } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -16676,6 +16984,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.AccountDefault = jtv } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16691,6 +17000,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16699,6 +17009,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.DeletionProtectionEnabled = jtv } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -16707,6 +17018,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -16715,6 +17027,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteProtectConfigurationOutput(v **Dele } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -16754,6 +17067,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.AttachmentStatus = types.AttachmentStatus(jtv) } + case "AttachmentUploadErrorReason": if value != nil { jtv, ok := value.(string) @@ -16762,6 +17076,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.AttachmentUploadErrorReason = types.AttachmentUploadErrorReason(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16777,6 +17092,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } } + case "RegistrationAttachmentArn": if value != nil { jtv, ok := value.(string) @@ -16785,6 +17101,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.RegistrationAttachmentArn = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -16793,6 +17110,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationAttachmentOutput(v **De } sv.RegistrationAttachmentId = ptr.String(jtv) } + default: _, _ = key, value @@ -16832,6 +17150,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.FieldPath = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -16840,6 +17159,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -16848,6 +17168,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationAttachmentId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -16856,10 +17177,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.RegistrationId = ptr.String(jtv) } + case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } + case "TextValue": if value != nil { jtv, ok := value.(string) @@ -16868,6 +17191,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.TextValue = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16880,6 +17204,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationFieldValueOutput(v **De } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -16915,6 +17240,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist if err := awsAwsjson10_deserializeDocumentStringMap(&sv.AdditionalAttributes, value); err != nil { return err } + case "ApprovedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16927,6 +17253,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.ApprovedVersionNumber = ptr.Int64(i64) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -16942,6 +17269,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } } + case "CurrentVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16954,6 +17282,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.CurrentVersionNumber = ptr.Int64(i64) } + case "LatestDeniedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -16966,6 +17295,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.LatestDeniedVersionNumber = ptr.Int64(i64) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -16974,6 +17304,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -16982,6 +17313,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationStatus": if value != nil { jtv, ok := value.(string) @@ -16990,6 +17322,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -16998,6 +17331,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRegistrationOutput(v **DeleteRegist } sv.RegistrationType = ptr.String(jtv) } + default: _, _ = key, value @@ -17044,6 +17378,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -17052,6 +17387,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Policy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -17060,6 +17396,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17103,6 +17440,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTextMessageSpendLimitOverrideOutput } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -17149,6 +17487,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } } + case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -17157,6 +17496,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.DestinationPhoneNumber = ptr.String(jtv) } + case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -17165,6 +17505,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } + case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -17173,6 +17514,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVerifiedDestinationNumberOutput(v * } sv.VerifiedDestinationNumberId = ptr.String(jtv) } + default: _, _ = key, value @@ -17216,6 +17558,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteVoiceMessageSpendLimitOverrideOutpu } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -17251,6 +17594,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr if err := awsAwsjson10_deserializeDocumentAccountAttributeList(&sv.AccountAttributes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17259,6 +17603,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountAttributesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17294,6 +17639,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountLimitsOutput(v **DescribeA if err := awsAwsjson10_deserializeDocumentAccountLimitList(&sv.AccountLimits, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17302,6 +17648,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountLimitsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17337,6 +17684,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeConfigurationSetsOutput(v **Descr if err := awsAwsjson10_deserializeDocumentConfigurationSetInformationList(&sv.ConfigurationSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17345,6 +17693,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeConfigurationSetsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17380,6 +17729,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor if err := awsAwsjson10_deserializeDocumentKeywordInformationList(&sv.Keywords, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -17388,6 +17738,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.NextToken = ptr.String(jtv) } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -17396,6 +17747,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -17404,6 +17756,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeKeywordsOutput(v **DescribeKeywor } sv.OriginationIdentityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17443,10 +17796,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "OptedOutNumbers": if err := awsAwsjson10_deserializeDocumentOptedOutNumberInformationList(&sv.OptedOutNumbers, value); err != nil { return err } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -17455,6 +17810,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -17463,6 +17819,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptedOutNumbersOutput(v **Describ } sv.OptOutListName = ptr.String(jtv) } + default: _, _ = key, value @@ -17502,10 +17859,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeOptOutListsOutput(v **DescribeOpt } sv.NextToken = ptr.String(jtv) } + case "OptOutLists": if err := awsAwsjson10_deserializeDocumentOptOutListInformationList(&sv.OptOutLists, value); err != nil { return err } + default: _, _ = key, value @@ -17545,10 +17904,12 @@ func awsAwsjson10_deserializeOpDocumentDescribePhoneNumbersOutput(v **DescribePh } sv.NextToken = ptr.String(jtv) } + case "PhoneNumbers": if err := awsAwsjson10_deserializeDocumentPhoneNumberInformationList(&sv.PhoneNumbers, value); err != nil { return err } + default: _, _ = key, value @@ -17588,10 +17949,12 @@ func awsAwsjson10_deserializeOpDocumentDescribePoolsOutput(v **DescribePoolsOutp } sv.NextToken = ptr.String(jtv) } + case "Pools": if err := awsAwsjson10_deserializeDocumentPoolInformationList(&sv.Pools, value); err != nil { return err } + default: _, _ = key, value @@ -17631,10 +17994,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeProtectConfigurationsOutput(v **D } sv.NextToken = ptr.String(jtv) } + case "ProtectConfigurations": if err := awsAwsjson10_deserializeDocumentProtectConfigurationInformationList(&sv.ProtectConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -17674,10 +18039,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationAttachmentsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "RegistrationAttachments": if err := awsAwsjson10_deserializeDocumentRegistrationAttachmentsInformationList(&sv.RegistrationAttachments, value); err != nil { return err } + default: _, _ = key, value @@ -17717,10 +18084,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldDefinitionsOutpu } sv.NextToken = ptr.String(jtv) } + case "RegistrationFieldDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationFieldDefinitionList(&sv.RegistrationFieldDefinitions, value); err != nil { return err } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -17729,6 +18098,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldDefinitionsOutpu } sv.RegistrationType = ptr.String(jtv) } + default: _, _ = key, value @@ -17768,6 +18138,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -17776,10 +18147,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationFieldValues": if err := awsAwsjson10_deserializeDocumentRegistrationFieldValueInformationList(&sv.RegistrationFieldValues, value); err != nil { return err } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -17788,6 +18161,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.RegistrationId = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -17800,6 +18174,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationFieldValuesOutput(v * } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -17839,10 +18214,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationSectionDefinitionsOut } sv.NextToken = ptr.String(jtv) } + case "RegistrationSectionDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationSectionDefinitionList(&sv.RegistrationSectionDefinitions, value); err != nil { return err } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -17851,6 +18228,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationSectionDefinitionsOut } sv.RegistrationType = ptr.String(jtv) } + default: _, _ = key, value @@ -17890,10 +18268,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationsOutput(v **DescribeR } sv.NextToken = ptr.String(jtv) } + case "Registrations": if err := awsAwsjson10_deserializeDocumentRegistrationInformationList(&sv.Registrations, value); err != nil { return err } + default: _, _ = key, value @@ -17933,10 +18313,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationTypeDefinitionsOutput } sv.NextToken = ptr.String(jtv) } + case "RegistrationTypeDefinitions": if err := awsAwsjson10_deserializeDocumentRegistrationTypeDefinitionList(&sv.RegistrationTypeDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -17976,6 +18358,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.NextToken = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -17984,6 +18367,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -17992,10 +18376,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeRegistrationVersionsOutput(v **De } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationVersions": if err := awsAwsjson10_deserializeDocumentRegistrationVersionInformationList(&sv.RegistrationVersions, value); err != nil { return err } + default: _, _ = key, value @@ -18035,10 +18421,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeSenderIdsOutput(v **DescribeSende } sv.NextToken = ptr.String(jtv) } + case "SenderIds": if err := awsAwsjson10_deserializeDocumentSenderIdInformationList(&sv.SenderIds, value); err != nil { return err } + default: _, _ = key, value @@ -18078,10 +18466,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpendLimitsOutput(v **DescribeSpe } sv.NextToken = ptr.String(jtv) } + case "SpendLimits": if err := awsAwsjson10_deserializeDocumentSpendLimitList(&sv.SpendLimits, value); err != nil { return err } + default: _, _ = key, value @@ -18121,10 +18511,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeVerifiedDestinationNumbersOutput( } sv.NextToken = ptr.String(jtv) } + case "VerifiedDestinationNumbers": if err := awsAwsjson10_deserializeDocumentVerifiedDestinationNumberInformationList(&sv.VerifiedDestinationNumbers, value); err != nil { return err } + default: _, _ = key, value @@ -18164,6 +18556,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.IsoCountryCode = ptr.String(jtv) } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -18172,6 +18565,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -18180,6 +18574,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.OriginationIdentityArn = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -18188,6 +18583,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18196,6 +18592,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateOriginationIdentityOutput(v * } sv.PoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -18235,6 +18632,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -18243,6 +18641,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ConfigurationSetName = ptr.String(jtv) } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -18251,6 +18650,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -18259,6 +18659,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateProtectConfigurationOutput(v } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -18298,6 +18699,7 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18306,6 +18708,7 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -18314,10 +18717,12 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } + case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18330,6 +18735,7 @@ func awsAwsjson10_deserializeOpDocumentDiscardRegistrationVersionOutput(v **Disc } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -18365,6 +18771,7 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp if err := awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSet(&sv.CountryRuleSet, value); err != nil { return err } + case "NumberCapability": if value != nil { jtv, ok := value.(string) @@ -18373,6 +18780,7 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.NumberCapability = types.NumberCapability(jtv) } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -18381,6 +18789,7 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -18389,6 +18798,7 @@ func awsAwsjson10_deserializeOpDocumentGetProtectConfigurationCountryRuleSetOutp } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -18435,6 +18845,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -18443,6 +18854,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18451,6 +18863,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18490,10 +18903,12 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "OriginationIdentities": if err := awsAwsjson10_deserializeDocumentOriginationIdentityMetadataList(&sv.OriginationIdentities, value); err != nil { return err } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -18502,6 +18917,7 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18510,6 +18926,7 @@ func awsAwsjson10_deserializeOpDocumentListPoolOriginationIdentitiesOutput(v **L } sv.PoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -18549,6 +18966,7 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -18557,10 +18975,12 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationAssociations": if err := awsAwsjson10_deserializeDocumentRegistrationAssociationMetadataList(&sv.RegistrationAssociations, value); err != nil { return err } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18569,6 +18989,7 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationType": if value != nil { jtv, ok := value.(string) @@ -18577,6 +18998,7 @@ func awsAwsjson10_deserializeOpDocumentListRegistrationAssociationsOutput(v **Li } sv.RegistrationType = ptr.String(jtv) } + default: _, _ = key, value @@ -18616,10 +19038,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -18659,6 +19083,7 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.Keyword = ptr.String(jtv) } + case "KeywordAction": if value != nil { jtv, ok := value.(string) @@ -18667,6 +19092,7 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.KeywordAction = types.KeywordAction(jtv) } + case "KeywordMessage": if value != nil { jtv, ok := value.(string) @@ -18675,6 +19101,7 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.KeywordMessage = ptr.String(jtv) } + case "OriginationIdentity": if value != nil { jtv, ok := value.(string) @@ -18683,6 +19110,7 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.OriginationIdentity = ptr.String(jtv) } + case "OriginationIdentityArn": if value != nil { jtv, ok := value.(string) @@ -18691,6 +19119,7 @@ func awsAwsjson10_deserializeOpDocumentPutKeywordOutput(v **PutKeywordOutput, va } sv.OriginationIdentityArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18730,6 +19159,7 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.EndUserOptedOut = jtv } + case "OptedOutNumber": if value != nil { jtv, ok := value.(string) @@ -18738,6 +19168,7 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptedOutNumber = ptr.String(jtv) } + case "OptedOutTimestamp": if value != nil { switch jtv := value.(type) { @@ -18753,6 +19184,7 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } } + case "OptOutListArn": if value != nil { jtv, ok := value.(string) @@ -18761,6 +19193,7 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptOutListArn = ptr.String(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -18769,6 +19202,7 @@ func awsAwsjson10_deserializeOpDocumentPutOptedOutNumberOutput(v **PutOptedOutNu } sv.OptOutListName = ptr.String(jtv) } + default: _, _ = key, value @@ -18808,6 +19242,7 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.FieldPath = ptr.String(jtv) } + case "RegistrationArn": if value != nil { jtv, ok := value.(string) @@ -18816,6 +19251,7 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationAttachmentId": if value != nil { jtv, ok := value.(string) @@ -18824,6 +19260,7 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationAttachmentId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -18832,10 +19269,12 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.RegistrationId = ptr.String(jtv) } + case "SelectChoices": if err := awsAwsjson10_deserializeDocumentSelectChoiceList(&sv.SelectChoices, value); err != nil { return err } + case "TextValue": if value != nil { jtv, ok := value.(string) @@ -18844,6 +19283,7 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.TextValue = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18856,6 +19296,7 @@ func awsAwsjson10_deserializeOpDocumentPutRegistrationFieldValueOutput(v **PutRe } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -18902,6 +19343,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -18910,6 +19352,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18918,6 +19361,7 @@ func awsAwsjson10_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18964,6 +19408,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -18972,6 +19417,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -18980,6 +19426,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.MessageType = types.MessageType(jtv) } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -18988,10 +19435,12 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } + case "NumberType": if value != nil { jtv, ok := value.(string) @@ -19000,6 +19449,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.NumberType = types.NumberType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -19008,6 +19458,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.OptOutListName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -19016,6 +19467,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -19024,6 +19476,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -19032,6 +19485,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.PhoneNumberId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19040,6 +19494,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.RegistrationId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -19048,6 +19503,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.SelfManagedOptOutsEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19056,6 +19512,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.Status = types.NumberStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -19064,6 +19521,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -19072,6 +19530,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -19080,6 +19539,7 @@ func awsAwsjson10_deserializeOpDocumentReleasePhoneNumberOutput(v **ReleasePhone } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -19119,10 +19579,12 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19131,6 +19593,7 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "Registered": if value != nil { jtv, ok := value.(bool) @@ -19139,6 +19602,7 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.Registered = jtv } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19147,6 +19611,7 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.RegistrationId = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -19155,6 +19620,7 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.SenderId = ptr.String(jtv) } + case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -19163,6 +19629,7 @@ func awsAwsjson10_deserializeOpDocumentReleaseSenderIdOutput(v **ReleaseSenderId } sv.SenderIdArn = ptr.String(jtv) } + default: _, _ = key, value @@ -19209,6 +19676,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -19217,6 +19685,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -19225,6 +19694,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -19233,6 +19703,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.MessageType = types.MessageType(jtv) } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19241,10 +19712,12 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } + case "NumberType": if value != nil { jtv, ok := value.(string) @@ -19253,6 +19726,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.NumberType = types.RequestableNumberType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -19261,6 +19735,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.OptOutListName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -19269,6 +19744,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -19277,6 +19753,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -19285,6 +19762,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PhoneNumberId = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -19293,6 +19771,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.PoolId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19301,6 +19780,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.RegistrationId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -19309,6 +19789,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.SelfManagedOptOutsEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19317,10 +19798,12 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.Status = types.NumberStatus(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -19329,6 +19812,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -19337,6 +19821,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -19345,6 +19830,7 @@ func awsAwsjson10_deserializeOpDocumentRequestPhoneNumberOutput(v **RequestPhone } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -19384,6 +19870,7 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -19392,10 +19879,12 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -19404,6 +19893,7 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "Registered": if value != nil { jtv, ok := value.(bool) @@ -19412,6 +19902,7 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.Registered = jtv } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -19420,6 +19911,7 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.SenderId = ptr.String(jtv) } + case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -19428,10 +19920,12 @@ func awsAwsjson10_deserializeOpDocumentRequestSenderIdOutput(v **RequestSenderId } sv.SenderIdArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19471,6 +19965,7 @@ func awsAwsjson10_deserializeOpDocumentSendDestinationNumberVerificationCodeOutp } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -19510,6 +20005,7 @@ func awsAwsjson10_deserializeOpDocumentSendMediaMessageOutput(v **SendMediaMessa } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -19549,6 +20045,7 @@ func awsAwsjson10_deserializeOpDocumentSendTextMessageOutput(v **SendTextMessage } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -19588,6 +20085,7 @@ func awsAwsjson10_deserializeOpDocumentSendVoiceMessageOutput(v **SendVoiceMessa } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -19627,6 +20125,7 @@ func awsAwsjson10_deserializeOpDocumentSetAccountDefaultProtectConfigurationOutp } sv.DefaultProtectConfigurationArn = ptr.String(jtv) } + case "DefaultProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -19635,6 +20134,7 @@ func awsAwsjson10_deserializeOpDocumentSetAccountDefaultProtectConfigurationOutp } sv.DefaultProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -19674,6 +20174,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -19682,6 +20183,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.ConfigurationSetName = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -19690,6 +20192,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultMessageTypeOutput(v **SetDefaul } sv.MessageType = types.MessageType(jtv) } + default: _, _ = key, value @@ -19729,6 +20232,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -19737,6 +20241,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.ConfigurationSetName = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -19745,6 +20250,7 @@ func awsAwsjson10_deserializeOpDocumentSetDefaultSenderIdOutput(v **SetDefaultSe } sv.SenderId = ptr.String(jtv) } + default: _, _ = key, value @@ -19788,6 +20294,7 @@ func awsAwsjson10_deserializeOpDocumentSetMediaMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -19831,6 +20338,7 @@ func awsAwsjson10_deserializeOpDocumentSetTextMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -19874,6 +20382,7 @@ func awsAwsjson10_deserializeOpDocumentSetVoiceMessageSpendLimitOverrideOutput(v } sv.MonthlyLimit = ptr.Int64(i64) } + default: _, _ = key, value @@ -19913,6 +20422,7 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationArn = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -19921,6 +20431,7 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationId = ptr.String(jtv) } + case "RegistrationVersionStatus": if value != nil { jtv, ok := value.(string) @@ -19929,10 +20440,12 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.RegistrationVersionStatus = types.RegistrationVersionStatus(jtv) } + case "RegistrationVersionStatusHistory": if err := awsAwsjson10_deserializeDocumentRegistrationVersionStatusHistory(&sv.RegistrationVersionStatusHistory, value); err != nil { return err } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19945,6 +20458,7 @@ func awsAwsjson10_deserializeOpDocumentSubmitRegistrationVersionOutput(v **Submi } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -20046,6 +20560,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEventDestinationOutput(v **UpdateEv } sv.ConfigurationSetArn = ptr.String(jtv) } + case "ConfigurationSetName": if value != nil { jtv, ok := value.(string) @@ -20054,10 +20569,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateEventDestinationOutput(v **UpdateEv } sv.ConfigurationSetName = ptr.String(jtv) } + case "EventDestination": if err := awsAwsjson10_deserializeDocumentEventDestination(&sv.EventDestination, value); err != nil { return err } + default: _, _ = key, value @@ -20104,6 +20621,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -20112,6 +20630,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -20120,6 +20639,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -20128,6 +20648,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.MessageType = types.MessageType(jtv) } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -20136,10 +20657,12 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "NumberCapabilities": if err := awsAwsjson10_deserializeDocumentNumberCapabilityList(&sv.NumberCapabilities, value); err != nil { return err } + case "NumberType": if value != nil { jtv, ok := value.(string) @@ -20148,6 +20671,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.NumberType = types.NumberType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -20156,6 +20680,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.OptOutListName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -20164,6 +20689,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumber = ptr.String(jtv) } + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) @@ -20172,6 +20698,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberArn = ptr.String(jtv) } + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -20180,6 +20707,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.PhoneNumberId = ptr.String(jtv) } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -20188,6 +20716,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.RegistrationId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -20196,6 +20725,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.SelfManagedOptOutsEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20204,6 +20734,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.Status = types.NumberStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -20212,6 +20743,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -20220,6 +20752,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -20228,6 +20761,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNu } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -20274,6 +20808,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -20282,6 +20817,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.DeletionProtectionEnabled = jtv } + case "MessageType": if value != nil { jtv, ok := value.(string) @@ -20290,6 +20826,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.MessageType = types.MessageType(jtv) } + case "OptOutListName": if value != nil { jtv, ok := value.(string) @@ -20298,6 +20835,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.OptOutListName = ptr.String(jtv) } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -20306,6 +20844,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -20314,6 +20853,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.PoolId = ptr.String(jtv) } + case "SelfManagedOptOutsEnabled": if value != nil { jtv, ok := value.(bool) @@ -20322,6 +20862,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.SelfManagedOptOutsEnabled = jtv } + case "SharedRoutesEnabled": if value != nil { jtv, ok := value.(bool) @@ -20330,6 +20871,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.SharedRoutesEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20338,6 +20880,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.Status = types.PoolStatus(jtv) } + case "TwoWayChannelArn": if value != nil { jtv, ok := value.(string) @@ -20346,6 +20889,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayChannelArn = ptr.String(jtv) } + case "TwoWayChannelRole": if value != nil { jtv, ok := value.(string) @@ -20354,6 +20898,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayChannelRole = ptr.String(jtv) } + case "TwoWayEnabled": if value != nil { jtv, ok := value.(bool) @@ -20362,6 +20907,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePoolOutput(v **UpdatePoolOutput, va } sv.TwoWayEnabled = jtv } + default: _, _ = key, value @@ -20397,6 +20943,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO if err := awsAwsjson10_deserializeDocumentProtectConfigurationCountryRuleSet(&sv.CountryRuleSet, value); err != nil { return err } + case "NumberCapability": if value != nil { jtv, ok := value.(string) @@ -20405,6 +20952,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.NumberCapability = types.NumberCapability(jtv) } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -20413,6 +20961,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -20421,6 +20970,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationCountryRuleSetO } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -20460,6 +21010,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.AccountDefault = jtv } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -20475,6 +21026,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -20483,6 +21035,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.DeletionProtectionEnabled = jtv } + case "ProtectConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -20491,6 +21044,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.ProtectConfigurationArn = ptr.String(jtv) } + case "ProtectConfigurationId": if value != nil { jtv, ok := value.(string) @@ -20499,6 +21053,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateProtectConfigurationOutput(v **Upda } sv.ProtectConfigurationId = ptr.String(jtv) } + default: _, _ = key, value @@ -20538,6 +21093,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.DeletionProtectionEnabled = jtv } + case "IsoCountryCode": if value != nil { jtv, ok := value.(string) @@ -20546,10 +21102,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.IsoCountryCode = ptr.String(jtv) } + case "MessageTypes": if err := awsAwsjson10_deserializeDocumentMessageTypeList(&sv.MessageTypes, value); err != nil { return err } + case "MonthlyLeasingPrice": if value != nil { jtv, ok := value.(string) @@ -20558,6 +21116,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.MonthlyLeasingPrice = ptr.String(jtv) } + case "Registered": if value != nil { jtv, ok := value.(bool) @@ -20566,6 +21125,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.Registered = jtv } + case "RegistrationId": if value != nil { jtv, ok := value.(string) @@ -20574,6 +21134,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.RegistrationId = ptr.String(jtv) } + case "SenderId": if value != nil { jtv, ok := value.(string) @@ -20582,6 +21143,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.SenderId = ptr.String(jtv) } + case "SenderIdArn": if value != nil { jtv, ok := value.(string) @@ -20590,6 +21152,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateSenderIdOutput(v **UpdateSenderIdOu } sv.SenderIdArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20636,6 +21199,7 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } } + case "DestinationPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -20644,6 +21208,7 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.DestinationPhoneNumber = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20652,6 +21217,7 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.Status = types.VerificationStatus(jtv) } + case "VerifiedDestinationNumberArn": if value != nil { jtv, ok := value.(string) @@ -20660,6 +21226,7 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.VerifiedDestinationNumberArn = ptr.String(jtv) } + case "VerifiedDestinationNumberId": if value != nil { jtv, ok := value.(string) @@ -20668,6 +21235,7 @@ func awsAwsjson10_deserializeOpDocumentVerifyDestinationNumberOutput(v **VerifyD } sv.VerifiedDestinationNumberId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/pipes/deserializers.go b/service/pipes/deserializers.go index 882219e8c2f..496d067f402 100644 --- a/service/pipes/deserializers.go +++ b/service/pipes/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -206,6 +207,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -214,6 +216,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -222,6 +225,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.DesiredState = types.RequestedPipeState(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -237,6 +241,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -245,6 +250,7 @@ func awsRestjson1_deserializeOpDocumentCreatePipeOutput(v **CreatePipeOutput, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -412,6 +418,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -427,6 +434,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -435,6 +443,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -443,6 +452,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.DesiredState = types.RequestedPipeStateDescribeResponse(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -458,6 +468,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -466,6 +477,7 @@ func awsRestjson1_deserializeOpDocumentDeletePipeOutput(v **DeletePipeOutput, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -630,6 +642,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -645,6 +658,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -653,6 +667,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.CurrentState = types.PipeState(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -661,6 +676,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Description = ptr.String(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -669,6 +685,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.DesiredState = types.RequestedPipeStateDescribeResponse(jtv) } + case "Enrichment": if value != nil { jtv, ok := value.(string) @@ -677,10 +694,12 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Enrichment = ptr.String(jtv) } + case "EnrichmentParameters": if err := awsRestjson1_deserializeDocumentPipeEnrichmentParameters(&sv.EnrichmentParameters, value); err != nil { return err } + case "KmsKeyIdentifier": if value != nil { jtv, ok := value.(string) @@ -689,6 +708,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.KmsKeyIdentifier = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -704,10 +724,12 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentPipeLogConfiguration(&sv.LogConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -716,6 +738,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -724,6 +747,7 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.RoleArn = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -732,10 +756,12 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Source = ptr.String(jtv) } + case "SourceParameters": if err := awsRestjson1_deserializeDocumentPipeSourceParameters(&sv.SourceParameters, value); err != nil { return err } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -744,10 +770,12 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.StateReason = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Target": if value != nil { jtv, ok := value.(string) @@ -756,10 +784,12 @@ func awsRestjson1_deserializeOpDocumentDescribePipeOutput(v **DescribePipeOutput } sv.Target = ptr.String(jtv) } + case "TargetParameters": if err := awsRestjson1_deserializeDocumentPipeTargetParameters(&sv.TargetParameters, value); err != nil { return err } + default: _, _ = key, value @@ -921,10 +951,12 @@ func awsRestjson1_deserializeOpDocumentListPipesOutput(v **ListPipesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Pipes": if err := awsRestjson1_deserializeDocumentPipeList(&sv.Pipes, value); err != nil { return err } + default: _, _ = key, value @@ -1082,6 +1114,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1249,6 +1282,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1264,6 +1298,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1272,6 +1307,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1280,6 +1316,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.DesiredState = types.RequestedPipeState(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1295,6 +1332,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1303,6 +1341,7 @@ func awsRestjson1_deserializeOpDocumentStartPipeOutput(v **StartPipeOutput, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1470,6 +1509,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1485,6 +1525,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1493,6 +1534,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1501,6 +1543,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.DesiredState = types.RequestedPipeState(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1516,6 +1559,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1524,6 +1568,7 @@ func awsRestjson1_deserializeOpDocumentStopPipeOutput(v **StopPipeOutput, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1879,6 +1924,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1894,6 +1940,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -1902,6 +1949,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -1910,6 +1958,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.DesiredState = types.RequestedPipeState(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -1925,6 +1974,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1933,6 +1983,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePipeOutput(v **UpdatePipeOutput, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2228,14 +2279,17 @@ func awsRestjson1_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -2279,6 +2333,7 @@ func awsRestjson1_deserializeDocumentBatchArrayProperties(v **types.BatchArrayPr } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2314,10 +2369,12 @@ func awsRestjson1_deserializeDocumentBatchContainerOverrides(v **types.BatchCont if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "Environment": if err := awsRestjson1_deserializeDocumentBatchEnvironmentVariableList(&sv.Environment, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -2326,10 +2383,12 @@ func awsRestjson1_deserializeDocumentBatchContainerOverrides(v **types.BatchCont } sv.InstanceType = ptr.String(jtv) } + case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentBatchResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } + default: _, _ = key, value @@ -2403,6 +2462,7 @@ func awsRestjson1_deserializeDocumentBatchEnvironmentVariable(v **types.BatchEnv } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2411,6 +2471,7 @@ func awsRestjson1_deserializeDocumentBatchEnvironmentVariable(v **types.BatchEnv } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2484,6 +2545,7 @@ func awsRestjson1_deserializeDocumentBatchJobDependency(v **types.BatchJobDepend } sv.JobId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2492,6 +2554,7 @@ func awsRestjson1_deserializeDocumentBatchJobDependency(v **types.BatchJobDepend } sv.Type = types.BatchJobDependencyType(jtv) } + default: _, _ = key, value @@ -2567,6 +2630,7 @@ func awsRestjson1_deserializeDocumentBatchResourceRequirement(v **types.BatchRes } sv.Type = types.BatchResourceRequirementType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2575,6 +2639,7 @@ func awsRestjson1_deserializeDocumentBatchResourceRequirement(v **types.BatchRes } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2652,6 +2717,7 @@ func awsRestjson1_deserializeDocumentBatchRetryStrategy(v **types.BatchRetryStra } sv.Attempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2729,6 +2795,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } + case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -2737,6 +2804,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -2749,6 +2817,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -2788,6 +2857,7 @@ func awsRestjson1_deserializeDocumentCloudwatchLogsLogDestination(v **types.Clou } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2827,6 +2897,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2835,6 +2906,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2915,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2882,6 +2955,7 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2921,6 +2995,7 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionName = ptr.String(jtv) } + case "DimensionValue": if value != nil { jtv, ok := value.(string) @@ -2929,6 +3004,7 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValue = ptr.String(jtv) } + case "DimensionValueType": if value != nil { jtv, ok := value.(string) @@ -2937,6 +3013,7 @@ func awsRestjson1_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValueType = types.DimensionValueType(jtv) } + default: _, _ = key, value @@ -3006,6 +3083,7 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer if err := awsRestjson1_deserializeDocumentStringList(&sv.Command, value); err != nil { return err } + case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -3018,14 +3096,17 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Cpu = ptr.Int32(int32(i64)) } + case "Environment": if err := awsRestjson1_deserializeDocumentEcsEnvironmentVariableList(&sv.Environment, value); err != nil { return err } + case "EnvironmentFiles": if err := awsRestjson1_deserializeDocumentEcsEnvironmentFileList(&sv.EnvironmentFiles, value); err != nil { return err } + case "Memory": if value != nil { jtv, ok := value.(json.Number) @@ -3038,6 +3119,7 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Memory = ptr.Int32(int32(i64)) } + case "MemoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -3050,6 +3132,7 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.MemoryReservation = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3058,10 +3141,12 @@ func awsRestjson1_deserializeDocumentEcsContainerOverride(v **types.EcsContainer } sv.Name = ptr.String(jtv) } + case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentEcsResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } + default: _, _ = key, value @@ -3135,6 +3220,7 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentFile(v **types.EcsEnvironment } sv.Type = types.EcsEnvironmentFileType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3143,6 +3229,7 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentFile(v **types.EcsEnvironment } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3216,6 +3303,7 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentVariable(v **types.EcsEnviron } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3224,6 +3312,7 @@ func awsRestjson1_deserializeDocumentEcsEnvironmentVariable(v **types.EcsEnviron } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3301,6 +3390,7 @@ func awsRestjson1_deserializeDocumentEcsEphemeralStorage(v **types.EcsEphemeralS } sv.SizeInGiB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3340,6 +3430,7 @@ func awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverride(v **types.E } sv.DeviceName = ptr.String(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -3348,6 +3439,7 @@ func awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverride(v **types.E } sv.DeviceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3421,6 +3513,7 @@ func awsRestjson1_deserializeDocumentEcsResourceRequirement(v **types.EcsResourc } sv.Type = types.EcsResourceRequirementType(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3429,6 +3522,7 @@ func awsRestjson1_deserializeDocumentEcsResourceRequirement(v **types.EcsResourc } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3498,6 +3592,7 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, if err := awsRestjson1_deserializeDocumentEcsContainerOverrideList(&sv.ContainerOverrides, value); err != nil { return err } + case "Cpu": if value != nil { jtv, ok := value.(string) @@ -3506,10 +3601,12 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.Cpu = ptr.String(jtv) } + case "EphemeralStorage": if err := awsRestjson1_deserializeDocumentEcsEphemeralStorage(&sv.EphemeralStorage, value); err != nil { return err } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3518,10 +3615,12 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.ExecutionRoleArn = ptr.String(jtv) } + case "InferenceAcceleratorOverrides": if err := awsRestjson1_deserializeDocumentEcsInferenceAcceleratorOverrideList(&sv.InferenceAcceleratorOverrides, value); err != nil { return err } + case "Memory": if value != nil { jtv, ok := value.(string) @@ -3530,6 +3629,7 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.Memory = ptr.String(jtv) } + case "TaskRoleArn": if value != nil { jtv, ok := value.(string) @@ -3538,6 +3638,7 @@ func awsRestjson1_deserializeDocumentEcsTaskOverride(v **types.EcsTaskOverride, } sv.TaskRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3613,6 +3714,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Pattern = ptr.String(jtv) } + default: _, _ = key, value @@ -3648,6 +3750,7 @@ func awsRestjson1_deserializeDocumentFilterCriteria(v **types.FilterCriteria, va if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -3721,6 +3824,7 @@ func awsRestjson1_deserializeDocumentFirehoseLogDestination(v **types.FirehoseLo } sv.DeliveryStreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3832,6 +3936,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3844,6 +3949,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4015,6 +4121,7 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValue = ptr.String(jtv) } + case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -4023,6 +4130,7 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.MeasureValueType(jtv) } + case "MultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -4031,6 +4139,7 @@ func awsRestjson1_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MultiMeasureAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -4100,6 +4209,7 @@ func awsRestjson1_deserializeDocumentMultiMeasureMapping(v **types.MultiMeasureM if err := awsRestjson1_deserializeDocumentMultiMeasureAttributeMappings(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } + case "MultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -4108,6 +4218,7 @@ func awsRestjson1_deserializeDocumentMultiMeasureMapping(v **types.MultiMeasureM } sv.MultiMeasureName = ptr.String(jtv) } + default: _, _ = key, value @@ -4177,6 +4288,7 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4216,6 +4328,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4291,6 +4404,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4306,6 +4420,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } } + case "CurrentState": if value != nil { jtv, ok := value.(string) @@ -4314,6 +4429,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.CurrentState = types.PipeState(jtv) } + case "DesiredState": if value != nil { jtv, ok := value.(string) @@ -4322,6 +4438,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.DesiredState = types.RequestedPipeState(jtv) } + case "Enrichment": if value != nil { jtv, ok := value.(string) @@ -4330,6 +4447,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Enrichment = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4345,6 +4463,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4353,6 +4472,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -4361,6 +4481,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Source = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4369,6 +4490,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.StateReason = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -4377,6 +4499,7 @@ func awsRestjson1_deserializeDocumentPipe(v **types.Pipe, value interface{}) err } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -4412,14 +4535,17 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentHttpParameters(v **types.Pipe if err := awsRestjson1_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } + case "PathParameterValues": if err := awsRestjson1_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } + case "QueryStringParameters": if err := awsRestjson1_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -4455,6 +4581,7 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentParameters(v **types.PipeEnri if err := awsRestjson1_deserializeDocumentPipeEnrichmentHttpParameters(&sv.HttpParameters, value); err != nil { return err } + case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -4463,6 +4590,7 @@ func awsRestjson1_deserializeDocumentPipeEnrichmentParameters(v **types.PipeEnri } sv.InputTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -4532,14 +4660,17 @@ func awsRestjson1_deserializeDocumentPipeLogConfiguration(v **types.PipeLogConfi if err := awsRestjson1_deserializeDocumentCloudwatchLogsLogDestination(&sv.CloudwatchLogsLogDestination, value); err != nil { return err } + case "FirehoseLogDestination": if err := awsRestjson1_deserializeDocumentFirehoseLogDestination(&sv.FirehoseLogDestination, value); err != nil { return err } + case "IncludeExecutionData": if err := awsRestjson1_deserializeDocumentIncludeExecutionData(&sv.IncludeExecutionData, value); err != nil { return err } + case "Level": if value != nil { jtv, ok := value.(string) @@ -4548,10 +4679,12 @@ func awsRestjson1_deserializeDocumentPipeLogConfiguration(v **types.PipeLogConfi } sv.Level = types.LogLevel(jtv) } + case "S3LogDestination": if err := awsRestjson1_deserializeDocumentS3LogDestination(&sv.S3LogDestination, value); err != nil { return err } + default: _, _ = key, value @@ -4595,10 +4728,12 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } + case "Credentials": if err := awsRestjson1_deserializeDocumentMQBrokerAccessCredentials(&sv.Credentials, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4611,6 +4746,7 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "QueueName": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4755,7 @@ func awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(v **type } sv.QueueName = ptr.String(jtv) } + default: _, _ = key, value @@ -4662,10 +4799,12 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4678,6 +4817,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4690,6 +4830,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -4702,6 +4843,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "OnPartialBatchItemFailure": if value != nil { jtv, ok := value.(string) @@ -4710,6 +4852,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.OnPartialBatchItemFailure = types.OnPartialBatchItemFailureStreams(jtv) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -4722,6 +4865,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -4730,6 +4874,7 @@ func awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(v **type } sv.StartingPosition = types.DynamoDBStreamStartPosition(jtv) } + default: _, _ = key, value @@ -4773,10 +4918,12 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.BatchSize = ptr.Int32(int32(i64)) } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4789,6 +4936,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRecordAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4801,6 +4949,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumRecordAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -4813,6 +4962,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + case "OnPartialBatchItemFailure": if value != nil { jtv, ok := value.(string) @@ -4821,6 +4971,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.OnPartialBatchItemFailure = types.OnPartialBatchItemFailureStreams(jtv) } + case "ParallelizationFactor": if value != nil { jtv, ok := value.(json.Number) @@ -4833,6 +4984,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.ParallelizationFactor = ptr.Int32(int32(i64)) } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4993,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } sv.StartingPosition = types.KinesisStreamStartPosition(jtv) } + case "StartingPositionTimestamp": if value != nil { switch jtv := value.(type) { @@ -4856,6 +5009,7 @@ func awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(v **types } } + default: _, _ = key, value @@ -4899,6 +5053,7 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.BatchSize = ptr.Int32(int32(i64)) } + case "ConsumerGroupID": if value != nil { jtv, ok := value.(string) @@ -4907,10 +5062,12 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.ConsumerGroupID = ptr.String(jtv) } + case "Credentials": if err := awsRestjson1_deserializeDocumentMSKAccessCredentials(&sv.Credentials, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4923,6 +5080,7 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -4931,6 +5089,7 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.StartingPosition = types.MSKStartPosition(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -4939,6 +5098,7 @@ func awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(v } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -4974,34 +5134,42 @@ func awsRestjson1_deserializeDocumentPipeSourceParameters(v **types.PipeSourcePa if err := awsRestjson1_deserializeDocumentPipeSourceActiveMQBrokerParameters(&sv.ActiveMQBrokerParameters, value); err != nil { return err } + case "DynamoDBStreamParameters": if err := awsRestjson1_deserializeDocumentPipeSourceDynamoDBStreamParameters(&sv.DynamoDBStreamParameters, value); err != nil { return err } + case "FilterCriteria": if err := awsRestjson1_deserializeDocumentFilterCriteria(&sv.FilterCriteria, value); err != nil { return err } + case "KinesisStreamParameters": if err := awsRestjson1_deserializeDocumentPipeSourceKinesisStreamParameters(&sv.KinesisStreamParameters, value); err != nil { return err } + case "ManagedStreamingKafkaParameters": if err := awsRestjson1_deserializeDocumentPipeSourceManagedStreamingKafkaParameters(&sv.ManagedStreamingKafkaParameters, value); err != nil { return err } + case "RabbitMQBrokerParameters": if err := awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(&sv.RabbitMQBrokerParameters, value); err != nil { return err } + case "SelfManagedKafkaParameters": if err := awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(&sv.SelfManagedKafkaParameters, value); err != nil { return err } + case "SqsQueueParameters": if err := awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(&sv.SqsQueueParameters, value); err != nil { return err } + default: _, _ = key, value @@ -5045,10 +5213,12 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.BatchSize = ptr.Int32(int32(i64)) } + case "Credentials": if err := awsRestjson1_deserializeDocumentMQBrokerAccessCredentials(&sv.Credentials, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5061,6 +5231,7 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "QueueName": if value != nil { jtv, ok := value.(string) @@ -5069,6 +5240,7 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.QueueName = ptr.String(jtv) } + case "VirtualHost": if value != nil { jtv, ok := value.(string) @@ -5077,6 +5249,7 @@ func awsRestjson1_deserializeDocumentPipeSourceRabbitMQBrokerParameters(v **type } sv.VirtualHost = ptr.String(jtv) } + default: _, _ = key, value @@ -5112,6 +5285,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty if err := awsRestjson1_deserializeDocumentKafkaBootstrapServers(&sv.AdditionalBootstrapServers, value); err != nil { return err } + case "BatchSize": if value != nil { jtv, ok := value.(json.Number) @@ -5124,6 +5298,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.BatchSize = ptr.Int32(int32(i64)) } + case "ConsumerGroupID": if value != nil { jtv, ok := value.(string) @@ -5132,10 +5307,12 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.ConsumerGroupID = ptr.String(jtv) } + case "Credentials": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationCredentials(&sv.Credentials, value); err != nil { return err } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5148,6 +5325,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + case "ServerRootCaCertificate": if value != nil { jtv, ok := value.(string) @@ -5156,6 +5334,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.ServerRootCaCertificate = ptr.String(jtv) } + case "StartingPosition": if value != nil { jtv, ok := value.(string) @@ -5164,6 +5343,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.StartingPosition = types.SelfManagedKafkaStartPosition(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -5172,10 +5352,12 @@ func awsRestjson1_deserializeDocumentPipeSourceSelfManagedKafkaParameters(v **ty } sv.TopicName = ptr.String(jtv) } + case "Vpc": if err := awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationVpc(&sv.Vpc, value); err != nil { return err } + default: _, _ = key, value @@ -5219,6 +5401,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(v **types.Pipe } sv.BatchSize = ptr.Int32(int32(i64)) } + case "MaximumBatchingWindowInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5231,6 +5414,7 @@ func awsRestjson1_deserializeDocumentPipeSourceSqsQueueParameters(v **types.Pipe } sv.MaximumBatchingWindowInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5266,14 +5450,17 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe if err := awsRestjson1_deserializeDocumentBatchArrayProperties(&sv.ArrayProperties, value); err != nil { return err } + case "ContainerOverrides": if err := awsRestjson1_deserializeDocumentBatchContainerOverrides(&sv.ContainerOverrides, value); err != nil { return err } + case "DependsOn": if err := awsRestjson1_deserializeDocumentBatchDependsOn(&sv.DependsOn, value); err != nil { return err } + case "JobDefinition": if value != nil { jtv, ok := value.(string) @@ -5282,6 +5469,7 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe } sv.JobDefinition = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -5290,14 +5478,17 @@ func awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(v **types.Pipe } sv.JobName = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentBatchParametersMap(&sv.Parameters, value); err != nil { return err } + case "RetryStrategy": if err := awsRestjson1_deserializeDocumentBatchRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + default: _, _ = key, value @@ -5337,6 +5528,7 @@ func awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(v **type } sv.LogStreamName = ptr.String(jtv) } + case "Timestamp": if value != nil { jtv, ok := value.(string) @@ -5345,6 +5537,7 @@ func awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(v **type } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -5380,6 +5573,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT if err := awsRestjson1_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -5388,6 +5582,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.EnableECSManagedTags = jtv } + case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -5396,6 +5591,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.EnableExecuteCommand = jtv } + case "Group": if value != nil { jtv, ok := value.(string) @@ -5404,6 +5600,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.Group = ptr.String(jtv) } + case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -5412,22 +5609,27 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.LaunchType = types.LaunchType(jtv) } + case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "Overrides": if err := awsRestjson1_deserializeDocumentEcsTaskOverride(&sv.Overrides, value); err != nil { return err } + case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "PlacementStrategy": if err := awsRestjson1_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -5436,6 +5638,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.PlatformVersion = ptr.String(jtv) } + case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -5444,6 +5647,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.PropagateTags = types.PropagateTags(jtv) } + case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -5452,10 +5656,12 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.ReferenceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -5468,6 +5674,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.TaskCount = ptr.Int32(int32(i64)) } + case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -5476,6 +5683,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(v **types.PipeT } sv.TaskDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5515,6 +5723,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.DetailType = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -5523,10 +5732,12 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.EndpointId = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentEventBridgeEventResourceList(&sv.Resources, value); err != nil { return err } + case "Source": if value != nil { jtv, ok := value.(string) @@ -5535,6 +5746,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.Source = ptr.String(jtv) } + case "Time": if value != nil { jtv, ok := value.(string) @@ -5543,6 +5755,7 @@ func awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(v * } sv.Time = ptr.String(jtv) } + default: _, _ = key, value @@ -5578,14 +5791,17 @@ func awsRestjson1_deserializeDocumentPipeTargetHttpParameters(v **types.PipeTarg if err := awsRestjson1_deserializeDocumentHeaderParametersMap(&sv.HeaderParameters, value); err != nil { return err } + case "PathParameterValues": if err := awsRestjson1_deserializeDocumentPathParameterList(&sv.PathParameterValues, value); err != nil { return err } + case "QueryStringParameters": if err := awsRestjson1_deserializeDocumentQueryStringParametersMap(&sv.QueryStringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -5625,6 +5841,7 @@ func awsRestjson1_deserializeDocumentPipeTargetKinesisStreamParameters(v **types } sv.PartitionKey = ptr.String(jtv) } + default: _, _ = key, value @@ -5664,6 +5881,7 @@ func awsRestjson1_deserializeDocumentPipeTargetLambdaFunctionParameters(v **type } sv.InvocationType = types.PipeTargetInvocationType(jtv) } + default: _, _ = key, value @@ -5699,22 +5917,27 @@ func awsRestjson1_deserializeDocumentPipeTargetParameters(v **types.PipeTargetPa if err := awsRestjson1_deserializeDocumentPipeTargetBatchJobParameters(&sv.BatchJobParameters, value); err != nil { return err } + case "CloudWatchLogsParameters": if err := awsRestjson1_deserializeDocumentPipeTargetCloudWatchLogsParameters(&sv.CloudWatchLogsParameters, value); err != nil { return err } + case "EcsTaskParameters": if err := awsRestjson1_deserializeDocumentPipeTargetEcsTaskParameters(&sv.EcsTaskParameters, value); err != nil { return err } + case "EventBridgeEventBusParameters": if err := awsRestjson1_deserializeDocumentPipeTargetEventBridgeEventBusParameters(&sv.EventBridgeEventBusParameters, value); err != nil { return err } + case "HttpParameters": if err := awsRestjson1_deserializeDocumentPipeTargetHttpParameters(&sv.HttpParameters, value); err != nil { return err } + case "InputTemplate": if value != nil { jtv, ok := value.(string) @@ -5723,34 +5946,42 @@ func awsRestjson1_deserializeDocumentPipeTargetParameters(v **types.PipeTargetPa } sv.InputTemplate = ptr.String(jtv) } + case "KinesisStreamParameters": if err := awsRestjson1_deserializeDocumentPipeTargetKinesisStreamParameters(&sv.KinesisStreamParameters, value); err != nil { return err } + case "LambdaFunctionParameters": if err := awsRestjson1_deserializeDocumentPipeTargetLambdaFunctionParameters(&sv.LambdaFunctionParameters, value); err != nil { return err } + case "RedshiftDataParameters": if err := awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(&sv.RedshiftDataParameters, value); err != nil { return err } + case "SageMakerPipelineParameters": if err := awsRestjson1_deserializeDocumentPipeTargetSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } + case "SqsQueueParameters": if err := awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(&sv.SqsQueueParameters, value); err != nil { return err } + case "StepFunctionStateMachineParameters": if err := awsRestjson1_deserializeDocumentPipeTargetStateMachineParameters(&sv.StepFunctionStateMachineParameters, value); err != nil { return err } + case "TimestreamParameters": if err := awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(&sv.TimestreamParameters, value); err != nil { return err } + default: _, _ = key, value @@ -5790,6 +6021,7 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.Database = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -5798,6 +6030,7 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.DbUser = ptr.String(jtv) } + case "SecretManagerArn": if value != nil { jtv, ok := value.(string) @@ -5806,10 +6039,12 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.SecretManagerArn = ptr.String(jtv) } + case "Sqls": if err := awsRestjson1_deserializeDocumentSqls(&sv.Sqls, value); err != nil { return err } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -5818,6 +6053,7 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.StatementName = ptr.String(jtv) } + case "WithEvent": if value != nil { jtv, ok := value.(bool) @@ -5826,6 +6062,7 @@ func awsRestjson1_deserializeDocumentPipeTargetRedshiftDataParameters(v **types. } sv.WithEvent = jtv } + default: _, _ = key, value @@ -5861,6 +6098,7 @@ func awsRestjson1_deserializeDocumentPipeTargetSageMakerPipelineParameters(v **t if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } + default: _, _ = key, value @@ -5900,6 +6138,7 @@ func awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(v **types.Pipe } sv.MessageDeduplicationId = ptr.String(jtv) } + case "MessageGroupId": if value != nil { jtv, ok := value.(string) @@ -5908,6 +6147,7 @@ func awsRestjson1_deserializeDocumentPipeTargetSqsQueueParameters(v **types.Pipe } sv.MessageGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -5947,6 +6187,7 @@ func awsRestjson1_deserializeDocumentPipeTargetStateMachineParameters(v **types. } sv.InvocationType = types.PipeTargetInvocationType(jtv) } + default: _, _ = key, value @@ -5982,6 +6223,7 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi if err := awsRestjson1_deserializeDocumentDimensionMappings(&sv.DimensionMappings, value); err != nil { return err } + case "EpochTimeUnit": if value != nil { jtv, ok := value.(string) @@ -5990,14 +6232,17 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.EpochTimeUnit = types.EpochTimeUnit(jtv) } + case "MultiMeasureMappings": if err := awsRestjson1_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } + case "SingleMeasureMappings": if err := awsRestjson1_deserializeDocumentSingleMeasureMappings(&sv.SingleMeasureMappings, value); err != nil { return err } + case "TimeFieldType": if value != nil { jtv, ok := value.(string) @@ -6006,6 +6251,7 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimeFieldType = types.TimeFieldType(jtv) } + case "TimestampFormat": if value != nil { jtv, ok := value.(string) @@ -6014,6 +6260,7 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimestampFormat = ptr.String(jtv) } + case "TimeValue": if value != nil { jtv, ok := value.(string) @@ -6022,6 +6269,7 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.TimeValue = ptr.String(jtv) } + case "VersionValue": if value != nil { jtv, ok := value.(string) @@ -6030,6 +6278,7 @@ func awsRestjson1_deserializeDocumentPipeTargetTimestreamParameters(v **types.Pi } sv.VersionValue = ptr.String(jtv) } + default: _, _ = key, value @@ -6069,6 +6318,7 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6077,6 +6327,7 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } + default: _, _ = key, value @@ -6184,6 +6435,7 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6192,6 +6444,7 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } + default: _, _ = key, value @@ -6267,6 +6520,7 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.BucketName = ptr.String(jtv) } + case "BucketOwner": if value != nil { jtv, ok := value.(string) @@ -6275,6 +6529,7 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.BucketOwner = ptr.String(jtv) } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6538,7 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.OutputFormat = types.S3OutputFormat(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -6291,6 +6547,7 @@ func awsRestjson1_deserializeDocumentS3LogDestination(v **types.S3LogDestination } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -6330,6 +6587,7 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6338,6 +6596,7 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6557,10 +6816,12 @@ func awsRestjson1_deserializeDocumentSelfManagedKafkaAccessConfigurationVpc(v ** if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroup, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -6600,6 +6861,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6608,6 +6870,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6616,6 +6879,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6624,6 +6888,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6632,6 +6897,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6671,6 +6937,7 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureName = ptr.String(jtv) } + case "MeasureValue": if value != nil { jtv, ok := value.(string) @@ -6679,6 +6946,7 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureValue = ptr.String(jtv) } + case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -6687,6 +6955,7 @@ func awsRestjson1_deserializeDocumentSingleMeasureMapping(v **types.SingleMeasur } sv.MeasureValueType = types.MeasureValueType(jtv) } + default: _, _ = key, value @@ -6904,6 +7173,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6912,6 +7182,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7021,6 +7292,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7029,6 +7301,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7041,6 +7314,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7049,6 +7323,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7084,6 +7359,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7092,6 +7368,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7131,6 +7408,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7417,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/polly/deserializers.go b/service/polly/deserializers.go index b2d28b3ea63..13a1b72852d 100644 --- a/service/polly/deserializers.go +++ b/service/polly/deserializers.go @@ -270,10 +270,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVoicesOutput(v **DescribeVoicesOu } sv.NextToken = ptr.String(jtv) } + case "Voices": if err := awsRestjson1_deserializeDocumentVoiceList(&sv.Voices, value); err != nil { return err } + default: _, _ = key, value @@ -428,10 +430,12 @@ func awsRestjson1_deserializeOpDocumentGetLexiconOutput(v **GetLexiconOutput, va if err := awsRestjson1_deserializeDocumentLexicon(&sv.Lexicon, value); err != nil { return err } + case "LexiconAttributes": if err := awsRestjson1_deserializeDocumentLexiconAttributes(&sv.LexiconAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -589,6 +593,7 @@ func awsRestjson1_deserializeOpDocumentGetSpeechSynthesisTaskOutput(v **GetSpeec if err := awsRestjson1_deserializeDocumentSynthesisTask(&sv.SynthesisTask, value); err != nil { return err } + default: _, _ = key, value @@ -743,6 +748,7 @@ func awsRestjson1_deserializeOpDocumentListLexiconsOutput(v **ListLexiconsOutput if err := awsRestjson1_deserializeDocumentLexiconDescriptionList(&sv.Lexicons, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -751,6 +757,7 @@ func awsRestjson1_deserializeOpDocumentListLexiconsOutput(v **ListLexiconsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -909,10 +916,12 @@ func awsRestjson1_deserializeOpDocumentListSpeechSynthesisTasksOutput(v **ListSp } sv.NextToken = ptr.String(jtv) } + case "SynthesisTasks": if err := awsRestjson1_deserializeDocumentSynthesisTasks(&sv.SynthesisTasks, value); err != nil { return err } + default: _, _ = key, value @@ -1203,6 +1212,7 @@ func awsRestjson1_deserializeOpDocumentStartSpeechSynthesisTaskOutput(v **StartS if err := awsRestjson1_deserializeDocumentSynthesisTask(&sv.SynthesisTask, value); err != nil { return err } + default: _, _ = key, value @@ -2186,6 +2196,7 @@ func awsRestjson1_deserializeDocumentEngineNotSupportedException(v **types.Engin } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2225,6 +2236,7 @@ func awsRestjson1_deserializeDocumentInvalidLexiconException(v **types.InvalidLe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2264,6 +2276,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2303,6 +2316,7 @@ func awsRestjson1_deserializeDocumentInvalidS3BucketException(v **types.InvalidS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2342,6 +2356,7 @@ func awsRestjson1_deserializeDocumentInvalidS3KeyException(v **types.InvalidS3Ke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2381,6 +2396,7 @@ func awsRestjson1_deserializeDocumentInvalidSampleRateException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2420,6 +2436,7 @@ func awsRestjson1_deserializeDocumentInvalidSnsTopicArnException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2459,6 +2476,7 @@ func awsRestjson1_deserializeDocumentInvalidSsmlException(v **types.InvalidSsmlE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2498,6 +2516,7 @@ func awsRestjson1_deserializeDocumentInvalidTaskIdException(v **types.InvalidTas } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2573,6 +2592,7 @@ func awsRestjson1_deserializeDocumentLanguageNotSupportedException(v **types.Lan } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2612,6 +2632,7 @@ func awsRestjson1_deserializeDocumentLexicon(v **types.Lexicon, value interface{ } sv.Content = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2620,6 +2641,7 @@ func awsRestjson1_deserializeDocumentLexicon(v **types.Lexicon, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2659,6 +2681,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.Alphabet = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -2667,6 +2690,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -2682,6 +2706,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } } + case "LexemesCount": if value != nil { jtv, ok := value.(json.Number) @@ -2694,6 +2719,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LexemesCount = int32(i64) } + case "LexiconArn": if value != nil { jtv, ok := value.(string) @@ -2702,6 +2728,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.LexiconArn = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -2714,6 +2741,7 @@ func awsRestjson1_deserializeDocumentLexiconAttributes(v **types.LexiconAttribut } sv.Size = int32(i64) } + default: _, _ = key, value @@ -2749,6 +2777,7 @@ func awsRestjson1_deserializeDocumentLexiconDescription(v **types.LexiconDescrip if err := awsRestjson1_deserializeDocumentLexiconAttributes(&sv.Attributes, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2757,6 +2786,7 @@ func awsRestjson1_deserializeDocumentLexiconDescription(v **types.LexiconDescrip } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2866,6 +2896,7 @@ func awsRestjson1_deserializeDocumentLexiconNotFoundException(v **types.LexiconN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2905,6 +2936,7 @@ func awsRestjson1_deserializeDocumentLexiconSizeExceededException(v **types.Lexi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2944,6 +2976,7 @@ func awsRestjson1_deserializeDocumentMarksNotSupportedForFormatException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2983,6 +3016,7 @@ func awsRestjson1_deserializeDocumentMaxLexemeLengthExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3022,6 +3056,7 @@ func awsRestjson1_deserializeDocumentMaxLexiconsNumberExceededException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3061,6 +3096,7 @@ func awsRestjson1_deserializeDocumentServiceFailureException(v **types.ServiceFa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3136,6 +3172,7 @@ func awsRestjson1_deserializeDocumentSsmlMarksNotSupportedForTextTypeException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3182,6 +3219,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -3190,6 +3228,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.Engine = types.Engine(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3198,10 +3237,12 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.LanguageCode = types.LanguageCode(jtv) } + case "LexiconNames": if err := awsRestjson1_deserializeDocumentLexiconNameList(&sv.LexiconNames, value); err != nil { return err } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -3210,6 +3251,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.OutputFormat = types.OutputFormat(jtv) } + case "OutputUri": if value != nil { jtv, ok := value.(string) @@ -3218,6 +3260,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.OutputUri = ptr.String(jtv) } + case "RequestCharacters": if value != nil { jtv, ok := value.(json.Number) @@ -3230,6 +3273,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.RequestCharacters = int32(i64) } + case "SampleRate": if value != nil { jtv, ok := value.(string) @@ -3238,6 +3282,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.SampleRate = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -3246,10 +3291,12 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.SnsTopicArn = ptr.String(jtv) } + case "SpeechMarkTypes": if err := awsRestjson1_deserializeDocumentSpeechMarkTypeList(&sv.SpeechMarkTypes, value); err != nil { return err } + case "TaskId": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3305,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskId = ptr.String(jtv) } + case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -3266,6 +3314,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskStatus = types.TaskStatus(jtv) } + case "TaskStatusReason": if value != nil { jtv, ok := value.(string) @@ -3274,6 +3323,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TaskStatusReason = ptr.String(jtv) } + case "TextType": if value != nil { jtv, ok := value.(string) @@ -3282,6 +3332,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.TextType = types.TextType(jtv) } + case "VoiceId": if value != nil { jtv, ok := value.(string) @@ -3290,6 +3341,7 @@ func awsRestjson1_deserializeDocumentSynthesisTask(v **types.SynthesisTask, valu } sv.VoiceId = types.VoiceId(jtv) } + default: _, _ = key, value @@ -3329,6 +3381,7 @@ func awsRestjson1_deserializeDocumentSynthesisTaskNotFoundException(v **types.Sy } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3402,6 +3455,7 @@ func awsRestjson1_deserializeDocumentTextLengthExceededException(v **types.TextL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3441,6 +3495,7 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsAlphabetException(v **types.U } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3480,6 +3535,7 @@ func awsRestjson1_deserializeDocumentUnsupportedPlsLanguageException(v **types.U } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3515,6 +3571,7 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e if err := awsRestjson1_deserializeDocumentLanguageCodeList(&sv.AdditionalLanguageCodes, value); err != nil { return err } + case "Gender": if value != nil { jtv, ok := value.(string) @@ -3523,6 +3580,7 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Gender = types.Gender(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3531,6 +3589,7 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Id = types.VoiceId(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3539,6 +3598,7 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageName": if value != nil { jtv, ok := value.(string) @@ -3547,6 +3607,7 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.LanguageName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3555,10 +3616,12 @@ func awsRestjson1_deserializeDocumentVoice(v **types.Voice, value interface{}) e } sv.Name = ptr.String(jtv) } + case "SupportedEngines": if err := awsRestjson1_deserializeDocumentEngineList(&sv.SupportedEngines, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/pricing/deserializers.go b/service/pricing/deserializers.go index 815be032d88..c3d3df7d90e 100644 --- a/service/pricing/deserializers.go +++ b/service/pricing/deserializers.go @@ -975,6 +975,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1050,6 +1051,7 @@ func awsAwsjson11_deserializeDocumentAttributeValue(v **types.AttributeValue, va } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1123,6 +1125,7 @@ func awsAwsjson11_deserializeDocumentExpiredNextTokenException(v **types.Expired } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1198,6 +1201,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1237,6 +1241,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1276,6 +1281,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1315,6 +1321,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1354,10 +1361,12 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.CurrencyCode = ptr.String(jtv) } + case "FileFormats": if err := awsAwsjson11_deserializeDocumentFileFormats(&sv.FileFormats, value); err != nil { return err } + case "PriceListArn": if value != nil { jtv, ok := value.(string) @@ -1366,6 +1375,7 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.PriceListArn = ptr.String(jtv) } + case "RegionCode": if value != nil { jtv, ok := value.(string) @@ -1374,6 +1384,7 @@ func awsAwsjson11_deserializeDocumentPriceList(v **types.PriceList, value interf } sv.RegionCode = ptr.String(jtv) } + default: _, _ = key, value @@ -1483,6 +1494,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1518,6 +1530,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentAttributeNameList(&sv.AttributeNames, value); err != nil { return err } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -1526,6 +1539,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -1599,6 +1613,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1638,6 +1653,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic } sv.FormatVersion = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1646,10 +1662,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic } sv.NextToken = ptr.String(jtv) } + case "Services": if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -1685,6 +1703,7 @@ func awsAwsjson11_deserializeOpDocumentGetAttributeValuesOutput(v **GetAttribute if err := awsAwsjson11_deserializeDocumentAttributeValueList(&sv.AttributeValues, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1693,6 +1712,7 @@ func awsAwsjson11_deserializeOpDocumentGetAttributeValuesOutput(v **GetAttribute } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1732,6 +1752,7 @@ func awsAwsjson11_deserializeOpDocumentGetPriceListFileUrlOutput(v **GetPriceLis } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -1771,6 +1792,7 @@ func awsAwsjson11_deserializeOpDocumentGetProductsOutput(v **GetProductsOutput, } sv.FormatVersion = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1779,10 +1801,12 @@ func awsAwsjson11_deserializeOpDocumentGetProductsOutput(v **GetProductsOutput, } sv.NextToken = ptr.String(jtv) } + case "PriceList": if err := awsAwsjson11_deserializeDocumentPriceListJsonItems(&sv.PriceList, value); err != nil { return err } + default: _, _ = key, value @@ -1822,10 +1846,12 @@ func awsAwsjson11_deserializeOpDocumentListPriceListsOutput(v **ListPriceListsOu } sv.NextToken = ptr.String(jtv) } + case "PriceLists": if err := awsAwsjson11_deserializeDocumentPriceLists(&sv.PriceLists, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/privatenetworks/deserializers.go b/service/privatenetworks/deserializers.go index beba1bf3533..b5c5ec1c0d2 100644 --- a/service/privatenetworks/deserializers.go +++ b/service/privatenetworks/deserializers.go @@ -179,6 +179,7 @@ func awsRestjson1_deserializeOpDocumentAcknowledgeOrderReceiptOutput(v **Acknowl if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } + default: _, _ = key, value @@ -336,10 +337,12 @@ func awsRestjson1_deserializeOpDocumentActivateDeviceIdentifierOutput(v **Activa if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -497,6 +500,7 @@ func awsRestjson1_deserializeOpDocumentActivateNetworkSiteOutput(v **ActivateNet if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + default: _, _ = key, value @@ -654,6 +658,7 @@ func awsRestjson1_deserializeOpDocumentConfigureAccessPointOutput(v **ConfigureA if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.AccessPoint, value); err != nil { return err } + default: _, _ = key, value @@ -811,10 +816,12 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkOutput(v **CreateNetworkOutp if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -972,10 +979,12 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkSiteOutput(v **CreateNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1133,6 +1142,7 @@ func awsRestjson1_deserializeOpDocumentDeactivateDeviceIdentifierOutput(v **Deac if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -1293,6 +1303,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkOutput(v **DeleteNetworkOutp if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } + default: _, _ = key, value @@ -1453,6 +1464,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNetworkSiteOutput(v **DeleteNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + default: _, _ = key, value @@ -1610,10 +1622,12 @@ func awsRestjson1_deserializeOpDocumentGetDeviceIdentifierOutput(v **GetDeviceId if err := awsRestjson1_deserializeDocumentDeviceIdentifier(&sv.DeviceIdentifier, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1771,10 +1785,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkOutput(v **GetNetworkOutput, va if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1932,10 +1948,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkResourceOutput(v **GetNetworkRe if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.NetworkResource, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2093,10 +2111,12 @@ func awsRestjson1_deserializeOpDocumentGetNetworkSiteOutput(v **GetNetworkSiteOu if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2254,10 +2274,12 @@ func awsRestjson1_deserializeOpDocumentGetOrderOutput(v **GetOrderOutput, value if err := awsRestjson1_deserializeDocumentOrder(&sv.Order, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2415,6 +2437,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceIdentifiersOutput(v **ListDevic if err := awsRestjson1_deserializeDocumentDeviceIdentifierList(&sv.DeviceIdentifiers, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2423,6 +2446,7 @@ func awsRestjson1_deserializeOpDocumentListDeviceIdentifiersOutput(v **ListDevic } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2580,6 +2604,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkResourcesOutput(v **ListNetwor if err := awsRestjson1_deserializeDocumentNetworkResourceList(&sv.NetworkResources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2588,6 +2613,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkResourcesOutput(v **ListNetwor } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2745,6 +2771,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput if err := awsRestjson1_deserializeDocumentNetworkList(&sv.Networks, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2753,6 +2780,7 @@ func awsRestjson1_deserializeOpDocumentListNetworksOutput(v **ListNetworksOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2910,6 +2938,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkSitesOutput(v **ListNetworkSit if err := awsRestjson1_deserializeDocumentNetworkSiteList(&sv.NetworkSites, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2918,6 +2947,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkSitesOutput(v **ListNetworkSit } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3079,10 +3109,12 @@ func awsRestjson1_deserializeOpDocumentListOrdersOutput(v **ListOrdersOutput, va } sv.NextToken = ptr.String(jtv) } + case "orders": if err := awsRestjson1_deserializeDocumentOrderList(&sv.Orders, value); err != nil { return err } + default: _, _ = key, value @@ -3246,6 +3278,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3401,6 +3434,7 @@ func awsRestjson1_deserializeOpDocumentPingOutput(v **PingOutput, value interfac } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3558,6 +3592,7 @@ func awsRestjson1_deserializeOpDocumentStartNetworkResourceUpdateOutput(v **Star if err := awsRestjson1_deserializeDocumentNetworkResource(&sv.NetworkResource, value); err != nil { return err } + default: _, _ = key, value @@ -3915,10 +3950,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSiteOutput(v **UpdateNetwork if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4076,10 +4113,12 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSitePlanOutput(v **UpdateNet if err := awsRestjson1_deserializeDocumentNetworkSite(&sv.NetworkSite, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4355,6 +4394,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4394,6 +4434,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "company": if value != nil { jtv, ok := value.(string) @@ -4402,6 +4443,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Company = ptr.String(jtv) } + case "country": if value != nil { jtv, ok := value.(string) @@ -4410,6 +4452,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -4418,6 +4461,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.EmailAddress = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4426,6 +4470,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Name = ptr.String(jtv) } + case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -4434,6 +4479,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PhoneNumber = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -4442,6 +4488,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "stateOrProvince": if value != nil { jtv, ok := value.(string) @@ -4450,6 +4497,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrProvince = ptr.String(jtv) } + case "street1": if value != nil { jtv, ok := value.(string) @@ -4458,6 +4506,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street1 = ptr.String(jtv) } + case "street2": if value != nil { jtv, ok := value.(string) @@ -4466,6 +4515,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street2 = ptr.String(jtv) } + case "street3": if value != nil { jtv, ok := value.(string) @@ -4474,6 +4524,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street3 = ptr.String(jtv) } + default: _, _ = key, value @@ -4513,6 +4564,7 @@ func awsRestjson1_deserializeDocumentCommitmentConfiguration(v **types.Commitmen } sv.AutomaticRenewal = ptr.Bool(jtv) } + case "commitmentLength": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4573,7 @@ func awsRestjson1_deserializeDocumentCommitmentConfiguration(v **types.Commitmen } sv.CommitmentLength = types.CommitmentLength(jtv) } + default: _, _ = key, value @@ -4556,6 +4609,7 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI if err := awsRestjson1_deserializeDocumentCommitmentConfiguration(&sv.CommitmentConfiguration, value); err != nil { return err } + case "expiresOn": if value != nil { jtv, ok := value.(string) @@ -4568,6 +4622,7 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI } sv.ExpiresOn = ptr.Time(t) } + case "startAt": if value != nil { jtv, ok := value.(string) @@ -4580,6 +4635,7 @@ func awsRestjson1_deserializeDocumentCommitmentInformation(v **types.CommitmentI } sv.StartAt = ptr.Time(t) } + default: _, _ = key, value @@ -4623,6 +4679,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.CreatedAt = ptr.Time(t) } + case "deviceIdentifierArn": if value != nil { jtv, ok := value.(string) @@ -4631,6 +4688,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.DeviceIdentifierArn = ptr.String(jtv) } + case "iccid": if value != nil { jtv, ok := value.(string) @@ -4639,6 +4697,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Iccid = ptr.String(jtv) } + case "imsi": if value != nil { jtv, ok := value.(string) @@ -4647,6 +4706,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Imsi = ptr.String(jtv) } + case "networkArn": if value != nil { jtv, ok := value.(string) @@ -4655,6 +4715,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.NetworkArn = ptr.String(jtv) } + case "orderArn": if value != nil { jtv, ok := value.(string) @@ -4663,6 +4724,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.OrderArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4671,6 +4733,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Status = types.DeviceIdentifierStatus(jtv) } + case "trafficGroupArn": if value != nil { jtv, ok := value.(string) @@ -4679,6 +4742,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.TrafficGroupArn = ptr.String(jtv) } + case "vendor": if value != nil { jtv, ok := value.(string) @@ -4687,6 +4751,7 @@ func awsRestjson1_deserializeDocumentDeviceIdentifier(v **types.DeviceIdentifier } sv.Vendor = ptr.String(jtv) } + default: _, _ = key, value @@ -4760,6 +4825,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4772,6 +4838,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4811,6 +4878,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4850,6 +4918,7 @@ func awsRestjson1_deserializeDocumentNameValuePair(v **types.NameValuePair, valu } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -4858,6 +4927,7 @@ func awsRestjson1_deserializeDocumentNameValuePair(v **types.NameValuePair, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4935,6 +5005,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4943,6 +5014,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Description = ptr.String(jtv) } + case "networkArn": if value != nil { jtv, ok := value.(string) @@ -4951,6 +5023,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.NetworkArn = ptr.String(jtv) } + case "networkName": if value != nil { jtv, ok := value.(string) @@ -4959,6 +5032,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.NetworkName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4967,6 +5041,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Status = types.NetworkStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -4975,6 +5050,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5044,10 +5120,12 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, if err := awsRestjson1_deserializeDocumentNameValuePairs(&sv.Attributes, value); err != nil { return err } + case "commitmentInformation": if err := awsRestjson1_deserializeDocumentCommitmentInformation(&sv.CommitmentInformation, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5060,6 +5138,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5068,6 +5147,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Description = ptr.String(jtv) } + case "health": if value != nil { jtv, ok := value.(string) @@ -5076,6 +5156,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Health = types.HealthStatus(jtv) } + case "model": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5165,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Model = ptr.String(jtv) } + case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5174,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkArn = ptr.String(jtv) } + case "networkResourceArn": if value != nil { jtv, ok := value.(string) @@ -5100,6 +5183,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkResourceArn = ptr.String(jtv) } + case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5108,6 +5192,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.NetworkSiteArn = ptr.String(jtv) } + case "orderArn": if value != nil { jtv, ok := value.(string) @@ -5116,14 +5201,17 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.OrderArn = ptr.String(jtv) } + case "position": if err := awsRestjson1_deserializeDocumentPosition(&sv.Position, value); err != nil { return err } + case "returnInformation": if err := awsRestjson1_deserializeDocumentReturnInformation(&sv.ReturnInformation, value); err != nil { return err } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -5132,6 +5220,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.SerialNumber = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5140,6 +5229,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Status = types.NetworkResourceStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5148,6 +5238,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.StatusReason = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5156,6 +5247,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Type = types.NetworkResourceType(jtv) } + case "vendor": if value != nil { jtv, ok := value.(string) @@ -5164,6 +5256,7 @@ func awsRestjson1_deserializeDocumentNetworkResource(v **types.NetworkResource, } sv.Vendor = ptr.String(jtv) } + default: _, _ = key, value @@ -5207,10 +5300,12 @@ func awsRestjson1_deserializeDocumentNetworkResourceDefinition(v **types.Network } sv.Count = ptr.Int32(int32(i64)) } + case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -5219,6 +5314,7 @@ func awsRestjson1_deserializeDocumentNetworkResourceDefinition(v **types.Network } sv.Type = types.NetworkResourceDefinitionType(jtv) } + default: _, _ = key, value @@ -5326,6 +5422,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.AvailabilityZone = ptr.String(jtv) } + case "availabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -5334,6 +5431,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.AvailabilityZoneId = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5346,10 +5444,12 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.CreatedAt = ptr.Time(t) } + case "currentPlan": if err := awsRestjson1_deserializeDocumentSitePlan(&sv.CurrentPlan, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5358,6 +5458,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.Description = ptr.String(jtv) } + case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5366,6 +5467,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkArn = ptr.String(jtv) } + case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5374,6 +5476,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkSiteArn = ptr.String(jtv) } + case "networkSiteName": if value != nil { jtv, ok := value.(string) @@ -5382,10 +5485,12 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.NetworkSiteName = ptr.String(jtv) } + case "pendingPlan": if err := awsRestjson1_deserializeDocumentSitePlan(&sv.PendingPlan, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5394,6 +5499,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.Status = types.NetworkSiteStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -5402,6 +5508,7 @@ func awsRestjson1_deserializeDocumentNetworkSite(v **types.NetworkSite, value in } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -5509,6 +5616,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.AcknowledgmentStatus = types.AcknowledgmentStatus(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5521,6 +5629,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.CreatedAt = ptr.Time(t) } + case "networkArn": if value != nil { jtv, ok := value.(string) @@ -5529,6 +5638,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.NetworkArn = ptr.String(jtv) } + case "networkSiteArn": if value != nil { jtv, ok := value.(string) @@ -5537,6 +5647,7 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.NetworkSiteArn = ptr.String(jtv) } + case "orderArn": if value != nil { jtv, ok := value.(string) @@ -5545,18 +5656,22 @@ func awsRestjson1_deserializeDocumentOrder(v **types.Order, value interface{}) e } sv.OrderArn = ptr.String(jtv) } + case "orderedResources": if err := awsRestjson1_deserializeDocumentOrderedResourceDefinitions(&sv.OrderedResources, value); err != nil { return err } + case "shippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } + case "trackingInformation": if err := awsRestjson1_deserializeDocumentTrackingInformationList(&sv.TrackingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -5592,6 +5707,7 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered if err := awsRestjson1_deserializeDocumentCommitmentConfiguration(&sv.CommitmentConfiguration, value); err != nil { return err } + case "count": if value != nil { jtv, ok := value.(json.Number) @@ -5604,6 +5720,7 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered } sv.Count = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5612,6 +5729,7 @@ func awsRestjson1_deserializeDocumentOrderedResourceDefinition(v **types.Ordered } sv.Type = types.NetworkResourceDefinitionType(jtv) } + default: _, _ = key, value @@ -5744,6 +5862,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } + case "elevationReference": if value != nil { jtv, ok := value.(string) @@ -5752,6 +5871,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.ElevationReference = types.ElevationReference(jtv) } + case "elevationUnit": if value != nil { jtv, ok := value.(string) @@ -5760,6 +5880,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } sv.ElevationUnit = types.ElevationUnit(jtv) } + case "latitude": if value != nil { switch jtv := value.(type) { @@ -5793,6 +5914,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } + case "longitude": if value != nil { switch jtv := value.(type) { @@ -5826,6 +5948,7 @@ func awsRestjson1_deserializeDocumentPosition(v **types.Position, value interfac } } + default: _, _ = key, value @@ -5865,6 +5988,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5873,6 +5997,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5881,6 +6006,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5920,6 +6046,7 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ReplacementOrderArn = ptr.String(jtv) } + case "returnReason": if value != nil { jtv, ok := value.(string) @@ -5928,10 +6055,12 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ReturnReason = ptr.String(jtv) } + case "shippingAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.ShippingAddress, value); err != nil { return err } + case "shippingLabel": if value != nil { jtv, ok := value.(string) @@ -5940,6 +6069,7 @@ func awsRestjson1_deserializeDocumentReturnInformation(v **types.ReturnInformati } sv.ShippingLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -5975,10 +6105,12 @@ func awsRestjson1_deserializeDocumentSitePlan(v **types.SitePlan, value interfac if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "resourceDefinitions": if err := awsRestjson1_deserializeDocumentNetworkResourceDefinitions(&sv.ResourceDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -6054,6 +6186,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6093,6 +6226,7 @@ func awsRestjson1_deserializeDocumentTrackingInformation(v **types.TrackingInfor } sv.TrackingNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -6162,6 +6296,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6170,6 +6305,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6178,6 +6314,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -6217,6 +6354,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6225,6 +6363,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/proton/deserializers.go b/service/proton/deserializers.go index 803d9ef2f24..1ec257772b9 100644 --- a/service/proton/deserializers.go +++ b/service/proton/deserializers.go @@ -11143,6 +11143,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11182,10 +11183,12 @@ func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PipelineCodebuildRoleArn = ptr.String(jtv) } + case "pipelineProvisioningRepository": if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.PipelineProvisioningRepository, value); err != nil { return err } + case "pipelineServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -11194,6 +11197,7 @@ func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PipelineServiceRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11233,6 +11237,7 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.Com } sv.MajorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -11241,6 +11246,7 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.Com } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -11314,6 +11320,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11329,6 +11336,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11337,6 +11345,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11345,6 +11354,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11363,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Description = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -11361,6 +11372,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.EnvironmentName = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11369,6 +11381,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastClientRequestToken": if value != nil { jtv, ok := value.(string) @@ -11377,6 +11390,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastClientRequestToken = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -11392,6 +11406,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -11407,6 +11422,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -11422,6 +11438,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11430,6 +11447,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11438,6 +11456,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.Name = ptr.String(jtv) } + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -11446,6 +11465,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11454,6 +11474,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceName = ptr.String(jtv) } + case "serviceSpec": if value != nil { jtv, ok := value.(string) @@ -11462,6 +11483,7 @@ func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interf } sv.ServiceSpec = ptr.String(jtv) } + default: _, _ = key, value @@ -11537,6 +11559,7 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11545,6 +11568,7 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceName = ptr.String(jtv) } + case "serviceSpec": if value != nil { jtv, ok := value.(string) @@ -11553,6 +11577,7 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.ServiceSpec = ptr.String(jtv) } + case "templateFile": if value != nil { jtv, ok := value.(string) @@ -11561,6 +11586,7 @@ func awsAwsjson10_deserializeDocumentComponentState(v **types.ComponentState, va } sv.TemplateFile = ptr.String(jtv) } + default: _, _ = key, value @@ -11600,6 +11626,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11615,6 +11642,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11623,6 +11651,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11631,6 +11660,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -11639,6 +11669,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.EnvironmentName = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11647,6 +11678,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -11662,6 +11694,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -11677,6 +11710,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -11692,6 +11726,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11700,6 +11735,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11708,6 +11744,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Name = ptr.String(jtv) } + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -11716,6 +11753,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11724,6 +11762,7 @@ func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -11797,6 +11836,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11832,30 +11872,37 @@ func awsAwsjson10_deserializeDocumentCountsSummary(v **types.CountsSummary, valu if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Components, value); err != nil { return err } + case "environments": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Environments, value); err != nil { return err } + case "environmentTemplates": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.EnvironmentTemplates, value); err != nil { return err } + case "pipelines": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Pipelines, value); err != nil { return err } + case "serviceInstances": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.ServiceInstances, value); err != nil { return err } + case "services": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.Services, value); err != nil { return err } + case "serviceTemplates": if err := awsAwsjson10_deserializeDocumentResourceCountsSummary(&sv.ServiceTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -11895,6 +11942,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Arn = ptr.String(jtv) } + case "completedAt": if value != nil { switch jtv := value.(type) { @@ -11910,6 +11958,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -11918,6 +11967,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ComponentName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11933,6 +11983,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11941,6 +11992,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11949,6 +12001,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -11957,6 +12010,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11965,10 +12019,12 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.Id = ptr.String(jtv) } + case "initialState": if err := awsAwsjson10_deserializeDocumentDeploymentState(&sv.InitialState, value); err != nil { return err } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -11977,6 +12033,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -11992,6 +12049,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12000,6 +12058,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -12008,6 +12067,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -12016,6 +12076,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.ServiceName = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12024,6 +12085,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetArn = ptr.String(jtv) } + case "targetResourceCreatedAt": if value != nil { switch jtv := value.(type) { @@ -12039,6 +12101,7 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -12047,10 +12110,12 @@ func awsAwsjson10_deserializeDocumentDeployment(v **types.Deployment, value inte } sv.TargetResourceType = types.DeploymentTargetResourceType(jtv) } + case "targetState": if err := awsAwsjson10_deserializeDocumentDeploymentState(&sv.TargetState, value); err != nil { return err } + default: _, _ = key, value @@ -12160,6 +12225,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Arn = ptr.String(jtv) } + case "completedAt": if value != nil { switch jtv := value.(type) { @@ -12175,6 +12241,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "componentName": if value != nil { jtv, ok := value.(string) @@ -12183,6 +12250,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ComponentName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12198,6 +12266,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12206,6 +12275,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12214,6 +12284,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12222,6 +12293,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.Id = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12230,6 +12302,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12245,6 +12318,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12253,6 +12327,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -12261,6 +12336,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -12269,6 +12345,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.ServiceName = ptr.String(jtv) } + case "targetArn": if value != nil { jtv, ok := value.(string) @@ -12277,6 +12354,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.TargetArn = ptr.String(jtv) } + case "targetResourceCreatedAt": if value != nil { switch jtv := value.(type) { @@ -12292,6 +12370,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } } + case "targetResourceType": if value != nil { jtv, ok := value.(string) @@ -12300,6 +12379,7 @@ func awsAwsjson10_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma } sv.TargetResourceType = types.DeploymentTargetResourceType(jtv) } + default: _, _ = key, value @@ -12373,6 +12453,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } + case "codebuildRoleArn": if value != nil { jtv, ok := value.(string) @@ -12381,6 +12462,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.CodebuildRoleArn = ptr.String(jtv) } + case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12389,6 +12471,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ComponentRoleArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12404,6 +12487,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12412,6 +12496,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12420,6 +12505,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12428,6 +12514,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Description = ptr.String(jtv) } + case "environmentAccountConnectionId": if value != nil { jtv, ok := value.(string) @@ -12436,6 +12523,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentAccountConnectionId = ptr.String(jtv) } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12444,6 +12532,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.EnvironmentAccountId = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12452,6 +12541,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -12467,6 +12557,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -12482,6 +12573,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -12490,6 +12582,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12498,6 +12591,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "protonServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -12506,6 +12600,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ProtonServiceRoleArn = ptr.String(jtv) } + case "provisioning": if value != nil { jtv, ok := value.(string) @@ -12514,10 +12609,12 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Provisioning = types.Provisioning(jtv) } + case "provisioningRepository": if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.ProvisioningRepository, value); err != nil { return err } + case "spec": if value != nil { jtv, ok := value.(string) @@ -12526,6 +12623,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -12534,6 +12632,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -12542,6 +12641,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -12550,6 +12650,7 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -12589,6 +12690,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Arn = ptr.String(jtv) } + case "codebuildRoleArn": if value != nil { jtv, ok := value.(string) @@ -12597,6 +12699,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.CodebuildRoleArn = ptr.String(jtv) } + case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12605,6 +12708,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.ComponentRoleArn = ptr.String(jtv) } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12613,6 +12717,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.EnvironmentAccountId = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12621,6 +12726,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12629,6 +12735,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Id = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12644,6 +12751,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } } + case "managementAccountId": if value != nil { jtv, ok := value.(string) @@ -12652,6 +12760,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.ManagementAccountId = ptr.String(jtv) } + case "requestedAt": if value != nil { switch jtv := value.(type) { @@ -12667,6 +12776,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12675,6 +12785,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12683,6 +12794,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi } sv.Status = types.EnvironmentAccountConnectionStatus(jtv) } + default: _, _ = key, value @@ -12722,6 +12834,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Arn = ptr.String(jtv) } + case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12730,6 +12843,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.ComponentRoleArn = ptr.String(jtv) } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -12738,6 +12852,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.EnvironmentAccountId = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -12746,6 +12861,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.EnvironmentName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12754,6 +12870,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Id = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -12769,6 +12886,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } } + case "managementAccountId": if value != nil { jtv, ok := value.(string) @@ -12777,6 +12895,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.ManagementAccountId = ptr.String(jtv) } + case "requestedAt": if value != nil { switch jtv := value.(type) { @@ -12792,6 +12911,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12800,6 +12920,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12808,6 +12929,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ } sv.Status = types.EnvironmentAccountConnectionStatus(jtv) } + default: _, _ = key, value @@ -12881,6 +13003,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -12889,6 +13012,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -12897,6 +13021,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -12905,6 +13030,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentState(v **types.EnvironmentState } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -12944,6 +13070,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } + case "componentRoleArn": if value != nil { jtv, ok := value.(string) @@ -12952,6 +13079,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ComponentRoleArn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12967,6 +13095,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -12975,6 +13104,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -12983,6 +13113,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -12991,6 +13122,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Description = ptr.String(jtv) } + case "environmentAccountConnectionId": if value != nil { jtv, ok := value.(string) @@ -12999,6 +13131,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentAccountConnectionId = ptr.String(jtv) } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -13007,6 +13140,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.EnvironmentAccountId = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13015,6 +13149,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -13030,6 +13165,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -13045,6 +13181,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -13053,6 +13190,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13061,6 +13199,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } + case "protonServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -13069,6 +13208,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ProtonServiceRoleArn = ptr.String(jtv) } + case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13077,6 +13217,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Provisioning = types.Provisioning(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -13085,6 +13226,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13093,6 +13235,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -13101,6 +13244,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -13174,6 +13318,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13189,6 +13334,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13197,6 +13343,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -13205,6 +13352,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.DisplayName = ptr.String(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -13213,6 +13361,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.EncryptionKey = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13228,6 +13377,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13386,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Name = ptr.String(jtv) } + case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13244,6 +13395,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.Provisioning = types.Provisioning(jtv) } + case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -13252,6 +13404,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplate(v **types.EnvironmentTe } sv.RecommendedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -13291,6 +13444,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13306,6 +13460,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13314,6 +13469,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -13322,6 +13478,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.DisplayName = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13337,6 +13494,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13345,6 +13503,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Name = ptr.String(jtv) } + case "provisioning": if value != nil { jtv, ok := value.(string) @@ -13353,6 +13512,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.Provisioning = types.Provisioning(jtv) } + case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -13361,6 +13521,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateSummary(v **types.Enviro } sv.RecommendedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -13434,6 +13595,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13449,6 +13611,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13457,6 +13620,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13472,6 +13636,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } } + case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -13480,6 +13645,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.MajorVersion = ptr.String(jtv) } + case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -13488,6 +13654,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.MinorVersion = ptr.String(jtv) } + case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13496,6 +13663,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.RecommendedMinorVersion = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -13504,6 +13672,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Schema = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13512,6 +13681,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.Status = types.TemplateVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -13520,6 +13690,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.StatusMessage = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -13528,6 +13699,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(v **types.Enviro } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -13567,6 +13739,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13582,6 +13755,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } } + case "description": if value != nil { jtv, ok := value.(string) @@ -13590,6 +13764,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -13605,6 +13780,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } } + case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -13613,6 +13789,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.MajorVersion = ptr.String(jtv) } + case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -13621,6 +13798,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.MinorVersion = ptr.String(jtv) } + case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -13629,6 +13807,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.RecommendedMinorVersion = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13637,6 +13816,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.Status = types.TemplateVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -13645,6 +13825,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.StatusMessage = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -13653,6 +13834,7 @@ func awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummary(v **types } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -13726,6 +13908,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13799,6 +13982,7 @@ func awsAwsjson10_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.Key = ptr.String(jtv) } + case "valueString": if value != nil { jtv, ok := value.(string) @@ -13807,6 +13991,7 @@ func awsAwsjson10_deserializeDocumentOutput(v **types.Output, value interface{}) } sv.ValueString = ptr.String(jtv) } + default: _, _ = key, value @@ -13880,6 +14065,7 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.Identifier = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13888,6 +14074,7 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.Name = ptr.String(jtv) } + case "provisioningEngine": if value != nil { jtv, ok := value.(string) @@ -13896,6 +14083,7 @@ func awsAwsjson10_deserializeDocumentProvisionedResource(v **types.ProvisionedRe } sv.ProvisioningEngine = types.ProvisionedResourceEngine(jtv) } + default: _, _ = key, value @@ -13969,6 +14157,7 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Arn = ptr.String(jtv) } + case "connectionArn": if value != nil { jtv, ok := value.(string) @@ -13977,6 +14166,7 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.ConnectionArn = ptr.String(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -13985,6 +14175,7 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.EncryptionKey = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13993,6 +14184,7 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -14001,6 +14193,7 @@ func awsAwsjson10_deserializeDocumentRepository(v **types.Repository, value inte } sv.Provider = types.RepositoryProvider(jtv) } + default: _, _ = key, value @@ -14040,6 +14233,7 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Arn = ptr.String(jtv) } + case "branch": if value != nil { jtv, ok := value.(string) @@ -14048,6 +14242,7 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Branch = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14056,6 +14251,7 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -14064,6 +14260,7 @@ func awsAwsjson10_deserializeDocumentRepositoryBranch(v **types.RepositoryBranch } sv.Provider = types.RepositoryProvider(jtv) } + default: _, _ = key, value @@ -14103,6 +14300,7 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Arn = ptr.String(jtv) } + case "connectionArn": if value != nil { jtv, ok := value.(string) @@ -14111,6 +14309,7 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.ConnectionArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14119,6 +14318,7 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Name = ptr.String(jtv) } + case "provider": if value != nil { jtv, ok := value.(string) @@ -14127,6 +14327,7 @@ func awsAwsjson10_deserializeDocumentRepositorySummary(v **types.RepositorySumma } sv.Provider = types.RepositoryProvider(jtv) } + default: _, _ = key, value @@ -14196,6 +14397,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS if err := awsAwsjson10_deserializeDocumentRepositorySyncEvents(&sv.Events, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14211,6 +14413,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14219,6 +14422,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncAttempt(v **types.RepositoryS } sv.Status = types.RepositorySyncStatus(jtv) } + default: _, _ = key, value @@ -14258,6 +14462,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Branch = ptr.String(jtv) } + case "directory": if value != nil { jtv, ok := value.(string) @@ -14266,6 +14471,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Directory = ptr.String(jtv) } + case "parent": if value != nil { jtv, ok := value.(string) @@ -14274,6 +14480,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Parent = ptr.String(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -14282,6 +14489,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncDefinition(v **types.Reposito } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -14355,6 +14563,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Event = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -14363,6 +14572,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.ExternalId = ptr.String(jtv) } + case "time": if value != nil { switch jtv := value.(type) { @@ -14378,6 +14588,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } } + case "type": if value != nil { jtv, ok := value.(string) @@ -14386,6 +14597,7 @@ func awsAwsjson10_deserializeDocumentRepositorySyncEvent(v **types.RepositorySyn } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14463,6 +14675,7 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.BehindMajor = ptr.Int32(int32(i64)) } + case "behindMinor": if value != nil { jtv, ok := value.(json.Number) @@ -14475,6 +14688,7 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.BehindMinor = ptr.Int32(int32(i64)) } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -14487,6 +14701,7 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.Failed = ptr.Int32(int32(i64)) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -14499,6 +14714,7 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.Total = ptr.Int32(int32(i64)) } + case "upToDate": if value != nil { jtv, ok := value.(json.Number) @@ -14511,6 +14727,7 @@ func awsAwsjson10_deserializeDocumentResourceCountsSummary(v **types.ResourceCou } sv.UpToDate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14550,6 +14767,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14585,10 +14803,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA if err := awsAwsjson10_deserializeDocumentResourceSyncEvents(&sv.Events, value); err != nil { return err } + case "initialRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.InitialRevision, value); err != nil { return err } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -14604,6 +14824,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14612,6 +14833,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Status = types.ResourceSyncStatus(jtv) } + case "target": if value != nil { jtv, ok := value.(string) @@ -14620,10 +14842,12 @@ func awsAwsjson10_deserializeDocumentResourceSyncAttempt(v **types.ResourceSyncA } sv.Target = ptr.String(jtv) } + case "targetRevision": if err := awsAwsjson10_deserializeDocumentRevision(&sv.TargetRevision, value); err != nil { return err } + default: _, _ = key, value @@ -14663,6 +14887,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Event = ptr.String(jtv) } + case "externalId": if value != nil { jtv, ok := value.(string) @@ -14671,6 +14896,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.ExternalId = ptr.String(jtv) } + case "time": if value != nil { switch jtv := value.(type) { @@ -14686,6 +14912,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } } + case "type": if value != nil { jtv, ok := value.(string) @@ -14694,6 +14921,7 @@ func awsAwsjson10_deserializeDocumentResourceSyncEvent(v **types.ResourceSyncEve } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -14767,6 +14995,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Branch = ptr.String(jtv) } + case "directory": if value != nil { jtv, ok := value.(string) @@ -14775,6 +15004,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Directory = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -14783,6 +15013,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryName = ptr.String(jtv) } + case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -14791,6 +15022,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.RepositoryProvider = types.RepositoryProvider(jtv) } + case "sha": if value != nil { jtv, ok := value.(string) @@ -14799,6 +15031,7 @@ func awsAwsjson10_deserializeDocumentRevision(v **types.Revision, value interfac } sv.Sha = ptr.String(jtv) } + default: _, _ = key, value @@ -14838,6 +15071,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Arn = ptr.String(jtv) } + case "branchName": if value != nil { jtv, ok := value.(string) @@ -14846,6 +15080,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.BranchName = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14861,6 +15096,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } + case "description": if value != nil { jtv, ok := value.(string) @@ -14869,6 +15105,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -14884,6 +15121,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14892,10 +15130,12 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } + case "pipeline": if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } + case "repositoryConnectionArn": if value != nil { jtv, ok := value.(string) @@ -14904,6 +15144,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.RepositoryConnectionArn = ptr.String(jtv) } + case "repositoryId": if value != nil { jtv, ok := value.(string) @@ -14912,6 +15153,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.RepositoryId = ptr.String(jtv) } + case "spec": if value != nil { jtv, ok := value.(string) @@ -14920,6 +15162,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Spec = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14928,6 +15171,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.Status = types.ServiceStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -14936,6 +15180,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.StatusMessage = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -14944,6 +15189,7 @@ func awsAwsjson10_deserializeDocumentService(v **types.Service, value interface{ } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -14983,6 +15229,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14998,6 +15245,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15006,6 +15254,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15014,6 +15263,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -15022,6 +15272,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.EnvironmentName = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15030,6 +15281,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastClientRequestToken": if value != nil { jtv, ok := value.(string) @@ -15038,6 +15290,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastClientRequestToken = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15053,6 +15306,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15068,6 +15322,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15076,6 +15331,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15084,6 +15340,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Name = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15092,6 +15349,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.ServiceName = ptr.String(jtv) } + case "spec": if value != nil { jtv, ok := value.(string) @@ -15100,6 +15358,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15108,6 +15367,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15116,6 +15376,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15124,6 +15385,7 @@ func awsAwsjson10_deserializeDocumentServiceInstance(v **types.ServiceInstance, } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15159,6 +15421,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta if err := awsAwsjson10_deserializeDocumentComponentDeploymentIdList(&sv.LastSuccessfulComponentDeploymentIds, value); err != nil { return err } + case "lastSuccessfulEnvironmentDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15167,6 +15430,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.LastSuccessfulEnvironmentDeploymentId = ptr.String(jtv) } + case "lastSuccessfulServicePipelineDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15175,6 +15439,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.LastSuccessfulServicePipelineDeploymentId = ptr.String(jtv) } + case "spec": if value != nil { jtv, ok := value.(string) @@ -15183,6 +15448,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15191,6 +15457,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15199,6 +15466,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15207,6 +15475,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceState(v **types.ServiceInsta } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15246,6 +15515,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15261,6 +15531,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15269,6 +15540,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15277,6 +15549,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "environmentName": if value != nil { jtv, ok := value.(string) @@ -15285,6 +15558,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.EnvironmentName = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15293,6 +15567,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15308,6 +15583,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15323,6 +15599,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15331,6 +15608,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15339,6 +15617,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.Name = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15347,6 +15626,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.ServiceName = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15355,6 +15635,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15363,6 +15644,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15371,6 +15653,7 @@ func awsAwsjson10_deserializeDocumentServiceInstanceSummary(v **types.ServiceIns } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15444,6 +15727,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15459,6 +15743,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } + case "deploymentStatus": if value != nil { jtv, ok := value.(string) @@ -15467,6 +15752,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.DeploymentStatus = types.DeploymentStatus(jtv) } + case "deploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15475,6 +15761,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.DeploymentStatusMessage = ptr.String(jtv) } + case "lastAttemptedDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15483,6 +15770,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.LastAttemptedDeploymentId = ptr.String(jtv) } + case "lastDeploymentAttemptedAt": if value != nil { switch jtv := value.(type) { @@ -15498,6 +15786,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } + case "lastDeploymentSucceededAt": if value != nil { switch jtv := value.(type) { @@ -15513,6 +15802,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } } + case "lastSucceededDeploymentId": if value != nil { jtv, ok := value.(string) @@ -15521,6 +15811,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.LastSucceededDeploymentId = ptr.String(jtv) } + case "spec": if value != nil { jtv, ok := value.(string) @@ -15529,6 +15820,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15537,6 +15829,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15545,6 +15838,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15553,6 +15847,7 @@ func awsAwsjson10_deserializeDocumentServicePipeline(v **types.ServicePipeline, } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15592,6 +15887,7 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.Spec = ptr.String(jtv) } + case "templateMajorVersion": if value != nil { jtv, ok := value.(string) @@ -15600,6 +15896,7 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateMajorVersion = ptr.String(jtv) } + case "templateMinorVersion": if value != nil { jtv, ok := value.(string) @@ -15608,6 +15905,7 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateMinorVersion = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15616,6 +15914,7 @@ func awsAwsjson10_deserializeDocumentServicePipelineState(v **types.ServicePipel } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15655,6 +15954,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15694,6 +15994,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15709,6 +16010,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15717,6 +16019,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -15732,6 +16035,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15740,6 +16044,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15748,6 +16053,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -15756,6 +16062,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.StatusMessage = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -15764,6 +16071,7 @@ func awsAwsjson10_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15833,6 +16141,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service if err := awsAwsjson10_deserializeDocumentLatestSyncBlockers(&sv.LatestBlockers, value); err != nil { return err } + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) @@ -15841,6 +16150,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15849,6 +16159,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(v **types.Service } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15888,6 +16199,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.Branch = ptr.String(jtv) } + case "filePath": if value != nil { jtv, ok := value.(string) @@ -15896,6 +16208,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.FilePath = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -15904,6 +16217,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.RepositoryName = ptr.String(jtv) } + case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -15912,6 +16226,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.RepositoryProvider = types.RepositoryProvider(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -15920,6 +16235,7 @@ func awsAwsjson10_deserializeDocumentServiceSyncConfig(v **types.ServiceSyncConf } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15959,6 +16275,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15974,6 +16291,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15982,6 +16300,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -15990,6 +16309,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.DisplayName = ptr.String(jtv) } + case "encryptionKey": if value != nil { jtv, ok := value.(string) @@ -15998,6 +16318,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.EncryptionKey = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16013,6 +16334,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -16021,6 +16343,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.Name = ptr.String(jtv) } + case "pipelineProvisioning": if value != nil { jtv, ok := value.(string) @@ -16029,6 +16352,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.PipelineProvisioning = types.Provisioning(jtv) } + case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -16037,6 +16361,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplate(v **types.ServiceTemplate, } sv.RecommendedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -16076,6 +16401,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16091,6 +16417,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16099,6 +16426,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -16107,6 +16435,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.DisplayName = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16122,6 +16451,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } } + case "name": if value != nil { jtv, ok := value.(string) @@ -16130,6 +16460,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.Name = ptr.String(jtv) } + case "pipelineProvisioning": if value != nil { jtv, ok := value.(string) @@ -16138,6 +16469,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.PipelineProvisioning = types.Provisioning(jtv) } + case "recommendedVersion": if value != nil { jtv, ok := value.(string) @@ -16146,6 +16478,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummary(v **types.ServiceTem } sv.RecommendedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -16255,10 +16588,12 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Arn = ptr.String(jtv) } + case "compatibleEnvironmentTemplates": if err := awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplateList(&sv.CompatibleEnvironmentTemplates, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16274,6 +16609,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16282,6 +16618,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16297,6 +16634,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } } + case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -16305,6 +16643,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.MajorVersion = ptr.String(jtv) } + case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -16313,6 +16652,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.MinorVersion = ptr.String(jtv) } + case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -16321,6 +16661,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.RecommendedMinorVersion = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -16329,6 +16670,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Schema = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16337,6 +16679,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.Status = types.TemplateVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16345,10 +16688,12 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.StatusMessage = ptr.String(jtv) } + case "supportedComponentSources": if err := awsAwsjson10_deserializeDocumentServiceTemplateSupportedComponentSourceInputList(&sv.SupportedComponentSources, value); err != nil { return err } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -16357,6 +16702,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -16396,6 +16742,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16411,6 +16758,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } } + case "description": if value != nil { jtv, ok := value.(string) @@ -16419,6 +16767,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Description = ptr.String(jtv) } + case "lastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -16434,6 +16783,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } } + case "majorVersion": if value != nil { jtv, ok := value.(string) @@ -16442,6 +16792,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.MajorVersion = ptr.String(jtv) } + case "minorVersion": if value != nil { jtv, ok := value.(string) @@ -16450,6 +16801,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.MinorVersion = ptr.String(jtv) } + case "recommendedMinorVersion": if value != nil { jtv, ok := value.(string) @@ -16458,6 +16810,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.RecommendedMinorVersion = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16466,6 +16819,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.Status = types.TemplateVersionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -16474,6 +16828,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.StatusMessage = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -16482,6 +16837,7 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersionSummary(v **types.Ser } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -16551,6 +16907,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in if err := awsAwsjson10_deserializeDocumentSyncBlockerContexts(&sv.Contexts, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -16566,6 +16923,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "createdReason": if value != nil { jtv, ok := value.(string) @@ -16574,6 +16932,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.CreatedReason = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -16582,6 +16941,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Id = ptr.String(jtv) } + case "resolvedAt": if value != nil { switch jtv := value.(type) { @@ -16597,6 +16957,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } } + case "resolvedReason": if value != nil { jtv, ok := value.(string) @@ -16605,6 +16966,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.ResolvedReason = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -16613,6 +16975,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Status = types.BlockerStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16621,6 +16984,7 @@ func awsAwsjson10_deserializeDocumentSyncBlocker(v **types.SyncBlocker, value in } sv.Type = types.BlockerType(jtv) } + default: _, _ = key, value @@ -16660,6 +17024,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -16668,6 +17033,7 @@ func awsAwsjson10_deserializeDocumentSyncBlockerContext(v **types.SyncBlockerCon } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16741,6 +17107,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -16749,6 +17116,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16822,6 +17190,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.Branch = ptr.String(jtv) } + case "repositoryName": if value != nil { jtv, ok := value.(string) @@ -16830,6 +17199,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.RepositoryName = ptr.String(jtv) } + case "repositoryProvider": if value != nil { jtv, ok := value.(string) @@ -16838,6 +17208,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.RepositoryProvider = types.RepositoryProvider(jtv) } + case "subdirectory": if value != nil { jtv, ok := value.(string) @@ -16846,6 +17217,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.Subdirectory = ptr.String(jtv) } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -16854,6 +17226,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.TemplateName = ptr.String(jtv) } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -16862,6 +17235,7 @@ func awsAwsjson10_deserializeDocumentTemplateSyncConfig(v **types.TemplateSyncCo } sv.TemplateType = types.TemplateType(jtv) } + default: _, _ = key, value @@ -16901,6 +17275,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16940,6 +17315,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16975,6 +17351,7 @@ func awsAwsjson10_deserializeOpDocumentAcceptEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -17010,6 +17387,7 @@ func awsAwsjson10_deserializeOpDocumentCancelComponentDeploymentOutput(v **Cance if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -17045,6 +17423,7 @@ func awsAwsjson10_deserializeOpDocumentCancelEnvironmentDeploymentOutput(v **Can if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -17080,6 +17459,7 @@ func awsAwsjson10_deserializeOpDocumentCancelServiceInstanceDeploymentOutput(v * if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -17115,6 +17495,7 @@ func awsAwsjson10_deserializeOpDocumentCancelServicePipelineDeploymentOutput(v * if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -17150,6 +17531,7 @@ func awsAwsjson10_deserializeOpDocumentCreateComponentOutput(v **CreateComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -17185,6 +17567,7 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -17220,6 +17603,7 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -17255,6 +17639,7 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateOutput(v **Creat if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -17290,6 +17675,7 @@ func awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -17325,6 +17711,7 @@ func awsAwsjson10_deserializeOpDocumentCreateRepositoryOutput(v **CreateReposito if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -17360,6 +17747,7 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceInstanceOutput(v **CreateSer if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -17395,6 +17783,7 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -17430,6 +17819,7 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceSyncConfigOutput(v **CreateS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17465,6 +17855,7 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceTemplateOutput(v **CreateSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -17500,6 +17891,7 @@ func awsAwsjson10_deserializeOpDocumentCreateServiceTemplateVersionOutput(v **Cr if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -17535,6 +17927,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTemplateSyncConfigOutput(v **Create if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17570,6 +17963,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -17605,6 +17999,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDeploymentOutput(v **DeleteDeployme if err := awsAwsjson10_deserializeDocumentDeployment(&sv.Deployment, value); err != nil { return err } + default: _, _ = key, value @@ -17640,6 +18035,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -17675,6 +18071,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentOutput(v **DeleteEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -17710,6 +18107,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateOutput(v **Delet if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -17745,6 +18143,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -17780,6 +18179,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteRepositoryOutput(v **DeleteReposito if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -17815,6 +18215,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -17850,6 +18251,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceSyncConfigOutput(v **DeleteS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17885,6 +18287,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateOutput(v **DeleteSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -17920,6 +18323,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateVersionOutput(v **De if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -17955,6 +18359,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteTemplateSyncConfigOutput(v **Delete if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -17990,6 +18395,7 @@ func awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsAwsjson10_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -18025,6 +18431,7 @@ func awsAwsjson10_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -18060,6 +18467,7 @@ func awsAwsjson10_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err := awsAwsjson10_deserializeDocumentDeployment(&sv.Deployment, value); err != nil { return err } + default: _, _ = key, value @@ -18095,6 +18503,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentAccountConnectionOutput(v * if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -18130,6 +18539,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -18165,6 +18575,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateOutput(v **GetEnvir if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -18200,6 +18611,7 @@ func awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateVersionOutput(v **G if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -18235,6 +18647,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositoryOutput(v **GetRepositoryOutp if err := awsAwsjson10_deserializeDocumentRepository(&sv.Repository, value); err != nil { return err } + default: _, _ = key, value @@ -18270,6 +18683,7 @@ func awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(v **GetRepo if err := awsAwsjson10_deserializeDocumentRepositorySyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -18305,6 +18719,7 @@ func awsAwsjson10_deserializeOpDocumentGetResourcesSummaryOutput(v **GetResource if err := awsAwsjson10_deserializeDocumentCountsSummary(&sv.Counts, value); err != nil { return err } + default: _, _ = key, value @@ -18340,6 +18755,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceInstanceOutput(v **GetServiceIn if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -18375,14 +18791,17 @@ func awsAwsjson10_deserializeOpDocumentGetServiceInstanceSyncStatusOutput(v **Ge if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } + case "latestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } + case "latestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -18418,6 +18837,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -18453,6 +18873,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceSyncBlockerSummaryOutput(v **Ge if err := awsAwsjson10_deserializeDocumentServiceSyncBlockerSummary(&sv.ServiceSyncBlockerSummary, value); err != nil { return err } + default: _, _ = key, value @@ -18488,6 +18909,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceSyncConfigOutput(v **GetService if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -18523,6 +18945,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceTemplateOutput(v **GetServiceTe if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -18558,6 +18981,7 @@ func awsAwsjson10_deserializeOpDocumentGetServiceTemplateVersionOutput(v **GetSe if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -18593,6 +19017,7 @@ func awsAwsjson10_deserializeOpDocumentGetTemplateSyncConfigOutput(v **GetTempla if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -18628,14 +19053,17 @@ func awsAwsjson10_deserializeOpDocumentGetTemplateSyncStatusOutput(v **GetTempla if err := awsAwsjson10_deserializeDocumentRevision(&sv.DesiredState, value); err != nil { return err } + case "latestSuccessfulSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSuccessfulSync, value); err != nil { return err } + case "latestSync": if err := awsAwsjson10_deserializeDocumentResourceSyncAttempt(&sv.LatestSync, value); err != nil { return err } + default: _, _ = key, value @@ -18675,10 +19103,12 @@ func awsAwsjson10_deserializeOpDocumentListComponentOutputsOutput(v **ListCompon } sv.NextToken = ptr.String(jtv) } + case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -18718,10 +19148,12 @@ func awsAwsjson10_deserializeOpDocumentListComponentProvisionedResourcesOutput(v } sv.NextToken = ptr.String(jtv) } + case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } + default: _, _ = key, value @@ -18757,6 +19189,7 @@ func awsAwsjson10_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsAwsjson10_deserializeDocumentComponentSummaryList(&sv.Components, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18765,6 +19198,7 @@ func awsAwsjson10_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18800,6 +19234,7 @@ func awsAwsjson10_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments if err := awsAwsjson10_deserializeDocumentDeploymentSummaryList(&sv.Deployments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18808,6 +19243,7 @@ func awsAwsjson10_deserializeOpDocumentListDeploymentsOutput(v **ListDeployments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18843,6 +19279,7 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummaryList(&sv.EnvironmentAccountConnections, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18851,6 +19288,7 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18890,10 +19328,12 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentOutputsOutput(v **ListEnvi } sv.NextToken = ptr.String(jtv) } + case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -18933,10 +19373,12 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentProvisionedResourcesOutput } sv.NextToken = ptr.String(jtv) } + case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } + default: _, _ = key, value @@ -18972,6 +19414,7 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsAwsjson10_deserializeDocumentEnvironmentSummaryList(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -18980,6 +19423,7 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19019,10 +19463,12 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentTemplatesOutput(v **ListEn } sv.NextToken = ptr.String(jtv) } + case "templates": if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateSummaryList(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -19062,10 +19508,12 @@ func awsAwsjson10_deserializeOpDocumentListEnvironmentTemplateVersionsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "templateVersions": if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersionSummaryList(&sv.TemplateVersions, value); err != nil { return err } + default: _, _ = key, value @@ -19105,10 +19553,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositoriesOutput(v **ListRepositori } sv.NextToken = ptr.String(jtv) } + case "repositories": if err := awsAwsjson10_deserializeDocumentRepositorySummaryList(&sv.Repositories, value); err != nil { return err } + default: _, _ = key, value @@ -19148,10 +19598,12 @@ func awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "syncDefinitions": if err := awsAwsjson10_deserializeDocumentRepositorySyncDefinitionList(&sv.SyncDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -19191,10 +19643,12 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstanceOutputsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -19234,10 +19688,12 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstanceProvisionedResourcesOu } sv.NextToken = ptr.String(jtv) } + case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } + default: _, _ = key, value @@ -19277,10 +19733,12 @@ func awsAwsjson10_deserializeOpDocumentListServiceInstancesOutput(v **ListServic } sv.NextToken = ptr.String(jtv) } + case "serviceInstances": if err := awsAwsjson10_deserializeDocumentServiceInstanceSummaryList(&sv.ServiceInstances, value); err != nil { return err } + default: _, _ = key, value @@ -19320,10 +19778,12 @@ func awsAwsjson10_deserializeOpDocumentListServicePipelineOutputsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "outputs": if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -19363,10 +19823,12 @@ func awsAwsjson10_deserializeOpDocumentListServicePipelineProvisionedResourcesOu } sv.NextToken = ptr.String(jtv) } + case "provisionedResources": if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { return err } + default: _, _ = key, value @@ -19406,10 +19868,12 @@ func awsAwsjson10_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "services": if err := awsAwsjson10_deserializeDocumentServiceSummaryList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -19449,10 +19913,12 @@ func awsAwsjson10_deserializeOpDocumentListServiceTemplatesOutput(v **ListServic } sv.NextToken = ptr.String(jtv) } + case "templates": if err := awsAwsjson10_deserializeDocumentServiceTemplateSummaryList(&sv.Templates, value); err != nil { return err } + default: _, _ = key, value @@ -19492,10 +19958,12 @@ func awsAwsjson10_deserializeOpDocumentListServiceTemplateVersionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "templateVersions": if err := awsAwsjson10_deserializeDocumentServiceTemplateVersionSummaryList(&sv.TemplateVersions, value); err != nil { return err } + default: _, _ = key, value @@ -19535,10 +20003,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19605,6 +20075,7 @@ func awsAwsjson10_deserializeOpDocumentRejectEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -19702,6 +20173,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsAwsjson10_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -19737,6 +20209,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateComponentOutput(v **UpdateComponent if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + default: _, _ = key, value @@ -19772,6 +20245,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentAccountConnectionOutput( if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { return err } + default: _, _ = key, value @@ -19807,6 +20281,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsAwsjson10_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -19842,6 +20317,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateOutput(v **Updat if err := awsAwsjson10_deserializeDocumentEnvironmentTemplate(&sv.EnvironmentTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -19877,6 +20353,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateVersionOutput(v if err := awsAwsjson10_deserializeDocumentEnvironmentTemplateVersion(&sv.EnvironmentTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -19912,6 +20389,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceInstanceOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServiceInstance(&sv.ServiceInstance, value); err != nil { return err } + default: _, _ = key, value @@ -19947,6 +20425,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp if err := awsAwsjson10_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -19982,6 +20461,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServicePipelineOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServicePipeline(&sv.Pipeline, value); err != nil { return err } + default: _, _ = key, value @@ -20021,6 +20501,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncBlockerOutput(v **Update } sv.ServiceInstanceName = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -20029,10 +20510,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncBlockerOutput(v **Update } sv.ServiceName = ptr.String(jtv) } + case "serviceSyncBlocker": if err := awsAwsjson10_deserializeDocumentSyncBlocker(&sv.ServiceSyncBlocker, value); err != nil { return err } + default: _, _ = key, value @@ -20068,6 +20551,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceSyncConfigOutput(v **UpdateS if err := awsAwsjson10_deserializeDocumentServiceSyncConfig(&sv.ServiceSyncConfig, value); err != nil { return err } + default: _, _ = key, value @@ -20103,6 +20587,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateOutput(v **UpdateSer if err := awsAwsjson10_deserializeDocumentServiceTemplate(&sv.ServiceTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -20138,6 +20623,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateVersionOutput(v **Up if err := awsAwsjson10_deserializeDocumentServiceTemplateVersion(&sv.ServiceTemplateVersion, value); err != nil { return err } + default: _, _ = key, value @@ -20173,6 +20659,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTemplateSyncConfigOutput(v **Update if err := awsAwsjson10_deserializeDocumentTemplateSyncConfig(&sv.TemplateSyncConfig, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/qapps/deserializers.go b/service/qapps/deserializers.go index 349b02aab06..59b9e71c1a2 100644 --- a/service/qapps/deserializers.go +++ b/service/qapps/deserializers.go @@ -426,6 +426,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -434,6 +435,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.CreatedBy = ptr.String(jtv) } + case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -442,6 +444,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.IsVerified = ptr.Bool(jtv) } + case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -450,6 +453,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.LibraryItemId = ptr.String(jtv) } + case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -462,6 +466,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.RatingCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -470,6 +475,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.Status = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -482,6 +488,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -490,6 +497,7 @@ func awsRestjson1_deserializeOpDocumentCreateLibraryItemOutput(v **CreateLibrary } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -666,6 +674,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppArn = ptr.String(jtv) } + case "appId": if value != nil { jtv, ok := value.(string) @@ -674,6 +683,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -686,6 +696,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.AppVersion = ptr.Int32(int32(i64)) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -698,6 +709,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -706,6 +718,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -714,6 +727,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Description = ptr.String(jtv) } + case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -722,10 +736,12 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.InitialPrompt = ptr.String(jtv) } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -734,6 +750,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Status = types.AppStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -742,6 +759,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -754,6 +772,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -762,6 +781,7 @@ func awsRestjson1_deserializeOpDocumentCreateQAppOutput(v **CreateQAppOutput, va } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -1377,6 +1397,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1389,10 +1410,12 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.AppVersion = ptr.Int32(int32(i64)) } + case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1405,6 +1428,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1413,6 +1437,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.CreatedBy = ptr.String(jtv) } + case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -1421,6 +1446,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.IsRatedByUser = ptr.Bool(jtv) } + case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -1429,6 +1455,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.IsVerified = ptr.Bool(jtv) } + case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -1437,6 +1464,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.LibraryItemId = ptr.String(jtv) } + case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -1449,6 +1477,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.RatingCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1457,6 +1486,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.Status = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1469,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1508,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UpdatedBy = ptr.String(jtv) } + case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -1489,6 +1521,7 @@ func awsRestjson1_deserializeOpDocumentGetLibraryItemOutput(v **GetLibraryItemOu } sv.UserCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1659,10 +1692,12 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppArn = ptr.String(jtv) } + case "appDefinition": if err := awsRestjson1_deserializeDocumentAppDefinition(&sv.AppDefinition, value); err != nil { return err } + case "appId": if value != nil { jtv, ok := value.(string) @@ -1671,6 +1706,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -1683,6 +1719,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.AppVersion = ptr.Int32(int32(i64)) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -1695,6 +1732,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1703,6 +1741,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1711,6 +1750,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Description = ptr.String(jtv) } + case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -1719,10 +1759,12 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.InitialPrompt = ptr.String(jtv) } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1731,6 +1773,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Status = types.AppStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -1739,6 +1782,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -1751,6 +1795,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -1759,6 +1804,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppOutput(v **GetQAppOutput, value in } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -1928,6 +1974,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu if err := awsRestjson1_deserializeDocumentCardStatusMap(&sv.CardStatus, value); err != nil { return err } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -1936,6 +1983,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -1944,6 +1992,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.SessionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1952,6 +2001,7 @@ func awsRestjson1_deserializeOpDocumentGetQAppSessionOutput(v **GetQAppSessionOu } sv.Status = types.ExecutionStatus(jtv) } + default: _, _ = key, value @@ -2128,6 +2178,7 @@ func awsRestjson1_deserializeOpDocumentImportDocumentOutput(v **ImportDocumentOu } sv.FileId = ptr.String(jtv) } + default: _, _ = key, value @@ -2294,6 +2345,7 @@ func awsRestjson1_deserializeOpDocumentListLibraryItemsOutput(v **ListLibraryIte if err := awsRestjson1_deserializeDocumentLibraryItemList(&sv.LibraryItems, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2302,6 +2354,7 @@ func awsRestjson1_deserializeOpDocumentListLibraryItemsOutput(v **ListLibraryIte } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2465,6 +2518,7 @@ func awsRestjson1_deserializeOpDocumentListQAppsOutput(v **ListQAppsOutput, valu if err := awsRestjson1_deserializeDocumentUserAppsList(&sv.Apps, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2473,6 +2527,7 @@ func awsRestjson1_deserializeOpDocumentListQAppsOutput(v **ListQAppsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2636,6 +2691,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2799,6 +2855,7 @@ func awsRestjson1_deserializeOpDocumentPredictQAppOutput(v **PredictQAppOutput, if err := awsRestjson1_deserializeDocumentPredictAppDefinition(&sv.App, value); err != nil { return err } + case "problemStatement": if value != nil { jtv, ok := value.(string) @@ -2807,6 +2864,7 @@ func awsRestjson1_deserializeOpDocumentPredictQAppOutput(v **PredictQAppOutput, } sv.ProblemStatement = ptr.String(jtv) } + default: _, _ = key, value @@ -2980,6 +3038,7 @@ func awsRestjson1_deserializeOpDocumentStartQAppSessionOutput(v **StartQAppSessi } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -2988,6 +3047,7 @@ func awsRestjson1_deserializeOpDocumentStartQAppSessionOutput(v **StartQAppSessi } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -3476,6 +3536,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3488,10 +3549,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.AppVersion = ptr.Int32(int32(i64)) } + case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3504,6 +3567,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3512,6 +3576,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.CreatedBy = ptr.String(jtv) } + case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -3520,6 +3585,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.IsRatedByUser = ptr.Bool(jtv) } + case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -3528,6 +3594,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.IsVerified = ptr.Bool(jtv) } + case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -3536,6 +3603,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.LibraryItemId = ptr.String(jtv) } + case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -3548,6 +3616,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.RatingCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3556,6 +3625,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.Status = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3568,6 +3638,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -3576,6 +3647,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UpdatedBy = ptr.String(jtv) } + case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -3588,6 +3660,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLibraryItemOutput(v **UpdateLibrary } sv.UserCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3873,6 +3946,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppArn = ptr.String(jtv) } + case "appId": if value != nil { jtv, ok := value.(string) @@ -3881,6 +3955,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3893,6 +3968,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.AppVersion = ptr.Int32(int32(i64)) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3905,6 +3981,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -3913,6 +3990,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3921,6 +3999,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Description = ptr.String(jtv) } + case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -3929,10 +4008,12 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.InitialPrompt = ptr.String(jtv) } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocumentAppRequiredCapabilities(&sv.RequiredCapabilities, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3941,6 +4022,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Status = types.AppStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -3949,6 +4031,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -3961,6 +4044,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -3969,6 +4053,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppOutput(v **UpdateQAppOutput, va } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -4142,6 +4227,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppSessionOutput(v **UpdateQAppSes } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -4150,6 +4236,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQAppSessionOutput(v **UpdateQAppSes } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4553,6 +4640,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4592,6 +4680,7 @@ func awsRestjson1_deserializeDocumentAppDefinition(v **types.AppDefinition, valu } sv.AppDefinitionVersion = ptr.String(jtv) } + case "canEdit": if value != nil { jtv, ok := value.(bool) @@ -4600,10 +4689,12 @@ func awsRestjson1_deserializeDocumentAppDefinition(v **types.AppDefinition, valu } sv.CanEdit = ptr.Bool(jtv) } + case "cards": if err := awsRestjson1_deserializeDocumentCardModelList(&sv.Cards, value); err != nil { return err } + default: _, _ = key, value @@ -4639,6 +4730,7 @@ func awsRestjson1_deserializeDocumentAppDefinitionInput(v **types.AppDefinitionI if err := awsRestjson1_deserializeDocumentCardList(&sv.Cards, value); err != nil { return err } + case "initialPrompt": if value != nil { jtv, ok := value.(string) @@ -4647,6 +4739,7 @@ func awsRestjson1_deserializeDocumentAppDefinitionInput(v **types.AppDefinitionI } sv.InitialPrompt = ptr.String(jtv) } + default: _, _ = key, value @@ -4718,42 +4811,52 @@ func awsRestjson1_deserializeDocumentAttributeFilter(v **types.AttributeFilter, if err := awsRestjson1_deserializeDocumentAttributeFilters(&sv.AndAllFilters, value); err != nil { return err } + case "containsAll": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.ContainsAll, value); err != nil { return err } + case "containsAny": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.ContainsAny, value); err != nil { return err } + case "equalsTo": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.EqualsTo, value); err != nil { return err } + case "greaterThan": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.GreaterThan, value); err != nil { return err } + case "greaterThanOrEquals": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.GreaterThanOrEquals, value); err != nil { return err } + case "lessThan": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.LessThan, value); err != nil { return err } + case "lessThanOrEquals": if err := awsRestjson1_deserializeDocumentDocumentAttribute(&sv.LessThanOrEquals, value); err != nil { return err } + case "notFilter": if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.NotFilter, value); err != nil { return err } + case "orAllFilters": if err := awsRestjson1_deserializeDocumentAttributeFilters(&sv.OrAllFilters, value); err != nil { return err } + default: _, _ = key, value @@ -5031,6 +5134,7 @@ func awsRestjson1_deserializeDocumentCardStatus(v **types.CardStatus, value inte } sv.CurrentState = types.ExecutionStatus(jtv) } + case "currentValue": if value != nil { jtv, ok := value.(string) @@ -5039,6 +5143,7 @@ func awsRestjson1_deserializeDocumentCardStatus(v **types.CardStatus, value inte } sv.CurrentValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5113,6 +5218,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Id = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5121,6 +5227,7 @@ func awsRestjson1_deserializeDocumentCategory(v **types.Category, value interfac } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -5194,6 +5301,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5202,6 +5310,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5210,6 +5319,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5249,6 +5359,7 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -5257,6 +5368,7 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5265,6 +5377,7 @@ func awsRestjson1_deserializeDocumentContentTooLargeException(v **types.ContentT } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5340,10 +5453,12 @@ func awsRestjson1_deserializeDocumentDocumentAttribute(v **types.DocumentAttribu } sv.Name = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -5504,10 +5619,12 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.AllowOverride = ptr.Bool(jtv) } + case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } + case "fileId": if value != nil { jtv, ok := value.(string) @@ -5516,6 +5633,7 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.FileId = ptr.String(jtv) } + case "filename": if value != nil { jtv, ok := value.(string) @@ -5524,6 +5642,7 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Filename = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5532,6 +5651,7 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Id = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5540,6 +5660,7 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5548,6 +5669,7 @@ func awsRestjson1_deserializeDocumentFileUploadCard(v **types.FileUploadCard, va } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -5587,6 +5709,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.AllowOverride = ptr.Bool(jtv) } + case "fileId": if value != nil { jtv, ok := value.(string) @@ -5595,6 +5718,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.FileId = ptr.String(jtv) } + case "filename": if value != nil { jtv, ok := value.(string) @@ -5603,6 +5727,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Filename = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5611,6 +5736,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Id = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5619,6 +5745,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5627,6 +5754,7 @@ func awsRestjson1_deserializeDocumentFileUploadCardInput(v **types.FileUploadCar } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -5666,6 +5794,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5678,6 +5807,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5751,6 +5881,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(json.Number) @@ -5763,10 +5894,12 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.AppVersion = ptr.Int32(int32(i64)) } + case "categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5779,6 +5912,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5787,6 +5921,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.CreatedBy = ptr.String(jtv) } + case "isRatedByUser": if value != nil { jtv, ok := value.(bool) @@ -5795,6 +5930,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.IsRatedByUser = ptr.Bool(jtv) } + case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -5803,6 +5939,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.IsVerified = ptr.Bool(jtv) } + case "libraryItemId": if value != nil { jtv, ok := value.(string) @@ -5811,6 +5948,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.LibraryItemId = ptr.String(jtv) } + case "ratingCount": if value != nil { jtv, ok := value.(json.Number) @@ -5823,6 +5961,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.RatingCount = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5831,6 +5970,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.Status = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5843,6 +5983,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UpdatedAt = ptr.Time(t) } + case "updatedBy": if value != nil { jtv, ok := value.(string) @@ -5851,6 +5992,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UpdatedBy = ptr.String(jtv) } + case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -5863,6 +6005,7 @@ func awsRestjson1_deserializeDocumentLibraryItemMember(v **types.LibraryItemMemb } sv.UserCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5898,6 +6041,7 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe if err := awsRestjson1_deserializeDocumentAppDefinitionInput(&sv.AppDefinition, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -5906,6 +6050,7 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe } sv.Description = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5914,6 +6059,7 @@ func awsRestjson1_deserializeDocumentPredictAppDefinition(v **types.PredictAppDe } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -5949,6 +6095,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5957,6 +6104,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Id = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -5965,6 +6113,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.PluginId = ptr.String(jtv) } + case "pluginType": if value != nil { jtv, ok := value.(string) @@ -5973,6 +6122,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.PluginType = types.PluginType(jtv) } + case "prompt": if value != nil { jtv, ok := value.(string) @@ -5981,6 +6131,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Prompt = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5989,6 +6140,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5997,6 +6149,7 @@ func awsRestjson1_deserializeDocumentQPluginCard(v **types.QPluginCard, value in } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6036,6 +6189,7 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Id = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -6044,6 +6198,7 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.PluginId = ptr.String(jtv) } + case "prompt": if value != nil { jtv, ok := value.(string) @@ -6052,6 +6207,7 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Prompt = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6060,6 +6216,7 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6068,6 +6225,7 @@ func awsRestjson1_deserializeDocumentQPluginCardInput(v **types.QPluginCardInput } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6103,10 +6261,12 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.AttributeFilter, value); err != nil { return err } + case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6115,6 +6275,7 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Id = ptr.String(jtv) } + case "outputSource": if value != nil { jtv, ok := value.(string) @@ -6123,6 +6284,7 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.OutputSource = types.CardOutputSource(jtv) } + case "prompt": if value != nil { jtv, ok := value.(string) @@ -6131,6 +6293,7 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Prompt = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6139,6 +6302,7 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6147,6 +6311,7 @@ func awsRestjson1_deserializeDocumentQQueryCard(v **types.QQueryCard, value inte } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6182,6 +6347,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, if err := awsRestjson1_deserializeDocumentAttributeFilter(&sv.AttributeFilter, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6190,6 +6356,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Id = ptr.String(jtv) } + case "outputSource": if value != nil { jtv, ok := value.(string) @@ -6198,6 +6365,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.OutputSource = types.CardOutputSource(jtv) } + case "prompt": if value != nil { jtv, ok := value.(string) @@ -6206,6 +6374,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Prompt = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6214,6 +6383,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6222,6 +6392,7 @@ func awsRestjson1_deserializeDocumentQQueryCardInput(v **types.QQueryCardInput, } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6261,6 +6432,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6269,6 +6441,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6277,6 +6450,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6316,6 +6490,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6324,6 +6499,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6332,6 +6508,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6340,6 +6517,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6348,6 +6526,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6423,10 +6602,12 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.DefaultValue = ptr.String(jtv) } + case "dependencies": if err := awsRestjson1_deserializeDocumentDependencyList(&sv.Dependencies, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -6435,6 +6616,7 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Id = ptr.String(jtv) } + case "placeholder": if value != nil { jtv, ok := value.(string) @@ -6443,6 +6625,7 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Placeholder = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6451,6 +6634,7 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6459,6 +6643,7 @@ func awsRestjson1_deserializeDocumentTextInputCard(v **types.TextInputCard, valu } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6498,6 +6683,7 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.DefaultValue = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6506,6 +6692,7 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Id = ptr.String(jtv) } + case "placeholder": if value != nil { jtv, ok := value.(string) @@ -6514,6 +6701,7 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Placeholder = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6522,6 +6710,7 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Title = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6530,6 +6719,7 @@ func awsRestjson1_deserializeDocumentTextInputCardInput(v **types.TextInputCardI } sv.Type = types.CardType(jtv) } + default: _, _ = key, value @@ -6569,6 +6759,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6577,6 +6768,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6589,6 +6781,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6597,6 +6790,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6636,6 +6830,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6675,6 +6870,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.AppArn = ptr.String(jtv) } + case "appId": if value != nil { jtv, ok := value.(string) @@ -6683,6 +6879,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.AppId = ptr.String(jtv) } + case "canEdit": if value != nil { jtv, ok := value.(bool) @@ -6691,6 +6888,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.CanEdit = ptr.Bool(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6703,6 +6901,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.CreatedAt = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6711,6 +6910,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Description = ptr.String(jtv) } + case "isVerified": if value != nil { jtv, ok := value.(bool) @@ -6719,6 +6919,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.IsVerified = jtv } + case "status": if value != nil { jtv, ok := value.(string) @@ -6727,6 +6928,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Status = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6735,6 +6937,7 @@ func awsRestjson1_deserializeDocumentUserAppItem(v **types.UserAppItem, value in } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6808,6 +7011,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/qbusiness/deserializers.go b/service/qbusiness/deserializers.go index d80ce2bc59c..c3f6d4e3545 100644 --- a/service/qbusiness/deserializers.go +++ b/service/qbusiness/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteDocumentOutput(v **BatchDelete if err := awsRestjson1_deserializeDocumentFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -360,6 +361,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutDocumentOutput(v **BatchPutDocume if err := awsRestjson1_deserializeDocumentFailedDocuments(&sv.FailedDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -635,10 +637,12 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value if err := awsRestjson1_deserializeDocumentActionReview(&sv.ActionReview, value); err != nil { return err } + case "authChallengeRequest": if err := awsRestjson1_deserializeDocumentAuthChallengeRequest(&sv.AuthChallengeRequest, value); err != nil { return err } + case "conversationId": if value != nil { jtv, ok := value.(string) @@ -647,14 +651,17 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.ConversationId = ptr.String(jtv) } + case "failedAttachments": if err := awsRestjson1_deserializeDocumentAttachmentsOutput(&sv.FailedAttachments, value); err != nil { return err } + case "sourceAttributions": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttributions, value); err != nil { return err } + case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -663,6 +670,7 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.SystemMessage = ptr.String(jtv) } + case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -671,6 +679,7 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.SystemMessageId = ptr.String(jtv) } + case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -679,6 +688,7 @@ func awsRestjson1_deserializeOpDocumentChatSyncOutput(v **ChatSyncOutput, value } sv.UserMessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -852,6 +862,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -860,6 +871,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + default: _, _ = key, value @@ -1033,6 +1045,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceArn = ptr.String(jtv) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -1041,6 +1054,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1214,6 +1228,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.IndexArn = ptr.String(jtv) } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -1222,6 +1237,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.IndexId = ptr.String(jtv) } + default: _, _ = key, value @@ -1395,6 +1411,7 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.BuildStatus = types.PluginBuildStatus(jtv) } + case "pluginArn": if value != nil { jtv, ok := value.(string) @@ -1403,6 +1420,7 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.PluginArn = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -1411,6 +1429,7 @@ func awsRestjson1_deserializeOpDocumentCreatePluginOutput(v **CreatePluginOutput } sv.PluginId = ptr.String(jtv) } + default: _, _ = key, value @@ -1584,6 +1603,7 @@ func awsRestjson1_deserializeOpDocumentCreateRetrieverOutput(v **CreateRetriever } sv.RetrieverArn = ptr.String(jtv) } + case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -1592,6 +1612,7 @@ func awsRestjson1_deserializeOpDocumentCreateRetrieverOutput(v **CreateRetriever } sv.RetrieverId = ptr.String(jtv) } + default: _, _ = key, value @@ -1871,6 +1892,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebExperienceOutput(v **CreateWebEx } sv.WebExperienceArn = ptr.String(jtv) } + case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -1879,6 +1901,7 @@ func awsRestjson1_deserializeOpDocumentCreateWebExperienceOutput(v **CreateWebEx } sv.WebExperienceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3073,6 +3096,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationArn = ptr.String(jtv) } + case "applicationId": if value != nil { jtv, ok := value.(string) @@ -3081,18 +3105,22 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } + case "attachmentsConfiguration": if err := awsRestjson1_deserializeDocumentAppliedAttachmentsConfiguration(&sv.AttachmentsConfiguration, value); err != nil { return err } + case "autoSubscriptionConfiguration": if err := awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(&sv.AutoSubscriptionConfiguration, value); err != nil { return err } + case "clientIdsForOIDC": if err := awsRestjson1_deserializeDocumentClientIdsForOIDC(&sv.ClientIdsForOIDC, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3108,6 +3136,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + case "description": if value != nil { jtv, ok := value.(string) @@ -3116,6 +3145,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -3124,14 +3154,17 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.DisplayName = ptr.String(jtv) } + case "encryptionConfiguration": if err := awsRestjson1_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "iamIdentityProviderArn": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3173,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IamIdentityProviderArn = ptr.String(jtv) } + case "identityCenterApplicationArn": if value != nil { jtv, ok := value.(string) @@ -3148,6 +3182,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IdentityCenterApplicationArn = ptr.String(jtv) } + case "identityType": if value != nil { jtv, ok := value.(string) @@ -3156,14 +3191,17 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IdentityType = types.IdentityType(jtv) } + case "personalizationConfiguration": if err := awsRestjson1_deserializeDocumentPersonalizationConfiguration(&sv.PersonalizationConfiguration, value); err != nil { return err } + case "qAppsConfiguration": if err := awsRestjson1_deserializeDocumentQAppsConfiguration(&sv.QAppsConfiguration, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3172,6 +3210,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3180,6 +3219,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Status = types.ApplicationStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3195,6 +3235,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } } + default: _, _ = key, value @@ -3358,10 +3399,12 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge if err := awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(&sv.BlockedPhrases, value); err != nil { return err } + case "creatorModeConfiguration": if err := awsRestjson1_deserializeDocumentAppliedCreatorModeConfiguration(&sv.CreatorModeConfiguration, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3370,6 +3413,7 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + case "responseScope": if value != nil { jtv, ok := value.(string) @@ -3378,10 +3422,12 @@ func awsRestjson1_deserializeOpDocumentGetChatControlsConfigurationOutput(v **Ge } sv.ResponseScope = types.ResponseScope(jtv) } + case "topicConfigurations": if err := awsRestjson1_deserializeDocumentTopicConfigurations(&sv.TopicConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -3549,10 +3595,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.ApplicationId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentDataSourceConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3568,6 +3616,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "dataSourceArn": if value != nil { jtv, ok := value.(string) @@ -3576,6 +3625,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceArn = ptr.String(jtv) } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -3584,6 +3634,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DataSourceId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3592,6 +3643,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -3600,14 +3652,17 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.DisplayName = ptr.String(jtv) } + case "documentEnrichmentConfiguration": if err := awsRestjson1_deserializeDocumentDocumentEnrichmentConfiguration(&sv.DocumentEnrichmentConfiguration, value); err != nil { return err } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -3616,6 +3671,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.IndexId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -3624,6 +3680,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3632,6 +3689,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Status = types.DataSourceStatus(jtv) } + case "syncSchedule": if value != nil { jtv, ok := value.(string) @@ -3640,6 +3698,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.SyncSchedule = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3648,6 +3707,7 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3663,10 +3723,12 @@ func awsRestjson1_deserializeOpDocumentGetDataSourceOutput(v **GetDataSourceOutp } } + case "vpcConfiguration": if err := awsRestjson1_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3833,10 +3895,12 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroupStatusDetail(&sv.Status, value); err != nil { return err } + case "statusHistory": if err := awsRestjson1_deserializeDocumentGroupStatusDetails(&sv.StatusHistory, value); err != nil { return err } + default: _, _ = key, value @@ -4004,10 +4068,12 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.ApplicationId = ptr.String(jtv) } + case "capacityConfiguration": if err := awsRestjson1_deserializeDocumentIndexCapacityConfiguration(&sv.CapacityConfiguration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4023,6 +4089,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4031,6 +4098,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -4039,14 +4107,17 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.DisplayName = ptr.String(jtv) } + case "documentAttributeConfigurations": if err := awsRestjson1_deserializeDocumentDocumentAttributeConfigurations(&sv.DocumentAttributeConfigurations, value); err != nil { return err } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "indexArn": if value != nil { jtv, ok := value.(string) @@ -4055,6 +4126,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.IndexArn = ptr.String(jtv) } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -4063,10 +4135,12 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.IndexId = ptr.String(jtv) } + case "indexStatistics": if err := awsRestjson1_deserializeDocumentIndexStatistics(&sv.IndexStatistics, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4075,6 +4149,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Status = types.IndexStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4158,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Type = types.IndexType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4098,6 +4174,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } } + default: _, _ = key, value @@ -4265,10 +4342,12 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.ApplicationId = ptr.String(jtv) } + case "authConfiguration": if err := awsRestjson1_deserializeDocumentPluginAuthConfiguration(&sv.AuthConfiguration, value); err != nil { return err } + case "buildStatus": if value != nil { jtv, ok := value.(string) @@ -4277,6 +4356,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.BuildStatus = types.PluginBuildStatus(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4292,10 +4372,12 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } } + case "customPluginConfiguration": if err := awsRestjson1_deserializeDocumentCustomPluginConfiguration(&sv.CustomPluginConfiguration, value); err != nil { return err } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -4304,6 +4386,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.DisplayName = ptr.String(jtv) } + case "pluginArn": if value != nil { jtv, ok := value.(string) @@ -4312,6 +4395,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.PluginArn = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -4320,6 +4404,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.PluginId = ptr.String(jtv) } + case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -4328,6 +4413,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.ServerUrl = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -4336,6 +4422,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.State = types.PluginState(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4431,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } sv.Type = types.PluginType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4359,6 +4447,7 @@ func awsRestjson1_deserializeOpDocumentGetPluginOutput(v **GetPluginOutput, valu } } + default: _, _ = key, value @@ -4526,10 +4615,12 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.ApplicationId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentRetrieverConfiguration(&sv.Configuration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4545,6 +4636,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -4553,6 +4645,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.DisplayName = ptr.String(jtv) } + case "retrieverArn": if value != nil { jtv, ok := value.(string) @@ -4561,6 +4654,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RetrieverArn = ptr.String(jtv) } + case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -4569,6 +4663,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RetrieverId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4577,6 +4672,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.RoleArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4585,6 +4681,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.Status = types.RetrieverStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4593,6 +4690,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } sv.Type = types.RetrieverType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -4608,6 +4706,7 @@ func awsRestjson1_deserializeOpDocumentGetRetrieverOutput(v **GetRetrieverOutput } } + default: _, _ = key, value @@ -4774,6 +4873,7 @@ func awsRestjson1_deserializeOpDocumentGetUserOutput(v **GetUserOutput, value in if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliases, value); err != nil { return err } + default: _, _ = key, value @@ -4941,10 +5041,12 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.ApplicationId = ptr.String(jtv) } + case "authenticationConfiguration": if err := awsRestjson1_deserializeDocumentWebExperienceAuthConfiguration(&sv.AuthenticationConfiguration, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4960,6 +5062,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } } + case "defaultEndpoint": if value != nil { jtv, ok := value.(string) @@ -4968,18 +5071,22 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.DefaultEndpoint = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "identityProviderConfiguration": if err := awsRestjson1_deserializeDocumentIdentityProviderConfiguration(&sv.IdentityProviderConfiguration, value); err != nil { return err } + case "origins": if err := awsRestjson1_deserializeDocumentWebExperienceOrigins(&sv.Origins, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -4988,6 +5095,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.RoleArn = ptr.String(jtv) } + case "samplePromptsControlMode": if value != nil { jtv, ok := value.(string) @@ -4996,6 +5104,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.SamplePromptsControlMode = types.WebExperienceSamplePromptsControlMode(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5004,6 +5113,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Status = types.WebExperienceStatus(jtv) } + case "subtitle": if value != nil { jtv, ok := value.(string) @@ -5012,6 +5122,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Subtitle = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5020,6 +5131,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -5035,6 +5147,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } } + case "webExperienceArn": if value != nil { jtv, ok := value.(string) @@ -5043,6 +5156,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WebExperienceArn = ptr.String(jtv) } + case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -5051,6 +5165,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WebExperienceId = ptr.String(jtv) } + case "welcomeMessage": if value != nil { jtv, ok := value.(string) @@ -5059,6 +5174,7 @@ func awsRestjson1_deserializeOpDocumentGetWebExperienceOutput(v **GetWebExperien } sv.WelcomeMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5219,6 +5335,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplications(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5227,6 +5344,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5393,6 +5511,7 @@ func awsRestjson1_deserializeOpDocumentListConversationsOutput(v **ListConversat if err := awsRestjson1_deserializeDocumentConversations(&sv.Conversations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5401,6 +5520,7 @@ func awsRestjson1_deserializeOpDocumentListConversationsOutput(v **ListConversat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5564,6 +5684,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5572,6 +5693,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5735,6 +5857,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData if err := awsRestjson1_deserializeDocumentDataSourceSyncJobs(&sv.History, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5743,6 +5866,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourceSyncJobsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5906,6 +6030,7 @@ func awsRestjson1_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp if err := awsRestjson1_deserializeDocumentDocumentDetailList(&sv.DocumentDetailList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5914,6 +6039,7 @@ func awsRestjson1_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6080,6 +6206,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6215,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6251,6 +6379,7 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, if err := awsRestjson1_deserializeDocumentIndices(&sv.Indices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6259,6 +6388,7 @@ func awsRestjson1_deserializeOpDocumentListIndicesOutput(v **ListIndicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6425,6 +6555,7 @@ func awsRestjson1_deserializeOpDocumentListMessagesOutput(v **ListMessagesOutput if err := awsRestjson1_deserializeDocumentMessages(&sv.Messages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6433,6 +6564,7 @@ func awsRestjson1_deserializeOpDocumentListMessagesOutput(v **ListMessagesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6600,10 +6732,12 @@ func awsRestjson1_deserializeOpDocumentListPluginsOutput(v **ListPluginsOutput, } sv.NextToken = ptr.String(jtv) } + case "plugins": if err := awsRestjson1_deserializeDocumentPlugins(&sv.Plugins, value); err != nil { return err } + default: _, _ = key, value @@ -6771,10 +6905,12 @@ func awsRestjson1_deserializeOpDocumentListRetrieversOutput(v **ListRetrieversOu } sv.NextToken = ptr.String(jtv) } + case "retrievers": if err := awsRestjson1_deserializeDocumentRetrievers(&sv.Retrievers, value); err != nil { return err } + default: _, _ = key, value @@ -6938,6 +7074,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7105,10 +7242,12 @@ func awsRestjson1_deserializeOpDocumentListWebExperiencesOutput(v **ListWebExper } sv.NextToken = ptr.String(jtv) } + case "webExperiences": if err := awsRestjson1_deserializeDocumentWebExperiences(&sv.WebExperiences, value); err != nil { return err } + default: _, _ = key, value @@ -7494,6 +7633,7 @@ func awsRestjson1_deserializeOpDocumentStartDataSourceSyncJobOutput(v **StartDat } sv.ExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -8593,14 +8733,17 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesAdded, value); err != nil { return err } + case "userAliasesDeleted": if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesDeleted, value); err != nil { return err } + case "userAliasesUpdated": if err := awsRestjson1_deserializeDocumentUserAliases(&sv.UserAliasesUpdated, value); err != nil { return err } + default: _, _ = key, value @@ -9041,10 +9184,12 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.ConversationId = ptr.String(jtv) } + case "payload": if err := awsRestjson1_deserializeDocumentActionReviewPayload(&sv.Payload, value); err != nil { return err } + case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -9053,6 +9198,7 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PayloadFieldNameSeparator = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -9061,6 +9207,7 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PluginId = ptr.String(jtv) } + case "pluginType": if value != nil { jtv, ok := value.(string) @@ -9069,6 +9216,7 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.PluginType = types.PluginType(jtv) } + case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9077,6 +9225,7 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.SystemMessageId = ptr.String(jtv) } + case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9085,6 +9234,7 @@ func awsRestjson1_deserializeDocumentActionReviewEvent(v **types.ActionReviewEve } sv.UserMessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -9159,14 +9309,17 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.AllowedFormat = ptr.String(jtv) } + case "allowedValues": if err := awsRestjson1_deserializeDocumentActionReviewPayloadFieldAllowedValues(&sv.AllowedValues, value); err != nil { return err } + case "arrayItemJsonSchema": if err := awsRestjson1_deserializeDocumentActionReviewPayloadFieldArrayItemJsonSchema(&sv.ArrayItemJsonSchema, value); err != nil { return err } + case "displayDescription": if value != nil { jtv, ok := value.(string) @@ -9175,6 +9328,7 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayDescription = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -9183,6 +9337,7 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayName = ptr.String(jtv) } + case "displayOrder": if value != nil { jtv, ok := value.(json.Number) @@ -9195,6 +9350,7 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.DisplayOrder = ptr.Int32(int32(i64)) } + case "required": if value != nil { jtv, ok := value.(bool) @@ -9203,6 +9359,7 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.Required = ptr.Bool(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9211,10 +9368,12 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadField(v **types.ActionRe } sv.Type = types.ActionPayloadFieldType(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -9250,10 +9409,12 @@ func awsRestjson1_deserializeDocumentActionReviewPayloadFieldAllowedValue(v **ty if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.DisplayValue, value); err != nil { return err } + case "value": if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -9331,6 +9492,7 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9339,6 +9501,7 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9347,6 +9510,7 @@ func awsRestjson1_deserializeDocumentAttachmentOutput(v **types.AttachmentOutput } sv.Status = types.AttachmentStatus(jtv) } + default: _, _ = key, value @@ -9386,6 +9550,7 @@ func awsRestjson1_deserializeDocumentAuthChallengeRequestEvent(v **types.AuthCha } sv.AuthorizationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9425,6 +9590,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9433,6 +9599,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9468,6 +9635,7 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac if err := awsRestjson1_deserializeDocumentAttachmentOutput(&sv.Attachment, value); err != nil { return err } + case "conversationId": if value != nil { jtv, ok := value.(string) @@ -9476,6 +9644,7 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.ConversationId = ptr.String(jtv) } + case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9484,6 +9653,7 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.SystemMessageId = ptr.String(jtv) } + case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9492,6 +9662,7 @@ func awsRestjson1_deserializeDocumentFailedAttachmentEvent(v **types.FailedAttac } sv.UserMessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -9531,6 +9702,7 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.ConversationId = ptr.String(jtv) } + case "finalTextMessage": if value != nil { jtv, ok := value.(string) @@ -9539,10 +9711,12 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.FinalTextMessage = ptr.String(jtv) } + case "sourceAttributions": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttributions, value); err != nil { return err } + case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9551,6 +9725,7 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.SystemMessageId = ptr.String(jtv) } + case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9559,6 +9734,7 @@ func awsRestjson1_deserializeDocumentMetadataEvent(v **types.MetadataEvent, valu } sv.UserMessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -9598,6 +9774,7 @@ func awsRestjson1_deserializeDocumentSnippetExcerpt(v **types.SnippetExcerpt, va } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -9641,6 +9818,7 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.CitationNumber = ptr.Int32(int32(i64)) } + case "snippet": if value != nil { jtv, ok := value.(string) @@ -9649,10 +9827,12 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Snippet = ptr.String(jtv) } + case "textMessageSegments": if err := awsRestjson1_deserializeDocumentTextSegmentList(&sv.TextMessageSegments, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -9661,6 +9841,7 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Title = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -9676,6 +9857,7 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } } + case "url": if value != nil { jtv, ok := value.(string) @@ -9684,6 +9866,7 @@ func awsRestjson1_deserializeDocumentSourceAttribution(v **types.SourceAttributi } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -9755,6 +9938,7 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.ConversationId = ptr.String(jtv) } + case "systemMessage": if value != nil { jtv, ok := value.(string) @@ -9763,6 +9947,7 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.SystemMessage = ptr.String(jtv) } + case "systemMessageId": if value != nil { jtv, ok := value.(string) @@ -9771,6 +9956,7 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.SystemMessageId = ptr.String(jtv) } + case "userMessageId": if value != nil { jtv, ok := value.(string) @@ -9779,6 +9965,7 @@ func awsRestjson1_deserializeDocumentTextOutputEvent(v **types.TextOutputEvent, } sv.UserMessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -9822,6 +10009,7 @@ func awsRestjson1_deserializeDocumentTextSegment(v **types.TextSegment, value in } sv.BeginOffset = ptr.Int32(int32(i64)) } + case "endOffset": if value != nil { jtv, ok := value.(json.Number) @@ -9834,10 +10022,12 @@ func awsRestjson1_deserializeDocumentTextSegment(v **types.TextSegment, value in } sv.EndOffset = ptr.Int32(int32(i64)) } + case "snippetExcerpt": if err := awsRestjson1_deserializeDocumentSnippetExcerpt(&sv.SnippetExcerpt, value); err != nil { return err } + default: _, _ = key, value @@ -10199,6 +10389,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10234,6 +10425,7 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, if err := awsRestjson1_deserializeDocumentActionExecutionPayload(&sv.Payload, value); err != nil { return err } + case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -10242,6 +10434,7 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PayloadFieldNameSeparator = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -10250,6 +10443,7 @@ func awsRestjson1_deserializeDocumentActionExecution(v **types.ActionExecution, } sv.PluginId = ptr.String(jtv) } + default: _, _ = key, value @@ -10320,6 +10514,7 @@ func awsRestjson1_deserializeDocumentActionExecutionPayloadField(v **types.Actio if err := awsRestjson1_deserializeDocumentActionPayloadFieldValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -10355,6 +10550,7 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value if err := awsRestjson1_deserializeDocumentActionReviewPayload(&sv.Payload, value); err != nil { return err } + case "payloadFieldNameSeparator": if value != nil { jtv, ok := value.(string) @@ -10363,6 +10559,7 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PayloadFieldNameSeparator = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -10371,6 +10568,7 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PluginId = ptr.String(jtv) } + case "pluginType": if value != nil { jtv, ok := value.(string) @@ -10379,6 +10577,7 @@ func awsRestjson1_deserializeDocumentActionReview(v **types.ActionReview, value } sv.PluginType = types.PluginType(jtv) } + default: _, _ = key, value @@ -10470,6 +10669,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationId = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10485,6 +10685,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -10493,6 +10694,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.DisplayName = ptr.String(jtv) } + case "identityType": if value != nil { jtv, ok := value.(string) @@ -10501,6 +10703,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.IdentityType = types.IdentityType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10509,6 +10712,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -10524,6 +10728,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } + default: _, _ = key, value @@ -10597,6 +10802,7 @@ func awsRestjson1_deserializeDocumentAppliedAttachmentsConfiguration(v **types.A } sv.AttachmentsControlMode = types.AttachmentsControlMode(jtv) } + default: _, _ = key, value @@ -10636,6 +10842,7 @@ func awsRestjson1_deserializeDocumentAppliedCreatorModeConfiguration(v **types.A } sv.CreatorModeControl = types.CreatorModeControl(jtv) } + default: _, _ = key, value @@ -10709,6 +10916,7 @@ func awsRestjson1_deserializeDocumentAuthChallengeRequest(v **types.AuthChalleng } sv.AuthorizationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10748,6 +10956,7 @@ func awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(v **types.Aut } sv.AutoSubscribe = types.AutoSubscriptionStatus(jtv) } + case "defaultSubscriptionType": if value != nil { jtv, ok := value.(string) @@ -10756,6 +10965,7 @@ func awsRestjson1_deserializeDocumentAutoSubscriptionConfiguration(v **types.Aut } sv.DefaultSubscriptionType = types.SubscriptionType(jtv) } + default: _, _ = key, value @@ -10795,6 +11005,7 @@ func awsRestjson1_deserializeDocumentBasicAuthConfiguration(v **types.BasicAuthC } sv.RoleArn = ptr.String(jtv) } + case "secretArn": if value != nil { jtv, ok := value.(string) @@ -10803,6 +11014,7 @@ func awsRestjson1_deserializeDocumentBasicAuthConfiguration(v **types.BasicAuthC } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10874,6 +11086,7 @@ func awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(v **types.Block if err := awsRestjson1_deserializeDocumentBlockedPhrases(&sv.BlockedPhrases, value); err != nil { return err } + case "systemMessageOverride": if value != nil { jtv, ok := value.(string) @@ -10882,6 +11095,7 @@ func awsRestjson1_deserializeDocumentBlockedPhrasesConfiguration(v **types.Block } sv.SystemMessageOverride = ptr.String(jtv) } + default: _, _ = key, value @@ -10957,6 +11171,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10965,6 +11180,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10973,6 +11189,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11012,6 +11229,7 @@ func awsRestjson1_deserializeDocumentContentBlockerRule(v **types.ContentBlocker } sv.SystemMessageOverride = ptr.String(jtv) } + default: _, _ = key, value @@ -11047,6 +11265,7 @@ func awsRestjson1_deserializeDocumentContentRetrievalRule(v **types.ContentRetri if err := awsRestjson1_deserializeDocumentEligibleDataSources(&sv.EligibleDataSources, value); err != nil { return err } + default: _, _ = key, value @@ -11086,6 +11305,7 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } sv.ConversationId = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11101,6 +11321,7 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } } + case "title": if value != nil { jtv, ok := value.(string) @@ -11109,6 +11330,7 @@ func awsRestjson1_deserializeDocumentConversation(v **types.Conversation, value } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -11178,6 +11400,7 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP if err := awsRestjson1_deserializeDocumentAPISchema(&sv.ApiSchema, value); err != nil { return err } + case "apiSchemaType": if value != nil { jtv, ok := value.(string) @@ -11186,6 +11409,7 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP } sv.ApiSchemaType = types.APISchemaType(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11194,6 +11418,7 @@ func awsRestjson1_deserializeDocumentCustomPluginConfiguration(v **types.CustomP } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -11240,6 +11465,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "dataSourceId": if value != nil { jtv, ok := value.(string) @@ -11248,6 +11474,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -11256,6 +11483,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DisplayName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11264,6 +11492,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.DataSourceStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11272,6 +11501,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = ptr.String(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -11287,6 +11517,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } + default: _, _ = key, value @@ -11368,6 +11599,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.DataSourceErrorCode = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -11383,10 +11615,12 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "executionId": if value != nil { jtv, ok := value.(string) @@ -11395,10 +11629,12 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.ExecutionId = ptr.String(jtv) } + case "metrics": if err := awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(&sv.Metrics, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11414,6 +11650,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11422,6 +11659,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJob(v **types.DataSourceSyncJ } sv.Status = types.DataSourceSyncJobStatus(jtv) } + default: _, _ = key, value @@ -11461,6 +11699,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsAdded = ptr.String(jtv) } + case "documentsDeleted": if value != nil { jtv, ok := value.(string) @@ -11469,6 +11708,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsDeleted = ptr.String(jtv) } + case "documentsFailed": if value != nil { jtv, ok := value.(string) @@ -11477,6 +11717,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsFailed = ptr.String(jtv) } + case "documentsModified": if value != nil { jtv, ok := value.(string) @@ -11485,6 +11726,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsModified = ptr.String(jtv) } + case "documentsScanned": if value != nil { jtv, ok := value.(string) @@ -11493,6 +11735,7 @@ func awsRestjson1_deserializeDocumentDataSourceSyncJobMetrics(v **types.DataSour } sv.DocumentsScanned = ptr.String(jtv) } + default: _, _ = key, value @@ -11562,10 +11805,12 @@ func awsRestjson1_deserializeDocumentDataSourceVpcConfiguration(v **types.DataSo if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -11609,6 +11854,7 @@ func awsRestjson1_deserializeDocumentDateAttributeBoostingConfiguration(v **type } sv.BoostingDurationInSeconds = ptr.Int64(i64) } + case "boostingLevel": if value != nil { jtv, ok := value.(string) @@ -11617,6 +11863,7 @@ func awsRestjson1_deserializeDocumentDateAttributeBoostingConfiguration(v **type } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } + default: _, _ = key, value @@ -11760,6 +12007,7 @@ func awsRestjson1_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Key = ptr.String(jtv) } + case "operator": if value != nil { jtv, ok := value.(string) @@ -11768,10 +12016,12 @@ func awsRestjson1_deserializeDocumentDocumentAttributeCondition(v **types.Docume } sv.Operator = types.DocumentEnrichmentConditionOperator(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -11811,6 +12061,7 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Name = ptr.String(jtv) } + case "search": if value != nil { jtv, ok := value.(string) @@ -11819,6 +12070,7 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Search = types.Status(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11827,6 +12079,7 @@ func awsRestjson1_deserializeDocumentDocumentAttributeConfiguration(v **types.Do } sv.Type = types.AttributeType(jtv) } + default: _, _ = key, value @@ -11936,6 +12189,7 @@ func awsRestjson1_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.AttributeValueOperator = types.AttributeValueOperator(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -11944,10 +12198,12 @@ func awsRestjson1_deserializeDocumentDocumentAttributeTarget(v **types.DocumentA } sv.Key = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentDocumentAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -12113,6 +12369,7 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } } + case "documentId": if value != nil { jtv, ok := value.(string) @@ -12121,10 +12378,12 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } sv.DocumentId = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -12133,6 +12392,7 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } sv.Status = types.DocumentStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -12148,6 +12408,7 @@ func awsRestjson1_deserializeDocumentDocumentDetails(v **types.DocumentDetails, } } + default: _, _ = key, value @@ -12183,14 +12444,17 @@ func awsRestjson1_deserializeDocumentDocumentEnrichmentConfiguration(v **types.D if err := awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfigurations(&sv.InlineConfigurations, value); err != nil { return err } + case "postExtractionHookConfiguration": if err := awsRestjson1_deserializeDocumentHookConfiguration(&sv.PostExtractionHookConfiguration, value); err != nil { return err } + case "preExtractionHookConfiguration": if err := awsRestjson1_deserializeDocumentHookConfiguration(&sv.PreExtractionHookConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -12230,6 +12494,7 @@ func awsRestjson1_deserializeDocumentEligibleDataSource(v **types.EligibleDataSo } sv.DataSourceId = ptr.String(jtv) } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -12238,6 +12503,7 @@ func awsRestjson1_deserializeDocumentEligibleDataSource(v **types.EligibleDataSo } sv.IndexId = ptr.String(jtv) } + default: _, _ = key, value @@ -12311,6 +12577,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -12386,10 +12653,12 @@ func awsRestjson1_deserializeDocumentFailedDocument(v **types.FailedDocument, va } sv.DataSourceId = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.Error, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12398,6 +12667,7 @@ func awsRestjson1_deserializeDocumentFailedDocument(v **types.FailedDocument, va } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -12467,6 +12737,7 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta if err := awsRestjson1_deserializeDocumentErrorDetail(&sv.ErrorDetail, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12482,6 +12753,7 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta } } + case "status": if value != nil { jtv, ok := value.(string) @@ -12490,6 +12762,7 @@ func awsRestjson1_deserializeDocumentGroupStatusDetail(v **types.GroupStatusDeta } sv.Status = types.GroupStatus(jtv) } + default: _, _ = key, value @@ -12563,6 +12836,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -12632,6 +12906,7 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati if err := awsRestjson1_deserializeDocumentDocumentAttributeCondition(&sv.InvocationCondition, value); err != nil { return err } + case "lambdaArn": if value != nil { jtv, ok := value.(string) @@ -12640,6 +12915,7 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.LambdaArn = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -12648,6 +12924,7 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.RoleArn = ptr.String(jtv) } + case "s3BucketName": if value != nil { jtv, ok := value.(string) @@ -12656,6 +12933,7 @@ func awsRestjson1_deserializeDocumentHookConfiguration(v **types.HookConfigurati } sv.S3BucketName = ptr.String(jtv) } + default: _, _ = key, value @@ -12752,6 +13030,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -12760,6 +13039,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -12768,6 +13048,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.IndexId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12776,6 +13057,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Status = types.IndexStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -12791,6 +13073,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } } + default: _, _ = key, value @@ -12834,6 +13117,7 @@ func awsRestjson1_deserializeDocumentIndexCapacityConfiguration(v **types.IndexC } sv.Units = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12869,6 +13153,7 @@ func awsRestjson1_deserializeDocumentIndexStatistics(v **types.IndexStatistics, if err := awsRestjson1_deserializeDocumentTextDocumentStatistics(&sv.TextDocumentStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -12938,6 +13223,7 @@ func awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfiguration(v **t if err := awsRestjson1_deserializeDocumentDocumentAttributeCondition(&sv.Condition, value); err != nil { return err } + case "documentContentOperator": if value != nil { jtv, ok := value.(string) @@ -12946,10 +13232,12 @@ func awsRestjson1_deserializeDocumentInlineDocumentEnrichmentConfiguration(v **t } sv.DocumentContentOperator = types.DocumentContentOperator(jtv) } + case "target": if err := awsRestjson1_deserializeDocumentDocumentAttributeTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -13023,6 +13311,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13062,6 +13351,7 @@ func awsRestjson1_deserializeDocumentKendraIndexConfiguration(v **types.KendraIn } sv.IndexId = ptr.String(jtv) } + default: _, _ = key, value @@ -13101,6 +13391,7 @@ func awsRestjson1_deserializeDocumentLicenseNotFoundException(v **types.LicenseN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13136,14 +13427,17 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsRestjson1_deserializeDocumentActionExecution(&sv.ActionExecution, value); err != nil { return err } + case "actionReview": if err := awsRestjson1_deserializeDocumentActionReview(&sv.ActionReview, value); err != nil { return err } + case "attachments": if err := awsRestjson1_deserializeDocumentAttachmentsOutput(&sv.Attachments, value); err != nil { return err } + case "body": if value != nil { jtv, ok := value.(string) @@ -13152,6 +13446,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } + case "messageId": if value != nil { jtv, ok := value.(string) @@ -13160,10 +13455,12 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageId = ptr.String(jtv) } + case "sourceAttribution": if err := awsRestjson1_deserializeDocumentSourceAttributions(&sv.SourceAttribution, value); err != nil { return err } + case "time": if value != nil { switch jtv := value.(type) { @@ -13179,6 +13476,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } } + case "type": if value != nil { jtv, ok := value.(string) @@ -13187,6 +13485,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Type = types.MessageType(jtv) } + default: _, _ = key, value @@ -13256,6 +13555,7 @@ func awsRestjson1_deserializeDocumentNativeIndexConfiguration(v **types.NativeIn if err := awsRestjson1_deserializeDocumentDocumentAttributeBoostingOverrideMap(&sv.BoostingOverride, value); err != nil { return err } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -13264,6 +13564,7 @@ func awsRestjson1_deserializeDocumentNativeIndexConfiguration(v **types.NativeIn } sv.IndexId = ptr.String(jtv) } + default: _, _ = key, value @@ -13334,6 +13635,7 @@ func awsRestjson1_deserializeDocumentNumberAttributeBoostingConfiguration(v **ty } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } + case "boostingType": if value != nil { jtv, ok := value.(string) @@ -13342,6 +13644,7 @@ func awsRestjson1_deserializeDocumentNumberAttributeBoostingConfiguration(v **ty } sv.BoostingType = types.NumberAttributeBoostingType(jtv) } + default: _, _ = key, value @@ -13381,6 +13684,7 @@ func awsRestjson1_deserializeDocumentOAuth2ClientCredentialConfiguration(v **typ } sv.RoleArn = ptr.String(jtv) } + case "secretArn": if value != nil { jtv, ok := value.(string) @@ -13389,6 +13693,7 @@ func awsRestjson1_deserializeDocumentOAuth2ClientCredentialConfiguration(v **typ } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13428,6 +13733,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectProviderConfiguration(v **type } sv.SecretsArn = ptr.String(jtv) } + case "secretsRole": if value != nil { jtv, ok := value.(string) @@ -13436,6 +13742,7 @@ func awsRestjson1_deserializeDocumentOpenIDConnectProviderConfiguration(v **type } sv.SecretsRole = ptr.String(jtv) } + default: _, _ = key, value @@ -13475,6 +13782,7 @@ func awsRestjson1_deserializeDocumentPersonalizationConfiguration(v **types.Pers } sv.PersonalizationControlMode = types.PersonalizationControlMode(jtv) } + default: _, _ = key, value @@ -13514,6 +13822,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.BuildStatus = types.PluginBuildStatus(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -13529,6 +13838,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -13537,6 +13847,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.DisplayName = ptr.String(jtv) } + case "pluginId": if value != nil { jtv, ok := value.(string) @@ -13545,6 +13856,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.PluginId = ptr.String(jtv) } + case "serverUrl": if value != nil { jtv, ok := value.(string) @@ -13553,6 +13865,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.ServerUrl = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -13561,6 +13874,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.State = types.PluginState(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13569,6 +13883,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } sv.Type = types.PluginType(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -13584,6 +13899,7 @@ func awsRestjson1_deserializeDocumentPlugin(v **types.Plugin, value interface{}) } } + default: _, _ = key, value @@ -13717,6 +14033,7 @@ func awsRestjson1_deserializeDocumentQAppsConfiguration(v **types.QAppsConfigura } sv.QAppsControlMode = types.QAppsControlMode(jtv) } + default: _, _ = key, value @@ -13756,6 +14073,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13764,6 +14082,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13772,6 +14091,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13811,6 +14131,7 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.ApplicationId = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -13819,6 +14140,7 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.DisplayName = ptr.String(jtv) } + case "retrieverId": if value != nil { jtv, ok := value.(string) @@ -13827,6 +14149,7 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.RetrieverId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13835,6 +14158,7 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.Status = types.RetrieverStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -13843,6 +14167,7 @@ func awsRestjson1_deserializeDocumentRetriever(v **types.Retriever, value interf } sv.Type = types.RetrieverType(jtv) } + default: _, _ = key, value @@ -13962,14 +14287,17 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentUsersAndGroups(&sv.ExcludedUsersAndGroups, value); err != nil { return err } + case "includedUsersAndGroups": if err := awsRestjson1_deserializeDocumentUsersAndGroups(&sv.IncludedUsersAndGroups, value); err != nil { return err } + case "ruleConfiguration": if err := awsRestjson1_deserializeDocumentRuleConfiguration(&sv.RuleConfiguration, value); err != nil { return err } + case "ruleType": if value != nil { jtv, ok := value.(string) @@ -13978,6 +14306,7 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleType = types.RuleType(jtv) } + default: _, _ = key, value @@ -14101,6 +14430,7 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -14109,6 +14439,7 @@ func awsRestjson1_deserializeDocumentS3(v **types.S3, value interface{}) error { } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -14148,6 +14479,7 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.MetadataXML = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -14156,6 +14488,7 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.RoleArn = ptr.String(jtv) } + case "userGroupAttribute": if value != nil { jtv, ok := value.(string) @@ -14164,6 +14497,7 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.UserGroupAttribute = ptr.String(jtv) } + case "userIdAttribute": if value != nil { jtv, ok := value.(string) @@ -14172,6 +14506,7 @@ func awsRestjson1_deserializeDocumentSamlConfiguration(v **types.SamlConfigurati } sv.UserIdAttribute = ptr.String(jtv) } + default: _, _ = key, value @@ -14211,6 +14546,7 @@ func awsRestjson1_deserializeDocumentSamlProviderConfiguration(v **types.SamlPro } sv.AuthenticationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -14286,6 +14622,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14294,6 +14631,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14302,6 +14640,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -14337,6 +14676,7 @@ func awsRestjson1_deserializeDocumentStringAttributeBoostingConfiguration(v **ty if err := awsRestjson1_deserializeDocumentStringAttributeValueBoosting(&sv.AttributeValueBoosting, value); err != nil { return err } + case "boostingLevel": if value != nil { jtv, ok := value.(string) @@ -14345,6 +14685,7 @@ func awsRestjson1_deserializeDocumentStringAttributeBoostingConfiguration(v **ty } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } + default: _, _ = key, value @@ -14420,6 +14761,7 @@ func awsRestjson1_deserializeDocumentStringListAttributeBoostingConfiguration(v } sv.BoostingLevel = types.DocumentAttributeBoostingLevel(jtv) } + default: _, _ = key, value @@ -14495,6 +14837,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -14503,6 +14846,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14580,6 +14924,7 @@ func awsRestjson1_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextBytes = ptr.Int64(i64) } + case "indexedTextDocumentCount": if value != nil { jtv, ok := value.(json.Number) @@ -14592,6 +14937,7 @@ func awsRestjson1_deserializeDocumentTextDocumentStatistics(v **types.TextDocume } sv.IndexedTextDocumentCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -14631,6 +14977,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14670,10 +15017,12 @@ func awsRestjson1_deserializeDocumentTopicConfiguration(v **types.TopicConfigura } sv.Description = ptr.String(jtv) } + case "exampleChatMessages": if err := awsRestjson1_deserializeDocumentExampleChatMessages(&sv.ExampleChatMessages, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -14682,10 +15031,12 @@ func awsRestjson1_deserializeDocumentTopicConfiguration(v **types.TopicConfigura } sv.Name = ptr.String(jtv) } + case "rules": if err := awsRestjson1_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -14759,6 +15110,7 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.DataSourceId = ptr.String(jtv) } + case "indexId": if value != nil { jtv, ok := value.(string) @@ -14767,6 +15119,7 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.IndexId = ptr.String(jtv) } + case "userId": if value != nil { jtv, ok := value.(string) @@ -14775,6 +15128,7 @@ func awsRestjson1_deserializeDocumentUserAlias(v **types.UserAlias, value interf } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -14916,10 +15270,12 @@ func awsRestjson1_deserializeDocumentUsersAndGroups(v **types.UsersAndGroups, va if err := awsRestjson1_deserializeDocumentUserGroups(&sv.UserGroups, value); err != nil { return err } + case "userIds": if err := awsRestjson1_deserializeDocumentUserIds(&sv.UserIds, value); err != nil { return err } + default: _, _ = key, value @@ -14955,6 +15311,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFields(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -14963,6 +15320,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -14971,6 +15329,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -15010,6 +15369,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -15018,6 +15378,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -15098,6 +15459,7 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } } + case "defaultEndpoint": if value != nil { jtv, ok := value.(string) @@ -15106,6 +15468,7 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.DefaultEndpoint = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15114,6 +15477,7 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.Status = types.WebExperienceStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -15129,6 +15493,7 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } } + case "webExperienceId": if value != nil { jtv, ok := value.(string) @@ -15137,6 +15502,7 @@ func awsRestjson1_deserializeDocumentWebExperience(v **types.WebExperience, valu } sv.WebExperienceId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/qconnect/deserializers.go b/service/qconnect/deserializers.go index c412593b04e..6ade3651ea8 100644 --- a/service/qconnect/deserializers.go +++ b/service/qconnect/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentOutput(v **CreateAIAgentOutp if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } + default: _, _ = key, value @@ -353,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentVersionOutput(v **CreateAIAg if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -365,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIAgentVersionOutput(v **CreateAIAg } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -531,6 +534,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptOutput(v **CreateAIPromptOu if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } + default: _, _ = key, value @@ -697,6 +701,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptVersionOutput(v **CreateAIP if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -709,6 +714,7 @@ func awsRestjson1_deserializeOpDocumentCreateAIPromptVersionOutput(v **CreateAIP } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -869,6 +875,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantOutput(v **CreateAssistant if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } + default: _, _ = key, value @@ -1032,6 +1039,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantAssociationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1195,6 +1203,7 @@ func awsRestjson1_deserializeOpDocumentCreateContentOutput(v **CreateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -1361,6 +1370,7 @@ func awsRestjson1_deserializeOpDocumentCreateContentAssociationOutput(v **Create if err := awsRestjson1_deserializeDocumentContentAssociationData(&sv.ContentAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1521,6 +1531,7 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -1684,6 +1695,7 @@ func awsRestjson1_deserializeOpDocumentCreateQuickResponseOutput(v **CreateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1844,6 +1856,7 @@ func awsRestjson1_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -3062,6 +3075,7 @@ func awsRestjson1_deserializeOpDocumentGetAIAgentOutput(v **GetAIAgentOutput, va if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3074,6 +3088,7 @@ func awsRestjson1_deserializeOpDocumentGetAIAgentOutput(v **GetAIAgentOutput, va } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -3234,6 +3249,7 @@ func awsRestjson1_deserializeOpDocumentGetAIPromptOutput(v **GetAIPromptOutput, if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3246,6 +3262,7 @@ func awsRestjson1_deserializeOpDocumentGetAIPromptOutput(v **GetAIPromptOutput, } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -3403,6 +3420,7 @@ func awsRestjson1_deserializeOpDocumentGetAssistantOutput(v **GetAssistantOutput if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } + default: _, _ = key, value @@ -3560,6 +3578,7 @@ func awsRestjson1_deserializeOpDocumentGetAssistantAssociationOutput(v **GetAssi if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -3717,6 +3736,7 @@ func awsRestjson1_deserializeOpDocumentGetContentOutput(v **GetContentOutput, va if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -3874,6 +3894,7 @@ func awsRestjson1_deserializeOpDocumentGetContentAssociationOutput(v **GetConten if err := awsRestjson1_deserializeDocumentContentAssociationData(&sv.ContentAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -4031,6 +4052,7 @@ func awsRestjson1_deserializeOpDocumentGetContentSummaryOutput(v **GetContentSum if err := awsRestjson1_deserializeDocumentContentSummary(&sv.ContentSummary, value); err != nil { return err } + default: _, _ = key, value @@ -4188,6 +4210,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -4345,6 +4368,7 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -4502,6 +4526,7 @@ func awsRestjson1_deserializeOpDocumentGetQuickResponseOutput(v **GetQuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -4659,10 +4684,12 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } + case "triggers": if err := awsRestjson1_deserializeDocumentRecommendationTriggerList(&sv.Triggers, value); err != nil { return err } + default: _, _ = key, value @@ -4820,6 +4847,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -4980,6 +5008,7 @@ func awsRestjson1_deserializeOpDocumentListAIAgentsOutput(v **ListAIAgentsOutput if err := awsRestjson1_deserializeDocumentAIAgentSummaryList(&sv.AiAgentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4988,6 +5017,7 @@ func awsRestjson1_deserializeOpDocumentListAIAgentsOutput(v **ListAIAgentsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5148,6 +5178,7 @@ func awsRestjson1_deserializeOpDocumentListAIAgentVersionsOutput(v **ListAIAgent if err := awsRestjson1_deserializeDocumentAIAgentVersionSummariesList(&sv.AiAgentVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5156,6 +5187,7 @@ func awsRestjson1_deserializeOpDocumentListAIAgentVersionsOutput(v **ListAIAgent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5316,6 +5348,7 @@ func awsRestjson1_deserializeOpDocumentListAIPromptsOutput(v **ListAIPromptsOutp if err := awsRestjson1_deserializeDocumentAIPromptSummaryList(&sv.AiPromptSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5357,7 @@ func awsRestjson1_deserializeOpDocumentListAIPromptsOutput(v **ListAIPromptsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5484,6 +5518,7 @@ func awsRestjson1_deserializeOpDocumentListAIPromptVersionsOutput(v **ListAIProm if err := awsRestjson1_deserializeDocumentAIPromptVersionSummariesList(&sv.AiPromptVersionSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5492,6 +5527,7 @@ func awsRestjson1_deserializeOpDocumentListAIPromptVersionsOutput(v **ListAIProm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5649,6 +5685,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssistantAssociationSummaryList(&sv.AssistantAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5657,6 +5694,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5811,6 +5849,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu if err := awsRestjson1_deserializeDocumentAssistantList(&sv.AssistantSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5819,6 +5858,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5976,6 +6016,7 @@ func awsRestjson1_deserializeOpDocumentListContentAssociationsOutput(v **ListCon if err := awsRestjson1_deserializeDocumentContentAssociationSummaryList(&sv.ContentAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5984,6 +6025,7 @@ func awsRestjson1_deserializeOpDocumentListContentAssociationsOutput(v **ListCon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6141,6 +6183,7 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6149,6 +6192,7 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6303,6 +6347,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobList(&sv.ImportJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6311,6 +6356,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6465,6 +6511,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseList(&sv.KnowledgeBaseSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6473,6 +6520,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6634,10 +6682,12 @@ func awsRestjson1_deserializeOpDocumentListQuickResponsesOutput(v **ListQuickRes } sv.NextToken = ptr.String(jtv) } + case "quickResponseSummaries": if err := awsRestjson1_deserializeDocumentQuickResponseSummaryList(&sv.QuickResponseSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -6789,6 +6839,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6946,10 +6997,12 @@ func awsRestjson1_deserializeOpDocumentNotifyRecommendationsReceivedOutput(v **N if err := awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedErrorList(&sv.Errors, value); err != nil { return err } + case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } + default: _, _ = key, value @@ -7111,6 +7164,7 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -7119,10 +7173,12 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.AssistantId = ptr.String(jtv) } + case "contentFeedback": if err := awsRestjson1_deserializeDocumentContentFeedbackData(&sv.ContentFeedback, value); err != nil { return err } + case "targetId": if value != nil { jtv, ok := value.(string) @@ -7131,6 +7187,7 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.TargetId = ptr.String(jtv) } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7196,7 @@ func awsRestjson1_deserializeOpDocumentPutFeedbackOutput(v **PutFeedbackOutput, } sv.TargetType = types.TargetType(jtv) } + default: _, _ = key, value @@ -7303,10 +7361,12 @@ func awsRestjson1_deserializeOpDocumentQueryAssistantOutput(v **QueryAssistantOu } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentQueryResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -7655,6 +7715,7 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7663,6 +7724,7 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7827,10 +7889,12 @@ func awsRestjson1_deserializeOpDocumentSearchQuickResponsesOutput(v **SearchQuic } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentQuickResponseSearchResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -7992,10 +8056,12 @@ func awsRestjson1_deserializeOpDocumentSearchSessionsOutput(v **SearchSessionsOu } sv.NextToken = ptr.String(jtv) } + case "sessionSummaries": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.SessionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8153,6 +8219,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent if err := awsRestjson1_deserializeDocumentHeaders(&sv.HeadersToInclude, value); err != nil { return err } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -8161,6 +8228,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.UploadId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -8169,6 +8237,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -8184,6 +8253,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } } + default: _, _ = key, value @@ -8347,6 +8417,7 @@ func awsRestjson1_deserializeOpDocumentStartImportJobOutput(v **StartImportJobOu if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -8689,6 +8760,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAIAgentOutput(v **UpdateAIAgentOutp if err := awsRestjson1_deserializeDocumentAIAgentData(&sv.AiAgent, value); err != nil { return err } + default: _, _ = key, value @@ -8852,6 +8924,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAIPromptOutput(v **UpdateAIPromptOu if err := awsRestjson1_deserializeDocumentAIPromptData(&sv.AiPrompt, value); err != nil { return err } + default: _, _ = key, value @@ -9012,6 +9085,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAssistantAIAgentOutput(v **UpdateAs if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } + default: _, _ = key, value @@ -9172,6 +9246,7 @@ func awsRestjson1_deserializeOpDocumentUpdateContentOutput(v **UpdateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -9329,6 +9404,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseTemplateUriOutput(v ** if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -9492,6 +9568,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQuickResponseOutput(v **UpdateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -9649,6 +9726,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionOutput(v **UpdateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -9806,6 +9884,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession if err := awsRestjson1_deserializeDocumentRuntimeSessionDataList(&sv.Data, value); err != nil { return err } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -9814,6 +9893,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.Namespace = types.SessionDataNamespace(jtv) } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -9822,6 +9902,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -9830,6 +9911,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSessionDataOutput(v **UpdateSession } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10193,6 +10275,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10282,6 +10365,7 @@ func awsRestjson1_deserializeDocumentAIAgentConfigurationData(v **types.AIAgentC } sv.AiAgentId = ptr.String(jtv) } + default: _, _ = key, value @@ -10356,6 +10440,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AiAgentArn = ptr.String(jtv) } + case "aiAgentId": if value != nil { jtv, ok := value.(string) @@ -10364,6 +10449,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AiAgentId = ptr.String(jtv) } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10372,6 +10458,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10380,10 +10467,12 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.AssistantId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAIAgentConfiguration(&sv.Configuration, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10392,6 +10481,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Description = ptr.String(jtv) } + case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10407,6 +10497,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10415,6 +10506,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Name = ptr.String(jtv) } + case "origin": if value != nil { jtv, ok := value.(string) @@ -10423,6 +10515,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Origin = types.Origin(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10431,10 +10524,12 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Status = types.Status(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10443,6 +10538,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.Type = types.AIAgentType(jtv) } + case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10451,6 +10547,7 @@ func awsRestjson1_deserializeDocumentAIAgentData(v **types.AIAgentData, value in } sv.VisibilityStatus = types.VisibilityStatus(jtv) } + default: _, _ = key, value @@ -10490,6 +10587,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AiAgentArn = ptr.String(jtv) } + case "aiAgentId": if value != nil { jtv, ok := value.(string) @@ -10498,6 +10596,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AiAgentId = ptr.String(jtv) } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10506,6 +10605,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10514,10 +10614,12 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.AssistantId = ptr.String(jtv) } + case "configuration": if err := awsRestjson1_deserializeDocumentAIAgentConfiguration(&sv.Configuration, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10526,6 +10628,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Description = ptr.String(jtv) } + case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10541,6 +10644,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10549,6 +10653,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Name = ptr.String(jtv) } + case "origin": if value != nil { jtv, ok := value.(string) @@ -10557,6 +10662,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Origin = types.Origin(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10565,10 +10671,12 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Status = types.Status(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -10577,6 +10685,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.Type = types.AIAgentType(jtv) } + case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10585,6 +10694,7 @@ func awsRestjson1_deserializeDocumentAIAgentSummary(v **types.AIAgentSummary, va } sv.VisibilityStatus = types.VisibilityStatus(jtv) } + default: _, _ = key, value @@ -10688,6 +10798,7 @@ func awsRestjson1_deserializeDocumentAIAgentVersionSummary(v **types.AIAgentVers if err := awsRestjson1_deserializeDocumentAIAgentSummary(&sv.AiAgentSummary, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -10700,6 +10811,7 @@ func awsRestjson1_deserializeDocumentAIAgentVersionSummary(v **types.AIAgentVers } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -10739,6 +10851,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AiPromptArn = ptr.String(jtv) } + case "aiPromptId": if value != nil { jtv, ok := value.(string) @@ -10747,6 +10860,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AiPromptId = ptr.String(jtv) } + case "apiFormat": if value != nil { jtv, ok := value.(string) @@ -10755,6 +10869,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.ApiFormat = types.AIPromptAPIFormat(jtv) } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10763,6 +10878,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10771,6 +10887,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.AssistantId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10779,6 +10896,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -10787,6 +10905,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.ModelId = ptr.String(jtv) } + case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10802,6 +10921,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10810,6 +10930,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Name = ptr.String(jtv) } + case "origin": if value != nil { jtv, ok := value.(string) @@ -10818,6 +10939,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Origin = types.Origin(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10826,14 +10948,17 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Status = types.Status(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "templateConfiguration": if err := awsRestjson1_deserializeDocumentAIPromptTemplateConfiguration(&sv.TemplateConfiguration, value); err != nil { return err } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -10842,6 +10967,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.TemplateType = types.AIPromptTemplateType(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10850,6 +10976,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.Type = types.AIPromptType(jtv) } + case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -10858,6 +10985,7 @@ func awsRestjson1_deserializeDocumentAIPromptData(v **types.AIPromptData, value } sv.VisibilityStatus = types.VisibilityStatus(jtv) } + default: _, _ = key, value @@ -10897,6 +11025,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AiPromptArn = ptr.String(jtv) } + case "aiPromptId": if value != nil { jtv, ok := value.(string) @@ -10905,6 +11034,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AiPromptId = ptr.String(jtv) } + case "apiFormat": if value != nil { jtv, ok := value.(string) @@ -10913,6 +11043,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.ApiFormat = types.AIPromptAPIFormat(jtv) } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -10921,6 +11052,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10929,6 +11061,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.AssistantId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10937,6 +11070,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Description = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -10945,6 +11079,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.ModelId = ptr.String(jtv) } + case "modifiedTime": if value != nil { switch jtv := value.(type) { @@ -10960,6 +11095,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10968,6 +11104,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Name = ptr.String(jtv) } + case "origin": if value != nil { jtv, ok := value.(string) @@ -10976,6 +11113,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Origin = types.Origin(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -10984,10 +11122,12 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Status = types.Status(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "templateType": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11136,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.TemplateType = types.AIPromptTemplateType(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11004,6 +11145,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.Type = types.AIPromptType(jtv) } + case "visibilityStatus": if value != nil { jtv, ok := value.(string) @@ -11012,6 +11154,7 @@ func awsRestjson1_deserializeDocumentAIPromptSummary(v **types.AIPromptSummary, } sv.VisibilityStatus = types.VisibilityStatus(jtv) } + default: _, _ = key, value @@ -11155,6 +11298,7 @@ func awsRestjson1_deserializeDocumentAIPromptVersionSummary(v **types.AIPromptVe if err := awsRestjson1_deserializeDocumentAIPromptSummary(&sv.AiPromptSummary, value); err != nil { return err } + case "versionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -11167,6 +11311,7 @@ func awsRestjson1_deserializeDocumentAIPromptVersionSummary(v **types.AIPromptVe } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -11206,6 +11351,7 @@ func awsRestjson1_deserializeDocumentAmazonConnectGuideAssociationData(v **types } sv.FlowId = ptr.String(jtv) } + default: _, _ = key, value @@ -11279,10 +11425,12 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.AnswerGenerationAIPromptId = ptr.String(jtv) } + case "associationConfigurations": if err := awsRestjson1_deserializeDocumentAssociationConfigurationList(&sv.AssociationConfigurations, value); err != nil { return err } + case "intentLabelingGenerationAIPromptId": if value != nil { jtv, ok := value.(string) @@ -11291,6 +11439,7 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.IntentLabelingGenerationAIPromptId = ptr.String(jtv) } + case "queryReformulationAIPromptId": if value != nil { jtv, ok := value.(string) @@ -11299,6 +11448,7 @@ func awsRestjson1_deserializeDocumentAnswerRecommendationAIAgentConfiguration(v } sv.QueryReformulationAIPromptId = ptr.String(jtv) } + default: _, _ = key, value @@ -11338,10 +11488,12 @@ func awsRestjson1_deserializeDocumentAppIntegrationsConfiguration(v **types.AppI } sv.AppIntegrationArn = ptr.String(jtv) } + case "objectFields": if err := awsRestjson1_deserializeDocumentObjectFieldsList(&sv.ObjectFields, value); err != nil { return err } + default: _, _ = key, value @@ -11381,6 +11533,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantArn = ptr.String(jtv) } + case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -11389,6 +11542,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationArn = ptr.String(jtv) } + case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -11397,6 +11551,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationId = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11405,10 +11560,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantId = ptr.String(jtv) } + case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -11417,10 +11574,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssociationType = types.AssociationType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11500,6 +11659,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantArn = ptr.String(jtv) } + case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -11508,6 +11668,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationArn = ptr.String(jtv) } + case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -11516,6 +11677,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationId = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11524,10 +11686,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantId = ptr.String(jtv) } + case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -11536,10 +11700,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssociationType = types.AssociationType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11613,6 +11779,7 @@ func awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(v **types. } sv.Type = types.AssistantCapabilityType(jtv) } + default: _, _ = key, value @@ -11648,6 +11815,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -11656,6 +11824,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11664,10 +11833,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantId = ptr.String(jtv) } + case "capabilityConfiguration": if err := awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(&sv.CapabilityConfiguration, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -11676,10 +11847,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11688,10 +11861,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Name = ptr.String(jtv) } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11700,10 +11875,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Status = types.AssistantStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11712,6 +11889,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Type = types.AssistantType(jtv) } + default: _, _ = key, value @@ -11751,6 +11929,7 @@ func awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(v **types } sv.TopicIntegrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11820,6 +11999,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } + case "assistantArn": if value != nil { jtv, ok := value.(string) @@ -11828,6 +12008,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -11836,10 +12017,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantId = ptr.String(jtv) } + case "capabilityConfiguration": if err := awsRestjson1_deserializeDocumentAssistantCapabilityConfiguration(&sv.CapabilityConfiguration, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -11848,10 +12031,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11860,10 +12045,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Name = ptr.String(jtv) } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11872,10 +12059,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Status = types.AssistantStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11884,6 +12073,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Type = types.AssistantType(jtv) } + default: _, _ = key, value @@ -11919,6 +12109,7 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat if err := awsRestjson1_deserializeDocumentAssociationConfigurationData(&sv.AssociationConfigurationData, value); err != nil { return err } + case "associationId": if value != nil { jtv, ok := value.(string) @@ -11927,6 +12118,7 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat } sv.AssociationId = ptr.String(jtv) } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -11935,6 +12127,7 @@ func awsRestjson1_deserializeDocumentAssociationConfiguration(v **types.Associat } sv.AssociationType = types.AIAgentAssociationConfigurationType(jtv) } + default: _, _ = key, value @@ -12048,10 +12241,12 @@ func awsRestjson1_deserializeDocumentBedrockFoundationModelConfigurationForParsi } sv.ModelArn = ptr.String(jtv) } + case "parsingPrompt": if err := awsRestjson1_deserializeDocumentParsingPrompt(&sv.ParsingPrompt, value); err != nil { return err } + default: _, _ = key, value @@ -12127,18 +12322,22 @@ func awsRestjson1_deserializeDocumentChunkingConfiguration(v **types.ChunkingCon } sv.ChunkingStrategy = types.ChunkingStrategy(jtv) } + case "fixedSizeChunkingConfiguration": if err := awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(&sv.FixedSizeChunkingConfiguration, value); err != nil { return err } + case "hierarchicalChunkingConfiguration": if err := awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(&sv.HierarchicalChunkingConfiguration, value); err != nil { return err } + case "semanticChunkingConfiguration": if err := awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(&sv.SemanticChunkingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -12182,6 +12381,7 @@ func awsRestjson1_deserializeDocumentCitationSpan(v **types.CitationSpan, value } sv.BeginOffsetInclusive = int32(i64) } + case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -12194,6 +12394,7 @@ func awsRestjson1_deserializeDocumentCitationSpan(v **types.CitationSpan, value } sv.EndOffsetExclusive = int32(i64) } + default: _, _ = key, value @@ -12273,6 +12474,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12312,6 +12514,7 @@ func awsRestjson1_deserializeDocumentConnectConfiguration(v **types.ConnectConfi } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12423,6 +12626,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss if err := awsRestjson1_deserializeDocumentContentAssociationContents(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -12431,6 +12635,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.AssociationType = types.ContentAssociationType(jtv) } + case "contentArn": if value != nil { jtv, ok := value.(string) @@ -12439,6 +12644,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentArn = ptr.String(jtv) } + case "contentAssociationArn": if value != nil { jtv, ok := value.(string) @@ -12447,6 +12653,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentAssociationArn = ptr.String(jtv) } + case "contentAssociationId": if value != nil { jtv, ok := value.(string) @@ -12455,6 +12662,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentAssociationId = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -12463,6 +12671,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.ContentId = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12471,6 +12680,7 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12479,10 +12689,12 @@ func awsRestjson1_deserializeDocumentContentAssociationData(v **types.ContentAss } sv.KnowledgeBaseId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12518,6 +12730,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content if err := awsRestjson1_deserializeDocumentContentAssociationContents(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -12526,6 +12739,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.AssociationType = types.ContentAssociationType(jtv) } + case "contentArn": if value != nil { jtv, ok := value.(string) @@ -12534,6 +12748,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentArn = ptr.String(jtv) } + case "contentAssociationArn": if value != nil { jtv, ok := value.(string) @@ -12542,6 +12757,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentAssociationArn = ptr.String(jtv) } + case "contentAssociationId": if value != nil { jtv, ok := value.(string) @@ -12550,6 +12766,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentAssociationId = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -12558,6 +12775,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.ContentId = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12566,6 +12784,7 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12574,10 +12793,12 @@ func awsRestjson1_deserializeDocumentContentAssociationSummary(v **types.Content } sv.KnowledgeBaseId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12651,6 +12872,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -12659,6 +12881,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentId = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -12667,6 +12890,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentType = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12675,6 +12899,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12683,6 +12908,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseId = ptr.String(jtv) } + case "linkOutUri": if value != nil { jtv, ok := value.(string) @@ -12691,10 +12917,12 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.LinkOutUri = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12703,6 +12931,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -12711,6 +12940,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.RevisionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12719,10 +12949,12 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Status = types.ContentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -12731,6 +12963,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Title = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -12739,6 +12972,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -12754,6 +12988,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } } + default: _, _ = key, value @@ -12789,10 +13024,12 @@ func awsRestjson1_deserializeDocumentContentDataDetails(v **types.ContentDataDet if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } + case "textData": if err := awsRestjson1_deserializeDocumentTextData(&sv.TextData, value); err != nil { return err } + default: _, _ = key, value @@ -12908,6 +13145,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -12916,6 +13154,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentId = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -12924,6 +13163,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -12932,6 +13172,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseId = ptr.String(jtv) } + case "referenceType": if value != nil { jtv, ok := value.(string) @@ -12940,6 +13181,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ReferenceType = types.ReferenceType(jtv) } + case "sourceURL": if value != nil { jtv, ok := value.(string) @@ -12948,6 +13190,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.SourceURL = ptr.String(jtv) } + default: _, _ = key, value @@ -12987,6 +13230,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -12995,6 +13239,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentId = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -13003,6 +13248,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentType = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -13011,6 +13257,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -13019,10 +13266,12 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseId = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -13031,6 +13280,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -13039,6 +13289,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.RevisionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -13047,10 +13298,12 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Status = types.ContentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -13059,6 +13312,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -13248,10 +13502,12 @@ func awsRestjson1_deserializeDocumentDataSummary(v **types.DataSummary, value in if err := awsRestjson1_deserializeDocumentDataDetails(&sv.Details, value); err != nil { return err } + case "reference": if err := awsRestjson1_deserializeDocumentDataReference(&sv.Reference, value); err != nil { return err } + default: _, _ = key, value @@ -13321,14 +13577,17 @@ func awsRestjson1_deserializeDocumentDocument(v **types.Document, value interfac if err := awsRestjson1_deserializeDocumentContentReference(&sv.ContentReference, value); err != nil { return err } + case "excerpt": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } + case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -13364,6 +13623,7 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -13372,6 +13632,7 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -13407,6 +13668,7 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -13415,6 +13677,7 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter } sv.Source = types.ExternalSource(jtv) } + default: _, _ = key, value @@ -13494,6 +13757,7 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.MaxTokens = ptr.Int32(int32(i64)) } + case "overlapPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -13506,6 +13770,7 @@ func awsRestjson1_deserializeDocumentFixedSizeChunkingConfiguration(v **types.Fi } sv.OverlapPercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13545,6 +13810,7 @@ func awsRestjson1_deserializeDocumentGenerativeContentFeedbackData(v **types.Gen } sv.Relevance = types.Relevance(jtv) } + default: _, _ = key, value @@ -13584,14 +13850,17 @@ func awsRestjson1_deserializeDocumentGenerativeDataDetails(v **types.GenerativeD } sv.Completion = ptr.String(jtv) } + case "rankingData": if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } + case "references": if err := awsRestjson1_deserializeDocumentDataSummaryList(&sv.References, value); err != nil { return err } + default: _, _ = key, value @@ -13631,6 +13900,7 @@ func awsRestjson1_deserializeDocumentGenerativeReference(v **types.GenerativeRef } sv.GenerationId = ptr.String(jtv) } + case "modelId": if value != nil { jtv, ok := value.(string) @@ -13639,6 +13909,7 @@ func awsRestjson1_deserializeDocumentGenerativeReference(v **types.GenerativeRef } sv.ModelId = ptr.String(jtv) } + default: _, _ = key, value @@ -13678,10 +13949,12 @@ func awsRestjson1_deserializeDocumentGroupingConfiguration(v **types.GroupingCon } sv.Criteria = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentGroupingValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -13789,6 +14062,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types if err := awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfigurations(&sv.LevelConfigurations, value); err != nil { return err } + case "overlapTokens": if value != nil { jtv, ok := value.(json.Number) @@ -13801,6 +14075,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingConfiguration(v **types } sv.OverlapTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13844,6 +14119,7 @@ func awsRestjson1_deserializeDocumentHierarchicalChunkingLevelConfiguration(v ** } sv.MaxTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13921,6 +14197,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffsetInclusive = int32(i64) } + case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -13933,6 +14210,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffsetExclusive = int32(i64) } + default: _, _ = key, value @@ -14013,10 +14291,12 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } + case "failedRecordReport": if value != nil { jtv, ok := value.(string) @@ -14025,6 +14305,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.FailedRecordReport = ptr.String(jtv) } + case "importJobId": if value != nil { jtv, ok := value.(string) @@ -14033,6 +14314,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobId = ptr.String(jtv) } + case "importJobType": if value != nil { jtv, ok := value.(string) @@ -14041,6 +14323,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobType = types.ImportJobType(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14049,6 +14332,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14057,6 +14341,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14072,10 +14357,12 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14084,6 +14371,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Status = types.ImportJobStatus(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -14092,6 +14380,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.UploadId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -14100,6 +14389,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -14115,6 +14405,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + default: _, _ = key, value @@ -14195,10 +14486,12 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } + case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } + case "importJobId": if value != nil { jtv, ok := value.(string) @@ -14207,6 +14500,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobId = ptr.String(jtv) } + case "importJobType": if value != nil { jtv, ok := value.(string) @@ -14215,6 +14509,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobType = types.ImportJobType(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14223,6 +14518,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14231,6 +14527,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -14246,10 +14543,12 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14258,6 +14557,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.Status = types.ImportJobStatus(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -14266,6 +14566,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -14305,6 +14606,7 @@ func awsRestjson1_deserializeDocumentIntentDetectedDataDetails(v **types.IntentD } sv.Intent = ptr.String(jtv) } + case "intentId": if value != nil { jtv, ok := value.(string) @@ -14313,6 +14615,7 @@ func awsRestjson1_deserializeDocumentIntentDetectedDataDetails(v **types.IntentD } sv.IntentId = ptr.String(jtv) } + default: _, _ = key, value @@ -14348,6 +14651,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v if err := awsRestjson1_deserializeDocumentTagFilter(&sv.ContentTagFilter, value); err != nil { return err } + case "maxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14360,6 +14664,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v } sv.MaxResults = ptr.Int32(int32(i64)) } + case "overrideKnowledgeBaseSearchType": if value != nil { jtv, ok := value.(string) @@ -14368,6 +14673,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationConfigurationData(v } sv.OverrideKnowledgeBaseSearchType = types.KnowledgeBaseSearchType(jtv) } + default: _, _ = key, value @@ -14407,6 +14713,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14415,6 +14722,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -14454,10 +14762,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Description = ptr.String(jtv) } + case "ingestionFailureReasons": if err := awsRestjson1_deserializeDocumentFailureReason(&sv.IngestionFailureReasons, value); err != nil { return err } + case "ingestionStatus": if value != nil { jtv, ok := value.(string) @@ -14466,6 +14776,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.IngestionStatus = types.SyncStatus(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14474,6 +14785,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14482,6 +14794,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -14490,6 +14803,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } + case "lastContentModificationTime": if value != nil { switch jtv := value.(type) { @@ -14505,6 +14819,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14513,18 +14828,22 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Name = ptr.String(jtv) } + case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14533,14 +14852,17 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14614,6 +14936,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -14622,6 +14945,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -14630,6 +14954,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -14638,6 +14963,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14646,18 +14972,22 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } + case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14666,14 +14996,17 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "vectorIngestionConfiguration": if err := awsRestjson1_deserializeDocumentVectorIngestionConfiguration(&sv.VectorIngestionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -14753,10 +15086,12 @@ func awsRestjson1_deserializeDocumentManualSearchAIAgentConfiguration(v **types. } sv.AnswerGenerationAIPromptId = ptr.String(jtv) } + case "associationConfigurations": if err := awsRestjson1_deserializeDocumentAssociationConfigurationList(&sv.AssociationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -14796,6 +15131,7 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.Message = ptr.String(jtv) } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -14804,6 +15140,7 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -14989,6 +15326,7 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi if err := awsRestjson1_deserializeDocumentBedrockFoundationModelConfigurationForParsing(&sv.BedrockFoundationModelConfiguration, value); err != nil { return err } + case "parsingStrategy": if value != nil { jtv, ok := value.(string) @@ -14997,6 +15335,7 @@ func awsRestjson1_deserializeDocumentParsingConfiguration(v **types.ParsingConfi } sv.ParsingStrategy = types.ParsingStrategy(jtv) } + default: _, _ = key, value @@ -15036,6 +15375,7 @@ func awsRestjson1_deserializeDocumentParsingPrompt(v **types.ParsingPrompt, valu } sv.ParsingPromptText = ptr.String(jtv) } + default: _, _ = key, value @@ -15075,6 +15415,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15114,6 +15455,7 @@ func awsRestjson1_deserializeDocumentQueryRecommendationTriggerData(v **types.Qu } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -15225,10 +15567,12 @@ func awsRestjson1_deserializeDocumentQuickResponseContents(v **types.QuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.Markdown, value); err != nil { return err } + case "plainText": if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.PlainText, value); err != nil { return err } + default: _, _ = key, value @@ -15264,10 +15608,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -15276,6 +15622,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -15291,6 +15638,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15299,10 +15647,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Description = ptr.String(jtv) } + case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -15311,6 +15661,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -15319,6 +15670,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15327,6 +15679,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseId = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -15335,6 +15688,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Language = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -15343,6 +15697,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15358,6 +15713,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15366,6 +15722,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -15374,6 +15731,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -15382,6 +15740,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseId = ptr.String(jtv) } + case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -15390,6 +15749,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ShortcutKey = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15398,10 +15758,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15437,18 +15799,22 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesInterpolated, value); err != nil { return err } + case "attributesNotInterpolated": if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesNotInterpolated, value); err != nil { return err } + case "channels": if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -15457,6 +15823,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -15472,6 +15839,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15480,10 +15848,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Description = ptr.String(jtv) } + case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -15492,6 +15862,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -15500,6 +15871,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15508,6 +15880,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseId = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -15516,6 +15889,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Language = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -15524,6 +15898,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15539,6 +15914,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15547,6 +15923,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -15555,6 +15932,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -15563,6 +15941,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseId = ptr.String(jtv) } + case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -15571,6 +15950,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ShortcutKey = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15579,10 +15959,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15652,6 +16034,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -15660,6 +16043,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -15675,6 +16059,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } + case "description": if value != nil { jtv, ok := value.(string) @@ -15683,6 +16068,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Description = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -15691,6 +16077,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -15699,6 +16086,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -15707,6 +16095,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -15715,6 +16104,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -15730,6 +16120,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } + case "name": if value != nil { jtv, ok := value.(string) @@ -15738,6 +16129,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -15746,6 +16138,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -15754,6 +16147,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15762,10 +16156,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -15839,6 +16235,7 @@ func awsRestjson1_deserializeDocumentRankingData(v **types.RankingData, value in } sv.RelevanceLevel = types.RelevanceLevel(jtv) } + case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -15872,6 +16269,7 @@ func awsRestjson1_deserializeDocumentRankingData(v **types.RankingData, value in } } + default: _, _ = key, value @@ -15907,10 +16305,12 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsRestjson1_deserializeDocumentDataSummary(&sv.Data, value); err != nil { return err } + case "document": if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -15919,6 +16319,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RecommendationId = ptr.String(jtv) } + case "relevanceLevel": if value != nil { jtv, ok := value.(string) @@ -15927,6 +16328,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RelevanceLevel = types.RelevanceLevel(jtv) } + case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -15960,6 +16362,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } } + case "type": if value != nil { jtv, ok := value.(string) @@ -15968,6 +16371,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.Type = types.RecommendationType(jtv) } + default: _, _ = key, value @@ -16073,6 +16477,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat if err := awsRestjson1_deserializeDocumentRecommendationTriggerData(&sv.Data, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -16081,10 +16486,12 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Id = ptr.String(jtv) } + case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -16093,6 +16500,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Source = types.RecommendationSourceType(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16101,6 +16509,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Type = types.RecommendationTriggerType(jtv) } + default: _, _ = key, value @@ -16214,6 +16623,7 @@ func awsRestjson1_deserializeDocumentRenderingConfiguration(v **types.RenderingC } sv.TemplateUri = ptr.String(jtv) } + default: _, _ = key, value @@ -16253,6 +16663,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16292,6 +16703,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -16300,6 +16712,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -16335,10 +16748,12 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte if err := awsRestjson1_deserializeDocumentDataSummary(&sv.Data, value); err != nil { return err } + case "document": if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } + case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -16372,6 +16787,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } } + case "resultId": if value != nil { jtv, ok := value.(string) @@ -16380,6 +16796,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.ResultId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16388,6 +16805,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.Type = types.QueryResultType(jtv) } + default: _, _ = key, value @@ -16427,10 +16845,12 @@ func awsRestjson1_deserializeDocumentRuntimeSessionData(v **types.RuntimeSession } sv.Key = ptr.String(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentRuntimeSessionDataValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -16546,6 +16966,7 @@ func awsRestjson1_deserializeDocumentSeedUrl(v **types.SeedUrl, value interface{ } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -16623,6 +17044,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BreakpointPercentileThreshold = ptr.Int32(int32(i64)) } + case "bufferSize": if value != nil { jtv, ok := value.(json.Number) @@ -16635,6 +17057,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.BufferSize = ptr.Int32(int32(i64)) } + case "maxTokens": if value != nil { jtv, ok := value.(json.Number) @@ -16647,6 +17070,7 @@ func awsRestjson1_deserializeDocumentSemanticChunkingConfiguration(v **types.Sem } sv.MaxTokens = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16686,6 +17110,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -16725,6 +17150,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16760,6 +17186,7 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in if err := awsRestjson1_deserializeDocumentAIAgentConfigurationMap(&sv.AiAgentConfiguration, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -16768,10 +17195,12 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16780,6 +17209,7 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Name = ptr.String(jtv) } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -16788,6 +17218,7 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -16796,14 +17227,17 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionId = ptr.String(jtv) } + case "tagFilter": if err := awsRestjson1_deserializeDocumentTagFilter(&sv.TagFilter, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16843,6 +17277,7 @@ func awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(v **types.S } sv.TopicIntegrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16916,6 +17351,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -16924,6 +17360,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantId = ptr.String(jtv) } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -16932,6 +17369,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -16940,6 +17378,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17023,6 +17462,7 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo if err := awsRestjson1_deserializeDocumentCitationSpan(&sv.CitationSpan, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -17031,14 +17471,17 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo } sv.Id = ptr.String(jtv) } + case "rankingData": if err := awsRestjson1_deserializeDocumentRankingData(&sv.RankingData, value); err != nil { return err } + case "textData": if err := awsRestjson1_deserializeDocumentTextData(&sv.TextData, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -17047,6 +17490,7 @@ func awsRestjson1_deserializeDocumentSourceContentDataDetails(v **types.SourceCo } sv.Type = types.SourceContentType(jtv) } + default: _, _ = key, value @@ -17086,6 +17530,7 @@ func awsRestjson1_deserializeDocumentTagCondition(v **types.TagCondition, value } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -17094,6 +17539,7 @@ func awsRestjson1_deserializeDocumentTagCondition(v **types.TagCondition, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17221,10 +17667,12 @@ func awsRestjson1_deserializeDocumentTextData(v **types.TextData, value interfac if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } + case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -17264,6 +17712,7 @@ func awsRestjson1_deserializeDocumentTextFullAIPromptEditTemplateConfiguration(v } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -17303,6 +17752,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17342,6 +17792,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -17350,6 +17801,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -17385,6 +17837,7 @@ func awsRestjson1_deserializeDocumentUrlConfiguration(v **types.UrlConfiguration if err := awsRestjson1_deserializeDocumentSeedUrls(&sv.SeedUrls, value); err != nil { return err } + default: _, _ = key, value @@ -17460,6 +17913,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17495,10 +17949,12 @@ func awsRestjson1_deserializeDocumentVectorIngestionConfiguration(v **types.Vect if err := awsRestjson1_deserializeDocumentChunkingConfiguration(&sv.ChunkingConfiguration, value); err != nil { return err } + case "parsingConfiguration": if err := awsRestjson1_deserializeDocumentParsingConfiguration(&sv.ParsingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17534,14 +17990,17 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle if err := awsRestjson1_deserializeDocumentWebCrawlerLimits(&sv.CrawlerLimits, value); err != nil { return err } + case "exclusionFilters": if err := awsRestjson1_deserializeDocumentUrlFilterList(&sv.ExclusionFilters, value); err != nil { return err } + case "inclusionFilters": if err := awsRestjson1_deserializeDocumentUrlFilterList(&sv.InclusionFilters, value); err != nil { return err } + case "scope": if value != nil { jtv, ok := value.(string) @@ -17550,10 +18009,12 @@ func awsRestjson1_deserializeDocumentWebCrawlerConfiguration(v **types.WebCrawle } sv.Scope = types.WebScopeType(jtv) } + case "urlConfiguration": if err := awsRestjson1_deserializeDocumentUrlConfiguration(&sv.UrlConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17597,6 +18058,7 @@ func awsRestjson1_deserializeDocumentWebCrawlerLimits(v **types.WebCrawlerLimits } sv.RateLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/qldb/deserializers.go b/service/qldb/deserializers.go index bacc2c408c5..1279864ecd5 100644 --- a/service/qldb/deserializers.go +++ b/service/qldb/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentCancelJournalKinesisStreamOutput(v **Canc } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -347,6 +348,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.Arn = ptr.String(jtv) } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -362,6 +364,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } } + case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -370,6 +373,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.DeletionProtection = ptr.Bool(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -378,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.KmsKeyArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -386,6 +391,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.Name = ptr.String(jtv) } + case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -394,6 +400,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.PermissionsMode = types.PermissionsMode(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -402,6 +409,7 @@ func awsRestjson1_deserializeOpDocumentCreateLedgerOutput(v **CreateLedgerOutput } sv.State = types.LedgerState(jtv) } + default: _, _ = key, value @@ -662,6 +670,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJournalKinesisStreamOutput(v **De if err := awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(&sv.Stream, value); err != nil { return err } + default: _, _ = key, value @@ -813,6 +822,7 @@ func awsRestjson1_deserializeOpDocumentDescribeJournalS3ExportOutput(v **Describ if err := awsRestjson1_deserializeDocumentJournalS3ExportDescription(&sv.ExportDescription, value); err != nil { return err } + default: _, _ = key, value @@ -971,6 +981,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.Arn = ptr.String(jtv) } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -986,6 +997,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } } + case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -994,10 +1006,12 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.DeletionProtection = ptr.Bool(jtv) } + case "EncryptionDescription": if err := awsRestjson1_deserializeDocumentLedgerEncryptionDescription(&sv.EncryptionDescription, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1006,6 +1020,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.Name = ptr.String(jtv) } + case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -1014,6 +1029,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.PermissionsMode = types.PermissionsMode(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1022,6 +1038,7 @@ func awsRestjson1_deserializeOpDocumentDescribeLedgerOutput(v **DescribeLedgerOu } sv.State = types.LedgerState(jtv) } + default: _, _ = key, value @@ -1180,6 +1197,7 @@ func awsRestjson1_deserializeOpDocumentExportJournalToS3Output(v **ExportJournal } sv.ExportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1337,10 +1355,12 @@ func awsRestjson1_deserializeOpDocumentGetBlockOutput(v **GetBlockOutput, value if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Block, value); err != nil { return err } + case "Proof": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Proof, value); err != nil { return err } + default: _, _ = key, value @@ -1506,10 +1526,12 @@ func awsRestjson1_deserializeOpDocumentGetDigestOutput(v **GetDigestOutput, valu } sv.Digest = dv } + case "DigestTipAddress": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.DigestTipAddress, value); err != nil { return err } + default: _, _ = key, value @@ -1667,10 +1689,12 @@ func awsRestjson1_deserializeOpDocumentGetRevisionOutput(v **GetRevisionOutput, if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Proof, value); err != nil { return err } + case "Revision": if err := awsRestjson1_deserializeDocumentValueHolder(&sv.Revision, value); err != nil { return err } + default: _, _ = key, value @@ -1832,10 +1856,12 @@ func awsRestjson1_deserializeOpDocumentListJournalKinesisStreamsForLedgerOutput( } sv.NextToken = ptr.String(jtv) } + case "Streams": if err := awsRestjson1_deserializeDocumentJournalKinesisStreamDescriptionList(&sv.Streams, value); err != nil { return err } + default: _, _ = key, value @@ -1984,6 +2010,7 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsOutput(v **ListJourna if err := awsRestjson1_deserializeDocumentJournalS3ExportList(&sv.JournalS3Exports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1992,6 +2019,7 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsOutput(v **ListJourna } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2140,6 +2168,7 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsForLedgerOutput(v **L if err := awsRestjson1_deserializeDocumentJournalS3ExportList(&sv.JournalS3Exports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2148,6 +2177,7 @@ func awsRestjson1_deserializeOpDocumentListJournalS3ExportsForLedgerOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2296,6 +2326,7 @@ func awsRestjson1_deserializeOpDocumentListLedgersOutput(v **ListLedgersOutput, if err := awsRestjson1_deserializeDocumentLedgerList(&sv.Ledgers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2304,6 +2335,7 @@ func awsRestjson1_deserializeOpDocumentListLedgersOutput(v **ListLedgersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2458,6 +2490,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2619,6 +2652,7 @@ func awsRestjson1_deserializeOpDocumentStreamJournalToKinesisOutput(v **StreamJo } sv.StreamId = ptr.String(jtv) } + default: _, _ = key, value @@ -2959,6 +2993,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.Arn = ptr.String(jtv) } + case "CreationDateTime": if value != nil { switch jtv := value.(type) { @@ -2974,6 +3009,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } } + case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -2982,10 +3018,12 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.DeletionProtection = ptr.Bool(jtv) } + case "EncryptionDescription": if err := awsRestjson1_deserializeDocumentLedgerEncryptionDescription(&sv.EncryptionDescription, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2994,6 +3032,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3002,6 +3041,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerOutput(v **UpdateLedgerOutput } sv.State = types.LedgerState(jtv) } + default: _, _ = key, value @@ -3160,6 +3200,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3168,6 +3209,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.Name = ptr.String(jtv) } + case "PermissionsMode": if value != nil { jtv, ok := value.(string) @@ -3176,6 +3218,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLedgerPermissionsModeOutput(v **Upd } sv.PermissionsMode = types.PermissionsMode(jtv) } + default: _, _ = key, value @@ -3431,6 +3474,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -3439,6 +3483,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -3478,6 +3523,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3493,6 +3539,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } + case "ErrorCause": if value != nil { jtv, ok := value.(string) @@ -3501,6 +3548,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.ErrorCause = types.ErrorCause(jtv) } + case "ExclusiveEndTime": if value != nil { switch jtv := value.(type) { @@ -3516,6 +3564,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } + case "InclusiveStartTime": if value != nil { switch jtv := value.(type) { @@ -3531,10 +3580,12 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } } + case "KinesisConfiguration": if err := awsRestjson1_deserializeDocumentKinesisConfiguration(&sv.KinesisConfiguration, value); err != nil { return err } + case "LedgerName": if value != nil { jtv, ok := value.(string) @@ -3543,6 +3594,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.LedgerName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3551,6 +3603,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3559,6 +3612,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.Status = types.StreamStatus(jtv) } + case "StreamId": if value != nil { jtv, ok := value.(string) @@ -3567,6 +3621,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.StreamId = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -3575,6 +3630,7 @@ func awsRestjson1_deserializeDocumentJournalKinesisStreamDescription(v **types.J } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -3655,6 +3711,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } + case "ExportCreationTime": if value != nil { switch jtv := value.(type) { @@ -3670,6 +3727,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } + case "ExportId": if value != nil { jtv, ok := value.(string) @@ -3678,6 +3736,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.ExportId = ptr.String(jtv) } + case "InclusiveStartTime": if value != nil { switch jtv := value.(type) { @@ -3693,6 +3752,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } } + case "LedgerName": if value != nil { jtv, ok := value.(string) @@ -3701,6 +3761,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.LedgerName = ptr.String(jtv) } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -3709,6 +3770,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.OutputFormat = types.OutputFormat(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3717,10 +3779,12 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.RoleArn = ptr.String(jtv) } + case "S3ExportConfiguration": if err := awsRestjson1_deserializeDocumentS3ExportConfiguration(&sv.S3ExportConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3729,6 +3793,7 @@ func awsRestjson1_deserializeDocumentJournalS3ExportDescription(v **types.Journa } sv.Status = types.ExportStatus(jtv) } + default: _, _ = key, value @@ -3802,6 +3867,7 @@ func awsRestjson1_deserializeDocumentKinesisConfiguration(v **types.KinesisConfi } sv.AggregationEnabled = ptr.Bool(jtv) } + case "StreamArn": if value != nil { jtv, ok := value.(string) @@ -3810,6 +3876,7 @@ func awsRestjson1_deserializeDocumentKinesisConfiguration(v **types.KinesisConfi } sv.StreamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3849,6 +3916,7 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } sv.EncryptionStatus = types.EncryptionStatus(jtv) } + case "InaccessibleKmsKeyDateTime": if value != nil { switch jtv := value.(type) { @@ -3864,6 +3932,7 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3872,6 +3941,7 @@ func awsRestjson1_deserializeDocumentLedgerEncryptionDescription(v **types.Ledge } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3952,6 +4022,7 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3960,6 +4031,7 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3968,6 +4040,7 @@ func awsRestjson1_deserializeDocumentLedgerSummary(v **types.LedgerSummary, valu } sv.State = types.LedgerState(jtv) } + default: _, _ = key, value @@ -4007,6 +4080,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4015,6 +4089,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4054,6 +4129,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4062,6 +4138,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4070,6 +4147,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4109,6 +4187,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4117,6 +4196,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4125,6 +4205,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4164,6 +4245,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4172,6 +4254,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4263,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4219,6 +4303,7 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -4227,6 +4312,7 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.ResourceName = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4235,6 +4321,7 @@ func awsRestjson1_deserializeDocumentResourcePreconditionNotMetException(v **typ } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4274,6 +4361,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfiguration(v **types.S3Encry } sv.KmsKeyArn = ptr.String(jtv) } + case "ObjectEncryptionType": if value != nil { jtv, ok := value.(string) @@ -4282,6 +4370,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfiguration(v **types.S3Encry } sv.ObjectEncryptionType = types.S3ObjectEncryptionType(jtv) } + default: _, _ = key, value @@ -4321,10 +4410,12 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.Bucket = ptr.String(jtv) } + case "EncryptionConfiguration": if err := awsRestjson1_deserializeDocumentS3EncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -4333,6 +4424,7 @@ func awsRestjson1_deserializeDocumentS3ExportConfiguration(v **types.S3ExportCon } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4408,6 +4500,7 @@ func awsRestjson1_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonText = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/qldbsession/deserializers.go b/service/qldbsession/deserializers.go index cd1680d59f7..8672d73c80f 100644 --- a/service/qldbsession/deserializers.go +++ b/service/qldbsession/deserializers.go @@ -392,6 +392,7 @@ func awsAwsjson10_deserializeDocumentAbortTransactionResult(v **types.AbortTrans if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -431,6 +432,7 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -439,6 +441,7 @@ func awsAwsjson10_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -478,6 +481,7 @@ func awsAwsjson10_deserializeDocumentCapacityExceededException(v **types.Capacit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -521,14 +525,17 @@ func awsAwsjson10_deserializeDocumentCommitTransactionResult(v **types.CommitTra } sv.CommitDigest = dv } + case "ConsumedIOs": if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } + case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -537,6 +544,7 @@ func awsAwsjson10_deserializeDocumentCommitTransactionResult(v **types.CommitTra } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -572,6 +580,7 @@ func awsAwsjson10_deserializeDocumentEndSessionResult(v **types.EndSessionResult if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -607,14 +616,17 @@ func awsAwsjson10_deserializeDocumentExecuteStatementResult(v **types.ExecuteSta if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } + case "FirstPage": if err := awsAwsjson10_deserializeDocumentPage(&sv.FirstPage, value); err != nil { return err } + case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -650,14 +662,17 @@ func awsAwsjson10_deserializeDocumentFetchPageResult(v **types.FetchPageResult, if err := awsAwsjson10_deserializeDocumentIOUsage(&sv.ConsumedIOs, value); err != nil { return err } + case "Page": if err := awsAwsjson10_deserializeDocumentPage(&sv.Page, value); err != nil { return err } + case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -697,6 +712,7 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -705,6 +721,7 @@ func awsAwsjson10_deserializeDocumentInvalidSessionException(v **types.InvalidSe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -748,6 +765,7 @@ func awsAwsjson10_deserializeDocumentIOUsage(v **types.IOUsage, value interface{ } sv.ReadIOs = i64 } + case "WriteIOs": if value != nil { jtv, ok := value.(json.Number) @@ -760,6 +778,7 @@ func awsAwsjson10_deserializeDocumentIOUsage(v **types.IOUsage, value interface{ } sv.WriteIOs = i64 } + default: _, _ = key, value @@ -799,6 +818,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -838,6 +858,7 @@ func awsAwsjson10_deserializeDocumentOccConflictException(v **types.OccConflictE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -877,10 +898,12 @@ func awsAwsjson10_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.NextPageToken = ptr.String(jtv) } + case "Values": if err := awsAwsjson10_deserializeDocumentValueHolders(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -920,6 +943,7 @@ func awsAwsjson10_deserializeDocumentRateExceededException(v **types.RateExceede } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -959,10 +983,12 @@ func awsAwsjson10_deserializeDocumentStartSessionResult(v **types.StartSessionRe } sv.SessionToken = ptr.String(jtv) } + case "TimingInformation": if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + default: _, _ = key, value @@ -998,6 +1024,7 @@ func awsAwsjson10_deserializeDocumentStartTransactionResult(v **types.StartTrans if err := awsAwsjson10_deserializeDocumentTimingInformation(&sv.TimingInformation, value); err != nil { return err } + case "TransactionId": if value != nil { jtv, ok := value.(string) @@ -1006,6 +1033,7 @@ func awsAwsjson10_deserializeDocumentStartTransactionResult(v **types.StartTrans } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1049,6 +1077,7 @@ func awsAwsjson10_deserializeDocumentTimingInformation(v **types.TimingInformati } sv.ProcessingTimeMilliseconds = i64 } + default: _, _ = key, value @@ -1092,6 +1121,7 @@ func awsAwsjson10_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonBinary = dv } + case "IonText": if value != nil { jtv, ok := value.(string) @@ -1100,6 +1130,7 @@ func awsAwsjson10_deserializeDocumentValueHolder(v **types.ValueHolder, value in } sv.IonText = ptr.String(jtv) } + default: _, _ = key, value @@ -1169,30 +1200,37 @@ func awsAwsjson10_deserializeOpDocumentSendCommandOutput(v **SendCommandOutput, if err := awsAwsjson10_deserializeDocumentAbortTransactionResult(&sv.AbortTransaction, value); err != nil { return err } + case "CommitTransaction": if err := awsAwsjson10_deserializeDocumentCommitTransactionResult(&sv.CommitTransaction, value); err != nil { return err } + case "EndSession": if err := awsAwsjson10_deserializeDocumentEndSessionResult(&sv.EndSession, value); err != nil { return err } + case "ExecuteStatement": if err := awsAwsjson10_deserializeDocumentExecuteStatementResult(&sv.ExecuteStatement, value); err != nil { return err } + case "FetchPage": if err := awsAwsjson10_deserializeDocumentFetchPageResult(&sv.FetchPage, value); err != nil { return err } + case "StartSession": if err := awsAwsjson10_deserializeDocumentStartSessionResult(&sv.StartSession, value); err != nil { return err } + case "StartTransaction": if err := awsAwsjson10_deserializeDocumentStartTransactionResult(&sv.StartTransaction, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index 5be5b8c47d5..eb5681eb7de 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -198,6 +198,7 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** if err := awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswers(&sv.InvalidAnswers, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -206,10 +207,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.RequestId = ptr.String(jtv) } + case "SucceededAnswers": if err := awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswers(&sv.SucceededAnswers, value); err != nil { return err } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -218,6 +221,7 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -226,6 +230,7 @@ func awsRestjson1_deserializeOpDocumentBatchCreateTopicReviewedAnswerOutput(v ** } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -406,6 +411,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** if err := awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswers(&sv.InvalidAnswers, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -414,10 +420,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.RequestId = ptr.String(jtv) } + case "SucceededAnswers": if err := awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswers(&sv.SucceededAnswers, value); err != nil { return err } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -426,6 +434,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -434,6 +443,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTopicReviewedAnswerOutput(v ** } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -618,6 +628,7 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.Arn = ptr.String(jtv) } + case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -626,6 +637,7 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.IngestionId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -634,6 +646,7 @@ func awsRestjson1_deserializeOpDocumentCancelIngestionOutput(v **CancelIngestion } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -820,6 +833,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -828,6 +842,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.Arn = ptr.String(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -836,6 +851,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.AwsAccountId = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -844,6 +860,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.Namespace = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -852,6 +869,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccountCustomizationOutput(v **Crea } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1045,10 +1063,12 @@ func awsRestjson1_deserializeOpDocumentCreateAccountSubscriptionOutput(v **Creat } sv.RequestId = ptr.String(jtv) } + case "SignupResponse": if err := awsRestjson1_deserializeDocumentSignupResponse(&sv.SignupResponse, value); err != nil { return err } + default: _, _ = key, value @@ -1239,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -1247,6 +1268,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1255,6 +1277,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.CreationStatus = types.ResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1263,6 +1286,7 @@ func awsRestjson1_deserializeOpDocumentCreateAnalysisOutput(v **CreateAnalysisOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1453,6 +1477,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1461,6 +1486,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.CreationStatus = types.ResourceStatus(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -1469,6 +1495,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.DashboardId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1477,6 +1504,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.RequestId = ptr.String(jtv) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -1485,6 +1513,7 @@ func awsRestjson1_deserializeOpDocumentCreateDashboardOutput(v **CreateDashboard } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1678,6 +1707,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.Arn = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -1686,6 +1716,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.DataSetId = ptr.String(jtv) } + case "IngestionArn": if value != nil { jtv, ok := value.(string) @@ -1694,6 +1725,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.IngestionArn = ptr.String(jtv) } + case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -1702,6 +1734,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.IngestionId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1710,6 +1743,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSetOutput(v **CreateDataSetOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -1903,6 +1937,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -1911,6 +1946,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.CreationStatus = types.ResourceStatus(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -1919,6 +1955,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.DataSourceId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -1927,6 +1964,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataSourceOutput(v **CreateDataSour } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2120,6 +2158,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -2128,6 +2167,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.FolderId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2136,6 +2176,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2308,6 +2349,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo if err := awsRestjson1_deserializeDocumentFolderMember(&sv.FolderMember, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2316,6 +2358,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -2328,6 +2371,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderMembershipOutput(v **CreateFo } sv.Status = int32(i64) } + default: _, _ = key, value @@ -2517,6 +2561,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2525,6 +2570,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2708,6 +2754,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro if err := awsRestjson1_deserializeDocumentGroupMember(&sv.GroupMember, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2716,6 +2763,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupMembershipOutput(v **CreateGro } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -2903,6 +2951,7 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentId = ptr.String(jtv) } + case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -2911,6 +2960,7 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentName = ptr.String(jtv) } + case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -2919,10 +2969,12 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.AssignmentStatus = types.AssignmentStatus(jtv) } + case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -2931,6 +2983,7 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.PolicyArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -2939,6 +2992,7 @@ func awsRestjson1_deserializeOpDocumentCreateIAMPolicyAssignmentOutput(v **Creat } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3126,6 +3180,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.Arn = ptr.String(jtv) } + case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -3134,6 +3189,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.IngestionId = ptr.String(jtv) } + case "IngestionStatus": if value != nil { jtv, ok := value.(string) @@ -3142,6 +3198,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.IngestionStatus = types.IngestionStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3150,6 +3207,7 @@ func awsRestjson1_deserializeOpDocumentCreateIngestionOutput(v **CreateIngestion } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3346,6 +3404,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.Arn = ptr.String(jtv) } + case "CapacityRegion": if value != nil { jtv, ok := value.(string) @@ -3354,6 +3413,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.CapacityRegion = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -3362,6 +3422,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.CreationStatus = types.NamespaceStatus(jtv) } + case "IdentityStore": if value != nil { jtv, ok := value.(string) @@ -3370,6 +3431,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.IdentityStore = types.IdentityStore(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3378,6 +3440,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.Name = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3386,6 +3449,7 @@ func awsRestjson1_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3576,6 +3640,7 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3584,6 +3649,7 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.RequestId = ptr.String(jtv) } + case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -3592,6 +3658,7 @@ func awsRestjson1_deserializeOpDocumentCreateRefreshScheduleOutput(v **CreateRef } sv.ScheduleId = ptr.String(jtv) } + default: _, _ = key, value @@ -3779,6 +3846,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoleMembershipOutput(v **CreateRole } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -3972,6 +4040,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -3980,6 +4049,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.CreationStatus = types.ResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -3988,6 +4058,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.RequestId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -3996,6 +4067,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.TemplateId = ptr.String(jtv) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -4004,6 +4076,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateOutput(v **CreateTemplateOu } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4191,10 +4264,12 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateAliasOutput(v **CreateTempl } sv.RequestId = ptr.String(jtv) } + case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } + default: _, _ = key, value @@ -4385,6 +4460,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -4393,6 +4469,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.CreationStatus = types.ResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4401,6 +4478,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.RequestId = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -4409,6 +4487,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.ThemeId = ptr.String(jtv) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -4417,6 +4496,7 @@ func awsRestjson1_deserializeOpDocumentCreateThemeOutput(v **CreateThemeOutput, } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4607,10 +4687,12 @@ func awsRestjson1_deserializeOpDocumentCreateThemeAliasOutput(v **CreateThemeAli } sv.RequestId = ptr.String(jtv) } + case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } + default: _, _ = key, value @@ -4801,6 +4883,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.Arn = ptr.String(jtv) } + case "RefreshArn": if value != nil { jtv, ok := value.(string) @@ -4809,6 +4892,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.RefreshArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -4817,6 +4901,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.RequestId = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -4825,6 +4910,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicOutput(v **CreateTopicOutput, } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -5015,6 +5101,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.DatasetArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5023,6 +5110,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -5031,6 +5119,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -5039,6 +5128,7 @@ func awsRestjson1_deserializeOpDocumentCreateTopicRefreshScheduleOutput(v **Crea } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -5229,6 +5319,7 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.Arn = ptr.String(jtv) } + case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -5237,6 +5328,7 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -5245,6 +5337,7 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.CreationStatus = types.VPCConnectionResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5253,6 +5346,7 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.RequestId = ptr.String(jtv) } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -5261,6 +5355,7 @@ func awsRestjson1_deserializeOpDocumentCreateVPCConnectionOutput(v **CreateVPCCo } sv.VPCConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5454,6 +5549,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAccountCustomizationOutput(v **Dele } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5641,6 +5737,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAccountSubscriptionOutput(v **Delet } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5825,6 +5922,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -5833,6 +5931,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.Arn = ptr.String(jtv) } + case "DeletionTime": if value != nil { switch jtv := value.(type) { @@ -5848,6 +5947,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -5856,6 +5956,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAnalysisOutput(v **DeleteAnalysisOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6040,6 +6141,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.Arn = ptr.String(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -6048,6 +6150,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.DashboardId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6056,6 +6159,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDashboardOutput(v **DeleteDashboard } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6237,6 +6341,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.Arn = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6350,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.DataSetId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6253,6 +6359,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetOutput(v **DeleteDataSetOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6440,6 +6547,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSetRefreshPropertiesOutput(v ** } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6621,6 +6729,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.Arn = ptr.String(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -6629,6 +6738,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.DataSourceId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6637,6 +6747,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataSourceOutput(v **DeleteDataSour } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -6827,6 +6938,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -6835,6 +6947,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.FolderId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -6843,6 +6956,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderOutput(v **DeleteFolderOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7013,6 +7127,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderMembershipOutput(v **DeleteFo } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -7025,6 +7140,7 @@ func awsRestjson1_deserializeOpDocumentDeleteFolderMembershipOutput(v **DeleteFo } sv.Status = int32(i64) } + default: _, _ = key, value @@ -7212,6 +7328,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupOutput(v **DeleteGroupOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7399,6 +7516,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupMembershipOutput(v **DeleteGro } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7586,6 +7704,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIAMPolicyAssignmentOutput(v **Delet } sv.AssignmentName = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -7594,6 +7713,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIAMPolicyAssignmentOutput(v **Delet } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7775,6 +7895,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIdentityPropagationConfigOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -7962,6 +8083,7 @@ func awsRestjson1_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8146,6 +8268,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8154,6 +8277,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.RequestId = ptr.String(jtv) } + case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -8162,6 +8286,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRefreshScheduleOutput(v **DeleteRef } sv.ScheduleId = ptr.String(jtv) } + default: _, _ = key, value @@ -8335,6 +8460,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleCustomPermissionOutput(v **Dele } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -8347,6 +8473,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleCustomPermissionOutput(v **Dele } sv.Status = int32(i64) } + default: _, _ = key, value @@ -8534,6 +8661,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRoleMembershipOutput(v **DeleteRole } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -8721,6 +8849,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8729,6 +8858,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.RequestId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -8737,6 +8867,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateOutput(v **DeleteTemplateOu } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -8918,6 +9049,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.AliasName = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8926,6 +9058,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -8934,6 +9067,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.RequestId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -8942,6 +9076,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTemplateAliasOutput(v **DeleteTempl } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -9129,6 +9264,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9137,6 +9273,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.RequestId = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -9145,6 +9282,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeOutput(v **DeleteThemeOutput, } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -9329,6 +9467,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.AliasName = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -9337,6 +9476,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9345,6 +9485,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.RequestId = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -9353,6 +9494,7 @@ func awsRestjson1_deserializeOpDocumentDeleteThemeAliasOutput(v **DeleteThemeAli } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -9537,6 +9679,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9545,6 +9688,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.RequestId = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -9553,6 +9697,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicOutput(v **DeleteTopicOutput, } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -9743,6 +9888,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.DatasetArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9751,6 +9897,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -9759,6 +9906,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -9767,6 +9915,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTopicRefreshScheduleOutput(v **Dele } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -9954,6 +10103,7 @@ func awsRestjson1_deserializeOpDocumentDeleteUserOutput(v **DeleteUserOutput, va } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10141,6 +10291,7 @@ func awsRestjson1_deserializeOpDocumentDeleteUserByPrincipalIdOutput(v **DeleteU } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10328,6 +10479,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.Arn = ptr.String(jtv) } + case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -10336,6 +10488,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } + case "DeletionStatus": if value != nil { jtv, ok := value.(string) @@ -10344,6 +10497,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.DeletionStatus = types.VPCConnectionResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10352,6 +10506,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.RequestId = ptr.String(jtv) } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -10360,6 +10515,7 @@ func awsRestjson1_deserializeOpDocumentDeleteVPCConnectionOutput(v **DeleteVPCCo } sv.VPCConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10540,6 +10696,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10548,6 +10705,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.Arn = ptr.String(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -10556,6 +10714,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -10564,6 +10723,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.Namespace = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10572,6 +10732,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountCustomizationOutput(v **De } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10752,6 +10913,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10760,6 +10922,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -10940,6 +11103,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSubscriptionOutput(v **Des if err := awsRestjson1_deserializeDocumentAccountInfo(&sv.AccountInfo, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -10948,6 +11112,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAccountSubscriptionOutput(v **Des } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11128,6 +11293,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisOutput(v **DescribeAnalys if err := awsRestjson1_deserializeDocumentAnalysis(&sv.Analysis, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11136,6 +11302,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisOutput(v **DescribeAnalys } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11326,14 +11493,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.AnalysisId = ptr.String(jtv) } + case "Definition": if err := awsRestjson1_deserializeDocumentAnalysisDefinition(&sv.Definition, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentAnalysisErrorList(&sv.Errors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11342,6 +11512,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.Name = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11350,6 +11521,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.RequestId = ptr.String(jtv) } + case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -11358,6 +11530,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.ResourceStatus = types.ResourceStatus(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -11366,6 +11539,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisDefinitionOutput(v **Desc } sv.ThemeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11547,6 +11721,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.AnalysisArn = ptr.String(jtv) } + case "AnalysisId": if value != nil { jtv, ok := value.(string) @@ -11555,10 +11730,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.AnalysisId = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11567,6 +11744,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAnalysisPermissionsOutput(v **Des } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -11742,6 +11920,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.Arn = ptr.String(jtv) } + case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -11750,6 +11929,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.AssetBundleExportJobId = ptr.String(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -11758,10 +11938,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } + case "CloudFormationOverridePropertyConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleCloudFormationOverridePropertyConfiguration(&sv.CloudFormationOverridePropertyConfiguration, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -11777,6 +11959,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } } + case "DownloadUrl": if value != nil { jtv, ok := value.(string) @@ -11785,10 +11968,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.DownloadUrl = ptr.String(jtv) } + case "Errors": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobErrorList(&sv.Errors, value); err != nil { return err } + case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -11797,6 +11982,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.ExportFormat = types.AssetBundleExportFormat(jtv) } + case "IncludeAllDependencies": if value != nil { jtv, ok := value.(bool) @@ -11805,6 +11991,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeAllDependencies = jtv } + case "IncludeFolderMembers": if value != nil { jtv, ok := value.(string) @@ -11813,6 +12000,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeFolderMembers = types.IncludeFolderMembers(jtv) } + case "IncludeFolderMemberships": if value != nil { jtv, ok := value.(bool) @@ -11821,6 +12009,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeFolderMemberships = jtv } + case "IncludePermissions": if value != nil { jtv, ok := value.(bool) @@ -11829,6 +12018,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludePermissions = jtv } + case "IncludeTags": if value != nil { jtv, ok := value.(bool) @@ -11837,6 +12027,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.IncludeTags = jtv } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -11845,6 +12036,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.JobStatus = types.AssetBundleExportJobStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11853,18 +12045,22 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleExportJobOutput(v **De } sv.RequestId = ptr.String(jtv) } + case "ResourceArns": if err := awsRestjson1_deserializeDocumentAssetBundleResourceArns(&sv.ResourceArns, value); err != nil { return err } + case "ValidationStrategy": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobValidationStrategy(&sv.ValidationStrategy, value); err != nil { return err } + case "Warnings": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobWarningList(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -12040,6 +12236,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.Arn = ptr.String(jtv) } + case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -12048,10 +12245,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.AssetBundleImportJobId = ptr.String(jtv) } + case "AssetBundleImportSource": if err := awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(&sv.AssetBundleImportSource, value); err != nil { return err } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -12060,6 +12259,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12075,10 +12275,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } } + case "Errors": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobErrorList(&sv.Errors, value); err != nil { return err } + case "FailureAction": if value != nil { jtv, ok := value.(string) @@ -12087,6 +12289,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.FailureAction = types.AssetBundleImportFailureAction(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12095,22 +12298,27 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.JobStatus = types.AssetBundleImportJobStatus(jtv) } + case "OverrideParameters": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideParameters(&sv.OverrideParameters, value); err != nil { return err } + case "OverridePermissions": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverridePermissions(&sv.OverridePermissions, value); err != nil { return err } + case "OverrideTags": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideTags(&sv.OverrideTags, value); err != nil { return err } + case "OverrideValidationStrategy": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideValidationStrategy(&sv.OverrideValidationStrategy, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12119,14 +12327,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetBundleImportJobOutput(v **De } sv.RequestId = ptr.String(jtv) } + case "RollbackErrors": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobErrorList(&sv.RollbackErrors, value); err != nil { return err } + case "Warnings": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobWarningList(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -12307,6 +12518,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb if err := awsRestjson1_deserializeDocumentDashboard(&sv.Dashboard, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12315,6 +12527,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardOutput(v **DescribeDashb } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12505,18 +12718,22 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.DashboardId = ptr.String(jtv) } + case "DashboardPublishOptions": if err := awsRestjson1_deserializeDocumentDashboardPublishOptions(&sv.DashboardPublishOptions, value); err != nil { return err } + case "Definition": if err := awsRestjson1_deserializeDocumentDashboardVersionDefinition(&sv.Definition, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentDashboardErrorList(&sv.Errors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12525,6 +12742,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.Name = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12533,6 +12751,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.RequestId = ptr.String(jtv) } + case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -12541,6 +12760,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.ResourceStatus = types.ResourceStatus(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -12549,6 +12769,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardDefinitionOutput(v **Des } sv.ThemeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12730,6 +12951,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.DashboardArn = ptr.String(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -12738,14 +12960,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.DashboardId = ptr.String(jtv) } + case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12754,6 +12979,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardPermissionsOutput(v **De } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -12921,6 +13147,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.Arn = ptr.String(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -12929,6 +13156,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.AwsAccountId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12944,6 +13172,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -12952,6 +13181,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.DashboardId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -12960,6 +13190,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.JobStatus = types.SnapshotJobStatus(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -12975,6 +13206,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -12983,10 +13215,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.RequestId = ptr.String(jtv) } + case "SnapshotConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotConfiguration(&sv.SnapshotConfiguration, value); err != nil { return err } + case "SnapshotJobId": if value != nil { jtv, ok := value.(string) @@ -12995,6 +13229,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.SnapshotJobId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -13007,10 +13242,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobOutput(v **De } sv.Status = int32(i64) } + case "UserConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotUserConfigurationRedacted(&sv.UserConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -13198,6 +13435,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13213,10 +13451,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } } + case "ErrorInfo": if err := awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -13225,6 +13465,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.JobStatus = types.SnapshotJobStatus(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13240,6 +13481,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13248,10 +13490,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDashboardSnapshotJobResultOutput( } sv.RequestId = ptr.String(jtv) } + case "Result": if err := awsRestjson1_deserializeDocumentSnapshotJobResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -13429,6 +13673,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetOutput(v **DescribeDataSet if err := awsRestjson1_deserializeDocumentDataSet(&sv.DataSet, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13437,6 +13682,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetOutput(v **DescribeDataSet } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13618,6 +13864,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.DataSetArn = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -13626,10 +13873,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.DataSetId = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13638,6 +13887,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetPermissionsOutput(v **Desc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -13821,6 +14071,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetRefreshPropertiesOutput(v if err := awsRestjson1_deserializeDocumentDataSetRefreshProperties(&sv.DataSetRefreshProperties, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -13829,6 +14080,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSetRefreshPropertiesOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14006,6 +14258,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData if err := awsRestjson1_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14014,6 +14267,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourceOutput(v **DescribeData } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14195,6 +14449,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.DataSourceArn = ptr.String(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -14203,10 +14458,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.DataSourceId = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14215,6 +14472,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDataSourcePermissionsOutput(v **D } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14395,6 +14653,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderOutput(v **DescribeFolderOu if err := awsRestjson1_deserializeDocumentFolder(&sv.Folder, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14403,6 +14662,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderOutput(v **DescribeFolderOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14590,6 +14850,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -14598,6 +14859,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.FolderId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14606,10 +14868,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14618,6 +14882,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderPermissionsOutput(v **Descr } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -14805,6 +15070,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -14813,6 +15079,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.FolderId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14821,10 +15088,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -14833,6 +15102,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderResolvedPermissionsOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15016,6 +15286,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15024,6 +15295,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15207,6 +15479,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ if err := awsRestjson1_deserializeDocumentGroupMember(&sv.GroupMember, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15215,6 +15488,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupMembershipOutput(v **Describ } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15395,6 +15669,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIAMPolicyAssignmentOutput(v **Des if err := awsRestjson1_deserializeDocumentIAMPolicyAssignment(&sv.IAMPolicyAssignment, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15403,6 +15678,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIAMPolicyAssignmentOutput(v **Des } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15583,6 +15859,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIngestionOutput(v **DescribeInges if err := awsRestjson1_deserializeDocumentIngestion(&sv.Ingestion, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15591,6 +15868,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIngestionOutput(v **DescribeInges } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -15772,6 +16050,7 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.AwsAccountId = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -15780,10 +16059,12 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.Enabled = ptr.Bool(jtv) } + case "IpRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentIpRestrictionRuleMap(&sv.IpRestrictionRuleMap, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15792,14 +16073,17 @@ func awsRestjson1_deserializeOpDocumentDescribeIpRestrictionOutput(v **DescribeI } sv.RequestId = ptr.String(jtv) } + case "VpcEndpointIdRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentVpcEndpointIdRestrictionRuleMap(&sv.VpcEndpointIdRestrictionRuleMap, value); err != nil { return err } + case "VpcIdRestrictionRuleMap": if err := awsRestjson1_deserializeDocumentVpcIdRestrictionRuleMap(&sv.VpcIdRestrictionRuleMap, value); err != nil { return err } + default: _, _ = key, value @@ -15964,10 +16248,12 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.AwsAccountId = ptr.String(jtv) } + case "KeyRegistration": if err := awsRestjson1_deserializeDocumentKeyRegistration(&sv.KeyRegistration, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -15976,6 +16262,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -15988,6 +16275,7 @@ func awsRestjson1_deserializeOpDocumentDescribeKeyRegistrationOutput(v **Describ } sv.Status = int32(i64) } + default: _, _ = key, value @@ -16168,6 +16456,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames if err := awsRestjson1_deserializeDocumentNamespaceInfoV2(&sv.Namespace, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16176,6 +16465,7 @@ func awsRestjson1_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -16360,6 +16650,7 @@ func awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutp } sv.PersonalizationMode = types.PersonalizationMode(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16368,6 +16659,7 @@ func awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -16552,10 +16844,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRefreshScheduleOutput(v **Describ } sv.Arn = ptr.String(jtv) } + case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16564,6 +16858,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRefreshScheduleOutput(v **Describ } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -16737,6 +17032,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.CustomPermissionsName = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -16745,6 +17041,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -16757,6 +17054,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoleCustomPermissionOutput(v **De } sv.Status = int32(i64) } + default: _, _ = key, value @@ -16947,10 +17245,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateOutput(v **DescribeTempla } sv.RequestId = ptr.String(jtv) } + case "Template": if err := awsRestjson1_deserializeDocumentTemplate(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -17129,10 +17429,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateAliasOutput(v **DescribeT } sv.RequestId = ptr.String(jtv) } + case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } + default: _, _ = key, value @@ -17319,10 +17621,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc if err := awsRestjson1_deserializeDocumentTemplateVersionDefinition(&sv.Definition, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentTemplateErrorList(&sv.Errors, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17331,6 +17635,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.Name = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -17339,6 +17644,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.RequestId = ptr.String(jtv) } + case "ResourceStatus": if value != nil { jtv, ok := value.(string) @@ -17347,6 +17653,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.ResourceStatus = types.ResourceStatus(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -17355,6 +17662,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.TemplateId = ptr.String(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -17363,6 +17671,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplateDefinitionOutput(v **Desc } sv.ThemeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17543,6 +17852,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -17551,6 +17861,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.RequestId = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17559,6 +17870,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.TemplateArn = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -17567,6 +17879,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTemplatePermissionsOutput(v **Des } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -17754,10 +18067,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThemeOutput(v **DescribeThemeOutp } sv.RequestId = ptr.String(jtv) } + case "Theme": if err := awsRestjson1_deserializeDocumentTheme(&sv.Theme, value); err != nil { return err } + default: _, _ = key, value @@ -17942,10 +18257,12 @@ func awsRestjson1_deserializeOpDocumentDescribeThemeAliasOutput(v **DescribeThem } sv.RequestId = ptr.String(jtv) } + case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } + default: _, _ = key, value @@ -18126,6 +18443,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18134,6 +18452,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.RequestId = ptr.String(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -18142,6 +18461,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.ThemeArn = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -18150,6 +18470,7 @@ func awsRestjson1_deserializeOpDocumentDescribeThemePermissionsOutput(v **Descri } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -18331,6 +18652,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18339,10 +18661,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.RequestId = ptr.String(jtv) } + case "Topic": if err := awsRestjson1_deserializeDocumentTopicDetails(&sv.Topic, value); err != nil { return err } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -18351,6 +18675,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicOutput(v **DescribeTopicOutp } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -18528,6 +18853,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18536,6 +18862,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -18544,6 +18871,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -18552,6 +18880,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicPermissionsOutput(v **Descri } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -18729,6 +19058,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshOutput(v **DescribeTo if err := awsRestjson1_deserializeDocumentTopicRefreshDetails(&sv.RefreshDetails, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18737,6 +19067,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshOutput(v **DescribeTo } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -18927,10 +19258,12 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.DatasetArn = ptr.String(jtv) } + case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentTopicRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -18939,6 +19272,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -18947,6 +19281,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -18955,6 +19290,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTopicRefreshScheduleOutput(v **De } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -19142,10 +19478,12 @@ func awsRestjson1_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.RequestId = ptr.String(jtv) } + case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -19316,6 +19654,7 @@ func awsRestjson1_deserializeOpDocumentDescribeVPCConnectionOutput(v **DescribeV } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -19328,10 +19667,12 @@ func awsRestjson1_deserializeOpDocumentDescribeVPCConnectionOutput(v **DescribeV } sv.Status = int32(i64) } + case "VPCConnection": if err := awsRestjson1_deserializeDocumentVPCConnection(&sv.VPCConnection, value); err != nil { return err } + default: _, _ = key, value @@ -19522,6 +19863,7 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.AnonymousUserArn = ptr.String(jtv) } + case "EmbedUrl": if value != nil { jtv, ok := value.(string) @@ -19530,6 +19872,7 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.EmbedUrl = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19538,6 +19881,7 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForAnonymousUserOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -19731,6 +20075,7 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForRegisteredUserOutput(v } sv.EmbedUrl = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19739,6 +20084,7 @@ func awsRestjson1_deserializeOpDocumentGenerateEmbedUrlForRegisteredUserOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -19941,6 +20287,7 @@ func awsRestjson1_deserializeOpDocumentGetDashboardEmbedUrlOutput(v **GetDashboa } sv.EmbedUrl = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -19949,6 +20296,7 @@ func awsRestjson1_deserializeOpDocumentGetDashboardEmbedUrlOutput(v **GetDashboa } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -20142,6 +20490,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionEmbedUrlOutput(v **GetSessionEm } sv.EmbedUrl = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20150,6 +20499,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionEmbedUrlOutput(v **GetSessionEm } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -20324,6 +20674,7 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput if err := awsRestjson1_deserializeDocumentAnalysisSummaryList(&sv.AnalysisSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20332,6 +20683,7 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20340,6 +20692,7 @@ func awsRestjson1_deserializeOpDocumentListAnalysesOutput(v **ListAnalysesOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -20517,6 +20870,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssetBundleExportJobSummaryList(&sv.AssetBundleExportJobSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20525,6 +20879,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20533,6 +20888,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleExportJobsOutput(v **ListA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -20710,6 +21066,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssetBundleImportJobSummaryList(&sv.AssetBundleImportJobSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20718,6 +21075,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20726,6 +21084,7 @@ func awsRestjson1_deserializeOpDocumentListAssetBundleImportJobsOutput(v **ListA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -20900,6 +21259,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu if err := awsRestjson1_deserializeDocumentDashboardSummaryList(&sv.DashboardSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20908,6 +21268,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -20916,6 +21277,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardsOutput(v **ListDashboardsOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -21096,6 +21458,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb if err := awsRestjson1_deserializeDocumentDashboardVersionSummaryList(&sv.DashboardVersionSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21104,6 +21467,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21112,6 +21476,7 @@ func awsRestjson1_deserializeOpDocumentListDashboardVersionsOutput(v **ListDashb } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -21289,6 +21654,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput if err := awsRestjson1_deserializeDocumentDataSetSummaryList(&sv.DataSetSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21297,6 +21663,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21305,6 +21672,7 @@ func awsRestjson1_deserializeOpDocumentListDataSetsOutput(v **ListDataSetsOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -21482,6 +21850,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources if err := awsRestjson1_deserializeDocumentDataSourceList(&sv.DataSources, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21490,6 +21859,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21498,6 +21868,7 @@ func awsRestjson1_deserializeOpDocumentListDataSourcesOutput(v **ListDataSources } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -21681,6 +22052,7 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem if err := awsRestjson1_deserializeDocumentFolderMemberList(&sv.FolderMemberList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21689,6 +22061,7 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21697,6 +22070,7 @@ func awsRestjson1_deserializeOpDocumentListFolderMembersOutput(v **ListFolderMem } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -21880,6 +22254,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, if err := awsRestjson1_deserializeDocumentFolderSummaryList(&sv.FolderSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -21888,6 +22263,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -21896,6 +22272,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersOutput(v **ListFoldersOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -22079,6 +22456,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold if err := awsRestjson1_deserializeDocumentFoldersForResourceArnList(&sv.Folders, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22087,6 +22465,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22095,6 +22474,7 @@ func awsRestjson1_deserializeOpDocumentListFoldersForResourceOutput(v **ListFold } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -22281,6 +22661,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM if err := awsRestjson1_deserializeDocumentGroupMemberList(&sv.GroupMemberList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22289,6 +22670,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22297,6 +22679,7 @@ func awsRestjson1_deserializeOpDocumentListGroupMembershipsOutput(v **ListGroupM } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -22483,6 +22866,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22491,6 +22875,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22499,6 +22884,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -22679,6 +23065,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA if err := awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummaryList(&sv.IAMPolicyAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22687,6 +23074,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22695,6 +23083,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsOutput(v **ListIA } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -22878,6 +23267,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * if err := awsRestjson1_deserializeDocumentActiveIAMPolicyAssignmentList(&sv.ActiveAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -22886,6 +23276,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -22894,6 +23285,7 @@ func awsRestjson1_deserializeOpDocumentListIAMPolicyAssignmentsForUserOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -23075,6 +23467,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityPropagationConfigsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23083,10 +23476,12 @@ func awsRestjson1_deserializeOpDocumentListIdentityPropagationConfigsOutput(v ** } sv.RequestId = ptr.String(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentAuthorizedTargetsByServices(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -23270,6 +23665,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu if err := awsRestjson1_deserializeDocumentIngestions(&sv.Ingestions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23278,6 +23674,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23286,6 +23683,7 @@ func awsRestjson1_deserializeOpDocumentListIngestionsOutput(v **ListIngestionsOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -23472,6 +23870,7 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsRestjson1_deserializeDocumentNamespaces(&sv.Namespaces, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23480,6 +23879,7 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23488,6 +23888,7 @@ func awsRestjson1_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -23668,6 +24069,7 @@ func awsRestjson1_deserializeOpDocumentListRefreshSchedulesOutput(v **ListRefres if err := awsRestjson1_deserializeDocumentRefreshSchedules(&sv.RefreshSchedules, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23676,6 +24078,7 @@ func awsRestjson1_deserializeOpDocumentListRefreshSchedulesOutput(v **ListRefres } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -23865,6 +24268,7 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem if err := awsRestjson1_deserializeDocumentGroupsList(&sv.MembersList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23873,6 +24277,7 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -23881,6 +24286,7 @@ func awsRestjson1_deserializeOpDocumentListRoleMembershipsOutput(v **ListRoleMem } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -24062,10 +24468,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.RequestId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -24247,6 +24655,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateAliasesOutput(v **ListTemplat } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24255,10 +24664,12 @@ func awsRestjson1_deserializeOpDocumentListTemplateAliasesOutput(v **ListTemplat } sv.RequestId = ptr.String(jtv) } + case "TemplateAliasList": if err := awsRestjson1_deserializeDocumentTemplateAliasList(&sv.TemplateAliasList, value); err != nil { return err } + default: _, _ = key, value @@ -24443,6 +24854,7 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24451,10 +24863,12 @@ func awsRestjson1_deserializeOpDocumentListTemplatesOutput(v **ListTemplatesOutp } sv.RequestId = ptr.String(jtv) } + case "TemplateSummaryList": if err := awsRestjson1_deserializeDocumentTemplateSummaryList(&sv.TemplateSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24639,6 +25053,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24647,10 +25062,12 @@ func awsRestjson1_deserializeOpDocumentListTemplateVersionsOutput(v **ListTempla } sv.RequestId = ptr.String(jtv) } + case "TemplateVersionSummaryList": if err := awsRestjson1_deserializeDocumentTemplateVersionSummaryList(&sv.TemplateVersionSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -24838,6 +25255,7 @@ func awsRestjson1_deserializeOpDocumentListThemeAliasesOutput(v **ListThemeAlias } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -24846,10 +25264,12 @@ func awsRestjson1_deserializeOpDocumentListThemeAliasesOutput(v **ListThemeAlias } sv.RequestId = ptr.String(jtv) } + case "ThemeAliasList": if err := awsRestjson1_deserializeDocumentThemeAliasList(&sv.ThemeAliasList, value); err != nil { return err } + default: _, _ = key, value @@ -25037,6 +25457,7 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25045,10 +25466,12 @@ func awsRestjson1_deserializeOpDocumentListThemesOutput(v **ListThemesOutput, va } sv.RequestId = ptr.String(jtv) } + case "ThemeSummaryList": if err := awsRestjson1_deserializeDocumentThemeSummaryList(&sv.ThemeSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25236,6 +25659,7 @@ func awsRestjson1_deserializeOpDocumentListThemeVersionsOutput(v **ListThemeVers } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25244,10 +25668,12 @@ func awsRestjson1_deserializeOpDocumentListThemeVersionsOutput(v **ListThemeVers } sv.RequestId = ptr.String(jtv) } + case "ThemeVersionSummaryList": if err := awsRestjson1_deserializeDocumentThemeVersionSummaryList(&sv.ThemeVersionSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -25434,6 +25860,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT if err := awsRestjson1_deserializeDocumentTopicRefreshScheduleSummaries(&sv.RefreshSchedules, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25442,6 +25869,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -25450,6 +25878,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -25458,6 +25887,7 @@ func awsRestjson1_deserializeOpDocumentListTopicRefreshSchedulesOutput(v **ListT } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -25635,6 +26065,7 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo if err := awsRestjson1_deserializeDocumentTopicReviewedAnswers(&sv.Answers, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25643,6 +26074,7 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -25651,6 +26083,7 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -25659,6 +26092,7 @@ func awsRestjson1_deserializeOpDocumentListTopicReviewedAnswersOutput(v **ListTo } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -25840,6 +26274,7 @@ func awsRestjson1_deserializeOpDocumentListTopicsOutput(v **ListTopicsOutput, va } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -25848,10 +26283,12 @@ func awsRestjson1_deserializeOpDocumentListTopicsOutput(v **ListTopicsOutput, va } sv.RequestId = ptr.String(jtv) } + case "TopicsSummaries": if err := awsRestjson1_deserializeDocumentTopicSummaries(&sv.TopicsSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -26035,6 +26472,7 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -26043,6 +26481,7 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26051,6 +26490,7 @@ func awsRestjson1_deserializeOpDocumentListUserGroupsOutput(v **ListUserGroupsOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -26241,6 +26681,7 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26249,10 +26690,12 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.RequestId = ptr.String(jtv) } + case "UserList": if err := awsRestjson1_deserializeDocumentUserList(&sv.UserList, value); err != nil { return err } + default: _, _ = key, value @@ -26437,6 +26880,7 @@ func awsRestjson1_deserializeOpDocumentListVPCConnectionsOutput(v **ListVPCConne } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -26445,10 +26889,12 @@ func awsRestjson1_deserializeOpDocumentListVPCConnectionsOutput(v **ListVPCConne } sv.RequestId = ptr.String(jtv) } + case "VPCConnectionSummaries": if err := awsRestjson1_deserializeDocumentVPCConnectionSummaryList(&sv.VPCConnectionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -26639,6 +27085,7 @@ func awsRestjson1_deserializeOpDocumentPutDataSetRefreshPropertiesOutput(v **Put } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -26832,10 +27279,12 @@ func awsRestjson1_deserializeOpDocumentRegisterUserOutput(v **RegisterUserOutput } sv.RequestId = ptr.String(jtv) } + case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + case "UserInvitationUrl": if value != nil { jtv, ok := value.(string) @@ -26844,6 +27293,7 @@ func awsRestjson1_deserializeOpDocumentRegisterUserOutput(v **RegisterUserOutput } sv.UserInvitationUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -27034,6 +27484,7 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -27042,6 +27493,7 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27050,10 +27502,12 @@ func awsRestjson1_deserializeOpDocumentRestoreAnalysisOutput(v **RestoreAnalysis } sv.RequestId = ptr.String(jtv) } + case "RestorationFailedFolderArns": if err := awsRestjson1_deserializeDocumentFolderArnList(&sv.RestorationFailedFolderArns, value); err != nil { return err } + default: _, _ = key, value @@ -27234,6 +27688,7 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu if err := awsRestjson1_deserializeDocumentAnalysisSummaryList(&sv.AnalysisSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27242,6 +27697,7 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27250,6 +27706,7 @@ func awsRestjson1_deserializeOpDocumentSearchAnalysesOutput(v **SearchAnalysesOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -27430,6 +27887,7 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar if err := awsRestjson1_deserializeDocumentDashboardSummaryList(&sv.DashboardSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27438,6 +27896,7 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27446,6 +27905,7 @@ func awsRestjson1_deserializeOpDocumentSearchDashboardsOutput(v **SearchDashboar } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -27626,6 +28086,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu if err := awsRestjson1_deserializeDocumentDataSetSummaryList(&sv.DataSetSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27634,6 +28095,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27642,6 +28104,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSetsOutput(v **SearchDataSetsOu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -27822,6 +28285,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou if err := awsRestjson1_deserializeDocumentDataSourceSummaryList(&sv.DataSourceSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -27830,6 +28294,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -27838,6 +28303,7 @@ func awsRestjson1_deserializeOpDocumentSearchDataSourcesOutput(v **SearchDataSou } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -28024,6 +28490,7 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp if err := awsRestjson1_deserializeDocumentFolderSummaryList(&sv.FolderSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28032,6 +28499,7 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28040,6 +28508,7 @@ func awsRestjson1_deserializeOpDocumentSearchFoldersOutput(v **SearchFoldersOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -28226,6 +28695,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput if err := awsRestjson1_deserializeDocumentGroupList(&sv.GroupList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -28234,6 +28704,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.NextToken = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28242,6 +28713,7 @@ func awsRestjson1_deserializeOpDocumentSearchGroupsOutput(v **SearchGroupsOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -28429,6 +28901,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.Arn = ptr.String(jtv) } + case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -28437,6 +28910,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.AssetBundleExportJobId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28445,6 +28919,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleExportJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -28632,6 +29107,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.Arn = ptr.String(jtv) } + case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -28640,6 +29116,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.AssetBundleImportJobId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28648,6 +29125,7 @@ func awsRestjson1_deserializeOpDocumentStartAssetBundleImportJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -28841,6 +29319,7 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -28849,6 +29328,7 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.RequestId = ptr.String(jtv) } + case "SnapshotJobId": if value != nil { jtv, ok := value.(string) @@ -28857,6 +29337,7 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobOutput(v **Start } sv.SnapshotJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -29044,6 +29525,7 @@ func awsRestjson1_deserializeOpDocumentStartDashboardSnapshotJobScheduleOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -29228,6 +29710,7 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -29409,6 +29892,7 @@ func awsRestjson1_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -29592,6 +30076,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda if err := awsRestjson1_deserializeDocumentAccountCustomization(&sv.AccountCustomization, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -29600,6 +30085,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.Arn = ptr.String(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -29608,6 +30094,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.AwsAccountId = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -29616,6 +30103,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.Namespace = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -29624,6 +30112,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountCustomizationOutput(v **Upda } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -29808,6 +30297,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -29995,6 +30485,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -30003,6 +30494,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30011,6 +30503,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.RequestId = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -30019,6 +30512,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisOutput(v **UpdateAnalysisOu } sv.UpdateStatus = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -30206,6 +30700,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.AnalysisArn = ptr.String(jtv) } + case "AnalysisId": if value != nil { jtv, ok := value.(string) @@ -30214,10 +30709,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.AnalysisId = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30226,6 +30723,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnalysisPermissionsOutput(v **Updat } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -30399,6 +30897,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -30407,6 +30906,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.CreationStatus = types.ResourceStatus(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -30415,6 +30915,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.DashboardId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30423,6 +30924,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -30435,6 +30937,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.Status = int32(i64) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -30443,6 +30946,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardOutput(v **UpdateDashboard } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -30630,10 +31134,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardLinksOutput(v **UpdateDash } sv.DashboardArn = ptr.String(jtv) } + case "LinkEntities": if err := awsRestjson1_deserializeDocumentLinkEntityArnList(&sv.LinkEntities, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30642,6 +31148,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardLinksOutput(v **UpdateDash } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -30829,6 +31336,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.DashboardArn = ptr.String(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -30837,14 +31345,17 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.DashboardId = ptr.String(jtv) } + case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -30853,6 +31364,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPermissionsOutput(v **Upda } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -31037,6 +31549,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.DashboardArn = ptr.String(jtv) } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -31045,6 +31558,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.DashboardId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31053,6 +31567,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDashboardPublishedVersionOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -31243,6 +31758,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.Arn = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -31251,6 +31767,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.DataSetId = ptr.String(jtv) } + case "IngestionArn": if value != nil { jtv, ok := value.(string) @@ -31259,6 +31776,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.IngestionArn = ptr.String(jtv) } + case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -31267,6 +31785,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.IngestionId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31275,6 +31794,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetOutput(v **UpdateDataSetOutp } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -31459,6 +31979,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.DataSetArn = ptr.String(jtv) } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -31467,6 +31988,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.DataSetId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31475,6 +31997,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSetPermissionsOutput(v **Update } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -31662,6 +32185,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.Arn = ptr.String(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -31670,6 +32194,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.DataSourceId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31678,6 +32203,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.RequestId = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -31686,6 +32212,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourceOutput(v **UpdateDataSour } sv.UpdateStatus = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -31870,6 +32397,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.DataSourceArn = ptr.String(jtv) } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -31878,6 +32406,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.DataSourceId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -31886,6 +32415,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataSourcePermissionsOutput(v **Upd } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -32076,6 +32606,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -32084,6 +32615,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.FolderId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32092,6 +32624,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderOutput(v **UpdateFolderOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -32265,6 +32798,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.Arn = ptr.String(jtv) } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -32273,10 +32807,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.FolderId = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32285,6 +32821,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -32297,6 +32834,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFolderPermissionsOutput(v **UpdateF } sv.Status = int32(i64) } + default: _, _ = key, value @@ -32480,6 +33018,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32488,6 +33027,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -32675,6 +33215,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentId = ptr.String(jtv) } + case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -32683,6 +33224,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentName = ptr.String(jtv) } + case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -32691,10 +33233,12 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.AssignmentStatus = types.AssignmentStatus(jtv) } + case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -32703,6 +33247,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.PolicyArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -32711,6 +33256,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIAMPolicyAssignmentOutput(v **Updat } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -32892,6 +33438,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityPropagationConfigOutput(v * } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -33076,6 +33623,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIpRestrictionOutput(v **UpdateIpRes } sv.AwsAccountId = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33084,6 +33632,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIpRestrictionOutput(v **UpdateIpRes } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -33244,6 +33793,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyRegistrationOutput(v **UpdateKey if err := awsRestjson1_deserializeDocumentFailedKeyRegistrationEntries(&sv.FailedKeyRegistration, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33252,10 +33802,12 @@ func awsRestjson1_deserializeOpDocumentUpdateKeyRegistrationOutput(v **UpdateKey } sv.RequestId = ptr.String(jtv) } + case "SuccessfulKeyRegistration": if err := awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntries(&sv.SuccessfulKeyRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -33440,6 +33992,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePublicSharingSettingsOutput(v **Upd } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -33627,6 +34180,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput } sv.PersonalizationMode = types.PersonalizationMode(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33635,6 +34189,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -33822,6 +34377,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.Arn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -33830,6 +34386,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.RequestId = ptr.String(jtv) } + case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -33838,6 +34395,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRefreshScheduleOutput(v **UpdateRef } sv.ScheduleId = ptr.String(jtv) } + default: _, _ = key, value @@ -34011,6 +34569,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleCustomPermissionOutput(v **Upda } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(json.Number) @@ -34023,6 +34582,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoleCustomPermissionOutput(v **Upda } sv.Status = int32(i64) } + default: _, _ = key, value @@ -34204,6 +34764,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSPICECapacityConfigurationOutput(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -34394,6 +34955,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -34402,6 +34964,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.CreationStatus = types.ResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -34410,6 +34973,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.RequestId = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -34418,6 +34982,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.TemplateId = ptr.String(jtv) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -34426,6 +34991,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateOutput(v **UpdateTemplateOu } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -34607,10 +35173,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplateAliasOutput(v **UpdateTempl } sv.RequestId = ptr.String(jtv) } + case "TemplateAlias": if err := awsRestjson1_deserializeDocumentTemplateAlias(&sv.TemplateAlias, value); err != nil { return err } + default: _, _ = key, value @@ -34794,6 +35362,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -34802,6 +35371,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.RequestId = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -34810,6 +35380,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.TemplateArn = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -34818,6 +35389,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTemplatePermissionsOutput(v **Updat } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -35008,6 +35580,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.Arn = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -35016,6 +35589,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.CreationStatus = types.ResourceStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35024,6 +35598,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.RequestId = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -35032,6 +35607,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.ThemeId = ptr.String(jtv) } + case "VersionArn": if value != nil { jtv, ok := value.(string) @@ -35040,6 +35616,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeOutput(v **UpdateThemeOutput, } sv.VersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -35227,10 +35804,12 @@ func awsRestjson1_deserializeOpDocumentUpdateThemeAliasOutput(v **UpdateThemeAli } sv.RequestId = ptr.String(jtv) } + case "ThemeAlias": if err := awsRestjson1_deserializeDocumentThemeAlias(&sv.ThemeAlias, value); err != nil { return err } + default: _, _ = key, value @@ -35414,6 +35993,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh if err := awsRestjson1_deserializeDocumentUpdateResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35422,6 +36002,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.RequestId = ptr.String(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -35430,6 +36011,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.ThemeArn = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -35438,6 +36020,7 @@ func awsRestjson1_deserializeOpDocumentUpdateThemePermissionsOutput(v **UpdateTh } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -35628,6 +36211,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.Arn = ptr.String(jtv) } + case "RefreshArn": if value != nil { jtv, ok := value.(string) @@ -35636,6 +36220,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.RefreshArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35644,6 +36229,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.RequestId = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -35652,6 +36238,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicOutput(v **UpdateTopicOutput, } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -35838,6 +36425,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -35846,6 +36434,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -35854,6 +36443,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -35862,6 +36452,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicPermissionsOutput(v **UpdateTo } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -36052,6 +36643,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.DatasetArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36060,6 +36652,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.RequestId = ptr.String(jtv) } + case "TopicArn": if value != nil { jtv, ok := value.(string) @@ -36068,6 +36661,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.TopicArn = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -36076,6 +36670,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTopicRefreshScheduleOutput(v **Upda } sv.TopicId = ptr.String(jtv) } + default: _, _ = key, value @@ -36263,10 +36858,12 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.RequestId = ptr.String(jtv) } + case "User": if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -36457,6 +37054,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.Arn = ptr.String(jtv) } + case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -36465,6 +37063,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -36473,6 +37072,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.RequestId = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -36481,6 +37081,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.UpdateStatus = types.VPCConnectionResourceStatus(jtv) } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -36489,6 +37090,7 @@ func awsRestjson1_deserializeOpDocumentUpdateVPCConnectionOutput(v **UpdateVPCCo } sv.VPCConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -37248,6 +37850,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -37256,6 +37859,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -37295,6 +37899,7 @@ func awsRestjson1_deserializeDocumentAccountCustomization(v **types.AccountCusto } sv.DefaultEmailCustomizationTemplate = ptr.String(jtv) } + case "DefaultTheme": if value != nil { jtv, ok := value.(string) @@ -37303,6 +37908,7 @@ func awsRestjson1_deserializeDocumentAccountCustomization(v **types.AccountCusto } sv.DefaultTheme = ptr.String(jtv) } + default: _, _ = key, value @@ -37342,6 +37948,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountName = ptr.String(jtv) } + case "AccountSubscriptionStatus": if value != nil { jtv, ok := value.(string) @@ -37350,6 +37957,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountSubscriptionStatus = ptr.String(jtv) } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -37358,6 +37966,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AuthenticationType = ptr.String(jtv) } + case "Edition": if value != nil { jtv, ok := value.(string) @@ -37366,6 +37975,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.Edition = types.Edition(jtv) } + case "IAMIdentityCenterInstanceArn": if value != nil { jtv, ok := value.(string) @@ -37374,6 +37984,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.IAMIdentityCenterInstanceArn = ptr.String(jtv) } + case "NotificationEmail": if value != nil { jtv, ok := value.(string) @@ -37382,6 +37993,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.NotificationEmail = ptr.String(jtv) } + default: _, _ = key, value @@ -37421,6 +38033,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.AccountName = ptr.String(jtv) } + case "DefaultNamespace": if value != nil { jtv, ok := value.(string) @@ -37429,6 +38042,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.DefaultNamespace = ptr.String(jtv) } + case "Edition": if value != nil { jtv, ok := value.(string) @@ -37437,6 +38051,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.Edition = types.Edition(jtv) } + case "NotificationEmail": if value != nil { jtv, ok := value.(string) @@ -37445,6 +38060,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.NotificationEmail = ptr.String(jtv) } + case "PublicSharingEnabled": if value != nil { jtv, ok := value.(bool) @@ -37453,6 +38069,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.PublicSharingEnabled = jtv } + case "TerminationProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -37461,6 +38078,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.TerminationProtectionEnabled = jtv } + default: _, _ = key, value @@ -37536,6 +38154,7 @@ func awsRestjson1_deserializeDocumentActiveIAMPolicyAssignment(v **types.ActiveI } sv.AssignmentName = ptr.String(jtv) } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -37544,6 +38163,7 @@ func awsRestjson1_deserializeDocumentActiveIAMPolicyAssignment(v **types.ActiveI } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -37617,6 +38237,7 @@ func awsRestjson1_deserializeDocumentAdHocFilteringOption(v **types.AdHocFilteri } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -37656,10 +38277,12 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.Aggregation = types.AggType(jtv) } + case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggFunctionParamMap(&sv.AggregationFunctionParameters, value); err != nil { return err } + case "Period": if value != nil { jtv, ok := value.(string) @@ -37668,6 +38291,7 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.Period = types.TopicTimeGranularity(jtv) } + case "PeriodField": if value != nil { jtv, ok := value.(string) @@ -37676,6 +38300,7 @@ func awsRestjson1_deserializeDocumentAggFunction(v **types.AggFunction, value in } sv.PeriodField = ptr.String(jtv) } + default: _, _ = key, value @@ -37747,6 +38372,7 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu if err := awsRestjson1_deserializeDocumentAttributeAggregationFunction(&sv.AttributeAggregationFunction, value); err != nil { return err } + case "CategoricalAggregationFunction": if value != nil { jtv, ok := value.(string) @@ -37755,6 +38381,7 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu } sv.CategoricalAggregationFunction = types.CategoricalAggregationFunction(jtv) } + case "DateAggregationFunction": if value != nil { jtv, ok := value.(string) @@ -37763,10 +38390,12 @@ func awsRestjson1_deserializeDocumentAggregationFunction(v **types.AggregationFu } sv.DateAggregationFunction = types.DateAggregationFunction(jtv) } + case "NumericalAggregationFunction": if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.NumericalAggregationFunction, value); err != nil { return err } + default: _, _ = key, value @@ -37842,6 +38471,7 @@ func awsRestjson1_deserializeDocumentAggregationPartitionBy(v **types.Aggregatio } sv.FieldName = ptr.String(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -37850,6 +38480,7 @@ func awsRestjson1_deserializeDocumentAggregationPartitionBy(v **types.Aggregatio } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -37919,10 +38550,12 @@ func awsRestjson1_deserializeDocumentAggregationSortConfiguration(v **types.Aggr if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -37931,6 +38564,7 @@ func awsRestjson1_deserializeDocumentAggregationSortConfiguration(v **types.Aggr } sv.SortDirection = types.SortDirection(jtv) } + default: _, _ = key, value @@ -38035,6 +38669,7 @@ func awsRestjson1_deserializeDocumentAmazonElasticsearchParameters(v **types.Ama } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -38074,6 +38709,7 @@ func awsRestjson1_deserializeDocumentAmazonOpenSearchParameters(v **types.Amazon } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -38113,6 +38749,7 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -38121,6 +38758,7 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -38136,14 +38774,17 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } } + case "DataSetArns": if err := awsRestjson1_deserializeDocumentDataSetArnsList(&sv.DataSetArns, value); err != nil { return err } + case "Errors": if err := awsRestjson1_deserializeDocumentAnalysisErrorList(&sv.Errors, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -38159,6 +38800,7 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38167,10 +38809,12 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Name = ptr.String(jtv) } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -38179,6 +38823,7 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.Status = types.ResourceStatus(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -38187,6 +38832,7 @@ func awsRestjson1_deserializeDocumentAnalysis(v **types.Analysis, value interfac } sv.ThemeArn = ptr.String(jtv) } + default: _, _ = key, value @@ -38222,6 +38868,7 @@ func awsRestjson1_deserializeDocumentAnalysisDefaults(v **types.AnalysisDefaults if err := awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(&sv.DefaultNewSheetConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -38257,38 +38904,47 @@ func awsRestjson1_deserializeDocumentAnalysisDefinition(v **types.AnalysisDefini if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } + case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } + case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } + case "DataSetIdentifierDeclarations": if err := awsRestjson1_deserializeDocumentDataSetIdentifierDeclarationList(&sv.DataSetIdentifierDeclarations, value); err != nil { return err } + case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } + case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } + case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } + case "QueryExecutionOptions": if err := awsRestjson1_deserializeDocumentQueryExecutionOptions(&sv.QueryExecutionOptions, value); err != nil { return err } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } + default: _, _ = key, value @@ -38328,6 +38984,7 @@ func awsRestjson1_deserializeDocumentAnalysisError(v **types.AnalysisError, valu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -38336,10 +38993,12 @@ func awsRestjson1_deserializeDocumentAnalysisError(v **types.AnalysisError, valu } sv.Type = types.AnalysisErrorType(jtv) } + case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } + default: _, _ = key, value @@ -38413,6 +39072,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.AnalysisId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -38421,6 +39081,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -38436,6 +39097,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -38451,6 +39113,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38459,6 +39122,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -38467,6 +39131,7 @@ func awsRestjson1_deserializeDocumentAnalysisSummary(v **types.AnalysisSummary, } sv.Status = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -38540,6 +39205,7 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.AnchorType = types.AnchorType(jtv) } + case "Offset": if value != nil { jtv, ok := value.(json.Number) @@ -38552,6 +39218,7 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.Offset = int32(i64) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -38560,6 +39227,7 @@ func awsRestjson1_deserializeDocumentAnchor(v **types.Anchor, value interface{}) } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -38599,6 +39267,7 @@ func awsRestjson1_deserializeDocumentAnchorDateConfiguration(v **types.AnchorDat } sv.AnchorOption = types.AnchorOption(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -38607,6 +39276,7 @@ func awsRestjson1_deserializeDocumentAnchorDateConfiguration(v **types.AnchorDat } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -38642,6 +39312,7 @@ func awsRestjson1_deserializeDocumentAnonymousUserSnapshotJobResult(v **types.An if err := awsRestjson1_deserializeDocumentSnapshotJobResultFileGroupList(&sv.FileGroups, value); err != nil { return err } + default: _, _ = key, value @@ -38711,6 +39382,7 @@ func awsRestjson1_deserializeDocumentArcAxisConfiguration(v **types.ArcAxisConfi if err := awsRestjson1_deserializeDocumentArcAxisDisplayRange(&sv.Range, value); err != nil { return err } + case "ReserveRange": if value != nil { jtv, ok := value.(json.Number) @@ -38723,6 +39395,7 @@ func awsRestjson1_deserializeDocumentArcAxisConfiguration(v **types.ArcAxisConfi } sv.ReserveRange = int32(i64) } + default: _, _ = key, value @@ -38787,6 +39460,7 @@ func awsRestjson1_deserializeDocumentArcAxisDisplayRange(v **types.ArcAxisDispla } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -38820,6 +39494,7 @@ func awsRestjson1_deserializeDocumentArcAxisDisplayRange(v **types.ArcAxisDispla } } + default: _, _ = key, value @@ -38884,6 +39559,7 @@ func awsRestjson1_deserializeDocumentArcConfiguration(v **types.ArcConfiguration } } + case "ArcThickness": if value != nil { jtv, ok := value.(string) @@ -38892,6 +39568,7 @@ func awsRestjson1_deserializeDocumentArcConfiguration(v **types.ArcConfiguration } sv.ArcThickness = types.ArcThicknessOptions(jtv) } + default: _, _ = key, value @@ -38931,6 +39608,7 @@ func awsRestjson1_deserializeDocumentArcOptions(v **types.ArcOptions, value inte } sv.ArcThickness = types.ArcThickness(jtv) } + default: _, _ = key, value @@ -38966,38 +39644,47 @@ func awsRestjson1_deserializeDocumentAssetBundleCloudFormationOverridePropertyCo if err := awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisOverridePropertiesList(&sv.Analyses, value); err != nil { return err } + case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardOverridePropertiesList(&sv.Dashboards, value); err != nil { return err } + case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetOverridePropertiesList(&sv.DataSets, value); err != nil { return err } + case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourceOverridePropertiesList(&sv.DataSources, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobFolderOverridePropertiesList(&sv.Folders, value); err != nil { return err } + case "RefreshSchedules": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshScheduleOverridePropertiesList(&sv.RefreshSchedules, value); err != nil { return err } + case "ResourceIdOverrideConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobResourceIdOverrideConfiguration(&sv.ResourceIdOverrideConfiguration, value); err != nil { return err } + case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobThemeOverridePropertiesList(&sv.Themes, value); err != nil { return err } + case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionOverridePropertiesList(&sv.VPCConnections, value); err != nil { return err } + default: _, _ = key, value @@ -39037,10 +39724,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisOverridePropert } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobAnalysisPropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39150,10 +39839,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardOverrideProper } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDashboardPropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39263,10 +39954,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetOverrideProperti } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSetPropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39376,10 +40069,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourceOverridePrope } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobDataSourcePropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39489,6 +40184,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -39497,6 +40193,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -39505,6 +40202,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobError(v **types.AssetBu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -39578,10 +40276,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobFolderOverridePropertie } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobFolderPropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39691,10 +40391,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshScheduleOverride } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobRefreshSchedulePropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -39804,6 +40506,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobResourceIdOverrideConfi } sv.PrefixForAllResources = jtv } + default: _, _ = key, value @@ -39843,6 +40546,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.Arn = ptr.String(jtv) } + case "AssetBundleExportJobId": if value != nil { jtv, ok := value.(string) @@ -39851,6 +40555,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.AssetBundleExportJobId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -39866,6 +40571,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } } + case "ExportFormat": if value != nil { jtv, ok := value.(string) @@ -39874,6 +40580,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.ExportFormat = types.AssetBundleExportFormat(jtv) } + case "IncludeAllDependencies": if value != nil { jtv, ok := value.(bool) @@ -39882,6 +40589,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludeAllDependencies = jtv } + case "IncludePermissions": if value != nil { jtv, ok := value.(bool) @@ -39890,6 +40598,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludePermissions = jtv } + case "IncludeTags": if value != nil { jtv, ok := value.(bool) @@ -39898,6 +40607,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.IncludeTags = jtv } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -39906,6 +40616,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobSummary(v **types.Asset } sv.JobStatus = types.AssetBundleExportJobStatus(jtv) } + default: _, _ = key, value @@ -39979,10 +40690,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobThemeOverrideProperties } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobThemePropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -40092,6 +40805,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobValidationStrategy(v ** } sv.StrictModeForAllResources = jtv } + default: _, _ = key, value @@ -40131,10 +40845,12 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionOverridePr } sv.Arn = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentAssetBundleExportJobVPCConnectionPropertyToOverrideList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -40244,6 +40960,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobWarning(v **types.Asset } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -40252,6 +40969,7 @@ func awsRestjson1_deserializeDocumentAssetBundleExportJobWarning(v **types.Asset } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -40325,6 +41043,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParamet } sv.AnalysisId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40333,6 +41052,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParamet } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -40402,10 +41122,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverridePermiss if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.AnalysisIds, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -40475,10 +41197,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideTags(v if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.AnalysisIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -40552,6 +41276,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParame } sv.DashboardId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40560,6 +41285,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParame } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -40629,14 +41355,17 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverridePermis if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DashboardIds, value); err != nil { return err } + case "LinkSharingConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleResourceLinkSharingConfiguration(&sv.LinkSharingConfiguration, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -40706,10 +41435,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideTags(v if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DashboardIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -40783,6 +41514,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParamete } sv.DataSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -40791,6 +41523,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParamete } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -40860,10 +41593,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverridePermissi if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSetIds, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -40933,10 +41668,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideTags(v * if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSetIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -41010,6 +41747,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPai } sv.Password = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -41018,6 +41756,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPai } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -41053,6 +41792,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(v if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentialPair(&sv.CredentialPair, value); err != nil { return err } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -41061,6 +41801,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(v } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -41096,6 +41837,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceCredentials(&sv.Credentials, value); err != nil { return err } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -41104,10 +41846,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam } sv.DataSourceId = ptr.String(jtv) } + case "DataSourceParameters": if err := awsRestjson1_deserializeDocumentDataSourceParameters(&sv.DataSourceParameters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41116,14 +41860,17 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParam } sv.Name = ptr.String(jtv) } + case "SslProperties": if err := awsRestjson1_deserializeDocumentSslProperties(&sv.SslProperties, value); err != nil { return err } + case "VpcConnectionProperties": if err := awsRestjson1_deserializeDocumentVpcConnectionProperties(&sv.VpcConnectionProperties, value); err != nil { return err } + default: _, _ = key, value @@ -41193,10 +41940,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverridePermi if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSourceIds, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -41266,10 +42015,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideTags( if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.DataSourceIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -41343,6 +42094,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -41351,6 +42103,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -41359,6 +42112,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobError(v **types.AssetBu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -41432,6 +42186,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.FolderId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41440,6 +42195,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.Name = ptr.String(jtv) } + case "ParentFolderArn": if value != nil { jtv, ok := value.(string) @@ -41448,6 +42204,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParameter } sv.ParentFolderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -41517,10 +42274,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverridePermissio if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.FolderIds, value); err != nil { return err } + case "Permissions": if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -41590,10 +42349,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideTags(v ** if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.FolderIds, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -41663,38 +42424,47 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideParameters(v ** if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideParametersList(&sv.Analyses, value); err != nil { return err } + case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideParametersList(&sv.Dashboards, value); err != nil { return err } + case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideParametersList(&sv.DataSets, value); err != nil { return err } + case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideParametersList(&sv.DataSources, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideParametersList(&sv.Folders, value); err != nil { return err } + case "RefreshSchedules": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverrideParametersList(&sv.RefreshSchedules, value); err != nil { return err } + case "ResourceIdOverrideConfiguration": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobResourceIdOverrideConfiguration(&sv.ResourceIdOverrideConfiguration, value); err != nil { return err } + case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParametersList(&sv.Themes, value); err != nil { return err } + case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideParametersList(&sv.VPCConnections, value); err != nil { return err } + default: _, _ = key, value @@ -41730,26 +42500,32 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverridePermissions(v * if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverridePermissionsList(&sv.Analyses, value); err != nil { return err } + case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverridePermissionsList(&sv.Dashboards, value); err != nil { return err } + case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverridePermissionsList(&sv.DataSets, value); err != nil { return err } + case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverridePermissionsList(&sv.DataSources, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverridePermissionsList(&sv.Folders, value); err != nil { return err } + case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverridePermissionsList(&sv.Themes, value); err != nil { return err } + default: _, _ = key, value @@ -41785,30 +42561,37 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideTags(v **types. if err := awsRestjson1_deserializeDocumentAssetBundleImportJobAnalysisOverrideTagsList(&sv.Analyses, value); err != nil { return err } + case "Dashboards": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDashboardOverrideTagsList(&sv.Dashboards, value); err != nil { return err } + case "DataSets": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSetOverrideTagsList(&sv.DataSets, value); err != nil { return err } + case "DataSources": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobDataSourceOverrideTagsList(&sv.DataSources, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobFolderOverrideTagsList(&sv.Folders, value); err != nil { return err } + case "Themes": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideTagsList(&sv.Themes, value); err != nil { return err } + case "VPCConnections": if err := awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideTagsList(&sv.VPCConnections, value); err != nil { return err } + default: _, _ = key, value @@ -41848,6 +42631,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobOverrideValidationStrat } sv.StrictModeForAllResources = jtv } + default: _, _ = key, value @@ -41887,6 +42671,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } sv.DataSetId = ptr.String(jtv) } + case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -41895,6 +42680,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } sv.ScheduleId = ptr.String(jtv) } + case "StartAfterDateTime": if value != nil { switch jtv := value.(type) { @@ -41910,6 +42696,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobRefreshScheduleOverride } } + default: _, _ = key, value @@ -41983,6 +42770,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobResourceIdOverrideConfi } sv.PrefixForAllResources = ptr.String(jtv) } + default: _, _ = key, value @@ -42022,6 +42810,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.Arn = ptr.String(jtv) } + case "AssetBundleImportJobId": if value != nil { jtv, ok := value.(string) @@ -42030,6 +42819,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.AssetBundleImportJobId = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -42045,6 +42835,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } } + case "FailureAction": if value != nil { jtv, ok := value.(string) @@ -42053,6 +42844,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.FailureAction = types.AssetBundleImportFailureAction(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -42061,6 +42853,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobSummary(v **types.Asset } sv.JobStatus = types.AssetBundleImportJobStatus(jtv) } + default: _, _ = key, value @@ -42134,6 +42927,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParameters } sv.Name = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -42142,6 +42936,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideParameters } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -42211,10 +43006,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverridePermission if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + case "ThemeIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.ThemeIds, value); err != nil { return err } + default: _, _ = key, value @@ -42284,10 +43081,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobThemeOverrideTags(v **t if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "ThemeIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.ThemeIds, value); err != nil { return err } + default: _, _ = key, value @@ -42357,6 +43156,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa if err := awsRestjson1_deserializeDocumentDnsResolverList(&sv.DnsResolvers, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -42365,6 +43165,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -42373,14 +43174,17 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.RoleArn = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -42389,6 +43193,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverridePa } sv.VPCConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -42458,10 +43263,12 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobVPCConnectionOverrideTa if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VPCConnectionIds": if err := awsRestjson1_deserializeDocumentAssetBundleRestrictiveResourceIdList(&sv.VPCConnectionIds, value); err != nil { return err } + default: _, _ = key, value @@ -42535,6 +43342,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobWarning(v **types.Asset } sv.Arn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -42543,6 +43351,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportJobWarning(v **types.Asset } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -42616,6 +43425,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(v **type } sv.Body = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -42624,6 +43434,7 @@ func awsRestjson1_deserializeDocumentAssetBundleImportSourceDescription(v **type } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -42731,6 +43542,7 @@ func awsRestjson1_deserializeDocumentAssetBundleResourceLinkSharingConfiguration if err := awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -42766,10 +43578,12 @@ func awsRestjson1_deserializeDocumentAssetBundleResourcePermissions(v **types.As if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "Principals": if err := awsRestjson1_deserializeDocumentAssetBundlePrincipalList(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -42845,6 +43659,7 @@ func awsRestjson1_deserializeDocumentAssetOptions(v **types.AssetOptions, value } sv.Timezone = ptr.String(jtv) } + case "WeekStart": if value != nil { jtv, ok := value.(string) @@ -42853,6 +43668,7 @@ func awsRestjson1_deserializeDocumentAssetOptions(v **types.AssetOptions, value } sv.WeekStart = types.DayOfTheWeek(jtv) } + default: _, _ = key, value @@ -42892,6 +43708,7 @@ func awsRestjson1_deserializeDocumentAthenaParameters(v **types.AthenaParameters } sv.RoleArn = ptr.String(jtv) } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -42900,6 +43717,7 @@ func awsRestjson1_deserializeDocumentAthenaParameters(v **types.AthenaParameters } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -42939,6 +43757,7 @@ func awsRestjson1_deserializeDocumentAttributeAggregationFunction(v **types.Attr } sv.SimpleAttributeAggregation = types.SimpleAttributeAggregationFunction(jtv) } + case "ValueForMultipleValues": if value != nil { jtv, ok := value.(string) @@ -42947,6 +43766,7 @@ func awsRestjson1_deserializeDocumentAttributeAggregationFunction(v **types.Attr } sv.ValueForMultipleValues = ptr.String(jtv) } + default: _, _ = key, value @@ -42986,6 +43806,7 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -42994,6 +43815,7 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43006,6 +43828,7 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43045,6 +43868,7 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -43053,6 +43877,7 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43065,6 +43890,7 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43100,6 +43926,7 @@ func awsRestjson1_deserializeDocumentAuthorizedTargetsByService(v **types.Author if err := awsRestjson1_deserializeDocumentAuthorizedTargetsList(&sv.AuthorizedTargets, value); err != nil { return err } + case "Service": if value != nil { jtv, ok := value.(string) @@ -43108,6 +43935,7 @@ func awsRestjson1_deserializeDocumentAuthorizedTargetsByService(v **types.Author } sv.Service = types.ServiceType(jtv) } + default: _, _ = key, value @@ -43253,6 +44081,7 @@ func awsRestjson1_deserializeDocumentAwsIotAnalyticsParameters(v **types.AwsIotA } sv.DataSetName = ptr.String(jtv) } + default: _, _ = key, value @@ -43288,10 +44117,12 @@ func awsRestjson1_deserializeDocumentAxisDataOptions(v **types.AxisDataOptions, if err := awsRestjson1_deserializeDocumentDateAxisOptions(&sv.DateAxisOptions, value); err != nil { return err } + case "NumericAxisOptions": if err := awsRestjson1_deserializeDocumentNumericAxisOptions(&sv.NumericAxisOptions, value); err != nil { return err } + default: _, _ = key, value @@ -43387,6 +44218,7 @@ func awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(v **types.AxisDispla } } + case "Minimum": if value != nil { switch jtv := value.(type) { @@ -43420,6 +44252,7 @@ func awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(v **types.AxisDispla } } + default: _, _ = key, value @@ -43459,6 +44292,7 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.AxisLineVisibility = types.Visibility(jtv) } + case "AxisOffset": if value != nil { jtv, ok := value.(string) @@ -43467,10 +44301,12 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.AxisOffset = ptr.String(jtv) } + case "DataOptions": if err := awsRestjson1_deserializeDocumentAxisDataOptions(&sv.DataOptions, value); err != nil { return err } + case "GridLineVisibility": if value != nil { jtv, ok := value.(string) @@ -43479,14 +44315,17 @@ func awsRestjson1_deserializeDocumentAxisDisplayOptions(v **types.AxisDisplayOpt } sv.GridLineVisibility = types.Visibility(jtv) } + case "ScrollbarOptions": if err := awsRestjson1_deserializeDocumentScrollBarOptions(&sv.ScrollbarOptions, value); err != nil { return err } + case "TickLabelOptions": if err := awsRestjson1_deserializeDocumentAxisTickLabelOptions(&sv.TickLabelOptions, value); err != nil { return err } + default: _, _ = key, value @@ -43522,10 +44361,12 @@ func awsRestjson1_deserializeDocumentAxisDisplayRange(v **types.AxisDisplayRange if err := awsRestjson1_deserializeDocumentAxisDisplayDataDrivenRange(&sv.DataDriven, value); err != nil { return err } + case "MinMax": if err := awsRestjson1_deserializeDocumentAxisDisplayMinMaxRange(&sv.MinMax, value); err != nil { return err } + default: _, _ = key, value @@ -43561,6 +44402,7 @@ func awsRestjson1_deserializeDocumentAxisLabelOptions(v **types.AxisLabelOptions if err := awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(&sv.ApplyTo, value); err != nil { return err } + case "CustomLabel": if value != nil { jtv, ok := value.(string) @@ -43569,10 +44411,12 @@ func awsRestjson1_deserializeDocumentAxisLabelOptions(v **types.AxisLabelOptions } sv.CustomLabel = ptr.String(jtv) } + case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -43642,6 +44486,7 @@ func awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(v **types.AxisLab if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -43650,6 +44495,7 @@ func awsRestjson1_deserializeDocumentAxisLabelReferenceOptions(v **types.AxisLab } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -43693,6 +44539,7 @@ func awsRestjson1_deserializeDocumentAxisLinearScale(v **types.AxisLinearScale, } sv.StepCount = ptr.Int32(int32(i64)) } + case "StepSize": if value != nil { switch jtv := value.(type) { @@ -43726,6 +44573,7 @@ func awsRestjson1_deserializeDocumentAxisLinearScale(v **types.AxisLinearScale, } } + default: _, _ = key, value @@ -43790,6 +44638,7 @@ func awsRestjson1_deserializeDocumentAxisLogarithmicScale(v **types.AxisLogarith } } + default: _, _ = key, value @@ -43825,10 +44674,12 @@ func awsRestjson1_deserializeDocumentAxisScale(v **types.AxisScale, value interf if err := awsRestjson1_deserializeDocumentAxisLinearScale(&sv.Linear, value); err != nil { return err } + case "Logarithmic": if err := awsRestjson1_deserializeDocumentAxisLogarithmicScale(&sv.Logarithmic, value); err != nil { return err } + default: _, _ = key, value @@ -43864,6 +44715,7 @@ func awsRestjson1_deserializeDocumentAxisTickLabelOptions(v **types.AxisTickLabe if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.LabelOptions, value); err != nil { return err } + case "RotationAngle": if value != nil { switch jtv := value.(type) { @@ -43897,6 +44749,7 @@ func awsRestjson1_deserializeDocumentAxisTickLabelOptions(v **types.AxisTickLabe } } + default: _, _ = key, value @@ -43932,18 +44785,22 @@ func awsRestjson1_deserializeDocumentBarChartAggregatedFieldWells(v **types.BarC if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } + case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -43983,38 +44840,47 @@ func awsRestjson1_deserializeDocumentBarChartConfiguration(v **types.BarChartCon } sv.BarsArrangement = types.BarsArrangement(jtv) } + case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } + case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } + case "ContributionAnalysisDefaults": if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentBarChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "Orientation": if value != nil { jtv, ok := value.(string) @@ -44023,34 +44889,42 @@ func awsRestjson1_deserializeDocumentBarChartConfiguration(v **types.BarChartCon } sv.Orientation = types.BarChartOrientation(jtv) } + case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } + case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentBarChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "ValueAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.ValueAxis, value); err != nil { return err } + case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -44086,6 +44960,7 @@ func awsRestjson1_deserializeDocumentBarChartFieldWells(v **types.BarChartFieldW if err := awsRestjson1_deserializeDocumentBarChartAggregatedFieldWells(&sv.BarChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -44121,26 +44996,32 @@ func awsRestjson1_deserializeDocumentBarChartSortConfiguration(v **types.BarChar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } + case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } + case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } + case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } + default: _, _ = key, value @@ -44176,22 +45057,27 @@ func awsRestjson1_deserializeDocumentBarChartVisual(v **types.BarChartVisual, va if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentBarChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -44200,6 +45086,7 @@ func awsRestjson1_deserializeDocumentBarChartVisual(v **types.BarChartVisual, va } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -44239,6 +45126,7 @@ func awsRestjson1_deserializeDocumentBigQueryParameters(v **types.BigQueryParame } sv.DataSetRegion = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -44247,6 +45135,7 @@ func awsRestjson1_deserializeDocumentBigQueryParameters(v **types.BigQueryParame } sv.ProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -44290,6 +45179,7 @@ func awsRestjson1_deserializeDocumentBinCountOptions(v **types.BinCountOptions, } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44333,6 +45223,7 @@ func awsRestjson1_deserializeDocumentBinWidthOptions(v **types.BinWidthOptions, } sv.BinCountLimit = ptr.Int64(i64) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -44366,6 +45257,7 @@ func awsRestjson1_deserializeDocumentBinWidthOptions(v **types.BinWidthOptions, } } + default: _, _ = key, value @@ -44401,14 +45293,17 @@ func awsRestjson1_deserializeDocumentBodySectionConfiguration(v **types.BodySect if err := awsRestjson1_deserializeDocumentBodySectionContent(&sv.Content, value); err != nil { return err } + case "PageBreakConfiguration": if err := awsRestjson1_deserializeDocumentSectionPageBreakConfiguration(&sv.PageBreakConfiguration, value); err != nil { return err } + case "RepeatConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionRepeatConfiguration(&sv.RepeatConfiguration, value); err != nil { return err } + case "SectionId": if value != nil { jtv, ok := value.(string) @@ -44417,10 +45312,12 @@ func awsRestjson1_deserializeDocumentBodySectionConfiguration(v **types.BodySect } sv.SectionId = ptr.String(jtv) } + case "Style": if err := awsRestjson1_deserializeDocumentSectionStyle(&sv.Style, value); err != nil { return err } + default: _, _ = key, value @@ -44490,6 +45387,7 @@ func awsRestjson1_deserializeDocumentBodySectionContent(v **types.BodySectionCon if err := awsRestjson1_deserializeDocumentSectionLayoutConfiguration(&sv.Layout, value); err != nil { return err } + default: _, _ = key, value @@ -44525,6 +45423,7 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfigur if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -44537,10 +45436,12 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfigur } sv.Limit = ptr.Int32(int32(i64)) } + case "SortByMetrics": if err := awsRestjson1_deserializeDocumentBodySectionDynamicDimensionSortConfigurationList(&sv.SortByMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -44610,6 +45511,7 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfigura if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -44622,10 +45524,12 @@ func awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfigura } sv.Limit = ptr.Int32(int32(i64)) } + case "SortByMetrics": if err := awsRestjson1_deserializeDocumentBodySectionDynamicDimensionSortConfigurationList(&sv.SortByMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -44661,14 +45565,17 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatConfiguration(v **types.Bo if err := awsRestjson1_deserializeDocumentBodySectionRepeatDimensionConfigurationList(&sv.DimensionConfigurations, value); err != nil { return err } + case "NonRepeatingVisuals": if err := awsRestjson1_deserializeDocumentNonRepeatingVisualsList(&sv.NonRepeatingVisuals, value); err != nil { return err } + case "PageBreakConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionRepeatPageBreakConfiguration(&sv.PageBreakConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -44704,10 +45611,12 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatDimensionConfiguration(v * if err := awsRestjson1_deserializeDocumentBodySectionDynamicCategoryDimensionConfiguration(&sv.DynamicCategoryDimensionConfiguration, value); err != nil { return err } + case "DynamicNumericDimensionConfiguration": if err := awsRestjson1_deserializeDocumentBodySectionDynamicNumericDimensionConfiguration(&sv.DynamicNumericDimensionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -44777,6 +45686,7 @@ func awsRestjson1_deserializeDocumentBodySectionRepeatPageBreakConfiguration(v * if err := awsRestjson1_deserializeDocumentSectionAfterPageBreak(&sv.After, value); err != nil { return err } + default: _, _ = key, value @@ -44816,6 +45726,7 @@ func awsRestjson1_deserializeDocumentBorderStyle(v **types.BorderStyle, value in } sv.Show = ptr.Bool(jtv) } + default: _, _ = key, value @@ -44851,10 +45762,12 @@ func awsRestjson1_deserializeDocumentBoxPlotAggregatedFieldWells(v **types.BoxPl if err := awsRestjson1_deserializeDocumentBoxPlotDimensionFieldList(&sv.GroupBy, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentBoxPlotMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -44890,50 +45803,62 @@ func awsRestjson1_deserializeDocumentBoxPlotChartConfiguration(v **types.BoxPlot if err := awsRestjson1_deserializeDocumentBoxPlotOptions(&sv.BoxPlotOptions, value); err != nil { return err } + case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } + case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentBoxPlotFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } + case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } + case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentBoxPlotSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -45003,6 +45928,7 @@ func awsRestjson1_deserializeDocumentBoxPlotFieldWells(v **types.BoxPlotFieldWel if err := awsRestjson1_deserializeDocumentBoxPlotAggregatedFieldWells(&sv.BoxPlotAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -45076,6 +46002,7 @@ func awsRestjson1_deserializeDocumentBoxPlotOptions(v **types.BoxPlotOptions, va } sv.AllDataPointsVisibility = types.Visibility(jtv) } + case "OutlierVisibility": if value != nil { jtv, ok := value.(string) @@ -45084,10 +46011,12 @@ func awsRestjson1_deserializeDocumentBoxPlotOptions(v **types.BoxPlotOptions, va } sv.OutlierVisibility = types.Visibility(jtv) } + case "StyleOptions": if err := awsRestjson1_deserializeDocumentBoxPlotStyleOptions(&sv.StyleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -45123,10 +46052,12 @@ func awsRestjson1_deserializeDocumentBoxPlotSortConfiguration(v **types.BoxPlotS if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "PaginationConfiguration": if err := awsRestjson1_deserializeDocumentPaginationConfiguration(&sv.PaginationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -45166,6 +46097,7 @@ func awsRestjson1_deserializeDocumentBoxPlotStyleOptions(v **types.BoxPlotStyleO } sv.FillStyle = types.BoxPlotFillStyle(jtv) } + default: _, _ = key, value @@ -45201,22 +46133,27 @@ func awsRestjson1_deserializeDocumentBoxPlotVisual(v **types.BoxPlotVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentBoxPlotChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -45225,6 +46162,7 @@ func awsRestjson1_deserializeDocumentBoxPlotVisual(v **types.BoxPlotVisual, valu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -45264,6 +46202,7 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.ColumnId = ptr.String(jtv) } + case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -45272,6 +46211,7 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.ColumnName = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -45280,6 +46220,7 @@ func awsRestjson1_deserializeDocumentCalculatedColumn(v **types.CalculatedColumn } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -45353,6 +46294,7 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.DataSetIdentifier = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -45361,6 +46303,7 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.Expression = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45369,6 +46312,7 @@ func awsRestjson1_deserializeDocumentCalculatedField(v **types.CalculatedField, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -45476,6 +46420,7 @@ func awsRestjson1_deserializeDocumentCalculatedMeasureField(v **types.Calculated } sv.Expression = ptr.String(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -45484,6 +46429,7 @@ func awsRestjson1_deserializeDocumentCalculatedMeasureField(v **types.Calculated } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -45519,6 +46465,7 @@ func awsRestjson1_deserializeDocumentCascadingControlConfiguration(v **types.Cas if err := awsRestjson1_deserializeDocumentCascadingControlSourceList(&sv.SourceControls, value); err != nil { return err } + default: _, _ = key, value @@ -45554,6 +46501,7 @@ func awsRestjson1_deserializeDocumentCascadingControlSource(v **types.CascadingC if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.ColumnToMatch, value); err != nil { return err } + case "SourceSheetControlId": if value != nil { jtv, ok := value.(string) @@ -45562,6 +46510,7 @@ func awsRestjson1_deserializeDocumentCascadingControlSource(v **types.CascadingC } sv.SourceSheetControlId = ptr.String(jtv) } + default: _, _ = key, value @@ -45635,6 +46584,7 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.ColumnName = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -45643,6 +46593,7 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.Format = ptr.String(jtv) } + case "NewColumnType": if value != nil { jtv, ok := value.(string) @@ -45651,6 +46602,7 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.NewColumnType = types.ColumnDataType(jtv) } + case "SubType": if value != nil { jtv, ok := value.(string) @@ -45659,6 +46611,7 @@ func awsRestjson1_deserializeDocumentCastColumnTypeOperation(v **types.CastColum } sv.SubType = types.ColumnDataSubType(jtv) } + default: _, _ = key, value @@ -45694,6 +46647,7 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -45702,10 +46656,12 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -45714,6 +46670,7 @@ func awsRestjson1_deserializeDocumentCategoricalDimensionField(v **types.Categor } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -45753,10 +46710,12 @@ func awsRestjson1_deserializeDocumentCategoricalMeasureField(v **types.Categoric } sv.AggregationFunction = types.CategoricalAggregationFunction(jtv) } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -45765,10 +46724,12 @@ func awsRestjson1_deserializeDocumentCategoricalMeasureField(v **types.Categoric } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -45804,10 +46765,12 @@ func awsRestjson1_deserializeDocumentCategoryDrillDownFilter(v **types.CategoryD if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + default: _, _ = key, value @@ -45843,14 +46806,17 @@ func awsRestjson1_deserializeDocumentCategoryFilter(v **types.CategoryFilter, va if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Configuration": if err := awsRestjson1_deserializeDocumentCategoryFilterConfiguration(&sv.Configuration, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -45859,6 +46825,7 @@ func awsRestjson1_deserializeDocumentCategoryFilter(v **types.CategoryFilter, va } sv.FilterId = ptr.String(jtv) } + default: _, _ = key, value @@ -45894,14 +46861,17 @@ func awsRestjson1_deserializeDocumentCategoryFilterConfiguration(v **types.Categ if err := awsRestjson1_deserializeDocumentCustomFilterConfiguration(&sv.CustomFilterConfiguration, value); err != nil { return err } + case "CustomFilterListConfiguration": if err := awsRestjson1_deserializeDocumentCustomFilterListConfiguration(&sv.CustomFilterListConfiguration, value); err != nil { return err } + case "FilterListConfiguration": if err := awsRestjson1_deserializeDocumentFilterListConfiguration(&sv.FilterListConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -45937,14 +46907,17 @@ func awsRestjson1_deserializeDocumentCategoryInnerFilter(v **types.CategoryInner if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Configuration": if err := awsRestjson1_deserializeDocumentCategoryFilterConfiguration(&sv.Configuration, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -46020,10 +46993,12 @@ func awsRestjson1_deserializeDocumentCellValueSynonym(v **types.CellValueSynonym } sv.CellValue = ptr.String(jtv) } + case "Synonyms": if err := awsRestjson1_deserializeDocumentStringList(&sv.Synonyms, value); err != nil { return err } + default: _, _ = key, value @@ -46093,6 +47068,7 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa if err := awsRestjson1_deserializeDocumentAxisLabelOptionsList(&sv.AxisLabelOptions, value); err != nil { return err } + case "SortIconVisibility": if value != nil { jtv, ok := value.(string) @@ -46101,6 +47077,7 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa } sv.SortIconVisibility = types.Visibility(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -46109,6 +47086,7 @@ func awsRestjson1_deserializeDocumentChartAxisLabelOptions(v **types.ChartAxisLa } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -46144,6 +47122,7 @@ func awsRestjson1_deserializeDocumentClusterMarker(v **types.ClusterMarker, valu if err := awsRestjson1_deserializeDocumentSimpleClusterMarker(&sv.SimpleClusterMarker, value); err != nil { return err } + default: _, _ = key, value @@ -46179,6 +47158,7 @@ func awsRestjson1_deserializeDocumentClusterMarkerConfiguration(v **types.Cluste if err := awsRestjson1_deserializeDocumentClusterMarker(&sv.ClusterMarker, value); err != nil { return err } + default: _, _ = key, value @@ -46214,6 +47194,7 @@ func awsRestjson1_deserializeDocumentCollectiveConstant(v **types.CollectiveCons if err := awsRestjson1_deserializeDocumentStringList(&sv.ValueList, value); err != nil { return err } + default: _, _ = key, value @@ -46253,6 +47234,7 @@ func awsRestjson1_deserializeDocumentCollectiveConstantEntry(v **types.Collectiv } sv.ConstantType = types.ConstantType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -46261,6 +47243,7 @@ func awsRestjson1_deserializeDocumentCollectiveConstantEntry(v **types.Collectiv } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -46370,14 +47353,17 @@ func awsRestjson1_deserializeDocumentColorScale(v **types.ColorScale, value inte } sv.ColorFillType = types.ColorFillType(jtv) } + case "Colors": if err := awsRestjson1_deserializeDocumentColorScaleColorList(&sv.Colors, value); err != nil { return err } + case "NullValueColor": if err := awsRestjson1_deserializeDocumentDataColor(&sv.NullValueColor, value); err != nil { return err } + default: _, _ = key, value @@ -46447,6 +47433,7 @@ func awsRestjson1_deserializeDocumentColorsConfiguration(v **types.ColorsConfigu if err := awsRestjson1_deserializeDocumentCustomColorsList(&sv.CustomColors, value); err != nil { return err } + default: _, _ = key, value @@ -46482,14 +47469,17 @@ func awsRestjson1_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu if err := awsRestjson1_deserializeDocumentColorsConfiguration(&sv.ColorsConfiguration, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -46498,6 +47488,7 @@ func awsRestjson1_deserializeDocumentColumnConfiguration(v **types.ColumnConfigu } sv.Role = types.ColumnRole(jtv) } + default: _, _ = key, value @@ -46571,6 +47562,7 @@ func awsRestjson1_deserializeDocumentColumnDescription(v **types.ColumnDescripti } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -46606,6 +47598,7 @@ func awsRestjson1_deserializeDocumentColumnGroup(v **types.ColumnGroup, value in if err := awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(&sv.GeoSpatialColumnGroup, value); err != nil { return err } + default: _, _ = key, value @@ -46645,6 +47638,7 @@ func awsRestjson1_deserializeDocumentColumnGroupColumnSchema(v **types.ColumnGro } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -46748,6 +47742,7 @@ func awsRestjson1_deserializeDocumentColumnGroupSchema(v **types.ColumnGroupSche if err := awsRestjson1_deserializeDocumentColumnGroupColumnSchemaList(&sv.ColumnGroupColumnSchemaList, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46756,6 +47751,7 @@ func awsRestjson1_deserializeDocumentColumnGroupSchema(v **types.ColumnGroupSche } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -46825,14 +47821,17 @@ func awsRestjson1_deserializeDocumentColumnHierarchy(v **types.ColumnHierarchy, if err := awsRestjson1_deserializeDocumentDateTimeHierarchy(&sv.DateTimeHierarchy, value); err != nil { return err } + case "ExplicitHierarchy": if err := awsRestjson1_deserializeDocumentExplicitHierarchy(&sv.ExplicitHierarchy, value); err != nil { return err } + case "PredefinedHierarchy": if err := awsRestjson1_deserializeDocumentPredefinedHierarchy(&sv.PredefinedHierarchy, value); err != nil { return err } + default: _, _ = key, value @@ -46906,6 +47905,7 @@ func awsRestjson1_deserializeDocumentColumnIdentifier(v **types.ColumnIdentifier } sv.ColumnName = ptr.String(jtv) } + case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -46914,6 +47914,7 @@ func awsRestjson1_deserializeDocumentColumnIdentifier(v **types.ColumnIdentifier } sv.DataSetIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -46949,10 +47950,12 @@ func awsRestjson1_deserializeDocumentColumnLevelPermissionRule(v **types.ColumnL if err := awsRestjson1_deserializeDocumentColumnNameList(&sv.ColumnNames, value); err != nil { return err } + case "Principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -47098,6 +48101,7 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.DataType = ptr.String(jtv) } + case "GeographicRole": if value != nil { jtv, ok := value.(string) @@ -47106,6 +48110,7 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.GeographicRole = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47114,6 +48119,7 @@ func awsRestjson1_deserializeDocumentColumnSchema(v **types.ColumnSchema, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -47183,6 +48189,7 @@ func awsRestjson1_deserializeDocumentColumnSort(v **types.ColumnSort, value inte if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -47191,10 +48198,12 @@ func awsRestjson1_deserializeDocumentColumnSort(v **types.ColumnSort, value inte } sv.Direction = types.SortDirection(jtv) } + case "SortBy": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.SortBy, value); err != nil { return err } + default: _, _ = key, value @@ -47230,6 +48239,7 @@ func awsRestjson1_deserializeDocumentColumnTag(v **types.ColumnTag, value interf if err := awsRestjson1_deserializeDocumentColumnDescription(&sv.ColumnDescription, value); err != nil { return err } + case "ColumnGeographicRole": if value != nil { jtv, ok := value.(string) @@ -47238,6 +48248,7 @@ func awsRestjson1_deserializeDocumentColumnTag(v **types.ColumnTag, value interf } sv.ColumnGeographicRole = types.GeoSpatialDataRole(jtv) } + default: _, _ = key, value @@ -47343,10 +48354,12 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.Aggregation, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Label": if value != nil { jtv, ok := value.(string) @@ -47355,6 +48368,7 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.Label = ptr.String(jtv) } + case "TooltipTarget": if value != nil { jtv, ok := value.(string) @@ -47363,6 +48377,7 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.TooltipTarget = types.TooltipTarget(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -47371,6 +48386,7 @@ func awsRestjson1_deserializeDocumentColumnTooltipItem(v **types.ColumnTooltipIt } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -47406,18 +48422,22 @@ func awsRestjson1_deserializeDocumentComboChartAggregatedFieldWells(v **types.Co if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.BarValues, value); err != nil { return err } + case "Category": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } + case "LineValues": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.LineValues, value); err != nil { return err } + default: _, _ = key, value @@ -47453,6 +48473,7 @@ func awsRestjson1_deserializeDocumentComboChartConfiguration(v **types.ComboChar if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.BarDataLabels, value); err != nil { return err } + case "BarsArrangement": if value != nil { jtv, ok := value.(string) @@ -47461,70 +48482,87 @@ func awsRestjson1_deserializeDocumentComboChartConfiguration(v **types.ComboChar } sv.BarsArrangement = types.BarsArrangement(jtv) } + case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } + case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentComboChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "LineDataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.LineDataLabels, value); err != nil { return err } + case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } + case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } + case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } + case "SecondaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.SecondaryYAxisDisplayOptions, value); err != nil { return err } + case "SecondaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SecondaryYAxisLabelOptions, value); err != nil { return err } + case "SingleAxisOptions": if err := awsRestjson1_deserializeDocumentSingleAxisOptions(&sv.SingleAxisOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentComboChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -47560,6 +48598,7 @@ func awsRestjson1_deserializeDocumentComboChartFieldWells(v **types.ComboChartFi if err := awsRestjson1_deserializeDocumentComboChartAggregatedFieldWells(&sv.ComboChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -47595,18 +48634,22 @@ func awsRestjson1_deserializeDocumentComboChartSortConfiguration(v **types.Combo if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } + case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } + default: _, _ = key, value @@ -47642,22 +48685,27 @@ func awsRestjson1_deserializeDocumentComboChartVisual(v **types.ComboChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentComboChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -47666,6 +48714,7 @@ func awsRestjson1_deserializeDocumentComboChartVisual(v **types.ComboChartVisual } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -47701,6 +48750,7 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder if err := awsRestjson1_deserializeDocumentStringList(&sv.SpecifedOrder, value); err != nil { return err } + case "TreatUndefinedSpecifiedValues": if value != nil { jtv, ok := value.(string) @@ -47709,6 +48759,7 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder } sv.TreatUndefinedSpecifiedValues = types.UndefinedSpecifiedValueType(jtv) } + case "UseOrdering": if value != nil { jtv, ok := value.(string) @@ -47717,6 +48768,7 @@ func awsRestjson1_deserializeDocumentComparativeOrder(v **types.ComparativeOrder } sv.UseOrdering = types.ColumnOrderingType(jtv) } + default: _, _ = key, value @@ -47752,6 +48804,7 @@ func awsRestjson1_deserializeDocumentComparisonConfiguration(v **types.Compariso if err := awsRestjson1_deserializeDocumentComparisonFormatConfiguration(&sv.ComparisonFormat, value); err != nil { return err } + case "ComparisonMethod": if value != nil { jtv, ok := value.(string) @@ -47760,6 +48813,7 @@ func awsRestjson1_deserializeDocumentComparisonConfiguration(v **types.Compariso } sv.ComparisonMethod = types.ComparisonMethod(jtv) } + default: _, _ = key, value @@ -47795,10 +48849,12 @@ func awsRestjson1_deserializeDocumentComparisonFormatConfiguration(v **types.Com if err := awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(&sv.NumberDisplayFormatConfiguration, value); err != nil { return err } + case "PercentageDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(&sv.PercentageDisplayFormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -47834,42 +48890,52 @@ func awsRestjson1_deserializeDocumentComputation(v **types.Computation, value in if err := awsRestjson1_deserializeDocumentForecastComputation(&sv.Forecast, value); err != nil { return err } + case "GrowthRate": if err := awsRestjson1_deserializeDocumentGrowthRateComputation(&sv.GrowthRate, value); err != nil { return err } + case "MaximumMinimum": if err := awsRestjson1_deserializeDocumentMaximumMinimumComputation(&sv.MaximumMinimum, value); err != nil { return err } + case "MetricComparison": if err := awsRestjson1_deserializeDocumentMetricComparisonComputation(&sv.MetricComparison, value); err != nil { return err } + case "PeriodOverPeriod": if err := awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(&sv.PeriodOverPeriod, value); err != nil { return err } + case "PeriodToDate": if err := awsRestjson1_deserializeDocumentPeriodToDateComputation(&sv.PeriodToDate, value); err != nil { return err } + case "TopBottomMovers": if err := awsRestjson1_deserializeDocumentTopBottomMoversComputation(&sv.TopBottomMovers, value); err != nil { return err } + case "TopBottomRanked": if err := awsRestjson1_deserializeDocumentTopBottomRankedComputation(&sv.TopBottomRanked, value); err != nil { return err } + case "TotalAggregation": if err := awsRestjson1_deserializeDocumentTotalAggregationComputation(&sv.TotalAggregation, value); err != nil { return err } + case "UniqueValues": if err := awsRestjson1_deserializeDocumentUniqueValuesComputation(&sv.UniqueValues, value); err != nil { return err } + default: _, _ = key, value @@ -47943,6 +49009,7 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -47951,6 +49018,7 @@ func awsRestjson1_deserializeDocumentConcurrentUpdatingException(v **types.Concu } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -47986,10 +49054,12 @@ func awsRestjson1_deserializeDocumentConditionalFormattingColor(v **types.Condit if err := awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(&sv.Gradient, value); err != nil { return err } + case "Solid": if err := awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(&sv.Solid, value); err != nil { return err } + default: _, _ = key, value @@ -48029,10 +49099,12 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(v } sv.Color = ptr.String(jtv) } + case "DisplayConfiguration": if err := awsRestjson1_deserializeDocumentConditionalFormattingIconDisplayConfiguration(&sv.DisplayConfiguration, value); err != nil { return err } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -48041,10 +49113,12 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(v } sv.Expression = ptr.String(jtv) } + case "IconOptions": if err := awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(&sv.IconOptions, value); err != nil { return err } + default: _, _ = key, value @@ -48084,6 +49158,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(v ** } sv.Icon = types.Icon(jtv) } + case "UnicodeIcon": if value != nil { jtv, ok := value.(string) @@ -48092,6 +49167,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingCustomIconOptions(v ** } sv.UnicodeIcon = ptr.String(jtv) } + default: _, _ = key, value @@ -48127,6 +49203,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(v **type if err := awsRestjson1_deserializeDocumentGradientColor(&sv.Color, value); err != nil { return err } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -48135,6 +49212,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingGradientColor(v **type } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -48170,10 +49248,12 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIcon(v **types.Conditi if err := awsRestjson1_deserializeDocumentConditionalFormattingCustomIconCondition(&sv.CustomCondition, value); err != nil { return err } + case "IconSet": if err := awsRestjson1_deserializeDocumentConditionalFormattingIconSet(&sv.IconSet, value); err != nil { return err } + default: _, _ = key, value @@ -48213,6 +49293,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconDisplayConfigurati } sv.IconDisplayOption = types.ConditionalFormattingIconDisplayOption(jtv) } + default: _, _ = key, value @@ -48252,6 +49333,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconSet(v **types.Cond } sv.Expression = ptr.String(jtv) } + case "IconSetType": if value != nil { jtv, ok := value.(string) @@ -48260,6 +49342,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingIconSet(v **types.Cond } sv.IconSetType = types.ConditionalFormattingIconSetType(jtv) } + default: _, _ = key, value @@ -48299,6 +49382,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(v **types.C } sv.Color = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -48307,6 +49391,7 @@ func awsRestjson1_deserializeDocumentConditionalFormattingSolidColor(v **types.C } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -48346,6 +49431,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -48354,6 +49440,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -48393,6 +49480,7 @@ func awsRestjson1_deserializeDocumentContextMenuOption(v **types.ContextMenuOpti } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -48428,6 +49516,7 @@ func awsRestjson1_deserializeDocumentContributionAnalysisDefault(v **types.Contr if err := awsRestjson1_deserializeDocumentContributorDimensionList(&sv.ContributorDimensions, value); err != nil { return err } + case "MeasureFieldId": if value != nil { jtv, ok := value.(string) @@ -48436,6 +49525,7 @@ func awsRestjson1_deserializeDocumentContributionAnalysisDefault(v **types.Contr } sv.MeasureFieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -48509,6 +49599,7 @@ func awsRestjson1_deserializeDocumentContributionAnalysisFactor(v **types.Contri } sv.FieldName = ptr.String(jtv) } + default: _, _ = key, value @@ -48578,10 +49669,12 @@ func awsRestjson1_deserializeDocumentContributionAnalysisTimeRanges(v **types.Co if err := awsRestjson1_deserializeDocumentTopicIRFilterOption(&sv.EndRange, value); err != nil { return err } + case "StartRange": if err := awsRestjson1_deserializeDocumentTopicIRFilterOption(&sv.StartRange, value); err != nil { return err } + default: _, _ = key, value @@ -48651,6 +49744,7 @@ func awsRestjson1_deserializeDocumentCreateColumnsOperation(v **types.CreateColu if err := awsRestjson1_deserializeDocumentCalculatedColumnList(&sv.Columns, value); err != nil { return err } + default: _, _ = key, value @@ -48686,14 +49780,17 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } + case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } + case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } + case "NumberScale": if value != nil { jtv, ok := value.(string) @@ -48702,6 +49799,7 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.NumberScale = types.NumberScale(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -48710,10 +49808,12 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Prefix = ptr.String(jtv) } + case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -48722,6 +49822,7 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Suffix = ptr.String(jtv) } + case "Symbol": if value != nil { jtv, ok := value.(string) @@ -48730,6 +49831,7 @@ func awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(v **type } sv.Symbol = ptr.String(jtv) } + default: _, _ = key, value @@ -48799,10 +49901,12 @@ func awsRestjson1_deserializeDocumentCustomActionFilterOperation(v **types.Custo if err := awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration(&sv.SelectedFieldsConfiguration, value); err != nil { return err } + case "TargetVisualsConfiguration": if err := awsRestjson1_deserializeDocumentFilterOperationTargetVisualsConfiguration(&sv.TargetVisualsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -48838,6 +49942,7 @@ func awsRestjson1_deserializeDocumentCustomActionNavigationOperation(v **types.C if err := awsRestjson1_deserializeDocumentLocalNavigationConfiguration(&sv.LocalNavigationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -48873,6 +49978,7 @@ func awsRestjson1_deserializeDocumentCustomActionSetParametersOperation(v **type if err := awsRestjson1_deserializeDocumentSetParameterValueConfigurationList(&sv.ParameterValueConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -48912,6 +50018,7 @@ func awsRestjson1_deserializeDocumentCustomActionURLOperation(v **types.CustomAc } sv.URLTarget = types.URLTargetConfiguration(jtv) } + case "URLTemplate": if value != nil { jtv, ok := value.(string) @@ -48920,6 +50027,7 @@ func awsRestjson1_deserializeDocumentCustomActionURLOperation(v **types.CustomAc } sv.URLTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -48959,6 +50067,7 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.Color = ptr.String(jtv) } + case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -48967,6 +50076,7 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.FieldValue = ptr.String(jtv) } + case "SpecialValue": if value != nil { jtv, ok := value.(string) @@ -48975,6 +50085,7 @@ func awsRestjson1_deserializeDocumentCustomColor(v **types.CustomColor, value in } sv.SpecialValue = types.SpecialValue(jtv) } + default: _, _ = key, value @@ -49048,6 +50159,7 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ContentType = types.CustomContentType(jtv) } + case "ContentUrl": if value != nil { jtv, ok := value.(string) @@ -49056,6 +50168,7 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ContentUrl = ptr.String(jtv) } + case "ImageScaling": if value != nil { jtv, ok := value.(string) @@ -49064,10 +50177,12 @@ func awsRestjson1_deserializeDocumentCustomContentConfiguration(v **types.Custom } sv.ImageScaling = types.CustomContentImageScalingConfiguration(jtv) } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + default: _, _ = key, value @@ -49103,10 +50218,12 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentCustomContentConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -49115,14 +50232,17 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent } sv.DataSetIdentifier = ptr.String(jtv) } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -49131,6 +50251,7 @@ func awsRestjson1_deserializeDocumentCustomContentVisual(v **types.CustomContent } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -49170,6 +50291,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -49178,6 +50300,7 @@ func awsRestjson1_deserializeDocumentCustomerManagedKeyUnavailableException(v ** } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -49217,6 +50340,7 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.CategoryValue = ptr.String(jtv) } + case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -49225,6 +50349,7 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -49233,6 +50358,7 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.NullOption = types.FilterNullOption(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -49241,6 +50367,7 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.ParameterName = ptr.String(jtv) } + case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -49249,6 +50376,7 @@ func awsRestjson1_deserializeDocumentCustomFilterConfiguration(v **types.CustomF } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } + default: _, _ = key, value @@ -49284,6 +50412,7 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } + case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -49292,6 +50421,7 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -49300,6 +50430,7 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.NullOption = types.FilterNullOption(jtv) } + case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -49308,6 +50439,7 @@ func awsRestjson1_deserializeDocumentCustomFilterListConfiguration(v **types.Cus } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } + default: _, _ = key, value @@ -49347,6 +50479,7 @@ func awsRestjson1_deserializeDocumentCustomNarrativeOptions(v **types.CustomNarr } sv.Narrative = ptr.String(jtv) } + default: _, _ = key, value @@ -49382,18 +50515,22 @@ func awsRestjson1_deserializeDocumentCustomParameterValues(v **types.CustomParam if err := awsRestjson1_deserializeDocumentDateTimeDefaultValueList(&sv.DateTimeValues, value); err != nil { return err } + case "DecimalValues": if err := awsRestjson1_deserializeDocumentDecimalDefaultValueList(&sv.DecimalValues, value); err != nil { return err } + case "IntegerValues": if err := awsRestjson1_deserializeDocumentIntegerDefaultValueList(&sv.IntegerValues, value); err != nil { return err } + case "StringValues": if err := awsRestjson1_deserializeDocumentStringDefaultValueList(&sv.StringValues, value); err != nil { return err } + default: _, _ = key, value @@ -49429,6 +50566,7 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.Columns, value); err != nil { return err } + case "DataSourceArn": if value != nil { jtv, ok := value.(string) @@ -49437,6 +50575,7 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.DataSourceArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49445,6 +50584,7 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.Name = ptr.String(jtv) } + case "SqlQuery": if value != nil { jtv, ok := value.(string) @@ -49453,6 +50593,7 @@ func awsRestjson1_deserializeDocumentCustomSql(v **types.CustomSql, value interf } sv.SqlQuery = ptr.String(jtv) } + default: _, _ = key, value @@ -49488,6 +50629,7 @@ func awsRestjson1_deserializeDocumentCustomValuesConfiguration(v **types.CustomV if err := awsRestjson1_deserializeDocumentCustomParameterValues(&sv.CustomValues, value); err != nil { return err } + case "IncludeNullValue": if value != nil { jtv, ok := value.(bool) @@ -49496,6 +50638,7 @@ func awsRestjson1_deserializeDocumentCustomValuesConfiguration(v **types.CustomV } sv.IncludeNullValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -49535,6 +50678,7 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -49550,6 +50694,7 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -49558,6 +50703,7 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.DashboardId = ptr.String(jtv) } + case "LastPublishedTime": if value != nil { switch jtv := value.(type) { @@ -49573,6 +50719,7 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -49588,10 +50735,12 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } } + case "LinkEntities": if err := awsRestjson1_deserializeDocumentLinkEntityArnList(&sv.LinkEntities, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49600,10 +50749,12 @@ func awsRestjson1_deserializeDocumentDashboard(v **types.Dashboard, value interf } sv.Name = ptr.String(jtv) } + case "Version": if err := awsRestjson1_deserializeDocumentDashboardVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -49643,6 +50794,7 @@ func awsRestjson1_deserializeDocumentDashboardError(v **types.DashboardError, va } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -49651,10 +50803,12 @@ func awsRestjson1_deserializeDocumentDashboardError(v **types.DashboardError, va } sv.Type = types.DashboardErrorType(jtv) } + case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } + default: _, _ = key, value @@ -49724,46 +50878,57 @@ func awsRestjson1_deserializeDocumentDashboardPublishOptions(v **types.Dashboard if err := awsRestjson1_deserializeDocumentAdHocFilteringOption(&sv.AdHocFilteringOption, value); err != nil { return err } + case "DataPointDrillUpDownOption": if err := awsRestjson1_deserializeDocumentDataPointDrillUpDownOption(&sv.DataPointDrillUpDownOption, value); err != nil { return err } + case "DataPointMenuLabelOption": if err := awsRestjson1_deserializeDocumentDataPointMenuLabelOption(&sv.DataPointMenuLabelOption, value); err != nil { return err } + case "DataPointTooltipOption": if err := awsRestjson1_deserializeDocumentDataPointTooltipOption(&sv.DataPointTooltipOption, value); err != nil { return err } + case "ExportToCSVOption": if err := awsRestjson1_deserializeDocumentExportToCSVOption(&sv.ExportToCSVOption, value); err != nil { return err } + case "ExportWithHiddenFieldsOption": if err := awsRestjson1_deserializeDocumentExportWithHiddenFieldsOption(&sv.ExportWithHiddenFieldsOption, value); err != nil { return err } + case "SheetControlsOption": if err := awsRestjson1_deserializeDocumentSheetControlsOption(&sv.SheetControlsOption, value); err != nil { return err } + case "SheetLayoutElementMaximizationOption": if err := awsRestjson1_deserializeDocumentSheetLayoutElementMaximizationOption(&sv.SheetLayoutElementMaximizationOption, value); err != nil { return err } + case "VisualAxisSortOption": if err := awsRestjson1_deserializeDocumentVisualAxisSortOption(&sv.VisualAxisSortOption, value); err != nil { return err } + case "VisualMenuOption": if err := awsRestjson1_deserializeDocumentVisualMenuOption(&sv.VisualMenuOption, value); err != nil { return err } + case "VisualPublishOptions": if err := awsRestjson1_deserializeDocumentDashboardVisualPublishOptions(&sv.VisualPublishOptions, value); err != nil { return err } + default: _, _ = key, value @@ -49803,6 +50968,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -49818,6 +50984,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } + case "DashboardId": if value != nil { jtv, ok := value.(string) @@ -49826,6 +50993,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.DashboardId = ptr.String(jtv) } + case "LastPublishedTime": if value != nil { switch jtv := value.(type) { @@ -49841,6 +51009,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -49856,6 +51025,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49864,6 +51034,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.Name = ptr.String(jtv) } + case "PublishedVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -49876,6 +51047,7 @@ func awsRestjson1_deserializeDocumentDashboardSummary(v **types.DashboardSummary } sv.PublishedVersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -49949,6 +51121,7 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -49964,10 +51137,12 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } } + case "DataSetArns": if err := awsRestjson1_deserializeDocumentDataSetArnsList(&sv.DataSetArns, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -49976,14 +51151,17 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Description = ptr.String(jtv) } + case "Errors": if err := awsRestjson1_deserializeDocumentDashboardErrorList(&sv.Errors, value); err != nil { return err } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } + case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -49992,6 +51170,7 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.SourceEntityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -50000,6 +51179,7 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.Status = types.ResourceStatus(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -50008,6 +51188,7 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.ThemeArn = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -50020,6 +51201,7 @@ func awsRestjson1_deserializeDocumentDashboardVersion(v **types.DashboardVersion } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -50055,34 +51237,42 @@ func awsRestjson1_deserializeDocumentDashboardVersionDefinition(v **types.Dashbo if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } + case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } + case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } + case "DataSetIdentifierDeclarations": if err := awsRestjson1_deserializeDocumentDataSetIdentifierDeclarationList(&sv.DataSetIdentifierDeclarations, value); err != nil { return err } + case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } + case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } + case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } + default: _, _ = key, value @@ -50122,6 +51312,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -50137,6 +51328,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -50145,6 +51337,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Description = ptr.String(jtv) } + case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -50153,6 +51346,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.SourceEntityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -50161,6 +51355,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.Status = types.ResourceStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -50173,6 +51368,7 @@ func awsRestjson1_deserializeDocumentDashboardVersionSummary(v **types.Dashboard } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -50242,6 +51438,7 @@ func awsRestjson1_deserializeDocumentDashboardVisualPublishOptions(v **types.Das if err := awsRestjson1_deserializeDocumentExportHiddenFieldsOption(&sv.ExportHiddenFieldsOption, value); err != nil { return err } + default: _, _ = key, value @@ -50281,6 +51478,7 @@ func awsRestjson1_deserializeDocumentDataAggregation(v **types.DataAggregation, } sv.DatasetRowDateGranularity = types.TopicTimeGranularity(jtv) } + case "DefaultDateColumnName": if value != nil { jtv, ok := value.(string) @@ -50289,6 +51487,7 @@ func awsRestjson1_deserializeDocumentDataAggregation(v **types.DataAggregation, } sv.DefaultDateColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -50328,6 +51527,7 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.FieldId = ptr.String(jtv) } + case "NegativeColor": if value != nil { jtv, ok := value.(string) @@ -50336,6 +51536,7 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.NegativeColor = ptr.String(jtv) } + case "PositiveColor": if value != nil { jtv, ok := value.(string) @@ -50344,6 +51545,7 @@ func awsRestjson1_deserializeDocumentDataBarsOptions(v **types.DataBarsOptions, } sv.PositiveColor = ptr.String(jtv) } + default: _, _ = key, value @@ -50419,6 +51621,7 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -50431,6 +51634,7 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.Port = ptr.Int32(int32(i64)) } + case "SqlEndpointPath": if value != nil { jtv, ok := value.(string) @@ -50439,6 +51643,7 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa } sv.SqlEndpointPath = ptr.String(jtv) } + default: _, _ = key, value @@ -50478,6 +51683,7 @@ func awsRestjson1_deserializeDocumentDataColor(v **types.DataColor, value interf } sv.Color = ptr.String(jtv) } + case "DataValue": if value != nil { switch jtv := value.(type) { @@ -50511,6 +51717,7 @@ func awsRestjson1_deserializeDocumentDataColor(v **types.DataColor, value interf } } + default: _, _ = key, value @@ -50546,6 +51753,7 @@ func awsRestjson1_deserializeDocumentDataColorPalette(v **types.DataColorPalette if err := awsRestjson1_deserializeDocumentColorList(&sv.Colors, value); err != nil { return err } + case "EmptyFillColor": if value != nil { jtv, ok := value.(string) @@ -50554,10 +51762,12 @@ func awsRestjson1_deserializeDocumentDataColorPalette(v **types.DataColorPalette } sv.EmptyFillColor = ptr.String(jtv) } + case "MinMaxGradient": if err := awsRestjson1_deserializeDocumentColorList(&sv.MinMaxGradient, value); err != nil { return err } + default: _, _ = key, value @@ -50597,6 +51807,7 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.AxisBinding = types.AxisBinding(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -50605,6 +51816,7 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.FieldId = ptr.String(jtv) } + case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -50613,10 +51825,12 @@ func awsRestjson1_deserializeDocumentDataFieldSeriesItem(v **types.DataFieldSeri } sv.FieldValue = ptr.String(jtv) } + case "Settings": if err := awsRestjson1_deserializeDocumentLineChartSeriesSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -50656,10 +51870,12 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.CategoryLabelVisibility = types.Visibility(jtv) } + case "DataLabelTypes": if err := awsRestjson1_deserializeDocumentDataLabelTypes(&sv.DataLabelTypes, value); err != nil { return err } + case "LabelColor": if value != nil { jtv, ok := value.(string) @@ -50668,6 +51884,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.LabelColor = ptr.String(jtv) } + case "LabelContent": if value != nil { jtv, ok := value.(string) @@ -50676,10 +51893,12 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.LabelContent = types.DataLabelContent(jtv) } + case "LabelFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.LabelFontConfiguration, value); err != nil { return err } + case "MeasureLabelVisibility": if value != nil { jtv, ok := value.(string) @@ -50688,6 +51907,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.MeasureLabelVisibility = types.Visibility(jtv) } + case "Overlap": if value != nil { jtv, ok := value.(string) @@ -50696,6 +51916,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Overlap = types.DataLabelOverlap(jtv) } + case "Position": if value != nil { jtv, ok := value.(string) @@ -50704,6 +51925,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Position = types.DataLabelPosition(jtv) } + case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -50712,6 +51934,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.TotalsVisibility = types.Visibility(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -50720,6 +51943,7 @@ func awsRestjson1_deserializeDocumentDataLabelOptions(v **types.DataLabelOptions } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -50755,22 +51979,27 @@ func awsRestjson1_deserializeDocumentDataLabelType(v **types.DataLabelType, valu if err := awsRestjson1_deserializeDocumentDataPathLabelType(&sv.DataPathLabelType, value); err != nil { return err } + case "FieldLabelType": if err := awsRestjson1_deserializeDocumentFieldLabelType(&sv.FieldLabelType, value); err != nil { return err } + case "MaximumLabelType": if err := awsRestjson1_deserializeDocumentMaximumLabelType(&sv.MaximumLabelType, value); err != nil { return err } + case "MinimumLabelType": if err := awsRestjson1_deserializeDocumentMinimumLabelType(&sv.MinimumLabelType, value); err != nil { return err } + case "RangeEndsLabelType": if err := awsRestjson1_deserializeDocumentRangeEndsLabelType(&sv.RangeEndsLabelType, value); err != nil { return err } + default: _, _ = key, value @@ -50844,10 +52073,12 @@ func awsRestjson1_deserializeDocumentDataPathColor(v **types.DataPathColor, valu } sv.Color = ptr.String(jtv) } + case "Element": if err := awsRestjson1_deserializeDocumentDataPathValue(&sv.Element, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -50856,6 +52087,7 @@ func awsRestjson1_deserializeDocumentDataPathColor(v **types.DataPathColor, valu } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -50929,6 +52161,7 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.FieldId = ptr.String(jtv) } + case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -50937,6 +52170,7 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.FieldValue = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -50945,6 +52179,7 @@ func awsRestjson1_deserializeDocumentDataPathLabelType(v **types.DataPathLabelTy } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -50984,10 +52219,12 @@ func awsRestjson1_deserializeDocumentDataPathSort(v **types.DataPathSort, value } sv.Direction = types.SortDirection(jtv) } + case "SortPaths": if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.SortPaths, value); err != nil { return err } + default: _, _ = key, value @@ -51027,6 +52264,7 @@ func awsRestjson1_deserializeDocumentDataPathType(v **types.DataPathType, value } sv.PivotTableDataPathType = types.PivotTableDataPathType(jtv) } + default: _, _ = key, value @@ -51062,6 +52300,7 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu if err := awsRestjson1_deserializeDocumentDataPathType(&sv.DataPathType, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -51070,6 +52309,7 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu } sv.FieldId = ptr.String(jtv) } + case "FieldValue": if value != nil { jtv, ok := value.(string) @@ -51078,6 +52318,7 @@ func awsRestjson1_deserializeDocumentDataPathValue(v **types.DataPathValue, valu } sv.FieldValue = ptr.String(jtv) } + default: _, _ = key, value @@ -51151,6 +52392,7 @@ func awsRestjson1_deserializeDocumentDataPointDrillUpDownOption(v **types.DataPo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -51190,6 +52432,7 @@ func awsRestjson1_deserializeDocumentDataPointMenuLabelOption(v **types.DataPoin } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -51229,6 +52472,7 @@ func awsRestjson1_deserializeDocumentDataPointTooltipOption(v **types.DataPointT } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -51268,14 +52512,17 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Arn = ptr.String(jtv) } + case "ColumnGroups": if err := awsRestjson1_deserializeDocumentColumnGroupList(&sv.ColumnGroups, value); err != nil { return err } + case "ColumnLevelPermissionRules": if err := awsRestjson1_deserializeDocumentColumnLevelPermissionRuleList(&sv.ColumnLevelPermissionRules, value); err != nil { return err } + case "ConsumedSpiceCapacityInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -51288,6 +52535,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.ConsumedSpiceCapacityInBytes = i64 } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -51303,6 +52551,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -51311,18 +52560,22 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.DataSetId = ptr.String(jtv) } + case "DatasetParameters": if err := awsRestjson1_deserializeDocumentDatasetParameterList(&sv.DatasetParameters, value); err != nil { return err } + case "DataSetUsageConfiguration": if err := awsRestjson1_deserializeDocumentDataSetUsageConfiguration(&sv.DataSetUsageConfiguration, value); err != nil { return err } + case "FieldFolders": if err := awsRestjson1_deserializeDocumentFieldFolderMap(&sv.FieldFolders, value); err != nil { return err } + case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -51331,6 +52584,7 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.ImportMode = types.DataSetImportMode(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -51346,10 +52600,12 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } } + case "LogicalTableMap": if err := awsRestjson1_deserializeDocumentLogicalTableMap(&sv.LogicalTableMap, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51358,22 +52614,27 @@ func awsRestjson1_deserializeDocumentDataSet(v **types.DataSet, value interface{ } sv.Name = ptr.String(jtv) } + case "OutputColumns": if err := awsRestjson1_deserializeDocumentOutputColumnList(&sv.OutputColumns, value); err != nil { return err } + case "PhysicalTableMap": if err := awsRestjson1_deserializeDocumentPhysicalTableMap(&sv.PhysicalTableMap, value); err != nil { return err } + case "RowLevelPermissionDataSet": if err := awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(&sv.RowLevelPermissionDataSet, value); err != nil { return err } + case "RowLevelPermissionTagConfiguration": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagConfiguration(&sv.RowLevelPermissionTagConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -51445,10 +52706,12 @@ func awsRestjson1_deserializeDocumentDataSetConfiguration(v **types.DataSetConfi if err := awsRestjson1_deserializeDocumentColumnGroupSchemaList(&sv.ColumnGroupSchemaList, value); err != nil { return err } + case "DataSetSchema": if err := awsRestjson1_deserializeDocumentDataSetSchema(&sv.DataSetSchema, value); err != nil { return err } + case "Placeholder": if value != nil { jtv, ok := value.(string) @@ -51457,6 +52720,7 @@ func awsRestjson1_deserializeDocumentDataSetConfiguration(v **types.DataSetConfi } sv.Placeholder = ptr.String(jtv) } + default: _, _ = key, value @@ -51530,6 +52794,7 @@ func awsRestjson1_deserializeDocumentDataSetIdentifierDeclaration(v **types.Data } sv.DataSetArn = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -51538,6 +52803,7 @@ func awsRestjson1_deserializeDocumentDataSetIdentifierDeclaration(v **types.Data } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -51607,14 +52873,17 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, if err := awsRestjson1_deserializeDocumentTopicCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } + case "Columns": if err := awsRestjson1_deserializeDocumentTopicColumns(&sv.Columns, value); err != nil { return err } + case "DataAggregation": if err := awsRestjson1_deserializeDocumentDataAggregation(&sv.DataAggregation, value); err != nil { return err } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -51623,6 +52892,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetArn = ptr.String(jtv) } + case "DatasetDescription": if value != nil { jtv, ok := value.(string) @@ -51631,6 +52901,7 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetDescription = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -51639,14 +52910,17 @@ func awsRestjson1_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetName = ptr.String(jtv) } + case "Filters": if err := awsRestjson1_deserializeDocumentTopicFilters(&sv.Filters, value); err != nil { return err } + case "NamedEntities": if err := awsRestjson1_deserializeDocumentTopicNamedEntities(&sv.NamedEntities, value); err != nil { return err } + default: _, _ = key, value @@ -51682,18 +52956,22 @@ func awsRestjson1_deserializeDocumentDatasetParameter(v **types.DatasetParameter if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameter(&sv.DateTimeDatasetParameter, value); err != nil { return err } + case "DecimalDatasetParameter": if err := awsRestjson1_deserializeDocumentDecimalDatasetParameter(&sv.DecimalDatasetParameter, value); err != nil { return err } + case "IntegerDatasetParameter": if err := awsRestjson1_deserializeDocumentIntegerDatasetParameter(&sv.IntegerDatasetParameter, value); err != nil { return err } + case "StringDatasetParameter": if err := awsRestjson1_deserializeDocumentStringDatasetParameter(&sv.StringDatasetParameter, value); err != nil { return err } + default: _, _ = key, value @@ -51763,6 +53041,7 @@ func awsRestjson1_deserializeDocumentDataSetRefreshProperties(v **types.DataSetR if err := awsRestjson1_deserializeDocumentRefreshConfiguration(&sv.RefreshConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -51832,6 +53111,7 @@ func awsRestjson1_deserializeDocumentDataSetSchema(v **types.DataSetSchema, valu if err := awsRestjson1_deserializeDocumentColumnSchemaList(&sv.ColumnSchemaList, value); err != nil { return err } + default: _, _ = key, value @@ -51871,6 +53151,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Arn = ptr.String(jtv) } + case "ColumnLevelPermissionRulesApplied": if value != nil { jtv, ok := value.(bool) @@ -51879,6 +53160,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.ColumnLevelPermissionRulesApplied = jtv } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -51894,6 +53176,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } + case "DataSetId": if value != nil { jtv, ok := value.(string) @@ -51902,6 +53185,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.DataSetId = ptr.String(jtv) } + case "ImportMode": if value != nil { jtv, ok := value.(string) @@ -51910,6 +53194,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.ImportMode = types.DataSetImportMode(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -51925,6 +53210,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51933,10 +53219,12 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.Name = ptr.String(jtv) } + case "RowLevelPermissionDataSet": if err := awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(&sv.RowLevelPermissionDataSet, value); err != nil { return err } + case "RowLevelPermissionTagConfigurationApplied": if value != nil { jtv, ok := value.(bool) @@ -51945,6 +53233,7 @@ func awsRestjson1_deserializeDocumentDataSetSummary(v **types.DataSetSummary, va } sv.RowLevelPermissionTagConfigurationApplied = jtv } + default: _, _ = key, value @@ -52018,6 +53307,7 @@ func awsRestjson1_deserializeDocumentDataSetUsageConfiguration(v **types.DataSet } sv.DisableUseAsDirectQuerySource = jtv } + case "DisableUseAsImportedSource": if value != nil { jtv, ok := value.(bool) @@ -52026,6 +53316,7 @@ func awsRestjson1_deserializeDocumentDataSetUsageConfiguration(v **types.DataSet } sv.DisableUseAsImportedSource = jtv } + default: _, _ = key, value @@ -52061,6 +53352,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsRestjson1_deserializeDocumentDataSourceParametersList(&sv.AlternateDataSourceParameters, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -52069,6 +53361,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -52084,6 +53377,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -52092,14 +53386,17 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.DataSourceId = ptr.String(jtv) } + case "DataSourceParameters": if err := awsRestjson1_deserializeDocumentDataSourceParameters(&sv.DataSourceParameters, value); err != nil { return err } + case "ErrorInfo": if err := awsRestjson1_deserializeDocumentDataSourceErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -52115,6 +53412,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52123,6 +53421,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -52131,10 +53430,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.SecretArn = ptr.String(jtv) } + case "SslProperties": if err := awsRestjson1_deserializeDocumentSslProperties(&sv.SslProperties, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52143,6 +53444,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Status = types.ResourceStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -52151,10 +53453,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } + case "VpcConnectionProperties": if err := awsRestjson1_deserializeDocumentVpcConnectionProperties(&sv.VpcConnectionProperties, value); err != nil { return err } + default: _, _ = key, value @@ -52194,6 +53498,7 @@ func awsRestjson1_deserializeDocumentDataSourceErrorInfo(v **types.DataSourceErr } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -52202,6 +53507,7 @@ func awsRestjson1_deserializeDocumentDataSourceErrorInfo(v **types.DataSourceErr } sv.Type = types.DataSourceErrorInfoType(jtv) } + default: _, _ = key, value @@ -52597,6 +53903,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -52612,6 +53919,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } + case "DataSourceId": if value != nil { jtv, ok := value.(string) @@ -52620,6 +53928,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.DataSourceId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -52635,6 +53944,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52643,6 +53953,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -52651,6 +53962,7 @@ func awsRestjson1_deserializeDocumentDataSourceSummary(v **types.DataSourceSumma } sv.Type = types.DataSourceType(jtv) } + default: _, _ = key, value @@ -52724,6 +54036,7 @@ func awsRestjson1_deserializeDocumentDateAxisOptions(v **types.DateAxisOptions, } sv.MissingDateVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -52759,6 +54072,7 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DateGranularity": if value != nil { jtv, ok := value.(string) @@ -52767,6 +54081,7 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.DateGranularity = types.TimeGranularity(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -52775,10 +54090,12 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -52787,6 +54104,7 @@ func awsRestjson1_deserializeDocumentDateDimensionField(v **types.DateDimensionF } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -52826,10 +54144,12 @@ func awsRestjson1_deserializeDocumentDateMeasureField(v **types.DateMeasureField } sv.AggregationFunction = types.DateAggregationFunction(jtv) } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -52838,10 +54158,12 @@ func awsRestjson1_deserializeDocumentDateMeasureField(v **types.DateMeasureField } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -52877,6 +54199,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -52885,6 +54208,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -52893,6 +54217,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.Name = ptr.String(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -52901,6 +54226,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.TimeGranularity = types.TimeGranularity(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -52909,6 +54235,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameter(v **types.DateTime } sv.ValueType = types.DatasetParameterValueType(jtv) } + default: _, _ = key, value @@ -52944,6 +54271,7 @@ func awsRestjson1_deserializeDocumentDateTimeDatasetParameterDefaultValues(v **t if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -53065,14 +54393,17 @@ func awsRestjson1_deserializeDocumentDateTimeDefaultValues(v **types.DateTimeDef if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } + case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } + case "StaticValues": if err := awsRestjson1_deserializeDocumentDateTimeDefaultValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -53112,14 +54443,17 @@ func awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(v **types.DateT } sv.DateTimeFormat = ptr.String(jtv) } + case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } + case "NumericFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.NumericFormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -53155,6 +54489,7 @@ func awsRestjson1_deserializeDocumentDateTimeHierarchy(v **types.DateTimeHierarc if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -53163,6 +54498,7 @@ func awsRestjson1_deserializeDocumentDateTimeHierarchy(v **types.DateTimeHierarc } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -53202,10 +54538,12 @@ func awsRestjson1_deserializeDocumentDateTimeParameter(v **types.DateTimeParamet } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentSensitiveTimestampList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -53241,10 +54579,12 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date if err := awsRestjson1_deserializeDocumentDateTimeDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53253,6 +54593,7 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date } sv.Name = ptr.String(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -53261,10 +54602,12 @@ func awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(v **types.Date } sv.TimeGranularity = types.TimeGranularity(jtv) } + case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } + default: _, _ = key, value @@ -53338,6 +54681,7 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.DateIconVisibility = types.Visibility(jtv) } + case "DateTimeFormat": if value != nil { jtv, ok := value.(string) @@ -53346,6 +54690,7 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.DateTimeFormat = ptr.String(jtv) } + case "HelperTextVisibility": if value != nil { jtv, ok := value.(string) @@ -53354,14 +54699,17 @@ func awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(v **typ } sv.HelperTextVisibility = types.Visibility(jtv) } + case "InfoIconLabelOptions": if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -53408,6 +54756,7 @@ func awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(v **typ } } + case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -53416,6 +54765,7 @@ func awsRestjson1_deserializeDocumentDateTimeValueWhenUnsetConfiguration(v **typ } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } + default: _, _ = key, value @@ -53451,6 +54801,7 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -53459,6 +54810,7 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53467,6 +54819,7 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.Name = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -53475,6 +54828,7 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameter(v **types.DecimalDa } sv.ValueType = types.DatasetParameterValueType(jtv) } + default: _, _ = key, value @@ -53510,6 +54864,7 @@ func awsRestjson1_deserializeDocumentDecimalDatasetParameterDefaultValues(v **ty if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -53667,10 +55022,12 @@ func awsRestjson1_deserializeDocumentDecimalDefaultValues(v **types.DecimalDefau if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } + case "StaticValues": if err := awsRestjson1_deserializeDocumentDecimalDefaultValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -53710,10 +55067,12 @@ func awsRestjson1_deserializeDocumentDecimalParameter(v **types.DecimalParameter } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentSensitiveDoubleList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -53749,10 +55108,12 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim if err := awsRestjson1_deserializeDocumentDecimalDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53761,6 +55122,7 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim } sv.Name = ptr.String(jtv) } + case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -53769,10 +55131,12 @@ func awsRestjson1_deserializeDocumentDecimalParameterDeclaration(v **types.Decim } sv.ParameterValueType = types.ParameterValueType(jtv) } + case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } + default: _, _ = key, value @@ -53850,6 +55214,7 @@ func awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(v **types.Decima } sv.DecimalPlaces = ptr.Int64(i64) } + default: _, _ = key, value @@ -53914,6 +55279,7 @@ func awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(v **type } } + case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -53922,6 +55288,7 @@ func awsRestjson1_deserializeDocumentDecimalValueWhenUnsetConfiguration(v **type } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } + default: _, _ = key, value @@ -53961,10 +55328,12 @@ func awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(v **typ } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -53973,6 +55342,7 @@ func awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(v **typ } sv.Type = types.SheetControlDateTimePickerType(jtv) } + default: _, _ = key, value @@ -54008,6 +55378,7 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(v **types if err := awsRestjson1_deserializeDocumentDefaultFilterControlOptions(&sv.ControlOptions, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -54016,6 +55387,7 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(v **types } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -54051,30 +55423,37 @@ func awsRestjson1_deserializeDocumentDefaultFilterControlOptions(v **types.Defau if err := awsRestjson1_deserializeDocumentDefaultDateTimePickerControlOptions(&sv.DefaultDateTimePickerOptions, value); err != nil { return err } + case "DefaultDropdownOptions": if err := awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(&sv.DefaultDropdownOptions, value); err != nil { return err } + case "DefaultListOptions": if err := awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(&sv.DefaultListOptions, value); err != nil { return err } + case "DefaultRelativeDateTimeOptions": if err := awsRestjson1_deserializeDocumentDefaultRelativeDateTimeControlOptions(&sv.DefaultRelativeDateTimeOptions, value); err != nil { return err } + case "DefaultSliderOptions": if err := awsRestjson1_deserializeDocumentDefaultSliderControlOptions(&sv.DefaultSliderOptions, value); err != nil { return err } + case "DefaultTextAreaOptions": if err := awsRestjson1_deserializeDocumentDefaultTextAreaControlOptions(&sv.DefaultTextAreaOptions, value); err != nil { return err } + case "DefaultTextFieldOptions": if err := awsRestjson1_deserializeDocumentDefaultTextFieldControlOptions(&sv.DefaultTextFieldOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54114,14 +55493,17 @@ func awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(v **typ } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -54130,6 +55512,7 @@ func awsRestjson1_deserializeDocumentDefaultFilterDropDownControlOptions(v **typ } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -54165,10 +55548,12 @@ func awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(v **types.D if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -54177,6 +55562,7 @@ func awsRestjson1_deserializeDocumentDefaultFilterListControlOptions(v **types.D } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -54216,10 +55602,12 @@ func awsRestjson1_deserializeDocumentDefaultFormatting(v **types.DefaultFormatti } sv.DisplayFormat = types.DisplayFormat(jtv) } + case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54255,6 +55643,7 @@ func awsRestjson1_deserializeDocumentDefaultFreeFormLayoutConfiguration(v **type if err := awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54290,6 +55679,7 @@ func awsRestjson1_deserializeDocumentDefaultGridLayoutConfiguration(v **types.De if err := awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54325,10 +55715,12 @@ func awsRestjson1_deserializeDocumentDefaultInteractiveLayoutConfiguration(v **t if err := awsRestjson1_deserializeDocumentDefaultFreeFormLayoutConfiguration(&sv.FreeForm, value); err != nil { return err } + case "Grid": if err := awsRestjson1_deserializeDocumentDefaultGridLayoutConfiguration(&sv.Grid, value); err != nil { return err } + default: _, _ = key, value @@ -54364,10 +55756,12 @@ func awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(v **types.Defa if err := awsRestjson1_deserializeDocumentDefaultInteractiveLayoutConfiguration(&sv.InteractiveLayoutConfiguration, value); err != nil { return err } + case "PaginatedLayoutConfiguration": if err := awsRestjson1_deserializeDocumentDefaultPaginatedLayoutConfiguration(&sv.PaginatedLayoutConfiguration, value); err != nil { return err } + case "SheetContentType": if value != nil { jtv, ok := value.(string) @@ -54376,6 +55770,7 @@ func awsRestjson1_deserializeDocumentDefaultNewSheetConfiguration(v **types.Defa } sv.SheetContentType = types.SheetContentType(jtv) } + default: _, _ = key, value @@ -54411,6 +55806,7 @@ func awsRestjson1_deserializeDocumentDefaultPaginatedLayoutConfiguration(v **typ if err := awsRestjson1_deserializeDocumentDefaultSectionBasedLayoutConfiguration(&sv.SectionBased, value); err != nil { return err } + default: _, _ = key, value @@ -54450,10 +55846,12 @@ func awsRestjson1_deserializeDocumentDefaultRelativeDateTimeControlOptions(v **t } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54489,6 +55887,7 @@ func awsRestjson1_deserializeDocumentDefaultSectionBasedLayoutConfiguration(v ** if err := awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54524,6 +55923,7 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -54557,6 +55957,7 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } + case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -54590,6 +55991,7 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } + case "StepSize": if value != nil { switch jtv := value.(type) { @@ -54623,6 +56025,7 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -54631,6 +56034,7 @@ func awsRestjson1_deserializeDocumentDefaultSliderControlOptions(v **types.Defau } sv.Type = types.SheetControlSliderType(jtv) } + default: _, _ = key, value @@ -54670,10 +56074,12 @@ func awsRestjson1_deserializeDocumentDefaultTextAreaControlOptions(v **types.Def } sv.Delimiter = ptr.String(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54709,6 +56115,7 @@ func awsRestjson1_deserializeDocumentDefaultTextFieldControlOptions(v **types.De if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + default: _, _ = key, value @@ -54744,6 +56151,7 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** if err := awsRestjson1_deserializeDocumentCustomValuesConfiguration(&sv.CustomValuesConfiguration, value); err != nil { return err } + case "SelectAllValueOptions": if value != nil { jtv, ok := value.(string) @@ -54752,10 +56160,12 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SelectAllValueOptions = types.SelectAllValueOptions(jtv) } + case "SourceColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.SourceColumn, value); err != nil { return err } + case "SourceField": if value != nil { jtv, ok := value.(string) @@ -54764,6 +56174,7 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SourceField = ptr.String(jtv) } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -54772,6 +56183,7 @@ func awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(v ** } sv.SourceParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -54807,14 +56219,17 @@ func awsRestjson1_deserializeDocumentDimensionField(v **types.DimensionField, va if err := awsRestjson1_deserializeDocumentCategoricalDimensionField(&sv.CategoricalDimensionField, value); err != nil { return err } + case "DateDimensionField": if err := awsRestjson1_deserializeDocumentDateDimensionField(&sv.DateDimensionField, value); err != nil { return err } + case "NumericalDimensionField": if err := awsRestjson1_deserializeDocumentNumericalDimensionField(&sv.NumericalDimensionField, value); err != nil { return err } + default: _, _ = key, value @@ -54888,6 +56303,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.BlankCellFormat = ptr.String(jtv) } + case "CurrencySymbol": if value != nil { jtv, ok := value.(string) @@ -54896,6 +56312,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.CurrencySymbol = ptr.String(jtv) } + case "DateFormat": if value != nil { jtv, ok := value.(string) @@ -54904,6 +56321,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.DateFormat = ptr.String(jtv) } + case "DecimalSeparator": if value != nil { jtv, ok := value.(string) @@ -54912,6 +56330,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.DecimalSeparator = types.TopicNumericSeparatorSymbol(jtv) } + case "FractionDigits": if value != nil { jtv, ok := value.(json.Number) @@ -54924,6 +56343,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.FractionDigits = int32(i64) } + case "GroupingSeparator": if value != nil { jtv, ok := value.(string) @@ -54932,10 +56352,12 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.GroupingSeparator = ptr.String(jtv) } + case "NegativeFormat": if err := awsRestjson1_deserializeDocumentNegativeFormat(&sv.NegativeFormat, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -54944,6 +56366,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.Prefix = ptr.String(jtv) } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -54952,6 +56375,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.Suffix = ptr.String(jtv) } + case "UnitScaler": if value != nil { jtv, ok := value.(string) @@ -54960,6 +56384,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UnitScaler = types.NumberScale(jtv) } + case "UseBlankCellFormat": if value != nil { jtv, ok := value.(bool) @@ -54968,6 +56393,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UseBlankCellFormat = jtv } + case "UseGrouping": if value != nil { jtv, ok := value.(bool) @@ -54976,6 +56402,7 @@ func awsRestjson1_deserializeDocumentDisplayFormatOptions(v **types.DisplayForma } sv.UseGrouping = jtv } + default: _, _ = key, value @@ -55051,6 +56478,7 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -55059,6 +56487,7 @@ func awsRestjson1_deserializeDocumentDomainNotWhitelistedException(v **types.Dom } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -55098,6 +56527,7 @@ func awsRestjson1_deserializeDocumentDonutCenterOptions(v **types.DonutCenterOpt } sv.LabelVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -55133,10 +56563,12 @@ func awsRestjson1_deserializeDocumentDonutOptions(v **types.DonutOptions, value if err := awsRestjson1_deserializeDocumentArcOptions(&sv.ArcOptions, value); err != nil { return err } + case "DonutCenterOptions": if err := awsRestjson1_deserializeDocumentDonutCenterOptions(&sv.DonutCenterOptions, value); err != nil { return err } + default: _, _ = key, value @@ -55172,14 +56604,17 @@ func awsRestjson1_deserializeDocumentDrillDownFilter(v **types.DrillDownFilter, if err := awsRestjson1_deserializeDocumentCategoryDrillDownFilter(&sv.CategoryFilter, value); err != nil { return err } + case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(&sv.NumericEqualityFilter, value); err != nil { return err } + case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(&sv.TimeRangeFilter, value); err != nil { return err } + default: _, _ = key, value @@ -55249,14 +56684,17 @@ func awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(v **types.Dro if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "SelectAllOptions": if err := awsRestjson1_deserializeDocumentListControlSelectAllOptions(&sv.SelectAllOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -55292,14 +56730,17 @@ func awsRestjson1_deserializeDocumentDynamicDefaultValue(v **types.DynamicDefaul if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.DefaultValueColumn, value); err != nil { return err } + case "GroupNameColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.GroupNameColumn, value); err != nil { return err } + case "UserNameColumn": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.UserNameColumn, value); err != nil { return err } + default: _, _ = key, value @@ -55335,6 +56776,7 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -55343,6 +56785,7 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in } sv.DataSetIdentifier = ptr.String(jtv) } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -55351,6 +56794,7 @@ func awsRestjson1_deserializeDocumentEmptyVisual(v **types.EmptyVisual, value in } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -55390,6 +56834,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -55463,6 +56908,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -55471,6 +56917,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Type = types.IngestionErrorType(jtv) } + default: _, _ = key, value @@ -55510,6 +56957,7 @@ func awsRestjson1_deserializeDocumentExasolParameters(v **types.ExasolParameters } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -55522,6 +56970,7 @@ func awsRestjson1_deserializeDocumentExasolParameters(v **types.ExasolParameters } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55565,6 +57014,7 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Amount = ptr.Int32(int32(i64)) } + case "Granularity": if value != nil { jtv, ok := value.(string) @@ -55573,6 +57023,7 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Granularity = types.TimeGranularity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -55581,6 +57032,7 @@ func awsRestjson1_deserializeDocumentExcludePeriodConfiguration(v **types.Exclud } sv.Status = types.WidgetStatus(jtv) } + default: _, _ = key, value @@ -55616,10 +57068,12 @@ func awsRestjson1_deserializeDocumentExplicitHierarchy(v **types.ExplicitHierarc if err := awsRestjson1_deserializeDocumentExplicitHierarchyColumnList(&sv.Columns, value); err != nil { return err } + case "DrillDownFilters": if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -55628,6 +57082,7 @@ func awsRestjson1_deserializeDocumentExplicitHierarchy(v **types.ExplicitHierarc } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -55701,6 +57156,7 @@ func awsRestjson1_deserializeDocumentExportHiddenFieldsOption(v **types.ExportHi } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -55740,6 +57196,7 @@ func awsRestjson1_deserializeDocumentExportToCSVOption(v **types.ExportToCSVOpti } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -55779,6 +57236,7 @@ func awsRestjson1_deserializeDocumentExportWithHiddenFieldsOption(v **types.Expo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -55852,6 +57310,7 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.KeyArn = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -55860,6 +57319,7 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.Message = ptr.String(jtv) } + case "SenderFault": if value != nil { jtv, ok := value.(bool) @@ -55868,6 +57328,7 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.SenderFault = jtv } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -55880,6 +57341,7 @@ func awsRestjson1_deserializeDocumentFailedKeyRegistrationEntry(v **types.Failed } sv.StatusCode = int32(i64) } + default: _, _ = key, value @@ -55919,10 +57381,12 @@ func awsRestjson1_deserializeDocumentFieldBasedTooltip(v **types.FieldBasedToolt } sv.AggregationVisibility = types.Visibility(jtv) } + case "TooltipFields": if err := awsRestjson1_deserializeDocumentTooltipItemList(&sv.TooltipFields, value); err != nil { return err } + case "TooltipTitleType": if value != nil { jtv, ok := value.(string) @@ -55931,6 +57395,7 @@ func awsRestjson1_deserializeDocumentFieldBasedTooltip(v **types.FieldBasedToolt } sv.TooltipTitleType = types.TooltipTitleType(jtv) } + default: _, _ = key, value @@ -55966,6 +57431,7 @@ func awsRestjson1_deserializeDocumentFieldFolder(v **types.FieldFolder, value in if err := awsRestjson1_deserializeDocumentFolderColumnList(&sv.Columns, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -55974,6 +57440,7 @@ func awsRestjson1_deserializeDocumentFieldFolder(v **types.FieldFolder, value in } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -56048,6 +57515,7 @@ func awsRestjson1_deserializeDocumentFieldLabelType(v **types.FieldLabelType, va } sv.FieldId = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -56056,6 +57524,7 @@ func awsRestjson1_deserializeDocumentFieldLabelType(v **types.FieldLabelType, va } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -56131,6 +57600,7 @@ func awsRestjson1_deserializeDocumentFieldSeriesItem(v **types.FieldSeriesItem, } sv.AxisBinding = types.AxisBinding(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -56139,10 +57609,12 @@ func awsRestjson1_deserializeDocumentFieldSeriesItem(v **types.FieldSeriesItem, } sv.FieldId = ptr.String(jtv) } + case "Settings": if err := awsRestjson1_deserializeDocumentLineChartSeriesSettings(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -56182,6 +57654,7 @@ func awsRestjson1_deserializeDocumentFieldSort(v **types.FieldSort, value interf } sv.Direction = types.SortDirection(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -56190,6 +57663,7 @@ func awsRestjson1_deserializeDocumentFieldSort(v **types.FieldSort, value interf } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -56225,10 +57699,12 @@ func awsRestjson1_deserializeDocumentFieldSortOptions(v **types.FieldSortOptions if err := awsRestjson1_deserializeDocumentColumnSort(&sv.ColumnSort, value); err != nil { return err } + case "FieldSort": if err := awsRestjson1_deserializeDocumentFieldSort(&sv.FieldSort, value); err != nil { return err } + default: _, _ = key, value @@ -56302,6 +57778,7 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.FieldId = ptr.String(jtv) } + case "Label": if value != nil { jtv, ok := value.(string) @@ -56310,6 +57787,7 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.Label = ptr.String(jtv) } + case "TooltipTarget": if value != nil { jtv, ok := value.(string) @@ -56318,6 +57796,7 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.TooltipTarget = types.TooltipTarget(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -56326,6 +57805,7 @@ func awsRestjson1_deserializeDocumentFieldTooltipItem(v **types.FieldTooltipItem } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -56361,10 +57841,12 @@ func awsRestjson1_deserializeDocumentFilledMapAggregatedFieldWells(v **types.Fil if err := awsRestjson1_deserializeDocumentFilledMapDimensionFieldList(&sv.Geospatial, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentFilledMapMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -56400,6 +57882,7 @@ func awsRestjson1_deserializeDocumentFilledMapConditionalFormatting(v **types.Fi if err := awsRestjson1_deserializeDocumentFilledMapConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -56435,6 +57918,7 @@ func awsRestjson1_deserializeDocumentFilledMapConditionalFormattingOption(v **ty if err := awsRestjson1_deserializeDocumentFilledMapShapeConditionalFormatting(&sv.Shape, value); err != nil { return err } + default: _, _ = key, value @@ -56504,30 +57988,37 @@ func awsRestjson1_deserializeDocumentFilledMapConfiguration(v **types.FilledMapC if err := awsRestjson1_deserializeDocumentFilledMapFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "MapStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(&sv.MapStyleOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentFilledMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "WindowOptions": if err := awsRestjson1_deserializeDocumentGeospatialWindowOptions(&sv.WindowOptions, value); err != nil { return err } + default: _, _ = key, value @@ -56597,6 +58088,7 @@ func awsRestjson1_deserializeDocumentFilledMapFieldWells(v **types.FilledMapFiel if err := awsRestjson1_deserializeDocumentFilledMapAggregatedFieldWells(&sv.FilledMapAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -56670,10 +58162,12 @@ func awsRestjson1_deserializeDocumentFilledMapShapeConditionalFormatting(v **typ } sv.FieldId = ptr.String(jtv) } + case "Format": if err := awsRestjson1_deserializeDocumentShapeConditionalFormat(&sv.Format, value); err != nil { return err } + default: _, _ = key, value @@ -56709,6 +58203,7 @@ func awsRestjson1_deserializeDocumentFilledMapSortConfiguration(v **types.Filled if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + default: _, _ = key, value @@ -56744,26 +58239,32 @@ func awsRestjson1_deserializeDocumentFilledMapVisual(v **types.FilledMapVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentFilledMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentFilledMapConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -56772,6 +58273,7 @@ func awsRestjson1_deserializeDocumentFilledMapVisual(v **types.FilledMapVisual, } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -56807,34 +58309,42 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) if err := awsRestjson1_deserializeDocumentCategoryFilter(&sv.CategoryFilter, value); err != nil { return err } + case "NestedFilter": if err := awsRestjson1_deserializeDocumentNestedFilter(&sv.NestedFilter, value); err != nil { return err } + case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentNumericEqualityFilter(&sv.NumericEqualityFilter, value); err != nil { return err } + case "NumericRangeFilter": if err := awsRestjson1_deserializeDocumentNumericRangeFilter(&sv.NumericRangeFilter, value); err != nil { return err } + case "RelativeDatesFilter": if err := awsRestjson1_deserializeDocumentRelativeDatesFilter(&sv.RelativeDatesFilter, value); err != nil { return err } + case "TimeEqualityFilter": if err := awsRestjson1_deserializeDocumentTimeEqualityFilter(&sv.TimeEqualityFilter, value); err != nil { return err } + case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeFilter(&sv.TimeRangeFilter, value); err != nil { return err } + case "TopBottomFilter": if err := awsRestjson1_deserializeDocumentTopBottomFilter(&sv.TopBottomFilter, value); err != nil { return err } + default: _, _ = key, value @@ -56874,10 +58384,12 @@ func awsRestjson1_deserializeDocumentFilterAggMetrics(v **types.FilterAggMetrics } sv.Function = types.AggType(jtv) } + case "MetricOperand": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.MetricOperand, value); err != nil { return err } + case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -56886,6 +58398,7 @@ func awsRestjson1_deserializeDocumentFilterAggMetrics(v **types.FilterAggMetrics } sv.SortDirection = types.TopicSortDirection(jtv) } + default: _, _ = key, value @@ -56955,34 +58468,42 @@ func awsRestjson1_deserializeDocumentFilterControl(v **types.FilterControl, valu if err := awsRestjson1_deserializeDocumentFilterCrossSheetControl(&sv.CrossSheet, value); err != nil { return err } + case "DateTimePicker": if err := awsRestjson1_deserializeDocumentFilterDateTimePickerControl(&sv.DateTimePicker, value); err != nil { return err } + case "Dropdown": if err := awsRestjson1_deserializeDocumentFilterDropDownControl(&sv.Dropdown, value); err != nil { return err } + case "List": if err := awsRestjson1_deserializeDocumentFilterListControl(&sv.List, value); err != nil { return err } + case "RelativeDateTime": if err := awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(&sv.RelativeDateTime, value); err != nil { return err } + case "Slider": if err := awsRestjson1_deserializeDocumentFilterSliderControl(&sv.Slider, value); err != nil { return err } + case "TextArea": if err := awsRestjson1_deserializeDocumentFilterTextAreaControl(&sv.TextArea, value); err != nil { return err } + case "TextField": if err := awsRestjson1_deserializeDocumentFilterTextFieldControl(&sv.TextField, value); err != nil { return err } + default: _, _ = key, value @@ -57052,6 +58573,7 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57060,6 +58582,7 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro } sv.FilterControlId = ptr.String(jtv) } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57068,6 +58591,7 @@ func awsRestjson1_deserializeDocumentFilterCrossSheetControl(v **types.FilterCro } sv.SourceFilterId = ptr.String(jtv) } + default: _, _ = key, value @@ -57107,10 +58631,12 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57119,6 +58645,7 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.FilterControlId = ptr.String(jtv) } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57127,6 +58654,7 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -57135,6 +58663,7 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -57143,6 +58672,7 @@ func awsRestjson1_deserializeDocumentFilterDateTimePickerControl(v **types.Filte } sv.Type = types.SheetControlDateTimePickerType(jtv) } + default: _, _ = key, value @@ -57178,6 +58708,7 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } + case "CommitMode": if value != nil { jtv, ok := value.(string) @@ -57186,10 +58717,12 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57198,10 +58731,12 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.FilterControlId = ptr.String(jtv) } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57210,6 +58745,7 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -57218,6 +58754,7 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -57226,6 +58763,7 @@ func awsRestjson1_deserializeDocumentFilterDropDownControl(v **types.FilterDropD } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -57301,6 +58839,7 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.CrossDataset = types.CrossDatasetTypes(jtv) } + case "FilterGroupId": if value != nil { jtv, ok := value.(string) @@ -57309,14 +58848,17 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.FilterGroupId = ptr.String(jtv) } + case "Filters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.Filters, value); err != nil { return err } + case "ScopeConfiguration": if err := awsRestjson1_deserializeDocumentFilterScopeConfiguration(&sv.ScopeConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -57325,6 +58867,7 @@ func awsRestjson1_deserializeDocumentFilterGroup(v **types.FilterGroup, value in } sv.Status = types.WidgetStatus(jtv) } + default: _, _ = key, value @@ -57428,6 +58971,7 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis if err := awsRestjson1_deserializeDocumentCategoryValueList(&sv.CategoryValues, value); err != nil { return err } + case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -57436,6 +58980,7 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.MatchOperator = types.CategoryFilterMatchOperator(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -57444,6 +58989,7 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.NullOption = types.FilterNullOption(jtv) } + case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -57452,6 +58998,7 @@ func awsRestjson1_deserializeDocumentFilterListConfiguration(v **types.FilterLis } sv.SelectAllOptions = types.CategoryFilterSelectAllOptions(jtv) } + default: _, _ = key, value @@ -57487,10 +59034,12 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57499,10 +59048,12 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.FilterControlId = ptr.String(jtv) } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentFilterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57511,6 +59062,7 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -57519,6 +59071,7 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -57527,6 +59080,7 @@ func awsRestjson1_deserializeDocumentFilterListControl(v **types.FilterListContr } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -57566,6 +59120,7 @@ func awsRestjson1_deserializeDocumentFilterOperation(v **types.FilterOperation, } sv.ConditionExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -57601,6 +59156,7 @@ func awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration( if err := awsRestjson1_deserializeDocumentCustomActionColumnList(&sv.SelectedColumns, value); err != nil { return err } + case "SelectedFieldOptions": if value != nil { jtv, ok := value.(string) @@ -57609,10 +59165,12 @@ func awsRestjson1_deserializeDocumentFilterOperationSelectedFieldsConfiguration( } sv.SelectedFieldOptions = types.SelectedFieldOptions(jtv) } + case "SelectedFields": if err := awsRestjson1_deserializeDocumentSelectedFieldList(&sv.SelectedFields, value); err != nil { return err } + default: _, _ = key, value @@ -57648,6 +59206,7 @@ func awsRestjson1_deserializeDocumentFilterOperationTargetVisualsConfiguration(v if err := awsRestjson1_deserializeDocumentSameSheetTargetVisualConfiguration(&sv.SameSheetTargetVisualConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -57687,10 +59246,12 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57699,6 +59260,7 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.FilterControlId = ptr.String(jtv) } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57707,6 +59269,7 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -57715,6 +59278,7 @@ func awsRestjson1_deserializeDocumentFilterRelativeDateTimeControl(v **types.Fil } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -57750,10 +59314,12 @@ func awsRestjson1_deserializeDocumentFilterScopeConfiguration(v **types.FilterSc if err := awsRestjson1_deserializeDocumentAllSheetsFilterScopeConfiguration(&sv.AllSheets, value); err != nil { return err } + case "SelectedSheets": if err := awsRestjson1_deserializeDocumentSelectedSheetsFilterScopeConfiguration(&sv.SelectedSheets, value); err != nil { return err } + default: _, _ = key, value @@ -57789,6 +59355,7 @@ func awsRestjson1_deserializeDocumentFilterSelectableValues(v **types.FilterSele if err := awsRestjson1_deserializeDocumentParameterSelectableValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -57824,6 +59391,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -57832,6 +59400,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.FilterControlId = ptr.String(jtv) } + case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -57865,6 +59434,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } + case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -57898,6 +59468,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -57906,6 +59477,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.SourceFilterId = ptr.String(jtv) } + case "StepSize": if value != nil { switch jtv := value.(type) { @@ -57939,6 +59511,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } } + case "Title": if value != nil { jtv, ok := value.(string) @@ -57947,6 +59520,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -57955,6 +59529,7 @@ func awsRestjson1_deserializeDocumentFilterSliderControl(v **types.FilterSliderC } sv.Type = types.SheetControlSliderType(jtv) } + default: _, _ = key, value @@ -57994,10 +59569,12 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.Delimiter = ptr.String(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -58006,6 +59583,7 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.FilterControlId = ptr.String(jtv) } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -58014,6 +59592,7 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -58022,6 +59601,7 @@ func awsRestjson1_deserializeDocumentFilterTextAreaControl(v **types.FilterTextA } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -58057,6 +59637,7 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "FilterControlId": if value != nil { jtv, ok := value.(string) @@ -58065,6 +59646,7 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.FilterControlId = ptr.String(jtv) } + case "SourceFilterId": if value != nil { jtv, ok := value.(string) @@ -58073,6 +59655,7 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.SourceFilterId = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -58081,6 +59664,7 @@ func awsRestjson1_deserializeDocumentFilterTextFieldControl(v **types.FilterText } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -58120,6 +59704,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -58135,6 +59720,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -58143,10 +59729,12 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.FolderId = ptr.String(jtv) } + case "FolderPath": if err := awsRestjson1_deserializeDocumentPath(&sv.FolderPath, value); err != nil { return err } + case "FolderType": if value != nil { jtv, ok := value.(string) @@ -58155,6 +59743,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.FolderType = types.FolderType(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -58170,6 +59759,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58178,6 +59768,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.Name = ptr.String(jtv) } + case "SharingModel": if value != nil { jtv, ok := value.(string) @@ -58186,6 +59777,7 @@ func awsRestjson1_deserializeDocumentFolder(v **types.Folder, value interface{}) } sv.SharingModel = types.SharingModel(jtv) } + default: _, _ = key, value @@ -58297,6 +59889,7 @@ func awsRestjson1_deserializeDocumentFolderMember(v **types.FolderMember, value } sv.MemberId = ptr.String(jtv) } + case "MemberType": if value != nil { jtv, ok := value.(string) @@ -58305,6 +59898,7 @@ func awsRestjson1_deserializeDocumentFolderMember(v **types.FolderMember, value } sv.MemberType = types.MemberType(jtv) } + default: _, _ = key, value @@ -58414,6 +60008,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -58429,6 +60024,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } } + case "FolderId": if value != nil { jtv, ok := value.(string) @@ -58437,6 +60033,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.FolderId = ptr.String(jtv) } + case "FolderType": if value != nil { jtv, ok := value.(string) @@ -58445,6 +60042,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.FolderType = types.FolderType(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -58460,6 +60058,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58468,6 +60067,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.Name = ptr.String(jtv) } + case "SharingModel": if value != nil { jtv, ok := value.(string) @@ -58476,6 +60076,7 @@ func awsRestjson1_deserializeDocumentFolderSummary(v **types.FolderSummary, valu } sv.SharingModel = types.SharingModel(jtv) } + default: _, _ = key, value @@ -58549,6 +60150,7 @@ func awsRestjson1_deserializeDocumentFont(v **types.Font, value interface{}) err } sv.FontFamily = ptr.String(jtv) } + default: _, _ = key, value @@ -58588,6 +60190,7 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontColor = ptr.String(jtv) } + case "FontDecoration": if value != nil { jtv, ok := value.(string) @@ -58596,10 +60199,12 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontDecoration = types.FontDecoration(jtv) } + case "FontSize": if err := awsRestjson1_deserializeDocumentFontSize(&sv.FontSize, value); err != nil { return err } + case "FontStyle": if value != nil { jtv, ok := value.(string) @@ -58608,10 +60213,12 @@ func awsRestjson1_deserializeDocumentFontConfiguration(v **types.FontConfigurati } sv.FontStyle = types.FontStyle(jtv) } + case "FontWeight": if err := awsRestjson1_deserializeDocumentFontWeight(&sv.FontWeight, value); err != nil { return err } + default: _, _ = key, value @@ -58685,6 +60292,7 @@ func awsRestjson1_deserializeDocumentFontSize(v **types.FontSize, value interfac } sv.Relative = types.RelativeFontSize(jtv) } + default: _, _ = key, value @@ -58724,6 +60332,7 @@ func awsRestjson1_deserializeDocumentFontWeight(v **types.FontWeight, value inte } sv.Name = types.FontWeightName(jtv) } + default: _, _ = key, value @@ -58763,6 +60372,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.ComputationId = ptr.String(jtv) } + case "CustomSeasonalityValue": if value != nil { jtv, ok := value.(json.Number) @@ -58775,6 +60385,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.CustomSeasonalityValue = ptr.Int32(int32(i64)) } + case "LowerBoundary": if value != nil { switch jtv := value.(type) { @@ -58808,6 +60419,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58816,6 +60428,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.Name = ptr.String(jtv) } + case "PeriodsBackward": if value != nil { jtv, ok := value.(json.Number) @@ -58828,6 +60441,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PeriodsBackward = ptr.Int32(int32(i64)) } + case "PeriodsForward": if value != nil { jtv, ok := value.(json.Number) @@ -58840,6 +60454,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PeriodsForward = ptr.Int32(int32(i64)) } + case "PredictionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -58852,6 +60467,7 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.PredictionInterval = ptr.Int32(int32(i64)) } + case "Seasonality": if value != nil { jtv, ok := value.(string) @@ -58860,10 +60476,12 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } sv.Seasonality = types.ForecastComputationSeasonality(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "UpperBoundary": if value != nil { switch jtv := value.(type) { @@ -58897,10 +60515,12 @@ func awsRestjson1_deserializeDocumentForecastComputation(v **types.ForecastCompu } } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -58936,10 +60556,12 @@ func awsRestjson1_deserializeDocumentForecastConfiguration(v **types.ForecastCon if err := awsRestjson1_deserializeDocumentTimeBasedForecastProperties(&sv.ForecastProperties, value); err != nil { return err } + case "Scenario": if err := awsRestjson1_deserializeDocumentForecastScenario(&sv.Scenario, value); err != nil { return err } + default: _, _ = key, value @@ -59009,10 +60631,12 @@ func awsRestjson1_deserializeDocumentForecastScenario(v **types.ForecastScenario if err := awsRestjson1_deserializeDocumentWhatIfPointScenario(&sv.WhatIfPointScenario, value); err != nil { return err } + case "WhatIfRangeScenario": if err := awsRestjson1_deserializeDocumentWhatIfRangeScenario(&sv.WhatIfRangeScenario, value); err != nil { return err } + default: _, _ = key, value @@ -59048,14 +60672,17 @@ func awsRestjson1_deserializeDocumentFormatConfiguration(v **types.FormatConfigu if err := awsRestjson1_deserializeDocumentDateTimeFormatConfiguration(&sv.DateTimeFormatConfiguration, value); err != nil { return err } + case "NumberFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.NumberFormatConfiguration, value); err != nil { return err } + case "StringFormatConfiguration": if err := awsRestjson1_deserializeDocumentStringFormatConfiguration(&sv.StringFormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -59091,6 +60718,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(v **types.F if err := awsRestjson1_deserializeDocumentFreeFormLayoutScreenCanvasSizeOptions(&sv.ScreenCanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -59126,10 +60754,12 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutConfiguration(v **types.FreeF if err := awsRestjson1_deserializeDocumentFreeFormLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + case "Elements": if err := awsRestjson1_deserializeDocumentFreeFromLayoutElementList(&sv.Elements, value); err != nil { return err } + default: _, _ = key, value @@ -59165,10 +60795,12 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(&sv.BackgroundStyle, value); err != nil { return err } + case "BorderStyle": if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(&sv.BorderStyle, value); err != nil { return err } + case "ElementId": if value != nil { jtv, ok := value.(string) @@ -59177,6 +60809,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.ElementId = ptr.String(jtv) } + case "ElementType": if value != nil { jtv, ok := value.(string) @@ -59185,6 +60818,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.ElementType = types.LayoutElementType(jtv) } + case "Height": if value != nil { jtv, ok := value.(string) @@ -59193,18 +60827,22 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Height = ptr.String(jtv) } + case "LoadingAnimation": if err := awsRestjson1_deserializeDocumentLoadingAnimation(&sv.LoadingAnimation, value); err != nil { return err } + case "RenderingRules": if err := awsRestjson1_deserializeDocumentSheetElementRenderingRuleList(&sv.RenderingRules, value); err != nil { return err } + case "SelectedBorderStyle": if err := awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(&sv.SelectedBorderStyle, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -59213,6 +60851,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Visibility = types.Visibility(jtv) } + case "Width": if value != nil { jtv, ok := value.(string) @@ -59221,6 +60860,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.Width = ptr.String(jtv) } + case "XAxisLocation": if value != nil { jtv, ok := value.(string) @@ -59229,6 +60869,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.XAxisLocation = ptr.String(jtv) } + case "YAxisLocation": if value != nil { jtv, ok := value.(string) @@ -59237,6 +60878,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElement(v **types.FreeFormLay } sv.YAxisLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -59276,6 +60918,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(v **ty } sv.Color = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -59284,6 +60927,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBackgroundStyle(v **ty } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -59323,6 +60967,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(v **types. } sv.Color = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -59331,6 +60976,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutElementBorderStyle(v **types. } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -59370,6 +61016,7 @@ func awsRestjson1_deserializeDocumentFreeFormLayoutScreenCanvasSizeOptions(v **t } sv.OptimizedViewPortWidth = ptr.String(jtv) } + default: _, _ = key, value @@ -59405,6 +61052,7 @@ func awsRestjson1_deserializeDocumentFreeFormSectionLayoutConfiguration(v **type if err := awsRestjson1_deserializeDocumentFreeFromLayoutElementList(&sv.Elements, value); err != nil { return err } + default: _, _ = key, value @@ -59474,10 +61122,12 @@ func awsRestjson1_deserializeDocumentFunnelChartAggregatedFieldWells(v **types.F if err := awsRestjson1_deserializeDocumentFunnelChartDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentFunnelChartMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -59513,34 +61163,42 @@ func awsRestjson1_deserializeDocumentFunnelChartConfiguration(v **types.FunnelCh if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "DataLabelOptions": if err := awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(&sv.DataLabelOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentFunnelChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentFunnelChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -59580,6 +61238,7 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.CategoryLabelVisibility = types.Visibility(jtv) } + case "LabelColor": if value != nil { jtv, ok := value.(string) @@ -59588,10 +61247,12 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.LabelColor = ptr.String(jtv) } + case "LabelFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.LabelFontConfiguration, value); err != nil { return err } + case "MeasureDataLabelStyle": if value != nil { jtv, ok := value.(string) @@ -59600,6 +61261,7 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.MeasureDataLabelStyle = types.FunnelChartMeasureDataLabelStyle(jtv) } + case "MeasureLabelVisibility": if value != nil { jtv, ok := value.(string) @@ -59608,6 +61270,7 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.MeasureLabelVisibility = types.Visibility(jtv) } + case "Position": if value != nil { jtv, ok := value.(string) @@ -59616,6 +61279,7 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.Position = types.DataLabelPosition(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -59624,6 +61288,7 @@ func awsRestjson1_deserializeDocumentFunnelChartDataLabelOptions(v **types.Funne } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -59693,6 +61358,7 @@ func awsRestjson1_deserializeDocumentFunnelChartFieldWells(v **types.FunnelChart if err := awsRestjson1_deserializeDocumentFunnelChartAggregatedFieldWells(&sv.FunnelChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -59762,10 +61428,12 @@ func awsRestjson1_deserializeDocumentFunnelChartSortConfiguration(v **types.Funn if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + default: _, _ = key, value @@ -59801,22 +61469,27 @@ func awsRestjson1_deserializeDocumentFunnelChartVisual(v **types.FunnelChartVisu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentFunnelChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -59825,6 +61498,7 @@ func awsRestjson1_deserializeDocumentFunnelChartVisual(v **types.FunnelChartVisu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -59860,6 +61534,7 @@ func awsRestjson1_deserializeDocumentGaugeChartArcConditionalFormatting(v **type if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.ForegroundColor, value); err != nil { return err } + default: _, _ = key, value @@ -59899,6 +61574,7 @@ func awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(v **types.Gaug } sv.BackgroundColor = ptr.String(jtv) } + case "ForegroundColor": if value != nil { jtv, ok := value.(string) @@ -59907,6 +61583,7 @@ func awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(v **types.Gaug } sv.ForegroundColor = ptr.String(jtv) } + default: _, _ = key, value @@ -59942,6 +61619,7 @@ func awsRestjson1_deserializeDocumentGaugeChartConditionalFormatting(v **types.G if err := awsRestjson1_deserializeDocumentGaugeChartConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -59977,10 +61655,12 @@ func awsRestjson1_deserializeDocumentGaugeChartConditionalFormattingOption(v **t if err := awsRestjson1_deserializeDocumentGaugeChartArcConditionalFormatting(&sv.Arc, value); err != nil { return err } + case "PrimaryValue": if err := awsRestjson1_deserializeDocumentGaugeChartPrimaryValueConditionalFormatting(&sv.PrimaryValue, value); err != nil { return err } + default: _, _ = key, value @@ -60050,30 +61730,37 @@ func awsRestjson1_deserializeDocumentGaugeChartConfiguration(v **types.GaugeChar if err := awsRestjson1_deserializeDocumentGaugeChartColorConfiguration(&sv.ColorConfiguration, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentGaugeChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "GaugeChartOptions": if err := awsRestjson1_deserializeDocumentGaugeChartOptions(&sv.GaugeChartOptions, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "TooltipOptions": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.TooltipOptions, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -60109,10 +61796,12 @@ func awsRestjson1_deserializeDocumentGaugeChartFieldWells(v **types.GaugeChartFi if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.TargetValues, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -60148,14 +61837,17 @@ func awsRestjson1_deserializeDocumentGaugeChartOptions(v **types.GaugeChartOptio if err := awsRestjson1_deserializeDocumentArcConfiguration(&sv.Arc, value); err != nil { return err } + case "ArcAxis": if err := awsRestjson1_deserializeDocumentArcAxisConfiguration(&sv.ArcAxis, value); err != nil { return err } + case "Comparison": if err := awsRestjson1_deserializeDocumentComparisonConfiguration(&sv.Comparison, value); err != nil { return err } + case "PrimaryValueDisplayType": if value != nil { jtv, ok := value.(string) @@ -60164,10 +61856,12 @@ func awsRestjson1_deserializeDocumentGaugeChartOptions(v **types.GaugeChartOptio } sv.PrimaryValueDisplayType = types.PrimaryValueDisplayType(jtv) } + case "PrimaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.PrimaryValueFontConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -60203,10 +61897,12 @@ func awsRestjson1_deserializeDocumentGaugeChartPrimaryValueConditionalFormatting if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -60242,22 +61938,27 @@ func awsRestjson1_deserializeDocumentGaugeChartVisual(v **types.GaugeChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentGaugeChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentGaugeChartConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -60266,6 +61967,7 @@ func awsRestjson1_deserializeDocumentGaugeChartVisual(v **types.GaugeChartVisual } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -60301,6 +62003,7 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC if err := awsRestjson1_deserializeDocumentColumnList(&sv.Columns, value); err != nil { return err } + case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -60309,6 +62012,7 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC } sv.CountryCode = types.GeoSpatialCountryCode(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -60317,6 +62021,7 @@ func awsRestjson1_deserializeDocumentGeoSpatialColumnGroup(v **types.GeoSpatialC } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -60381,6 +62086,7 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } + case "North": if value != nil { switch jtv := value.(type) { @@ -60414,6 +62120,7 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } + case "South": if value != nil { switch jtv := value.(type) { @@ -60447,6 +62154,7 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } + case "West": if value != nil { switch jtv := value.(type) { @@ -60480,6 +62188,7 @@ func awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(v **types.Geospa } } + default: _, _ = key, value @@ -60515,6 +62224,7 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapColorScale(v **types.Geosp if err := awsRestjson1_deserializeDocumentGeospatialHeatmapDataColorList(&sv.Colors, value); err != nil { return err } + default: _, _ = key, value @@ -60550,6 +62260,7 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapConfiguration(v **types.Ge if err := awsRestjson1_deserializeDocumentGeospatialHeatmapColorScale(&sv.HeatmapColor, value); err != nil { return err } + default: _, _ = key, value @@ -60589,6 +62300,7 @@ func awsRestjson1_deserializeDocumentGeospatialHeatmapDataColor(v **types.Geospa } sv.Color = ptr.String(jtv) } + default: _, _ = key, value @@ -60658,14 +62370,17 @@ func awsRestjson1_deserializeDocumentGeospatialMapAggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } + case "Geospatial": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Geospatial, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -60701,34 +62416,42 @@ func awsRestjson1_deserializeDocumentGeospatialMapConfiguration(v **types.Geospa if err := awsRestjson1_deserializeDocumentGeospatialMapFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "MapStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(&sv.MapStyleOptions, value); err != nil { return err } + case "PointStyleOptions": if err := awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(&sv.PointStyleOptions, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + case "WindowOptions": if err := awsRestjson1_deserializeDocumentGeospatialWindowOptions(&sv.WindowOptions, value); err != nil { return err } + default: _, _ = key, value @@ -60764,6 +62487,7 @@ func awsRestjson1_deserializeDocumentGeospatialMapFieldWells(v **types.Geospatia if err := awsRestjson1_deserializeDocumentGeospatialMapAggregatedFieldWells(&sv.GeospatialMapAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -60803,6 +62527,7 @@ func awsRestjson1_deserializeDocumentGeospatialMapStyleOptions(v **types.Geospat } sv.BaseMapStyle = types.BaseMapStyleType(jtv) } + default: _, _ = key, value @@ -60838,22 +62563,27 @@ func awsRestjson1_deserializeDocumentGeospatialMapVisual(v **types.GeospatialMap if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentGeospatialMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -60862,6 +62592,7 @@ func awsRestjson1_deserializeDocumentGeospatialMapVisual(v **types.GeospatialMap } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -60897,10 +62628,12 @@ func awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(v **types.Geosp if err := awsRestjson1_deserializeDocumentClusterMarkerConfiguration(&sv.ClusterMarkerConfiguration, value); err != nil { return err } + case "HeatmapConfiguration": if err := awsRestjson1_deserializeDocumentGeospatialHeatmapConfiguration(&sv.HeatmapConfiguration, value); err != nil { return err } + case "SelectedPointStyle": if value != nil { jtv, ok := value.(string) @@ -60909,6 +62642,7 @@ func awsRestjson1_deserializeDocumentGeospatialPointStyleOptions(v **types.Geosp } sv.SelectedPointStyle = types.GeospatialSelectedPointStyle(jtv) } + default: _, _ = key, value @@ -60944,6 +62678,7 @@ func awsRestjson1_deserializeDocumentGeospatialWindowOptions(v **types.Geospatia if err := awsRestjson1_deserializeDocumentGeospatialCoordinateBounds(&sv.Bounds, value); err != nil { return err } + case "MapZoomMode": if value != nil { jtv, ok := value.(string) @@ -60952,6 +62687,7 @@ func awsRestjson1_deserializeDocumentGeospatialWindowOptions(v **types.Geospatia } sv.MapZoomMode = types.MapZoomMode(jtv) } + default: _, _ = key, value @@ -60987,10 +62723,12 @@ func awsRestjson1_deserializeDocumentGlobalTableBorderOptions(v **types.GlobalTa if err := awsRestjson1_deserializeDocumentTableSideBorderOptions(&sv.SideSpecificBorder, value); err != nil { return err } + case "UniformBorder": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.UniformBorder, value); err != nil { return err } + default: _, _ = key, value @@ -61026,6 +62764,7 @@ func awsRestjson1_deserializeDocumentGradientColor(v **types.GradientColor, valu if err := awsRestjson1_deserializeDocumentGradientStopList(&sv.Stops, value); err != nil { return err } + default: _, _ = key, value @@ -61065,6 +62804,7 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } sv.Color = ptr.String(jtv) } + case "DataValue": if value != nil { switch jtv := value.(type) { @@ -61098,6 +62838,7 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } } + case "GradientOffset": if value != nil { switch jtv := value.(type) { @@ -61131,6 +62872,7 @@ func awsRestjson1_deserializeDocumentGradientStop(v **types.GradientStop, value } } + default: _, _ = key, value @@ -61200,6 +62942,7 @@ func awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(v **types.GridL if err := awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(&sv.ScreenCanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -61235,10 +62978,12 @@ func awsRestjson1_deserializeDocumentGridLayoutConfiguration(v **types.GridLayou if err := awsRestjson1_deserializeDocumentGridLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + case "Elements": if err := awsRestjson1_deserializeDocumentGridLayoutElementList(&sv.Elements, value); err != nil { return err } + default: _, _ = key, value @@ -61282,6 +63027,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ColumnIndex = ptr.Int32(int32(i64)) } + case "ColumnSpan": if value != nil { jtv, ok := value.(json.Number) @@ -61294,6 +63040,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ColumnSpan = ptr.Int32(int32(i64)) } + case "ElementId": if value != nil { jtv, ok := value.(string) @@ -61302,6 +63049,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ElementId = ptr.String(jtv) } + case "ElementType": if value != nil { jtv, ok := value.(string) @@ -61310,6 +63058,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.ElementType = types.LayoutElementType(jtv) } + case "RowIndex": if value != nil { jtv, ok := value.(json.Number) @@ -61322,6 +63071,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.RowIndex = ptr.Int32(int32(i64)) } + case "RowSpan": if value != nil { jtv, ok := value.(json.Number) @@ -61334,6 +63084,7 @@ func awsRestjson1_deserializeDocumentGridLayoutElement(v **types.GridLayoutEleme } sv.RowSpan = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -61407,6 +63158,7 @@ func awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(v **types } sv.OptimizedViewPortWidth = ptr.String(jtv) } + case "ResizeOption": if value != nil { jtv, ok := value.(string) @@ -61415,6 +63167,7 @@ func awsRestjson1_deserializeDocumentGridLayoutScreenCanvasSizeOptions(v **types } sv.ResizeOption = types.ResizeOption(jtv) } + default: _, _ = key, value @@ -61454,6 +63207,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -61462,6 +63216,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -61470,6 +63225,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupName = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -61478,6 +63234,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.PrincipalId = ptr.String(jtv) } + default: _, _ = key, value @@ -61551,6 +63308,7 @@ func awsRestjson1_deserializeDocumentGroupMember(v **types.GroupMember, value in } sv.Arn = ptr.String(jtv) } + case "MemberName": if value != nil { jtv, ok := value.(string) @@ -61559,6 +63317,7 @@ func awsRestjson1_deserializeDocumentGroupMember(v **types.GroupMember, value in } sv.MemberName = ptr.String(jtv) } + default: _, _ = key, value @@ -61668,6 +63427,7 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -61676,6 +63436,7 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.Name = ptr.String(jtv) } + case "PeriodSize": if value != nil { jtv, ok := value.(json.Number) @@ -61688,14 +63449,17 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC } sv.PeriodSize = ptr.Int32(int32(i64)) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -61735,6 +63499,7 @@ func awsRestjson1_deserializeDocumentGutterStyle(v **types.GutterStyle, value in } sv.Show = ptr.Bool(jtv) } + default: _, _ = key, value @@ -61770,6 +63535,7 @@ func awsRestjson1_deserializeDocumentHeaderFooterSectionConfiguration(v **types. if err := awsRestjson1_deserializeDocumentSectionLayoutConfiguration(&sv.Layout, value); err != nil { return err } + case "SectionId": if value != nil { jtv, ok := value.(string) @@ -61778,10 +63544,12 @@ func awsRestjson1_deserializeDocumentHeaderFooterSectionConfiguration(v **types. } sv.SectionId = ptr.String(jtv) } + case "Style": if err := awsRestjson1_deserializeDocumentSectionStyle(&sv.Style, value); err != nil { return err } + default: _, _ = key, value @@ -61851,14 +63619,17 @@ func awsRestjson1_deserializeDocumentHeatMapAggregatedFieldWells(v **types.HeatM if err := awsRestjson1_deserializeDocumentHeatMapDimensionFieldList(&sv.Columns, value); err != nil { return err } + case "Rows": if err := awsRestjson1_deserializeDocumentHeatMapDimensionFieldList(&sv.Rows, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentHeatMapMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -61894,38 +63665,47 @@ func awsRestjson1_deserializeDocumentHeatMapConfiguration(v **types.HeatMapConfi if err := awsRestjson1_deserializeDocumentColorScale(&sv.ColorScale, value); err != nil { return err } + case "ColumnLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColumnLabelOptions, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentHeatMapFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "RowLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.RowLabelOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentHeatMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + default: _, _ = key, value @@ -61995,6 +63775,7 @@ func awsRestjson1_deserializeDocumentHeatMapFieldWells(v **types.HeatMapFieldWel if err := awsRestjson1_deserializeDocumentHeatMapAggregatedFieldWells(&sv.HeatMapAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -62064,18 +63845,22 @@ func awsRestjson1_deserializeDocumentHeatMapSortConfiguration(v **types.HeatMapS if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.HeatMapColumnItemsLimitConfiguration, value); err != nil { return err } + case "HeatMapColumnSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.HeatMapColumnSort, value); err != nil { return err } + case "HeatMapRowItemsLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.HeatMapRowItemsLimitConfiguration, value); err != nil { return err } + case "HeatMapRowSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.HeatMapRowSort, value); err != nil { return err } + default: _, _ = key, value @@ -62111,22 +63896,27 @@ func awsRestjson1_deserializeDocumentHeatMapVisual(v **types.HeatMapVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentHeatMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -62135,6 +63925,7 @@ func awsRestjson1_deserializeDocumentHeatMapVisual(v **types.HeatMapVisual, valu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -62170,6 +63961,7 @@ func awsRestjson1_deserializeDocumentHistogramAggregatedFieldWells(v **types.His if err := awsRestjson1_deserializeDocumentHistogramMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -62205,10 +63997,12 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO if err := awsRestjson1_deserializeDocumentBinCountOptions(&sv.BinCount, value); err != nil { return err } + case "BinWidth": if err := awsRestjson1_deserializeDocumentBinWidthOptions(&sv.BinWidth, value); err != nil { return err } + case "SelectedBinType": if value != nil { jtv, ok := value.(string) @@ -62217,6 +64011,7 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO } sv.SelectedBinType = types.HistogramBinType(jtv) } + case "StartValue": if value != nil { switch jtv := value.(type) { @@ -62250,6 +64045,7 @@ func awsRestjson1_deserializeDocumentHistogramBinOptions(v **types.HistogramBinO } } + default: _, _ = key, value @@ -62285,38 +64081,47 @@ func awsRestjson1_deserializeDocumentHistogramConfiguration(v **types.HistogramC if err := awsRestjson1_deserializeDocumentHistogramBinOptions(&sv.BinOptions, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentHistogramFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } + case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } + case "YAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.YAxisDisplayOptions, value); err != nil { return err } + default: _, _ = key, value @@ -62352,6 +64157,7 @@ func awsRestjson1_deserializeDocumentHistogramFieldWells(v **types.HistogramFiel if err := awsRestjson1_deserializeDocumentHistogramAggregatedFieldWells(&sv.HistogramAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -62421,18 +64227,22 @@ func awsRestjson1_deserializeDocumentHistogramVisual(v **types.HistogramVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentHistogramConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -62441,6 +64251,7 @@ func awsRestjson1_deserializeDocumentHistogramVisual(v **types.HistogramVisual, } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -62480,6 +64291,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentId = ptr.String(jtv) } + case "AssignmentName": if value != nil { jtv, ok := value.(string) @@ -62488,6 +64300,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentName = ptr.String(jtv) } + case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -62496,6 +64309,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AssignmentStatus = types.AssignmentStatus(jtv) } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -62504,10 +64318,12 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.AwsAccountId = ptr.String(jtv) } + case "Identities": if err := awsRestjson1_deserializeDocumentIdentityMap(&sv.Identities, value); err != nil { return err } + case "PolicyArn": if value != nil { jtv, ok := value.(string) @@ -62516,6 +64332,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignment(v **types.IAMPolicyAssi } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -62555,6 +64372,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummary(v **types.IAMPol } sv.AssignmentName = ptr.String(jtv) } + case "AssignmentStatus": if value != nil { jtv, ok := value.(string) @@ -62563,6 +64381,7 @@ func awsRestjson1_deserializeDocumentIAMPolicyAssignmentSummary(v **types.IAMPol } sv.AssignmentStatus = types.AssignmentStatus(jtv) } + default: _, _ = key, value @@ -62636,6 +64455,7 @@ func awsRestjson1_deserializeDocumentIdentifier(v **types.Identifier, value inte } sv.Identity = ptr.String(jtv) } + default: _, _ = key, value @@ -62675,6 +64495,7 @@ func awsRestjson1_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.EnableIdentityPropagation = ptr.Bool(jtv) } + default: _, _ = key, value @@ -62784,6 +64605,7 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -62792,6 +64614,7 @@ func awsRestjson1_deserializeDocumentIdentityTypeNotSupportedException(v **types } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -62827,6 +64650,7 @@ func awsRestjson1_deserializeDocumentIncrementalRefresh(v **types.IncrementalRef if err := awsRestjson1_deserializeDocumentLookbackWindow(&sv.LookbackWindow, value); err != nil { return err } + default: _, _ = key, value @@ -62866,6 +64690,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -62881,10 +64706,12 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } } + case "ErrorInfo": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.ErrorInfo, value); err != nil { return err } + case "IngestionId": if value != nil { jtv, ok := value.(string) @@ -62893,6 +64720,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionId = ptr.String(jtv) } + case "IngestionSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -62905,6 +64733,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionSizeInBytes = ptr.Int64(i64) } + case "IngestionStatus": if value != nil { jtv, ok := value.(string) @@ -62913,6 +64742,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionStatus = types.IngestionStatus(jtv) } + case "IngestionTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -62925,10 +64755,12 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.IngestionTimeInSeconds = ptr.Int64(i64) } + case "QueueInfo": if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { return err } + case "RequestSource": if value != nil { jtv, ok := value.(string) @@ -62937,6 +64769,7 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.RequestSource = types.IngestionRequestSource(jtv) } + case "RequestType": if value != nil { jtv, ok := value.(string) @@ -62945,10 +64778,12 @@ func awsRestjson1_deserializeDocumentIngestion(v **types.Ingestion, value interf } sv.RequestType = types.IngestionRequestType(jtv) } + case "RowInfo": if err := awsRestjson1_deserializeDocumentRowInfo(&sv.RowInfo, value); err != nil { return err } + default: _, _ = key, value @@ -63018,6 +64853,7 @@ func awsRestjson1_deserializeDocumentInnerFilter(v **types.InnerFilter, value in if err := awsRestjson1_deserializeDocumentCategoryInnerFilter(&sv.CategoryInnerFilter, value); err != nil { return err } + default: _, _ = key, value @@ -63057,6 +64893,7 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.Name = ptr.String(jtv) } + case "SubType": if value != nil { jtv, ok := value.(string) @@ -63065,6 +64902,7 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.SubType = types.ColumnDataSubType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -63073,6 +64911,7 @@ func awsRestjson1_deserializeDocumentInputColumn(v **types.InputColumn, value in } sv.Type = types.InputColumnDataType(jtv) } + default: _, _ = key, value @@ -63142,14 +64981,17 @@ func awsRestjson1_deserializeDocumentInsightConfiguration(v **types.InsightConfi if err := awsRestjson1_deserializeDocumentComputationList(&sv.Computations, value); err != nil { return err } + case "CustomNarrative": if err := awsRestjson1_deserializeDocumentCustomNarrativeOptions(&sv.CustomNarrative, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + default: _, _ = key, value @@ -63185,6 +65027,7 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "DataSetIdentifier": if value != nil { jtv, ok := value.(string) @@ -63193,18 +65036,22 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu } sv.DataSetIdentifier = ptr.String(jtv) } + case "InsightConfiguration": if err := awsRestjson1_deserializeDocumentInsightConfiguration(&sv.InsightConfiguration, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -63213,6 +65060,7 @@ func awsRestjson1_deserializeDocumentInsightVisual(v **types.InsightVisual, valu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -63248,6 +65096,7 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -63256,6 +65105,7 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -63264,6 +65114,7 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.Name = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -63272,6 +65123,7 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameter(v **types.IntegerDa } sv.ValueType = types.DatasetParameterValueType(jtv) } + default: _, _ = key, value @@ -63307,6 +65159,7 @@ func awsRestjson1_deserializeDocumentIntegerDatasetParameterDefaultValues(v **ty if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -63422,10 +65275,12 @@ func awsRestjson1_deserializeDocumentIntegerDefaultValues(v **types.IntegerDefau if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } + case "StaticValues": if err := awsRestjson1_deserializeDocumentIntegerDefaultValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -63465,10 +65320,12 @@ func awsRestjson1_deserializeDocumentIntegerParameter(v **types.IntegerParameter } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentSensitiveLongList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -63504,10 +65361,12 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ if err := awsRestjson1_deserializeDocumentIntegerDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -63516,6 +65375,7 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ } sv.Name = ptr.String(jtv) } + case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -63524,10 +65384,12 @@ func awsRestjson1_deserializeDocumentIntegerParameterDeclaration(v **types.Integ } sv.ParameterValueType = types.ParameterValueType(jtv) } + case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } + default: _, _ = key, value @@ -63605,6 +65467,7 @@ func awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(v **type } sv.CustomValue = ptr.Int64(i64) } + case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -63613,6 +65476,7 @@ func awsRestjson1_deserializeDocumentIntegerValueWhenUnsetConfiguration(v **type } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } + default: _, _ = key, value @@ -63652,6 +65516,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -63660,6 +65525,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -63699,6 +65565,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -63707,6 +65574,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -63746,6 +65614,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -63754,6 +65623,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterValueException(v **types.In } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -63793,6 +65663,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -63801,6 +65672,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -63840,6 +65712,7 @@ func awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswer(v **types.Invali } sv.AnswerId = ptr.String(jtv) } + case "Error": if value != nil { jtv, ok := value.(string) @@ -63848,6 +65721,7 @@ func awsRestjson1_deserializeDocumentInvalidTopicReviewedAnswer(v **types.Invali } sv.Error = types.ReviewedAnswerErrorCode(jtv) } + default: _, _ = key, value @@ -63961,6 +65835,7 @@ func awsRestjson1_deserializeDocumentItemsLimitConfiguration(v **types.ItemsLimi } sv.ItemsLimit = ptr.Int64(i64) } + case "OtherCategories": if value != nil { jtv, ok := value.(string) @@ -63969,6 +65844,7 @@ func awsRestjson1_deserializeDocumentItemsLimitConfiguration(v **types.ItemsLimi } sv.OtherCategories = types.OtherCategories(jtv) } + default: _, _ = key, value @@ -64008,6 +65884,7 @@ func awsRestjson1_deserializeDocumentJiraParameters(v **types.JiraParameters, va } sv.SiteBaseUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -64043,6 +65920,7 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, if err := awsRestjson1_deserializeDocumentJoinKeyProperties(&sv.LeftJoinKeyProperties, value); err != nil { return err } + case "LeftOperand": if value != nil { jtv, ok := value.(string) @@ -64051,6 +65929,7 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.LeftOperand = ptr.String(jtv) } + case "OnClause": if value != nil { jtv, ok := value.(string) @@ -64059,10 +65938,12 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.OnClause = ptr.String(jtv) } + case "RightJoinKeyProperties": if err := awsRestjson1_deserializeDocumentJoinKeyProperties(&sv.RightJoinKeyProperties, value); err != nil { return err } + case "RightOperand": if value != nil { jtv, ok := value.(string) @@ -64071,6 +65952,7 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.RightOperand = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -64079,6 +65961,7 @@ func awsRestjson1_deserializeDocumentJoinInstruction(v **types.JoinInstruction, } sv.Type = types.JoinType(jtv) } + default: _, _ = key, value @@ -64118,6 +66001,7 @@ func awsRestjson1_deserializeDocumentJoinKeyProperties(v **types.JoinKeyProperti } sv.UniqueKey = ptr.Bool(jtv) } + default: _, _ = key, value @@ -64187,10 +66071,12 @@ func awsRestjson1_deserializeDocumentKPIActualValueConditionalFormatting(v **typ if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -64226,10 +66112,12 @@ func awsRestjson1_deserializeDocumentKPIComparisonValueConditionalFormatting(v * if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -64265,6 +66153,7 @@ func awsRestjson1_deserializeDocumentKPIConditionalFormatting(v **types.KPICondi if err := awsRestjson1_deserializeDocumentKPIConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -64300,18 +66189,22 @@ func awsRestjson1_deserializeDocumentKPIConditionalFormattingOption(v **types.KP if err := awsRestjson1_deserializeDocumentKPIActualValueConditionalFormatting(&sv.ActualValue, value); err != nil { return err } + case "ComparisonValue": if err := awsRestjson1_deserializeDocumentKPIComparisonValueConditionalFormatting(&sv.ComparisonValue, value); err != nil { return err } + case "PrimaryValue": if err := awsRestjson1_deserializeDocumentKPIPrimaryValueConditionalFormatting(&sv.PrimaryValue, value); err != nil { return err } + case "ProgressBar": if err := awsRestjson1_deserializeDocumentKPIProgressBarConditionalFormatting(&sv.ProgressBar, value); err != nil { return err } + default: _, _ = key, value @@ -64381,18 +66274,22 @@ func awsRestjson1_deserializeDocumentKPIConfiguration(v **types.KPIConfiguration if err := awsRestjson1_deserializeDocumentKPIFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "KPIOptions": if err := awsRestjson1_deserializeDocumentKPIOptions(&sv.KPIOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentKPISortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -64428,14 +66325,17 @@ func awsRestjson1_deserializeDocumentKPIFieldWells(v **types.KPIFieldWells, valu if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.TargetValues, value); err != nil { return err } + case "TrendGroups": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.TrendGroups, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -64471,6 +66371,7 @@ func awsRestjson1_deserializeDocumentKPIOptions(v **types.KPIOptions, value inte if err := awsRestjson1_deserializeDocumentComparisonConfiguration(&sv.Comparison, value); err != nil { return err } + case "PrimaryValueDisplayType": if value != nil { jtv, ok := value.(string) @@ -64479,34 +66380,42 @@ func awsRestjson1_deserializeDocumentKPIOptions(v **types.KPIOptions, value inte } sv.PrimaryValueDisplayType = types.PrimaryValueDisplayType(jtv) } + case "PrimaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.PrimaryValueFontConfiguration, value); err != nil { return err } + case "ProgressBar": if err := awsRestjson1_deserializeDocumentProgressBarOptions(&sv.ProgressBar, value); err != nil { return err } + case "SecondaryValue": if err := awsRestjson1_deserializeDocumentSecondaryValueOptions(&sv.SecondaryValue, value); err != nil { return err } + case "SecondaryValueFontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.SecondaryValueFontConfiguration, value); err != nil { return err } + case "Sparkline": if err := awsRestjson1_deserializeDocumentKPISparklineOptions(&sv.Sparkline, value); err != nil { return err } + case "TrendArrows": if err := awsRestjson1_deserializeDocumentTrendArrowOptions(&sv.TrendArrows, value); err != nil { return err } + case "VisualLayoutOptions": if err := awsRestjson1_deserializeDocumentKPIVisualLayoutOptions(&sv.VisualLayoutOptions, value); err != nil { return err } + default: _, _ = key, value @@ -64542,10 +66451,12 @@ func awsRestjson1_deserializeDocumentKPIPrimaryValueConditionalFormatting(v **ty if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -64581,6 +66492,7 @@ func awsRestjson1_deserializeDocumentKPIProgressBarConditionalFormatting(v **typ if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.ForegroundColor, value); err != nil { return err } + default: _, _ = key, value @@ -64616,6 +66528,7 @@ func awsRestjson1_deserializeDocumentKPISortConfiguration(v **types.KPISortConfi if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.TrendGroupSort, value); err != nil { return err } + default: _, _ = key, value @@ -64655,6 +66568,7 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Color = ptr.String(jtv) } + case "TooltipVisibility": if value != nil { jtv, ok := value.(string) @@ -64663,6 +66577,7 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.TooltipVisibility = types.Visibility(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -64671,6 +66586,7 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Type = types.KPISparklineType(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -64679,6 +66595,7 @@ func awsRestjson1_deserializeDocumentKPISparklineOptions(v **types.KPISparklineO } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -64714,26 +66631,32 @@ func awsRestjson1_deserializeDocumentKPIVisual(v **types.KPIVisual, value interf if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentKPIConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentKPIConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -64742,6 +66665,7 @@ func awsRestjson1_deserializeDocumentKPIVisual(v **types.KPIVisual, value interf } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -64777,6 +66701,7 @@ func awsRestjson1_deserializeDocumentKPIVisualLayoutOptions(v **types.KPIVisualL if err := awsRestjson1_deserializeDocumentKPIVisualStandardLayout(&sv.StandardLayout, value); err != nil { return err } + default: _, _ = key, value @@ -64816,6 +66741,7 @@ func awsRestjson1_deserializeDocumentKPIVisualStandardLayout(v **types.KPIVisual } sv.Type = types.KPIVisualStandardLayoutType(jtv) } + default: _, _ = key, value @@ -64855,10 +66781,12 @@ func awsRestjson1_deserializeDocumentLabelOptions(v **types.LabelOptions, value } sv.CustomLabel = ptr.String(jtv) } + case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -64867,6 +66795,7 @@ func awsRestjson1_deserializeDocumentLabelOptions(v **types.LabelOptions, value } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -64902,6 +66831,7 @@ func awsRestjson1_deserializeDocumentLayout(v **types.Layout, value interface{}) if err := awsRestjson1_deserializeDocumentLayoutConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -64937,14 +66867,17 @@ func awsRestjson1_deserializeDocumentLayoutConfiguration(v **types.LayoutConfigu if err := awsRestjson1_deserializeDocumentFreeFormLayoutConfiguration(&sv.FreeFormLayout, value); err != nil { return err } + case "GridLayout": if err := awsRestjson1_deserializeDocumentGridLayoutConfiguration(&sv.GridLayout, value); err != nil { return err } + case "SectionBasedLayout": if err := awsRestjson1_deserializeDocumentSectionBasedLayoutConfiguration(&sv.SectionBasedLayout, value); err != nil { return err } + default: _, _ = key, value @@ -65018,6 +66951,7 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Height = ptr.String(jtv) } + case "Position": if value != nil { jtv, ok := value.(string) @@ -65026,10 +66960,12 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Position = types.LegendPosition(jtv) } + case "Title": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.Title, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -65038,6 +66974,7 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Visibility = types.Visibility(jtv) } + case "Width": if value != nil { jtv, ok := value.(string) @@ -65046,6 +66983,7 @@ func awsRestjson1_deserializeDocumentLegendOptions(v **types.LegendOptions, valu } sv.Width = ptr.String(jtv) } + default: _, _ = key, value @@ -65085,6 +67023,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -65093,6 +67032,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.RequestId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -65101,6 +67041,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = types.ExceptionResourceType(jtv) } + default: _, _ = key, value @@ -65136,18 +67077,22 @@ func awsRestjson1_deserializeDocumentLineChartAggregatedFieldWells(v **types.Lin if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Colors": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Colors, value); err != nil { return err } + case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -65183,70 +67128,87 @@ func awsRestjson1_deserializeDocumentLineChartConfiguration(v **types.LineChartC if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "DefaultSeriesSettings": if err := awsRestjson1_deserializeDocumentLineChartDefaultSeriesSettings(&sv.DefaultSeriesSettings, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentLineChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "ForecastConfigurations": if err := awsRestjson1_deserializeDocumentForecastConfigurationList(&sv.ForecastConfigurations, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } + case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } + case "ReferenceLines": if err := awsRestjson1_deserializeDocumentReferenceLineList(&sv.ReferenceLines, value); err != nil { return err } + case "SecondaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(&sv.SecondaryYAxisDisplayOptions, value); err != nil { return err } + case "SecondaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SecondaryYAxisLabelOptions, value); err != nil { return err } + case "Series": if err := awsRestjson1_deserializeDocumentSeriesItemList(&sv.Series, value); err != nil { return err } + case "SingleAxisOptions": if err := awsRestjson1_deserializeDocumentSingleAxisOptions(&sv.SingleAxisOptions, value); err != nil { return err } + case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentLineChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -65255,18 +67217,22 @@ func awsRestjson1_deserializeDocumentLineChartConfiguration(v **types.LineChartC } sv.Type = types.LineChartType(jtv) } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } + case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } + default: _, _ = key, value @@ -65306,14 +67272,17 @@ func awsRestjson1_deserializeDocumentLineChartDefaultSeriesSettings(v **types.Li } sv.AxisBinding = types.AxisBinding(jtv) } + case "LineStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartLineStyleSettings(&sv.LineStyleSettings, value); err != nil { return err } + case "MarkerStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(&sv.MarkerStyleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -65349,6 +67318,7 @@ func awsRestjson1_deserializeDocumentLineChartFieldWells(v **types.LineChartFiel if err := awsRestjson1_deserializeDocumentLineChartAggregatedFieldWells(&sv.LineChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -65388,6 +67358,7 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineInterpolation = types.LineInterpolation(jtv) } + case "LineStyle": if value != nil { jtv, ok := value.(string) @@ -65396,6 +67367,7 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineStyle = types.LineChartLineStyle(jtv) } + case "LineVisibility": if value != nil { jtv, ok := value.(string) @@ -65404,6 +67376,7 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineVisibility = types.Visibility(jtv) } + case "LineWidth": if value != nil { jtv, ok := value.(string) @@ -65412,6 +67385,7 @@ func awsRestjson1_deserializeDocumentLineChartLineStyleSettings(v **types.LineCh } sv.LineWidth = ptr.String(jtv) } + default: _, _ = key, value @@ -65451,6 +67425,7 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerColor = ptr.String(jtv) } + case "MarkerShape": if value != nil { jtv, ok := value.(string) @@ -65459,6 +67434,7 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerShape = types.LineChartMarkerShape(jtv) } + case "MarkerSize": if value != nil { jtv, ok := value.(string) @@ -65467,6 +67443,7 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerSize = ptr.String(jtv) } + case "MarkerVisibility": if value != nil { jtv, ok := value.(string) @@ -65475,6 +67452,7 @@ func awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(v **types.Line } sv.MarkerVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -65510,10 +67488,12 @@ func awsRestjson1_deserializeDocumentLineChartSeriesSettings(v **types.LineChart if err := awsRestjson1_deserializeDocumentLineChartLineStyleSettings(&sv.LineStyleSettings, value); err != nil { return err } + case "MarkerStyleSettings": if err := awsRestjson1_deserializeDocumentLineChartMarkerStyleSettings(&sv.MarkerStyleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -65549,22 +67529,27 @@ func awsRestjson1_deserializeDocumentLineChartSortConfiguration(v **types.LineCh if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimitConfiguration, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "ColorItemsLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimitConfiguration, value); err != nil { return err } + case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } + case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } + default: _, _ = key, value @@ -65600,22 +67585,27 @@ func awsRestjson1_deserializeDocumentLineChartVisual(v **types.LineChartVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentLineChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -65624,6 +67614,7 @@ func awsRestjson1_deserializeDocumentLineChartVisual(v **types.LineChartVisual, } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -65659,10 +67650,12 @@ func awsRestjson1_deserializeDocumentLineSeriesAxisDisplayOptions(v **types.Line if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.AxisOptions, value); err != nil { return err } + case "MissingDataConfigurations": if err := awsRestjson1_deserializeDocumentMissingDataConfigurationList(&sv.MissingDataConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -65734,6 +67727,7 @@ func awsRestjson1_deserializeDocumentLinkSharingConfiguration(v **types.LinkShar if err := awsRestjson1_deserializeDocumentResourcePermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -65769,18 +67763,22 @@ func awsRestjson1_deserializeDocumentListControlDisplayOptions(v **types.ListCon if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "SearchOptions": if err := awsRestjson1_deserializeDocumentListControlSearchOptions(&sv.SearchOptions, value); err != nil { return err } + case "SelectAllOptions": if err := awsRestjson1_deserializeDocumentListControlSelectAllOptions(&sv.SelectAllOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -65820,6 +67818,7 @@ func awsRestjson1_deserializeDocumentListControlSearchOptions(v **types.ListCont } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -65859,6 +67858,7 @@ func awsRestjson1_deserializeDocumentListControlSelectAllOptions(v **types.ListC } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -65898,6 +67898,7 @@ func awsRestjson1_deserializeDocumentLoadingAnimation(v **types.LoadingAnimation } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -65937,6 +67938,7 @@ func awsRestjson1_deserializeDocumentLocalNavigationConfiguration(v **types.Loca } sv.TargetSheetId = ptr.String(jtv) } + default: _, _ = key, value @@ -65976,14 +67978,17 @@ func awsRestjson1_deserializeDocumentLogicalTable(v **types.LogicalTable, value } sv.Alias = ptr.String(jtv) } + case "DataTransforms": if err := awsRestjson1_deserializeDocumentTransformOperationList(&sv.DataTransforms, value); err != nil { return err } + case "Source": if err := awsRestjson1_deserializeDocumentLogicalTableSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -66058,10 +68063,12 @@ func awsRestjson1_deserializeDocumentLogicalTableSource(v **types.LogicalTableSo } sv.DataSetArn = ptr.String(jtv) } + case "JoinInstruction": if err := awsRestjson1_deserializeDocumentJoinInstruction(&sv.JoinInstruction, value); err != nil { return err } + case "PhysicalTableId": if value != nil { jtv, ok := value.(string) @@ -66070,6 +68077,7 @@ func awsRestjson1_deserializeDocumentLogicalTableSource(v **types.LogicalTableSo } sv.PhysicalTableId = ptr.String(jtv) } + default: _, _ = key, value @@ -66109,6 +68117,7 @@ func awsRestjson1_deserializeDocumentLongFormatText(v **types.LongFormatText, va } sv.PlainText = ptr.String(jtv) } + case "RichText": if value != nil { jtv, ok := value.(string) @@ -66117,6 +68126,7 @@ func awsRestjson1_deserializeDocumentLongFormatText(v **types.LongFormatText, va } sv.RichText = ptr.String(jtv) } + default: _, _ = key, value @@ -66156,6 +68166,7 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.ColumnName = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -66168,6 +68179,7 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.Size = ptr.Int64(i64) } + case "SizeUnit": if value != nil { jtv, ok := value.(string) @@ -66176,6 +68188,7 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va } sv.SizeUnit = types.LookbackWindowSizeUnit(jtv) } + default: _, _ = key, value @@ -66215,6 +68228,7 @@ func awsRestjson1_deserializeDocumentManifestFileLocation(v **types.ManifestFile } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -66223,6 +68237,7 @@ func awsRestjson1_deserializeDocumentManifestFileLocation(v **types.ManifestFile } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -66262,6 +68277,7 @@ func awsRestjson1_deserializeDocumentMappedDataSetParameter(v **types.MappedData } sv.DataSetIdentifier = ptr.String(jtv) } + case "DataSetParameterName": if value != nil { jtv, ok := value.(string) @@ -66270,6 +68286,7 @@ func awsRestjson1_deserializeDocumentMappedDataSetParameter(v **types.MappedData } sv.DataSetParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -66343,6 +68360,7 @@ func awsRestjson1_deserializeDocumentMarginStyle(v **types.MarginStyle, value in } sv.Show = ptr.Bool(jtv) } + default: _, _ = key, value @@ -66382,6 +68400,7 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -66390,6 +68409,7 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -66402,6 +68422,7 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -66441,6 +68462,7 @@ func awsRestjson1_deserializeDocumentMaximumLabelType(v **types.MaximumLabelType } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -66480,6 +68502,7 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -66488,10 +68511,12 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.Name = ptr.String(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -66500,10 +68525,12 @@ func awsRestjson1_deserializeDocumentMaximumMinimumComputation(v **types.Maximum } sv.Type = types.MaximumMinimumComputationType(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -66539,18 +68566,22 @@ func awsRestjson1_deserializeDocumentMeasureField(v **types.MeasureField, value if err := awsRestjson1_deserializeDocumentCalculatedMeasureField(&sv.CalculatedMeasureField, value); err != nil { return err } + case "CategoricalMeasureField": if err := awsRestjson1_deserializeDocumentCategoricalMeasureField(&sv.CategoricalMeasureField, value); err != nil { return err } + case "DateMeasureField": if err := awsRestjson1_deserializeDocumentDateMeasureField(&sv.DateMeasureField, value); err != nil { return err } + case "NumericalMeasureField": if err := awsRestjson1_deserializeDocumentNumericalMeasureField(&sv.NumericalMeasureField, value); err != nil { return err } + default: _, _ = key, value @@ -66624,6 +68655,7 @@ func awsRestjson1_deserializeDocumentMemberIdArnPair(v **types.MemberIdArnPair, } sv.MemberArn = ptr.String(jtv) } + case "MemberId": if value != nil { jtv, ok := value.(string) @@ -66632,6 +68664,7 @@ func awsRestjson1_deserializeDocumentMemberIdArnPair(v **types.MemberIdArnPair, } sv.MemberId = ptr.String(jtv) } + default: _, _ = key, value @@ -66671,10 +68704,12 @@ func awsRestjson1_deserializeDocumentMetricComparisonComputation(v **types.Metri } sv.ComputationId = ptr.String(jtv) } + case "FromValue": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.FromValue, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -66683,14 +68718,17 @@ func awsRestjson1_deserializeDocumentMetricComparisonComputation(v **types.Metri } sv.Name = ptr.String(jtv) } + case "TargetValue": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.TargetValue, value); err != nil { return err } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + default: _, _ = key, value @@ -66730,6 +68768,7 @@ func awsRestjson1_deserializeDocumentMinimumLabelType(v **types.MinimumLabelType } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -66769,6 +68808,7 @@ func awsRestjson1_deserializeDocumentMissingDataConfiguration(v **types.MissingD } sv.TreatmentOption = types.MissingDataTreatmentOption(jtv) } + default: _, _ = key, value @@ -66842,6 +68882,7 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -66850,6 +68891,7 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -66862,6 +68904,7 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -66901,10 +68944,12 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.FieldName = ptr.String(jtv) } + case "Metric": if err := awsRestjson1_deserializeDocumentNamedEntityDefinitionMetric(&sv.Metric, value); err != nil { return err } + case "PropertyName": if value != nil { jtv, ok := value.(string) @@ -66913,6 +68958,7 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyName = ptr.String(jtv) } + case "PropertyRole": if value != nil { jtv, ok := value.(string) @@ -66921,6 +68967,7 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyRole = types.PropertyRole(jtv) } + case "PropertyUsage": if value != nil { jtv, ok := value.(string) @@ -66929,6 +68976,7 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinition(v **types.NamedEntity } sv.PropertyUsage = types.PropertyUsage(jtv) } + default: _, _ = key, value @@ -66968,10 +69016,12 @@ func awsRestjson1_deserializeDocumentNamedEntityDefinitionMetric(v **types.Named } sv.Aggregation = types.NamedEntityAggType(jtv) } + case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggregationFunctionParameters(&sv.AggregationFunctionParameters, value); err != nil { return err } + default: _, _ = key, value @@ -67045,6 +69095,7 @@ func awsRestjson1_deserializeDocumentNamedEntityRef(v **types.NamedEntityRef, va } sv.NamedEntityName = ptr.String(jtv) } + default: _, _ = key, value @@ -67084,6 +69135,7 @@ func awsRestjson1_deserializeDocumentNamespaceError(v **types.NamespaceError, va } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -67092,6 +69144,7 @@ func awsRestjson1_deserializeDocumentNamespaceError(v **types.NamespaceError, va } sv.Type = types.NamespaceErrorType(jtv) } + default: _, _ = key, value @@ -67131,6 +69184,7 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.Arn = ptr.String(jtv) } + case "CapacityRegion": if value != nil { jtv, ok := value.(string) @@ -67139,6 +69193,7 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.CapacityRegion = ptr.String(jtv) } + case "CreationStatus": if value != nil { jtv, ok := value.(string) @@ -67147,6 +69202,7 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.CreationStatus = types.NamespaceStatus(jtv) } + case "IdentityStore": if value != nil { jtv, ok := value.(string) @@ -67155,6 +69211,7 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.IdentityStore = types.IdentityStore(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -67163,10 +69220,12 @@ func awsRestjson1_deserializeDocumentNamespaceInfoV2(v **types.NamespaceInfoV2, } sv.Name = ptr.String(jtv) } + case "NamespaceError": if err := awsRestjson1_deserializeDocumentNamespaceError(&sv.NamespaceError, value); err != nil { return err } + default: _, _ = key, value @@ -67240,6 +69299,7 @@ func awsRestjson1_deserializeDocumentNegativeFormat(v **types.NegativeFormat, va } sv.Prefix = ptr.String(jtv) } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -67248,6 +69308,7 @@ func awsRestjson1_deserializeDocumentNegativeFormat(v **types.NegativeFormat, va } sv.Suffix = ptr.String(jtv) } + default: _, _ = key, value @@ -67287,6 +69348,7 @@ func awsRestjson1_deserializeDocumentNegativeValueConfiguration(v **types.Negati } sv.DisplayMode = types.NegativeValueDisplayMode(jtv) } + default: _, _ = key, value @@ -67322,6 +69384,7 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -67330,6 +69393,7 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value } sv.FilterId = ptr.String(jtv) } + case "IncludeInnerSet": if value != nil { jtv, ok := value.(bool) @@ -67338,10 +69402,12 @@ func awsRestjson1_deserializeDocumentNestedFilter(v **types.NestedFilter, value } sv.IncludeInnerSet = jtv } + case "InnerFilter": if err := awsRestjson1_deserializeDocumentInnerFilter(&sv.InnerFilter, value); err != nil { return err } + default: _, _ = key, value @@ -67381,6 +69447,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AvailabilityZone = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -67389,6 +69456,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.ErrorMessage = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -67397,6 +69465,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -67405,6 +69474,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Status = types.NetworkInterfaceStatus(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -67413,6 +69483,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -67482,18 +69553,22 @@ func awsRestjson1_deserializeDocumentNewDefaultValues(v **types.NewDefaultValues if err := awsRestjson1_deserializeDocumentDateTimeDatasetParameterValueList(&sv.DateTimeStaticValues, value); err != nil { return err } + case "DecimalStaticValues": if err := awsRestjson1_deserializeDocumentDecimalDatasetParameterValueList(&sv.DecimalStaticValues, value); err != nil { return err } + case "IntegerStaticValues": if err := awsRestjson1_deserializeDocumentIntegerDatasetParameterValueList(&sv.IntegerStaticValues, value); err != nil { return err } + case "StringStaticValues": if err := awsRestjson1_deserializeDocumentStringDatasetParameterValueList(&sv.StringStaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -67569,6 +69644,7 @@ func awsRestjson1_deserializeDocumentNullValueFormatConfiguration(v **types.Null } sv.NullString = ptr.String(jtv) } + default: _, _ = key, value @@ -67604,14 +69680,17 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } + case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } + case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } + case "NumberScale": if value != nil { jtv, ok := value.(string) @@ -67620,6 +69699,7 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.NumberScale = types.NumberScale(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -67628,10 +69708,12 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.Prefix = ptr.String(jtv) } + case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -67640,6 +69722,7 @@ func awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(v **types. } sv.Suffix = ptr.String(jtv) } + default: _, _ = key, value @@ -67675,6 +69758,7 @@ func awsRestjson1_deserializeDocumentNumberFormatConfiguration(v **types.NumberF if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -67710,6 +69794,7 @@ func awsRestjson1_deserializeDocumentNumericalAggregationFunction(v **types.Nume if err := awsRestjson1_deserializeDocumentPercentileAggregation(&sv.PercentileAggregation, value); err != nil { return err } + case "SimpleNumericalAggregation": if value != nil { jtv, ok := value.(string) @@ -67718,6 +69803,7 @@ func awsRestjson1_deserializeDocumentNumericalAggregationFunction(v **types.Nume } sv.SimpleNumericalAggregation = types.SimpleNumericalAggregationFunction(jtv) } + default: _, _ = key, value @@ -67753,6 +69839,7 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -67761,10 +69848,12 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -67773,6 +69862,7 @@ func awsRestjson1_deserializeDocumentNumericalDimensionField(v **types.Numerical } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -67808,10 +69898,12 @@ func awsRestjson1_deserializeDocumentNumericalMeasureField(v **types.NumericalMe if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -67820,10 +69912,12 @@ func awsRestjson1_deserializeDocumentNumericalMeasureField(v **types.NumericalMe } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -67859,10 +69953,12 @@ func awsRestjson1_deserializeDocumentNumericAxisOptions(v **types.NumericAxisOpt if err := awsRestjson1_deserializeDocumentAxisDisplayRange(&sv.Range, value); err != nil { return err } + case "Scale": if err := awsRestjson1_deserializeDocumentAxisScale(&sv.Scale, value); err != nil { return err } + default: _, _ = key, value @@ -67898,6 +69994,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(v **types.Nu if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -67931,6 +70028,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityDrillDownFilter(v **types.Nu } } + default: _, _ = key, value @@ -67966,14 +70064,17 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -67982,6 +70083,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.FilterId = ptr.String(jtv) } + case "MatchOperator": if value != nil { jtv, ok := value.(string) @@ -67990,6 +70092,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.MatchOperator = types.NumericEqualityMatchOperator(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -67998,6 +70101,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.NullOption = types.FilterNullOption(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -68006,6 +70110,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.ParameterName = ptr.String(jtv) } + case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -68014,6 +70119,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } sv.SelectAllOptions = types.NumericFilterSelectAllOptions(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -68047,6 +70153,7 @@ func awsRestjson1_deserializeDocumentNumericEqualityFilter(v **types.NumericEqua } } + default: _, _ = key, value @@ -68082,14 +70189,17 @@ func awsRestjson1_deserializeDocumentNumericFormatConfiguration(v **types.Numeri if err := awsRestjson1_deserializeDocumentCurrencyDisplayFormatConfiguration(&sv.CurrencyDisplayFormatConfiguration, value); err != nil { return err } + case "NumberDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumberDisplayFormatConfiguration(&sv.NumberDisplayFormatConfiguration, value); err != nil { return err } + case "PercentageDisplayFormatConfiguration": if err := awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(&sv.PercentageDisplayFormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -68125,14 +70235,17 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.AggregationFunction, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -68141,6 +70254,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.FilterId = ptr.String(jtv) } + case "IncludeMaximum": if value != nil { jtv, ok := value.(bool) @@ -68149,6 +70263,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.IncludeMaximum = ptr.Bool(jtv) } + case "IncludeMinimum": if value != nil { jtv, ok := value.(bool) @@ -68157,6 +70272,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.IncludeMinimum = ptr.Bool(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -68165,14 +70281,17 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.NullOption = types.FilterNullOption(jtv) } + case "RangeMaximum": if err := awsRestjson1_deserializeDocumentNumericRangeFilterValue(&sv.RangeMaximum, value); err != nil { return err } + case "RangeMinimum": if err := awsRestjson1_deserializeDocumentNumericRangeFilterValue(&sv.RangeMinimum, value); err != nil { return err } + case "SelectAllOptions": if value != nil { jtv, ok := value.(string) @@ -68181,6 +70300,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilter(v **types.NumericRangeFi } sv.SelectAllOptions = types.NumericFilterSelectAllOptions(jtv) } + default: _, _ = key, value @@ -68220,6 +70340,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilterValue(v **types.NumericRa } sv.Parameter = ptr.String(jtv) } + case "StaticValue": if value != nil { switch jtv := value.(type) { @@ -68253,6 +70374,7 @@ func awsRestjson1_deserializeDocumentNumericRangeFilterValue(v **types.NumericRa } } + default: _, _ = key, value @@ -68292,10 +70414,12 @@ func awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(v **types.Num } sv.DecimalSeparator = types.NumericSeparatorSymbol(jtv) } + case "ThousandsSeparator": if err := awsRestjson1_deserializeDocumentThousandSeparatorOptions(&sv.ThousandsSeparator, value); err != nil { return err } + default: _, _ = key, value @@ -68369,6 +70493,7 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -68377,6 +70502,7 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -68389,6 +70515,7 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -68428,6 +70555,7 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -68436,6 +70564,7 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Name = ptr.String(jtv) } + case "SubType": if value != nil { jtv, ok := value.(string) @@ -68444,6 +70573,7 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.SubType = types.ColumnDataSubType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -68452,6 +70582,7 @@ func awsRestjson1_deserializeDocumentOutputColumn(v **types.OutputColumn, value } sv.Type = types.ColumnDataType(jtv) } + default: _, _ = key, value @@ -68521,6 +70652,7 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types if err := awsRestjson1_deserializeDocumentNewDefaultValues(&sv.NewDefaultValues, value); err != nil { return err } + case "NewParameterName": if value != nil { jtv, ok := value.(string) @@ -68529,6 +70661,7 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types } sv.NewParameterName = ptr.String(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -68537,6 +70670,7 @@ func awsRestjson1_deserializeDocumentOverrideDatasetParameterOperation(v **types } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -68580,6 +70714,7 @@ func awsRestjson1_deserializeDocumentPaginationConfiguration(v **types.Paginatio } sv.PageNumber = ptr.Int64(i64) } + case "PageSize": if value != nil { jtv, ok := value.(json.Number) @@ -68592,6 +70727,7 @@ func awsRestjson1_deserializeDocumentPaginationConfiguration(v **types.Paginatio } sv.PageSize = ptr.Int64(i64) } + default: _, _ = key, value @@ -68631,6 +70767,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BackgroundColor = ptr.String(jtv) } + case "BackgroundVisibility": if value != nil { jtv, ok := value.(string) @@ -68639,6 +70776,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BackgroundVisibility = types.Visibility(jtv) } + case "BorderColor": if value != nil { jtv, ok := value.(string) @@ -68647,6 +70785,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderColor = ptr.String(jtv) } + case "BorderStyle": if value != nil { jtv, ok := value.(string) @@ -68655,6 +70794,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderStyle = types.PanelBorderStyle(jtv) } + case "BorderThickness": if value != nil { jtv, ok := value.(string) @@ -68663,6 +70803,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderThickness = ptr.String(jtv) } + case "BorderVisibility": if value != nil { jtv, ok := value.(string) @@ -68671,6 +70812,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.BorderVisibility = types.Visibility(jtv) } + case "GutterSpacing": if value != nil { jtv, ok := value.(string) @@ -68679,6 +70821,7 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.GutterSpacing = ptr.String(jtv) } + case "GutterVisibility": if value != nil { jtv, ok := value.(string) @@ -68687,10 +70830,12 @@ func awsRestjson1_deserializeDocumentPanelConfiguration(v **types.PanelConfigura } sv.GutterVisibility = types.Visibility(jtv) } + case "Title": if err := awsRestjson1_deserializeDocumentPanelTitleOptions(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -68726,6 +70871,7 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + case "HorizontalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -68734,6 +70880,7 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio } sv.HorizontalTextAlignment = types.HorizontalTextAlignment(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -68742,6 +70889,7 @@ func awsRestjson1_deserializeDocumentPanelTitleOptions(v **types.PanelTitleOptio } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -68777,26 +70925,32 @@ func awsRestjson1_deserializeDocumentParameterControl(v **types.ParameterControl if err := awsRestjson1_deserializeDocumentParameterDateTimePickerControl(&sv.DateTimePicker, value); err != nil { return err } + case "Dropdown": if err := awsRestjson1_deserializeDocumentParameterDropDownControl(&sv.Dropdown, value); err != nil { return err } + case "List": if err := awsRestjson1_deserializeDocumentParameterListControl(&sv.List, value); err != nil { return err } + case "Slider": if err := awsRestjson1_deserializeDocumentParameterSliderControl(&sv.Slider, value); err != nil { return err } + case "TextArea": if err := awsRestjson1_deserializeDocumentParameterTextAreaControl(&sv.TextArea, value); err != nil { return err } + case "TextField": if err := awsRestjson1_deserializeDocumentParameterTextFieldControl(&sv.TextField, value); err != nil { return err } + default: _, _ = key, value @@ -68866,6 +71020,7 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa if err := awsRestjson1_deserializeDocumentDateTimePickerControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -68874,6 +71029,7 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.ParameterControlId = ptr.String(jtv) } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -68882,6 +71038,7 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.SourceParameterName = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -68890,6 +71047,7 @@ func awsRestjson1_deserializeDocumentParameterDateTimePickerControl(v **types.Pa } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -68925,18 +71083,22 @@ func awsRestjson1_deserializeDocumentParameterDeclaration(v **types.ParameterDec if err := awsRestjson1_deserializeDocumentDateTimeParameterDeclaration(&sv.DateTimeParameterDeclaration, value); err != nil { return err } + case "DecimalParameterDeclaration": if err := awsRestjson1_deserializeDocumentDecimalParameterDeclaration(&sv.DecimalParameterDeclaration, value); err != nil { return err } + case "IntegerParameterDeclaration": if err := awsRestjson1_deserializeDocumentIntegerParameterDeclaration(&sv.IntegerParameterDeclaration, value); err != nil { return err } + case "StringParameterDeclaration": if err := awsRestjson1_deserializeDocumentStringParameterDeclaration(&sv.StringParameterDeclaration, value); err != nil { return err } + default: _, _ = key, value @@ -69006,6 +71168,7 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } + case "CommitMode": if value != nil { jtv, ok := value.(string) @@ -69014,10 +71177,12 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.CommitMode = types.CommitMode(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentDropDownControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -69026,10 +71191,12 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.ParameterControlId = ptr.String(jtv) } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentParameterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -69038,6 +71205,7 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.SourceParameterName = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -69046,6 +71214,7 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -69054,6 +71223,7 @@ func awsRestjson1_deserializeDocumentParameterDropDownControl(v **types.Paramete } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -69089,10 +71259,12 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis if err := awsRestjson1_deserializeDocumentCascadingControlConfiguration(&sv.CascadingControlConfiguration, value); err != nil { return err } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentListControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -69101,10 +71273,12 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.ParameterControlId = ptr.String(jtv) } + case "SelectableValues": if err := awsRestjson1_deserializeDocumentParameterSelectableValues(&sv.SelectableValues, value); err != nil { return err } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -69113,6 +71287,7 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.SourceParameterName = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -69121,6 +71296,7 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.Title = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -69129,6 +71305,7 @@ func awsRestjson1_deserializeDocumentParameterListControl(v **types.ParameterLis } sv.Type = types.SheetControlListType(jtv) } + default: _, _ = key, value @@ -69164,18 +71341,22 @@ func awsRestjson1_deserializeDocumentParameters(v **types.Parameters, value inte if err := awsRestjson1_deserializeDocumentDateTimeParameterList(&sv.DateTimeParameters, value); err != nil { return err } + case "DecimalParameters": if err := awsRestjson1_deserializeDocumentDecimalParameterList(&sv.DecimalParameters, value); err != nil { return err } + case "IntegerParameters": if err := awsRestjson1_deserializeDocumentIntegerParameterList(&sv.IntegerParameters, value); err != nil { return err } + case "StringParameters": if err := awsRestjson1_deserializeDocumentStringParameterList(&sv.StringParameters, value); err != nil { return err } + default: _, _ = key, value @@ -69247,10 +71428,12 @@ func awsRestjson1_deserializeDocumentParameterSelectableValues(v **types.Paramet if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.LinkToDataSetColumn, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentParameterSelectableValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -69286,6 +71469,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS if err := awsRestjson1_deserializeDocumentSliderControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "MaximumValue": if value != nil { switch jtv := value.(type) { @@ -69319,6 +71503,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } + case "MinimumValue": if value != nil { switch jtv := value.(type) { @@ -69352,6 +71537,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -69360,6 +71546,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.ParameterControlId = ptr.String(jtv) } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -69368,6 +71555,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.SourceParameterName = ptr.String(jtv) } + case "StepSize": if value != nil { switch jtv := value.(type) { @@ -69401,6 +71589,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } } + case "Title": if value != nil { jtv, ok := value.(string) @@ -69409,6 +71598,7 @@ func awsRestjson1_deserializeDocumentParameterSliderControl(v **types.ParameterS } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -69448,10 +71638,12 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.Delimiter = ptr.String(jtv) } + case "DisplayOptions": if err := awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -69460,6 +71652,7 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.ParameterControlId = ptr.String(jtv) } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -69468,6 +71661,7 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.SourceParameterName = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -69476,6 +71670,7 @@ func awsRestjson1_deserializeDocumentParameterTextAreaControl(v **types.Paramete } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -69511,6 +71706,7 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet if err := awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(&sv.DisplayOptions, value); err != nil { return err } + case "ParameterControlId": if value != nil { jtv, ok := value.(string) @@ -69519,6 +71715,7 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.ParameterControlId = ptr.String(jtv) } + case "SourceParameterName": if value != nil { jtv, ok := value.(string) @@ -69527,6 +71724,7 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.SourceParameterName = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -69535,6 +71733,7 @@ func awsRestjson1_deserializeDocumentParameterTextFieldControl(v **types.Paramet } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -69606,14 +71805,17 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty if err := awsRestjson1_deserializeDocumentDecimalPlacesConfiguration(&sv.DecimalPlacesConfiguration, value); err != nil { return err } + case "NegativeValueConfiguration": if err := awsRestjson1_deserializeDocumentNegativeValueConfiguration(&sv.NegativeValueConfiguration, value); err != nil { return err } + case "NullValueFormatConfiguration": if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -69622,10 +71824,12 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty } sv.Prefix = ptr.String(jtv) } + case "SeparatorConfiguration": if err := awsRestjson1_deserializeDocumentNumericSeparatorConfiguration(&sv.SeparatorConfiguration, value); err != nil { return err } + case "Suffix": if value != nil { jtv, ok := value.(string) @@ -69634,6 +71838,7 @@ func awsRestjson1_deserializeDocumentPercentageDisplayFormatConfiguration(v **ty } sv.Suffix = ptr.String(jtv) } + default: _, _ = key, value @@ -69698,6 +71903,7 @@ func awsRestjson1_deserializeDocumentPercentileAggregation(v **types.PercentileA } } + default: _, _ = key, value @@ -69762,6 +71968,7 @@ func awsRestjson1_deserializeDocumentPercentVisibleRange(v **types.PercentVisibl } } + case "To": if value != nil { switch jtv := value.(type) { @@ -69795,6 +72002,7 @@ func awsRestjson1_deserializeDocumentPercentVisibleRange(v **types.PercentVisibl } } + default: _, _ = key, value @@ -69834,6 +72042,7 @@ func awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(v **types.Perio } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -69842,14 +72051,17 @@ func awsRestjson1_deserializeDocumentPeriodOverPeriodComputation(v **types.Perio } sv.Name = ptr.String(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -69889,6 +72101,7 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -69897,6 +72110,7 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.Name = ptr.String(jtv) } + case "PeriodTimeGranularity": if value != nil { jtv, ok := value.(string) @@ -69905,14 +72119,17 @@ func awsRestjson1_deserializeDocumentPeriodToDateComputation(v **types.PeriodToD } sv.PeriodTimeGranularity = types.TimeGranularity(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -70042,14 +72259,17 @@ func awsRestjson1_deserializeDocumentPieChartAggregatedFieldWells(v **types.PieC if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "SmallMultiples": if err := awsRestjson1_deserializeDocumentSmallMultiplesDimensionFieldList(&sv.SmallMultiples, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -70085,50 +72305,62 @@ func awsRestjson1_deserializeDocumentPieChartConfiguration(v **types.PieChartCon if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "ContributionAnalysisDefaults": if err := awsRestjson1_deserializeDocumentContributionAnalysisDefaultList(&sv.ContributionAnalysisDefaults, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "DonutOptions": if err := awsRestjson1_deserializeDocumentDonutOptions(&sv.DonutOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentPieChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "SmallMultiplesOptions": if err := awsRestjson1_deserializeDocumentSmallMultiplesOptions(&sv.SmallMultiplesOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentPieChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "ValueLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ValueLabelOptions, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -70164,6 +72396,7 @@ func awsRestjson1_deserializeDocumentPieChartFieldWells(v **types.PieChartFieldW if err := awsRestjson1_deserializeDocumentPieChartAggregatedFieldWells(&sv.PieChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -70199,18 +72432,22 @@ func awsRestjson1_deserializeDocumentPieChartSortConfiguration(v **types.PieChar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "SmallMultiplesLimitConfiguration": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SmallMultiplesLimitConfiguration, value); err != nil { return err } + case "SmallMultiplesSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.SmallMultiplesSort, value); err != nil { return err } + default: _, _ = key, value @@ -70246,22 +72483,27 @@ func awsRestjson1_deserializeDocumentPieChartVisual(v **types.PieChartVisual, va if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentPieChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -70270,6 +72512,7 @@ func awsRestjson1_deserializeDocumentPieChartVisual(v **types.PieChartVisual, va } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -70309,10 +72552,12 @@ func awsRestjson1_deserializeDocumentPivotFieldSortOptions(v **types.PivotFieldS } sv.FieldId = ptr.String(jtv) } + case "SortBy": if err := awsRestjson1_deserializeDocumentPivotTableSortBy(&sv.SortBy, value); err != nil { return err } + default: _, _ = key, value @@ -70416,14 +72661,17 @@ func awsRestjson1_deserializeDocumentPivotTableAggregatedFieldWells(v **types.Pi if err := awsRestjson1_deserializeDocumentPivotTableDimensionList(&sv.Columns, value); err != nil { return err } + case "Rows": if err := awsRestjson1_deserializeDocumentPivotTableDimensionList(&sv.Rows, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentPivotMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -70463,18 +72711,22 @@ func awsRestjson1_deserializeDocumentPivotTableCellConditionalFormatting(v **typ } sv.FieldId = ptr.String(jtv) } + case "Scope": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScope(&sv.Scope, value); err != nil { return err } + case "Scopes": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScopeList(&sv.Scopes, value); err != nil { return err } + case "TextFormat": if err := awsRestjson1_deserializeDocumentTextConditionalFormat(&sv.TextFormat, value); err != nil { return err } + default: _, _ = key, value @@ -70510,6 +72762,7 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormatting(v **types.P if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -70545,6 +72798,7 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormattingOption(v **t if err := awsRestjson1_deserializeDocumentPivotTableCellConditionalFormatting(&sv.Cell, value); err != nil { return err } + default: _, _ = key, value @@ -70618,6 +72872,7 @@ func awsRestjson1_deserializeDocumentPivotTableConditionalFormattingScope(v **ty } sv.Role = types.PivotTableConditionalFormattingScopeRole(jtv) } + default: _, _ = key, value @@ -70687,30 +72942,37 @@ func awsRestjson1_deserializeDocumentPivotTableConfiguration(v **types.PivotTabl if err := awsRestjson1_deserializeDocumentPivotTableFieldOptions(&sv.FieldOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentPivotTableFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "PaginatedReportOptions": if err := awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(&sv.PaginatedReportOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentPivotTableSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "TableOptions": if err := awsRestjson1_deserializeDocumentPivotTableOptions(&sv.TableOptions, value); err != nil { return err } + case "TotalOptions": if err := awsRestjson1_deserializeDocumentPivotTableTotalOptions(&sv.TotalOptions, value); err != nil { return err } + default: _, _ = key, value @@ -70746,6 +73008,7 @@ func awsRestjson1_deserializeDocumentPivotTableDataPathOption(v **types.PivotTab if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.DataPathList, value); err != nil { return err } + case "Width": if value != nil { jtv, ok := value.(string) @@ -70754,6 +73017,7 @@ func awsRestjson1_deserializeDocumentPivotTableDataPathOption(v **types.PivotTab } sv.Width = ptr.String(jtv) } + default: _, _ = key, value @@ -70861,10 +73125,12 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateOption(v **type } sv.State = types.PivotTableFieldCollapseState(jtv) } + case "Target": if err := awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -70934,6 +73200,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(v **type if err := awsRestjson1_deserializeDocumentDataPathValueList(&sv.FieldDataPathValues, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -70942,6 +73209,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateTarget(v **type } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -70981,6 +73249,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.CustomLabel = ptr.String(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -70989,6 +73258,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.FieldId = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -70997,6 +73267,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOption(v **types.PivotTableF } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -71066,14 +73337,17 @@ func awsRestjson1_deserializeDocumentPivotTableFieldOptions(v **types.PivotTable if err := awsRestjson1_deserializeDocumentPivotTableFieldCollapseStateOptionList(&sv.CollapseStateOptions, value); err != nil { return err } + case "DataPathOptions": if err := awsRestjson1_deserializeDocumentPivotTableDataPathOptionList(&sv.DataPathOptions, value); err != nil { return err } + case "SelectedFieldOptions": if err := awsRestjson1_deserializeDocumentPivotTableFieldOptionList(&sv.SelectedFieldOptions, value); err != nil { return err } + default: _, _ = key, value @@ -71113,6 +73387,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldSubtotalOptions(v **types.Pi } sv.FieldId = ptr.String(jtv) } + default: _, _ = key, value @@ -71182,6 +73457,7 @@ func awsRestjson1_deserializeDocumentPivotTableFieldWells(v **types.PivotTableFi if err := awsRestjson1_deserializeDocumentPivotTableAggregatedFieldWells(&sv.PivotTableAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -71217,6 +73493,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.CellStyle, value); err != nil { return err } + case "CollapsedRowDimensionsVisibility": if value != nil { jtv, ok := value.(string) @@ -71225,10 +73502,12 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.CollapsedRowDimensionsVisibility = types.Visibility(jtv) } + case "ColumnHeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ColumnHeaderStyle, value); err != nil { return err } + case "ColumnNamesVisibility": if value != nil { jtv, ok := value.(string) @@ -71237,6 +73516,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.ColumnNamesVisibility = types.Visibility(jtv) } + case "DefaultCellWidth": if value != nil { jtv, ok := value.(string) @@ -71245,6 +73525,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.DefaultCellWidth = ptr.String(jtv) } + case "MetricPlacement": if value != nil { jtv, ok := value.(string) @@ -71253,22 +73534,27 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.MetricPlacement = types.PivotTableMetricPlacement(jtv) } + case "RowAlternateColorOptions": if err := awsRestjson1_deserializeDocumentRowAlternateColorOptions(&sv.RowAlternateColorOptions, value); err != nil { return err } + case "RowFieldNamesStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.RowFieldNamesStyle, value); err != nil { return err } + case "RowHeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.RowHeaderStyle, value); err != nil { return err } + case "RowsLabelOptions": if err := awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(&sv.RowsLabelOptions, value); err != nil { return err } + case "RowsLayout": if value != nil { jtv, ok := value.(string) @@ -71277,6 +73563,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.RowsLayout = types.PivotTableRowsLayout(jtv) } + case "SingleMetricVisibility": if value != nil { jtv, ok := value.(string) @@ -71285,6 +73572,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.SingleMetricVisibility = types.Visibility(jtv) } + case "ToggleButtonsVisibility": if value != nil { jtv, ok := value.(string) @@ -71293,6 +73581,7 @@ func awsRestjson1_deserializeDocumentPivotTableOptions(v **types.PivotTableOptio } sv.ToggleButtonsVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -71332,6 +73621,7 @@ func awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(v **types. } sv.OverflowColumnHeaderVisibility = types.Visibility(jtv) } + case "VerticalOverflowVisibility": if value != nil { jtv, ok := value.(string) @@ -71340,6 +73630,7 @@ func awsRestjson1_deserializeDocumentPivotTablePaginatedReportOptions(v **types. } sv.VerticalOverflowVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -71379,6 +73670,7 @@ func awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(v **types.PivotT } sv.CustomLabel = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -71387,6 +73679,7 @@ func awsRestjson1_deserializeDocumentPivotTableRowsLabelOptions(v **types.PivotT } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -71422,14 +73715,17 @@ func awsRestjson1_deserializeDocumentPivotTableSortBy(v **types.PivotTableSortBy if err := awsRestjson1_deserializeDocumentColumnSort(&sv.Column, value); err != nil { return err } + case "DataPath": if err := awsRestjson1_deserializeDocumentDataPathSort(&sv.DataPath, value); err != nil { return err } + case "Field": if err := awsRestjson1_deserializeDocumentFieldSort(&sv.Field, value); err != nil { return err } + default: _, _ = key, value @@ -71465,6 +73761,7 @@ func awsRestjson1_deserializeDocumentPivotTableSortConfiguration(v **types.Pivot if err := awsRestjson1_deserializeDocumentPivotFieldSortOptionsList(&sv.FieldSortOptions, value); err != nil { return err } + default: _, _ = key, value @@ -71500,18 +73797,22 @@ func awsRestjson1_deserializeDocumentPivotTableTotalOptions(v **types.PivotTable if err := awsRestjson1_deserializeDocumentSubtotalOptions(&sv.ColumnSubtotalOptions, value); err != nil { return err } + case "ColumnTotalOptions": if err := awsRestjson1_deserializeDocumentPivotTotalOptions(&sv.ColumnTotalOptions, value); err != nil { return err } + case "RowSubtotalOptions": if err := awsRestjson1_deserializeDocumentSubtotalOptions(&sv.RowSubtotalOptions, value); err != nil { return err } + case "RowTotalOptions": if err := awsRestjson1_deserializeDocumentPivotTotalOptions(&sv.RowTotalOptions, value); err != nil { return err } + default: _, _ = key, value @@ -71547,22 +73848,27 @@ func awsRestjson1_deserializeDocumentPivotTableVisual(v **types.PivotTableVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentPivotTableConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentPivotTableConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -71571,6 +73877,7 @@ func awsRestjson1_deserializeDocumentPivotTableVisual(v **types.PivotTableVisual } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -71610,10 +73917,12 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.CustomLabel = ptr.String(jtv) } + case "MetricHeaderCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.MetricHeaderCellStyle, value); err != nil { return err } + case "Placement": if value != nil { jtv, ok := value.(string) @@ -71622,6 +73931,7 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.Placement = types.TableTotalsPlacement(jtv) } + case "ScrollStatus": if value != nil { jtv, ok := value.(string) @@ -71630,14 +73940,17 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.ScrollStatus = types.TableTotalsScrollStatus(jtv) } + case "TotalAggregationOptions": if err := awsRestjson1_deserializeDocumentTotalAggregationOptionList(&sv.TotalAggregationOptions, value); err != nil { return err } + case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } + case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -71646,10 +73959,12 @@ func awsRestjson1_deserializeDocumentPivotTotalOptions(v **types.PivotTotalOptio } sv.TotalsVisibility = types.Visibility(jtv) } + case "ValueCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ValueCellStyle, value); err != nil { return err } + default: _, _ = key, value @@ -71689,6 +74004,7 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -71697,6 +74013,7 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -71709,6 +74026,7 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -71748,6 +74066,7 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -71756,6 +74075,7 @@ func awsRestjson1_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -71791,10 +74111,12 @@ func awsRestjson1_deserializeDocumentPredefinedHierarchy(v **types.PredefinedHie if err := awsRestjson1_deserializeDocumentPredefinedHierarchyColumnList(&sv.Columns, value); err != nil { return err } + case "DrillDownFilters": if err := awsRestjson1_deserializeDocumentDrillDownFilterList(&sv.DrillDownFilters, value); err != nil { return err } + case "HierarchyId": if value != nil { jtv, ok := value.(string) @@ -71803,6 +74125,7 @@ func awsRestjson1_deserializeDocumentPredefinedHierarchy(v **types.PredefinedHie } sv.HierarchyId = ptr.String(jtv) } + default: _, _ = key, value @@ -71876,6 +74199,7 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Catalog = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -71884,6 +74208,7 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -71896,6 +74221,7 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -71971,6 +74297,7 @@ func awsRestjson1_deserializeDocumentProgressBarOptions(v **types.ProgressBarOpt } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -72042,6 +74369,7 @@ func awsRestjson1_deserializeDocumentProjectOperation(v **types.ProjectOperation if err := awsRestjson1_deserializeDocumentProjectedColumnList(&sv.ProjectedColumns, value); err != nil { return err } + default: _, _ = key, value @@ -72081,6 +74409,7 @@ func awsRestjson1_deserializeDocumentQueryExecutionOptions(v **types.QueryExecut } sv.QueryExecutionMode = types.QueryExecutionMode(jtv) } + default: _, _ = key, value @@ -72120,6 +74449,7 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.QueuedIngestion = ptr.String(jtv) } + case "WaitingOnIngestion": if value != nil { jtv, ok := value.(string) @@ -72128,6 +74458,7 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf } sv.WaitingOnIngestion = ptr.String(jtv) } + default: _, _ = key, value @@ -72167,6 +74498,7 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -72175,6 +74507,7 @@ func awsRestjson1_deserializeDocumentQuickSightUserNotFoundException(v **types.Q } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -72210,14 +74543,17 @@ func awsRestjson1_deserializeDocumentRadarChartAggregatedFieldWells(v **types.Ra if err := awsRestjson1_deserializeDocumentRadarChartCategoryFieldList(&sv.Category, value); err != nil { return err } + case "Color": if err := awsRestjson1_deserializeDocumentRadarChartColorFieldList(&sv.Color, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentRadarChartValuesFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -72257,6 +74593,7 @@ func awsRestjson1_deserializeDocumentRadarChartAreaStyleSettings(v **types.Radar } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -72364,6 +74701,7 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandColorsVisibility = types.Visibility(jtv) } + case "AlternateBandEvenColor": if value != nil { jtv, ok := value.(string) @@ -72372,6 +74710,7 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandEvenColor = ptr.String(jtv) } + case "AlternateBandOddColor": if value != nil { jtv, ok := value.(string) @@ -72380,6 +74719,7 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AlternateBandOddColor = ptr.String(jtv) } + case "AxesRangeScale": if value != nil { jtv, ok := value.(string) @@ -72388,38 +74728,47 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.AxesRangeScale = types.RadarChartAxesRangeScale(jtv) } + case "BaseSeriesSettings": if err := awsRestjson1_deserializeDocumentRadarChartSeriesSettings(&sv.BaseSeriesSettings, value); err != nil { return err } + case "CategoryAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxis, value); err != nil { return err } + case "CategoryLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "ColorAxis": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.ColorAxis, value); err != nil { return err } + case "ColorLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentRadarChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "Shape": if value != nil { jtv, ok := value.(string) @@ -72428,10 +74777,12 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } sv.Shape = types.RadarChartShape(jtv) } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentRadarChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "StartAngle": if value != nil { switch jtv := value.(type) { @@ -72465,10 +74816,12 @@ func awsRestjson1_deserializeDocumentRadarChartConfiguration(v **types.RadarChar } } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + default: _, _ = key, value @@ -72504,6 +74857,7 @@ func awsRestjson1_deserializeDocumentRadarChartFieldWells(v **types.RadarChartFi if err := awsRestjson1_deserializeDocumentRadarChartAggregatedFieldWells(&sv.RadarChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -72539,6 +74893,7 @@ func awsRestjson1_deserializeDocumentRadarChartSeriesSettings(v **types.RadarCha if err := awsRestjson1_deserializeDocumentRadarChartAreaStyleSettings(&sv.AreaStyleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -72574,18 +74929,22 @@ func awsRestjson1_deserializeDocumentRadarChartSortConfiguration(v **types.Radar if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + case "ColorItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ColorItemsLimit, value); err != nil { return err } + case "ColorSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.ColorSort, value); err != nil { return err } + default: _, _ = key, value @@ -72655,22 +75014,27 @@ func awsRestjson1_deserializeDocumentRadarChartVisual(v **types.RadarChartVisual if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentRadarChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -72679,6 +75043,7 @@ func awsRestjson1_deserializeDocumentRadarChartVisual(v **types.RadarChartVisual } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -72718,6 +75083,7 @@ func awsRestjson1_deserializeDocumentRangeConstant(v **types.RangeConstant, valu } sv.Maximum = ptr.String(jtv) } + case "Minimum": if value != nil { jtv, ok := value.(string) @@ -72726,6 +75092,7 @@ func awsRestjson1_deserializeDocumentRangeConstant(v **types.RangeConstant, valu } sv.Minimum = ptr.String(jtv) } + default: _, _ = key, value @@ -72765,6 +75132,7 @@ func awsRestjson1_deserializeDocumentRangeEndsLabelType(v **types.RangeEndsLabel } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -72804,6 +75172,7 @@ func awsRestjson1_deserializeDocumentRdsParameters(v **types.RdsParameters, valu } sv.Database = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -72812,6 +75181,7 @@ func awsRestjson1_deserializeDocumentRdsParameters(v **types.RdsParameters, valu } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -72851,10 +75221,12 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.AutoCreateDatabaseUser = jtv } + case "DatabaseGroups": if err := awsRestjson1_deserializeDocumentDatabaseGroupList(&sv.DatabaseGroups, value); err != nil { return err } + case "DatabaseUser": if value != nil { jtv, ok := value.(string) @@ -72863,6 +75235,7 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.DatabaseUser = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -72871,6 +75244,7 @@ func awsRestjson1_deserializeDocumentRedshiftIAMParameters(v **types.RedshiftIAM } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -72910,6 +75284,7 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.ClusterId = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -72918,6 +75293,7 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -72926,14 +75302,17 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Host = ptr.String(jtv) } + case "IAMParameters": if err := awsRestjson1_deserializeDocumentRedshiftIAMParameters(&sv.IAMParameters, value); err != nil { return err } + case "IdentityCenterConfiguration": if err := awsRestjson1_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -72946,6 +75325,7 @@ func awsRestjson1_deserializeDocumentRedshiftParameters(v **types.RedshiftParame } sv.Port = int32(i64) } + default: _, _ = key, value @@ -72981,10 +75361,12 @@ func awsRestjson1_deserializeDocumentReferenceLine(v **types.ReferenceLine, valu if err := awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(&sv.DataConfiguration, value); err != nil { return err } + case "LabelConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(&sv.LabelConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -72993,10 +75375,12 @@ func awsRestjson1_deserializeDocumentReferenceLine(v **types.ReferenceLine, valu } sv.Status = types.WidgetStatus(jtv) } + case "StyleConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(&sv.StyleConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -73036,6 +75420,7 @@ func awsRestjson1_deserializeDocumentReferenceLineCustomLabelConfiguration(v **t } sv.CustomLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -73075,10 +75460,12 @@ func awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(v **types.Re } sv.AxisBinding = types.AxisBinding(jtv) } + case "DynamicConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineDynamicDataConfiguration(&sv.DynamicConfiguration, value); err != nil { return err } + case "SeriesType": if value != nil { jtv, ok := value.(string) @@ -73087,10 +75474,12 @@ func awsRestjson1_deserializeDocumentReferenceLineDataConfiguration(v **types.Re } sv.SeriesType = types.ReferenceLineSeriesType(jtv) } + case "StaticConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineStaticDataConfiguration(&sv.StaticConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -73126,14 +75515,17 @@ func awsRestjson1_deserializeDocumentReferenceLineDynamicDataConfiguration(v **t if err := awsRestjson1_deserializeDocumentNumericalAggregationFunction(&sv.Calculation, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "MeasureAggregationFunction": if err := awsRestjson1_deserializeDocumentAggregationFunction(&sv.MeasureAggregationFunction, value); err != nil { return err } + default: _, _ = key, value @@ -73169,6 +75561,7 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R if err := awsRestjson1_deserializeDocumentReferenceLineCustomLabelConfiguration(&sv.CustomLabelConfiguration, value); err != nil { return err } + case "FontColor": if value != nil { jtv, ok := value.(string) @@ -73177,10 +75570,12 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.FontColor = ptr.String(jtv) } + case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + case "HorizontalPosition": if value != nil { jtv, ok := value.(string) @@ -73189,10 +75584,12 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.HorizontalPosition = types.ReferenceLineLabelHorizontalPosition(jtv) } + case "ValueLabelConfiguration": if err := awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(&sv.ValueLabelConfiguration, value); err != nil { return err } + case "VerticalPosition": if value != nil { jtv, ok := value.(string) @@ -73201,6 +75598,7 @@ func awsRestjson1_deserializeDocumentReferenceLineLabelConfiguration(v **types.R } sv.VerticalPosition = types.ReferenceLineLabelVerticalPosition(jtv) } + default: _, _ = key, value @@ -73299,6 +75697,7 @@ func awsRestjson1_deserializeDocumentReferenceLineStaticDataConfiguration(v **ty } } + default: _, _ = key, value @@ -73338,6 +75737,7 @@ func awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(v **types.R } sv.Color = ptr.String(jtv) } + case "Pattern": if value != nil { jtv, ok := value.(string) @@ -73346,6 +75746,7 @@ func awsRestjson1_deserializeDocumentReferenceLineStyleConfiguration(v **types.R } sv.Pattern = types.ReferenceLinePatternType(jtv) } + default: _, _ = key, value @@ -73381,6 +75782,7 @@ func awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(v **ty if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + case "RelativePosition": if value != nil { jtv, ok := value.(string) @@ -73389,6 +75791,7 @@ func awsRestjson1_deserializeDocumentReferenceLineValueLabelConfiguration(v **ty } sv.RelativePosition = types.ReferenceLineValueLabelRelativePosition(jtv) } + default: _, _ = key, value @@ -73424,6 +75827,7 @@ func awsRestjson1_deserializeDocumentRefreshConfiguration(v **types.RefreshConfi if err := awsRestjson1_deserializeDocumentIncrementalRefresh(&sv.IncrementalRefresh, value); err != nil { return err } + default: _, _ = key, value @@ -73463,10 +75867,12 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.Interval = types.RefreshInterval(jtv) } + case "RefreshOnDay": if err := awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(&sv.RefreshOnDay, value); err != nil { return err } + case "TimeOfTheDay": if value != nil { jtv, ok := value.(string) @@ -73475,6 +75881,7 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.TimeOfTheDay = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -73483,6 +75890,7 @@ func awsRestjson1_deserializeDocumentRefreshFrequency(v **types.RefreshFrequency } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -73522,6 +75930,7 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.Arn = ptr.String(jtv) } + case "RefreshType": if value != nil { jtv, ok := value.(string) @@ -73530,10 +75939,12 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.RefreshType = types.IngestionType(jtv) } + case "ScheduleFrequency": if err := awsRestjson1_deserializeDocumentRefreshFrequency(&sv.ScheduleFrequency, value); err != nil { return err } + case "ScheduleId": if value != nil { jtv, ok := value.(string) @@ -73542,6 +75953,7 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } sv.ScheduleId = ptr.String(jtv) } + case "StartAfterDateTime": if value != nil { switch jtv := value.(type) { @@ -73557,6 +75969,7 @@ func awsRestjson1_deserializeDocumentRefreshSchedule(v **types.RefreshSchedule, } } + default: _, _ = key, value @@ -73630,6 +76043,7 @@ func awsRestjson1_deserializeDocumentRegisteredCustomerManagedKey(v **types.Regi } sv.DefaultKey = jtv } + case "KeyArn": if value != nil { jtv, ok := value.(string) @@ -73638,6 +76052,7 @@ func awsRestjson1_deserializeDocumentRegisteredCustomerManagedKey(v **types.Regi } sv.KeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -73677,6 +76092,7 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Catalog = ptr.String(jtv) } + case "DataSourceArn": if value != nil { jtv, ok := value.(string) @@ -73685,10 +76101,12 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.DataSourceArn = ptr.String(jtv) } + case "InputColumns": if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.InputColumns, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -73697,6 +76115,7 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Name = ptr.String(jtv) } + case "Schema": if value != nil { jtv, ok := value.(string) @@ -73705,6 +76124,7 @@ func awsRestjson1_deserializeDocumentRelationalTable(v **types.RelationalTable, } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -73740,18 +76160,22 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates if err := awsRestjson1_deserializeDocumentAnchorDateConfiguration(&sv.AnchorDateConfiguration, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "ExcludePeriodConfiguration": if err := awsRestjson1_deserializeDocumentExcludePeriodConfiguration(&sv.ExcludePeriodConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -73760,6 +76184,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.FilterId = ptr.String(jtv) } + case "MinimumGranularity": if value != nil { jtv, ok := value.(string) @@ -73768,6 +76193,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.MinimumGranularity = types.TimeGranularity(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -73776,6 +76202,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.NullOption = types.FilterNullOption(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -73784,6 +76211,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.ParameterName = ptr.String(jtv) } + case "RelativeDateType": if value != nil { jtv, ok := value.(string) @@ -73792,6 +76220,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.RelativeDateType = types.RelativeDateType(jtv) } + case "RelativeDateValue": if value != nil { jtv, ok := value.(json.Number) @@ -73804,6 +76233,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.RelativeDateValue = ptr.Int32(int32(i64)) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -73812,6 +76242,7 @@ func awsRestjson1_deserializeDocumentRelativeDatesFilter(v **types.RelativeDates } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -73851,14 +76282,17 @@ func awsRestjson1_deserializeDocumentRelativeDateTimeControlDisplayOptions(v **t } sv.DateTimeFormat = ptr.String(jtv) } + case "InfoIconLabelOptions": if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -73898,6 +76332,7 @@ func awsRestjson1_deserializeDocumentRenameColumnOperation(v **types.RenameColum } sv.ColumnName = ptr.String(jtv) } + case "NewColumnName": if value != nil { jtv, ok := value.(string) @@ -73906,6 +76341,7 @@ func awsRestjson1_deserializeDocumentRenameColumnOperation(v **types.RenameColum } sv.NewColumnName = ptr.String(jtv) } + default: _, _ = key, value @@ -73945,6 +76381,7 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -73953,6 +76390,7 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.RequestId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -73961,6 +76399,7 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = types.ExceptionResourceType(jtv) } + default: _, _ = key, value @@ -74000,6 +76439,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -74008,6 +76448,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.RequestId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -74016,6 +76457,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ExceptionResourceType(jtv) } + default: _, _ = key, value @@ -74051,6 +76493,7 @@ func awsRestjson1_deserializeDocumentResourcePermission(v **types.ResourcePermis if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "Principal": if value != nil { jtv, ok := value.(string) @@ -74059,6 +76502,7 @@ func awsRestjson1_deserializeDocumentResourcePermission(v **types.ResourcePermis } sv.Principal = ptr.String(jtv) } + default: _, _ = key, value @@ -74132,6 +76576,7 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -74140,6 +76585,7 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.RequestId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -74148,6 +76594,7 @@ func awsRestjson1_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceType = types.ExceptionResourceType(jtv) } + default: _, _ = key, value @@ -74187,6 +76634,7 @@ func awsRestjson1_deserializeDocumentRollingDateConfiguration(v **types.RollingD } sv.DataSetIdentifier = ptr.String(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -74195,6 +76643,7 @@ func awsRestjson1_deserializeDocumentRollingDateConfiguration(v **types.RollingD } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -74266,6 +76715,7 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter if err := awsRestjson1_deserializeDocumentRowAlternateColorList(&sv.RowAlternateColors, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -74274,6 +76724,7 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter } sv.Status = types.WidgetStatus(jtv) } + case "UsePrimaryBackgroundColor": if value != nil { jtv, ok := value.(string) @@ -74282,6 +76733,7 @@ func awsRestjson1_deserializeDocumentRowAlternateColorOptions(v **types.RowAlter } sv.UsePrimaryBackgroundColor = types.WidgetStatus(jtv) } + default: _, _ = key, value @@ -74325,6 +76777,7 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.RowsDropped = ptr.Int64(i64) } + case "RowsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -74337,6 +76790,7 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.RowsIngested = ptr.Int64(i64) } + case "TotalRowsInDataset": if value != nil { jtv, ok := value.(json.Number) @@ -74349,6 +76803,7 @@ func awsRestjson1_deserializeDocumentRowInfo(v **types.RowInfo, value interface{ } sv.TotalRowsInDataset = ptr.Int64(i64) } + default: _, _ = key, value @@ -74388,6 +76843,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Arn = ptr.String(jtv) } + case "FormatVersion": if value != nil { jtv, ok := value.(string) @@ -74396,6 +76852,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.FormatVersion = types.RowLevelPermissionFormatVersion(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -74404,6 +76861,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Namespace = ptr.String(jtv) } + case "PermissionPolicy": if value != nil { jtv, ok := value.(string) @@ -74412,6 +76870,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.PermissionPolicy = types.RowLevelPermissionPolicy(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -74420,6 +76879,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionDataSet(v **types.RowLeve } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -74459,14 +76919,17 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagConfiguration(v **type } sv.Status = types.Status(jtv) } + case "TagRuleConfigurations": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagRuleConfigurationList(&sv.TagRuleConfigurations, value); err != nil { return err } + case "TagRules": if err := awsRestjson1_deserializeDocumentRowLevelPermissionTagRuleList(&sv.TagRules, value); err != nil { return err } + default: _, _ = key, value @@ -74506,6 +76969,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.ColumnName = ptr.String(jtv) } + case "MatchAllValue": if value != nil { jtv, ok := value.(string) @@ -74514,6 +76978,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.MatchAllValue = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -74522,6 +76987,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.TagKey = ptr.String(jtv) } + case "TagMultiValueDelimiter": if value != nil { jtv, ok := value.(string) @@ -74530,6 +76996,7 @@ func awsRestjson1_deserializeDocumentRowLevelPermissionTagRule(v **types.RowLeve } sv.TagMultiValueDelimiter = ptr.String(jtv) } + default: _, _ = key, value @@ -74705,6 +77172,7 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketName = ptr.String(jtv) } + case "BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -74713,6 +77181,7 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketPrefix = ptr.String(jtv) } + case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -74721,6 +77190,7 @@ func awsRestjson1_deserializeDocumentS3BucketConfiguration(v **types.S3BucketCon } sv.BucketRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -74756,6 +77226,7 @@ func awsRestjson1_deserializeDocumentS3Parameters(v **types.S3Parameters, value if err := awsRestjson1_deserializeDocumentManifestFileLocation(&sv.ManifestFileLocation, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -74764,6 +77235,7 @@ func awsRestjson1_deserializeDocumentS3Parameters(v **types.S3Parameters, value } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -74803,14 +77275,17 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.DataSourceArn = ptr.String(jtv) } + case "InputColumns": if err := awsRestjson1_deserializeDocumentInputColumnList(&sv.InputColumns, value); err != nil { return err } + case "UploadSettings": if err := awsRestjson1_deserializeDocumentUploadSettings(&sv.UploadSettings, value); err != nil { return err } + default: _, _ = key, value @@ -74850,10 +77325,12 @@ func awsRestjson1_deserializeDocumentSameSheetTargetVisualConfiguration(v **type } sv.TargetVisualOptions = types.TargetVisualOptions(jtv) } + case "TargetVisuals": if err := awsRestjson1_deserializeDocumentTargetVisualList(&sv.TargetVisuals, value); err != nil { return err } + default: _, _ = key, value @@ -74889,14 +77366,17 @@ func awsRestjson1_deserializeDocumentSankeyDiagramAggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Destination, value); err != nil { return err } + case "Source": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Source, value); err != nil { return err } + case "Weight": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Weight, value); err != nil { return err } + default: _, _ = key, value @@ -74932,18 +77412,22 @@ func awsRestjson1_deserializeDocumentSankeyDiagramChartConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentSankeyDiagramFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentSankeyDiagramSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -74979,6 +77463,7 @@ func awsRestjson1_deserializeDocumentSankeyDiagramFieldWells(v **types.SankeyDia if err := awsRestjson1_deserializeDocumentSankeyDiagramAggregatedFieldWells(&sv.SankeyDiagramAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -75014,14 +77499,17 @@ func awsRestjson1_deserializeDocumentSankeyDiagramSortConfiguration(v **types.Sa if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.DestinationItemsLimit, value); err != nil { return err } + case "SourceItemsLimit": if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.SourceItemsLimit, value); err != nil { return err } + case "WeightSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.WeightSort, value); err != nil { return err } + default: _, _ = key, value @@ -75057,18 +77545,22 @@ func awsRestjson1_deserializeDocumentSankeyDiagramVisual(v **types.SankeyDiagram if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentSankeyDiagramChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -75077,6 +77569,7 @@ func awsRestjson1_deserializeDocumentSankeyDiagramVisual(v **types.SankeyDiagram } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -75112,22 +77605,27 @@ func awsRestjson1_deserializeDocumentScatterPlotCategoricallyAggregatedFieldWell if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Label": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Label, value); err != nil { return err } + case "Size": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Size, value); err != nil { return err } + case "XAxis": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.XAxis, value); err != nil { return err } + case "YAxis": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.YAxis, value); err != nil { return err } + default: _, _ = key, value @@ -75163,46 +77661,57 @@ func awsRestjson1_deserializeDocumentScatterPlotConfiguration(v **types.ScatterP if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentScatterPlotFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentScatterPlotSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + case "XAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.XAxisDisplayOptions, value); err != nil { return err } + case "XAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.XAxisLabelOptions, value); err != nil { return err } + case "YAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.YAxisDisplayOptions, value); err != nil { return err } + case "YAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.YAxisLabelOptions, value); err != nil { return err } + default: _, _ = key, value @@ -75238,10 +77747,12 @@ func awsRestjson1_deserializeDocumentScatterPlotFieldWells(v **types.ScatterPlot if err := awsRestjson1_deserializeDocumentScatterPlotCategoricallyAggregatedFieldWells(&sv.ScatterPlotCategoricallyAggregatedFieldWells, value); err != nil { return err } + case "ScatterPlotUnaggregatedFieldWells": if err := awsRestjson1_deserializeDocumentScatterPlotUnaggregatedFieldWells(&sv.ScatterPlotUnaggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -75277,6 +77788,7 @@ func awsRestjson1_deserializeDocumentScatterPlotSortConfiguration(v **types.Scat if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.ScatterPlotLimitConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -75312,22 +77824,27 @@ func awsRestjson1_deserializeDocumentScatterPlotUnaggregatedFieldWells(v **types if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Category, value); err != nil { return err } + case "Label": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Label, value); err != nil { return err } + case "Size": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Size, value); err != nil { return err } + case "XAxis": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.XAxis, value); err != nil { return err } + case "YAxis": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.YAxis, value); err != nil { return err } + default: _, _ = key, value @@ -75363,22 +77880,27 @@ func awsRestjson1_deserializeDocumentScatterPlotVisual(v **types.ScatterPlotVisu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentScatterPlotConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -75387,6 +77909,7 @@ func awsRestjson1_deserializeDocumentScatterPlotVisual(v **types.ScatterPlotVisu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -75426,6 +77949,7 @@ func awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(v **types.ScheduleR } sv.DayOfMonth = ptr.String(jtv) } + case "DayOfWeek": if value != nil { jtv, ok := value.(string) @@ -75434,6 +77958,7 @@ func awsRestjson1_deserializeDocumentScheduleRefreshOnEntity(v **types.ScheduleR } sv.DayOfWeek = types.DayOfWeek(jtv) } + default: _, _ = key, value @@ -75473,10 +77998,12 @@ func awsRestjson1_deserializeDocumentScrollBarOptions(v **types.ScrollBarOptions } sv.Visibility = types.Visibility(jtv) } + case "VisibleRange": if err := awsRestjson1_deserializeDocumentVisibleRangeOptions(&sv.VisibleRange, value); err != nil { return err } + default: _, _ = key, value @@ -75516,6 +78043,7 @@ func awsRestjson1_deserializeDocumentSecondaryValueOptions(v **types.SecondaryVa } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -75555,6 +78083,7 @@ func awsRestjson1_deserializeDocumentSectionAfterPageBreak(v **types.SectionAfte } sv.Status = types.SectionPageBreakStatus(jtv) } + default: _, _ = key, value @@ -75590,6 +78119,7 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(v **typ if err := awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(&sv.PaperCanvasSizeOptions, value); err != nil { return err } + default: _, _ = key, value @@ -75625,18 +78155,22 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentBodySectionConfigurationList(&sv.BodySections, value); err != nil { return err } + case "CanvasSizeOptions": if err := awsRestjson1_deserializeDocumentSectionBasedLayoutCanvasSizeOptions(&sv.CanvasSizeOptions, value); err != nil { return err } + case "FooterSections": if err := awsRestjson1_deserializeDocumentHeaderFooterSectionConfigurationList(&sv.FooterSections, value); err != nil { return err } + case "HeaderSections": if err := awsRestjson1_deserializeDocumentHeaderFooterSectionConfigurationList(&sv.HeaderSections, value); err != nil { return err } + default: _, _ = key, value @@ -75672,6 +78206,7 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v if err := awsRestjson1_deserializeDocumentSpacing(&sv.PaperMargin, value); err != nil { return err } + case "PaperOrientation": if value != nil { jtv, ok := value.(string) @@ -75680,6 +78215,7 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v } sv.PaperOrientation = types.PaperOrientation(jtv) } + case "PaperSize": if value != nil { jtv, ok := value.(string) @@ -75688,6 +78224,7 @@ func awsRestjson1_deserializeDocumentSectionBasedLayoutPaperCanvasSizeOptions(v } sv.PaperSize = types.PaperSize(jtv) } + default: _, _ = key, value @@ -75723,6 +78260,7 @@ func awsRestjson1_deserializeDocumentSectionLayoutConfiguration(v **types.Sectio if err := awsRestjson1_deserializeDocumentFreeFormSectionLayoutConfiguration(&sv.FreeFormLayout, value); err != nil { return err } + default: _, _ = key, value @@ -75758,6 +78296,7 @@ func awsRestjson1_deserializeDocumentSectionPageBreakConfiguration(v **types.Sec if err := awsRestjson1_deserializeDocumentSectionAfterPageBreak(&sv.After, value); err != nil { return err } + default: _, _ = key, value @@ -75797,10 +78336,12 @@ func awsRestjson1_deserializeDocumentSectionStyle(v **types.SectionStyle, value } sv.Height = ptr.String(jtv) } + case "Padding": if err := awsRestjson1_deserializeDocumentSpacing(&sv.Padding, value); err != nil { return err } + default: _, _ = key, value @@ -75908,6 +78449,7 @@ func awsRestjson1_deserializeDocumentSelectedSheetsFilterScopeConfiguration(v ** if err := awsRestjson1_deserializeDocumentSheetVisualScopingConfigurations(&sv.SheetVisualScopingConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -75947,6 +78489,7 @@ func awsRestjson1_deserializeDocumentSemanticEntityType(v **types.SemanticEntity } sv.SubTypeName = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -75955,10 +78498,12 @@ func awsRestjson1_deserializeDocumentSemanticEntityType(v **types.SemanticEntity } sv.TypeName = ptr.String(jtv) } + case "TypeParameters": if err := awsRestjson1_deserializeDocumentTypeParameters(&sv.TypeParameters, value); err != nil { return err } + default: _, _ = key, value @@ -75998,10 +78543,12 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.FalseyCellValue = ptr.String(jtv) } + case "FalseyCellValueSynonyms": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.FalseyCellValueSynonyms, value); err != nil { return err } + case "SubTypeName": if value != nil { jtv, ok := value.(string) @@ -76010,6 +78557,7 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.SubTypeName = ptr.String(jtv) } + case "TruthyCellValue": if value != nil { jtv, ok := value.(string) @@ -76018,10 +78566,12 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.TruthyCellValue = ptr.String(jtv) } + case "TruthyCellValueSynonyms": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.TruthyCellValueSynonyms, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -76030,10 +78580,12 @@ func awsRestjson1_deserializeDocumentSemanticType(v **types.SemanticType, value } sv.TypeName = ptr.String(jtv) } + case "TypeParameters": if err := awsRestjson1_deserializeDocumentTypeParameters(&sv.TypeParameters, value); err != nil { return err } + default: _, _ = key, value @@ -76249,10 +78801,12 @@ func awsRestjson1_deserializeDocumentSeriesItem(v **types.SeriesItem, value inte if err := awsRestjson1_deserializeDocumentDataFieldSeriesItem(&sv.DataFieldSeriesItem, value); err != nil { return err } + case "FieldSeriesItem": if err := awsRestjson1_deserializeDocumentFieldSeriesItem(&sv.FieldSeriesItem, value); err != nil { return err } + default: _, _ = key, value @@ -76326,6 +78880,7 @@ func awsRestjson1_deserializeDocumentServiceNowParameters(v **types.ServiceNowPa } sv.SiteBaseUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -76365,6 +78920,7 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -76373,6 +78929,7 @@ func awsRestjson1_deserializeDocumentSessionLifetimeInMinutesInvalidException(v } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -76448,10 +79005,12 @@ func awsRestjson1_deserializeDocumentSetParameterValueConfiguration(v **types.Se } sv.DestinationParameterName = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentDestinationParameterValueConfiguration(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -76521,6 +79080,7 @@ func awsRestjson1_deserializeDocumentShapeConditionalFormat(v **types.ShapeCondi if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } + default: _, _ = key, value @@ -76560,6 +79120,7 @@ func awsRestjson1_deserializeDocumentSheet(v **types.Sheet, value interface{}) e } sv.Name = ptr.String(jtv) } + case "SheetId": if value != nil { jtv, ok := value.(string) @@ -76568,6 +79129,7 @@ func awsRestjson1_deserializeDocumentSheet(v **types.Sheet, value interface{}) e } sv.SheetId = ptr.String(jtv) } + default: _, _ = key, value @@ -76607,6 +79169,7 @@ func awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(v **types. } sv.InfoIconText = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -76615,6 +79178,7 @@ func awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(v **types. } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -76650,6 +79214,7 @@ func awsRestjson1_deserializeDocumentSheetControlLayout(v **types.SheetControlLa if err := awsRestjson1_deserializeDocumentSheetControlLayoutConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -76685,6 +79250,7 @@ func awsRestjson1_deserializeDocumentSheetControlLayoutConfiguration(v **types.S if err := awsRestjson1_deserializeDocumentGridLayoutConfiguration(&sv.GridLayout, value); err != nil { return err } + default: _, _ = key, value @@ -76758,6 +79324,7 @@ func awsRestjson1_deserializeDocumentSheetControlsOption(v **types.SheetControls } sv.VisibilityState = types.DashboardUIState(jtv) } + default: _, _ = key, value @@ -76797,6 +79364,7 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.ContentType = types.SheetContentType(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -76805,14 +79373,17 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Description = ptr.String(jtv) } + case "FilterControls": if err := awsRestjson1_deserializeDocumentFilterControlList(&sv.FilterControls, value); err != nil { return err } + case "Layouts": if err := awsRestjson1_deserializeDocumentLayoutList(&sv.Layouts, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -76821,14 +79392,17 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Name = ptr.String(jtv) } + case "ParameterControls": if err := awsRestjson1_deserializeDocumentParameterControlList(&sv.ParameterControls, value); err != nil { return err } + case "SheetControlLayouts": if err := awsRestjson1_deserializeDocumentSheetControlLayoutList(&sv.SheetControlLayouts, value); err != nil { return err } + case "SheetId": if value != nil { jtv, ok := value.(string) @@ -76837,10 +79411,12 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.SheetId = ptr.String(jtv) } + case "TextBoxes": if err := awsRestjson1_deserializeDocumentSheetTextBoxList(&sv.TextBoxes, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -76849,10 +79425,12 @@ func awsRestjson1_deserializeDocumentSheetDefinition(v **types.SheetDefinition, } sv.Title = ptr.String(jtv) } + case "Visuals": if err := awsRestjson1_deserializeDocumentVisualList(&sv.Visuals, value); err != nil { return err } + default: _, _ = key, value @@ -76926,6 +79504,7 @@ func awsRestjson1_deserializeDocumentSheetElementConfigurationOverrides(v **type } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -76961,6 +79540,7 @@ func awsRestjson1_deserializeDocumentSheetElementRenderingRule(v **types.SheetEl if err := awsRestjson1_deserializeDocumentSheetElementConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { return err } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -76969,6 +79549,7 @@ func awsRestjson1_deserializeDocumentSheetElementRenderingRule(v **types.SheetEl } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -77042,6 +79623,7 @@ func awsRestjson1_deserializeDocumentSheetLayoutElementMaximizationOption(v **ty } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -77111,10 +79693,12 @@ func awsRestjson1_deserializeDocumentSheetStyle(v **types.SheetStyle, value inte if err := awsRestjson1_deserializeDocumentTileStyle(&sv.Tile, value); err != nil { return err } + case "TileLayout": if err := awsRestjson1_deserializeDocumentTileLayoutStyle(&sv.TileLayout, value); err != nil { return err } + default: _, _ = key, value @@ -77154,6 +79738,7 @@ func awsRestjson1_deserializeDocumentSheetTextBox(v **types.SheetTextBox, value } sv.Content = ptr.String(jtv) } + case "SheetTextBoxId": if value != nil { jtv, ok := value.(string) @@ -77162,6 +79747,7 @@ func awsRestjson1_deserializeDocumentSheetTextBox(v **types.SheetTextBox, value } sv.SheetTextBoxId = ptr.String(jtv) } + default: _, _ = key, value @@ -77235,6 +79821,7 @@ func awsRestjson1_deserializeDocumentSheetVisualScopingConfiguration(v **types.S } sv.Scope = types.FilterVisualScope(jtv) } + case "SheetId": if value != nil { jtv, ok := value.(string) @@ -77243,10 +79830,12 @@ func awsRestjson1_deserializeDocumentSheetVisualScopingConfiguration(v **types.S } sv.SheetId = ptr.String(jtv) } + case "VisualIds": if err := awsRestjson1_deserializeDocumentFilteredVisualsList(&sv.VisualIds, value); err != nil { return err } + default: _, _ = key, value @@ -77320,6 +79909,7 @@ func awsRestjson1_deserializeDocumentShortFormatText(v **types.ShortFormatText, } sv.PlainText = ptr.String(jtv) } + case "RichText": if value != nil { jtv, ok := value.(string) @@ -77328,6 +79918,7 @@ func awsRestjson1_deserializeDocumentShortFormatText(v **types.ShortFormatText, } sv.RichText = ptr.String(jtv) } + default: _, _ = key, value @@ -77367,6 +79958,7 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.AccountName = ptr.String(jtv) } + case "directoryType": if value != nil { jtv, ok := value.(string) @@ -77375,6 +79967,7 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.DirectoryType = ptr.String(jtv) } + case "IAMUser": if value != nil { jtv, ok := value.(bool) @@ -77383,6 +79976,7 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.IAMUser = jtv } + case "userLoginName": if value != nil { jtv, ok := value.(string) @@ -77391,6 +79985,7 @@ func awsRestjson1_deserializeDocumentSignupResponse(v **types.SignupResponse, va } sv.UserLoginName = ptr.String(jtv) } + default: _, _ = key, value @@ -77430,6 +80025,7 @@ func awsRestjson1_deserializeDocumentSimpleClusterMarker(v **types.SimpleCluster } sv.Color = ptr.String(jtv) } + default: _, _ = key, value @@ -77465,6 +80061,7 @@ func awsRestjson1_deserializeDocumentSingleAxisOptions(v **types.SingleAxisOptio if err := awsRestjson1_deserializeDocumentYAxisOptions(&sv.YAxisOptions, value); err != nil { return err } + default: _, _ = key, value @@ -77500,10 +80097,12 @@ func awsRestjson1_deserializeDocumentSliderControlDisplayOptions(v **types.Slide if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -77543,6 +80142,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.SlotId = ptr.String(jtv) } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -77551,6 +80151,7 @@ func awsRestjson1_deserializeDocumentSlot(v **types.Slot, value interface{}) err } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -77624,6 +80225,7 @@ func awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(v **types.Smal } sv.Placement = types.SmallMultiplesAxisPlacement(jtv) } + case "Scale": if value != nil { jtv, ok := value.(string) @@ -77632,6 +80234,7 @@ func awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(v **types.Smal } sv.Scale = types.SmallMultiplesAxisScale(jtv) } + default: _, _ = key, value @@ -77709,6 +80312,7 @@ func awsRestjson1_deserializeDocumentSmallMultiplesOptions(v **types.SmallMultip } sv.MaxVisibleColumns = ptr.Int64(i64) } + case "MaxVisibleRows": if value != nil { jtv, ok := value.(json.Number) @@ -77721,18 +80325,22 @@ func awsRestjson1_deserializeDocumentSmallMultiplesOptions(v **types.SmallMultip } sv.MaxVisibleRows = ptr.Int64(i64) } + case "PanelConfiguration": if err := awsRestjson1_deserializeDocumentPanelConfiguration(&sv.PanelConfiguration, value); err != nil { return err } + case "XAxis": if err := awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(&sv.XAxis, value); err != nil { return err } + case "YAxis": if err := awsRestjson1_deserializeDocumentSmallMultiplesAxisProperties(&sv.YAxis, value); err != nil { return err } + default: _, _ = key, value @@ -77768,6 +80376,7 @@ func awsRestjson1_deserializeDocumentSnapshotAnonymousUserRedacted(v **types.Sna if err := awsRestjson1_deserializeDocumentSessionTagKeyList(&sv.RowLevelPermissionTagKeys, value); err != nil { return err } + default: _, _ = key, value @@ -77837,14 +80446,17 @@ func awsRestjson1_deserializeDocumentSnapshotConfiguration(v **types.SnapshotCon if err := awsRestjson1_deserializeDocumentSnapshotDestinationConfiguration(&sv.DestinationConfiguration, value); err != nil { return err } + case "FileGroups": if err := awsRestjson1_deserializeDocumentSnapshotFileGroupList(&sv.FileGroups, value); err != nil { return err } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -77880,6 +80492,7 @@ func awsRestjson1_deserializeDocumentSnapshotDestinationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentSnapshotS3DestinationConfigurationList(&sv.S3Destinations, value); err != nil { return err } + default: _, _ = key, value @@ -77919,10 +80532,12 @@ func awsRestjson1_deserializeDocumentSnapshotFile(v **types.SnapshotFile, value } sv.FormatType = types.SnapshotFileFormatType(jtv) } + case "SheetSelections": if err := awsRestjson1_deserializeDocumentSnapshotFileSheetSelectionList(&sv.SheetSelections, value); err != nil { return err } + default: _, _ = key, value @@ -77958,6 +80573,7 @@ func awsRestjson1_deserializeDocumentSnapshotFileGroup(v **types.SnapshotFileGro if err := awsRestjson1_deserializeDocumentSnapshotFileList(&sv.Files, value); err != nil { return err } + default: _, _ = key, value @@ -78065,6 +80681,7 @@ func awsRestjson1_deserializeDocumentSnapshotFileSheetSelection(v **types.Snapsh } sv.SelectionScope = types.SnapshotFileSheetSelectionScope(jtv) } + case "SheetId": if value != nil { jtv, ok := value.(string) @@ -78073,10 +80690,12 @@ func awsRestjson1_deserializeDocumentSnapshotFileSheetSelection(v **types.Snapsh } sv.SheetId = ptr.String(jtv) } + case "VisualIds": if err := awsRestjson1_deserializeDocumentSnapshotFileSheetSelectionVisualIdList(&sv.VisualIds, value); err != nil { return err } + default: _, _ = key, value @@ -78186,6 +80805,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(v **types.SnapshotJobE } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -78194,6 +80814,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobErrorInfo(v **types.SnapshotJobE } sv.ErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -78229,6 +80850,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobResult(v **types.SnapshotJobResu if err := awsRestjson1_deserializeDocumentAnonymousUserSnapshotJobResultList(&sv.AnonymousUsers, value); err != nil { return err } + default: _, _ = key, value @@ -78268,6 +80890,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfo(v **types.Snapsh } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -78276,6 +80899,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfo(v **types.Snapsh } sv.ErrorType = ptr.String(jtv) } + default: _, _ = key, value @@ -78345,10 +80969,12 @@ func awsRestjson1_deserializeDocumentSnapshotJobResultFileGroup(v **types.Snapsh if err := awsRestjson1_deserializeDocumentSnapshotFileList(&sv.Files, value); err != nil { return err } + case "S3Results": if err := awsRestjson1_deserializeDocumentSnapshotJobS3ResultList(&sv.S3Results, value); err != nil { return err } + default: _, _ = key, value @@ -78418,10 +81044,12 @@ func awsRestjson1_deserializeDocumentSnapshotJobS3Result(v **types.SnapshotJobS3 if err := awsRestjson1_deserializeDocumentSnapshotJobResultErrorInfoList(&sv.ErrorInfo, value); err != nil { return err } + case "S3DestinationConfiguration": if err := awsRestjson1_deserializeDocumentSnapshotS3DestinationConfiguration(&sv.S3DestinationConfiguration, value); err != nil { return err } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -78430,6 +81058,7 @@ func awsRestjson1_deserializeDocumentSnapshotJobS3Result(v **types.SnapshotJobS3 } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -78499,6 +81128,7 @@ func awsRestjson1_deserializeDocumentSnapshotS3DestinationConfiguration(v **type if err := awsRestjson1_deserializeDocumentS3BucketConfiguration(&sv.BucketConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -78568,6 +81198,7 @@ func awsRestjson1_deserializeDocumentSnapshotUserConfigurationRedacted(v **types if err := awsRestjson1_deserializeDocumentSnapshotAnonymousUserRedactedList(&sv.AnonymousUsers, value); err != nil { return err } + default: _, _ = key, value @@ -78607,6 +81238,7 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -78615,6 +81247,7 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Host = ptr.String(jtv) } + case "Warehouse": if value != nil { jtv, ok := value.(string) @@ -78623,6 +81256,7 @@ func awsRestjson1_deserializeDocumentSnowflakeParameters(v **types.SnowflakePara } sv.Warehouse = ptr.String(jtv) } + default: _, _ = key, value @@ -78662,6 +81296,7 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Bottom = ptr.String(jtv) } + case "Left": if value != nil { jtv, ok := value.(string) @@ -78670,6 +81305,7 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Left = ptr.String(jtv) } + case "Right": if value != nil { jtv, ok := value.(string) @@ -78678,6 +81314,7 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Right = ptr.String(jtv) } + case "Top": if value != nil { jtv, ok := value.(string) @@ -78686,6 +81323,7 @@ func awsRestjson1_deserializeDocumentSpacing(v **types.Spacing, value interface{ } sv.Top = ptr.String(jtv) } + default: _, _ = key, value @@ -78725,6 +81363,7 @@ func awsRestjson1_deserializeDocumentSparkParameters(v **types.SparkParameters, } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -78737,6 +81376,7 @@ func awsRestjson1_deserializeDocumentSparkParameters(v **types.SparkParameters, } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -78776,6 +81416,7 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -78784,6 +81425,7 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -78796,6 +81438,7 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -78835,6 +81478,7 @@ func awsRestjson1_deserializeDocumentSslProperties(v **types.SslProperties, valu } sv.DisableSsl = jtv } + default: _, _ = key, value @@ -78874,6 +81518,7 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Catalog = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -78882,6 +81527,7 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -78894,6 +81540,7 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.Port = ptr.Int32(int32(i64)) } + case "ProductType": if value != nil { jtv, ok := value.(string) @@ -78902,6 +81549,7 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara } sv.ProductType = types.StarburstProductType(jtv) } + default: _, _ = key, value @@ -78937,6 +81585,7 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData if err := awsRestjson1_deserializeDocumentStringDatasetParameterDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -78945,6 +81594,7 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -78953,6 +81603,7 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.Name = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -78961,6 +81612,7 @@ func awsRestjson1_deserializeDocumentStringDatasetParameter(v **types.StringData } sv.ValueType = types.DatasetParameterValueType(jtv) } + default: _, _ = key, value @@ -78996,6 +81648,7 @@ func awsRestjson1_deserializeDocumentStringDatasetParameterDefaultValues(v **typ if err := awsRestjson1_deserializeDocumentStringDatasetParameterValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -79103,10 +81756,12 @@ func awsRestjson1_deserializeDocumentStringDefaultValues(v **types.StringDefault if err := awsRestjson1_deserializeDocumentDynamicDefaultValue(&sv.DynamicValue, value); err != nil { return err } + case "StaticValues": if err := awsRestjson1_deserializeDocumentStringDefaultValueList(&sv.StaticValues, value); err != nil { return err } + default: _, _ = key, value @@ -79142,10 +81797,12 @@ func awsRestjson1_deserializeDocumentStringFormatConfiguration(v **types.StringF if err := awsRestjson1_deserializeDocumentNullValueFormatConfiguration(&sv.NullValueFormatConfiguration, value); err != nil { return err } + case "NumericFormatConfiguration": if err := awsRestjson1_deserializeDocumentNumericFormatConfiguration(&sv.NumericFormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -79221,10 +81878,12 @@ func awsRestjson1_deserializeDocumentStringParameter(v **types.StringParameter, } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentSensitiveStringList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -79260,10 +81919,12 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String if err := awsRestjson1_deserializeDocumentStringDefaultValues(&sv.DefaultValues, value); err != nil { return err } + case "MappedDataSetParameters": if err := awsRestjson1_deserializeDocumentMappedDataSetParameters(&sv.MappedDataSetParameters, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -79272,6 +81933,7 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String } sv.Name = ptr.String(jtv) } + case "ParameterValueType": if value != nil { jtv, ok := value.(string) @@ -79280,10 +81942,12 @@ func awsRestjson1_deserializeDocumentStringParameterDeclaration(v **types.String } sv.ParameterValueType = types.ParameterValueType(jtv) } + case "ValueWhenUnset": if err := awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(&sv.ValueWhenUnset, value); err != nil { return err } + default: _, _ = key, value @@ -79357,6 +82021,7 @@ func awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(v **types } sv.CustomValue = ptr.String(jtv) } + case "ValueWhenUnsetOption": if value != nil { jtv, ok := value.(string) @@ -79365,6 +82030,7 @@ func awsRestjson1_deserializeDocumentStringValueWhenUnsetConfiguration(v **types } sv.ValueWhenUnsetOption = types.ValueWhenUnsetOption(jtv) } + default: _, _ = key, value @@ -79440,6 +82106,7 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.CustomLabel = ptr.String(jtv) } + case "FieldLevel": if value != nil { jtv, ok := value.(string) @@ -79448,22 +82115,27 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.FieldLevel = types.PivotTableSubtotalLevel(jtv) } + case "FieldLevelOptions": if err := awsRestjson1_deserializeDocumentPivotTableFieldSubtotalOptionsList(&sv.FieldLevelOptions, value); err != nil { return err } + case "MetricHeaderCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.MetricHeaderCellStyle, value); err != nil { return err } + case "StyleTargets": if err := awsRestjson1_deserializeDocumentTableStyleTargetList(&sv.StyleTargets, value); err != nil { return err } + case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } + case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -79472,10 +82144,12 @@ func awsRestjson1_deserializeDocumentSubtotalOptions(v **types.SubtotalOptions, } sv.TotalsVisibility = types.Visibility(jtv) } + case "ValueCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.ValueCellStyle, value); err != nil { return err } + default: _, _ = key, value @@ -79515,6 +82189,7 @@ func awsRestjson1_deserializeDocumentSucceededTopicReviewedAnswer(v **types.Succ } sv.AnswerId = ptr.String(jtv) } + default: _, _ = key, value @@ -79622,6 +82297,7 @@ func awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntry(v **types.Su } sv.KeyArn = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -79634,6 +82310,7 @@ func awsRestjson1_deserializeDocumentSuccessfulKeyRegistrationEntry(v **types.Su } sv.StatusCode = int32(i64) } + default: _, _ = key, value @@ -79705,10 +82382,12 @@ func awsRestjson1_deserializeDocumentTableAggregatedFieldWells(v **types.TableAg if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.GroupBy, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -79748,6 +82427,7 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Color = ptr.String(jtv) } + case "Style": if value != nil { jtv, ok := value.(string) @@ -79756,6 +82436,7 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Style = types.TableBorderStyle(jtv) } + case "Thickness": if value != nil { jtv, ok := value.(json.Number) @@ -79768,6 +82449,7 @@ func awsRestjson1_deserializeDocumentTableBorderOptions(v **types.TableBorderOpt } sv.Thickness = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -79807,10 +82489,12 @@ func awsRestjson1_deserializeDocumentTableCellConditionalFormatting(v **types.Ta } sv.FieldId = ptr.String(jtv) } + case "TextFormat": if err := awsRestjson1_deserializeDocumentTextConditionalFormat(&sv.TextFormat, value); err != nil { return err } + default: _, _ = key, value @@ -79850,6 +82534,7 @@ func awsRestjson1_deserializeDocumentTableCellImageSizingConfiguration(v **types } sv.TableCellImageScalingConfiguration = types.TableCellImageScalingConfiguration(jtv) } + default: _, _ = key, value @@ -79889,14 +82574,17 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.BackgroundColor = ptr.String(jtv) } + case "Border": if err := awsRestjson1_deserializeDocumentGlobalTableBorderOptions(&sv.Border, value); err != nil { return err } + case "FontConfiguration": if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + case "Height": if value != nil { jtv, ok := value.(json.Number) @@ -79909,6 +82597,7 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.Height = ptr.Int32(int32(i64)) } + case "HorizontalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -79917,6 +82606,7 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.HorizontalTextAlignment = types.HorizontalTextAlignment(jtv) } + case "TextWrap": if value != nil { jtv, ok := value.(string) @@ -79925,6 +82615,7 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.TextWrap = types.TextWrap(jtv) } + case "VerticalTextAlignment": if value != nil { jtv, ok := value.(string) @@ -79933,6 +82624,7 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.VerticalTextAlignment = types.VerticalTextAlignment(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -79941,6 +82633,7 @@ func awsRestjson1_deserializeDocumentTableCellStyle(v **types.TableCellStyle, va } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -79976,6 +82669,7 @@ func awsRestjson1_deserializeDocumentTableConditionalFormatting(v **types.TableC if err := awsRestjson1_deserializeDocumentTableConditionalFormattingOptionList(&sv.ConditionalFormattingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -80011,10 +82705,12 @@ func awsRestjson1_deserializeDocumentTableConditionalFormattingOption(v **types. if err := awsRestjson1_deserializeDocumentTableCellConditionalFormatting(&sv.Cell, value); err != nil { return err } + case "Row": if err := awsRestjson1_deserializeDocumentTableRowConditionalFormatting(&sv.Row, value); err != nil { return err } + default: _, _ = key, value @@ -80084,34 +82780,42 @@ func awsRestjson1_deserializeDocumentTableConfiguration(v **types.TableConfigura if err := awsRestjson1_deserializeDocumentTableFieldOptions(&sv.FieldOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentTableFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "PaginatedReportOptions": if err := awsRestjson1_deserializeDocumentTablePaginatedReportOptions(&sv.PaginatedReportOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentTableSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "TableInlineVisualizations": if err := awsRestjson1_deserializeDocumentTableInlineVisualizationList(&sv.TableInlineVisualizations, value); err != nil { return err } + case "TableOptions": if err := awsRestjson1_deserializeDocumentTableOptions(&sv.TableOptions, value); err != nil { return err } + case "TotalOptions": if err := awsRestjson1_deserializeDocumentTotalOptions(&sv.TotalOptions, value); err != nil { return err } + default: _, _ = key, value @@ -80151,6 +82855,7 @@ func awsRestjson1_deserializeDocumentTableFieldCustomIconContent(v **types.Table } sv.Icon = types.TableFieldIconSetType(jtv) } + default: _, _ = key, value @@ -80186,6 +82891,7 @@ func awsRestjson1_deserializeDocumentTableFieldCustomTextContent(v **types.Table if err := awsRestjson1_deserializeDocumentFontConfiguration(&sv.FontConfiguration, value); err != nil { return err } + case "Value": if value != nil { jtv, ok := value.(string) @@ -80194,6 +82900,7 @@ func awsRestjson1_deserializeDocumentTableFieldCustomTextContent(v **types.Table } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -80229,6 +82936,7 @@ func awsRestjson1_deserializeDocumentTableFieldImageConfiguration(v **types.Tabl if err := awsRestjson1_deserializeDocumentTableCellImageSizingConfiguration(&sv.SizingOptions, value); err != nil { return err } + default: _, _ = key, value @@ -80264,6 +82972,7 @@ func awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(v **types.Table if err := awsRestjson1_deserializeDocumentTableFieldLinkContentConfiguration(&sv.Content, value); err != nil { return err } + case "Target": if value != nil { jtv, ok := value.(string) @@ -80272,6 +82981,7 @@ func awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(v **types.Table } sv.Target = types.URLTargetConfiguration(jtv) } + default: _, _ = key, value @@ -80307,10 +83017,12 @@ func awsRestjson1_deserializeDocumentTableFieldLinkContentConfiguration(v **type if err := awsRestjson1_deserializeDocumentTableFieldCustomIconContent(&sv.CustomIconContent, value); err != nil { return err } + case "CustomTextContent": if err := awsRestjson1_deserializeDocumentTableFieldCustomTextContent(&sv.CustomTextContent, value); err != nil { return err } + default: _, _ = key, value @@ -80350,6 +83062,7 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.CustomLabel = ptr.String(jtv) } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -80358,10 +83071,12 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.FieldId = ptr.String(jtv) } + case "URLStyling": if err := awsRestjson1_deserializeDocumentTableFieldURLConfiguration(&sv.URLStyling, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -80370,6 +83085,7 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.Visibility = types.Visibility(jtv) } + case "Width": if value != nil { jtv, ok := value.(string) @@ -80378,6 +83094,7 @@ func awsRestjson1_deserializeDocumentTableFieldOption(v **types.TableFieldOption } sv.Width = ptr.String(jtv) } + default: _, _ = key, value @@ -80447,14 +83164,17 @@ func awsRestjson1_deserializeDocumentTableFieldOptions(v **types.TableFieldOptio if err := awsRestjson1_deserializeDocumentFieldOrderList(&sv.Order, value); err != nil { return err } + case "PinnedFieldOptions": if err := awsRestjson1_deserializeDocumentTablePinnedFieldOptions(&sv.PinnedFieldOptions, value); err != nil { return err } + case "SelectedFieldOptions": if err := awsRestjson1_deserializeDocumentTableFieldOptionList(&sv.SelectedFieldOptions, value); err != nil { return err } + default: _, _ = key, value @@ -80526,10 +83246,12 @@ func awsRestjson1_deserializeDocumentTableFieldURLConfiguration(v **types.TableF if err := awsRestjson1_deserializeDocumentTableFieldImageConfiguration(&sv.ImageConfiguration, value); err != nil { return err } + case "LinkConfiguration": if err := awsRestjson1_deserializeDocumentTableFieldLinkConfiguration(&sv.LinkConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -80565,10 +83287,12 @@ func awsRestjson1_deserializeDocumentTableFieldWells(v **types.TableFieldWells, if err := awsRestjson1_deserializeDocumentTableAggregatedFieldWells(&sv.TableAggregatedFieldWells, value); err != nil { return err } + case "TableUnaggregatedFieldWells": if err := awsRestjson1_deserializeDocumentTableUnaggregatedFieldWells(&sv.TableUnaggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -80604,6 +83328,7 @@ func awsRestjson1_deserializeDocumentTableInlineVisualization(v **types.TableInl if err := awsRestjson1_deserializeDocumentDataBarsOptions(&sv.DataBars, value); err != nil { return err } + default: _, _ = key, value @@ -80673,10 +83398,12 @@ func awsRestjson1_deserializeDocumentTableOptions(v **types.TableOptions, value if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.CellStyle, value); err != nil { return err } + case "HeaderStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.HeaderStyle, value); err != nil { return err } + case "Orientation": if value != nil { jtv, ok := value.(string) @@ -80685,10 +83412,12 @@ func awsRestjson1_deserializeDocumentTableOptions(v **types.TableOptions, value } sv.Orientation = types.TableOrientation(jtv) } + case "RowAlternateColorOptions": if err := awsRestjson1_deserializeDocumentRowAlternateColorOptions(&sv.RowAlternateColorOptions, value); err != nil { return err } + default: _, _ = key, value @@ -80728,6 +83457,7 @@ func awsRestjson1_deserializeDocumentTablePaginatedReportOptions(v **types.Table } sv.OverflowColumnHeaderVisibility = types.Visibility(jtv) } + case "VerticalOverflowVisibility": if value != nil { jtv, ok := value.(string) @@ -80736,6 +83466,7 @@ func awsRestjson1_deserializeDocumentTablePaginatedReportOptions(v **types.Table } sv.VerticalOverflowVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -80771,6 +83502,7 @@ func awsRestjson1_deserializeDocumentTablePinnedFieldOptions(v **types.TablePinn if err := awsRestjson1_deserializeDocumentTableFieldOrderList(&sv.PinnedLeftFields, value); err != nil { return err } + default: _, _ = key, value @@ -80806,10 +83538,12 @@ func awsRestjson1_deserializeDocumentTableRowConditionalFormatting(v **types.Tab if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -80845,26 +83579,32 @@ func awsRestjson1_deserializeDocumentTableSideBorderOptions(v **types.TableSideB if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Bottom, value); err != nil { return err } + case "InnerHorizontal": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.InnerHorizontal, value); err != nil { return err } + case "InnerVertical": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.InnerVertical, value); err != nil { return err } + case "Left": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Left, value); err != nil { return err } + case "Right": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Right, value); err != nil { return err } + case "Top": if err := awsRestjson1_deserializeDocumentTableBorderOptions(&sv.Top, value); err != nil { return err } + default: _, _ = key, value @@ -80900,10 +83640,12 @@ func awsRestjson1_deserializeDocumentTableSortConfiguration(v **types.TableSortC if err := awsRestjson1_deserializeDocumentPaginationConfiguration(&sv.PaginationConfiguration, value); err != nil { return err } + case "RowSort": if err := awsRestjson1_deserializeDocumentRowSortList(&sv.RowSort, value); err != nil { return err } + default: _, _ = key, value @@ -80943,6 +83685,7 @@ func awsRestjson1_deserializeDocumentTableStyleTarget(v **types.TableStyleTarget } sv.CellType = types.StyledCellType(jtv) } + default: _, _ = key, value @@ -81012,6 +83755,7 @@ func awsRestjson1_deserializeDocumentTableUnaggregatedFieldWells(v **types.Table if err := awsRestjson1_deserializeDocumentUnaggregatedFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -81047,22 +83791,27 @@ func awsRestjson1_deserializeDocumentTableVisual(v **types.TableVisual, value in if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentTableConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ConditionalFormatting": if err := awsRestjson1_deserializeDocumentTableConditionalFormatting(&sv.ConditionalFormatting, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -81071,6 +83820,7 @@ func awsRestjson1_deserializeDocumentTableVisual(v **types.TableVisual, value in } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -81110,6 +83860,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -81118,6 +83869,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -81157,10 +83909,12 @@ func awsRestjson1_deserializeDocumentTagColumnOperation(v **types.TagColumnOpera } sv.ColumnName = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentColumnTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -81270,6 +84024,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -81285,6 +84040,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -81300,6 +84056,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -81308,6 +84065,7 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.Name = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -81316,10 +84074,12 @@ func awsRestjson1_deserializeDocumentTemplate(v **types.Template, value interfac } sv.TemplateId = ptr.String(jtv) } + case "Version": if err := awsRestjson1_deserializeDocumentTemplateVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -81359,6 +84119,7 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.AliasName = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -81367,6 +84128,7 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.Arn = ptr.String(jtv) } + case "TemplateVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -81379,6 +84141,7 @@ func awsRestjson1_deserializeDocumentTemplateAlias(v **types.TemplateAlias, valu } sv.TemplateVersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -81452,6 +84215,7 @@ func awsRestjson1_deserializeDocumentTemplateError(v **types.TemplateError, valu } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -81460,10 +84224,12 @@ func awsRestjson1_deserializeDocumentTemplateError(v **types.TemplateError, valu } sv.Type = types.TemplateErrorType(jtv) } + case "ViolatedEntities": if err := awsRestjson1_deserializeDocumentEntityList(&sv.ViolatedEntities, value); err != nil { return err } + default: _, _ = key, value @@ -81537,6 +84303,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -81552,6 +84319,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -81567,6 +84335,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -81579,6 +84348,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.LatestVersionNumber = ptr.Int64(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -81587,6 +84357,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } + case "TemplateId": if value != nil { jtv, ok := value.(string) @@ -81595,6 +84366,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.TemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -81675,10 +84447,12 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } } + case "DataSetConfigurations": if err := awsRestjson1_deserializeDocumentDataSetConfigurationList(&sv.DataSetConfigurations, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -81687,14 +84461,17 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.Description = ptr.String(jtv) } + case "Errors": if err := awsRestjson1_deserializeDocumentTemplateErrorList(&sv.Errors, value); err != nil { return err } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetList(&sv.Sheets, value); err != nil { return err } + case "SourceEntityArn": if value != nil { jtv, ok := value.(string) @@ -81703,6 +84480,7 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.SourceEntityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -81711,6 +84489,7 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.Status = types.ResourceStatus(jtv) } + case "ThemeArn": if value != nil { jtv, ok := value.(string) @@ -81719,6 +84498,7 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.ThemeArn = ptr.String(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -81731,6 +84511,7 @@ func awsRestjson1_deserializeDocumentTemplateVersion(v **types.TemplateVersion, } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -81766,38 +84547,47 @@ func awsRestjson1_deserializeDocumentTemplateVersionDefinition(v **types.Templat if err := awsRestjson1_deserializeDocumentAnalysisDefaults(&sv.AnalysisDefaults, value); err != nil { return err } + case "CalculatedFields": if err := awsRestjson1_deserializeDocumentCalculatedFields(&sv.CalculatedFields, value); err != nil { return err } + case "ColumnConfigurations": if err := awsRestjson1_deserializeDocumentColumnConfigurationList(&sv.ColumnConfigurations, value); err != nil { return err } + case "DataSetConfigurations": if err := awsRestjson1_deserializeDocumentDataSetConfigurationList(&sv.DataSetConfigurations, value); err != nil { return err } + case "FilterGroups": if err := awsRestjson1_deserializeDocumentFilterGroupList(&sv.FilterGroups, value); err != nil { return err } + case "Options": if err := awsRestjson1_deserializeDocumentAssetOptions(&sv.Options, value); err != nil { return err } + case "ParameterDeclarations": if err := awsRestjson1_deserializeDocumentParameterDeclarationList(&sv.ParameterDeclarations, value); err != nil { return err } + case "QueryExecutionOptions": if err := awsRestjson1_deserializeDocumentQueryExecutionOptions(&sv.QueryExecutionOptions, value); err != nil { return err } + case "Sheets": if err := awsRestjson1_deserializeDocumentSheetDefinitionList(&sv.Sheets, value); err != nil { return err } + default: _, _ = key, value @@ -81837,6 +84627,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -81852,6 +84643,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -81860,6 +84652,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Description = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -81868,6 +84661,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.Status = types.ResourceStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -81880,6 +84674,7 @@ func awsRestjson1_deserializeDocumentTemplateVersionSummary(v **types.TemplateVe } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -81953,6 +84748,7 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Database = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -81961,6 +84757,7 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -81973,6 +84770,7 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -82008,14 +84806,17 @@ func awsRestjson1_deserializeDocumentTextAreaControlDisplayOptions(v **types.Tex if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "PlaceholderOptions": if err := awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(&sv.PlaceholderOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -82051,14 +84852,17 @@ func awsRestjson1_deserializeDocumentTextConditionalFormat(v **types.TextConditi if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.BackgroundColor, value); err != nil { return err } + case "Icon": if err := awsRestjson1_deserializeDocumentConditionalFormattingIcon(&sv.Icon, value); err != nil { return err } + case "TextColor": if err := awsRestjson1_deserializeDocumentConditionalFormattingColor(&sv.TextColor, value); err != nil { return err } + default: _, _ = key, value @@ -82098,6 +84902,7 @@ func awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(v **types.Tex } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -82133,14 +84938,17 @@ func awsRestjson1_deserializeDocumentTextFieldControlDisplayOptions(v **types.Te if err := awsRestjson1_deserializeDocumentSheetControlInfoIconLabelOptions(&sv.InfoIconLabelOptions, value); err != nil { return err } + case "PlaceholderOptions": if err := awsRestjson1_deserializeDocumentTextControlPlaceholderOptions(&sv.PlaceholderOptions, value); err != nil { return err } + case "TitleOptions": if err := awsRestjson1_deserializeDocumentLabelOptions(&sv.TitleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -82180,6 +84988,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -82195,6 +85004,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -82210,6 +85020,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -82218,6 +85029,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Name = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -82226,6 +85038,7 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.ThemeId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -82234,10 +85047,12 @@ func awsRestjson1_deserializeDocumentTheme(v **types.Theme, value interface{}) e } sv.Type = types.ThemeType(jtv) } + case "Version": if err := awsRestjson1_deserializeDocumentThemeVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -82277,6 +85092,7 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.AliasName = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -82285,6 +85101,7 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.Arn = ptr.String(jtv) } + case "ThemeVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -82297,6 +85114,7 @@ func awsRestjson1_deserializeDocumentThemeAlias(v **types.ThemeAlias, value inte } sv.ThemeVersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -82366,18 +85184,22 @@ func awsRestjson1_deserializeDocumentThemeConfiguration(v **types.ThemeConfigura if err := awsRestjson1_deserializeDocumentDataColorPalette(&sv.DataColorPalette, value); err != nil { return err } + case "Sheet": if err := awsRestjson1_deserializeDocumentSheetStyle(&sv.Sheet, value); err != nil { return err } + case "Typography": if err := awsRestjson1_deserializeDocumentTypography(&sv.Typography, value); err != nil { return err } + case "UIColorPalette": if err := awsRestjson1_deserializeDocumentUIColorPalette(&sv.UIColorPalette, value); err != nil { return err } + default: _, _ = key, value @@ -82417,6 +85239,7 @@ func awsRestjson1_deserializeDocumentThemeError(v **types.ThemeError, value inte } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -82425,6 +85248,7 @@ func awsRestjson1_deserializeDocumentThemeError(v **types.ThemeError, value inte } sv.Type = types.ThemeErrorType(jtv) } + default: _, _ = key, value @@ -82498,6 +85322,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -82513,6 +85338,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -82528,6 +85354,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } } + case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -82540,6 +85367,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.LatestVersionNumber = ptr.Int64(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -82548,6 +85376,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.Name = ptr.String(jtv) } + case "ThemeId": if value != nil { jtv, ok := value.(string) @@ -82556,6 +85385,7 @@ func awsRestjson1_deserializeDocumentThemeSummary(v **types.ThemeSummary, value } sv.ThemeId = ptr.String(jtv) } + default: _, _ = key, value @@ -82629,6 +85459,7 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Arn = ptr.String(jtv) } + case "BaseThemeId": if value != nil { jtv, ok := value.(string) @@ -82637,10 +85468,12 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.BaseThemeId = ptr.String(jtv) } + case "Configuration": if err := awsRestjson1_deserializeDocumentThemeConfiguration(&sv.Configuration, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -82656,6 +85489,7 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -82664,10 +85498,12 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Description = ptr.String(jtv) } + case "Errors": if err := awsRestjson1_deserializeDocumentThemeErrorList(&sv.Errors, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -82676,6 +85512,7 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.Status = types.ResourceStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -82688,6 +85525,7 @@ func awsRestjson1_deserializeDocumentThemeVersion(v **types.ThemeVersion, value } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -82727,6 +85565,7 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -82742,6 +85581,7 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -82750,6 +85590,7 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Description = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -82758,6 +85599,7 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.Status = types.ResourceStatus(jtv) } + case "VersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -82770,6 +85612,7 @@ func awsRestjson1_deserializeDocumentThemeVersionSummary(v **types.ThemeVersionS } sv.VersionNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -82843,6 +85686,7 @@ func awsRestjson1_deserializeDocumentThousandSeparatorOptions(v **types.Thousand } sv.Symbol = types.NumericSeparatorSymbol(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -82851,6 +85695,7 @@ func awsRestjson1_deserializeDocumentThousandSeparatorOptions(v **types.Thousand } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -82890,6 +85735,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -82898,6 +85744,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -82933,10 +85780,12 @@ func awsRestjson1_deserializeDocumentTileLayoutStyle(v **types.TileLayoutStyle, if err := awsRestjson1_deserializeDocumentGutterStyle(&sv.Gutter, value); err != nil { return err } + case "Margin": if err := awsRestjson1_deserializeDocumentMarginStyle(&sv.Margin, value); err != nil { return err } + default: _, _ = key, value @@ -82972,6 +85821,7 @@ func awsRestjson1_deserializeDocumentTileStyle(v **types.TileStyle, value interf if err := awsRestjson1_deserializeDocumentBorderStyle(&sv.Border, value); err != nil { return err } + default: _, _ = key, value @@ -83036,6 +85886,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } } + case "PeriodsBackward": if value != nil { jtv, ok := value.(json.Number) @@ -83048,6 +85899,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PeriodsBackward = ptr.Int32(int32(i64)) } + case "PeriodsForward": if value != nil { jtv, ok := value.(json.Number) @@ -83060,6 +85912,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PeriodsForward = ptr.Int32(int32(i64)) } + case "PredictionInterval": if value != nil { jtv, ok := value.(json.Number) @@ -83072,6 +85925,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.PredictionInterval = ptr.Int32(int32(i64)) } + case "Seasonality": if value != nil { jtv, ok := value.(json.Number) @@ -83084,6 +85938,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } sv.Seasonality = ptr.Int32(int32(i64)) } + case "UpperBoundary": if value != nil { switch jtv := value.(type) { @@ -83117,6 +85972,7 @@ func awsRestjson1_deserializeDocumentTimeBasedForecastProperties(v **types.TimeB } } + default: _, _ = key, value @@ -83152,10 +86008,12 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -83164,6 +86022,7 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.FilterId = ptr.String(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -83172,10 +86031,12 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.ParameterName = ptr.String(jtv) } + case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -83184,6 +86045,7 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } sv.TimeGranularity = types.TimeGranularity(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -83199,6 +86061,7 @@ func awsRestjson1_deserializeDocumentTimeEqualityFilter(v **types.TimeEqualityFi } } + default: _, _ = key, value @@ -83234,6 +86097,7 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "RangeMaximum": if value != nil { switch jtv := value.(type) { @@ -83249,6 +86113,7 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } } + case "RangeMinimum": if value != nil { switch jtv := value.(type) { @@ -83264,6 +86129,7 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -83272,6 +86138,7 @@ func awsRestjson1_deserializeDocumentTimeRangeDrillDownFilter(v **types.TimeRang } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -83307,14 +86174,17 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "ExcludePeriodConfiguration": if err := awsRestjson1_deserializeDocumentExcludePeriodConfiguration(&sv.ExcludePeriodConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -83323,6 +86193,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.FilterId = ptr.String(jtv) } + case "IncludeMaximum": if value != nil { jtv, ok := value.(bool) @@ -83331,6 +86202,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.IncludeMaximum = ptr.Bool(jtv) } + case "IncludeMinimum": if value != nil { jtv, ok := value.(bool) @@ -83339,6 +86211,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.IncludeMinimum = ptr.Bool(jtv) } + case "NullOption": if value != nil { jtv, ok := value.(string) @@ -83347,14 +86220,17 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.NullOption = types.FilterNullOption(jtv) } + case "RangeMaximumValue": if err := awsRestjson1_deserializeDocumentTimeRangeFilterValue(&sv.RangeMaximumValue, value); err != nil { return err } + case "RangeMinimumValue": if err := awsRestjson1_deserializeDocumentTimeRangeFilterValue(&sv.RangeMinimumValue, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -83363,6 +86239,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilter(v **types.TimeRangeFilter, } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -83402,10 +86279,12 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterValue(v **types.TimeRangeFil } sv.Parameter = ptr.String(jtv) } + case "RollingDate": if err := awsRestjson1_deserializeDocumentRollingDateConfiguration(&sv.RollingDate, value); err != nil { return err } + case "StaticValue": if value != nil { switch jtv := value.(type) { @@ -83421,6 +86300,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterValue(v **types.TimeRangeFil } } + default: _, _ = key, value @@ -83456,10 +86336,12 @@ func awsRestjson1_deserializeDocumentTooltipItem(v **types.TooltipItem, value in if err := awsRestjson1_deserializeDocumentColumnTooltipItem(&sv.ColumnTooltipItem, value); err != nil { return err } + case "FieldTooltipItem": if err := awsRestjson1_deserializeDocumentFieldTooltipItem(&sv.FieldTooltipItem, value); err != nil { return err } + default: _, _ = key, value @@ -83529,6 +86411,7 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va if err := awsRestjson1_deserializeDocumentFieldBasedTooltip(&sv.FieldBasedTooltip, value); err != nil { return err } + case "SelectedTooltipType": if value != nil { jtv, ok := value.(string) @@ -83537,6 +86420,7 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va } sv.SelectedTooltipType = types.SelectedTooltipType(jtv) } + case "TooltipVisibility": if value != nil { jtv, ok := value.(string) @@ -83545,6 +86429,7 @@ func awsRestjson1_deserializeDocumentTooltipOptions(v **types.TooltipOptions, va } sv.TooltipVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -83580,14 +86465,17 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, if err := awsRestjson1_deserializeDocumentAggregationSortConfigurationList(&sv.AggregationSortConfigurations, value); err != nil { return err } + case "Column": if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "DefaultFilterControlConfiguration": if err := awsRestjson1_deserializeDocumentDefaultFilterControlConfiguration(&sv.DefaultFilterControlConfiguration, value); err != nil { return err } + case "FilterId": if value != nil { jtv, ok := value.(string) @@ -83596,6 +86484,7 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.FilterId = ptr.String(jtv) } + case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -83608,6 +86497,7 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.Limit = ptr.Int32(int32(i64)) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -83616,6 +86506,7 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.ParameterName = ptr.String(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -83624,6 +86515,7 @@ func awsRestjson1_deserializeDocumentTopBottomFilter(v **types.TopBottomFilter, } sv.TimeGranularity = types.TimeGranularity(jtv) } + default: _, _ = key, value @@ -83659,6 +86551,7 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } + case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -83667,6 +86560,7 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.ComputationId = ptr.String(jtv) } + case "MoverSize": if value != nil { jtv, ok := value.(json.Number) @@ -83679,6 +86573,7 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.MoverSize = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -83687,6 +86582,7 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.Name = ptr.String(jtv) } + case "SortOrder": if value != nil { jtv, ok := value.(string) @@ -83695,10 +86591,12 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.SortOrder = types.TopBottomSortOrder(jtv) } + case "Time": if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Time, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -83707,10 +86605,12 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot } sv.Type = types.TopBottomComputationType(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -83746,6 +86646,7 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } + case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -83754,6 +86655,7 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -83762,6 +86664,7 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.Name = ptr.String(jtv) } + case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -83774,6 +86677,7 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.ResultSize = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -83782,10 +86686,12 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot } sv.Type = types.TopBottomComputationType(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -83825,10 +86731,12 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.Aggregation = types.DefaultAggregation(jtv) } + case "AllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.AllowedAggregations, value); err != nil { return err } + case "CalculatedFieldDescription": if value != nil { jtv, ok := value.(string) @@ -83837,6 +86745,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.CalculatedFieldDescription = ptr.String(jtv) } + case "CalculatedFieldName": if value != nil { jtv, ok := value.(string) @@ -83845,14 +86754,17 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.CalculatedFieldName = ptr.String(jtv) } + case "CalculatedFieldSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.CalculatedFieldSynonyms, value); err != nil { return err } + case "CellValueSynonyms": if err := awsRestjson1_deserializeDocumentCellValueSynonyms(&sv.CellValueSynonyms, value); err != nil { return err } + case "ColumnDataRole": if value != nil { jtv, ok := value.(string) @@ -83861,14 +86773,17 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.ColumnDataRole = types.ColumnDataRole(jtv) } + case "ComparativeOrder": if err := awsRestjson1_deserializeDocumentComparativeOrder(&sv.ComparativeOrder, value); err != nil { return err } + case "DefaultFormatting": if err := awsRestjson1_deserializeDocumentDefaultFormatting(&sv.DefaultFormatting, value); err != nil { return err } + case "DisableIndexing": if value != nil { jtv, ok := value.(bool) @@ -83877,6 +86792,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.DisableIndexing = ptr.Bool(jtv) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -83885,6 +86801,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.Expression = ptr.String(jtv) } + case "IsIncludedInTopic": if value != nil { jtv, ok := value.(bool) @@ -83893,6 +86810,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.IsIncludedInTopic = jtv } + case "NeverAggregateInFilter": if value != nil { jtv, ok := value.(bool) @@ -83901,6 +86819,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.NeverAggregateInFilter = jtv } + case "NonAdditive": if value != nil { jtv, ok := value.(bool) @@ -83909,14 +86828,17 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.NonAdditive = ptr.Bool(jtv) } + case "NotAllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.NotAllowedAggregations, value); err != nil { return err } + case "SemanticType": if err := awsRestjson1_deserializeDocumentSemanticType(&sv.SemanticType, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -83925,6 +86847,7 @@ func awsRestjson1_deserializeDocumentTopicCalculatedField(v **types.TopicCalcula } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } + default: _, _ = key, value @@ -83998,6 +86921,7 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.CategoryFilterFunction = types.CategoryFilterFunction(jtv) } + case "CategoryFilterType": if value != nil { jtv, ok := value.(string) @@ -84006,10 +86930,12 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.CategoryFilterType = types.CategoryFilterType(jtv) } + case "Constant": if err := awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(&sv.Constant, value); err != nil { return err } + case "Inverse": if value != nil { jtv, ok := value.(bool) @@ -84018,6 +86944,7 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilter(v **types.TopicCategory } sv.Inverse = jtv } + default: _, _ = key, value @@ -84053,6 +86980,7 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic if err := awsRestjson1_deserializeDocumentCollectiveConstant(&sv.CollectiveConstant, value); err != nil { return err } + case "ConstantType": if value != nil { jtv, ok := value.(string) @@ -84061,6 +86989,7 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic } sv.ConstantType = types.ConstantType(jtv) } + case "SingularConstant": if value != nil { jtv, ok := value.(string) @@ -84069,6 +86998,7 @@ func awsRestjson1_deserializeDocumentTopicCategoryFilterConstant(v **types.Topic } sv.SingularConstant = ptr.String(jtv) } + default: _, _ = key, value @@ -84108,14 +87038,17 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.Aggregation = types.DefaultAggregation(jtv) } + case "AllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.AllowedAggregations, value); err != nil { return err } + case "CellValueSynonyms": if err := awsRestjson1_deserializeDocumentCellValueSynonyms(&sv.CellValueSynonyms, value); err != nil { return err } + case "ColumnDataRole": if value != nil { jtv, ok := value.(string) @@ -84124,6 +87057,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnDataRole = types.ColumnDataRole(jtv) } + case "ColumnDescription": if value != nil { jtv, ok := value.(string) @@ -84132,6 +87066,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnDescription = ptr.String(jtv) } + case "ColumnFriendlyName": if value != nil { jtv, ok := value.(string) @@ -84140,6 +87075,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnFriendlyName = ptr.String(jtv) } + case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -84148,18 +87084,22 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.ColumnName = ptr.String(jtv) } + case "ColumnSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.ColumnSynonyms, value); err != nil { return err } + case "ComparativeOrder": if err := awsRestjson1_deserializeDocumentComparativeOrder(&sv.ComparativeOrder, value); err != nil { return err } + case "DefaultFormatting": if err := awsRestjson1_deserializeDocumentDefaultFormatting(&sv.DefaultFormatting, value); err != nil { return err } + case "DisableIndexing": if value != nil { jtv, ok := value.(bool) @@ -84168,6 +87108,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.DisableIndexing = ptr.Bool(jtv) } + case "IsIncludedInTopic": if value != nil { jtv, ok := value.(bool) @@ -84176,6 +87117,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.IsIncludedInTopic = jtv } + case "NeverAggregateInFilter": if value != nil { jtv, ok := value.(bool) @@ -84184,6 +87126,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.NeverAggregateInFilter = jtv } + case "NonAdditive": if value != nil { jtv, ok := value.(bool) @@ -84192,14 +87135,17 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.NonAdditive = ptr.Bool(jtv) } + case "NotAllowedAggregations": if err := awsRestjson1_deserializeDocumentAuthorSpecifiedAggregations(&sv.NotAllowedAggregations, value); err != nil { return err } + case "SemanticType": if err := awsRestjson1_deserializeDocumentSemanticType(&sv.SemanticType, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -84208,6 +87154,7 @@ func awsRestjson1_deserializeDocumentTopicColumn(v **types.TopicColumn, value in } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } + default: _, _ = key, value @@ -84281,6 +87228,7 @@ func awsRestjson1_deserializeDocumentTopicConfigOptions(v **types.TopicConfigOpt } sv.QBusinessInsightsEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -84320,6 +87268,7 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.ConstantType = types.ConstantType(jtv) } + case "Maximum": if value != nil { jtv, ok := value.(string) @@ -84328,6 +87277,7 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Maximum = ptr.String(jtv) } + case "Minimum": if value != nil { jtv, ok := value.(string) @@ -84336,6 +87286,7 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Minimum = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -84344,10 +87295,12 @@ func awsRestjson1_deserializeDocumentTopicConstantValue(v **types.TopicConstantV } sv.Value = ptr.String(jtv) } + case "ValueList": if err := awsRestjson1_deserializeDocumentCollectiveConstantEntryList(&sv.ValueList, value); err != nil { return err } + default: _, _ = key, value @@ -84383,6 +87336,7 @@ func awsRestjson1_deserializeDocumentTopicDateRangeFilter(v **types.TopicDateRan if err := awsRestjson1_deserializeDocumentTopicRangeFilterConstant(&sv.Constant, value); err != nil { return err } + case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -84391,6 +87345,7 @@ func awsRestjson1_deserializeDocumentTopicDateRangeFilter(v **types.TopicDateRan } sv.Inclusive = jtv } + default: _, _ = key, value @@ -84426,10 +87381,12 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value if err := awsRestjson1_deserializeDocumentTopicConfigOptions(&sv.ConfigOptions, value); err != nil { return err } + case "DataSets": if err := awsRestjson1_deserializeDocumentDatasets(&sv.DataSets, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -84438,6 +87395,7 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -84446,6 +87404,7 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.Name = ptr.String(jtv) } + case "UserExperienceVersion": if value != nil { jtv, ok := value.(string) @@ -84454,6 +87413,7 @@ func awsRestjson1_deserializeDocumentTopicDetails(v **types.TopicDetails, value } sv.UserExperienceVersion = types.TopicUserExperienceVersion(jtv) } + default: _, _ = key, value @@ -84489,10 +87449,12 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in if err := awsRestjson1_deserializeDocumentTopicCategoryFilter(&sv.CategoryFilter, value); err != nil { return err } + case "DateRangeFilter": if err := awsRestjson1_deserializeDocumentTopicDateRangeFilter(&sv.DateRangeFilter, value); err != nil { return err } + case "FilterClass": if value != nil { jtv, ok := value.(string) @@ -84501,6 +87463,7 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterClass = types.FilterClass(jtv) } + case "FilterDescription": if value != nil { jtv, ok := value.(string) @@ -84509,6 +87472,7 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterDescription = ptr.String(jtv) } + case "FilterName": if value != nil { jtv, ok := value.(string) @@ -84517,10 +87481,12 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterName = ptr.String(jtv) } + case "FilterSynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.FilterSynonyms, value); err != nil { return err } + case "FilterType": if value != nil { jtv, ok := value.(string) @@ -84529,14 +87495,17 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.FilterType = types.NamedFilterType(jtv) } + case "NumericEqualityFilter": if err := awsRestjson1_deserializeDocumentTopicNumericEqualityFilter(&sv.NumericEqualityFilter, value); err != nil { return err } + case "NumericRangeFilter": if err := awsRestjson1_deserializeDocumentTopicNumericRangeFilter(&sv.NumericRangeFilter, value); err != nil { return err } + case "OperandFieldName": if value != nil { jtv, ok := value.(string) @@ -84545,10 +87514,12 @@ func awsRestjson1_deserializeDocumentTopicFilter(v **types.TopicFilter, value in } sv.OperandFieldName = ptr.String(jtv) } + case "RelativeDateFilter": if err := awsRestjson1_deserializeDocumentTopicRelativeDateFilter(&sv.RelativeDateFilter, value); err != nil { return err } + default: _, _ = key, value @@ -84618,26 +87589,32 @@ func awsRestjson1_deserializeDocumentTopicIR(v **types.TopicIR, value interface{ if err := awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(&sv.ContributionAnalysis, value); err != nil { return err } + case "Filters": if err := awsRestjson1_deserializeDocumentTopicIRFilterList(&sv.Filters, value); err != nil { return err } + case "GroupByList": if err := awsRestjson1_deserializeDocumentTopicIRGroupByList(&sv.GroupByList, value); err != nil { return err } + case "Metrics": if err := awsRestjson1_deserializeDocumentTopicIRMetricList(&sv.Metrics, value); err != nil { return err } + case "Sort": if err := awsRestjson1_deserializeDocumentTopicSortClause(&sv.Sort, value); err != nil { return err } + case "Visual": if err := awsRestjson1_deserializeDocumentVisualOptions(&sv.Visual, value); err != nil { return err } + default: _, _ = key, value @@ -84677,6 +87654,7 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.Period = types.TopicTimeGranularity(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -84685,6 +87663,7 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.Type = types.ComparisonMethodType(jtv) } + case "WindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -84697,6 +87676,7 @@ func awsRestjson1_deserializeDocumentTopicIRComparisonMethod(v **types.TopicIRCo } sv.WindowSize = int32(i64) } + default: _, _ = key, value @@ -84736,10 +87716,12 @@ func awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(v **types.Topic } sv.Direction = types.ContributionAnalysisDirection(jtv) } + case "Factors": if err := awsRestjson1_deserializeDocumentContributionAnalysisFactorsList(&sv.Factors, value); err != nil { return err } + case "SortType": if value != nil { jtv, ok := value.(string) @@ -84748,10 +87730,12 @@ func awsRestjson1_deserializeDocumentTopicIRContributionAnalysis(v **types.Topic } sv.SortType = types.ContributionAnalysisSortType(jtv) } + case "TimeRanges": if err := awsRestjson1_deserializeDocumentContributionAnalysisTimeRanges(&sv.TimeRanges, value); err != nil { return err } + default: _, _ = key, value @@ -84853,6 +87837,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter if err := awsRestjson1_deserializeDocumentFilterAggMetricsList(&sv.AggMetrics, value); err != nil { return err } + case "Aggregation": if value != nil { jtv, ok := value.(string) @@ -84861,22 +87846,27 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Aggregation = types.AggType(jtv) } + case "AggregationFunctionParameters": if err := awsRestjson1_deserializeDocumentAggFunctionParamMap(&sv.AggregationFunctionParameters, value); err != nil { return err } + case "AggregationPartitionBy": if err := awsRestjson1_deserializeDocumentAggregationPartitionByList(&sv.AggregationPartitionBy, value); err != nil { return err } + case "Anchor": if err := awsRestjson1_deserializeDocumentAnchor(&sv.Anchor, value); err != nil { return err } + case "Constant": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.Constant, value); err != nil { return err } + case "FilterClass": if value != nil { jtv, ok := value.(string) @@ -84885,6 +87875,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.FilterClass = types.FilterClass(jtv) } + case "FilterType": if value != nil { jtv, ok := value.(string) @@ -84893,6 +87884,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.FilterType = types.TopicIRFilterType(jtv) } + case "Function": if value != nil { jtv, ok := value.(string) @@ -84901,6 +87893,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Function = types.TopicIRFilterFunction(jtv) } + case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -84909,6 +87902,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Inclusive = jtv } + case "Inverse": if value != nil { jtv, ok := value.(bool) @@ -84917,10 +87911,12 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.Inverse = jtv } + case "LastNextOffset": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.LastNextOffset, value); err != nil { return err } + case "NullFilter": if value != nil { jtv, ok := value.(string) @@ -84929,14 +87925,17 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.NullFilter = types.NullFilterOption(jtv) } + case "OperandField": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.OperandField, value); err != nil { return err } + case "Range": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.Range, value); err != nil { return err } + case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -84945,6 +87944,7 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.SortDirection = types.TopicSortDirection(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -84953,10 +87953,12 @@ func awsRestjson1_deserializeDocumentTopicIRFilterOption(v **types.TopicIRFilter } sv.TimeGranularity = types.TimeGranularity(jtv) } + case "TopBottomLimit": if err := awsRestjson1_deserializeDocumentTopicConstantValue(&sv.TopBottomLimit, value); err != nil { return err } + default: _, _ = key, value @@ -84996,22 +87998,27 @@ func awsRestjson1_deserializeDocumentTopicIRGroupBy(v **types.TopicIRGroupBy, va } sv.DisplayFormat = types.DisplayFormat(jtv) } + case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } + case "FieldName": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.FieldName, value); err != nil { return err } + case "NamedEntity": if err := awsRestjson1_deserializeDocumentNamedEntityRef(&sv.NamedEntity, value); err != nil { return err } + case "Sort": if err := awsRestjson1_deserializeDocumentTopicSortClause(&sv.Sort, value); err != nil { return err } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -85020,6 +88027,7 @@ func awsRestjson1_deserializeDocumentTopicIRGroupBy(v **types.TopicIRGroupBy, va } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } + default: _, _ = key, value @@ -85089,10 +88097,12 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu if err := awsRestjson1_deserializeDocumentCalculatedFieldReferenceList(&sv.CalculatedFieldReferences, value); err != nil { return err } + case "ComparisonMethod": if err := awsRestjson1_deserializeDocumentTopicIRComparisonMethod(&sv.ComparisonMethod, value); err != nil { return err } + case "DisplayFormat": if value != nil { jtv, ok := value.(string) @@ -85101,10 +88111,12 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu } sv.DisplayFormat = types.DisplayFormat(jtv) } + case "DisplayFormatOptions": if err := awsRestjson1_deserializeDocumentDisplayFormatOptions(&sv.DisplayFormatOptions, value); err != nil { return err } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -85113,22 +88125,27 @@ func awsRestjson1_deserializeDocumentTopicIRMetric(v **types.TopicIRMetric, valu } sv.Expression = ptr.String(jtv) } + case "Function": if err := awsRestjson1_deserializeDocumentAggFunction(&sv.Function, value); err != nil { return err } + case "MetricId": if err := awsRestjson1_deserializeDocumentIdentifier(&sv.MetricId, value); err != nil { return err } + case "NamedEntity": if err := awsRestjson1_deserializeDocumentNamedEntityRef(&sv.NamedEntity, value); err != nil { return err } + case "Operands": if err := awsRestjson1_deserializeDocumentOperandList(&sv.Operands, value); err != nil { return err } + default: _, _ = key, value @@ -85232,6 +88249,7 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity if err := awsRestjson1_deserializeDocumentNamedEntityDefinitions(&sv.Definition, value); err != nil { return err } + case "EntityDescription": if value != nil { jtv, ok := value.(string) @@ -85240,6 +88258,7 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity } sv.EntityDescription = ptr.String(jtv) } + case "EntityName": if value != nil { jtv, ok := value.(string) @@ -85248,14 +88267,17 @@ func awsRestjson1_deserializeDocumentTopicNamedEntity(v **types.TopicNamedEntity } sv.EntityName = ptr.String(jtv) } + case "EntitySynonyms": if err := awsRestjson1_deserializeDocumentSynonyms(&sv.EntitySynonyms, value); err != nil { return err } + case "SemanticEntityType": if err := awsRestjson1_deserializeDocumentSemanticEntityType(&sv.SemanticEntityType, value); err != nil { return err } + default: _, _ = key, value @@ -85295,10 +88317,12 @@ func awsRestjson1_deserializeDocumentTopicNumericEqualityFilter(v **types.TopicN } sv.Aggregation = types.NamedFilterAggType(jtv) } + case "Constant": if err := awsRestjson1_deserializeDocumentTopicSingularFilterConstant(&sv.Constant, value); err != nil { return err } + default: _, _ = key, value @@ -85338,10 +88362,12 @@ func awsRestjson1_deserializeDocumentTopicNumericRangeFilter(v **types.TopicNume } sv.Aggregation = types.NamedFilterAggType(jtv) } + case "Constant": if err := awsRestjson1_deserializeDocumentTopicRangeFilterConstant(&sv.Constant, value); err != nil { return err } + case "Inclusive": if value != nil { jtv, ok := value.(bool) @@ -85350,6 +88376,7 @@ func awsRestjson1_deserializeDocumentTopicNumericRangeFilter(v **types.TopicNume } sv.Inclusive = jtv } + default: _, _ = key, value @@ -85389,10 +88416,12 @@ func awsRestjson1_deserializeDocumentTopicRangeFilterConstant(v **types.TopicRan } sv.ConstantType = types.ConstantType(jtv) } + case "RangeConstant": if err := awsRestjson1_deserializeDocumentRangeConstant(&sv.RangeConstant, value); err != nil { return err } + default: _, _ = key, value @@ -85432,6 +88461,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshArn = ptr.String(jtv) } + case "RefreshId": if value != nil { jtv, ok := value.(string) @@ -85440,6 +88470,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshId = ptr.String(jtv) } + case "RefreshStatus": if value != nil { jtv, ok := value.(string) @@ -85448,6 +88479,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshDetails(v **types.TopicRefreshD } sv.RefreshStatus = types.TopicRefreshStatus(jtv) } + default: _, _ = key, value @@ -85487,6 +88519,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.BasedOnSpiceSchedule = jtv } + case "IsEnabled": if value != nil { jtv, ok := value.(bool) @@ -85495,6 +88528,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.IsEnabled = ptr.Bool(jtv) } + case "RepeatAt": if value != nil { jtv, ok := value.(string) @@ -85503,6 +88537,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.RepeatAt = ptr.String(jtv) } + case "StartingAt": if value != nil { switch jtv := value.(type) { @@ -85518,6 +88553,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -85526,6 +88562,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.Timezone = ptr.String(jtv) } + case "TopicScheduleType": if value != nil { jtv, ok := value.(string) @@ -85534,6 +88571,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshSchedule(v **types.TopicRefresh } sv.TopicScheduleType = types.TopicScheduleType(jtv) } + default: _, _ = key, value @@ -85607,6 +88645,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetArn = ptr.String(jtv) } + case "DatasetId": if value != nil { jtv, ok := value.(string) @@ -85615,6 +88654,7 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetId = ptr.String(jtv) } + case "DatasetName": if value != nil { jtv, ok := value.(string) @@ -85623,10 +88663,12 @@ func awsRestjson1_deserializeDocumentTopicRefreshScheduleSummary(v **types.Topic } sv.DatasetName = ptr.String(jtv) } + case "RefreshSchedule": if err := awsRestjson1_deserializeDocumentTopicRefreshSchedule(&sv.RefreshSchedule, value); err != nil { return err } + default: _, _ = key, value @@ -85662,6 +88704,7 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela if err := awsRestjson1_deserializeDocumentTopicSingularFilterConstant(&sv.Constant, value); err != nil { return err } + case "RelativeDateFilterFunction": if value != nil { jtv, ok := value.(string) @@ -85670,6 +88713,7 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela } sv.RelativeDateFilterFunction = types.TopicRelativeDateFilterFunction(jtv) } + case "TimeGranularity": if value != nil { jtv, ok := value.(string) @@ -85678,6 +88722,7 @@ func awsRestjson1_deserializeDocumentTopicRelativeDateFilter(v **types.TopicRela } sv.TimeGranularity = types.TopicTimeGranularity(jtv) } + default: _, _ = key, value @@ -85717,6 +88762,7 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.AnswerId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -85725,6 +88771,7 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.Arn = ptr.String(jtv) } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -85733,14 +88780,17 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.DatasetArn = ptr.String(jtv) } + case "Mir": if err := awsRestjson1_deserializeDocumentTopicIR(&sv.Mir, value); err != nil { return err } + case "PrimaryVisual": if err := awsRestjson1_deserializeDocumentTopicVisual(&sv.PrimaryVisual, value); err != nil { return err } + case "Question": if value != nil { jtv, ok := value.(string) @@ -85749,10 +88799,12 @@ func awsRestjson1_deserializeDocumentTopicReviewedAnswer(v **types.TopicReviewed } sv.Question = ptr.String(jtv) } + case "Template": if err := awsRestjson1_deserializeDocumentTopicTemplate(&sv.Template, value); err != nil { return err } + default: _, _ = key, value @@ -85826,6 +88878,7 @@ func awsRestjson1_deserializeDocumentTopicSingularFilterConstant(v **types.Topic } sv.ConstantType = types.ConstantType(jtv) } + case "SingularConstant": if value != nil { jtv, ok := value.(string) @@ -85834,6 +88887,7 @@ func awsRestjson1_deserializeDocumentTopicSingularFilterConstant(v **types.Topic } sv.SingularConstant = ptr.String(jtv) } + default: _, _ = key, value @@ -85869,6 +88923,7 @@ func awsRestjson1_deserializeDocumentTopicSortClause(v **types.TopicSortClause, if err := awsRestjson1_deserializeDocumentIdentifier(&sv.Operand, value); err != nil { return err } + case "SortDirection": if value != nil { jtv, ok := value.(string) @@ -85877,6 +88932,7 @@ func awsRestjson1_deserializeDocumentTopicSortClause(v **types.TopicSortClause, } sv.SortDirection = types.TopicSortDirection(jtv) } + default: _, _ = key, value @@ -85950,6 +89006,7 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -85958,6 +89015,7 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.Name = ptr.String(jtv) } + case "TopicId": if value != nil { jtv, ok := value.(string) @@ -85966,6 +89024,7 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.TopicId = ptr.String(jtv) } + case "UserExperienceVersion": if value != nil { jtv, ok := value.(string) @@ -85974,6 +89033,7 @@ func awsRestjson1_deserializeDocumentTopicSummary(v **types.TopicSummary, value } sv.UserExperienceVersion = types.TopicUserExperienceVersion(jtv) } + default: _, _ = key, value @@ -86009,6 +89069,7 @@ func awsRestjson1_deserializeDocumentTopicTemplate(v **types.TopicTemplate, valu if err := awsRestjson1_deserializeDocumentSlots(&sv.Slots, value); err != nil { return err } + case "TemplateType": if value != nil { jtv, ok := value.(string) @@ -86017,6 +89078,7 @@ func awsRestjson1_deserializeDocumentTopicTemplate(v **types.TopicTemplate, valu } sv.TemplateType = ptr.String(jtv) } + default: _, _ = key, value @@ -86052,6 +89114,7 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in if err := awsRestjson1_deserializeDocumentTopicIR(&sv.Ir, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -86060,10 +89123,12 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in } sv.Role = types.VisualRole(jtv) } + case "SupportingVisuals": if err := awsRestjson1_deserializeDocumentTopicVisuals(&sv.SupportingVisuals, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -86072,6 +89137,7 @@ func awsRestjson1_deserializeDocumentTopicVisual(v **types.TopicVisual, value in } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -86145,6 +89211,7 @@ func awsRestjson1_deserializeDocumentTotalAggregationComputation(v **types.Total } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -86153,10 +89220,12 @@ func awsRestjson1_deserializeDocumentTotalAggregationComputation(v **types.Total } sv.Name = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentMeasureField(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -86196,6 +89265,7 @@ func awsRestjson1_deserializeDocumentTotalAggregationFunction(v **types.TotalAgg } sv.SimpleTotalAggregationFunction = types.SimpleTotalAggregationFunction(jtv) } + default: _, _ = key, value @@ -86235,10 +89305,12 @@ func awsRestjson1_deserializeDocumentTotalAggregationOption(v **types.TotalAggre } sv.FieldId = ptr.String(jtv) } + case "TotalAggregationFunction": if err := awsRestjson1_deserializeDocumentTotalAggregationFunction(&sv.TotalAggregationFunction, value); err != nil { return err } + default: _, _ = key, value @@ -86312,6 +89384,7 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.CustomLabel = ptr.String(jtv) } + case "Placement": if value != nil { jtv, ok := value.(string) @@ -86320,6 +89393,7 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.Placement = types.TableTotalsPlacement(jtv) } + case "ScrollStatus": if value != nil { jtv, ok := value.(string) @@ -86328,14 +89402,17 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.ScrollStatus = types.TableTotalsScrollStatus(jtv) } + case "TotalAggregationOptions": if err := awsRestjson1_deserializeDocumentTotalAggregationOptionList(&sv.TotalAggregationOptions, value); err != nil { return err } + case "TotalCellStyle": if err := awsRestjson1_deserializeDocumentTableCellStyle(&sv.TotalCellStyle, value); err != nil { return err } + case "TotalsVisibility": if value != nil { jtv, ok := value.(string) @@ -86344,6 +89421,7 @@ func awsRestjson1_deserializeDocumentTotalOptions(v **types.TotalOptions, value } sv.TotalsVisibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -86521,14 +89599,17 @@ func awsRestjson1_deserializeDocumentTreeMapAggregatedFieldWells(v **types.TreeM if err := awsRestjson1_deserializeDocumentTreeMapMeasureFieldList(&sv.Colors, value); err != nil { return err } + case "Groups": if err := awsRestjson1_deserializeDocumentTreeMapDimensionFieldList(&sv.Groups, value); err != nil { return err } + case "Sizes": if err := awsRestjson1_deserializeDocumentTreeMapMeasureFieldList(&sv.Sizes, value); err != nil { return err } + default: _, _ = key, value @@ -86564,42 +89645,52 @@ func awsRestjson1_deserializeDocumentTreeMapConfiguration(v **types.TreeMapConfi if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.ColorLabelOptions, value); err != nil { return err } + case "ColorScale": if err := awsRestjson1_deserializeDocumentColorScale(&sv.ColorScale, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentTreeMapFieldWells(&sv.FieldWells, value); err != nil { return err } + case "GroupLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.GroupLabelOptions, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "SizeLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.SizeLabelOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentTreeMapSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "Tooltip": if err := awsRestjson1_deserializeDocumentTooltipOptions(&sv.Tooltip, value); err != nil { return err } + default: _, _ = key, value @@ -86669,6 +89760,7 @@ func awsRestjson1_deserializeDocumentTreeMapFieldWells(v **types.TreeMapFieldWel if err := awsRestjson1_deserializeDocumentTreeMapAggregatedFieldWells(&sv.TreeMapAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -86738,10 +89830,12 @@ func awsRestjson1_deserializeDocumentTreeMapSortConfiguration(v **types.TreeMapS if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.TreeMapGroupItemsLimitConfiguration, value); err != nil { return err } + case "TreeMapSort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.TreeMapSort, value); err != nil { return err } + default: _, _ = key, value @@ -86777,22 +89871,27 @@ func awsRestjson1_deserializeDocumentTreeMapVisual(v **types.TreeMapVisual, valu if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentTreeMapConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -86801,6 +89900,7 @@ func awsRestjson1_deserializeDocumentTreeMapVisual(v **types.TreeMapVisual, valu } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -86840,6 +89940,7 @@ func awsRestjson1_deserializeDocumentTrendArrowOptions(v **types.TrendArrowOptio } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -86879,6 +89980,7 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Catalog = ptr.String(jtv) } + case "Host": if value != nil { jtv, ok := value.(string) @@ -86887,6 +89989,7 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Host = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -86899,6 +90002,7 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -86942,6 +90046,7 @@ func awsRestjson1_deserializeDocumentTwitterParameters(v **types.TwitterParamete } sv.MaxRows = ptr.Int32(int32(i64)) } + case "Query": if value != nil { jtv, ok := value.(string) @@ -86950,6 +90055,7 @@ func awsRestjson1_deserializeDocumentTwitterParameters(v **types.TwitterParamete } sv.Query = ptr.String(jtv) } + default: _, _ = key, value @@ -87021,6 +90127,7 @@ func awsRestjson1_deserializeDocumentTypography(v **types.Typography, value inte if err := awsRestjson1_deserializeDocumentFontList(&sv.FontFamilies, value); err != nil { return err } + default: _, _ = key, value @@ -87060,6 +90167,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Accent = ptr.String(jtv) } + case "AccentForeground": if value != nil { jtv, ok := value.(string) @@ -87068,6 +90176,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.AccentForeground = ptr.String(jtv) } + case "Danger": if value != nil { jtv, ok := value.(string) @@ -87076,6 +90185,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Danger = ptr.String(jtv) } + case "DangerForeground": if value != nil { jtv, ok := value.(string) @@ -87084,6 +90194,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.DangerForeground = ptr.String(jtv) } + case "Dimension": if value != nil { jtv, ok := value.(string) @@ -87092,6 +90203,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Dimension = ptr.String(jtv) } + case "DimensionForeground": if value != nil { jtv, ok := value.(string) @@ -87100,6 +90212,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.DimensionForeground = ptr.String(jtv) } + case "Measure": if value != nil { jtv, ok := value.(string) @@ -87108,6 +90221,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Measure = ptr.String(jtv) } + case "MeasureForeground": if value != nil { jtv, ok := value.(string) @@ -87116,6 +90230,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.MeasureForeground = ptr.String(jtv) } + case "PrimaryBackground": if value != nil { jtv, ok := value.(string) @@ -87124,6 +90239,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.PrimaryBackground = ptr.String(jtv) } + case "PrimaryForeground": if value != nil { jtv, ok := value.(string) @@ -87132,6 +90248,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.PrimaryForeground = ptr.String(jtv) } + case "SecondaryBackground": if value != nil { jtv, ok := value.(string) @@ -87140,6 +90257,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SecondaryBackground = ptr.String(jtv) } + case "SecondaryForeground": if value != nil { jtv, ok := value.(string) @@ -87148,6 +90266,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SecondaryForeground = ptr.String(jtv) } + case "Success": if value != nil { jtv, ok := value.(string) @@ -87156,6 +90275,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Success = ptr.String(jtv) } + case "SuccessForeground": if value != nil { jtv, ok := value.(string) @@ -87164,6 +90284,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.SuccessForeground = ptr.String(jtv) } + case "Warning": if value != nil { jtv, ok := value.(string) @@ -87172,6 +90293,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.Warning = ptr.String(jtv) } + case "WarningForeground": if value != nil { jtv, ok := value.(string) @@ -87180,6 +90302,7 @@ func awsRestjson1_deserializeDocumentUIColorPalette(v **types.UIColorPalette, va } sv.WarningForeground = ptr.String(jtv) } + default: _, _ = key, value @@ -87215,6 +90338,7 @@ func awsRestjson1_deserializeDocumentUnaggregatedField(v **types.UnaggregatedFie if err := awsRestjson1_deserializeDocumentColumnIdentifier(&sv.Column, value); err != nil { return err } + case "FieldId": if value != nil { jtv, ok := value.(string) @@ -87223,10 +90347,12 @@ func awsRestjson1_deserializeDocumentUnaggregatedField(v **types.UnaggregatedFie } sv.FieldId = ptr.String(jtv) } + case "FormatConfiguration": if err := awsRestjson1_deserializeDocumentFormatConfiguration(&sv.FormatConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -87296,6 +90422,7 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal if err := awsRestjson1_deserializeDocumentDimensionField(&sv.Category, value); err != nil { return err } + case "ComputationId": if value != nil { jtv, ok := value.(string) @@ -87304,6 +90431,7 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal } sv.ComputationId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -87312,6 +90440,7 @@ func awsRestjson1_deserializeDocumentUniqueValuesComputation(v **types.UniqueVal } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -87351,6 +90480,7 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -87359,6 +90489,7 @@ func awsRestjson1_deserializeDocumentUnsupportedPricingPlanException(v **types.U } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -87398,6 +90529,7 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U } sv.Message = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -87406,6 +90538,7 @@ func awsRestjson1_deserializeDocumentUnsupportedUserEditionException(v **types.U } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -87445,10 +90578,12 @@ func awsRestjson1_deserializeDocumentUntagColumnOperation(v **types.UntagColumnO } sv.ColumnName = ptr.String(jtv) } + case "TagNames": if err := awsRestjson1_deserializeDocumentColumnTagNames(&sv.TagNames, value); err != nil { return err } + default: _, _ = key, value @@ -87522,6 +90657,7 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.ContainsHeader = ptr.Bool(jtv) } + case "Delimiter": if value != nil { jtv, ok := value.(string) @@ -87530,6 +90666,7 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.Delimiter = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -87538,6 +90675,7 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.Format = types.FileFormat(jtv) } + case "StartFromRow": if value != nil { jtv, ok := value.(json.Number) @@ -87550,6 +90688,7 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.StartFromRow = ptr.Int32(int32(i64)) } + case "TextQualifier": if value != nil { jtv, ok := value.(string) @@ -87558,6 +90697,7 @@ func awsRestjson1_deserializeDocumentUploadSettings(v **types.UploadSettings, va } sv.TextQualifier = types.TextQualifier(jtv) } + default: _, _ = key, value @@ -87597,6 +90737,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Active = jtv } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -87605,6 +90746,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Arn = ptr.String(jtv) } + case "CustomPermissionsName": if value != nil { jtv, ok := value.(string) @@ -87613,6 +90755,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.CustomPermissionsName = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -87621,6 +90764,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Email = ptr.String(jtv) } + case "ExternalLoginFederationProviderType": if value != nil { jtv, ok := value.(string) @@ -87629,6 +90773,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginFederationProviderType = ptr.String(jtv) } + case "ExternalLoginFederationProviderUrl": if value != nil { jtv, ok := value.(string) @@ -87637,6 +90782,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginFederationProviderUrl = ptr.String(jtv) } + case "ExternalLoginId": if value != nil { jtv, ok := value.(string) @@ -87645,6 +90791,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.ExternalLoginId = ptr.String(jtv) } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -87653,6 +90800,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityType = types.IdentityType(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -87661,6 +90809,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.PrincipalId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -87669,6 +90818,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Role = types.UserRole(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -87677,6 +90827,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -87746,6 +90897,7 @@ func awsRestjson1_deserializeDocumentVisibleRangeOptions(v **types.VisibleRangeO if err := awsRestjson1_deserializeDocumentPercentVisibleRange(&sv.PercentRange, value); err != nil { return err } + default: _, _ = key, value @@ -87781,94 +90933,117 @@ func awsRestjson1_deserializeDocumentVisual(v **types.Visual, value interface{}) if err := awsRestjson1_deserializeDocumentBarChartVisual(&sv.BarChartVisual, value); err != nil { return err } + case "BoxPlotVisual": if err := awsRestjson1_deserializeDocumentBoxPlotVisual(&sv.BoxPlotVisual, value); err != nil { return err } + case "ComboChartVisual": if err := awsRestjson1_deserializeDocumentComboChartVisual(&sv.ComboChartVisual, value); err != nil { return err } + case "CustomContentVisual": if err := awsRestjson1_deserializeDocumentCustomContentVisual(&sv.CustomContentVisual, value); err != nil { return err } + case "EmptyVisual": if err := awsRestjson1_deserializeDocumentEmptyVisual(&sv.EmptyVisual, value); err != nil { return err } + case "FilledMapVisual": if err := awsRestjson1_deserializeDocumentFilledMapVisual(&sv.FilledMapVisual, value); err != nil { return err } + case "FunnelChartVisual": if err := awsRestjson1_deserializeDocumentFunnelChartVisual(&sv.FunnelChartVisual, value); err != nil { return err } + case "GaugeChartVisual": if err := awsRestjson1_deserializeDocumentGaugeChartVisual(&sv.GaugeChartVisual, value); err != nil { return err } + case "GeospatialMapVisual": if err := awsRestjson1_deserializeDocumentGeospatialMapVisual(&sv.GeospatialMapVisual, value); err != nil { return err } + case "HeatMapVisual": if err := awsRestjson1_deserializeDocumentHeatMapVisual(&sv.HeatMapVisual, value); err != nil { return err } + case "HistogramVisual": if err := awsRestjson1_deserializeDocumentHistogramVisual(&sv.HistogramVisual, value); err != nil { return err } + case "InsightVisual": if err := awsRestjson1_deserializeDocumentInsightVisual(&sv.InsightVisual, value); err != nil { return err } + case "KPIVisual": if err := awsRestjson1_deserializeDocumentKPIVisual(&sv.KPIVisual, value); err != nil { return err } + case "LineChartVisual": if err := awsRestjson1_deserializeDocumentLineChartVisual(&sv.LineChartVisual, value); err != nil { return err } + case "PieChartVisual": if err := awsRestjson1_deserializeDocumentPieChartVisual(&sv.PieChartVisual, value); err != nil { return err } + case "PivotTableVisual": if err := awsRestjson1_deserializeDocumentPivotTableVisual(&sv.PivotTableVisual, value); err != nil { return err } + case "RadarChartVisual": if err := awsRestjson1_deserializeDocumentRadarChartVisual(&sv.RadarChartVisual, value); err != nil { return err } + case "SankeyDiagramVisual": if err := awsRestjson1_deserializeDocumentSankeyDiagramVisual(&sv.SankeyDiagramVisual, value); err != nil { return err } + case "ScatterPlotVisual": if err := awsRestjson1_deserializeDocumentScatterPlotVisual(&sv.ScatterPlotVisual, value); err != nil { return err } + case "TableVisual": if err := awsRestjson1_deserializeDocumentTableVisual(&sv.TableVisual, value); err != nil { return err } + case "TreeMapVisual": if err := awsRestjson1_deserializeDocumentTreeMapVisual(&sv.TreeMapVisual, value); err != nil { return err } + case "WaterfallVisual": if err := awsRestjson1_deserializeDocumentWaterfallVisual(&sv.WaterfallVisual, value); err != nil { return err } + case "WordCloudVisual": if err := awsRestjson1_deserializeDocumentWordCloudVisual(&sv.WordCloudVisual, value); err != nil { return err } + default: _, _ = key, value @@ -87908,6 +91083,7 @@ func awsRestjson1_deserializeDocumentVisualAxisSortOption(v **types.VisualAxisSo } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -87943,6 +91119,7 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc if err := awsRestjson1_deserializeDocumentVisualCustomActionOperationList(&sv.ActionOperations, value); err != nil { return err } + case "CustomActionId": if value != nil { jtv, ok := value.(string) @@ -87951,6 +91128,7 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.CustomActionId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -87959,6 +91137,7 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -87967,6 +91146,7 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Status = types.WidgetStatus(jtv) } + case "Trigger": if value != nil { jtv, ok := value.(string) @@ -87975,6 +91155,7 @@ func awsRestjson1_deserializeDocumentVisualCustomAction(v **types.VisualCustomAc } sv.Trigger = types.VisualCustomActionTrigger(jtv) } + default: _, _ = key, value @@ -88044,18 +91225,22 @@ func awsRestjson1_deserializeDocumentVisualCustomActionOperation(v **types.Visua if err := awsRestjson1_deserializeDocumentCustomActionFilterOperation(&sv.FilterOperation, value); err != nil { return err } + case "NavigationOperation": if err := awsRestjson1_deserializeDocumentCustomActionNavigationOperation(&sv.NavigationOperation, value); err != nil { return err } + case "SetParametersOperation": if err := awsRestjson1_deserializeDocumentCustomActionSetParametersOperation(&sv.SetParametersOperation, value); err != nil { return err } + case "URLOperation": if err := awsRestjson1_deserializeDocumentCustomActionURLOperation(&sv.URLOperation, value); err != nil { return err } + default: _, _ = key, value @@ -88125,10 +91310,12 @@ func awsRestjson1_deserializeDocumentVisualInteractionOptions(v **types.VisualIn if err := awsRestjson1_deserializeDocumentContextMenuOption(&sv.ContextMenuOption, value); err != nil { return err } + case "VisualMenuOption": if err := awsRestjson1_deserializeDocumentVisualMenuOption(&sv.VisualMenuOption, value); err != nil { return err } + default: _, _ = key, value @@ -88202,6 +91389,7 @@ func awsRestjson1_deserializeDocumentVisualMenuOption(v **types.VisualMenuOption } sv.AvailabilityStatus = types.DashboardBehavior(jtv) } + default: _, _ = key, value @@ -88241,6 +91429,7 @@ func awsRestjson1_deserializeDocumentVisualOptions(v **types.VisualOptions, valu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -88280,10 +91469,12 @@ func awsRestjson1_deserializeDocumentVisualPalette(v **types.VisualPalette, valu } sv.ChartColor = ptr.String(jtv) } + case "ColorMap": if err := awsRestjson1_deserializeDocumentDataPathColorList(&sv.ColorMap, value); err != nil { return err } + default: _, _ = key, value @@ -88319,6 +91510,7 @@ func awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(v **types.Visual if err := awsRestjson1_deserializeDocumentLongFormatText(&sv.FormatText, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -88327,6 +91519,7 @@ func awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(v **types.Visual } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -88362,6 +91555,7 @@ func awsRestjson1_deserializeDocumentVisualTitleLabelOptions(v **types.VisualTit if err := awsRestjson1_deserializeDocumentShortFormatText(&sv.FormatText, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -88370,6 +91564,7 @@ func awsRestjson1_deserializeDocumentVisualTitleLabelOptions(v **types.VisualTit } sv.Visibility = types.Visibility(jtv) } + default: _, _ = key, value @@ -88409,6 +91604,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Arn = ptr.String(jtv) } + case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -88417,6 +91613,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -88432,10 +91629,12 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } } + case "DnsResolvers": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsResolvers, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -88451,6 +91650,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -88459,10 +91659,12 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Name = ptr.String(jtv) } + case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88471,10 +91673,12 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.RoleArn = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -88483,6 +91687,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.Status = types.VPCConnectionResourceStatus(jtv) } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -88491,6 +91696,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.VPCConnectionId = ptr.String(jtv) } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -88499,6 +91705,7 @@ func awsRestjson1_deserializeDocumentVPCConnection(v **types.VPCConnection, valu } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -88538,6 +91745,7 @@ func awsRestjson1_deserializeDocumentVpcConnectionProperties(v **types.VpcConnec } sv.VpcConnectionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -88577,6 +91785,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Arn = ptr.String(jtv) } + case "AvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -88585,6 +91794,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.AvailabilityStatus = types.VPCConnectionAvailabilityStatus(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -88600,10 +91810,12 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } } + case "DnsResolvers": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsResolvers, value); err != nil { return err } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -88619,6 +91831,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -88627,10 +91840,12 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Name = ptr.String(jtv) } + case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88639,10 +91854,12 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.RoleArn = ptr.String(jtv) } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -88651,6 +91868,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.Status = types.VPCConnectionResourceStatus(jtv) } + case "VPCConnectionId": if value != nil { jtv, ok := value.(string) @@ -88659,6 +91877,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.VPCConnectionId = ptr.String(jtv) } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -88667,6 +91886,7 @@ func awsRestjson1_deserializeDocumentVPCConnectionSummary(v **types.VPCConnectio } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -88808,14 +92028,17 @@ func awsRestjson1_deserializeDocumentWaterfallChartAggregatedFieldWells(v **type if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Breakdowns, value); err != nil { return err } + case "Categories": if err := awsRestjson1_deserializeDocumentDimensionFieldList(&sv.Categories, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMeasureFieldList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -88851,6 +92074,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartColorConfiguration(v **types. if err := awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(&sv.GroupColorConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -88886,50 +92110,62 @@ func awsRestjson1_deserializeDocumentWaterfallChartConfiguration(v **types.Water if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.CategoryAxisDisplayOptions, value); err != nil { return err } + case "CategoryAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryAxisLabelOptions, value); err != nil { return err } + case "ColorConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartColorConfiguration(&sv.ColorConfiguration, value); err != nil { return err } + case "DataLabels": if err := awsRestjson1_deserializeDocumentDataLabelOptions(&sv.DataLabels, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentWaterfallChartFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "Legend": if err := awsRestjson1_deserializeDocumentLegendOptions(&sv.Legend, value); err != nil { return err } + case "PrimaryYAxisDisplayOptions": if err := awsRestjson1_deserializeDocumentAxisDisplayOptions(&sv.PrimaryYAxisDisplayOptions, value); err != nil { return err } + case "PrimaryYAxisLabelOptions": if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.PrimaryYAxisLabelOptions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "VisualPalette": if err := awsRestjson1_deserializeDocumentVisualPalette(&sv.VisualPalette, value); err != nil { return err } + case "WaterfallChartOptions": if err := awsRestjson1_deserializeDocumentWaterfallChartOptions(&sv.WaterfallChartOptions, value); err != nil { return err } + default: _, _ = key, value @@ -88965,6 +92201,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartFieldWells(v **types.Waterfal if err := awsRestjson1_deserializeDocumentWaterfallChartAggregatedFieldWells(&sv.WaterfallChartAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -89004,6 +92241,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.NegativeBarColor = ptr.String(jtv) } + case "PositiveBarColor": if value != nil { jtv, ok := value.(string) @@ -89012,6 +92250,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.PositiveBarColor = ptr.String(jtv) } + case "TotalBarColor": if value != nil { jtv, ok := value.(string) @@ -89020,6 +92259,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartGroupColorConfiguration(v **t } sv.TotalBarColor = ptr.String(jtv) } + default: _, _ = key, value @@ -89059,6 +92299,7 @@ func awsRestjson1_deserializeDocumentWaterfallChartOptions(v **types.WaterfallCh } sv.TotalBarLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -89094,10 +92335,12 @@ func awsRestjson1_deserializeDocumentWaterfallChartSortConfiguration(v **types.W if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.BreakdownItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + default: _, _ = key, value @@ -89133,22 +92376,27 @@ func awsRestjson1_deserializeDocumentWaterfallVisual(v **types.WaterfallVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentWaterfallChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -89157,6 +92405,7 @@ func awsRestjson1_deserializeDocumentWaterfallVisual(v **types.WaterfallVisual, } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -89203,6 +92452,7 @@ func awsRestjson1_deserializeDocumentWhatIfPointScenario(v **types.WhatIfPointSc } } + case "Value": if value != nil { switch jtv := value.(type) { @@ -89236,6 +92486,7 @@ func awsRestjson1_deserializeDocumentWhatIfPointScenario(v **types.WhatIfPointSc } } + default: _, _ = key, value @@ -89282,6 +92533,7 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -89297,6 +92549,7 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } + case "Value": if value != nil { switch jtv := value.(type) { @@ -89330,6 +92583,7 @@ func awsRestjson1_deserializeDocumentWhatIfRangeScenario(v **types.WhatIfRangeSc } } + default: _, _ = key, value @@ -89365,10 +92619,12 @@ func awsRestjson1_deserializeDocumentWordCloudAggregatedFieldWells(v **types.Wor if err := awsRestjson1_deserializeDocumentWordCloudDimensionFieldList(&sv.GroupBy, value); err != nil { return err } + case "Size": if err := awsRestjson1_deserializeDocumentWordCloudMeasureFieldList(&sv.Size, value); err != nil { return err } + default: _, _ = key, value @@ -89404,22 +92660,27 @@ func awsRestjson1_deserializeDocumentWordCloudChartConfiguration(v **types.WordC if err := awsRestjson1_deserializeDocumentChartAxisLabelOptions(&sv.CategoryLabelOptions, value); err != nil { return err } + case "FieldWells": if err := awsRestjson1_deserializeDocumentWordCloudFieldWells(&sv.FieldWells, value); err != nil { return err } + case "Interactions": if err := awsRestjson1_deserializeDocumentVisualInteractionOptions(&sv.Interactions, value); err != nil { return err } + case "SortConfiguration": if err := awsRestjson1_deserializeDocumentWordCloudSortConfiguration(&sv.SortConfiguration, value); err != nil { return err } + case "WordCloudOptions": if err := awsRestjson1_deserializeDocumentWordCloudOptions(&sv.WordCloudOptions, value); err != nil { return err } + default: _, _ = key, value @@ -89489,6 +92750,7 @@ func awsRestjson1_deserializeDocumentWordCloudFieldWells(v **types.WordCloudFiel if err := awsRestjson1_deserializeDocumentWordCloudAggregatedFieldWells(&sv.WordCloudAggregatedFieldWells, value); err != nil { return err } + default: _, _ = key, value @@ -89562,6 +92824,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.CloudLayout = types.WordCloudCloudLayout(jtv) } + case "MaximumStringLength": if value != nil { jtv, ok := value.(json.Number) @@ -89574,6 +92837,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.MaximumStringLength = ptr.Int32(int32(i64)) } + case "WordCasing": if value != nil { jtv, ok := value.(string) @@ -89582,6 +92846,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordCasing = types.WordCloudWordCasing(jtv) } + case "WordOrientation": if value != nil { jtv, ok := value.(string) @@ -89590,6 +92855,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordOrientation = types.WordCloudWordOrientation(jtv) } + case "WordPadding": if value != nil { jtv, ok := value.(string) @@ -89598,6 +92864,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordPadding = types.WordCloudWordPadding(jtv) } + case "WordScaling": if value != nil { jtv, ok := value.(string) @@ -89606,6 +92873,7 @@ func awsRestjson1_deserializeDocumentWordCloudOptions(v **types.WordCloudOptions } sv.WordScaling = types.WordCloudWordScaling(jtv) } + default: _, _ = key, value @@ -89641,10 +92909,12 @@ func awsRestjson1_deserializeDocumentWordCloudSortConfiguration(v **types.WordCl if err := awsRestjson1_deserializeDocumentItemsLimitConfiguration(&sv.CategoryItemsLimit, value); err != nil { return err } + case "CategorySort": if err := awsRestjson1_deserializeDocumentFieldSortOptionsList(&sv.CategorySort, value); err != nil { return err } + default: _, _ = key, value @@ -89680,22 +92950,27 @@ func awsRestjson1_deserializeDocumentWordCloudVisual(v **types.WordCloudVisual, if err := awsRestjson1_deserializeDocumentVisualCustomActionList(&sv.Actions, value); err != nil { return err } + case "ChartConfiguration": if err := awsRestjson1_deserializeDocumentWordCloudChartConfiguration(&sv.ChartConfiguration, value); err != nil { return err } + case "ColumnHierarchies": if err := awsRestjson1_deserializeDocumentColumnHierarchyList(&sv.ColumnHierarchies, value); err != nil { return err } + case "Subtitle": if err := awsRestjson1_deserializeDocumentVisualSubtitleLabelOptions(&sv.Subtitle, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentVisualTitleLabelOptions(&sv.Title, value); err != nil { return err } + case "VisualId": if value != nil { jtv, ok := value.(string) @@ -89704,6 +92979,7 @@ func awsRestjson1_deserializeDocumentWordCloudVisual(v **types.WordCloudVisual, } sv.VisualId = ptr.String(jtv) } + default: _, _ = key, value @@ -89743,6 +93019,7 @@ func awsRestjson1_deserializeDocumentYAxisOptions(v **types.YAxisOptions, value } sv.YAxis = types.SingleYAxisOption(jtv) } + default: _, _ = key, value diff --git a/service/ram/deserializers.go b/service/ram/deserializers.go index 2ce09dea942..5fd41edda10 100644 --- a/service/ram/deserializers.go +++ b/service/ram/deserializers.go @@ -202,10 +202,12 @@ func awsRestjson1_deserializeOpDocumentAcceptResourceShareInvitationOutput(v **A } sv.ClientToken = ptr.String(jtv) } + case "resourceShareInvitation": if err := awsRestjson1_deserializeDocumentResourceShareInvitation(&sv.ResourceShareInvitation, value); err != nil { return err } + default: _, _ = key, value @@ -391,10 +393,12 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceShareOutput(v **Associat } sv.ClientToken = ptr.String(jtv) } + case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -568,6 +572,7 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceSharePermissionOutput(v } sv.ClientToken = ptr.String(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -576,6 +581,7 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceSharePermissionOutput(v } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -758,10 +764,12 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionOutput(v **CreatePermissi } sv.ClientToken = ptr.String(jtv) } + case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionSummary(&sv.Permission, value); err != nil { return err } + default: _, _ = key, value @@ -944,10 +952,12 @@ func awsRestjson1_deserializeOpDocumentCreatePermissionVersionOutput(v **CreateP } sv.ClientToken = ptr.String(jtv) } + case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionDetail(&sv.Permission, value); err != nil { return err } + default: _, _ = key, value @@ -1136,10 +1146,12 @@ func awsRestjson1_deserializeOpDocumentCreateResourceShareOutput(v **CreateResou } sv.ClientToken = ptr.String(jtv) } + case "resourceShare": if err := awsRestjson1_deserializeDocumentResourceShare(&sv.ResourceShare, value); err != nil { return err } + default: _, _ = key, value @@ -1313,6 +1325,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.ClientToken = ptr.String(jtv) } + case "permissionStatus": if value != nil { jtv, ok := value.(string) @@ -1321,6 +1334,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.PermissionStatus = types.PermissionStatus(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1329,6 +1343,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionOutput(v **DeletePermissi } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1505,6 +1520,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.ClientToken = ptr.String(jtv) } + case "permissionStatus": if value != nil { jtv, ok := value.(string) @@ -1513,6 +1529,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.PermissionStatus = types.PermissionStatus(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1521,6 +1538,7 @@ func awsRestjson1_deserializeOpDocumentDeletePermissionVersionOutput(v **DeleteP } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1700,6 +1718,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourceShareOutput(v **DeleteResou } sv.ClientToken = ptr.String(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -1708,6 +1727,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourceShareOutput(v **DeleteResou } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -1890,10 +1910,12 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceShareOutput(v **Disas } sv.ClientToken = ptr.String(jtv) } + case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -2070,6 +2092,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceSharePermissionOutput } sv.ClientToken = ptr.String(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -2078,6 +2101,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceSharePermissionOutput } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2239,6 +2263,7 @@ func awsRestjson1_deserializeOpDocumentEnableSharingWithAwsOrganizationOutput(v } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2405,6 +2430,7 @@ func awsRestjson1_deserializeOpDocumentGetPermissionOutput(v **GetPermissionOutp if err := awsRestjson1_deserializeDocumentResourceSharePermissionDetail(&sv.Permission, value); err != nil { return err } + default: _, _ = key, value @@ -2575,10 +2601,12 @@ func awsRestjson1_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } + case "policies": if err := awsRestjson1_deserializeDocumentPolicyList(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -2752,10 +2780,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceShareAssociationsOutput(v **Ge } sv.NextToken = ptr.String(jtv) } + case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -2932,10 +2962,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceShareInvitationsOutput(v **Get } sv.NextToken = ptr.String(jtv) } + case "resourceShareInvitations": if err := awsRestjson1_deserializeDocumentResourceShareInvitationList(&sv.ResourceShareInvitations, value); err != nil { return err } + default: _, _ = key, value @@ -3106,10 +3138,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceSharesOutput(v **GetResourceSh } sv.NextToken = ptr.String(jtv) } + case "resourceShares": if err := awsRestjson1_deserializeDocumentResourceShareList(&sv.ResourceShares, value); err != nil { return err } + default: _, _ = key, value @@ -3289,10 +3323,12 @@ func awsRestjson1_deserializeOpDocumentListPendingInvitationResourcesOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -3460,10 +3496,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionAssociationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentAssociatedPermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -3631,10 +3669,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionsOutput(v **ListPermissions } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -3808,10 +3848,12 @@ func awsRestjson1_deserializeOpDocumentListPermissionVersionsOutput(v **ListPerm } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -3982,10 +4024,12 @@ func awsRestjson1_deserializeOpDocumentListPrincipalsOutput(v **ListPrincipalsOu } sv.NextToken = ptr.String(jtv) } + case "principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -4150,10 +4194,12 @@ func awsRestjson1_deserializeOpDocumentListReplacePermissionAssociationsWorkOutp } sv.NextToken = ptr.String(jtv) } + case "replacePermissionAssociationsWorks": if err := awsRestjson1_deserializeDocumentReplacePermissionAssociationsWorkList(&sv.ReplacePermissionAssociationsWorks, value); err != nil { return err } + default: _, _ = key, value @@ -4327,10 +4373,12 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -4504,10 +4552,12 @@ func awsRestjson1_deserializeOpDocumentListResourceSharePermissionsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentResourceSharePermissionList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -4672,10 +4722,12 @@ func awsRestjson1_deserializeOpDocumentListResourceTypesOutput(v **ListResourceT } sv.NextToken = ptr.String(jtv) } + case "resourceTypes": if err := awsRestjson1_deserializeDocumentServiceNameAndResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -4849,10 +4901,12 @@ func awsRestjson1_deserializeOpDocumentPromotePermissionCreatedFromPolicyOutput( } sv.ClientToken = ptr.String(jtv) } + case "permission": if err := awsRestjson1_deserializeDocumentResourceSharePermissionSummary(&sv.Permission, value); err != nil { return err } + default: _, _ = key, value @@ -5035,6 +5089,7 @@ func awsRestjson1_deserializeOpDocumentPromoteResourceShareCreatedFromPolicyOutp } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5217,10 +5272,12 @@ func awsRestjson1_deserializeOpDocumentRejectResourceShareInvitationOutput(v **R } sv.ClientToken = ptr.String(jtv) } + case "resourceShareInvitation": if err := awsRestjson1_deserializeDocumentResourceShareInvitation(&sv.ResourceShareInvitation, value); err != nil { return err } + default: _, _ = key, value @@ -5397,10 +5454,12 @@ func awsRestjson1_deserializeOpDocumentReplacePermissionAssociationsOutput(v **R } sv.ClientToken = ptr.String(jtv) } + case "replacePermissionAssociationsWork": if err := awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(&sv.ReplacePermissionAssociationsWork, value); err != nil { return err } + default: _, _ = key, value @@ -5574,6 +5633,7 @@ func awsRestjson1_deserializeOpDocumentSetDefaultPermissionVersionOutput(v **Set } sv.ClientToken = ptr.String(jtv) } + case "returnValue": if value != nil { jtv, ok := value.(bool) @@ -5582,6 +5642,7 @@ func awsRestjson1_deserializeOpDocumentSetDefaultPermissionVersionOutput(v **Set } sv.ReturnValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5970,10 +6031,12 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceShareOutput(v **UpdateResou } sv.ClientToken = ptr.String(jtv) } + case "resourceShare": if err := awsRestjson1_deserializeDocumentResourceShare(&sv.ResourceShare, value); err != nil { return err } + default: _, _ = key, value @@ -7021,6 +7084,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.Arn = ptr.String(jtv) } + case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -7029,6 +7093,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.DefaultVersion = ptr.Bool(jtv) } + case "featureSet": if value != nil { jtv, ok := value.(string) @@ -7037,6 +7102,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.FeatureSet = types.PermissionFeatureSet(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7052,6 +7118,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } } + case "permissionVersion": if value != nil { jtv, ok := value.(string) @@ -7060,6 +7127,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.PermissionVersion = ptr.String(jtv) } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -7068,6 +7136,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.ResourceShareArn = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7076,6 +7145,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.ResourceType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7084,6 +7154,7 @@ func awsRestjson1_deserializeDocumentAssociatedPermission(v **types.AssociatedPe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -7157,6 +7228,7 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7196,6 +7268,7 @@ func awsRestjson1_deserializeDocumentInvalidClientTokenException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7235,6 +7308,7 @@ func awsRestjson1_deserializeDocumentInvalidMaxResultsException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7274,6 +7348,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7313,6 +7388,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7352,6 +7428,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyException(v **types.InvalidPol } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7391,6 +7468,7 @@ func awsRestjson1_deserializeDocumentInvalidResourceTypeException(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7430,6 +7508,7 @@ func awsRestjson1_deserializeDocumentInvalidStateTransitionException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7469,6 +7548,7 @@ func awsRestjson1_deserializeDocumentMalformedArnException(v **types.MalformedAr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7508,6 +7588,7 @@ func awsRestjson1_deserializeDocumentMalformedPolicyTemplateException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7547,6 +7628,7 @@ func awsRestjson1_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7586,6 +7668,7 @@ func awsRestjson1_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7625,6 +7708,7 @@ func awsRestjson1_deserializeDocumentPermissionAlreadyExistsException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7664,6 +7748,7 @@ func awsRestjson1_deserializeDocumentPermissionLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7703,6 +7788,7 @@ func awsRestjson1_deserializeDocumentPermissionVersionsLimitExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7785,6 +7871,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } } + case "external": if value != nil { jtv, ok := value.(bool) @@ -7793,6 +7880,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.External = ptr.Bool(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7801,6 +7889,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7816,6 +7905,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -7824,6 +7914,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.ResourceShareArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7904,6 +7995,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } } + case "fromPermissionArn": if value != nil { jtv, ok := value.(string) @@ -7912,6 +8004,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.FromPermissionArn = ptr.String(jtv) } + case "fromPermissionVersion": if value != nil { jtv, ok := value.(string) @@ -7920,6 +8013,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.FromPermissionVersion = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7928,6 +8022,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.Id = ptr.String(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7943,6 +8038,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } } + case "status": if value != nil { jtv, ok := value.(string) @@ -7951,6 +8047,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.Status = types.ReplacePermissionAssociationsWorkStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7959,6 +8056,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.StatusMessage = ptr.String(jtv) } + case "toPermissionArn": if value != nil { jtv, ok := value.(string) @@ -7967,6 +8065,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.ToPermissionArn = ptr.String(jtv) } + case "toPermissionVersion": if value != nil { jtv, ok := value.(string) @@ -7975,6 +8074,7 @@ func awsRestjson1_deserializeDocumentReplacePermissionAssociationsWork(v **types } sv.ToPermissionVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8048,6 +8148,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8063,6 +8164,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8078,6 +8180,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } } + case "resourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -8086,6 +8189,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceGroupArn = ptr.String(jtv) } + case "resourceRegionScope": if value != nil { jtv, ok := value.(string) @@ -8094,6 +8198,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceRegionScope = types.ResourceRegionScope(jtv) } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8102,6 +8207,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceShareArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8110,6 +8216,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Status = types.ResourceStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8118,6 +8225,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.StatusMessage = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -8126,6 +8234,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8165,6 +8274,7 @@ func awsRestjson1_deserializeDocumentResourceArnNotFoundException(v **types.Reso } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8238,6 +8348,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.AllowExternalPrincipals = ptr.Bool(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8253,6 +8364,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } } + case "featureSet": if value != nil { jtv, ok := value.(string) @@ -8261,6 +8373,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.FeatureSet = types.ResourceShareFeatureSet(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8276,6 +8389,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8284,6 +8398,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.Name = ptr.String(jtv) } + case "owningAccountId": if value != nil { jtv, ok := value.(string) @@ -8292,6 +8407,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.OwningAccountId = ptr.String(jtv) } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8300,6 +8416,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.ResourceShareArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8308,6 +8425,7 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.Status = types.ResourceShareStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8316,10 +8434,12 @@ func awsRestjson1_deserializeDocumentResourceShare(v **types.ResourceShare, valu } sv.StatusMessage = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8359,6 +8479,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.AssociatedEntity = ptr.String(jtv) } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -8367,6 +8488,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.AssociationType = types.ResourceShareAssociationType(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8382,6 +8504,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } } + case "external": if value != nil { jtv, ok := value.(bool) @@ -8390,6 +8513,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.External = ptr.Bool(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8405,6 +8529,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8413,6 +8538,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.ResourceShareArn = ptr.String(jtv) } + case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -8421,6 +8547,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.ResourceShareName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8429,6 +8556,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.Status = types.ResourceShareAssociationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -8437,6 +8565,7 @@ func awsRestjson1_deserializeDocumentResourceShareAssociation(v **types.Resource } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -8517,6 +8646,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } } + case "receiverAccountId": if value != nil { jtv, ok := value.(string) @@ -8525,6 +8655,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ReceiverAccountId = ptr.String(jtv) } + case "receiverArn": if value != nil { jtv, ok := value.(string) @@ -8533,6 +8664,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ReceiverArn = ptr.String(jtv) } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -8541,10 +8673,12 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareArn = ptr.String(jtv) } + case "resourceShareAssociations": if err := awsRestjson1_deserializeDocumentResourceShareAssociationList(&sv.ResourceShareAssociations, value); err != nil { return err } + case "resourceShareInvitationArn": if value != nil { jtv, ok := value.(string) @@ -8553,6 +8687,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareInvitationArn = ptr.String(jtv) } + case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -8561,6 +8696,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.ResourceShareName = ptr.String(jtv) } + case "senderAccountId": if value != nil { jtv, ok := value.(string) @@ -8569,6 +8705,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.SenderAccountId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8577,6 +8714,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitation(v **types.ResourceS } sv.Status = types.ResourceShareInvitationStatus(jtv) } + default: _, _ = key, value @@ -8616,6 +8754,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyAcceptedExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8655,6 +8794,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationAlreadyRejectedExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8694,6 +8834,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationArnNotFoundException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8733,6 +8874,7 @@ func awsRestjson1_deserializeDocumentResourceShareInvitationExpiredException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8806,6 +8948,7 @@ func awsRestjson1_deserializeDocumentResourceShareLimitExceededException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8879,6 +9022,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -8894,6 +9038,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } } + case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -8902,6 +9047,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.DefaultVersion = ptr.Bool(jtv) } + case "featureSet": if value != nil { jtv, ok := value.(string) @@ -8910,6 +9056,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.FeatureSet = types.PermissionFeatureSet(jtv) } + case "isResourceTypeDefault": if value != nil { jtv, ok := value.(bool) @@ -8918,6 +9065,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.IsResourceTypeDefault = ptr.Bool(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -8933,6 +9081,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8941,6 +9090,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Name = ptr.String(jtv) } + case "permission": if value != nil { jtv, ok := value.(string) @@ -8949,6 +9099,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Permission = ptr.String(jtv) } + case "permissionType": if value != nil { jtv, ok := value.(string) @@ -8957,6 +9108,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.PermissionType = types.PermissionType(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -8965,6 +9117,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.ResourceType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8973,10 +9126,12 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Status = types.PermissionStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9140,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionDetail(v **types.Res } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9058,6 +9214,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -9073,6 +9230,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } } + case "defaultVersion": if value != nil { jtv, ok := value.(bool) @@ -9081,6 +9239,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.DefaultVersion = ptr.Bool(jtv) } + case "featureSet": if value != nil { jtv, ok := value.(string) @@ -9089,6 +9248,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.FeatureSet = types.PermissionFeatureSet(jtv) } + case "isResourceTypeDefault": if value != nil { jtv, ok := value.(bool) @@ -9097,6 +9257,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.IsResourceTypeDefault = ptr.Bool(jtv) } + case "lastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -9112,6 +9273,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9120,6 +9282,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Name = ptr.String(jtv) } + case "permissionType": if value != nil { jtv, ok := value.(string) @@ -9128,6 +9291,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.PermissionType = types.PermissionType(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9136,6 +9300,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.ResourceType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9144,10 +9309,12 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Status = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -9156,6 +9323,7 @@ func awsRestjson1_deserializeDocumentResourceSharePermissionSummary(v **types.Re } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9195,6 +9363,7 @@ func awsRestjson1_deserializeDocumentServerInternalException(v **types.ServerInt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9234,6 +9403,7 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ResourceRegionScope = types.ResourceRegionScope(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9242,6 +9412,7 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ResourceType = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -9250,6 +9421,7 @@ func awsRestjson1_deserializeDocumentServiceNameAndResourceType(v **types.Servic } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9323,6 +9495,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9362,6 +9535,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9370,6 +9544,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9409,6 +9584,7 @@ func awsRestjson1_deserializeDocumentTagLimitExceededException(v **types.TagLimi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9482,6 +9658,7 @@ func awsRestjson1_deserializeDocumentTagPolicyViolationException(v **types.TagPo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9521,6 +9698,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9560,6 +9738,7 @@ func awsRestjson1_deserializeDocumentUnknownResourceException(v **types.UnknownR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9599,6 +9778,7 @@ func awsRestjson1_deserializeDocumentUnmatchedPolicyPermissionException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/rbin/deserializers.go b/service/rbin/deserializers.go index 419d13606b9..87af680bbe3 100644 --- a/service/rbin/deserializers.go +++ b/service/rbin/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -189,10 +190,12 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Identifier = ptr.String(jtv) } + case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -201,10 +204,12 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.LockState = types.LockState(jtv) } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -213,10 +218,12 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -225,6 +232,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -233,10 +241,12 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Status = types.RuleStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -495,6 +505,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -503,10 +514,12 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Identifier = ptr.String(jtv) } + case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } + case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -522,6 +535,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -530,10 +544,12 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.LockState = types.LockState(jtv) } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -542,10 +558,12 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.ResourceType = types.ResourceType(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -554,6 +572,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.RuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -562,6 +581,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Status = types.RuleStatus(jtv) } + default: _, _ = key, value @@ -720,10 +740,12 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -881,6 +903,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1045,6 +1068,7 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1053,10 +1077,12 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Identifier = ptr.String(jtv) } + case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -1065,10 +1091,12 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.LockState = types.LockState(jtv) } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1077,10 +1105,12 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.ResourceType = types.ResourceType(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1089,6 +1119,7 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.RuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1097,6 +1128,7 @@ func awsRestjson1_deserializeOpDocumentLockRuleOutput(v **LockRuleOutput, value } sv.Status = types.RuleStatus(jtv) } + default: _, _ = key, value @@ -1358,6 +1390,7 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1366,10 +1399,12 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Identifier = ptr.String(jtv) } + case "LockConfiguration": if err := awsRestjson1_deserializeDocumentLockConfiguration(&sv.LockConfiguration, value); err != nil { return err } + case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -1385,6 +1420,7 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -1393,10 +1429,12 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.LockState = types.LockState(jtv) } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1405,10 +1443,12 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1417,6 +1457,7 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.RuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1425,6 +1466,7 @@ func awsRestjson1_deserializeOpDocumentUnlockRuleOutput(v **UnlockRuleOutput, va } sv.Status = types.RuleStatus(jtv) } + default: _, _ = key, value @@ -1686,6 +1728,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -1694,6 +1737,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Identifier = ptr.String(jtv) } + case "LockEndTime": if value != nil { switch jtv := value.(type) { @@ -1709,6 +1753,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -1717,10 +1762,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.LockState = types.LockState(jtv) } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentResourceTags(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1729,10 +1776,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ResourceType = types.ResourceType(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -1741,6 +1790,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.RuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1749,6 +1799,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Status = types.RuleStatus(jtv) } + default: _, _ = key, value @@ -1968,6 +2019,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -1976,6 +2028,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Reason = types.ConflictExceptionReason(jtv) } + default: _, _ = key, value @@ -2015,6 +2068,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2050,6 +2104,7 @@ func awsRestjson1_deserializeDocumentLockConfiguration(v **types.LockConfigurati if err := awsRestjson1_deserializeDocumentUnlockDelay(&sv.UnlockDelay, value); err != nil { return err } + default: _, _ = key, value @@ -2089,6 +2144,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2097,6 +2153,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Reason = types.ResourceNotFoundExceptionReason(jtv) } + default: _, _ = key, value @@ -2136,6 +2193,7 @@ func awsRestjson1_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceTagKey = ptr.String(jtv) } + case "ResourceTagValue": if value != nil { jtv, ok := value.(string) @@ -2144,6 +2202,7 @@ func awsRestjson1_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.ResourceTagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -2217,6 +2276,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.RetentionPeriodUnit = types.RetentionPeriodUnit(jtv) } + case "RetentionPeriodValue": if value != nil { jtv, ok := value.(json.Number) @@ -2229,6 +2289,7 @@ func awsRestjson1_deserializeDocumentRetentionPeriod(v **types.RetentionPeriod, } sv.RetentionPeriodValue = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2268,6 +2329,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Description = ptr.String(jtv) } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -2276,6 +2338,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Identifier = ptr.String(jtv) } + case "LockState": if value != nil { jtv, ok := value.(string) @@ -2284,10 +2347,12 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.LockState = types.LockState(jtv) } + case "RetentionPeriod": if err := awsRestjson1_deserializeDocumentRetentionPeriod(&sv.RetentionPeriod, value); err != nil { return err } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -2296,6 +2361,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2369,6 +2435,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2377,6 +2444,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Reason = types.ServiceQuotaExceededExceptionReason(jtv) } + default: _, _ = key, value @@ -2416,6 +2484,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2424,6 +2493,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2497,6 +2567,7 @@ func awsRestjson1_deserializeDocumentUnlockDelay(v **types.UnlockDelay, value in } sv.UnlockDelayUnit = types.UnlockDelayUnit(jtv) } + case "UnlockDelayValue": if value != nil { jtv, ok := value.(json.Number) @@ -2509,6 +2580,7 @@ func awsRestjson1_deserializeDocumentUnlockDelay(v **types.UnlockDelay, value in } sv.UnlockDelayValue = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2548,6 +2620,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -2556,6 +2629,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value diff --git a/service/rdsdata/deserializers.go b/service/rdsdata/deserializers.go index ab0f075f0db..a5ea3ecc8d2 100644 --- a/service/rdsdata/deserializers.go +++ b/service/rdsdata/deserializers.go @@ -209,6 +209,7 @@ func awsRestjson1_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec if err := awsRestjson1_deserializeDocumentUpdateResults(&sv.UpdateResults, value); err != nil { return err } + default: _, _ = key, value @@ -400,6 +401,7 @@ func awsRestjson1_deserializeOpDocumentBeginTransactionOutput(v **BeginTransacti } sv.TransactionId = ptr.String(jtv) } + default: _, _ = key, value @@ -594,6 +596,7 @@ func awsRestjson1_deserializeOpDocumentCommitTransactionOutput(v **CommitTransac } sv.TransactionStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -757,6 +760,7 @@ func awsRestjson1_deserializeOpDocumentExecuteSqlOutput(v **ExecuteSqlOutput, va if err := awsRestjson1_deserializeDocumentSqlStatementResults(&sv.SqlStatementResults, value); err != nil { return err } + default: _, _ = key, value @@ -947,6 +951,7 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme if err := awsRestjson1_deserializeDocumentMetadata(&sv.ColumnMetadata, value); err != nil { return err } + case "formattedRecords": if value != nil { jtv, ok := value.(string) @@ -955,10 +960,12 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.FormattedRecords = ptr.String(jtv) } + case "generatedFields": if err := awsRestjson1_deserializeDocumentFieldList(&sv.GeneratedFields, value); err != nil { return err } + case "numberOfRecordsUpdated": if value != nil { jtv, ok := value.(json.Number) @@ -971,10 +978,12 @@ func awsRestjson1_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.NumberOfRecordsUpdated = i64 } + case "records": if err := awsRestjson1_deserializeDocumentSqlRecords(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -1169,6 +1178,7 @@ func awsRestjson1_deserializeOpDocumentRollbackTransactionOutput(v **RollbackTra } sv.TransactionStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -1655,6 +1665,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1828,6 +1839,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1907,6 +1919,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.ArrayBaseColumnType = int32(i64) } + case "isAutoIncrement": if value != nil { jtv, ok := value.(bool) @@ -1915,6 +1928,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsAutoIncrement = jtv } + case "isCaseSensitive": if value != nil { jtv, ok := value.(bool) @@ -1923,6 +1937,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCaseSensitive = jtv } + case "isCurrency": if value != nil { jtv, ok := value.(bool) @@ -1931,6 +1946,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCurrency = jtv } + case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -1939,6 +1955,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsSigned = jtv } + case "label": if value != nil { jtv, ok := value.(string) @@ -1947,6 +1964,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Label = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1955,6 +1973,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Name = ptr.String(jtv) } + case "nullable": if value != nil { jtv, ok := value.(json.Number) @@ -1967,6 +1986,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Nullable = int32(i64) } + case "precision": if value != nil { jtv, ok := value.(json.Number) @@ -1979,6 +1999,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Precision = int32(i64) } + case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -1991,6 +2012,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Scale = int32(i64) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -1999,6 +2021,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.SchemaName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -2007,6 +2030,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TableName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(json.Number) @@ -2019,6 +2043,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Type = int32(i64) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -2027,6 +2052,7 @@ func awsRestjson1_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -2066,6 +2092,7 @@ func awsRestjson1_deserializeDocumentDatabaseErrorException(v **types.DatabaseEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2105,6 +2132,7 @@ func awsRestjson1_deserializeDocumentDatabaseNotFoundException(v **types.Databas } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2411,6 +2439,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2450,6 +2479,7 @@ func awsRestjson1_deserializeDocumentHttpEndpointNotEnabledException(v **types.H } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2520,6 +2550,7 @@ func awsRestjson1_deserializeDocumentInvalidSecretException(v **types.InvalidSec } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2633,6 +2664,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2668,6 +2700,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) if err := awsRestjson1_deserializeDocumentRow(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -2737,10 +2770,12 @@ func awsRestjson1_deserializeDocumentResultFrame(v **types.ResultFrame, value in if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } + case "resultSetMetadata": if err := awsRestjson1_deserializeDocumentResultSetMetadata(&sv.ResultSetMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -2784,10 +2819,12 @@ func awsRestjson1_deserializeDocumentResultSetMetadata(v **types.ResultSetMetada } sv.ColumnCount = i64 } + case "columnMetadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.ColumnMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -2859,6 +2896,7 @@ func awsRestjson1_deserializeDocumentSecretsErrorException(v **types.SecretsErro } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2965,10 +3003,12 @@ func awsRestjson1_deserializeDocumentSqlStatementResult(v **types.SqlStatementRe } sv.NumberOfRecordsUpdated = i64 } + case "resultFrame": if err := awsRestjson1_deserializeDocumentResultFrame(&sv.ResultFrame, value); err != nil { return err } + default: _, _ = key, value @@ -3046,6 +3086,7 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme } sv.DbConnectionId = i64 } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3054,6 +3095,7 @@ func awsRestjson1_deserializeDocumentStatementTimeoutException(v **types.Stateme } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3125,6 +3167,7 @@ func awsRestjson1_deserializeDocumentStructValue(v **types.StructValue, value in if err := awsRestjson1_deserializeDocumentArrayValueList(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -3164,6 +3207,7 @@ func awsRestjson1_deserializeDocumentTransactionNotFoundException(v **types.Tran } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3203,6 +3247,7 @@ func awsRestjson1_deserializeDocumentUnsupportedResultException(v **types.Unsupp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3238,6 +3283,7 @@ func awsRestjson1_deserializeDocumentUpdateResult(v **types.UpdateResult, value if err := awsRestjson1_deserializeDocumentFieldList(&sv.GeneratedFields, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/redshiftdata/deserializers.go b/service/redshiftdata/deserializers.go index acd837842d4..2f258f9c612 100644 --- a/service/redshiftdata/deserializers.go +++ b/service/redshiftdata/deserializers.go @@ -1687,6 +1687,7 @@ func awsAwsjson11_deserializeDocumentActiveSessionsExceededException(v **types.A } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1726,6 +1727,7 @@ func awsAwsjson11_deserializeDocumentActiveStatementsExceededException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1765,6 +1767,7 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba } sv.Message = ptr.String(jtv) } + case "StatementId": if value != nil { jtv, ok := value.(string) @@ -1773,6 +1776,7 @@ func awsAwsjson11_deserializeDocumentBatchExecuteStatementException(v **types.Ba } sv.StatementId = ptr.String(jtv) } + default: _, _ = key, value @@ -1846,6 +1850,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.ColumnDefault = ptr.String(jtv) } + case "isCaseSensitive": if value != nil { jtv, ok := value.(bool) @@ -1854,6 +1859,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCaseSensitive = jtv } + case "isCurrency": if value != nil { jtv, ok := value.(bool) @@ -1862,6 +1868,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsCurrency = jtv } + case "isSigned": if value != nil { jtv, ok := value.(bool) @@ -1870,6 +1877,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.IsSigned = jtv } + case "label": if value != nil { jtv, ok := value.(string) @@ -1878,6 +1886,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Label = ptr.String(jtv) } + case "length": if value != nil { jtv, ok := value.(json.Number) @@ -1890,6 +1899,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Length = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1898,6 +1908,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Name = ptr.String(jtv) } + case "nullable": if value != nil { jtv, ok := value.(json.Number) @@ -1910,6 +1921,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Nullable = int32(i64) } + case "precision": if value != nil { jtv, ok := value.(json.Number) @@ -1922,6 +1934,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Precision = int32(i64) } + case "scale": if value != nil { jtv, ok := value.(json.Number) @@ -1934,6 +1947,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.Scale = int32(i64) } + case "schemaName": if value != nil { jtv, ok := value.(string) @@ -1942,6 +1956,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.SchemaName = ptr.String(jtv) } + case "tableName": if value != nil { jtv, ok := value.(string) @@ -1950,6 +1965,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TableName = ptr.String(jtv) } + case "typeName": if value != nil { jtv, ok := value.(string) @@ -1958,6 +1974,7 @@ func awsAwsjson11_deserializeDocumentColumnMetadata(v **types.ColumnMetadata, va } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -2031,6 +2048,7 @@ func awsAwsjson11_deserializeDocumentDatabaseConnectionException(v **types.Datab } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2142,6 +2160,7 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute } sv.Message = ptr.String(jtv) } + case "StatementId": if value != nil { jtv, ok := value.(string) @@ -2150,6 +2169,7 @@ func awsAwsjson11_deserializeDocumentExecuteStatementException(v **types.Execute } sv.StatementId = ptr.String(jtv) } + default: _, _ = key, value @@ -2388,6 +2408,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2469,6 +2490,7 @@ func awsAwsjson11_deserializeDocumentQueryTimeoutException(v **types.QueryTimeou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2508,6 +2530,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -2516,6 +2539,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2591,6 +2615,7 @@ func awsAwsjson11_deserializeDocumentSqlParameter(v **types.SqlParameter, value } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2599,6 +2624,7 @@ func awsAwsjson11_deserializeDocumentSqlParameter(v **types.SqlParameter, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2711,6 +2737,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2719,6 +2746,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.Id = ptr.String(jtv) } + case "IsBatchStatement": if value != nil { jtv, ok := value.(bool) @@ -2727,10 +2755,12 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.IsBatchStatement = ptr.Bool(jtv) } + case "QueryParameters": if err := awsAwsjson11_deserializeDocumentSqlParametersList(&sv.QueryParameters, value); err != nil { return err } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -2739,10 +2769,12 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.QueryString = ptr.String(jtv) } + case "QueryStrings": if err := awsAwsjson11_deserializeDocumentStatementStringList(&sv.QueryStrings, value); err != nil { return err } + case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -2751,6 +2783,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.ResultFormat = types.ResultFormatString(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -2759,6 +2792,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.SecretArn = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -2767,6 +2801,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.SessionId = ptr.String(jtv) } + case "StatementName": if value != nil { jtv, ok := value.(string) @@ -2775,6 +2810,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.StatementName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2783,6 +2819,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } sv.Status = types.StatusString(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2798,6 +2835,7 @@ func awsAwsjson11_deserializeDocumentStatementData(v **types.StatementData, valu } } + default: _, _ = key, value @@ -2914,6 +2952,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -2926,6 +2965,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Duration = i64 } + case "Error": if value != nil { jtv, ok := value.(string) @@ -2934,6 +2974,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Error = ptr.String(jtv) } + case "HasResultSet": if value != nil { jtv, ok := value.(bool) @@ -2942,6 +2983,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.HasResultSet = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2950,6 +2992,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Id = ptr.String(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -2958,6 +3001,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.QueryString = ptr.String(jtv) } + case "RedshiftQueryId": if value != nil { jtv, ok := value.(json.Number) @@ -2970,6 +3014,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.RedshiftQueryId = i64 } + case "ResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -2982,6 +3027,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.ResultRows = i64 } + case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -2994,6 +3040,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.ResultSize = i64 } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3002,6 +3049,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } sv.Status = types.StatementStatusString(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3017,6 +3065,7 @@ func awsAwsjson11_deserializeDocumentSubStatementData(v **types.SubStatementData } } + default: _, _ = key, value @@ -3124,6 +3173,7 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Name = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -3132,6 +3182,7 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Schema = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3191,7 @@ func awsAwsjson11_deserializeDocumentTableMember(v **types.TableMember, value in } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -3179,6 +3231,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3218,6 +3271,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.ClusterIdentifier = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3233,6 +3287,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } } + case "Database": if value != nil { jtv, ok := value.(string) @@ -3241,10 +3296,12 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.Database = ptr.String(jtv) } + case "DbGroups": if err := awsAwsjson11_deserializeDocumentDbGroupList(&sv.DbGroups, value); err != nil { return err } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3253,6 +3310,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.DbUser = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3261,6 +3319,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.Id = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3269,6 +3328,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.SecretArn = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3277,6 +3337,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.SessionId = ptr.String(jtv) } + case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3346,7 @@ func awsAwsjson11_deserializeOpDocumentBatchExecuteStatementOutput(v **BatchExec } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3324,6 +3386,7 @@ func awsAwsjson11_deserializeOpDocumentCancelStatementOutput(v **CancelStatement } sv.Status = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3363,6 +3426,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ClusterIdentifier = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3378,6 +3442,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } } + case "Database": if value != nil { jtv, ok := value.(string) @@ -3386,6 +3451,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Database = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3394,6 +3460,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.DbUser = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -3406,6 +3473,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Duration = i64 } + case "Error": if value != nil { jtv, ok := value.(string) @@ -3414,6 +3482,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Error = ptr.String(jtv) } + case "HasResultSet": if value != nil { jtv, ok := value.(bool) @@ -3422,6 +3491,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.HasResultSet = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3430,10 +3500,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Id = ptr.String(jtv) } + case "QueryParameters": if err := awsAwsjson11_deserializeDocumentSqlParametersList(&sv.QueryParameters, value); err != nil { return err } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -3442,6 +3514,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.QueryString = ptr.String(jtv) } + case "RedshiftPid": if value != nil { jtv, ok := value.(json.Number) @@ -3454,6 +3527,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.RedshiftPid = i64 } + case "RedshiftQueryId": if value != nil { jtv, ok := value.(json.Number) @@ -3466,6 +3540,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.RedshiftQueryId = i64 } + case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -3474,6 +3549,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultFormat = types.ResultFormatString(jtv) } + case "ResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -3486,6 +3562,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultRows = i64 } + case "ResultSize": if value != nil { jtv, ok := value.(json.Number) @@ -3498,6 +3575,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.ResultSize = i64 } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3506,6 +3584,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.SecretArn = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3514,6 +3593,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.SessionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3522,10 +3602,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.Status = types.StatusString(jtv) } + case "SubStatements": if err := awsAwsjson11_deserializeDocumentSubStatementList(&sv.SubStatements, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3541,6 +3623,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } } + case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3549,6 +3632,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStatementOutput(v **DescribeState } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3584,6 +3668,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson11_deserializeDocumentColumnList(&sv.ColumnList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3592,6 +3677,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp } sv.NextToken = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -3600,6 +3686,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -3639,6 +3726,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.ClusterIdentifier = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3654,6 +3742,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } } + case "Database": if value != nil { jtv, ok := value.(string) @@ -3662,10 +3751,12 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.Database = ptr.String(jtv) } + case "DbGroups": if err := awsAwsjson11_deserializeDocumentDbGroupList(&sv.DbGroups, value); err != nil { return err } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -3674,6 +3765,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.DbUser = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3682,6 +3774,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.Id = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -3690,6 +3783,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.SecretArn = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -3698,6 +3792,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.SessionId = ptr.String(jtv) } + case "WorkgroupName": if value != nil { jtv, ok := value.(string) @@ -3706,6 +3801,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteStatementOutput(v **ExecuteStateme } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3741,6 +3837,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement if err := awsAwsjson11_deserializeDocumentColumnMetadataList(&sv.ColumnMetadata, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3749,10 +3846,12 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement } sv.NextToken = ptr.String(jtv) } + case "Records": if err := awsAwsjson11_deserializeDocumentSqlRecords(&sv.Records, value); err != nil { return err } + case "TotalNumRows": if value != nil { jtv, ok := value.(json.Number) @@ -3765,6 +3864,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultOutput(v **GetStatement } sv.TotalNumRows = i64 } + default: _, _ = key, value @@ -3800,6 +3900,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme if err := awsAwsjson11_deserializeDocumentColumnMetadataList(&sv.ColumnMetadata, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3808,10 +3909,12 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.NextToken = ptr.String(jtv) } + case "Records": if err := awsAwsjson11_deserializeDocumentFormattedSqlRecords(&sv.Records, value); err != nil { return err } + case "ResultFormat": if value != nil { jtv, ok := value.(string) @@ -3820,6 +3923,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.ResultFormat = types.ResultFormatString(jtv) } + case "TotalNumRows": if value != nil { jtv, ok := value.(json.Number) @@ -3832,6 +3936,7 @@ func awsAwsjson11_deserializeOpDocumentGetStatementResultV2Output(v **GetStateme } sv.TotalNumRows = i64 } + default: _, _ = key, value @@ -3867,6 +3972,7 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson11_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3875,6 +3981,7 @@ func awsAwsjson11_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3914,10 +4021,12 @@ func awsAwsjson11_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsAwsjson11_deserializeDocumentSchemaList(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -3957,10 +4066,12 @@ func awsAwsjson11_deserializeOpDocumentListStatementsOutput(v **ListStatementsOu } sv.NextToken = ptr.String(jtv) } + case "Statements": if err := awsAwsjson11_deserializeDocumentStatementList(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -4000,10 +4111,12 @@ func awsAwsjson11_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } + case "Tables": if err := awsAwsjson11_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/redshiftserverless/deserializers.go b/service/redshiftserverless/deserializers.go index 077ccdf8a16..ddbc2698ada 100644 --- a/service/redshiftserverless/deserializers.go +++ b/service/redshiftserverless/deserializers.go @@ -7084,6 +7084,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7092,6 +7093,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7167,6 +7169,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainCertificateArn = ptr.String(jtv) } + case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -7179,6 +7182,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -7187,6 +7191,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.CustomDomainName = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -7195,6 +7200,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7268,6 +7274,7 @@ func awsAwsjson11_deserializeDocumentConfigParameter(v **types.ConfigParameter, } sv.ParameterKey = ptr.String(jtv) } + case "parameterValue": if value != nil { jtv, ok := value.(string) @@ -7276,6 +7283,7 @@ func awsAwsjson11_deserializeDocumentConfigParameter(v **types.ConfigParameter, } sv.ParameterValue = ptr.String(jtv) } + default: _, _ = key, value @@ -7349,6 +7357,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7388,6 +7397,7 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.NamespaceName = ptr.String(jtv) } + case "retentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -7400,6 +7410,7 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "snapshotNamePrefix": if value != nil { jtv, ok := value.(string) @@ -7408,10 +7419,12 @@ func awsAwsjson11_deserializeDocumentCreateSnapshotScheduleActionParameters(v ** } sv.SnapshotNamePrefix = ptr.String(jtv) } + case "tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7451,6 +7464,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -7463,10 +7477,12 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Port = ptr.Int32(int32(i64)) } + case "vpcEndpoints": if err := awsAwsjson11_deserializeDocumentVpcEndpointList(&sv.VpcEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -7506,6 +7522,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.Address = ptr.String(jtv) } + case "endpointArn": if value != nil { jtv, ok := value.(string) @@ -7514,6 +7531,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointArn = ptr.String(jtv) } + case "endpointCreateTime": if value != nil { jtv, ok := value.(string) @@ -7526,6 +7544,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointCreateTime = ptr.Time(t) } + case "endpointName": if value != nil { jtv, ok := value.(string) @@ -7534,6 +7553,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointName = ptr.String(jtv) } + case "endpointStatus": if value != nil { jtv, ok := value.(string) @@ -7542,6 +7562,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.EndpointStatus = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -7554,18 +7575,22 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.Port = ptr.Int32(int32(i64)) } + case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcEndpoint": if err := awsAwsjson11_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { return err } + case "vpcSecurityGroups": if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(&sv.VpcSecurityGroups, value); err != nil { return err } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -7574,6 +7599,7 @@ func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, va } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -7683,6 +7709,7 @@ func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.Ins } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7722,6 +7749,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7761,6 +7789,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7800,6 +7829,7 @@ func awsAwsjson11_deserializeDocumentIpv6CidrBlockNotFoundException(v **types.Ip } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7875,6 +7905,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminPasswordSecretArn = ptr.String(jtv) } + case "adminPasswordSecretKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7883,6 +7914,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminPasswordSecretKmsKeyId = ptr.String(jtv) } + case "adminUsername": if value != nil { jtv, ok := value.(string) @@ -7891,6 +7923,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.AdminUsername = ptr.String(jtv) } + case "creationDate": if value != nil { jtv, ok := value.(string) @@ -7903,6 +7936,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.CreationDate = ptr.Time(t) } + case "dbName": if value != nil { jtv, ok := value.(string) @@ -7911,6 +7945,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.DbName = ptr.String(jtv) } + case "defaultIamRoleArn": if value != nil { jtv, ok := value.(string) @@ -7919,10 +7954,12 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.DefaultIamRoleArn = ptr.String(jtv) } + case "iamRoles": if err := awsAwsjson11_deserializeDocumentIamRoleArnList(&sv.IamRoles, value); err != nil { return err } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7931,10 +7968,12 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.KmsKeyId = ptr.String(jtv) } + case "logExports": if err := awsAwsjson11_deserializeDocumentLogExportList(&sv.LogExports, value); err != nil { return err } + case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -7943,6 +7982,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceId": if value != nil { jtv, ok := value.(string) @@ -7951,6 +7991,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceId = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -7959,6 +8000,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.NamespaceName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7967,6 +8009,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Status = types.NamespaceStatus(jtv) } + default: _, _ = key, value @@ -8040,6 +8083,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.AvailabilityZone = ptr.String(jtv) } + case "ipv6Address": if value != nil { jtv, ok := value.(string) @@ -8048,6 +8092,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } + case "networkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -8056,6 +8101,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -8064,6 +8110,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } + case "subnetId": if value != nil { jtv, ok := value.(string) @@ -8072,6 +8119,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -8192,6 +8240,7 @@ func awsAwsjson11_deserializeDocumentPerformanceTarget(v **types.PerformanceTarg } sv.Level = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8200,6 +8249,7 @@ func awsAwsjson11_deserializeDocumentPerformanceTarget(v **types.PerformanceTarg } sv.Status = types.PerformanceTargetStatus(jtv) } + default: _, _ = key, value @@ -8239,6 +8289,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8247,6 +8298,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.NamespaceName = ptr.String(jtv) } + case "recoveryPointCreateTime": if value != nil { jtv, ok := value.(string) @@ -8259,6 +8311,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.RecoveryPointCreateTime = ptr.Time(t) } + case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -8267,6 +8320,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.RecoveryPointId = ptr.String(jtv) } + case "totalSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -8300,6 +8354,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -8308,6 +8363,7 @@ func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, valu } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -8381,6 +8437,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -8389,6 +8446,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -8428,6 +8486,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.Policy = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8436,6 +8495,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8536,6 +8596,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionAssociation(v **types.Schedu } sv.NamespaceName = ptr.String(jtv) } + case "scheduledActionName": if value != nil { jtv, ok := value.(string) @@ -8544,6 +8605,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionAssociation(v **types.Schedu } sv.ScheduledActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -8590,6 +8652,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8598,10 +8661,12 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.NamespaceName = ptr.String(jtv) } + case "nextInvocations": if err := awsAwsjson11_deserializeDocumentNextInvocationsList(&sv.NextInvocations, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -8610,10 +8675,12 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.RoleArn = ptr.String(jtv) } + case "schedule": if err := awsAwsjson11_deserializeDocumentSchedule(&sv.Schedule, value); err != nil { return err } + case "scheduledActionDescription": if value != nil { jtv, ok := value.(string) @@ -8622,6 +8689,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionDescription = ptr.String(jtv) } + case "scheduledActionName": if value != nil { jtv, ok := value.(string) @@ -8630,6 +8698,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionName = ptr.String(jtv) } + case "scheduledActionUuid": if value != nil { jtv, ok := value.(string) @@ -8638,6 +8707,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.ScheduledActionUuid = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -8653,6 +8723,7 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } } + case "state": if value != nil { jtv, ok := value.(string) @@ -8661,10 +8732,12 @@ func awsAwsjson11_deserializeDocumentScheduledActionResponse(v **types.Scheduled } sv.State = types.State(jtv) } + case "targetAction": if err := awsAwsjson11_deserializeDocumentTargetAction(&sv.TargetAction, value); err != nil { return err } + default: _, _ = key, value @@ -8774,6 +8847,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8809,10 +8883,12 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithProvisionedRestoreAccess, value); err != nil { return err } + case "accountsWithRestoreAccess": if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithRestoreAccess, value); err != nil { return err } + case "actualIncrementalBackupSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -8846,6 +8922,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + case "adminPasswordSecretArn": if value != nil { jtv, ok := value.(string) @@ -8854,6 +8931,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminPasswordSecretArn = ptr.String(jtv) } + case "adminPasswordSecretKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -8862,6 +8940,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminPasswordSecretKmsKeyId = ptr.String(jtv) } + case "adminUsername": if value != nil { jtv, ok := value.(string) @@ -8870,6 +8949,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.AdminUsername = ptr.String(jtv) } + case "backupProgressInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -8903,6 +8983,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + case "currentBackupRateInMegaBytesPerSecond": if value != nil { switch jtv := value.(type) { @@ -8936,6 +9017,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + case "elapsedTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8948,6 +9030,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.ElapsedTimeInSeconds = ptr.Int64(i64) } + case "estimatedSecondsToCompletion": if value != nil { jtv, ok := value.(json.Number) @@ -8960,6 +9043,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.EstimatedSecondsToCompletion = ptr.Int64(i64) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -8968,6 +9052,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "namespaceArn": if value != nil { jtv, ok := value.(string) @@ -8976,6 +9061,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.NamespaceArn = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -8984,6 +9070,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.NamespaceName = ptr.String(jtv) } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -8992,6 +9079,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.OwnerAccount = ptr.String(jtv) } + case "snapshotArn": if value != nil { jtv, ok := value.(string) @@ -9000,6 +9088,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotArn = ptr.String(jtv) } + case "snapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -9012,6 +9101,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotCreateTime = ptr.Time(t) } + case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -9020,6 +9110,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotName = ptr.String(jtv) } + case "snapshotRemainingDays": if value != nil { jtv, ok := value.(json.Number) @@ -9032,6 +9123,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRemainingDays = ptr.Int32(int32(i64)) } + case "snapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9044,6 +9136,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + case "snapshotRetentionStartTime": if value != nil { jtv, ok := value.(string) @@ -9056,6 +9149,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.SnapshotRetentionStartTime = ptr.Time(t) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9064,6 +9158,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } sv.Status = types.SnapshotStatus(jtv) } + case "totalBackupSizeInMegaBytes": if value != nil { switch jtv := value.(type) { @@ -9097,6 +9192,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + default: _, _ = key, value @@ -9136,6 +9232,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.DestinationKmsKeyId = ptr.String(jtv) } + case "destinationRegion": if value != nil { jtv, ok := value.(string) @@ -9144,6 +9241,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.DestinationRegion = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -9152,6 +9250,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.NamespaceName = ptr.String(jtv) } + case "snapshotCopyConfigurationArn": if value != nil { jtv, ok := value.(string) @@ -9160,6 +9259,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotCopyConfigurationArn = ptr.String(jtv) } + case "snapshotCopyConfigurationId": if value != nil { jtv, ok := value.(string) @@ -9168,6 +9268,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotCopyConfigurationId = ptr.String(jtv) } + case "snapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -9180,6 +9281,7 @@ func awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(v **types.Snapsho } sv.SnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9323,6 +9425,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.Message = ptr.String(jtv) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -9331,6 +9434,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.NamespaceName = ptr.String(jtv) } + case "newTableName": if value != nil { jtv, ok := value.(string) @@ -9339,6 +9443,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.NewTableName = ptr.String(jtv) } + case "progressInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9351,6 +9456,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.ProgressInMegaBytes = ptr.Int64(i64) } + case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -9359,6 +9465,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.RecoveryPointId = ptr.String(jtv) } + case "requestTime": if value != nil { switch jtv := value.(type) { @@ -9374,6 +9481,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } } + case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -9382,6 +9490,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SnapshotName = ptr.String(jtv) } + case "sourceDatabaseName": if value != nil { jtv, ok := value.(string) @@ -9390,6 +9499,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceDatabaseName = ptr.String(jtv) } + case "sourceSchemaName": if value != nil { jtv, ok := value.(string) @@ -9398,6 +9508,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceSchemaName = ptr.String(jtv) } + case "sourceTableName": if value != nil { jtv, ok := value.(string) @@ -9406,6 +9517,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.SourceTableName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9414,6 +9526,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.Status = ptr.String(jtv) } + case "tableRestoreRequestId": if value != nil { jtv, ok := value.(string) @@ -9422,6 +9535,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TableRestoreRequestId = ptr.String(jtv) } + case "targetDatabaseName": if value != nil { jtv, ok := value.(string) @@ -9430,6 +9544,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TargetDatabaseName = ptr.String(jtv) } + case "targetSchemaName": if value != nil { jtv, ok := value.(string) @@ -9438,6 +9553,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TargetSchemaName = ptr.String(jtv) } + case "totalDataInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -9450,6 +9566,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.TotalDataInMegaBytes = ptr.Int64(i64) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -9458,6 +9575,7 @@ func awsAwsjson11_deserializeDocumentTableRestoreStatus(v **types.TableRestoreSt } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -9531,6 +9649,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -9539,6 +9658,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9652,6 +9772,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -9660,6 +9781,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9699,6 +9821,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9707,6 +9830,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9750,6 +9874,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.Amount = ptr.Int64(i64) } + case "breachAction": if value != nil { jtv, ok := value.(string) @@ -9758,6 +9883,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.BreachAction = types.UsageLimitBreachAction(jtv) } + case "period": if value != nil { jtv, ok := value.(string) @@ -9766,6 +9892,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.Period = types.UsageLimitPeriod(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9774,6 +9901,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.ResourceArn = ptr.String(jtv) } + case "usageLimitArn": if value != nil { jtv, ok := value.(string) @@ -9782,6 +9910,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageLimitArn = ptr.String(jtv) } + case "usageLimitId": if value != nil { jtv, ok := value.(string) @@ -9790,6 +9919,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageLimitId = ptr.String(jtv) } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -9798,6 +9928,7 @@ func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value inte } sv.UsageType = types.UsageLimitUsageType(jtv) } + default: _, _ = key, value @@ -9871,6 +10002,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9906,6 +10038,7 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in if err := awsAwsjson11_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { return err } + case "vpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -9914,6 +10047,7 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcEndpointId = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -9922,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value in } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10031,6 +10166,7 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.Status = ptr.String(jtv) } + case "vpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -10039,6 +10175,7 @@ func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSec } sv.VpcSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -10116,10 +10253,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.BaseCapacity = ptr.Int32(int32(i64)) } + case "configParameters": if err := awsAwsjson11_deserializeDocumentConfigParameterList(&sv.ConfigParameters, value); err != nil { return err } + case "creationDate": if value != nil { jtv, ok := value.(string) @@ -10132,10 +10271,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CreationDate = ptr.Time(t) } + case "crossAccountVpcs": if err := awsAwsjson11_deserializeDocumentVpcIds(&sv.CrossAccountVpcs, value); err != nil { return err } + case "customDomainCertificateArn": if value != nil { jtv, ok := value.(string) @@ -10144,6 +10285,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainCertificateArn = ptr.String(jtv) } + case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -10156,6 +10298,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -10164,10 +10307,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.CustomDomainName = ptr.String(jtv) } + case "endpoint": if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + case "enhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -10176,6 +10321,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.EnhancedVpcRouting = ptr.Bool(jtv) } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -10184,6 +10330,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.IpAddressType = ptr.String(jtv) } + case "maxCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -10196,6 +10343,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -10204,6 +10352,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.NamespaceName = ptr.String(jtv) } + case "patchVersion": if value != nil { jtv, ok := value.(string) @@ -10212,6 +10361,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.PatchVersion = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10224,10 +10374,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.Port = ptr.Int32(int32(i64)) } + case "pricePerformanceTarget": if err := awsAwsjson11_deserializeDocumentPerformanceTarget(&sv.PricePerformanceTarget, value); err != nil { return err } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -10236,10 +10388,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "securityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -10248,10 +10402,12 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.Status = types.WorkgroupStatus(jtv) } + case "subnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "workgroupArn": if value != nil { jtv, ok := value.(string) @@ -10260,6 +10416,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupArn = ptr.String(jtv) } + case "workgroupId": if value != nil { jtv, ok := value.(string) @@ -10268,6 +10425,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupId = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -10276,6 +10434,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupName = ptr.String(jtv) } + case "workgroupVersion": if value != nil { jtv, ok := value.(string) @@ -10284,6 +10443,7 @@ func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interf } sv.WorkgroupVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10353,6 +10513,7 @@ func awsAwsjson11_deserializeOpDocumentConvertRecoveryPointToSnapshotOutput(v ** if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -10392,6 +10553,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainCertificateArn = ptr.String(jtv) } + case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -10404,6 +10566,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -10412,6 +10575,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.CustomDomainName = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -10420,6 +10584,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCustomDomainAssociationOutput(v **C } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -10455,6 +10620,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointAccessOutput(v **CreateEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -10490,6 +10656,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + default: _, _ = key, value @@ -10525,6 +10692,7 @@ func awsAwsjson11_deserializeOpDocumentCreateScheduledActionOutput(v **CreateSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } + default: _, _ = key, value @@ -10560,6 +10728,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10595,6 +10764,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -10630,6 +10800,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUsageLimitOutput(v **CreateUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } + default: _, _ = key, value @@ -10665,6 +10836,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkgroupOutput(v **CreateWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } + default: _, _ = key, value @@ -10731,6 +10903,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteEndpointAccessOutput(v **DeleteEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -10766,6 +10939,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + default: _, _ = key, value @@ -10832,6 +11006,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteScheduledActionOutput(v **DeleteSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } + default: _, _ = key, value @@ -10867,6 +11042,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -10902,6 +11078,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -10937,6 +11114,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteUsageLimitOutput(v **DeleteUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } + default: _, _ = key, value @@ -10972,6 +11150,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkgroupOutput(v **DeleteWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } + default: _, _ = key, value @@ -11011,6 +11190,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } sv.DbPassword = ptr.String(jtv) } + case "dbUser": if value != nil { jtv, ok := value.(string) @@ -11019,6 +11199,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } sv.DbUser = ptr.String(jtv) } + case "expiration": if value != nil { switch jtv := value.(type) { @@ -11034,6 +11215,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } } + case "nextRefreshTime": if value != nil { switch jtv := value.(type) { @@ -11049,6 +11231,7 @@ func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOu } } + default: _, _ = key, value @@ -11088,6 +11271,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainCertificateArn = ptr.String(jtv) } + case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -11100,6 +11284,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -11108,6 +11293,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.CustomDomainName = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -11116,6 +11302,7 @@ func awsAwsjson11_deserializeOpDocumentGetCustomDomainAssociationOutput(v **GetC } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -11151,6 +11338,7 @@ func awsAwsjson11_deserializeOpDocumentGetEndpointAccessOutput(v **GetEndpointAc if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -11186,6 +11374,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(v **GetNamespaceOutput if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + default: _, _ = key, value @@ -11221,6 +11410,7 @@ func awsAwsjson11_deserializeOpDocumentGetRecoveryPointOutput(v **GetRecoveryPoi if err := awsAwsjson11_deserializeDocumentRecoveryPoint(&sv.RecoveryPoint, value); err != nil { return err } + default: _, _ = key, value @@ -11256,6 +11446,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -11291,6 +11482,7 @@ func awsAwsjson11_deserializeOpDocumentGetScheduledActionOutput(v **GetScheduled if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } + default: _, _ = key, value @@ -11326,6 +11518,7 @@ func awsAwsjson11_deserializeOpDocumentGetSnapshotOutput(v **GetSnapshotOutput, if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -11361,6 +11554,7 @@ func awsAwsjson11_deserializeOpDocumentGetTableRestoreStatusOutput(v **GetTableR if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } + default: _, _ = key, value @@ -11396,6 +11590,7 @@ func awsAwsjson11_deserializeOpDocumentGetUsageLimitOutput(v **GetUsageLimitOutp if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } + default: _, _ = key, value @@ -11431,6 +11626,7 @@ func awsAwsjson11_deserializeOpDocumentGetWorkgroupOutput(v **GetWorkgroupOutput if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } + default: _, _ = key, value @@ -11466,6 +11662,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomDomainAssociationsOutput(v **Li if err := awsAwsjson11_deserializeDocumentAssociationList(&sv.Associations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11474,6 +11671,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomDomainAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11509,6 +11707,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(v **ListEndpoint if err := awsAwsjson11_deserializeDocumentEndpointAccessList(&sv.Endpoints, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11517,6 +11716,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(v **ListEndpoint } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11552,6 +11752,7 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsAwsjson11_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -11560,6 +11761,7 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -11599,10 +11801,12 @@ func awsAwsjson11_deserializeOpDocumentListRecoveryPointsOutput(v **ListRecovery } sv.NextToken = ptr.String(jtv) } + case "recoveryPoints": if err := awsAwsjson11_deserializeDocumentRecoveryPointList(&sv.RecoveryPoints, value); err != nil { return err } + default: _, _ = key, value @@ -11642,10 +11846,12 @@ func awsAwsjson11_deserializeOpDocumentListScheduledActionsOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } + case "scheduledActions": if err := awsAwsjson11_deserializeDocumentScheduledActionsList(&sv.ScheduledActions, value); err != nil { return err } + default: _, _ = key, value @@ -11685,10 +11891,12 @@ func awsAwsjson11_deserializeOpDocumentListSnapshotCopyConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "snapshotCopyConfigurations": if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfigurations(&sv.SnapshotCopyConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -11728,10 +11936,12 @@ func awsAwsjson11_deserializeOpDocumentListSnapshotsOutput(v **ListSnapshotsOutp } sv.NextToken = ptr.String(jtv) } + case "snapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.Snapshots, value); err != nil { return err } + default: _, _ = key, value @@ -11771,10 +11981,12 @@ func awsAwsjson11_deserializeOpDocumentListTableRestoreStatusOutput(v **ListTabl } sv.NextToken = ptr.String(jtv) } + case "tableRestoreStatuses": if err := awsAwsjson11_deserializeDocumentTableRestoreStatusList(&sv.TableRestoreStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -11810,6 +12022,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11849,10 +12062,12 @@ func awsAwsjson11_deserializeOpDocumentListUsageLimitsOutput(v **ListUsageLimits } sv.NextToken = ptr.String(jtv) } + case "usageLimits": if err := awsAwsjson11_deserializeDocumentUsageLimits(&sv.UsageLimits, value); err != nil { return err } + default: _, _ = key, value @@ -11892,10 +12107,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkgroupsOutput(v **ListWorkgroupsOu } sv.NextToken = ptr.String(jtv) } + case "workgroups": if err := awsAwsjson11_deserializeDocumentWorkgroupList(&sv.Workgroups, value); err != nil { return err } + default: _, _ = key, value @@ -11931,6 +12148,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -11966,6 +12184,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(v **Restor if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + case "recoveryPointId": if value != nil { jtv, ok := value.(string) @@ -11974,6 +12193,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(v **Restor } sv.RecoveryPointId = ptr.String(jtv) } + default: _, _ = key, value @@ -12009,6 +12229,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + case "ownerAccount": if value != nil { jtv, ok := value.(string) @@ -12017,6 +12238,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom } sv.OwnerAccount = ptr.String(jtv) } + case "snapshotName": if value != nil { jtv, ok := value.(string) @@ -12025,6 +12247,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFrom } sv.SnapshotName = ptr.String(jtv) } + default: _, _ = key, value @@ -12060,6 +12283,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreTableFromRecoveryPointOutput(v **R if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12095,6 +12319,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreTableFromSnapshotOutput(v **Restor if err := awsAwsjson11_deserializeDocumentTableRestoreStatus(&sv.TableRestoreStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12196,6 +12421,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainCertificateArn = ptr.String(jtv) } + case "customDomainCertificateExpiryTime": if value != nil { jtv, ok := value.(string) @@ -12208,6 +12434,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainCertificateExpiryTime = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -12216,6 +12443,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.CustomDomainName = ptr.String(jtv) } + case "workgroupName": if value != nil { jtv, ok := value.(string) @@ -12224,6 +12452,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCustomDomainAssociationOutput(v **U } sv.WorkgroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -12259,6 +12488,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointAccessOutput(v **UpdateEndp if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { return err } + default: _, _ = key, value @@ -12294,6 +12524,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateNamespaceOutput(v **UpdateNamespace if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + default: _, _ = key, value @@ -12329,6 +12560,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateScheduledActionOutput(v **UpdateSch if err := awsAwsjson11_deserializeDocumentScheduledActionResponse(&sv.ScheduledAction, value); err != nil { return err } + default: _, _ = key, value @@ -12364,6 +12596,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotCopyConfigurationOutput(v * if err := awsAwsjson11_deserializeDocumentSnapshotCopyConfiguration(&sv.SnapshotCopyConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -12399,6 +12632,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(v **UpdateSnapshotOu if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { return err } + default: _, _ = key, value @@ -12434,6 +12668,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUsageLimitOutput(v **UpdateUsageLim if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { return err } + default: _, _ = key, value @@ -12469,6 +12704,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkgroupOutput(v **UpdateWorkgroup if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/rekognition/deserializers.go b/service/rekognition/deserializers.go index ed4ea55a415..5756233873d 100644 --- a/service/rekognition/deserializers.go +++ b/service/rekognition/deserializers.go @@ -10688,6 +10688,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -10696,6 +10697,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10704,6 +10706,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10747,6 +10750,7 @@ func awsAwsjson11_deserializeDocumentAgeRange(v **types.AgeRange, value interfac } sv.High = ptr.Int32(int32(i64)) } + case "Low": if value != nil { jtv, ok := value.(json.Number) @@ -10759,6 +10763,7 @@ func awsAwsjson11_deserializeDocumentAgeRange(v **types.AgeRange, value interfac } sv.Low = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10794,6 +10799,7 @@ func awsAwsjson11_deserializeDocumentAsset(v **types.Asset, value interface{}) e if err := awsAwsjson11_deserializeDocumentGroundTruthManifest(&sv.GroundTruthManifest, value); err != nil { return err } + default: _, _ = key, value @@ -10867,6 +10873,7 @@ func awsAwsjson11_deserializeDocumentAssociatedFace(v **types.AssociatedFace, va } sv.FaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10940,6 +10947,7 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.Codec = ptr.String(jtv) } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -10952,6 +10960,7 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.DurationMillis = ptr.Int64(i64) } + case "NumberOfChannels": if value != nil { jtv, ok := value.(json.Number) @@ -10964,6 +10973,7 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.NumberOfChannels = ptr.Int64(i64) } + case "SampleRate": if value != nil { jtv, ok := value.(json.Number) @@ -10976,6 +10986,7 @@ func awsAwsjson11_deserializeDocumentAudioMetadata(v **types.AudioMetadata, valu } sv.SampleRate = ptr.Int64(i64) } + default: _, _ = key, value @@ -11045,6 +11056,7 @@ func awsAwsjson11_deserializeDocumentAuditImage(v **types.AuditImage, value inte if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Bytes": if value != nil { jtv, ok := value.(string) @@ -11057,10 +11069,12 @@ func awsAwsjson11_deserializeDocumentAuditImage(v **types.AuditImage, value inte } sv.Bytes = dv } + case "S3Object": if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -11159,6 +11173,7 @@ func awsAwsjson11_deserializeDocumentBeard(v **types.Beard, value interface{}) e } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -11167,6 +11182,7 @@ func awsAwsjson11_deserializeDocumentBeard(v **types.Beard, value interface{}) e } sv.Value = jtv } + default: _, _ = key, value @@ -11265,6 +11281,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Left": if value != nil { switch jtv := value.(type) { @@ -11298,6 +11315,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Top": if value != nil { switch jtv := value.(type) { @@ -11331,6 +11349,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Width": if value != nil { switch jtv := value.(type) { @@ -11364,6 +11383,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + default: _, _ = key, value @@ -11399,6 +11419,7 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf if err := awsAwsjson11_deserializeDocumentComparedFace(&sv.Face, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11407,10 +11428,12 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } sv.Id = ptr.String(jtv) } + case "KnownGender": if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } + case "MatchConfidence": if value != nil { switch jtv := value.(type) { @@ -11444,6 +11467,7 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11452,10 +11476,12 @@ func awsAwsjson11_deserializeDocumentCelebrity(v **types.Celebrity, value interf } sv.Name = ptr.String(jtv) } + case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } + default: _, _ = key, value @@ -11491,6 +11517,7 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11524,10 +11551,12 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } } + case "Face": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11536,10 +11565,12 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } sv.Id = ptr.String(jtv) } + case "KnownGender": if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11548,10 +11579,12 @@ func awsAwsjson11_deserializeDocumentCelebrityDetail(v **types.CelebrityDetail, } sv.Name = ptr.String(jtv) } + case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } + default: _, _ = key, value @@ -11621,6 +11654,7 @@ func awsAwsjson11_deserializeDocumentCelebrityRecognition(v **types.CelebrityRec if err := awsAwsjson11_deserializeDocumentCelebrityDetail(&sv.Celebrity, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -11633,6 +11667,7 @@ func awsAwsjson11_deserializeDocumentCelebrityRecognition(v **types.CelebrityRec } sv.Timestamp = i64 } + default: _, _ = key, value @@ -11738,6 +11773,7 @@ func awsAwsjson11_deserializeDocumentComparedFace(v **types.ComparedFace, value if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11771,26 +11807,32 @@ func awsAwsjson11_deserializeDocumentComparedFace(v **types.ComparedFace, value } } + case "Emotions": if err := awsAwsjson11_deserializeDocumentEmotions(&sv.Emotions, value); err != nil { return err } + case "Landmarks": if err := awsAwsjson11_deserializeDocumentLandmarks(&sv.Landmarks, value); err != nil { return err } + case "Pose": if err := awsAwsjson11_deserializeDocumentPose(&sv.Pose, value); err != nil { return err } + case "Quality": if err := awsAwsjson11_deserializeDocumentImageQuality(&sv.Quality, value); err != nil { return err } + case "Smile": if err := awsAwsjson11_deserializeDocumentSmile(&sv.Smile, value); err != nil { return err } + default: _, _ = key, value @@ -11860,6 +11902,7 @@ func awsAwsjson11_deserializeDocumentComparedSourceImageFace(v **types.ComparedS if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -11893,6 +11936,7 @@ func awsAwsjson11_deserializeDocumentComparedSourceImageFace(v **types.ComparedS } } + default: _, _ = key, value @@ -11928,6 +11972,7 @@ func awsAwsjson11_deserializeDocumentCompareFacesMatch(v **types.CompareFacesMat if err := awsAwsjson11_deserializeDocumentComparedFace(&sv.Face, value); err != nil { return err } + case "Similarity": if value != nil { switch jtv := value.(type) { @@ -11961,6 +12006,7 @@ func awsAwsjson11_deserializeDocumentCompareFacesMatch(v **types.CompareFacesMat } } + default: _, _ = key, value @@ -12068,6 +12114,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -12076,6 +12123,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12084,6 +12132,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12155,6 +12204,7 @@ func awsAwsjson11_deserializeDocumentConnectedHomeSettings(v **types.ConnectedHo if err := awsAwsjson11_deserializeDocumentConnectedHomeLabels(&sv.Labels, value); err != nil { return err } + case "MinConfidence": if value != nil { switch jtv := value.(type) { @@ -12188,6 +12238,7 @@ func awsAwsjson11_deserializeDocumentConnectedHomeSettings(v **types.ConnectedHo } } + default: _, _ = key, value @@ -12223,6 +12274,7 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.ContentTypes, value); err != nil { return err } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12235,6 +12287,7 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.DurationMillis = ptr.Int64(i64) } + case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12247,10 +12300,12 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.EndTimestampMillis = ptr.Int64(i64) } + case "ModerationLabel": if err := awsAwsjson11_deserializeDocumentModerationLabel(&sv.ModerationLabel, value); err != nil { return err } + case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -12263,6 +12318,7 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.StartTimestampMillis = ptr.Int64(i64) } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -12275,6 +12331,7 @@ func awsAwsjson11_deserializeDocumentContentModerationDetection(v **types.Conten } sv.Timestamp = i64 } + default: _, _ = key, value @@ -12373,6 +12430,7 @@ func awsAwsjson11_deserializeDocumentContentType(v **types.ContentType, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12381,6 +12439,7 @@ func awsAwsjson11_deserializeDocumentContentType(v **types.ContentType, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12479,6 +12538,7 @@ func awsAwsjson11_deserializeDocumentCoversBodyPart(v **types.CoversBodyPart, va } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -12487,6 +12547,7 @@ func awsAwsjson11_deserializeDocumentCoversBodyPart(v **types.CoversBodyPart, va } sv.Value = jtv } + default: _, _ = key, value @@ -12522,6 +12583,7 @@ func awsAwsjson11_deserializeDocumentCustomizationFeatureConfig(v **types.Custom if err := awsAwsjson11_deserializeDocumentCustomizationFeatureContentModerationConfig(&sv.ContentModeration, value); err != nil { return err } + default: _, _ = key, value @@ -12586,6 +12648,7 @@ func awsAwsjson11_deserializeDocumentCustomizationFeatureContentModerationConfig } } + default: _, _ = key, value @@ -12650,10 +12713,12 @@ func awsAwsjson11_deserializeDocumentCustomLabel(v **types.CustomLabel, value in } } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12662,6 +12727,7 @@ func awsAwsjson11_deserializeDocumentCustomLabel(v **types.CustomLabel, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12742,10 +12808,12 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } + case "DatasetStats": if err := awsAwsjson11_deserializeDocumentDatasetStats(&sv.DatasetStats, value); err != nil { return err } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -12761,6 +12829,7 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12769,6 +12838,7 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.Status = types.DatasetStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -12777,6 +12847,7 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessage = ptr.String(jtv) } + case "StatusMessageCode": if value != nil { jtv, ok := value.(string) @@ -12785,6 +12856,7 @@ func awsAwsjson11_deserializeDocumentDatasetDescription(v **types.DatasetDescrip } sv.StatusMessageCode = types.DatasetStatusMessageCode(jtv) } + default: _, _ = key, value @@ -12860,10 +12932,12 @@ func awsAwsjson11_deserializeDocumentDatasetLabelDescription(v **types.DatasetLa } sv.LabelName = ptr.String(jtv) } + case "LabelStats": if err := awsAwsjson11_deserializeDocumentDatasetLabelStats(&sv.LabelStats, value); err != nil { return err } + default: _, _ = key, value @@ -12941,6 +13015,7 @@ func awsAwsjson11_deserializeDocumentDatasetLabelStats(v **types.DatasetLabelSta } sv.BoundingBoxCount = ptr.Int32(int32(i64)) } + case "EntryCount": if value != nil { jtv, ok := value.(json.Number) @@ -12953,6 +13028,7 @@ func awsAwsjson11_deserializeDocumentDatasetLabelStats(v **types.DatasetLabelSta } sv.EntryCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12999,6 +13075,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } } + case "DatasetArn": if value != nil { jtv, ok := value.(string) @@ -13007,6 +13084,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetArn = ptr.String(jtv) } + case "DatasetType": if value != nil { jtv, ok := value.(string) @@ -13015,6 +13093,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.DatasetType = types.DatasetType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13023,6 +13102,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.Status = types.DatasetStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13031,6 +13111,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessage = ptr.String(jtv) } + case "StatusMessageCode": if value != nil { jtv, ok := value.(string) @@ -13039,6 +13120,7 @@ func awsAwsjson11_deserializeDocumentDatasetMetadata(v **types.DatasetMetadata, } sv.StatusMessageCode = types.DatasetStatusMessageCode(jtv) } + default: _, _ = key, value @@ -13116,6 +13198,7 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.ErrorEntries = ptr.Int32(int32(i64)) } + case "LabeledEntries": if value != nil { jtv, ok := value.(json.Number) @@ -13128,6 +13211,7 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.LabeledEntries = ptr.Int32(int32(i64)) } + case "TotalEntries": if value != nil { jtv, ok := value.(json.Number) @@ -13140,6 +13224,7 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.TotalEntries = ptr.Int32(int32(i64)) } + case "TotalLabels": if value != nil { jtv, ok := value.(json.Number) @@ -13152,6 +13237,7 @@ func awsAwsjson11_deserializeDocumentDatasetStats(v **types.DatasetStats, value } sv.TotalLabels = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13187,10 +13273,12 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageBackground(v **types.Detec if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } + case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } + default: _, _ = key, value @@ -13226,10 +13314,12 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageForeground(v **types.Detec if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } + case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } + default: _, _ = key, value @@ -13265,18 +13355,22 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageProperties(v **types.Detec if err := awsAwsjson11_deserializeDocumentDetectLabelsImageBackground(&sv.Background, value); err != nil { return err } + case "DominantColors": if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } + case "Foreground": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageForeground(&sv.Foreground, value); err != nil { return err } + case "Quality": if err := awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(&sv.Quality, value); err != nil { return err } + default: _, _ = key, value @@ -13341,6 +13435,7 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } + case "Contrast": if value != nil { switch jtv := value.(type) { @@ -13374,6 +13469,7 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } + case "Sharpness": if value != nil { switch jtv := value.(type) { @@ -13407,6 +13503,7 @@ func awsAwsjson11_deserializeDocumentDetectLabelsImageQuality(v **types.DetectLa } } + default: _, _ = key, value @@ -13446,6 +13543,7 @@ func awsAwsjson11_deserializeDocumentDisassociatedFace(v **types.DisassociatedFa } sv.FaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -13523,6 +13621,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Blue = ptr.Int32(int32(i64)) } + case "CSSColor": if value != nil { jtv, ok := value.(string) @@ -13531,6 +13630,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.CSSColor = ptr.String(jtv) } + case "Green": if value != nil { jtv, ok := value.(json.Number) @@ -13543,6 +13643,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Green = ptr.Int32(int32(i64)) } + case "HexCode": if value != nil { jtv, ok := value.(string) @@ -13551,6 +13652,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.HexCode = ptr.String(jtv) } + case "PixelPercent": if value != nil { switch jtv := value.(type) { @@ -13584,6 +13686,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } } + case "Red": if value != nil { jtv, ok := value.(json.Number) @@ -13596,6 +13699,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.Red = ptr.Int32(int32(i64)) } + case "SimplifiedColor": if value != nil { jtv, ok := value.(string) @@ -13604,6 +13708,7 @@ func awsAwsjson11_deserializeDocumentDominantColor(v **types.DominantColor, valu } sv.SimplifiedColor = ptr.String(jtv) } + default: _, _ = key, value @@ -13702,6 +13807,7 @@ func awsAwsjson11_deserializeDocumentEmotion(v **types.Emotion, value interface{ } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13710,6 +13816,7 @@ func awsAwsjson11_deserializeDocumentEmotion(v **types.Emotion, value interface{ } sv.Type = types.EmotionName(jtv) } + default: _, _ = key, value @@ -13779,6 +13886,7 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -13812,10 +13920,12 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec } } + case "CoversBodyPart": if err := awsAwsjson11_deserializeDocumentCoversBodyPart(&sv.CoversBodyPart, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13824,6 +13934,7 @@ func awsAwsjson11_deserializeDocumentEquipmentDetection(v **types.EquipmentDetec } sv.Type = types.ProtectiveEquipmentType(jtv) } + default: _, _ = key, value @@ -13922,10 +14033,12 @@ func awsAwsjson11_deserializeDocumentEvaluationResult(v **types.EvaluationResult } } + case "Summary": if err := awsAwsjson11_deserializeDocumentSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -13990,6 +14103,7 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } + case "Pitch": if value != nil { switch jtv := value.(type) { @@ -14023,6 +14137,7 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } + case "Yaw": if value != nil { switch jtv := value.(type) { @@ -14056,6 +14171,7 @@ func awsAwsjson11_deserializeDocumentEyeDirection(v **types.EyeDirection, value } } + default: _, _ = key, value @@ -14120,6 +14236,7 @@ func awsAwsjson11_deserializeDocumentEyeglasses(v **types.Eyeglasses, value inte } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -14128,6 +14245,7 @@ func awsAwsjson11_deserializeDocumentEyeglasses(v **types.Eyeglasses, value inte } sv.Value = jtv } + default: _, _ = key, value @@ -14192,6 +14310,7 @@ func awsAwsjson11_deserializeDocumentEyeOpen(v **types.EyeOpen, value interface{ } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -14200,6 +14319,7 @@ func awsAwsjson11_deserializeDocumentEyeOpen(v **types.EyeOpen, value interface{ } sv.Value = jtv } + default: _, _ = key, value @@ -14235,6 +14355,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -14268,6 +14389,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } } + case "ExternalImageId": if value != nil { jtv, ok := value.(string) @@ -14276,6 +14398,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.ExternalImageId = ptr.String(jtv) } + case "FaceId": if value != nil { jtv, ok := value.(string) @@ -14284,6 +14407,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.FaceId = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -14292,6 +14416,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.ImageId = ptr.String(jtv) } + case "IndexFacesModelVersion": if value != nil { jtv, ok := value.(string) @@ -14300,6 +14425,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.IndexFacesModelVersion = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -14308,6 +14434,7 @@ func awsAwsjson11_deserializeDocumentFace(v **types.Face, value interface{}) err } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -14343,14 +14470,17 @@ func awsAwsjson11_deserializeDocumentFaceDetail(v **types.FaceDetail, value inte if err := awsAwsjson11_deserializeDocumentAgeRange(&sv.AgeRange, value); err != nil { return err } + case "Beard": if err := awsAwsjson11_deserializeDocumentBeard(&sv.Beard, value); err != nil { return err } + case "BoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -14384,58 +14514,72 @@ func awsAwsjson11_deserializeDocumentFaceDetail(v **types.FaceDetail, value inte } } + case "Emotions": if err := awsAwsjson11_deserializeDocumentEmotions(&sv.Emotions, value); err != nil { return err } + case "EyeDirection": if err := awsAwsjson11_deserializeDocumentEyeDirection(&sv.EyeDirection, value); err != nil { return err } + case "Eyeglasses": if err := awsAwsjson11_deserializeDocumentEyeglasses(&sv.Eyeglasses, value); err != nil { return err } + case "EyesOpen": if err := awsAwsjson11_deserializeDocumentEyeOpen(&sv.EyesOpen, value); err != nil { return err } + case "FaceOccluded": if err := awsAwsjson11_deserializeDocumentFaceOccluded(&sv.FaceOccluded, value); err != nil { return err } + case "Gender": if err := awsAwsjson11_deserializeDocumentGender(&sv.Gender, value); err != nil { return err } + case "Landmarks": if err := awsAwsjson11_deserializeDocumentLandmarks(&sv.Landmarks, value); err != nil { return err } + case "MouthOpen": if err := awsAwsjson11_deserializeDocumentMouthOpen(&sv.MouthOpen, value); err != nil { return err } + case "Mustache": if err := awsAwsjson11_deserializeDocumentMustache(&sv.Mustache, value); err != nil { return err } + case "Pose": if err := awsAwsjson11_deserializeDocumentPose(&sv.Pose, value); err != nil { return err } + case "Quality": if err := awsAwsjson11_deserializeDocumentImageQuality(&sv.Quality, value); err != nil { return err } + case "Smile": if err := awsAwsjson11_deserializeDocumentSmile(&sv.Smile, value); err != nil { return err } + case "Sunglasses": if err := awsAwsjson11_deserializeDocumentSunglasses(&sv.Sunglasses, value); err != nil { return err } + default: _, _ = key, value @@ -14505,6 +14649,7 @@ func awsAwsjson11_deserializeDocumentFaceDetection(v **types.FaceDetection, valu if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -14517,6 +14662,7 @@ func awsAwsjson11_deserializeDocumentFaceDetection(v **types.FaceDetection, valu } sv.Timestamp = i64 } + default: _, _ = key, value @@ -14656,6 +14802,7 @@ func awsAwsjson11_deserializeDocumentFaceMatch(v **types.FaceMatch, value interf if err := awsAwsjson11_deserializeDocumentFace(&sv.Face, value); err != nil { return err } + case "Similarity": if value != nil { switch jtv := value.(type) { @@ -14689,6 +14836,7 @@ func awsAwsjson11_deserializeDocumentFaceMatch(v **types.FaceMatch, value interf } } + default: _, _ = key, value @@ -14823,6 +14971,7 @@ func awsAwsjson11_deserializeDocumentFaceOccluded(v **types.FaceOccluded, value } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -14831,6 +14980,7 @@ func awsAwsjson11_deserializeDocumentFaceOccluded(v **types.FaceOccluded, value } sv.Value = jtv } + default: _, _ = key, value @@ -14866,10 +15016,12 @@ func awsAwsjson11_deserializeDocumentFaceRecord(v **types.FaceRecord, value inte if err := awsAwsjson11_deserializeDocumentFace(&sv.Face, value); err != nil { return err } + case "FaceDetail": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } + default: _, _ = key, value @@ -14943,6 +15095,7 @@ func awsAwsjson11_deserializeDocumentFaceSearchSettings(v **types.FaceSearchSett } sv.CollectionId = ptr.String(jtv) } + case "FaceMatchThreshold": if value != nil { switch jtv := value.(type) { @@ -14976,6 +15129,7 @@ func awsAwsjson11_deserializeDocumentFaceSearchSettings(v **types.FaceSearchSett } } + default: _, _ = key, value @@ -15040,6 +15194,7 @@ func awsAwsjson11_deserializeDocumentGender(v **types.Gender, value interface{}) } } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15048,6 +15203,7 @@ func awsAwsjson11_deserializeDocumentGender(v **types.Gender, value interface{}) } sv.Value = types.GenderType(jtv) } + default: _, _ = key, value @@ -15083,10 +15239,12 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -15126,6 +15284,7 @@ func awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(v **typ } sv.AggregateBy = types.ContentModerationAggregateBy(jtv) } + case "SortBy": if value != nil { jtv, ok := value.(string) @@ -15134,6 +15293,7 @@ func awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(v **typ } sv.SortBy = types.ContentModerationSortBy(jtv) } + default: _, _ = key, value @@ -15173,6 +15333,7 @@ func awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(v **types. } sv.AggregateBy = types.LabelDetectionAggregateBy(jtv) } + case "SortBy": if value != nil { jtv, ok := value.(string) @@ -15181,6 +15342,7 @@ func awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(v **types. } sv.SortBy = types.LabelDetectionSortBy(jtv) } + default: _, _ = key, value @@ -15216,6 +15378,7 @@ func awsAwsjson11_deserializeDocumentGroundTruthManifest(v **types.GroundTruthMa if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -15255,10 +15418,12 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopActivationConditionsEvaluationResults = ptr.String(jtv) } + case "HumanLoopActivationReasons": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationReasons(&sv.HumanLoopActivationReasons, value); err != nil { return err } + case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -15267,6 +15432,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15342,6 +15508,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15350,6 +15517,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15358,6 +15526,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -15366,6 +15535,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.QuotaCode = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15374,6 +15544,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -15382,6 +15553,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -15421,6 +15593,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15429,6 +15602,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15437,6 +15611,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15501,6 +15676,7 @@ func awsAwsjson11_deserializeDocumentImageQuality(v **types.ImageQuality, value } } + case "Sharpness": if value != nil { switch jtv := value.(type) { @@ -15534,6 +15710,7 @@ func awsAwsjson11_deserializeDocumentImageQuality(v **types.ImageQuality, value } } + default: _, _ = key, value @@ -15573,6 +15750,7 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15581,6 +15759,7 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15589,6 +15768,7 @@ func awsAwsjson11_deserializeDocumentImageTooLargeException(v **types.ImageTooLa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15624,6 +15804,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -15657,10 +15838,12 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "DominantColors": if err := awsAwsjson11_deserializeDocumentDominantColors(&sv.DominantColors, value); err != nil { return err } + default: _, _ = key, value @@ -15734,6 +15917,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15742,6 +15926,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15750,6 +15935,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15789,6 +15975,7 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15797,6 +15984,7 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15805,6 +15993,7 @@ func awsAwsjson11_deserializeDocumentInvalidImageFormatException(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15844,6 +16033,7 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15852,6 +16042,7 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15860,6 +16051,7 @@ func awsAwsjson11_deserializeDocumentInvalidManifestException(v **types.InvalidM } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15899,6 +16091,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15907,6 +16100,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15915,6 +16109,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15954,6 +16149,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -15962,6 +16158,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15970,6 +16167,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16009,6 +16207,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -16017,6 +16216,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16025,6 +16225,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16064,6 +16265,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -16072,6 +16274,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16080,6 +16283,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16119,6 +16323,7 @@ func awsAwsjson11_deserializeDocumentKinesisDataStream(v **types.KinesisDataStre } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -16158,6 +16363,7 @@ func awsAwsjson11_deserializeDocumentKinesisVideoStream(v **types.KinesisVideoSt } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -16197,6 +16403,7 @@ func awsAwsjson11_deserializeDocumentKnownGender(v **types.KnownGender, value in } sv.Type = types.KnownGenderType(jtv) } + default: _, _ = key, value @@ -16232,10 +16439,12 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e if err := awsAwsjson11_deserializeDocumentLabelAliases(&sv.Aliases, value); err != nil { return err } + case "Categories": if err := awsAwsjson11_deserializeDocumentLabelCategories(&sv.Categories, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -16269,10 +16478,12 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } } + case "Instances": if err := awsAwsjson11_deserializeDocumentInstances(&sv.Instances, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16281,10 +16492,12 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } + default: _, _ = key, value @@ -16324,6 +16537,7 @@ func awsAwsjson11_deserializeDocumentLabelAlias(v **types.LabelAlias, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16431,6 +16645,7 @@ func awsAwsjson11_deserializeDocumentLabelCategory(v **types.LabelCategory, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16474,6 +16689,7 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.DurationMillis = ptr.Int64(i64) } + case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -16486,10 +16702,12 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.EndTimestampMillis = ptr.Int64(i64) } + case "Label": if err := awsAwsjson11_deserializeDocumentLabel(&sv.Label, value); err != nil { return err } + case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -16502,6 +16720,7 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.StartTimestampMillis = ptr.Int64(i64) } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -16514,6 +16733,7 @@ func awsAwsjson11_deserializeDocumentLabelDetection(v **types.LabelDetection, va } sv.Timestamp = i64 } + default: _, _ = key, value @@ -16621,6 +16841,7 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } sv.Type = types.LandmarkType(jtv) } + case "X": if value != nil { switch jtv := value.(type) { @@ -16654,6 +16875,7 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } } + case "Y": if value != nil { switch jtv := value.(type) { @@ -16687,6 +16909,7 @@ func awsAwsjson11_deserializeDocumentLandmark(v **types.Landmark, value interfac } } + default: _, _ = key, value @@ -16760,6 +16983,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -16768,6 +16992,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16776,6 +17001,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16815,6 +17041,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -16823,6 +17050,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -16831,6 +17059,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16870,6 +17099,7 @@ func awsAwsjson11_deserializeDocumentMatchedUser(v **types.MatchedUser, value in } sv.UserId = ptr.String(jtv) } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -16878,6 +17108,7 @@ func awsAwsjson11_deserializeDocumentMatchedUser(v **types.MatchedUser, value in } sv.UserStatus = types.UserStatus(jtv) } + default: _, _ = key, value @@ -16942,6 +17173,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(v } } + case "ProjectVersion": if value != nil { jtv, ok := value.(string) @@ -16950,6 +17182,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(v } sv.ProjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -16985,6 +17218,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisInput(v **types.MediaAnalysisI if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -17031,6 +17265,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -17046,14 +17281,17 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "Input": if err := awsAwsjson11_deserializeDocumentMediaAnalysisInput(&sv.Input, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -17062,6 +17300,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -17070,6 +17309,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.JobName = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -17078,22 +17318,27 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.KmsKeyId = ptr.String(jtv) } + case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(&sv.ManifestSummary, value); err != nil { return err } + case "OperationsConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(&sv.OperationsConfig, value); err != nil { return err } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Results": if err := awsAwsjson11_deserializeDocumentMediaAnalysisResults(&sv.Results, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17102,6 +17347,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobDescription(v **types.Media } sv.Status = types.MediaAnalysisJobStatus(jtv) } + default: _, _ = key, value @@ -17175,6 +17421,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(v **types.Me } sv.Code = types.MediaAnalysisJobFailureCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -17183,6 +17430,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(v **types.Me } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17218,6 +17466,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(v **types.Medi if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -17257,6 +17506,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisModelVersions(v **types.MediaA } sv.Moderation = ptr.String(jtv) } + default: _, _ = key, value @@ -17292,6 +17542,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(v **types.Med if err := awsAwsjson11_deserializeDocumentMediaAnalysisDetectModerationLabelsConfig(&sv.DetectModerationLabels, value); err != nil { return err } + default: _, _ = key, value @@ -17331,6 +17582,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(v **types.MediaAn } sv.S3Bucket = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -17339,6 +17591,7 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(v **types.MediaAn } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -17374,10 +17627,12 @@ func awsAwsjson11_deserializeDocumentMediaAnalysisResults(v **types.MediaAnalysi if err := awsAwsjson11_deserializeDocumentMediaAnalysisModelVersions(&sv.ModelVersions, value); err != nil { return err } + case "S3Object": if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -17442,6 +17697,7 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17450,6 +17706,7 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.Name = ptr.String(jtv) } + case "ParentName": if value != nil { jtv, ok := value.(string) @@ -17458,6 +17715,7 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.ParentName = ptr.String(jtv) } + case "TaxonomyLevel": if value != nil { jtv, ok := value.(json.Number) @@ -17470,6 +17728,7 @@ func awsAwsjson11_deserializeDocumentModerationLabel(v **types.ModerationLabel, } sv.TaxonomyLevel = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17568,6 +17827,7 @@ func awsAwsjson11_deserializeDocumentMouthOpen(v **types.MouthOpen, value interf } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -17576,6 +17836,7 @@ func awsAwsjson11_deserializeDocumentMouthOpen(v **types.MouthOpen, value interf } sv.Value = jtv } + default: _, _ = key, value @@ -17640,6 +17901,7 @@ func awsAwsjson11_deserializeDocumentMustache(v **types.Mustache, value interfac } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -17648,6 +17910,7 @@ func awsAwsjson11_deserializeDocumentMustache(v **types.Mustache, value interfac } sv.Value = jtv } + default: _, _ = key, value @@ -17687,6 +17950,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Bucket = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -17695,6 +17959,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -17734,6 +17999,7 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17803,10 +18069,12 @@ func awsAwsjson11_deserializeDocumentPersonDetail(v **types.PersonDetail, value if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Face": if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.Face, value); err != nil { return err } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -17819,6 +18087,7 @@ func awsAwsjson11_deserializeDocumentPersonDetail(v **types.PersonDetail, value } sv.Index = i64 } + default: _, _ = key, value @@ -17854,6 +18123,7 @@ func awsAwsjson11_deserializeDocumentPersonDetection(v **types.PersonDetection, if err := awsAwsjson11_deserializeDocumentPersonDetail(&sv.Person, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -17866,6 +18136,7 @@ func awsAwsjson11_deserializeDocumentPersonDetection(v **types.PersonDetection, } sv.Timestamp = i64 } + default: _, _ = key, value @@ -17935,10 +18206,12 @@ func awsAwsjson11_deserializeDocumentPersonMatch(v **types.PersonMatch, value in if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } + case "Person": if err := awsAwsjson11_deserializeDocumentPersonDetail(&sv.Person, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -17951,6 +18224,7 @@ func awsAwsjson11_deserializeDocumentPersonMatch(v **types.PersonMatch, value in } sv.Timestamp = i64 } + default: _, _ = key, value @@ -18049,6 +18323,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + case "Y": if value != nil { switch jtv := value.(type) { @@ -18082,6 +18357,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + default: _, _ = key, value @@ -18180,6 +18456,7 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } + case "Roll": if value != nil { switch jtv := value.(type) { @@ -18213,6 +18490,7 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } + case "Yaw": if value != nil { switch jtv := value.(type) { @@ -18246,6 +18524,7 @@ func awsAwsjson11_deserializeDocumentPose(v **types.Pose, value interface{}) err } } + default: _, _ = key, value @@ -18285,6 +18564,7 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.AutoUpdate = types.ProjectAutoUpdate(jtv) } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -18300,10 +18580,12 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } } + case "Datasets": if err := awsAwsjson11_deserializeDocumentDatasetMetadataList(&sv.Datasets, value); err != nil { return err } + case "Feature": if value != nil { jtv, ok := value.(string) @@ -18312,6 +18594,7 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Feature = types.CustomizationFeature(jtv) } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -18320,6 +18603,7 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.ProjectArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18328,6 +18612,7 @@ func awsAwsjson11_deserializeDocumentProjectDescription(v **types.ProjectDescrip } sv.Status = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -18442,6 +18727,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18457,6 +18743,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } } + case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -18465,6 +18752,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyDocument = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -18473,6 +18761,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyName = ptr.String(jtv) } + case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -18481,6 +18770,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.PolicyRevisionId = ptr.String(jtv) } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -18489,6 +18779,7 @@ func awsAwsjson11_deserializeDocumentProjectPolicy(v **types.ProjectPolicy, valu } sv.ProjectArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18528,6 +18819,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.BaseModelVersion = ptr.String(jtv) } + case "BillableTrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -18540,6 +18832,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.BillableTrainingTimeInSeconds = ptr.Int64(i64) } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -18555,10 +18848,12 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } } + case "EvaluationResult": if err := awsAwsjson11_deserializeDocumentEvaluationResult(&sv.EvaluationResult, value); err != nil { return err } + case "Feature": if value != nil { jtv, ok := value.(string) @@ -18567,10 +18862,12 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.Feature = types.CustomizationFeature(jtv) } + case "FeatureConfig": if err := awsAwsjson11_deserializeDocumentCustomizationFeatureConfig(&sv.FeatureConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -18579,10 +18876,12 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.KmsKeyId = ptr.String(jtv) } + case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentGroundTruthManifest(&sv.ManifestSummary, value); err != nil { return err } + case "MaxInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -18595,6 +18894,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.MaxInferenceUnits = ptr.Int32(int32(i64)) } + case "MinInferenceUnits": if value != nil { jtv, ok := value.(json.Number) @@ -18607,10 +18907,12 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.MinInferenceUnits = ptr.Int32(int32(i64)) } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "ProjectVersionArn": if value != nil { jtv, ok := value.(string) @@ -18619,6 +18921,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.ProjectVersionArn = ptr.String(jtv) } + case "SourceProjectVersionArn": if value != nil { jtv, ok := value.(string) @@ -18627,6 +18930,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.SourceProjectVersionArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18635,6 +18939,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.Status = types.ProjectVersionStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18643,14 +18948,17 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.StatusMessage = ptr.String(jtv) } + case "TestingDataResult": if err := awsAwsjson11_deserializeDocumentTestingDataResult(&sv.TestingDataResult, value); err != nil { return err } + case "TrainingDataResult": if err := awsAwsjson11_deserializeDocumentTrainingDataResult(&sv.TrainingDataResult, value); err != nil { return err } + case "TrainingEndTimestamp": if value != nil { switch jtv := value.(type) { @@ -18666,6 +18974,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } } + case "VersionDescription": if value != nil { jtv, ok := value.(string) @@ -18674,6 +18983,7 @@ func awsAwsjson11_deserializeDocumentProjectVersionDescription(v **types.Project } sv.VersionDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -18772,10 +19082,12 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentBodyPart(v **types.Prote } } + case "EquipmentDetections": if err := awsAwsjson11_deserializeDocumentEquipmentDetections(&sv.EquipmentDetections, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18784,6 +19096,7 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentBodyPart(v **types.Prote } sv.Name = types.BodyPart(jtv) } + default: _, _ = key, value @@ -18819,10 +19132,12 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect if err := awsAwsjson11_deserializeDocumentBodyParts(&sv.BodyParts, value); err != nil { return err } + case "BoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -18856,6 +19171,7 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect } } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -18868,6 +19184,7 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentPerson(v **types.Protect } sv.Id = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18977,14 +19294,17 @@ func awsAwsjson11_deserializeDocumentProtectiveEquipmentSummary(v **types.Protec if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsIndeterminate, value); err != nil { return err } + case "PersonsWithoutRequiredEquipment": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsWithoutRequiredEquipment, value); err != nil { return err } + case "PersonsWithRequiredEquipment": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersonIds(&sv.PersonsWithRequiredEquipment, value); err != nil { return err } + default: _, _ = key, value @@ -19024,6 +19344,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19032,6 +19353,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19040,6 +19362,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19111,10 +19434,12 @@ func awsAwsjson11_deserializeDocumentRegionOfInterest(v **types.RegionOfInterest if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -19188,6 +19513,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19196,6 +19522,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19204,6 +19531,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19243,6 +19571,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19251,6 +19580,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19259,6 +19589,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19298,6 +19629,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19306,6 +19638,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19314,6 +19647,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19353,6 +19687,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19361,6 +19696,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19369,6 +19705,7 @@ func awsAwsjson11_deserializeDocumentResourceNotReadyException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19408,6 +19745,7 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.Bucket = ptr.String(jtv) } + case "KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -19416,6 +19754,7 @@ func awsAwsjson11_deserializeDocumentS3Destination(v **types.S3Destination, valu } sv.KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -19455,6 +19794,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19463,6 +19803,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -19471,6 +19812,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -19510,6 +19852,7 @@ func awsAwsjson11_deserializeDocumentSearchedFace(v **types.SearchedFace, value } sv.FaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -19545,6 +19888,7 @@ func awsAwsjson11_deserializeDocumentSearchedFaceDetails(v **types.SearchedFaceD if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } + default: _, _ = key, value @@ -19584,6 +19928,7 @@ func awsAwsjson11_deserializeDocumentSearchedUser(v **types.SearchedUser, value } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -19627,6 +19972,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationFrames = ptr.Int64(i64) } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -19639,6 +19985,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationMillis = ptr.Int64(i64) } + case "DurationSMPTE": if value != nil { jtv, ok := value.(string) @@ -19647,6 +19994,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.DurationSMPTE = ptr.String(jtv) } + case "EndFrameNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19659,6 +20007,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndFrameNumber = ptr.Int64(i64) } + case "EndTimecodeSMPTE": if value != nil { jtv, ok := value.(string) @@ -19667,6 +20016,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndTimecodeSMPTE = ptr.String(jtv) } + case "EndTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -19679,10 +20029,12 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.EndTimestampMillis = i64 } + case "ShotSegment": if err := awsAwsjson11_deserializeDocumentShotSegment(&sv.ShotSegment, value); err != nil { return err } + case "StartFrameNumber": if value != nil { jtv, ok := value.(json.Number) @@ -19695,6 +20047,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartFrameNumber = ptr.Int64(i64) } + case "StartTimecodeSMPTE": if value != nil { jtv, ok := value.(string) @@ -19703,6 +20056,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartTimecodeSMPTE = ptr.String(jtv) } + case "StartTimestampMillis": if value != nil { jtv, ok := value.(json.Number) @@ -19715,10 +20069,12 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.StartTimestampMillis = i64 } + case "TechnicalCueSegment": if err := awsAwsjson11_deserializeDocumentTechnicalCueSegment(&sv.TechnicalCueSegment, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19727,6 +20083,7 @@ func awsAwsjson11_deserializeDocumentSegmentDetection(v **types.SegmentDetection } sv.Type = types.SegmentType(jtv) } + default: _, _ = key, value @@ -19800,6 +20157,7 @@ func awsAwsjson11_deserializeDocumentSegmentTypeInfo(v **types.SegmentTypeInfo, } sv.ModelVersion = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -19808,6 +20166,7 @@ func awsAwsjson11_deserializeDocumentSegmentTypeInfo(v **types.SegmentTypeInfo, } sv.Type = types.SegmentType(jtv) } + default: _, _ = key, value @@ -19881,6 +20240,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19889,6 +20249,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19897,6 +20258,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19936,6 +20298,7 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -19944,6 +20307,7 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -19952,6 +20316,7 @@ func awsAwsjson11_deserializeDocumentSessionNotFoundException(v **types.SessionN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20016,6 +20381,7 @@ func awsAwsjson11_deserializeDocumentShotSegment(v **types.ShotSegment, value in } } + case "Index": if value != nil { jtv, ok := value.(json.Number) @@ -20028,6 +20394,7 @@ func awsAwsjson11_deserializeDocumentShotSegment(v **types.ShotSegment, value in } sv.Index = ptr.Int64(i64) } + default: _, _ = key, value @@ -20092,6 +20459,7 @@ func awsAwsjson11_deserializeDocumentSmile(v **types.Smile, value interface{}) e } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -20100,6 +20468,7 @@ func awsAwsjson11_deserializeDocumentSmile(v **types.Smile, value interface{}) e } sv.Value = jtv } + default: _, _ = key, value @@ -20139,6 +20508,7 @@ func awsAwsjson11_deserializeDocumentStreamProcessor(v **types.StreamProcessor, } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20147,6 +20517,7 @@ func awsAwsjson11_deserializeDocumentStreamProcessor(v **types.StreamProcessor, } sv.Status = types.StreamProcessorStatus(jtv) } + default: _, _ = key, value @@ -20186,6 +20557,7 @@ func awsAwsjson11_deserializeDocumentStreamProcessorDataSharingPreference(v **ty } sv.OptIn = jtv } + default: _, _ = key, value @@ -20221,6 +20593,7 @@ func awsAwsjson11_deserializeDocumentStreamProcessorInput(v **types.StreamProces if err := awsAwsjson11_deserializeDocumentKinesisVideoStream(&sv.KinesisVideoStream, value); err != nil { return err } + default: _, _ = key, value @@ -20294,6 +20667,7 @@ func awsAwsjson11_deserializeDocumentStreamProcessorNotificationChannel(v **type } sv.SNSTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20329,10 +20703,12 @@ func awsAwsjson11_deserializeDocumentStreamProcessorOutput(v **types.StreamProce if err := awsAwsjson11_deserializeDocumentKinesisDataStream(&sv.KinesisDataStream, value); err != nil { return err } + case "S3Destination": if err := awsAwsjson11_deserializeDocumentS3Destination(&sv.S3Destination, value); err != nil { return err } + default: _, _ = key, value @@ -20368,10 +20744,12 @@ func awsAwsjson11_deserializeDocumentStreamProcessorSettings(v **types.StreamPro if err := awsAwsjson11_deserializeDocumentConnectedHomeSettings(&sv.ConnectedHome, value); err != nil { return err } + case "FaceSearch": if err := awsAwsjson11_deserializeDocumentFaceSearchSettings(&sv.FaceSearch, value); err != nil { return err } + default: _, _ = key, value @@ -20407,6 +20785,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -20471,6 +20850,7 @@ func awsAwsjson11_deserializeDocumentSunglasses(v **types.Sunglasses, value inte } } + case "Value": if value != nil { jtv, ok := value.(bool) @@ -20479,6 +20859,7 @@ func awsAwsjson11_deserializeDocumentSunglasses(v **types.Sunglasses, value inte } sv.Value = jtv } + default: _, _ = key, value @@ -20579,6 +20960,7 @@ func awsAwsjson11_deserializeDocumentTechnicalCueSegment(v **types.TechnicalCueS } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20587,6 +20969,7 @@ func awsAwsjson11_deserializeDocumentTechnicalCueSegment(v **types.TechnicalCueS } sv.Type = types.TechnicalCueType(jtv) } + default: _, _ = key, value @@ -20622,6 +21005,7 @@ func awsAwsjson11_deserializeDocumentTestingData(v **types.TestingData, value in if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } + case "AutoCreate": if value != nil { jtv, ok := value.(bool) @@ -20630,6 +21014,7 @@ func awsAwsjson11_deserializeDocumentTestingData(v **types.TestingData, value in } sv.AutoCreate = jtv } + default: _, _ = key, value @@ -20665,14 +21050,17 @@ func awsAwsjson11_deserializeDocumentTestingDataResult(v **types.TestingDataResu if err := awsAwsjson11_deserializeDocumentTestingData(&sv.Input, value); err != nil { return err } + case "Output": if err := awsAwsjson11_deserializeDocumentTestingData(&sv.Output, value); err != nil { return err } + case "Validation": if err := awsAwsjson11_deserializeDocumentValidationData(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -20737,6 +21125,7 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } } + case "DetectedText": if value != nil { jtv, ok := value.(string) @@ -20745,10 +21134,12 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.DetectedText = ptr.String(jtv) } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(json.Number) @@ -20761,6 +21152,7 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.Id = ptr.Int32(int32(i64)) } + case "ParentId": if value != nil { jtv, ok := value.(json.Number) @@ -20773,6 +21165,7 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.ParentId = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20781,6 +21174,7 @@ func awsAwsjson11_deserializeDocumentTextDetection(v **types.TextDetection, valu } sv.Type = types.TextTypes(jtv) } + default: _, _ = key, value @@ -20850,6 +21244,7 @@ func awsAwsjson11_deserializeDocumentTextDetectionResult(v **types.TextDetection if err := awsAwsjson11_deserializeDocumentTextDetection(&sv.TextDetection, value); err != nil { return err } + case "Timestamp": if value != nil { jtv, ok := value.(json.Number) @@ -20862,6 +21257,7 @@ func awsAwsjson11_deserializeDocumentTextDetectionResult(v **types.TextDetection } sv.Timestamp = i64 } + default: _, _ = key, value @@ -20935,6 +21331,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -20943,6 +21340,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -20951,6 +21349,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -20986,6 +21385,7 @@ func awsAwsjson11_deserializeDocumentTrainingData(v **types.TrainingData, value if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } + default: _, _ = key, value @@ -21021,14 +21421,17 @@ func awsAwsjson11_deserializeDocumentTrainingDataResult(v **types.TrainingDataRe if err := awsAwsjson11_deserializeDocumentTrainingData(&sv.Input, value); err != nil { return err } + case "Output": if err := awsAwsjson11_deserializeDocumentTrainingData(&sv.Output, value); err != nil { return err } + case "Validation": if err := awsAwsjson11_deserializeDocumentValidationData(&sv.Validation, value); err != nil { return err } + default: _, _ = key, value @@ -21064,10 +21467,12 @@ func awsAwsjson11_deserializeDocumentUnindexedFace(v **types.UnindexedFace, valu if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetail, value); err != nil { return err } + case "Reasons": if err := awsAwsjson11_deserializeDocumentReasons(&sv.Reasons, value); err != nil { return err } + default: _, _ = key, value @@ -21137,10 +21542,12 @@ func awsAwsjson11_deserializeDocumentUnsearchedFace(v **types.UnsearchedFace, va if err := awsAwsjson11_deserializeDocumentFaceDetail(&sv.FaceDetails, value); err != nil { return err } + case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsearchedFaceReasons(&sv.Reasons, value); err != nil { return err } + default: _, _ = key, value @@ -21275,6 +21682,7 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } } + case "FaceId": if value != nil { jtv, ok := value.(string) @@ -21283,10 +21691,12 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } sv.FaceId = ptr.String(jtv) } + case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociationReasons(&sv.Reasons, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -21295,6 +21705,7 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociation(v **types.Unsuc } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -21404,10 +21815,12 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletion(v **types.Unsucces } sv.FaceId = ptr.String(jtv) } + case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletionReasons(&sv.Reasons, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -21416,6 +21829,7 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletion(v **types.Unsucces } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -21525,10 +21939,12 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociation(v **types.Un } sv.FaceId = ptr.String(jtv) } + case "Reasons": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociationReasons(&sv.Reasons, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -21537,6 +21953,7 @@ func awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociation(v **types.Un } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -21682,6 +22099,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserId = ptr.String(jtv) } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -21690,6 +22108,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserStatus = types.UserStatus(jtv) } + default: _, _ = key, value @@ -21788,10 +22207,12 @@ func awsAwsjson11_deserializeDocumentUserMatch(v **types.UserMatch, value interf } } + case "User": if err := awsAwsjson11_deserializeDocumentMatchedUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -21861,6 +22282,7 @@ func awsAwsjson11_deserializeDocumentValidationData(v **types.ValidationData, va if err := awsAwsjson11_deserializeDocumentAssets(&sv.Assets, value); err != nil { return err } + default: _, _ = key, value @@ -21896,6 +22318,7 @@ func awsAwsjson11_deserializeDocumentVideo(v **types.Video, value interface{}) e if err := awsAwsjson11_deserializeDocumentS3Object(&sv.S3Object, value); err != nil { return err } + default: _, _ = key, value @@ -21935,6 +22358,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.Codec = ptr.String(jtv) } + case "ColorRange": if value != nil { jtv, ok := value.(string) @@ -21943,6 +22367,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.ColorRange = types.VideoColorRange(jtv) } + case "DurationMillis": if value != nil { jtv, ok := value.(json.Number) @@ -21955,6 +22380,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.DurationMillis = ptr.Int64(i64) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -21963,6 +22389,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.Format = ptr.String(jtv) } + case "FrameHeight": if value != nil { jtv, ok := value.(json.Number) @@ -21975,6 +22402,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.FrameHeight = ptr.Int64(i64) } + case "FrameRate": if value != nil { switch jtv := value.(type) { @@ -22008,6 +22436,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } } + case "FrameWidth": if value != nil { jtv, ok := value.(json.Number) @@ -22020,6 +22449,7 @@ func awsAwsjson11_deserializeDocumentVideoMetadata(v **types.VideoMetadata, valu } sv.FrameWidth = ptr.Int64(i64) } + default: _, _ = key, value @@ -22093,6 +22523,7 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Code = ptr.String(jtv) } + case "Logref": if value != nil { jtv, ok := value.(string) @@ -22101,6 +22532,7 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Logref = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -22109,6 +22541,7 @@ func awsAwsjson11_deserializeDocumentVideoTooLargeException(v **types.VideoTooLa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22144,10 +22577,12 @@ func awsAwsjson11_deserializeOpDocumentAssociateFacesOutput(v **AssociateFacesOu if err := awsAwsjson11_deserializeDocumentAssociatedFacesList(&sv.AssociatedFaces, value); err != nil { return err } + case "UnsuccessfulFaceAssociations": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceAssociationList(&sv.UnsuccessfulFaceAssociations, value); err != nil { return err } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -22156,6 +22591,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateFacesOutput(v **AssociateFacesOu } sv.UserStatus = types.UserStatus(jtv) } + default: _, _ = key, value @@ -22191,10 +22627,12 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput if err := awsAwsjson11_deserializeDocumentCompareFacesMatchList(&sv.FaceMatches, value); err != nil { return err } + case "SourceImageFace": if err := awsAwsjson11_deserializeDocumentComparedSourceImageFace(&sv.SourceImageFace, value); err != nil { return err } + case "SourceImageOrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -22203,6 +22641,7 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput } sv.SourceImageOrientationCorrection = types.OrientationCorrection(jtv) } + case "TargetImageOrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -22211,10 +22650,12 @@ func awsAwsjson11_deserializeOpDocumentCompareFacesOutput(v **CompareFacesOutput } sv.TargetImageOrientationCorrection = types.OrientationCorrection(jtv) } + case "UnmatchedFaces": if err := awsAwsjson11_deserializeDocumentCompareFacesUnmatchList(&sv.UnmatchedFaces, value); err != nil { return err } + default: _, _ = key, value @@ -22254,6 +22695,7 @@ func awsAwsjson11_deserializeOpDocumentCopyProjectVersionOutput(v **CopyProjectV } sv.ProjectVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22293,6 +22735,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.CollectionArn = ptr.String(jtv) } + case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -22301,6 +22744,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.FaceModelVersion = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -22313,6 +22757,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCollectionOutput(v **CreateCollecti } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22352,6 +22797,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDatasetOutput(v **CreateDatasetOutp } sv.DatasetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22391,6 +22837,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFaceLivenessSessionOutput(v **Creat } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -22430,6 +22877,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22469,6 +22917,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectVersionOutput(v **CreateProj } sv.ProjectVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22508,6 +22957,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStreamProcessorOutput(v **CreateStr } sv.StreamProcessorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22582,6 +23032,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteCollectionOutput(v **DeleteCollecti } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22648,10 +23099,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteFacesOutput(v **DeleteFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceIdList(&sv.DeletedFaces, value); err != nil { return err } + case "UnsuccessfulFaceDeletions": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDeletionsList(&sv.UnsuccessfulFaceDeletions, value); err != nil { return err } + default: _, _ = key, value @@ -22691,6 +23144,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteProjectOutput(v **DeleteProjectOutp } sv.Status = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -22761,6 +23215,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteProjectVersionOutput(v **DeleteProj } sv.Status = types.ProjectVersionStatus(jtv) } + default: _, _ = key, value @@ -22862,6 +23317,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.CollectionARN = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -22877,6 +23333,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } } + case "FaceCount": if value != nil { jtv, ok := value.(json.Number) @@ -22889,6 +23346,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.FaceCount = ptr.Int64(i64) } + case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -22897,6 +23355,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.FaceModelVersion = ptr.String(jtv) } + case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -22909,6 +23368,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCollectionOutput(v **DescribeColl } sv.UserCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -22944,6 +23404,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetOutput(v **DescribeDataset if err := awsAwsjson11_deserializeDocumentDatasetDescription(&sv.DatasetDescription, value); err != nil { return err } + default: _, _ = key, value @@ -22983,10 +23444,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectsOutput(v **DescribeProjec } sv.NextToken = ptr.String(jtv) } + case "ProjectDescriptions": if err := awsAwsjson11_deserializeDocumentProjectDescriptions(&sv.ProjectDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -23026,10 +23489,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectVersionsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "ProjectVersionDescriptions": if err := awsAwsjson11_deserializeDocumentProjectVersionDescriptions(&sv.ProjectVersionDescriptions, value); err != nil { return err } + default: _, _ = key, value @@ -23076,14 +23541,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } } + case "DataSharingPreference": if err := awsAwsjson11_deserializeDocumentStreamProcessorDataSharingPreference(&sv.DataSharingPreference, value); err != nil { return err } + case "Input": if err := awsAwsjson11_deserializeDocumentStreamProcessorInput(&sv.Input, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -23092,6 +23560,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.KmsKeyId = ptr.String(jtv) } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -23107,6 +23576,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23115,18 +23585,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.Name = ptr.String(jtv) } + case "NotificationChannel": if err := awsAwsjson11_deserializeDocumentStreamProcessorNotificationChannel(&sv.NotificationChannel, value); err != nil { return err } + case "Output": if err := awsAwsjson11_deserializeDocumentStreamProcessorOutput(&sv.Output, value); err != nil { return err } + case "RegionsOfInterest": if err := awsAwsjson11_deserializeDocumentRegionsOfInterest(&sv.RegionsOfInterest, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -23135,10 +23609,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.RoleArn = ptr.String(jtv) } + case "Settings": if err := awsAwsjson11_deserializeDocumentStreamProcessorSettings(&sv.Settings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -23147,6 +23623,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.Status = types.StreamProcessorStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23155,6 +23632,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.StatusMessage = ptr.String(jtv) } + case "StreamProcessorArn": if value != nil { jtv, ok := value.(string) @@ -23163,6 +23641,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStreamProcessorOutput(v **Describ } sv.StreamProcessorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -23198,6 +23677,7 @@ func awsAwsjson11_deserializeOpDocumentDetectCustomLabelsOutput(v **DetectCustom if err := awsAwsjson11_deserializeDocumentCustomLabels(&sv.CustomLabels, value); err != nil { return err } + default: _, _ = key, value @@ -23233,6 +23713,7 @@ func awsAwsjson11_deserializeOpDocumentDetectFacesOutput(v **DetectFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceDetailList(&sv.FaceDetails, value); err != nil { return err } + case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -23241,6 +23722,7 @@ func awsAwsjson11_deserializeOpDocumentDetectFacesOutput(v **DetectFacesOutput, } sv.OrientationCorrection = types.OrientationCorrection(jtv) } + default: _, _ = key, value @@ -23276,6 +23758,7 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput if err := awsAwsjson11_deserializeDocumentDetectLabelsImageProperties(&sv.ImageProperties, value); err != nil { return err } + case "LabelModelVersion": if value != nil { jtv, ok := value.(string) @@ -23284,10 +23767,12 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput } sv.LabelModelVersion = ptr.String(jtv) } + case "Labels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.Labels, value); err != nil { return err } + case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -23296,6 +23781,7 @@ func awsAwsjson11_deserializeOpDocumentDetectLabelsOutput(v **DetectLabelsOutput } sv.OrientationCorrection = types.OrientationCorrection(jtv) } + default: _, _ = key, value @@ -23331,14 +23817,17 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.ContentTypes, value); err != nil { return err } + case "HumanLoopActivationOutput": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(&sv.HumanLoopActivationOutput, value); err != nil { return err } + case "ModerationLabels": if err := awsAwsjson11_deserializeDocumentModerationLabels(&sv.ModerationLabels, value); err != nil { return err } + case "ModerationModelVersion": if value != nil { jtv, ok := value.(string) @@ -23347,6 +23836,7 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo } sv.ModerationModelVersion = ptr.String(jtv) } + case "ProjectVersion": if value != nil { jtv, ok := value.(string) @@ -23355,6 +23845,7 @@ func awsAwsjson11_deserializeOpDocumentDetectModerationLabelsOutput(v **DetectMo } sv.ProjectVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -23390,6 +23881,7 @@ func awsAwsjson11_deserializeOpDocumentDetectProtectiveEquipmentOutput(v **Detec if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentPersons(&sv.Persons, value); err != nil { return err } + case "ProtectiveEquipmentModelVersion": if value != nil { jtv, ok := value.(string) @@ -23398,10 +23890,12 @@ func awsAwsjson11_deserializeOpDocumentDetectProtectiveEquipmentOutput(v **Detec } sv.ProtectiveEquipmentModelVersion = ptr.String(jtv) } + case "Summary": if err := awsAwsjson11_deserializeDocumentProtectiveEquipmentSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -23437,6 +23931,7 @@ func awsAwsjson11_deserializeOpDocumentDetectTextOutput(v **DetectTextOutput, va if err := awsAwsjson11_deserializeDocumentTextDetectionList(&sv.TextDetections, value); err != nil { return err } + case "TextModelVersion": if value != nil { jtv, ok := value.(string) @@ -23445,6 +23940,7 @@ func awsAwsjson11_deserializeOpDocumentDetectTextOutput(v **DetectTextOutput, va } sv.TextModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -23480,10 +23976,12 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFacesOutput(v **DisassociateF if err := awsAwsjson11_deserializeDocumentDisassociatedFacesList(&sv.DisassociatedFaces, value); err != nil { return err } + case "UnsuccessfulFaceDisassociations": if err := awsAwsjson11_deserializeDocumentUnsuccessfulFaceDisassociationList(&sv.UnsuccessfulFaceDisassociations, value); err != nil { return err } + case "UserStatus": if value != nil { jtv, ok := value.(string) @@ -23492,6 +23990,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFacesOutput(v **DisassociateF } sv.UserStatus = types.UserStatus(jtv) } + default: _, _ = key, value @@ -23558,6 +24057,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityInfoOutput(v **GetCelebrityIn if err := awsAwsjson11_deserializeDocumentKnownGender(&sv.KnownGender, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23566,10 +24066,12 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityInfoOutput(v **GetCelebrityIn } sv.Name = ptr.String(jtv) } + case "Urls": if err := awsAwsjson11_deserializeDocumentUrls(&sv.Urls, value); err != nil { return err } + default: _, _ = key, value @@ -23605,6 +24107,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele if err := awsAwsjson11_deserializeDocumentCelebrityRecognitions(&sv.Celebrities, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23613,6 +24116,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23621,6 +24125,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -23629,6 +24134,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23637,6 +24143,7 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23645,14 +24152,17 @@ func awsAwsjson11_deserializeOpDocumentGetCelebrityRecognitionOutput(v **GetCele } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -23688,6 +24198,7 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent if err := awsAwsjson11_deserializeDocumentGetContentModerationRequestMetadata(&sv.GetRequestMetadata, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23696,6 +24207,7 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23704,6 +24216,7 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -23712,10 +24225,12 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.JobTag = ptr.String(jtv) } + case "ModerationLabels": if err := awsAwsjson11_deserializeDocumentContentModerationDetections(&sv.ModerationLabels, value); err != nil { return err } + case "ModerationModelVersion": if value != nil { jtv, ok := value.(string) @@ -23724,6 +24239,7 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.ModerationModelVersion = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23732,6 +24248,7 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23740,14 +24257,17 @@ func awsAwsjson11_deserializeOpDocumentGetContentModerationOutput(v **GetContent } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -23783,6 +24303,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti if err := awsAwsjson11_deserializeDocumentFaceDetections(&sv.Faces, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -23791,6 +24312,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23799,6 +24321,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -23807,6 +24330,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23815,6 +24339,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23823,14 +24348,17 @@ func awsAwsjson11_deserializeOpDocumentGetFaceDetectionOutput(v **GetFaceDetecti } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -23866,6 +24394,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G if err := awsAwsjson11_deserializeDocumentAuditImages(&sv.AuditImages, value); err != nil { return err } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -23899,10 +24428,12 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } } + case "ReferenceImage": if err := awsAwsjson11_deserializeDocumentAuditImage(&sv.ReferenceImage, value); err != nil { return err } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -23911,6 +24442,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } sv.SessionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -23919,6 +24451,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceLivenessSessionResultsOutput(v **G } sv.Status = types.LivenessSessionStatus(jtv) } + default: _, _ = key, value @@ -23958,6 +24491,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -23966,6 +24500,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -23974,6 +24509,7 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -23982,10 +24518,12 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.NextToken = ptr.String(jtv) } + case "Persons": if err := awsAwsjson11_deserializeDocumentPersonMatches(&sv.Persons, value); err != nil { return err } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -23994,14 +24532,17 @@ func awsAwsjson11_deserializeOpDocumentGetFaceSearchOutput(v **GetFaceSearchOutp } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -24037,6 +24578,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec if err := awsAwsjson11_deserializeDocumentGetLabelDetectionRequestMetadata(&sv.GetRequestMetadata, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -24045,6 +24587,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24053,6 +24596,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24061,6 +24605,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.JobTag = ptr.String(jtv) } + case "LabelModelVersion": if value != nil { jtv, ok := value.(string) @@ -24069,10 +24614,12 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.LabelModelVersion = ptr.String(jtv) } + case "Labels": if err := awsAwsjson11_deserializeDocumentLabelDetections(&sv.Labels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24081,6 +24628,7 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24089,14 +24637,17 @@ func awsAwsjson11_deserializeOpDocumentGetLabelDetectionOutput(v **GetLabelDetec } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -24143,6 +24694,7 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -24158,14 +24710,17 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "Input": if err := awsAwsjson11_deserializeDocumentMediaAnalysisInput(&sv.Input, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -24174,6 +24729,7 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -24182,6 +24738,7 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.JobName = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -24190,22 +24747,27 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.KmsKeyId = ptr.String(jtv) } + case "ManifestSummary": if err := awsAwsjson11_deserializeDocumentMediaAnalysisManifestSummary(&sv.ManifestSummary, value); err != nil { return err } + case "OperationsConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOperationsConfig(&sv.OperationsConfig, value); err != nil { return err } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentMediaAnalysisOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Results": if err := awsAwsjson11_deserializeDocumentMediaAnalysisResults(&sv.Results, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24214,6 +24776,7 @@ func awsAwsjson11_deserializeOpDocumentGetMediaAnalysisJobOutput(v **GetMediaAna } sv.Status = types.MediaAnalysisJobStatus(jtv) } + default: _, _ = key, value @@ -24253,6 +24816,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24261,6 +24825,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24269,6 +24834,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24277,10 +24843,12 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.NextToken = ptr.String(jtv) } + case "Persons": if err := awsAwsjson11_deserializeDocumentPersonDetections(&sv.Persons, value); err != nil { return err } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24289,14 +24857,17 @@ func awsAwsjson11_deserializeOpDocumentGetPersonTrackingOutput(v **GetPersonTrac } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -24332,6 +24903,7 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD if err := awsAwsjson11_deserializeDocumentAudioMetadataList(&sv.AudioMetadata, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -24340,6 +24912,7 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24348,6 +24921,7 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24356,6 +24930,7 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24364,14 +24939,17 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.NextToken = ptr.String(jtv) } + case "Segments": if err := awsAwsjson11_deserializeDocumentSegmentDetections(&sv.Segments, value); err != nil { return err } + case "SelectedSegmentTypes": if err := awsAwsjson11_deserializeDocumentSegmentTypesInfo(&sv.SelectedSegmentTypes, value); err != nil { return err } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24380,14 +24958,17 @@ func awsAwsjson11_deserializeOpDocumentGetSegmentDetectionOutput(v **GetSegmentD } sv.StatusMessage = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadataList(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -24427,6 +25008,7 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -24435,6 +25017,7 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobStatus = types.VideoJobStatus(jtv) } + case "JobTag": if value != nil { jtv, ok := value.(string) @@ -24443,6 +25026,7 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.JobTag = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24451,6 +25035,7 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -24459,10 +25044,12 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.StatusMessage = ptr.String(jtv) } + case "TextDetections": if err := awsAwsjson11_deserializeDocumentTextDetectionResults(&sv.TextDetections, value); err != nil { return err } + case "TextModelVersion": if value != nil { jtv, ok := value.(string) @@ -24471,14 +25058,17 @@ func awsAwsjson11_deserializeOpDocumentGetTextDetectionOutput(v **GetTextDetecti } sv.TextModelVersion = ptr.String(jtv) } + case "Video": if err := awsAwsjson11_deserializeDocumentVideo(&sv.Video, value); err != nil { return err } + case "VideoMetadata": if err := awsAwsjson11_deserializeDocumentVideoMetadata(&sv.VideoMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -24518,10 +25108,12 @@ func awsAwsjson11_deserializeOpDocumentIndexFacesOutput(v **IndexFacesOutput, va } sv.FaceModelVersion = ptr.String(jtv) } + case "FaceRecords": if err := awsAwsjson11_deserializeDocumentFaceRecordList(&sv.FaceRecords, value); err != nil { return err } + case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -24530,10 +25122,12 @@ func awsAwsjson11_deserializeOpDocumentIndexFacesOutput(v **IndexFacesOutput, va } sv.OrientationCorrection = types.OrientationCorrection(jtv) } + case "UnindexedFaces": if err := awsAwsjson11_deserializeDocumentUnindexedFaces(&sv.UnindexedFaces, value); err != nil { return err } + default: _, _ = key, value @@ -24569,10 +25163,12 @@ func awsAwsjson11_deserializeOpDocumentListCollectionsOutput(v **ListCollections if err := awsAwsjson11_deserializeDocumentCollectionIdList(&sv.CollectionIds, value); err != nil { return err } + case "FaceModelVersions": if err := awsAwsjson11_deserializeDocumentFaceModelVersionList(&sv.FaceModelVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24581,6 +25177,7 @@ func awsAwsjson11_deserializeOpDocumentListCollectionsOutput(v **ListCollections } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24616,6 +25213,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE if err := awsAwsjson11_deserializeDocumentDatasetEntries(&sv.DatasetEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24624,6 +25222,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetEntriesOutput(v **ListDatasetE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24659,6 +25258,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetLabelsOutput(v **ListDatasetLa if err := awsAwsjson11_deserializeDocumentDatasetLabelDescriptions(&sv.DatasetLabelDescriptions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24667,6 +25267,7 @@ func awsAwsjson11_deserializeOpDocumentListDatasetLabelsOutput(v **ListDatasetLa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24706,10 +25307,12 @@ func awsAwsjson11_deserializeOpDocumentListFacesOutput(v **ListFacesOutput, valu } sv.FaceModelVersion = ptr.String(jtv) } + case "Faces": if err := awsAwsjson11_deserializeDocumentFaceList(&sv.Faces, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24718,6 +25321,7 @@ func awsAwsjson11_deserializeOpDocumentListFacesOutput(v **ListFacesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24753,6 +25357,7 @@ func awsAwsjson11_deserializeOpDocumentListMediaAnalysisJobsOutput(v **ListMedia if err := awsAwsjson11_deserializeDocumentMediaAnalysisJobDescriptions(&sv.MediaAnalysisJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -24761,6 +25366,7 @@ func awsAwsjson11_deserializeOpDocumentListMediaAnalysisJobsOutput(v **ListMedia } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -24800,10 +25406,12 @@ func awsAwsjson11_deserializeOpDocumentListProjectPoliciesOutput(v **ListProject } sv.NextToken = ptr.String(jtv) } + case "ProjectPolicies": if err := awsAwsjson11_deserializeDocumentProjectPolicies(&sv.ProjectPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -24843,10 +25451,12 @@ func awsAwsjson11_deserializeOpDocumentListStreamProcessorsOutput(v **ListStream } sv.NextToken = ptr.String(jtv) } + case "StreamProcessors": if err := awsAwsjson11_deserializeDocumentStreamProcessorList(&sv.StreamProcessors, value); err != nil { return err } + default: _, _ = key, value @@ -24882,6 +25492,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -24921,10 +25532,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -24964,6 +25577,7 @@ func awsAwsjson11_deserializeOpDocumentPutProjectPolicyOutput(v **PutProjectPoli } sv.PolicyRevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -24999,6 +25613,7 @@ func awsAwsjson11_deserializeOpDocumentRecognizeCelebritiesOutput(v **RecognizeC if err := awsAwsjson11_deserializeDocumentCelebrityList(&sv.CelebrityFaces, value); err != nil { return err } + case "OrientationCorrection": if value != nil { jtv, ok := value.(string) @@ -25007,10 +25622,12 @@ func awsAwsjson11_deserializeOpDocumentRecognizeCelebritiesOutput(v **RecognizeC } sv.OrientationCorrection = types.OrientationCorrection(jtv) } + case "UnrecognizedFaces": if err := awsAwsjson11_deserializeDocumentComparedFaceList(&sv.UnrecognizedFaces, value); err != nil { return err } + default: _, _ = key, value @@ -25046,6 +25663,7 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } + case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -25054,10 +25672,12 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB } sv.FaceModelVersion = ptr.String(jtv) } + case "SearchedFaceBoundingBox": if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.SearchedFaceBoundingBox, value); err != nil { return err } + case "SearchedFaceConfidence": if value != nil { switch jtv := value.(type) { @@ -25091,6 +25711,7 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesByImageOutput(v **SearchFacesB } } + default: _, _ = key, value @@ -25126,6 +25747,7 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, if err := awsAwsjson11_deserializeDocumentFaceMatchList(&sv.FaceMatches, value); err != nil { return err } + case "FaceModelVersion": if value != nil { jtv, ok := value.(string) @@ -25134,6 +25756,7 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, } sv.FaceModelVersion = ptr.String(jtv) } + case "SearchedFaceId": if value != nil { jtv, ok := value.(string) @@ -25142,6 +25765,7 @@ func awsAwsjson11_deserializeOpDocumentSearchFacesOutput(v **SearchFacesOutput, } sv.SearchedFaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -25181,18 +25805,22 @@ func awsAwsjson11_deserializeOpDocumentSearchUsersByImageOutput(v **SearchUsersB } sv.FaceModelVersion = ptr.String(jtv) } + case "SearchedFace": if err := awsAwsjson11_deserializeDocumentSearchedFaceDetails(&sv.SearchedFace, value); err != nil { return err } + case "UnsearchedFaces": if err := awsAwsjson11_deserializeDocumentUnsearchedFacesList(&sv.UnsearchedFaces, value); err != nil { return err } + case "UserMatches": if err := awsAwsjson11_deserializeDocumentUserMatchList(&sv.UserMatches, value); err != nil { return err } + default: _, _ = key, value @@ -25232,18 +25860,22 @@ func awsAwsjson11_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, } sv.FaceModelVersion = ptr.String(jtv) } + case "SearchedFace": if err := awsAwsjson11_deserializeDocumentSearchedFace(&sv.SearchedFace, value); err != nil { return err } + case "SearchedUser": if err := awsAwsjson11_deserializeDocumentSearchedUser(&sv.SearchedUser, value); err != nil { return err } + case "UserMatches": if err := awsAwsjson11_deserializeDocumentUserMatchList(&sv.UserMatches, value); err != nil { return err } + default: _, _ = key, value @@ -25283,6 +25915,7 @@ func awsAwsjson11_deserializeOpDocumentStartCelebrityRecognitionOutput(v **Start } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25322,6 +25955,7 @@ func awsAwsjson11_deserializeOpDocumentStartContentModerationOutput(v **StartCon } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25361,6 +25995,7 @@ func awsAwsjson11_deserializeOpDocumentStartFaceDetectionOutput(v **StartFaceDet } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25400,6 +26035,7 @@ func awsAwsjson11_deserializeOpDocumentStartFaceSearchOutput(v **StartFaceSearch } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25439,6 +26075,7 @@ func awsAwsjson11_deserializeOpDocumentStartLabelDetectionOutput(v **StartLabelD } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25478,6 +26115,7 @@ func awsAwsjson11_deserializeOpDocumentStartMediaAnalysisJobOutput(v **StartMedi } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25517,6 +26155,7 @@ func awsAwsjson11_deserializeOpDocumentStartPersonTrackingOutput(v **StartPerson } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25556,6 +26195,7 @@ func awsAwsjson11_deserializeOpDocumentStartProjectVersionOutput(v **StartProjec } sv.Status = types.ProjectVersionStatus(jtv) } + default: _, _ = key, value @@ -25595,6 +26235,7 @@ func awsAwsjson11_deserializeOpDocumentStartSegmentDetectionOutput(v **StartSegm } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25634,6 +26275,7 @@ func awsAwsjson11_deserializeOpDocumentStartStreamProcessorOutput(v **StartStrea } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -25673,6 +26315,7 @@ func awsAwsjson11_deserializeOpDocumentStartTextDetectionOutput(v **StartTextDet } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -25712,6 +26355,7 @@ func awsAwsjson11_deserializeOpDocumentStopProjectVersionOutput(v **StopProjectV } sv.Status = types.ProjectVersionStatus(jtv) } + default: _, _ = key, value diff --git a/service/repostspace/deserializers.go b/service/repostspace/deserializers.go index 4fb85336012..ba312067640 100644 --- a/service/repostspace/deserializers.go +++ b/service/repostspace/deserializers.go @@ -185,10 +185,12 @@ func awsRestjson1_deserializeOpDocumentBatchAddRoleOutput(v **BatchAddRoleOutput if err := awsRestjson1_deserializeDocumentAccessorIdList(&sv.AddedAccessorIds, value); err != nil { return err } + case "errors": if err := awsRestjson1_deserializeDocumentBatchErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -352,10 +354,12 @@ func awsRestjson1_deserializeOpDocumentBatchRemoveRoleOutput(v **BatchRemoveRole if err := awsRestjson1_deserializeDocumentBatchErrorList(&sv.Errors, value); err != nil { return err } + case "removedAccessorIds": if err := awsRestjson1_deserializeDocumentAccessorIdList(&sv.RemovedAccessorIds, value); err != nil { return err } + default: _, _ = key, value @@ -529,6 +533,7 @@ func awsRestjson1_deserializeOpDocumentCreateSpaceOutput(v **CreateSpaceOutput, } sv.SpaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -908,6 +913,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Arn = ptr.String(jtv) } + case "clientId": if value != nil { jtv, ok := value.(string) @@ -916,6 +922,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ClientId = ptr.String(jtv) } + case "configurationStatus": if value != nil { jtv, ok := value.(string) @@ -924,6 +931,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ConfigurationStatus = types.ConfigurationStatus(jtv) } + case "contentSize": if value != nil { jtv, ok := value.(json.Number) @@ -936,6 +944,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.ContentSize = ptr.Int64(i64) } + case "createDateTime": if value != nil { jtv, ok := value.(string) @@ -948,6 +957,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.CreateDateTime = ptr.Time(t) } + case "customerRoleArn": if value != nil { jtv, ok := value.(string) @@ -956,6 +966,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.CustomerRoleArn = ptr.String(jtv) } + case "deleteDateTime": if value != nil { jtv, ok := value.(string) @@ -968,6 +979,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.DeleteDateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -976,10 +988,12 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Description = ptr.String(jtv) } + case "groupAdmins": if err := awsRestjson1_deserializeDocumentGroupAdmins(&sv.GroupAdmins, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -988,6 +1002,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Name = ptr.String(jtv) } + case "randomDomain": if value != nil { jtv, ok := value.(string) @@ -996,10 +1011,12 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.RandomDomain = ptr.String(jtv) } + case "roles": if err := awsRestjson1_deserializeDocumentRoles(&sv.Roles, value); err != nil { return err } + case "spaceId": if value != nil { jtv, ok := value.(string) @@ -1008,6 +1025,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.SpaceId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1016,6 +1034,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Status = ptr.String(jtv) } + case "storageLimit": if value != nil { jtv, ok := value.(json.Number) @@ -1028,6 +1047,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.StorageLimit = ptr.Int64(i64) } + case "tier": if value != nil { jtv, ok := value.(string) @@ -1036,10 +1056,12 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.Tier = types.TierLevel(jtv) } + case "userAdmins": if err := awsRestjson1_deserializeDocumentUserAdmins(&sv.UserAdmins, value); err != nil { return err } + case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -1052,6 +1074,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.UserCount = ptr.Int32(int32(i64)) } + case "userKMSKey": if value != nil { jtv, ok := value.(string) @@ -1060,6 +1083,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.UserKMSKey = ptr.String(jtv) } + case "vanityDomain": if value != nil { jtv, ok := value.(string) @@ -1068,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.VanityDomain = ptr.String(jtv) } + case "vanityDomainStatus": if value != nil { jtv, ok := value.(string) @@ -1076,6 +1101,7 @@ func awsRestjson1_deserializeOpDocumentGetSpaceOutput(v **GetSpaceOutput, value } sv.VanityDomainStatus = types.VanityDomainStatus(jtv) } + default: _, _ = key, value @@ -1240,10 +1266,12 @@ func awsRestjson1_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } + case "spaces": if err := awsRestjson1_deserializeDocumentSpacesList(&sv.Spaces, value); err != nil { return err } + default: _, _ = key, value @@ -1407,6 +1435,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2259,6 +2288,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2334,6 +2364,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.AccessorId = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(json.Number) @@ -2346,6 +2377,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Error = ptr.Int32(int32(i64)) } + case "message": if value != nil { jtv, ok := value.(string) @@ -2354,6 +2386,7 @@ func awsRestjson1_deserializeDocumentBatchError(v **types.BatchError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2427,6 +2460,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2435,6 +2469,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2443,6 +2478,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2518,6 +2554,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2530,6 +2567,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2569,6 +2607,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2577,6 +2616,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2585,6 +2625,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2694,6 +2735,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -2702,6 +2744,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2710,6 +2753,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2718,6 +2762,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2726,6 +2771,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2765,6 +2811,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Arn = ptr.String(jtv) } + case "configurationStatus": if value != nil { jtv, ok := value.(string) @@ -2773,6 +2820,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.ConfigurationStatus = types.ConfigurationStatus(jtv) } + case "contentSize": if value != nil { jtv, ok := value.(json.Number) @@ -2785,6 +2833,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.ContentSize = ptr.Int64(i64) } + case "createDateTime": if value != nil { jtv, ok := value.(string) @@ -2797,6 +2846,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.CreateDateTime = ptr.Time(t) } + case "deleteDateTime": if value != nil { jtv, ok := value.(string) @@ -2809,6 +2859,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.DeleteDateTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2817,6 +2868,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2825,6 +2877,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Name = ptr.String(jtv) } + case "randomDomain": if value != nil { jtv, ok := value.(string) @@ -2833,6 +2886,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.RandomDomain = ptr.String(jtv) } + case "spaceId": if value != nil { jtv, ok := value.(string) @@ -2841,6 +2895,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.SpaceId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2849,6 +2904,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Status = ptr.String(jtv) } + case "storageLimit": if value != nil { jtv, ok := value.(json.Number) @@ -2861,6 +2917,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.StorageLimit = ptr.Int64(i64) } + case "tier": if value != nil { jtv, ok := value.(string) @@ -2869,6 +2926,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.Tier = types.TierLevel(jtv) } + case "userCount": if value != nil { jtv, ok := value.(json.Number) @@ -2881,6 +2939,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.UserCount = ptr.Int32(int32(i64)) } + case "userKMSKey": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2948,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.UserKMSKey = ptr.String(jtv) } + case "vanityDomain": if value != nil { jtv, ok := value.(string) @@ -2897,6 +2957,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.VanityDomain = ptr.String(jtv) } + case "vanityDomainStatus": if value != nil { jtv, ok := value.(string) @@ -2905,6 +2966,7 @@ func awsRestjson1_deserializeDocumentSpaceData(v **types.SpaceData, value interf } sv.VanityDomainStatus = types.VanityDomainStatus(jtv) } + default: _, _ = key, value @@ -3014,6 +3076,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -3022,6 +3085,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3034,6 +3098,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -3042,6 +3107,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -3113,6 +3179,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3121,6 +3188,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -3129,6 +3197,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -3168,6 +3237,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3176,6 +3246,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/resiliencehub/deserializers.go b/service/resiliencehub/deserializers.go index 63f012f93fa..0d1064273d2 100644 --- a/service/resiliencehub/deserializers.go +++ b/service/resiliencehub/deserializers.go @@ -188,10 +188,12 @@ func awsRestjson1_deserializeOpDocumentAcceptResourceGroupingRecommendationsOutp } sv.AppArn = ptr.String(jtv) } + case "failedEntries": if err := awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntries(&sv.FailedEntries, value); err != nil { return err } + default: _, _ = key, value @@ -365,6 +367,7 @@ func awsRestjson1_deserializeOpDocumentAddDraftAppVersionResourceMappingsOutput( } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -373,10 +376,12 @@ func awsRestjson1_deserializeOpDocumentAddDraftAppVersionResourceMappingsOutput( } sv.AppVersion = ptr.String(jtv) } + case "resourceMappings": if err := awsRestjson1_deserializeDocumentResourceMappingList(&sv.ResourceMappings, value); err != nil { return err } + default: _, _ = key, value @@ -544,14 +549,17 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRecommendationStatusOutput(v * } sv.AppArn = ptr.String(jtv) } + case "failedEntries": if err := awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntries(&sv.FailedEntries, value); err != nil { return err } + case "successfulEntries": if err := awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEntries(&sv.SuccessfulEntries, value); err != nil { return err } + default: _, _ = key, value @@ -721,6 +729,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -894,10 +903,12 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionAppComponentOutput(v **Cr } sv.AppArn = ptr.String(jtv) } + case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -906,6 +917,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionAppComponentOutput(v **Cr } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -1079,6 +1091,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionResourceOutput(v **Create } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -1087,10 +1100,12 @@ func awsRestjson1_deserializeOpDocumentCreateAppVersionResourceOutput(v **Create } sv.AppVersion = ptr.String(jtv) } + case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } + default: _, _ = key, value @@ -1260,6 +1275,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecommendationTemplateOutput(v **Cr if err := awsRestjson1_deserializeDocumentRecommendationTemplate(&sv.RecommendationTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -1426,6 +1442,7 @@ func awsRestjson1_deserializeOpDocumentCreateResiliencyPolicyOutput(v **CreateRe if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -1593,6 +1610,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppOutput(v **DeleteAppOutput, valu } sv.AppArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1763,6 +1781,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppAssessmentOutput(v **DeleteAppAs } sv.AssessmentArn = ptr.String(jtv) } + case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -1771,6 +1790,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppAssessmentOutput(v **DeleteAppAs } sv.AssessmentStatus = types.AssessmentStatus(jtv) } + default: _, _ = key, value @@ -1941,10 +1961,12 @@ func awsRestjson1_deserializeOpDocumentDeleteAppInputSourceOutput(v **DeleteAppI } sv.AppArn = ptr.String(jtv) } + case "appInputSource": if err := awsRestjson1_deserializeDocumentAppInputSource(&sv.AppInputSource, value); err != nil { return err } + default: _, _ = key, value @@ -2115,10 +2137,12 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionAppComponentOutput(v **De } sv.AppArn = ptr.String(jtv) } + case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -2127,6 +2151,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionAppComponentOutput(v **De } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2297,6 +2322,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionResourceOutput(v **Delete } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -2305,10 +2331,12 @@ func awsRestjson1_deserializeOpDocumentDeleteAppVersionResourceOutput(v **Delete } sv.AppVersion = ptr.String(jtv) } + case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } + default: _, _ = key, value @@ -2476,6 +2504,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommendationTemplateOutput(v **De } sv.RecommendationTemplateArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2484,6 +2513,7 @@ func awsRestjson1_deserializeOpDocumentDeleteRecommendationTemplateOutput(v **De } sv.Status = types.RecommendationTemplateStatus(jtv) } + default: _, _ = key, value @@ -2654,6 +2684,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResiliencyPolicyOutput(v **DeleteRe } sv.PolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2817,6 +2848,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -2980,6 +3012,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppAssessmentOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentAppAssessment(&sv.Assessment, value); err != nil { return err } + default: _, _ = key, value @@ -3143,6 +3176,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } + case "appArn": if value != nil { jtv, ok := value.(string) @@ -3151,6 +3185,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3159,6 +3194,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionOutput(v **DescribeAppV } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3329,10 +3365,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionAppComponentOutput(v ** } sv.AppArn = ptr.String(jtv) } + case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3341,6 +3379,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionAppComponentOutput(v ** } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3511,6 +3550,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourceOutput(v **Desc } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3519,10 +3559,12 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourceOutput(v **Desc } sv.AppVersion = ptr.String(jtv) } + case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } + default: _, _ = key, value @@ -3690,6 +3732,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3698,6 +3741,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.AppVersion = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3706,6 +3750,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.ErrorMessage = ptr.String(jtv) } + case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -3714,6 +3759,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.ResolutionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3722,6 +3768,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionResourcesResolutionStat } sv.Status = types.ResourceResolutionStatusType(jtv) } + default: _, _ = key, value @@ -3889,6 +3936,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppArn = ptr.String(jtv) } + case "appTemplateBody": if value != nil { jtv, ok := value.(string) @@ -3897,6 +3945,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppTemplateBody = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -3905,6 +3954,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppVersionTemplateOutput(v **Desc } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4072,6 +4122,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -4080,10 +4131,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.AppVersion = ptr.String(jtv) } + case "errorDetails": if err := awsRestjson1_deserializeDocumentErrorDetailList(&sv.ErrorDetails, value); err != nil { return err } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4092,6 +4145,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.ErrorMessage = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4100,6 +4154,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } sv.Status = types.ResourceImportStatusType(jtv) } + case "statusChangeTime": if value != nil { switch jtv := value.(type) { @@ -4115,6 +4170,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDraftAppVersionResourcesImportSta } } + default: _, _ = key, value @@ -4278,6 +4334,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResiliencyPolicyOutput(v **Descri if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -4445,6 +4502,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.ErrorMessage = ptr.String(jtv) } + case "groupingId": if value != nil { jtv, ok := value.(string) @@ -4453,6 +4511,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.GroupingId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4461,6 +4520,7 @@ func awsRestjson1_deserializeOpDocumentDescribeResourceGroupingRecommendationTas } sv.Status = types.ResourcesGroupingRecGenStatusType(jtv) } + default: _, _ = key, value @@ -4634,6 +4694,7 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -4642,14 +4703,17 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.AppVersion = ptr.String(jtv) } + case "eksSources": if err := awsRestjson1_deserializeDocumentEksSourceList(&sv.EksSources, value); err != nil { return err } + case "sourceArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.SourceArns, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4658,10 +4722,12 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v } sv.Status = types.ResourceImportStatusType(jtv) } + case "terraformSources": if err := awsRestjson1_deserializeDocumentTerraformSourceList(&sv.TerraformSources, value); err != nil { return err } + default: _, _ = key, value @@ -4825,6 +4891,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmRecommendationsOutput(v **ListAl if err := awsRestjson1_deserializeDocumentAlarmRecommendationList(&sv.AlarmRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4900,7 @@ func awsRestjson1_deserializeOpDocumentListAlarmRecommendationsOutput(v **ListAl } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4993,6 +5061,7 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentComplianceDriftsOutput(v if err := awsRestjson1_deserializeDocumentComplianceDriftList(&sv.ComplianceDrifts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5001,6 +5070,7 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentComplianceDriftsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5165,10 +5235,12 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentResourceDriftsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "resourceDrifts": if err := awsRestjson1_deserializeDocumentResourceDriftList(&sv.ResourceDrifts, value); err != nil { return err } + default: _, _ = key, value @@ -5332,6 +5404,7 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentsOutput(v **ListAppAsses if err := awsRestjson1_deserializeDocumentAppAssessmentSummaryList(&sv.AssessmentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5340,6 +5413,7 @@ func awsRestjson1_deserializeOpDocumentListAppAssessmentsOutput(v **ListAppAsses } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5503,6 +5577,7 @@ func awsRestjson1_deserializeOpDocumentListAppComponentCompliancesOutput(v **Lis if err := awsRestjson1_deserializeDocumentComponentCompliancesList(&sv.ComponentCompliances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5511,6 +5586,7 @@ func awsRestjson1_deserializeOpDocumentListAppComponentCompliancesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5674,6 +5750,7 @@ func awsRestjson1_deserializeOpDocumentListAppComponentRecommendationsOutput(v * if err := awsRestjson1_deserializeDocumentComponentRecommendationList(&sv.ComponentRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5682,6 +5759,7 @@ func awsRestjson1_deserializeOpDocumentListAppComponentRecommendationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5845,6 +5923,7 @@ func awsRestjson1_deserializeOpDocumentListAppInputSourcesOutput(v **ListAppInpu if err := awsRestjson1_deserializeDocumentAppInputSourceList(&sv.AppInputSources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5853,6 +5932,7 @@ func awsRestjson1_deserializeOpDocumentListAppInputSourcesOutput(v **ListAppInpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6013,6 +6093,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentAppSummaryList(&sv.AppSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6021,6 +6102,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6191,10 +6273,12 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.AppArn = ptr.String(jtv) } + case "appComponents": if err := awsRestjson1_deserializeDocumentAppComponentList(&sv.AppComponents, value); err != nil { return err } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -6203,6 +6287,7 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.AppVersion = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6211,6 +6296,7 @@ func awsRestjson1_deserializeOpDocumentListAppVersionAppComponentsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6378,10 +6464,12 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourceMappingsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "resourceMappings": if err := awsRestjson1_deserializeDocumentResourceMappingList(&sv.ResourceMappings, value); err != nil { return err } + default: _, _ = key, value @@ -6552,10 +6640,12 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourcesOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } + case "physicalResources": if err := awsRestjson1_deserializeDocumentPhysicalResourceList(&sv.PhysicalResources, value); err != nil { return err } + case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -6564,6 +6654,7 @@ func awsRestjson1_deserializeOpDocumentListAppVersionResourcesOutput(v **ListApp } sv.ResolutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -6724,6 +6815,7 @@ func awsRestjson1_deserializeOpDocumentListAppVersionsOutput(v **ListAppVersions if err := awsRestjson1_deserializeDocumentAppVersionList(&sv.AppVersions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6732,6 +6824,7 @@ func awsRestjson1_deserializeOpDocumentListAppVersionsOutput(v **ListAppVersions } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6896,10 +6989,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationTemplatesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "recommendationTemplates": if err := awsRestjson1_deserializeDocumentRecommendationTemplateList(&sv.RecommendationTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -7067,10 +7162,12 @@ func awsRestjson1_deserializeOpDocumentListResiliencyPoliciesOutput(v **ListResi } sv.NextToken = ptr.String(jtv) } + case "resiliencyPolicies": if err := awsRestjson1_deserializeDocumentResiliencyPolicies(&sv.ResiliencyPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -7234,6 +7331,7 @@ func awsRestjson1_deserializeOpDocumentListResourceGroupingRecommendationsOutput if err := awsRestjson1_deserializeDocumentGroupingRecommendationList(&sv.GroupingRecommendations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7242,6 +7340,7 @@ func awsRestjson1_deserializeOpDocumentListResourceGroupingRecommendationsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7412,10 +7511,12 @@ func awsRestjson1_deserializeOpDocumentListSopRecommendationsOutput(v **ListSopR } sv.NextToken = ptr.String(jtv) } + case "sopRecommendations": if err := awsRestjson1_deserializeDocumentSopRecommendationList(&sv.SopRecommendations, value); err != nil { return err } + default: _, _ = key, value @@ -7583,10 +7684,12 @@ func awsRestjson1_deserializeOpDocumentListSuggestedResiliencyPoliciesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "resiliencyPolicies": if err := awsRestjson1_deserializeDocumentResiliencyPolicies(&sv.ResiliencyPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -7750,6 +7853,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7920,10 +8024,12 @@ func awsRestjson1_deserializeOpDocumentListTestRecommendationsOutput(v **ListTes } sv.NextToken = ptr.String(jtv) } + case "testRecommendations": if err := awsRestjson1_deserializeDocumentTestRecommendationList(&sv.TestRecommendations, value); err != nil { return err } + default: _, _ = key, value @@ -8094,6 +8200,7 @@ func awsRestjson1_deserializeOpDocumentListUnsupportedAppVersionResourcesOutput( } sv.NextToken = ptr.String(jtv) } + case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -8102,10 +8209,12 @@ func awsRestjson1_deserializeOpDocumentListUnsupportedAppVersionResourcesOutput( } sv.ResolutionId = ptr.String(jtv) } + case "unsupportedResources": if err := awsRestjson1_deserializeDocumentUnsupportedResourceList(&sv.UnsupportedResources, value); err != nil { return err } + default: _, _ = key, value @@ -8276,6 +8385,7 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8284,6 +8394,7 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.AppVersion = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(json.Number) @@ -8296,6 +8407,7 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.Identifier = ptr.Int64(i64) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -8304,6 +8416,7 @@ func awsRestjson1_deserializeOpDocumentPublishAppVersionOutput(v **PublishAppVer } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -8474,6 +8587,7 @@ func awsRestjson1_deserializeOpDocumentPutDraftAppVersionTemplateOutput(v **PutD } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8482,6 +8596,7 @@ func awsRestjson1_deserializeOpDocumentPutDraftAppVersionTemplateOutput(v **PutD } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8649,10 +8764,12 @@ func awsRestjson1_deserializeOpDocumentRejectResourceGroupingRecommendationsOutp } sv.AppArn = ptr.String(jtv) } + case "failedEntries": if err := awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntries(&sv.FailedEntries, value); err != nil { return err } + default: _, _ = key, value @@ -8823,6 +8940,7 @@ func awsRestjson1_deserializeOpDocumentRemoveDraftAppVersionResourceMappingsOutp } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -8831,6 +8949,7 @@ func awsRestjson1_deserializeOpDocumentRemoveDraftAppVersionResourceMappingsOutp } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -9001,6 +9120,7 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -9009,6 +9129,7 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.AppVersion = ptr.String(jtv) } + case "resolutionId": if value != nil { jtv, ok := value.(string) @@ -9017,6 +9138,7 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.ResolutionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9025,6 +9147,7 @@ func awsRestjson1_deserializeOpDocumentResolveAppVersionResourcesOutput(v **Reso } sv.Status = types.ResourceResolutionStatusType(jtv) } + default: _, _ = key, value @@ -9194,6 +9317,7 @@ func awsRestjson1_deserializeOpDocumentStartAppAssessmentOutput(v **StartAppAsse if err := awsRestjson1_deserializeDocumentAppAssessment(&sv.Assessment, value); err != nil { return err } + default: _, _ = key, value @@ -9364,6 +9488,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.AppArn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -9372,6 +9497,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.ErrorMessage = ptr.String(jtv) } + case "groupingId": if value != nil { jtv, ok := value.(string) @@ -9380,6 +9506,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.GroupingId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9388,6 +9515,7 @@ func awsRestjson1_deserializeOpDocumentStartResourceGroupingRecommendationTaskOu } sv.Status = types.ResourcesGroupingRecGenStatusType(jtv) } + default: _, _ = key, value @@ -9754,6 +9882,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsRestjson1_deserializeDocumentApp(&sv.App, value); err != nil { return err } + default: _, _ = key, value @@ -9920,6 +10049,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } + case "appArn": if value != nil { jtv, ok := value.(string) @@ -9928,6 +10058,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -9936,6 +10067,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionOutput(v **UpdateAppVersi } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10106,10 +10238,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionAppComponentOutput(v **Up } sv.AppArn = ptr.String(jtv) } + case "appComponent": if err := awsRestjson1_deserializeDocumentAppComponent(&sv.AppComponent, value); err != nil { return err } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -10118,6 +10252,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionAppComponentOutput(v **Up } sv.AppVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -10291,6 +10426,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionResourceOutput(v **Update } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -10299,10 +10435,12 @@ func awsRestjson1_deserializeOpDocumentUpdateAppVersionResourceOutput(v **Update } sv.AppVersion = ptr.String(jtv) } + case "physicalResource": if err := awsRestjson1_deserializeDocumentPhysicalResource(&sv.PhysicalResource, value); err != nil { return err } + default: _, _ = key, value @@ -10469,6 +10607,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResiliencyPolicyOutput(v **UpdateRe if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } + default: _, _ = key, value @@ -10760,6 +10899,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10869,10 +11009,12 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.AppComponentName = ptr.String(jtv) } + case "appComponentNames": if err := awsRestjson1_deserializeDocumentAppComponentNameList(&sv.AppComponentNames, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -10881,10 +11023,12 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Description = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10893,6 +11037,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Name = ptr.String(jtv) } + case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -10901,6 +11046,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Prerequisite = ptr.String(jtv) } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -10909,6 +11055,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.RecommendationId = ptr.String(jtv) } + case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -10917,6 +11064,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -10925,6 +11073,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.ReferenceId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -10933,6 +11082,7 @@ func awsRestjson1_deserializeDocumentAlarmRecommendation(v **types.AlarmRecommen } sv.Type = types.AlarmType(jtv) } + default: _, _ = key, value @@ -11042,6 +11192,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AppArn = ptr.String(jtv) } + case "assessmentSchedule": if value != nil { jtv, ok := value.(string) @@ -11050,6 +11201,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AssessmentSchedule = types.AppAssessmentScheduleType(jtv) } + case "awsApplicationArn": if value != nil { jtv, ok := value.(string) @@ -11058,6 +11210,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.AwsApplicationArn = ptr.String(jtv) } + case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11066,6 +11219,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.ComplianceStatus = types.AppComplianceStatusType(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11081,6 +11235,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11089,6 +11244,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Description = ptr.String(jtv) } + case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11097,10 +11253,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.DriftStatus = types.AppDriftStatusType(jtv) } + case "eventSubscriptions": if err := awsRestjson1_deserializeDocumentEventSubscriptionList(&sv.EventSubscriptions, value); err != nil { return err } + case "lastAppComplianceEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11116,6 +11274,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "lastDriftEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11131,6 +11290,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "lastResiliencyScoreEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -11146,6 +11306,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11154,10 +11315,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Name = ptr.String(jtv) } + case "permissionModel": if err := awsRestjson1_deserializeDocumentPermissionModel(&sv.PermissionModel, value); err != nil { return err } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -11166,6 +11329,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.PolicyArn = ptr.String(jtv) } + case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -11199,6 +11363,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } } + case "rpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -11211,6 +11376,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RpoInSecs = ptr.Int32(int32(i64)) } + case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -11223,6 +11389,7 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.RtoInSecs = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11231,10 +11398,12 @@ func awsRestjson1_deserializeDocumentApp(v **types.App, value interface{}) error } sv.Status = types.AppStatusType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11274,6 +11443,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -11282,6 +11452,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AppVersion = ptr.String(jtv) } + case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -11290,6 +11461,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentArn = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11298,6 +11470,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentName = ptr.String(jtv) } + case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -11306,10 +11479,12 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.AssessmentStatus = types.AssessmentStatus(jtv) } + case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } + case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11318,10 +11493,12 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.ComplianceStatus = types.ComplianceStatus(jtv) } + case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } + case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11330,6 +11507,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.DriftStatus = types.DriftStatus(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -11345,6 +11523,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } } + case "invoker": if value != nil { jtv, ok := value.(string) @@ -11353,6 +11532,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.Invoker = types.AssessmentInvoker(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11361,18 +11541,22 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.Message = ptr.String(jtv) } + case "policy": if err := awsRestjson1_deserializeDocumentResiliencyPolicy(&sv.Policy, value); err != nil { return err } + case "resiliencyScore": if err := awsRestjson1_deserializeDocumentResiliencyScore(&sv.ResiliencyScore, value); err != nil { return err } + case "resourceErrorsDetails": if err := awsRestjson1_deserializeDocumentResourceErrorsDetails(&sv.ResourceErrorsDetails, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11388,14 +11572,17 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } } + case "summary": if err := awsRestjson1_deserializeDocumentAssessmentSummary(&sv.Summary, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -11404,6 +11591,7 @@ func awsRestjson1_deserializeDocumentAppAssessment(v **types.AppAssessment, valu } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -11443,6 +11631,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -11451,6 +11640,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AppVersion = ptr.String(jtv) } + case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -11459,6 +11649,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentArn = ptr.String(jtv) } + case "assessmentName": if value != nil { jtv, ok := value.(string) @@ -11467,6 +11658,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentName = ptr.String(jtv) } + case "assessmentStatus": if value != nil { jtv, ok := value.(string) @@ -11475,6 +11667,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.AssessmentStatus = types.AssessmentStatus(jtv) } + case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11483,10 +11676,12 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.ComplianceStatus = types.ComplianceStatus(jtv) } + case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } + case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -11495,6 +11690,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.DriftStatus = types.DriftStatus(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -11510,6 +11706,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } + case "invoker": if value != nil { jtv, ok := value.(string) @@ -11518,6 +11715,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.Invoker = types.AssessmentInvoker(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -11526,6 +11724,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.Message = ptr.String(jtv) } + case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -11559,6 +11758,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11574,6 +11774,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -11582,6 +11783,7 @@ func awsRestjson1_deserializeDocumentAppAssessmentSummary(v **types.AppAssessmen } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -11651,6 +11853,7 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -11659,6 +11862,7 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11667,6 +11871,7 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -11675,6 +11880,7 @@ func awsRestjson1_deserializeDocumentAppComponent(v **types.AppComponent, value } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11714,14 +11920,17 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.AppComponentName = ptr.String(jtv) } + case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } + case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } + case "message": if value != nil { jtv, ok := value.(string) @@ -11730,10 +11939,12 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.Message = ptr.String(jtv) } + case "resiliencyScore": if err := awsRestjson1_deserializeDocumentResiliencyScore(&sv.ResiliencyScore, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -11742,6 +11953,7 @@ func awsRestjson1_deserializeDocumentAppComponentCompliance(v **types.AppCompone } sv.Status = types.ComplianceStatus(jtv) } + default: _, _ = key, value @@ -11847,6 +12059,7 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va if err := awsRestjson1_deserializeDocumentEksSourceClusterNamespace(&sv.EksSourceClusterNamespace, value); err != nil { return err } + case "importType": if value != nil { jtv, ok := value.(string) @@ -11855,6 +12068,7 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.ImportType = types.ResourceMappingType(jtv) } + case "resourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -11867,6 +12081,7 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.ResourceCount = int32(i64) } + case "sourceArn": if value != nil { jtv, ok := value.(string) @@ -11875,6 +12090,7 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.SourceArn = ptr.String(jtv) } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -11883,10 +12099,12 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va } sv.SourceName = ptr.String(jtv) } + case "terraformSource": if err := awsRestjson1_deserializeDocumentTerraformSource(&sv.TerraformSource, value); err != nil { return err } + default: _, _ = key, value @@ -11960,6 +12178,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AppArn = ptr.String(jtv) } + case "assessmentSchedule": if value != nil { jtv, ok := value.(string) @@ -11968,6 +12187,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AssessmentSchedule = types.AppAssessmentScheduleType(jtv) } + case "awsApplicationArn": if value != nil { jtv, ok := value.(string) @@ -11976,6 +12196,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AwsApplicationArn = ptr.String(jtv) } + case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -11984,6 +12205,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ComplianceStatus = types.AppComplianceStatusType(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -11999,6 +12221,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -12007,6 +12230,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Description = ptr.String(jtv) } + case "driftStatus": if value != nil { jtv, ok := value.(string) @@ -12015,6 +12239,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.DriftStatus = types.AppDriftStatusType(jtv) } + case "lastAppComplianceEvaluationTime": if value != nil { switch jtv := value.(type) { @@ -12030,6 +12255,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12038,6 +12264,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Name = ptr.String(jtv) } + case "resiliencyScore": if value != nil { switch jtv := value.(type) { @@ -12071,6 +12298,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "rpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -12083,6 +12311,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RpoInSecs = ptr.Int32(int32(i64)) } + case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -12095,6 +12324,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RtoInSecs = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12103,6 +12333,7 @@ func awsRestjson1_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Status = types.AppStatusType(jtv) } + default: _, _ = key, value @@ -12210,6 +12441,7 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.AppVersion = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -12225,6 +12457,7 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } } + case "identifier": if value != nil { jtv, ok := value.(json.Number) @@ -12237,6 +12470,7 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.Identifier = ptr.Int64(i64) } + case "versionName": if value != nil { jtv, ok := value.(string) @@ -12245,6 +12479,7 @@ func awsRestjson1_deserializeDocumentAppVersionSummary(v **types.AppVersionSumma } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -12351,6 +12586,7 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse if err := awsRestjson1_deserializeDocumentAppComponentNameList(&sv.AppComponents, value); err != nil { return err } + case "recommendation": if value != nil { jtv, ok := value.(string) @@ -12359,6 +12595,7 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse } sv.Recommendation = ptr.String(jtv) } + case "risk": if value != nil { jtv, ok := value.(string) @@ -12367,6 +12604,7 @@ func awsRestjson1_deserializeDocumentAssessmentRiskRecommendation(v **types.Asse } sv.Risk = ptr.String(jtv) } + default: _, _ = key, value @@ -12436,6 +12674,7 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma if err := awsRestjson1_deserializeDocumentAssessmentRiskRecommendationList(&sv.RiskRecommendations, value); err != nil { return err } + case "summary": if value != nil { jtv, ok := value.(string) @@ -12444,6 +12683,7 @@ func awsRestjson1_deserializeDocumentAssessmentSummary(v **types.AssessmentSumma } sv.Summary = ptr.String(jtv) } + default: _, _ = key, value @@ -12517,6 +12757,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntry( } sv.EntryId = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -12525,6 +12766,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusFailedEntry( } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -12598,6 +12840,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.EntryId = ptr.String(jtv) } + case "excluded": if value != nil { jtv, ok := value.(bool) @@ -12606,6 +12849,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.Excluded = ptr.Bool(jtv) } + case "excludeReason": if value != nil { jtv, ok := value.(string) @@ -12614,10 +12858,12 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.ExcludeReason = types.ExcludeRecommendationReason(jtv) } + case "item": if err := awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(&sv.Item, value); err != nil { return err } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -12626,6 +12872,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateRecommendationStatusSuccessfulEn } sv.ReferenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12665,10 +12912,12 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.ActualReferenceId = ptr.String(jtv) } + case "actualValue": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.ActualValue, value); err != nil { return err } + case "appId": if value != nil { jtv, ok := value.(string) @@ -12677,6 +12926,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.AppId = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -12685,6 +12935,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.AppVersion = ptr.String(jtv) } + case "diffType": if value != nil { jtv, ok := value.(string) @@ -12693,6 +12944,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.DiffType = types.DifferenceType(jtv) } + case "driftType": if value != nil { jtv, ok := value.(string) @@ -12701,6 +12953,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.DriftType = types.DriftType(jtv) } + case "entityId": if value != nil { jtv, ok := value.(string) @@ -12709,6 +12962,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -12717,6 +12971,7 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.EntityType = ptr.String(jtv) } + case "expectedReferenceId": if value != nil { jtv, ok := value.(string) @@ -12725,10 +12980,12 @@ func awsRestjson1_deserializeDocumentComplianceDrift(v **types.ComplianceDrift, } sv.ExpectedReferenceId = ptr.String(jtv) } + case "expectedValue": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.ExpectedValue, value); err != nil { return err } + default: _, _ = key, value @@ -12836,10 +13093,12 @@ func awsRestjson1_deserializeDocumentComponentRecommendation(v **types.Component } sv.AppComponentName = ptr.String(jtv) } + case "configRecommendations": if err := awsRestjson1_deserializeDocumentConfigRecommendationList(&sv.ConfigRecommendations, value); err != nil { return err } + case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -12848,6 +13107,7 @@ func awsRestjson1_deserializeDocumentComponentRecommendation(v **types.Component } sv.RecommendationStatus = types.RecommendationComplianceStatus(jtv) } + default: _, _ = key, value @@ -12921,14 +13181,17 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.AppComponentName = ptr.String(jtv) } + case "compliance": if err := awsRestjson1_deserializeDocumentAssessmentCompliance(&sv.Compliance, value); err != nil { return err } + case "cost": if err := awsRestjson1_deserializeDocumentCost(&sv.Cost, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -12937,6 +13200,7 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.Description = ptr.String(jtv) } + case "haArchitecture": if value != nil { jtv, ok := value.(string) @@ -12945,6 +13209,7 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.HaArchitecture = types.HaArchitecture(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12953,6 +13218,7 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.Name = ptr.String(jtv) } + case "optimizationType": if value != nil { jtv, ok := value.(string) @@ -12961,10 +13227,12 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.OptimizationType = types.ConfigRecommendationOptimizationType(jtv) } + case "recommendationCompliance": if err := awsRestjson1_deserializeDocumentRecommendationCompliance(&sv.RecommendationCompliance, value); err != nil { return err } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -12973,10 +13241,12 @@ func awsRestjson1_deserializeDocumentConfigRecommendation(v **types.ConfigRecomm } sv.ReferenceId = ptr.String(jtv) } + case "suggestedChanges": if err := awsRestjson1_deserializeDocumentSuggestedChangesList(&sv.SuggestedChanges, value); err != nil { return err } + default: _, _ = key, value @@ -13050,6 +13320,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -13058,6 +13329,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -13066,6 +13338,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13130,6 +13403,7 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } } + case "currency": if value != nil { jtv, ok := value.(string) @@ -13138,6 +13412,7 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } sv.Currency = ptr.String(jtv) } + case "frequency": if value != nil { jtv, ok := value.(string) @@ -13146,6 +13421,7 @@ func awsRestjson1_deserializeDocumentCost(v **types.Cost, value interface{}) err } sv.Frequency = types.CostFrequency(jtv) } + default: _, _ = key, value @@ -13189,6 +13465,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.AchievableRpoInSecs = int32(i64) } + case "achievableRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13201,6 +13478,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.AchievableRtoInSecs = int32(i64) } + case "complianceStatus": if value != nil { jtv, ok := value.(string) @@ -13209,6 +13487,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.ComplianceStatus = types.ComplianceStatus(jtv) } + case "currentRpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13221,6 +13500,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.CurrentRpoInSecs = int32(i64) } + case "currentRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13233,6 +13513,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.CurrentRtoInSecs = int32(i64) } + case "message": if value != nil { jtv, ok := value.(string) @@ -13241,6 +13522,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.Message = ptr.String(jtv) } + case "rpoDescription": if value != nil { jtv, ok := value.(string) @@ -13249,6 +13531,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RpoDescription = ptr.String(jtv) } + case "rpoReferenceId": if value != nil { jtv, ok := value.(string) @@ -13257,6 +13540,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RpoReferenceId = ptr.String(jtv) } + case "rtoDescription": if value != nil { jtv, ok := value.(string) @@ -13265,6 +13549,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RtoDescription = ptr.String(jtv) } + case "rtoReferenceId": if value != nil { jtv, ok := value.(string) @@ -13273,6 +13558,7 @@ func awsRestjson1_deserializeDocumentDisruptionCompliance(v **types.DisruptionCo } sv.RtoReferenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -13444,10 +13730,12 @@ func awsRestjson1_deserializeDocumentEksSource(v **types.EksSource, value interf } sv.EksClusterArn = ptr.String(jtv) } + case "namespaces": if err := awsRestjson1_deserializeDocumentEksNamespaceList(&sv.Namespaces, value); err != nil { return err } + default: _, _ = key, value @@ -13487,6 +13775,7 @@ func awsRestjson1_deserializeDocumentEksSourceClusterNamespace(v **types.EksSour } sv.EksClusterArn = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -13495,6 +13784,7 @@ func awsRestjson1_deserializeDocumentEksSourceClusterNamespace(v **types.EksSour } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -13568,6 +13858,7 @@ func awsRestjson1_deserializeDocumentErrorDetail(v **types.ErrorDetail, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -13641,6 +13932,7 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.EventType = types.EventType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -13649,6 +13941,7 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.Name = ptr.String(jtv) } + case "snsTopicArn": if value != nil { jtv, ok := value.(string) @@ -13657,6 +13950,7 @@ func awsRestjson1_deserializeDocumentEventSubscription(v **types.EventSubscripti } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13764,6 +14058,7 @@ func awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntry(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "groupingRecommendationId": if value != nil { jtv, ok := value.(string) @@ -13772,6 +14067,7 @@ func awsRestjson1_deserializeDocumentFailedGroupingRecommendationEntry(v **types } sv.GroupingRecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -13815,6 +14111,7 @@ func awsRestjson1_deserializeDocumentFailurePolicy(v **types.FailurePolicy, valu } sv.RpoInSecs = int32(i64) } + case "rtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -13827,6 +14124,7 @@ func awsRestjson1_deserializeDocumentFailurePolicy(v **types.FailurePolicy, valu } sv.RtoInSecs = int32(i64) } + default: _, _ = key, value @@ -13866,6 +14164,7 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentId = ptr.String(jtv) } + case "appComponentName": if value != nil { jtv, ok := value.(string) @@ -13874,6 +14173,7 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentName = ptr.String(jtv) } + case "appComponentType": if value != nil { jtv, ok := value.(string) @@ -13882,6 +14182,7 @@ func awsRestjson1_deserializeDocumentGroupingAppComponent(v **types.GroupingAppC } sv.AppComponentType = ptr.String(jtv) } + default: _, _ = key, value @@ -13921,6 +14222,7 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.ConfidenceLevel = types.GroupingRecommendationConfidenceLevel(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -13936,10 +14238,12 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } } + case "groupingAppComponent": if err := awsRestjson1_deserializeDocumentGroupingAppComponent(&sv.GroupingAppComponent, value); err != nil { return err } + case "groupingRecommendationId": if value != nil { jtv, ok := value.(string) @@ -13948,10 +14252,12 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.GroupingRecommendationId = ptr.String(jtv) } + case "recommendationReasons": if err := awsRestjson1_deserializeDocumentString255List(&sv.RecommendationReasons, value); err != nil { return err } + case "rejectionReason": if value != nil { jtv, ok := value.(string) @@ -13960,10 +14266,12 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.RejectionReason = types.GroupingRecommendationRejectionReason(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentGroupingResourceList(&sv.Resources, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -13997,6 +14305,7 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14005,6 +14314,7 @@ func awsRestjson1_deserializeDocumentGroupingRecommendation(v **types.GroupingRe } sv.Status = types.GroupingRecommendationStatusType(jtv) } + default: _, _ = key, value @@ -14074,10 +14384,12 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } + case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14086,6 +14398,7 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14094,10 +14407,12 @@ func awsRestjson1_deserializeDocumentGroupingResource(v **types.GroupingResource } sv.ResourceType = ptr.String(jtv) } + case "sourceAppComponentIds": if err := awsRestjson1_deserializeDocumentString255List(&sv.SourceAppComponentIds, value); err != nil { return err } + default: _, _ = key, value @@ -14207,6 +14522,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14246,6 +14562,7 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.EksSourceName = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -14254,6 +14571,7 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.Identifier = ptr.String(jtv) } + case "logicalStackName": if value != nil { jtv, ok := value.(string) @@ -14262,6 +14580,7 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.LogicalStackName = ptr.String(jtv) } + case "resourceGroupName": if value != nil { jtv, ok := value.(string) @@ -14270,6 +14589,7 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.ResourceGroupName = ptr.String(jtv) } + case "terraformSourceName": if value != nil { jtv, ok := value.(string) @@ -14278,6 +14598,7 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource } sv.TerraformSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14313,6 +14634,7 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, if err := awsRestjson1_deserializeDocumentIamRoleArnList(&sv.CrossAccountRoleArns, value); err != nil { return err } + case "invokerRoleName": if value != nil { jtv, ok := value.(string) @@ -14321,6 +14643,7 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, } sv.InvokerRoleName = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14329,6 +14652,7 @@ func awsRestjson1_deserializeDocumentPermissionModel(v **types.PermissionModel, } sv.Type = types.PermissionModelType(jtv) } + default: _, _ = key, value @@ -14364,10 +14688,12 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource if err := awsRestjson1_deserializeDocumentAdditionalInfoMap(&sv.AdditionalInfo, value); err != nil { return err } + case "appComponents": if err := awsRestjson1_deserializeDocumentAppComponentList(&sv.AppComponents, value); err != nil { return err } + case "excluded": if value != nil { jtv, ok := value.(bool) @@ -14376,10 +14702,12 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.Excluded = ptr.Bool(jtv) } + case "logicalResourceId": if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } + case "parentResourceName": if value != nil { jtv, ok := value.(string) @@ -14388,10 +14716,12 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ParentResourceName = ptr.String(jtv) } + case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -14400,6 +14730,7 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -14408,6 +14739,7 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.ResourceType = ptr.String(jtv) } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -14416,6 +14748,7 @@ func awsRestjson1_deserializeDocumentPhysicalResource(v **types.PhysicalResource } sv.SourceType = types.ResourceSourceType(jtv) } + default: _, _ = key, value @@ -14455,6 +14788,7 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.AwsAccountId = ptr.String(jtv) } + case "awsRegion": if value != nil { jtv, ok := value.(string) @@ -14463,6 +14797,7 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.AwsRegion = ptr.String(jtv) } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -14471,6 +14806,7 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.Identifier = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -14479,6 +14815,7 @@ func awsRestjson1_deserializeDocumentPhysicalResourceId(v **types.PhysicalResour } sv.Type = types.PhysicalIdentifierType(jtv) } + default: _, _ = key, value @@ -14587,6 +14924,7 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedComplianceStatus = types.ComplianceStatus(jtv) } + case "expectedRpoDescription": if value != nil { jtv, ok := value.(string) @@ -14595,6 +14933,7 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRpoDescription = ptr.String(jtv) } + case "expectedRpoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -14607,6 +14946,7 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRpoInSecs = int32(i64) } + case "expectedRtoDescription": if value != nil { jtv, ok := value.(string) @@ -14615,6 +14955,7 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRtoDescription = ptr.String(jtv) } + case "expectedRtoInSecs": if value != nil { jtv, ok := value.(json.Number) @@ -14627,6 +14968,7 @@ func awsRestjson1_deserializeDocumentRecommendationDisruptionCompliance(v **type } sv.ExpectedRtoInSecs = int32(i64) } + default: _, _ = key, value @@ -14702,6 +15044,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.AlreadyImplemented = ptr.Bool(jtv) } + case "excluded": if value != nil { jtv, ok := value.(bool) @@ -14710,6 +15053,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.Excluded = ptr.Bool(jtv) } + case "excludeReason": if value != nil { jtv, ok := value.(string) @@ -14718,6 +15062,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.ExcludeReason = types.ExcludeRecommendationReason(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -14726,6 +15071,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.ResourceId = ptr.String(jtv) } + case "targetAccountId": if value != nil { jtv, ok := value.(string) @@ -14734,6 +15080,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.TargetAccountId = ptr.String(jtv) } + case "targetRegion": if value != nil { jtv, ok := value.(string) @@ -14742,6 +15089,7 @@ func awsRestjson1_deserializeDocumentRecommendationItem(v **types.Recommendation } sv.TargetRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -14815,6 +15163,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.AppArn = ptr.String(jtv) } + case "assessmentArn": if value != nil { jtv, ok := value.(string) @@ -14823,6 +15172,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.AssessmentArn = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -14838,6 +15188,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } } + case "format": if value != nil { jtv, ok := value.(string) @@ -14846,6 +15197,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Format = types.TemplateFormat(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -14854,6 +15206,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14862,6 +15215,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Name = ptr.String(jtv) } + case "needsReplacements": if value != nil { jtv, ok := value.(bool) @@ -14870,10 +15224,12 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.NeedsReplacements = ptr.Bool(jtv) } + case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } + case "recommendationTemplateArn": if value != nil { jtv, ok := value.(string) @@ -14882,10 +15238,12 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.RecommendationTemplateArn = ptr.String(jtv) } + case "recommendationTypes": if err := awsRestjson1_deserializeDocumentRenderRecommendationTypeList(&sv.RecommendationTypes, value); err != nil { return err } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -14901,6 +15259,7 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } } + case "status": if value != nil { jtv, ok := value.(string) @@ -14909,14 +15268,17 @@ func awsRestjson1_deserializeDocumentRecommendationTemplate(v **types.Recommenda } sv.Status = types.RecommendationTemplateStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "templatesLocation": if err := awsRestjson1_deserializeDocumentS3Location(&sv.TemplatesLocation, value); err != nil { return err } + default: _, _ = key, value @@ -15067,6 +15429,7 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } } + case "dataLocationConstraint": if value != nil { jtv, ok := value.(string) @@ -15075,6 +15438,7 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.DataLocationConstraint = types.DataLocationConstraint(jtv) } + case "estimatedCostTier": if value != nil { jtv, ok := value.(string) @@ -15083,10 +15447,12 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.EstimatedCostTier = types.EstimatedCostTier(jtv) } + case "policy": if err := awsRestjson1_deserializeDocumentDisruptionPolicy(&sv.Policy, value); err != nil { return err } + case "policyArn": if value != nil { jtv, ok := value.(string) @@ -15095,6 +15461,7 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyArn = ptr.String(jtv) } + case "policyDescription": if value != nil { jtv, ok := value.(string) @@ -15103,6 +15470,7 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyDescription = ptr.String(jtv) } + case "policyName": if value != nil { jtv, ok := value.(string) @@ -15111,10 +15479,12 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.PolicyName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "tier": if value != nil { jtv, ok := value.(string) @@ -15123,6 +15493,7 @@ func awsRestjson1_deserializeDocumentResiliencyPolicy(v **types.ResiliencyPolicy } sv.Tier = types.ResiliencyPolicyTier(jtv) } + default: _, _ = key, value @@ -15158,10 +15529,12 @@ func awsRestjson1_deserializeDocumentResiliencyScore(v **types.ResiliencyScore, if err := awsRestjson1_deserializeDocumentScoringComponentResiliencyScores(&sv.ComponentScore, value); err != nil { return err } + case "disruptionScore": if err := awsRestjson1_deserializeDocumentDisruptionResiliencyScore(&sv.DisruptionScore, value); err != nil { return err } + case "score": if value != nil { switch jtv := value.(type) { @@ -15195,6 +15568,7 @@ func awsRestjson1_deserializeDocumentResiliencyScore(v **types.ResiliencyScore, } } + default: _, _ = key, value @@ -15234,6 +15608,7 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.AppArn = ptr.String(jtv) } + case "appVersion": if value != nil { jtv, ok := value.(string) @@ -15242,6 +15617,7 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.AppVersion = ptr.String(jtv) } + case "diffType": if value != nil { jtv, ok := value.(string) @@ -15250,6 +15626,7 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.DiffType = types.DifferenceType(jtv) } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -15258,10 +15635,12 @@ func awsRestjson1_deserializeDocumentResourceDrift(v **types.ResourceDrift, valu } sv.ReferenceId = ptr.String(jtv) } + case "resourceIdentifier": if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.ResourceIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -15335,6 +15714,7 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.LogicalResourceId = ptr.String(jtv) } + case "physicalResourceId": if value != nil { jtv, ok := value.(string) @@ -15343,6 +15723,7 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.PhysicalResourceId = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -15351,6 +15732,7 @@ func awsRestjson1_deserializeDocumentResourceError(v **types.ResourceError, valu } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -15424,10 +15806,12 @@ func awsRestjson1_deserializeDocumentResourceErrorsDetails(v **types.ResourceErr } sv.HasMoreErrors = ptr.Bool(jtv) } + case "resourceErrors": if err := awsRestjson1_deserializeDocumentResourceErrorList(&sv.ResourceErrors, value); err != nil { return err } + default: _, _ = key, value @@ -15463,6 +15847,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -15471,6 +15856,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15510,6 +15896,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.AppRegistryAppName = ptr.String(jtv) } + case "eksSourceName": if value != nil { jtv, ok := value.(string) @@ -15518,6 +15905,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.EksSourceName = ptr.String(jtv) } + case "logicalStackName": if value != nil { jtv, ok := value.(string) @@ -15526,6 +15914,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.LogicalStackName = ptr.String(jtv) } + case "mappingType": if value != nil { jtv, ok := value.(string) @@ -15534,10 +15923,12 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.MappingType = types.ResourceMappingType(jtv) } + case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } + case "resourceGroupName": if value != nil { jtv, ok := value.(string) @@ -15546,6 +15937,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.ResourceGroupName = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -15554,6 +15946,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.ResourceName = ptr.String(jtv) } + case "terraformSourceName": if value != nil { jtv, ok := value.(string) @@ -15562,6 +15955,7 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, } sv.TerraformSourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -15635,6 +16029,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -15643,6 +16038,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -15651,6 +16047,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15690,6 +16087,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -15698,6 +16096,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -15741,6 +16140,7 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } sv.ExcludedCount = i64 } + case "outstandingCount": if value != nil { jtv, ok := value.(json.Number) @@ -15753,6 +16153,7 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } sv.OutstandingCount = i64 } + case "possibleScore": if value != nil { switch jtv := value.(type) { @@ -15786,6 +16187,7 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } } + case "score": if value != nil { switch jtv := value.(type) { @@ -15819,6 +16221,7 @@ func awsRestjson1_deserializeDocumentScoringComponentResiliencyScore(v **types.S } } + default: _, _ = key, value @@ -15893,6 +16296,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15932,6 +16336,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.AppComponentName = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -15940,10 +16345,12 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Description = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -15952,6 +16359,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Name = ptr.String(jtv) } + case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -15960,6 +16368,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.Prerequisite = ptr.String(jtv) } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -15968,6 +16377,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.RecommendationId = ptr.String(jtv) } + case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -15976,6 +16386,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -15984,6 +16395,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.ReferenceId = ptr.String(jtv) } + case "serviceType": if value != nil { jtv, ok := value.(string) @@ -15992,6 +16404,7 @@ func awsRestjson1_deserializeDocumentSopRecommendation(v **types.SopRecommendati } sv.ServiceType = types.SopServiceType(jtv) } + default: _, _ = key, value @@ -16173,6 +16586,7 @@ func awsRestjson1_deserializeDocumentTerraformSource(v **types.TerraformSource, } sv.S3StateFileUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -16246,10 +16660,12 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.AppComponentName = ptr.String(jtv) } + case "dependsOnAlarms": if err := awsRestjson1_deserializeDocumentAlarmReferenceIdList(&sv.DependsOnAlarms, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -16258,6 +16674,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Description = ptr.String(jtv) } + case "intent": if value != nil { jtv, ok := value.(string) @@ -16266,10 +16683,12 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Intent = ptr.String(jtv) } + case "items": if err := awsRestjson1_deserializeDocumentRecommendationItemList(&sv.Items, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -16278,6 +16697,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Name = ptr.String(jtv) } + case "prerequisite": if value != nil { jtv, ok := value.(string) @@ -16286,6 +16706,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Prerequisite = ptr.String(jtv) } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -16294,6 +16715,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.RecommendationId = ptr.String(jtv) } + case "recommendationStatus": if value != nil { jtv, ok := value.(string) @@ -16302,6 +16724,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + case "referenceId": if value != nil { jtv, ok := value.(string) @@ -16310,6 +16733,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.ReferenceId = ptr.String(jtv) } + case "risk": if value != nil { jtv, ok := value.(string) @@ -16318,6 +16742,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Risk = types.TestRisk(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -16326,6 +16751,7 @@ func awsRestjson1_deserializeDocumentTestRecommendation(v **types.TestRecommenda } sv.Type = types.TestType(jtv) } + default: _, _ = key, value @@ -16399,6 +16825,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -16411,6 +16838,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16446,10 +16874,12 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe if err := awsRestjson1_deserializeDocumentLogicalResourceId(&sv.LogicalResourceId, value); err != nil { return err } + case "physicalResourceId": if err := awsRestjson1_deserializeDocumentPhysicalResourceId(&sv.PhysicalResourceId, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -16458,6 +16888,7 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe } sv.ResourceType = ptr.String(jtv) } + case "unsupportedResourceStatus": if value != nil { jtv, ok := value.(string) @@ -16466,6 +16897,7 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe } sv.UnsupportedResourceStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -16539,6 +16971,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.ResourceId = ptr.String(jtv) } + case "targetAccountId": if value != nil { jtv, ok := value.(string) @@ -16547,6 +16980,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.TargetAccountId = ptr.String(jtv) } + case "targetRegion": if value != nil { jtv, ok := value.(string) @@ -16555,6 +16989,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationStatusItem(v **types.Up } sv.TargetRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -16594,6 +17029,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/resourceexplorer2/deserializers.go b/service/resourceexplorer2/deserializers.go index 685522dfc10..649ec8ea5ee 100644 --- a/service/resourceexplorer2/deserializers.go +++ b/service/resourceexplorer2/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentAssociateDefaultViewOutput(v **AssociateD } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -353,10 +354,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetViewOutput(v **BatchGetViewOutput if err := awsRestjson1_deserializeDocumentBatchGetViewErrors(&sv.Errors, value); err != nil { return err } + case "Views": if err := awsRestjson1_deserializeDocumentViewList(&sv.Views, value); err != nil { return err } + default: _, _ = key, value @@ -524,6 +527,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -536,6 +540,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.CreatedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -544,6 +549,7 @@ func awsRestjson1_deserializeOpDocumentCreateIndexOutput(v **CreateIndexOutput, } sv.State = types.IndexState(jtv) } + default: _, _ = key, value @@ -713,6 +719,7 @@ func awsRestjson1_deserializeOpDocumentCreateViewOutput(v **CreateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -880,6 +887,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.Arn = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -892,6 +900,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.LastUpdatedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -900,6 +909,7 @@ func awsRestjson1_deserializeOpDocumentDeleteIndexOutput(v **DeleteIndexOutput, } sv.State = types.IndexState(jtv) } + default: _, _ = key, value @@ -1070,6 +1080,7 @@ func awsRestjson1_deserializeOpDocumentDeleteViewOutput(v **DeleteViewOutput, va } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1336,6 +1347,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountLevelServiceConfigurationOutput if err := awsRestjson1_deserializeDocumentOrgConfiguration(&sv.OrgConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1503,6 +1515,7 @@ func awsRestjson1_deserializeOpDocumentGetDefaultViewOutput(v **GetDefaultViewOu } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1670,6 +1683,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -1682,6 +1696,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.CreatedAt = ptr.Time(t) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -1694,14 +1709,17 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.LastUpdatedAt = ptr.Time(t) } + case "ReplicatingFrom": if err := awsRestjson1_deserializeDocumentRegionList(&sv.ReplicatingFrom, value); err != nil { return err } + case "ReplicatingTo": if err := awsRestjson1_deserializeDocumentRegionList(&sv.ReplicatingTo, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -1710,10 +1728,12 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.State = types.IndexState(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1722,6 +1742,7 @@ func awsRestjson1_deserializeOpDocumentGetIndexOutput(v **GetIndexOutput, value } sv.Type = types.IndexType(jtv) } + default: _, _ = key, value @@ -1888,10 +1909,12 @@ func awsRestjson1_deserializeOpDocumentGetViewOutput(v **GetViewOutput, value in if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "View": if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -2052,6 +2075,7 @@ func awsRestjson1_deserializeOpDocumentListIndexesOutput(v **ListIndexesOutput, if err := awsRestjson1_deserializeDocumentIndexList(&sv.Indexes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2060,6 +2084,7 @@ func awsRestjson1_deserializeOpDocumentListIndexesOutput(v **ListIndexesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2220,6 +2245,7 @@ func awsRestjson1_deserializeOpDocumentListIndexesForMembersOutput(v **ListIndex if err := awsRestjson1_deserializeDocumentMemberIndexList(&sv.Indexes, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2228,6 +2254,7 @@ func awsRestjson1_deserializeOpDocumentListIndexesForMembersOutput(v **ListIndex } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2398,10 +2425,12 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -2410,6 +2439,7 @@ func awsRestjson1_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2574,10 +2604,12 @@ func awsRestjson1_deserializeOpDocumentListSupportedResourceTypesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "ResourceTypes": if err := awsRestjson1_deserializeDocumentResourceTypeList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -2744,6 +2776,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2908,10 +2941,12 @@ func awsRestjson1_deserializeOpDocumentListViewsOutput(v **ListViewsOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Views": if err := awsRestjson1_deserializeDocumentViewArnList(&sv.Views, value); err != nil { return err } + default: _, _ = key, value @@ -3078,6 +3113,7 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte if err := awsRestjson1_deserializeDocumentResourceCount(&sv.Count, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3086,10 +3122,12 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -3098,6 +3136,7 @@ func awsRestjson1_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3477,6 +3516,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.Arn = ptr.String(jtv) } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3489,6 +3529,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.LastUpdatedAt = ptr.Time(t) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3497,6 +3538,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.State = types.IndexState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3505,6 +3547,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIndexTypeOutput(v **UpdateIndexType } sv.Type = types.IndexType(jtv) } + default: _, _ = key, value @@ -3671,6 +3714,7 @@ func awsRestjson1_deserializeOpDocumentUpdateViewOutput(v **UpdateViewOutput, va if err := awsRestjson1_deserializeDocumentView(&sv.View, value); err != nil { return err } + default: _, _ = key, value @@ -3998,6 +4042,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4037,6 +4082,7 @@ func awsRestjson1_deserializeDocumentBatchGetViewError(v **types.BatchGetViewErr } sv.ErrorMessage = ptr.String(jtv) } + case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -4045,6 +4091,7 @@ func awsRestjson1_deserializeDocumentBatchGetViewError(v **types.BatchGetViewErr } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4118,6 +4165,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4157,6 +4205,7 @@ func awsRestjson1_deserializeDocumentIncludedProperty(v **types.IncludedProperty } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4230,6 +4279,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -4238,6 +4288,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Region = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4246,6 +4297,7 @@ func awsRestjson1_deserializeDocumentIndex(v **types.Index, value interface{}) e } sv.Type = types.IndexType(jtv) } + default: _, _ = key, value @@ -4319,6 +4371,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4358,6 +4411,7 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.AccountId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4366,6 +4420,7 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Arn = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -4374,6 +4429,7 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Region = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4382,6 +4438,7 @@ func awsRestjson1_deserializeDocumentMemberIndex(v **types.MemberIndex, value in } sv.Type = types.IndexType(jtv) } + default: _, _ = key, value @@ -4455,6 +4512,7 @@ func awsRestjson1_deserializeDocumentOrgConfiguration(v **types.OrgConfiguration } sv.AWSServiceAccessStatus = types.AWSServiceAccessStatus(jtv) } + case "ServiceLinkedRole": if value != nil { jtv, ok := value.(string) @@ -4463,6 +4521,7 @@ func awsRestjson1_deserializeDocumentOrgConfiguration(v **types.OrgConfiguration } sv.ServiceLinkedRole = ptr.String(jtv) } + default: _, _ = key, value @@ -4538,6 +4597,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } + case "LastReportedAt": if value != nil { jtv, ok := value.(string) @@ -4550,6 +4610,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.LastReportedAt = ptr.Time(t) } + case "OwningAccountId": if value != nil { jtv, ok := value.(string) @@ -4558,10 +4619,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.OwningAccountId = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentResourcePropertyList(&sv.Properties, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -4570,6 +4633,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4578,6 +4642,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -4586,6 +4651,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Service = ptr.String(jtv) } + default: _, _ = key, value @@ -4625,6 +4691,7 @@ func awsRestjson1_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.Complete = ptr.Bool(jtv) } + case "TotalResources": if value != nil { jtv, ok := value.(json.Number) @@ -4637,6 +4704,7 @@ func awsRestjson1_deserializeDocumentResourceCount(v **types.ResourceCount, valu } sv.TotalResources = ptr.Int64(i64) } + default: _, _ = key, value @@ -4710,6 +4778,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4745,6 +4814,7 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty if err := awsRestjson1_deserializeDocumentDocument(&sv.Data, value); err != nil { return err } + case "LastReportedAt": if value != nil { jtv, ok := value.(string) @@ -4757,6 +4827,7 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty } sv.LastReportedAt = ptr.Time(t) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4765,6 +4836,7 @@ func awsRestjson1_deserializeDocumentResourceProperty(v **types.ResourceProperty } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4872,6 +4944,7 @@ func awsRestjson1_deserializeDocumentSearchFilter(v **types.SearchFilter, value } sv.FilterString = ptr.String(jtv) } + default: _, _ = key, value @@ -4911,6 +4984,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4919,6 +4993,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4927,6 +5002,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4966,6 +5042,7 @@ func awsRestjson1_deserializeDocumentSupportedResourceType(v **types.SupportedRe } sv.ResourceType = ptr.String(jtv) } + case "Service": if value != nil { jtv, ok := value.(string) @@ -4974,6 +5051,7 @@ func awsRestjson1_deserializeDocumentSupportedResourceType(v **types.SupportedRe } sv.Service = ptr.String(jtv) } + default: _, _ = key, value @@ -5049,6 +5127,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5088,6 +5167,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5123,6 +5203,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5131,6 +5212,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5170,6 +5252,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + case "ValidationIssue": if value != nil { jtv, ok := value.(string) @@ -5178,6 +5261,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.ValidationIssue = ptr.String(jtv) } + default: _, _ = key, value @@ -5247,10 +5331,12 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err if err := awsRestjson1_deserializeDocumentSearchFilter(&sv.Filters, value); err != nil { return err } + case "IncludedProperties": if err := awsRestjson1_deserializeDocumentIncludedPropertyList(&sv.IncludedProperties, value); err != nil { return err } + case "LastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5263,6 +5349,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.LastUpdatedAt = ptr.Time(t) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -5271,6 +5358,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Owner = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -5279,6 +5367,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.Scope = ptr.String(jtv) } + case "ViewArn": if value != nil { jtv, ok := value.(string) @@ -5287,6 +5376,7 @@ func awsRestjson1_deserializeDocumentView(v **types.View, value interface{}) err } sv.ViewArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/resourcegroups/deserializers.go b/service/resourcegroups/deserializers.go index a7bb8eeaa01..3380e19b02b 100644 --- a/service/resourcegroups/deserializers.go +++ b/service/resourcegroups/deserializers.go @@ -293,18 +293,22 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + case "GroupConfiguration": if err := awsRestjson1_deserializeDocumentGroupConfiguration(&sv.GroupConfiguration, value); err != nil { return err } + case "ResourceQuery": if err := awsRestjson1_deserializeDocumentResourceQuery(&sv.ResourceQuery, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -471,6 +475,7 @@ func awsRestjson1_deserializeOpDocumentDeleteGroupOutput(v **DeleteGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -634,6 +639,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -800,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -966,6 +973,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupConfigurationOutput(v **GetGroupC if err := awsRestjson1_deserializeDocumentGroupConfiguration(&sv.GroupConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -1132,6 +1140,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupQueryOutput(v **GetGroupQueryOutp if err := awsRestjson1_deserializeDocumentGroupQuery(&sv.GroupQuery, value); err != nil { return err } + default: _, _ = key, value @@ -1302,10 +1311,12 @@ func awsRestjson1_deserializeOpDocumentGetTagsOutput(v **GetTagsOutput, value in } sv.Arn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1486,6 +1497,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -1494,6 +1506,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.ErrorMessage = ptr.String(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -1502,6 +1515,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.GroupArn = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -1510,6 +1524,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.GroupName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -1518,6 +1533,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1526,6 +1542,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.Status = types.TagSyncTaskStatus(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -1534,6 +1551,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -1542,6 +1560,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TagValue = ptr.String(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -1550,6 +1569,7 @@ func awsRestjson1_deserializeOpDocumentGetTagSyncTaskOutput(v **GetTagSyncTaskOu } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1716,14 +1736,17 @@ func awsRestjson1_deserializeOpDocumentGroupResourcesOutput(v **GroupResourcesOu if err := awsRestjson1_deserializeDocumentFailedResourceList(&sv.Failed, value); err != nil { return err } + case "Pending": if err := awsRestjson1_deserializeDocumentPendingResourceList(&sv.Pending, value); err != nil { return err } + case "Succeeded": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.Succeeded, value); err != nil { return err } + default: _, _ = key, value @@ -1891,10 +1914,12 @@ func awsRestjson1_deserializeOpDocumentListGroupingStatusesOutput(v **ListGroupi } sv.Group = ptr.String(jtv) } + case "GroupingStatuses": if err := awsRestjson1_deserializeDocumentGroupingStatusesList(&sv.GroupingStatuses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1903,6 +1928,7 @@ func awsRestjson1_deserializeOpDocumentListGroupingStatusesOutput(v **ListGroupi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2076,18 +2102,22 @@ func awsRestjson1_deserializeOpDocumentListGroupResourcesOutput(v **ListGroupRes } sv.NextToken = ptr.String(jtv) } + case "QueryErrors": if err := awsRestjson1_deserializeDocumentQueryErrorList(&sv.QueryErrors, value); err != nil { return err } + case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } + case "Resources": if err := awsRestjson1_deserializeDocumentListGroupResourcesItemList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -2251,10 +2281,12 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupIdentifierList(&sv.GroupIdentifiers, value); err != nil { return err } + case "Groups": if err := awsRestjson1_deserializeDocumentGroupList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2263,6 +2295,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2433,10 +2466,12 @@ func awsRestjson1_deserializeOpDocumentListTagSyncTasksOutput(v **ListTagSyncTas } sv.NextToken = ptr.String(jtv) } + case "TagSyncTasks": if err := awsRestjson1_deserializeDocumentTagSyncTaskList(&sv.TagSyncTasks, value); err != nil { return err } + default: _, _ = key, value @@ -2710,14 +2745,17 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.NextToken = ptr.String(jtv) } + case "QueryErrors": if err := awsRestjson1_deserializeDocumentQueryErrorList(&sv.QueryErrors, value); err != nil { return err } + case "ResourceIdentifiers": if err := awsRestjson1_deserializeDocumentResourceIdentifierList(&sv.ResourceIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -2891,6 +2929,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.GroupArn = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -2899,6 +2938,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.GroupName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -2907,6 +2947,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.RoleArn = ptr.String(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -2915,6 +2956,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -2923,6 +2965,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TagValue = ptr.String(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -2931,6 +2974,7 @@ func awsRestjson1_deserializeOpDocumentStartTagSyncTaskOutput(v **StartTagSyncTa } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3101,10 +3145,12 @@ func awsRestjson1_deserializeOpDocumentTagOutput(v **TagOutput, value interface{ } sv.Arn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3271,14 +3317,17 @@ func awsRestjson1_deserializeOpDocumentUngroupResourcesOutput(v **UngroupResourc if err := awsRestjson1_deserializeDocumentFailedResourceList(&sv.Failed, value); err != nil { return err } + case "Pending": if err := awsRestjson1_deserializeDocumentPendingResourceList(&sv.Pending, value); err != nil { return err } + case "Succeeded": if err := awsRestjson1_deserializeDocumentResourceArnList(&sv.Succeeded, value); err != nil { return err } + default: _, _ = key, value @@ -3449,10 +3498,12 @@ func awsRestjson1_deserializeOpDocumentUntagOutput(v **UntagOutput, value interf } sv.Arn = ptr.String(jtv) } + case "Keys": if err := awsRestjson1_deserializeDocumentTagKeyList(&sv.Keys, value); err != nil { return err } + default: _, _ = key, value @@ -3616,6 +3667,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc if err := awsRestjson1_deserializeDocumentAccountSettings(&sv.AccountSettings, value); err != nil { return err } + default: _, _ = key, value @@ -3782,6 +3834,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -3948,6 +4001,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupQueryOutput(v **UpdateGroupQue if err := awsRestjson1_deserializeDocumentGroupQuery(&sv.GroupQuery, value); err != nil { return err } + default: _, _ = key, value @@ -4239,6 +4293,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsDesiredStatus = types.GroupLifecycleEventsDesiredStatus(jtv) } + case "GroupLifecycleEventsStatus": if value != nil { jtv, ok := value.(string) @@ -4247,6 +4302,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsStatus = types.GroupLifecycleEventsStatus(jtv) } + case "GroupLifecycleEventsStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4255,6 +4311,7 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, } sv.GroupLifecycleEventsStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4330,6 +4387,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4369,6 +4427,7 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4377,6 +4436,7 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ErrorMessage = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4385,6 +4445,7 @@ func awsRestjson1_deserializeDocumentFailedResource(v **types.FailedResource, va } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4458,6 +4519,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4493,6 +4555,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e if err := awsRestjson1_deserializeDocumentApplicationTag(&sv.ApplicationTag, value); err != nil { return err } + case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -4505,6 +4568,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Criticality = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4513,6 +4577,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4586,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -4529,6 +4595,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4537,6 +4604,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4545,6 +4613,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Owner = ptr.String(jtv) } + default: _, _ = key, value @@ -4580,6 +4649,7 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura if err := awsRestjson1_deserializeDocumentGroupConfigurationList(&sv.Configuration, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -4588,10 +4658,12 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura } sv.FailureReason = ptr.String(jtv) } + case "ProposedConfiguration": if err := awsRestjson1_deserializeDocumentGroupConfigurationList(&sv.ProposedConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4600,6 +4672,7 @@ func awsRestjson1_deserializeDocumentGroupConfiguration(v **types.GroupConfigura } sv.Status = types.GroupConfigurationStatus(jtv) } + default: _, _ = key, value @@ -4635,6 +4708,7 @@ func awsRestjson1_deserializeDocumentGroupConfigurationItem(v **types.GroupConfi if err := awsRestjson1_deserializeDocumentGroupParameterList(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4643,6 +4717,7 @@ func awsRestjson1_deserializeDocumentGroupConfigurationItem(v **types.GroupConfi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4716,10 +4791,12 @@ func awsRestjson1_deserializeDocumentGroupConfigurationParameter(v **types.Group } sv.Name = ptr.String(jtv) } + case "Values": if err := awsRestjson1_deserializeDocumentGroupConfigurationParameterValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -4799,6 +4876,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Criticality = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4807,6 +4885,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -4815,6 +4894,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.DisplayName = ptr.String(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -4823,6 +4903,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupArn = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -4831,6 +4912,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupName = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4839,6 +4921,7 @@ func awsRestjson1_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.Owner = ptr.String(jtv) } + default: _, _ = key, value @@ -4912,6 +4995,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.Action = types.GroupingType(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -4920,6 +5004,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4928,6 +5013,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ErrorMessage = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4936,6 +5022,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.ResourceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4944,6 +5031,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } sv.Status = types.GroupingStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4959,6 +5047,7 @@ func awsRestjson1_deserializeDocumentGroupingStatusesItem(v **types.GroupingStat } } + default: _, _ = key, value @@ -5100,10 +5189,12 @@ func awsRestjson1_deserializeDocumentGroupQuery(v **types.GroupQuery, value inte } sv.GroupName = ptr.String(jtv) } + case "ResourceQuery": if err := awsRestjson1_deserializeDocumentResourceQuery(&sv.ResourceQuery, value); err != nil { return err } + default: _, _ = key, value @@ -5143,6 +5234,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5178,10 +5270,12 @@ func awsRestjson1_deserializeDocumentListGroupResourcesItem(v **types.ListGroupR if err := awsRestjson1_deserializeDocumentResourceIdentifier(&sv.Identifier, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentResourceStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -5255,6 +5349,7 @@ func awsRestjson1_deserializeDocumentMethodNotAllowedException(v **types.MethodN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5294,6 +5389,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5333,6 +5429,7 @@ func awsRestjson1_deserializeDocumentPendingResource(v **types.PendingResource, } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5406,6 +5503,7 @@ func awsRestjson1_deserializeDocumentQueryError(v **types.QueryError, value inte } sv.ErrorCode = types.QueryErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -5414,6 +5512,7 @@ func awsRestjson1_deserializeDocumentQueryError(v **types.QueryError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5523,6 +5622,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5531,6 +5631,7 @@ func awsRestjson1_deserializeDocumentResourceIdentifier(v **types.ResourceIdenti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5604,6 +5705,7 @@ func awsRestjson1_deserializeDocumentResourceQuery(v **types.ResourceQuery, valu } sv.Query = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5612,6 +5714,7 @@ func awsRestjson1_deserializeDocumentResourceQuery(v **types.ResourceQuery, valu } sv.Type = types.QueryType(jtv) } + default: _, _ = key, value @@ -5651,6 +5754,7 @@ func awsRestjson1_deserializeDocumentResourceStatus(v **types.ResourceStatus, va } sv.Name = types.ResourceStatusValue(jtv) } + default: _, _ = key, value @@ -5769,6 +5873,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -5777,6 +5882,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.ErrorMessage = ptr.String(jtv) } + case "GroupArn": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5891,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.GroupArn = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -5793,6 +5900,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.GroupName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -5801,6 +5909,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5809,6 +5918,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.Status = types.TagSyncTaskStatus(jtv) } + case "TagKey": if value != nil { jtv, ok := value.(string) @@ -5817,6 +5927,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TagKey = ptr.String(jtv) } + case "TagValue": if value != nil { jtv, ok := value.(string) @@ -5825,6 +5936,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TagValue = ptr.String(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -5833,6 +5945,7 @@ func awsRestjson1_deserializeDocumentTagSyncTaskItem(v **types.TagSyncTaskItem, } sv.TaskArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5906,6 +6019,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5945,6 +6059,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/resourcegroupstaggingapi/deserializers.go b/service/resourcegroupstaggingapi/deserializers.go index 6e0653f8e6c..77a9f936a3c 100644 --- a/service/resourcegroupstaggingapi/deserializers.go +++ b/service/resourcegroupstaggingapi/deserializers.go @@ -1226,14 +1226,17 @@ func awsAwsjson11_deserializeDocumentComplianceDetails(v **types.ComplianceDetai } sv.ComplianceStatus = ptr.Bool(jtv) } + case "KeysWithNoncompliantValues": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.KeysWithNoncompliantValues, value); err != nil { return err } + case "NoncompliantKeys": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.NoncompliantKeys, value); err != nil { return err } + default: _, _ = key, value @@ -1273,6 +1276,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1312,6 +1316,7 @@ func awsAwsjson11_deserializeDocumentConstraintViolationException(v **types.Cons } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1386,6 +1391,7 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -1394,6 +1400,7 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorMessage = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1406,6 +1413,7 @@ func awsAwsjson11_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.StatusCode = int32(i64) } + default: _, _ = key, value @@ -1445,6 +1453,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1484,6 +1493,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1523,6 +1533,7 @@ func awsAwsjson11_deserializeDocumentPaginationTokenExpiredException(v **types.P } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1558,6 +1569,7 @@ func awsAwsjson11_deserializeDocumentResourceTagMapping(v **types.ResourceTagMap if err := awsAwsjson11_deserializeDocumentComplianceDetails(&sv.ComplianceDetails, value); err != nil { return err } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -1566,10 +1578,12 @@ func awsAwsjson11_deserializeDocumentResourceTagMapping(v **types.ResourceTagMap } sv.ResourceARN = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1643,6 +1657,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.LastUpdated = ptr.String(jtv) } + case "NonCompliantResources": if value != nil { jtv, ok := value.(json.Number) @@ -1655,6 +1670,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.NonCompliantResources = i64 } + case "Region": if value != nil { jtv, ok := value.(string) @@ -1663,6 +1679,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.Region = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -1671,6 +1688,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.ResourceType = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -1679,6 +1697,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.TargetId = ptr.String(jtv) } + case "TargetIdType": if value != nil { jtv, ok := value.(string) @@ -1687,6 +1706,7 @@ func awsAwsjson11_deserializeDocumentSummary(v **types.Summary, value interface{ } sv.TargetIdType = types.TargetIdType(jtv) } + default: _, _ = key, value @@ -1760,6 +1780,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -1768,6 +1789,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -1913,6 +1935,7 @@ func awsAwsjson11_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1952,6 +1975,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.ErrorMessage = ptr.String(jtv) } + case "S3Location": if value != nil { jtv, ok := value.(string) @@ -1960,6 +1984,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.S3Location = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -1968,6 +1993,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.StartDate = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1976,6 +2002,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReportCreationOutput(v **Describe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -2015,10 +2042,12 @@ func awsAwsjson11_deserializeOpDocumentGetComplianceSummaryOutput(v **GetComplia } sv.PaginationToken = ptr.String(jtv) } + case "SummaryList": if err := awsAwsjson11_deserializeDocumentSummaryList(&sv.SummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -2058,10 +2087,12 @@ func awsAwsjson11_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.PaginationToken = ptr.String(jtv) } + case "ResourceTagMappingList": if err := awsAwsjson11_deserializeDocumentResourceTagMappingList(&sv.ResourceTagMappingList, value); err != nil { return err } + default: _, _ = key, value @@ -2101,10 +2132,12 @@ func awsAwsjson11_deserializeOpDocumentGetTagKeysOutput(v **GetTagKeysOutput, va } sv.PaginationToken = ptr.String(jtv) } + case "TagKeys": if err := awsAwsjson11_deserializeDocumentTagKeyList(&sv.TagKeys, value); err != nil { return err } + default: _, _ = key, value @@ -2144,10 +2177,12 @@ func awsAwsjson11_deserializeOpDocumentGetTagValuesOutput(v **GetTagValuesOutput } sv.PaginationToken = ptr.String(jtv) } + case "TagValues": if err := awsAwsjson11_deserializeDocumentTagValuesOutputList(&sv.TagValues, value); err != nil { return err } + default: _, _ = key, value @@ -2214,6 +2249,7 @@ func awsAwsjson11_deserializeOpDocumentTagResourcesOutput(v **TagResourcesOutput if err := awsAwsjson11_deserializeDocumentFailedResourcesMap(&sv.FailedResourcesMap, value); err != nil { return err } + default: _, _ = key, value @@ -2249,6 +2285,7 @@ func awsAwsjson11_deserializeOpDocumentUntagResourcesOutput(v **UntagResourcesOu if err := awsAwsjson11_deserializeDocumentFailedResourcesMap(&sv.FailedResourcesMap, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/robomaker/deserializers.go b/service/robomaker/deserializers.go index 92060653ef5..c20e56c1400 100644 --- a/service/robomaker/deserializers.go +++ b/service/robomaker/deserializers.go @@ -178,6 +178,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteWorldsOutput(v **BatchDeleteWo if err := awsRestjson1_deserializeDocumentArns(&sv.UnprocessedWorlds, value); err != nil { return err } + default: _, _ = key, value @@ -338,10 +339,12 @@ func awsRestjson1_deserializeOpDocumentBatchDescribeSimulationJobOutput(v **Batc if err := awsRestjson1_deserializeDocumentSimulationJobs(&sv.Jobs, value); err != nil { return err } + case "unprocessedJobs": if err := awsRestjson1_deserializeDocumentArns(&sv.UnprocessedJobs, value); err != nil { return err } + default: _, _ = key, value @@ -1000,6 +1003,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1015,14 +1019,17 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } } + case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } + case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -1031,6 +1038,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -1039,6 +1047,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.FailureReason = ptr.String(jtv) } + case "fleet": if value != nil { jtv, ok := value.(string) @@ -1047,6 +1056,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Fleet = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1055,10 +1065,12 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentJobOutput(v **CreateDeplo } sv.Status = types.DeploymentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1223,6 +1235,7 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1238,6 +1251,7 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -1246,10 +1260,12 @@ func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1417,6 +1433,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Architecture = types.Architecture(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1425,6 +1442,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1440,6 +1458,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } } + case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -1448,6 +1467,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.GreengrassGroupId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1456,10 +1476,12 @@ func awsRestjson1_deserializeOpDocumentCreateRobotOutput(v **CreateRobotOutput, } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1630,10 +1652,12 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1649,6 +1673,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -1657,6 +1682,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1665,18 +1691,22 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -1685,6 +1715,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationOutput(v **CreateRo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -1852,10 +1883,12 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1871,6 +1904,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } } + case "name": if value != nil { jtv, ok := value.(string) @@ -1879,6 +1913,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1887,14 +1922,17 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -1903,6 +1941,7 @@ func awsRestjson1_deserializeOpDocumentCreateRobotApplicationVersionOutput(v **C } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2073,10 +2112,12 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2092,6 +2133,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2100,10 +2142,12 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Name = ptr.String(jtv) } + case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2112,22 +2156,27 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2136,6 +2185,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationOutput(v **Cre } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2303,10 +2353,12 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2322,6 +2374,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } } + case "name": if value != nil { jtv, ok := value.(string) @@ -2330,10 +2383,12 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Name = ptr.String(jtv) } + case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -2342,18 +2397,22 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -2362,6 +2421,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationApplicationVersionOutput( } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -2535,6 +2595,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -2543,14 +2604,17 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.ClientRequestToken = ptr.String(jtv) } + case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -2559,6 +2623,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.FailureBehavior = types.FailureBehavior(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -2567,6 +2632,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.FailureCode = types.SimulationJobErrorCode(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -2575,6 +2641,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.IamRole = ptr.String(jtv) } + case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -2590,6 +2657,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -2605,10 +2673,12 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } } + case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2621,18 +2691,22 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.MaxJobDurationInSeconds = i64 } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } + case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } + case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -2645,6 +2719,7 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.SimulationTimeMillis = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -2653,14 +2728,17 @@ func awsRestjson1_deserializeOpDocumentCreateSimulationJobOutput(v **CreateSimul } sv.Status = types.SimulationJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -2831,6 +2909,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -2839,6 +2918,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2854,6 +2934,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -2862,6 +2943,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.FailureCode = types.WorldExportJobErrorCode(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -2870,10 +2952,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.IamRole = ptr.String(jtv) } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -2882,10 +2966,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorldExportJobOutput(v **CreateWorl } sv.Status = types.WorldExportJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3059,6 +3145,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -3067,6 +3154,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3082,6 +3170,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -3090,6 +3179,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3098,10 +3188,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Status = types.WorldGenerationJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "template": if value != nil { jtv, ok := value.(string) @@ -3110,14 +3202,17 @@ func awsRestjson1_deserializeOpDocumentCreateWorldGenerationJobOutput(v **Create } sv.Template = ptr.String(jtv) } + case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } + case "worldTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.WorldTags, value); err != nil { return err } + default: _, _ = key, value @@ -3288,6 +3383,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -3296,6 +3392,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3311,6 +3408,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } } + case "name": if value != nil { jtv, ok := value.(string) @@ -3319,10 +3417,12 @@ func awsRestjson1_deserializeOpDocumentCreateWorldTemplateOutput(v **CreateWorld } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3960,6 +4060,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterRobotOutput(v **DeregisterRobot } sv.Fleet = ptr.String(jtv) } + case "robot": if value != nil { jtv, ok := value.(string) @@ -3968,6 +4069,7 @@ func awsRestjson1_deserializeOpDocumentDeregisterRobotOutput(v **DeregisterRobot } sv.Robot = ptr.String(jtv) } + default: _, _ = key, value @@ -4132,6 +4234,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4147,14 +4250,17 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } } + case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } + case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4163,6 +4269,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -4171,6 +4278,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.FailureReason = ptr.String(jtv) } + case "fleet": if value != nil { jtv, ok := value.(string) @@ -4179,10 +4287,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Fleet = ptr.String(jtv) } + case "robotDeploymentSummary": if err := awsRestjson1_deserializeDocumentRobotDeploymentSummary(&sv.RobotDeploymentSummary, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4191,10 +4301,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeploymentJobOutput(v **DescribeD } sv.Status = types.DeploymentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4359,6 +4471,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4374,6 +4487,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } } + case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -4382,6 +4496,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.LastDeploymentJob = ptr.String(jtv) } + case "lastDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -4390,6 +4505,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.LastDeploymentStatus = types.DeploymentStatus(jtv) } + case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -4405,6 +4521,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } } + case "name": if value != nil { jtv, ok := value.(string) @@ -4413,14 +4530,17 @@ func awsRestjson1_deserializeOpDocumentDescribeFleetOutput(v **DescribeFleetOutp } sv.Name = ptr.String(jtv) } + case "robots": if err := awsRestjson1_deserializeDocumentRobots(&sv.Robots, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4585,6 +4705,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Architecture = types.Architecture(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4593,6 +4714,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -4608,6 +4730,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } } + case "fleetArn": if value != nil { jtv, ok := value.(string) @@ -4616,6 +4739,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.FleetArn = ptr.String(jtv) } + case "greengrassGroupId": if value != nil { jtv, ok := value.(string) @@ -4624,6 +4748,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.GreengrassGroupId = ptr.String(jtv) } + case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -4632,6 +4757,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.LastDeploymentJob = ptr.String(jtv) } + case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -4647,6 +4773,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } } + case "name": if value != nil { jtv, ok := value.(string) @@ -4655,6 +4782,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4663,10 +4791,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotOutput(v **DescribeRobotOutp } sv.Status = types.RobotStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4831,10 +4961,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -4843,6 +4975,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.ImageDigest = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4858,6 +4991,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } } + case "name": if value != nil { jtv, ok := value.(string) @@ -4866,6 +5000,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -4874,18 +5009,22 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -4894,6 +5033,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRobotApplicationOutput(v **Descri } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5058,10 +5198,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "imageDigest": if value != nil { jtv, ok := value.(string) @@ -5070,6 +5212,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.ImageDigest = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5085,6 +5228,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5093,10 +5237,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Name = ptr.String(jtv) } + case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -5105,22 +5251,27 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -5129,6 +5280,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationApplicationOutput(v **D } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5293,6 +5445,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5301,14 +5454,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.ClientRequestToken = ptr.String(jtv) } + case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -5317,6 +5473,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureBehavior = types.FailureBehavior(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5325,6 +5482,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureCode = types.SimulationJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -5333,6 +5491,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.FailureReason = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -5341,6 +5500,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.IamRole = ptr.String(jtv) } + case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -5356,6 +5516,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5371,10 +5532,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } } + case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5387,6 +5550,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.MaxJobDurationInSeconds = i64 } + case "name": if value != nil { jtv, ok := value.(string) @@ -5395,22 +5559,27 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Name = ptr.String(jtv) } + case "networkInterface": if err := awsRestjson1_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } + case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } + case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -5423,6 +5592,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.SimulationTimeMillis = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -5431,14 +5601,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobOutput(v **DescribeS } sv.Status = types.SimulationJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5600,10 +5773,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.Arn = ptr.String(jtv) } + case "batchPolicy": if err := awsRestjson1_deserializeDocumentBatchPolicy(&sv.BatchPolicy, value); err != nil { return err } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -5612,6 +5787,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5627,14 +5803,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } } + case "createdRequests": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.CreatedRequests, value); err != nil { return err } + case "failedRequests": if err := awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequests(&sv.FailedRequests, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5643,6 +5822,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.FailureCode = types.SimulationJobBatchErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -5651,6 +5831,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5666,10 +5847,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } } + case "pendingRequests": if err := awsRestjson1_deserializeDocumentCreateSimulationJobRequests(&sv.PendingRequests, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5678,10 +5861,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationJobBatchOutput(v **Desc } sv.Status = types.SimulationJobBatchStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5846,6 +6031,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -5861,6 +6047,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } } + case "generationJob": if value != nil { jtv, ok := value.(string) @@ -5869,10 +6056,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.GenerationJob = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "template": if value != nil { jtv, ok := value.(string) @@ -5881,6 +6070,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.Template = ptr.String(jtv) } + case "worldDescriptionBody": if value != nil { jtv, ok := value.(string) @@ -5889,6 +6079,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldOutput(v **DescribeWorldOutp } sv.WorldDescriptionBody = ptr.String(jtv) } + default: _, _ = key, value @@ -6053,6 +6244,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6061,6 +6253,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6076,6 +6269,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -6084,6 +6278,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.FailureCode = types.WorldExportJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6092,6 +6287,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -6100,10 +6296,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.IamRole = ptr.String(jtv) } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6112,14 +6310,17 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldExportJobOutput(v **Describe } sv.Status = types.WorldExportJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "worlds": if err := awsRestjson1_deserializeDocumentArns(&sv.Worlds, value); err != nil { return err } + default: _, _ = key, value @@ -6284,6 +6485,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6292,6 +6494,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6307,6 +6510,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -6315,6 +6519,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -6323,10 +6528,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } + case "finishedWorldsSummary": if err := awsRestjson1_deserializeDocumentFinishedWorldsSummary(&sv.FinishedWorldsSummary, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6335,10 +6542,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Status = types.WorldGenerationJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "template": if value != nil { jtv, ok := value.(string) @@ -6347,14 +6556,17 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldGenerationJobOutput(v **Desc } sv.Template = ptr.String(jtv) } + case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } + case "worldTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.WorldTags, value); err != nil { return err } + default: _, _ = key, value @@ -6519,6 +6731,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -6527,6 +6740,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -6542,6 +6756,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6557,6 +6772,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } } + case "name": if value != nil { jtv, ok := value.(string) @@ -6565,10 +6781,12 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -6577,6 +6795,7 @@ func awsRestjson1_deserializeOpDocumentDescribeWorldTemplateOutput(v **DescribeW } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6741,6 +6960,7 @@ func awsRestjson1_deserializeOpDocumentGetWorldTemplateBodyOutput(v **GetWorldTe } sv.TemplateBody = ptr.String(jtv) } + default: _, _ = key, value @@ -6901,6 +7121,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentJobsOutput(v **ListDeployme if err := awsRestjson1_deserializeDocumentDeploymentJobs(&sv.DeploymentJobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6909,6 +7130,7 @@ func awsRestjson1_deserializeOpDocumentListDeploymentJobsOutput(v **ListDeployme } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7069,6 +7291,7 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va if err := awsRestjson1_deserializeDocumentFleets(&sv.FleetDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7300,7 @@ func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7238,10 +7462,12 @@ func awsRestjson1_deserializeOpDocumentListRobotApplicationsOutput(v **ListRobot } sv.NextToken = ptr.String(jtv) } + case "robotApplicationSummaries": if err := awsRestjson1_deserializeDocumentRobotApplicationSummaries(&sv.RobotApplicationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7406,10 +7632,12 @@ func awsRestjson1_deserializeOpDocumentListRobotsOutput(v **ListRobotsOutput, va } sv.NextToken = ptr.String(jtv) } + case "robots": if err := awsRestjson1_deserializeDocumentRobots(&sv.Robots, value); err != nil { return err } + default: _, _ = key, value @@ -7571,10 +7799,12 @@ func awsRestjson1_deserializeOpDocumentListSimulationApplicationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "simulationApplicationSummaries": if err := awsRestjson1_deserializeDocumentSimulationApplicationSummaries(&sv.SimulationApplicationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7733,10 +7963,12 @@ func awsRestjson1_deserializeOpDocumentListSimulationJobBatchesOutput(v **ListSi } sv.NextToken = ptr.String(jtv) } + case "simulationJobBatchSummaries": if err := awsRestjson1_deserializeDocumentSimulationJobBatchSummaries(&sv.SimulationJobBatchSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7898,10 +8130,12 @@ func awsRestjson1_deserializeOpDocumentListSimulationJobsOutput(v **ListSimulati } sv.NextToken = ptr.String(jtv) } + case "simulationJobSummaries": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.SimulationJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8062,6 +8296,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8223,10 +8458,12 @@ func awsRestjson1_deserializeOpDocumentListWorldExportJobsOutput(v **ListWorldEx } sv.NextToken = ptr.String(jtv) } + case "worldExportJobSummaries": if err := awsRestjson1_deserializeDocumentWorldExportJobSummaries(&sv.WorldExportJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8388,10 +8625,12 @@ func awsRestjson1_deserializeOpDocumentListWorldGenerationJobsOutput(v **ListWor } sv.NextToken = ptr.String(jtv) } + case "worldGenerationJobSummaries": if err := awsRestjson1_deserializeDocumentWorldGenerationJobSummaries(&sv.WorldGenerationJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8553,10 +8792,12 @@ func awsRestjson1_deserializeOpDocumentListWorldsOutput(v **ListWorldsOutput, va } sv.NextToken = ptr.String(jtv) } + case "worldSummaries": if err := awsRestjson1_deserializeDocumentWorldSummaries(&sv.WorldSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8718,10 +8959,12 @@ func awsRestjson1_deserializeOpDocumentListWorldTemplatesOutput(v **ListWorldTem } sv.NextToken = ptr.String(jtv) } + case "templateSummaries": if err := awsRestjson1_deserializeDocumentTemplateSummaries(&sv.TemplateSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8889,6 +9132,7 @@ func awsRestjson1_deserializeOpDocumentRegisterRobotOutput(v **RegisterRobotOutp } sv.Fleet = ptr.String(jtv) } + case "robot": if value != nil { jtv, ok := value.(string) @@ -8897,6 +9141,7 @@ func awsRestjson1_deserializeOpDocumentRegisterRobotOutput(v **RegisterRobotOutp } sv.Robot = ptr.String(jtv) } + default: _, _ = key, value @@ -9164,10 +9409,12 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.Arn = ptr.String(jtv) } + case "batchPolicy": if err := awsRestjson1_deserializeDocumentBatchPolicy(&sv.BatchPolicy, value); err != nil { return err } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -9176,6 +9423,7 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.ClientRequestToken = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9191,14 +9439,17 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } } + case "createdRequests": if err := awsRestjson1_deserializeDocumentSimulationJobSummaries(&sv.CreatedRequests, value); err != nil { return err } + case "failedRequests": if err := awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequests(&sv.FailedRequests, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -9207,6 +9458,7 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.FailureCode = types.SimulationJobBatchErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9215,10 +9467,12 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.FailureReason = ptr.String(jtv) } + case "pendingRequests": if err := awsRestjson1_deserializeDocumentCreateSimulationJobRequests(&sv.PendingRequests, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9227,10 +9481,12 @@ func awsRestjson1_deserializeOpDocumentStartSimulationJobBatchOutput(v **StartSi } sv.Status = types.SimulationJobBatchStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9404,6 +9660,7 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9419,14 +9676,17 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } } + case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } + case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -9435,6 +9695,7 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -9443,6 +9704,7 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.FailureReason = ptr.String(jtv) } + case "fleet": if value != nil { jtv, ok := value.(string) @@ -9451,6 +9713,7 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Fleet = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9459,6 +9722,7 @@ func awsRestjson1_deserializeOpDocumentSyncDeploymentJobOutput(v **SyncDeploymen } sv.Status = types.DeploymentStatus(jtv) } + default: _, _ = key, value @@ -9820,10 +10084,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -9839,6 +10105,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9847,6 +10114,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -9855,14 +10123,17 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -9871,6 +10142,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRobotApplicationOutput(v **UpdateRo } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10038,10 +10310,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Arn = ptr.String(jtv) } + case "environment": if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10057,6 +10331,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10065,10 +10340,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Name = ptr.String(jtv) } + case "renderingEngine": if err := awsRestjson1_deserializeDocumentRenderingEngine(&sv.RenderingEngine, value); err != nil { return err } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -10077,18 +10354,22 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.RevisionId = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } + case "sources": if err := awsRestjson1_deserializeDocumentSources(&sv.Sources, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -10097,6 +10378,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSimulationApplicationOutput(v **Upd } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -10261,6 +10543,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -10276,6 +10559,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -10291,6 +10575,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } } + case "name": if value != nil { jtv, ok := value.(string) @@ -10299,6 +10584,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorldTemplateOutput(v **UpdateWorld } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10702,6 +10988,7 @@ func awsRestjson1_deserializeDocumentBatchPolicy(v **types.BatchPolicy, value in } sv.MaxConcurrency = ptr.Int32(int32(i64)) } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10714,6 +11001,7 @@ func awsRestjson1_deserializeDocumentBatchPolicy(v **types.BatchPolicy, value in } sv.TimeoutInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -10789,6 +11077,7 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.ComputeType = types.ComputeType(jtv) } + case "gpuUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -10801,6 +11090,7 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.GpuUnitLimit = ptr.Int32(int32(i64)) } + case "simulationUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -10813,6 +11103,7 @@ func awsRestjson1_deserializeDocumentCompute(v **types.Compute, value interface{ } sv.SimulationUnitLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10852,6 +11143,7 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.ComputeType = types.ComputeType(jtv) } + case "gpuUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -10864,6 +11156,7 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.GpuUnitLimit = ptr.Int32(int32(i64)) } + case "simulationUnitLimit": if value != nil { jtv, ok := value.(json.Number) @@ -10876,6 +11169,7 @@ func awsRestjson1_deserializeDocumentComputeResponse(v **types.ComputeResponse, } sv.SimulationUnitLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10915,6 +11209,7 @@ func awsRestjson1_deserializeDocumentConcurrentDeploymentException(v **types.Con } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10988,6 +11283,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Destination = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10996,6 +11292,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Name = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -11004,10 +11301,12 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.S3Bucket = ptr.String(jtv) } + case "s3Keys": if err := awsRestjson1_deserializeDocumentS3KeyOutputs(&sv.S3Keys, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11016,6 +11315,7 @@ func awsRestjson1_deserializeDocumentDataSource(v **types.DataSource, value inte } sv.Type = types.DataSourceType(jtv) } + default: _, _ = key, value @@ -11055,6 +11355,7 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Destination = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11063,6 +11364,7 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Name = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -11071,10 +11373,12 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.S3Bucket = ptr.String(jtv) } + case "s3Keys": if err := awsRestjson1_deserializeDocumentS3KeysOrPrefixes(&sv.S3Keys, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11083,6 +11387,7 @@ func awsRestjson1_deserializeDocumentDataSourceConfig(v **types.DataSourceConfig } sv.Type = types.DataSourceType(jtv) } + default: _, _ = key, value @@ -11226,6 +11531,7 @@ func awsRestjson1_deserializeDocumentDeploymentApplicationConfig(v **types.Deplo } sv.Application = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -11234,10 +11540,12 @@ func awsRestjson1_deserializeDocumentDeploymentApplicationConfig(v **types.Deplo } sv.ApplicationVersion = ptr.String(jtv) } + case "launchConfig": if err := awsRestjson1_deserializeDocumentDeploymentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } + default: _, _ = key, value @@ -11315,10 +11623,12 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.ConcurrentDeploymentPercentage = ptr.Int32(int32(i64)) } + case "downloadConditionFile": if err := awsRestjson1_deserializeDocumentS3Object(&sv.DownloadConditionFile, value); err != nil { return err } + case "failureThresholdPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -11331,6 +11641,7 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.FailureThresholdPercentage = ptr.Int32(int32(i64)) } + case "robotDeploymentTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11343,6 +11654,7 @@ func awsRestjson1_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig } sv.RobotDeploymentTimeoutInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -11382,6 +11694,7 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11397,14 +11710,17 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } } + case "deploymentApplicationConfigs": if err := awsRestjson1_deserializeDocumentDeploymentApplicationConfigs(&sv.DeploymentApplicationConfigs, value); err != nil { return err } + case "deploymentConfig": if err := awsRestjson1_deserializeDocumentDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -11413,6 +11729,7 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11421,6 +11738,7 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.FailureReason = ptr.String(jtv) } + case "fleet": if value != nil { jtv, ok := value.(string) @@ -11429,6 +11747,7 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Fleet = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11437,6 +11756,7 @@ func awsRestjson1_deserializeDocumentDeploymentJob(v **types.DeploymentJob, valu } sv.Status = types.DeploymentStatus(jtv) } + default: _, _ = key, value @@ -11506,6 +11826,7 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } + case "launchFile": if value != nil { jtv, ok := value.(string) @@ -11514,6 +11835,7 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.LaunchFile = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -11522,6 +11844,7 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PackageName = ptr.String(jtv) } + case "postLaunchFile": if value != nil { jtv, ok := value.(string) @@ -11530,6 +11853,7 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PostLaunchFile = ptr.String(jtv) } + case "preLaunchFile": if value != nil { jtv, ok := value.(string) @@ -11538,6 +11862,7 @@ func awsRestjson1_deserializeDocumentDeploymentLaunchConfig(v **types.Deployment } sv.PreLaunchFile = ptr.String(jtv) } + default: _, _ = key, value @@ -11577,6 +11902,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -11659,6 +11985,7 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -11667,6 +11994,7 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } sv.FailureCode = types.SimulationJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -11675,10 +12003,12 @@ func awsRestjson1_deserializeDocumentFailedCreateSimulationJobRequest(v **types. } sv.FailureReason = ptr.String(jtv) } + case "request": if err := awsRestjson1_deserializeDocumentSimulationJobRequest(&sv.Request, value); err != nil { return err } + default: _, _ = key, value @@ -11748,6 +12078,7 @@ func awsRestjson1_deserializeDocumentFailureSummary(v **types.FailureSummary, va if err := awsRestjson1_deserializeDocumentWorldFailures(&sv.Failures, value); err != nil { return err } + case "totalFailureCount": if value != nil { jtv, ok := value.(json.Number) @@ -11760,6 +12091,7 @@ func awsRestjson1_deserializeDocumentFailureSummary(v **types.FailureSummary, va } sv.TotalFailureCount = int32(i64) } + default: _, _ = key, value @@ -11795,6 +12127,7 @@ func awsRestjson1_deserializeDocumentFinishedWorldsSummary(v **types.FinishedWor if err := awsRestjson1_deserializeDocumentFailureSummary(&sv.FailureSummary, value); err != nil { return err } + case "finishedCount": if value != nil { jtv, ok := value.(json.Number) @@ -11807,10 +12140,12 @@ func awsRestjson1_deserializeDocumentFinishedWorldsSummary(v **types.FinishedWor } sv.FinishedCount = int32(i64) } + case "succeededWorlds": if err := awsRestjson1_deserializeDocumentArns(&sv.SucceededWorlds, value); err != nil { return err } + default: _, _ = key, value @@ -11850,6 +12185,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -11865,6 +12201,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } + case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -11873,6 +12210,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.LastDeploymentJob = ptr.String(jtv) } + case "lastDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -11881,6 +12219,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.LastDeploymentStatus = types.DeploymentStatus(jtv) } + case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -11896,6 +12235,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } } + case "name": if value != nil { jtv, ok := value.(string) @@ -11904,6 +12244,7 @@ func awsRestjson1_deserializeDocumentFleet(v **types.Fleet, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11977,6 +12318,7 @@ func awsRestjson1_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12016,6 +12358,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12055,6 +12398,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12090,10 +12434,12 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value if err := awsRestjson1_deserializeDocumentCommandList(&sv.Command, value); err != nil { return err } + case "environmentVariables": if err := awsRestjson1_deserializeDocumentEnvironmentVariableMap(&sv.EnvironmentVariables, value); err != nil { return err } + case "launchFile": if value != nil { jtv, ok := value.(string) @@ -12102,6 +12448,7 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.LaunchFile = ptr.String(jtv) } + case "packageName": if value != nil { jtv, ok := value.(string) @@ -12110,10 +12457,12 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.PackageName = ptr.String(jtv) } + case "portForwardingConfig": if err := awsRestjson1_deserializeDocumentPortForwardingConfig(&sv.PortForwardingConfig, value); err != nil { return err } + case "streamUI": if value != nil { jtv, ok := value.(bool) @@ -12122,6 +12471,7 @@ func awsRestjson1_deserializeDocumentLaunchConfig(v **types.LaunchConfig, value } sv.StreamUI = jtv } + default: _, _ = key, value @@ -12161,6 +12511,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12200,6 +12551,7 @@ func awsRestjson1_deserializeDocumentLoggingConfig(v **types.LoggingConfig, valu } sv.RecordAllRosTopics = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12239,6 +12591,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -12247,6 +12600,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PrivateIpAddress = ptr.String(jtv) } + case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -12255,6 +12609,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.PublicIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -12294,6 +12649,7 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va } sv.S3Bucket = ptr.String(jtv) } + case "s3Prefix": if value != nil { jtv, ok := value.(string) @@ -12302,6 +12658,7 @@ func awsRestjson1_deserializeDocumentOutputLocation(v **types.OutputLocation, va } sv.S3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -12337,6 +12694,7 @@ func awsRestjson1_deserializeDocumentPortForwardingConfig(v **types.PortForwardi if err := awsRestjson1_deserializeDocumentPortMappingList(&sv.PortMappings, value); err != nil { return err } + default: _, _ = key, value @@ -12380,6 +12738,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.ApplicationPort = ptr.Int32(int32(i64)) } + case "enableOnPublicIp": if value != nil { jtv, ok := value.(bool) @@ -12388,6 +12747,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.EnableOnPublicIp = jtv } + case "jobPort": if value != nil { jtv, ok := value.(json.Number) @@ -12400,6 +12760,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in } sv.JobPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12473,6 +12834,7 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.CurrentProgress = types.RobotDeploymentStep(jtv) } + case "estimatedTimeRemainingSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12485,6 +12847,7 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.EstimatedTimeRemainingSeconds = ptr.Int32(int32(i64)) } + case "percentDone": if value != nil { switch jtv := value.(type) { @@ -12518,6 +12881,7 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } } + case "targetResource": if value != nil { jtv, ok := value.(string) @@ -12526,6 +12890,7 @@ func awsRestjson1_deserializeDocumentProgressDetail(v **types.ProgressDetail, va } sv.TargetResource = ptr.String(jtv) } + default: _, _ = key, value @@ -12565,6 +12930,7 @@ func awsRestjson1_deserializeDocumentRenderingEngine(v **types.RenderingEngine, } sv.Name = types.RenderingEngineType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -12573,6 +12939,7 @@ func awsRestjson1_deserializeDocumentRenderingEngine(v **types.RenderingEngine, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -12612,6 +12979,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12651,6 +13019,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12690,6 +13059,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Architecture = types.Architecture(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -12698,6 +13068,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12713,6 +13084,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } } + case "fleetArn": if value != nil { jtv, ok := value.(string) @@ -12721,6 +13093,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.FleetArn = ptr.String(jtv) } + case "greenGrassGroupId": if value != nil { jtv, ok := value.(string) @@ -12729,6 +13102,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.GreenGrassGroupId = ptr.String(jtv) } + case "lastDeploymentJob": if value != nil { jtv, ok := value.(string) @@ -12737,6 +13111,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.LastDeploymentJob = ptr.String(jtv) } + case "lastDeploymentTime": if value != nil { switch jtv := value.(type) { @@ -12752,6 +13127,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } } + case "name": if value != nil { jtv, ok := value.(string) @@ -12760,6 +13136,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12768,6 +13145,7 @@ func awsRestjson1_deserializeDocumentRobot(v **types.Robot, value interface{}) e } sv.Status = types.RobotStatus(jtv) } + default: _, _ = key, value @@ -12807,6 +13185,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.Application = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -12815,18 +13194,22 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.ApplicationVersion = ptr.String(jtv) } + case "launchConfig": if err := awsRestjson1_deserializeDocumentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } + case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } + case "uploadConfigurations": if err := awsRestjson1_deserializeDocumentUploadConfigurations(&sv.UploadConfigurations, value); err != nil { return err } + case "useDefaultTools": if value != nil { jtv, ok := value.(bool) @@ -12835,6 +13218,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.UseDefaultTools = ptr.Bool(jtv) } + case "useDefaultUploadConfigurations": if value != nil { jtv, ok := value.(bool) @@ -12843,6 +13227,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationConfig(v **types.RobotAppli } sv.UseDefaultUploadConfigurations = ptr.Bool(jtv) } + default: _, _ = key, value @@ -12986,6 +13371,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Arn = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13001,6 +13387,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13009,10 +13396,12 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Name = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -13021,6 +13410,7 @@ func awsRestjson1_deserializeDocumentRobotApplicationSummary(v **types.RobotAppl } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13060,6 +13450,7 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.Arn = ptr.String(jtv) } + case "deploymentFinishTime": if value != nil { switch jtv := value.(type) { @@ -13075,6 +13466,7 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } } + case "deploymentStartTime": if value != nil { switch jtv := value.(type) { @@ -13090,6 +13482,7 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -13098,6 +13491,7 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.FailureCode = types.DeploymentJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13106,10 +13500,12 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.FailureReason = ptr.String(jtv) } + case "progressDetail": if err := awsRestjson1_deserializeDocumentProgressDetail(&sv.ProgressDetail, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -13118,6 +13514,7 @@ func awsRestjson1_deserializeDocumentRobotDeployment(v **types.RobotDeployment, } sv.Status = types.RobotStatus(jtv) } + default: _, _ = key, value @@ -13225,6 +13622,7 @@ func awsRestjson1_deserializeDocumentRobotSoftwareSuite(v **types.RobotSoftwareS } sv.Name = types.RobotSoftwareSuiteType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -13233,6 +13631,7 @@ func awsRestjson1_deserializeDocumentRobotSoftwareSuite(v **types.RobotSoftwareS } sv.Version = types.RobotSoftwareSuiteVersionType(jtv) } + default: _, _ = key, value @@ -13272,6 +13671,7 @@ func awsRestjson1_deserializeDocumentS3KeyOutput(v **types.S3KeyOutput, value in } sv.Etag = ptr.String(jtv) } + case "s3Key": if value != nil { jtv, ok := value.(string) @@ -13280,6 +13680,7 @@ func awsRestjson1_deserializeDocumentS3KeyOutput(v **types.S3KeyOutput, value in } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -13389,6 +13790,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } + case "etag": if value != nil { jtv, ok := value.(string) @@ -13397,6 +13799,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Etag = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -13405,6 +13808,7 @@ func awsRestjson1_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -13480,6 +13884,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13519,6 +13924,7 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.Application = ptr.String(jtv) } + case "applicationVersion": if value != nil { jtv, ok := value.(string) @@ -13527,18 +13933,22 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.ApplicationVersion = ptr.String(jtv) } + case "launchConfig": if err := awsRestjson1_deserializeDocumentLaunchConfig(&sv.LaunchConfig, value); err != nil { return err } + case "tools": if err := awsRestjson1_deserializeDocumentTools(&sv.Tools, value); err != nil { return err } + case "uploadConfigurations": if err := awsRestjson1_deserializeDocumentUploadConfigurations(&sv.UploadConfigurations, value); err != nil { return err } + case "useDefaultTools": if value != nil { jtv, ok := value.(bool) @@ -13547,6 +13957,7 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.UseDefaultTools = ptr.Bool(jtv) } + case "useDefaultUploadConfigurations": if value != nil { jtv, ok := value.(bool) @@ -13555,10 +13966,12 @@ func awsRestjson1_deserializeDocumentSimulationApplicationConfig(v **types.Simul } sv.UseDefaultUploadConfigurations = ptr.Bool(jtv) } + case "worldConfigs": if err := awsRestjson1_deserializeDocumentWorldConfigs(&sv.WorldConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -13702,6 +14115,7 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Arn = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13717,6 +14131,7 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } } + case "name": if value != nil { jtv, ok := value.(string) @@ -13725,14 +14140,17 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Name = ptr.String(jtv) } + case "robotSoftwareSuite": if err := awsRestjson1_deserializeDocumentRobotSoftwareSuite(&sv.RobotSoftwareSuite, value); err != nil { return err } + case "simulationSoftwareSuite": if err := awsRestjson1_deserializeDocumentSimulationSoftwareSuite(&sv.SimulationSoftwareSuite, value); err != nil { return err } + case "version": if value != nil { jtv, ok := value.(string) @@ -13741,6 +14159,7 @@ func awsRestjson1_deserializeDocumentSimulationApplicationSummary(v **types.Simu } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -13780,6 +14199,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Arn = ptr.String(jtv) } + case "clientRequestToken": if value != nil { jtv, ok := value.(string) @@ -13788,14 +14208,17 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.ClientRequestToken = ptr.String(jtv) } + case "compute": if err := awsRestjson1_deserializeDocumentComputeResponse(&sv.Compute, value); err != nil { return err } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSources(&sv.DataSources, value); err != nil { return err } + case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -13804,6 +14227,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureBehavior = types.FailureBehavior(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -13812,6 +14236,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureCode = types.SimulationJobErrorCode(jtv) } + case "failureReason": if value != nil { jtv, ok := value.(string) @@ -13820,6 +14245,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.FailureReason = ptr.String(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -13828,6 +14254,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.IamRole = ptr.String(jtv) } + case "lastStartedAt": if value != nil { switch jtv := value.(type) { @@ -13843,6 +14270,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13858,10 +14286,12 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } } + case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -13874,6 +14304,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.MaxJobDurationInSeconds = i64 } + case "name": if value != nil { jtv, ok := value.(string) @@ -13882,22 +14313,27 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Name = ptr.String(jtv) } + case "networkInterface": if err := awsRestjson1_deserializeDocumentNetworkInterface(&sv.NetworkInterface, value); err != nil { return err } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } + case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } + case "simulationTimeMillis": if value != nil { jtv, ok := value.(json.Number) @@ -13910,6 +14346,7 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.SimulationTimeMillis = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -13918,14 +14355,17 @@ func awsRestjson1_deserializeDocumentSimulationJob(v **types.SimulationJob, valu } sv.Status = types.SimulationJobStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfigResponse(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13999,6 +14439,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14014,6 +14455,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } } + case "createdRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14026,6 +14468,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.CreatedRequestCount = int32(i64) } + case "failedRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14038,6 +14481,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.FailedRequestCount = int32(i64) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14053,6 +14497,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } } + case "pendingRequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -14065,6 +14510,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.PendingRequestCount = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -14073,6 +14519,7 @@ func awsRestjson1_deserializeDocumentSimulationJobBatchSummary(v **types.Simulat } sv.Status = types.SimulationJobBatchStatus(jtv) } + default: _, _ = key, value @@ -14108,10 +14555,12 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo if err := awsRestjson1_deserializeDocumentCompute(&sv.Compute, value); err != nil { return err } + case "dataSources": if err := awsRestjson1_deserializeDocumentDataSourceConfigs(&sv.DataSources, value); err != nil { return err } + case "failureBehavior": if value != nil { jtv, ok := value.(string) @@ -14120,6 +14569,7 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.FailureBehavior = types.FailureBehavior(jtv) } + case "iamRole": if value != nil { jtv, ok := value.(string) @@ -14128,10 +14578,12 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.IamRole = ptr.String(jtv) } + case "loggingConfig": if err := awsRestjson1_deserializeDocumentLoggingConfig(&sv.LoggingConfig, value); err != nil { return err } + case "maxJobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -14144,22 +14596,27 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.MaxJobDurationInSeconds = i64 } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "robotApplications": if err := awsRestjson1_deserializeDocumentRobotApplicationConfigs(&sv.RobotApplications, value); err != nil { return err } + case "simulationApplications": if err := awsRestjson1_deserializeDocumentSimulationApplicationConfigs(&sv.SimulationApplications, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "useDefaultApplications": if value != nil { jtv, ok := value.(bool) @@ -14168,10 +14625,12 @@ func awsRestjson1_deserializeDocumentSimulationJobRequest(v **types.SimulationJo } sv.UseDefaultApplications = ptr.Bool(jtv) } + case "vpcConfig": if err := awsRestjson1_deserializeDocumentVPCConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14279,6 +14738,7 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Arn = ptr.String(jtv) } + case "computeType": if value != nil { jtv, ok := value.(string) @@ -14287,10 +14747,12 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.ComputeType = types.ComputeType(jtv) } + case "dataSourceNames": if err := awsRestjson1_deserializeDocumentDataSourceNames(&sv.DataSourceNames, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14306,6 +14768,7 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14314,14 +14777,17 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Name = ptr.String(jtv) } + case "robotApplicationNames": if err := awsRestjson1_deserializeDocumentRobotApplicationNames(&sv.RobotApplicationNames, value); err != nil { return err } + case "simulationApplicationNames": if err := awsRestjson1_deserializeDocumentSimulationApplicationNames(&sv.SimulationApplicationNames, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -14330,6 +14796,7 @@ func awsRestjson1_deserializeDocumentSimulationJobSummary(v **types.SimulationJo } sv.Status = types.SimulationJobStatus(jtv) } + default: _, _ = key, value @@ -14369,6 +14836,7 @@ func awsRestjson1_deserializeDocumentSimulationSoftwareSuite(v **types.Simulatio } sv.Name = types.SimulationSoftwareSuiteType(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -14377,6 +14845,7 @@ func awsRestjson1_deserializeDocumentSimulationSoftwareSuite(v **types.Simulatio } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14416,6 +14885,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Architecture = types.Architecture(jtv) } + case "etag": if value != nil { jtv, ok := value.(string) @@ -14424,6 +14894,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.Etag = ptr.String(jtv) } + case "s3Bucket": if value != nil { jtv, ok := value.(string) @@ -14432,6 +14903,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.S3Bucket = ptr.String(jtv) } + case "s3Key": if value != nil { jtv, ok := value.(string) @@ -14440,6 +14912,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.S3Key = ptr.String(jtv) } + default: _, _ = key, value @@ -14619,6 +15092,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -14634,6 +15108,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14649,6 +15124,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -14657,6 +15133,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -14665,6 +15142,7 @@ func awsRestjson1_deserializeDocumentTemplateSummary(v **types.TemplateSummary, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -14704,6 +15182,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14743,6 +15222,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Command = ptr.String(jtv) } + case "exitBehavior": if value != nil { jtv, ok := value.(string) @@ -14751,6 +15231,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.ExitBehavior = types.ExitBehavior(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -14759,6 +15240,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.Name = ptr.String(jtv) } + case "streamOutputToCloudWatch": if value != nil { jtv, ok := value.(bool) @@ -14767,6 +15249,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.StreamOutputToCloudWatch = ptr.Bool(jtv) } + case "streamUI": if value != nil { jtv, ok := value.(bool) @@ -14775,6 +15258,7 @@ func awsRestjson1_deserializeDocumentTool(v **types.Tool, value interface{}) err } sv.StreamUI = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14848,6 +15332,7 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -14856,6 +15341,7 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.Path = ptr.String(jtv) } + case "uploadBehavior": if value != nil { jtv, ok := value.(string) @@ -14864,6 +15350,7 @@ func awsRestjson1_deserializeDocumentUploadConfiguration(v **types.UploadConfigu } sv.UploadBehavior = types.UploadBehavior(jtv) } + default: _, _ = key, value @@ -14937,14 +15424,17 @@ func awsRestjson1_deserializeDocumentVPCConfig(v **types.VPCConfig, value interf } sv.AssignPublicIp = jtv } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -14984,14 +15474,17 @@ func awsRestjson1_deserializeDocumentVPCConfigResponse(v **types.VPCConfigRespon } sv.AssignPublicIp = jtv } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -15000,6 +15493,7 @@ func awsRestjson1_deserializeDocumentVPCConfigResponse(v **types.VPCConfigRespon } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -15039,6 +15533,7 @@ func awsRestjson1_deserializeDocumentWorldConfig(v **types.WorldConfig, value in } sv.World = ptr.String(jtv) } + default: _, _ = key, value @@ -15116,6 +15611,7 @@ func awsRestjson1_deserializeDocumentWorldCount(v **types.WorldCount, value inte } sv.FloorplanCount = ptr.Int32(int32(i64)) } + case "interiorCountPerFloorplan": if value != nil { jtv, ok := value.(json.Number) @@ -15128,6 +15624,7 @@ func awsRestjson1_deserializeDocumentWorldCount(v **types.WorldCount, value inte } sv.InteriorCountPerFloorplan = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15201,6 +15698,7 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15216,10 +15714,12 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } } + case "outputLocation": if err := awsRestjson1_deserializeDocumentOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -15228,10 +15728,12 @@ func awsRestjson1_deserializeDocumentWorldExportJobSummary(v **types.WorldExport } sv.Status = types.WorldExportJobStatus(jtv) } + case "worlds": if err := awsRestjson1_deserializeDocumentArns(&sv.Worlds, value); err != nil { return err } + default: _, _ = key, value @@ -15271,6 +15773,7 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.FailureCode = types.WorldGenerationJobErrorCode(jtv) } + case "failureCount": if value != nil { jtv, ok := value.(json.Number) @@ -15283,6 +15786,7 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.FailureCount = int32(i64) } + case "sampleFailureReason": if value != nil { jtv, ok := value.(string) @@ -15291,6 +15795,7 @@ func awsRestjson1_deserializeDocumentWorldFailure(v **types.WorldFailure, value } sv.SampleFailureReason = ptr.String(jtv) } + default: _, _ = key, value @@ -15398,6 +15903,7 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15413,6 +15919,7 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } } + case "failedWorldCount": if value != nil { jtv, ok := value.(json.Number) @@ -15425,6 +15932,7 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.FailedWorldCount = int32(i64) } + case "status": if value != nil { jtv, ok := value.(string) @@ -15433,6 +15941,7 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Status = types.WorldGenerationJobStatus(jtv) } + case "succeededWorldCount": if value != nil { jtv, ok := value.(json.Number) @@ -15445,6 +15954,7 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.SucceededWorldCount = int32(i64) } + case "template": if value != nil { jtv, ok := value.(string) @@ -15453,10 +15963,12 @@ func awsRestjson1_deserializeDocumentWorldGenerationJobSummary(v **types.WorldGe } sv.Template = ptr.String(jtv) } + case "worldCount": if err := awsRestjson1_deserializeDocumentWorldCount(&sv.WorldCount, value); err != nil { return err } + default: _, _ = key, value @@ -15530,6 +16042,7 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -15545,6 +16058,7 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } } + case "generationJob": if value != nil { jtv, ok := value.(string) @@ -15553,6 +16067,7 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.GenerationJob = ptr.String(jtv) } + case "template": if value != nil { jtv, ok := value.(string) @@ -15561,6 +16076,7 @@ func awsRestjson1_deserializeDocumentWorldSummary(v **types.WorldSummary, value } sv.Template = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/rolesanywhere/deserializers.go b/service/rolesanywhere/deserializers.go index 8a294f2f11d..b27ad901bca 100644 --- a/service/rolesanywhere/deserializers.go +++ b/service/rolesanywhere/deserializers.go @@ -175,6 +175,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -329,6 +330,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrustAnchorOutput(v **CreateTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -486,6 +488,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAttributeMappingOutput(v **DeleteAt if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -640,6 +643,7 @@ func awsRestjson1_deserializeOpDocumentDeleteCrlOutput(v **DeleteCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -794,6 +798,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -948,6 +953,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTrustAnchorOutput(v **DeleteTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -1102,6 +1108,7 @@ func awsRestjson1_deserializeOpDocumentDisableCrlOutput(v **DisableCrlOutput, va if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -1256,6 +1263,7 @@ func awsRestjson1_deserializeOpDocumentDisableProfileOutput(v **DisableProfileOu if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -1410,6 +1418,7 @@ func awsRestjson1_deserializeOpDocumentDisableTrustAnchorOutput(v **DisableTrust if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -1564,6 +1573,7 @@ func awsRestjson1_deserializeOpDocumentEnableCrlOutput(v **EnableCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -1718,6 +1728,7 @@ func awsRestjson1_deserializeOpDocumentEnableProfileOutput(v **EnableProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -1872,6 +1883,7 @@ func awsRestjson1_deserializeOpDocumentEnableTrustAnchorOutput(v **EnableTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -2023,6 +2035,7 @@ func awsRestjson1_deserializeOpDocumentGetCrlOutput(v **GetCrlOutput, value inte if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -2177,6 +2190,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -2331,6 +2345,7 @@ func awsRestjson1_deserializeOpDocumentGetSubjectOutput(v **GetSubjectOutput, va if err := awsRestjson1_deserializeDocumentSubjectDetail(&sv.Subject, value); err != nil { return err } + default: _, _ = key, value @@ -2488,6 +2503,7 @@ func awsRestjson1_deserializeOpDocumentGetTrustAnchorOutput(v **GetTrustAnchorOu if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -2642,6 +2658,7 @@ func awsRestjson1_deserializeOpDocumentImportCrlOutput(v **ImportCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -2796,6 +2813,7 @@ func awsRestjson1_deserializeOpDocumentListCrlsOutput(v **ListCrlsOutput, value if err := awsRestjson1_deserializeDocumentCrlDetails(&sv.Crls, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2804,6 +2822,7 @@ func awsRestjson1_deserializeOpDocumentListCrlsOutput(v **ListCrlsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2962,10 +2981,12 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } + case "profiles": if err := awsRestjson1_deserializeDocumentProfileDetails(&sv.Profiles, value); err != nil { return err } + default: _, _ = key, value @@ -3124,10 +3145,12 @@ func awsRestjson1_deserializeOpDocumentListSubjectsOutput(v **ListSubjectsOutput } sv.NextToken = ptr.String(jtv) } + case "subjects": if err := awsRestjson1_deserializeDocumentSubjectSummaries(&sv.Subjects, value); err != nil { return err } + default: _, _ = key, value @@ -3285,6 +3308,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3443,10 +3467,12 @@ func awsRestjson1_deserializeOpDocumentListTrustAnchorsOutput(v **ListTrustAncho } sv.NextToken = ptr.String(jtv) } + case "trustAnchors": if err := awsRestjson1_deserializeDocumentTrustAnchorDetails(&sv.TrustAnchors, value); err != nil { return err } + default: _, _ = key, value @@ -3604,6 +3630,7 @@ func awsRestjson1_deserializeOpDocumentPutAttributeMappingOutput(v **PutAttribut if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -3761,6 +3788,7 @@ func awsRestjson1_deserializeOpDocumentPutNotificationSettingsOutput(v **PutNoti if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -3918,6 +3946,7 @@ func awsRestjson1_deserializeOpDocumentResetNotificationSettingsOutput(v **Reset if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -4266,6 +4295,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCrlOutput(v **UpdateCrlOutput, valu if err := awsRestjson1_deserializeDocumentCrlDetail(&sv.Crl, value); err != nil { return err } + default: _, _ = key, value @@ -4423,6 +4453,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp if err := awsRestjson1_deserializeDocumentProfileDetail(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -4580,6 +4611,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTrustAnchorOutput(v **UpdateTrustAn if err := awsRestjson1_deserializeDocumentTrustAnchorDetail(&sv.TrustAnchor, value); err != nil { return err } + default: _, _ = key, value @@ -4763,6 +4795,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4802,10 +4835,12 @@ func awsRestjson1_deserializeDocumentAttributeMapping(v **types.AttributeMapping } sv.CertificateField = types.CertificateField(jtv) } + case "mappingRules": if err := awsRestjson1_deserializeDocumentMappingRules(&sv.MappingRules, value); err != nil { return err } + default: _, _ = key, value @@ -4913,6 +4948,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Enabled = ptr.Bool(jtv) } + case "failed": if value != nil { jtv, ok := value.(bool) @@ -4921,6 +4957,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Failed = ptr.Bool(jtv) } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -4929,6 +4966,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.Issuer = ptr.String(jtv) } + case "seenAt": if value != nil { jtv, ok := value.(string) @@ -4941,6 +4979,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.SeenAt = ptr.Time(t) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -4949,6 +4988,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.SerialNumber = ptr.String(jtv) } + case "x509CertificateData": if value != nil { jtv, ok := value.(string) @@ -4957,6 +4997,7 @@ func awsRestjson1_deserializeDocumentCredentialSummary(v **types.CredentialSumma } sv.X509CertificateData = ptr.String(jtv) } + default: _, _ = key, value @@ -5000,6 +5041,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CreatedAt = ptr.Time(t) } + case "crlArn": if value != nil { jtv, ok := value.(string) @@ -5008,6 +5050,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlArn = ptr.String(jtv) } + case "crlData": if value != nil { jtv, ok := value.(string) @@ -5020,6 +5063,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlData = dv } + case "crlId": if value != nil { jtv, ok := value.(string) @@ -5028,6 +5072,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.CrlId = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5036,6 +5081,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.Enabled = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5044,6 +5090,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.Name = ptr.String(jtv) } + case "trustAnchorArn": if value != nil { jtv, ok := value.(string) @@ -5052,6 +5099,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.TrustAnchorArn = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5064,6 +5112,7 @@ func awsRestjson1_deserializeDocumentCrlDetail(v **types.CrlDetail, value interf } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5171,10 +5220,12 @@ func awsRestjson1_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Failed = ptr.Bool(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentInstancePropertyMap(&sv.Properties, value); err != nil { return err } + case "seenAt": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5238,7 @@ func awsRestjson1_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SeenAt = ptr.Time(t) } + default: _, _ = key, value @@ -5298,6 +5350,7 @@ func awsRestjson1_deserializeDocumentMappingRule(v **types.MappingRule, value in } sv.Specifier = ptr.String(jtv) } + default: _, _ = key, value @@ -5371,6 +5424,7 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Channel = types.NotificationChannel(jtv) } + case "configuredBy": if value != nil { jtv, ok := value.(string) @@ -5379,6 +5433,7 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.ConfiguredBy = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5387,6 +5442,7 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Enabled = ptr.Bool(jtv) } + case "event": if value != nil { jtv, ok := value.(string) @@ -5395,6 +5451,7 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Event = types.NotificationEvent(jtv) } + case "threshold": if value != nil { jtv, ok := value.(json.Number) @@ -5407,6 +5464,7 @@ func awsRestjson1_deserializeDocumentNotificationSettingDetail(v **types.Notific } sv.Threshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5480,10 +5538,12 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.AcceptRoleSessionName = ptr.Bool(jtv) } + case "attributeMappings": if err := awsRestjson1_deserializeDocumentAttributeMappings(&sv.AttributeMappings, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5496,6 +5556,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5504,6 +5565,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.CreatedBy = ptr.String(jtv) } + case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5516,6 +5578,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.DurationSeconds = ptr.Int32(int32(i64)) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5524,10 +5587,12 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.Enabled = ptr.Bool(jtv) } + case "managedPolicyArns": if err := awsRestjson1_deserializeDocumentManagedPolicyList(&sv.ManagedPolicyArns, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5536,6 +5601,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.Name = ptr.String(jtv) } + case "profileArn": if value != nil { jtv, ok := value.(string) @@ -5544,6 +5610,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.ProfileArn = ptr.String(jtv) } + case "profileId": if value != nil { jtv, ok := value.(string) @@ -5552,6 +5619,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.ProfileId = ptr.String(jtv) } + case "requireInstanceProperties": if value != nil { jtv, ok := value.(bool) @@ -5560,10 +5628,12 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.RequireInstanceProperties = ptr.Bool(jtv) } + case "roleArns": if err := awsRestjson1_deserializeDocumentRoleArnList(&sv.RoleArns, value); err != nil { return err } + case "sessionPolicy": if value != nil { jtv, ok := value.(string) @@ -5572,6 +5642,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.SessionPolicy = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5584,6 +5655,7 @@ func awsRestjson1_deserializeDocumentProfileDetail(v **types.ProfileDetail, valu } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -5657,6 +5729,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5728,6 +5801,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentSourceData(&sv.SourceData, value); err != nil { return err } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -5736,6 +5810,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) } sv.SourceType = types.TrustAnchorType(jtv) } + default: _, _ = key, value @@ -5833,10 +5908,12 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.CreatedAt = ptr.Time(t) } + case "credentials": if err := awsRestjson1_deserializeDocumentCredentialSummaries(&sv.Credentials, value); err != nil { return err } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5845,10 +5922,12 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.Enabled = ptr.Bool(jtv) } + case "instanceProperties": if err := awsRestjson1_deserializeDocumentInstanceProperties(&sv.InstanceProperties, value); err != nil { return err } + case "lastSeenAt": if value != nil { jtv, ok := value.(string) @@ -5861,6 +5940,7 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.LastSeenAt = ptr.Time(t) } + case "subjectArn": if value != nil { jtv, ok := value.(string) @@ -5869,6 +5949,7 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.SubjectArn = ptr.String(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -5877,6 +5958,7 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.SubjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -5889,6 +5971,7 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.UpdatedAt = ptr.Time(t) } + case "x509Subject": if value != nil { jtv, ok := value.(string) @@ -5897,6 +5980,7 @@ func awsRestjson1_deserializeDocumentSubjectDetail(v **types.SubjectDetail, valu } sv.X509Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -5974,6 +6058,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.CreatedAt = ptr.Time(t) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -5982,6 +6067,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.Enabled = ptr.Bool(jtv) } + case "lastSeenAt": if value != nil { jtv, ok := value.(string) @@ -5994,6 +6080,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.LastSeenAt = ptr.Time(t) } + case "subjectArn": if value != nil { jtv, ok := value.(string) @@ -6002,6 +6089,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.SubjectArn = ptr.String(jtv) } + case "subjectId": if value != nil { jtv, ok := value.(string) @@ -6010,6 +6098,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.SubjectId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6022,6 +6111,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.UpdatedAt = ptr.Time(t) } + case "x509Subject": if value != nil { jtv, ok := value.(string) @@ -6030,6 +6120,7 @@ func awsRestjson1_deserializeDocumentSubjectSummary(v **types.SubjectSummary, va } sv.X509Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -6069,6 +6160,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6077,6 +6169,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6150,6 +6243,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6193,6 +6287,7 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.CreatedAt = ptr.Time(t) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -6201,6 +6296,7 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.Enabled = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6209,14 +6305,17 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.Name = ptr.String(jtv) } + case "notificationSettings": if err := awsRestjson1_deserializeDocumentNotificationSettingDetails(&sv.NotificationSettings, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "trustAnchorArn": if value != nil { jtv, ok := value.(string) @@ -6225,6 +6324,7 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.TrustAnchorArn = ptr.String(jtv) } + case "trustAnchorId": if value != nil { jtv, ok := value.(string) @@ -6233,6 +6333,7 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.TrustAnchorId = ptr.String(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6346,7 @@ func awsRestjson1_deserializeDocumentTrustAnchorDetail(v **types.TrustAnchorDeta } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6318,6 +6420,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/route53domains/deserializers.go b/service/route53domains/deserializers.go index 8863760413f..c0f813fb042 100644 --- a/service/route53domains/deserializers.go +++ b/service/route53domains/deserializers.go @@ -4274,6 +4274,7 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4282,6 +4283,7 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.DomainName = ptr.String(jtv) } + case "InvoiceId": if value != nil { jtv, ok := value.(string) @@ -4290,6 +4292,7 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.InvoiceId = ptr.String(jtv) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -4298,6 +4301,7 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } sv.Operation = types.OperationType(jtv) } + case "Price": if value != nil { switch jtv := value.(type) { @@ -4331,6 +4335,7 @@ func awsAwsjson11_deserializeDocumentBillingRecord(v **types.BillingRecord, valu } } + default: _, _ = key, value @@ -4404,6 +4409,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.AddressLine1 = ptr.String(jtv) } + case "AddressLine2": if value != nil { jtv, ok := value.(string) @@ -4412,6 +4418,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.AddressLine2 = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -4420,6 +4427,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.City = ptr.String(jtv) } + case "ContactType": if value != nil { jtv, ok := value.(string) @@ -4428,6 +4436,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.ContactType = types.ContactType(jtv) } + case "CountryCode": if value != nil { jtv, ok := value.(string) @@ -4436,6 +4445,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.CountryCode = types.CountryCode(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -4444,10 +4454,12 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.Email = ptr.String(jtv) } + case "ExtraParams": if err := awsAwsjson11_deserializeDocumentExtraParamList(&sv.ExtraParams, value); err != nil { return err } + case "Fax": if value != nil { jtv, ok := value.(string) @@ -4456,6 +4468,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.Fax = ptr.String(jtv) } + case "FirstName": if value != nil { jtv, ok := value.(string) @@ -4464,6 +4477,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.FirstName = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -4472,6 +4486,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.LastName = ptr.String(jtv) } + case "OrganizationName": if value != nil { jtv, ok := value.(string) @@ -4480,6 +4495,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.OrganizationName = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -4488,6 +4504,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.PhoneNumber = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4496,6 +4513,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.State = ptr.String(jtv) } + case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -4504,6 +4522,7 @@ func awsAwsjson11_deserializeDocumentContactDetail(v **types.ContactDetail, valu } sv.ZipCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4547,6 +4566,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Algorithm = ptr.Int32(int32(i64)) } + case "Digest": if value != nil { jtv, ok := value.(string) @@ -4555,6 +4575,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Digest = ptr.String(jtv) } + case "DigestType": if value != nil { jtv, ok := value.(json.Number) @@ -4567,6 +4588,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.DigestType = ptr.Int32(int32(i64)) } + case "Flags": if value != nil { jtv, ok := value.(json.Number) @@ -4579,6 +4601,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Flags = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4587,6 +4610,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.Id = ptr.String(jtv) } + case "KeyTag": if value != nil { jtv, ok := value.(json.Number) @@ -4599,6 +4623,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.KeyTag = ptr.Int32(int32(i64)) } + case "PublicKey": if value != nil { jtv, ok := value.(string) @@ -4607,6 +4632,7 @@ func awsAwsjson11_deserializeDocumentDnssecKey(v **types.DnssecKey, value interf } sv.PublicKey = ptr.String(jtv) } + default: _, _ = key, value @@ -4680,6 +4706,7 @@ func awsAwsjson11_deserializeDocumentDnssecLimitExceeded(v **types.DnssecLimitEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4719,6 +4746,7 @@ func awsAwsjson11_deserializeDocumentDomainLimitExceeded(v **types.DomainLimitEx } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4754,6 +4782,7 @@ func awsAwsjson11_deserializeDocumentDomainPrice(v **types.DomainPrice, value in if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.ChangeOwnershipPrice, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4762,22 +4791,27 @@ func awsAwsjson11_deserializeDocumentDomainPrice(v **types.DomainPrice, value in } sv.Name = ptr.String(jtv) } + case "RegistrationPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RegistrationPrice, value); err != nil { return err } + case "RenewalPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RenewalPrice, value); err != nil { return err } + case "RestorationPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.RestorationPrice, value); err != nil { return err } + case "TransferPrice": if err := awsAwsjson11_deserializeDocumentPriceWithCurrency(&sv.TransferPrice, value); err != nil { return err } + default: _, _ = key, value @@ -4887,6 +4921,7 @@ func awsAwsjson11_deserializeDocumentDomainSuggestion(v **types.DomainSuggestion } sv.Availability = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4895,6 +4930,7 @@ func awsAwsjson11_deserializeDocumentDomainSuggestion(v **types.DomainSuggestion } sv.DomainName = ptr.String(jtv) } + default: _, _ = key, value @@ -4968,6 +5004,7 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.AutoRenew = ptr.Bool(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -4976,6 +5013,7 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainName = ptr.String(jtv) } + case "Expiry": if value != nil { switch jtv := value.(type) { @@ -4991,6 +5029,7 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "TransferLock": if value != nil { jtv, ok := value.(bool) @@ -4999,6 +5038,7 @@ func awsAwsjson11_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.TransferLock = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5072,6 +5112,7 @@ func awsAwsjson11_deserializeDocumentDomainTransferability(v **types.DomainTrans } sv.Transferable = types.Transferable(jtv) } + default: _, _ = key, value @@ -5111,6 +5152,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.Message = ptr.String(jtv) } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5119,6 +5161,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.RequestId = ptr.String(jtv) } + default: _, _ = key, value @@ -5158,6 +5201,7 @@ func awsAwsjson11_deserializeDocumentExtraParam(v **types.ExtraParam, value inte } sv.Name = types.ExtraParamName(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5166,6 +5210,7 @@ func awsAwsjson11_deserializeDocumentExtraParam(v **types.ExtraParam, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5275,6 +5320,7 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5310,6 +5356,7 @@ func awsAwsjson11_deserializeDocumentNameserver(v **types.Nameserver, value inte if err := awsAwsjson11_deserializeDocumentGlueIpList(&sv.GlueIps, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5318,6 +5365,7 @@ func awsAwsjson11_deserializeDocumentNameserver(v **types.Nameserver, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5391,6 +5439,7 @@ func awsAwsjson11_deserializeDocumentOperationLimitExceeded(v **types.OperationL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5430,6 +5479,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -5445,6 +5495,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -5453,6 +5504,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Message = ptr.String(jtv) } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -5461,6 +5513,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.OperationId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5469,6 +5522,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } + case "StatusFlag": if value != nil { jtv, ok := value.(string) @@ -5477,6 +5531,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.StatusFlag = types.StatusFlag(jtv) } + case "SubmittedDate": if value != nil { switch jtv := value.(type) { @@ -5492,6 +5547,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5500,6 +5556,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Type = types.OperationType(jtv) } + default: _, _ = key, value @@ -5573,6 +5630,7 @@ func awsAwsjson11_deserializeDocumentPriceWithCurrency(v **types.PriceWithCurren } sv.Currency = ptr.String(jtv) } + case "Price": if value != nil { switch jtv := value.(type) { @@ -5606,6 +5664,7 @@ func awsAwsjson11_deserializeDocumentPriceWithCurrency(v **types.PriceWithCurren } } + default: _, _ = key, value @@ -5645,6 +5704,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5713,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5726,6 +5787,7 @@ func awsAwsjson11_deserializeDocumentTLDRulesViolation(v **types.TLDRulesViolati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5765,6 +5827,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedTLD(v **types.UnsupportedTLD, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5804,6 +5867,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptDomainTransferFromAnotherAwsAccount } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5843,6 +5907,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateDelegationSignerToDomainOutput(v } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5882,6 +5947,7 @@ func awsAwsjson11_deserializeOpDocumentCancelDomainTransferToAnotherAwsAccountOu } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5921,6 +5987,7 @@ func awsAwsjson11_deserializeOpDocumentCheckDomainAvailabilityOutput(v **CheckDo } sv.Availability = types.DomainAvailability(jtv) } + default: _, _ = key, value @@ -5960,10 +6027,12 @@ func awsAwsjson11_deserializeOpDocumentCheckDomainTransferabilityOutput(v **Chec } sv.Message = ptr.String(jtv) } + case "Transferability": if err := awsAwsjson11_deserializeDocumentDomainTransferability(&sv.Transferability, value); err != nil { return err } + default: _, _ = key, value @@ -6003,6 +6072,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteDomainOutput(v **DeleteDomainOutput } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6104,6 +6174,7 @@ func awsAwsjson11_deserializeOpDocumentDisableDomainTransferLockOutput(v **Disab } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6143,6 +6214,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateDelegationSignerFromDomainOut } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6213,6 +6285,7 @@ func awsAwsjson11_deserializeOpDocumentEnableDomainTransferLockOutput(v **Enable } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6252,6 +6325,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactReachabilityStatusOutput(v **Ge } sv.DomainName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6260,6 +6334,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactReachabilityStatusOutput(v **Ge } sv.Status = types.ReachabilityStatus(jtv) } + default: _, _ = key, value @@ -6299,6 +6374,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AbuseContactEmail = ptr.String(jtv) } + case "AbuseContactPhone": if value != nil { jtv, ok := value.(string) @@ -6307,10 +6383,12 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AbuseContactPhone = ptr.String(jtv) } + case "AdminContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.AdminContact, value); err != nil { return err } + case "AdminPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6319,6 +6397,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AdminPrivacy = ptr.Bool(jtv) } + case "AutoRenew": if value != nil { jtv, ok := value.(bool) @@ -6327,10 +6406,12 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.AutoRenew = ptr.Bool(jtv) } + case "BillingContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.BillingContact, value); err != nil { return err } + case "BillingPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6339,6 +6420,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.BillingPrivacy = ptr.Bool(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -6354,6 +6436,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } + case "DnsSec": if value != nil { jtv, ok := value.(string) @@ -6362,10 +6445,12 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.DnsSec = ptr.String(jtv) } + case "DnssecKeys": if err := awsAwsjson11_deserializeDocumentDnssecKeyList(&sv.DnssecKeys, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -6374,6 +6459,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.DomainName = ptr.String(jtv) } + case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -6389,14 +6475,17 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } + case "Nameservers": if err := awsAwsjson11_deserializeDocumentNameserverList(&sv.Nameservers, value); err != nil { return err } + case "RegistrantContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.RegistrantContact, value); err != nil { return err } + case "RegistrantPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6405,6 +6494,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrantPrivacy = ptr.Bool(jtv) } + case "RegistrarName": if value != nil { jtv, ok := value.(string) @@ -6413,6 +6503,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrarName = ptr.String(jtv) } + case "RegistrarUrl": if value != nil { jtv, ok := value.(string) @@ -6421,6 +6512,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistrarUrl = ptr.String(jtv) } + case "RegistryDomainId": if value != nil { jtv, ok := value.(string) @@ -6429,6 +6521,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.RegistryDomainId = ptr.String(jtv) } + case "Reseller": if value != nil { jtv, ok := value.(string) @@ -6437,14 +6530,17 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.Reseller = ptr.String(jtv) } + case "StatusList": if err := awsAwsjson11_deserializeDocumentDomainStatusList(&sv.StatusList, value); err != nil { return err } + case "TechContact": if err := awsAwsjson11_deserializeDocumentContactDetail(&sv.TechContact, value); err != nil { return err } + case "TechPrivacy": if value != nil { jtv, ok := value.(bool) @@ -6453,6 +6549,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.TechPrivacy = ptr.Bool(jtv) } + case "UpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6468,6 +6565,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } } + case "WhoIsServer": if value != nil { jtv, ok := value.(string) @@ -6476,6 +6574,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainDetailOutput(v **GetDomainDetail } sv.WhoIsServer = ptr.String(jtv) } + default: _, _ = key, value @@ -6511,6 +6610,7 @@ func awsAwsjson11_deserializeOpDocumentGetDomainSuggestionsOutput(v **GetDomainS if err := awsAwsjson11_deserializeDocumentDomainSuggestionsList(&sv.SuggestionsList, value); err != nil { return err } + default: _, _ = key, value @@ -6550,6 +6650,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.DomainName = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -6565,6 +6666,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -6573,6 +6675,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Message = ptr.String(jtv) } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6684,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.OperationId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6589,6 +6693,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Status = types.OperationStatus(jtv) } + case "StatusFlag": if value != nil { jtv, ok := value.(string) @@ -6597,6 +6702,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.StatusFlag = types.StatusFlag(jtv) } + case "SubmittedDate": if value != nil { switch jtv := value.(type) { @@ -6612,6 +6718,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6620,6 +6727,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationDetailOutput(v **GetOperation } sv.Type = types.OperationType(jtv) } + default: _, _ = key, value @@ -6655,6 +6763,7 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson11_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { return err } + case "NextPageMarker": if value != nil { jtv, ok := value.(string) @@ -6663,6 +6772,7 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextPageMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -6702,10 +6812,12 @@ func awsAwsjson11_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextPageMarker = ptr.String(jtv) } + case "Operations": if err := awsAwsjson11_deserializeDocumentOperationSummaryList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -6745,10 +6857,12 @@ func awsAwsjson11_deserializeOpDocumentListPricesOutput(v **ListPricesOutput, va } sv.NextPageMarker = ptr.String(jtv) } + case "Prices": if err := awsAwsjson11_deserializeDocumentDomainPriceList(&sv.Prices, value); err != nil { return err } + default: _, _ = key, value @@ -6784,6 +6898,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForDomainOutput(v **ListTagsForDo if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -6823,6 +6938,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterDomainOutput(v **RegisterDomainOu } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6862,6 +6978,7 @@ func awsAwsjson11_deserializeOpDocumentRejectDomainTransferFromAnotherAwsAccount } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6901,6 +7018,7 @@ func awsAwsjson11_deserializeOpDocumentRenewDomainOutput(v **RenewDomainOutput, } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6940,6 +7058,7 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.DomainName = ptr.String(jtv) } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -6948,6 +7067,7 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.EmailAddress = ptr.String(jtv) } + case "isAlreadyVerified": if value != nil { jtv, ok := value.(bool) @@ -6956,6 +7076,7 @@ func awsAwsjson11_deserializeOpDocumentResendContactReachabilityEmailOutput(v ** } sv.IsAlreadyVerified = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6995,6 +7116,7 @@ func awsAwsjson11_deserializeOpDocumentRetrieveDomainAuthCodeOutput(v **Retrieve } sv.AuthCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7034,6 +7156,7 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainOutput(v **TransferDomainOu } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7073,6 +7196,7 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainToAnotherAwsAccountOutput(v } sv.OperationId = ptr.String(jtv) } + case "Password": if value != nil { jtv, ok := value.(string) @@ -7081,6 +7205,7 @@ func awsAwsjson11_deserializeOpDocumentTransferDomainToAnotherAwsAccountOutput(v } sv.Password = ptr.String(jtv) } + default: _, _ = key, value @@ -7120,6 +7245,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainContactOutput(v **UpdateDomai } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7159,6 +7285,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainContactPrivacyOutput(v **Upda } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7198,6 +7325,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainNameserversOutput(v **UpdateD } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7264,6 +7392,7 @@ func awsAwsjson11_deserializeOpDocumentViewBillingOutput(v **ViewBillingOutput, if err := awsAwsjson11_deserializeDocumentBillingRecords(&sv.BillingRecords, value); err != nil { return err } + case "NextPageMarker": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7401,7 @@ func awsAwsjson11_deserializeOpDocumentViewBillingOutput(v **ViewBillingOutput, } sv.NextPageMarker = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/route53profiles/deserializers.go b/service/route53profiles/deserializers.go index 2c1e96bc1d6..4a7c6fc3336 100644 --- a/service/route53profiles/deserializers.go +++ b/service/route53profiles/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentAssociateProfileOutput(v **AssociateProfi if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -364,6 +365,7 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceToProfileOutput(v **Asso if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -527,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -690,6 +693,7 @@ func awsRestjson1_deserializeOpDocumentDeleteProfileOutput(v **DeleteProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -856,6 +860,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateProfileOutput(v **Disassociat if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1028,6 +1033,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceFromProfileOutput(v * if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1188,6 +1194,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -1348,6 +1355,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileAssociationOutput(v **GetProfil if err := awsRestjson1_deserializeDocumentProfileAssociation(&sv.ProfileAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1511,6 +1519,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileResourceAssociationOutput(v **G if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -1678,10 +1687,12 @@ func awsRestjson1_deserializeOpDocumentListProfileAssociationsOutput(v **ListPro } sv.NextToken = ptr.String(jtv) } + case "ProfileAssociations": if err := awsRestjson1_deserializeDocumentProfileAssociations(&sv.ProfileAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -1855,10 +1866,12 @@ func awsRestjson1_deserializeOpDocumentListProfileResourceAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "ProfileResourceAssociations": if err := awsRestjson1_deserializeDocumentProfileResourceAssociations(&sv.ProfileResourceAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -2026,10 +2039,12 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } + case "ProfileSummaries": if err := awsRestjson1_deserializeDocumentProfileSummaryList(&sv.ProfileSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -2193,6 +2208,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2562,6 +2578,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileResourceAssociationOutput(v if err := awsRestjson1_deserializeDocumentProfileResourceAssociation(&sv.ProfileResourceAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -2961,6 +2978,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3000,6 +3018,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3039,6 +3058,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3078,6 +3098,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3117,6 +3138,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FieldName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3125,6 +3147,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3164,6 +3187,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3172,6 +3196,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3211,6 +3236,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Arn = ptr.String(jtv) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -3219,6 +3245,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ClientToken = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3234,6 +3261,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3242,6 +3270,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Id = ptr.String(jtv) } + case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3257,6 +3286,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3265,6 +3295,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3273,6 +3304,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.OwnerId = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -3281,6 +3313,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ShareStatus = types.ShareStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3289,6 +3322,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Status = types.ProfileStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3297,6 +3331,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3343,6 +3378,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3387,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Id = ptr.String(jtv) } + case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3366,6 +3403,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3374,6 +3412,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3382,6 +3421,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.OwnerId = ptr.String(jtv) } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -3390,6 +3430,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.ProfileId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3398,6 +3439,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.ResourceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3406,6 +3448,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.Status = types.ProfileStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3414,6 +3457,7 @@ func awsRestjson1_deserializeDocumentProfileAssociation(v **types.ProfileAssocia } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3494,6 +3538,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3502,6 +3547,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Id = ptr.String(jtv) } + case "ModificationTime": if value != nil { switch jtv := value.(type) { @@ -3517,6 +3563,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3525,6 +3572,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -3533,6 +3581,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.OwnerId = ptr.String(jtv) } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -3541,6 +3590,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ProfileId = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -3549,6 +3599,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceArn = ptr.String(jtv) } + case "ResourceProperties": if value != nil { jtv, ok := value.(string) @@ -3557,6 +3608,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceProperties = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3565,6 +3617,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.ResourceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3573,6 +3626,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.Status = types.ProfileStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3581,6 +3635,7 @@ func awsRestjson1_deserializeDocumentProfileResourceAssociation(v **types.Profil } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3654,6 +3709,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3662,6 +3718,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3670,6 +3727,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Name = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -3678,6 +3736,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ShareStatus = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -3751,6 +3810,7 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3759,6 +3819,7 @@ func awsRestjson1_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3798,6 +3859,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -3806,6 +3868,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3881,6 +3944,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3920,6 +3984,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/route53recoverycluster/deserializers.go b/service/route53recoverycluster/deserializers.go index fc799042daa..f46d8239d38 100644 --- a/service/route53recoverycluster/deserializers.go +++ b/service/route53recoverycluster/deserializers.go @@ -852,6 +852,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -891,6 +892,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -899,6 +901,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -907,6 +910,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -946,6 +950,7 @@ func awsAwsjson10_deserializeDocumentEndpointTemporarilyUnavailableException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -985,6 +990,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -997,6 +1003,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -1036,6 +1043,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1044,6 +1052,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1052,6 +1061,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -1091,6 +1101,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelArn = ptr.String(jtv) } + case "ControlPanelName": if value != nil { jtv, ok := value.(string) @@ -1099,6 +1110,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelName = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -1107,6 +1119,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Owner = ptr.String(jtv) } + case "RoutingControlArn": if value != nil { jtv, ok := value.(string) @@ -1115,6 +1128,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlArn = ptr.String(jtv) } + case "RoutingControlName": if value != nil { jtv, ok := value.(string) @@ -1123,6 +1137,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlName = ptr.String(jtv) } + case "RoutingControlState": if value != nil { jtv, ok := value.(string) @@ -1131,6 +1146,7 @@ func awsAwsjson10_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlState = types.RoutingControlState(jtv) } + default: _, _ = key, value @@ -1204,6 +1220,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.LimitCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -1212,6 +1229,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1220,6 +1238,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1228,6 +1247,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -1236,6 +1256,7 @@ func awsAwsjson10_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -1275,6 +1296,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1287,6 +1309,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -1322,6 +1345,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -1330,6 +1354,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -1338,6 +1363,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -1377,6 +1403,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1385,6 +1412,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1458,6 +1486,7 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlArn = ptr.String(jtv) } + case "RoutingControlName": if value != nil { jtv, ok := value.(string) @@ -1466,6 +1495,7 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlName = ptr.String(jtv) } + case "RoutingControlState": if value != nil { jtv, ok := value.(string) @@ -1474,6 +1504,7 @@ func awsAwsjson10_deserializeOpDocumentGetRoutingControlStateOutput(v **GetRouti } sv.RoutingControlState = types.RoutingControlState(jtv) } + default: _, _ = key, value @@ -1513,10 +1544,12 @@ func awsAwsjson10_deserializeOpDocumentListRoutingControlsOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } + case "RoutingControls": if err := awsAwsjson10_deserializeDocumentRoutingControls(&sv.RoutingControls, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/route53recoverycontrolconfig/deserializers.go b/service/route53recoverycontrolconfig/deserializers.go index 864cf0a4495..a823fa29e9e 100644 --- a/service/route53recoverycontrolconfig/deserializers.go +++ b/service/route53recoverycontrolconfig/deserializers.go @@ -189,6 +189,7 @@ func awsRestjson1_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -358,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentCreateControlPanelOutput(v **CreateContro if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } + default: _, _ = key, value @@ -527,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentCreateRoutingControlOutput(v **CreateRout if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } + default: _, _ = key, value @@ -681,10 +684,12 @@ func awsRestjson1_deserializeOpDocumentCreateSafetyRuleOutput(v **CreateSafetyRu if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } + case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } + default: _, _ = key, value @@ -1254,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsRestjson1_deserializeDocumentCluster(&sv.Cluster, value); err != nil { return err } + default: _, _ = key, value @@ -1420,6 +1426,7 @@ func awsRestjson1_deserializeOpDocumentDescribeControlPanelOutput(v **DescribeCo if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } + default: _, _ = key, value @@ -1586,6 +1593,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRoutingControlOutput(v **Describe if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } + default: _, _ = key, value @@ -1740,10 +1748,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSafetyRuleOutput(v **DescribeSafe if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } + case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } + default: _, _ = key, value @@ -1902,6 +1912,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -2059,6 +2070,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedRoute53HealthChecksOutput(v if err := awsRestjson1_deserializeDocument__listOf__stringMax36PatternS(&sv.HealthCheckIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2067,6 +2079,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedRoute53HealthChecksOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2230,6 +2243,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsRestjson1_deserializeDocument__listOfCluster(&sv.Clusters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2238,6 +2252,7 @@ func awsRestjson1_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2401,6 +2416,7 @@ func awsRestjson1_deserializeOpDocumentListControlPanelsOutput(v **ListControlPa if err := awsRestjson1_deserializeDocument__listOfControlPanel(&sv.ControlPanels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2409,6 +2425,7 @@ func awsRestjson1_deserializeOpDocumentListControlPanelsOutput(v **ListControlPa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2576,10 +2593,12 @@ func awsRestjson1_deserializeOpDocumentListRoutingControlsOutput(v **ListRouting } sv.NextToken = ptr.String(jtv) } + case "RoutingControls": if err := awsRestjson1_deserializeDocument__listOfRoutingControl(&sv.RoutingControls, value); err != nil { return err } + default: _, _ = key, value @@ -2747,10 +2766,12 @@ func awsRestjson1_deserializeOpDocumentListSafetyRulesOutput(v **ListSafetyRules } sv.NextToken = ptr.String(jtv) } + case "SafetyRules": if err := awsRestjson1_deserializeDocument__listOfRule(&sv.SafetyRules, value); err != nil { return err } + default: _, _ = key, value @@ -2908,6 +2929,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocument__mapOf__stringMin0Max256PatternS(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3262,6 +3284,7 @@ func awsRestjson1_deserializeOpDocumentUpdateControlPanelOutput(v **UpdateContro if err := awsRestjson1_deserializeDocumentControlPanel(&sv.ControlPanel, value); err != nil { return err } + default: _, _ = key, value @@ -3428,6 +3451,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRoutingControlOutput(v **UpdateRout if err := awsRestjson1_deserializeDocumentRoutingControl(&sv.RoutingControl, value); err != nil { return err } + default: _, _ = key, value @@ -3585,10 +3609,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSafetyRuleOutput(v **UpdateSafetyRu if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.AssertionRule, value); err != nil { return err } + case "GatingRule": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GatingRule, value); err != nil { return err } + default: _, _ = key, value @@ -4158,6 +4184,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4193,6 +4220,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.AssertedControls, value); err != nil { return err } + case "ControlPanelArn": if value != nil { jtv, ok := value.(string) @@ -4201,6 +4229,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.ControlPanelArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4209,6 +4238,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4217,10 +4247,12 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Owner = ptr.String(jtv) } + case "RuleConfig": if err := awsRestjson1_deserializeDocumentRuleConfig(&sv.RuleConfig, value); err != nil { return err } + case "SafetyRuleArn": if value != nil { jtv, ok := value.(string) @@ -4229,6 +4261,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.SafetyRuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4237,6 +4270,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.Status = types.Status(jtv) } + case "WaitPeriodMs": if value != nil { jtv, ok := value.(json.Number) @@ -4249,6 +4283,7 @@ func awsRestjson1_deserializeDocumentAssertionRule(v **types.AssertionRule, valu } sv.WaitPeriodMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4288,10 +4323,12 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.ClusterArn = ptr.String(jtv) } + case "ClusterEndpoints": if err := awsRestjson1_deserializeDocument__listOfClusterEndpoint(&sv.ClusterEndpoints, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4300,6 +4337,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4308,6 +4346,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Owner = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4316,6 +4355,7 @@ func awsRestjson1_deserializeDocumentCluster(v **types.Cluster, value interface{ } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -4355,6 +4395,7 @@ func awsRestjson1_deserializeDocumentClusterEndpoint(v **types.ClusterEndpoint, } sv.Endpoint = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -4363,6 +4404,7 @@ func awsRestjson1_deserializeDocumentClusterEndpoint(v **types.ClusterEndpoint, } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -4402,6 +4444,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4441,6 +4484,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.ClusterArn = ptr.String(jtv) } + case "ControlPanelArn": if value != nil { jtv, ok := value.(string) @@ -4449,6 +4493,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.ControlPanelArn = ptr.String(jtv) } + case "DefaultControlPanel": if value != nil { jtv, ok := value.(bool) @@ -4457,6 +4502,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.DefaultControlPanel = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4465,6 +4511,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4473,6 +4520,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Owner = ptr.String(jtv) } + case "RoutingControlCount": if value != nil { jtv, ok := value.(json.Number) @@ -4485,6 +4533,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.RoutingControlCount = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4493,6 +4542,7 @@ func awsRestjson1_deserializeDocumentControlPanel(v **types.ControlPanel, value } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -4532,10 +4582,12 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.ControlPanelArn = ptr.String(jtv) } + case "GatingControls": if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.GatingControls, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4544,6 +4596,7 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4552,10 +4605,12 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Owner = ptr.String(jtv) } + case "RuleConfig": if err := awsRestjson1_deserializeDocumentRuleConfig(&sv.RuleConfig, value); err != nil { return err } + case "SafetyRuleArn": if value != nil { jtv, ok := value.(string) @@ -4564,6 +4619,7 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.SafetyRuleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4572,10 +4628,12 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.Status = types.Status(jtv) } + case "TargetControls": if err := awsRestjson1_deserializeDocument__listOf__stringMin1Max256PatternAZaZ09(&sv.TargetControls, value); err != nil { return err } + case "WaitPeriodMs": if value != nil { jtv, ok := value.(json.Number) @@ -4588,6 +4646,7 @@ func awsRestjson1_deserializeDocumentGatingRule(v **types.GatingRule, value inte } sv.WaitPeriodMs = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4627,6 +4686,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4666,6 +4726,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4705,6 +4766,7 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.ControlPanelArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4713,6 +4775,7 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -4721,6 +4784,7 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Owner = ptr.String(jtv) } + case "RoutingControlArn": if value != nil { jtv, ok := value.(string) @@ -4729,6 +4793,7 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.RoutingControlArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4737,6 +4802,7 @@ func awsRestjson1_deserializeDocumentRoutingControl(v **types.RoutingControl, va } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -4772,10 +4838,12 @@ func awsRestjson1_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsRestjson1_deserializeDocumentAssertionRule(&sv.ASSERTION, value); err != nil { return err } + case "GATING": if err := awsRestjson1_deserializeDocumentGatingRule(&sv.GATING, value); err != nil { return err } + default: _, _ = key, value @@ -4815,6 +4883,7 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Inverted = ptr.Bool(jtv) } + case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -4827,6 +4896,7 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Threshold = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4835,6 +4905,7 @@ func awsRestjson1_deserializeDocumentRuleConfig(v **types.RuleConfig, value inte } sv.Type = types.RuleType(jtv) } + default: _, _ = key, value @@ -4874,6 +4945,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4913,6 +4985,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4952,6 +5025,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/route53recoveryreadiness/deserializers.go b/service/route53recoveryreadiness/deserializers.go index bdda76482a1..3defbf3c011 100644 --- a/service/route53recoveryreadiness/deserializers.go +++ b/service/route53recoveryreadiness/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCreateCellOutput(v **CreateCellOutput, va } sv.CellArn = ptr.String(jtv) } + case "cellName": if value != nil { jtv, ok := value.(string) @@ -196,18 +197,22 @@ func awsRestjson1_deserializeOpDocumentCreateCellOutput(v **CreateCellOutput, va } sv.CellName = ptr.String(jtv) } + case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -375,6 +380,7 @@ func awsRestjson1_deserializeOpDocumentCreateCrossAccountAuthorizationOutput(v * } sv.CrossAccountAuthorization = ptr.String(jtv) } + default: _, _ = key, value @@ -542,6 +548,7 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ReadinessCheckArn = ptr.String(jtv) } + case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -550,6 +557,7 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ReadinessCheckName = ptr.String(jtv) } + case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -558,10 +566,12 @@ func awsRestjson1_deserializeOpDocumentCreateReadinessCheckOutput(v **CreateRead } sv.ResourceSet = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -725,6 +735,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -733,6 +744,7 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov } sv.RecoveryGroupArn = ptr.String(jtv) } + case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -741,10 +753,12 @@ func awsRestjson1_deserializeOpDocumentCreateRecoveryGroupOutput(v **CreateRecov } sv.RecoveryGroupName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -908,6 +922,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } + case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -916,6 +931,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetArn = ptr.String(jtv) } + case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -924,6 +940,7 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetName = ptr.String(jtv) } + case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -932,10 +949,12 @@ func awsRestjson1_deserializeOpDocumentCreateResourceSetOutput(v **CreateResourc } sv.ResourceSetType = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1628,6 +1647,7 @@ func awsRestjson1_deserializeOpDocumentGetArchitectureRecommendationsOutput(v ** } sv.LastAuditTimestamp = ptr.Time(t) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1636,10 +1656,12 @@ func awsRestjson1_deserializeOpDocumentGetArchitectureRecommendationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "recommendations": if err := awsRestjson1_deserializeDocument__listOfRecommendation(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -1807,6 +1829,7 @@ func awsRestjson1_deserializeOpDocumentGetCellOutput(v **GetCellOutput, value in } sv.CellArn = ptr.String(jtv) } + case "cellName": if value != nil { jtv, ok := value.(string) @@ -1815,18 +1838,22 @@ func awsRestjson1_deserializeOpDocumentGetCellOutput(v **GetCellOutput, value in } sv.CellName = ptr.String(jtv) } + case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1994,6 +2021,7 @@ func awsRestjson1_deserializeOpDocumentGetCellReadinessSummaryOutput(v **GetCell } sv.NextToken = ptr.String(jtv) } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -2002,10 +2030,12 @@ func awsRestjson1_deserializeOpDocumentGetCellReadinessSummaryOutput(v **GetCell } sv.Readiness = types.Readiness(jtv) } + case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckSummary(&sv.ReadinessChecks, value); err != nil { return err } + default: _, _ = key, value @@ -2173,6 +2203,7 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ReadinessCheckArn = ptr.String(jtv) } + case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -2181,6 +2212,7 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ReadinessCheckName = ptr.String(jtv) } + case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -2189,10 +2221,12 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckOutput(v **GetReadinessC } sv.ResourceSet = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2360,6 +2394,7 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckResourceStatusOutput(v * } sv.NextToken = ptr.String(jtv) } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -2368,10 +2403,12 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckResourceStatusOutput(v * } sv.Readiness = types.Readiness(jtv) } + case "rules": if err := awsRestjson1_deserializeDocument__listOfRuleResult(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -2535,6 +2572,7 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead if err := awsRestjson1_deserializeDocument__listOfMessage(&sv.Messages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2543,6 +2581,7 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead } sv.NextToken = ptr.String(jtv) } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -2551,10 +2590,12 @@ func awsRestjson1_deserializeOpDocumentGetReadinessCheckStatusOutput(v **GetRead } sv.Readiness = types.Readiness(jtv) } + case "resources": if err := awsRestjson1_deserializeDocument__listOfResourceResult(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -2718,6 +2759,7 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -2726,6 +2768,7 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro } sv.RecoveryGroupArn = ptr.String(jtv) } + case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -2734,10 +2777,12 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupOutput(v **GetRecoveryGro } sv.RecoveryGroupName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2905,6 +2950,7 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupReadinessSummaryOutput(v } sv.NextToken = ptr.String(jtv) } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -2913,10 +2959,12 @@ func awsRestjson1_deserializeOpDocumentGetRecoveryGroupReadinessSummaryOutput(v } sv.Readiness = types.Readiness(jtv) } + case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckSummary(&sv.ReadinessChecks, value); err != nil { return err } + default: _, _ = key, value @@ -3080,6 +3128,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } + case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -3088,6 +3137,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetArn = ptr.String(jtv) } + case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -3096,6 +3146,7 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetName = ptr.String(jtv) } + case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -3104,10 +3155,12 @@ func awsRestjson1_deserializeOpDocumentGetResourceSetOutput(v **GetResourceSetOu } sv.ResourceSetType = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3268,6 +3321,7 @@ func awsRestjson1_deserializeOpDocumentListCellsOutput(v **ListCellsOutput, valu if err := awsRestjson1_deserializeDocument__listOfCellOutput(&sv.Cells, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3276,6 +3330,7 @@ func awsRestjson1_deserializeOpDocumentListCellsOutput(v **ListCellsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3436,6 +3491,7 @@ func awsRestjson1_deserializeOpDocumentListCrossAccountAuthorizationsOutput(v ** if err := awsRestjson1_deserializeDocument__listOfCrossAccountAuthorization(&sv.CrossAccountAuthorizations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3444,6 +3500,7 @@ func awsRestjson1_deserializeOpDocumentListCrossAccountAuthorizationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3608,10 +3665,12 @@ func awsRestjson1_deserializeOpDocumentListReadinessChecksOutput(v **ListReadine } sv.NextToken = ptr.String(jtv) } + case "readinessChecks": if err := awsRestjson1_deserializeDocument__listOfReadinessCheckOutput(&sv.ReadinessChecks, value); err != nil { return err } + default: _, _ = key, value @@ -3776,10 +3835,12 @@ func awsRestjson1_deserializeOpDocumentListRecoveryGroupsOutput(v **ListRecovery } sv.NextToken = ptr.String(jtv) } + case "recoveryGroups": if err := awsRestjson1_deserializeDocument__listOfRecoveryGroupOutput(&sv.RecoveryGroups, value); err != nil { return err } + default: _, _ = key, value @@ -3944,10 +4005,12 @@ func awsRestjson1_deserializeOpDocumentListResourceSetsOutput(v **ListResourceSe } sv.NextToken = ptr.String(jtv) } + case "resourceSets": if err := awsRestjson1_deserializeDocument__listOfResourceSetOutput(&sv.ResourceSets, value); err != nil { return err } + default: _, _ = key, value @@ -4112,10 +4175,12 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + case "rules": if err := awsRestjson1_deserializeDocument__listOfListRulesOutput(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -4273,6 +4338,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsFo if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4634,6 +4700,7 @@ func awsRestjson1_deserializeOpDocumentUpdateCellOutput(v **UpdateCellOutput, va } sv.CellArn = ptr.String(jtv) } + case "cellName": if value != nil { jtv, ok := value.(string) @@ -4642,18 +4709,22 @@ func awsRestjson1_deserializeOpDocumentUpdateCellOutput(v **UpdateCellOutput, va } sv.CellName = ptr.String(jtv) } + case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4821,6 +4892,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ReadinessCheckArn = ptr.String(jtv) } + case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -4829,6 +4901,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ReadinessCheckName = ptr.String(jtv) } + case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -4837,10 +4910,12 @@ func awsRestjson1_deserializeOpDocumentUpdateReadinessCheckOutput(v **UpdateRead } sv.ResourceSet = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5004,6 +5079,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -5012,6 +5088,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov } sv.RecoveryGroupArn = ptr.String(jtv) } + case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -5020,10 +5097,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRecoveryGroupOutput(v **UpdateRecov } sv.RecoveryGroupName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5187,6 +5266,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } + case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -5195,6 +5275,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetArn = ptr.String(jtv) } + case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -5203,6 +5284,7 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetName = ptr.String(jtv) } + case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -5211,10 +5293,12 @@ func awsRestjson1_deserializeOpDocumentUpdateResourceSetOutput(v **UpdateResourc } sv.ResourceSetType = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5916,6 +6000,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5955,6 +6040,7 @@ func awsRestjson1_deserializeDocumentCellOutput(v **types.CellOutput, value inte } sv.CellArn = ptr.String(jtv) } + case "cellName": if value != nil { jtv, ok := value.(string) @@ -5963,18 +6049,22 @@ func awsRestjson1_deserializeDocumentCellOutput(v **types.CellOutput, value inte } sv.CellName = ptr.String(jtv) } + case "cells": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "parentReadinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ParentReadinessScopes, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6014,6 +6104,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6053,6 +6144,7 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.DomainName = ptr.String(jtv) } + case "hostedZoneArn": if value != nil { jtv, ok := value.(string) @@ -6061,6 +6153,7 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.HostedZoneArn = ptr.String(jtv) } + case "recordSetId": if value != nil { jtv, ok := value.(string) @@ -6069,6 +6162,7 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.RecordSetId = ptr.String(jtv) } + case "recordType": if value != nil { jtv, ok := value.(string) @@ -6077,10 +6171,12 @@ func awsRestjson1_deserializeDocumentDNSTargetResource(v **types.DNSTargetResour } sv.RecordType = ptr.String(jtv) } + case "targetResource": if err := awsRestjson1_deserializeDocumentTargetResource(&sv.TargetResource, value); err != nil { return err } + default: _, _ = key, value @@ -6120,6 +6216,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6159,6 +6256,7 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.ResourceType = ptr.String(jtv) } + case "ruleDescription": if value != nil { jtv, ok := value.(string) @@ -6167,6 +6265,7 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.RuleDescription = ptr.String(jtv) } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -6175,6 +6274,7 @@ func awsRestjson1_deserializeDocumentListRulesOutput(v **types.ListRulesOutput, } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -6214,6 +6314,7 @@ func awsRestjson1_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageText = ptr.String(jtv) } + default: _, _ = key, value @@ -6253,6 +6354,7 @@ func awsRestjson1_deserializeDocumentNLBResource(v **types.NLBResource, value in } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -6292,6 +6394,7 @@ func awsRestjson1_deserializeDocumentR53ResourceRecord(v **types.R53ResourceReco } sv.DomainName = ptr.String(jtv) } + case "recordSetId": if value != nil { jtv, ok := value.(string) @@ -6300,6 +6403,7 @@ func awsRestjson1_deserializeDocumentR53ResourceRecord(v **types.R53ResourceReco } sv.RecordSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -6339,6 +6443,7 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ReadinessCheckArn = ptr.String(jtv) } + case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6452,7 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ReadinessCheckName = ptr.String(jtv) } + case "resourceSet": if value != nil { jtv, ok := value.(string) @@ -6355,10 +6461,12 @@ func awsRestjson1_deserializeDocumentReadinessCheckOutput(v **types.ReadinessChe } sv.ResourceSet = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6398,6 +6506,7 @@ func awsRestjson1_deserializeDocumentReadinessCheckSummary(v **types.ReadinessCh } sv.Readiness = types.Readiness(jtv) } + case "readinessCheckName": if value != nil { jtv, ok := value.(string) @@ -6406,6 +6515,7 @@ func awsRestjson1_deserializeDocumentReadinessCheckSummary(v **types.ReadinessCh } sv.ReadinessCheckName = ptr.String(jtv) } + default: _, _ = key, value @@ -6445,6 +6555,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.RecommendationText = ptr.String(jtv) } + default: _, _ = key, value @@ -6480,6 +6591,7 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Cells, value); err != nil { return err } + case "recoveryGroupArn": if value != nil { jtv, ok := value.(string) @@ -6488,6 +6600,7 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup } sv.RecoveryGroupArn = ptr.String(jtv) } + case "recoveryGroupName": if value != nil { jtv, ok := value.(string) @@ -6496,10 +6609,12 @@ func awsRestjson1_deserializeDocumentRecoveryGroupOutput(v **types.RecoveryGroup } sv.RecoveryGroupName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6539,14 +6654,17 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ComponentId = ptr.String(jtv) } + case "dnsTargetResource": if err := awsRestjson1_deserializeDocumentDNSTargetResource(&sv.DnsTargetResource, value); err != nil { return err } + case "readinessScopes": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReadinessScopes, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6555,6 +6673,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6594,6 +6713,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6633,6 +6753,7 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.ComponentId = ptr.String(jtv) } + case "lastCheckedTimestamp": if value != nil { jtv, ok := value.(string) @@ -6645,6 +6766,7 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.LastCheckedTimestamp = ptr.Time(t) } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -6653,6 +6775,7 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.Readiness = types.Readiness(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6661,6 +6784,7 @@ func awsRestjson1_deserializeDocumentResourceResult(v **types.ResourceResult, va } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6696,6 +6820,7 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp if err := awsRestjson1_deserializeDocument__listOfResource(&sv.Resources, value); err != nil { return err } + case "resourceSetArn": if value != nil { jtv, ok := value.(string) @@ -6704,6 +6829,7 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetArn = ptr.String(jtv) } + case "resourceSetName": if value != nil { jtv, ok := value.(string) @@ -6712,6 +6838,7 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetName = ptr.String(jtv) } + case "resourceSetType": if value != nil { jtv, ok := value.(string) @@ -6720,10 +6847,12 @@ func awsRestjson1_deserializeDocumentResourceSetOutput(v **types.ResourceSetOutp } sv.ResourceSetType = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6767,10 +6896,12 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.LastCheckedTimestamp = ptr.Time(t) } + case "messages": if err := awsRestjson1_deserializeDocument__listOfMessage(&sv.Messages, value); err != nil { return err } + case "readiness": if value != nil { jtv, ok := value.(string) @@ -6779,6 +6910,7 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.Readiness = types.Readiness(jtv) } + case "ruleId": if value != nil { jtv, ok := value.(string) @@ -6787,6 +6919,7 @@ func awsRestjson1_deserializeDocumentRuleResult(v **types.RuleResult, value inte } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -6858,10 +6991,12 @@ func awsRestjson1_deserializeDocumentTargetResource(v **types.TargetResource, va if err := awsRestjson1_deserializeDocumentNLBResource(&sv.NLBResource, value); err != nil { return err } + case "r53Resource": if err := awsRestjson1_deserializeDocumentR53ResourceRecord(&sv.R53Resource, value); err != nil { return err } + default: _, _ = key, value @@ -6901,6 +7036,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6940,6 +7076,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/route53resolver/deserializers.go b/service/route53resolver/deserializers.go index f5cf55f148d..b98d29beaf2 100644 --- a/service/route53resolver/deserializers.go +++ b/service/route53resolver/deserializers.go @@ -9153,6 +9153,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9192,6 +9193,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9231,6 +9233,7 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.FirewallFailOpen = types.FirewallFailOpenStatus(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9239,6 +9242,7 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.Id = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9247,6 +9251,7 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.OwnerId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -9255,6 +9260,7 @@ func awsAwsjson11_deserializeDocumentFirewallConfig(v **types.FirewallConfig, va } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -9328,6 +9334,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9336,6 +9343,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9344,6 +9352,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.CreatorRequestId = ptr.String(jtv) } + case "DomainCount": if value != nil { jtv, ok := value.(json.Number) @@ -9356,6 +9365,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.DomainCount = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9364,6 +9374,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Id = ptr.String(jtv) } + case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9372,6 +9383,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.ManagedOwnerName = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9380,6 +9392,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9388,6 +9401,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9396,6 +9410,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.Status = types.FirewallDomainListStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9404,6 +9419,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainList(v **types.FirewallDomain } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9443,6 +9459,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Arn = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9451,6 +9468,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.CreatorRequestId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9459,6 +9477,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Id = ptr.String(jtv) } + case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9467,6 +9486,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.ManagedOwnerName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9475,6 +9495,7 @@ func awsAwsjson11_deserializeDocumentFirewallDomainListMetadata(v **types.Firewa } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9584,6 +9605,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Action = types.Action(jtv) } + case "BlockOverrideDnsType": if value != nil { jtv, ok := value.(string) @@ -9592,6 +9614,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideDnsType = types.BlockOverrideDnsType(jtv) } + case "BlockOverrideDomain": if value != nil { jtv, ok := value.(string) @@ -9600,6 +9623,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideDomain = ptr.String(jtv) } + case "BlockOverrideTtl": if value != nil { jtv, ok := value.(json.Number) @@ -9612,6 +9636,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockOverrideTtl = ptr.Int32(int32(i64)) } + case "BlockResponse": if value != nil { jtv, ok := value.(string) @@ -9620,6 +9645,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.BlockResponse = types.BlockResponse(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9628,6 +9654,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9636,6 +9663,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.CreatorRequestId = ptr.String(jtv) } + case "FirewallDomainListId": if value != nil { jtv, ok := value.(string) @@ -9644,6 +9672,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallDomainListId = ptr.String(jtv) } + case "FirewallDomainRedirectionAction": if value != nil { jtv, ok := value.(string) @@ -9652,6 +9681,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallDomainRedirectionAction = types.FirewallDomainRedirectionAction(jtv) } + case "FirewallRuleGroupId": if value != nil { jtv, ok := value.(string) @@ -9660,6 +9690,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.FirewallRuleGroupId = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9668,6 +9699,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9676,6 +9708,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -9688,6 +9721,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Priority = ptr.Int32(int32(i64)) } + case "Qtype": if value != nil { jtv, ok := value.(string) @@ -9696,6 +9730,7 @@ func awsAwsjson11_deserializeDocumentFirewallRule(v **types.FirewallRule, value } sv.Qtype = ptr.String(jtv) } + default: _, _ = key, value @@ -9735,6 +9770,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9743,6 +9779,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9751,6 +9788,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.CreatorRequestId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9759,6 +9797,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Id = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9767,6 +9806,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9775,6 +9815,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -9783,6 +9824,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.OwnerId = ptr.String(jtv) } + case "RuleCount": if value != nil { jtv, ok := value.(json.Number) @@ -9795,6 +9837,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.RuleCount = ptr.Int32(int32(i64)) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -9803,6 +9846,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.ShareStatus = types.ShareStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9811,6 +9855,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.Status = types.FirewallRuleGroupStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9819,6 +9864,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroup(v **types.FirewallRuleGro } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9858,6 +9904,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -9866,6 +9913,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -9874,6 +9922,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.CreatorRequestId = ptr.String(jtv) } + case "FirewallRuleGroupId": if value != nil { jtv, ok := value.(string) @@ -9882,6 +9931,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.FirewallRuleGroupId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9890,6 +9940,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Id = ptr.String(jtv) } + case "ManagedOwnerName": if value != nil { jtv, ok := value.(string) @@ -9898,6 +9949,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.ManagedOwnerName = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -9906,6 +9958,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.ModificationTime = ptr.String(jtv) } + case "MutationProtection": if value != nil { jtv, ok := value.(string) @@ -9914,6 +9967,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.MutationProtection = types.MutationProtectionStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9922,6 +9976,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -9934,6 +9989,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Priority = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9942,6 +9998,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.Status = types.FirewallRuleGroupAssociationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9950,6 +10007,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.StatusMessage = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9958,6 +10016,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(v **types.Fire } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10031,6 +10090,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Arn = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -10039,6 +10099,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.CreatorRequestId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10047,6 +10108,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10055,6 +10117,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10063,6 +10126,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.OwnerId = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -10071,6 +10135,7 @@ func awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadata(v **types.Firewal } sv.ShareStatus = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -10178,6 +10243,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10217,6 +10283,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10256,6 +10323,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.FieldName = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10264,6 +10332,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10303,6 +10372,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyDocument(v **types.InvalidPoli } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10342,6 +10412,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10381,6 +10452,7 @@ func awsAwsjson11_deserializeDocumentInvalidTagException(v **types.InvalidTagExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10454,6 +10526,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.CreationTime = ptr.String(jtv) } + case "Ip": if value != nil { jtv, ok := value.(string) @@ -10462,6 +10535,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Ip = ptr.String(jtv) } + case "IpId": if value != nil { jtv, ok := value.(string) @@ -10470,6 +10544,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.IpId = ptr.String(jtv) } + case "Ipv6": if value != nil { jtv, ok := value.(string) @@ -10478,6 +10553,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Ipv6 = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -10486,6 +10562,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.ModificationTime = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10494,6 +10571,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.Status = types.IpAddressStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10502,6 +10580,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.StatusMessage = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -10510,6 +10589,7 @@ func awsAwsjson11_deserializeDocumentIpAddressResponse(v **types.IpAddressRespon } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -10549,6 +10629,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -10557,6 +10638,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10596,6 +10678,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -10604,6 +10687,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -10612,6 +10696,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.CreatorRequestId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10620,6 +10705,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Id = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -10632,6 +10718,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -10640,6 +10727,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10648,6 +10736,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Name = ptr.String(jtv) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -10656,6 +10745,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.OutpostArn = ptr.String(jtv) } + case "PreferredInstanceType": if value != nil { jtv, ok := value.(string) @@ -10664,6 +10754,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.PreferredInstanceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10672,6 +10763,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.Status = types.OutpostResolverStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -10680,6 +10772,7 @@ func awsAwsjson11_deserializeDocumentOutpostResolver(v **types.OutpostResolver, } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -10789,6 +10882,7 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.AutodefinedReverse = types.ResolverAutodefinedReverseStatus(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10797,6 +10891,7 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.Id = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10805,6 +10900,7 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.OwnerId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10813,6 +10909,7 @@ func awsAwsjson11_deserializeDocumentResolverConfig(v **types.ResolverConfig, va } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10886,6 +10983,7 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.Id = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -10894,6 +10992,7 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.OwnerId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -10902,6 +11001,7 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.ResourceId = ptr.String(jtv) } + case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -10910,6 +11010,7 @@ func awsAwsjson11_deserializeDocumentResolverDnssecConfig(v **types.ResolverDnss } sv.ValidationStatus = types.ResolverDNSSECValidationStatus(jtv) } + default: _, _ = key, value @@ -10983,6 +11084,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -10991,6 +11093,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -10999,6 +11102,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.CreatorRequestId = ptr.String(jtv) } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -11007,6 +11111,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Direction = types.ResolverEndpointDirection(jtv) } + case "HostVPCId": if value != nil { jtv, ok := value.(string) @@ -11015,6 +11120,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.HostVPCId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11023,6 +11129,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Id = ptr.String(jtv) } + case "IpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -11035,6 +11142,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.IpAddressCount = ptr.Int32(int32(i64)) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -11043,6 +11151,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11051,6 +11160,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Name = ptr.String(jtv) } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -11059,6 +11169,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.OutpostArn = ptr.String(jtv) } + case "PreferredInstanceType": if value != nil { jtv, ok := value.(string) @@ -11067,10 +11178,12 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.PreferredInstanceType = ptr.String(jtv) } + case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocolList(&sv.Protocols, value); err != nil { return err } + case "ResolverEndpointType": if value != nil { jtv, ok := value.(string) @@ -11079,10 +11192,12 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.ResolverEndpointType = types.ResolverEndpointType(jtv) } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11091,6 +11206,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.Status = types.ResolverEndpointStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11099,6 +11215,7 @@ func awsAwsjson11_deserializeDocumentResolverEndpoint(v **types.ResolverEndpoint } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11172,6 +11289,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Arn = ptr.String(jtv) } + case "AssociationCount": if value != nil { jtv, ok := value.(json.Number) @@ -11184,6 +11302,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.AssociationCount = int32(i64) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -11192,6 +11311,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -11200,6 +11320,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.CreatorRequestId = ptr.String(jtv) } + case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -11208,6 +11329,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.DestinationArn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11216,6 +11338,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11224,6 +11347,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -11232,6 +11356,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.OwnerId = ptr.String(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11240,6 +11365,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.ShareStatus = types.ShareStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11248,6 +11374,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfig(v **types.ResolverQu } sv.Status = types.ResolverQueryLogConfigStatus(jtv) } + default: _, _ = key, value @@ -11287,6 +11414,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.CreationTime = ptr.String(jtv) } + case "Error": if value != nil { jtv, ok := value.(string) @@ -11295,6 +11423,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Error = types.ResolverQueryLogConfigAssociationError(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11303,6 +11432,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11311,6 +11441,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Id = ptr.String(jtv) } + case "ResolverQueryLogConfigId": if value != nil { jtv, ok := value.(string) @@ -11319,6 +11450,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ResolverQueryLogConfigId = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -11327,6 +11459,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.ResourceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11468,7 @@ func awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(v **types } sv.Status = types.ResolverQueryLogConfigAssociationStatus(jtv) } + default: _, _ = key, value @@ -11442,6 +11576,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -11450,6 +11585,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.CreationTime = ptr.String(jtv) } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -11458,6 +11594,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.CreatorRequestId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -11466,6 +11603,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.DomainName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11474,6 +11612,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Id = ptr.String(jtv) } + case "ModificationTime": if value != nil { jtv, ok := value.(string) @@ -11482,6 +11621,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ModificationTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11490,6 +11630,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Name = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -11498,6 +11639,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.OwnerId = ptr.String(jtv) } + case "ResolverEndpointId": if value != nil { jtv, ok := value.(string) @@ -11506,6 +11648,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ResolverEndpointId = ptr.String(jtv) } + case "RuleType": if value != nil { jtv, ok := value.(string) @@ -11514,6 +11657,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.RuleType = types.RuleTypeOption(jtv) } + case "ShareStatus": if value != nil { jtv, ok := value.(string) @@ -11522,6 +11666,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.ShareStatus = types.ShareStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11530,6 +11675,7 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.Status = types.ResolverRuleStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11538,10 +11684,12 @@ func awsAwsjson11_deserializeDocumentResolverRule(v **types.ResolverRule, value } sv.StatusMessage = ptr.String(jtv) } + case "TargetIps": if err := awsAwsjson11_deserializeDocumentTargetList(&sv.TargetIps, value); err != nil { return err } + default: _, _ = key, value @@ -11581,6 +11729,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11589,6 +11738,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Name = ptr.String(jtv) } + case "ResolverRuleId": if value != nil { jtv, ok := value.(string) @@ -11597,6 +11747,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.ResolverRuleId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11605,6 +11756,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.Status = types.ResolverRuleAssociationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11613,6 +11765,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.StatusMessage = ptr.String(jtv) } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -11621,6 +11774,7 @@ func awsAwsjson11_deserializeDocumentResolverRuleAssociation(v **types.ResolverR } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -11728,6 +11882,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11736,6 +11891,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11775,6 +11931,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11783,6 +11940,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11822,6 +11980,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11830,6 +11989,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11869,6 +12029,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11877,6 +12038,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11952,6 +12114,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11991,6 +12154,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11999,6 +12163,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12072,6 +12237,7 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Ip = ptr.String(jtv) } + case "Ipv6": if value != nil { jtv, ok := value.(string) @@ -12080,6 +12246,7 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Ipv6 = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -12092,6 +12259,7 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Port = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -12100,6 +12268,7 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.Protocol = types.Protocol(jtv) } + case "ServerNameIndication": if value != nil { jtv, ok := value.(string) @@ -12108,6 +12277,7 @@ func awsAwsjson11_deserializeDocumentTargetAddress(v **types.TargetAddress, valu } sv.ServerNameIndication = ptr.String(jtv) } + default: _, _ = key, value @@ -12181,6 +12351,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12220,6 +12391,7 @@ func awsAwsjson11_deserializeDocumentUnknownResourceException(v **types.UnknownR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12259,6 +12431,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12294,6 +12467,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateFirewallRuleGroupOutput(v **Asso if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12329,6 +12503,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverEndpointIpAddressOutput( if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -12364,6 +12539,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverQueryLogConfigOutput(v * if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12399,6 +12575,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateResolverRuleOutput(v **Associate if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12434,6 +12611,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallDomainListOutput(v **Create if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } + default: _, _ = key, value @@ -12469,6 +12647,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallRuleGroupOutput(v **CreateF if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12504,6 +12683,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFirewallRuleOutput(v **CreateFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } + default: _, _ = key, value @@ -12539,6 +12719,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOutpostResolverOutput(v **CreateOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } + default: _, _ = key, value @@ -12574,6 +12755,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverEndpointOutput(v **CreateRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -12609,6 +12791,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverQueryLogConfigOutput(v **Cr if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12644,6 +12827,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResolverRuleOutput(v **CreateResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } + default: _, _ = key, value @@ -12679,6 +12863,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallDomainListOutput(v **Delete if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } + default: _, _ = key, value @@ -12714,6 +12899,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallRuleGroupOutput(v **DeleteF if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -12749,6 +12935,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallRuleOutput(v **DeleteFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } + default: _, _ = key, value @@ -12784,6 +12971,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteOutpostResolverOutput(v **DeleteOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } + default: _, _ = key, value @@ -12819,6 +13007,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverEndpointOutput(v **DeleteRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -12854,6 +13043,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverQueryLogConfigOutput(v **De if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } + default: _, _ = key, value @@ -12889,6 +13079,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResolverRuleOutput(v **DeleteResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } + default: _, _ = key, value @@ -12924,6 +13115,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFirewallRuleGroupOutput(v **D if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -12959,6 +13151,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverEndpointIpAddressOutp if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -12994,6 +13187,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverQueryLogConfigOutput( if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13029,6 +13223,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateResolverRuleOutput(v **Disass if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13064,6 +13259,7 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallConfigOutput(v **GetFirewallCo if err := awsAwsjson11_deserializeDocumentFirewallConfig(&sv.FirewallConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13099,6 +13295,7 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallDomainListOutput(v **GetFirewa if err := awsAwsjson11_deserializeDocumentFirewallDomainList(&sv.FirewallDomainList, value); err != nil { return err } + default: _, _ = key, value @@ -13134,6 +13331,7 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupAssociationOutput(v * if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13169,6 +13367,7 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupOutput(v **GetFirewal if err := awsAwsjson11_deserializeDocumentFirewallRuleGroup(&sv.FirewallRuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -13208,6 +13407,7 @@ func awsAwsjson11_deserializeOpDocumentGetFirewallRuleGroupPolicyOutput(v **GetF } sv.FirewallRuleGroupPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -13243,6 +13443,7 @@ func awsAwsjson11_deserializeOpDocumentGetOutpostResolverOutput(v **GetOutpostRe if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } + default: _, _ = key, value @@ -13278,6 +13479,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverConfigOutput(v **GetResolverCo if err := awsAwsjson11_deserializeDocumentResolverConfig(&sv.ResolverConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13313,6 +13515,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverDnssecConfigOutput(v **GetReso if err := awsAwsjson11_deserializeDocumentResolverDnssecConfig(&sv.ResolverDNSSECConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13348,6 +13551,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverEndpointOutput(v **GetResolver if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -13383,6 +13587,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigAssociationOutpu if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociation(&sv.ResolverQueryLogConfigAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13418,6 +13623,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigOutput(v **GetRe if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfig(&sv.ResolverQueryLogConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13457,6 +13663,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverQueryLogConfigPolicyOutput(v * } sv.ResolverQueryLogConfigPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -13492,6 +13699,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRuleAssociationOutput(v **GetR if err := awsAwsjson11_deserializeDocumentResolverRuleAssociation(&sv.ResolverRuleAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -13527,6 +13735,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRuleOutput(v **GetResolverRule if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } + default: _, _ = key, value @@ -13566,6 +13775,7 @@ func awsAwsjson11_deserializeOpDocumentGetResolverRulePolicyOutput(v **GetResolv } sv.ResolverRulePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -13605,6 +13815,7 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13613,6 +13824,7 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13621,6 +13833,7 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.Status = types.FirewallDomainListStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13629,6 +13842,7 @@ func awsAwsjson11_deserializeOpDocumentImportFirewallDomainsOutput(v **ImportFir } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -13664,6 +13878,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallConfigsOutput(v **ListFirewal if err := awsAwsjson11_deserializeDocumentFirewallConfigList(&sv.FirewallConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13672,6 +13887,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallConfigsOutput(v **ListFirewal } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13707,6 +13923,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainListsOutput(v **ListFir if err := awsAwsjson11_deserializeDocumentFirewallDomainListMetadataList(&sv.FirewallDomainLists, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13715,6 +13932,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainListsOutput(v **ListFir } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13750,6 +13968,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainsOutput(v **ListFirewal if err := awsAwsjson11_deserializeDocumentFirewallDomains(&sv.Domains, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13758,6 +13977,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallDomainsOutput(v **ListFirewal } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13793,6 +14013,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupAssociationsOutput(v if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociations(&sv.FirewallRuleGroupAssociations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13801,6 +14022,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13836,6 +14058,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupsOutput(v **ListFire if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupMetadataList(&sv.FirewallRuleGroups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13844,6 +14067,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRuleGroupsOutput(v **ListFire } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13879,6 +14103,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRulesOutput(v **ListFirewallR if err := awsAwsjson11_deserializeDocumentFirewallRules(&sv.FirewallRules, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13887,6 +14112,7 @@ func awsAwsjson11_deserializeOpDocumentListFirewallRulesOutput(v **ListFirewallR } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13926,10 +14152,12 @@ func awsAwsjson11_deserializeOpDocumentListOutpostResolversOutput(v **ListOutpos } sv.NextToken = ptr.String(jtv) } + case "OutpostResolvers": if err := awsAwsjson11_deserializeDocumentOutpostResolverList(&sv.OutpostResolvers, value); err != nil { return err } + default: _, _ = key, value @@ -13969,10 +14197,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverConfigsOutput(v **ListResolve } sv.NextToken = ptr.String(jtv) } + case "ResolverConfigs": if err := awsAwsjson11_deserializeDocumentResolverConfigList(&sv.ResolverConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -14012,10 +14242,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverDnssecConfigsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + case "ResolverDnssecConfigs": if err := awsAwsjson11_deserializeDocumentResolverDnssecConfigList(&sv.ResolverDnssecConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -14051,6 +14283,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * if err := awsAwsjson11_deserializeDocumentIpAddressesResponse(&sv.IpAddresses, value); err != nil { return err } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -14063,6 +14296,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * } sv.MaxResults = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14071,6 +14305,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointIpAddressesOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14114,6 +14349,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointsOutput(v **ListResol } sv.MaxResults = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14122,10 +14358,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverEndpointsOutput(v **ListResol } sv.NextToken = ptr.String(jtv) } + case "ResolverEndpoints": if err := awsAwsjson11_deserializeDocumentResolverEndpoints(&sv.ResolverEndpoints, value); err != nil { return err } + default: _, _ = key, value @@ -14165,10 +14403,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.NextToken = ptr.String(jtv) } + case "ResolverQueryLogConfigAssociations": if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigAssociationList(&sv.ResolverQueryLogConfigAssociations, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -14181,6 +14421,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.TotalCount = int32(i64) } + case "TotalFilteredCount": if value != nil { jtv, ok := value.(json.Number) @@ -14193,6 +14434,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigAssociationsOut } sv.TotalFilteredCount = int32(i64) } + default: _, _ = key, value @@ -14232,10 +14474,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "ResolverQueryLogConfigs": if err := awsAwsjson11_deserializeDocumentResolverQueryLogConfigList(&sv.ResolverQueryLogConfigs, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -14248,6 +14492,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.TotalCount = int32(i64) } + case "TotalFilteredCount": if value != nil { jtv, ok := value.(json.Number) @@ -14260,6 +14505,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverQueryLogConfigsOutput(v **Lis } sv.TotalFilteredCount = int32(i64) } + default: _, _ = key, value @@ -14303,6 +14549,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverRuleAssociationsOutput(v **Li } sv.MaxResults = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14311,10 +14558,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverRuleAssociationsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "ResolverRuleAssociations": if err := awsAwsjson11_deserializeDocumentResolverRuleAssociations(&sv.ResolverRuleAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -14358,6 +14607,7 @@ func awsAwsjson11_deserializeOpDocumentListResolverRulesOutput(v **ListResolverR } sv.MaxResults = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14366,10 +14616,12 @@ func awsAwsjson11_deserializeOpDocumentListResolverRulesOutput(v **ListResolverR } sv.NextToken = ptr.String(jtv) } + case "ResolverRules": if err := awsAwsjson11_deserializeDocumentResolverRules(&sv.ResolverRules, value); err != nil { return err } + default: _, _ = key, value @@ -14409,10 +14661,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14452,6 +14706,7 @@ func awsAwsjson11_deserializeOpDocumentPutFirewallRuleGroupPolicyOutput(v **PutF } sv.ReturnValue = jtv } + default: _, _ = key, value @@ -14491,6 +14746,7 @@ func awsAwsjson11_deserializeOpDocumentPutResolverQueryLogConfigPolicyOutput(v * } sv.ReturnValue = jtv } + default: _, _ = key, value @@ -14530,6 +14786,7 @@ func awsAwsjson11_deserializeOpDocumentPutResolverRulePolicyOutput(v **PutResolv } sv.ReturnValue = jtv } + default: _, _ = key, value @@ -14627,6 +14884,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallConfigOutput(v **UpdateFire if err := awsAwsjson11_deserializeDocumentFirewallConfig(&sv.FirewallConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14666,6 +14924,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14674,6 +14933,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14682,6 +14942,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.Status = types.FirewallDomainListStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -14690,6 +14951,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallDomainsOutput(v **UpdateFir } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -14725,6 +14987,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallRuleGroupAssociationOutput( if err := awsAwsjson11_deserializeDocumentFirewallRuleGroupAssociation(&sv.FirewallRuleGroupAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -14760,6 +15023,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFirewallRuleOutput(v **UpdateFirewa if err := awsAwsjson11_deserializeDocumentFirewallRule(&sv.FirewallRule, value); err != nil { return err } + default: _, _ = key, value @@ -14795,6 +15059,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateOutpostResolverOutput(v **UpdateOut if err := awsAwsjson11_deserializeDocumentOutpostResolver(&sv.OutpostResolver, value); err != nil { return err } + default: _, _ = key, value @@ -14830,6 +15095,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverConfigOutput(v **UpdateReso if err := awsAwsjson11_deserializeDocumentResolverConfig(&sv.ResolverConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14865,6 +15131,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverDnssecConfigOutput(v **Upda if err := awsAwsjson11_deserializeDocumentResolverDnssecConfig(&sv.ResolverDNSSECConfig, value); err != nil { return err } + default: _, _ = key, value @@ -14900,6 +15167,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverEndpointOutput(v **UpdateRe if err := awsAwsjson11_deserializeDocumentResolverEndpoint(&sv.ResolverEndpoint, value); err != nil { return err } + default: _, _ = key, value @@ -14935,6 +15203,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateResolverRuleOutput(v **UpdateResolv if err := awsAwsjson11_deserializeDocumentResolverRule(&sv.ResolverRule, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/rum/deserializers.go b/service/rum/deserializers.go index eccf86eb515..03df98ac709 100644 --- a/service/rum/deserializers.go +++ b/service/rum/deserializers.go @@ -191,10 +191,12 @@ func awsRestjson1_deserializeOpDocumentBatchCreateRumMetricDefinitionsOutput(v * if err := awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsErrors(&sv.Errors, value); err != nil { return err } + case "MetricDefinitions": if err := awsRestjson1_deserializeDocumentMetricDefinitions(&sv.MetricDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -361,10 +363,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteRumMetricDefinitionsOutput(v * if err := awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsErrors(&sv.Errors, value); err != nil { return err } + case "MetricDefinitionIds": if err := awsRestjson1_deserializeDocumentMetricDefinitionIds(&sv.MetricDefinitionIds, value); err != nil { return err } + default: _, _ = key, value @@ -525,6 +529,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetRumMetricDefinitionsOutput(v **Ba if err := awsRestjson1_deserializeDocumentMetricDefinitions(&sv.MetricDefinitions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -533,6 +538,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetRumMetricDefinitionsOutput(v **Ba } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -706,6 +712,7 @@ func awsRestjson1_deserializeOpDocumentCreateAppMonitorOutput(v **CreateAppMonit } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -1075,6 +1082,7 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorOutput(v **GetAppMonitorOutp if err := awsRestjson1_deserializeDocumentAppMonitor(&sv.AppMonitor, value); err != nil { return err } + default: _, _ = key, value @@ -1238,6 +1246,7 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorDataOutput(v **GetAppMonitor if err := awsRestjson1_deserializeDocumentEventDataList(&sv.Events, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1246,6 +1255,7 @@ func awsRestjson1_deserializeOpDocumentGetAppMonitorDataOutput(v **GetAppMonitor } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1406,6 +1416,7 @@ func awsRestjson1_deserializeOpDocumentListAppMonitorsOutput(v **ListAppMonitors if err := awsRestjson1_deserializeDocumentAppMonitorSummaryList(&sv.AppMonitorSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1414,6 +1425,7 @@ func awsRestjson1_deserializeOpDocumentListAppMonitorsOutput(v **ListAppMonitors } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1574,6 +1586,7 @@ func awsRestjson1_deserializeOpDocumentListRumMetricsDestinationsOutput(v **List if err := awsRestjson1_deserializeDocumentMetricDestinationSummaryList(&sv.Destinations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1582,6 +1595,7 @@ func awsRestjson1_deserializeOpDocumentListRumMetricsDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1743,10 +1757,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2678,6 +2694,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2713,6 +2730,7 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte if err := awsRestjson1_deserializeDocumentAppMonitorConfiguration(&sv.AppMonitorConfiguration, value); err != nil { return err } + case "Created": if value != nil { jtv, ok := value.(string) @@ -2721,14 +2739,17 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Created = ptr.String(jtv) } + case "CustomEvents": if err := awsRestjson1_deserializeDocumentCustomEvents(&sv.CustomEvents, value); err != nil { return err } + case "DataStorage": if err := awsRestjson1_deserializeDocumentDataStorage(&sv.DataStorage, value); err != nil { return err } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -2737,6 +2758,7 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Domain = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2745,6 +2767,7 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Id = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -2753,6 +2776,7 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.LastModified = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2761,6 +2785,7 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2769,10 +2794,12 @@ func awsRestjson1_deserializeDocumentAppMonitor(v **types.AppMonitor, value inte } sv.State = types.StateEnum(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2812,6 +2839,7 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.AllowCookies = ptr.Bool(jtv) } + case "EnableXRay": if value != nil { jtv, ok := value.(bool) @@ -2820,14 +2848,17 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.EnableXRay = ptr.Bool(jtv) } + case "ExcludedPages": if err := awsRestjson1_deserializeDocumentPages(&sv.ExcludedPages, value); err != nil { return err } + case "FavoritePages": if err := awsRestjson1_deserializeDocumentFavoritePages(&sv.FavoritePages, value); err != nil { return err } + case "GuestRoleArn": if value != nil { jtv, ok := value.(string) @@ -2836,6 +2867,7 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.GuestRoleArn = ptr.String(jtv) } + case "IdentityPoolId": if value != nil { jtv, ok := value.(string) @@ -2844,10 +2876,12 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } sv.IdentityPoolId = ptr.String(jtv) } + case "IncludedPages": if err := awsRestjson1_deserializeDocumentPages(&sv.IncludedPages, value); err != nil { return err } + case "SessionSampleRate": if value != nil { switch jtv := value.(type) { @@ -2881,10 +2915,12 @@ func awsRestjson1_deserializeDocumentAppMonitorConfiguration(v **types.AppMonito } } + case "Telemetries": if err := awsRestjson1_deserializeDocumentTelemetries(&sv.Telemetries, value); err != nil { return err } + default: _, _ = key, value @@ -2924,6 +2960,7 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Created = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2932,6 +2969,7 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Id = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -2940,6 +2978,7 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.LastModified = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2948,6 +2987,7 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -2956,6 +2996,7 @@ func awsRestjson1_deserializeDocumentAppMonitorSummary(v **types.AppMonitorSumma } sv.State = types.StateEnum(jtv) } + default: _, _ = key, value @@ -3029,6 +3070,7 @@ func awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsError(v **ty } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3037,10 +3079,12 @@ func awsRestjson1_deserializeDocumentBatchCreateRumMetricDefinitionsError(v **ty } sv.ErrorMessage = ptr.String(jtv) } + case "MetricDefinition": if err := awsRestjson1_deserializeDocumentMetricDefinitionRequest(&sv.MetricDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -3114,6 +3158,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3122,6 +3167,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.ErrorMessage = ptr.String(jtv) } + case "MetricDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3130,6 +3176,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteRumMetricDefinitionsError(v **ty } sv.MetricDefinitionId = ptr.String(jtv) } + default: _, _ = key, value @@ -3203,6 +3250,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3211,6 +3259,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3219,6 +3268,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3258,6 +3308,7 @@ func awsRestjson1_deserializeDocumentCustomEvents(v **types.CustomEvents, value } sv.Status = types.CustomEventsStatus(jtv) } + default: _, _ = key, value @@ -3297,6 +3348,7 @@ func awsRestjson1_deserializeDocumentCwLog(v **types.CwLog, value interface{}) e } sv.CwLogEnabled = ptr.Bool(jtv) } + case "CwLogGroup": if value != nil { jtv, ok := value.(string) @@ -3305,6 +3357,7 @@ func awsRestjson1_deserializeDocumentCwLog(v **types.CwLog, value interface{}) e } sv.CwLogGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -3340,6 +3393,7 @@ func awsRestjson1_deserializeDocumentDataStorage(v **types.DataStorage, value in if err := awsRestjson1_deserializeDocumentCwLog(&sv.CwLog, value); err != nil { return err } + default: _, _ = key, value @@ -3487,6 +3541,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3499,6 +3554,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3534,6 +3590,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition if err := awsRestjson1_deserializeDocumentDimensionKeysMap(&sv.DimensionKeys, value); err != nil { return err } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -3542,6 +3599,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.EventPattern = ptr.String(jtv) } + case "MetricDefinitionId": if value != nil { jtv, ok := value.(string) @@ -3550,6 +3608,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.MetricDefinitionId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3558,6 +3617,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3566,6 +3626,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Namespace = ptr.String(jtv) } + case "UnitLabel": if value != nil { jtv, ok := value.(string) @@ -3574,6 +3635,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.UnitLabel = ptr.String(jtv) } + case "ValueKey": if value != nil { jtv, ok := value.(string) @@ -3582,6 +3644,7 @@ func awsRestjson1_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.ValueKey = ptr.String(jtv) } + default: _, _ = key, value @@ -3653,6 +3716,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef if err := awsRestjson1_deserializeDocumentDimensionKeysMap(&sv.DimensionKeys, value); err != nil { return err } + case "EventPattern": if value != nil { jtv, ok := value.(string) @@ -3661,6 +3725,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.EventPattern = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3669,6 +3734,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.Name = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -3677,6 +3743,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.Namespace = ptr.String(jtv) } + case "UnitLabel": if value != nil { jtv, ok := value.(string) @@ -3685,6 +3752,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.UnitLabel = ptr.String(jtv) } + case "ValueKey": if value != nil { jtv, ok := value.(string) @@ -3693,6 +3761,7 @@ func awsRestjson1_deserializeDocumentMetricDefinitionRequest(v **types.MetricDef } sv.ValueKey = ptr.String(jtv) } + default: _, _ = key, value @@ -3766,6 +3835,7 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.Destination = types.MetricDestination(jtv) } + case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -3774,6 +3844,7 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.DestinationArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -3782,6 +3853,7 @@ func awsRestjson1_deserializeDocumentMetricDestinationSummary(v **types.MetricDe } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3891,6 +3963,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -3899,6 +3972,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3907,6 +3981,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3946,6 +4021,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4057,6 +4133,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4065,6 +4142,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4077,6 +4155,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4085,6 +4164,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4124,6 +4204,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/s3outposts/deserializers.go b/service/s3outposts/deserializers.go index 0390a558422..f4138920c9f 100644 --- a/service/s3outposts/deserializers.go +++ b/service/s3outposts/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -466,6 +467,7 @@ func awsRestjson1_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -474,6 +476,7 @@ func awsRestjson1_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -638,10 +641,12 @@ func awsRestjson1_deserializeOpDocumentListOutpostsWithS3Output(v **ListOutposts } sv.NextToken = ptr.String(jtv) } + case "Outposts": if err := awsRestjson1_deserializeDocumentOutposts(&sv.Outposts, value); err != nil { return err } + default: _, _ = key, value @@ -805,6 +810,7 @@ func awsRestjson1_deserializeOpDocumentListSharedEndpointsOutput(v **ListSharedE if err := awsRestjson1_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -813,6 +819,7 @@ func awsRestjson1_deserializeOpDocumentListSharedEndpointsOutput(v **ListSharedE } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1104,6 +1111,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1143,6 +1151,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1182,6 +1191,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.AccessType = types.EndpointAccessType(jtv) } + case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -1190,6 +1200,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CidrBlock = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1205,6 +1216,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } + case "CustomerOwnedIpv4Pool": if value != nil { jtv, ok := value.(string) @@ -1213,6 +1225,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CustomerOwnedIpv4Pool = ptr.String(jtv) } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -1221,14 +1234,17 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } + case "FailedReason": if err := awsRestjson1_deserializeDocumentFailedReason(&sv.FailedReason, value); err != nil { return err } + case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentNetworkInterfaces(&sv.NetworkInterfaces, value); err != nil { return err } + case "OutpostsId": if value != nil { jtv, ok := value.(string) @@ -1237,6 +1253,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.OutpostsId = ptr.String(jtv) } + case "SecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -1245,6 +1262,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SecurityGroupId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1253,6 +1271,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Status = types.EndpointStatus(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -1261,6 +1280,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -1269,6 +1289,7 @@ func awsRestjson1_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -1342,6 +1363,7 @@ func awsRestjson1_deserializeDocumentFailedReason(v **types.FailedReason, value } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -1350,6 +1372,7 @@ func awsRestjson1_deserializeDocumentFailedReason(v **types.FailedReason, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1389,6 +1412,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1428,6 +1452,7 @@ func awsRestjson1_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.NetworkInterfaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -1505,6 +1530,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.CapacityInBytes = i64 } + case "OutpostArn": if value != nil { jtv, ok := value.(string) @@ -1513,6 +1539,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostArn = ptr.String(jtv) } + case "OutpostId": if value != nil { jtv, ok := value.(string) @@ -1521,6 +1548,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OutpostId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -1529,6 +1557,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.OwnerId = ptr.String(jtv) } + case "S3OutpostArn": if value != nil { jtv, ok := value.(string) @@ -1537,6 +1566,7 @@ func awsRestjson1_deserializeDocumentOutpost(v **types.Outpost, value interface{ } sv.S3OutpostArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1576,6 +1606,7 @@ func awsRestjson1_deserializeDocumentOutpostOfflineException(v **types.OutpostOf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1649,6 +1680,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1688,6 +1720,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1727,6 +1760,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 9726134a4c8..1b2054e14fa 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -36230,6 +36230,7 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceId = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -36238,6 +36239,7 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceType = ptr.String(jtv) } + case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -36246,6 +36248,7 @@ func awsAwsjson11_deserializeDocumentActionSource(v **types.ActionSource, value } sv.SourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -36319,6 +36322,7 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionArn = ptr.String(jtv) } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -36327,6 +36331,7 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionName = ptr.String(jtv) } + case "ActionType": if value != nil { jtv, ok := value.(string) @@ -36335,6 +36340,7 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.ActionType = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -36350,6 +36356,7 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -36365,10 +36372,12 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } } + case "Source": if err := awsAwsjson11_deserializeDocumentActionSource(&sv.Source, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -36377,6 +36386,7 @@ func awsAwsjson11_deserializeDocumentActionSummary(v **types.ActionSummary, valu } sv.Status = types.ActionStatus(jtv) } + default: _, _ = key, value @@ -36448,6 +36458,7 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( if err := awsAwsjson11_deserializeDocumentModelPackageContainerDefinitionList(&sv.Containers, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36456,6 +36467,7 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36464,22 +36476,27 @@ func awsAwsjson11_deserializeDocumentAdditionalInferenceSpecificationDefinition( } sv.Name = ptr.String(jtv) } + case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } + case "SupportedRealtimeInferenceInstanceTypes": if err := awsAwsjson11_deserializeDocumentRealtimeInferenceInstanceTypes(&sv.SupportedRealtimeInferenceInstanceTypes, value); err != nil { return err } + case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } + case "SupportedTransformInstanceTypes": if err := awsAwsjson11_deserializeDocumentTransformInstanceTypes(&sv.SupportedTransformInstanceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -36553,10 +36570,12 @@ func awsAwsjson11_deserializeDocumentAdditionalModelDataSource(v **types.Additio } sv.ChannelName = ptr.String(jtv) } + case "S3DataSource": if err := awsAwsjson11_deserializeDocumentS3ModelDataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -36630,6 +36649,7 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.CompressionType = types.CompressionType(jtv) } + case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -36638,6 +36658,7 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.S3DataType = types.AdditionalS3DataSourceDataType(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -36646,6 +36667,7 @@ func awsAwsjson11_deserializeDocumentAdditionalS3DataSource(v **types.Additional } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -36689,6 +36711,7 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.AgentCount = ptr.Int64(i64) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -36697,6 +36720,7 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -36806,6 +36830,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.AlarmName = ptr.String(jtv) } + default: _, _ = key, value @@ -36879,14 +36904,17 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.AlgorithmName = ptr.String(jtv) } + case "ContainerArguments": if err := awsAwsjson11_deserializeDocumentTrainingContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentTrainingContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "EnableSageMakerMetricsTimeSeries": if value != nil { jtv, ok := value.(bool) @@ -36895,10 +36923,12 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.EnableSageMakerMetricsTimeSeries = ptr.Bool(jtv) } + case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } + case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -36907,10 +36937,12 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.TrainingImage = ptr.String(jtv) } + case "TrainingImageConfig": if err := awsAwsjson11_deserializeDocumentTrainingImageConfig(&sv.TrainingImageConfig, value); err != nil { return err } + case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -36919,6 +36951,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS } sv.TrainingInputMode = types.TrainingInputMode(jtv) } + default: _, _ = key, value @@ -36954,10 +36987,12 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusDetails(v **types.AlgorithmS if err := awsAwsjson11_deserializeDocumentAlgorithmStatusItemList(&sv.ImageScanStatuses, value); err != nil { return err } + case "ValidationStatuses": if err := awsAwsjson11_deserializeDocumentAlgorithmStatusItemList(&sv.ValidationStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -36997,6 +37032,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.FailureReason = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -37005,6 +37041,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37013,6 +37050,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmStatusItem(v **types.AlgorithmStat } sv.Status = types.DetailedAlgorithmStatus(jtv) } + default: _, _ = key, value @@ -37086,6 +37124,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmArn = ptr.String(jtv) } + case "AlgorithmDescription": if value != nil { jtv, ok := value.(string) @@ -37094,6 +37133,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmDescription = ptr.String(jtv) } + case "AlgorithmName": if value != nil { jtv, ok := value.(string) @@ -37102,6 +37142,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmName = ptr.String(jtv) } + case "AlgorithmStatus": if value != nil { jtv, ok := value.(string) @@ -37110,6 +37151,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } sv.AlgorithmStatus = types.AlgorithmStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37125,6 +37167,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSummary(v **types.AlgorithmSummary } } + default: _, _ = key, value @@ -37198,14 +37241,17 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationProfile(v **types.Algori } sv.ProfileName = ptr.String(jtv) } + case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } + case "TransformJobDefinition": if err := awsAwsjson11_deserializeDocumentTransformJobDefinition(&sv.TransformJobDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -37275,6 +37321,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(v **types. if err := awsAwsjson11_deserializeDocumentAlgorithmValidationProfiles(&sv.ValidationProfiles, value); err != nil { return err } + case "ValidationRole": if value != nil { jtv, ok := value.(string) @@ -37283,6 +37330,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(v **types. } sv.ValidationRole = ptr.String(jtv) } + default: _, _ = key, value @@ -37322,6 +37370,7 @@ func awsAwsjson11_deserializeDocumentAmazonQSettings(v **types.AmazonQSettings, } sv.QProfileArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37330,6 +37379,7 @@ func awsAwsjson11_deserializeDocumentAmazonQSettings(v **types.AmazonQSettings, } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -37369,6 +37419,7 @@ func awsAwsjson11_deserializeDocumentAnnotationConsolidationConfig(v **types.Ann } sv.AnnotationConsolidationLambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -37408,6 +37459,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.AppName = ptr.String(jtv) } + case "AppType": if value != nil { jtv, ok := value.(string) @@ -37416,6 +37468,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.AppType = types.AppType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37431,6 +37484,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -37439,10 +37493,12 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.DomainId = ptr.String(jtv) } + case "ResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.ResourceSpec, value); err != nil { return err } + case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -37451,6 +37507,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.SpaceName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37459,6 +37516,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.Status = types.AppStatus(jtv) } + case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -37467,6 +37525,7 @@ func awsAwsjson11_deserializeDocumentAppDetails(v **types.AppDetails, value inte } sv.UserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -37506,6 +37565,7 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } sv.AppImageConfigArn = ptr.String(jtv) } + case "AppImageConfigName": if value != nil { jtv, ok := value.(string) @@ -37514,10 +37574,12 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } sv.AppImageConfigName = ptr.String(jtv) } + case "CodeEditorAppImageConfig": if err := awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(&sv.CodeEditorAppImageConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37533,14 +37595,17 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } } + case "JupyterLabAppImageConfig": if err := awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(&sv.JupyterLabAppImageConfig, value); err != nil { return err } + case "KernelGatewayImageConfig": if err := awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(&sv.KernelGatewayImageConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -37556,6 +37621,7 @@ func awsAwsjson11_deserializeDocumentAppImageConfigDetails(v **types.AppImageCon } } + default: _, _ = key, value @@ -37625,6 +37691,7 @@ func awsAwsjson11_deserializeDocumentAppLifecycleManagement(v **types.AppLifecyc if err := awsAwsjson11_deserializeDocumentIdleSettings(&sv.IdleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -37694,10 +37761,12 @@ func awsAwsjson11_deserializeDocumentAppSpecification(v **types.AppSpecification if err := awsAwsjson11_deserializeDocumentContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -37706,6 +37775,7 @@ func awsAwsjson11_deserializeDocumentAppSpecification(v **types.AppSpecification } sv.ImageUri = ptr.String(jtv) } + default: _, _ = key, value @@ -37741,6 +37811,7 @@ func awsAwsjson11_deserializeDocumentArtifactSource(v **types.ArtifactSource, va if err := awsAwsjson11_deserializeDocumentArtifactSourceTypes(&sv.SourceTypes, value); err != nil { return err } + case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -37749,6 +37820,7 @@ func awsAwsjson11_deserializeDocumentArtifactSource(v **types.ArtifactSource, va } sv.SourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -37788,6 +37860,7 @@ func awsAwsjson11_deserializeDocumentArtifactSourceType(v **types.ArtifactSource } sv.SourceIdType = types.ArtifactSourceIdType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -37796,6 +37869,7 @@ func awsAwsjson11_deserializeDocumentArtifactSourceType(v **types.ArtifactSource } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -37903,6 +37977,7 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactArn = ptr.String(jtv) } + case "ArtifactName": if value != nil { jtv, ok := value.(string) @@ -37911,6 +37986,7 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactName = ptr.String(jtv) } + case "ArtifactType": if value != nil { jtv, ok := value.(string) @@ -37919,6 +37995,7 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } sv.ArtifactType = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -37934,6 +38011,7 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -37949,10 +38027,12 @@ func awsAwsjson11_deserializeDocumentArtifactSummary(v **types.ArtifactSummary, } } + case "Source": if err := awsAwsjson11_deserializeDocumentArtifactSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -38026,10 +38106,12 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.AssociationType = types.AssociationEdgeType(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -38045,6 +38127,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } } + case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -38053,6 +38136,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationArn = ptr.String(jtv) } + case "DestinationName": if value != nil { jtv, ok := value.(string) @@ -38061,6 +38145,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationName = ptr.String(jtv) } + case "DestinationType": if value != nil { jtv, ok := value.(string) @@ -38069,6 +38154,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.DestinationType = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -38077,6 +38163,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceArn = ptr.String(jtv) } + case "SourceName": if value != nil { jtv, ok := value.(string) @@ -38085,6 +38172,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceName = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -38093,6 +38181,7 @@ func awsAwsjson11_deserializeDocumentAssociationSummary(v **types.AssociationSum } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -38172,6 +38261,7 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceClientConfig(v **types.AsyncI } sv.MaxConcurrentInvocationsPerInstance = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -38207,10 +38297,12 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceConfig(v **types.AsyncInferen if err := awsAwsjson11_deserializeDocumentAsyncInferenceClientConfig(&sv.ClientConfig, value); err != nil { return err } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(&sv.OutputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -38250,10 +38342,12 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(v **types. } sv.ErrorTopic = ptr.String(jtv) } + case "IncludeInferenceResponseIn": if err := awsAwsjson11_deserializeDocumentAsyncNotificationTopicTypeList(&sv.IncludeInferenceResponseIn, value); err != nil { return err } + case "SuccessTopic": if value != nil { jtv, ok := value.(string) @@ -38262,6 +38356,7 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(v **types. } sv.SuccessTopic = ptr.String(jtv) } + default: _, _ = key, value @@ -38301,10 +38396,12 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.KmsKeyId = ptr.String(jtv) } + case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentAsyncInferenceNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } + case "S3FailurePath": if value != nil { jtv, ok := value.(string) @@ -38313,6 +38410,7 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.S3FailurePath = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -38321,6 +38419,7 @@ func awsAwsjson11_deserializeDocumentAsyncInferenceOutputConfig(v **types.AsyncI } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -38396,6 +38495,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.Catalog = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -38404,6 +38504,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.Database = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -38412,6 +38513,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.KmsKeyId = ptr.String(jtv) } + case "OutputCompression": if value != nil { jtv, ok := value.(string) @@ -38420,6 +38522,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputCompression = types.AthenaResultCompressionType(jtv) } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -38428,6 +38531,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputFormat = types.AthenaResultFormat(jtv) } + case "OutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -38436,6 +38540,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.OutputS3Uri = ptr.String(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -38444,6 +38549,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.QueryString = ptr.String(jtv) } + case "WorkGroup": if value != nil { jtv, ok := value.(string) @@ -38452,6 +38558,7 @@ func awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(v **types.AthenaDat } sv.WorkGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -38559,6 +38666,7 @@ func awsAwsjson11_deserializeDocumentAutoMLAlgorithmConfig(v **types.AutoMLAlgor if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithms(&sv.AutoMLAlgorithms, value); err != nil { return err } + default: _, _ = key, value @@ -38668,10 +38776,12 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.CandidateName = ptr.String(jtv) } + case "CandidateProperties": if err := awsAwsjson11_deserializeDocumentCandidateProperties(&sv.CandidateProperties, value); err != nil { return err } + case "CandidateStatus": if value != nil { jtv, ok := value.(string) @@ -38680,10 +38790,12 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.CandidateStatus = types.CandidateStatus(jtv) } + case "CandidateSteps": if err := awsAwsjson11_deserializeDocumentCandidateSteps(&sv.CandidateSteps, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -38699,6 +38811,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -38714,6 +38827,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -38722,18 +38836,22 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.FailureReason = ptr.String(jtv) } + case "FinalAutoMLJobObjectiveMetric": if err := awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(&sv.FinalAutoMLJobObjectiveMetric, value); err != nil { return err } + case "InferenceContainerDefinitions": if err := awsAwsjson11_deserializeDocumentAutoMLInferenceContainerDefinitions(&sv.InferenceContainerDefinitions, value); err != nil { return err } + case "InferenceContainers": if err := awsAwsjson11_deserializeDocumentAutoMLContainerDefinitions(&sv.InferenceContainers, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -38749,6 +38867,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } } + case "ObjectiveStatus": if value != nil { jtv, ok := value.(string) @@ -38757,6 +38876,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, } sv.ObjectiveStatus = types.ObjectiveStatus(jtv) } + default: _, _ = key, value @@ -38792,6 +38912,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(v **types.A if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithmsConfig(&sv.AlgorithmsConfig, value); err != nil { return err } + case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -38800,6 +38921,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(v **types.A } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -38873,6 +38995,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepArn = ptr.String(jtv) } + case "CandidateStepName": if value != nil { jtv, ok := value.(string) @@ -38881,6 +39004,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepName = ptr.String(jtv) } + case "CandidateStepType": if value != nil { jtv, ok := value.(string) @@ -38889,6 +39013,7 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidateStep(v **types.AutoMLCandida } sv.CandidateStepType = types.CandidateStepType(jtv) } + default: _, _ = key, value @@ -38928,6 +39053,7 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.ChannelType = types.AutoMLChannelType(jtv) } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -38936,6 +39062,7 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.CompressionType = types.CompressionType(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -38944,10 +39071,12 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.ContentType = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentAutoMLDataSource(&sv.DataSource, value); err != nil { return err } + case "SampleWeightAttributeName": if value != nil { jtv, ok := value.(string) @@ -38956,6 +39085,7 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.SampleWeightAttributeName = ptr.String(jtv) } + case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -38964,6 +39094,7 @@ func awsAwsjson11_deserializeDocumentAutoMLChannel(v **types.AutoMLChannel, valu } sv.TargetAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -38999,6 +39130,7 @@ func awsAwsjson11_deserializeDocumentAutoMLComputeConfig(v **types.AutoMLCompute if err := awsAwsjson11_deserializeDocumentEmrServerlessComputeConfig(&sv.EmrServerlessComputeConfig, value); err != nil { return err } + default: _, _ = key, value @@ -39034,6 +39166,7 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "Image": if value != nil { jtv, ok := value.(string) @@ -39042,6 +39175,7 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC } sv.Image = ptr.String(jtv) } + case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -39050,6 +39184,7 @@ func awsAwsjson11_deserializeDocumentAutoMLContainerDefinition(v **types.AutoMLC } sv.ModelDataUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -39119,6 +39254,7 @@ func awsAwsjson11_deserializeDocumentAutoMLDataSource(v **types.AutoMLDataSource if err := awsAwsjson11_deserializeDocumentAutoMLS3DataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -39183,6 +39319,7 @@ func awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(v **types.AutoMLDataS } } + default: _, _ = key, value @@ -39290,6 +39427,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(v **types.AutoMLJobArtif } sv.CandidateDefinitionNotebookLocation = ptr.String(jtv) } + case "DataExplorationNotebookLocation": if value != nil { jtv, ok := value.(string) @@ -39298,6 +39436,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(v **types.AutoMLJobArtif } sv.DataExplorationNotebookLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -39337,6 +39476,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.ChannelType = types.AutoMLChannelType(jtv) } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -39345,6 +39485,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.CompressionType = types.CompressionType(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -39353,10 +39494,12 @@ func awsAwsjson11_deserializeDocumentAutoMLJobChannel(v **types.AutoMLJobChannel } sv.ContentType = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentAutoMLDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -39400,6 +39543,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxAutoMLJobRuntimeInSeconds = ptr.Int32(int32(i64)) } + case "MaxCandidates": if value != nil { jtv, ok := value.(json.Number) @@ -39412,6 +39556,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxCandidates = ptr.Int32(int32(i64)) } + case "MaxRuntimePerTrainingJobInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -39424,6 +39569,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(v **types.AutoM } sv.MaxRuntimePerTrainingJobInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39459,14 +39605,17 @@ func awsAwsjson11_deserializeDocumentAutoMLJobConfig(v **types.AutoMLJobConfig, if err := awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "DataSplitConfig": if err := awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(&sv.DataSplitConfig, value); err != nil { return err } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -39475,10 +39624,12 @@ func awsAwsjson11_deserializeDocumentAutoMLJobConfig(v **types.AutoMLJobConfig, } sv.Mode = types.AutoMLMode(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -39552,6 +39703,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobObjective(v **types.AutoMLJobObjec } sv.MetricName = types.AutoMLMetricEnum(jtv) } + default: _, _ = key, value @@ -39591,6 +39743,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobStepMetadata(v **types.AutoMLJobSt } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -39664,6 +39817,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobArn = ptr.String(jtv) } + case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -39672,6 +39826,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobName = ptr.String(jtv) } + case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -39680,6 +39835,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } + case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -39688,6 +39844,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -39703,6 +39860,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -39718,6 +39876,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -39726,6 +39885,7 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -39741,10 +39901,12 @@ func awsAwsjson11_deserializeDocumentAutoMLJobSummary(v **types.AutoMLJobSummary } } + case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } + default: _, _ = key, value @@ -39784,6 +39946,7 @@ func awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(v **types.AutoMLOutp } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -39792,6 +39955,7 @@ func awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(v **types.AutoMLOutp } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -39831,6 +39995,7 @@ func awsAwsjson11_deserializeDocumentAutoMLPartialFailureReason(v **types.AutoML } sv.PartialFailureMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -40030,14 +40195,17 @@ func awsAwsjson11_deserializeDocumentAutoMLResolvedAttributes(v **types.AutoMLRe if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } + case "AutoMLProblemTypeResolvedAttributes": if err := awsAwsjson11_deserializeDocumentAutoMLProblemTypeResolvedAttributes(&sv.AutoMLProblemTypeResolvedAttributes, value); err != nil { return err } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -40077,6 +40245,7 @@ func awsAwsjson11_deserializeDocumentAutoMLS3DataSource(v **types.AutoMLS3DataSo } sv.S3DataType = types.AutoMLS3DataType(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -40085,6 +40254,7 @@ func awsAwsjson11_deserializeDocumentAutoMLS3DataSource(v **types.AutoMLS3DataSo } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -40124,6 +40294,7 @@ func awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(v **types.AutoMLSecuri } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40132,10 +40303,12 @@ func awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(v **types.AutoMLSecuri } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -40175,6 +40348,7 @@ func awsAwsjson11_deserializeDocumentAutoParameter(v **types.AutoParameter, valu } sv.Name = ptr.String(jtv) } + case "ValueHint": if value != nil { jtv, ok := value.(string) @@ -40183,6 +40357,7 @@ func awsAwsjson11_deserializeDocumentAutoParameter(v **types.AutoParameter, valu } sv.ValueHint = ptr.String(jtv) } + default: _, _ = key, value @@ -40252,6 +40427,7 @@ func awsAwsjson11_deserializeDocumentAutoRollbackConfig(v **types.AutoRollbackCo if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } + default: _, _ = key, value @@ -40291,6 +40467,7 @@ func awsAwsjson11_deserializeDocumentAutotune(v **types.Autotune, value interfac } sv.Mode = types.AutotuneMode(jtv) } + default: _, _ = key, value @@ -40330,6 +40507,7 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.DestinationS3Uri = ptr.String(jtv) } + case "GenerateInferenceId": if value != nil { jtv, ok := value.(bool) @@ -40338,6 +40516,7 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.GenerateInferenceId = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40346,6 +40525,7 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -40385,6 +40565,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.Code = types.BatchDeleteClusterNodesErrorCode(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -40393,6 +40574,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.Message = ptr.String(jtv) } + case "NodeId": if value != nil { jtv, ok := value.(string) @@ -40401,6 +40583,7 @@ func awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesError(v **types.Batc } sv.NodeId = ptr.String(jtv) } + default: _, _ = key, value @@ -40474,6 +40657,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageError(v **types.Ba } sv.ErrorCode = ptr.String(jtv) } + case "ErrorResponse": if value != nil { jtv, ok := value.(string) @@ -40482,6 +40666,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageError(v **types.Ba } sv.ErrorResponse = ptr.String(jtv) } + default: _, _ = key, value @@ -40563,10 +40748,12 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } } + case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } + case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -40575,6 +40762,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } + case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -40583,6 +40771,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageArn = ptr.String(jtv) } + case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -40591,6 +40780,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -40599,6 +40789,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -40607,6 +40798,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } + case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -40619,6 +40811,7 @@ func awsAwsjson11_deserializeDocumentBatchDescribeModelPackageSummary(v **types. } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40658,10 +40851,12 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.DataCapturedDestinationS3Uri = ptr.String(jtv) } + case "DatasetFormat": if err := awsAwsjson11_deserializeDocumentMonitoringDatasetFormat(&sv.DatasetFormat, value); err != nil { return err } + case "EndTimeOffset": if value != nil { jtv, ok := value.(string) @@ -40670,6 +40865,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.EndTimeOffset = ptr.String(jtv) } + case "ExcludeFeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -40678,6 +40874,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.ExcludeFeaturesAttribute = ptr.String(jtv) } + case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -40686,6 +40883,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.FeaturesAttribute = ptr.String(jtv) } + case "InferenceAttribute": if value != nil { jtv, ok := value.(string) @@ -40694,6 +40892,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.InferenceAttribute = ptr.String(jtv) } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -40702,6 +40901,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.LocalPath = ptr.String(jtv) } + case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -40710,6 +40910,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.ProbabilityAttribute = ptr.String(jtv) } + case "ProbabilityThresholdAttribute": if value != nil { switch jtv := value.(type) { @@ -40743,6 +40944,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } } + case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -40751,6 +40953,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } + case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -40759,6 +40962,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } + case "StartTimeOffset": if value != nil { jtv, ok := value.(string) @@ -40767,6 +40971,7 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor } sv.StartTimeOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -40810,6 +41015,7 @@ func awsAwsjson11_deserializeDocumentBestObjectiveNotImproving(v **types.BestObj } sv.MaxNumberOfTrainingJobsNotImproving = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40845,14 +41051,17 @@ func awsAwsjson11_deserializeDocumentBias(v **types.Bias, value interface{}) err if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PostTrainingReport, value); err != nil { return err } + case "PreTrainingReport": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PreTrainingReport, value); err != nil { return err } + case "Report": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Report, value); err != nil { return err } + default: _, _ = key, value @@ -40896,6 +41105,7 @@ func awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(v **types.BlueGreenUp } sv.MaximumExecutionTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "TerminationWaitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -40908,10 +41118,12 @@ func awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(v **types.BlueGreenUp } sv.TerminationWaitInSeconds = ptr.Int32(int32(i64)) } + case "TrafficRoutingConfiguration": if err := awsAwsjson11_deserializeDocumentTrafficRoutingConfig(&sv.TrafficRoutingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -40951,6 +41163,7 @@ func awsAwsjson11_deserializeDocumentCacheHitResult(v **types.CacheHitResult, va } sv.SourcePipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -40990,10 +41203,12 @@ func awsAwsjson11_deserializeDocumentCallbackStepMetadata(v **types.CallbackStep } sv.CallbackToken = ptr.String(jtv) } + case "OutputParameters": if err := awsAwsjson11_deserializeDocumentOutputParameterList(&sv.OutputParameters, value); err != nil { return err } + case "SqsQueueUrl": if value != nil { jtv, ok := value.(string) @@ -41002,6 +41217,7 @@ func awsAwsjson11_deserializeDocumentCallbackStepMetadata(v **types.CallbackStep } sv.SqsQueueUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -41041,6 +41257,7 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.BacktestResults = ptr.String(jtv) } + case "Explainability": if value != nil { jtv, ok := value.(string) @@ -41049,6 +41266,7 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.Explainability = ptr.String(jtv) } + case "ModelInsights": if value != nil { jtv, ok := value.(string) @@ -41057,6 +41275,7 @@ func awsAwsjson11_deserializeDocumentCandidateArtifactLocations(v **types.Candid } sv.ModelInsights = ptr.String(jtv) } + default: _, _ = key, value @@ -41092,6 +41311,7 @@ func awsAwsjson11_deserializeDocumentCandidateGenerationConfig(v **types.Candida if err := awsAwsjson11_deserializeDocumentAutoMLAlgorithmsConfig(&sv.AlgorithmsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -41127,10 +41347,12 @@ func awsAwsjson11_deserializeDocumentCandidateProperties(v **types.CandidateProp if err := awsAwsjson11_deserializeDocumentCandidateArtifactLocations(&sv.CandidateArtifactLocations, value); err != nil { return err } + case "CandidateMetrics": if err := awsAwsjson11_deserializeDocumentMetricDataList(&sv.CandidateMetrics, value); err != nil { return err } + default: _, _ = key, value @@ -41200,34 +41422,42 @@ func awsAwsjson11_deserializeDocumentCanvasAppSettings(v **types.CanvasAppSettin if err := awsAwsjson11_deserializeDocumentDirectDeploySettings(&sv.DirectDeploySettings, value); err != nil { return err } + case "EmrServerlessSettings": if err := awsAwsjson11_deserializeDocumentEmrServerlessSettings(&sv.EmrServerlessSettings, value); err != nil { return err } + case "GenerativeAiSettings": if err := awsAwsjson11_deserializeDocumentGenerativeAiSettings(&sv.GenerativeAiSettings, value); err != nil { return err } + case "IdentityProviderOAuthSettings": if err := awsAwsjson11_deserializeDocumentIdentityProviderOAuthSettings(&sv.IdentityProviderOAuthSettings, value); err != nil { return err } + case "KendraSettings": if err := awsAwsjson11_deserializeDocumentKendraSettings(&sv.KendraSettings, value); err != nil { return err } + case "ModelRegisterSettings": if err := awsAwsjson11_deserializeDocumentModelRegisterSettings(&sv.ModelRegisterSettings, value); err != nil { return err } + case "TimeSeriesForecastingSettings": if err := awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(&sv.TimeSeriesForecastingSettings, value); err != nil { return err } + case "WorkspaceSettings": if err := awsAwsjson11_deserializeDocumentWorkspaceSettings(&sv.WorkspaceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -41267,6 +41497,7 @@ func awsAwsjson11_deserializeDocumentCapacitySize(v **types.CapacitySize, value } sv.Type = types.CapacitySizeType(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -41279,6 +41510,7 @@ func awsAwsjson11_deserializeDocumentCapacitySize(v **types.CapacitySize, value } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41314,10 +41546,12 @@ func awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(v **types.CaptureC if err := awsAwsjson11_deserializeDocumentCsvContentTypes(&sv.CsvContentTypes, value); err != nil { return err } + case "JsonContentTypes": if err := awsAwsjson11_deserializeDocumentJsonContentTypes(&sv.JsonContentTypes, value); err != nil { return err } + default: _, _ = key, value @@ -41357,6 +41591,7 @@ func awsAwsjson11_deserializeDocumentCaptureOption(v **types.CaptureOption, valu } sv.CaptureMode = types.CaptureMode(jtv) } + default: _, _ = key, value @@ -41430,10 +41665,12 @@ func awsAwsjson11_deserializeDocumentCategoricalParameter(v **types.CategoricalP } sv.Name = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentCategoricalParameterRangeValues(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -41473,10 +41710,12 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRange(v **types.Categor } sv.Name = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentParameterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -41546,6 +41785,7 @@ func awsAwsjson11_deserializeDocumentCategoricalParameterRangeSpecification(v ** if err := awsAwsjson11_deserializeDocumentParameterValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -41655,6 +41895,7 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ChannelName = ptr.String(jtv) } + case "CompressionType": if value != nil { jtv, ok := value.(string) @@ -41663,6 +41904,7 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.CompressionType = types.CompressionType(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -41671,10 +41913,12 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.ContentType = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { return err } + case "InputMode": if value != nil { jtv, ok := value.(string) @@ -41683,6 +41927,7 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.InputMode = types.TrainingInputMode(jtv) } + case "RecordWrapperType": if value != nil { jtv, ok := value.(string) @@ -41691,10 +41936,12 @@ func awsAwsjson11_deserializeDocumentChannel(v **types.Channel, value interface{ } sv.RecordWrapperType = types.RecordWrapper(jtv) } + case "ShuffleConfig": if err := awsAwsjson11_deserializeDocumentShuffleConfig(&sv.ShuffleConfig, value); err != nil { return err } + default: _, _ = key, value @@ -41734,6 +41981,7 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.Description = ptr.String(jtv) } + case "IsRequired": if value != nil { jtv, ok := value.(bool) @@ -41742,6 +41990,7 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.IsRequired = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -41750,18 +41999,22 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci } sv.Name = ptr.String(jtv) } + case "SupportedCompressionTypes": if err := awsAwsjson11_deserializeDocumentCompressionTypes(&sv.SupportedCompressionTypes, value); err != nil { return err } + case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } + case "SupportedInputModes": if err := awsAwsjson11_deserializeDocumentInputModes(&sv.SupportedInputModes, value); err != nil { return err } + default: _, _ = key, value @@ -41835,6 +42088,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfig(v **types.CheckpointConfig } sv.LocalPath = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -41843,6 +42097,7 @@ func awsAwsjson11_deserializeDocumentCheckpointConfig(v **types.CheckpointConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -41918,6 +42173,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.BaselineUsedForDriftCheckConstraints = ptr.String(jtv) } + case "CalculatedBaselineConstraints": if value != nil { jtv, ok := value.(string) @@ -41926,6 +42182,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CalculatedBaselineConstraints = ptr.String(jtv) } + case "CheckJobArn": if value != nil { jtv, ok := value.(string) @@ -41934,6 +42191,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CheckJobArn = ptr.String(jtv) } + case "CheckType": if value != nil { jtv, ok := value.(string) @@ -41942,6 +42200,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.CheckType = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -41950,6 +42209,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.ModelPackageGroupName = ptr.String(jtv) } + case "RegisterNewBaseline": if value != nil { jtv, ok := value.(bool) @@ -41958,6 +42218,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.RegisterNewBaseline = ptr.Bool(jtv) } + case "SkipCheck": if value != nil { jtv, ok := value.(bool) @@ -41966,6 +42227,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.SkipCheck = ptr.Bool(jtv) } + case "ViolationReport": if value != nil { jtv, ok := value.(string) @@ -41974,6 +42236,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC } sv.ViolationReport = ptr.String(jtv) } + default: _, _ = key, value @@ -42013,14 +42276,17 @@ func awsAwsjson11_deserializeDocumentClarifyExplainerConfig(v **types.ClarifyExp } sv.EnableExplanations = ptr.String(jtv) } + case "InferenceConfig": if err := awsAwsjson11_deserializeDocumentClarifyInferenceConfig(&sv.InferenceConfig, value); err != nil { return err } + case "ShapConfig": if err := awsAwsjson11_deserializeDocumentClarifyShapConfig(&sv.ShapConfig, value); err != nil { return err } + default: _, _ = key, value @@ -42132,10 +42398,12 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ContentTemplate = ptr.String(jtv) } + case "FeatureHeaders": if err := awsAwsjson11_deserializeDocumentClarifyFeatureHeaders(&sv.FeatureHeaders, value); err != nil { return err } + case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -42144,10 +42412,12 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.FeaturesAttribute = ptr.String(jtv) } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentClarifyFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + case "LabelAttribute": if value != nil { jtv, ok := value.(string) @@ -42156,10 +42426,12 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.LabelAttribute = ptr.String(jtv) } + case "LabelHeaders": if err := awsAwsjson11_deserializeDocumentClarifyLabelHeaders(&sv.LabelHeaders, value); err != nil { return err } + case "LabelIndex": if value != nil { jtv, ok := value.(json.Number) @@ -42172,6 +42444,7 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.LabelIndex = ptr.Int32(int32(i64)) } + case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -42184,6 +42457,7 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } + case "MaxRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -42196,6 +42470,7 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.MaxRecordCount = ptr.Int32(int32(i64)) } + case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -42204,6 +42479,7 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ProbabilityAttribute = ptr.String(jtv) } + case "ProbabilityIndex": if value != nil { jtv, ok := value.(json.Number) @@ -42216,6 +42492,7 @@ func awsAwsjson11_deserializeDocumentClarifyInferenceConfig(v **types.ClarifyInf } sv.ProbabilityIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42291,6 +42568,7 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.MimeType = ptr.String(jtv) } + case "ShapBaseline": if value != nil { jtv, ok := value.(string) @@ -42299,6 +42577,7 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.ShapBaseline = ptr.String(jtv) } + case "ShapBaselineUri": if value != nil { jtv, ok := value.(string) @@ -42307,6 +42586,7 @@ func awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(v **types.Clarify } sv.ShapBaselineUri = ptr.String(jtv) } + default: _, _ = key, value @@ -42350,6 +42630,7 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.NumberOfSamples = ptr.Int32(int32(i64)) } + case "Seed": if value != nil { jtv, ok := value.(json.Number) @@ -42362,14 +42643,17 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.Seed = ptr.Int32(int32(i64)) } + case "ShapBaselineConfig": if err := awsAwsjson11_deserializeDocumentClarifyShapBaselineConfig(&sv.ShapBaselineConfig, value); err != nil { return err } + case "TextConfig": if err := awsAwsjson11_deserializeDocumentClarifyTextConfig(&sv.TextConfig, value); err != nil { return err } + case "UseLogit": if value != nil { jtv, ok := value.(bool) @@ -42378,6 +42662,7 @@ func awsAwsjson11_deserializeDocumentClarifyShapConfig(v **types.ClarifyShapConf } sv.UseLogit = ptr.Bool(jtv) } + default: _, _ = key, value @@ -42417,6 +42702,7 @@ func awsAwsjson11_deserializeDocumentClarifyTextConfig(v **types.ClarifyTextConf } sv.Granularity = types.ClarifyTextGranularity(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -42425,6 +42711,7 @@ func awsAwsjson11_deserializeDocumentClarifyTextConfig(v **types.ClarifyTextConf } sv.Language = types.ClarifyTextLanguage(jtv) } + default: _, _ = key, value @@ -42468,6 +42755,7 @@ func awsAwsjson11_deserializeDocumentClusterEbsVolumeConfig(v **types.ClusterEbs } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42511,6 +42799,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.CurrentCount = ptr.Int32(int32(i64)) } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -42519,6 +42808,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.ExecutionRole = ptr.String(jtv) } + case "InstanceGroupName": if value != nil { jtv, ok := value.(string) @@ -42527,10 +42817,12 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.InstanceGroupName = ptr.String(jtv) } + case "InstanceStorageConfigs": if err := awsAwsjson11_deserializeDocumentClusterInstanceStorageConfigs(&sv.InstanceStorageConfigs, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -42539,14 +42831,17 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.InstanceType = types.ClusterInstanceType(jtv) } + case "LifeCycleConfig": if err := awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(&sv.LifeCycleConfig, value); err != nil { return err } + case "OnStartDeepHealthChecks": if err := awsAwsjson11_deserializeDocumentOnStartDeepHealthChecks(&sv.OnStartDeepHealthChecks, value); err != nil { return err } + case "TargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -42559,6 +42854,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.TargetCount = ptr.Int32(int32(i64)) } + case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -42571,6 +42867,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceGroupDetails(v **types.Clust } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42644,6 +42941,7 @@ func awsAwsjson11_deserializeDocumentClusterInstancePlacement(v **types.ClusterI } sv.AvailabilityZone = ptr.String(jtv) } + case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -42652,6 +42950,7 @@ func awsAwsjson11_deserializeDocumentClusterInstancePlacement(v **types.ClusterI } sv.AvailabilityZoneId = ptr.String(jtv) } + default: _, _ = key, value @@ -42691,6 +42990,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(v **types.Clus } sv.Message = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -42699,6 +42999,7 @@ func awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(v **types.Clus } sv.Status = types.ClusterInstanceStatus(jtv) } + default: _, _ = key, value @@ -42810,6 +43111,7 @@ func awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(v **types.ClusterLif } sv.OnCreate = ptr.String(jtv) } + case "SourceS3Uri": if value != nil { jtv, ok := value.(string) @@ -42818,6 +43120,7 @@ func awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(v **types.ClusterLif } sv.SourceS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -42857,6 +43160,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceGroupName = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -42865,14 +43169,17 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceId = ptr.String(jtv) } + case "InstanceStatus": if err := awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(&sv.InstanceStatus, value); err != nil { return err } + case "InstanceStorageConfigs": if err := awsAwsjson11_deserializeDocumentClusterInstanceStorageConfigs(&sv.InstanceStorageConfigs, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -42881,6 +43188,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.InstanceType = types.ClusterInstanceType(jtv) } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -42896,14 +43204,17 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } } + case "LifeCycleConfig": if err := awsAwsjson11_deserializeDocumentClusterLifeCycleConfig(&sv.LifeCycleConfig, value); err != nil { return err } + case "Placement": if err := awsAwsjson11_deserializeDocumentClusterInstancePlacement(&sv.Placement, value); err != nil { return err } + case "PrivateDnsHostname": if value != nil { jtv, ok := value.(string) @@ -42912,6 +43223,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.PrivateDnsHostname = ptr.String(jtv) } + case "PrivatePrimaryIp": if value != nil { jtv, ok := value.(string) @@ -42920,6 +43232,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.PrivatePrimaryIp = ptr.String(jtv) } + case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -42932,6 +43245,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeDetails(v **types.ClusterNodeDet } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -43041,6 +43355,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceGroupName = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -43049,10 +43364,12 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceId = ptr.String(jtv) } + case "InstanceStatus": if err := awsAwsjson11_deserializeDocumentClusterInstanceStatusDetails(&sv.InstanceStatus, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -43061,6 +43378,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } sv.InstanceType = types.ClusterInstanceType(jtv) } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -43076,6 +43394,7 @@ func awsAwsjson11_deserializeDocumentClusterNodeSummary(v **types.ClusterNodeSum } } + default: _, _ = key, value @@ -43111,6 +43430,7 @@ func awsAwsjson11_deserializeDocumentClusterOrchestrator(v **types.ClusterOrches if err := awsAwsjson11_deserializeDocumentClusterOrchestratorEksConfig(&sv.Eks, value); err != nil { return err } + default: _, _ = key, value @@ -43150,6 +43470,7 @@ func awsAwsjson11_deserializeDocumentClusterOrchestratorEksConfig(v **types.Clus } sv.ClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -43223,6 +43544,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterArn = ptr.String(jtv) } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -43231,6 +43553,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterName = ptr.String(jtv) } + case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -43239,6 +43562,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } sv.ClusterStatus = types.ClusterStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43254,6 +43578,7 @@ func awsAwsjson11_deserializeDocumentClusterSummary(v **types.ClusterSummary, va } } + default: _, _ = key, value @@ -43289,10 +43614,12 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(v **types.CodeEdit if err := awsAwsjson11_deserializeDocumentContainerConfig(&sv.ContainerConfig, value); err != nil { return err } + case "FileSystemConfig": if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } + default: _, _ = key, value @@ -43328,6 +43655,7 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppSettings(v **types.CodeEditorA if err := awsAwsjson11_deserializeDocumentAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } + case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -43336,18 +43664,22 @@ func awsAwsjson11_deserializeDocumentCodeEditorAppSettings(v **types.CodeEditorA } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } + case "CustomImages": if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } + default: _, _ = key, value @@ -43421,6 +43753,7 @@ func awsAwsjson11_deserializeDocumentCodeRepository(v **types.CodeRepository, va } sv.RepositoryUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -43460,6 +43793,7 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } sv.CodeRepositoryArn = ptr.String(jtv) } + case "CodeRepositoryName": if value != nil { jtv, ok := value.(string) @@ -43468,6 +43802,7 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } sv.CodeRepositoryName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43483,10 +43818,12 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } } + case "GitConfig": if err := awsAwsjson11_deserializeDocumentGitConfig(&sv.GitConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -43502,6 +43839,7 @@ func awsAwsjson11_deserializeDocumentCodeRepositorySummary(v **types.CodeReposit } } + default: _, _ = key, value @@ -43575,6 +43913,7 @@ func awsAwsjson11_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.ClientId = ptr.String(jtv) } + case "UserPool": if value != nil { jtv, ok := value.(string) @@ -43583,6 +43922,7 @@ func awsAwsjson11_deserializeDocumentCognitoConfig(v **types.CognitoConfig, valu } sv.UserPool = ptr.String(jtv) } + default: _, _ = key, value @@ -43622,6 +43962,7 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.ClientId = ptr.String(jtv) } + case "UserGroup": if value != nil { jtv, ok := value.(string) @@ -43630,6 +43971,7 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.UserGroup = ptr.String(jtv) } + case "UserPool": if value != nil { jtv, ok := value.(string) @@ -43638,6 +43980,7 @@ func awsAwsjson11_deserializeDocumentCognitoMemberDefinition(v **types.CognitoMe } sv.UserPool = ptr.String(jtv) } + default: _, _ = key, value @@ -43717,10 +44060,12 @@ func awsAwsjson11_deserializeDocumentCollectionConfiguration(v **types.Collectio } sv.CollectionName = ptr.String(jtv) } + case "CollectionParameters": if err := awsAwsjson11_deserializeDocumentCollectionParameters(&sv.CollectionParameters, value); err != nil { return err } + default: _, _ = key, value @@ -43871,6 +44216,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } + case "CompilationJobArn": if value != nil { jtv, ok := value.(string) @@ -43879,6 +44225,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobArn = ptr.String(jtv) } + case "CompilationJobName": if value != nil { jtv, ok := value.(string) @@ -43887,6 +44234,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobName = ptr.String(jtv) } + case "CompilationJobStatus": if value != nil { jtv, ok := value.(string) @@ -43895,6 +44243,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationJobStatus = types.CompilationJobStatus(jtv) } + case "CompilationStartTime": if value != nil { switch jtv := value.(type) { @@ -43910,6 +44259,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } + case "CompilationTargetDevice": if value != nil { jtv, ok := value.(string) @@ -43918,6 +44268,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetDevice = types.TargetDevice(jtv) } + case "CompilationTargetPlatformAccelerator": if value != nil { jtv, ok := value.(string) @@ -43926,6 +44277,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformAccelerator = types.TargetPlatformAccelerator(jtv) } + case "CompilationTargetPlatformArch": if value != nil { jtv, ok := value.(string) @@ -43934,6 +44286,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformArch = types.TargetPlatformArch(jtv) } + case "CompilationTargetPlatformOs": if value != nil { jtv, ok := value.(string) @@ -43942,6 +44295,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } sv.CompilationTargetPlatformOs = types.TargetPlatformOs(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -43957,6 +44311,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -43972,6 +44327,7 @@ func awsAwsjson11_deserializeDocumentCompilationJobSummary(v **types.Compilation } } + default: _, _ = key, value @@ -44047,6 +44403,7 @@ func awsAwsjson11_deserializeDocumentConditionStepMetadata(v **types.ConditionSt } sv.Outcome = types.ConditionOutcome(jtv) } + default: _, _ = key, value @@ -44086,6 +44443,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -44157,14 +44515,17 @@ func awsAwsjson11_deserializeDocumentContainerConfig(v **types.ContainerConfig, if err := awsAwsjson11_deserializeDocumentCustomImageContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentCustomImageContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "ContainerEnvironmentVariables": if err := awsAwsjson11_deserializeDocumentCustomImageContainerEnvironmentVariables(&sv.ContainerEnvironmentVariables, value); err != nil { return err } + default: _, _ = key, value @@ -44200,6 +44561,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi if err := awsAwsjson11_deserializeDocumentAdditionalModelDataSources(&sv.AdditionalModelDataSources, value); err != nil { return err } + case "ContainerHostname": if value != nil { jtv, ok := value.(string) @@ -44208,10 +44570,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ContainerHostname = ptr.String(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "Image": if value != nil { jtv, ok := value.(string) @@ -44220,10 +44584,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Image = ptr.String(jtv) } + case "ImageConfig": if err := awsAwsjson11_deserializeDocumentImageConfig(&sv.ImageConfig, value); err != nil { return err } + case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -44232,6 +44598,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.InferenceSpecificationName = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -44240,10 +44607,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.Mode = types.ContainerMode(jtv) } + case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } + case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -44252,6 +44621,7 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ModelDataUrl = ptr.String(jtv) } + case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -44260,10 +44630,12 @@ func awsAwsjson11_deserializeDocumentContainerDefinition(v **types.ContainerDefi } sv.ModelPackageName = ptr.String(jtv) } + case "MultiModelConfig": if err := awsAwsjson11_deserializeDocumentMultiModelConfig(&sv.MultiModelConfig, value); err != nil { return err } + default: _, _ = key, value @@ -44445,6 +44817,7 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceId = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -44453,6 +44826,7 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceType = ptr.String(jtv) } + case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -44461,6 +44835,7 @@ func awsAwsjson11_deserializeDocumentContextSource(v **types.ContextSource, valu } sv.SourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -44534,6 +44909,7 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextArn = ptr.String(jtv) } + case "ContextName": if value != nil { jtv, ok := value.(string) @@ -44542,6 +44918,7 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextName = ptr.String(jtv) } + case "ContextType": if value != nil { jtv, ok := value.(string) @@ -44550,6 +44927,7 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } sv.ContextType = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -44565,6 +44943,7 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -44580,10 +44959,12 @@ func awsAwsjson11_deserializeDocumentContextSummary(v **types.ContextSummary, va } } + case "Source": if err := awsAwsjson11_deserializeDocumentContextSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -44623,6 +45004,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -44631,6 +45013,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.MinValue = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -44639,6 +45022,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.Name = ptr.String(jtv) } + case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -44647,6 +45031,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRange(v **types.Continuo } sv.ScalingType = types.HyperParameterScalingType(jtv) } + default: _, _ = key, value @@ -44720,6 +45105,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(v **t } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -44728,6 +45114,7 @@ func awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(v **t } sv.MinValue = ptr.String(jtv) } + default: _, _ = key, value @@ -44767,6 +45154,7 @@ func awsAwsjson11_deserializeDocumentConvergenceDetected(v **types.ConvergenceDe } sv.CompleteOnConvergence = types.CompleteOnConvergence(jtv) } + default: _, _ = key, value @@ -45022,6 +45410,7 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.AppImageConfigName = ptr.String(jtv) } + case "ImageName": if value != nil { jtv, ok := value.(string) @@ -45030,6 +45419,7 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.ImageName = ptr.String(jtv) } + case "ImageVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -45042,6 +45432,7 @@ func awsAwsjson11_deserializeDocumentCustomImage(v **types.CustomImage, value in } sv.ImageVersionNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -45223,6 +45614,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -45231,6 +45623,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Namespace = ptr.String(jtv) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -45239,6 +45632,7 @@ func awsAwsjson11_deserializeDocumentCustomizedMetricSpecification(v **types.Cus } sv.Statistic = types.Statistic(jtv) } + default: _, _ = key, value @@ -45282,6 +45676,7 @@ func awsAwsjson11_deserializeDocumentCustomPosixUserConfig(v **types.CustomPosix } sv.Gid = ptr.Int64(i64) } + case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -45294,6 +45689,7 @@ func awsAwsjson11_deserializeDocumentCustomPosixUserConfig(v **types.CustomPosix } sv.Uid = ptr.Int64(i64) } + default: _, _ = key, value @@ -45329,10 +45725,12 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf if err := awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(&sv.CaptureContentTypeHeader, value); err != nil { return err } + case "CaptureOptions": if err := awsAwsjson11_deserializeDocumentCaptureOptionList(&sv.CaptureOptions, value); err != nil { return err } + case "DestinationS3Uri": if value != nil { jtv, ok := value.(string) @@ -45341,6 +45739,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.DestinationS3Uri = ptr.String(jtv) } + case "EnableCapture": if value != nil { jtv, ok := value.(bool) @@ -45349,6 +45748,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.EnableCapture = ptr.Bool(jtv) } + case "InitialSamplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -45361,6 +45761,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.InitialSamplingPercentage = ptr.Int32(int32(i64)) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -45369,6 +45770,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -45408,6 +45810,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.CaptureStatus = types.CaptureStatus(jtv) } + case "CurrentSamplingPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -45420,6 +45823,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.CurrentSamplingPercentage = ptr.Int32(int32(i64)) } + case "DestinationS3Uri": if value != nil { jtv, ok := value.(string) @@ -45428,6 +45832,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.DestinationS3Uri = ptr.String(jtv) } + case "EnableCapture": if value != nil { jtv, ok := value.(bool) @@ -45436,6 +45841,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.EnableCapture = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -45444,6 +45850,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -45483,6 +45890,7 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.Catalog = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -45491,6 +45899,7 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.Database = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -45499,6 +45908,7 @@ func awsAwsjson11_deserializeDocumentDataCatalogConfig(v **types.DataCatalogConf } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -45538,6 +45948,7 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.InputFilter = ptr.String(jtv) } + case "JoinSource": if value != nil { jtv, ok := value.(string) @@ -45546,6 +45957,7 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.JoinSource = types.JoinSource(jtv) } + case "OutputFilter": if value != nil { jtv, ok := value.(string) @@ -45554,6 +45966,7 @@ func awsAwsjson11_deserializeDocumentDataProcessing(v **types.DataProcessing, va } sv.OutputFilter = ptr.String(jtv) } + default: _, _ = key, value @@ -45589,14 +46002,17 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -45605,6 +46021,7 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.ImageUri = ptr.String(jtv) } + case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -45613,6 +46030,7 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } + case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -45621,6 +46039,7 @@ func awsAwsjson11_deserializeDocumentDataQualityAppSpecification(v **types.DataQ } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -45660,14 +46079,17 @@ func awsAwsjson11_deserializeDocumentDataQualityBaselineConfig(v **types.DataQua } sv.BaseliningJobName = ptr.String(jtv) } + case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } + case "StatisticsResource": if err := awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(&sv.StatisticsResource, value); err != nil { return err } + default: _, _ = key, value @@ -45703,10 +46125,12 @@ func awsAwsjson11_deserializeDocumentDataQualityJobInput(v **types.DataQualityJo if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } + default: _, _ = key, value @@ -45742,6 +46166,7 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti if err := awsAwsjson11_deserializeDocumentAthenaDatasetDefinition(&sv.AthenaDatasetDefinition, value); err != nil { return err } + case "DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -45750,6 +46175,7 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.DataDistributionType = types.DataDistributionType(jtv) } + case "InputMode": if value != nil { jtv, ok := value.(string) @@ -45758,6 +46184,7 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.InputMode = types.InputMode(jtv) } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -45766,10 +46193,12 @@ func awsAwsjson11_deserializeDocumentDatasetDefinition(v **types.DatasetDefiniti } sv.LocalPath = ptr.String(jtv) } + case "RedshiftDatasetDefinition": if err := awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(&sv.RedshiftDatasetDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -45805,10 +46234,12 @@ func awsAwsjson11_deserializeDocumentDataSource(v **types.DataSource, value inte if err := awsAwsjson11_deserializeDocumentFileSystemDataSource(&sv.FileSystemDataSource, value); err != nil { return err } + case "S3DataSource": if err := awsAwsjson11_deserializeDocumentS3DataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -45844,10 +46275,12 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, if err := awsAwsjson11_deserializeDocumentCollectionConfigurations(&sv.CollectionConfigurations, value); err != nil { return err } + case "HookParameters": if err := awsAwsjson11_deserializeDocumentHookParameters(&sv.HookParameters, value); err != nil { return err } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -45856,6 +46289,7 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, } sv.LocalPath = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -45864,6 +46298,7 @@ func awsAwsjson11_deserializeDocumentDebugHookConfig(v **types.DebugHookConfig, } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -45903,6 +46338,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.InstanceType = types.ProcessingInstanceType(jtv) } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -45911,6 +46347,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.LocalPath = ptr.String(jtv) } + case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -45919,6 +46356,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.RuleConfigurationName = ptr.String(jtv) } + case "RuleEvaluatorImage": if value != nil { jtv, ok := value.(string) @@ -45927,10 +46365,12 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.RuleEvaluatorImage = ptr.String(jtv) } + case "RuleParameters": if err := awsAwsjson11_deserializeDocumentRuleParameters(&sv.RuleParameters, value); err != nil { return err } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -45939,6 +46379,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.S3OutputPath = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -45951,6 +46392,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -46031,6 +46473,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } } + case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -46039,6 +46482,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleConfigurationName = ptr.String(jtv) } + case "RuleEvaluationJobArn": if value != nil { jtv, ok := value.(string) @@ -46047,6 +46491,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleEvaluationJobArn = ptr.String(jtv) } + case "RuleEvaluationStatus": if value != nil { jtv, ok := value.(string) @@ -46055,6 +46500,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.RuleEvaluationStatus = types.RuleEvaluationStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -46063,6 +46509,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatus(v **types.DebugRu } sv.StatusDetails = ptr.String(jtv) } + default: _, _ = key, value @@ -46140,6 +46587,7 @@ func awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(v **types.Default } sv.DefaultEbsVolumeSizeInGb = ptr.Int32(int32(i64)) } + case "MaximumEbsVolumeSizeInGb": if value != nil { jtv, ok := value.(json.Number) @@ -46152,6 +46600,7 @@ func awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(v **types.Default } sv.MaximumEbsVolumeSizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -46187,10 +46636,12 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceSettings(v **types.DefaultSpace if err := awsAwsjson11_deserializeDocumentCustomFileSystemConfigs(&sv.CustomFileSystemConfigs, value); err != nil { return err } + case "CustomPosixUserConfig": if err := awsAwsjson11_deserializeDocumentCustomPosixUserConfig(&sv.CustomPosixUserConfig, value); err != nil { return err } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -46199,26 +46650,32 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceSettings(v **types.DefaultSpace } sv.ExecutionRole = ptr.String(jtv) } + case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } + case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } + case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } + case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } + default: _, _ = key, value @@ -46254,6 +46711,7 @@ func awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(v **types.Defau if err := awsAwsjson11_deserializeDocumentDefaultEbsStorageSettings(&sv.DefaultEbsStorageSettings, value); err != nil { return err } + default: _, _ = key, value @@ -46300,6 +46758,7 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } } + case "ResolvedImage": if value != nil { jtv, ok := value.(string) @@ -46308,6 +46767,7 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } sv.ResolvedImage = ptr.String(jtv) } + case "SpecifiedImage": if value != nil { jtv, ok := value.(string) @@ -46316,6 +46776,7 @@ func awsAwsjson11_deserializeDocumentDeployedImage(v **types.DeployedImage, valu } sv.SpecifiedImage = ptr.String(jtv) } + default: _, _ = key, value @@ -46385,14 +46846,17 @@ func awsAwsjson11_deserializeDocumentDeploymentConfig(v **types.DeploymentConfig if err := awsAwsjson11_deserializeDocumentAutoRollbackConfig(&sv.AutoRollbackConfiguration, value); err != nil { return err } + case "BlueGreenUpdatePolicy": if err := awsAwsjson11_deserializeDocumentBlueGreenUpdatePolicy(&sv.BlueGreenUpdatePolicy, value); err != nil { return err } + case "RollingUpdatePolicy": if err := awsAwsjson11_deserializeDocumentRollingUpdatePolicy(&sv.RollingUpdatePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -46428,6 +46892,7 @@ func awsAwsjson11_deserializeDocumentDeploymentRecommendation(v **types.Deployme if err := awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendations(&sv.RealTimeInferenceRecommendations, value); err != nil { return err } + case "RecommendationStatus": if value != nil { jtv, ok := value.(string) @@ -46436,6 +46901,7 @@ func awsAwsjson11_deserializeDocumentDeploymentRecommendation(v **types.Deployme } sv.RecommendationStatus = types.RecommendationStatus(jtv) } + default: _, _ = key, value @@ -46505,14 +46971,17 @@ func awsAwsjson11_deserializeDocumentDeploymentStageStatusSummary(v **types.Depl if err := awsAwsjson11_deserializeDocumentEdgeDeploymentConfig(&sv.DeploymentConfig, value); err != nil { return err } + case "DeploymentStatus": if err := awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(&sv.DeploymentStatus, value); err != nil { return err } + case "DeviceSelectionConfig": if err := awsAwsjson11_deserializeDocumentDeviceSelectionConfig(&sv.DeviceSelectionConfig, value); err != nil { return err } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -46521,6 +46990,7 @@ func awsAwsjson11_deserializeDocumentDeploymentStageStatusSummary(v **types.Depl } sv.StageName = ptr.String(jtv) } + default: _, _ = key, value @@ -46560,6 +47030,7 @@ func awsAwsjson11_deserializeDocumentDerivedInformation(v **types.DerivedInforma } sv.DerivedDataInputConfig = ptr.String(jtv) } + default: _, _ = key, value @@ -46633,6 +47104,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeployedStageName = ptr.String(jtv) } + case "DeploymentStartTime": if value != nil { switch jtv := value.(type) { @@ -46648,6 +47120,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -46656,6 +47129,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.Description = ptr.String(jtv) } + case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -46664,6 +47138,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceArn = ptr.String(jtv) } + case "DeviceDeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -46672,6 +47147,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceDeploymentStatus = types.DeviceDeploymentStatus(jtv) } + case "DeviceDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -46680,6 +47156,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceDeploymentStatusMessage = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -46688,6 +47165,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceFleetName = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -46696,6 +47174,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.DeviceName = ptr.String(jtv) } + case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -46704,6 +47183,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } + case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -46712,6 +47192,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.EdgeDeploymentPlanName = ptr.String(jtv) } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -46720,6 +47201,7 @@ func awsAwsjson11_deserializeDocumentDeviceDeploymentSummary(v **types.DeviceDep } sv.StageName = ptr.String(jtv) } + default: _, _ = key, value @@ -46800,6 +47282,7 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } } + case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -46808,6 +47291,7 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } sv.DeviceFleetArn = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -46816,6 +47300,7 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } sv.DeviceFleetName = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -46831,6 +47316,7 @@ func awsAwsjson11_deserializeDocumentDeviceFleetSummary(v **types.DeviceFleetSum } } + default: _, _ = key, value @@ -46906,10 +47392,12 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.DeviceNameContains = ptr.String(jtv) } + case "DeviceNames": if err := awsAwsjson11_deserializeDocumentDeviceNames(&sv.DeviceNames, value); err != nil { return err } + case "DeviceSubsetType": if value != nil { jtv, ok := value.(string) @@ -46918,6 +47406,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.DeviceSubsetType = types.DeviceSubsetType(jtv) } + case "Percentage": if value != nil { jtv, ok := value.(json.Number) @@ -46930,6 +47419,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec } sv.Percentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -46973,6 +47463,7 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in } sv.ConnectedDeviceCount = ptr.Int64(i64) } + case "RegisteredDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -46985,6 +47476,7 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in } sv.RegisteredDeviceCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -47058,6 +47550,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.AgentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -47066,6 +47559,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Description = ptr.String(jtv) } + case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -47074,6 +47568,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceArn = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -47082,6 +47577,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceFleetName = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -47090,6 +47586,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DeviceName = ptr.String(jtv) } + case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -47098,6 +47595,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.IotThingName = ptr.String(jtv) } + case "LatestHeartbeat": if value != nil { switch jtv := value.(type) { @@ -47113,10 +47611,12 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + case "Models": if err := awsAwsjson11_deserializeDocumentEdgeModelSummaries(&sv.Models, value); err != nil { return err } + case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -47132,6 +47632,7 @@ func awsAwsjson11_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + default: _, _ = key, value @@ -47171,6 +47672,7 @@ func awsAwsjson11_deserializeDocumentDirectDeploySettings(v **types.DirectDeploy } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -47210,10 +47712,12 @@ func awsAwsjson11_deserializeDocumentDockerSettings(v **types.DockerSettings, va } sv.EnableDockerAccess = types.FeatureStatus(jtv) } + case "VpcOnlyTrustedAccounts": if err := awsAwsjson11_deserializeDocumentVpcOnlyTrustedAccounts(&sv.VpcOnlyTrustedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -47260,6 +47764,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } } + case "DomainArn": if value != nil { jtv, ok := value.(string) @@ -47268,6 +47773,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainArn = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -47276,6 +47782,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -47284,6 +47791,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.DomainName = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -47299,6 +47807,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -47307,6 +47816,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Status = types.DomainStatus(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -47315,6 +47825,7 @@ func awsAwsjson11_deserializeDocumentDomainDetails(v **types.DomainDetails, valu } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -47420,10 +47931,12 @@ func awsAwsjson11_deserializeDocumentDomainSettings(v **types.DomainSettings, va if err := awsAwsjson11_deserializeDocumentAmazonQSettings(&sv.AmazonQSettings, value); err != nil { return err } + case "DockerSettings": if err := awsAwsjson11_deserializeDocumentDockerSettings(&sv.DockerSettings, value); err != nil { return err } + case "ExecutionRoleIdentityConfig": if value != nil { jtv, ok := value.(string) @@ -47432,14 +47945,17 @@ func awsAwsjson11_deserializeDocumentDomainSettings(v **types.DomainSettings, va } sv.ExecutionRoleIdentityConfig = types.ExecutionRoleIdentityConfig(jtv) } + case "RStudioServerProDomainSettings": if err := awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(&sv.RStudioServerProDomainSettings, value); err != nil { return err } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentDomainSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + default: _, _ = key, value @@ -47475,18 +47991,22 @@ func awsAwsjson11_deserializeDocumentDriftCheckBaselines(v **types.DriftCheckBas if err := awsAwsjson11_deserializeDocumentDriftCheckBias(&sv.Bias, value); err != nil { return err } + case "Explainability": if err := awsAwsjson11_deserializeDocumentDriftCheckExplainability(&sv.Explainability, value); err != nil { return err } + case "ModelDataQuality": if err := awsAwsjson11_deserializeDocumentDriftCheckModelDataQuality(&sv.ModelDataQuality, value); err != nil { return err } + case "ModelQuality": if err := awsAwsjson11_deserializeDocumentDriftCheckModelQuality(&sv.ModelQuality, value); err != nil { return err } + default: _, _ = key, value @@ -47522,14 +48042,17 @@ func awsAwsjson11_deserializeDocumentDriftCheckBias(v **types.DriftCheckBias, va if err := awsAwsjson11_deserializeDocumentFileSource(&sv.ConfigFile, value); err != nil { return err } + case "PostTrainingConstraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PostTrainingConstraints, value); err != nil { return err } + case "PreTrainingConstraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.PreTrainingConstraints, value); err != nil { return err } + default: _, _ = key, value @@ -47565,10 +48088,12 @@ func awsAwsjson11_deserializeDocumentDriftCheckExplainability(v **types.DriftChe if err := awsAwsjson11_deserializeDocumentFileSource(&sv.ConfigFile, value); err != nil { return err } + case "Constraints": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } + default: _, _ = key, value @@ -47604,10 +48129,12 @@ func awsAwsjson11_deserializeDocumentDriftCheckModelDataQuality(v **types.DriftC if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } + case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -47643,10 +48170,12 @@ func awsAwsjson11_deserializeDocumentDriftCheckModelQuality(v **types.DriftCheck if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } + case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -47690,6 +48219,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.MaxCapacity = ptr.Int32(int32(i64)) } + case "MinCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -47702,6 +48232,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.MinCapacity = ptr.Int32(int32(i64)) } + case "ScaleInCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -47714,6 +48245,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.ScaleInCooldown = ptr.Int32(int32(i64)) } + case "ScaleOutCooldown": if value != nil { jtv, ok := value.(json.Number) @@ -47726,10 +48258,12 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam } sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } + case "ScalingPolicies": if err := awsAwsjson11_deserializeDocumentScalingPolicies(&sv.ScalingPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -47773,6 +48307,7 @@ func awsAwsjson11_deserializeDocumentEbsStorageSettings(v **types.EbsStorageSett } sv.EbsVolumeSizeInGb = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -47812,6 +48347,7 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.AssociationType = types.AssociationEdgeType(jtv) } + case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -47820,6 +48356,7 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.DestinationArn = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -47828,6 +48365,7 @@ func awsAwsjson11_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -47867,6 +48405,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentConfig(v **types.EdgeDeployme } sv.FailureHandlingPolicy = types.FailureHandlingPolicy(jtv) } + default: _, _ = key, value @@ -47906,6 +48445,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfig(v **types.EdgeDep } sv.EdgePackagingJobName = ptr.String(jtv) } + case "ModelHandle": if value != nil { jtv, ok := value.(string) @@ -47914,6 +48454,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfig(v **types.EdgeDep } sv.ModelHandle = ptr.String(jtv) } + default: _, _ = key, value @@ -48028,6 +48569,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -48036,6 +48578,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.DeviceFleetName = ptr.String(jtv) } + case "EdgeDeploymentFailed": if value != nil { jtv, ok := value.(json.Number) @@ -48048,6 +48591,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } + case "EdgeDeploymentPending": if value != nil { jtv, ok := value.(json.Number) @@ -48060,6 +48604,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } + case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -48068,6 +48613,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } + case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -48076,6 +48622,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentPlanName = ptr.String(jtv) } + case "EdgeDeploymentSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -48088,6 +48635,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -48103,6 +48651,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep } } + default: _, _ = key, value @@ -48146,6 +48695,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentFailedInStage = ptr.Int32(int32(i64)) } + case "EdgeDeploymentPendingInStage": if value != nil { jtv, ok := value.(json.Number) @@ -48158,6 +48708,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentPendingInStage = ptr.Int32(int32(i64)) } + case "EdgeDeploymentStageStartTime": if value != nil { switch jtv := value.(type) { @@ -48173,6 +48724,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } } + case "EdgeDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -48181,6 +48733,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentStatusMessage = ptr.String(jtv) } + case "EdgeDeploymentSuccessInStage": if value != nil { jtv, ok := value.(json.Number) @@ -48193,6 +48746,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.EdgeDeploymentSuccessInStage = ptr.Int32(int32(i64)) } + case "StageStatus": if value != nil { jtv, ok := value.(string) @@ -48201,6 +48755,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme } sv.StageStatus = types.StageStatus(jtv) } + default: _, _ = key, value @@ -48247,6 +48802,7 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } } + case "LatestSampleTime": if value != nil { switch jtv := value.(type) { @@ -48262,6 +48818,7 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -48270,6 +48827,7 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48278,6 +48836,7 @@ func awsAwsjson11_deserializeDocumentEdgeModel(v **types.EdgeModel, value interf } sv.ModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -48355,6 +48914,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ActiveDeviceCount = ptr.Int64(i64) } + case "ConnectedDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48367,6 +48927,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ConnectedDeviceCount = ptr.Int64(i64) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -48375,6 +48936,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48383,6 +48945,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.ModelVersion = ptr.String(jtv) } + case "OfflineDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48395,6 +48958,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.OfflineDeviceCount = ptr.Int64(i64) } + case "SamplingDeviceCount": if value != nil { jtv, ok := value.(json.Number) @@ -48407,6 +48971,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu } sv.SamplingDeviceCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -48514,6 +49079,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelSummary(v **types.EdgeModelSummary } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48522,6 +49088,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelSummary(v **types.EdgeModelSummary } sv.ModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -48561,6 +49128,7 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.KmsKeyId = ptr.String(jtv) } + case "PresetDeploymentConfig": if value != nil { jtv, ok := value.(string) @@ -48569,6 +49137,7 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.PresetDeploymentConfig = ptr.String(jtv) } + case "PresetDeploymentType": if value != nil { jtv, ok := value.(string) @@ -48577,6 +49146,7 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.PresetDeploymentType = types.EdgePresetDeploymentType(jtv) } + case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -48585,6 +49155,7 @@ func awsAwsjson11_deserializeDocumentEdgeOutputConfig(v **types.EdgeOutputConfig } sv.S3OutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -48658,6 +49229,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.CompilationJobName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -48673,6 +49245,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } } + case "EdgePackagingJobArn": if value != nil { jtv, ok := value.(string) @@ -48681,6 +49254,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobArn = ptr.String(jtv) } + case "EdgePackagingJobName": if value != nil { jtv, ok := value.(string) @@ -48689,6 +49263,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobName = ptr.String(jtv) } + case "EdgePackagingJobStatus": if value != nil { jtv, ok := value.(string) @@ -48697,6 +49272,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.EdgePackagingJobStatus = types.EdgePackagingJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -48712,6 +49288,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -48720,6 +49297,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.ModelName = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -48728,6 +49306,7 @@ func awsAwsjson11_deserializeDocumentEdgePackagingJobSummary(v **types.EdgePacka } sv.ModelVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -48767,6 +49346,7 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Artifact = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -48775,6 +49355,7 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Status = types.EdgePresetDeploymentStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -48783,6 +49364,7 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.StatusMessage = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -48791,6 +49373,7 @@ func awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(v **types.EdgePr } sv.Type = types.EdgePresetDeploymentType(jtv) } + default: _, _ = key, value @@ -48864,6 +49447,7 @@ func awsAwsjson11_deserializeDocumentEFSFileSystem(v **types.EFSFileSystem, valu } sv.FileSystemId = ptr.String(jtv) } + default: _, _ = key, value @@ -48903,6 +49487,7 @@ func awsAwsjson11_deserializeDocumentEFSFileSystemConfig(v **types.EFSFileSystem } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemPath": if value != nil { jtv, ok := value.(string) @@ -48911,6 +49496,7 @@ func awsAwsjson11_deserializeDocumentEFSFileSystemConfig(v **types.EFSFileSystem } sv.FileSystemPath = ptr.String(jtv) } + default: _, _ = key, value @@ -48950,6 +49536,7 @@ func awsAwsjson11_deserializeDocumentEmrServerlessComputeConfig(v **types.EmrSer } sv.ExecutionRoleARN = ptr.String(jtv) } + default: _, _ = key, value @@ -48989,6 +49576,7 @@ func awsAwsjson11_deserializeDocumentEmrServerlessSettings(v **types.EmrServerle } sv.ExecutionRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -48997,6 +49585,7 @@ func awsAwsjson11_deserializeDocumentEmrServerlessSettings(v **types.EmrServerle } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -49032,10 +49621,12 @@ func awsAwsjson11_deserializeDocumentEmrSettings(v **types.EmrSettings, value in if err := awsAwsjson11_deserializeDocumentAssumableRoleArns(&sv.AssumableRoleArns, value); err != nil { return err } + case "ExecutionRoleArns": if err := awsAwsjson11_deserializeDocumentExecutionRoleArns(&sv.ExecutionRoleArns, value); err != nil { return err } + default: _, _ = key, value @@ -49075,6 +49666,7 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.ClusterId = ptr.String(jtv) } + case "LogFilePath": if value != nil { jtv, ok := value.(string) @@ -49083,6 +49675,7 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.LogFilePath = ptr.String(jtv) } + case "StepId": if value != nil { jtv, ok := value.(string) @@ -49091,6 +49684,7 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.StepId = ptr.String(jtv) } + case "StepName": if value != nil { jtv, ok := value.(string) @@ -49099,6 +49693,7 @@ func awsAwsjson11_deserializeDocumentEMRStepMetadata(v **types.EMRStepMetadata, } sv.StepName = ptr.String(jtv) } + default: _, _ = key, value @@ -49145,10 +49740,12 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } + case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(&sv.DataCaptureConfig, value); err != nil { return err } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -49157,6 +49754,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointArn = ptr.String(jtv) } + case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -49165,6 +49763,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointConfigName = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -49173,6 +49772,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointName = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -49181,6 +49781,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.EndpointStatus = types.EndpointStatus(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -49189,6 +49790,7 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -49204,22 +49806,27 @@ func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } } + case "MonitoringSchedules": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleList(&sv.MonitoringSchedules, value); err != nil { return err } + case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } + case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -49259,6 +49866,7 @@ func awsAwsjson11_deserializeDocumentEndpointConfigStepMetadata(v **types.Endpoi } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -49305,6 +49913,7 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } } + case "EndpointConfigArn": if value != nil { jtv, ok := value.(string) @@ -49313,6 +49922,7 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } sv.EndpointConfigArn = ptr.String(jtv) } + case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -49321,6 +49931,7 @@ func awsAwsjson11_deserializeDocumentEndpointConfigSummary(v **types.EndpointCon } sv.EndpointConfigName = ptr.String(jtv) } + default: _, _ = key, value @@ -49394,6 +50005,7 @@ func awsAwsjson11_deserializeDocumentEndpointInfo(v **types.EndpointInfo, value } sv.EndpointName = ptr.String(jtv) } + default: _, _ = key, value @@ -49433,6 +50045,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.EndpointName = ptr.String(jtv) } + case "EndTimeOffset": if value != nil { jtv, ok := value.(string) @@ -49441,6 +50054,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.EndTimeOffset = ptr.String(jtv) } + case "ExcludeFeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -49449,6 +50063,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.ExcludeFeaturesAttribute = ptr.String(jtv) } + case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -49457,6 +50072,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.FeaturesAttribute = ptr.String(jtv) } + case "InferenceAttribute": if value != nil { jtv, ok := value.(string) @@ -49465,6 +50081,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.InferenceAttribute = ptr.String(jtv) } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -49473,6 +50090,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.LocalPath = ptr.String(jtv) } + case "ProbabilityAttribute": if value != nil { jtv, ok := value.(string) @@ -49481,6 +50099,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.ProbabilityAttribute = ptr.String(jtv) } + case "ProbabilityThresholdAttribute": if value != nil { switch jtv := value.(type) { @@ -49514,6 +50133,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } } + case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -49522,6 +50142,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } + case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -49530,6 +50151,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } + case "StartTimeOffset": if value != nil { jtv, ok := value.(string) @@ -49538,6 +50160,7 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu } sv.StartTimeOffset = ptr.String(jtv) } + default: _, _ = key, value @@ -49573,6 +50196,7 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi if err := awsAwsjson11_deserializeDocumentEnvironmentParameterRanges(&sv.EnvironmentParameterRanges, value); err != nil { return err } + case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -49581,6 +50205,7 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi } sv.InferenceSpecificationName = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -49589,10 +50214,12 @@ func awsAwsjson11_deserializeDocumentEndpointInputConfiguration(v **types.Endpoi } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } + case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } + default: _, _ = key, value @@ -49666,6 +50293,7 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointConfigName = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -49674,6 +50302,7 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointName = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -49682,6 +50311,7 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.EndpointStatus = types.EndpointStatus(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -49690,6 +50320,7 @@ func awsAwsjson11_deserializeDocumentEndpointMetadata(v **types.EndpointMetadata } sv.FailureReason = ptr.String(jtv) } + default: _, _ = key, value @@ -49729,6 +50360,7 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.EndpointName = ptr.String(jtv) } + case "InitialInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -49741,6 +50373,7 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.InitialInstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -49749,10 +50382,12 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } + case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -49761,6 +50396,7 @@ func awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(v **types.Endpo } sv.VariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -49796,10 +50432,12 @@ func awsAwsjson11_deserializeDocumentEndpointPerformance(v **types.EndpointPerfo if err := awsAwsjson11_deserializeDocumentEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } + case "Metrics": if err := awsAwsjson11_deserializeDocumentInferenceMetrics(&sv.Metrics, value); err != nil { return err } + default: _, _ = key, value @@ -49907,6 +50545,7 @@ func awsAwsjson11_deserializeDocumentEndpointStepMetadata(v **types.EndpointStep } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -49953,6 +50592,7 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -49961,6 +50601,7 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointArn = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -49969,6 +50610,7 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointName = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -49977,6 +50619,7 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } sv.EndpointStatus = types.EndpointStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -49992,6 +50635,7 @@ func awsAwsjson11_deserializeDocumentEndpointSummary(v **types.EndpointSummary, } } + default: _, _ = key, value @@ -50101,6 +50745,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -50109,6 +50754,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.Value = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -50117,6 +50763,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameter(v **types.EnvironmentP } sv.ValueType = ptr.String(jtv) } + default: _, _ = key, value @@ -50152,6 +50799,7 @@ func awsAwsjson11_deserializeDocumentEnvironmentParameterRanges(v **types.Enviro if err := awsAwsjson11_deserializeDocumentCategoricalParameters(&sv.CategoricalParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -50257,6 +50905,7 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -50272,6 +50921,7 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -50280,6 +50930,7 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -50288,6 +50939,7 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.DisplayName = ptr.String(jtv) } + case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -50296,6 +50948,7 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentArn = ptr.String(jtv) } + case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -50304,10 +50957,12 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } sv.ExperimentName = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50323,14 +50978,17 @@ func awsAwsjson11_deserializeDocumentExperiment(v **types.Experiment, value inte } } + case "Source": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.Source, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -50370,6 +51028,7 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.ExperimentName = ptr.String(jtv) } + case "RunName": if value != nil { jtv, ok := value.(string) @@ -50378,6 +51037,7 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.RunName = ptr.String(jtv) } + case "TrialComponentDisplayName": if value != nil { jtv, ok := value.(string) @@ -50386,6 +51046,7 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.TrialComponentDisplayName = ptr.String(jtv) } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -50394,6 +51055,7 @@ func awsAwsjson11_deserializeDocumentExperimentConfig(v **types.ExperimentConfig } sv.TrialName = ptr.String(jtv) } + default: _, _ = key, value @@ -50433,6 +51095,7 @@ func awsAwsjson11_deserializeDocumentExperimentSource(v **types.ExperimentSource } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -50441,6 +51104,7 @@ func awsAwsjson11_deserializeDocumentExperimentSource(v **types.ExperimentSource } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -50521,6 +51185,7 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -50529,6 +51194,7 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.DisplayName = ptr.String(jtv) } + case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -50537,6 +51203,7 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentArn = ptr.String(jtv) } + case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -50545,10 +51212,12 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } sv.ExperimentName = ptr.String(jtv) } + case "ExperimentSource": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.ExperimentSource, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50564,6 +51233,7 @@ func awsAwsjson11_deserializeDocumentExperimentSummary(v **types.ExperimentSumma } } + default: _, _ = key, value @@ -50599,6 +51269,7 @@ func awsAwsjson11_deserializeDocumentExplainability(v **types.Explainability, va if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Report, value); err != nil { return err } + default: _, _ = key, value @@ -50634,6 +51305,7 @@ func awsAwsjson11_deserializeDocumentExplainerConfig(v **types.ExplainerConfig, if err := awsAwsjson11_deserializeDocumentClarifyExplainerConfig(&sv.ClarifyExplainerConfig, value); err != nil { return err } + default: _, _ = key, value @@ -50673,6 +51345,7 @@ func awsAwsjson11_deserializeDocumentFailStepMetadata(v **types.FailStepMetadata } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -50708,6 +51381,7 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti if err := awsAwsjson11_deserializeDocumentCollectionConfig(&sv.CollectionConfig, value); err != nil { return err } + case "CollectionType": if value != nil { jtv, ok := value.(string) @@ -50716,6 +51390,7 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.CollectionType = types.CollectionType(jtv) } + case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -50724,6 +51399,7 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.FeatureName = ptr.String(jtv) } + case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -50732,6 +51408,7 @@ func awsAwsjson11_deserializeDocumentFeatureDefinition(v **types.FeatureDefiniti } sv.FeatureType = types.FeatureType(jtv) } + default: _, _ = key, value @@ -50812,6 +51489,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -50820,6 +51498,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.Description = ptr.String(jtv) } + case "EventTimeFeatureName": if value != nil { jtv, ok := value.(string) @@ -50828,6 +51507,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.EventTimeFeatureName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -50836,10 +51516,12 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FailureReason = ptr.String(jtv) } + case "FeatureDefinitions": if err := awsAwsjson11_deserializeDocumentFeatureDefinitions(&sv.FeatureDefinitions, value); err != nil { return err } + case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -50848,6 +51530,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupArn = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -50856,6 +51539,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -50864,6 +51548,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -50879,22 +51564,27 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } } + case "LastUpdateStatus": if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { return err } + case "OfflineStoreConfig": if err := awsAwsjson11_deserializeDocumentOfflineStoreConfig(&sv.OfflineStoreConfig, value); err != nil { return err } + case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } + case "OnlineStoreConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreConfig(&sv.OnlineStoreConfig, value); err != nil { return err } + case "RecordIdentifierFeatureName": if value != nil { jtv, ok := value.(string) @@ -50903,6 +51593,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.RecordIdentifierFeatureName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -50911,10 +51602,12 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -50995,6 +51688,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } } + case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -51003,6 +51697,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupArn = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -51011,6 +51706,7 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -51019,10 +51715,12 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } + case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } + default: _, _ = key, value @@ -51069,6 +51767,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -51077,6 +51776,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.Description = ptr.String(jtv) } + case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -51085,6 +51785,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureGroupArn = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -51093,6 +51794,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -51101,6 +51803,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureName = ptr.String(jtv) } + case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -51109,6 +51812,7 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } sv.FeatureType = types.FeatureType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -51124,10 +51828,12 @@ func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, } } + case "Parameters": if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -51167,6 +51873,7 @@ func awsAwsjson11_deserializeDocumentFeatureParameter(v **types.FeatureParameter } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -51175,6 +51882,7 @@ func awsAwsjson11_deserializeDocumentFeatureParameter(v **types.FeatureParameter } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -51248,6 +51956,7 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.ContentDigest = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -51256,6 +51965,7 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.ContentType = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -51264,6 +51974,7 @@ func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value inte } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -51307,6 +52018,7 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.DefaultGid = ptr.Int32(int32(i64)) } + case "DefaultUid": if value != nil { jtv, ok := value.(json.Number) @@ -51319,6 +52031,7 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.DefaultUid = ptr.Int32(int32(i64)) } + case "MountPath": if value != nil { jtv, ok := value.(string) @@ -51327,6 +52040,7 @@ func awsAwsjson11_deserializeDocumentFileSystemConfig(v **types.FileSystemConfig } sv.MountPath = ptr.String(jtv) } + default: _, _ = key, value @@ -51366,6 +52080,7 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.DirectoryPath = ptr.String(jtv) } + case "FileSystemAccessMode": if value != nil { jtv, ok := value.(string) @@ -51374,6 +52089,7 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemAccessMode = types.FileSystemAccessMode(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -51382,6 +52098,7 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemId = ptr.String(jtv) } + case "FileSystemType": if value != nil { jtv, ok := value.(string) @@ -51390,6 +52107,7 @@ func awsAwsjson11_deserializeDocumentFileSystemDataSource(v **types.FileSystemDa } sv.FileSystemType = types.FileSystemType(jtv) } + default: _, _ = key, value @@ -51499,6 +52217,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.MetricName = types.AutoMLMetricEnum(jtv) } + case "StandardMetricName": if value != nil { jtv, ok := value.(string) @@ -51507,6 +52226,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.StandardMetricName = types.AutoMLMetricEnum(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -51515,6 +52235,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } sv.Type = types.AutoMLJobObjectiveType(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -51548,6 +52269,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin } } + default: _, _ = key, value @@ -51587,6 +52309,7 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } sv.MetricName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -51595,6 +52318,7 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } sv.Type = types.HyperParameterTuningJobObjectiveType(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -51628,6 +52352,7 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric } } + default: _, _ = key, value @@ -51701,6 +52426,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(v **types.FlowDe } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -51709,6 +52435,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(v **types.FlowDe } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -51789,6 +52516,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -51797,6 +52525,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FailureReason = ptr.String(jtv) } + case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -51805,6 +52534,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionArn = ptr.String(jtv) } + case "FlowDefinitionName": if value != nil { jtv, ok := value.(string) @@ -51813,6 +52543,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionName = ptr.String(jtv) } + case "FlowDefinitionStatus": if value != nil { jtv, ok := value.(string) @@ -51821,6 +52552,7 @@ func awsAwsjson11_deserializeDocumentFlowDefinitionSummary(v **types.FlowDefinit } sv.FlowDefinitionStatus = types.FlowDefinitionStatus(jtv) } + default: _, _ = key, value @@ -51932,6 +52664,7 @@ func awsAwsjson11_deserializeDocumentGenerativeAiSettings(v **types.GenerativeAi } sv.AmazonBedrockRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -51971,6 +52704,7 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.Branch = ptr.String(jtv) } + case "RepositoryUrl": if value != nil { jtv, ok := value.(string) @@ -51979,6 +52713,7 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.RepositoryUrl = ptr.String(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -51987,6 +52722,7 @@ func awsAwsjson11_deserializeDocumentGitConfig(v **types.GitConfig, value interf } sv.SecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -52206,10 +52942,12 @@ func awsAwsjson11_deserializeDocumentHiddenSageMakerImage(v **types.HiddenSageMa } sv.SageMakerImageName = types.SageMakerImageName(jtv) } + case "VersionAliases": if err := awsAwsjson11_deserializeDocumentVersionAliasesList(&sv.VersionAliases, value); err != nil { return err } + default: _, _ = key, value @@ -52317,6 +53055,7 @@ func awsAwsjson11_deserializeDocumentHolidayConfigAttributes(v **types.HolidayCo } sv.CountryCode = ptr.String(jtv) } + default: _, _ = key, value @@ -52392,6 +53131,7 @@ func awsAwsjson11_deserializeDocumentHubContentDependency(v **types.HubContentDe } sv.DependencyCopyPath = ptr.String(jtv) } + case "DependencyOriginPath": if value != nil { jtv, ok := value.(string) @@ -52400,6 +53140,7 @@ func awsAwsjson11_deserializeDocumentHubContentDependency(v **types.HubContentDe } sv.DependencyOriginPath = ptr.String(jtv) } + default: _, _ = key, value @@ -52480,6 +53221,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } } + case "DocumentSchemaVersion": if value != nil { jtv, ok := value.(string) @@ -52488,6 +53230,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.DocumentSchemaVersion = ptr.String(jtv) } + case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -52496,6 +53239,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentArn = ptr.String(jtv) } + case "HubContentDescription": if value != nil { jtv, ok := value.(string) @@ -52504,6 +53248,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentDescription = ptr.String(jtv) } + case "HubContentDisplayName": if value != nil { jtv, ok := value.(string) @@ -52512,6 +53257,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentDisplayName = ptr.String(jtv) } + case "HubContentName": if value != nil { jtv, ok := value.(string) @@ -52520,10 +53266,12 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentName = ptr.String(jtv) } + case "HubContentSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubContentSearchKeywordList(&sv.HubContentSearchKeywords, value); err != nil { return err } + case "HubContentStatus": if value != nil { jtv, ok := value.(string) @@ -52532,6 +53280,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentStatus = types.HubContentStatus(jtv) } + case "HubContentType": if value != nil { jtv, ok := value.(string) @@ -52540,6 +53289,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentType = types.HubContentType(jtv) } + case "HubContentVersion": if value != nil { jtv, ok := value.(string) @@ -52548,6 +53298,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.HubContentVersion = ptr.String(jtv) } + case "OriginalCreationTime": if value != nil { switch jtv := value.(type) { @@ -52563,6 +53314,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } } + case "SageMakerPublicHubContentArn": if value != nil { jtv, ok := value.(string) @@ -52571,6 +53323,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.SageMakerPublicHubContentArn = ptr.String(jtv) } + case "SupportStatus": if value != nil { jtv, ok := value.(string) @@ -52579,6 +53332,7 @@ func awsAwsjson11_deserializeDocumentHubContentInfo(v **types.HubContentInfo, va } sv.SupportStatus = types.HubContentSupportStatus(jtv) } + default: _, _ = key, value @@ -52695,6 +53449,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } } + case "HubArn": if value != nil { jtv, ok := value.(string) @@ -52703,6 +53458,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubArn = ptr.String(jtv) } + case "HubDescription": if value != nil { jtv, ok := value.(string) @@ -52711,6 +53467,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubDescription = ptr.String(jtv) } + case "HubDisplayName": if value != nil { jtv, ok := value.(string) @@ -52719,6 +53476,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubDisplayName = ptr.String(jtv) } + case "HubName": if value != nil { jtv, ok := value.(string) @@ -52727,10 +53485,12 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubName = ptr.String(jtv) } + case "HubSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubSearchKeywordList(&sv.HubSearchKeywords, value); err != nil { return err } + case "HubStatus": if value != nil { jtv, ok := value.(string) @@ -52739,6 +53499,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } sv.HubStatus = types.HubStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -52754,6 +53515,7 @@ func awsAwsjson11_deserializeDocumentHubInfo(v **types.HubInfo, value interface{ } } + default: _, _ = key, value @@ -52827,6 +53589,7 @@ func awsAwsjson11_deserializeDocumentHubS3StorageConfig(v **types.HubS3StorageCo } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -52902,6 +53665,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationConditionsConfig(v **typ } sv.HumanLoopActivationConditions = ptr.String(jtv) } + default: _, _ = key, value @@ -52937,6 +53701,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationConfig(v **types.HumanLo if err := awsAwsjson11_deserializeDocumentHumanLoopActivationConditionsConfig(&sv.HumanLoopActivationConditionsConfig, value); err != nil { return err } + default: _, _ = key, value @@ -52976,10 +53741,12 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.HumanTaskUiArn = ptr.String(jtv) } + case "PublicWorkforceTaskPrice": if err := awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(&sv.PublicWorkforceTaskPrice, value); err != nil { return err } + case "TaskAvailabilityLifetimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -52992,6 +53759,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskAvailabilityLifetimeInSeconds = ptr.Int32(int32(i64)) } + case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -53004,6 +53772,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskCount = ptr.Int32(int32(i64)) } + case "TaskDescription": if value != nil { jtv, ok := value.(string) @@ -53012,10 +53781,12 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskDescription = ptr.String(jtv) } + case "TaskKeywords": if err := awsAwsjson11_deserializeDocumentFlowDefinitionTaskKeywords(&sv.TaskKeywords, value); err != nil { return err } + case "TaskTimeLimitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53028,6 +53799,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskTimeLimitInSeconds = ptr.Int32(int32(i64)) } + case "TaskTitle": if value != nil { jtv, ok := value.(string) @@ -53036,6 +53808,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.TaskTitle = ptr.String(jtv) } + case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -53044,6 +53817,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopConfig(v **types.HumanLoopConfig, } sv.WorkteamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -53083,6 +53857,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopRequestSource(v **types.HumanLoopR } sv.AwsManagedHumanLoopRequestSource = types.AwsManagedHumanLoopRequestSource(jtv) } + default: _, _ = key, value @@ -53118,6 +53893,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, if err := awsAwsjson11_deserializeDocumentAnnotationConsolidationConfig(&sv.AnnotationConsolidationConfig, value); err != nil { return err } + case "MaxConcurrentTaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -53130,6 +53906,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.MaxConcurrentTaskCount = ptr.Int32(int32(i64)) } + case "NumberOfHumanWorkersPerDataObject": if value != nil { jtv, ok := value.(json.Number) @@ -53142,6 +53919,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.NumberOfHumanWorkersPerDataObject = ptr.Int32(int32(i64)) } + case "PreHumanTaskLambdaArn": if value != nil { jtv, ok := value.(string) @@ -53150,10 +53928,12 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.PreHumanTaskLambdaArn = ptr.String(jtv) } + case "PublicWorkforceTaskPrice": if err := awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(&sv.PublicWorkforceTaskPrice, value); err != nil { return err } + case "TaskAvailabilityLifetimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53166,6 +53946,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskAvailabilityLifetimeInSeconds = ptr.Int32(int32(i64)) } + case "TaskDescription": if value != nil { jtv, ok := value.(string) @@ -53174,10 +53955,12 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskDescription = ptr.String(jtv) } + case "TaskKeywords": if err := awsAwsjson11_deserializeDocumentTaskKeywords(&sv.TaskKeywords, value); err != nil { return err } + case "TaskTimeLimitInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -53190,6 +53973,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskTimeLimitInSeconds = ptr.Int32(int32(i64)) } + case "TaskTitle": if value != nil { jtv, ok := value.(string) @@ -53198,10 +53982,12 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.TaskTitle = ptr.String(jtv) } + case "UiConfig": if err := awsAwsjson11_deserializeDocumentUiConfig(&sv.UiConfig, value); err != nil { return err } + case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -53210,6 +53996,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskConfig(v **types.HumanTaskConfig, } sv.WorkteamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -53290,6 +54077,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } } + case "HumanTaskUiArn": if value != nil { jtv, ok := value.(string) @@ -53298,6 +54086,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } sv.HumanTaskUiArn = ptr.String(jtv) } + case "HumanTaskUiName": if value != nil { jtv, ok := value.(string) @@ -53306,6 +54095,7 @@ func awsAwsjson11_deserializeDocumentHumanTaskUiSummary(v **types.HumanTaskUiSum } sv.HumanTaskUiName = ptr.String(jtv) } + default: _, _ = key, value @@ -53349,6 +54139,7 @@ func awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(v **types.Hyperband } sv.MaxResource = ptr.Int32(int32(i64)) } + case "MinResource": if value != nil { jtv, ok := value.(json.Number) @@ -53361,6 +54152,7 @@ func awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(v **types.Hyperband } sv.MinResource = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -53400,10 +54192,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.AlgorithmName = ptr.String(jtv) } + case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } + case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -53412,6 +54206,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.TrainingImage = ptr.String(jtv) } + case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -53420,6 +54215,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(v **ty } sv.TrainingInputMode = types.TrainingInputMode(jtv) } + default: _, _ = key, value @@ -53495,6 +54291,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.DefaultValue = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -53503,6 +54300,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Description = ptr.String(jtv) } + case "IsRequired": if value != nil { jtv, ok := value.(bool) @@ -53511,6 +54309,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.IsRequired = ptr.Bool(jtv) } + case "IsTunable": if value != nil { jtv, ok := value.(bool) @@ -53519,6 +54318,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.IsTunable = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53527,10 +54327,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Name = ptr.String(jtv) } + case "Range": if err := awsAwsjson11_deserializeDocumentParameterRange(&sv.Range, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -53539,6 +54341,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper } sv.Type = types.ParameterType(jtv) } + default: _, _ = key, value @@ -53608,10 +54411,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ if err := awsAwsjson11_deserializeDocumentHyperParameterAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } + case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } + case "DefinitionName": if value != nil { jtv, ok := value.(string) @@ -53620,6 +54425,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.DefinitionName = ptr.String(jtv) } + case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -53628,6 +54434,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -53636,6 +54443,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -53644,34 +54452,42 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "HyperParameterRanges": if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.HyperParameterRanges, value); err != nil { return err } + case "HyperParameterTuningResourceConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(&sv.HyperParameterTuningResourceConfig, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -53680,22 +54496,27 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ } sv.RoleArn = ptr.String(jtv) } + case "StaticHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.StaticHyperParameters, value); err != nil { return err } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "TuningObjective": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(&sv.TuningObjective, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -53846,6 +54667,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -53854,10 +54676,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.FailureReason = ptr.String(jtv) } + case "FinalHyperParameterTuningJobObjectiveMetric": if err := awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric(&sv.FinalHyperParameterTuningJobObjectiveMetric, value); err != nil { return err } + case "ObjectiveStatus": if value != nil { jtv, ok := value.(string) @@ -53866,6 +54690,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.ObjectiveStatus = types.ObjectiveStatus(jtv) } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -53881,6 +54706,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -53889,6 +54715,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobArn = ptr.String(jtv) } + case "TrainingJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -53897,6 +54724,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobDefinitionName = ptr.String(jtv) } + case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -53905,6 +54733,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobName = ptr.String(jtv) } + case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -53913,6 +54742,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } + case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -53928,10 +54758,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } } + case "TunedHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.TunedHyperParameters, value); err != nil { return err } + case "TuningJobName": if value != nil { jtv, ok := value.(string) @@ -53940,6 +54772,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(v **types. } sv.TuningJobName = ptr.String(jtv) } + default: _, _ = key, value @@ -53983,6 +54816,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -53991,6 +54825,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.InstanceType = types.TrainingInstanceType(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -54003,6 +54838,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54083,6 +54919,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(v } } + case "NumberOfTrainingJobsObjectiveNotImproving": if value != nil { jtv, ok := value.(json.Number) @@ -54095,6 +54932,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(v } sv.NumberOfTrainingJobsObjectiveNotImproving = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54130,10 +54968,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(&sv.HyperParameterTuningJobObjective, value); err != nil { return err } + case "ParameterRanges": if err := awsAwsjson11_deserializeDocumentParameterRanges(&sv.ParameterRanges, value); err != nil { return err } + case "RandomSeed": if value != nil { jtv, ok := value.(json.Number) @@ -54146,10 +54986,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.RandomSeed = ptr.Int32(int32(i64)) } + case "ResourceLimits": if err := awsAwsjson11_deserializeDocumentResourceLimits(&sv.ResourceLimits, value); err != nil { return err } + case "Strategy": if value != nil { jtv, ok := value.(string) @@ -54158,10 +55000,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.Strategy = types.HyperParameterTuningJobStrategyType(jtv) } + case "StrategyConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobStrategyConfig(&sv.StrategyConfig, value); err != nil { return err } + case "TrainingJobEarlyStoppingType": if value != nil { jtv, ok := value.(string) @@ -54170,10 +55014,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp } sv.TrainingJobEarlyStoppingType = types.TrainingJobEarlyStoppingType(jtv) } + case "TuningJobCompletionCriteria": if err := awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(&sv.TuningJobCompletionCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -54217,6 +55063,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(v } sv.RuntimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54256,6 +55103,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(v **types. } sv.MetricName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -54264,6 +55112,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjective(v **types. } sv.Type = types.HyperParameterTuningJobObjectiveType(jtv) } + default: _, _ = key, value @@ -54333,10 +55182,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.BestTrainingJob, value); err != nil { return err } + case "ConsumedResources": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(&sv.ConsumedResources, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -54352,6 +55203,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -54360,6 +55212,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.FailureReason = ptr.String(jtv) } + case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -54375,6 +55228,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } + case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -54383,10 +55237,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobArn = ptr.String(jtv) } + case "HyperParameterTuningJobConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HyperParameterTuningJobConfig, value); err != nil { return err } + case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -54395,6 +55251,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobName = ptr.String(jtv) } + case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -54403,6 +55260,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -54418,38 +55276,47 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(v **typ } } + case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } + case "OverallBestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.OverallBestTrainingJob, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } + case "TrainingJobDefinitions": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinitions(&sv.TrainingJobDefinitions, value); err != nil { return err } + case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } + case "TuningJobCompletionDetails": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(&sv.TuningJobCompletionDetails, value); err != nil { return err } + case "WarmStartConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(&sv.WarmStartConfig, value); err != nil { return err } + default: _, _ = key, value @@ -54485,6 +55352,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobStrategyConfig(v **t if err := awsAwsjson11_deserializeDocumentHyperbandStrategyConfig(&sv.HyperbandStrategyConfig, value); err != nil { return err } + default: _, _ = key, value @@ -54565,6 +55433,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } + case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -54580,6 +55449,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } + case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -54588,6 +55458,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobArn = ptr.String(jtv) } + case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -54596,6 +55467,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobName = ptr.String(jtv) } + case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -54604,6 +55476,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -54619,14 +55492,17 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } } + case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } + case "ResourceLimits": if err := awsAwsjson11_deserializeDocumentResourceLimits(&sv.ResourceLimits, value); err != nil { return err } + case "Strategy": if value != nil { jtv, ok := value.(string) @@ -54635,10 +55511,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummary(v **types.Hy } sv.Strategy = types.HyperParameterTuningJobStrategyType(jtv) } + case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } + default: _, _ = key, value @@ -54674,6 +55552,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(v ** if err := awsAwsjson11_deserializeDocumentParentHyperParameterTuningJobs(&sv.ParentHyperParameterTuningJobs, value); err != nil { return err } + case "WarmStartType": if value != nil { jtv, ok := value.(string) @@ -54682,6 +55561,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(v ** } sv.WarmStartType = types.HyperParameterTuningJobWarmStartType(jtv) } + default: _, _ = key, value @@ -54721,10 +55601,12 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.AllocationStrategy = types.HyperParameterTuningAllocationStrategy(jtv) } + case "InstanceConfigs": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfigs(&sv.InstanceConfigs, value); err != nil { return err } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -54737,6 +55619,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -54745,6 +55628,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.InstanceType = types.TrainingInstanceType(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -54753,6 +55637,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -54765,6 +55650,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54804,6 +55690,7 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.Arn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -54812,6 +55699,7 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.PrincipalId = ptr.String(jtv) } + case "SourceIdentity": if value != nil { jtv, ok := value.(string) @@ -54820,6 +55708,7 @@ func awsAwsjson11_deserializeDocumentIamIdentity(v **types.IamIdentity, value in } sv.SourceIdentity = ptr.String(jtv) } + default: _, _ = key, value @@ -54859,6 +55748,7 @@ func awsAwsjson11_deserializeDocumentIamPolicyConstraints(v **types.IamPolicyCon } sv.SourceIp = types.EnabledOrDisabled(jtv) } + case "VpcSourceIp": if value != nil { jtv, ok := value.(string) @@ -54867,6 +55757,7 @@ func awsAwsjson11_deserializeDocumentIamPolicyConstraints(v **types.IamPolicyCon } sv.VpcSourceIp = types.EnabledOrDisabled(jtv) } + default: _, _ = key, value @@ -54906,6 +55797,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.DataSourceName = types.DataSourceName(jtv) } + case "SecretArn": if value != nil { jtv, ok := value.(string) @@ -54914,6 +55806,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.SecretArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -54922,6 +55815,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderOAuthSetting(v **types.Iden } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -54999,6 +55893,7 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.IdleTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "LifecycleManagement": if value != nil { jtv, ok := value.(string) @@ -55007,6 +55902,7 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.LifecycleManagement = types.LifecycleManagement(jtv) } + case "MaxIdleTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -55019,6 +55915,7 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.MaxIdleTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "MinIdleTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -55031,6 +55928,7 @@ func awsAwsjson11_deserializeDocumentIdleSettings(v **types.IdleSettings, value } sv.MinIdleTimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55077,6 +55975,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -55085,6 +55984,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -55093,6 +55993,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -55101,6 +56002,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.FailureReason = ptr.String(jtv) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -55109,6 +56011,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageArn = ptr.String(jtv) } + case "ImageName": if value != nil { jtv, ok := value.(string) @@ -55117,6 +56020,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageName = ptr.String(jtv) } + case "ImageStatus": if value != nil { jtv, ok := value.(string) @@ -55125,6 +56029,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } sv.ImageStatus = types.ImageStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55140,6 +56045,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e } } + default: _, _ = key, value @@ -55175,6 +56081,7 @@ func awsAwsjson11_deserializeDocumentImageClassificationJobConfig(v **types.Imag if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -55214,10 +56121,12 @@ func awsAwsjson11_deserializeDocumentImageConfig(v **types.ImageConfig, value in } sv.RepositoryAccessMode = types.RepositoryAccessMode(jtv) } + case "RepositoryAuthConfig": if err := awsAwsjson11_deserializeDocumentRepositoryAuthConfig(&sv.RepositoryAuthConfig, value); err != nil { return err } + default: _, _ = key, value @@ -55298,6 +56207,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -55306,6 +56216,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.FailureReason = ptr.String(jtv) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -55314,6 +56225,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageArn = ptr.String(jtv) } + case "ImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -55322,6 +56234,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageVersionArn = ptr.String(jtv) } + case "ImageVersionStatus": if value != nil { jtv, ok := value.(string) @@ -55330,6 +56243,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.ImageVersionStatus = types.ImageVersionStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55345,6 +56259,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -55357,6 +56272,7 @@ func awsAwsjson11_deserializeDocumentImageVersion(v **types.ImageVersion, value } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55434,6 +56350,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } sv.MaxMemoryRequiredInMb = ptr.Int32(int32(i64)) } + case "MinMemoryRequiredInMb": if value != nil { jtv, ok := value.(json.Number) @@ -55446,6 +56363,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } sv.MinMemoryRequiredInMb = ptr.Int32(int32(i64)) } + case "NumberOfAcceleratorDevicesRequired": if value != nil { switch jtv := value.(type) { @@ -55479,6 +56397,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } } + case "NumberOfCpuCoresRequired": if value != nil { switch jtv := value.(type) { @@ -55512,6 +56431,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequiremen } } + default: _, _ = key, value @@ -55551,14 +56471,17 @@ func awsAwsjson11_deserializeDocumentInferenceComponentContainerSpecificationSum } sv.ArtifactUrl = ptr.String(jtv) } + case "DeployedImage": if err := awsAwsjson11_deserializeDocumentDeployedImage(&sv.DeployedImage, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -55602,6 +56525,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(v ** } sv.CurrentCopyCount = ptr.Int32(int32(i64)) } + case "DesiredCopyCount": if value != nil { jtv, ok := value.(json.Number) @@ -55614,6 +56538,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(v ** } sv.DesiredCopyCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55649,10 +56574,12 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(v ** if err := awsAwsjson11_deserializeDocumentInferenceComponentComputeResourceRequirements(&sv.ComputeResourceRequirements, value); err != nil { return err } + case "Container": if err := awsAwsjson11_deserializeDocumentInferenceComponentContainerSpecificationSummary(&sv.Container, value); err != nil { return err } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -55661,10 +56588,12 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(v ** } sv.ModelName = ptr.String(jtv) } + case "StartupParameters": if err := awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(&sv.StartupParameters, value); err != nil { return err } + default: _, _ = key, value @@ -55708,6 +56637,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(v **typ } sv.ContainerStartupHealthCheckTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "ModelDataDownloadTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -55720,6 +56650,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentStartupParameters(v **typ } sv.ModelDataDownloadTimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55766,6 +56697,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -55774,6 +56706,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.EndpointArn = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -55782,6 +56715,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.EndpointName = ptr.String(jtv) } + case "InferenceComponentArn": if value != nil { jtv, ok := value.(string) @@ -55790,6 +56724,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentArn = ptr.String(jtv) } + case "InferenceComponentName": if value != nil { jtv, ok := value.(string) @@ -55798,6 +56733,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentName = ptr.String(jtv) } + case "InferenceComponentStatus": if value != nil { jtv, ok := value.(string) @@ -55806,6 +56742,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.InferenceComponentStatus = types.InferenceComponentStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -55821,6 +56758,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -55829,6 +56767,7 @@ func awsAwsjson11_deserializeDocumentInferenceComponentSummary(v **types.Inferen } sv.VariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -55902,6 +56841,7 @@ func awsAwsjson11_deserializeDocumentInferenceExecutionConfig(v **types.Inferenc } sv.Mode = types.InferenceExecutionMode(jtv) } + default: _, _ = key, value @@ -55937,6 +56877,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty if err := awsAwsjson11_deserializeDocumentCaptureContentTypeHeader(&sv.ContentType, value); err != nil { return err } + case "Destination": if value != nil { jtv, ok := value.(string) @@ -55945,6 +56886,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty } sv.Destination = ptr.String(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -55953,6 +56895,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(v **ty } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -56033,6 +56976,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(v **types.Infer } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -56048,6 +56992,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(v **types.Infer } } + default: _, _ = key, value @@ -56094,6 +57039,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -56109,6 +57055,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -56117,6 +57064,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Description = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56132,6 +57080,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -56140,6 +57089,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -56148,10 +57098,12 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.RoleArn = ptr.String(jtv) } + case "Schedule": if err := awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(&sv.Schedule, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56160,6 +57112,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Status = types.InferenceExperimentStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -56168,6 +57121,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.StatusReason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -56176,6 +57130,7 @@ func awsAwsjson11_deserializeDocumentInferenceExperimentSummary(v **types.Infere } sv.Type = types.InferenceExperimentType(jtv) } + default: _, _ = key, value @@ -56215,6 +57170,7 @@ func awsAwsjson11_deserializeDocumentInferenceHubAccessConfig(v **types.Inferenc } sv.HubContentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -56258,6 +57214,7 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics } sv.MaxInvocations = ptr.Int32(int32(i64)) } + case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -56270,6 +57227,7 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics } sv.ModelLatency = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -56305,6 +57263,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference if err := awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "InvocationEndTime": if value != nil { switch jtv := value.(type) { @@ -56320,6 +57279,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } } + case "InvocationStartTime": if value != nil { switch jtv := value.(type) { @@ -56335,14 +57295,17 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } } + case "Metrics": if err := awsAwsjson11_deserializeDocumentRecommendationMetrics(&sv.Metrics, value); err != nil { return err } + case "ModelConfiguration": if err := awsAwsjson11_deserializeDocumentModelConfiguration(&sv.ModelConfiguration, value); err != nil { return err } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -56351,6 +57314,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendation(v **types.Inference } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -56431,6 +57395,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -56446,6 +57411,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -56454,6 +57420,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.FailureReason = ptr.String(jtv) } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -56462,6 +57429,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobArn = ptr.String(jtv) } + case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -56470,6 +57438,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobDescription = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -56478,6 +57447,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobName = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -56486,6 +57456,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.JobType = types.RecommendationJobType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -56501,6 +57472,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -56509,6 +57481,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.ModelName = ptr.String(jtv) } + case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -56517,6 +57490,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.ModelPackageVersionArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -56525,6 +57499,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.RoleArn = ptr.String(jtv) } + case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -56533,6 +57508,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.SamplePayloadUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56541,6 +57517,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJob(v **types.Infer } sv.Status = types.RecommendationJobStatus(jtv) } + default: _, _ = key, value @@ -56610,6 +57587,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I if err := awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(&sv.InferenceBenchmark, value); err != nil { return err } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -56618,6 +57596,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.JobName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -56626,6 +57605,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.Status = types.RecommendationJobStatus(jtv) } + case "StepType": if value != nil { jtv, ok := value.(string) @@ -56634,6 +57614,7 @@ func awsAwsjson11_deserializeDocumentInferenceRecommendationsJobStep(v **types.I } sv.StepType = types.RecommendationStepType(jtv) } + default: _, _ = key, value @@ -56703,22 +57684,27 @@ func awsAwsjson11_deserializeDocumentInferenceSpecification(v **types.InferenceS if err := awsAwsjson11_deserializeDocumentModelPackageContainerDefinitionList(&sv.Containers, value); err != nil { return err } + case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } + case "SupportedRealtimeInferenceInstanceTypes": if err := awsAwsjson11_deserializeDocumentRealtimeInferenceInstanceTypes(&sv.SupportedRealtimeInferenceInstanceTypes, value); err != nil { return err } + case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } + case "SupportedTransformInstanceTypes": if err := awsAwsjson11_deserializeDocumentTransformInstanceTypes(&sv.SupportedTransformInstanceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -56758,6 +57744,7 @@ func awsAwsjson11_deserializeDocumentInfraCheckConfig(v **types.InfraCheckConfig } sv.EnableInfraCheck = ptr.Bool(jtv) } + default: _, _ = key, value @@ -56797,6 +57784,7 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.DataInputConfig = ptr.String(jtv) } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -56805,6 +57793,7 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.Framework = types.Framework(jtv) } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -56813,6 +57802,7 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.FrameworkVersion = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -56821,6 +57811,7 @@ func awsAwsjson11_deserializeDocumentInputConfig(v **types.InputConfig, value in } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -56934,6 +57925,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceGroupName": if value != nil { jtv, ok := value.(string) @@ -56942,6 +57934,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceGroupName = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -56950,6 +57943,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu } sv.InstanceType = types.TrainingInstanceType(jtv) } + default: _, _ = key, value @@ -57059,6 +58053,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(v **ty } sv.MinimumInstanceMetadataServiceVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -57098,6 +58093,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -57106,6 +58102,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.MinValue = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -57114,6 +58111,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.Name = ptr.String(jtv) } + case "ScalingType": if value != nil { jtv, ok := value.(string) @@ -57122,6 +58120,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara } sv.ScalingType = types.HyperParameterScalingType(jtv) } + default: _, _ = key, value @@ -57195,6 +58194,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(v **type } sv.MaxValue = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -57203,6 +58203,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(v **type } sv.MinValue = ptr.String(jtv) } + default: _, _ = key, value @@ -57274,10 +58275,12 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(v **types.JupyterL if err := awsAwsjson11_deserializeDocumentContainerConfig(&sv.ContainerConfig, value); err != nil { return err } + case "FileSystemConfig": if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } + default: _, _ = key, value @@ -57313,6 +58316,7 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppSettings(v **types.JupyterLabA if err := awsAwsjson11_deserializeDocumentAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } + case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -57321,26 +58325,32 @@ func awsAwsjson11_deserializeDocumentJupyterLabAppSettings(v **types.JupyterLabA } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } + case "CodeRepositories": if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } + case "CustomImages": if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + case "EmrSettings": if err := awsAwsjson11_deserializeDocumentEmrSettings(&sv.EmrSettings, value); err != nil { return err } + case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } + default: _, _ = key, value @@ -57376,14 +58386,17 @@ func awsAwsjson11_deserializeDocumentJupyterServerAppSettings(v **types.JupyterS if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } + default: _, _ = key, value @@ -57423,6 +58436,7 @@ func awsAwsjson11_deserializeDocumentKendraSettings(v **types.KendraSettings, va } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -57458,14 +58472,17 @@ func awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(v **types.KernelGa if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + case "LifecycleConfigArns": if err := awsAwsjson11_deserializeDocumentLifecycleConfigArns(&sv.LifecycleConfigArns, value); err != nil { return err } + default: _, _ = key, value @@ -57501,10 +58518,12 @@ func awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(v **types.KernelGa if err := awsAwsjson11_deserializeDocumentFileSystemConfig(&sv.FileSystemConfig, value); err != nil { return err } + case "KernelSpecs": if err := awsAwsjson11_deserializeDocumentKernelSpecs(&sv.KernelSpecs, value); err != nil { return err } + default: _, _ = key, value @@ -57544,6 +58563,7 @@ func awsAwsjson11_deserializeDocumentKernelSpec(v **types.KernelSpec, value inte } sv.DisplayName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -57552,6 +58572,7 @@ func awsAwsjson11_deserializeDocumentKernelSpec(v **types.KernelSpec, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -57629,6 +58650,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.FailedNonRetryableError = ptr.Int32(int32(i64)) } + case "HumanLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -57641,6 +58663,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.HumanLabeled = ptr.Int32(int32(i64)) } + case "MachineLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -57653,6 +58676,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.MachineLabeled = ptr.Int32(int32(i64)) } + case "TotalLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -57665,6 +58689,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.TotalLabeled = ptr.Int32(int32(i64)) } + case "Unlabeled": if value != nil { jtv, ok := value.(json.Number) @@ -57677,6 +58702,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu } sv.Unlabeled = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57720,6 +58746,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.HumanLabeled = ptr.Int32(int32(i64)) } + case "PendingHuman": if value != nil { jtv, ok := value.(json.Number) @@ -57732,6 +58759,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.PendingHuman = ptr.Int32(int32(i64)) } + case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -57744,6 +58772,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou } sv.Total = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57783,6 +58812,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(v **types.Label } sv.InitialActiveLearningModelArn = ptr.String(jtv) } + case "LabelingJobAlgorithmSpecificationArn": if value != nil { jtv, ok := value.(string) @@ -57791,10 +58821,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(v **types.Label } sv.LabelingJobAlgorithmSpecificationArn = ptr.String(jtv) } + case "LabelingJobResourceConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobResourceConfig(&sv.LabelingJobResourceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -57830,6 +58862,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobDataAttributes(v **types.Labelin if err := awsAwsjson11_deserializeDocumentContentClassifiers(&sv.ContentClassifiers, value); err != nil { return err } + default: _, _ = key, value @@ -57865,10 +58898,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobDataSource(v **types.LabelingJob if err := awsAwsjson11_deserializeDocumentLabelingJobS3DataSource(&sv.S3DataSource, value); err != nil { return err } + case "SnsDataSource": if err := awsAwsjson11_deserializeDocumentLabelingJobSnsDataSource(&sv.SnsDataSource, value); err != nil { return err } + default: _, _ = key, value @@ -57915,6 +58950,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } } + case "JobReferenceCode": if value != nil { jtv, ok := value.(string) @@ -57923,10 +58959,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.JobReferenceCode = ptr.String(jtv) } + case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(&sv.LabelCounters, value); err != nil { return err } + case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -57935,6 +58973,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.LabelingJobName = ptr.String(jtv) } + case "NumberOfHumanWorkersPerDataObject": if value != nil { jtv, ok := value.(json.Number) @@ -57947,6 +58986,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.NumberOfHumanWorkersPerDataObject = ptr.Int32(int32(i64)) } + case "WorkRequesterAccountId": if value != nil { jtv, ok := value.(string) @@ -57955,6 +58995,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummary(v **types.Lab } sv.WorkRequesterAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -58024,10 +59065,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobInputConfig(v **types.LabelingJo if err := awsAwsjson11_deserializeDocumentLabelingJobDataAttributes(&sv.DataAttributes, value); err != nil { return err } + case "DataSource": if err := awsAwsjson11_deserializeDocumentLabelingJobDataSource(&sv.DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -58067,6 +59110,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutput(v **types.LabelingJobOutp } sv.FinalActiveLearningModelArn = ptr.String(jtv) } + case "OutputDatasetS3Uri": if value != nil { jtv, ok := value.(string) @@ -58075,6 +59119,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutput(v **types.LabelingJobOutp } sv.OutputDatasetS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -58114,6 +59159,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -58122,6 +59168,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.S3OutputPath = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -58130,6 +59177,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(v **types.LabelingJ } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -58169,10 +59217,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobResourceConfig(v **types.Labelin } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -58212,6 +59262,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobS3DataSource(v **types.LabelingJ } sv.ManifestS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -58251,6 +59302,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSnsDataSource(v **types.Labeling } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -58294,6 +59346,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(v **types.Lab } sv.MaxHumanLabeledObjectCount = ptr.Int32(int32(i64)) } + case "MaxPercentageOfInputDatasetLabeled": if value != nil { jtv, ok := value.(json.Number) @@ -58306,6 +59359,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(v **types.Lab } sv.MaxPercentageOfInputDatasetLabeled = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -58345,6 +59399,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.AnnotationConsolidationLambdaArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -58360,6 +59415,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -58368,14 +59424,17 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.FailureReason = ptr.String(jtv) } + case "InputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCounters(&sv.LabelCounters, value); err != nil { return err } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -58384,6 +59443,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobArn = ptr.String(jtv) } + case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -58392,10 +59452,12 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobName = ptr.String(jtv) } + case "LabelingJobOutput": if err := awsAwsjson11_deserializeDocumentLabelingJobOutput(&sv.LabelingJobOutput, value); err != nil { return err } + case "LabelingJobStatus": if value != nil { jtv, ok := value.(string) @@ -58404,6 +59466,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.LabelingJobStatus = types.LabelingJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58419,6 +59482,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } } + case "PreHumanTaskLambdaArn": if value != nil { jtv, ok := value.(string) @@ -58427,6 +59491,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.PreHumanTaskLambdaArn = ptr.String(jtv) } + case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -58435,6 +59500,7 @@ func awsAwsjson11_deserializeDocumentLabelingJobSummary(v **types.LabelingJobSum } sv.WorkteamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -58508,10 +59574,12 @@ func awsAwsjson11_deserializeDocumentLambdaStepMetadata(v **types.LambdaStepMeta } sv.Arn = ptr.String(jtv) } + case "OutputParameters": if err := awsAwsjson11_deserializeDocumentOutputParameterList(&sv.OutputParameters, value); err != nil { return err } + default: _, _ = key, value @@ -58551,6 +59619,7 @@ func awsAwsjson11_deserializeDocumentLastUpdateStatus(v **types.LastUpdateStatus } sv.FailureReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -58559,6 +59628,7 @@ func awsAwsjson11_deserializeDocumentLastUpdateStatus(v **types.LastUpdateStatus } sv.Status = types.LastUpdateStatusValue(jtv) } + default: _, _ = key, value @@ -58711,6 +59781,7 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -58719,6 +59790,7 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.DisplayName = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -58734,6 +59806,7 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -58742,6 +59815,7 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.LineageGroupArn = ptr.String(jtv) } + case "LineageGroupName": if value != nil { jtv, ok := value.(string) @@ -58750,6 +59824,7 @@ func awsAwsjson11_deserializeDocumentLineageGroupSummary(v **types.LineageGroupS } sv.LineageGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -58785,10 +59860,12 @@ func awsAwsjson11_deserializeDocumentMemberDefinition(v **types.MemberDefinition if err := awsAwsjson11_deserializeDocumentCognitoMemberDefinition(&sv.CognitoMemberDefinition, value); err != nil { return err } + case "OidcMemberDefinition": if err := awsAwsjson11_deserializeDocumentOidcMemberDefinition(&sv.OidcMemberDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -58862,6 +59939,7 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.CommitId = ptr.String(jtv) } + case "GeneratedBy": if value != nil { jtv, ok := value.(string) @@ -58870,6 +59948,7 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.GeneratedBy = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -58878,6 +59957,7 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.ProjectId = ptr.String(jtv) } + case "Repository": if value != nil { jtv, ok := value.(string) @@ -58886,6 +59966,7 @@ func awsAwsjson11_deserializeDocumentMetadataProperties(v **types.MetadataProper } sv.Repository = ptr.String(jtv) } + default: _, _ = key, value @@ -58925,6 +60006,7 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } sv.MetricName = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -58940,6 +60022,7 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } } + case "Value": if value != nil { switch jtv := value.(type) { @@ -58973,6 +60056,7 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte } } + default: _, _ = key, value @@ -59046,6 +60130,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.MetricName = types.AutoMLMetricEnum(jtv) } + case "Set": if value != nil { jtv, ok := value.(string) @@ -59054,6 +60139,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.Set = types.MetricSetSource(jtv) } + case "StandardMetricName": if value != nil { jtv, ok := value.(string) @@ -59062,6 +60148,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } sv.StandardMetricName = types.AutoMLMetricExtendedEnum(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -59095,6 +60182,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in } } + default: _, _ = key, value @@ -59134,6 +60222,7 @@ func awsAwsjson11_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Name = ptr.String(jtv) } + case "Regex": if value != nil { jtv, ok := value.(string) @@ -59142,6 +60231,7 @@ func awsAwsjson11_deserializeDocumentMetricDefinition(v **types.MetricDefinition } sv.Regex = ptr.String(jtv) } + default: _, _ = key, value @@ -59265,6 +60355,7 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.ContentDigest = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -59273,6 +60364,7 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.ContentType = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -59281,6 +60373,7 @@ func awsAwsjson11_deserializeDocumentMetricsSource(v **types.MetricsSource, valu } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -59316,6 +60409,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.Containers, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -59331,10 +60425,12 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } } + case "DeploymentRecommendation": if err := awsAwsjson11_deserializeDocumentDeploymentRecommendation(&sv.DeploymentRecommendation, value); err != nil { return err } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -59343,6 +60439,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -59351,10 +60448,12 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ExecutionRoleArn = ptr.String(jtv) } + case "InferenceExecutionConfig": if err := awsAwsjson11_deserializeDocumentInferenceExecutionConfig(&sv.InferenceExecutionConfig, value); err != nil { return err } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -59363,6 +60462,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -59371,18 +60471,22 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e } sv.ModelName = ptr.String(jtv) } + case "PrimaryContainer": if err := awsAwsjson11_deserializeDocumentContainerDefinition(&sv.PrimaryContainer, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -59422,6 +60526,7 @@ func awsAwsjson11_deserializeDocumentModelAccessConfig(v **types.ModelAccessConf } sv.AcceptEula = ptr.Bool(jtv) } + default: _, _ = key, value @@ -59461,6 +60566,7 @@ func awsAwsjson11_deserializeDocumentModelArtifacts(v **types.ModelArtifacts, va } sv.S3ModelArtifacts = ptr.String(jtv) } + default: _, _ = key, value @@ -59500,10 +60606,12 @@ func awsAwsjson11_deserializeDocumentModelBiasAppSpecification(v **types.ModelBi } sv.ConfigUri = ptr.String(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -59512,6 +60620,7 @@ func awsAwsjson11_deserializeDocumentModelBiasAppSpecification(v **types.ModelBi } sv.ImageUri = ptr.String(jtv) } + default: _, _ = key, value @@ -59551,10 +60660,12 @@ func awsAwsjson11_deserializeDocumentModelBiasBaselineConfig(v **types.ModelBias } sv.BaseliningJobName = ptr.String(jtv) } + case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } + default: _, _ = key, value @@ -59590,14 +60701,17 @@ func awsAwsjson11_deserializeDocumentModelBiasJobInput(v **types.ModelBiasJobInp if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } + case "GroundTruthS3Input": if err := awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(&sv.GroundTruthS3Input, value); err != nil { return err } + default: _, _ = key, value @@ -59637,10 +60751,12 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.Content = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -59656,10 +60772,12 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -59675,6 +60793,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } } + case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -59683,6 +60802,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardArn = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -59691,6 +60811,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -59699,6 +60820,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -59711,6 +60833,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + case "ModelId": if value != nil { jtv, ok := value.(string) @@ -59719,6 +60842,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelId = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -59727,6 +60851,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.ModelPackageGroupName = ptr.String(jtv) } + case "RiskRating": if value != nil { jtv, ok := value.(string) @@ -59735,14 +60860,17 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf } sv.RiskRating = ptr.String(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -59782,6 +60910,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportArtifacts(v **types.ModelCar } sv.S3ExportArtifacts = ptr.String(jtv) } + default: _, _ = key, value @@ -59828,6 +60957,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } } + case "LastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -59843,6 +60973,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } } + case "ModelCardExportJobArn": if value != nil { jtv, ok := value.(string) @@ -59851,6 +60982,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardExportJobArn = ptr.String(jtv) } + case "ModelCardExportJobName": if value != nil { jtv, ok := value.(string) @@ -59859,6 +60991,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardExportJobName = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -59867,6 +61000,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -59879,6 +61013,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -59887,6 +61022,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa } sv.Status = types.ModelCardExportJobStatus(jtv) } + default: _, _ = key, value @@ -59960,6 +61096,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportOutputConfig(v **types.Model } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -59999,6 +61136,7 @@ func awsAwsjson11_deserializeDocumentModelCardSecurityConfig(v **types.ModelCard } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -60045,6 +61183,7 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60060,6 +61199,7 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } } + case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -60068,6 +61208,7 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardArn = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -60076,6 +61217,7 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -60084,6 +61226,7 @@ func awsAwsjson11_deserializeDocumentModelCardSummary(v **types.ModelCardSummary } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + default: _, _ = key, value @@ -60164,6 +61307,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60179,6 +61323,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } } + case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -60187,6 +61332,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardArn = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -60195,6 +61341,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -60203,6 +61350,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -60215,6 +61363,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -60292,6 +61441,7 @@ func awsAwsjson11_deserializeDocumentModelClientConfig(v **types.ModelClientConf } sv.InvocationsMaxRetries = ptr.Int32(int32(i64)) } + case "InvocationsTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -60304,6 +61454,7 @@ func awsAwsjson11_deserializeDocumentModelClientConfig(v **types.ModelClientConf } sv.InvocationsTimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -60343,10 +61494,12 @@ func awsAwsjson11_deserializeDocumentModelCompilationConfig(v **types.ModelCompi } sv.Image = ptr.String(jtv) } + case "OverrideEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OverrideEnvironment, value); err != nil { return err } + default: _, _ = key, value @@ -60386,10 +61539,12 @@ func awsAwsjson11_deserializeDocumentModelConfiguration(v **types.ModelConfigura } sv.CompilationJobName = ptr.String(jtv) } + case "EnvironmentParameters": if err := awsAwsjson11_deserializeDocumentEnvironmentParameters(&sv.EnvironmentParameters, value); err != nil { return err } + case "InferenceSpecificationName": if value != nil { jtv, ok := value.(string) @@ -60398,6 +61553,7 @@ func awsAwsjson11_deserializeDocumentModelConfiguration(v **types.ModelConfigura } sv.InferenceSpecificationName = ptr.String(jtv) } + default: _, _ = key, value @@ -60444,6 +61600,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -60452,6 +61609,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointArn = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -60460,6 +61618,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointName = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -60468,6 +61627,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } sv.EndpointStatus = types.EndpointStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60483,6 +61643,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardEndpoint(v **types.ModelDashb } } + default: _, _ = key, value @@ -60556,6 +61717,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardIndicatorAction(v **types.Mod } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -60591,22 +61753,27 @@ func awsAwsjson11_deserializeDocumentModelDashboardModel(v **types.ModelDashboar if err := awsAwsjson11_deserializeDocumentModelDashboardEndpoints(&sv.Endpoints, value); err != nil { return err } + case "LastBatchTransformJob": if err := awsAwsjson11_deserializeDocumentTransformJob(&sv.LastBatchTransformJob, value); err != nil { return err } + case "Model": if err := awsAwsjson11_deserializeDocumentModel(&sv.Model, value); err != nil { return err } + case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelDashboardModelCard(&sv.ModelCard, value); err != nil { return err } + case "MonitoringSchedules": if err := awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedules(&sv.MonitoringSchedules, value); err != nil { return err } + default: _, _ = key, value @@ -60642,6 +61809,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -60657,10 +61825,12 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60676,6 +61846,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } } + case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -60684,6 +61855,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardArn = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -60692,6 +61864,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -60700,6 +61873,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -60712,6 +61886,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + case "ModelId": if value != nil { jtv, ok := value.(string) @@ -60720,6 +61895,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.ModelId = ptr.String(jtv) } + case "RiskRating": if value != nil { jtv, ok := value.(string) @@ -60728,14 +61904,17 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash } sv.RiskRating = ptr.String(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -60771,6 +61950,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -60786,6 +61966,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -60794,6 +61975,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.EndpointName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -60802,6 +61984,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -60817,14 +62000,17 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } } + case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } + case "MonitoringAlertSummaries": if err := awsAwsjson11_deserializeDocumentMonitoringAlertSummaryList(&sv.MonitoringAlertSummaries, value); err != nil { return err } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -60833,10 +62019,12 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -60845,6 +62033,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleName = ptr.String(jtv) } + case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -60853,6 +62042,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -60861,6 +62051,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardMonitoringSchedule(v **types. } sv.MonitoringType = types.MonitoringType(jtv) } + default: _, _ = key, value @@ -60930,10 +62121,12 @@ func awsAwsjson11_deserializeDocumentModelDataQuality(v **types.ModelDataQuality if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } + case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -60969,6 +62162,7 @@ func awsAwsjson11_deserializeDocumentModelDataSource(v **types.ModelDataSource, if err := awsAwsjson11_deserializeDocumentS3ModelDataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -61008,6 +62202,7 @@ func awsAwsjson11_deserializeDocumentModelDeployConfig(v **types.ModelDeployConf } sv.AutoGenerateEndpointName = ptr.Bool(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -61016,6 +62211,7 @@ func awsAwsjson11_deserializeDocumentModelDeployConfig(v **types.ModelDeployConf } sv.EndpointName = ptr.String(jtv) } + default: _, _ = key, value @@ -61055,6 +62251,7 @@ func awsAwsjson11_deserializeDocumentModelDeployResult(v **types.ModelDeployResu } sv.EndpointName = ptr.String(jtv) } + default: _, _ = key, value @@ -61094,6 +62291,7 @@ func awsAwsjson11_deserializeDocumentModelDigests(v **types.ModelDigests, value } sv.ArtifactDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -61133,10 +62331,12 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(v **typ } sv.ConfigUri = ptr.String(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -61145,6 +62345,7 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(v **typ } sv.ImageUri = ptr.String(jtv) } + default: _, _ = key, value @@ -61184,10 +62385,12 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityBaselineConfig(v **types } sv.BaseliningJobName = ptr.String(jtv) } + case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } + default: _, _ = key, value @@ -61223,10 +62426,12 @@ func awsAwsjson11_deserializeDocumentModelExplainabilityJobInput(v **types.Model if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } + default: _, _ = key, value @@ -61266,10 +62471,12 @@ func awsAwsjson11_deserializeDocumentModelInfrastructureConfig(v **types.ModelIn } sv.InfrastructureType = types.ModelInfrastructureType(jtv) } + case "RealTimeInferenceConfig": if err := awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(&sv.RealTimeInferenceConfig, value); err != nil { return err } + default: _, _ = key, value @@ -61309,6 +62516,7 @@ func awsAwsjson11_deserializeDocumentModelInput(v **types.ModelInput, value inte } sv.DataInputConfig = ptr.String(jtv) } + default: _, _ = key, value @@ -61348,6 +62556,7 @@ func awsAwsjson11_deserializeDocumentModelLatencyThreshold(v **types.ModelLatenc } sv.Percentile = ptr.String(jtv) } + case "ValueInMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -61360,6 +62569,7 @@ func awsAwsjson11_deserializeDocumentModelLatencyThreshold(v **types.ModelLatenc } sv.ValueInMilliseconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -61433,6 +62643,7 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.Stage = ptr.String(jtv) } + case "StageDescription": if value != nil { jtv, ok := value.(string) @@ -61441,6 +62652,7 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.StageDescription = ptr.String(jtv) } + case "StageStatus": if value != nil { jtv, ok := value.(string) @@ -61449,6 +62661,7 @@ func awsAwsjson11_deserializeDocumentModelLifeCycle(v **types.ModelLifeCycle, va } sv.StageStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -61522,6 +62735,7 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Domain = ptr.String(jtv) } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -61530,6 +62744,7 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Framework = ptr.String(jtv) } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -61538,6 +62753,7 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.FrameworkVersion = ptr.String(jtv) } + case "Model": if value != nil { jtv, ok := value.(string) @@ -61546,6 +62762,7 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Model = ptr.String(jtv) } + case "Task": if value != nil { jtv, ok := value.(string) @@ -61554,6 +62771,7 @@ func awsAwsjson11_deserializeDocumentModelMetadataSummary(v **types.ModelMetadat } sv.Task = ptr.String(jtv) } + default: _, _ = key, value @@ -61589,18 +62807,22 @@ func awsAwsjson11_deserializeDocumentModelMetrics(v **types.ModelMetrics, value if err := awsAwsjson11_deserializeDocumentBias(&sv.Bias, value); err != nil { return err } + case "Explainability": if err := awsAwsjson11_deserializeDocumentExplainability(&sv.Explainability, value); err != nil { return err } + case "ModelDataQuality": if err := awsAwsjson11_deserializeDocumentModelDataQuality(&sv.ModelDataQuality, value); err != nil { return err } + case "ModelQuality": if err := awsAwsjson11_deserializeDocumentModelQuality(&sv.ModelQuality, value); err != nil { return err } + default: _, _ = key, value @@ -61636,6 +62858,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value if err := awsAwsjson11_deserializeDocumentAdditionalInferenceSpecifications(&sv.AdditionalInferenceSpecifications, value); err != nil { return err } + case "ApprovalDescription": if value != nil { jtv, ok := value.(string) @@ -61644,6 +62867,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ApprovalDescription = ptr.String(jtv) } + case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -61652,10 +62876,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.CertifyForMarketplace = ptr.Bool(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -61671,10 +62897,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } } + case "CustomerMetadataProperties": if err := awsAwsjson11_deserializeDocumentCustomerMetadataMap(&sv.CustomerMetadataProperties, value); err != nil { return err } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -61683,18 +62911,22 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.Domain = ptr.String(jtv) } + case "DriftCheckBaselines": if err := awsAwsjson11_deserializeDocumentDriftCheckBaselines(&sv.DriftCheckBaselines, value); err != nil { return err } + case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -61710,10 +62942,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -61722,18 +62956,22 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } + case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelPackageModelCard(&sv.ModelCard, value); err != nil { return err } + case "ModelLifeCycle": if err := awsAwsjson11_deserializeDocumentModelLifeCycle(&sv.ModelLifeCycle, value); err != nil { return err } + case "ModelMetrics": if err := awsAwsjson11_deserializeDocumentModelMetrics(&sv.ModelMetrics, value); err != nil { return err } + case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -61742,6 +62980,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageArn = ptr.String(jtv) } + case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -61750,6 +62989,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -61758,6 +62998,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -61766,6 +63007,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageName = ptr.String(jtv) } + case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -61774,10 +63016,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } + case "ModelPackageStatusDetails": if err := awsAwsjson11_deserializeDocumentModelPackageStatusDetails(&sv.ModelPackageStatusDetails, value); err != nil { return err } + case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -61790,6 +63034,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } + case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -61798,10 +63043,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SamplePayloadUrl = ptr.String(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + case "SkipModelValidation": if value != nil { jtv, ok := value.(string) @@ -61810,10 +63057,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SkipModelValidation = types.SkipModelValidation(jtv) } + case "SourceAlgorithmSpecification": if err := awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(&sv.SourceAlgorithmSpecification, value); err != nil { return err } + case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -61822,10 +63071,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.SourceUri = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Task": if value != nil { jtv, ok := value.(string) @@ -61834,10 +63085,12 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value } sv.Task = ptr.String(jtv) } + case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -61873,6 +63126,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M if err := awsAwsjson11_deserializeDocumentAdditionalS3DataSource(&sv.AdditionalS3DataSource, value); err != nil { return err } + case "ContainerHostname": if value != nil { jtv, ok := value.(string) @@ -61881,10 +63135,12 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ContainerHostname = ptr.String(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -61893,6 +63149,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.Framework = ptr.String(jtv) } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -61901,6 +63158,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.FrameworkVersion = ptr.String(jtv) } + case "Image": if value != nil { jtv, ok := value.(string) @@ -61909,6 +63167,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.Image = ptr.String(jtv) } + case "ImageDigest": if value != nil { jtv, ok := value.(string) @@ -61917,10 +63176,12 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ImageDigest = ptr.String(jtv) } + case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } + case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -61929,10 +63190,12 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ModelDataUrl = ptr.String(jtv) } + case "ModelInput": if err := awsAwsjson11_deserializeDocumentModelInput(&sv.ModelInput, value); err != nil { return err } + case "NearestModelName": if value != nil { jtv, ok := value.(string) @@ -61941,6 +63204,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.NearestModelName = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -61949,6 +63213,7 @@ func awsAwsjson11_deserializeDocumentModelPackageContainerDefinition(v **types.M } sv.ProductId = ptr.String(jtv) } + default: _, _ = key, value @@ -62018,6 +63283,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -62033,6 +63299,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } } + case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -62041,6 +63308,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupArn = ptr.String(jtv) } + case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -62049,6 +63317,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -62057,6 +63326,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -62065,10 +63335,12 @@ func awsAwsjson11_deserializeDocumentModelPackageGroup(v **types.ModelPackageGro } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -62115,6 +63387,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } } + case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -62123,6 +63396,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupArn = ptr.String(jtv) } + case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -62131,6 +63405,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -62139,6 +63414,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -62147,6 +63423,7 @@ func awsAwsjson11_deserializeDocumentModelPackageGroupSummary(v **types.ModelPac } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } + default: _, _ = key, value @@ -62220,6 +63497,7 @@ func awsAwsjson11_deserializeDocumentModelPackageModelCard(v **types.ModelPackag } sv.ModelCardContent = ptr.String(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -62228,6 +63506,7 @@ func awsAwsjson11_deserializeDocumentModelPackageModelCard(v **types.ModelPackag } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + default: _, _ = key, value @@ -62267,6 +63546,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(v **types.ModelP } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -62302,10 +63582,12 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusDetails(v **types.ModelPa if err := awsAwsjson11_deserializeDocumentModelPackageStatusItemList(&sv.ImageScanStatuses, value); err != nil { return err } + case "ValidationStatuses": if err := awsAwsjson11_deserializeDocumentModelPackageStatusItemList(&sv.ValidationStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -62345,6 +63627,7 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.FailureReason = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -62353,6 +63636,7 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -62361,6 +63645,7 @@ func awsAwsjson11_deserializeDocumentModelPackageStatusItem(v **types.ModelPacka } sv.Status = types.DetailedModelPackageStatus(jtv) } + default: _, _ = key, value @@ -62476,6 +63761,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } } + case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -62484,6 +63770,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } + case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -62492,6 +63779,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageArn = ptr.String(jtv) } + case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -62500,6 +63788,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -62508,6 +63797,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -62516,6 +63806,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageName = ptr.String(jtv) } + case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -62524,6 +63815,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } + case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -62536,6 +63828,7 @@ func awsAwsjson11_deserializeDocumentModelPackageSummary(v **types.ModelPackageS } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -62609,10 +63902,12 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationProfile(v **types.Mod } sv.ProfileName = ptr.String(jtv) } + case "TransformJobDefinition": if err := awsAwsjson11_deserializeDocumentTransformJobDefinition(&sv.TransformJobDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -62682,6 +63977,7 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(v **typ if err := awsAwsjson11_deserializeDocumentModelPackageValidationProfiles(&sv.ValidationProfiles, value); err != nil { return err } + case "ValidationRole": if value != nil { jtv, ok := value.(string) @@ -62690,6 +63986,7 @@ func awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(v **typ } sv.ValidationRole = ptr.String(jtv) } + default: _, _ = key, value @@ -62725,10 +64022,12 @@ func awsAwsjson11_deserializeDocumentModelQuality(v **types.ModelQuality, value if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Constraints, value); err != nil { return err } + case "Statistics": if err := awsAwsjson11_deserializeDocumentMetricsSource(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -62764,14 +64063,17 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -62780,6 +64082,7 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.ImageUri = ptr.String(jtv) } + case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -62788,6 +64091,7 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } + case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -62796,6 +64100,7 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.ProblemType = types.MonitoringProblemType(jtv) } + case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -62804,6 +64109,7 @@ func awsAwsjson11_deserializeDocumentModelQualityAppSpecification(v **types.Mode } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -62843,10 +64149,12 @@ func awsAwsjson11_deserializeDocumentModelQualityBaselineConfig(v **types.ModelQ } sv.BaseliningJobName = ptr.String(jtv) } + case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } + default: _, _ = key, value @@ -62882,14 +64190,17 @@ func awsAwsjson11_deserializeDocumentModelQualityJobInput(v **types.ModelQuality if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } + case "GroundTruthS3Input": if err := awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(&sv.GroundTruthS3Input, value); err != nil { return err } + default: _, _ = key, value @@ -62929,10 +64240,12 @@ func awsAwsjson11_deserializeDocumentModelQuantizationConfig(v **types.ModelQuan } sv.Image = ptr.String(jtv) } + case "OverrideEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OverrideEnvironment, value); err != nil { return err } + default: _, _ = key, value @@ -62972,6 +64285,7 @@ func awsAwsjson11_deserializeDocumentModelRegisterSettings(v **types.ModelRegist } sv.CrossAccountModelRegisterRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -62980,6 +64294,7 @@ func awsAwsjson11_deserializeDocumentModelRegisterSettings(v **types.ModelRegist } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -63019,6 +64334,7 @@ func awsAwsjson11_deserializeDocumentModelStepMetadata(v **types.ModelStepMetada } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -63065,6 +64381,7 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -63073,6 +64390,7 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -63081,6 +64399,7 @@ func awsAwsjson11_deserializeDocumentModelSummary(v **types.ModelSummary, value } sv.ModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -63150,6 +64469,7 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa if err := awsAwsjson11_deserializeDocumentModelInfrastructureConfig(&sv.InfrastructureConfig, value); err != nil { return err } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -63158,6 +64478,7 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.ModelName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -63166,6 +64487,7 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.Status = types.ModelVariantStatus(jtv) } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -63174,6 +64496,7 @@ func awsAwsjson11_deserializeDocumentModelVariantConfigSummary(v **types.ModelVa } sv.VariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -63243,6 +64566,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertActions(v **types.Monitoring if err := awsAwsjson11_deserializeDocumentModelDashboardIndicatorAction(&sv.ModelDashboardIndicator, value); err != nil { return err } + default: _, _ = key, value @@ -63316,6 +64640,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.AlertStatus = types.MonitoringAlertStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -63331,6 +64656,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } } + case "MonitoringAlertName": if value != nil { jtv, ok := value.(string) @@ -63339,6 +64665,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.MonitoringAlertName = ptr.String(jtv) } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -63347,6 +64674,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertHistorySummary(v **types.Mon } sv.MonitoringScheduleName = ptr.String(jtv) } + default: _, _ = key, value @@ -63382,6 +64710,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring if err := awsAwsjson11_deserializeDocumentMonitoringAlertActions(&sv.Actions, value); err != nil { return err } + case "AlertStatus": if value != nil { jtv, ok := value.(string) @@ -63390,6 +64719,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.AlertStatus = types.MonitoringAlertStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -63405,6 +64735,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } } + case "DatapointsToAlert": if value != nil { jtv, ok := value.(json.Number) @@ -63417,6 +64748,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.DatapointsToAlert = ptr.Int32(int32(i64)) } + case "EvaluationPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -63429,6 +64761,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.EvaluationPeriod = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -63444,6 +64777,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } } + case "MonitoringAlertName": if value != nil { jtv, ok := value.(string) @@ -63452,6 +64786,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAlertSummary(v **types.Monitoring } sv.MonitoringAlertName = ptr.String(jtv) } + default: _, _ = key, value @@ -63521,10 +64856,12 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito if err := awsAwsjson11_deserializeDocumentMonitoringContainerArguments(&sv.ContainerArguments, value); err != nil { return err } + case "ContainerEntrypoint": if err := awsAwsjson11_deserializeDocumentContainerEntrypoint(&sv.ContainerEntrypoint, value); err != nil { return err } + case "ImageUri": if value != nil { jtv, ok := value.(string) @@ -63533,6 +64870,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.ImageUri = ptr.String(jtv) } + case "PostAnalyticsProcessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -63541,6 +64879,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.PostAnalyticsProcessorSourceUri = ptr.String(jtv) } + case "RecordPreprocessorSourceUri": if value != nil { jtv, ok := value.(string) @@ -63549,6 +64888,7 @@ func awsAwsjson11_deserializeDocumentMonitoringAppSpecification(v **types.Monito } sv.RecordPreprocessorSourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -63588,14 +64928,17 @@ func awsAwsjson11_deserializeDocumentMonitoringBaselineConfig(v **types.Monitori } sv.BaseliningJobName = ptr.String(jtv) } + case "ConstraintsResource": if err := awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(&sv.ConstraintsResource, value); err != nil { return err } + case "StatisticsResource": if err := awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(&sv.StatisticsResource, value); err != nil { return err } + default: _, _ = key, value @@ -63639,6 +64982,7 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -63647,6 +64991,7 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.InstanceType = types.ProcessingInstanceType(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -63655,6 +65000,7 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -63667,6 +65013,7 @@ func awsAwsjson11_deserializeDocumentMonitoringClusterConfig(v **types.Monitorin } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -63706,6 +65053,7 @@ func awsAwsjson11_deserializeDocumentMonitoringConstraintsResource(v **types.Mon } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -63781,6 +65129,7 @@ func awsAwsjson11_deserializeDocumentMonitoringCsvDatasetFormat(v **types.Monito } sv.Header = ptr.Bool(jtv) } + default: _, _ = key, value @@ -63816,14 +65165,17 @@ func awsAwsjson11_deserializeDocumentMonitoringDatasetFormat(v **types.Monitorin if err := awsAwsjson11_deserializeDocumentMonitoringCsvDatasetFormat(&sv.Csv, value); err != nil { return err } + case "Json": if err := awsAwsjson11_deserializeDocumentMonitoringJsonDatasetFormat(&sv.Json, value); err != nil { return err } + case "Parquet": if err := awsAwsjson11_deserializeDocumentMonitoringParquetDatasetFormat(&sv.Parquet, value); err != nil { return err } + default: _, _ = key, value @@ -63906,6 +65258,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -63914,6 +65267,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.EndpointName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -63922,6 +65276,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -63937,6 +65292,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } + case "MonitoringExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -63945,6 +65301,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringExecutionStatus = types.ExecutionStatus(jtv) } + case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -63953,6 +65310,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringJobDefinitionName = ptr.String(jtv) } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -63961,6 +65319,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringScheduleName = ptr.String(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -63969,6 +65328,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.MonitoringType = types.MonitoringType(jtv) } + case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -63977,6 +65337,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } sv.ProcessingJobArn = ptr.String(jtv) } + case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -63992,6 +65353,7 @@ func awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(v **types.Monito } } + default: _, _ = key, value @@ -64065,6 +65427,7 @@ func awsAwsjson11_deserializeDocumentMonitoringGroundTruthS3Input(v **types.Moni } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -64100,10 +65463,12 @@ func awsAwsjson11_deserializeDocumentMonitoringInput(v **types.MonitoringInput, if err := awsAwsjson11_deserializeDocumentBatchTransformInput(&sv.BatchTransformInput, value); err != nil { return err } + case "EndpointInput": if err := awsAwsjson11_deserializeDocumentEndpointInput(&sv.EndpointInput, value); err != nil { return err } + default: _, _ = key, value @@ -64173,30 +65538,37 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinition(v **types.Monitorin if err := awsAwsjson11_deserializeDocumentMonitoringBaselineConfig(&sv.BaselineConfig, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentMonitoringEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "MonitoringAppSpecification": if err := awsAwsjson11_deserializeDocumentMonitoringAppSpecification(&sv.MonitoringAppSpecification, value); err != nil { return err } + case "MonitoringInputs": if err := awsAwsjson11_deserializeDocumentMonitoringInputs(&sv.MonitoringInputs, value); err != nil { return err } + case "MonitoringOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.MonitoringOutputConfig, value); err != nil { return err } + case "MonitoringResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.MonitoringResources, value); err != nil { return err } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -64205,10 +65577,12 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinition(v **types.Monitorin } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + default: _, _ = key, value @@ -64255,6 +65629,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -64263,6 +65638,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.EndpointName = ptr.String(jtv) } + case "MonitoringJobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -64271,6 +65647,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.MonitoringJobDefinitionArn = ptr.String(jtv) } + case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -64279,6 +65656,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummary(v **types.Mo } sv.MonitoringJobDefinitionName = ptr.String(jtv) } + default: _, _ = key, value @@ -64352,6 +65730,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJsonDatasetFormat(v **types.Monit } sv.Line = ptr.Bool(jtv) } + default: _, _ = key, value @@ -64391,6 +65770,7 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -64399,10 +65779,12 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -64438,6 +65820,7 @@ func awsAwsjson11_deserializeDocumentMonitoringOutput(v **types.MonitoringOutput if err := awsAwsjson11_deserializeDocumentMonitoringS3Output(&sv.S3Output, value); err != nil { return err } + default: _, _ = key, value @@ -64477,10 +65860,12 @@ func awsAwsjson11_deserializeDocumentMonitoringOutputConfig(v **types.Monitoring } sv.KmsKeyId = ptr.String(jtv) } + case "MonitoringOutputs": if err := awsAwsjson11_deserializeDocumentMonitoringOutputs(&sv.MonitoringOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -64581,6 +65966,7 @@ func awsAwsjson11_deserializeDocumentMonitoringResources(v **types.MonitoringRes if err := awsAwsjson11_deserializeDocumentMonitoringClusterConfig(&sv.ClusterConfig, value); err != nil { return err } + default: _, _ = key, value @@ -64620,6 +66006,7 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.LocalPath = ptr.String(jtv) } + case "S3UploadMode": if value != nil { jtv, ok := value.(string) @@ -64628,6 +66015,7 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.S3UploadMode = types.ProcessingS3UploadMode(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -64636,6 +66024,7 @@ func awsAwsjson11_deserializeDocumentMonitoringS3Output(v **types.MonitoringS3Ou } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -64682,6 +66071,7 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -64690,6 +66080,7 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.EndpointName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -64698,6 +66089,7 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -64713,10 +66105,12 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } } + case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -64725,10 +66119,12 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -64737,6 +66133,7 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleName = ptr.String(jtv) } + case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -64745,6 +66142,7 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -64753,10 +66151,12 @@ func awsAwsjson11_deserializeDocumentMonitoringSchedule(v **types.MonitoringSche } sv.MonitoringType = types.MonitoringType(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -64792,6 +66192,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinition(&sv.MonitoringJobDefinition, value); err != nil { return err } + case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -64800,6 +66201,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori } sv.MonitoringJobDefinitionName = ptr.String(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -64808,10 +66210,12 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(v **types.Monitori } sv.MonitoringType = types.MonitoringType(jtv) } + case "ScheduleConfig": if err := awsAwsjson11_deserializeDocumentScheduleConfig(&sv.ScheduleConfig, value); err != nil { return err } + default: _, _ = key, value @@ -64892,6 +66296,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -64900,6 +66305,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.EndpointName = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -64915,6 +66321,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } } + case "MonitoringJobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -64923,6 +66330,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringJobDefinitionName = ptr.String(jtv) } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -64931,6 +66339,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -64939,6 +66348,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleName = ptr.String(jtv) } + case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -64947,6 +66357,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -64955,6 +66366,7 @@ func awsAwsjson11_deserializeDocumentMonitoringScheduleSummary(v **types.Monitor } sv.MonitoringType = types.MonitoringType(jtv) } + default: _, _ = key, value @@ -65028,6 +66440,7 @@ func awsAwsjson11_deserializeDocumentMonitoringStatisticsResource(v **types.Moni } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -65071,6 +66484,7 @@ func awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(v **types.Monit } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -65110,6 +66524,7 @@ func awsAwsjson11_deserializeDocumentMultiModelConfig(v **types.MultiModelConfig } sv.ModelCacheSetting = types.ModelCacheSetting(jtv) } + default: _, _ = key, value @@ -65145,10 +66560,12 @@ func awsAwsjson11_deserializeDocumentNeoVpcConfig(v **types.NeoVpcConfig, value if err := awsAwsjson11_deserializeDocumentNeoVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentNeoVpcSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -65260,6 +66677,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -65268,10 +66686,12 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -65388,6 +66808,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -65403,6 +66824,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } } + case "NotebookInstanceLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -65411,6 +66833,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -65419,6 +66842,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummary(v ** } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } + default: _, _ = key, value @@ -65492,6 +66916,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleHook(v **types.Not } sv.Content = ptr.String(jtv) } + default: _, _ = key, value @@ -65527,6 +66952,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI if err := awsAwsjson11_deserializeDocumentAdditionalCodeRepositoryNamesOrUrls(&sv.AdditionalCodeRepositories, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -65542,6 +66968,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } } + case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -65550,6 +66977,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.DefaultCodeRepository = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -65558,6 +66986,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.InstanceType = types.InstanceType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -65573,6 +67002,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } } + case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -65581,6 +67011,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceArn = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -65589,6 +67020,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } + case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -65597,6 +67029,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceName = ptr.String(jtv) } + case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -65605,6 +67038,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.NotebookInstanceStatus = types.NotebookInstanceStatus(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -65613,6 +67047,7 @@ func awsAwsjson11_deserializeDocumentNotebookInstanceSummary(v **types.NotebookI } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -65686,6 +67121,7 @@ func awsAwsjson11_deserializeDocumentNotificationConfiguration(v **types.Notific } sv.NotificationTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -65729,6 +67165,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Failed = ptr.Int32(int32(i64)) } + case "Pending": if value != nil { jtv, ok := value.(json.Number) @@ -65741,6 +67178,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Pending = ptr.Int32(int32(i64)) } + case "Succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -65753,6 +67191,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective } sv.Succeeded = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -65788,6 +67227,7 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo if err := awsAwsjson11_deserializeDocumentDataCatalogConfig(&sv.DataCatalogConfig, value); err != nil { return err } + case "DisableGlueTableCreation": if value != nil { jtv, ok := value.(bool) @@ -65796,10 +67236,12 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo } sv.DisableGlueTableCreation = ptr.Bool(jtv) } + case "S3StorageConfig": if err := awsAwsjson11_deserializeDocumentS3StorageConfig(&sv.S3StorageConfig, value); err != nil { return err } + case "TableFormat": if value != nil { jtv, ok := value.(string) @@ -65808,6 +67250,7 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo } sv.TableFormat = types.TableFormat(jtv) } + default: _, _ = key, value @@ -65847,6 +67290,7 @@ func awsAwsjson11_deserializeDocumentOfflineStoreStatus(v **types.OfflineStoreSt } sv.BlockedReason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -65855,6 +67299,7 @@ func awsAwsjson11_deserializeDocumentOfflineStoreStatus(v **types.OfflineStoreSt } sv.Status = types.OfflineStoreStatusValue(jtv) } + default: _, _ = key, value @@ -65890,6 +67335,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF if err := awsAwsjson11_deserializeDocumentAuthenticationRequestExtraParams(&sv.AuthenticationRequestExtraParams, value); err != nil { return err } + case "AuthorizationEndpoint": if value != nil { jtv, ok := value.(string) @@ -65898,6 +67344,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.AuthorizationEndpoint = ptr.String(jtv) } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -65906,6 +67353,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.ClientId = ptr.String(jtv) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -65914,6 +67362,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.Issuer = ptr.String(jtv) } + case "JwksUri": if value != nil { jtv, ok := value.(string) @@ -65922,6 +67371,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.JwksUri = ptr.String(jtv) } + case "LogoutEndpoint": if value != nil { jtv, ok := value.(string) @@ -65930,6 +67380,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.LogoutEndpoint = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -65938,6 +67389,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.Scope = ptr.String(jtv) } + case "TokenEndpoint": if value != nil { jtv, ok := value.(string) @@ -65946,6 +67398,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.TokenEndpoint = ptr.String(jtv) } + case "UserInfoEndpoint": if value != nil { jtv, ok := value.(string) @@ -65954,6 +67407,7 @@ func awsAwsjson11_deserializeDocumentOidcConfigForResponse(v **types.OidcConfigF } sv.UserInfoEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -65989,6 +67443,7 @@ func awsAwsjson11_deserializeDocumentOidcMemberDefinition(v **types.OidcMemberDe if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + default: _, _ = key, value @@ -66028,10 +67483,12 @@ func awsAwsjson11_deserializeDocumentOnlineStoreConfig(v **types.OnlineStoreConf } sv.EnableOnlineStore = ptr.Bool(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -66040,10 +67497,12 @@ func awsAwsjson11_deserializeDocumentOnlineStoreConfig(v **types.OnlineStoreConf } sv.StorageType = types.StorageType(jtv) } + case "TtlDuration": if err := awsAwsjson11_deserializeDocumentTtlDuration(&sv.TtlDuration, value); err != nil { return err } + default: _, _ = key, value @@ -66083,6 +67542,7 @@ func awsAwsjson11_deserializeDocumentOnlineStoreSecurityConfig(v **types.OnlineS } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -66272,6 +67732,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSource(v **types.Optimi if err := awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -66307,6 +67768,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(v **types.Opti if err := awsAwsjson11_deserializeDocumentOptimizationModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -66315,6 +67777,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobModelSourceS3(v **types.Opti } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -66354,6 +67817,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(v **types.Optim } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -66362,6 +67826,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(v **types.Optim } sv.S3OutputLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -66442,6 +67907,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } + case "DeploymentInstanceType": if value != nil { jtv, ok := value.(string) @@ -66450,6 +67916,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.DeploymentInstanceType = types.OptimizationJobDeploymentInstanceType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -66465,6 +67932,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } + case "OptimizationEndTime": if value != nil { switch jtv := value.(type) { @@ -66480,6 +67948,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } + case "OptimizationJobArn": if value != nil { jtv, ok := value.(string) @@ -66488,6 +67957,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobArn = ptr.String(jtv) } + case "OptimizationJobName": if value != nil { jtv, ok := value.(string) @@ -66496,6 +67966,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobName = ptr.String(jtv) } + case "OptimizationJobStatus": if value != nil { jtv, ok := value.(string) @@ -66504,6 +67975,7 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } sv.OptimizationJobStatus = types.OptimizationJobStatus(jtv) } + case "OptimizationStartTime": if value != nil { switch jtv := value.(type) { @@ -66519,10 +67991,12 @@ func awsAwsjson11_deserializeDocumentOptimizationJobSummary(v **types.Optimizati } } + case "OptimizationTypes": if err := awsAwsjson11_deserializeDocumentOptimizationTypes(&sv.OptimizationTypes, value); err != nil { return err } + default: _, _ = key, value @@ -66562,6 +68036,7 @@ func awsAwsjson11_deserializeDocumentOptimizationModelAccessConfig(v **types.Opt } sv.AcceptEula = ptr.Bool(jtv) } + default: _, _ = key, value @@ -66601,6 +68076,7 @@ func awsAwsjson11_deserializeDocumentOptimizationOutput(v **types.OptimizationOu } sv.RecommendedInferenceImage = ptr.String(jtv) } + default: _, _ = key, value @@ -66672,10 +68148,12 @@ func awsAwsjson11_deserializeDocumentOptimizationVpcConfig(v **types.Optimizatio if err := awsAwsjson11_deserializeDocumentOptimizationVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentOptimizationVpcSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -66787,6 +68265,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.CompilerOptions = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -66795,6 +68274,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputLocation": if value != nil { jtv, ok := value.(string) @@ -66803,6 +68283,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3OutputLocation = ptr.String(jtv) } + case "TargetDevice": if value != nil { jtv, ok := value.(string) @@ -66811,10 +68292,12 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.TargetDevice = types.TargetDevice(jtv) } + case "TargetPlatform": if err := awsAwsjson11_deserializeDocumentTargetPlatform(&sv.TargetPlatform, value); err != nil { return err } + default: _, _ = key, value @@ -66854,6 +68337,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.CompressionType = types.OutputCompressionType(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -66862,6 +68346,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -66870,6 +68355,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -66909,6 +68395,7 @@ func awsAwsjson11_deserializeDocumentOutputParameter(v **types.OutputParameter, } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -66917,6 +68404,7 @@ func awsAwsjson11_deserializeDocumentOutputParameter(v **types.OutputParameter, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -66990,6 +68478,7 @@ func awsAwsjson11_deserializeDocumentOwnershipSettings(v **types.OwnershipSettin } sv.OwnerUserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -67029,6 +68518,7 @@ func awsAwsjson11_deserializeDocumentOwnershipSettingsSummary(v **types.Ownershi } sv.OwnerUserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -67072,6 +68562,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfiguration(v **types.Parallel } sv.MaxParallelExecutionSteps = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -67111,6 +68602,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -67119,6 +68611,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -67188,14 +68681,17 @@ func awsAwsjson11_deserializeDocumentParameterRange(v **types.ParameterRange, va if err := awsAwsjson11_deserializeDocumentCategoricalParameterRangeSpecification(&sv.CategoricalParameterRangeSpecification, value); err != nil { return err } + case "ContinuousParameterRangeSpecification": if err := awsAwsjson11_deserializeDocumentContinuousParameterRangeSpecification(&sv.ContinuousParameterRangeSpecification, value); err != nil { return err } + case "IntegerParameterRangeSpecification": if err := awsAwsjson11_deserializeDocumentIntegerParameterRangeSpecification(&sv.IntegerParameterRangeSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -67231,18 +68727,22 @@ func awsAwsjson11_deserializeDocumentParameterRanges(v **types.ParameterRanges, if err := awsAwsjson11_deserializeDocumentAutoParameters(&sv.AutoParameters, value); err != nil { return err } + case "CategoricalParameterRanges": if err := awsAwsjson11_deserializeDocumentCategoricalParameterRanges(&sv.CategoricalParameterRanges, value); err != nil { return err } + case "ContinuousParameterRanges": if err := awsAwsjson11_deserializeDocumentContinuousParameterRanges(&sv.ContinuousParameterRanges, value); err != nil { return err } + case "IntegerParameterRanges": if err := awsAwsjson11_deserializeDocumentIntegerParameterRanges(&sv.IntegerParameterRanges, value); err != nil { return err } + default: _, _ = key, value @@ -67318,6 +68818,7 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.ExperimentName = ptr.String(jtv) } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -67326,6 +68827,7 @@ func awsAwsjson11_deserializeDocumentParent(v **types.Parent, value interface{}) } sv.TrialName = ptr.String(jtv) } + default: _, _ = key, value @@ -67365,6 +68867,7 @@ func awsAwsjson11_deserializeDocumentParentHyperParameterTuningJob(v **types.Par } sv.HyperParameterTuningJobName = ptr.String(jtv) } + default: _, _ = key, value @@ -67472,14 +68975,17 @@ func awsAwsjson11_deserializeDocumentPendingDeploymentSummary(v **types.PendingD } sv.EndpointConfigName = ptr.String(jtv) } + case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentPendingProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } + case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentPendingProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -67495,6 +69001,7 @@ func awsAwsjson11_deserializeDocumentPendingDeploymentSummary(v **types.PendingD } } + default: _, _ = key, value @@ -67534,6 +69041,7 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.AcceleratorType = types.ProductionVariantAcceleratorType(jtv) } + case "CurrentInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -67546,10 +69054,12 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.CurrentInstanceCount = ptr.Int32(int32(i64)) } + case "CurrentServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.CurrentServerlessConfig, value); err != nil { return err } + case "CurrentWeight": if value != nil { switch jtv := value.(type) { @@ -67583,10 +69093,12 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } } + case "DeployedImages": if err := awsAwsjson11_deserializeDocumentDeployedImages(&sv.DeployedImages, value); err != nil { return err } + case "DesiredInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -67599,10 +69111,12 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.DesiredInstanceCount = ptr.Int32(int32(i64)) } + case "DesiredServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.DesiredServerlessConfig, value); err != nil { return err } + case "DesiredWeight": if value != nil { switch jtv := value.(type) { @@ -67636,6 +69150,7 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -67644,14 +69159,17 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } + case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -67660,10 +69178,12 @@ func awsAwsjson11_deserializeDocumentPendingProductionVariantSummary(v **types.P } sv.VariantName = ptr.String(jtv) } + case "VariantStatus": if err := awsAwsjson11_deserializeDocumentProductionVariantStatusList(&sv.VariantStatus, value); err != nil { return err } + default: _, _ = key, value @@ -67741,6 +69261,7 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "InitialNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -67753,6 +69274,7 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.InitialNumberOfUsers = ptr.Int32(int32(i64)) } + case "SpawnRate": if value != nil { jtv, ok := value.(json.Number) @@ -67765,6 +69287,7 @@ func awsAwsjson11_deserializeDocumentPhase(v **types.Phase, value interface{}) e } sv.SpawnRate = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -67834,6 +69357,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -67849,10 +69373,12 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -67868,6 +69394,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "LastRunTime": if value != nil { switch jtv := value.(type) { @@ -67883,10 +69410,12 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } } + case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -67895,6 +69424,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineArn = ptr.String(jtv) } + case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -67903,6 +69433,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineDescription = ptr.String(jtv) } + case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -67911,6 +69442,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineDisplayName = ptr.String(jtv) } + case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -67919,6 +69451,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineName = ptr.String(jtv) } + case "PipelineStatus": if value != nil { jtv, ok := value.(string) @@ -67927,6 +69460,7 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.PipelineStatus = types.PipelineStatus(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -67935,10 +69469,12 @@ func awsAwsjson11_deserializeDocumentPipeline(v **types.Pipeline, value interfac } sv.RoleArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -67974,6 +69510,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -67989,6 +69526,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -67997,10 +69535,12 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -68016,10 +69556,12 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } } + case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -68028,6 +69570,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineArn = ptr.String(jtv) } + case "PipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -68036,6 +69579,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionArn = ptr.String(jtv) } + case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -68044,6 +69588,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionDescription = ptr.String(jtv) } + case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -68052,6 +69597,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionDisplayName = ptr.String(jtv) } + case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -68060,18 +69606,22 @@ func awsAwsjson11_deserializeDocumentPipelineExecution(v **types.PipelineExecuti } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } + case "PipelineExperimentConfig": if err := awsAwsjson11_deserializeDocumentPipelineExperimentConfig(&sv.PipelineExperimentConfig, value); err != nil { return err } + case "PipelineParameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.PipelineParameters, value); err != nil { return err } + case "SelectiveExecutionConfig": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(&sv.SelectiveExecutionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -68115,10 +69665,12 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.AttemptCount = ptr.Int32(int32(i64)) } + case "CacheHitResult": if err := awsAwsjson11_deserializeDocumentCacheHitResult(&sv.CacheHitResult, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -68134,6 +69686,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -68142,14 +69695,17 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.FailureReason = ptr.String(jtv) } + case "Metadata": if err := awsAwsjson11_deserializeDocumentPipelineExecutionStepMetadata(&sv.Metadata, value); err != nil { return err } + case "SelectiveExecutionResult": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionResult(&sv.SelectiveExecutionResult, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -68165,6 +69721,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } } + case "StepDescription": if value != nil { jtv, ok := value.(string) @@ -68173,6 +69730,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepDescription = ptr.String(jtv) } + case "StepDisplayName": if value != nil { jtv, ok := value.(string) @@ -68181,6 +69739,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepDisplayName = ptr.String(jtv) } + case "StepName": if value != nil { jtv, ok := value.(string) @@ -68189,6 +69748,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepName = ptr.String(jtv) } + case "StepStatus": if value != nil { jtv, ok := value.(string) @@ -68197,6 +69757,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe } sv.StepStatus = types.StepStatus(jtv) } + default: _, _ = key, value @@ -68266,66 +69827,82 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStepMetadata(v **types.Pip if err := awsAwsjson11_deserializeDocumentAutoMLJobStepMetadata(&sv.AutoMLJob, value); err != nil { return err } + case "Callback": if err := awsAwsjson11_deserializeDocumentCallbackStepMetadata(&sv.Callback, value); err != nil { return err } + case "ClarifyCheck": if err := awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(&sv.ClarifyCheck, value); err != nil { return err } + case "Condition": if err := awsAwsjson11_deserializeDocumentConditionStepMetadata(&sv.Condition, value); err != nil { return err } + case "EMR": if err := awsAwsjson11_deserializeDocumentEMRStepMetadata(&sv.EMR, value); err != nil { return err } + case "Endpoint": if err := awsAwsjson11_deserializeDocumentEndpointStepMetadata(&sv.Endpoint, value); err != nil { return err } + case "EndpointConfig": if err := awsAwsjson11_deserializeDocumentEndpointConfigStepMetadata(&sv.EndpointConfig, value); err != nil { return err } + case "Fail": if err := awsAwsjson11_deserializeDocumentFailStepMetadata(&sv.Fail, value); err != nil { return err } + case "Lambda": if err := awsAwsjson11_deserializeDocumentLambdaStepMetadata(&sv.Lambda, value); err != nil { return err } + case "Model": if err := awsAwsjson11_deserializeDocumentModelStepMetadata(&sv.Model, value); err != nil { return err } + case "ProcessingJob": if err := awsAwsjson11_deserializeDocumentProcessingJobStepMetadata(&sv.ProcessingJob, value); err != nil { return err } + case "QualityCheck": if err := awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(&sv.QualityCheck, value); err != nil { return err } + case "RegisterModel": if err := awsAwsjson11_deserializeDocumentRegisterModelStepMetadata(&sv.RegisterModel, value); err != nil { return err } + case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJobStepMetadata(&sv.TrainingJob, value); err != nil { return err } + case "TransformJob": if err := awsAwsjson11_deserializeDocumentTransformJobStepMetadata(&sv.TransformJob, value); err != nil { return err } + case "TuningJob": if err := awsAwsjson11_deserializeDocumentTuningJobStepMetaData(&sv.TuningJob, value); err != nil { return err } + default: _, _ = key, value @@ -68365,6 +69942,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionArn = ptr.String(jtv) } + case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -68373,6 +69951,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionDescription = ptr.String(jtv) } + case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -68381,6 +69960,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionDisplayName = ptr.String(jtv) } + case "PipelineExecutionFailureReason": if value != nil { jtv, ok := value.(string) @@ -68389,6 +69969,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionFailureReason = ptr.String(jtv) } + case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -68397,6 +69978,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -68412,6 +69994,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionSummary(v **types.Pipeline } } + default: _, _ = key, value @@ -68485,6 +70068,7 @@ func awsAwsjson11_deserializeDocumentPipelineExperimentConfig(v **types.Pipeline } sv.ExperimentName = ptr.String(jtv) } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -68493,6 +70077,7 @@ func awsAwsjson11_deserializeDocumentPipelineExperimentConfig(v **types.Pipeline } sv.TrialName = ptr.String(jtv) } + default: _, _ = key, value @@ -68539,6 +70124,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "LastExecutionTime": if value != nil { switch jtv := value.(type) { @@ -68554,6 +70140,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -68569,6 +70156,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -68577,6 +70165,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineArn = ptr.String(jtv) } + case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -68585,6 +70174,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineDescription = ptr.String(jtv) } + case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -68593,6 +70183,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineDisplayName = ptr.String(jtv) } + case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -68601,6 +70192,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.PipelineName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -68609,6 +70201,7 @@ func awsAwsjson11_deserializeDocumentPipelineSummary(v **types.PipelineSummary, } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -68682,6 +70275,7 @@ func awsAwsjson11_deserializeDocumentPredefinedMetricSpecification(v **types.Pre } sv.PredefinedMetricType = ptr.String(jtv) } + default: _, _ = key, value @@ -68725,6 +70319,7 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -68733,6 +70328,7 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.InstanceType = types.ProcessingInstanceType(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -68741,6 +70337,7 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -68753,6 +70350,7 @@ func awsAwsjson11_deserializeDocumentProcessingClusterConfig(v **types.Processin } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -68828,6 +70426,7 @@ func awsAwsjson11_deserializeDocumentProcessingFeatureStoreOutput(v **types.Proc } sv.FeatureGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -68867,10 +70466,12 @@ func awsAwsjson11_deserializeDocumentProcessingInput(v **types.ProcessingInput, } sv.AppManaged = ptr.Bool(jtv) } + case "DatasetDefinition": if err := awsAwsjson11_deserializeDocumentDatasetDefinition(&sv.DatasetDefinition, value); err != nil { return err } + case "InputName": if value != nil { jtv, ok := value.(string) @@ -68879,10 +70480,12 @@ func awsAwsjson11_deserializeDocumentProcessingInput(v **types.ProcessingInput, } sv.InputName = ptr.String(jtv) } + case "S3Input": if err := awsAwsjson11_deserializeDocumentProcessingS3Input(&sv.S3Input, value); err != nil { return err } + default: _, _ = key, value @@ -68952,6 +70555,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu if err := awsAwsjson11_deserializeDocumentAppSpecification(&sv.AppSpecification, value); err != nil { return err } + case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -68960,6 +70564,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.AutoMLJobArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -68975,10 +70580,12 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } + case "Environment": if err := awsAwsjson11_deserializeDocumentProcessingEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -68987,10 +70594,12 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ExitMessage = ptr.String(jtv) } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -68999,6 +70608,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -69014,6 +70624,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -69022,10 +70633,12 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -69041,10 +70654,12 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } + case "ProcessingInputs": if err := awsAwsjson11_deserializeDocumentProcessingInputs(&sv.ProcessingInputs, value); err != nil { return err } + case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -69053,6 +70668,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobArn = ptr.String(jtv) } + case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -69061,6 +70677,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobName = ptr.String(jtv) } + case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -69069,14 +70686,17 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } + case "ProcessingOutputConfig": if err := awsAwsjson11_deserializeDocumentProcessingOutputConfig(&sv.ProcessingOutputConfig, value); err != nil { return err } + case "ProcessingResources": if err := awsAwsjson11_deserializeDocumentProcessingResources(&sv.ProcessingResources, value); err != nil { return err } + case "ProcessingStartTime": if value != nil { switch jtv := value.(type) { @@ -69092,6 +70712,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -69100,14 +70721,17 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentProcessingStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -69116,6 +70740,7 @@ func awsAwsjson11_deserializeDocumentProcessingJob(v **types.ProcessingJob, valu } sv.TrainingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -69155,6 +70780,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobStepMetadata(v **types.Process } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -69235,6 +70861,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } + case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -69243,6 +70870,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ExitMessage = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -69251,6 +70879,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -69266,6 +70895,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } + case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -69281,6 +70911,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } } + case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -69289,6 +70920,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobArn = ptr.String(jtv) } + case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -69297,6 +70929,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobName = ptr.String(jtv) } + case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -69305,6 +70938,7 @@ func awsAwsjson11_deserializeDocumentProcessingJobSummary(v **types.ProcessingJo } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } + default: _, _ = key, value @@ -69344,10 +70978,12 @@ func awsAwsjson11_deserializeDocumentProcessingOutput(v **types.ProcessingOutput } sv.AppManaged = ptr.Bool(jtv) } + case "FeatureStoreOutput": if err := awsAwsjson11_deserializeDocumentProcessingFeatureStoreOutput(&sv.FeatureStoreOutput, value); err != nil { return err } + case "OutputName": if value != nil { jtv, ok := value.(string) @@ -69356,10 +70992,12 @@ func awsAwsjson11_deserializeDocumentProcessingOutput(v **types.ProcessingOutput } sv.OutputName = ptr.String(jtv) } + case "S3Output": if err := awsAwsjson11_deserializeDocumentProcessingS3Output(&sv.S3Output, value); err != nil { return err } + default: _, _ = key, value @@ -69399,10 +71037,12 @@ func awsAwsjson11_deserializeDocumentProcessingOutputConfig(v **types.Processing } sv.KmsKeyId = ptr.String(jtv) } + case "Outputs": if err := awsAwsjson11_deserializeDocumentProcessingOutputs(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -69472,6 +71112,7 @@ func awsAwsjson11_deserializeDocumentProcessingResources(v **types.ProcessingRes if err := awsAwsjson11_deserializeDocumentProcessingClusterConfig(&sv.ClusterConfig, value); err != nil { return err } + default: _, _ = key, value @@ -69511,6 +71152,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.LocalPath = ptr.String(jtv) } + case "S3CompressionType": if value != nil { jtv, ok := value.(string) @@ -69519,6 +71161,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3CompressionType = types.ProcessingS3CompressionType(jtv) } + case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -69527,6 +71170,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3DataDistributionType = types.ProcessingS3DataDistributionType(jtv) } + case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -69535,6 +71179,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3DataType = types.ProcessingS3DataType(jtv) } + case "S3InputMode": if value != nil { jtv, ok := value.(string) @@ -69543,6 +71188,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3InputMode = types.ProcessingS3InputMode(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -69551,6 +71197,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Input(v **types.ProcessingS3Inp } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -69590,6 +71237,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.LocalPath = ptr.String(jtv) } + case "S3UploadMode": if value != nil { jtv, ok := value.(string) @@ -69598,6 +71246,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.S3UploadMode = types.ProcessingS3UploadMode(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -69606,6 +71255,7 @@ func awsAwsjson11_deserializeDocumentProcessingS3Output(v **types.ProcessingS3Ou } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -69649,6 +71299,7 @@ func awsAwsjson11_deserializeDocumentProcessingStoppingCondition(v **types.Proce } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -69688,6 +71339,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.AcceleratorType = types.ProductionVariantAcceleratorType(jtv) } + case "ContainerStartupHealthCheckTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -69700,10 +71352,12 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ContainerStartupHealthCheckTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "CoreDumpConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(&sv.CoreDumpConfig, value); err != nil { return err } + case "EnableSSMAccess": if value != nil { jtv, ok := value.(bool) @@ -69712,6 +71366,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.EnableSSMAccess = ptr.Bool(jtv) } + case "InferenceAmiVersion": if value != nil { jtv, ok := value.(string) @@ -69720,6 +71375,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InferenceAmiVersion = types.ProductionVariantInferenceAmiVersion(jtv) } + case "InitialInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -69732,6 +71388,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InitialInstanceCount = ptr.Int32(int32(i64)) } + case "InitialVariantWeight": if value != nil { switch jtv := value.(type) { @@ -69765,6 +71422,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -69773,10 +71431,12 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } + case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } + case "ModelDataDownloadTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -69789,6 +71449,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ModelDataDownloadTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -69797,14 +71458,17 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.ModelName = ptr.String(jtv) } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "ServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.ServerlessConfig, value); err != nil { return err } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -69813,6 +71477,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.VariantName = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -69825,6 +71490,7 @@ func awsAwsjson11_deserializeDocumentProductionVariant(v **types.ProductionVaria } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -69864,6 +71530,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(v **types.P } sv.DestinationS3Uri = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -69872,6 +71539,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantCoreDumpConfig(v **types.P } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -69949,6 +71617,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.MaxInstanceCount = ptr.Int32(int32(i64)) } + case "MinInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -69961,6 +71630,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.MinInstanceCount = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -69969,6 +71639,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(v * } sv.Status = types.ManagedInstanceScalingStatus(jtv) } + default: _, _ = key, value @@ -70008,6 +71679,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(v **types.Pr } sv.RoutingStrategy = types.RoutingStrategy(jtv) } + default: _, _ = key, value @@ -70051,6 +71723,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.MaxConcurrency = ptr.Int32(int32(i64)) } + case "MemorySizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -70063,6 +71736,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.MemorySizeInMB = ptr.Int32(int32(i64)) } + case "ProvisionedConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -70075,6 +71749,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(v **types } sv.ProvisionedConcurrency = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -70121,6 +71796,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -70129,6 +71805,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } sv.Status = types.VariantStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -70137,6 +71814,7 @@ func awsAwsjson11_deserializeDocumentProductionVariantStatus(v **types.Productio } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -70214,10 +71892,12 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.CurrentInstanceCount = ptr.Int32(int32(i64)) } + case "CurrentServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.CurrentServerlessConfig, value); err != nil { return err } + case "CurrentWeight": if value != nil { switch jtv := value.(type) { @@ -70251,10 +71931,12 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } } + case "DeployedImages": if err := awsAwsjson11_deserializeDocumentDeployedImages(&sv.DeployedImages, value); err != nil { return err } + case "DesiredInstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -70267,10 +71949,12 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.DesiredInstanceCount = ptr.Int32(int32(i64)) } + case "DesiredServerlessConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantServerlessConfig(&sv.DesiredServerlessConfig, value); err != nil { return err } + case "DesiredWeight": if value != nil { switch jtv := value.(type) { @@ -70304,14 +71988,17 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } } + case "ManagedInstanceScaling": if err := awsAwsjson11_deserializeDocumentProductionVariantManagedInstanceScaling(&sv.ManagedInstanceScaling, value); err != nil { return err } + case "RoutingConfig": if err := awsAwsjson11_deserializeDocumentProductionVariantRoutingConfig(&sv.RoutingConfig, value); err != nil { return err } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -70320,10 +72007,12 @@ func awsAwsjson11_deserializeDocumentProductionVariantSummary(v **types.Producti } sv.VariantName = ptr.String(jtv) } + case "VariantStatus": if err := awsAwsjson11_deserializeDocumentProductionVariantStatusList(&sv.VariantStatus, value); err != nil { return err } + default: _, _ = key, value @@ -70433,6 +72122,7 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.DisableProfiler = ptr.Bool(jtv) } + case "ProfilingIntervalInMilliseconds": if value != nil { jtv, ok := value.(json.Number) @@ -70445,10 +72135,12 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.ProfilingIntervalInMilliseconds = ptr.Int64(i64) } + case "ProfilingParameters": if err := awsAwsjson11_deserializeDocumentProfilingParameters(&sv.ProfilingParameters, value); err != nil { return err } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -70457,6 +72149,7 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -70496,6 +72189,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.InstanceType = types.ProcessingInstanceType(jtv) } + case "LocalPath": if value != nil { jtv, ok := value.(string) @@ -70504,6 +72198,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.LocalPath = ptr.String(jtv) } + case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -70512,6 +72207,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.RuleConfigurationName = ptr.String(jtv) } + case "RuleEvaluatorImage": if value != nil { jtv, ok := value.(string) @@ -70520,10 +72216,12 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.RuleEvaluatorImage = ptr.String(jtv) } + case "RuleParameters": if err := awsAwsjson11_deserializeDocumentRuleParameters(&sv.RuleParameters, value); err != nil { return err } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -70532,6 +72230,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.S3OutputPath = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -70544,6 +72243,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -70624,6 +72324,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } } + case "RuleConfigurationName": if value != nil { jtv, ok := value.(string) @@ -70632,6 +72333,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleConfigurationName = ptr.String(jtv) } + case "RuleEvaluationJobArn": if value != nil { jtv, ok := value.(string) @@ -70640,6 +72342,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleEvaluationJobArn = ptr.String(jtv) } + case "RuleEvaluationStatus": if value != nil { jtv, ok := value.(string) @@ -70648,6 +72351,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.RuleEvaluationStatus = types.RuleEvaluationStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -70656,6 +72360,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatus(v **types.Prof } sv.StatusDetails = ptr.String(jtv) } + default: _, _ = key, value @@ -70761,6 +72466,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -70776,10 +72482,12 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -70795,6 +72503,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -70803,6 +72512,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectArn = ptr.String(jtv) } + case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -70811,6 +72521,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectDescription = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -70819,6 +72530,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectId = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -70827,6 +72539,7 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectName = ptr.String(jtv) } + case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -70835,18 +72548,22 @@ func awsAwsjson11_deserializeDocumentProject(v **types.Project, value interface{ } sv.ProjectStatus = types.ProjectStatus(jtv) } + case "ServiceCatalogProvisionedProductDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(&sv.ServiceCatalogProvisionedProductDetails, value); err != nil { return err } + case "ServiceCatalogProvisioningDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(&sv.ServiceCatalogProvisioningDetails, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -70893,6 +72610,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -70901,6 +72619,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectArn = ptr.String(jtv) } + case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -70909,6 +72628,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectDescription = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -70917,6 +72637,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectId = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -70925,6 +72646,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectName = ptr.String(jtv) } + case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -70933,6 +72655,7 @@ func awsAwsjson11_deserializeDocumentProjectSummary(v **types.ProjectSummary, va } sv.ProjectStatus = types.ProjectStatus(jtv) } + default: _, _ = key, value @@ -71006,6 +72729,7 @@ func awsAwsjson11_deserializeDocumentPropertyNameSuggestion(v **types.PropertyNa } sv.PropertyName = ptr.String(jtv) } + default: _, _ = key, value @@ -71079,6 +72803,7 @@ func awsAwsjson11_deserializeDocumentProvisioningParameter(v **types.Provisionin } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -71087,6 +72812,7 @@ func awsAwsjson11_deserializeDocumentProvisioningParameter(v **types.Provisionin } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -71156,6 +72882,7 @@ func awsAwsjson11_deserializeDocumentPublicWorkforceTaskPrice(v **types.PublicWo if err := awsAwsjson11_deserializeDocumentUSD(&sv.AmountInUsd, value); err != nil { return err } + default: _, _ = key, value @@ -71195,6 +72922,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.BaselineUsedForDriftCheckConstraints = ptr.String(jtv) } + case "BaselineUsedForDriftCheckStatistics": if value != nil { jtv, ok := value.(string) @@ -71203,6 +72931,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.BaselineUsedForDriftCheckStatistics = ptr.String(jtv) } + case "CalculatedBaselineConstraints": if value != nil { jtv, ok := value.(string) @@ -71211,6 +72940,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CalculatedBaselineConstraints = ptr.String(jtv) } + case "CalculatedBaselineStatistics": if value != nil { jtv, ok := value.(string) @@ -71219,6 +72949,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CalculatedBaselineStatistics = ptr.String(jtv) } + case "CheckJobArn": if value != nil { jtv, ok := value.(string) @@ -71227,6 +72958,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CheckJobArn = ptr.String(jtv) } + case "CheckType": if value != nil { jtv, ok := value.(string) @@ -71235,6 +72967,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.CheckType = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -71243,6 +72976,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.ModelPackageGroupName = ptr.String(jtv) } + case "RegisterNewBaseline": if value != nil { jtv, ok := value.(bool) @@ -71251,6 +72985,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.RegisterNewBaseline = ptr.Bool(jtv) } + case "SkipCheck": if value != nil { jtv, ok := value.(bool) @@ -71259,6 +72994,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.SkipCheck = ptr.Bool(jtv) } + case "ViolationReport": if value != nil { jtv, ok := value.(string) @@ -71267,6 +73003,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC } sv.ViolationReport = ptr.String(jtv) } + default: _, _ = key, value @@ -71310,6 +73047,7 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(v **types.RealTimeI } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -71318,6 +73056,7 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceConfig(v **types.RealTimeI } sv.InstanceType = types.InstanceType(jtv) } + default: _, _ = key, value @@ -71389,6 +73128,7 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R if err := awsAwsjson11_deserializeDocumentEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -71397,6 +73137,7 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R } sv.InstanceType = types.ProductionVariantInstanceType(jtv) } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -71405,6 +73146,7 @@ func awsAwsjson11_deserializeDocumentRealTimeInferenceRecommendation(v **types.R } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -71478,6 +73220,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.DataInputConfig = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -71486,6 +73229,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Domain = ptr.String(jtv) } + case "Framework": if value != nil { jtv, ok := value.(string) @@ -71494,6 +73238,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Framework = ptr.String(jtv) } + case "FrameworkVersion": if value != nil { jtv, ok := value.(string) @@ -71502,6 +73247,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.FrameworkVersion = ptr.String(jtv) } + case "NearestModelName": if value != nil { jtv, ok := value.(string) @@ -71510,10 +73256,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.NearestModelName = ptr.String(jtv) } + case "PayloadConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobPayloadConfig(&sv.PayloadConfig, value); err != nil { return err } + case "SupportedEndpointType": if value != nil { jtv, ok := value.(string) @@ -71522,14 +73270,17 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.SupportedEndpointType = types.RecommendationJobSupportedEndpointType(jtv) } + case "SupportedInstanceTypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedInstanceTypes(&sv.SupportedInstanceTypes, value); err != nil { return err } + case "SupportedResponseMIMETypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedResponseMIMETypes(&sv.SupportedResponseMIMETypes, value); err != nil { return err } + case "Task": if value != nil { jtv, ok := value.(string) @@ -71538,6 +73289,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(v **types. } sv.Task = ptr.String(jtv) } + default: _, _ = key, value @@ -71573,10 +73325,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ if err := awsAwsjson11_deserializeDocumentEndpointOutputConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "EndpointMetrics": if err := awsAwsjson11_deserializeDocumentInferenceMetrics(&sv.EndpointMetrics, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -71585,6 +73339,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } sv.FailureReason = ptr.String(jtv) } + case "InvocationEndTime": if value != nil { switch jtv := value.(type) { @@ -71600,6 +73355,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } } + case "InvocationStartTime": if value != nil { switch jtv := value.(type) { @@ -71615,14 +73371,17 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInferenceBenchmark(v **typ } } + case "Metrics": if err := awsAwsjson11_deserializeDocumentRecommendationMetrics(&sv.Metrics, value); err != nil { return err } + case "ModelConfiguration": if err := awsAwsjson11_deserializeDocumentModelConfiguration(&sv.ModelConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -71658,14 +73417,17 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco if err := awsAwsjson11_deserializeDocumentRecommendationJobContainerConfig(&sv.ContainerConfig, value); err != nil { return err } + case "EndpointConfigurations": if err := awsAwsjson11_deserializeDocumentEndpointInputConfigurations(&sv.EndpointConfigurations, value); err != nil { return err } + case "Endpoints": if err := awsAwsjson11_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + case "JobDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -71678,6 +73440,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.JobDurationInSeconds = ptr.Int32(int32(i64)) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -71686,6 +73449,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.ModelName = ptr.String(jtv) } + case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -71694,14 +73458,17 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.ModelPackageVersionArn = ptr.String(jtv) } + case "ResourceLimit": if err := awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(&sv.ResourceLimit, value); err != nil { return err } + case "TrafficPattern": if err := awsAwsjson11_deserializeDocumentTrafficPattern(&sv.TrafficPattern, value); err != nil { return err } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -71710,10 +73477,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(v **types.Reco } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -71753,10 +73522,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobPayloadConfig(v **types.Re } sv.SamplePayloadUrl = ptr.String(jtv) } + case "SupportedContentTypes": if err := awsAwsjson11_deserializeDocumentRecommendationJobSupportedContentTypes(&sv.SupportedContentTypes, value); err != nil { return err } + default: _, _ = key, value @@ -71800,6 +73571,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(v **types.Re } sv.MaxNumberOfTests = ptr.Int32(int32(i64)) } + case "MaxParallelOfTests": if value != nil { jtv, ok := value.(json.Number) @@ -71812,6 +73584,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobResourceLimit(v **types.Re } sv.MaxParallelOfTests = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -71851,6 +73624,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(v **typ } sv.FlatInvocations = types.FlatInvocations(jtv) } + case "MaxInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -71863,10 +73637,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(v **typ } sv.MaxInvocations = ptr.Int32(int32(i64)) } + case "ModelLatencyThresholds": if err := awsAwsjson11_deserializeDocumentModelLatencyThresholds(&sv.ModelLatencyThresholds, value); err != nil { return err } + default: _, _ = key, value @@ -72010,10 +73786,12 @@ func awsAwsjson11_deserializeDocumentRecommendationJobVpcConfig(v **types.Recomm if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentRecommendationJobVpcSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -72150,6 +73928,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } + case "CostPerInference": if value != nil { switch jtv := value.(type) { @@ -72183,6 +73962,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } + case "CpuUtilization": if value != nil { switch jtv := value.(type) { @@ -72216,6 +73996,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } + case "MaxInvocations": if value != nil { jtv, ok := value.(json.Number) @@ -72228,6 +74009,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.MaxInvocations = ptr.Int32(int32(i64)) } + case "MemoryUtilization": if value != nil { switch jtv := value.(type) { @@ -72261,6 +74043,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } } + case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -72273,6 +74056,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.ModelLatency = ptr.Int32(int32(i64)) } + case "ModelSetupTime": if value != nil { jtv, ok := value.(json.Number) @@ -72285,6 +74069,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat } sv.ModelSetupTime = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -72324,6 +74109,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.ClusterId = ptr.String(jtv) } + case "ClusterRoleArn": if value != nil { jtv, ok := value.(string) @@ -72332,6 +74118,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.ClusterRoleArn = ptr.String(jtv) } + case "Database": if value != nil { jtv, ok := value.(string) @@ -72340,6 +74127,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.Database = ptr.String(jtv) } + case "DbUser": if value != nil { jtv, ok := value.(string) @@ -72348,6 +74136,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.DbUser = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -72356,6 +74145,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.KmsKeyId = ptr.String(jtv) } + case "OutputCompression": if value != nil { jtv, ok := value.(string) @@ -72364,6 +74154,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputCompression = types.RedshiftResultCompressionType(jtv) } + case "OutputFormat": if value != nil { jtv, ok := value.(string) @@ -72372,6 +74163,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputFormat = types.RedshiftResultFormat(jtv) } + case "OutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -72380,6 +74172,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.OutputS3Uri = ptr.String(jtv) } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -72388,6 +74181,7 @@ func awsAwsjson11_deserializeDocumentRedshiftDatasetDefinition(v **types.Redshif } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -72427,6 +74221,7 @@ func awsAwsjson11_deserializeDocumentRegisterModelStepMetadata(v **types.Registe } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -72466,6 +74261,7 @@ func awsAwsjson11_deserializeDocumentRemoteDebugConfig(v **types.RemoteDebugConf } sv.EnableRemoteDebug = ptr.Bool(jtv) } + default: _, _ = key, value @@ -72505,6 +74301,7 @@ func awsAwsjson11_deserializeDocumentRenderingError(v **types.RenderingError, va } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -72513,6 +74310,7 @@ func awsAwsjson11_deserializeDocumentRenderingError(v **types.RenderingError, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -72586,6 +74384,7 @@ func awsAwsjson11_deserializeDocumentRepositoryAuthConfig(v **types.RepositoryAu } sv.RepositoryCredentialsProviderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -72621,10 +74420,12 @@ func awsAwsjson11_deserializeDocumentResolvedAttributes(v **types.ResolvedAttrib if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -72633,6 +74434,7 @@ func awsAwsjson11_deserializeDocumentResolvedAttributes(v **types.ResolvedAttrib } sv.ProblemType = types.ProblemType(jtv) } + default: _, _ = key, value @@ -72679,6 +74481,7 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -72687,6 +74490,7 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.Description = ptr.String(jtv) } + case "ResourceCatalogArn": if value != nil { jtv, ok := value.(string) @@ -72695,6 +74499,7 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.ResourceCatalogArn = ptr.String(jtv) } + case "ResourceCatalogName": if value != nil { jtv, ok := value.(string) @@ -72703,6 +74508,7 @@ func awsAwsjson11_deserializeDocumentResourceCatalog(v **types.ResourceCatalog, } sv.ResourceCatalogName = ptr.String(jtv) } + default: _, _ = key, value @@ -72780,10 +74586,12 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentInstanceGroups(&sv.InstanceGroups, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -72792,6 +74600,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.InstanceType = types.TrainingInstanceType(jtv) } + case "KeepAlivePeriodInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -72804,6 +74613,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.KeepAlivePeriodInSeconds = ptr.Int32(int32(i64)) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -72812,6 +74622,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.VolumeKmsKeyId = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -72824,6 +74635,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -72863,6 +74675,7 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -72902,6 +74715,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -72945,6 +74759,7 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxNumberOfTrainingJobs = ptr.Int32(int32(i64)) } + case "MaxParallelTrainingJobs": if value != nil { jtv, ok := value.(json.Number) @@ -72957,6 +74772,7 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxParallelTrainingJobs = ptr.Int32(int32(i64)) } + case "MaxRuntimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -72969,6 +74785,7 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -73008,6 +74825,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -73047,6 +74865,7 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.InstanceType = types.AppInstanceType(jtv) } + case "LifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -73055,6 +74874,7 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.LifecycleConfigArn = ptr.String(jtv) } + case "SageMakerImageArn": if value != nil { jtv, ok := value.(string) @@ -73063,6 +74883,7 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageArn = ptr.String(jtv) } + case "SageMakerImageVersionAlias": if value != nil { jtv, ok := value.(string) @@ -73071,6 +74892,7 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageVersionAlias = ptr.String(jtv) } + case "SageMakerImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -73079,6 +74901,7 @@ func awsAwsjson11_deserializeDocumentResourceSpec(v **types.ResourceSpec, value } sv.SageMakerImageVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -73158,6 +74981,7 @@ func awsAwsjson11_deserializeDocumentRetryStrategy(v **types.RetryStrategy, valu } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -73193,6 +75017,7 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.MaximumBatchSize, value); err != nil { return err } + case "MaximumExecutionTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -73205,10 +75030,12 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate } sv.MaximumExecutionTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "RollbackMaximumBatchSize": if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.RollbackMaximumBatchSize, value); err != nil { return err } + case "WaitIntervalInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -73221,6 +75048,7 @@ func awsAwsjson11_deserializeDocumentRollingUpdatePolicy(v **types.RollingUpdate } sv.WaitIntervalInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -73256,10 +75084,12 @@ func awsAwsjson11_deserializeDocumentRSessionAppSettings(v **types.RSessionAppSe if err := awsAwsjson11_deserializeDocumentCustomImages(&sv.CustomImages, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + default: _, _ = key, value @@ -73299,6 +75129,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(v **types.RStud } sv.AccessStatus = types.RStudioServerProAccessStatus(jtv) } + case "UserGroup": if value != nil { jtv, ok := value.(string) @@ -73307,6 +75138,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(v **types.RStud } sv.UserGroup = types.RStudioServerProUserGroup(jtv) } + default: _, _ = key, value @@ -73342,6 +75174,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + case "DomainExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -73350,6 +75183,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.DomainExecutionRoleArn = ptr.String(jtv) } + case "RStudioConnectUrl": if value != nil { jtv, ok := value.(string) @@ -73358,6 +75192,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.RStudioConnectUrl = ptr.String(jtv) } + case "RStudioPackageManagerUrl": if value != nil { jtv, ok := value.(string) @@ -73366,6 +75201,7 @@ func awsAwsjson11_deserializeDocumentRStudioServerProDomainSettings(v **types.RS } sv.RStudioPackageManagerUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -73437,10 +75273,12 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value if err := awsAwsjson11_deserializeDocumentAttributeNames(&sv.AttributeNames, value); err != nil { return err } + case "InstanceGroupNames": if err := awsAwsjson11_deserializeDocumentInstanceGroupNames(&sv.InstanceGroupNames, value); err != nil { return err } + case "S3DataDistributionType": if value != nil { jtv, ok := value.(string) @@ -73449,6 +75287,7 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3DataDistributionType = types.S3DataDistribution(jtv) } + case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -73457,6 +75296,7 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3DataType = types.S3DataType(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -73465,6 +75305,7 @@ func awsAwsjson11_deserializeDocumentS3DataSource(v **types.S3DataSource, value } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -73504,10 +75345,12 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.CompressionType = types.ModelCompressionType(jtv) } + case "HubAccessConfig": if err := awsAwsjson11_deserializeDocumentInferenceHubAccessConfig(&sv.HubAccessConfig, value); err != nil { return err } + case "ManifestS3Uri": if value != nil { jtv, ok := value.(string) @@ -73516,10 +75359,12 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.ManifestS3Uri = ptr.String(jtv) } + case "ModelAccessConfig": if err := awsAwsjson11_deserializeDocumentModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } + case "S3DataType": if value != nil { jtv, ok := value.(string) @@ -73528,6 +75373,7 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.S3DataType = types.S3ModelDataType(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -73536,6 +75382,7 @@ func awsAwsjson11_deserializeDocumentS3ModelDataSource(v **types.S3ModelDataSour } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -73571,6 +75418,7 @@ func awsAwsjson11_deserializeDocumentS3Presign(v **types.S3Presign, value interf if err := awsAwsjson11_deserializeDocumentIamPolicyConstraints(&sv.IamPolicyConstraints, value); err != nil { return err } + default: _, _ = key, value @@ -73610,6 +75458,7 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.KmsKeyId = ptr.String(jtv) } + case "ResolvedOutputS3Uri": if value != nil { jtv, ok := value.(string) @@ -73618,6 +75467,7 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.ResolvedOutputS3Uri = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -73626,6 +75476,7 @@ func awsAwsjson11_deserializeDocumentS3StorageConfig(v **types.S3StorageConfig, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -73777,6 +75628,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy } sv.InvocationsPerInstance = ptr.Int32(int32(i64)) } + case "ModelLatency": if value != nil { jtv, ok := value.(json.Number) @@ -73789,6 +75641,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy } sv.ModelLatency = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -73832,6 +75685,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol } sv.MaxInvocationsPerMinute = ptr.Int32(int32(i64)) } + case "MinInvocationsPerMinute": if value != nil { jtv, ok := value.(json.Number) @@ -73844,6 +75698,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol } sv.MinInvocationsPerMinute = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -73883,6 +75738,7 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DataAnalysisEndTime = ptr.String(jtv) } + case "DataAnalysisStartTime": if value != nil { jtv, ok := value.(string) @@ -73891,6 +75747,7 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.DataAnalysisStartTime = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -73899,6 +75756,7 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va } sv.ScheduleExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -73934,62 +75792,77 @@ func awsAwsjson11_deserializeDocumentSearchRecord(v **types.SearchRecord, value if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { return err } + case "Experiment": if err := awsAwsjson11_deserializeDocumentExperiment(&sv.Experiment, value); err != nil { return err } + case "FeatureGroup": if err := awsAwsjson11_deserializeDocumentFeatureGroup(&sv.FeatureGroup, value); err != nil { return err } + case "FeatureMetadata": if err := awsAwsjson11_deserializeDocumentFeatureMetadata(&sv.FeatureMetadata, value); err != nil { return err } + case "HyperParameterTuningJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobSearchEntity(&sv.HyperParameterTuningJob, value); err != nil { return err } + case "Model": if err := awsAwsjson11_deserializeDocumentModelDashboardModel(&sv.Model, value); err != nil { return err } + case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelCard(&sv.ModelCard, value); err != nil { return err } + case "ModelPackage": if err := awsAwsjson11_deserializeDocumentModelPackage(&sv.ModelPackage, value); err != nil { return err } + case "ModelPackageGroup": if err := awsAwsjson11_deserializeDocumentModelPackageGroup(&sv.ModelPackageGroup, value); err != nil { return err } + case "Pipeline": if err := awsAwsjson11_deserializeDocumentPipeline(&sv.Pipeline, value); err != nil { return err } + case "PipelineExecution": if err := awsAwsjson11_deserializeDocumentPipelineExecution(&sv.PipelineExecution, value); err != nil { return err } + case "Project": if err := awsAwsjson11_deserializeDocumentProject(&sv.Project, value); err != nil { return err } + case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJob(&sv.TrainingJob, value); err != nil { return err } + case "Trial": if err := awsAwsjson11_deserializeDocumentTrial(&sv.Trial, value); err != nil { return err } + case "TrialComponent": if err := awsAwsjson11_deserializeDocumentTrialComponent(&sv.TrialComponent, value); err != nil { return err } + default: _, _ = key, value @@ -74070,6 +75943,7 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -74085,6 +75959,7 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -74093,6 +75968,7 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } sv.Status = types.SecondaryStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -74101,6 +75977,7 @@ func awsAwsjson11_deserializeDocumentSecondaryStatusTransition(v **types.Seconda } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -74210,6 +76087,7 @@ func awsAwsjson11_deserializeDocumentSelectedStep(v **types.SelectedStep, value } sv.StepName = ptr.String(jtv) } + default: _, _ = key, value @@ -74279,6 +76157,7 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(v **types.Selectiv if err := awsAwsjson11_deserializeDocumentSelectedStepList(&sv.SelectedSteps, value); err != nil { return err } + case "SourcePipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -74287,6 +76166,7 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(v **types.Selectiv } sv.SourcePipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -74326,6 +76206,7 @@ func awsAwsjson11_deserializeDocumentSelectiveExecutionResult(v **types.Selectiv } sv.SourcePipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -74365,6 +76246,7 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(v * } sv.ProvisionedProductId = ptr.String(jtv) } + case "ProvisionedProductStatusMessage": if value != nil { jtv, ok := value.(string) @@ -74373,6 +76255,7 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(v * } sv.ProvisionedProductStatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -74412,6 +76295,7 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.PathId = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -74420,6 +76304,7 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.ProductId = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -74428,10 +76313,12 @@ func awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(v **types } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ProvisioningParameters": if err := awsAwsjson11_deserializeDocumentProvisioningParameters(&sv.ProvisioningParameters, value); err != nil { return err } + default: _, _ = key, value @@ -74467,6 +76354,7 @@ func awsAwsjson11_deserializeDocumentShadowModeConfig(v **types.ShadowModeConfig if err := awsAwsjson11_deserializeDocumentShadowModelVariantConfigList(&sv.ShadowModelVariants, value); err != nil { return err } + case "SourceModelVariantName": if value != nil { jtv, ok := value.(string) @@ -74475,6 +76363,7 @@ func awsAwsjson11_deserializeDocumentShadowModeConfig(v **types.ShadowModeConfig } sv.SourceModelVariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -74518,6 +76407,7 @@ func awsAwsjson11_deserializeDocumentShadowModelVariantConfig(v **types.ShadowMo } sv.SamplingPercentage = ptr.Int32(int32(i64)) } + case "ShadowModelVariantName": if value != nil { jtv, ok := value.(string) @@ -74526,6 +76416,7 @@ func awsAwsjson11_deserializeDocumentShadowModelVariantConfig(v **types.ShadowMo } sv.ShadowModelVariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -74599,6 +76490,7 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.NotebookOutputOption = types.NotebookOutputOption(jtv) } + case "S3KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -74607,6 +76499,7 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.S3KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -74615,6 +76508,7 @@ func awsAwsjson11_deserializeDocumentSharingSettings(v **types.SharingSettings, } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -74658,6 +76552,7 @@ func awsAwsjson11_deserializeDocumentShuffleConfig(v **types.ShuffleConfig, valu } sv.Seed = ptr.Int64(i64) } + default: _, _ = key, value @@ -74697,10 +76592,12 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithm(v **types.SourceAlgorithm, } sv.AlgorithmName = ptr.String(jtv) } + case "ModelDataSource": if err := awsAwsjson11_deserializeDocumentModelDataSource(&sv.ModelDataSource, value); err != nil { return err } + case "ModelDataUrl": if value != nil { jtv, ok := value.(string) @@ -74709,6 +76606,7 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithm(v **types.SourceAlgorithm, } sv.ModelDataUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -74778,6 +76676,7 @@ func awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(v **types.Sour if err := awsAwsjson11_deserializeDocumentSourceAlgorithmList(&sv.SourceAlgorithms, value); err != nil { return err } + default: _, _ = key, value @@ -74813,6 +76712,7 @@ func awsAwsjson11_deserializeDocumentSourceIpConfig(v **types.SourceIpConfig, va if err := awsAwsjson11_deserializeDocumentCidrs(&sv.Cidrs, value); err != nil { return err } + default: _, _ = key, value @@ -74848,6 +76748,7 @@ func awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(v **types.Space if err := awsAwsjson11_deserializeDocumentSpaceIdleSettings(&sv.IdleSettings, value); err != nil { return err } + default: _, _ = key, value @@ -74883,10 +76784,12 @@ func awsAwsjson11_deserializeDocumentSpaceCodeEditorAppSettings(v **types.SpaceC if err := awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + default: _, _ = key, value @@ -74933,6 +76836,7 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -74941,6 +76845,7 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.DomainId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -74956,10 +76861,12 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } } + case "OwnershipSettingsSummary": if err := awsAwsjson11_deserializeDocumentOwnershipSettingsSummary(&sv.OwnershipSettingsSummary, value); err != nil { return err } + case "SpaceDisplayName": if value != nil { jtv, ok := value.(string) @@ -74968,6 +76875,7 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.SpaceDisplayName = ptr.String(jtv) } + case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -74976,14 +76884,17 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.SpaceName = ptr.String(jtv) } + case "SpaceSettingsSummary": if err := awsAwsjson11_deserializeDocumentSpaceSettingsSummary(&sv.SpaceSettingsSummary, value); err != nil { return err } + case "SpaceSharingSettingsSummary": if err := awsAwsjson11_deserializeDocumentSpaceSharingSettingsSummary(&sv.SpaceSharingSettingsSummary, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -74992,6 +76903,7 @@ func awsAwsjson11_deserializeDocumentSpaceDetails(v **types.SpaceDetails, value } sv.Status = types.SpaceStatus(jtv) } + default: _, _ = key, value @@ -75035,6 +76947,7 @@ func awsAwsjson11_deserializeDocumentSpaceIdleSettings(v **types.SpaceIdleSettin } sv.IdleTimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -75070,14 +76983,17 @@ func awsAwsjson11_deserializeDocumentSpaceJupyterLabAppSettings(v **types.SpaceJ if err := awsAwsjson11_deserializeDocumentSpaceAppLifecycleManagement(&sv.AppLifecycleManagement, value); err != nil { return err } + case "CodeRepositories": if err := awsAwsjson11_deserializeDocumentCodeRepositories(&sv.CodeRepositories, value); err != nil { return err } + case "DefaultResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + default: _, _ = key, value @@ -75151,30 +77067,37 @@ func awsAwsjson11_deserializeDocumentSpaceSettings(v **types.SpaceSettings, valu } sv.AppType = types.AppType(jtv) } + case "CodeEditorAppSettings": if err := awsAwsjson11_deserializeDocumentSpaceCodeEditorAppSettings(&sv.CodeEditorAppSettings, value); err != nil { return err } + case "CustomFileSystems": if err := awsAwsjson11_deserializeDocumentCustomFileSystems(&sv.CustomFileSystems, value); err != nil { return err } + case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentSpaceJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } + case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } + case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } + case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } + default: _, _ = key, value @@ -75214,10 +77137,12 @@ func awsAwsjson11_deserializeDocumentSpaceSettingsSummary(v **types.SpaceSetting } sv.AppType = types.AppType(jtv) } + case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } + default: _, _ = key, value @@ -75257,6 +77182,7 @@ func awsAwsjson11_deserializeDocumentSpaceSharingSettings(v **types.SpaceSharing } sv.SharingType = types.SharingType(jtv) } + default: _, _ = key, value @@ -75296,6 +77222,7 @@ func awsAwsjson11_deserializeDocumentSpaceSharingSettingsSummary(v **types.Space } sv.SharingType = types.SharingType(jtv) } + default: _, _ = key, value @@ -75331,6 +77258,7 @@ func awsAwsjson11_deserializeDocumentSpaceStorageSettings(v **types.SpaceStorage if err := awsAwsjson11_deserializeDocumentEbsStorageSettings(&sv.EbsStorageSettings, value); err != nil { return err } + default: _, _ = key, value @@ -75374,6 +77302,7 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "NumberOfSteps": if value != nil { jtv, ok := value.(json.Number) @@ -75386,6 +77315,7 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.NumberOfSteps = ptr.Int32(int32(i64)) } + case "UsersPerStep": if value != nil { jtv, ok := value.(json.Number) @@ -75398,6 +77328,7 @@ func awsAwsjson11_deserializeDocumentStairs(v **types.Stairs, value interface{}) } sv.UsersPerStep = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -75441,6 +77372,7 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxPendingTimeInSeconds = ptr.Int32(int32(i64)) } + case "MaxRuntimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -75453,6 +77385,7 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } + case "MaxWaitTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -75465,6 +77398,7 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi } sv.MaxWaitTimeInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -75511,6 +77445,7 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -75526,6 +77461,7 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } } + case "StudioLifecycleConfigAppType": if value != nil { jtv, ok := value.(string) @@ -75534,6 +77470,7 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigAppType = types.StudioLifecycleConfigAppType(jtv) } + case "StudioLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -75542,6 +77479,7 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigArn = ptr.String(jtv) } + case "StudioLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -75550,6 +77488,7 @@ func awsAwsjson11_deserializeDocumentStudioLifecycleConfigDetails(v **types.Stud } sv.StudioLifecycleConfigName = ptr.String(jtv) } + default: _, _ = key, value @@ -75619,18 +77558,22 @@ func awsAwsjson11_deserializeDocumentStudioWebPortalSettings(v **types.StudioWeb if err := awsAwsjson11_deserializeDocumentHiddenAppTypesList(&sv.HiddenAppTypes, value); err != nil { return err } + case "HiddenInstanceTypes": if err := awsAwsjson11_deserializeDocumentHiddenInstanceTypesList(&sv.HiddenInstanceTypes, value); err != nil { return err } + case "HiddenMlTools": if err := awsAwsjson11_deserializeDocumentHiddenMlToolsList(&sv.HiddenMlTools, value); err != nil { return err } + case "HiddenSageMakerImageVersionAliases": if err := awsAwsjson11_deserializeDocumentHiddenSageMakerImageVersionAliasesList(&sv.HiddenSageMakerImageVersionAliases, value); err != nil { return err } + default: _, _ = key, value @@ -75706,6 +77649,7 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.ListingId = ptr.String(jtv) } + case "MarketplaceDescription": if value != nil { jtv, ok := value.(string) @@ -75714,6 +77658,7 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.MarketplaceDescription = ptr.String(jtv) } + case "MarketplaceTitle": if value != nil { jtv, ok := value.(string) @@ -75722,6 +77667,7 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.MarketplaceTitle = ptr.String(jtv) } + case "SellerName": if value != nil { jtv, ok := value.(string) @@ -75730,6 +77676,7 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.SellerName = ptr.String(jtv) } + case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -75738,6 +77685,7 @@ func awsAwsjson11_deserializeDocumentSubscribedWorkteam(v **types.SubscribedWork } sv.WorkteamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -75807,10 +77755,12 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig if err := awsAwsjson11_deserializeDocumentCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -75819,6 +77769,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } + case "GenerateCandidateDefinitionsOnly": if value != nil { jtv, ok := value.(bool) @@ -75827,6 +77778,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -75835,6 +77787,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.Mode = types.AutoMLMode(jtv) } + case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -75843,6 +77796,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.ProblemType = types.ProblemType(jtv) } + case "SampleWeightAttributeName": if value != nil { jtv, ok := value.(string) @@ -75851,6 +77805,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.SampleWeightAttributeName = ptr.String(jtv) } + case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -75859,6 +77814,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig } sv.TargetAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -75898,6 +77854,7 @@ func awsAwsjson11_deserializeDocumentTabularResolvedAttributes(v **types.Tabular } sv.ProblemType = types.ProblemType(jtv) } + default: _, _ = key, value @@ -75937,6 +77894,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -75945,6 +77903,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -76018,6 +77977,7 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Accelerator = types.TargetPlatformAccelerator(jtv) } + case "Arch": if value != nil { jtv, ok := value.(string) @@ -76026,6 +77986,7 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Arch = types.TargetPlatformArch(jtv) } + case "Os": if value != nil { jtv, ok := value.(string) @@ -76034,6 +77995,7 @@ func awsAwsjson11_deserializeDocumentTargetPlatform(v **types.TargetPlatform, va } sv.Os = types.TargetPlatformOs(jtv) } + default: _, _ = key, value @@ -76069,6 +78031,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v if err := awsAwsjson11_deserializeDocumentMetricSpecification(&sv.MetricSpecification, value); err != nil { return err } + case "TargetValue": if value != nil { switch jtv := value.(type) { @@ -76102,6 +78065,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v } } + default: _, _ = key, value @@ -76173,6 +78137,7 @@ func awsAwsjson11_deserializeDocumentTensorBoardAppSettings(v **types.TensorBoar if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.DefaultResourceSpec, value); err != nil { return err } + default: _, _ = key, value @@ -76212,6 +78177,7 @@ func awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(v **types.TensorBoa } sv.LocalPath = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -76220,6 +78186,7 @@ func awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(v **types.TensorBoa } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -76255,6 +78222,7 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "ContentColumn": if value != nil { jtv, ok := value.(string) @@ -76263,6 +78231,7 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC } sv.ContentColumn = ptr.String(jtv) } + case "TargetLabelColumn": if value != nil { jtv, ok := value.(string) @@ -76271,6 +78240,7 @@ func awsAwsjson11_deserializeDocumentTextClassificationJobConfig(v **types.TextC } sv.TargetLabelColumn = ptr.String(jtv) } + default: _, _ = key, value @@ -76346,18 +78316,22 @@ func awsAwsjson11_deserializeDocumentTextGenerationJobConfig(v **types.TextGener } sv.BaseModelName = ptr.String(jtv) } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "ModelAccessConfig": if err := awsAwsjson11_deserializeDocumentModelAccessConfig(&sv.ModelAccessConfig, value); err != nil { return err } + case "TextGenerationHyperParameters": if err := awsAwsjson11_deserializeDocumentTextGenerationHyperParameters(&sv.TextGenerationHyperParameters, value); err != nil { return err } + default: _, _ = key, value @@ -76397,6 +78371,7 @@ func awsAwsjson11_deserializeDocumentTextGenerationResolvedAttributes(v **types. } sv.BaseModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -76440,6 +78415,7 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ProvisionedReadCapacityUnits = ptr.Int32(int32(i64)) } + case "ProvisionedWriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -76452,6 +78428,7 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ProvisionedWriteCapacityUnits = ptr.Int32(int32(i64)) } + case "ThroughputMode": if value != nil { jtv, ok := value.(string) @@ -76460,6 +78437,7 @@ func awsAwsjson11_deserializeDocumentThroughputConfigDescription(v **types.Throu } sv.ThroughputMode = types.ThroughputMode(jtv) } + default: _, _ = key, value @@ -76495,6 +78473,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig if err := awsAwsjson11_deserializeDocumentGroupingAttributeNames(&sv.GroupingAttributeNames, value); err != nil { return err } + case "ItemIdentifierAttributeName": if value != nil { jtv, ok := value.(string) @@ -76503,6 +78482,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.ItemIdentifierAttributeName = ptr.String(jtv) } + case "TargetAttributeName": if value != nil { jtv, ok := value.(string) @@ -76511,6 +78491,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.TargetAttributeName = ptr.String(jtv) } + case "TimestampAttributeName": if value != nil { jtv, ok := value.(string) @@ -76519,6 +78500,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesConfig(v **types.TimeSeriesConfig } sv.TimestampAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -76554,10 +78536,12 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti if err := awsAwsjson11_deserializeDocumentCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { return err } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err } + case "FeatureSpecificationS3Uri": if value != nil { jtv, ok := value.(string) @@ -76566,6 +78550,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.FeatureSpecificationS3Uri = ptr.String(jtv) } + case "ForecastFrequency": if value != nil { jtv, ok := value.(string) @@ -76574,6 +78559,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.ForecastFrequency = ptr.String(jtv) } + case "ForecastHorizon": if value != nil { jtv, ok := value.(json.Number) @@ -76586,22 +78572,27 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingJobConfig(v **types.Ti } sv.ForecastHorizon = ptr.Int32(int32(i64)) } + case "ForecastQuantiles": if err := awsAwsjson11_deserializeDocumentForecastQuantiles(&sv.ForecastQuantiles, value); err != nil { return err } + case "HolidayConfig": if err := awsAwsjson11_deserializeDocumentHolidayConfig(&sv.HolidayConfig, value); err != nil { return err } + case "TimeSeriesConfig": if err := awsAwsjson11_deserializeDocumentTimeSeriesConfig(&sv.TimeSeriesConfig, value); err != nil { return err } + case "Transformations": if err := awsAwsjson11_deserializeDocumentTimeSeriesTransformations(&sv.Transformations, value); err != nil { return err } + default: _, _ = key, value @@ -76641,6 +78632,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(v **types.Tim } sv.AmazonForecastRoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -76649,6 +78641,7 @@ func awsAwsjson11_deserializeDocumentTimeSeriesForecastingSettings(v **types.Tim } sv.Status = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -76684,10 +78677,12 @@ func awsAwsjson11_deserializeDocumentTimeSeriesTransformations(v **types.TimeSer if err := awsAwsjson11_deserializeDocumentAggregationTransformations(&sv.Aggregation, value); err != nil { return err } + case "Filling": if err := awsAwsjson11_deserializeDocumentFillingTransformations(&sv.Filling, value); err != nil { return err } + default: _, _ = key, value @@ -76734,6 +78729,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } } + case "IsActive": if value != nil { jtv, ok := value.(string) @@ -76742,6 +78738,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.IsActive = types.IsTrackingServerActive(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -76757,6 +78754,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } } + case "MlflowVersion": if value != nil { jtv, ok := value.(string) @@ -76765,6 +78763,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.MlflowVersion = ptr.String(jtv) } + case "TrackingServerArn": if value != nil { jtv, ok := value.(string) @@ -76773,6 +78772,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerArn = ptr.String(jtv) } + case "TrackingServerName": if value != nil { jtv, ok := value.(string) @@ -76781,6 +78781,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerName = ptr.String(jtv) } + case "TrackingServerStatus": if value != nil { jtv, ok := value.(string) @@ -76789,6 +78790,7 @@ func awsAwsjson11_deserializeDocumentTrackingServerSummary(v **types.TrackingSer } sv.TrackingServerStatus = types.TrackingServerStatus(jtv) } + default: _, _ = key, value @@ -76858,10 +78860,12 @@ func awsAwsjson11_deserializeDocumentTrafficPattern(v **types.TrafficPattern, va if err := awsAwsjson11_deserializeDocumentPhases(&sv.Phases, value); err != nil { return err } + case "Stairs": if err := awsAwsjson11_deserializeDocumentStairs(&sv.Stairs, value); err != nil { return err } + case "TrafficType": if value != nil { jtv, ok := value.(string) @@ -76870,6 +78874,7 @@ func awsAwsjson11_deserializeDocumentTrafficPattern(v **types.TrafficPattern, va } sv.TrafficType = types.TrafficType(jtv) } + default: _, _ = key, value @@ -76905,10 +78910,12 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.CanarySize, value); err != nil { return err } + case "LinearStepSize": if err := awsAwsjson11_deserializeDocumentCapacitySize(&sv.LinearStepSize, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -76917,6 +78924,7 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.Type = types.TrafficRoutingConfigType(jtv) } + case "WaitIntervalInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -76929,6 +78937,7 @@ func awsAwsjson11_deserializeDocumentTrafficRoutingConfig(v **types.TrafficRouti } sv.WaitIntervalInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -77076,10 +79085,12 @@ func awsAwsjson11_deserializeDocumentTrainingImageConfig(v **types.TrainingImage } sv.TrainingRepositoryAccessMode = types.TrainingRepositoryAccessMode(jtv) } + case "TrainingRepositoryAuthConfig": if err := awsAwsjson11_deserializeDocumentTrainingRepositoryAuthConfig(&sv.TrainingRepositoryAuthConfig, value); err != nil { return err } + default: _, _ = key, value @@ -77151,6 +79162,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in if err := awsAwsjson11_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } + case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -77159,6 +79171,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.AutoMLJobArn = ptr.String(jtv) } + case "BillableTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -77171,10 +79184,12 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.BillableTimeInSeconds = ptr.Int32(int32(i64)) } + case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -77190,18 +79205,22 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } + case "DebugHookConfig": if err := awsAwsjson11_deserializeDocumentDebugHookConfig(&sv.DebugHookConfig, value); err != nil { return err } + case "DebugRuleConfigurations": if err := awsAwsjson11_deserializeDocumentDebugRuleConfigurations(&sv.DebugRuleConfigurations, value); err != nil { return err } + case "DebugRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatuses(&sv.DebugRuleEvaluationStatuses, value); err != nil { return err } + case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -77210,6 +79229,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -77218,6 +79238,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -77226,14 +79247,17 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentTrainingEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -77242,18 +79266,22 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.FailureReason = ptr.String(jtv) } + case "FinalMetricDataList": if err := awsAwsjson11_deserializeDocumentFinalMetricDataList(&sv.FinalMetricDataList, value); err != nil { return err } + case "HyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -77262,6 +79290,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.LabelingJobArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -77277,26 +79306,32 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } + case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "ProfilerConfig": if err := awsAwsjson11_deserializeDocumentProfilerConfig(&sv.ProfilerConfig, value); err != nil { return err } + case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -77305,6 +79340,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.RoleArn = ptr.String(jtv) } + case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -77313,22 +79349,27 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.SecondaryStatus = types.SecondaryStatus(jtv) } + case "SecondaryStatusTransitions": if err := awsAwsjson11_deserializeDocumentSecondaryStatusTransitions(&sv.SecondaryStatusTransitions, value); err != nil { return err } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TensorBoardOutputConfig": if err := awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(&sv.TensorBoardOutputConfig, value); err != nil { return err } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -77344,6 +79385,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -77352,6 +79394,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobArn = ptr.String(jtv) } + case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -77360,6 +79403,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobName = ptr.String(jtv) } + case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -77368,6 +79412,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } + case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -77383,6 +79428,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } } + case "TrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -77395,6 +79441,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TrainingTimeInSeconds = ptr.Int32(int32(i64)) } + case "TuningJobArn": if value != nil { jtv, ok := value.(string) @@ -77403,10 +79450,12 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in } sv.TuningJobArn = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -77442,22 +79491,27 @@ func awsAwsjson11_deserializeDocumentTrainingJobDefinition(v **types.TrainingJob if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "TrainingInputMode": if value != nil { jtv, ok := value.(string) @@ -77466,6 +79520,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobDefinition(v **types.TrainingJob } sv.TrainingInputMode = types.TrainingInputMode(jtv) } + default: _, _ = key, value @@ -77509,6 +79564,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.Completed = ptr.Int32(int32(i64)) } + case "InProgress": if value != nil { jtv, ok := value.(json.Number) @@ -77521,6 +79577,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.InProgress = ptr.Int32(int32(i64)) } + case "NonRetryableError": if value != nil { jtv, ok := value.(json.Number) @@ -77533,6 +79590,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.NonRetryableError = ptr.Int32(int32(i64)) } + case "RetryableError": if value != nil { jtv, ok := value.(json.Number) @@ -77545,6 +79603,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.RetryableError = ptr.Int32(int32(i64)) } + case "Stopped": if value != nil { jtv, ok := value.(json.Number) @@ -77557,6 +79616,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin } sv.Stopped = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -77596,6 +79656,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStepMetadata(v **types.TrainingJ } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -77676,6 +79737,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -77691,6 +79753,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } + case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -77699,6 +79762,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.SecondaryStatus = types.SecondaryStatus(jtv) } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -77714,6 +79778,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -77722,6 +79787,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobArn = ptr.String(jtv) } + case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -77730,6 +79796,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobName = ptr.String(jtv) } + case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -77738,10 +79805,12 @@ func awsAwsjson11_deserializeDocumentTrainingJobSummary(v **types.TrainingJobSum } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } + case "WarmPoolStatus": if err := awsAwsjson11_deserializeDocumentWarmPoolStatus(&sv.WarmPoolStatus, value); err != nil { return err } + default: _, _ = key, value @@ -77781,6 +79850,7 @@ func awsAwsjson11_deserializeDocumentTrainingRepositoryAuthConfig(v **types.Trai } sv.TrainingRepositoryCredentialsProviderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -77816,22 +79886,27 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe if err := awsAwsjson11_deserializeDocumentAdditionalS3DataSource(&sv.AdditionalS3DataSource, value); err != nil { return err } + case "MetricDefinitions": if err := awsAwsjson11_deserializeDocumentMetricDefinitionList(&sv.MetricDefinitions, value); err != nil { return err } + case "SupportedHyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameterSpecifications(&sv.SupportedHyperParameters, value); err != nil { return err } + case "SupportedTrainingInstanceTypes": if err := awsAwsjson11_deserializeDocumentTrainingInstanceTypes(&sv.SupportedTrainingInstanceTypes, value); err != nil { return err } + case "SupportedTuningJobObjectiveMetrics": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobObjectives(&sv.SupportedTuningJobObjectiveMetrics, value); err != nil { return err } + case "SupportsDistributedTraining": if value != nil { jtv, ok := value.(bool) @@ -77840,10 +79915,12 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.SupportsDistributedTraining = ptr.Bool(jtv) } + case "TrainingChannels": if err := awsAwsjson11_deserializeDocumentChannelSpecifications(&sv.TrainingChannels, value); err != nil { return err } + case "TrainingImage": if value != nil { jtv, ok := value.(string) @@ -77852,6 +79929,7 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.TrainingImage = ptr.String(jtv) } + case "TrainingImageDigest": if value != nil { jtv, ok := value.(string) @@ -77860,6 +79938,7 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe } sv.TrainingImageDigest = ptr.String(jtv) } + default: _, _ = key, value @@ -77895,6 +79974,7 @@ func awsAwsjson11_deserializeDocumentTransformDataSource(v **types.TransformData if err := awsAwsjson11_deserializeDocumentTransformS3DataSource(&sv.S3DataSource, value); err != nil { return err } + default: _, _ = key, value @@ -77970,6 +80050,7 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.CompressionType = types.CompressionType(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -77978,10 +80059,12 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.ContentType = ptr.String(jtv) } + case "DataSource": if err := awsAwsjson11_deserializeDocumentTransformDataSource(&sv.DataSource, value); err != nil { return err } + case "SplitType": if value != nil { jtv, ok := value.(string) @@ -77990,6 +80073,7 @@ func awsAwsjson11_deserializeDocumentTransformInput(v **types.TransformInput, va } sv.SplitType = types.SplitType(jtv) } + default: _, _ = key, value @@ -78065,6 +80149,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.AutoMLJobArn = ptr.String(jtv) } + case "BatchStrategy": if value != nil { jtv, ok := value.(string) @@ -78073,6 +80158,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.BatchStrategy = types.BatchStrategy(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -78088,22 +80174,27 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } + case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } + case "DataProcessing": if err := awsAwsjson11_deserializeDocumentDataProcessing(&sv.DataProcessing, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -78112,6 +80203,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.FailureReason = ptr.String(jtv) } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -78120,6 +80212,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.LabelingJobArn = ptr.String(jtv) } + case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -78132,6 +80225,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } + case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -78144,10 +80238,12 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } + case "ModelClientConfig": if err := awsAwsjson11_deserializeDocumentModelClientConfig(&sv.ModelClientConfig, value); err != nil { return err } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -78156,10 +80252,12 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.ModelName = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -78175,10 +80273,12 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } + case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } + case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -78187,6 +80287,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobArn = ptr.String(jtv) } + case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -78195,6 +80296,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobName = ptr.String(jtv) } + case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -78203,14 +80305,17 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } sv.TransformJobStatus = types.TransformJobStatus(jtv) } + case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } + case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } + case "TransformStartTime": if value != nil { switch jtv := value.(type) { @@ -78226,6 +80331,7 @@ func awsAwsjson11_deserializeDocumentTransformJob(v **types.TransformJob, value } } + default: _, _ = key, value @@ -78265,10 +80371,12 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.BatchStrategy = types.BatchStrategy(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -78281,6 +80389,7 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } + case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -78293,18 +80402,22 @@ func awsAwsjson11_deserializeDocumentTransformJobDefinition(v **types.TransformJ } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } + case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } + case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } + case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } + default: _, _ = key, value @@ -78344,6 +80457,7 @@ func awsAwsjson11_deserializeDocumentTransformJobStepMetadata(v **types.Transfor } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -78424,6 +80538,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -78432,6 +80547,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -78447,6 +80563,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } + case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -78462,6 +80579,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } } + case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -78470,6 +80588,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobArn = ptr.String(jtv) } + case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -78478,6 +80597,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobName = ptr.String(jtv) } + case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -78486,6 +80606,7 @@ func awsAwsjson11_deserializeDocumentTransformJobSummary(v **types.TransformJobS } sv.TransformJobStatus = types.TransformJobStatus(jtv) } + default: _, _ = key, value @@ -78525,6 +80646,7 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.Accept = ptr.String(jtv) } + case "AssembleWith": if value != nil { jtv, ok := value.(string) @@ -78533,6 +80655,7 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.AssembleWith = types.AssemblyType(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -78541,6 +80664,7 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.KmsKeyId = ptr.String(jtv) } + case "S3OutputPath": if value != nil { jtv, ok := value.(string) @@ -78549,6 +80673,7 @@ func awsAwsjson11_deserializeDocumentTransformOutput(v **types.TransformOutput, } sv.S3OutputPath = ptr.String(jtv) } + default: _, _ = key, value @@ -78592,6 +80717,7 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -78600,6 +80726,7 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.InstanceType = types.TransformInstanceType(jtv) } + case "VolumeKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -78608,6 +80735,7 @@ func awsAwsjson11_deserializeDocumentTransformResources(v **types.TransformResou } sv.VolumeKmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -78647,6 +80775,7 @@ func awsAwsjson11_deserializeDocumentTransformS3DataSource(v **types.TransformS3 } sv.S3DataType = types.S3DataType(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -78655,6 +80784,7 @@ func awsAwsjson11_deserializeDocumentTransformS3DataSource(v **types.TransformS3 } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -78690,6 +80820,7 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -78705,6 +80836,7 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -78713,6 +80845,7 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -78721,10 +80854,12 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.ExperimentName = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -78740,18 +80875,22 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.Source, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -78760,10 +80899,12 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.TrialArn = ptr.String(jtv) } + case "TrialComponentSummaries": if err := awsAwsjson11_deserializeDocumentTrialComponentSimpleSummaries(&sv.TrialComponentSummaries, value); err != nil { return err } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -78772,6 +80913,7 @@ func awsAwsjson11_deserializeDocumentTrial(v **types.Trial, value interface{}) e } sv.TrialName = ptr.String(jtv) } + default: _, _ = key, value @@ -78807,6 +80949,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -78822,6 +80965,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -78830,6 +80974,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.DisplayName = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -78845,14 +80990,17 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } + case "InputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.InputArtifacts, value); err != nil { return err } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -78868,6 +81016,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -78876,26 +81025,32 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.LineageGroupArn = ptr.String(jtv) } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Metrics": if err := awsAwsjson11_deserializeDocumentTrialComponentMetricSummaries(&sv.Metrics, value); err != nil { return err } + case "OutputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.OutputArtifacts, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentTrialComponentParameters(&sv.Parameters, value); err != nil { return err } + case "Parents": if err := awsAwsjson11_deserializeDocumentParents(&sv.Parents, value); err != nil { return err } + case "RunName": if value != nil { jtv, ok := value.(string) @@ -78904,14 +81059,17 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.RunName = ptr.String(jtv) } + case "Source": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.Source, value); err != nil { return err } + case "SourceDetail": if err := awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(&sv.SourceDetail, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -78927,14 +81085,17 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } } + case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -78943,6 +81104,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.TrialComponentArn = ptr.String(jtv) } + case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -78951,6 +81113,7 @@ func awsAwsjson11_deserializeDocumentTrialComponent(v **types.TrialComponent, va } sv.TrialComponentName = ptr.String(jtv) } + default: _, _ = key, value @@ -78990,6 +81153,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentArtifact(v **types.TrialCompo } sv.MediaType = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -78998,6 +81162,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentArtifact(v **types.TrialCompo } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -79131,6 +81296,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -79143,6 +81309,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.Count = ptr.Int32(int32(i64)) } + case "Last": if value != nil { switch jtv := value.(type) { @@ -79176,6 +81343,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + case "Max": if value != nil { switch jtv := value.(type) { @@ -79209,6 +81377,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -79217,6 +81386,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.MetricName = ptr.String(jtv) } + case "Min": if value != nil { switch jtv := value.(type) { @@ -79250,6 +81420,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -79258,6 +81429,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } sv.SourceArn = ptr.String(jtv) } + case "StdDev": if value != nil { switch jtv := value.(type) { @@ -79291,6 +81463,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -79306,6 +81479,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentMetricSummary(v **types.Trial } } + default: _, _ = key, value @@ -79488,6 +81662,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -79503,6 +81678,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -79511,6 +81687,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } sv.TrialComponentArn = ptr.String(jtv) } + case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -79519,10 +81696,12 @@ func awsAwsjson11_deserializeDocumentTrialComponentSimpleSummary(v **types.Trial } sv.TrialComponentName = ptr.String(jtv) } + case "TrialComponentSource": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.TrialComponentSource, value); err != nil { return err } + default: _, _ = key, value @@ -79562,6 +81741,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSource(v **types.TrialCompone } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -79570,6 +81750,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSource(v **types.TrialCompone } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -79605,6 +81786,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(v **types.TrialC if err := awsAwsjson11_deserializeDocumentProcessingJob(&sv.ProcessingJob, value); err != nil { return err } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -79613,14 +81795,17 @@ func awsAwsjson11_deserializeDocumentTrialComponentSourceDetail(v **types.TrialC } sv.SourceArn = ptr.String(jtv) } + case "TrainingJob": if err := awsAwsjson11_deserializeDocumentTrainingJob(&sv.TrainingJob, value); err != nil { return err } + case "TransformJob": if err := awsAwsjson11_deserializeDocumentTransformJob(&sv.TransformJob, value); err != nil { return err } + default: _, _ = key, value @@ -79694,6 +81879,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentStatus(v **types.TrialCompone } sv.Message = ptr.String(jtv) } + case "PrimaryStatus": if value != nil { jtv, ok := value.(string) @@ -79702,6 +81888,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentStatus(v **types.TrialCompone } sv.PrimaryStatus = types.TrialComponentPrimaryStatus(jtv) } + default: _, _ = key, value @@ -79771,6 +81958,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -79786,6 +81974,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -79794,6 +81983,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.DisplayName = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -79809,10 +81999,12 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -79828,6 +82020,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -79843,10 +82036,12 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } } + case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -79855,6 +82050,7 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.TrialComponentArn = ptr.String(jtv) } + case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -79863,10 +82059,12 @@ func awsAwsjson11_deserializeDocumentTrialComponentSummary(v **types.TrialCompon } sv.TrialComponentName = ptr.String(jtv) } + case "TrialComponentSource": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.TrialComponentSource, value); err != nil { return err } + default: _, _ = key, value @@ -79906,6 +82104,7 @@ func awsAwsjson11_deserializeDocumentTrialSource(v **types.TrialSource, value in } sv.SourceArn = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -79914,6 +82113,7 @@ func awsAwsjson11_deserializeDocumentTrialSource(v **types.TrialSource, value in } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -79994,6 +82194,7 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -80002,6 +82203,7 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.DisplayName = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -80017,6 +82219,7 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } } + case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -80025,6 +82228,7 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.TrialArn = ptr.String(jtv) } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -80033,10 +82237,12 @@ func awsAwsjson11_deserializeDocumentTrialSummary(v **types.TrialSummary, value } sv.TrialName = ptr.String(jtv) } + case "TrialSource": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.TrialSource, value); err != nil { return err } + default: _, _ = key, value @@ -80076,6 +82282,7 @@ func awsAwsjson11_deserializeDocumentTtlDuration(v **types.TtlDuration, value in } sv.Unit = types.TtlDurationUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -80088,6 +82295,7 @@ func awsAwsjson11_deserializeDocumentTtlDuration(v **types.TtlDuration, value in } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -80123,10 +82331,12 @@ func awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(v **types.Tunin if err := awsAwsjson11_deserializeDocumentBestObjectiveNotImproving(&sv.BestObjectiveNotImproving, value); err != nil { return err } + case "ConvergenceDetected": if err := awsAwsjson11_deserializeDocumentConvergenceDetected(&sv.ConvergenceDetected, value); err != nil { return err } + case "TargetObjectiveMetricValue": if value != nil { switch jtv := value.(type) { @@ -80160,6 +82370,7 @@ func awsAwsjson11_deserializeDocumentTuningJobCompletionCriteria(v **types.Tunin } } + default: _, _ = key, value @@ -80199,6 +82410,7 @@ func awsAwsjson11_deserializeDocumentTuningJobStepMetaData(v **types.TuningJobSt } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -80238,6 +82450,7 @@ func awsAwsjson11_deserializeDocumentUiConfig(v **types.UiConfig, value interfac } sv.HumanTaskUiArn = ptr.String(jtv) } + case "UiTemplateS3Uri": if value != nil { jtv, ok := value.(string) @@ -80246,6 +82459,7 @@ func awsAwsjson11_deserializeDocumentUiConfig(v **types.UiConfig, value interfac } sv.UiTemplateS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -80285,6 +82499,7 @@ func awsAwsjson11_deserializeDocumentUiTemplateInfo(v **types.UiTemplateInfo, va } sv.ContentSha256 = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -80293,6 +82508,7 @@ func awsAwsjson11_deserializeDocumentUiTemplateInfo(v **types.UiTemplateInfo, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -80336,6 +82552,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.Cents = ptr.Int32(int32(i64)) } + case "Dollars": if value != nil { jtv, ok := value.(json.Number) @@ -80348,6 +82565,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.Dollars = ptr.Int32(int32(i64)) } + case "TenthFractionsOfACent": if value != nil { jtv, ok := value.(json.Number) @@ -80360,6 +82578,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error } sv.TenthFractionsOfACent = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -80399,10 +82618,12 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.DomainId = ptr.String(jtv) } + case "IamIdentity": if err := awsAwsjson11_deserializeDocumentIamIdentity(&sv.IamIdentity, value); err != nil { return err } + case "UserProfileArn": if value != nil { jtv, ok := value.(string) @@ -80411,6 +82632,7 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.UserProfileArn = ptr.String(jtv) } + case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -80419,6 +82641,7 @@ func awsAwsjson11_deserializeDocumentUserContext(v **types.UserContext, value in } sv.UserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -80465,6 +82688,7 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -80473,6 +82697,7 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.DomainId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -80488,6 +82713,7 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -80496,6 +82722,7 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.Status = types.UserProfileStatus(jtv) } + case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -80504,6 +82731,7 @@ func awsAwsjson11_deserializeDocumentUserProfileDetails(v **types.UserProfileDet } sv.UserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -80577,22 +82805,27 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.AutoMountHomeEFS = types.AutoMountHomeEFS(jtv) } + case "CanvasAppSettings": if err := awsAwsjson11_deserializeDocumentCanvasAppSettings(&sv.CanvasAppSettings, value); err != nil { return err } + case "CodeEditorAppSettings": if err := awsAwsjson11_deserializeDocumentCodeEditorAppSettings(&sv.CodeEditorAppSettings, value); err != nil { return err } + case "CustomFileSystemConfigs": if err := awsAwsjson11_deserializeDocumentCustomFileSystemConfigs(&sv.CustomFileSystemConfigs, value); err != nil { return err } + case "CustomPosixUserConfig": if err := awsAwsjson11_deserializeDocumentCustomPosixUserConfig(&sv.CustomPosixUserConfig, value); err != nil { return err } + case "DefaultLandingUri": if value != nil { jtv, ok := value.(string) @@ -80601,6 +82834,7 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DefaultLandingUri = ptr.String(jtv) } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -80609,38 +82843,47 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.ExecutionRole = ptr.String(jtv) } + case "JupyterLabAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterLabAppSettings(&sv.JupyterLabAppSettings, value); err != nil { return err } + case "JupyterServerAppSettings": if err := awsAwsjson11_deserializeDocumentJupyterServerAppSettings(&sv.JupyterServerAppSettings, value); err != nil { return err } + case "KernelGatewayAppSettings": if err := awsAwsjson11_deserializeDocumentKernelGatewayAppSettings(&sv.KernelGatewayAppSettings, value); err != nil { return err } + case "RSessionAppSettings": if err := awsAwsjson11_deserializeDocumentRSessionAppSettings(&sv.RSessionAppSettings, value); err != nil { return err } + case "RStudioServerProAppSettings": if err := awsAwsjson11_deserializeDocumentRStudioServerProAppSettings(&sv.RStudioServerProAppSettings, value); err != nil { return err } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } + case "SharingSettings": if err := awsAwsjson11_deserializeDocumentSharingSettings(&sv.SharingSettings, value); err != nil { return err } + case "SpaceStorageSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceStorageSettings(&sv.SpaceStorageSettings, value); err != nil { return err } + case "StudioWebPortal": if value != nil { jtv, ok := value.(string) @@ -80649,14 +82892,17 @@ func awsAwsjson11_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.StudioWebPortal = types.StudioWebPortal(jtv) } + case "StudioWebPortalSettings": if err := awsAwsjson11_deserializeDocumentStudioWebPortalSettings(&sv.StudioWebPortalSettings, value); err != nil { return err } + case "TensorBoardAppSettings": if err := awsAwsjson11_deserializeDocumentTensorBoardAppSettings(&sv.TensorBoardAppSettings, value); err != nil { return err } + default: _, _ = key, value @@ -80700,6 +82946,7 @@ func awsAwsjson11_deserializeDocumentVectorConfig(v **types.VectorConfig, value } sv.Dimension = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -80775,6 +83022,7 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.Arn = ptr.String(jtv) } + case "LineageType": if value != nil { jtv, ok := value.(string) @@ -80783,6 +83031,7 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.LineageType = types.LineageType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -80791,6 +83040,7 @@ func awsAwsjson11_deserializeDocumentVertex(v **types.Vertex, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -80860,10 +83110,12 @@ func awsAwsjson11_deserializeDocumentVpcConfig(v **types.VpcConfig, value interf if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -80979,6 +83231,7 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.ResourceRetainedBillableTimeInSeconds = ptr.Int32(int32(i64)) } + case "ReusedByJob": if value != nil { jtv, ok := value.(string) @@ -80987,6 +83240,7 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.ReusedByJob = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -80995,6 +83249,7 @@ func awsAwsjson11_deserializeDocumentWarmPoolStatus(v **types.WarmPoolStatus, va } sv.Status = types.WarmPoolResourceStatus(jtv) } + default: _, _ = key, value @@ -81030,6 +83285,7 @@ func awsAwsjson11_deserializeDocumentWorkerAccessConfiguration(v **types.WorkerA if err := awsAwsjson11_deserializeDocumentS3Presign(&sv.S3Presign, value); err != nil { return err } + default: _, _ = key, value @@ -81065,6 +83321,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf if err := awsAwsjson11_deserializeDocumentCognitoConfig(&sv.CognitoConfig, value); err != nil { return err } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -81080,6 +83337,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -81088,6 +83346,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.FailureReason = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -81103,14 +83362,17 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } } + case "OidcConfig": if err := awsAwsjson11_deserializeDocumentOidcConfigForResponse(&sv.OidcConfig, value); err != nil { return err } + case "SourceIpConfig": if err := awsAwsjson11_deserializeDocumentSourceIpConfig(&sv.SourceIpConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -81119,6 +83381,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.Status = types.WorkforceStatus(jtv) } + case "SubDomain": if value != nil { jtv, ok := value.(string) @@ -81127,6 +83390,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.SubDomain = ptr.String(jtv) } + case "WorkforceArn": if value != nil { jtv, ok := value.(string) @@ -81135,6 +83399,7 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.WorkforceArn = ptr.String(jtv) } + case "WorkforceName": if value != nil { jtv, ok := value.(string) @@ -81143,10 +83408,12 @@ func awsAwsjson11_deserializeDocumentWorkforce(v **types.Workforce, value interf } sv.WorkforceName = ptr.String(jtv) } + case "WorkforceVpcConfig": if err := awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(&sv.WorkforceVpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -81288,10 +83555,12 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo if err := awsAwsjson11_deserializeDocumentWorkforceSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsAwsjson11_deserializeDocumentWorkforceSubnets(&sv.Subnets, value); err != nil { return err } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -81300,6 +83569,7 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -81308,6 +83578,7 @@ func awsAwsjson11_deserializeDocumentWorkforceVpcConfigResponse(v **types.Workfo } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -81347,6 +83618,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceSettings(v **types.WorkspaceSettin } sv.S3ArtifactPath = ptr.String(jtv) } + case "S3KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -81355,6 +83627,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceSettings(v **types.WorkspaceSettin } sv.S3KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -81401,6 +83674,7 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -81409,6 +83683,7 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.Description = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { switch jtv := value.(type) { @@ -81424,18 +83699,22 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } } + case "MemberDefinitions": if err := awsAwsjson11_deserializeDocumentMemberDefinitions(&sv.MemberDefinitions, value); err != nil { return err } + case "NotificationConfiguration": if err := awsAwsjson11_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + case "ProductListingIds": if err := awsAwsjson11_deserializeDocumentProductListings(&sv.ProductListingIds, value); err != nil { return err } + case "SubDomain": if value != nil { jtv, ok := value.(string) @@ -81444,10 +83723,12 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.SubDomain = ptr.String(jtv) } + case "WorkerAccessConfiguration": if err := awsAwsjson11_deserializeDocumentWorkerAccessConfiguration(&sv.WorkerAccessConfiguration, value); err != nil { return err } + case "WorkforceArn": if value != nil { jtv, ok := value.(string) @@ -81456,6 +83737,7 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkforceArn = ptr.String(jtv) } + case "WorkteamArn": if value != nil { jtv, ok := value.(string) @@ -81464,6 +83746,7 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkteamArn = ptr.String(jtv) } + case "WorkteamName": if value != nil { jtv, ok := value.(string) @@ -81472,6 +83755,7 @@ func awsAwsjson11_deserializeDocumentWorkteam(v **types.Workteam, value interfac } sv.WorkteamName = ptr.String(jtv) } + default: _, _ = key, value @@ -81545,6 +83829,7 @@ func awsAwsjson11_deserializeOpDocumentAddAssociationOutput(v **AddAssociationOu } sv.DestinationArn = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -81553,6 +83838,7 @@ func awsAwsjson11_deserializeOpDocumentAddAssociationOutput(v **AddAssociationOu } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81588,6 +83874,7 @@ func awsAwsjson11_deserializeOpDocumentAddTagsOutput(v **AddTagsOutput, value in if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -81627,6 +83914,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateTrialComponentOutput(v **Associa } sv.TrialArn = ptr.String(jtv) } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -81635,6 +83923,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateTrialComponentOutput(v **Associa } sv.TrialComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81670,10 +83959,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDeleteClusterNodesOutput(v **BatchDe if err := awsAwsjson11_deserializeDocumentBatchDeleteClusterNodesErrorList(&sv.Failed, value); err != nil { return err } + case "Successful": if err := awsAwsjson11_deserializeDocumentClusterNodeIds(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -81709,10 +84000,12 @@ func awsAwsjson11_deserializeOpDocumentBatchDescribeModelPackageOutput(v **Batch if err := awsAwsjson11_deserializeDocumentBatchDescribeModelPackageErrorMap(&sv.BatchDescribeModelPackageErrorMap, value); err != nil { return err } + case "ModelPackageSummaries": if err := awsAwsjson11_deserializeDocumentModelPackageSummaries(&sv.ModelPackageSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -81752,6 +84045,7 @@ func awsAwsjson11_deserializeOpDocumentCreateActionOutput(v **CreateActionOutput } sv.ActionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81791,6 +84085,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAlgorithmOutput(v **CreateAlgorithm } sv.AlgorithmArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81830,6 +84125,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppImageConfigOutput(v **CreateAppI } sv.AppImageConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81869,6 +84165,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu } sv.AppArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81908,6 +84205,7 @@ func awsAwsjson11_deserializeOpDocumentCreateArtifactOutput(v **CreateArtifactOu } sv.ArtifactArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81947,6 +84245,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoMLJobOutput(v **CreateAutoMLJob } sv.AutoMLJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -81986,6 +84285,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAutoMLJobV2Output(v **CreateAutoMLJ } sv.AutoMLJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82025,6 +84325,7 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82064,6 +84365,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCodeRepositoryOutput(v **CreateCode } sv.CodeRepositoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82103,6 +84405,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCompilationJobOutput(v **CreateComp } sv.CompilationJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82142,6 +84445,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContextOutput(v **CreateContextOutp } sv.ContextArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82181,6 +84485,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDataQualityJobDefinitionOutput(v ** } sv.JobDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82220,6 +84525,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.DomainArn = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -82228,6 +84534,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -82267,6 +84574,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEdgeDeploymentPlanOutput(v **Create } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82306,6 +84614,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointConfigOutput(v **CreateEndp } sv.EndpointConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82345,6 +84654,7 @@ func awsAwsjson11_deserializeOpDocumentCreateEndpointOutput(v **CreateEndpointOu } sv.EndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82384,6 +84694,7 @@ func awsAwsjson11_deserializeOpDocumentCreateExperimentOutput(v **CreateExperime } sv.ExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82423,6 +84734,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFeatureGroupOutput(v **CreateFeatur } sv.FeatureGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82462,6 +84774,7 @@ func awsAwsjson11_deserializeOpDocumentCreateFlowDefinitionOutput(v **CreateFlow } sv.FlowDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82501,6 +84814,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHubContentReferenceOutput(v **Creat } sv.HubArn = ptr.String(jtv) } + case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -82509,6 +84823,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHubContentReferenceOutput(v **Creat } sv.HubContentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82548,6 +84863,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHubOutput(v **CreateHubOutput, valu } sv.HubArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82587,6 +84903,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHumanTaskUiOutput(v **CreateHumanTa } sv.HumanTaskUiArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82626,6 +84943,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHyperParameterTuningJobOutput(v **C } sv.HyperParameterTuningJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82665,6 +84983,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImageOutput(v **CreateImageOutput, } sv.ImageArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82704,6 +85023,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImageVersionOutput(v **CreateImageV } sv.ImageVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82743,6 +85063,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceComponentOutput(v **Create } sv.InferenceComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82782,6 +85103,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceExperimentOutput(v **Creat } sv.InferenceExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82821,6 +85143,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInferenceRecommendationsJobOutput(v } sv.JobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82860,6 +85183,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLabelingJobOutput(v **CreateLabelin } sv.LabelingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82899,6 +85223,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMlflowTrackingServerOutput(v **Crea } sv.TrackingServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82938,6 +85263,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelBiasJobDefinitionOutput(v **Cr } sv.JobDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -82977,6 +85303,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelCardExportJobOutput(v **Create } sv.ModelCardExportJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83016,6 +85343,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelCardOutput(v **CreateModelCard } sv.ModelCardArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83055,6 +85383,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelExplainabilityJobDefinitionOut } sv.JobDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83094,6 +85423,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelOutput(v **CreateModelOutput, } sv.ModelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83133,6 +85463,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelPackageGroupOutput(v **CreateM } sv.ModelPackageGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83172,6 +85503,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelPackageOutput(v **CreateModelP } sv.ModelPackageArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83211,6 +85543,7 @@ func awsAwsjson11_deserializeOpDocumentCreateModelQualityJobDefinitionOutput(v * } sv.JobDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83250,6 +85583,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMonitoringScheduleOutput(v **Create } sv.MonitoringScheduleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83289,6 +85623,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookInstanceLifecycleConfigOutp } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83328,6 +85663,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNotebookInstanceOutput(v **CreateNo } sv.NotebookInstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83367,6 +85703,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOptimizationJobOutput(v **CreateOpt } sv.OptimizationJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83406,6 +85743,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePipelineOutput(v **CreatePipelineOu } sv.PipelineArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83445,6 +85783,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedDomainUrlOutput(v **Create } sv.AuthorizedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -83484,6 +85823,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedMlflowTrackingServerUrlOut } sv.AuthorizedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -83523,6 +85863,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePresignedNotebookInstanceUrlOutput( } sv.AuthorizedUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -83562,6 +85903,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProcessingJobOutput(v **CreateProce } sv.ProcessingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83601,6 +85943,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectArn = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -83609,6 +85952,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProjectOutput(v **CreateProjectOutp } sv.ProjectId = ptr.String(jtv) } + default: _, _ = key, value @@ -83648,6 +85992,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSpaceOutput(v **CreateSpaceOutput, } sv.SpaceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83687,6 +86032,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStudioLifecycleConfigOutput(v **Cre } sv.StudioLifecycleConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83726,6 +86072,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrainingJobOutput(v **CreateTrainin } sv.TrainingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83765,6 +86112,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTransformJobOutput(v **CreateTransf } sv.TransformJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83804,6 +86152,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrialComponentOutput(v **CreateTria } sv.TrialComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83843,6 +86192,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrialOutput(v **CreateTrialOutput, } sv.TrialArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83882,6 +86232,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserProfileOutput(v **CreateUserPro } sv.UserProfileArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83921,6 +86272,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkforceOutput(v **CreateWorkforce } sv.WorkforceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83960,6 +86312,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkteamOutput(v **CreateWorkteamOu } sv.WorkteamArn = ptr.String(jtv) } + default: _, _ = key, value @@ -83999,6 +86352,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteActionOutput(v **DeleteActionOutput } sv.ActionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84038,6 +86392,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteArtifactOutput(v **DeleteArtifactOu } sv.ArtifactArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84077,6 +86432,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAssociationOutput(v **DeleteAssocia } sv.DestinationArn = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -84085,6 +86441,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAssociationOutput(v **DeleteAssocia } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84124,6 +86481,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteClusterOutput(v **DeleteClusterOutp } sv.ClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84163,6 +86521,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteContextOutput(v **DeleteContextOutp } sv.ContextArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84202,6 +86561,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteExperimentOutput(v **DeleteExperime } sv.ExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84365,6 +86725,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInferenceExperimentOutput(v **Delet } sv.InferenceExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84404,6 +86765,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteMlflowTrackingServerOutput(v **Dele } sv.TrackingServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84443,6 +86805,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePipelineOutput(v **DeletePipelineOu } sv.PipelineArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84513,6 +86876,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrialComponentOutput(v **DeleteTria } sv.TrialComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84552,6 +86916,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTrialOutput(v **DeleteTrialOutput, } sv.TrialArn = ptr.String(jtv) } + default: _, _ = key, value @@ -84622,6 +86987,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkteamOutput(v **DeleteWorkteamOu } sv.Success = ptr.Bool(jtv) } + default: _, _ = key, value @@ -84661,6 +87027,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionArn = ptr.String(jtv) } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -84669,6 +87036,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionName = ptr.String(jtv) } + case "ActionType": if value != nil { jtv, ok := value.(string) @@ -84677,10 +87045,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.ActionType = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -84696,6 +87066,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -84704,10 +87075,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -84723,6 +87096,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -84731,18 +87105,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.LineageGroupArn = ptr.String(jtv) } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentActionSource(&sv.Source, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -84751,6 +87129,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActionOutput(v **DescribeActionOu } sv.Status = types.ActionStatus(jtv) } + default: _, _ = key, value @@ -84790,6 +87169,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmArn = ptr.String(jtv) } + case "AlgorithmDescription": if value != nil { jtv, ok := value.(string) @@ -84798,6 +87178,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmDescription = ptr.String(jtv) } + case "AlgorithmName": if value != nil { jtv, ok := value.(string) @@ -84806,6 +87187,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmName = ptr.String(jtv) } + case "AlgorithmStatus": if value != nil { jtv, ok := value.(string) @@ -84814,10 +87196,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.AlgorithmStatus = types.AlgorithmStatus(jtv) } + case "AlgorithmStatusDetails": if err := awsAwsjson11_deserializeDocumentAlgorithmStatusDetails(&sv.AlgorithmStatusDetails, value); err != nil { return err } + case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -84826,6 +87210,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.CertifyForMarketplace = ptr.Bool(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -84841,10 +87226,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } } + case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -84853,14 +87240,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor } sv.ProductId = ptr.String(jtv) } + case "TrainingSpecification": if err := awsAwsjson11_deserializeDocumentTrainingSpecification(&sv.TrainingSpecification, value); err != nil { return err } + case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentAlgorithmValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -84900,6 +87290,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } sv.AppImageConfigArn = ptr.String(jtv) } + case "AppImageConfigName": if value != nil { jtv, ok := value.(string) @@ -84908,10 +87299,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } sv.AppImageConfigName = ptr.String(jtv) } + case "CodeEditorAppImageConfig": if err := awsAwsjson11_deserializeDocumentCodeEditorAppImageConfig(&sv.CodeEditorAppImageConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -84927,14 +87320,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } } + case "JupyterLabAppImageConfig": if err := awsAwsjson11_deserializeDocumentJupyterLabAppImageConfig(&sv.JupyterLabAppImageConfig, value); err != nil { return err } + case "KernelGatewayImageConfig": if err := awsAwsjson11_deserializeDocumentKernelGatewayImageConfig(&sv.KernelGatewayImageConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -84950,6 +87346,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppImageConfigOutput(v **Describe } } + default: _, _ = key, value @@ -84989,6 +87386,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppArn = ptr.String(jtv) } + case "AppName": if value != nil { jtv, ok := value.(string) @@ -84997,6 +87395,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppName = ptr.String(jtv) } + case "AppType": if value != nil { jtv, ok := value.(string) @@ -85005,6 +87404,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.AppType = types.AppType(jtv) } + case "BuiltInLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -85013,6 +87413,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.BuiltInLifecycleConfigArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85028,6 +87429,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -85036,6 +87438,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.DomainId = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -85044,6 +87447,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.FailureReason = ptr.String(jtv) } + case "LastHealthCheckTimestamp": if value != nil { switch jtv := value.(type) { @@ -85059,6 +87463,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } + case "LastUserActivityTimestamp": if value != nil { switch jtv := value.(type) { @@ -85074,10 +87479,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } } + case "ResourceSpec": if err := awsAwsjson11_deserializeDocumentResourceSpec(&sv.ResourceSpec, value); err != nil { return err } + case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -85086,6 +87493,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.SpaceName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -85094,6 +87502,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Status = types.AppStatus(jtv) } + case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -85102,6 +87511,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.UserProfileName = ptr.String(jtv) } + default: _, _ = key, value @@ -85141,6 +87551,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactArn = ptr.String(jtv) } + case "ArtifactName": if value != nil { jtv, ok := value.(string) @@ -85149,6 +87560,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactName = ptr.String(jtv) } + case "ArtifactType": if value != nil { jtv, ok := value.(string) @@ -85157,10 +87569,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.ArtifactType = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85176,10 +87590,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -85195,6 +87611,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -85203,18 +87620,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeArtifactOutput(v **DescribeArtifa } sv.LineageGroupArn = ptr.String(jtv) } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentArtifactSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -85254,14 +87675,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobArn = ptr.String(jtv) } + case "AutoMLJobArtifacts": if err := awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(&sv.AutoMLJobArtifacts, value); err != nil { return err } + case "AutoMLJobConfig": if err := awsAwsjson11_deserializeDocumentAutoMLJobConfig(&sv.AutoMLJobConfig, value); err != nil { return err } + case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -85270,10 +87694,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobName = ptr.String(jtv) } + case "AutoMLJobObjective": if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } + case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -85282,6 +87708,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } + case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -85290,10 +87717,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } + case "BestCandidate": if err := awsAwsjson11_deserializeDocumentAutoMLCandidate(&sv.BestCandidate, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85309,6 +87738,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -85324,6 +87754,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -85332,6 +87763,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.FailureReason = ptr.String(jtv) } + case "GenerateCandidateDefinitionsOnly": if value != nil { jtv, ok := value.(bool) @@ -85340,10 +87772,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -85359,22 +87793,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } } + case "ModelDeployConfig": if err := awsAwsjson11_deserializeDocumentModelDeployConfig(&sv.ModelDeployConfig, value); err != nil { return err } + case "ModelDeployResult": if err := awsAwsjson11_deserializeDocumentModelDeployResult(&sv.ModelDeployResult, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } + case "ProblemType": if value != nil { jtv, ok := value.(string) @@ -85383,10 +87822,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.ProblemType = types.ProblemType(jtv) } + case "ResolvedAttributes": if err := awsAwsjson11_deserializeDocumentResolvedAttributes(&sv.ResolvedAttributes, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -85395,6 +87836,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -85430,6 +87872,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut if err := awsAwsjson11_deserializeDocumentAutoMLComputeConfig(&sv.AutoMLComputeConfig, value); err != nil { return err } + case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -85438,14 +87881,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobArn = ptr.String(jtv) } + case "AutoMLJobArtifacts": if err := awsAwsjson11_deserializeDocumentAutoMLJobArtifacts(&sv.AutoMLJobArtifacts, value); err != nil { return err } + case "AutoMLJobInputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLJobInputDataConfig(&sv.AutoMLJobInputDataConfig, value); err != nil { return err } + case "AutoMLJobName": if value != nil { jtv, ok := value.(string) @@ -85454,10 +87900,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobName = ptr.String(jtv) } + case "AutoMLJobObjective": if err := awsAwsjson11_deserializeDocumentAutoMLJobObjective(&sv.AutoMLJobObjective, value); err != nil { return err } + case "AutoMLJobSecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -85466,6 +87914,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobSecondaryStatus = types.AutoMLJobSecondaryStatus(jtv) } + case "AutoMLJobStatus": if value != nil { jtv, ok := value.(string) @@ -85474,10 +87923,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLJobStatus = types.AutoMLJobStatus(jtv) } + case "AutoMLProblemTypeConfig": if err := awsAwsjson11_deserializeDocumentAutoMLProblemTypeConfig(&sv.AutoMLProblemTypeConfig, value); err != nil { return err } + case "AutoMLProblemTypeConfigName": if value != nil { jtv, ok := value.(string) @@ -85486,10 +87937,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.AutoMLProblemTypeConfigName = types.AutoMLProblemTypeConfigName(jtv) } + case "BestCandidate": if err := awsAwsjson11_deserializeDocumentAutoMLCandidate(&sv.BestCandidate, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85505,10 +87958,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } + case "DataSplitConfig": if err := awsAwsjson11_deserializeDocumentAutoMLDataSplitConfig(&sv.DataSplitConfig, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -85524,6 +87979,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -85532,6 +87988,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -85547,26 +88004,32 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } } + case "ModelDeployConfig": if err := awsAwsjson11_deserializeDocumentModelDeployConfig(&sv.ModelDeployConfig, value); err != nil { return err } + case "ModelDeployResult": if err := awsAwsjson11_deserializeDocumentModelDeployResult(&sv.ModelDeployResult, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentAutoMLOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "PartialFailureReasons": if err := awsAwsjson11_deserializeDocumentAutoMLPartialFailureReasons(&sv.PartialFailureReasons, value); err != nil { return err } + case "ResolvedAttributes": if err := awsAwsjson11_deserializeDocumentAutoMLResolvedAttributes(&sv.ResolvedAttributes, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -85575,10 +88038,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobV2Output(v **DescribeAut } sv.RoleArn = ptr.String(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -85614,6 +88079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterNodeOutput(v **DescribeClu if err := awsAwsjson11_deserializeDocumentClusterNodeDetails(&sv.NodeDetails, value); err != nil { return err } + default: _, _ = key, value @@ -85653,6 +88119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterArn = ptr.String(jtv) } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -85661,6 +88128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterName = ptr.String(jtv) } + case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -85669,6 +88137,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.ClusterStatus = types.ClusterStatus(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85684,6 +88153,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -85692,10 +88162,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.FailureMessage = ptr.String(jtv) } + case "InstanceGroups": if err := awsAwsjson11_deserializeDocumentClusterInstanceGroupDetailsList(&sv.InstanceGroups, value); err != nil { return err } + case "NodeRecovery": if value != nil { jtv, ok := value.(string) @@ -85704,14 +88176,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster } sv.NodeRecovery = types.ClusterNodeRecovery(jtv) } + case "Orchestrator": if err := awsAwsjson11_deserializeDocumentClusterOrchestrator(&sv.Orchestrator, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -85751,6 +88226,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } sv.CodeRepositoryArn = ptr.String(jtv) } + case "CodeRepositoryName": if value != nil { jtv, ok := value.(string) @@ -85759,6 +88235,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } sv.CodeRepositoryName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85774,10 +88251,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } } + case "GitConfig": if err := awsAwsjson11_deserializeDocumentGitConfig(&sv.GitConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -85793,6 +88272,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCodeRepositoryOutput(v **Describe } } + default: _, _ = key, value @@ -85839,6 +88319,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } + case "CompilationJobArn": if value != nil { jtv, ok := value.(string) @@ -85847,6 +88328,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobArn = ptr.String(jtv) } + case "CompilationJobName": if value != nil { jtv, ok := value.(string) @@ -85855,6 +88337,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobName = ptr.String(jtv) } + case "CompilationJobStatus": if value != nil { jtv, ok := value.(string) @@ -85863,6 +88346,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.CompilationJobStatus = types.CompilationJobStatus(jtv) } + case "CompilationStartTime": if value != nil { switch jtv := value.(type) { @@ -85878,6 +88362,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -85893,10 +88378,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } + case "DerivedInformation": if err := awsAwsjson11_deserializeDocumentDerivedInformation(&sv.DerivedInformation, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -85905,6 +88392,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } + case "InferenceImage": if value != nil { jtv, ok := value.(string) @@ -85913,10 +88401,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.InferenceImage = ptr.String(jtv) } + case "InputConfig": if err := awsAwsjson11_deserializeDocumentInputConfig(&sv.InputConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -85932,14 +88422,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } } + case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } + case "ModelDigests": if err := awsAwsjson11_deserializeDocumentModelDigests(&sv.ModelDigests, value); err != nil { return err } + case "ModelPackageVersionArn": if value != nil { jtv, ok := value.(string) @@ -85948,10 +88441,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.ModelPackageVersionArn = ptr.String(jtv) } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -85960,14 +88455,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeCompilationJobOutput(v **Describe } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentNeoVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -86007,6 +88505,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextArn = ptr.String(jtv) } + case "ContextName": if value != nil { jtv, ok := value.(string) @@ -86015,6 +88514,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextName = ptr.String(jtv) } + case "ContextType": if value != nil { jtv, ok := value.(string) @@ -86023,10 +88523,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.ContextType = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -86042,6 +88544,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -86050,10 +88553,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -86069,6 +88574,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -86077,14 +88583,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeContextOutput(v **DescribeContext } sv.LineageGroupArn = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentLineageEntityParameters(&sv.Properties, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentContextSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -86131,22 +88640,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } } + case "DataQualityAppSpecification": if err := awsAwsjson11_deserializeDocumentDataQualityAppSpecification(&sv.DataQualityAppSpecification, value); err != nil { return err } + case "DataQualityBaselineConfig": if err := awsAwsjson11_deserializeDocumentDataQualityBaselineConfig(&sv.DataQualityBaselineConfig, value); err != nil { return err } + case "DataQualityJobInput": if err := awsAwsjson11_deserializeDocumentDataQualityJobInput(&sv.DataQualityJobInput, value); err != nil { return err } + case "DataQualityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.DataQualityJobOutputConfig, value); err != nil { return err } + case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -86155,6 +88669,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.JobDefinitionArn = ptr.String(jtv) } + case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -86163,14 +88678,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.JobDefinitionName = ptr.String(jtv) } + case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -86179,10 +88697,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDataQualityJobDefinitionOutput(v } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + default: _, _ = key, value @@ -86229,6 +88749,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -86237,6 +88758,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.Description = ptr.String(jtv) } + case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -86245,6 +88767,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.DeviceFleetArn = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -86253,6 +88776,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.DeviceFleetName = ptr.String(jtv) } + case "IotRoleAlias": if value != nil { jtv, ok := value.(string) @@ -86261,6 +88785,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.IotRoleAlias = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -86276,10 +88801,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -86288,6 +88815,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceFleetOutput(v **DescribeDev } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -86327,6 +88855,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.AgentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -86335,6 +88864,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.Description = ptr.String(jtv) } + case "DeviceArn": if value != nil { jtv, ok := value.(string) @@ -86343,6 +88873,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceArn = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -86351,6 +88882,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceFleetName = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -86359,6 +88891,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceName = ptr.String(jtv) } + case "IotThingName": if value != nil { jtv, ok := value.(string) @@ -86367,6 +88900,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.IotThingName = ptr.String(jtv) } + case "LatestHeartbeat": if value != nil { switch jtv := value.(type) { @@ -86382,6 +88916,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + case "MaxModels": if value != nil { jtv, ok := value.(json.Number) @@ -86394,10 +88929,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.MaxModels = ptr.Int32(int32(i64)) } + case "Models": if err := awsAwsjson11_deserializeDocumentEdgeModels(&sv.Models, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -86406,6 +88943,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.NextToken = ptr.String(jtv) } + case "RegistrationTime": if value != nil { switch jtv := value.(type) { @@ -86421,6 +88959,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + default: _, _ = key, value @@ -86460,6 +88999,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AppNetworkAccessType = types.AppNetworkAccessType(jtv) } + case "AppSecurityGroupManagement": if value != nil { jtv, ok := value.(string) @@ -86468,6 +89008,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AppSecurityGroupManagement = types.AppSecurityGroupManagement(jtv) } + case "AuthMode": if value != nil { jtv, ok := value.(string) @@ -86476,6 +89017,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.AuthMode = types.AuthMode(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -86491,14 +89033,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } } + case "DefaultSpaceSettings": if err := awsAwsjson11_deserializeDocumentDefaultSpaceSettings(&sv.DefaultSpaceSettings, value); err != nil { return err } + case "DefaultUserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.DefaultUserSettings, value); err != nil { return err } + case "DomainArn": if value != nil { jtv, ok := value.(string) @@ -86507,6 +89052,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainArn = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -86515,6 +89061,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -86523,10 +89070,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.DomainName = ptr.String(jtv) } + case "DomainSettings": if err := awsAwsjson11_deserializeDocumentDomainSettings(&sv.DomainSettings, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -86535,6 +89084,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.FailureReason = ptr.String(jtv) } + case "HomeEfsFileSystemId": if value != nil { jtv, ok := value.(string) @@ -86543,6 +89093,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.HomeEfsFileSystemId = ptr.String(jtv) } + case "HomeEfsFileSystemKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -86551,6 +89102,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.HomeEfsFileSystemKmsKeyId = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -86559,6 +89111,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.KmsKeyId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -86574,6 +89127,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } } + case "SecurityGroupIdForDomainBoundary": if value != nil { jtv, ok := value.(string) @@ -86582,6 +89136,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SecurityGroupIdForDomainBoundary = ptr.String(jtv) } + case "SingleSignOnApplicationArn": if value != nil { jtv, ok := value.(string) @@ -86590,6 +89145,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SingleSignOnApplicationArn = ptr.String(jtv) } + case "SingleSignOnManagedApplicationInstanceId": if value != nil { jtv, ok := value.(string) @@ -86598,6 +89154,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.SingleSignOnManagedApplicationInstanceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -86606,10 +89163,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.Status = types.DomainStatus(jtv) } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnets(&sv.SubnetIds, value); err != nil { return err } + case "TagPropagation": if value != nil { jtv, ok := value.(string) @@ -86618,6 +89177,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.TagPropagation = types.TagPropagation(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -86626,6 +89186,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.Url = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -86634,6 +89195,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -86680,6 +89242,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -86688,6 +89251,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.DeviceFleetName = ptr.String(jtv) } + case "EdgeDeploymentFailed": if value != nil { jtv, ok := value.(json.Number) @@ -86700,6 +89264,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } + case "EdgeDeploymentPending": if value != nil { jtv, ok := value.(json.Number) @@ -86712,6 +89277,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } + case "EdgeDeploymentPlanArn": if value != nil { jtv, ok := value.(string) @@ -86720,6 +89286,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPlanArn = ptr.String(jtv) } + case "EdgeDeploymentPlanName": if value != nil { jtv, ok := value.(string) @@ -86728,6 +89295,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentPlanName = ptr.String(jtv) } + case "EdgeDeploymentSuccess": if value != nil { jtv, ok := value.(json.Number) @@ -86740,6 +89308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -86755,10 +89324,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } } + case "ModelConfigs": if err := awsAwsjson11_deserializeDocumentEdgeDeploymentModelConfigs(&sv.ModelConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -86767,10 +89338,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + case "Stages": if err := awsAwsjson11_deserializeDocumentDeploymentStageStatusSummaries(&sv.Stages, value); err != nil { return err } + default: _, _ = key, value @@ -86810,6 +89383,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.CompilationJobName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -86825,6 +89399,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } } + case "EdgePackagingJobArn": if value != nil { jtv, ok := value.(string) @@ -86833,6 +89408,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobArn = ptr.String(jtv) } + case "EdgePackagingJobName": if value != nil { jtv, ok := value.(string) @@ -86841,6 +89417,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobName = ptr.String(jtv) } + case "EdgePackagingJobStatus": if value != nil { jtv, ok := value.(string) @@ -86849,6 +89426,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobStatus = types.EdgePackagingJobStatus(jtv) } + case "EdgePackagingJobStatusMessage": if value != nil { jtv, ok := value.(string) @@ -86857,6 +89435,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.EdgePackagingJobStatusMessage = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -86872,6 +89451,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } } + case "ModelArtifact": if value != nil { jtv, ok := value.(string) @@ -86880,6 +89460,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelArtifact = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -86888,6 +89469,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelName = ptr.String(jtv) } + case "ModelSignature": if value != nil { jtv, ok := value.(string) @@ -86896,6 +89478,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelSignature = ptr.String(jtv) } + case "ModelVersion": if value != nil { jtv, ok := value.(string) @@ -86904,14 +89487,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ModelVersion = ptr.String(jtv) } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "PresetDeploymentOutput": if err := awsAwsjson11_deserializeDocumentEdgePresetDeploymentOutput(&sv.PresetDeploymentOutput, value); err != nil { return err } + case "ResourceKey": if value != nil { jtv, ok := value.(string) @@ -86920,6 +89506,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.ResourceKey = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -86928,6 +89515,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgePackagingJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -86963,6 +89551,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe if err := awsAwsjson11_deserializeDocumentAsyncInferenceConfig(&sv.AsyncInferenceConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -86978,10 +89567,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } } + case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -86990,6 +89581,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "EndpointConfigArn": if value != nil { jtv, ok := value.(string) @@ -86998,6 +89590,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EndpointConfigArn = ptr.String(jtv) } + case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -87006,6 +89599,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.EndpointConfigName = ptr.String(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -87014,10 +89608,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ExplainerConfig": if err := awsAwsjson11_deserializeDocumentExplainerConfig(&sv.ExplainerConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -87026,18 +89622,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointConfigOutput(v **Describe } sv.KmsKeyId = ptr.String(jtv) } + case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantList(&sv.ProductionVariants, value); err != nil { return err } + case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantList(&sv.ShadowProductionVariants, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -87073,6 +89673,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi if err := awsAwsjson11_deserializeDocumentAsyncInferenceConfig(&sv.AsyncInferenceConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87088,10 +89689,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } + case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(&sv.DataCaptureConfig, value); err != nil { return err } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -87100,6 +89703,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointArn = ptr.String(jtv) } + case "EndpointConfigName": if value != nil { jtv, ok := value.(string) @@ -87108,6 +89712,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointConfigName = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -87116,6 +89721,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointName = ptr.String(jtv) } + case "EndpointStatus": if value != nil { jtv, ok := value.(string) @@ -87124,10 +89730,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.EndpointStatus = types.EndpointStatus(jtv) } + case "ExplainerConfig": if err := awsAwsjson11_deserializeDocumentExplainerConfig(&sv.ExplainerConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87136,10 +89744,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } sv.FailureReason = ptr.String(jtv) } + case "LastDeploymentConfig": if err := awsAwsjson11_deserializeDocumentDeploymentConfig(&sv.LastDeploymentConfig, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87155,18 +89765,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeEndpointOutput(v **DescribeEndpoi } } + case "PendingDeploymentSummary": if err := awsAwsjson11_deserializeDocumentPendingDeploymentSummary(&sv.PendingDeploymentSummary, value); err != nil { return err } + case "ProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ProductionVariants, value); err != nil { return err } + case "ShadowProductionVariants": if err := awsAwsjson11_deserializeDocumentProductionVariantSummaryList(&sv.ShadowProductionVariants, value); err != nil { return err } + default: _, _ = key, value @@ -87202,6 +89816,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -87217,6 +89832,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -87225,6 +89841,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -87233,6 +89850,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.DisplayName = ptr.String(jtv) } + case "ExperimentArn": if value != nil { jtv, ok := value.(string) @@ -87241,6 +89859,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.ExperimentArn = ptr.String(jtv) } + case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -87249,10 +89868,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } sv.ExperimentName = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87268,10 +89889,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeExperimentOutput(v **DescribeExpe } } + case "Source": if err := awsAwsjson11_deserializeDocumentExperimentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -87318,6 +89941,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -87326,6 +89950,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.Description = ptr.String(jtv) } + case "EventTimeFeatureName": if value != nil { jtv, ok := value.(string) @@ -87334,6 +89959,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.EventTimeFeatureName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87342,10 +89968,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FailureReason = ptr.String(jtv) } + case "FeatureDefinitions": if err := awsAwsjson11_deserializeDocumentFeatureDefinitions(&sv.FeatureDefinitions, value); err != nil { return err } + case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -87354,6 +89982,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupArn = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -87362,6 +89991,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureGroupStatus": if value != nil { jtv, ok := value.(string) @@ -87370,6 +90000,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87385,10 +90016,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } } + case "LastUpdateStatus": if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -87397,18 +90030,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.NextToken = ptr.String(jtv) } + case "OfflineStoreConfig": if err := awsAwsjson11_deserializeDocumentOfflineStoreConfig(&sv.OfflineStoreConfig, value); err != nil { return err } + case "OfflineStoreStatus": if err := awsAwsjson11_deserializeDocumentOfflineStoreStatus(&sv.OfflineStoreStatus, value); err != nil { return err } + case "OnlineStoreConfig": if err := awsAwsjson11_deserializeDocumentOnlineStoreConfig(&sv.OnlineStoreConfig, value); err != nil { return err } + case "OnlineStoreTotalSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -87421,6 +90058,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.OnlineStoreTotalSizeBytes = ptr.Int64(i64) } + case "RecordIdentifierFeatureName": if value != nil { jtv, ok := value.(string) @@ -87429,6 +90067,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.RecordIdentifierFeatureName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -87437,10 +90076,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe } sv.RoleArn = ptr.String(jtv) } + case "ThroughputConfig": if err := awsAwsjson11_deserializeDocumentThroughputConfigDescription(&sv.ThroughputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -87487,6 +90128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -87495,6 +90137,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.Description = ptr.String(jtv) } + case "FeatureGroupArn": if value != nil { jtv, ok := value.(string) @@ -87503,6 +90146,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureGroupArn = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -87511,6 +90155,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureName": if value != nil { jtv, ok := value.(string) @@ -87519,6 +90164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureName = ptr.String(jtv) } + case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -87527,6 +90173,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } sv.FeatureType = types.FeatureType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87542,10 +90189,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **Describ } } + case "Parameters": if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -87592,6 +90241,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87600,6 +90250,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FailureReason = ptr.String(jtv) } + case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -87608,6 +90259,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionArn = ptr.String(jtv) } + case "FlowDefinitionName": if value != nil { jtv, ok := value.(string) @@ -87616,6 +90268,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionName = ptr.String(jtv) } + case "FlowDefinitionStatus": if value != nil { jtv, ok := value.(string) @@ -87624,22 +90277,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.FlowDefinitionStatus = types.FlowDefinitionStatus(jtv) } + case "HumanLoopActivationConfig": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationConfig(&sv.HumanLoopActivationConfig, value); err != nil { return err } + case "HumanLoopConfig": if err := awsAwsjson11_deserializeDocumentHumanLoopConfig(&sv.HumanLoopConfig, value); err != nil { return err } + case "HumanLoopRequestSource": if err := awsAwsjson11_deserializeDocumentHumanLoopRequestSource(&sv.HumanLoopRequestSource, value); err != nil { return err } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentFlowDefinitionOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -87648,6 +90306,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **Describe } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -87694,6 +90353,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } } + case "DocumentSchemaVersion": if value != nil { jtv, ok := value.(string) @@ -87702,6 +90362,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.DocumentSchemaVersion = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87710,6 +90371,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.FailureReason = ptr.String(jtv) } + case "HubArn": if value != nil { jtv, ok := value.(string) @@ -87718,6 +90380,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubArn = ptr.String(jtv) } + case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -87726,10 +90389,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentArn = ptr.String(jtv) } + case "HubContentDependencies": if err := awsAwsjson11_deserializeDocumentHubContentDependencyList(&sv.HubContentDependencies, value); err != nil { return err } + case "HubContentDescription": if value != nil { jtv, ok := value.(string) @@ -87738,6 +90403,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDescription = ptr.String(jtv) } + case "HubContentDisplayName": if value != nil { jtv, ok := value.(string) @@ -87746,6 +90412,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDisplayName = ptr.String(jtv) } + case "HubContentDocument": if value != nil { jtv, ok := value.(string) @@ -87754,6 +90421,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentDocument = ptr.String(jtv) } + case "HubContentMarkdown": if value != nil { jtv, ok := value.(string) @@ -87762,6 +90430,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentMarkdown = ptr.String(jtv) } + case "HubContentName": if value != nil { jtv, ok := value.(string) @@ -87770,10 +90439,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentName = ptr.String(jtv) } + case "HubContentSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubContentSearchKeywordList(&sv.HubContentSearchKeywords, value); err != nil { return err } + case "HubContentStatus": if value != nil { jtv, ok := value.(string) @@ -87782,6 +90453,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentStatus = types.HubContentStatus(jtv) } + case "HubContentType": if value != nil { jtv, ok := value.(string) @@ -87790,6 +90462,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentType = types.HubContentType(jtv) } + case "HubContentVersion": if value != nil { jtv, ok := value.(string) @@ -87798,6 +90471,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubContentVersion = ptr.String(jtv) } + case "HubName": if value != nil { jtv, ok := value.(string) @@ -87806,6 +90480,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.HubName = ptr.String(jtv) } + case "ReferenceMinVersion": if value != nil { jtv, ok := value.(string) @@ -87814,6 +90489,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.ReferenceMinVersion = ptr.String(jtv) } + case "SageMakerPublicHubContentArn": if value != nil { jtv, ok := value.(string) @@ -87822,6 +90498,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.SageMakerPublicHubContentArn = ptr.String(jtv) } + case "SupportStatus": if value != nil { jtv, ok := value.(string) @@ -87830,6 +90507,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubContentOutput(v **DescribeHubC } sv.SupportStatus = types.HubContentSupportStatus(jtv) } + default: _, _ = key, value @@ -87876,6 +90554,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -87884,6 +90563,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.FailureReason = ptr.String(jtv) } + case "HubArn": if value != nil { jtv, ok := value.(string) @@ -87892,6 +90572,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubArn = ptr.String(jtv) } + case "HubDescription": if value != nil { jtv, ok := value.(string) @@ -87900,6 +90581,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubDescription = ptr.String(jtv) } + case "HubDisplayName": if value != nil { jtv, ok := value.(string) @@ -87908,6 +90590,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubDisplayName = ptr.String(jtv) } + case "HubName": if value != nil { jtv, ok := value.(string) @@ -87916,10 +90599,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubName = ptr.String(jtv) } + case "HubSearchKeywords": if err := awsAwsjson11_deserializeDocumentHubSearchKeywordList(&sv.HubSearchKeywords, value); err != nil { return err } + case "HubStatus": if value != nil { jtv, ok := value.(string) @@ -87928,6 +90613,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubStatus = types.HubStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -87943,10 +90629,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } } + case "S3StorageConfig": if err := awsAwsjson11_deserializeDocumentHubS3StorageConfig(&sv.S3StorageConfig, value); err != nil { return err } + default: _, _ = key, value @@ -87993,6 +90681,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } } + case "HumanTaskUiArn": if value != nil { jtv, ok := value.(string) @@ -88001,6 +90690,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiArn = ptr.String(jtv) } + case "HumanTaskUiName": if value != nil { jtv, ok := value.(string) @@ -88009,6 +90699,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiName = ptr.String(jtv) } + case "HumanTaskUiStatus": if value != nil { jtv, ok := value.(string) @@ -88017,10 +90708,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(v **DescribeHum } sv.HumanTaskUiStatus = types.HumanTaskUiStatus(jtv) } + case "UiTemplate": if err := awsAwsjson11_deserializeDocumentUiTemplateInfo(&sv.UiTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -88056,14 +90749,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * if err := awsAwsjson11_deserializeDocumentAutotune(&sv.Autotune, value); err != nil { return err } + case "BestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.BestTrainingJob, value); err != nil { return err } + case "ConsumedResources": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(&sv.ConsumedResources, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88079,6 +90775,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88087,6 +90784,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.FailureReason = ptr.String(jtv) } + case "HyperParameterTuningEndTime": if value != nil { switch jtv := value.(type) { @@ -88102,6 +90800,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } + case "HyperParameterTuningJobArn": if value != nil { jtv, ok := value.(string) @@ -88110,10 +90809,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobArn = ptr.String(jtv) } + case "HyperParameterTuningJobConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(&sv.HyperParameterTuningJobConfig, value); err != nil { return err } + case "HyperParameterTuningJobName": if value != nil { jtv, ok := value.(string) @@ -88122,6 +90823,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobName = ptr.String(jtv) } + case "HyperParameterTuningJobStatus": if value != nil { jtv, ok := value.(string) @@ -88130,6 +90832,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } sv.HyperParameterTuningJobStatus = types.HyperParameterTuningJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88145,34 +90848,42 @@ func awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(v * } } + case "ObjectiveStatusCounters": if err := awsAwsjson11_deserializeDocumentObjectiveStatusCounters(&sv.ObjectiveStatusCounters, value); err != nil { return err } + case "OverallBestTrainingJob": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummary(&sv.OverallBestTrainingJob, value); err != nil { return err } + case "TrainingJobDefinition": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(&sv.TrainingJobDefinition, value); err != nil { return err } + case "TrainingJobDefinitions": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinitions(&sv.TrainingJobDefinitions, value); err != nil { return err } + case "TrainingJobStatusCounters": if err := awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(&sv.TrainingJobStatusCounters, value); err != nil { return err } + case "TuningJobCompletionDetails": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(&sv.TuningJobCompletionDetails, value); err != nil { return err } + case "WarmStartConfig": if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobWarmStartConfig(&sv.WarmStartConfig, value); err != nil { return err } + default: _, _ = key, value @@ -88219,6 +90930,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -88227,6 +90939,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -88235,6 +90948,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.DisplayName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88243,6 +90957,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.FailureReason = ptr.String(jtv) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -88251,6 +90966,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageArn = ptr.String(jtv) } + case "ImageName": if value != nil { jtv, ok := value.(string) @@ -88259,6 +90975,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageName = ptr.String(jtv) } + case "ImageStatus": if value != nil { jtv, ok := value.(string) @@ -88267,6 +90984,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.ImageStatus = types.ImageStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88282,6 +91000,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88290,6 +91009,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageOutput(v **DescribeImageOutp } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -88329,6 +91049,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.BaseImage = ptr.String(jtv) } + case "ContainerImage": if value != nil { jtv, ok := value.(string) @@ -88337,6 +91058,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ContainerImage = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88352,6 +91074,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88360,6 +91083,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.FailureReason = ptr.String(jtv) } + case "Horovod": if value != nil { jtv, ok := value.(bool) @@ -88368,6 +91092,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Horovod = ptr.Bool(jtv) } + case "ImageArn": if value != nil { jtv, ok := value.(string) @@ -88376,6 +91101,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageArn = ptr.String(jtv) } + case "ImageVersionArn": if value != nil { jtv, ok := value.(string) @@ -88384,6 +91110,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageVersionArn = ptr.String(jtv) } + case "ImageVersionStatus": if value != nil { jtv, ok := value.(string) @@ -88392,6 +91119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ImageVersionStatus = types.ImageVersionStatus(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -88400,6 +91128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.JobType = types.JobType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88415,6 +91144,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } } + case "MLFramework": if value != nil { jtv, ok := value.(string) @@ -88423,6 +91153,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.MLFramework = ptr.String(jtv) } + case "Processor": if value != nil { jtv, ok := value.(string) @@ -88431,6 +91162,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Processor = types.Processor(jtv) } + case "ProgrammingLang": if value != nil { jtv, ok := value.(string) @@ -88439,6 +91171,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ProgrammingLang = ptr.String(jtv) } + case "ReleaseNotes": if value != nil { jtv, ok := value.(string) @@ -88447,6 +91180,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.ReleaseNotes = ptr.String(jtv) } + case "VendorGuidance": if value != nil { jtv, ok := value.(string) @@ -88455,6 +91189,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.VendorGuidance = types.VendorGuidance(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -88467,6 +91202,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -88513,6 +91249,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -88521,6 +91258,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.EndpointArn = ptr.String(jtv) } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -88529,6 +91267,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.EndpointName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88537,6 +91276,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } + case "InferenceComponentArn": if value != nil { jtv, ok := value.(string) @@ -88545,6 +91285,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentArn = ptr.String(jtv) } + case "InferenceComponentName": if value != nil { jtv, ok := value.(string) @@ -88553,6 +91294,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentName = ptr.String(jtv) } + case "InferenceComponentStatus": if value != nil { jtv, ok := value.(string) @@ -88561,6 +91303,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.InferenceComponentStatus = types.InferenceComponentStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88576,14 +91319,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } } + case "RuntimeConfig": if err := awsAwsjson11_deserializeDocumentInferenceComponentRuntimeConfigSummary(&sv.RuntimeConfig, value); err != nil { return err } + case "Specification": if err := awsAwsjson11_deserializeDocumentInferenceComponentSpecificationSummary(&sv.Specification, value); err != nil { return err } + case "VariantName": if value != nil { jtv, ok := value.(string) @@ -88592,6 +91338,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceComponentOutput(v **Desc } sv.VariantName = ptr.String(jtv) } + default: _, _ = key, value @@ -88631,6 +91378,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Arn = ptr.String(jtv) } + case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -88646,6 +91394,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88661,10 +91410,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } + case "DataStorageConfig": if err := awsAwsjson11_deserializeDocumentInferenceExperimentDataStorageConfig(&sv.DataStorageConfig, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -88673,10 +91424,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Description = ptr.String(jtv) } + case "EndpointMetadata": if err := awsAwsjson11_deserializeDocumentEndpointMetadata(&sv.EndpointMetadata, value); err != nil { return err } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -88685,6 +91438,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.KmsKey = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88700,10 +91454,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } } + case "ModelVariants": if err := awsAwsjson11_deserializeDocumentModelVariantConfigSummaryList(&sv.ModelVariants, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -88712,6 +91468,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88720,14 +91477,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.RoleArn = ptr.String(jtv) } + case "Schedule": if err := awsAwsjson11_deserializeDocumentInferenceExperimentSchedule(&sv.Schedule, value); err != nil { return err } + case "ShadowModeConfig": if err := awsAwsjson11_deserializeDocumentShadowModeConfig(&sv.ShadowModeConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -88736,6 +91496,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Status = types.InferenceExperimentStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -88744,6 +91505,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.StatusReason = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -88752,6 +91514,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceExperimentOutput(v **Des } sv.Type = types.InferenceExperimentType(jtv) } + default: _, _ = key, value @@ -88798,6 +91561,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -88813,10 +91577,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } + case "EndpointPerformances": if err := awsAwsjson11_deserializeDocumentEndpointPerformances(&sv.EndpointPerformances, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88825,14 +91591,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.FailureReason = ptr.String(jtv) } + case "InferenceRecommendations": if err := awsAwsjson11_deserializeDocumentInferenceRecommendations(&sv.InferenceRecommendations, value); err != nil { return err } + case "InputConfig": if err := awsAwsjson11_deserializeDocumentRecommendationJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "JobArn": if value != nil { jtv, ok := value.(string) @@ -88841,6 +91610,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobArn = ptr.String(jtv) } + case "JobDescription": if value != nil { jtv, ok := value.(string) @@ -88849,6 +91619,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobDescription = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -88857,6 +91628,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobName = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -88865,6 +91637,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.JobType = types.RecommendationJobType(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -88880,6 +91653,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -88888,6 +91662,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -88896,10 +91671,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput } sv.Status = types.RecommendationJobStatus(jtv) } + case "StoppingConditions": if err := awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(&sv.StoppingConditions, value); err != nil { return err } + default: _, _ = key, value @@ -88946,6 +91723,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -88954,14 +91732,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.FailureReason = ptr.String(jtv) } + case "HumanTaskConfig": if err := awsAwsjson11_deserializeDocumentHumanTaskConfig(&sv.HumanTaskConfig, value); err != nil { return err } + case "InputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "JobReferenceCode": if value != nil { jtv, ok := value.(string) @@ -88970,6 +91751,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.JobReferenceCode = ptr.String(jtv) } + case "LabelAttributeName": if value != nil { jtv, ok := value.(string) @@ -88978,6 +91760,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelAttributeName = ptr.String(jtv) } + case "LabelCategoryConfigS3Uri": if value != nil { jtv, ok := value.(string) @@ -88986,14 +91769,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelCategoryConfigS3Uri = ptr.String(jtv) } + case "LabelCounters": if err := awsAwsjson11_deserializeDocumentLabelCounters(&sv.LabelCounters, value); err != nil { return err } + case "LabelingJobAlgorithmsConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobAlgorithmsConfig(&sv.LabelingJobAlgorithmsConfig, value); err != nil { return err } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -89002,6 +91788,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobArn = ptr.String(jtv) } + case "LabelingJobName": if value != nil { jtv, ok := value.(string) @@ -89010,10 +91797,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobName = ptr.String(jtv) } + case "LabelingJobOutput": if err := awsAwsjson11_deserializeDocumentLabelingJobOutput(&sv.LabelingJobOutput, value); err != nil { return err } + case "LabelingJobStatus": if value != nil { jtv, ok := value.(string) @@ -89022,6 +91811,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.LabelingJobStatus = types.LabelingJobStatus(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89037,10 +91827,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentLabelingJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -89049,14 +91841,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(v **DescribeLab } sv.RoleArn = ptr.String(jtv) } + case "StoppingConditions": if err := awsAwsjson11_deserializeDocumentLabelingJobStoppingConditions(&sv.StoppingConditions, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -89092,6 +91887,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89107,6 +91903,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -89115,6 +91912,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -89123,10 +91921,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.DisplayName = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89142,6 +91942,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -89150,6 +91951,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.LineageGroupArn = ptr.String(jtv) } + case "LineageGroupName": if value != nil { jtv, ok := value.(string) @@ -89158,6 +91960,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(v **DescribeLi } sv.LineageGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -89197,6 +92000,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.ArtifactStoreUri = ptr.String(jtv) } + case "AutomaticModelRegistration": if value != nil { jtv, ok := value.(bool) @@ -89205,10 +92009,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.AutomaticModelRegistration = ptr.Bool(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89224,6 +92030,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } } + case "IsActive": if value != nil { jtv, ok := value.(string) @@ -89232,10 +92039,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.IsActive = types.IsTrackingServerActive(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89251,6 +92060,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } } + case "MlflowVersion": if value != nil { jtv, ok := value.(string) @@ -89259,6 +92069,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.MlflowVersion = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -89267,6 +92078,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.RoleArn = ptr.String(jtv) } + case "TrackingServerArn": if value != nil { jtv, ok := value.(string) @@ -89275,6 +92087,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerArn = ptr.String(jtv) } + case "TrackingServerName": if value != nil { jtv, ok := value.(string) @@ -89283,6 +92096,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerName = ptr.String(jtv) } + case "TrackingServerSize": if value != nil { jtv, ok := value.(string) @@ -89291,6 +92105,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerSize = types.TrackingServerSize(jtv) } + case "TrackingServerStatus": if value != nil { jtv, ok := value.(string) @@ -89299,6 +92114,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerStatus = types.TrackingServerStatus(jtv) } + case "TrackingServerUrl": if value != nil { jtv, ok := value.(string) @@ -89307,6 +92123,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.TrackingServerUrl = ptr.String(jtv) } + case "WeeklyMaintenanceWindowStart": if value != nil { jtv, ok := value.(string) @@ -89315,6 +92132,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMlflowTrackingServerOutput(v **De } sv.WeeklyMaintenanceWindowStart = ptr.String(jtv) } + default: _, _ = key, value @@ -89361,6 +92179,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } } + case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -89369,6 +92188,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.JobDefinitionArn = ptr.String(jtv) } + case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -89377,30 +92197,37 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.JobDefinitionName = ptr.String(jtv) } + case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } + case "ModelBiasAppSpecification": if err := awsAwsjson11_deserializeDocumentModelBiasAppSpecification(&sv.ModelBiasAppSpecification, value); err != nil { return err } + case "ModelBiasBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelBiasBaselineConfig(&sv.ModelBiasBaselineConfig, value); err != nil { return err } + case "ModelBiasJobInput": if err := awsAwsjson11_deserializeDocumentModelBiasJobInput(&sv.ModelBiasJobInput, value); err != nil { return err } + case "ModelBiasJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelBiasJobOutputConfig, value); err != nil { return err } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -89409,10 +92236,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(v ** } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + default: _, _ = key, value @@ -89459,10 +92288,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } } + case "ExportArtifacts": if err := awsAwsjson11_deserializeDocumentModelCardExportArtifacts(&sv.ExportArtifacts, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -89471,6 +92302,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedAt": if value != nil { switch jtv := value.(type) { @@ -89486,6 +92318,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } } + case "ModelCardExportJobArn": if value != nil { jtv, ok := value.(string) @@ -89494,6 +92327,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardExportJobArn = ptr.String(jtv) } + case "ModelCardExportJobName": if value != nil { jtv, ok := value.(string) @@ -89502,6 +92336,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardExportJobName = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -89510,6 +92345,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -89522,10 +92358,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentModelCardExportOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -89534,6 +92372,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc } sv.Status = types.ModelCardExportJobStatus(jtv) } + default: _, _ = key, value @@ -89573,10 +92412,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.Content = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89592,10 +92433,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -89611,6 +92454,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } } + case "ModelCardArn": if value != nil { jtv, ok := value.(string) @@ -89619,6 +92463,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardArn = ptr.String(jtv) } + case "ModelCardName": if value != nil { jtv, ok := value.(string) @@ -89627,6 +92472,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardName = ptr.String(jtv) } + case "ModelCardProcessingStatus": if value != nil { jtv, ok := value.(string) @@ -89635,6 +92481,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardProcessingStatus = types.ModelCardProcessingStatus(jtv) } + case "ModelCardStatus": if value != nil { jtv, ok := value.(string) @@ -89643,6 +92490,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardStatus = types.ModelCardStatus(jtv) } + case "ModelCardVersion": if value != nil { jtv, ok := value.(json.Number) @@ -89655,10 +92503,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel } sv.ModelCardVersion = ptr.Int32(int32(i64)) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelCardSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -89705,6 +92555,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } } + case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -89713,6 +92564,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.JobDefinitionArn = ptr.String(jtv) } + case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -89721,30 +92573,37 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.JobDefinitionName = ptr.String(jtv) } + case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } + case "ModelExplainabilityAppSpecification": if err := awsAwsjson11_deserializeDocumentModelExplainabilityAppSpecification(&sv.ModelExplainabilityAppSpecification, value); err != nil { return err } + case "ModelExplainabilityBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelExplainabilityBaselineConfig(&sv.ModelExplainabilityBaselineConfig, value); err != nil { return err } + case "ModelExplainabilityJobInput": if err := awsAwsjson11_deserializeDocumentModelExplainabilityJobInput(&sv.ModelExplainabilityJobInput, value); err != nil { return err } + case "ModelExplainabilityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelExplainabilityJobOutputConfig, value); err != nil { return err } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -89753,10 +92612,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionO } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + default: _, _ = key, value @@ -89792,6 +92653,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp if err := awsAwsjson11_deserializeDocumentContainerDefinitionList(&sv.Containers, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89807,10 +92669,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } } + case "DeploymentRecommendation": if err := awsAwsjson11_deserializeDocumentDeploymentRecommendation(&sv.DeploymentRecommendation, value); err != nil { return err } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -89819,6 +92683,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -89827,10 +92692,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ExecutionRoleArn = ptr.String(jtv) } + case "InferenceExecutionConfig": if err := awsAwsjson11_deserializeDocumentInferenceExecutionConfig(&sv.InferenceExecutionConfig, value); err != nil { return err } + case "ModelArn": if value != nil { jtv, ok := value.(string) @@ -89839,6 +92706,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelArn = ptr.String(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -89847,14 +92715,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp } sv.ModelName = ptr.String(jtv) } + case "PrimaryContainer": if err := awsAwsjson11_deserializeDocumentContainerDefinition(&sv.PrimaryContainer, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -89890,6 +92761,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -89905,6 +92777,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } } + case "ModelPackageGroupArn": if value != nil { jtv, ok := value.(string) @@ -89913,6 +92786,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupArn = ptr.String(jtv) } + case "ModelPackageGroupDescription": if value != nil { jtv, ok := value.(string) @@ -89921,6 +92795,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -89929,6 +92804,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageGroupStatus": if value != nil { jtv, ok := value.(string) @@ -89937,6 +92813,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(v **Descr } sv.ModelPackageGroupStatus = types.ModelPackageGroupStatus(jtv) } + default: _, _ = key, value @@ -89972,6 +92849,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo if err := awsAwsjson11_deserializeDocumentAdditionalInferenceSpecifications(&sv.AdditionalInferenceSpecifications, value); err != nil { return err } + case "ApprovalDescription": if value != nil { jtv, ok := value.(string) @@ -89980,6 +92858,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ApprovalDescription = ptr.String(jtv) } + case "CertifyForMarketplace": if value != nil { jtv, ok := value.(bool) @@ -89988,10 +92867,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.CertifyForMarketplace = ptr.Bool(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -90007,10 +92888,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } } + case "CustomerMetadataProperties": if err := awsAwsjson11_deserializeDocumentCustomerMetadataMap(&sv.CustomerMetadataProperties, value); err != nil { return err } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -90019,18 +92902,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.Domain = ptr.String(jtv) } + case "DriftCheckBaselines": if err := awsAwsjson11_deserializeDocumentDriftCheckBaselines(&sv.DriftCheckBaselines, value); err != nil { return err } + case "InferenceSpecification": if err := awsAwsjson11_deserializeDocumentInferenceSpecification(&sv.InferenceSpecification, value); err != nil { return err } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90046,10 +92933,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "ModelApprovalStatus": if value != nil { jtv, ok := value.(string) @@ -90058,18 +92947,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelApprovalStatus = types.ModelApprovalStatus(jtv) } + case "ModelCard": if err := awsAwsjson11_deserializeDocumentModelPackageModelCard(&sv.ModelCard, value); err != nil { return err } + case "ModelLifeCycle": if err := awsAwsjson11_deserializeDocumentModelLifeCycle(&sv.ModelLifeCycle, value); err != nil { return err } + case "ModelMetrics": if err := awsAwsjson11_deserializeDocumentModelMetrics(&sv.ModelMetrics, value); err != nil { return err } + case "ModelPackageArn": if value != nil { jtv, ok := value.(string) @@ -90078,6 +92971,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageArn = ptr.String(jtv) } + case "ModelPackageDescription": if value != nil { jtv, ok := value.(string) @@ -90086,6 +92980,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageDescription = ptr.String(jtv) } + case "ModelPackageGroupName": if value != nil { jtv, ok := value.(string) @@ -90094,6 +92989,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageGroupName = ptr.String(jtv) } + case "ModelPackageName": if value != nil { jtv, ok := value.(string) @@ -90102,6 +92998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageName = ptr.String(jtv) } + case "ModelPackageStatus": if value != nil { jtv, ok := value.(string) @@ -90110,10 +93007,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageStatus = types.ModelPackageStatus(jtv) } + case "ModelPackageStatusDetails": if err := awsAwsjson11_deserializeDocumentModelPackageStatusDetails(&sv.ModelPackageStatusDetails, value); err != nil { return err } + case "ModelPackageVersion": if value != nil { jtv, ok := value.(json.Number) @@ -90126,6 +93025,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.ModelPackageVersion = ptr.Int32(int32(i64)) } + case "SamplePayloadUrl": if value != nil { jtv, ok := value.(string) @@ -90134,10 +93034,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SamplePayloadUrl = ptr.String(jtv) } + case "SecurityConfig": if err := awsAwsjson11_deserializeDocumentModelPackageSecurityConfig(&sv.SecurityConfig, value); err != nil { return err } + case "SkipModelValidation": if value != nil { jtv, ok := value.(string) @@ -90146,10 +93048,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SkipModelValidation = types.SkipModelValidation(jtv) } + case "SourceAlgorithmSpecification": if err := awsAwsjson11_deserializeDocumentSourceAlgorithmSpecification(&sv.SourceAlgorithmSpecification, value); err != nil { return err } + case "SourceUri": if value != nil { jtv, ok := value.(string) @@ -90158,6 +93062,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.SourceUri = ptr.String(jtv) } + case "Task": if value != nil { jtv, ok := value.(string) @@ -90166,10 +93071,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo } sv.Task = ptr.String(jtv) } + case "ValidationSpecification": if err := awsAwsjson11_deserializeDocumentModelPackageValidationSpecification(&sv.ValidationSpecification, value); err != nil { return err } + default: _, _ = key, value @@ -90216,6 +93123,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } } + case "JobDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -90224,6 +93132,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.JobDefinitionArn = ptr.String(jtv) } + case "JobDefinitionName": if value != nil { jtv, ok := value.(string) @@ -90232,30 +93141,37 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.JobDefinitionName = ptr.String(jtv) } + case "JobResources": if err := awsAwsjson11_deserializeDocumentMonitoringResources(&sv.JobResources, value); err != nil { return err } + case "ModelQualityAppSpecification": if err := awsAwsjson11_deserializeDocumentModelQualityAppSpecification(&sv.ModelQualityAppSpecification, value); err != nil { return err } + case "ModelQualityBaselineConfig": if err := awsAwsjson11_deserializeDocumentModelQualityBaselineConfig(&sv.ModelQualityBaselineConfig, value); err != nil { return err } + case "ModelQualityJobInput": if err := awsAwsjson11_deserializeDocumentModelQualityJobInput(&sv.ModelQualityJobInput, value); err != nil { return err } + case "ModelQualityJobOutputConfig": if err := awsAwsjson11_deserializeDocumentMonitoringOutputConfig(&sv.ModelQualityJobOutputConfig, value); err != nil { return err } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -90264,10 +93180,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(v } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + default: _, _ = key, value @@ -90314,6 +93232,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -90322,6 +93241,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.EndpointName = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90330,6 +93250,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90345,10 +93266,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } } + case "LastMonitoringExecutionSummary": if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummary(&sv.LastMonitoringExecutionSummary, value); err != nil { return err } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -90357,10 +93280,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "MonitoringScheduleConfig": if err := awsAwsjson11_deserializeDocumentMonitoringScheduleConfig(&sv.MonitoringScheduleConfig, value); err != nil { return err } + case "MonitoringScheduleName": if value != nil { jtv, ok := value.(string) @@ -90369,6 +93294,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleName = ptr.String(jtv) } + case "MonitoringScheduleStatus": if value != nil { jtv, ok := value.(string) @@ -90377,6 +93303,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringScheduleStatus = types.ScheduleStatus(jtv) } + case "MonitoringType": if value != nil { jtv, ok := value.(string) @@ -90385,6 +93312,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(v **Desc } sv.MonitoringType = types.MonitoringType(jtv) } + default: _, _ = key, value @@ -90431,6 +93359,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90446,6 +93375,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } } + case "NotebookInstanceLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -90454,6 +93384,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } sv.NotebookInstanceLifecycleConfigArn = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -90462,14 +93393,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOu } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } + case "OnCreate": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigList(&sv.OnCreate, value); err != nil { return err } + case "OnStart": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigList(&sv.OnStart, value); err != nil { return err } + default: _, _ = key, value @@ -90505,10 +93439,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri if err := awsAwsjson11_deserializeDocumentNotebookInstanceAcceleratorTypes(&sv.AcceleratorTypes, value); err != nil { return err } + case "AdditionalCodeRepositories": if err := awsAwsjson11_deserializeDocumentAdditionalCodeRepositoryNamesOrUrls(&sv.AdditionalCodeRepositories, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -90524,6 +93460,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } } + case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -90532,6 +93469,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.DefaultCodeRepository = ptr.String(jtv) } + case "DirectInternetAccess": if value != nil { jtv, ok := value.(string) @@ -90540,6 +93478,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.DirectInternetAccess = types.DirectInternetAccess(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90548,10 +93487,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.FailureReason = ptr.String(jtv) } + case "InstanceMetadataServiceConfiguration": if err := awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(&sv.InstanceMetadataServiceConfiguration, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -90560,6 +93501,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.InstanceType = types.InstanceType(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -90568,6 +93510,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.KmsKeyId = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90583,6 +93526,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -90591,6 +93535,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NetworkInterfaceId = ptr.String(jtv) } + case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -90599,6 +93544,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceArn = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -90607,6 +93553,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } + case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -90615,6 +93562,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceName = ptr.String(jtv) } + case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -90623,6 +93571,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.NotebookInstanceStatus = types.NotebookInstanceStatus(jtv) } + case "PlatformIdentifier": if value != nil { jtv, ok := value.(string) @@ -90631,6 +93580,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.PlatformIdentifier = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -90639,6 +93589,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } + case "RootAccess": if value != nil { jtv, ok := value.(string) @@ -90647,10 +93598,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.RootAccess = types.RootAccess(jtv) } + case "SecurityGroups": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroups, value); err != nil { return err } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -90659,6 +93612,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.SubnetId = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -90667,6 +93621,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.Url = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -90679,6 +93634,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -90725,6 +93681,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } + case "DeploymentInstanceType": if value != nil { jtv, ok := value.(string) @@ -90733,6 +93690,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.DeploymentInstanceType = types.OptimizationJobDeploymentInstanceType(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90741,6 +93699,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90756,14 +93715,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } + case "ModelSource": if err := awsAwsjson11_deserializeDocumentOptimizationJobModelSource(&sv.ModelSource, value); err != nil { return err } + case "OptimizationConfigs": if err := awsAwsjson11_deserializeDocumentOptimizationConfigs(&sv.OptimizationConfigs, value); err != nil { return err } + case "OptimizationEndTime": if value != nil { switch jtv := value.(type) { @@ -90779,10 +93741,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } + case "OptimizationEnvironment": if err := awsAwsjson11_deserializeDocumentOptimizationJobEnvironmentVariables(&sv.OptimizationEnvironment, value); err != nil { return err } + case "OptimizationJobArn": if value != nil { jtv, ok := value.(string) @@ -90791,6 +93755,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobArn = ptr.String(jtv) } + case "OptimizationJobName": if value != nil { jtv, ok := value.(string) @@ -90799,6 +93764,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobName = ptr.String(jtv) } + case "OptimizationJobStatus": if value != nil { jtv, ok := value.(string) @@ -90807,10 +93773,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.OptimizationJobStatus = types.OptimizationJobStatus(jtv) } + case "OptimizationOutput": if err := awsAwsjson11_deserializeDocumentOptimizationOutput(&sv.OptimizationOutput, value); err != nil { return err } + case "OptimizationStartTime": if value != nil { switch jtv := value.(type) { @@ -90826,10 +93794,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOptimizationJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -90838,14 +93808,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeOptimizationJobOutput(v **Describ } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentOptimizationVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -90892,6 +93865,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOut } } + case "PipelineDefinition": if value != nil { jtv, ok := value.(string) @@ -90900,6 +93874,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOut } sv.PipelineDefinition = ptr.String(jtv) } + default: _, _ = key, value @@ -90935,6 +93910,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -90950,6 +93926,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -90958,10 +93935,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -90977,10 +93956,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } } + case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -90989,6 +93970,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineArn = ptr.String(jtv) } + case "PipelineExecutionArn": if value != nil { jtv, ok := value.(string) @@ -90997,6 +93979,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionArn = ptr.String(jtv) } + case "PipelineExecutionDescription": if value != nil { jtv, ok := value.(string) @@ -91005,6 +93988,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionDescription = ptr.String(jtv) } + case "PipelineExecutionDisplayName": if value != nil { jtv, ok := value.(string) @@ -91013,6 +93997,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionDisplayName = ptr.String(jtv) } + case "PipelineExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -91021,14 +94006,17 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(v **Descr } sv.PipelineExecutionStatus = types.PipelineExecutionStatus(jtv) } + case "PipelineExperimentConfig": if err := awsAwsjson11_deserializeDocumentPipelineExperimentConfig(&sv.PipelineExperimentConfig, value); err != nil { return err } + case "SelectiveExecutionConfig": if err := awsAwsjson11_deserializeDocumentSelectiveExecutionConfig(&sv.SelectiveExecutionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -91064,6 +94052,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91079,10 +94068,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91098,6 +94089,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } + case "LastRunTime": if value != nil { switch jtv := value.(type) { @@ -91113,10 +94105,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } } + case "ParallelismConfiguration": if err := awsAwsjson11_deserializeDocumentParallelismConfiguration(&sv.ParallelismConfiguration, value); err != nil { return err } + case "PipelineArn": if value != nil { jtv, ok := value.(string) @@ -91125,6 +94119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineArn = ptr.String(jtv) } + case "PipelineDefinition": if value != nil { jtv, ok := value.(string) @@ -91133,6 +94128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDefinition = ptr.String(jtv) } + case "PipelineDescription": if value != nil { jtv, ok := value.(string) @@ -91141,6 +94137,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDescription = ptr.String(jtv) } + case "PipelineDisplayName": if value != nil { jtv, ok := value.(string) @@ -91149,6 +94146,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineDisplayName = ptr.String(jtv) } + case "PipelineName": if value != nil { jtv, ok := value.(string) @@ -91157,6 +94155,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineName = ptr.String(jtv) } + case "PipelineStatus": if value != nil { jtv, ok := value.(string) @@ -91165,6 +94164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.PipelineStatus = types.PipelineStatus(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91173,6 +94173,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(v **DescribePipeli } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -91208,6 +94209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP if err := awsAwsjson11_deserializeDocumentAppSpecification(&sv.AppSpecification, value); err != nil { return err } + case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -91216,6 +94218,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.AutoMLJobArn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91231,10 +94234,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } + case "Environment": if err := awsAwsjson11_deserializeDocumentProcessingEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExitMessage": if value != nil { jtv, ok := value.(string) @@ -91243,10 +94248,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ExitMessage = ptr.String(jtv) } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91255,6 +94262,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.FailureReason = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91270,6 +94278,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -91278,10 +94287,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.MonitoringScheduleArn = ptr.String(jtv) } + case "NetworkConfig": if err := awsAwsjson11_deserializeDocumentNetworkConfig(&sv.NetworkConfig, value); err != nil { return err } + case "ProcessingEndTime": if value != nil { switch jtv := value.(type) { @@ -91297,10 +94308,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } + case "ProcessingInputs": if err := awsAwsjson11_deserializeDocumentProcessingInputs(&sv.ProcessingInputs, value); err != nil { return err } + case "ProcessingJobArn": if value != nil { jtv, ok := value.(string) @@ -91309,6 +94322,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobArn = ptr.String(jtv) } + case "ProcessingJobName": if value != nil { jtv, ok := value.(string) @@ -91317,6 +94331,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobName = ptr.String(jtv) } + case "ProcessingJobStatus": if value != nil { jtv, ok := value.(string) @@ -91325,14 +94340,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.ProcessingJobStatus = types.ProcessingJobStatus(jtv) } + case "ProcessingOutputConfig": if err := awsAwsjson11_deserializeDocumentProcessingOutputConfig(&sv.ProcessingOutputConfig, value); err != nil { return err } + case "ProcessingResources": if err := awsAwsjson11_deserializeDocumentProcessingResources(&sv.ProcessingResources, value); err != nil { return err } + case "ProcessingStartTime": if value != nil { switch jtv := value.(type) { @@ -91348,6 +94366,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91356,10 +94375,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.RoleArn = ptr.String(jtv) } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentProcessingStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -91368,6 +94389,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(v **DescribeP } sv.TrainingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -91403,6 +94425,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91418,10 +94441,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91437,6 +94462,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } } + case "ProjectArn": if value != nil { jtv, ok := value.(string) @@ -91445,6 +94471,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectArn = ptr.String(jtv) } + case "ProjectDescription": if value != nil { jtv, ok := value.(string) @@ -91453,6 +94480,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectDescription = ptr.String(jtv) } + case "ProjectId": if value != nil { jtv, ok := value.(string) @@ -91461,6 +94489,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectId = ptr.String(jtv) } + case "ProjectName": if value != nil { jtv, ok := value.(string) @@ -91469,6 +94498,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectName = ptr.String(jtv) } + case "ProjectStatus": if value != nil { jtv, ok := value.(string) @@ -91477,14 +94507,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(v **DescribeProject } sv.ProjectStatus = types.ProjectStatus(jtv) } + case "ServiceCatalogProvisionedProductDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisionedProductDetails(&sv.ServiceCatalogProvisionedProductDetails, value); err != nil { return err } + case "ServiceCatalogProvisioningDetails": if err := awsAwsjson11_deserializeDocumentServiceCatalogProvisioningDetails(&sv.ServiceCatalogProvisioningDetails, value); err != nil { return err } + default: _, _ = key, value @@ -91531,6 +94564,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -91539,6 +94573,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.DomainId = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91547,6 +94582,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.FailureReason = ptr.String(jtv) } + case "HomeEfsFileSystemUid": if value != nil { jtv, ok := value.(string) @@ -91555,6 +94591,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.HomeEfsFileSystemUid = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91570,10 +94607,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } } + case "OwnershipSettings": if err := awsAwsjson11_deserializeDocumentOwnershipSettings(&sv.OwnershipSettings, value); err != nil { return err } + case "SpaceArn": if value != nil { jtv, ok := value.(string) @@ -91582,6 +94621,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceArn = ptr.String(jtv) } + case "SpaceDisplayName": if value != nil { jtv, ok := value.(string) @@ -91590,6 +94630,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceDisplayName = ptr.String(jtv) } + case "SpaceName": if value != nil { jtv, ok := value.(string) @@ -91598,14 +94639,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.SpaceName = ptr.String(jtv) } + case "SpaceSettings": if err := awsAwsjson11_deserializeDocumentSpaceSettings(&sv.SpaceSettings, value); err != nil { return err } + case "SpaceSharingSettings": if err := awsAwsjson11_deserializeDocumentSpaceSharingSettings(&sv.SpaceSharingSettings, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -91614,6 +94658,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.Status = types.SpaceStatus(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -91622,6 +94667,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSpaceOutput(v **DescribeSpaceOutp } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -91668,6 +94714,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91683,6 +94730,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } } + case "StudioLifecycleConfigAppType": if value != nil { jtv, ok := value.(string) @@ -91691,6 +94739,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigAppType = types.StudioLifecycleConfigAppType(jtv) } + case "StudioLifecycleConfigArn": if value != nil { jtv, ok := value.(string) @@ -91699,6 +94748,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigArn = ptr.String(jtv) } + case "StudioLifecycleConfigContent": if value != nil { jtv, ok := value.(string) @@ -91707,6 +94757,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigContent = ptr.String(jtv) } + case "StudioLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -91715,6 +94766,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(v **D } sv.StudioLifecycleConfigName = ptr.String(jtv) } + default: _, _ = key, value @@ -91750,6 +94802,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscribedWorkteamOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSubscribedWorkteam(&sv.SubscribedWorkteam, value); err != nil { return err } + default: _, _ = key, value @@ -91785,6 +94838,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra if err := awsAwsjson11_deserializeDocumentAlgorithmSpecification(&sv.AlgorithmSpecification, value); err != nil { return err } + case "AutoMLJobArn": if value != nil { jtv, ok := value.(string) @@ -91793,6 +94847,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.AutoMLJobArn = ptr.String(jtv) } + case "BillableTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -91805,10 +94860,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.BillableTimeInSeconds = ptr.Int32(int32(i64)) } + case "CheckpointConfig": if err := awsAwsjson11_deserializeDocumentCheckpointConfig(&sv.CheckpointConfig, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -91824,18 +94881,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } + case "DebugHookConfig": if err := awsAwsjson11_deserializeDocumentDebugHookConfig(&sv.DebugHookConfig, value); err != nil { return err } + case "DebugRuleConfigurations": if err := awsAwsjson11_deserializeDocumentDebugRuleConfigurations(&sv.DebugRuleConfigurations, value); err != nil { return err } + case "DebugRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentDebugRuleEvaluationStatuses(&sv.DebugRuleEvaluationStatuses, value); err != nil { return err } + case "EnableInterContainerTrafficEncryption": if value != nil { jtv, ok := value.(bool) @@ -91844,6 +94905,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } + case "EnableManagedSpotTraining": if value != nil { jtv, ok := value.(bool) @@ -91852,6 +94914,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableManagedSpotTraining = ptr.Bool(jtv) } + case "EnableNetworkIsolation": if value != nil { jtv, ok := value.(bool) @@ -91860,14 +94923,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.EnableNetworkIsolation = ptr.Bool(jtv) } + case "Environment": if err := awsAwsjson11_deserializeDocumentTrainingEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -91876,22 +94942,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.FailureReason = ptr.String(jtv) } + case "FinalMetricDataList": if err := awsAwsjson11_deserializeDocumentFinalMetricDataList(&sv.FinalMetricDataList, value); err != nil { return err } + case "HyperParameters": if err := awsAwsjson11_deserializeDocumentHyperParameters(&sv.HyperParameters, value); err != nil { return err } + case "InfraCheckConfig": if err := awsAwsjson11_deserializeDocumentInfraCheckConfig(&sv.InfraCheckConfig, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -91900,6 +94971,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.LabelingJobArn = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -91915,26 +94987,32 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } + case "ModelArtifacts": if err := awsAwsjson11_deserializeDocumentModelArtifacts(&sv.ModelArtifacts, value); err != nil { return err } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "ProfilerConfig": if err := awsAwsjson11_deserializeDocumentProfilerConfig(&sv.ProfilerConfig, value); err != nil { return err } + case "ProfilerRuleConfigurations": if err := awsAwsjson11_deserializeDocumentProfilerRuleConfigurations(&sv.ProfilerRuleConfigurations, value); err != nil { return err } + case "ProfilerRuleEvaluationStatuses": if err := awsAwsjson11_deserializeDocumentProfilerRuleEvaluationStatuses(&sv.ProfilerRuleEvaluationStatuses, value); err != nil { return err } + case "ProfilingStatus": if value != nil { jtv, ok := value.(string) @@ -91943,18 +95021,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.ProfilingStatus = types.ProfilingStatus(jtv) } + case "RemoteDebugConfig": if err := awsAwsjson11_deserializeDocumentRemoteDebugConfig(&sv.RemoteDebugConfig, value); err != nil { return err } + case "ResourceConfig": if err := awsAwsjson11_deserializeDocumentResourceConfig(&sv.ResourceConfig, value); err != nil { return err } + case "RetryStrategy": if err := awsAwsjson11_deserializeDocumentRetryStrategy(&sv.RetryStrategy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -91963,6 +95045,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.RoleArn = ptr.String(jtv) } + case "SecondaryStatus": if value != nil { jtv, ok := value.(string) @@ -91971,18 +95054,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.SecondaryStatus = types.SecondaryStatus(jtv) } + case "SecondaryStatusTransitions": if err := awsAwsjson11_deserializeDocumentSecondaryStatusTransitions(&sv.SecondaryStatusTransitions, value); err != nil { return err } + case "StoppingCondition": if err := awsAwsjson11_deserializeDocumentStoppingCondition(&sv.StoppingCondition, value); err != nil { return err } + case "TensorBoardOutputConfig": if err := awsAwsjson11_deserializeDocumentTensorBoardOutputConfig(&sv.TensorBoardOutputConfig, value); err != nil { return err } + case "TrainingEndTime": if value != nil { switch jtv := value.(type) { @@ -91998,6 +95085,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } + case "TrainingJobArn": if value != nil { jtv, ok := value.(string) @@ -92006,6 +95094,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobArn = ptr.String(jtv) } + case "TrainingJobName": if value != nil { jtv, ok := value.(string) @@ -92014,6 +95103,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobName = ptr.String(jtv) } + case "TrainingJobStatus": if value != nil { jtv, ok := value.(string) @@ -92022,6 +95112,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingJobStatus = types.TrainingJobStatus(jtv) } + case "TrainingStartTime": if value != nil { switch jtv := value.(type) { @@ -92037,6 +95128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } } + case "TrainingTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -92049,6 +95141,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TrainingTimeInSeconds = ptr.Int32(int32(i64)) } + case "TuningJobArn": if value != nil { jtv, ok := value.(string) @@ -92057,14 +95150,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra } sv.TuningJobArn = ptr.String(jtv) } + case "VpcConfig": if err := awsAwsjson11_deserializeDocumentVpcConfig(&sv.VpcConfig, value); err != nil { return err } + case "WarmPoolStatus": if err := awsAwsjson11_deserializeDocumentWarmPoolStatus(&sv.WarmPoolStatus, value); err != nil { return err } + default: _, _ = key, value @@ -92104,6 +95200,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.AutoMLJobArn = ptr.String(jtv) } + case "BatchStrategy": if value != nil { jtv, ok := value.(string) @@ -92112,6 +95209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.BatchStrategy = types.BatchStrategy(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92127,22 +95225,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } + case "DataCaptureConfig": if err := awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(&sv.DataCaptureConfig, value); err != nil { return err } + case "DataProcessing": if err := awsAwsjson11_deserializeDocumentDataProcessing(&sv.DataProcessing, value); err != nil { return err } + case "Environment": if err := awsAwsjson11_deserializeDocumentTransformEnvironmentMap(&sv.Environment, value); err != nil { return err } + case "ExperimentConfig": if err := awsAwsjson11_deserializeDocumentExperimentConfig(&sv.ExperimentConfig, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -92151,6 +95254,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.FailureReason = ptr.String(jtv) } + case "LabelingJobArn": if value != nil { jtv, ok := value.(string) @@ -92159,6 +95263,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.LabelingJobArn = ptr.String(jtv) } + case "MaxConcurrentTransforms": if value != nil { jtv, ok := value.(json.Number) @@ -92171,6 +95276,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.MaxConcurrentTransforms = ptr.Int32(int32(i64)) } + case "MaxPayloadInMB": if value != nil { jtv, ok := value.(json.Number) @@ -92183,10 +95289,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.MaxPayloadInMB = ptr.Int32(int32(i64)) } + case "ModelClientConfig": if err := awsAwsjson11_deserializeDocumentModelClientConfig(&sv.ModelClientConfig, value); err != nil { return err } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -92195,6 +95303,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.ModelName = ptr.String(jtv) } + case "TransformEndTime": if value != nil { switch jtv := value.(type) { @@ -92210,10 +95319,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } + case "TransformInput": if err := awsAwsjson11_deserializeDocumentTransformInput(&sv.TransformInput, value); err != nil { return err } + case "TransformJobArn": if value != nil { jtv, ok := value.(string) @@ -92222,6 +95333,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobArn = ptr.String(jtv) } + case "TransformJobName": if value != nil { jtv, ok := value.(string) @@ -92230,6 +95342,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobName = ptr.String(jtv) } + case "TransformJobStatus": if value != nil { jtv, ok := value.(string) @@ -92238,14 +95351,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } sv.TransformJobStatus = types.TransformJobStatus(jtv) } + case "TransformOutput": if err := awsAwsjson11_deserializeDocumentTransformOutput(&sv.TransformOutput, value); err != nil { return err } + case "TransformResources": if err := awsAwsjson11_deserializeDocumentTransformResources(&sv.TransformResources, value); err != nil { return err } + case "TransformStartTime": if value != nil { switch jtv := value.(type) { @@ -92261,6 +95377,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(v **DescribeTr } } + default: _, _ = key, value @@ -92296,6 +95413,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92311,6 +95429,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -92319,6 +95438,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.DisplayName = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -92334,14 +95454,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } + case "InputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.InputArtifacts, value); err != nil { return err } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92357,6 +95480,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } + case "LineageGroupArn": if value != nil { jtv, ok := value.(string) @@ -92365,30 +95489,37 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.LineageGroupArn = ptr.String(jtv) } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Metrics": if err := awsAwsjson11_deserializeDocumentTrialComponentMetricSummaries(&sv.Metrics, value); err != nil { return err } + case "OutputArtifacts": if err := awsAwsjson11_deserializeDocumentTrialComponentArtifacts(&sv.OutputArtifacts, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentTrialComponentParameters(&sv.Parameters, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentTrialComponentSource(&sv.Source, value); err != nil { return err } + case "Sources": if err := awsAwsjson11_deserializeDocumentTrialComponentSources(&sv.Sources, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -92404,10 +95535,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } } + case "Status": if err := awsAwsjson11_deserializeDocumentTrialComponentStatus(&sv.Status, value); err != nil { return err } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -92416,6 +95549,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.TrialComponentArn = ptr.String(jtv) } + case "TrialComponentName": if value != nil { jtv, ok := value.(string) @@ -92424,6 +95558,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(v **Describe } sv.TrialComponentName = ptr.String(jtv) } + default: _, _ = key, value @@ -92459,6 +95594,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp if err := awsAwsjson11_deserializeDocumentUserContext(&sv.CreatedBy, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -92474,6 +95610,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -92482,6 +95619,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.DisplayName = ptr.String(jtv) } + case "ExperimentName": if value != nil { jtv, ok := value.(string) @@ -92490,10 +95628,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.ExperimentName = ptr.String(jtv) } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentUserContext(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92509,14 +95649,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } } + case "MetadataProperties": if err := awsAwsjson11_deserializeDocumentMetadataProperties(&sv.MetadataProperties, value); err != nil { return err } + case "Source": if err := awsAwsjson11_deserializeDocumentTrialSource(&sv.Source, value); err != nil { return err } + case "TrialArn": if value != nil { jtv, ok := value.(string) @@ -92525,6 +95668,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.TrialArn = ptr.String(jtv) } + case "TrialName": if value != nil { jtv, ok := value.(string) @@ -92533,6 +95677,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(v **DescribeTrialOutp } sv.TrialName = ptr.String(jtv) } + default: _, _ = key, value @@ -92579,6 +95724,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -92587,6 +95733,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.DomainId = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -92595,6 +95742,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.FailureReason = ptr.String(jtv) } + case "HomeEfsFileSystemUid": if value != nil { jtv, ok := value.(string) @@ -92603,6 +95751,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.HomeEfsFileSystemUid = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -92618,6 +95767,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } } + case "SingleSignOnUserIdentifier": if value != nil { jtv, ok := value.(string) @@ -92626,6 +95776,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.SingleSignOnUserIdentifier = ptr.String(jtv) } + case "SingleSignOnUserValue": if value != nil { jtv, ok := value.(string) @@ -92634,6 +95785,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.SingleSignOnUserValue = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -92642,6 +95794,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.Status = types.UserProfileStatus(jtv) } + case "UserProfileArn": if value != nil { jtv, ok := value.(string) @@ -92650,6 +95803,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.UserProfileArn = ptr.String(jtv) } + case "UserProfileName": if value != nil { jtv, ok := value.(string) @@ -92658,10 +95812,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(v **DescribeUse } sv.UserProfileName = ptr.String(jtv) } + case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -92697,6 +95853,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkforceOutput(v **DescribeWorkf if err := awsAwsjson11_deserializeDocumentWorkforce(&sv.Workforce, value); err != nil { return err } + default: _, _ = key, value @@ -92732,6 +95889,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkteamOutput(v **DescribeWorkte if err := awsAwsjson11_deserializeDocumentWorkteam(&sv.Workteam, value); err != nil { return err } + default: _, _ = key, value @@ -92802,6 +95960,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(v **Disa } sv.TrialArn = ptr.String(jtv) } + case "TrialComponentArn": if value != nil { jtv, ok := value.(string) @@ -92810,6 +95969,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(v **Disa } sv.TrialComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -92876,6 +96036,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF if err := awsAwsjson11_deserializeDocumentAgentVersions(&sv.AgentVersions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -92884,6 +96045,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.Description = ptr.String(jtv) } + case "DeviceFleetArn": if value != nil { jtv, ok := value.(string) @@ -92892,6 +96054,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.DeviceFleetArn = ptr.String(jtv) } + case "DeviceFleetName": if value != nil { jtv, ok := value.(string) @@ -92900,18 +96063,22 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } sv.DeviceFleetName = ptr.String(jtv) } + case "DeviceStats": if err := awsAwsjson11_deserializeDocumentDeviceStats(&sv.DeviceStats, value); err != nil { return err } + case "ModelStats": if err := awsAwsjson11_deserializeDocumentEdgeModelStats(&sv.ModelStats, value); err != nil { return err } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentEdgeOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "ReportGenerated": if value != nil { switch jtv := value.(type) { @@ -92927,6 +96094,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeviceFleetReportOutput(v **GetDeviceF } } + default: _, _ = key, value @@ -92966,6 +96134,7 @@ func awsAwsjson11_deserializeOpDocumentGetLineageGroupPolicyOutput(v **GetLineag } sv.LineageGroupArn = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -92974,6 +96143,7 @@ func awsAwsjson11_deserializeOpDocumentGetLineageGroupPolicyOutput(v **GetLineag } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -93013,6 +96183,7 @@ func awsAwsjson11_deserializeOpDocumentGetModelPackageGroupPolicyOutput(v **GetM } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -93052,6 +96223,7 @@ func awsAwsjson11_deserializeOpDocumentGetSagemakerServicecatalogPortfolioStatus } sv.Status = types.SagemakerServicecatalogStatus(jtv) } + default: _, _ = key, value @@ -93087,6 +96259,7 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp if err := awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(&sv.DynamicScalingConfiguration, value); err != nil { return err } + case "EndpointName": if value != nil { jtv, ok := value.(string) @@ -93095,6 +96268,7 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.EndpointName = ptr.String(jtv) } + case "InferenceRecommendationsJobName": if value != nil { jtv, ok := value.(string) @@ -93103,10 +96277,12 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.InferenceRecommendationsJobName = ptr.String(jtv) } + case "Metric": if err := awsAwsjson11_deserializeDocumentScalingPolicyMetric(&sv.Metric, value); err != nil { return err } + case "RecommendationId": if value != nil { jtv, ok := value.(string) @@ -93115,10 +96291,12 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.RecommendationId = ptr.String(jtv) } + case "ScalingPolicyObjective": if err := awsAwsjson11_deserializeDocumentScalingPolicyObjective(&sv.ScalingPolicyObjective, value); err != nil { return err } + case "TargetCpuUtilizationPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -93131,6 +96309,7 @@ func awsAwsjson11_deserializeOpDocumentGetScalingConfigurationRecommendationOutp } sv.TargetCpuUtilizationPerCore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -93166,6 +96345,7 @@ func awsAwsjson11_deserializeOpDocumentGetSearchSuggestionsOutput(v **GetSearchS if err := awsAwsjson11_deserializeDocumentPropertyNameSuggestionList(&sv.PropertyNameSuggestions, value); err != nil { return err } + default: _, _ = key, value @@ -93205,6 +96385,7 @@ func awsAwsjson11_deserializeOpDocumentImportHubContentOutput(v **ImportHubConte } sv.HubArn = ptr.String(jtv) } + case "HubContentArn": if value != nil { jtv, ok := value.(string) @@ -93213,6 +96394,7 @@ func awsAwsjson11_deserializeOpDocumentImportHubContentOutput(v **ImportHubConte } sv.HubContentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -93248,6 +96430,7 @@ func awsAwsjson11_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, if err := awsAwsjson11_deserializeDocumentActionSummaries(&sv.ActionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93256,6 +96439,7 @@ func awsAwsjson11_deserializeOpDocumentListActionsOutput(v **ListActionsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93291,6 +96475,7 @@ func awsAwsjson11_deserializeOpDocumentListAlgorithmsOutput(v **ListAlgorithmsOu if err := awsAwsjson11_deserializeDocumentAlgorithmSummaryList(&sv.AlgorithmSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93299,6 +96484,7 @@ func awsAwsjson11_deserializeOpDocumentListAlgorithmsOutput(v **ListAlgorithmsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93338,10 +96524,12 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } + case "SageMakerImageVersionAliases": if err := awsAwsjson11_deserializeDocumentSageMakerImageVersionAliases(&sv.SageMakerImageVersionAliases, value); err != nil { return err } + default: _, _ = key, value @@ -93377,6 +96565,7 @@ func awsAwsjson11_deserializeOpDocumentListAppImageConfigsOutput(v **ListAppImag if err := awsAwsjson11_deserializeDocumentAppImageConfigList(&sv.AppImageConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93385,6 +96574,7 @@ func awsAwsjson11_deserializeOpDocumentListAppImageConfigsOutput(v **ListAppImag } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93420,6 +96610,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsAwsjson11_deserializeDocumentAppList(&sv.Apps, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93428,6 +96619,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93463,6 +96655,7 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp if err := awsAwsjson11_deserializeDocumentArtifactSummaries(&sv.ArtifactSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93471,6 +96664,7 @@ func awsAwsjson11_deserializeOpDocumentListArtifactsOutput(v **ListArtifactsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93506,6 +96700,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio if err := awsAwsjson11_deserializeDocumentAssociationSummaries(&sv.AssociationSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93514,6 +96709,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93549,6 +96745,7 @@ func awsAwsjson11_deserializeOpDocumentListAutoMLJobsOutput(v **ListAutoMLJobsOu if err := awsAwsjson11_deserializeDocumentAutoMLJobSummaries(&sv.AutoMLJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93557,6 +96754,7 @@ func awsAwsjson11_deserializeOpDocumentListAutoMLJobsOutput(v **ListAutoMLJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93592,6 +96790,7 @@ func awsAwsjson11_deserializeOpDocumentListCandidatesForAutoMLJobOutput(v **List if err := awsAwsjson11_deserializeDocumentAutoMLCandidates(&sv.Candidates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93600,6 +96799,7 @@ func awsAwsjson11_deserializeOpDocumentListCandidatesForAutoMLJobOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93635,6 +96835,7 @@ func awsAwsjson11_deserializeOpDocumentListClusterNodesOutput(v **ListClusterNod if err := awsAwsjson11_deserializeDocumentClusterNodeSummaries(&sv.ClusterNodeSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93643,6 +96844,7 @@ func awsAwsjson11_deserializeOpDocumentListClusterNodesOutput(v **ListClusterNod } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93678,6 +96880,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterSummaries(&sv.ClusterSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93686,6 +96889,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93721,6 +96925,7 @@ func awsAwsjson11_deserializeOpDocumentListCodeRepositoriesOutput(v **ListCodeRe if err := awsAwsjson11_deserializeDocumentCodeRepositorySummaryList(&sv.CodeRepositorySummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93729,6 +96934,7 @@ func awsAwsjson11_deserializeOpDocumentListCodeRepositoriesOutput(v **ListCodeRe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93764,6 +96970,7 @@ func awsAwsjson11_deserializeOpDocumentListCompilationJobsOutput(v **ListCompila if err := awsAwsjson11_deserializeDocumentCompilationJobSummaries(&sv.CompilationJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93772,6 +96979,7 @@ func awsAwsjson11_deserializeOpDocumentListCompilationJobsOutput(v **ListCompila } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93807,6 +97015,7 @@ func awsAwsjson11_deserializeOpDocumentListContextsOutput(v **ListContextsOutput if err := awsAwsjson11_deserializeDocumentContextSummaries(&sv.ContextSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93815,6 +97024,7 @@ func awsAwsjson11_deserializeOpDocumentListContextsOutput(v **ListContextsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93850,6 +97060,7 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityJobDefinitionsOutput(v **L if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93858,6 +97069,7 @@ func awsAwsjson11_deserializeOpDocumentListDataQualityJobDefinitionsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93893,6 +97105,7 @@ func awsAwsjson11_deserializeOpDocumentListDeviceFleetsOutput(v **ListDeviceFlee if err := awsAwsjson11_deserializeDocumentDeviceFleetSummaries(&sv.DeviceFleetSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93901,6 +97114,7 @@ func awsAwsjson11_deserializeOpDocumentListDeviceFleetsOutput(v **ListDeviceFlee } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93936,6 +97150,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsAwsjson11_deserializeDocumentDeviceSummaries(&sv.DeviceSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93944,6 +97159,7 @@ func awsAwsjson11_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -93979,6 +97195,7 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson11_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -93987,6 +97204,7 @@ func awsAwsjson11_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94022,6 +97240,7 @@ func awsAwsjson11_deserializeOpDocumentListEdgeDeploymentPlansOutput(v **ListEdg if err := awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummaries(&sv.EdgeDeploymentPlanSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94030,6 +97249,7 @@ func awsAwsjson11_deserializeOpDocumentListEdgeDeploymentPlansOutput(v **ListEdg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94065,6 +97285,7 @@ func awsAwsjson11_deserializeOpDocumentListEdgePackagingJobsOutput(v **ListEdgeP if err := awsAwsjson11_deserializeDocumentEdgePackagingJobSummaries(&sv.EdgePackagingJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94073,6 +97294,7 @@ func awsAwsjson11_deserializeOpDocumentListEdgePackagingJobsOutput(v **ListEdgeP } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94108,6 +97330,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointConfigsOutput(v **ListEndpoin if err := awsAwsjson11_deserializeDocumentEndpointConfigSummaryList(&sv.EndpointConfigs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94116,6 +97339,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointConfigsOutput(v **ListEndpoin } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94151,6 +97375,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp if err := awsAwsjson11_deserializeDocumentEndpointSummaryList(&sv.Endpoints, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94159,6 +97384,7 @@ func awsAwsjson11_deserializeOpDocumentListEndpointsOutput(v **ListEndpointsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94194,6 +97420,7 @@ func awsAwsjson11_deserializeOpDocumentListExperimentsOutput(v **ListExperiments if err := awsAwsjson11_deserializeDocumentExperimentSummaries(&sv.ExperimentSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94202,6 +97429,7 @@ func awsAwsjson11_deserializeOpDocumentListExperimentsOutput(v **ListExperiments } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94237,6 +97465,7 @@ func awsAwsjson11_deserializeOpDocumentListFeatureGroupsOutput(v **ListFeatureGr if err := awsAwsjson11_deserializeDocumentFeatureGroupSummaries(&sv.FeatureGroupSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94245,6 +97474,7 @@ func awsAwsjson11_deserializeOpDocumentListFeatureGroupsOutput(v **ListFeatureGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94280,6 +97510,7 @@ func awsAwsjson11_deserializeOpDocumentListFlowDefinitionsOutput(v **ListFlowDef if err := awsAwsjson11_deserializeDocumentFlowDefinitionSummaries(&sv.FlowDefinitionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94288,6 +97519,7 @@ func awsAwsjson11_deserializeOpDocumentListFlowDefinitionsOutput(v **ListFlowDef } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94323,6 +97555,7 @@ func awsAwsjson11_deserializeOpDocumentListHubContentsOutput(v **ListHubContents if err := awsAwsjson11_deserializeDocumentHubContentInfoList(&sv.HubContentSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94331,6 +97564,7 @@ func awsAwsjson11_deserializeOpDocumentListHubContentsOutput(v **ListHubContents } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94366,6 +97600,7 @@ func awsAwsjson11_deserializeOpDocumentListHubContentVersionsOutput(v **ListHubC if err := awsAwsjson11_deserializeDocumentHubContentInfoList(&sv.HubContentSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94374,6 +97609,7 @@ func awsAwsjson11_deserializeOpDocumentListHubContentVersionsOutput(v **ListHubC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94409,6 +97645,7 @@ func awsAwsjson11_deserializeOpDocumentListHubsOutput(v **ListHubsOutput, value if err := awsAwsjson11_deserializeDocumentHubInfoList(&sv.HubSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94417,6 +97654,7 @@ func awsAwsjson11_deserializeOpDocumentListHubsOutput(v **ListHubsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94452,6 +97690,7 @@ func awsAwsjson11_deserializeOpDocumentListHumanTaskUisOutput(v **ListHumanTaskU if err := awsAwsjson11_deserializeDocumentHumanTaskUiSummaries(&sv.HumanTaskUiSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94460,6 +97699,7 @@ func awsAwsjson11_deserializeOpDocumentListHumanTaskUisOutput(v **ListHumanTaskU } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94495,6 +97735,7 @@ func awsAwsjson11_deserializeOpDocumentListHyperParameterTuningJobsOutput(v **Li if err := awsAwsjson11_deserializeDocumentHyperParameterTuningJobSummaries(&sv.HyperParameterTuningJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94503,6 +97744,7 @@ func awsAwsjson11_deserializeOpDocumentListHyperParameterTuningJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94538,6 +97780,7 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va if err := awsAwsjson11_deserializeDocumentImages(&sv.Images, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94546,6 +97789,7 @@ func awsAwsjson11_deserializeOpDocumentListImagesOutput(v **ListImagesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94581,6 +97825,7 @@ func awsAwsjson11_deserializeOpDocumentListImageVersionsOutput(v **ListImageVers if err := awsAwsjson11_deserializeDocumentImageVersions(&sv.ImageVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94589,6 +97834,7 @@ func awsAwsjson11_deserializeOpDocumentListImageVersionsOutput(v **ListImageVers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94624,6 +97870,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceComponentsOutput(v **ListInf if err := awsAwsjson11_deserializeDocumentInferenceComponentSummaryList(&sv.InferenceComponents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94632,6 +97879,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceComponentsOutput(v **ListInf } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94667,6 +97915,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceExperimentsOutput(v **ListIn if err := awsAwsjson11_deserializeDocumentInferenceExperimentList(&sv.InferenceExperiments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94675,6 +97924,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceExperimentsOutput(v **ListIn } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94710,6 +97960,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobsOutput(v if err := awsAwsjson11_deserializeDocumentInferenceRecommendationsJobs(&sv.InferenceRecommendationsJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94718,6 +97969,7 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94757,10 +98009,12 @@ func awsAwsjson11_deserializeOpDocumentListInferenceRecommendationsJobStepsOutpu } sv.NextToken = ptr.String(jtv) } + case "Steps": if err := awsAwsjson11_deserializeDocumentInferenceRecommendationsJobSteps(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -94796,6 +98050,7 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsForWorkteamOutput(v **Lis if err := awsAwsjson11_deserializeDocumentLabelingJobForWorkteamSummaryList(&sv.LabelingJobSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94804,6 +98059,7 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsForWorkteamOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94839,6 +98095,7 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsOutput(v **ListLabelingJo if err := awsAwsjson11_deserializeDocumentLabelingJobSummaryList(&sv.LabelingJobSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94847,6 +98104,7 @@ func awsAwsjson11_deserializeOpDocumentListLabelingJobsOutput(v **ListLabelingJo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94882,6 +98140,7 @@ func awsAwsjson11_deserializeOpDocumentListLineageGroupsOutput(v **ListLineageGr if err := awsAwsjson11_deserializeDocumentLineageGroupSummaries(&sv.LineageGroupSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94890,6 +98149,7 @@ func awsAwsjson11_deserializeOpDocumentListLineageGroupsOutput(v **ListLineageGr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -94929,10 +98189,12 @@ func awsAwsjson11_deserializeOpDocumentListMlflowTrackingServersOutput(v **ListM } sv.NextToken = ptr.String(jtv) } + case "TrackingServerSummaries": if err := awsAwsjson11_deserializeDocumentTrackingServerSummaryList(&sv.TrackingServerSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -94968,6 +98230,7 @@ func awsAwsjson11_deserializeOpDocumentListModelBiasJobDefinitionsOutput(v **Lis if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -94976,6 +98239,7 @@ func awsAwsjson11_deserializeOpDocumentListModelBiasJobDefinitionsOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95011,6 +98275,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardExportJobsOutput(v **ListMod if err := awsAwsjson11_deserializeDocumentModelCardExportJobSummaryList(&sv.ModelCardExportJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95019,6 +98284,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardExportJobsOutput(v **ListMod } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95054,6 +98320,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardsOutput(v **ListModelCardsOu if err := awsAwsjson11_deserializeDocumentModelCardSummaryList(&sv.ModelCardSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95062,6 +98329,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardsOutput(v **ListModelCardsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95097,6 +98365,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardVersionsOutput(v **ListModel if err := awsAwsjson11_deserializeDocumentModelCardVersionSummaryList(&sv.ModelCardVersionSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95105,6 +98374,7 @@ func awsAwsjson11_deserializeOpDocumentListModelCardVersionsOutput(v **ListModel } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95140,6 +98410,7 @@ func awsAwsjson11_deserializeOpDocumentListModelExplainabilityJobDefinitionsOutp if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95148,6 +98419,7 @@ func awsAwsjson11_deserializeOpDocumentListModelExplainabilityJobDefinitionsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95183,6 +98455,7 @@ func awsAwsjson11_deserializeOpDocumentListModelMetadataOutput(v **ListModelMeta if err := awsAwsjson11_deserializeDocumentModelMetadataSummaries(&sv.ModelMetadataSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95191,6 +98464,7 @@ func awsAwsjson11_deserializeOpDocumentListModelMetadataOutput(v **ListModelMeta } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95226,6 +98500,7 @@ func awsAwsjson11_deserializeOpDocumentListModelPackageGroupsOutput(v **ListMode if err := awsAwsjson11_deserializeDocumentModelPackageGroupSummaryList(&sv.ModelPackageGroupSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95234,6 +98509,7 @@ func awsAwsjson11_deserializeOpDocumentListModelPackageGroupsOutput(v **ListMode } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95269,6 +98545,7 @@ func awsAwsjson11_deserializeOpDocumentListModelPackagesOutput(v **ListModelPack if err := awsAwsjson11_deserializeDocumentModelPackageSummaryList(&sv.ModelPackageSummaryList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95277,6 +98554,7 @@ func awsAwsjson11_deserializeOpDocumentListModelPackagesOutput(v **ListModelPack } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95312,6 +98590,7 @@ func awsAwsjson11_deserializeOpDocumentListModelQualityJobDefinitionsOutput(v ** if err := awsAwsjson11_deserializeDocumentMonitoringJobDefinitionSummaryList(&sv.JobDefinitionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95320,6 +98599,7 @@ func awsAwsjson11_deserializeOpDocumentListModelQualityJobDefinitionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95355,6 +98635,7 @@ func awsAwsjson11_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va if err := awsAwsjson11_deserializeDocumentModelSummaryList(&sv.Models, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95363,6 +98644,7 @@ func awsAwsjson11_deserializeOpDocumentListModelsOutput(v **ListModelsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95398,6 +98680,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertHistoryOutput(v **List if err := awsAwsjson11_deserializeDocumentMonitoringAlertHistoryList(&sv.MonitoringAlertHistory, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95406,6 +98689,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertHistoryOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95441,6 +98725,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertsOutput(v **ListMonito if err := awsAwsjson11_deserializeDocumentMonitoringAlertSummaryList(&sv.MonitoringAlertSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95449,6 +98734,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringAlertsOutput(v **ListMonito } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95484,6 +98770,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringExecutionsOutput(v **ListMo if err := awsAwsjson11_deserializeDocumentMonitoringExecutionSummaryList(&sv.MonitoringExecutionSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95492,6 +98779,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringExecutionsOutput(v **ListMo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95527,6 +98815,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringSchedulesOutput(v **ListMon if err := awsAwsjson11_deserializeDocumentMonitoringScheduleSummaryList(&sv.MonitoringScheduleSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -95535,6 +98824,7 @@ func awsAwsjson11_deserializeOpDocumentListMonitoringSchedulesOutput(v **ListMon } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -95574,10 +98864,12 @@ func awsAwsjson11_deserializeOpDocumentListNotebookInstanceLifecycleConfigsOutpu } sv.NextToken = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigs": if err := awsAwsjson11_deserializeDocumentNotebookInstanceLifecycleConfigSummaryList(&sv.NotebookInstanceLifecycleConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -95617,10 +98909,12 @@ func awsAwsjson11_deserializeOpDocumentListNotebookInstancesOutput(v **ListNoteb } sv.NextToken = ptr.String(jtv) } + case "NotebookInstances": if err := awsAwsjson11_deserializeDocumentNotebookInstanceSummaryList(&sv.NotebookInstances, value); err != nil { return err } + default: _, _ = key, value @@ -95660,10 +98954,12 @@ func awsAwsjson11_deserializeOpDocumentListOptimizationJobsOutput(v **ListOptimi } sv.NextToken = ptr.String(jtv) } + case "OptimizationJobSummaries": if err := awsAwsjson11_deserializeDocumentOptimizationJobSummaries(&sv.OptimizationJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -95703,10 +98999,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionsOutput(v **ListPipe } sv.NextToken = ptr.String(jtv) } + case "PipelineExecutionSummaries": if err := awsAwsjson11_deserializeDocumentPipelineExecutionSummaryList(&sv.PipelineExecutionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -95746,10 +99044,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelineExecutionStepsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "PipelineExecutionSteps": if err := awsAwsjson11_deserializeDocumentPipelineExecutionStepList(&sv.PipelineExecutionSteps, value); err != nil { return err } + default: _, _ = key, value @@ -95789,10 +99089,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelineParametersForExecutionOutput( } sv.NextToken = ptr.String(jtv) } + case "PipelineParameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.PipelineParameters, value); err != nil { return err } + default: _, _ = key, value @@ -95832,10 +99134,12 @@ func awsAwsjson11_deserializeOpDocumentListPipelinesOutput(v **ListPipelinesOutp } sv.NextToken = ptr.String(jtv) } + case "PipelineSummaries": if err := awsAwsjson11_deserializeDocumentPipelineSummaryList(&sv.PipelineSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -95875,10 +99179,12 @@ func awsAwsjson11_deserializeOpDocumentListProcessingJobsOutput(v **ListProcessi } sv.NextToken = ptr.String(jtv) } + case "ProcessingJobSummaries": if err := awsAwsjson11_deserializeDocumentProcessingJobSummaries(&sv.ProcessingJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -95918,10 +99224,12 @@ func awsAwsjson11_deserializeOpDocumentListProjectsOutput(v **ListProjectsOutput } sv.NextToken = ptr.String(jtv) } + case "ProjectSummaryList": if err := awsAwsjson11_deserializeDocumentProjectSummaryList(&sv.ProjectSummaryList, value); err != nil { return err } + default: _, _ = key, value @@ -95961,10 +99269,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceCatalogsOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } + case "ResourceCatalogs": if err := awsAwsjson11_deserializeDocumentResourceCatalogList(&sv.ResourceCatalogs, value); err != nil { return err } + default: _, _ = key, value @@ -96004,10 +99314,12 @@ func awsAwsjson11_deserializeOpDocumentListSpacesOutput(v **ListSpacesOutput, va } sv.NextToken = ptr.String(jtv) } + case "Spaces": if err := awsAwsjson11_deserializeDocumentSpaceList(&sv.Spaces, value); err != nil { return err } + default: _, _ = key, value @@ -96043,6 +99355,7 @@ func awsAwsjson11_deserializeOpDocumentListStageDevicesOutput(v **ListStageDevic if err := awsAwsjson11_deserializeDocumentDeviceDeploymentSummaries(&sv.DeviceDeploymentSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96051,6 +99364,7 @@ func awsAwsjson11_deserializeOpDocumentListStageDevicesOutput(v **ListStageDevic } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -96090,10 +99404,12 @@ func awsAwsjson11_deserializeOpDocumentListStudioLifecycleConfigsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "StudioLifecycleConfigs": if err := awsAwsjson11_deserializeDocumentStudioLifecycleConfigsList(&sv.StudioLifecycleConfigs, value); err != nil { return err } + default: _, _ = key, value @@ -96133,10 +99449,12 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedWorkteamsOutput(v **ListSub } sv.NextToken = ptr.String(jtv) } + case "SubscribedWorkteams": if err := awsAwsjson11_deserializeDocumentSubscribedWorkteams(&sv.SubscribedWorkteams, value); err != nil { return err } + default: _, _ = key, value @@ -96176,10 +99494,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -96219,10 +99539,12 @@ func awsAwsjson11_deserializeOpDocumentListTrainingJobsForHyperParameterTuningJo } sv.NextToken = ptr.String(jtv) } + case "TrainingJobSummaries": if err := awsAwsjson11_deserializeDocumentHyperParameterTrainingJobSummaries(&sv.TrainingJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -96262,10 +99584,12 @@ func awsAwsjson11_deserializeOpDocumentListTrainingJobsOutput(v **ListTrainingJo } sv.NextToken = ptr.String(jtv) } + case "TrainingJobSummaries": if err := awsAwsjson11_deserializeDocumentTrainingJobSummaries(&sv.TrainingJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -96305,10 +99629,12 @@ func awsAwsjson11_deserializeOpDocumentListTransformJobsOutput(v **ListTransform } sv.NextToken = ptr.String(jtv) } + case "TransformJobSummaries": if err := awsAwsjson11_deserializeDocumentTransformJobSummaries(&sv.TransformJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -96348,10 +99674,12 @@ func awsAwsjson11_deserializeOpDocumentListTrialComponentsOutput(v **ListTrialCo } sv.NextToken = ptr.String(jtv) } + case "TrialComponentSummaries": if err := awsAwsjson11_deserializeDocumentTrialComponentSummaries(&sv.TrialComponentSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -96391,10 +99719,12 @@ func awsAwsjson11_deserializeOpDocumentListTrialsOutput(v **ListTrialsOutput, va } sv.NextToken = ptr.String(jtv) } + case "TrialSummaries": if err := awsAwsjson11_deserializeDocumentTrialSummaries(&sv.TrialSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -96434,10 +99764,12 @@ func awsAwsjson11_deserializeOpDocumentListUserProfilesOutput(v **ListUserProfil } sv.NextToken = ptr.String(jtv) } + case "UserProfiles": if err := awsAwsjson11_deserializeDocumentUserProfileList(&sv.UserProfiles, value); err != nil { return err } + default: _, _ = key, value @@ -96477,10 +99809,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkforcesOutput(v **ListWorkforcesOu } sv.NextToken = ptr.String(jtv) } + case "Workforces": if err := awsAwsjson11_deserializeDocumentWorkforces(&sv.Workforces, value); err != nil { return err } + default: _, _ = key, value @@ -96520,10 +99854,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkteamsOutput(v **ListWorkteamsOutp } sv.NextToken = ptr.String(jtv) } + case "Workteams": if err := awsAwsjson11_deserializeDocumentWorkteams(&sv.Workteams, value); err != nil { return err } + default: _, _ = key, value @@ -96563,6 +99899,7 @@ func awsAwsjson11_deserializeOpDocumentPutModelPackageGroupPolicyOutput(v **PutM } sv.ModelPackageGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96598,6 +99935,7 @@ func awsAwsjson11_deserializeOpDocumentQueryLineageOutput(v **QueryLineageOutput if err := awsAwsjson11_deserializeDocumentEdges(&sv.Edges, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -96606,10 +99944,12 @@ func awsAwsjson11_deserializeOpDocumentQueryLineageOutput(v **QueryLineageOutput } sv.NextToken = ptr.String(jtv) } + case "Vertices": if err := awsAwsjson11_deserializeDocumentVertices(&sv.Vertices, value); err != nil { return err } + default: _, _ = key, value @@ -96645,6 +99985,7 @@ func awsAwsjson11_deserializeOpDocumentRenderUiTemplateOutput(v **RenderUiTempla if err := awsAwsjson11_deserializeDocumentRenderingErrorList(&sv.Errors, value); err != nil { return err } + case "RenderedContent": if value != nil { jtv, ok := value.(string) @@ -96653,6 +99994,7 @@ func awsAwsjson11_deserializeOpDocumentRenderUiTemplateOutput(v **RenderUiTempla } sv.RenderedContent = ptr.String(jtv) } + default: _, _ = key, value @@ -96692,6 +100034,7 @@ func awsAwsjson11_deserializeOpDocumentRetryPipelineExecutionOutput(v **RetryPip } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96731,10 +100074,12 @@ func awsAwsjson11_deserializeOpDocumentSearchOutput(v **SearchOutput, value inte } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentSearchResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -96774,6 +100119,7 @@ func awsAwsjson11_deserializeOpDocumentSendPipelineExecutionStepFailureOutput(v } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96813,6 +100159,7 @@ func awsAwsjson11_deserializeOpDocumentSendPipelineExecutionStepSuccessOutput(v } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96852,6 +100199,7 @@ func awsAwsjson11_deserializeOpDocumentStartInferenceExperimentOutput(v **StartI } sv.InferenceExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96891,6 +100239,7 @@ func awsAwsjson11_deserializeOpDocumentStartMlflowTrackingServerOutput(v **Start } sv.TrackingServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96930,6 +100279,7 @@ func awsAwsjson11_deserializeOpDocumentStartPipelineExecutionOutput(v **StartPip } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -96969,6 +100319,7 @@ func awsAwsjson11_deserializeOpDocumentStopInferenceExperimentOutput(v **StopInf } sv.InferenceExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97008,6 +100359,7 @@ func awsAwsjson11_deserializeOpDocumentStopMlflowTrackingServerOutput(v **StopMl } sv.TrackingServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97047,6 +100399,7 @@ func awsAwsjson11_deserializeOpDocumentStopPipelineExecutionOutput(v **StopPipel } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97086,6 +100439,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateActionOutput(v **UpdateActionOutput } sv.ActionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97125,6 +100479,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppImageConfigOutput(v **UpdateAppI } sv.AppImageConfigArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97164,6 +100519,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateArtifactOutput(v **UpdateArtifactOu } sv.ArtifactArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97203,6 +100559,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterOutput(v **UpdateClusterOutp } sv.ClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97242,6 +100599,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateClusterSoftwareOutput(v **UpdateClu } sv.ClusterArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97281,6 +100639,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCodeRepositoryOutput(v **UpdateCode } sv.CodeRepositoryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97320,6 +100679,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateContextOutput(v **UpdateContextOutp } sv.ContextArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97359,6 +100719,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput } sv.DomainArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97398,6 +100759,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointOutput(v **UpdateEndpointOu } sv.EndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97437,6 +100799,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateEndpointWeightsAndCapacitiesOutput( } sv.EndpointArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97476,6 +100839,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateExperimentOutput(v **UpdateExperime } sv.ExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97515,6 +100879,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFeatureGroupOutput(v **UpdateFeatur } sv.FeatureGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97554,6 +100919,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateHubOutput(v **UpdateHubOutput, valu } sv.HubArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97593,6 +100959,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateImageOutput(v **UpdateImageOutput, } sv.ImageArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97632,6 +100999,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateImageVersionOutput(v **UpdateImageV } sv.ImageVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97671,6 +101039,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceComponentOutput(v **Update } sv.InferenceComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97710,6 +101079,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceComponentRuntimeConfigOutp } sv.InferenceComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97749,6 +101119,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateInferenceExperimentOutput(v **Updat } sv.InferenceExperimentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97788,6 +101159,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMlflowTrackingServerOutput(v **Upda } sv.TrackingServerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97827,6 +101199,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelCardOutput(v **UpdateModelCard } sv.ModelCardArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97866,6 +101239,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateModelPackageOutput(v **UpdateModelP } sv.ModelPackageArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97905,6 +101279,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringAlertOutput(v **UpdateMon } sv.MonitoringAlertName = ptr.String(jtv) } + case "MonitoringScheduleArn": if value != nil { jtv, ok := value.(string) @@ -97913,6 +101288,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringAlertOutput(v **UpdateMon } sv.MonitoringScheduleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -97952,6 +101328,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMonitoringScheduleOutput(v **Update } sv.MonitoringScheduleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98053,6 +101430,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineExecutionOutput(v **UpdateP } sv.PipelineExecutionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98092,6 +101470,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(v **UpdatePipelineOu } sv.PipelineArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98131,6 +101510,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(v **UpdateProjectOutp } sv.ProjectArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98170,6 +101550,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSpaceOutput(v **UpdateSpaceOutput, } sv.SpaceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98209,6 +101590,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrainingJobOutput(v **UpdateTrainin } sv.TrainingJobArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98248,6 +101630,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrialComponentOutput(v **UpdateTria } sv.TrialComponentArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98287,6 +101670,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTrialOutput(v **UpdateTrialOutput, } sv.TrialArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98326,6 +101710,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserProfileOutput(v **UpdateUserPro } sv.UserProfileArn = ptr.String(jtv) } + default: _, _ = key, value @@ -98361,6 +101746,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkforceOutput(v **UpdateWorkforce if err := awsAwsjson11_deserializeDocumentWorkforce(&sv.Workforce, value); err != nil { return err } + default: _, _ = key, value @@ -98396,6 +101782,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkteamOutput(v **UpdateWorkteamOu if err := awsAwsjson11_deserializeDocumentWorkteam(&sv.Workteam, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/sagemakera2iruntime/deserializers.go b/service/sagemakera2iruntime/deserializers.go index 1bd1dd26714..70ec90231e6 100644 --- a/service/sagemakera2iruntime/deserializers.go +++ b/service/sagemakera2iruntime/deserializers.go @@ -285,6 +285,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.CreationTime = ptr.Time(t) } + case "FailureCode": if value != nil { jtv, ok := value.(string) @@ -293,6 +294,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FailureCode = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -301,6 +303,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FailureReason = ptr.String(jtv) } + case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -309,6 +312,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.FlowDefinitionArn = ptr.String(jtv) } + case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -317,6 +321,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopArn = ptr.String(jtv) } + case "HumanLoopName": if value != nil { jtv, ok := value.(string) @@ -325,10 +330,12 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopName = ptr.String(jtv) } + case "HumanLoopOutput": if err := awsRestjson1_deserializeDocumentHumanLoopOutput(&sv.HumanLoopOutput, value); err != nil { return err } + case "HumanLoopStatus": if value != nil { jtv, ok := value.(string) @@ -337,6 +344,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHumanLoopOutput(v **DescribeHuman } sv.HumanLoopStatus = types.HumanLoopStatus(jtv) } + default: _, _ = key, value @@ -497,6 +505,7 @@ func awsRestjson1_deserializeOpDocumentListHumanLoopsOutput(v **ListHumanLoopsOu if err := awsRestjson1_deserializeDocumentHumanLoopSummaries(&sv.HumanLoopSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -505,6 +514,7 @@ func awsRestjson1_deserializeOpDocumentListHumanLoopsOutput(v **ListHumanLoopsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -672,6 +682,7 @@ func awsRestjson1_deserializeOpDocumentStartHumanLoopOutput(v **StartHumanLoopOu } sv.HumanLoopArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1024,6 +1035,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1063,6 +1075,7 @@ func awsRestjson1_deserializeDocumentHumanLoopOutput(v **types.HumanLoopOutput, } sv.OutputS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -1140,6 +1153,7 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.CreationTime = ptr.Time(t) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -1148,6 +1162,7 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.FailureReason = ptr.String(jtv) } + case "FlowDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -1156,6 +1171,7 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.FlowDefinitionArn = ptr.String(jtv) } + case "HumanLoopName": if value != nil { jtv, ok := value.(string) @@ -1164,6 +1180,7 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.HumanLoopName = ptr.String(jtv) } + case "HumanLoopStatus": if value != nil { jtv, ok := value.(string) @@ -1172,6 +1189,7 @@ func awsRestjson1_deserializeDocumentHumanLoopSummary(v **types.HumanLoopSummary } sv.HumanLoopStatus = types.HumanLoopStatus(jtv) } + default: _, _ = key, value @@ -1211,6 +1229,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1250,6 +1269,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1289,6 +1309,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1328,6 +1349,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1367,6 +1389,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sagemakeredge/deserializers.go b/service/sagemakeredge/deserializers.go index d7f45b859b9..bb2c117bd83 100644 --- a/service/sagemakeredge/deserializers.go +++ b/service/sagemakeredge/deserializers.go @@ -172,6 +172,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentsOutput(v **GetDeploymentsOu if err := awsRestjson1_deserializeDocumentEdgeDeployments(&sv.Deployments, value); err != nil { return err } + default: _, _ = key, value @@ -327,6 +328,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceRegistrationOutput(v **GetDevice } sv.CacheTTL = ptr.String(jtv) } + case "DeviceRegistration": if value != nil { jtv, ok := value.(string) @@ -335,6 +337,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceRegistrationOutput(v **GetDevice } sv.DeviceRegistration = ptr.String(jtv) } + default: _, _ = key, value @@ -504,6 +507,7 @@ func awsRestjson1_deserializeDocumentChecksum(v **types.Checksum, value interfac } sv.Sum = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -512,6 +516,7 @@ func awsRestjson1_deserializeDocumentChecksum(v **types.Checksum, value interfac } sv.Type = types.ChecksumType(jtv) } + default: _, _ = key, value @@ -547,6 +552,7 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte if err := awsRestjson1_deserializeDocumentChecksum(&sv.Checksum, value); err != nil { return err } + case "ModelHandle": if value != nil { jtv, ok := value.(string) @@ -555,6 +561,7 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.ModelHandle = ptr.String(jtv) } + case "S3Url": if value != nil { jtv, ok := value.(string) @@ -563,6 +570,7 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.S3Url = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -571,6 +579,7 @@ func awsRestjson1_deserializeDocumentDefinition(v **types.Definition, value inte } sv.State = types.ModelState(jtv) } + default: _, _ = key, value @@ -640,6 +649,7 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va if err := awsRestjson1_deserializeDocumentDefinitions(&sv.Definitions, value); err != nil { return err } + case "DeploymentName": if value != nil { jtv, ok := value.(string) @@ -648,6 +658,7 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.DeploymentName = ptr.String(jtv) } + case "FailureHandlingPolicy": if value != nil { jtv, ok := value.(string) @@ -656,6 +667,7 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.FailureHandlingPolicy = types.FailureHandlingPolicy(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -664,6 +676,7 @@ func awsRestjson1_deserializeDocumentEdgeDeployment(v **types.EdgeDeployment, va } sv.Type = types.DeploymentType(jtv) } + default: _, _ = key, value @@ -737,6 +750,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sagemakerfeaturestoreruntime/deserializers.go b/service/sagemakerfeaturestoreruntime/deserializers.go index 7a2f2bc059f..e2d1da636a2 100644 --- a/service/sagemakerfeaturestoreruntime/deserializers.go +++ b/service/sagemakerfeaturestoreruntime/deserializers.go @@ -181,14 +181,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetRecordOutput(v **BatchGetRecordOu if err := awsRestjson1_deserializeDocumentBatchGetRecordErrors(&sv.Errors, value); err != nil { return err } + case "Records": if err := awsRestjson1_deserializeDocumentBatchGetRecordResultDetails(&sv.Records, value); err != nil { return err } + case "UnprocessedIdentifiers": if err := awsRestjson1_deserializeDocumentUnprocessedIdentifiers(&sv.UnprocessedIdentifiers, value); err != nil { return err } + default: _, _ = key, value @@ -459,10 +462,12 @@ func awsRestjson1_deserializeOpDocumentGetRecordOutput(v **GetRecordOutput, valu } sv.ExpiresAt = ptr.String(jtv) } + case "Record": if err := awsRestjson1_deserializeDocumentRecord(&sv.Record, value); err != nil { return err } + default: _, _ = key, value @@ -785,6 +790,7 @@ func awsRestjson1_deserializeDocumentAccessForbidden(v **types.AccessForbidden, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -824,6 +830,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -832,6 +839,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.ErrorMessage = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -840,6 +848,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.FeatureGroupName = ptr.String(jtv) } + case "RecordIdentifierValueAsString": if value != nil { jtv, ok := value.(string) @@ -848,6 +857,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordError(v **types.BatchGetRecor } sv.RecordIdentifierValueAsString = ptr.String(jtv) } + default: _, _ = key, value @@ -921,14 +931,17 @@ func awsRestjson1_deserializeDocumentBatchGetRecordIdentifier(v **types.BatchGet } sv.FeatureGroupName = ptr.String(jtv) } + case "FeatureNames": if err := awsRestjson1_deserializeDocumentFeatureNames(&sv.FeatureNames, value); err != nil { return err } + case "RecordIdentifiersValueAsString": if err := awsRestjson1_deserializeDocumentRecordIdentifiers(&sv.RecordIdentifiersValueAsString, value); err != nil { return err } + default: _, _ = key, value @@ -968,6 +981,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.ExpiresAt = ptr.String(jtv) } + case "FeatureGroupName": if value != nil { jtv, ok := value.(string) @@ -976,10 +990,12 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.FeatureGroupName = ptr.String(jtv) } + case "Record": if err := awsRestjson1_deserializeDocumentRecord(&sv.Record, value); err != nil { return err } + case "RecordIdentifierValueAsString": if value != nil { jtv, ok := value.(string) @@ -988,6 +1004,7 @@ func awsRestjson1_deserializeDocumentBatchGetRecordResultDetail(v **types.BatchG } sv.RecordIdentifierValueAsString = ptr.String(jtv) } + default: _, _ = key, value @@ -1097,6 +1114,7 @@ func awsRestjson1_deserializeDocumentFeatureValue(v **types.FeatureValue, value } sv.FeatureName = ptr.String(jtv) } + case "ValueAsString": if value != nil { jtv, ok := value.(string) @@ -1105,10 +1123,12 @@ func awsRestjson1_deserializeDocumentFeatureValue(v **types.FeatureValue, value } sv.ValueAsString = ptr.String(jtv) } + case "ValueAsStringList": if err := awsRestjson1_deserializeDocumentValueAsStringList(&sv.ValueAsStringList, value); err != nil { return err } + default: _, _ = key, value @@ -1148,6 +1168,7 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1257,6 +1278,7 @@ func awsRestjson1_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1296,6 +1318,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1369,6 +1392,7 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sagemakergeospatial/deserializers.go b/service/sagemakergeospatial/deserializers.go index 42dacf8efc1..cf5a0db3387 100644 --- a/service/sagemakergeospatial/deserializers.go +++ b/service/sagemakergeospatial/deserializers.go @@ -400,6 +400,7 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -412,6 +413,7 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.CreationTime = ptr.Time(t) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -420,6 +422,7 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ExportSourceImages": if value != nil { jtv, ok := value.(bool) @@ -428,6 +431,7 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExportSourceImages = ptr.Bool(jtv) } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -436,10 +440,12 @@ func awsRestjson1_deserializeOpDocumentExportEarthObservationJobOutput(v **Expor } sv.ExportStatus = types.EarthObservationJobExportStatus(jtv) } + case "OutputConfig": if err := awsRestjson1_deserializeDocumentOutputConfigInput(&sv.OutputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -613,6 +619,7 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -625,6 +632,7 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.CreationTime = ptr.Time(t) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -633,6 +641,7 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -641,10 +650,12 @@ func awsRestjson1_deserializeOpDocumentExportVectorEnrichmentJobOutput(v **Expor } sv.ExportStatus = types.VectorEnrichmentJobExportStatus(jtv) } + case "OutputConfig": if err := awsRestjson1_deserializeDocumentExportVectorEnrichmentJobOutputConfig(&sv.OutputConfig, value); err != nil { return err } + default: _, _ = key, value @@ -812,6 +823,7 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -824,6 +836,7 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -836,10 +849,12 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -848,10 +863,12 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ExportErrorDetails": if err := awsRestjson1_deserializeDocumentExportErrorDetails(&sv.ExportErrorDetails, value); err != nil { return err } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -860,14 +877,17 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.ExportStatus = types.EarthObservationJobExportStatus(jtv) } + case "InputConfig": if err := awsRestjson1_deserializeDocumentInputConfigOutput(&sv.InputConfig, value); err != nil { return err } + case "JobConfig": if err := awsRestjson1_deserializeDocumentJobConfigInput(&sv.JobConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -876,6 +896,7 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -884,10 +905,12 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Name = ptr.String(jtv) } + case "OutputBands": if err := awsRestjson1_deserializeDocumentEarthObservationJobOutputBands(&sv.OutputBands, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -896,10 +919,12 @@ func awsRestjson1_deserializeOpDocumentGetEarthObservationJobOutput(v **GetEarth } sv.Status = types.EarthObservationJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1067,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1075,6 +1101,7 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Description = ptr.String(jtv) } + case "DescriptionPageUrl": if value != nil { jtv, ok := value.(string) @@ -1083,10 +1110,12 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.DescriptionPageUrl = ptr.String(jtv) } + case "ImageSourceBands": if err := awsRestjson1_deserializeDocumentImageSourceBandList(&sv.ImageSourceBands, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1095,14 +1124,17 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Name = ptr.String(jtv) } + case "SupportedFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.SupportedFilters, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1111,6 +1143,7 @@ func awsRestjson1_deserializeOpDocumentGetRasterDataCollectionOutput(v **GetRast } sv.Type = types.DataCollectionType(jtv) } + default: _, _ = key, value @@ -1392,6 +1425,7 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -1404,6 +1438,7 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1416,10 +1451,12 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ErrorDetails": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -1428,10 +1465,12 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.ExecutionRoleArn = ptr.String(jtv) } + case "ExportErrorDetails": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(&sv.ExportErrorDetails, value); err != nil { return err } + case "ExportStatus": if value != nil { jtv, ok := value.(string) @@ -1440,14 +1479,17 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.ExportStatus = types.VectorEnrichmentJobExportStatus(jtv) } + case "InputConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "JobConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobConfig(&sv.JobConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -1456,6 +1498,7 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1464,6 +1507,7 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1472,10 +1516,12 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Status = types.VectorEnrichmentJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1484,6 +1530,7 @@ func awsRestjson1_deserializeOpDocumentGetVectorEnrichmentJobOutput(v **GetVecto } sv.Type = types.VectorEnrichmentJobType(jtv) } + default: _, _ = key, value @@ -1647,6 +1694,7 @@ func awsRestjson1_deserializeOpDocumentListEarthObservationJobsOutput(v **ListEa if err := awsRestjson1_deserializeDocumentEarthObservationJobList(&sv.EarthObservationJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1655,6 +1703,7 @@ func awsRestjson1_deserializeOpDocumentListEarthObservationJobsOutput(v **ListEa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1822,10 +1871,12 @@ func awsRestjson1_deserializeOpDocumentListRasterDataCollectionsOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + case "RasterDataCollectionSummaries": if err := awsRestjson1_deserializeDocumentDataCollectionsList(&sv.RasterDataCollectionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1989,6 +2040,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2156,10 +2208,12 @@ func awsRestjson1_deserializeOpDocumentListVectorEnrichmentJobsOutput(v **ListVe } sv.NextToken = ptr.String(jtv) } + case "VectorEnrichmentJobSummaries": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobList(&sv.VectorEnrichmentJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -2331,10 +2385,12 @@ func awsRestjson1_deserializeOpDocumentSearchRasterDataCollectionOutput(v **Sear } sv.ApproximateResultCount = ptr.Int32(int32(i64)) } + case "Items": if err := awsRestjson1_deserializeDocumentItemSourceList(&sv.Items, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2343,6 +2399,7 @@ func awsRestjson1_deserializeOpDocumentSearchRasterDataCollectionOutput(v **Sear } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2516,6 +2573,7 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -2528,6 +2586,7 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2540,6 +2599,7 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2548,14 +2608,17 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.ExecutionRoleArn = ptr.String(jtv) } + case "InputConfig": if err := awsRestjson1_deserializeDocumentInputConfigOutput(&sv.InputConfig, value); err != nil { return err } + case "JobConfig": if err := awsRestjson1_deserializeDocumentJobConfigInput(&sv.JobConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2564,6 +2627,7 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2636,7 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2580,10 +2645,12 @@ func awsRestjson1_deserializeOpDocumentStartEarthObservationJobOutput(v **StartE } sv.Status = types.EarthObservationJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2757,6 +2824,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -2769,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2781,6 +2850,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -2789,14 +2859,17 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.ExecutionRoleArn = ptr.String(jtv) } + case "InputConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(&sv.InputConfig, value); err != nil { return err } + case "JobConfig": if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobConfig(&sv.JobConfig, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -2805,6 +2878,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2813,6 +2887,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2821,10 +2896,12 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Status = types.VectorEnrichmentJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2833,6 +2910,7 @@ func awsRestjson1_deserializeOpDocumentStartVectorEnrichmentJobOutput(v **StartV } sv.Type = types.VectorEnrichmentJobType(jtv) } + default: _, _ = key, value @@ -3530,6 +3608,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3692,6 +3771,7 @@ func awsRestjson1_deserializeDocumentAssetValue(v **types.AssetValue, value inte } sv.Href = ptr.String(jtv) } + default: _, _ = key, value @@ -3727,10 +3807,12 @@ func awsRestjson1_deserializeDocumentBandMathConfigInput(v **types.BandMathConfi if err := awsRestjson1_deserializeDocumentCustomIndicesInput(&sv.CustomIndices, value); err != nil { return err } + case "PredefinedIndices": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.PredefinedIndices, value); err != nil { return err } + default: _, _ = key, value @@ -3801,6 +3883,7 @@ func awsRestjson1_deserializeDocumentCloudRemovalConfigInput(v **types.CloudRemo } sv.AlgorithmName = types.AlgorithmNameCloudRemoval(jtv) } + case "InterpolationValue": if value != nil { jtv, ok := value.(string) @@ -3809,10 +3892,12 @@ func awsRestjson1_deserializeDocumentCloudRemovalConfigInput(v **types.CloudRemo } sv.InterpolationValue = ptr.String(jtv) } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + default: _, _ = key, value @@ -3852,6 +3937,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -3860,6 +3946,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3895,6 +3982,7 @@ func awsRestjson1_deserializeDocumentCustomIndicesInput(v **types.CustomIndicesI if err := awsRestjson1_deserializeDocumentOperationsListInput(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -3968,6 +4056,7 @@ func awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(v **types.E } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3976,6 +4065,7 @@ func awsRestjson1_deserializeDocumentEarthObservationJobErrorDetails(v **types.E } sv.Type = types.EarthObservationJobErrorType(jtv) } + default: _, _ = key, value @@ -4108,6 +4198,7 @@ func awsRestjson1_deserializeDocumentEoCloudCoverInput(v **types.EoCloudCoverInp } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -4141,6 +4232,7 @@ func awsRestjson1_deserializeDocumentEoCloudCoverInput(v **types.EoCloudCoverInp } } + default: _, _ = key, value @@ -4176,10 +4268,12 @@ func awsRestjson1_deserializeDocumentExportErrorDetails(v **types.ExportErrorDet if err := awsRestjson1_deserializeDocumentExportErrorDetailsOutput(&sv.ExportResults, value); err != nil { return err } + case "ExportSourceImages": if err := awsRestjson1_deserializeDocumentExportErrorDetailsOutput(&sv.ExportSourceImages, value); err != nil { return err } + default: _, _ = key, value @@ -4219,6 +4313,7 @@ func awsRestjson1_deserializeDocumentExportErrorDetailsOutput(v **types.ExportEr } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4227,6 +4322,7 @@ func awsRestjson1_deserializeDocumentExportErrorDetailsOutput(v **types.ExportEr } sv.Type = types.ExportErrorType(jtv) } + default: _, _ = key, value @@ -4266,6 +4362,7 @@ func awsRestjson1_deserializeDocumentExportS3DataInput(v **types.ExportS3DataInp } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -4274,6 +4371,7 @@ func awsRestjson1_deserializeDocumentExportS3DataInput(v **types.ExportS3DataInp } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -4309,6 +4407,7 @@ func awsRestjson1_deserializeDocumentExportVectorEnrichmentJobOutputConfig(v **t if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(&sv.S3Data, value); err != nil { return err } + default: _, _ = key, value @@ -4373,6 +4472,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + case "Minimum": if value != nil { switch jtv := value.(type) { @@ -4406,6 +4506,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4414,6 +4515,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4422,6 +4524,7 @@ func awsRestjson1_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4491,6 +4594,7 @@ func awsRestjson1_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Coordinates, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4499,6 +4603,7 @@ func awsRestjson1_deserializeDocumentGeometry(v **types.Geometry, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4538,10 +4643,12 @@ func awsRestjson1_deserializeDocumentGeoMosaicConfigInput(v **types.GeoMosaicCon } sv.AlgorithmName = types.AlgorithmNameGeoMosaic(jtv) } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + default: _, _ = key, value @@ -4617,10 +4724,12 @@ func awsRestjson1_deserializeDocumentInputConfigOutput(v **types.InputConfigOutp } sv.PreviousEarthObservationJobArn = ptr.String(jtv) } + case "RasterDataCollectionQuery": if err := awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(&sv.RasterDataCollectionQuery, value); err != nil { return err } + default: _, _ = key, value @@ -4660,6 +4769,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4668,6 +4778,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4703,6 +4814,7 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte if err := awsRestjson1_deserializeDocumentAssetsMap(&sv.Assets, value); err != nil { return err } + case "DateTime": if value != nil { switch jtv := value.(type) { @@ -4718,10 +4830,12 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte } } + case "Geometry": if err := awsRestjson1_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4730,10 +4844,12 @@ func awsRestjson1_deserializeDocumentItemSource(v **types.ItemSource, value inte } sv.Id = ptr.String(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentProperties(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -4983,6 +5099,7 @@ func awsRestjson1_deserializeDocumentLandsatCloudCoverLandInput(v **types.Landsa } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -5016,6 +5133,7 @@ func awsRestjson1_deserializeDocumentLandsatCloudCoverLandInput(v **types.Landsa } } + default: _, _ = key, value @@ -5151,6 +5269,7 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5163,6 +5282,7 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5175,6 +5295,7 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5183,6 +5304,7 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Name = ptr.String(jtv) } + case "OperationType": if value != nil { jtv, ok := value.(string) @@ -5191,6 +5313,7 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.OperationType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5199,10 +5322,12 @@ func awsRestjson1_deserializeDocumentListEarthObservationJobOutputConfig(v **typ } sv.Status = types.EarthObservationJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5242,6 +5367,7 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -5254,6 +5380,7 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.CreationTime = ptr.Time(t) } + case "DurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -5266,6 +5393,7 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.DurationInSeconds = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5274,6 +5402,7 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5282,10 +5411,12 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Status = types.VectorEnrichmentJobStatus(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5294,6 +5425,7 @@ func awsRestjson1_deserializeDocumentListVectorEnrichmentJobOutputConfig(v **typ } sv.Type = types.VectorEnrichmentJobType(jtv) } + default: _, _ = key, value @@ -5333,6 +5465,7 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.IdAttributeName = ptr.String(jtv) } + case "TimestampAttributeName": if value != nil { jtv, ok := value.(string) @@ -5341,6 +5474,7 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.TimestampAttributeName = ptr.String(jtv) } + case "XAttributeName": if value != nil { jtv, ok := value.(string) @@ -5349,6 +5483,7 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.XAttributeName = ptr.String(jtv) } + case "YAttributeName": if value != nil { jtv, ok := value.(string) @@ -5357,6 +5492,7 @@ func awsRestjson1_deserializeDocumentMapMatchingConfig(v **types.MapMatchingConf } sv.YAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -5392,6 +5528,7 @@ func awsRestjson1_deserializeDocumentMultiPolygonGeometryInput(v **types.MultiPo if err := awsRestjson1_deserializeDocumentLinearRingsList(&sv.Coordinates, value); err != nil { return err } + default: _, _ = key, value @@ -5431,6 +5568,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Equation = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5439,6 +5577,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Name = ptr.String(jtv) } + case "OutputType": if value != nil { jtv, ok := value.(string) @@ -5447,6 +5586,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.OutputType = types.OutputType(jtv) } + default: _, _ = key, value @@ -5520,6 +5660,7 @@ func awsRestjson1_deserializeDocumentOutputBand(v **types.OutputBand, value inte } sv.BandName = ptr.String(jtv) } + case "OutputDataType": if value != nil { jtv, ok := value.(string) @@ -5528,6 +5669,7 @@ func awsRestjson1_deserializeDocumentOutputBand(v **types.OutputBand, value inte } sv.OutputDataType = types.OutputType(jtv) } + default: _, _ = key, value @@ -5563,6 +5705,7 @@ func awsRestjson1_deserializeDocumentOutputConfigInput(v **types.OutputConfigInp if err := awsRestjson1_deserializeDocumentExportS3DataInput(&sv.S3Data, value); err != nil { return err } + default: _, _ = key, value @@ -5598,6 +5741,7 @@ func awsRestjson1_deserializeDocumentOutputResolutionResamplingInput(v **types.O if err := awsRestjson1_deserializeDocumentUserDefined(&sv.UserDefined, value); err != nil { return err } + default: _, _ = key, value @@ -5637,10 +5781,12 @@ func awsRestjson1_deserializeDocumentOutputResolutionStackInput(v **types.Output } sv.Predefined = types.PredefinedResolution(jtv) } + case "UserDefined": if err := awsRestjson1_deserializeDocumentUserDefined(&sv.UserDefined, value); err != nil { return err } + default: _, _ = key, value @@ -5680,6 +5826,7 @@ func awsRestjson1_deserializeDocumentPlatformInput(v **types.PlatformInput, valu } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5688,6 +5835,7 @@ func awsRestjson1_deserializeDocumentPlatformInput(v **types.PlatformInput, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5723,6 +5871,7 @@ func awsRestjson1_deserializeDocumentPolygonGeometryInput(v **types.PolygonGeome if err := awsRestjson1_deserializeDocumentLinearRings(&sv.Coordinates, value); err != nil { return err } + default: _, _ = key, value @@ -5848,6 +5997,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } + case "LandsatCloudCoverLand": if value != nil { switch jtv := value.(type) { @@ -5881,6 +6031,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } + case "Platform": if value != nil { jtv, ok := value.(string) @@ -5889,6 +6040,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } sv.Platform = ptr.String(jtv) } + case "ViewOffNadir": if value != nil { switch jtv := value.(type) { @@ -5922,6 +6074,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } + case "ViewSunAzimuth": if value != nil { switch jtv := value.(type) { @@ -5955,6 +6108,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } + case "ViewSunElevation": if value != nil { switch jtv := value.(type) { @@ -5988,6 +6142,7 @@ func awsRestjson1_deserializeDocumentProperties(v **types.Properties, value inte } } + default: _, _ = key, value @@ -6113,6 +6268,7 @@ func awsRestjson1_deserializeDocumentPropertyFilter(v **types.PropertyFilter, va if err := awsRestjson1_deserializeDocumentProperty(&sv.Property, value); err != nil { return err } + default: _, _ = key, value @@ -6152,10 +6308,12 @@ func awsRestjson1_deserializeDocumentPropertyFilters(v **types.PropertyFilters, } sv.LogicalOperator = types.LogicalOperator(jtv) } + case "Properties": if err := awsRestjson1_deserializeDocumentPropertyFiltersList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -6229,6 +6387,7 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6237,6 +6396,7 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Description = ptr.String(jtv) } + case "DescriptionPageUrl": if value != nil { jtv, ok := value.(string) @@ -6245,6 +6405,7 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.DescriptionPageUrl = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6253,14 +6414,17 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Name = ptr.String(jtv) } + case "SupportedFilters": if err := awsRestjson1_deserializeDocumentFilterList(&sv.SupportedFilters, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6269,6 +6433,7 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionMetadata(v **types.Rast } sv.Type = types.DataCollectionType(jtv) } + default: _, _ = key, value @@ -6304,10 +6469,12 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R if err := awsRestjson1_deserializeDocumentAreaOfInterest(&sv.AreaOfInterest, value); err != nil { return err } + case "PropertyFilters": if err := awsRestjson1_deserializeDocumentPropertyFilters(&sv.PropertyFilters, value); err != nil { return err } + case "RasterDataCollectionArn": if value != nil { jtv, ok := value.(string) @@ -6316,6 +6483,7 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R } sv.RasterDataCollectionArn = ptr.String(jtv) } + case "RasterDataCollectionName": if value != nil { jtv, ok := value.(string) @@ -6324,10 +6492,12 @@ func awsRestjson1_deserializeDocumentRasterDataCollectionQueryOutput(v **types.R } sv.RasterDataCollectionName = ptr.String(jtv) } + case "TimeRangeFilter": if err := awsRestjson1_deserializeDocumentTimeRangeFilterOutput(&sv.TimeRangeFilter, value); err != nil { return err } + default: _, _ = key, value @@ -6367,14 +6537,17 @@ func awsRestjson1_deserializeDocumentResamplingConfigInput(v **types.ResamplingC } sv.AlgorithmName = types.AlgorithmNameResampling(jtv) } + case "OutputResolution": if err := awsRestjson1_deserializeDocumentOutputResolutionResamplingInput(&sv.OutputResolution, value); err != nil { return err } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + default: _, _ = key, value @@ -6414,6 +6587,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6422,6 +6596,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6461,6 +6636,7 @@ func awsRestjson1_deserializeDocumentReverseGeocodingConfig(v **types.ReverseGeo } sv.XAttributeName = ptr.String(jtv) } + case "YAttributeName": if value != nil { jtv, ok := value.(string) @@ -6469,6 +6645,7 @@ func awsRestjson1_deserializeDocumentReverseGeocodingConfig(v **types.ReverseGeo } sv.YAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -6508,6 +6685,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6516,6 +6694,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6551,10 +6730,12 @@ func awsRestjson1_deserializeDocumentStackConfigInput(v **types.StackConfigInput if err := awsRestjson1_deserializeDocumentOutputResolutionStackInput(&sv.OutputResolution, value); err != nil { return err } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + default: _, _ = key, value @@ -6666,14 +6847,17 @@ func awsRestjson1_deserializeDocumentTemporalStatisticsConfigInput(v **types.Tem } sv.GroupBy = types.GroupBy(jtv) } + case "Statistics": if err := awsRestjson1_deserializeDocumentTemporalStatisticsListInput(&sv.Statistics, value); err != nil { return err } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + default: _, _ = key, value @@ -6749,6 +6933,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6757,6 +6942,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6800,6 +6986,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterOutput(v **types.TimeRangeFi } sv.EndTime = ptr.Time(t) } + case "StartTime": if value != nil { jtv, ok := value.(string) @@ -6812,6 +6999,7 @@ func awsRestjson1_deserializeDocumentTimeRangeFilterOutput(v **types.TimeRangeFi } sv.StartTime = ptr.Time(t) } + default: _, _ = key, value @@ -6851,6 +7039,7 @@ func awsRestjson1_deserializeDocumentUserDefined(v **types.UserDefined, value in } sv.Unit = types.Unit(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -6884,6 +7073,7 @@ func awsRestjson1_deserializeDocumentUserDefined(v **types.UserDefined, value in } } + default: _, _ = key, value @@ -6923,6 +7113,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6931,6 +7122,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7060,6 +7252,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(v **types.V } sv.ErrorMessage = ptr.String(jtv) } + case "ErrorType": if value != nil { jtv, ok := value.(string) @@ -7068,6 +7261,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobErrorDetails(v **types.V } sv.ErrorType = types.VectorEnrichmentJobErrorType(jtv) } + default: _, _ = key, value @@ -7107,6 +7301,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(v **t } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7115,6 +7310,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobExportErrorDetails(v **t } sv.Type = types.VectorEnrichmentJobExportErrorType(jtv) } + default: _, _ = key, value @@ -7150,6 +7346,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(v **types.Ve if err := awsRestjson1_deserializeDocumentVectorEnrichmentJobDataSourceConfigInput(&sv.DataSourceConfig, value); err != nil { return err } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -7158,6 +7355,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobInputConfig(v **types.Ve } sv.DocumentType = types.VectorEnrichmentJobDocumentType(jtv) } + default: _, _ = key, value @@ -7231,6 +7429,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(v **types.VectorE } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -7239,6 +7438,7 @@ func awsRestjson1_deserializeDocumentVectorEnrichmentJobS3Data(v **types.VectorE } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -7303,6 +7503,7 @@ func awsRestjson1_deserializeDocumentViewOffNadirInput(v **types.ViewOffNadirInp } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7336,6 +7537,7 @@ func awsRestjson1_deserializeDocumentViewOffNadirInput(v **types.ViewOffNadirInp } } + default: _, _ = key, value @@ -7400,6 +7602,7 @@ func awsRestjson1_deserializeDocumentViewSunAzimuthInput(v **types.ViewSunAzimut } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7433,6 +7636,7 @@ func awsRestjson1_deserializeDocumentViewSunAzimuthInput(v **types.ViewSunAzimut } } + default: _, _ = key, value @@ -7497,6 +7701,7 @@ func awsRestjson1_deserializeDocumentViewSunElevationInput(v **types.ViewSunElev } } + case "UpperBound": if value != nil { switch jtv := value.(type) { @@ -7530,6 +7735,7 @@ func awsRestjson1_deserializeDocumentViewSunElevationInput(v **types.ViewSunElev } } + default: _, _ = key, value @@ -7565,10 +7771,12 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS if err := awsRestjson1_deserializeDocumentZonalStatisticsListInput(&sv.Statistics, value); err != nil { return err } + case "TargetBands": if err := awsRestjson1_deserializeDocumentStringListInput(&sv.TargetBands, value); err != nil { return err } + case "ZoneS3Path": if value != nil { jtv, ok := value.(string) @@ -7577,6 +7785,7 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS } sv.ZoneS3Path = ptr.String(jtv) } + case "ZoneS3PathKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -7585,6 +7794,7 @@ func awsRestjson1_deserializeDocumentZonalStatisticsConfigInput(v **types.ZonalS } sv.ZoneS3PathKmsKeyId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sagemakermetrics/deserializers.go b/service/sagemakermetrics/deserializers.go index faaf704e25f..ae2fe747a12 100644 --- a/service/sagemakermetrics/deserializers.go +++ b/service/sagemakermetrics/deserializers.go @@ -169,6 +169,7 @@ func awsRestjson1_deserializeOpDocumentBatchGetMetricsOutput(v **BatchGetMetrics if err := awsRestjson1_deserializeDocumentMetricQueryResultList(&sv.MetricQueryResults, value); err != nil { return err } + default: _, _ = key, value @@ -317,6 +318,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutMetricsOutput(v **BatchPutMetrics if err := awsRestjson1_deserializeDocumentBatchPutMetricsErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -356,6 +358,7 @@ func awsRestjson1_deserializeDocumentBatchPutMetricsError(v **types.BatchPutMetr } sv.Code = types.PutMetricsErrorCode(jtv) } + case "MetricIndex": if value != nil { jtv, ok := value.(json.Number) @@ -368,6 +371,7 @@ func awsRestjson1_deserializeDocumentBatchPutMetricsError(v **types.BatchPutMetr } sv.MetricIndex = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -441,10 +445,12 @@ func awsRestjson1_deserializeDocumentMetricQueryResult(v **types.MetricQueryResu } sv.Message = ptr.String(jtv) } + case "MetricValues": if err := awsRestjson1_deserializeDocumentMetricValues(&sv.MetricValues, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -453,10 +459,12 @@ func awsRestjson1_deserializeDocumentMetricQueryResult(v **types.MetricQueryResu } sv.Status = types.MetricQueryResultStatus(jtv) } + case "XAxisValues": if err := awsRestjson1_deserializeDocumentXAxisValues(&sv.XAxisValues, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/sagemakerruntime/deserializers.go b/service/sagemakerruntime/deserializers.go index 9f0f54a0181..dc74ffbe59e 100644 --- a/service/sagemakerruntime/deserializers.go +++ b/service/sagemakerruntime/deserializers.go @@ -372,6 +372,7 @@ func awsRestjson1_deserializeOpDocumentInvokeEndpointAsyncOutput(v **InvokeEndpo } sv.InferenceId = ptr.String(jtv) } + default: _, _ = key, value @@ -699,6 +700,7 @@ func awsRestjson1_deserializeDocumentInternalStreamFailure(v **types.InternalStr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -738,6 +740,7 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -746,6 +749,7 @@ func awsRestjson1_deserializeDocumentModelStreamError(v **types.ModelStreamError } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1073,6 +1077,7 @@ func awsRestjson1_deserializeDocumentInternalDependencyException(v **types.Inter } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1112,6 +1117,7 @@ func awsRestjson1_deserializeDocumentInternalFailure(v **types.InternalFailure, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1151,6 +1157,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.LogStreamArn = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -1159,6 +1166,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.Message = ptr.String(jtv) } + case "OriginalMessage": if value != nil { jtv, ok := value.(string) @@ -1167,6 +1175,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.OriginalMessage = ptr.String(jtv) } + case "OriginalStatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -1179,6 +1188,7 @@ func awsRestjson1_deserializeDocumentModelError(v **types.ModelError, value inte } sv.OriginalStatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1218,6 +1228,7 @@ func awsRestjson1_deserializeDocumentModelNotReadyException(v **types.ModelNotRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1257,6 +1268,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailable(v **types.ServiceUnavail } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1296,6 +1308,7 @@ func awsRestjson1_deserializeDocumentValidationError(v **types.ValidationError, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/savingsplans/deserializers.go b/service/savingsplans/deserializers.go index a37af1c95b3..baeb4c7abe7 100644 --- a/service/savingsplans/deserializers.go +++ b/service/savingsplans/deserializers.go @@ -184,6 +184,7 @@ func awsRestjson1_deserializeOpDocumentCreateSavingsPlanOutput(v **CreateSavings } sv.SavingsPlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -439,6 +440,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlanRatesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "savingsPlanId": if value != nil { jtv, ok := value.(string) @@ -447,10 +449,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlanRatesOutput(v **Descri } sv.SavingsPlanId = ptr.String(jtv) } + case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanRateList(&sv.SearchResults, value); err != nil { return err } + default: _, _ = key, value @@ -609,10 +613,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOutput(v **DescribeSa } sv.NextToken = ptr.String(jtv) } + case "savingsPlans": if err := awsRestjson1_deserializeDocumentSavingsPlanList(&sv.SavingsPlans, value); err != nil { return err } + default: _, _ = key, value @@ -771,10 +777,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOfferingRatesOutput(v } sv.NextToken = ptr.String(jtv) } + case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingRatesList(&sv.SearchResults, value); err != nil { return err } + default: _, _ = key, value @@ -933,10 +941,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSavingsPlansOfferingsOutput(v **D } sv.NextToken = ptr.String(jtv) } + case "searchResults": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingsList(&sv.SearchResults, value); err != nil { return err } + default: _, _ = key, value @@ -1094,6 +1104,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1258,6 +1269,7 @@ func awsRestjson1_deserializeOpDocumentReturnSavingsPlanOutput(v **ReturnSavings } sv.SavingsPlanId = ptr.String(jtv) } + default: _, _ = key, value @@ -1632,6 +1644,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1671,6 +1684,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.Currency = types.CurrencyCode(jtv) } + case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1683,6 +1697,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.DurationSeconds = i64 } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -1691,6 +1706,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.OfferingId = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1699,6 +1715,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } + case "planDescription": if value != nil { jtv, ok := value.(string) @@ -1707,6 +1724,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PlanDescription = ptr.String(jtv) } + case "planType": if value != nil { jtv, ok := value.(string) @@ -1715,6 +1733,7 @@ func awsRestjson1_deserializeDocumentParentSavingsPlanOffering(v **types.ParentS } sv.PlanType = types.SavingsPlanType(jtv) } + default: _, _ = key, value @@ -1754,6 +1773,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1793,6 +1813,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Commitment = ptr.String(jtv) } + case "currency": if value != nil { jtv, ok := value.(string) @@ -1801,6 +1822,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Currency = types.CurrencyCode(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1809,6 +1831,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Description = ptr.String(jtv) } + case "ec2InstanceFamily": if value != nil { jtv, ok := value.(string) @@ -1817,6 +1840,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Ec2InstanceFamily = ptr.String(jtv) } + case "end": if value != nil { jtv, ok := value.(string) @@ -1825,6 +1849,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.End = ptr.String(jtv) } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -1833,6 +1858,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.OfferingId = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -1841,10 +1867,12 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } + case "productTypes": if err := awsRestjson1_deserializeDocumentSavingsPlanProductTypeList(&sv.ProductTypes, value); err != nil { return err } + case "recurringPaymentAmount": if value != nil { jtv, ok := value.(string) @@ -1853,6 +1881,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.RecurringPaymentAmount = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -1861,6 +1890,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Region = ptr.String(jtv) } + case "returnableUntil": if value != nil { jtv, ok := value.(string) @@ -1869,6 +1899,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.ReturnableUntil = ptr.String(jtv) } + case "savingsPlanArn": if value != nil { jtv, ok := value.(string) @@ -1877,6 +1908,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanArn = ptr.String(jtv) } + case "savingsPlanId": if value != nil { jtv, ok := value.(string) @@ -1885,6 +1917,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanId = ptr.String(jtv) } + case "savingsPlanType": if value != nil { jtv, ok := value.(string) @@ -1893,6 +1926,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.SavingsPlanType = types.SavingsPlanType(jtv) } + case "start": if value != nil { jtv, ok := value.(string) @@ -1901,6 +1935,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.Start = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -1909,10 +1944,12 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.State = types.SavingsPlanState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "termDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -1925,6 +1962,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.TermDurationInSeconds = i64 } + case "upfrontPaymentAmount": if value != nil { jtv, ok := value.(string) @@ -1933,6 +1971,7 @@ func awsRestjson1_deserializeDocumentSavingsPlan(v **types.SavingsPlan, value in } sv.UpfrontPaymentAmount = ptr.String(jtv) } + default: _, _ = key, value @@ -2006,6 +2045,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Currency = types.CurrencyCode(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2014,6 +2054,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Description = ptr.String(jtv) } + case "durationSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2026,6 +2067,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.DurationSeconds = i64 } + case "offeringId": if value != nil { jtv, ok := value.(string) @@ -2034,6 +2076,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.OfferingId = ptr.String(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -2042,6 +2085,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.Operation = ptr.String(jtv) } + case "paymentOption": if value != nil { jtv, ok := value.(string) @@ -2050,6 +2094,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.PaymentOption = types.SavingsPlanPaymentOption(jtv) } + case "planType": if value != nil { jtv, ok := value.(string) @@ -2058,14 +2103,17 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.PlanType = types.SavingsPlanType(jtv) } + case "productTypes": if err := awsRestjson1_deserializeDocumentSavingsPlanProductTypeList(&sv.ProductTypes, value); err != nil { return err } + case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingPropertyList(&sv.Properties, value); err != nil { return err } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2074,6 +2122,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.ServiceCode = ptr.String(jtv) } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -2082,6 +2131,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOffering(v **types.SavingsPlanOf } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -2121,6 +2171,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingProperty(v **types.Savin } sv.Name = types.SavingsPlanOfferingPropertyKey(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2129,6 +2180,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingProperty(v **types.Savin } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2202,6 +2254,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Operation = ptr.String(jtv) } + case "productType": if value != nil { jtv, ok := value.(string) @@ -2210,10 +2263,12 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.ProductType = types.SavingsPlanProductType(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanOfferingRatePropertyList(&sv.Properties, value); err != nil { return err } + case "rate": if value != nil { jtv, ok := value.(string) @@ -2222,10 +2277,12 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Rate = ptr.String(jtv) } + case "savingsPlanOffering": if err := awsRestjson1_deserializeDocumentParentSavingsPlanOffering(&sv.SavingsPlanOffering, value); err != nil { return err } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2234,6 +2291,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.ServiceCode = types.SavingsPlanRateServiceCode(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -2242,6 +2300,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.Unit = types.SavingsPlanRateUnit(jtv) } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -2250,6 +2309,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRate(v **types.SavingsPl } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -2289,6 +2349,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRateProperty(v **types.S } sv.Name = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2297,6 +2358,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanOfferingRateProperty(v **types.S } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2474,6 +2536,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Currency = types.CurrencyCode(jtv) } + case "operation": if value != nil { jtv, ok := value.(string) @@ -2482,6 +2545,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Operation = ptr.String(jtv) } + case "productType": if value != nil { jtv, ok := value.(string) @@ -2490,10 +2554,12 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.ProductType = types.SavingsPlanProductType(jtv) } + case "properties": if err := awsRestjson1_deserializeDocumentSavingsPlanRatePropertyList(&sv.Properties, value); err != nil { return err } + case "rate": if value != nil { jtv, ok := value.(string) @@ -2502,6 +2568,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Rate = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2510,6 +2577,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.ServiceCode = types.SavingsPlanRateServiceCode(jtv) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -2518,6 +2586,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.Unit = types.SavingsPlanRateUnit(jtv) } + case "usageType": if value != nil { jtv, ok := value.(string) @@ -2526,6 +2595,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRate(v **types.SavingsPlanRate, } sv.UsageType = ptr.String(jtv) } + default: _, _ = key, value @@ -2599,6 +2669,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRateProperty(v **types.SavingsPl } sv.Name = types.SavingsPlanRatePropertyKey(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -2607,6 +2678,7 @@ func awsRestjson1_deserializeDocumentSavingsPlanRateProperty(v **types.SavingsPl } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2680,6 +2752,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2755,6 +2828,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/scheduler/deserializers.go b/service/scheduler/deserializers.go index 4af19423931..f980dfbff6c 100644 --- a/service/scheduler/deserializers.go +++ b/service/scheduler/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleOutput(v **CreateScheduleOu } sv.ScheduleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -357,6 +358,7 @@ func awsRestjson1_deserializeOpDocumentCreateScheduleGroupOutput(v **CreateSched } sv.ScheduleGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -721,6 +723,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ActionAfterCompletion = types.ActionAfterCompletion(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -729,6 +732,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -744,6 +748,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -752,6 +757,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Description = ptr.String(jtv) } + case "EndDate": if value != nil { switch jtv := value.(type) { @@ -767,10 +773,12 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } + case "FlexibleTimeWindow": if err := awsRestjson1_deserializeDocumentFlexibleTimeWindow(&sv.FlexibleTimeWindow, value); err != nil { return err } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -779,6 +787,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.GroupName = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -787,6 +796,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.KmsKeyArn = ptr.String(jtv) } + case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -802,6 +812,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -810,6 +821,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.Name = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -818,6 +830,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleExpressionTimezone": if value != nil { jtv, ok := value.(string) @@ -826,6 +839,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.ScheduleExpressionTimezone = ptr.String(jtv) } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -841,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } } + case "State": if value != nil { jtv, ok := value.(string) @@ -849,10 +864,12 @@ func awsRestjson1_deserializeOpDocumentGetScheduleOutput(v **GetScheduleOutput, } sv.State = types.ScheduleState(jtv) } + case "Target": if err := awsRestjson1_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -1017,6 +1034,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -1032,6 +1050,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } } + case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -1047,6 +1066,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1055,6 +1075,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1063,6 +1084,7 @@ func awsRestjson1_deserializeOpDocumentGetScheduleGroupOutput(v **GetScheduleGro } sv.State = types.ScheduleGroupState(jtv) } + default: _, _ = key, value @@ -1224,10 +1246,12 @@ func awsRestjson1_deserializeOpDocumentListScheduleGroupsOutput(v **ListSchedule } sv.NextToken = ptr.String(jtv) } + case "ScheduleGroups": if err := awsRestjson1_deserializeDocumentScheduleGroupList(&sv.ScheduleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -1392,10 +1416,12 @@ func awsRestjson1_deserializeOpDocumentListSchedulesOutput(v **ListSchedulesOutp } sv.NextToken = ptr.String(jtv) } + case "Schedules": if err := awsRestjson1_deserializeDocumentScheduleList(&sv.Schedules, value); err != nil { return err } + default: _, _ = key, value @@ -1556,6 +1582,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1923,6 +1950,7 @@ func awsRestjson1_deserializeOpDocumentUpdateScheduleOutput(v **UpdateScheduleOu } sv.ScheduleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2178,14 +2206,17 @@ func awsRestjson1_deserializeDocumentAwsVpcConfiguration(v **types.AwsVpcConfigu } sv.AssignPublicIp = types.AssignPublicIp(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentSubnets(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -2263,6 +2294,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Base = int32(i64) } + case "capacityProvider": if value != nil { jtv, ok := value.(string) @@ -2271,6 +2303,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.CapacityProvider = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -2283,6 +2316,7 @@ func awsRestjson1_deserializeDocumentCapacityProviderStrategyItem(v **types.Capa } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -2322,6 +2356,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2361,6 +2396,7 @@ func awsRestjson1_deserializeDocumentDeadLetterConfig(v **types.DeadLetterConfig } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -2396,6 +2432,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu if err := awsRestjson1_deserializeDocumentCapacityProviderStrategy(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "EnableECSManagedTags": if value != nil { jtv, ok := value.(bool) @@ -2404,6 +2441,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableECSManagedTags = ptr.Bool(jtv) } + case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -2412,6 +2450,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.EnableExecuteCommand = ptr.Bool(jtv) } + case "Group": if value != nil { jtv, ok := value.(string) @@ -2420,6 +2459,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.Group = ptr.String(jtv) } + case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -2428,18 +2468,22 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.LaunchType = types.LaunchType(jtv) } + case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { return err } + case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentPlacementConstraints(&sv.PlacementConstraints, value); err != nil { return err } + case "PlacementStrategy": if err := awsRestjson1_deserializeDocumentPlacementStrategies(&sv.PlacementStrategy, value); err != nil { return err } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -2448,6 +2492,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PlatformVersion = ptr.String(jtv) } + case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -2456,6 +2501,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.PropagateTags = types.PropagateTags(jtv) } + case "ReferenceId": if value != nil { jtv, ok := value.(string) @@ -2464,10 +2510,12 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.ReferenceId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "TaskCount": if value != nil { jtv, ok := value.(json.Number) @@ -2480,6 +2528,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskCount = ptr.Int32(int32(i64)) } + case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -2488,6 +2537,7 @@ func awsRestjson1_deserializeDocumentEcsParameters(v **types.EcsParameters, valu } sv.TaskDefinitionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2527,6 +2577,7 @@ func awsRestjson1_deserializeDocumentEventBridgeParameters(v **types.EventBridge } sv.DetailType = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -2535,6 +2586,7 @@ func awsRestjson1_deserializeDocumentEventBridgeParameters(v **types.EventBridge } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -2578,6 +2630,7 @@ func awsRestjson1_deserializeDocumentFlexibleTimeWindow(v **types.FlexibleTimeWi } sv.MaximumWindowInMinutes = ptr.Int32(int32(i64)) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -2586,6 +2639,7 @@ func awsRestjson1_deserializeDocumentFlexibleTimeWindow(v **types.FlexibleTimeWi } sv.Mode = types.FlexibleTimeWindowMode(jtv) } + default: _, _ = key, value @@ -2625,6 +2679,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2664,6 +2719,7 @@ func awsRestjson1_deserializeDocumentKinesisParameters(v **types.KinesisParamete } sv.PartitionKey = ptr.String(jtv) } + default: _, _ = key, value @@ -2699,6 +2755,7 @@ func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfi if err := awsRestjson1_deserializeDocumentAwsVpcConfiguration(&sv.AwsvpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -2738,6 +2795,7 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Expression = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2746,6 +2804,7 @@ func awsRestjson1_deserializeDocumentPlacementConstraint(v **types.PlacementCons } sv.Type = types.PlacementConstraintType(jtv) } + default: _, _ = key, value @@ -2853,6 +2912,7 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Field = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2861,6 +2921,7 @@ func awsRestjson1_deserializeDocumentPlacementStrategy(v **types.PlacementStrate } sv.Type = types.PlacementStrategyType(jtv) } + default: _, _ = key, value @@ -2900,6 +2961,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2943,6 +3005,7 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } + case "MaximumRetryAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -2955,6 +3018,7 @@ func awsRestjson1_deserializeDocumentRetryPolicy(v **types.RetryPolicy, value in } sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2994,6 +3058,7 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3002,6 +3067,7 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameter(v **types.SageMa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3071,6 +3137,7 @@ func awsRestjson1_deserializeDocumentSageMakerPipelineParameters(v **types.SageM if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameterList(&sv.PipelineParameterList, value); err != nil { return err } + default: _, _ = key, value @@ -3144,6 +3211,7 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3159,6 +3227,7 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } } + case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -3174,6 +3243,7 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3182,6 +3252,7 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3190,6 +3261,7 @@ func awsRestjson1_deserializeDocumentScheduleGroupSummary(v **types.ScheduleGrou } sv.State = types.ScheduleGroupState(jtv) } + default: _, _ = key, value @@ -3263,6 +3335,7 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.Arn = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3278,6 +3351,7 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -3286,6 +3360,7 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.GroupName = ptr.String(jtv) } + case "LastModificationDate": if value != nil { switch jtv := value.(type) { @@ -3301,6 +3376,7 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3309,6 +3385,7 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -3317,10 +3394,12 @@ func awsRestjson1_deserializeDocumentScheduleSummary(v **types.ScheduleSummary, } sv.State = types.ScheduleState(jtv) } + case "Target": if err := awsRestjson1_deserializeDocumentTargetSummary(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -3396,6 +3475,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3435,6 +3515,7 @@ func awsRestjson1_deserializeDocumentSqsParameters(v **types.SqsParameters, valu } sv.MessageGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -3510,6 +3591,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -3518,6 +3600,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3659,18 +3742,22 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Arn = ptr.String(jtv) } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "EcsParameters": if err := awsRestjson1_deserializeDocumentEcsParameters(&sv.EcsParameters, value); err != nil { return err } + case "EventBridgeParameters": if err := awsRestjson1_deserializeDocumentEventBridgeParameters(&sv.EventBridgeParameters, value); err != nil { return err } + case "Input": if value != nil { jtv, ok := value.(string) @@ -3679,14 +3766,17 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Input = ptr.String(jtv) } + case "KinesisParameters": if err := awsRestjson1_deserializeDocumentKinesisParameters(&sv.KinesisParameters, value); err != nil { return err } + case "RetryPolicy": if err := awsRestjson1_deserializeDocumentRetryPolicy(&sv.RetryPolicy, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -3695,14 +3785,17 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.RoleArn = ptr.String(jtv) } + case "SageMakerPipelineParameters": if err := awsRestjson1_deserializeDocumentSageMakerPipelineParameters(&sv.SageMakerPipelineParameters, value); err != nil { return err } + case "SqsParameters": if err := awsRestjson1_deserializeDocumentSqsParameters(&sv.SqsParameters, value); err != nil { return err } + default: _, _ = key, value @@ -3742,6 +3835,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -3781,6 +3875,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3820,6 +3915,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/schemas/deserializers.go b/service/schemas/deserializers.go index d8ffa99626b..94fe717f396 100644 --- a/service/schemas/deserializers.go +++ b/service/schemas/deserializers.go @@ -191,6 +191,7 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.CrossAccount = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -199,6 +200,7 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.Description = ptr.String(jtv) } + case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -207,6 +209,7 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.DiscovererArn = ptr.String(jtv) } + case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -215,6 +218,7 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.DiscovererId = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -223,6 +227,7 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.SourceArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -231,10 +236,12 @@ func awsRestjson1_deserializeOpDocumentCreateDiscovererOutput(v **CreateDiscover } sv.State = types.DiscovererState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -405,6 +412,7 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -413,6 +421,7 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -421,10 +430,12 @@ func awsRestjson1_deserializeOpDocumentCreateRegistryOutput(v **CreateRegistryOu } sv.RegistryName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -589,6 +600,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Description = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -601,6 +613,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.LastModified = ptr.Time(t) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -609,6 +622,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -617,6 +631,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -625,10 +640,12 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -637,6 +654,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.Type = ptr.String(jtv) } + case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -649,6 +667,7 @@ func awsRestjson1_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput } sv.VersionCreatedDate = ptr.Time(t) } + default: _, _ = key, value @@ -1368,6 +1387,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.CreationDate = ptr.Time(t) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -1380,6 +1400,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.LastModified = ptr.Time(t) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -1388,6 +1409,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.SchemaVersion = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -1396,6 +1418,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCodeBindingOutput(v **DescribeCod } sv.Status = types.CodeGenerationStatus(jtv) } + default: _, _ = key, value @@ -1566,6 +1589,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.CrossAccount = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1574,6 +1598,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.Description = ptr.String(jtv) } + case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -1582,6 +1607,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.DiscovererArn = ptr.String(jtv) } + case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -1590,6 +1616,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.DiscovererId = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -1598,6 +1625,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.SourceArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -1606,10 +1634,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDiscovererOutput(v **DescribeDisc } sv.State = types.DiscovererState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1780,6 +1810,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -1788,6 +1819,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -1796,10 +1828,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRegistryOutput(v **DescribeRegist } sv.RegistryName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1970,6 +2004,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Content = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -1978,6 +2013,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Description = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -1990,6 +2026,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.LastModified = ptr.Time(t) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -1998,6 +2035,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -2006,6 +2044,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -2014,10 +2053,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.SchemaVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2026,6 +2067,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.Type = ptr.String(jtv) } + case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -2038,6 +2080,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSchemaOutput(v **DescribeSchemaOu } sv.VersionCreatedDate = ptr.Time(t) } + default: _, _ = key, value @@ -2211,6 +2254,7 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.Content = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -2219,6 +2263,7 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2272,7 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -2235,6 +2281,7 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2243,6 +2290,7 @@ func awsRestjson1_deserializeOpDocumentExportSchemaOutput(v **ExportSchemaOutput } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2540,6 +2588,7 @@ func awsRestjson1_deserializeOpDocumentGetDiscoveredSchemaOutput(v **GetDiscover } sv.Content = ptr.String(jtv) } + default: _, _ = key, value @@ -2710,6 +2759,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -2718,6 +2768,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2881,6 +2932,7 @@ func awsRestjson1_deserializeOpDocumentListDiscoverersOutput(v **ListDiscoverers if err := awsRestjson1_deserializeDocument__listOfDiscovererSummary(&sv.Discoverers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2941,7 @@ func awsRestjson1_deserializeOpDocumentListDiscoverersOutput(v **ListDiscoverers } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3056,10 +3109,12 @@ func awsRestjson1_deserializeOpDocumentListRegistriesOutput(v **ListRegistriesOu } sv.NextToken = ptr.String(jtv) } + case "Registries": if err := awsRestjson1_deserializeDocument__listOfRegistrySummary(&sv.Registries, value); err != nil { return err } + default: _, _ = key, value @@ -3227,10 +3282,12 @@ func awsRestjson1_deserializeOpDocumentListSchemasOutput(v **ListSchemasOutput, } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsRestjson1_deserializeDocument__listOfSchemaSummary(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -3401,10 +3458,12 @@ func awsRestjson1_deserializeOpDocumentListSchemaVersionsOutput(v **ListSchemaVe } sv.NextToken = ptr.String(jtv) } + case "SchemaVersions": if err := awsRestjson1_deserializeDocument__listOfSchemaVersionSummary(&sv.SchemaVersions, value); err != nil { return err } + default: _, _ = key, value @@ -3565,6 +3624,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3742,6 +3802,7 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.CreationDate = ptr.Time(t) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -3754,6 +3815,7 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.LastModified = ptr.Time(t) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -3762,6 +3824,7 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.SchemaVersion = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3770,6 +3833,7 @@ func awsRestjson1_deserializeOpDocumentPutCodeBindingOutput(v **PutCodeBindingOu } sv.Status = types.CodeGenerationStatus(jtv) } + default: _, _ = key, value @@ -3943,6 +4007,7 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Policy = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -3951,6 +4016,7 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4118,10 +4184,12 @@ func awsRestjson1_deserializeOpDocumentSearchSchemasOutput(v **SearchSchemasOutp } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsRestjson1_deserializeDocument__listOfSearchSchemaSummary(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -4292,6 +4360,7 @@ func awsRestjson1_deserializeOpDocumentStartDiscovererOutput(v **StartDiscoverer } sv.DiscovererId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4300,6 +4369,7 @@ func awsRestjson1_deserializeOpDocumentStartDiscovererOutput(v **StartDiscoverer } sv.State = types.DiscovererState(jtv) } + default: _, _ = key, value @@ -4470,6 +4540,7 @@ func awsRestjson1_deserializeOpDocumentStopDiscovererOutput(v **StopDiscovererOu } sv.DiscovererId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4478,6 +4549,7 @@ func awsRestjson1_deserializeOpDocumentStopDiscovererOutput(v **StopDiscovererOu } sv.State = types.DiscovererState(jtv) } + default: _, _ = key, value @@ -4854,6 +4926,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.CrossAccount = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4862,6 +4935,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.Description = ptr.String(jtv) } + case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -4870,6 +4944,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.DiscovererArn = ptr.String(jtv) } + case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -4878,6 +4953,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.DiscovererId = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -4886,6 +4962,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.SourceArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4894,10 +4971,12 @@ func awsRestjson1_deserializeOpDocumentUpdateDiscovererOutput(v **UpdateDiscover } sv.State = types.DiscovererState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5068,6 +5147,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -5076,6 +5156,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -5084,10 +5165,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRegistryOutput(v **UpdateRegistryOu } sv.RegistryName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5255,6 +5338,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.Description = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -5267,6 +5351,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.LastModified = ptr.Time(t) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -5275,6 +5360,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -5283,6 +5369,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -5291,10 +5378,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.SchemaVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5303,6 +5392,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.Type = ptr.String(jtv) } + case "VersionCreatedDate": if value != nil { jtv, ok := value.(string) @@ -5315,6 +5405,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSchemaOutput(v **UpdateSchemaOutput } sv.VersionCreatedDate = ptr.Time(t) } + default: _, _ = key, value @@ -5918,6 +6009,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5926,6 +6018,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5965,6 +6058,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5973,6 +6067,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6012,6 +6107,7 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.CrossAccount = ptr.Bool(jtv) } + case "DiscovererArn": if value != nil { jtv, ok := value.(string) @@ -6020,6 +6116,7 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.DiscovererArn = ptr.String(jtv) } + case "DiscovererId": if value != nil { jtv, ok := value.(string) @@ -6028,6 +6125,7 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.DiscovererId = ptr.String(jtv) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -6036,6 +6134,7 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.SourceArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -6044,10 +6143,12 @@ func awsRestjson1_deserializeDocumentDiscovererSummary(v **types.DiscovererSumma } sv.State = types.DiscovererState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6087,6 +6188,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6095,6 +6197,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6134,6 +6237,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6142,6 +6246,7 @@ func awsRestjson1_deserializeDocumentGoneException(v **types.GoneException, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6181,6 +6286,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6189,6 +6295,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6228,6 +6335,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6236,6 +6344,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6275,6 +6384,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6393,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6322,6 +6433,7 @@ func awsRestjson1_deserializeDocumentRegistrySummary(v **types.RegistrySummary, } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -6330,10 +6442,12 @@ func awsRestjson1_deserializeDocumentRegistrySummary(v **types.RegistrySummary, } sv.RegistryName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6377,6 +6491,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.LastModified = ptr.Time(t) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -6385,6 +6500,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6393,10 +6509,12 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.SchemaName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VersionCount": if value != nil { jtv, ok := value.(json.Number) @@ -6409,6 +6527,7 @@ func awsRestjson1_deserializeDocumentSchemaSummary(v **types.SchemaSummary, valu } sv.VersionCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6448,6 +6567,7 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6456,6 +6576,7 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -6464,6 +6585,7 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.SchemaVersion = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6472,6 +6594,7 @@ func awsRestjson1_deserializeDocumentSchemaVersionSummary(v **types.SchemaVersio } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -6511,6 +6634,7 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.RegistryName = ptr.String(jtv) } + case "SchemaArn": if value != nil { jtv, ok := value.(string) @@ -6519,6 +6643,7 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.SchemaArn = ptr.String(jtv) } + case "SchemaName": if value != nil { jtv, ok := value.(string) @@ -6527,10 +6652,12 @@ func awsRestjson1_deserializeDocumentSearchSchemaSummary(v **types.SearchSchemaS } sv.SchemaName = ptr.String(jtv) } + case "SchemaVersions": if err := awsRestjson1_deserializeDocument__listOfSearchSchemaVersionSummary(&sv.SchemaVersions, value); err != nil { return err } + default: _, _ = key, value @@ -6574,6 +6701,7 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.CreatedDate = ptr.Time(t) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -6582,6 +6710,7 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.SchemaVersion = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6590,6 +6719,7 @@ func awsRestjson1_deserializeDocumentSearchSchemaVersionSummary(v **types.Search } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -6629,6 +6759,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6637,6 +6768,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6712,6 +6844,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6720,6 +6853,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6759,6 +6893,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6767,6 +6902,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/secretsmanager/deserializers.go b/service/secretsmanager/deserializers.go index c73e110a631..636683cce17 100644 --- a/service/secretsmanager/deserializers.go +++ b/service/secretsmanager/deserializers.go @@ -3294,6 +3294,7 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3302,6 +3303,7 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.Message = ptr.String(jtv) } + case "SecretId": if value != nil { jtv, ok := value.(string) @@ -3310,6 +3312,7 @@ func awsAwsjson11_deserializeDocumentAPIErrorType(v **types.APIErrorType, value } sv.SecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -3349,6 +3352,7 @@ func awsAwsjson11_deserializeDocumentDecryptionFailure(v **types.DecryptionFailu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3388,6 +3392,7 @@ func awsAwsjson11_deserializeDocumentEncryptionFailure(v **types.EncryptionFailu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3427,6 +3432,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3466,6 +3472,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3505,6 +3512,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3544,6 +3552,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3619,6 +3628,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3658,6 +3668,7 @@ func awsAwsjson11_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3697,6 +3708,7 @@ func awsAwsjson11_deserializeDocumentPreconditionNotMetException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3736,6 +3748,7 @@ func awsAwsjson11_deserializeDocumentPublicPolicyException(v **types.PublicPolic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3809,6 +3822,7 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.KmsKeyId = ptr.String(jtv) } + case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -3824,6 +3838,7 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } } + case "Region": if value != nil { jtv, ok := value.(string) @@ -3832,6 +3847,7 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.Region = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3840,6 +3856,7 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.Status = types.StatusType(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3848,6 +3865,7 @@ func awsAwsjson11_deserializeDocumentReplicationStatusType(v **types.Replication } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3887,6 +3905,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3926,6 +3945,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3969,6 +3989,7 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.AutomaticallyAfterDays = ptr.Int64(i64) } + case "Duration": if value != nil { jtv, ok := value.(string) @@ -3977,6 +3998,7 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.Duration = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -3985,6 +4007,7 @@ func awsAwsjson11_deserializeDocumentRotationRulesType(v **types.RotationRulesTy } sv.ScheduleExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -4024,6 +4047,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.ARN = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -4039,6 +4063,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "DeletedDate": if value != nil { switch jtv := value.(type) { @@ -4054,6 +4079,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4062,6 +4088,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.Description = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4070,6 +4097,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.KmsKeyId = ptr.String(jtv) } + case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -4085,6 +4113,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "LastChangedDate": if value != nil { switch jtv := value.(type) { @@ -4100,6 +4129,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "LastRotatedDate": if value != nil { switch jtv := value.(type) { @@ -4115,6 +4145,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4123,6 +4154,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.Name = ptr.String(jtv) } + case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -4138,6 +4170,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } } + case "OwningService": if value != nil { jtv, ok := value.(string) @@ -4146,6 +4179,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.OwningService = ptr.String(jtv) } + case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -4154,6 +4188,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.PrimaryRegion = ptr.String(jtv) } + case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -4162,6 +4197,7 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.RotationEnabled = ptr.Bool(jtv) } + case "RotationLambdaARN": if value != nil { jtv, ok := value.(string) @@ -4170,18 +4206,22 @@ func awsAwsjson11_deserializeDocumentSecretListEntry(v **types.SecretListEntry, } sv.RotationLambdaARN = ptr.String(jtv) } + case "RotationRules": if err := awsAwsjson11_deserializeDocumentRotationRulesType(&sv.RotationRules, value); err != nil { return err } + case "SecretVersionsToStages": if err := awsAwsjson11_deserializeDocumentSecretVersionsToStagesMapType(&sv.SecretVersionsToStages, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagListType(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4255,6 +4295,7 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.ARN = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -4270,6 +4311,7 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4278,6 +4320,7 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.Name = ptr.String(jtv) } + case "SecretBinary": if value != nil { jtv, ok := value.(string) @@ -4290,6 +4333,7 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.SecretBinary = dv } + case "SecretString": if value != nil { jtv, ok := value.(string) @@ -4298,6 +4342,7 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.SecretString = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4306,10 +4351,12 @@ func awsAwsjson11_deserializeDocumentSecretValueEntry(v **types.SecretValueEntry } sv.VersionId = ptr.String(jtv) } + case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } + default: _, _ = key, value @@ -4390,10 +4437,12 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } } + case "KmsKeyIds": if err := awsAwsjson11_deserializeDocumentKmsKeyIdListType(&sv.KmsKeyIds, value); err != nil { return err } + case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -4409,6 +4458,7 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4417,10 +4467,12 @@ func awsAwsjson11_deserializeDocumentSecretVersionsListEntry(v **types.SecretVer } sv.VersionId = ptr.String(jtv) } + case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } + default: _, _ = key, value @@ -4564,6 +4616,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4572,6 +4625,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4645,6 +4699,7 @@ func awsAwsjson11_deserializeDocumentValidationErrorsEntry(v **types.ValidationE } sv.CheckName = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4653,6 +4708,7 @@ func awsAwsjson11_deserializeDocumentValidationErrorsEntry(v **types.ValidationE } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4722,6 +4778,7 @@ func awsAwsjson11_deserializeOpDocumentBatchGetSecretValueOutput(v **BatchGetSec if err := awsAwsjson11_deserializeDocumentAPIErrorListType(&sv.Errors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4730,10 +4787,12 @@ func awsAwsjson11_deserializeOpDocumentBatchGetSecretValueOutput(v **BatchGetSec } sv.NextToken = ptr.String(jtv) } + case "SecretValues": if err := awsAwsjson11_deserializeDocumentSecretValuesType(&sv.SecretValues, value); err != nil { return err } + default: _, _ = key, value @@ -4773,6 +4832,7 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4781,6 +4841,7 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.Name = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4789,6 +4850,7 @@ func awsAwsjson11_deserializeOpDocumentCancelRotateSecretOutput(v **CancelRotate } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4828,6 +4890,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4836,10 +4899,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.Name = ptr.String(jtv) } + case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -4848,6 +4913,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSecretOutput(v **CreateSecretOutput } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -4887,6 +4953,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4895,6 +4962,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteReso } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4934,6 +5002,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } sv.ARN = ptr.String(jtv) } + case "DeletionDate": if value != nil { switch jtv := value.(type) { @@ -4949,6 +5018,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4957,6 +5027,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSecretOutput(v **DeleteSecretOutput } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4996,6 +5067,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.ARN = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -5011,6 +5083,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "DeletedDate": if value != nil { switch jtv := value.(type) { @@ -5026,6 +5099,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5034,6 +5108,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.Description = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5042,6 +5117,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.KmsKeyId = ptr.String(jtv) } + case "LastAccessedDate": if value != nil { switch jtv := value.(type) { @@ -5057,6 +5133,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "LastChangedDate": if value != nil { switch jtv := value.(type) { @@ -5072,6 +5149,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "LastRotatedDate": if value != nil { switch jtv := value.(type) { @@ -5087,6 +5165,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5095,6 +5174,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.Name = ptr.String(jtv) } + case "NextRotationDate": if value != nil { switch jtv := value.(type) { @@ -5110,6 +5190,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } } + case "OwningService": if value != nil { jtv, ok := value.(string) @@ -5118,6 +5199,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.OwningService = ptr.String(jtv) } + case "PrimaryRegion": if value != nil { jtv, ok := value.(string) @@ -5126,10 +5208,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.PrimaryRegion = ptr.String(jtv) } + case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } + case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -5138,6 +5222,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.RotationEnabled = ptr.Bool(jtv) } + case "RotationLambdaARN": if value != nil { jtv, ok := value.(string) @@ -5146,18 +5231,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecretOutput(v **DescribeSecretOu } sv.RotationLambdaARN = ptr.String(jtv) } + case "RotationRules": if err := awsAwsjson11_deserializeDocumentRotationRulesType(&sv.RotationRules, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagListType(&sv.Tags, value); err != nil { return err } + case "VersionIdsToStages": if err := awsAwsjson11_deserializeDocumentSecretVersionsToStagesMapType(&sv.VersionIdsToStages, value); err != nil { return err } + default: _, _ = key, value @@ -5197,6 +5286,7 @@ func awsAwsjson11_deserializeOpDocumentGetRandomPasswordOutput(v **GetRandomPass } sv.RandomPassword = ptr.String(jtv) } + default: _, _ = key, value @@ -5236,6 +5326,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5244,6 +5335,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Name = ptr.String(jtv) } + case "ResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -5252,6 +5344,7 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.ResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -5291,6 +5384,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.ARN = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -5306,6 +5400,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5314,6 +5409,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.Name = ptr.String(jtv) } + case "SecretBinary": if value != nil { jtv, ok := value.(string) @@ -5326,6 +5422,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.SecretBinary = dv } + case "SecretString": if value != nil { jtv, ok := value.(string) @@ -5334,6 +5431,7 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.SecretString = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5342,10 +5440,12 @@ func awsAwsjson11_deserializeOpDocumentGetSecretValueOutput(v **GetSecretValueOu } sv.VersionId = ptr.String(jtv) } + case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } + default: _, _ = key, value @@ -5385,10 +5485,12 @@ func awsAwsjson11_deserializeOpDocumentListSecretsOutput(v **ListSecretsOutput, } sv.NextToken = ptr.String(jtv) } + case "SecretList": if err := awsAwsjson11_deserializeDocumentSecretListType(&sv.SecretList, value); err != nil { return err } + default: _, _ = key, value @@ -5428,6 +5530,7 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5436,6 +5539,7 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.Name = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5444,10 +5548,12 @@ func awsAwsjson11_deserializeOpDocumentListSecretVersionIdsOutput(v **ListSecret } sv.NextToken = ptr.String(jtv) } + case "Versions": if err := awsAwsjson11_deserializeDocumentSecretVersionsListType(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -5487,6 +5593,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5495,6 +5602,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5534,6 +5642,7 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5542,6 +5651,7 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.Name = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5550,10 +5660,12 @@ func awsAwsjson11_deserializeOpDocumentPutSecretValueOutput(v **PutSecretValueOu } sv.VersionId = ptr.String(jtv) } + case "VersionStages": if err := awsAwsjson11_deserializeDocumentSecretVersionStagesType(&sv.VersionStages, value); err != nil { return err } + default: _, _ = key, value @@ -5593,10 +5705,12 @@ func awsAwsjson11_deserializeOpDocumentRemoveRegionsFromReplicationOutput(v **Re } sv.ARN = ptr.String(jtv) } + case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -5636,10 +5750,12 @@ func awsAwsjson11_deserializeOpDocumentReplicateSecretToRegionsOutput(v **Replic } sv.ARN = ptr.String(jtv) } + case "ReplicationStatus": if err := awsAwsjson11_deserializeDocumentReplicationStatusListType(&sv.ReplicationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -5679,6 +5795,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreSecretOutput(v **RestoreSecretOutp } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5687,6 +5804,7 @@ func awsAwsjson11_deserializeOpDocumentRestoreSecretOutput(v **RestoreSecretOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5726,6 +5844,7 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5734,6 +5853,7 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.Name = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5742,6 +5862,7 @@ func awsAwsjson11_deserializeOpDocumentRotateSecretOutput(v **RotateSecretOutput } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5781,6 +5902,7 @@ func awsAwsjson11_deserializeOpDocumentStopReplicationToReplicaOutput(v **StopRe } sv.ARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5820,6 +5942,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5828,6 +5951,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.Name = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -5836,6 +5960,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretOutput(v **UpdateSecretOutput } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -5875,6 +6000,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretVersionStageOutput(v **Update } sv.ARN = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5883,6 +6009,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSecretVersionStageOutput(v **Update } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5922,10 +6049,12 @@ func awsAwsjson11_deserializeOpDocumentValidateResourcePolicyOutput(v **Validate } sv.PolicyValidationPassed = jtv } + case "ValidationErrors": if err := awsAwsjson11_deserializeDocumentValidationErrorsType(&sv.ValidationErrors, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/securityhub/deserializers.go b/service/securityhub/deserializers.go index 4343c3ff69e..62f4bd6b61b 100644 --- a/service/securityhub/deserializers.go +++ b/service/securityhub/deserializers.go @@ -384,10 +384,12 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteAutomationRulesOutput(v **Batc if err := awsRestjson1_deserializeDocumentAutomationRulesArnsList(&sv.ProcessedAutomationRules, value); err != nil { return err } + case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } + default: _, _ = key, value @@ -551,6 +553,7 @@ func awsRestjson1_deserializeOpDocumentBatchDisableStandardsOutput(v **BatchDisa if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -714,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentBatchEnableStandardsOutput(v **BatchEnabl if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -880,10 +884,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetAutomationRulesOutput(v **BatchGe if err := awsRestjson1_deserializeDocumentAutomationRulesConfigList(&sv.Rules, value); err != nil { return err } + case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } + default: _, _ = key, value @@ -1050,10 +1056,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetConfigurationPolicyAssociationsOu if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociationList(&sv.ConfigurationPolicyAssociations, value); err != nil { return err } + case "UnprocessedConfigurationPolicyAssociations": if err := awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociationList(&sv.UnprocessedConfigurationPolicyAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -1214,10 +1222,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetSecurityControlsOutput(v **BatchG if err := awsRestjson1_deserializeDocumentSecurityControls(&sv.SecurityControls, value); err != nil { return err } + case "UnprocessedIds": if err := awsRestjson1_deserializeDocumentUnprocessedSecurityControls(&sv.UnprocessedIds, value); err != nil { return err } + default: _, _ = key, value @@ -1378,10 +1388,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetStandardsControlAssociationsOutpu if err := awsRestjson1_deserializeDocumentStandardsControlAssociationDetails(&sv.StandardsControlAssociationDetails, value); err != nil { return err } + case "UnprocessedAssociations": if err := awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociations(&sv.UnprocessedAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -1550,10 +1562,12 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport } sv.FailedCount = ptr.Int32(int32(i64)) } + case "FailedFindings": if err := awsRestjson1_deserializeDocumentImportFindingsErrorList(&sv.FailedFindings, value); err != nil { return err } + case "SuccessCount": if value != nil { jtv, ok := value.(json.Number) @@ -1566,6 +1580,7 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport } sv.SuccessCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1729,10 +1744,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateAutomationRulesOutput(v **Batc if err := awsRestjson1_deserializeDocumentAutomationRulesArnsList(&sv.ProcessedAutomationRules, value); err != nil { return err } + case "UnprocessedAutomationRules": if err := awsRestjson1_deserializeDocumentUnprocessedAutomationRulesList(&sv.UnprocessedAutomationRules, value); err != nil { return err } + default: _, _ = key, value @@ -1893,10 +1910,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateFindingsOutput(v **BatchUpdate if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifierList(&sv.ProcessedFindings, value); err != nil { return err } + case "UnprocessedFindings": if err := awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFindingsList(&sv.UnprocessedFindings, value); err != nil { return err } + default: _, _ = key, value @@ -2060,6 +2079,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateStandardsControlAssociationsOu if err := awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdates(&sv.UnprocessedAssociationUpdates, value); err != nil { return err } + default: _, _ = key, value @@ -2227,6 +2247,7 @@ func awsRestjson1_deserializeOpDocumentCreateActionTargetOutput(v **CreateAction } sv.ActionTargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2394,6 +2415,7 @@ func awsRestjson1_deserializeOpDocumentCreateAutomationRuleOutput(v **CreateAuto } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2564,10 +2586,12 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Arn = ptr.String(jtv) } + case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -2580,6 +2604,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2588,6 +2613,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2596,6 +2622,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2604,6 +2631,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.Name = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2616,6 +2644,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationPolicyOutput(v **Creat } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -2783,6 +2812,7 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.FindingAggregationRegion = ptr.String(jtv) } + case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -2791,6 +2821,7 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.FindingAggregatorArn = ptr.String(jtv) } + case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -2799,10 +2830,12 @@ func awsRestjson1_deserializeOpDocumentCreateFindingAggregatorOutput(v **CreateF } sv.RegionLinkingMode = ptr.String(jtv) } + case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -2970,6 +3003,7 @@ func awsRestjson1_deserializeOpDocumentCreateInsightOutput(v **CreateInsightOutp } sv.InsightArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3136,6 +3170,7 @@ func awsRestjson1_deserializeOpDocumentCreateMembersOutput(v **CreateMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -3296,6 +3331,7 @@ func awsRestjson1_deserializeOpDocumentDeclineInvitationsOutput(v **DeclineInvit if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -3460,6 +3496,7 @@ func awsRestjson1_deserializeOpDocumentDeleteActionTargetOutput(v **DeleteAction } sv.ActionTargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3836,6 +3873,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInsightOutput(v **DeleteInsightOutp } sv.InsightArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3999,6 +4037,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInvitationsOutput(v **DeleteInvitat if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -4162,6 +4201,7 @@ func awsRestjson1_deserializeOpDocumentDeleteMembersOutput(v **DeleteMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -4322,6 +4362,7 @@ func awsRestjson1_deserializeOpDocumentDescribeActionTargetsOutput(v **DescribeA if err := awsRestjson1_deserializeDocumentActionTargetList(&sv.ActionTargets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4330,6 +4371,7 @@ func awsRestjson1_deserializeOpDocumentDescribeActionTargetsOutput(v **DescribeA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4497,6 +4539,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.AutoEnableControls = ptr.Bool(jtv) } + case "ControlFindingGenerator": if value != nil { jtv, ok := value.(string) @@ -4505,6 +4548,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.ControlFindingGenerator = types.ControlFindingGenerator(jtv) } + case "HubArn": if value != nil { jtv, ok := value.(string) @@ -4513,6 +4557,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.HubArn = ptr.String(jtv) } + case "SubscribedAt": if value != nil { jtv, ok := value.(string) @@ -4521,6 +4566,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, } sv.SubscribedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -4685,6 +4731,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnable = ptr.Bool(jtv) } + case "AutoEnableStandards": if value != nil { jtv, ok := value.(string) @@ -4693,6 +4740,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.AutoEnableStandards = types.AutoEnableStandards(jtv) } + case "MemberAccountLimitReached": if value != nil { jtv, ok := value.(bool) @@ -4701,10 +4749,12 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v } sv.MemberAccountLimitReached = ptr.Bool(jtv) } + case "OrganizationConfiguration": if err := awsRestjson1_deserializeDocumentOrganizationConfiguration(&sv.OrganizationConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4869,10 +4919,12 @@ func awsRestjson1_deserializeOpDocumentDescribeProductsOutput(v **DescribeProduc } sv.NextToken = ptr.String(jtv) } + case "Products": if err := awsRestjson1_deserializeDocumentProductsList(&sv.Products, value); err != nil { return err } + default: _, _ = key, value @@ -5034,10 +5086,12 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsOutput(v **DescribeStand } sv.NextToken = ptr.String(jtv) } + case "Standards": if err := awsRestjson1_deserializeDocumentStandards(&sv.Standards, value); err != nil { return err } + default: _, _ = key, value @@ -5198,6 +5252,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsControlsOutput(v **Descr if err := awsRestjson1_deserializeDocumentStandardsControls(&sv.Controls, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5206,6 +5261,7 @@ func awsRestjson1_deserializeOpDocumentDescribeStandardsControlsOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5976,6 +6032,7 @@ func awsRestjson1_deserializeOpDocumentEnableImportFindingsForProductOutput(v ** } sv.ProductSubscriptionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6339,6 +6396,7 @@ func awsRestjson1_deserializeOpDocumentGetAdministratorAccountOutput(v **GetAdmi if err := awsRestjson1_deserializeDocumentInvitation(&sv.Administrator, value); err != nil { return err } + default: _, _ = key, value @@ -6509,10 +6567,12 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Arn = ptr.String(jtv) } + case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -6525,6 +6585,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6533,6 +6594,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6541,6 +6603,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6549,6 +6612,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.Name = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6561,6 +6625,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyOutput(v **GetConfi } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6731,6 +6796,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } + case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -6739,6 +6805,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationStatusMessage = ptr.String(jtv) } + case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -6747,6 +6814,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.AssociationType = types.AssociationType(jtv) } + case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -6755,6 +6823,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.ConfigurationPolicyId = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -6763,6 +6832,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -6771,6 +6841,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.TargetType = types.TargetType(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -6783,6 +6854,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationPolicyAssociationOutput(v } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6947,10 +7019,12 @@ func awsRestjson1_deserializeOpDocumentGetEnabledStandardsOutput(v **GetEnabledS } sv.NextToken = ptr.String(jtv) } + case "StandardsSubscriptions": if err := awsRestjson1_deserializeDocumentStandardsSubscriptions(&sv.StandardsSubscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -7121,6 +7195,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.FindingAggregationRegion = ptr.String(jtv) } + case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -7129,6 +7204,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.FindingAggregatorArn = ptr.String(jtv) } + case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -7137,10 +7213,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingAggregatorOutput(v **GetFinding } sv.RegionLinkingMode = ptr.String(jtv) } + case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -7305,10 +7383,12 @@ func awsRestjson1_deserializeOpDocumentGetFindingHistoryOutput(v **GetFindingHis } sv.NextToken = ptr.String(jtv) } + case "Records": if err := awsRestjson1_deserializeDocumentFindingHistoryRecordList(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -7469,6 +7549,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, if err := awsRestjson1_deserializeDocumentAwsSecurityFindingList(&sv.Findings, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7477,6 +7558,7 @@ func awsRestjson1_deserializeOpDocumentGetFindingsOutput(v **GetFindingsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7640,6 +7722,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightResultsOutput(v **GetInsightRes if err := awsRestjson1_deserializeDocumentInsightResults(&sv.InsightResults, value); err != nil { return err } + default: _, _ = key, value @@ -7803,6 +7886,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, if err := awsRestjson1_deserializeDocumentInsightList(&sv.Insights, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7811,6 +7895,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightsOutput(v **GetInsightsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7979,6 +8064,7 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati } sv.InvitationsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8142,6 +8228,7 @@ func awsRestjson1_deserializeOpDocumentGetMasterAccountOutput(v **GetMasterAccou if err := awsRestjson1_deserializeDocumentInvitation(&sv.Master, value); err != nil { return err } + default: _, _ = key, value @@ -8305,10 +8392,12 @@ func awsRestjson1_deserializeOpDocumentGetMembersOutput(v **GetMembersOutput, va if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } + case "UnprocessedAccounts": if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -8472,6 +8561,7 @@ func awsRestjson1_deserializeOpDocumentGetSecurityControlDefinitionOutput(v **Ge if err := awsRestjson1_deserializeDocumentSecurityControlDefinition(&sv.SecurityControlDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -8635,6 +8725,7 @@ func awsRestjson1_deserializeOpDocumentInviteMembersOutput(v **InviteMembersOutp if err := awsRestjson1_deserializeDocumentResultList(&sv.UnprocessedAccounts, value); err != nil { return err } + default: _, _ = key, value @@ -8798,6 +8889,7 @@ func awsRestjson1_deserializeOpDocumentListAutomationRulesOutput(v **ListAutomat if err := awsRestjson1_deserializeDocumentAutomationRulesMetadataList(&sv.AutomationRulesMetadata, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8806,6 +8898,7 @@ func awsRestjson1_deserializeOpDocumentListAutomationRulesOutput(v **ListAutomat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8969,6 +9062,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPoliciesOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationPolicySummaryList(&sv.ConfigurationPolicySummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8977,6 +9071,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPoliciesOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9140,6 +9235,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPolicyAssociationsOutput if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummaryList(&sv.ConfigurationPolicyAssociationSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9148,6 +9244,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationPolicyAssociationsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9309,10 +9406,12 @@ func awsRestjson1_deserializeOpDocumentListEnabledProductsForImportOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "ProductSubscriptions": if err := awsRestjson1_deserializeDocumentProductSubscriptionArnList(&sv.ProductSubscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -9476,6 +9575,7 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregatorsOutput(v **ListFind if err := awsRestjson1_deserializeDocumentFindingAggregatorList(&sv.FindingAggregators, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9484,6 +9584,7 @@ func awsRestjson1_deserializeOpDocumentListFindingAggregatorsOutput(v **ListFind } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9644,6 +9745,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations if err := awsRestjson1_deserializeDocumentInvitationList(&sv.Invitations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9652,6 +9754,7 @@ func awsRestjson1_deserializeOpDocumentListInvitationsOutput(v **ListInvitations } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9812,6 +9915,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, if err := awsRestjson1_deserializeDocumentMemberList(&sv.Members, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9820,6 +9924,7 @@ func awsRestjson1_deserializeOpDocumentListMembersOutput(v **ListMembersOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9980,6 +10085,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L if err := awsRestjson1_deserializeDocumentAdminAccounts(&sv.AdminAccounts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9988,6 +10094,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationAdminAccountsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10152,10 +10259,12 @@ func awsRestjson1_deserializeOpDocumentListSecurityControlDefinitionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "SecurityControlDefinitions": if err := awsRestjson1_deserializeDocumentSecurityControlDefinitions(&sv.SecurityControlDefinitions, value); err != nil { return err } + default: _, _ = key, value @@ -10320,10 +10429,12 @@ func awsRestjson1_deserializeOpDocumentListStandardsControlAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "StandardsControlAssociationSummaries": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationSummaries(&sv.StandardsControlAssociationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -10481,6 +10592,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10651,6 +10763,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } + case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -10659,6 +10772,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationStatusMessage = ptr.String(jtv) } + case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -10667,6 +10781,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.AssociationType = types.AssociationType(jtv) } + case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -10675,6 +10790,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.ConfigurationPolicyId = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -10683,6 +10799,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -10691,6 +10808,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.TargetType = types.TargetType(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10703,6 +10821,7 @@ func awsRestjson1_deserializeOpDocumentStartConfigurationPolicyAssociationOutput } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11264,10 +11383,12 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Arn = ptr.String(jtv) } + case "ConfigurationPolicy": if err := awsRestjson1_deserializeDocumentPolicy(&sv.ConfigurationPolicy, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -11280,6 +11401,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11288,6 +11410,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11296,6 +11419,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11304,6 +11428,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.Name = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11316,6 +11441,7 @@ func awsRestjson1_deserializeOpDocumentUpdateConfigurationPolicyOutput(v **Updat } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -11486,6 +11612,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.FindingAggregationRegion = ptr.String(jtv) } + case "FindingAggregatorArn": if value != nil { jtv, ok := value.(string) @@ -11494,6 +11621,7 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.FindingAggregatorArn = ptr.String(jtv) } + case "RegionLinkingMode": if value != nil { jtv, ok := value.(string) @@ -11502,10 +11630,12 @@ func awsRestjson1_deserializeOpDocumentUpdateFindingAggregatorOutput(v **UpdateF } sv.RegionLinkingMode = ptr.String(jtv) } + case "Regions": if err := awsRestjson1_deserializeDocumentStringList(&sv.Regions, value); err != nil { return err } + default: _, _ = key, value @@ -12448,6 +12578,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12456,6 +12587,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12495,22 +12627,27 @@ func awsRestjson1_deserializeDocumentAction(v **types.Action, value interface{}) } sv.ActionType = ptr.String(jtv) } + case "AwsApiCallAction": if err := awsRestjson1_deserializeDocumentAwsApiCallAction(&sv.AwsApiCallAction, value); err != nil { return err } + case "DnsRequestAction": if err := awsRestjson1_deserializeDocumentDnsRequestAction(&sv.DnsRequestAction, value); err != nil { return err } + case "NetworkConnectionAction": if err := awsRestjson1_deserializeDocumentNetworkConnectionAction(&sv.NetworkConnectionAction, value); err != nil { return err } + case "PortProbeAction": if err := awsRestjson1_deserializeDocumentPortProbeAction(&sv.PortProbeAction, value); err != nil { return err } + default: _, _ = key, value @@ -12584,6 +12721,7 @@ func awsRestjson1_deserializeDocumentActionLocalIpDetails(v **types.ActionLocalI } sv.IpAddressV4 = ptr.String(jtv) } + default: _, _ = key, value @@ -12627,6 +12765,7 @@ func awsRestjson1_deserializeDocumentActionLocalPortDetails(v **types.ActionLoca } sv.Port = ptr.Int32(int32(i64)) } + case "PortName": if value != nil { jtv, ok := value.(string) @@ -12635,6 +12774,7 @@ func awsRestjson1_deserializeDocumentActionLocalPortDetails(v **types.ActionLoca } sv.PortName = ptr.String(jtv) } + default: _, _ = key, value @@ -12670,14 +12810,17 @@ func awsRestjson1_deserializeDocumentActionRemoteIpDetails(v **types.ActionRemot if err := awsRestjson1_deserializeDocumentCity(&sv.City, value); err != nil { return err } + case "Country": if err := awsRestjson1_deserializeDocumentCountry(&sv.Country, value); err != nil { return err } + case "GeoLocation": if err := awsRestjson1_deserializeDocumentGeoLocation(&sv.GeoLocation, value); err != nil { return err } + case "IpAddressV4": if value != nil { jtv, ok := value.(string) @@ -12686,10 +12829,12 @@ func awsRestjson1_deserializeDocumentActionRemoteIpDetails(v **types.ActionRemot } sv.IpAddressV4 = ptr.String(jtv) } + case "Organization": if err := awsRestjson1_deserializeDocumentIpOrganizationDetails(&sv.Organization, value); err != nil { return err } + default: _, _ = key, value @@ -12733,6 +12878,7 @@ func awsRestjson1_deserializeDocumentActionRemotePortDetails(v **types.ActionRem } sv.Port = ptr.Int32(int32(i64)) } + case "PortName": if value != nil { jtv, ok := value.(string) @@ -12741,6 +12887,7 @@ func awsRestjson1_deserializeDocumentActionRemotePortDetails(v **types.ActionRem } sv.PortName = ptr.String(jtv) } + default: _, _ = key, value @@ -12780,6 +12927,7 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.ActionTargetArn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12788,6 +12936,7 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12796,6 +12945,7 @@ func awsRestjson1_deserializeDocumentActionTarget(v **types.ActionTarget, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12869,6 +13019,7 @@ func awsRestjson1_deserializeDocumentAdjustment(v **types.Adjustment, value inte } sv.Metric = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12877,6 +13028,7 @@ func awsRestjson1_deserializeDocumentAdjustment(v **types.Adjustment, value inte } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -12950,6 +13102,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.AccountId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12958,6 +13111,7 @@ func awsRestjson1_deserializeDocumentAdminAccount(v **types.AdminAccount, value } sv.Status = types.AdminStatus(jtv) } + default: _, _ = key, value @@ -13031,6 +13185,7 @@ func awsRestjson1_deserializeDocumentAssociatedStandard(v **types.AssociatedStan } sv.StandardsId = ptr.String(jtv) } + default: _, _ = key, value @@ -13100,6 +13255,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association if err := awsRestjson1_deserializeDocumentAssociationStateDetails(&sv.AssociationState, value); err != nil { return err } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -13108,6 +13264,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.GatewayId = ptr.String(jtv) } + case "Main": if value != nil { jtv, ok := value.(bool) @@ -13116,6 +13273,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.Main = ptr.Bool(jtv) } + case "RouteTableAssociationId": if value != nil { jtv, ok := value.(string) @@ -13124,6 +13282,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.RouteTableAssociationId = ptr.String(jtv) } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -13132,6 +13291,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.RouteTableId = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -13140,6 +13300,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -13213,6 +13374,7 @@ func awsRestjson1_deserializeDocumentAssociationStateDetails(v **types.Associati } sv.State = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13221,6 +13383,7 @@ func awsRestjson1_deserializeDocumentAssociationStateDetails(v **types.Associati } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -13256,6 +13419,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesAction(v **types.AutomationR if err := awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(&sv.FindingFieldsUpdate, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13264,6 +13428,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesAction(v **types.AutomationR } sv.Type = types.AutomationRulesActionType(jtv) } + default: _, _ = key, value @@ -13335,6 +13500,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR if err := awsRestjson1_deserializeDocumentActionList(&sv.Actions, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -13347,6 +13513,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.CreatedAt = ptr.Time(t) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13355,10 +13522,12 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.CreatedBy = ptr.String(jtv) } + case "Criteria": if err := awsRestjson1_deserializeDocumentAutomationRulesFindingFilters(&sv.Criteria, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13367,6 +13536,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.Description = ptr.String(jtv) } + case "IsTerminal": if value != nil { jtv, ok := value.(bool) @@ -13375,6 +13545,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.IsTerminal = ptr.Bool(jtv) } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -13383,6 +13554,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleArn = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -13391,6 +13563,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleName = ptr.String(jtv) } + case "RuleOrder": if value != nil { jtv, ok := value.(json.Number) @@ -13403,6 +13576,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleOrder = ptr.Int32(int32(i64)) } + case "RuleStatus": if value != nil { jtv, ok := value.(string) @@ -13411,6 +13585,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.RuleStatus = types.RuleStatus(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -13423,6 +13598,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -13500,6 +13676,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.Confidence = ptr.Int32(int32(i64)) } + case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -13512,26 +13689,32 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.Criticality = ptr.Int32(int32(i64)) } + case "Note": if err := awsRestjson1_deserializeDocumentNoteUpdate(&sv.Note, value); err != nil { return err } + case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } + case "Severity": if err := awsRestjson1_deserializeDocumentSeverityUpdate(&sv.Severity, value); err != nil { return err } + case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } + case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.UserDefinedFields, value); err != nil { return err } + case "VerificationState": if value != nil { jtv, ok := value.(string) @@ -13540,10 +13723,12 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type } sv.VerificationState = types.VerificationState(jtv) } + case "Workflow": if err := awsRestjson1_deserializeDocumentWorkflowUpdate(&sv.Workflow, value); err != nil { return err } + default: _, _ = key, value @@ -13579,154 +13764,192 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFilters(v **types.Aut if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } + case "AwsAccountName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountName, value); err != nil { return err } + case "CompanyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CompanyName, value); err != nil { return err } + case "ComplianceAssociatedStandardsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceAssociatedStandardsId, value); err != nil { return err } + case "ComplianceSecurityControlId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlId, value); err != nil { return err } + case "ComplianceStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceStatus, value); err != nil { return err } + case "Confidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Confidence, value); err != nil { return err } + case "CreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.CreatedAt, value); err != nil { return err } + case "Criticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Criticality, value); err != nil { return err } + case "Description": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Description, value); err != nil { return err } + case "FirstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } + case "GeneratorId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.GeneratorId, value); err != nil { return err } + case "Id": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Id, value); err != nil { return err } + case "LastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } + case "NoteText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteText, value); err != nil { return err } + case "NoteUpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.NoteUpdatedAt, value); err != nil { return err } + case "NoteUpdatedBy": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteUpdatedBy, value); err != nil { return err } + case "ProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductArn, value); err != nil { return err } + case "ProductName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductName, value); err != nil { return err } + case "RecordState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecordState, value); err != nil { return err } + case "RelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsId, value); err != nil { return err } + case "RelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsProductArn, value); err != nil { return err } + case "ResourceApplicationArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationArn, value); err != nil { return err } + case "ResourceApplicationName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationName, value); err != nil { return err } + case "ResourceDetailsOther": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceDetailsOther, value); err != nil { return err } + case "ResourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } + case "ResourcePartition": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourcePartition, value); err != nil { return err } + case "ResourceRegion": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceRegion, value); err != nil { return err } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } + case "SeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SeverityLabel, value); err != nil { return err } + case "SourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SourceUrl, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } + case "Type": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Type, value); err != nil { return err } + case "UpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } + case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.UserDefinedFields, value); err != nil { return err } + case "VerificationState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VerificationState, value); err != nil { return err } + case "WorkflowStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13770,6 +13993,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.CreatedAt = ptr.Time(t) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -13778,6 +14002,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.CreatedBy = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13786,6 +14011,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.Description = ptr.String(jtv) } + case "IsTerminal": if value != nil { jtv, ok := value.(bool) @@ -13794,6 +14020,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.IsTerminal = ptr.Bool(jtv) } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -13802,6 +14029,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleArn = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -13810,6 +14038,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleName = ptr.String(jtv) } + case "RuleOrder": if value != nil { jtv, ok := value.(json.Number) @@ -13822,6 +14051,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleOrder = ptr.Int32(int32(i64)) } + case "RuleStatus": if value != nil { jtv, ok := value.(string) @@ -13830,6 +14060,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.RuleStatus = types.RuleStatus(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -13842,6 +14073,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -13915,6 +14147,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.SubnetId = ptr.String(jtv) } + case "ZoneName": if value != nil { jtv, ok := value.(string) @@ -13923,6 +14156,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZone(v **types.AvailabilityZone } sv.ZoneName = ptr.String(jtv) } + default: _, _ = key, value @@ -13996,6 +14230,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.AuthenticationStrategy = ptr.String(jtv) } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -14004,6 +14239,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "BrokerArn": if value != nil { jtv, ok := value.(string) @@ -14012,6 +14248,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerArn = ptr.String(jtv) } + case "BrokerId": if value != nil { jtv, ok := value.(string) @@ -14020,6 +14257,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerId = ptr.String(jtv) } + case "BrokerName": if value != nil { jtv, ok := value.(string) @@ -14028,6 +14266,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.BrokerName = ptr.String(jtv) } + case "DeploymentMode": if value != nil { jtv, ok := value.(string) @@ -14036,10 +14275,12 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.DeploymentMode = ptr.String(jtv) } + case "EncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(&sv.EncryptionOptions, value); err != nil { return err } + case "EngineType": if value != nil { jtv, ok := value.(string) @@ -14048,6 +14289,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.EngineType = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -14056,6 +14298,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.EngineVersion = ptr.String(jtv) } + case "HostInstanceType": if value != nil { jtv, ok := value.(string) @@ -14064,18 +14307,22 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.HostInstanceType = ptr.String(jtv) } + case "LdapServerMetadata": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails(&sv.LdapServerMetadata, value); err != nil { return err } + case "Logs": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(&sv.Logs, value); err != nil { return err } + case "MaintenanceWindowStartTime": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails(&sv.MaintenanceWindowStartTime, value); err != nil { return err } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -14084,10 +14331,12 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -14096,14 +14345,17 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo } sv.StorageType = ptr.String(jtv) } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubnetIds, value); err != nil { return err } + case "Users": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -14143,6 +14395,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v } sv.KmsKeyId = ptr.String(jtv) } + case "UseAwsOwnedKey": if value != nil { jtv, ok := value.(bool) @@ -14151,6 +14404,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v } sv.UseAwsOwnedKey = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14186,6 +14440,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( if err := awsRestjson1_deserializeDocumentStringList(&sv.Hosts, value); err != nil { return err } + case "RoleBase": if value != nil { jtv, ok := value.(string) @@ -14194,6 +14449,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleBase = ptr.String(jtv) } + case "RoleName": if value != nil { jtv, ok := value.(string) @@ -14202,6 +14458,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleName = ptr.String(jtv) } + case "RoleSearchMatching": if value != nil { jtv, ok := value.(string) @@ -14210,6 +14467,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleSearchMatching = ptr.String(jtv) } + case "RoleSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -14218,6 +14476,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.RoleSearchSubtree = ptr.Bool(jtv) } + case "ServiceAccountUsername": if value != nil { jtv, ok := value.(string) @@ -14226,6 +14485,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.ServiceAccountUsername = ptr.String(jtv) } + case "UserBase": if value != nil { jtv, ok := value.(string) @@ -14234,6 +14494,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserBase = ptr.String(jtv) } + case "UserRoleName": if value != nil { jtv, ok := value.(string) @@ -14242,6 +14503,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserRoleName = ptr.String(jtv) } + case "UserSearchMatching": if value != nil { jtv, ok := value.(string) @@ -14250,6 +14512,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserSearchMatching = ptr.String(jtv) } + case "UserSearchSubtree": if value != nil { jtv, ok := value.(bool) @@ -14258,6 +14521,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( } sv.UserSearchSubtree = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14297,6 +14561,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.Audit = ptr.Bool(jtv) } + case "AuditLogGroup": if value != nil { jtv, ok := value.(string) @@ -14305,6 +14570,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.AuditLogGroup = ptr.String(jtv) } + case "General": if value != nil { jtv, ok := value.(bool) @@ -14313,6 +14579,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.General = ptr.Bool(jtv) } + case "GeneralLogGroup": if value != nil { jtv, ok := value.(string) @@ -14321,10 +14588,12 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA } sv.GeneralLogGroup = ptr.String(jtv) } + case "Pending": if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(&sv.Pending, value); err != nil { return err } + default: _, _ = key, value @@ -14364,6 +14633,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ } sv.Audit = ptr.Bool(jtv) } + case "General": if value != nil { jtv, ok := value.(bool) @@ -14372,6 +14642,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ } sv.General = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14411,6 +14682,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.DayOfWeek = ptr.String(jtv) } + case "TimeOfDay": if value != nil { jtv, ok := value.(string) @@ -14419,6 +14691,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.TimeOfDay = ptr.String(jtv) } + case "TimeZone": if value != nil { jtv, ok := value.(string) @@ -14427,6 +14700,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerMaintenanceWindowStartTime } sv.TimeZone = ptr.String(jtv) } + default: _, _ = key, value @@ -14466,6 +14740,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersDetails(v **types.Aws } sv.PendingChange = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -14474,6 +14749,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerUsersDetails(v **types.Aws } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -14543,6 +14819,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction if err := awsRestjson1_deserializeDocumentFieldMap(&sv.AffectedResources, value); err != nil { return err } + case "Api": if value != nil { jtv, ok := value.(string) @@ -14551,6 +14828,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.Api = ptr.String(jtv) } + case "CallerType": if value != nil { jtv, ok := value.(string) @@ -14559,10 +14837,12 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.CallerType = ptr.String(jtv) } + case "DomainDetails": if err := awsRestjson1_deserializeDocumentAwsApiCallActionDomainDetails(&sv.DomainDetails, value); err != nil { return err } + case "FirstSeen": if value != nil { jtv, ok := value.(string) @@ -14571,6 +14851,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.FirstSeen = ptr.String(jtv) } + case "LastSeen": if value != nil { jtv, ok := value.(string) @@ -14579,10 +14860,12 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.LastSeen = ptr.String(jtv) } + case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -14591,6 +14874,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallAction(v **types.AwsApiCallAction } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -14630,6 +14914,7 @@ func awsRestjson1_deserializeDocumentAwsApiCallActionDomainDetails(v **types.Aws } sv.Domain = ptr.String(jtv) } + default: _, _ = key, value @@ -14669,6 +14954,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(v **types.Aw } sv.DestinationArn = ptr.String(jtv) } + case "Format": if value != nil { jtv, ok := value.(string) @@ -14677,6 +14963,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(v **types.Aw } sv.Format = ptr.String(jtv) } + default: _, _ = key, value @@ -14716,6 +15003,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } sv.DeploymentId = ptr.String(jtv) } + case "PercentTraffic": if value != nil { switch jtv := value.(type) { @@ -14749,10 +15037,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } } + case "StageVariableOverrides": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.StageVariableOverrides, value); err != nil { return err } + case "UseStageCache": if value != nil { jtv, ok := value.(bool) @@ -14761,6 +15051,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp } sv.UseStageCache = ptr.Bool(jtv) } + default: _, _ = key, value @@ -14796,6 +15087,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayEndpointConfiguration(v **type if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -14835,6 +15127,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CacheDataEncrypted = ptr.Bool(jtv) } + case "CacheTtlInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -14847,6 +15140,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CacheTtlInSeconds = ptr.Int32(int32(i64)) } + case "CachingEnabled": if value != nil { jtv, ok := value.(bool) @@ -14855,6 +15149,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.CachingEnabled = ptr.Bool(jtv) } + case "DataTraceEnabled": if value != nil { jtv, ok := value.(bool) @@ -14863,6 +15158,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.DataTraceEnabled = ptr.Bool(jtv) } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -14871,6 +15167,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.HttpMethod = ptr.String(jtv) } + case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -14879,6 +15176,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.LoggingLevel = ptr.String(jtv) } + case "MetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -14887,6 +15185,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.MetricsEnabled = ptr.Bool(jtv) } + case "RequireAuthorizationForCacheControl": if value != nil { jtv, ok := value.(bool) @@ -14895,6 +15194,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.RequireAuthorizationForCacheControl = ptr.Bool(jtv) } + case "ResourcePath": if value != nil { jtv, ok := value.(string) @@ -14903,6 +15203,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.ResourcePath = ptr.String(jtv) } + case "ThrottlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -14915,6 +15216,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } + case "ThrottlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -14948,6 +15250,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } } + case "UnauthorizedCacheControlHeaderStrategy": if value != nil { jtv, ok := value.(string) @@ -14956,6 +15259,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp } sv.UnauthorizedCacheControlHeaderStrategy = ptr.String(jtv) } + default: _, _ = key, value @@ -15029,10 +15333,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.ApiKeySource = ptr.String(jtv) } + case "BinaryMediaTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BinaryMediaTypes, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15041,6 +15347,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15049,10 +15356,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Description = ptr.String(jtv) } + case "EndpointConfiguration": if err := awsRestjson1_deserializeDocumentAwsApiGatewayEndpointConfiguration(&sv.EndpointConfiguration, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15061,6 +15370,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Id = ptr.String(jtv) } + case "MinimumCompressionSize": if value != nil { jtv, ok := value.(json.Number) @@ -15073,6 +15383,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15081,6 +15392,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -15089,6 +15401,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15124,6 +15437,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG if err := awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "CacheClusterEnabled": if value != nil { jtv, ok := value.(bool) @@ -15132,6 +15446,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterEnabled = ptr.Bool(jtv) } + case "CacheClusterSize": if value != nil { jtv, ok := value.(string) @@ -15140,6 +15455,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterSize = ptr.String(jtv) } + case "CacheClusterStatus": if value != nil { jtv, ok := value.(string) @@ -15148,10 +15464,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CacheClusterStatus = ptr.String(jtv) } + case "CanarySettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(&sv.CanarySettings, value); err != nil { return err } + case "ClientCertificateId": if value != nil { jtv, ok := value.(string) @@ -15160,6 +15478,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.ClientCertificateId = ptr.String(jtv) } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15168,6 +15487,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.CreatedDate = ptr.String(jtv) } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15176,6 +15496,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.DeploymentId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15184,6 +15505,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.Description = ptr.String(jtv) } + case "DocumentationVersion": if value != nil { jtv, ok := value.(string) @@ -15192,6 +15514,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.DocumentationVersion = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -15200,10 +15523,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.LastUpdatedDate = ptr.String(jtv) } + case "MethodSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettingsList(&sv.MethodSettings, value); err != nil { return err } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -15212,6 +15537,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.StageName = ptr.String(jtv) } + case "TracingEnabled": if value != nil { jtv, ok := value.(bool) @@ -15220,10 +15546,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.TracingEnabled = ptr.Bool(jtv) } + case "Variables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Variables, value); err != nil { return err } + case "WebAclArn": if value != nil { jtv, ok := value.(string) @@ -15232,6 +15560,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG } sv.WebAclArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15271,6 +15600,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiEndpoint = ptr.String(jtv) } + case "ApiId": if value != nil { jtv, ok := value.(string) @@ -15279,6 +15609,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiId = ptr.String(jtv) } + case "ApiKeySelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15287,10 +15618,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ApiKeySelectionExpression = ptr.String(jtv) } + case "CorsConfiguration": if err := awsRestjson1_deserializeDocumentAwsCorsConfiguration(&sv.CorsConfiguration, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15299,6 +15632,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.CreatedDate = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15307,6 +15641,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15315,6 +15650,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Name = ptr.String(jtv) } + case "ProtocolType": if value != nil { jtv, ok := value.(string) @@ -15323,6 +15659,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.ProtocolType = ptr.String(jtv) } + case "RouteSelectionExpression": if value != nil { jtv, ok := value.(string) @@ -15331,6 +15668,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.RouteSelectionExpression = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -15339,6 +15677,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(v **types.AwsApiG } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -15378,6 +15717,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.DataTraceEnabled = ptr.Bool(jtv) } + case "DetailedMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15386,6 +15726,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.DetailedMetricsEnabled = ptr.Bool(jtv) } + case "LoggingLevel": if value != nil { jtv, ok := value.(string) @@ -15394,6 +15735,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.LoggingLevel = ptr.String(jtv) } + case "ThrottlingBurstLimit": if value != nil { jtv, ok := value.(json.Number) @@ -15406,6 +15748,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } + case "ThrottlingRateLimit": if value != nil { switch jtv := value.(type) { @@ -15439,6 +15782,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA } } + default: _, _ = key, value @@ -15474,6 +15818,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp if err := awsRestjson1_deserializeDocumentAwsApiGatewayAccessLogSettings(&sv.AccessLogSettings, value); err != nil { return err } + case "ApiGatewayManaged": if value != nil { jtv, ok := value.(bool) @@ -15482,6 +15827,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.ApiGatewayManaged = ptr.Bool(jtv) } + case "AutoDeploy": if value != nil { jtv, ok := value.(bool) @@ -15490,6 +15836,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.AutoDeploy = ptr.Bool(jtv) } + case "ClientCertificateId": if value != nil { jtv, ok := value.(string) @@ -15498,6 +15845,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.ClientCertificateId = ptr.String(jtv) } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -15506,10 +15854,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.CreatedDate = ptr.String(jtv) } + case "DefaultRouteSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(&sv.DefaultRouteSettings, value); err != nil { return err } + case "DeploymentId": if value != nil { jtv, ok := value.(string) @@ -15518,6 +15868,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.DeploymentId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15526,6 +15877,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.Description = ptr.String(jtv) } + case "LastDeploymentStatusMessage": if value != nil { jtv, ok := value.(string) @@ -15534,6 +15886,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.LastDeploymentStatusMessage = ptr.String(jtv) } + case "LastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -15542,10 +15895,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.LastUpdatedDate = ptr.String(jtv) } + case "RouteSettings": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(&sv.RouteSettings, value); err != nil { return err } + case "StageName": if value != nil { jtv, ok := value.(string) @@ -15554,10 +15909,12 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp } sv.StageName = ptr.String(jtv) } + case "StageVariables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.StageVariables, value); err != nil { return err } + default: _, _ = key, value @@ -15597,18 +15954,22 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiAdditionalAuthenticatio } sv.AuthenticationType = ptr.String(jtv) } + case "LambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails(&sv.LambdaAuthorizerConfig, value); err != nil { return err } + case "OpenIdConnectConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetails(&sv.OpenIdConnectConfig, value); err != nil { return err } + case "UserPoolConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(&sv.UserPoolConfig, value); err != nil { return err } + default: _, _ = key, value @@ -15678,6 +16039,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiAdditionalAuthenticationProvidersList(&sv.AdditionalAuthenticationProviders, value); err != nil { return err } + case "ApiId": if value != nil { jtv, ok := value.(string) @@ -15686,6 +16048,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.ApiId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -15694,6 +16057,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Arn = ptr.String(jtv) } + case "AuthenticationType": if value != nil { jtv, ok := value.(string) @@ -15702,6 +16066,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.AuthenticationType = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15710,14 +16075,17 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Id = ptr.String(jtv) } + case "LambdaAuthorizerConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails(&sv.LambdaAuthorizerConfig, value); err != nil { return err } + case "LogConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(&sv.LogConfig, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15726,14 +16094,17 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.Name = ptr.String(jtv) } + case "OpenIdConnectConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetails(&sv.OpenIdConnectConfig, value); err != nil { return err } + case "UserPoolConfig": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(&sv.UserPoolConfig, value); err != nil { return err } + case "WafWebAclArn": if value != nil { jtv, ok := value.(string) @@ -15742,6 +16113,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.WafWebAclArn = ptr.String(jtv) } + case "XrayEnabled": if value != nil { jtv, ok := value.(bool) @@ -15750,6 +16122,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp } sv.XrayEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -15793,6 +16166,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } + case "AuthorizerUri": if value != nil { jtv, ok := value.(string) @@ -15801,6 +16175,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.AuthorizerUri = ptr.String(jtv) } + case "IdentityValidationExpression": if value != nil { jtv, ok := value.(string) @@ -15809,6 +16184,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD } sv.IdentityValidationExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -15848,6 +16224,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "ExcludeVerboseContent": if value != nil { jtv, ok := value.(bool) @@ -15856,6 +16233,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.ExcludeVerboseContent = ptr.Bool(jtv) } + case "FieldLogLevel": if value != nil { jtv, ok := value.(string) @@ -15864,6 +16242,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty } sv.FieldLogLevel = ptr.String(jtv) } + default: _, _ = key, value @@ -15907,6 +16286,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.AuthTtL = ptr.Int64(i64) } + case "ClientId": if value != nil { jtv, ok := value.(string) @@ -15915,6 +16295,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.ClientId = ptr.String(jtv) } + case "IatTtL": if value != nil { jtv, ok := value.(json.Number) @@ -15927,6 +16308,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.IatTtL = ptr.Int64(i64) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -15935,6 +16317,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta } sv.Issuer = ptr.String(jtv) } + default: _, _ = key, value @@ -15974,6 +16357,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.AppIdClientRegex = ptr.String(jtv) } + case "AwsRegion": if value != nil { jtv, ok := value.(string) @@ -15982,6 +16366,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.AwsRegion = ptr.String(jtv) } + case "DefaultAction": if value != nil { jtv, ok := value.(string) @@ -15990,6 +16375,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.DefaultAction = ptr.String(jtv) } + case "UserPoolId": if value != nil { jtv, ok := value.(string) @@ -15998,6 +16384,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiUserPoolConfigDetails(v } sv.UserPoolId = ptr.String(jtv) } + default: _, _ = key, value @@ -16033,6 +16420,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationDetails(v ** if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfigurationDetails(&sv.ResultConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16068,6 +16456,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails(&sv.EncryptionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16107,6 +16496,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig } sv.EncryptionOption = ptr.String(jtv) } + case "KmsKey": if value != nil { jtv, ok := value.(string) @@ -16115,6 +16505,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationResultConfig } sv.KmsKey = ptr.String(jtv) } + default: _, _ = key, value @@ -16150,6 +16541,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupConfigurationDetails(&sv.Configuration, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16158,6 +16550,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16166,6 +16559,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -16174,6 +16568,7 @@ func awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(v **types.AwsAthe } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -16247,6 +16642,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupAvailabilityZ } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16282,6 +16678,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupAvailabilityZonesList(&sv.AvailabilityZones, value); err != nil { return err } + case "CapacityRebalance": if value != nil { jtv, ok := value.(bool) @@ -16290,6 +16687,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.CapacityRebalance = ptr.Bool(jtv) } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -16298,6 +16696,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.CreatedTime = ptr.String(jtv) } + case "HealthCheckGracePeriod": if value != nil { jtv, ok := value.(json.Number) @@ -16310,6 +16709,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.HealthCheckGracePeriod = ptr.Int32(int32(i64)) } + case "HealthCheckType": if value != nil { jtv, ok := value.(string) @@ -16318,6 +16718,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.HealthCheckType = ptr.String(jtv) } + case "LaunchConfigurationName": if value != nil { jtv, ok := value.(string) @@ -16326,18 +16727,22 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t } sv.LaunchConfigurationName = ptr.String(jtv) } + case "LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification(&sv.LaunchTemplate, value); err != nil { return err } + case "LoadBalancerNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.LoadBalancerNames, value); err != nil { return err } + case "MixedInstancesPolicy": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails(&sv.MixedInstancesPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -16377,6 +16782,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.LaunchTemplateId = ptr.String(jtv) } + case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -16385,6 +16791,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.LaunchTemplateName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -16393,6 +16800,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupLaunchTemplat } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -16428,10 +16836,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails(&sv.InstancesDistribution, value); err != nil { return err } + case "LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateDetails(&sv.LaunchTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -16471,6 +16881,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandAllocationStrategy = ptr.String(jtv) } + case "OnDemandBaseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -16483,6 +16894,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandBaseCapacity = ptr.Int32(int32(i64)) } + case "OnDemandPercentageAboveBaseCapacity": if value != nil { jtv, ok := value.(json.Number) @@ -16495,6 +16907,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.OnDemandPercentageAboveBaseCapacity = ptr.Int32(int32(i64)) } + case "SpotAllocationStrategy": if value != nil { jtv, ok := value.(string) @@ -16503,6 +16916,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotAllocationStrategy = ptr.String(jtv) } + case "SpotInstancePools": if value != nil { jtv, ok := value.(json.Number) @@ -16515,6 +16929,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotInstancePools = ptr.Int32(int32(i64)) } + case "SpotMaxPrice": if value != nil { jtv, ok := value.(string) @@ -16523,6 +16938,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.SpotMaxPrice = ptr.String(jtv) } + default: _, _ = key, value @@ -16558,10 +16974,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification(&sv.LaunchTemplateSpecification, value); err != nil { return err } + case "Overrides": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList(&sv.Overrides, value); err != nil { return err } + default: _, _ = key, value @@ -16601,6 +17019,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.LaunchTemplateId = ptr.String(jtv) } + case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -16609,6 +17028,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.LaunchTemplateName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -16617,6 +17037,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -16690,6 +17111,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.InstanceType = ptr.String(jtv) } + case "WeightedCapacity": if value != nil { jtv, ok := value.(string) @@ -16698,6 +17120,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance } sv.WeightedCapacity = ptr.String(jtv) } + default: _, _ = key, value @@ -16737,10 +17160,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.DeviceName = ptr.String(jtv) } + case "Ebs": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(&sv.Ebs, value); err != nil { return err } + case "NoDevice": if value != nil { jtv, ok := value.(bool) @@ -16749,6 +17174,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.NoDevice = ptr.Bool(jtv) } + case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -16757,6 +17183,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VirtualName = ptr.String(jtv) } + default: _, _ = key, value @@ -16796,6 +17223,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -16804,6 +17232,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.Encrypted = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -16816,6 +17245,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.Iops = ptr.Int32(int32(i64)) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -16824,6 +17254,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.SnapshotId = ptr.String(jtv) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -16836,6 +17267,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -16844,6 +17276,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -16917,10 +17350,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "BlockDeviceMappings": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(&sv.BlockDeviceMappings, value); err != nil { return err } + case "ClassicLinkVpcId": if value != nil { jtv, ok := value.(string) @@ -16929,10 +17364,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.ClassicLinkVpcId = ptr.String(jtv) } + case "ClassicLinkVpcSecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ClassicLinkVpcSecurityGroups, value); err != nil { return err } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -16941,6 +17378,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.CreatedTime = ptr.String(jtv) } + case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -16949,6 +17387,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.EbsOptimized = ptr.Bool(jtv) } + case "IamInstanceProfile": if value != nil { jtv, ok := value.(string) @@ -16957,6 +17396,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.IamInstanceProfile = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -16965,10 +17405,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.ImageId = ptr.String(jtv) } + case "InstanceMonitoring": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(&sv.InstanceMonitoring, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -16977,6 +17419,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.InstanceType = ptr.String(jtv) } + case "KernelId": if value != nil { jtv, ok := value.(string) @@ -16985,6 +17428,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.KernelId = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -16993,6 +17437,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.KeyName = ptr.String(jtv) } + case "LaunchConfigurationName": if value != nil { jtv, ok := value.(string) @@ -17001,10 +17446,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.LaunchConfigurationName = ptr.String(jtv) } + case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } + case "PlacementTenancy": if value != nil { jtv, ok := value.(string) @@ -17013,6 +17460,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.PlacementTenancy = ptr.String(jtv) } + case "RamdiskId": if value != nil { jtv, ok := value.(string) @@ -17021,10 +17469,12 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.RamdiskId = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } + case "SpotPrice": if value != nil { jtv, ok := value.(string) @@ -17033,6 +17483,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.SpotPrice = ptr.String(jtv) } + case "UserData": if value != nil { jtv, ok := value.(string) @@ -17041,6 +17492,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v } sv.UserData = ptr.String(jtv) } + default: _, _ = key, value @@ -17080,6 +17532,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationInstanceMo } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -17119,6 +17572,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpEndpoint = ptr.String(jtv) } + case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -17131,6 +17585,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } + case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -17139,6 +17594,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp } sv.HttpTokens = ptr.String(jtv) } + default: _, _ = key, value @@ -17174,6 +17630,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsDe if err := awsRestjson1_deserializeDocumentFieldMap(&sv.BackupOptions, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17182,6 +17639,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsDe } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -17251,6 +17709,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanAdvancedBackupSettingsList(&sv.AdvancedBackupSettings, value); err != nil { return err } + case "BackupPlanName": if value != nil { jtv, ok := value.(string) @@ -17259,10 +17718,12 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(v **ty } sv.BackupPlanName = ptr.String(jtv) } + case "BackupPlanRule": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleList(&sv.BackupPlanRule, value); err != nil { return err } + default: _, _ = key, value @@ -17298,6 +17759,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanBackupPlanDetails(&sv.BackupPlan, value); err != nil { return err } + case "BackupPlanArn": if value != nil { jtv, ok := value.(string) @@ -17306,6 +17768,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -17314,6 +17777,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.BackupPlanId = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -17322,6 +17786,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(v **types.AwsBac } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -17365,6 +17830,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ } sv.DeleteAfterDays = ptr.Int64(i64) } + case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -17377,6 +17843,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } + default: _, _ = key, value @@ -17416,10 +17883,12 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleCopyActionsDetails(v } sv.DestinationBackupVaultArn = ptr.String(jtv) } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } + default: _, _ = key, value @@ -17497,10 +17966,12 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.CompletionWindowMinutes = ptr.Int64(i64) } + case "CopyActions": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleCopyActionsList(&sv.CopyActions, value); err != nil { return err } + case "EnableContinuousBackup": if value != nil { jtv, ok := value.(bool) @@ -17509,10 +17980,12 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.EnableContinuousBackup = ptr.Bool(jtv) } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -17521,6 +17994,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.RuleId = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -17529,6 +18003,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.RuleName = ptr.String(jtv) } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -17537,6 +18012,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.ScheduleExpression = ptr.String(jtv) } + case "StartWindowMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17549,6 +18025,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.StartWindowMinutes = ptr.Int64(i64) } + case "TargetBackupVault": if value != nil { jtv, ok := value.(string) @@ -17557,6 +18034,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw } sv.TargetBackupVault = ptr.String(jtv) } + default: _, _ = key, value @@ -17630,6 +18108,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.AccessPolicy = ptr.String(jtv) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -17638,6 +18117,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -17646,6 +18126,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.BackupVaultName = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -17654,10 +18135,12 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(v **types.AwsBa } sv.EncryptionKeyArn = ptr.String(jtv) } + case "Notifications": if err := awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(&sv.Notifications, value); err != nil { return err } + default: _, _ = key, value @@ -17693,6 +18176,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(v if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BackupVaultEvents, value); err != nil { return err } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -17701,6 +18185,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupVaultNotificationsDetails(v } sv.SnsTopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17740,6 +18225,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDe } sv.DeleteAt = ptr.String(jtv) } + case "MoveToColdStorageAt": if value != nil { jtv, ok := value.(string) @@ -17748,6 +18234,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDe } sv.MoveToColdStorageAt = ptr.String(jtv) } + default: _, _ = key, value @@ -17787,6 +18274,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanArn = ptr.String(jtv) } + case "BackupPlanId": if value != nil { jtv, ok := value.(string) @@ -17795,6 +18283,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanId = ptr.String(jtv) } + case "BackupPlanVersion": if value != nil { jtv, ok := value.(string) @@ -17803,6 +18292,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupPlanVersion = ptr.String(jtv) } + case "BackupRuleId": if value != nil { jtv, ok := value.(string) @@ -17811,6 +18301,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(v ** } sv.BackupRuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -17854,6 +18345,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupSizeInBytes = ptr.Int64(i64) } + case "BackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -17862,6 +18354,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupVaultArn = ptr.String(jtv) } + case "BackupVaultName": if value != nil { jtv, ok := value.(string) @@ -17870,10 +18363,12 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.BackupVaultName = ptr.String(jtv) } + case "CalculatedLifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCalculatedLifecycleDetails(&sv.CalculatedLifecycle, value); err != nil { return err } + case "CompletionDate": if value != nil { jtv, ok := value.(string) @@ -17882,10 +18377,12 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.CompletionDate = ptr.String(jtv) } + case "CreatedBy": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointCreatedByDetails(&sv.CreatedBy, value); err != nil { return err } + case "CreationDate": if value != nil { jtv, ok := value.(string) @@ -17894,6 +18391,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.CreationDate = ptr.String(jtv) } + case "EncryptionKeyArn": if value != nil { jtv, ok := value.(string) @@ -17902,6 +18400,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.EncryptionKeyArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -17910,6 +18409,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.IamRoleArn = ptr.String(jtv) } + case "IsEncrypted": if value != nil { jtv, ok := value.(bool) @@ -17918,6 +18418,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.IsEncrypted = ptr.Bool(jtv) } + case "LastRestoreTime": if value != nil { jtv, ok := value.(string) @@ -17926,10 +18427,12 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.LastRestoreTime = ptr.String(jtv) } + case "Lifecycle": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(&sv.Lifecycle, value); err != nil { return err } + case "RecoveryPointArn": if value != nil { jtv, ok := value.(string) @@ -17938,6 +18441,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.RecoveryPointArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -17946,6 +18450,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.ResourceArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -17954,6 +18459,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.ResourceType = ptr.String(jtv) } + case "SourceBackupVaultArn": if value != nil { jtv, ok := value.(string) @@ -17962,6 +18468,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.SourceBackupVaultArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17970,6 +18477,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -17978,6 +18486,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.StatusMessage = ptr.String(jtv) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -17986,6 +18495,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws } sv.StorageClass = ptr.String(jtv) } + default: _, _ = key, value @@ -18029,6 +18539,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** } sv.DeleteAfterDays = ptr.Int64(i64) } + case "MoveToColdStorageAfterDays": if value != nil { jtv, ok := value.(json.Number) @@ -18041,6 +18552,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** } sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } + default: _, _ = key, value @@ -18080,6 +18592,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -18088,6 +18601,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.CreatedAt = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -18096,14 +18610,17 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.DomainName = ptr.String(jtv) } + case "DomainValidationOptions": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValidationOptions(&sv.DomainValidationOptions, value); err != nil { return err } + case "ExtendedKeyUsages": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKeyUsages(&sv.ExtendedKeyUsages, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -18112,6 +18629,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.FailureReason = ptr.String(jtv) } + case "ImportedAt": if value != nil { jtv, ok := value.(string) @@ -18120,10 +18638,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.ImportedAt = ptr.String(jtv) } + case "InUseBy": if err := awsRestjson1_deserializeDocumentStringList(&sv.InUseBy, value); err != nil { return err } + case "IssuedAt": if value != nil { jtv, ok := value.(string) @@ -18132,6 +18652,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.IssuedAt = ptr.String(jtv) } + case "Issuer": if value != nil { jtv, ok := value.(string) @@ -18140,6 +18661,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Issuer = ptr.String(jtv) } + case "KeyAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18148,10 +18670,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.KeyAlgorithm = ptr.String(jtv) } + case "KeyUsages": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateKeyUsages(&sv.KeyUsages, value); err != nil { return err } + case "NotAfter": if value != nil { jtv, ok := value.(string) @@ -18160,6 +18684,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.NotAfter = ptr.String(jtv) } + case "NotBefore": if value != nil { jtv, ok := value.(string) @@ -18168,10 +18693,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.NotBefore = ptr.String(jtv) } + case "Options": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateOptions(&sv.Options, value); err != nil { return err } + case "RenewalEligibility": if value != nil { jtv, ok := value.(string) @@ -18180,10 +18707,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.RenewalEligibility = ptr.String(jtv) } + case "RenewalSummary": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSummary(&sv.RenewalSummary, value); err != nil { return err } + case "Serial": if value != nil { jtv, ok := value.(string) @@ -18192,6 +18721,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Serial = ptr.String(jtv) } + case "SignatureAlgorithm": if value != nil { jtv, ok := value.(string) @@ -18200,6 +18730,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.SignatureAlgorithm = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18208,6 +18739,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Status = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -18216,10 +18748,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Subject = ptr.String(jtv) } + case "SubjectAlternativeNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.SubjectAlternativeNames, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18228,6 +18762,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(v * } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -18267,10 +18802,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.DomainName = ptr.String(jtv) } + case "ResourceRecord": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRecord(&sv.ResourceRecord, value); err != nil { return err } + case "ValidationDomain": if value != nil { jtv, ok := value.(string) @@ -18279,10 +18816,12 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationDomain = ptr.String(jtv) } + case "ValidationEmails": if err := awsRestjson1_deserializeDocumentStringList(&sv.ValidationEmails, value); err != nil { return err } + case "ValidationMethod": if value != nil { jtv, ok := value.(string) @@ -18291,6 +18830,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationMethod = ptr.String(jtv) } + case "ValidationStatus": if value != nil { jtv, ok := value.(string) @@ -18299,6 +18839,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValid } sv.ValidationStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -18372,6 +18913,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKey } sv.Name = ptr.String(jtv) } + case "OId": if value != nil { jtv, ok := value.(string) @@ -18380,6 +18922,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateExtendedKey } sv.OId = ptr.String(jtv) } + default: _, _ = key, value @@ -18453,6 +18996,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateKeyUsage(v } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18526,6 +19070,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateOptions(v * } sv.CertificateTransparencyLoggingPreference = ptr.String(jtv) } + default: _, _ = key, value @@ -18561,6 +19106,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDomainValidationOptions(&sv.DomainValidationOptions, value); err != nil { return err } + case "RenewalStatus": if value != nil { jtv, ok := value.(string) @@ -18569,6 +19115,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.RenewalStatus = ptr.String(jtv) } + case "RenewalStatusReason": if value != nil { jtv, ok := value.(string) @@ -18577,6 +19124,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.RenewalStatusReason = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -18585,6 +19133,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateRenewalSumm } sv.UpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -18624,6 +19173,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18632,6 +19182,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -18640,6 +19191,7 @@ func awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateResourceRec } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -18675,6 +19227,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Capabilities, value); err != nil { return err } + case "CreationTime": if value != nil { jtv, ok := value.(string) @@ -18683,6 +19236,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.CreationTime = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18691,6 +19245,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.Description = ptr.String(jtv) } + case "DisableRollback": if value != nil { jtv, ok := value.(bool) @@ -18699,10 +19254,12 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.DisableRollback = ptr.Bool(jtv) } + case "DriftInformation": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackDriftInformationDetails(&sv.DriftInformation, value); err != nil { return err } + case "EnableTerminationProtection": if value != nil { jtv, ok := value.(bool) @@ -18711,6 +19268,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.EnableTerminationProtection = ptr.Bool(jtv) } + case "LastUpdatedTime": if value != nil { jtv, ok := value.(string) @@ -18719,14 +19277,17 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.LastUpdatedTime = ptr.String(jtv) } + case "NotificationArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.NotificationArns, value); err != nil { return err } + case "Outputs": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsList(&sv.Outputs, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -18735,6 +19296,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.RoleArn = ptr.String(jtv) } + case "StackId": if value != nil { jtv, ok := value.(string) @@ -18743,6 +19305,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackId = ptr.String(jtv) } + case "StackName": if value != nil { jtv, ok := value.(string) @@ -18751,6 +19314,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackName = ptr.String(jtv) } + case "StackStatus": if value != nil { jtv, ok := value.(string) @@ -18759,6 +19323,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackStatus = ptr.String(jtv) } + case "StackStatusReason": if value != nil { jtv, ok := value.(string) @@ -18767,6 +19332,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.StackStatusReason = ptr.String(jtv) } + case "TimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -18779,6 +19345,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws } sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -18818,6 +19385,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDriftInformationDetai } sv.StackDriftStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -18857,6 +19425,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.Description = ptr.String(jtv) } + case "OutputKey": if value != nil { jtv, ok := value.(string) @@ -18865,6 +19434,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.OutputKey = ptr.String(jtv) } + case "OutputValue": if value != nil { jtv, ok := value.(string) @@ -18873,6 +19443,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackOutputsDetails(v **ty } sv.OutputValue = ptr.String(jtv) } + default: _, _ = key, value @@ -18946,6 +19517,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehavior(v ** } sv.ViewerProtocolPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -18981,6 +19553,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviors(v * if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviorsItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -19054,6 +19627,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDefaultCacheBehavi } sv.ViewerProtocolPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -19089,10 +19663,12 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionCacheBehaviors(&sv.CacheBehaviors, value); err != nil { return err } + case "DefaultCacheBehavior": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDefaultCacheBehavior(&sv.DefaultCacheBehavior, value); err != nil { return err } + case "DefaultRootObject": if value != nil { jtv, ok := value.(string) @@ -19101,6 +19677,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.DefaultRootObject = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -19109,6 +19686,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.DomainName = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -19117,6 +19695,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.ETag = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { jtv, ok := value.(string) @@ -19125,18 +19704,22 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.LastModifiedTime = ptr.String(jtv) } + case "Logging": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(&sv.Logging, value); err != nil { return err } + case "OriginGroups": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroups(&sv.OriginGroups, value); err != nil { return err } + case "Origins": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOrigins(&sv.Origins, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19145,10 +19728,12 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.Status = ptr.String(jtv) } + case "ViewerCertificate": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate(&sv.ViewerCertificate, value); err != nil { return err } + case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -19157,6 +19742,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(v **types. } sv.WebAclId = ptr.String(jtv) } + default: _, _ = key, value @@ -19196,6 +19782,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Bucket = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -19204,6 +19791,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Enabled = ptr.Bool(jtv) } + case "IncludeCookies": if value != nil { jtv, ok := value.(bool) @@ -19212,6 +19800,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.IncludeCookies = ptr.Bool(jtv) } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -19220,6 +19809,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -19263,6 +19853,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.HttpPort = ptr.Int32(int32(i64)) } + case "HttpsPort": if value != nil { jtv, ok := value.(json.Number) @@ -19275,6 +19866,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.HttpsPort = ptr.Int32(int32(i64)) } + case "OriginKeepaliveTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19287,6 +19879,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginKeepaliveTimeout = ptr.Int32(int32(i64)) } + case "OriginProtocolPolicy": if value != nil { jtv, ok := value.(string) @@ -19295,6 +19888,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginProtocolPolicy = ptr.String(jtv) } + case "OriginReadTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -19307,10 +19901,12 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin } sv.OriginReadTimeout = ptr.Int32(int32(i64)) } + case "OriginSslProtocols": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols(&sv.OriginSslProtocols, value); err != nil { return err } + default: _, _ = key, value @@ -19346,6 +19942,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroup(v **ty if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailover(&sv.FailoverCriteria, value); err != nil { return err } + default: _, _ = key, value @@ -19381,6 +19978,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailoverStatusCodes(&sv.StatusCodes, value); err != nil { return err } + default: _, _ = key, value @@ -19416,6 +20014,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList(&sv.Items, value); err != nil { return err } + case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -19428,6 +20027,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove } sv.Quantity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19503,6 +20103,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroups(v **t if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupsItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -19572,6 +20173,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOriginConfig(&sv.CustomOriginConfig, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -19580,6 +20182,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.DomainName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -19588,6 +20191,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.Id = ptr.String(jtv) } + case "OriginPath": if value != nil { jtv, ok := value.(string) @@ -19596,10 +20200,12 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItem(v **typ } sv.OriginPath = ptr.String(jtv) } + case "S3OriginConfig": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginS3OriginConfig(&sv.S3OriginConfig, value); err != nil { return err } + default: _, _ = key, value @@ -19669,6 +20275,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOrigins(v **types. if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginItemList(&sv.Items, value); err != nil { return err } + default: _, _ = key, value @@ -19708,6 +20315,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginS3OriginConf } sv.OriginAccessIdentity = ptr.String(jtv) } + default: _, _ = key, value @@ -19743,6 +20351,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Items, value); err != nil { return err } + case "Quantity": if value != nil { jtv, ok := value.(json.Number) @@ -19755,6 +20364,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols } sv.Quantity = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -19794,6 +20404,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.AcmCertificateArn = ptr.String(jtv) } + case "Certificate": if value != nil { jtv, ok := value.(string) @@ -19802,6 +20413,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.Certificate = ptr.String(jtv) } + case "CertificateSource": if value != nil { jtv, ok := value.(string) @@ -19810,6 +20422,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.CertificateSource = ptr.String(jtv) } + case "CloudFrontDefaultCertificate": if value != nil { jtv, ok := value.(bool) @@ -19818,6 +20431,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.CloudFrontDefaultCertificate = ptr.Bool(jtv) } + case "IamCertificateId": if value != nil { jtv, ok := value.(string) @@ -19826,6 +20440,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.IamCertificateId = ptr.String(jtv) } + case "MinimumProtocolVersion": if value != nil { jtv, ok := value.(string) @@ -19834,6 +20449,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.MinimumProtocolVersion = ptr.String(jtv) } + case "SslSupportMethod": if value != nil { jtv, ok := value.(string) @@ -19842,6 +20458,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( } sv.SslSupportMethod = ptr.String(jtv) } + default: _, _ = key, value @@ -19881,6 +20498,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "CloudWatchLogsRoleArn": if value != nil { jtv, ok := value.(string) @@ -19889,6 +20507,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.CloudWatchLogsRoleArn = ptr.String(jtv) } + case "HasCustomEventSelectors": if value != nil { jtv, ok := value.(bool) @@ -19897,6 +20516,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.HasCustomEventSelectors = ptr.Bool(jtv) } + case "HomeRegion": if value != nil { jtv, ok := value.(string) @@ -19905,6 +20525,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.HomeRegion = ptr.String(jtv) } + case "IncludeGlobalServiceEvents": if value != nil { jtv, ok := value.(bool) @@ -19913,6 +20534,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } + case "IsMultiRegionTrail": if value != nil { jtv, ok := value.(bool) @@ -19921,6 +20543,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IsMultiRegionTrail = ptr.Bool(jtv) } + case "IsOrganizationTrail": if value != nil { jtv, ok := value.(bool) @@ -19929,6 +20552,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.IsOrganizationTrail = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -19937,6 +20561,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.KmsKeyId = ptr.String(jtv) } + case "LogFileValidationEnabled": if value != nil { jtv, ok := value.(bool) @@ -19945,6 +20570,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.LogFileValidationEnabled = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -19953,6 +20579,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.Name = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -19961,6 +20588,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -19969,6 +20597,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.S3KeyPrefix = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -19977,6 +20606,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.SnsTopicArn = ptr.String(jtv) } + case "SnsTopicName": if value != nil { jtv, ok := value.(string) @@ -19985,6 +20615,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.SnsTopicName = ptr.String(jtv) } + case "TrailArn": if value != nil { jtv, ok := value.(string) @@ -19993,6 +20624,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou } sv.TrailArn = ptr.String(jtv) } + default: _, _ = key, value @@ -20032,10 +20664,12 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ActionsEnabled = ptr.Bool(jtv) } + case "AlarmActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AlarmActions, value); err != nil { return err } + case "AlarmArn": if value != nil { jtv, ok := value.(string) @@ -20044,6 +20678,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmArn = ptr.String(jtv) } + case "AlarmConfigurationUpdatedTimestamp": if value != nil { jtv, ok := value.(string) @@ -20052,6 +20687,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmConfigurationUpdatedTimestamp = ptr.String(jtv) } + case "AlarmDescription": if value != nil { jtv, ok := value.(string) @@ -20060,6 +20696,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmDescription = ptr.String(jtv) } + case "AlarmName": if value != nil { jtv, ok := value.(string) @@ -20068,6 +20705,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.AlarmName = ptr.String(jtv) } + case "ComparisonOperator": if value != nil { jtv, ok := value.(string) @@ -20076,6 +20714,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ComparisonOperator = ptr.String(jtv) } + case "DatapointsToAlarm": if value != nil { jtv, ok := value.(json.Number) @@ -20088,10 +20727,12 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } + case "Dimensions": if err := awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsList(&sv.Dimensions, value); err != nil { return err } + case "EvaluateLowSampleCountPercentile": if value != nil { jtv, ok := value.(string) @@ -20100,6 +20741,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.EvaluateLowSampleCountPercentile = ptr.String(jtv) } + case "EvaluationPeriods": if value != nil { jtv, ok := value.(json.Number) @@ -20112,6 +20754,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.EvaluationPeriods = ptr.Int32(int32(i64)) } + case "ExtendedStatistic": if value != nil { jtv, ok := value.(string) @@ -20120,10 +20763,12 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ExtendedStatistic = ptr.String(jtv) } + case "InsufficientDataActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.InsufficientDataActions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -20132,6 +20777,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.MetricName = ptr.String(jtv) } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -20140,10 +20786,12 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Namespace = ptr.String(jtv) } + case "OkActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.OkActions, value); err != nil { return err } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -20156,6 +20804,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Period = ptr.Int32(int32(i64)) } + case "Statistic": if value != nil { jtv, ok := value.(string) @@ -20164,6 +20813,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Statistic = ptr.String(jtv) } + case "Threshold": if value != nil { switch jtv := value.(type) { @@ -20197,6 +20847,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } } + case "ThresholdMetricId": if value != nil { jtv, ok := value.(string) @@ -20205,6 +20856,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.ThresholdMetricId = ptr.String(jtv) } + case "TreatMissingData": if value != nil { jtv, ok := value.(string) @@ -20213,6 +20865,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.TreatMissingData = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -20221,6 +20874,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -20260,6 +20914,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsDetails(v **typ } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -20268,6 +20923,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDimensionsDetails(v **typ } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -20341,6 +20997,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.ArtifactIdentifier = ptr.String(jtv) } + case "EncryptionDisabled": if value != nil { jtv, ok := value.(bool) @@ -20349,6 +21006,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -20357,6 +21015,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Location = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20365,6 +21024,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Name = ptr.String(jtv) } + case "NamespaceType": if value != nil { jtv, ok := value.(string) @@ -20373,6 +21033,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.NamespaceType = ptr.String(jtv) } + case "OverrideArtifactName": if value != nil { jtv, ok := value.(bool) @@ -20381,6 +21042,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.OverrideArtifactName = ptr.Bool(jtv) } + case "Packaging": if value != nil { jtv, ok := value.(string) @@ -20389,6 +21051,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Packaging = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -20397,6 +21060,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Path = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20405,6 +21069,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20474,6 +21139,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsList(&sv.Artifacts, value); err != nil { return err } + case "EncryptionKey": if value != nil { jtv, ok := value.(string) @@ -20482,14 +21148,17 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.EncryptionKey = ptr.String(jtv) } + case "Environment": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(&sv.Environment, value); err != nil { return err } + case "LogsConfig": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigDetails(&sv.LogsConfig, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -20498,10 +21167,12 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.Name = ptr.String(jtv) } + case "SecondaryArtifacts": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsList(&sv.SecondaryArtifacts, value); err != nil { return err } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -20510,14 +21181,17 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(v **types.AwsCod } sv.ServiceRole = ptr.String(jtv) } + case "Source": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(&sv.Source, value); err != nil { return err } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -20557,10 +21231,12 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.Certificate = ptr.String(jtv) } + case "EnvironmentVariables": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVariablesList(&sv.EnvironmentVariables, value); err != nil { return err } + case "ImagePullCredentialsType": if value != nil { jtv, ok := value.(string) @@ -20569,6 +21245,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.ImagePullCredentialsType = ptr.String(jtv) } + case "PrivilegedMode": if value != nil { jtv, ok := value.(bool) @@ -20577,10 +21254,12 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.PrivilegedMode = ptr.Bool(jtv) } + case "RegistryCredential": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCredential(&sv.RegistryCredential, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20589,6 +21268,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20628,6 +21308,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20636,6 +21317,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -20644,6 +21326,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentEnvironmentVa } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -20717,6 +21400,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCrede } sv.Credential = ptr.String(jtv) } + case "CredentialProvider": if value != nil { jtv, ok := value.(string) @@ -20725,6 +21409,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironmentRegistryCrede } sv.CredentialProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -20764,6 +21449,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.GroupName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20772,6 +21458,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.Status = ptr.String(jtv) } + case "StreamName": if value != nil { jtv, ok := value.(string) @@ -20780,6 +21467,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogs } sv.StreamName = ptr.String(jtv) } + default: _, _ = key, value @@ -20815,10 +21503,12 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigCloudWatchLogsDetails(&sv.CloudWatchLogs, value); err != nil { return err } + case "S3Logs": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -20858,6 +21548,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.EncryptionDisabled = ptr.Bool(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -20866,6 +21557,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.Location = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -20874,6 +21566,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -20917,6 +21610,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.GitCloneDepth = ptr.Int32(int32(i64)) } + case "InsecureSsl": if value != nil { jtv, ok := value.(bool) @@ -20925,6 +21619,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.InsecureSsl = ptr.Bool(jtv) } + case "Location": if value != nil { jtv, ok := value.(string) @@ -20933,6 +21628,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.Location = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -20941,6 +21637,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -20976,10 +21673,12 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(v **types.AwsC if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Subnets, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -20988,6 +21687,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectVpcConfig(v **types.AwsC } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -21027,22 +21727,27 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi } sv.AllowCredentials = ptr.Bool(jtv) } + case "AllowHeaders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowHeaders, value); err != nil { return err } + case "AllowMethods": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowMethods, value); err != nil { return err } + case "AllowOrigins": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AllowOrigins, value); err != nil { return err } + case "ExposeHeaders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ExposeHeaders, value); err != nil { return err } + case "MaxAge": if value != nil { jtv, ok := value.(json.Number) @@ -21055,6 +21760,7 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi } sv.MaxAge = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -21094,6 +21800,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.CertificateArn = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -21102,6 +21809,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.DatabaseName = ptr.String(jtv) } + case "EndpointArn": if value != nil { jtv, ok := value.(string) @@ -21110,6 +21818,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointArn = ptr.String(jtv) } + case "EndpointIdentifier": if value != nil { jtv, ok := value.(string) @@ -21118,6 +21827,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointIdentifier = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -21126,6 +21836,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EndpointType = ptr.String(jtv) } + case "EngineName": if value != nil { jtv, ok := value.(string) @@ -21134,6 +21845,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.EngineName = ptr.String(jtv) } + case "ExternalId": if value != nil { jtv, ok := value.(string) @@ -21142,6 +21854,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ExternalId = ptr.String(jtv) } + case "ExtraConnectionAttributes": if value != nil { jtv, ok := value.(string) @@ -21150,6 +21863,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ExtraConnectionAttributes = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -21158,6 +21872,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.KmsKeyId = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -21170,6 +21885,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.Port = ptr.Int32(int32(i64)) } + case "ServerName": if value != nil { jtv, ok := value.(string) @@ -21178,6 +21894,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.ServerName = ptr.String(jtv) } + case "SslMode": if value != nil { jtv, ok := value.(string) @@ -21186,6 +21903,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.SslMode = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -21194,6 +21912,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -21237,6 +21956,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -21245,6 +21965,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -21253,6 +21974,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.AvailabilityZone = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -21261,6 +21983,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.EngineVersion = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -21269,6 +21992,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.KmsKeyId = ptr.String(jtv) } + case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -21277,6 +22001,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.MultiAZ = ptr.Bool(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -21285,6 +22010,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -21293,6 +22019,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "ReplicationInstanceClass": if value != nil { jtv, ok := value.(string) @@ -21301,6 +22028,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.ReplicationInstanceClass = ptr.String(jtv) } + case "ReplicationInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -21309,14 +22037,17 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. } sv.ReplicationInstanceIdentifier = ptr.String(jtv) } + case "ReplicationSubnetGroup": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceReplicationSubnetGroupDetails(&sv.ReplicationSubnetGroup, value); err != nil { return err } + case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceVpcSecurityGroupsList(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -21356,6 +22087,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceReplicationSubnetG } sv.ReplicationSubnetGroupIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -21395,6 +22127,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceVpcSecurityGroupsD } sv.VpcSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -21468,6 +22201,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStartPosition = ptr.String(jtv) } + case "CdcStartTime": if value != nil { jtv, ok := value.(string) @@ -21476,6 +22210,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStartTime = ptr.String(jtv) } + case "CdcStopPosition": if value != nil { jtv, ok := value.(string) @@ -21484,6 +22219,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.CdcStopPosition = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -21492,6 +22228,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.Id = ptr.String(jtv) } + case "MigrationType": if value != nil { jtv, ok := value.(string) @@ -21500,6 +22237,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.MigrationType = ptr.String(jtv) } + case "ReplicationInstanceArn": if value != nil { jtv, ok := value.(string) @@ -21508,6 +22246,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationInstanceArn = ptr.String(jtv) } + case "ReplicationTaskIdentifier": if value != nil { jtv, ok := value.(string) @@ -21516,6 +22255,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationTaskIdentifier = ptr.String(jtv) } + case "ReplicationTaskSettings": if value != nil { jtv, ok := value.(string) @@ -21524,6 +22264,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ReplicationTaskSettings = ptr.String(jtv) } + case "ResourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -21532,6 +22273,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.ResourceIdentifier = ptr.String(jtv) } + case "SourceEndpointArn": if value != nil { jtv, ok := value.(string) @@ -21540,6 +22282,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.SourceEndpointArn = ptr.String(jtv) } + case "TableMappings": if value != nil { jtv, ok := value.(string) @@ -21548,6 +22291,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TableMappings = ptr.String(jtv) } + case "TargetEndpointArn": if value != nil { jtv, ok := value.(string) @@ -21556,6 +22300,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TargetEndpointArn = ptr.String(jtv) } + case "TaskData": if value != nil { jtv, ok := value.(string) @@ -21564,6 +22309,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(v **types.AwsD } sv.TaskData = ptr.String(jtv) } + default: _, _ = key, value @@ -21603,6 +22349,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinition(v **typ } sv.AttributeName = ptr.String(jtv) } + case "AttributeType": if value != nil { jtv, ok := value.(string) @@ -21611,6 +22358,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinition(v **typ } sv.AttributeType = ptr.String(jtv) } + default: _, _ = key, value @@ -21684,6 +22432,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(v **type } sv.BillingMode = ptr.String(jtv) } + case "LastUpdateToPayPerRequestDateTime": if value != nil { jtv, ok := value.(string) @@ -21692,6 +22441,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(v **type } sv.LastUpdateToPayPerRequestDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -21727,10 +22477,12 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableAttributeDefinitionList(&sv.AttributeDefinitions, value); err != nil { return err } + case "BillingModeSummary": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableBillingModeSummary(&sv.BillingModeSummary, value); err != nil { return err } + case "CreationDateTime": if value != nil { jtv, ok := value.(string) @@ -21739,6 +22491,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.CreationDateTime = ptr.String(jtv) } + case "DeletionProtectionEnabled": if value != nil { jtv, ok := value.(bool) @@ -21747,10 +22500,12 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.DeletionProtectionEnabled = ptr.Bool(jtv) } + case "GlobalSecondaryIndexes": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "GlobalTableVersion": if value != nil { jtv, ok := value.(string) @@ -21759,6 +22514,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.GlobalTableVersion = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -21771,10 +22527,12 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.ItemCount = ptr.Int32(int32(i64)) } + case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } + case "LatestStreamArn": if value != nil { jtv, ok := value.(string) @@ -21783,6 +22541,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.LatestStreamArn = ptr.String(jtv) } + case "LatestStreamLabel": if value != nil { jtv, ok := value.(string) @@ -21791,30 +22550,37 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.LatestStreamLabel = ptr.String(jtv) } + case "LocalSecondaryIndexes": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndexList(&sv.LocalSecondaryIndexes, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + case "Replicas": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaList(&sv.Replicas, value); err != nil { return err } + case "RestoreSummary": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(&sv.RestoreSummary, value); err != nil { return err } + case "SseDescription": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(&sv.SseDescription, value); err != nil { return err } + case "StreamSpecification": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(&sv.StreamSpecification, value); err != nil { return err } + case "TableId": if value != nil { jtv, ok := value.(string) @@ -21823,6 +22589,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableId = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -21831,6 +22598,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableName = ptr.String(jtv) } + case "TableSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21843,6 +22611,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableSizeBytes = ptr.Int64(i64) } + case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -21851,6 +22620,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo } sv.TableStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -21890,6 +22660,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.Backfilling = ptr.Bool(jtv) } + case "IndexArn": if value != nil { jtv, ok := value.(string) @@ -21898,6 +22669,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -21906,6 +22678,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexName = ptr.String(jtv) } + case "IndexSizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -21918,6 +22691,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexSizeBytes = ptr.Int64(i64) } + case "IndexStatus": if value != nil { jtv, ok := value.(string) @@ -21926,6 +22700,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.IndexStatus = ptr.String(jtv) } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -21938,18 +22713,22 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty } sv.ItemCount = ptr.Int32(int32(i64)) } + case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } + case "Projection": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(&sv.Projection, value); err != nil { return err } + case "ProvisionedThroughput": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(&sv.ProvisionedThroughput, value); err != nil { return err } + default: _, _ = key, value @@ -22023,6 +22802,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchema(v **types.AwsDyna } sv.AttributeName = ptr.String(jtv) } + case "KeyType": if value != nil { jtv, ok := value.(string) @@ -22031,6 +22811,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchema(v **types.AwsDyna } sv.KeyType = ptr.String(jtv) } + default: _, _ = key, value @@ -22104,6 +22885,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndex(v **typ } sv.IndexArn = ptr.String(jtv) } + case "IndexName": if value != nil { jtv, ok := value.(string) @@ -22112,14 +22894,17 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableLocalSecondaryIndex(v **typ } sv.IndexName = ptr.String(jtv) } + case "KeySchema": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableKeySchemaList(&sv.KeySchema, value); err != nil { return err } + case "Projection": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(&sv.Projection, value); err != nil { return err } + default: _, _ = key, value @@ -22189,6 +22974,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(v **types.AwsDyn if err := awsRestjson1_deserializeDocumentStringList(&sv.NonKeyAttributes, value); err != nil { return err } + case "ProjectionType": if value != nil { jtv, ok := value.(string) @@ -22197,6 +22983,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProjection(v **types.AwsDyn } sv.ProjectionType = ptr.String(jtv) } + default: _, _ = key, value @@ -22236,6 +23023,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.LastDecreaseDateTime = ptr.String(jtv) } + case "LastIncreaseDateTime": if value != nil { jtv, ok := value.(string) @@ -22244,6 +23032,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.LastIncreaseDateTime = ptr.String(jtv) } + case "NumberOfDecreasesToday": if value != nil { jtv, ok := value.(json.Number) @@ -22256,6 +23045,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.NumberOfDecreasesToday = ptr.Int32(int32(i64)) } + case "ReadCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -22268,6 +23058,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } + case "WriteCapacityUnits": if value != nil { jtv, ok := value.(json.Number) @@ -22280,6 +23071,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t } sv.WriteCapacityUnits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22323,6 +23115,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverri } sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -22358,6 +23151,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaGlobalSecondaryIndexList(&sv.GlobalSecondaryIndexes, value); err != nil { return err } + case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -22366,10 +23160,12 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.KmsMasterKeyId = ptr.String(jtv) } + case "ProvisionedThroughputOverride": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } + case "RegionName": if value != nil { jtv, ok := value.(string) @@ -22378,6 +23174,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.RegionName = ptr.String(jtv) } + case "ReplicaStatus": if value != nil { jtv, ok := value.(string) @@ -22386,6 +23183,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.ReplicaStatus = ptr.String(jtv) } + case "ReplicaStatusDescription": if value != nil { jtv, ok := value.(string) @@ -22394,6 +23192,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplica(v **types.AwsDynamo } sv.ReplicaStatusDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -22433,10 +23232,12 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableReplicaGlobalSecondaryIndex } sv.IndexName = ptr.String(jtv) } + case "ProvisionedThroughputOverride": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverride(&sv.ProvisionedThroughputOverride, value); err != nil { return err } + default: _, _ = key, value @@ -22544,6 +23345,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.RestoreDateTime = ptr.String(jtv) } + case "RestoreInProgress": if value != nil { jtv, ok := value.(bool) @@ -22552,6 +23354,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.RestoreInProgress = ptr.Bool(jtv) } + case "SourceBackupArn": if value != nil { jtv, ok := value.(string) @@ -22560,6 +23363,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.SourceBackupArn = ptr.String(jtv) } + case "SourceTableArn": if value != nil { jtv, ok := value.(string) @@ -22568,6 +23372,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw } sv.SourceTableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22607,6 +23412,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.InaccessibleEncryptionDateTime = ptr.String(jtv) } + case "KmsMasterKeyArn": if value != nil { jtv, ok := value.(string) @@ -22615,6 +23421,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.KmsMasterKeyArn = ptr.String(jtv) } + case "SseType": if value != nil { jtv, ok := value.(string) @@ -22623,6 +23430,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.SseType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22631,6 +23439,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableSseDescription(v **types.Aw } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -22670,6 +23479,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(v **typ } sv.StreamEnabled = ptr.Bool(jtv) } + case "StreamViewType": if value != nil { jtv, ok := value.(string) @@ -22678,6 +23488,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(v **typ } sv.StreamViewType = ptr.String(jtv) } + default: _, _ = key, value @@ -22717,6 +23528,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.DirectoryId = ptr.String(jtv) } + default: _, _ = key, value @@ -22752,14 +23564,17 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsActiveDirectoryDetails(&sv.ActiveDirectory, value); err != nil { return err } + case "FederatedAuthentication": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsFederatedAuthenticationDetails(&sv.FederatedAuthentication, value); err != nil { return err } + case "MutualAuthentication": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsMutualAuthenticationDetails(&sv.MutualAuthentication, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -22768,6 +23583,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -22807,6 +23623,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.SamlProviderArn = ptr.String(jtv) } + case "SelfServiceSamlProviderArn": if value != nil { jtv, ok := value.(string) @@ -22815,6 +23632,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.SelfServiceSamlProviderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -22888,6 +23706,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOption } sv.ClientRootCertificateChain = ptr.String(jtv) } + default: _, _ = key, value @@ -22927,6 +23746,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Enabled = ptr.Bool(jtv) } + case "LambdaFunctionArn": if value != nil { jtv, ok := value.(string) @@ -22935,10 +23755,12 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.LambdaFunctionArn = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -22978,6 +23800,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -22986,6 +23809,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptions } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23025,6 +23849,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOpt } sv.BannerText = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23033,6 +23858,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOpt } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -23072,6 +23898,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.CloudwatchLogGroup = ptr.String(jtv) } + case "CloudwatchLogStream": if value != nil { jtv, ok := value.(string) @@ -23080,6 +23907,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.CloudwatchLogStream = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -23088,6 +23916,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptions } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -23123,6 +23952,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointAuthenticationOptionsList(&sv.AuthenticationOptions, value); err != nil { return err } + case "ClientCidrBlock": if value != nil { jtv, ok := value.(string) @@ -23131,14 +23961,17 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ClientCidrBlock = ptr.String(jtv) } + case "ClientConnectOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientConnectOptionsDetails(&sv.ClientConnectOptions, value); err != nil { return err } + case "ClientLoginBannerOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails(&sv.ClientLoginBannerOptions, value); err != nil { return err } + case "ClientVpnEndpointId": if value != nil { jtv, ok := value.(string) @@ -23147,10 +23980,12 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ClientVpnEndpointId = ptr.String(jtv) } + case "ConnectionLogOptions": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointConnectionLogOptionsDetails(&sv.ConnectionLogOptions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -23159,14 +23994,17 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.Description = ptr.String(jtv) } + case "DnsServer": if err := awsRestjson1_deserializeDocumentStringList(&sv.DnsServer, value); err != nil { return err } + case "SecurityGroupIdSet": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroupIdSet, value); err != nil { return err } + case "SelfServicePortalUrl": if value != nil { jtv, ok := value.(string) @@ -23175,6 +24013,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SelfServicePortalUrl = ptr.String(jtv) } + case "ServerCertificateArn": if value != nil { jtv, ok := value.(string) @@ -23183,6 +24022,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.ServerCertificateArn = ptr.String(jtv) } + case "SessionTimeoutHours": if value != nil { jtv, ok := value.(json.Number) @@ -23195,6 +24035,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SessionTimeoutHours = ptr.Int32(int32(i64)) } + case "SplitTunnel": if value != nil { jtv, ok := value.(bool) @@ -23203,6 +24044,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.SplitTunnel = ptr.Bool(jtv) } + case "TransportProtocol": if value != nil { jtv, ok := value.(string) @@ -23211,6 +24053,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.TransportProtocol = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -23219,6 +24062,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.VpcId = ptr.String(jtv) } + case "VpnPort": if value != nil { jtv, ok := value.(json.Number) @@ -23231,6 +24075,7 @@ func awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(v **types.Aw } sv.VpnPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -23270,6 +24115,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.AllocationId = ptr.String(jtv) } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23278,6 +24124,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.AssociationId = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -23286,6 +24133,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.Domain = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -23294,6 +24142,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.InstanceId = ptr.String(jtv) } + case "NetworkBorderGroup": if value != nil { jtv, ok := value.(string) @@ -23302,6 +24151,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkBorderGroup = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -23310,6 +24160,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkInterfaceId = ptr.String(jtv) } + case "NetworkInterfaceOwnerId": if value != nil { jtv, ok := value.(string) @@ -23318,6 +24169,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.NetworkInterfaceOwnerId = ptr.String(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -23326,6 +24178,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PrivateIpAddress = ptr.String(jtv) } + case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -23334,6 +24187,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PublicIp = ptr.String(jtv) } + case "PublicIpv4Pool": if value != nil { jtv, ok := value.(string) @@ -23342,6 +24196,7 @@ func awsRestjson1_deserializeDocumentAwsEc2EipDetails(v **types.AwsEc2EipDetails } sv.PublicIpv4Pool = ptr.String(jtv) } + default: _, _ = key, value @@ -23381,6 +24236,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.IamInstanceProfileArn = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -23389,14 +24245,17 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.ImageId = ptr.String(jtv) } + case "IpV4Addresses": if err := awsRestjson1_deserializeDocumentStringList(&sv.IpV4Addresses, value); err != nil { return err } + case "IpV6Addresses": if err := awsRestjson1_deserializeDocumentStringList(&sv.IpV6Addresses, value); err != nil { return err } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -23405,6 +24264,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.KeyName = ptr.String(jtv) } + case "LaunchedAt": if value != nil { jtv, ok := value.(string) @@ -23413,18 +24273,22 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.LaunchedAt = ptr.String(jtv) } + case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(&sv.MetadataOptions, value); err != nil { return err } + case "Monitoring": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceMonitoringDetails(&sv.Monitoring, value); err != nil { return err } + case "NetworkInterfaces": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceNetworkInterfacesList(&sv.NetworkInterfaces, value); err != nil { return err } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -23433,6 +24297,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.SubnetId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -23441,6 +24306,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.Type = ptr.String(jtv) } + case "VirtualizationType": if value != nil { jtv, ok := value.(string) @@ -23449,6 +24315,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VirtualizationType = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -23457,6 +24324,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(v **types.AwsEc2Insta } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -23496,6 +24364,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpEndpoint = ptr.String(jtv) } + case "HttpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -23504,6 +24373,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpProtocolIpv6 = ptr.String(jtv) } + case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -23516,6 +24386,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } + case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -23524,6 +24395,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.HttpTokens = ptr.String(jtv) } + case "InstanceMetadataTags": if value != nil { jtv, ok := value.(string) @@ -23532,6 +24404,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws } sv.InstanceMetadataTags = ptr.String(jtv) } + default: _, _ = key, value @@ -23571,6 +24444,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMonitoringDetails(v **types.A } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -23610,6 +24484,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceNetworkInterfacesDetails(v ** } sv.NetworkInterfaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -23683,10 +24558,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.DeviceName = ptr.String(jtv) } + case "Ebs": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails(&sv.Ebs, value); err != nil { return err } + case "NoDevice": if value != nil { jtv, ok := value.(string) @@ -23695,6 +24572,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.NoDevice = ptr.String(jtv) } + case "VirtualName": if value != nil { jtv, ok := value.(string) @@ -23703,6 +24581,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VirtualName = ptr.String(jtv) } + default: _, _ = key, value @@ -23742,6 +24621,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -23750,6 +24630,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Encrypted = ptr.Bool(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -23762,6 +24643,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Iops = ptr.Int32(int32(i64)) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -23770,6 +24652,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.KmsKeyId = ptr.String(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -23778,6 +24661,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.SnapshotId = ptr.String(jtv) } + case "Throughput": if value != nil { jtv, ok := value.(json.Number) @@ -23790,6 +24674,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.Throughput = ptr.Int32(int32(i64)) } + case "VolumeSize": if value != nil { jtv, ok := value.(json.Number) @@ -23802,6 +24687,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VolumeSize = ptr.Int32(int32(i64)) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -23810,6 +24696,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -23883,6 +24770,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationId = ptr.String(jtv) } + case "CapacityReservationResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -23891,6 +24779,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationResourceGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -23930,10 +24819,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservation } sv.CapacityReservationPreference = ptr.String(jtv) } + case "CapacityReservationTarget": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails(&sv.CapacityReservationTarget, value); err != nil { return err } + default: _, _ = key, value @@ -23977,6 +24868,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v } sv.CoreCount = ptr.Int32(int32(i64)) } + case "ThreadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -23989,6 +24881,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24028,6 +24921,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCreditSpecification } sv.CpuCredits = ptr.String(jtv) } + default: _, _ = key, value @@ -24063,18 +24957,22 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSetList(&sv.BlockDeviceMappingSet, value); err != nil { return err } + case "CapacityReservationSpecification": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails(&sv.CapacityReservationSpecification, value); err != nil { return err } + case "CpuOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(&sv.CpuOptions, value); err != nil { return err } + case "CreditSpecification": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCreditSpecificationDetails(&sv.CreditSpecification, value); err != nil { return err } + case "DisableApiStop": if value != nil { jtv, ok := value.(bool) @@ -24083,6 +24981,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.DisableApiStop = ptr.Bool(jtv) } + case "DisableApiTermination": if value != nil { jtv, ok := value.(bool) @@ -24091,6 +24990,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.DisableApiTermination = ptr.Bool(jtv) } + case "EbsOptimized": if value != nil { jtv, ok := value.(bool) @@ -24099,26 +24999,32 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.EbsOptimized = ptr.Bool(jtv) } + case "ElasticGpuSpecificationSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticGpuSpecificationSetList(&sv.ElasticGpuSpecificationSet, value); err != nil { return err } + case "ElasticInferenceAcceleratorSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList(&sv.ElasticInferenceAcceleratorSet, value); err != nil { return err } + case "EnclaveOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetails(&sv.EnclaveOptions, value); err != nil { return err } + case "HibernationOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsDetails(&sv.HibernationOptions, value); err != nil { return err } + case "IamInstanceProfile": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileDetails(&sv.IamInstanceProfile, value); err != nil { return err } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -24127,6 +25033,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.ImageId = ptr.String(jtv) } + case "InstanceInitiatedShutdownBehavior": if value != nil { jtv, ok := value.(string) @@ -24135,14 +25042,17 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.InstanceInitiatedShutdownBehavior = ptr.String(jtv) } + case "InstanceMarketOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptionsDetails(&sv.InstanceMarketOptions, value); err != nil { return err } + case "InstanceRequirements": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsDetails(&sv.InstanceRequirements, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -24151,6 +25061,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.InstanceType = ptr.String(jtv) } + case "KernelId": if value != nil { jtv, ok := value.(string) @@ -24159,6 +25070,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.KernelId = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -24167,34 +25079,42 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.KeyName = ptr.String(jtv) } + case "LicenseSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataLicenseSetList(&sv.LicenseSet, value); err != nil { return err } + case "MaintenanceOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMaintenanceOptionsDetails(&sv.MaintenanceOptions, value); err != nil { return err } + case "MetadataOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDetails(&sv.MetadataOptions, value); err != nil { return err } + case "Monitoring": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(&sv.Monitoring, value); err != nil { return err } + case "NetworkInterfaceSet": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetList(&sv.NetworkInterfaceSet, value); err != nil { return err } + case "Placement": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(&sv.Placement, value); err != nil { return err } + case "PrivateDnsNameOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails(&sv.PrivateDnsNameOptions, value); err != nil { return err } + case "RamDiskId": if value != nil { jtv, ok := value.(string) @@ -24203,14 +25123,17 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.RamDiskId = ptr.String(jtv) } + case "SecurityGroupIdSet": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIdSet, value); err != nil { return err } + case "SecurityGroupSet": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupSet, value); err != nil { return err } + case "UserData": if value != nil { jtv, ok := value.(string) @@ -24219,6 +25142,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A } sv.UserData = ptr.String(jtv) } + default: _, _ = key, value @@ -24258,6 +25182,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticGpuSpecifica } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -24335,6 +25260,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcc } sv.Count = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -24343,6 +25269,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -24416,6 +25343,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetai } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -24455,6 +25383,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsD } sv.Configured = ptr.Bool(jtv) } + default: _, _ = key, value @@ -24494,6 +25423,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileD } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -24502,6 +25432,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataIamInstanceProfileD } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -24541,10 +25472,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.MarketType = ptr.String(jtv) } + case "SpotOptions": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails(&sv.SpotOptions, value); err != nil { return err } + default: _, _ = key, value @@ -24588,6 +25521,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } + case "InstanceInterruptionBehavior": if value != nil { jtv, ok := value.(string) @@ -24596,6 +25530,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.InstanceInterruptionBehavior = ptr.String(jtv) } + case "MaxPrice": if value != nil { jtv, ok := value.(string) @@ -24604,6 +25539,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.MaxPrice = ptr.String(jtv) } + case "SpotInstanceType": if value != nil { jtv, ok := value.(string) @@ -24612,6 +25548,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.SpotInstanceType = ptr.String(jtv) } + case "ValidUntil": if value != nil { jtv, ok := value.(string) @@ -24620,6 +25557,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio } sv.ValidUntil = ptr.String(jtv) } + default: _, _ = key, value @@ -24663,6 +25601,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -24675,6 +25614,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24718,6 +25658,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -24730,6 +25671,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24773,6 +25715,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -24785,6 +25728,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -24820,22 +25764,27 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails(&sv.AcceleratorCount, value); err != nil { return err } + case "AcceleratorManufacturers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorManufacturers, value); err != nil { return err } + case "AcceleratorNames": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorNames, value); err != nil { return err } + case "AcceleratorTotalMemoryMiB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetails(&sv.AcceleratorTotalMemoryMiB, value); err != nil { return err } + case "AcceleratorTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorTypes, value); err != nil { return err } + case "BareMetal": if value != nil { jtv, ok := value.(string) @@ -24844,10 +25793,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.BareMetal = ptr.String(jtv) } + case "BaselineEbsBandwidthMbps": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails(&sv.BaselineEbsBandwidthMbps, value); err != nil { return err } + case "BurstablePerformance": if value != nil { jtv, ok := value.(string) @@ -24856,18 +25807,22 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.BurstablePerformance = ptr.String(jtv) } + case "CpuManufacturers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CpuManufacturers, value); err != nil { return err } + case "ExcludedInstanceTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ExcludedInstanceTypes, value); err != nil { return err } + case "InstanceGenerations": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.InstanceGenerations, value); err != nil { return err } + case "LocalStorage": if value != nil { jtv, ok := value.(string) @@ -24876,22 +25831,27 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.LocalStorage = ptr.String(jtv) } + case "LocalStorageTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.LocalStorageTypes, value); err != nil { return err } + case "MemoryGiBPerVCpu": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails(&sv.MemoryGiBPerVCpu, value); err != nil { return err } + case "MemoryMiB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails(&sv.MemoryMiB, value); err != nil { return err } + case "NetworkInterfaceCount": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails(&sv.NetworkInterfaceCount, value); err != nil { return err } + case "OnDemandMaxPricePercentageOverLowestPrice": if value != nil { jtv, ok := value.(json.Number) @@ -24904,6 +25864,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.OnDemandMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } + case "RequireHibernateSupport": if value != nil { jtv, ok := value.(bool) @@ -24912,6 +25873,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.RequireHibernateSupport = ptr.Bool(jtv) } + case "SpotMaxPricePercentageOverLowestPrice": if value != nil { jtv, ok := value.(json.Number) @@ -24924,14 +25886,17 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.SpotMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } + case "TotalLocalStorageGB": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(&sv.TotalLocalStorageGB, value); err != nil { return err } + case "VCpuCount": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails(&sv.VCpuCount, value); err != nil { return err } + default: _, _ = key, value @@ -24996,6 +25961,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -25029,6 +25995,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } + default: _, _ = key, value @@ -25072,6 +26039,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25084,6 +26052,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25127,6 +26096,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25139,6 +26109,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25203,6 +26174,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -25236,6 +26208,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } } + default: _, _ = key, value @@ -25279,6 +26252,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -25291,6 +26265,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -25330,6 +26305,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataLicenseSetDetails(v } sv.LicenseConfigurationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -25403,6 +26379,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMaintenanceOptionsD } sv.AutoRecovery = ptr.String(jtv) } + default: _, _ = key, value @@ -25442,6 +26419,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpEndpoint = ptr.String(jtv) } + case "HttpProtocolIpv6": if value != nil { jtv, ok := value.(string) @@ -25450,6 +26428,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpProtocolIpv6 = ptr.String(jtv) } + case "HttpPutResponseHopLimit": if value != nil { jtv, ok := value.(json.Number) @@ -25462,6 +26441,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } + case "HttpTokens": if value != nil { jtv, ok := value.(string) @@ -25470,6 +26450,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.HttpTokens = ptr.String(jtv) } + case "InstanceMetadataTags": if value != nil { jtv, ok := value.(string) @@ -25478,6 +26459,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta } sv.InstanceMetadataTags = ptr.String(jtv) } + default: _, _ = key, value @@ -25517,6 +26499,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(v } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -25556,6 +26539,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.AssociateCarrierIpAddress = ptr.Bool(jtv) } + case "AssociatePublicIpAddress": if value != nil { jtv, ok := value.(bool) @@ -25564,6 +26548,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -25572,6 +26557,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -25580,6 +26566,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Description = ptr.String(jtv) } + case "DeviceIndex": if value != nil { jtv, ok := value.(json.Number) @@ -25592,10 +26579,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.DeviceIndex = ptr.Int32(int32(i64)) } + case "Groups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Groups, value); err != nil { return err } + case "InterfaceType": if value != nil { jtv, ok := value.(string) @@ -25604,6 +26593,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.InterfaceType = ptr.String(jtv) } + case "Ipv4PrefixCount": if value != nil { jtv, ok := value.(json.Number) @@ -25616,10 +26606,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv4PrefixCount = ptr.Int32(int32(i64)) } + case "Ipv4Prefixes": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList(&sv.Ipv4Prefixes, value); err != nil { return err } + case "Ipv6AddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -25632,10 +26624,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6AddressCount = ptr.Int32(int32(i64)) } + case "Ipv6Addresses": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList(&sv.Ipv6Addresses, value); err != nil { return err } + case "Ipv6PrefixCount": if value != nil { jtv, ok := value.(json.Number) @@ -25648,10 +26642,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6PrefixCount = ptr.Int32(int32(i64)) } + case "Ipv6Prefixes": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList(&sv.Ipv6Prefixes, value); err != nil { return err } + case "NetworkCardIndex": if value != nil { jtv, ok := value.(json.Number) @@ -25664,6 +26660,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.NetworkCardIndex = ptr.Int32(int32(i64)) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -25672,6 +26669,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.NetworkInterfaceId = ptr.String(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -25680,10 +26678,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.PrivateIpAddress = ptr.String(jtv) } + case "PrivateIpAddresses": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList(&sv.PrivateIpAddresses, value); err != nil { return err } + case "SecondaryPrivateIpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -25696,6 +26696,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.SecondaryPrivateIpAddressCount = ptr.Int32(int32(i64)) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -25704,6 +26705,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -25743,6 +26745,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv4Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -25816,6 +26819,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6Address = ptr.String(jtv) } + default: _, _ = key, value @@ -25889,6 +26893,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Ipv6Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -25996,6 +27001,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.Primary = ptr.Bool(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -26004,6 +27010,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet } sv.PrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -26077,6 +27084,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.Affinity = ptr.String(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -26085,6 +27093,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.AvailabilityZone = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -26093,6 +27102,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.GroupName = ptr.String(jtv) } + case "HostId": if value != nil { jtv, ok := value.(string) @@ -26101,6 +27111,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.HostId = ptr.String(jtv) } + case "HostResourceGroupArn": if value != nil { jtv, ok := value.(string) @@ -26109,6 +27120,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.HostResourceGroupArn = ptr.String(jtv) } + case "PartitionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -26121,6 +27133,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.PartitionNumber = ptr.Int32(int32(i64)) } + case "SpreadDomain": if value != nil { jtv, ok := value.(string) @@ -26129,6 +27142,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.SpreadDomain = ptr.String(jtv) } + case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -26137,6 +27151,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v } sv.Tenancy = ptr.String(jtv) } + default: _, _ = key, value @@ -26176,6 +27191,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.EnableResourceNameDnsAAAARecord = ptr.Bool(jtv) } + case "EnableResourceNameDnsARecord": if value != nil { jtv, ok := value.(bool) @@ -26184,6 +27200,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.EnableResourceNameDnsARecord = ptr.Bool(jtv) } + case "HostnameType": if value != nil { jtv, ok := value.(string) @@ -26192,6 +27209,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio } sv.HostnameType = ptr.String(jtv) } + default: _, _ = key, value @@ -26235,6 +27253,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.DefaultVersionNumber = ptr.Int64(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -26243,6 +27262,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.Id = ptr.String(jtv) } + case "LatestVersionNumber": if value != nil { jtv, ok := value.(json.Number) @@ -26255,10 +27275,12 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.LatestVersionNumber = ptr.Int64(i64) } + case "LaunchTemplateData": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(&sv.LaunchTemplateData, value); err != nil { return err } + case "LaunchTemplateName": if value != nil { jtv, ok := value.(string) @@ -26267,6 +27289,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc } sv.LaunchTemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -26306,6 +27329,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.NetworkAclAssociationId = ptr.String(jtv) } + case "NetworkAclId": if value != nil { jtv, ok := value.(string) @@ -26314,6 +27338,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.NetworkAclId = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -26322,6 +27347,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociation(v **types.AwsEc } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -26391,10 +27417,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclAssociationList(&sv.Associations, value); err != nil { return err } + case "Entries": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntryList(&sv.Entries, value); err != nil { return err } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -26403,6 +27431,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.IsDefault = ptr.Bool(jtv) } + case "NetworkAclId": if value != nil { jtv, ok := value.(string) @@ -26411,6 +27440,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.NetworkAclId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -26419,6 +27449,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.OwnerId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -26427,6 +27458,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -26466,6 +27498,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.CidrBlock = ptr.String(jtv) } + case "Egress": if value != nil { jtv, ok := value.(bool) @@ -26474,10 +27507,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Egress = ptr.Bool(jtv) } + case "IcmpTypeCode": if err := awsRestjson1_deserializeDocumentIcmpTypeCode(&sv.IcmpTypeCode, value); err != nil { return err } + case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -26486,10 +27521,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Ipv6CidrBlock = ptr.String(jtv) } + case "PortRange": if err := awsRestjson1_deserializeDocumentPortRangeFromTo(&sv.PortRange, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -26498,6 +27535,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.Protocol = ptr.String(jtv) } + case "RuleAction": if value != nil { jtv, ok := value.(string) @@ -26506,6 +27544,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.RuleAction = ptr.String(jtv) } + case "RuleNumber": if value != nil { jtv, ok := value.(json.Number) @@ -26518,6 +27557,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo } sv.RuleNumber = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -26591,6 +27631,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.AttachmentId = ptr.String(jtv) } + case "AttachTime": if value != nil { jtv, ok := value.(string) @@ -26599,6 +27640,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.AttachTime = ptr.String(jtv) } + case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -26607,6 +27649,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "DeviceIndex": if value != nil { jtv, ok := value.(json.Number) @@ -26619,6 +27662,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.DeviceIndex = ptr.Int32(int32(i64)) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -26627,6 +27671,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.InstanceId = ptr.String(jtv) } + case "InstanceOwnerId": if value != nil { jtv, ok := value.(string) @@ -26635,6 +27680,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.InstanceOwnerId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -26643,6 +27689,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -26678,10 +27725,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(&sv.Attachment, value); err != nil { return err } + case "IpV6Addresses": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceIpV6AddressList(&sv.IpV6Addresses, value); err != nil { return err } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -26690,10 +27739,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.NetworkInterfaceId = ptr.String(jtv) } + case "PrivateIpAddresses": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressList(&sv.PrivateIpAddresses, value); err != nil { return err } + case "PublicDnsName": if value != nil { jtv, ok := value.(string) @@ -26702,6 +27753,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.PublicDnsName = ptr.String(jtv) } + case "PublicIp": if value != nil { jtv, ok := value.(string) @@ -26710,10 +27762,12 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.PublicIp = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroupList(&sv.SecurityGroups, value); err != nil { return err } + case "SourceDestCheck": if value != nil { jtv, ok := value.(bool) @@ -26722,6 +27776,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws } sv.SourceDestCheck = ptr.Bool(jtv) } + default: _, _ = key, value @@ -26761,6 +27816,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceIpV6AddressDetail(v * } sv.IpV6Address = ptr.String(jtv) } + default: _, _ = key, value @@ -26834,6 +27890,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressDetai } sv.PrivateDnsName = ptr.String(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -26842,6 +27899,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfacePrivateIpAddressDetai } sv.PrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -26915,6 +27973,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroup(v **typ } sv.GroupId = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -26923,6 +27982,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceSecurityGroup(v **typ } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -26992,6 +28052,7 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou if err := awsRestjson1_deserializeDocumentAssociationSetList(&sv.AssociationSet, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -27000,14 +28061,17 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.OwnerId = ptr.String(jtv) } + case "PropagatingVgwSet": if err := awsRestjson1_deserializeDocumentPropagatingVgwSetList(&sv.PropagatingVgwSet, value); err != nil { return err } + case "RouteSet": if err := awsRestjson1_deserializeDocumentRouteSetList(&sv.RouteSet, value); err != nil { return err } + case "RouteTableId": if value != nil { jtv, ok := value.(string) @@ -27016,6 +28080,7 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.RouteTableId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -27024,6 +28089,7 @@ func awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(v **types.AwsEc2Rou } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -27063,6 +28129,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.GroupId = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -27071,14 +28138,17 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.GroupName = ptr.String(jtv) } + case "IpPermissions": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermissionList(&sv.IpPermissions, value); err != nil { return err } + case "IpPermissionsEgress": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermissionList(&sv.IpPermissionsEgress, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -27087,6 +28157,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.OwnerId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -27095,6 +28166,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(v **types.AwsEc2 } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -27138,6 +28210,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.FromPort = ptr.Int32(int32(i64)) } + case "IpProtocol": if value != nil { jtv, ok := value.(string) @@ -27146,18 +28219,22 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.IpProtocol = ptr.String(jtv) } + case "IpRanges": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpRangeList(&sv.IpRanges, value); err != nil { return err } + case "Ipv6Ranges": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpv6RangeList(&sv.Ipv6Ranges, value); err != nil { return err } + case "PrefixListIds": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupPrefixListIdList(&sv.PrefixListIds, value); err != nil { return err } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -27170,10 +28247,12 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A } sv.ToPort = ptr.Int32(int32(i64)) } + case "UserIdGroupPairs": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPairList(&sv.UserIdGroupPairs, value); err != nil { return err } + default: _, _ = key, value @@ -27247,6 +28326,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpRange(v **types.AwsEc2 } sv.CidrIp = ptr.String(jtv) } + default: _, _ = key, value @@ -27320,6 +28400,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpv6Range(v **types.AwsE } sv.CidrIpv6 = ptr.String(jtv) } + default: _, _ = key, value @@ -27393,6 +28474,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupPrefixListId(v **types.A } sv.PrefixListId = ptr.String(jtv) } + default: _, _ = key, value @@ -27466,6 +28548,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.GroupId = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -27474,6 +28557,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.GroupName = ptr.String(jtv) } + case "PeeringStatus": if value != nil { jtv, ok := value.(string) @@ -27482,6 +28566,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.PeeringStatus = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -27490,6 +28575,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.UserId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -27498,6 +28584,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.VpcId = ptr.String(jtv) } + case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -27506,6 +28593,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupUserIdGroupPair(v **type } sv.VpcPeeringConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -27579,6 +28667,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AssignIpv6AddressOnCreation = ptr.Bool(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -27587,6 +28676,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailabilityZone = ptr.String(jtv) } + case "AvailabilityZoneId": if value != nil { jtv, ok := value.(string) @@ -27595,6 +28685,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailabilityZoneId = ptr.String(jtv) } + case "AvailableIpAddressCount": if value != nil { jtv, ok := value.(json.Number) @@ -27607,6 +28698,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.AvailableIpAddressCount = ptr.Int32(int32(i64)) } + case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -27615,6 +28707,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.CidrBlock = ptr.String(jtv) } + case "DefaultForAz": if value != nil { jtv, ok := value.(bool) @@ -27623,10 +28716,12 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.DefaultForAz = ptr.Bool(jtv) } + case "Ipv6CidrBlockAssociationSet": if err := awsRestjson1_deserializeDocumentIpv6CidrBlockAssociationList(&sv.Ipv6CidrBlockAssociationSet, value); err != nil { return err } + case "MapPublicIpOnLaunch": if value != nil { jtv, ok := value.(bool) @@ -27635,6 +28730,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.MapPublicIpOnLaunch = ptr.Bool(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -27643,6 +28739,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.OwnerId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -27651,6 +28748,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.State = ptr.String(jtv) } + case "SubnetArn": if value != nil { jtv, ok := value.(string) @@ -27659,6 +28757,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.SubnetArn = ptr.String(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -27667,6 +28766,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.SubnetId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -27675,6 +28775,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -27718,6 +28819,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AmazonSideAsn = ptr.Int32(int32(i64)) } + case "AssociationDefaultRouteTableId": if value != nil { jtv, ok := value.(string) @@ -27726,6 +28828,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AssociationDefaultRouteTableId = ptr.String(jtv) } + case "AutoAcceptSharedAttachments": if value != nil { jtv, ok := value.(string) @@ -27734,6 +28837,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.AutoAcceptSharedAttachments = ptr.String(jtv) } + case "DefaultRouteTableAssociation": if value != nil { jtv, ok := value.(string) @@ -27742,6 +28846,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DefaultRouteTableAssociation = ptr.String(jtv) } + case "DefaultRouteTablePropagation": if value != nil { jtv, ok := value.(string) @@ -27750,6 +28855,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DefaultRouteTablePropagation = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -27758,6 +28864,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.Description = ptr.String(jtv) } + case "DnsSupport": if value != nil { jtv, ok := value.(string) @@ -27766,6 +28873,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.DnsSupport = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -27774,6 +28882,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.Id = ptr.String(jtv) } + case "MulticastSupport": if value != nil { jtv, ok := value.(string) @@ -27782,6 +28891,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.MulticastSupport = ptr.String(jtv) } + case "PropagationDefaultRouteTableId": if value != nil { jtv, ok := value.(string) @@ -27790,10 +28900,12 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.PropagationDefaultRouteTableId = ptr.String(jtv) } + case "TransitGatewayCidrBlocks": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.TransitGatewayCidrBlocks, value); err != nil { return err } + case "VpnEcmpSupport": if value != nil { jtv, ok := value.(string) @@ -27802,6 +28914,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc } sv.VpnEcmpSupport = ptr.String(jtv) } + default: _, _ = key, value @@ -27841,6 +28954,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.AttachTime = ptr.String(jtv) } + case "DeleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -27849,6 +28963,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -27857,6 +28972,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.InstanceId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -27865,6 +28981,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -27934,6 +29051,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD if err := awsRestjson1_deserializeDocumentAwsEc2VolumeAttachmentList(&sv.Attachments, value); err != nil { return err } + case "CreateTime": if value != nil { jtv, ok := value.(string) @@ -27942,6 +29060,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.CreateTime = ptr.String(jtv) } + case "DeviceName": if value != nil { jtv, ok := value.(string) @@ -27950,6 +29069,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.DeviceName = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -27958,6 +29078,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Encrypted = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -27966,6 +29087,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.KmsKeyId = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -27978,6 +29100,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Size = ptr.Int32(int32(i64)) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -27986,6 +29109,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.SnapshotId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -27994,6 +29118,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.Status = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -28002,6 +29127,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeId = ptr.String(jtv) } + case "VolumeScanStatus": if value != nil { jtv, ok := value.(string) @@ -28010,6 +29136,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeScanStatus = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -28018,6 +29145,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -28053,6 +29181,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails if err := awsRestjson1_deserializeDocumentCidrBlockAssociationList(&sv.CidrBlockAssociationSet, value); err != nil { return err } + case "DhcpOptionsId": if value != nil { jtv, ok := value.(string) @@ -28061,10 +29190,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails } sv.DhcpOptionsId = ptr.String(jtv) } + case "Ipv6CidrBlockAssociationSet": if err := awsRestjson1_deserializeDocumentIpv6CidrBlockAssociationList(&sv.Ipv6CidrBlockAssociationSet, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -28073,6 +29204,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcDetails(v **types.AwsEc2VpcDetails } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -28112,18 +29244,22 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.AcceptanceRequired = ptr.Bool(jtv) } + case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "BaseEndpointDnsNames": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.BaseEndpointDnsNames, value); err != nil { return err } + case "GatewayLoadBalancerArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.GatewayLoadBalancerArns, value); err != nil { return err } + case "ManagesVpcEndpoints": if value != nil { jtv, ok := value.(bool) @@ -28132,10 +29268,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ManagesVpcEndpoints = ptr.Bool(jtv) } + case "NetworkLoadBalancerArns": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.NetworkLoadBalancerArns, value); err != nil { return err } + case "PrivateDnsName": if value != nil { jtv, ok := value.(string) @@ -28144,6 +29282,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.PrivateDnsName = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -28152,6 +29291,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceId = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -28160,6 +29300,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceName = ptr.String(jtv) } + case "ServiceState": if value != nil { jtv, ok := value.(string) @@ -28168,10 +29309,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A } sv.ServiceState = ptr.String(jtv) } + case "ServiceType": if err := awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceServiceTypeList(&sv.ServiceType, value); err != nil { return err } + default: _, _ = key, value @@ -28211,6 +29354,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceServiceTypeDetails( } sv.ServiceType = ptr.String(jtv) } + default: _, _ = key, value @@ -28280,6 +29424,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(&sv.AccepterVpcInfo, value); err != nil { return err } + case "ExpirationTime": if value != nil { jtv, ok := value.(string) @@ -28288,14 +29433,17 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types } sv.ExpirationTime = ptr.String(jtv) } + case "RequesterVpcInfo": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(&sv.RequesterVpcInfo, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(&sv.Status, value); err != nil { return err } + case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -28304,6 +29452,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(v **types } sv.VpcPeeringConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -28343,6 +29492,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(v * } sv.Code = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -28351,6 +29501,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionStatusDetails(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -28390,14 +29541,17 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.CidrBlock = ptr.String(jtv) } + case "CidrBlockSet": if err := awsRestjson1_deserializeDocumentVpcInfoCidrBlockSetList(&sv.CidrBlockSet, value); err != nil { return err } + case "Ipv6CidrBlockSet": if err := awsRestjson1_deserializeDocumentVpcInfoIpv6CidrBlockSetList(&sv.Ipv6CidrBlockSet, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -28406,10 +29560,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.OwnerId = ptr.String(jtv) } + case "PeeringOptions": if err := awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(&sv.PeeringOptions, value); err != nil { return err } + case "Region": if value != nil { jtv, ok := value.(string) @@ -28418,6 +29574,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.Region = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -28426,6 +29583,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionVpcInfoDetails(v } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -28465,6 +29623,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.Category = ptr.String(jtv) } + case "CustomerGatewayConfiguration": if value != nil { jtv, ok := value.(string) @@ -28473,6 +29632,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.CustomerGatewayConfiguration = ptr.String(jtv) } + case "CustomerGatewayId": if value != nil { jtv, ok := value.(string) @@ -28481,14 +29641,17 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.CustomerGatewayId = ptr.String(jtv) } + case "Options": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsDetails(&sv.Options, value); err != nil { return err } + case "Routes": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesList(&sv.Routes, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -28497,6 +29660,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.State = ptr.String(jtv) } + case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -28505,6 +29669,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.TransitGatewayId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -28513,10 +29678,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.Type = ptr.String(jtv) } + case "VgwTelemetry": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryList(&sv.VgwTelemetry, value); err != nil { return err } + case "VpnConnectionId": if value != nil { jtv, ok := value.(string) @@ -28525,6 +29692,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.VpnConnectionId = ptr.String(jtv) } + case "VpnGatewayId": if value != nil { jtv, ok := value.(string) @@ -28533,6 +29701,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(v **types.AwsEc2 } sv.VpnGatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -28572,10 +29741,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsDetails(v **types } sv.StaticRoutesOnly = ptr.Bool(jtv) } + case "TunnelOptions": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsList(&sv.TunnelOptions, value); err != nil { return err } + default: _, _ = key, value @@ -28619,10 +29790,12 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.DpdTimeoutSeconds = ptr.Int32(int32(i64)) } + case "IkeVersions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.IkeVersions, value); err != nil { return err } + case "OutsideIpAddress": if value != nil { jtv, ok := value.(string) @@ -28631,18 +29804,22 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.OutsideIpAddress = ptr.String(jtv) } + case "Phase1DhGroupNumbers": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.Phase1DhGroupNumbers, value); err != nil { return err } + case "Phase1EncryptionAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase1EncryptionAlgorithms, value); err != nil { return err } + case "Phase1IntegrityAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase1IntegrityAlgorithms, value); err != nil { return err } + case "Phase1LifetimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28655,18 +29832,22 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.Phase1LifetimeSeconds = ptr.Int32(int32(i64)) } + case "Phase2DhGroupNumbers": if err := awsRestjson1_deserializeDocumentIntegerList(&sv.Phase2DhGroupNumbers, value); err != nil { return err } + case "Phase2EncryptionAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase2EncryptionAlgorithms, value); err != nil { return err } + case "Phase2IntegrityAlgorithms": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Phase2IntegrityAlgorithms, value); err != nil { return err } + case "Phase2LifetimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28679,6 +29860,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.Phase2LifetimeSeconds = ptr.Int32(int32(i64)) } + case "PreSharedKey": if value != nil { jtv, ok := value.(string) @@ -28687,6 +29869,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.PreSharedKey = ptr.String(jtv) } + case "RekeyFuzzPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -28699,6 +29882,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.RekeyFuzzPercentage = ptr.Int32(int32(i64)) } + case "RekeyMarginTimeSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -28711,6 +29895,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.RekeyMarginTimeSeconds = ptr.Int32(int32(i64)) } + case "ReplayWindowSize": if value != nil { jtv, ok := value.(json.Number) @@ -28723,6 +29908,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.ReplayWindowSize = ptr.Int32(int32(i64)) } + case "TunnelInsideCidr": if value != nil { jtv, ok := value.(string) @@ -28731,6 +29917,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta } sv.TunnelInsideCidr = ptr.String(jtv) } + default: _, _ = key, value @@ -28804,6 +29991,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesDetails(v **types. } sv.DestinationCidrBlock = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -28812,6 +30000,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionRoutesDetails(v **types. } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -28889,6 +30078,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.AcceptedRouteCount = ptr.Int32(int32(i64)) } + case "CertificateArn": if value != nil { jtv, ok := value.(string) @@ -28897,6 +30087,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.CertificateArn = ptr.String(jtv) } + case "LastStatusChange": if value != nil { jtv, ok := value.(string) @@ -28905,6 +30096,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.LastStatusChange = ptr.String(jtv) } + case "OutsideIpAddress": if value != nil { jtv, ok := value.(string) @@ -28913,6 +30105,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.OutsideIpAddress = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -28921,6 +30114,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -28929,6 +30123,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -29002,6 +30197,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.Architecture = ptr.String(jtv) } + case "ImageDigest": if value != nil { jtv, ok := value.(string) @@ -29010,6 +30206,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImageDigest = ptr.String(jtv) } + case "ImagePublishedAt": if value != nil { jtv, ok := value.(string) @@ -29018,10 +30215,12 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.ImagePublishedAt = ptr.String(jtv) } + case "ImageTags": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.ImageTags, value); err != nil { return err } + case "RegistryId": if value != nil { jtv, ok := value.(string) @@ -29030,6 +30229,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RegistryId = ptr.String(jtv) } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -29038,6 +30238,7 @@ func awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(v **types.AwsEc } sv.RepositoryName = ptr.String(jtv) } + default: _, _ = key, value @@ -29077,10 +30278,12 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.Arn = ptr.String(jtv) } + case "ImageScanningConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryImageScanningConfigurationDetails(&sv.ImageScanningConfiguration, value); err != nil { return err } + case "ImageTagMutability": if value != nil { jtv, ok := value.(string) @@ -29089,10 +30292,12 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.ImageTagMutability = ptr.String(jtv) } + case "LifecyclePolicy": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(&sv.LifecyclePolicy, value); err != nil { return err } + case "RepositoryName": if value != nil { jtv, ok := value.(string) @@ -29101,6 +30306,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.RepositoryName = ptr.String(jtv) } + case "RepositoryPolicyText": if value != nil { jtv, ok := value.(string) @@ -29109,6 +30315,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(v **types.AwsEcrRep } sv.RepositoryPolicyText = ptr.String(jtv) } + default: _, _ = key, value @@ -29148,6 +30355,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryImageScanningConfigurationD } sv.ScanOnPush = ptr.Bool(jtv) } + default: _, _ = key, value @@ -29187,6 +30395,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(v ** } sv.LifecyclePolicyText = ptr.String(jtv) } + case "RegistryId": if value != nil { jtv, ok := value.(string) @@ -29195,6 +30404,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryLifecyclePolicyDetails(v ** } sv.RegistryId = ptr.String(jtv) } + default: _, _ = key, value @@ -29234,6 +30444,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsDetails(v **typ } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -29242,6 +30453,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsDetails(v **typ } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -29311,6 +30523,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationDetails(v **types if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandConfigurationDetails(&sv.ExecuteCommandConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -29350,10 +30563,12 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.KmsKeyId = ptr.String(jtv) } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails(&sv.LogConfiguration, value); err != nil { return err } + case "Logging": if value != nil { jtv, ok := value.(string) @@ -29362,6 +30577,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.Logging = ptr.String(jtv) } + default: _, _ = key, value @@ -29401,6 +30617,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.CloudWatchEncryptionEnabled = ptr.Bool(jtv) } + case "CloudWatchLogGroupName": if value != nil { jtv, ok := value.(string) @@ -29409,6 +30626,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.CloudWatchLogGroupName = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -29417,6 +30635,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3BucketName = ptr.String(jtv) } + case "S3EncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -29425,6 +30644,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3EncryptionEnabled = ptr.Bool(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -29433,6 +30653,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -29476,6 +30697,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.Base = ptr.Int32(int32(i64)) } + case "CapacityProvider": if value != nil { jtv, ok := value.(string) @@ -29484,6 +30706,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.CapacityProvider = ptr.String(jtv) } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -29496,6 +30719,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29573,10 +30797,12 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ActiveServicesCount = ptr.Int32(int32(i64)) } + case "CapacityProviders": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CapacityProviders, value); err != nil { return err } + case "ClusterArn": if value != nil { jtv, ok := value.(string) @@ -29585,6 +30811,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ClusterArn = ptr.String(jtv) } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -29593,18 +30820,22 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.ClusterName = ptr.String(jtv) } + case "ClusterSettings": if err := awsRestjson1_deserializeDocumentAwsEcsClusterClusterSettingsList(&sv.ClusterSettings, value); err != nil { return err } + case "Configuration": if err := awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationDetails(&sv.Configuration, value); err != nil { return err } + case "DefaultCapacityProviderStrategy": if err := awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrategyList(&sv.DefaultCapacityProviderStrategy, value); err != nil { return err } + case "RegisteredContainerInstancesCount": if value != nil { jtv, ok := value.(json.Number) @@ -29617,6 +30848,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } + case "RunningTasksCount": if value != nil { jtv, ok := value.(json.Number) @@ -29629,6 +30861,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.RunningTasksCount = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -29637,6 +30870,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -29676,10 +30910,12 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Image = ptr.String(jtv) } + case "MountPoints": if err := awsRestjson1_deserializeDocumentAwsMountPointList(&sv.MountPoints, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -29688,6 +30924,7 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Name = ptr.String(jtv) } + case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -29696,6 +30933,7 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont } sv.Privileged = ptr.Bool(jtv) } + default: _, _ = key, value @@ -29773,6 +31011,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.Base = ptr.Int32(int32(i64)) } + case "CapacityProvider": if value != nil { jtv, ok := value.(string) @@ -29781,6 +31020,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.CapacityProvider = ptr.String(jtv) } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -29793,6 +31033,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29866,6 +31107,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym } sv.Enable = ptr.Bool(jtv) } + case "Rollback": if value != nil { jtv, ok := value.(bool) @@ -29874,6 +31116,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym } sv.Rollback = ptr.Bool(jtv) } + default: _, _ = key, value @@ -29909,6 +31152,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails(&sv.DeploymentCircuitBreaker, value); err != nil { return err } + case "MaximumPercent": if value != nil { jtv, ok := value.(json.Number) @@ -29921,6 +31165,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails } sv.MaximumPercent = ptr.Int32(int32(i64)) } + case "MinimumHealthyPercent": if value != nil { jtv, ok := value.(json.Number) @@ -29933,6 +31178,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails } sv.MinimumHealthyPercent = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -29972,6 +31218,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentControllerDetails(v } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -30007,6 +31254,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if err := awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyList(&sv.CapacityProviderStrategy, value); err != nil { return err } + case "Cluster": if value != nil { jtv, ok := value.(string) @@ -30015,14 +31263,17 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Cluster = ptr.String(jtv) } + case "DeploymentConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails(&sv.DeploymentConfiguration, value); err != nil { return err } + case "DeploymentController": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentControllerDetails(&sv.DeploymentController, value); err != nil { return err } + case "DesiredCount": if value != nil { jtv, ok := value.(json.Number) @@ -30035,6 +31286,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.DesiredCount = ptr.Int32(int32(i64)) } + case "EnableEcsManagedTags": if value != nil { jtv, ok := value.(bool) @@ -30043,6 +31295,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.EnableEcsManagedTags = ptr.Bool(jtv) } + case "EnableExecuteCommand": if value != nil { jtv, ok := value.(bool) @@ -30051,6 +31304,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.EnableExecuteCommand = ptr.Bool(jtv) } + case "HealthCheckGracePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -30063,6 +31317,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.HealthCheckGracePeriodSeconds = ptr.Int32(int32(i64)) } + case "LaunchType": if value != nil { jtv, ok := value.(string) @@ -30071,10 +31326,12 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.LaunchType = ptr.String(jtv) } + case "LoadBalancers": if err := awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersList(&sv.LoadBalancers, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30083,18 +31340,22 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Name = ptr.String(jtv) } + case "NetworkConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationDetails(&sv.NetworkConfiguration, value); err != nil { return err } + case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsList(&sv.PlacementConstraints, value); err != nil { return err } + case "PlacementStrategies": if err := awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesList(&sv.PlacementStrategies, value); err != nil { return err } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -30103,6 +31364,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.PlatformVersion = ptr.String(jtv) } + case "PropagateTags": if value != nil { jtv, ok := value.(string) @@ -30111,6 +31373,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.PropagateTags = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -30119,6 +31382,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.Role = ptr.String(jtv) } + case "SchedulingStrategy": if value != nil { jtv, ok := value.(string) @@ -30127,6 +31391,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.SchedulingStrategy = ptr.String(jtv) } + case "ServiceArn": if value != nil { jtv, ok := value.(string) @@ -30135,6 +31400,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.ServiceArn = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -30143,10 +31409,12 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.ServiceName = ptr.String(jtv) } + case "ServiceRegistries": if err := awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesList(&sv.ServiceRegistries, value); err != nil { return err } + case "TaskDefinition": if value != nil { jtv, ok := value.(string) @@ -30155,6 +31423,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic } sv.TaskDefinition = ptr.String(jtv) } + default: _, _ = key, value @@ -30194,6 +31463,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.ContainerName = ptr.String(jtv) } + case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -30206,6 +31476,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "LoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -30214,6 +31485,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.LoadBalancerName = ptr.String(jtv) } + case "TargetGroupArn": if value != nil { jtv, ok := value.(string) @@ -30222,6 +31494,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types } sv.TargetGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -30295,14 +31568,17 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationAwsVpcConf } sv.AssignPublicIp = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Subnets, value); err != nil { return err } + default: _, _ = key, value @@ -30338,6 +31614,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationDetails(v if err := awsRestjson1_deserializeDocumentAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails(&sv.AwsVpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -30377,6 +31654,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsDetails(v } sv.Expression = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -30385,6 +31663,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementConstraintsDetails(v } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -30458,6 +31737,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesDetails(v * } sv.Field = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -30466,6 +31746,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServicePlacementStrategiesDetails(v * } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -30539,6 +31820,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.ContainerName = ptr.String(jtv) } + case "ContainerPort": if value != nil { jtv, ok := value.(json.Number) @@ -30551,6 +31833,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -30563,6 +31846,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.Port = ptr.Int32(int32(i64)) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -30571,6 +31855,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t } sv.RegistryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -30644,6 +31929,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDep } sv.Condition = ptr.String(jtv) } + case "ContainerName": if value != nil { jtv, ok := value.(string) @@ -30652,6 +31938,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDep } sv.ContainerName = ptr.String(jtv) } + default: _, _ = key, value @@ -30721,6 +32008,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Command, value); err != nil { return err } + case "Cpu": if value != nil { jtv, ok := value.(json.Number) @@ -30733,10 +32021,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Cpu = ptr.Int32(int32(i64)) } + case "DependsOn": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDependsOnList(&sv.DependsOn, value); err != nil { return err } + case "DisableNetworking": if value != nil { jtv, ok := value.(bool) @@ -30745,34 +32035,42 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.DisableNetworking = ptr.Bool(jtv) } + case "DnsSearchDomains": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DnsSearchDomains, value); err != nil { return err } + case "DnsServers": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DnsServers, value); err != nil { return err } + case "DockerLabels": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DockerLabels, value); err != nil { return err } + case "DockerSecurityOptions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.DockerSecurityOptions, value); err != nil { return err } + case "EntryPoint": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.EntryPoint, value); err != nil { return err } + case "Environment": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnvironmentList(&sv.Environment, value); err != nil { return err } + case "EnvironmentFiles": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesList(&sv.EnvironmentFiles, value); err != nil { return err } + case "Essential": if value != nil { jtv, ok := value.(bool) @@ -30781,18 +32079,22 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Essential = ptr.Bool(jtv) } + case "ExtraHosts": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExtraHostsList(&sv.ExtraHosts, value); err != nil { return err } + case "FirelensConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails(&sv.FirelensConfiguration, value); err != nil { return err } + case "HealthCheck": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails(&sv.HealthCheck, value); err != nil { return err } + case "Hostname": if value != nil { jtv, ok := value.(string) @@ -30801,6 +32103,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Hostname = ptr.String(jtv) } + case "Image": if value != nil { jtv, ok := value.(string) @@ -30809,6 +32112,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Image = ptr.String(jtv) } + case "Interactive": if value != nil { jtv, ok := value.(bool) @@ -30817,18 +32121,22 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Interactive = ptr.Bool(jtv) } + case "Links": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Links, value); err != nil { return err } + case "LinuxParameters": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails(&sv.LinuxParameters, value); err != nil { return err } + case "LogConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails(&sv.LogConfiguration, value); err != nil { return err } + case "Memory": if value != nil { jtv, ok := value.(json.Number) @@ -30841,6 +32149,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Memory = ptr.Int32(int32(i64)) } + case "MemoryReservation": if value != nil { jtv, ok := value.(json.Number) @@ -30853,10 +32162,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.MemoryReservation = ptr.Int32(int32(i64)) } + case "MountPoints": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMountPointsList(&sv.MountPoints, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -30865,10 +32176,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Name = ptr.String(jtv) } + case "PortMappings": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPortMappingsList(&sv.PortMappings, value); err != nil { return err } + case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -30877,6 +32190,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.Privileged = ptr.Bool(jtv) } + case "PseudoTerminal": if value != nil { jtv, ok := value.(bool) @@ -30885,6 +32199,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.PseudoTerminal = ptr.Bool(jtv) } + case "ReadonlyRootFilesystem": if value != nil { jtv, ok := value.(bool) @@ -30893,18 +32208,22 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } + case "RepositoryCredentials": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails(&sv.RepositoryCredentials, value); err != nil { return err } + case "ResourceRequirements": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsList(&sv.ResourceRequirements, value); err != nil { return err } + case "Secrets": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSecretsList(&sv.Secrets, value); err != nil { return err } + case "StartTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -30917,6 +32236,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.StartTimeout = ptr.Int32(int32(i64)) } + case "StopTimeout": if value != nil { jtv, ok := value.(json.Number) @@ -30929,14 +32249,17 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.StopTimeout = ptr.Int32(int32(i64)) } + case "SystemControls": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSystemControlsList(&sv.SystemControls, value); err != nil { return err } + case "Ulimits": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUlimitsList(&sv.Ulimits, value); err != nil { return err } + case "User": if value != nil { jtv, ok := value.(string) @@ -30945,10 +32268,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.User = ptr.String(jtv) } + case "VolumesFrom": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVolumesFromList(&sv.VolumesFrom, value); err != nil { return err } + case "WorkingDirectory": if value != nil { jtv, ok := value.(string) @@ -30957,6 +32282,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet } sv.WorkingDirectory = ptr.String(jtv) } + default: _, _ = key, value @@ -30996,6 +32322,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -31004,6 +32331,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -31043,6 +32371,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -31051,6 +32380,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsEnv } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -31158,6 +32488,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExt } sv.Hostname = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -31166,6 +32497,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsExt } sv.IpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -31235,6 +32567,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFir if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Options, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -31243,6 +32576,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsFir } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -31278,6 +32612,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Command, value); err != nil { return err } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -31290,6 +32625,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Interval = ptr.Int32(int32(i64)) } + case "Retries": if value != nil { jtv, ok := value.(json.Number) @@ -31302,6 +32638,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Retries = ptr.Int32(int32(i64)) } + case "StartPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -31314,6 +32651,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.StartPeriod = ptr.Int32(int32(i64)) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -31326,6 +32664,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31361,10 +32700,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Add, value); err != nil { return err } + case "Drop": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Drop, value); err != nil { return err } + default: _, _ = key, value @@ -31400,10 +32741,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails(&sv.Capabilities, value); err != nil { return err } + case "Devices": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList(&sv.Devices, value); err != nil { return err } + case "InitProcessEnabled": if value != nil { jtv, ok := value.(bool) @@ -31412,6 +32755,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.InitProcessEnabled = ptr.Bool(jtv) } + case "MaxSwap": if value != nil { jtv, ok := value.(json.Number) @@ -31424,6 +32768,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.MaxSwap = ptr.Int32(int32(i64)) } + case "SharedMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -31436,6 +32781,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.SharedMemorySize = ptr.Int32(int32(i64)) } + case "Swappiness": if value != nil { jtv, ok := value.(json.Number) @@ -31448,10 +32794,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.Swappiness = ptr.Int32(int32(i64)) } + case "Tmpfs": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList(&sv.Tmpfs, value); err != nil { return err } + default: _, _ = key, value @@ -31491,6 +32839,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.ContainerPath = ptr.String(jtv) } + case "HostPath": if value != nil { jtv, ok := value.(string) @@ -31499,10 +32848,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.HostPath = ptr.String(jtv) } + case "Permissions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -31576,10 +32927,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.ContainerPath = ptr.String(jtv) } + case "MountOptions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.MountOptions, value); err != nil { return err } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -31592,6 +32945,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin } sv.Size = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -31699,14 +33053,17 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.LogDriver = ptr.String(jtv) } + case "Options": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Options, value); err != nil { return err } + case "SecretOptions": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsList(&sv.SecretOptions, value); err != nil { return err } + default: _, _ = key, value @@ -31746,6 +33103,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.Name = ptr.String(jtv) } + case "ValueFrom": if value != nil { jtv, ok := value.(string) @@ -31754,6 +33112,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLog } sv.ValueFrom = ptr.String(jtv) } + default: _, _ = key, value @@ -31827,6 +33186,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.ContainerPath = ptr.String(jtv) } + case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -31835,6 +33195,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.ReadOnly = ptr.Bool(jtv) } + case "SourceVolume": if value != nil { jtv, ok := value.(string) @@ -31843,6 +33204,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou } sv.SourceVolume = ptr.String(jtv) } + default: _, _ = key, value @@ -31920,6 +33282,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.ContainerPort = ptr.Int32(int32(i64)) } + case "HostPort": if value != nil { jtv, ok := value.(json.Number) @@ -31932,6 +33295,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.HostPort = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -31940,6 +33304,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -32013,6 +33378,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRep } sv.CredentialsParameter = ptr.String(jtv) } + default: _, _ = key, value @@ -32052,6 +33418,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRes } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -32060,6 +33427,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsRes } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -32133,6 +33501,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSec } sv.Name = ptr.String(jtv) } + case "ValueFrom": if value != nil { jtv, ok := value.(string) @@ -32141,6 +33510,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSec } sv.ValueFrom = ptr.String(jtv) } + default: _, _ = key, value @@ -32214,6 +33584,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSys } sv.Namespace = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -32222,6 +33593,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsSys } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -32299,6 +33671,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.HardLimit = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32307,6 +33680,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.Name = ptr.String(jtv) } + case "SoftLimit": if value != nil { jtv, ok := value.(json.Number) @@ -32319,6 +33693,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli } sv.SoftLimit = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32392,6 +33767,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVol } sv.ReadOnly = ptr.Bool(jtv) } + case "SourceContainer": if value != nil { jtv, ok := value.(string) @@ -32400,6 +33776,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVol } sv.SourceContainer = ptr.String(jtv) } + default: _, _ = key, value @@ -32469,6 +33846,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsList(&sv.ContainerDefinitions, value); err != nil { return err } + case "Cpu": if value != nil { jtv, ok := value.(string) @@ -32477,6 +33855,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Cpu = ptr.String(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -32485,6 +33864,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.ExecutionRoleArn = ptr.String(jtv) } + case "Family": if value != nil { jtv, ok := value.(string) @@ -32493,10 +33873,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Family = ptr.String(jtv) } + case "InferenceAccelerators": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsList(&sv.InferenceAccelerators, value); err != nil { return err } + case "IpcMode": if value != nil { jtv, ok := value.(string) @@ -32505,6 +33887,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.IpcMode = ptr.String(jtv) } + case "Memory": if value != nil { jtv, ok := value.(string) @@ -32513,6 +33896,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Memory = ptr.String(jtv) } + case "NetworkMode": if value != nil { jtv, ok := value.(string) @@ -32521,6 +33905,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.NetworkMode = ptr.String(jtv) } + case "PidMode": if value != nil { jtv, ok := value.(string) @@ -32529,18 +33914,22 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.PidMode = ptr.String(jtv) } + case "PlacementConstraints": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsList(&sv.PlacementConstraints, value); err != nil { return err } + case "ProxyConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetails(&sv.ProxyConfiguration, value); err != nil { return err } + case "RequiresCompatibilities": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.RequiresCompatibilities, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -32549,6 +33938,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.Status = ptr.String(jtv) } + case "TaskRoleArn": if value != nil { jtv, ok := value.(string) @@ -32557,10 +33947,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(v **types.AwsEc } sv.TaskRoleArn = ptr.String(jtv) } + case "Volumes": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesList(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -32600,6 +33992,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsDe } sv.DeviceName = ptr.String(jtv) } + case "DeviceType": if value != nil { jtv, ok := value.(string) @@ -32608,6 +34001,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionInferenceAcceleratorsDe } sv.DeviceType = ptr.String(jtv) } + default: _, _ = key, value @@ -32681,6 +34075,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsDet } sv.Expression = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -32689,6 +34084,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionPlacementConstraintsDet } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -32762,10 +34158,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetai } sv.ContainerName = ptr.String(jtv) } + case "ProxyConfigurationProperties": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesList(&sv.ProxyConfigurationProperties, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -32774,6 +34172,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationDetai } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -32813,6 +34212,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxy } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -32821,6 +34221,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionProxyConfigurationProxy } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -32890,14 +34291,17 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDetails(v **type if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails(&sv.DockerVolumeConfiguration, value); err != nil { return err } + case "EfsVolumeConfiguration": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails(&sv.EfsVolumeConfiguration, value); err != nil { return err } + case "Host": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesHostDetails(&sv.Host, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32906,6 +34310,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDetails(v **type } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -32945,6 +34350,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Autoprovision = ptr.Bool(jtv) } + case "Driver": if value != nil { jtv, ok := value.(string) @@ -32953,14 +34359,17 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Driver = ptr.String(jtv) } + case "DriverOpts": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DriverOpts, value); err != nil { return err } + case "Labels": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Labels, value); err != nil { return err } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -32969,6 +34378,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf } sv.Scope = ptr.String(jtv) } + default: _, _ = key, value @@ -33008,6 +34418,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.AccessPointId = ptr.String(jtv) } + case "Iam": if value != nil { jtv, ok := value.(string) @@ -33016,6 +34427,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.Iam = ptr.String(jtv) } + default: _, _ = key, value @@ -33051,6 +34463,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails(&sv.AuthorizationConfig, value); err != nil { return err } + case "FilesystemId": if value != nil { jtv, ok := value.(string) @@ -33059,6 +34472,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.FilesystemId = ptr.String(jtv) } + case "RootDirectory": if value != nil { jtv, ok := value.(string) @@ -33067,6 +34481,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.RootDirectory = ptr.String(jtv) } + case "TransitEncryption": if value != nil { jtv, ok := value.(string) @@ -33075,6 +34490,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.TransitEncryption = ptr.String(jtv) } + case "TransitEncryptionPort": if value != nil { jtv, ok := value.(json.Number) @@ -33087,6 +34503,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu } sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -33126,6 +34543,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesHostDetails(v ** } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -33199,10 +34617,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.ClusterArn = ptr.String(jtv) } + case "Containers": if err := awsRestjson1_deserializeDocumentAwsEcsContainerDetailsList(&sv.Containers, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -33211,6 +34631,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.CreatedAt = ptr.String(jtv) } + case "Group": if value != nil { jtv, ok := value.(string) @@ -33219,6 +34640,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.Group = ptr.String(jtv) } + case "StartedAt": if value != nil { jtv, ok := value.(string) @@ -33227,6 +34649,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.StartedAt = ptr.String(jtv) } + case "StartedBy": if value != nil { jtv, ok := value.(string) @@ -33235,6 +34658,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.StartedBy = ptr.String(jtv) } + case "TaskDefinitionArn": if value != nil { jtv, ok := value.(string) @@ -33243,6 +34667,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.TaskDefinitionArn = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -33251,10 +34676,12 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDetails(v **types.AwsEcsTaskDetai } sv.Version = ptr.String(jtv) } + case "Volumes": if err := awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetailsList(&sv.Volumes, value); err != nil { return err } + default: _, _ = key, value @@ -33290,6 +34717,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetails(v **types.AwsEcsTas if err := awsRestjson1_deserializeDocumentAwsEcsTaskVolumeHostDetails(&sv.Host, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33298,6 +34726,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeDetails(v **types.AwsEcsTas } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -33371,6 +34800,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskVolumeHostDetails(v **types.AwsEc } sv.SourcePath = ptr.String(jtv) } + default: _, _ = key, value @@ -33410,6 +34840,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.AccessPointId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -33418,6 +34849,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.Arn = ptr.String(jtv) } + case "ClientToken": if value != nil { jtv, ok := value.(string) @@ -33426,6 +34858,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.ClientToken = ptr.String(jtv) } + case "FileSystemId": if value != nil { jtv, ok := value.(string) @@ -33434,14 +34867,17 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(v **types.AwsEfsAc } sv.FileSystemId = ptr.String(jtv) } + case "PosixUser": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(&sv.PosixUser, value); err != nil { return err } + case "RootDirectory": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(&sv.RootDirectory, value); err != nil { return err } + default: _, _ = key, value @@ -33481,10 +34917,12 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(v **types } sv.Gid = ptr.String(jtv) } + case "SecondaryGids": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecondaryGids, value); err != nil { return err } + case "Uid": if value != nil { jtv, ok := value.(string) @@ -33493,6 +34931,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointPosixUserDetails(v **types } sv.Uid = ptr.String(jtv) } + default: _, _ = key, value @@ -33532,6 +34971,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.OwnerGid = ptr.String(jtv) } + case "OwnerUid": if value != nil { jtv, ok := value.(string) @@ -33540,6 +34980,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.OwnerUid = ptr.String(jtv) } + case "Permissions": if value != nil { jtv, ok := value.(string) @@ -33548,6 +34989,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoD } sv.Permissions = ptr.String(jtv) } + default: _, _ = key, value @@ -33583,6 +35025,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(v **t if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryCreationInfoDetails(&sv.CreationInfo, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -33591,6 +35034,7 @@ func awsRestjson1_deserializeDocumentAwsEfsAccessPointRootDirectoryDetails(v **t } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -33630,6 +35074,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Arn = ptr.String(jtv) } + case "CertificateAuthorityData": if value != nil { jtv, ok := value.(string) @@ -33638,6 +35083,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.CertificateAuthorityData = ptr.String(jtv) } + case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -33646,6 +35092,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.ClusterStatus = ptr.String(jtv) } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -33654,10 +35101,12 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Endpoint = ptr.String(jtv) } + case "Logging": if err := awsRestjson1_deserializeDocumentAwsEksClusterLoggingDetails(&sv.Logging, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33666,10 +35115,12 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Name = ptr.String(jtv) } + case "ResourcesVpcConfig": if err := awsRestjson1_deserializeDocumentAwsEksClusterResourcesVpcConfigDetails(&sv.ResourcesVpcConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -33678,6 +35129,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.RoleArn = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -33686,6 +35138,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterDetails(v **types.AwsEksCluste } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -33725,10 +35178,12 @@ func awsRestjson1_deserializeDocumentAwsEksClusterLoggingClusterLoggingDetails(v } sv.Enabled = ptr.Bool(jtv) } + case "Types": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -33798,6 +35253,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterLoggingDetails(v **types.AwsEk if err := awsRestjson1_deserializeDocumentAwsEksClusterLoggingClusterLoggingList(&sv.ClusterLogging, value); err != nil { return err } + default: _, _ = key, value @@ -33837,14 +35293,17 @@ func awsRestjson1_deserializeDocumentAwsEksClusterResourcesVpcConfigDetails(v ** } sv.EndpointPublicAccess = ptr.Bool(jtv) } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -33884,6 +35343,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.ApplicationName = ptr.String(jtv) } + case "Cname": if value != nil { jtv, ok := value.(string) @@ -33892,6 +35352,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Cname = ptr.String(jtv) } + case "DateCreated": if value != nil { jtv, ok := value.(string) @@ -33900,6 +35361,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.DateCreated = ptr.String(jtv) } + case "DateUpdated": if value != nil { jtv, ok := value.(string) @@ -33908,6 +35370,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.DateUpdated = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -33916,6 +35379,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Description = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -33924,6 +35388,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EndpointUrl = ptr.String(jtv) } + case "EnvironmentArn": if value != nil { jtv, ok := value.(string) @@ -33932,6 +35397,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentArn = ptr.String(jtv) } + case "EnvironmentId": if value != nil { jtv, ok := value.(string) @@ -33940,10 +35406,12 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentId = ptr.String(jtv) } + case "EnvironmentLinks": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLinks(&sv.EnvironmentLinks, value); err != nil { return err } + case "EnvironmentName": if value != nil { jtv, ok := value.(string) @@ -33952,10 +35420,12 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.EnvironmentName = ptr.String(jtv) } + case "OptionSettings": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSettings(&sv.OptionSettings, value); err != nil { return err } + case "PlatformArn": if value != nil { jtv, ok := value.(string) @@ -33964,6 +35434,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.PlatformArn = ptr.String(jtv) } + case "SolutionStackName": if value != nil { jtv, ok := value.(string) @@ -33972,6 +35443,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.SolutionStackName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -33980,10 +35452,12 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.Status = ptr.String(jtv) } + case "Tier": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(&sv.Tier, value); err != nil { return err } + case "VersionLabel": if value != nil { jtv, ok := value.(string) @@ -33992,6 +35466,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(v **t } sv.VersionLabel = ptr.String(jtv) } + default: _, _ = key, value @@ -34031,6 +35506,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLi } sv.EnvironmentName = ptr.String(jtv) } + case "LinkName": if value != nil { jtv, ok := value.(string) @@ -34039,6 +35515,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentEnvironmentLi } sv.LinkName = ptr.String(jtv) } + default: _, _ = key, value @@ -34112,6 +35589,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.Namespace = ptr.String(jtv) } + case "OptionName": if value != nil { jtv, ok := value.(string) @@ -34120,6 +35598,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.OptionName = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -34128,6 +35607,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.ResourceName = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -34136,6 +35616,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentOptionSetting } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -34209,6 +35690,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -34217,6 +35699,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Type = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -34225,6 +35708,7 @@ func awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentTier(v **type } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -34264,10 +35748,12 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.AccessPolicies = ptr.String(jtv) } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions(&sv.DomainEndpointOptions, value); err != nil { return err } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -34276,6 +35762,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.DomainId = ptr.String(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -34284,10 +35771,12 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.DomainName = ptr.String(jtv) } + case "ElasticsearchClusterConfig": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterConfigDetails(&sv.ElasticsearchClusterConfig, value); err != nil { return err } + case "ElasticsearchVersion": if value != nil { jtv, ok := value.(string) @@ -34296,10 +35785,12 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.ElasticsearchVersion = ptr.String(jtv) } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptions(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -34308,26 +35799,32 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(v **types.Aws } sv.Endpoint = ptr.String(jtv) } + case "Endpoints": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Endpoints, value); err != nil { return err } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptions(&sv.LogPublishingOptions, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionOptions(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOptions(&sv.ServiceSoftwareOptions, value); err != nil { return err } + case "VPCOptions": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(&sv.VPCOptions, value); err != nil { return err } + default: _, _ = key, value @@ -34367,6 +35864,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions } sv.EnforceHTTPS = ptr.Bool(jtv) } + case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -34375,6 +35873,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions } sv.TLSSecurityPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -34418,6 +35917,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } + case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -34426,6 +35926,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } + case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -34434,6 +35935,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.DedicatedMasterType = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -34446,6 +35948,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -34454,10 +35957,12 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.InstanceType = ptr.String(jtv) } + case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails(&sv.ZoneAwarenessConfig, value); err != nil { return err } + case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -34466,6 +35971,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -34509,6 +36015,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -34548,6 +36055,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptio } sv.Enabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -34556,6 +36064,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptio } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -34591,14 +36100,17 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptions( if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.AuditLogs, value); err != nil { return err } + case "IndexSlowLogs": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.IndexSlowLogs, value); err != nil { return err } + case "SearchSlowLogs": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsLogConfig(&sv.SearchSlowLogs, value); err != nil { return err } + default: _, _ = key, value @@ -34638,6 +36150,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsL } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -34646,6 +36159,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsL } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -34685,6 +36199,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionO } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -34724,6 +36239,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.AutomatedUpdateDate = ptr.String(jtv) } + case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -34732,6 +36248,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.Cancellable = ptr.Bool(jtv) } + case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -34740,6 +36257,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.CurrentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -34748,6 +36266,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.Description = ptr.String(jtv) } + case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -34756,6 +36275,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.NewVersion = ptr.String(jtv) } + case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -34764,6 +36284,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.UpdateAvailable = ptr.Bool(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -34772,6 +36293,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption } sv.UpdateStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -34807,14 +36329,17 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(v **types. if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "SecurityGroupIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } + case "VPCId": if value != nil { jtv, ok := value.(string) @@ -34823,6 +36348,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainVPCOptions(v **types. } sv.VPCId = ptr.String(jtv) } + default: _, _ = key, value @@ -34896,6 +36422,7 @@ func awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicy(v **types.A } sv.CookieName = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -34904,6 +36431,7 @@ func awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicy(v **types.A } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -34981,6 +36509,7 @@ func awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicy(v **types.Aw } sv.CookieExpirationPeriod = ptr.Int64(i64) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -34989,6 +36518,7 @@ func awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicy(v **types.Aw } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -35032,6 +36562,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.EmitInterval = ptr.Int32(int32(i64)) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -35040,6 +36571,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.Enabled = ptr.Bool(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -35048,6 +36580,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.S3BucketName = ptr.String(jtv) } + case "S3BucketPrefix": if value != nil { jtv, ok := value.(string) @@ -35056,6 +36589,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl } sv.S3BucketPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -35095,6 +36629,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttribute(v **t } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -35103,6 +36638,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttribute(v **t } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -35172,22 +36708,27 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAttributes(v **types.AwsE if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(&sv.AccessLog, value); err != nil { return err } + case "AdditionalAttributes": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAdditionalAttributeList(&sv.AdditionalAttributes, value); err != nil { return err } + case "ConnectionDraining": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(&sv.ConnectionDraining, value); err != nil { return err } + case "ConnectionSettings": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionSettings(&sv.ConnectionSettings, value); err != nil { return err } + case "CrossZoneLoadBalancing": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(&sv.CrossZoneLoadBalancing, value); err != nil { return err } + default: _, _ = key, value @@ -35231,10 +36772,12 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerBackendServerDescription( } sv.InstancePort = ptr.Int32(int32(i64)) } + case "PolicyNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.PolicyNames, value); err != nil { return err } + default: _, _ = key, value @@ -35308,6 +36851,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty } sv.Enabled = ptr.Bool(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -35320,6 +36864,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty } sv.Timeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35363,6 +36908,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionSettings(v **ty } sv.IdleTimeout = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35402,6 +36948,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(v } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -35437,10 +36984,12 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "BackendServerDescriptions": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerBackendServerDescriptions(&sv.BackendServerDescriptions, value); err != nil { return err } + case "CanonicalHostedZoneName": if value != nil { jtv, ok := value.(string) @@ -35449,6 +36998,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CanonicalHostedZoneName = ptr.String(jtv) } + case "CanonicalHostedZoneNameID": if value != nil { jtv, ok := value.(string) @@ -35457,6 +37007,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CanonicalHostedZoneNameID = ptr.String(jtv) } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -35465,6 +37016,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.CreatedTime = ptr.String(jtv) } + case "DnsName": if value != nil { jtv, ok := value.(string) @@ -35473,22 +37025,27 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.DnsName = ptr.String(jtv) } + case "HealthCheck": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(&sv.HealthCheck, value); err != nil { return err } + case "Instances": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerInstances(&sv.Instances, value); err != nil { return err } + case "ListenerDescriptions": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerListenerDescriptions(&sv.ListenerDescriptions, value); err != nil { return err } + case "LoadBalancerAttributes": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerAttributes(&sv.LoadBalancerAttributes, value); err != nil { return err } + case "LoadBalancerName": if value != nil { jtv, ok := value.(string) @@ -35497,10 +37054,12 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.LoadBalancerName = ptr.String(jtv) } + case "Policies": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerPolicies(&sv.Policies, value); err != nil { return err } + case "Scheme": if value != nil { jtv, ok := value.(string) @@ -35509,18 +37068,22 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.Scheme = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.SecurityGroups, value); err != nil { return err } + case "SourceSecurityGroup": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(&sv.SourceSecurityGroup, value); err != nil { return err } + case "Subnets": if err := awsRestjson1_deserializeDocumentStringList(&sv.Subnets, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -35529,6 +37092,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(v **types.AwsElbL } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -35572,6 +37136,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.HealthyThreshold = ptr.Int32(int32(i64)) } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -35584,6 +37149,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Interval = ptr.Int32(int32(i64)) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -35592,6 +37158,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Target = ptr.String(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -35604,6 +37171,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.Timeout = ptr.Int32(int32(i64)) } + case "UnhealthyThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -35616,6 +37184,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws } sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -35655,6 +37224,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerInstance(v **types.AwsElb } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -35732,6 +37302,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.InstancePort = ptr.Int32(int32(i64)) } + case "InstanceProtocol": if value != nil { jtv, ok := value.(string) @@ -35740,6 +37311,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.InstanceProtocol = ptr.String(jtv) } + case "LoadBalancerPort": if value != nil { jtv, ok := value.(json.Number) @@ -35752,6 +37324,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.LoadBalancerPort = ptr.Int32(int32(i64)) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -35760,6 +37333,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.Protocol = ptr.String(jtv) } + case "SslCertificateId": if value != nil { jtv, ok := value.(string) @@ -35768,6 +37342,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb } sv.SslCertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -35803,10 +37378,12 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListenerDescription(v **t if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(&sv.Listener, value); err != nil { return err } + case "PolicyNames": if err := awsRestjson1_deserializeDocumentStringList(&sv.PolicyNames, value); err != nil { return err } + default: _, _ = key, value @@ -35876,14 +37453,17 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerPolicies(v **types.AwsElb if err := awsRestjson1_deserializeDocumentAwsElbAppCookieStickinessPolicies(&sv.AppCookieStickinessPolicies, value); err != nil { return err } + case "LbCookieStickinessPolicies": if err := awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicies(&sv.LbCookieStickinessPolicies, value); err != nil { return err } + case "OtherPolicies": if err := awsRestjson1_deserializeDocumentStringList(&sv.OtherPolicies, value); err != nil { return err } + default: _, _ = key, value @@ -35923,6 +37503,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(v **t } sv.GroupName = ptr.String(jtv) } + case "OwnerAlias": if value != nil { jtv, ok := value.(string) @@ -35931,6 +37512,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerSourceSecurityGroup(v **t } sv.OwnerAlias = ptr.String(jtv) } + default: _, _ = key, value @@ -35970,6 +37552,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttribute(v **types.Aws } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -35978,6 +37561,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttribute(v **types.Aws } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -36047,6 +37631,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl if err := awsRestjson1_deserializeDocumentAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } + case "CanonicalHostedZoneId": if value != nil { jtv, ok := value.(string) @@ -36055,6 +37640,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.CanonicalHostedZoneId = ptr.String(jtv) } + case "CreatedTime": if value != nil { jtv, ok := value.(string) @@ -36063,6 +37649,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.CreatedTime = ptr.String(jtv) } + case "DNSName": if value != nil { jtv, ok := value.(string) @@ -36071,6 +37658,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.DNSName = ptr.String(jtv) } + case "IpAddressType": if value != nil { jtv, ok := value.(string) @@ -36079,10 +37667,12 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.IpAddressType = ptr.String(jtv) } + case "LoadBalancerAttributes": if err := awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerAttributes(&sv.LoadBalancerAttributes, value); err != nil { return err } + case "Scheme": if value != nil { jtv, ok := value.(string) @@ -36091,14 +37681,17 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.Scheme = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroups(&sv.SecurityGroups, value); err != nil { return err } + case "State": if err := awsRestjson1_deserializeDocumentLoadBalancerState(&sv.State, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -36107,6 +37700,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.Type = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -36115,6 +37709,7 @@ func awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(v **types.AwsEl } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -36154,6 +37749,7 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.Description = ptr.String(jtv) } + case "RegistryArn": if value != nil { jtv, ok := value.(string) @@ -36162,6 +37758,7 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.RegistryArn = ptr.String(jtv) } + case "RegistryName": if value != nil { jtv, ok := value.(string) @@ -36170,6 +37767,7 @@ func awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(v **types.Aw } sv.RegistryName = ptr.String(jtv) } + default: _, _ = key, value @@ -36209,6 +37807,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36217,6 +37816,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Description = ptr.String(jtv) } + case "EndpointId": if value != nil { jtv, ok := value.(string) @@ -36225,6 +37825,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.EndpointId = ptr.String(jtv) } + case "EndpointUrl": if value != nil { jtv, ok := value.(string) @@ -36233,10 +37834,12 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.EndpointUrl = ptr.String(jtv) } + case "EventBuses": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointEventBusesList(&sv.EventBuses, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36245,10 +37848,12 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.Name = ptr.String(jtv) } + case "ReplicationConfig": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointReplicationConfigDetails(&sv.ReplicationConfig, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -36257,10 +37862,12 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.RoleArn = ptr.String(jtv) } + case "RoutingConfig": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigDetails(&sv.RoutingConfig, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -36269,6 +37876,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.State = ptr.String(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -36277,6 +37885,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(v **types.AwsEvent } sv.StateReason = ptr.String(jtv) } + default: _, _ = key, value @@ -36316,6 +37925,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointEventBusesDetails(v **type } sv.EventBusArn = ptr.String(jtv) } + default: _, _ = key, value @@ -36389,6 +37999,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointReplicationConfigDetails(v } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -36424,6 +38035,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigDetails(v **t if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigDetails(&sv.FailoverConfig, value); err != nil { return err } + default: _, _ = key, value @@ -36459,10 +38071,12 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails(&sv.Primary, value); err != nil { return err } + case "Secondary": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails(&sv.Secondary, value); err != nil { return err } + default: _, _ = key, value @@ -36502,6 +38116,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi } sv.HealthCheck = ptr.String(jtv) } + default: _, _ = key, value @@ -36541,6 +38156,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEndpointRoutingConfigFailoverConfi } sv.Route = ptr.String(jtv) } + default: _, _ = key, value @@ -36580,6 +38196,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36588,6 +38205,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Name = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -36596,6 +38214,7 @@ func awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(v **types.AwsEvent } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -36635,6 +38254,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesCloudTrailDe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -36670,26 +38290,32 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDetails(v ** if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesCloudTrailDetails(&sv.CloudTrail, value); err != nil { return err } + case "DnsLogs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDnsLogsDetails(&sv.DnsLogs, value); err != nil { return err } + case "FlowLogs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesFlowLogsDetails(&sv.FlowLogs, value); err != nil { return err } + case "Kubernetes": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesDetails(&sv.Kubernetes, value); err != nil { return err } + case "MalwareProtection": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionDetails(&sv.MalwareProtection, value); err != nil { return err } + case "S3Logs": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesS3LogsDetails(&sv.S3Logs, value); err != nil { return err } + default: _, _ = key, value @@ -36729,6 +38355,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDnsLogsDetai } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -36768,6 +38395,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesFlowLogsDeta } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -36807,6 +38435,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesAu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -36842,6 +38471,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesDe if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails(&sv.AuditLogs, value); err != nil { return err } + default: _, _ = key, value @@ -36877,6 +38507,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails(&sv.ScanEc2InstanceWithFindings, value); err != nil { return err } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -36885,6 +38516,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.ServiceRole = ptr.String(jtv) } + default: _, _ = key, value @@ -36920,6 +38552,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails(&sv.EbsVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -36959,6 +38592,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.Reason = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -36967,6 +38601,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesMalwareProte } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -37006,6 +38641,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesS3LogsDetail } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -37041,10 +38677,12 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDataSourcesDetails(&sv.DataSources, value); err != nil { return err } + case "Features": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesList(&sv.Features, value); err != nil { return err } + case "FindingPublishingFrequency": if value != nil { jtv, ok := value.(string) @@ -37053,6 +38691,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.FindingPublishingFrequency = ptr.String(jtv) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -37061,6 +38700,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.ServiceRole = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37069,6 +38709,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(v **types.AwsGu } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -37108,6 +38749,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesDetails(v **typ } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37116,6 +38758,7 @@ func awsRestjson1_deserializeDocumentAwsGuardDutyDetectorFeaturesDetails(v **typ } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -37189,6 +38832,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.AccessKeyId = ptr.String(jtv) } + case "AccountId": if value != nil { jtv, ok := value.(string) @@ -37197,6 +38841,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.AccountId = ptr.String(jtv) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -37205,6 +38850,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.CreatedAt = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -37213,6 +38859,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalName": if value != nil { jtv, ok := value.(string) @@ -37221,6 +38868,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalName = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -37229,10 +38877,12 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.PrincipalType = ptr.String(jtv) } + case "SessionContext": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContext(&sv.SessionContext, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -37241,6 +38891,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.Status = types.AwsIamAccessKeyStatus(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -37249,6 +38900,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(v **types.AwsIamAcce } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -37284,10 +38936,12 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContext(v **types.Aws if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(&sv.Attributes, value); err != nil { return err } + case "SessionIssuer": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer(&sv.SessionIssuer, value); err != nil { return err } + default: _, _ = key, value @@ -37327,6 +38981,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(v * } sv.CreationDate = ptr.String(jtv) } + case "MfaAuthenticated": if value != nil { jtv, ok := value.(bool) @@ -37335,6 +38990,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(v * } sv.MfaAuthenticated = ptr.Bool(jtv) } + default: _, _ = key, value @@ -37374,6 +39030,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.AccountId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -37382,6 +39039,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.Arn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -37390,6 +39048,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.PrincipalId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -37398,6 +39057,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.Type = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -37406,6 +39066,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextSessionIssuer( } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -37445,6 +39106,7 @@ func awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicy(v **types.AwsIa } sv.PolicyArn = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -37453,6 +39115,7 @@ func awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicy(v **types.AwsIa } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -37522,6 +39185,7 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -37530,6 +39194,7 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.CreateDate = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -37538,6 +39203,7 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.GroupId = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -37546,10 +39212,12 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.GroupName = ptr.String(jtv) } + case "GroupPolicyList": if err := awsRestjson1_deserializeDocumentAwsIamGroupPolicyList(&sv.GroupPolicyList, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -37558,6 +39226,7 @@ func awsRestjson1_deserializeDocumentAwsIamGroupDetails(v **types.AwsIamGroupDet } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -37597,6 +39266,7 @@ func awsRestjson1_deserializeDocumentAwsIamGroupPolicy(v **types.AwsIamGroupPoli } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -37670,6 +39340,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.Arn = ptr.String(jtv) } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -37678,6 +39349,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.CreateDate = ptr.String(jtv) } + case "InstanceProfileId": if value != nil { jtv, ok := value.(string) @@ -37686,6 +39358,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.InstanceProfileId = ptr.String(jtv) } + case "InstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -37694,6 +39367,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.InstanceProfileName = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -37702,10 +39376,12 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfile(v **types.AwsIamInsta } sv.Path = ptr.String(jtv) } + case "Roles": if err := awsRestjson1_deserializeDocumentAwsIamInstanceProfileRoles(&sv.Roles, value); err != nil { return err } + default: _, _ = key, value @@ -37779,6 +39455,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.Arn = ptr.String(jtv) } + case "AssumeRolePolicyDocument": if value != nil { jtv, ok := value.(string) @@ -37787,6 +39464,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.AssumeRolePolicyDocument = ptr.String(jtv) } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -37795,6 +39473,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.CreateDate = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -37803,6 +39482,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.Path = ptr.String(jtv) } + case "RoleId": if value != nil { jtv, ok := value.(string) @@ -37811,6 +39491,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.RoleId = ptr.String(jtv) } + case "RoleName": if value != nil { jtv, ok := value.(string) @@ -37819,6 +39500,7 @@ func awsRestjson1_deserializeDocumentAwsIamInstanceProfileRole(v **types.AwsIamI } sv.RoleName = ptr.String(jtv) } + default: _, _ = key, value @@ -37892,6 +39574,7 @@ func awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(v **types.AwsIamP } sv.PermissionsBoundaryArn = ptr.String(jtv) } + case "PermissionsBoundaryType": if value != nil { jtv, ok := value.(string) @@ -37900,6 +39583,7 @@ func awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(v **types.AwsIamP } sv.PermissionsBoundaryType = ptr.String(jtv) } + default: _, _ = key, value @@ -37943,6 +39627,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.AttachmentCount = ptr.Int32(int32(i64)) } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -37951,6 +39636,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.CreateDate = ptr.String(jtv) } + case "DefaultVersionId": if value != nil { jtv, ok := value.(string) @@ -37959,6 +39645,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.DefaultVersionId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -37967,6 +39654,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.Description = ptr.String(jtv) } + case "IsAttachable": if value != nil { jtv, ok := value.(bool) @@ -37975,6 +39663,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.IsAttachable = ptr.Bool(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -37983,6 +39672,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.Path = ptr.String(jtv) } + case "PermissionsBoundaryUsageCount": if value != nil { jtv, ok := value.(json.Number) @@ -37995,6 +39685,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PermissionsBoundaryUsageCount = ptr.Int32(int32(i64)) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -38003,6 +39694,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PolicyId = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -38011,10 +39703,12 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.PolicyName = ptr.String(jtv) } + case "PolicyVersionList": if err := awsRestjson1_deserializeDocumentAwsIamPolicyVersionList(&sv.PolicyVersionList, value); err != nil { return err } + case "UpdateDate": if value != nil { jtv, ok := value.(string) @@ -38023,6 +39717,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD } sv.UpdateDate = ptr.String(jtv) } + default: _, _ = key, value @@ -38062,6 +39757,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.CreateDate = ptr.String(jtv) } + case "IsDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -38070,6 +39766,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.IsDefaultVersion = ptr.Bool(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -38078,6 +39775,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -38151,10 +39849,12 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.AssumeRolePolicyDocument = ptr.String(jtv) } + case "AttachedManagedPolicies": if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -38163,10 +39863,12 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.CreateDate = ptr.String(jtv) } + case "InstanceProfileList": if err := awsRestjson1_deserializeDocumentAwsIamInstanceProfileList(&sv.InstanceProfileList, value); err != nil { return err } + case "MaxSessionDuration": if value != nil { jtv, ok := value.(json.Number) @@ -38179,6 +39881,7 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.MaxSessionDuration = ptr.Int32(int32(i64)) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -38187,10 +39890,12 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.Path = ptr.String(jtv) } + case "PermissionsBoundary": if err := awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } + case "RoleId": if value != nil { jtv, ok := value.(string) @@ -38199,6 +39904,7 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.RoleId = ptr.String(jtv) } + case "RoleName": if value != nil { jtv, ok := value.(string) @@ -38207,10 +39913,12 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai } sv.RoleName = ptr.String(jtv) } + case "RolePolicyList": if err := awsRestjson1_deserializeDocumentAwsIamRolePolicyList(&sv.RolePolicyList, value); err != nil { return err } + default: _, _ = key, value @@ -38250,6 +39958,7 @@ func awsRestjson1_deserializeDocumentAwsIamRolePolicy(v **types.AwsIamRolePolicy } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -38319,6 +40028,7 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai if err := awsRestjson1_deserializeDocumentAwsIamAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } + case "CreateDate": if value != nil { jtv, ok := value.(string) @@ -38327,10 +40037,12 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.CreateDate = ptr.String(jtv) } + case "GroupList": if err := awsRestjson1_deserializeDocumentStringList(&sv.GroupList, value); err != nil { return err } + case "Path": if value != nil { jtv, ok := value.(string) @@ -38339,10 +40051,12 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.Path = ptr.String(jtv) } + case "PermissionsBoundary": if err := awsRestjson1_deserializeDocumentAwsIamPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -38351,6 +40065,7 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.UserId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -38359,10 +40074,12 @@ func awsRestjson1_deserializeDocumentAwsIamUserDetails(v **types.AwsIamUserDetai } sv.UserName = ptr.String(jtv) } + case "UserPolicyList": if err := awsRestjson1_deserializeDocumentAwsIamUserPolicyList(&sv.UserPolicyList, value); err != nil { return err } + default: _, _ = key, value @@ -38402,6 +40119,7 @@ func awsRestjson1_deserializeDocumentAwsIamUserPolicy(v **types.AwsIamUserPolicy } sv.PolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -38475,6 +40193,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -38483,6 +40202,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.Name = ptr.String(jtv) } + case "RetentionPeriodHours": if value != nil { jtv, ok := value.(json.Number) @@ -38495,6 +40215,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } + case "ShardCount": if value != nil { jtv, ok := value.(json.Number) @@ -38507,10 +40228,12 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi } sv.ShardCount = ptr.Int32(int32(i64)) } + case "StreamEncryption": if err := awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(&sv.StreamEncryption, value); err != nil { return err } + default: _, _ = key, value @@ -38550,6 +40273,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(v * } sv.EncryptionType = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -38558,6 +40282,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamStreamEncryptionDetails(v * } sv.KeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -38597,6 +40322,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.AWSAccountId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -38630,6 +40356,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -38638,6 +40365,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.Description = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -38646,6 +40374,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyId = ptr.String(jtv) } + case "KeyManager": if value != nil { jtv, ok := value.(string) @@ -38654,6 +40383,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyManager = ptr.String(jtv) } + case "KeyRotationStatus": if value != nil { jtv, ok := value.(bool) @@ -38662,6 +40392,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyRotationStatus = ptr.Bool(jtv) } + case "KeyState": if value != nil { jtv, ok := value.(string) @@ -38670,6 +40401,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.KeyState = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -38678,6 +40410,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails } sv.Origin = ptr.String(jtv) } + default: _, _ = key, value @@ -38717,6 +40450,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3Bucket = ptr.String(jtv) } + case "S3Key": if value != nil { jtv, ok := value.(string) @@ -38725,6 +40459,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3Key = ptr.String(jtv) } + case "S3ObjectVersion": if value != nil { jtv, ok := value.(string) @@ -38733,6 +40468,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.S3ObjectVersion = ptr.String(jtv) } + case "ZipFile": if value != nil { jtv, ok := value.(string) @@ -38741,6 +40477,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(v **types.AwsLambdaFu } sv.ZipFile = ptr.String(jtv) } + default: _, _ = key, value @@ -38780,6 +40517,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDeadLetterConfig(v **types } sv.TargetArn = ptr.String(jtv) } + default: _, _ = key, value @@ -38815,10 +40553,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Architectures, value); err != nil { return err } + case "Code": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionCode(&sv.Code, value); err != nil { return err } + case "CodeSha256": if value != nil { jtv, ok := value.(string) @@ -38827,14 +40567,17 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.CodeSha256 = ptr.String(jtv) } + case "DeadLetterConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDeadLetterConfig(&sv.DeadLetterConfig, value); err != nil { return err } + case "Environment": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironment(&sv.Environment, value); err != nil { return err } + case "FunctionName": if value != nil { jtv, ok := value.(string) @@ -38843,6 +40586,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.FunctionName = ptr.String(jtv) } + case "Handler": if value != nil { jtv, ok := value.(string) @@ -38851,6 +40595,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Handler = ptr.String(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -38859,6 +40604,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.KmsKeyArn = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -38867,10 +40613,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.LastModified = ptr.String(jtv) } + case "Layers": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionLayerList(&sv.Layers, value); err != nil { return err } + case "MasterArn": if value != nil { jtv, ok := value.(string) @@ -38879,6 +40627,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.MasterArn = ptr.String(jtv) } + case "MemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -38891,6 +40640,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.MemorySize = ptr.Int32(int32(i64)) } + case "PackageType": if value != nil { jtv, ok := value.(string) @@ -38899,6 +40649,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.PackageType = ptr.String(jtv) } + case "RevisionId": if value != nil { jtv, ok := value.(string) @@ -38907,6 +40658,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.RevisionId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -38915,6 +40667,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Role = ptr.String(jtv) } + case "Runtime": if value != nil { jtv, ok := value.(string) @@ -38923,6 +40676,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Runtime = ptr.String(jtv) } + case "Timeout": if value != nil { jtv, ok := value.(json.Number) @@ -38935,10 +40689,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Timeout = ptr.Int32(int32(i64)) } + case "TracingConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionTracingConfig(&sv.TracingConfig, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(string) @@ -38947,10 +40703,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd } sv.Version = ptr.String(jtv) } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -38986,10 +40744,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironment(v **types.AwsL if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(&sv.Error, value); err != nil { return err } + case "Variables": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -39029,6 +40789,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(v **types } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -39037,6 +40798,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionEnvironmentError(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39076,6 +40838,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionLayer(v **types.AwsLambdaF } sv.Arn = ptr.String(jtv) } + case "CodeSize": if value != nil { jtv, ok := value.(json.Number) @@ -39088,6 +40851,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionLayer(v **types.AwsLambdaF } sv.CodeSize = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39161,6 +40925,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionTracingConfig(v **types.Aw } sv.Mode = ptr.String(jtv) } + default: _, _ = key, value @@ -39196,10 +40961,12 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(v **types.AwsLam if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -39208,6 +40975,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionVpcConfig(v **types.AwsLam } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -39243,6 +41011,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.CompatibleRuntimes, value); err != nil { return err } + case "CreatedDate": if value != nil { jtv, ok := value.(string) @@ -39251,6 +41020,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL } sv.CreatedDate = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -39263,6 +41033,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL } sv.Version = ptr.Int64(i64) } + default: _, _ = key, value @@ -39302,6 +41073,7 @@ func awsRestjson1_deserializeDocumentAwsMountPoint(v **types.AwsMountPoint, valu } sv.ContainerPath = ptr.String(jtv) } + case "SourceVolume": if value != nil { jtv, ok := value.(string) @@ -39310,6 +41082,7 @@ func awsRestjson1_deserializeDocumentAwsMountPoint(v **types.AwsMountPoint, valu } sv.SourceVolume = ptr.String(jtv) } + default: _, _ = key, value @@ -39379,14 +41152,17 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslDetails(&sv.Sasl, value); err != nil { return err } + case "Tls": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationTlsDetails(&sv.Tls, value); err != nil { return err } + case "Unauthenticated": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails(&sv.Unauthenticated, value); err != nil { return err } + default: _, _ = key, value @@ -39422,10 +41198,12 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslIamDetails(&sv.Iam, value); err != nil { return err } + case "Scram": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationSaslScramDetails(&sv.Scram, value); err != nil { return err } + default: _, _ = key, value @@ -39465,6 +41243,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -39504,6 +41283,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -39539,6 +41319,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if err := awsRestjson1_deserializeDocumentStringList(&sv.CertificateAuthorityArnList, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -39547,6 +41328,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -39586,6 +41368,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -39621,6 +41404,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticationDetails(&sv.ClientAuthentication, value); err != nil { return err } + case "ClusterName": if value != nil { jtv, ok := value.(string) @@ -39629,6 +41413,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.ClusterName = ptr.String(jtv) } + case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -39637,10 +41422,12 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.CurrentVersion = ptr.String(jtv) } + case "EncryptionInfo": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoDetails(&sv.EncryptionInfo, value); err != nil { return err } + case "EnhancedMonitoring": if value != nil { jtv, ok := value.(string) @@ -39649,6 +41436,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.EnhancedMonitoring = ptr.String(jtv) } + case "NumberOfBrokerNodes": if value != nil { jtv, ok := value.(json.Number) @@ -39661,6 +41449,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A } sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -39696,10 +41485,12 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoDetai if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails(&sv.EncryptionAtRest, value); err != nil { return err } + case "EncryptionInTransit": if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncryptionInTransitDetails(&sv.EncryptionInTransit, value); err != nil { return err } + default: _, _ = key, value @@ -39739,6 +41530,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.DataVolumeKMSKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -39778,6 +41570,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.ClientBroker = ptr.String(jtv) } + case "InCluster": if value != nil { jtv, ok := value.(bool) @@ -39786,6 +41579,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry } sv.InCluster = ptr.Bool(jtv) } + default: _, _ = key, value @@ -39821,6 +41615,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterDetails(v **types.AwsMskCluste if err := awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(&sv.ClusterInfo, value); err != nil { return err } + default: _, _ = key, value @@ -39860,6 +41655,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.DeleteProtection = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -39868,6 +41664,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.Description = ptr.String(jtv) } + case "FirewallArn": if value != nil { jtv, ok := value.(string) @@ -39876,6 +41673,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallArn = ptr.String(jtv) } + case "FirewallId": if value != nil { jtv, ok := value.(string) @@ -39884,6 +41682,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallId = ptr.String(jtv) } + case "FirewallName": if value != nil { jtv, ok := value.(string) @@ -39892,6 +41691,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallName = ptr.String(jtv) } + case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -39900,6 +41700,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallPolicyArn = ptr.String(jtv) } + case "FirewallPolicyChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -39908,6 +41709,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.FirewallPolicyChangeProtection = ptr.Bool(jtv) } + case "SubnetChangeProtection": if value != nil { jtv, ok := value.(bool) @@ -39916,10 +41718,12 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.SubnetChangeProtection = ptr.Bool(jtv) } + case "SubnetMappings": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallSubnetMappingsList(&sv.SubnetMappings, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -39928,6 +41732,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -39967,10 +41772,12 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.Description = ptr.String(jtv) } + case "FirewallPolicy": if err := awsRestjson1_deserializeDocumentFirewallPolicyDetails(&sv.FirewallPolicy, value); err != nil { return err } + case "FirewallPolicyArn": if value != nil { jtv, ok := value.(string) @@ -39979,6 +41786,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyArn = ptr.String(jtv) } + case "FirewallPolicyId": if value != nil { jtv, ok := value.(string) @@ -39987,6 +41795,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyId = ptr.String(jtv) } + case "FirewallPolicyName": if value != nil { jtv, ok := value.(string) @@ -39995,6 +41804,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(v * } sv.FirewallPolicyName = ptr.String(jtv) } + default: _, _ = key, value @@ -40034,6 +41844,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallSubnetMappingsDet } sv.SubnetId = ptr.String(jtv) } + default: _, _ = key, value @@ -40111,6 +41922,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Capacity = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -40119,10 +41931,12 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Description = ptr.String(jtv) } + case "RuleGroup": if err := awsRestjson1_deserializeDocumentRuleGroupDetails(&sv.RuleGroup, value); err != nil { return err } + case "RuleGroupArn": if value != nil { jtv, ok := value.(string) @@ -40131,6 +41945,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupArn = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -40139,6 +41954,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupId = ptr.String(jtv) } + case "RuleGroupName": if value != nil { jtv, ok := value.(string) @@ -40147,6 +41963,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.RuleGroupName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -40155,6 +41972,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -40194,6 +42012,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO } sv.Enabled = ptr.Bool(jtv) } + case "InternalUserDatabaseEnabled": if value != nil { jtv, ok := value.(bool) @@ -40202,10 +42021,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO } sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } + case "MasterUserOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptionsDetails(&sv.MasterUserOptions, value); err != nil { return err } + default: _, _ = key, value @@ -40249,6 +42070,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } + case "DedicatedMasterEnabled": if value != nil { jtv, ok := value.(bool) @@ -40257,6 +42079,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterEnabled = ptr.Bool(jtv) } + case "DedicatedMasterType": if value != nil { jtv, ok := value.(string) @@ -40265,6 +42088,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.DedicatedMasterType = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -40277,6 +42101,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -40285,6 +42110,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.InstanceType = ptr.String(jtv) } + case "WarmCount": if value != nil { jtv, ok := value.(json.Number) @@ -40297,6 +42123,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmCount = ptr.Int32(int32(i64)) } + case "WarmEnabled": if value != nil { jtv, ok := value.(bool) @@ -40305,6 +42132,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmEnabled = ptr.Bool(jtv) } + case "WarmType": if value != nil { jtv, ok := value.(string) @@ -40313,10 +42141,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.WarmType = ptr.String(jtv) } + case "ZoneAwarenessConfig": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails(&sv.ZoneAwarenessConfig, value); err != nil { return err } + case "ZoneAwarenessEnabled": if value != nil { jtv, ok := value.(bool) @@ -40325,6 +42155,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta } sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -40368,6 +42199,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigZone } sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -40407,10 +42239,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.AccessPolicies = ptr.String(jtv) } + case "AdvancedSecurityOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails(&sv.AdvancedSecurityOptions, value); err != nil { return err } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -40419,10 +42253,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.Arn = ptr.String(jtv) } + case "ClusterConfig": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDetails(&sv.ClusterConfig, value); err != nil { return err } + case "DomainEndpoint": if value != nil { jtv, ok := value.(string) @@ -40431,14 +42267,17 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.DomainEndpoint = ptr.String(jtv) } + case "DomainEndpointOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOptionsDetails(&sv.DomainEndpointOptions, value); err != nil { return err } + case "DomainEndpoints": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.DomainEndpoints, value); err != nil { return err } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -40447,10 +42286,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.DomainName = ptr.String(jtv) } + case "EncryptionAtRestOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails(&sv.EncryptionAtRestOptions, value); err != nil { return err } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -40459,6 +42300,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.EngineVersion = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -40467,22 +42309,27 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(v **types } sv.Id = ptr.String(jtv) } + case "LogPublishingOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOptionsDetails(&sv.LogPublishingOptions, value); err != nil { return err } + case "NodeToNodeEncryptionOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails(&sv.NodeToNodeEncryptionOptions, value); err != nil { return err } + case "ServiceSoftwareOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOptionsDetails(&sv.ServiceSoftwareOptions, value); err != nil { return err } + case "VpcOptions": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainVpcOptionsDetails(&sv.VpcOptions, value); err != nil { return err } + default: _, _ = key, value @@ -40522,6 +42369,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpoint = ptr.String(jtv) } + case "CustomEndpointCertificateArn": if value != nil { jtv, ok := value.(string) @@ -40530,6 +42378,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpointCertificateArn = ptr.String(jtv) } + case "CustomEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -40538,6 +42387,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.CustomEndpointEnabled = ptr.Bool(jtv) } + case "EnforceHTTPS": if value != nil { jtv, ok := value.(bool) @@ -40546,6 +42396,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.EnforceHTTPS = ptr.Bool(jtv) } + case "TLSSecurityPolicy": if value != nil { jtv, ok := value.(string) @@ -40554,6 +42405,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt } sv.TLSSecurityPolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -40593,6 +42445,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestO } sv.Enabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -40601,6 +42454,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestO } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -40640,6 +42494,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -40648,6 +42503,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -40683,14 +42539,17 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.AuditLogs, value); err != nil { return err } + case "IndexSlowLogs": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.IndexSlowLogs, value); err != nil { return err } + case "SearchSlowLogs": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOption(&sv.SearchSlowLogs, value); err != nil { return err } + default: _, _ = key, value @@ -40730,6 +42589,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserArn = ptr.String(jtv) } + case "MasterUserName": if value != nil { jtv, ok := value.(string) @@ -40738,6 +42598,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserName = ptr.String(jtv) } + case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -40746,6 +42607,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainMasterUserOptions } sv.MasterUserPassword = ptr.String(jtv) } + default: _, _ = key, value @@ -40785,6 +42647,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncrypt } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -40824,6 +42687,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.AutomatedUpdateDate = ptr.String(jtv) } + case "Cancellable": if value != nil { jtv, ok := value.(bool) @@ -40832,6 +42696,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.Cancellable = ptr.Bool(jtv) } + case "CurrentVersion": if value != nil { jtv, ok := value.(string) @@ -40840,6 +42705,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.CurrentVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -40848,6 +42714,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.Description = ptr.String(jtv) } + case "NewVersion": if value != nil { jtv, ok := value.(string) @@ -40856,6 +42723,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.NewVersion = ptr.String(jtv) } + case "OptionalDeployment": if value != nil { jtv, ok := value.(bool) @@ -40864,6 +42732,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.OptionalDeployment = ptr.Bool(jtv) } + case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -40872,6 +42741,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.UpdateAvailable = ptr.Bool(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -40880,6 +42750,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp } sv.UpdateStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -40915,10 +42786,12 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainVpcOptionsDetails if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -40958,6 +42831,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRole(v **types.Aws } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -40966,6 +42840,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRole(v **types.Aws } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -41039,6 +42914,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ActivityStreamStatus = ptr.String(jtv) } + case "AllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -41051,10 +42927,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "AssociatedRoles": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterAssociatedRoles(&sv.AssociatedRoles, value); err != nil { return err } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -41063,10 +42941,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -41079,6 +42959,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } + case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -41087,6 +42968,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ClusterCreateTime = ptr.String(jtv) } + case "CopyTagsToSnapshot": if value != nil { jtv, ok := value.(bool) @@ -41095,6 +42977,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.CopyTagsToSnapshot = ptr.Bool(jtv) } + case "CrossAccountClone": if value != nil { jtv, ok := value.(bool) @@ -41103,10 +42986,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.CrossAccountClone = ptr.Bool(jtv) } + case "CustomEndpoints": if err := awsRestjson1_deserializeDocumentStringList(&sv.CustomEndpoints, value); err != nil { return err } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -41115,6 +43000,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DatabaseName = ptr.String(jtv) } + case "DbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -41123,14 +43009,17 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterIdentifier = ptr.String(jtv) } + case "DbClusterMembers": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterMembers(&sv.DbClusterMembers, value); err != nil { return err } + case "DbClusterOptionGroupMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMemberships(&sv.DbClusterOptionGroupMemberships, value); err != nil { return err } + case "DbClusterParameterGroup": if value != nil { jtv, ok := value.(string) @@ -41139,6 +43028,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterParameterGroup = ptr.String(jtv) } + case "DbClusterResourceId": if value != nil { jtv, ok := value.(string) @@ -41147,6 +43037,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbClusterResourceId = ptr.String(jtv) } + case "DbSubnetGroup": if value != nil { jtv, ok := value.(string) @@ -41155,6 +43046,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DbSubnetGroup = ptr.String(jtv) } + case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -41163,14 +43055,17 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.DeletionProtection = ptr.Bool(jtv) } + case "DomainMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbDomainMemberships(&sv.DomainMemberships, value); err != nil { return err } + case "EnabledCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentStringList(&sv.EnabledCloudWatchLogsExports, value); err != nil { return err } + case "Endpoint": if value != nil { jtv, ok := value.(string) @@ -41179,6 +43074,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Endpoint = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -41187,6 +43083,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Engine = ptr.String(jtv) } + case "EngineMode": if value != nil { jtv, ok := value.(string) @@ -41195,6 +43092,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.EngineMode = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -41203,6 +43101,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.EngineVersion = ptr.String(jtv) } + case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -41211,6 +43110,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.HostedZoneId = ptr.String(jtv) } + case "HttpEndpointEnabled": if value != nil { jtv, ok := value.(bool) @@ -41219,6 +43119,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.HttpEndpointEnabled = ptr.Bool(jtv) } + case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -41227,6 +43128,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -41235,6 +43137,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.KmsKeyId = ptr.String(jtv) } + case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -41243,6 +43146,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.MasterUsername = ptr.String(jtv) } + case "MultiAz": if value != nil { jtv, ok := value.(bool) @@ -41251,6 +43155,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.MultiAz = ptr.Bool(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -41263,6 +43168,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Port = ptr.Int32(int32(i64)) } + case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -41271,6 +43177,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.PreferredBackupWindow = ptr.String(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -41279,6 +43186,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "ReaderEndpoint": if value != nil { jtv, ok := value.(string) @@ -41287,10 +43195,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.ReaderEndpoint = ptr.String(jtv) } + case "ReadReplicaIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaIdentifiers, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41299,6 +43209,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.Status = ptr.String(jtv) } + case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -41307,10 +43218,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl } sv.StorageEncrypted = ptr.Bool(jtv) } + case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -41350,6 +43263,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.DbClusterParameterGroupStatus = ptr.String(jtv) } + case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -41358,6 +43272,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.DbInstanceIdentifier = ptr.String(jtv) } + case "IsClusterWriter": if value != nil { jtv, ok := value.(bool) @@ -41366,6 +43281,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.IsClusterWriter = ptr.Bool(jtv) } + case "PromotionTier": if value != nil { jtv, ok := value.(json.Number) @@ -41378,6 +43294,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu } sv.PromotionTier = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -41451,6 +43368,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMembership(v **ty } sv.DbClusterOptionGroupName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41459,6 +43377,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterOptionGroupMembership(v **ty } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -41532,10 +43451,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDbClusterSnapshotAtt } sv.AttributeName = ptr.String(jtv) } + case "AttributeValues": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AttributeValues, value); err != nil { return err } + default: _, _ = key, value @@ -41613,10 +43534,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentStringList(&sv.AvailabilityZones, value); err != nil { return err } + case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -41625,6 +43548,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.ClusterCreateTime = ptr.String(jtv) } + case "DbClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -41633,10 +43557,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.DbClusterIdentifier = ptr.String(jtv) } + case "DbClusterSnapshotAttributes": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDbClusterSnapshotAttributes(&sv.DbClusterSnapshotAttributes, value); err != nil { return err } + case "DbClusterSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -41645,6 +43571,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.DbClusterSnapshotIdentifier = ptr.String(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -41653,6 +43580,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Engine = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -41661,6 +43589,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.EngineVersion = ptr.String(jtv) } + case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -41669,6 +43598,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -41677,6 +43607,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.KmsKeyId = ptr.String(jtv) } + case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -41685,6 +43616,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.LicenseModel = ptr.String(jtv) } + case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -41693,6 +43625,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.MasterUsername = ptr.String(jtv) } + case "PercentProgress": if value != nil { jtv, ok := value.(json.Number) @@ -41705,6 +43638,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.PercentProgress = ptr.Int32(int32(i64)) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -41717,6 +43651,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Port = ptr.Int32(int32(i64)) } + case "SnapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -41725,6 +43660,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.SnapshotCreateTime = ptr.String(jtv) } + case "SnapshotType": if value != nil { jtv, ok := value.(string) @@ -41733,6 +43669,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.SnapshotType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41741,6 +43678,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.Status = ptr.String(jtv) } + case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -41749,6 +43687,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.StorageEncrypted = ptr.Bool(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -41757,6 +43696,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -41796,6 +43736,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Domain = ptr.String(jtv) } + case "Fqdn": if value != nil { jtv, ok := value.(string) @@ -41804,6 +43745,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Fqdn = ptr.String(jtv) } + case "IamRoleName": if value != nil { jtv, ok := value.(string) @@ -41812,6 +43754,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.IamRoleName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41820,6 +43763,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbDomainMembership(v **types.AwsRdsDb } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -41893,6 +43837,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.FeatureName = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -41901,6 +43846,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.RoleArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -41909,6 +43855,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRole(v **types.Aw } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -41986,10 +43933,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "AssociatedRoles": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceAssociatedRoles(&sv.AssociatedRoles, value); err != nil { return err } + case "AutoMinorVersionUpgrade": if value != nil { jtv, ok := value.(bool) @@ -41998,6 +43947,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -42006,6 +43956,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.AvailabilityZone = ptr.String(jtv) } + case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -42018,6 +43969,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } + case "CACertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -42026,6 +43978,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CACertificateIdentifier = ptr.String(jtv) } + case "CharacterSetName": if value != nil { jtv, ok := value.(string) @@ -42034,6 +43987,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CharacterSetName = ptr.String(jtv) } + case "CopyTagsToSnapshot": if value != nil { jtv, ok := value.(bool) @@ -42042,6 +43996,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.CopyTagsToSnapshot = ptr.Bool(jtv) } + case "DBClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -42050,6 +44005,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBClusterIdentifier = ptr.String(jtv) } + case "DBInstanceClass": if value != nil { jtv, ok := value.(string) @@ -42058,6 +44014,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBInstanceClass = ptr.String(jtv) } + case "DBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -42066,6 +44023,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBInstanceIdentifier = ptr.String(jtv) } + case "DbInstancePort": if value != nil { jtv, ok := value.(json.Number) @@ -42078,6 +44036,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbInstancePort = ptr.Int32(int32(i64)) } + case "DbInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -42086,6 +44045,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbInstanceStatus = ptr.String(jtv) } + case "DbiResourceId": if value != nil { jtv, ok := value.(string) @@ -42094,6 +44054,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DbiResourceId = ptr.String(jtv) } + case "DBName": if value != nil { jtv, ok := value.(string) @@ -42102,18 +44063,22 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DBName = ptr.String(jtv) } + case "DbParameterGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbParameterGroups(&sv.DbParameterGroups, value); err != nil { return err } + case "DbSecurityGroups": if err := awsRestjson1_deserializeDocumentStringList(&sv.DbSecurityGroups, value); err != nil { return err } + case "DbSubnetGroup": if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(&sv.DbSubnetGroup, value); err != nil { return err } + case "DeletionProtection": if value != nil { jtv, ok := value.(bool) @@ -42122,18 +44087,22 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.DeletionProtection = ptr.Bool(jtv) } + case "DomainMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbDomainMemberships(&sv.DomainMemberships, value); err != nil { return err } + case "EnabledCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentStringList(&sv.EnabledCloudWatchLogsExports, value); err != nil { return err } + case "Endpoint": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(&sv.Endpoint, value); err != nil { return err } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -42142,6 +44111,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Engine = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -42150,6 +44120,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.EngineVersion = ptr.String(jtv) } + case "EnhancedMonitoringResourceArn": if value != nil { jtv, ok := value.(string) @@ -42158,6 +44129,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.EnhancedMonitoringResourceArn = ptr.String(jtv) } + case "IAMDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -42166,6 +44138,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(jtv) } + case "InstanceCreateTime": if value != nil { jtv, ok := value.(string) @@ -42174,6 +44147,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.InstanceCreateTime = ptr.String(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -42186,6 +44160,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Iops = ptr.Int32(int32(i64)) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -42194,6 +44169,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.KmsKeyId = ptr.String(jtv) } + case "LatestRestorableTime": if value != nil { jtv, ok := value.(string) @@ -42202,6 +44178,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.LatestRestorableTime = ptr.String(jtv) } + case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -42210,10 +44187,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.LicenseModel = ptr.String(jtv) } + case "ListenerEndpoint": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(&sv.ListenerEndpoint, value); err != nil { return err } + case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -42222,6 +44201,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MasterUsername = ptr.String(jtv) } + case "MaxAllocatedStorage": if value != nil { jtv, ok := value.(json.Number) @@ -42234,6 +44214,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MaxAllocatedStorage = ptr.Int32(int32(i64)) } + case "MonitoringInterval": if value != nil { jtv, ok := value.(json.Number) @@ -42246,6 +44227,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MonitoringInterval = ptr.Int32(int32(i64)) } + case "MonitoringRoleArn": if value != nil { jtv, ok := value.(string) @@ -42254,6 +44236,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MonitoringRoleArn = ptr.String(jtv) } + case "MultiAz": if value != nil { jtv, ok := value.(bool) @@ -42262,14 +44245,17 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.MultiAz = ptr.Bool(jtv) } + case "OptionGroupMemberships": if err := awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMemberships(&sv.OptionGroupMemberships, value); err != nil { return err } + case "PendingModifiedValues": if err := awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } + case "PerformanceInsightsEnabled": if value != nil { jtv, ok := value.(bool) @@ -42278,6 +44264,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsEnabled = ptr.Bool(jtv) } + case "PerformanceInsightsKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -42286,6 +44273,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsKmsKeyId = ptr.String(jtv) } + case "PerformanceInsightsRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -42298,6 +44286,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PerformanceInsightsRetentionPeriod = ptr.Int32(int32(i64)) } + case "PreferredBackupWindow": if value != nil { jtv, ok := value.(string) @@ -42306,6 +44295,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PreferredBackupWindow = ptr.String(jtv) } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -42314,10 +44304,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } + case "PromotionTier": if value != nil { jtv, ok := value.(json.Number) @@ -42330,6 +44322,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PromotionTier = ptr.Int32(int32(i64)) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -42338,14 +44331,17 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "ReadReplicaDBClusterIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaDBClusterIdentifiers, value); err != nil { return err } + case "ReadReplicaDBInstanceIdentifiers": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReadReplicaDBInstanceIdentifiers, value); err != nil { return err } + case "ReadReplicaSourceDBInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -42354,6 +44350,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.ReadReplicaSourceDBInstanceIdentifier = ptr.String(jtv) } + case "SecondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -42362,10 +44359,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "StatusInfos": if err := awsRestjson1_deserializeDocumentAwsRdsDbStatusInfos(&sv.StatusInfos, value); err != nil { return err } + case "StorageEncrypted": if value != nil { jtv, ok := value.(bool) @@ -42374,6 +44373,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.StorageEncrypted = ptr.Bool(jtv) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -42382,6 +44382,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.StorageType = ptr.String(jtv) } + case "TdeCredentialArn": if value != nil { jtv, ok := value.(string) @@ -42390,6 +44391,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.TdeCredentialArn = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -42398,10 +44400,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI } sv.Timezone = ptr.String(jtv) } + case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -42441,6 +44445,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.Address = ptr.String(jtv) } + case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -42449,6 +44454,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.HostedZoneId = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -42461,6 +44467,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -42500,6 +44507,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroup(v **types. } sv.Status = ptr.String(jtv) } + case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -42508,6 +44516,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceVpcSecurityGroup(v **types. } sv.VpcSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -42581,6 +44590,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMembership(v **types.Aws } sv.OptionGroupName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -42589,6 +44599,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbOptionGroupMembership(v **types.Aws } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -42662,6 +44673,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbParameterGroup(v **types.AwsRdsDbPa } sv.DbParameterGroupName = ptr.String(jtv) } + case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -42670,6 +44682,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbParameterGroup(v **types.AwsRdsDbPa } sv.ParameterApplyStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -42747,6 +44760,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "BackupRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -42759,6 +44773,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } + case "CaCertificateIdentifier": if value != nil { jtv, ok := value.(string) @@ -42767,6 +44782,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.CaCertificateIdentifier = ptr.String(jtv) } + case "DbInstanceClass": if value != nil { jtv, ok := value.(string) @@ -42775,6 +44791,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbInstanceClass = ptr.String(jtv) } + case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -42783,6 +44800,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbInstanceIdentifier = ptr.String(jtv) } + case "DbSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -42791,6 +44809,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.DbSubnetGroupName = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -42799,6 +44818,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.EngineVersion = ptr.String(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -42811,6 +44831,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.Iops = ptr.Int32(int32(i64)) } + case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -42819,6 +44840,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.LicenseModel = ptr.String(jtv) } + case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -42827,6 +44849,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.MasterUserPassword = ptr.String(jtv) } + case "MultiAZ": if value != nil { jtv, ok := value.(bool) @@ -42835,10 +44858,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.MultiAZ = ptr.Bool(jtv) } + case "PendingCloudWatchLogsExports": if err := awsRestjson1_deserializeDocumentAwsRdsPendingCloudWatchLogsExports(&sv.PendingCloudWatchLogsExports, value); err != nil { return err } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -42851,10 +44876,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.Port = ptr.Int32(int32(i64)) } + case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -42863,6 +44890,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws } sv.StorageType = ptr.String(jtv) } + default: _, _ = key, value @@ -42902,6 +44930,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeature(v **types.AwsRdsDb } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -42910,6 +44939,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeature(v **types.AwsRdsDb } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -42983,6 +45013,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupArn = ptr.String(jtv) } + case "DbSecurityGroupDescription": if value != nil { jtv, ok := value.(string) @@ -42991,6 +45022,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupDescription = ptr.String(jtv) } + case "DbSecurityGroupName": if value != nil { jtv, ok := value.(string) @@ -42999,14 +45031,17 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.DbSecurityGroupName = ptr.String(jtv) } + case "Ec2SecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroups(&sv.Ec2SecurityGroups, value); err != nil { return err } + case "IpRanges": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRanges(&sv.IpRanges, value); err != nil { return err } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -43015,6 +45050,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.OwnerId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -43023,6 +45059,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(v **types.AwsR } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -43062,6 +45099,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupId = ptr.String(jtv) } + case "Ec2SecurityGroupName": if value != nil { jtv, ok := value.(string) @@ -43070,6 +45108,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupName = ptr.String(jtv) } + case "Ec2SecurityGroupOwnerId": if value != nil { jtv, ok := value.(string) @@ -43078,6 +45117,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Ec2SecurityGroupOwnerId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43086,6 +45126,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupEc2SecurityGroup(v **t } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -43159,6 +45200,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRange(v **types.AwsR } sv.CidrIp = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43167,6 +45209,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupIpRange(v **types.AwsR } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -43244,6 +45287,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -43252,6 +45296,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.AvailabilityZone = ptr.String(jtv) } + case "DbInstanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -43260,6 +45305,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbInstanceIdentifier = ptr.String(jtv) } + case "DbiResourceId": if value != nil { jtv, ok := value.(string) @@ -43268,6 +45314,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbiResourceId = ptr.String(jtv) } + case "DbSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -43276,6 +45323,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.DbSnapshotIdentifier = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -43284,6 +45332,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Encrypted = ptr.Bool(jtv) } + case "Engine": if value != nil { jtv, ok := value.(string) @@ -43292,6 +45341,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Engine = ptr.String(jtv) } + case "EngineVersion": if value != nil { jtv, ok := value.(string) @@ -43300,6 +45350,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.EngineVersion = ptr.String(jtv) } + case "IamDatabaseAuthenticationEnabled": if value != nil { jtv, ok := value.(bool) @@ -43308,6 +45359,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } + case "InstanceCreateTime": if value != nil { jtv, ok := value.(string) @@ -43316,6 +45368,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.InstanceCreateTime = ptr.String(jtv) } + case "Iops": if value != nil { jtv, ok := value.(json.Number) @@ -43328,6 +45381,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Iops = ptr.Int32(int32(i64)) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -43336,6 +45390,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.KmsKeyId = ptr.String(jtv) } + case "LicenseModel": if value != nil { jtv, ok := value.(string) @@ -43344,6 +45399,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.LicenseModel = ptr.String(jtv) } + case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -43352,6 +45408,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.MasterUsername = ptr.String(jtv) } + case "OptionGroupName": if value != nil { jtv, ok := value.(string) @@ -43360,6 +45417,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.OptionGroupName = ptr.String(jtv) } + case "PercentProgress": if value != nil { jtv, ok := value.(json.Number) @@ -43372,6 +45430,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.PercentProgress = ptr.Int32(int32(i64)) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -43384,10 +45443,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Port = ptr.Int32(int32(i64)) } + case "ProcessorFeatures": if err := awsRestjson1_deserializeDocumentAwsRdsDbProcessorFeatures(&sv.ProcessorFeatures, value); err != nil { return err } + case "SnapshotCreateTime": if value != nil { jtv, ok := value.(string) @@ -43396,6 +45457,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SnapshotCreateTime = ptr.String(jtv) } + case "SnapshotType": if value != nil { jtv, ok := value.(string) @@ -43404,6 +45466,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SnapshotType = ptr.String(jtv) } + case "SourceDbSnapshotIdentifier": if value != nil { jtv, ok := value.(string) @@ -43412,6 +45475,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SourceDbSnapshotIdentifier = ptr.String(jtv) } + case "SourceRegion": if value != nil { jtv, ok := value.(string) @@ -43420,6 +45484,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.SourceRegion = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43428,6 +45493,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Status = ptr.String(jtv) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -43436,6 +45502,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.StorageType = ptr.String(jtv) } + case "TdeCredentialArn": if value != nil { jtv, ok := value.(string) @@ -43444,6 +45511,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.TdeCredentialArn = ptr.String(jtv) } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -43452,6 +45520,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.Timezone = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -43460,6 +45529,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -43499,6 +45569,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Message = ptr.String(jtv) } + case "Normal": if value != nil { jtv, ok := value.(bool) @@ -43507,6 +45578,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Normal = ptr.Bool(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43515,6 +45587,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.Status = ptr.String(jtv) } + case "StatusType": if value != nil { jtv, ok := value.(string) @@ -43523,6 +45596,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus } sv.StatusType = ptr.String(jtv) } + default: _, _ = key, value @@ -43596,6 +45670,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupArn = ptr.String(jtv) } + case "DbSubnetGroupDescription": if value != nil { jtv, ok := value.(string) @@ -43604,6 +45679,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupDescription = ptr.String(jtv) } + case "DbSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -43612,6 +45688,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.DbSubnetGroupName = ptr.String(jtv) } + case "SubnetGroupStatus": if value != nil { jtv, ok := value.(string) @@ -43620,10 +45697,12 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.SubnetGroupStatus = ptr.String(jtv) } + case "Subnets": if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnets(&sv.Subnets, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -43632,6 +45711,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroup(v **types.AwsRdsDbSubne } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -43667,6 +45747,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD if err := awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnetAvailabilityZone(&sv.SubnetAvailabilityZone, value); err != nil { return err } + case "SubnetIdentifier": if value != nil { jtv, ok := value.(string) @@ -43675,6 +45756,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD } sv.SubnetIdentifier = ptr.String(jtv) } + case "SubnetStatus": if value != nil { jtv, ok := value.(string) @@ -43683,6 +45765,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnet(v **types.AwsRdsD } sv.SubnetStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -43722,6 +45805,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSubnetGroupSubnetAvailabilityZone(v } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -43795,6 +45879,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.CustomerAwsId = ptr.String(jtv) } + case "CustSubscriptionId": if value != nil { jtv, ok := value.(string) @@ -43803,6 +45888,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.CustSubscriptionId = ptr.String(jtv) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -43811,10 +45897,12 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.Enabled = ptr.Bool(jtv) } + case "EventCategoriesList": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.EventCategoriesList, value); err != nil { return err } + case "EventSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -43823,6 +45911,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.EventSubscriptionArn = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -43831,10 +45920,12 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SnsTopicArn = ptr.String(jtv) } + case "SourceIdsList": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SourceIdsList, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -43843,6 +45934,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SourceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -43851,6 +45943,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.Status = ptr.String(jtv) } + case "SubscriptionCreationTime": if value != nil { jtv, ok := value.(string) @@ -43859,6 +45952,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw } sv.SubscriptionCreationTime = ptr.String(jtv) } + default: _, _ = key, value @@ -43894,10 +45988,12 @@ func awsRestjson1_deserializeDocumentAwsRdsPendingCloudWatchLogsExports(v **type if err := awsRestjson1_deserializeDocumentStringList(&sv.LogTypesToDisable, value); err != nil { return err } + case "LogTypesToEnable": if err := awsRestjson1_deserializeDocumentStringList(&sv.LogTypesToEnable, value); err != nil { return err } + default: _, _ = key, value @@ -43937,6 +46033,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.NodeRole = ptr.String(jtv) } + case "PrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -43945,6 +46042,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.PrivateIpAddress = ptr.String(jtv) } + case "PublicIpAddress": if value != nil { jtv, ok := value.(string) @@ -43953,6 +46051,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNode(v **types.Aws } sv.PublicIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -44022,6 +46121,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatusList(&sv.ClusterParameterStatusList, value); err != nil { return err } + case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -44030,6 +46130,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * } sv.ParameterApplyStatus = ptr.String(jtv) } + case "ParameterGroupName": if value != nil { jtv, ok := value.(string) @@ -44038,6 +46139,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroup(v * } sv.ParameterGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -44111,6 +46213,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterApplyErrorDescription = ptr.String(jtv) } + case "ParameterApplyStatus": if value != nil { jtv, ok := value.(string) @@ -44119,6 +46222,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterApplyStatus = ptr.String(jtv) } + case "ParameterName": if value != nil { jtv, ok := value.(string) @@ -44127,6 +46231,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterStatus(v } sv.ParameterName = ptr.String(jtv) } + default: _, _ = key, value @@ -44200,6 +46305,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroup(v ** } sv.ClusterSecurityGroupName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44208,6 +46314,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroup(v ** } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -44281,6 +46388,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.DestinationRegion = ptr.String(jtv) } + case "ManualSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44293,6 +46401,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + case "RetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44305,6 +46414,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.RetentionPeriod = ptr.Int32(int32(i64)) } + case "SnapshotCopyGrantName": if value != nil { jtv, ok := value.(string) @@ -44313,6 +46423,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus } sv.SnapshotCopyGrantName = ptr.String(jtv) } + default: _, _ = key, value @@ -44352,6 +46463,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceEndTime = ptr.String(jtv) } + case "DeferMaintenanceIdentifier": if value != nil { jtv, ok := value.(string) @@ -44360,6 +46472,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceIdentifier = ptr.String(jtv) } + case "DeferMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -44368,6 +46481,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindow } sv.DeferMaintenanceStartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -44441,6 +46555,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AllowVersionUpgrade = ptr.Bool(jtv) } + case "AutomatedSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44453,6 +46568,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + case "AvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -44461,6 +46577,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.AvailabilityZone = ptr.String(jtv) } + case "ClusterAvailabilityStatus": if value != nil { jtv, ok := value.(string) @@ -44469,6 +46586,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterAvailabilityStatus = ptr.String(jtv) } + case "ClusterCreateTime": if value != nil { jtv, ok := value.(string) @@ -44477,6 +46595,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterCreateTime = ptr.String(jtv) } + case "ClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -44485,14 +46604,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterIdentifier = ptr.String(jtv) } + case "ClusterNodes": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterNodes(&sv.ClusterNodes, value); err != nil { return err } + case "ClusterParameterGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterParameterGroups(&sv.ClusterParameterGroups, value); err != nil { return err } + case "ClusterPublicKey": if value != nil { jtv, ok := value.(string) @@ -44501,6 +46623,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterPublicKey = ptr.String(jtv) } + case "ClusterRevisionNumber": if value != nil { jtv, ok := value.(string) @@ -44509,14 +46632,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterRevisionNumber = ptr.String(jtv) } + case "ClusterSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSecurityGroups(&sv.ClusterSecurityGroups, value); err != nil { return err } + case "ClusterSnapshotCopyStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus(&sv.ClusterSnapshotCopyStatus, value); err != nil { return err } + case "ClusterStatus": if value != nil { jtv, ok := value.(string) @@ -44525,6 +46651,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterStatus = ptr.String(jtv) } + case "ClusterSubnetGroupName": if value != nil { jtv, ok := value.(string) @@ -44533,6 +46660,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterSubnetGroupName = ptr.String(jtv) } + case "ClusterVersion": if value != nil { jtv, ok := value.(string) @@ -44541,6 +46669,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ClusterVersion = ptr.String(jtv) } + case "DBName": if value != nil { jtv, ok := value.(string) @@ -44549,14 +46678,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.DBName = ptr.String(jtv) } + case "DeferredMaintenanceWindows": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterDeferredMaintenanceWindows(&sv.DeferredMaintenanceWindows, value); err != nil { return err } + case "ElasticIpStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(&sv.ElasticIpStatus, value); err != nil { return err } + case "ElasticResizeNumberOfNodeOptions": if value != nil { jtv, ok := value.(string) @@ -44565,6 +46697,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ElasticResizeNumberOfNodeOptions = ptr.String(jtv) } + case "Encrypted": if value != nil { jtv, ok := value.(bool) @@ -44573,10 +46706,12 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.Encrypted = ptr.Bool(jtv) } + case "Endpoint": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(&sv.Endpoint, value); err != nil { return err } + case "EnhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -44585,6 +46720,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.EnhancedVpcRouting = ptr.Bool(jtv) } + case "ExpectedNextSnapshotScheduleTime": if value != nil { jtv, ok := value.(string) @@ -44593,6 +46729,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ExpectedNextSnapshotScheduleTime = ptr.String(jtv) } + case "ExpectedNextSnapshotScheduleTimeStatus": if value != nil { jtv, ok := value.(string) @@ -44601,14 +46738,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ExpectedNextSnapshotScheduleTimeStatus = ptr.String(jtv) } + case "HsmStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(&sv.HsmStatus, value); err != nil { return err } + case "IamRoles": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRoles(&sv.IamRoles, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -44617,10 +46757,12 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.KmsKeyId = ptr.String(jtv) } + case "LoggingStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(&sv.LoggingStatus, value); err != nil { return err } + case "MaintenanceTrackName": if value != nil { jtv, ok := value.(string) @@ -44629,6 +46771,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.MaintenanceTrackName = ptr.String(jtv) } + case "ManualSnapshotRetentionPeriod": if value != nil { jtv, ok := value.(json.Number) @@ -44641,6 +46784,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + case "MasterUsername": if value != nil { jtv, ok := value.(string) @@ -44649,6 +46793,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.MasterUsername = ptr.String(jtv) } + case "NextMaintenanceWindowStartTime": if value != nil { jtv, ok := value.(string) @@ -44657,6 +46802,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NextMaintenanceWindowStartTime = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -44665,6 +46811,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NodeType = ptr.String(jtv) } + case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -44677,14 +46824,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.NumberOfNodes = ptr.Int32(int32(i64)) } + case "PendingActions": if err := awsRestjson1_deserializeDocumentStringList(&sv.PendingActions, value); err != nil { return err } + case "PendingModifiedValues": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(&sv.PendingModifiedValues, value); err != nil { return err } + case "PreferredMaintenanceWindow": if value != nil { jtv, ok := value.(string) @@ -44693,6 +46843,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.PreferredMaintenanceWindow = ptr.String(jtv) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -44701,14 +46852,17 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "ResizeInfo": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(&sv.ResizeInfo, value); err != nil { return err } + case "RestoreStatus": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(&sv.RestoreStatus, value); err != nil { return err } + case "SnapshotScheduleIdentifier": if value != nil { jtv, ok := value.(string) @@ -44717,6 +46871,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.SnapshotScheduleIdentifier = ptr.String(jtv) } + case "SnapshotScheduleState": if value != nil { jtv, ok := value.(string) @@ -44725,6 +46880,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.SnapshotScheduleState = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -44733,10 +46889,12 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds } sv.VpcId = ptr.String(jtv) } + case "VpcSecurityGroups": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroups(&sv.VpcSecurityGroups, value); err != nil { return err } + default: _, _ = key, value @@ -44776,6 +46934,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(v **types } sv.ElasticIp = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44784,6 +46943,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterElasticIpStatus(v **types } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -44823,6 +46983,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(v **types.AwsRed } sv.Address = ptr.String(jtv) } + case "Port": if value != nil { jtv, ok := value.(json.Number) @@ -44835,6 +46996,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(v **types.AwsRed } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44874,6 +47036,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.HsmClientCertificateIdentifier = ptr.String(jtv) } + case "HsmConfigurationIdentifier": if value != nil { jtv, ok := value.(string) @@ -44882,6 +47045,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.HsmConfigurationIdentifier = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44890,6 +47054,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterHsmStatus(v **types.AwsRe } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -44929,6 +47094,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRole(v **types.AwsReds } sv.ApplyStatus = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -44937,6 +47103,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterIamRole(v **types.AwsReds } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -45010,6 +47177,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.BucketName = ptr.String(jtv) } + case "LastFailureMessage": if value != nil { jtv, ok := value.(string) @@ -45018,6 +47186,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastFailureMessage = ptr.String(jtv) } + case "LastFailureTime": if value != nil { jtv, ok := value.(string) @@ -45026,6 +47195,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastFailureTime = ptr.String(jtv) } + case "LastSuccessfulDeliveryTime": if value != nil { jtv, ok := value.(string) @@ -45034,6 +47204,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LastSuccessfulDeliveryTime = ptr.String(jtv) } + case "LoggingEnabled": if value != nil { jtv, ok := value.(bool) @@ -45042,6 +47213,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.LoggingEnabled = ptr.Bool(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -45050,6 +47222,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A } sv.S3KeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -45093,6 +47266,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } + case "ClusterIdentifier": if value != nil { jtv, ok := value.(string) @@ -45101,6 +47275,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterIdentifier = ptr.String(jtv) } + case "ClusterType": if value != nil { jtv, ok := value.(string) @@ -45109,6 +47284,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterType = ptr.String(jtv) } + case "ClusterVersion": if value != nil { jtv, ok := value.(string) @@ -45117,6 +47293,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.ClusterVersion = ptr.String(jtv) } + case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -45125,6 +47302,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.EncryptionType = ptr.String(jtv) } + case "EnhancedVpcRouting": if value != nil { jtv, ok := value.(bool) @@ -45133,6 +47311,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.EnhancedVpcRouting = ptr.Bool(jtv) } + case "MaintenanceTrackName": if value != nil { jtv, ok := value.(string) @@ -45141,6 +47320,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.MaintenanceTrackName = ptr.String(jtv) } + case "MasterUserPassword": if value != nil { jtv, ok := value.(string) @@ -45149,6 +47329,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.MasterUserPassword = ptr.String(jtv) } + case "NodeType": if value != nil { jtv, ok := value.(string) @@ -45157,6 +47338,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.NodeType = ptr.String(jtv) } + case "NumberOfNodes": if value != nil { jtv, ok := value.(json.Number) @@ -45169,6 +47351,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.NumberOfNodes = ptr.Int32(int32(i64)) } + case "PubliclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -45177,6 +47360,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * } sv.PubliclyAccessible = ptr.Bool(jtv) } + default: _, _ = key, value @@ -45216,6 +47400,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(v **types.AwsR } sv.AllowCancelResize = ptr.Bool(jtv) } + case "ResizeType": if value != nil { jtv, ok := value.(string) @@ -45224,6 +47409,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(v **types.AwsR } sv.ResizeType = ptr.String(jtv) } + default: _, _ = key, value @@ -45288,6 +47474,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } } + case "ElapsedTimeInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -45300,6 +47487,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.ElapsedTimeInSeconds = ptr.Int64(i64) } + case "EstimatedTimeToCompletionInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -45312,6 +47500,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.EstimatedTimeToCompletionInSeconds = ptr.Int64(i64) } + case "ProgressInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -45324,6 +47513,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.ProgressInMegaBytes = ptr.Int64(i64) } + case "SnapshotSizeInMegaBytes": if value != nil { jtv, ok := value.(json.Number) @@ -45336,6 +47526,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.SnapshotSizeInMegaBytes = ptr.Int64(i64) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45344,6 +47535,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -45383,6 +47575,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroup(v **type } sv.Status = ptr.String(jtv) } + case "VpcSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -45391,6 +47584,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterVpcSecurityGroup(v **type } sv.VpcSecurityGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -45464,6 +47658,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneConfigDetails(v **types } sv.Comment = ptr.String(jtv) } + default: _, _ = key, value @@ -45499,18 +47694,22 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneDetails(v **types.AwsRo if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(&sv.HostedZone, value); err != nil { return err } + case "NameServers": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneNameServersList(&sv.NameServers, value); err != nil { return err } + case "QueryLoggingConfig": if err := awsRestjson1_deserializeDocumentAwsRoute53QueryLoggingConfigDetails(&sv.QueryLoggingConfig, value); err != nil { return err } + case "Vpcs": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcsList(&sv.Vpcs, value); err != nil { return err } + default: _, _ = key, value @@ -45582,6 +47781,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneConfigDetails(&sv.Config, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -45590,6 +47790,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45598,6 +47799,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneObjectDetails(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -45637,6 +47839,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcDetails(v **types.Aw } sv.Id = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -45645,6 +47848,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53HostedZoneVpcDetails(v **types.Aw } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -45714,6 +47918,7 @@ func awsRestjson1_deserializeDocumentAwsRoute53QueryLoggingConfigDetails(v **typ if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(&sv.CloudWatchLogsLogGroupArn, value); err != nil { return err } + default: _, _ = key, value @@ -45753,6 +47958,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.AccessPointArn = ptr.String(jtv) } + case "Alias": if value != nil { jtv, ok := value.(string) @@ -45761,6 +47967,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Alias = ptr.String(jtv) } + case "Bucket": if value != nil { jtv, ok := value.(string) @@ -45769,6 +47976,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Bucket = ptr.String(jtv) } + case "BucketAccountId": if value != nil { jtv, ok := value.(string) @@ -45777,6 +47985,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.BucketAccountId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45785,6 +47994,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.Name = ptr.String(jtv) } + case "NetworkOrigin": if value != nil { jtv, ok := value.(string) @@ -45793,14 +48003,17 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(v **types.AwsS3Acce } sv.NetworkOrigin = ptr.String(jtv) } + case "PublicAccessBlockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.PublicAccessBlockConfiguration, value); err != nil { return err } + case "VpcConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccessPointVpcConfigurationDetails(&sv.VpcConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -45840,6 +48053,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccessPointVpcConfigurationDetails(v * } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -45879,6 +48093,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.BlockPublicAcls = ptr.Bool(jtv) } + case "BlockPublicPolicy": if value != nil { jtv, ok := value.(bool) @@ -45887,6 +48102,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.BlockPublicPolicy = ptr.Bool(jtv) } + case "IgnorePublicAcls": if value != nil { jtv, ok := value.(bool) @@ -45895,6 +48111,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.IgnorePublicAcls = ptr.Bool(jtv) } + case "RestrictPublicBuckets": if value != nil { jtv, ok := value.(bool) @@ -45903,6 +48120,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty } sv.RestrictPublicBuckets = ptr.Bool(jtv) } + default: _, _ = key, value @@ -45938,6 +48156,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationDeta if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -45981,6 +48200,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.DaysAfterInitiation = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -46016,6 +48236,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails(&sv.AbortIncompleteMultipartUpload, value); err != nil { return err } + case "ExpirationDate": if value != nil { jtv, ok := value.(string) @@ -46024,6 +48245,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpirationDate = ptr.String(jtv) } + case "ExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -46036,6 +48258,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpirationInDays = ptr.Int32(int32(i64)) } + case "ExpiredObjectDeleteMarker": if value != nil { jtv, ok := value.(bool) @@ -46044,10 +48267,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ExpiredObjectDeleteMarker = ptr.Bool(jtv) } + case "Filter": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterDetails(&sv.Filter, value); err != nil { return err } + case "ID": if value != nil { jtv, ok := value.(string) @@ -46056,6 +48281,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.ID = ptr.String(jtv) } + case "NoncurrentVersionExpirationInDays": if value != nil { jtv, ok := value.(json.Number) @@ -46068,10 +48294,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.NoncurrentVersionExpirationInDays = ptr.Int32(int32(i64)) } + case "NoncurrentVersionTransitions": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList(&sv.NoncurrentVersionTransitions, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -46080,6 +48308,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -46088,10 +48317,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Status = ptr.String(jtv) } + case "Transitions": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesTransitionsList(&sv.Transitions, value); err != nil { return err } + default: _, _ = key, value @@ -46127,6 +48358,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails(&sv.Predicate, value); err != nil { return err } + default: _, _ = key, value @@ -46162,6 +48394,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsList(&sv.Operands, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -46170,10 +48403,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } + case "Tag": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails(&sv.Tag, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -46182,6 +48417,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -46221,10 +48457,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Prefix = ptr.String(jtv) } + case "Tag": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails(&sv.Tag, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -46233,6 +48471,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -46306,6 +48545,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -46314,6 +48554,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -46353,6 +48594,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -46361,6 +48603,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -46438,6 +48681,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Days = ptr.Int32(int32(i64)) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -46446,6 +48690,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.StorageClass = ptr.String(jtv) } + default: _, _ = key, value @@ -46519,6 +48764,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Date = ptr.String(jtv) } + case "Days": if value != nil { jtv, ok := value.(json.Number) @@ -46531,6 +48777,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.Days = ptr.Int32(int32(i64)) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -46539,6 +48786,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule } sv.StorageClass = ptr.String(jtv) } + default: _, _ = key, value @@ -46612,6 +48860,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(v } sv.IsMfaDeleteEnabled = ptr.Bool(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -46620,6 +48869,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(v } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -46659,26 +48909,32 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.AccessControlList = ptr.String(jtv) } + case "BucketLifecycleConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationDetails(&sv.BucketLifecycleConfiguration, value); err != nil { return err } + case "BucketLoggingConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(&sv.BucketLoggingConfiguration, value); err != nil { return err } + case "BucketNotificationConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfiguration(&sv.BucketNotificationConfiguration, value); err != nil { return err } + case "BucketVersioningConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(&sv.BucketVersioningConfiguration, value); err != nil { return err } + case "BucketWebsiteConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(&sv.BucketWebsiteConfiguration, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -46687,6 +48943,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.CreatedAt = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46695,10 +48952,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.Name = ptr.String(jtv) } + case "ObjectLockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfiguration(&sv.ObjectLockConfiguration, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -46707,6 +48966,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerAccountId = ptr.String(jtv) } + case "OwnerId": if value != nil { jtv, ok := value.(string) @@ -46715,6 +48975,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerId = ptr.String(jtv) } + case "OwnerName": if value != nil { jtv, ok := value.(string) @@ -46723,14 +48984,17 @@ func awsRestjson1_deserializeDocumentAwsS3BucketDetails(v **types.AwsS3BucketDet } sv.OwnerName = ptr.String(jtv) } + case "PublicAccessBlockConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.PublicAccessBlockConfiguration, value); err != nil { return err } + case "ServerSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -46770,6 +49034,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(v **types.A } sv.DestinationBucketName = ptr.String(jtv) } + case "LogFilePrefix": if value != nil { jtv, ok := value.(string) @@ -46778,6 +49043,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketLoggingConfiguration(v **types.A } sv.LogFilePrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -46813,6 +49079,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfiguration(v **ty if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetails(&sv.Configurations, value); err != nil { return err } + default: _, _ = key, value @@ -46852,14 +49119,17 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetail( } sv.Destination = ptr.String(jtv) } + case "Events": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationEvents(&sv.Events, value); err != nil { return err } + case "Filter": if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationFilter(&sv.Filter, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -46868,6 +49138,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationDetail( } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -46973,6 +49244,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationFilter( if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFilter(&sv.S3KeyFilter, value); err != nil { return err } + default: _, _ = key, value @@ -47008,6 +49280,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi if err := awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFilterRules(&sv.FilterRules, value); err != nil { return err } + default: _, _ = key, value @@ -47047,6 +49320,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi } sv.Name = types.AwsS3BucketNotificationConfigurationS3KeyFilterRuleName(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -47055,6 +49329,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketNotificationConfigurationS3KeyFi } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -47128,10 +49403,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfiguration(v **type } sv.ObjectLockEnabled = ptr.String(jtv) } + case "Rule": if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDetails(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -47175,6 +49452,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Days = ptr.Int32(int32(i64)) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -47183,6 +49461,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Mode = ptr.String(jtv) } + case "Years": if value != nil { jtv, ok := value.(json.Number) @@ -47195,6 +49474,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau } sv.Years = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -47230,6 +49510,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDetai if err := awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(&sv.DefaultRetention, value); err != nil { return err } + default: _, _ = key, value @@ -47269,6 +49550,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(v } sv.KMSMasterKeyID = ptr.String(jtv) } + case "SSEAlgorithm": if value != nil { jtv, ok := value.(string) @@ -47277,6 +49559,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(v } sv.SSEAlgorithm = ptr.String(jtv) } + default: _, _ = key, value @@ -47312,6 +49595,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionConfiguratio if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionRules(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -47347,6 +49631,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionRule(v **typ if err := awsRestjson1_deserializeDocumentAwsS3BucketServerSideEncryptionByDefault(&sv.ApplyServerSideEncryptionByDefault, value); err != nil { return err } + default: _, _ = key, value @@ -47420,6 +49705,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(v **types.A } sv.ErrorDocument = ptr.String(jtv) } + case "IndexDocumentSuffix": if value != nil { jtv, ok := value.(string) @@ -47428,14 +49714,17 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfiguration(v **types.A } sv.IndexDocumentSuffix = ptr.String(jtv) } + case "RedirectAllRequestsTo": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(&sv.RedirectAllRequestsTo, value); err != nil { return err } + case "RoutingRules": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRules(&sv.RoutingRules, value); err != nil { return err } + default: _, _ = key, value @@ -47475,6 +49764,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(v } sv.Hostname = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -47483,6 +49773,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRedirectTo(v } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -47518,10 +49809,12 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRule( if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleCondition(&sv.Condition, value); err != nil { return err } + case "Redirect": if err := awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleRedirect(&sv.Redirect, value); err != nil { return err } + default: _, _ = key, value @@ -47561,6 +49854,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleC } sv.HttpErrorCodeReturnedEquals = ptr.String(jtv) } + case "KeyPrefixEquals": if value != nil { jtv, ok := value.(string) @@ -47569,6 +49863,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleC } sv.KeyPrefixEquals = ptr.String(jtv) } + default: _, _ = key, value @@ -47608,6 +49903,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.Hostname = ptr.String(jtv) } + case "HttpRedirectCode": if value != nil { jtv, ok := value.(string) @@ -47616,6 +49912,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.HttpRedirectCode = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -47624,6 +49921,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.Protocol = ptr.String(jtv) } + case "ReplaceKeyPrefixWith": if value != nil { jtv, ok := value.(string) @@ -47632,6 +49930,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.ReplaceKeyPrefixWith = ptr.String(jtv) } + case "ReplaceKeyWith": if value != nil { jtv, ok := value.(string) @@ -47640,6 +49939,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketWebsiteConfigurationRoutingRuleR } sv.ReplaceKeyWith = ptr.String(jtv) } + default: _, _ = key, value @@ -47713,6 +50013,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ContentType = ptr.String(jtv) } + case "ETag": if value != nil { jtv, ok := value.(string) @@ -47721,6 +50022,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ETag = ptr.String(jtv) } + case "LastModified": if value != nil { jtv, ok := value.(string) @@ -47729,6 +50031,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.LastModified = ptr.String(jtv) } + case "ServerSideEncryption": if value != nil { jtv, ok := value.(string) @@ -47737,6 +50040,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.ServerSideEncryption = ptr.String(jtv) } + case "SSEKMSKeyId": if value != nil { jtv, ok := value.(string) @@ -47745,6 +50049,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.SSEKMSKeyId = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -47753,6 +50058,7 @@ func awsRestjson1_deserializeDocumentAwsS3ObjectDetails(v **types.AwsS3ObjectDet } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -47788,10 +50094,12 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AcceleratorTypes, value); err != nil { return err } + case "AdditionalCodeRepositories": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.AdditionalCodeRepositories, value); err != nil { return err } + case "DefaultCodeRepository": if value != nil { jtv, ok := value.(string) @@ -47800,6 +50108,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.DefaultCodeRepository = ptr.String(jtv) } + case "DirectInternetAccess": if value != nil { jtv, ok := value.(string) @@ -47808,6 +50117,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.DirectInternetAccess = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -47816,10 +50126,12 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.FailureReason = ptr.String(jtv) } + case "InstanceMetadataServiceConfiguration": if err := awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails(&sv.InstanceMetadataServiceConfiguration, value); err != nil { return err } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -47828,6 +50140,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.InstanceType = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -47836,6 +50149,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.KmsKeyId = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -47844,6 +50158,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NetworkInterfaceId = ptr.String(jtv) } + case "NotebookInstanceArn": if value != nil { jtv, ok := value.(string) @@ -47852,6 +50167,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceArn = ptr.String(jtv) } + case "NotebookInstanceLifecycleConfigName": if value != nil { jtv, ok := value.(string) @@ -47860,6 +50176,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceLifecycleConfigName = ptr.String(jtv) } + case "NotebookInstanceName": if value != nil { jtv, ok := value.(string) @@ -47868,6 +50185,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceName = ptr.String(jtv) } + case "NotebookInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -47876,6 +50194,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.NotebookInstanceStatus = ptr.String(jtv) } + case "PlatformIdentifier": if value != nil { jtv, ok := value.(string) @@ -47884,6 +50203,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.PlatformIdentifier = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -47892,6 +50212,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.RoleArn = ptr.String(jtv) } + case "RootAccess": if value != nil { jtv, ok := value.(string) @@ -47900,10 +50221,12 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.RootAccess = ptr.String(jtv) } + case "SecurityGroups": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.SecurityGroups, value); err != nil { return err } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -47912,6 +50235,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.SubnetId = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -47920,6 +50244,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.Url = ptr.String(jtv) } + case "VolumeSizeInGB": if value != nil { jtv, ok := value.(json.Number) @@ -47932,6 +50257,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ } sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -47971,6 +50297,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceMetadataService } sv.MinimumInstanceMetadataServiceVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -48010,6 +50337,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Deleted = ptr.Bool(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -48018,6 +50346,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Description = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -48026,6 +50355,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.KmsKeyId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48034,6 +50364,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.Name = ptr.String(jtv) } + case "RotationEnabled": if value != nil { jtv, ok := value.(bool) @@ -48042,6 +50373,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationEnabled = ptr.Bool(jtv) } + case "RotationLambdaArn": if value != nil { jtv, ok := value.(string) @@ -48050,6 +50382,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationLambdaArn = ptr.String(jtv) } + case "RotationOccurredWithinFrequency": if value != nil { jtv, ok := value.(bool) @@ -48058,10 +50391,12 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw } sv.RotationOccurredWithinFrequency = ptr.Bool(jtv) } + case "RotationRules": if err := awsRestjson1_deserializeDocumentAwsSecretsManagerSecretRotationRules(&sv.RotationRules, value); err != nil { return err } + default: _, _ = key, value @@ -48105,6 +50440,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretRotationRules(v **ty } sv.AutomaticallyAfterDays = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -48140,6 +50476,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin if err := awsRestjson1_deserializeDocumentAction(&sv.Action, value); err != nil { return err } + case "AwsAccountId": if value != nil { jtv, ok := value.(string) @@ -48148,6 +50485,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.AwsAccountId = ptr.String(jtv) } + case "AwsAccountName": if value != nil { jtv, ok := value.(string) @@ -48156,6 +50494,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.AwsAccountName = ptr.String(jtv) } + case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -48164,10 +50503,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.CompanyName = ptr.String(jtv) } + case "Compliance": if err := awsRestjson1_deserializeDocumentCompliance(&sv.Compliance, value); err != nil { return err } + case "Confidence": if value != nil { jtv, ok := value.(json.Number) @@ -48180,6 +50521,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Confidence = ptr.Int32(int32(i64)) } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -48188,6 +50530,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.CreatedAt = ptr.String(jtv) } + case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -48200,6 +50543,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Criticality = ptr.Int32(int32(i64)) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -48208,10 +50552,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Description = ptr.String(jtv) } + case "FindingProviderFields": if err := awsRestjson1_deserializeDocumentFindingProviderFields(&sv.FindingProviderFields, value); err != nil { return err } + case "FirstObservedAt": if value != nil { jtv, ok := value.(string) @@ -48220,10 +50566,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.FirstObservedAt = ptr.String(jtv) } + case "GeneratorDetails": if err := awsRestjson1_deserializeDocumentGeneratorDetails(&sv.GeneratorDetails, value); err != nil { return err } + case "GeneratorId": if value != nil { jtv, ok := value.(string) @@ -48232,6 +50580,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.GeneratorId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -48240,6 +50589,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Id = ptr.String(jtv) } + case "LastObservedAt": if value != nil { jtv, ok := value.(string) @@ -48248,30 +50598,37 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.LastObservedAt = ptr.String(jtv) } + case "Malware": if err := awsRestjson1_deserializeDocumentMalwareList(&sv.Malware, value); err != nil { return err } + case "Network": if err := awsRestjson1_deserializeDocumentNetwork(&sv.Network, value); err != nil { return err } + case "NetworkPath": if err := awsRestjson1_deserializeDocumentNetworkPathList(&sv.NetworkPath, value); err != nil { return err } + case "Note": if err := awsRestjson1_deserializeDocumentNote(&sv.Note, value); err != nil { return err } + case "PatchSummary": if err := awsRestjson1_deserializeDocumentPatchSummary(&sv.PatchSummary, value); err != nil { return err } + case "Process": if err := awsRestjson1_deserializeDocumentProcessDetails(&sv.Process, value); err != nil { return err } + case "ProcessedAt": if value != nil { jtv, ok := value.(string) @@ -48280,6 +50637,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProcessedAt = ptr.String(jtv) } + case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -48288,10 +50646,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProductArn = ptr.String(jtv) } + case "ProductFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.ProductFields, value); err != nil { return err } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -48300,6 +50660,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.ProductName = ptr.String(jtv) } + case "RecordState": if value != nil { jtv, ok := value.(string) @@ -48308,6 +50669,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.RecordState = types.RecordState(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -48316,18 +50678,22 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Region = ptr.String(jtv) } + case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } + case "Remediation": if err := awsRestjson1_deserializeDocumentRemediation(&sv.Remediation, value); err != nil { return err } + case "Resources": if err := awsRestjson1_deserializeDocumentResourceList(&sv.Resources, value); err != nil { return err } + case "Sample": if value != nil { jtv, ok := value.(bool) @@ -48336,6 +50702,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Sample = ptr.Bool(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -48344,10 +50711,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.SchemaVersion = ptr.String(jtv) } + case "Severity": if err := awsRestjson1_deserializeDocumentSeverity(&sv.Severity, value); err != nil { return err } + case "SourceUrl": if value != nil { jtv, ok := value.(string) @@ -48356,14 +50725,17 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.SourceUrl = ptr.String(jtv) } + case "ThreatIntelIndicators": if err := awsRestjson1_deserializeDocumentThreatIntelIndicatorList(&sv.ThreatIntelIndicators, value); err != nil { return err } + case "Threats": if err := awsRestjson1_deserializeDocumentThreatList(&sv.Threats, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -48372,10 +50744,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.Title = ptr.String(jtv) } + case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -48384,10 +50758,12 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.UpdatedAt = ptr.String(jtv) } + case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.UserDefinedFields, value); err != nil { return err } + case "VerificationState": if value != nil { jtv, ok := value.(string) @@ -48396,14 +50772,17 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.VerificationState = types.VerificationState(jtv) } + case "Vulnerabilities": if err := awsRestjson1_deserializeDocumentVulnerabilityList(&sv.Vulnerabilities, value); err != nil { return err } + case "Workflow": if err := awsRestjson1_deserializeDocumentWorkflow(&sv.Workflow, value); err != nil { return err } + case "WorkflowState": if value != nil { jtv, ok := value.(string) @@ -48412,6 +50791,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin } sv.WorkflowState = types.WorkflowState(jtv) } + default: _, _ = key, value @@ -48447,418 +50827,522 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingFilters(v **types.AwsSecu if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountId, value); err != nil { return err } + case "AwsAccountName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.AwsAccountName, value); err != nil { return err } + case "CompanyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.CompanyName, value); err != nil { return err } + case "ComplianceAssociatedStandardsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceAssociatedStandardsId, value); err != nil { return err } + case "ComplianceSecurityControlId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlId, value); err != nil { return err } + case "ComplianceSecurityControlParametersName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlParametersName, value); err != nil { return err } + case "ComplianceSecurityControlParametersValue": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceSecurityControlParametersValue, value); err != nil { return err } + case "ComplianceStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ComplianceStatus, value); err != nil { return err } + case "Confidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Confidence, value); err != nil { return err } + case "CreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.CreatedAt, value); err != nil { return err } + case "Criticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.Criticality, value); err != nil { return err } + case "Description": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Description, value); err != nil { return err } + case "FindingProviderFieldsConfidence": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.FindingProviderFieldsConfidence, value); err != nil { return err } + case "FindingProviderFieldsCriticality": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.FindingProviderFieldsCriticality, value); err != nil { return err } + case "FindingProviderFieldsRelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsRelatedFindingsId, value); err != nil { return err } + case "FindingProviderFieldsRelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsRelatedFindingsProductArn, value); err != nil { return err } + case "FindingProviderFieldsSeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsSeverityLabel, value); err != nil { return err } + case "FindingProviderFieldsSeverityOriginal": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsSeverityOriginal, value); err != nil { return err } + case "FindingProviderFieldsTypes": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.FindingProviderFieldsTypes, value); err != nil { return err } + case "FirstObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.FirstObservedAt, value); err != nil { return err } + case "GeneratorId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.GeneratorId, value); err != nil { return err } + case "Id": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Id, value); err != nil { return err } + case "Keyword": if err := awsRestjson1_deserializeDocumentKeywordFilterList(&sv.Keyword, value); err != nil { return err } + case "LastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.LastObservedAt, value); err != nil { return err } + case "MalwareName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareName, value); err != nil { return err } + case "MalwarePath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwarePath, value); err != nil { return err } + case "MalwareState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareState, value); err != nil { return err } + case "MalwareType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.MalwareType, value); err != nil { return err } + case "NetworkDestinationDomain": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkDestinationDomain, value); err != nil { return err } + case "NetworkDestinationIpV4": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkDestinationIpV4, value); err != nil { return err } + case "NetworkDestinationIpV6": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkDestinationIpV6, value); err != nil { return err } + case "NetworkDestinationPort": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.NetworkDestinationPort, value); err != nil { return err } + case "NetworkDirection": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkDirection, value); err != nil { return err } + case "NetworkProtocol": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkProtocol, value); err != nil { return err } + case "NetworkSourceDomain": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkSourceDomain, value); err != nil { return err } + case "NetworkSourceIpV4": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkSourceIpV4, value); err != nil { return err } + case "NetworkSourceIpV6": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.NetworkSourceIpV6, value); err != nil { return err } + case "NetworkSourceMac": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NetworkSourceMac, value); err != nil { return err } + case "NetworkSourcePort": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.NetworkSourcePort, value); err != nil { return err } + case "NoteText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteText, value); err != nil { return err } + case "NoteUpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.NoteUpdatedAt, value); err != nil { return err } + case "NoteUpdatedBy": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.NoteUpdatedBy, value); err != nil { return err } + case "ProcessLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ProcessLaunchedAt, value); err != nil { return err } + case "ProcessName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProcessName, value); err != nil { return err } + case "ProcessParentPid": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.ProcessParentPid, value); err != nil { return err } + case "ProcessPath": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProcessPath, value); err != nil { return err } + case "ProcessPid": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.ProcessPid, value); err != nil { return err } + case "ProcessTerminatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ProcessTerminatedAt, value); err != nil { return err } + case "ProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductArn, value); err != nil { return err } + case "ProductFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ProductFields, value); err != nil { return err } + case "ProductName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ProductName, value); err != nil { return err } + case "RecommendationText": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecommendationText, value); err != nil { return err } + case "RecordState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RecordState, value); err != nil { return err } + case "Region": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Region, value); err != nil { return err } + case "RelatedFindingsId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsId, value); err != nil { return err } + case "RelatedFindingsProductArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.RelatedFindingsProductArn, value); err != nil { return err } + case "ResourceApplicationArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationArn, value); err != nil { return err } + case "ResourceApplicationName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceApplicationName, value); err != nil { return err } + case "ResourceAwsEc2InstanceIamInstanceProfileArn": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceIamInstanceProfileArn, value); err != nil { return err } + case "ResourceAwsEc2InstanceImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceImageId, value); err != nil { return err } + case "ResourceAwsEc2InstanceIpV4Addresses": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.ResourceAwsEc2InstanceIpV4Addresses, value); err != nil { return err } + case "ResourceAwsEc2InstanceIpV6Addresses": if err := awsRestjson1_deserializeDocumentIpFilterList(&sv.ResourceAwsEc2InstanceIpV6Addresses, value); err != nil { return err } + case "ResourceAwsEc2InstanceKeyName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceKeyName, value); err != nil { return err } + case "ResourceAwsEc2InstanceLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceAwsEc2InstanceLaunchedAt, value); err != nil { return err } + case "ResourceAwsEc2InstanceSubnetId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceSubnetId, value); err != nil { return err } + case "ResourceAwsEc2InstanceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceType, value); err != nil { return err } + case "ResourceAwsEc2InstanceVpcId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsEc2InstanceVpcId, value); err != nil { return err } + case "ResourceAwsIamAccessKeyCreatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceAwsIamAccessKeyCreatedAt, value); err != nil { return err } + case "ResourceAwsIamAccessKeyPrincipalName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyPrincipalName, value); err != nil { return err } + case "ResourceAwsIamAccessKeyStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyStatus, value); err != nil { return err } + case "ResourceAwsIamAccessKeyUserName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamAccessKeyUserName, value); err != nil { return err } + case "ResourceAwsIamUserUserName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsIamUserUserName, value); err != nil { return err } + case "ResourceAwsS3BucketOwnerId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsS3BucketOwnerId, value); err != nil { return err } + case "ResourceAwsS3BucketOwnerName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceAwsS3BucketOwnerName, value); err != nil { return err } + case "ResourceContainerImageId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerImageId, value); err != nil { return err } + case "ResourceContainerImageName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerImageName, value); err != nil { return err } + case "ResourceContainerLaunchedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ResourceContainerLaunchedAt, value); err != nil { return err } + case "ResourceContainerName": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceContainerName, value); err != nil { return err } + case "ResourceDetailsOther": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceDetailsOther, value); err != nil { return err } + case "ResourceId": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceId, value); err != nil { return err } + case "ResourcePartition": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourcePartition, value); err != nil { return err } + case "ResourceRegion": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceRegion, value); err != nil { return err } + case "ResourceTags": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.ResourceTags, value); err != nil { return err } + case "ResourceType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ResourceType, value); err != nil { return err } + case "Sample": if err := awsRestjson1_deserializeDocumentBooleanFilterList(&sv.Sample, value); err != nil { return err } + case "SeverityLabel": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SeverityLabel, value); err != nil { return err } + case "SeverityNormalized": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.SeverityNormalized, value); err != nil { return err } + case "SeverityProduct": if err := awsRestjson1_deserializeDocumentNumberFilterList(&sv.SeverityProduct, value); err != nil { return err } + case "SourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.SourceUrl, value); err != nil { return err } + case "ThreatIntelIndicatorCategory": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorCategory, value); err != nil { return err } + case "ThreatIntelIndicatorLastObservedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.ThreatIntelIndicatorLastObservedAt, value); err != nil { return err } + case "ThreatIntelIndicatorSource": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorSource, value); err != nil { return err } + case "ThreatIntelIndicatorSourceUrl": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorSourceUrl, value); err != nil { return err } + case "ThreatIntelIndicatorType": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorType, value); err != nil { return err } + case "ThreatIntelIndicatorValue": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.ThreatIntelIndicatorValue, value); err != nil { return err } + case "Title": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Title, value); err != nil { return err } + case "Type": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.Type, value); err != nil { return err } + case "UpdatedAt": if err := awsRestjson1_deserializeDocumentDateFilterList(&sv.UpdatedAt, value); err != nil { return err } + case "UserDefinedFields": if err := awsRestjson1_deserializeDocumentMapFilterList(&sv.UserDefinedFields, value); err != nil { return err } + case "VerificationState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VerificationState, value); err != nil { return err } + case "VulnerabilitiesExploitAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitiesExploitAvailable, value); err != nil { return err } + case "VulnerabilitiesFixAvailable": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.VulnerabilitiesFixAvailable, value); err != nil { return err } + case "WorkflowState": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowState, value); err != nil { return err } + case "WorkflowStatus": if err := awsRestjson1_deserializeDocumentStringFilterList(&sv.WorkflowStatus, value); err != nil { return err } + default: _, _ = key, value @@ -48898,6 +51382,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(v **types.AwsS } sv.Id = ptr.String(jtv) } + case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -48906,6 +51391,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(v **types.AwsS } sv.ProductArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49013,6 +51499,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.ApplicationSuccessFeedbackRoleArn = ptr.String(jtv) } + case "FirehoseFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49021,6 +51508,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.FirehoseFailureFeedbackRoleArn = ptr.String(jtv) } + case "FirehoseSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49029,6 +51517,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.FirehoseSuccessFeedbackRoleArn = ptr.String(jtv) } + case "HttpFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49037,6 +51526,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.HttpFailureFeedbackRoleArn = ptr.String(jtv) } + case "HttpSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49045,6 +51535,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.HttpSuccessFeedbackRoleArn = ptr.String(jtv) } + case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -49053,6 +51544,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.KmsMasterKeyId = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -49061,6 +51553,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.Owner = ptr.String(jtv) } + case "SqsFailureFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49069,6 +51562,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.SqsFailureFeedbackRoleArn = ptr.String(jtv) } + case "SqsSuccessFeedbackRoleArn": if value != nil { jtv, ok := value.(string) @@ -49077,10 +51571,12 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.SqsSuccessFeedbackRoleArn = ptr.String(jtv) } + case "Subscription": if err := awsRestjson1_deserializeDocumentAwsSnsTopicSubscriptionList(&sv.Subscription, value); err != nil { return err } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -49089,6 +51585,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicDetails(v **types.AwsSnsTopicDet } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -49128,6 +51625,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicSubscription(v **types.AwsSnsTop } sv.Endpoint = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -49136,6 +51634,7 @@ func awsRestjson1_deserializeDocumentAwsSnsTopicSubscription(v **types.AwsSnsTop } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -49209,6 +51708,7 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.DeadLetterTargetArn = ptr.String(jtv) } + case "KmsDataKeyReusePeriodSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -49221,6 +51721,7 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.KmsDataKeyReusePeriodSeconds = ptr.Int32(int32(i64)) } + case "KmsMasterKeyId": if value != nil { jtv, ok := value.(string) @@ -49229,6 +51730,7 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.KmsMasterKeyId = ptr.String(jtv) } + case "QueueName": if value != nil { jtv, ok := value.(string) @@ -49237,6 +51739,7 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet } sv.QueueName = ptr.String(jtv) } + default: _, _ = key, value @@ -49276,6 +51779,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.ComplianceType = ptr.String(jtv) } + case "CompliantCriticalCount": if value != nil { jtv, ok := value.(json.Number) @@ -49288,6 +51792,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantCriticalCount = ptr.Int32(int32(i64)) } + case "CompliantHighCount": if value != nil { jtv, ok := value.(json.Number) @@ -49300,6 +51805,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantHighCount = ptr.Int32(int32(i64)) } + case "CompliantInformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -49312,6 +51818,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantInformationalCount = ptr.Int32(int32(i64)) } + case "CompliantLowCount": if value != nil { jtv, ok := value.(json.Number) @@ -49324,6 +51831,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantLowCount = ptr.Int32(int32(i64)) } + case "CompliantMediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -49336,6 +51844,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantMediumCount = ptr.Int32(int32(i64)) } + case "CompliantUnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -49348,6 +51857,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.CompliantUnspecifiedCount = ptr.Int32(int32(i64)) } + case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -49356,6 +51866,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.ExecutionType = ptr.String(jtv) } + case "NonCompliantCriticalCount": if value != nil { jtv, ok := value.(json.Number) @@ -49368,6 +51879,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantCriticalCount = ptr.Int32(int32(i64)) } + case "NonCompliantHighCount": if value != nil { jtv, ok := value.(json.Number) @@ -49380,6 +51892,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantHighCount = ptr.Int32(int32(i64)) } + case "NonCompliantInformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -49392,6 +51905,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantInformationalCount = ptr.Int32(int32(i64)) } + case "NonCompliantLowCount": if value != nil { jtv, ok := value.(json.Number) @@ -49404,6 +51918,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantLowCount = ptr.Int32(int32(i64)) } + case "NonCompliantMediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -49416,6 +51931,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantMediumCount = ptr.Int32(int32(i64)) } + case "NonCompliantUnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -49428,6 +51944,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.NonCompliantUnspecifiedCount = ptr.Int32(int32(i64)) } + case "OverallSeverity": if value != nil { jtv, ok := value.(string) @@ -49436,6 +51953,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.OverallSeverity = ptr.String(jtv) } + case "PatchBaselineId": if value != nil { jtv, ok := value.(string) @@ -49444,6 +51962,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.PatchBaselineId = ptr.String(jtv) } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -49452,6 +51971,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.PatchGroup = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -49460,6 +51980,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -49495,6 +52016,7 @@ func awsRestjson1_deserializeDocumentAwsSsmPatch(v **types.AwsSsmPatch, value in if err := awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(&sv.ComplianceSummary, value); err != nil { return err } + default: _, _ = key, value @@ -49530,6 +52052,7 @@ func awsRestjson1_deserializeDocumentAwsSsmPatchComplianceDetails(v **types.AwsS if err := awsRestjson1_deserializeDocumentAwsSsmPatch(&sv.Patch, value); err != nil { return err } + default: _, _ = key, value @@ -49569,10 +52092,12 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Label = ptr.String(jtv) } + case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDetails(&sv.LoggingConfiguration, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49581,6 +52106,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -49589,6 +52115,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.RoleArn = ptr.String(jtv) } + case "StateMachineArn": if value != nil { jtv, ok := value.(string) @@ -49597,6 +52124,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.StateMachineArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -49605,10 +52133,12 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Status = ptr.String(jtv) } + case "TracingConfiguration": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineTracingConfigurationDetails(&sv.TracingConfiguration, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -49617,6 +52147,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(v **type } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -49656,6 +52187,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -49691,6 +52223,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } + default: _, _ = key, value @@ -49760,6 +52293,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigurationDestinationsList(&sv.Destinations, value); err != nil { return err } + case "IncludeExecutionData": if value != nil { jtv, ok := value.(bool) @@ -49768,6 +52302,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.IncludeExecutionData = ptr.Bool(jtv) } + case "Level": if value != nil { jtv, ok := value.(string) @@ -49776,6 +52311,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura } sv.Level = ptr.String(jtv) } + default: _, _ = key, value @@ -49815,6 +52351,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineTracingConfigura } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -49850,6 +52387,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicateList(&sv.MatchPredicates, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -49858,6 +52396,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -49866,6 +52405,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.Name = ptr.String(jtv) } + case "RateKey": if value != nil { jtv, ok := value.(string) @@ -49874,6 +52414,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RateKey = ptr.String(jtv) } + case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -49886,6 +52427,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RateLimit = ptr.Int64(i64) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -49894,6 +52436,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -49933,6 +52476,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -49941,6 +52485,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -49949,6 +52494,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50018,6 +52564,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type if err := awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicateList(&sv.MatchPredicates, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -50026,6 +52573,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50034,6 +52582,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.Name = ptr.String(jtv) } + case "RateKey": if value != nil { jtv, ok := value.(string) @@ -50042,6 +52591,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RateKey = ptr.String(jtv) } + case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -50054,6 +52604,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RateLimit = ptr.Int64(i64) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50062,6 +52613,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -50101,6 +52653,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -50109,6 +52662,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -50117,6 +52671,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50190,6 +52745,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50198,10 +52754,12 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.Name = ptr.String(jtv) } + case "PredicateList": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateList(&sv.PredicateList, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50210,6 +52768,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(v **types.AwsWafR } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -50249,6 +52808,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50257,6 +52817,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -50265,10 +52826,12 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(v **types.Aw } sv.RuleGroupId = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -50308,6 +52871,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesActionDetails(v } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50343,6 +52907,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesActionDetails(&sv.Action, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -50355,6 +52920,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50363,6 +52929,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -50371,6 +52938,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50478,6 +53046,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -50486,6 +53055,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -50494,6 +53064,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50533,6 +53104,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.DefaultAction = ptr.String(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -50541,6 +53113,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50549,10 +53122,12 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.Name = ptr.String(jtv) } + case "RulesList": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesList(&sv.RulesList, value); err != nil { return err } + case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -50561,6 +53136,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(v **types.AwsWa } sv.WebAclId = ptr.String(jtv) } + default: _, _ = key, value @@ -50634,6 +53210,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListActionDetails( } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50669,10 +53246,12 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListActionDetails(&sv.Action, value); err != nil { return err } + case "OverrideAction": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListOverrideActionDetails(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -50685,6 +53264,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50693,6 +53273,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -50701,6 +53282,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50740,6 +53322,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListOverrideAction } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50779,6 +53362,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50787,10 +53371,12 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.Name = ptr.String(jtv) } + case "PredicateList": if err := awsRestjson1_deserializeDocumentAwsWafRulePredicateList(&sv.PredicateList, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50799,6 +53385,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleDetails(v **types.AwsWafRuleDetai } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -50838,6 +53425,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -50846,6 +53434,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -50854,10 +53443,12 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(v **types.AwsWafRule } sv.RuleGroupId = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -50897,6 +53488,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesActionDetails(v **types } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -50932,6 +53524,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesActionDetails(&sv.Action, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -50944,6 +53537,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -50952,6 +53546,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -50960,6 +53555,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -51067,6 +53663,7 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -51075,6 +53672,7 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -51083,6 +53681,7 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -51118,6 +53717,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -51153,6 +53753,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(&sv.CustomResponse, value); err != nil { return err } + default: _, _ = key, value @@ -51192,6 +53793,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomHttpHeader(v **types.AwsWafv2 } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -51200,6 +53802,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomHttpHeader(v **types.AwsWafv2 } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -51235,6 +53838,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(v **ty if err := awsRestjson1_deserializeDocumentAwsWafv2InsertHeadersList(&sv.InsertHeaders, value); err != nil { return err } + default: _, _ = key, value @@ -51274,6 +53878,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(v **types.Aws } sv.CustomResponseBodyKey = ptr.String(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -51286,10 +53891,12 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(v **types.Aws } sv.ResponseCode = ptr.Int32(int32(i64)) } + case "ResponseHeaders": if err := awsRestjson1_deserializeDocumentAwsWafv2InsertHeadersList(&sv.ResponseHeaders, value); err != nil { return err } + default: _, _ = key, value @@ -51363,6 +53970,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Arn = ptr.String(jtv) } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -51375,6 +53983,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Capacity = ptr.Int64(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -51383,6 +53992,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51391,6 +54001,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51399,10 +54010,12 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesList(&sv.Rules, value); err != nil { return err } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -51411,10 +54024,12 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 } sv.Scope = ptr.String(jtv) } + case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -51450,6 +54065,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionCaptchaDetails(v **types if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -51485,6 +54101,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionCountDetails(v **types.A if err := awsRestjson1_deserializeDocumentAwsWafv2CustomRequestHandlingDetails(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -51520,18 +54137,22 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesActionDetails(v **types.AwsWaf if err := awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(&sv.Allow, value); err != nil { return err } + case "Block": if err := awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(&sv.Block, value); err != nil { return err } + case "Captcha": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionCaptchaDetails(&sv.Captcha, value); err != nil { return err } + case "Count": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionCountDetails(&sv.Count, value); err != nil { return err } + default: _, _ = key, value @@ -51567,6 +54188,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule if err := awsRestjson1_deserializeDocumentAwsWafv2RulesActionDetails(&sv.Action, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51575,6 +54197,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.Name = ptr.String(jtv) } + case "OverrideAction": if value != nil { jtv, ok := value.(string) @@ -51583,6 +54206,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.OverrideAction = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -51595,10 +54219,12 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule } sv.Priority = ptr.Int32(int32(i64)) } + case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -51672,6 +54298,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -51680,6 +54307,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.MetricName = ptr.String(jtv) } + case "SampledRequestsEnabled": if value != nil { jtv, ok := value.(bool) @@ -51688,6 +54316,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A } sv.SampledRequestsEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -51723,10 +54352,12 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclActionDetails(v **types.AwsWa if err := awsRestjson1_deserializeDocumentAwsWafv2ActionAllowDetails(&sv.Allow, value); err != nil { return err } + case "Block": if err := awsRestjson1_deserializeDocumentAwsWafv2ActionBlockDetails(&sv.Block, value); err != nil { return err } + default: _, _ = key, value @@ -51762,6 +54393,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigDetails(v **type if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails(&sv.ImmunityTimeProperty, value); err != nil { return err } + default: _, _ = key, value @@ -51805,6 +54437,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimeProp } sv.ImmunityTime = ptr.Int64(i64) } + default: _, _ = key, value @@ -51844,6 +54477,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Arn = ptr.String(jtv) } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -51856,14 +54490,17 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Capacity = ptr.Int64(i64) } + case "CaptchaConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigDetails(&sv.CaptchaConfig, value); err != nil { return err } + case "DefaultAction": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclActionDetails(&sv.DefaultAction, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -51872,6 +54509,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -51880,6 +54518,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Id = ptr.String(jtv) } + case "ManagedbyFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -51888,6 +54527,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.ManagedbyFirewallManager = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51896,14 +54536,17 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafv2RulesList(&sv.Rules, value); err != nil { return err } + case "VisibilityConfig": if err := awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -51943,6 +54586,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.DefaultAction = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -51951,10 +54595,12 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsRestjson1_deserializeDocumentAwsWafWebAclRuleList(&sv.Rules, value); err != nil { return err } + case "WebAclId": if value != nil { jtv, ok := value.(string) @@ -51963,6 +54609,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclDetails(v **types.AwsWafWebAclD } sv.WebAclId = ptr.String(jtv) } + default: _, _ = key, value @@ -51998,14 +54645,17 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule if err := awsRestjson1_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } + case "ExcludedRules": if err := awsRestjson1_deserializeDocumentWafExcludedRuleList(&sv.ExcludedRules, value); err != nil { return err } + case "OverrideAction": if err := awsRestjson1_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -52018,6 +54668,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -52026,6 +54677,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -52034,6 +54686,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -52107,6 +54760,7 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.KeyId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52115,6 +54769,7 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.Status = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -52123,6 +54778,7 @@ func awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(v **types.Aw } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -52162,6 +54818,7 @@ func awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFinding(v **t } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -52170,10 +54827,12 @@ func awsRestjson1_deserializeDocumentBatchUpdateFindingsUnprocessedFinding(v **t } sv.ErrorMessage = ptr.String(jtv) } + case "FindingIdentifier": if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(&sv.FindingIdentifier, value); err != nil { return err } + default: _, _ = key, value @@ -52247,6 +54906,7 @@ func awsRestjson1_deserializeDocumentBooleanConfigurationOptions(v **types.Boole } sv.DefaultValue = ptr.Bool(jtv) } + default: _, _ = key, value @@ -52286,6 +54946,7 @@ func awsRestjson1_deserializeDocumentBooleanFilter(v **types.BooleanFilter, valu } sv.Value = ptr.Bool(jtv) } + default: _, _ = key, value @@ -52395,6 +55056,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.CellReference = ptr.String(jtv) } + case "Column": if value != nil { jtv, ok := value.(json.Number) @@ -52407,6 +55069,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Column = ptr.Int64(i64) } + case "ColumnName": if value != nil { jtv, ok := value.(string) @@ -52415,6 +55078,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.ColumnName = ptr.String(jtv) } + case "Row": if value != nil { jtv, ok := value.(json.Number) @@ -52427,6 +55091,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err } sv.Row = ptr.Int64(i64) } + default: _, _ = key, value @@ -52500,6 +55165,7 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.AssociationId = ptr.String(jtv) } + case "CidrBlock": if value != nil { jtv, ok := value.(string) @@ -52508,6 +55174,7 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.CidrBlock = ptr.String(jtv) } + case "CidrBlockState": if value != nil { jtv, ok := value.(string) @@ -52516,6 +55183,7 @@ func awsRestjson1_deserializeDocumentCidrBlockAssociation(v **types.CidrBlockAss } sv.CidrBlockState = ptr.String(jtv) } + default: _, _ = key, value @@ -52589,6 +55257,7 @@ func awsRestjson1_deserializeDocumentCity(v **types.City, value interface{}) err } sv.CityName = ptr.String(jtv) } + default: _, _ = key, value @@ -52628,10 +55297,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.AdditionalOccurrences = ptr.Bool(jtv) } + case "CustomDataIdentifiers": if err := awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(&sv.CustomDataIdentifiers, value); err != nil { return err } + case "MimeType": if value != nil { jtv, ok := value.(string) @@ -52640,10 +55311,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.MimeType = ptr.String(jtv) } + case "SensitiveData": if err := awsRestjson1_deserializeDocumentSensitiveDataResultList(&sv.SensitiveData, value); err != nil { return err } + case "SizeClassified": if value != nil { jtv, ok := value.(json.Number) @@ -52656,10 +55329,12 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati } sv.SizeClassified = ptr.Int64(i64) } + case "Status": if err := awsRestjson1_deserializeDocumentClassificationStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -52699,6 +55374,7 @@ func awsRestjson1_deserializeDocumentClassificationStatus(v **types.Classificati } sv.Code = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -52707,6 +55383,7 @@ func awsRestjson1_deserializeDocumentClassificationStatus(v **types.Classificati } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -52746,6 +55423,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.CloudWatchLogsLogGroupArn = ptr.String(jtv) } + case "HostedZoneId": if value != nil { jtv, ok := value.(string) @@ -52754,6 +55432,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.HostedZoneId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -52762,6 +55441,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroupArnConfigDetails(v ** } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -52805,6 +55485,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.EndLine = ptr.Int32(int32(i64)) } + case "FileName": if value != nil { jtv, ok := value.(string) @@ -52813,6 +55494,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.FileName = ptr.String(jtv) } + case "FilePath": if value != nil { jtv, ok := value.(string) @@ -52821,6 +55503,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.FilePath = ptr.String(jtv) } + case "StartLine": if value != nil { jtv, ok := value.(json.Number) @@ -52833,6 +55516,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV } sv.StartLine = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -52868,10 +55552,12 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte if err := awsRestjson1_deserializeDocumentAssociatedStandardsList(&sv.AssociatedStandards, value); err != nil { return err } + case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -52880,10 +55566,12 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.SecurityControlId = ptr.String(jtv) } + case "SecurityControlParameters": if err := awsRestjson1_deserializeDocumentSecurityControlParametersList(&sv.SecurityControlParameters, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -52892,10 +55580,12 @@ func awsRestjson1_deserializeDocumentCompliance(v **types.Compliance, value inte } sv.Status = types.ComplianceStatus(jtv) } + case "StatusReasons": if err := awsRestjson1_deserializeDocumentStatusReasonsList(&sv.StatusReasons, value); err != nil { return err } + default: _, _ = key, value @@ -53041,6 +55731,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociation(v **types.Co if err := awsRestjson1_deserializeDocumentTarget(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -53114,6 +55805,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationStatus = types.ConfigurationPolicyAssociationStatus(jtv) } + case "AssociationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -53122,6 +55814,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationStatusMessage = ptr.String(jtv) } + case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -53130,6 +55823,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.AssociationType = types.AssociationType(jtv) } + case "ConfigurationPolicyId": if value != nil { jtv, ok := value.(string) @@ -53138,6 +55832,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.ConfigurationPolicyId = ptr.String(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -53146,6 +55841,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -53154,6 +55850,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.TargetType = types.TargetType(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -53166,6 +55863,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicyAssociationSummary(v **t } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -53239,6 +55937,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -53247,6 +55946,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -53255,6 +55955,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53263,6 +55964,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.Name = ptr.String(jtv) } + case "ServiceEnabled": if value != nil { jtv, ok := value.(bool) @@ -53271,6 +55973,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.ServiceEnabled = ptr.Bool(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -53283,6 +55986,7 @@ func awsRestjson1_deserializeDocumentConfigurationPolicySummary(v **types.Config } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -53356,6 +56060,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ContainerRuntime = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -53364,6 +56069,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ImageId = ptr.String(jtv) } + case "ImageName": if value != nil { jtv, ok := value.(string) @@ -53372,6 +56078,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.ImageName = ptr.String(jtv) } + case "LaunchedAt": if value != nil { jtv, ok := value.(string) @@ -53380,6 +56087,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.LaunchedAt = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53388,6 +56096,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.Name = ptr.String(jtv) } + case "Privileged": if value != nil { jtv, ok := value.(bool) @@ -53396,10 +56105,12 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails } sv.Privileged = ptr.Bool(jtv) } + case "VolumeMounts": if err := awsRestjson1_deserializeDocumentVolumeMountList(&sv.VolumeMounts, value); err != nil { return err } + default: _, _ = key, value @@ -53439,6 +56150,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryCode = ptr.String(jtv) } + case "CountryName": if value != nil { jtv, ok := value.(string) @@ -53447,6 +56159,7 @@ func awsRestjson1_deserializeDocumentCountry(v **types.Country, value interface{ } sv.CountryName = ptr.String(jtv) } + default: _, _ = key, value @@ -53486,6 +56199,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Arn = ptr.String(jtv) } + case "Count": if value != nil { jtv, ok := value.(json.Number) @@ -53498,6 +56212,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Count = ptr.Int64(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -53506,10 +56221,12 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C } sv.Name = ptr.String(jtv) } + case "Occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } + default: _, _ = key, value @@ -53579,6 +56296,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(v **types.Custo if err := awsRestjson1_deserializeDocumentCustomDataIdentifiersDetectionsList(&sv.Detections, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -53591,6 +56309,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(v **types.Custo } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -53662,6 +56381,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err if err := awsRestjson1_deserializeDocumentAdjustmentList(&sv.Adjustments, value); err != nil { return err } + case "BaseScore": if value != nil { switch jtv := value.(type) { @@ -53695,6 +56415,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } } + case "BaseVector": if value != nil { jtv, ok := value.(string) @@ -53703,6 +56424,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.BaseVector = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -53711,6 +56433,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.Source = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -53719,6 +56442,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -53792,10 +56516,12 @@ func awsRestjson1_deserializeDocumentDataClassificationDetails(v **types.DataCla } sv.DetailedResultsLocation = ptr.String(jtv) } + case "Result": if err := awsRestjson1_deserializeDocumentClassificationResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -53831,6 +56557,7 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte if err := awsRestjson1_deserializeDocumentDateRange(&sv.DateRange, value); err != nil { return err } + case "End": if value != nil { jtv, ok := value.(string) @@ -53839,6 +56566,7 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } sv.End = ptr.String(jtv) } + case "Start": if value != nil { jtv, ok := value.(string) @@ -53847,6 +56575,7 @@ func awsRestjson1_deserializeDocumentDateFilter(v **types.DateFilter, value inte } sv.Start = ptr.String(jtv) } + default: _, _ = key, value @@ -53920,6 +56649,7 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } sv.Unit = types.DateRangeUnit(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -53932,6 +56662,7 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf } sv.Value = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54007,6 +56738,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Blocked = ptr.Bool(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -54015,6 +56747,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Domain = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -54023,6 +56756,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction } sv.Protocol = ptr.String(jtv) } + default: _, _ = key, value @@ -54087,6 +56821,7 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } + case "Max": if value != nil { switch jtv := value.(type) { @@ -54120,6 +56855,7 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } + case "Min": if value != nil { switch jtv := value.(type) { @@ -54153,6 +56889,7 @@ func awsRestjson1_deserializeDocumentDoubleConfigurationOptions(v **types.Double } } + default: _, _ = key, value @@ -54260,6 +56997,7 @@ func awsRestjson1_deserializeDocumentEnumConfigurationOptions(v **types.EnumConf if err := awsRestjson1_deserializeDocumentStringList(&sv.AllowedValues, value); err != nil { return err } + case "DefaultValue": if value != nil { jtv, ok := value.(string) @@ -54268,6 +57006,7 @@ func awsRestjson1_deserializeDocumentEnumConfigurationOptions(v **types.EnumConf } sv.DefaultValue = ptr.String(jtv) } + default: _, _ = key, value @@ -54303,10 +57042,12 @@ func awsRestjson1_deserializeDocumentEnumListConfigurationOptions(v **types.Enum if err := awsRestjson1_deserializeDocumentStringList(&sv.AllowedValues, value); err != nil { return err } + case "DefaultValue": if err := awsRestjson1_deserializeDocumentStringList(&sv.DefaultValue, value); err != nil { return err } + case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -54319,6 +57060,7 @@ func awsRestjson1_deserializeDocumentEnumListConfigurationOptions(v **types.Enum } sv.MaxItems = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -54428,6 +57170,7 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.FileName = ptr.String(jtv) } + case "FilePath": if value != nil { jtv, ok := value.(string) @@ -54436,6 +57179,7 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.FilePath = ptr.String(jtv) } + case "Hash": if value != nil { jtv, ok := value.(string) @@ -54444,6 +57188,7 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.Hash = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -54452,6 +57197,7 @@ func awsRestjson1_deserializeDocumentFilePaths(v **types.FilePaths, value interf } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -54491,6 +57237,7 @@ func awsRestjson1_deserializeDocumentFindingAggregator(v **types.FindingAggregat } sv.FindingAggregatorArn = ptr.String(jtv) } + default: _, _ = key, value @@ -54564,10 +57311,12 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.FindingCreated = ptr.Bool(jtv) } + case "FindingIdentifier": if err := awsRestjson1_deserializeDocumentAwsSecurityFindingIdentifier(&sv.FindingIdentifier, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -54576,14 +57325,17 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.NextToken = ptr.String(jtv) } + case "Updates": if err := awsRestjson1_deserializeDocumentFindingHistoryUpdatesList(&sv.Updates, value); err != nil { return err } + case "UpdateSource": if err := awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(&sv.UpdateSource, value); err != nil { return err } + case "UpdateTime": if value != nil { jtv, ok := value.(string) @@ -54596,6 +57348,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto } sv.UpdateTime = ptr.Time(t) } + default: _, _ = key, value @@ -54669,6 +57422,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.NewValue = ptr.String(jtv) } + case "OldValue": if value != nil { jtv, ok := value.(string) @@ -54677,6 +57431,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.OldValue = ptr.String(jtv) } + case "UpdatedField": if value != nil { jtv, ok := value.(string) @@ -54685,6 +57440,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdate(v **types.FindingHisto } sv.UpdatedField = ptr.String(jtv) } + default: _, _ = key, value @@ -54758,6 +57514,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(v **types.Findin } sv.Identity = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -54766,6 +57523,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryUpdateSource(v **types.Findin } sv.Type = types.FindingHistoryUpdateSourceType(jtv) } + default: _, _ = key, value @@ -54809,6 +57567,7 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv } sv.Confidence = ptr.Int32(int32(i64)) } + case "Criticality": if value != nil { jtv, ok := value.(json.Number) @@ -54821,18 +57580,22 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv } sv.Criticality = ptr.Int32(int32(i64)) } + case "RelatedFindings": if err := awsRestjson1_deserializeDocumentRelatedFindingList(&sv.RelatedFindings, value); err != nil { return err } + case "Severity": if err := awsRestjson1_deserializeDocumentFindingProviderSeverity(&sv.Severity, value); err != nil { return err } + case "Types": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -54872,6 +57635,7 @@ func awsRestjson1_deserializeDocumentFindingProviderSeverity(v **types.FindingPr } sv.Label = types.SeverityLabel(jtv) } + case "Original": if value != nil { jtv, ok := value.(string) @@ -54880,6 +57644,7 @@ func awsRestjson1_deserializeDocumentFindingProviderSeverity(v **types.FindingPr } sv.Original = ptr.String(jtv) } + default: _, _ = key, value @@ -54915,22 +57680,27 @@ func awsRestjson1_deserializeDocumentFirewallPolicyDetails(v **types.FirewallPol if err := awsRestjson1_deserializeDocumentFirewallPolicyStatefulRuleGroupReferencesList(&sv.StatefulRuleGroupReferences, value); err != nil { return err } + case "StatelessCustomActions": if err := awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsList(&sv.StatelessCustomActions, value); err != nil { return err } + case "StatelessDefaultActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.StatelessDefaultActions, value); err != nil { return err } + case "StatelessFragmentDefaultActions": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.StatelessFragmentDefaultActions, value); err != nil { return err } + case "StatelessRuleGroupReferences": if err := awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesList(&sv.StatelessRuleGroupReferences, value); err != nil { return err } + default: _, _ = key, value @@ -54970,6 +57740,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatefulRuleGroupReferencesDe } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -55039,6 +57810,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsDetails if err := awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(&sv.ActionDefinition, value); err != nil { return err } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -55047,6 +57819,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessCustomActionsDetails } sv.ActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -55124,6 +57897,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesD } sv.Priority = ptr.Int32(int32(i64)) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -55132,6 +57906,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesD } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -55205,10 +57980,12 @@ func awsRestjson1_deserializeDocumentGeneratorDetails(v **types.GeneratorDetails } sv.Description = ptr.String(jtv) } + case "Labels": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Labels, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55217,6 +57994,7 @@ func awsRestjson1_deserializeDocumentGeneratorDetails(v **types.GeneratorDetails } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -55281,6 +58059,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } + case "Lon": if value != nil { switch jtv := value.(type) { @@ -55314,6 +58093,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in } } + default: _, _ = key, value @@ -55357,6 +58137,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Code = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(json.Number) @@ -55369,6 +58150,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value } sv.Type = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55408,6 +58190,7 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -55416,6 +58199,7 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -55424,6 +58208,7 @@ func awsRestjson1_deserializeDocumentImportFindingsError(v **types.ImportFinding } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -55493,6 +58278,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentAwsSecurityFindingFilters(&sv.Filters, value); err != nil { return err } + case "GroupByAttribute": if value != nil { jtv, ok := value.(string) @@ -55501,6 +58287,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupByAttribute = ptr.String(jtv) } + case "InsightArn": if value != nil { jtv, ok := value.(string) @@ -55509,6 +58296,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -55517,6 +58305,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -55590,6 +58379,7 @@ func awsRestjson1_deserializeDocumentInsightResults(v **types.InsightResults, va } sv.GroupByAttribute = ptr.String(jtv) } + case "InsightArn": if value != nil { jtv, ok := value.(string) @@ -55598,10 +58388,12 @@ func awsRestjson1_deserializeDocumentInsightResults(v **types.InsightResults, va } sv.InsightArn = ptr.String(jtv) } + case "ResultValues": if err := awsRestjson1_deserializeDocumentInsightResultValueList(&sv.ResultValues, value); err != nil { return err } + default: _, _ = key, value @@ -55645,6 +58437,7 @@ func awsRestjson1_deserializeDocumentInsightResultValue(v **types.InsightResultV } sv.Count = ptr.Int32(int32(i64)) } + case "GroupByAttributeValue": if value != nil { jtv, ok := value.(string) @@ -55653,6 +58446,7 @@ func awsRestjson1_deserializeDocumentInsightResultValue(v **types.InsightResultV } sv.GroupByAttributeValue = ptr.String(jtv) } + default: _, _ = key, value @@ -55730,6 +58524,7 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.DefaultValue = ptr.Int32(int32(i64)) } + case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -55742,6 +58537,7 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.Max = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -55754,6 +58550,7 @@ func awsRestjson1_deserializeDocumentIntegerConfigurationOptions(v **types.Integ } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55829,6 +58626,7 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I if err := awsRestjson1_deserializeDocumentIntegerList(&sv.DefaultValue, value); err != nil { return err } + case "Max": if value != nil { jtv, ok := value.(json.Number) @@ -55841,6 +58639,7 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.Max = ptr.Int32(int32(i64)) } + case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -55853,6 +58652,7 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.MaxItems = ptr.Int32(int32(i64)) } + case "Min": if value != nil { jtv, ok := value.(json.Number) @@ -55865,6 +58665,7 @@ func awsRestjson1_deserializeDocumentIntegerListConfigurationOptions(v **types.I } sv.Min = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -55940,6 +58741,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -55948,6 +58750,7 @@ func awsRestjson1_deserializeDocumentInternalException(v **types.InternalExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -55987,6 +58790,7 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -55995,6 +58799,7 @@ func awsRestjson1_deserializeDocumentInvalidAccessException(v **types.InvalidAcc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56034,6 +58839,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -56042,6 +58848,7 @@ func awsRestjson1_deserializeDocumentInvalidInputException(v **types.InvalidInpu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56081,6 +58888,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.AccountId = ptr.String(jtv) } + case "InvitationId": if value != nil { jtv, ok := value.(string) @@ -56089,6 +58897,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitationId = ptr.String(jtv) } + case "InvitedAt": if value != nil { jtv, ok := value.(string) @@ -56101,6 +58910,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.InvitedAt = ptr.Time(t) } + case "MemberStatus": if value != nil { jtv, ok := value.(string) @@ -56109,6 +58919,7 @@ func awsRestjson1_deserializeDocumentInvitation(v **types.Invitation, value inte } sv.MemberStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -56182,6 +58993,7 @@ func awsRestjson1_deserializeDocumentIpFilter(v **types.IpFilter, value interfac } sv.Cidr = ptr.String(jtv) } + default: _, _ = key, value @@ -56259,6 +59071,7 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Asn = ptr.Int32(int32(i64)) } + case "AsnOrg": if value != nil { jtv, ok := value.(string) @@ -56267,6 +59080,7 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.AsnOrg = ptr.String(jtv) } + case "Isp": if value != nil { jtv, ok := value.(string) @@ -56275,6 +59089,7 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Isp = ptr.String(jtv) } + case "Org": if value != nil { jtv, ok := value.(string) @@ -56283,6 +59098,7 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat } sv.Org = ptr.String(jtv) } + default: _, _ = key, value @@ -56322,6 +59138,7 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.AssociationId = ptr.String(jtv) } + case "CidrBlockState": if value != nil { jtv, ok := value.(string) @@ -56330,6 +59147,7 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.CidrBlockState = ptr.String(jtv) } + case "Ipv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -56338,6 +59156,7 @@ func awsRestjson1_deserializeDocumentIpv6CidrBlockAssociation(v **types.Ipv6Cidr } sv.Ipv6CidrBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -56411,6 +59230,7 @@ func awsRestjson1_deserializeDocumentKeywordFilter(v **types.KeywordFilter, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -56484,6 +59304,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -56492,6 +59313,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -56531,6 +59353,7 @@ func awsRestjson1_deserializeDocumentLoadBalancerState(v **types.LoadBalancerSta } sv.Code = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -56539,6 +59362,7 @@ func awsRestjson1_deserializeDocumentLoadBalancerState(v **types.LoadBalancerSta } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -56578,6 +59402,7 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Name = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -56586,6 +59411,7 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Path = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -56594,6 +59420,7 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.State = types.MalwareState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -56602,6 +59429,7 @@ func awsRestjson1_deserializeDocumentMalware(v **types.Malware, value interface{ } sv.Type = types.MalwareType(jtv) } + default: _, _ = key, value @@ -56675,6 +59503,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Comparison = types.MapFilterComparison(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -56683,6 +59512,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -56691,6 +59521,7 @@ func awsRestjson1_deserializeDocumentMapFilter(v **types.MapFilter, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -56764,6 +59595,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "AdministratorId": if value != nil { jtv, ok := value.(string) @@ -56772,6 +59604,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.AdministratorId = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -56780,6 +59613,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Email = ptr.String(jtv) } + case "InvitedAt": if value != nil { jtv, ok := value.(string) @@ -56792,6 +59626,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.InvitedAt = ptr.Time(t) } + case "MasterId": if value != nil { jtv, ok := value.(string) @@ -56800,6 +59635,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MasterId = ptr.String(jtv) } + case "MemberStatus": if value != nil { jtv, ok := value.(string) @@ -56808,6 +59644,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.MemberStatus = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -56820,6 +59657,7 @@ func awsRestjson1_deserializeDocumentMember(v **types.Member, value interface{}) } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -56893,6 +59731,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationDomain = ptr.String(jtv) } + case "DestinationIpV4": if value != nil { jtv, ok := value.(string) @@ -56901,6 +59740,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationIpV4 = ptr.String(jtv) } + case "DestinationIpV6": if value != nil { jtv, ok := value.(string) @@ -56909,6 +59749,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationIpV6 = ptr.String(jtv) } + case "DestinationPort": if value != nil { jtv, ok := value.(json.Number) @@ -56921,6 +59762,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.DestinationPort = ptr.Int32(int32(i64)) } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -56929,10 +59771,12 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Direction = types.NetworkDirection(jtv) } + case "OpenPortRange": if err := awsRestjson1_deserializeDocumentPortRange(&sv.OpenPortRange, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -56941,6 +59785,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.Protocol = ptr.String(jtv) } + case "SourceDomain": if value != nil { jtv, ok := value.(string) @@ -56949,6 +59794,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceDomain = ptr.String(jtv) } + case "SourceIpV4": if value != nil { jtv, ok := value.(string) @@ -56957,6 +59803,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceIpV4 = ptr.String(jtv) } + case "SourceIpV6": if value != nil { jtv, ok := value.(string) @@ -56965,6 +59812,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceIpV6 = ptr.String(jtv) } + case "SourceMac": if value != nil { jtv, ok := value.(string) @@ -56973,6 +59821,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourceMac = ptr.String(jtv) } + case "SourcePort": if value != nil { jtv, ok := value.(json.Number) @@ -56985,6 +59834,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ } sv.SourcePort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -57024,6 +59874,7 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Blocked = ptr.Bool(jtv) } + case "ConnectionDirection": if value != nil { jtv, ok := value.(string) @@ -57032,10 +59883,12 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.ConnectionDirection = ptr.String(jtv) } + case "LocalPortDetails": if err := awsRestjson1_deserializeDocumentActionLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -57044,14 +59897,17 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo } sv.Protocol = ptr.String(jtv) } + case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + case "RemotePortDetails": if err := awsRestjson1_deserializeDocumentActionRemotePortDetails(&sv.RemotePortDetails, value); err != nil { return err } + default: _, _ = key, value @@ -57087,6 +59943,7 @@ func awsRestjson1_deserializeDocumentNetworkHeader(v **types.NetworkHeader, valu if err := awsRestjson1_deserializeDocumentNetworkPathComponentDetails(&sv.Destination, value); err != nil { return err } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -57095,10 +59952,12 @@ func awsRestjson1_deserializeDocumentNetworkHeader(v **types.NetworkHeader, valu } sv.Protocol = ptr.String(jtv) } + case "Source": if err := awsRestjson1_deserializeDocumentNetworkPathComponentDetails(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -57138,6 +59997,7 @@ func awsRestjson1_deserializeDocumentNetworkPathComponent(v **types.NetworkPathC } sv.ComponentId = ptr.String(jtv) } + case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -57146,14 +60006,17 @@ func awsRestjson1_deserializeDocumentNetworkPathComponent(v **types.NetworkPathC } sv.ComponentType = ptr.String(jtv) } + case "Egress": if err := awsRestjson1_deserializeDocumentNetworkHeader(&sv.Egress, value); err != nil { return err } + case "Ingress": if err := awsRestjson1_deserializeDocumentNetworkHeader(&sv.Ingress, value); err != nil { return err } + default: _, _ = key, value @@ -57189,10 +60052,12 @@ func awsRestjson1_deserializeDocumentNetworkPathComponentDetails(v **types.Netwo if err := awsRestjson1_deserializeDocumentStringList(&sv.Address, value); err != nil { return err } + case "PortRanges": if err := awsRestjson1_deserializeDocumentPortRangeList(&sv.PortRanges, value); err != nil { return err } + default: _, _ = key, value @@ -57302,6 +60167,7 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.Text = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -57310,6 +60176,7 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.UpdatedAt = ptr.String(jtv) } + case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -57318,6 +60185,7 @@ func awsRestjson1_deserializeDocumentNote(v **types.Note, value interface{}) err } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -57357,6 +60225,7 @@ func awsRestjson1_deserializeDocumentNoteUpdate(v **types.NoteUpdate, value inte } sv.Text = ptr.String(jtv) } + case "UpdatedBy": if value != nil { jtv, ok := value.(string) @@ -57365,6 +60234,7 @@ func awsRestjson1_deserializeDocumentNoteUpdate(v **types.NoteUpdate, value inte } sv.UpdatedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -57429,6 +60299,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + case "Gt": if value != nil { switch jtv := value.(type) { @@ -57462,6 +60333,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + case "Gte": if value != nil { switch jtv := value.(type) { @@ -57495,6 +60367,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + case "Lt": if value != nil { switch jtv := value.(type) { @@ -57528,6 +60401,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + case "Lte": if value != nil { switch jtv := value.(type) { @@ -57561,6 +60435,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value } } + default: _, _ = key, value @@ -57630,22 +60505,27 @@ func awsRestjson1_deserializeDocumentOccurrences(v **types.Occurrences, value in if err := awsRestjson1_deserializeDocumentCells(&sv.Cells, value); err != nil { return err } + case "LineRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.LineRanges, value); err != nil { return err } + case "OffsetRanges": if err := awsRestjson1_deserializeDocumentRanges(&sv.OffsetRanges, value); err != nil { return err } + case "Pages": if err := awsRestjson1_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } + case "Records": if err := awsRestjson1_deserializeDocumentRecords(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -57685,6 +60565,7 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.ConfigurationType = types.OrganizationConfigurationConfigurationType(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -57693,6 +60574,7 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.Status = types.OrganizationConfigurationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -57701,6 +60583,7 @@ func awsRestjson1_deserializeDocumentOrganizationConfiguration(v **types.Organiz } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -57736,10 +60619,12 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err if err := awsRestjson1_deserializeDocumentRange(&sv.LineRange, value); err != nil { return err } + case "OffsetRange": if err := awsRestjson1_deserializeDocumentRange(&sv.OffsetRange, value); err != nil { return err } + case "PageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -57752,6 +60637,7 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageNumber = ptr.Int64(i64) } + default: _, _ = key, value @@ -57821,6 +60707,7 @@ func awsRestjson1_deserializeDocumentParameterConfiguration(v **types.ParameterC if err := awsRestjson1_deserializeDocumentParameterValue(&sv.Value, value); err != nil { return err } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -57829,6 +60716,7 @@ func awsRestjson1_deserializeDocumentParameterConfiguration(v **types.ParameterC } sv.ValueType = types.ParameterValueType(jtv) } + default: _, _ = key, value @@ -57864,6 +60752,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi if err := awsRestjson1_deserializeDocumentConfigurationOptions(&sv.ConfigurationOptions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -57872,6 +60761,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -58128,6 +61018,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.FailedCount = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -58136,6 +61027,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.Id = ptr.String(jtv) } + case "InstalledCount": if value != nil { jtv, ok := value.(json.Number) @@ -58148,6 +61040,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledCount = ptr.Int32(int32(i64)) } + case "InstalledOtherCount": if value != nil { jtv, ok := value.(json.Number) @@ -58160,6 +61053,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledOtherCount = ptr.Int32(int32(i64)) } + case "InstalledPendingReboot": if value != nil { jtv, ok := value.(json.Number) @@ -58172,6 +61066,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledPendingReboot = ptr.Int32(int32(i64)) } + case "InstalledRejectedCount": if value != nil { jtv, ok := value.(json.Number) @@ -58184,6 +61079,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.InstalledRejectedCount = ptr.Int32(int32(i64)) } + case "MissingCount": if value != nil { jtv, ok := value.(json.Number) @@ -58196,6 +61092,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.MissingCount = ptr.Int32(int32(i64)) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -58204,6 +61101,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.Operation = ptr.String(jtv) } + case "OperationEndTime": if value != nil { jtv, ok := value.(string) @@ -58212,6 +61110,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.OperationEndTime = ptr.String(jtv) } + case "OperationStartTime": if value != nil { jtv, ok := value.(string) @@ -58220,6 +61119,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.OperationStartTime = ptr.String(jtv) } + case "RebootOption": if value != nil { jtv, ok := value.(string) @@ -58228,6 +61128,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value } sv.RebootOption = ptr.String(jtv) } + default: _, _ = key, value @@ -58307,10 +61208,12 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, } sv.Blocked = ptr.Bool(jtv) } + case "PortProbeDetails": if err := awsRestjson1_deserializeDocumentPortProbeDetailList(&sv.PortProbeDetails, value); err != nil { return err } + default: _, _ = key, value @@ -58346,14 +61249,17 @@ func awsRestjson1_deserializeDocumentPortProbeDetail(v **types.PortProbeDetail, if err := awsRestjson1_deserializeDocumentActionLocalIpDetails(&sv.LocalIpDetails, value); err != nil { return err } + case "LocalPortDetails": if err := awsRestjson1_deserializeDocumentActionLocalPortDetails(&sv.LocalPortDetails, value); err != nil { return err } + case "RemoteIpDetails": if err := awsRestjson1_deserializeDocumentActionRemoteIpDetails(&sv.RemoteIpDetails, value); err != nil { return err } + default: _, _ = key, value @@ -58431,6 +61337,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.Begin = ptr.Int32(int32(i64)) } + case "End": if value != nil { jtv, ok := value.(json.Number) @@ -58443,6 +61350,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf } sv.End = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -58486,6 +61394,7 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, } sv.From = ptr.Int32(int32(i64)) } + case "To": if value != nil { jtv, ok := value.(json.Number) @@ -58498,6 +61407,7 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, } sv.To = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -58571,6 +61481,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.LaunchedAt = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -58579,6 +61490,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Name = ptr.String(jtv) } + case "ParentPid": if value != nil { jtv, ok := value.(json.Number) @@ -58591,6 +61503,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.ParentPid = ptr.Int32(int32(i64)) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -58599,6 +61512,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Path = ptr.String(jtv) } + case "Pid": if value != nil { jtv, ok := value.(json.Number) @@ -58611,6 +61525,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.Pid = ptr.Int32(int32(i64)) } + case "TerminatedAt": if value != nil { jtv, ok := value.(string) @@ -58619,6 +61534,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va } sv.TerminatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -58658,10 +61574,12 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ActivationUrl = ptr.String(jtv) } + case "Categories": if err := awsRestjson1_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "CompanyName": if value != nil { jtv, ok := value.(string) @@ -58670,6 +61588,7 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.CompanyName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -58678,10 +61597,12 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.Description = ptr.String(jtv) } + case "IntegrationTypes": if err := awsRestjson1_deserializeDocumentIntegrationTypeList(&sv.IntegrationTypes, value); err != nil { return err } + case "MarketplaceUrl": if value != nil { jtv, ok := value.(string) @@ -58690,6 +61611,7 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.MarketplaceUrl = ptr.String(jtv) } + case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -58698,6 +61620,7 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductArn = ptr.String(jtv) } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -58706,6 +61629,7 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductName = ptr.String(jtv) } + case "ProductSubscriptionResourcePolicy": if value != nil { jtv, ok := value.(string) @@ -58714,6 +61638,7 @@ func awsRestjson1_deserializeDocumentProduct(v **types.Product, value interface{ } sv.ProductSubscriptionResourcePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -58823,6 +61748,7 @@ func awsRestjson1_deserializeDocumentPropagatingVgwSetDetails(v **types.Propagat } sv.GatewayId = ptr.String(jtv) } + default: _, _ = key, value @@ -58900,6 +61826,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.End = ptr.Int64(i64) } + case "Start": if value != nil { jtv, ok := value.(json.Number) @@ -58912,6 +61839,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.Start = ptr.Int64(i64) } + case "StartColumn": if value != nil { jtv, ok := value.(json.Number) @@ -58924,6 +61852,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e } sv.StartColumn = ptr.Int64(i64) } + default: _, _ = key, value @@ -58997,6 +61926,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Text = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -59005,6 +61935,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -59044,6 +61975,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.JsonPath = ptr.String(jtv) } + case "RecordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -59056,6 +61988,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) } sv.RecordIndex = ptr.Int64(i64) } + default: _, _ = key, value @@ -59129,6 +62062,7 @@ func awsRestjson1_deserializeDocumentRelatedFinding(v **types.RelatedFinding, va } sv.Id = ptr.String(jtv) } + case "ProductArn": if value != nil { jtv, ok := value.(string) @@ -59137,6 +62071,7 @@ func awsRestjson1_deserializeDocumentRelatedFinding(v **types.RelatedFinding, va } sv.ProductArn = ptr.String(jtv) } + default: _, _ = key, value @@ -59242,6 +62177,7 @@ func awsRestjson1_deserializeDocumentRemediation(v **types.Remediation, value in if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } + default: _, _ = key, value @@ -59281,6 +62217,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ApplicationArn = ptr.String(jtv) } + case "ApplicationName": if value != nil { jtv, ok := value.(string) @@ -59289,14 +62226,17 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ApplicationName = ptr.String(jtv) } + case "DataClassification": if err := awsRestjson1_deserializeDocumentDataClassificationDetails(&sv.DataClassification, value); err != nil { return err } + case "Details": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.Details, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -59305,6 +62245,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "Partition": if value != nil { jtv, ok := value.(string) @@ -59313,6 +62254,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Partition = types.Partition(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -59321,6 +62263,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Region = ptr.String(jtv) } + case "ResourceRole": if value != nil { jtv, ok := value.(string) @@ -59329,10 +62272,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceRole = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -59341,6 +62286,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -59380,6 +62326,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -59388,6 +62335,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59423,398 +62371,497 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, if err := awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(&sv.AwsAmazonMqBroker, value); err != nil { return err } + case "AwsApiGatewayRestApi": if err := awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(&sv.AwsApiGatewayRestApi, value); err != nil { return err } + case "AwsApiGatewayStage": if err := awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(&sv.AwsApiGatewayStage, value); err != nil { return err } + case "AwsApiGatewayV2Api": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2ApiDetails(&sv.AwsApiGatewayV2Api, value); err != nil { return err } + case "AwsApiGatewayV2Stage": if err := awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(&sv.AwsApiGatewayV2Stage, value); err != nil { return err } + case "AwsAppSyncGraphQlApi": if err := awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(&sv.AwsAppSyncGraphQlApi, value); err != nil { return err } + case "AwsAthenaWorkGroup": if err := awsRestjson1_deserializeDocumentAwsAthenaWorkGroupDetails(&sv.AwsAthenaWorkGroup, value); err != nil { return err } + case "AwsAutoScalingAutoScalingGroup": if err := awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(&sv.AwsAutoScalingAutoScalingGroup, value); err != nil { return err } + case "AwsAutoScalingLaunchConfiguration": if err := awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(&sv.AwsAutoScalingLaunchConfiguration, value); err != nil { return err } + case "AwsBackupBackupPlan": if err := awsRestjson1_deserializeDocumentAwsBackupBackupPlanDetails(&sv.AwsBackupBackupPlan, value); err != nil { return err } + case "AwsBackupBackupVault": if err := awsRestjson1_deserializeDocumentAwsBackupBackupVaultDetails(&sv.AwsBackupBackupVault, value); err != nil { return err } + case "AwsBackupRecoveryPoint": if err := awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(&sv.AwsBackupRecoveryPoint, value); err != nil { return err } + case "AwsCertificateManagerCertificate": if err := awsRestjson1_deserializeDocumentAwsCertificateManagerCertificateDetails(&sv.AwsCertificateManagerCertificate, value); err != nil { return err } + case "AwsCloudFormationStack": if err := awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(&sv.AwsCloudFormationStack, value); err != nil { return err } + case "AwsCloudFrontDistribution": if err := awsRestjson1_deserializeDocumentAwsCloudFrontDistributionDetails(&sv.AwsCloudFrontDistribution, value); err != nil { return err } + case "AwsCloudTrailTrail": if err := awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(&sv.AwsCloudTrailTrail, value); err != nil { return err } + case "AwsCloudWatchAlarm": if err := awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(&sv.AwsCloudWatchAlarm, value); err != nil { return err } + case "AwsCodeBuildProject": if err := awsRestjson1_deserializeDocumentAwsCodeBuildProjectDetails(&sv.AwsCodeBuildProject, value); err != nil { return err } + case "AwsDmsEndpoint": if err := awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(&sv.AwsDmsEndpoint, value); err != nil { return err } + case "AwsDmsReplicationInstance": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(&sv.AwsDmsReplicationInstance, value); err != nil { return err } + case "AwsDmsReplicationTask": if err := awsRestjson1_deserializeDocumentAwsDmsReplicationTaskDetails(&sv.AwsDmsReplicationTask, value); err != nil { return err } + case "AwsDynamoDbTable": if err := awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(&sv.AwsDynamoDbTable, value); err != nil { return err } + case "AwsEc2ClientVpnEndpoint": if err := awsRestjson1_deserializeDocumentAwsEc2ClientVpnEndpointDetails(&sv.AwsEc2ClientVpnEndpoint, value); err != nil { return err } + case "AwsEc2Eip": if err := awsRestjson1_deserializeDocumentAwsEc2EipDetails(&sv.AwsEc2Eip, value); err != nil { return err } + case "AwsEc2Instance": if err := awsRestjson1_deserializeDocumentAwsEc2InstanceDetails(&sv.AwsEc2Instance, value); err != nil { return err } + case "AwsEc2LaunchTemplate": if err := awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(&sv.AwsEc2LaunchTemplate, value); err != nil { return err } + case "AwsEc2NetworkAcl": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(&sv.AwsEc2NetworkAcl, value); err != nil { return err } + case "AwsEc2NetworkInterface": if err := awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(&sv.AwsEc2NetworkInterface, value); err != nil { return err } + case "AwsEc2RouteTable": if err := awsRestjson1_deserializeDocumentAwsEc2RouteTableDetails(&sv.AwsEc2RouteTable, value); err != nil { return err } + case "AwsEc2SecurityGroup": if err := awsRestjson1_deserializeDocumentAwsEc2SecurityGroupDetails(&sv.AwsEc2SecurityGroup, value); err != nil { return err } + case "AwsEc2Subnet": if err := awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(&sv.AwsEc2Subnet, value); err != nil { return err } + case "AwsEc2TransitGateway": if err := awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(&sv.AwsEc2TransitGateway, value); err != nil { return err } + case "AwsEc2Volume": if err := awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(&sv.AwsEc2Volume, value); err != nil { return err } + case "AwsEc2Vpc": if err := awsRestjson1_deserializeDocumentAwsEc2VpcDetails(&sv.AwsEc2Vpc, value); err != nil { return err } + case "AwsEc2VpcEndpointService": if err := awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(&sv.AwsEc2VpcEndpointService, value); err != nil { return err } + case "AwsEc2VpcPeeringConnection": if err := awsRestjson1_deserializeDocumentAwsEc2VpcPeeringConnectionDetails(&sv.AwsEc2VpcPeeringConnection, value); err != nil { return err } + case "AwsEc2VpnConnection": if err := awsRestjson1_deserializeDocumentAwsEc2VpnConnectionDetails(&sv.AwsEc2VpnConnection, value); err != nil { return err } + case "AwsEcrContainerImage": if err := awsRestjson1_deserializeDocumentAwsEcrContainerImageDetails(&sv.AwsEcrContainerImage, value); err != nil { return err } + case "AwsEcrRepository": if err := awsRestjson1_deserializeDocumentAwsEcrRepositoryDetails(&sv.AwsEcrRepository, value); err != nil { return err } + case "AwsEcsCluster": if err := awsRestjson1_deserializeDocumentAwsEcsClusterDetails(&sv.AwsEcsCluster, value); err != nil { return err } + case "AwsEcsContainer": if err := awsRestjson1_deserializeDocumentAwsEcsContainerDetails(&sv.AwsEcsContainer, value); err != nil { return err } + case "AwsEcsService": if err := awsRestjson1_deserializeDocumentAwsEcsServiceDetails(&sv.AwsEcsService, value); err != nil { return err } + case "AwsEcsTask": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDetails(&sv.AwsEcsTask, value); err != nil { return err } + case "AwsEcsTaskDefinition": if err := awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionDetails(&sv.AwsEcsTaskDefinition, value); err != nil { return err } + case "AwsEfsAccessPoint": if err := awsRestjson1_deserializeDocumentAwsEfsAccessPointDetails(&sv.AwsEfsAccessPoint, value); err != nil { return err } + case "AwsEksCluster": if err := awsRestjson1_deserializeDocumentAwsEksClusterDetails(&sv.AwsEksCluster, value); err != nil { return err } + case "AwsElasticBeanstalkEnvironment": if err := awsRestjson1_deserializeDocumentAwsElasticBeanstalkEnvironmentDetails(&sv.AwsElasticBeanstalkEnvironment, value); err != nil { return err } + case "AwsElasticsearchDomain": if err := awsRestjson1_deserializeDocumentAwsElasticsearchDomainDetails(&sv.AwsElasticsearchDomain, value); err != nil { return err } + case "AwsElbLoadBalancer": if err := awsRestjson1_deserializeDocumentAwsElbLoadBalancerDetails(&sv.AwsElbLoadBalancer, value); err != nil { return err } + case "AwsElbv2LoadBalancer": if err := awsRestjson1_deserializeDocumentAwsElbv2LoadBalancerDetails(&sv.AwsElbv2LoadBalancer, value); err != nil { return err } + case "AwsEventSchemasRegistry": if err := awsRestjson1_deserializeDocumentAwsEventSchemasRegistryDetails(&sv.AwsEventSchemasRegistry, value); err != nil { return err } + case "AwsEventsEndpoint": if err := awsRestjson1_deserializeDocumentAwsEventsEndpointDetails(&sv.AwsEventsEndpoint, value); err != nil { return err } + case "AwsEventsEventbus": if err := awsRestjson1_deserializeDocumentAwsEventsEventbusDetails(&sv.AwsEventsEventbus, value); err != nil { return err } + case "AwsGuardDutyDetector": if err := awsRestjson1_deserializeDocumentAwsGuardDutyDetectorDetails(&sv.AwsGuardDutyDetector, value); err != nil { return err } + case "AwsIamAccessKey": if err := awsRestjson1_deserializeDocumentAwsIamAccessKeyDetails(&sv.AwsIamAccessKey, value); err != nil { return err } + case "AwsIamGroup": if err := awsRestjson1_deserializeDocumentAwsIamGroupDetails(&sv.AwsIamGroup, value); err != nil { return err } + case "AwsIamPolicy": if err := awsRestjson1_deserializeDocumentAwsIamPolicyDetails(&sv.AwsIamPolicy, value); err != nil { return err } + case "AwsIamRole": if err := awsRestjson1_deserializeDocumentAwsIamRoleDetails(&sv.AwsIamRole, value); err != nil { return err } + case "AwsIamUser": if err := awsRestjson1_deserializeDocumentAwsIamUserDetails(&sv.AwsIamUser, value); err != nil { return err } + case "AwsKinesisStream": if err := awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(&sv.AwsKinesisStream, value); err != nil { return err } + case "AwsKmsKey": if err := awsRestjson1_deserializeDocumentAwsKmsKeyDetails(&sv.AwsKmsKey, value); err != nil { return err } + case "AwsLambdaFunction": if err := awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(&sv.AwsLambdaFunction, value); err != nil { return err } + case "AwsLambdaLayerVersion": if err := awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(&sv.AwsLambdaLayerVersion, value); err != nil { return err } + case "AwsMskCluster": if err := awsRestjson1_deserializeDocumentAwsMskClusterDetails(&sv.AwsMskCluster, value); err != nil { return err } + case "AwsNetworkFirewallFirewall": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(&sv.AwsNetworkFirewallFirewall, value); err != nil { return err } + case "AwsNetworkFirewallFirewallPolicy": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallPolicyDetails(&sv.AwsNetworkFirewallFirewallPolicy, value); err != nil { return err } + case "AwsNetworkFirewallRuleGroup": if err := awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(&sv.AwsNetworkFirewallRuleGroup, value); err != nil { return err } + case "AwsOpenSearchServiceDomain": if err := awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDetails(&sv.AwsOpenSearchServiceDomain, value); err != nil { return err } + case "AwsRdsDbCluster": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(&sv.AwsRdsDbCluster, value); err != nil { return err } + case "AwsRdsDbClusterSnapshot": if err := awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(&sv.AwsRdsDbClusterSnapshot, value); err != nil { return err } + case "AwsRdsDbInstance": if err := awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(&sv.AwsRdsDbInstance, value); err != nil { return err } + case "AwsRdsDbSecurityGroup": if err := awsRestjson1_deserializeDocumentAwsRdsDbSecurityGroupDetails(&sv.AwsRdsDbSecurityGroup, value); err != nil { return err } + case "AwsRdsDbSnapshot": if err := awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(&sv.AwsRdsDbSnapshot, value); err != nil { return err } + case "AwsRdsEventSubscription": if err := awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(&sv.AwsRdsEventSubscription, value); err != nil { return err } + case "AwsRedshiftCluster": if err := awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(&sv.AwsRedshiftCluster, value); err != nil { return err } + case "AwsRoute53HostedZone": if err := awsRestjson1_deserializeDocumentAwsRoute53HostedZoneDetails(&sv.AwsRoute53HostedZone, value); err != nil { return err } + case "AwsS3AccessPoint": if err := awsRestjson1_deserializeDocumentAwsS3AccessPointDetails(&sv.AwsS3AccessPoint, value); err != nil { return err } + case "AwsS3AccountPublicAccessBlock": if err := awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(&sv.AwsS3AccountPublicAccessBlock, value); err != nil { return err } + case "AwsS3Bucket": if err := awsRestjson1_deserializeDocumentAwsS3BucketDetails(&sv.AwsS3Bucket, value); err != nil { return err } + case "AwsS3Object": if err := awsRestjson1_deserializeDocumentAwsS3ObjectDetails(&sv.AwsS3Object, value); err != nil { return err } + case "AwsSageMakerNotebookInstance": if err := awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(&sv.AwsSageMakerNotebookInstance, value); err != nil { return err } + case "AwsSecretsManagerSecret": if err := awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(&sv.AwsSecretsManagerSecret, value); err != nil { return err } + case "AwsSnsTopic": if err := awsRestjson1_deserializeDocumentAwsSnsTopicDetails(&sv.AwsSnsTopic, value); err != nil { return err } + case "AwsSqsQueue": if err := awsRestjson1_deserializeDocumentAwsSqsQueueDetails(&sv.AwsSqsQueue, value); err != nil { return err } + case "AwsSsmPatchCompliance": if err := awsRestjson1_deserializeDocumentAwsSsmPatchComplianceDetails(&sv.AwsSsmPatchCompliance, value); err != nil { return err } + case "AwsStepFunctionStateMachine": if err := awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineDetails(&sv.AwsStepFunctionStateMachine, value); err != nil { return err } + case "AwsWafRateBasedRule": if err := awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(&sv.AwsWafRateBasedRule, value); err != nil { return err } + case "AwsWafRegionalRateBasedRule": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(&sv.AwsWafRegionalRateBasedRule, value); err != nil { return err } + case "AwsWafRegionalRule": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleDetails(&sv.AwsWafRegionalRule, value); err != nil { return err } + case "AwsWafRegionalRuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupDetails(&sv.AwsWafRegionalRuleGroup, value); err != nil { return err } + case "AwsWafRegionalWebAcl": if err := awsRestjson1_deserializeDocumentAwsWafRegionalWebAclDetails(&sv.AwsWafRegionalWebAcl, value); err != nil { return err } + case "AwsWafRule": if err := awsRestjson1_deserializeDocumentAwsWafRuleDetails(&sv.AwsWafRule, value); err != nil { return err } + case "AwsWafRuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafRuleGroupDetails(&sv.AwsWafRuleGroup, value); err != nil { return err } + case "AwsWafv2RuleGroup": if err := awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(&sv.AwsWafv2RuleGroup, value); err != nil { return err } + case "AwsWafv2WebAcl": if err := awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(&sv.AwsWafv2WebAcl, value); err != nil { return err } + case "AwsWafWebAcl": if err := awsRestjson1_deserializeDocumentAwsWafWebAclDetails(&sv.AwsWafWebAcl, value); err != nil { return err } + case "AwsXrayEncryptionConfig": if err := awsRestjson1_deserializeDocumentAwsXrayEncryptionConfigDetails(&sv.AwsXrayEncryptionConfig, value); err != nil { return err } + case "Container": if err := awsRestjson1_deserializeDocumentContainerDetails(&sv.Container, value); err != nil { return err } + case "Other": if err := awsRestjson1_deserializeDocumentFieldMap(&sv.Other, value); err != nil { return err } + default: _, _ = key, value @@ -59854,6 +62901,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -59862,6 +62910,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59935,6 +62984,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -59943,6 +62993,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -59982,6 +63033,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.AccountId = ptr.String(jtv) } + case "ProcessingResult": if value != nil { jtv, ok := value.(string) @@ -59990,6 +63042,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ProcessingResult = ptr.String(jtv) } + default: _, _ = key, value @@ -60063,6 +63116,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.CarrierGatewayId = ptr.String(jtv) } + case "CoreNetworkArn": if value != nil { jtv, ok := value.(string) @@ -60071,6 +63125,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.CoreNetworkArn = ptr.String(jtv) } + case "DestinationCidrBlock": if value != nil { jtv, ok := value.(string) @@ -60079,6 +63134,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationCidrBlock = ptr.String(jtv) } + case "DestinationIpv6CidrBlock": if value != nil { jtv, ok := value.(string) @@ -60087,6 +63143,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationIpv6CidrBlock = ptr.String(jtv) } + case "DestinationPrefixListId": if value != nil { jtv, ok := value.(string) @@ -60095,6 +63152,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.DestinationPrefixListId = ptr.String(jtv) } + case "EgressOnlyInternetGatewayId": if value != nil { jtv, ok := value.(string) @@ -60103,6 +63161,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.EgressOnlyInternetGatewayId = ptr.String(jtv) } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -60111,6 +63170,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.GatewayId = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -60119,6 +63179,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.InstanceId = ptr.String(jtv) } + case "InstanceOwnerId": if value != nil { jtv, ok := value.(string) @@ -60127,6 +63188,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.InstanceOwnerId = ptr.String(jtv) } + case "LocalGatewayId": if value != nil { jtv, ok := value.(string) @@ -60135,6 +63197,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.LocalGatewayId = ptr.String(jtv) } + case "NatGatewayId": if value != nil { jtv, ok := value.(string) @@ -60143,6 +63206,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.NatGatewayId = ptr.String(jtv) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -60151,6 +63215,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.NetworkInterfaceId = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -60159,6 +63224,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.Origin = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -60167,6 +63233,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.State = ptr.String(jtv) } + case "TransitGatewayId": if value != nil { jtv, ok := value.(string) @@ -60175,6 +63242,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.TransitGatewayId = ptr.String(jtv) } + case "VpcPeeringConnectionId": if value != nil { jtv, ok := value.(string) @@ -60183,6 +63251,7 @@ func awsRestjson1_deserializeDocumentRouteSetDetails(v **types.RouteSetDetails, } sv.VpcPeeringConnectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -60252,10 +63321,12 @@ func awsRestjson1_deserializeDocumentRuleGroupDetails(v **types.RuleGroupDetails if err := awsRestjson1_deserializeDocumentRuleGroupSource(&sv.RulesSource, value); err != nil { return err } + case "RuleVariables": if err := awsRestjson1_deserializeDocumentRuleGroupVariables(&sv.RuleVariables, value); err != nil { return err } + default: _, _ = key, value @@ -60291,6 +63362,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSource(v **types.RuleGroupSource, if err := awsRestjson1_deserializeDocumentRuleGroupSourceListDetails(&sv.RulesSourceList, value); err != nil { return err } + case "RulesString": if value != nil { jtv, ok := value.(string) @@ -60299,14 +63371,17 @@ func awsRestjson1_deserializeDocumentRuleGroupSource(v **types.RuleGroupSource, } sv.RulesString = ptr.String(jtv) } + case "StatefulRules": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesList(&sv.StatefulRules, value); err != nil { return err } + case "StatelessRulesAndCustomActions": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesAndCustomActionsDetails(&sv.StatelessRulesAndCustomActions, value); err != nil { return err } + default: _, _ = key, value @@ -60342,6 +63417,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsDetails(v **typ if err := awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(&sv.ActionDefinition, value); err != nil { return err } + case "ActionName": if value != nil { jtv, ok := value.(string) @@ -60350,6 +63426,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsDetails(v **typ } sv.ActionName = ptr.String(jtv) } + default: _, _ = key, value @@ -60423,14 +63500,17 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceListDetails(v **types.RuleGr } sv.GeneratedRulesType = ptr.String(jtv) } + case "Targets": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Targets, value); err != nil { return err } + case "TargetTypes": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.TargetTypes, value); err != nil { return err } + default: _, _ = key, value @@ -60470,14 +63550,17 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesDetails(v **typ } sv.Action = ptr.String(jtv) } + case "Header": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(&sv.Header, value); err != nil { return err } + case "RuleOptions": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesOptionsList(&sv.RuleOptions, value); err != nil { return err } + default: _, _ = key, value @@ -60517,6 +63600,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Destination = ptr.String(jtv) } + case "DestinationPort": if value != nil { jtv, ok := value.(string) @@ -60525,6 +63609,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.DestinationPort = ptr.String(jtv) } + case "Direction": if value != nil { jtv, ok := value.(string) @@ -60533,6 +63618,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Direction = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -60541,6 +63627,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Protocol = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -60549,6 +63636,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.Source = ptr.String(jtv) } + case "SourcePort": if value != nil { jtv, ok := value.(string) @@ -60557,6 +63645,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesHeaderDetails(v } sv.SourcePort = ptr.String(jtv) } + default: _, _ = key, value @@ -60630,10 +63719,12 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesOptionsDetails( } sv.Keyword = ptr.String(jtv) } + case "Settings": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatefulRulesRuleOptionsSettingsList(&sv.Settings, value); err != nil { return err } + default: _, _ = key, value @@ -60739,10 +63830,12 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleDefinition(v ** if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Actions, value); err != nil { return err } + case "MatchAttributes": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes(&sv.MatchAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -60778,26 +63871,32 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList(&sv.DestinationPorts, value); err != nil { return err } + case "Destinations": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesDestinationsList(&sv.Destinations, value); err != nil { return err } + case "Protocols": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesProtocolsList(&sv.Protocols, value); err != nil { return err } + case "SourcePorts": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesSourcePortsList(&sv.SourcePorts, value); err != nil { return err } + case "Sources": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesSourcesList(&sv.Sources, value); err != nil { return err } + case "TcpFlags": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList(&sv.TcpFlags, value); err != nil { return err } + default: _, _ = key, value @@ -60841,6 +63940,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.FromPort = ptr.Int32(int32(i64)) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -60853,6 +63953,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -60926,6 +64027,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.AddressDefinition = ptr.String(jtv) } + default: _, _ = key, value @@ -61043,6 +64145,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.FromPort = ptr.Int32(int32(i64)) } + case "ToPort": if value != nil { jtv, ok := value.(json.Number) @@ -61055,6 +64158,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.ToPort = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -61128,6 +64232,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes } sv.AddressDefinition = ptr.String(jtv) } + default: _, _ = key, value @@ -61197,10 +64302,12 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Flags, value); err != nil { return err } + case "Masks": if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Masks, value); err != nil { return err } + default: _, _ = key, value @@ -61270,10 +64377,12 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesAndCustomActio if err := awsRestjson1_deserializeDocumentRuleGroupSourceCustomActionsList(&sv.CustomActions, value); err != nil { return err } + case "StatelessRules": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesList(&sv.StatelessRules, value); err != nil { return err } + default: _, _ = key, value @@ -61317,10 +64426,12 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesDetails(v **ty } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleDefinition": if err := awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleDefinition(&sv.RuleDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -61390,10 +64501,12 @@ func awsRestjson1_deserializeDocumentRuleGroupVariables(v **types.RuleGroupVaria if err := awsRestjson1_deserializeDocumentRuleGroupVariablesIpSetsDetails(&sv.IpSets, value); err != nil { return err } + case "PortSets": if err := awsRestjson1_deserializeDocumentRuleGroupVariablesPortSetsDetails(&sv.PortSets, value); err != nil { return err } + default: _, _ = key, value @@ -61429,6 +64542,7 @@ func awsRestjson1_deserializeDocumentRuleGroupVariablesIpSetsDetails(v **types.R if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Definition, value); err != nil { return err } + default: _, _ = key, value @@ -61464,6 +64578,7 @@ func awsRestjson1_deserializeDocumentRuleGroupVariablesPortSetsDetails(v **types if err := awsRestjson1_deserializeDocumentNonEmptyStringList(&sv.Definition, value); err != nil { return err } + default: _, _ = key, value @@ -61503,6 +64618,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.Description = ptr.String(jtv) } + case "LastUpdateReason": if value != nil { jtv, ok := value.(string) @@ -61511,10 +64627,12 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.LastUpdateReason = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -61523,6 +64641,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.RemediationUrl = ptr.String(jtv) } + case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -61531,6 +64650,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlArn = ptr.String(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -61539,6 +64659,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlId = ptr.String(jtv) } + case "SecurityControlStatus": if value != nil { jtv, ok := value.(string) @@ -61547,6 +64668,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SecurityControlStatus = types.ControlStatus(jtv) } + case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -61555,6 +64677,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.SeverityRating = types.SeverityRating(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -61563,6 +64686,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.Title = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -61571,6 +64695,7 @@ func awsRestjson1_deserializeDocumentSecurityControl(v **types.SecurityControl, } sv.UpdateStatus = types.UpdateStatus(jtv) } + default: _, _ = key, value @@ -61606,6 +64731,7 @@ func awsRestjson1_deserializeDocumentSecurityControlCustomParameter(v **types.Se if err := awsRestjson1_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -61614,6 +64740,7 @@ func awsRestjson1_deserializeDocumentSecurityControlCustomParameter(v **types.Se } sv.SecurityControlId = ptr.String(jtv) } + default: _, _ = key, value @@ -61687,10 +64814,12 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.CurrentRegionAvailability = types.RegionAvailabilityStatus(jtv) } + case "CustomizableProperties": if err := awsRestjson1_deserializeDocumentCustomizableProperties(&sv.CustomizableProperties, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -61699,10 +64828,12 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.Description = ptr.String(jtv) } + case "ParameterDefinitions": if err := awsRestjson1_deserializeDocumentParameterDefinitions(&sv.ParameterDefinitions, value); err != nil { return err } + case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -61711,6 +64842,7 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.RemediationUrl = ptr.String(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -61719,6 +64851,7 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.SecurityControlId = ptr.String(jtv) } + case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -61727,6 +64860,7 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.SeverityRating = types.SeverityRating(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -61735,6 +64869,7 @@ func awsRestjson1_deserializeDocumentSecurityControlDefinition(v **types.Securit } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -61808,10 +64943,12 @@ func awsRestjson1_deserializeDocumentSecurityControlParameter(v **types.Security } sv.Name = ptr.String(jtv) } + case "Value": if err := awsRestjson1_deserializeDocumentTypeList(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -61915,14 +65052,17 @@ func awsRestjson1_deserializeDocumentSecurityControlsConfiguration(v **types.Sec if err := awsRestjson1_deserializeDocumentDisabledSecurityControlIdentifierList(&sv.DisabledSecurityControlIdentifiers, value); err != nil { return err } + case "EnabledSecurityControlIdentifiers": if err := awsRestjson1_deserializeDocumentEnabledSecurityControlIdentifierList(&sv.EnabledSecurityControlIdentifiers, value); err != nil { return err } + case "SecurityControlCustomParameters": if err := awsRestjson1_deserializeDocumentSecurityControlCustomParametersList(&sv.SecurityControlCustomParameters, value); err != nil { return err } + default: _, _ = key, value @@ -61994,10 +65134,12 @@ func awsRestjson1_deserializeDocumentSecurityHubPolicy(v **types.SecurityHubPoli if err := awsRestjson1_deserializeDocumentEnabledStandardIdentifierList(&sv.EnabledStandardIdentifiers, value); err != nil { return err } + case "SecurityControlsConfiguration": if err := awsRestjson1_deserializeDocumentSecurityControlsConfiguration(&sv.SecurityControlsConfiguration, value); err != nil { return err } + case "ServiceEnabled": if value != nil { jtv, ok := value.(bool) @@ -62006,6 +65148,7 @@ func awsRestjson1_deserializeDocumentSecurityHubPolicy(v **types.SecurityHubPoli } sv.ServiceEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -62049,10 +65192,12 @@ func awsRestjson1_deserializeDocumentSensitiveDataDetections(v **types.Sensitive } sv.Count = ptr.Int64(i64) } + case "Occurrences": if err := awsRestjson1_deserializeDocumentOccurrences(&sv.Occurrences, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -62061,6 +65206,7 @@ func awsRestjson1_deserializeDocumentSensitiveDataDetections(v **types.Sensitive } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -62134,10 +65280,12 @@ func awsRestjson1_deserializeDocumentSensitiveDataResult(v **types.SensitiveData } sv.Category = ptr.String(jtv) } + case "Detections": if err := awsRestjson1_deserializeDocumentSensitiveDataDetectionsList(&sv.Detections, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -62150,6 +65298,7 @@ func awsRestjson1_deserializeDocumentSensitiveDataResult(v **types.SensitiveData } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -62223,6 +65372,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Label = types.SeverityLabel(jtv) } + case "Normalized": if value != nil { jtv, ok := value.(json.Number) @@ -62235,6 +65385,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Normalized = ptr.Int32(int32(i64)) } + case "Original": if value != nil { jtv, ok := value.(string) @@ -62243,6 +65394,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } sv.Original = ptr.String(jtv) } + case "Product": if value != nil { switch jtv := value.(type) { @@ -62276,6 +65428,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac } } + default: _, _ = key, value @@ -62315,6 +65468,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } sv.Label = types.SeverityLabel(jtv) } + case "Normalized": if value != nil { jtv, ok := value.(json.Number) @@ -62327,6 +65481,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } sv.Normalized = ptr.Int32(int32(i64)) } + case "Product": if value != nil { switch jtv := value.(type) { @@ -62360,6 +65515,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va } } + default: _, _ = key, value @@ -62399,6 +65555,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Architecture = ptr.String(jtv) } + case "Epoch": if value != nil { jtv, ok := value.(string) @@ -62407,6 +65564,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Epoch = ptr.String(jtv) } + case "FilePath": if value != nil { jtv, ok := value.(string) @@ -62415,6 +65573,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.FilePath = ptr.String(jtv) } + case "FixedInVersion": if value != nil { jtv, ok := value.(string) @@ -62423,6 +65582,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.FixedInVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -62431,6 +65591,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Name = ptr.String(jtv) } + case "PackageManager": if value != nil { jtv, ok := value.(string) @@ -62439,6 +65600,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.PackageManager = ptr.String(jtv) } + case "Release": if value != nil { jtv, ok := value.(string) @@ -62447,6 +65609,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Release = ptr.String(jtv) } + case "Remediation": if value != nil { jtv, ok := value.(string) @@ -62455,6 +65618,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Remediation = ptr.String(jtv) } + case "SourceLayerArn": if value != nil { jtv, ok := value.(string) @@ -62463,6 +65627,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.SourceLayerArn = ptr.String(jtv) } + case "SourceLayerHash": if value != nil { jtv, ok := value.(string) @@ -62471,6 +65636,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.SourceLayerHash = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -62479,6 +65645,7 @@ func awsRestjson1_deserializeDocumentSoftwarePackage(v **types.SoftwarePackage, } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -62552,6 +65719,7 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.Description = ptr.String(jtv) } + case "EnabledByDefault": if value != nil { jtv, ok := value.(bool) @@ -62560,6 +65728,7 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.EnabledByDefault = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -62568,6 +65737,7 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.Name = ptr.String(jtv) } + case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -62576,10 +65746,12 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac } sv.StandardsArn = ptr.String(jtv) } + case "StandardsManagedBy": if err := awsRestjson1_deserializeDocumentStandardsManagedBy(&sv.StandardsManagedBy, value); err != nil { return err } + default: _, _ = key, value @@ -62653,6 +65825,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlId = ptr.String(jtv) } + case "ControlStatus": if value != nil { jtv, ok := value.(string) @@ -62661,6 +65834,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlStatus = types.ControlStatus(jtv) } + case "ControlStatusUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -62673,6 +65847,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.ControlStatusUpdatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -62681,6 +65856,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.Description = ptr.String(jtv) } + case "DisabledReason": if value != nil { jtv, ok := value.(string) @@ -62689,10 +65865,12 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.DisabledReason = ptr.String(jtv) } + case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } + case "RemediationUrl": if value != nil { jtv, ok := value.(string) @@ -62701,6 +65879,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.RemediationUrl = ptr.String(jtv) } + case "SeverityRating": if value != nil { jtv, ok := value.(string) @@ -62709,6 +65888,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.SeverityRating = types.SeverityRating(jtv) } + case "StandardsControlArn": if value != nil { jtv, ok := value.(string) @@ -62717,6 +65897,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.StandardsControlArn = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -62725,6 +65906,7 @@ func awsRestjson1_deserializeDocumentStandardsControl(v **types.StandardsControl } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -62800,10 +65982,12 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.AssociationStatus = types.AssociationStatus(jtv) } + case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } + case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -62812,6 +65996,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.SecurityControlArn = ptr.String(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -62820,6 +66005,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.SecurityControlId = ptr.String(jtv) } + case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -62828,10 +66014,12 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsArn = ptr.String(jtv) } + case "StandardsControlArns": if err := awsRestjson1_deserializeDocumentStandardsControlArnList(&sv.StandardsControlArns, value); err != nil { return err } + case "StandardsControlDescription": if value != nil { jtv, ok := value.(string) @@ -62840,6 +66028,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsControlDescription = ptr.String(jtv) } + case "StandardsControlTitle": if value != nil { jtv, ok := value.(string) @@ -62848,6 +66037,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.StandardsControlTitle = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -62860,6 +66050,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.UpdatedAt = ptr.Time(t) } + case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -62868,6 +66059,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationDetail(v **types } sv.UpdatedReason = ptr.String(jtv) } + default: _, _ = key, value @@ -62941,6 +66133,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationId(v **types.Sta } sv.SecurityControlId = ptr.String(jtv) } + case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -62949,6 +66142,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationId(v **types.Sta } sv.StandardsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -63022,10 +66216,12 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.AssociationStatus = types.AssociationStatus(jtv) } + case "RelatedRequirements": if err := awsRestjson1_deserializeDocumentRelatedRequirementsList(&sv.RelatedRequirements, value); err != nil { return err } + case "SecurityControlArn": if value != nil { jtv, ok := value.(string) @@ -63034,6 +66230,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.SecurityControlArn = ptr.String(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -63042,6 +66239,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.SecurityControlId = ptr.String(jtv) } + case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -63050,6 +66248,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsArn = ptr.String(jtv) } + case "StandardsControlDescription": if value != nil { jtv, ok := value.(string) @@ -63058,6 +66257,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsControlDescription = ptr.String(jtv) } + case "StandardsControlTitle": if value != nil { jtv, ok := value.(string) @@ -63066,6 +66266,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.StandardsControlTitle = ptr.String(jtv) } + case "UpdatedAt": if value != nil { jtv, ok := value.(string) @@ -63078,6 +66279,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.UpdatedAt = ptr.Time(t) } + case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -63086,6 +66288,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationSummary(v **type } sv.UpdatedReason = ptr.String(jtv) } + default: _, _ = key, value @@ -63125,6 +66328,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.AssociationStatus = types.AssociationStatus(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -63133,6 +66337,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.SecurityControlId = ptr.String(jtv) } + case "StandardsArn": if value != nil { jtv, ok := value.(string) @@ -63141,6 +66346,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.StandardsArn = ptr.String(jtv) } + case "UpdatedReason": if value != nil { jtv, ok := value.(string) @@ -63149,6 +66355,7 @@ func awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(v **types } sv.UpdatedReason = ptr.String(jtv) } + default: _, _ = key, value @@ -63258,6 +66465,7 @@ func awsRestjson1_deserializeDocumentStandardsManagedBy(v **types.StandardsManag } sv.Company = ptr.String(jtv) } + case "Product": if value != nil { jtv, ok := value.(string) @@ -63266,6 +66474,7 @@ func awsRestjson1_deserializeDocumentStandardsManagedBy(v **types.StandardsManag } sv.Product = ptr.String(jtv) } + default: _, _ = key, value @@ -63305,6 +66514,7 @@ func awsRestjson1_deserializeDocumentStandardsStatusReason(v **types.StandardsSt } sv.StatusReasonCode = types.StatusReasonCode(jtv) } + default: _, _ = key, value @@ -63344,10 +66554,12 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsArn = ptr.String(jtv) } + case "StandardsInput": if err := awsRestjson1_deserializeDocumentStandardsInputParameterMap(&sv.StandardsInput, value); err != nil { return err } + case "StandardsStatus": if value != nil { jtv, ok := value.(string) @@ -63356,10 +66568,12 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsStatus = types.StandardsStatus(jtv) } + case "StandardsStatusReason": if err := awsRestjson1_deserializeDocumentStandardsStatusReason(&sv.StandardsStatusReason, value); err != nil { return err } + case "StandardsSubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -63368,6 +66582,7 @@ func awsRestjson1_deserializeDocumentStandardsSubscription(v **types.StandardsSu } sv.StandardsSubscriptionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -63437,6 +66652,7 @@ func awsRestjson1_deserializeDocumentStatelessCustomActionDefinition(v **types.S if err := awsRestjson1_deserializeDocumentStatelessCustomPublishMetricAction(&sv.PublishMetricAction, value); err != nil { return err } + default: _, _ = key, value @@ -63472,6 +66688,7 @@ func awsRestjson1_deserializeDocumentStatelessCustomPublishMetricAction(v **type if err := awsRestjson1_deserializeDocumentStatelessCustomPublishMetricActionDimensionsList(&sv.Dimensions, value); err != nil { return err } + default: _, _ = key, value @@ -63511,6 +66728,7 @@ func awsRestjson1_deserializeDocumentStatelessCustomPublishMetricActionDimension } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -63584,6 +66802,7 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.Description = ptr.String(jtv) } + case "ReasonCode": if value != nil { jtv, ok := value.(string) @@ -63592,6 +66811,7 @@ func awsRestjson1_deserializeDocumentStatusReason(v **types.StatusReason, value } sv.ReasonCode = ptr.String(jtv) } + default: _, _ = key, value @@ -63665,6 +66885,7 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.DefaultValue = ptr.String(jtv) } + case "ExpressionDescription": if value != nil { jtv, ok := value.(string) @@ -63673,6 +66894,7 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.ExpressionDescription = ptr.String(jtv) } + case "Re2Expression": if value != nil { jtv, ok := value.(string) @@ -63681,6 +66903,7 @@ func awsRestjson1_deserializeDocumentStringConfigurationOptions(v **types.String } sv.Re2Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -63720,6 +66943,7 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Comparison = types.StringFilterComparison(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -63728,6 +66952,7 @@ func awsRestjson1_deserializeDocumentStringFilter(v **types.StringFilter, value } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -63833,6 +67058,7 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St if err := awsRestjson1_deserializeDocumentStringList(&sv.DefaultValue, value); err != nil { return err } + case "ExpressionDescription": if value != nil { jtv, ok := value.(string) @@ -63841,6 +67067,7 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.ExpressionDescription = ptr.String(jtv) } + case "MaxItems": if value != nil { jtv, ok := value.(json.Number) @@ -63853,6 +67080,7 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.MaxItems = ptr.Int32(int32(i64)) } + case "Re2Expression": if value != nil { jtv, ok := value.(string) @@ -63861,6 +67089,7 @@ func awsRestjson1_deserializeDocumentStringListConfigurationOptions(v **types.St } sv.Re2Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -63998,6 +67227,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) if err := awsRestjson1_deserializeDocumentFilePathList(&sv.FilePaths, value); err != nil { return err } + case "ItemCount": if value != nil { jtv, ok := value.(json.Number) @@ -64010,6 +67240,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.ItemCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -64018,6 +67249,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Name = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -64026,6 +67258,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) } sv.Severity = ptr.String(jtv) } + default: _, _ = key, value @@ -64065,6 +67298,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Category = types.ThreatIntelIndicatorCategory(jtv) } + case "LastObservedAt": if value != nil { jtv, ok := value.(string) @@ -64073,6 +67307,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.LastObservedAt = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -64081,6 +67316,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Source = ptr.String(jtv) } + case "SourceUrl": if value != nil { jtv, ok := value.(string) @@ -64089,6 +67325,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.SourceUrl = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -64097,6 +67334,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Type = types.ThreatIntelIndicatorType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -64105,6 +67343,7 @@ func awsRestjson1_deserializeDocumentThreatIntelIndicator(v **types.ThreatIntelI } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -64252,6 +67491,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.ErrorCode = ptr.Int32(int32(i64)) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -64260,6 +67500,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.ErrorMessage = ptr.String(jtv) } + case "RuleArn": if value != nil { jtv, ok := value.(string) @@ -64268,6 +67509,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce } sv.RuleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -64337,6 +67579,7 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v if err := awsRestjson1_deserializeDocumentConfigurationPolicyAssociation(&sv.ConfigurationPolicyAssociationIdentifiers, value); err != nil { return err } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -64345,6 +67588,7 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v } sv.ErrorCode = ptr.String(jtv) } + case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -64353,6 +67597,7 @@ func awsRestjson1_deserializeDocumentUnprocessedConfigurationPolicyAssociation(v } sv.ErrorReason = ptr.String(jtv) } + default: _, _ = key, value @@ -64426,6 +67671,7 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } + case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -64434,6 +67680,7 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.ErrorReason = ptr.String(jtv) } + case "SecurityControlId": if value != nil { jtv, ok := value.(string) @@ -64442,6 +67689,7 @@ func awsRestjson1_deserializeDocumentUnprocessedSecurityControl(v **types.Unproc } sv.SecurityControlId = ptr.String(jtv) } + default: _, _ = key, value @@ -64515,6 +67763,7 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociation(v ** } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } + case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -64523,10 +67772,12 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociation(v ** } sv.ErrorReason = ptr.String(jtv) } + case "StandardsControlAssociationId": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationId(&sv.StandardsControlAssociationId, value); err != nil { return err } + default: _, _ = key, value @@ -64600,6 +67851,7 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdat } sv.ErrorCode = types.UnprocessedErrorCode(jtv) } + case "ErrorReason": if value != nil { jtv, ok := value.(string) @@ -64608,10 +67860,12 @@ func awsRestjson1_deserializeDocumentUnprocessedStandardsControlAssociationUpdat } sv.ErrorReason = ptr.String(jtv) } + case "StandardsControlAssociationUpdate": if err := awsRestjson1_deserializeDocumentStandardsControlAssociationUpdate(&sv.StandardsControlAssociationUpdate, value); err != nil { return err } + default: _, _ = key, value @@ -64685,6 +67939,7 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.MountPath = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -64693,6 +67948,7 @@ func awsRestjson1_deserializeDocumentVolumeMount(v **types.VolumeMount, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -64766,6 +68022,7 @@ func awsRestjson1_deserializeDocumentVpcInfoCidrBlockSetDetails(v **types.VpcInf } sv.CidrBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -64839,6 +68096,7 @@ func awsRestjson1_deserializeDocumentVpcInfoIpv6CidrBlockSetDetails(v **types.Vp } sv.Ipv6CidrBlock = ptr.String(jtv) } + default: _, _ = key, value @@ -64912,6 +68170,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowDnsResolutionFromRemoteVpc = ptr.Bool(jtv) } + case "AllowEgressFromLocalClassicLinkToRemoteVpc": if value != nil { jtv, ok := value.(bool) @@ -64920,6 +68179,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowEgressFromLocalClassicLinkToRemoteVpc = ptr.Bool(jtv) } + case "AllowEgressFromLocalVpcToRemoteClassicLink": if value != nil { jtv, ok := value.(bool) @@ -64928,6 +68188,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI } sv.AllowEgressFromLocalVpcToRemoteClassicLink = ptr.Bool(jtv) } + default: _, _ = key, value @@ -64963,10 +68224,12 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err := awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilitiesList(&sv.CodeVulnerabilities, value); err != nil { return err } + case "Cvss": if err := awsRestjson1_deserializeDocumentCvssList(&sv.Cvss, value); err != nil { return err } + case "EpssScore": if value != nil { switch jtv := value.(type) { @@ -65000,6 +68263,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } } + case "ExploitAvailable": if value != nil { jtv, ok := value.(string) @@ -65008,6 +68272,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.ExploitAvailable = types.VulnerabilityExploitAvailable(jtv) } + case "FixAvailable": if value != nil { jtv, ok := value.(string) @@ -65016,6 +68281,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.FixAvailable = types.VulnerabilityFixAvailable(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -65024,6 +68290,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.Id = ptr.String(jtv) } + case "LastKnownExploitAt": if value != nil { jtv, ok := value.(string) @@ -65032,22 +68299,27 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu } sv.LastKnownExploitAt = ptr.String(jtv) } + case "ReferenceUrls": if err := awsRestjson1_deserializeDocumentStringList(&sv.ReferenceUrls, value); err != nil { return err } + case "RelatedVulnerabilities": if err := awsRestjson1_deserializeDocumentStringList(&sv.RelatedVulnerabilities, value); err != nil { return err } + case "Vendor": if err := awsRestjson1_deserializeDocumentVulnerabilityVendor(&sv.Vendor, value); err != nil { return err } + case "VulnerablePackages": if err := awsRestjson1_deserializeDocumentSoftwarePackageList(&sv.VulnerablePackages, value); err != nil { return err } + default: _, _ = key, value @@ -65083,10 +68355,12 @@ func awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilities(v **types. if err := awsRestjson1_deserializeDocumentTypeList(&sv.Cwes, value); err != nil { return err } + case "FilePath": if err := awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(&sv.FilePath, value); err != nil { return err } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -65095,6 +68369,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityCodeVulnerabilities(v **types. } sv.SourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -65202,6 +68477,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.Name = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -65210,6 +68486,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.Url = ptr.String(jtv) } + case "VendorCreatedAt": if value != nil { jtv, ok := value.(string) @@ -65218,6 +68495,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorCreatedAt = ptr.String(jtv) } + case "VendorSeverity": if value != nil { jtv, ok := value.(string) @@ -65226,6 +68504,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorSeverity = ptr.String(jtv) } + case "VendorUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -65234,6 +68513,7 @@ func awsRestjson1_deserializeDocumentVulnerabilityVendor(v **types.Vulnerability } sv.VendorUpdatedAt = ptr.String(jtv) } + default: _, _ = key, value @@ -65273,6 +68553,7 @@ func awsRestjson1_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -65312,6 +68593,7 @@ func awsRestjson1_deserializeDocumentWafExcludedRule(v **types.WafExcludedRule, } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -65385,6 +68667,7 @@ func awsRestjson1_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -65424,6 +68707,7 @@ func awsRestjson1_deserializeDocumentWorkflow(v **types.Workflow, value interfac } sv.Status = types.WorkflowStatus(jtv) } + default: _, _ = key, value @@ -65463,6 +68747,7 @@ func awsRestjson1_deserializeDocumentWorkflowUpdate(v **types.WorkflowUpdate, va } sv.Status = types.WorkflowStatus(jtv) } + default: _, _ = key, value diff --git a/service/securitylake/deserializers.go b/service/securitylake/deserializers.go index b5432514999..55e6058dbd7 100644 --- a/service/securitylake/deserializers.go +++ b/service/securitylake/deserializers.go @@ -187,6 +187,7 @@ func awsRestjson1_deserializeOpDocumentCreateAwsLogSourceOutput(v **CreateAwsLog if err := awsRestjson1_deserializeDocumentAccountList(&sv.Failed, value); err != nil { return err } + default: _, _ = key, value @@ -353,6 +354,7 @@ func awsRestjson1_deserializeOpDocumentCreateCustomLogSourceOutput(v **CreateCus if err := awsRestjson1_deserializeDocumentCustomLogSourceResource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -519,6 +521,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataLakeOutput(v **CreateDataLakeOu if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } + default: _, _ = key, value @@ -891,6 +894,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriberOutput(v **CreateSubscrib if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } + default: _, _ = key, value @@ -1061,6 +1065,7 @@ func awsRestjson1_deserializeOpDocumentCreateSubscriberNotificationOutput(v **Cr } sv.SubscriberEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -1227,6 +1232,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAwsLogSourceOutput(v **DeleteAwsLog if err := awsRestjson1_deserializeDocumentAccountList(&sv.Failed, value); err != nil { return err } + default: _, _ = key, value @@ -2122,6 +2128,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.ExceptionTimeToLive = ptr.Int64(i64) } + case "notificationEndpoint": if value != nil { jtv, ok := value.(string) @@ -2130,6 +2137,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.NotificationEndpoint = ptr.String(jtv) } + case "subscriptionProtocol": if value != nil { jtv, ok := value.(string) @@ -2138,6 +2146,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeExceptionSubscriptionOutput(v } sv.SubscriptionProtocol = ptr.String(jtv) } + default: _, _ = key, value @@ -2304,6 +2313,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeOrganizationConfigurationOutpu if err := awsRestjson1_deserializeDocumentDataLakeAutoEnableNewAccountConfigurationList(&sv.AutoEnableNewAccount, value); err != nil { return err } + default: _, _ = key, value @@ -2474,10 +2484,12 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSourcesOutput(v **GetDataLakeS } sv.DataLakeArn = ptr.String(jtv) } + case "dataLakeSources": if err := awsRestjson1_deserializeDocumentDataLakeSourceList(&sv.DataLakeSources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2486,6 +2498,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeSourcesOutput(v **GetDataLakeS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2652,6 +2665,7 @@ func awsRestjson1_deserializeOpDocumentGetSubscriberOutput(v **GetSubscriberOutp if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } + default: _, _ = key, value @@ -2818,6 +2832,7 @@ func awsRestjson1_deserializeOpDocumentListDataLakeExceptionsOutput(v **ListData if err := awsRestjson1_deserializeDocumentDataLakeExceptionList(&sv.Exceptions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2826,6 +2841,7 @@ func awsRestjson1_deserializeOpDocumentListDataLakeExceptionsOutput(v **ListData } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2992,6 +3008,7 @@ func awsRestjson1_deserializeOpDocumentListDataLakesOutput(v **ListDataLakesOutp if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } + default: _, _ = key, value @@ -3162,10 +3179,12 @@ func awsRestjson1_deserializeOpDocumentListLogSourcesOutput(v **ListLogSourcesOu } sv.NextToken = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentLogSourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -3336,10 +3355,12 @@ func awsRestjson1_deserializeOpDocumentListSubscribersOutput(v **ListSubscribers } sv.NextToken = ptr.String(jtv) } + case "subscribers": if err := awsRestjson1_deserializeDocumentSubscriberResourceList(&sv.Subscribers, value); err != nil { return err } + default: _, _ = key, value @@ -3506,6 +3527,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3981,6 +4003,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataLakeOutput(v **UpdateDataLakeOu if err := awsRestjson1_deserializeDocumentDataLakeResourceList(&sv.DataLakes, value); err != nil { return err } + default: _, _ = key, value @@ -4250,6 +4273,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriberOutput(v **UpdateSubscrib if err := awsRestjson1_deserializeDocumentSubscriberResource(&sv.Subscriber, value); err != nil { return err } + default: _, _ = key, value @@ -4420,6 +4444,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSubscriberNotificationOutput(v **Up } sv.SubscriberEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -4695,6 +4720,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4703,6 +4729,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4814,6 +4841,7 @@ func awsRestjson1_deserializeDocumentAwsIdentity(v **types.AwsIdentity, value in } sv.ExternalId = ptr.String(jtv) } + case "principal": if value != nil { jtv, ok := value.(string) @@ -4822,6 +4850,7 @@ func awsRestjson1_deserializeDocumentAwsIdentity(v **types.AwsIdentity, value in } sv.Principal = ptr.String(jtv) } + default: _, _ = key, value @@ -4861,6 +4890,7 @@ func awsRestjson1_deserializeDocumentAwsLogSourceResource(v **types.AwsLogSource } sv.SourceName = types.AwsLogSourceName(jtv) } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -4869,6 +4899,7 @@ func awsRestjson1_deserializeDocumentAwsLogSourceResource(v **types.AwsLogSource } sv.SourceVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4942,6 +4973,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4981,6 +5013,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -4989,6 +5022,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -4997,6 +5031,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5036,6 +5071,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.CrawlerArn = ptr.String(jtv) } + case "databaseArn": if value != nil { jtv, ok := value.(string) @@ -5044,6 +5080,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.DatabaseArn = ptr.String(jtv) } + case "tableArn": if value != nil { jtv, ok := value.(string) @@ -5052,6 +5089,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceAttributes(v **types.CustomL } sv.TableArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5091,6 +5129,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceProvider(v **types.CustomLog } sv.Location = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5099,6 +5138,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceProvider(v **types.CustomLog } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5134,10 +5174,12 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog if err := awsRestjson1_deserializeDocumentCustomLogSourceAttributes(&sv.Attributes, value); err != nil { return err } + case "provider": if err := awsRestjson1_deserializeDocumentCustomLogSourceProvider(&sv.Provider, value); err != nil { return err } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5146,6 +5188,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog } sv.SourceName = ptr.String(jtv) } + case "sourceVersion": if value != nil { jtv, ok := value.(string) @@ -5154,6 +5197,7 @@ func awsRestjson1_deserializeDocumentCustomLogSourceResource(v **types.CustomLog } sv.SourceVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -5193,10 +5237,12 @@ func awsRestjson1_deserializeDocumentDataLakeAutoEnableNewAccountConfiguration(v } sv.Region = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentAwsLogSourceResourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -5270,6 +5316,7 @@ func awsRestjson1_deserializeDocumentDataLakeEncryptionConfiguration(v **types.D } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -5309,6 +5356,7 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Exception = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -5317,6 +5365,7 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Region = ptr.String(jtv) } + case "remediation": if value != nil { jtv, ok := value.(string) @@ -5325,6 +5374,7 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Remediation = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -5337,6 +5387,7 @@ func awsRestjson1_deserializeDocumentDataLakeException(v **types.DataLakeExcepti } sv.Timestamp = ptr.Time(t) } + default: _, _ = key, value @@ -5406,10 +5457,12 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleConfiguration(v **types.Da if err := awsRestjson1_deserializeDocumentDataLakeLifecycleExpiration(&sv.Expiration, value); err != nil { return err } + case "transitions": if err := awsRestjson1_deserializeDocumentDataLakeLifecycleTransitionList(&sv.Transitions, value); err != nil { return err } + default: _, _ = key, value @@ -5453,6 +5506,7 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleExpiration(v **types.DataL } sv.Days = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5496,6 +5550,7 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleTransition(v **types.DataL } sv.Days = ptr.Int32(int32(i64)) } + case "storageClass": if value != nil { jtv, ok := value.(string) @@ -5504,6 +5559,7 @@ func awsRestjson1_deserializeDocumentDataLakeLifecycleTransition(v **types.DataL } sv.StorageClass = ptr.String(jtv) } + default: _, _ = key, value @@ -5573,6 +5629,7 @@ func awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(v **types. if err := awsRestjson1_deserializeDocumentRegionList(&sv.Regions, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -5581,6 +5638,7 @@ func awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(v **types. } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5620,6 +5678,7 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.CreateStatus = types.DataLakeStatus(jtv) } + case "dataLakeArn": if value != nil { jtv, ok := value.(string) @@ -5628,14 +5687,17 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.DataLakeArn = ptr.String(jtv) } + case "encryptionConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "lifecycleConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeLifecycleConfiguration(&sv.LifecycleConfiguration, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -5644,10 +5706,12 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.Region = ptr.String(jtv) } + case "replicationConfiguration": if err := awsRestjson1_deserializeDocumentDataLakeReplicationConfiguration(&sv.ReplicationConfiguration, value); err != nil { return err } + case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -5656,10 +5720,12 @@ func awsRestjson1_deserializeDocumentDataLakeResource(v **types.DataLakeResource } sv.S3BucketArn = ptr.String(jtv) } + case "updateStatus": if err := awsRestjson1_deserializeDocumentDataLakeUpdateStatus(&sv.UpdateStatus, value); err != nil { return err } + default: _, _ = key, value @@ -5733,10 +5799,12 @@ func awsRestjson1_deserializeDocumentDataLakeSource(v **types.DataLakeSource, va } sv.Account = ptr.String(jtv) } + case "eventClasses": if err := awsRestjson1_deserializeDocumentOcsfEventClassList(&sv.EventClasses, value); err != nil { return err } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -5745,10 +5813,12 @@ func awsRestjson1_deserializeDocumentDataLakeSource(v **types.DataLakeSource, va } sv.SourceName = ptr.String(jtv) } + case "sourceStatuses": if err := awsRestjson1_deserializeDocumentDataLakeSourceStatusList(&sv.SourceStatuses, value); err != nil { return err } + default: _, _ = key, value @@ -5822,6 +5892,7 @@ func awsRestjson1_deserializeDocumentDataLakeSourceStatus(v **types.DataLakeSour } sv.Resource = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5830,6 +5901,7 @@ func awsRestjson1_deserializeDocumentDataLakeSourceStatus(v **types.DataLakeSour } sv.Status = types.SourceCollectionStatus(jtv) } + default: _, _ = key, value @@ -5903,6 +5975,7 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateException(v **types.DataLakeU } sv.Code = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5911,6 +5984,7 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateException(v **types.DataLakeU } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -5946,6 +6020,7 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda if err := awsRestjson1_deserializeDocumentDataLakeUpdateException(&sv.Exception, value); err != nil { return err } + case "requestId": if value != nil { jtv, ok := value.(string) @@ -5954,6 +6029,7 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda } sv.RequestId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5962,6 +6038,7 @@ func awsRestjson1_deserializeDocumentDataLakeUpdateStatus(v **types.DataLakeUpda } sv.Status = types.DataLakeStatus(jtv) } + default: _, _ = key, value @@ -6001,6 +6078,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6040,6 +6118,7 @@ func awsRestjson1_deserializeDocumentLogSource(v **types.LogSource, value interf } sv.Account = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -6048,10 +6127,12 @@ func awsRestjson1_deserializeDocumentLogSource(v **types.LogSource, value interf } sv.Region = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentLogSourceResourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -6279,6 +6360,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -6287,6 +6369,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6295,6 +6378,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6330,6 +6414,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso if err := awsRestjson1_deserializeDocumentAccessTypeList(&sv.AccessTypes, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -6342,6 +6427,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.CreatedAt = ptr.Time(t) } + case "resourceShareArn": if value != nil { jtv, ok := value.(string) @@ -6350,6 +6436,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.ResourceShareArn = ptr.String(jtv) } + case "resourceShareName": if value != nil { jtv, ok := value.(string) @@ -6358,6 +6445,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.ResourceShareName = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -6366,6 +6454,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.RoleArn = ptr.String(jtv) } + case "s3BucketArn": if value != nil { jtv, ok := value.(string) @@ -6374,10 +6463,12 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.S3BucketArn = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentLogSourceResourceList(&sv.Sources, value); err != nil { return err } + case "subscriberArn": if value != nil { jtv, ok := value.(string) @@ -6386,6 +6477,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberArn = ptr.String(jtv) } + case "subscriberDescription": if value != nil { jtv, ok := value.(string) @@ -6394,6 +6486,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberDescription = ptr.String(jtv) } + case "subscriberEndpoint": if value != nil { jtv, ok := value.(string) @@ -6402,6 +6495,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberEndpoint = ptr.String(jtv) } + case "subscriberId": if value != nil { jtv, ok := value.(string) @@ -6410,10 +6504,12 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberId = ptr.String(jtv) } + case "subscriberIdentity": if err := awsRestjson1_deserializeDocumentAwsIdentity(&sv.SubscriberIdentity, value); err != nil { return err } + case "subscriberName": if value != nil { jtv, ok := value.(string) @@ -6422,6 +6518,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberName = ptr.String(jtv) } + case "subscriberStatus": if value != nil { jtv, ok := value.(string) @@ -6430,6 +6527,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.SubscriberStatus = types.SubscriberStatus(jtv) } + case "updatedAt": if value != nil { jtv, ok := value.(string) @@ -6442,6 +6540,7 @@ func awsRestjson1_deserializeDocumentSubscriberResource(v **types.SubscriberReso } sv.UpdatedAt = ptr.Time(t) } + default: _, _ = key, value @@ -6515,6 +6614,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -6523,6 +6623,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6596,6 +6697,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6604,6 +6706,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6616,6 +6719,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6624,6 +6728,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/serverlessapplicationrepository/deserializers.go b/service/serverlessapplicationrepository/deserializers.go index b14c8916558..9a5a334eff5 100644 --- a/service/serverlessapplicationrepository/deserializers.go +++ b/service/serverlessapplicationrepository/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationId = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -196,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Author = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -204,6 +206,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.CreationTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -212,6 +215,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Description = ptr.String(jtv) } + case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -220,6 +224,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.HomePageUrl = ptr.String(jtv) } + case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -228,10 +233,12 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.IsVerifiedAuthor = ptr.Bool(jtv) } + case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } + case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -240,6 +247,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.LicenseUrl = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -248,6 +256,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.Name = ptr.String(jtv) } + case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -256,6 +265,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ReadmeUrl = ptr.String(jtv) } + case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -264,6 +274,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.SpdxLicenseId = ptr.String(jtv) } + case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -272,10 +283,12 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.VerifiedAuthorUrl = ptr.String(jtv) } + case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -443,6 +456,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -451,14 +465,17 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.CreationTime = ptr.String(jtv) } + case "parameterDefinitions": if err := awsRestjson1_deserializeDocument__listOfParameterDefinition(&sv.ParameterDefinitions, value); err != nil { return err } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocument__listOfCapability(&sv.RequiredCapabilities, value); err != nil { return err } + case "resourcesSupported": if value != nil { jtv, ok := value.(bool) @@ -467,6 +484,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.ResourcesSupported = ptr.Bool(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -475,6 +493,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SemanticVersion = ptr.String(jtv) } + case "sourceCodeArchiveUrl": if value != nil { jtv, ok := value.(string) @@ -483,6 +502,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SourceCodeArchiveUrl = ptr.String(jtv) } + case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -491,6 +511,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.SourceCodeUrl = ptr.String(jtv) } + case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -499,6 +520,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationVersionOutput(v **Create } sv.TemplateUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -663,6 +685,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.ApplicationId = ptr.String(jtv) } + case "changeSetId": if value != nil { jtv, ok := value.(string) @@ -671,6 +694,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.ChangeSetId = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -679,6 +703,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.SemanticVersion = ptr.String(jtv) } + case "stackId": if value != nil { jtv, ok := value.(string) @@ -687,6 +712,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationChangeSetOutput(v **C } sv.StackId = ptr.String(jtv) } + default: _, _ = key, value @@ -854,6 +880,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -862,6 +889,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.CreationTime = ptr.String(jtv) } + case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -870,6 +898,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.ExpirationTime = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -878,6 +907,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.SemanticVersion = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -886,6 +916,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.Status = types.Status(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -894,6 +925,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.TemplateId = ptr.String(jtv) } + case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -902,6 +934,7 @@ func awsRestjson1_deserializeOpDocumentCreateCloudFormationTemplateOutput(v **Cr } sv.TemplateUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -1178,6 +1211,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ApplicationId = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -1186,6 +1220,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Author = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1194,6 +1229,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreationTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1202,6 +1238,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -1210,6 +1247,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.HomePageUrl = ptr.String(jtv) } + case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -1218,10 +1256,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.IsVerifiedAuthor = ptr.Bool(jtv) } + case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } + case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -1230,6 +1270,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LicenseUrl = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1238,6 +1279,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -1246,6 +1288,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.ReadmeUrl = ptr.String(jtv) } + case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -1254,6 +1297,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.SpdxLicenseId = ptr.String(jtv) } + case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -1262,10 +1306,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.VerifiedAuthorUrl = ptr.String(jtv) } + case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -1429,6 +1475,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationPolicyOutput(v **GetApplica if err := awsRestjson1_deserializeDocument__listOfApplicationPolicyStatement(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -1596,6 +1643,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1604,6 +1652,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.CreationTime = ptr.String(jtv) } + case "expirationTime": if value != nil { jtv, ok := value.(string) @@ -1612,6 +1661,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.ExpirationTime = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -1620,6 +1670,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.SemanticVersion = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1628,6 +1679,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.Status = types.Status(jtv) } + case "templateId": if value != nil { jtv, ok := value.(string) @@ -1636,6 +1688,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.TemplateId = ptr.String(jtv) } + case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -1644,6 +1697,7 @@ func awsRestjson1_deserializeOpDocumentGetCloudFormationTemplateOutput(v **GetCl } sv.TemplateUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -1807,6 +1861,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationDependenciesOutput(v **Lis if err := awsRestjson1_deserializeDocument__listOfApplicationDependencySummary(&sv.Dependencies, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1815,6 +1870,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationDependenciesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1975,6 +2031,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocument__listOfApplicationSummary(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1983,6 +2040,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2150,10 +2208,12 @@ func awsRestjson1_deserializeOpDocumentListApplicationVersionsOutput(v **ListApp } sv.NextToken = ptr.String(jtv) } + case "versions": if err := awsRestjson1_deserializeDocument__listOfVersionSummary(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -2317,6 +2377,7 @@ func awsRestjson1_deserializeOpDocumentPutApplicationPolicyOutput(v **PutApplica if err := awsRestjson1_deserializeDocument__listOfApplicationPolicyStatement(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -2593,6 +2654,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ApplicationId = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -2601,6 +2663,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Author = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -2609,6 +2672,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.CreationTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2617,6 +2681,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Description = ptr.String(jtv) } + case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -2625,6 +2690,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.HomePageUrl = ptr.String(jtv) } + case "isVerifiedAuthor": if value != nil { jtv, ok := value.(bool) @@ -2633,10 +2699,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.IsVerifiedAuthor = ptr.Bool(jtv) } + case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } + case "licenseUrl": if value != nil { jtv, ok := value.(string) @@ -2645,6 +2713,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.LicenseUrl = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2653,6 +2722,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.Name = ptr.String(jtv) } + case "readmeUrl": if value != nil { jtv, ok := value.(string) @@ -2661,6 +2731,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.ReadmeUrl = ptr.String(jtv) } + case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -2669,6 +2740,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.SpdxLicenseId = ptr.String(jtv) } + case "verifiedAuthorUrl": if value != nil { jtv, ok := value.(string) @@ -2677,10 +2749,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica } sv.VerifiedAuthorUrl = ptr.String(jtv) } + case "version": if err := awsRestjson1_deserializeDocumentVersion(&sv.Version, value); err != nil { return err } + default: _, _ = key, value @@ -3178,6 +3252,7 @@ func awsRestjson1_deserializeDocumentApplicationDependencySummary(v **types.Appl } sv.ApplicationId = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -3186,6 +3261,7 @@ func awsRestjson1_deserializeDocumentApplicationDependencySummary(v **types.Appl } sv.SemanticVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3221,14 +3297,17 @@ func awsRestjson1_deserializeDocumentApplicationPolicyStatement(v **types.Applic if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Actions, value); err != nil { return err } + case "principalOrgIDs": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.PrincipalOrgIDs, value); err != nil { return err } + case "principals": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Principals, value); err != nil { return err } + case "statementId": if value != nil { jtv, ok := value.(string) @@ -3237,6 +3316,7 @@ func awsRestjson1_deserializeDocumentApplicationPolicyStatement(v **types.Applic } sv.StatementId = ptr.String(jtv) } + default: _, _ = key, value @@ -3276,6 +3356,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.ApplicationId = ptr.String(jtv) } + case "author": if value != nil { jtv, ok := value.(string) @@ -3284,6 +3365,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Author = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3292,6 +3374,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreationTime = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3300,6 +3383,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } + case "homePageUrl": if value != nil { jtv, ok := value.(string) @@ -3308,10 +3392,12 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.HomePageUrl = ptr.String(jtv) } + case "labels": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.Labels, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3320,6 +3406,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + case "spdxLicenseId": if value != nil { jtv, ok := value.(string) @@ -3328,6 +3415,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.SpdxLicenseId = ptr.String(jtv) } + default: _, _ = key, value @@ -3367,6 +3455,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3375,6 +3464,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3414,6 +3504,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3422,6 +3513,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3461,6 +3553,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3469,6 +3562,7 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3508,6 +3602,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3516,6 +3611,7 @@ func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.Inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3555,6 +3651,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3563,6 +3660,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3602,10 +3700,12 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.AllowedPattern = ptr.String(jtv) } + case "allowedValues": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.AllowedValues, value); err != nil { return err } + case "constraintDescription": if value != nil { jtv, ok := value.(string) @@ -3614,6 +3714,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.ConstraintDescription = ptr.String(jtv) } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3622,6 +3723,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.DefaultValue = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3630,6 +3732,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Description = ptr.String(jtv) } + case "maxLength": if value != nil { jtv, ok := value.(json.Number) @@ -3642,6 +3745,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MaxLength = ptr.Int32(int32(i64)) } + case "maxValue": if value != nil { jtv, ok := value.(json.Number) @@ -3654,6 +3758,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MaxValue = ptr.Int32(int32(i64)) } + case "minLength": if value != nil { jtv, ok := value.(json.Number) @@ -3666,6 +3771,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MinLength = ptr.Int32(int32(i64)) } + case "minValue": if value != nil { jtv, ok := value.(json.Number) @@ -3678,6 +3784,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.MinValue = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3686,6 +3793,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Name = ptr.String(jtv) } + case "noEcho": if value != nil { jtv, ok := value.(bool) @@ -3694,10 +3802,12 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.NoEcho = ptr.Bool(jtv) } + case "referencedByResources": if err := awsRestjson1_deserializeDocument__listOf__string(&sv.ReferencedByResources, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -3706,6 +3816,7 @@ func awsRestjson1_deserializeDocumentParameterDefinition(v **types.ParameterDefi } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -3745,6 +3856,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3753,6 +3865,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3792,6 +3905,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3800,14 +3914,17 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.CreationTime = ptr.String(jtv) } + case "parameterDefinitions": if err := awsRestjson1_deserializeDocument__listOfParameterDefinition(&sv.ParameterDefinitions, value); err != nil { return err } + case "requiredCapabilities": if err := awsRestjson1_deserializeDocument__listOfCapability(&sv.RequiredCapabilities, value); err != nil { return err } + case "resourcesSupported": if value != nil { jtv, ok := value.(bool) @@ -3816,6 +3933,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.ResourcesSupported = ptr.Bool(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -3824,6 +3942,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SemanticVersion = ptr.String(jtv) } + case "sourceCodeArchiveUrl": if value != nil { jtv, ok := value.(string) @@ -3832,6 +3951,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SourceCodeArchiveUrl = ptr.String(jtv) } + case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -3840,6 +3960,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.SourceCodeUrl = ptr.String(jtv) } + case "templateUrl": if value != nil { jtv, ok := value.(string) @@ -3848,6 +3969,7 @@ func awsRestjson1_deserializeDocumentVersion(v **types.Version, value interface{ } sv.TemplateUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -3887,6 +4009,7 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.ApplicationId = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -3895,6 +4018,7 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.CreationTime = ptr.String(jtv) } + case "semanticVersion": if value != nil { jtv, ok := value.(string) @@ -3903,6 +4027,7 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.SemanticVersion = ptr.String(jtv) } + case "sourceCodeUrl": if value != nil { jtv, ok := value.(string) @@ -3911,6 +4036,7 @@ func awsRestjson1_deserializeDocumentVersionSummary(v **types.VersionSummary, va } sv.SourceCodeUrl = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/servicecatalog/deserializers.go b/service/servicecatalog/deserializers.go index 005b87cf09f..aa173172870 100644 --- a/service/servicecatalog/deserializers.go +++ b/service/servicecatalog/deserializers.go @@ -10764,6 +10764,7 @@ func awsAwsjson11_deserializeDocumentBudgetDetail(v **types.BudgetDetail, value } sv.BudgetName = ptr.String(jtv) } + default: _, _ = key, value @@ -10837,6 +10838,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchDashboard(v **types.CloudWatchDas } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10910,6 +10912,7 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.ArtifactPath = ptr.String(jtv) } + case "Branch": if value != nil { jtv, ok := value.(string) @@ -10918,6 +10921,7 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.Branch = ptr.String(jtv) } + case "ConnectionArn": if value != nil { jtv, ok := value.(string) @@ -10926,6 +10930,7 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.ConnectionArn = ptr.String(jtv) } + case "Repository": if value != nil { jtv, ok := value.(string) @@ -10934,6 +10939,7 @@ func awsAwsjson11_deserializeDocumentCodeStarParameters(v **types.CodeStarParame } sv.Repository = ptr.String(jtv) } + default: _, _ = key, value @@ -10973,6 +10979,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.ConstraintId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10981,6 +10988,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Description = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -10989,6 +10997,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Owner = ptr.String(jtv) } + case "PortfolioId": if value != nil { jtv, ok := value.(string) @@ -10997,6 +11006,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.PortfolioId = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -11005,6 +11015,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.ProductId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11013,6 +11024,7 @@ func awsAwsjson11_deserializeDocumentConstraintDetail(v **types.ConstraintDetail } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11120,6 +11132,7 @@ func awsAwsjson11_deserializeDocumentConstraintSummary(v **types.ConstraintSumma } sv.Description = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11128,6 +11141,7 @@ func awsAwsjson11_deserializeDocumentConstraintSummary(v **types.ConstraintSumma } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11167,6 +11181,7 @@ func awsAwsjson11_deserializeDocumentDuplicateResourceException(v **types.Duplic } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11202,6 +11217,7 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam if err := awsAwsjson11_deserializeDocumentExecutionParameterValueList(&sv.DefaultValues, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11210,6 +11226,7 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11218,6 +11235,7 @@ func awsAwsjson11_deserializeDocumentExecutionParameter(v **types.ExecutionParam } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -11327,6 +11345,7 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ErrorCode = types.ServiceActionAssociationErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11354,7 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ErrorMessage = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -11343,6 +11363,7 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ProductId = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -11351,6 +11372,7 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ServiceActionId": if value != nil { jtv, ok := value.(string) @@ -11359,6 +11381,7 @@ func awsAwsjson11_deserializeDocumentFailedServiceActionAssociation(v **types.Fa } sv.ServiceActionId = ptr.String(jtv) } + default: _, _ = key, value @@ -11432,6 +11455,7 @@ func awsAwsjson11_deserializeDocumentInvalidParametersException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11471,6 +11495,7 @@ func awsAwsjson11_deserializeDocumentInvalidStateException(v **types.InvalidStat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11510,6 +11535,7 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSuccessfulSyncProvisioningArtifactId = ptr.String(jtv) } + case "LastSuccessfulSyncTime": if value != nil { switch jtv := value.(type) { @@ -11525,6 +11551,7 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } } + case "LastSyncStatus": if value != nil { jtv, ok := value.(string) @@ -11533,6 +11560,7 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSyncStatus = types.LastSyncStatus(jtv) } + case "LastSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -11541,6 +11569,7 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } sv.LastSyncStatusMessage = ptr.String(jtv) } + case "LastSyncTime": if value != nil { switch jtv := value.(type) { @@ -11556,6 +11585,7 @@ func awsAwsjson11_deserializeDocumentLastSync(v **types.LastSync, value interfac } } + default: _, _ = key, value @@ -11595,6 +11625,7 @@ func awsAwsjson11_deserializeDocumentLaunchPath(v **types.LaunchPath, value inte } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11603,6 +11634,7 @@ func awsAwsjson11_deserializeDocumentLaunchPath(v **types.LaunchPath, value inte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11706,6 +11738,7 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma if err := awsAwsjson11_deserializeDocumentConstraintSummaries(&sv.ConstraintSummaries, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11714,6 +11747,7 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11722,10 +11756,12 @@ func awsAwsjson11_deserializeDocumentLaunchPathSummary(v **types.LaunchPathSumma } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11765,6 +11801,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11876,6 +11913,7 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11915,6 +11953,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNode(v **types.OrganizationNode } sv.Type = types.OrganizationNodeType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11923,6 +11962,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNode(v **types.OrganizationNode } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11996,10 +12036,12 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.AllowedPattern = ptr.String(jtv) } + case "AllowedValues": if err := awsAwsjson11_deserializeDocumentAllowedValues(&sv.AllowedValues, value); err != nil { return err } + case "ConstraintDescription": if value != nil { jtv, ok := value.(string) @@ -12008,6 +12050,7 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.ConstraintDescription = ptr.String(jtv) } + case "MaxLength": if value != nil { jtv, ok := value.(string) @@ -12016,6 +12059,7 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MaxLength = ptr.String(jtv) } + case "MaxValue": if value != nil { jtv, ok := value.(string) @@ -12024,6 +12068,7 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MaxValue = ptr.String(jtv) } + case "MinLength": if value != nil { jtv, ok := value.(string) @@ -12032,6 +12077,7 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MinLength = ptr.String(jtv) } + case "MinValue": if value != nil { jtv, ok := value.(string) @@ -12040,6 +12086,7 @@ func awsAwsjson11_deserializeDocumentParameterConstraints(v **types.ParameterCon } sv.MinValue = ptr.String(jtv) } + default: _, _ = key, value @@ -12079,6 +12126,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.ARN = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12094,6 +12142,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12102,6 +12151,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -12110,6 +12160,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.DisplayName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12118,6 +12169,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.Id = ptr.String(jtv) } + case "ProviderName": if value != nil { jtv, ok := value.(string) @@ -12126,6 +12178,7 @@ func awsAwsjson11_deserializeDocumentPortfolioDetail(v **types.PortfolioDetail, } sv.ProviderName = ptr.String(jtv) } + default: _, _ = key, value @@ -12199,6 +12252,7 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.Accepted = jtv } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -12207,6 +12261,7 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.PrincipalId = ptr.String(jtv) } + case "SharePrincipals": if value != nil { jtv, ok := value.(bool) @@ -12215,6 +12270,7 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.SharePrincipals = jtv } + case "ShareTagOptions": if value != nil { jtv, ok := value.(bool) @@ -12223,6 +12279,7 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.ShareTagOptions = jtv } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12231,6 +12288,7 @@ func awsAwsjson11_deserializeDocumentPortfolioShareDetail(v **types.PortfolioSha } sv.Type = types.DescribePortfolioShareType(jtv) } + default: _, _ = key, value @@ -12304,6 +12362,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.PrincipalARN = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -12312,6 +12371,7 @@ func awsAwsjson11_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -12423,6 +12483,7 @@ func awsAwsjson11_deserializeDocumentProductViewAggregationValue(v **types.Produ } sv.ApproximateCount = int32(i64) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12431,6 +12492,7 @@ func awsAwsjson11_deserializeDocumentProductViewAggregationValue(v **types.Produ } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12511,6 +12573,7 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } } + case "ProductARN": if value != nil { jtv, ok := value.(string) @@ -12519,14 +12582,17 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } sv.ProductARN = ptr.String(jtv) } + case "ProductViewSummary": if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } + case "SourceConnection": if err := awsAwsjson11_deserializeDocumentSourceConnectionDetail(&sv.SourceConnection, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12535,6 +12601,7 @@ func awsAwsjson11_deserializeDocumentProductViewDetail(v **types.ProductViewDeta } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -12642,6 +12709,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Distributor = ptr.String(jtv) } + case "HasDefaultPath": if value != nil { jtv, ok := value.(bool) @@ -12650,6 +12718,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.HasDefaultPath = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12658,6 +12727,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12666,6 +12736,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -12674,6 +12745,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Owner = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -12682,6 +12754,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.ProductId = ptr.String(jtv) } + case "ShortDescription": if value != nil { jtv, ok := value.(string) @@ -12690,6 +12763,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.ShortDescription = ptr.String(jtv) } + case "SupportDescription": if value != nil { jtv, ok := value.(string) @@ -12698,6 +12772,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportDescription = ptr.String(jtv) } + case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -12706,6 +12781,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportEmail = ptr.String(jtv) } + case "SupportUrl": if value != nil { jtv, ok := value.(string) @@ -12714,6 +12790,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.SupportUrl = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12722,6 +12799,7 @@ func awsAwsjson11_deserializeDocumentProductViewSummary(v **types.ProductViewSum } sv.Type = types.ProductType(jtv) } + default: _, _ = key, value @@ -12761,6 +12839,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12776,6 +12855,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12784,6 +12864,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Id = ptr.String(jtv) } + case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -12792,6 +12873,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.IdempotencyToken = ptr.String(jtv) } + case "LastProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -12800,6 +12882,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastProvisioningRecordId = ptr.String(jtv) } + case "LastRecordId": if value != nil { jtv, ok := value.(string) @@ -12808,6 +12891,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastRecordId = ptr.String(jtv) } + case "LastSuccessfulProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -12816,6 +12900,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.LastSuccessfulProvisioningRecordId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12824,6 +12909,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Name = ptr.String(jtv) } + case "PhysicalId": if value != nil { jtv, ok := value.(string) @@ -12832,6 +12918,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.PhysicalId = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -12840,6 +12927,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProductId = ptr.String(jtv) } + case "ProductName": if value != nil { jtv, ok := value.(string) @@ -12848,6 +12936,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProductName = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -12856,6 +12945,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ProvisioningArtifactName": if value != nil { jtv, ok := value.(string) @@ -12864,6 +12954,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.ProvisioningArtifactName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12872,6 +12963,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Status = types.ProvisionedProductStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -12880,10 +12972,12 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.StatusMessage = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12892,6 +12986,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.Type = ptr.String(jtv) } + case "UserArn": if value != nil { jtv, ok := value.(string) @@ -12900,6 +12995,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.UserArn = ptr.String(jtv) } + case "UserArnSession": if value != nil { jtv, ok := value.(string) @@ -12908,6 +13004,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductAttribute(v **types.Provi } sv.UserArnSession = ptr.String(jtv) } + default: _, _ = key, value @@ -12981,6 +13078,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -12996,6 +13094,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13004,6 +13103,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Id = ptr.String(jtv) } + case "IdempotencyToken": if value != nil { jtv, ok := value.(string) @@ -13012,6 +13112,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.IdempotencyToken = ptr.String(jtv) } + case "LastProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -13020,6 +13121,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastProvisioningRecordId = ptr.String(jtv) } + case "LastRecordId": if value != nil { jtv, ok := value.(string) @@ -13028,6 +13130,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastRecordId = ptr.String(jtv) } + case "LastSuccessfulProvisioningRecordId": if value != nil { jtv, ok := value.(string) @@ -13036,6 +13139,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LastSuccessfulProvisioningRecordId = ptr.String(jtv) } + case "LaunchRoleArn": if value != nil { jtv, ok := value.(string) @@ -13044,6 +13148,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.LaunchRoleArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13052,6 +13157,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Name = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -13060,6 +13166,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.ProductId = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13068,6 +13175,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13076,6 +13184,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Status = types.ProvisionedProductStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13084,6 +13193,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.StatusMessage = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13092,6 +13202,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductDetail(v **types.Provisio } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -13172,10 +13283,12 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } } + case "NotificationArns": if err := awsAwsjson11_deserializeDocumentNotificationArns(&sv.NotificationArns, value); err != nil { return err } + case "PathId": if value != nil { jtv, ok := value.(string) @@ -13184,6 +13297,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PathId = ptr.String(jtv) } + case "PlanId": if value != nil { jtv, ok := value.(string) @@ -13192,6 +13306,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanId = ptr.String(jtv) } + case "PlanName": if value != nil { jtv, ok := value.(string) @@ -13200,6 +13315,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanName = ptr.String(jtv) } + case "PlanType": if value != nil { jtv, ok := value.(string) @@ -13208,6 +13324,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.PlanType = types.ProvisionedProductPlanType(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -13216,6 +13333,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProductId = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13224,10 +13342,12 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ProvisioningParameters": if err := awsAwsjson11_deserializeDocumentUpdateProvisioningParameters(&sv.ProvisioningParameters, value); err != nil { return err } + case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13356,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisionProductId = ptr.String(jtv) } + case "ProvisionProductName": if value != nil { jtv, ok := value.(string) @@ -13244,6 +13365,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.ProvisionProductName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13252,6 +13374,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.Status = types.ProvisionedProductPlanStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13260,10 +13383,12 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } sv.StatusMessage = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13279,6 +13404,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(v **types.Pro } } + default: _, _ = key, value @@ -13352,6 +13478,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanId = ptr.String(jtv) } + case "PlanName": if value != nil { jtv, ok := value.(string) @@ -13360,6 +13487,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanName = ptr.String(jtv) } + case "PlanType": if value != nil { jtv, ok := value.(string) @@ -13368,6 +13496,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.PlanType = types.ProvisionedProductPlanType(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -13376,6 +13505,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -13384,6 +13514,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisionProductId = ptr.String(jtv) } + case "ProvisionProductName": if value != nil { jtv, ok := value.(string) @@ -13392,6 +13523,7 @@ func awsAwsjson11_deserializeDocumentProvisionedProductPlanSummary(v **types.Pro } sv.ProvisionProductName = ptr.String(jtv) } + default: _, _ = key, value @@ -13474,6 +13606,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13482,6 +13615,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Description = ptr.String(jtv) } + case "Guidance": if value != nil { jtv, ok := value.(string) @@ -13490,6 +13624,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Guidance = types.ProvisioningArtifactGuidance(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13498,6 +13633,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13506,6 +13642,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifact(v **types.Provisioning } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13545,6 +13682,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Active = ptr.Bool(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -13560,6 +13698,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13568,6 +13707,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Description = ptr.String(jtv) } + case "Guidance": if value != nil { jtv, ok := value.(string) @@ -13576,6 +13716,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Guidance = types.ProvisioningArtifactGuidance(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13584,6 +13725,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13592,6 +13734,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Name = ptr.String(jtv) } + case "SourceRevision": if value != nil { jtv, ok := value.(string) @@ -13600,6 +13743,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.SourceRevision = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13608,6 +13752,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(v **types.Provis } sv.Type = types.ProvisioningArtifactType(jtv) } + default: _, _ = key, value @@ -13717,6 +13862,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactOutput(v **types.Provis } sv.Description = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -13725,6 +13871,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactOutput(v **types.Provis } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -13798,6 +13945,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.DefaultValue = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13806,6 +13954,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.Description = ptr.String(jtv) } + case "IsNoEcho": if value != nil { jtv, ok := value.(bool) @@ -13814,10 +13963,12 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.IsNoEcho = jtv } + case "ParameterConstraints": if err := awsAwsjson11_deserializeDocumentParameterConstraints(&sv.ParameterConstraints, value); err != nil { return err } + case "ParameterKey": if value != nil { jtv, ok := value.(string) @@ -13826,6 +13977,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.ParameterKey = ptr.String(jtv) } + case "ParameterType": if value != nil { jtv, ok := value.(string) @@ -13834,6 +13986,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactParameter(v **types.Pro } sv.ParameterType = ptr.String(jtv) } + default: _, _ = key, value @@ -13903,10 +14056,12 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactPreferences(v **types.P if err := awsAwsjson11_deserializeDocumentStackSetAccounts(&sv.StackSetAccounts, value); err != nil { return err } + case "StackSetRegions": if err := awsAwsjson11_deserializeDocumentStackSetRegions(&sv.StackSetRegions, value); err != nil { return err } + default: _, _ = key, value @@ -14021,6 +14176,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14029,6 +14185,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14037,6 +14194,7 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14045,10 +14203,12 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactSummary(v **types.Provi } sv.Name = ptr.String(jtv) } + case "ProvisioningArtifactMetadata": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.ProvisioningArtifactMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -14084,10 +14244,12 @@ func awsAwsjson11_deserializeDocumentProvisioningArtifactView(v **types.Provisio if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } + case "ProvisioningArtifact": if err := awsAwsjson11_deserializeDocumentProvisioningArtifact(&sv.ProvisioningArtifact, value); err != nil { return err } + default: _, _ = key, value @@ -14168,6 +14330,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } } + case "LaunchRoleArn": if value != nil { jtv, ok := value.(string) @@ -14176,6 +14339,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.LaunchRoleArn = ptr.String(jtv) } + case "PathId": if value != nil { jtv, ok := value.(string) @@ -14184,6 +14348,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.PathId = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -14192,6 +14357,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProductId = ptr.String(jtv) } + case "ProvisionedProductId": if value != nil { jtv, ok := value.(string) @@ -14200,6 +14366,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductId = ptr.String(jtv) } + case "ProvisionedProductName": if value != nil { jtv, ok := value.(string) @@ -14208,6 +14375,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductName = ptr.String(jtv) } + case "ProvisionedProductType": if value != nil { jtv, ok := value.(string) @@ -14216,6 +14384,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisionedProductType = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -14224,10 +14393,12 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "RecordErrors": if err := awsAwsjson11_deserializeDocumentRecordErrors(&sv.RecordErrors, value); err != nil { return err } + case "RecordId": if value != nil { jtv, ok := value.(string) @@ -14236,10 +14407,12 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.RecordId = ptr.String(jtv) } + case "RecordTags": if err := awsAwsjson11_deserializeDocumentRecordTags(&sv.RecordTags, value); err != nil { return err } + case "RecordType": if value != nil { jtv, ok := value.(string) @@ -14248,6 +14421,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.RecordType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14256,6 +14430,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } sv.Status = types.RecordStatus(jtv) } + case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -14271,6 +14446,7 @@ func awsAwsjson11_deserializeDocumentRecordDetail(v **types.RecordDetail, value } } + default: _, _ = key, value @@ -14344,6 +14520,7 @@ func awsAwsjson11_deserializeDocumentRecordError(v **types.RecordError, value in } sv.Code = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14352,6 +14529,7 @@ func awsAwsjson11_deserializeDocumentRecordError(v **types.RecordError, value in } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -14425,6 +14603,7 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.Description = ptr.String(jtv) } + case "OutputKey": if value != nil { jtv, ok := value.(string) @@ -14433,6 +14612,7 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.OutputKey = ptr.String(jtv) } + case "OutputValue": if value != nil { jtv, ok := value.(string) @@ -14441,6 +14621,7 @@ func awsAwsjson11_deserializeDocumentRecordOutput(v **types.RecordOutput, value } sv.OutputValue = ptr.String(jtv) } + default: _, _ = key, value @@ -14514,6 +14695,7 @@ func awsAwsjson11_deserializeDocumentRecordTag(v **types.RecordTag, value interf } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14522,6 +14704,7 @@ func awsAwsjson11_deserializeDocumentRecordTag(v **types.RecordTag, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14595,10 +14778,12 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.Action = types.ChangeAction(jtv) } + case "Details": if err := awsAwsjson11_deserializeDocumentResourceChangeDetails(&sv.Details, value); err != nil { return err } + case "LogicalResourceId": if value != nil { jtv, ok := value.(string) @@ -14607,6 +14792,7 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.LogicalResourceId = ptr.String(jtv) } + case "PhysicalResourceId": if value != nil { jtv, ok := value.(string) @@ -14615,6 +14801,7 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.PhysicalResourceId = ptr.String(jtv) } + case "Replacement": if value != nil { jtv, ok := value.(string) @@ -14623,6 +14810,7 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.Replacement = types.Replacement(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -14631,10 +14819,12 @@ func awsAwsjson11_deserializeDocumentResourceChange(v **types.ResourceChange, va } sv.ResourceType = ptr.String(jtv) } + case "Scope": if err := awsAwsjson11_deserializeDocumentScope(&sv.Scope, value); err != nil { return err } + default: _, _ = key, value @@ -14674,6 +14864,7 @@ func awsAwsjson11_deserializeDocumentResourceChangeDetail(v **types.ResourceChan } sv.CausingEntity = ptr.String(jtv) } + case "Evaluation": if value != nil { jtv, ok := value.(string) @@ -14682,10 +14873,12 @@ func awsAwsjson11_deserializeDocumentResourceChangeDetail(v **types.ResourceChan } sv.Evaluation = types.EvaluationType(jtv) } + case "Target": if err := awsAwsjson11_deserializeDocumentResourceTargetDefinition(&sv.Target, value); err != nil { return err } + default: _, _ = key, value @@ -14793,6 +14986,7 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.ARN = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -14808,6 +15002,7 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14816,6 +15011,7 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14824,6 +15020,7 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14832,6 +15029,7 @@ func awsAwsjson11_deserializeDocumentResourceDetail(v **types.ResourceDetail, va } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14905,6 +15103,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14944,6 +15143,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14983,6 +15183,7 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.Attribute = types.ResourceAttribute(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14991,6 +15192,7 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.Name = ptr.String(jtv) } + case "RequiresRecreation": if value != nil { jtv, ok := value.(string) @@ -14999,6 +15201,7 @@ func awsAwsjson11_deserializeDocumentResourceTargetDefinition(v **types.Resource } sv.RequiresRecreation = types.RequiresRecreation(jtv) } + default: _, _ = key, value @@ -15106,10 +15309,12 @@ func awsAwsjson11_deserializeDocumentServiceActionDetail(v **types.ServiceAction if err := awsAwsjson11_deserializeDocumentServiceActionDefinitionMap(&sv.Definition, value); err != nil { return err } + case "ServiceActionSummary": if err := awsAwsjson11_deserializeDocumentServiceActionSummary(&sv.ServiceActionSummary, value); err != nil { return err } + default: _, _ = key, value @@ -15183,6 +15388,7 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.DefinitionType = types.ServiceActionDefinitionType(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15191,6 +15397,7 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15199,6 +15406,7 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15207,6 +15415,7 @@ func awsAwsjson11_deserializeDocumentServiceActionSummary(v **types.ServiceActio } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -15242,10 +15451,12 @@ func awsAwsjson11_deserializeDocumentShareDetails(v **types.ShareDetails, value if err := awsAwsjson11_deserializeDocumentShareErrors(&sv.ShareErrors, value); err != nil { return err } + case "SuccessfulShares": if err := awsAwsjson11_deserializeDocumentSuccessfulShares(&sv.SuccessfulShares, value); err != nil { return err } + default: _, _ = key, value @@ -15281,6 +15492,7 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte if err := awsAwsjson11_deserializeDocumentNamespaces(&sv.Accounts, value); err != nil { return err } + case "Error": if value != nil { jtv, ok := value.(string) @@ -15289,6 +15501,7 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte } sv.Error = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -15297,6 +15510,7 @@ func awsAwsjson11_deserializeDocumentShareError(v **types.ShareError, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15366,10 +15580,12 @@ func awsAwsjson11_deserializeDocumentSourceConnectionDetail(v **types.SourceConn if err := awsAwsjson11_deserializeDocumentSourceConnectionParameters(&sv.ConnectionParameters, value); err != nil { return err } + case "LastSync": if err := awsAwsjson11_deserializeDocumentLastSync(&sv.LastSync, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15378,6 +15594,7 @@ func awsAwsjson11_deserializeDocumentSourceConnectionDetail(v **types.SourceConn } sv.Type = types.SourceType(jtv) } + default: _, _ = key, value @@ -15413,6 +15630,7 @@ func awsAwsjson11_deserializeDocumentSourceConnectionParameters(v **types.Source if err := awsAwsjson11_deserializeDocumentCodeStarParameters(&sv.CodeStar, value); err != nil { return err } + default: _, _ = key, value @@ -15452,6 +15670,7 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.Account = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -15460,6 +15679,7 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.Region = ptr.String(jtv) } + case "StackInstanceStatus": if value != nil { jtv, ok := value.(string) @@ -15468,6 +15688,7 @@ func awsAwsjson11_deserializeDocumentStackInstance(v **types.StackInstance, valu } sv.StackInstanceStatus = types.StackInstanceStatus(jtv) } + default: _, _ = key, value @@ -15649,6 +15870,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15657,6 +15879,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15696,6 +15919,7 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Active = ptr.Bool(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15704,6 +15928,7 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Id = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -15712,6 +15937,7 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Key = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -15720,6 +15946,7 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Owner = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15728,6 +15955,7 @@ func awsAwsjson11_deserializeDocumentTagOptionDetail(v **types.TagOptionDetail, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15801,6 +16029,7 @@ func awsAwsjson11_deserializeDocumentTagOptionNotMigratedException(v **types.Tag } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15874,10 +16103,12 @@ func awsAwsjson11_deserializeDocumentTagOptionSummary(v **types.TagOptionSummary } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentTagOptionValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -15987,6 +16218,7 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.Key = ptr.String(jtv) } + case "UsePreviousValue": if value != nil { jtv, ok := value.(bool) @@ -15995,6 +16227,7 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.UsePreviousValue = jtv } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16003,6 +16236,7 @@ func awsAwsjson11_deserializeDocumentUpdateProvisioningParameter(v **types.Updat } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16076,6 +16310,7 @@ func awsAwsjson11_deserializeDocumentUsageInstruction(v **types.UsageInstruction } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -16084,6 +16319,7 @@ func awsAwsjson11_deserializeDocumentUsageInstruction(v **types.UsageInstruction } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -16339,6 +16575,7 @@ func awsAwsjson11_deserializeOpDocumentBatchAssociateServiceActionWithProvisioni if err := awsAwsjson11_deserializeDocumentFailedServiceActionAssociations(&sv.FailedServiceActionAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -16374,6 +16611,7 @@ func awsAwsjson11_deserializeOpDocumentBatchDisassociateServiceActionFromProvisi if err := awsAwsjson11_deserializeDocumentFailedServiceActionAssociations(&sv.FailedServiceActionAssociations, value); err != nil { return err } + default: _, _ = key, value @@ -16413,6 +16651,7 @@ func awsAwsjson11_deserializeOpDocumentCopyProductOutput(v **CopyProductOutput, } sv.CopyProductToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16448,6 +16687,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } + case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -16456,6 +16696,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai } sv.ConstraintParameters = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16464,6 +16705,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConstraintOutput(v **CreateConstrai } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -16499,10 +16741,12 @@ func awsAwsjson11_deserializeOpDocumentCreatePortfolioOutput(v **CreatePortfolio if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16542,6 +16786,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePortfolioShareOutput(v **CreatePort } sv.PortfolioShareToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16577,14 +16822,17 @@ func awsAwsjson11_deserializeOpDocumentCreateProductOutput(v **CreateProductOutp if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } + case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -16624,6 +16872,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.PlanId = ptr.String(jtv) } + case "PlanName": if value != nil { jtv, ok := value.(string) @@ -16632,6 +16881,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.PlanName = ptr.String(jtv) } + case "ProvisionedProductName": if value != nil { jtv, ok := value.(string) @@ -16640,6 +16890,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisionedProductName = ptr.String(jtv) } + case "ProvisioningArtifactId": if value != nil { jtv, ok := value.(string) @@ -16648,6 +16899,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisioningArtifactId = ptr.String(jtv) } + case "ProvisionProductId": if value != nil { jtv, ok := value.(string) @@ -16656,6 +16908,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisionedProductPlanOutput(v **Cr } sv.ProvisionProductId = ptr.String(jtv) } + default: _, _ = key, value @@ -16691,10 +16944,12 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisioningArtifactOutput(v **Crea if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } + case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -16703,6 +16958,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProvisioningArtifactOutput(v **Crea } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -16738,6 +16994,7 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceActionOutput(v **CreateServi if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -16773,6 +17030,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTagOptionOutput(v **CreateTagOption if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -16874,6 +17132,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePortfolioShareOutput(v **DeletePort } sv.PortfolioShareToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17064,6 +17323,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } + case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -17072,6 +17332,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons } sv.ConstraintParameters = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17080,6 +17341,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConstraintOutput(v **DescribeCons } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -17119,6 +17381,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.CopyProductStatus = types.CopyProductStatus(jtv) } + case "StatusDetail": if value != nil { jtv, ok := value.(string) @@ -17127,6 +17390,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.StatusDetail = ptr.String(jtv) } + case "TargetProductId": if value != nil { jtv, ok := value.(string) @@ -17135,6 +17399,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCopyProductStatusOutput(v **Descr } sv.TargetProductId = ptr.String(jtv) } + default: _, _ = key, value @@ -17170,18 +17435,22 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioOutput(v **DescribePortf if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } + case "PortfolioDetail": if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } + case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptions, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17221,10 +17490,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioSharesOutput(v **Describ } sv.NextPageToken = ptr.String(jtv) } + case "PortfolioShareDetails": if err := awsAwsjson11_deserializeDocumentPortfolioShareDetails(&sv.PortfolioShareDetails, value); err != nil { return err } + default: _, _ = key, value @@ -17264,6 +17535,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.OrganizationNodeValue = ptr.String(jtv) } + case "PortfolioId": if value != nil { jtv, ok := value.(string) @@ -17272,6 +17544,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.PortfolioId = ptr.String(jtv) } + case "PortfolioShareToken": if value != nil { jtv, ok := value.(string) @@ -17280,10 +17553,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.PortfolioShareToken = ptr.String(jtv) } + case "ShareDetails": if err := awsAwsjson11_deserializeDocumentShareDetails(&sv.ShareDetails, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17292,6 +17567,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePortfolioShareStatusOutput(v **De } sv.Status = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -17327,22 +17603,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductAsAdminOutput(v **Describe if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } + case "ProductViewDetail": if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } + case "ProvisioningArtifactSummaries": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactSummaries(&sv.ProvisioningArtifactSummaries, value); err != nil { return err } + case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptions, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17378,18 +17659,22 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductOutput(v **DescribeProduct if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } + case "LaunchPaths": if err := awsAwsjson11_deserializeDocumentLaunchPaths(&sv.LaunchPaths, value); err != nil { return err } + case "ProductViewSummary": if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } + case "ProvisioningArtifacts": if err := awsAwsjson11_deserializeDocumentProvisioningArtifacts(&sv.ProvisioningArtifacts, value); err != nil { return err } + default: _, _ = key, value @@ -17425,10 +17710,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProductViewOutput(v **DescribePro if err := awsAwsjson11_deserializeDocumentProductViewSummary(&sv.ProductViewSummary, value); err != nil { return err } + case "ProvisioningArtifacts": if err := awsAwsjson11_deserializeDocumentProvisioningArtifacts(&sv.ProvisioningArtifacts, value); err != nil { return err } + default: _, _ = key, value @@ -17464,10 +17751,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisionedProductOutput(v **Desc if err := awsAwsjson11_deserializeDocumentCloudWatchDashboards(&sv.CloudWatchDashboards, value); err != nil { return err } + case "ProvisionedProductDetail": if err := awsAwsjson11_deserializeDocumentProvisionedProductDetail(&sv.ProvisionedProductDetail, value); err != nil { return err } + default: _, _ = key, value @@ -17507,14 +17796,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisionedProductPlanOutput(v ** } sv.NextPageToken = ptr.String(jtv) } + case "ProvisionedProductPlanDetails": if err := awsAwsjson11_deserializeDocumentProvisionedProductPlanDetails(&sv.ProvisionedProductPlanDetails, value); err != nil { return err } + case "ResourceChanges": if err := awsAwsjson11_deserializeDocumentResourceChanges(&sv.ResourceChanges, value); err != nil { return err } + default: _, _ = key, value @@ -17550,14 +17842,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningArtifactOutput(v **De if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } + case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } + case "ProvisioningArtifactParameters": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactParameters(&sv.ProvisioningArtifactParameters, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17566,6 +17861,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningArtifactOutput(v **De } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -17601,30 +17897,37 @@ func awsAwsjson11_deserializeOpDocumentDescribeProvisioningParametersOutput(v ** if err := awsAwsjson11_deserializeDocumentConstraintSummaries(&sv.ConstraintSummaries, value); err != nil { return err } + case "ProvisioningArtifactOutputKeys": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactOutputs(&sv.ProvisioningArtifactOutputKeys, value); err != nil { return err } + case "ProvisioningArtifactOutputs": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactOutputs(&sv.ProvisioningArtifactOutputs, value); err != nil { return err } + case "ProvisioningArtifactParameters": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactParameters(&sv.ProvisioningArtifactParameters, value); err != nil { return err } + case "ProvisioningArtifactPreferences": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactPreferences(&sv.ProvisioningArtifactPreferences, value); err != nil { return err } + case "TagOptions": if err := awsAwsjson11_deserializeDocumentTagOptionSummaries(&sv.TagOptions, value); err != nil { return err } + case "UsageInstructions": if err := awsAwsjson11_deserializeDocumentUsageInstructions(&sv.UsageInstructions, value); err != nil { return err } + default: _, _ = key, value @@ -17664,14 +17967,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeRecordOutput(v **DescribeRecordOu } sv.NextPageToken = ptr.String(jtv) } + case "RecordDetail": if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + case "RecordOutputs": if err := awsAwsjson11_deserializeDocumentRecordOutputs(&sv.RecordOutputs, value); err != nil { return err } + default: _, _ = key, value @@ -17707,6 +18013,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceActionExecutionParametersO if err := awsAwsjson11_deserializeDocumentExecutionParameters(&sv.ServiceActionParameters, value); err != nil { return err } + default: _, _ = key, value @@ -17742,6 +18049,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServiceActionOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -17777,6 +18085,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagOptionOutput(v **DescribeTagOp if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -18029,6 +18338,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteProvisionedProductPlanOutput(v **E if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -18064,6 +18374,7 @@ func awsAwsjson11_deserializeOpDocumentExecuteProvisionedProductServiceActionOut if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -18103,6 +18414,7 @@ func awsAwsjson11_deserializeOpDocumentGetAWSOrganizationsAccessStatusOutput(v * } sv.AccessStatus = types.AccessStatus(jtv) } + default: _, _ = key, value @@ -18142,10 +18454,12 @@ func awsAwsjson11_deserializeOpDocumentGetProvisionedProductOutputsOutput(v **Ge } sv.NextPageToken = ptr.String(jtv) } + case "Outputs": if err := awsAwsjson11_deserializeDocumentRecordOutputs(&sv.Outputs, value); err != nil { return err } + default: _, _ = key, value @@ -18181,6 +18495,7 @@ func awsAwsjson11_deserializeOpDocumentImportAsProvisionedProductOutput(v **Impo if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -18220,10 +18535,12 @@ func awsAwsjson11_deserializeOpDocumentListAcceptedPortfolioSharesOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } + case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18259,6 +18576,7 @@ func awsAwsjson11_deserializeOpDocumentListBudgetsForResourceOutput(v **ListBudg if err := awsAwsjson11_deserializeDocumentBudgets(&sv.Budgets, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18267,6 +18585,7 @@ func awsAwsjson11_deserializeOpDocumentListBudgetsForResourceOutput(v **ListBudg } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18302,6 +18621,7 @@ func awsAwsjson11_deserializeOpDocumentListConstraintsForPortfolioOutput(v **Lis if err := awsAwsjson11_deserializeDocumentConstraintDetails(&sv.ConstraintDetails, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18310,6 +18630,7 @@ func awsAwsjson11_deserializeOpDocumentListConstraintsForPortfolioOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18345,6 +18666,7 @@ func awsAwsjson11_deserializeOpDocumentListLaunchPathsOutput(v **ListLaunchPaths if err := awsAwsjson11_deserializeDocumentLaunchPathSummaries(&sv.LaunchPathSummaries, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18353,6 +18675,7 @@ func awsAwsjson11_deserializeOpDocumentListLaunchPathsOutput(v **ListLaunchPaths } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18392,10 +18715,12 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationPortfolioAccessOutput(v * } sv.NextPageToken = ptr.String(jtv) } + case "OrganizationNodes": if err := awsAwsjson11_deserializeDocumentOrganizationNodes(&sv.OrganizationNodes, value); err != nil { return err } + default: _, _ = key, value @@ -18431,6 +18756,7 @@ func awsAwsjson11_deserializeOpDocumentListPortfolioAccessOutput(v **ListPortfol if err := awsAwsjson11_deserializeDocumentAccountIds(&sv.AccountIds, value); err != nil { return err } + case "NextPageToken": if value != nil { jtv, ok := value.(string) @@ -18439,6 +18765,7 @@ func awsAwsjson11_deserializeOpDocumentListPortfolioAccessOutput(v **ListPortfol } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18478,10 +18805,12 @@ func awsAwsjson11_deserializeOpDocumentListPortfoliosForProductOutput(v **ListPo } sv.NextPageToken = ptr.String(jtv) } + case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18521,10 +18850,12 @@ func awsAwsjson11_deserializeOpDocumentListPortfoliosOutput(v **ListPortfoliosOu } sv.NextPageToken = ptr.String(jtv) } + case "PortfolioDetails": if err := awsAwsjson11_deserializeDocumentPortfolioDetails(&sv.PortfolioDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18564,10 +18895,12 @@ func awsAwsjson11_deserializeOpDocumentListPrincipalsForPortfolioOutput(v **List } sv.NextPageToken = ptr.String(jtv) } + case "Principals": if err := awsAwsjson11_deserializeDocumentPrincipals(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -18607,10 +18940,12 @@ func awsAwsjson11_deserializeOpDocumentListProvisionedProductPlansOutput(v **Lis } sv.NextPageToken = ptr.String(jtv) } + case "ProvisionedProductPlans": if err := awsAwsjson11_deserializeDocumentProvisionedProductPlans(&sv.ProvisionedProductPlans, value); err != nil { return err } + default: _, _ = key, value @@ -18650,10 +18985,12 @@ func awsAwsjson11_deserializeOpDocumentListProvisioningArtifactsForServiceAction } sv.NextPageToken = ptr.String(jtv) } + case "ProvisioningArtifactViews": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactViews(&sv.ProvisioningArtifactViews, value); err != nil { return err } + default: _, _ = key, value @@ -18693,10 +19030,12 @@ func awsAwsjson11_deserializeOpDocumentListProvisioningArtifactsOutput(v **ListP } sv.NextPageToken = ptr.String(jtv) } + case "ProvisioningArtifactDetails": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetails(&sv.ProvisioningArtifactDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18736,10 +19075,12 @@ func awsAwsjson11_deserializeOpDocumentListRecordHistoryOutput(v **ListRecordHis } sv.NextPageToken = ptr.String(jtv) } + case "RecordDetails": if err := awsAwsjson11_deserializeDocumentRecordDetails(&sv.RecordDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18779,10 +19120,12 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForTagOptionOutput(v **ListR } sv.PageToken = ptr.String(jtv) } + case "ResourceDetails": if err := awsAwsjson11_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + default: _, _ = key, value @@ -18822,10 +19165,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceActionsForProvisioningArtifact } sv.NextPageToken = ptr.String(jtv) } + case "ServiceActionSummaries": if err := awsAwsjson11_deserializeDocumentServiceActionSummaries(&sv.ServiceActionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -18865,10 +19210,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceActionsOutput(v **ListServiceA } sv.NextPageToken = ptr.String(jtv) } + case "ServiceActionSummaries": if err := awsAwsjson11_deserializeDocumentServiceActionSummaries(&sv.ServiceActionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -18908,10 +19255,12 @@ func awsAwsjson11_deserializeOpDocumentListStackInstancesForProvisionedProductOu } sv.NextPageToken = ptr.String(jtv) } + case "StackInstances": if err := awsAwsjson11_deserializeDocumentStackInstances(&sv.StackInstances, value); err != nil { return err } + default: _, _ = key, value @@ -18951,10 +19300,12 @@ func awsAwsjson11_deserializeOpDocumentListTagOptionsOutput(v **ListTagOptionsOu } sv.PageToken = ptr.String(jtv) } + case "TagOptionDetails": if err := awsAwsjson11_deserializeDocumentTagOptionDetails(&sv.TagOptionDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19083,6 +19434,7 @@ func awsAwsjson11_deserializeOpDocumentProvisionProductOutput(v **ProvisionProdu if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -19153,10 +19505,12 @@ func awsAwsjson11_deserializeOpDocumentScanProvisionedProductsOutput(v **ScanPro } sv.NextPageToken = ptr.String(jtv) } + case "ProvisionedProducts": if err := awsAwsjson11_deserializeDocumentProvisionedProductDetails(&sv.ProvisionedProducts, value); err != nil { return err } + default: _, _ = key, value @@ -19196,10 +19550,12 @@ func awsAwsjson11_deserializeOpDocumentSearchProductsAsAdminOutput(v **SearchPro } sv.NextPageToken = ptr.String(jtv) } + case "ProductViewDetails": if err := awsAwsjson11_deserializeDocumentProductViewDetails(&sv.ProductViewDetails, value); err != nil { return err } + default: _, _ = key, value @@ -19239,14 +19595,17 @@ func awsAwsjson11_deserializeOpDocumentSearchProductsOutput(v **SearchProductsOu } sv.NextPageToken = ptr.String(jtv) } + case "ProductViewAggregations": if err := awsAwsjson11_deserializeDocumentProductViewAggregations(&sv.ProductViewAggregations, value); err != nil { return err } + case "ProductViewSummaries": if err := awsAwsjson11_deserializeDocumentProductViewSummaries(&sv.ProductViewSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -19286,10 +19645,12 @@ func awsAwsjson11_deserializeOpDocumentSearchProvisionedProductsOutput(v **Searc } sv.NextPageToken = ptr.String(jtv) } + case "ProvisionedProducts": if err := awsAwsjson11_deserializeDocumentProvisionedProductAttributes(&sv.ProvisionedProducts, value); err != nil { return err } + case "TotalResultsCount": if value != nil { jtv, ok := value.(json.Number) @@ -19302,6 +19663,7 @@ func awsAwsjson11_deserializeOpDocumentSearchProvisionedProductsOutput(v **Searc } sv.TotalResultsCount = int32(i64) } + default: _, _ = key, value @@ -19337,6 +19699,7 @@ func awsAwsjson11_deserializeOpDocumentTerminateProvisionedProductOutput(v **Ter if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -19372,6 +19735,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai if err := awsAwsjson11_deserializeDocumentConstraintDetail(&sv.ConstraintDetail, value); err != nil { return err } + case "ConstraintParameters": if value != nil { jtv, ok := value.(string) @@ -19380,6 +19744,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai } sv.ConstraintParameters = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19388,6 +19753,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConstraintOutput(v **UpdateConstrai } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -19423,10 +19789,12 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioOutput(v **UpdatePortfolio if err := awsAwsjson11_deserializeDocumentPortfolioDetail(&sv.PortfolioDetail, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19466,6 +19834,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioShareOutput(v **UpdatePort } sv.PortfolioShareToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19474,6 +19843,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePortfolioShareOutput(v **UpdatePort } sv.Status = types.ShareStatus(jtv) } + default: _, _ = key, value @@ -19509,10 +19879,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateProductOutput(v **UpdateProductOutp if err := awsAwsjson11_deserializeDocumentProductViewDetail(&sv.ProductViewDetail, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19548,6 +19920,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductOutput(v **Update if err := awsAwsjson11_deserializeDocumentRecordDetail(&sv.RecordDetail, value); err != nil { return err } + default: _, _ = key, value @@ -19587,10 +19960,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.ProvisionedProductId = ptr.String(jtv) } + case "ProvisionedProductProperties": if err := awsAwsjson11_deserializeDocumentProvisionedProductProperties(&sv.ProvisionedProductProperties, value); err != nil { return err } + case "RecordId": if value != nil { jtv, ok := value.(string) @@ -19599,6 +19974,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.RecordId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19607,6 +19983,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisionedProductPropertiesOutput( } sv.Status = types.RecordStatus(jtv) } + default: _, _ = key, value @@ -19642,10 +20019,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisioningArtifactOutput(v **Upda if err := awsAwsjson11_deserializeDocumentProvisioningArtifactInfo(&sv.Info, value); err != nil { return err } + case "ProvisioningArtifactDetail": if err := awsAwsjson11_deserializeDocumentProvisioningArtifactDetail(&sv.ProvisioningArtifactDetail, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -19654,6 +20033,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProvisioningArtifactOutput(v **Upda } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -19689,6 +20069,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceActionOutput(v **UpdateServi if err := awsAwsjson11_deserializeDocumentServiceActionDetail(&sv.ServiceActionDetail, value); err != nil { return err } + default: _, _ = key, value @@ -19724,6 +20105,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateTagOptionOutput(v **UpdateTagOption if err := awsAwsjson11_deserializeDocumentTagOptionDetail(&sv.TagOptionDetail, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/servicecatalogappregistry/deserializers.go b/service/servicecatalogappregistry/deserializers.go index 885c2d1b562..ff5d1ee9576 100644 --- a/service/servicecatalogappregistry/deserializers.go +++ b/service/servicecatalogappregistry/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAttributeGroupOutput(v **Associa } sv.ApplicationArn = ptr.String(jtv) } + case "attributeGroupArn": if value != nil { jtv, ok := value.(string) @@ -196,6 +197,7 @@ func awsRestjson1_deserializeOpDocumentAssociateAttributeGroupOutput(v **Associa } sv.AttributeGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -366,10 +368,12 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceOutput(v **AssociateReso } sv.ApplicationArn = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -378,6 +382,7 @@ func awsRestjson1_deserializeOpDocumentAssociateResourceOutput(v **AssociateReso } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -541,6 +546,7 @@ func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -701,6 +707,7 @@ func awsRestjson1_deserializeOpDocumentCreateAttributeGroupOutput(v **CreateAttr if err := awsRestjson1_deserializeDocumentAttributeGroup(&sv.AttributeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -858,6 +865,7 @@ func awsRestjson1_deserializeOpDocumentDeleteApplicationOutput(v **DeleteApplica if err := awsRestjson1_deserializeDocumentApplicationSummary(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -1015,6 +1023,7 @@ func awsRestjson1_deserializeOpDocumentDeleteAttributeGroupOutput(v **DeleteAttr if err := awsRestjson1_deserializeDocumentAttributeGroupSummary(&sv.AttributeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -1176,6 +1185,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateAttributeGroupOutput(v **Disa } sv.ApplicationArn = ptr.String(jtv) } + case "attributeGroupArn": if value != nil { jtv, ok := value.(string) @@ -1184,6 +1194,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateAttributeGroupOutput(v **Disa } sv.AttributeGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1348,6 +1359,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceOutput(v **Disassocia } sv.ApplicationArn = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -1356,6 +1368,7 @@ func awsRestjson1_deserializeOpDocumentDisassociateResourceOutput(v **Disassocia } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1516,6 +1529,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplicationTagDefinition(&sv.ApplicationTag, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1524,6 +1538,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Arn = ptr.String(jtv) } + case "associatedResourceCount": if value != nil { jtv, ok := value.(json.Number) @@ -1536,6 +1551,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.AssociatedResourceCount = int32(i64) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1548,6 +1564,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1556,6 +1573,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1564,10 +1582,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Id = ptr.String(jtv) } + case "integrations": if err := awsRestjson1_deserializeDocumentIntegrations(&sv.Integrations, value); err != nil { return err } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -1580,6 +1600,7 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1588,10 +1609,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1749,14 +1772,17 @@ func awsRestjson1_deserializeOpDocumentGetAssociatedResourceOutput(v **GetAssoci if err := awsRestjson1_deserializeDocumentApplicationTagResult(&sv.ApplicationTagResult, value); err != nil { return err } + case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -1921,6 +1947,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Arn = ptr.String(jtv) } + case "attributes": if value != nil { jtv, ok := value.(string) @@ -1929,6 +1956,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Attributes = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1937,6 +1965,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.CreatedBy = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -1949,6 +1978,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1957,6 +1987,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1965,6 +1996,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -1977,6 +2009,7 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1985,10 +2018,12 @@ func awsRestjson1_deserializeOpDocumentGetAttributeGroupOutput(v **GetAttributeG } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2140,6 +2175,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationOutput(v **GetConfigurati if err := awsRestjson1_deserializeDocumentAppRegistryConfiguration(&sv.Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -2294,6 +2330,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaries(&sv.Applications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2302,6 +2339,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2459,6 +2497,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAttributeGroupsOutput(v **L if err := awsRestjson1_deserializeDocumentAttributeGroupIds(&sv.AttributeGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2467,6 +2506,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedAttributeGroupsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2628,10 +2668,12 @@ func awsRestjson1_deserializeOpDocumentListAssociatedResourcesOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -2786,6 +2828,7 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsOutput(v **ListAttribu if err := awsRestjson1_deserializeDocumentAttributeGroupSummaries(&sv.AttributeGroups, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2794,6 +2837,7 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsOutput(v **ListAttribu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2951,6 +2995,7 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsForApplicationOutput(v if err := awsRestjson1_deserializeDocumentAttributeGroupDetailsList(&sv.AttributeGroupsDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2959,6 +3004,7 @@ func awsRestjson1_deserializeOpDocumentListAttributeGroupsForApplicationOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3116,6 +3162,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3383,6 +3430,7 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ActionTaken = types.SyncAction(jtv) } + case "applicationArn": if value != nil { jtv, ok := value.(string) @@ -3391,6 +3439,7 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ApplicationArn = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3448,7 @@ func awsRestjson1_deserializeOpDocumentSyncResourceOutput(v **SyncResourceOutput } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3750,6 +3800,7 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplica if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + default: _, _ = key, value @@ -3910,6 +3961,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAttributeGroupOutput(v **UpdateAttr if err := awsRestjson1_deserializeDocumentAttributeGroup(&sv.AttributeGroup, value); err != nil { return err } + default: _, _ = key, value @@ -4161,6 +4213,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in if err := awsRestjson1_deserializeDocumentApplicationTagDefinition(&sv.ApplicationTag, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4169,6 +4222,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4181,6 +4235,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4189,6 +4244,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4197,6 +4253,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4209,6 +4266,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4217,10 +4275,12 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4294,6 +4354,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4306,6 +4367,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4314,6 +4376,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4322,6 +4385,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4334,6 +4398,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4342,6 +4407,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4417,6 +4483,7 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.ApplicationTagStatus = types.ApplicationTagStatus(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4425,6 +4492,7 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.ErrorMessage = ptr.String(jtv) } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4433,10 +4501,12 @@ func awsRestjson1_deserializeDocumentApplicationTagResult(v **types.ApplicationT } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResourcesList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -4472,6 +4542,7 @@ func awsRestjson1_deserializeDocumentAppRegistryConfiguration(v **types.AppRegis if err := awsRestjson1_deserializeDocumentTagQueryConfiguration(&sv.TagQueryConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4511,6 +4582,7 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4523,6 +4595,7 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4531,6 +4604,7 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4539,6 +4613,7 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4551,6 +4626,7 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4559,10 +4635,12 @@ func awsRestjson1_deserializeDocumentAttributeGroup(v **types.AttributeGroup, va } sv.Name = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4602,6 +4680,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4610,6 +4689,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.CreatedBy = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4618,6 +4698,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4626,6 +4707,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupDetails(v **types.AttributeGr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4769,6 +4851,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -4777,6 +4860,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.CreatedBy = ptr.String(jtv) } + case "creationTime": if value != nil { jtv, ok := value.(string) @@ -4789,6 +4873,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.CreationTime = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -4797,6 +4882,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4805,6 +4891,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Id = ptr.String(jtv) } + case "lastUpdateTime": if value != nil { jtv, ok := value.(string) @@ -4817,6 +4904,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.LastUpdateTime = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4825,6 +4913,7 @@ func awsRestjson1_deserializeDocumentAttributeGroupSummary(v **types.AttributeGr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4864,6 +4953,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4899,10 +4989,12 @@ func awsRestjson1_deserializeDocumentIntegrations(v **types.Integrations, value if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ApplicationTagResourceGroup, value); err != nil { return err } + case "resourceGroup": if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ResourceGroup, value); err != nil { return err } + default: _, _ = key, value @@ -4942,6 +5034,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5017,6 +5110,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Arn = ptr.String(jtv) } + case "associationTime": if value != nil { jtv, ok := value.(string) @@ -5029,10 +5123,12 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.AssociationTime = ptr.Time(t) } + case "integrations": if err := awsRestjson1_deserializeDocumentResourceIntegrations(&sv.Integrations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -5041,6 +5137,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5080,6 +5177,7 @@ func awsRestjson1_deserializeDocumentResourceDetails(v **types.ResourceDetails, } sv.TagValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5119,6 +5217,7 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.Arn = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -5127,6 +5226,7 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.ErrorMessage = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5235,7 @@ func awsRestjson1_deserializeDocumentResourceGroup(v **types.ResourceGroup, valu } sv.State = types.ResourceGroupState(jtv) } + default: _, _ = key, value @@ -5174,6 +5275,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.Arn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5182,14 +5284,17 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.Name = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentOptions(&sv.Options, value); err != nil { return err } + case "resourceDetails": if err := awsRestjson1_deserializeDocumentResourceDetails(&sv.ResourceDetails, value); err != nil { return err } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5198,6 +5303,7 @@ func awsRestjson1_deserializeDocumentResourceInfo(v **types.ResourceInfo, value } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -5233,6 +5339,7 @@ func awsRestjson1_deserializeDocumentResourceIntegrations(v **types.ResourceInte if err := awsRestjson1_deserializeDocumentResourceGroup(&sv.ResourceGroup, value); err != nil { return err } + default: _, _ = key, value @@ -5272,6 +5379,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5379,6 +5487,7 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ErrorMessage = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -5387,6 +5496,7 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ResourceArn = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5395,6 +5505,7 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.ResourceType = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5403,6 +5514,7 @@ func awsRestjson1_deserializeDocumentResourcesListItem(v **types.ResourcesListIt } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -5442,6 +5554,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5481,6 +5594,7 @@ func awsRestjson1_deserializeDocumentTagQueryConfiguration(v **types.TagQueryCon } sv.TagKey = ptr.String(jtv) } + default: _, _ = key, value @@ -5556,6 +5670,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -5564,6 +5679,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -5603,6 +5719,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/servicediscovery/deserializers.go b/service/servicediscovery/deserializers.go index 77852b3a386..4a010e86caa 100644 --- a/service/servicediscovery/deserializers.go +++ b/service/servicediscovery/deserializers.go @@ -3744,6 +3744,7 @@ func awsAwsjson11_deserializeDocumentCustomHealthNotFound(v **types.CustomHealth } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3779,6 +3780,7 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf if err := awsAwsjson11_deserializeDocumentDnsRecordList(&sv.DnsRecords, value); err != nil { return err } + case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -3787,6 +3789,7 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf } sv.NamespaceId = ptr.String(jtv) } + case "RoutingPolicy": if value != nil { jtv, ok := value.(string) @@ -3795,6 +3798,7 @@ func awsAwsjson11_deserializeDocumentDnsConfig(v **types.DnsConfig, value interf } sv.RoutingPolicy = types.RoutingPolicy(jtv) } + default: _, _ = key, value @@ -3834,10 +3838,12 @@ func awsAwsjson11_deserializeDocumentDnsProperties(v **types.DnsProperties, valu } sv.HostedZoneId = ptr.String(jtv) } + case "SOA": if err := awsAwsjson11_deserializeDocumentSOA(&sv.SOA, value); err != nil { return err } + default: _, _ = key, value @@ -3881,6 +3887,7 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.TTL = ptr.Int64(i64) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3889,6 +3896,7 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Type = types.RecordType(jtv) } + default: _, _ = key, value @@ -3962,6 +3970,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.DuplicateOperationId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3970,6 +3979,7 @@ func awsAwsjson11_deserializeDocumentDuplicateRequest(v **types.DuplicateRequest } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4013,6 +4023,7 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.FailureThreshold = ptr.Int32(int32(i64)) } + case "ResourcePath": if value != nil { jtv, ok := value.(string) @@ -4021,6 +4032,7 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.ResourcePath = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4029,6 +4041,7 @@ func awsAwsjson11_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Type = types.HealthCheckType(jtv) } + default: _, _ = key, value @@ -4072,6 +4085,7 @@ func awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(v **types.HealthChe } sv.FailureThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4107,6 +4121,7 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "HealthStatus": if value != nil { jtv, ok := value.(string) @@ -4115,6 +4130,7 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.HealthStatus = types.HealthStatus(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -4123,6 +4139,7 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.InstanceId = ptr.String(jtv) } + case "NamespaceName": if value != nil { jtv, ok := value.(string) @@ -4131,6 +4148,7 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.NamespaceName = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4139,6 +4157,7 @@ func awsAwsjson11_deserializeDocumentHttpInstanceSummary(v **types.HttpInstanceS } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -4212,6 +4231,7 @@ func awsAwsjson11_deserializeDocumentHttpProperties(v **types.HttpProperties, va } sv.HttpName = ptr.String(jtv) } + default: _, _ = key, value @@ -4247,6 +4267,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -4255,6 +4276,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.CreatorRequestId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4263,6 +4285,7 @@ func awsAwsjson11_deserializeDocumentInstance(v **types.Instance, value interfac } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4338,6 +4361,7 @@ func awsAwsjson11_deserializeDocumentInstanceNotFound(v **types.InstanceNotFound } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4373,6 +4397,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, if err := awsAwsjson11_deserializeDocumentAttributes(&sv.Attributes, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4381,6 +4406,7 @@ func awsAwsjson11_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4454,6 +4480,7 @@ func awsAwsjson11_deserializeDocumentInvalidInput(v **types.InvalidInput, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4493,6 +4520,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Arn = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -4508,6 +4536,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -4516,6 +4545,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.CreatorRequestId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4524,6 +4554,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4532,6 +4563,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4540,10 +4572,12 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Name = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentNamespaceProperties(&sv.Properties, value); err != nil { return err } + case "ServiceCount": if value != nil { jtv, ok := value.(json.Number) @@ -4556,6 +4590,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.ServiceCount = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4564,6 +4599,7 @@ func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interf } sv.Type = types.NamespaceType(jtv) } + default: _, _ = key, value @@ -4603,6 +4639,7 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.CreatorRequestId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4611,6 +4648,7 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.Message = ptr.String(jtv) } + case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -4619,6 +4657,7 @@ func awsAwsjson11_deserializeDocumentNamespaceAlreadyExists(v **types.NamespaceA } sv.NamespaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4658,6 +4697,7 @@ func awsAwsjson11_deserializeDocumentNamespaceNotFound(v **types.NamespaceNotFou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4693,10 +4733,12 @@ func awsAwsjson11_deserializeDocumentNamespaceProperties(v **types.NamespaceProp if err := awsAwsjson11_deserializeDocumentDnsProperties(&sv.DnsProperties, value); err != nil { return err } + case "HttpProperties": if err := awsAwsjson11_deserializeDocumentHttpProperties(&sv.HttpProperties, value); err != nil { return err } + default: _, _ = key, value @@ -4770,6 +4812,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Arn = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -4785,6 +4828,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4793,6 +4837,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4801,6 +4846,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4809,10 +4855,12 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Name = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentNamespaceProperties(&sv.Properties, value); err != nil { return err } + case "ServiceCount": if value != nil { jtv, ok := value.(json.Number) @@ -4825,6 +4873,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.ServiceCount = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4882,7 @@ func awsAwsjson11_deserializeDocumentNamespaceSummary(v **types.NamespaceSummary } sv.Type = types.NamespaceType(jtv) } + default: _, _ = key, value @@ -4879,6 +4929,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -4887,6 +4938,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -4895,6 +4947,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.ErrorMessage = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4903,6 +4956,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4911,10 +4965,12 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentOperationTargetsMap(&sv.Targets, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4923,6 +4979,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } sv.Type = types.OperationType(jtv) } + case "UpdateDate": if value != nil { switch jtv := value.(type) { @@ -4938,6 +4995,7 @@ func awsAwsjson11_deserializeDocumentOperation(v **types.Operation, value interf } } + default: _, _ = key, value @@ -4977,6 +5035,7 @@ func awsAwsjson11_deserializeDocumentOperationNotFound(v **types.OperationNotFou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5016,6 +5075,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Id = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5024,6 +5084,7 @@ func awsAwsjson11_deserializeDocumentOperationSummary(v **types.OperationSummary } sv.Status = types.OperationStatus(jtv) } + default: _, _ = key, value @@ -5133,6 +5194,7 @@ func awsAwsjson11_deserializeDocumentRequestLimitExceeded(v **types.RequestLimit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5172,6 +5234,7 @@ func awsAwsjson11_deserializeDocumentResourceInUse(v **types.ResourceInUse, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5211,6 +5274,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceeded(v **types.ResourceLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5250,6 +5314,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5289,6 +5354,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Arn = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -5304,6 +5370,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } } + case "CreatorRequestId": if value != nil { jtv, ok := value.(string) @@ -5312,6 +5379,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.CreatorRequestId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5320,18 +5388,22 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Description = ptr.String(jtv) } + case "DnsConfig": if err := awsAwsjson11_deserializeDocumentDnsConfig(&sv.DnsConfig, value); err != nil { return err } + case "HealthCheckConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckConfig(&sv.HealthCheckConfig, value); err != nil { return err } + case "HealthCheckCustomConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(&sv.HealthCheckCustomConfig, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5340,6 +5412,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Id = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -5352,6 +5425,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5360,6 +5434,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } + case "NamespaceId": if value != nil { jtv, ok := value.(string) @@ -5368,6 +5443,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.NamespaceId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5376,6 +5452,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Type = types.ServiceType(jtv) } + default: _, _ = key, value @@ -5415,6 +5492,7 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.CreatorRequestId = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5423,6 +5501,7 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.Message = ptr.String(jtv) } + case "ServiceId": if value != nil { jtv, ok := value.(string) @@ -5431,6 +5510,7 @@ func awsAwsjson11_deserializeDocumentServiceAlreadyExists(v **types.ServiceAlrea } sv.ServiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -5470,6 +5550,7 @@ func awsAwsjson11_deserializeDocumentServiceNotFound(v **types.ServiceNotFound, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5543,6 +5624,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } + case "CreateDate": if value != nil { switch jtv := value.(type) { @@ -5558,6 +5640,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5566,18 +5649,22 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Description = ptr.String(jtv) } + case "DnsConfig": if err := awsAwsjson11_deserializeDocumentDnsConfig(&sv.DnsConfig, value); err != nil { return err } + case "HealthCheckConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckConfig(&sv.HealthCheckConfig, value); err != nil { return err } + case "HealthCheckCustomConfig": if err := awsAwsjson11_deserializeDocumentHealthCheckCustomConfig(&sv.HealthCheckCustomConfig, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -5586,6 +5673,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Id = ptr.String(jtv) } + case "InstanceCount": if value != nil { jtv, ok := value.(json.Number) @@ -5598,6 +5686,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.InstanceCount = ptr.Int32(int32(i64)) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5606,6 +5695,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5614,6 +5704,7 @@ func awsAwsjson11_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Type = types.ServiceType(jtv) } + default: _, _ = key, value @@ -5657,6 +5748,7 @@ func awsAwsjson11_deserializeDocumentSOA(v **types.SOA, value interface{}) error } sv.TTL = ptr.Int64(i64) } + default: _, _ = key, value @@ -5696,6 +5788,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -5704,6 +5797,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5777,6 +5871,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5880,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -5824,6 +5920,7 @@ func awsAwsjson11_deserializeOpDocumentCreateHttpNamespaceOutput(v **CreateHttpN } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5863,6 +5960,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePrivateDnsNamespaceOutput(v **Creat } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5902,6 +6000,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePublicDnsNamespaceOutput(v **Create } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5937,6 +6036,7 @@ func awsAwsjson11_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -5976,6 +6076,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespace } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6046,6 +6147,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterInstanceOutput(v **DeregisterIn } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6081,6 +6183,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesOutput(v **DiscoverInsta if err := awsAwsjson11_deserializeDocumentHttpInstanceSummaryList(&sv.Instances, value); err != nil { return err } + case "InstancesRevision": if value != nil { jtv, ok := value.(json.Number) @@ -6093,6 +6196,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesOutput(v **DiscoverInsta } sv.InstancesRevision = ptr.Int64(i64) } + default: _, _ = key, value @@ -6136,6 +6240,7 @@ func awsAwsjson11_deserializeOpDocumentDiscoverInstancesRevisionOutput(v **Disco } sv.InstancesRevision = ptr.Int64(i64) } + default: _, _ = key, value @@ -6171,6 +6276,7 @@ func awsAwsjson11_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsAwsjson11_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -6210,10 +6316,12 @@ func awsAwsjson11_deserializeOpDocumentGetInstancesHealthStatusOutput(v **GetIns } sv.NextToken = ptr.String(jtv) } + case "Status": if err := awsAwsjson11_deserializeDocumentInstanceHealthStatusMap(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -6249,6 +6357,7 @@ func awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(v **GetNamespaceOutput if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { return err } + default: _, _ = key, value @@ -6284,6 +6393,7 @@ func awsAwsjson11_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsAwsjson11_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -6319,6 +6429,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va if err := awsAwsjson11_deserializeDocumentService(&sv.Service, value); err != nil { return err } + default: _, _ = key, value @@ -6354,6 +6465,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceSummaryList(&sv.Instances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6362,6 +6474,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6397,6 +6510,7 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu if err := awsAwsjson11_deserializeDocumentNamespaceSummariesList(&sv.Namespaces, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6405,6 +6519,7 @@ func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6444,10 +6559,12 @@ func awsAwsjson11_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } + case "Operations": if err := awsAwsjson11_deserializeDocumentOperationSummaryList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -6487,10 +6604,12 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "Services": if err := awsAwsjson11_deserializeDocumentServiceSummariesList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -6526,6 +6645,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6565,6 +6685,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterInstanceOutput(v **RegisterInstan } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6666,6 +6787,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateHttpNamespaceOutput(v **UpdateHttpN } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6705,6 +6827,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePrivateDnsNamespaceOutput(v **Updat } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6744,6 +6867,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePublicDnsNamespaceOutput(v **Update } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -6783,6 +6907,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/servicequotas/deserializers.go b/service/servicequotas/deserializers.go index a6abc794493..2fa1c68734c 100644 --- a/service/servicequotas/deserializers.go +++ b/service/servicequotas/deserializers.go @@ -3097,6 +3097,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3136,6 +3137,7 @@ func awsAwsjson11_deserializeDocumentAWSServiceAccessNotEnabledException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3175,6 +3177,7 @@ func awsAwsjson11_deserializeDocumentDependencyAccessDeniedException(v **types.D } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3214,6 +3217,7 @@ func awsAwsjson11_deserializeDocumentErrorReason(v **types.ErrorReason, value in } sv.ErrorCode = types.ErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -3222,6 +3226,7 @@ func awsAwsjson11_deserializeDocumentErrorReason(v **types.ErrorReason, value in } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3261,6 +3266,7 @@ func awsAwsjson11_deserializeDocumentIllegalArgumentException(v **types.IllegalA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3300,6 +3306,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3339,6 +3346,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3410,6 +3418,7 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte if err := awsAwsjson11_deserializeDocumentMetricDimensionsMapDefinition(&sv.MetricDimensions, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -3418,6 +3427,7 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricName = ptr.String(jtv) } + case "MetricNamespace": if value != nil { jtv, ok := value.(string) @@ -3426,6 +3436,7 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricNamespace = ptr.String(jtv) } + case "MetricStatisticRecommendation": if value != nil { jtv, ok := value.(string) @@ -3434,6 +3445,7 @@ func awsAwsjson11_deserializeDocumentMetricInfo(v **types.MetricInfo, value inte } sv.MetricStatisticRecommendation = ptr.String(jtv) } + default: _, _ = key, value @@ -3473,6 +3485,7 @@ func awsAwsjson11_deserializeDocumentNoAvailableOrganizationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3512,6 +3525,7 @@ func awsAwsjson11_deserializeDocumentNoSuchResourceException(v **types.NoSuchRes } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3551,6 +3565,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNotInAllFeaturesModeException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3624,6 +3639,7 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextId = ptr.String(jtv) } + case "ContextScope": if value != nil { jtv, ok := value.(string) @@ -3632,6 +3648,7 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextScope = types.QuotaContextScope(jtv) } + case "ContextScopeType": if value != nil { jtv, ok := value.(string) @@ -3640,6 +3657,7 @@ func awsAwsjson11_deserializeDocumentQuotaContextInfo(v **types.QuotaContextInfo } sv.ContextScopeType = ptr.String(jtv) } + default: _, _ = key, value @@ -3679,6 +3697,7 @@ func awsAwsjson11_deserializeDocumentQuotaExceededException(v **types.QuotaExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3718,6 +3737,7 @@ func awsAwsjson11_deserializeDocumentQuotaPeriod(v **types.QuotaPeriod, value in } sv.PeriodUnit = types.PeriodUnit(jtv) } + case "PeriodValue": if value != nil { jtv, ok := value.(json.Number) @@ -3730,6 +3750,7 @@ func awsAwsjson11_deserializeDocumentQuotaPeriod(v **types.QuotaPeriod, value in } sv.PeriodValue = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3769,6 +3790,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.CaseId = ptr.String(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -3784,6 +3806,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } + case "DesiredValue": if value != nil { switch jtv := value.(type) { @@ -3817,6 +3840,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } + case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -3825,6 +3849,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.GlobalQuota = jtv } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3833,6 +3858,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Id = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3848,6 +3874,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } } + case "QuotaArn": if value != nil { jtv, ok := value.(string) @@ -3856,6 +3883,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaArn = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -3864,10 +3892,12 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaCode = ptr.String(jtv) } + case "QuotaContext": if err := awsAwsjson11_deserializeDocumentQuotaContextInfo(&sv.QuotaContext, value); err != nil { return err } + case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -3876,6 +3906,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaName = ptr.String(jtv) } + case "QuotaRequestedAtLevel": if value != nil { jtv, ok := value.(string) @@ -3884,6 +3915,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.QuotaRequestedAtLevel = types.AppliedLevelEnum(jtv) } + case "Requester": if value != nil { jtv, ok := value.(string) @@ -3892,6 +3924,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Requester = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -3900,6 +3933,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.ServiceCode = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -3908,6 +3942,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.ServiceName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3916,6 +3951,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Status = types.RequestStatus(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -3924,6 +3960,7 @@ func awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(v **types.Reque } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -3997,6 +4034,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4036,6 +4074,7 @@ func awsAwsjson11_deserializeDocumentServiceException(v **types.ServiceException } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4075,6 +4114,7 @@ func awsAwsjson11_deserializeDocumentServiceInfo(v **types.ServiceInfo, value in } sv.ServiceCode = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4123,7 @@ func awsAwsjson11_deserializeDocumentServiceInfo(v **types.ServiceInfo, value in } sv.ServiceName = ptr.String(jtv) } + default: _, _ = key, value @@ -4156,10 +4197,12 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.Adjustable = jtv } + case "ErrorReason": if err := awsAwsjson11_deserializeDocumentErrorReason(&sv.ErrorReason, value); err != nil { return err } + case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -4168,10 +4211,12 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.GlobalQuota = jtv } + case "Period": if err := awsAwsjson11_deserializeDocumentQuotaPeriod(&sv.Period, value); err != nil { return err } + case "QuotaAppliedAtLevel": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4225,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaAppliedAtLevel = types.AppliedLevelEnum(jtv) } + case "QuotaArn": if value != nil { jtv, ok := value.(string) @@ -4188,6 +4234,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaArn = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -4196,10 +4243,12 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaCode = ptr.String(jtv) } + case "QuotaContext": if err := awsAwsjson11_deserializeDocumentQuotaContextInfo(&sv.QuotaContext, value); err != nil { return err } + case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -4208,6 +4257,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.QuotaName = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -4216,6 +4266,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.ServiceCode = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4224,6 +4275,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.ServiceName = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -4232,10 +4284,12 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } sv.Unit = ptr.String(jtv) } + case "UsageMetric": if err := awsAwsjson11_deserializeDocumentMetricInfo(&sv.UsageMetric, value); err != nil { return err } + case "Value": if value != nil { switch jtv := value.(type) { @@ -4269,6 +4323,7 @@ func awsAwsjson11_deserializeDocumentServiceQuota(v **types.ServiceQuota, value } } + default: _, _ = key, value @@ -4308,6 +4363,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.AwsRegion = ptr.String(jtv) } + case "DesiredValue": if value != nil { switch jtv := value.(type) { @@ -4341,6 +4397,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } } + case "GlobalQuota": if value != nil { jtv, ok := value.(bool) @@ -4349,6 +4406,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.GlobalQuota = jtv } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -4357,6 +4415,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.QuotaCode = ptr.String(jtv) } + case "QuotaName": if value != nil { jtv, ok := value.(string) @@ -4365,6 +4424,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.QuotaName = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -4373,6 +4433,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.ServiceCode = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -4381,6 +4442,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.ServiceName = ptr.String(jtv) } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -4389,6 +4451,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(v **t } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -4496,6 +4559,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaTemplateNotInUseException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4535,6 +4599,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4543,6 +4608,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4582,6 +4648,7 @@ func awsAwsjson11_deserializeDocumentTagPolicyViolationException(v **types.TagPo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4621,6 +4688,7 @@ func awsAwsjson11_deserializeDocumentTemplatesNotAvailableInRegionException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4660,6 +4728,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4699,6 +4768,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4831,6 +4901,7 @@ func awsAwsjson11_deserializeOpDocumentGetAssociationForServiceQuotaTemplateOutp } sv.ServiceQuotaTemplateAssociationStatus = types.ServiceQuotaTemplateAssociationStatus(jtv) } + default: _, _ = key, value @@ -4866,6 +4937,7 @@ func awsAwsjson11_deserializeOpDocumentGetAWSDefaultServiceQuotaOutput(v **GetAW if err := awsAwsjson11_deserializeDocumentServiceQuota(&sv.Quota, value); err != nil { return err } + default: _, _ = key, value @@ -4901,6 +4973,7 @@ func awsAwsjson11_deserializeOpDocumentGetRequestedServiceQuotaChangeOutput(v ** if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(&sv.RequestedQuota, value); err != nil { return err } + default: _, _ = key, value @@ -4936,6 +5009,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceQuotaIncreaseRequestFromTemplat if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(&sv.ServiceQuotaIncreaseRequestInTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -4971,6 +5045,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceQuotaOutput(v **GetServiceQuota if err := awsAwsjson11_deserializeDocumentServiceQuota(&sv.Quota, value); err != nil { return err } + default: _, _ = key, value @@ -5010,10 +5085,12 @@ func awsAwsjson11_deserializeOpDocumentListAWSDefaultServiceQuotasOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "Quotas": if err := awsAwsjson11_deserializeDocumentServiceQuotaListDefinition(&sv.Quotas, value); err != nil { return err } + default: _, _ = key, value @@ -5053,10 +5130,12 @@ func awsAwsjson11_deserializeOpDocumentListRequestedServiceQuotaChangeHistoryByQ } sv.NextToken = ptr.String(jtv) } + case "RequestedQuotas": if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChangeHistoryListDefinition(&sv.RequestedQuotas, value); err != nil { return err } + default: _, _ = key, value @@ -5096,10 +5175,12 @@ func awsAwsjson11_deserializeOpDocumentListRequestedServiceQuotaChangeHistoryOut } sv.NextToken = ptr.String(jtv) } + case "RequestedQuotas": if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChangeHistoryListDefinition(&sv.RequestedQuotas, value); err != nil { return err } + default: _, _ = key, value @@ -5139,10 +5220,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceQuotaIncreaseRequestsInTemplat } sv.NextToken = ptr.String(jtv) } + case "ServiceQuotaIncreaseRequestInTemplateList": if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplateList(&sv.ServiceQuotaIncreaseRequestInTemplateList, value); err != nil { return err } + default: _, _ = key, value @@ -5182,10 +5265,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceQuotasOutput(v **ListServiceQu } sv.NextToken = ptr.String(jtv) } + case "Quotas": if err := awsAwsjson11_deserializeDocumentServiceQuotaListDefinition(&sv.Quotas, value); err != nil { return err } + default: _, _ = key, value @@ -5225,10 +5310,12 @@ func awsAwsjson11_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + case "Services": if err := awsAwsjson11_deserializeDocumentServiceInfoListDefinition(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -5264,6 +5351,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentOutputTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5299,6 +5387,7 @@ func awsAwsjson11_deserializeOpDocumentPutServiceQuotaIncreaseRequestIntoTemplat if err := awsAwsjson11_deserializeDocumentServiceQuotaIncreaseRequestInTemplate(&sv.ServiceQuotaIncreaseRequestInTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -5334,6 +5423,7 @@ func awsAwsjson11_deserializeOpDocumentRequestServiceQuotaIncreaseOutput(v **Req if err := awsAwsjson11_deserializeDocumentRequestedServiceQuotaChange(&sv.RequestedQuota, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/sesv2/deserializers.go b/service/sesv2/deserializers.go index 2a3d5c769ed..709f4a130dd 100644 --- a/service/sesv2/deserializers.go +++ b/service/sesv2/deserializers.go @@ -181,10 +181,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetMetricDataOutput(v **BatchGetMetr if err := awsRestjson1_deserializeDocumentMetricDataErrorList(&sv.Errors, value); err != nil { return err } + case "Results": if err := awsRestjson1_deserializeDocumentMetricDataResultList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -1055,6 +1057,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } + case "ReportId": if value != nil { jtv, ok := value.(string) @@ -1063,6 +1066,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeliverabilityTestReportOutput(v ** } sv.ReportId = ptr.String(jtv) } + default: _, _ = key, value @@ -1229,6 +1233,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -1237,6 +1242,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.IdentityType = types.IdentityType(jtv) } + case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -1245,6 +1251,7 @@ func awsRestjson1_deserializeOpDocumentCreateEmailIdentityOutput(v **CreateEmail } sv.VerifiedForSendingStatus = jtv } + default: _, _ = key, value @@ -1606,6 +1613,7 @@ func awsRestjson1_deserializeOpDocumentCreateExportJobOutput(v **CreateExportJob } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -1767,6 +1775,7 @@ func awsRestjson1_deserializeOpDocumentCreateImportJobOutput(v **CreateImportJob } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -2877,10 +2886,12 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.DedicatedIpAutoWarmupEnabled = jtv } + case "Details": if err := awsRestjson1_deserializeDocumentAccountDetails(&sv.Details, value); err != nil { return err } + case "EnforcementStatus": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2900,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.EnforcementStatus = ptr.String(jtv) } + case "ProductionAccessEnabled": if value != nil { jtv, ok := value.(bool) @@ -2897,6 +2909,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.ProductionAccessEnabled = jtv } + case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -2905,18 +2918,22 @@ func awsRestjson1_deserializeOpDocumentGetAccountOutput(v **GetAccountOutput, va } sv.SendingEnabled = jtv } + case "SendQuota": if err := awsRestjson1_deserializeDocumentSendQuota(&sv.SendQuota, value); err != nil { return err } + case "SuppressionAttributes": if err := awsRestjson1_deserializeDocumentSuppressionAttributes(&sv.SuppressionAttributes, value); err != nil { return err } + case "VdmAttributes": if err := awsRestjson1_deserializeDocumentVdmAttributes(&sv.VdmAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -3074,6 +3091,7 @@ func awsRestjson1_deserializeOpDocumentGetBlacklistReportsOutput(v **GetBlacklis if err := awsRestjson1_deserializeDocumentBlacklistReport(&sv.BlacklistReport, value); err != nil { return err } + default: _, _ = key, value @@ -3235,34 +3253,42 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetOutput(v **GetConfigur } sv.ConfigurationSetName = ptr.String(jtv) } + case "DeliveryOptions": if err := awsRestjson1_deserializeDocumentDeliveryOptions(&sv.DeliveryOptions, value); err != nil { return err } + case "ReputationOptions": if err := awsRestjson1_deserializeDocumentReputationOptions(&sv.ReputationOptions, value); err != nil { return err } + case "SendingOptions": if err := awsRestjson1_deserializeDocumentSendingOptions(&sv.SendingOptions, value); err != nil { return err } + case "SuppressionOptions": if err := awsRestjson1_deserializeDocumentSuppressionOptions(&sv.SuppressionOptions, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TrackingOptions": if err := awsRestjson1_deserializeDocumentTrackingOptions(&sv.TrackingOptions, value); err != nil { return err } + case "VdmOptions": if err := awsRestjson1_deserializeDocumentVdmOptions(&sv.VdmOptions, value); err != nil { return err } + default: _, _ = key, value @@ -3420,6 +3446,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationSetEventDestinationsOutpu if err := awsRestjson1_deserializeDocumentEventDestinations(&sv.EventDestinations, value); err != nil { return err } + default: _, _ = key, value @@ -3581,6 +3608,7 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.AttributesData = ptr.String(jtv) } + case "ContactListName": if value != nil { jtv, ok := value.(string) @@ -3589,6 +3617,7 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.ContactListName = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3604,6 +3633,7 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -3612,6 +3642,7 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.EmailAddress = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3627,14 +3658,17 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } } + case "TopicDefaultPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicDefaultPreferences, value); err != nil { return err } + case "TopicPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicPreferences, value); err != nil { return err } + case "UnsubscribeAll": if value != nil { jtv, ok := value.(bool) @@ -3643,6 +3677,7 @@ func awsRestjson1_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.UnsubscribeAll = jtv } + default: _, _ = key, value @@ -3804,6 +3839,7 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } sv.ContactListName = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3819,6 +3855,7 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3827,6 +3864,7 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } sv.Description = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -3842,14 +3880,17 @@ func awsRestjson1_deserializeOpDocumentGetContactListOutput(v **GetContactListOu } } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Topics": if err := awsRestjson1_deserializeDocumentTopics(&sv.Topics, value); err != nil { return err } + default: _, _ = key, value @@ -4011,6 +4052,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.FailureRedirectionURL = ptr.String(jtv) } + case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -4019,6 +4061,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.FromEmailAddress = ptr.String(jtv) } + case "SuccessRedirectionURL": if value != nil { jtv, ok := value.(string) @@ -4027,6 +4070,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.SuccessRedirectionURL = ptr.String(jtv) } + case "TemplateContent": if value != nil { jtv, ok := value.(string) @@ -4035,6 +4079,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateContent = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -4043,6 +4088,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateName = ptr.String(jtv) } + case "TemplateSubject": if value != nil { jtv, ok := value.(string) @@ -4051,6 +4097,7 @@ func awsRestjson1_deserializeOpDocumentGetCustomVerificationEmailTemplateOutput( } sv.TemplateSubject = ptr.String(jtv) } + default: _, _ = key, value @@ -4208,6 +4255,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpOutput(v **GetDedicatedIpOu if err := awsRestjson1_deserializeDocumentDedicatedIp(&sv.DedicatedIp, value); err != nil { return err } + default: _, _ = key, value @@ -4365,6 +4413,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpPoolOutput(v **GetDedicated if err := awsRestjson1_deserializeDocumentDedicatedIpPool(&sv.DedicatedIpPool, value); err != nil { return err } + default: _, _ = key, value @@ -4522,6 +4571,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps if err := awsRestjson1_deserializeDocumentDedicatedIpList(&sv.DedicatedIps, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -4530,6 +4580,7 @@ func awsRestjson1_deserializeOpDocumentGetDedicatedIpsOutput(v **GetDedicatedIps } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4691,10 +4742,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.AccountStatus = types.DeliverabilityDashboardAccountStatus(jtv) } + case "ActiveSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.ActiveSubscribedDomains, value); err != nil { return err } + case "DashboardEnabled": if value != nil { jtv, ok := value.(bool) @@ -4703,10 +4756,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } sv.DashboardEnabled = jtv } + case "PendingExpirationSubscribedDomains": if err := awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOptions(&sv.PendingExpirationSubscribedDomains, value); err != nil { return err } + case "SubscriptionExpiryDate": if value != nil { switch jtv := value.(type) { @@ -4722,6 +4777,7 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityDashboardOptionsOutput(v } } + default: _, _ = key, value @@ -4879,10 +4935,12 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get if err := awsRestjson1_deserializeDocumentDeliverabilityTestReport(&sv.DeliverabilityTestReport, value); err != nil { return err } + case "IspPlacements": if err := awsRestjson1_deserializeDocumentIspPlacements(&sv.IspPlacements, value); err != nil { return err } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4891,14 +4949,17 @@ func awsRestjson1_deserializeOpDocumentGetDeliverabilityTestReportOutput(v **Get } sv.Message = ptr.String(jtv) } + case "OverallPlacement": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.OverallPlacement, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5056,6 +5117,7 @@ func awsRestjson1_deserializeOpDocumentGetDomainDeliverabilityCampaignOutput(v * if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(&sv.DomainDeliverabilityCampaign, value); err != nil { return err } + default: _, _ = key, value @@ -5213,10 +5275,12 @@ func awsRestjson1_deserializeOpDocumentGetDomainStatisticsReportOutput(v **GetDo if err := awsRestjson1_deserializeDocumentDailyVolumes(&sv.DailyVolumes, value); err != nil { return err } + case "OverallVolume": if err := awsRestjson1_deserializeDocumentOverallVolume(&sv.OverallVolume, value); err != nil { return err } + default: _, _ = key, value @@ -5378,10 +5442,12 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.ConfigurationSetName = ptr.String(jtv) } + case "DkimAttributes": if err := awsRestjson1_deserializeDocumentDkimAttributes(&sv.DkimAttributes, value); err != nil { return err } + case "FeedbackForwardingStatus": if value != nil { jtv, ok := value.(bool) @@ -5390,6 +5456,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.FeedbackForwardingStatus = jtv } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -5398,22 +5465,27 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.IdentityType = types.IdentityType(jtv) } + case "MailFromAttributes": if err := awsRestjson1_deserializeDocumentMailFromAttributes(&sv.MailFromAttributes, value); err != nil { return err } + case "Policies": if err := awsRestjson1_deserializeDocumentPolicyMap(&sv.Policies, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VerificationInfo": if err := awsRestjson1_deserializeDocumentVerificationInfo(&sv.VerificationInfo, value); err != nil { return err } + case "VerificationStatus": if value != nil { jtv, ok := value.(string) @@ -5422,6 +5494,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerificationStatus = types.VerificationStatus(jtv) } + case "VerifiedForSendingStatus": if value != nil { jtv, ok := value.(bool) @@ -5430,6 +5503,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityOutput(v **GetEmailIdenti } sv.VerifiedForSendingStatus = jtv } + default: _, _ = key, value @@ -5587,6 +5661,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailIdentityPoliciesOutput(v **GetEma if err := awsRestjson1_deserializeDocumentPolicyMap(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -5744,6 +5819,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla if err := awsRestjson1_deserializeDocumentEmailTemplateContent(&sv.TemplateContent, value); err != nil { return err } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -5752,6 +5828,7 @@ func awsRestjson1_deserializeOpDocumentGetEmailTemplateOutput(v **GetEmailTempla } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -5920,6 +5997,7 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -5935,14 +6013,17 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } } + case "ExportDataSource": if err := awsRestjson1_deserializeDocumentExportDataSource(&sv.ExportDataSource, value); err != nil { return err } + case "ExportDestination": if err := awsRestjson1_deserializeDocumentExportDestination(&sv.ExportDestination, value); err != nil { return err } + case "ExportSourceType": if value != nil { jtv, ok := value.(string) @@ -5951,10 +6032,12 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.ExportSourceType = types.ExportSourceType(jtv) } + case "FailureInfo": if err := awsRestjson1_deserializeDocumentFailureInfo(&sv.FailureInfo, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5963,6 +6046,7 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5971,10 +6055,12 @@ func awsRestjson1_deserializeOpDocumentGetExportJobOutput(v **GetExportJobOutput } sv.JobStatus = types.JobStatus(jtv) } + case "Statistics": if err := awsRestjson1_deserializeDocumentExportStatistics(&sv.Statistics, value); err != nil { return err } + default: _, _ = key, value @@ -6143,6 +6229,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -6158,6 +6245,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } } + case "FailedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6170,18 +6258,22 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } + case "FailureInfo": if err := awsRestjson1_deserializeDocumentFailureInfo(&sv.FailureInfo, value); err != nil { return err } + case "ImportDataSource": if err := awsRestjson1_deserializeDocumentImportDataSource(&sv.ImportDataSource, value); err != nil { return err } + case "ImportDestination": if err := awsRestjson1_deserializeDocumentImportDestination(&sv.ImportDestination, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -6190,6 +6282,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6198,6 +6291,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.JobStatus = types.JobStatus(jtv) } + case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -6210,6 +6304,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6367,6 +6462,7 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn if err := awsRestjson1_deserializeDocumentMessageTagList(&sv.EmailTags, value); err != nil { return err } + case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -6375,10 +6471,12 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.FromEmailAddress = ptr.String(jtv) } + case "Insights": if err := awsRestjson1_deserializeDocumentEmailInsightsList(&sv.Insights, value); err != nil { return err } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6387,6 +6485,7 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.MessageId = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -6395,6 +6494,7 @@ func awsRestjson1_deserializeOpDocumentGetMessageInsightsOutput(v **GetMessageIn } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -6552,6 +6652,7 @@ func awsRestjson1_deserializeOpDocumentGetSuppressedDestinationOutput(v **GetSup if err := awsRestjson1_deserializeDocumentSuppressedDestination(&sv.SuppressedDestination, value); err != nil { return err } + default: _, _ = key, value @@ -6706,6 +6807,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi if err := awsRestjson1_deserializeDocumentConfigurationSetNameList(&sv.ConfigurationSets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6714,6 +6816,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationSetsOutput(v **ListConfi } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6868,6 +6971,7 @@ func awsRestjson1_deserializeOpDocumentListContactListsOutput(v **ListContactLis if err := awsRestjson1_deserializeDocumentListOfContactLists(&sv.ContactLists, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6876,6 +6980,7 @@ func awsRestjson1_deserializeOpDocumentListContactListsOutput(v **ListContactLis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7033,6 +7138,7 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsRestjson1_deserializeDocumentListOfContacts(&sv.Contacts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7041,6 +7147,7 @@ func awsRestjson1_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7195,6 +7302,7 @@ func awsRestjson1_deserializeOpDocumentListCustomVerificationEmailTemplatesOutpu if err := awsRestjson1_deserializeDocumentCustomVerificationEmailTemplatesList(&sv.CustomVerificationEmailTemplates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7203,6 +7311,7 @@ func awsRestjson1_deserializeOpDocumentListCustomVerificationEmailTemplatesOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7357,6 +7466,7 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica if err := awsRestjson1_deserializeDocumentListOfDedicatedIpPools(&sv.DedicatedIpPools, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7365,6 +7475,7 @@ func awsRestjson1_deserializeOpDocumentListDedicatedIpPoolsOutput(v **ListDedica } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7522,6 +7633,7 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L if err := awsRestjson1_deserializeDocumentDeliverabilityTestReports(&sv.DeliverabilityTestReports, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7530,6 +7642,7 @@ func awsRestjson1_deserializeOpDocumentListDeliverabilityTestReportsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7687,6 +7800,7 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v if err := awsRestjson1_deserializeDocumentDomainDeliverabilityCampaignList(&sv.DomainDeliverabilityCampaigns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7695,6 +7809,7 @@ func awsRestjson1_deserializeOpDocumentListDomainDeliverabilityCampaignsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7849,6 +7964,7 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId if err := awsRestjson1_deserializeDocumentIdentityInfoList(&sv.EmailIdentities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7857,6 +7973,7 @@ func awsRestjson1_deserializeOpDocumentListEmailIdentitiesOutput(v **ListEmailId } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8015,10 +8132,12 @@ func awsRestjson1_deserializeOpDocumentListEmailTemplatesOutput(v **ListEmailTem } sv.NextToken = ptr.String(jtv) } + case "TemplatesMetadata": if err := awsRestjson1_deserializeDocumentEmailTemplateMetadataList(&sv.TemplatesMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -8173,6 +8292,7 @@ func awsRestjson1_deserializeOpDocumentListExportJobsOutput(v **ListExportJobsOu if err := awsRestjson1_deserializeDocumentExportJobSummaryList(&sv.ExportJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8181,6 +8301,7 @@ func awsRestjson1_deserializeOpDocumentListExportJobsOutput(v **ListExportJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8335,6 +8456,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobSummaryList(&sv.ImportJobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8343,6 +8465,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8504,10 +8627,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } + case "Recommendations": if err := awsRestjson1_deserializeDocumentRecommendationsList(&sv.Recommendations, value); err != nil { return err } + default: _, _ = key, value @@ -8669,10 +8794,12 @@ func awsRestjson1_deserializeOpDocumentListSuppressedDestinationsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "SuppressedDestinationSummaries": if err := awsRestjson1_deserializeDocumentSuppressedDestinationSummaries(&sv.SuppressedDestinationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8830,6 +8957,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10586,10 +10714,12 @@ func awsRestjson1_deserializeOpDocumentPutEmailIdentityDkimSigningAttributesOutp } sv.DkimStatus = types.DkimStatus(jtv) } + case "DkimTokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.DkimTokens, value); err != nil { return err } + default: _, _ = key, value @@ -11041,6 +11171,7 @@ func awsRestjson1_deserializeOpDocumentSendBulkEmailOutput(v **SendBulkEmailOutp if err := awsRestjson1_deserializeDocumentBulkEmailEntryResultList(&sv.BulkEmailEntryResults, value); err != nil { return err } + default: _, _ = key, value @@ -11214,6 +11345,7 @@ func awsRestjson1_deserializeOpDocumentSendCustomVerificationEmailOutput(v **Sen } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -11390,6 +11522,7 @@ func awsRestjson1_deserializeOpDocumentSendEmailOutput(v **SendEmailOutput, valu } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -11648,6 +11781,7 @@ func awsRestjson1_deserializeOpDocumentTestRenderEmailTemplateOutput(v **TestRen } sv.RenderedTemplate = ptr.String(jtv) } + default: _, _ = key, value @@ -12818,6 +12952,7 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va if err := awsRestjson1_deserializeDocumentAdditionalContactEmailAddresses(&sv.AdditionalContactEmailAddresses, value); err != nil { return err } + case "ContactLanguage": if value != nil { jtv, ok := value.(string) @@ -12826,6 +12961,7 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.ContactLanguage = types.ContactLanguage(jtv) } + case "MailType": if value != nil { jtv, ok := value.(string) @@ -12834,10 +12970,12 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.MailType = types.MailType(jtv) } + case "ReviewDetails": if err := awsRestjson1_deserializeDocumentReviewDetails(&sv.ReviewDetails, value); err != nil { return err } + case "UseCaseDescription": if value != nil { jtv, ok := value.(string) @@ -12846,6 +12984,7 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.UseCaseDescription = ptr.String(jtv) } + case "WebsiteURL": if value != nil { jtv, ok := value.(string) @@ -12854,6 +12993,7 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.WebsiteURL = ptr.String(jtv) } + default: _, _ = key, value @@ -12893,6 +13033,7 @@ func awsRestjson1_deserializeDocumentAccountSuspendedException(v **types.Account } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12968,6 +13109,7 @@ func awsRestjson1_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13007,6 +13149,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13080,6 +13223,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.Description = ptr.String(jtv) } + case "ListingTime": if value != nil { switch jtv := value.(type) { @@ -13095,6 +13239,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } } + case "RblName": if value != nil { jtv, ok := value.(string) @@ -13103,6 +13248,7 @@ func awsRestjson1_deserializeDocumentBlacklistEntry(v **types.BlacklistEntry, va } sv.RblName = ptr.String(jtv) } + default: _, _ = key, value @@ -13176,6 +13322,7 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.BounceSubType = ptr.String(jtv) } + case "BounceType": if value != nil { jtv, ok := value.(string) @@ -13184,6 +13331,7 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.BounceType = types.BounceType(jtv) } + case "DiagnosticCode": if value != nil { jtv, ok := value.(string) @@ -13192,6 +13340,7 @@ func awsRestjson1_deserializeDocumentBounce(v **types.Bounce, value interface{}) } sv.DiagnosticCode = ptr.String(jtv) } + default: _, _ = key, value @@ -13231,6 +13380,7 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.Error = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -13239,6 +13389,7 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.MessageId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13247,6 +13398,7 @@ func awsRestjson1_deserializeDocumentBulkEmailEntryResult(v **types.BulkEmailEnt } sv.Status = types.BulkEmailStatus(jtv) } + default: _, _ = key, value @@ -13316,6 +13468,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDestination(v **types.CloudWatchD if err := awsRestjson1_deserializeDocumentCloudWatchDimensionConfigurations(&sv.DimensionConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -13355,6 +13508,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DefaultDimensionValue = ptr.String(jtv) } + case "DimensionName": if value != nil { jtv, ok := value.(string) @@ -13363,6 +13517,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionName = ptr.String(jtv) } + case "DimensionValueSource": if value != nil { jtv, ok := value.(string) @@ -13371,6 +13526,7 @@ func awsRestjson1_deserializeDocumentCloudWatchDimensionConfiguration(v **types. } sv.DimensionValueSource = types.DimensionValueSource(jtv) } + default: _, _ = key, value @@ -13444,6 +13600,7 @@ func awsRestjson1_deserializeDocumentComplaint(v **types.Complaint, value interf } sv.ComplaintFeedbackType = ptr.String(jtv) } + case "ComplaintSubType": if value != nil { jtv, ok := value.(string) @@ -13452,6 +13609,7 @@ func awsRestjson1_deserializeDocumentComplaint(v **types.Complaint, value interf } sv.ComplaintSubType = ptr.String(jtv) } + default: _, _ = key, value @@ -13491,6 +13649,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13566,6 +13725,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13605,6 +13765,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.EmailAddress = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13620,14 +13781,17 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } } + case "TopicDefaultPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicDefaultPreferences, value); err != nil { return err } + case "TopicPreferences": if err := awsRestjson1_deserializeDocumentTopicPreferenceList(&sv.TopicPreferences, value); err != nil { return err } + case "UnsubscribeAll": if value != nil { jtv, ok := value.(bool) @@ -13636,6 +13800,7 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ } sv.UnsubscribeAll = jtv } + default: _, _ = key, value @@ -13675,6 +13840,7 @@ func awsRestjson1_deserializeDocumentContactList(v **types.ContactList, value in } sv.ContactListName = ptr.String(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -13690,6 +13856,7 @@ func awsRestjson1_deserializeDocumentContactList(v **types.ContactList, value in } } + default: _, _ = key, value @@ -13729,6 +13896,7 @@ func awsRestjson1_deserializeDocumentContactListDestination(v **types.ContactLis } sv.ContactListImportAction = types.ContactListImportAction(jtv) } + case "ContactListName": if value != nil { jtv, ok := value.(string) @@ -13737,6 +13905,7 @@ func awsRestjson1_deserializeDocumentContactListDestination(v **types.ContactLis } sv.ContactListName = ptr.String(jtv) } + default: _, _ = key, value @@ -13776,6 +13945,7 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.FailureRedirectionURL = ptr.String(jtv) } + case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -13784,6 +13954,7 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.FromEmailAddress = ptr.String(jtv) } + case "SuccessRedirectionURL": if value != nil { jtv, ok := value.(string) @@ -13792,6 +13963,7 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.SuccessRedirectionURL = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -13800,6 +13972,7 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.TemplateName = ptr.String(jtv) } + case "TemplateSubject": if value != nil { jtv, ok := value.(string) @@ -13808,6 +13981,7 @@ func awsRestjson1_deserializeDocumentCustomVerificationEmailTemplateMetadata(v * } sv.TemplateSubject = ptr.String(jtv) } + default: _, _ = key, value @@ -13877,6 +14051,7 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -13892,10 +14067,12 @@ func awsRestjson1_deserializeDocumentDailyVolume(v **types.DailyVolume, value in } } + case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -13969,6 +14146,7 @@ func awsRestjson1_deserializeDocumentDashboardAttributes(v **types.DashboardAttr } sv.EngagementMetrics = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -14008,6 +14186,7 @@ func awsRestjson1_deserializeDocumentDashboardOptions(v **types.DashboardOptions } sv.EngagementMetrics = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -14047,6 +14226,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.Ip = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -14055,6 +14235,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.PoolName = ptr.String(jtv) } + case "WarmupPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -14067,6 +14248,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupPercentage = ptr.Int32(int32(i64)) } + case "WarmupStatus": if value != nil { jtv, ok := value.(string) @@ -14075,6 +14257,7 @@ func awsRestjson1_deserializeDocumentDedicatedIp(v **types.DedicatedIp, value in } sv.WarmupStatus = types.WarmupStatus(jtv) } + default: _, _ = key, value @@ -14148,6 +14331,7 @@ func awsRestjson1_deserializeDocumentDedicatedIpPool(v **types.DedicatedIpPool, } sv.PoolName = ptr.String(jtv) } + case "ScalingMode": if value != nil { jtv, ok := value.(string) @@ -14156,6 +14340,7 @@ func awsRestjson1_deserializeDocumentDedicatedIpPool(v **types.DedicatedIpPool, } sv.ScalingMode = types.ScalingMode(jtv) } + default: _, _ = key, value @@ -14202,6 +14387,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } } + case "DeliverabilityTestStatus": if value != nil { jtv, ok := value.(string) @@ -14210,6 +14396,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.DeliverabilityTestStatus = types.DeliverabilityTestStatus(jtv) } + case "FromEmailAddress": if value != nil { jtv, ok := value.(string) @@ -14218,6 +14405,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.FromEmailAddress = ptr.String(jtv) } + case "ReportId": if value != nil { jtv, ok := value.(string) @@ -14226,6 +14414,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportId = ptr.String(jtv) } + case "ReportName": if value != nil { jtv, ok := value.(string) @@ -14234,6 +14423,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.ReportName = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -14242,6 +14432,7 @@ func awsRestjson1_deserializeDocumentDeliverabilityTestReport(v **types.Delivera } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -14319,6 +14510,7 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.MaxDeliverySeconds = ptr.Int64(i64) } + case "SendingPoolName": if value != nil { jtv, ok := value.(string) @@ -14327,6 +14519,7 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.SendingPoolName = ptr.String(jtv) } + case "TlsPolicy": if value != nil { jtv, ok := value.(string) @@ -14335,6 +14528,7 @@ func awsRestjson1_deserializeDocumentDeliveryOptions(v **types.DeliveryOptions, } sv.TlsPolicy = types.TlsPolicy(jtv) } + default: _, _ = key, value @@ -14374,6 +14568,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.CurrentSigningKeyLength = types.DkimSigningKeyLength(jtv) } + case "LastKeyGenerationTimestamp": if value != nil { switch jtv := value.(type) { @@ -14389,6 +14584,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } } + case "NextSigningKeyLength": if value != nil { jtv, ok := value.(string) @@ -14397,6 +14593,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.NextSigningKeyLength = types.DkimSigningKeyLength(jtv) } + case "SigningAttributesOrigin": if value != nil { jtv, ok := value.(string) @@ -14405,6 +14602,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningAttributesOrigin = types.DkimSigningAttributesOrigin(jtv) } + case "SigningEnabled": if value != nil { jtv, ok := value.(bool) @@ -14413,6 +14611,7 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.SigningEnabled = jtv } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14421,10 +14620,12 @@ func awsRestjson1_deserializeDocumentDkimAttributes(v **types.DkimAttributes, va } sv.Status = types.DkimStatus(jtv) } + case "Tokens": if err := awsRestjson1_deserializeDocumentDnsTokenList(&sv.Tokens, value); err != nil { return err } + default: _, _ = key, value @@ -14500,6 +14701,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.CampaignId = ptr.String(jtv) } + case "DeleteRate": if value != nil { switch jtv := value.(type) { @@ -14533,10 +14735,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "Esps": if err := awsRestjson1_deserializeDocumentEsps(&sv.Esps, value); err != nil { return err } + case "FirstSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -14552,6 +14756,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "FromAddress": if value != nil { jtv, ok := value.(string) @@ -14560,6 +14765,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.FromAddress = ptr.String(jtv) } + case "ImageUrl": if value != nil { jtv, ok := value.(string) @@ -14568,6 +14774,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ImageUrl = ptr.String(jtv) } + case "InboxCount": if value != nil { jtv, ok := value.(json.Number) @@ -14580,6 +14787,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.InboxCount = ptr.Int64(i64) } + case "LastSeenDateTime": if value != nil { switch jtv := value.(type) { @@ -14595,6 +14803,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "ProjectedVolume": if value != nil { jtv, ok := value.(json.Number) @@ -14607,6 +14816,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.ProjectedVolume = ptr.Int64(i64) } + case "ReadDeleteRate": if value != nil { switch jtv := value.(type) { @@ -14640,6 +14850,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "ReadRate": if value != nil { switch jtv := value.(type) { @@ -14673,10 +14884,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } } + case "SendingIps": if err := awsRestjson1_deserializeDocumentIpList(&sv.SendingIps, value); err != nil { return err } + case "SpamCount": if value != nil { jtv, ok := value.(json.Number) @@ -14689,6 +14902,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.SpamCount = ptr.Int64(i64) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -14697,6 +14911,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityCampaign(v **types.Doma } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -14770,10 +14985,12 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } sv.Domain = ptr.String(jtv) } + case "InboxPlacementTrackingOption": if err := awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(&sv.InboxPlacementTrackingOption, value); err != nil { return err } + case "SubscriptionStartDate": if value != nil { switch jtv := value.(type) { @@ -14789,6 +15006,7 @@ func awsRestjson1_deserializeDocumentDomainDeliverabilityTrackingOption(v **type } } + default: _, _ = key, value @@ -14887,6 +15105,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } + case "InboxRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -14899,6 +15118,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.InboxRawCount = ptr.Int64(i64) } + case "IspName": if value != nil { jtv, ok := value.(string) @@ -14907,6 +15127,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.IspName = ptr.String(jtv) } + case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -14940,6 +15161,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } } + case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -14952,6 +15174,7 @@ func awsRestjson1_deserializeDocumentDomainIspPlacement(v **types.DomainIspPlace } sv.SpamRawCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -15061,10 +15284,12 @@ func awsRestjson1_deserializeDocumentEmailInsights(v **types.EmailInsights, valu } sv.Destination = ptr.String(jtv) } + case "Events": if err := awsRestjson1_deserializeDocumentInsightsEvents(&sv.Events, value); err != nil { return err } + case "Isp": if value != nil { jtv, ok := value.(string) @@ -15073,6 +15298,7 @@ func awsRestjson1_deserializeDocumentEmailInsights(v **types.EmailInsights, valu } sv.Isp = ptr.String(jtv) } + default: _, _ = key, value @@ -15182,6 +15408,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Html = ptr.String(jtv) } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -15190,6 +15417,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Subject = ptr.String(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -15198,6 +15426,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateContent(v **types.EmailTemplat } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -15244,6 +15473,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateMetadata(v **types.EmailTempla } } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -15252,6 +15482,7 @@ func awsRestjson1_deserializeDocumentEmailTemplateMetadata(v **types.EmailTempla } sv.TemplateName = ptr.String(jtv) } + default: _, _ = key, value @@ -15361,6 +15592,7 @@ func awsRestjson1_deserializeDocumentEventBridgeDestination(v **types.EventBridg } sv.EventBusArn = ptr.String(jtv) } + default: _, _ = key, value @@ -15396,6 +15628,7 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination if err := awsRestjson1_deserializeDocumentCloudWatchDestination(&sv.CloudWatchDestination, value); err != nil { return err } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -15404,18 +15637,22 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Enabled = jtv } + case "EventBridgeDestination": if err := awsRestjson1_deserializeDocumentEventBridgeDestination(&sv.EventBridgeDestination, value); err != nil { return err } + case "KinesisFirehoseDestination": if err := awsRestjson1_deserializeDocumentKinesisFirehoseDestination(&sv.KinesisFirehoseDestination, value); err != nil { return err } + case "MatchingEventTypes": if err := awsRestjson1_deserializeDocumentEventTypes(&sv.MatchingEventTypes, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15424,14 +15661,17 @@ func awsRestjson1_deserializeDocumentEventDestination(v **types.EventDestination } sv.Name = ptr.String(jtv) } + case "PinpointDestination": if err := awsRestjson1_deserializeDocumentPinpointDestination(&sv.PinpointDestination, value); err != nil { return err } + case "SnsDestination": if err := awsRestjson1_deserializeDocumentSnsDestination(&sv.SnsDestination, value); err != nil { return err } + default: _, _ = key, value @@ -15501,10 +15741,12 @@ func awsRestjson1_deserializeDocumentEventDetails(v **types.EventDetails, value if err := awsRestjson1_deserializeDocumentBounce(&sv.Bounce, value); err != nil { return err } + case "Complaint": if err := awsRestjson1_deserializeDocumentComplaint(&sv.Complaint, value); err != nil { return err } + default: _, _ = key, value @@ -15576,10 +15818,12 @@ func awsRestjson1_deserializeDocumentExportDataSource(v **types.ExportDataSource if err := awsRestjson1_deserializeDocumentMessageInsightsDataSource(&sv.MessageInsightsDataSource, value); err != nil { return err } + case "MetricsDataSource": if err := awsRestjson1_deserializeDocumentMetricsDataSource(&sv.MetricsDataSource, value); err != nil { return err } + default: _, _ = key, value @@ -15619,6 +15863,7 @@ func awsRestjson1_deserializeDocumentExportDestination(v **types.ExportDestinati } sv.DataFormat = types.DataFormat(jtv) } + case "S3Url": if value != nil { jtv, ok := value.(string) @@ -15627,6 +15872,7 @@ func awsRestjson1_deserializeDocumentExportDestination(v **types.ExportDestinati } sv.S3Url = ptr.String(jtv) } + default: _, _ = key, value @@ -15743,6 +15989,7 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -15758,6 +16005,7 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } } + case "ExportSourceType": if value != nil { jtv, ok := value.(string) @@ -15766,6 +16014,7 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.ExportSourceType = types.ExportSourceType(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -15774,6 +16023,7 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -15782,6 +16032,7 @@ func awsRestjson1_deserializeDocumentExportJobSummary(v **types.ExportJobSummary } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -15855,6 +16106,7 @@ func awsRestjson1_deserializeDocumentExportMetric(v **types.ExportMetric, value } sv.Aggregation = types.MetricAggregation(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15863,6 +16115,7 @@ func awsRestjson1_deserializeDocumentExportMetric(v **types.ExportMetric, value } sv.Name = types.Metric(jtv) } + default: _, _ = key, value @@ -15940,6 +16193,7 @@ func awsRestjson1_deserializeDocumentExportStatistics(v **types.ExportStatistics } sv.ExportedRecordsCount = ptr.Int32(int32(i64)) } + case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -15952,6 +16206,7 @@ func awsRestjson1_deserializeDocumentExportStatistics(v **types.ExportStatistics } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15991,6 +16246,7 @@ func awsRestjson1_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.ErrorMessage = ptr.String(jtv) } + case "FailedRecordsS3Url": if value != nil { jtv, ok := value.(string) @@ -15999,6 +16255,7 @@ func awsRestjson1_deserializeDocumentFailureInfo(v **types.FailureInfo, value in } sv.FailedRecordsS3Url = ptr.String(jtv) } + default: _, _ = key, value @@ -16038,6 +16295,7 @@ func awsRestjson1_deserializeDocumentGuardianAttributes(v **types.GuardianAttrib } sv.OptimizedSharedDelivery = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -16077,6 +16335,7 @@ func awsRestjson1_deserializeDocumentGuardianOptions(v **types.GuardianOptions, } sv.OptimizedSharedDelivery = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -16116,6 +16375,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityName = ptr.String(jtv) } + case "IdentityType": if value != nil { jtv, ok := value.(string) @@ -16124,6 +16384,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.IdentityType = types.IdentityType(jtv) } + case "SendingEnabled": if value != nil { jtv, ok := value.(bool) @@ -16132,6 +16393,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.SendingEnabled = jtv } + case "VerificationStatus": if value != nil { jtv, ok := value.(string) @@ -16140,6 +16402,7 @@ func awsRestjson1_deserializeDocumentIdentityInfo(v **types.IdentityInfo, value } sv.VerificationStatus = types.VerificationStatus(jtv) } + default: _, _ = key, value @@ -16213,6 +16476,7 @@ func awsRestjson1_deserializeDocumentImportDataSource(v **types.ImportDataSource } sv.DataFormat = types.DataFormat(jtv) } + case "S3Url": if value != nil { jtv, ok := value.(string) @@ -16221,6 +16485,7 @@ func awsRestjson1_deserializeDocumentImportDataSource(v **types.ImportDataSource } sv.S3Url = ptr.String(jtv) } + default: _, _ = key, value @@ -16256,10 +16521,12 @@ func awsRestjson1_deserializeDocumentImportDestination(v **types.ImportDestinati if err := awsRestjson1_deserializeDocumentContactListDestination(&sv.ContactListDestination, value); err != nil { return err } + case "SuppressionListDestination": if err := awsRestjson1_deserializeDocumentSuppressionListDestination(&sv.SuppressionListDestination, value); err != nil { return err } + default: _, _ = key, value @@ -16306,6 +16573,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } + case "FailedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -16318,10 +16586,12 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.FailedRecordsCount = ptr.Int32(int32(i64)) } + case "ImportDestination": if err := awsRestjson1_deserializeDocumentImportDestination(&sv.ImportDestination, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -16330,6 +16600,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -16338,6 +16609,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.JobStatus = types.JobStatus(jtv) } + case "ProcessedRecordsCount": if value != nil { jtv, ok := value.(json.Number) @@ -16350,6 +16622,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ProcessedRecordsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -16423,10 +16696,12 @@ func awsRestjson1_deserializeDocumentInboxPlacementTrackingOption(v **types.Inbo } sv.Global = jtv } + case "TrackedIsps": if err := awsRestjson1_deserializeDocumentIspNameList(&sv.TrackedIsps, value); err != nil { return err } + default: _, _ = key, value @@ -16462,6 +16737,7 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu if err := awsRestjson1_deserializeDocumentEventDetails(&sv.Details, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -16477,6 +16753,7 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -16485,6 +16762,7 @@ func awsRestjson1_deserializeDocumentInsightsEvent(v **types.InsightsEvent, valu } sv.Type = types.EventType(jtv) } + default: _, _ = key, value @@ -16558,6 +16836,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16597,6 +16876,7 @@ func awsRestjson1_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16744,10 +17024,12 @@ func awsRestjson1_deserializeDocumentIspPlacement(v **types.IspPlacement, value } sv.IspName = ptr.String(jtv) } + case "PlacementStatistics": if err := awsRestjson1_deserializeDocumentPlacementStatistics(&sv.PlacementStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -16821,6 +17103,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.DeliveryStreamArn = ptr.String(jtv) } + case "IamRoleArn": if value != nil { jtv, ok := value.(string) @@ -16829,6 +17112,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseDestination(v **types.Kinesi } sv.IamRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16940,6 +17224,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17083,6 +17368,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.BehaviorOnMxFailure = types.BehaviorOnMxFailure(jtv) } + case "MailFromDomain": if value != nil { jtv, ok := value.(string) @@ -17091,6 +17377,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomain = ptr.String(jtv) } + case "MailFromDomainStatus": if value != nil { jtv, ok := value.(string) @@ -17099,6 +17386,7 @@ func awsRestjson1_deserializeDocumentMailFromAttributes(v **types.MailFromAttrib } sv.MailFromDomainStatus = types.MailFromDomainStatus(jtv) } + default: _, _ = key, value @@ -17138,6 +17426,7 @@ func awsRestjson1_deserializeDocumentMailFromDomainNotVerifiedException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17184,14 +17473,17 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } } + case "Exclude": if err := awsRestjson1_deserializeDocumentMessageInsightsFilters(&sv.Exclude, value); err != nil { return err } + case "Include": if err := awsRestjson1_deserializeDocumentMessageInsightsFilters(&sv.Include, value); err != nil { return err } + case "MaxResults": if value != nil { jtv, ok := value.(json.Number) @@ -17204,6 +17496,7 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } sv.MaxResults = ptr.Int32(int32(i64)) } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -17219,6 +17512,7 @@ func awsRestjson1_deserializeDocumentMessageInsightsDataSource(v **types.Message } } + default: _, _ = key, value @@ -17254,26 +17548,32 @@ func awsRestjson1_deserializeDocumentMessageInsightsFilters(v **types.MessageIns if err := awsRestjson1_deserializeDocumentEmailAddressFilterList(&sv.Destination, value); err != nil { return err } + case "FromEmailAddress": if err := awsRestjson1_deserializeDocumentEmailAddressFilterList(&sv.FromEmailAddress, value); err != nil { return err } + case "Isp": if err := awsRestjson1_deserializeDocumentIspFilterList(&sv.Isp, value); err != nil { return err } + case "LastDeliveryEvent": if err := awsRestjson1_deserializeDocumentLastDeliveryEventList(&sv.LastDeliveryEvent, value); err != nil { return err } + case "LastEngagementEvent": if err := awsRestjson1_deserializeDocumentLastEngagementEventList(&sv.LastEngagementEvent, value); err != nil { return err } + case "Subject": if err := awsRestjson1_deserializeDocumentEmailSubjectFilterList(&sv.Subject, value); err != nil { return err } + default: _, _ = key, value @@ -17313,6 +17613,7 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17352,6 +17653,7 @@ func awsRestjson1_deserializeDocumentMessageTag(v **types.MessageTag, value inte } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -17360,6 +17662,7 @@ func awsRestjson1_deserializeDocumentMessageTag(v **types.MessageTag, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -17433,6 +17736,7 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Code = types.QueryErrorCode(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -17441,6 +17745,7 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Id = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -17449,6 +17754,7 @@ func awsRestjson1_deserializeDocumentMetricDataError(v **types.MetricDataError, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17522,14 +17828,17 @@ func awsRestjson1_deserializeDocumentMetricDataResult(v **types.MetricDataResult } sv.Id = ptr.String(jtv) } + case "Timestamps": if err := awsRestjson1_deserializeDocumentTimestampList(&sv.Timestamps, value); err != nil { return err } + case "Values": if err := awsRestjson1_deserializeDocumentMetricValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -17599,6 +17908,7 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour if err := awsRestjson1_deserializeDocumentExportDimensions(&sv.Dimensions, value); err != nil { return err } + case "EndDate": if value != nil { switch jtv := value.(type) { @@ -17614,10 +17924,12 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } } + case "Metrics": if err := awsRestjson1_deserializeDocumentExportMetrics(&sv.Metrics, value); err != nil { return err } + case "Namespace": if value != nil { jtv, ok := value.(string) @@ -17626,6 +17938,7 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } sv.Namespace = types.MetricNamespace(jtv) } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -17641,6 +17954,7 @@ func awsRestjson1_deserializeDocumentMetricsDataSource(v **types.MetricsDataSour } } + default: _, _ = key, value @@ -17720,6 +18034,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17755,6 +18070,7 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu if err := awsRestjson1_deserializeDocumentDomainIspPlacements(&sv.DomainIspPlacements, value); err != nil { return err } + case "ReadRatePercent": if value != nil { switch jtv := value.(type) { @@ -17788,10 +18104,12 @@ func awsRestjson1_deserializeDocumentOverallVolume(v **types.OverallVolume, valu } } + case "VolumeStatistics": if err := awsRestjson1_deserializeDocumentVolumeStatistics(&sv.VolumeStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -17831,6 +18149,7 @@ func awsRestjson1_deserializeDocumentPinpointDestination(v **types.PinpointDesti } sv.ApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17895,6 +18214,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "InboxPercentage": if value != nil { switch jtv := value.(type) { @@ -17928,6 +18248,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "MissingPercentage": if value != nil { switch jtv := value.(type) { @@ -17961,6 +18282,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "SpamPercentage": if value != nil { switch jtv := value.(type) { @@ -17994,6 +18316,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + case "SpfPercentage": if value != nil { switch jtv := value.(type) { @@ -18027,6 +18350,7 @@ func awsRestjson1_deserializeDocumentPlacementStatistics(v **types.PlacementStat } } + default: _, _ = key, value @@ -18109,6 +18433,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18117,6 +18442,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } + case "Impact": if value != nil { jtv, ok := value.(string) @@ -18125,6 +18451,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Impact = types.RecommendationImpact(jtv) } + case "LastUpdatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -18140,6 +18467,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -18148,6 +18476,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResourceArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18156,6 +18485,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = types.RecommendationStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18164,6 +18494,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Type = types.RecommendationType(jtv) } + default: _, _ = key, value @@ -18244,6 +18575,7 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } } + case "ReputationMetricsEnabled": if value != nil { jtv, ok := value.(bool) @@ -18252,6 +18584,7 @@ func awsRestjson1_deserializeDocumentReputationOptions(v **types.ReputationOptio } sv.ReputationMetricsEnabled = jtv } + default: _, _ = key, value @@ -18291,6 +18624,7 @@ func awsRestjson1_deserializeDocumentReviewDetails(v **types.ReviewDetails, valu } sv.CaseId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18299,6 +18633,7 @@ func awsRestjson1_deserializeDocumentReviewDetails(v **types.ReviewDetails, valu } sv.Status = types.ReviewStatus(jtv) } + default: _, _ = key, value @@ -18338,6 +18673,7 @@ func awsRestjson1_deserializeDocumentSendingOptions(v **types.SendingOptions, va } sv.SendingEnabled = jtv } + default: _, _ = key, value @@ -18377,6 +18713,7 @@ func awsRestjson1_deserializeDocumentSendingPausedException(v **types.SendingPau } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -18441,6 +18778,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + case "MaxSendRate": if value != nil { switch jtv := value.(type) { @@ -18474,6 +18812,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + case "SentLast24Hours": if value != nil { switch jtv := value.(type) { @@ -18507,6 +18846,7 @@ func awsRestjson1_deserializeDocumentSendQuota(v **types.SendQuota, value interf } } + default: _, _ = key, value @@ -18546,6 +18886,7 @@ func awsRestjson1_deserializeDocumentSnsDestination(v **types.SnsDestination, va } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -18585,6 +18926,7 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.AdminEmail = ptr.String(jtv) } + case "PrimaryNameServer": if value != nil { jtv, ok := value.(string) @@ -18593,6 +18935,7 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.PrimaryNameServer = ptr.String(jtv) } + case "SerialNumber": if value != nil { jtv, ok := value.(json.Number) @@ -18605,6 +18948,7 @@ func awsRestjson1_deserializeDocumentSOARecord(v **types.SOARecord, value interf } sv.SerialNumber = i64 } + default: _, _ = key, value @@ -18640,6 +18984,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD if err := awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(&sv.Attributes, value); err != nil { return err } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -18648,6 +18993,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } sv.EmailAddress = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -18663,6 +19009,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -18671,6 +19018,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestination(v **types.SuppressedD } sv.Reason = types.SuppressionListReason(jtv) } + default: _, _ = key, value @@ -18710,6 +19058,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(v **types.S } sv.FeedbackId = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -18718,6 +19067,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationAttributes(v **types.S } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -18791,6 +19141,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } sv.EmailAddress = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -18806,6 +19157,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -18814,6 +19166,7 @@ func awsRestjson1_deserializeDocumentSuppressedDestinationSummary(v **types.Supp } sv.Reason = types.SuppressionListReason(jtv) } + default: _, _ = key, value @@ -18849,6 +19202,7 @@ func awsRestjson1_deserializeDocumentSuppressionAttributes(v **types.Suppression if err := awsRestjson1_deserializeDocumentSuppressionListReasons(&sv.SuppressedReasons, value); err != nil { return err } + default: _, _ = key, value @@ -18888,6 +19242,7 @@ func awsRestjson1_deserializeDocumentSuppressionListDestination(v **types.Suppre } sv.SuppressionListImportAction = types.SuppressionListImportAction(jtv) } + default: _, _ = key, value @@ -18959,6 +19314,7 @@ func awsRestjson1_deserializeDocumentSuppressionOptions(v **types.SuppressionOpt if err := awsRestjson1_deserializeDocumentSuppressionListReasons(&sv.SuppressedReasons, value); err != nil { return err } + default: _, _ = key, value @@ -18998,6 +19354,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -19006,6 +19363,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -19122,6 +19480,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -19161,6 +19520,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.DefaultSubscriptionStatus = types.SubscriptionStatus(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -19169,6 +19529,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -19177,6 +19538,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.DisplayName = ptr.String(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -19185,6 +19547,7 @@ func awsRestjson1_deserializeDocumentTopic(v **types.Topic, value interface{}) e } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -19224,6 +19587,7 @@ func awsRestjson1_deserializeDocumentTopicPreference(v **types.TopicPreference, } sv.SubscriptionStatus = types.SubscriptionStatus(jtv) } + case "TopicName": if value != nil { jtv, ok := value.(string) @@ -19232,6 +19596,7 @@ func awsRestjson1_deserializeDocumentTopicPreference(v **types.TopicPreference, } sv.TopicName = ptr.String(jtv) } + default: _, _ = key, value @@ -19339,6 +19704,7 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.CustomRedirectDomain = ptr.String(jtv) } + case "HttpsPolicy": if value != nil { jtv, ok := value.(string) @@ -19347,6 +19713,7 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, } sv.HttpsPolicy = types.HttpsPolicy(jtv) } + default: _, _ = key, value @@ -19382,10 +19749,12 @@ func awsRestjson1_deserializeDocumentVdmAttributes(v **types.VdmAttributes, valu if err := awsRestjson1_deserializeDocumentDashboardAttributes(&sv.DashboardAttributes, value); err != nil { return err } + case "GuardianAttributes": if err := awsRestjson1_deserializeDocumentGuardianAttributes(&sv.GuardianAttributes, value); err != nil { return err } + case "VdmEnabled": if value != nil { jtv, ok := value.(string) @@ -19394,6 +19763,7 @@ func awsRestjson1_deserializeDocumentVdmAttributes(v **types.VdmAttributes, valu } sv.VdmEnabled = types.FeatureStatus(jtv) } + default: _, _ = key, value @@ -19429,10 +19799,12 @@ func awsRestjson1_deserializeDocumentVdmOptions(v **types.VdmOptions, value inte if err := awsRestjson1_deserializeDocumentDashboardOptions(&sv.DashboardOptions, value); err != nil { return err } + case "GuardianOptions": if err := awsRestjson1_deserializeDocumentGuardianOptions(&sv.GuardianOptions, value); err != nil { return err } + default: _, _ = key, value @@ -19472,6 +19844,7 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } sv.ErrorType = types.VerificationError(jtv) } + case "LastCheckedTimestamp": if value != nil { switch jtv := value.(type) { @@ -19487,6 +19860,7 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } } + case "LastSuccessTimestamp": if value != nil { switch jtv := value.(type) { @@ -19502,10 +19876,12 @@ func awsRestjson1_deserializeDocumentVerificationInfo(v **types.VerificationInfo } } + case "SOARecord": if err := awsRestjson1_deserializeDocumentSOARecord(&sv.SOARecord, value); err != nil { return err } + default: _, _ = key, value @@ -19549,6 +19925,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.InboxRawCount = ptr.Int64(i64) } + case "ProjectedInbox": if value != nil { jtv, ok := value.(json.Number) @@ -19561,6 +19938,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedInbox = ptr.Int64(i64) } + case "ProjectedSpam": if value != nil { jtv, ok := value.(json.Number) @@ -19573,6 +19951,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.ProjectedSpam = ptr.Int64(i64) } + case "SpamRawCount": if value != nil { jtv, ok := value.(json.Number) @@ -19585,6 +19964,7 @@ func awsRestjson1_deserializeDocumentVolumeStatistics(v **types.VolumeStatistics } sv.SpamRawCount = ptr.Int64(i64) } + default: _, _ = key, value diff --git a/service/sfn/deserializers.go b/service/sfn/deserializers.go index f5d099e40c9..ebd68e0535f 100644 --- a/service/sfn/deserializers.go +++ b/service/sfn/deserializers.go @@ -5745,6 +5745,7 @@ func awsAwsjson10_deserializeDocumentActivityAlreadyExists(v **types.ActivityAlr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5784,6 +5785,7 @@ func awsAwsjson10_deserializeDocumentActivityDoesNotExist(v **types.ActivityDoes } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5823,6 +5825,7 @@ func awsAwsjson10_deserializeDocumentActivityFailedEventDetails(v **types.Activi } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -5831,6 +5834,7 @@ func awsAwsjson10_deserializeDocumentActivityFailedEventDetails(v **types.Activi } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -5870,6 +5874,7 @@ func awsAwsjson10_deserializeDocumentActivityLimitExceeded(v **types.ActivityLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5943,6 +5948,7 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } sv.ActivityArn = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -5958,6 +5964,7 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } } + case "name": if value != nil { jtv, ok := value.(string) @@ -5966,6 +5973,7 @@ func awsAwsjson10_deserializeDocumentActivityListItem(v **types.ActivityListItem } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -6009,6 +6017,7 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.HeartbeatInSeconds = ptr.Int64(i64) } + case "input": if value != nil { jtv, ok := value.(string) @@ -6017,10 +6026,12 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -6029,6 +6040,7 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.Resource = ptr.String(jtv) } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6041,6 +6053,7 @@ func awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(v **types.Act } sv.TimeoutInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -6080,6 +6093,7 @@ func awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(v **type } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6088,6 +6102,7 @@ func awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(v **type } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -6127,6 +6142,7 @@ func awsAwsjson10_deserializeDocumentActivityStartedEventDetails(v **types.Activ } sv.WorkerName = ptr.String(jtv) } + default: _, _ = key, value @@ -6166,10 +6182,12 @@ func awsAwsjson10_deserializeDocumentActivitySucceededEventDetails(v **types.Act } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + default: _, _ = key, value @@ -6209,6 +6227,7 @@ func awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(v **types.Acti } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6217,6 +6236,7 @@ func awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(v **types.Acti } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -6256,6 +6276,7 @@ func awsAwsjson10_deserializeDocumentActivityWorkerLimitExceeded(v **types.Activ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6299,6 +6320,7 @@ func awsAwsjson10_deserializeDocumentBillingDetails(v **types.BillingDetails, va } sv.BilledDurationInMilliseconds = i64 } + case "billedMemoryUsedInMB": if value != nil { jtv, ok := value.(json.Number) @@ -6311,6 +6333,7 @@ func awsAwsjson10_deserializeDocumentBillingDetails(v **types.BillingDetails, va } sv.BilledMemoryUsedInMB = i64 } + default: _, _ = key, value @@ -6350,6 +6373,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(v **ty } sv.Included = jtv } + default: _, _ = key, value @@ -6389,6 +6413,7 @@ func awsAwsjson10_deserializeDocumentCloudWatchLogsLogGroup(v **types.CloudWatch } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6428,6 +6453,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6471,6 +6497,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsDataKeyReusePeriodSeconds = ptr.Int32(int32(i64)) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6479,6 +6506,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.KmsKeyId = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6487,6 +6515,7 @@ func awsAwsjson10_deserializeDocumentEncryptionConfiguration(v **types.Encryptio } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -6526,6 +6555,7 @@ func awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(v **types.Exec } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6534,6 +6564,7 @@ func awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(v **types.Exec } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -6573,6 +6604,7 @@ func awsAwsjson10_deserializeDocumentExecutionAlreadyExists(v **types.ExecutionA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6612,6 +6644,7 @@ func awsAwsjson10_deserializeDocumentExecutionDoesNotExist(v **types.ExecutionDo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6651,6 +6684,7 @@ func awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(v **types.Execu } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -6659,6 +6693,7 @@ func awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(v **types.Execu } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -6698,6 +6733,7 @@ func awsAwsjson10_deserializeDocumentExecutionLimitExceeded(v **types.ExecutionL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6771,6 +6807,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.ExecutionArn = ptr.String(jtv) } + case "itemCount": if value != nil { jtv, ok := value.(json.Number) @@ -6783,6 +6820,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.ItemCount = ptr.Int32(int32(i64)) } + case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -6791,6 +6829,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.MapRunArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6799,6 +6838,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.Name = ptr.String(jtv) } + case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -6811,6 +6851,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.RedriveCount = ptr.Int32(int32(i64)) } + case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -6826,6 +6867,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -6841,6 +6883,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -6849,6 +6892,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineAliasArn = ptr.String(jtv) } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -6857,6 +6901,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineArn = ptr.String(jtv) } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -6865,6 +6910,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.StateMachineVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6873,6 +6919,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } sv.Status = types.ExecutionStatus(jtv) } + case "stopDate": if value != nil { switch jtv := value.(type) { @@ -6888,6 +6935,7 @@ func awsAwsjson10_deserializeDocumentExecutionListItem(v **types.ExecutionListIt } } + default: _, _ = key, value @@ -6927,6 +6975,7 @@ func awsAwsjson10_deserializeDocumentExecutionNotRedrivable(v **types.ExecutionN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6970,6 +7019,7 @@ func awsAwsjson10_deserializeDocumentExecutionRedrivenEventDetails(v **types.Exe } sv.RedriveCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7009,10 +7059,12 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7021,6 +7073,7 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.RoleArn = ptr.String(jtv) } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -7029,6 +7082,7 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.StateMachineAliasArn = ptr.String(jtv) } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -7037,6 +7091,7 @@ func awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(v **types.Exec } sv.StateMachineVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7076,10 +7131,12 @@ func awsAwsjson10_deserializeDocumentExecutionSucceededEventDetails(v **types.Ex } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + default: _, _ = key, value @@ -7119,6 +7176,7 @@ func awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(v **types.Exe } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -7127,6 +7185,7 @@ func awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(v **types.Exe } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -7162,50 +7221,62 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value if err := awsAwsjson10_deserializeDocumentActivityFailedEventDetails(&sv.ActivityFailedEventDetails, value); err != nil { return err } + case "activityScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentActivityScheduledEventDetails(&sv.ActivityScheduledEventDetails, value); err != nil { return err } + case "activityScheduleFailedEventDetails": if err := awsAwsjson10_deserializeDocumentActivityScheduleFailedEventDetails(&sv.ActivityScheduleFailedEventDetails, value); err != nil { return err } + case "activityStartedEventDetails": if err := awsAwsjson10_deserializeDocumentActivityStartedEventDetails(&sv.ActivityStartedEventDetails, value); err != nil { return err } + case "activitySucceededEventDetails": if err := awsAwsjson10_deserializeDocumentActivitySucceededEventDetails(&sv.ActivitySucceededEventDetails, value); err != nil { return err } + case "activityTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentActivityTimedOutEventDetails(&sv.ActivityTimedOutEventDetails, value); err != nil { return err } + case "executionAbortedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionAbortedEventDetails(&sv.ExecutionAbortedEventDetails, value); err != nil { return err } + case "executionFailedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionFailedEventDetails(&sv.ExecutionFailedEventDetails, value); err != nil { return err } + case "executionRedrivenEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionRedrivenEventDetails(&sv.ExecutionRedrivenEventDetails, value); err != nil { return err } + case "executionStartedEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionStartedEventDetails(&sv.ExecutionStartedEventDetails, value); err != nil { return err } + case "executionSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionSucceededEventDetails(&sv.ExecutionSucceededEventDetails, value); err != nil { return err } + case "executionTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentExecutionTimedOutEventDetails(&sv.ExecutionTimedOutEventDetails, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(json.Number) @@ -7218,62 +7289,77 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.Id = i64 } + case "lambdaFunctionFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(&sv.LambdaFunctionFailedEventDetails, value); err != nil { return err } + case "lambdaFunctionScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(&sv.LambdaFunctionScheduledEventDetails, value); err != nil { return err } + case "lambdaFunctionScheduleFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(&sv.LambdaFunctionScheduleFailedEventDetails, value); err != nil { return err } + case "lambdaFunctionStartFailedEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(&sv.LambdaFunctionStartFailedEventDetails, value); err != nil { return err } + case "lambdaFunctionSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionSucceededEventDetails(&sv.LambdaFunctionSucceededEventDetails, value); err != nil { return err } + case "lambdaFunctionTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(&sv.LambdaFunctionTimedOutEventDetails, value); err != nil { return err } + case "mapIterationAbortedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationAbortedEventDetails, value); err != nil { return err } + case "mapIterationFailedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationFailedEventDetails, value); err != nil { return err } + case "mapIterationStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationStartedEventDetails, value); err != nil { return err } + case "mapIterationSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentMapIterationEventDetails(&sv.MapIterationSucceededEventDetails, value); err != nil { return err } + case "mapRunFailedEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(&sv.MapRunFailedEventDetails, value); err != nil { return err } + case "mapRunRedrivenEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(&sv.MapRunRedrivenEventDetails, value); err != nil { return err } + case "mapRunStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapRunStartedEventDetails(&sv.MapRunStartedEventDetails, value); err != nil { return err } + case "mapStateStartedEventDetails": if err := awsAwsjson10_deserializeDocumentMapStateStartedEventDetails(&sv.MapStateStartedEventDetails, value); err != nil { return err } + case "previousEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7286,46 +7372,57 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.PreviousEventId = i64 } + case "stateEnteredEventDetails": if err := awsAwsjson10_deserializeDocumentStateEnteredEventDetails(&sv.StateEnteredEventDetails, value); err != nil { return err } + case "stateExitedEventDetails": if err := awsAwsjson10_deserializeDocumentStateExitedEventDetails(&sv.StateExitedEventDetails, value); err != nil { return err } + case "taskFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskFailedEventDetails(&sv.TaskFailedEventDetails, value); err != nil { return err } + case "taskScheduledEventDetails": if err := awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(&sv.TaskScheduledEventDetails, value); err != nil { return err } + case "taskStartedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskStartedEventDetails(&sv.TaskStartedEventDetails, value); err != nil { return err } + case "taskStartFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(&sv.TaskStartFailedEventDetails, value); err != nil { return err } + case "taskSubmitFailedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(&sv.TaskSubmitFailedEventDetails, value); err != nil { return err } + case "taskSubmittedEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(&sv.TaskSubmittedEventDetails, value); err != nil { return err } + case "taskSucceededEventDetails": if err := awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(&sv.TaskSucceededEventDetails, value); err != nil { return err } + case "taskTimedOutEventDetails": if err := awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(&sv.TaskTimedOutEventDetails, value); err != nil { return err } + case "timestamp": if value != nil { switch jtv := value.(type) { @@ -7341,6 +7438,7 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } } + case "type": if value != nil { jtv, ok := value.(string) @@ -7349,6 +7447,7 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.Type = types.HistoryEventType(jtv) } + default: _, _ = key, value @@ -7388,6 +7487,7 @@ func awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(v **types. } sv.Truncated = jtv } + default: _, _ = key, value @@ -7461,6 +7561,7 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterInputPath = ptr.String(jtv) } + case "afterParameters": if value != nil { jtv, ok := value.(string) @@ -7469,6 +7570,7 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterParameters = ptr.String(jtv) } + case "afterResultPath": if value != nil { jtv, ok := value.(string) @@ -7477,6 +7579,7 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterResultPath = ptr.String(jtv) } + case "afterResultSelector": if value != nil { jtv, ok := value.(string) @@ -7485,6 +7588,7 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.AfterResultSelector = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -7493,14 +7597,17 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.Input = ptr.String(jtv) } + case "request": if err := awsAwsjson10_deserializeDocumentInspectionDataRequest(&sv.Request, value); err != nil { return err } + case "response": if err := awsAwsjson10_deserializeDocumentInspectionDataResponse(&sv.Response, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -7509,6 +7616,7 @@ func awsAwsjson10_deserializeDocumentInspectionData(v **types.InspectionData, va } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -7548,6 +7656,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Body = ptr.String(jtv) } + case "headers": if value != nil { jtv, ok := value.(string) @@ -7556,6 +7665,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Headers = ptr.String(jtv) } + case "method": if value != nil { jtv, ok := value.(string) @@ -7564,6 +7674,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Method = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7683,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Protocol = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -7580,6 +7692,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataRequest(v **types.InspectionD } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -7619,6 +7732,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Body = ptr.String(jtv) } + case "headers": if value != nil { jtv, ok := value.(string) @@ -7627,6 +7741,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Headers = ptr.String(jtv) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -7635,6 +7750,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.Protocol = ptr.String(jtv) } + case "statusCode": if value != nil { jtv, ok := value.(string) @@ -7643,6 +7759,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.StatusCode = ptr.String(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7651,6 +7768,7 @@ func awsAwsjson10_deserializeDocumentInspectionDataResponse(v **types.Inspection } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -7690,6 +7808,7 @@ func awsAwsjson10_deserializeDocumentInvalidArn(v **types.InvalidArn, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7729,6 +7848,7 @@ func awsAwsjson10_deserializeDocumentInvalidDefinition(v **types.InvalidDefiniti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7768,6 +7888,7 @@ func awsAwsjson10_deserializeDocumentInvalidEncryptionConfiguration(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7807,6 +7928,7 @@ func awsAwsjson10_deserializeDocumentInvalidExecutionInput(v **types.InvalidExec } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7846,6 +7968,7 @@ func awsAwsjson10_deserializeDocumentInvalidLoggingConfiguration(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7885,6 +8008,7 @@ func awsAwsjson10_deserializeDocumentInvalidName(v **types.InvalidName, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7924,6 +8048,7 @@ func awsAwsjson10_deserializeDocumentInvalidOutput(v **types.InvalidOutput, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7963,6 +8088,7 @@ func awsAwsjson10_deserializeDocumentInvalidToken(v **types.InvalidToken, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8002,6 +8128,7 @@ func awsAwsjson10_deserializeDocumentInvalidTracingConfiguration(v **types.Inval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8041,6 +8168,7 @@ func awsAwsjson10_deserializeDocumentKmsAccessDeniedException(v **types.KmsAcces } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8080,6 +8208,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval } sv.KmsKeyState = types.KmsKeyState(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8088,6 +8217,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidStateException(v **types.KmsInval } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8127,6 +8257,7 @@ func awsAwsjson10_deserializeDocumentKmsThrottlingException(v **types.KmsThrottl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8166,6 +8297,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(v **types. } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8174,6 +8306,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventDetails(v **types. } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -8213,10 +8346,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -8225,10 +8360,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.Resource = ptr.String(jtv) } + case "taskCredentials": if err := awsAwsjson10_deserializeDocumentTaskCredentials(&sv.TaskCredentials, value); err != nil { return err } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8241,6 +8378,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventDetails(v **typ } sv.TimeoutInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -8280,6 +8418,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(v } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8288,6 +8427,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduleFailedEventDetails(v } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -8327,6 +8467,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(v **t } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8335,6 +8476,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartFailedEventDetails(v **t } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -8374,10 +8516,12 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionSucceededEventDetails(v **typ } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + default: _, _ = key, value @@ -8417,6 +8561,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(v **type } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8425,6 +8570,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventDetails(v **type } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -8460,6 +8606,7 @@ func awsAwsjson10_deserializeDocumentLogDestination(v **types.LogDestination, va if err := awsAwsjson10_deserializeDocumentCloudWatchLogsLogGroup(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } + default: _, _ = key, value @@ -8529,6 +8676,7 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson10_deserializeDocumentLogDestinationList(&sv.Destinations, value); err != nil { return err } + case "includeExecutionData": if value != nil { jtv, ok := value.(bool) @@ -8537,6 +8685,7 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.IncludeExecutionData = jtv } + case "level": if value != nil { jtv, ok := value.(string) @@ -8545,6 +8694,7 @@ func awsAwsjson10_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.Level = types.LogLevel(jtv) } + default: _, _ = key, value @@ -8588,6 +8738,7 @@ func awsAwsjson10_deserializeDocumentMapIterationEventDetails(v **types.MapItera } sv.Index = int32(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8596,6 +8747,7 @@ func awsAwsjson10_deserializeDocumentMapIterationEventDetails(v **types.MapItera } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8639,6 +8791,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Aborted = i64 } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -8651,6 +8804,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Failed = i64 } + case "failuresNotRedrivable": if value != nil { jtv, ok := value.(json.Number) @@ -8663,6 +8817,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.FailuresNotRedrivable = ptr.Int64(i64) } + case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -8675,6 +8830,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Pending = i64 } + case "pendingRedrive": if value != nil { jtv, ok := value.(json.Number) @@ -8687,6 +8843,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.PendingRedrive = ptr.Int64(i64) } + case "resultsWritten": if value != nil { jtv, ok := value.(json.Number) @@ -8699,6 +8856,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.ResultsWritten = i64 } + case "running": if value != nil { jtv, ok := value.(json.Number) @@ -8711,6 +8869,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Running = i64 } + case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -8723,6 +8882,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Succeeded = i64 } + case "timedOut": if value != nil { jtv, ok := value.(json.Number) @@ -8735,6 +8895,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.TimedOut = i64 } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -8747,6 +8908,7 @@ func awsAwsjson10_deserializeDocumentMapRunExecutionCounts(v **types.MapRunExecu } sv.Total = i64 } + default: _, _ = key, value @@ -8786,6 +8948,7 @@ func awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(v **types.MapRunFa } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -8794,6 +8957,7 @@ func awsAwsjson10_deserializeDocumentMapRunFailedEventDetails(v **types.MapRunFa } sv.Error = ptr.String(jtv) } + default: _, _ = key, value @@ -8837,6 +9001,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Aborted = i64 } + case "failed": if value != nil { jtv, ok := value.(json.Number) @@ -8849,6 +9014,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Failed = i64 } + case "failuresNotRedrivable": if value != nil { jtv, ok := value.(json.Number) @@ -8861,6 +9027,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.FailuresNotRedrivable = ptr.Int64(i64) } + case "pending": if value != nil { jtv, ok := value.(json.Number) @@ -8873,6 +9040,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Pending = i64 } + case "pendingRedrive": if value != nil { jtv, ok := value.(json.Number) @@ -8885,6 +9053,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.PendingRedrive = ptr.Int64(i64) } + case "resultsWritten": if value != nil { jtv, ok := value.(json.Number) @@ -8897,6 +9066,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.ResultsWritten = i64 } + case "running": if value != nil { jtv, ok := value.(json.Number) @@ -8909,6 +9079,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Running = i64 } + case "succeeded": if value != nil { jtv, ok := value.(json.Number) @@ -8921,6 +9092,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Succeeded = i64 } + case "timedOut": if value != nil { jtv, ok := value.(json.Number) @@ -8933,6 +9105,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.TimedOut = i64 } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -8945,6 +9118,7 @@ func awsAwsjson10_deserializeDocumentMapRunItemCounts(v **types.MapRunItemCounts } sv.Total = i64 } + default: _, _ = key, value @@ -9018,6 +9192,7 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.ExecutionArn = ptr.String(jtv) } + case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -9026,6 +9201,7 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.MapRunArn = ptr.String(jtv) } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -9041,6 +9217,7 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -9049,6 +9226,7 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } sv.StateMachineArn = ptr.String(jtv) } + case "stopDate": if value != nil { switch jtv := value.(type) { @@ -9064,6 +9242,7 @@ func awsAwsjson10_deserializeDocumentMapRunListItem(v **types.MapRunListItem, va } } + default: _, _ = key, value @@ -9103,6 +9282,7 @@ func awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(v **types.MapRun } sv.MapRunArn = ptr.String(jtv) } + case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -9115,6 +9295,7 @@ func awsAwsjson10_deserializeDocumentMapRunRedrivenEventDetails(v **types.MapRun } sv.RedriveCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -9154,6 +9335,7 @@ func awsAwsjson10_deserializeDocumentMapRunStartedEventDetails(v **types.MapRunS } sv.MapRunArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9197,6 +9379,7 @@ func awsAwsjson10_deserializeDocumentMapStateStartedEventDetails(v **types.MapSt } sv.Length = int32(i64) } + default: _, _ = key, value @@ -9236,6 +9419,7 @@ func awsAwsjson10_deserializeDocumentMissingRequiredParameter(v **types.MissingR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9275,6 +9459,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9283,6 +9468,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFound(v **types.ResourceNotFound } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9356,6 +9542,7 @@ func awsAwsjson10_deserializeDocumentRoutingConfigurationListItem(v **types.Rout } sv.StateMachineVersionArn = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -9368,6 +9555,7 @@ func awsAwsjson10_deserializeDocumentRoutingConfigurationListItem(v **types.Rout } sv.Weight = int32(i64) } + default: _, _ = key, value @@ -9407,6 +9595,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9446,10 +9635,12 @@ func awsAwsjson10_deserializeDocumentStateEnteredEventDetails(v **types.StateEnt } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9458,6 +9649,7 @@ func awsAwsjson10_deserializeDocumentStateEnteredEventDetails(v **types.StateEnt } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9497,6 +9689,7 @@ func awsAwsjson10_deserializeDocumentStateExitedEventDetails(v **types.StateExit } sv.Name = ptr.String(jtv) } + case "output": if value != nil { jtv, ok := value.(string) @@ -9505,10 +9698,12 @@ func awsAwsjson10_deserializeDocumentStateExitedEventDetails(v **types.StateExit } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9589,6 +9784,7 @@ func awsAwsjson10_deserializeDocumentStateMachineAliasListItem(v **types.StateMa } } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -9597,6 +9793,7 @@ func awsAwsjson10_deserializeDocumentStateMachineAliasListItem(v **types.StateMa } sv.StateMachineAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9636,6 +9833,7 @@ func awsAwsjson10_deserializeDocumentStateMachineAlreadyExists(v **types.StateMa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9675,6 +9873,7 @@ func awsAwsjson10_deserializeDocumentStateMachineDeleting(v **types.StateMachine } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9714,6 +9913,7 @@ func awsAwsjson10_deserializeDocumentStateMachineDoesNotExist(v **types.StateMac } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9753,6 +9953,7 @@ func awsAwsjson10_deserializeDocumentStateMachineLimitExceeded(v **types.StateMa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9833,6 +10034,7 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9841,6 +10043,7 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.Name = ptr.String(jtv) } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -9849,6 +10052,7 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.StateMachineArn = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9857,6 +10061,7 @@ func awsAwsjson10_deserializeDocumentStateMachineListItem(v **types.StateMachine } sv.Type = types.StateMachineType(jtv) } + default: _, _ = key, value @@ -9896,6 +10101,7 @@ func awsAwsjson10_deserializeDocumentStateMachineTypeNotSupported(v **types.Stat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9976,6 +10182,7 @@ func awsAwsjson10_deserializeDocumentStateMachineVersionListItem(v **types.State } } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -9984,6 +10191,7 @@ func awsAwsjson10_deserializeDocumentStateMachineVersionListItem(v **types.State } sv.StateMachineVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10023,6 +10231,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -10031,6 +10240,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10104,6 +10314,7 @@ func awsAwsjson10_deserializeDocumentTaskCredentials(v **types.TaskCredentials, } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10143,6 +10354,7 @@ func awsAwsjson10_deserializeDocumentTaskDoesNotExist(v **types.TaskDoesNotExist } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10182,6 +10394,7 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -10190,6 +10403,7 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Error = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10198,6 +10412,7 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10206,6 +10421,7 @@ func awsAwsjson10_deserializeDocumentTaskFailedEventDetails(v **types.TaskFailed } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10249,6 +10465,7 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.HeartbeatInSeconds = ptr.Int64(i64) } + case "parameters": if value != nil { jtv, ok := value.(string) @@ -10257,6 +10474,7 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Parameters = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -10265,6 +10483,7 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Region = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10273,6 +10492,7 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10281,10 +10501,12 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.ResourceType = ptr.String(jtv) } + case "taskCredentials": if err := awsAwsjson10_deserializeDocumentTaskCredentials(&sv.TaskCredentials, value); err != nil { return err } + case "timeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10297,6 +10519,7 @@ func awsAwsjson10_deserializeDocumentTaskScheduledEventDetails(v **types.TaskSch } sv.TimeoutInSeconds = ptr.Int64(i64) } + default: _, _ = key, value @@ -10336,6 +10559,7 @@ func awsAwsjson10_deserializeDocumentTaskStartedEventDetails(v **types.TaskStart } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10344,6 +10568,7 @@ func awsAwsjson10_deserializeDocumentTaskStartedEventDetails(v **types.TaskStart } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10383,6 +10608,7 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -10391,6 +10617,7 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Error = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10399,6 +10626,7 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10407,6 +10635,7 @@ func awsAwsjson10_deserializeDocumentTaskStartFailedEventDetails(v **types.TaskS } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10446,6 +10675,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -10454,6 +10684,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Error = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10462,6 +10693,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10470,6 +10702,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmitFailedEventDetails(v **types.Task } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10509,10 +10742,12 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10521,6 +10756,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10529,6 +10765,7 @@ func awsAwsjson10_deserializeDocumentTaskSubmittedEventDetails(v **types.TaskSub } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10568,10 +10805,12 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentHistoryEventExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10580,6 +10819,7 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10588,6 +10828,7 @@ func awsAwsjson10_deserializeDocumentTaskSucceededEventDetails(v **types.TaskSuc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10627,6 +10868,7 @@ func awsAwsjson10_deserializeDocumentTaskTimedOut(v **types.TaskTimedOut, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10666,6 +10908,7 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -10674,6 +10917,7 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Error = ptr.String(jtv) } + case "resource": if value != nil { jtv, ok := value.(string) @@ -10682,6 +10926,7 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.Resource = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10690,6 +10935,7 @@ func awsAwsjson10_deserializeDocumentTaskTimedOutEventDetails(v **types.TaskTime } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10729,6 +10975,7 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -10737,6 +10984,7 @@ func awsAwsjson10_deserializeDocumentTooManyTags(v **types.TooManyTags, value in } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10776,6 +11024,7 @@ func awsAwsjson10_deserializeDocumentTracingConfiguration(v **types.TracingConfi } sv.Enabled = jtv } + default: _, _ = key, value @@ -10815,6 +11064,7 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Code = ptr.String(jtv) } + case "location": if value != nil { jtv, ok := value.(string) @@ -10823,6 +11073,7 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Location = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -10831,6 +11082,7 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Message = ptr.String(jtv) } + case "severity": if value != nil { jtv, ok := value.(string) @@ -10839,6 +11091,7 @@ func awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnostic(v } sv.Severity = types.ValidateStateMachineDefinitionSeverity(jtv) } + default: _, _ = key, value @@ -10912,6 +11165,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -10920,6 +11174,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -10959,6 +11214,7 @@ func awsAwsjson10_deserializeOpDocumentCreateActivityOutput(v **CreateActivityOu } sv.ActivityArn = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -10974,6 +11230,7 @@ func awsAwsjson10_deserializeOpDocumentCreateActivityOutput(v **CreateActivityOu } } + default: _, _ = key, value @@ -11020,6 +11277,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineAliasOutput(v **CreateS } } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -11028,6 +11286,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineAliasOutput(v **CreateS } sv.StateMachineAliasArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11074,6 +11333,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -11082,6 +11342,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } sv.StateMachineArn = ptr.String(jtv) } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -11090,6 +11351,7 @@ func awsAwsjson10_deserializeOpDocumentCreateStateMachineOutput(v **CreateStateM } sv.StateMachineVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11253,6 +11515,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } sv.ActivityArn = ptr.String(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11268,10 +11531,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } } + case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11280,6 +11545,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityOutput(v **DescribeActivi } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11319,6 +11585,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -11327,6 +11594,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Error = ptr.String(jtv) } + case "executionArn": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11603,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ExecutionArn = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -11343,10 +11612,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -11355,6 +11626,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.MapRunArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11363,6 +11635,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Name = ptr.String(jtv) } + case "output": if value != nil { jtv, ok := value.(string) @@ -11371,10 +11644,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -11387,6 +11662,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveCount = ptr.Int32(int32(i64)) } + case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -11402,6 +11678,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } + case "redriveStatus": if value != nil { jtv, ok := value.(string) @@ -11410,6 +11687,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveStatus = types.ExecutionRedriveStatus(jtv) } + case "redriveStatusReason": if value != nil { jtv, ok := value.(string) @@ -11418,6 +11696,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.RedriveStatusReason = ptr.String(jtv) } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -11433,6 +11712,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -11441,6 +11721,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineAliasArn = ptr.String(jtv) } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -11449,6 +11730,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineArn = ptr.String(jtv) } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -11457,6 +11739,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.StateMachineVersionArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11465,6 +11748,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.Status = types.ExecutionStatus(jtv) } + case "stopDate": if value != nil { switch jtv := value.(type) { @@ -11480,6 +11764,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } + case "traceHeader": if value != nil { jtv, ok := value.(string) @@ -11488,6 +11773,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.TraceHeader = ptr.String(jtv) } + default: _, _ = key, value @@ -11527,14 +11813,17 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.ExecutionArn = ptr.String(jtv) } + case "executionCounts": if err := awsAwsjson10_deserializeDocumentMapRunExecutionCounts(&sv.ExecutionCounts, value); err != nil { return err } + case "itemCounts": if err := awsAwsjson10_deserializeDocumentMapRunItemCounts(&sv.ItemCounts, value); err != nil { return err } + case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -11543,6 +11832,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.MapRunArn = ptr.String(jtv) } + case "maxConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -11555,6 +11845,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.MaxConcurrency = int32(i64) } + case "redriveCount": if value != nil { jtv, ok := value.(json.Number) @@ -11567,6 +11858,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.RedriveCount = ptr.Int32(int32(i64)) } + case "redriveDate": if value != nil { switch jtv := value.(type) { @@ -11582,6 +11874,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -11597,6 +11890,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11605,6 +11899,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.Status = types.MapRunStatus(jtv) } + case "stopDate": if value != nil { switch jtv := value.(type) { @@ -11620,6 +11915,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } + case "toleratedFailureCount": if value != nil { jtv, ok := value.(json.Number) @@ -11632,6 +11928,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } sv.ToleratedFailureCount = i64 } + case "toleratedFailurePercentage": if value != nil { switch jtv := value.(type) { @@ -11665,6 +11962,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeMapRunOutput(v **DescribeMapRunOu } } + default: _, _ = key, value @@ -11711,6 +12009,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } } + case "description": if value != nil { jtv, ok := value.(string) @@ -11719,6 +12018,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11727,10 +12027,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.Name = ptr.String(jtv) } + case "routingConfiguration": if err := awsAwsjson10_deserializeDocumentRoutingConfigurationList(&sv.RoutingConfiguration, value); err != nil { return err } + case "stateMachineAliasArn": if value != nil { jtv, ok := value.(string) @@ -11739,6 +12041,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } sv.StateMachineAliasArn = ptr.String(jtv) } + case "updateDate": if value != nil { switch jtv := value.(type) { @@ -11754,6 +12057,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineAliasOutput(v **Descr } } + default: _, _ = key, value @@ -11793,10 +12097,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Definition = ptr.String(jtv) } + case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "label": if value != nil { jtv, ok := value.(string) @@ -11805,10 +12111,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Label = ptr.String(jtv) } + case "loggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + case "mapRunArn": if value != nil { jtv, ok := value.(string) @@ -11817,6 +12125,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.MapRunArn = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11825,6 +12134,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -11833,6 +12143,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.RevisionId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11841,6 +12152,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.RoleArn = ptr.String(jtv) } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -11849,10 +12161,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } sv.StateMachineArn = ptr.String(jtv) } + case "tracingConfiguration": if err := awsAwsjson10_deserializeDocumentTracingConfiguration(&sv.TracingConfiguration, value); err != nil { return err } + case "updateDate": if value != nil { switch jtv := value.(type) { @@ -11868,6 +12182,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineForExecutionOutput(v } } + default: _, _ = key, value @@ -11914,6 +12229,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } } + case "definition": if value != nil { jtv, ok := value.(string) @@ -11922,6 +12238,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Definition = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -11930,10 +12247,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Description = ptr.String(jtv) } + case "encryptionConfiguration": if err := awsAwsjson10_deserializeDocumentEncryptionConfiguration(&sv.EncryptionConfiguration, value); err != nil { return err } + case "label": if value != nil { jtv, ok := value.(string) @@ -11942,10 +12261,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Label = ptr.String(jtv) } + case "loggingConfiguration": if err := awsAwsjson10_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11954,6 +12275,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -11962,6 +12284,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.RevisionId = ptr.String(jtv) } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -11970,6 +12293,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.RoleArn = ptr.String(jtv) } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -11978,6 +12302,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.StateMachineArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11986,10 +12311,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Status = types.StateMachineStatus(jtv) } + case "tracingConfiguration": if err := awsAwsjson10_deserializeDocumentTracingConfiguration(&sv.TracingConfiguration, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -11998,6 +12325,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeStateMachineOutput(v **DescribeSt } sv.Type = types.StateMachineType(jtv) } + default: _, _ = key, value @@ -12037,6 +12365,7 @@ func awsAwsjson10_deserializeOpDocumentGetActivityTaskOutput(v **GetActivityTask } sv.Input = ptr.String(jtv) } + case "taskToken": if value != nil { jtv, ok := value.(string) @@ -12045,6 +12374,7 @@ func awsAwsjson10_deserializeOpDocumentGetActivityTaskOutput(v **GetActivityTask } sv.TaskToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12080,6 +12410,7 @@ func awsAwsjson10_deserializeOpDocumentGetExecutionHistoryOutput(v **GetExecutio if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12088,6 +12419,7 @@ func awsAwsjson10_deserializeOpDocumentGetExecutionHistoryOutput(v **GetExecutio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12123,6 +12455,7 @@ func awsAwsjson10_deserializeOpDocumentListActivitiesOutput(v **ListActivitiesOu if err := awsAwsjson10_deserializeDocumentActivityList(&sv.Activities, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12131,6 +12464,7 @@ func awsAwsjson10_deserializeOpDocumentListActivitiesOutput(v **ListActivitiesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12166,6 +12500,7 @@ func awsAwsjson10_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson10_deserializeDocumentExecutionList(&sv.Executions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12174,6 +12509,7 @@ func awsAwsjson10_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12209,6 +12545,7 @@ func awsAwsjson10_deserializeOpDocumentListMapRunsOutput(v **ListMapRunsOutput, if err := awsAwsjson10_deserializeDocumentMapRunList(&sv.MapRuns, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12554,7 @@ func awsAwsjson10_deserializeOpDocumentListMapRunsOutput(v **ListMapRunsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -12256,10 +12594,12 @@ func awsAwsjson10_deserializeOpDocumentListStateMachineAliasesOutput(v **ListSta } sv.NextToken = ptr.String(jtv) } + case "stateMachineAliases": if err := awsAwsjson10_deserializeDocumentStateMachineAliasList(&sv.StateMachineAliases, value); err != nil { return err } + default: _, _ = key, value @@ -12299,10 +12639,12 @@ func awsAwsjson10_deserializeOpDocumentListStateMachinesOutput(v **ListStateMach } sv.NextToken = ptr.String(jtv) } + case "stateMachines": if err := awsAwsjson10_deserializeDocumentStateMachineList(&sv.StateMachines, value); err != nil { return err } + default: _, _ = key, value @@ -12342,10 +12684,12 @@ func awsAwsjson10_deserializeOpDocumentListStateMachineVersionsOutput(v **ListSt } sv.NextToken = ptr.String(jtv) } + case "stateMachineVersions": if err := awsAwsjson10_deserializeDocumentStateMachineVersionList(&sv.StateMachineVersions, value); err != nil { return err } + default: _, _ = key, value @@ -12381,6 +12725,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12427,6 +12772,7 @@ func awsAwsjson10_deserializeOpDocumentPublishStateMachineVersionOutput(v **Publ } } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -12435,6 +12781,7 @@ func awsAwsjson10_deserializeOpDocumentPublishStateMachineVersionOutput(v **Publ } sv.StateMachineVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12481,6 +12828,7 @@ func awsAwsjson10_deserializeOpDocumentRedriveExecutionOutput(v **RedriveExecuti } } + default: _, _ = key, value @@ -12613,6 +12961,7 @@ func awsAwsjson10_deserializeOpDocumentStartExecutionOutput(v **StartExecutionOu } sv.ExecutionArn = ptr.String(jtv) } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -12628,6 +12977,7 @@ func awsAwsjson10_deserializeOpDocumentStartExecutionOutput(v **StartExecutionOu } } + default: _, _ = key, value @@ -12663,6 +13013,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe if err := awsAwsjson10_deserializeDocumentBillingDetails(&sv.BillingDetails, value); err != nil { return err } + case "cause": if value != nil { jtv, ok := value.(string) @@ -12671,6 +13022,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -12679,6 +13031,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Error = ptr.String(jtv) } + case "executionArn": if value != nil { jtv, ok := value.(string) @@ -12687,6 +13040,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.ExecutionArn = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -12695,10 +13049,12 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Input = ptr.String(jtv) } + case "inputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.InputDetails, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -12707,6 +13063,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Name = ptr.String(jtv) } + case "output": if value != nil { jtv, ok := value.(string) @@ -12715,10 +13072,12 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Output = ptr.String(jtv) } + case "outputDetails": if err := awsAwsjson10_deserializeDocumentCloudWatchEventsExecutionDataDetails(&sv.OutputDetails, value); err != nil { return err } + case "startDate": if value != nil { switch jtv := value.(type) { @@ -12734,6 +13093,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } } + case "stateMachineArn": if value != nil { jtv, ok := value.(string) @@ -12742,6 +13102,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.StateMachineArn = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12750,6 +13111,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.Status = types.SyncExecutionStatus(jtv) } + case "stopDate": if value != nil { switch jtv := value.(type) { @@ -12765,6 +13127,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } } + case "traceHeader": if value != nil { jtv, ok := value.(string) @@ -12773,6 +13136,7 @@ func awsAwsjson10_deserializeOpDocumentStartSyncExecutionOutput(v **StartSyncExe } sv.TraceHeader = ptr.String(jtv) } + default: _, _ = key, value @@ -12819,6 +13183,7 @@ func awsAwsjson10_deserializeOpDocumentStopExecutionOutput(v **StopExecutionOutp } } + default: _, _ = key, value @@ -12889,6 +13254,7 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Cause = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -12897,10 +13263,12 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Error = ptr.String(jtv) } + case "inspectionData": if err := awsAwsjson10_deserializeDocumentInspectionData(&sv.InspectionData, value); err != nil { return err } + case "nextState": if value != nil { jtv, ok := value.(string) @@ -12909,6 +13277,7 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.NextState = ptr.String(jtv) } + case "output": if value != nil { jtv, ok := value.(string) @@ -12917,6 +13286,7 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Output = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12925,6 +13295,7 @@ func awsAwsjson10_deserializeOpDocumentTestStateOutput(v **TestStateOutput, valu } sv.Status = types.TestExecutionStatus(jtv) } + default: _, _ = key, value @@ -13033,6 +13404,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineAliasOutput(v **UpdateS } } + default: _, _ = key, value @@ -13072,6 +13444,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } sv.RevisionId = ptr.String(jtv) } + case "stateMachineVersionArn": if value != nil { jtv, ok := value.(string) @@ -13080,6 +13453,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } sv.StateMachineVersionArn = ptr.String(jtv) } + case "updateDate": if value != nil { switch jtv := value.(type) { @@ -13095,6 +13469,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateStateMachineOutput(v **UpdateStateM } } + default: _, _ = key, value @@ -13130,6 +13505,7 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** if err := awsAwsjson10_deserializeDocumentValidateStateMachineDefinitionDiagnosticList(&sv.Diagnostics, value); err != nil { return err } + case "result": if value != nil { jtv, ok := value.(string) @@ -13138,6 +13514,7 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** } sv.Result = types.ValidateStateMachineDefinitionResultCode(jtv) } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -13146,6 +13523,7 @@ func awsAwsjson10_deserializeOpDocumentValidateStateMachineDefinitionOutput(v ** } sv.Truncated = ptr.Bool(jtv) } + default: _, _ = key, value diff --git a/service/shield/deserializers.go b/service/shield/deserializers.go index 38990a28113..cc7d268088c 100644 --- a/service/shield/deserializers.go +++ b/service/shield/deserializers.go @@ -4829,6 +4829,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4868,6 +4869,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedForDependencyException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4903,6 +4905,7 @@ func awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfigurat if err := awsAwsjson11_deserializeDocumentResponseAction(&sv.Action, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4911,6 +4914,7 @@ func awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfigurat } sv.Status = types.ApplicationLayerAutomaticResponseStatus(jtv) } + default: _, _ = key, value @@ -4946,6 +4950,7 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.AttackCounters, value); err != nil { return err } + case "AttackId": if value != nil { jtv, ok := value.(string) @@ -4954,10 +4959,12 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } sv.AttackId = ptr.String(jtv) } + case "AttackProperties": if err := awsAwsjson11_deserializeDocumentAttackProperties(&sv.AttackProperties, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -4973,10 +4980,12 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } } + case "Mitigations": if err := awsAwsjson11_deserializeDocumentMitigationList(&sv.Mitigations, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4985,6 +4994,7 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } sv.ResourceArn = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5000,10 +5010,12 @@ func awsAwsjson11_deserializeDocumentAttackDetail(v **types.AttackDetail, value } } + case "SubResources": if err := awsAwsjson11_deserializeDocumentSubResourceSummaryList(&sv.SubResources, value); err != nil { return err } + default: _, _ = key, value @@ -5077,6 +5089,7 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.AttackLayer = types.AttackLayer(jtv) } + case "AttackPropertyIdentifier": if value != nil { jtv, ok := value.(string) @@ -5085,10 +5098,12 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.AttackPropertyIdentifier = types.AttackPropertyIdentifier(jtv) } + case "TopContributors": if err := awsAwsjson11_deserializeDocumentTopContributors(&sv.TopContributors, value); err != nil { return err } + case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -5101,6 +5116,7 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.Total = i64 } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -5109,6 +5125,7 @@ func awsAwsjson11_deserializeDocumentAttackProperty(v **types.AttackProperty, va } sv.Unit = types.Unit(jtv) } + default: _, _ = key, value @@ -5152,10 +5169,12 @@ func awsAwsjson11_deserializeDocumentAttackStatisticsDataItem(v **types.AttackSt } sv.AttackCount = i64 } + case "AttackVolume": if err := awsAwsjson11_deserializeDocumentAttackVolume(&sv.AttackVolume, value); err != nil { return err } + default: _, _ = key, value @@ -5263,10 +5282,12 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } sv.AttackId = ptr.String(jtv) } + case "AttackVectors": if err := awsAwsjson11_deserializeDocumentAttackVectorDescriptionList(&sv.AttackVectors, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5282,6 +5303,7 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -5290,6 +5312,7 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } sv.ResourceArn = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5305,6 +5328,7 @@ func awsAwsjson11_deserializeDocumentAttackSummary(v **types.AttackSummary, valu } } + default: _, _ = key, value @@ -5344,6 +5368,7 @@ func awsAwsjson11_deserializeDocumentAttackVectorDescription(v **types.AttackVec } sv.VectorType = ptr.String(jtv) } + default: _, _ = key, value @@ -5413,14 +5438,17 @@ func awsAwsjson11_deserializeDocumentAttackVolume(v **types.AttackVolume, value if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.BitsPerSecond, value); err != nil { return err } + case "PacketsPerSecond": if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.PacketsPerSecond, value); err != nil { return err } + case "RequestsPerSecond": if err := awsAwsjson11_deserializeDocumentAttackVolumeStatistics(&sv.RequestsPerSecond, value); err != nil { return err } + default: _, _ = key, value @@ -5485,6 +5513,7 @@ func awsAwsjson11_deserializeDocumentAttackVolumeStatistics(v **types.AttackVolu } } + default: _, _ = key, value @@ -5555,6 +5584,7 @@ func awsAwsjson11_deserializeDocumentContributor(v **types.Contributor, value in } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -5567,6 +5597,7 @@ func awsAwsjson11_deserializeDocumentContributor(v **types.Contributor, value in } sv.Value = i64 } + default: _, _ = key, value @@ -5637,6 +5668,7 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.ContactNotes = ptr.String(jtv) } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -5645,6 +5677,7 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.EmailAddress = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5686,7 @@ func awsAwsjson11_deserializeDocumentEmergencyContact(v **types.EmergencyContact } sv.PhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -5762,6 +5796,7 @@ func awsAwsjson11_deserializeDocumentInternalErrorException(v **types.InternalEr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5801,6 +5836,7 @@ func awsAwsjson11_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5840,6 +5876,7 @@ func awsAwsjson11_deserializeDocumentInvalidPaginationTokenException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5875,6 +5912,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5883,6 +5921,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5891,6 +5930,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -5930,6 +5970,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5973,6 +6014,7 @@ func awsAwsjson11_deserializeDocumentLimit(v **types.Limit, value interface{}) e } sv.Max = i64 } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5981,6 +6023,7 @@ func awsAwsjson11_deserializeDocumentLimit(v **types.Limit, value interface{}) e } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6058,6 +6101,7 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Limit = i64 } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6066,6 +6110,7 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6074,6 +6119,7 @@ func awsAwsjson11_deserializeDocumentLimitsExceededException(v **types.LimitsExc } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6113,6 +6159,7 @@ func awsAwsjson11_deserializeDocumentLockedSubscriptionException(v **types.Locke } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6188,6 +6235,7 @@ func awsAwsjson11_deserializeDocumentMitigation(v **types.Mitigation, value inte } sv.MitigationName = ptr.String(jtv) } + default: _, _ = key, value @@ -6261,6 +6309,7 @@ func awsAwsjson11_deserializeDocumentNoAssociatedRoleException(v **types.NoAssoc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6300,6 +6349,7 @@ func awsAwsjson11_deserializeDocumentOptimisticLockException(v **types.Optimisti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6335,10 +6385,12 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte if err := awsAwsjson11_deserializeDocumentApplicationLayerAutomaticResponseConfiguration(&sv.ApplicationLayerAutomaticResponseConfiguration, value); err != nil { return err } + case "HealthCheckIds": if err := awsAwsjson11_deserializeDocumentHealthCheckIds(&sv.HealthCheckIds, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6399,7 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6355,6 +6408,7 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.Name = ptr.String(jtv) } + case "ProtectionArn": if value != nil { jtv, ok := value.(string) @@ -6363,6 +6417,7 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.ProtectionArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -6371,6 +6426,7 @@ func awsAwsjson11_deserializeDocumentProtection(v **types.Protection, value inte } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6410,10 +6466,12 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.Aggregation = types.ProtectionGroupAggregation(jtv) } + case "Members": if err := awsAwsjson11_deserializeDocumentProtectionGroupMembers(&sv.Members, value); err != nil { return err } + case "Pattern": if value != nil { jtv, ok := value.(string) @@ -6422,6 +6480,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.Pattern = types.ProtectionGroupPattern(jtv) } + case "ProtectionGroupArn": if value != nil { jtv, ok := value.(string) @@ -6430,6 +6489,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ProtectionGroupArn = ptr.String(jtv) } + case "ProtectionGroupId": if value != nil { jtv, ok := value.(string) @@ -6438,6 +6498,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ProtectionGroupId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6446,6 +6507,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroup(v **types.ProtectionGroup, } sv.ResourceType = types.ProtectedResourceType(jtv) } + default: _, _ = key, value @@ -6489,6 +6551,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroupArbitraryPatternLimits(v **t } sv.MaxMembers = i64 } + default: _, _ = key, value @@ -6532,10 +6595,12 @@ func awsAwsjson11_deserializeDocumentProtectionGroupLimits(v **types.ProtectionG } sv.MaxProtectionGroups = i64 } + case "PatternTypeLimits": if err := awsAwsjson11_deserializeDocumentProtectionGroupPatternTypeLimits(&sv.PatternTypeLimits, value); err != nil { return err } + default: _, _ = key, value @@ -6607,6 +6672,7 @@ func awsAwsjson11_deserializeDocumentProtectionGroupPatternTypeLimits(v **types. if err := awsAwsjson11_deserializeDocumentProtectionGroupArbitraryPatternLimits(&sv.ArbitraryPatternLimits, value); err != nil { return err } + default: _, _ = key, value @@ -6676,6 +6742,7 @@ func awsAwsjson11_deserializeDocumentProtectionLimits(v **types.ProtectionLimits if err := awsAwsjson11_deserializeDocumentLimits(&sv.ProtectedResourceTypeLimits, value); err != nil { return err } + default: _, _ = key, value @@ -6749,6 +6816,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6757,6 +6825,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6832,6 +6901,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6840,6 +6910,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6875,10 +6946,12 @@ func awsAwsjson11_deserializeDocumentResponseAction(v **types.ResponseAction, va if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } + case "Count": if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } + default: _, _ = key, value @@ -6914,10 +6987,12 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum if err := awsAwsjson11_deserializeDocumentSummarizedAttackVectorList(&sv.AttackVectors, value); err != nil { return err } + case "Counters": if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.Counters, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -6926,6 +7001,7 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6934,6 +7010,7 @@ func awsAwsjson11_deserializeDocumentSubResourceSummary(v **types.SubResourceSum } sv.Type = types.SubResourceType(jtv) } + default: _, _ = key, value @@ -7007,6 +7084,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.AutoRenew = types.AutoRenew(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7022,10 +7100,12 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } } + case "Limits": if err := awsAwsjson11_deserializeDocumentLimits(&sv.Limits, value); err != nil { return err } + case "ProactiveEngagementStatus": if value != nil { jtv, ok := value.(string) @@ -7034,6 +7114,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.ProactiveEngagementStatus = types.ProactiveEngagementStatus(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7049,6 +7130,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } } + case "SubscriptionArn": if value != nil { jtv, ok := value.(string) @@ -7057,10 +7139,12 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.SubscriptionArn = ptr.String(jtv) } + case "SubscriptionLimits": if err := awsAwsjson11_deserializeDocumentSubscriptionLimits(&sv.SubscriptionLimits, value); err != nil { return err } + case "TimeCommitmentInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7073,6 +7157,7 @@ func awsAwsjson11_deserializeDocumentSubscription(v **types.Subscription, value } sv.TimeCommitmentInSeconds = i64 } + default: _, _ = key, value @@ -7108,10 +7193,12 @@ func awsAwsjson11_deserializeDocumentSubscriptionLimits(v **types.SubscriptionLi if err := awsAwsjson11_deserializeDocumentProtectionGroupLimits(&sv.ProtectionGroupLimits, value); err != nil { return err } + case "ProtectionLimits": if err := awsAwsjson11_deserializeDocumentProtectionLimits(&sv.ProtectionLimits, value); err != nil { return err } + default: _, _ = key, value @@ -7147,6 +7234,7 @@ func awsAwsjson11_deserializeDocumentSummarizedAttackVector(v **types.Summarized if err := awsAwsjson11_deserializeDocumentSummarizedCounterList(&sv.VectorCounters, value); err != nil { return err } + case "VectorType": if value != nil { jtv, ok := value.(string) @@ -7155,6 +7243,7 @@ func awsAwsjson11_deserializeDocumentSummarizedAttackVector(v **types.Summarized } sv.VectorType = ptr.String(jtv) } + default: _, _ = key, value @@ -7253,6 +7342,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } + case "Max": if value != nil { switch jtv := value.(type) { @@ -7286,6 +7376,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } + case "N": if value != nil { jtv, ok := value.(json.Number) @@ -7298,6 +7389,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.N = int32(i64) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7306,6 +7398,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.Name = ptr.String(jtv) } + case "Sum": if value != nil { switch jtv := value.(type) { @@ -7339,6 +7432,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } } + case "Unit": if value != nil { jtv, ok := value.(string) @@ -7347,6 +7441,7 @@ func awsAwsjson11_deserializeDocumentSummarizedCounter(v **types.SummarizedCount } sv.Unit = ptr.String(jtv) } + default: _, _ = key, value @@ -7420,6 +7515,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7428,6 +7524,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7508,6 +7605,7 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } + case "ToExclusive": if value != nil { switch jtv := value.(type) { @@ -7523,6 +7621,7 @@ func awsAwsjson11_deserializeDocumentTimeRange(v **types.TimeRange, value interf } } + default: _, _ = key, value @@ -7596,6 +7695,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7604,6 +7704,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7832,6 +7933,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProtectionOutput(v **CreateProtecti } sv.ProtectionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7991,6 +8093,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttackOutput(v **DescribeAttackOu if err := awsAwsjson11_deserializeDocumentAttackDetail(&sv.Attack, value); err != nil { return err } + default: _, _ = key, value @@ -8026,10 +8129,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttackStatisticsOutput(v **Descri if err := awsAwsjson11_deserializeDocumentAttackStatisticsDataList(&sv.DataItems, value); err != nil { return err } + case "TimeRange": if err := awsAwsjson11_deserializeDocumentTimeRange(&sv.TimeRange, value); err != nil { return err } + default: _, _ = key, value @@ -8065,6 +8170,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDRTAccessOutput(v **DescribeDRTAc if err := awsAwsjson11_deserializeDocumentLogBucketList(&sv.LogBucketList, value); err != nil { return err } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -8073,6 +8179,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDRTAccessOutput(v **DescribeDRTAc } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8108,6 +8215,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmergencyContactSettingsOutput(v if err := awsAwsjson11_deserializeDocumentEmergencyContactList(&sv.EmergencyContactList, value); err != nil { return err } + default: _, _ = key, value @@ -8143,6 +8251,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProtectionGroupOutput(v **Describ if err := awsAwsjson11_deserializeDocumentProtectionGroup(&sv.ProtectionGroup, value); err != nil { return err } + default: _, _ = key, value @@ -8178,6 +8287,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProtectionOutput(v **DescribeProt if err := awsAwsjson11_deserializeDocumentProtection(&sv.Protection, value); err != nil { return err } + default: _, _ = key, value @@ -8213,6 +8323,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSubscriptionOutput(v **DescribeSu if err := awsAwsjson11_deserializeDocumentSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -8469,6 +8580,7 @@ func awsAwsjson11_deserializeOpDocumentGetSubscriptionStateOutput(v **GetSubscri } sv.SubscriptionState = types.SubscriptionState(jtv) } + default: _, _ = key, value @@ -8504,6 +8616,7 @@ func awsAwsjson11_deserializeOpDocumentListAttacksOutput(v **ListAttacksOutput, if err := awsAwsjson11_deserializeDocumentAttackSummaries(&sv.AttackSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8512,6 +8625,7 @@ func awsAwsjson11_deserializeOpDocumentListAttacksOutput(v **ListAttacksOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8551,10 +8665,12 @@ func awsAwsjson11_deserializeOpDocumentListProtectionGroupsOutput(v **ListProtec } sv.NextToken = ptr.String(jtv) } + case "ProtectionGroups": if err := awsAwsjson11_deserializeDocumentProtectionGroups(&sv.ProtectionGroups, value); err != nil { return err } + default: _, _ = key, value @@ -8594,10 +8710,12 @@ func awsAwsjson11_deserializeOpDocumentListProtectionsOutput(v **ListProtections } sv.NextToken = ptr.String(jtv) } + case "Protections": if err := awsAwsjson11_deserializeDocumentProtections(&sv.Protections, value); err != nil { return err } + default: _, _ = key, value @@ -8637,10 +8755,12 @@ func awsAwsjson11_deserializeOpDocumentListResourcesInProtectionGroupOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "ResourceArns": if err := awsAwsjson11_deserializeDocumentResourceArnList(&sv.ResourceArns, value); err != nil { return err } + default: _, _ = key, value @@ -8676,6 +8796,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/signer/deserializers.go b/service/signer/deserializers.go index 1452b1e0395..10ae06a7a0d 100644 --- a/service/signer/deserializers.go +++ b/service/signer/deserializers.go @@ -195,6 +195,7 @@ func awsRestjson1_deserializeOpDocumentAddProfilePermissionOutput(v **AddProfile } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -469,6 +470,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -484,6 +486,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -492,6 +495,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobId = ptr.String(jtv) } + case "jobInvoker": if value != nil { jtv, ok := value.(string) @@ -500,6 +504,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobInvoker = ptr.String(jtv) } + case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -508,10 +513,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.JobOwner = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentSigningPlatformOverrides(&sv.Overrides, value); err != nil { return err } + case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -520,6 +527,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.PlatformDisplayName = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -528,6 +536,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.PlatformId = ptr.String(jtv) } + case "profileName": if value != nil { jtv, ok := value.(string) @@ -536,6 +545,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.ProfileName = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -544,6 +554,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.ProfileVersion = ptr.String(jtv) } + case "requestedBy": if value != nil { jtv, ok := value.(string) @@ -552,10 +563,12 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.RequestedBy = ptr.String(jtv) } + case "revocationRecord": if err := awsRestjson1_deserializeDocumentSigningJobRevocationRecord(&sv.RevocationRecord, value); err != nil { return err } + case "signatureExpiresAt": if value != nil { switch jtv := value.(type) { @@ -571,22 +584,27 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } } + case "signedObject": if err := awsRestjson1_deserializeDocumentSignedObject(&sv.SignedObject, value); err != nil { return err } + case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } + case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -595,6 +613,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.Status = types.SigningStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -603,6 +622,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSigningJobOutput(v **DescribeSign } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -763,6 +783,7 @@ func awsRestjson1_deserializeOpDocumentGetRevocationStatusOutput(v **GetRevocati if err := awsRestjson1_deserializeDocumentRevokedEntities(&sv.RevokedEntities, value); err != nil { return err } + default: _, _ = key, value @@ -927,6 +948,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Category = types.Category(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -935,6 +957,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.DisplayName = ptr.String(jtv) } + case "maxSizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -947,6 +970,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.MaxSizeInMB = int32(i64) } + case "partner": if value != nil { jtv, ok := value.(string) @@ -955,6 +979,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Partner = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -963,6 +988,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.PlatformId = ptr.String(jtv) } + case "revocationSupported": if value != nil { jtv, ok := value.(bool) @@ -971,14 +997,17 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.RevocationSupported = jtv } + case "signingConfiguration": if err := awsRestjson1_deserializeDocumentSigningConfiguration(&sv.SigningConfiguration, value); err != nil { return err } + case "signingImageFormat": if err := awsRestjson1_deserializeDocumentSigningImageFormat(&sv.SigningImageFormat, value); err != nil { return err } + case "target": if value != nil { jtv, ok := value.(string) @@ -987,6 +1016,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningPlatformOutput(v **GetSigningPl } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -1151,10 +1181,12 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.Arn = ptr.String(jtv) } + case "overrides": if err := awsRestjson1_deserializeDocumentSigningPlatformOverrides(&sv.Overrides, value); err != nil { return err } + case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -1163,6 +1195,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.PlatformDisplayName = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -1171,6 +1204,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.PlatformId = ptr.String(jtv) } + case "profileName": if value != nil { jtv, ok := value.(string) @@ -1179,6 +1213,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileName = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -1187,6 +1222,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileVersion = ptr.String(jtv) } + case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -1195,22 +1231,27 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.ProfileVersionArn = ptr.String(jtv) } + case "revocationRecord": if err := awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(&sv.RevocationRecord, value); err != nil { return err } + case "signatureValidityPeriod": if err := awsRestjson1_deserializeDocumentSignatureValidityPeriod(&sv.SignatureValidityPeriod, value); err != nil { return err } + case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } + case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1219,6 +1260,7 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.Status = types.SigningProfileStatus(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -1227,10 +1269,12 @@ func awsRestjson1_deserializeOpDocumentGetSigningProfileOutput(v **GetSigningPro } sv.StatusReason = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1398,10 +1442,12 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.NextToken = ptr.String(jtv) } + case "permissions": if err := awsRestjson1_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } + case "policySizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -1414,6 +1460,7 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.PolicySizeBytes = int32(i64) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -1422,6 +1469,7 @@ func awsRestjson1_deserializeOpDocumentListProfilePermissionsOutput(v **ListProf } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -1582,6 +1630,7 @@ func awsRestjson1_deserializeOpDocumentListSigningJobsOutput(v **ListSigningJobs if err := awsRestjson1_deserializeDocumentSigningJobs(&sv.Jobs, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1590,6 +1639,7 @@ func awsRestjson1_deserializeOpDocumentListSigningJobsOutput(v **ListSigningJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1754,10 +1804,12 @@ func awsRestjson1_deserializeOpDocumentListSigningPlatformsOutput(v **ListSignin } sv.NextToken = ptr.String(jtv) } + case "platforms": if err := awsRestjson1_deserializeDocumentSigningPlatforms(&sv.Platforms, value); err != nil { return err } + default: _, _ = key, value @@ -1919,10 +1971,12 @@ func awsRestjson1_deserializeOpDocumentListSigningProfilesOutput(v **ListSigning } sv.NextToken = ptr.String(jtv) } + case "profiles": if err := awsRestjson1_deserializeDocumentSigningProfiles(&sv.Profiles, value); err != nil { return err } + default: _, _ = key, value @@ -2083,6 +2137,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2250,6 +2305,7 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.Arn = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -2258,6 +2314,7 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.ProfileVersion = ptr.String(jtv) } + case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -2266,6 +2323,7 @@ func awsRestjson1_deserializeOpDocumentPutSigningProfileOutput(v **PutSigningPro } sv.ProfileVersionArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2436,6 +2494,7 @@ func awsRestjson1_deserializeOpDocumentRemoveProfilePermissionOutput(v **RemoveP } sv.RevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2815,6 +2874,7 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.JobId = ptr.String(jtv) } + case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -2823,10 +2883,12 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.JobOwner = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "signature": if value != nil { jtv, ok := value.(string) @@ -2839,6 +2901,7 @@ func awsRestjson1_deserializeOpDocumentSignPayloadOutput(v **SignPayloadOutput, } sv.Signature = dv } + default: _, _ = key, value @@ -3009,6 +3072,7 @@ func awsRestjson1_deserializeOpDocumentStartSigningJobOutput(v **StartSigningJob } sv.JobId = ptr.String(jtv) } + case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -3017,6 +3081,7 @@ func awsRestjson1_deserializeOpDocumentStartSigningJobOutput(v **StartSigningJob } sv.JobOwner = ptr.String(jtv) } + default: _, _ = key, value @@ -3610,6 +3675,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3618,6 +3684,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3657,6 +3724,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3665,6 +3733,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3704,6 +3773,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3712,6 +3782,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3747,6 +3818,7 @@ func awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(v **types.Encryp if err := awsRestjson1_deserializeDocumentEncryptionAlgorithms(&sv.AllowedValues, value); err != nil { return err } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3755,6 +3827,7 @@ func awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(v **types.Encryp } sv.DefaultValue = types.EncryptionAlgorithm(jtv) } + default: _, _ = key, value @@ -3826,6 +3899,7 @@ func awsRestjson1_deserializeDocumentHashAlgorithmOptions(v **types.HashAlgorith if err := awsRestjson1_deserializeDocumentHashAlgorithms(&sv.AllowedValues, value); err != nil { return err } + case "defaultValue": if value != nil { jtv, ok := value.(string) @@ -3834,6 +3908,7 @@ func awsRestjson1_deserializeDocumentHashAlgorithmOptions(v **types.HashAlgorith } sv.DefaultValue = types.HashAlgorithm(jtv) } + default: _, _ = key, value @@ -3945,6 +4020,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3953,6 +4029,7 @@ func awsRestjson1_deserializeDocumentInternalServiceErrorException(v **types.Int } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4028,6 +4105,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4036,6 +4114,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4075,6 +4154,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Action = ptr.String(jtv) } + case "principal": if value != nil { jtv, ok := value.(string) @@ -4083,6 +4163,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.Principal = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -4091,6 +4172,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.ProfileVersion = ptr.String(jtv) } + case "statementId": if value != nil { jtv, ok := value.(string) @@ -4099,6 +4181,7 @@ func awsRestjson1_deserializeDocumentPermission(v **types.Permission, value inte } sv.StatementId = ptr.String(jtv) } + default: _, _ = key, value @@ -4172,6 +4255,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4180,6 +4264,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4255,6 +4340,7 @@ func awsRestjson1_deserializeDocumentS3SignedObject(v **types.S3SignedObject, va } sv.BucketName = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -4263,6 +4349,7 @@ func awsRestjson1_deserializeDocumentS3SignedObject(v **types.S3SignedObject, va } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -4302,6 +4389,7 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.BucketName = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -4310,6 +4398,7 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.Key = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4318,6 +4407,7 @@ func awsRestjson1_deserializeDocumentS3Source(v **types.S3Source, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4357,6 +4447,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4365,6 +4456,7 @@ func awsRestjson1_deserializeDocumentServiceLimitExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4404,6 +4496,7 @@ func awsRestjson1_deserializeDocumentSignatureValidityPeriod(v **types.Signature } sv.Type = types.ValidityType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -4416,6 +4509,7 @@ func awsRestjson1_deserializeDocumentSignatureValidityPeriod(v **types.Signature } sv.Value = int32(i64) } + default: _, _ = key, value @@ -4451,6 +4545,7 @@ func awsRestjson1_deserializeDocumentSignedObject(v **types.SignedObject, value if err := awsRestjson1_deserializeDocumentS3SignedObject(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -4486,10 +4581,12 @@ func awsRestjson1_deserializeDocumentSigningConfiguration(v **types.SigningConfi if err := awsRestjson1_deserializeDocumentEncryptionAlgorithmOptions(&sv.EncryptionAlgorithmOptions, value); err != nil { return err } + case "hashAlgorithmOptions": if err := awsRestjson1_deserializeDocumentHashAlgorithmOptions(&sv.HashAlgorithmOptions, value); err != nil { return err } + default: _, _ = key, value @@ -4529,6 +4626,7 @@ func awsRestjson1_deserializeDocumentSigningConfigurationOverrides(v **types.Sig } sv.EncryptionAlgorithm = types.EncryptionAlgorithm(jtv) } + case "hashAlgorithm": if value != nil { jtv, ok := value.(string) @@ -4537,6 +4635,7 @@ func awsRestjson1_deserializeDocumentSigningConfigurationOverrides(v **types.Sig } sv.HashAlgorithm = types.HashAlgorithm(jtv) } + default: _, _ = key, value @@ -4576,10 +4675,12 @@ func awsRestjson1_deserializeDocumentSigningImageFormat(v **types.SigningImageFo } sv.DefaultFormat = types.ImageFormat(jtv) } + case "supportedFormats": if err := awsRestjson1_deserializeDocumentImageFormats(&sv.SupportedFormats, value); err != nil { return err } + default: _, _ = key, value @@ -4626,6 +4727,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } } + case "isRevoked": if value != nil { jtv, ok := value.(bool) @@ -4634,6 +4736,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.IsRevoked = jtv } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -4642,6 +4745,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobId = ptr.String(jtv) } + case "jobInvoker": if value != nil { jtv, ok := value.(string) @@ -4650,6 +4754,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobInvoker = ptr.String(jtv) } + case "jobOwner": if value != nil { jtv, ok := value.(string) @@ -4658,6 +4763,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.JobOwner = ptr.String(jtv) } + case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -4666,6 +4772,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.PlatformDisplayName = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -4674,6 +4781,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.PlatformId = ptr.String(jtv) } + case "profileName": if value != nil { jtv, ok := value.(string) @@ -4682,6 +4790,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.ProfileName = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -4690,6 +4799,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.ProfileVersion = ptr.String(jtv) } + case "signatureExpiresAt": if value != nil { switch jtv := value.(type) { @@ -4705,18 +4815,22 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } } + case "signedObject": if err := awsRestjson1_deserializeDocumentSignedObject(&sv.SignedObject, value); err != nil { return err } + case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } + case "source": if err := awsRestjson1_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4725,6 +4839,7 @@ func awsRestjson1_deserializeDocumentSigningJob(v **types.SigningJob, value inte } sv.Status = types.SigningStatus(jtv) } + default: _, _ = key, value @@ -4764,6 +4879,7 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } sv.Reason = ptr.String(jtv) } + case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -4779,6 +4895,7 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } } + case "revokedBy": if value != nil { jtv, ok := value.(string) @@ -4787,6 +4904,7 @@ func awsRestjson1_deserializeDocumentSigningJobRevocationRecord(v **types.Signin } sv.RevokedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -4860,6 +4978,7 @@ func awsRestjson1_deserializeDocumentSigningMaterial(v **types.SigningMaterial, } sv.CertificateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4935,6 +5054,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Category = types.Category(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -4943,6 +5063,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.DisplayName = ptr.String(jtv) } + case "maxSizeInMB": if value != nil { jtv, ok := value.(json.Number) @@ -4955,6 +5076,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.MaxSizeInMB = int32(i64) } + case "partner": if value != nil { jtv, ok := value.(string) @@ -4963,6 +5085,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Partner = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -4971,6 +5094,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.PlatformId = ptr.String(jtv) } + case "revocationSupported": if value != nil { jtv, ok := value.(bool) @@ -4979,14 +5103,17 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.RevocationSupported = jtv } + case "signingConfiguration": if err := awsRestjson1_deserializeDocumentSigningConfiguration(&sv.SigningConfiguration, value); err != nil { return err } + case "signingImageFormat": if err := awsRestjson1_deserializeDocumentSigningImageFormat(&sv.SigningImageFormat, value); err != nil { return err } + case "target": if value != nil { jtv, ok := value.(string) @@ -4995,6 +5122,7 @@ func awsRestjson1_deserializeDocumentSigningPlatform(v **types.SigningPlatform, } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -5030,6 +5158,7 @@ func awsRestjson1_deserializeDocumentSigningPlatformOverrides(v **types.SigningP if err := awsRestjson1_deserializeDocumentSigningConfigurationOverrides(&sv.SigningConfiguration, value); err != nil { return err } + case "signingImageFormat": if value != nil { jtv, ok := value.(string) @@ -5038,6 +5167,7 @@ func awsRestjson1_deserializeDocumentSigningPlatformOverrides(v **types.SigningP } sv.SigningImageFormat = types.ImageFormat(jtv) } + default: _, _ = key, value @@ -5111,6 +5241,7 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.Arn = ptr.String(jtv) } + case "platformDisplayName": if value != nil { jtv, ok := value.(string) @@ -5119,6 +5250,7 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.PlatformDisplayName = ptr.String(jtv) } + case "platformId": if value != nil { jtv, ok := value.(string) @@ -5127,6 +5259,7 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.PlatformId = ptr.String(jtv) } + case "profileName": if value != nil { jtv, ok := value.(string) @@ -5135,6 +5268,7 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileName = ptr.String(jtv) } + case "profileVersion": if value != nil { jtv, ok := value.(string) @@ -5143,6 +5277,7 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileVersion = ptr.String(jtv) } + case "profileVersionArn": if value != nil { jtv, ok := value.(string) @@ -5151,18 +5286,22 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.ProfileVersionArn = ptr.String(jtv) } + case "signatureValidityPeriod": if err := awsRestjson1_deserializeDocumentSignatureValidityPeriod(&sv.SignatureValidityPeriod, value); err != nil { return err } + case "signingMaterial": if err := awsRestjson1_deserializeDocumentSigningMaterial(&sv.SigningMaterial, value); err != nil { return err } + case "signingParameters": if err := awsRestjson1_deserializeDocumentSigningParameters(&sv.SigningParameters, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5171,10 +5310,12 @@ func awsRestjson1_deserializeDocumentSigningProfile(v **types.SigningProfile, va } sv.Status = types.SigningProfileStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5221,6 +5362,7 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } } + case "revokedAt": if value != nil { switch jtv := value.(type) { @@ -5236,6 +5378,7 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } } + case "revokedBy": if value != nil { jtv, ok := value.(string) @@ -5244,6 +5387,7 @@ func awsRestjson1_deserializeDocumentSigningProfileRevocationRecord(v **types.Si } sv.RevokedBy = ptr.String(jtv) } + default: _, _ = key, value @@ -5313,6 +5457,7 @@ func awsRestjson1_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsRestjson1_deserializeDocumentS3Source(&sv.S3, value); err != nil { return err } + default: _, _ = key, value @@ -5388,6 +5533,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5396,6 +5542,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5435,6 +5582,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5443,6 +5591,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5482,6 +5631,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5490,6 +5640,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/simspaceweaver/deserializers.go b/service/simspaceweaver/deserializers.go index 30a80094548..dde86753cd2 100644 --- a/service/simspaceweaver/deserializers.go +++ b/service/simspaceweaver/deserializers.go @@ -484,6 +484,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Description = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -492,14 +493,17 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Domain = ptr.String(jtv) } + case "EndpointInfo": if err := awsRestjson1_deserializeDocumentSimulationAppEndpointInfo(&sv.EndpointInfo, value); err != nil { return err } + case "LaunchOverrides": if err := awsRestjson1_deserializeDocumentLaunchOverrides(&sv.LaunchOverrides, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -508,6 +512,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Name = ptr.String(jtv) } + case "Simulation": if value != nil { jtv, ok := value.(string) @@ -516,6 +521,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Simulation = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -524,6 +530,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.Status = types.SimulationAppStatus(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -532,6 +539,7 @@ func awsRestjson1_deserializeOpDocumentDescribeAppOutput(v **DescribeAppOutput, } sv.TargetStatus = types.SimulationAppTargetStatus(jtv) } + default: _, _ = key, value @@ -696,6 +704,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -711,6 +720,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -719,6 +729,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Description = ptr.String(jtv) } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -727,14 +738,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.ExecutionId = ptr.String(jtv) } + case "LiveSimulationState": if err := awsRestjson1_deserializeDocumentLiveSimulationState(&sv.LiveSimulationState, value); err != nil { return err } + case "LoggingConfiguration": if err := awsRestjson1_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + case "MaximumDuration": if value != nil { jtv, ok := value.(string) @@ -743,6 +757,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.MaximumDuration = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -751,6 +766,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Name = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -759,6 +775,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.RoleArn = ptr.String(jtv) } + case "SchemaError": if value != nil { jtv, ok := value.(string) @@ -767,14 +784,17 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.SchemaError = ptr.String(jtv) } + case "SchemaS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.SchemaS3Location, value); err != nil { return err } + case "SnapshotS3Location": if err := awsRestjson1_deserializeDocumentS3Location(&sv.SnapshotS3Location, value); err != nil { return err } + case "StartError": if value != nil { jtv, ok := value.(string) @@ -783,6 +803,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.StartError = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -791,6 +812,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.Status = types.SimulationStatus(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -799,6 +821,7 @@ func awsRestjson1_deserializeOpDocumentDescribeSimulationOutput(v **DescribeSimu } sv.TargetStatus = types.SimulationTargetStatus(jtv) } + default: _, _ = key, value @@ -959,6 +982,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsRestjson1_deserializeDocumentSimulationAppList(&sv.Apps, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -967,6 +991,7 @@ func awsRestjson1_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1128,10 +1153,12 @@ func awsRestjson1_deserializeOpDocumentListSimulationsOutput(v **ListSimulations } sv.NextToken = ptr.String(jtv) } + case "Simulations": if err := awsRestjson1_deserializeDocumentSimulationList(&sv.Simulations, value); err != nil { return err } + default: _, _ = key, value @@ -1286,6 +1313,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1453,6 +1481,7 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Domain = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -1461,6 +1490,7 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Name = ptr.String(jtv) } + case "Simulation": if value != nil { jtv, ok := value.(string) @@ -1469,6 +1499,7 @@ func awsRestjson1_deserializeOpDocumentStartAppOutput(v **StartAppOutput, value } sv.Simulation = ptr.String(jtv) } + default: _, _ = key, value @@ -1736,6 +1767,7 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -1751,6 +1783,7 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -1759,6 +1792,7 @@ func awsRestjson1_deserializeOpDocumentStartSimulationOutput(v **StartSimulation } sv.ExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -2535,6 +2569,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2608,6 +2643,7 @@ func awsRestjson1_deserializeDocumentCloudWatchLogsLogGroup(v **types.CloudWatch } sv.LogGroupArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2647,6 +2683,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2686,6 +2723,7 @@ func awsRestjson1_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Lifecycle = types.LifecycleManagementStrategy(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2694,6 +2732,7 @@ func awsRestjson1_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2767,6 +2806,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2838,6 +2878,7 @@ func awsRestjson1_deserializeDocumentLaunchOverrides(v **types.LaunchOverrides, if err := awsRestjson1_deserializeDocumentLaunchCommandList(&sv.LaunchCommands, value); err != nil { return err } + default: _, _ = key, value @@ -2873,10 +2914,12 @@ func awsRestjson1_deserializeDocumentLiveSimulationState(v **types.LiveSimulatio if err := awsRestjson1_deserializeDocumentSimulationClockList(&sv.Clocks, value); err != nil { return err } + case "Domains": if err := awsRestjson1_deserializeDocumentDomainList(&sv.Domains, value); err != nil { return err } + default: _, _ = key, value @@ -2912,6 +2955,7 @@ func awsRestjson1_deserializeDocumentLogDestination(v **types.LogDestination, va if err := awsRestjson1_deserializeDocumentCloudWatchLogsLogGroup(&sv.CloudWatchLogsLogGroup, value); err != nil { return err } + default: _, _ = key, value @@ -2981,6 +3025,7 @@ func awsRestjson1_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsRestjson1_deserializeDocumentLogDestinations(&sv.Destinations, value); err != nil { return err } + default: _, _ = key, value @@ -3020,6 +3065,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3059,6 +3105,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.BucketName = ptr.String(jtv) } + case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3067,6 +3114,7 @@ func awsRestjson1_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -3106,6 +3154,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3145,10 +3194,12 @@ func awsRestjson1_deserializeDocumentSimulationAppEndpointInfo(v **types.Simulat } sv.Address = ptr.String(jtv) } + case "IngressPortMappings": if err := awsRestjson1_deserializeDocumentAppPortMappings(&sv.IngressPortMappings, value); err != nil { return err } + default: _, _ = key, value @@ -3222,6 +3273,7 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Domain = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3230,6 +3282,7 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Name = ptr.String(jtv) } + case "Simulation": if value != nil { jtv, ok := value.(string) @@ -3238,6 +3291,7 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Simulation = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3246,6 +3300,7 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.Status = types.SimulationAppStatus(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3254,6 +3309,7 @@ func awsRestjson1_deserializeDocumentSimulationAppMetadata(v **types.SimulationA } sv.TargetStatus = types.SimulationAppTargetStatus(jtv) } + default: _, _ = key, value @@ -3297,6 +3353,7 @@ func awsRestjson1_deserializeDocumentSimulationAppPortMapping(v **types.Simulati } sv.Actual = ptr.Int32(int32(i64)) } + case "Declared": if value != nil { jtv, ok := value.(json.Number) @@ -3309,6 +3366,7 @@ func awsRestjson1_deserializeDocumentSimulationAppPortMapping(v **types.Simulati } sv.Declared = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3348,6 +3406,7 @@ func awsRestjson1_deserializeDocumentSimulationClock(v **types.SimulationClock, } sv.Status = types.ClockStatus(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3356,6 +3415,7 @@ func awsRestjson1_deserializeDocumentSimulationClock(v **types.SimulationClock, } sv.TargetStatus = types.ClockTargetStatus(jtv) } + default: _, _ = key, value @@ -3463,6 +3523,7 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3478,6 +3539,7 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3486,6 +3548,7 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3494,6 +3557,7 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.Status = types.SimulationStatus(jtv) } + case "TargetStatus": if value != nil { jtv, ok := value.(string) @@ -3502,6 +3566,7 @@ func awsRestjson1_deserializeDocumentSimulationMetadata(v **types.SimulationMeta } sv.TargetStatus = types.SimulationTargetStatus(jtv) } + default: _, _ = key, value @@ -3577,6 +3642,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3616,6 +3682,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sms/deserializers.go b/service/sms/deserializers.go index 4c32c5085c3..518ce359014 100644 --- a/service/sms/deserializers.go +++ b/service/sms/deserializers.go @@ -4809,6 +4809,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.AppId = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -4824,6 +4825,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4832,6 +4834,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Description = ptr.String(jtv) } + case "importedAppId": if value != nil { jtv, ok := value.(string) @@ -4840,6 +4843,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ImportedAppId = ptr.String(jtv) } + case "lastModified": if value != nil { switch jtv := value.(type) { @@ -4855,6 +4859,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "latestReplicationTime": if value != nil { switch jtv := value.(type) { @@ -4870,6 +4875,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } } + case "launchConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4878,10 +4884,12 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchConfigurationStatus = types.AppLaunchConfigurationStatus(jtv) } + case "launchDetails": if err := awsAwsjson11_deserializeDocumentLaunchDetails(&sv.LaunchDetails, value); err != nil { return err } + case "launchStatus": if value != nil { jtv, ok := value.(string) @@ -4890,6 +4898,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchStatus = types.AppLaunchStatus(jtv) } + case "launchStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4898,6 +4907,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.LaunchStatusMessage = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4906,6 +4916,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Name = ptr.String(jtv) } + case "replicationConfigurationStatus": if value != nil { jtv, ok := value.(string) @@ -4914,6 +4925,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationConfigurationStatus = types.AppReplicationConfigurationStatus(jtv) } + case "replicationStatus": if value != nil { jtv, ok := value.(string) @@ -4922,6 +4934,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationStatus = types.AppReplicationStatus(jtv) } + case "replicationStatusMessage": if value != nil { jtv, ok := value.(string) @@ -4930,6 +4943,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.ReplicationStatusMessage = ptr.String(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -4938,6 +4952,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.RoleName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4946,6 +4961,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.Status = types.AppStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -4954,6 +4970,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.StatusMessage = ptr.String(jtv) } + case "totalServerGroups": if value != nil { jtv, ok := value.(json.Number) @@ -4966,6 +4983,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.TotalServerGroups = ptr.Int32(int32(i64)) } + case "totalServers": if value != nil { jtv, ok := value.(json.Number) @@ -4978,6 +4996,7 @@ func awsAwsjson11_deserializeDocumentAppSummary(v **types.AppSummary, value inte } sv.TotalServers = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5017,6 +5036,7 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.AppValidationStrategy = types.AppValidationStrategy(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5025,10 +5045,12 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.Name = ptr.String(jtv) } + case "ssmValidationParameters": if err := awsAwsjson11_deserializeDocumentSSMValidationParameters(&sv.SsmValidationParameters, value); err != nil { return err } + case "validationId": if value != nil { jtv, ok := value.(string) @@ -5037,6 +5059,7 @@ func awsAwsjson11_deserializeDocumentAppValidationConfiguration(v **types.AppVal } sv.ValidationId = ptr.String(jtv) } + default: _, _ = key, value @@ -5106,6 +5129,7 @@ func awsAwsjson11_deserializeDocumentAppValidationOutput(v **types.AppValidation if err := awsAwsjson11_deserializeDocumentSSMOutput(&sv.SsmOutput, value); err != nil { return err } + default: _, _ = key, value @@ -5152,10 +5176,12 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } } + case "capabilityList": if err := awsAwsjson11_deserializeDocumentConnectorCapabilityList(&sv.CapabilityList, value); err != nil { return err } + case "connectorId": if value != nil { jtv, ok := value.(string) @@ -5164,6 +5190,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.ConnectorId = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -5172,6 +5199,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.IpAddress = ptr.String(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -5180,6 +5208,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.MacAddress = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5188,6 +5217,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.Status = types.ConnectorStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5196,6 +5226,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.Version = ptr.String(jtv) } + case "vmManagerId": if value != nil { jtv, ok := value.(string) @@ -5204,6 +5235,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerId = ptr.String(jtv) } + case "vmManagerName": if value != nil { jtv, ok := value.(string) @@ -5212,6 +5244,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerName = ptr.String(jtv) } + case "vmManagerType": if value != nil { jtv, ok := value.(string) @@ -5220,6 +5253,7 @@ func awsAwsjson11_deserializeDocumentConnector(v **types.Connector, value interf } sv.VmManagerType = types.VmManagerType(jtv) } + default: _, _ = key, value @@ -5329,6 +5363,7 @@ func awsAwsjson11_deserializeDocumentDryRunOperationException(v **types.DryRunOp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5368,6 +5403,7 @@ func awsAwsjson11_deserializeDocumentInternalError(v **types.InternalError, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5407,6 +5443,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5453,6 +5490,7 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } } + case "stackId": if value != nil { jtv, ok := value.(string) @@ -5461,6 +5499,7 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } sv.StackId = ptr.String(jtv) } + case "stackName": if value != nil { jtv, ok := value.(string) @@ -5469,6 +5508,7 @@ func awsAwsjson11_deserializeDocumentLaunchDetails(v **types.LaunchDetails, valu } sv.StackName = ptr.String(jtv) } + default: _, _ = key, value @@ -5508,6 +5548,7 @@ func awsAwsjson11_deserializeDocumentMissingRequiredParameterException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5547,6 +5588,7 @@ func awsAwsjson11_deserializeDocumentNoConnectorsAvailableException(v **types.No } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5586,6 +5628,7 @@ func awsAwsjson11_deserializeDocumentOperationNotPermittedException(v **types.Op } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5625,6 +5668,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Description = ptr.String(jtv) } + case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -5633,6 +5677,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Encrypted = ptr.Bool(jtv) } + case "frequency": if value != nil { jtv, ok := value.(json.Number) @@ -5645,6 +5690,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.Frequency = ptr.Int32(int32(i64)) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5699,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.KmsKeyId = ptr.String(jtv) } + case "latestAmiId": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5708,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.LatestAmiId = ptr.String(jtv) } + case "licenseType": if value != nil { jtv, ok := value.(string) @@ -5669,6 +5717,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.LicenseType = types.LicenseType(jtv) } + case "nextReplicationRunStartTime": if value != nil { switch jtv := value.(type) { @@ -5684,6 +5733,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } } + case "numberOfRecentAmisToKeep": if value != nil { jtv, ok := value.(json.Number) @@ -5696,6 +5746,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.NumberOfRecentAmisToKeep = ptr.Int32(int32(i64)) } + case "replicationJobId": if value != nil { jtv, ok := value.(string) @@ -5704,10 +5755,12 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ReplicationJobId = ptr.String(jtv) } + case "replicationRunList": if err := awsAwsjson11_deserializeDocumentReplicationRunList(&sv.ReplicationRunList, value); err != nil { return err } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -5716,6 +5769,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.RoleName = ptr.String(jtv) } + case "runOnce": if value != nil { jtv, ok := value.(bool) @@ -5724,6 +5778,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.RunOnce = ptr.Bool(jtv) } + case "seedReplicationTime": if value != nil { switch jtv := value.(type) { @@ -5739,6 +5794,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } } + case "serverId": if value != nil { jtv, ok := value.(string) @@ -5747,6 +5803,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ServerId = ptr.String(jtv) } + case "serverType": if value != nil { jtv, ok := value.(string) @@ -5755,6 +5812,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.ServerType = types.ServerType(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -5763,6 +5821,7 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.State = types.ReplicationJobState(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -5771,10 +5830,12 @@ func awsAwsjson11_deserializeDocumentReplicationJob(v **types.ReplicationJob, va } sv.StatusMessage = ptr.String(jtv) } + case "vmServer": if err := awsAwsjson11_deserializeDocumentVmServer(&sv.VmServer, value); err != nil { return err } + default: _, _ = key, value @@ -5814,6 +5875,7 @@ func awsAwsjson11_deserializeDocumentReplicationJobAlreadyExistsException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5887,6 +5949,7 @@ func awsAwsjson11_deserializeDocumentReplicationJobNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5926,6 +5989,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.AmiId = ptr.String(jtv) } + case "completedTime": if value != nil { switch jtv := value.(type) { @@ -5941,6 +6005,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5949,6 +6014,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Description = ptr.String(jtv) } + case "encrypted": if value != nil { jtv, ok := value.(bool) @@ -5957,6 +6023,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Encrypted = ptr.Bool(jtv) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5965,6 +6032,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.KmsKeyId = ptr.String(jtv) } + case "replicationRunId": if value != nil { jtv, ok := value.(string) @@ -5973,6 +6041,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.ReplicationRunId = ptr.String(jtv) } + case "scheduledStartTime": if value != nil { switch jtv := value.(type) { @@ -5988,10 +6057,12 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } } + case "stageDetails": if err := awsAwsjson11_deserializeDocumentReplicationRunStageDetails(&sv.StageDetails, value); err != nil { return err } + case "state": if value != nil { jtv, ok := value.(string) @@ -6000,6 +6071,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.State = types.ReplicationRunState(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6008,6 +6080,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.StatusMessage = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -6016,6 +6089,7 @@ func awsAwsjson11_deserializeDocumentReplicationRun(v **types.ReplicationRun, va } sv.Type = types.ReplicationRunType(jtv) } + default: _, _ = key, value @@ -6055,6 +6129,7 @@ func awsAwsjson11_deserializeDocumentReplicationRunLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6128,6 +6203,7 @@ func awsAwsjson11_deserializeDocumentReplicationRunStageDetails(v **types.Replic } sv.Stage = ptr.String(jtv) } + case "stageProgress": if value != nil { jtv, ok := value.(string) @@ -6136,6 +6212,7 @@ func awsAwsjson11_deserializeDocumentReplicationRunStageDetails(v **types.Replic } sv.StageProgress = ptr.String(jtv) } + default: _, _ = key, value @@ -6175,6 +6252,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Bucket = ptr.String(jtv) } + case "key": if value != nil { jtv, ok := value.(string) @@ -6183,6 +6261,7 @@ func awsAwsjson11_deserializeDocumentS3Location(v **types.S3Location, value inte } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -6222,6 +6301,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ReplicationJobId = ptr.String(jtv) } + case "replicationJobTerminated": if value != nil { jtv, ok := value.(bool) @@ -6230,6 +6310,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ReplicationJobTerminated = ptr.Bool(jtv) } + case "serverId": if value != nil { jtv, ok := value.(string) @@ -6238,6 +6319,7 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerId = ptr.String(jtv) } + case "serverType": if value != nil { jtv, ok := value.(string) @@ -6246,10 +6328,12 @@ func awsAwsjson11_deserializeDocumentServer(v **types.Server, value interface{}) } sv.ServerType = types.ServerType(jtv) } + case "vmServer": if err := awsAwsjson11_deserializeDocumentVmServer(&sv.VmServer, value); err != nil { return err } + default: _, _ = key, value @@ -6289,6 +6373,7 @@ func awsAwsjson11_deserializeDocumentServerCannotBeReplicatedException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6328,6 +6413,7 @@ func awsAwsjson11_deserializeDocumentServerGroup(v **types.ServerGroup, value in } sv.Name = ptr.String(jtv) } + case "serverGroupId": if value != nil { jtv, ok := value.(string) @@ -6336,10 +6422,12 @@ func awsAwsjson11_deserializeDocumentServerGroup(v **types.ServerGroup, value in } sv.ServerGroupId = ptr.String(jtv) } + case "serverList": if err := awsAwsjson11_deserializeDocumentServerList(&sv.ServerList, value); err != nil { return err } + default: _, _ = key, value @@ -6383,6 +6471,7 @@ func awsAwsjson11_deserializeDocumentServerGroupLaunchConfiguration(v **types.Se } sv.LaunchOrder = ptr.Int32(int32(i64)) } + case "serverGroupId": if value != nil { jtv, ok := value.(string) @@ -6391,10 +6480,12 @@ func awsAwsjson11_deserializeDocumentServerGroupLaunchConfiguration(v **types.Se } sv.ServerGroupId = ptr.String(jtv) } + case "serverLaunchConfigurations": if err := awsAwsjson11_deserializeDocumentServerLaunchConfigurations(&sv.ServerLaunchConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6468,10 +6559,12 @@ func awsAwsjson11_deserializeDocumentServerGroupReplicationConfiguration(v **typ } sv.ServerGroupId = ptr.String(jtv) } + case "serverReplicationConfigurations": if err := awsAwsjson11_deserializeDocumentServerReplicationConfigurations(&sv.ServerReplicationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6579,10 +6672,12 @@ func awsAwsjson11_deserializeDocumentServerGroupValidationConfiguration(v **type } sv.ServerGroupId = ptr.String(jtv) } + case "serverValidationConfigurations": if err := awsAwsjson11_deserializeDocumentServerValidationConfigurations(&sv.ServerValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -6656,10 +6751,12 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.AssociatePublicIpAddress = ptr.Bool(jtv) } + case "configureScript": if err := awsAwsjson11_deserializeDocumentS3Location(&sv.ConfigureScript, value); err != nil { return err } + case "configureScriptType": if value != nil { jtv, ok := value.(string) @@ -6668,6 +6765,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.ConfigureScriptType = types.ScriptType(jtv) } + case "ec2KeyName": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6774,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Ec2KeyName = ptr.String(jtv) } + case "iamInstanceProfileName": if value != nil { jtv, ok := value.(string) @@ -6684,6 +6783,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.IamInstanceProfileName = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -6692,6 +6792,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.InstanceType = ptr.String(jtv) } + case "logicalId": if value != nil { jtv, ok := value.(string) @@ -6700,6 +6801,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.LogicalId = ptr.String(jtv) } + case "securityGroup": if value != nil { jtv, ok := value.(string) @@ -6708,10 +6810,12 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.SecurityGroup = ptr.String(jtv) } + case "server": if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + case "subnet": if value != nil { jtv, ok := value.(string) @@ -6720,10 +6824,12 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Subnet = ptr.String(jtv) } + case "userData": if err := awsAwsjson11_deserializeDocumentUserData(&sv.UserData, value); err != nil { return err } + case "vpc": if value != nil { jtv, ok := value.(string) @@ -6732,6 +6838,7 @@ func awsAwsjson11_deserializeDocumentServerLaunchConfiguration(v **types.ServerL } sv.Vpc = ptr.String(jtv) } + default: _, _ = key, value @@ -6835,10 +6942,12 @@ func awsAwsjson11_deserializeDocumentServerReplicationConfiguration(v **types.Se if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + case "serverReplicationParameters": if err := awsAwsjson11_deserializeDocumentServerReplicationParameters(&sv.ServerReplicationParameters, value); err != nil { return err } + default: _, _ = key, value @@ -6912,6 +7021,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.Encrypted = ptr.Bool(jtv) } + case "frequency": if value != nil { jtv, ok := value.(json.Number) @@ -6924,6 +7034,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.Frequency = ptr.Int32(int32(i64)) } + case "kmsKeyId": if value != nil { jtv, ok := value.(string) @@ -6932,6 +7043,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.KmsKeyId = ptr.String(jtv) } + case "licenseType": if value != nil { jtv, ok := value.(string) @@ -6940,6 +7052,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.LicenseType = types.LicenseType(jtv) } + case "numberOfRecentAmisToKeep": if value != nil { jtv, ok := value.(json.Number) @@ -6952,6 +7065,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.NumberOfRecentAmisToKeep = ptr.Int32(int32(i64)) } + case "runOnce": if value != nil { jtv, ok := value.(bool) @@ -6960,6 +7074,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } sv.RunOnce = ptr.Bool(jtv) } + case "seedTime": if value != nil { switch jtv := value.(type) { @@ -6975,6 +7090,7 @@ func awsAwsjson11_deserializeDocumentServerReplicationParameters(v **types.Serve } } + default: _, _ = key, value @@ -7014,10 +7130,12 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.Name = ptr.String(jtv) } + case "server": if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + case "serverValidationStrategy": if value != nil { jtv, ok := value.(string) @@ -7026,10 +7144,12 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.ServerValidationStrategy = types.ServerValidationStrategy(jtv) } + case "userDataValidationParameters": if err := awsAwsjson11_deserializeDocumentUserDataValidationParameters(&sv.UserDataValidationParameters, value); err != nil { return err } + case "validationId": if value != nil { jtv, ok := value.(string) @@ -7038,6 +7158,7 @@ func awsAwsjson11_deserializeDocumentServerValidationConfiguration(v **types.Ser } sv.ValidationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7107,6 +7228,7 @@ func awsAwsjson11_deserializeDocumentServerValidationOutput(v **types.ServerVali if err := awsAwsjson11_deserializeDocumentServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -7142,6 +7264,7 @@ func awsAwsjson11_deserializeDocumentSource(v **types.Source, value interface{}) if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -7177,6 +7300,7 @@ func awsAwsjson11_deserializeDocumentSSMOutput(v **types.SSMOutput, value interf if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -7216,6 +7340,7 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.Command = ptr.String(jtv) } + case "executionTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7228,6 +7353,7 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.ExecutionTimeoutSeconds = int32(i64) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -7236,6 +7362,7 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.InstanceId = ptr.String(jtv) } + case "outputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -7244,6 +7371,7 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.OutputS3BucketName = ptr.String(jtv) } + case "scriptType": if value != nil { jtv, ok := value.(string) @@ -7252,10 +7380,12 @@ func awsAwsjson11_deserializeDocumentSSMValidationParameters(v **types.SSMValida } sv.ScriptType = types.ScriptType(jtv) } + case "source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -7295,6 +7425,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7303,6 +7434,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7407,6 +7539,7 @@ func awsAwsjson11_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7442,6 +7575,7 @@ func awsAwsjson11_deserializeDocumentUserData(v **types.UserData, value interfac if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -7481,10 +7615,12 @@ func awsAwsjson11_deserializeDocumentUserDataValidationParameters(v **types.User } sv.ScriptType = types.ScriptType(jtv) } + case "source": if err := awsAwsjson11_deserializeDocumentSource(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -7520,6 +7656,7 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput if err := awsAwsjson11_deserializeDocumentAppValidationOutput(&sv.AppValidationOutput, value); err != nil { return err } + case "latestValidationTime": if value != nil { switch jtv := value.(type) { @@ -7535,6 +7672,7 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } } + case "name": if value != nil { jtv, ok := value.(string) @@ -7543,10 +7681,12 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.Name = ptr.String(jtv) } + case "serverValidationOutput": if err := awsAwsjson11_deserializeDocumentServerValidationOutput(&sv.ServerValidationOutput, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7555,6 +7695,7 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.Status = types.ValidationStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -7563,6 +7704,7 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.StatusMessage = ptr.String(jtv) } + case "validationId": if value != nil { jtv, ok := value.(string) @@ -7571,6 +7713,7 @@ func awsAwsjson11_deserializeDocumentValidationOutput(v **types.ValidationOutput } sv.ValidationId = ptr.String(jtv) } + default: _, _ = key, value @@ -7644,6 +7787,7 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmManagerName = ptr.String(jtv) } + case "vmManagerType": if value != nil { jtv, ok := value.(string) @@ -7652,6 +7796,7 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmManagerType = types.VmManagerType(jtv) } + case "vmName": if value != nil { jtv, ok := value.(string) @@ -7660,6 +7805,7 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmName = ptr.String(jtv) } + case "vmPath": if value != nil { jtv, ok := value.(string) @@ -7668,10 +7814,12 @@ func awsAwsjson11_deserializeDocumentVmServer(v **types.VmServer, value interfac } sv.VmPath = ptr.String(jtv) } + case "vmServerAddress": if err := awsAwsjson11_deserializeDocumentVmServerAddress(&sv.VmServerAddress, value); err != nil { return err } + default: _, _ = key, value @@ -7711,6 +7859,7 @@ func awsAwsjson11_deserializeDocumentVmServerAddress(v **types.VmServerAddress, } sv.VmId = ptr.String(jtv) } + case "vmManagerId": if value != nil { jtv, ok := value.(string) @@ -7719,6 +7868,7 @@ func awsAwsjson11_deserializeDocumentVmServerAddress(v **types.VmServerAddress, } sv.VmManagerId = ptr.String(jtv) } + default: _, _ = key, value @@ -7754,14 +7904,17 @@ func awsAwsjson11_deserializeOpDocumentCreateAppOutput(v **CreateAppOutput, valu if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } + case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7801,6 +7954,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReplicationJobOutput(v **CreateRepl } sv.ReplicationJobId = ptr.String(jtv) } + default: _, _ = key, value @@ -8053,6 +8207,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateChangeSetOutput(v **GenerateChang if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -8088,6 +8243,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateTemplateOutput(v **GenerateTempla if err := awsAwsjson11_deserializeDocumentS3Location(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -8127,6 +8283,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.AppId = ptr.String(jtv) } + case "autoLaunch": if value != nil { jtv, ok := value.(bool) @@ -8135,6 +8292,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.AutoLaunch = ptr.Bool(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -8143,10 +8301,12 @@ func awsAwsjson11_deserializeOpDocumentGetAppLaunchConfigurationOutput(v **GetAp } sv.RoleName = ptr.String(jtv) } + case "serverGroupLaunchConfigurations": if err := awsAwsjson11_deserializeDocumentServerGroupLaunchConfigurations(&sv.ServerGroupLaunchConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -8182,14 +8342,17 @@ func awsAwsjson11_deserializeOpDocumentGetAppOutput(v **GetAppOutput, value inte if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } + case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8225,6 +8388,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppReplicationConfigurationOutput(v ** if err := awsAwsjson11_deserializeDocumentServerGroupReplicationConfigurations(&sv.ServerGroupReplicationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -8260,10 +8424,12 @@ func awsAwsjson11_deserializeOpDocumentGetAppValidationConfigurationOutput(v **G if err := awsAwsjson11_deserializeDocumentAppValidationConfigurations(&sv.AppValidationConfigurations, value); err != nil { return err } + case "serverGroupValidationConfigurations": if err := awsAwsjson11_deserializeDocumentServerGroupValidationConfigurations(&sv.ServerGroupValidationConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -8299,6 +8465,7 @@ func awsAwsjson11_deserializeOpDocumentGetAppValidationOutputOutput(v **GetAppVa if err := awsAwsjson11_deserializeDocumentValidationOutputList(&sv.ValidationOutputList, value); err != nil { return err } + default: _, _ = key, value @@ -8334,6 +8501,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectorsOutput(v **GetConnectorsOutp if err := awsAwsjson11_deserializeDocumentConnectorList(&sv.ConnectorList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8342,6 +8510,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectorsOutput(v **GetConnectorsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8381,10 +8550,12 @@ func awsAwsjson11_deserializeOpDocumentGetReplicationJobsOutput(v **GetReplicati } sv.NextToken = ptr.String(jtv) } + case "replicationJobList": if err := awsAwsjson11_deserializeDocumentReplicationJobList(&sv.ReplicationJobList, value); err != nil { return err } + default: _, _ = key, value @@ -8424,14 +8595,17 @@ func awsAwsjson11_deserializeOpDocumentGetReplicationRunsOutput(v **GetReplicati } sv.NextToken = ptr.String(jtv) } + case "replicationJob": if err := awsAwsjson11_deserializeDocumentReplicationJob(&sv.ReplicationJob, value); err != nil { return err } + case "replicationRunList": if err := awsAwsjson11_deserializeDocumentReplicationRunList(&sv.ReplicationRunList, value); err != nil { return err } + default: _, _ = key, value @@ -8478,6 +8652,7 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8486,6 +8661,7 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } sv.NextToken = ptr.String(jtv) } + case "serverCatalogStatus": if value != nil { jtv, ok := value.(string) @@ -8494,10 +8670,12 @@ func awsAwsjson11_deserializeOpDocumentGetServersOutput(v **GetServersOutput, va } sv.ServerCatalogStatus = types.ServerCatalogStatus(jtv) } + case "serverList": if err := awsAwsjson11_deserializeDocumentServerList(&sv.ServerList, value); err != nil { return err } + default: _, _ = key, value @@ -8626,6 +8804,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value if err := awsAwsjson11_deserializeDocumentApps(&sv.Apps, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -8634,6 +8813,7 @@ func awsAwsjson11_deserializeOpDocumentListAppsOutput(v **ListAppsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8859,6 +9039,7 @@ func awsAwsjson11_deserializeOpDocumentStartOnDemandReplicationRunOutput(v **Sta } sv.ReplicationRunId = ptr.String(jtv) } + default: _, _ = key, value @@ -8956,14 +9137,17 @@ func awsAwsjson11_deserializeOpDocumentUpdateAppOutput(v **UpdateAppOutput, valu if err := awsAwsjson11_deserializeDocumentAppSummary(&sv.AppSummary, value); err != nil { return err } + case "serverGroups": if err := awsAwsjson11_deserializeDocumentServerGroups(&sv.ServerGroups, value); err != nil { return err } + case "tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/snowball/deserializers.go b/service/snowball/deserializers.go index 0ec2be844ec..875cd4e6bcb 100644 --- a/service/snowball/deserializers.go +++ b/service/snowball/deserializers.go @@ -3547,6 +3547,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressId = ptr.String(jtv) } + case "City": if value != nil { jtv, ok := value.(string) @@ -3555,6 +3556,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "Company": if value != nil { jtv, ok := value.(string) @@ -3563,6 +3565,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Company = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -3571,6 +3574,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Country = ptr.String(jtv) } + case "IsRestricted": if value != nil { jtv, ok := value.(bool) @@ -3579,6 +3583,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.IsRestricted = jtv } + case "Landmark": if value != nil { jtv, ok := value.(string) @@ -3587,6 +3592,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Landmark = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3601,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Name = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3603,6 +3610,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PhoneNumber = ptr.String(jtv) } + case "PostalCode": if value != nil { jtv, ok := value.(string) @@ -3611,6 +3619,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "PrefectureOrDistrict": if value != nil { jtv, ok := value.(string) @@ -3619,6 +3628,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PrefectureOrDistrict = ptr.String(jtv) } + case "StateOrProvince": if value != nil { jtv, ok := value.(string) @@ -3627,6 +3637,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrProvince = ptr.String(jtv) } + case "Street1": if value != nil { jtv, ok := value.(string) @@ -3635,6 +3646,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street1 = ptr.String(jtv) } + case "Street2": if value != nil { jtv, ok := value.(string) @@ -3643,6 +3655,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street2 = ptr.String(jtv) } + case "Street3": if value != nil { jtv, ok := value.(string) @@ -3651,6 +3664,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Street3 = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3659,6 +3673,7 @@ func awsAwsjson11_deserializeDocumentAddress(v **types.Address, value interface{ } sv.Type = types.AddressType(jtv) } + default: _, _ = key, value @@ -3732,6 +3747,7 @@ func awsAwsjson11_deserializeDocumentClusterLimitExceededException(v **types.Clu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3771,6 +3787,7 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.ClusterId = ptr.String(jtv) } + case "ClusterState": if value != nil { jtv, ok := value.(string) @@ -3779,6 +3796,7 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.ClusterState = types.ClusterState(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3794,6 +3812,7 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3802,6 +3821,7 @@ func awsAwsjson11_deserializeDocumentClusterListEntry(v **types.ClusterListEntry } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -3875,6 +3895,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.AddressId = ptr.String(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -3883,6 +3904,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ClusterId = ptr.String(jtv) } + case "ClusterState": if value != nil { jtv, ok := value.(string) @@ -3891,6 +3913,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ClusterState = types.ClusterState(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -3906,6 +3929,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3914,6 +3938,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.Description = ptr.String(jtv) } + case "ForwardingAddressId": if value != nil { jtv, ok := value.(string) @@ -3922,6 +3947,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ForwardingAddressId = ptr.String(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -3930,6 +3956,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.JobType = types.JobType(jtv) } + case "KmsKeyARN": if value != nil { jtv, ok := value.(string) @@ -3938,18 +3965,22 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.KmsKeyARN = ptr.String(jtv) } + case "Notification": if err := awsAwsjson11_deserializeDocumentNotification(&sv.Notification, value); err != nil { return err } + case "OnDeviceServiceConfiguration": if err := awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(&sv.OnDeviceServiceConfiguration, value); err != nil { return err } + case "Resources": if err := awsAwsjson11_deserializeDocumentJobResource(&sv.Resources, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -3958,6 +3989,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.RoleARN = ptr.String(jtv) } + case "ShippingOption": if value != nil { jtv, ok := value.(string) @@ -3966,6 +3998,7 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.ShippingOption = types.ShippingOption(jtv) } + case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -3974,10 +4007,12 @@ func awsAwsjson11_deserializeDocumentClusterMetadata(v **types.ClusterMetadata, } sv.SnowballType = types.SnowballType(jtv) } + case "TaxDocuments": if err := awsAwsjson11_deserializeDocumentTaxDocuments(&sv.TaxDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -4017,6 +4052,7 @@ func awsAwsjson11_deserializeDocumentCompatibleImage(v **types.CompatibleImage, } sv.AmiId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4025,6 +4061,7 @@ func awsAwsjson11_deserializeDocumentCompatibleImage(v **types.CompatibleImage, } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4098,6 +4135,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictResource = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4106,6 +4144,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4149,6 +4188,7 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.BytesTransferred = i64 } + case "ObjectsTransferred": if value != nil { jtv, ok := value.(json.Number) @@ -4161,6 +4201,7 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.ObjectsTransferred = i64 } + case "TotalBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4173,6 +4214,7 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.TotalBytes = i64 } + case "TotalObjects": if value != nil { jtv, ok := value.(json.Number) @@ -4185,6 +4227,7 @@ func awsAwsjson11_deserializeDocumentDataTransfer(v **types.DataTransfer, value } sv.TotalObjects = i64 } + default: _, _ = key, value @@ -4224,10 +4267,12 @@ func awsAwsjson11_deserializeDocumentDependentService(v **types.DependentService } sv.ServiceName = types.ServiceName(jtv) } + case "ServiceVersion": if err := awsAwsjson11_deserializeDocumentServiceVersion(&sv.ServiceVersion, value); err != nil { return err } + default: _, _ = key, value @@ -4297,6 +4342,7 @@ func awsAwsjson11_deserializeDocumentDeviceConfiguration(v **types.DeviceConfigu if err := awsAwsjson11_deserializeDocumentSnowconeDeviceConfiguration(&sv.SnowconeDeviceConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4336,6 +4382,7 @@ func awsAwsjson11_deserializeDocumentEc2AmiResource(v **types.Ec2AmiResource, va } sv.AmiId = ptr.String(jtv) } + case "SnowballAmiId": if value != nil { jtv, ok := value.(string) @@ -4344,6 +4391,7 @@ func awsAwsjson11_deserializeDocumentEc2AmiResource(v **types.Ec2AmiResource, va } sv.SnowballAmiId = ptr.String(jtv) } + default: _, _ = key, value @@ -4417,6 +4465,7 @@ func awsAwsjson11_deserializeDocumentEc2RequestFailedException(v **types.Ec2Requ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4456,6 +4505,7 @@ func awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(v **types.E } sv.EKSAnywhereVersion = ptr.String(jtv) } + case "KubernetesVersion": if value != nil { jtv, ok := value.(string) @@ -4464,6 +4514,7 @@ func awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(v **types.E } sv.KubernetesVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4503,6 +4554,7 @@ func awsAwsjson11_deserializeDocumentEventTriggerDefinition(v **types.EventTrigg } sv.EventResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -4576,6 +4628,7 @@ func awsAwsjson11_deserializeDocumentINDTaxDocuments(v **types.INDTaxDocuments, } sv.GSTIN = ptr.String(jtv) } + default: _, _ = key, value @@ -4615,6 +4668,7 @@ func awsAwsjson11_deserializeDocumentInvalidAddressException(v **types.InvalidAd } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4654,6 +4708,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputCombinationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4693,6 +4748,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobStateException(v **types.InvalidJ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4732,6 +4788,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4771,6 +4828,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4779,6 +4837,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceException(v **types.InvalidR } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -4825,6 +4884,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4833,6 +4893,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.Description = ptr.String(jtv) } + case "IsMaster": if value != nil { jtv, ok := value.(bool) @@ -4841,6 +4902,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.IsMaster = jtv } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -4849,6 +4911,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobId = ptr.String(jtv) } + case "JobState": if value != nil { jtv, ok := value.(string) @@ -4857,6 +4920,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobState = types.JobState(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -4865,6 +4929,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.JobType = types.JobType(jtv) } + case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -4873,6 +4938,7 @@ func awsAwsjson11_deserializeDocumentJobListEntry(v **types.JobListEntry, value } sv.SnowballType = types.SnowballType(jtv) } + default: _, _ = key, value @@ -4946,6 +5012,7 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobCompletionReportURI = ptr.String(jtv) } + case "JobFailureLogURI": if value != nil { jtv, ok := value.(string) @@ -4954,6 +5021,7 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobFailureLogURI = ptr.String(jtv) } + case "JobSuccessLogURI": if value != nil { jtv, ok := value.(string) @@ -4962,6 +5030,7 @@ func awsAwsjson11_deserializeDocumentJobLogs(v **types.JobLogs, value interface{ } sv.JobSuccessLogURI = ptr.String(jtv) } + default: _, _ = key, value @@ -5001,6 +5070,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.AddressId = ptr.String(jtv) } + case "ClusterId": if value != nil { jtv, ok := value.(string) @@ -5009,6 +5079,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ClusterId = ptr.String(jtv) } + case "CreationDate": if value != nil { switch jtv := value.(type) { @@ -5024,10 +5095,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } } + case "DataTransferProgress": if err := awsAwsjson11_deserializeDocumentDataTransfer(&sv.DataTransferProgress, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -5036,10 +5109,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.Description = ptr.String(jtv) } + case "DeviceConfiguration": if err := awsAwsjson11_deserializeDocumentDeviceConfiguration(&sv.DeviceConfiguration, value); err != nil { return err } + case "ForwardingAddressId": if value != nil { jtv, ok := value.(string) @@ -5048,6 +5123,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ForwardingAddressId = ptr.String(jtv) } + case "ImpactLevel": if value != nil { jtv, ok := value.(string) @@ -5056,6 +5132,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.ImpactLevel = types.ImpactLevel(jtv) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5064,10 +5141,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobId = ptr.String(jtv) } + case "JobLogInfo": if err := awsAwsjson11_deserializeDocumentJobLogs(&sv.JobLogInfo, value); err != nil { return err } + case "JobState": if value != nil { jtv, ok := value.(string) @@ -5076,6 +5155,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobState = types.JobState(jtv) } + case "JobType": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5164,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.JobType = types.JobType(jtv) } + case "KmsKeyARN": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5173,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.KmsKeyARN = ptr.String(jtv) } + case "LongTermPricingId": if value != nil { jtv, ok := value.(string) @@ -5100,18 +5182,22 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.LongTermPricingId = ptr.String(jtv) } + case "Notification": if err := awsAwsjson11_deserializeDocumentNotification(&sv.Notification, value); err != nil { return err } + case "OnDeviceServiceConfiguration": if err := awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(&sv.OnDeviceServiceConfiguration, value); err != nil { return err } + case "PickupDetails": if err := awsAwsjson11_deserializeDocumentPickupDetails(&sv.PickupDetails, value); err != nil { return err } + case "RemoteManagement": if value != nil { jtv, ok := value.(string) @@ -5120,10 +5206,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.RemoteManagement = types.RemoteManagement(jtv) } + case "Resources": if err := awsAwsjson11_deserializeDocumentJobResource(&sv.Resources, value); err != nil { return err } + case "RoleARN": if value != nil { jtv, ok := value.(string) @@ -5132,10 +5220,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.RoleARN = ptr.String(jtv) } + case "ShippingDetails": if err := awsAwsjson11_deserializeDocumentShippingDetails(&sv.ShippingDetails, value); err != nil { return err } + case "SnowballCapacityPreference": if value != nil { jtv, ok := value.(string) @@ -5144,6 +5234,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballCapacityPreference = types.SnowballCapacity(jtv) } + case "SnowballId": if value != nil { jtv, ok := value.(string) @@ -5152,6 +5243,7 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballId = ptr.String(jtv) } + case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -5160,10 +5252,12 @@ func awsAwsjson11_deserializeDocumentJobMetadata(v **types.JobMetadata, value in } sv.SnowballType = types.SnowballType(jtv) } + case "TaxDocuments": if err := awsAwsjson11_deserializeDocumentTaxDocuments(&sv.TaxDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -5233,14 +5327,17 @@ func awsAwsjson11_deserializeDocumentJobResource(v **types.JobResource, value in if err := awsAwsjson11_deserializeDocumentEc2AmiResourceList(&sv.Ec2AmiResources, value); err != nil { return err } + case "LambdaResources": if err := awsAwsjson11_deserializeDocumentLambdaResourceList(&sv.LambdaResources, value); err != nil { return err } + case "S3Resources": if err := awsAwsjson11_deserializeDocumentS3ResourceList(&sv.S3Resources, value); err != nil { return err } + default: _, _ = key, value @@ -5316,6 +5413,7 @@ func awsAwsjson11_deserializeDocumentKeyRange(v **types.KeyRange, value interfac } sv.BeginMarker = ptr.String(jtv) } + case "EndMarker": if value != nil { jtv, ok := value.(string) @@ -5324,6 +5422,7 @@ func awsAwsjson11_deserializeDocumentKeyRange(v **types.KeyRange, value interfac } sv.EndMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -5363,6 +5462,7 @@ func awsAwsjson11_deserializeDocumentKMSRequestFailedException(v **types.KMSRequ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5398,6 +5498,7 @@ func awsAwsjson11_deserializeDocumentLambdaResource(v **types.LambdaResource, va if err := awsAwsjson11_deserializeDocumentEventTriggerDefinitionList(&sv.EventTriggers, value); err != nil { return err } + case "LambdaArn": if value != nil { jtv, ok := value.(string) @@ -5406,6 +5507,7 @@ func awsAwsjson11_deserializeDocumentLambdaResource(v **types.LambdaResource, va } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5549,6 +5651,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.CurrentActiveJob = ptr.String(jtv) } + case "IsLongTermPricingAutoRenew": if value != nil { jtv, ok := value.(bool) @@ -5557,10 +5660,12 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.IsLongTermPricingAutoRenew = ptr.Bool(jtv) } + case "JobIds": if err := awsAwsjson11_deserializeDocumentLongTermPricingAssociatedJobIdList(&sv.JobIds, value); err != nil { return err } + case "LongTermPricingEndDate": if value != nil { switch jtv := value.(type) { @@ -5576,6 +5681,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } } + case "LongTermPricingId": if value != nil { jtv, ok := value.(string) @@ -5584,6 +5690,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingId = ptr.String(jtv) } + case "LongTermPricingStartDate": if value != nil { switch jtv := value.(type) { @@ -5599,6 +5706,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } } + case "LongTermPricingStatus": if value != nil { jtv, ok := value.(string) @@ -5607,6 +5715,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingStatus = ptr.String(jtv) } + case "LongTermPricingType": if value != nil { jtv, ok := value.(string) @@ -5615,6 +5724,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.LongTermPricingType = types.LongTermPricingType(jtv) } + case "ReplacementJob": if value != nil { jtv, ok := value.(string) @@ -5623,6 +5733,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.ReplacementJob = ptr.String(jtv) } + case "SnowballType": if value != nil { jtv, ok := value.(string) @@ -5631,6 +5742,7 @@ func awsAwsjson11_deserializeDocumentLongTermPricingListEntry(v **types.LongTerm } sv.SnowballType = types.SnowballType(jtv) } + default: _, _ = key, value @@ -5674,6 +5786,7 @@ func awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(v **types.N } sv.StorageLimit = int32(i64) } + case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -5682,6 +5795,7 @@ func awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(v **types.N } sv.StorageUnit = types.StorageUnit(jtv) } + default: _, _ = key, value @@ -5721,10 +5835,12 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.DevicePickupSnsTopicARN = ptr.String(jtv) } + case "JobStatesToNotify": if err := awsAwsjson11_deserializeDocumentJobStateList(&sv.JobStatesToNotify, value); err != nil { return err } + case "NotifyAll": if value != nil { jtv, ok := value.(bool) @@ -5733,6 +5849,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.NotifyAll = jtv } + case "SnsTopicARN": if value != nil { jtv, ok := value.(string) @@ -5741,6 +5858,7 @@ func awsAwsjson11_deserializeDocumentNotification(v **types.Notification, value } sv.SnsTopicARN = ptr.String(jtv) } + default: _, _ = key, value @@ -5776,18 +5894,22 @@ func awsAwsjson11_deserializeDocumentOnDeviceServiceConfiguration(v **types.OnDe if err := awsAwsjson11_deserializeDocumentEKSOnDeviceServiceConfiguration(&sv.EKSOnDeviceService, value); err != nil { return err } + case "NFSOnDeviceService": if err := awsAwsjson11_deserializeDocumentNFSOnDeviceServiceConfiguration(&sv.NFSOnDeviceService, value); err != nil { return err } + case "S3OnDeviceService": if err := awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(&sv.S3OnDeviceService, value); err != nil { return err } + case "TGWOnDeviceService": if err := awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(&sv.TGWOnDeviceService, value); err != nil { return err } + default: _, _ = key, value @@ -5827,6 +5949,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.DevicePickupId = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -5835,6 +5958,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.Email = ptr.String(jtv) } + case "IdentificationExpirationDate": if value != nil { switch jtv := value.(type) { @@ -5850,6 +5974,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } } + case "IdentificationIssuingOrg": if value != nil { jtv, ok := value.(string) @@ -5858,6 +5983,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.IdentificationIssuingOrg = ptr.String(jtv) } + case "IdentificationNumber": if value != nil { jtv, ok := value.(string) @@ -5866,6 +5992,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.IdentificationNumber = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5874,6 +6001,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.Name = ptr.String(jtv) } + case "PhoneNumber": if value != nil { jtv, ok := value.(string) @@ -5882,6 +6010,7 @@ func awsAwsjson11_deserializeDocumentPickupDetails(v **types.PickupDetails, valu } sv.PhoneNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -5921,6 +6050,7 @@ func awsAwsjson11_deserializeDocumentReturnShippingLabelAlreadyExistsException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5964,6 +6094,7 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.FaultTolerance = ptr.Int32(int32(i64)) } + case "ServiceSize": if value != nil { jtv, ok := value.(json.Number) @@ -5976,6 +6107,7 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.ServiceSize = ptr.Int32(int32(i64)) } + case "StorageLimit": if value != nil { switch jtv := value.(type) { @@ -6009,6 +6141,7 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } } + case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -6017,6 +6150,7 @@ func awsAwsjson11_deserializeDocumentS3OnDeviceServiceConfiguration(v **types.S3 } sv.StorageUnit = types.StorageUnit(jtv) } + default: _, _ = key, value @@ -6056,14 +6190,17 @@ func awsAwsjson11_deserializeDocumentS3Resource(v **types.S3Resource, value inte } sv.BucketArn = ptr.String(jtv) } + case "KeyRange": if err := awsAwsjson11_deserializeDocumentKeyRange(&sv.KeyRange, value); err != nil { return err } + case "TargetOnDeviceServices": if err := awsAwsjson11_deserializeDocumentTargetOnDeviceServiceList(&sv.TargetOnDeviceServices, value); err != nil { return err } + default: _, _ = key, value @@ -6137,6 +6274,7 @@ func awsAwsjson11_deserializeDocumentServiceVersion(v **types.ServiceVersion, va } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -6210,6 +6348,7 @@ func awsAwsjson11_deserializeDocumentShipment(v **types.Shipment, value interfac } sv.Status = ptr.String(jtv) } + case "TrackingNumber": if value != nil { jtv, ok := value.(string) @@ -6218,6 +6357,7 @@ func awsAwsjson11_deserializeDocumentShipment(v **types.Shipment, value interfac } sv.TrackingNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -6253,10 +6393,12 @@ func awsAwsjson11_deserializeDocumentShippingDetails(v **types.ShippingDetails, if err := awsAwsjson11_deserializeDocumentShipment(&sv.InboundShipment, value); err != nil { return err } + case "OutboundShipment": if err := awsAwsjson11_deserializeDocumentShipment(&sv.OutboundShipment, value); err != nil { return err } + case "ShippingOption": if value != nil { jtv, ok := value.(string) @@ -6265,6 +6407,7 @@ func awsAwsjson11_deserializeDocumentShippingDetails(v **types.ShippingDetails, } sv.ShippingOption = types.ShippingOption(jtv) } + default: _, _ = key, value @@ -6300,6 +6443,7 @@ func awsAwsjson11_deserializeDocumentSnowconeDeviceConfiguration(v **types.Snowc if err := awsAwsjson11_deserializeDocumentWirelessConnection(&sv.WirelessConnection, value); err != nil { return err } + default: _, _ = key, value @@ -6339,6 +6483,7 @@ func awsAwsjson11_deserializeDocumentTargetOnDeviceService(v **types.TargetOnDev } sv.ServiceName = types.DeviceServiceName(jtv) } + case "TransferOption": if value != nil { jtv, ok := value.(string) @@ -6347,6 +6492,7 @@ func awsAwsjson11_deserializeDocumentTargetOnDeviceService(v **types.TargetOnDev } sv.TransferOption = types.TransferOption(jtv) } + default: _, _ = key, value @@ -6416,6 +6562,7 @@ func awsAwsjson11_deserializeDocumentTaxDocuments(v **types.TaxDocuments, value if err := awsAwsjson11_deserializeDocumentINDTaxDocuments(&sv.IND, value); err != nil { return err } + default: _, _ = key, value @@ -6459,6 +6606,7 @@ func awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(v **types.T } sv.StorageLimit = int32(i64) } + case "StorageUnit": if value != nil { jtv, ok := value.(string) @@ -6467,6 +6615,7 @@ func awsAwsjson11_deserializeDocumentTGWOnDeviceServiceConfiguration(v **types.T } sv.StorageUnit = types.StorageUnit(jtv) } + default: _, _ = key, value @@ -6506,6 +6655,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedAddressException(v **types.Unsup } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6545,6 +6695,7 @@ func awsAwsjson11_deserializeDocumentWirelessConnection(v **types.WirelessConnec } sv.IsWifiEnabled = jtv } + default: _, _ = key, value @@ -6646,6 +6797,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAddressOutput(v **CreateAddressOutp } sv.AddressId = ptr.String(jtv) } + default: _, _ = key, value @@ -6685,10 +6837,12 @@ func awsAwsjson11_deserializeOpDocumentCreateClusterOutput(v **CreateClusterOutp } sv.ClusterId = ptr.String(jtv) } + case "JobListEntries": if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } + default: _, _ = key, value @@ -6728,6 +6882,7 @@ func awsAwsjson11_deserializeOpDocumentCreateJobOutput(v **CreateJobOutput, valu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -6767,6 +6922,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLongTermPricingOutput(v **CreateLon } sv.LongTermPricingId = ptr.String(jtv) } + default: _, _ = key, value @@ -6806,6 +6962,7 @@ func awsAwsjson11_deserializeOpDocumentCreateReturnShippingLabelOutput(v **Creat } sv.Status = types.ShippingLabelStatus(jtv) } + default: _, _ = key, value @@ -6841,6 +6998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressesOutput(v **DescribeAddre if err := awsAwsjson11_deserializeDocumentAddressList(&sv.Addresses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6849,6 +7007,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressesOutput(v **DescribeAddre } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6884,6 +7043,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAddressOutput(v **DescribeAddress if err := awsAwsjson11_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + default: _, _ = key, value @@ -6919,6 +7079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClusterOutput(v **DescribeCluster if err := awsAwsjson11_deserializeDocumentClusterMetadata(&sv.ClusterMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -6954,10 +7115,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeJobOutput(v **DescribeJobOutput, if err := awsAwsjson11_deserializeDocumentJobMetadata(&sv.JobMetadata, value); err != nil { return err } + case "SubJobMetadata": if err := awsAwsjson11_deserializeDocumentJobMetadataList(&sv.SubJobMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -7004,6 +7167,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } } + case "ReturnShippingLabelURI": if value != nil { jtv, ok := value.(string) @@ -7012,6 +7176,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } sv.ReturnShippingLabelURI = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7020,6 +7185,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeReturnShippingLabelOutput(v **Des } sv.Status = types.ShippingLabelStatus(jtv) } + default: _, _ = key, value @@ -7059,6 +7225,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobManifestOutput(v **GetJobManifestOu } sv.ManifestURI = ptr.String(jtv) } + default: _, _ = key, value @@ -7098,6 +7265,7 @@ func awsAwsjson11_deserializeOpDocumentGetJobUnlockCodeOutput(v **GetJobUnlockCo } sv.UnlockCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7141,6 +7309,7 @@ func awsAwsjson11_deserializeOpDocumentGetSnowballUsageOutput(v **GetSnowballUsa } sv.SnowballLimit = ptr.Int32(int32(i64)) } + case "SnowballsInUse": if value != nil { jtv, ok := value.(json.Number) @@ -7153,6 +7322,7 @@ func awsAwsjson11_deserializeOpDocumentGetSnowballUsageOutput(v **GetSnowballUsa } sv.SnowballsInUse = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7192,6 +7362,7 @@ func awsAwsjson11_deserializeOpDocumentGetSoftwareUpdatesOutput(v **GetSoftwareU } sv.UpdatesURI = ptr.String(jtv) } + default: _, _ = key, value @@ -7227,6 +7398,7 @@ func awsAwsjson11_deserializeOpDocumentListClusterJobsOutput(v **ListClusterJobs if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7235,6 +7407,7 @@ func awsAwsjson11_deserializeOpDocumentListClusterJobsOutput(v **ListClusterJobs } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7270,6 +7443,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput if err := awsAwsjson11_deserializeDocumentClusterListEntryList(&sv.ClusterListEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7278,6 +7452,7 @@ func awsAwsjson11_deserializeOpDocumentListClustersOutput(v **ListClustersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7313,6 +7488,7 @@ func awsAwsjson11_deserializeOpDocumentListCompatibleImagesOutput(v **ListCompat if err := awsAwsjson11_deserializeDocumentCompatibleImageList(&sv.CompatibleImages, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7321,6 +7497,7 @@ func awsAwsjson11_deserializeOpDocumentListCompatibleImagesOutput(v **ListCompat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7356,6 +7533,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value if err := awsAwsjson11_deserializeDocumentJobListEntryList(&sv.JobListEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7364,6 +7542,7 @@ func awsAwsjson11_deserializeOpDocumentListJobsOutput(v **ListJobsOutput, value } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7399,6 +7578,7 @@ func awsAwsjson11_deserializeOpDocumentListLongTermPricingOutput(v **ListLongTer if err := awsAwsjson11_deserializeDocumentLongTermPricingEntryList(&sv.LongTermPricingEntries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7407,6 +7587,7 @@ func awsAwsjson11_deserializeOpDocumentListLongTermPricingOutput(v **ListLongTer } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7442,6 +7623,7 @@ func awsAwsjson11_deserializeOpDocumentListPickupLocationsOutput(v **ListPickupL if err := awsAwsjson11_deserializeDocumentAddressList(&sv.Addresses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7450,6 +7632,7 @@ func awsAwsjson11_deserializeOpDocumentListPickupLocationsOutput(v **ListPickupL } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7485,6 +7668,7 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService if err := awsAwsjson11_deserializeDocumentDependentServiceList(&sv.DependentServices, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7493,6 +7677,7 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService } sv.NextToken = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -7501,10 +7686,12 @@ func awsAwsjson11_deserializeOpDocumentListServiceVersionsOutput(v **ListService } sv.ServiceName = types.ServiceName(jtv) } + case "ServiceVersions": if err := awsAwsjson11_deserializeDocumentServiceVersionList(&sv.ServiceVersions, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/snowdevicemanagement/deserializers.go b/service/snowdevicemanagement/deserializers.go index c40f172f2d0..164dc20f542 100644 --- a/service/snowdevicemanagement/deserializers.go +++ b/service/snowdevicemanagement/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCancelTaskOutput(v **CancelTaskOutput, va } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -358,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskArn = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -366,6 +368,7 @@ func awsRestjson1_deserializeOpDocumentCreateTaskOutput(v **CreateTaskOutput, va } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -533,10 +536,12 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.AssociatedWithJob = ptr.String(jtv) } + case "deviceCapacities": if err := awsRestjson1_deserializeDocumentCapacityList(&sv.DeviceCapacities, value); err != nil { return err } + case "deviceState": if value != nil { jtv, ok := value.(string) @@ -545,6 +550,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceState = types.UnlockState(jtv) } + case "deviceType": if value != nil { jtv, ok := value.(string) @@ -553,6 +559,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.DeviceType = ptr.String(jtv) } + case "lastReachedOutAt": if value != nil { switch jtv := value.(type) { @@ -568,6 +575,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -583,6 +591,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } } + case "managedDeviceArn": if value != nil { jtv, ok := value.(string) @@ -591,6 +600,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ManagedDeviceArn = ptr.String(jtv) } + case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -599,18 +609,22 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu } sv.ManagedDeviceId = ptr.String(jtv) } + case "physicalNetworkInterfaces": if err := awsRestjson1_deserializeDocumentPhysicalNetworkInterfaceList(&sv.PhysicalNetworkInterfaces, value); err != nil { return err } + case "software": if err := awsRestjson1_deserializeDocumentSoftwareInformation(&sv.Software, value); err != nil { return err } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -774,6 +788,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDeviceEc2InstancesOutput(v **Desc if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.Instances, value); err != nil { return err } + default: _, _ = key, value @@ -941,6 +956,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ExecutionId = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -956,6 +972,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } + case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -964,6 +981,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.ManagedDeviceId = ptr.String(jtv) } + case "startedAt": if value != nil { switch jtv := value.(type) { @@ -979,6 +997,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } } + case "state": if value != nil { jtv, ok := value.(string) @@ -987,6 +1006,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.State = types.ExecutionState(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -995,6 +1015,7 @@ func awsRestjson1_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -1169,6 +1190,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -1184,6 +1206,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } + case "description": if value != nil { jtv, ok := value.(string) @@ -1192,6 +1215,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.Description = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -1207,6 +1231,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } } + case "state": if value != nil { jtv, ok := value.(string) @@ -1215,14 +1240,17 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.State = types.TaskState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "targets": if err := awsRestjson1_deserializeDocumentTargetList(&sv.Targets, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -1231,6 +1259,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskArn = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -1239,6 +1268,7 @@ func awsRestjson1_deserializeOpDocumentDescribeTaskOutput(v **DescribeTaskOutput } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -1406,10 +1436,12 @@ func awsRestjson1_deserializeOpDocumentListDeviceResourcesOutput(v **ListDeviceR } sv.NextToken = ptr.String(jtv) } + case "resources": if err := awsRestjson1_deserializeDocumentResourceSummaryList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -1570,6 +1602,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceSummaryList(&sv.Devices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1578,6 +1611,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1741,6 +1775,7 @@ func awsRestjson1_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsRestjson1_deserializeDocumentExecutionSummaryList(&sv.Executions, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1749,6 +1784,7 @@ func awsRestjson1_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1906,6 +1942,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2070,10 +2107,12 @@ func awsRestjson1_deserializeOpDocumentListTasksOutput(v **ListTasksOutput, valu } sv.NextToken = ptr.String(jtv) } + case "tasks": if err := awsRestjson1_deserializeDocumentTaskSummaryList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -2529,6 +2568,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2572,6 +2612,7 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Available = ptr.Int64(i64) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2580,6 +2621,7 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Name = ptr.String(jtv) } + case "total": if value != nil { jtv, ok := value.(json.Number) @@ -2592,6 +2634,7 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Total = ptr.Int64(i64) } + case "unit": if value != nil { jtv, ok := value.(string) @@ -2600,6 +2643,7 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Unit = ptr.String(jtv) } + case "used": if value != nil { jtv, ok := value.(json.Number) @@ -2612,6 +2656,7 @@ func awsRestjson1_deserializeDocumentCapacity(v **types.Capacity, value interfac } sv.Used = ptr.Int64(i64) } + default: _, _ = key, value @@ -2689,6 +2734,7 @@ func awsRestjson1_deserializeDocumentCpuOptions(v **types.CpuOptions, value inte } sv.CoreCount = ptr.Int32(int32(i64)) } + case "threadsPerCore": if value != nil { jtv, ok := value.(json.Number) @@ -2701,6 +2747,7 @@ func awsRestjson1_deserializeDocumentCpuOptions(v **types.CpuOptions, value inte } sv.ThreadsPerCore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2740,6 +2787,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.AssociatedWithJob = ptr.String(jtv) } + case "managedDeviceArn": if value != nil { jtv, ok := value.(string) @@ -2748,6 +2796,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ManagedDeviceArn = ptr.String(jtv) } + case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -2756,10 +2805,12 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.ManagedDeviceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2840,6 +2891,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } } + case "deleteOnTermination": if value != nil { jtv, ok := value.(bool) @@ -2848,6 +2900,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.DeleteOnTermination = ptr.Bool(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2856,6 +2909,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.Status = types.AttachmentStatus(jtv) } + case "volumeId": if value != nil { jtv, ok := value.(string) @@ -2864,6 +2918,7 @@ func awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(v **types.EbsInstanc } sv.VolumeId = ptr.String(jtv) } + default: _, _ = key, value @@ -2903,6 +2958,7 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.ExecutionId = ptr.String(jtv) } + case "managedDeviceId": if value != nil { jtv, ok := value.(string) @@ -2911,6 +2967,7 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.ManagedDeviceId = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -2919,6 +2976,7 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.State = types.ExecutionState(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -2927,6 +2985,7 @@ func awsRestjson1_deserializeDocumentExecutionSummary(v **types.ExecutionSummary } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -3004,14 +3063,17 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AmiLaunchIndex = ptr.Int32(int32(i64)) } + case "blockDeviceMappings": if err := awsRestjson1_deserializeDocumentInstanceBlockDeviceMappingList(&sv.BlockDeviceMappings, value); err != nil { return err } + case "cpuOptions": if err := awsRestjson1_deserializeDocumentCpuOptions(&sv.CpuOptions, value); err != nil { return err } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3027,6 +3089,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "imageId": if value != nil { jtv, ok := value.(string) @@ -3035,6 +3098,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ImageId = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -3043,6 +3107,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -3051,6 +3116,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceType = ptr.String(jtv) } + case "privateIpAddress": if value != nil { jtv, ok := value.(string) @@ -3059,6 +3125,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PrivateIpAddress = ptr.String(jtv) } + case "publicIpAddress": if value != nil { jtv, ok := value.(string) @@ -3067,6 +3134,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.PublicIpAddress = ptr.String(jtv) } + case "rootDeviceName": if value != nil { jtv, ok := value.(string) @@ -3075,14 +3143,17 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.RootDeviceName = ptr.String(jtv) } + case "securityGroups": if err := awsRestjson1_deserializeDocumentSecurityGroupIdentifierList(&sv.SecurityGroups, value); err != nil { return err } + case "state": if err := awsRestjson1_deserializeDocumentInstanceState(&sv.State, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3098,6 +3169,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + default: _, _ = key, value @@ -3137,10 +3209,12 @@ func awsRestjson1_deserializeDocumentInstanceBlockDeviceMapping(v **types.Instan } sv.DeviceName = ptr.String(jtv) } + case "ebs": if err := awsRestjson1_deserializeDocumentEbsInstanceBlockDevice(&sv.Ebs, value); err != nil { return err } + default: _, _ = key, value @@ -3218,6 +3292,7 @@ func awsRestjson1_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Code = ptr.Int32(int32(i64)) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3226,6 +3301,7 @@ func awsRestjson1_deserializeDocumentInstanceState(v **types.InstanceState, valu } sv.Name = types.InstanceStateName(jtv) } + default: _, _ = key, value @@ -3261,6 +3337,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + case "lastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3276,6 +3353,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, } } + default: _, _ = key, value @@ -3349,6 +3427,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3388,6 +3467,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.DefaultGateway = ptr.String(jtv) } + case "ipAddress": if value != nil { jtv, ok := value.(string) @@ -3396,6 +3476,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.IpAddress = ptr.String(jtv) } + case "ipAddressAssignment": if value != nil { jtv, ok := value.(string) @@ -3404,6 +3485,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.IpAddressAssignment = types.IpAddressAssignment(jtv) } + case "macAddress": if value != nil { jtv, ok := value.(string) @@ -3412,6 +3494,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.MacAddress = ptr.String(jtv) } + case "netmask": if value != nil { jtv, ok := value.(string) @@ -3420,6 +3503,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.Netmask = ptr.String(jtv) } + case "physicalConnectorType": if value != nil { jtv, ok := value.(string) @@ -3428,6 +3512,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.PhysicalConnectorType = types.PhysicalConnectorType(jtv) } + case "physicalNetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -3436,6 +3521,7 @@ func awsRestjson1_deserializeDocumentPhysicalNetworkInterface(v **types.Physical } sv.PhysicalNetworkInterfaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3509,6 +3595,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3548,6 +3635,7 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3556,6 +3644,7 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.Id = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3564,6 +3653,7 @@ func awsRestjson1_deserializeDocumentResourceSummary(v **types.ResourceSummary, } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3637,6 +3727,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupIdentifier(v **types.SecurityG } sv.GroupId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -3645,6 +3736,7 @@ func awsRestjson1_deserializeDocumentSecurityGroupIdentifier(v **types.SecurityG } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -3718,6 +3810,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3757,6 +3850,7 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstalledVersion = ptr.String(jtv) } + case "installingVersion": if value != nil { jtv, ok := value.(string) @@ -3765,6 +3859,7 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstallingVersion = ptr.String(jtv) } + case "installState": if value != nil { jtv, ok := value.(string) @@ -3773,6 +3868,7 @@ func awsRestjson1_deserializeDocumentSoftwareInformation(v **types.SoftwareInfor } sv.InstallState = ptr.String(jtv) } + default: _, _ = key, value @@ -3884,10 +3980,12 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.State = types.TaskState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "taskArn": if value != nil { jtv, ok := value.(string) @@ -3896,6 +3994,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskArn = ptr.String(jtv) } + case "taskId": if value != nil { jtv, ok := value.(string) @@ -3904,6 +4003,7 @@ func awsRestjson1_deserializeDocumentTaskSummary(v **types.TaskSummary, value in } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -3977,6 +4077,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4016,6 +4117,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/socialmessaging/deserializers.go b/service/socialmessaging/deserializers.go index 18b845b91e3..f3d313820c0 100644 --- a/service/socialmessaging/deserializers.go +++ b/service/socialmessaging/deserializers.go @@ -183,6 +183,7 @@ func awsRestjson1_deserializeOpDocumentAssociateWhatsAppBusinessAccountOutput(v if err := awsRestjson1_deserializeDocumentWhatsAppSignupCallbackResult(&sv.SignupCallbackResult, value); err != nil { return err } + case "statusCode": if value != nil { jtv, ok := value.(json.Number) @@ -195,6 +196,7 @@ func awsRestjson1_deserializeOpDocumentAssociateWhatsAppBusinessAccountOutput(v } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -371,6 +373,7 @@ func awsRestjson1_deserializeOpDocumentDeleteWhatsAppMessageMediaOutput(v **Dele } sv.Success = ptr.Bool(jtv) } + default: _, _ = key, value @@ -643,6 +646,7 @@ func awsRestjson1_deserializeOpDocumentGetLinkedWhatsAppBusinessAccountOutput(v if err := awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(&sv.Account, value); err != nil { return err } + default: _, _ = key, value @@ -816,10 +820,12 @@ func awsRestjson1_deserializeOpDocumentGetLinkedWhatsAppBusinessAccountPhoneNumb } sv.LinkedWhatsAppBusinessAccountId = ptr.String(jtv) } + case "phoneNumber": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(&sv.PhoneNumber, value); err != nil { return err } + default: _, _ = key, value @@ -1000,6 +1006,7 @@ func awsRestjson1_deserializeOpDocumentGetWhatsAppMessageMediaOutput(v **GetWhat } sv.FileSize = ptr.Int64(i64) } + case "mimeType": if value != nil { jtv, ok := value.(string) @@ -1008,6 +1015,7 @@ func awsRestjson1_deserializeOpDocumentGetWhatsAppMessageMediaOutput(v **GetWhat } sv.MimeType = ptr.String(jtv) } + default: _, _ = key, value @@ -1174,6 +1182,7 @@ func awsRestjson1_deserializeOpDocumentListLinkedWhatsAppBusinessAccountsOutput( if err := awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummaryList(&sv.LinkedAccounts, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1182,6 +1191,7 @@ func awsRestjson1_deserializeOpDocumentListLinkedWhatsAppBusinessAccountsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1353,10 +1363,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.StatusCode = ptr.Int32(int32(i64)) } + case "tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1533,6 +1545,7 @@ func awsRestjson1_deserializeOpDocumentPostWhatsAppMessageMediaOutput(v **PostWh } sv.MediaId = ptr.String(jtv) } + default: _, _ = key, value @@ -1806,6 +1819,7 @@ func awsRestjson1_deserializeOpDocumentSendWhatsAppMessageOutput(v **SendWhatsAp } sv.MessageId = ptr.String(jtv) } + default: _, _ = key, value @@ -1977,6 +1991,7 @@ func awsRestjson1_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2148,6 +2163,7 @@ func awsRestjson1_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutp } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2475,6 +2491,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedByMetaException(v **types.Acces } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2514,6 +2531,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2553,6 +2571,7 @@ func awsRestjson1_deserializeDocumentDependencyException(v **types.DependencyExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2592,6 +2611,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2631,6 +2651,7 @@ func awsRestjson1_deserializeDocumentInvalidParametersException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2705,10 +2726,12 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.Arn = ptr.String(jtv) } + case "eventDestinations": if err := awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestinations(&sv.EventDestinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2717,6 +2740,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.Id = ptr.String(jtv) } + case "linkDate": if value != nil { switch jtv := value.(type) { @@ -2732,10 +2756,12 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } } + case "phoneNumbers": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummaryList(&sv.PhoneNumbers, value); err != nil { return err } + case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2744,6 +2770,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "wabaId": if value != nil { jtv, ok := value.(string) @@ -2752,6 +2779,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.WabaId = ptr.String(jtv) } + case "wabaName": if value != nil { jtv, ok := value.(string) @@ -2760,6 +2788,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccount(v **types.Lin } sv.WabaName = ptr.String(jtv) } + default: _, _ = key, value @@ -2799,6 +2828,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountIdMetaData(v * } sv.AccountName = ptr.String(jtv) } + case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2807,10 +2837,12 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountIdMetaData(v * } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "unregisteredWhatsAppPhoneNumbers": if err := awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetailList(&sv.UnregisteredWhatsAppPhoneNumbers, value); err != nil { return err } + default: _, _ = key, value @@ -2850,10 +2882,12 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.Arn = ptr.String(jtv) } + case "eventDestinations": if err := awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestinations(&sv.EventDestinations, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2862,6 +2896,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.Id = ptr.String(jtv) } + case "linkDate": if value != nil { switch jtv := value.(type) { @@ -2877,6 +2912,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } } + case "registrationStatus": if value != nil { jtv, ok := value.(string) @@ -2885,6 +2921,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.RegistrationStatus = types.RegistrationStatus(jtv) } + case "wabaId": if value != nil { jtv, ok := value.(string) @@ -2893,6 +2930,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.WabaId = ptr.String(jtv) } + case "wabaName": if value != nil { jtv, ok := value.(string) @@ -2901,6 +2939,7 @@ func awsRestjson1_deserializeDocumentLinkedWhatsAppBusinessAccountSummary(v **ty } sv.WabaName = ptr.String(jtv) } + default: _, _ = key, value @@ -2974,6 +3013,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3013,6 +3053,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -3021,6 +3062,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -3094,6 +3136,7 @@ func awsRestjson1_deserializeDocumentThrottledRequestException(v **types.Throttl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3133,6 +3176,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3172,6 +3216,7 @@ func awsRestjson1_deserializeDocumentWhatsAppBusinessAccountEventDestination(v * } sv.EventDestinationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3245,6 +3290,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.Arn = ptr.String(jtv) } + case "displayPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3253,6 +3299,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.DisplayPhoneNumber = ptr.String(jtv) } + case "displayPhoneNumberName": if value != nil { jtv, ok := value.(string) @@ -3261,6 +3308,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.DisplayPhoneNumberName = ptr.String(jtv) } + case "metaPhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3269,6 +3317,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.MetaPhoneNumberId = ptr.String(jtv) } + case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -3277,6 +3326,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.PhoneNumber = ptr.String(jtv) } + case "phoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3335,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.PhoneNumberId = ptr.String(jtv) } + case "qualityRating": if value != nil { jtv, ok := value.(string) @@ -3293,6 +3344,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberDetail(v **types.WhatsAp } sv.QualityRating = ptr.String(jtv) } + default: _, _ = key, value @@ -3366,6 +3418,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.Arn = ptr.String(jtv) } + case "displayPhoneNumber": if value != nil { jtv, ok := value.(string) @@ -3374,6 +3427,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.DisplayPhoneNumber = ptr.String(jtv) } + case "displayPhoneNumberName": if value != nil { jtv, ok := value.(string) @@ -3382,6 +3436,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.DisplayPhoneNumberName = ptr.String(jtv) } + case "metaPhoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3390,6 +3445,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.MetaPhoneNumberId = ptr.String(jtv) } + case "phoneNumber": if value != nil { jtv, ok := value.(string) @@ -3398,6 +3454,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.PhoneNumber = ptr.String(jtv) } + case "phoneNumberId": if value != nil { jtv, ok := value.(string) @@ -3406,6 +3463,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.PhoneNumberId = ptr.String(jtv) } + case "qualityRating": if value != nil { jtv, ok := value.(string) @@ -3414,6 +3472,7 @@ func awsRestjson1_deserializeDocumentWhatsAppPhoneNumberSummary(v **types.WhatsA } sv.QualityRating = ptr.String(jtv) } + default: _, _ = key, value @@ -3487,10 +3546,12 @@ func awsRestjson1_deserializeDocumentWhatsAppSignupCallbackResult(v **types.What } sv.AssociateInProgressToken = ptr.String(jtv) } + case "linkedAccountsWithIncompleteSetup": if err := awsRestjson1_deserializeDocumentLinkedAccountWithIncompleteSetup(&sv.LinkedAccountsWithIncompleteSetup, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/sqs/deserializers.go b/service/sqs/deserializers.go index 71e0de92c71..93951c739dd 100644 --- a/service/sqs/deserializers.go +++ b/service/sqs/deserializers.go @@ -4020,6 +4020,7 @@ func awsAwsjson10_deserializeDocumentBatchEntryIdsNotDistinct(v **types.BatchEnt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4059,6 +4060,7 @@ func awsAwsjson10_deserializeDocumentBatchRequestTooLong(v **types.BatchRequestT } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4098,6 +4100,7 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Code = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4106,6 +4109,7 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Id = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4114,6 +4118,7 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.Message = ptr.String(jtv) } + case "SenderFault": if value != nil { jtv, ok := value.(bool) @@ -4122,6 +4127,7 @@ func awsAwsjson10_deserializeDocumentBatchResultErrorEntry(v **types.BatchResult } sv.SenderFault = jtv } + default: _, _ = key, value @@ -4235,6 +4241,7 @@ func awsAwsjson10_deserializeDocumentChangeMessageVisibilityBatchResultEntry(v * } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4308,6 +4315,7 @@ func awsAwsjson10_deserializeDocumentDeleteMessageBatchResultEntry(v **types.Del } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -4381,6 +4389,7 @@ func awsAwsjson10_deserializeDocumentEmptyBatchRequest(v **types.EmptyBatchReque } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4420,6 +4429,7 @@ func awsAwsjson10_deserializeDocumentInvalidAddress(v **types.InvalidAddress, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4459,6 +4469,7 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeName(v **types.InvalidAttri } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4498,6 +4509,7 @@ func awsAwsjson10_deserializeDocumentInvalidAttributeValue(v **types.InvalidAttr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4537,6 +4549,7 @@ func awsAwsjson10_deserializeDocumentInvalidBatchEntryId(v **types.InvalidBatchE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4607,6 +4620,7 @@ func awsAwsjson10_deserializeDocumentInvalidMessageContents(v **types.InvalidMes } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4646,6 +4660,7 @@ func awsAwsjson10_deserializeDocumentInvalidSecurity(v **types.InvalidSecurity, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4685,6 +4700,7 @@ func awsAwsjson10_deserializeDocumentKmsAccessDenied(v **types.KmsAccessDenied, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4724,6 +4740,7 @@ func awsAwsjson10_deserializeDocumentKmsDisabled(v **types.KmsDisabled, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4763,6 +4780,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidKeyUsage(v **types.KmsInvalidKeyU } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4802,6 +4820,7 @@ func awsAwsjson10_deserializeDocumentKmsInvalidState(v **types.KmsInvalidState, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4841,6 +4860,7 @@ func awsAwsjson10_deserializeDocumentKmsNotFound(v **types.KmsNotFound, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4880,6 +4900,7 @@ func awsAwsjson10_deserializeDocumentKmsOptInRequired(v **types.KmsOptInRequired } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4919,6 +4940,7 @@ func awsAwsjson10_deserializeDocumentKmsThrottled(v **types.KmsThrottled, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4962,6 +4984,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.ApproximateNumberOfMessagesMoved = i64 } + case "ApproximateNumberOfMessagesToMove": if value != nil { jtv, ok := value.(json.Number) @@ -4974,6 +4997,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.ApproximateNumberOfMessagesToMove = ptr.Int64(i64) } + case "DestinationArn": if value != nil { jtv, ok := value.(string) @@ -4982,6 +5006,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.DestinationArn = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -4990,6 +5015,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.FailureReason = ptr.String(jtv) } + case "MaxNumberOfMessagesPerSecond": if value != nil { jtv, ok := value.(json.Number) @@ -5002,6 +5028,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.MaxNumberOfMessagesPerSecond = ptr.Int32(int32(i64)) } + case "SourceArn": if value != nil { jtv, ok := value.(string) @@ -5010,6 +5037,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.SourceArn = ptr.String(jtv) } + case "StartedTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -5022,6 +5050,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.StartedTimestamp = i64 } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5030,6 +5059,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.Status = ptr.String(jtv) } + case "TaskHandle": if value != nil { jtv, ok := value.(string) @@ -5038,6 +5068,7 @@ func awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntry(v **types.L } sv.TaskHandle = ptr.String(jtv) } + default: _, _ = key, value @@ -5107,6 +5138,7 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ if err := awsAwsjson10_deserializeDocumentMessageSystemAttributeMap(&sv.Attributes, value); err != nil { return err } + case "Body": if value != nil { jtv, ok := value.(string) @@ -5115,6 +5147,7 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.Body = ptr.String(jtv) } + case "MD5OfBody": if value != nil { jtv, ok := value.(string) @@ -5123,6 +5156,7 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MD5OfBody = ptr.String(jtv) } + case "MD5OfMessageAttributes": if value != nil { jtv, ok := value.(string) @@ -5131,10 +5165,12 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MD5OfMessageAttributes = ptr.String(jtv) } + case "MessageAttributes": if err := awsAwsjson10_deserializeDocumentMessageBodyAttributeMap(&sv.MessageAttributes, value); err != nil { return err } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -5143,6 +5179,7 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.MessageId = ptr.String(jtv) } + case "ReceiptHandle": if value != nil { jtv, ok := value.(string) @@ -5151,6 +5188,7 @@ func awsAwsjson10_deserializeDocumentMessage(v **types.Message, value interface{ } sv.ReceiptHandle = ptr.String(jtv) } + default: _, _ = key, value @@ -5186,6 +5224,7 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr if err := awsAwsjson10_deserializeDocumentBinaryList(&sv.BinaryListValues, value); err != nil { return err } + case "BinaryValue": if value != nil { jtv, ok := value.(string) @@ -5198,6 +5237,7 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.BinaryValue = dv } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -5206,10 +5246,12 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.DataType = ptr.String(jtv) } + case "StringListValues": if err := awsAwsjson10_deserializeDocumentStringList(&sv.StringListValues, value); err != nil { return err } + case "StringValue": if value != nil { jtv, ok := value.(string) @@ -5218,6 +5260,7 @@ func awsAwsjson10_deserializeDocumentMessageAttributeValue(v **types.MessageAttr } sv.StringValue = ptr.String(jtv) } + default: _, _ = key, value @@ -5393,6 +5436,7 @@ func awsAwsjson10_deserializeDocumentOverLimit(v **types.OverLimit, value interf } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5432,6 +5476,7 @@ func awsAwsjson10_deserializeDocumentPurgeQueueInProgress(v **types.PurgeQueueIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5507,6 +5552,7 @@ func awsAwsjson10_deserializeDocumentQueueDeletedRecently(v **types.QueueDeleted } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5546,6 +5592,7 @@ func awsAwsjson10_deserializeDocumentQueueDoesNotExist(v **types.QueueDoesNotExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5585,6 +5632,7 @@ func awsAwsjson10_deserializeDocumentQueueNameExists(v **types.QueueNameExists, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5660,6 +5708,7 @@ func awsAwsjson10_deserializeDocumentReceiptHandleIsInvalid(v **types.ReceiptHan } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5699,6 +5748,7 @@ func awsAwsjson10_deserializeDocumentRequestThrottled(v **types.RequestThrottled } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5738,6 +5788,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5777,6 +5828,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.Id = ptr.String(jtv) } + case "MD5OfMessageAttributes": if value != nil { jtv, ok := value.(string) @@ -5785,6 +5837,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageAttributes = ptr.String(jtv) } + case "MD5OfMessageBody": if value != nil { jtv, ok := value.(string) @@ -5793,6 +5846,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageBody = ptr.String(jtv) } + case "MD5OfMessageSystemAttributes": if value != nil { jtv, ok := value.(string) @@ -5801,6 +5855,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MD5OfMessageSystemAttributes = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -5809,6 +5864,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.MessageId = ptr.String(jtv) } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -5817,6 +5873,7 @@ func awsAwsjson10_deserializeDocumentSendMessageBatchResultEntry(v **types.SendM } sv.SequenceNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -5962,6 +6019,7 @@ func awsAwsjson10_deserializeDocumentTooManyEntriesInBatchRequest(v **types.TooM } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6001,6 +6059,7 @@ func awsAwsjson10_deserializeDocumentUnsupportedOperation(v **types.UnsupportedO } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6044,6 +6103,7 @@ func awsAwsjson10_deserializeOpDocumentCancelMessageMoveTaskOutput(v **CancelMes } sv.ApproximateNumberOfMessagesMoved = i64 } + default: _, _ = key, value @@ -6079,10 +6139,12 @@ func awsAwsjson10_deserializeOpDocumentChangeMessageVisibilityBatchOutput(v **Ch if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } + case "Successful": if err := awsAwsjson10_deserializeDocumentChangeMessageVisibilityBatchResultEntryList(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -6122,6 +6184,7 @@ func awsAwsjson10_deserializeOpDocumentCreateQueueOutput(v **CreateQueueOutput, } sv.QueueUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -6157,10 +6220,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteMessageBatchOutput(v **DeleteMessag if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } + case "Successful": if err := awsAwsjson10_deserializeDocumentDeleteMessageBatchResultEntryList(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -6196,6 +6261,7 @@ func awsAwsjson10_deserializeOpDocumentGetQueueAttributesOutput(v **GetQueueAttr if err := awsAwsjson10_deserializeDocumentQueueAttributeMap(&sv.Attributes, value); err != nil { return err } + default: _, _ = key, value @@ -6235,6 +6301,7 @@ func awsAwsjson10_deserializeOpDocumentGetQueueUrlOutput(v **GetQueueUrlOutput, } sv.QueueUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -6274,10 +6341,12 @@ func awsAwsjson10_deserializeOpDocumentListDeadLetterSourceQueuesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "queueUrls": if err := awsAwsjson10_deserializeDocumentQueueUrlList(&sv.QueueUrls, value); err != nil { return err } + default: _, _ = key, value @@ -6313,6 +6382,7 @@ func awsAwsjson10_deserializeOpDocumentListMessageMoveTasksOutput(v **ListMessag if err := awsAwsjson10_deserializeDocumentListMessageMoveTasksResultEntryList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6352,10 +6422,12 @@ func awsAwsjson10_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va } sv.NextToken = ptr.String(jtv) } + case "QueueUrls": if err := awsAwsjson10_deserializeDocumentQueueUrlList(&sv.QueueUrls, value); err != nil { return err } + default: _, _ = key, value @@ -6391,6 +6463,7 @@ func awsAwsjson10_deserializeOpDocumentListQueueTagsOutput(v **ListQueueTagsOutp if err := awsAwsjson10_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6426,6 +6499,7 @@ func awsAwsjson10_deserializeOpDocumentReceiveMessageOutput(v **ReceiveMessageOu if err := awsAwsjson10_deserializeDocumentMessageList(&sv.Messages, value); err != nil { return err } + default: _, _ = key, value @@ -6461,10 +6535,12 @@ func awsAwsjson10_deserializeOpDocumentSendMessageBatchOutput(v **SendMessageBat if err := awsAwsjson10_deserializeDocumentBatchResultErrorEntryList(&sv.Failed, value); err != nil { return err } + case "Successful": if err := awsAwsjson10_deserializeDocumentSendMessageBatchResultEntryList(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -6504,6 +6580,7 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageAttributes = ptr.String(jtv) } + case "MD5OfMessageBody": if value != nil { jtv, ok := value.(string) @@ -6512,6 +6589,7 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageBody = ptr.String(jtv) } + case "MD5OfMessageSystemAttributes": if value != nil { jtv, ok := value.(string) @@ -6520,6 +6598,7 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MD5OfMessageSystemAttributes = ptr.String(jtv) } + case "MessageId": if value != nil { jtv, ok := value.(string) @@ -6528,6 +6607,7 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.MessageId = ptr.String(jtv) } + case "SequenceNumber": if value != nil { jtv, ok := value.(string) @@ -6536,6 +6616,7 @@ func awsAwsjson10_deserializeOpDocumentSendMessageOutput(v **SendMessageOutput, } sv.SequenceNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -6575,6 +6656,7 @@ func awsAwsjson10_deserializeOpDocumentStartMessageMoveTaskOutput(v **StartMessa } sv.TaskHandle = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ssm/deserializers.go b/service/ssm/deserializers.go index 0758a5d6629..33b33e32f9b 100644 --- a/service/ssm/deserializers.go +++ b/service/ssm/deserializers.go @@ -21503,6 +21503,7 @@ func awsAwsjson11_deserializeDocumentAccountSharingInfo(v **types.AccountSharing } sv.AccountId = ptr.String(jtv) } + case "SharedDocumentVersion": if value != nil { jtv, ok := value.(string) @@ -21511,6 +21512,7 @@ func awsAwsjson11_deserializeDocumentAccountSharingInfo(v **types.AccountSharing } sv.SharedDocumentVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -21584,6 +21586,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.ActivationId = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -21599,6 +21602,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } } + case "DefaultInstanceName": if value != nil { jtv, ok := value.(string) @@ -21607,6 +21611,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.DefaultInstanceName = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -21615,6 +21620,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.Description = ptr.String(jtv) } + case "ExpirationDate": if value != nil { switch jtv := value.(type) { @@ -21630,6 +21636,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } } + case "Expired": if value != nil { jtv, ok := value.(bool) @@ -21638,6 +21645,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.Expired = jtv } + case "IamRole": if value != nil { jtv, ok := value.(string) @@ -21646,6 +21654,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.IamRole = ptr.String(jtv) } + case "RegistrationLimit": if value != nil { jtv, ok := value.(json.Number) @@ -21658,6 +21667,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.RegistrationLimit = ptr.Int32(int32(i64)) } + case "RegistrationsCount": if value != nil { jtv, ok := value.(json.Number) @@ -21670,10 +21680,12 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte } sv.RegistrationsCount = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -21747,6 +21759,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -21782,6 +21795,7 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura if err := awsAwsjson11_deserializeDocumentAlarmList(&sv.Alarms, value); err != nil { return err } + case "IgnorePollAlarmFailure": if value != nil { jtv, ok := value.(bool) @@ -21790,6 +21804,7 @@ func awsAwsjson11_deserializeDocumentAlarmConfiguration(v **types.AlarmConfigura } sv.IgnorePollAlarmFailure = jtv } + default: _, _ = key, value @@ -21863,6 +21878,7 @@ func awsAwsjson11_deserializeDocumentAlarmStateInformation(v **types.AlarmStateI } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -21871,6 +21887,7 @@ func awsAwsjson11_deserializeDocumentAlarmStateInformation(v **types.AlarmStateI } sv.State = types.ExternalAlarmState(jtv) } + default: _, _ = key, value @@ -21944,6 +21961,7 @@ func awsAwsjson11_deserializeDocumentAlreadyExistsException(v **types.AlreadyExi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22014,6 +22032,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationId = ptr.String(jtv) } + case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -22022,6 +22041,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationName = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22030,6 +22050,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.AssociationVersion = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -22038,6 +22059,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.DocumentVersion = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -22050,6 +22072,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.Duration = ptr.Int32(int32(i64)) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -22058,6 +22081,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.InstanceId = ptr.String(jtv) } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22073,6 +22097,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -22081,10 +22106,12 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.Name = ptr.String(jtv) } + case "Overview": if err := awsAwsjson11_deserializeDocumentAssociationOverview(&sv.Overview, value); err != nil { return err } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22093,6 +22120,7 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -22105,14 +22133,17 @@ func awsAwsjson11_deserializeDocumentAssociation(v **types.Association, value in } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -22179,6 +22210,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "ApplyOnlyAtCronInterval": if value != nil { jtv, ok := value.(bool) @@ -22187,6 +22219,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ApplyOnlyAtCronInterval = jtv } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -22195,6 +22228,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationId = ptr.String(jtv) } + case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -22203,6 +22237,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationName = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22211,6 +22246,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AssociationVersion = ptr.String(jtv) } + case "AutomationTargetParameterName": if value != nil { jtv, ok := value.(string) @@ -22219,10 +22255,12 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.AutomationTargetParameterName = ptr.String(jtv) } + case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } + case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -22231,6 +22269,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } + case "Date": if value != nil { switch jtv := value.(type) { @@ -22246,6 +22285,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -22254,6 +22294,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.DocumentVersion = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -22266,6 +22307,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.Duration = ptr.Int32(int32(i64)) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -22274,6 +22316,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.InstanceId = ptr.String(jtv) } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22289,6 +22332,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } + case "LastSuccessfulExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22304,6 +22348,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } + case "LastUpdateAssociationDate": if value != nil { switch jtv := value.(type) { @@ -22319,6 +22364,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -22327,6 +22373,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -22335,6 +22382,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -22343,18 +22391,22 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.Name = ptr.String(jtv) } + case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "Overview": if err := awsAwsjson11_deserializeDocumentAssociationOverview(&sv.Overview, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -22363,6 +22415,7 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -22375,10 +22428,12 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "Status": if err := awsAwsjson11_deserializeDocumentAssociationStatus(&sv.Status, value); err != nil { return err } + case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -22387,22 +22442,27 @@ func awsAwsjson11_deserializeDocumentAssociationDescription(v **types.Associatio } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } + case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + default: _, _ = key, value @@ -22476,6 +22536,7 @@ func awsAwsjson11_deserializeDocumentAssociationDoesNotExist(v **types.Associati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22511,6 +22572,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -22519,6 +22581,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.AssociationId = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22527,6 +22590,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.AssociationVersion = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -22542,6 +22606,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } } + case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -22550,6 +22615,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.DetailedStatus = ptr.String(jtv) } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -22558,6 +22624,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.ExecutionId = ptr.String(jtv) } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22573,6 +22640,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } } + case "ResourceCountByStatus": if value != nil { jtv, ok := value.(string) @@ -22581,6 +22649,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.ResourceCountByStatus = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22589,10 +22658,12 @@ func awsAwsjson11_deserializeDocumentAssociationExecution(v **types.AssociationE } sv.Status = ptr.String(jtv) } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + default: _, _ = key, value @@ -22632,6 +22703,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionDoesNotExist(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -22705,6 +22777,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.AssociationId = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -22713,6 +22786,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.AssociationVersion = ptr.String(jtv) } + case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -22721,6 +22795,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.DetailedStatus = ptr.String(jtv) } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -22729,6 +22804,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ExecutionId = ptr.String(jtv) } + case "LastExecutionDate": if value != nil { switch jtv := value.(type) { @@ -22744,10 +22820,12 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } } + case "OutputSource": if err := awsAwsjson11_deserializeDocumentOutputSource(&sv.OutputSource, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -22756,6 +22834,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -22764,6 +22843,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.ResourceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22772,6 +22852,7 @@ func awsAwsjson11_deserializeDocumentAssociationExecutionTarget(v **types.Associ } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -22906,6 +22987,7 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv if err := awsAwsjson11_deserializeDocumentAssociationStatusAggregatedCount(&sv.AssociationStatusAggregatedCount, value); err != nil { return err } + case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -22914,6 +22996,7 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv } sv.DetailedStatus = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -22922,6 +23005,7 @@ func awsAwsjson11_deserializeDocumentAssociationOverview(v **types.AssociationOv } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -22961,6 +23045,7 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.AdditionalInfo = ptr.String(jtv) } + case "Date": if value != nil { switch jtv := value.(type) { @@ -22976,6 +23061,7 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -22984,6 +23070,7 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -22992,6 +23079,7 @@ func awsAwsjson11_deserializeDocumentAssociationStatus(v **types.AssociationStat } sv.Name = types.AssociationStatusName(jtv) } + default: _, _ = key, value @@ -23071,6 +23159,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ApplyOnlyAtCronInterval = jtv } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23079,6 +23168,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationId = ptr.String(jtv) } + case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -23087,6 +23177,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationName = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -23095,10 +23186,12 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.AssociationVersion = ptr.String(jtv) } + case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } + case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -23107,6 +23200,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -23122,6 +23216,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -23130,6 +23225,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.DocumentVersion = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -23142,6 +23238,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.Duration = ptr.Int32(int32(i64)) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -23150,6 +23247,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -23158,6 +23256,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23166,14 +23265,17 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.Name = ptr.String(jtv) } + case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -23182,6 +23284,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -23194,6 +23297,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -23202,18 +23306,22 @@ func awsAwsjson11_deserializeDocumentAssociationVersionInfo(v **types.Associatio } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } + case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -23253,6 +23361,7 @@ func awsAwsjson11_deserializeDocumentAssociationVersionLimitExceeded(v **types.A } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23326,6 +23435,7 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Hash = ptr.String(jtv) } + case "HashType": if value != nil { jtv, ok := value.(string) @@ -23334,6 +23444,7 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.HashType = types.AttachmentHashType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -23342,6 +23453,7 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Name = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -23354,6 +23466,7 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Size = i64 } + case "Url": if value != nil { jtv, ok := value.(string) @@ -23362,6 +23475,7 @@ func awsAwsjson11_deserializeDocumentAttachmentContent(v **types.AttachmentConte } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -23435,6 +23549,7 @@ func awsAwsjson11_deserializeDocumentAttachmentInformation(v **types.AttachmentI } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -23508,6 +23623,7 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotApprovedException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23547,6 +23663,7 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionNotFoundException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23586,6 +23703,7 @@ func awsAwsjson11_deserializeDocumentAutomationDefinitionVersionNotFoundExceptio } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23621,6 +23739,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23629,6 +23748,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AssociationId = ptr.String(jtv) } + case "AutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -23637,6 +23757,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationExecutionId = ptr.String(jtv) } + case "AutomationExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -23645,6 +23766,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationExecutionStatus = types.AutomationExecutionStatus(jtv) } + case "AutomationSubtype": if value != nil { jtv, ok := value.(string) @@ -23653,6 +23775,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.AutomationSubtype = types.AutomationSubtype(jtv) } + case "ChangeRequestName": if value != nil { jtv, ok := value.(string) @@ -23661,6 +23784,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ChangeRequestName = ptr.String(jtv) } + case "CurrentAction": if value != nil { jtv, ok := value.(string) @@ -23669,6 +23793,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.CurrentAction = ptr.String(jtv) } + case "CurrentStepName": if value != nil { jtv, ok := value.(string) @@ -23677,6 +23802,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.CurrentStepName = ptr.String(jtv) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -23685,6 +23811,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -23693,6 +23820,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.DocumentVersion = ptr.String(jtv) } + case "ExecutedBy": if value != nil { jtv, ok := value.(string) @@ -23701,6 +23829,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ExecutedBy = ptr.String(jtv) } + case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -23716,6 +23845,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } + case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -23731,6 +23861,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -23739,6 +23870,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.FailureMessage = ptr.String(jtv) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -23747,6 +23879,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -23755,6 +23888,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.MaxErrors = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -23763,6 +23897,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.Mode = types.ExecutionMode(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -23771,14 +23906,17 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.OpsItemId = ptr.String(jtv) } + case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } + case "ParentAutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -23787,18 +23925,22 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.ParentAutomationExecutionId = ptr.String(jtv) } + case "ProgressCounters": if err := awsAwsjson11_deserializeDocumentProgressCounters(&sv.ProgressCounters, value); err != nil { return err } + case "ResolvedTargets": if err := awsAwsjson11_deserializeDocumentResolvedTargets(&sv.ResolvedTargets, value); err != nil { return err } + case "Runbooks": if err := awsAwsjson11_deserializeDocumentRunbooks(&sv.Runbooks, value); err != nil { return err } + case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -23814,10 +23956,12 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } } + case "StepExecutions": if err := awsAwsjson11_deserializeDocumentStepExecutionList(&sv.StepExecutions, value); err != nil { return err } + case "StepExecutionsTruncated": if value != nil { jtv, ok := value.(bool) @@ -23826,6 +23970,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.StepExecutionsTruncated = jtv } + case "Target": if value != nil { jtv, ok := value.(string) @@ -23834,10 +23979,12 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.Target = ptr.String(jtv) } + case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } + case "TargetLocationsURL": if value != nil { jtv, ok := value.(string) @@ -23846,10 +23993,12 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.TargetLocationsURL = ptr.String(jtv) } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -23858,18 +24007,22 @@ func awsAwsjson11_deserializeDocumentAutomationExecution(v **types.AutomationExe } sv.TargetParameterName = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + case "Variables": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Variables, value); err != nil { return err } + default: _, _ = key, value @@ -23909,6 +24062,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionLimitExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -23944,6 +24098,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "AssociationId": if value != nil { jtv, ok := value.(string) @@ -23952,6 +24107,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AssociationId = ptr.String(jtv) } + case "AutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -23960,6 +24116,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationExecutionId = ptr.String(jtv) } + case "AutomationExecutionStatus": if value != nil { jtv, ok := value.(string) @@ -23968,6 +24125,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationExecutionStatus = types.AutomationExecutionStatus(jtv) } + case "AutomationSubtype": if value != nil { jtv, ok := value.(string) @@ -23976,6 +24134,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationSubtype = types.AutomationSubtype(jtv) } + case "AutomationType": if value != nil { jtv, ok := value.(string) @@ -23984,6 +24143,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.AutomationType = types.AutomationType(jtv) } + case "ChangeRequestName": if value != nil { jtv, ok := value.(string) @@ -23992,6 +24152,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ChangeRequestName = ptr.String(jtv) } + case "CurrentAction": if value != nil { jtv, ok := value.(string) @@ -24000,6 +24161,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.CurrentAction = ptr.String(jtv) } + case "CurrentStepName": if value != nil { jtv, ok := value.(string) @@ -24008,6 +24170,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.CurrentStepName = ptr.String(jtv) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -24016,6 +24179,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -24024,6 +24188,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.DocumentVersion = ptr.String(jtv) } + case "ExecutedBy": if value != nil { jtv, ok := value.(string) @@ -24032,6 +24197,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ExecutedBy = ptr.String(jtv) } + case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -24047,6 +24213,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } + case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -24062,6 +24229,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -24070,6 +24238,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.FailureMessage = ptr.String(jtv) } + case "LogFile": if value != nil { jtv, ok := value.(string) @@ -24078,6 +24247,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.LogFile = ptr.String(jtv) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -24086,6 +24256,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -24094,6 +24265,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.MaxErrors = ptr.String(jtv) } + case "Mode": if value != nil { jtv, ok := value.(string) @@ -24102,6 +24274,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.Mode = types.ExecutionMode(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -24110,10 +24283,12 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.OpsItemId = ptr.String(jtv) } + case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } + case "ParentAutomationExecutionId": if value != nil { jtv, ok := value.(string) @@ -24122,14 +24297,17 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.ParentAutomationExecutionId = ptr.String(jtv) } + case "ResolvedTargets": if err := awsAwsjson11_deserializeDocumentResolvedTargets(&sv.ResolvedTargets, value); err != nil { return err } + case "Runbooks": if err := awsAwsjson11_deserializeDocumentRunbooks(&sv.Runbooks, value); err != nil { return err } + case "ScheduledTime": if value != nil { switch jtv := value.(type) { @@ -24145,6 +24323,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } } + case "Target": if value != nil { jtv, ok := value.(string) @@ -24153,6 +24332,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.Target = ptr.String(jtv) } + case "TargetLocationsURL": if value != nil { jtv, ok := value.(string) @@ -24161,10 +24341,12 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.TargetLocationsURL = ptr.String(jtv) } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -24173,14 +24355,17 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionMetadata(v **types.Autom } sv.TargetParameterName = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + default: _, _ = key, value @@ -24254,6 +24439,7 @@ func awsAwsjson11_deserializeDocumentAutomationExecutionNotFoundException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24363,6 +24549,7 @@ func awsAwsjson11_deserializeDocumentAutomationStepNotFoundException(v **types.A } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -24510,6 +24697,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(v **types.CloudWatch } sv.CloudWatchLogGroupName = ptr.String(jtv) } + case "CloudWatchOutputEnabled": if value != nil { jtv, ok := value.(bool) @@ -24518,6 +24706,7 @@ func awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(v **types.CloudWatch } sv.CloudWatchOutputEnabled = jtv } + default: _, _ = key, value @@ -24553,10 +24742,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "CloudWatchOutputConfig": if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } + case "CommandId": if value != nil { jtv, ok := value.(string) @@ -24565,6 +24756,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CommandId = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -24573,6 +24765,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Comment = ptr.String(jtv) } + case "CompletedCount": if value != nil { jtv, ok := value.(json.Number) @@ -24585,6 +24778,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.CompletedCount = int32(i64) } + case "DeliveryTimedOutCount": if value != nil { jtv, ok := value.(json.Number) @@ -24597,6 +24791,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DeliveryTimedOutCount = int32(i64) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -24605,6 +24800,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -24613,6 +24809,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.DocumentVersion = ptr.String(jtv) } + case "ErrorCount": if value != nil { jtv, ok := value.(json.Number) @@ -24625,6 +24822,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ErrorCount = int32(i64) } + case "ExpiresAfter": if value != nil { switch jtv := value.(type) { @@ -24640,10 +24838,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } } + case "InstanceIds": if err := awsAwsjson11_deserializeDocumentInstanceIdList(&sv.InstanceIds, value); err != nil { return err } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -24652,6 +24852,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -24660,10 +24861,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.MaxErrors = ptr.String(jtv) } + case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } + case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -24672,6 +24875,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3BucketName = ptr.String(jtv) } + case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -24680,6 +24884,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3KeyPrefix = ptr.String(jtv) } + case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -24688,10 +24893,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.OutputS3Region = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "RequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -24707,6 +24914,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -24715,6 +24923,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.ServiceRole = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24723,6 +24932,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.Status = types.CommandStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -24731,6 +24941,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.StatusDetails = ptr.String(jtv) } + case "TargetCount": if value != nil { jtv, ok := value.(json.Number) @@ -24743,10 +24954,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.TargetCount = int32(i64) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -24759,10 +24972,12 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + default: _, _ = key, value @@ -24798,6 +25013,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } + case "CommandId": if value != nil { jtv, ok := value.(string) @@ -24806,10 +25022,12 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.CommandId = ptr.String(jtv) } + case "CommandPlugins": if err := awsAwsjson11_deserializeDocumentCommandPluginList(&sv.CommandPlugins, value); err != nil { return err } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -24818,6 +25036,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.Comment = ptr.String(jtv) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -24826,6 +25045,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -24834,6 +25054,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.DocumentVersion = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -24842,6 +25063,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.InstanceId = ptr.String(jtv) } + case "InstanceName": if value != nil { jtv, ok := value.(string) @@ -24850,10 +25072,12 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.InstanceName = ptr.String(jtv) } + case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } + case "RequestedDateTime": if value != nil { switch jtv := value.(type) { @@ -24869,6 +25093,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -24877,6 +25102,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.ServiceRole = ptr.String(jtv) } + case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -24885,6 +25111,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StandardErrorUrl = ptr.String(jtv) } + case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -24893,6 +25120,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StandardOutputUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -24901,6 +25129,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.Status = types.CommandInvocationStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -24909,6 +25138,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.StatusDetails = ptr.String(jtv) } + case "TraceOutput": if value != nil { jtv, ok := value.(string) @@ -24917,6 +25147,7 @@ func awsAwsjson11_deserializeDocumentCommandInvocation(v **types.CommandInvocati } sv.TraceOutput = ptr.String(jtv) } + default: _, _ = key, value @@ -25024,6 +25255,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Name = ptr.String(jtv) } + case "Output": if value != nil { jtv, ok := value.(string) @@ -25032,6 +25264,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Output = ptr.String(jtv) } + case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -25040,6 +25273,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3BucketName = ptr.String(jtv) } + case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -25048,6 +25282,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3KeyPrefix = ptr.String(jtv) } + case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -25056,6 +25291,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.OutputS3Region = ptr.String(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -25068,6 +25304,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.ResponseCode = int32(i64) } + case "ResponseFinishDateTime": if value != nil { switch jtv := value.(type) { @@ -25083,6 +25320,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } } + case "ResponseStartDateTime": if value != nil { switch jtv := value.(type) { @@ -25098,6 +25336,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } } + case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -25106,6 +25345,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StandardErrorUrl = ptr.String(jtv) } + case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -25114,6 +25354,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StandardOutputUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -25122,6 +25363,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.Status = types.CommandPluginStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -25130,6 +25372,7 @@ func awsAwsjson11_deserializeDocumentCommandPlugin(v **types.CommandPlugin, valu } sv.StatusDetails = ptr.String(jtv) } + default: _, _ = key, value @@ -25203,6 +25446,7 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } sv.ExecutionId = ptr.String(jtv) } + case "ExecutionTime": if value != nil { switch jtv := value.(type) { @@ -25218,6 +25462,7 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } } + case "ExecutionType": if value != nil { jtv, ok := value.(string) @@ -25226,6 +25471,7 @@ func awsAwsjson11_deserializeDocumentComplianceExecutionSummary(v **types.Compli } sv.ExecutionType = ptr.String(jtv) } + default: _, _ = key, value @@ -25265,14 +25511,17 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ComplianceType = ptr.String(jtv) } + case "Details": if err := awsAwsjson11_deserializeDocumentComplianceItemDetails(&sv.Details, value); err != nil { return err } + case "ExecutionSummary": if err := awsAwsjson11_deserializeDocumentComplianceExecutionSummary(&sv.ExecutionSummary, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -25281,6 +25530,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Id = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -25289,6 +25539,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -25297,6 +25548,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.ResourceType = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -25305,6 +25557,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Severity = types.ComplianceSeverity(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -25313,6 +25566,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Status = types.ComplianceStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -25321,6 +25575,7 @@ func awsAwsjson11_deserializeDocumentComplianceItem(v **types.ComplianceItem, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -25430,14 +25685,17 @@ func awsAwsjson11_deserializeDocumentComplianceSummaryItem(v **types.ComplianceS } sv.ComplianceType = ptr.String(jtv) } + case "CompliantSummary": if err := awsAwsjson11_deserializeDocumentCompliantSummary(&sv.CompliantSummary, value); err != nil { return err } + case "NonCompliantSummary": if err := awsAwsjson11_deserializeDocumentNonCompliantSummary(&sv.NonCompliantSummary, value); err != nil { return err } + default: _, _ = key, value @@ -25511,6 +25769,7 @@ func awsAwsjson11_deserializeDocumentComplianceTypeCountLimitExceededException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25554,10 +25813,12 @@ func awsAwsjson11_deserializeDocumentCompliantSummary(v **types.CompliantSummary } sv.CompliantCount = int32(i64) } + case "SeveritySummary": if err := awsAwsjson11_deserializeDocumentSeveritySummary(&sv.SeveritySummary, value); err != nil { return err } + default: _, _ = key, value @@ -25593,6 +25854,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "ApplyOnlyAtCronInterval": if value != nil { jtv, ok := value.(bool) @@ -25601,6 +25863,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ApplyOnlyAtCronInterval = jtv } + case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -25609,6 +25872,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.AssociationName = ptr.String(jtv) } + case "AutomationTargetParameterName": if value != nil { jtv, ok := value.(string) @@ -25617,10 +25881,12 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.AutomationTargetParameterName = ptr.String(jtv) } + case "CalendarNames": if err := awsAwsjson11_deserializeDocumentCalendarNameOrARNList(&sv.CalendarNames, value); err != nil { return err } + case "ComplianceSeverity": if value != nil { jtv, ok := value.(string) @@ -25629,6 +25895,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ComplianceSeverity = types.AssociationComplianceSeverity(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -25637,6 +25904,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.DocumentVersion = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -25649,6 +25917,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.Duration = ptr.Int32(int32(i64)) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -25657,6 +25926,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.InstanceId = ptr.String(jtv) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -25665,6 +25935,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -25673,6 +25944,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -25681,14 +25953,17 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.Name = ptr.String(jtv) } + case "OutputLocation": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(&sv.OutputLocation, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) @@ -25697,6 +25972,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ScheduleExpression = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -25709,6 +25985,7 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "SyncCompliance": if value != nil { jtv, ok := value.(string) @@ -25717,18 +25994,22 @@ func awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(v **type } sv.SyncCompliance = types.AssociationSyncCompliance(jtv) } + case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -25768,6 +26049,7 @@ func awsAwsjson11_deserializeDocumentCustomSchemaCountLimitExceededException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25807,6 +26089,7 @@ func awsAwsjson11_deserializeDocumentDocumentAlreadyExists(v **types.DocumentAlr } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -25846,6 +26129,7 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.DefaultVersion = ptr.String(jtv) } + case "DefaultVersionName": if value != nil { jtv, ok := value.(string) @@ -25854,6 +26138,7 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.DefaultVersionName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -25862,6 +26147,7 @@ func awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(v **types } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -25901,10 +26187,12 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.ApprovedVersion = ptr.String(jtv) } + case "AttachmentsInformation": if err := awsAwsjson11_deserializeDocumentAttachmentInformationList(&sv.AttachmentsInformation, value); err != nil { return err } + case "Author": if value != nil { jtv, ok := value.(string) @@ -25913,14 +26201,17 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Author = ptr.String(jtv) } + case "Category": if err := awsAwsjson11_deserializeDocumentCategoryList(&sv.Category, value); err != nil { return err } + case "CategoryEnum": if err := awsAwsjson11_deserializeDocumentCategoryEnumList(&sv.CategoryEnum, value); err != nil { return err } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -25936,6 +26227,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } } + case "DefaultVersion": if value != nil { jtv, ok := value.(string) @@ -25944,6 +26236,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DefaultVersion = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -25952,6 +26245,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -25960,6 +26254,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DisplayName = ptr.String(jtv) } + case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -25968,6 +26263,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentFormat = types.DocumentFormat(jtv) } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -25976,6 +26272,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentType = types.DocumentType(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -25984,6 +26281,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.DocumentVersion = ptr.String(jtv) } + case "Hash": if value != nil { jtv, ok := value.(string) @@ -25992,6 +26290,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Hash = ptr.String(jtv) } + case "HashType": if value != nil { jtv, ok := value.(string) @@ -26000,6 +26299,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.HashType = types.DocumentHashType(jtv) } + case "LatestVersion": if value != nil { jtv, ok := value.(string) @@ -26008,6 +26308,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.LatestVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -26016,6 +26317,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -26024,10 +26326,12 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Owner = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentDocumentParameterList(&sv.Parameters, value); err != nil { return err } + case "PendingReviewVersion": if value != nil { jtv, ok := value.(string) @@ -26036,18 +26340,22 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.PendingReviewVersion = ptr.String(jtv) } + case "PlatformTypes": if err := awsAwsjson11_deserializeDocumentPlatformTypeList(&sv.PlatformTypes, value); err != nil { return err } + case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } + case "ReviewInformation": if err := awsAwsjson11_deserializeDocumentReviewInformationList(&sv.ReviewInformation, value); err != nil { return err } + case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26056,6 +26364,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.ReviewStatus = types.ReviewStatus(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -26064,6 +26373,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.SchemaVersion = ptr.String(jtv) } + case "Sha1": if value != nil { jtv, ok := value.(string) @@ -26072,6 +26382,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Sha1 = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -26080,6 +26391,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.Status = types.DocumentStatus(jtv) } + case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -26088,10 +26400,12 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.StatusInformation = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -26100,6 +26414,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.TargetType = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26108,6 +26423,7 @@ func awsAwsjson11_deserializeDocumentDocumentDescription(v **types.DocumentDescr } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -26147,6 +26463,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Author = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -26162,6 +26479,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -26170,6 +26488,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DisplayName = ptr.String(jtv) } + case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -26178,6 +26497,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentFormat = types.DocumentFormat(jtv) } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -26186,6 +26506,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentType = types.DocumentType(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -26194,6 +26515,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.DocumentVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -26202,6 +26524,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -26210,14 +26533,17 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.Owner = ptr.String(jtv) } + case "PlatformTypes": if err := awsAwsjson11_deserializeDocumentPlatformTypeList(&sv.PlatformTypes, value); err != nil { return err } + case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } + case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26226,6 +26552,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.ReviewStatus = types.ReviewStatus(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -26234,10 +26561,12 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.SchemaVersion = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -26246,6 +26575,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.TargetType = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26254,6 +26584,7 @@ func awsAwsjson11_deserializeDocumentDocumentIdentifier(v **types.DocumentIdenti } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -26327,6 +26658,7 @@ func awsAwsjson11_deserializeDocumentDocumentLimitExceeded(v **types.DocumentLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26362,6 +26694,7 @@ func awsAwsjson11_deserializeDocumentDocumentMetadataResponseInfo(v **types.Docu if err := awsAwsjson11_deserializeDocumentDocumentReviewerResponseList(&sv.ReviewerResponse, value); err != nil { return err } + default: _, _ = key, value @@ -26401,6 +26734,7 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.DefaultValue = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -26409,6 +26743,7 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -26417,6 +26752,7 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -26425,6 +26761,7 @@ func awsAwsjson11_deserializeDocumentDocumentParameter(v **types.DocumentParamet } sv.Type = types.DocumentParameterType(jtv) } + default: _, _ = key, value @@ -26498,6 +26835,7 @@ func awsAwsjson11_deserializeDocumentDocumentPermissionLimit(v **types.DocumentP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -26537,6 +26875,7 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.Name = ptr.String(jtv) } + case "RequireType": if value != nil { jtv, ok := value.(string) @@ -26545,6 +26884,7 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.RequireType = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -26553,6 +26893,7 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.Version = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26561,6 +26902,7 @@ func awsAwsjson11_deserializeDocumentDocumentRequires(v **types.DocumentRequires } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -26668,6 +27010,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewCommentSource(v **types.Docum } sv.Content = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -26676,6 +27019,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewCommentSource(v **types.Docum } sv.Type = types.DocumentReviewCommentType(jtv) } + default: _, _ = key, value @@ -26745,6 +27089,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do if err := awsAwsjson11_deserializeDocumentDocumentReviewCommentList(&sv.Comment, value); err != nil { return err } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -26760,6 +27105,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } } + case "Reviewer": if value != nil { jtv, ok := value.(string) @@ -26768,6 +27114,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } sv.Reviewer = ptr.String(jtv) } + case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26776,6 +27123,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } sv.ReviewStatus = types.ReviewStatus(jtv) } + case "UpdatedTime": if value != nil { switch jtv := value.(type) { @@ -26791,6 +27139,7 @@ func awsAwsjson11_deserializeDocumentDocumentReviewerResponseSource(v **types.Do } } + default: _, _ = key, value @@ -26837,6 +27186,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -26845,6 +27195,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DisplayName = ptr.String(jtv) } + case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -26853,6 +27204,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DocumentFormat = types.DocumentFormat(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -26861,6 +27213,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.DocumentVersion = ptr.String(jtv) } + case "IsDefaultVersion": if value != nil { jtv, ok := value.(bool) @@ -26869,6 +27222,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.IsDefaultVersion = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -26877,6 +27231,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.Name = ptr.String(jtv) } + case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -26885,6 +27240,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.ReviewStatus = types.ReviewStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -26893,6 +27249,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.Status = types.DocumentStatus(jtv) } + case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -26901,6 +27258,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.StatusInformation = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -26909,6 +27267,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionInfo(v **types.DocumentVersi } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -26948,6 +27307,7 @@ func awsAwsjson11_deserializeDocumentDocumentVersionLimitExceeded(v **types.Docu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27021,6 +27381,7 @@ func awsAwsjson11_deserializeDocumentDoesNotExistException(v **types.DoesNotExis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27060,6 +27421,7 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentContent(v **types.Duplicat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27099,6 +27461,7 @@ func awsAwsjson11_deserializeDocumentDuplicateDocumentVersionName(v **types.Dupl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27165,10 +27528,12 @@ func awsAwsjson11_deserializeDocumentEffectivePatch(v **types.EffectivePatch, va if err := awsAwsjson11_deserializeDocumentPatch(&sv.Patch, value); err != nil { return err } + case "PatchStatus": if err := awsAwsjson11_deserializeDocumentPatchStatus(&sv.PatchStatus, value); err != nil { return err } + default: _, _ = key, value @@ -27274,6 +27639,7 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre if err := awsAwsjson11_deserializeDocumentCreateAssociationBatchRequestEntry(&sv.Entry, value); err != nil { return err } + case "Fault": if value != nil { jtv, ok := value.(string) @@ -27282,6 +27648,7 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre } sv.Fault = types.Fault(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -27290,6 +27657,7 @@ func awsAwsjson11_deserializeDocumentFailedCreateAssociation(v **types.FailedCre } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27359,6 +27727,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Details, value); err != nil { return err } + case "FailureStage": if value != nil { jtv, ok := value.(string) @@ -27367,6 +27736,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.FailureStage = ptr.String(jtv) } + case "FailureType": if value != nil { jtv, ok := value.(string) @@ -27375,6 +27745,7 @@ func awsAwsjson11_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.FailureType = ptr.String(jtv) } + default: _, _ = key, value @@ -27414,6 +27785,7 @@ func awsAwsjson11_deserializeDocumentFeatureNotAvailableException(v **types.Feat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27487,6 +27859,7 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.Policy = ptr.String(jtv) } + case "PolicyHash": if value != nil { jtv, ok := value.(string) @@ -27495,6 +27868,7 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.PolicyHash = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -27503,6 +27877,7 @@ func awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntry(v **types. } sv.PolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -27542,6 +27917,7 @@ func awsAwsjson11_deserializeDocumentHierarchyLevelLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27581,6 +27957,7 @@ func awsAwsjson11_deserializeDocumentHierarchyTypeMismatchException(v **types.Hi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27620,6 +27997,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatch(v **types.Idemp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27659,6 +28037,7 @@ func awsAwsjson11_deserializeDocumentIncompatiblePolicyException(v **types.Incom } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -27698,10 +28077,12 @@ func awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(v **t } sv.DetailedStatus = ptr.String(jtv) } + case "InstanceAssociationStatusAggregatedCount": if err := awsAwsjson11_deserializeDocumentInstanceAssociationStatusAggregatedCount(&sv.InstanceAssociationStatusAggregatedCount, value); err != nil { return err } + default: _, _ = key, value @@ -27741,6 +28122,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.AssociationId = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -27749,6 +28131,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.AssociationVersion = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -27757,6 +28140,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.Content = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -27765,6 +28149,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociation(v **types.InstanceAssoc } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -27834,6 +28219,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationOutputLocation(v **types if err := awsAwsjson11_deserializeDocumentS3OutputLocation(&sv.S3Location, value); err != nil { return err } + default: _, _ = key, value @@ -27869,6 +28255,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationOutputUrl(v **types.Inst if err := awsAwsjson11_deserializeDocumentS3OutputUrl(&sv.S3OutputUrl, value); err != nil { return err } + default: _, _ = key, value @@ -27948,6 +28335,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationId = ptr.String(jtv) } + case "AssociationName": if value != nil { jtv, ok := value.(string) @@ -27956,6 +28344,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationName = ptr.String(jtv) } + case "AssociationVersion": if value != nil { jtv, ok := value.(string) @@ -27964,6 +28353,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.AssociationVersion = ptr.String(jtv) } + case "DetailedStatus": if value != nil { jtv, ok := value.(string) @@ -27972,6 +28362,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.DetailedStatus = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -27980,6 +28371,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.DocumentVersion = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -27988,6 +28380,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.ErrorCode = ptr.String(jtv) } + case "ExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28003,6 +28396,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } } + case "ExecutionSummary": if value != nil { jtv, ok := value.(string) @@ -28011,6 +28405,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.ExecutionSummary = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28019,6 +28414,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.InstanceId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -28027,10 +28423,12 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.Name = ptr.String(jtv) } + case "OutputUrl": if err := awsAwsjson11_deserializeDocumentInstanceAssociationOutputUrl(&sv.OutputUrl, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -28039,6 +28437,7 @@ func awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfo(v **types.Ins } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -28148,6 +28547,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ActivationId = ptr.String(jtv) } + case "AgentVersion": if value != nil { jtv, ok := value.(string) @@ -28156,10 +28556,12 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.AgentVersion = ptr.String(jtv) } + case "AssociationOverview": if err := awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(&sv.AssociationOverview, value); err != nil { return err } + case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -28168,6 +28570,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.AssociationStatus = ptr.String(jtv) } + case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -28176,6 +28579,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ComputerName = ptr.String(jtv) } + case "IamRole": if value != nil { jtv, ok := value.(string) @@ -28184,6 +28588,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IamRole = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28192,6 +28597,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.InstanceId = ptr.String(jtv) } + case "IPAddress": if value != nil { jtv, ok := value.(string) @@ -28200,6 +28606,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IPAddress = ptr.String(jtv) } + case "IsLatestVersion": if value != nil { jtv, ok := value.(bool) @@ -28208,6 +28615,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.IsLatestVersion = ptr.Bool(jtv) } + case "LastAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28223,6 +28631,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } + case "LastPingDateTime": if value != nil { switch jtv := value.(type) { @@ -28238,6 +28647,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } + case "LastSuccessfulAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28253,6 +28663,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -28261,6 +28672,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.Name = ptr.String(jtv) } + case "PingStatus": if value != nil { jtv, ok := value.(string) @@ -28269,6 +28681,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PingStatus = types.PingStatus(jtv) } + case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -28277,6 +28690,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformName = ptr.String(jtv) } + case "PlatformType": if value != nil { jtv, ok := value.(string) @@ -28285,6 +28699,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformType = types.PlatformType(jtv) } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -28293,6 +28708,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.PlatformVersion = ptr.String(jtv) } + case "RegistrationDate": if value != nil { switch jtv := value.(type) { @@ -28308,6 +28724,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -28316,6 +28733,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.ResourceType = types.ResourceType(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -28324,6 +28742,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.SourceId = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -28332,6 +28751,7 @@ func awsAwsjson11_deserializeDocumentInstanceInformation(v **types.InstanceInfor } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -28405,6 +28825,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.BaselineId = ptr.String(jtv) } + case "CriticalNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -28417,6 +28838,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.CriticalNonCompliantCount = ptr.Int32(int32(i64)) } + case "FailedCount": if value != nil { jtv, ok := value.(json.Number) @@ -28429,6 +28851,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.FailedCount = int32(i64) } + case "InstalledCount": if value != nil { jtv, ok := value.(json.Number) @@ -28441,6 +28864,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledCount = int32(i64) } + case "InstalledOtherCount": if value != nil { jtv, ok := value.(json.Number) @@ -28453,6 +28877,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledOtherCount = int32(i64) } + case "InstalledPendingRebootCount": if value != nil { jtv, ok := value.(json.Number) @@ -28465,6 +28890,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledPendingRebootCount = ptr.Int32(int32(i64)) } + case "InstalledRejectedCount": if value != nil { jtv, ok := value.(json.Number) @@ -28477,6 +28903,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstalledRejectedCount = ptr.Int32(int32(i64)) } + case "InstallOverrideList": if value != nil { jtv, ok := value.(string) @@ -28485,6 +28912,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstallOverrideList = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28493,6 +28921,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.InstanceId = ptr.String(jtv) } + case "LastNoRebootInstallOperationTime": if value != nil { switch jtv := value.(type) { @@ -28508,6 +28937,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } + case "MissingCount": if value != nil { jtv, ok := value.(json.Number) @@ -28520,6 +28950,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.MissingCount = int32(i64) } + case "NotApplicableCount": if value != nil { jtv, ok := value.(json.Number) @@ -28532,6 +28963,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.NotApplicableCount = int32(i64) } + case "Operation": if value != nil { jtv, ok := value.(string) @@ -28540,6 +28972,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.Operation = types.PatchOperationType(jtv) } + case "OperationEndTime": if value != nil { switch jtv := value.(type) { @@ -28555,6 +28988,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } + case "OperationStartTime": if value != nil { switch jtv := value.(type) { @@ -28570,6 +29004,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } } + case "OtherNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -28582,6 +29017,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.OtherNonCompliantCount = ptr.Int32(int32(i64)) } + case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -28590,6 +29026,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.OwnerInformation = ptr.String(jtv) } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -28598,6 +29035,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.PatchGroup = ptr.String(jtv) } + case "RebootOption": if value != nil { jtv, ok := value.(string) @@ -28606,6 +29044,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.RebootOption = types.RebootOption(jtv) } + case "SecurityNonCompliantCount": if value != nil { jtv, ok := value.(json.Number) @@ -28618,6 +29057,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.SecurityNonCompliantCount = ptr.Int32(int32(i64)) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -28626,6 +29066,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.SnapshotId = ptr.String(jtv) } + case "UnreportedNotApplicableCount": if value != nil { jtv, ok := value.(json.Number) @@ -28638,6 +29079,7 @@ func awsAwsjson11_deserializeDocumentInstancePatchState(v **types.InstancePatchS } sv.UnreportedNotApplicableCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -28779,6 +29221,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ActivationId = ptr.String(jtv) } + case "AgentVersion": if value != nil { jtv, ok := value.(string) @@ -28787,6 +29230,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.AgentVersion = ptr.String(jtv) } + case "Architecture": if value != nil { jtv, ok := value.(string) @@ -28795,10 +29239,12 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Architecture = ptr.String(jtv) } + case "AssociationOverview": if err := awsAwsjson11_deserializeDocumentInstanceAggregatedAssociationOverview(&sv.AssociationOverview, value); err != nil { return err } + case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -28807,6 +29253,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.AssociationStatus = ptr.String(jtv) } + case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -28815,6 +29262,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ComputerName = ptr.String(jtv) } + case "IamRole": if value != nil { jtv, ok := value.(string) @@ -28823,6 +29271,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.IamRole = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -28831,6 +29280,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceId = ptr.String(jtv) } + case "InstanceRole": if value != nil { jtv, ok := value.(string) @@ -28839,6 +29289,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceRole = ptr.String(jtv) } + case "InstanceState": if value != nil { jtv, ok := value.(string) @@ -28847,6 +29298,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceState = ptr.String(jtv) } + case "InstanceType": if value != nil { jtv, ok := value.(string) @@ -28855,6 +29307,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.InstanceType = ptr.String(jtv) } + case "IPAddress": if value != nil { jtv, ok := value.(string) @@ -28863,6 +29316,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.IPAddress = ptr.String(jtv) } + case "KeyName": if value != nil { jtv, ok := value.(string) @@ -28871,6 +29325,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.KeyName = ptr.String(jtv) } + case "LastAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28886,6 +29341,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } + case "LastPingDateTime": if value != nil { switch jtv := value.(type) { @@ -28901,6 +29357,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } + case "LastSuccessfulAssociationExecutionDate": if value != nil { switch jtv := value.(type) { @@ -28916,6 +29373,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } + case "LaunchTime": if value != nil { switch jtv := value.(type) { @@ -28931,6 +29389,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -28939,6 +29398,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.Name = ptr.String(jtv) } + case "PingStatus": if value != nil { jtv, ok := value.(string) @@ -28947,6 +29407,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PingStatus = types.PingStatus(jtv) } + case "PlatformName": if value != nil { jtv, ok := value.(string) @@ -28955,6 +29416,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformName = ptr.String(jtv) } + case "PlatformType": if value != nil { jtv, ok := value.(string) @@ -28963,6 +29425,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformType = types.PlatformType(jtv) } + case "PlatformVersion": if value != nil { jtv, ok := value.(string) @@ -28971,6 +29434,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.PlatformVersion = ptr.String(jtv) } + case "RegistrationDate": if value != nil { switch jtv := value.(type) { @@ -28986,6 +29450,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -28994,6 +29459,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.ResourceType = ptr.String(jtv) } + case "SourceId": if value != nil { jtv, ok := value.(string) @@ -29002,6 +29468,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SourceId = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -29010,6 +29477,7 @@ func awsAwsjson11_deserializeDocumentInstanceProperty(v **types.InstanceProperty } sv.SourceType = types.SourceType(jtv) } + default: _, _ = key, value @@ -29049,6 +29517,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29088,6 +29557,7 @@ func awsAwsjson11_deserializeDocumentInvalidActivation(v **types.InvalidActivati } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29127,6 +29597,7 @@ func awsAwsjson11_deserializeDocumentInvalidActivationId(v **types.InvalidActiva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29166,6 +29637,7 @@ func awsAwsjson11_deserializeDocumentInvalidAggregatorException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29205,6 +29677,7 @@ func awsAwsjson11_deserializeDocumentInvalidAllowedPatternException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29244,6 +29717,7 @@ func awsAwsjson11_deserializeDocumentInvalidAssociation(v **types.InvalidAssocia } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29283,6 +29757,7 @@ func awsAwsjson11_deserializeDocumentInvalidAssociationVersion(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29322,6 +29797,7 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationExecutionParametersExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29361,6 +29837,7 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationSignalException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29400,6 +29877,7 @@ func awsAwsjson11_deserializeDocumentInvalidAutomationStatusUpdateException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29470,6 +29948,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeleteInventoryParametersException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29509,6 +29988,7 @@ func awsAwsjson11_deserializeDocumentInvalidDeletionIdException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29548,6 +30028,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocument(v **types.InvalidDocument, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29587,6 +30068,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentContent(v **types.InvalidDoc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29626,6 +30108,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentOperation(v **types.InvalidD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29665,6 +30148,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentSchemaVersion(v **types.Inva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29704,6 +30188,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentType(v **types.InvalidDocume } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29743,6 +30228,7 @@ func awsAwsjson11_deserializeDocumentInvalidDocumentVersion(v **types.InvalidDoc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29782,6 +30268,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilter(v **types.InvalidFilter, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29852,6 +30339,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilterOption(v **types.InvalidFilter } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29891,6 +30379,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilterValue(v **types.InvalidFilterV } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29930,6 +30419,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceId(v **types.InvalidInstance } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -29969,6 +30459,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstanceInformationFilterValue(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30008,6 +30499,7 @@ func awsAwsjson11_deserializeDocumentInvalidInstancePropertyFilterValue(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30047,6 +30539,7 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryGroupException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30086,6 +30579,7 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryItemContextException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30125,6 +30619,7 @@ func awsAwsjson11_deserializeDocumentInvalidInventoryRequestException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30164,6 +30659,7 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval } sv.Message = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -30172,6 +30668,7 @@ func awsAwsjson11_deserializeDocumentInvalidItemContentException(v **types.Inval } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -30211,6 +30708,7 @@ func awsAwsjson11_deserializeDocumentInvalidKeyId(v **types.InvalidKeyId, value } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30250,6 +30748,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextToken(v **types.InvalidNextToken } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30289,6 +30788,7 @@ func awsAwsjson11_deserializeDocumentInvalidNotificationConfig(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30328,6 +30828,7 @@ func awsAwsjson11_deserializeDocumentInvalidOptionException(v **types.InvalidOpt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30429,6 +30930,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameters(v **types.InvalidParamete } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30468,6 +30970,7 @@ func awsAwsjson11_deserializeDocumentInvalidPermissionType(v **types.InvalidPerm } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30538,6 +31041,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyAttributeException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30577,6 +31081,7 @@ func awsAwsjson11_deserializeDocumentInvalidPolicyTypeException(v **types.Invali } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30678,6 +31183,7 @@ func awsAwsjson11_deserializeDocumentInvalidResultAttributeException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30717,6 +31223,7 @@ func awsAwsjson11_deserializeDocumentInvalidRole(v **types.InvalidRole, value in } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30756,6 +31263,7 @@ func awsAwsjson11_deserializeDocumentInvalidSchedule(v **types.InvalidSchedule, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30795,6 +31303,7 @@ func awsAwsjson11_deserializeDocumentInvalidTag(v **types.InvalidTag, value inte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30834,6 +31343,7 @@ func awsAwsjson11_deserializeDocumentInvalidTarget(v **types.InvalidTarget, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30873,6 +31383,7 @@ func awsAwsjson11_deserializeDocumentInvalidTargetMaps(v **types.InvalidTargetMa } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30912,6 +31423,7 @@ func awsAwsjson11_deserializeDocumentInvalidTypeNameException(v **types.InvalidT } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -30951,6 +31463,7 @@ func awsAwsjson11_deserializeDocumentInvalidUpdate(v **types.InvalidUpdate, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -31024,6 +31537,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.DeletionId = ptr.String(jtv) } + case "DeletionStartTime": if value != nil { switch jtv := value.(type) { @@ -31039,10 +31553,12 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } } + case "DeletionSummary": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummary(&sv.DeletionSummary, value); err != nil { return err } + case "LastStatus": if value != nil { jtv, ok := value.(string) @@ -31051,6 +31567,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.LastStatus = types.InventoryDeletionStatus(jtv) } + case "LastStatusMessage": if value != nil { jtv, ok := value.(string) @@ -31059,6 +31576,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.LastStatusMessage = ptr.String(jtv) } + case "LastStatusUpdateTime": if value != nil { switch jtv := value.(type) { @@ -31074,6 +31592,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31082,6 +31601,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionStatusItem(v **types.Inven } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -31125,10 +31645,12 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummary(v **types.Inventor } sv.RemainingCount = int32(i64) } + case "SummaryItems": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItems(&sv.SummaryItems, value); err != nil { return err } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -31141,6 +31663,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummary(v **types.Inventor } sv.TotalCount = int32(i64) } + default: _, _ = key, value @@ -31184,6 +31707,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.Count = int32(i64) } + case "RemainingCount": if value != nil { jtv, ok := value.(json.Number) @@ -31196,6 +31720,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.RemainingCount = int32(i64) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -31204,6 +31729,7 @@ func awsAwsjson11_deserializeDocumentInventoryDeletionSummaryItem(v **types.Inve } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -31277,6 +31803,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemAttribute(v **types.InventoryI } sv.DataType = types.InventoryAttributeDataType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -31285,6 +31812,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemAttribute(v **types.InventoryI } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -31422,6 +31950,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem if err := awsAwsjson11_deserializeDocumentInventoryItemAttributeList(&sv.Attributes, value); err != nil { return err } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -31430,6 +31959,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.DisplayName = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31438,6 +31968,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.TypeName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -31446,6 +31977,7 @@ func awsAwsjson11_deserializeDocumentInventoryItemSchema(v **types.InventoryItem } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -31515,6 +32047,7 @@ func awsAwsjson11_deserializeDocumentInventoryResultEntity(v **types.InventoryRe if err := awsAwsjson11_deserializeDocumentInventoryResultItemMap(&sv.Data, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -31523,6 +32056,7 @@ func awsAwsjson11_deserializeDocumentInventoryResultEntity(v **types.InventoryRe } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -31596,10 +32130,12 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.CaptureTime = ptr.String(jtv) } + case "Content": if err := awsAwsjson11_deserializeDocumentInventoryItemEntryList(&sv.Content, value); err != nil { return err } + case "ContentHash": if value != nil { jtv, ok := value.(string) @@ -31608,6 +32144,7 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.ContentHash = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -31616,6 +32153,7 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.SchemaVersion = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31624,6 +32162,7 @@ func awsAwsjson11_deserializeDocumentInventoryResultItem(v **types.InventoryResu } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -31729,6 +32268,7 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item } sv.Message = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31737,6 +32277,7 @@ func awsAwsjson11_deserializeDocumentItemContentMismatchException(v **types.Item } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -31776,6 +32317,7 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It } sv.Message = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -31784,6 +32326,7 @@ func awsAwsjson11_deserializeDocumentItemSizeLimitExceededException(v **types.It } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -31823,6 +32366,7 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3BucketName = ptr.String(jtv) } + case "S3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -31831,6 +32375,7 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3KeyPrefix = ptr.String(jtv) } + case "S3Region": if value != nil { jtv, ok := value.(string) @@ -31839,6 +32384,7 @@ func awsAwsjson11_deserializeDocumentLoggingInfo(v **types.LoggingInfo, value in } sv.S3Region = ptr.String(jtv) } + default: _, _ = key, value @@ -31878,10 +32424,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowAutomationParameters(v **t } sv.DocumentVersion = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -31928,6 +32476,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -31943,6 +32492,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -31951,6 +32501,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -31959,6 +32510,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.StatusDetails = ptr.String(jtv) } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -31967,6 +32519,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.WindowExecutionId = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -31975,6 +32528,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecution(v **types.Mainte } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -32044,6 +32598,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -32059,6 +32614,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -32074,6 +32630,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -32082,6 +32639,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -32090,6 +32648,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.StatusDetails = ptr.String(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -32098,6 +32657,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskArn = ptr.String(jtv) } + case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -32106,6 +32666,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskExecutionId = ptr.String(jtv) } + case "TaskType": if value != nil { jtv, ok := value.(string) @@ -32114,10 +32675,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -32126,6 +32689,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentity(v ** } sv.WindowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -32242,6 +32806,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -32250,6 +32815,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.ExecutionId = ptr.String(jtv) } + case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -32258,6 +32824,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.InvocationId = ptr.String(jtv) } + case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -32266,6 +32833,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.OwnerInformation = ptr.String(jtv) } + case "Parameters": if value != nil { jtv, ok := value.(string) @@ -32274,6 +32842,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.Parameters = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -32289,6 +32858,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -32297,6 +32867,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -32305,6 +32876,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.StatusDetails = ptr.String(jtv) } + case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -32313,6 +32885,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.TaskExecutionId = ptr.String(jtv) } + case "TaskType": if value != nil { jtv, ok := value.(string) @@ -32321,6 +32894,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -32329,6 +32903,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.WindowExecutionId = ptr.String(jtv) } + case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -32337,6 +32912,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIde } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -32414,6 +32990,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Cutoff = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -32422,6 +32999,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Description = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -32434,6 +33012,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Duration = ptr.Int32(int32(i64)) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -32442,6 +33021,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Enabled = jtv } + case "EndDate": if value != nil { jtv, ok := value.(string) @@ -32450,6 +33030,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.EndDate = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32458,6 +33039,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Name = ptr.String(jtv) } + case "NextExecutionTime": if value != nil { jtv, ok := value.(string) @@ -32466,6 +33048,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.NextExecutionTime = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -32474,6 +33057,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.Schedule = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -32486,6 +33070,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -32494,6 +33079,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.ScheduleTimezone = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -32502,6 +33088,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.StartDate = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -32510,6 +33097,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -32549,6 +33137,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityForTarget(v **type } sv.Name = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -32557,6 +33146,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityForTarget(v **type } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -32630,6 +33220,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.ClientContext = ptr.String(jtv) } + case "Payload": if value != nil { jtv, ok := value.(string) @@ -32642,6 +33233,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.Payload = dv } + case "Qualifier": if value != nil { jtv, ok := value.(string) @@ -32650,6 +33242,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(v **types } sv.Qualifier = ptr.String(jtv) } + default: _, _ = key, value @@ -32685,6 +33278,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -32693,6 +33287,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.Comment = ptr.String(jtv) } + case "DocumentHash": if value != nil { jtv, ok := value.(string) @@ -32701,6 +33296,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentHash = ptr.String(jtv) } + case "DocumentHashType": if value != nil { jtv, ok := value.(string) @@ -32709,6 +33305,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentHashType = types.DocumentHashType(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -32717,10 +33314,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.DocumentVersion = ptr.String(jtv) } + case "NotificationConfig": if err := awsAwsjson11_deserializeDocumentNotificationConfig(&sv.NotificationConfig, value); err != nil { return err } + case "OutputS3BucketName": if value != nil { jtv, ok := value.(string) @@ -32729,6 +33328,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.OutputS3BucketName = ptr.String(jtv) } + case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -32737,10 +33337,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.OutputS3KeyPrefix = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -32749,6 +33351,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.ServiceRoleArn = ptr.String(jtv) } + case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -32761,6 +33364,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(v **t } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -32834,6 +33438,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(v } sv.Input = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32842,6 +33447,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(v } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -32881,6 +33487,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -32889,6 +33496,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.Name = ptr.String(jtv) } + case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -32897,6 +33505,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.OwnerInformation = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -32905,10 +33514,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.ResourceType = types.MaintenanceWindowResourceType(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -32917,6 +33528,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.WindowId = ptr.String(jtv) } + case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -32925,6 +33537,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTarget(v **types.Maintenan } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -32994,6 +33607,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -33002,6 +33616,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -33010,10 +33625,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Description = ptr.String(jtv) } + case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -33022,6 +33639,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -33030,6 +33648,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -33038,6 +33657,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -33050,6 +33670,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Priority = int32(i64) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -33058,10 +33679,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.ServiceRoleArn = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -33070,10 +33693,12 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.TaskArn = ptr.String(jtv) } + case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -33082,6 +33707,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.Type = types.MaintenanceWindowTaskType(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -33090,6 +33716,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.WindowId = ptr.String(jtv) } + case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -33098,6 +33725,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTask(v **types.Maintenance } sv.WindowTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -33133,18 +33761,22 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(v if err := awsAwsjson11_deserializeDocumentMaintenanceWindowAutomationParameters(&sv.Automation, value); err != nil { return err } + case "Lambda": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowLambdaParameters(&sv.Lambda, value); err != nil { return err } + case "RunCommand": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowRunCommandParameters(&sv.RunCommand, value); err != nil { return err } + case "StepFunctions": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowStepFunctionsParameters(&sv.StepFunctions, value); err != nil { return err } + default: _, _ = key, value @@ -33281,6 +33913,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameterValueExpressi if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameterValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -33356,6 +33989,7 @@ func awsAwsjson11_deserializeDocumentMalformedResourcePolicyDocumentException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33395,6 +34029,7 @@ func awsAwsjson11_deserializeDocumentMaxDocumentSizeExceeded(v **types.MaxDocume } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -33469,6 +34104,7 @@ func awsAwsjson11_deserializeDocumentMetadataValue(v **types.MetadataValue, valu } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -33512,10 +34148,12 @@ func awsAwsjson11_deserializeDocumentNonCompliantSummary(v **types.NonCompliantS } sv.NonCompliantCount = int32(i64) } + case "SeveritySummary": if err := awsAwsjson11_deserializeDocumentSeveritySummary(&sv.SeveritySummary, value); err != nil { return err } + default: _, _ = key, value @@ -33591,10 +34229,12 @@ func awsAwsjson11_deserializeDocumentNotificationConfig(v **types.NotificationCo } sv.NotificationArn = ptr.String(jtv) } + case "NotificationEvents": if err := awsAwsjson11_deserializeDocumentNotificationEventList(&sv.NotificationEvents, value); err != nil { return err } + case "NotificationType": if value != nil { jtv, ok := value.(string) @@ -33603,6 +34243,7 @@ func awsAwsjson11_deserializeDocumentNotificationConfig(v **types.NotificationCo } sv.NotificationType = types.NotificationType(jtv) } + default: _, _ = key, value @@ -33674,6 +34315,7 @@ func awsAwsjson11_deserializeDocumentOpsEntity(v **types.OpsEntity, value interf if err := awsAwsjson11_deserializeDocumentOpsEntityItemMap(&sv.Data, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -33682,6 +34324,7 @@ func awsAwsjson11_deserializeDocumentOpsEntity(v **types.OpsEntity, value interf } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -33721,10 +34364,12 @@ func awsAwsjson11_deserializeDocumentOpsEntityItem(v **types.OpsEntityItem, valu } sv.CaptureTime = ptr.String(jtv) } + case "Content": if err := awsAwsjson11_deserializeDocumentOpsEntityItemEntryList(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -33908,6 +34553,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "ActualStartTime": if value != nil { switch jtv := value.(type) { @@ -33923,6 +34569,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "Category": if value != nil { jtv, ok := value.(string) @@ -33931,6 +34578,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Category = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -33939,6 +34587,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -33954,6 +34603,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -33962,6 +34612,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Description = ptr.String(jtv) } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -33970,6 +34621,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -33985,14 +34637,17 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "Notifications": if err := awsAwsjson11_deserializeDocumentOpsItemNotifications(&sv.Notifications, value); err != nil { return err } + case "OperationalData": if err := awsAwsjson11_deserializeDocumentOpsItemOperationalData(&sv.OperationalData, value); err != nil { return err } + case "OpsItemArn": if value != nil { jtv, ok := value.(string) @@ -34001,6 +34656,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemArn = ptr.String(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -34009,6 +34665,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemId = ptr.String(jtv) } + case "OpsItemType": if value != nil { jtv, ok := value.(string) @@ -34017,6 +34674,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.OpsItemType = ptr.String(jtv) } + case "PlannedEndTime": if value != nil { switch jtv := value.(type) { @@ -34032,6 +34690,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "PlannedStartTime": if value != nil { switch jtv := value.(type) { @@ -34047,6 +34706,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -34059,10 +34719,12 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Priority = ptr.Int32(int32(i64)) } + case "RelatedOpsItems": if err := awsAwsjson11_deserializeDocumentRelatedOpsItems(&sv.RelatedOpsItems, value); err != nil { return err } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -34071,6 +34733,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Severity = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -34079,6 +34742,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Source = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -34087,6 +34751,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Status = types.OpsItemStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -34095,6 +34760,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Title = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -34103,6 +34769,7 @@ func awsAwsjson11_deserializeDocumentOpsItem(v **types.OpsItem, value interface{ } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -34142,6 +34809,7 @@ func awsAwsjson11_deserializeDocumentOpsItemAccessDeniedException(v **types.OpsI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34181,6 +34849,7 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops } sv.Message = ptr.String(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -34189,6 +34858,7 @@ func awsAwsjson11_deserializeDocumentOpsItemAlreadyExistsException(v **types.Ops } sv.OpsItemId = ptr.String(jtv) } + default: _, _ = key, value @@ -34228,6 +34898,7 @@ func awsAwsjson11_deserializeDocumentOpsItemConflictException(v **types.OpsItemC } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34267,6 +34938,7 @@ func awsAwsjson11_deserializeDocumentOpsItemDataValue(v **types.OpsItemDataValue } sv.Type = types.OpsItemDataType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -34275,6 +34947,7 @@ func awsAwsjson11_deserializeDocumentOpsItemDataValue(v **types.OpsItemDataValue } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -34344,6 +35017,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -34359,6 +35033,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } } + case "Detail": if value != nil { jtv, ok := value.(string) @@ -34367,6 +35042,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.Detail = ptr.String(jtv) } + case "DetailType": if value != nil { jtv, ok := value.(string) @@ -34375,6 +35051,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.DetailType = ptr.String(jtv) } + case "EventId": if value != nil { jtv, ok := value.(string) @@ -34383,6 +35060,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.EventId = ptr.String(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -34391,6 +35069,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.OpsItemId = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -34399,6 +35078,7 @@ func awsAwsjson11_deserializeDocumentOpsItemEventSummary(v **types.OpsItemEventS } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -34438,6 +35118,7 @@ func awsAwsjson11_deserializeDocumentOpsItemIdentity(v **types.OpsItemIdentity, } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -34477,10 +35158,12 @@ func awsAwsjson11_deserializeDocumentOpsItemInvalidParameterException(v **types. } sv.Message = ptr.String(jtv) } + case "ParameterNames": if err := awsAwsjson11_deserializeDocumentOpsItemParameterNamesList(&sv.ParameterNames, value); err != nil { return err } + default: _, _ = key, value @@ -34524,6 +35207,7 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.Limit = int32(i64) } + case "LimitType": if value != nil { jtv, ok := value.(string) @@ -34532,6 +35216,7 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.LimitType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -34540,10 +35225,12 @@ func awsAwsjson11_deserializeDocumentOpsItemLimitExceededException(v **types.Ops } sv.Message = ptr.String(jtv) } + case "ResourceTypes": if err := awsAwsjson11_deserializeDocumentOpsItemParameterNamesList(&sv.ResourceTypes, value); err != nil { return err } + default: _, _ = key, value @@ -34583,6 +35270,7 @@ func awsAwsjson11_deserializeDocumentOpsItemNotFoundException(v **types.OpsItemN } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34622,6 +35310,7 @@ func awsAwsjson11_deserializeDocumentOpsItemNotification(v **types.OpsItemNotifi } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -34766,6 +35455,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.Message = ptr.String(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -34774,6 +35464,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.OpsItemId = ptr.String(jtv) } + case "ResourceUri": if value != nil { jtv, ok := value.(string) @@ -34782,6 +35473,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAlreadyExistsException(v } sv.ResourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -34821,6 +35513,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemAssociationNotFoundExcept } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -34894,6 +35587,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.AssociationId = ptr.String(jtv) } + case "AssociationType": if value != nil { jtv, ok := value.(string) @@ -34902,10 +35596,12 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.AssociationType = ptr.String(jtv) } + case "CreatedBy": if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.CreatedBy, value); err != nil { return err } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -34921,10 +35617,12 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } } + case "LastModifiedBy": if err := awsAwsjson11_deserializeDocumentOpsItemIdentity(&sv.LastModifiedBy, value); err != nil { return err } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -34940,6 +35638,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -34948,6 +35647,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.OpsItemId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -34956,6 +35656,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.ResourceType = ptr.String(jtv) } + case "ResourceUri": if value != nil { jtv, ok := value.(string) @@ -34964,6 +35665,7 @@ func awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummary(v **types.OpsItem } sv.ResourceUri = ptr.String(jtv) } + default: _, _ = key, value @@ -35044,6 +35746,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "ActualStartTime": if value != nil { switch jtv := value.(type) { @@ -35059,6 +35762,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "Category": if value != nil { jtv, ok := value.(string) @@ -35067,6 +35771,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Category = ptr.String(jtv) } + case "CreatedBy": if value != nil { jtv, ok := value.(string) @@ -35075,6 +35780,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.CreatedBy = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -35090,6 +35796,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "LastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -35098,6 +35805,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.LastModifiedBy = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -35113,10 +35821,12 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "OperationalData": if err := awsAwsjson11_deserializeDocumentOpsItemOperationalData(&sv.OperationalData, value); err != nil { return err } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -35125,6 +35835,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.OpsItemId = ptr.String(jtv) } + case "OpsItemType": if value != nil { jtv, ok := value.(string) @@ -35133,6 +35844,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.OpsItemType = ptr.String(jtv) } + case "PlannedEndTime": if value != nil { switch jtv := value.(type) { @@ -35148,6 +35860,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "PlannedStartTime": if value != nil { switch jtv := value.(type) { @@ -35163,6 +35876,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -35175,6 +35889,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Priority = ptr.Int32(int32(i64)) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -35183,6 +35898,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Severity = ptr.String(jtv) } + case "Source": if value != nil { jtv, ok := value.(string) @@ -35191,6 +35907,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Source = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -35199,6 +35916,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Status = types.OpsItemStatus(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -35207,6 +35925,7 @@ func awsAwsjson11_deserializeDocumentOpsItemSummary(v **types.OpsItemSummary, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -35253,6 +35972,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -35268,6 +35988,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } } + case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -35276,6 +35997,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.LastModifiedUser = ptr.String(jtv) } + case "OpsMetadataArn": if value != nil { jtv, ok := value.(string) @@ -35284,6 +36006,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.OpsMetadataArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -35292,6 +36015,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadata(v **types.OpsMetadata, value in } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -35331,6 +36055,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataAlreadyExistsException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35370,6 +36095,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataInvalidArgumentException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35409,6 +36135,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataKeyLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35448,6 +36175,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataLimitExceededException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35521,6 +36249,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataNotFoundException(v **types.OpsM } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35560,6 +36289,7 @@ func awsAwsjson11_deserializeDocumentOpsMetadataTooManyUpdatesException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35599,6 +36329,7 @@ func awsAwsjson11_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputSourceId = ptr.String(jtv) } + case "OutputSourceType": if value != nil { jtv, ok := value.(string) @@ -35607,6 +36338,7 @@ func awsAwsjson11_deserializeDocumentOutputSource(v **types.OutputSource, value } sv.OutputSourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -35646,6 +36378,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.ARN = ptr.String(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -35654,6 +36387,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.DataType = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -35669,6 +36403,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35677,6 +36412,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Name = ptr.String(jtv) } + case "Selector": if value != nil { jtv, ok := value.(string) @@ -35685,6 +36421,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Selector = ptr.String(jtv) } + case "SourceResult": if value != nil { jtv, ok := value.(string) @@ -35693,6 +36430,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.SourceResult = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -35701,6 +36439,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Type = types.ParameterType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -35709,6 +36448,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Value = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -35721,6 +36461,7 @@ func awsAwsjson11_deserializeDocumentParameter(v **types.Parameter, value interf } sv.Version = i64 } + default: _, _ = key, value @@ -35760,6 +36501,7 @@ func awsAwsjson11_deserializeDocumentParameterAlreadyExists(v **types.ParameterA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -35799,6 +36541,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.AllowedPattern = ptr.String(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -35807,6 +36550,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.DataType = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -35815,6 +36559,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Description = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -35823,10 +36568,12 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.KeyId = ptr.String(jtv) } + case "Labels": if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.Labels, value); err != nil { return err } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -35842,6 +36589,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } } + case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -35850,6 +36598,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.LastModifiedUser = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -35858,10 +36607,12 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Name = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentParameterPolicyList(&sv.Policies, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -35870,6 +36621,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Tier = types.ParameterTier(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -35878,6 +36630,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Type = types.ParameterType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -35886,6 +36639,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Value = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -35898,6 +36652,7 @@ func awsAwsjson11_deserializeDocumentParameterHistory(v **types.ParameterHistory } sv.Version = i64 } + default: _, _ = key, value @@ -35971,6 +36726,7 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyStatus = ptr.String(jtv) } + case "PolicyText": if value != nil { jtv, ok := value.(string) @@ -35979,6 +36735,7 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyText = ptr.String(jtv) } + case "PolicyType": if value != nil { jtv, ok := value.(string) @@ -35987,6 +36744,7 @@ func awsAwsjson11_deserializeDocumentParameterInlinePolicy(v **types.ParameterIn } sv.PolicyType = ptr.String(jtv) } + default: _, _ = key, value @@ -36062,6 +36820,7 @@ func awsAwsjson11_deserializeDocumentParameterLimitExceeded(v **types.ParameterL } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36135,6 +36894,7 @@ func awsAwsjson11_deserializeDocumentParameterMaxVersionLimitExceeded(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36174,6 +36934,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.AllowedPattern = ptr.String(jtv) } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -36182,6 +36943,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.ARN = ptr.String(jtv) } + case "DataType": if value != nil { jtv, ok := value.(string) @@ -36190,6 +36952,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.DataType = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36198,6 +36961,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Description = ptr.String(jtv) } + case "KeyId": if value != nil { jtv, ok := value.(string) @@ -36206,6 +36970,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.KeyId = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -36221,6 +36986,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } } + case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -36229,6 +36995,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.LastModifiedUser = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36237,10 +37004,12 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Name = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentParameterPolicyList(&sv.Policies, value); err != nil { return err } + case "Tier": if value != nil { jtv, ok := value.(string) @@ -36249,6 +37018,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Tier = types.ParameterTier(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -36257,6 +37027,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Type = types.ParameterType(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -36269,6 +37040,7 @@ func awsAwsjson11_deserializeDocumentParameterMetadata(v **types.ParameterMetada } sv.Version = i64 } + default: _, _ = key, value @@ -36378,6 +37150,7 @@ func awsAwsjson11_deserializeDocumentParameterNotFound(v **types.ParameterNotFou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36417,6 +37190,7 @@ func awsAwsjson11_deserializeDocumentParameterPatternMismatchException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36560,6 +37334,7 @@ func awsAwsjson11_deserializeDocumentParameterVersionLabelLimitExceeded(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36599,6 +37374,7 @@ func awsAwsjson11_deserializeDocumentParameterVersionNotFound(v **types.Paramete } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -36638,6 +37414,7 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.Action = ptr.String(jtv) } + case "Iteration": if value != nil { jtv, ok := value.(json.Number) @@ -36650,6 +37427,7 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.Iteration = ptr.Int32(int32(i64)) } + case "IteratorValue": if value != nil { jtv, ok := value.(string) @@ -36658,6 +37436,7 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.IteratorValue = ptr.String(jtv) } + case "StepExecutionId": if value != nil { jtv, ok := value.(string) @@ -36666,6 +37445,7 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.StepExecutionId = ptr.String(jtv) } + case "StepName": if value != nil { jtv, ok := value.(string) @@ -36674,6 +37454,7 @@ func awsAwsjson11_deserializeDocumentParentStepDetails(v **types.ParentStepDetai } sv.StepName = ptr.String(jtv) } + default: _, _ = key, value @@ -36709,6 +37490,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e if err := awsAwsjson11_deserializeDocumentPatchAdvisoryIdList(&sv.AdvisoryIds, value); err != nil { return err } + case "Arch": if value != nil { jtv, ok := value.(string) @@ -36717,10 +37499,12 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Arch = ptr.String(jtv) } + case "BugzillaIds": if err := awsAwsjson11_deserializeDocumentPatchBugzillaIdList(&sv.BugzillaIds, value); err != nil { return err } + case "Classification": if value != nil { jtv, ok := value.(string) @@ -36729,6 +37513,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Classification = ptr.String(jtv) } + case "ContentUrl": if value != nil { jtv, ok := value.(string) @@ -36737,10 +37522,12 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.ContentUrl = ptr.String(jtv) } + case "CVEIds": if err := awsAwsjson11_deserializeDocumentPatchCVEIdList(&sv.CVEIds, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -36749,6 +37536,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Description = ptr.String(jtv) } + case "Epoch": if value != nil { jtv, ok := value.(json.Number) @@ -36761,6 +37549,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Epoch = int32(i64) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -36769,6 +37558,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Id = ptr.String(jtv) } + case "KbNumber": if value != nil { jtv, ok := value.(string) @@ -36777,6 +37567,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.KbNumber = ptr.String(jtv) } + case "Language": if value != nil { jtv, ok := value.(string) @@ -36785,6 +37576,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Language = ptr.String(jtv) } + case "MsrcNumber": if value != nil { jtv, ok := value.(string) @@ -36793,6 +37585,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.MsrcNumber = ptr.String(jtv) } + case "MsrcSeverity": if value != nil { jtv, ok := value.(string) @@ -36801,6 +37594,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.MsrcSeverity = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -36809,6 +37603,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Product": if value != nil { jtv, ok := value.(string) @@ -36817,6 +37612,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Product = ptr.String(jtv) } + case "ProductFamily": if value != nil { jtv, ok := value.(string) @@ -36825,6 +37621,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.ProductFamily = ptr.String(jtv) } + case "Release": if value != nil { jtv, ok := value.(string) @@ -36833,6 +37630,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Release = ptr.String(jtv) } + case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -36848,6 +37646,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } } + case "Repository": if value != nil { jtv, ok := value.(string) @@ -36856,6 +37655,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Repository = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -36864,6 +37664,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Severity = ptr.String(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -36872,6 +37673,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Title = ptr.String(jtv) } + case "Vendor": if value != nil { jtv, ok := value.(string) @@ -36880,6 +37682,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Vendor = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -36888,6 +37691,7 @@ func awsAwsjson11_deserializeDocumentPatch(v **types.Patch, value interface{}) e } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -36963,6 +37767,7 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineDescription = ptr.String(jtv) } + case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -36971,6 +37776,7 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineId = ptr.String(jtv) } + case "BaselineName": if value != nil { jtv, ok := value.(string) @@ -36979,6 +37785,7 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.BaselineName = ptr.String(jtv) } + case "DefaultBaseline": if value != nil { jtv, ok := value.(bool) @@ -36987,6 +37794,7 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.DefaultBaseline = jtv } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -36995,6 +37803,7 @@ func awsAwsjson11_deserializeDocumentPatchBaselineIdentity(v **types.PatchBaseli } sv.OperatingSystem = types.OperatingSystem(jtv) } + default: _, _ = key, value @@ -37104,6 +37913,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Classification = ptr.String(jtv) } + case "CVEIds": if value != nil { jtv, ok := value.(string) @@ -37112,6 +37922,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.CVEIds = ptr.String(jtv) } + case "InstalledTime": if value != nil { switch jtv := value.(type) { @@ -37127,6 +37938,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } } + case "KBId": if value != nil { jtv, ok := value.(string) @@ -37135,6 +37947,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.KBId = ptr.String(jtv) } + case "Severity": if value != nil { jtv, ok := value.(string) @@ -37143,6 +37956,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Severity = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -37151,6 +37965,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.State = types.PatchComplianceDataState(jtv) } + case "Title": if value != nil { jtv, ok := value.(string) @@ -37159,6 +37974,7 @@ func awsAwsjson11_deserializeDocumentPatchComplianceData(v **types.PatchComplian } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -37268,10 +38084,12 @@ func awsAwsjson11_deserializeDocumentPatchFilter(v **types.PatchFilter, value in } sv.Key = types.PatchFilterKey(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentPatchFilterValueList(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -37307,6 +38125,7 @@ func awsAwsjson11_deserializeDocumentPatchFilterGroup(v **types.PatchFilterGroup if err := awsAwsjson11_deserializeDocumentPatchFilterList(&sv.PatchFilters, value); err != nil { return err } + default: _, _ = key, value @@ -37448,6 +38267,7 @@ func awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMapping(v **types.Pa if err := awsAwsjson11_deserializeDocumentPatchBaselineIdentity(&sv.BaselineIdentity, value); err != nil { return err } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -37456,6 +38276,7 @@ func awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMapping(v **types.Pa } sv.PatchGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -37671,6 +38492,7 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ApproveAfterDays = ptr.Int32(int32(i64)) } + case "ApproveUntilDate": if value != nil { jtv, ok := value.(string) @@ -37679,6 +38501,7 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ApproveUntilDate = ptr.String(jtv) } + case "ComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -37687,6 +38510,7 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.ComplianceLevel = types.PatchComplianceLevel(jtv) } + case "EnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -37695,10 +38519,12 @@ func awsAwsjson11_deserializeDocumentPatchRule(v **types.PatchRule, value interf } sv.EnableNonSecurity = ptr.Bool(jtv) } + case "PatchFilterGroup": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.PatchFilterGroup, value); err != nil { return err } + default: _, _ = key, value @@ -37734,6 +38560,7 @@ func awsAwsjson11_deserializeDocumentPatchRuleGroup(v **types.PatchRuleGroup, va if err := awsAwsjson11_deserializeDocumentPatchRuleList(&sv.PatchRules, value); err != nil { return err } + default: _, _ = key, value @@ -37807,6 +38634,7 @@ func awsAwsjson11_deserializeDocumentPatchSource(v **types.PatchSource, value in } sv.Configuration = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -37815,10 +38643,12 @@ func awsAwsjson11_deserializeDocumentPatchSource(v **types.PatchSource, value in } sv.Name = ptr.String(jtv) } + case "Products": if err := awsAwsjson11_deserializeDocumentPatchSourceProductList(&sv.Products, value); err != nil { return err } + default: _, _ = key, value @@ -37935,6 +38765,7 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } } + case "ComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -37943,6 +38774,7 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } sv.ComplianceLevel = types.PatchComplianceLevel(jtv) } + case "DeploymentStatus": if value != nil { jtv, ok := value.(string) @@ -37951,6 +38783,7 @@ func awsAwsjson11_deserializeDocumentPatchStatus(v **types.PatchStatus, value in } sv.DeploymentStatus = types.PatchDeploymentStatus(jtv) } + default: _, _ = key, value @@ -38026,6 +38859,7 @@ func awsAwsjson11_deserializeDocumentPoliciesLimitExceededException(v **types.Po } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38069,6 +38903,7 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.CancelledSteps = int32(i64) } + case "FailedSteps": if value != nil { jtv, ok := value.(json.Number) @@ -38081,6 +38916,7 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.FailedSteps = int32(i64) } + case "SuccessSteps": if value != nil { jtv, ok := value.(json.Number) @@ -38093,6 +38929,7 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.SuccessSteps = int32(i64) } + case "TimedOutSteps": if value != nil { jtv, ok := value.(json.Number) @@ -38105,6 +38942,7 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.TimedOutSteps = int32(i64) } + case "TotalSteps": if value != nil { jtv, ok := value.(json.Number) @@ -38117,6 +38955,7 @@ func awsAwsjson11_deserializeDocumentProgressCounters(v **types.ProgressCounters } sv.TotalSteps = int32(i64) } + default: _, _ = key, value @@ -38192,6 +39031,7 @@ func awsAwsjson11_deserializeDocumentRelatedOpsItem(v **types.RelatedOpsItem, va } sv.OpsItemId = ptr.String(jtv) } + default: _, _ = key, value @@ -38261,6 +39101,7 @@ func awsAwsjson11_deserializeDocumentResolvedTargets(v **types.ResolvedTargets, if err := awsAwsjson11_deserializeDocumentTargetParameterList(&sv.ParameterValues, value); err != nil { return err } + case "Truncated": if value != nil { jtv, ok := value.(bool) @@ -38269,6 +39110,7 @@ func awsAwsjson11_deserializeDocumentResolvedTargets(v **types.ResolvedTargets, } sv.Truncated = jtv } + default: _, _ = key, value @@ -38308,18 +39150,22 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ComplianceType = ptr.String(jtv) } + case "CompliantSummary": if err := awsAwsjson11_deserializeDocumentCompliantSummary(&sv.CompliantSummary, value); err != nil { return err } + case "ExecutionSummary": if err := awsAwsjson11_deserializeDocumentComplianceExecutionSummary(&sv.ExecutionSummary, value); err != nil { return err } + case "NonCompliantSummary": if err := awsAwsjson11_deserializeDocumentNonCompliantSummary(&sv.NonCompliantSummary, value); err != nil { return err } + case "OverallSeverity": if value != nil { jtv, ok := value.(string) @@ -38328,6 +39174,7 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.OverallSeverity = types.ComplianceSeverity(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -38336,6 +39183,7 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -38344,6 +39192,7 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.ResourceType = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -38352,6 +39201,7 @@ func awsAwsjson11_deserializeDocumentResourceComplianceSummaryItem(v **types.Res } sv.Status = types.ComplianceStatus(jtv) } + default: _, _ = key, value @@ -38425,6 +39275,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAlreadyExistsException(v ** } sv.SyncName = ptr.String(jtv) } + default: _, _ = key, value @@ -38460,6 +39311,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(v ** if err := awsAwsjson11_deserializeDocumentResourceDataSyncOrganizationalUnitList(&sv.OrganizationalUnits, value); err != nil { return err } + case "OrganizationSourceType": if value != nil { jtv, ok := value.(string) @@ -38468,6 +39320,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(v ** } sv.OrganizationSourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -38507,6 +39360,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncConflictException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38546,6 +39400,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncCountExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38585,6 +39440,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncDestinationDataSharing(v ** } sv.DestinationDataSharingType = ptr.String(jtv) } + default: _, _ = key, value @@ -38624,6 +39480,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncInvalidConfigurationExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -38663,6 +39520,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.LastStatus = types.LastResourceDataSyncStatus(jtv) } + case "LastSuccessfulSyncTime": if value != nil { switch jtv := value.(type) { @@ -38678,6 +39536,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } + case "LastSyncStatusMessage": if value != nil { jtv, ok := value.(string) @@ -38686,6 +39545,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.LastSyncStatusMessage = ptr.String(jtv) } + case "LastSyncTime": if value != nil { switch jtv := value.(type) { @@ -38701,10 +39561,12 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } + case "S3Destination": if err := awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(&sv.S3Destination, value); err != nil { return err } + case "SyncCreatedTime": if value != nil { switch jtv := value.(type) { @@ -38720,6 +39582,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } + case "SyncLastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -38735,6 +39598,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } } + case "SyncName": if value != nil { jtv, ok := value.(string) @@ -38743,10 +39607,12 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.SyncName = ptr.String(jtv) } + case "SyncSource": if err := awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(&sv.SyncSource, value); err != nil { return err } + case "SyncType": if value != nil { jtv, ok := value.(string) @@ -38755,6 +39621,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncItem(v **types.ResourceData } sv.SyncType = ptr.String(jtv) } + default: _, _ = key, value @@ -38828,6 +39695,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.Message = ptr.String(jtv) } + case "SyncName": if value != nil { jtv, ok := value.(string) @@ -38836,6 +39704,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.SyncName = ptr.String(jtv) } + case "SyncType": if value != nil { jtv, ok := value.(string) @@ -38844,6 +39713,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncNotFoundException(v **types } sv.SyncType = ptr.String(jtv) } + default: _, _ = key, value @@ -38883,6 +39753,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncOrganizationalUnit(v **type } sv.OrganizationalUnitId = ptr.String(jtv) } + default: _, _ = key, value @@ -38956,6 +39827,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.AWSKMSKeyARN = ptr.String(jtv) } + case "BucketName": if value != nil { jtv, ok := value.(string) @@ -38964,10 +39836,12 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.BucketName = ptr.String(jtv) } + case "DestinationDataSharing": if err := awsAwsjson11_deserializeDocumentResourceDataSyncDestinationDataSharing(&sv.DestinationDataSharing, value); err != nil { return err } + case "Prefix": if value != nil { jtv, ok := value.(string) @@ -38976,6 +39850,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.Prefix = ptr.String(jtv) } + case "Region": if value != nil { jtv, ok := value.(string) @@ -38984,6 +39859,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.Region = ptr.String(jtv) } + case "SyncFormat": if value != nil { jtv, ok := value.(string) @@ -38992,6 +39868,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncS3Destination(v **types.Res } sv.SyncFormat = types.ResourceDataSyncS3Format(jtv) } + default: _, _ = key, value @@ -39063,6 +39940,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R if err := awsAwsjson11_deserializeDocumentResourceDataSyncAwsOrganizationsSource(&sv.AwsOrganizationsSource, value); err != nil { return err } + case "EnableAllOpsDataSources": if value != nil { jtv, ok := value.(bool) @@ -39071,6 +39949,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.EnableAllOpsDataSources = jtv } + case "IncludeFutureRegions": if value != nil { jtv, ok := value.(bool) @@ -39079,10 +39958,12 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.IncludeFutureRegions = jtv } + case "SourceRegions": if err := awsAwsjson11_deserializeDocumentResourceDataSyncSourceRegionList(&sv.SourceRegions, value); err != nil { return err } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -39091,6 +39972,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.SourceType = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -39099,6 +39981,7 @@ func awsAwsjson11_deserializeDocumentResourceDataSyncSourceWithState(v **types.R } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -39138,6 +40021,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39177,6 +40061,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39216,6 +40101,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39255,6 +40141,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyConflictException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39294,10 +40181,12 @@ func awsAwsjson11_deserializeDocumentResourcePolicyInvalidParameterException(v * } sv.Message = ptr.String(jtv) } + case "ParameterNames": if err := awsAwsjson11_deserializeDocumentResourcePolicyParameterNamesList(&sv.ParameterNames, value); err != nil { return err } + default: _, _ = key, value @@ -39341,6 +40230,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.Limit = int32(i64) } + case "LimitType": if value != nil { jtv, ok := value.(string) @@ -39349,6 +40239,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.LimitType = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -39357,6 +40248,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39396,6 +40288,7 @@ func awsAwsjson11_deserializeDocumentResourcePolicyNotFoundException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39478,6 +40371,7 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } } + case "Reviewer": if value != nil { jtv, ok := value.(string) @@ -39486,6 +40380,7 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } sv.Reviewer = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -39494,6 +40389,7 @@ func awsAwsjson11_deserializeDocumentReviewInformation(v **types.ReviewInformati } sv.Status = types.ReviewStatus(jtv) } + default: _, _ = key, value @@ -39567,6 +40463,7 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -39575,6 +40472,7 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.DocumentVersion = ptr.String(jtv) } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -39583,6 +40481,7 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -39591,18 +40490,22 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.MaxErrors = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Parameters, value); err != nil { return err } + case "TargetLocations": if err := awsAwsjson11_deserializeDocumentTargetLocations(&sv.TargetLocations, value); err != nil { return err } + case "TargetMaps": if err := awsAwsjson11_deserializeDocumentTargetMaps(&sv.TargetMaps, value); err != nil { return err } + case "TargetParameterName": if value != nil { jtv, ok := value.(string) @@ -39611,10 +40514,12 @@ func awsAwsjson11_deserializeDocumentRunbook(v **types.Runbook, value interface{ } sv.TargetParameterName = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -39688,6 +40593,7 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3BucketName = ptr.String(jtv) } + case "OutputS3KeyPrefix": if value != nil { jtv, ok := value.(string) @@ -39696,6 +40602,7 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3KeyPrefix = ptr.String(jtv) } + case "OutputS3Region": if value != nil { jtv, ok := value.(string) @@ -39704,6 +40611,7 @@ func awsAwsjson11_deserializeDocumentS3OutputLocation(v **types.S3OutputLocation } sv.OutputS3Region = ptr.String(jtv) } + default: _, _ = key, value @@ -39743,6 +40651,7 @@ func awsAwsjson11_deserializeDocumentS3OutputUrl(v **types.S3OutputUrl, value in } sv.OutputUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -39782,6 +40691,7 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.ExecutionTime = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -39790,6 +40700,7 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.Name = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -39798,6 +40709,7 @@ func awsAwsjson11_deserializeDocumentScheduledWindowExecution(v **types.Schedule } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -39871,6 +40783,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.ARN = ptr.String(jtv) } + case "LastModifiedDate": if value != nil { switch jtv := value.(type) { @@ -39886,6 +40799,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } } + case "LastModifiedUser": if value != nil { jtv, ok := value.(string) @@ -39894,6 +40808,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.LastModifiedUser = ptr.String(jtv) } + case "SettingId": if value != nil { jtv, ok := value.(string) @@ -39902,6 +40817,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.SettingId = ptr.String(jtv) } + case "SettingValue": if value != nil { jtv, ok := value.(string) @@ -39910,6 +40826,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.SettingValue = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -39918,6 +40835,7 @@ func awsAwsjson11_deserializeDocumentServiceSetting(v **types.ServiceSetting, va } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -39957,6 +40875,7 @@ func awsAwsjson11_deserializeDocumentServiceSettingNotFound(v **types.ServiceSet } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -39996,6 +40915,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Details = ptr.String(jtv) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -40004,6 +40924,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.DocumentName = ptr.String(jtv) } + case "EndDate": if value != nil { switch jtv := value.(type) { @@ -40019,6 +40940,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "MaxSessionDuration": if value != nil { jtv, ok := value.(string) @@ -40027,10 +40949,12 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.MaxSessionDuration = ptr.String(jtv) } + case "OutputUrl": if err := awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(&sv.OutputUrl, value); err != nil { return err } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -40039,6 +40963,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Owner = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -40047,6 +40972,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Reason = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -40055,6 +40981,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } + case "StartDate": if value != nil { switch jtv := value.(type) { @@ -40070,6 +40997,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -40078,6 +41006,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -40086,6 +41015,7 @@ func awsAwsjson11_deserializeDocumentSession(v **types.Session, value interface{ } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -40159,6 +41089,7 @@ func awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(v **types.SessionMa } sv.CloudWatchOutputUrl = ptr.String(jtv) } + case "S3OutputUrl": if value != nil { jtv, ok := value.(string) @@ -40167,6 +41098,7 @@ func awsAwsjson11_deserializeDocumentSessionManagerOutputUrl(v **types.SessionMa } sv.S3OutputUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -40210,6 +41142,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.CriticalCount = int32(i64) } + case "HighCount": if value != nil { jtv, ok := value.(json.Number) @@ -40222,6 +41155,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.HighCount = int32(i64) } + case "InformationalCount": if value != nil { jtv, ok := value.(json.Number) @@ -40234,6 +41168,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.InformationalCount = int32(i64) } + case "LowCount": if value != nil { jtv, ok := value.(json.Number) @@ -40246,6 +41181,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.LowCount = int32(i64) } + case "MediumCount": if value != nil { jtv, ok := value.(json.Number) @@ -40258,6 +41194,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.MediumCount = int32(i64) } + case "UnspecifiedCount": if value != nil { jtv, ok := value.(json.Number) @@ -40270,6 +41207,7 @@ func awsAwsjson11_deserializeDocumentSeveritySummary(v **types.SeveritySummary, } sv.UnspecifiedCount = int32(i64) } + default: _, _ = key, value @@ -40340,6 +41278,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.Action = ptr.String(jtv) } + case "ExecutionEndTime": if value != nil { switch jtv := value.(type) { @@ -40355,6 +41294,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } } + case "ExecutionStartTime": if value != nil { switch jtv := value.(type) { @@ -40370,10 +41310,12 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } } + case "FailureDetails": if err := awsAwsjson11_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -40382,10 +41324,12 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.FailureMessage = ptr.String(jtv) } + case "Inputs": if err := awsAwsjson11_deserializeDocumentNormalStringMap(&sv.Inputs, value); err != nil { return err } + case "IsCritical": if value != nil { jtv, ok := value.(bool) @@ -40394,6 +41338,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.IsCritical = ptr.Bool(jtv) } + case "IsEnd": if value != nil { jtv, ok := value.(bool) @@ -40402,6 +41347,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.IsEnd = ptr.Bool(jtv) } + case "MaxAttempts": if value != nil { jtv, ok := value.(json.Number) @@ -40414,6 +41360,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.MaxAttempts = ptr.Int32(int32(i64)) } + case "NextStep": if value != nil { jtv, ok := value.(string) @@ -40422,6 +41369,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.NextStep = ptr.String(jtv) } + case "OnFailure": if value != nil { jtv, ok := value.(string) @@ -40430,18 +41378,22 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.OnFailure = ptr.String(jtv) } + case "Outputs": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.Outputs, value); err != nil { return err } + case "OverriddenParameters": if err := awsAwsjson11_deserializeDocumentAutomationParameterMap(&sv.OverriddenParameters, value); err != nil { return err } + case "ParentStepDetails": if err := awsAwsjson11_deserializeDocumentParentStepDetails(&sv.ParentStepDetails, value); err != nil { return err } + case "Response": if value != nil { jtv, ok := value.(string) @@ -40450,6 +41402,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.Response = ptr.String(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(string) @@ -40458,6 +41411,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.ResponseCode = ptr.String(jtv) } + case "StepExecutionId": if value != nil { jtv, ok := value.(string) @@ -40466,6 +41420,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepExecutionId = ptr.String(jtv) } + case "StepName": if value != nil { jtv, ok := value.(string) @@ -40474,6 +41429,7 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepName = ptr.String(jtv) } + case "StepStatus": if value != nil { jtv, ok := value.(string) @@ -40482,14 +41438,17 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.StepStatus = types.AutomationExecutionStatus(jtv) } + case "TargetLocation": if err := awsAwsjson11_deserializeDocumentTargetLocation(&sv.TargetLocation, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -40502,14 +41461,17 @@ func awsAwsjson11_deserializeDocumentStepExecution(v **types.StepExecution, valu } sv.TimeoutSeconds = ptr.Int64(i64) } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + case "ValidNextSteps": if err := awsAwsjson11_deserializeDocumentValidNextStepList(&sv.ValidNextSteps, value); err != nil { return err } + default: _, _ = key, value @@ -40583,6 +41545,7 @@ func awsAwsjson11_deserializeDocumentSubTypeCountLimitExceededException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -40622,6 +41585,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -40630,6 +41594,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -40703,10 +41668,12 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Key = ptr.String(jtv) } + case "Values": if err := awsAwsjson11_deserializeDocumentTargetValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -40746,6 +41713,7 @@ func awsAwsjson11_deserializeDocumentTargetInUseException(v **types.TargetInUseE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -40781,10 +41749,12 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va if err := awsAwsjson11_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } + case "ExcludeAccounts": if err := awsAwsjson11_deserializeDocumentExcludeAccounts(&sv.ExcludeAccounts, value); err != nil { return err } + case "ExecutionRoleName": if value != nil { jtv, ok := value.(string) @@ -40793,6 +41763,7 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.ExecutionRoleName = ptr.String(jtv) } + case "IncludeChildOrganizationUnits": if value != nil { jtv, ok := value.(bool) @@ -40801,14 +41772,17 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.IncludeChildOrganizationUnits = jtv } + case "Regions": if err := awsAwsjson11_deserializeDocumentRegions(&sv.Regions, value); err != nil { return err } + case "TargetLocationAlarmConfiguration": if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.TargetLocationAlarmConfiguration, value); err != nil { return err } + case "TargetLocationMaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -40817,6 +41791,7 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetLocationMaxConcurrency = ptr.String(jtv) } + case "TargetLocationMaxErrors": if value != nil { jtv, ok := value.(string) @@ -40825,10 +41800,12 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetLocationMaxErrors = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TargetsMaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -40837,6 +41814,7 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetsMaxConcurrency = ptr.String(jtv) } + case "TargetsMaxErrors": if value != nil { jtv, ok := value.(string) @@ -40845,6 +41823,7 @@ func awsAwsjson11_deserializeDocumentTargetLocation(v **types.TargetLocation, va } sv.TargetsMaxErrors = ptr.String(jtv) } + default: _, _ = key, value @@ -41020,6 +41999,7 @@ func awsAwsjson11_deserializeDocumentTargetNotConnected(v **types.TargetNotConne } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41196,6 +42176,7 @@ func awsAwsjson11_deserializeDocumentTooManyUpdates(v **types.TooManyUpdates, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41235,6 +42216,7 @@ func awsAwsjson11_deserializeDocumentTotalSizeLimitExceededException(v **types.T } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41274,6 +42256,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedCalendarException(v **types.Unsu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41313,6 +42296,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedFeatureRequiredException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41352,6 +42336,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v } sv.Message = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -41360,6 +42345,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventoryItemContextException(v } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -41399,6 +42385,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedInventorySchemaVersionException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41438,6 +42425,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperatingSystem(v **types.Unsupp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41477,6 +42465,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedParameterType(v **types.Unsuppor } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41516,6 +42505,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedPlatformType(v **types.Unsupport } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -41622,6 +42612,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateOpsItemRelatedItemOutput(v **Ass } sv.AssociationId = ptr.String(jtv) } + default: _, _ = key, value @@ -41692,6 +42683,7 @@ func awsAwsjson11_deserializeOpDocumentCancelMaintenanceWindowExecutionOutput(v } sv.WindowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -41731,6 +42723,7 @@ func awsAwsjson11_deserializeOpDocumentCreateActivationOutput(v **CreateActivati } sv.ActivationCode = ptr.String(jtv) } + case "ActivationId": if value != nil { jtv, ok := value.(string) @@ -41739,6 +42732,7 @@ func awsAwsjson11_deserializeOpDocumentCreateActivationOutput(v **CreateActivati } sv.ActivationId = ptr.String(jtv) } + default: _, _ = key, value @@ -41774,10 +42768,12 @@ func awsAwsjson11_deserializeOpDocumentCreateAssociationBatchOutput(v **CreateAs if err := awsAwsjson11_deserializeDocumentFailedCreateAssociationList(&sv.Failed, value); err != nil { return err } + case "Successful": if err := awsAwsjson11_deserializeDocumentAssociationDescriptionList(&sv.Successful, value); err != nil { return err } + default: _, _ = key, value @@ -41813,6 +42809,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAssociationOutput(v **CreateAssocia if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -41848,6 +42845,7 @@ func awsAwsjson11_deserializeOpDocumentCreateDocumentOutput(v **CreateDocumentOu if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.DocumentDescription, value); err != nil { return err } + default: _, _ = key, value @@ -41887,6 +42885,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMaintenanceWindowOutput(v **CreateM } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -41926,6 +42925,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsItemOutput(v **CreateOpsItemOutp } sv.OpsItemArn = ptr.String(jtv) } + case "OpsItemId": if value != nil { jtv, ok := value.(string) @@ -41934,6 +42934,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsItemOutput(v **CreateOpsItemOutp } sv.OpsItemId = ptr.String(jtv) } + default: _, _ = key, value @@ -41973,6 +42974,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOpsMetadataOutput(v **CreateOpsMeta } sv.OpsMetadataArn = ptr.String(jtv) } + default: _, _ = key, value @@ -42012,6 +43014,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePatchBaselineOutput(v **CreatePatch } sv.BaselineId = ptr.String(jtv) } + default: _, _ = key, value @@ -42175,10 +43178,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteInventoryOutput(v **DeleteInventory } sv.DeletionId = ptr.String(jtv) } + case "DeletionSummary": if err := awsAwsjson11_deserializeDocumentInventoryDeletionSummary(&sv.DeletionSummary, value); err != nil { return err } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -42187,6 +43192,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteInventoryOutput(v **DeleteInventory } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -42226,6 +43232,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteMaintenanceWindowOutput(v **DeleteM } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -42354,10 +43361,12 @@ func awsAwsjson11_deserializeOpDocumentDeleteParametersOutput(v **DeleteParamete if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.DeletedParameters, value); err != nil { return err } + case "InvalidParameters": if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.InvalidParameters, value); err != nil { return err } + default: _, _ = key, value @@ -42397,6 +43406,7 @@ func awsAwsjson11_deserializeOpDocumentDeletePatchBaselineOutput(v **DeletePatch } sv.BaselineId = ptr.String(jtv) } + default: _, _ = key, value @@ -42529,6 +43539,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterPatchBaselineForPatchGroupOutpu } sv.BaselineId = ptr.String(jtv) } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -42537,6 +43548,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterPatchBaselineForPatchGroupOutpu } sv.PatchGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -42576,6 +43588,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTargetFromMaintenanceWindowOutp } sv.WindowId = ptr.String(jtv) } + case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -42584,6 +43597,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTargetFromMaintenanceWindowOutp } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -42623,6 +43637,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskFromMaintenanceWindowOutput } sv.WindowId = ptr.String(jtv) } + case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -42631,6 +43646,7 @@ func awsAwsjson11_deserializeOpDocumentDeregisterTaskFromMaintenanceWindowOutput } sv.WindowTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -42666,6 +43682,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActivationsOutput(v **DescribeAct if err := awsAwsjson11_deserializeDocumentActivationList(&sv.ActivationList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -42674,6 +43691,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeActivationsOutput(v **DescribeAct } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -42709,6 +43727,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionsOutput(v **D if err := awsAwsjson11_deserializeDocumentAssociationExecutionsList(&sv.AssociationExecutions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -42717,6 +43736,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionsOutput(v **D } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -42752,6 +43772,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionTargetsOutput if err := awsAwsjson11_deserializeDocumentAssociationExecutionTargetsList(&sv.AssociationExecutionTargets, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -42760,6 +43781,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationExecutionTargetsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -42795,6 +43817,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAssociationOutput(v **DescribeAss if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -42830,6 +43853,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationExecutionsOutput(v **De if err := awsAwsjson11_deserializeDocumentAutomationExecutionMetadataList(&sv.AutomationExecutionMetadataList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -42838,6 +43862,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationExecutionsOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -42877,10 +43902,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutomationStepExecutionsOutput(v } sv.NextToken = ptr.String(jtv) } + case "StepExecutions": if err := awsAwsjson11_deserializeDocumentStepExecutionList(&sv.StepExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -42920,10 +43947,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailablePatchesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + case "Patches": if err := awsAwsjson11_deserializeDocumentPatchList(&sv.Patches, value); err != nil { return err } + default: _, _ = key, value @@ -42959,6 +43988,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentOutput(v **DescribeDocume if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.Document, value); err != nil { return err } + default: _, _ = key, value @@ -42994,10 +44024,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentPermissionOutput(v **Desc if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountIds, value); err != nil { return err } + case "AccountSharingInfoList": if err := awsAwsjson11_deserializeDocumentAccountSharingInfoList(&sv.AccountSharingInfoList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43006,6 +44038,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDocumentPermissionOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43041,6 +44074,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectiveInstanceAssociationsOutp if err := awsAwsjson11_deserializeDocumentInstanceAssociationList(&sv.Associations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43049,6 +44083,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectiveInstanceAssociationsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43084,6 +44119,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePatchesForPatchBaselineO if err := awsAwsjson11_deserializeDocumentEffectivePatchList(&sv.EffectivePatches, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43092,6 +44128,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEffectivePatchesForPatchBaselineO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43127,6 +44164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAssociationsStatusOutput( if err := awsAwsjson11_deserializeDocumentInstanceAssociationStatusInfos(&sv.InstanceAssociationStatusInfos, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43135,6 +44173,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAssociationsStatusOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43170,6 +44209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceInformationOutput(v **Des if err := awsAwsjson11_deserializeDocumentInstanceInformationList(&sv.InstanceInformationList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43178,6 +44218,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceInformationOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43217,10 +44258,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "Patches": if err := awsAwsjson11_deserializeDocumentPatchComplianceDataList(&sv.Patches, value); err != nil { return err } + default: _, _ = key, value @@ -43256,6 +44299,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesForPatchGroupO if err := awsAwsjson11_deserializeDocumentInstancePatchStatesList(&sv.InstancePatchStates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43264,6 +44308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesForPatchGroupO } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43299,6 +44344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesOutput(v **Des if err := awsAwsjson11_deserializeDocumentInstancePatchStateList(&sv.InstancePatchStates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43307,6 +44353,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePatchStatesOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43342,6 +44389,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePropertiesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentInstanceProperties(&sv.InstanceProperties, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43350,6 +44398,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstancePropertiesOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43385,6 +44434,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInventoryDeletionsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentInventoryDeletionsList(&sv.InventoryDeletions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43393,6 +44443,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInventoryDeletionsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43432,10 +44483,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionsOutput } sv.NextToken = ptr.String(jtv) } + case "WindowExecutions": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionList(&sv.WindowExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -43475,10 +44528,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionTaskInv } sv.NextToken = ptr.String(jtv) } + case "WindowExecutionTaskInvocationIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskInvocationIdentityList(&sv.WindowExecutionTaskInvocationIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -43518,10 +44573,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowExecutionTasksOu } sv.NextToken = ptr.String(jtv) } + case "WindowExecutionTaskIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdentityList(&sv.WindowExecutionTaskIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -43561,10 +44618,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowScheduleOutput(v } sv.NextToken = ptr.String(jtv) } + case "ScheduledWindowExecutions": if err := awsAwsjson11_deserializeDocumentScheduledWindowExecutionList(&sv.ScheduledWindowExecutions, value); err != nil { return err } + default: _, _ = key, value @@ -43604,10 +44663,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowsForTargetOutput } sv.NextToken = ptr.String(jtv) } + case "WindowIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowsForTargetList(&sv.WindowIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -43647,10 +44708,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowsOutput(v **Desc } sv.NextToken = ptr.String(jtv) } + case "WindowIdentities": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowIdentityList(&sv.WindowIdentities, value); err != nil { return err } + default: _, _ = key, value @@ -43690,10 +44753,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowTargetsOutput(v } sv.NextToken = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTargetList(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -43733,10 +44798,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceWindowTasksOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Tasks": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskList(&sv.Tasks, value); err != nil { return err } + default: _, _ = key, value @@ -43776,10 +44843,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeOpsItemsOutput(v **DescribeOpsIte } sv.NextToken = ptr.String(jtv) } + case "OpsItemSummaries": if err := awsAwsjson11_deserializeDocumentOpsItemSummaries(&sv.OpsItemSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -43819,10 +44888,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeParametersOutput(v **DescribePara } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterMetadataList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -43858,6 +44929,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchBaselinesOutput(v **Describe if err := awsAwsjson11_deserializeDocumentPatchBaselineIdentityList(&sv.BaselineIdentities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43866,6 +44938,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchBaselinesOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43901,6 +44974,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupsOutput(v **DescribePat if err := awsAwsjson11_deserializeDocumentPatchGroupPatchBaselineMappingList(&sv.Mappings, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -43909,6 +44983,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupsOutput(v **DescribePat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -43952,6 +45027,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.Instances = int32(i64) } + case "InstancesWithCriticalNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -43964,6 +45040,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithCriticalNonCompliantPatches = ptr.Int32(int32(i64)) } + case "InstancesWithFailedPatches": if value != nil { jtv, ok := value.(json.Number) @@ -43976,6 +45053,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithFailedPatches = int32(i64) } + case "InstancesWithInstalledOtherPatches": if value != nil { jtv, ok := value.(json.Number) @@ -43988,6 +45066,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledOtherPatches = int32(i64) } + case "InstancesWithInstalledPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44000,6 +45079,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledPatches = int32(i64) } + case "InstancesWithInstalledPendingRebootPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44012,6 +45092,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledPendingRebootPatches = ptr.Int32(int32(i64)) } + case "InstancesWithInstalledRejectedPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44024,6 +45105,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithInstalledRejectedPatches = ptr.Int32(int32(i64)) } + case "InstancesWithMissingPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44036,6 +45118,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithMissingPatches = int32(i64) } + case "InstancesWithNotApplicablePatches": if value != nil { jtv, ok := value.(json.Number) @@ -44048,6 +45131,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithNotApplicablePatches = int32(i64) } + case "InstancesWithOtherNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44060,6 +45144,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithOtherNonCompliantPatches = ptr.Int32(int32(i64)) } + case "InstancesWithSecurityNonCompliantPatches": if value != nil { jtv, ok := value.(json.Number) @@ -44072,6 +45157,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithSecurityNonCompliantPatches = ptr.Int32(int32(i64)) } + case "InstancesWithUnreportedNotApplicablePatches": if value != nil { jtv, ok := value.(json.Number) @@ -44084,6 +45170,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchGroupStateOutput(v **Describ } sv.InstancesWithUnreportedNotApplicablePatches = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -44123,10 +45210,12 @@ func awsAwsjson11_deserializeOpDocumentDescribePatchPropertiesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "Properties": if err := awsAwsjson11_deserializeDocumentPatchPropertiesList(&sv.Properties, value); err != nil { return err } + default: _, _ = key, value @@ -44166,10 +45255,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSessionsOutput(v **DescribeSessio } sv.NextToken = ptr.String(jtv) } + case "Sessions": if err := awsAwsjson11_deserializeDocumentSessionList(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -44236,6 +45327,7 @@ func awsAwsjson11_deserializeOpDocumentGetAutomationExecutionOutput(v **GetAutom if err := awsAwsjson11_deserializeDocumentAutomationExecution(&sv.AutomationExecution, value); err != nil { return err } + default: _, _ = key, value @@ -44275,6 +45367,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.AtTime = ptr.String(jtv) } + case "NextTransitionTime": if value != nil { jtv, ok := value.(string) @@ -44283,6 +45376,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.NextTransitionTime = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -44291,6 +45385,7 @@ func awsAwsjson11_deserializeOpDocumentGetCalendarStateOutput(v **GetCalendarSta } sv.State = types.CalendarState(jtv) } + default: _, _ = key, value @@ -44326,6 +45421,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand if err := awsAwsjson11_deserializeDocumentCloudWatchOutputConfig(&sv.CloudWatchOutputConfig, value); err != nil { return err } + case "CommandId": if value != nil { jtv, ok := value.(string) @@ -44334,6 +45430,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.CommandId = ptr.String(jtv) } + case "Comment": if value != nil { jtv, ok := value.(string) @@ -44342,6 +45439,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.Comment = ptr.String(jtv) } + case "DocumentName": if value != nil { jtv, ok := value.(string) @@ -44350,6 +45448,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.DocumentName = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -44358,6 +45457,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.DocumentVersion = ptr.String(jtv) } + case "ExecutionElapsedTime": if value != nil { jtv, ok := value.(string) @@ -44366,6 +45466,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionElapsedTime = ptr.String(jtv) } + case "ExecutionEndDateTime": if value != nil { jtv, ok := value.(string) @@ -44374,6 +45475,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionEndDateTime = ptr.String(jtv) } + case "ExecutionStartDateTime": if value != nil { jtv, ok := value.(string) @@ -44382,6 +45484,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ExecutionStartDateTime = ptr.String(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -44390,6 +45493,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.InstanceId = ptr.String(jtv) } + case "PluginName": if value != nil { jtv, ok := value.(string) @@ -44398,6 +45502,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.PluginName = ptr.String(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -44410,6 +45515,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.ResponseCode = int32(i64) } + case "StandardErrorContent": if value != nil { jtv, ok := value.(string) @@ -44418,6 +45524,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardErrorContent = ptr.String(jtv) } + case "StandardErrorUrl": if value != nil { jtv, ok := value.(string) @@ -44426,6 +45533,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardErrorUrl = ptr.String(jtv) } + case "StandardOutputContent": if value != nil { jtv, ok := value.(string) @@ -44434,6 +45542,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardOutputContent = ptr.String(jtv) } + case "StandardOutputUrl": if value != nil { jtv, ok := value.(string) @@ -44442,6 +45551,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StandardOutputUrl = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44450,6 +45560,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.Status = types.CommandInvocationStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -44458,6 +45569,7 @@ func awsAwsjson11_deserializeOpDocumentGetCommandInvocationOutput(v **GetCommand } sv.StatusDetails = ptr.String(jtv) } + default: _, _ = key, value @@ -44497,6 +45609,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionStatusOutput(v **GetConnecti } sv.Status = types.ConnectionStatus(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -44505,6 +45618,7 @@ func awsAwsjson11_deserializeOpDocumentGetConnectionStatusOutput(v **GetConnecti } sv.Target = ptr.String(jtv) } + default: _, _ = key, value @@ -44544,6 +45658,7 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultPatchBaselineOutput(v **GetDefa } sv.BaselineId = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -44552,6 +45667,7 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultPatchBaselineOutput(v **GetDefa } sv.OperatingSystem = types.OperatingSystem(jtv) } + default: _, _ = key, value @@ -44591,6 +45707,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.InstanceId = ptr.String(jtv) } + case "Product": if value != nil { jtv, ok := value.(string) @@ -44599,6 +45716,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.Product = ptr.String(jtv) } + case "SnapshotDownloadUrl": if value != nil { jtv, ok := value.(string) @@ -44607,6 +45725,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.SnapshotDownloadUrl = ptr.String(jtv) } + case "SnapshotId": if value != nil { jtv, ok := value.(string) @@ -44615,6 +45734,7 @@ func awsAwsjson11_deserializeOpDocumentGetDeployablePatchSnapshotForInstanceOutp } sv.SnapshotId = ptr.String(jtv) } + default: _, _ = key, value @@ -44650,6 +45770,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, if err := awsAwsjson11_deserializeDocumentAttachmentContentList(&sv.AttachmentsContent, value); err != nil { return err } + case "Content": if value != nil { jtv, ok := value.(string) @@ -44658,6 +45779,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Content = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -44673,6 +45795,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -44681,6 +45804,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DisplayName = ptr.String(jtv) } + case "DocumentFormat": if value != nil { jtv, ok := value.(string) @@ -44689,6 +45813,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentFormat = types.DocumentFormat(jtv) } + case "DocumentType": if value != nil { jtv, ok := value.(string) @@ -44697,6 +45822,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentType = types.DocumentType(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -44705,6 +45831,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.DocumentVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -44713,10 +45840,12 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Name = ptr.String(jtv) } + case "Requires": if err := awsAwsjson11_deserializeDocumentDocumentRequiresList(&sv.Requires, value); err != nil { return err } + case "ReviewStatus": if value != nil { jtv, ok := value.(string) @@ -44725,6 +45854,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.ReviewStatus = types.ReviewStatus(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44733,6 +45863,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.Status = types.DocumentStatus(jtv) } + case "StatusInformation": if value != nil { jtv, ok := value.(string) @@ -44741,6 +45872,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.StatusInformation = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -44749,6 +45881,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -44784,6 +45917,7 @@ func awsAwsjson11_deserializeOpDocumentGetInventoryOutput(v **GetInventoryOutput if err := awsAwsjson11_deserializeDocumentInventoryResultEntityList(&sv.Entities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -44792,6 +45926,7 @@ func awsAwsjson11_deserializeOpDocumentGetInventoryOutput(v **GetInventoryOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -44831,10 +45966,12 @@ func awsAwsjson11_deserializeOpDocumentGetInventorySchemaOutput(v **GetInventory } sv.NextToken = ptr.String(jtv) } + case "Schemas": if err := awsAwsjson11_deserializeDocumentInventoryItemSchemaResultList(&sv.Schemas, value); err != nil { return err } + default: _, _ = key, value @@ -44881,6 +46018,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -44896,6 +46034,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -44904,6 +46043,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -44912,10 +46052,12 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.StatusDetails = ptr.String(jtv) } + case "TaskIds": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowExecutionTaskIdList(&sv.TaskIds, value); err != nil { return err } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -44924,6 +46066,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionOutput(v **G } sv.WindowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -44970,6 +46113,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } } + case "ExecutionId": if value != nil { jtv, ok := value.(string) @@ -44978,6 +46122,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.ExecutionId = ptr.String(jtv) } + case "InvocationId": if value != nil { jtv, ok := value.(string) @@ -44986,6 +46131,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.InvocationId = ptr.String(jtv) } + case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -44994,6 +46140,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.OwnerInformation = ptr.String(jtv) } + case "Parameters": if value != nil { jtv, ok := value.(string) @@ -45002,6 +46149,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.Parameters = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -45017,6 +46165,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45025,6 +46174,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -45033,6 +46183,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.StatusDetails = ptr.String(jtv) } + case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -45041,6 +46192,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.TaskExecutionId = ptr.String(jtv) } + case "TaskType": if value != nil { jtv, ok := value.(string) @@ -45049,6 +46201,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -45057,6 +46210,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.WindowExecutionId = ptr.String(jtv) } + case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -45065,6 +46219,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskInvocati } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -45100,6 +46255,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -45115,6 +46271,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -45123,6 +46280,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -45131,6 +46289,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.MaxErrors = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -45143,6 +46302,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Priority = int32(i64) } + case "ServiceRole": if value != nil { jtv, ok := value.(string) @@ -45151,6 +46311,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.ServiceRole = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -45166,6 +46327,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -45174,6 +46336,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Status = types.MaintenanceWindowExecutionStatus(jtv) } + case "StatusDetails": if value != nil { jtv, ok := value.(string) @@ -45182,6 +46345,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.StatusDetails = ptr.String(jtv) } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -45190,6 +46354,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.TaskArn = ptr.String(jtv) } + case "TaskExecutionId": if value != nil { jtv, ok := value.(string) @@ -45198,14 +46363,17 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.TaskExecutionId = ptr.String(jtv) } + case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParametersList(&sv.TaskParameters, value); err != nil { return err } + case "TriggeredAlarms": if err := awsAwsjson11_deserializeDocumentAlarmStateInformationList(&sv.TriggeredAlarms, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -45214,6 +46382,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.Type = types.MaintenanceWindowTaskType(jtv) } + case "WindowExecutionId": if value != nil { jtv, ok := value.(string) @@ -45222,6 +46391,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowExecutionTaskOutput(v } sv.WindowExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -45261,6 +46431,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.AllowUnassociatedTargets = jtv } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -45276,6 +46447,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } } + case "Cutoff": if value != nil { jtv, ok := value.(json.Number) @@ -45288,6 +46460,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Cutoff = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -45296,6 +46469,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Description = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -45308,6 +46482,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Duration = ptr.Int32(int32(i64)) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -45316,6 +46491,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Enabled = jtv } + case "EndDate": if value != nil { jtv, ok := value.(string) @@ -45324,6 +46500,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.EndDate = ptr.String(jtv) } + case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -45339,6 +46516,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45347,6 +46525,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Name = ptr.String(jtv) } + case "NextExecutionTime": if value != nil { jtv, ok := value.(string) @@ -45355,6 +46534,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.NextExecutionTime = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -45363,6 +46543,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.Schedule = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -45375,6 +46556,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -45383,6 +46565,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.ScheduleTimezone = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -45391,6 +46574,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.StartDate = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -45399,6 +46583,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -45434,6 +46619,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -45442,6 +46628,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -45450,10 +46637,12 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Description = ptr.String(jtv) } + case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -45462,6 +46651,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -45470,6 +46660,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45478,6 +46669,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -45490,6 +46682,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.Priority = int32(i64) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -45498,10 +46691,12 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.ServiceRoleArn = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -45510,14 +46705,17 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.TaskArn = ptr.String(jtv) } + case "TaskInvocationParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(&sv.TaskInvocationParameters, value); err != nil { return err } + case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } + case "TaskType": if value != nil { jtv, ok := value.(string) @@ -45526,6 +46724,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.TaskType = types.MaintenanceWindowTaskType(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -45534,6 +46733,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.WindowId = ptr.String(jtv) } + case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -45542,6 +46742,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowTaskOutput(v **GetMai } sv.WindowTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -45577,6 +46778,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsItemOutput(v **GetOpsItemOutput, va if err := awsAwsjson11_deserializeDocumentOpsItem(&sv.OpsItem, value); err != nil { return err } + default: _, _ = key, value @@ -45612,6 +46814,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu if err := awsAwsjson11_deserializeDocumentMetadataMap(&sv.Metadata, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45620,6 +46823,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu } sv.NextToken = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -45628,6 +46832,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsMetadataOutput(v **GetOpsMetadataOu } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -45663,6 +46868,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsSummaryOutput(v **GetOpsSummaryOutp if err := awsAwsjson11_deserializeDocumentOpsEntityList(&sv.Entities, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -45671,6 +46877,7 @@ func awsAwsjson11_deserializeOpDocumentGetOpsSummaryOutput(v **GetOpsSummaryOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -45710,10 +46917,12 @@ func awsAwsjson11_deserializeOpDocumentGetParameterHistoryOutput(v **GetParamete } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterHistoryList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -45749,6 +46958,7 @@ func awsAwsjson11_deserializeOpDocumentGetParameterOutput(v **GetParameterOutput if err := awsAwsjson11_deserializeDocumentParameter(&sv.Parameter, value); err != nil { return err } + default: _, _ = key, value @@ -45788,10 +46998,12 @@ func awsAwsjson11_deserializeOpDocumentGetParametersByPathOutput(v **GetParamete } sv.NextToken = ptr.String(jtv) } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -45827,10 +47039,12 @@ func awsAwsjson11_deserializeOpDocumentGetParametersOutput(v **GetParametersOutp if err := awsAwsjson11_deserializeDocumentParameterNameList(&sv.InvalidParameters, value); err != nil { return err } + case "Parameters": if err := awsAwsjson11_deserializeDocumentParameterList(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -45870,6 +47084,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.BaselineId = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -45878,6 +47093,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -45886,6 +47102,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineForPatchGroupOutput(v **G } sv.PatchGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -45921,10 +47138,12 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli if err := awsAwsjson11_deserializeDocumentPatchRuleGroup(&sv.ApprovalRules, value); err != nil { return err } + case "ApprovedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.ApprovedPatches, value); err != nil { return err } + case "ApprovedPatchesComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -45933,6 +47152,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.ApprovedPatchesComplianceLevel = types.PatchComplianceLevel(jtv) } + case "ApprovedPatchesEnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -45941,6 +47161,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.ApprovedPatchesEnableNonSecurity = ptr.Bool(jtv) } + case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -45949,6 +47170,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.BaselineId = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -45964,6 +47186,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -45972,10 +47195,12 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.Description = ptr.String(jtv) } + case "GlobalFilters": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.GlobalFilters, value); err != nil { return err } + case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -45991,6 +47216,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -45999,6 +47225,7 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -46007,14 +47234,17 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "PatchGroups": if err := awsAwsjson11_deserializeDocumentPatchGroupList(&sv.PatchGroups, value); err != nil { return err } + case "RejectedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.RejectedPatches, value); err != nil { return err } + case "RejectedPatchesAction": if value != nil { jtv, ok := value.(string) @@ -46023,10 +47253,12 @@ func awsAwsjson11_deserializeOpDocumentGetPatchBaselineOutput(v **GetPatchBaseli } sv.RejectedPatchesAction = types.PatchAction(jtv) } + case "Sources": if err := awsAwsjson11_deserializeDocumentPatchSourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value @@ -46066,10 +47298,12 @@ func awsAwsjson11_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } + case "Policies": if err := awsAwsjson11_deserializeDocumentGetResourcePoliciesResponseEntries(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -46105,6 +47339,7 @@ func awsAwsjson11_deserializeOpDocumentGetServiceSettingOutput(v **GetServiceSet if err := awsAwsjson11_deserializeDocumentServiceSetting(&sv.ServiceSetting, value); err != nil { return err } + default: _, _ = key, value @@ -46140,6 +47375,7 @@ func awsAwsjson11_deserializeOpDocumentLabelParameterVersionOutput(v **LabelPara if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.InvalidLabels, value); err != nil { return err } + case "ParameterVersion": if value != nil { jtv, ok := value.(json.Number) @@ -46152,6 +47388,7 @@ func awsAwsjson11_deserializeOpDocumentLabelParameterVersionOutput(v **LabelPara } sv.ParameterVersion = i64 } + default: _, _ = key, value @@ -46187,6 +47424,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio if err := awsAwsjson11_deserializeDocumentAssociationList(&sv.Associations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46195,6 +47433,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationsOutput(v **ListAssociatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46230,6 +47469,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationVersionsOutput(v **ListAss if err := awsAwsjson11_deserializeDocumentAssociationVersionList(&sv.AssociationVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46238,6 +47478,7 @@ func awsAwsjson11_deserializeOpDocumentListAssociationVersionsOutput(v **ListAss } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46273,6 +47514,7 @@ func awsAwsjson11_deserializeOpDocumentListCommandInvocationsOutput(v **ListComm if err := awsAwsjson11_deserializeDocumentCommandInvocationList(&sv.CommandInvocations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46281,6 +47523,7 @@ func awsAwsjson11_deserializeOpDocumentListCommandInvocationsOutput(v **ListComm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46316,6 +47559,7 @@ func awsAwsjson11_deserializeOpDocumentListCommandsOutput(v **ListCommandsOutput if err := awsAwsjson11_deserializeDocumentCommandList(&sv.Commands, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46324,6 +47568,7 @@ func awsAwsjson11_deserializeOpDocumentListCommandsOutput(v **ListCommandsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46359,6 +47604,7 @@ func awsAwsjson11_deserializeOpDocumentListComplianceItemsOutput(v **ListComplia if err := awsAwsjson11_deserializeDocumentComplianceItemList(&sv.ComplianceItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46367,6 +47613,7 @@ func awsAwsjson11_deserializeOpDocumentListComplianceItemsOutput(v **ListComplia } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46402,6 +47649,7 @@ func awsAwsjson11_deserializeOpDocumentListComplianceSummariesOutput(v **ListCom if err := awsAwsjson11_deserializeDocumentComplianceSummaryItemList(&sv.ComplianceSummaryItems, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46410,6 +47658,7 @@ func awsAwsjson11_deserializeOpDocumentListComplianceSummariesOutput(v **ListCom } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46449,6 +47698,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.Author = ptr.String(jtv) } + case "DocumentVersion": if value != nil { jtv, ok := value.(string) @@ -46457,10 +47707,12 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.DocumentVersion = ptr.String(jtv) } + case "Metadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadataResponseInfo(&sv.Metadata, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -46469,6 +47721,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.Name = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46477,6 +47730,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentMetadataHistoryOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46512,6 +47766,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp if err := awsAwsjson11_deserializeDocumentDocumentIdentifierList(&sv.DocumentIdentifiers, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46520,6 +47775,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentsOutput(v **ListDocumentsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46555,6 +47811,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentVersionsOutput(v **ListDocume if err := awsAwsjson11_deserializeDocumentDocumentVersionList(&sv.DocumentVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46563,6 +47820,7 @@ func awsAwsjson11_deserializeOpDocumentListDocumentVersionsOutput(v **ListDocume } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -46602,10 +47860,12 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.CaptureTime = ptr.String(jtv) } + case "Entries": if err := awsAwsjson11_deserializeDocumentInventoryItemEntryList(&sv.Entries, value); err != nil { return err } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -46614,6 +47874,7 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.InstanceId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -46622,6 +47883,7 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.NextToken = ptr.String(jtv) } + case "SchemaVersion": if value != nil { jtv, ok := value.(string) @@ -46630,6 +47892,7 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.SchemaVersion = ptr.String(jtv) } + case "TypeName": if value != nil { jtv, ok := value.(string) @@ -46638,6 +47901,7 @@ func awsAwsjson11_deserializeOpDocumentListInventoryEntriesOutput(v **ListInvent } sv.TypeName = ptr.String(jtv) } + default: _, _ = key, value @@ -46677,10 +47941,12 @@ func awsAwsjson11_deserializeOpDocumentListOpsItemEventsOutput(v **ListOpsItemEv } sv.NextToken = ptr.String(jtv) } + case "Summaries": if err := awsAwsjson11_deserializeDocumentOpsItemEventSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -46720,10 +47986,12 @@ func awsAwsjson11_deserializeOpDocumentListOpsItemRelatedItemsOutput(v **ListOps } sv.NextToken = ptr.String(jtv) } + case "Summaries": if err := awsAwsjson11_deserializeDocumentOpsItemRelatedItemSummaries(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -46763,10 +48031,12 @@ func awsAwsjson11_deserializeOpDocumentListOpsMetadataOutput(v **ListOpsMetadata } sv.NextToken = ptr.String(jtv) } + case "OpsMetadataList": if err := awsAwsjson11_deserializeDocumentOpsMetadataList(&sv.OpsMetadataList, value); err != nil { return err } + default: _, _ = key, value @@ -46806,10 +48076,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceComplianceSummariesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "ResourceComplianceSummaryItems": if err := awsAwsjson11_deserializeDocumentResourceComplianceSummaryItemList(&sv.ResourceComplianceSummaryItems, value); err != nil { return err } + default: _, _ = key, value @@ -46849,10 +48121,12 @@ func awsAwsjson11_deserializeOpDocumentListResourceDataSyncOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } + case "ResourceDataSyncItems": if err := awsAwsjson11_deserializeDocumentResourceDataSyncItemList(&sv.ResourceDataSyncItems, value); err != nil { return err } + default: _, _ = key, value @@ -46888,6 +48162,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -46989,6 +48264,7 @@ func awsAwsjson11_deserializeOpDocumentPutInventoryOutput(v **PutInventoryOutput } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -47028,6 +48304,7 @@ func awsAwsjson11_deserializeOpDocumentPutParameterOutput(v **PutParameterOutput } sv.Tier = types.ParameterTier(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -47040,6 +48317,7 @@ func awsAwsjson11_deserializeOpDocumentPutParameterOutput(v **PutParameterOutput } sv.Version = i64 } + default: _, _ = key, value @@ -47079,6 +48357,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyHash = ptr.String(jtv) } + case "PolicyId": if value != nil { jtv, ok := value.(string) @@ -47087,6 +48366,7 @@ func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -47126,6 +48406,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterDefaultPatchBaselineOutput(v **Re } sv.BaselineId = ptr.String(jtv) } + default: _, _ = key, value @@ -47165,6 +48446,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterPatchBaselineForPatchGroupOutput( } sv.BaselineId = ptr.String(jtv) } + case "PatchGroup": if value != nil { jtv, ok := value.(string) @@ -47173,6 +48455,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterPatchBaselineForPatchGroupOutput( } sv.PatchGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -47212,6 +48495,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterTargetWithMaintenanceWindowOutput } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -47251,6 +48535,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterTaskWithMaintenanceWindowOutput(v } sv.WindowTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -47317,6 +48602,7 @@ func awsAwsjson11_deserializeOpDocumentResetServiceSettingOutput(v **ResetServic if err := awsAwsjson11_deserializeDocumentServiceSetting(&sv.ServiceSetting, value); err != nil { return err } + default: _, _ = key, value @@ -47356,6 +48642,7 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.SessionId = ptr.String(jtv) } + case "StreamUrl": if value != nil { jtv, ok := value.(string) @@ -47364,6 +48651,7 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.StreamUrl = ptr.String(jtv) } + case "TokenValue": if value != nil { jtv, ok := value.(string) @@ -47372,6 +48660,7 @@ func awsAwsjson11_deserializeOpDocumentResumeSessionOutput(v **ResumeSessionOutp } sv.TokenValue = ptr.String(jtv) } + default: _, _ = key, value @@ -47438,6 +48727,7 @@ func awsAwsjson11_deserializeOpDocumentSendCommandOutput(v **SendCommandOutput, if err := awsAwsjson11_deserializeDocumentCommand(&sv.Command, value); err != nil { return err } + default: _, _ = key, value @@ -47508,6 +48798,7 @@ func awsAwsjson11_deserializeOpDocumentStartAutomationExecutionOutput(v **StartA } sv.AutomationExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -47547,6 +48838,7 @@ func awsAwsjson11_deserializeOpDocumentStartChangeRequestExecutionOutput(v **Sta } sv.AutomationExecutionId = ptr.String(jtv) } + default: _, _ = key, value @@ -47586,6 +48878,7 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.SessionId = ptr.String(jtv) } + case "StreamUrl": if value != nil { jtv, ok := value.(string) @@ -47594,6 +48887,7 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.StreamUrl = ptr.String(jtv) } + case "TokenValue": if value != nil { jtv, ok := value.(string) @@ -47602,6 +48896,7 @@ func awsAwsjson11_deserializeOpDocumentStartSessionOutput(v **StartSessionOutput } sv.TokenValue = ptr.String(jtv) } + default: _, _ = key, value @@ -47672,6 +48967,7 @@ func awsAwsjson11_deserializeOpDocumentTerminateSessionOutput(v **TerminateSessi } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -47707,10 +49003,12 @@ func awsAwsjson11_deserializeOpDocumentUnlabelParameterVersionOutput(v **Unlabel if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.InvalidLabels, value); err != nil { return err } + case "RemovedLabels": if err := awsAwsjson11_deserializeDocumentParameterLabelList(&sv.RemovedLabels, value); err != nil { return err } + default: _, _ = key, value @@ -47746,6 +49044,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAssociationOutput(v **UpdateAssocia if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -47781,6 +49080,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAssociationStatusOutput(v **UpdateA if err := awsAwsjson11_deserializeDocumentAssociationDescription(&sv.AssociationDescription, value); err != nil { return err } + default: _, _ = key, value @@ -47816,6 +49116,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDocumentDefaultVersionOutput(v **Up if err := awsAwsjson11_deserializeDocumentDocumentDefaultVersionDescription(&sv.Description, value); err != nil { return err } + default: _, _ = key, value @@ -47882,6 +49183,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateDocumentOutput(v **UpdateDocumentOu if err := awsAwsjson11_deserializeDocumentDocumentDescription(&sv.DocumentDescription, value); err != nil { return err } + default: _, _ = key, value @@ -47921,6 +49223,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.AllowUnassociatedTargets = jtv } + case "Cutoff": if value != nil { jtv, ok := value.(json.Number) @@ -47933,6 +49236,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Cutoff = int32(i64) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -47941,6 +49245,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Description = ptr.String(jtv) } + case "Duration": if value != nil { jtv, ok := value.(json.Number) @@ -47953,6 +49258,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Duration = ptr.Int32(int32(i64)) } + case "Enabled": if value != nil { jtv, ok := value.(bool) @@ -47961,6 +49267,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Enabled = jtv } + case "EndDate": if value != nil { jtv, ok := value.(string) @@ -47969,6 +49276,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.EndDate = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -47977,6 +49285,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Name = ptr.String(jtv) } + case "Schedule": if value != nil { jtv, ok := value.(string) @@ -47985,6 +49294,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.Schedule = ptr.String(jtv) } + case "ScheduleOffset": if value != nil { jtv, ok := value.(json.Number) @@ -47997,6 +49307,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.ScheduleOffset = ptr.Int32(int32(i64)) } + case "ScheduleTimezone": if value != nil { jtv, ok := value.(string) @@ -48005,6 +49316,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.ScheduleTimezone = ptr.String(jtv) } + case "StartDate": if value != nil { jtv, ok := value.(string) @@ -48013,6 +49325,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.StartDate = ptr.String(jtv) } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -48021,6 +49334,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM } sv.WindowId = ptr.String(jtv) } + default: _, _ = key, value @@ -48060,6 +49374,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48068,6 +49383,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.Name = ptr.String(jtv) } + case "OwnerInformation": if value != nil { jtv, ok := value.(string) @@ -48076,10 +49392,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.OwnerInformation = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -48088,6 +49406,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.WindowId = ptr.String(jtv) } + case "WindowTargetId": if value != nil { jtv, ok := value.(string) @@ -48096,6 +49415,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTargetOutput(v **U } sv.WindowTargetId = ptr.String(jtv) } + default: _, _ = key, value @@ -48131,6 +49451,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd if err := awsAwsjson11_deserializeDocumentAlarmConfiguration(&sv.AlarmConfiguration, value); err != nil { return err } + case "CutoffBehavior": if value != nil { jtv, ok := value.(string) @@ -48139,6 +49460,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.CutoffBehavior = types.MaintenanceWindowTaskCutoffBehavior(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -48147,10 +49469,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Description = ptr.String(jtv) } + case "LoggingInfo": if err := awsAwsjson11_deserializeDocumentLoggingInfo(&sv.LoggingInfo, value); err != nil { return err } + case "MaxConcurrency": if value != nil { jtv, ok := value.(string) @@ -48159,6 +49483,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.MaxConcurrency = ptr.String(jtv) } + case "MaxErrors": if value != nil { jtv, ok := value.(string) @@ -48167,6 +49492,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.MaxErrors = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48175,6 +49501,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Name = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -48187,6 +49514,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.Priority = int32(i64) } + case "ServiceRoleArn": if value != nil { jtv, ok := value.(string) @@ -48195,10 +49523,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.ServiceRoleArn = ptr.String(jtv) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargets(&sv.Targets, value); err != nil { return err } + case "TaskArn": if value != nil { jtv, ok := value.(string) @@ -48207,14 +49537,17 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.TaskArn = ptr.String(jtv) } + case "TaskInvocationParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskInvocationParameters(&sv.TaskInvocationParameters, value); err != nil { return err } + case "TaskParameters": if err := awsAwsjson11_deserializeDocumentMaintenanceWindowTaskParameters(&sv.TaskParameters, value); err != nil { return err } + case "WindowId": if value != nil { jtv, ok := value.(string) @@ -48223,6 +49556,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.WindowId = ptr.String(jtv) } + case "WindowTaskId": if value != nil { jtv, ok := value.(string) @@ -48231,6 +49565,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowTaskOutput(v **Upd } sv.WindowTaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -48332,6 +49667,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateOpsMetadataOutput(v **UpdateOpsMeta } sv.OpsMetadataArn = ptr.String(jtv) } + default: _, _ = key, value @@ -48367,10 +49703,12 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch if err := awsAwsjson11_deserializeDocumentPatchRuleGroup(&sv.ApprovalRules, value); err != nil { return err } + case "ApprovedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.ApprovedPatches, value); err != nil { return err } + case "ApprovedPatchesComplianceLevel": if value != nil { jtv, ok := value.(string) @@ -48379,6 +49717,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.ApprovedPatchesComplianceLevel = types.PatchComplianceLevel(jtv) } + case "ApprovedPatchesEnableNonSecurity": if value != nil { jtv, ok := value.(bool) @@ -48387,6 +49726,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.ApprovedPatchesEnableNonSecurity = ptr.Bool(jtv) } + case "BaselineId": if value != nil { jtv, ok := value.(string) @@ -48395,6 +49735,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.BaselineId = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -48410,6 +49751,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -48418,10 +49760,12 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.Description = ptr.String(jtv) } + case "GlobalFilters": if err := awsAwsjson11_deserializeDocumentPatchFilterGroup(&sv.GlobalFilters, value); err != nil { return err } + case "ModifiedDate": if value != nil { switch jtv := value.(type) { @@ -48437,6 +49781,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -48445,6 +49790,7 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if value != nil { jtv, ok := value.(string) @@ -48453,10 +49799,12 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.OperatingSystem = types.OperatingSystem(jtv) } + case "RejectedPatches": if err := awsAwsjson11_deserializeDocumentPatchIdList(&sv.RejectedPatches, value); err != nil { return err } + case "RejectedPatchesAction": if value != nil { jtv, ok := value.(string) @@ -48465,10 +49813,12 @@ func awsAwsjson11_deserializeOpDocumentUpdatePatchBaselineOutput(v **UpdatePatch } sv.RejectedPatchesAction = types.PatchAction(jtv) } + case "Sources": if err := awsAwsjson11_deserializeDocumentPatchSourceList(&sv.Sources, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/ssmcontacts/deserializers.go b/service/ssmcontacts/deserializers.go index 6c9e8e99b09..73537a36fa8 100644 --- a/service/ssmcontacts/deserializers.go +++ b/service/ssmcontacts/deserializers.go @@ -5196,6 +5196,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5235,6 +5236,7 @@ func awsAwsjson11_deserializeDocumentChannelTargetInfo(v **types.ChannelTargetIn } sv.ContactChannelId = ptr.String(jtv) } + case "RetryIntervalInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -5247,6 +5249,7 @@ func awsAwsjson11_deserializeDocumentChannelTargetInfo(v **types.ChannelTargetIn } sv.RetryIntervalInMinutes = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5282,6 +5285,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti if err := awsAwsjson11_deserializeDocumentDependentEntityList(&sv.DependentEntities, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5290,6 +5294,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -5298,6 +5303,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5306,6 +5312,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5345,6 +5352,7 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Alias = ptr.String(jtv) } + case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -5353,6 +5361,7 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.ContactArn = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -5361,6 +5370,7 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.DisplayName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5369,6 +5379,7 @@ func awsAwsjson11_deserializeDocumentContact(v **types.Contact, value interface{ } sv.Type = types.ContactType(jtv) } + default: _, _ = key, value @@ -5408,6 +5419,7 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ActivationStatus = types.ActivationStatus(jtv) } + case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -5416,6 +5428,7 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ContactArn = ptr.String(jtv) } + case "ContactChannelArn": if value != nil { jtv, ok := value.(string) @@ -5424,10 +5437,12 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.ContactChannelArn = ptr.String(jtv) } + case "DeliveryAddress": if err := awsAwsjson11_deserializeDocumentContactChannelAddress(&sv.DeliveryAddress, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5436,6 +5451,7 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5444,6 +5460,7 @@ func awsAwsjson11_deserializeDocumentContactChannel(v **types.ContactChannel, va } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -5483,6 +5500,7 @@ func awsAwsjson11_deserializeDocumentContactChannelAddress(v **types.ContactChan } sv.SimpleAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -5590,6 +5608,7 @@ func awsAwsjson11_deserializeDocumentContactTargetInfo(v **types.ContactTargetIn } sv.ContactId = ptr.String(jtv) } + case "IsEssential": if value != nil { jtv, ok := value.(bool) @@ -5598,6 +5617,7 @@ func awsAwsjson11_deserializeDocumentContactTargetInfo(v **types.ContactTargetIn } sv.IsEssential = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5633,10 +5653,12 @@ func awsAwsjson11_deserializeDocumentCoverageTime(v **types.CoverageTime, value if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.End, value); err != nil { return err } + case "Start": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.Start, value); err != nil { return err } + default: _, _ = key, value @@ -5744,6 +5766,7 @@ func awsAwsjson11_deserializeDocumentDataEncryptionException(v **types.DataEncry } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5779,6 +5802,7 @@ func awsAwsjson11_deserializeDocumentDependentEntity(v **types.DependentEntity, if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.DependentResourceIds, value); err != nil { return err } + case "RelationType": if value != nil { jtv, ok := value.(string) @@ -5787,6 +5811,7 @@ func awsAwsjson11_deserializeDocumentDependentEntity(v **types.DependentEntity, } sv.RelationType = ptr.String(jtv) } + default: _, _ = key, value @@ -5860,6 +5885,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.ContactArn = ptr.String(jtv) } + case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -5868,6 +5894,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.EngagementArn = ptr.String(jtv) } + case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -5876,6 +5903,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.IncidentId = ptr.String(jtv) } + case "Sender": if value != nil { jtv, ok := value.(string) @@ -5884,6 +5912,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } sv.Sender = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5899,6 +5928,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } } + case "StopTime": if value != nil { switch jtv := value.(type) { @@ -5914,6 +5944,7 @@ func awsAwsjson11_deserializeDocumentEngagement(v **types.Engagement, value inte } } + default: _, _ = key, value @@ -5991,6 +6022,7 @@ func awsAwsjson11_deserializeDocumentHandOffTime(v **types.HandOffTime, value in } sv.HourOfDay = int32(i64) } + case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -6003,6 +6035,7 @@ func awsAwsjson11_deserializeDocumentHandOffTime(v **types.HandOffTime, value in } sv.MinuteOfHour = int32(i64) } + default: _, _ = key, value @@ -6042,6 +6075,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -6054,6 +6088,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -6097,10 +6132,12 @@ func awsAwsjson11_deserializeDocumentMonthlySetting(v **types.MonthlySetting, va } sv.DayOfMonth = ptr.Int32(int32(i64)) } + case "HandOffTime": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.HandOffTime, value); err != nil { return err } + default: _, _ = key, value @@ -6174,6 +6211,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.ContactArn = ptr.String(jtv) } + case "DeliveryTime": if value != nil { switch jtv := value.(type) { @@ -6189,6 +6227,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } + case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -6197,6 +6236,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.EngagementArn = ptr.String(jtv) } + case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -6205,6 +6245,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.IncidentId = ptr.String(jtv) } + case "PageArn": if value != nil { jtv, ok := value.(string) @@ -6213,6 +6254,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.PageArn = ptr.String(jtv) } + case "ReadTime": if value != nil { switch jtv := value.(type) { @@ -6228,6 +6270,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } + case "Sender": if value != nil { jtv, ok := value.(string) @@ -6236,6 +6279,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } sv.Sender = ptr.String(jtv) } + case "SentTime": if value != nil { switch jtv := value.(type) { @@ -6251,6 +6295,7 @@ func awsAwsjson11_deserializeDocumentPage(v **types.Page, value interface{}) err } } + default: _, _ = key, value @@ -6320,10 +6365,12 @@ func awsAwsjson11_deserializeDocumentPlan(v **types.Plan, value interface{}) err if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.RotationIds, value); err != nil { return err } + case "Stages": if err := awsAwsjson11_deserializeDocumentStagesList(&sv.Stages, value); err != nil { return err } + default: _, _ = key, value @@ -6363,6 +6410,7 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ContactChannelArn = ptr.String(jtv) } + case "ReceiptInfo": if value != nil { jtv, ok := value.(string) @@ -6371,6 +6419,7 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReceiptInfo = ptr.String(jtv) } + case "ReceiptTime": if value != nil { switch jtv := value.(type) { @@ -6386,6 +6435,7 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } } + case "ReceiptType": if value != nil { jtv, ok := value.(string) @@ -6394,6 +6444,7 @@ func awsAwsjson11_deserializeDocumentReceipt(v **types.Receipt, value interface{ } sv.ReceiptType = types.ReceiptType(jtv) } + default: _, _ = key, value @@ -6463,10 +6514,12 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett if err := awsAwsjson11_deserializeDocumentDailySettings(&sv.DailySettings, value); err != nil { return err } + case "MonthlySettings": if err := awsAwsjson11_deserializeDocumentMonthlySettings(&sv.MonthlySettings, value); err != nil { return err } + case "NumberOfOnCalls": if value != nil { jtv, ok := value.(json.Number) @@ -6479,6 +6532,7 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett } sv.NumberOfOnCalls = ptr.Int32(int32(i64)) } + case "RecurrenceMultiplier": if value != nil { jtv, ok := value.(json.Number) @@ -6491,14 +6545,17 @@ func awsAwsjson11_deserializeDocumentRecurrenceSettings(v **types.RecurrenceSett } sv.RecurrenceMultiplier = ptr.Int32(int32(i64)) } + case "ShiftCoverages": if err := awsAwsjson11_deserializeDocumentShiftCoveragesMap(&sv.ShiftCoverages, value); err != nil { return err } + case "WeeklySettings": if err := awsAwsjson11_deserializeDocumentWeeklySettings(&sv.WeeklySettings, value); err != nil { return err } + default: _, _ = key, value @@ -6538,6 +6595,7 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.ContactArn = ptr.String(jtv) } + case "StageIndex": if value != nil { jtv, ok := value.(json.Number) @@ -6550,6 +6608,7 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.StageIndex = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6558,6 +6617,7 @@ func awsAwsjson11_deserializeDocumentResolutionContact(v **types.ResolutionConta } sv.Type = types.ContactType(jtv) } + default: _, _ = key, value @@ -6631,6 +6691,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -6639,6 +6700,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6647,6 +6709,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -6682,6 +6745,7 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.ContactIds, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6690,10 +6754,12 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.Name = ptr.String(jtv) } + case "Recurrence": if err := awsAwsjson11_deserializeDocumentRecurrenceSettings(&sv.Recurrence, value); err != nil { return err } + case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -6702,6 +6768,7 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.RotationArn = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6717,6 +6784,7 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } } + case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -6725,6 +6793,7 @@ func awsAwsjson11_deserializeDocumentRotation(v **types.Rotation, value interfac } sv.TimeZoneId = ptr.String(jtv) } + default: _, _ = key, value @@ -6807,6 +6876,7 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -6822,10 +6892,12 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } + case "NewContactIds": if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.NewContactIds, value); err != nil { return err } + case "RotationOverrideId": if value != nil { jtv, ok := value.(string) @@ -6834,6 +6906,7 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } sv.RotationOverrideId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6849,6 +6922,7 @@ func awsAwsjson11_deserializeDocumentRotationOverride(v **types.RotationOverride } } + default: _, _ = key, value @@ -6952,6 +7026,7 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.ContactIds, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -6967,10 +7042,12 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } } + case "ShiftDetails": if err := awsAwsjson11_deserializeDocumentShiftDetails(&sv.ShiftDetails, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6986,6 +7063,7 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6994,6 +7072,7 @@ func awsAwsjson11_deserializeDocumentRotationShift(v **types.RotationShift, valu } sv.Type = types.ShiftType(jtv) } + default: _, _ = key, value @@ -7067,6 +7146,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7075,6 +7155,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -7083,6 +7164,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -7091,6 +7173,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7099,6 +7182,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7168,6 +7252,7 @@ func awsAwsjson11_deserializeDocumentShiftDetails(v **types.ShiftDetails, value if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.OverriddenContactIds, value); err != nil { return err } + default: _, _ = key, value @@ -7247,10 +7332,12 @@ func awsAwsjson11_deserializeDocumentStage(v **types.Stage, value interface{}) e } sv.DurationInMinutes = ptr.Int32(int32(i64)) } + case "Targets": if err := awsAwsjson11_deserializeDocumentTargetsList(&sv.Targets, value); err != nil { return err } + default: _, _ = key, value @@ -7324,6 +7411,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7332,6 +7420,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7401,10 +7490,12 @@ func awsAwsjson11_deserializeDocumentTarget(v **types.Target, value interface{}) if err := awsAwsjson11_deserializeDocumentChannelTargetInfo(&sv.ChannelTargetInfo, value); err != nil { return err } + case "ContactTargetInfo": if err := awsAwsjson11_deserializeDocumentContactTargetInfo(&sv.ContactTargetInfo, value); err != nil { return err } + default: _, _ = key, value @@ -7478,6 +7569,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -7486,6 +7578,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "RetryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -7498,6 +7591,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -7506,6 +7600,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -7541,6 +7636,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson11_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7549,6 +7645,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -7557,6 +7654,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -7596,6 +7694,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7604,6 +7703,7 @@ func awsAwsjson11_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7677,10 +7777,12 @@ func awsAwsjson11_deserializeDocumentWeeklySetting(v **types.WeeklySetting, valu } sv.DayOfWeek = types.DayOfWeek(jtv) } + case "HandOffTime": if err := awsAwsjson11_deserializeDocumentHandOffTime(&sv.HandOffTime, value); err != nil { return err } + default: _, _ = key, value @@ -7816,6 +7918,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContactChannelOutput(v **CreateCont } sv.ContactChannelArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7855,6 +7958,7 @@ func awsAwsjson11_deserializeOpDocumentCreateContactOutput(v **CreateContactOutp } sv.ContactArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7894,6 +7998,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRotationOutput(v **CreateRotationOu } sv.RotationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7933,6 +8038,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRotationOverrideOutput(v **CreateRo } sv.RotationOverrideId = ptr.String(jtv) } + default: _, _ = key, value @@ -8127,6 +8233,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.ContactArn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -8135,6 +8242,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Content = ptr.String(jtv) } + case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -8143,6 +8251,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.EngagementArn = ptr.String(jtv) } + case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -8151,6 +8260,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.IncidentId = ptr.String(jtv) } + case "PublicContent": if value != nil { jtv, ok := value.(string) @@ -8159,6 +8269,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.PublicContent = ptr.String(jtv) } + case "PublicSubject": if value != nil { jtv, ok := value.(string) @@ -8167,6 +8278,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.PublicSubject = ptr.String(jtv) } + case "Sender": if value != nil { jtv, ok := value.(string) @@ -8175,6 +8287,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Sender = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8190,6 +8303,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } } + case "StopTime": if value != nil { switch jtv := value.(type) { @@ -8205,6 +8319,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -8213,6 +8328,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEngagementOutput(v **DescribeEnga } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -8252,6 +8368,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.ContactArn = ptr.String(jtv) } + case "Content": if value != nil { jtv, ok := value.(string) @@ -8260,6 +8377,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Content = ptr.String(jtv) } + case "DeliveryTime": if value != nil { switch jtv := value.(type) { @@ -8275,6 +8393,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } + case "EngagementArn": if value != nil { jtv, ok := value.(string) @@ -8283,6 +8402,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.EngagementArn = ptr.String(jtv) } + case "IncidentId": if value != nil { jtv, ok := value.(string) @@ -8291,6 +8411,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.IncidentId = ptr.String(jtv) } + case "PageArn": if value != nil { jtv, ok := value.(string) @@ -8299,6 +8420,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PageArn = ptr.String(jtv) } + case "PublicContent": if value != nil { jtv, ok := value.(string) @@ -8307,6 +8429,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PublicContent = ptr.String(jtv) } + case "PublicSubject": if value != nil { jtv, ok := value.(string) @@ -8315,6 +8438,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.PublicSubject = ptr.String(jtv) } + case "ReadTime": if value != nil { switch jtv := value.(type) { @@ -8330,6 +8454,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } + case "Sender": if value != nil { jtv, ok := value.(string) @@ -8338,6 +8463,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Sender = ptr.String(jtv) } + case "SentTime": if value != nil { switch jtv := value.(type) { @@ -8353,6 +8479,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } } + case "Subject": if value != nil { jtv, ok := value.(string) @@ -8361,6 +8488,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePageOutput(v **DescribePageOutput } sv.Subject = ptr.String(jtv) } + default: _, _ = key, value @@ -8400,6 +8528,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ActivationStatus = types.ActivationStatus(jtv) } + case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -8408,6 +8537,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ContactArn = ptr.String(jtv) } + case "ContactChannelArn": if value != nil { jtv, ok := value.(string) @@ -8416,10 +8546,12 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.ContactChannelArn = ptr.String(jtv) } + case "DeliveryAddress": if err := awsAwsjson11_deserializeDocumentContactChannelAddress(&sv.DeliveryAddress, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8428,6 +8560,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8436,6 +8569,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactChannelOutput(v **GetContactCha } sv.Type = types.ChannelType(jtv) } + default: _, _ = key, value @@ -8475,6 +8609,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.Alias = ptr.String(jtv) } + case "ContactArn": if value != nil { jtv, ok := value.(string) @@ -8483,6 +8618,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.ContactArn = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -8491,10 +8627,12 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.DisplayName = ptr.String(jtv) } + case "Plan": if err := awsAwsjson11_deserializeDocumentPlan(&sv.Plan, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8503,6 +8641,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactOutput(v **GetContactOutput, va } sv.Type = types.ContactType(jtv) } + default: _, _ = key, value @@ -8542,6 +8681,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactPolicyOutput(v **GetContactPoli } sv.ContactArn = ptr.String(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -8550,6 +8690,7 @@ func awsAwsjson11_deserializeOpDocumentGetContactPolicyOutput(v **GetContactPoli } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -8585,6 +8726,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, if err := awsAwsjson11_deserializeDocumentRotationContactsArnList(&sv.ContactIds, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8593,10 +8735,12 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.Name = ptr.String(jtv) } + case "Recurrence": if err := awsAwsjson11_deserializeDocumentRecurrenceSettings(&sv.Recurrence, value); err != nil { return err } + case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -8605,6 +8749,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.RotationArn = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8620,6 +8765,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } } + case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -8628,6 +8774,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOutput(v **GetRotationOutput, } sv.TimeZoneId = ptr.String(jtv) } + default: _, _ = key, value @@ -8674,6 +8821,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8689,10 +8837,12 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } + case "NewContactIds": if err := awsAwsjson11_deserializeDocumentSsmContactsArnList(&sv.NewContactIds, value); err != nil { return err } + case "RotationArn": if value != nil { jtv, ok := value.(string) @@ -8701,6 +8851,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } sv.RotationArn = ptr.String(jtv) } + case "RotationOverrideId": if value != nil { jtv, ok := value.(string) @@ -8709,6 +8860,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } sv.RotationOverrideId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8724,6 +8876,7 @@ func awsAwsjson11_deserializeOpDocumentGetRotationOverrideOutput(v **GetRotation } } + default: _, _ = key, value @@ -8759,6 +8912,7 @@ func awsAwsjson11_deserializeOpDocumentListContactChannelsOutput(v **ListContact if err := awsAwsjson11_deserializeDocumentContactChannelList(&sv.ContactChannels, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8767,6 +8921,7 @@ func awsAwsjson11_deserializeOpDocumentListContactChannelsOutput(v **ListContact } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8802,6 +8957,7 @@ func awsAwsjson11_deserializeOpDocumentListContactsOutput(v **ListContactsOutput if err := awsAwsjson11_deserializeDocumentContactsList(&sv.Contacts, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8810,6 +8966,7 @@ func awsAwsjson11_deserializeOpDocumentListContactsOutput(v **ListContactsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8845,6 +9002,7 @@ func awsAwsjson11_deserializeOpDocumentListEngagementsOutput(v **ListEngagements if err := awsAwsjson11_deserializeDocumentEngagementsList(&sv.Engagements, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8853,6 +9011,7 @@ func awsAwsjson11_deserializeOpDocumentListEngagementsOutput(v **ListEngagements } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -8892,10 +9051,12 @@ func awsAwsjson11_deserializeOpDocumentListPageReceiptsOutput(v **ListPageReceip } sv.NextToken = ptr.String(jtv) } + case "Receipts": if err := awsAwsjson11_deserializeDocumentReceiptsList(&sv.Receipts, value); err != nil { return err } + default: _, _ = key, value @@ -8935,10 +9096,12 @@ func awsAwsjson11_deserializeOpDocumentListPageResolutionsOutput(v **ListPageRes } sv.NextToken = ptr.String(jtv) } + case "PageResolutions": if err := awsAwsjson11_deserializeDocumentResolutionList(&sv.PageResolutions, value); err != nil { return err } + default: _, _ = key, value @@ -8978,10 +9141,12 @@ func awsAwsjson11_deserializeOpDocumentListPagesByContactOutput(v **ListPagesByC } sv.NextToken = ptr.String(jtv) } + case "Pages": if err := awsAwsjson11_deserializeDocumentPagesList(&sv.Pages, value); err != nil { return err } + default: _, _ = key, value @@ -9021,10 +9186,12 @@ func awsAwsjson11_deserializeOpDocumentListPagesByEngagementOutput(v **ListPages } sv.NextToken = ptr.String(jtv) } + case "Pages": if err := awsAwsjson11_deserializeDocumentPagesList(&sv.Pages, value); err != nil { return err } + default: _, _ = key, value @@ -9064,10 +9231,12 @@ func awsAwsjson11_deserializeOpDocumentListPreviewRotationShiftsOutput(v **ListP } sv.NextToken = ptr.String(jtv) } + case "RotationShifts": if err := awsAwsjson11_deserializeDocumentRotationShifts(&sv.RotationShifts, value); err != nil { return err } + default: _, _ = key, value @@ -9107,10 +9276,12 @@ func awsAwsjson11_deserializeOpDocumentListRotationOverridesOutput(v **ListRotat } sv.NextToken = ptr.String(jtv) } + case "RotationOverrides": if err := awsAwsjson11_deserializeDocumentRotationOverrides(&sv.RotationOverrides, value); err != nil { return err } + default: _, _ = key, value @@ -9150,10 +9321,12 @@ func awsAwsjson11_deserializeOpDocumentListRotationShiftsOutput(v **ListRotation } sv.NextToken = ptr.String(jtv) } + case "RotationShifts": if err := awsAwsjson11_deserializeDocumentRotationShifts(&sv.RotationShifts, value); err != nil { return err } + default: _, _ = key, value @@ -9193,10 +9366,12 @@ func awsAwsjson11_deserializeOpDocumentListRotationsOutput(v **ListRotationsOutp } sv.NextToken = ptr.String(jtv) } + case "Rotations": if err := awsAwsjson11_deserializeDocumentRotations(&sv.Rotations, value); err != nil { return err } + default: _, _ = key, value @@ -9232,6 +9407,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagsList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9333,6 +9509,7 @@ func awsAwsjson11_deserializeOpDocumentStartEngagementOutput(v **StartEngagement } sv.EngagementArn = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ssmincidents/deserializers.go b/service/ssmincidents/deserializers.go index 48dd20b7e26..9dbbaaedc9f 100644 --- a/service/ssmincidents/deserializers.go +++ b/service/ssmincidents/deserializers.go @@ -183,10 +183,12 @@ func awsRestjson1_deserializeOpDocumentBatchGetIncidentFindingsOutput(v **BatchG if err := awsRestjson1_deserializeDocumentBatchGetIncidentFindingsErrorList(&sv.Errors, value); err != nil { return err } + case "findings": if err := awsRestjson1_deserializeDocumentFindingList(&sv.Findings, value); err != nil { return err } + default: _, _ = key, value @@ -357,6 +359,7 @@ func awsRestjson1_deserializeOpDocumentCreateReplicationSetOutput(v **CreateRepl } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -527,6 +530,7 @@ func awsRestjson1_deserializeOpDocumentCreateResponsePlanOutput(v **CreateRespon } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -697,6 +701,7 @@ func awsRestjson1_deserializeOpDocumentCreateTimelineEventOutput(v **CreateTimel } sv.EventId = ptr.String(jtv) } + case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -705,6 +710,7 @@ func awsRestjson1_deserializeOpDocumentCreateTimelineEventOutput(v **CreateTimel } sv.IncidentRecordArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1359,6 +1365,7 @@ func awsRestjson1_deserializeOpDocumentGetIncidentRecordOutput(v **GetIncidentRe if err := awsRestjson1_deserializeDocumentIncidentRecord(&sv.IncidentRecord, value); err != nil { return err } + default: _, _ = key, value @@ -1522,6 +1529,7 @@ func awsRestjson1_deserializeOpDocumentGetReplicationSetOutput(v **GetReplicatio if err := awsRestjson1_deserializeDocumentReplicationSet(&sv.ReplicationSet, value); err != nil { return err } + default: _, _ = key, value @@ -1689,10 +1697,12 @@ func awsRestjson1_deserializeOpDocumentGetResourcePoliciesOutput(v **GetResource } sv.NextToken = ptr.String(jtv) } + case "resourcePolicies": if err := awsRestjson1_deserializeDocumentResourcePolicyList(&sv.ResourcePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -1856,6 +1866,7 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan if err := awsRestjson1_deserializeDocumentActionsList(&sv.Actions, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1864,10 +1875,12 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.Arn = ptr.String(jtv) } + case "chatChannel": if err := awsRestjson1_deserializeDocumentChatChannel(&sv.ChatChannel, value); err != nil { return err } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -1876,18 +1889,22 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.DisplayName = ptr.String(jtv) } + case "engagements": if err := awsRestjson1_deserializeDocumentEngagementSet(&sv.Engagements, value); err != nil { return err } + case "incidentTemplate": if err := awsRestjson1_deserializeDocumentIncidentTemplate(&sv.IncidentTemplate, value); err != nil { return err } + case "integrations": if err := awsRestjson1_deserializeDocumentIntegrations(&sv.Integrations, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -1896,6 +1913,7 @@ func awsRestjson1_deserializeOpDocumentGetResponsePlanOutput(v **GetResponsePlan } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2059,6 +2077,7 @@ func awsRestjson1_deserializeOpDocumentGetTimelineEventOutput(v **GetTimelineEve if err := awsRestjson1_deserializeDocumentTimelineEvent(&sv.Event, value); err != nil { return err } + default: _, _ = key, value @@ -2222,6 +2241,7 @@ func awsRestjson1_deserializeOpDocumentListIncidentFindingsOutput(v **ListIncide if err := awsRestjson1_deserializeDocumentFindingSummaryList(&sv.Findings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2230,6 +2250,7 @@ func awsRestjson1_deserializeOpDocumentListIncidentFindingsOutput(v **ListIncide } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2390,6 +2411,7 @@ func awsRestjson1_deserializeOpDocumentListIncidentRecordsOutput(v **ListInciden if err := awsRestjson1_deserializeDocumentIncidentRecordSummaryList(&sv.IncidentRecordSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2398,6 +2420,7 @@ func awsRestjson1_deserializeOpDocumentListIncidentRecordsOutput(v **ListInciden } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2562,10 +2585,12 @@ func awsRestjson1_deserializeOpDocumentListRelatedItemsOutput(v **ListRelatedIte } sv.NextToken = ptr.String(jtv) } + case "relatedItems": if err := awsRestjson1_deserializeDocumentRelatedItemList(&sv.RelatedItems, value); err != nil { return err } + default: _, _ = key, value @@ -2730,10 +2755,12 @@ func awsRestjson1_deserializeOpDocumentListReplicationSetsOutput(v **ListReplica } sv.NextToken = ptr.String(jtv) } + case "replicationSetArns": if err := awsRestjson1_deserializeDocumentReplicationSetArnList(&sv.ReplicationSetArns, value); err != nil { return err } + default: _, _ = key, value @@ -2898,10 +2925,12 @@ func awsRestjson1_deserializeOpDocumentListResponsePlansOutput(v **ListResponseP } sv.NextToken = ptr.String(jtv) } + case "responsePlanSummaries": if err := awsRestjson1_deserializeDocumentResponsePlanSummaryList(&sv.ResponsePlanSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -3065,6 +3094,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3225,6 +3255,7 @@ func awsRestjson1_deserializeOpDocumentListTimelineEventsOutput(v **ListTimeline if err := awsRestjson1_deserializeDocumentEventSummaryList(&sv.EventSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3233,6 +3264,7 @@ func awsRestjson1_deserializeOpDocumentListTimelineEventsOutput(v **ListTimeline } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3400,6 +3432,7 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo } sv.PolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -3570,6 +3603,7 @@ func awsRestjson1_deserializeOpDocumentStartIncidentOutput(v **StartIncidentOutp } sv.IncidentRecordArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4685,6 +4719,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4870,6 +4905,7 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.Code = ptr.String(jtv) } + case "findingId": if value != nil { jtv, ok := value.(string) @@ -4878,6 +4914,7 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.FindingId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -4886,6 +4923,7 @@ func awsRestjson1_deserializeDocumentBatchGetIncidentFindingsError(v **types.Bat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5050,6 +5088,7 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } } + case "stackArn": if value != nil { jtv, ok := value.(string) @@ -5058,6 +5097,7 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } sv.StackArn = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -5073,6 +5113,7 @@ func awsRestjson1_deserializeDocumentCloudFormationStackUpdate(v **types.CloudFo } } + default: _, _ = key, value @@ -5112,6 +5153,7 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } sv.DeploymentGroupArn = ptr.String(jtv) } + case "deploymentId": if value != nil { jtv, ok := value.(string) @@ -5120,6 +5162,7 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } sv.DeploymentId = ptr.String(jtv) } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -5135,6 +5178,7 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -5150,6 +5194,7 @@ func awsRestjson1_deserializeDocumentCodeDeployDeployment(v **types.CodeDeployDe } } + default: _, _ = key, value @@ -5189,6 +5234,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -5197,6 +5243,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceIdentifier = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5205,6 +5252,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = types.ResourceType(jtv) } + case "retryAfter": if value != nil { switch jtv := value.(type) { @@ -5220,6 +5268,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } } + default: _, _ = key, value @@ -5488,10 +5537,12 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.EventId = ptr.String(jtv) } + case "eventReferences": if err := awsRestjson1_deserializeDocumentEventReferenceList(&sv.EventReferences, value); err != nil { return err } + case "eventTime": if value != nil { switch jtv := value.(type) { @@ -5507,6 +5558,7 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5567,7 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.EventType = ptr.String(jtv) } + case "eventUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -5530,6 +5583,7 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } } + case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -5538,6 +5592,7 @@ func awsRestjson1_deserializeDocumentEventSummary(v **types.EventSummary, value } sv.IncidentRecordArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5618,10 +5673,12 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + case "details": if err := awsRestjson1_deserializeDocumentFindingDetails(&sv.Details, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -5630,6 +5687,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5645,6 +5703,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ } } + default: _, _ = key, value @@ -5768,6 +5827,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } sv.Id = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5783,6 +5843,7 @@ func awsRestjson1_deserializeDocumentFindingSummary(v **types.FindingSummary, va } } + default: _, _ = key, value @@ -5856,14 +5917,17 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Arn = ptr.String(jtv) } + case "automationExecutions": if err := awsRestjson1_deserializeDocumentAutomationExecutionSet(&sv.AutomationExecutions, value); err != nil { return err } + case "chatChannel": if err := awsRestjson1_deserializeDocumentChatChannel(&sv.ChatChannel, value); err != nil { return err } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -5879,6 +5943,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } + case "dedupeString": if value != nil { jtv, ok := value.(string) @@ -5887,6 +5952,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.DedupeString = ptr.String(jtv) } + case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -5899,10 +5965,12 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Impact = ptr.Int32(int32(i64)) } + case "incidentRecordSource": if err := awsRestjson1_deserializeDocumentIncidentRecordSource(&sv.IncidentRecordSource, value); err != nil { return err } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -5911,6 +5979,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -5926,10 +5995,12 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } + case "notificationTargets": if err := awsRestjson1_deserializeDocumentNotificationTargetSet(&sv.NotificationTargets, value); err != nil { return err } + case "resolvedTime": if value != nil { switch jtv := value.(type) { @@ -5945,6 +6016,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -5953,6 +6025,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Status = types.IncidentRecordStatus(jtv) } + case "summary": if value != nil { jtv, ok := value.(string) @@ -5961,6 +6034,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Summary = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -5969,6 +6043,7 @@ func awsRestjson1_deserializeDocumentIncidentRecord(v **types.IncidentRecord, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6008,6 +6083,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.CreatedBy = ptr.String(jtv) } + case "invokedBy": if value != nil { jtv, ok := value.(string) @@ -6016,6 +6092,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.InvokedBy = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -6024,6 +6101,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.ResourceArn = ptr.String(jtv) } + case "source": if value != nil { jtv, ok := value.(string) @@ -6032,6 +6110,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSource(v **types.IncidentReco } sv.Source = ptr.String(jtv) } + default: _, _ = key, value @@ -6071,6 +6150,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Arn = ptr.String(jtv) } + case "creationTime": if value != nil { switch jtv := value.(type) { @@ -6086,6 +6166,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } } + case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -6098,10 +6179,12 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Impact = ptr.Int32(int32(i64)) } + case "incidentRecordSource": if err := awsRestjson1_deserializeDocumentIncidentRecordSource(&sv.IncidentRecordSource, value); err != nil { return err } + case "resolvedTime": if value != nil { switch jtv := value.(type) { @@ -6117,6 +6200,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } } + case "status": if value != nil { jtv, ok := value.(string) @@ -6125,6 +6209,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Status = types.IncidentRecordStatus(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6133,6 +6218,7 @@ func awsRestjson1_deserializeDocumentIncidentRecordSummary(v **types.IncidentRec } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6206,6 +6292,7 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.DedupeString = ptr.String(jtv) } + case "impact": if value != nil { jtv, ok := value.(json.Number) @@ -6218,14 +6305,17 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Impact = ptr.Int32(int32(i64)) } + case "incidentTags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.IncidentTags, value); err != nil { return err } + case "notificationTargets": if err := awsRestjson1_deserializeDocumentNotificationTargetSet(&sv.NotificationTargets, value); err != nil { return err } + case "summary": if value != nil { jtv, ok := value.(string) @@ -6234,6 +6324,7 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Summary = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -6242,6 +6333,7 @@ func awsRestjson1_deserializeDocumentIncidentTemplate(v **types.IncidentTemplate } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6353,6 +6445,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6392,10 +6485,12 @@ func awsRestjson1_deserializeDocumentItemIdentifier(v **types.ItemIdentifier, va } sv.Type = types.ItemType(jtv) } + case "value": if err := awsRestjson1_deserializeDocumentItemValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -6585,10 +6680,12 @@ func awsRestjson1_deserializeDocumentPagerDutyConfiguration(v **types.PagerDutyC } sv.Name = ptr.String(jtv) } + case "pagerDutyIncidentConfiguration": if err := awsRestjson1_deserializeDocumentPagerDutyIncidentConfiguration(&sv.PagerDutyIncidentConfiguration, value); err != nil { return err } + case "secretId": if value != nil { jtv, ok := value.(string) @@ -6597,6 +6694,7 @@ func awsRestjson1_deserializeDocumentPagerDutyConfiguration(v **types.PagerDutyC } sv.SecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -6636,6 +6734,7 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentConfiguration(v **types.Pa } sv.ServiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -6675,6 +6774,7 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.AutoResolve = ptr.Bool(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6683,6 +6783,7 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.Id = ptr.String(jtv) } + case "secretId": if value != nil { jtv, ok := value.(string) @@ -6691,6 +6792,7 @@ func awsRestjson1_deserializeDocumentPagerDutyIncidentDetail(v **types.PagerDuty } sv.SecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -6730,6 +6832,7 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.SseKmsKeyId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6738,6 +6841,7 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.Status = types.RegionStatus(jtv) } + case "statusMessage": if value != nil { jtv, ok := value.(string) @@ -6746,6 +6850,7 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } sv.StatusMessage = ptr.String(jtv) } + case "statusUpdateDateTime": if value != nil { switch jtv := value.(type) { @@ -6761,6 +6866,7 @@ func awsRestjson1_deserializeDocumentRegionInfo(v **types.RegionInfo, value inte } } + default: _, _ = key, value @@ -6835,10 +6941,12 @@ func awsRestjson1_deserializeDocumentRelatedItem(v **types.RelatedItem, value in } sv.GeneratedId = ptr.String(jtv) } + case "identifier": if err := awsRestjson1_deserializeDocumentItemIdentifier(&sv.Identifier, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -6847,6 +6955,7 @@ func awsRestjson1_deserializeDocumentRelatedItem(v **types.RelatedItem, value in } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -6920,6 +7029,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -6928,6 +7038,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.CreatedBy = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -6943,6 +7054,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } } + case "deletionProtected": if value != nil { jtv, ok := value.(bool) @@ -6951,6 +7063,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.DeletionProtected = ptr.Bool(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -6959,6 +7072,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6974,10 +7088,12 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } } + case "regionMap": if err := awsRestjson1_deserializeDocumentRegionInfoMap(&sv.RegionMap, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6986,6 +7102,7 @@ func awsRestjson1_deserializeDocumentReplicationSet(v **types.ReplicationSet, va } sv.Status = types.ReplicationSetStatus(jtv) } + default: _, _ = key, value @@ -7061,6 +7178,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -7069,6 +7187,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceIdentifier = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7077,6 +7196,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -7116,6 +7236,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } + case "policyId": if value != nil { jtv, ok := value.(string) @@ -7124,6 +7245,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyId = ptr.String(jtv) } + case "ramResourceShareRegion": if value != nil { jtv, ok := value.(string) @@ -7132,6 +7254,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.RamResourceShareRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -7205,6 +7328,7 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.Arn = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -7213,6 +7337,7 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.DisplayName = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7221,6 +7346,7 @@ func awsRestjson1_deserializeDocumentResponsePlanSummary(v **types.ResponsePlanS } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7294,6 +7420,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7302,6 +7429,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceIdentifier": if value != nil { jtv, ok := value.(string) @@ -7310,6 +7438,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceIdentifier = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -7318,6 +7447,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7326,6 +7456,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = types.ServiceCode(jtv) } + default: _, _ = key, value @@ -7365,6 +7496,7 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.DocumentName = ptr.String(jtv) } + case "documentVersion": if value != nil { jtv, ok := value.(string) @@ -7373,14 +7505,17 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.DocumentVersion = ptr.String(jtv) } + case "dynamicParameters": if err := awsRestjson1_deserializeDocumentDynamicSsmParameters(&sv.DynamicParameters, value); err != nil { return err } + case "parameters": if err := awsRestjson1_deserializeDocumentSsmParameters(&sv.Parameters, value); err != nil { return err } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -7389,6 +7524,7 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.RoleArn = ptr.String(jtv) } + case "targetAccount": if value != nil { jtv, ok := value.(string) @@ -7397,6 +7533,7 @@ func awsRestjson1_deserializeDocumentSsmAutomation(v **types.SsmAutomation, valu } sv.TargetAccount = types.SsmTargetAccount(jtv) } + default: _, _ = key, value @@ -7542,6 +7679,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -7550,6 +7688,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -7558,6 +7697,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = types.ServiceCode(jtv) } + default: _, _ = key, value @@ -7597,6 +7737,7 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventData = ptr.String(jtv) } + case "eventId": if value != nil { jtv, ok := value.(string) @@ -7605,10 +7746,12 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventId = ptr.String(jtv) } + case "eventReferences": if err := awsRestjson1_deserializeDocumentEventReferenceList(&sv.EventReferences, value); err != nil { return err } + case "eventTime": if value != nil { switch jtv := value.(type) { @@ -7624,6 +7767,7 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -7632,6 +7776,7 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.EventType = ptr.String(jtv) } + case "eventUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -7647,6 +7792,7 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } } + case "incidentRecordArn": if value != nil { jtv, ok := value.(string) @@ -7655,6 +7801,7 @@ func awsRestjson1_deserializeDocumentTimelineEvent(v **types.TimelineEvent, valu } sv.IncidentRecordArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7694,6 +7841,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ssmquicksetup/deserializers.go b/service/ssmquicksetup/deserializers.go index 6154d1a21f0..3211933fdd3 100644 --- a/service/ssmquicksetup/deserializers.go +++ b/service/ssmquicksetup/deserializers.go @@ -188,6 +188,7 @@ func awsRestjson1_deserializeOpDocumentCreateConfigurationManagerOutput(v **Crea } sv.ManagerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -463,6 +464,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf if err := awsRestjson1_deserializeDocumentConfigurationDefinitionsList(&sv.ConfigurationDefinitions, value); err != nil { return err } + case "CreatedAt": if value != nil { jtv, ok := value.(string) @@ -475,6 +477,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.CreatedAt = ptr.Time(t) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -483,6 +486,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.Description = ptr.String(jtv) } + case "LastModifiedAt": if value != nil { jtv, ok := value.(string) @@ -495,6 +499,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.LastModifiedAt = ptr.Time(t) } + case "ManagerArn": if value != nil { jtv, ok := value.(string) @@ -503,6 +508,7 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.ManagerArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -511,14 +517,17 @@ func awsRestjson1_deserializeOpDocumentGetConfigurationManagerOutput(v **GetConf } sv.Name = ptr.String(jtv) } + case "StatusSummaries": if err := awsRestjson1_deserializeDocumentStatusSummariesList(&sv.StatusSummaries, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -679,6 +688,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceSettingsOutput(v **GetServiceSe if err := awsRestjson1_deserializeDocumentServiceSettings(&sv.ServiceSettings, value); err != nil { return err } + default: _, _ = key, value @@ -842,6 +852,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationManagersOutput(v **ListC if err := awsRestjson1_deserializeDocumentConfigurationManagerList(&sv.ConfigurationManagersList, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -850,6 +861,7 @@ func awsRestjson1_deserializeOpDocumentListConfigurationManagersOutput(v **ListC } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1010,6 +1022,7 @@ func awsRestjson1_deserializeOpDocumentListQuickSetupTypesOutput(v **ListQuickSe if err := awsRestjson1_deserializeDocumentQuickSetupTypeList(&sv.QuickSetupTypeList, value); err != nil { return err } + default: _, _ = key, value @@ -1176,6 +1189,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1973,6 +1987,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2012,6 +2027,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.Id = ptr.String(jtv) } + case "LocalDeploymentAdministrationRoleArn": if value != nil { jtv, ok := value.(string) @@ -2020,6 +2036,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.LocalDeploymentAdministrationRoleArn = ptr.String(jtv) } + case "LocalDeploymentExecutionRoleName": if value != nil { jtv, ok := value.(string) @@ -2028,10 +2045,12 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.LocalDeploymentExecutionRoleName = ptr.String(jtv) } + case "Parameters": if err := awsRestjson1_deserializeDocumentConfigurationParametersMap(&sv.Parameters, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2040,6 +2059,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.Type = ptr.String(jtv) } + case "TypeVersion": if value != nil { jtv, ok := value.(string) @@ -2048,6 +2068,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinition(v **types.Configura } sv.TypeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2151,6 +2172,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co if err := awsRestjson1_deserializeDocumentConfigurationParametersMap(&sv.FirstClassParameters, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -2159,6 +2181,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2167,6 +2190,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.Type = ptr.String(jtv) } + case "TypeVersion": if value != nil { jtv, ok := value.(string) @@ -2175,6 +2199,7 @@ func awsRestjson1_deserializeDocumentConfigurationDefinitionSummary(v **types.Co } sv.TypeVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -2244,6 +2269,7 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi if err := awsRestjson1_deserializeDocumentConfigurationDefinitionSummariesList(&sv.ConfigurationDefinitionSummaries, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -2252,6 +2278,7 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.Description = ptr.String(jtv) } + case "ManagerArn": if value != nil { jtv, ok := value.(string) @@ -2260,6 +2287,7 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.ManagerArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2268,10 +2296,12 @@ func awsRestjson1_deserializeDocumentConfigurationManagerSummary(v **types.Confi } sv.Name = ptr.String(jtv) } + case "StatusSummaries": if err := awsRestjson1_deserializeDocumentStatusSummariesList(&sv.StatusSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -2347,6 +2377,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2386,6 +2417,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2459,6 +2491,7 @@ func awsRestjson1_deserializeDocumentQuickSetupTypeOutput(v **types.QuickSetupTy } sv.LatestVersion = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2467,6 +2500,7 @@ func awsRestjson1_deserializeDocumentQuickSetupTypeOutput(v **types.QuickSetupTy } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -2506,6 +2540,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2545,6 +2580,7 @@ func awsRestjson1_deserializeDocumentServiceSettings(v **types.ServiceSettings, } sv.ExplorerEnablingRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2658,6 +2694,7 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.LastUpdatedAt = ptr.Time(t) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -2666,10 +2703,12 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.Status = types.Status(jtv) } + case "StatusDetails": if err := awsRestjson1_deserializeDocumentStatusDetails(&sv.StatusDetails, value); err != nil { return err } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -2678,6 +2717,7 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.StatusMessage = ptr.String(jtv) } + case "StatusType": if value != nil { jtv, ok := value.(string) @@ -2686,6 +2726,7 @@ func awsRestjson1_deserializeDocumentStatusSummary(v **types.StatusSummary, valu } sv.StatusType = types.StatusType(jtv) } + default: _, _ = key, value @@ -2725,6 +2766,7 @@ func awsRestjson1_deserializeDocumentTagEntry(v **types.TagEntry, value interfac } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -2733,6 +2775,7 @@ func awsRestjson1_deserializeDocumentTagEntry(v **types.TagEntry, value interfac } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -2842,6 +2885,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2881,6 +2925,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ssmsap/deserializers.go b/service/ssmsap/deserializers.go index 7c1a5e35268..539f1145265 100644 --- a/service/ssmsap/deserializers.go +++ b/service/ssmsap/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentDeleteResourcePermissionOutput(v **Delete } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -429,10 +430,12 @@ func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOu if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -590,10 +593,12 @@ func awsRestjson1_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput if err := awsRestjson1_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -748,10 +753,12 @@ func awsRestjson1_deserializeOpDocumentGetDatabaseOutput(v **GetDatabaseOutput, if err := awsRestjson1_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -906,6 +913,7 @@ func awsRestjson1_deserializeOpDocumentGetOperationOutput(v **GetOperationOutput if err := awsRestjson1_deserializeDocumentOperation(&sv.Operation, value); err != nil { return err } + default: _, _ = key, value @@ -1067,6 +1075,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePermissionOutput(v **GetResour } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -1224,6 +1233,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsRestjson1_deserializeDocumentApplicationSummaryList(&sv.Applications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1232,6 +1242,7 @@ func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1392,6 +1403,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu if err := awsRestjson1_deserializeDocumentComponentSummaryList(&sv.Components, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1400,6 +1412,7 @@ func awsRestjson1_deserializeOpDocumentListComponentsOutput(v **ListComponentsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1557,6 +1570,7 @@ func awsRestjson1_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsRestjson1_deserializeDocumentDatabaseSummaryList(&sv.Databases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1565,6 +1579,7 @@ func awsRestjson1_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1723,10 +1738,12 @@ func awsRestjson1_deserializeOpDocumentListOperationEventsOutput(v **ListOperati } sv.NextToken = ptr.String(jtv) } + case "OperationEvents": if err := awsRestjson1_deserializeDocumentOperationEventList(&sv.OperationEvents, value); err != nil { return err } + default: _, _ = key, value @@ -1885,10 +1902,12 @@ func awsRestjson1_deserializeOpDocumentListOperationsOutput(v **ListOperationsOu } sv.NextToken = ptr.String(jtv) } + case "Operations": if err := awsRestjson1_deserializeDocumentOperationList(&sv.Operations, value); err != nil { return err } + default: _, _ = key, value @@ -2046,6 +2065,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2207,6 +2227,7 @@ func awsRestjson1_deserializeOpDocumentPutResourcePermissionOutput(v **PutResour } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -2367,6 +2388,7 @@ func awsRestjson1_deserializeOpDocumentRegisterApplicationOutput(v **RegisterApp if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { return err } + case "OperationId": if value != nil { jtv, ok := value.(string) @@ -2375,6 +2397,7 @@ func awsRestjson1_deserializeOpDocumentRegisterApplicationOutput(v **RegisterApp } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -2539,6 +2562,7 @@ func awsRestjson1_deserializeOpDocumentStartApplicationOutput(v **StartApplicati } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -2706,6 +2730,7 @@ func awsRestjson1_deserializeOpDocumentStartApplicationRefreshOutput(v **StartAp } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -2870,6 +2895,7 @@ func awsRestjson1_deserializeOpDocumentStopApplicationOutput(v **StopApplication } sv.OperationId = ptr.String(jtv) } + default: _, _ = key, value @@ -3225,10 +3251,12 @@ func awsRestjson1_deserializeOpDocumentUpdateApplicationSettingsOutput(v **Updat } sv.Message = ptr.String(jtv) } + case "OperationIds": if err := awsRestjson1_deserializeDocumentOperationIdList(&sv.OperationIds, value); err != nil { return err } + default: _, _ = key, value @@ -3448,6 +3476,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.AppRegistryArn = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3456,14 +3485,17 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Arn = ptr.String(jtv) } + case "AssociatedApplicationArns": if err := awsRestjson1_deserializeDocumentApplicationArnList(&sv.AssociatedApplicationArns, value); err != nil { return err } + case "Components": if err := awsRestjson1_deserializeDocumentComponentIdList(&sv.Components, value); err != nil { return err } + case "DiscoveryStatus": if value != nil { jtv, ok := value.(string) @@ -3472,6 +3504,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.DiscoveryStatus = types.ApplicationDiscoveryStatus(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3480,6 +3513,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Id = ptr.String(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3495,6 +3529,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3503,6 +3538,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -3511,6 +3547,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.StatusMessage = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3519,6 +3556,7 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in } sv.Type = types.ApplicationType(jtv) } + default: _, _ = key, value @@ -3594,6 +3632,7 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.CredentialType = types.CredentialType(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -3602,6 +3641,7 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.DatabaseName = ptr.String(jtv) } + case "SecretId": if value != nil { jtv, ok := value.(string) @@ -3610,6 +3650,7 @@ func awsRestjson1_deserializeDocumentApplicationCredential(v **types.Application } sv.SecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -3683,6 +3724,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Arn = ptr.String(jtv) } + case "DiscoveryStatus": if value != nil { jtv, ok := value.(string) @@ -3691,6 +3733,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.DiscoveryStatus = types.ApplicationDiscoveryStatus(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3699,10 +3742,12 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Id = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3711,6 +3756,7 @@ func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSum } sv.Type = types.ApplicationType(jtv) } + default: _, _ = key, value @@ -3784,6 +3830,7 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.Ec2InstanceId = ptr.String(jtv) } + case "Hostname": if value != nil { jtv, ok := value.(string) @@ -3792,10 +3839,12 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.Hostname = ptr.String(jtv) } + case "IpAddresses": if err := awsRestjson1_deserializeDocumentIpAddressList(&sv.IpAddresses, value); err != nil { return err } + case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -3804,6 +3853,7 @@ func awsRestjson1_deserializeDocumentAssociatedHost(v **types.AssociatedHost, va } sv.OsVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -3843,6 +3893,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -3851,14 +3902,17 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Arn = ptr.String(jtv) } + case "AssociatedHost": if err := awsRestjson1_deserializeDocumentAssociatedHost(&sv.AssociatedHost, value); err != nil { return err } + case "ChildComponents": if err := awsRestjson1_deserializeDocumentComponentIdList(&sv.ChildComponents, value); err != nil { return err } + case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -3867,6 +3921,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentId = ptr.String(jtv) } + case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -3875,14 +3930,17 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ComponentType = types.ComponentType(jtv) } + case "DatabaseConnection": if err := awsRestjson1_deserializeDocumentDatabaseConnection(&sv.DatabaseConnection, value); err != nil { return err } + case "Databases": if err := awsRestjson1_deserializeDocumentDatabaseIdList(&sv.Databases, value); err != nil { return err } + case "HdbVersion": if value != nil { jtv, ok := value.(string) @@ -3891,10 +3949,12 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.HdbVersion = ptr.String(jtv) } + case "Hosts": if err := awsRestjson1_deserializeDocumentHostList(&sv.Hosts, value); err != nil { return err } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -3910,6 +3970,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } } + case "ParentComponent": if value != nil { jtv, ok := value.(string) @@ -3918,6 +3979,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.ParentComponent = ptr.String(jtv) } + case "PrimaryHost": if value != nil { jtv, ok := value.(string) @@ -3926,10 +3988,12 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.PrimaryHost = ptr.String(jtv) } + case "Resilience": if err := awsRestjson1_deserializeDocumentResilience(&sv.Resilience, value); err != nil { return err } + case "SapFeature": if value != nil { jtv, ok := value.(string) @@ -3938,6 +4002,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapFeature = ptr.String(jtv) } + case "SapHostname": if value != nil { jtv, ok := value.(string) @@ -3946,6 +4011,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapHostname = ptr.String(jtv) } + case "SapKernelVersion": if value != nil { jtv, ok := value.(string) @@ -3954,6 +4020,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SapKernelVersion = ptr.String(jtv) } + case "Sid": if value != nil { jtv, ok := value.(string) @@ -3962,6 +4029,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Sid = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3970,6 +4038,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.Status = types.ComponentStatus(jtv) } + case "SystemNumber": if value != nil { jtv, ok := value.(string) @@ -3978,6 +4047,7 @@ func awsRestjson1_deserializeDocumentComponent(v **types.Component, value interf } sv.SystemNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -4089,6 +4159,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4097,6 +4168,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.Arn = ptr.String(jtv) } + case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4105,6 +4177,7 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentId = ptr.String(jtv) } + case "ComponentType": if value != nil { jtv, ok := value.(string) @@ -4113,10 +4186,12 @@ func awsRestjson1_deserializeDocumentComponentSummary(v **types.ComponentSummary } sv.ComponentType = types.ComponentType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4190,6 +4265,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4229,6 +4305,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4237,6 +4314,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Arn = ptr.String(jtv) } + case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4245,14 +4323,17 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.ComponentId = ptr.String(jtv) } + case "ConnectedComponentArns": if err := awsRestjson1_deserializeDocumentComponentArnList(&sv.ConnectedComponentArns, value); err != nil { return err } + case "Credentials": if err := awsRestjson1_deserializeDocumentApplicationCredentialList(&sv.Credentials, value); err != nil { return err } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -4261,6 +4342,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseId = ptr.String(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4269,6 +4351,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseName = ptr.String(jtv) } + case "DatabaseType": if value != nil { jtv, ok := value.(string) @@ -4277,6 +4360,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseType = types.DatabaseType(jtv) } + case "LastUpdated": if value != nil { switch jtv := value.(type) { @@ -4292,6 +4376,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } } + case "PrimaryHost": if value != nil { jtv, ok := value.(string) @@ -4300,6 +4385,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.PrimaryHost = ptr.String(jtv) } + case "SQLPort": if value != nil { jtv, ok := value.(json.Number) @@ -4312,6 +4398,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.SQLPort = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4320,6 +4407,7 @@ func awsRestjson1_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Status = types.DatabaseStatus(jtv) } + default: _, _ = key, value @@ -4359,6 +4447,7 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.ConnectionIp = ptr.String(jtv) } + case "DatabaseArn": if value != nil { jtv, ok := value.(string) @@ -4367,6 +4456,7 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.DatabaseArn = ptr.String(jtv) } + case "DatabaseConnectionMethod": if value != nil { jtv, ok := value.(string) @@ -4375,6 +4465,7 @@ func awsRestjson1_deserializeDocumentDatabaseConnection(v **types.DatabaseConnec } sv.DatabaseConnectionMethod = types.DatabaseConnectionMethod(jtv) } + default: _, _ = key, value @@ -4450,6 +4541,7 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.ApplicationId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -4458,6 +4550,7 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.Arn = ptr.String(jtv) } + case "ComponentId": if value != nil { jtv, ok := value.(string) @@ -4466,6 +4559,7 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.ComponentId = ptr.String(jtv) } + case "DatabaseId": if value != nil { jtv, ok := value.(string) @@ -4474,6 +4568,7 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.DatabaseId = ptr.String(jtv) } + case "DatabaseType": if value != nil { jtv, ok := value.(string) @@ -4482,10 +4577,12 @@ func awsRestjson1_deserializeDocumentDatabaseSummary(v **types.DatabaseSummary, } sv.DatabaseType = types.DatabaseType(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4559,6 +4656,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.EC2InstanceId = ptr.String(jtv) } + case "HostIp": if value != nil { jtv, ok := value.(string) @@ -4567,6 +4665,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostIp = ptr.String(jtv) } + case "HostName": if value != nil { jtv, ok := value.(string) @@ -4575,6 +4674,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostName = ptr.String(jtv) } + case "HostRole": if value != nil { jtv, ok := value.(string) @@ -4583,6 +4683,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.HostRole = types.HostRole(jtv) } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -4591,6 +4692,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.InstanceId = ptr.String(jtv) } + case "OsVersion": if value != nil { jtv, ok := value.(string) @@ -4599,6 +4701,7 @@ func awsRestjson1_deserializeDocumentHost(v **types.Host, value interface{}) err } sv.OsVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -4672,6 +4775,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4745,6 +4849,7 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.AllocationType = types.AllocationType(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -4753,6 +4858,7 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.IpAddress = ptr.String(jtv) } + case "Primary": if value != nil { jtv, ok := value.(bool) @@ -4761,6 +4867,7 @@ func awsRestjson1_deserializeDocumentIpAddressMember(v **types.IpAddressMember, } sv.Primary = ptr.Bool(jtv) } + default: _, _ = key, value @@ -4807,6 +4914,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4815,6 +4923,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Id = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4830,10 +4939,12 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } + case "Properties": if err := awsRestjson1_deserializeDocumentOperationProperties(&sv.Properties, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4842,6 +4953,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceArn = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -4850,6 +4962,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -4858,6 +4971,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.ResourceType = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -4873,6 +4987,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4881,6 +4996,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Status = types.OperationStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4889,6 +5005,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.StatusMessage = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4897,6 +5014,7 @@ func awsRestjson1_deserializeDocumentOperation(v **types.Operation, value interf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -4936,10 +5054,12 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.Description = ptr.String(jtv) } + case "Resource": if err := awsRestjson1_deserializeDocumentResource(&sv.Resource, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4948,6 +5068,7 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.Status = types.OperationEventStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4956,6 +5077,7 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } sv.StatusMessage = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -4971,6 +5093,7 @@ func awsRestjson1_deserializeDocumentOperationEvent(v **types.OperationEvent, va } } + default: _, _ = key, value @@ -5150,6 +5273,7 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.ClusterStatus = types.ClusterStatus(jtv) } + case "EnqueueReplication": if value != nil { jtv, ok := value.(bool) @@ -5158,6 +5282,7 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.EnqueueReplication = ptr.Bool(jtv) } + case "HsrOperationMode": if value != nil { jtv, ok := value.(string) @@ -5166,6 +5291,7 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrOperationMode = types.OperationMode(jtv) } + case "HsrReplicationMode": if value != nil { jtv, ok := value.(string) @@ -5174,6 +5300,7 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrReplicationMode = types.ReplicationMode(jtv) } + case "HsrTier": if value != nil { jtv, ok := value.(string) @@ -5182,6 +5309,7 @@ func awsRestjson1_deserializeDocumentResilience(v **types.Resilience, value inte } sv.HsrTier = ptr.String(jtv) } + default: _, _ = key, value @@ -5221,6 +5349,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceArn = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5229,6 +5358,7 @@ func awsRestjson1_deserializeDocumentResource(v **types.Resource, value interfac } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -5268,6 +5398,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5343,6 +5474,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5382,6 +5514,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/sso/deserializers.go b/service/sso/deserializers.go index 6f4d8ecf6d1..ec23c36f5bf 100644 --- a/service/sso/deserializers.go +++ b/service/sso/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentGetRoleCredentialsOutput(v **GetRoleCrede if err := awsRestjson1_deserializeDocumentRoleCredentials(&sv.RoleCredentials, value); err != nil { return err } + default: _, _ = key, value @@ -345,10 +346,12 @@ func awsRestjson1_deserializeOpDocumentListAccountRolesOutput(v **ListAccountRol } sv.NextToken = ptr.String(jtv) } + case "roleList": if err := awsRestjson1_deserializeDocumentRoleListType(&sv.RoleList, value); err != nil { return err } + default: _, _ = key, value @@ -509,6 +512,7 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput if err := awsRestjson1_deserializeDocumentAccountListType(&sv.AccountList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -517,6 +521,7 @@ func awsRestjson1_deserializeOpDocumentListAccountsOutput(v **ListAccountsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -800,6 +805,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountId = ptr.String(jtv) } + case "accountName": if value != nil { jtv, ok := value.(string) @@ -808,6 +814,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.AccountName = ptr.String(jtv) } + case "emailAddress": if value != nil { jtv, ok := value.(string) @@ -816,6 +823,7 @@ func awsRestjson1_deserializeDocumentAccountInfo(v **types.AccountInfo, value in } sv.EmailAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -889,6 +897,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -928,6 +937,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -967,6 +977,7 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.AccessKeyId = ptr.String(jtv) } + case "expiration": if value != nil { jtv, ok := value.(json.Number) @@ -979,6 +990,7 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.Expiration = i64 } + case "secretAccessKey": if value != nil { jtv, ok := value.(string) @@ -987,6 +999,7 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.SecretAccessKey = ptr.String(jtv) } + case "sessionToken": if value != nil { jtv, ok := value.(string) @@ -995,6 +1008,7 @@ func awsRestjson1_deserializeDocumentRoleCredentials(v **types.RoleCredentials, } sv.SessionToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1034,6 +1048,7 @@ func awsRestjson1_deserializeDocumentRoleInfo(v **types.RoleInfo, value interfac } sv.AccountId = ptr.String(jtv) } + case "roleName": if value != nil { jtv, ok := value.(string) @@ -1042,6 +1057,7 @@ func awsRestjson1_deserializeDocumentRoleInfo(v **types.RoleInfo, value interfac } sv.RoleName = ptr.String(jtv) } + default: _, _ = key, value @@ -1115,6 +1131,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1154,6 +1171,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.Unauthorize } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/ssoadmin/deserializers.go b/service/ssoadmin/deserializers.go index a63cbfc27c6..9f733f5ff0b 100644 --- a/service/ssoadmin/deserializers.go +++ b/service/ssoadmin/deserializers.go @@ -9268,10 +9268,12 @@ func awsAwsjson11_deserializeDocumentAccessControlAttribute(v **types.AccessCont } sv.Key = ptr.String(jtv) } + case "Value": if err := awsAwsjson11_deserializeDocumentAccessControlAttributeValue(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -9341,6 +9343,7 @@ func awsAwsjson11_deserializeDocumentAccessControlAttributeValue(v **types.Acces if err := awsAwsjson11_deserializeDocumentAccessControlAttributeValueSourceList(&sv.Source, value); err != nil { return err } + default: _, _ = key, value @@ -9416,6 +9419,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9455,6 +9459,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.AccountId = ptr.String(jtv) } + case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9463,6 +9468,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PermissionSetArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9471,6 +9477,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9479,6 +9486,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignment(v **types.AccountAssignme } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -9518,6 +9526,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.AccountId = ptr.String(jtv) } + case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9526,6 +9535,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PermissionSetArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9534,6 +9544,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9542,6 +9553,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentForPrincipal(v **types.Acc } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -9656,6 +9668,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9664,6 +9677,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.FailureReason = ptr.String(jtv) } + case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -9672,6 +9686,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PermissionSetArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9680,6 +9695,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -9688,6 +9704,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.PrincipalType = types.PrincipalType(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9696,6 +9713,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9704,6 +9722,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.Status = types.StatusValues(jtv) } + case "TargetId": if value != nil { jtv, ok := value.(string) @@ -9712,6 +9731,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.TargetId = ptr.String(jtv) } + case "TargetType": if value != nil { jtv, ok := value.(string) @@ -9720,6 +9740,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(v **types. } sv.TargetType = types.TargetType(jtv) } + default: _, _ = key, value @@ -9800,6 +9821,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -9808,6 +9830,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9816,6 +9839,7 @@ func awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusMetadata(v } sv.Status = types.StatusValues(jtv) } + default: _, _ = key, value @@ -9899,6 +9923,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationAccount = ptr.String(jtv) } + case "ApplicationArn": if value != nil { jtv, ok := value.(string) @@ -9907,6 +9932,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationArn = ptr.String(jtv) } + case "ApplicationProviderArn": if value != nil { jtv, ok := value.(string) @@ -9915,6 +9941,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.ApplicationProviderArn = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -9930,6 +9957,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9938,6 +9966,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Description = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -9946,6 +9975,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.InstanceArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9954,10 +9984,12 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Name = ptr.String(jtv) } + case "PortalOptions": if err := awsAwsjson11_deserializeDocumentPortalOptions(&sv.PortalOptions, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9966,6 +9998,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in } sv.Status = types.ApplicationStatus(jtv) } + default: _, _ = key, value @@ -10005,6 +10038,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.ApplicationArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -10013,6 +10047,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -10021,6 +10056,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignment(v **types.Application } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -10060,6 +10096,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.ApplicationArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -10068,6 +10105,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -10076,6 +10114,7 @@ func awsAwsjson11_deserializeDocumentApplicationAssignmentForPrincipal(v **types } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -10217,10 +10256,12 @@ func awsAwsjson11_deserializeDocumentApplicationProvider(v **types.ApplicationPr } sv.ApplicationProviderArn = ptr.String(jtv) } + case "DisplayData": if err := awsAwsjson11_deserializeDocumentDisplayData(&sv.DisplayData, value); err != nil { return err } + case "FederationProtocol": if value != nil { jtv, ok := value.(string) @@ -10229,10 +10270,12 @@ func awsAwsjson11_deserializeDocumentApplicationProvider(v **types.ApplicationPr } sv.FederationProtocol = types.FederationProtocol(jtv) } + case "ResourceServerConfig": if err := awsAwsjson11_deserializeDocumentResourceServerConfig(&sv.ResourceServerConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10306,6 +10349,7 @@ func awsAwsjson11_deserializeDocumentAttachedManagedPolicy(v **types.AttachedMan } sv.Arn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10314,6 +10358,7 @@ func awsAwsjson11_deserializeDocumentAttachedManagedPolicy(v **types.AttachedMan } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10423,6 +10468,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationMethodItem(v **types.Authenti if err := awsAwsjson11_deserializeDocumentAuthenticationMethod(&sv.AuthenticationMethod, value); err != nil { return err } + case "AuthenticationMethodType": if value != nil { jtv, ok := value.(string) @@ -10431,6 +10477,7 @@ func awsAwsjson11_deserializeDocumentAuthenticationMethodItem(v **types.Authenti } sv.AuthenticationMethodType = types.AuthenticationMethodType(jtv) } + default: _, _ = key, value @@ -10500,6 +10547,7 @@ func awsAwsjson11_deserializeDocumentAuthorizationCodeGrant(v **types.Authorizat if err := awsAwsjson11_deserializeDocumentRedirectUris(&sv.RedirectUris, value); err != nil { return err } + default: _, _ = key, value @@ -10535,6 +10583,7 @@ func awsAwsjson11_deserializeDocumentAuthorizedTokenIssuer(v **types.AuthorizedT if err := awsAwsjson11_deserializeDocumentTokenIssuerAudiences(&sv.AuthorizedAudiences, value); err != nil { return err } + case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -10543,6 +10592,7 @@ func awsAwsjson11_deserializeDocumentAuthorizedTokenIssuer(v **types.AuthorizedT } sv.TrustedTokenIssuerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10616,6 +10666,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10655,6 +10706,7 @@ func awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(v **types.Cu } sv.Name = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -10663,6 +10715,7 @@ func awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(v **types.Cu } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -10736,6 +10789,7 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.Description = ptr.String(jtv) } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -10744,6 +10798,7 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.DisplayName = ptr.String(jtv) } + case "IconUrl": if value != nil { jtv, ok := value.(string) @@ -10752,6 +10807,7 @@ func awsAwsjson11_deserializeDocumentDisplayData(v **types.DisplayData, value in } sv.IconUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10857,6 +10913,7 @@ func awsAwsjson11_deserializeDocumentGrantItem(v **types.GrantItem, value interf if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } + case "GrantType": if value != nil { jtv, ok := value.(string) @@ -10865,6 +10922,7 @@ func awsAwsjson11_deserializeDocumentGrantItem(v **types.GrantItem, value interf } sv.GrantType = types.GrantType(jtv) } + default: _, _ = key, value @@ -10934,6 +10992,7 @@ func awsAwsjson11_deserializeDocumentIamAuthenticationMethod(v **types.IamAuthen if err := awsAwsjson11_deserializeDocumentActorPolicyDocument(&sv.ActorPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -10969,6 +11028,7 @@ func awsAwsjson11_deserializeDocumentInstanceAccessControlAttributeConfiguration if err := awsAwsjson11_deserializeDocumentAccessControlAttributeList(&sv.AccessControlAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -11049,6 +11109,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -11057,6 +11118,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.IdentityStoreId = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -11065,6 +11127,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.InstanceArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11073,6 +11136,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -11081,6 +11145,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.OwnerAccountId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11089,6 +11154,7 @@ func awsAwsjson11_deserializeDocumentInstanceMetadata(v **types.InstanceMetadata } sv.Status = types.InstanceStatus(jtv) } + default: _, _ = key, value @@ -11128,6 +11194,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11163,6 +11230,7 @@ func awsAwsjson11_deserializeDocumentJwtBearerGrant(v **types.JwtBearerGrant, va if err := awsAwsjson11_deserializeDocumentAuthorizedTokenIssuers(&sv.AuthorizedTokenIssuers, value); err != nil { return err } + default: _, _ = key, value @@ -11202,6 +11270,7 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.ClaimAttributePath = ptr.String(jtv) } + case "IdentityStoreAttributePath": if value != nil { jtv, ok := value.(string) @@ -11210,6 +11279,7 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.IdentityStoreAttributePath = ptr.String(jtv) } + case "IssuerUrl": if value != nil { jtv, ok := value.(string) @@ -11218,6 +11288,7 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.IssuerUrl = ptr.String(jtv) } + case "JwksRetrievalOption": if value != nil { jtv, ok := value.(string) @@ -11226,6 +11297,7 @@ func awsAwsjson11_deserializeDocumentOidcJwtConfiguration(v **types.OidcJwtConfi } sv.JwksRetrievalOption = types.JwksRetrievalOption(jtv) } + default: _, _ = key, value @@ -11261,6 +11333,7 @@ func awsAwsjson11_deserializeDocumentPermissionsBoundary(v **types.PermissionsBo if err := awsAwsjson11_deserializeDocumentCustomerManagedPolicyReference(&sv.CustomerManagedPolicyReference, value); err != nil { return err } + case "ManagedPolicyArn": if value != nil { jtv, ok := value.(string) @@ -11269,6 +11342,7 @@ func awsAwsjson11_deserializeDocumentPermissionsBoundary(v **types.PermissionsBo } sv.ManagedPolicyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11315,6 +11389,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11323,6 +11398,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11331,6 +11407,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.Name = ptr.String(jtv) } + case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -11339,6 +11416,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.PermissionSetArn = ptr.String(jtv) } + case "RelayState": if value != nil { jtv, ok := value.(string) @@ -11347,6 +11425,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.RelayState = ptr.String(jtv) } + case "SessionDuration": if value != nil { jtv, ok := value.(string) @@ -11355,6 +11434,7 @@ func awsAwsjson11_deserializeDocumentPermissionSet(v **types.PermissionSet, valu } sv.SessionDuration = ptr.String(jtv) } + default: _, _ = key, value @@ -11430,6 +11510,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.AccountId = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -11445,6 +11526,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -11453,6 +11535,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.FailureReason = ptr.String(jtv) } + case "PermissionSetArn": if value != nil { jtv, ok := value.(string) @@ -11461,6 +11544,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.PermissionSetArn = ptr.String(jtv) } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11469,6 +11553,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11477,6 +11562,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(v **types.P } sv.Status = types.StatusValues(jtv) } + default: _, _ = key, value @@ -11557,6 +11643,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } } + case "RequestId": if value != nil { jtv, ok := value.(string) @@ -11565,6 +11652,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } sv.RequestId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11573,6 +11661,7 @@ func awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusMetadata(v * } sv.Status = types.StatusValues(jtv) } + default: _, _ = key, value @@ -11608,6 +11697,7 @@ func awsAwsjson11_deserializeDocumentPortalOptions(v **types.PortalOptions, valu if err := awsAwsjson11_deserializeDocumentSignInOptions(&sv.SignInOptions, value); err != nil { return err } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -11616,6 +11706,7 @@ func awsAwsjson11_deserializeDocumentPortalOptions(v **types.PortalOptions, valu } sv.Visibility = types.ApplicationVisibility(jtv) } + default: _, _ = key, value @@ -11722,6 +11813,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11757,6 +11849,7 @@ func awsAwsjson11_deserializeDocumentResourceServerConfig(v **types.ResourceServ if err := awsAwsjson11_deserializeDocumentResourceServerScopes(&sv.Scopes, value); err != nil { return err } + default: _, _ = key, value @@ -11796,6 +11889,7 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeDetails(v **types.Resour } sv.DetailedTitle = ptr.String(jtv) } + case "LongDescription": if value != nil { jtv, ok := value.(string) @@ -11804,6 +11898,7 @@ func awsAwsjson11_deserializeDocumentResourceServerScopeDetails(v **types.Resour } sv.LongDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -11874,6 +11969,7 @@ func awsAwsjson11_deserializeDocumentScopeDetails(v **types.ScopeDetails, value if err := awsAwsjson11_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -11882,6 +11978,7 @@ func awsAwsjson11_deserializeDocumentScopeDetails(v **types.ScopeDetails, value } sv.Scope = ptr.String(jtv) } + default: _, _ = key, value @@ -11991,6 +12088,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12030,6 +12128,7 @@ func awsAwsjson11_deserializeDocumentSignInOptions(v **types.SignInOptions, valu } sv.ApplicationUrl = ptr.String(jtv) } + case "Origin": if value != nil { jtv, ok := value.(string) @@ -12038,6 +12137,7 @@ func awsAwsjson11_deserializeDocumentSignInOptions(v **types.SignInOptions, valu } sv.Origin = types.SignInOrigin(jtv) } + default: _, _ = key, value @@ -12077,6 +12177,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12085,6 +12186,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12158,6 +12260,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12338,6 +12441,7 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.Name = ptr.String(jtv) } + case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -12346,6 +12450,7 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.TrustedTokenIssuerArn = ptr.String(jtv) } + case "TrustedTokenIssuerType": if value != nil { jtv, ok := value.(string) @@ -12354,6 +12459,7 @@ func awsAwsjson11_deserializeDocumentTrustedTokenIssuerMetadata(v **types.Truste } sv.TrustedTokenIssuerType = types.TrustedTokenIssuerType(jtv) } + default: _, _ = key, value @@ -12393,6 +12499,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12490,6 +12597,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountAssignmentOutput(v **CreateA if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentCreationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -12560,6 +12668,7 @@ func awsAwsjson11_deserializeOpDocumentCreateApplicationOutput(v **CreateApplica } sv.ApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12630,6 +12739,7 @@ func awsAwsjson11_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu } sv.InstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12665,6 +12775,7 @@ func awsAwsjson11_deserializeOpDocumentCreatePermissionSetOutput(v **CreatePermi if err := awsAwsjson11_deserializeDocumentPermissionSet(&sv.PermissionSet, value); err != nil { return err } + default: _, _ = key, value @@ -12704,6 +12815,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTrustedTokenIssuerOutput(v **Create } sv.TrustedTokenIssuerArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12739,6 +12851,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountAssignmentOutput(v **DeleteA if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentDeletionStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13022,6 +13135,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAssignmentCreationStatusOu if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentCreationStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13057,6 +13171,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountAssignmentDeletionStatusOu if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatus(&sv.AccountAssignmentDeletionStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13096,6 +13211,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.ApplicationArn = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -13104,6 +13220,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.PrincipalId = ptr.String(jtv) } + case "PrincipalType": if value != nil { jtv, ok := value.(string) @@ -13112,6 +13229,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssignmentOutput(v **D } sv.PrincipalType = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -13151,6 +13269,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationAccount = ptr.String(jtv) } + case "ApplicationArn": if value != nil { jtv, ok := value.(string) @@ -13159,6 +13278,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationArn = ptr.String(jtv) } + case "ApplicationProviderArn": if value != nil { jtv, ok := value.(string) @@ -13167,6 +13287,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.ApplicationProviderArn = ptr.String(jtv) } + case "CreatedDate": if value != nil { switch jtv := value.(type) { @@ -13182,6 +13303,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13190,6 +13312,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Description = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13198,6 +13321,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.InstanceArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13206,10 +13330,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Name = ptr.String(jtv) } + case "PortalOptions": if err := awsAwsjson11_deserializeDocumentPortalOptions(&sv.PortalOptions, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13218,6 +13344,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationOutput(v **DescribeApp } sv.Status = types.ApplicationStatus(jtv) } + default: _, _ = key, value @@ -13257,10 +13384,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationProviderOutput(v **Des } sv.ApplicationProviderArn = ptr.String(jtv) } + case "DisplayData": if err := awsAwsjson11_deserializeDocumentDisplayData(&sv.DisplayData, value); err != nil { return err } + case "FederationProtocol": if value != nil { jtv, ok := value.(string) @@ -13269,10 +13398,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationProviderOutput(v **Des } sv.FederationProtocol = types.FederationProtocol(jtv) } + case "ResourceServerConfig": if err := awsAwsjson11_deserializeDocumentResourceServerConfig(&sv.ResourceServerConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13308,6 +13439,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon if err := awsAwsjson11_deserializeDocumentInstanceAccessControlAttributeConfiguration(&sv.InstanceAccessControlAttributeConfiguration, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13316,6 +13448,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon } sv.Status = types.InstanceAccessControlAttributeConfigurationStatus(jtv) } + case "StatusReason": if value != nil { jtv, ok := value.(string) @@ -13324,6 +13457,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceAccessControlAttributeCon } sv.StatusReason = ptr.String(jtv) } + default: _, _ = key, value @@ -13370,6 +13504,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } } + case "IdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -13378,6 +13513,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.IdentityStoreId = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13386,6 +13522,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.InstanceArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13394,6 +13531,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.Name = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -13402,6 +13540,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.OwnerAccountId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13410,6 +13549,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInstanceOutput(v **DescribeInstan } sv.Status = types.InstanceStatus(jtv) } + default: _, _ = key, value @@ -13445,6 +13585,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionSetOutput(v **DescribeP if err := awsAwsjson11_deserializeDocumentPermissionSet(&sv.PermissionSet, value); err != nil { return err } + default: _, _ = key, value @@ -13480,6 +13621,7 @@ func awsAwsjson11_deserializeOpDocumentDescribePermissionSetProvisioningStatusOu if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(&sv.PermissionSetProvisioningStatus, value); err != nil { return err } + default: _, _ = key, value @@ -13519,6 +13661,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.Name = ptr.String(jtv) } + case "TrustedTokenIssuerArn": if value != nil { jtv, ok := value.(string) @@ -13527,10 +13670,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.TrustedTokenIssuerArn = ptr.String(jtv) } + case "TrustedTokenIssuerConfiguration": if err := awsAwsjson11_deserializeDocumentTrustedTokenIssuerConfiguration(&sv.TrustedTokenIssuerConfiguration, value); err != nil { return err } + case "TrustedTokenIssuerType": if value != nil { jtv, ok := value.(string) @@ -13539,6 +13684,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedTokenIssuerOutput(v **Desc } sv.TrustedTokenIssuerType = types.TrustedTokenIssuerType(jtv) } + default: _, _ = key, value @@ -13636,6 +13782,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAccessScopeOutput(v **GetAp if err := awsAwsjson11_deserializeDocumentScopeTargets(&sv.AuthorizedTargets, value); err != nil { return err } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -13644,6 +13791,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAccessScopeOutput(v **GetAp } sv.Scope = ptr.String(jtv) } + default: _, _ = key, value @@ -13683,6 +13831,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAssignmentConfigurationOutp } sv.AssignmentRequired = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13718,6 +13867,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationAuthenticationMethodOutput( if err := awsAwsjson11_deserializeDocumentAuthenticationMethod(&sv.AuthenticationMethod, value); err != nil { return err } + default: _, _ = key, value @@ -13753,6 +13903,7 @@ func awsAwsjson11_deserializeOpDocumentGetApplicationGrantOutput(v **GetApplicat if err := awsAwsjson11_deserializeDocumentGrant(&sv.Grant, value); err != nil { return err } + default: _, _ = key, value @@ -13792,6 +13943,7 @@ func awsAwsjson11_deserializeOpDocumentGetInlinePolicyForPermissionSetOutput(v * } sv.InlinePolicy = ptr.String(jtv) } + default: _, _ = key, value @@ -13827,6 +13979,7 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionsBoundaryForPermissionSetOut if err := awsAwsjson11_deserializeDocumentPermissionsBoundary(&sv.PermissionsBoundary, value); err != nil { return err } + default: _, _ = key, value @@ -13862,6 +14015,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentCreationStatusOutput if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusList(&sv.AccountAssignmentsCreationStatus, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13870,6 +14024,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentCreationStatusOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13905,6 +14060,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentDeletionStatusOutput if err := awsAwsjson11_deserializeDocumentAccountAssignmentOperationStatusList(&sv.AccountAssignmentsDeletionStatus, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13913,6 +14069,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentDeletionStatusOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13948,6 +14105,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsForPrincipalOutput( if err := awsAwsjson11_deserializeDocumentAccountAssignmentListForPrincipal(&sv.AccountAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13956,6 +14114,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsForPrincipalOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13991,6 +14150,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsOutput(v **ListAcco if err := awsAwsjson11_deserializeDocumentAccountAssignmentList(&sv.AccountAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13999,6 +14159,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountAssignmentsOutput(v **ListAcco } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14034,6 +14195,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForProvisionedPermissionSetOu if err := awsAwsjson11_deserializeDocumentAccountList(&sv.AccountIds, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14042,6 +14204,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountsForProvisionedPermissionSetOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14081,10 +14244,12 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAccessScopesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "Scopes": if err := awsAwsjson11_deserializeDocumentScopes(&sv.Scopes, value); err != nil { return err } + default: _, _ = key, value @@ -14120,6 +14285,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsForPrincipalOut if err := awsAwsjson11_deserializeDocumentApplicationAssignmentListForPrincipal(&sv.ApplicationAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14128,6 +14294,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsForPrincipalOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14163,6 +14330,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsOutput(v **List if err := awsAwsjson11_deserializeDocumentApplicationAssignmentsList(&sv.ApplicationAssignments, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14171,6 +14339,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAssignmentsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14206,6 +14375,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAuthenticationMethodsOutpu if err := awsAwsjson11_deserializeDocumentAuthenticationMethods(&sv.AuthenticationMethods, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14214,6 +14384,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationAuthenticationMethodsOutpu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14249,6 +14420,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationGrantsOutput(v **ListAppli if err := awsAwsjson11_deserializeDocumentGrants(&sv.Grants, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14257,6 +14429,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationGrantsOutput(v **ListAppli } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14292,6 +14465,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationProvidersOutput(v **ListAp if err := awsAwsjson11_deserializeDocumentApplicationProviderList(&sv.ApplicationProviders, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14300,6 +14474,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationProvidersOutput(v **ListAp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14335,6 +14510,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio if err := awsAwsjson11_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14343,6 +14519,7 @@ func awsAwsjson11_deserializeOpDocumentListApplicationsOutput(v **ListApplicatio } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14378,6 +14555,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomerManagedPolicyReferencesInPerm if err := awsAwsjson11_deserializeDocumentCustomerManagedPolicyReferenceList(&sv.CustomerManagedPolicyReferences, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14386,6 +14564,7 @@ func awsAwsjson11_deserializeOpDocumentListCustomerManagedPolicyReferencesInPerm } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14421,6 +14600,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsAwsjson11_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14429,6 +14609,7 @@ func awsAwsjson11_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14464,6 +14645,7 @@ func awsAwsjson11_deserializeOpDocumentListManagedPoliciesInPermissionSetOutput( if err := awsAwsjson11_deserializeDocumentAttachedManagedPolicyList(&sv.AttachedManagedPolicies, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -14472,6 +14654,7 @@ func awsAwsjson11_deserializeOpDocumentListManagedPoliciesInPermissionSetOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14511,10 +14694,12 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetProvisioningStatusOutput } sv.NextToken = ptr.String(jtv) } + case "PermissionSetsProvisioningStatus": if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatusList(&sv.PermissionSetsProvisioningStatus, value); err != nil { return err } + default: _, _ = key, value @@ -14554,10 +14739,12 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetsOutput(v **ListPermissi } sv.NextToken = ptr.String(jtv) } + case "PermissionSets": if err := awsAwsjson11_deserializeDocumentPermissionSetList(&sv.PermissionSets, value); err != nil { return err } + default: _, _ = key, value @@ -14597,10 +14784,12 @@ func awsAwsjson11_deserializeOpDocumentListPermissionSetsProvisionedToAccountOut } sv.NextToken = ptr.String(jtv) } + case "PermissionSets": if err := awsAwsjson11_deserializeDocumentPermissionSetList(&sv.PermissionSets, value); err != nil { return err } + default: _, _ = key, value @@ -14640,10 +14829,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -14683,10 +14874,12 @@ func awsAwsjson11_deserializeOpDocumentListTrustedTokenIssuersOutput(v **ListTru } sv.NextToken = ptr.String(jtv) } + case "TrustedTokenIssuers": if err := awsAwsjson11_deserializeDocumentTrustedTokenIssuerList(&sv.TrustedTokenIssuers, value); err != nil { return err } + default: _, _ = key, value @@ -14722,6 +14915,7 @@ func awsAwsjson11_deserializeOpDocumentProvisionPermissionSetOutput(v **Provisio if err := awsAwsjson11_deserializeDocumentPermissionSetProvisioningStatus(&sv.PermissionSetProvisioningStatus, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/ssooidc/deserializers.go b/service/ssooidc/deserializers.go index c1c66c20b4f..ae9f145e627 100644 --- a/service/ssooidc/deserializers.go +++ b/service/ssooidc/deserializers.go @@ -205,6 +205,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.AccessToken = ptr.String(jtv) } + case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -217,6 +218,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.ExpiresIn = int32(i64) } + case "idToken": if value != nil { jtv, ok := value.(string) @@ -225,6 +227,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.IdToken = ptr.String(jtv) } + case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -233,6 +236,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.RefreshToken = ptr.String(jtv) } + case "tokenType": if value != nil { jtv, ok := value.(string) @@ -241,6 +245,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenOutput(v **CreateTokenOutput, } sv.TokenType = ptr.String(jtv) } + default: _, _ = key, value @@ -429,6 +434,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.AccessToken = ptr.String(jtv) } + case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -441,6 +447,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.ExpiresIn = int32(i64) } + case "idToken": if value != nil { jtv, ok := value.(string) @@ -449,6 +456,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.IdToken = ptr.String(jtv) } + case "issuedTokenType": if value != nil { jtv, ok := value.(string) @@ -457,6 +465,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.IssuedTokenType = ptr.String(jtv) } + case "refreshToken": if value != nil { jtv, ok := value.(string) @@ -465,10 +474,12 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.RefreshToken = ptr.String(jtv) } + case "scope": if err := awsRestjson1_deserializeDocumentScopes(&sv.Scope, value); err != nil { return err } + case "tokenType": if value != nil { jtv, ok := value.(string) @@ -477,6 +488,7 @@ func awsRestjson1_deserializeOpDocumentCreateTokenWithIAMOutput(v **CreateTokenW } sv.TokenType = ptr.String(jtv) } + default: _, _ = key, value @@ -647,6 +659,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.AuthorizationEndpoint = ptr.String(jtv) } + case "clientId": if value != nil { jtv, ok := value.(string) @@ -655,6 +668,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientId = ptr.String(jtv) } + case "clientIdIssuedAt": if value != nil { jtv, ok := value.(json.Number) @@ -667,6 +681,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientIdIssuedAt = i64 } + case "clientSecret": if value != nil { jtv, ok := value.(string) @@ -675,6 +690,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientSecret = ptr.String(jtv) } + case "clientSecretExpiresAt": if value != nil { jtv, ok := value.(json.Number) @@ -687,6 +703,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.ClientSecretExpiresAt = i64 } + case "tokenEndpoint": if value != nil { jtv, ok := value.(string) @@ -695,6 +712,7 @@ func awsRestjson1_deserializeOpDocumentRegisterClientOutput(v **RegisterClientOu } sv.TokenEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -862,6 +880,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.DeviceCode = ptr.String(jtv) } + case "expiresIn": if value != nil { jtv, ok := value.(json.Number) @@ -874,6 +893,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.ExpiresIn = int32(i64) } + case "interval": if value != nil { jtv, ok := value.(json.Number) @@ -886,6 +906,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.Interval = int32(i64) } + case "userCode": if value != nil { jtv, ok := value.(string) @@ -894,6 +915,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.UserCode = ptr.String(jtv) } + case "verificationUri": if value != nil { jtv, ok := value.(string) @@ -902,6 +924,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.VerificationUri = ptr.String(jtv) } + case "verificationUriComplete": if value != nil { jtv, ok := value.(string) @@ -910,6 +933,7 @@ func awsRestjson1_deserializeOpDocumentStartDeviceAuthorizationOutput(v **StartD } sv.VerificationUriComplete = ptr.String(jtv) } + default: _, _ = key, value @@ -1453,6 +1477,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1461,6 +1486,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1500,6 +1526,7 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1508,6 +1535,7 @@ func awsRestjson1_deserializeDocumentAuthorizationPendingException(v **types.Aut } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1547,6 +1575,7 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1555,6 +1584,7 @@ func awsRestjson1_deserializeDocumentExpiredTokenException(v **types.ExpiredToke } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1594,6 +1624,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1602,6 +1633,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1641,6 +1673,7 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1649,6 +1682,7 @@ func awsRestjson1_deserializeDocumentInvalidClientException(v **types.InvalidCli } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1688,6 +1722,7 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1696,6 +1731,7 @@ func awsRestjson1_deserializeDocumentInvalidClientMetadataException(v **types.In } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1735,6 +1771,7 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1743,6 +1780,7 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1782,6 +1820,7 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1790,6 +1829,7 @@ func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.Inval } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1829,6 +1869,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1837,6 +1878,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -1876,6 +1918,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Endpoint = ptr.String(jtv) } + case "error": if value != nil { jtv, ok := value.(string) @@ -1884,6 +1927,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1892,6 +1936,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Error_description = ptr.String(jtv) } + case "region": if value != nil { jtv, ok := value.(string) @@ -1900,6 +1945,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestRegionException(v **types.Inv } sv.Region = ptr.String(jtv) } + default: _, _ = key, value @@ -1939,6 +1985,7 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -1947,6 +1994,7 @@ func awsRestjson1_deserializeDocumentInvalidScopeException(v **types.InvalidScop } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -2022,6 +2070,7 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -2030,6 +2079,7 @@ func awsRestjson1_deserializeDocumentSlowDownException(v **types.SlowDownExcepti } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -2069,6 +2119,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -2077,6 +2128,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedClientException(v **types.Unaut } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value @@ -2116,6 +2168,7 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns } sv.Error_ = ptr.String(jtv) } + case "error_description": if value != nil { jtv, ok := value.(string) @@ -2124,6 +2177,7 @@ func awsRestjson1_deserializeDocumentUnsupportedGrantTypeException(v **types.Uns } sv.Error_description = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/storagegateway/deserializers.go b/service/storagegateway/deserializers.go index 43303534687..fc39e117674 100644 --- a/service/storagegateway/deserializers.go +++ b/service/storagegateway/deserializers.go @@ -10427,6 +10427,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfo(v **types.A if err := awsAwsjson11_deserializeDocumentAutomaticTapeCreationRules(&sv.AutomaticTapeCreationRules, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -10435,6 +10436,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfo(v **types.A } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -10512,6 +10514,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.MinimumNumTapes = ptr.Int32(int32(i64)) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -10520,6 +10523,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.PoolId = ptr.String(jtv) } + case "TapeBarcodePrefix": if value != nil { jtv, ok := value.(string) @@ -10528,6 +10532,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.TapeBarcodePrefix = ptr.String(jtv) } + case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10540,6 +10545,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.TapeSizeInBytes = ptr.Int64(i64) } + case "Worm": if value != nil { jtv, ok := value.(bool) @@ -10548,6 +10554,7 @@ func awsAwsjson11_deserializeDocumentAutomaticTapeCreationRule(v **types.Automat } sv.Worm = jtv } + default: _, _ = key, value @@ -10625,6 +10632,7 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageDownloadRateLimitInBitsPerSec = ptr.Int64(i64) } + case "AverageUploadRateLimitInBitsPerSec": if value != nil { jtv, ok := value.(json.Number) @@ -10637,10 +10645,12 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } + case "DaysOfWeek": if err := awsAwsjson11_deserializeDocumentDaysOfWeek(&sv.DaysOfWeek, value); err != nil { return err } + case "EndHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -10653,6 +10663,7 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndHourOfDay = ptr.Int32(int32(i64)) } + case "EndMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -10665,6 +10676,7 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.EndMinuteOfHour = ptr.Int32(int32(i64)) } + case "StartHourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -10677,6 +10689,7 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartHourOfDay = ptr.Int32(int32(i64)) } + case "StartMinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -10689,6 +10702,7 @@ func awsAwsjson11_deserializeDocumentBandwidthRateLimitInterval(v **types.Bandwi } sv.StartMinuteOfHour = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10766,6 +10780,7 @@ func awsAwsjson11_deserializeDocumentCacheAttributes(v **types.CacheAttributes, } sv.CacheStaleTimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10812,6 +10827,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -10820,6 +10836,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.KMSKey = ptr.String(jtv) } + case "SourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -10828,6 +10845,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.SourceSnapshotId = ptr.String(jtv) } + case "TargetName": if value != nil { jtv, ok := value.(string) @@ -10836,6 +10854,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.TargetName = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -10844,6 +10863,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeARN = ptr.String(jtv) } + case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -10852,6 +10872,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeAttachmentStatus = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -10860,10 +10881,12 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeId = ptr.String(jtv) } + case "VolumeiSCSIAttributes": if err := awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(&sv.VolumeiSCSIAttributes, value); err != nil { return err } + case "VolumeProgress": if value != nil { switch jtv := value.(type) { @@ -10897,6 +10920,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } } + case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10909,6 +10933,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeSizeInBytes = i64 } + case "VolumeStatus": if value != nil { jtv, ok := value.(string) @@ -10917,6 +10942,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeStatus = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -10925,6 +10951,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeType = ptr.String(jtv) } + case "VolumeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10937,6 +10964,7 @@ func awsAwsjson11_deserializeDocumentCachediSCSIVolume(v **types.CachediSCSIVolu } sv.VolumeUsedInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -11044,6 +11072,7 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.InitiatorName = ptr.String(jtv) } + case "SecretToAuthenticateInitiator": if value != nil { jtv, ok := value.(string) @@ -11052,6 +11081,7 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.SecretToAuthenticateInitiator = ptr.String(jtv) } + case "SecretToAuthenticateTarget": if value != nil { jtv, ok := value.(string) @@ -11060,6 +11090,7 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.SecretToAuthenticateTarget = ptr.String(jtv) } + case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -11068,6 +11099,7 @@ func awsAwsjson11_deserializeDocumentChapInfo(v **types.ChapInfo, value interfac } sv.TargetARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11147,6 +11179,7 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.ChapEnabled = jtv } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -11155,6 +11188,7 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.NetworkInterfaceId = ptr.String(jtv) } + case "NetworkInterfacePort": if value != nil { jtv, ok := value.(json.Number) @@ -11167,6 +11201,7 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.NetworkInterfacePort = int32(i64) } + case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -11175,6 +11210,7 @@ func awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(v **types.DeviceiSCSI } sv.TargetARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11214,6 +11250,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskAllocationResource = ptr.String(jtv) } + case "DiskAllocationType": if value != nil { jtv, ok := value.(string) @@ -11222,10 +11259,12 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskAllocationType = ptr.String(jtv) } + case "DiskAttributeList": if err := awsAwsjson11_deserializeDocumentDiskAttributeList(&sv.DiskAttributeList, value); err != nil { return err } + case "DiskId": if value != nil { jtv, ok := value.(string) @@ -11234,6 +11273,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskId = ptr.String(jtv) } + case "DiskNode": if value != nil { jtv, ok := value.(string) @@ -11242,6 +11282,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskNode = ptr.String(jtv) } + case "DiskPath": if value != nil { jtv, ok := value.(string) @@ -11250,6 +11291,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskPath = ptr.String(jtv) } + case "DiskSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -11262,6 +11304,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskSizeInBytes = i64 } + case "DiskStatus": if value != nil { jtv, ok := value.(string) @@ -11270,6 +11313,7 @@ func awsAwsjson11_deserializeDocumentDisk(v **types.Disk, value interface{}) err } sv.DiskStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -11411,6 +11455,7 @@ func awsAwsjson11_deserializeDocumentEndpointNetworkConfiguration(v **types.Endp if err := awsAwsjson11_deserializeDocumentIpAddressList(&sv.IpAddresses, value); err != nil { return err } + default: _, _ = key, value @@ -11522,6 +11567,7 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareARN = ptr.String(jtv) } + case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -11530,6 +11576,7 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareId = ptr.String(jtv) } + case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -11538,6 +11585,7 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareStatus = ptr.String(jtv) } + case "FileShareType": if value != nil { jtv, ok := value.(string) @@ -11546,6 +11594,7 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.FileShareType = types.FileShareType(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11554,6 +11603,7 @@ func awsAwsjson11_deserializeDocumentFileShareInfo(v **types.FileShareInfo, valu } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11627,14 +11677,17 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.AuditDestinationARN = ptr.String(jtv) } + case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } + case "EndpointNetworkConfiguration": if err := awsAwsjson11_deserializeDocumentEndpointNetworkConfiguration(&sv.EndpointNetworkConfiguration, value); err != nil { return err } + case "FileSystemAssociationARN": if value != nil { jtv, ok := value.(string) @@ -11643,6 +11696,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.FileSystemAssociationARN = ptr.String(jtv) } + case "FileSystemAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -11651,10 +11705,12 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.FileSystemAssociationStatus = ptr.String(jtv) } + case "FileSystemAssociationStatusDetails": if err := awsAwsjson11_deserializeDocumentFileSystemAssociationStatusDetails(&sv.FileSystemAssociationStatusDetails, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11663,6 +11719,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.GatewayARN = ptr.String(jtv) } + case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -11671,10 +11728,12 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationInfo(v **types.FileSys } sv.LocationARN = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -11748,6 +11807,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationStatusDetail(v **types } sv.ErrorCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11821,6 +11881,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationARN = ptr.String(jtv) } + case "FileSystemAssociationId": if value != nil { jtv, ok := value.(string) @@ -11829,6 +11890,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationId = ptr.String(jtv) } + case "FileSystemAssociationStatus": if value != nil { jtv, ok := value.(string) @@ -11837,6 +11899,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.FileSystemAssociationStatus = ptr.String(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11845,6 +11908,7 @@ func awsAwsjson11_deserializeDocumentFileSystemAssociationSummary(v **types.File } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -11918,6 +11982,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.DeprecationDate = ptr.String(jtv) } + case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -11926,6 +11991,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.Ec2InstanceId = ptr.String(jtv) } + case "Ec2InstanceRegion": if value != nil { jtv, ok := value.(string) @@ -11934,6 +12000,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.Ec2InstanceRegion = ptr.String(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -11942,6 +12009,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayARN = ptr.String(jtv) } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -11950,6 +12018,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayId = ptr.String(jtv) } + case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -11958,6 +12027,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayName = ptr.String(jtv) } + case "GatewayOperationalState": if value != nil { jtv, ok := value.(string) @@ -11966,6 +12036,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayOperationalState = ptr.String(jtv) } + case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -11974,6 +12045,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.GatewayType = ptr.String(jtv) } + case "HostEnvironment": if value != nil { jtv, ok := value.(string) @@ -11982,6 +12054,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.HostEnvironment = types.HostEnvironment(jtv) } + case "HostEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -11990,6 +12063,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.HostEnvironmentId = ptr.String(jtv) } + case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -11998,6 +12072,7 @@ func awsAwsjson11_deserializeDocumentGatewayInfo(v **types.GatewayInfo, value in } sv.SoftwareVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -12137,6 +12212,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12145,6 +12221,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12180,6 +12257,7 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12188,6 +12266,7 @@ func awsAwsjson11_deserializeDocumentInvalidGatewayRequestException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12263,6 +12342,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv4Address = ptr.String(jtv) } + case "Ipv6Address": if value != nil { jtv, ok := value.(string) @@ -12271,6 +12351,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.Ipv6Address = ptr.String(jtv) } + case "MacAddress": if value != nil { jtv, ok := value.(string) @@ -12279,6 +12360,7 @@ func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface } sv.MacAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -12318,6 +12400,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.DirectoryMode = ptr.String(jtv) } + case "FileMode": if value != nil { jtv, ok := value.(string) @@ -12326,6 +12409,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.FileMode = ptr.String(jtv) } + case "GroupId": if value != nil { jtv, ok := value.(json.Number) @@ -12338,6 +12422,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.GroupId = ptr.Int64(i64) } + case "OwnerId": if value != nil { jtv, ok := value.(json.Number) @@ -12350,6 +12435,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareDefaults(v **types.NFSFileShare } sv.OwnerId = ptr.Int64(i64) } + default: _, _ = key, value @@ -12389,6 +12475,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.AuditDestinationARN = ptr.String(jtv) } + case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -12397,14 +12484,17 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.BucketRegion = ptr.String(jtv) } + case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } + case "ClientList": if err := awsAwsjson11_deserializeDocumentFileShareClientList(&sv.ClientList, value); err != nil { return err } + case "DefaultStorageClass": if value != nil { jtv, ok := value.(string) @@ -12413,6 +12503,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.DefaultStorageClass = ptr.String(jtv) } + case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -12421,6 +12512,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.EncryptionType = types.EncryptionType(jtv) } + case "FileShareARN": if value != nil { jtv, ok := value.(string) @@ -12429,6 +12521,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareARN = ptr.String(jtv) } + case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -12437,6 +12530,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareId = ptr.String(jtv) } + case "FileShareName": if value != nil { jtv, ok := value.(string) @@ -12445,6 +12539,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareName = ptr.String(jtv) } + case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -12453,6 +12548,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.FileShareStatus = ptr.String(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -12461,6 +12557,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.GatewayARN = ptr.String(jtv) } + case "GuessMIMETypeEnabled": if value != nil { jtv, ok := value.(bool) @@ -12469,6 +12566,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.GuessMIMETypeEnabled = ptr.Bool(jtv) } + case "KMSEncrypted": if value != nil { jtv, ok := value.(bool) @@ -12477,6 +12575,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.KMSEncrypted = jtv } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -12485,6 +12584,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.KMSKey = ptr.String(jtv) } + case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -12493,10 +12593,12 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.LocationARN = ptr.String(jtv) } + case "NFSFileShareDefaults": if err := awsAwsjson11_deserializeDocumentNFSFileShareDefaults(&sv.NFSFileShareDefaults, value); err != nil { return err } + case "NotificationPolicy": if value != nil { jtv, ok := value.(string) @@ -12505,6 +12607,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.NotificationPolicy = ptr.String(jtv) } + case "ObjectACL": if value != nil { jtv, ok := value.(string) @@ -12513,6 +12616,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.ObjectACL = types.ObjectACL(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -12521,6 +12625,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Path = ptr.String(jtv) } + case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -12529,6 +12634,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.ReadOnly = ptr.Bool(jtv) } + case "RequesterPays": if value != nil { jtv, ok := value.(bool) @@ -12537,6 +12643,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.RequesterPays = ptr.Bool(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -12545,6 +12652,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Role = ptr.String(jtv) } + case "Squash": if value != nil { jtv, ok := value.(string) @@ -12553,10 +12661,12 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.Squash = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VPCEndpointDNSName": if value != nil { jtv, ok := value.(string) @@ -12565,6 +12675,7 @@ func awsAwsjson11_deserializeDocumentNFSFileShareInfo(v **types.NFSFileShareInfo } sv.VPCEndpointDNSName = ptr.String(jtv) } + default: _, _ = key, value @@ -12638,6 +12749,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolARN = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -12646,6 +12758,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolName = ptr.String(jtv) } + case "PoolStatus": if value != nil { jtv, ok := value.(string) @@ -12654,6 +12767,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.PoolStatus = types.PoolStatus(jtv) } + case "RetentionLockTimeInDays": if value != nil { jtv, ok := value.(json.Number) @@ -12666,6 +12780,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.RetentionLockTimeInDays = ptr.Int32(int32(i64)) } + case "RetentionLockType": if value != nil { jtv, ok := value.(string) @@ -12674,6 +12789,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.RetentionLockType = types.RetentionLockType(jtv) } + case "StorageClass": if value != nil { jtv, ok := value.(string) @@ -12682,6 +12798,7 @@ func awsAwsjson11_deserializeDocumentPoolInfo(v **types.PoolInfo, value interfac } sv.StorageClass = types.TapeStorageClass(jtv) } + default: _, _ = key, value @@ -12751,6 +12868,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn if err := awsAwsjson11_deserializeDocumentStorageGatewayError(&sv.Error_, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12759,6 +12877,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableError(v **types.ServiceUn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12798,10 +12917,12 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.AccessBasedEnumeration = ptr.Bool(jtv) } + case "AdminUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.AdminUserList, value); err != nil { return err } + case "AuditDestinationARN": if value != nil { jtv, ok := value.(string) @@ -12810,6 +12931,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.AuditDestinationARN = ptr.String(jtv) } + case "Authentication": if value != nil { jtv, ok := value.(string) @@ -12818,6 +12940,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Authentication = ptr.String(jtv) } + case "BucketRegion": if value != nil { jtv, ok := value.(string) @@ -12826,10 +12949,12 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.BucketRegion = ptr.String(jtv) } + case "CacheAttributes": if err := awsAwsjson11_deserializeDocumentCacheAttributes(&sv.CacheAttributes, value); err != nil { return err } + case "CaseSensitivity": if value != nil { jtv, ok := value.(string) @@ -12838,6 +12963,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.CaseSensitivity = types.CaseSensitivity(jtv) } + case "DefaultStorageClass": if value != nil { jtv, ok := value.(string) @@ -12846,6 +12972,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.DefaultStorageClass = ptr.String(jtv) } + case "EncryptionType": if value != nil { jtv, ok := value.(string) @@ -12854,6 +12981,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.EncryptionType = types.EncryptionType(jtv) } + case "FileShareARN": if value != nil { jtv, ok := value.(string) @@ -12862,6 +12990,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareARN = ptr.String(jtv) } + case "FileShareId": if value != nil { jtv, ok := value.(string) @@ -12870,6 +12999,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareId = ptr.String(jtv) } + case "FileShareName": if value != nil { jtv, ok := value.(string) @@ -12878,6 +13008,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareName = ptr.String(jtv) } + case "FileShareStatus": if value != nil { jtv, ok := value.(string) @@ -12886,6 +13017,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.FileShareStatus = ptr.String(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -12894,6 +13026,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.GatewayARN = ptr.String(jtv) } + case "GuessMIMETypeEnabled": if value != nil { jtv, ok := value.(bool) @@ -12902,10 +13035,12 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.GuessMIMETypeEnabled = ptr.Bool(jtv) } + case "InvalidUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.InvalidUserList, value); err != nil { return err } + case "KMSEncrypted": if value != nil { jtv, ok := value.(bool) @@ -12914,6 +13049,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.KMSEncrypted = jtv } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -12922,6 +13058,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.KMSKey = ptr.String(jtv) } + case "LocationARN": if value != nil { jtv, ok := value.(string) @@ -12930,6 +13067,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.LocationARN = ptr.String(jtv) } + case "NotificationPolicy": if value != nil { jtv, ok := value.(string) @@ -12938,6 +13076,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.NotificationPolicy = ptr.String(jtv) } + case "ObjectACL": if value != nil { jtv, ok := value.(string) @@ -12946,6 +13085,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.ObjectACL = types.ObjectACL(jtv) } + case "OplocksEnabled": if value != nil { jtv, ok := value.(bool) @@ -12954,6 +13094,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.OplocksEnabled = ptr.Bool(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -12962,6 +13103,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Path = ptr.String(jtv) } + case "ReadOnly": if value != nil { jtv, ok := value.(bool) @@ -12970,6 +13112,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.ReadOnly = ptr.Bool(jtv) } + case "RequesterPays": if value != nil { jtv, ok := value.(bool) @@ -12978,6 +13121,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.RequesterPays = ptr.Bool(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -12986,6 +13130,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.Role = ptr.String(jtv) } + case "SMBACLEnabled": if value != nil { jtv, ok := value.(bool) @@ -12994,14 +13139,17 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.SMBACLEnabled = ptr.Bool(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "ValidUserList": if err := awsAwsjson11_deserializeDocumentUserList(&sv.ValidUserList, value); err != nil { return err } + case "VPCEndpointDNSName": if value != nil { jtv, ok := value.(string) @@ -13010,6 +13158,7 @@ func awsAwsjson11_deserializeDocumentSMBFileShareInfo(v **types.SMBFileShareInfo } sv.VPCEndpointDNSName = ptr.String(jtv) } + default: _, _ = key, value @@ -13079,6 +13228,7 @@ func awsAwsjson11_deserializeDocumentSMBLocalGroups(v **types.SMBLocalGroups, va if err := awsAwsjson11_deserializeDocumentUserList(&sv.GatewayAdmins, value); err != nil { return err } + default: _, _ = key, value @@ -13118,6 +13268,7 @@ func awsAwsjson11_deserializeDocumentSoftwareUpdatePreferences(v **types.Softwar } sv.AutomaticUpdatePolicy = types.AutomaticUpdatePolicy(jtv) } + default: _, _ = key, value @@ -13157,10 +13308,12 @@ func awsAwsjson11_deserializeDocumentStorageGatewayError(v **types.StorageGatewa } sv.ErrorCode = types.ErrorCode(jtv) } + case "errorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetails(&sv.ErrorDetails, value); err != nil { return err } + default: _, _ = key, value @@ -13207,6 +13360,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -13215,6 +13369,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.KMSKey = ptr.String(jtv) } + case "PreservedExistingData": if value != nil { jtv, ok := value.(bool) @@ -13223,6 +13378,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.PreservedExistingData = jtv } + case "SourceSnapshotId": if value != nil { jtv, ok := value.(string) @@ -13231,6 +13387,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.SourceSnapshotId = ptr.String(jtv) } + case "TargetName": if value != nil { jtv, ok := value.(string) @@ -13239,6 +13396,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.TargetName = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -13247,6 +13405,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeARN = ptr.String(jtv) } + case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -13255,6 +13414,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeAttachmentStatus = ptr.String(jtv) } + case "VolumeDiskId": if value != nil { jtv, ok := value.(string) @@ -13263,6 +13423,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeDiskId = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -13271,10 +13432,12 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeId = ptr.String(jtv) } + case "VolumeiSCSIAttributes": if err := awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(&sv.VolumeiSCSIAttributes, value); err != nil { return err } + case "VolumeProgress": if value != nil { switch jtv := value.(type) { @@ -13308,6 +13471,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } } + case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13320,6 +13484,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeSizeInBytes = i64 } + case "VolumeStatus": if value != nil { jtv, ok := value.(string) @@ -13328,6 +13493,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeStatus = ptr.String(jtv) } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -13336,6 +13502,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeType = ptr.String(jtv) } + case "VolumeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13348,6 +13515,7 @@ func awsAwsjson11_deserializeDocumentStorediSCSIVolume(v **types.StorediSCSIVolu } sv.VolumeUsedInBytes = ptr.Int64(i64) } + default: _, _ = key, value @@ -13457,6 +13625,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -13465,6 +13634,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13538,6 +13708,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.KMSKey = ptr.String(jtv) } + case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -13553,6 +13724,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -13561,6 +13733,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.PoolId = ptr.String(jtv) } + case "Progress": if value != nil { switch jtv := value.(type) { @@ -13594,6 +13767,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } + case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -13609,6 +13783,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } + case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -13617,6 +13792,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeARN = ptr.String(jtv) } + case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -13625,6 +13801,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeBarcode = ptr.String(jtv) } + case "TapeCreatedDate": if value != nil { switch jtv := value.(type) { @@ -13640,6 +13817,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } } + case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13652,6 +13830,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeSizeInBytes = ptr.Int64(i64) } + case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -13660,6 +13839,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeStatus = ptr.String(jtv) } + case "TapeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13672,6 +13852,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.TapeUsedInBytes = ptr.Int64(i64) } + case "VTLDevice": if value != nil { jtv, ok := value.(string) @@ -13680,6 +13861,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.VTLDevice = ptr.String(jtv) } + case "Worm": if value != nil { jtv, ok := value.(bool) @@ -13688,6 +13870,7 @@ func awsAwsjson11_deserializeDocumentTape(v **types.Tape, value interface{}) err } sv.Worm = jtv } + default: _, _ = key, value @@ -13734,6 +13917,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } + case "KMSKey": if value != nil { jtv, ok := value.(string) @@ -13742,6 +13926,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.KMSKey = ptr.String(jtv) } + case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -13757,6 +13942,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -13765,6 +13951,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.PoolId = ptr.String(jtv) } + case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -13780,6 +13967,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } + case "RetrievedTo": if value != nil { jtv, ok := value.(string) @@ -13788,6 +13976,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.RetrievedTo = ptr.String(jtv) } + case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -13796,6 +13985,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeARN = ptr.String(jtv) } + case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -13804,6 +13994,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeBarcode = ptr.String(jtv) } + case "TapeCreatedDate": if value != nil { switch jtv := value.(type) { @@ -13819,6 +14010,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } } + case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13831,6 +14023,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeSizeInBytes = ptr.Int64(i64) } + case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -13839,6 +14032,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeStatus = ptr.String(jtv) } + case "TapeUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -13851,6 +14045,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.TapeUsedInBytes = ptr.Int64(i64) } + case "Worm": if value != nil { jtv, ok := value.(bool) @@ -13859,6 +14054,7 @@ func awsAwsjson11_deserializeDocumentTapeArchive(v **types.TapeArchive, value in } sv.Worm = jtv } + default: _, _ = key, value @@ -13968,6 +14164,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.GatewayARN = ptr.String(jtv) } + case "PoolEntryDate": if value != nil { switch jtv := value.(type) { @@ -13983,6 +14180,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -13991,6 +14189,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.PoolId = ptr.String(jtv) } + case "RetentionStartDate": if value != nil { switch jtv := value.(type) { @@ -14006,6 +14205,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } } + case "TapeARN": if value != nil { jtv, ok := value.(string) @@ -14014,6 +14214,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeARN = ptr.String(jtv) } + case "TapeBarcode": if value != nil { jtv, ok := value.(string) @@ -14022,6 +14223,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeBarcode = ptr.String(jtv) } + case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14034,6 +14236,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeSizeInBytes = ptr.Int64(i64) } + case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -14042,6 +14245,7 @@ func awsAwsjson11_deserializeDocumentTapeInfo(v **types.TapeInfo, value interfac } sv.TapeStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -14115,6 +14319,7 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeARN = ptr.String(jtv) } + case "TapeRecoveryPointTime": if value != nil { switch jtv := value.(type) { @@ -14130,6 +14335,7 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } } + case "TapeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14142,6 +14348,7 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeSizeInBytes = ptr.Int64(i64) } + case "TapeStatus": if value != nil { jtv, ok := value.(string) @@ -14150,6 +14357,7 @@ func awsAwsjson11_deserializeDocumentTapeRecoveryPointInfo(v **types.TapeRecover } sv.TapeStatus = ptr.String(jtv) } + default: _, _ = key, value @@ -14293,6 +14501,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.GatewayARN = ptr.String(jtv) } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -14301,6 +14510,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.GatewayId = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -14309,6 +14519,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeARN = ptr.String(jtv) } + case "VolumeAttachmentStatus": if value != nil { jtv, ok := value.(string) @@ -14317,6 +14528,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeAttachmentStatus = ptr.String(jtv) } + case "VolumeId": if value != nil { jtv, ok := value.(string) @@ -14325,6 +14537,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeId = ptr.String(jtv) } + case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14337,6 +14550,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeSizeInBytes = i64 } + case "VolumeType": if value != nil { jtv, ok := value.(string) @@ -14345,6 +14559,7 @@ func awsAwsjson11_deserializeDocumentVolumeInfo(v **types.VolumeInfo, value inte } sv.VolumeType = ptr.String(jtv) } + default: _, _ = key, value @@ -14418,6 +14633,7 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.ChapEnabled = jtv } + case "LunNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14430,6 +14646,7 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.LunNumber = ptr.Int32(int32(i64)) } + case "NetworkInterfaceId": if value != nil { jtv, ok := value.(string) @@ -14438,6 +14655,7 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.NetworkInterfaceId = ptr.String(jtv) } + case "NetworkInterfacePort": if value != nil { jtv, ok := value.(json.Number) @@ -14450,6 +14668,7 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.NetworkInterfacePort = int32(i64) } + case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -14458,6 +14677,7 @@ func awsAwsjson11_deserializeDocumentVolumeiSCSIAttributes(v **types.VolumeiSCSI } sv.TargetARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14497,6 +14717,7 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeARN = ptr.String(jtv) } + case "VolumeRecoveryPointTime": if value != nil { jtv, ok := value.(string) @@ -14505,6 +14726,7 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeRecoveryPointTime = ptr.String(jtv) } + case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14517,6 +14739,7 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeSizeInBytes = i64 } + case "VolumeUsageInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -14529,6 +14752,7 @@ func awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfo(v **types.VolumeRec } sv.VolumeUsageInBytes = i64 } + default: _, _ = key, value @@ -14598,6 +14822,7 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf if err := awsAwsjson11_deserializeDocumentDeviceiSCSIAttributes(&sv.DeviceiSCSIAttributes, value); err != nil { return err } + case "VTLDeviceARN": if value != nil { jtv, ok := value.(string) @@ -14606,6 +14831,7 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceARN = ptr.String(jtv) } + case "VTLDeviceProductIdentifier": if value != nil { jtv, ok := value.(string) @@ -14614,6 +14840,7 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceProductIdentifier = ptr.String(jtv) } + case "VTLDeviceType": if value != nil { jtv, ok := value.(string) @@ -14622,6 +14849,7 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceType = ptr.String(jtv) } + case "VTLDeviceVendor": if value != nil { jtv, ok := value.(string) @@ -14630,6 +14858,7 @@ func awsAwsjson11_deserializeDocumentVTLDevice(v **types.VTLDevice, value interf } sv.VTLDeviceVendor = ptr.String(jtv) } + default: _, _ = key, value @@ -14703,6 +14932,7 @@ func awsAwsjson11_deserializeOpDocumentActivateGatewayOutput(v **ActivateGateway } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14742,6 +14972,7 @@ func awsAwsjson11_deserializeOpDocumentAddCacheOutput(v **AddCacheOutput, value } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14781,6 +15012,7 @@ func awsAwsjson11_deserializeOpDocumentAddTagsToResourceOutput(v **AddTagsToReso } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14820,6 +15052,7 @@ func awsAwsjson11_deserializeOpDocumentAddUploadBufferOutput(v **AddUploadBuffer } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14859,6 +15092,7 @@ func awsAwsjson11_deserializeOpDocumentAddWorkingStorageOutput(v **AddWorkingSto } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14898,6 +15132,7 @@ func awsAwsjson11_deserializeOpDocumentAssignTapePoolOutput(v **AssignTapePoolOu } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14937,6 +15172,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateFileSystemOutput(v **AssociateFi } sv.FileSystemAssociationARN = ptr.String(jtv) } + default: _, _ = key, value @@ -14976,6 +15212,7 @@ func awsAwsjson11_deserializeOpDocumentAttachVolumeOutput(v **AttachVolumeOutput } sv.TargetARN = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -14984,6 +15221,7 @@ func awsAwsjson11_deserializeOpDocumentAttachVolumeOutput(v **AttachVolumeOutput } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15023,6 +15261,7 @@ func awsAwsjson11_deserializeOpDocumentCancelArchivalOutput(v **CancelArchivalOu } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15062,6 +15301,7 @@ func awsAwsjson11_deserializeOpDocumentCancelRetrievalOutput(v **CancelRetrieval } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15101,6 +15341,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCachediSCSIVolumeOutput(v **CreateC } sv.TargetARN = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15109,6 +15350,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCachediSCSIVolumeOutput(v **CreateC } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15148,6 +15390,7 @@ func awsAwsjson11_deserializeOpDocumentCreateNFSFileShareOutput(v **CreateNFSFil } sv.FileShareARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15187,6 +15430,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSMBFileShareOutput(v **CreateSMBFil } sv.FileShareARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15226,6 +15470,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.SnapshotId = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15234,6 +15479,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.VolumeARN = ptr.String(jtv) } + case "VolumeRecoveryPointTime": if value != nil { jtv, ok := value.(string) @@ -15242,6 +15488,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotFromVolumeRecoveryPointOutp } sv.VolumeRecoveryPointTime = ptr.String(jtv) } + default: _, _ = key, value @@ -15281,6 +15528,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.SnapshotId = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15289,6 +15537,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOu } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15328,6 +15577,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.TargetARN = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -15336,6 +15586,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.VolumeARN = ptr.String(jtv) } + case "VolumeSizeInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -15348,6 +15599,7 @@ func awsAwsjson11_deserializeOpDocumentCreateStorediSCSIVolumeOutput(v **CreateS } sv.VolumeSizeInBytes = i64 } + default: _, _ = key, value @@ -15387,6 +15639,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTapePoolOutput(v **CreateTapePoolOu } sv.PoolARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15422,6 +15675,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTapesOutput(v **CreateTapesOutput, if err := awsAwsjson11_deserializeDocumentTapeARNs(&sv.TapeARNs, value); err != nil { return err } + default: _, _ = key, value @@ -15461,6 +15715,7 @@ func awsAwsjson11_deserializeOpDocumentCreateTapeWithBarcodeOutput(v **CreateTap } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15500,6 +15755,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAutomaticTapeCreationPolicyOutput(v } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15539,6 +15795,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteBandwidthRateLimitOutput(v **Delete } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15578,6 +15835,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteChapCredentialsOutput(v **DeleteCha } sv.InitiatorName = ptr.String(jtv) } + case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -15586,6 +15844,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteChapCredentialsOutput(v **DeleteCha } sv.TargetARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15625,6 +15884,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFileShareOutput(v **DeleteFileShare } sv.FileShareARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15664,6 +15924,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGatewayOutput(v **DeleteGatewayOutp } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15703,6 +15964,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSnapshotScheduleOutput(v **DeleteSn } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15742,6 +16004,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapeArchiveOutput(v **DeleteTapeArc } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15781,6 +16044,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapeOutput(v **DeleteTapeOutput, va } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15820,6 +16084,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteTapePoolOutput(v **DeleteTapePoolOu } sv.PoolARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15859,6 +16124,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteVolumeOutput(v **DeleteVolumeOutput } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -15898,6 +16164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } sv.GatewayARN = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -15913,6 +16180,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15921,6 +16189,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAvailabilityMonitorTestOutput(v * } sv.Status = types.AvailabilityMonitorTestStatus(jtv) } + default: _, _ = key, value @@ -15964,6 +16233,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.AverageDownloadRateLimitInBitsPerSec = ptr.Int64(i64) } + case "AverageUploadRateLimitInBitsPerSec": if value != nil { jtv, ok := value.(json.Number) @@ -15976,6 +16246,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.AverageUploadRateLimitInBitsPerSec = ptr.Int64(i64) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -15984,6 +16255,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16019,6 +16291,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitScheduleOutput( if err := awsAwsjson11_deserializeDocumentBandwidthRateLimitIntervals(&sv.BandwidthRateLimitIntervals, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16027,6 +16300,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBandwidthRateLimitScheduleOutput( } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16062,6 +16336,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCachediSCSIVolumesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentCachediSCSIVolumes(&sv.CachediSCSIVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -16105,6 +16380,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } sv.CacheAllocatedInBytes = i64 } + case "CacheDirtyPercentage": if value != nil { switch jtv := value.(type) { @@ -16138,6 +16414,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } + case "CacheHitPercentage": if value != nil { switch jtv := value.(type) { @@ -16171,6 +16448,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } + case "CacheMissPercentage": if value != nil { switch jtv := value.(type) { @@ -16204,6 +16482,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } + case "CacheUsedPercentage": if value != nil { switch jtv := value.(type) { @@ -16237,10 +16516,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } } + case "DiskIds": if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16249,6 +16530,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCacheOutput(v **DescribeCacheOutp } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16284,6 +16566,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeChapCredentialsOutput(v **Describ if err := awsAwsjson11_deserializeDocumentChapCredentials(&sv.ChapCredentials, value); err != nil { return err } + default: _, _ = key, value @@ -16319,6 +16602,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeFileSystemAssociationsOutput(v ** if err := awsAwsjson11_deserializeDocumentFileSystemAssociationInfoList(&sv.FileSystemAssociationInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -16358,6 +16642,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.CloudWatchLogGroupARN = ptr.String(jtv) } + case "DeprecationDate": if value != nil { jtv, ok := value.(string) @@ -16366,6 +16651,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.DeprecationDate = ptr.String(jtv) } + case "Ec2InstanceId": if value != nil { jtv, ok := value.(string) @@ -16374,6 +16660,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.Ec2InstanceId = ptr.String(jtv) } + case "Ec2InstanceRegion": if value != nil { jtv, ok := value.(string) @@ -16382,6 +16669,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.Ec2InstanceRegion = ptr.String(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -16390,6 +16678,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.EndpointType = ptr.String(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16398,6 +16687,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } + case "GatewayCapacity": if value != nil { jtv, ok := value.(string) @@ -16406,6 +16696,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayCapacity = types.GatewayCapacity(jtv) } + case "GatewayId": if value != nil { jtv, ok := value.(string) @@ -16414,6 +16705,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayId = ptr.String(jtv) } + case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -16422,10 +16714,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayName = ptr.String(jtv) } + case "GatewayNetworkInterfaces": if err := awsAwsjson11_deserializeDocumentGatewayNetworkInterfaces(&sv.GatewayNetworkInterfaces, value); err != nil { return err } + case "GatewayState": if value != nil { jtv, ok := value.(string) @@ -16434,6 +16728,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayState = ptr.String(jtv) } + case "GatewayTimezone": if value != nil { jtv, ok := value.(string) @@ -16442,6 +16737,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayTimezone = ptr.String(jtv) } + case "GatewayType": if value != nil { jtv, ok := value.(string) @@ -16450,6 +16746,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.GatewayType = ptr.String(jtv) } + case "HostEnvironment": if value != nil { jtv, ok := value.(string) @@ -16458,6 +16755,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.HostEnvironment = types.HostEnvironment(jtv) } + case "HostEnvironmentId": if value != nil { jtv, ok := value.(string) @@ -16466,6 +16764,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.HostEnvironmentId = ptr.String(jtv) } + case "LastSoftwareUpdate": if value != nil { jtv, ok := value.(string) @@ -16474,6 +16773,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.LastSoftwareUpdate = ptr.String(jtv) } + case "NextUpdateAvailabilityDate": if value != nil { jtv, ok := value.(string) @@ -16482,6 +16782,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.NextUpdateAvailabilityDate = ptr.String(jtv) } + case "SoftwareUpdatesEndDate": if value != nil { jtv, ok := value.(string) @@ -16490,6 +16791,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.SoftwareUpdatesEndDate = ptr.String(jtv) } + case "SoftwareVersion": if value != nil { jtv, ok := value.(string) @@ -16498,14 +16800,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.SoftwareVersion = ptr.String(jtv) } + case "SupportedGatewayCapacities": if err := awsAwsjson11_deserializeDocumentSupportedGatewayCapacities(&sv.SupportedGatewayCapacities, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "VPCEndpoint": if value != nil { jtv, ok := value.(string) @@ -16514,6 +16819,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGatewayInformationOutput(v **Desc } sv.VPCEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -16557,6 +16863,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.DayOfMonth = ptr.Int32(int32(i64)) } + case "DayOfWeek": if value != nil { jtv, ok := value.(json.Number) @@ -16569,6 +16876,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.DayOfWeek = ptr.Int32(int32(i64)) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16577,6 +16885,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.GatewayARN = ptr.String(jtv) } + case "HourOfDay": if value != nil { jtv, ok := value.(json.Number) @@ -16589,6 +16898,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.HourOfDay = ptr.Int32(int32(i64)) } + case "MinuteOfHour": if value != nil { jtv, ok := value.(json.Number) @@ -16601,10 +16911,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.MinuteOfHour = ptr.Int32(int32(i64)) } + case "SoftwareUpdatePreferences": if err := awsAwsjson11_deserializeDocumentSoftwareUpdatePreferences(&sv.SoftwareUpdatePreferences, value); err != nil { return err } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -16613,6 +16925,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMaintenanceStartTimeOutput(v **De } sv.Timezone = ptr.String(jtv) } + default: _, _ = key, value @@ -16648,6 +16961,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeNFSFileSharesOutput(v **DescribeN if err := awsAwsjson11_deserializeDocumentNFSFileShareInfoList(&sv.NFSFileShareInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -16683,6 +16997,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBFileSharesOutput(v **DescribeS if err := awsAwsjson11_deserializeDocumentSMBFileShareInfoList(&sv.SMBFileShareInfoList, value); err != nil { return err } + default: _, _ = key, value @@ -16722,6 +17037,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.ActiveDirectoryStatus = types.ActiveDirectoryStatus(jtv) } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -16730,6 +17046,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.DomainName = ptr.String(jtv) } + case "FileSharesVisible": if value != nil { jtv, ok := value.(bool) @@ -16738,6 +17055,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.FileSharesVisible = ptr.Bool(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -16746,6 +17064,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.GatewayARN = ptr.String(jtv) } + case "SMBGuestPasswordSet": if value != nil { jtv, ok := value.(bool) @@ -16754,10 +17073,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.SMBGuestPasswordSet = ptr.Bool(jtv) } + case "SMBLocalGroups": if err := awsAwsjson11_deserializeDocumentSMBLocalGroups(&sv.SMBLocalGroups, value); err != nil { return err } + case "SMBSecurityStrategy": if value != nil { jtv, ok := value.(string) @@ -16766,6 +17087,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSMBSettingsOutput(v **DescribeSMB } sv.SMBSecurityStrategy = types.SMBSecurityStrategy(jtv) } + default: _, _ = key, value @@ -16805,6 +17127,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.Description = ptr.String(jtv) } + case "RecurrenceInHours": if value != nil { jtv, ok := value.(json.Number) @@ -16817,6 +17140,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.RecurrenceInHours = ptr.Int32(int32(i64)) } + case "StartAt": if value != nil { jtv, ok := value.(json.Number) @@ -16829,10 +17153,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.StartAt = ptr.Int32(int32(i64)) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Timezone": if value != nil { jtv, ok := value.(string) @@ -16841,6 +17167,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.Timezone = ptr.String(jtv) } + case "VolumeARN": if value != nil { jtv, ok := value.(string) @@ -16849,6 +17176,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSnapshotScheduleOutput(v **Descri } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -16884,6 +17212,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeStorediSCSIVolumesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentStorediSCSIVolumes(&sv.StorediSCSIVolumes, value); err != nil { return err } + default: _, _ = key, value @@ -16923,10 +17252,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeArchivesOutput(v **DescribeTa } sv.Marker = ptr.String(jtv) } + case "TapeArchives": if err := awsAwsjson11_deserializeDocumentTapeArchives(&sv.TapeArchives, value); err != nil { return err } + default: _, _ = key, value @@ -16966,6 +17297,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeRecoveryPointsOutput(v **Desc } sv.GatewayARN = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -16974,10 +17306,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapeRecoveryPointsOutput(v **Desc } sv.Marker = ptr.String(jtv) } + case "TapeRecoveryPointInfos": if err := awsAwsjson11_deserializeDocumentTapeRecoveryPointInfos(&sv.TapeRecoveryPointInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17017,10 +17351,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeTapesOutput(v **DescribeTapesOutp } sv.Marker = ptr.String(jtv) } + case "Tapes": if err := awsAwsjson11_deserializeDocumentTapes(&sv.Tapes, value); err != nil { return err } + default: _, _ = key, value @@ -17056,6 +17392,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17064,6 +17401,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.GatewayARN = ptr.String(jtv) } + case "UploadBufferAllocatedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17076,6 +17414,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.UploadBufferAllocatedInBytes = i64 } + case "UploadBufferUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17088,6 +17427,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUploadBufferOutput(v **DescribeUp } sv.UploadBufferUsedInBytes = i64 } + default: _, _ = key, value @@ -17127,6 +17467,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeVTLDevicesOutput(v **DescribeVTLD } sv.GatewayARN = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -17135,10 +17476,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeVTLDevicesOutput(v **DescribeVTLD } sv.Marker = ptr.String(jtv) } + case "VTLDevices": if err := awsAwsjson11_deserializeDocumentVTLDevices(&sv.VTLDevices, value); err != nil { return err } + default: _, _ = key, value @@ -17174,6 +17517,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDiskIds(&sv.DiskIds, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17182,6 +17526,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.GatewayARN = ptr.String(jtv) } + case "WorkingStorageAllocatedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17194,6 +17539,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.WorkingStorageAllocatedInBytes = i64 } + case "WorkingStorageUsedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -17206,6 +17552,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkingStorageOutput(v **Describe } sv.WorkingStorageUsedInBytes = i64 } + default: _, _ = key, value @@ -17245,6 +17592,7 @@ func awsAwsjson11_deserializeOpDocumentDetachVolumeOutput(v **DetachVolumeOutput } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17284,6 +17632,7 @@ func awsAwsjson11_deserializeOpDocumentDisableGatewayOutput(v **DisableGatewayOu } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17323,6 +17672,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateFileSystemOutput(v **Disassoc } sv.FileSystemAssociationARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17362,6 +17712,7 @@ func awsAwsjson11_deserializeOpDocumentJoinDomainOutput(v **JoinDomainOutput, va } sv.ActiveDirectoryStatus = types.ActiveDirectoryStatus(jtv) } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17370,6 +17721,7 @@ func awsAwsjson11_deserializeOpDocumentJoinDomainOutput(v **JoinDomainOutput, va } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17405,6 +17757,7 @@ func awsAwsjson11_deserializeOpDocumentListAutomaticTapeCreationPoliciesOutput(v if err := awsAwsjson11_deserializeDocumentAutomaticTapeCreationPolicyInfos(&sv.AutomaticTapeCreationPolicyInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17440,6 +17793,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu if err := awsAwsjson11_deserializeDocumentFileShareInfoList(&sv.FileShareInfoList, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -17448,6 +17802,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu } sv.Marker = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17456,6 +17811,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSharesOutput(v **ListFileSharesOu } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17491,6 +17847,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List if err := awsAwsjson11_deserializeDocumentFileSystemAssociationSummaryList(&sv.FileSystemAssociationSummaryList, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -17499,6 +17856,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List } sv.Marker = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17507,6 +17865,7 @@ func awsAwsjson11_deserializeOpDocumentListFileSystemAssociationsOutput(v **List } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17542,6 +17901,7 @@ func awsAwsjson11_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput if err := awsAwsjson11_deserializeDocumentGateways(&sv.Gateways, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -17550,6 +17910,7 @@ func awsAwsjson11_deserializeOpDocumentListGatewaysOutput(v **ListGatewaysOutput } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -17585,6 +17946,7 @@ func awsAwsjson11_deserializeOpDocumentListLocalDisksOutput(v **ListLocalDisksOu if err := awsAwsjson11_deserializeDocumentDisks(&sv.Disks, value); err != nil { return err } + case "GatewayARN": if value != nil { jtv, ok := value.(string) @@ -17593,6 +17955,7 @@ func awsAwsjson11_deserializeOpDocumentListLocalDisksOutput(v **ListLocalDisksOu } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -17632,6 +17995,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.Marker = ptr.String(jtv) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -17640,10 +18004,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceARN = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -17683,10 +18049,12 @@ func awsAwsjson11_deserializeOpDocumentListTapePoolsOutput(v **ListTapePoolsOutp } sv.Marker = ptr.String(jtv) } + case "PoolInfos": if err := awsAwsjson11_deserializeDocumentPoolInfos(&sv.PoolInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17726,10 +18094,12 @@ func awsAwsjson11_deserializeOpDocumentListTapesOutput(v **ListTapesOutput, valu } sv.Marker = ptr.String(jtv) } + case "TapeInfos": if err := awsAwsjson11_deserializeDocumentTapeInfos(&sv.TapeInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17765,6 +18135,7 @@ func awsAwsjson11_deserializeOpDocumentListVolumeInitiatorsOutput(v **ListVolume if err := awsAwsjson11_deserializeDocumentInitiators(&sv.Initiators, value); err != nil { return err } + default: _, _ = key, value @@ -17804,10 +18175,12 @@ func awsAwsjson11_deserializeOpDocumentListVolumeRecoveryPointsOutput(v **ListVo } sv.GatewayARN = ptr.String(jtv) } + case "VolumeRecoveryPointInfos": if err := awsAwsjson11_deserializeDocumentVolumeRecoveryPointInfos(&sv.VolumeRecoveryPointInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17847,6 +18220,7 @@ func awsAwsjson11_deserializeOpDocumentListVolumesOutput(v **ListVolumesOutput, } sv.GatewayARN = ptr.String(jtv) } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -17855,10 +18229,12 @@ func awsAwsjson11_deserializeOpDocumentListVolumesOutput(v **ListVolumesOutput, } sv.Marker = ptr.String(jtv) } + case "VolumeInfos": if err := awsAwsjson11_deserializeDocumentVolumeInfos(&sv.VolumeInfos, value); err != nil { return err } + default: _, _ = key, value @@ -17898,6 +18274,7 @@ func awsAwsjson11_deserializeOpDocumentNotifyWhenUploadedOutput(v **NotifyWhenUp } sv.FileShareARN = ptr.String(jtv) } + case "NotificationId": if value != nil { jtv, ok := value.(string) @@ -17906,6 +18283,7 @@ func awsAwsjson11_deserializeOpDocumentNotifyWhenUploadedOutput(v **NotifyWhenUp } sv.NotificationId = ptr.String(jtv) } + default: _, _ = key, value @@ -17945,6 +18323,7 @@ func awsAwsjson11_deserializeOpDocumentRefreshCacheOutput(v **RefreshCacheOutput } sv.FileShareARN = ptr.String(jtv) } + case "NotificationId": if value != nil { jtv, ok := value.(string) @@ -17953,6 +18332,7 @@ func awsAwsjson11_deserializeOpDocumentRefreshCacheOutput(v **RefreshCacheOutput } sv.NotificationId = ptr.String(jtv) } + default: _, _ = key, value @@ -17992,6 +18372,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveTagsFromResourceOutput(v **RemoveTa } sv.ResourceARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18031,6 +18412,7 @@ func awsAwsjson11_deserializeOpDocumentResetCacheOutput(v **ResetCacheOutput, va } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18070,6 +18452,7 @@ func awsAwsjson11_deserializeOpDocumentRetrieveTapeArchiveOutput(v **RetrieveTap } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18109,6 +18492,7 @@ func awsAwsjson11_deserializeOpDocumentRetrieveTapeRecoveryPointOutput(v **Retri } sv.TapeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18148,6 +18532,7 @@ func awsAwsjson11_deserializeOpDocumentSetLocalConsolePasswordOutput(v **SetLoca } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18187,6 +18572,7 @@ func awsAwsjson11_deserializeOpDocumentSetSMBGuestPasswordOutput(v **SetSMBGuest } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18226,6 +18612,7 @@ func awsAwsjson11_deserializeOpDocumentShutdownGatewayOutput(v **ShutdownGateway } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18265,6 +18652,7 @@ func awsAwsjson11_deserializeOpDocumentStartAvailabilityMonitorTestOutput(v **St } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18304,6 +18692,7 @@ func awsAwsjson11_deserializeOpDocumentStartGatewayOutput(v **StartGatewayOutput } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18343,6 +18732,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAutomaticTapeCreationPolicyOutput(v } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18382,6 +18772,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBandwidthRateLimitOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18421,6 +18812,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateBandwidthRateLimitScheduleOutput(v } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18460,6 +18852,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateChapCredentialsOutput(v **UpdateCha } sv.InitiatorName = ptr.String(jtv) } + case "TargetARN": if value != nil { jtv, ok := value.(string) @@ -18468,6 +18861,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateChapCredentialsOutput(v **UpdateCha } sv.TargetARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18507,6 +18901,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateFileSystemAssociationOutput(v **Upd } sv.FileSystemAssociationARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18546,6 +18941,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } + case "GatewayName": if value != nil { jtv, ok := value.(string) @@ -18554,6 +18950,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update } sv.GatewayName = ptr.String(jtv) } + default: _, _ = key, value @@ -18593,6 +18990,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(v **Update } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18632,6 +19030,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceStartTimeOutput(v **Upda } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18671,6 +19070,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateNFSFileShareOutput(v **UpdateNFSFil } sv.FileShareARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18710,6 +19110,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBFileShareOutput(v **UpdateSMBFil } sv.FileShareARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18749,6 +19150,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBFileShareVisibilityOutput(v **Up } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18788,6 +19190,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBLocalGroupsOutput(v **UpdateSMBL } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18827,6 +19230,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSMBSecurityStrategyOutput(v **Updat } sv.GatewayARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18866,6 +19270,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSnapshotScheduleOutput(v **UpdateSn } sv.VolumeARN = ptr.String(jtv) } + default: _, _ = key, value @@ -18905,6 +19310,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVTLDeviceTypeOutput(v **UpdateVTLDe } sv.VTLDeviceARN = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/supplychain/deserializers.go b/service/supplychain/deserializers.go index 5a3027a9281..a405b344b6f 100644 --- a/service/supplychain/deserializers.go +++ b/service/supplychain/deserializers.go @@ -194,6 +194,7 @@ func awsRestjson1_deserializeOpDocumentCreateBillOfMaterialsImportJobOutput(v ** } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -367,6 +368,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationFlowOutput(v **Creat } sv.InstanceId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -375,6 +377,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataIntegrationFlowOutput(v **Creat } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -544,6 +547,7 @@ func awsRestjson1_deserializeOpDocumentCreateDataLakeDatasetOutput(v **CreateDat if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -713,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentCreateInstanceOutput(v **CreateInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -886,6 +891,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataIntegrationFlowOutput(v **Delet } sv.InstanceId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -894,6 +900,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataIntegrationFlowOutput(v **Delet } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1067,6 +1074,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.InstanceId = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1075,6 +1083,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -1083,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentDeleteDataLakeDatasetOutput(v **DeleteDat } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -1252,6 +1262,7 @@ func awsRestjson1_deserializeOpDocumentDeleteInstanceOutput(v **DeleteInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -1421,6 +1432,7 @@ func awsRestjson1_deserializeOpDocumentGetBillOfMaterialsImportJobOutput(v **Get if err := awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -1590,6 +1602,7 @@ func awsRestjson1_deserializeOpDocumentGetDataIntegrationFlowOutput(v **GetDataI if err := awsRestjson1_deserializeDocumentDataIntegrationFlow(&sv.Flow, value); err != nil { return err } + default: _, _ = key, value @@ -1759,6 +1772,7 @@ func awsRestjson1_deserializeOpDocumentGetDataLakeDatasetOutput(v **GetDataLakeD if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -1928,6 +1942,7 @@ func awsRestjson1_deserializeOpDocumentGetInstanceOutput(v **GetInstanceOutput, if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -2097,6 +2112,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationFlowsOutput(v **ListDa if err := awsRestjson1_deserializeDocumentDataIntegrationFlowList(&sv.Flows, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2105,6 +2121,7 @@ func awsRestjson1_deserializeOpDocumentListDataIntegrationFlowsOutput(v **ListDa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2274,6 +2291,7 @@ func awsRestjson1_deserializeOpDocumentListDataLakeDatasetsOutput(v **ListDataLa if err := awsRestjson1_deserializeDocumentDataLakeDatasetList(&sv.Datasets, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2282,6 +2300,7 @@ func awsRestjson1_deserializeOpDocumentListDataLakeDatasetsOutput(v **ListDataLa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2451,6 +2470,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp if err := awsRestjson1_deserializeDocumentInstanceList(&sv.Instances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -2459,6 +2479,7 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2628,6 +2649,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2801,6 +2823,7 @@ func awsRestjson1_deserializeOpDocumentSendDataIntegrationEventOutput(v **SendDa } sv.EventId = ptr.String(jtv) } + default: _, _ = key, value @@ -3182,6 +3205,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataIntegrationFlowOutput(v **Updat if err := awsRestjson1_deserializeDocumentDataIntegrationFlow(&sv.Flow, value); err != nil { return err } + default: _, _ = key, value @@ -3351,6 +3375,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDataLakeDatasetOutput(v **UpdateDat if err := awsRestjson1_deserializeDocumentDataLakeDataset(&sv.Dataset, value); err != nil { return err } + default: _, _ = key, value @@ -3520,6 +3545,7 @@ func awsRestjson1_deserializeOpDocumentUpdateInstanceOutput(v **UpdateInstanceOu if err := awsRestjson1_deserializeDocumentInstance(&sv.Instance, value); err != nil { return err } + default: _, _ = key, value @@ -3811,6 +3837,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3850,6 +3877,7 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.InstanceId = ptr.String(jtv) } + case "jobId": if value != nil { jtv, ok := value.(string) @@ -3858,6 +3886,7 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.JobId = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -3866,6 +3895,7 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.Message = ptr.String(jtv) } + case "s3uri": if value != nil { jtv, ok := value.(string) @@ -3874,6 +3904,7 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.S3uri = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3882,6 +3913,7 @@ func awsRestjson1_deserializeDocumentBillOfMaterialsImportJob(v **types.BillOfMa } sv.Status = types.ConfigurationJobStatus(jtv) } + default: _, _ = key, value @@ -3921,6 +3953,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3967,6 +4000,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -3975,6 +4009,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } sv.InstanceId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -3990,6 +4025,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } } + case "name": if value != nil { jtv, ok := value.(string) @@ -3998,18 +4034,22 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlow(v **types.DataIntegrati } sv.Name = ptr.String(jtv) } + case "sources": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowSourceList(&sv.Sources, value); err != nil { return err } + case "target": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(&sv.Target, value); err != nil { return err } + case "transformation": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(&sv.Transformation, value); err != nil { return err } + default: _, _ = key, value @@ -4049,6 +4089,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(v **types } sv.DedupeRecords = ptr.Bool(jtv) } + case "loadType": if value != nil { jtv, ok := value.(string) @@ -4057,6 +4098,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(v **types } sv.LoadType = types.DataIntegrationFlowLoadType(jtv) } + default: _, _ = key, value @@ -4096,10 +4138,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetSourceConfigurati } sv.DatasetIdentifier = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -4139,10 +4183,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetTargetConfigurati } sv.DatasetIdentifier = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetOptions(&sv.Options, value); err != nil { return err } + default: _, _ = key, value @@ -4216,6 +4262,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(v **types.Data } sv.FileType = types.DataIntegrationFlowFileType(jtv) } + default: _, _ = key, value @@ -4255,10 +4302,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(v } sv.BucketName = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(&sv.Options, value); err != nil { return err } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -4267,6 +4316,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(v } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4306,10 +4356,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(v } sv.BucketName = ptr.String(jtv) } + case "options": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3Options(&sv.Options, value); err != nil { return err } + case "prefix": if value != nil { jtv, ok := value.(string) @@ -4318,6 +4370,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(v } sv.Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4353,10 +4406,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetSourceConfiguration(&sv.DatasetSource, value); err != nil { return err } + case "s3Source": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3SourceConfiguration(&sv.S3Source, value); err != nil { return err } + case "sourceName": if value != nil { jtv, ok := value.(string) @@ -4365,6 +4420,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt } sv.SourceName = ptr.String(jtv) } + case "sourceType": if value != nil { jtv, ok := value.(string) @@ -4373,6 +4429,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSource(v **types.DataInt } sv.SourceType = types.DataIntegrationFlowSourceType(jtv) } + default: _, _ = key, value @@ -4446,6 +4503,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowSQLTransformationConfigu } sv.Query = ptr.String(jtv) } + default: _, _ = key, value @@ -4481,10 +4539,12 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(v **types.DataInt if err := awsRestjson1_deserializeDocumentDataIntegrationFlowDatasetTargetConfiguration(&sv.DatasetTarget, value); err != nil { return err } + case "s3Target": if err := awsRestjson1_deserializeDocumentDataIntegrationFlowS3TargetConfiguration(&sv.S3Target, value); err != nil { return err } + case "targetType": if value != nil { jtv, ok := value.(string) @@ -4493,6 +4553,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTarget(v **types.DataInt } sv.TargetType = types.DataIntegrationFlowTargetType(jtv) } + default: _, _ = key, value @@ -4528,6 +4589,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(v **types if err := awsRestjson1_deserializeDocumentDataIntegrationFlowSQLTransformationConfiguration(&sv.SqlTransformation, value); err != nil { return err } + case "transformationType": if value != nil { jtv, ok := value.(string) @@ -4536,6 +4598,7 @@ func awsRestjson1_deserializeDocumentDataIntegrationFlowTransformation(v **types } sv.TransformationType = types.DataIntegrationFlowTransformationType(jtv) } + default: _, _ = key, value @@ -4575,6 +4638,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Arn = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -4590,6 +4654,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } } + case "description": if value != nil { jtv, ok := value.(string) @@ -4598,6 +4663,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Description = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -4606,6 +4672,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.InstanceId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4621,6 +4688,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } } + case "name": if value != nil { jtv, ok := value.(string) @@ -4629,6 +4697,7 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Name = ptr.String(jtv) } + case "namespace": if value != nil { jtv, ok := value.(string) @@ -4637,10 +4706,12 @@ func awsRestjson1_deserializeDocumentDataLakeDataset(v **types.DataLakeDataset, } sv.Namespace = ptr.String(jtv) } + case "schema": if err := awsRestjson1_deserializeDocumentDataLakeDatasetSchema(&sv.Schema, value); err != nil { return err } + default: _, _ = key, value @@ -4710,6 +4781,7 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchema(v **types.DataLakeDat if err := awsRestjson1_deserializeDocumentDataLakeDatasetSchemaFieldList(&sv.Fields, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4718,6 +4790,7 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchema(v **types.DataLakeDat } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4757,6 +4830,7 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.IsRequired = ptr.Bool(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4765,6 +4839,7 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.Name = ptr.String(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -4773,6 +4848,7 @@ func awsRestjson1_deserializeDocumentDataLakeDatasetSchemaField(v **types.DataLa } sv.Type = types.DataLakeDatasetSchemaFieldType(jtv) } + default: _, _ = key, value @@ -4846,6 +4922,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.AwsAccountId = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -4861,6 +4938,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -4869,6 +4947,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.ErrorMessage = ptr.String(jtv) } + case "instanceDescription": if value != nil { jtv, ok := value.(string) @@ -4877,6 +4956,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceDescription = ptr.String(jtv) } + case "instanceId": if value != nil { jtv, ok := value.(string) @@ -4885,6 +4965,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceId = ptr.String(jtv) } + case "instanceName": if value != nil { jtv, ok := value.(string) @@ -4893,6 +4974,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.InstanceName = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4901,6 +4983,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.KmsKeyArn = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4916,6 +4999,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "state": if value != nil { jtv, ok := value.(string) @@ -4924,6 +5008,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.State = types.InstanceState(jtv) } + case "versionNumber": if value != nil { switch jtv := value.(type) { @@ -4957,6 +5042,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } } + case "webAppDnsDomain": if value != nil { jtv, ok := value.(string) @@ -4965,6 +5051,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac } sv.WebAppDnsDomain = ptr.String(jtv) } + default: _, _ = key, value @@ -5038,6 +5125,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5077,6 +5165,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5116,6 +5205,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5191,6 +5281,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5230,6 +5321,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/support/deserializers.go b/service/support/deserializers.go index 8f461dd3ff9..76353d51216 100644 --- a/service/support/deserializers.go +++ b/service/support/deserializers.go @@ -2254,6 +2254,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.Data = dv } + case "fileName": if value != nil { jtv, ok := value.(string) @@ -2262,6 +2263,7 @@ func awsAwsjson11_deserializeDocumentAttachment(v **types.Attachment, value inte } sv.FileName = ptr.String(jtv) } + default: _, _ = key, value @@ -2301,6 +2303,7 @@ func awsAwsjson11_deserializeDocumentAttachmentDetails(v **types.AttachmentDetai } sv.AttachmentId = ptr.String(jtv) } + case "fileName": if value != nil { jtv, ok := value.(string) @@ -2309,6 +2312,7 @@ func awsAwsjson11_deserializeDocumentAttachmentDetails(v **types.AttachmentDetai } sv.FileName = ptr.String(jtv) } + default: _, _ = key, value @@ -2348,6 +2352,7 @@ func awsAwsjson11_deserializeDocumentAttachmentIdNotFound(v **types.AttachmentId } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2387,6 +2392,7 @@ func awsAwsjson11_deserializeDocumentAttachmentLimitExceeded(v **types.Attachmen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2460,6 +2466,7 @@ func awsAwsjson11_deserializeDocumentAttachmentSetExpired(v **types.AttachmentSe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2499,6 +2506,7 @@ func awsAwsjson11_deserializeDocumentAttachmentSetIdNotFound(v **types.Attachmen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2538,6 +2546,7 @@ func awsAwsjson11_deserializeDocumentAttachmentSetSizeLimitExceeded(v **types.At } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2577,6 +2586,7 @@ func awsAwsjson11_deserializeDocumentCaseCreationLimitExceeded(v **types.CaseCre } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2616,6 +2626,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.CaseId = ptr.String(jtv) } + case "categoryCode": if value != nil { jtv, ok := value.(string) @@ -2624,10 +2635,12 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.CategoryCode = ptr.String(jtv) } + case "ccEmailAddresses": if err := awsAwsjson11_deserializeDocumentCcEmailAddressList(&sv.CcEmailAddresses, value); err != nil { return err } + case "displayId": if value != nil { jtv, ok := value.(string) @@ -2636,6 +2649,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.DisplayId = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -2644,10 +2658,12 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Language = ptr.String(jtv) } + case "recentCommunications": if err := awsAwsjson11_deserializeDocumentRecentCaseCommunications(&sv.RecentCommunications, value); err != nil { return err } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -2656,6 +2672,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.ServiceCode = ptr.String(jtv) } + case "severityCode": if value != nil { jtv, ok := value.(string) @@ -2664,6 +2681,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.SeverityCode = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2672,6 +2690,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Status = ptr.String(jtv) } + case "subject": if value != nil { jtv, ok := value.(string) @@ -2680,6 +2699,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.Subject = ptr.String(jtv) } + case "submittedBy": if value != nil { jtv, ok := value.(string) @@ -2688,6 +2708,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.SubmittedBy = ptr.String(jtv) } + case "timeCreated": if value != nil { jtv, ok := value.(string) @@ -2696,6 +2717,7 @@ func awsAwsjson11_deserializeDocumentCaseDetails(v **types.CaseDetails, value in } sv.TimeCreated = ptr.String(jtv) } + default: _, _ = key, value @@ -2735,6 +2757,7 @@ func awsAwsjson11_deserializeDocumentCaseIdNotFound(v **types.CaseIdNotFound, va } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2808,6 +2831,7 @@ func awsAwsjson11_deserializeDocumentCategory(v **types.Category, value interfac } sv.Code = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2816,6 +2840,7 @@ func awsAwsjson11_deserializeDocumentCategory(v **types.Category, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2921,6 +2946,7 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu if err := awsAwsjson11_deserializeDocumentAttachmentSet(&sv.AttachmentSet, value); err != nil { return err } + case "body": if value != nil { jtv, ok := value.(string) @@ -2929,6 +2955,7 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.Body = ptr.String(jtv) } + case "caseId": if value != nil { jtv, ok := value.(string) @@ -2937,6 +2964,7 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.CaseId = ptr.String(jtv) } + case "submittedBy": if value != nil { jtv, ok := value.(string) @@ -2945,6 +2973,7 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.SubmittedBy = ptr.String(jtv) } + case "timeCreated": if value != nil { jtv, ok := value.(string) @@ -2953,6 +2982,7 @@ func awsAwsjson11_deserializeDocumentCommunication(v **types.Communication, valu } sv.TimeCreated = ptr.String(jtv) } + default: _, _ = key, value @@ -3022,10 +3052,12 @@ func awsAwsjson11_deserializeDocumentCommunicationTypeOptions(v **types.Communic if err := awsAwsjson11_deserializeDocumentDatesWithoutSupportList(&sv.DatesWithoutSupport, value); err != nil { return err } + case "supportedHours": if err := awsAwsjson11_deserializeDocumentSupportedHoursList(&sv.SupportedHours, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -3034,6 +3066,7 @@ func awsAwsjson11_deserializeDocumentCommunicationTypeOptions(v **types.Communic } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -3107,6 +3140,7 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.EndDateTime = ptr.String(jtv) } + case "startDateTime": if value != nil { jtv, ok := value.(string) @@ -3115,6 +3149,7 @@ func awsAwsjson11_deserializeDocumentDateInterval(v **types.DateInterval, value } sv.StartDateTime = ptr.String(jtv) } + default: _, _ = key, value @@ -3188,6 +3223,7 @@ func awsAwsjson11_deserializeDocumentDescribeAttachmentLimitExceeded(v **types.D } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3227,6 +3263,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3262,6 +3299,7 @@ func awsAwsjson11_deserializeDocumentRecentCaseCommunications(v **types.RecentCa if err := awsAwsjson11_deserializeDocumentCommunicationList(&sv.Communications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3270,6 +3308,7 @@ func awsAwsjson11_deserializeDocumentRecentCaseCommunications(v **types.RecentCa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3305,6 +3344,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ if err := awsAwsjson11_deserializeDocumentCategoryList(&sv.Categories, value); err != nil { return err } + case "code": if value != nil { jtv, ok := value.(string) @@ -3313,6 +3353,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Code = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3321,6 +3362,7 @@ func awsAwsjson11_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3394,6 +3436,7 @@ func awsAwsjson11_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Code = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3402,6 +3445,7 @@ func awsAwsjson11_deserializeDocumentSeverityLevel(v **types.SeverityLevel, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3511,6 +3555,7 @@ func awsAwsjson11_deserializeDocumentSupportedHour(v **types.SupportedHour, valu } sv.EndTime = ptr.String(jtv) } + case "startTime": if value != nil { jtv, ok := value.(string) @@ -3519,6 +3564,7 @@ func awsAwsjson11_deserializeDocumentSupportedHour(v **types.SupportedHour, valu } sv.StartTime = ptr.String(jtv) } + default: _, _ = key, value @@ -3592,6 +3638,7 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Code = ptr.String(jtv) } + case "display": if value != nil { jtv, ok := value.(string) @@ -3600,6 +3647,7 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Display = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -3608,6 +3656,7 @@ func awsAwsjson11_deserializeDocumentSupportedLanguage(v **types.SupportedLangua } sv.Language = ptr.String(jtv) } + default: _, _ = key, value @@ -3681,6 +3730,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3716,6 +3766,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(v **t if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(&sv.CostOptimizing, value); err != nil { return err } + default: _, _ = key, value @@ -3755,6 +3806,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Category = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3763,6 +3815,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3771,10 +3824,12 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3783,6 +3838,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckDescription(v **types.Tr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -3856,6 +3912,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.CheckId = ptr.String(jtv) } + case "millisUntilNextRefreshable": if value != nil { jtv, ok := value.(json.Number) @@ -3868,6 +3925,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.MillisUntilNextRefreshable = i64 } + case "status": if value != nil { jtv, ok := value.(string) @@ -3876,6 +3934,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(v **types. } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -3945,6 +4004,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } + case "checkId": if value != nil { jtv, ok := value.(string) @@ -3953,14 +4013,17 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.CheckId = ptr.String(jtv) } + case "flaggedResources": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetailList(&sv.FlaggedResources, value); err != nil { return err } + case "resourcesSummary": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(&sv.ResourcesSummary, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -3969,6 +4032,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.Status = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -3977,6 +4041,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(v **types.Trusted } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -4012,6 +4077,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCategorySpecificSummary(&sv.CategorySpecificSummary, value); err != nil { return err } + case "checkId": if value != nil { jtv, ok := value.(string) @@ -4020,6 +4086,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.CheckId = ptr.String(jtv) } + case "hasFlaggedResources": if value != nil { jtv, ok := value.(bool) @@ -4028,10 +4095,12 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.HasFlaggedResources = jtv } + case "resourcesSummary": if err := awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(&sv.ResourcesSummary, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -4040,6 +4109,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.Status = ptr.String(jtv) } + case "timestamp": if value != nil { jtv, ok := value.(string) @@ -4048,6 +4118,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummary(v **types.Truste } sv.Timestamp = ptr.String(jtv) } + default: _, _ = key, value @@ -4146,6 +4217,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(v **typ } } + case "estimatedPercentMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -4179,6 +4251,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorCostOptimizingSummary(v **typ } } + default: _, _ = key, value @@ -4218,10 +4291,12 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.IsSuppressed = jtv } + case "metadata": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Metadata, value); err != nil { return err } + case "region": if value != nil { jtv, ok := value.(string) @@ -4230,6 +4305,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.Region = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -4238,6 +4314,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.ResourceId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4246,6 +4323,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourceDetail(v **types.Trus } sv.Status = ptr.String(jtv) } + default: _, _ = key, value @@ -4323,6 +4401,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesFlagged = i64 } + case "resourcesIgnored": if value != nil { jtv, ok := value.(json.Number) @@ -4335,6 +4414,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesIgnored = i64 } + case "resourcesProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -4347,6 +4427,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesProcessed = i64 } + case "resourcesSuppressed": if value != nil { jtv, ok := value.(json.Number) @@ -4359,6 +4440,7 @@ func awsAwsjson11_deserializeDocumentTrustedAdvisorResourcesSummary(v **types.Tr } sv.ResourcesSuppressed = i64 } + default: _, _ = key, value @@ -4398,6 +4480,7 @@ func awsAwsjson11_deserializeOpDocumentAddAttachmentsToSetOutput(v **AddAttachme } sv.AttachmentSetId = ptr.String(jtv) } + case "expiryTime": if value != nil { jtv, ok := value.(string) @@ -4406,6 +4489,7 @@ func awsAwsjson11_deserializeOpDocumentAddAttachmentsToSetOutput(v **AddAttachme } sv.ExpiryTime = ptr.String(jtv) } + default: _, _ = key, value @@ -4445,6 +4529,7 @@ func awsAwsjson11_deserializeOpDocumentAddCommunicationToCaseOutput(v **AddCommu } sv.Result = jtv } + default: _, _ = key, value @@ -4484,6 +4569,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCaseOutput(v **CreateCaseOutput, va } sv.CaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -4519,6 +4605,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAttachmentOutput(v **DescribeAtta if err := awsAwsjson11_deserializeDocumentAttachment(&sv.Attachment, value); err != nil { return err } + default: _, _ = key, value @@ -4554,6 +4641,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCasesOutput(v **DescribeCasesOutp if err := awsAwsjson11_deserializeDocumentCaseList(&sv.Cases, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4562,6 +4650,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCasesOutput(v **DescribeCasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4597,6 +4686,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommunicationsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentCommunicationList(&sv.Communications, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4605,6 +4695,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCommunicationsOutput(v **Describe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4640,6 +4731,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateCaseOptionsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentCommunicationTypeOptionsList(&sv.CommunicationTypes, value); err != nil { return err } + case "languageAvailability": if value != nil { jtv, ok := value.(string) @@ -4648,6 +4740,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCreateCaseOptionsOutput(v **Descr } sv.LanguageAvailability = ptr.String(jtv) } + default: _, _ = key, value @@ -4683,6 +4776,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServicesOutput(v **DescribeServic if err := awsAwsjson11_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -4718,6 +4812,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSeverityLevelsOutput(v **Describe if err := awsAwsjson11_deserializeDocumentSeverityLevelsList(&sv.SeverityLevels, value); err != nil { return err } + default: _, _ = key, value @@ -4753,6 +4848,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSupportedLanguagesOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSupportedLanguagesList(&sv.SupportedLanguages, value); err != nil { return err } + default: _, _ = key, value @@ -4788,6 +4884,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckRefreshStatuse if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatusList(&sv.Statuses, value); err != nil { return err } + default: _, _ = key, value @@ -4823,6 +4920,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckResultOutput(v if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckResult(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -4858,6 +4956,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorChecksOutput(v **De if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckList(&sv.Checks, value); err != nil { return err } + default: _, _ = key, value @@ -4893,6 +4992,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrustedAdvisorCheckSummariesOutpu if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckSummaryList(&sv.Summaries, value); err != nil { return err } + default: _, _ = key, value @@ -4928,6 +5028,7 @@ func awsAwsjson11_deserializeOpDocumentRefreshTrustedAdvisorCheckOutput(v **Refr if err := awsAwsjson11_deserializeDocumentTrustedAdvisorCheckRefreshStatus(&sv.Status, value); err != nil { return err } + default: _, _ = key, value @@ -4967,6 +5068,7 @@ func awsAwsjson11_deserializeOpDocumentResolveCaseOutput(v **ResolveCaseOutput, } sv.FinalCaseStatus = ptr.String(jtv) } + case "initialCaseStatus": if value != nil { jtv, ok := value.(string) @@ -4975,6 +5077,7 @@ func awsAwsjson11_deserializeOpDocumentResolveCaseOutput(v **ResolveCaseOutput, } sv.InitialCaseStatus = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/supportapp/deserializers.go b/service/supportapp/deserializers.go index d1508b4a9b4..bab2d1354d6 100644 --- a/service/supportapp/deserializers.go +++ b/service/supportapp/deserializers.go @@ -569,6 +569,7 @@ func awsRestjson1_deserializeOpDocumentGetAccountAliasOutput(v **GetAccountAlias } sv.AccountAlias = ptr.String(jtv) } + default: _, _ = key, value @@ -727,10 +728,12 @@ func awsRestjson1_deserializeOpDocumentListSlackChannelConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "slackChannelConfigurations": if err := awsRestjson1_deserializeDocumentSlackChannelConfigurationList(&sv.SlackChannelConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -889,10 +892,12 @@ func awsRestjson1_deserializeOpDocumentListSlackWorkspaceConfigurationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "slackWorkspaceConfigurations": if err := awsRestjson1_deserializeDocumentSlackWorkspaceConfigurationList(&sv.SlackWorkspaceConfigurations, value); err != nil { return err } + default: _, _ = key, value @@ -1154,6 +1159,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.AccountType = types.AccountType(jtv) } + case "teamId": if value != nil { jtv, ok := value.(string) @@ -1162,6 +1168,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.TeamId = ptr.String(jtv) } + case "teamName": if value != nil { jtv, ok := value.(string) @@ -1170,6 +1177,7 @@ func awsRestjson1_deserializeOpDocumentRegisterSlackWorkspaceForOrganizationOutp } sv.TeamName = ptr.String(jtv) } + default: _, _ = key, value @@ -1337,6 +1345,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelId = ptr.String(jtv) } + case "channelName": if value != nil { jtv, ok := value.(string) @@ -1345,6 +1354,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelName = ptr.String(jtv) } + case "channelRoleArn": if value != nil { jtv, ok := value.(string) @@ -1353,6 +1363,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.ChannelRoleArn = ptr.String(jtv) } + case "notifyOnAddCorrespondenceToCase": if value != nil { jtv, ok := value.(bool) @@ -1361,6 +1372,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnAddCorrespondenceToCase = ptr.Bool(jtv) } + case "notifyOnCaseSeverity": if value != nil { jtv, ok := value.(string) @@ -1369,6 +1381,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnCaseSeverity = types.NotificationSeverityLevel(jtv) } + case "notifyOnCreateOrReopenCase": if value != nil { jtv, ok := value.(bool) @@ -1377,6 +1390,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnCreateOrReopenCase = ptr.Bool(jtv) } + case "notifyOnResolveCase": if value != nil { jtv, ok := value.(bool) @@ -1385,6 +1399,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.NotifyOnResolveCase = ptr.Bool(jtv) } + case "teamId": if value != nil { jtv, ok := value.(string) @@ -1393,6 +1408,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSlackChannelConfigurationOutput(v * } sv.TeamId = ptr.String(jtv) } + default: _, _ = key, value @@ -1648,6 +1664,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1687,6 +1704,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1726,6 +1744,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1765,6 +1784,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1804,6 +1824,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1843,6 +1864,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelId = ptr.String(jtv) } + case "channelName": if value != nil { jtv, ok := value.(string) @@ -1851,6 +1873,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelName = ptr.String(jtv) } + case "channelRoleArn": if value != nil { jtv, ok := value.(string) @@ -1859,6 +1882,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.ChannelRoleArn = ptr.String(jtv) } + case "notifyOnAddCorrespondenceToCase": if value != nil { jtv, ok := value.(bool) @@ -1867,6 +1891,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnAddCorrespondenceToCase = ptr.Bool(jtv) } + case "notifyOnCaseSeverity": if value != nil { jtv, ok := value.(string) @@ -1875,6 +1900,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnCaseSeverity = types.NotificationSeverityLevel(jtv) } + case "notifyOnCreateOrReopenCase": if value != nil { jtv, ok := value.(bool) @@ -1883,6 +1909,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnCreateOrReopenCase = ptr.Bool(jtv) } + case "notifyOnResolveCase": if value != nil { jtv, ok := value.(bool) @@ -1891,6 +1918,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.NotifyOnResolveCase = ptr.Bool(jtv) } + case "teamId": if value != nil { jtv, ok := value.(string) @@ -1899,6 +1927,7 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh } sv.TeamId = ptr.String(jtv) } + default: _, _ = key, value @@ -1972,6 +2001,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.AllowOrganizationMemberAccount = ptr.Bool(jtv) } + case "teamId": if value != nil { jtv, ok := value.(string) @@ -1980,6 +2010,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.TeamId = ptr.String(jtv) } + case "teamName": if value != nil { jtv, ok := value.(string) @@ -1988,6 +2019,7 @@ func awsRestjson1_deserializeDocumentSlackWorkspaceConfiguration(v **types.Slack } sv.TeamName = ptr.String(jtv) } + default: _, _ = key, value @@ -2061,6 +2093,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/swf/deserializers.go b/service/swf/deserializers.go index cdf74d74274..0b7a2a3c711 100644 --- a/service/swf/deserializers.go +++ b/service/swf/deserializers.go @@ -4520,6 +4520,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.Details = ptr.String(jtv) } + case "latestCancelRequestedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4532,6 +4533,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.LatestCancelRequestedEventId = i64 } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4544,6 +4546,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4556,6 +4559,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(v **typ } sv.StartedEventId = i64 } + default: _, _ = key, value @@ -4595,6 +4599,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes( } sv.ActivityId = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4607,6 +4612,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes( } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -4646,6 +4652,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.Result = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4658,6 +4665,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4670,6 +4678,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(v **ty } sv.StartedEventId = i64 } + default: _, _ = key, value @@ -4709,6 +4718,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.Details = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4717,6 +4727,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.Reason = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4729,6 +4740,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4741,6 +4753,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(v **types } sv.StartedEventId = i64 } + default: _, _ = key, value @@ -4780,10 +4793,12 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ActivityId = ptr.String(jtv) } + case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } + case "control": if value != nil { jtv, ok := value.(string) @@ -4792,6 +4807,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4804,6 +4820,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.DecisionTaskCompletedEventId = i64 } + case "heartbeatTimeout": if value != nil { jtv, ok := value.(string) @@ -4812,6 +4829,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.HeartbeatTimeout = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -4820,6 +4838,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.Input = ptr.String(jtv) } + case "scheduleToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -4828,6 +4847,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ScheduleToCloseTimeout = ptr.String(jtv) } + case "scheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -4836,6 +4856,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.ScheduleToStartTimeout = ptr.String(jtv) } + case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -4844,10 +4865,12 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.StartToCloseTimeout = ptr.String(jtv) } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -4856,6 +4879,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(v **ty } sv.TaskPriority = ptr.String(jtv) } + default: _, _ = key, value @@ -4895,6 +4919,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(v **type } sv.Identity = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4907,6 +4932,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(v **type } sv.ScheduledEventId = i64 } + default: _, _ = key, value @@ -4946,6 +4972,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.Details = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4958,6 +4985,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -4970,6 +4998,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.StartedEventId = i64 } + case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -4978,6 +5007,7 @@ func awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(v **typ } sv.TimeoutType = types.ActivityTaskTimeoutType(jtv) } + default: _, _ = key, value @@ -5017,6 +5047,7 @@ func awsAwsjson10_deserializeDocumentActivityType(v **types.ActivityType, value } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -5025,6 +5056,7 @@ func awsAwsjson10_deserializeDocumentActivityType(v **types.ActivityType, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -5064,10 +5096,12 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskHeartbeatTimeout = ptr.String(jtv) } + case "defaultTaskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.DefaultTaskList, value); err != nil { return err } + case "defaultTaskPriority": if value != nil { jtv, ok := value.(string) @@ -5076,6 +5110,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskPriority = ptr.String(jtv) } + case "defaultTaskScheduleToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -5084,6 +5119,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskScheduleToCloseTimeout = ptr.String(jtv) } + case "defaultTaskScheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -5092,6 +5128,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskScheduleToStartTimeout = ptr.String(jtv) } + case "defaultTaskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -5100,6 +5137,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeConfiguration(v **types.Activit } sv.DefaultTaskStartToCloseTimeout = ptr.String(jtv) } + default: _, _ = key, value @@ -5135,6 +5173,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -5150,6 +5189,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } } + case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -5165,6 +5205,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -5173,6 +5214,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } sv.Description = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5181,6 +5223,7 @@ func awsAwsjson10_deserializeDocumentActivityTypeInfo(v **types.ActivityTypeInfo } sv.Status = types.RegistrationStatus(jtv) } + default: _, _ = key, value @@ -5254,6 +5297,7 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.Cause = types.CancelTimerFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5266,6 +5310,7 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.DecisionTaskCompletedEventId = i64 } + case "timerId": if value != nil { jtv, ok := value.(string) @@ -5274,6 +5319,7 @@ func awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(v **types. } sv.TimerId = ptr.String(jtv) } + default: _, _ = key, value @@ -5313,6 +5359,7 @@ func awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttribute } sv.Cause = types.CancelWorkflowExecutionFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5325,6 +5372,7 @@ func awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttribute } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -5364,6 +5412,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.Details = ptr.String(jtv) } + case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5376,6 +5425,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.InitiatedEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5388,14 +5438,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttribut } sv.StartedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5439,6 +5492,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.InitiatedEventId = i64 } + case "result": if value != nil { jtv, ok := value.(string) @@ -5447,6 +5501,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.Result = ptr.String(jtv) } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5459,14 +5514,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttribu } sv.StartedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5506,6 +5564,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.Details = ptr.String(jtv) } + case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5518,6 +5577,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.InitiatedEventId = i64 } + case "reason": if value != nil { jtv, ok := value.(string) @@ -5526,6 +5586,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.Reason = ptr.String(jtv) } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5538,14 +5599,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes } sv.StartedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5589,14 +5653,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionStartedEventAttribute } sv.InitiatedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5640,6 +5707,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttrib } sv.InitiatedEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5652,14 +5720,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttrib } sv.StartedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5703,6 +5774,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.InitiatedEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5715,6 +5787,7 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.StartedEventId = i64 } + case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -5723,14 +5796,17 @@ func awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttribut } sv.TimeoutType = types.WorkflowExecutionTimeoutType(jtv) } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -5770,6 +5846,7 @@ func awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttribu } sv.Cause = types.CompleteWorkflowExecutionFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5782,6 +5859,7 @@ func awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttribu } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -5821,6 +5899,7 @@ func awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAt } sv.Cause = types.ContinueAsNewWorkflowExecutionFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5833,6 +5912,7 @@ func awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAt } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -5872,6 +5952,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.ExecutionContext = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5884,6 +5965,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -5896,10 +5978,12 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.StartedEventId = i64 } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskListScheduleToStartTimeout": if value != nil { jtv, ok := value.(string) @@ -5908,6 +5992,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(v **ty } sv.TaskListScheduleToStartTimeout = ptr.String(jtv) } + default: _, _ = key, value @@ -5947,6 +6032,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.ScheduleToStartTimeout = ptr.String(jtv) } + case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -5955,10 +6041,12 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.StartToCloseTimeout = ptr.String(jtv) } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -5967,6 +6055,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(v **ty } sv.TaskPriority = ptr.String(jtv) } + default: _, _ = key, value @@ -6006,6 +6095,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(v **type } sv.Identity = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6018,6 +6108,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(v **type } sv.ScheduledEventId = i64 } + default: _, _ = key, value @@ -6061,6 +6152,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6073,6 +6165,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.StartedEventId = i64 } + case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -6081,6 +6174,7 @@ func awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(v **typ } sv.TimeoutType = types.DecisionTaskTimeoutType(jtv) } + default: _, _ = key, value @@ -6120,6 +6214,7 @@ func awsAwsjson10_deserializeDocumentDefaultUndefinedFault(v **types.DefaultUnde } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6159,6 +6254,7 @@ func awsAwsjson10_deserializeDocumentDomainAlreadyExistsFault(v **types.DomainAl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6198,6 +6294,7 @@ func awsAwsjson10_deserializeDocumentDomainConfiguration(v **types.DomainConfigu } sv.WorkflowExecutionRetentionPeriodInDays = ptr.String(jtv) } + default: _, _ = key, value @@ -6237,6 +6334,7 @@ func awsAwsjson10_deserializeDocumentDomainDeprecatedFault(v **types.DomainDepre } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6276,6 +6374,7 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6284,6 +6383,7 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Description = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -6292,6 +6392,7 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -6300,6 +6401,7 @@ func awsAwsjson10_deserializeDocumentDomainInfo(v **types.DomainInfo, value inte } sv.Status = types.RegistrationStatus(jtv) } + default: _, _ = key, value @@ -6377,10 +6479,12 @@ func awsAwsjson10_deserializeDocumentExternalWorkflowExecutionCancelRequestedEve } sv.InitiatedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + default: _, _ = key, value @@ -6424,10 +6528,12 @@ func awsAwsjson10_deserializeDocumentExternalWorkflowExecutionSignaledEventAttri } sv.InitiatedEventId = i64 } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + default: _, _ = key, value @@ -6467,6 +6573,7 @@ func awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes( } sv.Cause = types.FailWorkflowExecutionFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6479,6 +6586,7 @@ func awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes( } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -6514,86 +6622,107 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value if err := awsAwsjson10_deserializeDocumentActivityTaskCanceledEventAttributes(&sv.ActivityTaskCanceledEventAttributes, value); err != nil { return err } + case "activityTaskCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskCancelRequestedEventAttributes(&sv.ActivityTaskCancelRequestedEventAttributes, value); err != nil { return err } + case "activityTaskCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskCompletedEventAttributes(&sv.ActivityTaskCompletedEventAttributes, value); err != nil { return err } + case "activityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskFailedEventAttributes(&sv.ActivityTaskFailedEventAttributes, value); err != nil { return err } + case "activityTaskScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskScheduledEventAttributes(&sv.ActivityTaskScheduledEventAttributes, value); err != nil { return err } + case "activityTaskStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskStartedEventAttributes(&sv.ActivityTaskStartedEventAttributes, value); err != nil { return err } + case "activityTaskTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentActivityTaskTimedOutEventAttributes(&sv.ActivityTaskTimedOutEventAttributes, value); err != nil { return err } + case "cancelTimerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCancelTimerFailedEventAttributes(&sv.CancelTimerFailedEventAttributes, value); err != nil { return err } + case "cancelWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCancelWorkflowExecutionFailedEventAttributes(&sv.CancelWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionCanceledEventAttributes(&sv.ChildWorkflowExecutionCanceledEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionCompletedEventAttributes(&sv.ChildWorkflowExecutionCompletedEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionFailedEventAttributes(&sv.ChildWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionStartedEventAttributes(&sv.ChildWorkflowExecutionStartedEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionTerminatedEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionTerminatedEventAttributes(&sv.ChildWorkflowExecutionTerminatedEventAttributes, value); err != nil { return err } + case "childWorkflowExecutionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentChildWorkflowExecutionTimedOutEventAttributes(&sv.ChildWorkflowExecutionTimedOutEventAttributes, value); err != nil { return err } + case "completeWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentCompleteWorkflowExecutionFailedEventAttributes(&sv.CompleteWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "continueAsNewWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentContinueAsNewWorkflowExecutionFailedEventAttributes(&sv.ContinueAsNewWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "decisionTaskCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskCompletedEventAttributes(&sv.DecisionTaskCompletedEventAttributes, value); err != nil { return err } + case "decisionTaskScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskScheduledEventAttributes(&sv.DecisionTaskScheduledEventAttributes, value); err != nil { return err } + case "decisionTaskStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskStartedEventAttributes(&sv.DecisionTaskStartedEventAttributes, value); err != nil { return err } + case "decisionTaskTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentDecisionTaskTimedOutEventAttributes(&sv.DecisionTaskTimedOutEventAttributes, value); err != nil { return err } + case "eventId": if value != nil { jtv, ok := value.(json.Number) @@ -6606,6 +6735,7 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.EventId = i64 } + case "eventTimestamp": if value != nil { switch jtv := value.(type) { @@ -6621,6 +6751,7 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } } + case "eventType": if value != nil { jtv, ok := value.(string) @@ -6629,138 +6760,172 @@ func awsAwsjson10_deserializeDocumentHistoryEvent(v **types.HistoryEvent, value } sv.EventType = types.EventType(jtv) } + case "externalWorkflowExecutionCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentExternalWorkflowExecutionCancelRequestedEventAttributes(&sv.ExternalWorkflowExecutionCancelRequestedEventAttributes, value); err != nil { return err } + case "externalWorkflowExecutionSignaledEventAttributes": if err := awsAwsjson10_deserializeDocumentExternalWorkflowExecutionSignaledEventAttributes(&sv.ExternalWorkflowExecutionSignaledEventAttributes, value); err != nil { return err } + case "failWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentFailWorkflowExecutionFailedEventAttributes(&sv.FailWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "lambdaFunctionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(&sv.LambdaFunctionCompletedEventAttributes, value); err != nil { return err } + case "lambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(&sv.LambdaFunctionFailedEventAttributes, value); err != nil { return err } + case "lambdaFunctionScheduledEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(&sv.LambdaFunctionScheduledEventAttributes, value); err != nil { return err } + case "lambdaFunctionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionStartedEventAttributes(&sv.LambdaFunctionStartedEventAttributes, value); err != nil { return err } + case "lambdaFunctionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(&sv.LambdaFunctionTimedOutEventAttributes, value); err != nil { return err } + case "markerRecordedEventAttributes": if err := awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(&sv.MarkerRecordedEventAttributes, value); err != nil { return err } + case "recordMarkerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(&sv.RecordMarkerFailedEventAttributes, value); err != nil { return err } + case "requestCancelActivityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttributes(&sv.RequestCancelActivityTaskFailedEventAttributes, value); err != nil { return err } + case "requestCancelExternalWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFailedEventAttributes(&sv.RequestCancelExternalWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "requestCancelExternalWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(&sv.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } + case "scheduleActivityTaskFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(&sv.ScheduleActivityTaskFailedEventAttributes, value); err != nil { return err } + case "scheduleLambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes(&sv.ScheduleLambdaFunctionFailedEventAttributes, value); err != nil { return err } + case "signalExternalWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventAttributes(&sv.SignalExternalWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "signalExternalWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEventAttributes(&sv.SignalExternalWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } + case "startChildWorkflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttributes(&sv.StartChildWorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "startChildWorkflowExecutionInitiatedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAttributes(&sv.StartChildWorkflowExecutionInitiatedEventAttributes, value); err != nil { return err } + case "startLambdaFunctionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(&sv.StartLambdaFunctionFailedEventAttributes, value); err != nil { return err } + case "startTimerFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(&sv.StartTimerFailedEventAttributes, value); err != nil { return err } + case "timerCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(&sv.TimerCanceledEventAttributes, value); err != nil { return err } + case "timerFiredEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(&sv.TimerFiredEventAttributes, value); err != nil { return err } + case "timerStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(&sv.TimerStartedEventAttributes, value); err != nil { return err } + case "workflowExecutionCanceledEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(&sv.WorkflowExecutionCanceledEventAttributes, value); err != nil { return err } + case "workflowExecutionCancelRequestedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttributes(&sv.WorkflowExecutionCancelRequestedEventAttributes, value); err != nil { return err } + case "workflowExecutionCompletedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(&sv.WorkflowExecutionCompletedEventAttributes, value); err != nil { return err } + case "workflowExecutionContinuedAsNewEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttributes(&sv.WorkflowExecutionContinuedAsNewEventAttributes, value); err != nil { return err } + case "workflowExecutionFailedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(&sv.WorkflowExecutionFailedEventAttributes, value); err != nil { return err } + case "workflowExecutionSignaledEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(&sv.WorkflowExecutionSignaledEventAttributes, value); err != nil { return err } + case "workflowExecutionStartedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(&sv.WorkflowExecutionStartedEventAttributes, value); err != nil { return err } + case "workflowExecutionTerminatedEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes(&sv.WorkflowExecutionTerminatedEventAttributes, value); err != nil { return err } + case "workflowExecutionTimedOutEventAttributes": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(&sv.WorkflowExecutionTimedOutEventAttributes, value); err != nil { return err } + default: _, _ = key, value @@ -6834,6 +6999,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.Result = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6846,6 +7012,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6858,6 +7025,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionCompletedEventAttributes(v ** } sv.StartedEventId = i64 } + default: _, _ = key, value @@ -6897,6 +7065,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.Details = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -6905,6 +7074,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.Reason = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6917,6 +7087,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6929,6 +7100,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionFailedEventAttributes(v **typ } sv.StartedEventId = i64 } + default: _, _ = key, value @@ -6968,6 +7140,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -6980,6 +7153,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.DecisionTaskCompletedEventId = i64 } + case "id": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7162,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Id = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -6996,6 +7171,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Input = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7004,6 +7180,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.Name = ptr.String(jtv) } + case "startToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -7012,6 +7189,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionScheduledEventAttributes(v ** } sv.StartToCloseTimeout = ptr.String(jtv) } + default: _, _ = key, value @@ -7055,6 +7233,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionStartedEventAttributes(v **ty } sv.ScheduledEventId = i64 } + default: _, _ = key, value @@ -7098,6 +7277,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.ScheduledEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7110,6 +7290,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.StartedEventId = i64 } + case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -7118,6 +7299,7 @@ func awsAwsjson10_deserializeDocumentLambdaFunctionTimedOutEventAttributes(v **t } sv.TimeoutType = types.LambdaFunctionTimeoutType(jtv) } + default: _, _ = key, value @@ -7157,6 +7339,7 @@ func awsAwsjson10_deserializeDocumentLimitExceededFault(v **types.LimitExceededF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7200,6 +7383,7 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.DecisionTaskCompletedEventId = i64 } + case "details": if value != nil { jtv, ok := value.(string) @@ -7208,6 +7392,7 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.Details = ptr.String(jtv) } + case "markerName": if value != nil { jtv, ok := value.(string) @@ -7216,6 +7401,7 @@ func awsAwsjson10_deserializeDocumentMarkerRecordedEventAttributes(v **types.Mar } sv.MarkerName = ptr.String(jtv) } + default: _, _ = key, value @@ -7255,6 +7441,7 @@ func awsAwsjson10_deserializeDocumentOperationNotPermittedFault(v **types.Operat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7294,6 +7481,7 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.Cause = types.RecordMarkerFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7306,6 +7494,7 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.DecisionTaskCompletedEventId = i64 } + case "markerName": if value != nil { jtv, ok := value.(string) @@ -7314,6 +7503,7 @@ func awsAwsjson10_deserializeDocumentRecordMarkerFailedEventAttributes(v **types } sv.MarkerName = ptr.String(jtv) } + default: _, _ = key, value @@ -7353,6 +7543,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.ActivityId = ptr.String(jtv) } + case "cause": if value != nil { jtv, ok := value.(string) @@ -7361,6 +7552,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.Cause = types.RequestCancelActivityTaskFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7373,6 +7565,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelActivityTaskFailedEventAttribu } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -7412,6 +7605,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.Cause = types.RequestCancelExternalWorkflowExecutionFailedCause(jtv) } + case "control": if value != nil { jtv, ok := value.(string) @@ -7420,6 +7614,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7432,6 +7627,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.DecisionTaskCompletedEventId = i64 } + case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7444,6 +7640,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.InitiatedEventId = i64 } + case "runId": if value != nil { jtv, ok := value.(string) @@ -7452,6 +7649,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.RunId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7460,6 +7658,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionFaile } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -7499,6 +7698,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7511,6 +7711,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.DecisionTaskCompletedEventId = i64 } + case "runId": if value != nil { jtv, ok := value.(string) @@ -7519,6 +7720,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.RunId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7527,6 +7729,7 @@ func awsAwsjson10_deserializeDocumentRequestCancelExternalWorkflowExecutionIniti } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -7566,6 +7769,7 @@ func awsAwsjson10_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Key = ptr.String(jtv) } + case "value": if value != nil { jtv, ok := value.(string) @@ -7574,6 +7778,7 @@ func awsAwsjson10_deserializeDocumentResourceTag(v **types.ResourceTag, value in } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7647,10 +7852,12 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.ActivityId = ptr.String(jtv) } + case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } + case "cause": if value != nil { jtv, ok := value.(string) @@ -7659,6 +7866,7 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.Cause = types.ScheduleActivityTaskFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7671,6 +7879,7 @@ func awsAwsjson10_deserializeDocumentScheduleActivityTaskFailedEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } + default: _, _ = key, value @@ -7710,6 +7919,7 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Cause = types.ScheduleLambdaFunctionFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7722,6 +7932,7 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.DecisionTaskCompletedEventId = i64 } + case "id": if value != nil { jtv, ok := value.(string) @@ -7730,6 +7941,7 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -7738,6 +7950,7 @@ func awsAwsjson10_deserializeDocumentScheduleLambdaFunctionFailedEventAttributes } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -7777,6 +7990,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.Cause = types.SignalExternalWorkflowExecutionFailedCause(jtv) } + case "control": if value != nil { jtv, ok := value.(string) @@ -7785,6 +7999,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7797,6 +8012,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.DecisionTaskCompletedEventId = i64 } + case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7809,6 +8025,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.InitiatedEventId = i64 } + case "runId": if value != nil { jtv, ok := value.(string) @@ -7817,6 +8034,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.RunId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7825,6 +8043,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionFailedEventA } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -7864,6 +8083,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7876,6 +8096,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.DecisionTaskCompletedEventId = i64 } + case "input": if value != nil { jtv, ok := value.(string) @@ -7884,6 +8105,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.Input = ptr.String(jtv) } + case "runId": if value != nil { jtv, ok := value.(string) @@ -7892,6 +8114,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.RunId = ptr.String(jtv) } + case "signalName": if value != nil { jtv, ok := value.(string) @@ -7900,6 +8123,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.SignalName = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7908,6 +8132,7 @@ func awsAwsjson10_deserializeDocumentSignalExternalWorkflowExecutionInitiatedEve } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -7947,6 +8172,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.Cause = types.StartChildWorkflowExecutionFailedCause(jtv) } + case "control": if value != nil { jtv, ok := value.(string) @@ -7955,6 +8181,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7967,6 +8194,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.DecisionTaskCompletedEventId = i64 } + case "initiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -7979,6 +8207,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.InitiatedEventId = i64 } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -7987,10 +8216,12 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionFailedEventAttri } sv.WorkflowId = ptr.String(jtv) } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -8030,6 +8261,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "control": if value != nil { jtv, ok := value.(string) @@ -8038,6 +8270,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8050,6 +8283,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.DecisionTaskCompletedEventId = i64 } + case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8058,6 +8292,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -8066,6 +8301,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.Input = ptr.String(jtv) } + case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -8074,14 +8310,17 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.LambdaRole = ptr.String(jtv) } + case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -8090,6 +8329,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.TaskPriority = ptr.String(jtv) } + case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8098,6 +8338,7 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.TaskStartToCloseTimeout = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8106,10 +8347,12 @@ func awsAwsjson10_deserializeDocumentStartChildWorkflowExecutionInitiatedEventAt } sv.WorkflowId = ptr.String(jtv) } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -8149,6 +8392,7 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.Cause = types.StartLambdaFunctionFailedCause(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -8157,6 +8401,7 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.Message = ptr.String(jtv) } + case "scheduledEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8169,6 +8414,7 @@ func awsAwsjson10_deserializeDocumentStartLambdaFunctionFailedEventAttributes(v } sv.ScheduledEventId = i64 } + default: _, _ = key, value @@ -8208,6 +8454,7 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.Cause = types.StartTimerFailedCause(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8220,6 +8467,7 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.DecisionTaskCompletedEventId = i64 } + case "timerId": if value != nil { jtv, ok := value.(string) @@ -8228,6 +8476,7 @@ func awsAwsjson10_deserializeDocumentStartTimerFailedEventAttributes(v **types.S } sv.TimerId = ptr.String(jtv) } + default: _, _ = key, value @@ -8303,6 +8552,7 @@ func awsAwsjson10_deserializeDocumentTaskList(v **types.TaskList, value interfac } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8346,6 +8596,7 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.DecisionTaskCompletedEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8358,6 +8609,7 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.StartedEventId = i64 } + case "timerId": if value != nil { jtv, ok := value.(string) @@ -8366,6 +8618,7 @@ func awsAwsjson10_deserializeDocumentTimerCanceledEventAttributes(v **types.Time } sv.TimerId = ptr.String(jtv) } + default: _, _ = key, value @@ -8409,6 +8662,7 @@ func awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(v **types.TimerFi } sv.StartedEventId = i64 } + case "timerId": if value != nil { jtv, ok := value.(string) @@ -8417,6 +8671,7 @@ func awsAwsjson10_deserializeDocumentTimerFiredEventAttributes(v **types.TimerFi } sv.TimerId = ptr.String(jtv) } + default: _, _ = key, value @@ -8456,6 +8711,7 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.Control = ptr.String(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8468,6 +8724,7 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.DecisionTaskCompletedEventId = i64 } + case "startToFireTimeout": if value != nil { jtv, ok := value.(string) @@ -8476,6 +8733,7 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.StartToFireTimeout = ptr.String(jtv) } + case "timerId": if value != nil { jtv, ok := value.(string) @@ -8484,6 +8742,7 @@ func awsAwsjson10_deserializeDocumentTimerStartedEventAttributes(v **types.Timer } sv.TimerId = ptr.String(jtv) } + default: _, _ = key, value @@ -8523,6 +8782,7 @@ func awsAwsjson10_deserializeDocumentTooManyTagsFault(v **types.TooManyTagsFault } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8562,6 +8822,7 @@ func awsAwsjson10_deserializeDocumentTypeAlreadyExistsFault(v **types.TypeAlread } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8601,6 +8862,7 @@ func awsAwsjson10_deserializeDocumentTypeDeprecatedFault(v **types.TypeDeprecate } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8640,6 +8902,7 @@ func awsAwsjson10_deserializeDocumentTypeNotDeprecatedFault(v **types.TypeNotDep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8679,6 +8942,7 @@ func awsAwsjson10_deserializeDocumentUnknownResourceFault(v **types.UnknownResou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8718,6 +8982,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecution(v **types.WorkflowExecuti } sv.RunId = ptr.String(jtv) } + case "workflowId": if value != nil { jtv, ok := value.(string) @@ -8726,6 +8991,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecution(v **types.WorkflowExecuti } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -8765,6 +9031,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionAlreadyStartedFault(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8808,6 +9075,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } + case "details": if value != nil { jtv, ok := value.(string) @@ -8816,6 +9084,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCanceledEventAttributes(v } sv.Details = ptr.String(jtv) } + default: _, _ = key, value @@ -8855,6 +9124,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttrib } sv.Cause = types.WorkflowExecutionCancelRequestedCause(jtv) } + case "externalInitiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -8867,10 +9137,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCancelRequestedEventAttrib } sv.ExternalInitiatedEventId = i64 } + case "externalWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ExternalWorkflowExecution, value); err != nil { return err } + default: _, _ = key, value @@ -8914,6 +9186,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(v } sv.DecisionTaskCompletedEventId = i64 } + case "result": if value != nil { jtv, ok := value.(string) @@ -8922,6 +9195,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionCompletedEventAttributes(v } sv.Result = ptr.String(jtv) } + default: _, _ = key, value @@ -8961,6 +9235,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8969,6 +9244,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } + case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -8977,10 +9253,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.LambdaRole = ptr.String(jtv) } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -8989,6 +9267,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.TaskPriority = ptr.String(jtv) } + case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -8997,6 +9276,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(v **types.Wo } sv.TaskStartToCloseTimeout = ptr.String(jtv) } + default: _, _ = key, value @@ -9036,6 +9316,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "decisionTaskCompletedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -9048,6 +9329,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.DecisionTaskCompletedEventId = i64 } + case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9056,6 +9338,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -9064,6 +9347,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.Input = ptr.String(jtv) } + case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -9072,6 +9356,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.LambdaRole = ptr.String(jtv) } + case "newExecutionRunId": if value != nil { jtv, ok := value.(string) @@ -9080,14 +9365,17 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.NewExecutionRunId = ptr.String(jtv) } + case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -9096,6 +9384,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.TaskPriority = ptr.String(jtv) } + case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9104,10 +9393,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionContinuedAsNewEventAttribu } sv.TaskStartToCloseTimeout = ptr.String(jtv) } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -9151,6 +9442,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.DecisionTaskCompletedEventId = i64 } + case "details": if value != nil { jtv, ok := value.(string) @@ -9159,6 +9451,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.Details = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9167,6 +9460,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionFailedEventAttributes(v ** } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -9206,6 +9500,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.CancelRequested = jtv } + case "closeStatus": if value != nil { jtv, ok := value.(string) @@ -9214,6 +9509,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.CloseStatus = types.CloseStatus(jtv) } + case "closeTimestamp": if value != nil { switch jtv := value.(type) { @@ -9229,10 +9525,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } } + case "execution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.Execution, value); err != nil { return err } + case "executionStatus": if value != nil { jtv, ok := value.(string) @@ -9241,10 +9539,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } sv.ExecutionStatus = types.ExecutionStatus(jtv) } + case "parent": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.Parent, value); err != nil { return err } + case "startTimestamp": if value != nil { switch jtv := value.(type) { @@ -9260,14 +9560,17 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(v **types.WorkflowExe } } + case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -9345,6 +9648,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenActivityTasks = int32(i64) } + case "openChildWorkflowExecutions": if value != nil { jtv, ok := value.(json.Number) @@ -9357,6 +9661,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenChildWorkflowExecutions = int32(i64) } + case "openDecisionTasks": if value != nil { jtv, ok := value.(json.Number) @@ -9369,6 +9674,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenDecisionTasks = int32(i64) } + case "openLambdaFunctions": if value != nil { jtv, ok := value.(json.Number) @@ -9381,6 +9687,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenLambdaFunctions = int32(i64) } + case "openTimers": if value != nil { jtv, ok := value.(json.Number) @@ -9393,6 +9700,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(v **types.Workf } sv.OpenTimers = int32(i64) } + default: _, _ = key, value @@ -9436,10 +9744,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.ExternalInitiatedEventId = i64 } + case "externalWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ExternalWorkflowExecution, value); err != nil { return err } + case "input": if value != nil { jtv, ok := value.(string) @@ -9448,6 +9758,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.Input = ptr.String(jtv) } + case "signalName": if value != nil { jtv, ok := value.(string) @@ -9456,6 +9767,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionSignaledEventAttributes(v } sv.SignalName = ptr.String(jtv) } + default: _, _ = key, value @@ -9495,6 +9807,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "continuedExecutionRunId": if value != nil { jtv, ok := value.(string) @@ -9503,6 +9816,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ContinuedExecutionRunId = ptr.String(jtv) } + case "executionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9511,6 +9825,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ExecutionStartToCloseTimeout = ptr.String(jtv) } + case "input": if value != nil { jtv, ok := value.(string) @@ -9519,6 +9834,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.Input = ptr.String(jtv) } + case "lambdaRole": if value != nil { jtv, ok := value.(string) @@ -9527,6 +9843,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.LambdaRole = ptr.String(jtv) } + case "parentInitiatedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -9539,18 +9856,22 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.ParentInitiatedEventId = i64 } + case "parentWorkflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.ParentWorkflowExecution, value); err != nil { return err } + case "tagList": if err := awsAwsjson10_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + case "taskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.TaskList, value); err != nil { return err } + case "taskPriority": if value != nil { jtv, ok := value.(string) @@ -9559,6 +9880,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.TaskPriority = ptr.String(jtv) } + case "taskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9567,10 +9889,12 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionStartedEventAttributes(v * } sv.TaskStartToCloseTimeout = ptr.String(jtv) } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -9610,6 +9934,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Cause = types.WorkflowExecutionTerminatedCause(jtv) } + case "childPolicy": if value != nil { jtv, ok := value.(string) @@ -9618,6 +9943,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "details": if value != nil { jtv, ok := value.(string) @@ -9626,6 +9952,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Details = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -9634,6 +9961,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTerminatedEventAttributes( } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -9673,6 +10001,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(v } sv.ChildPolicy = types.ChildPolicy(jtv) } + case "timeoutType": if value != nil { jtv, ok := value.(string) @@ -9681,6 +10010,7 @@ func awsAwsjson10_deserializeDocumentWorkflowExecutionTimedOutEventAttributes(v } sv.TimeoutType = types.WorkflowExecutionTimeoutType(jtv) } + default: _, _ = key, value @@ -9720,6 +10050,7 @@ func awsAwsjson10_deserializeDocumentWorkflowType(v **types.WorkflowType, value } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -9728,6 +10059,7 @@ func awsAwsjson10_deserializeDocumentWorkflowType(v **types.WorkflowType, value } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -9767,6 +10099,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultChildPolicy = types.ChildPolicy(jtv) } + case "defaultExecutionStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9775,6 +10108,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultExecutionStartToCloseTimeout = ptr.String(jtv) } + case "defaultLambdaRole": if value != nil { jtv, ok := value.(string) @@ -9783,10 +10117,12 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultLambdaRole = ptr.String(jtv) } + case "defaultTaskList": if err := awsAwsjson10_deserializeDocumentTaskList(&sv.DefaultTaskList, value); err != nil { return err } + case "defaultTaskPriority": if value != nil { jtv, ok := value.(string) @@ -9795,6 +10131,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultTaskPriority = ptr.String(jtv) } + case "defaultTaskStartToCloseTimeout": if value != nil { jtv, ok := value.(string) @@ -9803,6 +10140,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(v **types.Workflo } sv.DefaultTaskStartToCloseTimeout = ptr.String(jtv) } + default: _, _ = key, value @@ -9849,6 +10187,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } } + case "deprecationDate": if value != nil { switch jtv := value.(type) { @@ -9864,6 +10203,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9872,6 +10212,7 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } sv.Description = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9880,10 +10221,12 @@ func awsAwsjson10_deserializeDocumentWorkflowTypeInfo(v **types.WorkflowTypeInfo } sv.Status = types.RegistrationStatus(jtv) } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -9961,6 +10304,7 @@ func awsAwsjson10_deserializeOpDocumentCountClosedWorkflowExecutionsOutput(v **C } sv.Count = int32(i64) } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -9969,6 +10313,7 @@ func awsAwsjson10_deserializeOpDocumentCountClosedWorkflowExecutionsOutput(v **C } sv.Truncated = jtv } + default: _, _ = key, value @@ -10012,6 +10357,7 @@ func awsAwsjson10_deserializeOpDocumentCountOpenWorkflowExecutionsOutput(v **Cou } sv.Count = int32(i64) } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10020,6 +10366,7 @@ func awsAwsjson10_deserializeOpDocumentCountOpenWorkflowExecutionsOutput(v **Cou } sv.Truncated = jtv } + default: _, _ = key, value @@ -10063,6 +10410,7 @@ func awsAwsjson10_deserializeOpDocumentCountPendingActivityTasksOutput(v **Count } sv.Count = int32(i64) } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10071,6 +10419,7 @@ func awsAwsjson10_deserializeOpDocumentCountPendingActivityTasksOutput(v **Count } sv.Truncated = jtv } + default: _, _ = key, value @@ -10114,6 +10463,7 @@ func awsAwsjson10_deserializeOpDocumentCountPendingDecisionTasksOutput(v **Count } sv.Count = int32(i64) } + case "truncated": if value != nil { jtv, ok := value.(bool) @@ -10122,6 +10472,7 @@ func awsAwsjson10_deserializeOpDocumentCountPendingDecisionTasksOutput(v **Count } sv.Truncated = jtv } + default: _, _ = key, value @@ -10157,10 +10508,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeActivityTypeOutput(v **DescribeAc if err := awsAwsjson10_deserializeDocumentActivityTypeConfiguration(&sv.Configuration, value); err != nil { return err } + case "typeInfo": if err := awsAwsjson10_deserializeDocumentActivityTypeInfo(&sv.TypeInfo, value); err != nil { return err } + default: _, _ = key, value @@ -10196,10 +10549,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsAwsjson10_deserializeDocumentDomainConfiguration(&sv.Configuration, value); err != nil { return err } + case "domainInfo": if err := awsAwsjson10_deserializeDocumentDomainInfo(&sv.DomainInfo, value); err != nil { return err } + default: _, _ = key, value @@ -10235,10 +10590,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr if err := awsAwsjson10_deserializeDocumentWorkflowExecutionConfiguration(&sv.ExecutionConfiguration, value); err != nil { return err } + case "executionInfo": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfo(&sv.ExecutionInfo, value); err != nil { return err } + case "latestActivityTaskTimestamp": if value != nil { switch jtv := value.(type) { @@ -10254,6 +10611,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr } } + case "latestExecutionContext": if value != nil { jtv, ok := value.(string) @@ -10262,10 +10620,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowExecutionOutput(v **Descr } sv.LatestExecutionContext = ptr.String(jtv) } + case "openCounts": if err := awsAwsjson10_deserializeDocumentWorkflowExecutionOpenCounts(&sv.OpenCounts, value); err != nil { return err } + default: _, _ = key, value @@ -10301,10 +10661,12 @@ func awsAwsjson10_deserializeOpDocumentDescribeWorkflowTypeOutput(v **DescribeWo if err := awsAwsjson10_deserializeDocumentWorkflowTypeConfiguration(&sv.Configuration, value); err != nil { return err } + case "typeInfo": if err := awsAwsjson10_deserializeDocumentWorkflowTypeInfo(&sv.TypeInfo, value); err != nil { return err } + default: _, _ = key, value @@ -10340,6 +10702,7 @@ func awsAwsjson10_deserializeOpDocumentGetWorkflowExecutionHistoryOutput(v **Get if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10348,6 +10711,7 @@ func awsAwsjson10_deserializeOpDocumentGetWorkflowExecutionHistoryOutput(v **Get } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10387,10 +10751,12 @@ func awsAwsjson10_deserializeOpDocumentListActivityTypesOutput(v **ListActivityT } sv.NextPageToken = ptr.String(jtv) } + case "typeInfos": if err := awsAwsjson10_deserializeDocumentActivityTypeInfoList(&sv.TypeInfos, value); err != nil { return err } + default: _, _ = key, value @@ -10426,6 +10792,7 @@ func awsAwsjson10_deserializeOpDocumentListClosedWorkflowExecutionsOutput(v **Li if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfoList(&sv.ExecutionInfos, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10434,6 +10801,7 @@ func awsAwsjson10_deserializeOpDocumentListClosedWorkflowExecutionsOutput(v **Li } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10469,6 +10837,7 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson10_deserializeDocumentDomainInfoList(&sv.DomainInfos, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10477,6 +10846,7 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10512,6 +10882,7 @@ func awsAwsjson10_deserializeOpDocumentListOpenWorkflowExecutionsOutput(v **List if err := awsAwsjson10_deserializeDocumentWorkflowExecutionInfoList(&sv.ExecutionInfos, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10520,6 +10891,7 @@ func awsAwsjson10_deserializeOpDocumentListOpenWorkflowExecutionsOutput(v **List } sv.NextPageToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10555,6 +10927,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResourceTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10594,10 +10967,12 @@ func awsAwsjson10_deserializeOpDocumentListWorkflowTypesOutput(v **ListWorkflowT } sv.NextPageToken = ptr.String(jtv) } + case "typeInfos": if err := awsAwsjson10_deserializeDocumentWorkflowTypeInfoList(&sv.TypeInfos, value); err != nil { return err } + default: _, _ = key, value @@ -10637,10 +11012,12 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.ActivityId = ptr.String(jtv) } + case "activityType": if err := awsAwsjson10_deserializeDocumentActivityType(&sv.ActivityType, value); err != nil { return err } + case "input": if value != nil { jtv, ok := value.(string) @@ -10649,6 +11026,7 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.Input = ptr.String(jtv) } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -10661,6 +11039,7 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.StartedEventId = i64 } + case "taskToken": if value != nil { jtv, ok := value.(string) @@ -10669,10 +11048,12 @@ func awsAwsjson10_deserializeOpDocumentPollForActivityTaskOutput(v **PollForActi } sv.TaskToken = ptr.String(jtv) } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + default: _, _ = key, value @@ -10708,6 +11089,7 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci if err := awsAwsjson10_deserializeDocumentHistoryEventList(&sv.Events, value); err != nil { return err } + case "nextPageToken": if value != nil { jtv, ok := value.(string) @@ -10716,6 +11098,7 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.NextPageToken = ptr.String(jtv) } + case "previousStartedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -10728,6 +11111,7 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.PreviousStartedEventId = i64 } + case "startedEventId": if value != nil { jtv, ok := value.(json.Number) @@ -10740,6 +11124,7 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.StartedEventId = i64 } + case "taskToken": if value != nil { jtv, ok := value.(string) @@ -10748,14 +11133,17 @@ func awsAwsjson10_deserializeOpDocumentPollForDecisionTaskOutput(v **PollForDeci } sv.TaskToken = ptr.String(jtv) } + case "workflowExecution": if err := awsAwsjson10_deserializeDocumentWorkflowExecution(&sv.WorkflowExecution, value); err != nil { return err } + case "workflowType": if err := awsAwsjson10_deserializeDocumentWorkflowType(&sv.WorkflowType, value); err != nil { return err } + default: _, _ = key, value @@ -10795,6 +11183,7 @@ func awsAwsjson10_deserializeOpDocumentRecordActivityTaskHeartbeatOutput(v **Rec } sv.CancelRequested = jtv } + default: _, _ = key, value @@ -10834,6 +11223,7 @@ func awsAwsjson10_deserializeOpDocumentStartWorkflowExecutionOutput(v **StartWor } sv.RunId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/synthetics/deserializers.go b/service/synthetics/deserializers.go index 8e29a5fd1ee..1f9063a70a7 100644 --- a/service/synthetics/deserializers.go +++ b/service/synthetics/deserializers.go @@ -277,6 +277,7 @@ func awsRestjson1_deserializeOpDocumentCreateCanaryOutput(v **CreateCanaryOutput if err := awsRestjson1_deserializeDocumentCanary(&sv.Canary, value); err != nil { return err } + default: _, _ = key, value @@ -437,6 +438,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -785,6 +787,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesOutput(v **DescribeCanari if err := awsRestjson1_deserializeDocumentCanaries(&sv.Canaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -793,6 +796,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesOutput(v **DescribeCanari } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -947,6 +951,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesLastRunOutput(v **Describ if err := awsRestjson1_deserializeDocumentCanariesLastRun(&sv.CanariesLastRun, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -955,6 +960,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCanariesLastRunOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1113,10 +1119,12 @@ func awsRestjson1_deserializeOpDocumentDescribeRuntimeVersionsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "RuntimeVersions": if err := awsRestjson1_deserializeDocumentRuntimeVersionList(&sv.RuntimeVersions, value); err != nil { return err } + default: _, _ = key, value @@ -1368,6 +1376,7 @@ func awsRestjson1_deserializeOpDocumentGetCanaryOutput(v **GetCanaryOutput, valu if err := awsRestjson1_deserializeDocumentCanary(&sv.Canary, value); err != nil { return err } + default: _, _ = key, value @@ -1525,6 +1534,7 @@ func awsRestjson1_deserializeOpDocumentGetCanaryRunsOutput(v **GetCanaryRunsOutp if err := awsRestjson1_deserializeDocumentCanaryRuns(&sv.CanaryRuns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1533,6 +1543,7 @@ func awsRestjson1_deserializeOpDocumentGetCanaryRunsOutput(v **GetCanaryRunsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1693,6 +1704,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -1850,6 +1862,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedGroupsOutput(v **ListAssoci if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1858,6 +1871,7 @@ func awsRestjson1_deserializeOpDocumentListAssociatedGroupsOutput(v **ListAssoci } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2022,10 +2036,12 @@ func awsRestjson1_deserializeOpDocumentListGroupResourcesOutput(v **ListGroupRes } sv.NextToken = ptr.String(jtv) } + case "Resources": if err := awsRestjson1_deserializeDocumentStringList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -2180,6 +2196,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2188,6 +2205,7 @@ func awsRestjson1_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2351,6 +2369,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3240,6 +3259,7 @@ func awsRestjson1_deserializeDocumentArtifactConfigOutput(v **types.ArtifactConf if err := awsRestjson1_deserializeDocumentS3EncryptionConfig(&sv.S3Encryption, value); err != nil { return err } + default: _, _ = key, value @@ -3279,6 +3299,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3314,6 +3335,7 @@ func awsRestjson1_deserializeDocumentBaseScreenshot(v **types.BaseScreenshot, va if err := awsRestjson1_deserializeDocumentBaseScreenshotIgnoreCoordinates(&sv.IgnoreCoordinates, value); err != nil { return err } + case "ScreenshotName": if value != nil { jtv, ok := value.(string) @@ -3322,6 +3344,7 @@ func awsRestjson1_deserializeDocumentBaseScreenshot(v **types.BaseScreenshot, va } sv.ScreenshotName = ptr.String(jtv) } + default: _, _ = key, value @@ -3495,6 +3518,7 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) if err := awsRestjson1_deserializeDocumentArtifactConfigOutput(&sv.ArtifactConfig, value); err != nil { return err } + case "ArtifactS3Location": if value != nil { jtv, ok := value.(string) @@ -3503,10 +3527,12 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.ArtifactS3Location = ptr.String(jtv) } + case "Code": if err := awsRestjson1_deserializeDocumentCanaryCodeOutput(&sv.Code, value); err != nil { return err } + case "EngineArn": if value != nil { jtv, ok := value.(string) @@ -3515,6 +3541,7 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.EngineArn = ptr.String(jtv) } + case "ExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -3523,6 +3550,7 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.ExecutionRoleArn = ptr.String(jtv) } + case "FailureRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3535,6 +3563,7 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.FailureRetentionPeriodInDays = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3543,6 +3572,7 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3551,10 +3581,12 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.Name = ptr.String(jtv) } + case "RunConfig": if err := awsRestjson1_deserializeDocumentCanaryRunConfigOutput(&sv.RunConfig, value); err != nil { return err } + case "RuntimeVersion": if value != nil { jtv, ok := value.(string) @@ -3563,14 +3595,17 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.RuntimeVersion = ptr.String(jtv) } + case "Schedule": if err := awsRestjson1_deserializeDocumentCanaryScheduleOutput(&sv.Schedule, value); err != nil { return err } + case "Status": if err := awsRestjson1_deserializeDocumentCanaryStatus(&sv.Status, value); err != nil { return err } + case "SuccessRetentionPeriodInDays": if value != nil { jtv, ok := value.(json.Number) @@ -3583,22 +3618,27 @@ func awsRestjson1_deserializeDocumentCanary(v **types.Canary, value interface{}) } sv.SuccessRetentionPeriodInDays = ptr.Int32(int32(i64)) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "Timeline": if err := awsRestjson1_deserializeDocumentCanaryTimeline(&sv.Timeline, value); err != nil { return err } + case "VisualReference": if err := awsRestjson1_deserializeDocumentVisualReferenceOutput(&sv.VisualReference, value); err != nil { return err } + case "VpcConfig": if err := awsRestjson1_deserializeDocumentVpcConfigOutput(&sv.VpcConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3638,6 +3678,7 @@ func awsRestjson1_deserializeDocumentCanaryCodeOutput(v **types.CanaryCodeOutput } sv.Handler = ptr.String(jtv) } + case "SourceLocationArn": if value != nil { jtv, ok := value.(string) @@ -3646,6 +3687,7 @@ func awsRestjson1_deserializeDocumentCanaryCodeOutput(v **types.CanaryCodeOutput } sv.SourceLocationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3685,10 +3727,12 @@ func awsRestjson1_deserializeDocumentCanaryLastRun(v **types.CanaryLastRun, valu } sv.CanaryName = ptr.String(jtv) } + case "LastRun": if err := awsRestjson1_deserializeDocumentCanaryRun(&sv.LastRun, value); err != nil { return err } + default: _, _ = key, value @@ -3728,6 +3772,7 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.ArtifactS3Location = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -3736,6 +3781,7 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3744,14 +3790,17 @@ func awsRestjson1_deserializeDocumentCanaryRun(v **types.CanaryRun, value interf } sv.Name = ptr.String(jtv) } + case "Status": if err := awsRestjson1_deserializeDocumentCanaryRunStatus(&sv.Status, value); err != nil { return err } + case "Timeline": if err := awsRestjson1_deserializeDocumentCanaryRunTimeline(&sv.Timeline, value); err != nil { return err } + default: _, _ = key, value @@ -3791,6 +3840,7 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.ActiveTracing = ptr.Bool(jtv) } + case "MemoryInMB": if value != nil { jtv, ok := value.(json.Number) @@ -3803,6 +3853,7 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.MemoryInMB = ptr.Int32(int32(i64)) } + case "TimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3815,6 +3866,7 @@ func awsRestjson1_deserializeDocumentCanaryRunConfigOutput(v **types.CanaryRunCo } sv.TimeoutInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3888,6 +3940,7 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.State = types.CanaryRunState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -3896,6 +3949,7 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -3904,6 +3958,7 @@ func awsRestjson1_deserializeDocumentCanaryRunStatus(v **types.CanaryRunStatus, } sv.StateReasonCode = types.CanaryRunStateReasonCode(jtv) } + default: _, _ = key, value @@ -3950,6 +4005,7 @@ func awsRestjson1_deserializeDocumentCanaryRunTimeline(v **types.CanaryRunTimeli } } + case "Started": if value != nil { switch jtv := value.(type) { @@ -3965,6 +4021,7 @@ func awsRestjson1_deserializeDocumentCanaryRunTimeline(v **types.CanaryRunTimeli } } + default: _, _ = key, value @@ -4008,6 +4065,7 @@ func awsRestjson1_deserializeDocumentCanaryScheduleOutput(v **types.CanarySchedu } sv.DurationInSeconds = ptr.Int64(i64) } + case "Expression": if value != nil { jtv, ok := value.(string) @@ -4016,6 +4074,7 @@ func awsRestjson1_deserializeDocumentCanaryScheduleOutput(v **types.CanarySchedu } sv.Expression = ptr.String(jtv) } + default: _, _ = key, value @@ -4055,6 +4114,7 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.State = types.CanaryState(jtv) } + case "StateReason": if value != nil { jtv, ok := value.(string) @@ -4063,6 +4123,7 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.StateReason = ptr.String(jtv) } + case "StateReasonCode": if value != nil { jtv, ok := value.(string) @@ -4071,6 +4132,7 @@ func awsRestjson1_deserializeDocumentCanaryStatus(v **types.CanaryStatus, value } sv.StateReasonCode = types.CanaryStateReasonCode(jtv) } + default: _, _ = key, value @@ -4117,6 +4179,7 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } + case "LastModified": if value != nil { switch jtv := value.(type) { @@ -4132,6 +4195,7 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } + case "LastStarted": if value != nil { switch jtv := value.(type) { @@ -4147,6 +4211,7 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } + case "LastStopped": if value != nil { switch jtv := value.(type) { @@ -4162,6 +4227,7 @@ func awsRestjson1_deserializeDocumentCanaryTimeline(v **types.CanaryTimeline, va } } + default: _, _ = key, value @@ -4201,6 +4267,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4240,6 +4307,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CreatedTime": if value != nil { switch jtv := value.(type) { @@ -4255,6 +4323,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4263,6 +4332,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Id = ptr.String(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -4278,6 +4348,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4286,10 +4357,12 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4329,6 +4402,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Arn = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4337,6 +4411,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4345,6 +4420,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -4418,6 +4494,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4457,6 +4534,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4496,6 +4574,7 @@ func awsRestjson1_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4535,6 +4614,7 @@ func awsRestjson1_deserializeDocumentRequestEntityTooLargeException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4574,6 +4654,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4620,6 +4701,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4628,6 +4710,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } sv.Description = ptr.String(jtv) } + case "ReleaseDate": if value != nil { switch jtv := value.(type) { @@ -4643,6 +4726,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -4651,6 +4735,7 @@ func awsRestjson1_deserializeDocumentRuntimeVersion(v **types.RuntimeVersion, va } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -4724,6 +4809,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfig(v **types.S3EncryptionCo } sv.EncryptionMode = types.EncryptionMode(jtv) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -4732,6 +4818,7 @@ func awsRestjson1_deserializeDocumentS3EncryptionConfig(v **types.S3EncryptionCo } sv.KmsKeyArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4807,6 +4894,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4954,6 +5042,7 @@ func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4993,6 +5082,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5032,10 +5122,12 @@ func awsRestjson1_deserializeDocumentVisualReferenceOutput(v **types.VisualRefer } sv.BaseCanaryRunId = ptr.String(jtv) } + case "BaseScreenshots": if err := awsRestjson1_deserializeDocumentBaseScreenshots(&sv.BaseScreenshots, value); err != nil { return err } + default: _, _ = key, value @@ -5071,10 +5163,12 @@ func awsRestjson1_deserializeDocumentVpcConfigOutput(v **types.VpcConfigOutput, if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -5083,6 +5177,7 @@ func awsRestjson1_deserializeDocumentVpcConfigOutput(v **types.VpcConfigOutput, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/taxsettings/deserializers.go b/service/taxsettings/deserializers.go index 0c883370f20..69528264077 100644 --- a/service/taxsettings/deserializers.go +++ b/service/taxsettings/deserializers.go @@ -177,6 +177,7 @@ func awsRestjson1_deserializeOpDocumentBatchDeleteTaxRegistrationOutput(v **Batc if err := awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationErrors(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -334,6 +335,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutTaxRegistrationOutput(v **BatchPu if err := awsRestjson1_deserializeDocumentBatchPutTaxRegistrationErrors(&sv.Errors, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -342,6 +344,7 @@ func awsRestjson1_deserializeOpDocumentBatchPutTaxRegistrationOutput(v **BatchPu } sv.Status = types.TaxRegistrationStatus(jtv) } + default: _, _ = key, value @@ -693,6 +696,7 @@ func awsRestjson1_deserializeOpDocumentGetTaxRegistrationOutput(v **GetTaxRegist if err := awsRestjson1_deserializeDocumentTaxRegistration(&sv.TaxRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -851,6 +855,7 @@ func awsRestjson1_deserializeOpDocumentGetTaxRegistrationDocumentOutput(v **GetT } sv.DestinationFilePath = ptr.String(jtv) } + default: _, _ = key, value @@ -1012,10 +1017,12 @@ func awsRestjson1_deserializeOpDocumentListSupplementalTaxRegistrationsOutput(v } sv.NextToken = ptr.String(jtv) } + case "taxRegistrations": if err := awsRestjson1_deserializeDocumentSupplementalTaxRegistrationList(&sv.TaxRegistrations, value); err != nil { return err } + default: _, _ = key, value @@ -1173,6 +1180,7 @@ func awsRestjson1_deserializeOpDocumentListTaxRegistrationsOutput(v **ListTaxReg if err := awsRestjson1_deserializeDocumentAccountDetailsList(&sv.AccountDetails, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1181,6 +1189,7 @@ func awsRestjson1_deserializeOpDocumentListTaxRegistrationsOutput(v **ListTaxReg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1342,6 +1351,7 @@ func awsRestjson1_deserializeOpDocumentPutSupplementalTaxRegistrationOutput(v ** } sv.AuthorityId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1350,6 +1360,7 @@ func awsRestjson1_deserializeOpDocumentPutSupplementalTaxRegistrationOutput(v ** } sv.Status = types.TaxRegistrationStatus(jtv) } + default: _, _ = key, value @@ -1511,6 +1522,7 @@ func awsRestjson1_deserializeOpDocumentPutTaxRegistrationOutput(v **PutTaxRegist } sv.Status = types.TaxRegistrationStatus(jtv) } + default: _, _ = key, value @@ -1694,18 +1706,22 @@ func awsRestjson1_deserializeDocumentAccountDetails(v **types.AccountDetails, va } sv.AccountId = ptr.String(jtv) } + case "accountMetaData": if err := awsRestjson1_deserializeDocumentAccountMetaData(&sv.AccountMetaData, value); err != nil { return err } + case "taxInheritanceDetails": if err := awsRestjson1_deserializeDocumentTaxInheritanceDetails(&sv.TaxInheritanceDetails, value); err != nil { return err } + case "taxRegistration": if err := awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(&sv.TaxRegistration, value); err != nil { return err } + default: _, _ = key, value @@ -1779,14 +1795,17 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.AccountName = ptr.String(jtv) } + case "address": if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "addressRoleMap": if err := awsRestjson1_deserializeDocumentAddressRoleMap(&sv.AddressRoleMap, value); err != nil { return err } + case "addressType": if value != nil { jtv, ok := value.(string) @@ -1795,6 +1814,7 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.AddressType = types.AddressRoleType(jtv) } + case "seller": if value != nil { jtv, ok := value.(string) @@ -1803,6 +1823,7 @@ func awsRestjson1_deserializeDocumentAccountMetaData(v **types.AccountMetaData, } sv.Seller = ptr.String(jtv) } + default: _, _ = key, value @@ -1838,66 +1859,82 @@ func awsRestjson1_deserializeDocumentAdditionalInfoResponse(v **types.Additional if err := awsRestjson1_deserializeDocumentBrazilAdditionalInfo(&sv.BrazilAdditionalInfo, value); err != nil { return err } + case "canadaAdditionalInfo": if err := awsRestjson1_deserializeDocumentCanadaAdditionalInfo(&sv.CanadaAdditionalInfo, value); err != nil { return err } + case "estoniaAdditionalInfo": if err := awsRestjson1_deserializeDocumentEstoniaAdditionalInfo(&sv.EstoniaAdditionalInfo, value); err != nil { return err } + case "georgiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentGeorgiaAdditionalInfo(&sv.GeorgiaAdditionalInfo, value); err != nil { return err } + case "indiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentIndiaAdditionalInfo(&sv.IndiaAdditionalInfo, value); err != nil { return err } + case "israelAdditionalInfo": if err := awsRestjson1_deserializeDocumentIsraelAdditionalInfo(&sv.IsraelAdditionalInfo, value); err != nil { return err } + case "italyAdditionalInfo": if err := awsRestjson1_deserializeDocumentItalyAdditionalInfo(&sv.ItalyAdditionalInfo, value); err != nil { return err } + case "kenyaAdditionalInfo": if err := awsRestjson1_deserializeDocumentKenyaAdditionalInfo(&sv.KenyaAdditionalInfo, value); err != nil { return err } + case "malaysiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(&sv.MalaysiaAdditionalInfo, value); err != nil { return err } + case "polandAdditionalInfo": if err := awsRestjson1_deserializeDocumentPolandAdditionalInfo(&sv.PolandAdditionalInfo, value); err != nil { return err } + case "romaniaAdditionalInfo": if err := awsRestjson1_deserializeDocumentRomaniaAdditionalInfo(&sv.RomaniaAdditionalInfo, value); err != nil { return err } + case "saudiArabiaAdditionalInfo": if err := awsRestjson1_deserializeDocumentSaudiArabiaAdditionalInfo(&sv.SaudiArabiaAdditionalInfo, value); err != nil { return err } + case "southKoreaAdditionalInfo": if err := awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(&sv.SouthKoreaAdditionalInfo, value); err != nil { return err } + case "spainAdditionalInfo": if err := awsRestjson1_deserializeDocumentSpainAdditionalInfo(&sv.SpainAdditionalInfo, value); err != nil { return err } + case "turkeyAdditionalInfo": if err := awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(&sv.TurkeyAdditionalInfo, value); err != nil { return err } + case "ukraineAdditionalInfo": if err := awsRestjson1_deserializeDocumentUkraineAdditionalInfo(&sv.UkraineAdditionalInfo, value); err != nil { return err } + default: _, _ = key, value @@ -1937,6 +1974,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine1 = ptr.String(jtv) } + case "addressLine2": if value != nil { jtv, ok := value.(string) @@ -1945,6 +1983,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine2 = ptr.String(jtv) } + case "addressLine3": if value != nil { jtv, ok := value.(string) @@ -1953,6 +1992,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.AddressLine3 = ptr.String(jtv) } + case "city": if value != nil { jtv, ok := value.(string) @@ -1961,6 +2001,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.City = ptr.String(jtv) } + case "countryCode": if value != nil { jtv, ok := value.(string) @@ -1969,6 +2010,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.CountryCode = ptr.String(jtv) } + case "districtOrCounty": if value != nil { jtv, ok := value.(string) @@ -1977,6 +2019,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.DistrictOrCounty = ptr.String(jtv) } + case "postalCode": if value != nil { jtv, ok := value.(string) @@ -1985,6 +2028,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.PostalCode = ptr.String(jtv) } + case "stateOrRegion": if value != nil { jtv, ok := value.(string) @@ -1993,6 +2037,7 @@ func awsRestjson1_deserializeDocumentAddress(v **types.Address, value interface{ } sv.StateOrRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -2067,6 +2112,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.AccountId = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -2075,6 +2121,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -2083,6 +2130,7 @@ func awsRestjson1_deserializeDocumentBatchDeleteTaxRegistrationError(v **types.B } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2156,6 +2204,7 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.AccountId = ptr.String(jtv) } + case "code": if value != nil { jtv, ok := value.(string) @@ -2164,6 +2213,7 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.Code = ptr.String(jtv) } + case "message": if value != nil { jtv, ok := value.(string) @@ -2172,6 +2222,7 @@ func awsRestjson1_deserializeDocumentBatchPutTaxRegistrationError(v **types.Batc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2245,6 +2296,7 @@ func awsRestjson1_deserializeDocumentBrazilAdditionalInfo(v **types.BrazilAdditi } sv.CcmCode = ptr.String(jtv) } + case "legalNatureCode": if value != nil { jtv, ok := value.(string) @@ -2253,6 +2305,7 @@ func awsRestjson1_deserializeDocumentBrazilAdditionalInfo(v **types.BrazilAdditi } sv.LegalNatureCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2292,6 +2345,7 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.CanadaQuebecSalesTaxNumber = ptr.String(jtv) } + case "canadaRetailSalesTaxNumber": if value != nil { jtv, ok := value.(string) @@ -2300,6 +2354,7 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.CanadaRetailSalesTaxNumber = ptr.String(jtv) } + case "isResellerAccount": if value != nil { jtv, ok := value.(bool) @@ -2308,6 +2363,7 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.IsResellerAccount = ptr.Bool(jtv) } + case "provincialSalesTaxId": if value != nil { jtv, ok := value.(string) @@ -2316,6 +2372,7 @@ func awsRestjson1_deserializeDocumentCanadaAdditionalInfo(v **types.CanadaAdditi } sv.ProvincialSalesTaxId = ptr.String(jtv) } + default: _, _ = key, value @@ -2355,6 +2412,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2363,6 +2421,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2402,6 +2461,7 @@ func awsRestjson1_deserializeDocumentEstoniaAdditionalInfo(v **types.EstoniaAddi } sv.RegistryCommercialCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2441,6 +2501,7 @@ func awsRestjson1_deserializeDocumentGeorgiaAdditionalInfo(v **types.GeorgiaAddi } sv.PersonType = types.PersonType(jtv) } + default: _, _ = key, value @@ -2480,6 +2541,7 @@ func awsRestjson1_deserializeDocumentIndiaAdditionalInfo(v **types.IndiaAddition } sv.Pan = ptr.String(jtv) } + default: _, _ = key, value @@ -2519,6 +2581,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2527,6 +2590,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2566,6 +2630,7 @@ func awsRestjson1_deserializeDocumentIsraelAdditionalInfo(v **types.IsraelAdditi } sv.CustomerType = types.IsraelCustomerType(jtv) } + case "dealerType": if value != nil { jtv, ok := value.(string) @@ -2574,6 +2639,7 @@ func awsRestjson1_deserializeDocumentIsraelAdditionalInfo(v **types.IsraelAdditi } sv.DealerType = types.IsraelDealerType(jtv) } + default: _, _ = key, value @@ -2613,6 +2679,7 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.CigNumber = ptr.String(jtv) } + case "cupNumber": if value != nil { jtv, ok := value.(string) @@ -2621,6 +2688,7 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.CupNumber = ptr.String(jtv) } + case "sdiAccountId": if value != nil { jtv, ok := value.(string) @@ -2629,6 +2697,7 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.SdiAccountId = ptr.String(jtv) } + case "taxCode": if value != nil { jtv, ok := value.(string) @@ -2637,6 +2706,7 @@ func awsRestjson1_deserializeDocumentItalyAdditionalInfo(v **types.ItalyAddition } sv.TaxCode = ptr.String(jtv) } + default: _, _ = key, value @@ -2676,6 +2746,7 @@ func awsRestjson1_deserializeDocumentJurisdiction(v **types.Jurisdiction, value } sv.CountryCode = ptr.String(jtv) } + case "stateOrRegion": if value != nil { jtv, ok := value.(string) @@ -2684,6 +2755,7 @@ func awsRestjson1_deserializeDocumentJurisdiction(v **types.Jurisdiction, value } sv.StateOrRegion = ptr.String(jtv) } + default: _, _ = key, value @@ -2723,6 +2795,7 @@ func awsRestjson1_deserializeDocumentKenyaAdditionalInfo(v **types.KenyaAddition } sv.PersonType = types.PersonType(jtv) } + default: _, _ = key, value @@ -2762,10 +2835,12 @@ func awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(v **types.MalaysiaAd } sv.BusinessRegistrationNumber = ptr.String(jtv) } + case "serviceTaxCodes": if err := awsRestjson1_deserializeDocumentMalaysiaServiceTaxCodesList(&sv.ServiceTaxCodes, value); err != nil { return err } + case "taxInformationNumber": if value != nil { jtv, ok := value.(string) @@ -2774,6 +2849,7 @@ func awsRestjson1_deserializeDocumentMalaysiaAdditionalInfo(v **types.MalaysiaAd } sv.TaxInformationNumber = ptr.String(jtv) } + default: _, _ = key, value @@ -2849,6 +2925,7 @@ func awsRestjson1_deserializeDocumentPolandAdditionalInfo(v **types.PolandAdditi } sv.IndividualRegistrationNumber = ptr.String(jtv) } + case "isGroupVatEnabled": if value != nil { jtv, ok := value.(bool) @@ -2857,6 +2934,7 @@ func awsRestjson1_deserializeDocumentPolandAdditionalInfo(v **types.PolandAdditi } sv.IsGroupVatEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2896,6 +2974,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ErrorCode_ = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -2904,6 +2983,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2943,6 +3023,7 @@ func awsRestjson1_deserializeDocumentRomaniaAdditionalInfo(v **types.RomaniaAddi } sv.TaxRegistrationNumberType = types.TaxRegistrationNumberType(jtv) } + default: _, _ = key, value @@ -2982,6 +3063,7 @@ func awsRestjson1_deserializeDocumentSaudiArabiaAdditionalInfo(v **types.SaudiAr } sv.TaxRegistrationNumberType = types.SaudiArabiaTaxRegistrationNumberType(jtv) } + default: _, _ = key, value @@ -3021,6 +3103,7 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.BusinessRepresentativeName = ptr.String(jtv) } + case "itemOfBusiness": if value != nil { jtv, ok := value.(string) @@ -3029,6 +3112,7 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.ItemOfBusiness = ptr.String(jtv) } + case "lineOfBusiness": if value != nil { jtv, ok := value.(string) @@ -3037,6 +3121,7 @@ func awsRestjson1_deserializeDocumentSouthKoreaAdditionalInfo(v **types.SouthKor } sv.LineOfBusiness = ptr.String(jtv) } + default: _, _ = key, value @@ -3076,6 +3161,7 @@ func awsRestjson1_deserializeDocumentSpainAdditionalInfo(v **types.SpainAddition } sv.RegistrationType = types.RegistrationType(jtv) } + default: _, _ = key, value @@ -3111,6 +3197,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl if err := awsRestjson1_deserializeDocumentAddress(&sv.Address, value); err != nil { return err } + case "authorityId": if value != nil { jtv, ok := value.(string) @@ -3119,6 +3206,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.AuthorityId = ptr.String(jtv) } + case "legalName": if value != nil { jtv, ok := value.(string) @@ -3127,6 +3215,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.LegalName = ptr.String(jtv) } + case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3135,6 +3224,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.RegistrationId = ptr.String(jtv) } + case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3143,6 +3233,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.RegistrationType = types.SupplementalTaxRegistrationType(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3151,6 +3242,7 @@ func awsRestjson1_deserializeDocumentSupplementalTaxRegistration(v **types.Suppl } sv.Status = types.TaxRegistrationStatus(jtv) } + default: _, _ = key, value @@ -3224,6 +3316,7 @@ func awsRestjson1_deserializeDocumentTaxDocumentMetadata(v **types.TaxDocumentMe } sv.TaxDocumentAccessToken = ptr.String(jtv) } + case "taxDocumentName": if value != nil { jtv, ok := value.(string) @@ -3232,6 +3325,7 @@ func awsRestjson1_deserializeDocumentTaxDocumentMetadata(v **types.TaxDocumentMe } sv.TaxDocumentName = ptr.String(jtv) } + default: _, _ = key, value @@ -3305,6 +3399,7 @@ func awsRestjson1_deserializeDocumentTaxInheritanceDetails(v **types.TaxInherita } sv.InheritanceObtainedReason = ptr.String(jtv) } + case "parentEntityId": if value != nil { jtv, ok := value.(string) @@ -3313,6 +3408,7 @@ func awsRestjson1_deserializeDocumentTaxInheritanceDetails(v **types.TaxInherita } sv.ParentEntityId = ptr.String(jtv) } + default: _, _ = key, value @@ -3348,6 +3444,7 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, if err := awsRestjson1_deserializeDocumentAdditionalInfoResponse(&sv.AdditionalTaxInformation, value); err != nil { return err } + case "certifiedEmailId": if value != nil { jtv, ok := value.(string) @@ -3356,10 +3453,12 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.CertifiedEmailId = ptr.String(jtv) } + case "legalAddress": if err := awsRestjson1_deserializeDocumentAddress(&sv.LegalAddress, value); err != nil { return err } + case "legalName": if value != nil { jtv, ok := value.(string) @@ -3368,6 +3467,7 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.LegalName = ptr.String(jtv) } + case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3376,6 +3476,7 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.RegistrationId = ptr.String(jtv) } + case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3384,6 +3485,7 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.RegistrationType = types.TaxRegistrationType(jtv) } + case "sector": if value != nil { jtv, ok := value.(string) @@ -3392,6 +3494,7 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.Sector = types.Sector(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3400,10 +3503,12 @@ func awsRestjson1_deserializeDocumentTaxRegistration(v **types.TaxRegistration, } sv.Status = types.TaxRegistrationStatus(jtv) } + case "taxDocumentMetadatas": if err := awsRestjson1_deserializeDocumentTaxDocumentMetadatas(&sv.TaxDocumentMetadatas, value); err != nil { return err } + default: _, _ = key, value @@ -3439,6 +3544,7 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T if err := awsRestjson1_deserializeDocumentAdditionalInfoResponse(&sv.AdditionalTaxInformation, value); err != nil { return err } + case "certifiedEmailId": if value != nil { jtv, ok := value.(string) @@ -3447,10 +3553,12 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.CertifiedEmailId = ptr.String(jtv) } + case "jurisdiction": if err := awsRestjson1_deserializeDocumentJurisdiction(&sv.Jurisdiction, value); err != nil { return err } + case "legalName": if value != nil { jtv, ok := value.(string) @@ -3459,6 +3567,7 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.LegalName = ptr.String(jtv) } + case "registrationId": if value != nil { jtv, ok := value.(string) @@ -3467,6 +3576,7 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.RegistrationId = ptr.String(jtv) } + case "registrationType": if value != nil { jtv, ok := value.(string) @@ -3475,6 +3585,7 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.RegistrationType = types.TaxRegistrationType(jtv) } + case "sector": if value != nil { jtv, ok := value.(string) @@ -3483,6 +3594,7 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.Sector = types.Sector(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3491,10 +3603,12 @@ func awsRestjson1_deserializeDocumentTaxRegistrationWithJurisdiction(v **types.T } sv.Status = types.TaxRegistrationStatus(jtv) } + case "taxDocumentMetadatas": if err := awsRestjson1_deserializeDocumentTaxDocumentMetadatas(&sv.TaxDocumentMetadatas, value); err != nil { return err } + default: _, _ = key, value @@ -3534,6 +3648,7 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.Industries = types.Industries(jtv) } + case "kepEmailId": if value != nil { jtv, ok := value.(string) @@ -3542,6 +3657,7 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.KepEmailId = ptr.String(jtv) } + case "secondaryTaxId": if value != nil { jtv, ok := value.(string) @@ -3550,6 +3666,7 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.SecondaryTaxId = ptr.String(jtv) } + case "taxOffice": if value != nil { jtv, ok := value.(string) @@ -3558,6 +3675,7 @@ func awsRestjson1_deserializeDocumentTurkeyAdditionalInfo(v **types.TurkeyAdditi } sv.TaxOffice = ptr.String(jtv) } + default: _, _ = key, value @@ -3597,6 +3715,7 @@ func awsRestjson1_deserializeDocumentUkraineAdditionalInfo(v **types.UkraineAddi } sv.UkraineTrnType = types.UkraineTrnType(jtv) } + default: _, _ = key, value @@ -3636,10 +3755,12 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.ErrorCode_ = types.ValidationExceptionErrorCode(jtv) } + case "fieldList": if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3648,6 +3769,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3687,6 +3809,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/textract/deserializers.go b/service/textract/deserializers.go index e37f201670c..5ec14e45a1c 100644 --- a/service/textract/deserializers.go +++ b/service/textract/deserializers.go @@ -4053,6 +4053,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4061,6 +4062,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4134,6 +4136,7 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } sv.AdapterId = ptr.String(jtv) } + case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4145,7 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } sv.AdapterName = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4157,10 +4161,12 @@ func awsAwsjson11_deserializeDocumentAdapterOverview(v **types.AdapterOverview, } } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + default: _, _ = key, value @@ -4196,6 +4202,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionDatasetConfig(v **types.Adapt if err := awsAwsjson11_deserializeDocumentS3Object(&sv.ManifestS3Object, value); err != nil { return err } + default: _, _ = key, value @@ -4231,10 +4238,12 @@ func awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetric(v **types.Ad if err := awsAwsjson11_deserializeDocumentEvaluationMetric(&sv.AdapterVersion, value); err != nil { return err } + case "Baseline": if err := awsAwsjson11_deserializeDocumentEvaluationMetric(&sv.Baseline, value); err != nil { return err } + case "FeatureType": if value != nil { jtv, ok := value.(string) @@ -4243,6 +4252,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetric(v **types.Ad } sv.FeatureType = types.FeatureType(jtv) } + default: _, _ = key, value @@ -4350,6 +4360,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.AdapterId = ptr.String(jtv) } + case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -4358,6 +4369,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.AdapterVersion = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4373,10 +4385,12 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4385,6 +4399,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.Status = types.AdapterVersionStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -4393,6 +4408,7 @@ func awsAwsjson11_deserializeDocumentAdapterVersionOverview(v **types.AdapterVer } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -4457,10 +4473,12 @@ func awsAwsjson11_deserializeDocumentAnalyzeIDDetections(v **types.AnalyzeIDDete } } + case "NormalizedValue": if err := awsAwsjson11_deserializeDocumentNormalizedValue(&sv.NormalizedValue, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -4469,6 +4487,7 @@ func awsAwsjson11_deserializeDocumentAnalyzeIDDetections(v **types.AnalyzeIDDete } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -4508,6 +4527,7 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4516,6 +4536,7 @@ func awsAwsjson11_deserializeDocumentBadDocumentException(v **types.BadDocumentE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4555,6 +4576,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.BlockType = types.BlockType(jtv) } + case "ColumnIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4567,6 +4589,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.ColumnIndex = ptr.Int32(int32(i64)) } + case "ColumnSpan": if value != nil { jtv, ok := value.(json.Number) @@ -4579,6 +4602,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.ColumnSpan = ptr.Int32(int32(i64)) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -4612,14 +4636,17 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } } + case "EntityTypes": if err := awsAwsjson11_deserializeDocumentEntityTypes(&sv.EntityTypes, value); err != nil { return err } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -4628,6 +4655,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Id = ptr.String(jtv) } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -4640,14 +4668,17 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Page = ptr.Int32(int32(i64)) } + case "Query": if err := awsAwsjson11_deserializeDocumentQuery(&sv.Query, value); err != nil { return err } + case "Relationships": if err := awsAwsjson11_deserializeDocumentRelationshipList(&sv.Relationships, value); err != nil { return err } + case "RowIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4660,6 +4691,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.RowIndex = ptr.Int32(int32(i64)) } + case "RowSpan": if value != nil { jtv, ok := value.(json.Number) @@ -4672,6 +4704,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.RowSpan = ptr.Int32(int32(i64)) } + case "SelectionStatus": if value != nil { jtv, ok := value.(string) @@ -4680,6 +4713,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.SelectionStatus = types.SelectionStatus(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -4688,6 +4722,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.Text = ptr.String(jtv) } + case "TextType": if value != nil { jtv, ok := value.(string) @@ -4696,6 +4731,7 @@ func awsAwsjson11_deserializeDocumentBlock(v **types.Block, value interface{}) e } sv.TextType = types.TextType(jtv) } + default: _, _ = key, value @@ -4794,6 +4830,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Left": if value != nil { switch jtv := value.(type) { @@ -4827,6 +4864,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Top": if value != nil { switch jtv := value.(type) { @@ -4860,6 +4898,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + case "Width": if value != nil { switch jtv := value.(type) { @@ -4893,6 +4932,7 @@ func awsAwsjson11_deserializeDocumentBoundingBox(v **types.BoundingBox, value in } } + default: _, _ = key, value @@ -4932,6 +4972,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4940,6 +4981,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4983,6 +5025,7 @@ func awsAwsjson11_deserializeDocumentDetectedSignature(v **types.DetectedSignatu } sv.Page = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5052,10 +5095,12 @@ func awsAwsjson11_deserializeDocumentDocumentGroup(v **types.DocumentGroup, valu if err := awsAwsjson11_deserializeDocumentDetectedSignatureList(&sv.DetectedSignatures, value); err != nil { return err } + case "SplitDocuments": if err := awsAwsjson11_deserializeDocumentSplitDocumentList(&sv.SplitDocuments, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5064,10 +5109,12 @@ func awsAwsjson11_deserializeDocumentDocumentGroup(v **types.DocumentGroup, valu } sv.Type = ptr.String(jtv) } + case "UndetectedSignatures": if err := awsAwsjson11_deserializeDocumentUndetectedSignatureList(&sv.UndetectedSignatures, value); err != nil { return err } + default: _, _ = key, value @@ -5145,6 +5192,7 @@ func awsAwsjson11_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Pages = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5184,6 +5232,7 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -5192,6 +5241,7 @@ func awsAwsjson11_deserializeDocumentDocumentTooLargeException(v **types.Documen } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5292,6 +5342,7 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } + case "Precision": if value != nil { switch jtv := value.(type) { @@ -5325,6 +5376,7 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } + case "Recall": if value != nil { switch jtv := value.(type) { @@ -5358,6 +5410,7 @@ func awsAwsjson11_deserializeDocumentEvaluationMetric(v **types.EvaluationMetric } } + default: _, _ = key, value @@ -5397,6 +5450,7 @@ func awsAwsjson11_deserializeDocumentExpenseCurrency(v **types.ExpenseCurrency, } sv.Code = ptr.String(jtv) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -5430,6 +5484,7 @@ func awsAwsjson11_deserializeDocumentExpenseCurrency(v **types.ExpenseCurrency, } } + default: _, _ = key, value @@ -5494,10 +5549,12 @@ func awsAwsjson11_deserializeDocumentExpenseDetection(v **types.ExpenseDetection } } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -5506,6 +5563,7 @@ func awsAwsjson11_deserializeDocumentExpenseDetection(v **types.ExpenseDetection } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -5541,6 +5599,7 @@ func awsAwsjson11_deserializeDocumentExpenseDocument(v **types.ExpenseDocument, if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "ExpenseIndex": if value != nil { jtv, ok := value.(json.Number) @@ -5553,14 +5612,17 @@ func awsAwsjson11_deserializeDocumentExpenseDocument(v **types.ExpenseDocument, } sv.ExpenseIndex = ptr.Int32(int32(i64)) } + case "LineItemGroups": if err := awsAwsjson11_deserializeDocumentLineItemGroupList(&sv.LineItemGroups, value); err != nil { return err } + case "SummaryFields": if err := awsAwsjson11_deserializeDocumentExpenseFieldList(&sv.SummaryFields, value); err != nil { return err } + default: _, _ = key, value @@ -5630,14 +5692,17 @@ func awsAwsjson11_deserializeDocumentExpenseField(v **types.ExpenseField, value if err := awsAwsjson11_deserializeDocumentExpenseCurrency(&sv.Currency, value); err != nil { return err } + case "GroupProperties": if err := awsAwsjson11_deserializeDocumentExpenseGroupPropertyList(&sv.GroupProperties, value); err != nil { return err } + case "LabelDetection": if err := awsAwsjson11_deserializeDocumentExpenseDetection(&sv.LabelDetection, value); err != nil { return err } + case "PageNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5650,14 +5715,17 @@ func awsAwsjson11_deserializeDocumentExpenseField(v **types.ExpenseField, value } sv.PageNumber = ptr.Int32(int32(i64)) } + case "Type": if err := awsAwsjson11_deserializeDocumentExpenseType(&sv.Type, value); err != nil { return err } + case "ValueDetection": if err := awsAwsjson11_deserializeDocumentExpenseDetection(&sv.ValueDetection, value); err != nil { return err } + default: _, _ = key, value @@ -5731,10 +5799,12 @@ func awsAwsjson11_deserializeDocumentExpenseGroupProperty(v **types.ExpenseGroup } sv.Id = ptr.String(jtv) } + case "Types": if err := awsAwsjson11_deserializeDocumentStringList(&sv.Types, value); err != nil { return err } + default: _, _ = key, value @@ -5833,6 +5903,7 @@ func awsAwsjson11_deserializeDocumentExpenseType(v **types.ExpenseType, value in } } + case "Text": if value != nil { jtv, ok := value.(string) @@ -5841,6 +5912,7 @@ func awsAwsjson11_deserializeDocumentExpenseType(v **types.ExpenseType, value in } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -5876,14 +5948,17 @@ func awsAwsjson11_deserializeDocumentExtraction(v **types.Extraction, value inte if err := awsAwsjson11_deserializeDocumentExpenseDocument(&sv.ExpenseDocument, value); err != nil { return err } + case "IdentityDocument": if err := awsAwsjson11_deserializeDocumentIdentityDocument(&sv.IdentityDocument, value); err != nil { return err } + case "LendingDocument": if err := awsAwsjson11_deserializeDocumentLendingDocument(&sv.LendingDocument, value); err != nil { return err } + default: _, _ = key, value @@ -5989,10 +6064,12 @@ func awsAwsjson11_deserializeDocumentGeometry(v **types.Geometry, value interfac if err := awsAwsjson11_deserializeDocumentBoundingBox(&sv.BoundingBox, value); err != nil { return err } + case "Polygon": if err := awsAwsjson11_deserializeDocumentPolygon(&sv.Polygon, value); err != nil { return err } + default: _, _ = key, value @@ -6032,10 +6109,12 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopActivationConditionsEvaluationResults = ptr.String(jtv) } + case "HumanLoopActivationReasons": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationReasons(&sv.HumanLoopActivationReasons, value); err != nil { return err } + case "HumanLoopArn": if value != nil { jtv, ok := value.(string) @@ -6044,6 +6123,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(v **types.HumanLo } sv.HumanLoopArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6119,6 +6199,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6127,6 +6208,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -6135,6 +6217,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.QuotaCode = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -6143,6 +6226,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -6151,6 +6235,7 @@ func awsAwsjson11_deserializeDocumentHumanLoopQuotaExceededException(v **types.H } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6190,6 +6275,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6198,6 +6284,7 @@ func awsAwsjson11_deserializeDocumentIdempotentParameterMismatchException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6233,6 +6320,7 @@ func awsAwsjson11_deserializeDocumentIdentityDocument(v **types.IdentityDocument if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "DocumentIndex": if value != nil { jtv, ok := value.(json.Number) @@ -6245,10 +6333,12 @@ func awsAwsjson11_deserializeDocumentIdentityDocument(v **types.IdentityDocument } sv.DocumentIndex = ptr.Int32(int32(i64)) } + case "IdentityDocumentFields": if err := awsAwsjson11_deserializeDocumentIdentityDocumentFieldList(&sv.IdentityDocumentFields, value); err != nil { return err } + default: _, _ = key, value @@ -6284,10 +6374,12 @@ func awsAwsjson11_deserializeDocumentIdentityDocumentField(v **types.IdentityDoc if err := awsAwsjson11_deserializeDocumentAnalyzeIDDetections(&sv.Type, value); err != nil { return err } + case "ValueDetection": if err := awsAwsjson11_deserializeDocumentAnalyzeIDDetections(&sv.ValueDetection, value); err != nil { return err } + default: _, _ = key, value @@ -6431,6 +6523,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6439,6 +6532,7 @@ func awsAwsjson11_deserializeDocumentInternalServerError(v **types.InternalServe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6478,6 +6572,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6486,6 +6581,7 @@ func awsAwsjson11_deserializeDocumentInvalidJobIdException(v **types.InvalidJobI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6525,6 +6621,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6533,6 +6630,7 @@ func awsAwsjson11_deserializeDocumentInvalidKMSKeyException(v **types.InvalidKMS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6572,6 +6670,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6580,6 +6679,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6619,6 +6719,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6627,6 +6728,7 @@ func awsAwsjson11_deserializeDocumentInvalidS3ObjectException(v **types.InvalidS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6691,10 +6793,12 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + case "SelectionStatus": if value != nil { jtv, ok := value.(string) @@ -6703,6 +6807,7 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } sv.SelectionStatus = types.SelectionStatus(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -6711,6 +6816,7 @@ func awsAwsjson11_deserializeDocumentLendingDetection(v **types.LendingDetection } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -6780,10 +6886,12 @@ func awsAwsjson11_deserializeDocumentLendingDocument(v **types.LendingDocument, if err := awsAwsjson11_deserializeDocumentLendingFieldList(&sv.LendingFields, value); err != nil { return err } + case "SignatureDetections": if err := awsAwsjson11_deserializeDocumentSignatureDetectionList(&sv.SignatureDetections, value); err != nil { return err } + default: _, _ = key, value @@ -6819,6 +6927,7 @@ func awsAwsjson11_deserializeDocumentLendingField(v **types.LendingField, value if err := awsAwsjson11_deserializeDocumentLendingDetection(&sv.KeyDetection, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6827,10 +6936,12 @@ func awsAwsjson11_deserializeDocumentLendingField(v **types.LendingField, value } sv.Type = ptr.String(jtv) } + case "ValueDetections": if err := awsAwsjson11_deserializeDocumentLendingDetectionList(&sv.ValueDetections, value); err != nil { return err } + default: _, _ = key, value @@ -6900,6 +7011,7 @@ func awsAwsjson11_deserializeDocumentLendingResult(v **types.LendingResult, valu if err := awsAwsjson11_deserializeDocumentExtractionList(&sv.Extractions, value); err != nil { return err } + case "Page": if value != nil { jtv, ok := value.(json.Number) @@ -6912,10 +7024,12 @@ func awsAwsjson11_deserializeDocumentLendingResult(v **types.LendingResult, valu } sv.Page = ptr.Int32(int32(i64)) } + case "PageClassification": if err := awsAwsjson11_deserializeDocumentPageClassification(&sv.PageClassification, value); err != nil { return err } + default: _, _ = key, value @@ -6985,10 +7099,12 @@ func awsAwsjson11_deserializeDocumentLendingSummary(v **types.LendingSummary, va if err := awsAwsjson11_deserializeDocumentDocumentGroupList(&sv.DocumentGroups, value); err != nil { return err } + case "UndetectedDocumentTypes": if err := awsAwsjson11_deserializeDocumentUndetectedDocumentTypeList(&sv.UndetectedDocumentTypes, value); err != nil { return err } + default: _, _ = key, value @@ -7028,6 +7144,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7036,6 +7153,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7071,6 +7189,7 @@ func awsAwsjson11_deserializeDocumentLineItemFields(v **types.LineItemFields, va if err := awsAwsjson11_deserializeDocumentExpenseFieldList(&sv.LineItemExpenseFields, value); err != nil { return err } + default: _, _ = key, value @@ -7114,10 +7233,12 @@ func awsAwsjson11_deserializeDocumentLineItemGroup(v **types.LineItemGroup, valu } sv.LineItemGroupIndex = ptr.Int32(int32(i64)) } + case "LineItems": if err := awsAwsjson11_deserializeDocumentLineItemList(&sv.LineItems, value); err != nil { return err } + default: _, _ = key, value @@ -7225,6 +7346,7 @@ func awsAwsjson11_deserializeDocumentNormalizedValue(v **types.NormalizedValue, } sv.Value = ptr.String(jtv) } + case "ValueType": if value != nil { jtv, ok := value.(string) @@ -7233,6 +7355,7 @@ func awsAwsjson11_deserializeDocumentNormalizedValue(v **types.NormalizedValue, } sv.ValueType = types.ValueType(jtv) } + default: _, _ = key, value @@ -7272,6 +7395,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Bucket = ptr.String(jtv) } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -7280,6 +7404,7 @@ func awsAwsjson11_deserializeDocumentOutputConfig(v **types.OutputConfig, value } sv.S3Prefix = ptr.String(jtv) } + default: _, _ = key, value @@ -7315,10 +7440,12 @@ func awsAwsjson11_deserializeDocumentPageClassification(v **types.PageClassifica if err := awsAwsjson11_deserializeDocumentPredictionList(&sv.PageNumber, value); err != nil { return err } + case "PageType": if err := awsAwsjson11_deserializeDocumentPredictionList(&sv.PageType, value); err != nil { return err } + default: _, _ = key, value @@ -7463,6 +7590,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + case "Y": if value != nil { switch jtv := value.(type) { @@ -7496,6 +7624,7 @@ func awsAwsjson11_deserializeDocumentPoint(v **types.Point, value interface{}) e } } + default: _, _ = key, value @@ -7594,6 +7723,7 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } } + case "Value": if value != nil { jtv, ok := value.(string) @@ -7602,6 +7732,7 @@ func awsAwsjson11_deserializeDocumentPrediction(v **types.Prediction, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -7675,6 +7806,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7683,6 +7815,7 @@ func awsAwsjson11_deserializeDocumentProvisionedThroughputExceededException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7722,10 +7855,12 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.Alias = ptr.String(jtv) } + case "Pages": if err := awsAwsjson11_deserializeDocumentQueryPages(&sv.Pages, value); err != nil { return err } + case "Text": if value != nil { jtv, ok := value.(string) @@ -7734,6 +7869,7 @@ func awsAwsjson11_deserializeDocumentQuery(v **types.Query, value interface{}) e } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -7805,6 +7941,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value if err := awsAwsjson11_deserializeDocumentIdList(&sv.Ids, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7813,6 +7950,7 @@ func awsAwsjson11_deserializeDocumentRelationship(v **types.Relationship, value } sv.Type = types.RelationshipType(jtv) } + default: _, _ = key, value @@ -7886,6 +8024,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7894,6 +8033,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7933,6 +8073,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Bucket = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7941,6 +8082,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Name = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -7949,6 +8091,7 @@ func awsAwsjson11_deserializeDocumentS3Object(v **types.S3Object, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -7988,6 +8131,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7996,6 +8140,7 @@ func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8060,10 +8205,12 @@ func awsAwsjson11_deserializeDocumentSignatureDetection(v **types.SignatureDetec } } + case "Geometry": if err := awsAwsjson11_deserializeDocumentGeometry(&sv.Geometry, value); err != nil { return err } + default: _, _ = key, value @@ -8141,10 +8288,12 @@ func awsAwsjson11_deserializeDocumentSplitDocument(v **types.SplitDocument, valu } sv.Index = ptr.Int32(int32(i64)) } + case "Pages": if err := awsAwsjson11_deserializeDocumentPageList(&sv.Pages, value); err != nil { return err } + default: _, _ = key, value @@ -8290,6 +8439,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8298,6 +8448,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8377,6 +8528,7 @@ func awsAwsjson11_deserializeDocumentUndetectedSignature(v **types.UndetectedSig } sv.Page = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8450,6 +8602,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8458,6 +8611,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDocumentException(v **types.Unsu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8497,6 +8651,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8505,6 +8660,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8544,10 +8700,12 @@ func awsAwsjson11_deserializeDocumentWarning(v **types.Warning, value interface{ } sv.ErrorCode = ptr.String(jtv) } + case "Pages": if err := awsAwsjson11_deserializeDocumentPages(&sv.Pages, value); err != nil { return err } + default: _, _ = key, value @@ -8621,18 +8779,22 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeDocumentOutput(v **AnalyzeDocument } sv.AnalyzeDocumentModelVersion = ptr.String(jtv) } + case "Blocks": if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "HumanLoopActivationOutput": if err := awsAwsjson11_deserializeDocumentHumanLoopActivationOutput(&sv.HumanLoopActivationOutput, value); err != nil { return err } + default: _, _ = key, value @@ -8668,10 +8830,12 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeExpenseOutput(v **AnalyzeExpenseOu if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "ExpenseDocuments": if err := awsAwsjson11_deserializeDocumentExpenseDocumentList(&sv.ExpenseDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -8711,14 +8875,17 @@ func awsAwsjson11_deserializeOpDocumentAnalyzeIDOutput(v **AnalyzeIDOutput, valu } sv.AnalyzeIDModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "IdentityDocuments": if err := awsAwsjson11_deserializeDocumentIdentityDocumentList(&sv.IdentityDocuments, value); err != nil { return err } + default: _, _ = key, value @@ -8758,6 +8925,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterOutput(v **CreateAdapterOutp } sv.AdapterId = ptr.String(jtv) } + default: _, _ = key, value @@ -8797,6 +8965,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterVersionOutput(v **CreateAdap } sv.AdapterId = ptr.String(jtv) } + case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -8805,6 +8974,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAdapterVersionOutput(v **CreateAdap } sv.AdapterVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -8902,6 +9072,7 @@ func awsAwsjson11_deserializeOpDocumentDetectDocumentTextOutput(v **DetectDocume if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "DetectDocumentTextModelVersion": if value != nil { jtv, ok := value.(string) @@ -8910,10 +9081,12 @@ func awsAwsjson11_deserializeOpDocumentDetectDocumentTextOutput(v **DetectDocume } sv.DetectDocumentTextModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -8953,6 +9126,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AdapterId = ptr.String(jtv) } + case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -8961,6 +9135,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AdapterName = ptr.String(jtv) } + case "AutoUpdate": if value != nil { jtv, ok := value.(string) @@ -8969,6 +9144,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.AutoUpdate = types.AutoUpdate(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8984,6 +9160,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8992,14 +9169,17 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterOutput(v **GetAdapterOutput, va } sv.Description = ptr.String(jtv) } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9039,6 +9219,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.AdapterId = ptr.String(jtv) } + case "AdapterVersion": if value != nil { jtv, ok := value.(string) @@ -9047,6 +9228,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.AdapterVersion = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9062,18 +9244,22 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } } + case "DatasetConfig": if err := awsAwsjson11_deserializeDocumentAdapterVersionDatasetConfig(&sv.DatasetConfig, value); err != nil { return err } + case "EvaluationMetrics": if err := awsAwsjson11_deserializeDocumentAdapterVersionEvaluationMetrics(&sv.EvaluationMetrics, value); err != nil { return err } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + case "KMSKeyId": if value != nil { jtv, ok := value.(string) @@ -9082,10 +9268,12 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.KMSKeyId = ptr.String(jtv) } + case "OutputConfig": if err := awsAwsjson11_deserializeDocumentOutputConfig(&sv.OutputConfig, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9094,6 +9282,7 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.Status = types.AdapterVersionStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9102,10 +9291,12 @@ func awsAwsjson11_deserializeOpDocumentGetAdapterVersionOutput(v **GetAdapterVer } sv.StatusMessage = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9145,14 +9336,17 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.AnalyzeDocumentModelVersion = ptr.String(jtv) } + case "Blocks": if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9161,6 +9355,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.JobStatus = types.JobStatus(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9169,6 +9364,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9177,10 +9373,12 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentAnalysisOutput(v **GetDocument } sv.StatusMessage = ptr.String(jtv) } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9216,6 +9414,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc if err := awsAwsjson11_deserializeDocumentBlockList(&sv.Blocks, value); err != nil { return err } + case "DetectDocumentTextModelVersion": if value != nil { jtv, ok := value.(string) @@ -9224,10 +9423,12 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.DetectDocumentTextModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9236,6 +9437,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.JobStatus = types.JobStatus(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9244,6 +9446,7 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9252,10 +9455,12 @@ func awsAwsjson11_deserializeOpDocumentGetDocumentTextDetectionOutput(v **GetDoc } sv.StatusMessage = ptr.String(jtv) } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9295,14 +9500,17 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.AnalyzeExpenseModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "ExpenseDocuments": if err := awsAwsjson11_deserializeDocumentExpenseDocumentList(&sv.ExpenseDocuments, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9311,6 +9519,7 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.JobStatus = types.JobStatus(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9319,6 +9528,7 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.NextToken = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9327,10 +9537,12 @@ func awsAwsjson11_deserializeOpDocumentGetExpenseAnalysisOutput(v **GetExpenseAn } sv.StatusMessage = ptr.String(jtv) } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9370,10 +9582,12 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.AnalyzeLendingModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9382,6 +9596,7 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.JobStatus = types.JobStatus(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9390,10 +9605,12 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.NextToken = ptr.String(jtv) } + case "Results": if err := awsAwsjson11_deserializeDocumentLendingResultList(&sv.Results, value); err != nil { return err } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9402,10 +9619,12 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisOutput(v **GetLendingAn } sv.StatusMessage = ptr.String(jtv) } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9445,10 +9664,12 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.AnalyzeLendingModelVersion = ptr.String(jtv) } + case "DocumentMetadata": if err := awsAwsjson11_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -9457,6 +9678,7 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.JobStatus = types.JobStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9465,14 +9687,17 @@ func awsAwsjson11_deserializeOpDocumentGetLendingAnalysisSummaryOutput(v **GetLe } sv.StatusMessage = ptr.String(jtv) } + case "Summary": if err := awsAwsjson11_deserializeDocumentLendingSummary(&sv.Summary, value); err != nil { return err } + case "Warnings": if err := awsAwsjson11_deserializeDocumentWarnings(&sv.Warnings, value); err != nil { return err } + default: _, _ = key, value @@ -9508,6 +9733,7 @@ func awsAwsjson11_deserializeOpDocumentListAdaptersOutput(v **ListAdaptersOutput if err := awsAwsjson11_deserializeDocumentAdapterList(&sv.Adapters, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9516,6 +9742,7 @@ func awsAwsjson11_deserializeOpDocumentListAdaptersOutput(v **ListAdaptersOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9551,6 +9778,7 @@ func awsAwsjson11_deserializeOpDocumentListAdapterVersionsOutput(v **ListAdapter if err := awsAwsjson11_deserializeDocumentAdapterVersionList(&sv.AdapterVersions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9559,6 +9787,7 @@ func awsAwsjson11_deserializeOpDocumentListAdapterVersionsOutput(v **ListAdapter } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -9594,6 +9823,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9633,6 +9863,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentAnalysisOutput(v **StartDocu } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -9672,6 +9903,7 @@ func awsAwsjson11_deserializeOpDocumentStartDocumentTextDetectionOutput(v **Star } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -9711,6 +9943,7 @@ func awsAwsjson11_deserializeOpDocumentStartExpenseAnalysisOutput(v **StartExpen } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -9750,6 +9983,7 @@ func awsAwsjson11_deserializeOpDocumentStartLendingAnalysisOutput(v **StartLendi } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -9851,6 +10085,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AdapterId = ptr.String(jtv) } + case "AdapterName": if value != nil { jtv, ok := value.(string) @@ -9859,6 +10094,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AdapterName = ptr.String(jtv) } + case "AutoUpdate": if value != nil { jtv, ok := value.(string) @@ -9867,6 +10103,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.AutoUpdate = types.AutoUpdate(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9882,6 +10119,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9890,10 +10128,12 @@ func awsAwsjson11_deserializeOpDocumentUpdateAdapterOutput(v **UpdateAdapterOutp } sv.Description = ptr.String(jtv) } + case "FeatureTypes": if err := awsAwsjson11_deserializeDocumentFeatureTypes(&sv.FeatureTypes, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/timestreaminfluxdb/deserializers.go b/service/timestreaminfluxdb/deserializers.go index 9f0f89da96f..91db618bf91 100644 --- a/service/timestreaminfluxdb/deserializers.go +++ b/service/timestreaminfluxdb/deserializers.go @@ -1596,6 +1596,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1635,6 +1636,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -1643,6 +1645,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -1651,6 +1654,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -1694,6 +1698,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -1702,6 +1707,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Arn = ptr.String(jtv) } + case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -1710,6 +1716,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DbInstanceType = types.DbInstanceType(jtv) } + case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -1718,6 +1725,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DbStorageType = types.DbStorageType(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -1726,6 +1734,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.DeploymentType = types.DeploymentType(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -1734,6 +1743,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1742,6 +1752,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1750,6 +1761,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -1762,6 +1774,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Port = ptr.Int32(int32(i64)) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1770,6 +1783,7 @@ func awsAwsjson10_deserializeDocumentDbInstanceSummary(v **types.DbInstanceSumma } sv.Status = types.Status(jtv) } + default: _, _ = key, value @@ -1843,6 +1857,7 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -1851,6 +1866,7 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1859,6 +1875,7 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1867,6 +1884,7 @@ func awsAwsjson10_deserializeDocumentDbParameterGroupSummary(v **types.DbParamet } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1940,6 +1958,7 @@ func awsAwsjson10_deserializeDocumentDuration(v **types.Duration, value interfac } sv.DurationType = types.DurationType(jtv) } + case "value": if value != nil { jtv, ok := value.(json.Number) @@ -1952,6 +1971,7 @@ func awsAwsjson10_deserializeDocumentDuration(v **types.Duration, value interfac } sv.Value = ptr.Int64(i64) } + default: _, _ = key, value @@ -1991,22 +2011,27 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.FluxLogEnabled = ptr.Bool(jtv) } + case "httpIdleTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpIdleTimeout, value); err != nil { return err } + case "httpReadHeaderTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpReadHeaderTimeout, value); err != nil { return err } + case "httpReadTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpReadTimeout, value); err != nil { return err } + case "httpWriteTimeout": if err := awsAwsjson10_deserializeDocumentDuration(&sv.HttpWriteTimeout, value); err != nil { return err } + case "influxqlMaxSelectBuckets": if value != nil { jtv, ok := value.(json.Number) @@ -2019,6 +2044,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectBuckets = ptr.Int64(i64) } + case "influxqlMaxSelectPoint": if value != nil { jtv, ok := value.(json.Number) @@ -2031,6 +2057,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectPoint = ptr.Int64(i64) } + case "influxqlMaxSelectSeries": if value != nil { jtv, ok := value.(json.Number) @@ -2043,6 +2070,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.InfluxqlMaxSelectSeries = ptr.Int64(i64) } + case "logLevel": if value != nil { jtv, ok := value.(string) @@ -2051,6 +2079,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.LogLevel = types.LogLevel(jtv) } + case "metricsDisabled": if value != nil { jtv, ok := value.(bool) @@ -2059,6 +2088,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.MetricsDisabled = ptr.Bool(jtv) } + case "noTasks": if value != nil { jtv, ok := value.(bool) @@ -2067,6 +2097,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.NoTasks = ptr.Bool(jtv) } + case "pprofDisabled": if value != nil { jtv, ok := value.(bool) @@ -2075,6 +2106,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.PprofDisabled = ptr.Bool(jtv) } + case "queryConcurrency": if value != nil { jtv, ok := value.(json.Number) @@ -2087,6 +2119,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryConcurrency = ptr.Int32(int32(i64)) } + case "queryInitialMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2099,6 +2132,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryInitialMemoryBytes = ptr.Int64(i64) } + case "queryMaxMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2111,6 +2145,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryMaxMemoryBytes = ptr.Int64(i64) } + case "queryMemoryBytes": if value != nil { jtv, ok := value.(json.Number) @@ -2123,6 +2158,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryMemoryBytes = ptr.Int64(i64) } + case "queryQueueSize": if value != nil { jtv, ok := value.(json.Number) @@ -2135,6 +2171,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.QueryQueueSize = ptr.Int32(int32(i64)) } + case "sessionLength": if value != nil { jtv, ok := value.(json.Number) @@ -2147,6 +2184,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.SessionLength = ptr.Int32(int32(i64)) } + case "sessionRenewDisabled": if value != nil { jtv, ok := value.(bool) @@ -2155,6 +2193,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.SessionRenewDisabled = ptr.Bool(jtv) } + case "storageCacheMaxMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -2167,6 +2206,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCacheMaxMemorySize = ptr.Int64(i64) } + case "storageCacheSnapshotMemorySize": if value != nil { jtv, ok := value.(json.Number) @@ -2179,14 +2219,17 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCacheSnapshotMemorySize = ptr.Int64(i64) } + case "storageCacheSnapshotWriteColdDuration": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageCacheSnapshotWriteColdDuration, value); err != nil { return err } + case "storageCompactFullWriteColdDuration": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageCompactFullWriteColdDuration, value); err != nil { return err } + case "storageCompactThroughputBurst": if value != nil { jtv, ok := value.(json.Number) @@ -2199,6 +2242,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageCompactThroughputBurst = ptr.Int64(i64) } + case "storageMaxConcurrentCompactions": if value != nil { jtv, ok := value.(json.Number) @@ -2211,6 +2255,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageMaxConcurrentCompactions = ptr.Int32(int32(i64)) } + case "storageMaxIndexLogFileSize": if value != nil { jtv, ok := value.(json.Number) @@ -2223,6 +2268,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageMaxIndexLogFileSize = ptr.Int64(i64) } + case "storageNoValidateFieldSize": if value != nil { jtv, ok := value.(bool) @@ -2231,10 +2277,12 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageNoValidateFieldSize = ptr.Bool(jtv) } + case "storageRetentionCheckInterval": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageRetentionCheckInterval, value); err != nil { return err } + case "storageSeriesFileMaxConcurrentSnapshotCompactions": if value != nil { jtv, ok := value.(json.Number) @@ -2247,6 +2295,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageSeriesFileMaxConcurrentSnapshotCompactions = ptr.Int32(int32(i64)) } + case "storageSeriesIdSetCacheSize": if value != nil { jtv, ok := value.(json.Number) @@ -2259,6 +2308,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageSeriesIdSetCacheSize = ptr.Int64(i64) } + case "storageWalMaxConcurrentWrites": if value != nil { jtv, ok := value.(json.Number) @@ -2271,10 +2321,12 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.StorageWalMaxConcurrentWrites = ptr.Int32(int32(i64)) } + case "storageWalMaxWriteDelay": if err := awsAwsjson10_deserializeDocumentDuration(&sv.StorageWalMaxWriteDelay, value); err != nil { return err } + case "tracingType": if value != nil { jtv, ok := value.(string) @@ -2283,6 +2335,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.TracingType = types.TracingType(jtv) } + case "uiDisabled": if value != nil { jtv, ok := value.(bool) @@ -2291,6 +2344,7 @@ func awsAwsjson10_deserializeDocumentInfluxDBv2Parameters(v **types.InfluxDBv2Pa } sv.UiDisabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2330,6 +2384,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2365,6 +2420,7 @@ func awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(v **types.LogDeliv if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -2444,6 +2500,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2452,6 +2509,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2460,6 +2518,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2535,6 +2594,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } + case "enabled": if value != nil { jtv, ok := value.(bool) @@ -2543,6 +2603,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.Enabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -2582,6 +2643,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2621,6 +2683,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -2633,6 +2696,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -2672,6 +2736,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -2680,6 +2745,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -2795,6 +2861,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2803,6 +2870,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -2811,6 +2879,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.AvailabilityZone = ptr.String(jtv) } + case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -2819,6 +2888,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } + case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -2827,6 +2897,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } + case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -2835,6 +2906,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -2843,6 +2915,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -2851,6 +2924,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2859,6 +2933,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Id = ptr.String(jtv) } + case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -2867,10 +2942,12 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } + case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2879,6 +2956,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -2891,6 +2969,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Port = ptr.Int32(int32(i64)) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -2899,6 +2978,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -2907,6 +2987,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2915,14 +2996,17 @@ func awsAwsjson10_deserializeOpDocumentCreateDbInstanceOutput(v **CreateDbInstan } sv.Status = types.Status(jtv) } + case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -2962,6 +3046,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2970,6 +3055,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2978,6 +3064,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2986,10 +3073,12 @@ func awsAwsjson10_deserializeOpDocumentCreateDbParameterGroupOutput(v **CreateDb } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsAwsjson10_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -3033,6 +3122,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3041,6 +3131,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3049,6 +3140,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.AvailabilityZone = ptr.String(jtv) } + case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3057,6 +3149,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } + case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3065,6 +3158,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } + case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3073,6 +3167,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3081,6 +3176,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3089,6 +3185,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3097,6 +3194,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Id = ptr.String(jtv) } + case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3105,10 +3203,12 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } + case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3117,6 +3217,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3129,6 +3230,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Port = ptr.Int32(int32(i64)) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3137,6 +3239,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3145,6 +3248,7 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3153,14 +3257,17 @@ func awsAwsjson10_deserializeOpDocumentDeleteDbInstanceOutput(v **DeleteDbInstan } sv.Status = types.Status(jtv) } + case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -3204,6 +3311,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3212,6 +3320,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3220,6 +3329,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.AvailabilityZone = ptr.String(jtv) } + case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3228,6 +3338,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbInstanceType = types.DbInstanceType(jtv) } + case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3236,6 +3347,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbParameterGroupIdentifier = ptr.String(jtv) } + case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3244,6 +3356,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DbStorageType = types.DbStorageType(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3252,6 +3365,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.DeploymentType = types.DeploymentType(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3260,6 +3374,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3268,6 +3383,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Id = ptr.String(jtv) } + case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3276,10 +3392,12 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } + case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3288,6 +3406,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3300,6 +3419,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Port = ptr.Int32(int32(i64)) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3308,6 +3428,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3316,6 +3437,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3324,14 +3446,17 @@ func awsAwsjson10_deserializeOpDocumentGetDbInstanceOutput(v **GetDbInstanceOutp } sv.Status = types.Status(jtv) } + case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } + default: _, _ = key, value @@ -3371,6 +3496,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Arn = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -3379,6 +3505,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3387,6 +3514,7 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3395,10 +3523,12 @@ func awsAwsjson10_deserializeOpDocumentGetDbParameterGroupOutput(v **GetDbParame } sv.Name = ptr.String(jtv) } + case "parameters": if err := awsAwsjson10_deserializeDocumentParameters(&sv.Parameters, value); err != nil { return err } + default: _, _ = key, value @@ -3434,6 +3564,7 @@ func awsAwsjson10_deserializeOpDocumentListDbInstancesOutput(v **ListDbInstances if err := awsAwsjson10_deserializeDocumentDbInstanceSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3442,6 +3573,7 @@ func awsAwsjson10_deserializeOpDocumentListDbInstancesOutput(v **ListDbInstances } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3477,6 +3609,7 @@ func awsAwsjson10_deserializeOpDocumentListDbParameterGroupsOutput(v **ListDbPar if err := awsAwsjson10_deserializeDocumentDbParameterGroupSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3485,6 +3618,7 @@ func awsAwsjson10_deserializeOpDocumentListDbParameterGroupsOutput(v **ListDbPar } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3520,6 +3654,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentResponseTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3563,6 +3698,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.AllocatedStorage = ptr.Int32(int32(i64)) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3571,6 +3707,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Arn = ptr.String(jtv) } + case "availabilityZone": if value != nil { jtv, ok := value.(string) @@ -3579,6 +3716,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.AvailabilityZone = ptr.String(jtv) } + case "dbInstanceType": if value != nil { jtv, ok := value.(string) @@ -3587,6 +3725,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbInstanceType = types.DbInstanceType(jtv) } + case "dbParameterGroupIdentifier": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3734,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbParameterGroupIdentifier = ptr.String(jtv) } + case "dbStorageType": if value != nil { jtv, ok := value.(string) @@ -3603,6 +3743,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DbStorageType = types.DbStorageType(jtv) } + case "deploymentType": if value != nil { jtv, ok := value.(string) @@ -3611,6 +3752,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.DeploymentType = types.DeploymentType(jtv) } + case "endpoint": if value != nil { jtv, ok := value.(string) @@ -3619,6 +3761,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Endpoint = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3627,6 +3770,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Id = ptr.String(jtv) } + case "influxAuthParametersSecretArn": if value != nil { jtv, ok := value.(string) @@ -3635,10 +3779,12 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.InfluxAuthParametersSecretArn = ptr.String(jtv) } + case "logDeliveryConfiguration": if err := awsAwsjson10_deserializeDocumentLogDeliveryConfiguration(&sv.LogDeliveryConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3647,6 +3793,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -3659,6 +3806,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Port = ptr.Int32(int32(i64)) } + case "publiclyAccessible": if value != nil { jtv, ok := value.(bool) @@ -3667,6 +3815,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.PubliclyAccessible = ptr.Bool(jtv) } + case "secondaryAvailabilityZone": if value != nil { jtv, ok := value.(string) @@ -3675,6 +3824,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.SecondaryAvailabilityZone = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3683,14 +3833,17 @@ func awsAwsjson10_deserializeOpDocumentUpdateDbInstanceOutput(v **UpdateDbInstan } sv.Status = types.Status(jtv) } + case "vpcSecurityGroupIds": if err := awsAwsjson10_deserializeDocumentVpcSecurityGroupIdList(&sv.VpcSecurityGroupIds, value); err != nil { return err } + case "vpcSubnetIds": if err := awsAwsjson10_deserializeDocumentVpcSubnetIdList(&sv.VpcSubnetIds, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/timestreamquery/deserializers.go b/service/timestreamquery/deserializers.go index 53d14477513..11abf1fd71c 100644 --- a/service/timestreamquery/deserializers.go +++ b/service/timestreamquery/deserializers.go @@ -2164,6 +2164,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2203,10 +2204,12 @@ func awsAwsjson10_deserializeDocumentColumnInfo(v **types.ColumnInfo, value inte } sv.Name = ptr.String(jtv) } + case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -2280,6 +2283,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2315,6 +2319,7 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e if err := awsAwsjson10_deserializeDocumentDatumList(&sv.ArrayValue, value); err != nil { return err } + case "NullValue": if value != nil { jtv, ok := value.(bool) @@ -2323,10 +2328,12 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.NullValue = ptr.Bool(jtv) } + case "RowValue": if err := awsAwsjson10_deserializeDocumentRow(&sv.RowValue, value); err != nil { return err } + case "ScalarValue": if value != nil { jtv, ok := value.(string) @@ -2335,10 +2342,12 @@ func awsAwsjson10_deserializeDocumentDatum(v **types.Datum, value interface{}) e } sv.ScalarValue = ptr.String(jtv) } + case "TimeSeriesValue": if err := awsAwsjson10_deserializeDocumentTimeSeriesDataPointList(&sv.TimeSeriesValue, value); err != nil { return err } + default: _, _ = key, value @@ -2412,6 +2421,7 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DimensionValueType = types.DimensionValueType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -2420,6 +2430,7 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -2493,6 +2504,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -2505,6 +2517,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } + default: _, _ = key, value @@ -2574,6 +2587,7 @@ func awsAwsjson10_deserializeDocumentErrorReportConfiguration(v **types.ErrorRep if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -2609,6 +2623,7 @@ func awsAwsjson10_deserializeDocumentErrorReportLocation(v **types.ErrorReportLo if err := awsAwsjson10_deserializeDocumentS3ReportLocation(&sv.S3ReportLocation, value); err != nil { return err } + default: _, _ = key, value @@ -2652,6 +2667,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.BytesMetered = i64 } + case "CumulativeBytesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -2664,6 +2680,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.CumulativeBytesScanned = i64 } + case "DataWrites": if value != nil { jtv, ok := value.(json.Number) @@ -2676,6 +2693,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.DataWrites = i64 } + case "ExecutionTimeInMillis": if value != nil { jtv, ok := value.(json.Number) @@ -2688,6 +2706,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.ExecutionTimeInMillis = i64 } + case "QueryResultRows": if value != nil { jtv, ok := value.(json.Number) @@ -2700,6 +2719,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.QueryResultRows = i64 } + case "RecordsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -2712,6 +2732,7 @@ func awsAwsjson10_deserializeDocumentExecutionStats(v **types.ExecutionStats, va } sv.RecordsIngested = i64 } + default: _, _ = key, value @@ -2751,6 +2772,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2790,6 +2812,7 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2829,6 +2852,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureName = ptr.String(jtv) } + case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -2837,10 +2861,12 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureValueType = types.MeasureValueType(jtv) } + case "MultiMeasureAttributeMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } + case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -2849,6 +2875,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.SourceColumn = ptr.String(jtv) } + case "TargetMeasureName": if value != nil { jtv, ok := value.(string) @@ -2857,6 +2884,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.TargetMeasureName = ptr.String(jtv) } + default: _, _ = key, value @@ -2930,6 +2958,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.ScalarMeasureValueType(jtv) } + case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -2938,6 +2967,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.SourceColumn = ptr.String(jtv) } + case "TargetMultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -2946,6 +2976,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.TargetMultiMeasureAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -3015,6 +3046,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } + case "TargetMultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -3023,6 +3055,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure } sv.TargetMultiMeasureName = ptr.String(jtv) } + default: _, _ = key, value @@ -3058,6 +3091,7 @@ func awsAwsjson10_deserializeDocumentNotificationConfiguration(v **types.Notific if err := awsAwsjson10_deserializeDocumentSnsConfiguration(&sv.SnsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -3097,10 +3131,12 @@ func awsAwsjson10_deserializeDocumentParameterMapping(v **types.ParameterMapping } sv.Name = ptr.String(jtv) } + case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -3210,6 +3246,7 @@ func awsAwsjson10_deserializeDocumentQueryExecutionException(v **types.QueryExec } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3253,6 +3290,7 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.OutputBytes = ptr.Int64(i64) } + case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -3265,10 +3303,12 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.OutputRows = ptr.Int64(i64) } + case "QuerySpatialCoverage": if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverage(&sv.QuerySpatialCoverage, value); err != nil { return err } + case "QueryTableCount": if value != nil { jtv, ok := value.(json.Number) @@ -3281,10 +3321,12 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.QueryTableCount = ptr.Int64(i64) } + case "QueryTemporalRange": if err := awsAwsjson10_deserializeDocumentQueryTemporalRange(&sv.QueryTemporalRange, value); err != nil { return err } + case "UnloadPartitionCount": if value != nil { jtv, ok := value.(json.Number) @@ -3297,6 +3339,7 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadPartitionCount = ptr.Int64(i64) } + case "UnloadWrittenBytes": if value != nil { jtv, ok := value.(json.Number) @@ -3309,6 +3352,7 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadWrittenBytes = ptr.Int64(i64) } + case "UnloadWrittenRows": if value != nil { jtv, ok := value.(json.Number) @@ -3321,6 +3365,7 @@ func awsAwsjson10_deserializeDocumentQueryInsightsResponse(v **types.QueryInsigh } sv.UnloadWrittenRows = ptr.Int64(i64) } + default: _, _ = key, value @@ -3356,6 +3401,7 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverage(v **types.QuerySpatial if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(&sv.Max, value); err != nil { return err } + default: _, _ = key, value @@ -3391,6 +3437,7 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.PartitionKey, value); err != nil { return err } + case "TableArn": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3446,7 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat } sv.TableArn = ptr.String(jtv) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -3432,6 +3480,7 @@ func awsAwsjson10_deserializeDocumentQuerySpatialCoverageMax(v **types.QuerySpat } } + default: _, _ = key, value @@ -3475,6 +3524,7 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } sv.CumulativeBytesMetered = i64 } + case "CumulativeBytesScanned": if value != nil { jtv, ok := value.(json.Number) @@ -3487,6 +3537,7 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } sv.CumulativeBytesScanned = i64 } + case "ProgressPercentage": if value != nil { switch jtv := value.(type) { @@ -3520,6 +3571,7 @@ func awsAwsjson10_deserializeDocumentQueryStatus(v **types.QueryStatus, value in } } + default: _, _ = key, value @@ -3555,6 +3607,7 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRange(v **types.QueryTemporalR if err := awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(&sv.Max, value); err != nil { return err } + default: _, _ = key, value @@ -3594,6 +3647,7 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(v **types.QueryTempor } sv.TableArn = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(json.Number) @@ -3606,6 +3660,7 @@ func awsAwsjson10_deserializeDocumentQueryTemporalRangeMax(v **types.QueryTempor } sv.Value = i64 } + default: _, _ = key, value @@ -3645,6 +3700,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ScheduledQueryArn": if value != nil { jtv, ok := value.(string) @@ -3653,6 +3709,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ScheduledQueryArn = ptr.String(jtv) } + default: _, _ = key, value @@ -3688,6 +3745,7 @@ func awsAwsjson10_deserializeDocumentRow(v **types.Row, value interface{}) error if err := awsAwsjson10_deserializeDocumentDatumList(&sv.Data, value); err != nil { return err } + default: _, _ = key, value @@ -3761,6 +3819,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } + case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -3769,6 +3828,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.EncryptionOption = types.S3EncryptionOption(jtv) } + case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -3777,6 +3837,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.ObjectKeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -3816,6 +3877,7 @@ func awsAwsjson10_deserializeDocumentS3ReportLocation(v **types.S3ReportLocation } sv.BucketName = ptr.String(jtv) } + case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3824,6 +3886,7 @@ func awsAwsjson10_deserializeDocumentS3ReportLocation(v **types.S3ReportLocation } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -3863,6 +3926,7 @@ func awsAwsjson10_deserializeDocumentScheduleConfiguration(v **types.ScheduleCon } sv.ScheduleExpression = ptr.String(jtv) } + default: _, _ = key, value @@ -3902,6 +3966,7 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3917,10 +3982,12 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } + case "ErrorReportConfiguration": if err := awsAwsjson10_deserializeDocumentErrorReportConfiguration(&sv.ErrorReportConfiguration, value); err != nil { return err } + case "LastRunStatus": if value != nil { jtv, ok := value.(string) @@ -3929,6 +3996,7 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.LastRunStatus = types.ScheduledQueryRunStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3937,6 +4005,7 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.Name = ptr.String(jtv) } + case "NextInvocationTime": if value != nil { switch jtv := value.(type) { @@ -3952,6 +4021,7 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } + case "PreviousInvocationTime": if value != nil { switch jtv := value.(type) { @@ -3967,6 +4037,7 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } } + case "State": if value != nil { jtv, ok := value.(string) @@ -3975,10 +4046,12 @@ func awsAwsjson10_deserializeDocumentScheduledQuery(v **types.ScheduledQuery, va } sv.State = types.ScheduledQueryState(jtv) } + case "TargetDestination": if err := awsAwsjson10_deserializeDocumentTargetDestination(&sv.TargetDestination, value); err != nil { return err } + default: _, _ = key, value @@ -4018,6 +4091,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4033,10 +4107,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } + case "ErrorReportConfiguration": if err := awsAwsjson10_deserializeDocumentErrorReportConfiguration(&sv.ErrorReportConfiguration, value); err != nil { return err } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4045,10 +4121,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.KmsKeyId = ptr.String(jtv) } + case "LastRunSummary": if err := awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(&sv.LastRunSummary, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4057,6 +4135,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.Name = ptr.String(jtv) } + case "NextInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4072,10 +4151,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } + case "NotificationConfiguration": if err := awsAwsjson10_deserializeDocumentNotificationConfiguration(&sv.NotificationConfiguration, value); err != nil { return err } + case "PreviousInvocationTime": if value != nil { switch jtv := value.(type) { @@ -4091,6 +4172,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -4099,14 +4181,17 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.QueryString = ptr.String(jtv) } + case "RecentlyFailedRuns": if err := awsAwsjson10_deserializeDocumentScheduledQueryRunSummaryList(&sv.RecentlyFailedRuns, value); err != nil { return err } + case "ScheduleConfiguration": if err := awsAwsjson10_deserializeDocumentScheduleConfiguration(&sv.ScheduleConfiguration, value); err != nil { return err } + case "ScheduledQueryExecutionRoleArn": if value != nil { jtv, ok := value.(string) @@ -4115,6 +4200,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.ScheduledQueryExecutionRoleArn = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -4123,10 +4209,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryDescription(v **types.Schedul } sv.State = types.ScheduledQueryState(jtv) } + case "TargetConfiguration": if err := awsAwsjson10_deserializeDocumentTargetConfiguration(&sv.TargetConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4170,6 +4258,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.OutputBytes = ptr.Int64(i64) } + case "OutputRows": if value != nil { jtv, ok := value.(json.Number) @@ -4182,10 +4271,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.OutputRows = ptr.Int64(i64) } + case "QuerySpatialCoverage": if err := awsAwsjson10_deserializeDocumentQuerySpatialCoverage(&sv.QuerySpatialCoverage, value); err != nil { return err } + case "QueryTableCount": if value != nil { jtv, ok := value.(json.Number) @@ -4198,10 +4289,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(v **types.Sc } sv.QueryTableCount = ptr.Int64(i64) } + case "QueryTemporalRange": if err := awsAwsjson10_deserializeDocumentQueryTemporalRange(&sv.QueryTemporalRange, value); err != nil { return err } + default: _, _ = key, value @@ -4271,10 +4364,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule if err := awsAwsjson10_deserializeDocumentErrorReportLocation(&sv.ErrorReportLocation, value); err != nil { return err } + case "ExecutionStats": if err := awsAwsjson10_deserializeDocumentExecutionStats(&sv.ExecutionStats, value); err != nil { return err } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -4283,6 +4378,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } sv.FailureReason = ptr.String(jtv) } + case "InvocationTime": if value != nil { switch jtv := value.(type) { @@ -4298,10 +4394,12 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } } + case "QueryInsightsResponse": if err := awsAwsjson10_deserializeDocumentScheduledQueryInsightsResponse(&sv.QueryInsightsResponse, value); err != nil { return err } + case "RunStatus": if value != nil { jtv, ok := value.(string) @@ -4310,6 +4408,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } sv.RunStatus = types.ScheduledQueryRunStatus(jtv) } + case "TriggerTime": if value != nil { switch jtv := value.(type) { @@ -4325,6 +4424,7 @@ func awsAwsjson10_deserializeDocumentScheduledQueryRunSummary(v **types.Schedule } } + default: _, _ = key, value @@ -4398,6 +4498,7 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.Aliased = ptr.Bool(jtv) } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4406,6 +4507,7 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.DatabaseName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4414,6 +4516,7 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.Name = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -4422,10 +4525,12 @@ func awsAwsjson10_deserializeDocumentSelectColumn(v **types.SelectColumn, value } sv.TableName = ptr.String(jtv) } + case "Type": if err := awsAwsjson10_deserializeDocumentType(&sv.Type, value); err != nil { return err } + default: _, _ = key, value @@ -4499,6 +4604,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4538,6 +4644,7 @@ func awsAwsjson10_deserializeDocumentSnsConfiguration(v **types.SnsConfiguration } sv.TopicArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4577,6 +4684,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4585,6 +4693,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4654,6 +4763,7 @@ func awsAwsjson10_deserializeDocumentTargetConfiguration(v **types.TargetConfigu if err := awsAwsjson10_deserializeDocumentTimestreamConfiguration(&sv.TimestreamConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -4689,6 +4799,7 @@ func awsAwsjson10_deserializeDocumentTargetDestination(v **types.TargetDestinati if err := awsAwsjson10_deserializeDocumentTimestreamDestination(&sv.TimestreamDestination, value); err != nil { return err } + default: _, _ = key, value @@ -4728,6 +4839,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4767,10 +4879,12 @@ func awsAwsjson10_deserializeDocumentTimeSeriesDataPoint(v **types.TimeSeriesDat } sv.Time = ptr.String(jtv) } + case "Value": if err := awsAwsjson10_deserializeDocumentDatum(&sv.Value, value); err != nil { return err } + default: _, _ = key, value @@ -4844,10 +4958,12 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.DatabaseName = ptr.String(jtv) } + case "DimensionMappings": if err := awsAwsjson10_deserializeDocumentDimensionMappingList(&sv.DimensionMappings, value); err != nil { return err } + case "MeasureNameColumn": if value != nil { jtv, ok := value.(string) @@ -4856,14 +4972,17 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.MeasureNameColumn = ptr.String(jtv) } + case "MixedMeasureMappings": if err := awsAwsjson10_deserializeDocumentMixedMeasureMappingList(&sv.MixedMeasureMappings, value); err != nil { return err } + case "MultiMeasureMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -4872,6 +4991,7 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.TableName = ptr.String(jtv) } + case "TimeColumn": if value != nil { jtv, ok := value.(string) @@ -4880,6 +5000,7 @@ func awsAwsjson10_deserializeDocumentTimestreamConfiguration(v **types.Timestrea } sv.TimeColumn = ptr.String(jtv) } + default: _, _ = key, value @@ -4919,6 +5040,7 @@ func awsAwsjson10_deserializeDocumentTimestreamDestination(v **types.TimestreamD } sv.DatabaseName = ptr.String(jtv) } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -4927,6 +5049,7 @@ func awsAwsjson10_deserializeDocumentTimestreamDestination(v **types.TimestreamD } sv.TableName = ptr.String(jtv) } + default: _, _ = key, value @@ -4962,10 +5085,12 @@ func awsAwsjson10_deserializeDocumentType(v **types.Type, value interface{}) err if err := awsAwsjson10_deserializeDocumentColumnInfo(&sv.ArrayColumnInfo, value); err != nil { return err } + case "RowColumnInfo": if err := awsAwsjson10_deserializeDocumentColumnInfoList(&sv.RowColumnInfo, value); err != nil { return err } + case "ScalarType": if value != nil { jtv, ok := value.(string) @@ -4974,10 +5099,12 @@ func awsAwsjson10_deserializeDocumentType(v **types.Type, value interface{}) err } sv.ScalarType = types.ScalarType(jtv) } + case "TimeSeriesMeasureValueColumnInfo": if err := awsAwsjson10_deserializeDocumentColumnInfo(&sv.TimeSeriesMeasureValueColumnInfo, value); err != nil { return err } + default: _, _ = key, value @@ -5017,6 +5144,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5056,6 +5184,7 @@ func awsAwsjson10_deserializeOpDocumentCancelQueryOutput(v **CancelQueryOutput, } sv.CancellationMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -5095,6 +5224,7 @@ func awsAwsjson10_deserializeOpDocumentCreateScheduledQueryOutput(v **CreateSche } sv.Arn = ptr.String(jtv) } + default: _, _ = key, value @@ -5138,6 +5268,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.MaxQueryTCU = ptr.Int32(int32(i64)) } + case "QueryPricingModel": if value != nil { jtv, ok := value.(string) @@ -5146,6 +5277,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeAccountSettingsOutput(v **Describ } sv.QueryPricingModel = types.QueryPricingModel(jtv) } + default: _, _ = key, value @@ -5181,6 +5313,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -5216,6 +5349,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeScheduledQueryOutput(v **Describe if err := awsAwsjson10_deserializeDocumentScheduledQueryDescription(&sv.ScheduledQuery, value); err != nil { return err } + default: _, _ = key, value @@ -5255,10 +5389,12 @@ func awsAwsjson10_deserializeOpDocumentListScheduledQueriesOutput(v **ListSchedu } sv.NextToken = ptr.String(jtv) } + case "ScheduledQueries": if err := awsAwsjson10_deserializeDocumentScheduledQueryList(&sv.ScheduledQueries, value); err != nil { return err } + default: _, _ = key, value @@ -5298,10 +5434,12 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5337,10 +5475,12 @@ func awsAwsjson10_deserializeOpDocumentPrepareQueryOutput(v **PrepareQueryOutput if err := awsAwsjson10_deserializeDocumentSelectColumnList(&sv.Columns, value); err != nil { return err } + case "Parameters": if err := awsAwsjson10_deserializeDocumentParameterMappingList(&sv.Parameters, value); err != nil { return err } + case "QueryString": if value != nil { jtv, ok := value.(string) @@ -5349,6 +5489,7 @@ func awsAwsjson10_deserializeOpDocumentPrepareQueryOutput(v **PrepareQueryOutput } sv.QueryString = ptr.String(jtv) } + default: _, _ = key, value @@ -5384,6 +5525,7 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf if err := awsAwsjson10_deserializeDocumentColumnInfoList(&sv.ColumnInfo, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5392,6 +5534,7 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.NextToken = ptr.String(jtv) } + case "QueryId": if value != nil { jtv, ok := value.(string) @@ -5400,18 +5543,22 @@ func awsAwsjson10_deserializeOpDocumentQueryOutput(v **QueryOutput, value interf } sv.QueryId = ptr.String(jtv) } + case "QueryInsightsResponse": if err := awsAwsjson10_deserializeDocumentQueryInsightsResponse(&sv.QueryInsightsResponse, value); err != nil { return err } + case "QueryStatus": if err := awsAwsjson10_deserializeDocumentQueryStatus(&sv.QueryStatus, value); err != nil { return err } + case "Rows": if err := awsAwsjson10_deserializeDocumentRowList(&sv.Rows, value); err != nil { return err } + default: _, _ = key, value @@ -5517,6 +5664,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.MaxQueryTCU = ptr.Int32(int32(i64)) } + case "QueryPricingModel": if value != nil { jtv, ok := value.(string) @@ -5525,6 +5673,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc } sv.QueryPricingModel = types.QueryPricingModel(jtv) } + default: _, _ = key, value diff --git a/service/timestreamwrite/deserializers.go b/service/timestreamwrite/deserializers.go index 8037eacfd47..fbf329e35cc 100644 --- a/service/timestreamwrite/deserializers.go +++ b/service/timestreamwrite/deserializers.go @@ -2716,6 +2716,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2759,6 +2760,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.BytesMetered = i64 } + case "FileFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2771,6 +2773,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.FileFailures = i64 } + case "ParseFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2783,6 +2786,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.ParseFailures = i64 } + case "RecordIngestionFailures": if value != nil { jtv, ok := value.(json.Number) @@ -2795,6 +2799,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordIngestionFailures = i64 } + case "RecordsIngested": if value != nil { jtv, ok := value.(json.Number) @@ -2807,6 +2812,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordsIngested = i64 } + case "RecordsProcessed": if value != nil { jtv, ok := value.(json.Number) @@ -2819,6 +2825,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadProgressReport(v **types.BatchLoad } sv.RecordsProcessed = i64 } + default: _, _ = key, value @@ -2865,6 +2872,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -2873,6 +2881,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.DatabaseName = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -2888,6 +2897,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } + case "ResumableUntil": if value != nil { switch jtv := value.(type) { @@ -2903,6 +2913,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -2911,6 +2922,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TableName = ptr.String(jtv) } + case "TaskId": if value != nil { jtv, ok := value.(string) @@ -2919,6 +2931,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TaskId = ptr.String(jtv) } + case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -2927,6 +2940,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTask(v **types.BatchLoadTask, valu } sv.TaskStatus = types.BatchLoadStatus(jtv) } + default: _, _ = key, value @@ -2973,14 +2987,17 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } + case "DataModelConfiguration": if err := awsAwsjson10_deserializeDocumentDataModelConfiguration(&sv.DataModelConfiguration, value); err != nil { return err } + case "DataSourceConfiguration": if err := awsAwsjson10_deserializeDocumentDataSourceConfiguration(&sv.DataSourceConfiguration, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -2989,6 +3006,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.ErrorMessage = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3004,10 +3022,12 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } + case "ProgressReport": if err := awsAwsjson10_deserializeDocumentBatchLoadProgressReport(&sv.ProgressReport, value); err != nil { return err } + case "RecordVersion": if value != nil { jtv, ok := value.(json.Number) @@ -3020,10 +3040,12 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.RecordVersion = i64 } + case "ReportConfiguration": if err := awsAwsjson10_deserializeDocumentReportConfiguration(&sv.ReportConfiguration, value); err != nil { return err } + case "ResumableUntil": if value != nil { switch jtv := value.(type) { @@ -3039,6 +3061,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } } + case "TargetDatabaseName": if value != nil { jtv, ok := value.(string) @@ -3047,6 +3070,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TargetDatabaseName = ptr.String(jtv) } + case "TargetTableName": if value != nil { jtv, ok := value.(string) @@ -3055,6 +3079,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TargetTableName = ptr.String(jtv) } + case "TaskId": if value != nil { jtv, ok := value.(string) @@ -3063,6 +3088,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TaskId = ptr.String(jtv) } + case "TaskStatus": if value != nil { jtv, ok := value.(string) @@ -3071,6 +3097,7 @@ func awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(v **types.BatchLoa } sv.TaskStatus = types.BatchLoadStatus(jtv) } + default: _, _ = key, value @@ -3144,6 +3171,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3183,6 +3211,7 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.ColumnSeparator = ptr.String(jtv) } + case "EscapeChar": if value != nil { jtv, ok := value.(string) @@ -3191,6 +3220,7 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.EscapeChar = ptr.String(jtv) } + case "NullValue": if value != nil { jtv, ok := value.(string) @@ -3199,6 +3229,7 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.NullValue = ptr.String(jtv) } + case "QuoteChar": if value != nil { jtv, ok := value.(string) @@ -3207,6 +3238,7 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.QuoteChar = ptr.String(jtv) } + case "TrimWhiteSpace": if value != nil { jtv, ok := value.(bool) @@ -3215,6 +3247,7 @@ func awsAwsjson10_deserializeDocumentCsvConfiguration(v **types.CsvConfiguration } sv.TrimWhiteSpace = ptr.Bool(jtv) } + default: _, _ = key, value @@ -3254,6 +3287,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -3269,6 +3303,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -3277,6 +3312,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.DatabaseName = ptr.String(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -3285,6 +3321,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.KmsKeyId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -3300,6 +3337,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } } + case "TableCount": if value != nil { jtv, ok := value.(json.Number) @@ -3312,6 +3350,7 @@ func awsAwsjson10_deserializeDocumentDatabase(v **types.Database, value interfac } sv.TableCount = i64 } + default: _, _ = key, value @@ -3381,6 +3420,7 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf if err := awsAwsjson10_deserializeDocumentDimensionMappings(&sv.DimensionMappings, value); err != nil { return err } + case "MeasureNameColumn": if value != nil { jtv, ok := value.(string) @@ -3389,14 +3429,17 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.MeasureNameColumn = ptr.String(jtv) } + case "MixedMeasureMappings": if err := awsAwsjson10_deserializeDocumentMixedMeasureMappingList(&sv.MixedMeasureMappings, value); err != nil { return err } + case "MultiMeasureMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureMappings(&sv.MultiMeasureMappings, value); err != nil { return err } + case "TimeColumn": if value != nil { jtv, ok := value.(string) @@ -3405,6 +3448,7 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.TimeColumn = ptr.String(jtv) } + case "TimeUnit": if value != nil { jtv, ok := value.(string) @@ -3413,6 +3457,7 @@ func awsAwsjson10_deserializeDocumentDataModel(v **types.DataModel, value interf } sv.TimeUnit = types.TimeUnit(jtv) } + default: _, _ = key, value @@ -3448,10 +3493,12 @@ func awsAwsjson10_deserializeDocumentDataModelConfiguration(v **types.DataModelC if err := awsAwsjson10_deserializeDocumentDataModel(&sv.DataModel, value); err != nil { return err } + case "DataModelS3Configuration": if err := awsAwsjson10_deserializeDocumentDataModelS3Configuration(&sv.DataModelS3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -3491,6 +3538,7 @@ func awsAwsjson10_deserializeDocumentDataModelS3Configuration(v **types.DataMode } sv.BucketName = ptr.String(jtv) } + case "ObjectKey": if value != nil { jtv, ok := value.(string) @@ -3499,6 +3547,7 @@ func awsAwsjson10_deserializeDocumentDataModelS3Configuration(v **types.DataMode } sv.ObjectKey = ptr.String(jtv) } + default: _, _ = key, value @@ -3534,6 +3583,7 @@ func awsAwsjson10_deserializeDocumentDataSourceConfiguration(v **types.DataSourc if err := awsAwsjson10_deserializeDocumentCsvConfiguration(&sv.CsvConfiguration, value); err != nil { return err } + case "DataFormat": if value != nil { jtv, ok := value.(string) @@ -3542,10 +3592,12 @@ func awsAwsjson10_deserializeDocumentDataSourceConfiguration(v **types.DataSourc } sv.DataFormat = types.BatchLoadDataFormat(jtv) } + case "DataSourceS3Configuration": if err := awsAwsjson10_deserializeDocumentDataSourceS3Configuration(&sv.DataSourceS3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -3585,6 +3637,7 @@ func awsAwsjson10_deserializeDocumentDataSourceS3Configuration(v **types.DataSou } sv.BucketName = ptr.String(jtv) } + case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -3593,6 +3646,7 @@ func awsAwsjson10_deserializeDocumentDataSourceS3Configuration(v **types.DataSou } sv.ObjectKeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -3632,6 +3686,7 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.DestinationColumn = ptr.String(jtv) } + case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -3640,6 +3695,7 @@ func awsAwsjson10_deserializeDocumentDimensionMapping(v **types.DimensionMapping } sv.SourceColumn = ptr.String(jtv) } + default: _, _ = key, value @@ -3713,6 +3769,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.Address = ptr.String(jtv) } + case "CachePeriodInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -3725,6 +3782,7 @@ func awsAwsjson10_deserializeDocumentEndpoint(v **types.Endpoint, value interfac } sv.CachePeriodInMinutes = i64 } + default: _, _ = key, value @@ -3798,6 +3856,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3837,6 +3896,7 @@ func awsAwsjson10_deserializeDocumentInvalidEndpointException(v **types.InvalidE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3872,6 +3932,7 @@ func awsAwsjson10_deserializeDocumentMagneticStoreRejectedDataLocation(v **types if err := awsAwsjson10_deserializeDocumentS3Configuration(&sv.S3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -3911,10 +3972,12 @@ func awsAwsjson10_deserializeDocumentMagneticStoreWriteProperties(v **types.Magn } sv.EnableMagneticStoreWrites = ptr.Bool(jtv) } + case "MagneticStoreRejectedDataLocation": if err := awsAwsjson10_deserializeDocumentMagneticStoreRejectedDataLocation(&sv.MagneticStoreRejectedDataLocation, value); err != nil { return err } + default: _, _ = key, value @@ -3954,6 +4017,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureName = ptr.String(jtv) } + case "MeasureValueType": if value != nil { jtv, ok := value.(string) @@ -3962,10 +4026,12 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.MeasureValueType = types.MeasureValueType(jtv) } + case "MultiMeasureAttributeMappings": if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } + case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -3974,6 +4040,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.SourceColumn = ptr.String(jtv) } + case "TargetMeasureName": if value != nil { jtv, ok := value.(string) @@ -3982,6 +4049,7 @@ func awsAwsjson10_deserializeDocumentMixedMeasureMapping(v **types.MixedMeasureM } sv.TargetMeasureName = ptr.String(jtv) } + default: _, _ = key, value @@ -4055,6 +4123,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.MeasureValueType = types.ScalarMeasureValueType(jtv) } + case "SourceColumn": if value != nil { jtv, ok := value.(string) @@ -4063,6 +4132,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.SourceColumn = ptr.String(jtv) } + case "TargetMultiMeasureAttributeName": if value != nil { jtv, ok := value.(string) @@ -4071,6 +4141,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureAttributeMapping(v **types.Mult } sv.TargetMultiMeasureAttributeName = ptr.String(jtv) } + default: _, _ = key, value @@ -4140,6 +4211,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure if err := awsAwsjson10_deserializeDocumentMultiMeasureAttributeMappingList(&sv.MultiMeasureAttributeMappings, value); err != nil { return err } + case "TargetMultiMeasureName": if value != nil { jtv, ok := value.(string) @@ -4148,6 +4220,7 @@ func awsAwsjson10_deserializeDocumentMultiMeasureMappings(v **types.MultiMeasure } sv.TargetMultiMeasureName = ptr.String(jtv) } + default: _, _ = key, value @@ -4187,6 +4260,7 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.EnforcementInRecord = types.PartitionKeyEnforcementLevel(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4195,6 +4269,7 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -4203,6 +4278,7 @@ func awsAwsjson10_deserializeDocumentPartitionKey(v **types.PartitionKey, value } sv.Type = types.PartitionKeyType(jtv) } + default: _, _ = key, value @@ -4280,6 +4356,7 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.MagneticStore = int32(i64) } + case "MemoryStore": if value != nil { jtv, ok := value.(json.Number) @@ -4292,6 +4369,7 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.MemoryStore = int32(i64) } + case "Total": if value != nil { jtv, ok := value.(json.Number) @@ -4304,6 +4382,7 @@ func awsAwsjson10_deserializeDocumentRecordsIngested(v **types.RecordsIngested, } sv.Total = int32(i64) } + default: _, _ = key, value @@ -4347,6 +4426,7 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.ExistingVersion = ptr.Int64(i64) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -4355,6 +4435,7 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.Reason = ptr.String(jtv) } + case "RecordIndex": if value != nil { jtv, ok := value.(json.Number) @@ -4367,6 +4448,7 @@ func awsAwsjson10_deserializeDocumentRejectedRecord(v **types.RejectedRecord, va } sv.RecordIndex = int32(i64) } + default: _, _ = key, value @@ -4440,10 +4522,12 @@ func awsAwsjson10_deserializeDocumentRejectedRecordsException(v **types.Rejected } sv.Message = ptr.String(jtv) } + case "RejectedRecords": if err := awsAwsjson10_deserializeDocumentRejectedRecords(&sv.RejectedRecords, value); err != nil { return err } + default: _, _ = key, value @@ -4479,6 +4563,7 @@ func awsAwsjson10_deserializeDocumentReportConfiguration(v **types.ReportConfigu if err := awsAwsjson10_deserializeDocumentReportS3Configuration(&sv.ReportS3Configuration, value); err != nil { return err } + default: _, _ = key, value @@ -4518,6 +4603,7 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.BucketName = ptr.String(jtv) } + case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -4526,6 +4612,7 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.EncryptionOption = types.S3EncryptionOption(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4534,6 +4621,7 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.KmsKeyId = ptr.String(jtv) } + case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4542,6 +4630,7 @@ func awsAwsjson10_deserializeDocumentReportS3Configuration(v **types.ReportS3Con } sv.ObjectKeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4581,6 +4670,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4624,6 +4714,7 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp } sv.MagneticStoreRetentionPeriodInDays = ptr.Int64(i64) } + case "MemoryStoreRetentionPeriodInHours": if value != nil { jtv, ok := value.(json.Number) @@ -4636,6 +4727,7 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp } sv.MemoryStoreRetentionPeriodInHours = ptr.Int64(i64) } + default: _, _ = key, value @@ -4675,6 +4767,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.BucketName = ptr.String(jtv) } + case "EncryptionOption": if value != nil { jtv, ok := value.(string) @@ -4683,6 +4776,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.EncryptionOption = types.S3EncryptionOption(jtv) } + case "KmsKeyId": if value != nil { jtv, ok := value.(string) @@ -4691,6 +4785,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.KmsKeyId = ptr.String(jtv) } + case "ObjectKeyPrefix": if value != nil { jtv, ok := value.(string) @@ -4699,6 +4794,7 @@ func awsAwsjson10_deserializeDocumentS3Configuration(v **types.S3Configuration, } sv.ObjectKeyPrefix = ptr.String(jtv) } + default: _, _ = key, value @@ -4734,6 +4830,7 @@ func awsAwsjson10_deserializeDocumentSchema(v **types.Schema, value interface{}) if err := awsAwsjson10_deserializeDocumentPartitionKeyList(&sv.CompositePartitionKey, value); err != nil { return err } + default: _, _ = key, value @@ -4773,6 +4870,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4812,6 +4910,7 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.Arn = ptr.String(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -4827,6 +4926,7 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "DatabaseName": if value != nil { jtv, ok := value.(string) @@ -4835,6 +4935,7 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.DatabaseName = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -4850,18 +4951,22 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } } + case "MagneticStoreWriteProperties": if err := awsAwsjson10_deserializeDocumentMagneticStoreWriteProperties(&sv.MagneticStoreWriteProperties, value); err != nil { return err } + case "RetentionProperties": if err := awsAwsjson10_deserializeDocumentRetentionProperties(&sv.RetentionProperties, value); err != nil { return err } + case "Schema": if err := awsAwsjson10_deserializeDocumentSchema(&sv.Schema, value); err != nil { return err } + case "TableName": if value != nil { jtv, ok := value.(string) @@ -4870,6 +4975,7 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableName = ptr.String(jtv) } + case "TableStatus": if value != nil { jtv, ok := value.(string) @@ -4878,6 +4984,7 @@ func awsAwsjson10_deserializeDocumentTable(v **types.Table, value interface{}) e } sv.TableStatus = types.TableStatus(jtv) } + default: _, _ = key, value @@ -4951,6 +5058,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4959,6 +5067,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -5032,6 +5141,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5071,6 +5181,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5110,6 +5221,7 @@ func awsAwsjson10_deserializeOpDocumentCreateBatchLoadTaskOutput(v **CreateBatch } sv.TaskId = ptr.String(jtv) } + default: _, _ = key, value @@ -5145,6 +5257,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDatabaseOutput(v **CreateDatabaseOu if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + default: _, _ = key, value @@ -5180,6 +5293,7 @@ func awsAwsjson10_deserializeOpDocumentCreateTableOutput(v **CreateTableOutput, if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -5215,6 +5329,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeBatchLoadTaskOutput(v **DescribeB if err := awsAwsjson10_deserializeDocumentBatchLoadTaskDescription(&sv.BatchLoadTaskDescription, value); err != nil { return err } + default: _, _ = key, value @@ -5250,6 +5365,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDatabaseOutput(v **DescribeDataba if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + default: _, _ = key, value @@ -5285,6 +5401,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeEndpointsOutput(v **DescribeEndpo if err := awsAwsjson10_deserializeDocumentEndpoints(&sv.Endpoints, value); err != nil { return err } + default: _, _ = key, value @@ -5320,6 +5437,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeTableOutput(v **DescribeTableOutp if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -5355,6 +5473,7 @@ func awsAwsjson10_deserializeOpDocumentListBatchLoadTasksOutput(v **ListBatchLoa if err := awsAwsjson10_deserializeDocumentBatchLoadTaskList(&sv.BatchLoadTasks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5363,6 +5482,7 @@ func awsAwsjson10_deserializeOpDocumentListBatchLoadTasksOutput(v **ListBatchLoa } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5398,6 +5518,7 @@ func awsAwsjson10_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp if err := awsAwsjson10_deserializeDocumentDatabaseList(&sv.Databases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5406,6 +5527,7 @@ func awsAwsjson10_deserializeOpDocumentListDatabasesOutput(v **ListDatabasesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5445,10 +5567,12 @@ func awsAwsjson10_deserializeOpDocumentListTablesOutput(v **ListTablesOutput, va } sv.NextToken = ptr.String(jtv) } + case "Tables": if err := awsAwsjson10_deserializeDocumentTableList(&sv.Tables, value); err != nil { return err } + default: _, _ = key, value @@ -5484,6 +5608,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5612,6 +5737,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDatabaseOutput(v **UpdateDatabaseOu if err := awsAwsjson10_deserializeDocumentDatabase(&sv.Database, value); err != nil { return err } + default: _, _ = key, value @@ -5647,6 +5773,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateTableOutput(v **UpdateTableOutput, if err := awsAwsjson10_deserializeDocumentTable(&sv.Table, value); err != nil { return err } + default: _, _ = key, value @@ -5682,6 +5809,7 @@ func awsAwsjson10_deserializeOpDocumentWriteRecordsOutput(v **WriteRecordsOutput if err := awsAwsjson10_deserializeDocumentRecordsIngested(&sv.RecordsIngested, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/tnb/deserializers.go b/service/tnb/deserializers.go index e155037523d..db12c99d866 100644 --- a/service/tnb/deserializers.go +++ b/service/tnb/deserializers.go @@ -296,6 +296,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -304,6 +305,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.Id = ptr.String(jtv) } + case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -312,6 +314,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.OnboardingState = types.OnboardingState(jtv) } + case "operationalState": if value != nil { jtv, ok := value.(string) @@ -320,10 +323,12 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.OperationalState = types.OperationalState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "usageState": if value != nil { jtv, ok := value.(string) @@ -332,6 +337,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolFunctionPackageOutput(v **Create } sv.UsageState = types.UsageState(jtv) } + default: _, _ = key, value @@ -502,6 +508,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -510,6 +517,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.Id = ptr.String(jtv) } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -518,6 +526,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.NsdInfoId = ptr.String(jtv) } + case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -526,10 +535,12 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkInstanceOutput(v **Create } sv.NsInstanceName = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -697,6 +708,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -705,6 +717,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.Id = ptr.String(jtv) } + case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -713,6 +726,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } + case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -721,6 +735,7 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdOperationalState = types.NsdOperationalState(jtv) } + case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -729,10 +744,12 @@ func awsRestjson1_deserializeOpDocumentCreateSolNetworkPackageOutput(v **CreateS } sv.NsdUsageState = types.NsdUsageState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -1218,6 +1235,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1226,10 +1244,12 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.Id = ptr.String(jtv) } + case "instantiatedVnfInfo": if err := awsRestjson1_deserializeDocumentGetSolVnfInfo(&sv.InstantiatedVnfInfo, value); err != nil { return err } + case "instantiationState": if value != nil { jtv, ok := value.(string) @@ -1238,10 +1258,12 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.InstantiationState = types.VnfInstantiationState(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(&sv.Metadata, value); err != nil { return err } + case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -1250,10 +1272,12 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.NsInstanceId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -1262,6 +1286,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfdId = ptr.String(jtv) } + case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -1270,6 +1295,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfdVersion = ptr.String(jtv) } + case "vnfPkgId": if value != nil { jtv, ok := value.(string) @@ -1278,6 +1304,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfPkgId = ptr.String(jtv) } + case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -1286,6 +1313,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfProductName = ptr.String(jtv) } + case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -1294,6 +1322,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionInstanceOutput(v **GetSolFu } sv.VnfProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -1461,6 +1490,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1469,10 +1499,12 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(&sv.Metadata, value); err != nil { return err } + case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -1481,6 +1513,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.OnboardingState = types.OnboardingState(jtv) } + case "operationalState": if value != nil { jtv, ok := value.(string) @@ -1489,10 +1522,12 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.OperationalState = types.OperationalState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "usageState": if value != nil { jtv, ok := value.(string) @@ -1501,6 +1536,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.UsageState = types.UsageState(jtv) } + case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -1509,6 +1545,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfdId = ptr.String(jtv) } + case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -1517,6 +1554,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfdVersion = ptr.String(jtv) } + case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -1525,6 +1563,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfProductName = ptr.String(jtv) } + case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -1533,6 +1572,7 @@ func awsRestjson1_deserializeOpDocumentGetSolFunctionPackageOutput(v **GetSolFun } sv.VnfProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -1988,6 +2028,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1996,14 +2037,17 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.Id = ptr.String(jtv) } + case "lcmOpInfo": if err := awsRestjson1_deserializeDocumentLcmOperationInfo(&sv.LcmOpInfo, value); err != nil { return err } + case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -2012,6 +2056,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsdId = ptr.String(jtv) } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -2020,6 +2065,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsdInfoId = ptr.String(jtv) } + case "nsInstanceDescription": if value != nil { jtv, ok := value.(string) @@ -2028,6 +2074,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsInstanceDescription = ptr.String(jtv) } + case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -2036,6 +2083,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsInstanceName = ptr.String(jtv) } + case "nsState": if value != nil { jtv, ok := value.(string) @@ -2044,10 +2092,12 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkInstanceOutput(v **GetSolNet } sv.NsState = types.NsState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2215,10 +2265,12 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.Arn = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentProblemDetails(&sv.Error, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -2227,6 +2279,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.Id = ptr.String(jtv) } + case "lcmOperationType": if value != nil { jtv, ok := value.(string) @@ -2235,10 +2288,12 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.LcmOperationType = types.LcmOperationType(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(&sv.Metadata, value); err != nil { return err } + case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -2247,6 +2302,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.NsInstanceId = ptr.String(jtv) } + case "operationState": if value != nil { jtv, ok := value.(string) @@ -2255,14 +2311,17 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.OperationState = types.NsLcmOperationState(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "tasks": if err := awsRestjson1_deserializeDocumentGetSolNetworkOperationTasksList(&sv.Tasks, value); err != nil { return err } + case "updateType": if value != nil { jtv, ok := value.(string) @@ -2271,6 +2330,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkOperationOutput(v **GetSolNe } sv.UpdateType = types.UpdateSolNetworkType(jtv) } + default: _, _ = key, value @@ -2438,6 +2498,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2446,10 +2507,12 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -2458,6 +2521,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdId = ptr.String(jtv) } + case "nsdName": if value != nil { jtv, ok := value.(string) @@ -2466,6 +2530,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdName = ptr.String(jtv) } + case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -2474,6 +2539,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } + case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -2482,6 +2548,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdOperationalState = types.NsdOperationalState(jtv) } + case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -2490,6 +2557,7 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdUsageState = types.NsdUsageState(jtv) } + case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -2498,14 +2566,17 @@ func awsRestjson1_deserializeOpDocumentGetSolNetworkPackageOutput(v **GetSolNetw } sv.NsdVersion = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } + default: _, _ = key, value @@ -2964,10 +3035,12 @@ func awsRestjson1_deserializeOpDocumentInstantiateSolNetworkInstanceOutput(v **I } sv.NsLcmOpOccId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3128,6 +3201,7 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionInstancesOutput(v **ListSo if err := awsRestjson1_deserializeDocumentListSolFunctionInstanceResources(&sv.FunctionInstances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3136,6 +3210,7 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionInstancesOutput(v **ListSo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3296,6 +3371,7 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionPackagesOutput(v **ListSol if err := awsRestjson1_deserializeDocumentListSolFunctionPackageResources(&sv.FunctionPackages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3304,6 +3380,7 @@ func awsRestjson1_deserializeOpDocumentListSolFunctionPackagesOutput(v **ListSol } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3464,6 +3541,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkInstancesOutput(v **ListSol if err := awsRestjson1_deserializeDocumentListSolNetworkInstanceResources(&sv.NetworkInstances, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3472,6 +3550,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkInstancesOutput(v **ListSol } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3632,6 +3711,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkOperationsOutput(v **ListSo if err := awsRestjson1_deserializeDocumentListSolNetworkOperationsResources(&sv.NetworkOperations, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3640,6 +3720,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkOperationsOutput(v **ListSo } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3800,6 +3881,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkPackagesOutput(v **ListSolN if err := awsRestjson1_deserializeDocumentListSolNetworkPackageResources(&sv.NetworkPackages, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3808,6 +3890,7 @@ func awsRestjson1_deserializeOpDocumentListSolNetworkPackagesOutput(v **ListSolN } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3971,6 +4054,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4138,10 +4222,12 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentPutSolFunctionPackageContentMetadata(&sv.Metadata, value); err != nil { return err } + case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -4150,6 +4236,7 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfdId = ptr.String(jtv) } + case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -4158,6 +4245,7 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfdVersion = ptr.String(jtv) } + case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -4166,6 +4254,7 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfProductName = ptr.String(jtv) } + case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -4174,6 +4263,7 @@ func awsRestjson1_deserializeOpDocumentPutSolFunctionPackageContentOutput(v **Pu } sv.VnfProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -4341,6 +4431,7 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4349,10 +4440,12 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentPutSolNetworkPackageContentMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -4361,6 +4454,7 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdId = ptr.String(jtv) } + case "nsdName": if value != nil { jtv, ok := value.(string) @@ -4369,6 +4463,7 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdName = ptr.String(jtv) } + case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -4377,10 +4472,12 @@ func awsRestjson1_deserializeOpDocumentPutSolNetworkPackageContentOutput(v **Put } sv.NsdVersion = ptr.String(jtv) } + case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } + default: _, _ = key, value @@ -4651,10 +4748,12 @@ func awsRestjson1_deserializeOpDocumentTerminateSolNetworkInstanceOutput(v **Ter } sv.NsLcmOpOccId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4922,6 +5021,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSolFunctionPackageOutput(v **Update } sv.OperationalState = types.OperationalState(jtv) } + default: _, _ = key, value @@ -5092,10 +5192,12 @@ func awsRestjson1_deserializeOpDocumentUpdateSolNetworkInstanceOutput(v **Update } sv.NsLcmOpOccId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5263,6 +5365,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSolNetworkPackageOutput(v **UpdateS } sv.NsdOperationalState = types.NsdOperationalState(jtv) } + default: _, _ = key, value @@ -5430,10 +5533,12 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentValidateSolFunctionPackageContentMetadata(&sv.Metadata, value); err != nil { return err } + case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -5442,6 +5547,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfdId = ptr.String(jtv) } + case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -5450,6 +5556,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfdVersion = ptr.String(jtv) } + case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -5458,6 +5565,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfProductName = ptr.String(jtv) } + case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -5466,6 +5574,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolFunctionPackageContentOutput(v } sv.VnfProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -5633,6 +5742,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5641,10 +5751,12 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentValidateSolNetworkPackageContentMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -5653,6 +5765,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdId = ptr.String(jtv) } + case "nsdName": if value != nil { jtv, ok := value.(string) @@ -5661,6 +5774,7 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdName = ptr.String(jtv) } + case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -5669,10 +5783,12 @@ func awsRestjson1_deserializeOpDocumentValidateSolNetworkPackageContentOutput(v } sv.NsdVersion = ptr.String(jtv) } + case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } + default: _, _ = key, value @@ -5928,6 +6044,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5967,6 +6084,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Cause = ptr.String(jtv) } + case "details": if value != nil { jtv, ok := value.(string) @@ -5975,6 +6093,7 @@ func awsRestjson1_deserializeDocumentErrorInfo(v **types.ErrorInfo, value interf } sv.Details = ptr.String(jtv) } + default: _, _ = key, value @@ -6010,6 +6129,7 @@ func awsRestjson1_deserializeDocumentFunctionArtifactMeta(v **types.FunctionArti if err := awsRestjson1_deserializeDocumentOverrideList(&sv.Overrides, value); err != nil { return err } + default: _, _ = key, value @@ -6053,6 +6173,7 @@ func awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(v **types.Ge } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6065,6 +6186,7 @@ func awsRestjson1_deserializeDocumentGetSolFunctionInstanceMetadata(v **types.Ge } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -6108,6 +6230,7 @@ func awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(v **types.Get } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6120,10 +6243,12 @@ func awsRestjson1_deserializeDocumentGetSolFunctionPackageMetadata(v **types.Get } sv.LastModified = ptr.Time(t) } + case "vnfd": if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } + default: _, _ = key, value @@ -6163,6 +6288,7 @@ func awsRestjson1_deserializeDocumentGetSolInstantiatedVnfInfo(v **types.GetSolI } sv.VnfState = types.VnfOperationalState(jtv) } + default: _, _ = key, value @@ -6206,6 +6332,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(v **types.Get } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6218,6 +6345,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkInstanceMetadata(v **types.Get } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -6261,10 +6389,12 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(v **types.Ge } sv.CreatedAt = ptr.Time(t) } + case "instantiateMetadata": if err := awsRestjson1_deserializeDocumentInstantiateMetadata(&sv.InstantiateMetadata, value); err != nil { return err } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6277,14 +6407,17 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationMetadata(v **types.Ge } sv.LastModified = ptr.Time(t) } + case "modifyVnfInfoMetadata": if err := awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(&sv.ModifyVnfInfoMetadata, value); err != nil { return err } + case "updateNsMetadata": if err := awsRestjson1_deserializeDocumentUpdateNsMetadata(&sv.UpdateNsMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -6320,6 +6453,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types if err := awsRestjson1_deserializeDocumentStringMap(&sv.TaskContext, value); err != nil { return err } + case "taskEndTime": if value != nil { jtv, ok := value.(string) @@ -6332,10 +6466,12 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskEndTime = ptr.Time(t) } + case "taskErrorDetails": if err := awsRestjson1_deserializeDocumentErrorInfo(&sv.TaskErrorDetails, value); err != nil { return err } + case "taskName": if value != nil { jtv, ok := value.(string) @@ -6344,6 +6480,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskName = ptr.String(jtv) } + case "taskStartTime": if value != nil { jtv, ok := value.(string) @@ -6356,6 +6493,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskStartTime = ptr.Time(t) } + case "taskStatus": if value != nil { jtv, ok := value.(string) @@ -6364,6 +6502,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkOperationTaskDetails(v **types } sv.TaskStatus = types.TaskStatus(jtv) } + default: _, _ = key, value @@ -6441,6 +6580,7 @@ func awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(v **types.GetS } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6453,10 +6593,12 @@ func awsRestjson1_deserializeDocumentGetSolNetworkPackageMetadata(v **types.GetS } sv.LastModified = ptr.Time(t) } + case "nsd": if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } + default: _, _ = key, value @@ -6492,6 +6634,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfo(v **types.GetSolVnfc if err := awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -6565,6 +6708,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.Cluster = ptr.String(jtv) } + case "helmChart": if value != nil { jtv, ok := value.(string) @@ -6573,6 +6717,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.HelmChart = ptr.String(jtv) } + case "nodeGroup": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6726,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoMetadata(v **types.Ge } sv.NodeGroup = ptr.String(jtv) } + default: _, _ = key, value @@ -6616,6 +6762,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfInfo(v **types.GetSolVnfInfo, valu if err := awsRestjson1_deserializeDocumentGetSolVnfcResourceInfoList(&sv.VnfcResourceInfo, value); err != nil { return err } + case "vnfState": if value != nil { jtv, ok := value.(string) @@ -6624,6 +6771,7 @@ func awsRestjson1_deserializeDocumentGetSolVnfInfo(v **types.GetSolVnfInfo, valu } sv.VnfState = types.VnfOperationalState(jtv) } + default: _, _ = key, value @@ -6659,6 +6807,7 @@ func awsRestjson1_deserializeDocumentInstantiateMetadata(v **types.InstantiateMe if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalParamsForNs, value); err != nil { return err } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -6667,6 +6816,7 @@ func awsRestjson1_deserializeDocumentInstantiateMetadata(v **types.InstantiateMe } sv.NsdInfoId = ptr.String(jtv) } + default: _, _ = key, value @@ -6706,6 +6856,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6745,6 +6896,7 @@ func awsRestjson1_deserializeDocumentLcmOperationInfo(v **types.LcmOperationInfo } sv.NsLcmOpOccId = ptr.String(jtv) } + default: _, _ = key, value @@ -6784,6 +6936,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6792,10 +6945,12 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.Id = ptr.String(jtv) } + case "instantiatedVnfInfo": if err := awsRestjson1_deserializeDocumentGetSolInstantiatedVnfInfo(&sv.InstantiatedVnfInfo, value); err != nil { return err } + case "instantiationState": if value != nil { jtv, ok := value.(string) @@ -6804,10 +6959,12 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.InstantiationState = types.VnfInstantiationState(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(&sv.Metadata, value); err != nil { return err } + case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -6816,6 +6973,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.NsInstanceId = ptr.String(jtv) } + case "vnfPkgId": if value != nil { jtv, ok := value.(string) @@ -6824,6 +6982,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.VnfPkgId = ptr.String(jtv) } + case "vnfPkgName": if value != nil { jtv, ok := value.(string) @@ -6832,6 +6991,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceInfo(v **types.ListS } sv.VnfPkgName = ptr.String(jtv) } + default: _, _ = key, value @@ -6875,6 +7035,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(v **types.L } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -6887,6 +7048,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionInstanceMetadata(v **types.L } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -6960,6 +7122,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -6968,10 +7131,12 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(&sv.Metadata, value); err != nil { return err } + case "onboardingState": if value != nil { jtv, ok := value.(string) @@ -6980,6 +7145,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.OnboardingState = types.OnboardingState(jtv) } + case "operationalState": if value != nil { jtv, ok := value.(string) @@ -6988,6 +7154,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.OperationalState = types.OperationalState(jtv) } + case "usageState": if value != nil { jtv, ok := value.(string) @@ -6996,6 +7163,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.UsageState = types.UsageState(jtv) } + case "vnfdId": if value != nil { jtv, ok := value.(string) @@ -7004,6 +7172,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfdId = ptr.String(jtv) } + case "vnfdVersion": if value != nil { jtv, ok := value.(string) @@ -7012,6 +7181,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfdVersion = ptr.String(jtv) } + case "vnfProductName": if value != nil { jtv, ok := value.(string) @@ -7020,6 +7190,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfProductName = ptr.String(jtv) } + case "vnfProvider": if value != nil { jtv, ok := value.(string) @@ -7028,6 +7199,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageInfo(v **types.ListSo } sv.VnfProvider = ptr.String(jtv) } + default: _, _ = key, value @@ -7071,6 +7243,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(v **types.Li } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7083,6 +7256,7 @@ func awsRestjson1_deserializeDocumentListSolFunctionPackageMetadata(v **types.Li } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -7156,6 +7330,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7164,10 +7339,12 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -7176,6 +7353,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsdId = ptr.String(jtv) } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -7184,6 +7362,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsdInfoId = ptr.String(jtv) } + case "nsInstanceDescription": if value != nil { jtv, ok := value.(string) @@ -7192,6 +7371,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsInstanceDescription = ptr.String(jtv) } + case "nsInstanceName": if value != nil { jtv, ok := value.(string) @@ -7200,6 +7380,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsInstanceName = ptr.String(jtv) } + case "nsState": if value != nil { jtv, ok := value.(string) @@ -7208,6 +7389,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceInfo(v **types.ListSo } sv.NsState = types.NsState(jtv) } + default: _, _ = key, value @@ -7251,6 +7433,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(v **types.Li } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7263,6 +7446,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkInstanceMetadata(v **types.Li } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -7336,10 +7520,12 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.Arn = ptr.String(jtv) } + case "error": if err := awsRestjson1_deserializeDocumentProblemDetails(&sv.Error, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -7348,6 +7534,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.Id = ptr.String(jtv) } + case "lcmOperationType": if value != nil { jtv, ok := value.(string) @@ -7356,10 +7543,12 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.LcmOperationType = types.LcmOperationType(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(&sv.Metadata, value); err != nil { return err } + case "nsInstanceId": if value != nil { jtv, ok := value.(string) @@ -7368,6 +7557,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.NsInstanceId = ptr.String(jtv) } + case "operationState": if value != nil { jtv, ok := value.(string) @@ -7376,6 +7566,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.OperationState = types.NsLcmOperationState(jtv) } + case "updateType": if value != nil { jtv, ok := value.(string) @@ -7384,6 +7575,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsInfo(v **types.List } sv.UpdateType = types.UpdateSolNetworkType(jtv) } + default: _, _ = key, value @@ -7427,6 +7619,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7439,6 +7632,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.LastModified = ptr.Time(t) } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -7447,6 +7641,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.NsdInfoId = ptr.String(jtv) } + case "vnfInstanceId": if value != nil { jtv, ok := value.(string) @@ -7455,6 +7650,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkOperationsMetadata(v **types. } sv.VnfInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7528,6 +7724,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -7536,10 +7733,12 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(&sv.Metadata, value); err != nil { return err } + case "nsdDesigner": if value != nil { jtv, ok := value.(string) @@ -7548,6 +7747,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdDesigner = ptr.String(jtv) } + case "nsdId": if value != nil { jtv, ok := value.(string) @@ -7556,6 +7756,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdId = ptr.String(jtv) } + case "nsdInvariantId": if value != nil { jtv, ok := value.(string) @@ -7564,6 +7765,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdInvariantId = ptr.String(jtv) } + case "nsdName": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7774,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdName = ptr.String(jtv) } + case "nsdOnboardingState": if value != nil { jtv, ok := value.(string) @@ -7580,6 +7783,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdOnboardingState = types.NsdOnboardingState(jtv) } + case "nsdOperationalState": if value != nil { jtv, ok := value.(string) @@ -7588,6 +7792,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdOperationalState = types.NsdOperationalState(jtv) } + case "nsdUsageState": if value != nil { jtv, ok := value.(string) @@ -7596,6 +7801,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdUsageState = types.NsdUsageState(jtv) } + case "nsdVersion": if value != nil { jtv, ok := value.(string) @@ -7604,10 +7810,12 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageInfo(v **types.ListSol } sv.NsdVersion = ptr.String(jtv) } + case "vnfPkgIds": if err := awsRestjson1_deserializeDocumentVnfPkgIdList(&sv.VnfPkgIds, value); err != nil { return err } + default: _, _ = key, value @@ -7651,6 +7859,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(v **types.Lis } sv.CreatedAt = ptr.Time(t) } + case "lastModified": if value != nil { jtv, ok := value.(string) @@ -7663,6 +7872,7 @@ func awsRestjson1_deserializeDocumentListSolNetworkPackageMetadata(v **types.Lis } sv.LastModified = ptr.Time(t) } + default: _, _ = key, value @@ -7732,6 +7942,7 @@ func awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(v **types.ModifyVnfIn if err := awsRestjson1_deserializeDocumentDocument(&sv.VnfConfigurableProperties, value); err != nil { return err } + case "vnfInstanceId": if value != nil { jtv, ok := value.(string) @@ -7740,6 +7951,7 @@ func awsRestjson1_deserializeDocumentModifyVnfInfoMetadata(v **types.ModifyVnfIn } sv.VnfInstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7775,6 +7987,7 @@ func awsRestjson1_deserializeDocumentNetworkArtifactMeta(v **types.NetworkArtifa if err := awsRestjson1_deserializeDocumentOverrideList(&sv.Overrides, value); err != nil { return err } + default: _, _ = key, value @@ -7848,6 +8061,7 @@ func awsRestjson1_deserializeDocumentProblemDetails(v **types.ProblemDetails, va } sv.Detail = ptr.String(jtv) } + case "title": if value != nil { jtv, ok := value.(string) @@ -7856,6 +8070,7 @@ func awsRestjson1_deserializeDocumentProblemDetails(v **types.ProblemDetails, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -7891,6 +8106,7 @@ func awsRestjson1_deserializeDocumentPutSolFunctionPackageContentMetadata(v **ty if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } + default: _, _ = key, value @@ -7926,6 +8142,7 @@ func awsRestjson1_deserializeDocumentPutSolNetworkPackageContentMetadata(v **typ if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } + default: _, _ = key, value @@ -7965,6 +8182,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8004,6 +8222,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8115,6 +8334,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8154,6 +8374,7 @@ func awsRestjson1_deserializeDocumentToscaOverride(v **types.ToscaOverride, valu } sv.DefaultValue = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8162,6 +8383,7 @@ func awsRestjson1_deserializeDocumentToscaOverride(v **types.ToscaOverride, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8197,6 +8419,7 @@ func awsRestjson1_deserializeDocumentUpdateNsMetadata(v **types.UpdateNsMetadata if err := awsRestjson1_deserializeDocumentDocument(&sv.AdditionalParamsForNs, value); err != nil { return err } + case "nsdInfoId": if value != nil { jtv, ok := value.(string) @@ -8205,6 +8428,7 @@ func awsRestjson1_deserializeDocumentUpdateNsMetadata(v **types.UpdateNsMetadata } sv.NsdInfoId = ptr.String(jtv) } + default: _, _ = key, value @@ -8240,6 +8464,7 @@ func awsRestjson1_deserializeDocumentValidateSolFunctionPackageContentMetadata(v if err := awsRestjson1_deserializeDocumentFunctionArtifactMeta(&sv.Vnfd, value); err != nil { return err } + default: _, _ = key, value @@ -8275,6 +8500,7 @@ func awsRestjson1_deserializeDocumentValidateSolNetworkPackageContentMetadata(v if err := awsRestjson1_deserializeDocumentNetworkArtifactMeta(&sv.Nsd, value); err != nil { return err } + default: _, _ = key, value @@ -8314,6 +8540,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/transcribe/deserializers.go b/service/transcribe/deserializers.go index 9ef606813cb..61edfa8f554 100644 --- a/service/transcribe/deserializers.go +++ b/service/transcribe/deserializers.go @@ -5219,6 +5219,7 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.EndTime = ptr.Int64(i64) } + case "First": if value != nil { jtv, ok := value.(json.Number) @@ -5231,6 +5232,7 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.First = ptr.Int64(i64) } + case "Last": if value != nil { jtv, ok := value.(json.Number) @@ -5243,6 +5245,7 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.Last = ptr.Int64(i64) } + case "StartTime": if value != nil { jtv, ok := value.(json.Number) @@ -5255,6 +5258,7 @@ func awsAwsjson11_deserializeDocumentAbsoluteTimeRange(v **types.AbsoluteTimeRan } sv.StartTime = ptr.Int64(i64) } + default: _, _ = key, value @@ -5294,6 +5298,7 @@ func awsAwsjson11_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5329,6 +5334,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(&sv.CallAnalyticsJobDetails, value); err != nil { return err } + case "CallAnalyticsJobName": if value != nil { jtv, ok := value.(string) @@ -5337,6 +5343,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.CallAnalyticsJobName = ptr.String(jtv) } + case "CallAnalyticsJobStatus": if value != nil { jtv, ok := value.(string) @@ -5345,10 +5352,12 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.CallAnalyticsJobStatus = types.CallAnalyticsJobStatus(jtv) } + case "ChannelDefinitions": if err := awsAwsjson11_deserializeDocumentChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } + case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -5364,6 +5373,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5379,6 +5389,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -5387,6 +5398,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.DataAccessRoleArn = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -5395,6 +5407,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.FailureReason = ptr.String(jtv) } + case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -5428,6 +5441,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5436,10 +5450,12 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.LanguageCode = types.LanguageCode(jtv) } + case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } + case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -5448,6 +5464,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.MediaFormat = types.MediaFormat(jtv) } + case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -5460,10 +5477,12 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } + case "Settings": if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(&sv.Settings, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5479,10 +5498,12 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJob(v **types.CallAnalyticsJob } } + case "Transcript": if err := awsAwsjson11_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } + default: _, _ = key, value @@ -5518,6 +5539,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(v **types.CallAnaly if err := awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeatureList(&sv.Skipped, value); err != nil { return err } + default: _, _ = key, value @@ -5553,10 +5575,12 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } + case "LanguageIdSettings": if err := awsAwsjson11_deserializeDocumentLanguageIdSettingsMap(&sv.LanguageIdSettings, value); err != nil { return err } + case "LanguageModelName": if value != nil { jtv, ok := value.(string) @@ -5565,14 +5589,17 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.LanguageModelName = ptr.String(jtv) } + case "LanguageOptions": if err := awsAwsjson11_deserializeDocumentLanguageOptions(&sv.LanguageOptions, value); err != nil { return err } + case "Summarization": if err := awsAwsjson11_deserializeDocumentSummarization(&sv.Summarization, value); err != nil { return err } + case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -5581,6 +5608,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -5589,6 +5617,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -5597,6 +5626,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSettings(v **types.CallAnal } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -5666,6 +5696,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobDetails(&sv.CallAnalyticsJobDetails, value); err != nil { return err } + case "CallAnalyticsJobName": if value != nil { jtv, ok := value.(string) @@ -5674,6 +5705,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.CallAnalyticsJobName = ptr.String(jtv) } + case "CallAnalyticsJobStatus": if value != nil { jtv, ok := value.(string) @@ -5682,6 +5714,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.CallAnalyticsJobStatus = types.CallAnalyticsJobStatus(jtv) } + case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -5697,6 +5730,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -5712,6 +5746,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -5720,6 +5755,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -5728,6 +5764,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } sv.LanguageCode = types.LanguageCode(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5743,6 +5780,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsJobSummary(v **types.CallAnaly } } + default: _, _ = key, value @@ -5782,6 +5820,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.Feature = types.CallAnalyticsFeature(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -5790,6 +5829,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.Message = ptr.String(jtv) } + case "ReasonCode": if value != nil { jtv, ok := value.(string) @@ -5798,6 +5838,7 @@ func awsAwsjson11_deserializeDocumentCallAnalyticsSkippedFeature(v **types.CallA } sv.ReasonCode = types.CallAnalyticsSkippedReasonCode(jtv) } + default: _, _ = key, value @@ -5871,6 +5912,7 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } sv.CategoryName = ptr.String(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -5886,6 +5928,7 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } } + case "InputType": if value != nil { jtv, ok := value.(string) @@ -5894,6 +5937,7 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } sv.InputType = types.InputType(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -5909,10 +5953,12 @@ func awsAwsjson11_deserializeDocumentCategoryProperties(v **types.CategoryProper } } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -5990,6 +6036,7 @@ func awsAwsjson11_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ChannelId = int32(i64) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -5998,6 +6045,7 @@ func awsAwsjson11_deserializeDocumentChannelDefinition(v **types.ChannelDefiniti } sv.ParticipantRole = types.ParticipantRole(jtv) } + default: _, _ = key, value @@ -6071,6 +6119,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6106,6 +6155,7 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction if err := awsAwsjson11_deserializeDocumentPiiEntityTypes(&sv.PiiEntityTypes, value); err != nil { return err } + case "RedactionOutput": if value != nil { jtv, ok := value.(string) @@ -6114,6 +6164,7 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction } sv.RedactionOutput = types.RedactionOutput(jtv) } + case "RedactionType": if value != nil { jtv, ok := value.(string) @@ -6122,6 +6173,7 @@ func awsAwsjson11_deserializeDocumentContentRedaction(v **types.ContentRedaction } sv.RedactionType = types.RedactionType(jtv) } + default: _, _ = key, value @@ -6161,6 +6213,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.DataAccessRoleArn = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -6169,6 +6222,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } + case "TuningDataS3Uri": if value != nil { jtv, ok := value.(string) @@ -6177,6 +6231,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.TuningDataS3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -6216,6 +6271,7 @@ func awsAwsjson11_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6251,6 +6307,7 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -6259,6 +6316,7 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.Negate = ptr.Bool(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -6267,10 +6325,12 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } + case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -6283,6 +6343,7 @@ func awsAwsjson11_deserializeDocumentInterruptionFilter(v **types.InterruptionFi } sv.Threshold = ptr.Int64(i64) } + default: _, _ = key, value @@ -6322,6 +6383,7 @@ func awsAwsjson11_deserializeDocumentJobExecutionSettings(v **types.JobExecution } sv.AllowDeferredExecution = ptr.Bool(jtv) } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -6330,6 +6392,7 @@ func awsAwsjson11_deserializeDocumentJobExecutionSettings(v **types.JobExecution } sv.DataAccessRoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6394,6 +6457,7 @@ func awsAwsjson11_deserializeDocumentLanguageCodeItem(v **types.LanguageCodeItem } } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -6402,6 +6466,7 @@ func awsAwsjson11_deserializeDocumentLanguageCodeItem(v **types.LanguageCodeItem } sv.LanguageCode = types.LanguageCode(jtv) } + default: _, _ = key, value @@ -6475,6 +6540,7 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.LanguageModelName = ptr.String(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -6483,6 +6549,7 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -6491,6 +6558,7 @@ func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSett } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -6565,6 +6633,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.BaseModelName = types.BaseModelName(jtv) } + case "CreateTime": if value != nil { switch jtv := value.(type) { @@ -6580,6 +6649,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -6588,10 +6658,12 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.FailureReason = ptr.String(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -6600,6 +6672,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.LanguageCode = types.CLMLanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -6615,6 +6688,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -6623,6 +6697,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.ModelName = ptr.String(jtv) } + case "ModelStatus": if value != nil { jtv, ok := value.(string) @@ -6631,6 +6706,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.ModelStatus = types.ModelStatus(jtv) } + case "UpgradeAvailability": if value != nil { jtv, ok := value.(bool) @@ -6639,6 +6715,7 @@ func awsAwsjson11_deserializeDocumentLanguageModel(v **types.LanguageModel, valu } sv.UpgradeAvailability = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6714,6 +6791,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6753,6 +6831,7 @@ func awsAwsjson11_deserializeDocumentMedia(v **types.Media, value interface{}) e } sv.MediaFileUri = ptr.String(jtv) } + case "RedactedMediaFileUri": if value != nil { jtv, ok := value.(string) @@ -6761,6 +6840,7 @@ func awsAwsjson11_deserializeDocumentMedia(v **types.Media, value interface{}) e } sv.RedactedMediaFileUri = ptr.String(jtv) } + default: _, _ = key, value @@ -6804,6 +6884,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinition(v **types.Me } sv.ChannelId = int32(i64) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -6812,6 +6893,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinition(v **types.Me } sv.ParticipantRole = types.MedicalScribeParticipantRole(jtv) } + default: _, _ = key, value @@ -6881,6 +6963,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob if err := awsAwsjson11_deserializeDocumentMedicalScribeChannelDefinitions(&sv.ChannelDefinitions, value); err != nil { return err } + case "CompletionTime": if value != nil { switch jtv := value.(type) { @@ -6896,6 +6979,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -6911,6 +6995,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -6919,6 +7004,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.DataAccessRoleArn = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -6927,6 +7013,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -6935,10 +7022,12 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.LanguageCode = types.MedicalScribeLanguageCode(jtv) } + case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } + case "MedicalScribeJobName": if value != nil { jtv, ok := value.(string) @@ -6947,6 +7036,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.MedicalScribeJobName = ptr.String(jtv) } + case "MedicalScribeJobStatus": if value != nil { jtv, ok := value.(string) @@ -6955,14 +7045,17 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } sv.MedicalScribeJobStatus = types.MedicalScribeJobStatus(jtv) } + case "MedicalScribeOutput": if err := awsAwsjson11_deserializeDocumentMedicalScribeOutput(&sv.MedicalScribeOutput, value); err != nil { return err } + case "Settings": if err := awsAwsjson11_deserializeDocumentMedicalScribeSettings(&sv.Settings, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6978,10 +7071,12 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJob(v **types.MedicalScribeJob } } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7062,6 +7157,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7077,6 +7173,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7085,6 +7182,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7093,6 +7191,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.LanguageCode = types.MedicalScribeLanguageCode(jtv) } + case "MedicalScribeJobName": if value != nil { jtv, ok := value.(string) @@ -7101,6 +7200,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.MedicalScribeJobName = ptr.String(jtv) } + case "MedicalScribeJobStatus": if value != nil { jtv, ok := value.(string) @@ -7109,6 +7209,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } sv.MedicalScribeJobStatus = types.MedicalScribeJobStatus(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7124,6 +7225,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeJobSummary(v **types.MedicalSc } } + default: _, _ = key, value @@ -7163,6 +7265,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeOutput(v **types.MedicalScribe } sv.ClinicalDocumentUri = ptr.String(jtv) } + case "TranscriptFileUri": if value != nil { jtv, ok := value.(string) @@ -7171,6 +7274,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeOutput(v **types.MedicalScribe } sv.TranscriptFileUri = ptr.String(jtv) } + default: _, _ = key, value @@ -7210,6 +7314,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.ChannelIdentification = ptr.Bool(jtv) } + case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -7222,6 +7327,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } + case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -7230,6 +7336,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.ShowSpeakerLabels = ptr.Bool(jtv) } + case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -7238,6 +7345,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -7246,6 +7354,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -7254,6 +7363,7 @@ func awsAwsjson11_deserializeDocumentMedicalScribeSettings(v **types.MedicalScri } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -7293,6 +7403,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscript(v **types.MedicalTranscri } sv.TranscriptFileUri = ptr.String(jtv) } + default: _, _ = key, value @@ -7339,6 +7450,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } + case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -7347,6 +7459,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.ContentIdentificationType = types.MedicalContentIdentificationType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7362,6 +7475,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7370,6 +7484,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7378,10 +7493,12 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.LanguageCode = types.LanguageCode(jtv) } + case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } + case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -7390,6 +7507,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MediaFormat = types.MediaFormat(jtv) } + case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -7402,6 +7520,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } + case "MedicalTranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -7410,10 +7529,12 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.MedicalTranscriptionJobName = ptr.String(jtv) } + case "Settings": if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(&sv.Settings, value); err != nil { return err } + case "Specialty": if value != nil { jtv, ok := value.(string) @@ -7422,6 +7543,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.Specialty = types.Specialty(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7437,14 +7559,17 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Transcript": if err := awsAwsjson11_deserializeDocumentMedicalTranscript(&sv.Transcript, value); err != nil { return err } + case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -7453,6 +7578,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7461,6 +7587,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(v **types.MedicalTr } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -7541,6 +7668,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } + case "ContentIdentificationType": if value != nil { jtv, ok := value.(string) @@ -7549,6 +7677,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.ContentIdentificationType = types.MedicalContentIdentificationType(jtv) } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7564,6 +7693,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -7572,6 +7702,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7580,6 +7711,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.LanguageCode = types.LanguageCode(jtv) } + case "MedicalTranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -7588,6 +7720,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.MedicalTranscriptionJobName = ptr.String(jtv) } + case "OutputLocationType": if value != nil { jtv, ok := value.(string) @@ -7596,6 +7729,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.OutputLocationType = types.OutputLocationType(jtv) } + case "Specialty": if value != nil { jtv, ok := value.(string) @@ -7604,6 +7738,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.Specialty = types.Specialty(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7619,6 +7754,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } } + case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -7627,6 +7763,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7635,6 +7772,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummary(v **types.Me } sv.Type = types.Type(jtv) } + default: _, _ = key, value @@ -7674,6 +7812,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ChannelIdentification = ptr.Bool(jtv) } + case "MaxAlternatives": if value != nil { jtv, ok := value.(json.Number) @@ -7686,6 +7825,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.MaxAlternatives = ptr.Int32(int32(i64)) } + case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -7698,6 +7838,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } + case "ShowAlternatives": if value != nil { jtv, ok := value.(bool) @@ -7706,6 +7847,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ShowAlternatives = ptr.Bool(jtv) } + case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -7714,6 +7856,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.ShowSpeakerLabels = ptr.Bool(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -7722,6 +7865,7 @@ func awsAwsjson11_deserializeDocumentMedicalTranscriptionSetting(v **types.Medic } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -7795,6 +7939,7 @@ func awsAwsjson11_deserializeDocumentModelSettings(v **types.ModelSettings, valu } sv.LanguageModelName = ptr.String(jtv) } + default: _, _ = key, value @@ -7830,6 +7975,7 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -7838,10 +7984,12 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt } sv.Negate = ptr.Bool(jtv) } + case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } + case "Threshold": if value != nil { jtv, ok := value.(json.Number) @@ -7854,6 +8002,7 @@ func awsAwsjson11_deserializeDocumentNonTalkTimeFilter(v **types.NonTalkTimeFilt } sv.Threshold = ptr.Int64(i64) } + default: _, _ = key, value @@ -7893,6 +8042,7 @@ func awsAwsjson11_deserializeDocumentNotFoundException(v **types.NotFoundExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7972,6 +8122,7 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.EndPercentage = ptr.Int32(int32(i64)) } + case "First": if value != nil { jtv, ok := value.(json.Number) @@ -7984,6 +8135,7 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.First = ptr.Int32(int32(i64)) } + case "Last": if value != nil { jtv, ok := value.(json.Number) @@ -7996,6 +8148,7 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.Last = ptr.Int32(int32(i64)) } + case "StartPercentage": if value != nil { jtv, ok := value.(json.Number) @@ -8008,6 +8161,7 @@ func awsAwsjson11_deserializeDocumentRelativeTimeRange(v **types.RelativeTimeRan } sv.StartPercentage = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8145,6 +8299,7 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -8153,6 +8308,7 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, } sv.Negate = ptr.Bool(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -8161,14 +8317,17 @@ func awsAwsjson11_deserializeDocumentSentimentFilter(v **types.SentimentFilter, } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } + case "Sentiments": if err := awsAwsjson11_deserializeDocumentSentimentValueList(&sv.Sentiments, value); err != nil { return err } + default: _, _ = key, value @@ -8244,6 +8403,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ChannelIdentification = ptr.Bool(jtv) } + case "MaxAlternatives": if value != nil { jtv, ok := value.(json.Number) @@ -8256,6 +8416,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.MaxAlternatives = ptr.Int32(int32(i64)) } + case "MaxSpeakerLabels": if value != nil { jtv, ok := value.(json.Number) @@ -8268,6 +8429,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.MaxSpeakerLabels = ptr.Int32(int32(i64)) } + case "ShowAlternatives": if value != nil { jtv, ok := value.(bool) @@ -8276,6 +8438,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ShowAlternatives = ptr.Bool(jtv) } + case "ShowSpeakerLabels": if value != nil { jtv, ok := value.(bool) @@ -8284,6 +8447,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.ShowSpeakerLabels = ptr.Bool(jtv) } + case "VocabularyFilterMethod": if value != nil { jtv, ok := value.(string) @@ -8292,6 +8456,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyFilterMethod = types.VocabularyFilterMethod(jtv) } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -8300,6 +8465,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyFilterName = ptr.String(jtv) } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -8308,6 +8474,7 @@ func awsAwsjson11_deserializeDocumentSettings(v **types.Settings, value interfac } sv.VocabularyName = ptr.String(jtv) } + default: _, _ = key, value @@ -8451,6 +8618,7 @@ func awsAwsjson11_deserializeDocumentSubtitlesOutput(v **types.SubtitlesOutput, if err := awsAwsjson11_deserializeDocumentSubtitleFormats(&sv.Formats, value); err != nil { return err } + case "OutputStartIndex": if value != nil { jtv, ok := value.(json.Number) @@ -8463,10 +8631,12 @@ func awsAwsjson11_deserializeDocumentSubtitlesOutput(v **types.SubtitlesOutput, } sv.OutputStartIndex = ptr.Int32(int32(i64)) } + case "SubtitleFileUris": if err := awsAwsjson11_deserializeDocumentSubtitleFileUris(&sv.SubtitleFileUris, value); err != nil { return err } + default: _, _ = key, value @@ -8506,6 +8676,7 @@ func awsAwsjson11_deserializeDocumentSummarization(v **types.Summarization, valu } sv.GenerateAbstractiveSummary = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8545,6 +8716,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8553,6 +8725,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8692,6 +8865,7 @@ func awsAwsjson11_deserializeDocumentToxicityDetectionSettings(v **types.Toxicit if err := awsAwsjson11_deserializeDocumentToxicityCategories(&sv.ToxicityCategories, value); err != nil { return err } + default: _, _ = key, value @@ -8731,6 +8905,7 @@ func awsAwsjson11_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.RedactedTranscriptFileUri = ptr.String(jtv) } + case "TranscriptFileUri": if value != nil { jtv, ok := value.(string) @@ -8739,6 +8914,7 @@ func awsAwsjson11_deserializeDocumentTranscript(v **types.Transcript, value inte } sv.TranscriptFileUri = ptr.String(jtv) } + default: _, _ = key, value @@ -8774,6 +8950,7 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter if err := awsAwsjson11_deserializeDocumentAbsoluteTimeRange(&sv.AbsoluteTimeRange, value); err != nil { return err } + case "Negate": if value != nil { jtv, ok := value.(bool) @@ -8782,6 +8959,7 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.Negate = ptr.Bool(jtv) } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -8790,14 +8968,17 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "RelativeTimeRange": if err := awsAwsjson11_deserializeDocumentRelativeTimeRange(&sv.RelativeTimeRange, value); err != nil { return err } + case "Targets": if err := awsAwsjson11_deserializeDocumentStringTargetList(&sv.Targets, value); err != nil { return err } + case "TranscriptFilterType": if value != nil { jtv, ok := value.(string) @@ -8806,6 +8987,7 @@ func awsAwsjson11_deserializeDocumentTranscriptFilter(v **types.TranscriptFilter } sv.TranscriptFilterType = types.TranscriptFilterType(jtv) } + default: _, _ = key, value @@ -8852,10 +9034,12 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } + case "ContentRedaction": if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -8871,6 +9055,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -8879,6 +9064,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.FailureReason = ptr.String(jtv) } + case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -8912,6 +9098,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } + case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -8920,6 +9107,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.IdentifyLanguage = ptr.Bool(jtv) } + case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -8928,10 +9116,12 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.IdentifyMultipleLanguages = ptr.Bool(jtv) } + case "JobExecutionSettings": if err := awsAwsjson11_deserializeDocumentJobExecutionSettings(&sv.JobExecutionSettings, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -8940,22 +9130,27 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { return err } + case "LanguageIdSettings": if err := awsAwsjson11_deserializeDocumentLanguageIdSettingsMap(&sv.LanguageIdSettings, value); err != nil { return err } + case "LanguageOptions": if err := awsAwsjson11_deserializeDocumentLanguageOptions(&sv.LanguageOptions, value); err != nil { return err } + case "Media": if err := awsAwsjson11_deserializeDocumentMedia(&sv.Media, value); err != nil { return err } + case "MediaFormat": if value != nil { jtv, ok := value.(string) @@ -8964,6 +9159,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.MediaFormat = types.MediaFormat(jtv) } + case "MediaSampleRateHertz": if value != nil { jtv, ok := value.(json.Number) @@ -8976,14 +9172,17 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.MediaSampleRateHertz = ptr.Int32(int32(i64)) } + case "ModelSettings": if err := awsAwsjson11_deserializeDocumentModelSettings(&sv.ModelSettings, value); err != nil { return err } + case "Settings": if err := awsAwsjson11_deserializeDocumentSettings(&sv.Settings, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -8999,22 +9198,27 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } } + case "Subtitles": if err := awsAwsjson11_deserializeDocumentSubtitlesOutput(&sv.Subtitles, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "ToxicityDetection": if err := awsAwsjson11_deserializeDocumentToxicityDetection(&sv.ToxicityDetection, value); err != nil { return err } + case "Transcript": if err := awsAwsjson11_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } + case "TranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -9023,6 +9227,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.TranscriptionJobName = ptr.String(jtv) } + case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -9031,6 +9236,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } + default: _, _ = key, value @@ -9111,10 +9317,12 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } + case "ContentRedaction": if err := awsAwsjson11_deserializeDocumentContentRedaction(&sv.ContentRedaction, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -9130,6 +9338,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -9138,6 +9347,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.FailureReason = ptr.String(jtv) } + case "IdentifiedLanguageScore": if value != nil { switch jtv := value.(type) { @@ -9171,6 +9381,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } + case "IdentifyLanguage": if value != nil { jtv, ok := value.(bool) @@ -9179,6 +9390,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.IdentifyLanguage = ptr.Bool(jtv) } + case "IdentifyMultipleLanguages": if value != nil { jtv, ok := value.(bool) @@ -9187,6 +9399,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.IdentifyMultipleLanguages = ptr.Bool(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9195,14 +9408,17 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { return err } + case "ModelSettings": if err := awsAwsjson11_deserializeDocumentModelSettings(&sv.ModelSettings, value); err != nil { return err } + case "OutputLocationType": if value != nil { jtv, ok := value.(string) @@ -9211,6 +9427,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.OutputLocationType = types.OutputLocationType(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9226,10 +9443,12 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } } + case "ToxicityDetection": if err := awsAwsjson11_deserializeDocumentToxicityDetection(&sv.ToxicityDetection, value); err != nil { return err } + case "TranscriptionJobName": if value != nil { jtv, ok := value.(string) @@ -9238,6 +9457,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.TranscriptionJobName = ptr.String(jtv) } + case "TranscriptionJobStatus": if value != nil { jtv, ok := value.(string) @@ -9246,6 +9466,7 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip } sv.TranscriptionJobStatus = types.TranscriptionJobStatus(jtv) } + default: _, _ = key, value @@ -9319,6 +9540,7 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9334,6 +9556,7 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -9342,6 +9565,7 @@ func awsAwsjson11_deserializeDocumentVocabularyFilterInfo(v **types.VocabularyFi } sv.VocabularyFilterName = ptr.String(jtv) } + default: _, _ = key, value @@ -9415,6 +9639,7 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9430,6 +9655,7 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -9438,6 +9664,7 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -9446,6 +9673,7 @@ func awsAwsjson11_deserializeDocumentVocabularyInfo(v **types.VocabularyInfo, va } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -9481,6 +9709,7 @@ func awsAwsjson11_deserializeOpDocumentCreateCallAnalyticsCategoryOutput(v **Cre if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } + default: _, _ = key, value @@ -9520,10 +9749,12 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.BaseModelName = types.BaseModelName(jtv) } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9532,6 +9763,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.LanguageCode = types.CLMLanguageCode(jtv) } + case "ModelName": if value != nil { jtv, ok := value.(string) @@ -9540,6 +9772,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.ModelName = ptr.String(jtv) } + case "ModelStatus": if value != nil { jtv, ok := value.(string) @@ -9548,6 +9781,7 @@ func awsAwsjson11_deserializeOpDocumentCreateLanguageModelOutput(v **CreateLangu } sv.ModelStatus = types.ModelStatus(jtv) } + default: _, _ = key, value @@ -9587,6 +9821,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9595,6 +9830,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9610,6 +9846,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -9618,6 +9855,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -9626,6 +9864,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMedicalVocabularyOutput(v **CreateM } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -9665,6 +9904,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9680,6 +9920,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -9688,6 +9929,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyFilterOutput(v **CreateVo } sv.VocabularyFilterName = ptr.String(jtv) } + default: _, _ = key, value @@ -9727,6 +9969,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -9735,6 +9978,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9750,6 +9994,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -9758,6 +10003,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -9766,6 +10012,7 @@ func awsAwsjson11_deserializeOpDocumentCreateVocabularyOutput(v **CreateVocabula } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -9863,6 +10110,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeLanguageModelOutput(v **DescribeL if err := awsAwsjson11_deserializeDocumentLanguageModel(&sv.LanguageModel, value); err != nil { return err } + default: _, _ = key, value @@ -9898,6 +10146,7 @@ func awsAwsjson11_deserializeOpDocumentGetCallAnalyticsCategoryOutput(v **GetCal if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } + default: _, _ = key, value @@ -9933,6 +10182,7 @@ func awsAwsjson11_deserializeOpDocumentGetCallAnalyticsJobOutput(v **GetCallAnal if err := awsAwsjson11_deserializeDocumentCallAnalyticsJob(&sv.CallAnalyticsJob, value); err != nil { return err } + default: _, _ = key, value @@ -9968,6 +10218,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalScribeJobOutput(v **GetMedicalS if err := awsAwsjson11_deserializeDocumentMedicalScribeJob(&sv.MedicalScribeJob, value); err != nil { return err } + default: _, _ = key, value @@ -10003,6 +10254,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalTranscriptionJobOutput(v **GetM if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(&sv.MedicalTranscriptionJob, value); err != nil { return err } + default: _, _ = key, value @@ -10042,6 +10294,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.DownloadUri = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -10050,6 +10303,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10058,6 +10312,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10073,6 +10328,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -10081,6 +10337,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -10089,6 +10346,7 @@ func awsAwsjson11_deserializeOpDocumentGetMedicalVocabularyOutput(v **GetMedical } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -10124,6 +10382,7 @@ func awsAwsjson11_deserializeOpDocumentGetTranscriptionJobOutput(v **GetTranscri if err := awsAwsjson11_deserializeDocumentTranscriptionJob(&sv.TranscriptionJob, value); err != nil { return err } + default: _, _ = key, value @@ -10163,6 +10422,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.DownloadUri = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10171,6 +10431,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10186,6 +10447,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -10194,6 +10456,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyFilterOutput(v **GetVocabula } sv.VocabularyFilterName = ptr.String(jtv) } + default: _, _ = key, value @@ -10233,6 +10496,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.DownloadUri = ptr.String(jtv) } + case "FailureReason": if value != nil { jtv, ok := value.(string) @@ -10241,6 +10505,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.FailureReason = ptr.String(jtv) } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -10249,6 +10514,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -10264,6 +10530,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -10272,6 +10539,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -10280,6 +10548,7 @@ func awsAwsjson11_deserializeOpDocumentGetVocabularyOutput(v **GetVocabularyOutp } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -10315,6 +10584,7 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsCategoriesOutput(v **Lis if err := awsAwsjson11_deserializeDocumentCategoryPropertiesList(&sv.Categories, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10323,6 +10593,7 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsCategoriesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10358,6 +10629,7 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA if err := awsAwsjson11_deserializeDocumentCallAnalyticsJobSummaries(&sv.CallAnalyticsJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10366,6 +10638,7 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10374,6 +10647,7 @@ func awsAwsjson11_deserializeOpDocumentListCallAnalyticsJobsOutput(v **ListCallA } sv.Status = types.CallAnalyticsJobStatus(jtv) } + default: _, _ = key, value @@ -10409,6 +10683,7 @@ func awsAwsjson11_deserializeOpDocumentListLanguageModelsOutput(v **ListLanguage if err := awsAwsjson11_deserializeDocumentModels(&sv.Models, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10417,6 +10692,7 @@ func awsAwsjson11_deserializeOpDocumentListLanguageModelsOutput(v **ListLanguage } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -10452,6 +10728,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic if err := awsAwsjson11_deserializeDocumentMedicalScribeJobSummaries(&sv.MedicalScribeJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10460,6 +10737,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10468,6 +10746,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalScribeJobsOutput(v **ListMedic } sv.Status = types.MedicalScribeJobStatus(jtv) } + default: _, _ = key, value @@ -10503,6 +10782,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJobSummaries(&sv.MedicalTranscriptionJobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10511,6 +10791,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10519,6 +10800,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalTranscriptionJobsOutput(v **Li } sv.Status = types.TranscriptionJobStatus(jtv) } + default: _, _ = key, value @@ -10558,6 +10840,7 @@ func awsAwsjson11_deserializeOpDocumentListMedicalVocabulariesOutput(v **ListMed } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10566,10 +10849,12 @@ func awsAwsjson11_deserializeOpDocumentListMedicalVocabulariesOutput(v **ListMed } sv.Status = types.VocabularyState(jtv) } + case "Vocabularies": if err := awsAwsjson11_deserializeDocumentVocabularies(&sv.Vocabularies, value); err != nil { return err } + default: _, _ = key, value @@ -10609,10 +10894,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.ResourceArn = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -10652,6 +10939,7 @@ func awsAwsjson11_deserializeOpDocumentListTranscriptionJobsOutput(v **ListTrans } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10660,10 +10948,12 @@ func awsAwsjson11_deserializeOpDocumentListTranscriptionJobsOutput(v **ListTrans } sv.Status = types.TranscriptionJobStatus(jtv) } + case "TranscriptionJobSummaries": if err := awsAwsjson11_deserializeDocumentTranscriptionJobSummaries(&sv.TranscriptionJobSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -10703,6 +10993,7 @@ func awsAwsjson11_deserializeOpDocumentListVocabulariesOutput(v **ListVocabulari } sv.NextToken = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10711,10 +11002,12 @@ func awsAwsjson11_deserializeOpDocumentListVocabulariesOutput(v **ListVocabulari } sv.Status = types.VocabularyState(jtv) } + case "Vocabularies": if err := awsAwsjson11_deserializeDocumentVocabularies(&sv.Vocabularies, value); err != nil { return err } + default: _, _ = key, value @@ -10754,10 +11047,12 @@ func awsAwsjson11_deserializeOpDocumentListVocabularyFiltersOutput(v **ListVocab } sv.NextToken = ptr.String(jtv) } + case "VocabularyFilters": if err := awsAwsjson11_deserializeDocumentVocabularyFilters(&sv.VocabularyFilters, value); err != nil { return err } + default: _, _ = key, value @@ -10793,6 +11088,7 @@ func awsAwsjson11_deserializeOpDocumentStartCallAnalyticsJobOutput(v **StartCall if err := awsAwsjson11_deserializeDocumentCallAnalyticsJob(&sv.CallAnalyticsJob, value); err != nil { return err } + default: _, _ = key, value @@ -10828,6 +11124,7 @@ func awsAwsjson11_deserializeOpDocumentStartMedicalScribeJobOutput(v **StartMedi if err := awsAwsjson11_deserializeDocumentMedicalScribeJob(&sv.MedicalScribeJob, value); err != nil { return err } + default: _, _ = key, value @@ -10863,6 +11160,7 @@ func awsAwsjson11_deserializeOpDocumentStartMedicalTranscriptionJobOutput(v **St if err := awsAwsjson11_deserializeDocumentMedicalTranscriptionJob(&sv.MedicalTranscriptionJob, value); err != nil { return err } + default: _, _ = key, value @@ -10898,6 +11196,7 @@ func awsAwsjson11_deserializeOpDocumentStartTranscriptionJobOutput(v **StartTran if err := awsAwsjson11_deserializeDocumentTranscriptionJob(&sv.TranscriptionJob, value); err != nil { return err } + default: _, _ = key, value @@ -10995,6 +11294,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCallAnalyticsCategoryOutput(v **Upd if err := awsAwsjson11_deserializeDocumentCategoryProperties(&sv.CategoryProperties, value); err != nil { return err } + default: _, _ = key, value @@ -11034,6 +11334,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11049,6 +11350,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -11057,6 +11359,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -11065,6 +11368,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMedicalVocabularyOutput(v **UpdateM } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value @@ -11104,6 +11408,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11119,6 +11424,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } } + case "VocabularyFilterName": if value != nil { jtv, ok := value.(string) @@ -11127,6 +11433,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyFilterOutput(v **UpdateVo } sv.VocabularyFilterName = ptr.String(jtv) } + default: _, _ = key, value @@ -11166,6 +11473,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.LanguageCode = types.LanguageCode(jtv) } + case "LastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -11181,6 +11489,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } } + case "VocabularyName": if value != nil { jtv, ok := value.(string) @@ -11189,6 +11498,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.VocabularyName = ptr.String(jtv) } + case "VocabularyState": if value != nil { jtv, ok := value.(string) @@ -11197,6 +11507,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateVocabularyOutput(v **UpdateVocabula } sv.VocabularyState = types.VocabularyState(jtv) } + default: _, _ = key, value diff --git a/service/transcribestreaming/deserializers.go b/service/transcribestreaming/deserializers.go index e4dcdc54471..f5529852317 100644 --- a/service/transcribestreaming/deserializers.go +++ b/service/transcribestreaming/deserializers.go @@ -1040,6 +1040,7 @@ func awsRestjson1_deserializeDocumentBadRequestException(v **types.BadRequestExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1083,6 +1084,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.BeginOffsetMillis = ptr.Int64(i64) } + case "Category": if value != nil { jtv, ok := value.(string) @@ -1091,6 +1093,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Category = ptr.String(jtv) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -1124,6 +1127,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -1132,6 +1136,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Content = ptr.String(jtv) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1144,6 +1149,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.EndOffsetMillis = ptr.Int64(i64) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1152,6 +1158,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsEntity(v **types.CallAnalytics } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -1229,6 +1236,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.BeginOffsetMillis = ptr.Int64(i64) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -1262,6 +1270,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -1270,6 +1279,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Content = ptr.String(jtv) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1282,6 +1292,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.EndOffsetMillis = ptr.Int64(i64) } + case "Stable": if value != nil { jtv, ok := value.(bool) @@ -1290,6 +1301,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Stable = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -1298,6 +1310,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.Type = types.ItemType(jtv) } + case "VocabularyFilterMatch": if value != nil { jtv, ok := value.(bool) @@ -1306,6 +1319,7 @@ func awsRestjson1_deserializeDocumentCallAnalyticsItem(v **types.CallAnalyticsIt } sv.VocabularyFilterMatch = jtv } + default: _, _ = key, value @@ -1375,10 +1389,12 @@ func awsRestjson1_deserializeDocumentCategoryEvent(v **types.CategoryEvent, valu if err := awsRestjson1_deserializeDocumentStringList(&sv.MatchedCategories, value); err != nil { return err } + case "MatchedDetails": if err := awsRestjson1_deserializeDocumentMatchedCategoryDetails(&sv.MatchedDetails, value); err != nil { return err } + default: _, _ = key, value @@ -1422,6 +1438,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.Begin = ptr.Int32(int32(i64)) } + case "End": if value != nil { jtv, ok := value.(json.Number) @@ -1434,6 +1451,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets } sv.End = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1473,6 +1491,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1512,6 +1531,7 @@ func awsRestjson1_deserializeDocumentInternalFailureException(v **types.Internal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1547,6 +1567,7 @@ func awsRestjson1_deserializeDocumentIssueDetected(v **types.IssueDetected, valu if err := awsRestjson1_deserializeDocumentCharacterOffsets(&sv.CharacterOffsets, value); err != nil { return err } + default: _, _ = key, value @@ -1620,6 +1641,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1690,6 +1712,7 @@ func awsRestjson1_deserializeDocumentPointsOfInterest(v **types.PointsOfInterest if err := awsRestjson1_deserializeDocumentTimestampRanges(&sv.TimestampRanges, value); err != nil { return err } + default: _, _ = key, value @@ -1729,6 +1752,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -1808,6 +1832,7 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } sv.BeginOffsetMillis = ptr.Int64(i64) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1820,6 +1845,7 @@ func awsRestjson1_deserializeDocumentTimestampRange(v **types.TimestampRange, va } sv.EndOffsetMillis = ptr.Int64(i64) } + default: _, _ = key, value @@ -1897,6 +1923,7 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.BeginOffsetMillis = ptr.Int64(i64) } + case "EndOffsetMillis": if value != nil { jtv, ok := value.(json.Number) @@ -1909,10 +1936,12 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.EndOffsetMillis = ptr.Int64(i64) } + case "Entities": if err := awsRestjson1_deserializeDocumentCallAnalyticsEntityList(&sv.Entities, value); err != nil { return err } + case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -1921,14 +1950,17 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.IsPartial = jtv } + case "IssuesDetected": if err := awsRestjson1_deserializeDocumentIssuesDetected(&sv.IssuesDetected, value); err != nil { return err } + case "Items": if err := awsRestjson1_deserializeDocumentCallAnalyticsItemList(&sv.Items, value); err != nil { return err } + case "ParticipantRole": if value != nil { jtv, ok := value.(string) @@ -1937,6 +1969,7 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.ParticipantRole = types.ParticipantRole(jtv) } + case "Sentiment": if value != nil { jtv, ok := value.(string) @@ -1945,6 +1978,7 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.Sentiment = types.Sentiment(jtv) } + case "Transcript": if value != nil { jtv, ok := value.(string) @@ -1953,6 +1987,7 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.Transcript = ptr.String(jtv) } + case "UtteranceId": if value != nil { jtv, ok := value.(string) @@ -1961,6 +1996,7 @@ func awsRestjson1_deserializeDocumentUtteranceEvent(v **types.UtteranceEvent, va } sv.UtteranceId = ptr.String(jtv) } + default: _, _ = key, value @@ -2117,10 +2153,12 @@ func awsRestjson1_deserializeDocumentMedicalAlternative(v **types.MedicalAlterna if err := awsRestjson1_deserializeDocumentMedicalEntityList(&sv.Entities, value); err != nil { return err } + case "Items": if err := awsRestjson1_deserializeDocumentMedicalItemList(&sv.Items, value); err != nil { return err } + case "Transcript": if value != nil { jtv, ok := value.(string) @@ -2129,6 +2167,7 @@ func awsRestjson1_deserializeDocumentMedicalAlternative(v **types.MedicalAlterna } sv.Transcript = ptr.String(jtv) } + default: _, _ = key, value @@ -2202,6 +2241,7 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } sv.Category = ptr.String(jtv) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -2235,6 +2275,7 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -2243,6 +2284,7 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } sv.Content = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2276,6 +2318,7 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2309,6 +2352,7 @@ func awsRestjson1_deserializeDocumentMedicalEntity(v **types.MedicalEntity, valu } } + default: _, _ = key, value @@ -2407,6 +2451,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -2415,6 +2460,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Content = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2448,6 +2494,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } + case "Speaker": if value != nil { jtv, ok := value.(string) @@ -2456,6 +2503,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Speaker = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2489,6 +2537,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -2497,6 +2546,7 @@ func awsRestjson1_deserializeDocumentMedicalItem(v **types.MedicalItem, value in } sv.Type = types.ItemType(jtv) } + default: _, _ = key, value @@ -2566,6 +2616,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu if err := awsRestjson1_deserializeDocumentMedicalAlternativeList(&sv.Alternatives, value); err != nil { return err } + case "ChannelId": if value != nil { jtv, ok := value.(string) @@ -2574,6 +2625,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.ChannelId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2607,6 +2659,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } } + case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -2615,6 +2668,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.IsPartial = jtv } + case "ResultId": if value != nil { jtv, ok := value.(string) @@ -2623,6 +2677,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } sv.ResultId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2656,6 +2711,7 @@ func awsRestjson1_deserializeDocumentMedicalResult(v **types.MedicalResult, valu } } + default: _, _ = key, value @@ -2725,6 +2781,7 @@ func awsRestjson1_deserializeDocumentMedicalTranscript(v **types.MedicalTranscri if err := awsRestjson1_deserializeDocumentMedicalResultList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -2760,6 +2817,7 @@ func awsRestjson1_deserializeDocumentMedicalTranscriptEvent(v **types.MedicalTra if err := awsRestjson1_deserializeDocumentMedicalTranscript(&sv.Transcript, value); err != nil { return err } + default: _, _ = key, value @@ -2916,10 +2974,12 @@ func awsRestjson1_deserializeDocumentAlternative(v **types.Alternative, value in if err := awsRestjson1_deserializeDocumentEntityList(&sv.Entities, value); err != nil { return err } + case "Items": if err := awsRestjson1_deserializeDocumentItemList(&sv.Items, value); err != nil { return err } + case "Transcript": if value != nil { jtv, ok := value.(string) @@ -2928,6 +2988,7 @@ func awsRestjson1_deserializeDocumentAlternative(v **types.Alternative, value in } sv.Transcript = ptr.String(jtv) } + default: _, _ = key, value @@ -3001,6 +3062,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Category = ptr.String(jtv) } + case "Confidence": if value != nil { switch jtv := value.(type) { @@ -3034,6 +3096,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -3042,6 +3105,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Content = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3075,6 +3139,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3108,6 +3173,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3116,6 +3182,7 @@ func awsRestjson1_deserializeDocumentEntity(v **types.Entity, value interface{}) } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -3214,6 +3281,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } + case "Content": if value != nil { jtv, ok := value.(string) @@ -3222,6 +3290,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Content = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3255,6 +3324,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } + case "Speaker": if value != nil { jtv, ok := value.(string) @@ -3263,6 +3333,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Speaker = ptr.String(jtv) } + case "Stable": if value != nil { jtv, ok := value.(bool) @@ -3271,6 +3342,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Stable = ptr.Bool(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3304,6 +3376,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3312,6 +3385,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.Type = types.ItemType(jtv) } + case "VocabularyFilterMatch": if value != nil { jtv, ok := value.(bool) @@ -3320,6 +3394,7 @@ func awsRestjson1_deserializeDocumentItem(v **types.Item, value interface{}) err } sv.VocabularyFilterMatch = jtv } + default: _, _ = key, value @@ -3427,6 +3502,7 @@ func awsRestjson1_deserializeDocumentLanguageWithScore(v **types.LanguageWithSco } sv.LanguageCode = types.LanguageCode(jtv) } + case "Score": if value != nil { switch jtv := value.(type) { @@ -3460,6 +3536,7 @@ func awsRestjson1_deserializeDocumentLanguageWithScore(v **types.LanguageWithSco } } + default: _, _ = key, value @@ -3495,6 +3572,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) if err := awsRestjson1_deserializeDocumentAlternativeList(&sv.Alternatives, value); err != nil { return err } + case "ChannelId": if value != nil { jtv, ok := value.(string) @@ -3503,6 +3581,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ChannelId = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -3536,6 +3615,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } } + case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -3544,6 +3624,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.IsPartial = jtv } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -3552,10 +3633,12 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageIdentification": if err := awsRestjson1_deserializeDocumentLanguageIdentification(&sv.LanguageIdentification, value); err != nil { return err } + case "ResultId": if value != nil { jtv, ok := value.(string) @@ -3564,6 +3647,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } sv.ResultId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -3597,6 +3681,7 @@ func awsRestjson1_deserializeDocumentResult(v **types.Result, value interface{}) } } + default: _, _ = key, value @@ -3666,6 +3751,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte if err := awsRestjson1_deserializeDocumentResultList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -3701,6 +3787,7 @@ func awsRestjson1_deserializeDocumentTranscriptEvent(v **types.TranscriptEvent, if err := awsRestjson1_deserializeDocumentTranscript(&sv.Transcript, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/transfer/deserializers.go b/service/transfer/deserializers.go index 01dd264843b..76a86c1d7d0 100644 --- a/service/transfer/deserializers.go +++ b/service/transfer/deserializers.go @@ -7531,6 +7531,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7606,6 +7607,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.BasicAuthSecretId = ptr.String(jtv) } + case "Compression": if value != nil { jtv, ok := value.(string) @@ -7614,6 +7616,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.Compression = types.CompressionEnum(jtv) } + case "EncryptionAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7622,6 +7625,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.EncryptionAlgorithm = types.EncryptionAlg(jtv) } + case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -7630,6 +7634,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.LocalProfileId = ptr.String(jtv) } + case "MdnResponse": if value != nil { jtv, ok := value.(string) @@ -7638,6 +7643,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MdnResponse = types.MdnResponse(jtv) } + case "MdnSigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7646,6 +7652,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MdnSigningAlgorithm = types.MdnSigningAlg(jtv) } + case "MessageSubject": if value != nil { jtv, ok := value.(string) @@ -7654,6 +7661,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.MessageSubject = ptr.String(jtv) } + case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -7662,6 +7670,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.PartnerProfileId = ptr.String(jtv) } + case "SigningAlgorithm": if value != nil { jtv, ok := value.(string) @@ -7670,6 +7679,7 @@ func awsAwsjson11_deserializeDocumentAs2ConnectorConfig(v **types.As2ConnectorCo } sv.SigningAlgorithm = types.SigningAlg(jtv) } + default: _, _ = key, value @@ -7781,6 +7791,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7820,6 +7831,7 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FailureCode = ptr.String(jtv) } + case "FailureMessage": if value != nil { jtv, ok := value.(string) @@ -7828,6 +7840,7 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FailureMessage = ptr.String(jtv) } + case "FilePath": if value != nil { jtv, ok := value.(string) @@ -7836,6 +7849,7 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.FilePath = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(string) @@ -7844,6 +7858,7 @@ func awsAwsjson11_deserializeDocumentConnectorFileTransferResult(v **types.Conne } sv.StatusCode = types.TransferTableStatus(jtv) } + default: _, _ = key, value @@ -7913,6 +7928,7 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, if err := awsAwsjson11_deserializeDocumentInputFileLocation(&sv.DestinationFileLocation, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7921,6 +7937,7 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.Name = ptr.String(jtv) } + case "OverwriteExisting": if value != nil { jtv, ok := value.(string) @@ -7929,6 +7946,7 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.OverwriteExisting = types.OverwriteExisting(jtv) } + case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -7937,6 +7955,7 @@ func awsAwsjson11_deserializeDocumentCopyStepDetails(v **types.CopyStepDetails, } sv.SourceFileLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -7976,6 +7995,7 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.Name = ptr.String(jtv) } + case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -7984,6 +8004,7 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.SourceFileLocation = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -7992,6 +8013,7 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.Target = ptr.String(jtv) } + case "TimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -8004,6 +8026,7 @@ func awsAwsjson11_deserializeDocumentCustomStepDetails(v **types.CustomStepDetai } sv.TimeoutSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8039,6 +8062,7 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet if err := awsAwsjson11_deserializeDocumentInputFileLocation(&sv.DestinationFileLocation, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8047,6 +8071,7 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.Name = ptr.String(jtv) } + case "OverwriteExisting": if value != nil { jtv, ok := value.(string) @@ -8055,6 +8080,7 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.OverwriteExisting = types.OverwriteExisting(jtv) } + case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -8063,6 +8089,7 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.SourceFileLocation = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8071,6 +8098,7 @@ func awsAwsjson11_deserializeDocumentDecryptStepDetails(v **types.DecryptStepDet } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -8110,6 +8138,7 @@ func awsAwsjson11_deserializeDocumentDeleteStepDetails(v **types.DeleteStepDetai } sv.Name = ptr.String(jtv) } + case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -8118,6 +8147,7 @@ func awsAwsjson11_deserializeDocumentDeleteStepDetails(v **types.DeleteStepDetai } sv.SourceFileLocation = ptr.String(jtv) } + default: _, _ = key, value @@ -8157,6 +8187,7 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.ExternalId = ptr.String(jtv) } + case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -8165,10 +8196,12 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.HomeDirectory = ptr.String(jtv) } + case "HomeDirectoryMappings": if err := awsAwsjson11_deserializeDocumentHomeDirectoryMappings(&sv.HomeDirectoryMappings, value); err != nil { return err } + case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -8177,6 +8210,7 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -8185,10 +8219,12 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.Policy = ptr.String(jtv) } + case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -8197,6 +8233,7 @@ func awsAwsjson11_deserializeDocumentDescribedAccess(v **types.DescribedAccess, } sv.Role = ptr.String(jtv) } + default: _, _ = key, value @@ -8236,6 +8273,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.AccessRole = ptr.String(jtv) } + case "AgreementId": if value != nil { jtv, ok := value.(string) @@ -8244,6 +8282,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.AgreementId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8252,6 +8291,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Arn = ptr.String(jtv) } + case "BaseDirectory": if value != nil { jtv, ok := value.(string) @@ -8260,6 +8300,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.BaseDirectory = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8268,6 +8309,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Description = ptr.String(jtv) } + case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -8276,6 +8318,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.LocalProfileId = ptr.String(jtv) } + case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -8284,6 +8327,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.PartnerProfileId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -8292,6 +8336,7 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.ServerId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8300,10 +8345,12 @@ func awsAwsjson11_deserializeDocumentDescribedAgreement(v **types.DescribedAgree } sv.Status = types.AgreementStatusType(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8350,6 +8397,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8358,6 +8406,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Arn = ptr.String(jtv) } + case "Certificate": if value != nil { jtv, ok := value.(string) @@ -8366,6 +8415,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Certificate = ptr.String(jtv) } + case "CertificateChain": if value != nil { jtv, ok := value.(string) @@ -8374,6 +8424,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.CertificateChain = ptr.String(jtv) } + case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -8382,6 +8433,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.CertificateId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8390,6 +8442,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Description = ptr.String(jtv) } + case "InactiveDate": if value != nil { switch jtv := value.(type) { @@ -8405,6 +8458,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } + case "NotAfterDate": if value != nil { switch jtv := value.(type) { @@ -8420,6 +8474,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } + case "NotBeforeDate": if value != nil { switch jtv := value.(type) { @@ -8435,6 +8490,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } } + case "Serial": if value != nil { jtv, ok := value.(string) @@ -8443,6 +8499,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Serial = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8451,10 +8508,12 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Status = types.CertificateStatusType(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8463,6 +8522,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Type = types.CertificateType(jtv) } + case "Usage": if value != nil { jtv, ok := value.(string) @@ -8471,6 +8531,7 @@ func awsAwsjson11_deserializeDocumentDescribedCertificate(v **types.DescribedCer } sv.Usage = types.CertificateUsageType(jtv) } + default: _, _ = key, value @@ -8510,6 +8571,7 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.AccessRole = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -8518,10 +8580,12 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.Arn = ptr.String(jtv) } + case "As2Config": if err := awsAwsjson11_deserializeDocumentAs2ConnectorConfig(&sv.As2Config, value); err != nil { return err } + case "ConnectorId": if value != nil { jtv, ok := value.(string) @@ -8530,6 +8594,7 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.ConnectorId = ptr.String(jtv) } + case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -8538,6 +8603,7 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.LoggingRole = ptr.String(jtv) } + case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -8546,18 +8612,22 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.SecurityPolicyName = ptr.String(jtv) } + case "ServiceManagedEgressIpAddresses": if err := awsAwsjson11_deserializeDocumentServiceManagedEgressIpAddresses(&sv.ServiceManagedEgressIpAddresses, value); err != nil { return err } + case "SftpConfig": if err := awsAwsjson11_deserializeDocumentSftpConnectorConfig(&sv.SftpConfig, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Url": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8636,7 @@ func awsAwsjson11_deserializeDocumentDescribedConnector(v **types.DescribedConne } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -8605,6 +8676,7 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.ExecutionId = ptr.String(jtv) } + case "ExecutionRole": if value != nil { jtv, ok := value.(string) @@ -8613,26 +8685,32 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.ExecutionRole = ptr.String(jtv) } + case "InitialFileLocation": if err := awsAwsjson11_deserializeDocumentFileLocation(&sv.InitialFileLocation, value); err != nil { return err } + case "LoggingConfiguration": if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } + case "Results": if err := awsAwsjson11_deserializeDocumentExecutionResults(&sv.Results, value); err != nil { return err } + case "ServiceMetadata": if err := awsAwsjson11_deserializeDocumentServiceMetadata(&sv.ServiceMetadata, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8641,6 +8719,7 @@ func awsAwsjson11_deserializeDocumentDescribedExecution(v **types.DescribedExecu } sv.Status = types.ExecutionStatus(jtv) } + default: _, _ = key, value @@ -8680,6 +8759,7 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Arn = ptr.String(jtv) } + case "DateImported": if value != nil { switch jtv := value.(type) { @@ -8695,6 +8775,7 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -8703,6 +8784,7 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Description = ptr.String(jtv) } + case "HostKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -8711,6 +8793,7 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.HostKeyFingerprint = ptr.String(jtv) } + case "HostKeyId": if value != nil { jtv, ok := value.(string) @@ -8719,10 +8802,12 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.HostKeyId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8731,6 +8816,7 @@ func awsAwsjson11_deserializeDocumentDescribedHostKey(v **types.DescribedHostKey } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8770,6 +8856,7 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.Arn = ptr.String(jtv) } + case "As2Id": if value != nil { jtv, ok := value.(string) @@ -8778,10 +8865,12 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.As2Id = ptr.String(jtv) } + case "CertificateIds": if err := awsAwsjson11_deserializeDocumentCertificateIds(&sv.CertificateIds, value); err != nil { return err } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -8790,6 +8879,7 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.ProfileId = ptr.String(jtv) } + case "ProfileType": if value != nil { jtv, ok := value.(string) @@ -8798,10 +8888,12 @@ func awsAwsjson11_deserializeDocumentDescribedProfile(v **types.DescribedProfile } sv.ProfileType = types.ProfileType(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8841,10 +8933,12 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.Fips = ptr.Bool(jtv) } + case "Protocols": if err := awsAwsjson11_deserializeDocumentSecurityPolicyProtocols(&sv.Protocols, value); err != nil { return err } + case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -8853,26 +8947,32 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.SecurityPolicyName = ptr.String(jtv) } + case "SshCiphers": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshCiphers, value); err != nil { return err } + case "SshHostKeyAlgorithms": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshHostKeyAlgorithms, value); err != nil { return err } + case "SshKexs": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshKexs, value); err != nil { return err } + case "SshMacs": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.SshMacs, value); err != nil { return err } + case "TlsCiphers": if err := awsAwsjson11_deserializeDocumentSecurityPolicyOptions(&sv.TlsCiphers, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8881,6 +8981,7 @@ func awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(v **types.Described } sv.Type = types.SecurityPolicyResourceType(jtv) } + default: _, _ = key, value @@ -8920,10 +9021,12 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Arn = ptr.String(jtv) } + case "As2ServiceManagedEgressIpAddresses": if err := awsAwsjson11_deserializeDocumentServiceManagedEgressIpAddresses(&sv.As2ServiceManagedEgressIpAddresses, value); err != nil { return err } + case "Certificate": if value != nil { jtv, ok := value.(string) @@ -8932,6 +9035,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Certificate = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -8940,10 +9044,12 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.Domain = types.Domain(jtv) } + case "EndpointDetails": if err := awsAwsjson11_deserializeDocumentEndpointDetails(&sv.EndpointDetails, value); err != nil { return err } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -8952,6 +9058,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.EndpointType = types.EndpointType(jtv) } + case "HostKeyFingerprint": if value != nil { jtv, ok := value.(string) @@ -8960,10 +9067,12 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.HostKeyFingerprint = ptr.String(jtv) } + case "IdentityProviderDetails": if err := awsAwsjson11_deserializeDocumentIdentityProviderDetails(&sv.IdentityProviderDetails, value); err != nil { return err } + case "IdentityProviderType": if value != nil { jtv, ok := value.(string) @@ -8972,6 +9081,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.IdentityProviderType = types.IdentityProviderType(jtv) } + case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -8980,6 +9090,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.LoggingRole = ptr.String(jtv) } + case "PostAuthenticationLoginBanner": if value != nil { jtv, ok := value.(string) @@ -8988,6 +9099,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.PostAuthenticationLoginBanner = ptr.String(jtv) } + case "PreAuthenticationLoginBanner": if value != nil { jtv, ok := value.(string) @@ -8996,18 +9108,22 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.PreAuthenticationLoginBanner = ptr.String(jtv) } + case "ProtocolDetails": if err := awsAwsjson11_deserializeDocumentProtocolDetails(&sv.ProtocolDetails, value); err != nil { return err } + case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocols(&sv.Protocols, value); err != nil { return err } + case "S3StorageOptions": if err := awsAwsjson11_deserializeDocumentS3StorageOptions(&sv.S3StorageOptions, value); err != nil { return err } + case "SecurityPolicyName": if value != nil { jtv, ok := value.(string) @@ -9016,6 +9132,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.SecurityPolicyName = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -9024,6 +9141,7 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.ServerId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -9032,14 +9150,17 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.State = types.State(jtv) } + case "StructuredLogDestinations": if err := awsAwsjson11_deserializeDocumentStructuredLogDestinations(&sv.StructuredLogDestinations, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -9052,10 +9173,12 @@ func awsAwsjson11_deserializeDocumentDescribedServer(v **types.DescribedServer, } sv.UserCount = ptr.Int32(int32(i64)) } + case "WorkflowDetails": if err := awsAwsjson11_deserializeDocumentWorkflowDetails(&sv.WorkflowDetails, value); err != nil { return err } + default: _, _ = key, value @@ -9095,6 +9218,7 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Arn = ptr.String(jtv) } + case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -9103,10 +9227,12 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.HomeDirectory = ptr.String(jtv) } + case "HomeDirectoryMappings": if err := awsAwsjson11_deserializeDocumentHomeDirectoryMappings(&sv.HomeDirectoryMappings, value); err != nil { return err } + case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -9115,6 +9241,7 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } + case "Policy": if value != nil { jtv, ok := value.(string) @@ -9123,10 +9250,12 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Policy = ptr.String(jtv) } + case "PosixProfile": if err := awsAwsjson11_deserializeDocumentPosixProfile(&sv.PosixProfile, value); err != nil { return err } + case "Role": if value != nil { jtv, ok := value.(string) @@ -9135,14 +9264,17 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.Role = ptr.String(jtv) } + case "SshPublicKeys": if err := awsAwsjson11_deserializeDocumentSshPublicKeys(&sv.SshPublicKeys, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -9151,6 +9283,7 @@ func awsAwsjson11_deserializeDocumentDescribedUser(v **types.DescribedUser, valu } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -9190,6 +9323,7 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9198,18 +9332,22 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.Description = ptr.String(jtv) } + case "OnExceptionSteps": if err := awsAwsjson11_deserializeDocumentWorkflowSteps(&sv.OnExceptionSteps, value); err != nil { return err } + case "Steps": if err := awsAwsjson11_deserializeDocumentWorkflowSteps(&sv.Steps, value); err != nil { return err } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -9218,6 +9356,7 @@ func awsAwsjson11_deserializeDocumentDescribedWorkflow(v **types.DescribedWorkfl } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -9257,6 +9396,7 @@ func awsAwsjson11_deserializeDocumentEfsFileLocation(v **types.EfsFileLocation, } sv.FileSystemId = ptr.String(jtv) } + case "Path": if value != nil { jtv, ok := value.(string) @@ -9265,6 +9405,7 @@ func awsAwsjson11_deserializeDocumentEfsFileLocation(v **types.EfsFileLocation, } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -9300,14 +9441,17 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, if err := awsAwsjson11_deserializeDocumentAddressAllocationIds(&sv.AddressAllocationIds, value); err != nil { return err } + case "SecurityGroupIds": if err := awsAwsjson11_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "VpcEndpointId": if value != nil { jtv, ok := value.(string) @@ -9316,6 +9460,7 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.VpcEndpointId = ptr.String(jtv) } + case "VpcId": if value != nil { jtv, ok := value.(string) @@ -9324,6 +9469,7 @@ func awsAwsjson11_deserializeDocumentEndpointDetails(v **types.EndpointDetails, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -9363,6 +9509,7 @@ func awsAwsjson11_deserializeDocumentExecutionError(v **types.ExecutionError, va } sv.Message = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9371,6 +9518,7 @@ func awsAwsjson11_deserializeDocumentExecutionError(v **types.ExecutionError, va } sv.Type = types.ExecutionErrorType(jtv) } + default: _, _ = key, value @@ -9406,10 +9554,12 @@ func awsAwsjson11_deserializeDocumentExecutionResults(v **types.ExecutionResults if err := awsAwsjson11_deserializeDocumentExecutionStepResults(&sv.OnExceptionSteps, value); err != nil { return err } + case "Steps": if err := awsAwsjson11_deserializeDocumentExecutionStepResults(&sv.Steps, value); err != nil { return err } + default: _, _ = key, value @@ -9445,6 +9595,7 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep if err := awsAwsjson11_deserializeDocumentExecutionError(&sv.Error, value); err != nil { return err } + case "Outputs": if value != nil { jtv, ok := value.(string) @@ -9453,6 +9604,7 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep } sv.Outputs = ptr.String(jtv) } + case "StepType": if value != nil { jtv, ok := value.(string) @@ -9461,6 +9613,7 @@ func awsAwsjson11_deserializeDocumentExecutionStepResult(v **types.ExecutionStep } sv.StepType = types.WorkflowStepType(jtv) } + default: _, _ = key, value @@ -9530,10 +9683,12 @@ func awsAwsjson11_deserializeDocumentFileLocation(v **types.FileLocation, value if err := awsAwsjson11_deserializeDocumentEfsFileLocation(&sv.EfsFileLocation, value); err != nil { return err } + case "S3FileLocation": if err := awsAwsjson11_deserializeDocumentS3FileLocation(&sv.S3FileLocation, value); err != nil { return err } + default: _, _ = key, value @@ -9573,6 +9728,7 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Entry = ptr.String(jtv) } + case "Target": if value != nil { jtv, ok := value.(string) @@ -9581,6 +9737,7 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Target = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9589,6 +9746,7 @@ func awsAwsjson11_deserializeDocumentHomeDirectoryMapEntry(v **types.HomeDirecto } sv.Type = types.MapType(jtv) } + default: _, _ = key, value @@ -9662,6 +9820,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.DirectoryId = ptr.String(jtv) } + case "Function": if value != nil { jtv, ok := value.(string) @@ -9670,6 +9829,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.Function = ptr.String(jtv) } + case "InvocationRole": if value != nil { jtv, ok := value.(string) @@ -9678,6 +9838,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.InvocationRole = ptr.String(jtv) } + case "SftpAuthenticationMethods": if value != nil { jtv, ok := value.(string) @@ -9686,6 +9847,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.SftpAuthenticationMethods = types.SftpAuthenticationMethods(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -9694,6 +9856,7 @@ func awsAwsjson11_deserializeDocumentIdentityProviderDetails(v **types.IdentityP } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -9729,10 +9892,12 @@ func awsAwsjson11_deserializeDocumentInputFileLocation(v **types.InputFileLocati if err := awsAwsjson11_deserializeDocumentEfsFileLocation(&sv.EfsFileLocation, value); err != nil { return err } + case "S3FileLocation": if err := awsAwsjson11_deserializeDocumentS3InputFileLocation(&sv.S3FileLocation, value); err != nil { return err } + default: _, _ = key, value @@ -9772,6 +9937,7 @@ func awsAwsjson11_deserializeDocumentInternalServiceError(v **types.InternalServ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9811,6 +9977,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9850,6 +10017,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9889,6 +10057,7 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.ExternalId = ptr.String(jtv) } + case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -9897,6 +10066,7 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.HomeDirectory = ptr.String(jtv) } + case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -9905,6 +10075,7 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -9913,6 +10084,7 @@ func awsAwsjson11_deserializeDocumentListedAccess(v **types.ListedAccess, value } sv.Role = ptr.String(jtv) } + default: _, _ = key, value @@ -9986,6 +10158,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.AgreementId = ptr.String(jtv) } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -9994,6 +10167,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10002,6 +10176,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Description = ptr.String(jtv) } + case "LocalProfileId": if value != nil { jtv, ok := value.(string) @@ -10010,6 +10185,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.LocalProfileId = ptr.String(jtv) } + case "PartnerProfileId": if value != nil { jtv, ok := value.(string) @@ -10018,6 +10194,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.PartnerProfileId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -10026,6 +10203,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.ServerId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10034,6 +10212,7 @@ func awsAwsjson11_deserializeDocumentListedAgreement(v **types.ListedAgreement, } sv.Status = types.AgreementStatusType(jtv) } + default: _, _ = key, value @@ -10114,6 +10293,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } } + case "Arn": if value != nil { jtv, ok := value.(string) @@ -10122,6 +10302,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Arn = ptr.String(jtv) } + case "CertificateId": if value != nil { jtv, ok := value.(string) @@ -10130,6 +10311,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.CertificateId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10138,6 +10320,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Description = ptr.String(jtv) } + case "InactiveDate": if value != nil { switch jtv := value.(type) { @@ -10153,6 +10336,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10161,6 +10345,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Status = types.CertificateStatusType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10169,6 +10354,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Type = types.CertificateType(jtv) } + case "Usage": if value != nil { jtv, ok := value.(string) @@ -10177,6 +10363,7 @@ func awsAwsjson11_deserializeDocumentListedCertificate(v **types.ListedCertifica } sv.Usage = types.CertificateUsageType(jtv) } + default: _, _ = key, value @@ -10250,6 +10437,7 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.Arn = ptr.String(jtv) } + case "ConnectorId": if value != nil { jtv, ok := value.(string) @@ -10258,6 +10446,7 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.ConnectorId = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -10266,6 +10455,7 @@ func awsAwsjson11_deserializeDocumentListedConnector(v **types.ListedConnector, } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -10339,14 +10529,17 @@ func awsAwsjson11_deserializeDocumentListedExecution(v **types.ListedExecution, } sv.ExecutionId = ptr.String(jtv) } + case "InitialFileLocation": if err := awsAwsjson11_deserializeDocumentFileLocation(&sv.InitialFileLocation, value); err != nil { return err } + case "ServiceMetadata": if err := awsAwsjson11_deserializeDocumentServiceMetadata(&sv.ServiceMetadata, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10355,6 +10548,7 @@ func awsAwsjson11_deserializeDocumentListedExecution(v **types.ListedExecution, } sv.Status = types.ExecutionStatus(jtv) } + default: _, _ = key, value @@ -10428,6 +10622,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Arn = ptr.String(jtv) } + case "DateImported": if value != nil { switch jtv := value.(type) { @@ -10443,6 +10638,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10451,6 +10647,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Description = ptr.String(jtv) } + case "Fingerprint": if value != nil { jtv, ok := value.(string) @@ -10459,6 +10656,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Fingerprint = ptr.String(jtv) } + case "HostKeyId": if value != nil { jtv, ok := value.(string) @@ -10467,6 +10665,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.HostKeyId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10475,6 +10674,7 @@ func awsAwsjson11_deserializeDocumentListedHostKey(v **types.ListedHostKey, valu } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -10548,6 +10748,7 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.Arn = ptr.String(jtv) } + case "As2Id": if value != nil { jtv, ok := value.(string) @@ -10556,6 +10757,7 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.As2Id = ptr.String(jtv) } + case "ProfileId": if value != nil { jtv, ok := value.(string) @@ -10564,6 +10766,7 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.ProfileId = ptr.String(jtv) } + case "ProfileType": if value != nil { jtv, ok := value.(string) @@ -10572,6 +10775,7 @@ func awsAwsjson11_deserializeDocumentListedProfile(v **types.ListedProfile, valu } sv.ProfileType = types.ProfileType(jtv) } + default: _, _ = key, value @@ -10645,6 +10849,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.Arn = ptr.String(jtv) } + case "Domain": if value != nil { jtv, ok := value.(string) @@ -10653,6 +10858,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.Domain = types.Domain(jtv) } + case "EndpointType": if value != nil { jtv, ok := value.(string) @@ -10661,6 +10867,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.EndpointType = types.EndpointType(jtv) } + case "IdentityProviderType": if value != nil { jtv, ok := value.(string) @@ -10669,6 +10876,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.IdentityProviderType = types.IdentityProviderType(jtv) } + case "LoggingRole": if value != nil { jtv, ok := value.(string) @@ -10677,6 +10885,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.LoggingRole = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -10685,6 +10894,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.ServerId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -10693,6 +10903,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.State = types.State(jtv) } + case "UserCount": if value != nil { jtv, ok := value.(json.Number) @@ -10705,6 +10916,7 @@ func awsAwsjson11_deserializeDocumentListedServer(v **types.ListedServer, value } sv.UserCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10778,6 +10990,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.Arn = ptr.String(jtv) } + case "HomeDirectory": if value != nil { jtv, ok := value.(string) @@ -10786,6 +10999,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.HomeDirectory = ptr.String(jtv) } + case "HomeDirectoryType": if value != nil { jtv, ok := value.(string) @@ -10794,6 +11008,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.HomeDirectoryType = types.HomeDirectoryType(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -10802,6 +11017,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.Role = ptr.String(jtv) } + case "SshPublicKeyCount": if value != nil { jtv, ok := value.(json.Number) @@ -10814,6 +11030,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.SshPublicKeyCount = ptr.Int32(int32(i64)) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -10822,6 +11039,7 @@ func awsAwsjson11_deserializeDocumentListedUser(v **types.ListedUser, value inte } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -10895,6 +11113,7 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.Arn = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10903,6 +11122,7 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.Description = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -10911,6 +11131,7 @@ func awsAwsjson11_deserializeDocumentListedWorkflow(v **types.ListedWorkflow, va } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -10984,6 +11205,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LoggingRole = ptr.String(jtv) } + case "LogGroupName": if value != nil { jtv, ok := value.(string) @@ -10992,6 +11214,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogGroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -11103,10 +11326,12 @@ func awsAwsjson11_deserializeDocumentPosixProfile(v **types.PosixProfile, value } sv.Gid = ptr.Int64(i64) } + case "SecondaryGids": if err := awsAwsjson11_deserializeDocumentSecondaryGids(&sv.SecondaryGids, value); err != nil { return err } + case "Uid": if value != nil { jtv, ok := value.(json.Number) @@ -11119,6 +11344,7 @@ func awsAwsjson11_deserializeDocumentPosixProfile(v **types.PosixProfile, value } sv.Uid = ptr.Int64(i64) } + default: _, _ = key, value @@ -11154,6 +11380,7 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, if err := awsAwsjson11_deserializeDocumentAs2Transports(&sv.As2Transports, value); err != nil { return err } + case "PassiveIp": if value != nil { jtv, ok := value.(string) @@ -11162,6 +11389,7 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.PassiveIp = ptr.String(jtv) } + case "SetStatOption": if value != nil { jtv, ok := value.(string) @@ -11170,6 +11398,7 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.SetStatOption = types.SetStatOption(jtv) } + case "TlsSessionResumptionMode": if value != nil { jtv, ok := value.(string) @@ -11178,6 +11407,7 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, } sv.TlsSessionResumptionMode = types.TlsSessionResumptionMode(jtv) } + default: _, _ = key, value @@ -11253,6 +11483,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Message = ptr.String(jtv) } + case "Resource": if value != nil { jtv, ok := value.(string) @@ -11261,6 +11492,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.Resource = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11269,6 +11501,7 @@ func awsAwsjson11_deserializeDocumentResourceExistsException(v **types.ResourceE } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11308,6 +11541,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "Resource": if value != nil { jtv, ok := value.(string) @@ -11316,6 +11550,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Resource = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -11324,6 +11559,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11363,6 +11599,7 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Bucket = ptr.String(jtv) } + case "Etag": if value != nil { jtv, ok := value.(string) @@ -11371,6 +11608,7 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Etag = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -11379,6 +11617,7 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.Key = ptr.String(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -11387,6 +11626,7 @@ func awsAwsjson11_deserializeDocumentS3FileLocation(v **types.S3FileLocation, va } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -11426,6 +11666,7 @@ func awsAwsjson11_deserializeDocumentS3InputFileLocation(v **types.S3InputFileLo } sv.Bucket = ptr.String(jtv) } + case "Key": if value != nil { jtv, ok := value.(string) @@ -11434,6 +11675,7 @@ func awsAwsjson11_deserializeDocumentS3InputFileLocation(v **types.S3InputFileLo } sv.Key = ptr.String(jtv) } + default: _, _ = key, value @@ -11473,6 +11715,7 @@ func awsAwsjson11_deserializeDocumentS3StorageOptions(v **types.S3StorageOptions } sv.DirectoryListingOptimization = types.DirectoryListingOptimization(jtv) } + default: _, _ = key, value @@ -11512,6 +11755,7 @@ func awsAwsjson11_deserializeDocumentS3Tag(v **types.S3Tag, value interface{}) e } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11520,6 +11764,7 @@ func awsAwsjson11_deserializeDocumentS3Tag(v **types.S3Tag, value interface{}) e } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11809,6 +12054,7 @@ func awsAwsjson11_deserializeDocumentServiceMetadata(v **types.ServiceMetadata, if err := awsAwsjson11_deserializeDocumentUserDetails(&sv.UserDetails, value); err != nil { return err } + default: _, _ = key, value @@ -11848,6 +12094,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11883,6 +12130,7 @@ func awsAwsjson11_deserializeDocumentSftpConnectorConfig(v **types.SftpConnector if err := awsAwsjson11_deserializeDocumentSftpConnectorTrustedHostKeyList(&sv.TrustedHostKeys, value); err != nil { return err } + case "UserSecretId": if value != nil { jtv, ok := value.(string) @@ -11891,6 +12139,7 @@ func awsAwsjson11_deserializeDocumentSftpConnectorConfig(v **types.SftpConnector } sv.UserSecretId = ptr.String(jtv) } + default: _, _ = key, value @@ -11973,6 +12222,7 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } } + case "SshPublicKeyBody": if value != nil { jtv, ok := value.(string) @@ -11981,6 +12231,7 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } sv.SshPublicKeyBody = ptr.String(jtv) } + case "SshPublicKeyId": if value != nil { jtv, ok := value.(string) @@ -11989,6 +12240,7 @@ func awsAwsjson11_deserializeDocumentSshPublicKey(v **types.SshPublicKey, value } sv.SshPublicKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -12134,6 +12386,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12142,6 +12395,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12215,6 +12469,7 @@ func awsAwsjson11_deserializeDocumentTagStepDetails(v **types.TagStepDetails, va } sv.Name = ptr.String(jtv) } + case "SourceFileLocation": if value != nil { jtv, ok := value.(string) @@ -12223,10 +12478,12 @@ func awsAwsjson11_deserializeDocumentTagStepDetails(v **types.TagStepDetails, va } sv.SourceFileLocation = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentS3Tags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -12266,6 +12523,7 @@ func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.String(jtv) } + default: _, _ = key, value @@ -12305,6 +12563,7 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.ServerId = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -12313,6 +12572,7 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.SessionId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -12321,6 +12581,7 @@ func awsAwsjson11_deserializeDocumentUserDetails(v **types.UserDetails, value in } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -12360,6 +12621,7 @@ func awsAwsjson11_deserializeDocumentWorkflowDetail(v **types.WorkflowDetail, va } sv.ExecutionRole = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12368,6 +12630,7 @@ func awsAwsjson11_deserializeDocumentWorkflowDetail(v **types.WorkflowDetail, va } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -12403,10 +12666,12 @@ func awsAwsjson11_deserializeDocumentWorkflowDetails(v **types.WorkflowDetails, if err := awsAwsjson11_deserializeDocumentOnPartialUploadWorkflowDetails(&sv.OnPartialUpload, value); err != nil { return err } + case "OnUpload": if err := awsAwsjson11_deserializeDocumentOnUploadWorkflowDetails(&sv.OnUpload, value); err != nil { return err } + default: _, _ = key, value @@ -12442,22 +12707,27 @@ func awsAwsjson11_deserializeDocumentWorkflowStep(v **types.WorkflowStep, value if err := awsAwsjson11_deserializeDocumentCopyStepDetails(&sv.CopyStepDetails, value); err != nil { return err } + case "CustomStepDetails": if err := awsAwsjson11_deserializeDocumentCustomStepDetails(&sv.CustomStepDetails, value); err != nil { return err } + case "DecryptStepDetails": if err := awsAwsjson11_deserializeDocumentDecryptStepDetails(&sv.DecryptStepDetails, value); err != nil { return err } + case "DeleteStepDetails": if err := awsAwsjson11_deserializeDocumentDeleteStepDetails(&sv.DeleteStepDetails, value); err != nil { return err } + case "TagStepDetails": if err := awsAwsjson11_deserializeDocumentTagStepDetails(&sv.TagStepDetails, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12466,6 +12736,7 @@ func awsAwsjson11_deserializeDocumentWorkflowStep(v **types.WorkflowStep, value } sv.Type = types.WorkflowStepType(jtv) } + default: _, _ = key, value @@ -12539,6 +12810,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessOutput(v **CreateAccessOutput } sv.ExternalId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -12547,6 +12819,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccessOutput(v **CreateAccessOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -12586,6 +12859,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAgreementOutput(v **CreateAgreement } sv.AgreementId = ptr.String(jtv) } + default: _, _ = key, value @@ -12625,6 +12899,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectorOutput(v **CreateConnector } sv.ConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -12664,6 +12939,7 @@ func awsAwsjson11_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -12703,6 +12979,7 @@ func awsAwsjson11_deserializeOpDocumentCreateServerOutput(v **CreateServerOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -12742,6 +13019,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.ServerId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -12750,6 +13028,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -12789,6 +13068,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkflowOutput(v **CreateWorkflowOu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -12824,6 +13104,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessOutput(v **DescribeAccessOu if err := awsAwsjson11_deserializeDocumentDescribedAccess(&sv.Access, value); err != nil { return err } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -12832,6 +13113,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccessOutput(v **DescribeAccessOu } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -12867,6 +13149,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAgreementOutput(v **DescribeAgree if err := awsAwsjson11_deserializeDocumentDescribedAgreement(&sv.Agreement, value); err != nil { return err } + default: _, _ = key, value @@ -12902,6 +13185,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeCertificateOutput(v **DescribeCer if err := awsAwsjson11_deserializeDocumentDescribedCertificate(&sv.Certificate, value); err != nil { return err } + default: _, _ = key, value @@ -12937,6 +13221,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectorOutput(v **DescribeConne if err := awsAwsjson11_deserializeDocumentDescribedConnector(&sv.Connector, value); err != nil { return err } + default: _, _ = key, value @@ -12972,6 +13257,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu if err := awsAwsjson11_deserializeDocumentDescribedExecution(&sv.Execution, value); err != nil { return err } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -12980,6 +13266,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeExecutionOutput(v **DescribeExecu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -13015,6 +13302,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeHostKeyOutput(v **DescribeHostKey if err := awsAwsjson11_deserializeDocumentDescribedHostKey(&sv.HostKey, value); err != nil { return err } + default: _, _ = key, value @@ -13050,6 +13338,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeProfileOutput(v **DescribeProfile if err := awsAwsjson11_deserializeDocumentDescribedProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -13085,6 +13374,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeSecurityPolicyOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDescribedSecurityPolicy(&sv.SecurityPolicy, value); err != nil { return err } + default: _, _ = key, value @@ -13120,6 +13410,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeServerOutput(v **DescribeServerOu if err := awsAwsjson11_deserializeDocumentDescribedServer(&sv.Server, value); err != nil { return err } + default: _, _ = key, value @@ -13159,10 +13450,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ServerId = ptr.String(jtv) } + case "User": if err := awsAwsjson11_deserializeDocumentDescribedUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -13198,6 +13491,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkflowOutput(v **DescribeWorkfl if err := awsAwsjson11_deserializeDocumentDescribedWorkflow(&sv.Workflow, value); err != nil { return err } + default: _, _ = key, value @@ -13237,6 +13531,7 @@ func awsAwsjson11_deserializeOpDocumentImportCertificateOutput(v **ImportCertifi } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -13276,6 +13571,7 @@ func awsAwsjson11_deserializeOpDocumentImportHostKeyOutput(v **ImportHostKeyOutp } sv.HostKeyId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13284,6 +13580,7 @@ func awsAwsjson11_deserializeOpDocumentImportHostKeyOutput(v **ImportHostKeyOutp } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -13323,6 +13620,7 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.ServerId = ptr.String(jtv) } + case "SshPublicKeyId": if value != nil { jtv, ok := value.(string) @@ -13331,6 +13629,7 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.SshPublicKeyId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -13339,6 +13638,7 @@ func awsAwsjson11_deserializeOpDocumentImportSshPublicKeyOutput(v **ImportSshPub } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -13374,6 +13674,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput if err := awsAwsjson11_deserializeDocumentListedAccesses(&sv.Accesses, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13382,6 +13683,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput } sv.NextToken = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13390,6 +13692,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessesOutput(v **ListAccessesOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -13425,6 +13728,7 @@ func awsAwsjson11_deserializeOpDocumentListAgreementsOutput(v **ListAgreementsOu if err := awsAwsjson11_deserializeDocumentListedAgreements(&sv.Agreements, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13433,6 +13737,7 @@ func awsAwsjson11_deserializeOpDocumentListAgreementsOutput(v **ListAgreementsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13468,6 +13773,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat if err := awsAwsjson11_deserializeDocumentListedCertificates(&sv.Certificates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13476,6 +13782,7 @@ func awsAwsjson11_deserializeOpDocumentListCertificatesOutput(v **ListCertificat } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13511,6 +13818,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu if err := awsAwsjson11_deserializeDocumentListedConnectors(&sv.Connectors, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13519,6 +13827,7 @@ func awsAwsjson11_deserializeOpDocumentListConnectorsOutput(v **ListConnectorsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13554,6 +13863,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu if err := awsAwsjson11_deserializeDocumentListedExecutions(&sv.Executions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13562,6 +13872,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.NextToken = ptr.String(jtv) } + case "WorkflowId": if value != nil { jtv, ok := value.(string) @@ -13570,6 +13881,7 @@ func awsAwsjson11_deserializeOpDocumentListExecutionsOutput(v **ListExecutionsOu } sv.WorkflowId = ptr.String(jtv) } + default: _, _ = key, value @@ -13605,6 +13917,7 @@ func awsAwsjson11_deserializeOpDocumentListFileTransferResultsOutput(v **ListFil if err := awsAwsjson11_deserializeDocumentConnectorFileTransferResults(&sv.FileTransferResults, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13613,6 +13926,7 @@ func awsAwsjson11_deserializeOpDocumentListFileTransferResultsOutput(v **ListFil } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -13648,6 +13962,7 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput if err := awsAwsjson11_deserializeDocumentListedHostKeys(&sv.HostKeys, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13656,6 +13971,7 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput } sv.NextToken = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13664,6 +13980,7 @@ func awsAwsjson11_deserializeOpDocumentListHostKeysOutput(v **ListHostKeysOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -13703,10 +14020,12 @@ func awsAwsjson11_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } + case "Profiles": if err := awsAwsjson11_deserializeDocumentListedProfiles(&sv.Profiles, value); err != nil { return err } + default: _, _ = key, value @@ -13746,10 +14065,12 @@ func awsAwsjson11_deserializeOpDocumentListSecurityPoliciesOutput(v **ListSecuri } sv.NextToken = ptr.String(jtv) } + case "SecurityPolicyNames": if err := awsAwsjson11_deserializeDocumentSecurityPolicyNames(&sv.SecurityPolicyNames, value); err != nil { return err } + default: _, _ = key, value @@ -13789,10 +14110,12 @@ func awsAwsjson11_deserializeOpDocumentListServersOutput(v **ListServersOutput, } sv.NextToken = ptr.String(jtv) } + case "Servers": if err := awsAwsjson11_deserializeDocumentListedServers(&sv.Servers, value); err != nil { return err } + default: _, _ = key, value @@ -13832,6 +14155,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.Arn = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13840,10 +14164,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13883,6 +14209,7 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -13891,10 +14218,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.ServerId = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentListedUsers(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -13934,10 +14263,12 @@ func awsAwsjson11_deserializeOpDocumentListWorkflowsOutput(v **ListWorkflowsOutp } sv.NextToken = ptr.String(jtv) } + case "Workflows": if err := awsAwsjson11_deserializeDocumentListedWorkflows(&sv.Workflows, value); err != nil { return err } + default: _, _ = key, value @@ -14008,6 +14339,7 @@ func awsAwsjson11_deserializeOpDocumentStartDirectoryListingOutput(v **StartDire } sv.ListingId = ptr.String(jtv) } + case "OutputFileName": if value != nil { jtv, ok := value.(string) @@ -14016,6 +14348,7 @@ func awsAwsjson11_deserializeOpDocumentStartDirectoryListingOutput(v **StartDire } sv.OutputFileName = ptr.String(jtv) } + default: _, _ = key, value @@ -14055,6 +14388,7 @@ func awsAwsjson11_deserializeOpDocumentStartFileTransferOutput(v **StartFileTran } sv.TransferId = ptr.String(jtv) } + default: _, _ = key, value @@ -14094,6 +14428,7 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.ConnectorId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -14102,6 +14437,7 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.Status = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -14110,6 +14446,7 @@ func awsAwsjson11_deserializeOpDocumentTestConnectionOutput(v **TestConnectionOu } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -14149,6 +14486,7 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Message = ptr.String(jtv) } + case "Response": if value != nil { jtv, ok := value.(string) @@ -14157,6 +14495,7 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Response = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -14169,6 +14508,7 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.StatusCode = int32(i64) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -14177,6 +14517,7 @@ func awsAwsjson11_deserializeOpDocumentTestIdentityProviderOutput(v **TestIdenti } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -14216,6 +14557,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAccessOutput(v **UpdateAccessOutput } sv.ExternalId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14224,6 +14566,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAccessOutput(v **UpdateAccessOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -14263,6 +14606,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateAgreementOutput(v **UpdateAgreement } sv.AgreementId = ptr.String(jtv) } + default: _, _ = key, value @@ -14302,6 +14646,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateCertificateOutput(v **UpdateCertifi } sv.CertificateId = ptr.String(jtv) } + default: _, _ = key, value @@ -14341,6 +14686,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateConnectorOutput(v **UpdateConnector } sv.ConnectorId = ptr.String(jtv) } + default: _, _ = key, value @@ -14380,6 +14726,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateHostKeyOutput(v **UpdateHostKeyOutp } sv.HostKeyId = ptr.String(jtv) } + case "ServerId": if value != nil { jtv, ok := value.(string) @@ -14388,6 +14735,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateHostKeyOutput(v **UpdateHostKeyOutp } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -14427,6 +14775,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp } sv.ProfileId = ptr.String(jtv) } + default: _, _ = key, value @@ -14466,6 +14815,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateServerOutput(v **UpdateServerOutput } sv.ServerId = ptr.String(jtv) } + default: _, _ = key, value @@ -14505,6 +14855,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.ServerId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -14513,6 +14864,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/translate/deserializers.go b/service/translate/deserializers.go index af06fbcec46..3cebfc850be 100644 --- a/service/translate/deserializers.go +++ b/service/translate/deserializers.go @@ -2889,10 +2889,12 @@ func awsAwsjson11_deserializeDocumentAppliedTerminology(v **types.AppliedTermino } sv.Name = ptr.String(jtv) } + case "Terms": if err := awsAwsjson11_deserializeDocumentTermList(&sv.Terms, value); err != nil { return err } + default: _, _ = key, value @@ -2966,6 +2968,7 @@ func awsAwsjson11_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3005,6 +3008,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3044,6 +3048,7 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** } sv.DetectedLanguageCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -3052,6 +3057,7 @@ func awsAwsjson11_deserializeDocumentDetectedLanguageLowConfidenceException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3091,6 +3097,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -3099,6 +3106,7 @@ func awsAwsjson11_deserializeDocumentEncryptionKey(v **types.EncryptionKey, valu } sv.Type = types.EncryptionKeyType(jtv) } + default: _, _ = key, value @@ -3138,6 +3146,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.ContentType = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3146,6 +3155,7 @@ func awsAwsjson11_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3185,6 +3195,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3224,6 +3235,7 @@ func awsAwsjson11_deserializeDocumentInvalidFilterException(v **types.InvalidFil } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3263,6 +3275,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValueException(v **types.In } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3302,6 +3315,7 @@ func awsAwsjson11_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3345,6 +3359,7 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.DocumentsWithErrorsCount = ptr.Int32(int32(i64)) } + case "InputDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3357,6 +3372,7 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.InputDocumentsCount = ptr.Int32(int32(i64)) } + case "TranslatedDocumentsCount": if value != nil { jtv, ok := value.(json.Number) @@ -3369,6 +3385,7 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte } sv.TranslatedDocumentsCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3408,6 +3425,7 @@ func awsAwsjson11_deserializeDocumentLanguage(v **types.Language, value interfac } sv.LanguageCode = ptr.String(jtv) } + case "LanguageName": if value != nil { jtv, ok := value.(string) @@ -3416,6 +3434,7 @@ func awsAwsjson11_deserializeDocumentLanguage(v **types.Language, value interfac } sv.LanguageName = ptr.String(jtv) } + default: _, _ = key, value @@ -3525,6 +3544,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3560,6 +3580,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3568,6 +3589,7 @@ func awsAwsjson11_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3607,6 +3629,7 @@ func awsAwsjson11_deserializeDocumentParallelDataConfig(v **types.ParallelDataCo } sv.Format = types.ParallelDataFormat(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -3615,6 +3638,7 @@ func awsAwsjson11_deserializeDocumentParallelDataConfig(v **types.ParallelDataCo } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -3654,6 +3678,7 @@ func awsAwsjson11_deserializeDocumentParallelDataDataLocation(v **types.Parallel } sv.Location = ptr.String(jtv) } + case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -3662,6 +3687,7 @@ func awsAwsjson11_deserializeDocumentParallelDataDataLocation(v **types.Parallel } sv.RepositoryType = ptr.String(jtv) } + default: _, _ = key, value @@ -3701,6 +3727,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -3716,6 +3743,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -3724,10 +3752,12 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Description = ptr.String(jtv) } + case "EncryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "FailedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3740,6 +3770,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.FailedRecordCount = ptr.Int64(i64) } + case "ImportedDataSize": if value != nil { jtv, ok := value.(json.Number) @@ -3752,6 +3783,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.ImportedDataSize = ptr.Int64(i64) } + case "ImportedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3764,6 +3796,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.ImportedRecordCount = ptr.Int64(i64) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3779,6 +3812,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } + case "LatestUpdateAttemptAt": if value != nil { switch jtv := value.(type) { @@ -3794,6 +3828,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } } + case "LatestUpdateAttemptStatus": if value != nil { jtv, ok := value.(string) @@ -3802,6 +3837,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.LatestUpdateAttemptStatus = types.ParallelDataStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -3810,6 +3846,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -3818,10 +3855,12 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Name = ptr.String(jtv) } + case "ParallelDataConfig": if err := awsAwsjson11_deserializeDocumentParallelDataConfig(&sv.ParallelDataConfig, value); err != nil { return err } + case "SkippedRecordCount": if value != nil { jtv, ok := value.(json.Number) @@ -3834,6 +3873,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.SkippedRecordCount = ptr.Int64(i64) } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -3842,6 +3882,7 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.SourceLanguageCode = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -3850,10 +3891,12 @@ func awsAwsjson11_deserializeDocumentParallelDataProperties(v **types.ParallelDa } sv.Status = types.ParallelDataStatus(jtv) } + case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } + default: _, _ = key, value @@ -3963,6 +4006,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4002,6 +4046,7 @@ func awsAwsjson11_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4041,6 +4086,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -4049,6 +4095,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -4158,6 +4205,7 @@ func awsAwsjson11_deserializeDocumentTerm(v **types.Term, value interface{}) err } sv.SourceText = ptr.String(jtv) } + case "TargetText": if value != nil { jtv, ok := value.(string) @@ -4166,6 +4214,7 @@ func awsAwsjson11_deserializeDocumentTerm(v **types.Term, value interface{}) err } sv.TargetText = ptr.String(jtv) } + default: _, _ = key, value @@ -4205,6 +4254,7 @@ func awsAwsjson11_deserializeDocumentTerminologyDataLocation(v **types.Terminolo } sv.Location = ptr.String(jtv) } + case "RepositoryType": if value != nil { jtv, ok := value.(string) @@ -4213,6 +4263,7 @@ func awsAwsjson11_deserializeDocumentTerminologyDataLocation(v **types.Terminolo } sv.RepositoryType = ptr.String(jtv) } + default: _, _ = key, value @@ -4252,6 +4303,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4267,6 +4319,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4275,6 +4328,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Description = ptr.String(jtv) } + case "Directionality": if value != nil { jtv, ok := value.(string) @@ -4283,10 +4337,12 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Directionality = types.Directionality(jtv) } + case "EncryptionKey": if err := awsAwsjson11_deserializeDocumentEncryptionKey(&sv.EncryptionKey, value); err != nil { return err } + case "Format": if value != nil { jtv, ok := value.(string) @@ -4295,6 +4351,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Format = types.TerminologyDataFormat(jtv) } + case "LastUpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4310,6 +4367,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4318,6 +4376,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4326,6 +4385,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.Name = ptr.String(jtv) } + case "SizeBytes": if value != nil { jtv, ok := value.(json.Number) @@ -4338,6 +4398,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SizeBytes = ptr.Int32(int32(i64)) } + case "SkippedTermCount": if value != nil { jtv, ok := value.(json.Number) @@ -4350,6 +4411,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SkippedTermCount = ptr.Int32(int32(i64)) } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4358,10 +4420,12 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.SourceLanguageCode = ptr.String(jtv) } + case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } + case "TermCount": if value != nil { jtv, ok := value.(json.Number) @@ -4374,6 +4438,7 @@ func awsAwsjson11_deserializeDocumentTerminologyProperties(v **types.Terminology } sv.TermCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4481,6 +4546,7 @@ func awsAwsjson11_deserializeDocumentTextSizeLimitExceededException(v **types.Te } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4520,6 +4586,7 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.DataAccessRoleArn = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -4535,14 +4602,17 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } } + case "InputDataConfig": if err := awsAwsjson11_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobDetails": if err := awsAwsjson11_deserializeDocumentJobDetails(&sv.JobDetails, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -4551,6 +4621,7 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -4559,6 +4630,7 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobName = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -4567,6 +4639,7 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.JobStatus = types.JobStatus(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -4575,18 +4648,22 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.Message = ptr.String(jtv) } + case "OutputDataConfig": if err := awsAwsjson11_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "ParallelDataNames": if err := awsAwsjson11_deserializeDocumentResourceNameList(&sv.ParallelDataNames, value); err != nil { return err } + case "Settings": if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.Settings, value); err != nil { return err } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4595,6 +4672,7 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } sv.SourceLanguageCode = ptr.String(jtv) } + case "SubmittedTime": if value != nil { switch jtv := value.(type) { @@ -4610,14 +4688,17 @@ func awsAwsjson11_deserializeDocumentTextTranslationJobProperties(v **types.Text } } + case "TargetLanguageCodes": if err := awsAwsjson11_deserializeDocumentTargetLanguageCodeStringList(&sv.TargetLanguageCodes, value); err != nil { return err } + case "TerminologyNames": if err := awsAwsjson11_deserializeDocumentResourceNameList(&sv.TerminologyNames, value); err != nil { return err } + default: _, _ = key, value @@ -4691,6 +4772,7 @@ func awsAwsjson11_deserializeDocumentTooManyRequestsException(v **types.TooManyR } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4730,6 +4812,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -4738,6 +4821,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4781,6 +4865,7 @@ func awsAwsjson11_deserializeDocumentTranslatedDocument(v **types.TranslatedDocu } sv.Content = dv } + default: _, _ = key, value @@ -4820,6 +4905,7 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Brevity = types.Brevity(jtv) } + case "Formality": if value != nil { jtv, ok := value.(string) @@ -4828,6 +4914,7 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Formality = types.Formality(jtv) } + case "Profanity": if value != nil { jtv, ok := value.(string) @@ -4836,6 +4923,7 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe } sv.Profanity = types.Profanity(jtv) } + default: _, _ = key, value @@ -4875,6 +4963,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * } sv.DisplayLanguageCode = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4883,6 +4972,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4922,6 +5012,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.Message = ptr.String(jtv) } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4930,6 +5021,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.SourceLanguageCode = ptr.String(jtv) } + case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -4938,6 +5030,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types. } sv.TargetLanguageCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4977,6 +5070,7 @@ func awsAwsjson11_deserializeOpDocumentCreateParallelDataOutput(v **CreateParall } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4985,6 +5079,7 @@ func awsAwsjson11_deserializeOpDocumentCreateParallelDataOutput(v **CreateParall } sv.Status = types.ParallelDataStatus(jtv) } + default: _, _ = key, value @@ -5024,6 +5119,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteParallelDataOutput(v **DeleteParall } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5032,6 +5128,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteParallelDataOutput(v **DeleteParall } sv.Status = types.ParallelDataStatus(jtv) } + default: _, _ = key, value @@ -5067,6 +5164,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTextTranslationJobOutput(v **Desc if err := awsAwsjson11_deserializeDocumentTextTranslationJobProperties(&sv.TextTranslationJobProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5102,18 +5200,22 @@ func awsAwsjson11_deserializeOpDocumentGetParallelDataOutput(v **GetParallelData if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } + case "DataLocation": if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.DataLocation, value); err != nil { return err } + case "LatestUpdateAttemptAuxiliaryDataLocation": if err := awsAwsjson11_deserializeDocumentParallelDataDataLocation(&sv.LatestUpdateAttemptAuxiliaryDataLocation, value); err != nil { return err } + case "ParallelDataProperties": if err := awsAwsjson11_deserializeDocumentParallelDataProperties(&sv.ParallelDataProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5149,14 +5251,17 @@ func awsAwsjson11_deserializeOpDocumentGetTerminologyOutput(v **GetTerminologyOu if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } + case "TerminologyDataLocation": if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.TerminologyDataLocation, value); err != nil { return err } + case "TerminologyProperties": if err := awsAwsjson11_deserializeDocumentTerminologyProperties(&sv.TerminologyProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5192,10 +5297,12 @@ func awsAwsjson11_deserializeOpDocumentImportTerminologyOutput(v **ImportTermino if err := awsAwsjson11_deserializeDocumentTerminologyDataLocation(&sv.AuxiliaryDataLocation, value); err != nil { return err } + case "TerminologyProperties": if err := awsAwsjson11_deserializeDocumentTerminologyProperties(&sv.TerminologyProperties, value); err != nil { return err } + default: _, _ = key, value @@ -5235,10 +5342,12 @@ func awsAwsjson11_deserializeOpDocumentListLanguagesOutput(v **ListLanguagesOutp } sv.DisplayLanguageCode = types.DisplayLanguageCode(jtv) } + case "Languages": if err := awsAwsjson11_deserializeDocumentLanguagesList(&sv.Languages, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5247,6 +5356,7 @@ func awsAwsjson11_deserializeOpDocumentListLanguagesOutput(v **ListLanguagesOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -5286,10 +5396,12 @@ func awsAwsjson11_deserializeOpDocumentListParallelDataOutput(v **ListParallelDa } sv.NextToken = ptr.String(jtv) } + case "ParallelDataPropertiesList": if err := awsAwsjson11_deserializeDocumentParallelDataPropertiesList(&sv.ParallelDataPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -5325,6 +5437,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -5364,10 +5477,12 @@ func awsAwsjson11_deserializeOpDocumentListTerminologiesOutput(v **ListTerminolo } sv.NextToken = ptr.String(jtv) } + case "TerminologyPropertiesList": if err := awsAwsjson11_deserializeDocumentTerminologyPropertiesList(&sv.TerminologyPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -5407,10 +5522,12 @@ func awsAwsjson11_deserializeOpDocumentListTextTranslationJobsOutput(v **ListTex } sv.NextToken = ptr.String(jtv) } + case "TextTranslationJobPropertiesList": if err := awsAwsjson11_deserializeDocumentTextTranslationJobPropertiesList(&sv.TextTranslationJobPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -5450,6 +5567,7 @@ func awsAwsjson11_deserializeOpDocumentStartTextTranslationJobOutput(v **StartTe } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5458,6 +5576,7 @@ func awsAwsjson11_deserializeOpDocumentStartTextTranslationJobOutput(v **StartTe } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -5497,6 +5616,7 @@ func awsAwsjson11_deserializeOpDocumentStopTextTranslationJobOutput(v **StopText } sv.JobId = ptr.String(jtv) } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5505,6 +5625,7 @@ func awsAwsjson11_deserializeOpDocumentStopTextTranslationJobOutput(v **StopText } sv.JobStatus = types.JobStatus(jtv) } + default: _, _ = key, value @@ -5571,10 +5692,12 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.AppliedSettings, value); err != nil { return err } + case "AppliedTerminologies": if err := awsAwsjson11_deserializeDocumentAppliedTerminologyList(&sv.AppliedTerminologies, value); err != nil { return err } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5583,6 +5706,7 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu } sv.SourceLanguageCode = ptr.String(jtv) } + case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5591,10 +5715,12 @@ func awsAwsjson11_deserializeOpDocumentTranslateDocumentOutput(v **TranslateDocu } sv.TargetLanguageCode = ptr.String(jtv) } + case "TranslatedDocument": if err := awsAwsjson11_deserializeDocumentTranslatedDocument(&sv.TranslatedDocument, value); err != nil { return err } + default: _, _ = key, value @@ -5630,10 +5756,12 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp if err := awsAwsjson11_deserializeDocumentTranslationSettings(&sv.AppliedSettings, value); err != nil { return err } + case "AppliedTerminologies": if err := awsAwsjson11_deserializeDocumentAppliedTerminologyList(&sv.AppliedTerminologies, value); err != nil { return err } + case "SourceLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5642,6 +5770,7 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.SourceLanguageCode = ptr.String(jtv) } + case "TargetLanguageCode": if value != nil { jtv, ok := value.(string) @@ -5650,6 +5779,7 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.TargetLanguageCode = ptr.String(jtv) } + case "TranslatedText": if value != nil { jtv, ok := value.(string) @@ -5658,6 +5788,7 @@ func awsAwsjson11_deserializeOpDocumentTranslateTextOutput(v **TranslateTextOutp } sv.TranslatedText = ptr.String(jtv) } + default: _, _ = key, value @@ -5735,6 +5866,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } } + case "LatestUpdateAttemptStatus": if value != nil { jtv, ok := value.(string) @@ -5743,6 +5875,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.LatestUpdateAttemptStatus = types.ParallelDataStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5751,6 +5884,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.Name = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5759,6 +5893,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateParallelDataOutput(v **UpdateParall } sv.Status = types.ParallelDataStatus(jtv) } + default: _, _ = key, value diff --git a/service/trustedadvisor/deserializers.go b/service/trustedadvisor/deserializers.go index edfe959e29e..eb766eda5a2 100644 --- a/service/trustedadvisor/deserializers.go +++ b/service/trustedadvisor/deserializers.go @@ -185,6 +185,7 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRecommendationResourceExclusio if err := awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionErrorList(&sv.BatchUpdateRecommendationResourceExclusionErrors, value); err != nil { return err } + default: _, _ = key, value @@ -348,6 +349,7 @@ func awsRestjson1_deserializeOpDocumentGetOrganizationRecommendationOutput(v **G if err := awsRestjson1_deserializeDocumentOrganizationRecommendation(&sv.OrganizationRecommendation, value); err != nil { return err } + default: _, _ = key, value @@ -511,6 +513,7 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationOutput(v **GetRecommenda if err := awsRestjson1_deserializeDocumentRecommendation(&sv.Recommendation, value); err != nil { return err } + default: _, _ = key, value @@ -671,6 +674,7 @@ func awsRestjson1_deserializeOpDocumentListChecksOutput(v **ListChecksOutput, va if err := awsRestjson1_deserializeDocumentCheckSummaryList(&sv.CheckSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -679,6 +683,7 @@ func awsRestjson1_deserializeOpDocumentListChecksOutput(v **ListChecksOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -842,6 +847,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationAccountsOut if err := awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummaryList(&sv.AccountRecommendationLifecycleSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -850,6 +856,7 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationAccountsOut } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1017,10 +1024,12 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationResourcesOu } sv.NextToken = ptr.String(jtv) } + case "organizationRecommendationResourceSummaries": if err := awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummaryList(&sv.OrganizationRecommendationResourceSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1185,10 +1194,12 @@ func awsRestjson1_deserializeOpDocumentListOrganizationRecommendationsOutput(v * } sv.NextToken = ptr.String(jtv) } + case "organizationRecommendationSummaries": if err := awsRestjson1_deserializeDocumentOrganizationRecommendationSummaryList(&sv.OrganizationRecommendationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1356,10 +1367,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationResourcesOutput(v **Lis } sv.NextToken = ptr.String(jtv) } + case "recommendationResourceSummaries": if err := awsRestjson1_deserializeDocumentRecommendationResourceSummaryList(&sv.RecommendationResourceSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -1524,10 +1537,12 @@ func awsRestjson1_deserializeOpDocumentListRecommendationsOutput(v **ListRecomme } sv.NextToken = ptr.String(jtv) } + case "recommendationSummaries": if err := awsRestjson1_deserializeDocumentRecommendationSummaryList(&sv.RecommendationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -2001,6 +2016,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2040,6 +2056,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.AccountId = ptr.String(jtv) } + case "accountRecommendationArn": if value != nil { jtv, ok := value.(string) @@ -2048,6 +2065,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.AccountRecommendationArn = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2060,6 +2078,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.LastUpdatedAt = ptr.Time(t) } + case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2068,6 +2087,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } + case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -2076,6 +2096,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdatedOnBehalfOf = ptr.String(jtv) } + case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -2084,6 +2105,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } + case "updateReason": if value != nil { jtv, ok := value.(string) @@ -2092,6 +2114,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdateReason = ptr.String(jtv) } + case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -2100,6 +2123,7 @@ func awsRestjson1_deserializeDocumentAccountRecommendationLifecycleSummary(v **t } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } + default: _, _ = key, value @@ -2173,10 +2197,12 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Arn = ptr.String(jtv) } + case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } + case "description": if value != nil { jtv, ok := value.(string) @@ -2185,6 +2211,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2193,10 +2220,12 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Id = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -2205,10 +2234,12 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Name = ptr.String(jtv) } + case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -2217,6 +2248,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Source = types.RecommendationSource(jtv) } + default: _, _ = key, value @@ -2290,6 +2322,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2329,6 +2362,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2368,10 +2402,12 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Arn = ptr.String(jtv) } + case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } + case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2380,6 +2416,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CheckArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2392,6 +2429,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2400,6 +2438,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2408,6 +2447,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2416,6 +2456,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2428,6 +2469,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.LastUpdatedAt = ptr.Time(t) } + case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2436,6 +2478,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2444,14 +2487,17 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Name = ptr.String(jtv) } + case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } + case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } + case "resolvedAt": if value != nil { jtv, ok := value.(string) @@ -2464,10 +2510,12 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.ResolvedAt = ptr.Time(t) } + case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -2476,6 +2524,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Source = types.RecommendationSource(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2484,6 +2533,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Status = types.RecommendationStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2492,6 +2542,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.Type = types.RecommendationType(jtv) } + case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -2500,6 +2551,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdatedOnBehalfOf = ptr.String(jtv) } + case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -2508,6 +2560,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } + case "updateReason": if value != nil { jtv, ok := value.(string) @@ -2516,6 +2569,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdateReason = ptr.String(jtv) } + case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -2524,6 +2578,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendation(v **types.Organi } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } + default: _, _ = key, value @@ -2563,6 +2618,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.AccountId = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -2571,6 +2627,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Arn = ptr.String(jtv) } + case "awsResourceId": if value != nil { jtv, ok := value.(string) @@ -2579,6 +2636,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.AwsResourceId = ptr.String(jtv) } + case "exclusionStatus": if value != nil { jtv, ok := value.(string) @@ -2587,6 +2645,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.ExclusionStatus = types.ExclusionStatus(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2595,6 +2654,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2607,10 +2667,12 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.LastUpdatedAt = ptr.Time(t) } + case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } + case "recommendationArn": if value != nil { jtv, ok := value.(string) @@ -2619,6 +2681,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.RecommendationArn = ptr.String(jtv) } + case "regionCode": if value != nil { jtv, ok := value.(string) @@ -2627,6 +2690,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.RegionCode = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2635,6 +2699,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationResourceSummary(v } sv.Status = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -2708,10 +2773,12 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Arn = ptr.String(jtv) } + case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } + case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2720,6 +2787,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.CheckArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2732,6 +2800,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2740,6 +2809,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2752,6 +2822,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.LastUpdatedAt = ptr.Time(t) } + case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2760,6 +2831,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2768,18 +2840,22 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Name = ptr.String(jtv) } + case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } + case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } + case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -2788,6 +2864,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Source = types.RecommendationSource(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2796,6 +2873,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Status = types.RecommendationStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -2804,6 +2882,7 @@ func awsRestjson1_deserializeDocumentOrganizationRecommendationSummary(v **types } sv.Type = types.RecommendationType(jtv) } + default: _, _ = key, value @@ -2877,10 +2956,12 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Arn = ptr.String(jtv) } + case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } + case "checkArn": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2970,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CheckArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -2901,6 +2983,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -2909,6 +2992,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.CreatedBy = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -2917,6 +3001,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Description = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2925,6 +3010,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -2937,6 +3023,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.LastUpdatedAt = ptr.Time(t) } + case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -2945,6 +3032,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2953,14 +3041,17 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Name = ptr.String(jtv) } + case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } + case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } + case "resolvedAt": if value != nil { jtv, ok := value.(string) @@ -2973,10 +3064,12 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.ResolvedAt = ptr.Time(t) } + case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -2985,6 +3078,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Source = types.RecommendationSource(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2993,6 +3087,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Status = types.RecommendationStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3001,6 +3096,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.Type = types.RecommendationType(jtv) } + case "updatedOnBehalfOf": if value != nil { jtv, ok := value.(string) @@ -3009,6 +3105,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdatedOnBehalfOf = ptr.String(jtv) } + case "updatedOnBehalfOfJobTitle": if value != nil { jtv, ok := value.(string) @@ -3017,6 +3114,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdatedOnBehalfOfJobTitle = ptr.String(jtv) } + case "updateReason": if value != nil { jtv, ok := value.(string) @@ -3025,6 +3123,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdateReason = ptr.String(jtv) } + case "updateReasonCode": if value != nil { jtv, ok := value.(string) @@ -3033,6 +3132,7 @@ func awsRestjson1_deserializeDocumentRecommendation(v **types.Recommendation, va } sv.UpdateReasonCode = types.UpdateRecommendationLifecycleStageReasonCode(jtv) } + default: _, _ = key, value @@ -3133,6 +3233,7 @@ func awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(v ** } } + case "estimatedPercentMonthlySavings": if value != nil { switch jtv := value.(type) { @@ -3166,6 +3267,7 @@ func awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(v ** } } + default: _, _ = key, value @@ -3237,6 +3339,7 @@ func awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(v ** if err := awsRestjson1_deserializeDocumentRecommendationCostOptimizingAggregates(&sv.CostOptimizing, value); err != nil { return err } + default: _, _ = key, value @@ -3280,6 +3383,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.ErrorCount = ptr.Int64(i64) } + case "okCount": if value != nil { jtv, ok := value.(json.Number) @@ -3292,6 +3396,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.OkCount = ptr.Int64(i64) } + case "warningCount": if value != nil { jtv, ok := value.(json.Number) @@ -3304,6 +3409,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(v **types } sv.WarningCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -3343,6 +3449,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Arn = ptr.String(jtv) } + case "awsResourceId": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3458,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.AwsResourceId = ptr.String(jtv) } + case "exclusionStatus": if value != nil { jtv, ok := value.(string) @@ -3359,6 +3467,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.ExclusionStatus = types.ExclusionStatus(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3367,6 +3476,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3379,10 +3489,12 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.LastUpdatedAt = ptr.Time(t) } + case "metadata": if err := awsRestjson1_deserializeDocumentStringMap(&sv.Metadata, value); err != nil { return err } + case "recommendationArn": if value != nil { jtv, ok := value.(string) @@ -3391,6 +3503,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.RecommendationArn = ptr.String(jtv) } + case "regionCode": if value != nil { jtv, ok := value.(string) @@ -3399,6 +3512,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.RegionCode = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3407,6 +3521,7 @@ func awsRestjson1_deserializeDocumentRecommendationResourceSummary(v **types.Rec } sv.Status = types.ResourceStatus(jtv) } + default: _, _ = key, value @@ -3480,10 +3595,12 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Arn = ptr.String(jtv) } + case "awsServices": if err := awsRestjson1_deserializeDocumentRecommendationAwsServiceList(&sv.AwsServices, value); err != nil { return err } + case "checkArn": if value != nil { jtv, ok := value.(string) @@ -3492,6 +3609,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.CheckArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3504,6 +3622,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3512,6 +3631,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3524,6 +3644,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.LastUpdatedAt = ptr.Time(t) } + case "lifecycleStage": if value != nil { jtv, ok := value.(string) @@ -3532,6 +3653,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.LifecycleStage = types.RecommendationLifecycleStage(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3540,18 +3662,22 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Name = ptr.String(jtv) } + case "pillars": if err := awsRestjson1_deserializeDocumentRecommendationPillarList(&sv.Pillars, value); err != nil { return err } + case "pillarSpecificAggregates": if err := awsRestjson1_deserializeDocumentRecommendationPillarSpecificAggregates(&sv.PillarSpecificAggregates, value); err != nil { return err } + case "resourcesAggregates": if err := awsRestjson1_deserializeDocumentRecommendationResourcesAggregates(&sv.ResourcesAggregates, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -3560,6 +3686,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Source = types.RecommendationSource(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3568,6 +3695,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Status = types.RecommendationStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3576,6 +3704,7 @@ func awsRestjson1_deserializeDocumentRecommendationSummary(v **types.Recommendat } sv.Type = types.RecommendationType(jtv) } + default: _, _ = key, value @@ -3649,6 +3778,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3724,6 +3854,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3763,6 +3894,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.Arn = ptr.String(jtv) } + case "errorCode": if value != nil { jtv, ok := value.(string) @@ -3771,6 +3903,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.ErrorCode = ptr.String(jtv) } + case "errorMessage": if value != nil { jtv, ok := value.(string) @@ -3779,6 +3912,7 @@ func awsRestjson1_deserializeDocumentUpdateRecommendationResourceExclusionError( } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -3852,6 +3986,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/verifiedpermissions/deserializers.go b/service/verifiedpermissions/deserializers.go index 8496f6c2a13..e0795b884e5 100644 --- a/service/verifiedpermissions/deserializers.go +++ b/service/verifiedpermissions/deserializers.go @@ -3547,6 +3547,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3586,6 +3587,7 @@ func awsAwsjson10_deserializeDocumentActionIdentifier(v **types.ActionIdentifier } sv.ActionId = ptr.String(jtv) } + case "actionType": if value != nil { jtv, ok := value.(string) @@ -3594,6 +3596,7 @@ func awsAwsjson10_deserializeDocumentActionIdentifier(v **types.ActionIdentifier } sv.ActionType = ptr.String(jtv) } + default: _, _ = key, value @@ -3795,18 +3798,22 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedInputItem(v **types.BatchI if err := awsAwsjson10_deserializeDocumentActionIdentifier(&sv.Action, value); err != nil { return err } + case "context": if err := awsAwsjson10_deserializeDocumentContextDefinition(&sv.Context, value); err != nil { return err } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -3846,18 +3853,22 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedOutputItem(v **types.Batch } sv.Decision = types.Decision(jtv) } + case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } + case "request": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedInputItem(&sv.Request, value); err != nil { return err } + default: _, _ = key, value @@ -3927,14 +3938,17 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenInputItem(v **typ if err := awsAwsjson10_deserializeDocumentActionIdentifier(&sv.Action, value); err != nil { return err } + case "context": if err := awsAwsjson10_deserializeDocumentContextDefinition(&sv.Context, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -3974,18 +3988,22 @@ func awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenOutputItem(v **ty } sv.Decision = types.Decision(jtv) } + case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } + case "request": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenInputItem(&sv.Request, value); err != nil { return err } + default: _, _ = key, value @@ -4095,6 +4113,7 @@ func awsAwsjson10_deserializeDocumentCognitoGroupConfigurationDetail(v **types.C } sv.GroupEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -4134,6 +4153,7 @@ func awsAwsjson10_deserializeDocumentCognitoGroupConfigurationItem(v **types.Cog } sv.GroupEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -4169,10 +4189,12 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentCognitoGroupConfigurationDetail(&sv.GroupConfiguration, value); err != nil { return err } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -4181,6 +4203,7 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type } sv.Issuer = ptr.String(jtv) } + case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4189,6 +4212,7 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationDetail(v **type } sv.UserPoolArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4224,10 +4248,12 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentCognitoGroupConfigurationItem(&sv.GroupConfiguration, value); err != nil { return err } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -4236,6 +4262,7 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. } sv.Issuer = ptr.String(jtv) } + case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4244,6 +4271,7 @@ func awsAwsjson10_deserializeDocumentCognitoUserPoolConfigurationItem(v **types. } sv.UserPoolArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4383,10 +4411,12 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resources": if err := awsAwsjson10_deserializeDocumentResourceConflictList(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -4498,6 +4528,7 @@ func awsAwsjson10_deserializeDocumentDeterminingPolicyItem(v **types.Determining } sv.PolicyId = ptr.String(jtv) } + default: _, _ = key, value @@ -4571,6 +4602,7 @@ func awsAwsjson10_deserializeDocumentEntityIdentifier(v **types.EntityIdentifier } sv.EntityId = ptr.String(jtv) } + case "entityType": if value != nil { jtv, ok := value.(string) @@ -4579,6 +4611,7 @@ func awsAwsjson10_deserializeDocumentEntityIdentifier(v **types.EntityIdentifier } sv.EntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -4618,6 +4651,7 @@ func awsAwsjson10_deserializeDocumentEvaluationErrorItem(v **types.EvaluationErr } sv.ErrorDescription = ptr.String(jtv) } + default: _, _ = key, value @@ -4687,6 +4721,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "discoveryUrl": if value != nil { jtv, ok := value.(string) @@ -4695,6 +4730,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.DiscoveryUrl = ptr.String(jtv) } + case "openIdIssuer": if value != nil { jtv, ok := value.(string) @@ -4703,6 +4739,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.OpenIdIssuer = types.OpenIdIssuer(jtv) } + case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4711,6 +4748,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceDetails(v **types.IdentitySou } sv.UserPoolArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4746,6 +4784,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource if err := awsAwsjson10_deserializeDocumentConfigurationItem(&sv.Configuration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -4758,10 +4797,12 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.CreatedDate = ptr.Time(t) } + case "details": if err := awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(&sv.Details, value); err != nil { return err } + case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -4770,6 +4811,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.IdentitySourceId = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -4782,6 +4824,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -4790,6 +4833,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.PolicyStoreId = ptr.String(jtv) } + case "principalEntityType": if value != nil { jtv, ok := value.(string) @@ -4798,6 +4842,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItem(v **types.IdentitySource } sv.PrincipalEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -4833,6 +4878,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "discoveryUrl": if value != nil { jtv, ok := value.(string) @@ -4841,6 +4887,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.DiscoveryUrl = ptr.String(jtv) } + case "openIdIssuer": if value != nil { jtv, ok := value.(string) @@ -4849,6 +4896,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.OpenIdIssuer = types.OpenIdIssuer(jtv) } + case "userPoolArn": if value != nil { jtv, ok := value.(string) @@ -4857,6 +4905,7 @@ func awsAwsjson10_deserializeDocumentIdentitySourceItemDetails(v **types.Identit } sv.UserPoolArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4930,6 +4979,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5001,6 +5051,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationDetail if err := awsAwsjson10_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5009,6 +5060,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationDetail } sv.PrincipalIdClaim = ptr.String(jtv) } + default: _, _ = key, value @@ -5044,6 +5096,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationItem(v if err := awsAwsjson10_deserializeDocumentAudiences(&sv.Audiences, value); err != nil { return err } + case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5052,6 +5105,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectAccessTokenConfigurationItem(v } sv.PrincipalIdClaim = ptr.String(jtv) } + default: _, _ = key, value @@ -5091,10 +5145,12 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationDetail(v **types. } sv.EntityIdPrefix = ptr.String(jtv) } + case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(&sv.GroupConfiguration, value); err != nil { return err } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -5103,10 +5159,12 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationDetail(v **types. } sv.Issuer = ptr.String(jtv) } + case "tokenSelection": if err := awsAwsjson10_deserializeDocumentOpenIdConnectTokenSelectionDetail(&sv.TokenSelection, value); err != nil { return err } + default: _, _ = key, value @@ -5146,10 +5204,12 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationItem(v **types.Op } sv.EntityIdPrefix = ptr.String(jtv) } + case "groupConfiguration": if err := awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(&sv.GroupConfiguration, value); err != nil { return err } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -5158,10 +5218,12 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectConfigurationItem(v **types.Op } sv.Issuer = ptr.String(jtv) } + case "tokenSelection": if err := awsAwsjson10_deserializeDocumentOpenIdConnectTokenSelectionItem(&sv.TokenSelection, value); err != nil { return err } + default: _, _ = key, value @@ -5201,6 +5263,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(v **t } sv.GroupClaim = ptr.String(jtv) } + case "groupEntityType": if value != nil { jtv, ok := value.(string) @@ -5209,6 +5272,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationDetail(v **t } sv.GroupEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -5248,6 +5312,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(v **typ } sv.GroupClaim = ptr.String(jtv) } + case "groupEntityType": if value != nil { jtv, ok := value.(string) @@ -5256,6 +5321,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectGroupConfigurationItem(v **typ } sv.GroupEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -5291,6 +5357,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationDeta if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5299,6 +5366,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationDeta } sv.PrincipalIdClaim = ptr.String(jtv) } + default: _, _ = key, value @@ -5334,6 +5402,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationItem if err := awsAwsjson10_deserializeDocumentClientIds(&sv.ClientIds, value); err != nil { return err } + case "principalIdClaim": if value != nil { jtv, ok := value.(string) @@ -5342,6 +5411,7 @@ func awsAwsjson10_deserializeDocumentOpenIdConnectIdentityTokenConfigurationItem } sv.PrincipalIdClaim = ptr.String(jtv) } + default: _, _ = key, value @@ -5577,6 +5647,7 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5589,10 +5660,12 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.CreatedDate = ptr.Time(t) } + case "definition": if err := awsAwsjson10_deserializeDocumentPolicyDefinitionItem(&sv.Definition, value); err != nil { return err } + case "effect": if value != nil { jtv, ok := value.(string) @@ -5601,6 +5674,7 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.Effect = types.PolicyEffect(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5613,6 +5687,7 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.LastUpdatedDate = ptr.Time(t) } + case "policyId": if value != nil { jtv, ok := value.(string) @@ -5621,6 +5696,7 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyId = ptr.String(jtv) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5629,6 +5705,7 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyStoreId = ptr.String(jtv) } + case "policyType": if value != nil { jtv, ok := value.(string) @@ -5637,14 +5714,17 @@ func awsAwsjson10_deserializeDocumentPolicyItem(v **types.PolicyItem, value inte } sv.PolicyType = types.PolicyType(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -5718,6 +5798,7 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -5730,6 +5811,7 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5738,6 +5820,7 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5750,6 +5833,7 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5758,6 +5842,7 @@ func awsAwsjson10_deserializeDocumentPolicyStoreItem(v **types.PolicyStoreItem, } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -5835,6 +5920,7 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -5843,6 +5929,7 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -5855,6 +5942,7 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -5863,6 +5951,7 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.PolicyStoreId = ptr.String(jtv) } + case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -5871,6 +5960,7 @@ func awsAwsjson10_deserializeDocumentPolicyTemplateItem(v **types.PolicyTemplate } sv.PolicyTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -5978,6 +6068,7 @@ func awsAwsjson10_deserializeDocumentResourceConflict(v **types.ResourceConflict } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -5986,6 +6077,7 @@ func awsAwsjson10_deserializeDocumentResourceConflict(v **types.ResourceConflict } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -6059,6 +6151,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6067,6 +6160,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6075,6 +6169,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -6114,6 +6209,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6122,6 +6218,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -6130,6 +6227,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -6138,6 +6236,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = types.ResourceType(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6146,6 +6245,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6217,6 +6317,7 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionDetail(v **types.Stat } sv.Description = ptr.String(jtv) } + case "statement": if value != nil { jtv, ok := value.(string) @@ -6225,6 +6326,7 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionDetail(v **types.Stat } sv.Statement = ptr.String(jtv) } + default: _, _ = key, value @@ -6264,6 +6366,7 @@ func awsAwsjson10_deserializeDocumentStaticPolicyDefinitionItem(v **types.Static } sv.Description = ptr.String(jtv) } + default: _, _ = key, value @@ -6303,14 +6406,17 @@ func awsAwsjson10_deserializeDocumentTemplateLinkedPolicyDefinitionDetail(v **ty } sv.PolicyTemplateId = ptr.String(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -6350,14 +6456,17 @@ func awsAwsjson10_deserializeDocumentTemplateLinkedPolicyDefinitionItem(v **type } sv.PolicyTemplateId = ptr.String(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -6397,6 +6506,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -6405,6 +6515,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -6413,6 +6524,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -6448,6 +6560,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc if err := awsAwsjson10_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -6456,6 +6569,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6495,6 +6609,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -6503,6 +6618,7 @@ func awsAwsjson10_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -6576,6 +6692,7 @@ func awsAwsjson10_deserializeDocumentValidationSettings(v **types.ValidationSett } sv.Mode = types.ValidationMode(jtv) } + default: _, _ = key, value @@ -6611,6 +6728,7 @@ func awsAwsjson10_deserializeOpDocumentBatchIsAuthorizedOutput(v **BatchIsAuthor if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedOutputList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6646,10 +6764,12 @@ func awsAwsjson10_deserializeOpDocumentBatchIsAuthorizedWithTokenOutput(v **Batc if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "results": if err := awsAwsjson10_deserializeDocumentBatchIsAuthorizedWithTokenOutputList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -6693,6 +6813,7 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.CreatedDate = ptr.Time(t) } + case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -6701,6 +6822,7 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.IdentitySourceId = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6713,6 +6835,7 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6721,6 +6844,7 @@ func awsAwsjson10_deserializeOpDocumentCreateIdentitySourceOutput(v **CreateIden } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -6756,6 +6880,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -6768,6 +6893,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.CreatedDate = ptr.Time(t) } + case "effect": if value != nil { jtv, ok := value.(string) @@ -6776,6 +6902,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.Effect = types.PolicyEffect(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6788,6 +6915,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.LastUpdatedDate = ptr.Time(t) } + case "policyId": if value != nil { jtv, ok := value.(string) @@ -6796,6 +6924,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyId = ptr.String(jtv) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6804,6 +6933,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyStoreId = ptr.String(jtv) } + case "policyType": if value != nil { jtv, ok := value.(string) @@ -6812,14 +6942,17 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyOutput(v **CreatePolicyOutput } sv.PolicyType = types.PolicyType(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -6859,6 +6992,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -6871,6 +7005,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6883,6 +7018,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6891,6 +7027,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyStoreOutput(v **CreatePolicyS } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -6934,6 +7071,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -6946,6 +7084,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -6954,6 +7093,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.PolicyStoreId = ptr.String(jtv) } + case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -6962,6 +7102,7 @@ func awsAwsjson10_deserializeOpDocumentCreatePolicyTemplateOutput(v **CreatePoli } sv.PolicyTemplateId = ptr.String(jtv) } + default: _, _ = key, value @@ -7121,6 +7262,7 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo if err := awsAwsjson10_deserializeDocumentConfigurationDetail(&sv.Configuration, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7133,10 +7275,12 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.CreatedDate = ptr.Time(t) } + case "details": if err := awsAwsjson10_deserializeDocumentIdentitySourceDetails(&sv.Details, value); err != nil { return err } + case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -7145,6 +7289,7 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.IdentitySourceId = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7157,6 +7302,7 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7165,6 +7311,7 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.PolicyStoreId = ptr.String(jtv) } + case "principalEntityType": if value != nil { jtv, ok := value.(string) @@ -7173,6 +7320,7 @@ func awsAwsjson10_deserializeOpDocumentGetIdentitySourceOutput(v **GetIdentitySo } sv.PrincipalEntityType = ptr.String(jtv) } + default: _, _ = key, value @@ -7208,6 +7356,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7220,10 +7369,12 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "definition": if err := awsAwsjson10_deserializeDocumentPolicyDefinitionDetail(&sv.Definition, value); err != nil { return err } + case "effect": if value != nil { jtv, ok := value.(string) @@ -7232,6 +7383,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.Effect = types.PolicyEffect(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7244,6 +7396,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } + case "policyId": if value != nil { jtv, ok := value.(string) @@ -7252,6 +7405,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyId = ptr.String(jtv) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7260,6 +7414,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } + case "policyType": if value != nil { jtv, ok := value.(string) @@ -7268,14 +7423,17 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyOutput(v **GetPolicyOutput, valu } sv.PolicyType = types.PolicyType(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -7315,6 +7473,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7327,6 +7486,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7335,6 +7495,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7347,6 +7508,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7355,10 +7517,12 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyStoreOutput(v **GetPolicyStoreOu } sv.PolicyStoreId = ptr.String(jtv) } + case "validationSettings": if err := awsAwsjson10_deserializeDocumentValidationSettings(&sv.ValidationSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7402,6 +7566,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.CreatedDate = ptr.Time(t) } + case "description": if value != nil { jtv, ok := value.(string) @@ -7410,6 +7575,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.Description = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7422,6 +7588,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7430,6 +7597,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.PolicyStoreId = ptr.String(jtv) } + case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -7438,6 +7606,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.PolicyTemplateId = ptr.String(jtv) } + case "statement": if value != nil { jtv, ok := value.(string) @@ -7446,6 +7615,7 @@ func awsAwsjson10_deserializeOpDocumentGetPolicyTemplateOutput(v **GetPolicyTemp } sv.Statement = ptr.String(jtv) } + default: _, _ = key, value @@ -7489,6 +7659,7 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7501,10 +7672,12 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } + case "namespaces": if err := awsAwsjson10_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7513,6 +7686,7 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } + case "schema": if value != nil { jtv, ok := value.(string) @@ -7521,6 +7695,7 @@ func awsAwsjson10_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu } sv.Schema = ptr.String(jtv) } + default: _, _ = key, value @@ -7560,14 +7735,17 @@ func awsAwsjson10_deserializeOpDocumentIsAuthorizedOutput(v **IsAuthorizedOutput } sv.Decision = types.Decision(jtv) } + case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } + default: _, _ = key, value @@ -7607,18 +7785,22 @@ func awsAwsjson10_deserializeOpDocumentIsAuthorizedWithTokenOutput(v **IsAuthori } sv.Decision = types.Decision(jtv) } + case "determiningPolicies": if err := awsAwsjson10_deserializeDocumentDeterminingPolicyList(&sv.DeterminingPolicies, value); err != nil { return err } + case "errors": if err := awsAwsjson10_deserializeDocumentEvaluationErrorList(&sv.Errors, value); err != nil { return err } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + default: _, _ = key, value @@ -7654,6 +7836,7 @@ func awsAwsjson10_deserializeOpDocumentListIdentitySourcesOutput(v **ListIdentit if err := awsAwsjson10_deserializeDocumentIdentitySources(&sv.IdentitySources, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7662,6 +7845,7 @@ func awsAwsjson10_deserializeOpDocumentListIdentitySourcesOutput(v **ListIdentit } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7701,10 +7885,12 @@ func awsAwsjson10_deserializeOpDocumentListPoliciesOutput(v **ListPoliciesOutput } sv.NextToken = ptr.String(jtv) } + case "policies": if err := awsAwsjson10_deserializeDocumentPolicyList(&sv.Policies, value); err != nil { return err } + default: _, _ = key, value @@ -7744,10 +7930,12 @@ func awsAwsjson10_deserializeOpDocumentListPolicyStoresOutput(v **ListPolicyStor } sv.NextToken = ptr.String(jtv) } + case "policyStores": if err := awsAwsjson10_deserializeDocumentPolicyStoreList(&sv.PolicyStores, value); err != nil { return err } + default: _, _ = key, value @@ -7787,10 +7975,12 @@ func awsAwsjson10_deserializeOpDocumentListPolicyTemplatesOutput(v **ListPolicyT } sv.NextToken = ptr.String(jtv) } + case "policyTemplates": if err := awsAwsjson10_deserializeDocumentPolicyTemplatesList(&sv.PolicyTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -7834,6 +8024,7 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7846,10 +8037,12 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.LastUpdatedDate = ptr.Time(t) } + case "namespaces": if err := awsAwsjson10_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { return err } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7858,6 +8051,7 @@ func awsAwsjson10_deserializeOpDocumentPutSchemaOutput(v **PutSchemaOutput, valu } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -7901,6 +8095,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.CreatedDate = ptr.Time(t) } + case "identitySourceId": if value != nil { jtv, ok := value.(string) @@ -7909,6 +8104,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.IdentitySourceId = ptr.String(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7921,6 +8117,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -7929,6 +8126,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateIdentitySourceOutput(v **UpdateIden } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -7964,6 +8162,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput if err := awsAwsjson10_deserializeDocumentActionIdentifierList(&sv.Actions, value); err != nil { return err } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -7976,6 +8175,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.CreatedDate = ptr.Time(t) } + case "effect": if value != nil { jtv, ok := value.(string) @@ -7984,6 +8184,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.Effect = types.PolicyEffect(jtv) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -7996,6 +8197,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.LastUpdatedDate = ptr.Time(t) } + case "policyId": if value != nil { jtv, ok := value.(string) @@ -8004,6 +8206,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyId = ptr.String(jtv) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8012,6 +8215,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyStoreId = ptr.String(jtv) } + case "policyType": if value != nil { jtv, ok := value.(string) @@ -8020,14 +8224,17 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyOutput(v **UpdatePolicyOutput } sv.PolicyType = types.PolicyType(jtv) } + case "principal": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Principal, value); err != nil { return err } + case "resource": if err := awsAwsjson10_deserializeDocumentEntityIdentifier(&sv.Resource, value); err != nil { return err } + default: _, _ = key, value @@ -8067,6 +8274,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.Arn = ptr.String(jtv) } + case "createdDate": if value != nil { jtv, ok := value.(string) @@ -8079,6 +8287,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8091,6 +8300,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8099,6 +8309,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyStoreOutput(v **UpdatePolicyS } sv.PolicyStoreId = ptr.String(jtv) } + default: _, _ = key, value @@ -8142,6 +8353,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.CreatedDate = ptr.Time(t) } + case "lastUpdatedDate": if value != nil { jtv, ok := value.(string) @@ -8154,6 +8366,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.LastUpdatedDate = ptr.Time(t) } + case "policyStoreId": if value != nil { jtv, ok := value.(string) @@ -8162,6 +8375,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.PolicyStoreId = ptr.String(jtv) } + case "policyTemplateId": if value != nil { jtv, ok := value.(string) @@ -8170,6 +8384,7 @@ func awsAwsjson10_deserializeOpDocumentUpdatePolicyTemplateOutput(v **UpdatePoli } sv.PolicyTemplateId = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/voiceid/deserializers.go b/service/voiceid/deserializers.go index 284fb1f71e7..68cd0606659 100644 --- a/service/voiceid/deserializers.go +++ b/service/voiceid/deserializers.go @@ -3847,6 +3847,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -3890,6 +3891,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationConfiguration(v **types.Authe } sv.AcceptanceThreshold = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3936,6 +3938,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } } + case "AudioAggregationStartedAt": if value != nil { switch jtv := value.(type) { @@ -3951,6 +3954,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } } + case "AuthenticationResultId": if value != nil { jtv, ok := value.(string) @@ -3959,10 +3963,12 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.AuthenticationResultId = ptr.String(jtv) } + case "Configuration": if err := awsAwsjson10_deserializeDocumentAuthenticationConfiguration(&sv.Configuration, value); err != nil { return err } + case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -3971,6 +3977,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.CustomerSpeakerId = ptr.String(jtv) } + case "Decision": if value != nil { jtv, ok := value.(string) @@ -3979,6 +3986,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.Decision = types.AuthenticationDecision(jtv) } + case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -3987,6 +3995,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.GeneratedSpeakerId = ptr.String(jtv) } + case "Score": if value != nil { jtv, ok := value.(json.Number) @@ -3999,6 +4008,7 @@ func awsAwsjson10_deserializeDocumentAuthenticationResult(v **types.Authenticati } sv.Score = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4038,6 +4048,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ConflictType = types.ConflictType(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4046,6 +4057,7 @@ func awsAwsjson10_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -4085,6 +4097,7 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4100,6 +4113,7 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4108,6 +4122,7 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Description = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4116,6 +4131,7 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.DomainId = ptr.String(jtv) } + case "DomainStatus": if value != nil { jtv, ok := value.(string) @@ -4124,6 +4140,7 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.DomainStatus = types.DomainStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4132,14 +4149,17 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } sv.Name = ptr.String(jtv) } + case "ServerSideEncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "ServerSideEncryptionUpdateDetails": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4155,10 +4175,12 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) } } + case "WatchlistDetails": if err := awsAwsjson10_deserializeDocumentWatchlistDetails(&sv.WatchlistDetails, value); err != nil { return err } + default: _, _ = key, value @@ -4232,6 +4254,7 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Arn = ptr.String(jtv) } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -4247,6 +4270,7 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -4255,6 +4279,7 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Description = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4263,6 +4288,7 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainId = ptr.String(jtv) } + case "DomainStatus": if value != nil { jtv, ok := value.(string) @@ -4271,6 +4297,7 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.DomainStatus = types.DomainStatus(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -4279,14 +4306,17 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } sv.Name = ptr.String(jtv) } + case "ServerSideEncryptionConfiguration": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "ServerSideEncryptionUpdateDetails": if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4302,10 +4332,12 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu } } + case "WatchlistDetails": if err := awsAwsjson10_deserializeDocumentWatchlistDetails(&sv.WatchlistDetails, value); err != nil { return err } + default: _, _ = key, value @@ -4345,10 +4377,12 @@ func awsAwsjson10_deserializeDocumentEnrollmentConfig(v **types.EnrollmentConfig } sv.ExistingEnrollmentAction = types.ExistingEnrollmentAction(jtv) } + case "FraudDetectionConfig": if err := awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(&sv.FraudDetectionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4388,6 +4422,7 @@ func awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(v **types } sv.FraudDetectionAction = types.FraudDetectionAction(jtv) } + case "RiskThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -4400,10 +4435,12 @@ func awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfig(v **types } sv.RiskThreshold = ptr.Int32(int32(i64)) } + case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentEnrollmentJobFraudDetectionConfigWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } + default: _, _ = key, value @@ -4479,6 +4516,7 @@ func awsAwsjson10_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.Message = ptr.String(jtv) } + case "StatusCode": if value != nil { jtv, ok := value.(json.Number) @@ -4491,6 +4529,7 @@ func awsAwsjson10_deserializeDocumentFailureDetails(v **types.FailureDetails, va } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4534,6 +4573,7 @@ func awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(v **types.Fraud } sv.RiskThreshold = ptr.Int32(int32(i64)) } + case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -4542,6 +4582,7 @@ func awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(v **types.Fraud } sv.WatchlistId = ptr.String(jtv) } + default: _, _ = key, value @@ -4624,6 +4665,7 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } } + case "AudioAggregationStartedAt": if value != nil { switch jtv := value.(type) { @@ -4639,10 +4681,12 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } } + case "Configuration": if err := awsAwsjson10_deserializeDocumentFraudDetectionConfiguration(&sv.Configuration, value); err != nil { return err } + case "Decision": if value != nil { jtv, ok := value.(string) @@ -4651,6 +4695,7 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } sv.Decision = types.FraudDetectionDecision(jtv) } + case "FraudDetectionResultId": if value != nil { jtv, ok := value.(string) @@ -4659,14 +4704,17 @@ func awsAwsjson10_deserializeDocumentFraudDetectionResult(v **types.FraudDetecti } sv.FraudDetectionResultId = ptr.String(jtv) } + case "Reasons": if err := awsAwsjson10_deserializeDocumentFraudDetectionReasons(&sv.Reasons, value); err != nil { return err } + case "RiskDetails": if err := awsAwsjson10_deserializeDocumentFraudRiskDetails(&sv.RiskDetails, value); err != nil { return err } + default: _, _ = key, value @@ -4702,10 +4750,12 @@ func awsAwsjson10_deserializeDocumentFraudRiskDetails(v **types.FraudRiskDetails if err := awsAwsjson10_deserializeDocumentKnownFraudsterRisk(&sv.KnownFraudsterRisk, value); err != nil { return err } + case "VoiceSpoofingRisk": if err := awsAwsjson10_deserializeDocumentVoiceSpoofingRisk(&sv.VoiceSpoofingRisk, value); err != nil { return err } + default: _, _ = key, value @@ -4752,6 +4802,7 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4760,6 +4811,7 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } sv.DomainId = ptr.String(jtv) } + case "GeneratedFraudsterId": if value != nil { jtv, ok := value.(string) @@ -4768,10 +4820,12 @@ func awsAwsjson10_deserializeDocumentFraudster(v **types.Fraudster, value interf } sv.GeneratedFraudsterId = ptr.String(jtv) } + case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentResponseWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } + default: _, _ = key, value @@ -4818,6 +4872,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -4826,6 +4881,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4834,6 +4890,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.DomainId = ptr.String(jtv) } + case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -4849,14 +4906,17 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } } + case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -4865,6 +4925,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -4873,10 +4934,12 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobName = ptr.String(jtv) } + case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -4885,14 +4948,17 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(v **types.Fraudste } sv.JobStatus = types.FraudsterRegistrationJobStatus(jtv) } + case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + case "RegistrationConfig": if err := awsAwsjson10_deserializeDocumentRegistrationConfig(&sv.RegistrationConfig, value); err != nil { return err } + default: _, _ = key, value @@ -4973,6 +5039,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -4981,6 +5048,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.DomainId = ptr.String(jtv) } + case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -4996,10 +5064,12 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } } + case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5008,6 +5078,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -5016,10 +5087,12 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobName = ptr.String(jtv) } + case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5028,6 +5101,7 @@ func awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummary(v **types.F } sv.JobStatus = types.FraudsterRegistrationJobStatus(jtv) } + default: _, _ = key, value @@ -5108,6 +5182,7 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5116,6 +5191,7 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } sv.DomainId = ptr.String(jtv) } + case "GeneratedFraudsterId": if value != nil { jtv, ok := value.(string) @@ -5124,10 +5200,12 @@ func awsAwsjson10_deserializeDocumentFraudsterSummary(v **types.FraudsterSummary } sv.GeneratedFraudsterId = ptr.String(jtv) } + case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentResponseWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } + default: _, _ = key, value @@ -5167,6 +5245,7 @@ func awsAwsjson10_deserializeDocumentInputDataConfig(v **types.InputDataConfig, } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -5206,6 +5285,7 @@ func awsAwsjson10_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5249,6 +5329,7 @@ func awsAwsjson10_deserializeDocumentJobProgress(v **types.JobProgress, value in } sv.PercentComplete = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5288,6 +5369,7 @@ func awsAwsjson10_deserializeDocumentKnownFraudsterRisk(v **types.KnownFraudster } sv.GeneratedFraudsterId = ptr.String(jtv) } + case "RiskScore": if value != nil { jtv, ok := value.(json.Number) @@ -5300,6 +5382,7 @@ func awsAwsjson10_deserializeDocumentKnownFraudsterRisk(v **types.KnownFraudster } sv.RiskScore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -5339,6 +5422,7 @@ func awsAwsjson10_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.KmsKeyId = ptr.String(jtv) } + case "S3Uri": if value != nil { jtv, ok := value.(string) @@ -5347,6 +5431,7 @@ func awsAwsjson10_deserializeDocumentOutputDataConfig(v **types.OutputDataConfig } sv.S3Uri = ptr.String(jtv) } + default: _, _ = key, value @@ -5386,6 +5471,7 @@ func awsAwsjson10_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.DuplicateRegistrationAction = types.DuplicateRegistrationAction(jtv) } + case "FraudsterSimilarityThreshold": if value != nil { jtv, ok := value.(json.Number) @@ -5398,10 +5484,12 @@ func awsAwsjson10_deserializeDocumentRegistrationConfig(v **types.RegistrationCo } sv.FraudsterSimilarityThreshold = ptr.Int32(int32(i64)) } + case "WatchlistIds": if err := awsAwsjson10_deserializeDocumentRegistrationConfigWatchlistIds(&sv.WatchlistIds, value); err != nil { return err } + default: _, _ = key, value @@ -5477,6 +5565,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -5485,6 +5574,7 @@ func awsAwsjson10_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = types.ResourceType(jtv) } + default: _, _ = key, value @@ -5560,6 +5650,7 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -5599,6 +5690,7 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.Message = ptr.String(jtv) } + case "OldKmsKeyId": if value != nil { jtv, ok := value.(string) @@ -5607,6 +5699,7 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.OldKmsKeyId = ptr.String(jtv) } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -5615,6 +5708,7 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types } sv.UpdateStatus = types.ServerSideEncryptionUpdateStatus(jtv) } + default: _, _ = key, value @@ -5654,6 +5748,7 @@ func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -5700,6 +5795,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } + case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -5708,6 +5804,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.CustomerSpeakerId = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5716,6 +5813,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.DomainId = ptr.String(jtv) } + case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -5724,6 +5822,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.GeneratedSpeakerId = ptr.String(jtv) } + case "LastAccessedAt": if value != nil { switch jtv := value.(type) { @@ -5739,6 +5838,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5747,6 +5847,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } sv.Status = types.SpeakerStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -5762,6 +5863,7 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ } } + default: _, _ = key, value @@ -5808,6 +5910,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } } + case "DataAccessRoleArn": if value != nil { jtv, ok := value.(string) @@ -5816,6 +5919,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.DataAccessRoleArn = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5824,6 +5928,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.DomainId = ptr.String(jtv) } + case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -5839,18 +5944,22 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } } + case "EnrollmentConfig": if err := awsAwsjson10_deserializeDocumentEnrollmentConfig(&sv.EnrollmentConfig, value); err != nil { return err } + case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "InputDataConfig": if err := awsAwsjson10_deserializeDocumentInputDataConfig(&sv.InputDataConfig, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5859,6 +5968,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -5867,10 +5977,12 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobName = ptr.String(jtv) } + case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -5879,10 +5991,12 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(v **types.SpeakerEnrol } sv.JobStatus = types.SpeakerEnrollmentJobStatus(jtv) } + case "OutputDataConfig": if err := awsAwsjson10_deserializeDocumentOutputDataConfig(&sv.OutputDataConfig, value); err != nil { return err } + default: _, _ = key, value @@ -5963,6 +6077,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -5971,6 +6086,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.DomainId = ptr.String(jtv) } + case "EndedAt": if value != nil { switch jtv := value.(type) { @@ -5986,10 +6102,12 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } } + case "FailureDetails": if err := awsAwsjson10_deserializeDocumentFailureDetails(&sv.FailureDetails, value); err != nil { return err } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -5998,6 +6116,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobId = ptr.String(jtv) } + case "JobName": if value != nil { jtv, ok := value.(string) @@ -6006,10 +6125,12 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobName = ptr.String(jtv) } + case "JobProgress": if err := awsAwsjson10_deserializeDocumentJobProgress(&sv.JobProgress, value); err != nil { return err } + case "JobStatus": if value != nil { jtv, ok := value.(string) @@ -6018,6 +6139,7 @@ func awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummary(v **types.Speak } sv.JobStatus = types.SpeakerEnrollmentJobStatus(jtv) } + default: _, _ = key, value @@ -6098,6 +6220,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } + case "CustomerSpeakerId": if value != nil { jtv, ok := value.(string) @@ -6106,6 +6229,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.CustomerSpeakerId = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6114,6 +6238,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.DomainId = ptr.String(jtv) } + case "GeneratedSpeakerId": if value != nil { jtv, ok := value.(string) @@ -6122,6 +6247,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.GeneratedSpeakerId = ptr.String(jtv) } + case "LastAccessedAt": if value != nil { switch jtv := value.(type) { @@ -6137,6 +6263,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } + case "Status": if value != nil { jtv, ok := value.(string) @@ -6145,6 +6272,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } sv.Status = types.SpeakerStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6160,6 +6288,7 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va } } + default: _, _ = key, value @@ -6199,6 +6328,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -6207,6 +6337,7 @@ func awsAwsjson10_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -6280,6 +6411,7 @@ func awsAwsjson10_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6319,6 +6451,7 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6362,6 +6495,7 @@ func awsAwsjson10_deserializeDocumentVoiceSpoofingRisk(v **types.VoiceSpoofingRi } sv.RiskScore = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -6408,6 +6542,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } } + case "DefaultWatchlist": if value != nil { jtv, ok := value.(bool) @@ -6416,6 +6551,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.DefaultWatchlist = jtv } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6424,6 +6560,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.Description = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6432,6 +6569,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.DomainId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6440,6 +6578,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.Name = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6455,6 +6594,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } } + case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -6463,6 +6603,7 @@ func awsAwsjson10_deserializeDocumentWatchlist(v **types.Watchlist, value interf } sv.WatchlistId = ptr.String(jtv) } + default: _, _ = key, value @@ -6502,6 +6643,7 @@ func awsAwsjson10_deserializeDocumentWatchlistDetails(v **types.WatchlistDetails } sv.DefaultWatchlistId = ptr.String(jtv) } + default: _, _ = key, value @@ -6582,6 +6724,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } } + case "DefaultWatchlist": if value != nil { jtv, ok := value.(bool) @@ -6590,6 +6733,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.DefaultWatchlist = jtv } + case "Description": if value != nil { jtv, ok := value.(string) @@ -6598,6 +6742,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.Description = ptr.String(jtv) } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -6606,6 +6751,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.DomainId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6614,6 +6760,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.Name = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -6629,6 +6776,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } } + case "WatchlistId": if value != nil { jtv, ok := value.(string) @@ -6637,6 +6785,7 @@ func awsAwsjson10_deserializeDocumentWatchlistSummary(v **types.WatchlistSummary } sv.WatchlistId = ptr.String(jtv) } + default: _, _ = key, value @@ -6672,6 +6821,7 @@ func awsAwsjson10_deserializeOpDocumentAssociateFraudsterOutput(v **AssociateFra if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } + default: _, _ = key, value @@ -6707,6 +6857,7 @@ func awsAwsjson10_deserializeOpDocumentCreateDomainOutput(v **CreateDomainOutput if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -6742,6 +6893,7 @@ func awsAwsjson10_deserializeOpDocumentCreateWatchlistOutput(v **CreateWatchlist if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } + default: _, _ = key, value @@ -6777,6 +6929,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -6812,6 +6965,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFraudsterOutput(v **DescribeFraud if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } + default: _, _ = key, value @@ -6847,6 +7001,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeFraudsterRegistrationJobOutput(v if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -6882,6 +7037,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpeakerEnrollmentJobOutput(v **De if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -6917,6 +7073,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeSpeakerOutput(v **DescribeSpeaker if err := awsAwsjson10_deserializeDocumentSpeaker(&sv.Speaker, value); err != nil { return err } + default: _, _ = key, value @@ -6952,6 +7109,7 @@ func awsAwsjson10_deserializeOpDocumentDescribeWatchlistOutput(v **DescribeWatch if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } + default: _, _ = key, value @@ -6987,6 +7145,7 @@ func awsAwsjson10_deserializeOpDocumentDisassociateFraudsterOutput(v **Disassoci if err := awsAwsjson10_deserializeDocumentFraudster(&sv.Fraudster, value); err != nil { return err } + default: _, _ = key, value @@ -7022,6 +7181,7 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession if err := awsAwsjson10_deserializeDocumentAuthenticationResult(&sv.AuthenticationResult, value); err != nil { return err } + case "DomainId": if value != nil { jtv, ok := value.(string) @@ -7030,10 +7190,12 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.DomainId = ptr.String(jtv) } + case "FraudDetectionResult": if err := awsAwsjson10_deserializeDocumentFraudDetectionResult(&sv.FraudDetectionResult, value); err != nil { return err } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -7042,6 +7204,7 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.SessionId = ptr.String(jtv) } + case "SessionName": if value != nil { jtv, ok := value.(string) @@ -7050,6 +7213,7 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.SessionName = ptr.String(jtv) } + case "StreamingStatus": if value != nil { jtv, ok := value.(string) @@ -7058,6 +7222,7 @@ func awsAwsjson10_deserializeOpDocumentEvaluateSessionOutput(v **EvaluateSession } sv.StreamingStatus = types.StreamingStatus(jtv) } + default: _, _ = key, value @@ -7093,6 +7258,7 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, if err := awsAwsjson10_deserializeDocumentDomainSummaries(&sv.DomainSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7101,6 +7267,7 @@ func awsAwsjson10_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7136,6 +7303,7 @@ func awsAwsjson10_deserializeOpDocumentListFraudsterRegistrationJobsOutput(v **L if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJobSummaries(&sv.JobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7144,6 +7312,7 @@ func awsAwsjson10_deserializeOpDocumentListFraudsterRegistrationJobsOutput(v **L } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7179,6 +7348,7 @@ func awsAwsjson10_deserializeOpDocumentListFraudstersOutput(v **ListFraudstersOu if err := awsAwsjson10_deserializeDocumentFraudsterSummaries(&sv.FraudsterSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7187,6 +7357,7 @@ func awsAwsjson10_deserializeOpDocumentListFraudstersOutput(v **ListFraudstersOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7222,6 +7393,7 @@ func awsAwsjson10_deserializeOpDocumentListSpeakerEnrollmentJobsOutput(v **ListS if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJobSummaries(&sv.JobSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7230,6 +7402,7 @@ func awsAwsjson10_deserializeOpDocumentListSpeakerEnrollmentJobsOutput(v **ListS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7269,10 +7442,12 @@ func awsAwsjson10_deserializeOpDocumentListSpeakersOutput(v **ListSpeakersOutput } sv.NextToken = ptr.String(jtv) } + case "SpeakerSummaries": if err := awsAwsjson10_deserializeDocumentSpeakerSummaries(&sv.SpeakerSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7308,6 +7483,7 @@ func awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson10_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7347,10 +7523,12 @@ func awsAwsjson10_deserializeOpDocumentListWatchlistsOutput(v **ListWatchlistsOu } sv.NextToken = ptr.String(jtv) } + case "WatchlistSummaries": if err := awsAwsjson10_deserializeDocumentWatchlistSummaries(&sv.WatchlistSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7386,6 +7564,7 @@ func awsAwsjson10_deserializeOpDocumentOptOutSpeakerOutput(v **OptOutSpeakerOutp if err := awsAwsjson10_deserializeDocumentSpeaker(&sv.Speaker, value); err != nil { return err } + default: _, _ = key, value @@ -7421,6 +7600,7 @@ func awsAwsjson10_deserializeOpDocumentStartFraudsterRegistrationJobOutput(v **S if err := awsAwsjson10_deserializeDocumentFraudsterRegistrationJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -7456,6 +7636,7 @@ func awsAwsjson10_deserializeOpDocumentStartSpeakerEnrollmentJobOutput(v **Start if err := awsAwsjson10_deserializeDocumentSpeakerEnrollmentJob(&sv.Job, value); err != nil { return err } + default: _, _ = key, value @@ -7553,6 +7734,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateDomainOutput(v **UpdateDomainOutput if err := awsAwsjson10_deserializeDocumentDomain(&sv.Domain, value); err != nil { return err } + default: _, _ = key, value @@ -7588,6 +7770,7 @@ func awsAwsjson10_deserializeOpDocumentUpdateWatchlistOutput(v **UpdateWatchlist if err := awsAwsjson10_deserializeDocumentWatchlist(&sv.Watchlist, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/vpclattice/deserializers.go b/service/vpclattice/deserializers.go index 051ead1d269..761c1ef5afb 100644 --- a/service/vpclattice/deserializers.go +++ b/service/vpclattice/deserializers.go @@ -187,10 +187,12 @@ func awsRestjson1_deserializeOpDocumentBatchUpdateRuleOutput(v **BatchUpdateRule if err := awsRestjson1_deserializeDocumentRuleUpdateSuccessList(&sv.Successful, value); err != nil { return err } + case "unsuccessful": if err := awsRestjson1_deserializeDocumentRuleUpdateFailureList(&sv.Unsuccessful, value); err != nil { return err } + default: _, _ = key, value @@ -361,6 +363,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.Arn = ptr.String(jtv) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -369,6 +372,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.DestinationArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -377,6 +381,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.Id = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -385,6 +390,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -393,6 +399,7 @@ func awsRestjson1_deserializeOpDocumentCreateAccessLogSubscriptionOutput(v **Cre } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -566,10 +573,12 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Arn = ptr.String(jtv) } + case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -578,6 +587,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -586,6 +596,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -598,6 +609,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -606,6 +618,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.Protocol = types.ListenerProtocol(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -614,6 +627,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.ServiceArn = ptr.String(jtv) } + case "serviceId": if value != nil { jtv, ok := value.(string) @@ -622,6 +636,7 @@ func awsRestjson1_deserializeOpDocumentCreateListenerOutput(v **CreateListenerOu } sv.ServiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -791,6 +806,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -799,6 +815,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -807,10 +824,12 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Id = ptr.String(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -819,6 +838,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -831,6 +851,7 @@ func awsRestjson1_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -1004,6 +1025,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -1012,6 +1034,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.AuthType = types.AuthType(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -1020,6 +1043,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CertificateArn = ptr.String(jtv) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -1028,10 +1052,12 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1040,6 +1066,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1048,6 +1075,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1056,6 +1084,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceOutput(v **CreateServiceOutp } sv.Status = types.ServiceStatus(jtv) } + default: _, _ = key, value @@ -1229,6 +1258,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -1237,6 +1267,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.AuthType = types.AuthType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1245,6 +1276,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1253,6 +1285,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkOutput(v **CreateServ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -1426,6 +1459,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1434,6 +1468,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.CreatedBy = ptr.String(jtv) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -1442,10 +1477,12 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1454,6 +1491,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1462,6 +1500,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkServiceAssociationOut } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } + default: _, _ = key, value @@ -1635,6 +1674,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -1643,6 +1683,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.CreatedBy = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -1651,10 +1692,12 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -1663,6 +1706,7 @@ func awsRestjson1_deserializeOpDocumentCreateServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } + default: _, _ = key, value @@ -1836,10 +1880,12 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Arn = ptr.String(jtv) } + case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -1848,6 +1894,7 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -1856,6 +1903,7 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -1864,6 +1912,7 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Status = types.TargetGroupStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -1872,6 +1921,7 @@ func awsRestjson1_deserializeOpDocumentCreateTargetGroupOutput(v **CreateTargetG } sv.Type = types.TargetGroupType(jtv) } + default: _, _ = key, value @@ -2548,6 +2598,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2556,6 +2607,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2564,6 +2616,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2572,6 +2625,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceOutput(v **DeleteServiceOutp } sv.Status = types.ServiceStatus(jtv) } + default: _, _ = key, value @@ -2845,6 +2899,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2853,6 +2908,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2861,6 +2917,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkServiceAssociationOut } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } + default: _, _ = key, value @@ -3031,6 +3088,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3039,6 +3097,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3047,6 +3106,7 @@ func awsRestjson1_deserializeOpDocumentDeleteServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } + default: _, _ = key, value @@ -3214,6 +3274,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3222,6 +3283,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Id = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3230,6 +3292,7 @@ func awsRestjson1_deserializeOpDocumentDeleteTargetGroupOutput(v **DeleteTargetG } sv.Status = types.TargetGroupStatus(jtv) } + default: _, _ = key, value @@ -3396,10 +3459,12 @@ func awsRestjson1_deserializeOpDocumentDeregisterTargetsOutput(v **DeregisterTar if err := awsRestjson1_deserializeDocumentTargetList(&sv.Successful, value); err != nil { return err } + case "unsuccessful": if err := awsRestjson1_deserializeDocumentTargetFailureList(&sv.Unsuccessful, value); err != nil { return err } + default: _, _ = key, value @@ -3567,6 +3632,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -3579,6 +3645,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.CreatedAt = ptr.Time(t) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -3587,6 +3654,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.DestinationArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3595,6 +3663,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3607,6 +3676,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.LastUpdatedAt = ptr.Time(t) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -3615,6 +3685,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3623,6 +3694,7 @@ func awsRestjson1_deserializeOpDocumentGetAccessLogSubscriptionOutput(v **GetAcc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -3794,6 +3866,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.CreatedAt = ptr.Time(t) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -3806,6 +3879,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.LastUpdatedAt = ptr.Time(t) } + case "policy": if value != nil { jtv, ok := value.(string) @@ -3814,6 +3888,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.Policy = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -3822,6 +3897,7 @@ func awsRestjson1_deserializeOpDocumentGetAuthPolicyOutput(v **GetAuthPolicyOutp } sv.State = types.AuthPolicyState(jtv) } + default: _, _ = key, value @@ -3989,6 +4065,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4001,10 +4078,12 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.CreatedAt = ptr.Time(t) } + case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -4013,6 +4092,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4025,6 +4105,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4033,6 +4114,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -4045,6 +4127,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -4053,6 +4136,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.Protocol = types.ListenerProtocol(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -4061,6 +4145,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.ServiceArn = ptr.String(jtv) } + case "serviceId": if value != nil { jtv, ok := value.(string) @@ -4069,6 +4154,7 @@ func awsRestjson1_deserializeOpDocumentGetListenerOutput(v **GetListenerOutput, } sv.ServiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -4236,6 +4322,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePo } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -4399,6 +4486,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -4407,6 +4495,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4419,6 +4508,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4427,6 +4517,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Id = ptr.String(jtv) } + case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -4435,6 +4526,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.IsDefault = ptr.Bool(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4447,10 +4539,12 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.LastUpdatedAt = ptr.Time(t) } + case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -4459,6 +4553,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -4471,6 +4566,7 @@ func awsRestjson1_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -4638,6 +4734,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -4646,6 +4743,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.AuthType = types.AuthType(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -4654,6 +4752,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CertificateArn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4666,6 +4765,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CreatedAt = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -4674,10 +4774,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -4686,6 +4788,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -4694,6 +4797,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4702,6 +4806,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4714,6 +4819,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4722,6 +4828,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -4730,6 +4837,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceOutput(v **GetServiceOutput, va } sv.Status = types.ServiceStatus(jtv) } + default: _, _ = key, value @@ -4897,6 +5005,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -4905,6 +5014,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.AuthType = types.AuthType(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -4917,6 +5027,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4925,6 +5036,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -4937,6 +5049,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4945,6 +5058,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.Name = ptr.String(jtv) } + case "numberOfAssociatedServices": if value != nil { jtv, ok := value.(json.Number) @@ -4957,6 +5071,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.NumberOfAssociatedServices = ptr.Int64(i64) } + case "numberOfAssociatedVPCs": if value != nil { jtv, ok := value.(json.Number) @@ -4969,6 +5084,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkOutput(v **GetServiceNet } sv.NumberOfAssociatedVPCs = ptr.Int64(i64) } + default: _, _ = key, value @@ -5136,6 +5252,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5148,6 +5265,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5156,6 +5274,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CreatedBy = ptr.String(jtv) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -5164,10 +5283,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5176,6 +5297,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5184,6 +5306,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5192,6 +5315,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Id = ptr.String(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -5200,6 +5324,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceArn = ptr.String(jtv) } + case "serviceId": if value != nil { jtv, ok := value.(string) @@ -5208,6 +5333,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceId = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -5216,6 +5342,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceName = ptr.String(jtv) } + case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -5224,6 +5351,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkArn = ptr.String(jtv) } + case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -5232,6 +5360,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkId = ptr.String(jtv) } + case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -5240,6 +5369,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.ServiceNetworkName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5248,6 +5378,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkServiceAssociationOutput } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } + default: _, _ = key, value @@ -5415,6 +5546,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5427,6 +5559,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -5435,6 +5568,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.CreatedBy = ptr.String(jtv) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5443,6 +5577,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5451,6 +5586,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5459,6 +5595,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5471,10 +5608,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.LastUpdatedAt = ptr.Time(t) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } + case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -5483,6 +5622,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkArn = ptr.String(jtv) } + case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -5491,6 +5631,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkId = ptr.String(jtv) } + case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -5499,6 +5640,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.ServiceNetworkName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -5507,6 +5649,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -5515,6 +5658,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceNetworkVpcAssociationOutput(v * } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -5682,10 +5826,12 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Arn = ptr.String(jtv) } + case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -5698,6 +5844,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.CreatedAt = ptr.Time(t) } + case "failureCode": if value != nil { jtv, ok := value.(string) @@ -5706,6 +5853,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -5714,6 +5862,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -5722,6 +5871,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -5734,6 +5884,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -5742,10 +5893,12 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Name = ptr.String(jtv) } + case "serviceArns": if err := awsRestjson1_deserializeDocumentServiceArnList(&sv.ServiceArns, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -5754,6 +5907,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Status = types.TargetGroupStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -5762,6 +5916,7 @@ func awsRestjson1_deserializeOpDocumentGetTargetGroupOutput(v **GetTargetGroupOu } sv.Type = types.TargetGroupType(jtv) } + default: _, _ = key, value @@ -5922,6 +6077,7 @@ func awsRestjson1_deserializeOpDocumentListAccessLogSubscriptionsOutput(v **List if err := awsRestjson1_deserializeDocumentAccessLogSubscriptionList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5930,6 +6086,7 @@ func awsRestjson1_deserializeOpDocumentListAccessLogSubscriptionsOutput(v **List } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6093,6 +6250,7 @@ func awsRestjson1_deserializeOpDocumentListListenersOutput(v **ListListenersOutp if err := awsRestjson1_deserializeDocumentListenerSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6101,6 +6259,7 @@ func awsRestjson1_deserializeOpDocumentListListenersOutput(v **ListListenersOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6264,6 +6423,7 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu if err := awsRestjson1_deserializeDocumentRuleSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6272,6 +6432,7 @@ func awsRestjson1_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6432,6 +6593,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworksOutput(v **ListService if err := awsRestjson1_deserializeDocumentServiceNetworkList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6440,6 +6602,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworksOutput(v **ListService } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6600,6 +6763,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkServiceAssociationsOutp if err := awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6608,6 +6772,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkServiceAssociationsOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6768,6 +6933,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkVpcAssociationsOutput(v if err := awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6776,6 +6942,7 @@ func awsRestjson1_deserializeOpDocumentListServiceNetworkVpcAssociationsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6936,6 +7103,7 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput if err := awsRestjson1_deserializeDocumentServiceList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6944,6 +7112,7 @@ func awsRestjson1_deserializeOpDocumentListServicesOutput(v **ListServicesOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7104,6 +7273,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7264,6 +7434,7 @@ func awsRestjson1_deserializeOpDocumentListTargetGroupsOutput(v **ListTargetGrou if err := awsRestjson1_deserializeDocumentTargetGroupList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7443,7 @@ func awsRestjson1_deserializeOpDocumentListTargetGroupsOutput(v **ListTargetGrou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7435,6 +7607,7 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, if err := awsRestjson1_deserializeDocumentTargetSummaryList(&sv.Items, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7443,6 +7616,7 @@ func awsRestjson1_deserializeOpDocumentListTargetsOutput(v **ListTargetsOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7610,6 +7784,7 @@ func awsRestjson1_deserializeOpDocumentPutAuthPolicyOutput(v **PutAuthPolicyOutp } sv.Policy = ptr.String(jtv) } + case "state": if value != nil { jtv, ok := value.(string) @@ -7618,6 +7793,7 @@ func awsRestjson1_deserializeOpDocumentPutAuthPolicyOutput(v **PutAuthPolicyOutp } sv.State = types.AuthPolicyState(jtv) } + default: _, _ = key, value @@ -7887,10 +8063,12 @@ func awsRestjson1_deserializeOpDocumentRegisterTargetsOutput(v **RegisterTargets if err := awsRestjson1_deserializeDocumentTargetList(&sv.Successful, value); err != nil { return err } + case "unsuccessful": if err := awsRestjson1_deserializeDocumentTargetFailureList(&sv.Unsuccessful, value); err != nil { return err } + default: _, _ = key, value @@ -8258,6 +8436,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.Arn = ptr.String(jtv) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -8266,6 +8445,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.DestinationArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8274,6 +8454,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.Id = ptr.String(jtv) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -8282,6 +8463,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -8290,6 +8472,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAccessLogSubscriptionOutput(v **Upd } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -8460,10 +8643,12 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Arn = ptr.String(jtv) } + case "defaultAction": if err := awsRestjson1_deserializeDocumentRuleAction(&sv.DefaultAction, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -8472,6 +8657,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8480,6 +8666,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -8492,6 +8679,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -8500,6 +8688,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.Protocol = types.ListenerProtocol(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -8508,6 +8697,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.ServiceArn = ptr.String(jtv) } + case "serviceId": if value != nil { jtv, ok := value.(string) @@ -8516,6 +8706,7 @@ func awsRestjson1_deserializeOpDocumentUpdateListenerOutput(v **UpdateListenerOu } sv.ServiceId = ptr.String(jtv) } + default: _, _ = key, value @@ -8682,6 +8873,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -8690,6 +8882,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8698,6 +8891,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Id = ptr.String(jtv) } + case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -8706,10 +8900,12 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.IsDefault = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -8718,6 +8914,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -8730,6 +8927,7 @@ func awsRestjson1_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8900,6 +9098,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -8908,6 +9107,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.AuthType = types.AuthType(jtv) } + case "certificateArn": if value != nil { jtv, ok := value.(string) @@ -8916,6 +9116,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.CertificateArn = ptr.String(jtv) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -8924,6 +9125,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.CustomDomainName = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -8932,6 +9134,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8940,6 +9143,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceOutput(v **UpdateServiceOutp } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9110,6 +9314,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Arn = ptr.String(jtv) } + case "authType": if value != nil { jtv, ok := value.(string) @@ -9118,6 +9323,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.AuthType = types.AuthType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9126,6 +9332,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9134,6 +9341,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkOutput(v **UpdateServ } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9304,6 +9512,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Arn = ptr.String(jtv) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -9312,6 +9521,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.CreatedBy = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9320,10 +9530,12 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Id = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupList(&sv.SecurityGroupIds, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -9332,6 +9544,7 @@ func awsRestjson1_deserializeOpDocumentUpdateServiceNetworkVpcAssociationOutput( } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } + default: _, _ = key, value @@ -9502,10 +9715,12 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Arn = ptr.String(jtv) } + case "config": if err := awsRestjson1_deserializeDocumentTargetGroupConfig(&sv.Config, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9514,6 +9729,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Id = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -9522,6 +9738,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9530,6 +9747,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Status = types.TargetGroupStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9538,6 +9756,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTargetGroupOutput(v **UpdateTargetG } sv.Type = types.TargetGroupType(jtv) } + default: _, _ = key, value @@ -9869,6 +10088,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9942,6 +10162,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -9954,6 +10175,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.CreatedAt = ptr.Time(t) } + case "destinationArn": if value != nil { jtv, ok := value.(string) @@ -9962,6 +10184,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.DestinationArn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -9970,6 +10193,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -9982,6 +10206,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.LastUpdatedAt = ptr.Time(t) } + case "resourceArn": if value != nil { jtv, ok := value.(string) @@ -9990,6 +10215,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.ResourceArn = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9998,6 +10224,7 @@ func awsRestjson1_deserializeDocumentAccessLogSubscriptionSummary(v **types.Acce } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -10037,6 +10264,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10045,6 +10273,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10053,6 +10282,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10092,6 +10322,7 @@ func awsRestjson1_deserializeDocumentDnsEntry(v **types.DnsEntry, value interfac } sv.DomainName = ptr.String(jtv) } + case "hostedZoneId": if value != nil { jtv, ok := value.(string) @@ -10100,6 +10331,7 @@ func awsRestjson1_deserializeDocumentDnsEntry(v **types.DnsEntry, value interfac } sv.HostedZoneId = ptr.String(jtv) } + default: _, _ = key, value @@ -10143,6 +10375,7 @@ func awsRestjson1_deserializeDocumentFixedResponseAction(v **types.FixedResponse } sv.StatusCode = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10178,6 +10411,7 @@ func awsRestjson1_deserializeDocumentForwardAction(v **types.ForwardAction, valu if err := awsRestjson1_deserializeDocumentWeightedTargetGroupList(&sv.TargetGroups, value); err != nil { return err } + default: _, _ = key, value @@ -10217,10 +10451,12 @@ func awsRestjson1_deserializeDocumentHeaderMatch(v **types.HeaderMatch, value in } sv.CaseSensitive = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentHeaderMatchType(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -10229,6 +10465,7 @@ func awsRestjson1_deserializeDocumentHeaderMatch(v **types.HeaderMatch, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10368,6 +10605,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Enabled = ptr.Bool(jtv) } + case "healthCheckIntervalSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10380,6 +10618,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthCheckIntervalSeconds = ptr.Int32(int32(i64)) } + case "healthCheckTimeoutSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10392,6 +10631,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthCheckTimeoutSeconds = ptr.Int32(int32(i64)) } + case "healthyThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -10404,10 +10644,12 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.HealthyThresholdCount = ptr.Int32(int32(i64)) } + case "matcher": if err := awsRestjson1_deserializeDocumentMatcher(&sv.Matcher, value); err != nil { return err } + case "path": if value != nil { jtv, ok := value.(string) @@ -10416,6 +10658,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Path = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10428,6 +10671,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -10436,6 +10680,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.Protocol = types.TargetGroupProtocol(jtv) } + case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -10444,6 +10689,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.ProtocolVersion = types.HealthCheckProtocolVersion(jtv) } + case "unhealthyThresholdCount": if value != nil { jtv, ok := value.(json.Number) @@ -10456,6 +10702,7 @@ func awsRestjson1_deserializeDocumentHealthCheckConfig(v **types.HealthCheckConf } sv.UnhealthyThresholdCount = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10491,6 +10738,7 @@ func awsRestjson1_deserializeDocumentHttpMatch(v **types.HttpMatch, value interf if err := awsRestjson1_deserializeDocumentHeaderMatchList(&sv.HeaderMatches, value); err != nil { return err } + case "method": if value != nil { jtv, ok := value.(string) @@ -10499,10 +10747,12 @@ func awsRestjson1_deserializeDocumentHttpMatch(v **types.HttpMatch, value interf } sv.Method = ptr.String(jtv) } + case "pathMatch": if err := awsRestjson1_deserializeDocumentPathMatch(&sv.PathMatch, value); err != nil { return err } + default: _, _ = key, value @@ -10542,6 +10792,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10554,6 +10805,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -10593,6 +10845,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -10605,6 +10858,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -10613,6 +10867,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -10625,6 +10880,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10633,6 +10889,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -10645,6 +10902,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -10653,6 +10911,7 @@ func awsRestjson1_deserializeDocumentListenerSummary(v **types.ListenerSummary, } sv.Protocol = types.ListenerProtocol(jtv) } + default: _, _ = key, value @@ -10768,10 +11027,12 @@ func awsRestjson1_deserializeDocumentPathMatch(v **types.PathMatch, value interf } sv.CaseSensitive = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentPathMatchType(&sv.Match, value); err != nil { return err } + default: _, _ = key, value @@ -10865,6 +11126,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -10873,6 +11135,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -10881,6 +11144,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11010,6 +11274,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11022,6 +11287,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11030,6 +11296,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Id = ptr.String(jtv) } + case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -11038,6 +11305,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.IsDefault = ptr.Bool(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11050,6 +11318,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11058,6 +11327,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11070,6 +11340,7 @@ func awsRestjson1_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11143,6 +11414,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -11151,6 +11423,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.FailureMessage = ptr.String(jtv) } + case "ruleIdentifier": if value != nil { jtv, ok := value.(string) @@ -11159,6 +11432,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateFailure(v **types.RuleUpdateFailu } sv.RuleIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -11228,6 +11502,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce if err := awsRestjson1_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "arn": if value != nil { jtv, ok := value.(string) @@ -11236,6 +11511,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11244,6 +11520,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Id = ptr.String(jtv) } + case "isDefault": if value != nil { jtv, ok := value.(bool) @@ -11252,10 +11529,12 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.IsDefault = ptr.Bool(jtv) } + case "match": if err := awsRestjson1_deserializeDocumentRuleMatch(&sv.Match, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -11264,6 +11543,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Name = ptr.String(jtv) } + case "priority": if value != nil { jtv, ok := value.(json.Number) @@ -11276,6 +11556,7 @@ func awsRestjson1_deserializeDocumentRuleUpdateSuccess(v **types.RuleUpdateSucce } sv.Priority = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -11523,6 +11804,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11535,6 +11817,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11543,6 +11826,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CreatedBy = ptr.String(jtv) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -11551,10 +11835,12 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -11563,6 +11849,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Id = ptr.String(jtv) } + case "serviceArn": if value != nil { jtv, ok := value.(string) @@ -11571,6 +11858,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceArn = ptr.String(jtv) } + case "serviceId": if value != nil { jtv, ok := value.(string) @@ -11579,6 +11867,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceId = ptr.String(jtv) } + case "serviceName": if value != nil { jtv, ok := value.(string) @@ -11587,6 +11876,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceName = ptr.String(jtv) } + case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -11595,6 +11885,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkArn = ptr.String(jtv) } + case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -11603,6 +11894,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkId = ptr.String(jtv) } + case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -11611,6 +11903,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.ServiceNetworkName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11619,6 +11912,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkServiceAssociationSummary(v * } sv.Status = types.ServiceNetworkServiceAssociationStatus(jtv) } + default: _, _ = key, value @@ -11658,6 +11952,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11670,6 +11965,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11678,6 +11974,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11690,6 +11987,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -11698,6 +11996,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.Name = ptr.String(jtv) } + case "numberOfAssociatedServices": if value != nil { jtv, ok := value.(json.Number) @@ -11710,6 +12009,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.NumberOfAssociatedServices = ptr.Int64(i64) } + case "numberOfAssociatedVPCs": if value != nil { jtv, ok := value.(json.Number) @@ -11722,6 +12022,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkSummary(v **types.ServiceNetw } sv.NumberOfAssociatedVPCs = ptr.Int64(i64) } + default: _, _ = key, value @@ -11795,6 +12096,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11807,6 +12109,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.CreatedAt = ptr.Time(t) } + case "createdBy": if value != nil { jtv, ok := value.(string) @@ -11815,6 +12118,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.CreatedBy = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -11823,6 +12127,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -11835,6 +12140,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.LastUpdatedAt = ptr.Time(t) } + case "serviceNetworkArn": if value != nil { jtv, ok := value.(string) @@ -11843,6 +12149,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkArn = ptr.String(jtv) } + case "serviceNetworkId": if value != nil { jtv, ok := value.(string) @@ -11851,6 +12158,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkId = ptr.String(jtv) } + case "serviceNetworkName": if value != nil { jtv, ok := value.(string) @@ -11859,6 +12167,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.ServiceNetworkName = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -11867,6 +12176,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.Status = types.ServiceNetworkVpcAssociationStatus(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -11875,6 +12185,7 @@ func awsRestjson1_deserializeDocumentServiceNetworkVpcAssociationSummary(v **typ } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -11914,6 +12225,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11922,6 +12234,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11930,6 +12243,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11938,6 +12252,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11946,6 +12261,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11985,6 +12301,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -11997,6 +12314,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CreatedAt = ptr.Time(t) } + case "customDomainName": if value != nil { jtv, ok := value.(string) @@ -12005,10 +12323,12 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.CustomDomainName = ptr.String(jtv) } + case "dnsEntry": if err := awsRestjson1_deserializeDocumentDnsEntry(&sv.DnsEntry, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -12017,6 +12337,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Id = ptr.String(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12029,6 +12350,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12037,6 +12359,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Name = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12045,6 +12368,7 @@ func awsRestjson1_deserializeDocumentServiceSummary(v **types.ServiceSummary, va } sv.Status = types.ServiceStatus(jtv) } + default: _, _ = key, value @@ -12120,6 +12444,7 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Id = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12132,6 +12457,7 @@ func awsRestjson1_deserializeDocumentTarget(v **types.Target, value interface{}) } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12171,6 +12497,7 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.FailureCode = ptr.String(jtv) } + case "failureMessage": if value != nil { jtv, ok := value.(string) @@ -12179,6 +12506,7 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.FailureMessage = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12187,6 +12515,7 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.Id = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12199,6 +12528,7 @@ func awsRestjson1_deserializeDocumentTargetFailure(v **types.TargetFailure, valu } sv.Port = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12268,6 +12598,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf if err := awsRestjson1_deserializeDocumentHealthCheckConfig(&sv.HealthCheck, value); err != nil { return err } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -12276,6 +12607,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.IpAddressType = types.IpAddressType(jtv) } + case "lambdaEventStructureVersion": if value != nil { jtv, ok := value.(string) @@ -12284,6 +12616,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.LambdaEventStructureVersion = types.LambdaEventStructureVersion(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12296,6 +12629,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -12304,6 +12638,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.Protocol = types.TargetGroupProtocol(jtv) } + case "protocolVersion": if value != nil { jtv, ok := value.(string) @@ -12312,6 +12647,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.ProtocolVersion = types.TargetGroupProtocolVersion(jtv) } + case "vpcIdentifier": if value != nil { jtv, ok := value.(string) @@ -12320,6 +12656,7 @@ func awsRestjson1_deserializeDocumentTargetGroupConfig(v **types.TargetGroupConf } sv.VpcIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12393,6 +12730,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { jtv, ok := value.(string) @@ -12405,6 +12743,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.CreatedAt = ptr.Time(t) } + case "id": if value != nil { jtv, ok := value.(string) @@ -12413,6 +12752,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Id = ptr.String(jtv) } + case "ipAddressType": if value != nil { jtv, ok := value.(string) @@ -12421,6 +12761,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.IpAddressType = types.IpAddressType(jtv) } + case "lambdaEventStructureVersion": if value != nil { jtv, ok := value.(string) @@ -12429,6 +12770,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.LambdaEventStructureVersion = types.LambdaEventStructureVersion(jtv) } + case "lastUpdatedAt": if value != nil { jtv, ok := value.(string) @@ -12441,6 +12783,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.LastUpdatedAt = ptr.Time(t) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12449,6 +12792,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Name = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12461,6 +12805,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Port = ptr.Int32(int32(i64)) } + case "protocol": if value != nil { jtv, ok := value.(string) @@ -12469,10 +12814,12 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Protocol = types.TargetGroupProtocol(jtv) } + case "serviceArns": if err := awsRestjson1_deserializeDocumentServiceArnList(&sv.ServiceArns, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -12481,6 +12828,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Status = types.TargetGroupStatus(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -12489,6 +12837,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.Type = types.TargetGroupType(jtv) } + case "vpcIdentifier": if value != nil { jtv, ok := value.(string) @@ -12497,6 +12846,7 @@ func awsRestjson1_deserializeDocumentTargetGroupSummary(v **types.TargetGroupSum } sv.VpcIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -12570,6 +12920,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Id = ptr.String(jtv) } + case "port": if value != nil { jtv, ok := value.(json.Number) @@ -12582,6 +12933,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Port = ptr.Int32(int32(i64)) } + case "reasonCode": if value != nil { jtv, ok := value.(string) @@ -12590,6 +12942,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.ReasonCode = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -12598,6 +12951,7 @@ func awsRestjson1_deserializeDocumentTargetSummary(v **types.TargetSummary, valu } sv.Status = types.TargetStatus(jtv) } + default: _, _ = key, value @@ -12671,6 +13025,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -12679,6 +13034,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -12691,6 +13047,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -12699,6 +13056,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -12734,6 +13092,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12742,6 +13101,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -12750,6 +13110,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -12789,6 +13150,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12797,6 +13159,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12870,6 +13233,7 @@ func awsRestjson1_deserializeDocumentWeightedTargetGroup(v **types.WeightedTarge } sv.TargetGroupIdentifier = ptr.String(jtv) } + case "weight": if value != nil { jtv, ok := value.(json.Number) @@ -12882,6 +13246,7 @@ func awsRestjson1_deserializeDocumentWeightedTargetGroup(v **types.WeightedTarge } sv.Weight = ptr.Int32(int32(i64)) } + default: _, _ = key, value diff --git a/service/waf/deserializers.go b/service/waf/deserializers.go index be2a73bf64b..c3ce434d4c7 100644 --- a/service/waf/deserializers.go +++ b/service/waf/deserializers.go @@ -10162,14 +10162,17 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu if err := awsAwsjson11_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } + case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } + case "OverrideAction": if err := awsAwsjson11_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -10182,6 +10185,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -10190,6 +10194,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10198,6 +10203,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Type = types.WafRuleType(jtv) } + default: _, _ = key, value @@ -10271,10 +10277,12 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.ByteMatchSetId = ptr.String(jtv) } + case "ByteMatchTuples": if err := awsAwsjson11_deserializeDocumentByteMatchTuples(&sv.ByteMatchTuples, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10283,6 +10291,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10356,6 +10365,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.ByteMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10364,6 +10374,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10399,6 +10410,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -10407,6 +10419,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.PositionalConstraint = types.PositionalConstraint(jtv) } + case "TargetString": if value != nil { jtv, ok := value.(string) @@ -10419,6 +10432,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TargetString = dv } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -10427,6 +10441,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -10500,6 +10515,7 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -10573,6 +10589,7 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Data = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10581,6 +10598,7 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Type = types.MatchFieldType(jtv) } + default: _, _ = key, value @@ -10620,6 +10638,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Type = types.GeoMatchConstraintType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10628,6 +10647,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Value = types.GeoMatchConstraintValue(jtv) } + default: _, _ = key, value @@ -10697,6 +10717,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in if err := awsAwsjson11_deserializeDocumentGeoMatchConstraints(&sv.GeoMatchConstraints, value); err != nil { return err } + case "GeoMatchSetId": if value != nil { jtv, ok := value.(string) @@ -10705,6 +10726,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.GeoMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10713,6 +10735,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10786,6 +10809,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.GeoMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10794,6 +10818,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10833,6 +10858,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -10841,6 +10867,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -10914,6 +10941,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -10922,10 +10950,12 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } + case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } + case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -10934,6 +10964,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } + case "Method": if value != nil { jtv, ok := value.(string) @@ -10942,6 +10973,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -10950,6 +10982,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -10985,6 +11018,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPSetDescriptors(&sv.IPSetDescriptors, value); err != nil { return err } + case "IPSetId": if value != nil { jtv, ok := value.(string) @@ -10993,6 +11027,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11001,6 +11036,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11040,6 +11076,7 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Type = types.IPSetDescriptorType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11048,6 +11085,7 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11155,6 +11193,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.IPSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11163,6 +11202,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11234,10 +11274,12 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } + case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11246,6 +11288,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11355,6 +11398,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -11363,6 +11407,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11371,6 +11416,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Type = types.PredicateType(jtv) } + default: _, _ = key, value @@ -11440,6 +11486,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err := awsAwsjson11_deserializeDocumentPredicates(&sv.MatchPredicates, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -11448,6 +11495,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11456,6 +11504,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.Name = ptr.String(jtv) } + case "RateKey": if value != nil { jtv, ok := value.(string) @@ -11464,6 +11513,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateKey = types.RateKey(jtv) } + case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11476,6 +11526,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateLimit = ptr.Int64(i64) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -11484,6 +11535,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -11557,6 +11609,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.Name = ptr.String(jtv) } + case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11565,10 +11618,12 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.RegexMatchSetId = ptr.String(jtv) } + case "RegexMatchTuples": if err := awsAwsjson11_deserializeDocumentRegexMatchTuples(&sv.RegexMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -11642,6 +11697,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.Name = ptr.String(jtv) } + case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11650,6 +11706,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.RegexMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -11685,6 +11742,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11693,6 +11751,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.RegexPatternSetId = ptr.String(jtv) } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -11701,6 +11760,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -11774,6 +11834,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11782,10 +11843,12 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.RegexPatternSetId = ptr.String(jtv) } + case "RegexPatternStrings": if err := awsAwsjson11_deserializeDocumentRegexPatternStrings(&sv.RegexPatternStrings, value); err != nil { return err } + default: _, _ = key, value @@ -11859,6 +11922,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -11867,6 +11931,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.RegexPatternSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -11942,6 +12007,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11950,10 +12016,12 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Predicates": if err := awsAwsjson11_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -11962,6 +12030,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -12001,6 +12070,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12009,6 +12079,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12017,6 +12088,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -12090,6 +12162,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12098,6 +12171,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -12171,6 +12245,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12179,6 +12254,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -12218,10 +12294,12 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } + case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } + case "RuleWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -12230,6 +12308,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleWithinRuleGroup = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -12245,6 +12324,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -12257,6 +12337,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } + default: _, _ = key, value @@ -12330,10 +12411,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12346,6 +12429,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.Size = i64 } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12354,6 +12438,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -12427,10 +12512,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.Name = ptr.String(jtv) } + case "SizeConstraints": if err := awsAwsjson11_deserializeDocumentSizeConstraints(&sv.SizeConstraints, value); err != nil { return err } + case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -12439,6 +12526,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.SizeConstraintSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -12512,6 +12600,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.Name = ptr.String(jtv) } + case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -12520,6 +12609,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.SizeConstraintSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -12559,6 +12649,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.Name = ptr.String(jtv) } + case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12567,10 +12658,12 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.SqlInjectionMatchSetId = ptr.String(jtv) } + case "SqlInjectionMatchTuples": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchTuples(&sv.SqlInjectionMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -12644,6 +12737,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.Name = ptr.String(jtv) } + case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12652,6 +12746,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.SqlInjectionMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -12687,6 +12782,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12695,6 +12791,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -12802,6 +12899,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12810,6 +12908,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12818,6 +12917,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -12857,6 +12957,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12865,6 +12966,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12904,10 +13006,12 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -12988,6 +13092,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13003,6 +13108,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + default: _, _ = key, value @@ -13042,6 +13148,7 @@ func awsAwsjson11_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = types.WafActionType(jtv) } + default: _, _ = key, value @@ -13081,6 +13188,7 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13120,6 +13228,7 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13159,6 +13268,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.Message = ptr.String(jtv) } + case "MigrationErrorReason": if value != nil { jtv, ok := value.(string) @@ -13167,6 +13277,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorReason = ptr.String(jtv) } + case "MigrationErrorType": if value != nil { jtv, ok := value.(string) @@ -13175,6 +13286,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorType = types.MigrationErrorType(jtv) } + default: _, _ = key, value @@ -13214,6 +13326,7 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13284,6 +13397,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13323,6 +13437,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } + case "parameter": if value != nil { jtv, ok := value.(string) @@ -13331,6 +13446,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -13339,6 +13455,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = types.ParameterExceptionReason(jtv) } + default: _, _ = key, value @@ -13378,6 +13495,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13417,6 +13535,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13456,6 +13575,7 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13495,6 +13615,7 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13534,6 +13655,7 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13573,6 +13695,7 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13612,6 +13735,7 @@ func awsAwsjson11_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = types.WafOverrideActionType(jtv) } + default: _, _ = key, value @@ -13651,6 +13775,7 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13690,6 +13815,7 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13729,6 +13855,7 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13768,6 +13895,7 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13807,6 +13935,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13846,6 +13975,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13881,6 +14011,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) if err := awsAwsjson11_deserializeDocumentWafAction(&sv.DefaultAction, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -13889,6 +14020,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13897,10 +14029,12 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.Rules, value); err != nil { return err } + case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -13909,6 +14043,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLArn = ptr.String(jtv) } + case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -13917,6 +14052,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLId = ptr.String(jtv) } + default: _, _ = key, value @@ -13990,6 +14126,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } + case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -13998,6 +14135,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.WebACLId = ptr.String(jtv) } + default: _, _ = key, value @@ -14037,6 +14175,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.Name = ptr.String(jtv) } + case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14045,10 +14184,12 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.XssMatchSetId = ptr.String(jtv) } + case "XssMatchTuples": if err := awsAwsjson11_deserializeDocumentXssMatchTuples(&sv.XssMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -14122,6 +14263,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.Name = ptr.String(jtv) } + case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14130,6 +14272,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.XssMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -14165,6 +14308,7 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -14173,6 +14317,7 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -14242,6 +14387,7 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } + case "ChangeToken": if value != nil { jtv, ok := value.(string) @@ -14250,6 +14396,7 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14289,10 +14436,12 @@ func awsAwsjson11_deserializeOpDocumentCreateGeoMatchSetOutput(v **CreateGeoMatc } sv.ChangeToken = ptr.String(jtv) } + case "GeoMatchSet": if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -14332,10 +14481,12 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + case "IPSet": if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } + default: _, _ = key, value @@ -14375,10 +14526,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRateBasedRuleOutput(v **CreateRateB } sv.ChangeToken = ptr.String(jtv) } + case "Rule": if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -14418,10 +14571,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexMatchSetOutput(v **CreateRegex } sv.ChangeToken = ptr.String(jtv) } + case "RegexMatchSet": if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -14461,10 +14616,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg } sv.ChangeToken = ptr.String(jtv) } + case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } + default: _, _ = key, value @@ -14504,10 +14661,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.ChangeToken = ptr.String(jtv) } + case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -14547,10 +14706,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + case "Rule": if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -14590,10 +14751,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSizeConstraintSetOutput(v **CreateS } sv.ChangeToken = ptr.String(jtv) } + case "SizeConstraintSet": if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } + default: _, _ = key, value @@ -14633,10 +14796,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSqlInjectionMatchSetOutput(v **Crea } sv.ChangeToken = ptr.String(jtv) } + case "SqlInjectionMatchSet": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -14676,6 +14841,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLMigrationStackOutput(v **Crea } sv.S3ObjectUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -14715,10 +14881,12 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -14758,10 +14926,12 @@ func awsAwsjson11_deserializeOpDocumentCreateXssMatchSetOutput(v **CreateXssMatc } sv.ChangeToken = ptr.String(jtv) } + case "XssMatchSet": if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -14801,6 +14971,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteByteMatchSetOutput(v **DeleteByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14840,6 +15011,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGeoMatchSetOutput(v **DeleteGeoMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14879,6 +15051,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteIPSetOutput(v **DeleteIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14980,6 +15153,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRateBasedRuleOutput(v **DeleteRateB } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15019,6 +15193,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexMatchSetOutput(v **DeleteRegex } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15058,6 +15233,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexPatternSetOutput(v **DeleteReg } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15097,6 +15273,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15136,6 +15313,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleOutput(v **DeleteRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15175,6 +15353,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSizeConstraintSetOutput(v **DeleteS } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15214,6 +15393,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSqlInjectionMatchSetOutput(v **Dele } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15253,6 +15433,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWebACLOutput(v **DeleteWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15292,6 +15473,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteXssMatchSetOutput(v **DeleteXssMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15327,6 +15509,7 @@ func awsAwsjson11_deserializeOpDocumentGetByteMatchSetOutput(v **GetByteMatchSet if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15366,6 +15549,7 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenOutput(v **GetChangeTokenOu } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15405,6 +15589,7 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenStatusOutput(v **GetChangeT } sv.ChangeTokenStatus = types.ChangeTokenStatus(jtv) } + default: _, _ = key, value @@ -15440,6 +15625,7 @@ func awsAwsjson11_deserializeOpDocumentGetGeoMatchSetOutput(v **GetGeoMatchSetOu if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15475,6 +15661,7 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } + default: _, _ = key, value @@ -15510,6 +15697,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -15549,6 +15737,7 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -15584,6 +15773,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get if err := awsAwsjson11_deserializeDocumentManagedKeys(&sv.ManagedKeys, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -15592,6 +15782,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -15627,6 +15818,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleOutput(v **GetRateBasedRu if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -15662,6 +15854,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegexMatchSetOutput(v **GetRegexMatchS if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15697,6 +15890,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } + default: _, _ = key, value @@ -15732,6 +15926,7 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -15767,6 +15962,7 @@ func awsAwsjson11_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -15810,14 +16006,17 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } + case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } + case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } + default: _, _ = key, value @@ -15853,6 +16052,7 @@ func awsAwsjson11_deserializeOpDocumentGetSizeConstraintSetOutput(v **GetSizeCon if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } + default: _, _ = key, value @@ -15888,6 +16088,7 @@ func awsAwsjson11_deserializeOpDocumentGetSqlInjectionMatchSetOutput(v **GetSqlI if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15923,6 +16124,7 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -15958,6 +16160,7 @@ func awsAwsjson11_deserializeOpDocumentGetXssMatchSetOutput(v **GetXssMatchSetOu if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15993,6 +16196,7 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.ActivatedRules, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16001,6 +16205,7 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16036,6 +16241,7 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch if err := awsAwsjson11_deserializeDocumentByteMatchSetSummaries(&sv.ByteMatchSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16044,6 +16250,7 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16079,6 +16286,7 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe if err := awsAwsjson11_deserializeDocumentGeoMatchSetSummaries(&sv.GeoMatchSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16087,6 +16295,7 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16122,6 +16331,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16130,6 +16340,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16165,6 +16376,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16173,6 +16385,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16212,10 +16425,12 @@ func awsAwsjson11_deserializeOpDocumentListRateBasedRulesOutput(v **ListRateBase } sv.NextMarker = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -16255,10 +16470,12 @@ func awsAwsjson11_deserializeOpDocumentListRegexMatchSetsOutput(v **ListRegexMat } sv.NextMarker = ptr.String(jtv) } + case "RegexMatchSets": if err := awsAwsjson11_deserializeDocumentRegexMatchSetSummaries(&sv.RegexMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -16298,10 +16515,12 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } + case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } + default: _, _ = key, value @@ -16341,10 +16560,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -16384,10 +16605,12 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextMarker = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -16427,10 +16650,12 @@ func awsAwsjson11_deserializeOpDocumentListSizeConstraintSetsOutput(v **ListSize } sv.NextMarker = ptr.String(jtv) } + case "SizeConstraintSets": if err := awsAwsjson11_deserializeDocumentSizeConstraintSetSummaries(&sv.SizeConstraintSets, value); err != nil { return err } + default: _, _ = key, value @@ -16470,10 +16695,12 @@ func awsAwsjson11_deserializeOpDocumentListSqlInjectionMatchSetsOutput(v **ListS } sv.NextMarker = ptr.String(jtv) } + case "SqlInjectionMatchSets": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummaries(&sv.SqlInjectionMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -16513,10 +16740,12 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedRuleGroupsOutput(v **ListSu } sv.NextMarker = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -16556,10 +16785,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } + case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } + default: _, _ = key, value @@ -16599,10 +16830,12 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } + case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } + default: _, _ = key, value @@ -16642,10 +16875,12 @@ func awsAwsjson11_deserializeOpDocumentListXssMatchSetsOutput(v **ListXssMatchSe } sv.NextMarker = ptr.String(jtv) } + case "XssMatchSets": if err := awsAwsjson11_deserializeDocumentXssMatchSetSummaries(&sv.XssMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -16681,6 +16916,7 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16813,6 +17049,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateByteMatchSetOutput(v **UpdateByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16852,6 +17089,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGeoMatchSetOutput(v **UpdateGeoMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16891,6 +17129,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16930,6 +17169,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRateBasedRuleOutput(v **UpdateRateB } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16969,6 +17209,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexMatchSetOutput(v **UpdateRegex } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17008,6 +17249,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17047,6 +17289,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17086,6 +17329,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17125,6 +17369,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSizeConstraintSetOutput(v **UpdateS } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17164,6 +17409,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSqlInjectionMatchSetOutput(v **Upda } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17203,6 +17449,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17242,6 +17489,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateXssMatchSetOutput(v **UpdateXssMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/wafregional/deserializers.go b/service/wafregional/deserializers.go index 9ff5d457155..5375441b445 100644 --- a/service/wafregional/deserializers.go +++ b/service/wafregional/deserializers.go @@ -10683,14 +10683,17 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu if err := awsAwsjson11_deserializeDocumentWafAction(&sv.Action, value); err != nil { return err } + case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } + case "OverrideAction": if err := awsAwsjson11_deserializeDocumentWafOverrideAction(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -10703,6 +10706,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Priority = ptr.Int32(int32(i64)) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -10711,6 +10715,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.RuleId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10719,6 +10724,7 @@ func awsAwsjson11_deserializeDocumentActivatedRule(v **types.ActivatedRule, valu } sv.Type = types.WafRuleType(jtv) } + default: _, _ = key, value @@ -10792,10 +10798,12 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.ByteMatchSetId = ptr.String(jtv) } + case "ByteMatchTuples": if err := awsAwsjson11_deserializeDocumentByteMatchTuples(&sv.ByteMatchTuples, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10804,6 +10812,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSet(v **types.ByteMatchSet, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10877,6 +10886,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.ByteMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10885,6 +10895,7 @@ func awsAwsjson11_deserializeDocumentByteMatchSetSummary(v **types.ByteMatchSetS } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10920,6 +10931,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -10928,6 +10940,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.PositionalConstraint = types.PositionalConstraint(jtv) } + case "TargetString": if value != nil { jtv, ok := value.(string) @@ -10940,6 +10953,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TargetString = dv } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -10948,6 +10962,7 @@ func awsAwsjson11_deserializeDocumentByteMatchTuple(v **types.ByteMatchTuple, va } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -11021,6 +11036,7 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -11094,6 +11110,7 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Data = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11102,6 +11119,7 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value } sv.Type = types.MatchFieldType(jtv) } + default: _, _ = key, value @@ -11141,6 +11159,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Type = types.GeoMatchConstraintType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11149,6 +11168,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchConstraint(v **types.GeoMatchConstr } sv.Value = types.GeoMatchConstraintValue(jtv) } + default: _, _ = key, value @@ -11218,6 +11238,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in if err := awsAwsjson11_deserializeDocumentGeoMatchConstraints(&sv.GeoMatchConstraints, value); err != nil { return err } + case "GeoMatchSetId": if value != nil { jtv, ok := value.(string) @@ -11226,6 +11247,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.GeoMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11234,6 +11256,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSet(v **types.GeoMatchSet, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11307,6 +11330,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.GeoMatchSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11315,6 +11339,7 @@ func awsAwsjson11_deserializeDocumentGeoMatchSetSummary(v **types.GeoMatchSetSum } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11354,6 +11379,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11362,6 +11388,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11435,6 +11462,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -11443,10 +11471,12 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } + case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } + case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -11455,6 +11485,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } + case "Method": if value != nil { jtv, ok := value.(string) @@ -11463,6 +11494,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -11471,6 +11503,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -11506,6 +11539,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPSetDescriptors(&sv.IPSetDescriptors, value); err != nil { return err } + case "IPSetId": if value != nil { jtv, ok := value.(string) @@ -11514,6 +11548,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11522,6 +11557,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11561,6 +11597,7 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Type = types.IPSetDescriptorType(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11569,6 +11606,7 @@ func awsAwsjson11_deserializeDocumentIPSetDescriptor(v **types.IPSetDescriptor, } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11676,6 +11714,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.IPSetId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11684,6 +11723,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11755,10 +11795,12 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } + case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -11767,6 +11809,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11876,6 +11919,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.DataId = ptr.String(jtv) } + case "Negated": if value != nil { jtv, ok := value.(bool) @@ -11884,6 +11928,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Negated = ptr.Bool(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11892,6 +11937,7 @@ func awsAwsjson11_deserializeDocumentPredicate(v **types.Predicate, value interf } sv.Type = types.PredicateType(jtv) } + default: _, _ = key, value @@ -11961,6 +12007,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err := awsAwsjson11_deserializeDocumentPredicates(&sv.MatchPredicates, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -11969,6 +12016,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11977,6 +12025,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.Name = ptr.String(jtv) } + case "RateKey": if value != nil { jtv, ok := value.(string) @@ -11985,6 +12034,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateKey = types.RateKey(jtv) } + case "RateLimit": if value != nil { jtv, ok := value.(json.Number) @@ -11997,6 +12047,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RateLimit = ptr.Int64(i64) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12005,6 +12056,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -12078,6 +12130,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.Name = ptr.String(jtv) } + case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12086,10 +12139,12 @@ func awsAwsjson11_deserializeDocumentRegexMatchSet(v **types.RegexMatchSet, valu } sv.RegexMatchSetId = ptr.String(jtv) } + case "RegexMatchTuples": if err := awsAwsjson11_deserializeDocumentRegexMatchTuples(&sv.RegexMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -12163,6 +12218,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.Name = ptr.String(jtv) } + case "RegexMatchSetId": if value != nil { jtv, ok := value.(string) @@ -12171,6 +12227,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchSetSummary(v **types.RegexMatchSe } sv.RegexMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -12206,6 +12263,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12214,6 +12272,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.RegexPatternSetId = ptr.String(jtv) } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12222,6 +12281,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchTuple(v **types.RegexMatchTuple, } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -12295,6 +12355,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12303,10 +12364,12 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.RegexPatternSetId = ptr.String(jtv) } + case "RegexPatternStrings": if err := awsAwsjson11_deserializeDocumentRegexPatternStrings(&sv.RegexPatternStrings, value); err != nil { return err } + default: _, _ = key, value @@ -12380,6 +12443,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } + case "RegexPatternSetId": if value != nil { jtv, ok := value.(string) @@ -12388,6 +12452,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.RegexPatternSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -12499,6 +12564,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12507,10 +12573,12 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Predicates": if err := awsAwsjson11_deserializeDocumentPredicates(&sv.Predicates, value); err != nil { return err } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12519,6 +12587,7 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -12558,6 +12627,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12566,6 +12636,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12574,6 +12645,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -12647,6 +12719,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -12655,6 +12728,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -12728,6 +12802,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } + case "RuleId": if value != nil { jtv, ok := value.(string) @@ -12736,6 +12811,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.RuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -12775,10 +12851,12 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } + case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } + case "RuleWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -12787,6 +12865,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleWithinRuleGroup = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -12802,6 +12881,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -12814,6 +12894,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } + default: _, _ = key, value @@ -12887,10 +12968,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -12903,6 +12986,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.Size = i64 } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -12911,6 +12995,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraint(v **types.SizeConstraint, va } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -12984,10 +13069,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.Name = ptr.String(jtv) } + case "SizeConstraints": if err := awsAwsjson11_deserializeDocumentSizeConstraints(&sv.SizeConstraints, value); err != nil { return err } + case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -12996,6 +13083,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSet(v **types.SizeConstraintS } sv.SizeConstraintSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -13069,6 +13157,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.Name = ptr.String(jtv) } + case "SizeConstraintSetId": if value != nil { jtv, ok := value.(string) @@ -13077,6 +13166,7 @@ func awsAwsjson11_deserializeDocumentSizeConstraintSetSummary(v **types.SizeCons } sv.SizeConstraintSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -13116,6 +13206,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.Name = ptr.String(jtv) } + case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -13124,10 +13215,12 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(v **types.SqlInjection } sv.SqlInjectionMatchSetId = ptr.String(jtv) } + case "SqlInjectionMatchTuples": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchTuples(&sv.SqlInjectionMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -13201,6 +13294,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.Name = ptr.String(jtv) } + case "SqlInjectionMatchSetId": if value != nil { jtv, ok := value.(string) @@ -13209,6 +13303,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummary(v **types.SqlIn } sv.SqlInjectionMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -13244,6 +13339,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -13252,6 +13348,7 @@ func awsAwsjson11_deserializeDocumentSqlInjectionMatchTuple(v **types.SqlInjecti } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -13359,6 +13456,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13367,6 +13465,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.Name = ptr.String(jtv) } + case "RuleGroupId": if value != nil { jtv, ok := value.(string) @@ -13375,6 +13474,7 @@ func awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummary(v **types.Subscr } sv.RuleGroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -13414,6 +13514,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -13422,6 +13523,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -13461,10 +13563,12 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -13545,6 +13649,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -13560,6 +13665,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + default: _, _ = key, value @@ -13599,6 +13705,7 @@ func awsAwsjson11_deserializeDocumentWafAction(v **types.WafAction, value interf } sv.Type = types.WafActionType(jtv) } + default: _, _ = key, value @@ -13638,6 +13745,7 @@ func awsAwsjson11_deserializeDocumentWAFBadRequestException(v **types.WAFBadRequ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13677,6 +13785,7 @@ func awsAwsjson11_deserializeDocumentWAFDisallowedNameException(v **types.WAFDis } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13716,6 +13825,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.Message = ptr.String(jtv) } + case "MigrationErrorReason": if value != nil { jtv, ok := value.(string) @@ -13724,6 +13834,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorReason = ptr.String(jtv) } + case "MigrationErrorType": if value != nil { jtv, ok := value.(string) @@ -13732,6 +13843,7 @@ func awsAwsjson11_deserializeDocumentWAFEntityMigrationException(v **types.WAFEn } sv.MigrationErrorType = types.MigrationErrorType(jtv) } + default: _, _ = key, value @@ -13771,6 +13883,7 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13841,6 +13954,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13880,6 +13994,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } + case "parameter": if value != nil { jtv, ok := value.(string) @@ -13888,6 +14003,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -13896,6 +14012,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = types.ParameterExceptionReason(jtv) } + default: _, _ = key, value @@ -13935,6 +14052,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13974,6 +14092,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidRegexPatternException(v **types.W } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14013,6 +14132,7 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14052,6 +14172,7 @@ func awsAwsjson11_deserializeDocumentWAFNonEmptyEntityException(v **types.WAFNon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14091,6 +14212,7 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentContainerException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14130,6 +14252,7 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14169,6 +14292,7 @@ func awsAwsjson11_deserializeDocumentWafOverrideAction(v **types.WafOverrideActi } sv.Type = types.WafOverrideActionType(jtv) } + default: _, _ = key, value @@ -14208,6 +14332,7 @@ func awsAwsjson11_deserializeDocumentWAFReferencedItemException(v **types.WAFRef } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14247,6 +14372,7 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14286,6 +14412,7 @@ func awsAwsjson11_deserializeDocumentWAFStaleDataException(v **types.WAFStaleDat } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14325,6 +14452,7 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14364,6 +14492,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14403,6 +14532,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14442,6 +14572,7 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14477,6 +14608,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) if err := awsAwsjson11_deserializeDocumentWafAction(&sv.DefaultAction, value); err != nil { return err } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -14485,6 +14617,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.MetricName = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14493,10 +14626,12 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.Rules, value); err != nil { return err } + case "WebACLArn": if value != nil { jtv, ok := value.(string) @@ -14505,6 +14640,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLArn = ptr.String(jtv) } + case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14513,6 +14649,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.WebACLId = ptr.String(jtv) } + default: _, _ = key, value @@ -14586,6 +14723,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } + case "WebACLId": if value != nil { jtv, ok := value.(string) @@ -14594,6 +14732,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.WebACLId = ptr.String(jtv) } + default: _, _ = key, value @@ -14633,6 +14772,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.Name = ptr.String(jtv) } + case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14641,10 +14781,12 @@ func awsAwsjson11_deserializeDocumentXssMatchSet(v **types.XssMatchSet, value in } sv.XssMatchSetId = ptr.String(jtv) } + case "XssMatchTuples": if err := awsAwsjson11_deserializeDocumentXssMatchTuples(&sv.XssMatchTuples, value); err != nil { return err } + default: _, _ = key, value @@ -14718,6 +14860,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.Name = ptr.String(jtv) } + case "XssMatchSetId": if value != nil { jtv, ok := value.(string) @@ -14726,6 +14869,7 @@ func awsAwsjson11_deserializeDocumentXssMatchSetSummary(v **types.XssMatchSetSum } sv.XssMatchSetId = ptr.String(jtv) } + default: _, _ = key, value @@ -14761,6 +14905,7 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformation": if value != nil { jtv, ok := value.(string) @@ -14769,6 +14914,7 @@ func awsAwsjson11_deserializeDocumentXssMatchTuple(v **types.XssMatchTuple, valu } sv.TextTransformation = types.TextTransformation(jtv) } + default: _, _ = key, value @@ -14869,6 +15015,7 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } + case "ChangeToken": if value != nil { jtv, ok := value.(string) @@ -14877,6 +15024,7 @@ func awsAwsjson11_deserializeOpDocumentCreateByteMatchSetOutput(v **CreateByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -14916,10 +15064,12 @@ func awsAwsjson11_deserializeOpDocumentCreateGeoMatchSetOutput(v **CreateGeoMatc } sv.ChangeToken = ptr.String(jtv) } + case "GeoMatchSet": if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -14959,10 +15109,12 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + case "IPSet": if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } + default: _, _ = key, value @@ -15002,10 +15154,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRateBasedRuleOutput(v **CreateRateB } sv.ChangeToken = ptr.String(jtv) } + case "Rule": if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -15045,10 +15199,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexMatchSetOutput(v **CreateRegex } sv.ChangeToken = ptr.String(jtv) } + case "RegexMatchSet": if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15088,10 +15244,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg } sv.ChangeToken = ptr.String(jtv) } + case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } + default: _, _ = key, value @@ -15131,10 +15289,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup } sv.ChangeToken = ptr.String(jtv) } + case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -15174,10 +15334,12 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleOutput(v **CreateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + case "Rule": if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -15217,10 +15379,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSizeConstraintSetOutput(v **CreateS } sv.ChangeToken = ptr.String(jtv) } + case "SizeConstraintSet": if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } + default: _, _ = key, value @@ -15260,10 +15424,12 @@ func awsAwsjson11_deserializeOpDocumentCreateSqlInjectionMatchSetOutput(v **Crea } sv.ChangeToken = ptr.String(jtv) } + case "SqlInjectionMatchSet": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15303,6 +15469,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLMigrationStackOutput(v **Crea } sv.S3ObjectUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -15342,10 +15509,12 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -15385,10 +15554,12 @@ func awsAwsjson11_deserializeOpDocumentCreateXssMatchSetOutput(v **CreateXssMatc } sv.ChangeToken = ptr.String(jtv) } + case "XssMatchSet": if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -15428,6 +15599,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteByteMatchSetOutput(v **DeleteByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15467,6 +15639,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteGeoMatchSetOutput(v **DeleteGeoMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15506,6 +15679,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteIPSetOutput(v **DeleteIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15607,6 +15781,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRateBasedRuleOutput(v **DeleteRateB } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15646,6 +15821,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexMatchSetOutput(v **DeleteRegex } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15685,6 +15861,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRegexPatternSetOutput(v **DeleteReg } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15724,6 +15901,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleGroupOutput(v **DeleteRuleGroup } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15763,6 +15941,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteRuleOutput(v **DeleteRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15802,6 +15981,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSizeConstraintSetOutput(v **DeleteS } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15841,6 +16021,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteSqlInjectionMatchSetOutput(v **Dele } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15880,6 +16061,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWebACLOutput(v **DeleteWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15919,6 +16101,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteXssMatchSetOutput(v **DeleteXssMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -15985,6 +16168,7 @@ func awsAwsjson11_deserializeOpDocumentGetByteMatchSetOutput(v **GetByteMatchSet if err := awsAwsjson11_deserializeDocumentByteMatchSet(&sv.ByteMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -16024,6 +16208,7 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenOutput(v **GetChangeTokenOu } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16063,6 +16248,7 @@ func awsAwsjson11_deserializeOpDocumentGetChangeTokenStatusOutput(v **GetChangeT } sv.ChangeTokenStatus = types.ChangeTokenStatus(jtv) } + default: _, _ = key, value @@ -16098,6 +16284,7 @@ func awsAwsjson11_deserializeOpDocumentGetGeoMatchSetOutput(v **GetGeoMatchSetOu if err := awsAwsjson11_deserializeDocumentGeoMatchSet(&sv.GeoMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -16133,6 +16320,7 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } + default: _, _ = key, value @@ -16168,6 +16356,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -16207,6 +16396,7 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -16242,6 +16432,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get if err := awsAwsjson11_deserializeDocumentManagedKeys(&sv.ManagedKeys, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16250,6 +16441,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleManagedKeysOutput(v **Get } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16285,6 +16477,7 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedRuleOutput(v **GetRateBasedRu if err := awsAwsjson11_deserializeDocumentRateBasedRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -16320,6 +16513,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegexMatchSetOutput(v **GetRegexMatchS if err := awsAwsjson11_deserializeDocumentRegexMatchSet(&sv.RegexMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -16355,6 +16549,7 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } + default: _, _ = key, value @@ -16390,6 +16585,7 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -16425,6 +16621,7 @@ func awsAwsjson11_deserializeOpDocumentGetRuleOutput(v **GetRuleOutput, value in if err := awsAwsjson11_deserializeDocumentRule(&sv.Rule, value); err != nil { return err } + default: _, _ = key, value @@ -16468,14 +16665,17 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } + case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } + case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } + default: _, _ = key, value @@ -16511,6 +16711,7 @@ func awsAwsjson11_deserializeOpDocumentGetSizeConstraintSetOutput(v **GetSizeCon if err := awsAwsjson11_deserializeDocumentSizeConstraintSet(&sv.SizeConstraintSet, value); err != nil { return err } + default: _, _ = key, value @@ -16546,6 +16747,7 @@ func awsAwsjson11_deserializeOpDocumentGetSqlInjectionMatchSetOutput(v **GetSqlI if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSet(&sv.SqlInjectionMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -16581,6 +16783,7 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLForResourceOutput(v **GetWebACLF if err := awsAwsjson11_deserializeDocumentWebACLSummary(&sv.WebACLSummary, value); err != nil { return err } + default: _, _ = key, value @@ -16616,6 +16819,7 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -16651,6 +16855,7 @@ func awsAwsjson11_deserializeOpDocumentGetXssMatchSetOutput(v **GetXssMatchSetOu if err := awsAwsjson11_deserializeDocumentXssMatchSet(&sv.XssMatchSet, value); err != nil { return err } + default: _, _ = key, value @@ -16686,6 +16891,7 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L if err := awsAwsjson11_deserializeDocumentActivatedRules(&sv.ActivatedRules, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16694,6 +16900,7 @@ func awsAwsjson11_deserializeOpDocumentListActivatedRulesInRuleGroupOutput(v **L } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16729,6 +16936,7 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch if err := awsAwsjson11_deserializeDocumentByteMatchSetSummaries(&sv.ByteMatchSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16737,6 +16945,7 @@ func awsAwsjson11_deserializeOpDocumentListByteMatchSetsOutput(v **ListByteMatch } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16772,6 +16981,7 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe if err := awsAwsjson11_deserializeDocumentGeoMatchSetSummaries(&sv.GeoMatchSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16780,6 +16990,7 @@ func awsAwsjson11_deserializeOpDocumentListGeoMatchSetsOutput(v **ListGeoMatchSe } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16815,6 +17026,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16823,6 +17035,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16858,6 +17071,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -16866,6 +17080,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -16905,10 +17120,12 @@ func awsAwsjson11_deserializeOpDocumentListRateBasedRulesOutput(v **ListRateBase } sv.NextMarker = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -16948,10 +17165,12 @@ func awsAwsjson11_deserializeOpDocumentListRegexMatchSetsOutput(v **ListRegexMat } sv.NextMarker = ptr.String(jtv) } + case "RegexMatchSets": if err := awsAwsjson11_deserializeDocumentRegexMatchSetSummaries(&sv.RegexMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -16991,10 +17210,12 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } + case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } + default: _, _ = key, value @@ -17030,6 +17251,7 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForWebACLOutput(v **ListReso if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } + default: _, _ = key, value @@ -17069,10 +17291,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -17112,10 +17336,12 @@ func awsAwsjson11_deserializeOpDocumentListRulesOutput(v **ListRulesOutput, valu } sv.NextMarker = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -17155,10 +17381,12 @@ func awsAwsjson11_deserializeOpDocumentListSizeConstraintSetsOutput(v **ListSize } sv.NextMarker = ptr.String(jtv) } + case "SizeConstraintSets": if err := awsAwsjson11_deserializeDocumentSizeConstraintSetSummaries(&sv.SizeConstraintSets, value); err != nil { return err } + default: _, _ = key, value @@ -17198,10 +17426,12 @@ func awsAwsjson11_deserializeOpDocumentListSqlInjectionMatchSetsOutput(v **ListS } sv.NextMarker = ptr.String(jtv) } + case "SqlInjectionMatchSets": if err := awsAwsjson11_deserializeDocumentSqlInjectionMatchSetSummaries(&sv.SqlInjectionMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -17241,10 +17471,12 @@ func awsAwsjson11_deserializeOpDocumentListSubscribedRuleGroupsOutput(v **ListSu } sv.NextMarker = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson11_deserializeDocumentSubscribedRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -17284,10 +17516,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } + case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } + default: _, _ = key, value @@ -17327,10 +17561,12 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } + case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } + default: _, _ = key, value @@ -17370,10 +17606,12 @@ func awsAwsjson11_deserializeOpDocumentListXssMatchSetsOutput(v **ListXssMatchSe } sv.NextMarker = ptr.String(jtv) } + case "XssMatchSets": if err := awsAwsjson11_deserializeDocumentXssMatchSetSummaries(&sv.XssMatchSets, value); err != nil { return err } + default: _, _ = key, value @@ -17409,6 +17647,7 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17541,6 +17780,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateByteMatchSetOutput(v **UpdateByteMa } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17580,6 +17820,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateGeoMatchSetOutput(v **UpdateGeoMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17619,6 +17860,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17658,6 +17900,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRateBasedRuleOutput(v **UpdateRateB } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17697,6 +17940,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexMatchSetOutput(v **UpdateRegex } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17736,6 +17980,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17775,6 +18020,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17814,6 +18060,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleOutput(v **UpdateRuleOutput, va } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17853,6 +18100,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSizeConstraintSetOutput(v **UpdateS } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17892,6 +18140,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateSqlInjectionMatchSetOutput(v **Upda } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17931,6 +18180,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17970,6 +18220,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateXssMatchSetOutput(v **UpdateXssMatc } sv.ChangeToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/wafv2/deserializers.go b/service/wafv2/deserializers.go index dcb0c939975..1370aea1e23 100644 --- a/service/wafv2/deserializers.go +++ b/service/wafv2/deserializers.go @@ -7430,6 +7430,7 @@ func awsAwsjson11_deserializeDocumentActionCondition(v **types.ActionCondition, } sv.Action = types.ActionValue(jtv) } + default: _, _ = key, value @@ -7469,6 +7470,7 @@ func awsAwsjson11_deserializeDocumentAddressField(v **types.AddressField, value } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -7569,6 +7571,7 @@ func awsAwsjson11_deserializeDocumentAllowAction(v **types.AllowAction, value in if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -7635,6 +7638,7 @@ func awsAwsjson11_deserializeDocumentAndStatement(v **types.AndStatement, value if err := awsAwsjson11_deserializeDocumentStatements(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -7708,6 +7712,7 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } sv.APIKey = ptr.String(jtv) } + case "CreationTimestamp": if value != nil { switch jtv := value.(type) { @@ -7723,10 +7728,12 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } } + case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -7739,6 +7746,7 @@ func awsAwsjson11_deserializeDocumentAPIKeySummary(v **types.APIKeySummary, valu } sv.Version = int32(i64) } + default: _, _ = key, value @@ -7774,6 +7782,7 @@ func awsAwsjson11_deserializeDocumentAssociationConfig(v **types.AssociationConf if err := awsAwsjson11_deserializeDocumentRequestBody(&sv.RequestBody, value); err != nil { return err } + default: _, _ = key, value @@ -7813,6 +7822,7 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.CreationPath = ptr.String(jtv) } + case "EnableRegexInPath": if value != nil { jtv, ok := value.(bool) @@ -7821,6 +7831,7 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.EnableRegexInPath = jtv } + case "RegistrationPagePath": if value != nil { jtv, ok := value.(string) @@ -7829,14 +7840,17 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(v **types.AWSMan } sv.RegistrationPagePath = ptr.String(jtv) } + case "RequestInspection": if err := awsAwsjson11_deserializeDocumentRequestInspectionACFP(&sv.RequestInspection, value); err != nil { return err } + case "ResponseInspection": if err := awsAwsjson11_deserializeDocumentResponseInspection(&sv.ResponseInspection, value); err != nil { return err } + default: _, _ = key, value @@ -7876,6 +7890,7 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(v **types.AWSMana } sv.EnableRegexInPath = jtv } + case "LoginPath": if value != nil { jtv, ok := value.(string) @@ -7884,14 +7899,17 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(v **types.AWSMana } sv.LoginPath = ptr.String(jtv) } + case "RequestInspection": if err := awsAwsjson11_deserializeDocumentRequestInspection(&sv.RequestInspection, value); err != nil { return err } + case "ResponseInspection": if err := awsAwsjson11_deserializeDocumentResponseInspection(&sv.ResponseInspection, value); err != nil { return err } + default: _, _ = key, value @@ -7931,6 +7949,7 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(v **types. } sv.EnableMachineLearning = ptr.Bool(jtv) } + case "InspectionLevel": if value != nil { jtv, ok := value.(string) @@ -7939,6 +7958,7 @@ func awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(v **types. } sv.InspectionLevel = types.InspectionLevel(jtv) } + default: _, _ = key, value @@ -7974,6 +7994,7 @@ func awsAwsjson11_deserializeDocumentBlockAction(v **types.BlockAction, value in if err := awsAwsjson11_deserializeDocumentCustomResponse(&sv.CustomResponse, value); err != nil { return err } + default: _, _ = key, value @@ -8013,6 +8034,7 @@ func awsAwsjson11_deserializeDocumentBody(v **types.Body, value interface{}) err } sv.OversizeHandling = types.OversizeHandling(jtv) } + default: _, _ = key, value @@ -8048,6 +8070,7 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "PositionalConstraint": if value != nil { jtv, ok := value.(string) @@ -8056,6 +8079,7 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState } sv.PositionalConstraint = types.PositionalConstraint(jtv) } + case "SearchString": if value != nil { jtv, ok := value.(string) @@ -8068,10 +8092,12 @@ func awsAwsjson11_deserializeDocumentByteMatchStatement(v **types.ByteMatchState } sv.SearchString = dv } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -8107,6 +8133,7 @@ func awsAwsjson11_deserializeDocumentCaptchaAction(v **types.CaptchaAction, valu if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -8142,6 +8169,7 @@ func awsAwsjson11_deserializeDocumentCaptchaConfig(v **types.CaptchaConfig, valu if err := awsAwsjson11_deserializeDocumentImmunityTimeProperty(&sv.ImmunityTimeProperty, value); err != nil { return err } + default: _, _ = key, value @@ -8181,6 +8209,7 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.FailureReason = types.FailureReason(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8193,6 +8222,7 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.ResponseCode = ptr.Int32(int32(i64)) } + case "SolveTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8205,6 +8235,7 @@ func awsAwsjson11_deserializeDocumentCaptchaResponse(v **types.CaptchaResponse, } sv.SolveTimestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -8240,6 +8271,7 @@ func awsAwsjson11_deserializeDocumentChallengeAction(v **types.ChallengeAction, if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -8275,6 +8307,7 @@ func awsAwsjson11_deserializeDocumentChallengeConfig(v **types.ChallengeConfig, if err := awsAwsjson11_deserializeDocumentImmunityTimeProperty(&sv.ImmunityTimeProperty, value); err != nil { return err } + default: _, _ = key, value @@ -8314,6 +8347,7 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.FailureReason = types.FailureReason(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8326,6 +8360,7 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.ResponseCode = ptr.Int32(int32(i64)) } + case "SolveTimestamp": if value != nil { jtv, ok := value.(json.Number) @@ -8338,6 +8373,7 @@ func awsAwsjson11_deserializeDocumentChallengeResponse(v **types.ChallengeRespon } sv.SolveTimestamp = ptr.Int64(i64) } + default: _, _ = key, value @@ -8373,10 +8409,12 @@ func awsAwsjson11_deserializeDocumentCondition(v **types.Condition, value interf if err := awsAwsjson11_deserializeDocumentActionCondition(&sv.ActionCondition, value); err != nil { return err } + case "LabelNameCondition": if err := awsAwsjson11_deserializeDocumentLabelNameCondition(&sv.LabelNameCondition, value); err != nil { return err } + default: _, _ = key, value @@ -8446,14 +8484,17 @@ func awsAwsjson11_deserializeDocumentCookieMatchPattern(v **types.CookieMatchPat if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } + case "ExcludedCookies": if err := awsAwsjson11_deserializeDocumentCookieNames(&sv.ExcludedCookies, value); err != nil { return err } + case "IncludedCookies": if err := awsAwsjson11_deserializeDocumentCookieNames(&sv.IncludedCookies, value); err != nil { return err } + default: _, _ = key, value @@ -8525,6 +8566,7 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ if err := awsAwsjson11_deserializeDocumentCookieMatchPattern(&sv.MatchPattern, value); err != nil { return err } + case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -8533,6 +8575,7 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ } sv.MatchScope = types.MapMatchScope(jtv) } + case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -8541,6 +8584,7 @@ func awsAwsjson11_deserializeDocumentCookies(v **types.Cookies, value interface{ } sv.OversizeHandling = types.OversizeHandling(jtv) } + default: _, _ = key, value @@ -8576,6 +8620,7 @@ func awsAwsjson11_deserializeDocumentCountAction(v **types.CountAction, value in if err := awsAwsjson11_deserializeDocumentCustomRequestHandling(&sv.CustomRequestHandling, value); err != nil { return err } + default: _, _ = key, value @@ -8651,6 +8696,7 @@ func awsAwsjson11_deserializeDocumentCustomHTTPHeader(v **types.CustomHTTPHeader } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -8659,6 +8705,7 @@ func awsAwsjson11_deserializeDocumentCustomHTTPHeader(v **types.CustomHTTPHeader } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -8728,6 +8775,7 @@ func awsAwsjson11_deserializeDocumentCustomRequestHandling(v **types.CustomReque if err := awsAwsjson11_deserializeDocumentCustomHTTPHeaders(&sv.InsertHeaders, value); err != nil { return err } + default: _, _ = key, value @@ -8767,6 +8815,7 @@ func awsAwsjson11_deserializeDocumentCustomResponse(v **types.CustomResponse, va } sv.CustomResponseBodyKey = ptr.String(jtv) } + case "ResponseCode": if value != nil { jtv, ok := value.(json.Number) @@ -8779,10 +8828,12 @@ func awsAwsjson11_deserializeDocumentCustomResponse(v **types.CustomResponse, va } sv.ResponseCode = ptr.Int32(int32(i64)) } + case "ResponseHeaders": if err := awsAwsjson11_deserializeDocumentCustomHTTPHeaders(&sv.ResponseHeaders, value); err != nil { return err } + default: _, _ = key, value @@ -8857,6 +8908,7 @@ func awsAwsjson11_deserializeDocumentCustomResponseBody(v **types.CustomResponse } sv.Content = ptr.String(jtv) } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -8865,6 +8917,7 @@ func awsAwsjson11_deserializeDocumentCustomResponseBody(v **types.CustomResponse } sv.ContentType = types.ResponseContentType(jtv) } + default: _, _ = key, value @@ -8900,10 +8953,12 @@ func awsAwsjson11_deserializeDocumentDefaultAction(v **types.DefaultAction, valu if err := awsAwsjson11_deserializeDocumentAllowAction(&sv.Allow, value); err != nil { return err } + case "Block": if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } + default: _, _ = key, value @@ -8943,6 +8998,7 @@ func awsAwsjson11_deserializeDocumentEmailField(v **types.EmailField, value inte } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -8982,6 +9038,7 @@ func awsAwsjson11_deserializeDocumentExcludedRule(v **types.ExcludedRule, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9051,50 +9108,62 @@ func awsAwsjson11_deserializeDocumentFieldToMatch(v **types.FieldToMatch, value if err := awsAwsjson11_deserializeDocumentAllQueryArguments(&sv.AllQueryArguments, value); err != nil { return err } + case "Body": if err := awsAwsjson11_deserializeDocumentBody(&sv.Body, value); err != nil { return err } + case "Cookies": if err := awsAwsjson11_deserializeDocumentCookies(&sv.Cookies, value); err != nil { return err } + case "HeaderOrder": if err := awsAwsjson11_deserializeDocumentHeaderOrder(&sv.HeaderOrder, value); err != nil { return err } + case "Headers": if err := awsAwsjson11_deserializeDocumentHeaders(&sv.Headers, value); err != nil { return err } + case "JA3Fingerprint": if err := awsAwsjson11_deserializeDocumentJA3Fingerprint(&sv.JA3Fingerprint, value); err != nil { return err } + case "JsonBody": if err := awsAwsjson11_deserializeDocumentJsonBody(&sv.JsonBody, value); err != nil { return err } + case "Method": if err := awsAwsjson11_deserializeDocumentMethod(&sv.Method, value); err != nil { return err } + case "QueryString": if err := awsAwsjson11_deserializeDocumentQueryString(&sv.QueryString, value); err != nil { return err } + case "SingleHeader": if err := awsAwsjson11_deserializeDocumentSingleHeader(&sv.SingleHeader, value); err != nil { return err } + case "SingleQueryArgument": if err := awsAwsjson11_deserializeDocumentSingleQueryArgument(&sv.SingleQueryArgument, value); err != nil { return err } + case "UriPath": if err := awsAwsjson11_deserializeDocumentUriPath(&sv.UriPath, value); err != nil { return err } + default: _, _ = key, value @@ -9134,10 +9203,12 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Behavior = types.FilterBehavior(jtv) } + case "Conditions": if err := awsAwsjson11_deserializeDocumentConditions(&sv.Conditions, value); err != nil { return err } + case "Requirement": if value != nil { jtv, ok := value.(string) @@ -9146,6 +9217,7 @@ func awsAwsjson11_deserializeDocumentFilter(v **types.Filter, value interface{}) } sv.Requirement = types.FilterRequirement(jtv) } + default: _, _ = key, value @@ -9215,6 +9287,7 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall if err := awsAwsjson11_deserializeDocumentFirewallManagerStatement(&sv.FirewallManagerStatement, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9223,10 +9296,12 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall } sv.Name = ptr.String(jtv) } + case "OverrideAction": if err := awsAwsjson11_deserializeDocumentOverrideAction(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -9239,10 +9314,12 @@ func awsAwsjson11_deserializeDocumentFirewallManagerRuleGroup(v **types.Firewall } sv.Priority = int32(i64) } + case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -9312,10 +9389,12 @@ func awsAwsjson11_deserializeDocumentFirewallManagerStatement(v **types.Firewall if err := awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(&sv.ManagedRuleGroupStatement, value); err != nil { return err } + case "RuleGroupReferenceStatement": if err := awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(&sv.RuleGroupReferenceStatement, value); err != nil { return err } + default: _, _ = key, value @@ -9355,6 +9434,7 @@ func awsAwsjson11_deserializeDocumentForwardedIPConfig(v **types.ForwardedIPConf } sv.FallbackBehavior = types.FallbackBehavior(jtv) } + case "HeaderName": if value != nil { jtv, ok := value.(string) @@ -9363,6 +9443,7 @@ func awsAwsjson11_deserializeDocumentForwardedIPConfig(v **types.ForwardedIPConf } sv.HeaderName = ptr.String(jtv) } + default: _, _ = key, value @@ -9398,10 +9479,12 @@ func awsAwsjson11_deserializeDocumentGeoMatchStatement(v **types.GeoMatchStateme if err := awsAwsjson11_deserializeDocumentCountryCodes(&sv.CountryCodes, value); err != nil { return err } + case "ForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentForwardedIPConfig(&sv.ForwardedIPConfig, value); err != nil { return err } + default: _, _ = key, value @@ -9437,14 +9520,17 @@ func awsAwsjson11_deserializeDocumentHeaderMatchPattern(v **types.HeaderMatchPat if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } + case "ExcludedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderNames(&sv.ExcludedHeaders, value); err != nil { return err } + case "IncludedHeaders": if err := awsAwsjson11_deserializeDocumentHeaderNames(&sv.IncludedHeaders, value); err != nil { return err } + default: _, _ = key, value @@ -9520,6 +9606,7 @@ func awsAwsjson11_deserializeDocumentHeaderOrder(v **types.HeaderOrder, value in } sv.OversizeHandling = types.OversizeHandling(jtv) } + default: _, _ = key, value @@ -9555,6 +9642,7 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ if err := awsAwsjson11_deserializeDocumentHeaderMatchPattern(&sv.MatchPattern, value); err != nil { return err } + case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -9563,6 +9651,7 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ } sv.MatchScope = types.MapMatchScope(jtv) } + case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -9571,6 +9660,7 @@ func awsAwsjson11_deserializeDocumentHeaders(v **types.Headers, value interface{ } sv.OversizeHandling = types.OversizeHandling(jtv) } + default: _, _ = key, value @@ -9610,6 +9700,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Name = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9618,6 +9709,7 @@ func awsAwsjson11_deserializeDocumentHTTPHeader(v **types.HTTPHeader, value inte } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9691,6 +9783,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.ClientIP = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -9699,10 +9792,12 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Country = ptr.String(jtv) } + case "Headers": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.Headers, value); err != nil { return err } + case "HTTPVersion": if value != nil { jtv, ok := value.(string) @@ -9711,6 +9806,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.HTTPVersion = ptr.String(jtv) } + case "Method": if value != nil { jtv, ok := value.(string) @@ -9719,6 +9815,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.Method = ptr.String(jtv) } + case "URI": if value != nil { jtv, ok := value.(string) @@ -9727,6 +9824,7 @@ func awsAwsjson11_deserializeDocumentHTTPRequest(v **types.HTTPRequest, value in } sv.URI = ptr.String(jtv) } + default: _, _ = key, value @@ -9770,6 +9868,7 @@ func awsAwsjson11_deserializeDocumentImmunityTimeProperty(v **types.ImmunityTime } sv.ImmunityTime = ptr.Int64(i64) } + default: _, _ = key, value @@ -9841,6 +9940,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e if err := awsAwsjson11_deserializeDocumentIPAddresses(&sv.Addresses, value); err != nil { return err } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -9849,6 +9949,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -9857,6 +9958,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9865,6 +9967,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Id = ptr.String(jtv) } + case "IPAddressVersion": if value != nil { jtv, ok := value.(string) @@ -9873,6 +9976,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.IPAddressVersion = types.IPAddressVersion(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9881,6 +9985,7 @@ func awsAwsjson11_deserializeDocumentIPSet(v **types.IPSet, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9920,6 +10025,7 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.FallbackBehavior = types.FallbackBehavior(jtv) } + case "HeaderName": if value != nil { jtv, ok := value.(string) @@ -9928,6 +10034,7 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.HeaderName = ptr.String(jtv) } + case "Position": if value != nil { jtv, ok := value.(string) @@ -9936,6 +10043,7 @@ func awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(v **types.IPSetForwa } sv.Position = types.ForwardedIPPosition(jtv) } + default: _, _ = key, value @@ -9975,10 +10083,12 @@ func awsAwsjson11_deserializeDocumentIPSetReferenceStatement(v **types.IPSetRefe } sv.ARN = ptr.String(jtv) } + case "IPSetForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentIPSetForwardedIPConfig(&sv.IPSetForwardedIPConfig, value); err != nil { return err } + default: _, _ = key, value @@ -10052,6 +10162,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -10060,6 +10171,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10068,6 +10180,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Id = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -10076,6 +10189,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.LockToken = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10084,6 +10198,7 @@ func awsAwsjson11_deserializeDocumentIPSetSummary(v **types.IPSetSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10123,6 +10238,7 @@ func awsAwsjson11_deserializeDocumentJA3Fingerprint(v **types.JA3Fingerprint, va } sv.FallbackBehavior = types.FallbackBehavior(jtv) } + default: _, _ = key, value @@ -10162,10 +10278,12 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.InvalidFallbackBehavior = types.BodyParsingFallbackBehavior(jtv) } + case "MatchPattern": if err := awsAwsjson11_deserializeDocumentJsonMatchPattern(&sv.MatchPattern, value); err != nil { return err } + case "MatchScope": if value != nil { jtv, ok := value.(string) @@ -10174,6 +10292,7 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.MatchScope = types.JsonMatchScope(jtv) } + case "OversizeHandling": if value != nil { jtv, ok := value.(string) @@ -10182,6 +10301,7 @@ func awsAwsjson11_deserializeDocumentJsonBody(v **types.JsonBody, value interfac } sv.OversizeHandling = types.OversizeHandling(jtv) } + default: _, _ = key, value @@ -10217,10 +10337,12 @@ func awsAwsjson11_deserializeDocumentJsonMatchPattern(v **types.JsonMatchPattern if err := awsAwsjson11_deserializeDocumentAll(&sv.All, value); err != nil { return err } + case "IncludedPaths": if err := awsAwsjson11_deserializeDocumentJsonPointerPaths(&sv.IncludedPaths, value); err != nil { return err } + default: _, _ = key, value @@ -10296,6 +10418,7 @@ func awsAwsjson11_deserializeDocumentLabel(v **types.Label, value interface{}) e } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10335,6 +10458,7 @@ func awsAwsjson11_deserializeDocumentLabelMatchStatement(v **types.LabelMatchSta } sv.Key = ptr.String(jtv) } + case "Scope": if value != nil { jtv, ok := value.(string) @@ -10343,6 +10467,7 @@ func awsAwsjson11_deserializeDocumentLabelMatchStatement(v **types.LabelMatchSta } sv.Scope = types.LabelMatchScope(jtv) } + default: _, _ = key, value @@ -10382,6 +10507,7 @@ func awsAwsjson11_deserializeDocumentLabelNameCondition(v **types.LabelNameCondi } sv.LabelName = ptr.String(jtv) } + default: _, _ = key, value @@ -10489,6 +10615,7 @@ func awsAwsjson11_deserializeDocumentLabelSummary(v **types.LabelSummary, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -10560,10 +10687,12 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi if err := awsAwsjson11_deserializeDocumentLogDestinationConfigs(&sv.LogDestinationConfigs, value); err != nil { return err } + case "LoggingFilter": if err := awsAwsjson11_deserializeDocumentLoggingFilter(&sv.LoggingFilter, value); err != nil { return err } + case "LogScope": if value != nil { jtv, ok := value.(string) @@ -10572,6 +10701,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogScope = types.LogScope(jtv) } + case "LogType": if value != nil { jtv, ok := value.(string) @@ -10580,6 +10710,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.LogType = types.LogType(jtv) } + case "ManagedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -10588,10 +10719,12 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ManagedByFirewallManager = jtv } + case "RedactedFields": if err := awsAwsjson11_deserializeDocumentRedactedFields(&sv.RedactedFields, value); err != nil { return err } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -10600,6 +10733,7 @@ func awsAwsjson11_deserializeDocumentLoggingConfiguration(v **types.LoggingConfi } sv.ResourceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10673,10 +10807,12 @@ func awsAwsjson11_deserializeDocumentLoggingFilter(v **types.LoggingFilter, valu } sv.DefaultBehavior = types.FilterBehavior(jtv) } + case "Filters": if err := awsAwsjson11_deserializeDocumentFilters(&sv.Filters, value); err != nil { return err } + default: _, _ = key, value @@ -10716,6 +10852,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.IsAdvancedManagedRuleSet = jtv } + case "IsVersioningSupported": if value != nil { jtv, ok := value.(bool) @@ -10724,6 +10861,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.IsVersioningSupported = jtv } + case "ManagedRuleSetName": if value != nil { jtv, ok := value.(string) @@ -10732,6 +10870,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ManagedRuleSetName = ptr.String(jtv) } + case "ProductDescription": if value != nil { jtv, ok := value.(string) @@ -10740,6 +10879,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductDescription = ptr.String(jtv) } + case "ProductId": if value != nil { jtv, ok := value.(string) @@ -10748,6 +10888,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductId = ptr.String(jtv) } + case "ProductLink": if value != nil { jtv, ok := value.(string) @@ -10756,6 +10897,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductLink = ptr.String(jtv) } + case "ProductTitle": if value != nil { jtv, ok := value.(string) @@ -10764,6 +10906,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.ProductTitle = ptr.String(jtv) } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -10772,6 +10915,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.SnsTopicArn = ptr.String(jtv) } + case "VendorName": if value != nil { jtv, ok := value.(string) @@ -10780,6 +10924,7 @@ func awsAwsjson11_deserializeDocumentManagedProductDescriptor(v **types.ManagedP } sv.VendorName = ptr.String(jtv) } + default: _, _ = key, value @@ -10849,14 +10994,17 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul if err := awsAwsjson11_deserializeDocumentAWSManagedRulesACFPRuleSet(&sv.AWSManagedRulesACFPRuleSet, value); err != nil { return err } + case "AWSManagedRulesATPRuleSet": if err := awsAwsjson11_deserializeDocumentAWSManagedRulesATPRuleSet(&sv.AWSManagedRulesATPRuleSet, value); err != nil { return err } + case "AWSManagedRulesBotControlRuleSet": if err := awsAwsjson11_deserializeDocumentAWSManagedRulesBotControlRuleSet(&sv.AWSManagedRulesBotControlRuleSet, value); err != nil { return err } + case "LoginPath": if value != nil { jtv, ok := value.(string) @@ -10865,10 +11013,12 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul } sv.LoginPath = ptr.String(jtv) } + case "PasswordField": if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } + case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -10877,10 +11027,12 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupConfig(v **types.ManagedRul } sv.PayloadType = types.PayloadType(jtv) } + case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } + default: _, _ = key, value @@ -10950,10 +11102,12 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } + case "ManagedRuleGroupConfigs": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupConfigs(&sv.ManagedRuleGroupConfigs, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -10962,14 +11116,17 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.Name = ptr.String(jtv) } + case "RuleActionOverrides": if err := awsAwsjson11_deserializeDocumentRuleActionOverrides(&sv.RuleActionOverrides, value); err != nil { return err } + case "ScopeDownStatement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.ScopeDownStatement, value); err != nil { return err } + case "VendorName": if value != nil { jtv, ok := value.(string) @@ -10978,6 +11135,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.VendorName = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(string) @@ -10986,6 +11144,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(v **types.Managed } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -11059,6 +11218,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.Description = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11067,6 +11227,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.Name = ptr.String(jtv) } + case "VendorName": if value != nil { jtv, ok := value.(string) @@ -11075,6 +11236,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.VendorName = ptr.String(jtv) } + case "VersioningSupported": if value != nil { jtv, ok := value.(bool) @@ -11083,6 +11245,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupSummary(v **types.ManagedRu } sv.VersioningSupported = jtv } + default: _, _ = key, value @@ -11129,6 +11292,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupVersion(v **types.ManagedRu } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11137,6 +11301,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleGroupVersion(v **types.ManagedRu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11210,6 +11375,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11218,6 +11384,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11226,6 +11393,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Id = ptr.String(jtv) } + case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -11234,6 +11402,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.LabelNamespace = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11242,10 +11411,12 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.Name = ptr.String(jtv) } + case "PublishedVersions": if err := awsAwsjson11_deserializeDocumentPublishedVersions(&sv.PublishedVersions, value); err != nil { return err } + case "RecommendedVersion": if value != nil { jtv, ok := value.(string) @@ -11254,6 +11425,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSet(v **types.ManagedRuleSet, va } sv.RecommendedVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -11327,6 +11499,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -11335,6 +11508,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -11343,6 +11517,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Id = ptr.String(jtv) } + case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -11351,6 +11526,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.LabelNamespace = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -11359,6 +11535,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.LockToken = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -11367,6 +11544,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetSummary(v **types.ManagedRule } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -11406,6 +11584,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.AssociatedRuleGroupArn = ptr.String(jtv) } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -11418,6 +11597,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.Capacity = ptr.Int64(i64) } + case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -11433,6 +11613,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } + case "ForecastedLifetime": if value != nil { jtv, ok := value.(json.Number) @@ -11445,6 +11626,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } sv.ForecastedLifetime = ptr.Int32(int32(i64)) } + case "LastUpdateTimestamp": if value != nil { switch jtv := value.(type) { @@ -11460,6 +11642,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } + case "PublishTimestamp": if value != nil { switch jtv := value.(type) { @@ -11475,6 +11658,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule } } + default: _, _ = key, value @@ -11545,6 +11729,7 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } sv.ReleaseNotes = ptr.String(jtv) } + case "ReleaseVersion": if value != nil { jtv, ok := value.(string) @@ -11553,10 +11738,12 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } sv.ReleaseVersion = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -11572,6 +11759,7 @@ func awsAwsjson11_deserializeDocumentMobileSdkRelease(v **types.MobileSdkRelease } } + default: _, _ = key, value @@ -11638,6 +11826,7 @@ func awsAwsjson11_deserializeDocumentNotStatement(v **types.NotStatement, value if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } + default: _, _ = key, value @@ -11673,6 +11862,7 @@ func awsAwsjson11_deserializeDocumentOrStatement(v **types.OrStatement, value in if err := awsAwsjson11_deserializeDocumentStatements(&sv.Statements, value); err != nil { return err } + default: _, _ = key, value @@ -11708,10 +11898,12 @@ func awsAwsjson11_deserializeDocumentOverrideAction(v **types.OverrideAction, va if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } + case "None": if err := awsAwsjson11_deserializeDocumentNoneAction(&sv.None, value); err != nil { return err } + default: _, _ = key, value @@ -11751,6 +11943,7 @@ func awsAwsjson11_deserializeDocumentPasswordField(v **types.PasswordField, valu } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -11790,6 +11983,7 @@ func awsAwsjson11_deserializeDocumentPhoneNumberField(v **types.PhoneNumberField } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -11929,10 +12123,12 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.AggregateKeyType = types.RateBasedStatementAggregateKeyType(jtv) } + case "CustomKeys": if err := awsAwsjson11_deserializeDocumentRateBasedStatementCustomKeys(&sv.CustomKeys, value); err != nil { return err } + case "EvaluationWindowSec": if value != nil { jtv, ok := value.(json.Number) @@ -11945,10 +12141,12 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.EvaluationWindowSec = i64 } + case "ForwardedIPConfig": if err := awsAwsjson11_deserializeDocumentForwardedIPConfig(&sv.ForwardedIPConfig, value); err != nil { return err } + case "Limit": if value != nil { jtv, ok := value.(json.Number) @@ -11961,10 +12159,12 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState } sv.Limit = ptr.Int64(i64) } + case "ScopeDownStatement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.ScopeDownStatement, value); err != nil { return err } + default: _, _ = key, value @@ -12000,38 +12200,47 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementCustomKey(v **types.RateB if err := awsAwsjson11_deserializeDocumentRateLimitCookie(&sv.Cookie, value); err != nil { return err } + case "ForwardedIP": if err := awsAwsjson11_deserializeDocumentRateLimitForwardedIP(&sv.ForwardedIP, value); err != nil { return err } + case "Header": if err := awsAwsjson11_deserializeDocumentRateLimitHeader(&sv.Header, value); err != nil { return err } + case "HTTPMethod": if err := awsAwsjson11_deserializeDocumentRateLimitHTTPMethod(&sv.HTTPMethod, value); err != nil { return err } + case "IP": if err := awsAwsjson11_deserializeDocumentRateLimitIP(&sv.IP, value); err != nil { return err } + case "LabelNamespace": if err := awsAwsjson11_deserializeDocumentRateLimitLabelNamespace(&sv.LabelNamespace, value); err != nil { return err } + case "QueryArgument": if err := awsAwsjson11_deserializeDocumentRateLimitQueryArgument(&sv.QueryArgument, value); err != nil { return err } + case "QueryString": if err := awsAwsjson11_deserializeDocumentRateLimitQueryString(&sv.QueryString, value); err != nil { return err } + case "UriPath": if err := awsAwsjson11_deserializeDocumentRateLimitUriPath(&sv.UriPath, value); err != nil { return err } + default: _, _ = key, value @@ -12101,6 +12310,7 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(v **type if err := awsAwsjson11_deserializeDocumentIPAddresses(&sv.Addresses, value); err != nil { return err } + case "IPAddressVersion": if value != nil { jtv, ok := value.(string) @@ -12109,6 +12319,7 @@ func awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(v **type } sv.IPAddressVersion = types.IPAddressVersion(jtv) } + default: _, _ = key, value @@ -12148,10 +12359,12 @@ func awsAwsjson11_deserializeDocumentRateLimitCookie(v **types.RateLimitCookie, } sv.Name = ptr.String(jtv) } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12222,10 +12435,12 @@ func awsAwsjson11_deserializeDocumentRateLimitHeader(v **types.RateLimitHeader, } sv.Name = ptr.String(jtv) } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12327,6 +12542,7 @@ func awsAwsjson11_deserializeDocumentRateLimitLabelNamespace(v **types.RateLimit } sv.Namespace = ptr.String(jtv) } + default: _, _ = key, value @@ -12366,10 +12582,12 @@ func awsAwsjson11_deserializeDocumentRateLimitQueryArgument(v **types.RateLimitQ } sv.Name = ptr.String(jtv) } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12405,6 +12623,7 @@ func awsAwsjson11_deserializeDocumentRateLimitQueryString(v **types.RateLimitQue if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12440,6 +12659,7 @@ func awsAwsjson11_deserializeDocumentRateLimitUriPath(v **types.RateLimitUriPath if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12513,6 +12733,7 @@ func awsAwsjson11_deserializeDocumentRegex(v **types.Regex, value interface{}) e } sv.RegexString = ptr.String(jtv) } + default: _, _ = key, value @@ -12548,6 +12769,7 @@ func awsAwsjson11_deserializeDocumentRegexMatchStatement(v **types.RegexMatchSta if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "RegexString": if value != nil { jtv, ok := value.(string) @@ -12556,10 +12778,12 @@ func awsAwsjson11_deserializeDocumentRegexMatchStatement(v **types.RegexMatchSta } sv.RegexString = ptr.String(jtv) } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12599,6 +12823,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12607,6 +12832,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12615,6 +12841,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12623,10 +12850,12 @@ func awsAwsjson11_deserializeDocumentRegexPatternSet(v **types.RegexPatternSet, } sv.Name = ptr.String(jtv) } + case "RegularExpressionList": if err := awsAwsjson11_deserializeDocumentRegularExpressionList(&sv.RegularExpressionList, value); err != nil { return err } + default: _, _ = key, value @@ -12666,14 +12895,17 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetReferenceStatement(v **types } sv.ARN = ptr.String(jtv) } + case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -12747,6 +12979,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12755,6 +12988,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12763,6 +12997,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Id = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -12771,6 +13006,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.LockToken = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12779,6 +13015,7 @@ func awsAwsjson11_deserializeDocumentRegexPatternSetSummary(v **types.RegexPatte } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -12886,6 +13123,7 @@ func awsAwsjson11_deserializeDocumentReleaseSummary(v **types.ReleaseSummary, va } sv.ReleaseVersion = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -12901,6 +13139,7 @@ func awsAwsjson11_deserializeDocumentReleaseSummary(v **types.ReleaseSummary, va } } + default: _, _ = key, value @@ -12975,6 +13214,7 @@ func awsAwsjson11_deserializeDocumentRequestBodyAssociatedResourceTypeConfig(v * } sv.DefaultSizeInspectionLimit = types.SizeInspectionLimit(jtv) } + default: _, _ = key, value @@ -13010,6 +13250,7 @@ func awsAwsjson11_deserializeDocumentRequestInspection(v **types.RequestInspecti if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } + case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -13018,10 +13259,12 @@ func awsAwsjson11_deserializeDocumentRequestInspection(v **types.RequestInspecti } sv.PayloadType = types.PayloadType(jtv) } + case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } + default: _, _ = key, value @@ -13057,14 +13300,17 @@ func awsAwsjson11_deserializeDocumentRequestInspectionACFP(v **types.RequestInsp if err := awsAwsjson11_deserializeDocumentAddressFields(&sv.AddressFields, value); err != nil { return err } + case "EmailField": if err := awsAwsjson11_deserializeDocumentEmailField(&sv.EmailField, value); err != nil { return err } + case "PasswordField": if err := awsAwsjson11_deserializeDocumentPasswordField(&sv.PasswordField, value); err != nil { return err } + case "PayloadType": if value != nil { jtv, ok := value.(string) @@ -13073,14 +13319,17 @@ func awsAwsjson11_deserializeDocumentRequestInspectionACFP(v **types.RequestInsp } sv.PayloadType = types.PayloadType(jtv) } + case "PhoneNumberFields": if err := awsAwsjson11_deserializeDocumentPhoneNumberFields(&sv.PhoneNumberFields, value); err != nil { return err } + case "UsernameField": if err := awsAwsjson11_deserializeDocumentUsernameField(&sv.UsernameField, value); err != nil { return err } + default: _, _ = key, value @@ -13152,18 +13401,22 @@ func awsAwsjson11_deserializeDocumentResponseInspection(v **types.ResponseInspec if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContains(&sv.BodyContains, value); err != nil { return err } + case "Header": if err := awsAwsjson11_deserializeDocumentResponseInspectionHeader(&sv.Header, value); err != nil { return err } + case "Json": if err := awsAwsjson11_deserializeDocumentResponseInspectionJson(&sv.Json, value); err != nil { return err } + case "StatusCode": if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCode(&sv.StatusCode, value); err != nil { return err } + default: _, _ = key, value @@ -13199,10 +13452,12 @@ func awsAwsjson11_deserializeDocumentResponseInspectionBodyContains(v **types.Re if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContainsFailureStrings(&sv.FailureStrings, value); err != nil { return err } + case "SuccessStrings": if err := awsAwsjson11_deserializeDocumentResponseInspectionBodyContainsSuccessStrings(&sv.SuccessStrings, value); err != nil { return err } + default: _, _ = key, value @@ -13310,6 +13565,7 @@ func awsAwsjson11_deserializeDocumentResponseInspectionHeader(v **types.Response if err := awsAwsjson11_deserializeDocumentResponseInspectionHeaderFailureValues(&sv.FailureValues, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13318,10 +13574,12 @@ func awsAwsjson11_deserializeDocumentResponseInspectionHeader(v **types.Response } sv.Name = ptr.String(jtv) } + case "SuccessValues": if err := awsAwsjson11_deserializeDocumentResponseInspectionHeaderSuccessValues(&sv.SuccessValues, value); err != nil { return err } + default: _, _ = key, value @@ -13429,6 +13687,7 @@ func awsAwsjson11_deserializeDocumentResponseInspectionJson(v **types.ResponseIn if err := awsAwsjson11_deserializeDocumentResponseInspectionJsonFailureValues(&sv.FailureValues, value); err != nil { return err } + case "Identifier": if value != nil { jtv, ok := value.(string) @@ -13437,10 +13696,12 @@ func awsAwsjson11_deserializeDocumentResponseInspectionJson(v **types.ResponseIn } sv.Identifier = ptr.String(jtv) } + case "SuccessValues": if err := awsAwsjson11_deserializeDocumentResponseInspectionJsonSuccessValues(&sv.SuccessValues, value); err != nil { return err } + default: _, _ = key, value @@ -13548,10 +13809,12 @@ func awsAwsjson11_deserializeDocumentResponseInspectionStatusCode(v **types.Resp if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCodeFailureCodes(&sv.FailureCodes, value); err != nil { return err } + case "SuccessCodes": if err := awsAwsjson11_deserializeDocumentResponseInspectionStatusCodeSuccessCodes(&sv.SuccessCodes, value); err != nil { return err } + default: _, _ = key, value @@ -13667,14 +13930,17 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "CaptchaConfig": if err := awsAwsjson11_deserializeDocumentCaptchaConfig(&sv.CaptchaConfig, value); err != nil { return err } + case "ChallengeConfig": if err := awsAwsjson11_deserializeDocumentChallengeConfig(&sv.ChallengeConfig, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13683,10 +13949,12 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Name = ptr.String(jtv) } + case "OverrideAction": if err := awsAwsjson11_deserializeDocumentOverrideAction(&sv.OverrideAction, value); err != nil { return err } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -13699,18 +13967,22 @@ func awsAwsjson11_deserializeDocumentRule(v **types.Rule, value interface{}) err } sv.Priority = int32(i64) } + case "RuleLabels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.RuleLabels, value); err != nil { return err } + case "Statement": if err := awsAwsjson11_deserializeDocumentStatement(&sv.Statement, value); err != nil { return err } + case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13746,22 +14018,27 @@ func awsAwsjson11_deserializeDocumentRuleAction(v **types.RuleAction, value inte if err := awsAwsjson11_deserializeDocumentAllowAction(&sv.Allow, value); err != nil { return err } + case "Block": if err := awsAwsjson11_deserializeDocumentBlockAction(&sv.Block, value); err != nil { return err } + case "Captcha": if err := awsAwsjson11_deserializeDocumentCaptchaAction(&sv.Captcha, value); err != nil { return err } + case "Challenge": if err := awsAwsjson11_deserializeDocumentChallengeAction(&sv.Challenge, value); err != nil { return err } + case "Count": if err := awsAwsjson11_deserializeDocumentCountAction(&sv.Count, value); err != nil { return err } + default: _, _ = key, value @@ -13797,6 +14074,7 @@ func awsAwsjson11_deserializeDocumentRuleActionOverride(v **types.RuleActionOver if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.ActionToUse, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13805,6 +14083,7 @@ func awsAwsjson11_deserializeDocumentRuleActionOverride(v **types.RuleActionOver } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13878,10 +14157,12 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.ARN = ptr.String(jtv) } + case "AvailableLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.AvailableLabels, value); err != nil { return err } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -13894,14 +14175,17 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Capacity = ptr.Int64(i64) } + case "ConsumedLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.ConsumedLabels, value); err != nil { return err } + case "CustomResponseBodies": if err := awsAwsjson11_deserializeDocumentCustomResponseBodies(&sv.CustomResponseBodies, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -13910,6 +14194,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13918,6 +14203,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Id = ptr.String(jtv) } + case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -13926,6 +14212,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.LabelNamespace = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13934,14 +14221,17 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } + case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -13981,14 +14271,17 @@ func awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(v **types.RuleG } sv.ARN = ptr.String(jtv) } + case "ExcludedRules": if err := awsAwsjson11_deserializeDocumentExcludedRules(&sv.ExcludedRules, value); err != nil { return err } + case "RuleActionOverrides": if err := awsAwsjson11_deserializeDocumentRuleActionOverrides(&sv.RuleActionOverrides, value); err != nil { return err } + default: _, _ = key, value @@ -14062,6 +14355,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14070,6 +14364,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14078,6 +14373,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Id = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -14086,6 +14382,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.LockToken = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14094,6 +14391,7 @@ func awsAwsjson11_deserializeDocumentRuleGroupSummary(v **types.RuleGroupSummary } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14197,6 +14495,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in if err := awsAwsjson11_deserializeDocumentRuleAction(&sv.Action, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14205,6 +14504,7 @@ func awsAwsjson11_deserializeDocumentRuleSummary(v **types.RuleSummary, value in } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14244,18 +14544,22 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Action = ptr.String(jtv) } + case "CaptchaResponse": if err := awsAwsjson11_deserializeDocumentCaptchaResponse(&sv.CaptchaResponse, value); err != nil { return err } + case "ChallengeResponse": if err := awsAwsjson11_deserializeDocumentChallengeResponse(&sv.ChallengeResponse, value); err != nil { return err } + case "Labels": if err := awsAwsjson11_deserializeDocumentLabels(&sv.Labels, value); err != nil { return err } + case "OverriddenAction": if value != nil { jtv, ok := value.(string) @@ -14264,14 +14568,17 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.OverriddenAction = ptr.String(jtv) } + case "Request": if err := awsAwsjson11_deserializeDocumentHTTPRequest(&sv.Request, value); err != nil { return err } + case "RequestHeadersInserted": if err := awsAwsjson11_deserializeDocumentHTTPHeaders(&sv.RequestHeadersInserted, value); err != nil { return err } + case "ResponseCodeSent": if value != nil { jtv, ok := value.(json.Number) @@ -14284,6 +14591,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.ResponseCodeSent = ptr.Int32(int32(i64)) } + case "RuleNameWithinRuleGroup": if value != nil { jtv, ok := value.(string) @@ -14292,6 +14600,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.RuleNameWithinRuleGroup = ptr.String(jtv) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -14307,6 +14616,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } } + case "Weight": if value != nil { jtv, ok := value.(json.Number) @@ -14319,6 +14629,7 @@ func awsAwsjson11_deserializeDocumentSampledHTTPRequest(v **types.SampledHTTPReq } sv.Weight = i64 } + default: _, _ = key, value @@ -14392,6 +14703,7 @@ func awsAwsjson11_deserializeDocumentSingleHeader(v **types.SingleHeader, value } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14431,6 +14743,7 @@ func awsAwsjson11_deserializeDocumentSingleQueryArgument(v **types.SingleQueryAr } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14470,10 +14783,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraintStatement(v **types.SizeConst } sv.ComparisonOperator = types.ComparisonOperator(jtv) } + case "FieldToMatch": if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -14486,10 +14801,12 @@ func awsAwsjson11_deserializeDocumentSizeConstraintStatement(v **types.SizeConst } sv.Size = i64 } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -14525,6 +14842,7 @@ func awsAwsjson11_deserializeDocumentSqliMatchStatement(v **types.SqliMatchState if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "SensitivityLevel": if value != nil { jtv, ok := value.(string) @@ -14533,10 +14851,12 @@ func awsAwsjson11_deserializeDocumentSqliMatchStatement(v **types.SqliMatchState } sv.SensitivityLevel = types.SensitivityLevel(jtv) } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -14572,62 +14892,77 @@ func awsAwsjson11_deserializeDocumentStatement(v **types.Statement, value interf if err := awsAwsjson11_deserializeDocumentAndStatement(&sv.AndStatement, value); err != nil { return err } + case "ByteMatchStatement": if err := awsAwsjson11_deserializeDocumentByteMatchStatement(&sv.ByteMatchStatement, value); err != nil { return err } + case "GeoMatchStatement": if err := awsAwsjson11_deserializeDocumentGeoMatchStatement(&sv.GeoMatchStatement, value); err != nil { return err } + case "IPSetReferenceStatement": if err := awsAwsjson11_deserializeDocumentIPSetReferenceStatement(&sv.IPSetReferenceStatement, value); err != nil { return err } + case "LabelMatchStatement": if err := awsAwsjson11_deserializeDocumentLabelMatchStatement(&sv.LabelMatchStatement, value); err != nil { return err } + case "ManagedRuleGroupStatement": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupStatement(&sv.ManagedRuleGroupStatement, value); err != nil { return err } + case "NotStatement": if err := awsAwsjson11_deserializeDocumentNotStatement(&sv.NotStatement, value); err != nil { return err } + case "OrStatement": if err := awsAwsjson11_deserializeDocumentOrStatement(&sv.OrStatement, value); err != nil { return err } + case "RateBasedStatement": if err := awsAwsjson11_deserializeDocumentRateBasedStatement(&sv.RateBasedStatement, value); err != nil { return err } + case "RegexMatchStatement": if err := awsAwsjson11_deserializeDocumentRegexMatchStatement(&sv.RegexMatchStatement, value); err != nil { return err } + case "RegexPatternSetReferenceStatement": if err := awsAwsjson11_deserializeDocumentRegexPatternSetReferenceStatement(&sv.RegexPatternSetReferenceStatement, value); err != nil { return err } + case "RuleGroupReferenceStatement": if err := awsAwsjson11_deserializeDocumentRuleGroupReferenceStatement(&sv.RuleGroupReferenceStatement, value); err != nil { return err } + case "SizeConstraintStatement": if err := awsAwsjson11_deserializeDocumentSizeConstraintStatement(&sv.SizeConstraintStatement, value); err != nil { return err } + case "SqliMatchStatement": if err := awsAwsjson11_deserializeDocumentSqliMatchStatement(&sv.SqliMatchStatement, value); err != nil { return err } + case "XssMatchStatement": if err := awsAwsjson11_deserializeDocumentXssMatchStatement(&sv.XssMatchStatement, value); err != nil { return err } + default: _, _ = key, value @@ -14701,6 +15036,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -14709,6 +15045,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -14748,10 +15085,12 @@ func awsAwsjson11_deserializeDocumentTagInfoForResource(v **types.TagInfoForReso } sv.ResourceARN = ptr.String(jtv) } + case "TagList": if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -14829,6 +15168,7 @@ func awsAwsjson11_deserializeDocumentTextTransformation(v **types.TextTransforma } sv.Priority = int32(i64) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14837,6 +15177,7 @@ func awsAwsjson11_deserializeDocumentTextTransformation(v **types.TextTransforma } sv.Type = types.TextTransformationType(jtv) } + default: _, _ = key, value @@ -14917,6 +15258,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14932,6 +15274,7 @@ func awsAwsjson11_deserializeDocumentTimeWindow(v **types.TimeWindow, value inte } } + default: _, _ = key, value @@ -15038,6 +15381,7 @@ func awsAwsjson11_deserializeDocumentUsernameField(v **types.UsernameField, valu } sv.Identifier = ptr.String(jtv) } + default: _, _ = key, value @@ -15077,6 +15421,7 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.CloudWatchMetricsEnabled = jtv } + case "MetricName": if value != nil { jtv, ok := value.(string) @@ -15085,6 +15430,7 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.MetricName = ptr.String(jtv) } + case "SampledRequestsEnabled": if value != nil { jtv, ok := value.(bool) @@ -15093,6 +15439,7 @@ func awsAwsjson11_deserializeDocumentVisibilityConfig(v **types.VisibilityConfig } sv.SampledRequestsEnabled = jtv } + default: _, _ = key, value @@ -15132,6 +15479,7 @@ func awsAwsjson11_deserializeDocumentWAFAssociatedItemException(v **types.WAFAss } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15171,6 +15519,7 @@ func awsAwsjson11_deserializeDocumentWAFConfigurationWarningException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15210,6 +15559,7 @@ func awsAwsjson11_deserializeDocumentWAFDuplicateItemException(v **types.WAFDupl } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15249,6 +15599,7 @@ func awsAwsjson11_deserializeDocumentWAFExpiredManagedRuleGroupVersionException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15288,6 +15639,7 @@ func awsAwsjson11_deserializeDocumentWAFInternalErrorException(v **types.WAFInte } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15327,6 +15679,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidOperationException(v **types.WAFI } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15366,6 +15719,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Field = types.ParameterExceptionField(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -15374,6 +15728,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Message = ptr.String(jtv) } + case "Parameter": if value != nil { jtv, ok := value.(string) @@ -15382,6 +15737,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Parameter = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -15390,6 +15746,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidParameterException(v **types.WAFI } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -15429,6 +15786,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidPermissionPolicyException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15468,6 +15826,7 @@ func awsAwsjson11_deserializeDocumentWAFInvalidResourceException(v **types.WAFIn } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15507,6 +15866,7 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.Message = ptr.String(jtv) } + case "SourceType": if value != nil { jtv, ok := value.(string) @@ -15515,6 +15875,7 @@ func awsAwsjson11_deserializeDocumentWAFLimitsExceededException(v **types.WAFLim } sv.SourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15554,6 +15915,7 @@ func awsAwsjson11_deserializeDocumentWAFLogDestinationPermissionIssueException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15593,6 +15955,7 @@ func awsAwsjson11_deserializeDocumentWAFNonexistentItemException(v **types.WAFNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15632,6 +15995,7 @@ func awsAwsjson11_deserializeDocumentWAFOptimisticLockException(v **types.WAFOpt } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15671,6 +16035,7 @@ func awsAwsjson11_deserializeDocumentWAFServiceLinkedRoleErrorException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15710,6 +16075,7 @@ func awsAwsjson11_deserializeDocumentWAFSubscriptionNotFoundException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15749,6 +16115,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationException(v **types.WAFTagOp } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15788,6 +16155,7 @@ func awsAwsjson11_deserializeDocumentWAFTagOperationInternalErrorException(v **t } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15827,6 +16195,7 @@ func awsAwsjson11_deserializeDocumentWAFUnavailableEntityException(v **types.WAF } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15866,6 +16235,7 @@ func awsAwsjson11_deserializeDocumentWAFUnsupportedAggregateKeyTypeException(v * } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15905,10 +16275,12 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.ARN = ptr.String(jtv) } + case "AssociationConfig": if err := awsAwsjson11_deserializeDocumentAssociationConfig(&sv.AssociationConfig, value); err != nil { return err } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -15921,22 +16293,27 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Capacity = i64 } + case "CaptchaConfig": if err := awsAwsjson11_deserializeDocumentCaptchaConfig(&sv.CaptchaConfig, value); err != nil { return err } + case "ChallengeConfig": if err := awsAwsjson11_deserializeDocumentChallengeConfig(&sv.ChallengeConfig, value); err != nil { return err } + case "CustomResponseBodies": if err := awsAwsjson11_deserializeDocumentCustomResponseBodies(&sv.CustomResponseBodies, value); err != nil { return err } + case "DefaultAction": if err := awsAwsjson11_deserializeDocumentDefaultAction(&sv.DefaultAction, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -15945,6 +16322,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15953,6 +16331,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Id = ptr.String(jtv) } + case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -15961,6 +16340,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.LabelNamespace = ptr.String(jtv) } + case "ManagedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -15969,6 +16349,7 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.ManagedByFirewallManager = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15977,14 +16358,17 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.Name = ptr.String(jtv) } + case "PostProcessFirewallManagerRuleGroups": if err := awsAwsjson11_deserializeDocumentFirewallManagerRuleGroups(&sv.PostProcessFirewallManagerRuleGroups, value); err != nil { return err } + case "PreProcessFirewallManagerRuleGroups": if err := awsAwsjson11_deserializeDocumentFirewallManagerRuleGroups(&sv.PreProcessFirewallManagerRuleGroups, value); err != nil { return err } + case "RetrofittedByFirewallManager": if value != nil { jtv, ok := value.(bool) @@ -15993,18 +16377,22 @@ func awsAwsjson11_deserializeDocumentWebACL(v **types.WebACL, value interface{}) } sv.RetrofittedByFirewallManager = jtv } + case "Rules": if err := awsAwsjson11_deserializeDocumentRules(&sv.Rules, value); err != nil { return err } + case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } + case "VisibilityConfig": if err := awsAwsjson11_deserializeDocumentVisibilityConfig(&sv.VisibilityConfig, value); err != nil { return err } + default: _, _ = key, value @@ -16078,6 +16466,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.ARN = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16086,6 +16475,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -16094,6 +16484,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Id = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -16102,6 +16493,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.LockToken = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16110,6 +16502,7 @@ func awsAwsjson11_deserializeDocumentWebACLSummary(v **types.WebACLSummary, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -16145,10 +16538,12 @@ func awsAwsjson11_deserializeDocumentXssMatchStatement(v **types.XssMatchStateme if err := awsAwsjson11_deserializeDocumentFieldToMatch(&sv.FieldToMatch, value); err != nil { return err } + case "TextTransformations": if err := awsAwsjson11_deserializeDocumentTextTransformations(&sv.TextTransformations, value); err != nil { return err } + default: _, _ = key, value @@ -16223,6 +16618,7 @@ func awsAwsjson11_deserializeOpDocumentCheckCapacityOutput(v **CheckCapacityOutp } sv.Capacity = i64 } + default: _, _ = key, value @@ -16262,6 +16658,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAPIKeyOutput(v **CreateAPIKeyOutput } sv.APIKey = ptr.String(jtv) } + default: _, _ = key, value @@ -16297,6 +16694,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIPSetOutput(v **CreateIPSetOutput, if err := awsAwsjson11_deserializeDocumentIPSetSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -16332,6 +16730,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRegexPatternSetOutput(v **CreateReg if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -16367,6 +16766,7 @@ func awsAwsjson11_deserializeOpDocumentCreateRuleGroupOutput(v **CreateRuleGroup if err := awsAwsjson11_deserializeDocumentRuleGroupSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -16402,6 +16802,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWebACLOutput(v **CreateWebACLOutput if err := awsAwsjson11_deserializeDocumentWebACLSummary(&sv.Summary, value); err != nil { return err } + default: _, _ = key, value @@ -16472,6 +16873,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteFirewallManagerRuleGroupsOutput(v * } sv.NextWebACLLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -16693,6 +17095,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAllManagedProductsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentManagedProductDescriptors(&sv.ManagedProducts, value); err != nil { return err } + default: _, _ = key, value @@ -16728,6 +17131,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedProductsByVendorOutput(v * if err := awsAwsjson11_deserializeDocumentManagedProductDescriptors(&sv.ManagedProducts, value); err != nil { return err } + default: _, _ = key, value @@ -16763,6 +17167,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.AvailableLabels, value); err != nil { return err } + case "Capacity": if value != nil { jtv, ok := value.(json.Number) @@ -16775,10 +17180,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.Capacity = ptr.Int64(i64) } + case "ConsumedLabels": if err := awsAwsjson11_deserializeDocumentLabelSummaries(&sv.ConsumedLabels, value); err != nil { return err } + case "LabelNamespace": if value != nil { jtv, ok := value.(string) @@ -16787,10 +17194,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.LabelNamespace = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentRuleSummaries(&sv.Rules, value); err != nil { return err } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) @@ -16799,6 +17208,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.SnsTopicArn = ptr.String(jtv) } + case "VersionName": if value != nil { jtv, ok := value.(string) @@ -16807,6 +17217,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri } sv.VersionName = ptr.String(jtv) } + default: _, _ = key, value @@ -16877,6 +17288,7 @@ func awsAwsjson11_deserializeOpDocumentGenerateMobileSdkReleaseUrlOutput(v **Gen } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -16923,10 +17335,12 @@ func awsAwsjson11_deserializeOpDocumentGetDecryptedAPIKeyOutput(v **GetDecrypted } } + case "TokenDomains": if err := awsAwsjson11_deserializeDocumentTokenDomains(&sv.TokenDomains, value); err != nil { return err } + default: _, _ = key, value @@ -16962,6 +17376,7 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value if err := awsAwsjson11_deserializeDocumentIPSet(&sv.IPSet, value); err != nil { return err } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -16970,6 +17385,7 @@ func awsAwsjson11_deserializeOpDocumentGetIPSetOutput(v **GetIPSetOutput, value } sv.LockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -17005,6 +17421,7 @@ func awsAwsjson11_deserializeOpDocumentGetLoggingConfigurationOutput(v **GetLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17044,10 +17461,12 @@ func awsAwsjson11_deserializeOpDocumentGetManagedRuleSetOutput(v **GetManagedRul } sv.LockToken = ptr.String(jtv) } + case "ManagedRuleSet": if err := awsAwsjson11_deserializeDocumentManagedRuleSet(&sv.ManagedRuleSet, value); err != nil { return err } + default: _, _ = key, value @@ -17083,6 +17502,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileSdkReleaseOutput(v **GetMobileSd if err := awsAwsjson11_deserializeDocumentMobileSdkRelease(&sv.MobileSdkRelease, value); err != nil { return err } + default: _, _ = key, value @@ -17122,6 +17542,7 @@ func awsAwsjson11_deserializeOpDocumentGetPermissionPolicyOutput(v **GetPermissi } sv.Policy = ptr.String(jtv) } + default: _, _ = key, value @@ -17157,10 +17578,12 @@ func awsAwsjson11_deserializeOpDocumentGetRateBasedStatementManagedKeysOutput(v if err := awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(&sv.ManagedKeysIPV4, value); err != nil { return err } + case "ManagedKeysIPV6": if err := awsAwsjson11_deserializeDocumentRateBasedStatementManagedKeysIPSet(&sv.ManagedKeysIPV6, value); err != nil { return err } + default: _, _ = key, value @@ -17200,10 +17623,12 @@ func awsAwsjson11_deserializeOpDocumentGetRegexPatternSetOutput(v **GetRegexPatt } sv.LockToken = ptr.String(jtv) } + case "RegexPatternSet": if err := awsAwsjson11_deserializeDocumentRegexPatternSet(&sv.RegexPatternSet, value); err != nil { return err } + default: _, _ = key, value @@ -17243,10 +17668,12 @@ func awsAwsjson11_deserializeOpDocumentGetRuleGroupOutput(v **GetRuleGroupOutput } sv.LockToken = ptr.String(jtv) } + case "RuleGroup": if err := awsAwsjson11_deserializeDocumentRuleGroup(&sv.RuleGroup, value); err != nil { return err } + default: _, _ = key, value @@ -17290,14 +17717,17 @@ func awsAwsjson11_deserializeOpDocumentGetSampledRequestsOutput(v **GetSampledRe } sv.PopulationSize = i64 } + case "SampledRequests": if err := awsAwsjson11_deserializeDocumentSampledHTTPRequests(&sv.SampledRequests, value); err != nil { return err } + case "TimeWindow": if err := awsAwsjson11_deserializeDocumentTimeWindow(&sv.TimeWindow, value); err != nil { return err } + default: _, _ = key, value @@ -17333,6 +17763,7 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLForResourceOutput(v **GetWebACLF if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -17372,6 +17803,7 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu } sv.ApplicationIntegrationURL = ptr.String(jtv) } + case "LockToken": if value != nil { jtv, ok := value.(string) @@ -17380,10 +17812,12 @@ func awsAwsjson11_deserializeOpDocumentGetWebACLOutput(v **GetWebACLOutput, valu } sv.LockToken = ptr.String(jtv) } + case "WebACL": if err := awsAwsjson11_deserializeDocumentWebACL(&sv.WebACL, value); err != nil { return err } + default: _, _ = key, value @@ -17419,6 +17853,7 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, if err := awsAwsjson11_deserializeDocumentAPIKeySummaries(&sv.APIKeySummaries, value); err != nil { return err } + case "ApplicationIntegrationURL": if value != nil { jtv, ok := value.(string) @@ -17427,6 +17862,7 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, } sv.ApplicationIntegrationURL = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17435,6 +17871,7 @@ func awsAwsjson11_deserializeOpDocumentListAPIKeysOutput(v **ListAPIKeysOutput, } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17470,6 +17907,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupsOutput(v ** if err := awsAwsjson11_deserializeDocumentManagedRuleGroupSummaries(&sv.ManagedRuleGroups, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17478,6 +17916,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupsOutput(v ** } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17517,6 +17956,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupVersionsOutp } sv.CurrentDefaultVersion = ptr.String(jtv) } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17525,10 +17965,12 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagedRuleGroupVersionsOutp } sv.NextMarker = ptr.String(jtv) } + case "Versions": if err := awsAwsjson11_deserializeDocumentManagedRuleGroupVersions(&sv.Versions, value); err != nil { return err } + default: _, _ = key, value @@ -17564,6 +18006,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va if err := awsAwsjson11_deserializeDocumentIPSetSummaries(&sv.IPSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17572,6 +18015,7 @@ func awsAwsjson11_deserializeOpDocumentListIPSetsOutput(v **ListIPSetsOutput, va } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17607,6 +18051,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL if err := awsAwsjson11_deserializeDocumentLoggingConfigurations(&sv.LoggingConfigurations, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17615,6 +18060,7 @@ func awsAwsjson11_deserializeOpDocumentListLoggingConfigurationsOutput(v **ListL } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17650,6 +18096,7 @@ func awsAwsjson11_deserializeOpDocumentListManagedRuleSetsOutput(v **ListManaged if err := awsAwsjson11_deserializeDocumentManagedRuleSetSummaries(&sv.ManagedRuleSets, value); err != nil { return err } + case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -17658,6 +18105,7 @@ func awsAwsjson11_deserializeOpDocumentListManagedRuleSetsOutput(v **ListManaged } sv.NextMarker = ptr.String(jtv) } + default: _, _ = key, value @@ -17697,10 +18145,12 @@ func awsAwsjson11_deserializeOpDocumentListMobileSdkReleasesOutput(v **ListMobil } sv.NextMarker = ptr.String(jtv) } + case "ReleaseSummaries": if err := awsAwsjson11_deserializeDocumentReleaseSummaries(&sv.ReleaseSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -17740,10 +18190,12 @@ func awsAwsjson11_deserializeOpDocumentListRegexPatternSetsOutput(v **ListRegexP } sv.NextMarker = ptr.String(jtv) } + case "RegexPatternSets": if err := awsAwsjson11_deserializeDocumentRegexPatternSetSummaries(&sv.RegexPatternSets, value); err != nil { return err } + default: _, _ = key, value @@ -17779,6 +18231,7 @@ func awsAwsjson11_deserializeOpDocumentListResourcesForWebACLOutput(v **ListReso if err := awsAwsjson11_deserializeDocumentResourceArns(&sv.ResourceArns, value); err != nil { return err } + default: _, _ = key, value @@ -17818,10 +18271,12 @@ func awsAwsjson11_deserializeOpDocumentListRuleGroupsOutput(v **ListRuleGroupsOu } sv.NextMarker = ptr.String(jtv) } + case "RuleGroups": if err := awsAwsjson11_deserializeDocumentRuleGroupSummaries(&sv.RuleGroups, value); err != nil { return err } + default: _, _ = key, value @@ -17861,10 +18316,12 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextMarker = ptr.String(jtv) } + case "TagInfoForResource": if err := awsAwsjson11_deserializeDocumentTagInfoForResource(&sv.TagInfoForResource, value); err != nil { return err } + default: _, _ = key, value @@ -17904,10 +18361,12 @@ func awsAwsjson11_deserializeOpDocumentListWebACLsOutput(v **ListWebACLsOutput, } sv.NextMarker = ptr.String(jtv) } + case "WebACLs": if err := awsAwsjson11_deserializeDocumentWebACLSummaries(&sv.WebACLs, value); err != nil { return err } + default: _, _ = key, value @@ -17943,6 +18402,7 @@ func awsAwsjson11_deserializeOpDocumentPutLoggingConfigurationOutput(v **PutLogg if err := awsAwsjson11_deserializeDocumentLoggingConfiguration(&sv.LoggingConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17982,6 +18442,7 @@ func awsAwsjson11_deserializeOpDocumentPutManagedRuleSetVersionsOutput(v **PutMa } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18114,6 +18575,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateIPSetOutput(v **UpdateIPSetOutput, } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18153,6 +18615,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } sv.ExpiringVersion = ptr.String(jtv) } + case "ExpiryTimestamp": if value != nil { switch jtv := value.(type) { @@ -18168,6 +18631,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } } + case "NextLockToken": if value != nil { jtv, ok := value.(string) @@ -18176,6 +18640,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateManagedRuleSetVersionExpiryDateOutp } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18215,6 +18680,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRegexPatternSetOutput(v **UpdateReg } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18254,6 +18720,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateRuleGroupOutput(v **UpdateRuleGroup } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18293,6 +18760,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWebACLOutput(v **UpdateWebACLOutput } sv.NextLockToken = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/wellarchitected/deserializers.go b/service/wellarchitected/deserializers.go index 27f42518cd2..958017984dd 100644 --- a/service/wellarchitected/deserializers.go +++ b/service/wellarchitected/deserializers.go @@ -412,6 +412,7 @@ func awsRestjson1_deserializeOpDocumentCreateLensShareOutput(v **CreateLensShare } sv.ShareId = ptr.String(jtv) } + default: _, _ = key, value @@ -585,6 +586,7 @@ func awsRestjson1_deserializeOpDocumentCreateLensVersionOutput(v **CreateLensVer } sv.LensArn = ptr.String(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -593,6 +595,7 @@ func awsRestjson1_deserializeOpDocumentCreateLensVersionOutput(v **CreateLensVer } sv.LensVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -770,6 +773,7 @@ func awsRestjson1_deserializeOpDocumentCreateMilestoneOutput(v **CreateMilestone } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -778,6 +782,7 @@ func awsRestjson1_deserializeOpDocumentCreateMilestoneOutput(v **CreateMilestone } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -948,6 +953,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileArn = ptr.String(jtv) } + case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -956,6 +962,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileOutput(v **CreateProfileOutp } sv.ProfileVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -1129,6 +1136,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileShareOutput(v **CreateProfil } sv.ProfileArn = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -1137,6 +1145,7 @@ func awsRestjson1_deserializeOpDocumentCreateProfileShareOutput(v **CreateProfil } sv.ShareId = ptr.String(jtv) } + default: _, _ = key, value @@ -1310,6 +1319,7 @@ func awsRestjson1_deserializeOpDocumentCreateReviewTemplateOutput(v **CreateRevi } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1483,6 +1493,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateShareOutput(v **CreateTempl } sv.ShareId = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -1491,6 +1502,7 @@ func awsRestjson1_deserializeOpDocumentCreateTemplateShareOutput(v **CreateTempl } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1664,6 +1676,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadOutput(v **CreateWorkloadOu } sv.WorkloadArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -1672,6 +1685,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadOutput(v **CreateWorkloadOu } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -1845,6 +1859,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadShareOutput(v **CreateWorkl } sv.ShareId = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -1853,6 +1868,7 @@ func awsRestjson1_deserializeOpDocumentCreateWorkloadShareOutput(v **CreateWorkl } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -3110,6 +3126,7 @@ func awsRestjson1_deserializeOpDocumentExportLensOutput(v **ExportLensOutput, va } sv.LensJSON = ptr.String(jtv) } + default: _, _ = key, value @@ -3273,6 +3290,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu if err := awsRestjson1_deserializeDocumentAnswer(&sv.Answer, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -3281,6 +3299,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -3289,6 +3308,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.LensArn = ptr.String(jtv) } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -3301,6 +3321,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -3309,6 +3330,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -3476,10 +3498,12 @@ func awsRestjson1_deserializeOpDocumentGetConsolidatedReportOutput(v **GetConsol } sv.Base64String = ptr.String(jtv) } + case "Metrics": if err := awsRestjson1_deserializeDocumentConsolidatedReportMetrics(&sv.Metrics, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3488,6 +3512,7 @@ func awsRestjson1_deserializeOpDocumentGetConsolidatedReportOutput(v **GetConsol } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3652,10 +3677,12 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett } sv.DiscoveryIntegrationStatus = types.DiscoveryIntegrationStatus(jtv) } + case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(&sv.JiraConfiguration, value); err != nil { return err } + case "OrganizationSharingStatus": if value != nil { jtv, ok := value.(string) @@ -3664,6 +3691,7 @@ func awsRestjson1_deserializeOpDocumentGetGlobalSettingsOutput(v **GetGlobalSett } sv.OrganizationSharingStatus = types.OrganizationSharingStatus(jtv) } + default: _, _ = key, value @@ -3827,6 +3855,7 @@ func awsRestjson1_deserializeOpDocumentGetLensOutput(v **GetLensOutput, value in if err := awsRestjson1_deserializeDocumentLens(&sv.Lens, value); err != nil { return err } + default: _, _ = key, value @@ -3990,6 +4019,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp if err := awsRestjson1_deserializeDocumentLensReview(&sv.LensReview, value); err != nil { return err } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4002,6 +4032,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4010,6 +4041,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -4173,6 +4205,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi if err := awsRestjson1_deserializeDocumentLensReviewReport(&sv.LensReviewReport, value); err != nil { return err } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -4185,6 +4218,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4193,6 +4227,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -4360,6 +4395,7 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.BaseLensVersion = ptr.String(jtv) } + case "LatestLensVersion": if value != nil { jtv, ok := value.(string) @@ -4368,6 +4404,7 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LatestLensVersion = ptr.String(jtv) } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -4376,6 +4413,7 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -4384,6 +4422,7 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.LensArn = ptr.String(jtv) } + case "TargetLensVersion": if value != nil { jtv, ok := value.(string) @@ -4392,10 +4431,12 @@ func awsRestjson1_deserializeOpDocumentGetLensVersionDifferenceOutput(v **GetLen } sv.TargetLensVersion = ptr.String(jtv) } + case "VersionDifferences": if err := awsRestjson1_deserializeDocumentVersionDifferences(&sv.VersionDifferences, value); err != nil { return err } + default: _, _ = key, value @@ -4559,6 +4600,7 @@ func awsRestjson1_deserializeOpDocumentGetMilestoneOutput(v **GetMilestoneOutput if err := awsRestjson1_deserializeDocumentMilestone(&sv.Milestone, value); err != nil { return err } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -4567,6 +4609,7 @@ func awsRestjson1_deserializeOpDocumentGetMilestoneOutput(v **GetMilestoneOutput } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -4730,6 +4773,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileOutput(v **GetProfileOutput, va if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -4893,6 +4937,7 @@ func awsRestjson1_deserializeOpDocumentGetProfileTemplateOutput(v **GetProfileTe if err := awsRestjson1_deserializeDocumentProfileTemplate(&sv.ProfileTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -5056,6 +5101,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateOutput(v **GetReviewTemp if err := awsRestjson1_deserializeDocumentReviewTemplate(&sv.ReviewTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -5219,6 +5265,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi if err := awsRestjson1_deserializeDocumentReviewTemplateAnswer(&sv.Answer, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -5227,6 +5274,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi } sv.LensAlias = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -5235,6 +5283,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateAnswerOutput(v **GetRevi } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5398,6 +5447,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateLensReviewOutput(v **Get if err := awsRestjson1_deserializeDocumentReviewTemplateLensReview(&sv.LensReview, value); err != nil { return err } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -5406,6 +5456,7 @@ func awsRestjson1_deserializeOpDocumentGetReviewTemplateLensReviewOutput(v **Get } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5569,6 +5620,7 @@ func awsRestjson1_deserializeOpDocumentGetWorkloadOutput(v **GetWorkloadOutput, if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } + default: _, _ = key, value @@ -5742,6 +5794,7 @@ func awsRestjson1_deserializeOpDocumentImportLensOutput(v **ImportLensOutput, va } sv.LensArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5750,6 +5803,7 @@ func awsRestjson1_deserializeOpDocumentImportLensOutput(v **ImportLensOutput, va } sv.Status = types.ImportLensStatus(jtv) } + default: _, _ = key, value @@ -5913,6 +5967,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, if err := awsRestjson1_deserializeDocumentAnswerSummaries(&sv.AnswerSummaries, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -5921,6 +5976,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -5929,6 +5985,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.LensArn = ptr.String(jtv) } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -5941,6 +5998,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -5949,6 +6007,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.NextToken = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -5957,6 +6016,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -6120,6 +6180,7 @@ func awsRestjson1_deserializeOpDocumentListCheckDetailsOutput(v **ListCheckDetai if err := awsRestjson1_deserializeDocumentCheckDetails(&sv.CheckDetails, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6128,6 +6189,7 @@ func awsRestjson1_deserializeOpDocumentListCheckDetailsOutput(v **ListCheckDetai } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6291,6 +6353,7 @@ func awsRestjson1_deserializeOpDocumentListCheckSummariesOutput(v **ListCheckSum if err := awsRestjson1_deserializeDocumentCheckSummaries(&sv.CheckSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6299,6 +6362,7 @@ func awsRestjson1_deserializeOpDocumentListCheckSummariesOutput(v **ListCheckSum } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6459,6 +6523,7 @@ func awsRestjson1_deserializeOpDocumentListLensesOutput(v **ListLensesOutput, va if err := awsRestjson1_deserializeDocumentLensSummaries(&sv.LensSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6467,6 +6532,7 @@ func awsRestjson1_deserializeOpDocumentListLensesOutput(v **ListLensesOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6630,6 +6696,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List if err := awsRestjson1_deserializeDocumentImprovementSummaries(&sv.ImprovementSummaries, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -6638,6 +6705,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -6646,6 +6714,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.LensArn = ptr.String(jtv) } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6658,6 +6727,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6666,6 +6736,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6674,6 +6745,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -6837,6 +6909,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews if err := awsRestjson1_deserializeDocumentLensReviewSummaries(&sv.LensReviewSummaries, value); err != nil { return err } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -6849,6 +6922,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -6857,6 +6931,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.NextToken = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -6865,6 +6940,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -7028,6 +7104,7 @@ func awsRestjson1_deserializeOpDocumentListLensSharesOutput(v **ListLensSharesOu if err := awsRestjson1_deserializeDocumentLensShareSummaries(&sv.LensShareSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7036,6 +7113,7 @@ func awsRestjson1_deserializeOpDocumentListLensSharesOutput(v **ListLensSharesOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -7199,6 +7277,7 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu if err := awsRestjson1_deserializeDocumentMilestoneSummaries(&sv.MilestoneSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -7207,6 +7286,7 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu } sv.NextToken = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -7215,6 +7295,7 @@ func awsRestjson1_deserializeOpDocumentListMilestonesOutput(v **ListMilestonesOu } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -7379,10 +7460,12 @@ func awsRestjson1_deserializeOpDocumentListNotificationsOutput(v **ListNotificat } sv.NextToken = ptr.String(jtv) } + case "NotificationSummaries": if err := awsRestjson1_deserializeDocumentNotificationSummaries(&sv.NotificationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7547,10 +7630,12 @@ func awsRestjson1_deserializeOpDocumentListProfileNotificationsOutput(v **ListPr } sv.NextToken = ptr.String(jtv) } + case "NotificationSummaries": if err := awsRestjson1_deserializeDocumentProfileNotificationSummaries(&sv.NotificationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7715,10 +7800,12 @@ func awsRestjson1_deserializeOpDocumentListProfilesOutput(v **ListProfilesOutput } sv.NextToken = ptr.String(jtv) } + case "ProfileSummaries": if err := awsRestjson1_deserializeDocumentProfileSummaries(&sv.ProfileSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -7886,10 +7973,12 @@ func awsRestjson1_deserializeOpDocumentListProfileSharesOutput(v **ListProfileSh } sv.NextToken = ptr.String(jtv) } + case "ProfileShareSummaries": if err := awsRestjson1_deserializeDocumentProfileShareSummaries(&sv.ProfileShareSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8053,6 +8142,7 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR if err := awsRestjson1_deserializeDocumentReviewTemplateAnswerSummaries(&sv.AnswerSummaries, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -8061,6 +8151,7 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.LensAlias = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -8069,6 +8160,7 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.NextToken = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -8077,6 +8169,7 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplateAnswersOutput(v **ListR } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -8241,10 +8334,12 @@ func awsRestjson1_deserializeOpDocumentListReviewTemplatesOutput(v **ListReviewT } sv.NextToken = ptr.String(jtv) } + case "ReviewTemplates": if err := awsRestjson1_deserializeDocumentReviewTemplates(&sv.ReviewTemplates, value); err != nil { return err } + default: _, _ = key, value @@ -8409,10 +8504,12 @@ func awsRestjson1_deserializeOpDocumentListShareInvitationsOutput(v **ListShareI } sv.NextToken = ptr.String(jtv) } + case "ShareInvitationSummaries": if err := awsRestjson1_deserializeDocumentShareInvitationSummaries(&sv.ShareInvitationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8567,6 +8664,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8734,6 +8832,7 @@ func awsRestjson1_deserializeOpDocumentListTemplateSharesOutput(v **ListTemplate } sv.NextToken = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -8742,10 +8841,12 @@ func awsRestjson1_deserializeOpDocumentListTemplateSharesOutput(v **ListTemplate } sv.TemplateArn = ptr.String(jtv) } + case "TemplateShareSummaries": if err := awsRestjson1_deserializeDocumentTemplateShareSummaries(&sv.TemplateShareSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -8910,10 +9011,12 @@ func awsRestjson1_deserializeOpDocumentListWorkloadsOutput(v **ListWorkloadsOutp } sv.NextToken = ptr.String(jtv) } + case "WorkloadSummaries": if err := awsRestjson1_deserializeDocumentWorkloadSummaries(&sv.WorkloadSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9081,6 +9184,7 @@ func awsRestjson1_deserializeOpDocumentListWorkloadSharesOutput(v **ListWorkload } sv.NextToken = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9089,10 +9193,12 @@ func awsRestjson1_deserializeOpDocumentListWorkloadSharesOutput(v **ListWorkload } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadShareSummaries": if err := awsRestjson1_deserializeDocumentWorkloadShareSummaries(&sv.WorkloadShareSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -9441,6 +9547,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput if err := awsRestjson1_deserializeDocumentAnswer(&sv.Answer, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -9449,6 +9556,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -9457,6 +9565,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.LensArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9465,6 +9574,7 @@ func awsRestjson1_deserializeOpDocumentUpdateAnswerOutput(v **UpdateAnswerOutput } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -9846,6 +9956,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLensReviewOutput(v **UpdateLensRevi if err := awsRestjson1_deserializeDocumentLensReview(&sv.LensReview, value); err != nil { return err } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -9854,6 +9965,7 @@ func awsRestjson1_deserializeOpDocumentUpdateLensReviewOutput(v **UpdateLensRevi } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -10020,6 +10132,7 @@ func awsRestjson1_deserializeOpDocumentUpdateProfileOutput(v **UpdateProfileOutp if err := awsRestjson1_deserializeDocumentProfile(&sv.Profile, value); err != nil { return err } + default: _, _ = key, value @@ -10186,6 +10299,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateOutput(v **UpdateRevi if err := awsRestjson1_deserializeDocumentReviewTemplate(&sv.ReviewTemplate, value); err != nil { return err } + default: _, _ = key, value @@ -10352,6 +10466,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda if err := awsRestjson1_deserializeDocumentReviewTemplateAnswer(&sv.Answer, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -10360,6 +10475,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda } sv.LensAlias = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -10368,6 +10484,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateAnswerOutput(v **Upda } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10534,6 +10651,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateLensReviewOutput(v ** if err := awsRestjson1_deserializeDocumentReviewTemplateLensReview(&sv.LensReview, value); err != nil { return err } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -10542,6 +10660,7 @@ func awsRestjson1_deserializeOpDocumentUpdateReviewTemplateLensReviewOutput(v ** } sv.TemplateArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10708,6 +10827,7 @@ func awsRestjson1_deserializeOpDocumentUpdateShareInvitationOutput(v **UpdateSha if err := awsRestjson1_deserializeDocumentShareInvitation(&sv.ShareInvitation, value); err != nil { return err } + default: _, _ = key, value @@ -10874,6 +10994,7 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkloadOutput(v **UpdateWorkloadOu if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } + default: _, _ = key, value @@ -11044,10 +11165,12 @@ func awsRestjson1_deserializeOpDocumentUpdateWorkloadShareOutput(v **UpdateWorkl } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadShare": if err := awsRestjson1_deserializeDocumentWorkloadShare(&sv.WorkloadShare, value); err != nil { return err } + default: _, _ = key, value @@ -11672,6 +11795,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11711,6 +11835,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IntegrationStatus = types.IntegrationStatus(jtv) } + case "IssueManagementStatus": if value != nil { jtv, ok := value.(string) @@ -11719,6 +11844,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IssueManagementStatus = types.AccountJiraIssueManagementStatus(jtv) } + case "IssueManagementType": if value != nil { jtv, ok := value.(string) @@ -11727,6 +11853,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.IssueManagementType = types.IssueManagementType(jtv) } + case "JiraProjectKey": if value != nil { jtv, ok := value.(string) @@ -11735,6 +11862,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.JiraProjectKey = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -11743,6 +11871,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.StatusMessage = ptr.String(jtv) } + case "Subdomain": if value != nil { jtv, ok := value.(string) @@ -11751,6 +11880,7 @@ func awsRestjson1_deserializeDocumentAccountJiraConfigurationOutput(v **types.Ac } sv.Subdomain = ptr.String(jtv) } + default: _, _ = key, value @@ -11826,6 +11956,7 @@ func awsRestjson1_deserializeDocumentAdditionalResources(v **types.AdditionalRes if err := awsRestjson1_deserializeDocumentUrls(&sv.Content, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -11834,6 +11965,7 @@ func awsRestjson1_deserializeDocumentAdditionalResources(v **types.AdditionalRes } sv.Type = types.AdditionalResourceType(jtv) } + default: _, _ = key, value @@ -11903,10 +12035,12 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) if err := awsRestjson1_deserializeDocumentChoiceAnswers(&sv.ChoiceAnswers, value); err != nil { return err } + case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } + case "HelpfulResourceDisplayText": if value != nil { jtv, ok := value.(string) @@ -11915,6 +12049,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.HelpfulResourceDisplayText = ptr.String(jtv) } + case "HelpfulResourceUrl": if value != nil { jtv, ok := value.(string) @@ -11923,6 +12058,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.HelpfulResourceUrl = ptr.String(jtv) } + case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -11931,6 +12067,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.ImprovementPlanUrl = ptr.String(jtv) } + case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -11939,10 +12076,12 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.IsApplicable = ptr.Bool(jtv) } + case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -11951,6 +12090,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Notes = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -11959,6 +12099,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.PillarId = ptr.String(jtv) } + case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -11967,6 +12108,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionDescription = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -11975,6 +12117,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -11983,6 +12126,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.QuestionTitle = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -11991,6 +12135,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Reason = types.AnswerReason(jtv) } + case "Risk": if value != nil { jtv, ok := value.(string) @@ -11999,10 +12144,12 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) } sv.Risk = types.Risk(jtv) } + case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } + default: _, _ = key, value @@ -12072,10 +12219,12 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu if err := awsRestjson1_deserializeDocumentChoiceAnswerSummaries(&sv.ChoiceAnswerSummaries, value); err != nil { return err } + case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } + case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -12084,10 +12233,12 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.IsApplicable = ptr.Bool(jtv) } + case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12096,6 +12247,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.PillarId = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12104,6 +12256,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -12112,6 +12265,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionTitle = ptr.String(jtv) } + case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -12120,6 +12274,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.QuestionType = types.QuestionType(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12128,6 +12283,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.Reason = types.AnswerReason(jtv) } + case "Risk": if value != nil { jtv, ok := value.(string) @@ -12136,10 +12292,12 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu } sv.Risk = types.Risk(jtv) } + case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } + default: _, _ = key, value @@ -12179,6 +12337,7 @@ func awsRestjson1_deserializeDocumentBestPractice(v **types.BestPractice, value } sv.ChoiceId = ptr.String(jtv) } + case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -12187,6 +12346,7 @@ func awsRestjson1_deserializeDocumentBestPractice(v **types.BestPractice, value } sv.ChoiceTitle = ptr.String(jtv) } + default: _, _ = key, value @@ -12260,6 +12420,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.AccountId = ptr.String(jtv) } + case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12268,6 +12429,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.ChoiceId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12276,6 +12438,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Description = ptr.String(jtv) } + case "FlaggedResources": if value != nil { jtv, ok := value.(json.Number) @@ -12288,6 +12451,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.FlaggedResources = ptr.Int32(int32(i64)) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12296,6 +12460,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Id = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -12304,6 +12469,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.LensArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12312,6 +12478,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Name = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12320,6 +12487,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.PillarId = ptr.String(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -12328,6 +12496,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Provider = types.CheckProvider(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12336,6 +12505,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.QuestionId = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12344,6 +12514,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Reason = types.CheckFailureReason(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12352,6 +12523,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } sv.Status = types.CheckStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12367,6 +12539,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in } } + default: _, _ = key, value @@ -12470,6 +12643,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value if err := awsRestjson1_deserializeDocumentAccountSummary(&sv.AccountSummary, value); err != nil { return err } + case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12478,6 +12652,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.ChoiceId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12486,6 +12661,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Description = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -12494,6 +12670,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Id = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -12502,6 +12679,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.LensArn = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12510,6 +12688,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Name = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -12518,6 +12697,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.PillarId = ptr.String(jtv) } + case "Provider": if value != nil { jtv, ok := value.(string) @@ -12526,6 +12706,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Provider = types.CheckProvider(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -12534,6 +12715,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.QuestionId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12542,6 +12724,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } sv.Status = types.CheckStatus(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -12557,6 +12740,7 @@ func awsRestjson1_deserializeDocumentCheckSummary(v **types.CheckSummary, value } } + default: _, _ = key, value @@ -12592,6 +12776,7 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) if err := awsRestjson1_deserializeDocumentAdditionalResourcesList(&sv.AdditionalResources, value); err != nil { return err } + case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -12600,6 +12785,7 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.ChoiceId = ptr.String(jtv) } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12608,14 +12794,17 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.Description = ptr.String(jtv) } + case "HelpfulResource": if err := awsRestjson1_deserializeDocumentChoiceContent(&sv.HelpfulResource, value); err != nil { return err } + case "ImprovementPlan": if err := awsRestjson1_deserializeDocumentChoiceContent(&sv.ImprovementPlan, value); err != nil { return err } + case "Title": if value != nil { jtv, ok := value.(string) @@ -12624,6 +12813,7 @@ func awsRestjson1_deserializeDocumentChoice(v **types.Choice, value interface{}) } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -12663,6 +12853,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.ChoiceId = ptr.String(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -12671,6 +12862,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Notes = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12679,6 +12871,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Reason = types.ChoiceReason(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12687,6 +12880,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswer(v **types.ChoiceAnswer, value } sv.Status = types.ChoiceStatus(jtv) } + default: _, _ = key, value @@ -12794,6 +12988,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.ChoiceId = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -12802,6 +12997,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.Reason = types.ChoiceReason(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12810,6 +13006,7 @@ func awsRestjson1_deserializeDocumentChoiceAnswerSummary(v **types.ChoiceAnswerS } sv.Status = types.ChoiceStatus(jtv) } + default: _, _ = key, value @@ -12849,6 +13046,7 @@ func awsRestjson1_deserializeDocumentChoiceContent(v **types.ChoiceContent, valu } sv.DisplayText = ptr.String(jtv) } + case "Url": if value != nil { jtv, ok := value.(string) @@ -12857,6 +13055,7 @@ func awsRestjson1_deserializeDocumentChoiceContent(v **types.ChoiceContent, valu } sv.Url = ptr.String(jtv) } + default: _, _ = key, value @@ -12896,6 +13095,7 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.ChoiceId = ptr.String(jtv) } + case "DisplayText": if value != nil { jtv, ok := value.(string) @@ -12904,6 +13104,7 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.DisplayText = ptr.String(jtv) } + case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -12912,6 +13113,7 @@ func awsRestjson1_deserializeDocumentChoiceImprovementPlan(v **types.ChoiceImpro } sv.ImprovementPlanUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -13019,6 +13221,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -13027,6 +13230,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -13035,6 +13239,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -13070,6 +13275,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid if err := awsRestjson1_deserializeDocumentLensMetrics(&sv.Lenses, value); err != nil { return err } + case "LensesAppliedCount": if value != nil { jtv, ok := value.(json.Number) @@ -13082,6 +13288,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.LensesAppliedCount = ptr.Int32(int32(i64)) } + case "MetricType": if value != nil { jtv, ok := value.(string) @@ -13090,10 +13297,12 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.MetricType = types.MetricType(jtv) } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13109,6 +13318,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } } + case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -13117,6 +13327,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -13125,6 +13336,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -13133,6 +13345,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -13236,6 +13449,7 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum if err := awsRestjson1_deserializeDocumentChoiceImprovementPlans(&sv.ImprovementPlans, value); err != nil { return err } + case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -13244,10 +13458,12 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.ImprovementPlanUrl = ptr.String(jtv) } + case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentJiraConfiguration(&sv.JiraConfiguration, value); err != nil { return err } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -13256,6 +13472,7 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.PillarId = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -13264,6 +13481,7 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -13272,6 +13490,7 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.QuestionTitle = ptr.String(jtv) } + case "Risk": if value != nil { jtv, ok := value.(string) @@ -13280,6 +13499,7 @@ func awsRestjson1_deserializeDocumentImprovementSummary(v **types.ImprovementSum } sv.Risk = types.Risk(jtv) } + default: _, _ = key, value @@ -13319,6 +13539,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13358,6 +13579,7 @@ func awsRestjson1_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } sv.JiraIssueUrl = ptr.String(jtv) } + case "LastSyncedTime": if value != nil { switch jtv := value.(type) { @@ -13373,6 +13595,7 @@ func awsRestjson1_deserializeDocumentJiraConfiguration(v **types.JiraConfigurati } } + default: _, _ = key, value @@ -13408,6 +13631,7 @@ func awsRestjson1_deserializeDocumentJiraSelectedQuestionConfiguration(v **types if err := awsRestjson1_deserializeDocumentSelectedPillars(&sv.SelectedPillars, value); err != nil { return err } + default: _, _ = key, value @@ -13447,6 +13671,7 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Description = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13455,6 +13680,7 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.LensArn = ptr.String(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -13463,6 +13689,7 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.LensVersion = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13471,6 +13698,7 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -13479,6 +13707,7 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.Owner = ptr.String(jtv) } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -13487,10 +13716,12 @@ func awsRestjson1_deserializeDocumentLens(v **types.Lens, value interface{}) err } sv.ShareInvitationId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -13530,14 +13761,17 @@ func awsRestjson1_deserializeDocumentLensMetric(v **types.LensMetric, value inte } sv.LensArn = ptr.String(jtv) } + case "Pillars": if err := awsRestjson1_deserializeDocumentPillarMetrics(&sv.Pillars, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + default: _, _ = key, value @@ -13607,6 +13841,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte if err := awsRestjson1_deserializeDocumentJiraSelectedQuestionConfiguration(&sv.JiraConfiguration, value); err != nil { return err } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -13615,6 +13850,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13623,6 +13859,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensArn = ptr.String(jtv) } + case "LensName": if value != nil { jtv, ok := value.(string) @@ -13631,6 +13868,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensName = ptr.String(jtv) } + case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -13639,6 +13877,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensStatus = types.LensStatus(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -13647,6 +13886,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.LensVersion = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -13655,6 +13895,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.NextToken = ptr.String(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -13663,22 +13904,27 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } sv.Notes = ptr.String(jtv) } + case "PillarReviewSummaries": if err := awsRestjson1_deserializeDocumentPillarReviewSummaries(&sv.PillarReviewSummaries, value); err != nil { return err } + case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } + case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13694,6 +13940,7 @@ func awsRestjson1_deserializeDocumentLensReview(v **types.LensReview, value inte } } + default: _, _ = key, value @@ -13733,6 +13980,7 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.Base64String = ptr.String(jtv) } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -13741,6 +13989,7 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13749,6 +13998,7 @@ func awsRestjson1_deserializeDocumentLensReviewReport(v **types.LensReviewReport } sv.LensArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13822,6 +14072,7 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -13830,6 +14081,7 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensArn = ptr.String(jtv) } + case "LensName": if value != nil { jtv, ok := value.(string) @@ -13838,6 +14090,7 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensName = ptr.String(jtv) } + case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -13846,6 +14099,7 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensStatus = types.LensStatus(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -13854,18 +14108,22 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } sv.LensVersion = ptr.String(jtv) } + case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } + case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -13881,6 +14139,7 @@ func awsRestjson1_deserializeDocumentLensReviewSummary(v **types.LensReviewSumma } } + default: _, _ = key, value @@ -13954,6 +14213,7 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.SharedWith = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -13962,6 +14222,7 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -13970,6 +14231,7 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.Status = types.ShareStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -13978,6 +14240,7 @@ func awsRestjson1_deserializeDocumentLensShareSummary(v **types.LensShareSummary } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -14058,6 +14321,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14066,6 +14330,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.Description = ptr.String(jtv) } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -14074,6 +14339,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14082,6 +14348,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensArn = ptr.String(jtv) } + case "LensName": if value != nil { jtv, ok := value.(string) @@ -14090,6 +14357,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensName = ptr.String(jtv) } + case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -14098,6 +14366,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensStatus = types.LensStatus(jtv) } + case "LensType": if value != nil { jtv, ok := value.(string) @@ -14106,6 +14375,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensType = types.LensType(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -14114,6 +14384,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.LensVersion = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -14122,6 +14393,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } sv.Owner = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14137,6 +14409,7 @@ func awsRestjson1_deserializeDocumentLensSummary(v **types.LensSummary, value in } } + default: _, _ = key, value @@ -14176,6 +14449,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.CurrentLensVersion = ptr.String(jtv) } + case "LatestLensVersion": if value != nil { jtv, ok := value.(string) @@ -14184,6 +14458,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LatestLensVersion = ptr.String(jtv) } + case "LensAlias": if value != nil { jtv, ok := value.(string) @@ -14192,6 +14467,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -14200,6 +14476,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.LensArn = ptr.String(jtv) } + case "ResourceArn": if value != nil { jtv, ok := value.(string) @@ -14208,6 +14485,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.ResourceArn = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -14216,6 +14494,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.ResourceName = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -14224,6 +14503,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -14232,6 +14512,7 @@ func awsRestjson1_deserializeDocumentLensUpgradeSummary(v **types.LensUpgradeSum } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -14271,6 +14552,7 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } sv.MilestoneName = ptr.String(jtv) } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14283,6 +14565,7 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "RecordedAt": if value != nil { switch jtv := value.(type) { @@ -14298,10 +14581,12 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf } } + case "Workload": if err := awsRestjson1_deserializeDocumentWorkload(&sv.Workload, value); err != nil { return err } + default: _, _ = key, value @@ -14375,6 +14660,7 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } sv.MilestoneName = ptr.String(jtv) } + case "MilestoneNumber": if value != nil { jtv, ok := value.(json.Number) @@ -14387,6 +14673,7 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } sv.MilestoneNumber = ptr.Int32(int32(i64)) } + case "RecordedAt": if value != nil { switch jtv := value.(type) { @@ -14402,10 +14689,12 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary } } + case "WorkloadSummary": if err := awsRestjson1_deserializeDocumentWorkloadSummary(&sv.WorkloadSummary, value); err != nil { return err } + default: _, _ = key, value @@ -14475,6 +14764,7 @@ func awsRestjson1_deserializeDocumentNotificationSummary(v **types.NotificationS if err := awsRestjson1_deserializeDocumentLensUpgradeSummary(&sv.LensUpgradeSummary, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14483,6 +14773,7 @@ func awsRestjson1_deserializeDocumentNotificationSummary(v **types.NotificationS } sv.Type = types.NotificationType(jtv) } + default: _, _ = key, value @@ -14522,6 +14813,7 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.DifferenceStatus = types.DifferenceStatus(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -14530,6 +14822,7 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.PillarId = ptr.String(jtv) } + case "PillarName": if value != nil { jtv, ok := value.(string) @@ -14538,10 +14831,12 @@ func awsRestjson1_deserializeDocumentPillarDifference(v **types.PillarDifference } sv.PillarName = ptr.String(jtv) } + case "QuestionDifferences": if err := awsRestjson1_deserializeDocumentQuestionDifferences(&sv.QuestionDifferences, value); err != nil { return err } + default: _, _ = key, value @@ -14615,14 +14910,17 @@ func awsRestjson1_deserializeDocumentPillarMetric(v **types.PillarMetric, value } sv.PillarId = ptr.String(jtv) } + case "Questions": if err := awsRestjson1_deserializeDocumentQuestionMetrics(&sv.Questions, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + default: _, _ = key, value @@ -14730,6 +15028,7 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.Notes = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -14738,6 +15037,7 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.PillarId = ptr.String(jtv) } + case "PillarName": if value != nil { jtv, ok := value.(string) @@ -14746,14 +15046,17 @@ func awsRestjson1_deserializeDocumentPillarReviewSummary(v **types.PillarReviewS } sv.PillarName = ptr.String(jtv) } + case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + default: _, _ = key, value @@ -14800,6 +15103,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -14808,6 +15112,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.Owner = ptr.String(jtv) } + case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -14816,6 +15121,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileArn = ptr.String(jtv) } + case "ProfileDescription": if value != nil { jtv, ok := value.(string) @@ -14824,6 +15130,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileDescription = ptr.String(jtv) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -14832,10 +15139,12 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileName = ptr.String(jtv) } + case "ProfileQuestions": if err := awsRestjson1_deserializeDocumentProfileQuestions(&sv.ProfileQuestions, value); err != nil { return err } + case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -14844,6 +15153,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ProfileVersion = ptr.String(jtv) } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -14852,10 +15162,12 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } sv.ShareInvitationId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -14871,6 +15183,7 @@ func awsRestjson1_deserializeDocumentProfile(v **types.Profile, value interface{ } } + default: _, _ = key, value @@ -14910,6 +15223,7 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceDescription = ptr.String(jtv) } + case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -14918,6 +15232,7 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceId = ptr.String(jtv) } + case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -14926,6 +15241,7 @@ func awsRestjson1_deserializeDocumentProfileChoice(v **types.ProfileChoice, valu } sv.ChoiceTitle = ptr.String(jtv) } + default: _, _ = key, value @@ -14999,6 +15315,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.CurrentProfileVersion = ptr.String(jtv) } + case "LatestProfileVersion": if value != nil { jtv, ok := value.(string) @@ -15007,6 +15324,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.LatestProfileVersion = ptr.String(jtv) } + case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -15015,6 +15333,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.ProfileArn = ptr.String(jtv) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -15023,6 +15342,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.ProfileName = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15031,6 +15351,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.Type = types.ProfileNotificationType(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -15039,6 +15360,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -15047,6 +15369,7 @@ func awsRestjson1_deserializeDocumentProfileNotificationSummary(v **types.Profil } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -15090,6 +15413,7 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } + case "MinSelectedChoices": if value != nil { jtv, ok := value.(json.Number) @@ -15102,10 +15426,12 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.MinSelectedChoices = ptr.Int32(int32(i64)) } + case "QuestionChoices": if err := awsRestjson1_deserializeDocumentProfileQuestionChoices(&sv.QuestionChoices, value); err != nil { return err } + case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -15114,6 +15440,7 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionDescription = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -15122,6 +15449,7 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -15130,10 +15458,12 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, } sv.QuestionTitle = ptr.String(jtv) } + case "SelectedChoiceIds": if err := awsRestjson1_deserializeDocumentSelectedChoiceIds(&sv.SelectedChoiceIds, value); err != nil { return err } + default: _, _ = key, value @@ -15275,6 +15605,7 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.SharedWith = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -15283,6 +15614,7 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15291,6 +15623,7 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.Status = types.ShareStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -15299,6 +15632,7 @@ func awsRestjson1_deserializeDocumentProfileShareSummary(v **types.ProfileShareS } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -15379,6 +15713,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -15387,6 +15722,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.Owner = ptr.String(jtv) } + case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -15395,6 +15731,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileArn = ptr.String(jtv) } + case "ProfileDescription": if value != nil { jtv, ok := value.(string) @@ -15403,6 +15740,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileDescription = ptr.String(jtv) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -15411,6 +15749,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileName = ptr.String(jtv) } + case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -15419,6 +15758,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } sv.ProfileVersion = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15434,6 +15774,7 @@ func awsRestjson1_deserializeDocumentProfileSummary(v **types.ProfileSummary, va } } + default: _, _ = key, value @@ -15480,6 +15821,7 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -15488,10 +15830,12 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } sv.TemplateName = ptr.String(jtv) } + case "TemplateQuestions": if err := awsRestjson1_deserializeDocumentTemplateQuestions(&sv.TemplateQuestions, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -15507,6 +15851,7 @@ func awsRestjson1_deserializeDocumentProfileTemplate(v **types.ProfileTemplate, } } + default: _, _ = key, value @@ -15546,6 +15891,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceDescription = ptr.String(jtv) } + case "ChoiceId": if value != nil { jtv, ok := value.(string) @@ -15554,6 +15900,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceId = ptr.String(jtv) } + case "ChoiceTitle": if value != nil { jtv, ok := value.(string) @@ -15562,6 +15909,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateChoice(v **types.ProfileTemp } sv.ChoiceTitle = ptr.String(jtv) } + default: _, _ = key, value @@ -15605,6 +15953,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } + case "MinSelectedChoices": if value != nil { jtv, ok := value.(json.Number) @@ -15617,10 +15966,12 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.MinSelectedChoices = ptr.Int32(int32(i64)) } + case "QuestionChoices": if err := awsRestjson1_deserializeDocumentProfileTemplateQuestionChoices(&sv.QuestionChoices, value); err != nil { return err } + case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -15629,6 +15980,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionDescription = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -15637,6 +15989,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -15645,6 +15998,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe } sv.QuestionTitle = ptr.String(jtv) } + default: _, _ = key, value @@ -15758,6 +16112,7 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.DifferenceStatus = types.DifferenceStatus(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -15766,6 +16121,7 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -15774,6 +16130,7 @@ func awsRestjson1_deserializeDocumentQuestionDifference(v **types.QuestionDiffer } sv.QuestionTitle = ptr.String(jtv) } + default: _, _ = key, value @@ -15843,6 +16200,7 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va if err := awsRestjson1_deserializeDocumentBestPractices(&sv.BestPractices, value); err != nil { return err } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -15851,6 +16209,7 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va } sv.QuestionId = ptr.String(jtv) } + case "Risk": if value != nil { jtv, ok := value.(string) @@ -15859,6 +16218,7 @@ func awsRestjson1_deserializeDocumentQuestionMetric(v **types.QuestionMetric, va } sv.Risk = types.Risk(jtv) } + default: _, _ = key, value @@ -15932,6 +16292,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15940,6 +16301,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -15948,6 +16310,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -15987,10 +16350,12 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Description = ptr.String(jtv) } + case "Lenses": if err := awsRestjson1_deserializeDocumentReviewTemplateLenses(&sv.Lenses, value); err != nil { return err } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -15999,6 +16364,7 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Notes = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -16007,10 +16373,12 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.Owner = ptr.String(jtv) } + case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -16019,10 +16387,12 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.ShareInvitationId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -16031,6 +16401,7 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.TemplateArn = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -16039,6 +16410,7 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.TemplateName = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16054,6 +16426,7 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -16062,6 +16435,7 @@ func awsRestjson1_deserializeDocumentReviewTemplate(v **types.ReviewTemplate, va } sv.UpdateStatus = types.ReviewTemplateUpdateStatus(jtv) } + default: _, _ = key, value @@ -16101,14 +16475,17 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.AnswerStatus = types.ReviewTemplateAnswerStatus(jtv) } + case "ChoiceAnswers": if err := awsRestjson1_deserializeDocumentChoiceAnswers(&sv.ChoiceAnswers, value); err != nil { return err } + case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } + case "HelpfulResourceDisplayText": if value != nil { jtv, ok := value.(string) @@ -16117,6 +16494,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.HelpfulResourceDisplayText = ptr.String(jtv) } + case "HelpfulResourceUrl": if value != nil { jtv, ok := value.(string) @@ -16125,6 +16503,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.HelpfulResourceUrl = ptr.String(jtv) } + case "ImprovementPlanUrl": if value != nil { jtv, ok := value.(string) @@ -16133,6 +16512,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.ImprovementPlanUrl = ptr.String(jtv) } + case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -16141,6 +16521,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.IsApplicable = ptr.Bool(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -16149,6 +16530,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.Notes = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16157,6 +16539,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.PillarId = ptr.String(jtv) } + case "QuestionDescription": if value != nil { jtv, ok := value.(string) @@ -16165,6 +16548,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionDescription = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16173,6 +16557,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16181,6 +16566,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.QuestionTitle = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -16189,10 +16575,12 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla } sv.Reason = types.AnswerReason(jtv) } + case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } + default: _, _ = key, value @@ -16266,14 +16654,17 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.AnswerStatus = types.ReviewTemplateAnswerStatus(jtv) } + case "ChoiceAnswerSummaries": if err := awsRestjson1_deserializeDocumentChoiceAnswerSummaries(&sv.ChoiceAnswerSummaries, value); err != nil { return err } + case "Choices": if err := awsRestjson1_deserializeDocumentChoices(&sv.Choices, value); err != nil { return err } + case "IsApplicable": if value != nil { jtv, ok := value.(bool) @@ -16282,6 +16673,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.IsApplicable = ptr.Bool(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16290,6 +16682,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.PillarId = ptr.String(jtv) } + case "QuestionId": if value != nil { jtv, ok := value.(string) @@ -16298,6 +16691,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionId = ptr.String(jtv) } + case "QuestionTitle": if value != nil { jtv, ok := value.(string) @@ -16306,6 +16700,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionTitle = ptr.String(jtv) } + case "QuestionType": if value != nil { jtv, ok := value.(string) @@ -16314,6 +16709,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.QuestionType = types.QuestionType(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -16322,10 +16718,12 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie } sv.Reason = types.AnswerReason(jtv) } + case "SelectedChoices": if err := awsRestjson1_deserializeDocumentSelectedChoices(&sv.SelectedChoices, value); err != nil { return err } + default: _, _ = key, value @@ -16401,6 +16799,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -16409,6 +16808,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensArn = ptr.String(jtv) } + case "LensName": if value != nil { jtv, ok := value.(string) @@ -16417,6 +16817,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensName = ptr.String(jtv) } + case "LensStatus": if value != nil { jtv, ok := value.(string) @@ -16425,6 +16826,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensStatus = types.LensStatus(jtv) } + case "LensVersion": if value != nil { jtv, ok := value.(string) @@ -16433,6 +16835,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.LensVersion = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -16441,6 +16844,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.NextToken = ptr.String(jtv) } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -16449,14 +16853,17 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } sv.Notes = ptr.String(jtv) } + case "PillarReviewSummaries": if err := awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummaries(&sv.PillarReviewSummaries, value); err != nil { return err } + case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16472,6 +16879,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateLensReview(v **types.ReviewTe } } + default: _, _ = key, value @@ -16545,6 +16953,7 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.Notes = ptr.String(jtv) } + case "PillarId": if value != nil { jtv, ok := value.(string) @@ -16553,6 +16962,7 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.PillarId = ptr.String(jtv) } + case "PillarName": if value != nil { jtv, ok := value.(string) @@ -16561,10 +16971,12 @@ func awsRestjson1_deserializeDocumentReviewTemplatePillarReviewSummary(v **types } sv.PillarName = ptr.String(jtv) } + case "QuestionCounts": if err := awsRestjson1_deserializeDocumentQuestionCounts(&sv.QuestionCounts, value); err != nil { return err } + default: _, _ = key, value @@ -16638,10 +17050,12 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.Description = ptr.String(jtv) } + case "Lenses": if err := awsRestjson1_deserializeDocumentReviewTemplateLenses(&sv.Lenses, value); err != nil { return err } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -16650,6 +17064,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.Owner = ptr.String(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -16658,6 +17073,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.TemplateArn = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -16666,6 +17082,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.TemplateName = ptr.String(jtv) } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -16681,6 +17098,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } } + case "UpdateStatus": if value != nil { jtv, ok := value.(string) @@ -16689,6 +17107,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateSummary(v **types.ReviewTempl } sv.UpdateStatus = types.ReviewTemplateUpdateStatus(jtv) } + default: _, _ = key, value @@ -16840,10 +17259,12 @@ func awsRestjson1_deserializeDocumentSelectedPillar(v **types.SelectedPillar, va } sv.PillarId = ptr.String(jtv) } + case "SelectedQuestionIds": if err := awsRestjson1_deserializeDocumentSelectedQuestionIds(&sv.SelectedQuestionIds, value); err != nil { return err } + default: _, _ = key, value @@ -16953,6 +17374,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -16961,6 +17383,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -16969,6 +17392,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -16977,6 +17401,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -16985,6 +17410,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -17024,6 +17450,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.LensAlias = ptr.String(jtv) } + case "LensArn": if value != nil { jtv, ok := value.(string) @@ -17032,6 +17459,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.LensArn = ptr.String(jtv) } + case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -17040,6 +17468,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ProfileArn = ptr.String(jtv) } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -17048,6 +17477,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ShareInvitationId = ptr.String(jtv) } + case "ShareResourceType": if value != nil { jtv, ok := value.(string) @@ -17056,6 +17486,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.ShareResourceType = types.ShareResourceType(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17064,6 +17495,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.TemplateArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -17072,6 +17504,7 @@ func awsRestjson1_deserializeDocumentShareInvitation(v **types.ShareInvitation, } sv.WorkloadId = ptr.String(jtv) } + default: _, _ = key, value @@ -17145,6 +17578,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.LensArn = ptr.String(jtv) } + case "LensName": if value != nil { jtv, ok := value.(string) @@ -17153,6 +17587,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.LensName = ptr.String(jtv) } + case "PermissionType": if value != nil { jtv, ok := value.(string) @@ -17161,6 +17596,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.PermissionType = types.PermissionType(jtv) } + case "ProfileArn": if value != nil { jtv, ok := value.(string) @@ -17169,6 +17605,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ProfileArn = ptr.String(jtv) } + case "ProfileName": if value != nil { jtv, ok := value.(string) @@ -17177,6 +17614,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ProfileName = ptr.String(jtv) } + case "SharedBy": if value != nil { jtv, ok := value.(string) @@ -17185,6 +17623,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.SharedBy = ptr.String(jtv) } + case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -17193,6 +17632,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.SharedWith = ptr.String(jtv) } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -17201,6 +17641,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ShareInvitationId = ptr.String(jtv) } + case "ShareResourceType": if value != nil { jtv, ok := value.(string) @@ -17209,6 +17650,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.ShareResourceType = types.ShareResourceType(jtv) } + case "TemplateArn": if value != nil { jtv, ok := value.(string) @@ -17217,6 +17659,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.TemplateArn = ptr.String(jtv) } + case "TemplateName": if value != nil { jtv, ok := value.(string) @@ -17225,6 +17668,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.TemplateName = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -17233,6 +17677,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -17241,6 +17686,7 @@ func awsRestjson1_deserializeDocumentShareInvitationSummary(v **types.ShareInvit } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -17384,6 +17830,7 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.SharedWith = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -17392,6 +17839,7 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -17400,6 +17848,7 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.Status = types.ShareStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -17408,6 +17857,7 @@ func awsRestjson1_deserializeDocumentTemplateShareSummary(v **types.TemplateShar } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -17447,6 +17897,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "QuotaCode": if value != nil { jtv, ok := value.(string) @@ -17455,6 +17906,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "ServiceCode": if value != nil { jtv, ok := value.(string) @@ -17463,6 +17915,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -17532,6 +17985,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.Fields, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -17540,6 +17994,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "Reason": if value != nil { jtv, ok := value.(string) @@ -17548,6 +18003,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -17587,6 +18043,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17595,6 +18052,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -17664,6 +18122,7 @@ func awsRestjson1_deserializeDocumentVersionDifferences(v **types.VersionDiffere if err := awsRestjson1_deserializeDocumentPillarDifferences(&sv.PillarDifferences, value); err != nil { return err } + default: _, _ = key, value @@ -17699,10 +18158,12 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac if err := awsRestjson1_deserializeDocumentWorkloadAccountIds(&sv.AccountIds, value); err != nil { return err } + case "Applications": if err := awsRestjson1_deserializeDocumentWorkloadApplications(&sv.Applications, value); err != nil { return err } + case "ArchitecturalDesign": if value != nil { jtv, ok := value.(string) @@ -17711,10 +18172,12 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ArchitecturalDesign = ptr.String(jtv) } + case "AwsRegions": if err := awsRestjson1_deserializeDocumentWorkloadAwsRegions(&sv.AwsRegions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17723,10 +18186,12 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Description = ptr.String(jtv) } + case "DiscoveryConfig": if err := awsRestjson1_deserializeDocumentWorkloadDiscoveryConfig(&sv.DiscoveryConfig, value); err != nil { return err } + case "Environment": if value != nil { jtv, ok := value.(string) @@ -17735,6 +18200,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Environment = types.WorkloadEnvironment(jtv) } + case "ImprovementStatus": if value != nil { jtv, ok := value.(string) @@ -17743,6 +18209,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ImprovementStatus = types.WorkloadImprovementStatus(jtv) } + case "Industry": if value != nil { jtv, ok := value.(string) @@ -17751,6 +18218,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Industry = ptr.String(jtv) } + case "IndustryType": if value != nil { jtv, ok := value.(string) @@ -17759,6 +18227,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.IndustryType = ptr.String(jtv) } + case "IsReviewOwnerUpdateAcknowledged": if value != nil { jtv, ok := value.(bool) @@ -17767,18 +18236,22 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.IsReviewOwnerUpdateAcknowledged = ptr.Bool(jtv) } + case "JiraConfiguration": if err := awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(&sv.JiraConfiguration, value); err != nil { return err } + case "Lenses": if err := awsRestjson1_deserializeDocumentWorkloadLenses(&sv.Lenses, value); err != nil { return err } + case "NonAwsRegions": if err := awsRestjson1_deserializeDocumentWorkloadNonAwsRegions(&sv.NonAwsRegions, value); err != nil { return err } + case "Notes": if value != nil { jtv, ok := value.(string) @@ -17787,6 +18260,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Notes = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -17795,18 +18269,22 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.Owner = ptr.String(jtv) } + case "PillarPriorities": if err := awsRestjson1_deserializeDocumentWorkloadPillarPriorities(&sv.PillarPriorities, value); err != nil { return err } + case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } + case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } + case "ReviewOwner": if value != nil { jtv, ok := value.(string) @@ -17815,6 +18293,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ReviewOwner = ptr.String(jtv) } + case "ReviewRestrictionDate": if value != nil { switch jtv := value.(type) { @@ -17830,10 +18309,12 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + case "ShareInvitationId": if value != nil { jtv, ok := value.(string) @@ -17842,10 +18323,12 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.ShareInvitationId = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -17861,6 +18344,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } } + case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -17869,6 +18353,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -17877,6 +18362,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -17885,6 +18371,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -18032,10 +18519,12 @@ func awsRestjson1_deserializeDocumentWorkloadDiscoveryConfig(v **types.WorkloadD } sv.TrustedAdvisorIntegrationStatus = types.TrustedAdvisorIntegrationStatus(jtv) } + case "WorkloadResourceDefinition": if err := awsRestjson1_deserializeDocumentWorkloadResourceDefinition(&sv.WorkloadResourceDefinition, value); err != nil { return err } + default: _, _ = key, value @@ -18075,6 +18564,7 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.IssueManagementStatus = types.WorkloadIssueManagementStatus(jtv) } + case "IssueManagementType": if value != nil { jtv, ok := value.(string) @@ -18083,6 +18573,7 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.IssueManagementType = types.IssueManagementType(jtv) } + case "JiraProjectKey": if value != nil { jtv, ok := value.(string) @@ -18091,6 +18582,7 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.JiraProjectKey = ptr.String(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18099,6 +18591,7 @@ func awsRestjson1_deserializeDocumentWorkloadJiraConfigurationOutput(v **types.W } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18246,6 +18739,7 @@ func awsRestjson1_deserializeDocumentWorkloadProfile(v **types.WorkloadProfile, } sv.ProfileArn = ptr.String(jtv) } + case "ProfileVersion": if value != nil { jtv, ok := value.(string) @@ -18254,6 +18748,7 @@ func awsRestjson1_deserializeDocumentWorkloadProfile(v **types.WorkloadProfile, } sv.ProfileVersion = ptr.String(jtv) } + default: _, _ = key, value @@ -18363,6 +18858,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.PermissionType = types.PermissionType(jtv) } + case "SharedBy": if value != nil { jtv, ok := value.(string) @@ -18371,6 +18867,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.SharedBy = ptr.String(jtv) } + case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -18379,6 +18876,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.SharedWith = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -18387,6 +18885,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18395,6 +18894,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.Status = types.ShareStatus(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -18403,6 +18903,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -18411,6 +18912,7 @@ func awsRestjson1_deserializeDocumentWorkloadShare(v **types.WorkloadShare, valu } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value @@ -18484,6 +18986,7 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.PermissionType = types.PermissionType(jtv) } + case "SharedWith": if value != nil { jtv, ok := value.(string) @@ -18492,6 +18995,7 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.SharedWith = ptr.String(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -18500,6 +19004,7 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -18508,6 +19013,7 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.Status = types.ShareStatus(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -18516,6 +19022,7 @@ func awsRestjson1_deserializeDocumentWorkloadShareSummary(v **types.WorkloadShar } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -18589,10 +19096,12 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.ImprovementStatus = types.WorkloadImprovementStatus(jtv) } + case "Lenses": if err := awsRestjson1_deserializeDocumentWorkloadLenses(&sv.Lenses, value); err != nil { return err } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -18601,18 +19110,22 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.Owner = ptr.String(jtv) } + case "PrioritizedRiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.PrioritizedRiskCounts, value); err != nil { return err } + case "Profiles": if err := awsRestjson1_deserializeDocumentWorkloadProfiles(&sv.Profiles, value); err != nil { return err } + case "RiskCounts": if err := awsRestjson1_deserializeDocumentRiskCounts(&sv.RiskCounts, value); err != nil { return err } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -18628,6 +19141,7 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } } + case "WorkloadArn": if value != nil { jtv, ok := value.(string) @@ -18636,6 +19150,7 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadArn = ptr.String(jtv) } + case "WorkloadId": if value != nil { jtv, ok := value.(string) @@ -18644,6 +19159,7 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadId = ptr.String(jtv) } + case "WorkloadName": if value != nil { jtv, ok := value.(string) @@ -18652,6 +19168,7 @@ func awsRestjson1_deserializeDocumentWorkloadSummary(v **types.WorkloadSummary, } sv.WorkloadName = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/wisdom/deserializers.go b/service/wisdom/deserializers.go index c92c8d53e26..26a6e542629 100644 --- a/service/wisdom/deserializers.go +++ b/service/wisdom/deserializers.go @@ -181,6 +181,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantOutput(v **CreateAssistant if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } + default: _, _ = key, value @@ -344,6 +345,7 @@ func awsRestjson1_deserializeOpDocumentCreateAssistantAssociationOutput(v **Crea if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -507,6 +509,7 @@ func awsRestjson1_deserializeOpDocumentCreateContentOutput(v **CreateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -667,6 +670,7 @@ func awsRestjson1_deserializeOpDocumentCreateKnowledgeBaseOutput(v **CreateKnowl if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -830,6 +834,7 @@ func awsRestjson1_deserializeOpDocumentCreateQuickResponseOutput(v **CreateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -987,6 +992,7 @@ func awsRestjson1_deserializeOpDocumentCreateSessionOutput(v **CreateSessionOutp if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -1714,6 +1720,7 @@ func awsRestjson1_deserializeOpDocumentGetAssistantOutput(v **GetAssistantOutput if err := awsRestjson1_deserializeDocumentAssistantData(&sv.Assistant, value); err != nil { return err } + default: _, _ = key, value @@ -1871,6 +1878,7 @@ func awsRestjson1_deserializeOpDocumentGetAssistantAssociationOutput(v **GetAssi if err := awsRestjson1_deserializeDocumentAssistantAssociationData(&sv.AssistantAssociation, value); err != nil { return err } + default: _, _ = key, value @@ -2028,6 +2036,7 @@ func awsRestjson1_deserializeOpDocumentGetContentOutput(v **GetContentOutput, va if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -2185,6 +2194,7 @@ func awsRestjson1_deserializeOpDocumentGetContentSummaryOutput(v **GetContentSum if err := awsRestjson1_deserializeDocumentContentSummary(&sv.ContentSummary, value); err != nil { return err } + default: _, _ = key, value @@ -2342,6 +2352,7 @@ func awsRestjson1_deserializeOpDocumentGetImportJobOutput(v **GetImportJobOutput if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -2499,6 +2510,7 @@ func awsRestjson1_deserializeOpDocumentGetKnowledgeBaseOutput(v **GetKnowledgeBa if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -2656,6 +2668,7 @@ func awsRestjson1_deserializeOpDocumentGetQuickResponseOutput(v **GetQuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -2813,10 +2826,12 @@ func awsRestjson1_deserializeOpDocumentGetRecommendationsOutput(v **GetRecommend if err := awsRestjson1_deserializeDocumentRecommendationList(&sv.Recommendations, value); err != nil { return err } + case "triggers": if err := awsRestjson1_deserializeDocumentRecommendationTriggerList(&sv.Triggers, value); err != nil { return err } + default: _, _ = key, value @@ -2974,6 +2989,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSessionData(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -3131,6 +3147,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA if err := awsRestjson1_deserializeDocumentAssistantAssociationSummaryList(&sv.AssistantAssociationSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3139,6 +3156,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantAssociationsOutput(v **ListA } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3293,6 +3311,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu if err := awsRestjson1_deserializeDocumentAssistantList(&sv.AssistantSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3301,6 +3320,7 @@ func awsRestjson1_deserializeOpDocumentListAssistantsOutput(v **ListAssistantsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3458,6 +3478,7 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3466,6 +3487,7 @@ func awsRestjson1_deserializeOpDocumentListContentsOutput(v **ListContentsOutput } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3620,6 +3642,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu if err := awsRestjson1_deserializeDocumentImportJobList(&sv.ImportJobSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3628,6 +3651,7 @@ func awsRestjson1_deserializeOpDocumentListImportJobsOutput(v **ListImportJobsOu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3782,6 +3806,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg if err := awsRestjson1_deserializeDocumentKnowledgeBaseList(&sv.KnowledgeBaseSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -3790,6 +3815,7 @@ func awsRestjson1_deserializeOpDocumentListKnowledgeBasesOutput(v **ListKnowledg } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -3951,10 +3977,12 @@ func awsRestjson1_deserializeOpDocumentListQuickResponsesOutput(v **ListQuickRes } sv.NextToken = ptr.String(jtv) } + case "quickResponseSummaries": if err := awsRestjson1_deserializeDocumentQuickResponseSummaryList(&sv.QuickResponseSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -4106,6 +4134,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -4263,10 +4292,12 @@ func awsRestjson1_deserializeOpDocumentNotifyRecommendationsReceivedOutput(v **N if err := awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedErrorList(&sv.Errors, value); err != nil { return err } + case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } + default: _, _ = key, value @@ -4431,10 +4462,12 @@ func awsRestjson1_deserializeOpDocumentQueryAssistantOutput(v **QueryAssistantOu } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentQueryResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -4686,6 +4719,7 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp if err := awsRestjson1_deserializeDocumentContentSummaryList(&sv.ContentSummaries, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -4694,6 +4728,7 @@ func awsRestjson1_deserializeOpDocumentSearchContentOutput(v **SearchContentOutp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -4858,10 +4893,12 @@ func awsRestjson1_deserializeOpDocumentSearchQuickResponsesOutput(v **SearchQuic } sv.NextToken = ptr.String(jtv) } + case "results": if err := awsRestjson1_deserializeDocumentQuickResponseSearchResultsList(&sv.Results, value); err != nil { return err } + default: _, _ = key, value @@ -5023,10 +5060,12 @@ func awsRestjson1_deserializeOpDocumentSearchSessionsOutput(v **SearchSessionsOu } sv.NextToken = ptr.String(jtv) } + case "sessionSummaries": if err := awsRestjson1_deserializeDocumentSessionSummaries(&sv.SessionSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -5184,6 +5223,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent if err := awsRestjson1_deserializeDocumentHeaders(&sv.HeadersToInclude, value); err != nil { return err } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -5192,6 +5232,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.UploadId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -5200,6 +5241,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -5215,6 +5257,7 @@ func awsRestjson1_deserializeOpDocumentStartContentUploadOutput(v **StartContent } } + default: _, _ = key, value @@ -5378,6 +5421,7 @@ func awsRestjson1_deserializeOpDocumentStartImportJobOutput(v **StartImportJobOu if err := awsRestjson1_deserializeDocumentImportJobData(&sv.ImportJob, value); err != nil { return err } + default: _, _ = key, value @@ -5717,6 +5761,7 @@ func awsRestjson1_deserializeOpDocumentUpdateContentOutput(v **UpdateContentOutp if err := awsRestjson1_deserializeDocumentContentData(&sv.Content, value); err != nil { return err } + default: _, _ = key, value @@ -5874,6 +5919,7 @@ func awsRestjson1_deserializeOpDocumentUpdateKnowledgeBaseTemplateUriOutput(v ** if err := awsRestjson1_deserializeDocumentKnowledgeBaseData(&sv.KnowledgeBase, value); err != nil { return err } + default: _, _ = key, value @@ -6037,6 +6083,7 @@ func awsRestjson1_deserializeOpDocumentUpdateQuickResponseOutput(v **UpdateQuick if err := awsRestjson1_deserializeDocumentQuickResponseData(&sv.QuickResponse, value); err != nil { return err } + default: _, _ = key, value @@ -6364,6 +6411,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -6403,10 +6451,12 @@ func awsRestjson1_deserializeDocumentAppIntegrationsConfiguration(v **types.AppI } sv.AppIntegrationArn = ptr.String(jtv) } + case "objectFields": if err := awsRestjson1_deserializeDocumentObjectFieldsList(&sv.ObjectFields, value); err != nil { return err } + default: _, _ = key, value @@ -6446,6 +6496,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantArn = ptr.String(jtv) } + case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -6454,6 +6505,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationArn = ptr.String(jtv) } + case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -6462,6 +6514,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantAssociationId = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6470,10 +6523,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssistantId = ptr.String(jtv) } + case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -6482,10 +6537,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationData(v **types.Assistan } sv.AssociationType = types.AssociationType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6565,6 +6622,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantArn = ptr.String(jtv) } + case "assistantAssociationArn": if value != nil { jtv, ok := value.(string) @@ -6573,6 +6631,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationArn = ptr.String(jtv) } + case "assistantAssociationId": if value != nil { jtv, ok := value.(string) @@ -6581,6 +6640,7 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantAssociationId = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6589,10 +6649,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssistantId = ptr.String(jtv) } + case "associationData": if err := awsRestjson1_deserializeDocumentAssistantAssociationOutputData(&sv.AssociationData, value); err != nil { return err } + case "associationType": if value != nil { jtv, ok := value.(string) @@ -6601,10 +6663,12 @@ func awsRestjson1_deserializeDocumentAssistantAssociationSummary(v **types.Assis } sv.AssociationType = types.AssociationType(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -6678,6 +6742,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6686,6 +6751,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.AssistantId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6694,10 +6760,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6706,10 +6774,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Name = ptr.String(jtv) } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6718,10 +6788,12 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Status = types.AssistantStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6730,6 +6802,7 @@ func awsRestjson1_deserializeDocumentAssistantData(v **types.AssistantData, valu } sv.Type = types.AssistantType(jtv) } + default: _, _ = key, value @@ -6769,6 +6842,7 @@ func awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(v **types } sv.TopicIntegrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -6842,6 +6916,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -6850,6 +6925,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.AssistantId = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -6858,10 +6934,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentAssistantIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -6870,10 +6948,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Name = ptr.String(jtv) } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -6882,10 +6962,12 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Status = types.AssistantStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "type": if value != nil { jtv, ok := value.(string) @@ -6894,6 +6976,7 @@ func awsRestjson1_deserializeDocumentAssistantSummary(v **types.AssistantSummary } sv.Type = types.AssistantType(jtv) } + default: _, _ = key, value @@ -7009,6 +7092,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7048,6 +7132,7 @@ func awsRestjson1_deserializeDocumentConnectConfiguration(v **types.ConnectConfi } sv.InstanceId = ptr.String(jtv) } + default: _, _ = key, value @@ -7123,6 +7208,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -7131,6 +7217,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentId = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -7139,6 +7226,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.ContentType = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7147,6 +7235,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7155,6 +7244,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.KnowledgeBaseId = ptr.String(jtv) } + case "linkOutUri": if value != nil { jtv, ok := value.(string) @@ -7163,10 +7253,12 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.LinkOutUri = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7175,6 +7267,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7183,6 +7276,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.RevisionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7191,10 +7285,12 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Status = types.ContentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -7203,6 +7299,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Title = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -7211,6 +7308,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -7226,6 +7324,7 @@ func awsRestjson1_deserializeDocumentContentData(v **types.ContentData, value in } } + default: _, _ = key, value @@ -7301,6 +7400,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -7309,6 +7409,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.ContentId = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7317,6 +7418,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7325,6 +7427,7 @@ func awsRestjson1_deserializeDocumentContentReference(v **types.ContentReference } sv.KnowledgeBaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -7364,6 +7467,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentArn = ptr.String(jtv) } + case "contentId": if value != nil { jtv, ok := value.(string) @@ -7372,6 +7476,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentId = ptr.String(jtv) } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -7380,6 +7485,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.ContentType = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7388,6 +7494,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7396,10 +7503,12 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.KnowledgeBaseId = ptr.String(jtv) } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -7408,6 +7517,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Name = ptr.String(jtv) } + case "revisionId": if value != nil { jtv, ok := value.(string) @@ -7416,6 +7526,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.RevisionId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -7424,10 +7535,12 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Status = types.ContentStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + case "title": if value != nil { jtv, ok := value.(string) @@ -7436,6 +7549,7 @@ func awsRestjson1_deserializeDocumentContentSummary(v **types.ContentSummary, va } sv.Title = ptr.String(jtv) } + default: _, _ = key, value @@ -7505,14 +7619,17 @@ func awsRestjson1_deserializeDocumentDocument(v **types.Document, value interfac if err := awsRestjson1_deserializeDocumentContentReference(&sv.ContentReference, value); err != nil { return err } + case "excerpt": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Excerpt, value); err != nil { return err } + case "title": if err := awsRestjson1_deserializeDocumentDocumentText(&sv.Title, value); err != nil { return err } + default: _, _ = key, value @@ -7548,6 +7665,7 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value if err := awsRestjson1_deserializeDocumentHighlights(&sv.Highlights, value); err != nil { return err } + case "text": if value != nil { jtv, ok := value.(string) @@ -7556,6 +7674,7 @@ func awsRestjson1_deserializeDocumentDocumentText(v **types.DocumentText, value } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -7591,6 +7710,7 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter if err := awsRestjson1_deserializeDocumentConfiguration(&sv.Configuration, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -7599,6 +7719,7 @@ func awsRestjson1_deserializeDocumentExternalSourceConfiguration(v **types.Exter } sv.Source = types.ExternalSource(jtv) } + default: _, _ = key, value @@ -7638,10 +7759,12 @@ func awsRestjson1_deserializeDocumentGroupingConfiguration(v **types.GroupingCon } sv.Criteria = ptr.String(jtv) } + case "values": if err := awsRestjson1_deserializeDocumentGroupingValues(&sv.Values, value); err != nil { return err } + default: _, _ = key, value @@ -7757,6 +7880,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.BeginOffsetInclusive = int32(i64) } + case "endOffsetExclusive": if value != nil { jtv, ok := value.(json.Number) @@ -7769,6 +7893,7 @@ func awsRestjson1_deserializeDocumentHighlight(v **types.Highlight, value interf } sv.EndOffsetExclusive = int32(i64) } + default: _, _ = key, value @@ -7849,10 +7974,12 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } + case "failedRecordReport": if value != nil { jtv, ok := value.(string) @@ -7861,6 +7988,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.FailedRecordReport = ptr.String(jtv) } + case "importJobId": if value != nil { jtv, ok := value.(string) @@ -7869,6 +7997,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobId = ptr.String(jtv) } + case "importJobType": if value != nil { jtv, ok := value.(string) @@ -7877,6 +8006,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.ImportJobType = types.ImportJobType(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -7885,6 +8015,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -7893,6 +8024,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -7908,10 +8040,12 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -7920,6 +8054,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Status = types.ImportJobStatus(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -7928,6 +8063,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.UploadId = ptr.String(jtv) } + case "url": if value != nil { jtv, ok := value.(string) @@ -7936,6 +8072,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } sv.Url = ptr.String(jtv) } + case "urlExpiry": if value != nil { switch jtv := value.(type) { @@ -7951,6 +8088,7 @@ func awsRestjson1_deserializeDocumentImportJobData(v **types.ImportJobData, valu } } + default: _, _ = key, value @@ -8031,10 +8169,12 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } + case "externalSourceConfiguration": if err := awsRestjson1_deserializeDocumentExternalSourceConfiguration(&sv.ExternalSourceConfiguration, value); err != nil { return err } + case "importJobId": if value != nil { jtv, ok := value.(string) @@ -8043,6 +8183,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobId = ptr.String(jtv) } + case "importJobType": if value != nil { jtv, ok := value.(string) @@ -8051,6 +8192,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.ImportJobType = types.ImportJobType(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8059,6 +8201,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8067,6 +8210,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8082,10 +8226,12 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } } + case "metadata": if err := awsRestjson1_deserializeDocumentContentMetadata(&sv.Metadata, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8094,6 +8240,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.Status = types.ImportJobStatus(jtv) } + case "uploadId": if value != nil { jtv, ok := value.(string) @@ -8102,6 +8249,7 @@ func awsRestjson1_deserializeDocumentImportJobSummary(v **types.ImportJobSummary } sv.UploadId = ptr.String(jtv) } + default: _, _ = key, value @@ -8141,6 +8289,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8149,6 +8298,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseAssociationData(v **types.Know } sv.KnowledgeBaseId = ptr.String(jtv) } + default: _, _ = key, value @@ -8188,6 +8338,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Description = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8196,6 +8347,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8204,6 +8356,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -8212,6 +8365,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } + case "lastContentModificationTime": if value != nil { switch jtv := value.(type) { @@ -8227,6 +8381,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8235,18 +8390,22 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Name = ptr.String(jtv) } + case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8255,10 +8414,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseData(v **types.KnowledgeBaseDa } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8332,6 +8493,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Description = ptr.String(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8340,6 +8502,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8348,6 +8511,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseId = ptr.String(jtv) } + case "knowledgeBaseType": if value != nil { jtv, ok := value.(string) @@ -8356,6 +8520,7 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.KnowledgeBaseType = types.KnowledgeBaseType(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -8364,18 +8529,22 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Name = ptr.String(jtv) } + case "renderingConfiguration": if err := awsRestjson1_deserializeDocumentRenderingConfiguration(&sv.RenderingConfiguration, value); err != nil { return err } + case "serverSideEncryptionConfiguration": if err := awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(&sv.ServerSideEncryptionConfiguration, value); err != nil { return err } + case "sourceConfiguration": if err := awsRestjson1_deserializeDocumentSourceConfiguration(&sv.SourceConfiguration, value); err != nil { return err } + case "status": if value != nil { jtv, ok := value.(string) @@ -8384,10 +8553,12 @@ func awsRestjson1_deserializeDocumentKnowledgeBaseSummary(v **types.KnowledgeBas } sv.Status = types.KnowledgeBaseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8427,6 +8598,7 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.Message = ptr.String(jtv) } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -8435,6 +8607,7 @@ func awsRestjson1_deserializeDocumentNotifyRecommendationsReceivedError(v **type } sv.RecommendationId = ptr.String(jtv) } + default: _, _ = key, value @@ -8544,6 +8717,7 @@ func awsRestjson1_deserializeDocumentPreconditionFailedException(v **types.Preco } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8583,6 +8757,7 @@ func awsRestjson1_deserializeDocumentQueryRecommendationTriggerData(v **types.Qu } sv.Text = ptr.String(jtv) } + default: _, _ = key, value @@ -8694,10 +8869,12 @@ func awsRestjson1_deserializeDocumentQuickResponseContents(v **types.QuickRespon if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.Markdown, value); err != nil { return err } + case "plainText": if err := awsRestjson1_deserializeDocumentQuickResponseContentProvider(&sv.PlainText, value); err != nil { return err } + default: _, _ = key, value @@ -8733,10 +8910,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -8745,6 +8924,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8760,6 +8940,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8768,10 +8949,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Description = ptr.String(jtv) } + case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -8780,6 +8963,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8788,6 +8972,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8796,6 +8981,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.KnowledgeBaseId = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -8804,6 +8990,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Language = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -8812,6 +8999,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -8827,6 +9015,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } } + case "name": if value != nil { jtv, ok := value.(string) @@ -8835,6 +9024,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -8843,6 +9033,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -8851,6 +9042,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.QuickResponseId = ptr.String(jtv) } + case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -8859,6 +9051,7 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.ShortcutKey = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -8867,10 +9060,12 @@ func awsRestjson1_deserializeDocumentQuickResponseData(v **types.QuickResponseDa } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -8906,18 +9101,22 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesInterpolated, value); err != nil { return err } + case "attributesNotInterpolated": if err := awsRestjson1_deserializeDocumentContactAttributeKeys(&sv.AttributesNotInterpolated, value); err != nil { return err } + case "channels": if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contents": if err := awsRestjson1_deserializeDocumentQuickResponseContents(&sv.Contents, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -8926,6 +9125,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -8941,6 +9141,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } + case "description": if value != nil { jtv, ok := value.(string) @@ -8949,10 +9150,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Description = ptr.String(jtv) } + case "groupingConfiguration": if err := awsRestjson1_deserializeDocumentGroupingConfiguration(&sv.GroupingConfiguration, value); err != nil { return err } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -8961,6 +9164,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -8969,6 +9173,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -8977,6 +9182,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.KnowledgeBaseId = ptr.String(jtv) } + case "language": if value != nil { jtv, ok := value.(string) @@ -8985,6 +9191,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Language = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -8993,6 +9200,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9008,6 +9216,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9016,6 +9225,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -9024,6 +9234,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -9032,6 +9243,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.QuickResponseId = ptr.String(jtv) } + case "shortcutKey": if value != nil { jtv, ok := value.(string) @@ -9040,6 +9252,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.ShortcutKey = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9048,10 +9261,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSearchResultData(v **types.Qui } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9121,6 +9336,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons if err := awsRestjson1_deserializeDocumentChannels(&sv.Channels, value); err != nil { return err } + case "contentType": if value != nil { jtv, ok := value.(string) @@ -9129,6 +9345,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.ContentType = ptr.String(jtv) } + case "createdTime": if value != nil { switch jtv := value.(type) { @@ -9144,6 +9361,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } + case "description": if value != nil { jtv, ok := value.(string) @@ -9152,6 +9370,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Description = ptr.String(jtv) } + case "isActive": if value != nil { jtv, ok := value.(bool) @@ -9160,6 +9379,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.IsActive = ptr.Bool(jtv) } + case "knowledgeBaseArn": if value != nil { jtv, ok := value.(string) @@ -9168,6 +9388,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseArn = ptr.String(jtv) } + case "knowledgeBaseId": if value != nil { jtv, ok := value.(string) @@ -9176,6 +9397,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.KnowledgeBaseId = ptr.String(jtv) } + case "lastModifiedBy": if value != nil { jtv, ok := value.(string) @@ -9184,6 +9406,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.LastModifiedBy = ptr.String(jtv) } + case "lastModifiedTime": if value != nil { switch jtv := value.(type) { @@ -9199,6 +9422,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } } + case "name": if value != nil { jtv, ok := value.(string) @@ -9207,6 +9431,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Name = ptr.String(jtv) } + case "quickResponseArn": if value != nil { jtv, ok := value.(string) @@ -9215,6 +9440,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseArn = ptr.String(jtv) } + case "quickResponseId": if value != nil { jtv, ok := value.(string) @@ -9223,6 +9449,7 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.QuickResponseId = ptr.String(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -9231,10 +9458,12 @@ func awsRestjson1_deserializeDocumentQuickResponseSummary(v **types.QuickRespons } sv.Status = types.QuickResponseStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9304,6 +9533,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } + case "recommendationId": if value != nil { jtv, ok := value.(string) @@ -9312,6 +9542,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RecommendationId = ptr.String(jtv) } + case "relevanceLevel": if value != nil { jtv, ok := value.(string) @@ -9320,6 +9551,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.RelevanceLevel = types.RelevanceLevel(jtv) } + case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -9353,6 +9585,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } } + case "type": if value != nil { jtv, ok := value.(string) @@ -9361,6 +9594,7 @@ func awsRestjson1_deserializeDocumentRecommendationData(v **types.Recommendation } sv.Type = types.RecommendationType(jtv) } + default: _, _ = key, value @@ -9466,6 +9700,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat if err := awsRestjson1_deserializeDocumentRecommendationTriggerData(&sv.Data, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -9474,10 +9709,12 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Id = ptr.String(jtv) } + case "recommendationIds": if err := awsRestjson1_deserializeDocumentRecommendationIdList(&sv.RecommendationIds, value); err != nil { return err } + case "source": if value != nil { jtv, ok := value.(string) @@ -9486,6 +9723,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Source = types.RecommendationSourceType(jtv) } + case "type": if value != nil { jtv, ok := value.(string) @@ -9494,6 +9732,7 @@ func awsRestjson1_deserializeDocumentRecommendationTrigger(v **types.Recommendat } sv.Type = types.RecommendationTriggerType(jtv) } + default: _, _ = key, value @@ -9607,6 +9846,7 @@ func awsRestjson1_deserializeDocumentRenderingConfiguration(v **types.RenderingC } sv.TemplateUri = ptr.String(jtv) } + default: _, _ = key, value @@ -9646,6 +9886,7 @@ func awsRestjson1_deserializeDocumentRequestTimeoutException(v **types.RequestTi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9685,6 +9926,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -9693,6 +9935,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9728,6 +9971,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte if err := awsRestjson1_deserializeDocumentDocument(&sv.Document, value); err != nil { return err } + case "relevanceScore": if value != nil { switch jtv := value.(type) { @@ -9761,6 +10005,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } } + case "resultId": if value != nil { jtv, ok := value.(string) @@ -9769,6 +10014,7 @@ func awsRestjson1_deserializeDocumentResultData(v **types.ResultData, value inte } sv.ResultId = ptr.String(jtv) } + default: _, _ = key, value @@ -9808,6 +10054,7 @@ func awsRestjson1_deserializeDocumentServerSideEncryptionConfiguration(v **types } sv.KmsKeyId = ptr.String(jtv) } + default: _, _ = key, value @@ -9847,6 +10094,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9886,10 +10134,12 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Description = ptr.String(jtv) } + case "integrationConfiguration": if err := awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(&sv.IntegrationConfiguration, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -9898,6 +10148,7 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.Name = ptr.String(jtv) } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -9906,6 +10157,7 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -9914,10 +10166,12 @@ func awsRestjson1_deserializeDocumentSessionData(v **types.SessionData, value in } sv.SessionId = ptr.String(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -9957,6 +10211,7 @@ func awsRestjson1_deserializeDocumentSessionIntegrationConfiguration(v **types.S } sv.TopicIntegrationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10030,6 +10285,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantArn = ptr.String(jtv) } + case "assistantId": if value != nil { jtv, ok := value.(string) @@ -10038,6 +10294,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.AssistantId = ptr.String(jtv) } + case "sessionArn": if value != nil { jtv, ok := value.(string) @@ -10046,6 +10303,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -10054,6 +10312,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10169,6 +10428,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -10177,6 +10437,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -10216,6 +10477,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/workdocs/deserializers.go b/service/workdocs/deserializers.go index f4632fdef86..887b0a2d617 100644 --- a/service/workdocs/deserializers.go +++ b/service/workdocs/deserializers.go @@ -296,6 +296,7 @@ func awsRestjson1_deserializeOpDocumentActivateUserOutput(v **ActivateUserOutput if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -459,6 +460,7 @@ func awsRestjson1_deserializeOpDocumentAddResourcePermissionsOutput(v **AddResou if err := awsRestjson1_deserializeDocumentShareResultsList(&sv.ShareResults, value); err != nil { return err } + default: _, _ = key, value @@ -631,6 +633,7 @@ func awsRestjson1_deserializeOpDocumentCreateCommentOutput(v **CreateCommentOutp if err := awsRestjson1_deserializeDocumentComment(&sv.Comment, value); err != nil { return err } + default: _, _ = key, value @@ -915,6 +918,7 @@ func awsRestjson1_deserializeOpDocumentCreateFolderOutput(v **CreateFolderOutput if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -1178,6 +1182,7 @@ func awsRestjson1_deserializeOpDocumentCreateNotificationSubscriptionOutput(v ** if err := awsRestjson1_deserializeDocumentSubscription(&sv.Subscription, value); err != nil { return err } + default: _, _ = key, value @@ -1341,6 +1346,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -2604,10 +2610,12 @@ func awsRestjson1_deserializeOpDocumentDescribeActivitiesOutput(v **DescribeActi } sv.Marker = ptr.String(jtv) } + case "UserActivities": if err := awsRestjson1_deserializeDocumentUserActivities(&sv.UserActivities, value); err != nil { return err } + default: _, _ = key, value @@ -2774,6 +2782,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCommentsOutput(v **DescribeCommen if err := awsRestjson1_deserializeDocumentCommentList(&sv.Comments, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -2782,6 +2791,7 @@ func awsRestjson1_deserializeOpDocumentDescribeCommentsOutput(v **DescribeCommen } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -2954,6 +2964,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDocumentVersionsOutput(v **Descri if err := awsRestjson1_deserializeDocumentDocumentVersionMetadataList(&sv.DocumentVersions, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -2962,6 +2973,7 @@ func awsRestjson1_deserializeOpDocumentDescribeDocumentVersionsOutput(v **Descri } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -3128,10 +3140,12 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderContentsOutput(v **Describe if err := awsRestjson1_deserializeDocumentDocumentMetadataList(&sv.Documents, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -3140,6 +3154,7 @@ func awsRestjson1_deserializeOpDocumentDescribeFolderContentsOutput(v **Describe } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -3300,6 +3315,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupsOutput(v **DescribeGroupsOu if err := awsRestjson1_deserializeDocumentGroupMetadataList(&sv.Groups, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -3308,6 +3324,7 @@ func awsRestjson1_deserializeOpDocumentDescribeGroupsOutput(v **DescribeGroupsOu } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -3469,10 +3486,12 @@ func awsRestjson1_deserializeOpDocumentDescribeNotificationSubscriptionsOutput(v } sv.Marker = ptr.String(jtv) } + case "Subscriptions": if err := awsRestjson1_deserializeDocumentSubscriptionList(&sv.Subscriptions, value); err != nil { return err } + default: _, _ = key, value @@ -3640,10 +3659,12 @@ func awsRestjson1_deserializeOpDocumentDescribeResourcePermissionsOutput(v **Des } sv.Marker = ptr.String(jtv) } + case "Principals": if err := awsRestjson1_deserializeDocumentPrincipalList(&sv.Principals, value); err != nil { return err } + default: _, _ = key, value @@ -3807,6 +3828,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRootFoldersOutput(v **DescribeRoo if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -3815,6 +3837,7 @@ func awsRestjson1_deserializeOpDocumentDescribeRootFoldersOutput(v **DescribeRoo } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -3988,6 +4011,7 @@ func awsRestjson1_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.Marker = ptr.String(jtv) } + case "TotalNumberOfUsers": if value != nil { jtv, ok := value.(json.Number) @@ -4000,10 +4024,12 @@ func awsRestjson1_deserializeOpDocumentDescribeUsersOutput(v **DescribeUsersOutp } sv.TotalNumberOfUsers = ptr.Int64(i64) } + case "Users": if err := awsRestjson1_deserializeDocumentOrganizationUserList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -4167,6 +4193,7 @@ func awsRestjson1_deserializeOpDocumentGetCurrentUserOutput(v **GetCurrentUserOu if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -4336,10 +4363,12 @@ func awsRestjson1_deserializeOpDocumentGetDocumentOutput(v **GetDocumentOutput, if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } + case "Metadata": if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -4503,6 +4532,7 @@ func awsRestjson1_deserializeOpDocumentGetDocumentPathOutput(v **GetDocumentPath if err := awsRestjson1_deserializeDocumentResourcePath(&sv.Path, value); err != nil { return err } + default: _, _ = key, value @@ -4672,10 +4702,12 @@ func awsRestjson1_deserializeOpDocumentGetDocumentVersionOutput(v **GetDocumentV if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } + case "Metadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -4845,10 +4877,12 @@ func awsRestjson1_deserializeOpDocumentGetFolderOutput(v **GetFolderOutput, valu if err := awsRestjson1_deserializeDocumentCustomMetadataMap(&sv.CustomMetadata, value); err != nil { return err } + case "Metadata": if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.Metadata, value); err != nil { return err } + default: _, _ = key, value @@ -5012,6 +5046,7 @@ func awsRestjson1_deserializeOpDocumentGetFolderPathOutput(v **GetFolderPathOutp if err := awsRestjson1_deserializeDocumentResourcePath(&sv.Path, value); err != nil { return err } + default: _, _ = key, value @@ -5175,10 +5210,12 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput if err := awsRestjson1_deserializeDocumentDocumentMetadataList(&sv.Documents, value); err != nil { return err } + case "Folders": if err := awsRestjson1_deserializeDocumentFolderMetadataList(&sv.Folders, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -5187,6 +5224,7 @@ func awsRestjson1_deserializeOpDocumentGetResourcesOutput(v **GetResourcesOutput } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -5377,10 +5415,12 @@ func awsRestjson1_deserializeOpDocumentInitiateDocumentVersionUploadOutput(v **I if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.Metadata, value); err != nil { return err } + case "UploadMetadata": if err := awsRestjson1_deserializeDocumentUploadMetadata(&sv.UploadMetadata, value); err != nil { return err } + default: _, _ = key, value @@ -5862,6 +5902,7 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources if err := awsRestjson1_deserializeDocumentResponseItemsList(&sv.Items, value); err != nil { return err } + case "Marker": if value != nil { jtv, ok := value.(string) @@ -5870,6 +5911,7 @@ func awsRestjson1_deserializeOpDocumentSearchResourcesOutput(v **SearchResources } sv.Marker = ptr.String(jtv) } + default: _, _ = key, value @@ -6402,6 +6444,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserOutput(v **UpdateUserOutput, va if err := awsRestjson1_deserializeDocumentUser(&sv.User, value); err != nil { return err } + default: _, _ = key, value @@ -7337,10 +7380,12 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac if err := awsRestjson1_deserializeDocumentCommentMetadata(&sv.CommentMetadata, value); err != nil { return err } + case "Initiator": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.Initiator, value); err != nil { return err } + case "IsIndirectActivity": if value != nil { jtv, ok := value.(bool) @@ -7349,6 +7394,7 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.IsIndirectActivity = jtv } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -7357,18 +7403,22 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.OrganizationId = ptr.String(jtv) } + case "OriginalParent": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.OriginalParent, value); err != nil { return err } + case "Participants": if err := awsRestjson1_deserializeDocumentParticipants(&sv.Participants, value); err != nil { return err } + case "ResourceMetadata": if err := awsRestjson1_deserializeDocumentResourceMetadata(&sv.ResourceMetadata, value); err != nil { return err } + case "TimeStamp": if value != nil { switch jtv := value.(type) { @@ -7384,6 +7434,7 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7392,6 +7443,7 @@ func awsRestjson1_deserializeDocumentActivity(v **types.Activity, value interfac } sv.Type = types.ActivityType(jtv) } + default: _, _ = key, value @@ -7431,10 +7483,12 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.CommentId = ptr.String(jtv) } + case "Contributor": if err := awsRestjson1_deserializeDocumentUser(&sv.Contributor, value); err != nil { return err } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7450,6 +7504,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } } + case "ParentId": if value != nil { jtv, ok := value.(string) @@ -7458,6 +7513,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ParentId = ptr.String(jtv) } + case "RecipientId": if value != nil { jtv, ok := value.(string) @@ -7466,6 +7522,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.RecipientId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -7474,6 +7531,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Status = types.CommentStatusType(jtv) } + case "Text": if value != nil { jtv, ok := value.(string) @@ -7482,6 +7540,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Text = ptr.String(jtv) } + case "ThreadId": if value != nil { jtv, ok := value.(string) @@ -7490,6 +7549,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.ThreadId = ptr.String(jtv) } + case "Visibility": if value != nil { jtv, ok := value.(string) @@ -7498,6 +7558,7 @@ func awsRestjson1_deserializeDocumentComment(v **types.Comment, value interface{ } sv.Visibility = types.CommentVisibilityType(jtv) } + default: _, _ = key, value @@ -7571,6 +7632,7 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.CommentId = ptr.String(jtv) } + case "CommentStatus": if value != nil { jtv, ok := value.(string) @@ -7579,10 +7641,12 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.CommentStatus = types.CommentStatusType(jtv) } + case "Contributor": if err := awsRestjson1_deserializeDocumentUser(&sv.Contributor, value); err != nil { return err } + case "ContributorId": if value != nil { jtv, ok := value.(string) @@ -7591,6 +7655,7 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.ContributorId = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7606,6 +7671,7 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } } + case "RecipientId": if value != nil { jtv, ok := value.(string) @@ -7614,6 +7680,7 @@ func awsRestjson1_deserializeDocumentCommentMetadata(v **types.CommentMetadata, } sv.RecipientId = ptr.String(jtv) } + default: _, _ = key, value @@ -7653,6 +7720,7 @@ func awsRestjson1_deserializeDocumentConcurrentModificationException(v **types.C } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7692,6 +7760,7 @@ func awsRestjson1_deserializeDocumentConflictingOperationException(v **types.Con } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7731,6 +7800,7 @@ func awsRestjson1_deserializeDocumentCustomMetadataLimitExceededException(v **ty } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7806,6 +7876,7 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -7814,6 +7885,7 @@ func awsRestjson1_deserializeDocumentDeactivatingLastSystemUserException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7853,6 +7925,7 @@ func awsRestjson1_deserializeDocumentDocumentLockedForCommentsException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7899,6 +7972,7 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } } + case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -7907,6 +7981,7 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.CreatorId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -7915,14 +7990,17 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.Id = ptr.String(jtv) } + case "Labels": if err := awsRestjson1_deserializeDocumentSharedLabels(&sv.Labels, value); err != nil { return err } + case "LatestVersionMetadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.LatestVersionMetadata, value); err != nil { return err } + case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -7938,6 +8016,7 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } } + case "ParentFolderId": if value != nil { jtv, ok := value.(string) @@ -7946,6 +8025,7 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.ParentFolderId = ptr.String(jtv) } + case "ResourceState": if value != nil { jtv, ok := value.(string) @@ -7954,6 +8034,7 @@ func awsRestjson1_deserializeDocumentDocumentMetadata(v **types.DocumentMetadata } sv.ResourceState = types.ResourceStateType(jtv) } + default: _, _ = key, value @@ -8106,6 +8187,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } + case "ContentModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8121,6 +8203,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } + case "ContentType": if value != nil { jtv, ok := value.(string) @@ -8129,6 +8212,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.ContentType = ptr.String(jtv) } + case "CreatedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8144,6 +8228,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } + case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -8152,6 +8237,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.CreatorId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8160,6 +8246,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Id = ptr.String(jtv) } + case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8175,6 +8262,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8183,6 +8271,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Name = ptr.String(jtv) } + case "Signature": if value != nil { jtv, ok := value.(string) @@ -8191,6 +8280,7 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Signature = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -8203,10 +8293,12 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Size = ptr.Int64(i64) } + case "Source": if err := awsRestjson1_deserializeDocumentDocumentSourceUrlMap(&sv.Source, value); err != nil { return err } + case "Status": if value != nil { jtv, ok := value.(string) @@ -8215,10 +8307,12 @@ func awsRestjson1_deserializeDocumentDocumentVersionMetadata(v **types.DocumentV } sv.Status = types.DocumentStatusType(jtv) } + case "Thumbnail": if err := awsRestjson1_deserializeDocumentDocumentThumbnailUrlMap(&sv.Thumbnail, value); err != nil { return err } + default: _, _ = key, value @@ -8292,6 +8386,7 @@ func awsRestjson1_deserializeDocumentDraftUploadOutOfSyncException(v **types.Dra } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8331,6 +8426,7 @@ func awsRestjson1_deserializeDocumentEntityAlreadyExistsException(v **types.Enti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8402,6 +8498,7 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo if err := awsRestjson1_deserializeDocumentEntityIdList(&sv.EntityIds, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -8410,6 +8507,7 @@ func awsRestjson1_deserializeDocumentEntityNotExistsException(v **types.EntityNo } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8449,6 +8547,7 @@ func awsRestjson1_deserializeDocumentFailedDependencyException(v **types.FailedD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8495,6 +8594,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } } + case "CreatorId": if value != nil { jtv, ok := value.(string) @@ -8503,6 +8603,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.CreatorId = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8511,10 +8612,12 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Id = ptr.String(jtv) } + case "Labels": if err := awsRestjson1_deserializeDocumentSharedLabels(&sv.Labels, value); err != nil { return err } + case "LatestVersionSize": if value != nil { jtv, ok := value.(json.Number) @@ -8527,6 +8630,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.LatestVersionSize = ptr.Int64(i64) } + case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -8542,6 +8646,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8550,6 +8655,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Name = ptr.String(jtv) } + case "ParentFolderId": if value != nil { jtv, ok := value.(string) @@ -8558,6 +8664,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.ParentFolderId = ptr.String(jtv) } + case "ResourceState": if value != nil { jtv, ok := value.(string) @@ -8566,6 +8673,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.ResourceState = types.ResourceStateType(jtv) } + case "Signature": if value != nil { jtv, ok := value.(string) @@ -8574,6 +8682,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Signature = ptr.String(jtv) } + case "Size": if value != nil { jtv, ok := value.(json.Number) @@ -8586,6 +8695,7 @@ func awsRestjson1_deserializeDocumentFolderMetadata(v **types.FolderMetadata, va } sv.Size = ptr.Int64(i64) } + default: _, _ = key, value @@ -8659,6 +8769,7 @@ func awsRestjson1_deserializeDocumentGroupMetadata(v **types.GroupMetadata, valu } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8667,6 +8778,7 @@ func awsRestjson1_deserializeDocumentGroupMetadata(v **types.GroupMetadata, valu } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8740,6 +8852,7 @@ func awsRestjson1_deserializeDocumentIllegalUserStateException(v **types.Illegal } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8779,6 +8892,7 @@ func awsRestjson1_deserializeDocumentInvalidArgumentException(v **types.InvalidA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8818,6 +8932,7 @@ func awsRestjson1_deserializeDocumentInvalidCommentOperationException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8857,6 +8972,7 @@ func awsRestjson1_deserializeDocumentInvalidOperationException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8896,6 +9012,7 @@ func awsRestjson1_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8935,6 +9052,7 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9004,10 +9122,12 @@ func awsRestjson1_deserializeDocumentParticipants(v **types.Participants, value if err := awsRestjson1_deserializeDocumentGroupMetadataList(&sv.Groups, value); err != nil { return err } + case "Users": if err := awsRestjson1_deserializeDocumentUserMetadataList(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -9047,6 +9167,7 @@ func awsRestjson1_deserializeDocumentPermissionInfo(v **types.PermissionInfo, va } sv.Role = types.RoleType(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9055,6 +9176,7 @@ func awsRestjson1_deserializeDocumentPermissionInfo(v **types.PermissionInfo, va } sv.Type = types.RolePermissionType(jtv) } + default: _, _ = key, value @@ -9128,10 +9250,12 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Id = ptr.String(jtv) } + case "Roles": if err := awsRestjson1_deserializeDocumentPermissionInfoList(&sv.Roles, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9140,6 +9264,7 @@ func awsRestjson1_deserializeDocumentPrincipal(v **types.Principal, value interf } sv.Type = types.PrincipalType(jtv) } + default: _, _ = key, value @@ -9213,6 +9338,7 @@ func awsRestjson1_deserializeDocumentProhibitedStateException(v **types.Prohibit } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9252,6 +9378,7 @@ func awsRestjson1_deserializeDocumentRequestedEntityTooLargeException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9291,6 +9418,7 @@ func awsRestjson1_deserializeDocumentResourceAlreadyCheckedOutException(v **type } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9330,6 +9458,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9338,6 +9467,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Name = ptr.String(jtv) } + case "OriginalName": if value != nil { jtv, ok := value.(string) @@ -9346,10 +9476,12 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.OriginalName = ptr.String(jtv) } + case "Owner": if err := awsRestjson1_deserializeDocumentUserMetadata(&sv.Owner, value); err != nil { return err } + case "ParentId": if value != nil { jtv, ok := value.(string) @@ -9358,6 +9490,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.ParentId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9366,6 +9499,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.Type = types.ResourceType(jtv) } + case "VersionId": if value != nil { jtv, ok := value.(string) @@ -9374,6 +9508,7 @@ func awsRestjson1_deserializeDocumentResourceMetadata(v **types.ResourceMetadata } sv.VersionId = ptr.String(jtv) } + default: _, _ = key, value @@ -9409,6 +9544,7 @@ func awsRestjson1_deserializeDocumentResourcePath(v **types.ResourcePath, value if err := awsRestjson1_deserializeDocumentResourcePathComponentList(&sv.Components, value); err != nil { return err } + default: _, _ = key, value @@ -9448,6 +9584,7 @@ func awsRestjson1_deserializeDocumentResourcePathComponent(v **types.ResourcePat } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9456,6 +9593,7 @@ func awsRestjson1_deserializeDocumentResourcePathComponent(v **types.ResourcePat } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -9525,18 +9663,22 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value if err := awsRestjson1_deserializeDocumentCommentMetadata(&sv.CommentMetadata, value); err != nil { return err } + case "DocumentMetadata": if err := awsRestjson1_deserializeDocumentDocumentMetadata(&sv.DocumentMetadata, value); err != nil { return err } + case "DocumentVersionMetadata": if err := awsRestjson1_deserializeDocumentDocumentVersionMetadata(&sv.DocumentVersionMetadata, value); err != nil { return err } + case "FolderMetadata": if err := awsRestjson1_deserializeDocumentFolderMetadata(&sv.FolderMetadata, value); err != nil { return err } + case "ResourceType": if value != nil { jtv, ok := value.(string) @@ -9545,6 +9687,7 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value } sv.ResourceType = types.ResponseItemType(jtv) } + case "WebUrl": if value != nil { jtv, ok := value.(string) @@ -9553,6 +9696,7 @@ func awsRestjson1_deserializeDocumentResponseItem(v **types.ResponseItem, value } sv.WebUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -9626,6 +9770,7 @@ func awsRestjson1_deserializeDocumentServiceUnavailableException(v **types.Servi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9701,6 +9846,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.InviteePrincipalId = ptr.String(jtv) } + case "PrincipalId": if value != nil { jtv, ok := value.(string) @@ -9709,6 +9855,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.PrincipalId = ptr.String(jtv) } + case "Role": if value != nil { jtv, ok := value.(string) @@ -9717,6 +9864,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.Role = types.RoleType(jtv) } + case "ShareId": if value != nil { jtv, ok := value.(string) @@ -9725,6 +9873,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.ShareId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -9733,6 +9882,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.Status = types.ShareStatusType(jtv) } + case "StatusMessage": if value != nil { jtv, ok := value.(string) @@ -9741,6 +9891,7 @@ func awsRestjson1_deserializeDocumentShareResult(v **types.ShareResult, value in } sv.StatusMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -9850,6 +10001,7 @@ func awsRestjson1_deserializeDocumentStorageLimitExceededException(v **types.Sto } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9889,6 +10041,7 @@ func awsRestjson1_deserializeDocumentStorageLimitWillExceedException(v **types.S } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9932,6 +10085,7 @@ func awsRestjson1_deserializeDocumentStorageRuleType(v **types.StorageRuleType, } sv.StorageAllocatedInBytes = ptr.Int64(i64) } + case "StorageType": if value != nil { jtv, ok := value.(string) @@ -9940,6 +10094,7 @@ func awsRestjson1_deserializeDocumentStorageRuleType(v **types.StorageRuleType, } sv.StorageType = types.StorageType(jtv) } + default: _, _ = key, value @@ -9979,6 +10134,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.EndPoint = ptr.String(jtv) } + case "Protocol": if value != nil { jtv, ok := value.(string) @@ -9987,6 +10143,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.Protocol = types.SubscriptionProtocolType(jtv) } + case "SubscriptionId": if value != nil { jtv, ok := value.(string) @@ -9995,6 +10152,7 @@ func awsRestjson1_deserializeDocumentSubscription(v **types.Subscription, value } sv.SubscriptionId = ptr.String(jtv) } + default: _, _ = key, value @@ -10068,6 +10226,7 @@ func awsRestjson1_deserializeDocumentTooManyLabelsException(v **types.TooManyLab } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10107,6 +10266,7 @@ func awsRestjson1_deserializeDocumentTooManySubscriptionsException(v **types.Too } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10146,6 +10306,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Code = ptr.String(jtv) } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -10154,6 +10315,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedOperationException(v **types.Un } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10193,6 +10355,7 @@ func awsRestjson1_deserializeDocumentUnauthorizedResourceAccessException(v **typ } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10228,6 +10391,7 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va if err := awsRestjson1_deserializeDocumentSignedHeaderMap(&sv.SignedHeaders, value); err != nil { return err } + case "UploadUrl": if value != nil { jtv, ok := value.(string) @@ -10236,6 +10400,7 @@ func awsRestjson1_deserializeDocumentUploadMetadata(v **types.UploadMetadata, va } sv.UploadUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -10282,6 +10447,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "EmailAddress": if value != nil { jtv, ok := value.(string) @@ -10290,6 +10456,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.EmailAddress = ptr.String(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -10298,6 +10465,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.GivenName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10306,6 +10474,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } + case "Locale": if value != nil { jtv, ok := value.(string) @@ -10314,6 +10483,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Locale = types.LocaleType(jtv) } + case "ModifiedTimestamp": if value != nil { switch jtv := value.(type) { @@ -10329,6 +10499,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -10337,6 +10508,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.OrganizationId = ptr.String(jtv) } + case "RecycleBinFolderId": if value != nil { jtv, ok := value.(string) @@ -10345,6 +10517,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RecycleBinFolderId = ptr.String(jtv) } + case "RootFolderId": if value != nil { jtv, ok := value.(string) @@ -10353,6 +10526,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.RootFolderId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -10361,10 +10535,12 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Status = types.UserStatusType(jtv) } + case "Storage": if err := awsRestjson1_deserializeDocumentUserStorageMetadata(&sv.Storage, value); err != nil { return err } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -10373,6 +10549,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Surname = ptr.String(jtv) } + case "TimeZoneId": if value != nil { jtv, ok := value.(string) @@ -10381,6 +10558,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.TimeZoneId = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -10389,6 +10567,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Type = types.UserType(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -10397,6 +10576,7 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -10470,6 +10650,7 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.EmailAddress = ptr.String(jtv) } + case "GivenName": if value != nil { jtv, ok := value.(string) @@ -10478,6 +10659,7 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.GivenName = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10486,6 +10668,7 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Id = ptr.String(jtv) } + case "Surname": if value != nil { jtv, ok := value.(string) @@ -10494,6 +10677,7 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Surname = ptr.String(jtv) } + case "Username": if value != nil { jtv, ok := value.(string) @@ -10502,6 +10686,7 @@ func awsRestjson1_deserializeDocumentUserMetadata(v **types.UserMetadata, value } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -10571,6 +10756,7 @@ func awsRestjson1_deserializeDocumentUserStorageMetadata(v **types.UserStorageMe if err := awsRestjson1_deserializeDocumentStorageRuleType(&sv.StorageRule, value); err != nil { return err } + case "StorageUtilizedInBytes": if value != nil { jtv, ok := value.(json.Number) @@ -10583,6 +10769,7 @@ func awsRestjson1_deserializeDocumentUserStorageMetadata(v **types.UserStorageMe } sv.StorageUtilizedInBytes = ptr.Int64(i64) } + default: _, _ = key, value diff --git a/service/workmail/deserializers.go b/service/workmail/deserializers.go index d7f2fcc3b61..aa6c153639f 100644 --- a/service/workmail/deserializers.go +++ b/service/workmail/deserializers.go @@ -12052,6 +12052,7 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu if err := awsAwsjson11_deserializeDocumentActionsList(&sv.Actions, value); err != nil { return err } + case "DateCreated": if value != nil { switch jtv := value.(type) { @@ -12067,6 +12068,7 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -12082,6 +12084,7 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -12090,6 +12093,7 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Description = ptr.String(jtv) } + case "Effect": if value != nil { jtv, ok := value.(string) @@ -12098,14 +12102,17 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Effect = types.AccessControlRuleEffect(jtv) } + case "ImpersonationRoleIds": if err := awsAwsjson11_deserializeDocumentImpersonationRoleIdList(&sv.ImpersonationRoleIds, value); err != nil { return err } + case "IpRanges": if err := awsAwsjson11_deserializeDocumentIpRangeList(&sv.IpRanges, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12114,26 +12121,32 @@ func awsAwsjson11_deserializeDocumentAccessControlRule(v **types.AccessControlRu } sv.Name = ptr.String(jtv) } + case "NotActions": if err := awsAwsjson11_deserializeDocumentActionsList(&sv.NotActions, value); err != nil { return err } + case "NotImpersonationRoleIds": if err := awsAwsjson11_deserializeDocumentImpersonationRoleIdList(&sv.NotImpersonationRoleIds, value); err != nil { return err } + case "NotIpRanges": if err := awsAwsjson11_deserializeDocumentIpRangeList(&sv.NotIpRanges, value); err != nil { return err } + case "NotUserIds": if err := awsAwsjson11_deserializeDocumentUserIdList(&sv.NotUserIds, value); err != nil { return err } + case "UserIds": if err := awsAwsjson11_deserializeDocumentUserIdList(&sv.UserIds, value); err != nil { return err } + default: _, _ = key, value @@ -12322,6 +12335,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -12337,6 +12351,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -12345,14 +12360,17 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } sv.DomainName = ptr.String(jtv) } + case "EwsProvider": if err := awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(&sv.EwsProvider, value); err != nil { return err } + case "LambdaProvider": if err := awsAwsjson11_deserializeDocumentLambdaAvailabilityProvider(&sv.LambdaProvider, value); err != nil { return err } + case "ProviderType": if value != nil { jtv, ok := value.(string) @@ -12361,6 +12379,7 @@ func awsAwsjson11_deserializeDocumentAvailabilityConfiguration(v **types.Availab } sv.ProviderType = types.AvailabilityProviderType(jtv) } + default: _, _ = key, value @@ -12434,6 +12453,7 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoAcceptRequests = jtv } + case "AutoDeclineConflictingRequests": if value != nil { jtv, ok := value.(bool) @@ -12442,6 +12462,7 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoDeclineConflictingRequests = jtv } + case "AutoDeclineRecurringRequests": if value != nil { jtv, ok := value.(bool) @@ -12450,6 +12471,7 @@ func awsAwsjson11_deserializeDocumentBookingOptions(v **types.BookingOptions, va } sv.AutoDeclineRecurringRequests = jtv } + default: _, _ = key, value @@ -12489,6 +12511,7 @@ func awsAwsjson11_deserializeDocumentDelegate(v **types.Delegate, value interfac } sv.Id = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12497,6 +12520,7 @@ func awsAwsjson11_deserializeDocumentDelegate(v **types.Delegate, value interfac } sv.Type = types.MemberType(jtv) } + default: _, _ = key, value @@ -12680,6 +12704,7 @@ func awsAwsjson11_deserializeDocumentDirectoryInUseException(v **types.Directory } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12719,6 +12744,7 @@ func awsAwsjson11_deserializeDocumentDirectoryServiceAuthenticationFailedExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12758,6 +12784,7 @@ func awsAwsjson11_deserializeDocumentDirectoryUnavailableException(v **types.Dir } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12797,6 +12824,7 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Hostname = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -12805,6 +12833,7 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Type = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -12813,6 +12842,7 @@ func awsAwsjson11_deserializeDocumentDnsRecord(v **types.DnsRecord, value interf } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -12886,6 +12916,7 @@ func awsAwsjson11_deserializeDocumentEmailAddressInUseException(v **types.EmailA } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12925,6 +12956,7 @@ func awsAwsjson11_deserializeDocumentEntityAlreadyRegisteredException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12964,6 +12996,7 @@ func awsAwsjson11_deserializeDocumentEntityNotFoundException(v **types.EntityNot } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13003,6 +13036,7 @@ func awsAwsjson11_deserializeDocumentEntityStateException(v **types.EntityStateE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13042,6 +13076,7 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Action = types.RetentionAction(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13050,6 +13085,7 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Name = types.FolderName(jtv) } + case "Period": if value != nil { jtv, ok := value.(json.Number) @@ -13062,6 +13098,7 @@ func awsAwsjson11_deserializeDocumentFolderConfiguration(v **types.FolderConfigu } sv.Period = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -13142,6 +13179,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } } + case "Email": if value != nil { jtv, ok := value.(string) @@ -13150,6 +13188,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -13165,6 +13204,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -13173,6 +13213,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13181,6 +13222,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -13189,6 +13231,7 @@ func awsAwsjson11_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.State = types.EntityState(jtv) } + default: _, _ = key, value @@ -13228,6 +13271,7 @@ func awsAwsjson11_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupId = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -13236,6 +13280,7 @@ func awsAwsjson11_deserializeDocumentGroupIdentifier(v **types.GroupIdentifier, } sv.GroupName = ptr.String(jtv) } + default: _, _ = key, value @@ -13343,6 +13388,7 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.ApplicationArn = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13351,6 +13397,7 @@ func awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(v **types.Ident } sv.InstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13390,6 +13437,7 @@ func awsAwsjson11_deserializeDocumentImpersonationMatchedRule(v **types.Imperson } sv.ImpersonationRuleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13398,6 +13446,7 @@ func awsAwsjson11_deserializeDocumentImpersonationMatchedRule(v **types.Imperson } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -13478,6 +13527,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -13493,6 +13543,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } } + case "ImpersonationRoleId": if value != nil { jtv, ok := value.(string) @@ -13501,6 +13552,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.ImpersonationRoleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13509,6 +13561,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -13517,6 +13570,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRole(v **types.ImpersonationRo } sv.Type = types.ImpersonationRoleType(jtv) } + default: _, _ = key, value @@ -13626,6 +13680,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Description = ptr.String(jtv) } + case "Effect": if value != nil { jtv, ok := value.(string) @@ -13634,6 +13689,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Effect = types.AccessEffect(jtv) } + case "ImpersonationRuleId": if value != nil { jtv, ok := value.(string) @@ -13642,6 +13698,7 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.ImpersonationRuleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -13650,14 +13707,17 @@ func awsAwsjson11_deserializeDocumentImpersonationRule(v **types.ImpersonationRu } sv.Name = ptr.String(jtv) } + case "NotTargetUsers": if err := awsAwsjson11_deserializeDocumentTargetUsers(&sv.NotTargetUsers, value); err != nil { return err } + case "TargetUsers": if err := awsAwsjson11_deserializeDocumentTargetUsers(&sv.TargetUsers, value); err != nil { return err } + default: _, _ = key, value @@ -13731,6 +13791,7 @@ func awsAwsjson11_deserializeDocumentInvalidConfigurationException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13770,6 +13831,7 @@ func awsAwsjson11_deserializeDocumentInvalidCustomSesConfigurationException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13809,6 +13871,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterException(v **types.Invalid } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13848,6 +13911,7 @@ func awsAwsjson11_deserializeDocumentInvalidPasswordException(v **types.InvalidP } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -13957,6 +14021,7 @@ func awsAwsjson11_deserializeDocumentLambdaAvailabilityProvider(v **types.Lambda } sv.LambdaArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13996,6 +14061,7 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14035,6 +14101,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.Description = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -14050,6 +14117,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -14058,6 +14126,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.EntityId = ptr.String(jtv) } + case "EstimatedProgress": if value != nil { jtv, ok := value.(json.Number) @@ -14070,6 +14139,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.EstimatedProgress = int32(i64) } + case "JobId": if value != nil { jtv, ok := value.(string) @@ -14078,6 +14148,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.JobId = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -14086,6 +14157,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.S3BucketName = ptr.String(jtv) } + case "S3Path": if value != nil { jtv, ok := value.(string) @@ -14094,6 +14166,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.S3Path = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -14109,6 +14182,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } } + case "State": if value != nil { jtv, ok := value.(string) @@ -14117,6 +14191,7 @@ func awsAwsjson11_deserializeDocumentMailboxExportJob(v **types.MailboxExportJob } sv.State = types.MailboxExportJobState(jtv) } + default: _, _ = key, value @@ -14156,6 +14231,7 @@ func awsAwsjson11_deserializeDocumentMailDomainInUseException(v **types.MailDoma } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14195,6 +14271,7 @@ func awsAwsjson11_deserializeDocumentMailDomainNotFoundException(v **types.MailD } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14268,6 +14345,7 @@ func awsAwsjson11_deserializeDocumentMailDomainStateException(v **types.MailDoma } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14307,6 +14385,7 @@ func awsAwsjson11_deserializeDocumentMailDomainSummary(v **types.MailDomainSumma } sv.DefaultDomain = jtv } + case "DomainName": if value != nil { jtv, ok := value.(string) @@ -14315,6 +14394,7 @@ func awsAwsjson11_deserializeDocumentMailDomainSummary(v **types.MailDomainSumma } sv.DomainName = ptr.String(jtv) } + default: _, _ = key, value @@ -14361,6 +14441,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -14376,6 +14457,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -14384,6 +14466,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14392,6 +14475,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14400,6 +14484,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.State = types.EntityState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14408,6 +14493,7 @@ func awsAwsjson11_deserializeDocumentMember(v **types.Member, value interface{}) } sv.Type = types.MemberType(jtv) } + default: _, _ = key, value @@ -14481,6 +14567,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRule(v **types.Mob } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14489,6 +14576,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRule(v **types.Mob } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -14569,6 +14657,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -14584,6 +14673,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14592,6 +14682,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.Description = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -14600,6 +14691,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.DeviceId = ptr.String(jtv) } + case "Effect": if value != nil { jtv, ok := value.(string) @@ -14608,6 +14700,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -14616,6 +14709,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessOverride(v **types.Mobile } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -14696,6 +14790,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -14711,6 +14806,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -14719,22 +14815,27 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Description = ptr.String(jtv) } + case "DeviceModels": if err := awsAwsjson11_deserializeDocumentDeviceModelList(&sv.DeviceModels, value); err != nil { return err } + case "DeviceOperatingSystems": if err := awsAwsjson11_deserializeDocumentDeviceOperatingSystemList(&sv.DeviceOperatingSystems, value); err != nil { return err } + case "DeviceTypes": if err := awsAwsjson11_deserializeDocumentDeviceTypeList(&sv.DeviceTypes, value); err != nil { return err } + case "DeviceUserAgents": if err := awsAwsjson11_deserializeDocumentDeviceUserAgentList(&sv.DeviceUserAgents, value); err != nil { return err } + case "Effect": if value != nil { jtv, ok := value.(string) @@ -14743,6 +14844,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } + case "MobileDeviceAccessRuleId": if value != nil { jtv, ok := value.(string) @@ -14751,6 +14853,7 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -14759,22 +14862,27 @@ func awsAwsjson11_deserializeDocumentMobileDeviceAccessRule(v **types.MobileDevi } sv.Name = ptr.String(jtv) } + case "NotDeviceModels": if err := awsAwsjson11_deserializeDocumentDeviceModelList(&sv.NotDeviceModels, value); err != nil { return err } + case "NotDeviceOperatingSystems": if err := awsAwsjson11_deserializeDocumentDeviceOperatingSystemList(&sv.NotDeviceOperatingSystems, value); err != nil { return err } + case "NotDeviceTypes": if err := awsAwsjson11_deserializeDocumentDeviceTypeList(&sv.NotDeviceTypes, value); err != nil { return err } + case "NotDeviceUserAgents": if err := awsAwsjson11_deserializeDocumentDeviceUserAgentList(&sv.NotDeviceUserAgents, value); err != nil { return err } + default: _, _ = key, value @@ -14848,6 +14956,7 @@ func awsAwsjson11_deserializeDocumentNameAvailabilityException(v **types.NameAva } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14887,6 +14996,7 @@ func awsAwsjson11_deserializeDocumentOrganizationNotFoundException(v **types.Org } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14926,6 +15036,7 @@ func awsAwsjson11_deserializeDocumentOrganizationStateException(v **types.Organi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14999,6 +15110,7 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.Alias = ptr.String(jtv) } + case "DefaultMailDomain": if value != nil { jtv, ok := value.(string) @@ -15007,6 +15119,7 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.DefaultMailDomain = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -15015,6 +15128,7 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.ErrorMessage = ptr.String(jtv) } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -15023,6 +15137,7 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.OrganizationId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15031,6 +15146,7 @@ func awsAwsjson11_deserializeDocumentOrganizationSummary(v **types.OrganizationS } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -15070,6 +15186,7 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeId = ptr.String(jtv) } + case "GranteeType": if value != nil { jtv, ok := value.(string) @@ -15078,10 +15195,12 @@ func awsAwsjson11_deserializeDocumentPermission(v **types.Permission, value inte } sv.GranteeType = types.MemberType(jtv) } + case "PermissionValues": if err := awsAwsjson11_deserializeDocumentPermissionValues(&sv.PermissionValues, value); err != nil { return err } + default: _, _ = key, value @@ -15195,6 +15314,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(v **types. } sv.LifetimeInDays = ptr.Int32(int32(i64)) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15203,6 +15323,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(v **types. } sv.Status = types.PersonalAccessTokenConfigurationStatus(jtv) } + default: _, _ = key, value @@ -15285,6 +15406,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } + case "DateLastUsed": if value != nil { switch jtv := value.(type) { @@ -15300,6 +15422,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } + case "ExpiresTime": if value != nil { switch jtv := value.(type) { @@ -15315,6 +15438,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15323,6 +15447,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.Name = ptr.String(jtv) } + case "PersonalAccessTokenId": if value != nil { jtv, ok := value.(string) @@ -15331,10 +15456,12 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.PersonalAccessTokenId = ptr.String(jtv) } + case "Scopes": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenScopeList(&sv.Scopes, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -15343,6 +15470,7 @@ func awsAwsjson11_deserializeDocumentPersonalAccessTokenSummary(v **types.Person } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -15416,6 +15544,7 @@ func awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(v **types.R } sv.EwsEndpoint = ptr.String(jtv) } + case "EwsUsername": if value != nil { jtv, ok := value.(string) @@ -15424,6 +15553,7 @@ func awsAwsjson11_deserializeDocumentRedactedEwsAvailabilityProvider(v **types.R } sv.EwsUsername = ptr.String(jtv) } + default: _, _ = key, value @@ -15463,6 +15593,7 @@ func awsAwsjson11_deserializeDocumentReservedNameException(v **types.ReservedNam } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15502,6 +15633,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Description = ptr.String(jtv) } + case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -15517,6 +15649,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } + case "Email": if value != nil { jtv, ok := value.(string) @@ -15525,6 +15658,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -15540,6 +15674,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15548,6 +15683,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15556,6 +15692,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15564,6 +15701,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.State = types.EntityState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -15572,6 +15710,7 @@ func awsAwsjson11_deserializeDocumentResource(v **types.Resource, value interfac } sv.Type = types.ResourceType(jtv) } + default: _, _ = key, value @@ -15645,6 +15784,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15718,6 +15858,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15726,6 +15867,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15835,6 +15977,7 @@ func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15874,6 +16017,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedOperationException(v **types.Uns } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15920,6 +16064,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -15928,6 +16073,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.DisplayName = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -15936,6 +16082,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -15951,6 +16098,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -15959,6 +16107,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Id = ptr.String(jtv) } + case "IdentityProviderIdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -15967,6 +16116,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityProviderIdentityStoreId = ptr.String(jtv) } + case "IdentityProviderUserId": if value != nil { jtv, ok := value.(string) @@ -15975,6 +16125,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.IdentityProviderUserId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -15983,6 +16134,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -15991,6 +16143,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.State = types.EntityState(jtv) } + case "UserRole": if value != nil { jtv, ok := value.(string) @@ -15999,6 +16152,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err } sv.UserRole = types.UserRole(jtv) } + default: _, _ = key, value @@ -16174,6 +16328,7 @@ func awsAwsjson11_deserializeOpDocumentAssumeImpersonationRoleOutput(v **AssumeI } sv.ExpiresIn = ptr.Int64(i64) } + case "Token": if value != nil { jtv, ok := value.(string) @@ -16182,6 +16337,7 @@ func awsAwsjson11_deserializeOpDocumentAssumeImpersonationRoleOutput(v **AssumeI } sv.Token = ptr.String(jtv) } + default: _, _ = key, value @@ -16314,6 +16470,7 @@ func awsAwsjson11_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -16353,6 +16510,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIdentityCenterApplicationOutput(v * } sv.ApplicationArn = ptr.String(jtv) } + default: _, _ = key, value @@ -16392,6 +16550,7 @@ func awsAwsjson11_deserializeOpDocumentCreateImpersonationRoleOutput(v **CreateI } sv.ImpersonationRoleId = ptr.String(jtv) } + default: _, _ = key, value @@ -16431,6 +16590,7 @@ func awsAwsjson11_deserializeOpDocumentCreateMobileDeviceAccessRuleOutput(v **Cr } sv.MobileDeviceAccessRuleId = ptr.String(jtv) } + default: _, _ = key, value @@ -16470,6 +16630,7 @@ func awsAwsjson11_deserializeOpDocumentCreateOrganizationOutput(v **CreateOrgani } sv.OrganizationId = ptr.String(jtv) } + default: _, _ = key, value @@ -16509,6 +16670,7 @@ func awsAwsjson11_deserializeOpDocumentCreateResourceOutput(v **CreateResourceOu } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -16548,6 +16710,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUserOutput(v **CreateUserOutput, va } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -16928,6 +17091,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteOrganizationOutput(v **DeleteOrgani } sv.OrganizationId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -16936,6 +17100,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteOrganizationOutput(v **DeleteOrgani } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -17161,6 +17326,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmailMonitoringConfigurationOutpu } sv.LogGroupArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17169,6 +17335,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEmailMonitoringConfigurationOutpu } sv.RoleArn = ptr.String(jtv) } + default: _, _ = key, value @@ -17208,6 +17375,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.EntityId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17216,6 +17384,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Name = ptr.String(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17224,6 +17393,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEntityOutput(v **DescribeEntityOu } sv.Type = types.EntityType(jtv) } + default: _, _ = key, value @@ -17270,6 +17440,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } } + case "Email": if value != nil { jtv, ok := value.(string) @@ -17278,6 +17449,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -17293,6 +17465,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } } + case "GroupId": if value != nil { jtv, ok := value.(string) @@ -17301,6 +17474,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.GroupId = ptr.String(jtv) } + case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -17309,6 +17483,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.HiddenFromGlobalAddressList = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17317,6 +17492,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.Name = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17325,6 +17501,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeGroupOutput(v **DescribeGroupOutp } sv.State = types.EntityState(jtv) } + default: _, _ = key, value @@ -17364,14 +17541,17 @@ func awsAwsjson11_deserializeOpDocumentDescribeIdentityProviderConfigurationOutp } sv.AuthenticationMode = types.IdentityProviderAuthenticationMode(jtv) } + case "IdentityCenterConfiguration": if err := awsAwsjson11_deserializeDocumentIdentityCenterConfiguration(&sv.IdentityCenterConfiguration, value); err != nil { return err } + case "PersonalAccessTokenConfiguration": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenConfiguration(&sv.PersonalAccessTokenConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -17411,6 +17591,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeInboundDmarcSettingsOutput(v **De } sv.Enforced = jtv } + default: _, _ = key, value @@ -17450,6 +17631,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.Description = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -17465,6 +17647,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } } + case "EntityId": if value != nil { jtv, ok := value.(string) @@ -17473,6 +17656,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.EntityId = ptr.String(jtv) } + case "ErrorInfo": if value != nil { jtv, ok := value.(string) @@ -17481,6 +17665,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.ErrorInfo = ptr.String(jtv) } + case "EstimatedProgress": if value != nil { jtv, ok := value.(json.Number) @@ -17493,6 +17678,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.EstimatedProgress = int32(i64) } + case "KmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -17501,6 +17687,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.KmsKeyArn = ptr.String(jtv) } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -17509,6 +17696,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.RoleArn = ptr.String(jtv) } + case "S3BucketName": if value != nil { jtv, ok := value.(string) @@ -17517,6 +17705,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3BucketName = ptr.String(jtv) } + case "S3Path": if value != nil { jtv, ok := value.(string) @@ -17525,6 +17714,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3Path = ptr.String(jtv) } + case "S3Prefix": if value != nil { jtv, ok := value.(string) @@ -17533,6 +17723,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.S3Prefix = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -17548,6 +17739,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } } + case "State": if value != nil { jtv, ok := value.(string) @@ -17556,6 +17748,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeMailboxExportJobOutput(v **Descri } sv.State = types.MailboxExportJobState(jtv) } + default: _, _ = key, value @@ -17595,6 +17788,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.Alias = ptr.String(jtv) } + case "ARN": if value != nil { jtv, ok := value.(string) @@ -17603,6 +17797,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.ARN = ptr.String(jtv) } + case "CompletedDate": if value != nil { switch jtv := value.(type) { @@ -17618,6 +17813,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } } + case "DefaultMailDomain": if value != nil { jtv, ok := value.(string) @@ -17626,6 +17822,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DefaultMailDomain = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -17634,6 +17831,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DirectoryId = ptr.String(jtv) } + case "DirectoryType": if value != nil { jtv, ok := value.(string) @@ -17642,6 +17840,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.DirectoryType = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17650,6 +17849,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.ErrorMessage = ptr.String(jtv) } + case "InteroperabilityEnabled": if value != nil { jtv, ok := value.(bool) @@ -17658,6 +17858,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.InteroperabilityEnabled = jtv } + case "MigrationAdmin": if value != nil { jtv, ok := value.(string) @@ -17666,6 +17867,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.MigrationAdmin = ptr.String(jtv) } + case "OrganizationId": if value != nil { jtv, ok := value.(string) @@ -17674,6 +17876,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.OrganizationId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17682,6 +17885,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeOrganizationOutput(v **DescribeOr } sv.State = ptr.String(jtv) } + default: _, _ = key, value @@ -17717,6 +17921,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour if err := awsAwsjson11_deserializeDocumentBookingOptions(&sv.BookingOptions, value); err != nil { return err } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17725,6 +17930,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Description = ptr.String(jtv) } + case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -17740,6 +17946,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } } + case "Email": if value != nil { jtv, ok := value.(string) @@ -17748,6 +17955,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -17763,6 +17971,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } } + case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -17771,6 +17980,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.HiddenFromGlobalAddressList = jtv } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17779,6 +17989,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Name = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -17787,6 +17998,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.ResourceId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17795,6 +18007,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.State = types.EntityState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -17803,6 +18016,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeResourceOutput(v **DescribeResour } sv.Type = types.ResourceType(jtv) } + default: _, _ = key, value @@ -17842,6 +18056,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.City = ptr.String(jtv) } + case "Company": if value != nil { jtv, ok := value.(string) @@ -17850,6 +18065,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Company = ptr.String(jtv) } + case "Country": if value != nil { jtv, ok := value.(string) @@ -17858,6 +18074,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Country = ptr.String(jtv) } + case "Department": if value != nil { jtv, ok := value.(string) @@ -17866,6 +18083,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Department = ptr.String(jtv) } + case "DisabledDate": if value != nil { switch jtv := value.(type) { @@ -17881,6 +18099,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } + case "DisplayName": if value != nil { jtv, ok := value.(string) @@ -17889,6 +18108,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.DisplayName = ptr.String(jtv) } + case "Email": if value != nil { jtv, ok := value.(string) @@ -17897,6 +18117,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Email = ptr.String(jtv) } + case "EnabledDate": if value != nil { switch jtv := value.(type) { @@ -17912,6 +18133,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } + case "FirstName": if value != nil { jtv, ok := value.(string) @@ -17920,6 +18142,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.FirstName = ptr.String(jtv) } + case "HiddenFromGlobalAddressList": if value != nil { jtv, ok := value.(bool) @@ -17928,6 +18151,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.HiddenFromGlobalAddressList = jtv } + case "IdentityProviderIdentityStoreId": if value != nil { jtv, ok := value.(string) @@ -17936,6 +18160,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityProviderIdentityStoreId = ptr.String(jtv) } + case "IdentityProviderUserId": if value != nil { jtv, ok := value.(string) @@ -17944,6 +18169,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.IdentityProviderUserId = ptr.String(jtv) } + case "Initials": if value != nil { jtv, ok := value.(string) @@ -17952,6 +18178,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Initials = ptr.String(jtv) } + case "JobTitle": if value != nil { jtv, ok := value.(string) @@ -17960,6 +18187,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.JobTitle = ptr.String(jtv) } + case "LastName": if value != nil { jtv, ok := value.(string) @@ -17968,6 +18196,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.LastName = ptr.String(jtv) } + case "MailboxDeprovisionedDate": if value != nil { switch jtv := value.(type) { @@ -17983,6 +18212,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } + case "MailboxProvisionedDate": if value != nil { switch jtv := value.(type) { @@ -17998,6 +18228,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18006,6 +18237,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Name = ptr.String(jtv) } + case "Office": if value != nil { jtv, ok := value.(string) @@ -18014,6 +18246,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Office = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -18022,6 +18255,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.State = types.EntityState(jtv) } + case "Street": if value != nil { jtv, ok := value.(string) @@ -18030,6 +18264,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Street = ptr.String(jtv) } + case "Telephone": if value != nil { jtv, ok := value.(string) @@ -18038,6 +18273,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.Telephone = ptr.String(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -18046,6 +18282,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserId = ptr.String(jtv) } + case "UserRole": if value != nil { jtv, ok := value.(string) @@ -18054,6 +18291,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.UserRole = types.UserRole(jtv) } + case "ZipCode": if value != nil { jtv, ok := value.(string) @@ -18062,6 +18300,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeUserOutput(v **DescribeUserOutput } sv.ZipCode = ptr.String(jtv) } + default: _, _ = key, value @@ -18163,10 +18402,12 @@ func awsAwsjson11_deserializeOpDocumentGetAccessControlEffectOutput(v **GetAcces } sv.Effect = types.AccessControlRuleEffect(jtv) } + case "MatchedRules": if err := awsAwsjson11_deserializeDocumentAccessControlRuleNameList(&sv.MatchedRules, value); err != nil { return err } + default: _, _ = key, value @@ -18206,10 +18447,12 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Description = ptr.String(jtv) } + case "FolderConfigurations": if err := awsAwsjson11_deserializeDocumentFolderConfigurations(&sv.FolderConfigurations, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -18218,6 +18461,7 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Id = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18226,6 +18470,7 @@ func awsAwsjson11_deserializeOpDocumentGetDefaultRetentionPolicyOutput(v **GetDe } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -18265,10 +18510,12 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleEffectOutput(v **GetI } sv.Effect = types.AccessEffect(jtv) } + case "MatchedRules": if err := awsAwsjson11_deserializeDocumentImpersonationMatchedRuleList(&sv.MatchedRules, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18277,6 +18524,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleEffectOutput(v **GetI } sv.Type = types.ImpersonationRoleType(jtv) } + default: _, _ = key, value @@ -18323,6 +18571,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -18338,6 +18587,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18346,6 +18596,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Description = ptr.String(jtv) } + case "ImpersonationRoleId": if value != nil { jtv, ok := value.(string) @@ -18354,6 +18605,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.ImpersonationRoleId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18362,10 +18614,12 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Name = ptr.String(jtv) } + case "Rules": if err := awsAwsjson11_deserializeDocumentImpersonationRuleList(&sv.Rules, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -18374,6 +18628,7 @@ func awsAwsjson11_deserializeOpDocumentGetImpersonationRoleOutput(v **GetImperso } sv.Type = types.ImpersonationRoleType(jtv) } + default: _, _ = key, value @@ -18417,6 +18672,7 @@ func awsAwsjson11_deserializeOpDocumentGetMailboxDetailsOutput(v **GetMailboxDet } sv.MailboxQuota = ptr.Int32(int32(i64)) } + case "MailboxSize": if value != nil { switch jtv := value.(type) { @@ -18450,6 +18706,7 @@ func awsAwsjson11_deserializeOpDocumentGetMailboxDetailsOutput(v **GetMailboxDet } } + default: _, _ = key, value @@ -18489,6 +18746,7 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.DkimVerificationStatus = types.DnsRecordVerificationStatus(jtv) } + case "IsDefault": if value != nil { jtv, ok := value.(bool) @@ -18497,6 +18755,7 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.IsDefault = jtv } + case "IsTestDomain": if value != nil { jtv, ok := value.(bool) @@ -18505,6 +18764,7 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.IsTestDomain = jtv } + case "OwnershipVerificationStatus": if value != nil { jtv, ok := value.(string) @@ -18513,10 +18773,12 @@ func awsAwsjson11_deserializeOpDocumentGetMailDomainOutput(v **GetMailDomainOutp } sv.OwnershipVerificationStatus = types.DnsRecordVerificationStatus(jtv) } + case "Records": if err := awsAwsjson11_deserializeDocumentDnsRecords(&sv.Records, value); err != nil { return err } + default: _, _ = key, value @@ -18556,10 +18818,12 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessEffectOutput(v **Get } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } + case "MatchedRules": if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessMatchedRuleList(&sv.MatchedRules, value); err != nil { return err } + default: _, _ = key, value @@ -18606,6 +18870,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } } + case "DateModified": if value != nil { switch jtv := value.(type) { @@ -18621,6 +18886,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18629,6 +18895,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.Description = ptr.String(jtv) } + case "DeviceId": if value != nil { jtv, ok := value.(string) @@ -18637,6 +18904,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.DeviceId = ptr.String(jtv) } + case "Effect": if value != nil { jtv, ok := value.(string) @@ -18645,6 +18913,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.Effect = types.MobileDeviceAccessRuleEffect(jtv) } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -18653,6 +18922,7 @@ func awsAwsjson11_deserializeOpDocumentGetMobileDeviceAccessOverrideOutput(v **G } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -18699,6 +18969,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } + case "DateLastUsed": if value != nil { switch jtv := value.(type) { @@ -18714,6 +18985,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } + case "ExpiresTime": if value != nil { switch jtv := value.(type) { @@ -18729,6 +19001,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18737,6 +19010,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.Name = ptr.String(jtv) } + case "PersonalAccessTokenId": if value != nil { jtv, ok := value.(string) @@ -18745,10 +19019,12 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.PersonalAccessTokenId = ptr.String(jtv) } + case "Scopes": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenScopeList(&sv.Scopes, value); err != nil { return err } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -18757,6 +19033,7 @@ func awsAwsjson11_deserializeOpDocumentGetPersonalAccessTokenMetadataOutput(v ** } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -18792,6 +19069,7 @@ func awsAwsjson11_deserializeOpDocumentListAccessControlRulesOutput(v **ListAcce if err := awsAwsjson11_deserializeDocumentAccessControlRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -18827,6 +19105,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, if err := awsAwsjson11_deserializeDocumentAliases(&sv.Aliases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18835,6 +19114,7 @@ func awsAwsjson11_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18870,6 +19150,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailabilityConfigurationsOutput(v ** if err := awsAwsjson11_deserializeDocumentAvailabilityConfigurationList(&sv.AvailabilityConfigurations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18878,6 +19159,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailabilityConfigurationsOutput(v ** } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18913,6 +19195,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe if err := awsAwsjson11_deserializeDocumentMembers(&sv.Members, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18921,6 +19204,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupMembersOutput(v **ListGroupMembe } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18956,6 +19240,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsForEntityOutput(v **ListGroupsF if err := awsAwsjson11_deserializeDocumentGroupIdentifiers(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -18964,6 +19249,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsForEntityOutput(v **ListGroupsF } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -18999,6 +19285,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va if err := awsAwsjson11_deserializeDocumentGroups(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19007,6 +19294,7 @@ func awsAwsjson11_deserializeOpDocumentListGroupsOutput(v **ListGroupsOutput, va } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19046,10 +19334,12 @@ func awsAwsjson11_deserializeOpDocumentListImpersonationRolesOutput(v **ListImpe } sv.NextToken = ptr.String(jtv) } + case "Roles": if err := awsAwsjson11_deserializeDocumentImpersonationRoleList(&sv.Roles, value); err != nil { return err } + default: _, _ = key, value @@ -19085,6 +19375,7 @@ func awsAwsjson11_deserializeOpDocumentListMailboxExportJobsOutput(v **ListMailb if err := awsAwsjson11_deserializeDocumentJobs(&sv.Jobs, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19093,6 +19384,7 @@ func awsAwsjson11_deserializeOpDocumentListMailboxExportJobsOutput(v **ListMailb } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19132,10 +19424,12 @@ func awsAwsjson11_deserializeOpDocumentListMailboxPermissionsOutput(v **ListMail } sv.NextToken = ptr.String(jtv) } + case "Permissions": if err := awsAwsjson11_deserializeDocumentPermissions(&sv.Permissions, value); err != nil { return err } + default: _, _ = key, value @@ -19171,6 +19465,7 @@ func awsAwsjson11_deserializeOpDocumentListMailDomainsOutput(v **ListMailDomains if err := awsAwsjson11_deserializeDocumentMailDomains(&sv.MailDomains, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19179,6 +19474,7 @@ func awsAwsjson11_deserializeOpDocumentListMailDomainsOutput(v **ListMailDomains } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19218,10 +19514,12 @@ func awsAwsjson11_deserializeOpDocumentListMobileDeviceAccessOverridesOutput(v * } sv.NextToken = ptr.String(jtv) } + case "Overrides": if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessOverridesList(&sv.Overrides, value); err != nil { return err } + default: _, _ = key, value @@ -19257,6 +19555,7 @@ func awsAwsjson11_deserializeOpDocumentListMobileDeviceAccessRulesOutput(v **Lis if err := awsAwsjson11_deserializeDocumentMobileDeviceAccessRulesList(&sv.Rules, value); err != nil { return err } + default: _, _ = key, value @@ -19296,10 +19595,12 @@ func awsAwsjson11_deserializeOpDocumentListOrganizationsOutput(v **ListOrganizat } sv.NextToken = ptr.String(jtv) } + case "OrganizationSummaries": if err := awsAwsjson11_deserializeDocumentOrganizationSummaries(&sv.OrganizationSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -19339,10 +19640,12 @@ func awsAwsjson11_deserializeOpDocumentListPersonalAccessTokensOutput(v **ListPe } sv.NextToken = ptr.String(jtv) } + case "PersonalAccessTokenSummaries": if err := awsAwsjson11_deserializeDocumentPersonalAccessTokenSummaryList(&sv.PersonalAccessTokenSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -19378,6 +19681,7 @@ func awsAwsjson11_deserializeOpDocumentListResourceDelegatesOutput(v **ListResou if err := awsAwsjson11_deserializeDocumentResourceDelegates(&sv.Delegates, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19386,6 +19690,7 @@ func awsAwsjson11_deserializeOpDocumentListResourceDelegatesOutput(v **ListResou } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19425,10 +19730,12 @@ func awsAwsjson11_deserializeOpDocumentListResourcesOutput(v **ListResourcesOutp } sv.NextToken = ptr.String(jtv) } + case "Resources": if err := awsAwsjson11_deserializeDocumentResources(&sv.Resources, value); err != nil { return err } + default: _, _ = key, value @@ -19464,6 +19771,7 @@ func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -19503,10 +19811,12 @@ func awsAwsjson11_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu } sv.NextToken = ptr.String(jtv) } + case "Users": if err := awsAwsjson11_deserializeDocumentUsers(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -19856,6 +20166,7 @@ func awsAwsjson11_deserializeOpDocumentStartMailboxExportJobOutput(v **StartMail } sv.JobId = ptr.String(jtv) } + default: _, _ = key, value @@ -19926,6 +20237,7 @@ func awsAwsjson11_deserializeOpDocumentTestAvailabilityConfigurationOutput(v **T } sv.FailureReason = ptr.String(jtv) } + case "TestPassed": if value != nil { jtv, ok := value.(bool) @@ -19934,6 +20246,7 @@ func awsAwsjson11_deserializeOpDocumentTestAvailabilityConfigurationOutput(v **T } sv.TestPassed = jtv } + default: _, _ = key, value diff --git a/service/workmailmessageflow/deserializers.go b/service/workmailmessageflow/deserializers.go index 8dcbe81f8ea..668cde21c20 100644 --- a/service/workmailmessageflow/deserializers.go +++ b/service/workmailmessageflow/deserializers.go @@ -402,6 +402,7 @@ func awsRestjson1_deserializeDocumentInvalidContentLocation(v **types.InvalidCon } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -441,6 +442,7 @@ func awsRestjson1_deserializeDocumentMessageFrozen(v **types.MessageFrozen, valu } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -480,6 +482,7 @@ func awsRestjson1_deserializeDocumentMessageRejected(v **types.MessageRejected, } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -519,6 +522,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/workspaces/deserializers.go b/service/workspaces/deserializers.go index 78c8682babf..053a4533497 100644 --- a/service/workspaces/deserializers.go +++ b/service/workspaces/deserializers.go @@ -11398,6 +11398,7 @@ func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -11437,6 +11438,7 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.AccountLinkId = ptr.String(jtv) } + case "AccountLinkStatus": if value != nil { jtv, ok := value.(string) @@ -11445,6 +11447,7 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.AccountLinkStatus = types.AccountLinkStatusEnum(jtv) } + case "SourceAccountId": if value != nil { jtv, ok := value.(string) @@ -11453,6 +11456,7 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.SourceAccountId = ptr.String(jtv) } + case "TargetAccountId": if value != nil { jtv, ok := value.(string) @@ -11461,6 +11465,7 @@ func awsAwsjson11_deserializeDocumentAccountLink(v **types.AccountLink, value in } sv.TargetAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -11534,6 +11539,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.DedicatedTenancyManagementCidrRange = ptr.String(jtv) } + case "DedicatedTenancySupport": if value != nil { jtv, ok := value.(string) @@ -11542,6 +11548,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.DedicatedTenancySupport = types.DedicatedTenancySupportResultEnum(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -11550,6 +11557,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11558,6 +11566,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ErrorMessage = ptr.String(jtv) } + case "ModificationState": if value != nil { jtv, ok := value.(string) @@ -11566,6 +11575,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } sv.ModificationState = types.DedicatedTenancyModificationStateEnum(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -11581,6 +11591,7 @@ func awsAwsjson11_deserializeDocumentAccountModification(v **types.AccountModifi } } + default: _, _ = key, value @@ -11654,6 +11665,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryConfig(v **types.ActiveDirec } sv.DomainName = ptr.String(jtv) } + case "ServiceAccountSecretArn": if value != nil { jtv, ok := value.(string) @@ -11662,6 +11674,7 @@ func awsAwsjson11_deserializeDocumentActiveDirectoryConfig(v **types.ActiveDirec } sv.ServiceAccountSecretArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11732,6 +11745,7 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.ApplicationId = ptr.String(jtv) } + case "AssociatedResourceId": if value != nil { jtv, ok := value.(string) @@ -11740,6 +11754,7 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.AssociatedResourceId = ptr.String(jtv) } + case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -11748,6 +11763,7 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.AssociatedResourceType = types.ApplicationAssociatedResourceType(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -11763,6 +11779,7 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -11778,6 +11795,7 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } } + case "State": if value != nil { jtv, ok := value.(string) @@ -11786,10 +11804,12 @@ func awsAwsjson11_deserializeDocumentApplicationResourceAssociation(v **types.Ap } sv.State = types.AssociationState(jtv) } + case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } + default: _, _ = key, value @@ -11863,6 +11883,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.S3BucketName = ptr.String(jtv) } + case "SettingsGroup": if value != nil { jtv, ok := value.(string) @@ -11871,6 +11892,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.SettingsGroup = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -11879,6 +11901,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli } sv.Status = types.ApplicationSettingsStatusEnum(jtv) } + default: _, _ = key, value @@ -11918,6 +11941,7 @@ func awsAwsjson11_deserializeDocumentAssociationStateReason(v **types.Associatio } sv.ErrorCode = types.AssociationErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -11926,6 +11950,7 @@ func awsAwsjson11_deserializeDocumentAssociationStateReason(v **types.Associatio } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -11999,6 +12024,7 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.AssociatedResourceId = ptr.String(jtv) } + case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -12007,6 +12033,7 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.AssociatedResourceType = types.BundleAssociatedResourceType(jtv) } + case "BundleId": if value != nil { jtv, ok := value.(string) @@ -12015,6 +12042,7 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.BundleId = ptr.String(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -12030,6 +12058,7 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -12045,6 +12074,7 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } } + case "State": if value != nil { jtv, ok := value.(string) @@ -12053,10 +12083,12 @@ func awsAwsjson11_deserializeDocumentBundleResourceAssociation(v **types.BundleR } sv.State = types.AssociationState(jtv) } + case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } + default: _, _ = key, value @@ -12134,6 +12166,7 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.ActiveUserSessions = ptr.Int32(int32(i64)) } + case "ActualUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12146,6 +12179,7 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.ActualUserSessions = ptr.Int32(int32(i64)) } + case "AvailableUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12158,6 +12192,7 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.AvailableUserSessions = ptr.Int32(int32(i64)) } + case "DesiredUserSessions": if value != nil { jtv, ok := value.(json.Number) @@ -12170,6 +12205,7 @@ func awsAwsjson11_deserializeDocumentCapacityStatus(v **types.CapacityStatus, va } sv.DesiredUserSessions = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -12209,6 +12245,7 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.CertificateAuthorityArn = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12254,7 @@ func awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(v **types.Ce } sv.Status = types.CertificateBasedAuthStatusEnum(jtv) } + default: _, _ = key, value @@ -12256,6 +12294,7 @@ func awsAwsjson11_deserializeDocumentClientProperties(v **types.ClientProperties } sv.LogUploadEnabled = types.LogUploadEnum(jtv) } + case "ReconnectEnabled": if value != nil { jtv, ok := value.(string) @@ -12264,6 +12303,7 @@ func awsAwsjson11_deserializeDocumentClientProperties(v **types.ClientProperties } sv.ReconnectEnabled = types.ReconnectEnum(jtv) } + default: _, _ = key, value @@ -12333,6 +12373,7 @@ func awsAwsjson11_deserializeDocumentClientPropertiesResult(v **types.ClientProp if err := awsAwsjson11_deserializeDocumentClientProperties(&sv.ClientProperties, value); err != nil { return err } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12341,6 +12382,7 @@ func awsAwsjson11_deserializeDocumentClientPropertiesResult(v **types.ClientProp } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12447,6 +12489,7 @@ func awsAwsjson11_deserializeDocumentComputeType(v **types.ComputeType, value in } sv.Name = types.Compute(jtv) } + default: _, _ = key, value @@ -12486,6 +12529,7 @@ func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -12525,6 +12569,7 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.AddInId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -12533,6 +12578,7 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.Name = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12541,6 +12587,7 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.ResourceId = ptr.String(jtv) } + case "URL": if value != nil { jtv, ok := value.(string) @@ -12549,6 +12596,7 @@ func awsAwsjson11_deserializeDocumentConnectClientAddIn(v **types.ConnectClientA } sv.URL = ptr.String(jtv) } + default: _, _ = key, value @@ -12622,10 +12670,12 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.AliasId = ptr.String(jtv) } + case "Associations": if err := awsAwsjson11_deserializeDocumentConnectionAliasAssociationList(&sv.Associations, value); err != nil { return err } + case "ConnectionString": if value != nil { jtv, ok := value.(string) @@ -12634,6 +12684,7 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.ConnectionString = ptr.String(jtv) } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -12642,6 +12693,7 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.OwnerAccountId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -12650,6 +12702,7 @@ func awsAwsjson11_deserializeDocumentConnectionAlias(v **types.ConnectionAlias, } sv.State = types.ConnectionAliasState(jtv) } + default: _, _ = key, value @@ -12689,6 +12742,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.AssociatedAccountId = ptr.String(jtv) } + case "AssociationStatus": if value != nil { jtv, ok := value.(string) @@ -12697,6 +12751,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.AssociationStatus = types.AssociationStatus(jtv) } + case "ConnectionIdentifier": if value != nil { jtv, ok := value.(string) @@ -12705,6 +12760,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.ConnectionIdentifier = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -12713,6 +12769,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasAssociation(v **types.Connec } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -12820,6 +12877,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasPermission(v **types.Connect } sv.AllowAssociation = ptr.Bool(jtv) } + case "SharedAccountId": if value != nil { jtv, ok := value.(string) @@ -12828,6 +12886,7 @@ func awsAwsjson11_deserializeDocumentConnectionAliasPermission(v **types.Connect } sv.SharedAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -12901,6 +12960,7 @@ func awsAwsjson11_deserializeDocumentDataReplicationSettings(v **types.DataRepli } sv.DataReplication = types.DataReplication(jtv) } + case "RecoverySnapshotTime": if value != nil { switch jtv := value.(type) { @@ -12916,6 +12976,7 @@ func awsAwsjson11_deserializeDocumentDataReplicationSettings(v **types.DataRepli } } + default: _, _ = key, value @@ -12991,10 +13052,12 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.ForgotPasswordLink = ptr.String(jtv) } + case "LoginMessage": if err := awsAwsjson11_deserializeDocumentLoginMessage(&sv.LoginMessage, value); err != nil { return err } + case "LogoUrl": if value != nil { jtv, ok := value.(string) @@ -13003,6 +13066,7 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.LogoUrl = ptr.String(jtv) } + case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -13011,6 +13075,7 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.SupportEmail = ptr.String(jtv) } + case "SupportLink": if value != nil { jtv, ok := value.(string) @@ -13019,6 +13084,7 @@ func awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(v **types.D } sv.SupportLink = ptr.String(jtv) } + default: _, _ = key, value @@ -13058,6 +13124,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.CustomSecurityGroupId = ptr.String(jtv) } + case "DefaultOu": if value != nil { jtv, ok := value.(string) @@ -13066,6 +13133,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.DefaultOu = ptr.String(jtv) } + case "EnableInternetAccess": if value != nil { jtv, ok := value.(bool) @@ -13074,6 +13142,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableInternetAccess = ptr.Bool(jtv) } + case "EnableMaintenanceMode": if value != nil { jtv, ok := value.(bool) @@ -13082,6 +13151,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableMaintenanceMode = ptr.Bool(jtv) } + case "EnableWorkDocs": if value != nil { jtv, ok := value.(bool) @@ -13090,6 +13160,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.EnableWorkDocs = ptr.Bool(jtv) } + case "InstanceIamRoleArn": if value != nil { jtv, ok := value.(string) @@ -13098,6 +13169,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.InstanceIamRoleArn = ptr.String(jtv) } + case "UserEnabledAsLocalAdministrator": if value != nil { jtv, ok := value.(bool) @@ -13106,6 +13178,7 @@ func awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(v **type } sv.UserEnabledAsLocalAdministrator = ptr.Bool(jtv) } + default: _, _ = key, value @@ -13215,6 +13288,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorCode = types.WorkspaceImageErrorDetailCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13223,6 +13297,7 @@ func awsAwsjson11_deserializeDocumentErrorDetails(v **types.ErrorDetails, value } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -13296,6 +13371,7 @@ func awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequest(v **ty } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13304,10 +13380,12 @@ func awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequest(v **ty } sv.ErrorMessage = ptr.String(jtv) } + case "StandbyWorkspaceRequest": if err := awsAwsjson11_deserializeDocumentStandbyWorkspace(&sv.StandbyWorkspaceRequest, value); err != nil { return err } + default: _, _ = key, value @@ -13381,6 +13459,7 @@ func awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequest(v **types.Fail } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13389,10 +13468,12 @@ func awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequest(v **types.Fail } sv.ErrorMessage = ptr.String(jtv) } + case "WorkspaceRequest": if err := awsAwsjson11_deserializeDocumentWorkspaceRequest(&sv.WorkspaceRequest, value); err != nil { return err } + default: _, _ = key, value @@ -13636,6 +13717,7 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -13644,6 +13726,7 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.ErrorMessage = ptr.String(jtv) } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -13652,6 +13735,7 @@ func awsAwsjson11_deserializeDocumentFailedWorkspaceChangeRequest(v **types.Fail } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -13691,6 +13775,7 @@ func awsAwsjson11_deserializeDocumentIDCConfig(v **types.IDCConfig, value interf } sv.ApplicationArn = ptr.String(jtv) } + case "InstanceArn": if value != nil { jtv, ok := value.(string) @@ -13699,6 +13784,7 @@ func awsAwsjson11_deserializeDocumentIDCConfig(v **types.IDCConfig, value interf } sv.InstanceArn = ptr.String(jtv) } + default: _, _ = key, value @@ -13738,6 +13824,7 @@ func awsAwsjson11_deserializeDocumentImagePermission(v **types.ImagePermission, } sv.SharedAccountId = ptr.String(jtv) } + default: _, _ = key, value @@ -13811,6 +13898,7 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.AssociatedResourceId = ptr.String(jtv) } + case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -13819,6 +13907,7 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.AssociatedResourceType = types.ImageAssociatedResourceType(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -13834,6 +13923,7 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -13842,6 +13932,7 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.ImageId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -13857,6 +13948,7 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } } + case "State": if value != nil { jtv, ok := value.(string) @@ -13865,10 +13957,12 @@ func awsAwsjson11_deserializeDocumentImageResourceAssociation(v **types.ImageRes } sv.State = types.AssociationState(jtv) } + case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } + default: _, _ = key, value @@ -13973,6 +14067,7 @@ func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14012,6 +14107,7 @@ func awsAwsjson11_deserializeDocumentInvalidParameterValuesException(v **types.I } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14051,6 +14147,7 @@ func awsAwsjson11_deserializeDocumentInvalidResourceStateException(v **types.Inv } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14090,10 +14187,12 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.ForgotPasswordLink = ptr.String(jtv) } + case "LoginMessage": if err := awsAwsjson11_deserializeDocumentLoginMessage(&sv.LoginMessage, value); err != nil { return err } + case "Logo2xUrl": if value != nil { jtv, ok := value.(string) @@ -14102,6 +14201,7 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.Logo2xUrl = ptr.String(jtv) } + case "Logo3xUrl": if value != nil { jtv, ok := value.(string) @@ -14110,6 +14210,7 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.Logo3xUrl = ptr.String(jtv) } + case "LogoUrl": if value != nil { jtv, ok := value.(string) @@ -14118,6 +14219,7 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.LogoUrl = ptr.String(jtv) } + case "SupportEmail": if value != nil { jtv, ok := value.(string) @@ -14126,6 +14228,7 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.SupportEmail = ptr.String(jtv) } + case "SupportLink": if value != nil { jtv, ok := value.(string) @@ -14134,6 +14237,7 @@ func awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(v **types.IosCl } sv.SupportLink = ptr.String(jtv) } + default: _, _ = key, value @@ -14209,6 +14313,7 @@ func awsAwsjson11_deserializeDocumentIpRuleItem(v **types.IpRuleItem, value inte } sv.IpRule = ptr.String(jtv) } + case "ruleDesc": if value != nil { jtv, ok := value.(string) @@ -14217,6 +14322,7 @@ func awsAwsjson11_deserializeDocumentIpRuleItem(v **types.IpRuleItem, value inte } sv.RuleDesc = ptr.String(jtv) } + default: _, _ = key, value @@ -14326,6 +14432,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(v **types.MicrosoftEnt } sv.ApplicationConfigSecretArn = ptr.String(jtv) } + case "TenantId": if value != nil { jtv, ok := value.(string) @@ -14334,6 +14441,7 @@ func awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(v **types.MicrosoftEnt } sv.TenantId = ptr.String(jtv) } + default: _, _ = key, value @@ -14373,6 +14481,7 @@ func awsAwsjson11_deserializeDocumentModificationState(v **types.ModificationSta } sv.Resource = types.ModificationResourceEnum(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14381,6 +14490,7 @@ func awsAwsjson11_deserializeDocumentModificationState(v **types.ModificationSta } sv.State = types.ModificationStateEnum(jtv) } + default: _, _ = key, value @@ -14454,6 +14564,7 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniId = ptr.String(jtv) } + case "EniPrivateIpAddress": if value != nil { jtv, ok := value.(string) @@ -14462,6 +14573,7 @@ func awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(v **types.Networ } sv.EniPrivateIpAddress = ptr.String(jtv) } + default: _, _ = key, value @@ -14501,6 +14613,7 @@ func awsAwsjson11_deserializeDocumentOperatingSystem(v **types.OperatingSystem, } sv.Type = types.OperatingSystemType(jtv) } + default: _, _ = key, value @@ -14607,6 +14720,7 @@ func awsAwsjson11_deserializeDocumentOperationInProgressException(v **types.Oper } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14646,6 +14760,7 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -14654,6 +14769,7 @@ func awsAwsjson11_deserializeDocumentOperationNotSupportedException(v **types.Op } sv.Reason = ptr.String(jtv) } + default: _, _ = key, value @@ -14693,6 +14809,7 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.DirectoryId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14701,6 +14818,7 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.State = types.WorkspaceState(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -14709,6 +14827,7 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.UserName = ptr.String(jtv) } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -14717,6 +14836,7 @@ func awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequest(v **t } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -14826,6 +14946,7 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.Region = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -14834,6 +14955,7 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.State = types.WorkspaceState(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -14842,6 +14964,7 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.Type = types.StandbyWorkspaceRelationshipType(jtv) } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -14850,6 +14973,7 @@ func awsAwsjson11_deserializeDocumentRelatedWorkspaceProperties(v **types.Relate } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -14923,6 +15047,7 @@ func awsAwsjson11_deserializeDocumentResourceAlreadyExistsException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -14962,6 +15087,7 @@ func awsAwsjson11_deserializeDocumentResourceAssociatedException(v **types.Resou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15001,6 +15127,7 @@ func awsAwsjson11_deserializeDocumentResourceCreationFailedException(v **types.R } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15040,6 +15167,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15048,6 +15176,7 @@ func awsAwsjson11_deserializeDocumentResourceInUseException(v **types.ResourceIn } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -15087,6 +15216,7 @@ func awsAwsjson11_deserializeDocumentResourceLimitExceededException(v **types.Re } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15126,6 +15256,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15134,6 +15265,7 @@ func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -15173,6 +15305,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.Message = ptr.String(jtv) } + case "ResourceId": if value != nil { jtv, ok := value.(string) @@ -15181,6 +15314,7 @@ func awsAwsjson11_deserializeDocumentResourceUnavailableException(v **types.Reso } sv.ResourceId = ptr.String(jtv) } + default: _, _ = key, value @@ -15220,6 +15354,7 @@ func awsAwsjson11_deserializeDocumentRootStorage(v **types.RootStorage, value in } sv.Capacity = ptr.String(jtv) } + default: _, _ = key, value @@ -15259,6 +15394,7 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.RelayStateParameterName = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15267,6 +15403,7 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.Status = types.SamlStatusEnum(jtv) } + case "UserAccessUrl": if value != nil { jtv, ok := value.(string) @@ -15275,6 +15412,7 @@ func awsAwsjson11_deserializeDocumentSamlProperties(v **types.SamlProperties, va } sv.UserAccessUrl = ptr.String(jtv) } + default: _, _ = key, value @@ -15314,6 +15452,7 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.ChangeComputeType = types.ReconnectEnum(jtv) } + case "IncreaseVolumeSize": if value != nil { jtv, ok := value.(string) @@ -15322,6 +15461,7 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.IncreaseVolumeSize = types.ReconnectEnum(jtv) } + case "RebuildWorkspace": if value != nil { jtv, ok := value.(string) @@ -15330,6 +15470,7 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.RebuildWorkspace = types.ReconnectEnum(jtv) } + case "RestartWorkspace": if value != nil { jtv, ok := value.(string) @@ -15338,6 +15479,7 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.RestartWorkspace = types.ReconnectEnum(jtv) } + case "SwitchRunningMode": if value != nil { jtv, ok := value.(string) @@ -15346,6 +15488,7 @@ func awsAwsjson11_deserializeDocumentSelfservicePermissions(v **types.Selfservic } sv.SwitchRunningMode = types.ReconnectEnum(jtv) } + default: _, _ = key, value @@ -15392,6 +15535,7 @@ func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interfac } } + default: _, _ = key, value @@ -15465,6 +15609,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.DataReplication = types.DataReplication(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -15473,6 +15618,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.DirectoryId = ptr.String(jtv) } + case "PrimaryWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -15481,10 +15627,12 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.PrimaryWorkspaceId = ptr.String(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -15493,6 +15641,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspace(v **types.StandbyWorkspace } sv.VolumeEncryptionKey = ptr.String(jtv) } + default: _, _ = key, value @@ -15532,6 +15681,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } sv.DataReplication = types.DataReplication(jtv) } + case "RecoverySnapshotTime": if value != nil { switch jtv := value.(type) { @@ -15547,6 +15697,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } } + case "StandbyWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -15555,6 +15706,7 @@ func awsAwsjson11_deserializeDocumentStandbyWorkspacesProperties(v **types.Stand } sv.StandbyWorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -15628,6 +15780,7 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.ConnectorType = types.StorageConnectorTypeEnum(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -15636,6 +15789,7 @@ func awsAwsjson11_deserializeDocumentStorageConnector(v **types.StorageConnector } sv.Status = types.StorageConnectorStatusEnum(jtv) } + default: _, _ = key, value @@ -15705,6 +15859,7 @@ func awsAwsjson11_deserializeDocumentStreamingProperties(v **types.StreamingProp if err := awsAwsjson11_deserializeDocumentStorageConnectors(&sv.StorageConnectors, value); err != nil { return err } + case "StreamingExperiencePreferredProtocol": if value != nil { jtv, ok := value.(string) @@ -15713,10 +15868,12 @@ func awsAwsjson11_deserializeDocumentStreamingProperties(v **types.StreamingProp } sv.StreamingExperiencePreferredProtocol = types.StreamingExperiencePreferredProtocolEnum(jtv) } + case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -15792,6 +15949,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -15800,6 +15958,7 @@ func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -15877,6 +16036,7 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.DisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "IdleDisconnectTimeoutInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15889,6 +16049,7 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.IdleDisconnectTimeoutInSeconds = ptr.Int32(int32(i64)) } + case "MaxUserDurationInSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -15901,6 +16062,7 @@ func awsAwsjson11_deserializeDocumentTimeoutSettings(v **types.TimeoutSettings, } sv.MaxUserDurationInSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -15940,6 +16102,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedNetworkConfigurationException(v } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -15979,6 +16142,7 @@ func awsAwsjson11_deserializeDocumentUnsupportedWorkspaceConfigurationException( } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16018,6 +16182,7 @@ func awsAwsjson11_deserializeDocumentUpdateResult(v **types.UpdateResult, value } sv.Description = ptr.String(jtv) } + case "UpdateAvailable": if value != nil { jtv, ok := value.(bool) @@ -16026,6 +16191,7 @@ func awsAwsjson11_deserializeDocumentUpdateResult(v **types.UpdateResult, value } sv.UpdateAvailable = ptr.Bool(jtv) } + default: _, _ = key, value @@ -16065,6 +16231,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Action = types.UserSettingActionEnum(jtv) } + case "MaximumLength": if value != nil { jtv, ok := value.(json.Number) @@ -16077,6 +16244,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.MaximumLength = ptr.Int32(int32(i64)) } + case "Permission": if value != nil { jtv, ok := value.(string) @@ -16085,6 +16253,7 @@ func awsAwsjson11_deserializeDocumentUserSetting(v **types.UserSetting, value in } sv.Permission = types.UserSettingPermissionEnum(jtv) } + default: _, _ = key, value @@ -16158,6 +16327,7 @@ func awsAwsjson11_deserializeDocumentUserStorage(v **types.UserStorage, value in } sv.Capacity = ptr.String(jtv) } + default: _, _ = key, value @@ -16197,6 +16367,7 @@ func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -16236,6 +16407,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.BundleId = ptr.String(jtv) } + case "ComputerName": if value != nil { jtv, ok := value.(string) @@ -16244,10 +16416,12 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ComputerName = ptr.String(jtv) } + case "DataReplicationSettings": if err := awsAwsjson11_deserializeDocumentDataReplicationSettings(&sv.DataReplicationSettings, value); err != nil { return err } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -16256,6 +16430,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.DirectoryId = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -16264,6 +16439,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ErrorCode = ptr.String(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16272,6 +16448,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.ErrorMessage = ptr.String(jtv) } + case "IpAddress": if value != nil { jtv, ok := value.(string) @@ -16280,14 +16457,17 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.IpAddress = ptr.String(jtv) } + case "ModificationStates": if err := awsAwsjson11_deserializeDocumentModificationStateList(&sv.ModificationStates, value); err != nil { return err } + case "RelatedWorkspaces": if err := awsAwsjson11_deserializeDocumentRelatedWorkspaces(&sv.RelatedWorkspaces, value); err != nil { return err } + case "RootVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16296,10 +16476,12 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.RootVolumeEncryptionEnabled = ptr.Bool(jtv) } + case "StandbyWorkspacesProperties": if err := awsAwsjson11_deserializeDocumentStandbyWorkspacesPropertiesList(&sv.StandbyWorkspacesProperties, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -16308,6 +16490,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.State = types.WorkspaceState(jtv) } + case "SubnetId": if value != nil { jtv, ok := value.(string) @@ -16316,6 +16499,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.SubnetId = ptr.String(jtv) } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -16324,6 +16508,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.UserName = ptr.String(jtv) } + case "UserVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -16332,6 +16517,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.UserVolumeEncryptionEnabled = ptr.Bool(jtv) } + case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -16340,6 +16526,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.VolumeEncryptionKey = ptr.String(jtv) } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -16348,6 +16535,7 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.WorkspaceId = ptr.String(jtv) } + case "WorkspaceName": if value != nil { jtv, ok := value.(string) @@ -16356,10 +16544,12 @@ func awsAwsjson11_deserializeDocumentWorkspace(v **types.Workspace, value interf } sv.WorkspaceName = ptr.String(jtv) } + case "WorkspaceProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceProperties(&sv.WorkspaceProperties, value); err != nil { return err } + default: _, _ = key, value @@ -16399,6 +16589,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeAndroid = types.AccessPropertyValue(jtv) } + case "DeviceTypeChromeOs": if value != nil { jtv, ok := value.(string) @@ -16407,6 +16598,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeChromeOs = types.AccessPropertyValue(jtv) } + case "DeviceTypeIos": if value != nil { jtv, ok := value.(string) @@ -16415,6 +16607,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeIos = types.AccessPropertyValue(jtv) } + case "DeviceTypeLinux": if value != nil { jtv, ok := value.(string) @@ -16423,6 +16616,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeLinux = types.AccessPropertyValue(jtv) } + case "DeviceTypeOsx": if value != nil { jtv, ok := value.(string) @@ -16431,6 +16625,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeOsx = types.AccessPropertyValue(jtv) } + case "DeviceTypeWeb": if value != nil { jtv, ok := value.(string) @@ -16439,6 +16634,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeWeb = types.AccessPropertyValue(jtv) } + case "DeviceTypeWindows": if value != nil { jtv, ok := value.(string) @@ -16447,6 +16643,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeWindows = types.AccessPropertyValue(jtv) } + case "DeviceTypeZeroClient": if value != nil { jtv, ok := value.(string) @@ -16455,6 +16652,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(v **types.Workspa } sv.DeviceTypeZeroClient = types.AccessPropertyValue(jtv) } + default: _, _ = key, value @@ -16494,6 +16692,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.ApplicationId = ptr.String(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -16509,6 +16708,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16517,6 +16717,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Description = ptr.String(jtv) } + case "LicenseType": if value != nil { jtv, ok := value.(string) @@ -16525,6 +16726,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.LicenseType = types.WorkSpaceApplicationLicenseType(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16533,6 +16735,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -16541,6 +16744,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.Owner = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -16549,14 +16753,17 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplication(v **types.WorkSpaceApp } sv.State = types.WorkSpaceApplicationState(jtv) } + case "SupportedComputeTypeNames": if err := awsAwsjson11_deserializeDocumentComputeList(&sv.SupportedComputeTypeNames, value); err != nil { return err } + case "SupportedOperatingSystemNames": if err := awsAwsjson11_deserializeDocumentOperatingSystemNameList(&sv.SupportedOperatingSystemNames, value); err != nil { return err } + default: _, _ = key, value @@ -16592,6 +16799,7 @@ func awsAwsjson11_deserializeDocumentWorkSpaceApplicationDeployment(v **types.Wo if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociationList(&sv.Associations, value); err != nil { return err } + default: _, _ = key, value @@ -16665,6 +16873,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.BundleId = ptr.String(jtv) } + case "BundleType": if value != nil { jtv, ok := value.(string) @@ -16673,10 +16882,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.BundleType = types.BundleType(jtv) } + case "ComputeType": if err := awsAwsjson11_deserializeDocumentComputeType(&sv.ComputeType, value); err != nil { return err } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -16692,6 +16903,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -16700,6 +16912,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Description = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -16708,6 +16921,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.ImageId = ptr.String(jtv) } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -16723,6 +16937,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -16731,6 +16946,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Name = ptr.String(jtv) } + case "Owner": if value != nil { jtv, ok := value.(string) @@ -16739,10 +16955,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.Owner = ptr.String(jtv) } + case "RootStorage": if err := awsAwsjson11_deserializeDocumentRootStorage(&sv.RootStorage, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -16751,10 +16969,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceBundle(v **types.WorkspaceBundle, } sv.State = types.WorkspaceBundleState(jtv) } + case "UserStorage": if err := awsAwsjson11_deserializeDocumentUserStorage(&sv.UserStorage, value); err != nil { return err } + default: _, _ = key, value @@ -16794,6 +17014,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } sv.ConnectionState = types.ConnectionState(jtv) } + case "ConnectionStateCheckTimestamp": if value != nil { switch jtv := value.(type) { @@ -16809,6 +17030,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } } + case "LastKnownUserConnectionTimestamp": if value != nil { switch jtv := value.(type) { @@ -16824,6 +17046,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -16832,6 +17055,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceConnectionStatus(v **types.Workspa } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -16901,6 +17125,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec if err := awsAwsjson11_deserializeDocumentActiveDirectoryConfig(&sv.ActiveDirectoryConfig, value); err != nil { return err } + case "Alias": if value != nil { jtv, ok := value.(string) @@ -16909,10 +17134,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.Alias = ptr.String(jtv) } + case "CertificateBasedAuthProperties": if err := awsAwsjson11_deserializeDocumentCertificateBasedAuthProperties(&sv.CertificateBasedAuthProperties, value); err != nil { return err } + case "CustomerUserName": if value != nil { jtv, ok := value.(string) @@ -16921,6 +17148,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.CustomerUserName = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -16929,6 +17157,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryId = ptr.String(jtv) } + case "DirectoryName": if value != nil { jtv, ok := value.(string) @@ -16937,6 +17166,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryName = ptr.String(jtv) } + case "DirectoryType": if value != nil { jtv, ok := value.(string) @@ -16945,10 +17175,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.DirectoryType = types.WorkspaceDirectoryType(jtv) } + case "DnsIpAddresses": if err := awsAwsjson11_deserializeDocumentDnsIpAddresses(&sv.DnsIpAddresses, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -16957,6 +17189,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.ErrorMessage = ptr.String(jtv) } + case "IamRoleId": if value != nil { jtv, ok := value.(string) @@ -16965,18 +17198,22 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.IamRoleId = ptr.String(jtv) } + case "IDCConfig": if err := awsAwsjson11_deserializeDocumentIDCConfig(&sv.IDCConfig, value); err != nil { return err } + case "ipGroupIds": if err := awsAwsjson11_deserializeDocumentIpGroupIdList(&sv.IpGroupIds, value); err != nil { return err } + case "MicrosoftEntraConfig": if err := awsAwsjson11_deserializeDocumentMicrosoftEntraConfig(&sv.MicrosoftEntraConfig, value); err != nil { return err } + case "RegistrationCode": if value != nil { jtv, ok := value.(string) @@ -16985,14 +17222,17 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.RegistrationCode = ptr.String(jtv) } + case "SamlProperties": if err := awsAwsjson11_deserializeDocumentSamlProperties(&sv.SamlProperties, value); err != nil { return err } + case "SelfservicePermissions": if err := awsAwsjson11_deserializeDocumentSelfservicePermissions(&sv.SelfservicePermissions, value); err != nil { return err } + case "State": if value != nil { jtv, ok := value.(string) @@ -17001,14 +17241,17 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.State = types.WorkspaceDirectoryState(jtv) } + case "StreamingProperties": if err := awsAwsjson11_deserializeDocumentStreamingProperties(&sv.StreamingProperties, value); err != nil { return err } + case "SubnetIds": if err := awsAwsjson11_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { return err } + case "Tenancy": if value != nil { jtv, ok := value.(string) @@ -17017,6 +17260,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.Tenancy = types.Tenancy(jtv) } + case "UserIdentityType": if value != nil { jtv, ok := value.(string) @@ -17025,14 +17269,17 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.UserIdentityType = types.UserIdentityType(jtv) } + case "WorkspaceAccessProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceAccessProperties(&sv.WorkspaceAccessProperties, value); err != nil { return err } + case "WorkspaceCreationProperties": if err := awsAwsjson11_deserializeDocumentDefaultWorkspaceCreationProperties(&sv.WorkspaceCreationProperties, value); err != nil { return err } + case "WorkspaceDirectoryDescription": if value != nil { jtv, ok := value.(string) @@ -17041,6 +17288,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceDirectoryDescription = ptr.String(jtv) } + case "WorkspaceDirectoryName": if value != nil { jtv, ok := value.(string) @@ -17049,6 +17297,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceDirectoryName = ptr.String(jtv) } + case "WorkspaceSecurityGroupId": if value != nil { jtv, ok := value.(string) @@ -17057,6 +17306,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceSecurityGroupId = ptr.String(jtv) } + case "WorkspaceType": if value != nil { jtv, ok := value.(string) @@ -17065,6 +17315,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceDirectory(v **types.WorkspaceDirec } sv.WorkspaceType = types.WorkspaceType(jtv) } + default: _, _ = key, value @@ -17111,6 +17362,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17119,6 +17371,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.Description = ptr.String(jtv) } + case "ErrorCode": if value != nil { jtv, ok := value.(string) @@ -17127,10 +17380,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ErrorCode = ptr.String(jtv) } + case "ErrorDetails": if err := awsAwsjson11_deserializeDocumentErrorDetailsList(&sv.ErrorDetails, value); err != nil { return err } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17139,6 +17394,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ErrorMessage = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -17147,6 +17403,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.ImageId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -17155,10 +17412,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if err := awsAwsjson11_deserializeDocumentOperatingSystem(&sv.OperatingSystem, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -17167,6 +17426,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.OwnerAccountId = ptr.String(jtv) } + case "RequiredTenancy": if value != nil { jtv, ok := value.(string) @@ -17175,6 +17435,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.RequiredTenancy = types.WorkspaceImageRequiredTenancy(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17183,10 +17444,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceImage(v **types.WorkspaceImage, va } sv.State = types.WorkspaceImageState(jtv) } + case "Updates": if err := awsAwsjson11_deserializeDocumentUpdateResult(&sv.Updates, value); err != nil { return err } + default: _, _ = key, value @@ -17294,6 +17557,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.ComputeTypeName = types.Compute(jtv) } + case "OperatingSystemName": if value != nil { jtv, ok := value.(string) @@ -17302,10 +17566,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.OperatingSystemName = types.OperatingSystemName(jtv) } + case "Protocols": if err := awsAwsjson11_deserializeDocumentProtocolList(&sv.Protocols, value); err != nil { return err } + case "RootVolumeSizeGib": if value != nil { jtv, ok := value.(json.Number) @@ -17318,6 +17584,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RootVolumeSizeGib = ptr.Int32(int32(i64)) } + case "RunningMode": if value != nil { jtv, ok := value.(string) @@ -17326,6 +17593,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RunningMode = types.RunningMode(jtv) } + case "RunningModeAutoStopTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -17338,6 +17606,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.RunningModeAutoStopTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "UserVolumeSizeGib": if value != nil { jtv, ok := value.(json.Number) @@ -17350,6 +17619,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceProperties(v **types.WorkspaceProp } sv.UserVolumeSizeGib = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -17389,6 +17659,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.BundleId = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -17397,6 +17668,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.DirectoryId = ptr.String(jtv) } + case "RootVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17405,10 +17677,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.RootVolumeEncryptionEnabled = ptr.Bool(jtv) } + case "Tags": if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -17417,6 +17691,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.UserName = ptr.String(jtv) } + case "UserVolumeEncryptionEnabled": if value != nil { jtv, ok := value.(bool) @@ -17425,6 +17700,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.UserVolumeEncryptionEnabled = ptr.Bool(jtv) } + case "VolumeEncryptionKey": if value != nil { jtv, ok := value.(string) @@ -17433,6 +17709,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.VolumeEncryptionKey = ptr.String(jtv) } + case "WorkspaceName": if value != nil { jtv, ok := value.(string) @@ -17441,10 +17718,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceRequest(v **types.WorkspaceRequest } sv.WorkspaceName = ptr.String(jtv) } + case "WorkspaceProperties": if err := awsAwsjson11_deserializeDocumentWorkspaceProperties(&sv.WorkspaceProperties, value); err != nil { return err } + default: _, _ = key, value @@ -17484,6 +17763,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.AssociatedResourceId = ptr.String(jtv) } + case "AssociatedResourceType": if value != nil { jtv, ok := value.(string) @@ -17492,6 +17772,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.AssociatedResourceType = types.WorkSpaceAssociatedResourceType(jtv) } + case "Created": if value != nil { switch jtv := value.(type) { @@ -17507,6 +17788,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } } + case "LastUpdatedTime": if value != nil { switch jtv := value.(type) { @@ -17522,6 +17804,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } } + case "State": if value != nil { jtv, ok := value.(string) @@ -17530,10 +17813,12 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.State = types.AssociationState(jtv) } + case "StateReason": if err := awsAwsjson11_deserializeDocumentAssociationStateReason(&sv.StateReason, value); err != nil { return err } + case "WorkspaceId": if value != nil { jtv, ok := value.(string) @@ -17542,6 +17827,7 @@ func awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(v **types.Work } sv.WorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -17615,6 +17901,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesDefaultRoleNotFoundException(v ** } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -17654,6 +17941,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupDesc = ptr.String(jtv) } + case "groupId": if value != nil { jtv, ok := value.(string) @@ -17662,6 +17950,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupId = ptr.String(jtv) } + case "groupName": if value != nil { jtv, ok := value.(string) @@ -17670,10 +17959,12 @@ func awsAwsjson11_deserializeDocumentWorkspacesIpGroup(v **types.WorkspacesIpGro } sv.GroupName = ptr.String(jtv) } + case "userRules": if err := awsAwsjson11_deserializeDocumentIpRuleList(&sv.UserRules, value); err != nil { return err } + default: _, _ = key, value @@ -17743,6 +18034,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va if err := awsAwsjson11_deserializeDocumentApplicationSettingsResponse(&sv.ApplicationSettings, value); err != nil { return err } + case "BundleId": if value != nil { jtv, ok := value.(string) @@ -17751,10 +18043,12 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.BundleId = ptr.String(jtv) } + case "CapacityStatus": if err := awsAwsjson11_deserializeDocumentCapacityStatus(&sv.CapacityStatus, value); err != nil { return err } + case "CreatedAt": if value != nil { switch jtv := value.(type) { @@ -17770,6 +18064,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -17778,6 +18073,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.Description = ptr.String(jtv) } + case "DirectoryId": if value != nil { jtv, ok := value.(string) @@ -17786,10 +18082,12 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.DirectoryId = ptr.String(jtv) } + case "Errors": if err := awsAwsjson11_deserializeDocumentWorkspacesPoolErrors(&sv.Errors, value); err != nil { return err } + case "PoolArn": if value != nil { jtv, ok := value.(string) @@ -17798,6 +18096,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolArn = ptr.String(jtv) } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -17806,6 +18105,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolId = ptr.String(jtv) } + case "PoolName": if value != nil { jtv, ok := value.(string) @@ -17814,6 +18114,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.PoolName = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -17822,10 +18123,12 @@ func awsAwsjson11_deserializeDocumentWorkspacesPool(v **types.WorkspacesPool, va } sv.State = types.WorkspacesPoolState(jtv) } + case "TimeoutSettings": if err := awsAwsjson11_deserializeDocumentTimeoutSettings(&sv.TimeoutSettings, value); err != nil { return err } + default: _, _ = key, value @@ -17865,6 +18168,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolError(v **types.WorkspacesPoo } sv.ErrorCode = types.WorkspacesPoolErrorCode(jtv) } + case "ErrorMessage": if value != nil { jtv, ok := value.(string) @@ -17873,6 +18177,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolError(v **types.WorkspacesPoo } sv.ErrorMessage = ptr.String(jtv) } + default: _, _ = key, value @@ -17980,6 +18285,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "ConnectionState": if value != nil { jtv, ok := value.(string) @@ -17988,6 +18294,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.ConnectionState = types.SessionConnectionState(jtv) } + case "ExpirationTime": if value != nil { switch jtv := value.(type) { @@ -18003,6 +18310,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } } + case "InstanceId": if value != nil { jtv, ok := value.(string) @@ -18011,10 +18319,12 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.InstanceId = ptr.String(jtv) } + case "NetworkAccessConfiguration": if err := awsAwsjson11_deserializeDocumentNetworkAccessConfiguration(&sv.NetworkAccessConfiguration, value); err != nil { return err } + case "PoolId": if value != nil { jtv, ok := value.(string) @@ -18023,6 +18333,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.PoolId = ptr.String(jtv) } + case "SessionId": if value != nil { jtv, ok := value.(string) @@ -18031,6 +18342,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.SessionId = ptr.String(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -18046,6 +18358,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } } + case "UserId": if value != nil { jtv, ok := value.(string) @@ -18054,6 +18367,7 @@ func awsAwsjson11_deserializeDocumentWorkspacesPoolSession(v **types.WorkspacesP } sv.UserId = ptr.String(jtv) } + default: _, _ = key, value @@ -18123,6 +18437,7 @@ func awsAwsjson11_deserializeOpDocumentAcceptAccountLinkInvitationOutput(v **Acc if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } + default: _, _ = key, value @@ -18162,6 +18477,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateConnectionAliasOutput(v **Associ } sv.ConnectionIdentifier = ptr.String(jtv) } + default: _, _ = key, value @@ -18228,6 +18544,7 @@ func awsAwsjson11_deserializeOpDocumentAssociateWorkspaceApplicationOutput(v **A if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -18298,6 +18615,7 @@ func awsAwsjson11_deserializeOpDocumentCopyWorkspaceImageOutput(v **CopyWorkspac } sv.ImageId = ptr.String(jtv) } + default: _, _ = key, value @@ -18333,6 +18651,7 @@ func awsAwsjson11_deserializeOpDocumentCreateAccountLinkInvitationOutput(v **Cre if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } + default: _, _ = key, value @@ -18372,6 +18691,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectClientAddInOutput(v **Create } sv.AddInId = ptr.String(jtv) } + default: _, _ = key, value @@ -18411,6 +18731,7 @@ func awsAwsjson11_deserializeOpDocumentCreateConnectionAliasOutput(v **CreateCon } sv.AliasId = ptr.String(jtv) } + default: _, _ = key, value @@ -18450,6 +18771,7 @@ func awsAwsjson11_deserializeOpDocumentCreateIpGroupOutput(v **CreateIpGroupOutp } sv.GroupId = ptr.String(jtv) } + default: _, _ = key, value @@ -18485,10 +18807,12 @@ func awsAwsjson11_deserializeOpDocumentCreateStandbyWorkspacesOutput(v **CreateS if err := awsAwsjson11_deserializeDocumentFailedCreateStandbyWorkspacesRequestList(&sv.FailedStandbyRequests, value); err != nil { return err } + case "PendingStandbyRequests": if err := awsAwsjson11_deserializeDocumentPendingCreateStandbyWorkspacesRequestList(&sv.PendingStandbyRequests, value); err != nil { return err } + default: _, _ = key, value @@ -18559,6 +18883,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUpdatedWorkspaceImageOutput(v **Cre } sv.ImageId = ptr.String(jtv) } + default: _, _ = key, value @@ -18594,6 +18919,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceBundleOutput(v **CreateWor if err := awsAwsjson11_deserializeDocumentWorkspaceBundle(&sv.WorkspaceBundle, value); err != nil { return err } + default: _, _ = key, value @@ -18640,6 +18966,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } } + case "Description": if value != nil { jtv, ok := value.(string) @@ -18648,6 +18975,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.Description = ptr.String(jtv) } + case "ImageId": if value != nil { jtv, ok := value.(string) @@ -18656,6 +18984,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.ImageId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -18664,10 +18993,12 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.Name = ptr.String(jtv) } + case "OperatingSystem": if err := awsAwsjson11_deserializeDocumentOperatingSystem(&sv.OperatingSystem, value); err != nil { return err } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -18676,6 +19007,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.OwnerAccountId = ptr.String(jtv) } + case "RequiredTenancy": if value != nil { jtv, ok := value.(string) @@ -18684,6 +19016,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.RequiredTenancy = types.WorkspaceImageRequiredTenancy(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -18692,6 +19025,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspaceImageOutput(v **CreateWork } sv.State = types.WorkspaceImageState(jtv) } + default: _, _ = key, value @@ -18727,10 +19061,12 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspacesOutput(v **CreateWorkspac if err := awsAwsjson11_deserializeDocumentFailedCreateWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + case "PendingRequests": if err := awsAwsjson11_deserializeDocumentWorkspaceList(&sv.PendingRequests, value); err != nil { return err } + default: _, _ = key, value @@ -18766,6 +19102,7 @@ func awsAwsjson11_deserializeOpDocumentCreateWorkspacesPoolOutput(v **CreateWork if err := awsAwsjson11_deserializeDocumentWorkspacesPool(&sv.WorkspacesPool, value); err != nil { return err } + default: _, _ = key, value @@ -18801,6 +19138,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteAccountLinkInvitationOutput(v **Del if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } + default: _, _ = key, value @@ -19053,6 +19391,7 @@ func awsAwsjson11_deserializeOpDocumentDeployWorkspaceApplicationsOutput(v **Dep if err := awsAwsjson11_deserializeDocumentWorkSpaceApplicationDeployment(&sv.Deployment, value); err != nil { return err } + default: _, _ = key, value @@ -19119,6 +19458,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountModificationsOutput(v **De if err := awsAwsjson11_deserializeDocumentAccountModificationList(&sv.AccountModifications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19127,6 +19467,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountModificationsOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19166,6 +19507,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancyAccountType = types.DedicatedTenancyAccountType(jtv) } + case "DedicatedTenancyManagementCidrRange": if value != nil { jtv, ok := value.(string) @@ -19174,6 +19516,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancyManagementCidrRange = ptr.String(jtv) } + case "DedicatedTenancySupport": if value != nil { jtv, ok := value.(string) @@ -19182,6 +19525,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAccountOutput(v **DescribeAccount } sv.DedicatedTenancySupport = types.DedicatedTenancySupportResultEnum(jtv) } + default: _, _ = key, value @@ -19217,6 +19561,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssociationsOutput(v * if err := awsAwsjson11_deserializeDocumentApplicationResourceAssociationList(&sv.Associations, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19225,6 +19570,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationAssociationsOutput(v * } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19260,6 +19606,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp if err := awsAwsjson11_deserializeDocumentWorkSpaceApplicationList(&sv.Applications, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19268,6 +19615,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeApplicationsOutput(v **DescribeAp } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19303,6 +19651,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeBundleAssociationsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentBundleResourceAssociationList(&sv.Associations, value); err != nil { return err } + default: _, _ = key, value @@ -19338,26 +19687,32 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientBrandingOutput(v **Describe if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeAndroid, value); err != nil { return err } + case "DeviceTypeIos": if err := awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(&sv.DeviceTypeIos, value); err != nil { return err } + case "DeviceTypeLinux": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeLinux, value); err != nil { return err } + case "DeviceTypeOsx": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeOsx, value); err != nil { return err } + case "DeviceTypeWeb": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWeb, value); err != nil { return err } + case "DeviceTypeWindows": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWindows, value); err != nil { return err } + default: _, _ = key, value @@ -19393,6 +19748,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeClientPropertiesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentClientPropertiesList(&sv.ClientPropertiesList, value); err != nil { return err } + default: _, _ = key, value @@ -19428,6 +19784,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectClientAddInsOutput(v **Des if err := awsAwsjson11_deserializeDocumentConnectClientAddInList(&sv.AddIns, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19436,6 +19793,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectClientAddInsOutput(v **Des } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19471,6 +19829,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasesOutput(v **Descr if err := awsAwsjson11_deserializeDocumentConnectionAliasList(&sv.ConnectionAliases, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19479,6 +19838,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasesOutput(v **Descr } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19518,10 +19878,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasPermissionsOutput( } sv.AliasId = ptr.String(jtv) } + case "ConnectionAliasPermissions": if err := awsAwsjson11_deserializeDocumentConnectionAliasPermissions(&sv.ConnectionAliasPermissions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19530,6 +19892,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeConnectionAliasPermissionsOutput( } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19565,6 +19928,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageAssociationsOutput(v **Descr if err := awsAwsjson11_deserializeDocumentImageResourceAssociationList(&sv.Associations, value); err != nil { return err } + default: _, _ = key, value @@ -19604,10 +19968,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeIpGroupsOutput(v **DescribeIpGrou } sv.NextToken = ptr.String(jtv) } + case "Result": if err := awsAwsjson11_deserializeDocumentWorkspacesIpGroupsList(&sv.Result, value); err != nil { return err } + default: _, _ = key, value @@ -19643,6 +20009,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTagsOutput(v **DescribeTagsOutput if err := awsAwsjson11_deserializeDocumentTagList(&sv.TagList, value); err != nil { return err } + default: _, _ = key, value @@ -19678,6 +20045,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceAssociationsOutput(v **D if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociationList(&sv.Associations, value); err != nil { return err } + default: _, _ = key, value @@ -19713,6 +20081,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceBundlesOutput(v **Descri if err := awsAwsjson11_deserializeDocumentBundleList(&sv.Bundles, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19721,6 +20090,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceBundlesOutput(v **Descri } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19756,6 +20126,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceDirectoriesOutput(v **De if err := awsAwsjson11_deserializeDocumentDirectoryList(&sv.Directories, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19764,6 +20135,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceDirectoriesOutput(v **De } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19803,10 +20175,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagePermissionsOutput(v } sv.ImageId = ptr.String(jtv) } + case "ImagePermissions": if err := awsAwsjson11_deserializeDocumentImagePermissions(&sv.ImagePermissions, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19815,6 +20189,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagePermissionsOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19850,6 +20225,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagesOutput(v **Describ if err := awsAwsjson11_deserializeDocumentWorkspaceImageList(&sv.Images, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -19858,6 +20234,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceImagesOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -19897,10 +20274,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesConnectionStatusOutput( } sv.NextToken = ptr.String(jtv) } + case "WorkspacesConnectionStatus": if err := awsAwsjson11_deserializeDocumentWorkspaceConnectionStatusList(&sv.WorkspacesConnectionStatus, value); err != nil { return err } + default: _, _ = key, value @@ -19936,10 +20315,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspaceSnapshotsOutput(v **Desc if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.RebuildSnapshots, value); err != nil { return err } + case "RestoreSnapshots": if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.RestoreSnapshots, value); err != nil { return err } + default: _, _ = key, value @@ -19979,10 +20360,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesOutput(v **DescribeWork } sv.NextToken = ptr.String(jtv) } + case "Workspaces": if err := awsAwsjson11_deserializeDocumentWorkspaceList(&sv.Workspaces, value); err != nil { return err } + default: _, _ = key, value @@ -20022,10 +20405,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesPoolSessionsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "Sessions": if err := awsAwsjson11_deserializeDocumentWorkspacesPoolSessions(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -20065,10 +20450,12 @@ func awsAwsjson11_deserializeOpDocumentDescribeWorkspacesPoolsOutput(v **Describ } sv.NextToken = ptr.String(jtv) } + case "WorkspacesPools": if err := awsAwsjson11_deserializeDocumentWorkspacesPools(&sv.WorkspacesPools, value); err != nil { return err } + default: _, _ = key, value @@ -20166,6 +20553,7 @@ func awsAwsjson11_deserializeOpDocumentDisassociateWorkspaceApplicationOutput(v if err := awsAwsjson11_deserializeDocumentWorkspaceResourceAssociation(&sv.Association, value); err != nil { return err } + default: _, _ = key, value @@ -20201,6 +20589,7 @@ func awsAwsjson11_deserializeOpDocumentGetAccountLinkOutput(v **GetAccountLinkOu if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } + default: _, _ = key, value @@ -20236,26 +20625,32 @@ func awsAwsjson11_deserializeOpDocumentImportClientBrandingOutput(v **ImportClie if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeAndroid, value); err != nil { return err } + case "DeviceTypeIos": if err := awsAwsjson11_deserializeDocumentIosClientBrandingAttributes(&sv.DeviceTypeIos, value); err != nil { return err } + case "DeviceTypeLinux": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeLinux, value); err != nil { return err } + case "DeviceTypeOsx": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeOsx, value); err != nil { return err } + case "DeviceTypeWeb": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWeb, value); err != nil { return err } + case "DeviceTypeWindows": if err := awsAwsjson11_deserializeDocumentDefaultClientBrandingAttributes(&sv.DeviceTypeWindows, value); err != nil { return err } + default: _, _ = key, value @@ -20295,6 +20690,7 @@ func awsAwsjson11_deserializeOpDocumentImportWorkspaceImageOutput(v **ImportWork } sv.ImageId = ptr.String(jtv) } + default: _, _ = key, value @@ -20330,6 +20726,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountLinksOutput(v **ListAccountLin if err := awsAwsjson11_deserializeDocumentAccountLinkList(&sv.AccountLinks, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20338,6 +20735,7 @@ func awsAwsjson11_deserializeOpDocumentListAccountLinksOutput(v **ListAccountLin } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20373,6 +20771,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagementCidrRangesOutput(v if err := awsAwsjson11_deserializeDocumentDedicatedTenancyCidrRangeList(&sv.ManagementCidrRanges, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -20381,6 +20780,7 @@ func awsAwsjson11_deserializeOpDocumentListAvailableManagementCidrRangesOutput(v } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -20420,6 +20820,7 @@ func awsAwsjson11_deserializeOpDocumentMigrateWorkspaceOutput(v **MigrateWorkspa } sv.SourceWorkspaceId = ptr.String(jtv) } + case "TargetWorkspaceId": if value != nil { jtv, ok := value.(string) @@ -20428,6 +20829,7 @@ func awsAwsjson11_deserializeOpDocumentMigrateWorkspaceOutput(v **MigrateWorkspa } sv.TargetWorkspaceId = ptr.String(jtv) } + default: _, _ = key, value @@ -20773,6 +21175,7 @@ func awsAwsjson11_deserializeOpDocumentRebootWorkspacesOutput(v **RebootWorkspac if err := awsAwsjson11_deserializeDocumentFailedRebootWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + default: _, _ = key, value @@ -20808,6 +21211,7 @@ func awsAwsjson11_deserializeOpDocumentRebuildWorkspacesOutput(v **RebuildWorksp if err := awsAwsjson11_deserializeDocumentFailedRebuildWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + default: _, _ = key, value @@ -20847,6 +21251,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterWorkspaceDirectoryOutput(v **Regi } sv.DirectoryId = ptr.String(jtv) } + case "State": if value != nil { jtv, ok := value.(string) @@ -20855,6 +21260,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterWorkspaceDirectoryOutput(v **Regi } sv.State = types.WorkspaceDirectoryState(jtv) } + default: _, _ = key, value @@ -20890,6 +21296,7 @@ func awsAwsjson11_deserializeOpDocumentRejectAccountLinkInvitationOutput(v **Rej if err := awsAwsjson11_deserializeDocumentAccountLink(&sv.AccountLink, value); err != nil { return err } + default: _, _ = key, value @@ -20987,6 +21394,7 @@ func awsAwsjson11_deserializeOpDocumentStartWorkspacesOutput(v **StartWorkspaces if err := awsAwsjson11_deserializeDocumentFailedStartWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + default: _, _ = key, value @@ -21053,6 +21461,7 @@ func awsAwsjson11_deserializeOpDocumentStopWorkspacesOutput(v **StopWorkspacesOu if err := awsAwsjson11_deserializeDocumentFailedStopWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + default: _, _ = key, value @@ -21119,6 +21528,7 @@ func awsAwsjson11_deserializeOpDocumentTerminateWorkspacesOutput(v **TerminateWo if err := awsAwsjson11_deserializeDocumentFailedTerminateWorkspaceRequests(&sv.FailedRequests, value); err != nil { return err } + default: _, _ = key, value @@ -21371,6 +21781,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateWorkspacesPoolOutput(v **UpdateWork if err := awsAwsjson11_deserializeDocumentWorkspacesPool(&sv.WorkspacesPool, value); err != nil { return err } + default: _, _ = key, value diff --git a/service/workspacesthinclient/deserializers.go b/service/workspacesthinclient/deserializers.go index 9fbb5956ad9..06ce0f3cae2 100644 --- a/service/workspacesthinclient/deserializers.go +++ b/service/workspacesthinclient/deserializers.go @@ -190,6 +190,7 @@ func awsRestjson1_deserializeOpDocumentCreateEnvironmentOutput(v **CreateEnviron if err := awsRestjson1_deserializeDocumentEnvironmentSummary(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -662,6 +663,7 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu if err := awsRestjson1_deserializeDocumentDevice(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -825,6 +827,7 @@ func awsRestjson1_deserializeOpDocumentGetEnvironmentOutput(v **GetEnvironmentOu if err := awsRestjson1_deserializeDocumentEnvironment(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -988,6 +991,7 @@ func awsRestjson1_deserializeOpDocumentGetSoftwareSetOutput(v **GetSoftwareSetOu if err := awsRestjson1_deserializeDocumentSoftwareSet(&sv.SoftwareSet, value); err != nil { return err } + default: _, _ = key, value @@ -1148,6 +1152,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, if err := awsRestjson1_deserializeDocumentDeviceList(&sv.Devices, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1156,6 +1161,7 @@ func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1316,6 +1322,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen if err := awsRestjson1_deserializeDocumentEnvironmentList(&sv.Environments, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -1324,6 +1331,7 @@ func awsRestjson1_deserializeOpDocumentListEnvironmentsOutput(v **ListEnvironmen } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1488,10 +1496,12 @@ func awsRestjson1_deserializeOpDocumentListSoftwareSetsOutput(v **ListSoftwareSe } sv.NextToken = ptr.String(jtv) } + case "softwareSets": if err := awsRestjson1_deserializeDocumentSoftwareSetList(&sv.SoftwareSets, value); err != nil { return err } + default: _, _ = key, value @@ -1655,6 +1665,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -2024,6 +2035,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeviceOutput(v **UpdateDeviceOutput if err := awsRestjson1_deserializeDocumentDeviceSummary(&sv.Device, value); err != nil { return err } + default: _, _ = key, value @@ -2187,6 +2199,7 @@ func awsRestjson1_deserializeOpDocumentUpdateEnvironmentOutput(v **UpdateEnviron if err := awsRestjson1_deserializeDocumentEnvironmentSummary(&sv.Environment, value); err != nil { return err } + default: _, _ = key, value @@ -2618,6 +2631,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -2657,6 +2671,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -2665,6 +2680,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -2673,6 +2689,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -2748,6 +2765,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -2763,6 +2781,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "currentSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2771,6 +2790,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftwareSetId = ptr.String(jtv) } + case "currentSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -2779,6 +2799,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.CurrentSoftwareSetVersion = ptr.String(jtv) } + case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2787,6 +2808,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.DesiredSoftwareSetId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -2795,6 +2817,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -2803,6 +2826,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Id = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -2811,6 +2835,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.KmsKeyArn = ptr.String(jtv) } + case "lastConnectedAt": if value != nil { switch jtv := value.(type) { @@ -2826,6 +2851,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "lastPostureAt": if value != nil { switch jtv := value.(type) { @@ -2841,6 +2867,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + case "model": if value != nil { jtv, ok := value.(string) @@ -2849,6 +2876,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Model = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -2857,6 +2885,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Name = ptr.String(jtv) } + case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -2865,6 +2894,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.PendingSoftwareSetId = ptr.String(jtv) } + case "pendingSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -2873,6 +2903,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.PendingSoftwareSetVersion = ptr.String(jtv) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -2881,6 +2912,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SerialNumber = ptr.String(jtv) } + case "softwareSetComplianceStatus": if value != nil { jtv, ok := value.(string) @@ -2889,6 +2921,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetComplianceStatus = types.DeviceSoftwareSetComplianceStatus(jtv) } + case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -2897,6 +2930,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } + case "softwareSetUpdateStatus": if value != nil { jtv, ok := value.(string) @@ -2905,6 +2939,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.SoftwareSetUpdateStatus = types.SoftwareSetUpdateStatus(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -2913,10 +2948,12 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } sv.Status = types.DeviceStatus(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -2932,6 +2969,7 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) } } + default: _, _ = key, value @@ -3041,6 +3079,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3056,6 +3095,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + case "currentSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3064,6 +3104,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.CurrentSoftwareSetId = ptr.String(jtv) } + case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3072,6 +3113,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.DesiredSoftwareSetId = ptr.String(jtv) } + case "environmentId": if value != nil { jtv, ok := value.(string) @@ -3080,6 +3122,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.EnvironmentId = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3088,6 +3131,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Id = ptr.String(jtv) } + case "lastConnectedAt": if value != nil { switch jtv := value.(type) { @@ -3103,6 +3147,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + case "lastPostureAt": if value != nil { switch jtv := value.(type) { @@ -3118,6 +3163,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + case "model": if value != nil { jtv, ok := value.(string) @@ -3126,6 +3172,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Model = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -3134,6 +3181,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Name = ptr.String(jtv) } + case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3142,6 +3190,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.PendingSoftwareSetId = ptr.String(jtv) } + case "serialNumber": if value != nil { jtv, ok := value.(string) @@ -3150,6 +3199,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.SerialNumber = ptr.String(jtv) } + case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3158,6 +3208,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } + case "status": if value != nil { jtv, ok := value.(string) @@ -3166,6 +3217,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } sv.Status = types.DeviceStatus(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3181,6 +3233,7 @@ func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, valu } } + default: _, _ = key, value @@ -3220,6 +3273,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.ActivationCode = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3228,6 +3282,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3243,6 +3298,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } + case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3251,6 +3307,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesiredSoftwareSetId = ptr.String(jtv) } + case "desktopArn": if value != nil { jtv, ok := value.(string) @@ -3259,6 +3316,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopArn = ptr.String(jtv) } + case "desktopEndpoint": if value != nil { jtv, ok := value.(string) @@ -3267,6 +3325,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopEndpoint = ptr.String(jtv) } + case "desktopType": if value != nil { jtv, ok := value.(string) @@ -3275,10 +3334,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.DesktopType = types.DesktopType(jtv) } + case "deviceCreationTags": if err := awsRestjson1_deserializeDocumentDeviceCreationTagsMap(&sv.DeviceCreationTags, value); err != nil { return err } + case "id": if value != nil { jtv, ok := value.(string) @@ -3287,6 +3348,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Id = ptr.String(jtv) } + case "kmsKeyArn": if value != nil { jtv, ok := value.(string) @@ -3295,10 +3357,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.KmsKeyArn = ptr.String(jtv) } + case "maintenanceWindow": if err := awsRestjson1_deserializeDocumentMaintenanceWindow(&sv.MaintenanceWindow, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3307,6 +3371,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.Name = ptr.String(jtv) } + case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3315,6 +3380,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PendingSoftwareSetId = ptr.String(jtv) } + case "pendingSoftwareSetVersion": if value != nil { jtv, ok := value.(string) @@ -3323,6 +3389,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.PendingSoftwareSetVersion = ptr.String(jtv) } + case "registeredDevicesCount": if value != nil { jtv, ok := value.(json.Number) @@ -3335,6 +3402,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.RegisteredDevicesCount = ptr.Int32(int32(i64)) } + case "softwareSetComplianceStatus": if value != nil { jtv, ok := value.(string) @@ -3343,6 +3411,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetComplianceStatus = types.EnvironmentSoftwareSetComplianceStatus(jtv) } + case "softwareSetUpdateMode": if value != nil { jtv, ok := value.(string) @@ -3351,6 +3420,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetUpdateMode = types.SoftwareSetUpdateMode(jtv) } + case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3359,10 +3429,12 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3378,6 +3450,7 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in } } + default: _, _ = key, value @@ -3451,6 +3524,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.ActivationCode = ptr.String(jtv) } + case "arn": if value != nil { jtv, ok := value.(string) @@ -3459,6 +3533,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Arn = ptr.String(jtv) } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -3474,6 +3549,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + case "desiredSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3482,6 +3558,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesiredSoftwareSetId = ptr.String(jtv) } + case "desktopArn": if value != nil { jtv, ok := value.(string) @@ -3490,6 +3567,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopArn = ptr.String(jtv) } + case "desktopEndpoint": if value != nil { jtv, ok := value.(string) @@ -3498,6 +3576,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopEndpoint = ptr.String(jtv) } + case "desktopType": if value != nil { jtv, ok := value.(string) @@ -3506,6 +3585,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.DesktopType = types.DesktopType(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3514,10 +3594,12 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Id = ptr.String(jtv) } + case "maintenanceWindow": if err := awsRestjson1_deserializeDocumentMaintenanceWindow(&sv.MaintenanceWindow, value); err != nil { return err } + case "name": if value != nil { jtv, ok := value.(string) @@ -3526,6 +3608,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.Name = ptr.String(jtv) } + case "pendingSoftwareSetId": if value != nil { jtv, ok := value.(string) @@ -3534,6 +3617,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.PendingSoftwareSetId = ptr.String(jtv) } + case "softwareSetUpdateMode": if value != nil { jtv, ok := value.(string) @@ -3542,6 +3626,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.SoftwareSetUpdateMode = types.SoftwareSetUpdateMode(jtv) } + case "softwareSetUpdateSchedule": if value != nil { jtv, ok := value.(string) @@ -3550,6 +3635,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } sv.SoftwareSetUpdateSchedule = types.SoftwareSetUpdateSchedule(jtv) } + case "updatedAt": if value != nil { switch jtv := value.(type) { @@ -3565,6 +3651,7 @@ func awsRestjson1_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum } } + default: _, _ = key, value @@ -3604,6 +3691,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -3616,6 +3704,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -3655,10 +3744,12 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.ApplyTimeOf = types.ApplyTimeOf(jtv) } + case "daysOfTheWeek": if err := awsRestjson1_deserializeDocumentDayOfWeekList(&sv.DaysOfTheWeek, value); err != nil { return err } + case "endTimeHour": if value != nil { jtv, ok := value.(json.Number) @@ -3671,6 +3762,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.EndTimeHour = ptr.Int32(int32(i64)) } + case "endTimeMinute": if value != nil { jtv, ok := value.(json.Number) @@ -3683,6 +3775,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.EndTimeMinute = ptr.Int32(int32(i64)) } + case "startTimeHour": if value != nil { jtv, ok := value.(json.Number) @@ -3695,6 +3788,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTimeHour = ptr.Int32(int32(i64)) } + case "startTimeMinute": if value != nil { jtv, ok := value.(json.Number) @@ -3707,6 +3801,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.StartTimeMinute = ptr.Int32(int32(i64)) } + case "type": if value != nil { jtv, ok := value.(string) @@ -3715,6 +3810,7 @@ func awsRestjson1_deserializeDocumentMaintenanceWindow(v **types.MaintenanceWind } sv.Type = types.MaintenanceWindowType(jtv) } + default: _, _ = key, value @@ -3754,6 +3850,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3762,6 +3859,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3770,6 +3868,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -3809,6 +3908,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -3817,6 +3917,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -3825,6 +3926,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -3833,6 +3935,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -3841,6 +3944,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -3880,6 +3984,7 @@ func awsRestjson1_deserializeDocumentSoftware(v **types.Software, value interfac } sv.Name = ptr.String(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -3888,6 +3993,7 @@ func awsRestjson1_deserializeDocumentSoftware(v **types.Software, value interfac } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -3961,6 +4067,7 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -3969,6 +4076,7 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Id = ptr.String(jtv) } + case "releasedAt": if value != nil { switch jtv := value.(type) { @@ -3984,10 +4092,12 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } } + case "software": if err := awsRestjson1_deserializeDocumentSoftwareList(&sv.Software, value); err != nil { return err } + case "supportedUntil": if value != nil { switch jtv := value.(type) { @@ -4003,10 +4113,12 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err } + case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -4015,6 +4127,7 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.ValidationStatus = types.SoftwareSetValidationStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4023,6 +4136,7 @@ func awsRestjson1_deserializeDocumentSoftwareSet(v **types.SoftwareSet, value in } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4096,6 +4210,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Arn = ptr.String(jtv) } + case "id": if value != nil { jtv, ok := value.(string) @@ -4104,6 +4219,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Id = ptr.String(jtv) } + case "releasedAt": if value != nil { switch jtv := value.(type) { @@ -4119,6 +4235,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } } + case "supportedUntil": if value != nil { switch jtv := value.(type) { @@ -4134,6 +4251,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } } + case "validationStatus": if value != nil { jtv, ok := value.(string) @@ -4142,6 +4260,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.ValidationStatus = types.SoftwareSetValidationStatus(jtv) } + case "version": if value != nil { jtv, ok := value.(string) @@ -4150,6 +4269,7 @@ func awsRestjson1_deserializeDocumentSoftwareSetSummary(v **types.SoftwareSetSum } sv.Version = ptr.String(jtv) } + default: _, _ = key, value @@ -4225,6 +4345,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -4233,6 +4354,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -4245,6 +4367,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -4253,6 +4376,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -4288,6 +4412,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -4296,6 +4421,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -4304,6 +4430,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -4343,6 +4470,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -4351,6 +4479,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/workspacesweb/deserializers.go b/service/workspacesweb/deserializers.go index c25f11ecd91..4ae3716e7a8 100644 --- a/service/workspacesweb/deserializers.go +++ b/service/workspacesweb/deserializers.go @@ -192,6 +192,7 @@ func awsRestjson1_deserializeOpDocumentAssociateBrowserSettingsOutput(v **Associ } sv.BrowserSettingsArn = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -200,6 +201,7 @@ func awsRestjson1_deserializeOpDocumentAssociateBrowserSettingsOutput(v **Associ } sv.PortalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -370,6 +372,7 @@ func awsRestjson1_deserializeOpDocumentAssociateIpAccessSettingsOutput(v **Assoc } sv.IpAccessSettingsArn = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -378,6 +381,7 @@ func awsRestjson1_deserializeOpDocumentAssociateIpAccessSettingsOutput(v **Assoc } sv.PortalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -548,6 +552,7 @@ func awsRestjson1_deserializeOpDocumentAssociateNetworkSettingsOutput(v **Associ } sv.NetworkSettingsArn = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -556,6 +561,7 @@ func awsRestjson1_deserializeOpDocumentAssociateNetworkSettingsOutput(v **Associ } sv.PortalArn = ptr.String(jtv) } + default: _, _ = key, value @@ -726,6 +732,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTrustStoreOutput(v **AssociateTr } sv.PortalArn = ptr.String(jtv) } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -734,6 +741,7 @@ func awsRestjson1_deserializeOpDocumentAssociateTrustStoreOutput(v **AssociateTr } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -904,6 +912,7 @@ func awsRestjson1_deserializeOpDocumentAssociateUserAccessLoggingSettingsOutput( } sv.PortalArn = ptr.String(jtv) } + case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -912,6 +921,7 @@ func awsRestjson1_deserializeOpDocumentAssociateUserAccessLoggingSettingsOutput( } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1082,6 +1092,7 @@ func awsRestjson1_deserializeOpDocumentAssociateUserSettingsOutput(v **Associate } sv.PortalArn = ptr.String(jtv) } + case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -1090,6 +1101,7 @@ func awsRestjson1_deserializeOpDocumentAssociateUserSettingsOutput(v **Associate } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1263,6 +1275,7 @@ func awsRestjson1_deserializeOpDocumentCreateBrowserSettingsOutput(v **CreateBro } sv.BrowserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1436,6 +1449,7 @@ func awsRestjson1_deserializeOpDocumentCreateIdentityProviderOutput(v **CreateId } sv.IdentityProviderArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1606,6 +1620,7 @@ func awsRestjson1_deserializeOpDocumentCreateIpAccessSettingsOutput(v **CreateIp } sv.IpAccessSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1776,6 +1791,7 @@ func awsRestjson1_deserializeOpDocumentCreateNetworkSettingsOutput(v **CreateNet } sv.NetworkSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -1949,6 +1965,7 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalArn = ptr.String(jtv) } + case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -1957,6 +1974,7 @@ func awsRestjson1_deserializeOpDocumentCreatePortalOutput(v **CreatePortalOutput } sv.PortalEndpoint = ptr.String(jtv) } + default: _, _ = key, value @@ -2127,6 +2145,7 @@ func awsRestjson1_deserializeOpDocumentCreateTrustStoreOutput(v **CreateTrustSto } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2297,6 +2316,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserAccessLoggingSettingsOutput(v * } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -2467,6 +2487,7 @@ func awsRestjson1_deserializeOpDocumentCreateUserSettingsOutput(v **CreateUserSe } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -4148,6 +4169,7 @@ func awsRestjson1_deserializeOpDocumentGetBrowserSettingsOutput(v **GetBrowserSe if err := awsRestjson1_deserializeDocumentBrowserSettings(&sv.BrowserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -4311,6 +4333,7 @@ func awsRestjson1_deserializeOpDocumentGetIdentityProviderOutput(v **GetIdentity if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -4474,6 +4497,7 @@ func awsRestjson1_deserializeOpDocumentGetIpAccessSettingsOutput(v **GetIpAccess if err := awsRestjson1_deserializeDocumentIpAccessSettings(&sv.IpAccessSettings, value); err != nil { return err } + default: _, _ = key, value @@ -4637,6 +4661,7 @@ func awsRestjson1_deserializeOpDocumentGetNetworkSettingsOutput(v **GetNetworkSe if err := awsRestjson1_deserializeDocumentNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + default: _, _ = key, value @@ -4800,6 +4825,7 @@ func awsRestjson1_deserializeOpDocumentGetPortalOutput(v **GetPortalOutput, valu if err := awsRestjson1_deserializeDocumentPortal(&sv.Portal, value); err != nil { return err } + default: _, _ = key, value @@ -4967,6 +4993,7 @@ func awsRestjson1_deserializeOpDocumentGetPortalServiceProviderMetadataOutput(v } sv.PortalArn = ptr.String(jtv) } + case "serviceProviderSamlMetadata": if value != nil { jtv, ok := value.(string) @@ -4975,6 +5002,7 @@ func awsRestjson1_deserializeOpDocumentGetPortalServiceProviderMetadataOutput(v } sv.ServiceProviderSamlMetadata = ptr.String(jtv) } + default: _, _ = key, value @@ -5138,6 +5166,7 @@ func awsRestjson1_deserializeOpDocumentGetSessionOutput(v **GetSessionOutput, va if err := awsRestjson1_deserializeDocumentSession(&sv.Session, value); err != nil { return err } + default: _, _ = key, value @@ -5301,6 +5330,7 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreOutput(v **GetTrustStoreOutp if err := awsRestjson1_deserializeDocumentTrustStore(&sv.TrustStore, value); err != nil { return err } + default: _, _ = key, value @@ -5464,6 +5494,7 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreCertificateOutput(v **GetTru if err := awsRestjson1_deserializeDocumentCertificate(&sv.Certificate, value); err != nil { return err } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -5472,6 +5503,7 @@ func awsRestjson1_deserializeOpDocumentGetTrustStoreCertificateOutput(v **GetTru } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -5635,6 +5667,7 @@ func awsRestjson1_deserializeOpDocumentGetUserAccessLoggingSettingsOutput(v **Ge if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettings(&sv.UserAccessLoggingSettings, value); err != nil { return err } + default: _, _ = key, value @@ -5798,6 +5831,7 @@ func awsRestjson1_deserializeOpDocumentGetUserSettingsOutput(v **GetUserSettings if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -5958,6 +5992,7 @@ func awsRestjson1_deserializeOpDocumentListBrowserSettingsOutput(v **ListBrowser if err := awsRestjson1_deserializeDocumentBrowserSettingsList(&sv.BrowserSettings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -5966,6 +6001,7 @@ func awsRestjson1_deserializeOpDocumentListBrowserSettingsOutput(v **ListBrowser } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6126,6 +6162,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent if err := awsRestjson1_deserializeDocumentIdentityProviderList(&sv.IdentityProviders, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6134,6 +6171,7 @@ func awsRestjson1_deserializeOpDocumentListIdentityProvidersOutput(v **ListIdent } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6294,6 +6332,7 @@ func awsRestjson1_deserializeOpDocumentListIpAccessSettingsOutput(v **ListIpAcce if err := awsRestjson1_deserializeDocumentIpAccessSettingsList(&sv.IpAccessSettings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6302,6 +6341,7 @@ func awsRestjson1_deserializeOpDocumentListIpAccessSettingsOutput(v **ListIpAcce } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6462,6 +6502,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkSettingsOutput(v **ListNetwork if err := awsRestjson1_deserializeDocumentNetworkSettingsList(&sv.NetworkSettings, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -6470,6 +6511,7 @@ func awsRestjson1_deserializeOpDocumentListNetworkSettingsOutput(v **ListNetwork } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -6634,10 +6676,12 @@ func awsRestjson1_deserializeOpDocumentListPortalsOutput(v **ListPortalsOutput, } sv.NextToken = ptr.String(jtv) } + case "portals": if err := awsRestjson1_deserializeDocumentPortalList(&sv.Portals, value); err != nil { return err } + default: _, _ = key, value @@ -6805,10 +6849,12 @@ func awsRestjson1_deserializeOpDocumentListSessionsOutput(v **ListSessionsOutput } sv.NextToken = ptr.String(jtv) } + case "sessions": if err := awsRestjson1_deserializeDocumentSessionSummaryList(&sv.Sessions, value); err != nil { return err } + default: _, _ = key, value @@ -6972,6 +7018,7 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -7135,6 +7182,7 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List if err := awsRestjson1_deserializeDocumentCertificateSummaryList(&sv.CertificateList, value); err != nil { return err } + case "nextToken": if value != nil { jtv, ok := value.(string) @@ -7143,6 +7191,7 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List } sv.NextToken = ptr.String(jtv) } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -7151,6 +7200,7 @@ func awsRestjson1_deserializeOpDocumentListTrustStoreCertificatesOutput(v **List } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -7315,10 +7365,12 @@ func awsRestjson1_deserializeOpDocumentListTrustStoresOutput(v **ListTrustStores } sv.NextToken = ptr.String(jtv) } + case "trustStores": if err := awsRestjson1_deserializeDocumentTrustStoreSummaryList(&sv.TrustStores, value); err != nil { return err } + default: _, _ = key, value @@ -7483,10 +7535,12 @@ func awsRestjson1_deserializeOpDocumentListUserAccessLoggingSettingsOutput(v **L } sv.NextToken = ptr.String(jtv) } + case "userAccessLoggingSettings": if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettingsList(&sv.UserAccessLoggingSettings, value); err != nil { return err } + default: _, _ = key, value @@ -7651,10 +7705,12 @@ func awsRestjson1_deserializeOpDocumentListUserSettingsOutput(v **ListUserSettin } sv.NextToken = ptr.String(jtv) } + case "userSettings": if err := awsRestjson1_deserializeDocumentUserSettingsList(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8021,6 +8077,7 @@ func awsRestjson1_deserializeOpDocumentUpdateBrowserSettingsOutput(v **UpdateBro if err := awsRestjson1_deserializeDocumentBrowserSettings(&sv.BrowserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8184,6 +8241,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIdentityProviderOutput(v **UpdateId if err := awsRestjson1_deserializeDocumentIdentityProvider(&sv.IdentityProvider, value); err != nil { return err } + default: _, _ = key, value @@ -8347,6 +8405,7 @@ func awsRestjson1_deserializeOpDocumentUpdateIpAccessSettingsOutput(v **UpdateIp if err := awsRestjson1_deserializeDocumentIpAccessSettings(&sv.IpAccessSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8510,6 +8569,7 @@ func awsRestjson1_deserializeOpDocumentUpdateNetworkSettingsOutput(v **UpdateNet if err := awsRestjson1_deserializeDocumentNetworkSettings(&sv.NetworkSettings, value); err != nil { return err } + default: _, _ = key, value @@ -8679,6 +8739,7 @@ func awsRestjson1_deserializeOpDocumentUpdatePortalOutput(v **UpdatePortalOutput if err := awsRestjson1_deserializeDocumentPortal(&sv.Portal, value); err != nil { return err } + default: _, _ = key, value @@ -8849,6 +8910,7 @@ func awsRestjson1_deserializeOpDocumentUpdateTrustStoreOutput(v **UpdateTrustSto } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9012,6 +9074,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserAccessLoggingSettingsOutput(v * if err := awsRestjson1_deserializeDocumentUserAccessLoggingSettings(&sv.UserAccessLoggingSettings, value); err != nil { return err } + default: _, _ = key, value @@ -9175,6 +9238,7 @@ func awsRestjson1_deserializeOpDocumentUpdateUserSettingsOutput(v **UpdateUserSe if err := awsRestjson1_deserializeDocumentUserSettings(&sv.UserSettings, value); err != nil { return err } + default: _, _ = key, value @@ -9542,6 +9606,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9613,10 +9678,12 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } + case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "browserPolicy": if value != nil { jtv, ok := value.(string) @@ -9625,6 +9692,7 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.BrowserPolicy = ptr.String(jtv) } + case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -9633,6 +9701,7 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.BrowserSettingsArn = ptr.String(jtv) } + case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -9641,6 +9710,7 @@ func awsRestjson1_deserializeDocumentBrowserSettings(v **types.BrowserSettings, } sv.CustomerManagedKey = ptr.String(jtv) } + default: _, _ = key, value @@ -9714,6 +9784,7 @@ func awsRestjson1_deserializeDocumentBrowserSettingsSummary(v **types.BrowserSet } sv.BrowserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -9757,6 +9828,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Body = dv } + case "issuer": if value != nil { jtv, ok := value.(string) @@ -9765,6 +9837,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Issuer = ptr.String(jtv) } + case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -9780,6 +9853,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -9795,6 +9869,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } } + case "subject": if value != nil { jtv, ok := value.(string) @@ -9803,6 +9878,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Subject = ptr.String(jtv) } + case "thumbprint": if value != nil { jtv, ok := value.(string) @@ -9811,6 +9887,7 @@ func awsRestjson1_deserializeDocumentCertificate(v **types.Certificate, value in } sv.Thumbprint = ptr.String(jtv) } + default: _, _ = key, value @@ -9850,6 +9927,7 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Issuer = ptr.String(jtv) } + case "notValidAfter": if value != nil { switch jtv := value.(type) { @@ -9865,6 +9943,7 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "notValidBefore": if value != nil { switch jtv := value.(type) { @@ -9880,6 +9959,7 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } } + case "subject": if value != nil { jtv, ok := value.(string) @@ -9888,6 +9968,7 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Subject = ptr.String(jtv) } + case "thumbprint": if value != nil { jtv, ok := value.(string) @@ -9896,6 +9977,7 @@ func awsRestjson1_deserializeDocumentCertificateSummary(v **types.CertificateSum } sv.Thumbprint = ptr.String(jtv) } + default: _, _ = key, value @@ -9969,6 +10051,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -9977,6 +10060,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -9985,6 +10069,7 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -10024,6 +10109,7 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Domain = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -10032,6 +10118,7 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Name = ptr.String(jtv) } + case "path": if value != nil { jtv, ok := value.(string) @@ -10040,6 +10127,7 @@ func awsRestjson1_deserializeDocumentCookieSpecification(v **types.CookieSpecifi } sv.Path = ptr.String(jtv) } + default: _, _ = key, value @@ -10109,10 +10197,12 @@ func awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(v **type if err := awsRestjson1_deserializeDocumentCookieSpecifications(&sv.Allowlist, value); err != nil { return err } + case "blocklist": if err := awsRestjson1_deserializeDocumentCookieSpecifications(&sv.Blocklist, value); err != nil { return err } + default: _, _ = key, value @@ -10188,10 +10278,12 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderArn = ptr.String(jtv) } + case "identityProviderDetails": if err := awsRestjson1_deserializeDocumentIdentityProviderDetails(&sv.IdentityProviderDetails, value); err != nil { return err } + case "identityProviderName": if value != nil { jtv, ok := value.(string) @@ -10200,6 +10292,7 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderName = ptr.String(jtv) } + case "identityProviderType": if value != nil { jtv, ok := value.(string) @@ -10208,6 +10301,7 @@ func awsRestjson1_deserializeDocumentIdentityProvider(v **types.IdentityProvider } sv.IdentityProviderType = types.IdentityProviderType(jtv) } + default: _, _ = key, value @@ -10317,6 +10411,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderArn = ptr.String(jtv) } + case "identityProviderName": if value != nil { jtv, ok := value.(string) @@ -10325,6 +10420,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderName = ptr.String(jtv) } + case "identityProviderType": if value != nil { jtv, ok := value.(string) @@ -10333,6 +10429,7 @@ func awsRestjson1_deserializeDocumentIdentityProviderSummary(v **types.IdentityP } sv.IdentityProviderType = types.IdentityProviderType(jtv) } + default: _, _ = key, value @@ -10372,6 +10469,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.Message = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -10384,6 +10482,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS } sv.RetryAfterSeconds = int32(i64) } + default: _, _ = key, value @@ -10419,10 +10518,12 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } + case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -10438,6 +10539,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } } + case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -10446,6 +10548,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.CustomerManagedKey = ptr.String(jtv) } + case "description": if value != nil { jtv, ok := value.(string) @@ -10454,6 +10557,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -10462,6 +10566,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.DisplayName = ptr.String(jtv) } + case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10470,10 +10575,12 @@ func awsRestjson1_deserializeDocumentIpAccessSettings(v **types.IpAccessSettings } sv.IpAccessSettingsArn = ptr.String(jtv) } + case "ipRules": if err := awsRestjson1_deserializeDocumentIpRuleList(&sv.IpRules, value); err != nil { return err } + default: _, _ = key, value @@ -10554,6 +10661,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } } + case "description": if value != nil { jtv, ok := value.(string) @@ -10562,6 +10670,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.Description = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -10570,6 +10679,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.DisplayName = ptr.String(jtv) } + case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10578,6 +10688,7 @@ func awsRestjson1_deserializeDocumentIpAccessSettingsSummary(v **types.IpAccessS } sv.IpAccessSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -10653,6 +10764,7 @@ func awsRestjson1_deserializeDocumentIpRule(v **types.IpRule, value interface{}) } sv.Description = ptr.String(jtv) } + case "ipRange": if value != nil { jtv, ok := value.(string) @@ -10661,6 +10773,7 @@ func awsRestjson1_deserializeDocumentIpRule(v **types.IpRule, value interface{}) } sv.IpRange = ptr.String(jtv) } + default: _, _ = key, value @@ -10730,6 +10843,7 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10738,14 +10852,17 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, } sv.NetworkSettingsArn = ptr.String(jtv) } + case "securityGroupIds": if err := awsRestjson1_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { return err } + case "subnetIds": if err := awsRestjson1_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { return err } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10754,6 +10871,7 @@ func awsRestjson1_deserializeDocumentNetworkSettings(v **types.NetworkSettings, } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10827,6 +10945,7 @@ func awsRestjson1_deserializeDocumentNetworkSettingsSummary(v **types.NetworkSet } sv.NetworkSettingsArn = ptr.String(jtv) } + case "vpcId": if value != nil { jtv, ok := value.(string) @@ -10835,6 +10954,7 @@ func awsRestjson1_deserializeDocumentNetworkSettingsSummary(v **types.NetworkSet } sv.VpcId = ptr.String(jtv) } + default: _, _ = key, value @@ -10870,6 +10990,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } + case "authenticationType": if value != nil { jtv, ok := value.(string) @@ -10878,6 +10999,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10886,6 +11008,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.BrowserSettingsArn = ptr.String(jtv) } + case "browserType": if value != nil { jtv, ok := value.(string) @@ -10894,6 +11017,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.BrowserType = types.BrowserType(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -10909,6 +11033,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } } + case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -10917,6 +11042,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.CustomerManagedKey = ptr.String(jtv) } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -10925,6 +11051,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.DisplayName = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -10933,6 +11060,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.InstanceType = types.InstanceType(jtv) } + case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10941,6 +11069,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.IpAccessSettingsArn = ptr.String(jtv) } + case "maxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -10953,6 +11082,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } + case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -10961,6 +11091,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.NetworkSettingsArn = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -10969,6 +11100,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalArn = ptr.String(jtv) } + case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -10977,6 +11109,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalEndpoint = ptr.String(jtv) } + case "portalStatus": if value != nil { jtv, ok := value.(string) @@ -10985,6 +11118,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.PortalStatus = types.PortalStatus(jtv) } + case "rendererType": if value != nil { jtv, ok := value.(string) @@ -10993,6 +11127,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.RendererType = types.RendererType(jtv) } + case "statusReason": if value != nil { jtv, ok := value.(string) @@ -11001,6 +11136,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.StatusReason = ptr.String(jtv) } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -11009,6 +11145,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.TrustStoreArn = ptr.String(jtv) } + case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11017,6 +11154,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11025,6 +11163,7 @@ func awsRestjson1_deserializeDocumentPortal(v **types.Portal, value interface{}) } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11098,6 +11237,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.AuthenticationType = types.AuthenticationType(jtv) } + case "browserSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11106,6 +11246,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.BrowserSettingsArn = ptr.String(jtv) } + case "browserType": if value != nil { jtv, ok := value.(string) @@ -11114,6 +11255,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.BrowserType = types.BrowserType(jtv) } + case "creationDate": if value != nil { switch jtv := value.(type) { @@ -11129,6 +11271,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } } + case "displayName": if value != nil { jtv, ok := value.(string) @@ -11137,6 +11280,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.DisplayName = ptr.String(jtv) } + case "instanceType": if value != nil { jtv, ok := value.(string) @@ -11145,6 +11289,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.InstanceType = types.InstanceType(jtv) } + case "ipAccessSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11153,6 +11298,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.IpAccessSettingsArn = ptr.String(jtv) } + case "maxConcurrentSessions": if value != nil { jtv, ok := value.(json.Number) @@ -11165,6 +11311,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.MaxConcurrentSessions = ptr.Int32(int32(i64)) } + case "networkSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11173,6 +11320,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.NetworkSettingsArn = ptr.String(jtv) } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11181,6 +11329,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalArn = ptr.String(jtv) } + case "portalEndpoint": if value != nil { jtv, ok := value.(string) @@ -11189,6 +11338,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalEndpoint = ptr.String(jtv) } + case "portalStatus": if value != nil { jtv, ok := value.(string) @@ -11197,6 +11347,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.PortalStatus = types.PortalStatus(jtv) } + case "rendererType": if value != nil { jtv, ok := value.(string) @@ -11205,6 +11356,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.RendererType = types.RendererType(jtv) } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -11213,6 +11365,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.TrustStoreArn = ptr.String(jtv) } + case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11221,6 +11374,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -11229,6 +11383,7 @@ func awsRestjson1_deserializeDocumentPortalSummary(v **types.PortalSummary, valu } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11268,6 +11423,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11276,6 +11432,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11284,6 +11441,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceType = ptr.String(jtv) } + default: _, _ = key, value @@ -11359,6 +11517,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11367,6 +11526,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.QuotaCode = ptr.String(jtv) } + case "resourceId": if value != nil { jtv, ok := value.(string) @@ -11375,6 +11535,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceId = ptr.String(jtv) } + case "resourceType": if value != nil { jtv, ok := value.(string) @@ -11383,6 +11544,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ResourceType = ptr.String(jtv) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11391,6 +11553,7 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11426,6 +11589,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ if err := awsRestjson1_deserializeDocumentIpAddressList(&sv.ClientIpAddresses, value); err != nil { return err } + case "endTime": if value != nil { switch jtv := value.(type) { @@ -11441,6 +11605,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11449,6 +11614,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.PortalArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -11457,6 +11623,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.SessionId = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11472,6 +11639,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11480,6 +11648,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.Status = types.SessionStatus(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -11488,6 +11657,7 @@ func awsRestjson1_deserializeDocumentSession(v **types.Session, value interface{ } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -11534,6 +11704,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } } + case "portalArn": if value != nil { jtv, ok := value.(string) @@ -11542,6 +11713,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.PortalArn = ptr.String(jtv) } + case "sessionId": if value != nil { jtv, ok := value.(string) @@ -11550,6 +11722,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.SessionId = ptr.String(jtv) } + case "startTime": if value != nil { switch jtv := value.(type) { @@ -11565,6 +11738,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } } + case "status": if value != nil { jtv, ok := value.(string) @@ -11573,6 +11747,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Status = types.SessionStatus(jtv) } + case "username": if value != nil { jtv, ok := value.(string) @@ -11581,6 +11756,7 @@ func awsRestjson1_deserializeDocumentSessionSummary(v **types.SessionSummary, va } sv.Username = ptr.String(jtv) } + default: _, _ = key, value @@ -11690,6 +11866,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -11698,6 +11875,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -11771,6 +11949,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.Message = ptr.String(jtv) } + case "quotaCode": if value != nil { jtv, ok := value.(string) @@ -11779,6 +11958,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.QuotaCode = ptr.String(jtv) } + case "retryAfterSeconds": if value != nil { jtv, ok := value.(json.Number) @@ -11791,6 +11971,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.RetryAfterSeconds = int32(i64) } + case "serviceCode": if value != nil { jtv, ok := value.(string) @@ -11799,6 +11980,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc } sv.ServiceCode = ptr.String(jtv) } + default: _, _ = key, value @@ -11838,6 +12020,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "resourceName": if value != nil { jtv, ok := value.(string) @@ -11846,6 +12029,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -11881,6 +12065,7 @@ func awsRestjson1_deserializeDocumentTrustStore(v **types.TrustStore, value inte if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "trustStoreArn": if value != nil { jtv, ok := value.(string) @@ -11889,6 +12074,7 @@ func awsRestjson1_deserializeDocumentTrustStore(v **types.TrustStore, value inte } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11928,6 +12114,7 @@ func awsRestjson1_deserializeDocumentTrustStoreSummary(v **types.TrustStoreSumma } sv.TrustStoreArn = ptr.String(jtv) } + default: _, _ = key, value @@ -11997,6 +12184,7 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "kinesisStreamArn": if value != nil { jtv, ok := value.(string) @@ -12005,6 +12193,7 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc } sv.KinesisStreamArn = ptr.String(jtv) } + case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12013,6 +12202,7 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettings(v **types.UserAcc } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12086,6 +12276,7 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettingsSummary(v **types. } sv.KinesisStreamArn = ptr.String(jtv) } + case "userAccessLoggingSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12094,6 +12285,7 @@ func awsRestjson1_deserializeDocumentUserAccessLoggingSettingsSummary(v **types. } sv.UserAccessLoggingSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12129,14 +12321,17 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value if err := awsRestjson1_deserializeDocumentEncryptionContextMap(&sv.AdditionalEncryptionContext, value); err != nil { return err } + case "associatedPortalArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.AssociatedPortalArns, value); err != nil { return err } + case "cookieSynchronizationConfiguration": if err := awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(&sv.CookieSynchronizationConfiguration, value); err != nil { return err } + case "copyAllowed": if value != nil { jtv, ok := value.(string) @@ -12145,6 +12340,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.CopyAllowed = types.EnabledType(jtv) } + case "customerManagedKey": if value != nil { jtv, ok := value.(string) @@ -12153,6 +12349,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.CustomerManagedKey = ptr.String(jtv) } + case "deepLinkAllowed": if value != nil { jtv, ok := value.(string) @@ -12161,6 +12358,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DeepLinkAllowed = types.EnabledType(jtv) } + case "disconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12173,6 +12371,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "downloadAllowed": if value != nil { jtv, ok := value.(string) @@ -12181,6 +12380,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.DownloadAllowed = types.EnabledType(jtv) } + case "idleDisconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12193,6 +12393,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.IdleDisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "pasteAllowed": if value != nil { jtv, ok := value.(string) @@ -12201,6 +12402,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.PasteAllowed = types.EnabledType(jtv) } + case "printAllowed": if value != nil { jtv, ok := value.(string) @@ -12209,6 +12411,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.PrintAllowed = types.EnabledType(jtv) } + case "uploadAllowed": if value != nil { jtv, ok := value.(string) @@ -12217,6 +12420,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.UploadAllowed = types.EnabledType(jtv) } + case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12225,6 +12429,7 @@ func awsRestjson1_deserializeDocumentUserSettings(v **types.UserSettings, value } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12294,6 +12499,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS if err := awsRestjson1_deserializeDocumentCookieSynchronizationConfiguration(&sv.CookieSynchronizationConfiguration, value); err != nil { return err } + case "copyAllowed": if value != nil { jtv, ok := value.(string) @@ -12302,6 +12508,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.CopyAllowed = types.EnabledType(jtv) } + case "deepLinkAllowed": if value != nil { jtv, ok := value.(string) @@ -12310,6 +12517,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DeepLinkAllowed = types.EnabledType(jtv) } + case "disconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12322,6 +12530,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "downloadAllowed": if value != nil { jtv, ok := value.(string) @@ -12330,6 +12539,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.DownloadAllowed = types.EnabledType(jtv) } + case "idleDisconnectTimeoutInMinutes": if value != nil { jtv, ok := value.(json.Number) @@ -12342,6 +12552,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.IdleDisconnectTimeoutInMinutes = ptr.Int32(int32(i64)) } + case "pasteAllowed": if value != nil { jtv, ok := value.(string) @@ -12350,6 +12561,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.PasteAllowed = types.EnabledType(jtv) } + case "printAllowed": if value != nil { jtv, ok := value.(string) @@ -12358,6 +12570,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.PrintAllowed = types.EnabledType(jtv) } + case "uploadAllowed": if value != nil { jtv, ok := value.(string) @@ -12366,6 +12579,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.UploadAllowed = types.EnabledType(jtv) } + case "userSettingsArn": if value != nil { jtv, ok := value.(string) @@ -12374,6 +12588,7 @@ func awsRestjson1_deserializeDocumentUserSettingsSummary(v **types.UserSettingsS } sv.UserSettingsArn = ptr.String(jtv) } + default: _, _ = key, value @@ -12409,6 +12624,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc if err := awsRestjson1_deserializeDocumentValidationExceptionFieldList(&sv.FieldList, value); err != nil { return err } + case "message", "Message": if value != nil { jtv, ok := value.(string) @@ -12417,6 +12633,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Message = ptr.String(jtv) } + case "reason": if value != nil { jtv, ok := value.(string) @@ -12425,6 +12642,7 @@ func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationExc } sv.Reason = types.ValidationExceptionReason(jtv) } + default: _, _ = key, value @@ -12464,6 +12682,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Message = ptr.String(jtv) } + case "name": if value != nil { jtv, ok := value.(string) @@ -12472,6 +12691,7 @@ func awsRestjson1_deserializeDocumentValidationExceptionField(v **types.Validati } sv.Name = ptr.String(jtv) } + default: _, _ = key, value diff --git a/service/xray/deserializers.go b/service/xray/deserializers.go index 42629d1b9bd..0201f67f544 100644 --- a/service/xray/deserializers.go +++ b/service/xray/deserializers.go @@ -179,14 +179,17 @@ func awsRestjson1_deserializeOpDocumentBatchGetTracesOutput(v **BatchGetTracesOu } sv.NextToken = ptr.String(jtv) } + case "Traces": if err := awsRestjson1_deserializeDocumentTraceList(&sv.Traces, value); err != nil { return err } + case "UnprocessedTraceIds": if err := awsRestjson1_deserializeDocumentUnprocessedTraceIdList(&sv.UnprocessedTraceIds, value); err != nil { return err } + default: _, _ = key, value @@ -341,6 +344,7 @@ func awsRestjson1_deserializeOpDocumentCreateGroupOutput(v **CreateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -498,6 +502,7 @@ func awsRestjson1_deserializeOpDocumentCreateSamplingRuleOutput(v **CreateSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } + default: _, _ = key, value @@ -837,6 +842,7 @@ func awsRestjson1_deserializeOpDocumentDeleteSamplingRuleOutput(v **DeleteSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } + default: _, _ = key, value @@ -991,6 +997,7 @@ func awsRestjson1_deserializeOpDocumentGetEncryptionConfigOutput(v **GetEncrypti if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -1145,6 +1152,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupOutput(v **GetGroupOutput, value if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -1299,6 +1307,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupsOutput(v **GetGroupsOutput, valu if err := awsRestjson1_deserializeDocumentGroupSummaryList(&sv.Groups, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1307,6 +1316,7 @@ func awsRestjson1_deserializeOpDocumentGetGroupsOutput(v **GetGroupsOutput, valu } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1461,6 +1471,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightOutput(v **GetInsightOutput, va if err := awsRestjson1_deserializeDocumentInsight(&sv.Insight, value); err != nil { return err } + default: _, _ = key, value @@ -1615,6 +1626,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightEventsOutput(v **GetInsightEven if err := awsRestjson1_deserializeDocumentInsightEventList(&sv.InsightEvents, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1623,6 +1635,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightEventsOutput(v **GetInsightEven } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -1788,6 +1801,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } + case "InsightId": if value != nil { jtv, ok := value.(string) @@ -1796,6 +1810,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } sv.InsightId = ptr.String(jtv) } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -1804,6 +1819,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } sv.NextToken = ptr.String(jtv) } + case "ServiceGraphEndTime": if value != nil { switch jtv := value.(type) { @@ -1819,6 +1835,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } + case "ServiceGraphStartTime": if value != nil { switch jtv := value.(type) { @@ -1834,10 +1851,12 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } + case "Services": if err := awsRestjson1_deserializeDocumentInsightImpactGraphServiceList(&sv.Services, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -1853,6 +1872,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightImpactGraphOutput(v **GetInsigh } } + default: _, _ = key, value @@ -2007,6 +2027,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightSummariesOutput(v **GetInsightS if err := awsRestjson1_deserializeDocumentInsightSummaryList(&sv.InsightSummaries, value); err != nil { return err } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2015,6 +2036,7 @@ func awsRestjson1_deserializeOpDocumentGetInsightSummariesOutput(v **GetInsightS } sv.NextToken = ptr.String(jtv) } + default: _, _ = key, value @@ -2173,10 +2195,12 @@ func awsRestjson1_deserializeOpDocumentGetSamplingRulesOutput(v **GetSamplingRul } sv.NextToken = ptr.String(jtv) } + case "SamplingRuleRecords": if err := awsRestjson1_deserializeDocumentSamplingRuleRecordList(&sv.SamplingRuleRecords, value); err != nil { return err } + default: _, _ = key, value @@ -2335,10 +2359,12 @@ func awsRestjson1_deserializeOpDocumentGetSamplingStatisticSummariesOutput(v **G } sv.NextToken = ptr.String(jtv) } + case "SamplingStatisticSummaries": if err := awsRestjson1_deserializeDocumentSamplingStatisticSummaryList(&sv.SamplingStatisticSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -2504,14 +2530,17 @@ func awsRestjson1_deserializeOpDocumentGetSamplingTargetsOutput(v **GetSamplingT } } + case "SamplingTargetDocuments": if err := awsRestjson1_deserializeDocumentSamplingTargetDocumentList(&sv.SamplingTargetDocuments, value); err != nil { return err } + case "UnprocessedStatistics": if err := awsRestjson1_deserializeDocumentUnprocessedStatisticsList(&sv.UnprocessedStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -2670,6 +2699,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } sv.ContainsOldGroupVersions = jtv } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -2685,6 +2715,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2693,10 +2724,12 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } sv.NextToken = ptr.String(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -2712,6 +2745,7 @@ func awsRestjson1_deserializeOpDocumentGetServiceGraphOutput(v **GetServiceGraph } } + default: _, _ = key, value @@ -2870,6 +2904,7 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesServiceStatisticsOutput(v ** } sv.ContainsOldGroupVersions = jtv } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -2878,10 +2913,12 @@ func awsRestjson1_deserializeOpDocumentGetTimeSeriesServiceStatisticsOutput(v ** } sv.NextToken = ptr.String(jtv) } + case "TimeSeriesServiceStatistics": if err := awsRestjson1_deserializeDocumentTimeSeriesServiceStatisticsList(&sv.TimeSeriesServiceStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -3040,10 +3077,12 @@ func awsRestjson1_deserializeOpDocumentGetTraceGraphOutput(v **GetTraceGraphOutp } sv.NextToken = ptr.String(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentServiceList(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -3209,6 +3248,7 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -3217,6 +3257,7 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } sv.NextToken = ptr.String(jtv) } + case "TracesProcessedCount": if value != nil { jtv, ok := value.(json.Number) @@ -3229,10 +3270,12 @@ func awsRestjson1_deserializeOpDocumentGetTraceSummariesOutput(v **GetTraceSumma } sv.TracesProcessedCount = ptr.Int64(i64) } + case "TraceSummaries": if err := awsRestjson1_deserializeDocumentTraceSummaryList(&sv.TraceSummaries, value); err != nil { return err } + default: _, _ = key, value @@ -3391,10 +3434,12 @@ func awsRestjson1_deserializeOpDocumentListResourcePoliciesOutput(v **ListResour } sv.NextToken = ptr.String(jtv) } + case "ResourcePolicies": if err := awsRestjson1_deserializeDocumentResourcePolicyList(&sv.ResourcePolicies, value); err != nil { return err } + default: _, _ = key, value @@ -3556,10 +3601,12 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor } sv.NextToken = ptr.String(jtv) } + case "Tags": if err := awsRestjson1_deserializeDocumentTagList(&sv.Tags, value); err != nil { return err } + default: _, _ = key, value @@ -3714,6 +3761,7 @@ func awsRestjson1_deserializeOpDocumentPutEncryptionConfigOutput(v **PutEncrypti if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { return err } + default: _, _ = key, value @@ -3880,6 +3928,7 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo if err := awsRestjson1_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { return err } + default: _, _ = key, value @@ -4125,6 +4174,7 @@ func awsRestjson1_deserializeOpDocumentPutTraceSegmentsOutput(v **PutTraceSegmen if err := awsRestjson1_deserializeDocumentUnprocessedTraceSegmentList(&sv.UnprocessedTraceSegments, value); err != nil { return err } + default: _, _ = key, value @@ -4470,6 +4520,7 @@ func awsRestjson1_deserializeOpDocumentUpdateGroupOutput(v **UpdateGroupOutput, if err := awsRestjson1_deserializeDocumentGroup(&sv.Group, value); err != nil { return err } + default: _, _ = key, value @@ -4624,6 +4675,7 @@ func awsRestjson1_deserializeOpDocumentUpdateSamplingRuleOutput(v **UpdateSampli if err := awsRestjson1_deserializeDocumentSamplingRuleRecord(&sv.SamplingRuleRecord, value); err != nil { return err } + default: _, _ = key, value @@ -5023,10 +5075,12 @@ func awsRestjson1_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentAliasNames(&sv.Names, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5035,6 +5089,7 @@ func awsRestjson1_deserializeDocumentAlias(v **types.Alias, value interface{}) e } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5265,6 +5320,7 @@ func awsRestjson1_deserializeDocumentAnomalousService(v **types.AnomalousService if err := awsRestjson1_deserializeDocumentServiceId(&sv.ServiceId, value); err != nil { return err } + default: _, _ = key, value @@ -5374,6 +5430,7 @@ func awsRestjson1_deserializeDocumentAvailabilityZoneDetail(v **types.Availabili } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -5409,6 +5466,7 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { return err } + case "EdgeType": if value != nil { jtv, ok := value.(string) @@ -5417,6 +5475,7 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.EdgeType = ptr.String(jtv) } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -5432,10 +5491,12 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } } + case "ReceivedEventAgeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ReceivedEventAgeHistogram, value); err != nil { return err } + case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -5448,10 +5509,12 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } sv.ReferenceId = ptr.Int32(int32(i64)) } + case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -5467,10 +5530,12 @@ func awsRestjson1_deserializeDocumentEdge(v **types.Edge, value interface{}) err } } + case "SummaryStatistics": if err := awsRestjson1_deserializeDocumentEdgeStatistics(&sv.SummaryStatistics, value); err != nil { return err } + default: _, _ = key, value @@ -5540,10 +5605,12 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va if err := awsRestjson1_deserializeDocumentErrorStatistics(&sv.ErrorStatistics, value); err != nil { return err } + case "FaultStatistics": if err := awsRestjson1_deserializeDocumentFaultStatistics(&sv.FaultStatistics, value); err != nil { return err } + case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -5556,6 +5623,7 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } sv.OkCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -5568,6 +5636,7 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } sv.TotalCount = ptr.Int64(i64) } + case "TotalResponseTime": if value != nil { switch jtv := value.(type) { @@ -5601,6 +5670,7 @@ func awsRestjson1_deserializeDocumentEdgeStatistics(v **types.EdgeStatistics, va } } + default: _, _ = key, value @@ -5640,6 +5710,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.KeyId = ptr.String(jtv) } + case "Status": if value != nil { jtv, ok := value.(string) @@ -5648,6 +5719,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Status = types.EncryptionStatus(jtv) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5656,6 +5728,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig } sv.Type = types.EncryptionType(jtv) } + default: _, _ = key, value @@ -5695,10 +5768,12 @@ func awsRestjson1_deserializeDocumentErrorRootCause(v **types.ErrorRootCause, va } sv.ClientImpacting = ptr.Bool(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentErrorRootCauseServices(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -5734,6 +5809,7 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau if err := awsRestjson1_deserializeDocumentRootCauseExceptions(&sv.Exceptions, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5742,6 +5818,7 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau } sv.Name = ptr.String(jtv) } + case "Remote": if value != nil { jtv, ok := value.(bool) @@ -5750,6 +5827,7 @@ func awsRestjson1_deserializeDocumentErrorRootCauseEntity(v **types.ErrorRootCau } sv.Remote = ptr.Bool(jtv) } + default: _, _ = key, value @@ -5857,10 +5935,12 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.AccountId = ptr.String(jtv) } + case "EntityPath": if err := awsRestjson1_deserializeDocumentErrorRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } + case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -5869,6 +5949,7 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Inferred = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -5877,10 +5958,12 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -5889,6 +5972,7 @@ func awsRestjson1_deserializeDocumentErrorRootCauseService(v **types.ErrorRootCa } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -5966,6 +6050,7 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.OtherCount = ptr.Int64(i64) } + case "ThrottleCount": if value != nil { jtv, ok := value.(json.Number) @@ -5978,6 +6063,7 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.ThrottleCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -5990,6 +6076,7 @@ func awsRestjson1_deserializeDocumentErrorStatistics(v **types.ErrorStatistics, } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6029,10 +6116,12 @@ func awsRestjson1_deserializeDocumentFaultRootCause(v **types.FaultRootCause, va } sv.ClientImpacting = ptr.Bool(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentFaultRootCauseServices(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -6068,6 +6157,7 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau if err := awsRestjson1_deserializeDocumentRootCauseExceptions(&sv.Exceptions, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6076,6 +6166,7 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau } sv.Name = ptr.String(jtv) } + case "Remote": if value != nil { jtv, ok := value.(bool) @@ -6084,6 +6175,7 @@ func awsRestjson1_deserializeDocumentFaultRootCauseEntity(v **types.FaultRootCau } sv.Remote = ptr.Bool(jtv) } + default: _, _ = key, value @@ -6191,10 +6283,12 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.AccountId = ptr.String(jtv) } + case "EntityPath": if err := awsRestjson1_deserializeDocumentFaultRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } + case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -6203,6 +6297,7 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Inferred = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -6211,10 +6306,12 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -6223,6 +6320,7 @@ func awsRestjson1_deserializeDocumentFaultRootCauseService(v **types.FaultRootCa } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -6300,6 +6398,7 @@ func awsRestjson1_deserializeDocumentFaultStatistics(v **types.FaultStatistics, } sv.OtherCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -6312,6 +6411,7 @@ func awsRestjson1_deserializeDocumentFaultStatistics(v **types.FaultStatistics, } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -6355,6 +6455,7 @@ func awsRestjson1_deserializeDocumentForecastStatistics(v **types.ForecastStatis } sv.FaultCountHigh = ptr.Int64(i64) } + case "FaultCountLow": if value != nil { jtv, ok := value.(json.Number) @@ -6367,6 +6468,7 @@ func awsRestjson1_deserializeDocumentForecastStatistics(v **types.ForecastStatis } sv.FaultCountLow = ptr.Int64(i64) } + default: _, _ = key, value @@ -6406,6 +6508,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.FilterExpression = ptr.String(jtv) } + case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6414,6 +6517,7 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupARN = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6422,10 +6526,12 @@ func awsRestjson1_deserializeDocumentGroup(v **types.Group, value interface{}) e } sv.GroupName = ptr.String(jtv) } + case "InsightsConfiguration": if err := awsRestjson1_deserializeDocumentInsightsConfiguration(&sv.InsightsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6465,6 +6571,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.FilterExpression = ptr.String(jtv) } + case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6473,6 +6580,7 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupARN = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6481,10 +6589,12 @@ func awsRestjson1_deserializeDocumentGroupSummary(v **types.GroupSummary, value } sv.GroupName = ptr.String(jtv) } + case "InsightsConfiguration": if err := awsRestjson1_deserializeDocumentInsightsConfiguration(&sv.InsightsConfiguration, value); err != nil { return err } + default: _, _ = key, value @@ -6596,6 +6706,7 @@ func awsRestjson1_deserializeDocumentHistogramEntry(v **types.HistogramEntry, va } sv.Count = int32(i64) } + case "Value": if value != nil { switch jtv := value.(type) { @@ -6629,6 +6740,7 @@ func awsRestjson1_deserializeDocumentHistogramEntry(v **types.HistogramEntry, va } } + default: _, _ = key, value @@ -6668,6 +6780,7 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.ClientIp = ptr.String(jtv) } + case "HttpMethod": if value != nil { jtv, ok := value.(string) @@ -6676,6 +6789,7 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpMethod = ptr.String(jtv) } + case "HttpStatus": if value != nil { jtv, ok := value.(json.Number) @@ -6688,6 +6802,7 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpStatus = ptr.Int32(int32(i64)) } + case "HttpURL": if value != nil { jtv, ok := value.(string) @@ -6696,6 +6811,7 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.HttpURL = ptr.String(jtv) } + case "UserAgent": if value != nil { jtv, ok := value.(string) @@ -6704,6 +6820,7 @@ func awsRestjson1_deserializeDocumentHttp(v **types.Http, value interface{}) err } sv.UserAgent = ptr.String(jtv) } + default: _, _ = key, value @@ -6739,10 +6856,12 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ if err := awsRestjson1_deserializeDocumentInsightCategoryList(&sv.Categories, value); err != nil { return err } + case "ClientRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -6758,6 +6877,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -6766,6 +6886,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupARN = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -6774,6 +6895,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.GroupName = ptr.String(jtv) } + case "InsightId": if value != nil { jtv, ok := value.(string) @@ -6782,14 +6904,17 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.InsightId = ptr.String(jtv) } + case "RootCauseServiceId": if err := awsRestjson1_deserializeDocumentServiceId(&sv.RootCauseServiceId, value); err != nil { return err } + case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -6805,6 +6930,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } } + case "State": if value != nil { jtv, ok := value.(string) @@ -6813,6 +6939,7 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.State = types.InsightState(jtv) } + case "Summary": if value != nil { jtv, ok := value.(string) @@ -6821,10 +6948,12 @@ func awsRestjson1_deserializeDocumentInsight(v **types.Insight, value interface{ } sv.Summary = ptr.String(jtv) } + case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } + default: _, _ = key, value @@ -6896,6 +7025,7 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } + case "EventTime": if value != nil { switch jtv := value.(type) { @@ -6911,10 +7041,12 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value } } + case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } + case "Summary": if value != nil { jtv, ok := value.(string) @@ -6923,10 +7055,12 @@ func awsRestjson1_deserializeDocumentInsightEvent(v **types.InsightEvent, value } sv.Summary = ptr.String(jtv) } + case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } + default: _, _ = key, value @@ -7004,6 +7138,7 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphEdge(v **types.InsightImp } sv.ReferenceId = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -7077,10 +7212,12 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.AccountId = ptr.String(jtv) } + case "Edges": if err := awsRestjson1_deserializeDocumentInsightImpactGraphEdgeList(&sv.Edges, value); err != nil { return err } + case "Name": if value != nil { jtv, ok := value.(string) @@ -7089,10 +7226,12 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -7105,6 +7244,7 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.ReferenceId = ptr.Int32(int32(i64)) } + case "Type": if value != nil { jtv, ok := value.(string) @@ -7113,6 +7253,7 @@ func awsRestjson1_deserializeDocumentInsightImpactGraphService(v **types.Insight } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -7186,6 +7327,7 @@ func awsRestjson1_deserializeDocumentInsightsConfiguration(v **types.InsightsCon } sv.InsightsEnabled = ptr.Bool(jtv) } + case "NotificationsEnabled": if value != nil { jtv, ok := value.(bool) @@ -7194,6 +7336,7 @@ func awsRestjson1_deserializeDocumentInsightsConfiguration(v **types.InsightsCon } sv.NotificationsEnabled = ptr.Bool(jtv) } + default: _, _ = key, value @@ -7229,10 +7372,12 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va if err := awsRestjson1_deserializeDocumentInsightCategoryList(&sv.Categories, value); err != nil { return err } + case "ClientRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.ClientRequestImpactStatistics, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -7248,6 +7393,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } + case "GroupARN": if value != nil { jtv, ok := value.(string) @@ -7256,6 +7402,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.GroupARN = ptr.String(jtv) } + case "GroupName": if value != nil { jtv, ok := value.(string) @@ -7264,6 +7411,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.GroupName = ptr.String(jtv) } + case "InsightId": if value != nil { jtv, ok := value.(string) @@ -7272,6 +7420,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.InsightId = ptr.String(jtv) } + case "LastUpdateTime": if value != nil { switch jtv := value.(type) { @@ -7287,14 +7436,17 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } + case "RootCauseServiceId": if err := awsRestjson1_deserializeDocumentServiceId(&sv.RootCauseServiceId, value); err != nil { return err } + case "RootCauseServiceRequestImpactStatistics": if err := awsRestjson1_deserializeDocumentRequestImpactStatistics(&sv.RootCauseServiceRequestImpactStatistics, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -7310,6 +7462,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } } + case "State": if value != nil { jtv, ok := value.(string) @@ -7318,6 +7471,7 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.State = types.InsightState(jtv) } + case "Summary": if value != nil { jtv, ok := value.(string) @@ -7326,10 +7480,12 @@ func awsRestjson1_deserializeDocumentInsightSummary(v **types.InsightSummary, va } sv.Summary = ptr.String(jtv) } + case "TopAnomalousServices": if err := awsRestjson1_deserializeDocumentAnomalousServiceList(&sv.TopAnomalousServices, value); err != nil { return err } + default: _, _ = key, value @@ -7403,6 +7559,7 @@ func awsRestjson1_deserializeDocumentInstanceIdDetail(v **types.InstanceIdDetail } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -7442,6 +7599,7 @@ func awsRestjson1_deserializeDocumentInvalidPolicyRevisionIdException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7481,6 +7639,7 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7520,6 +7679,7 @@ func awsRestjson1_deserializeDocumentLockoutPreventionException(v **types.Lockou } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7559,6 +7719,7 @@ func awsRestjson1_deserializeDocumentMalformedPolicyDocumentException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7598,6 +7759,7 @@ func awsRestjson1_deserializeDocumentPolicyCountLimitExceededException(v **types } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7637,6 +7799,7 @@ func awsRestjson1_deserializeDocumentPolicySizeLimitExceededException(v **types. } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -7680,6 +7843,7 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.FaultCount = ptr.Int64(i64) } + case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -7692,6 +7856,7 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.OkCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -7704,6 +7869,7 @@ func awsRestjson1_deserializeDocumentRequestImpactStatistics(v **types.RequestIm } sv.TotalCount = ptr.Int64(i64) } + default: _, _ = key, value @@ -7743,6 +7909,7 @@ func awsRestjson1_deserializeDocumentResourceARNDetail(v **types.ResourceARNDeta } sv.ARN = ptr.String(jtv) } + default: _, _ = key, value @@ -7782,6 +7949,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -7790,6 +7958,7 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -7836,6 +8005,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } } + case "PolicyDocument": if value != nil { jtv, ok := value.(string) @@ -7844,6 +8014,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyDocument = ptr.String(jtv) } + case "PolicyName": if value != nil { jtv, ok := value.(string) @@ -7852,6 +8023,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyName = ptr.String(jtv) } + case "PolicyRevisionId": if value != nil { jtv, ok := value.(string) @@ -7860,6 +8032,7 @@ func awsRestjson1_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, va } sv.PolicyRevisionId = ptr.String(jtv) } + default: _, _ = key, value @@ -7933,10 +8106,12 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCause(v **types.ResponseTim } sv.ClientImpacting = ptr.Bool(jtv) } + case "Services": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauseServices(&sv.Services, value); err != nil { return err } + default: _, _ = key, value @@ -8001,6 +8176,7 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8009,6 +8185,7 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } sv.Name = ptr.String(jtv) } + case "Remote": if value != nil { jtv, ok := value.(bool) @@ -8017,6 +8194,7 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseEntity(v **types.Respo } sv.Remote = ptr.Bool(jtv) } + default: _, _ = key, value @@ -8124,10 +8302,12 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.AccountId = ptr.String(jtv) } + case "EntityPath": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauseEntityPath(&sv.EntityPath, value); err != nil { return err } + case "Inferred": if value != nil { jtv, ok := value.(bool) @@ -8136,6 +8316,7 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Inferred = ptr.Bool(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8144,10 +8325,12 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -8156,6 +8339,7 @@ func awsRestjson1_deserializeDocumentResponseTimeRootCauseService(v **types.Resp } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -8229,6 +8413,7 @@ func awsRestjson1_deserializeDocumentRootCauseException(v **types.RootCauseExcep } sv.Message = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8237,6 +8422,7 @@ func awsRestjson1_deserializeDocumentRootCauseException(v **types.RootCauseExcep } sv.Name = ptr.String(jtv) } + default: _, _ = key, value @@ -8310,6 +8496,7 @@ func awsRestjson1_deserializeDocumentRuleLimitExceededException(v **types.RuleLi } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -8345,6 +8532,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value if err := awsRestjson1_deserializeDocumentAttributeMap(&sv.Attributes, value); err != nil { return err } + case "FixedRate": if value != nil { switch jtv := value.(type) { @@ -8378,6 +8566,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } } + case "Host": if value != nil { jtv, ok := value.(string) @@ -8386,6 +8575,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Host = ptr.String(jtv) } + case "HTTPMethod": if value != nil { jtv, ok := value.(string) @@ -8394,6 +8584,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.HTTPMethod = ptr.String(jtv) } + case "Priority": if value != nil { jtv, ok := value.(json.Number) @@ -8406,6 +8597,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Priority = ptr.Int32(int32(i64)) } + case "ReservoirSize": if value != nil { jtv, ok := value.(json.Number) @@ -8418,6 +8610,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ReservoirSize = int32(i64) } + case "ResourceARN": if value != nil { jtv, ok := value.(string) @@ -8426,6 +8619,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ResourceARN = ptr.String(jtv) } + case "RuleARN": if value != nil { jtv, ok := value.(string) @@ -8434,6 +8628,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.RuleARN = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -8442,6 +8637,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.RuleName = ptr.String(jtv) } + case "ServiceName": if value != nil { jtv, ok := value.(string) @@ -8450,6 +8646,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ServiceName = ptr.String(jtv) } + case "ServiceType": if value != nil { jtv, ok := value.(string) @@ -8458,6 +8655,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.ServiceType = ptr.String(jtv) } + case "URLPath": if value != nil { jtv, ok := value.(string) @@ -8466,6 +8664,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.URLPath = ptr.String(jtv) } + case "Version": if value != nil { jtv, ok := value.(json.Number) @@ -8478,6 +8677,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value } sv.Version = ptr.Int32(int32(i64)) } + default: _, _ = key, value @@ -8524,6 +8724,7 @@ func awsRestjson1_deserializeDocumentSamplingRuleRecord(v **types.SamplingRuleRe } } + case "ModifiedAt": if value != nil { switch jtv := value.(type) { @@ -8539,10 +8740,12 @@ func awsRestjson1_deserializeDocumentSamplingRuleRecord(v **types.SamplingRuleRe } } + case "SamplingRule": if err := awsRestjson1_deserializeDocumentSamplingRule(&sv.SamplingRule, value); err != nil { return err } + default: _, _ = key, value @@ -8620,6 +8823,7 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.BorrowCount = int32(i64) } + case "RequestCount": if value != nil { jtv, ok := value.(json.Number) @@ -8632,6 +8836,7 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.RequestCount = int32(i64) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -8640,6 +8845,7 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.RuleName = ptr.String(jtv) } + case "SampledCount": if value != nil { jtv, ok := value.(json.Number) @@ -8652,6 +8858,7 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } sv.SampledCount = int32(i64) } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -8667,6 +8874,7 @@ func awsRestjson1_deserializeDocumentSamplingStatisticSummary(v **types.Sampling } } + default: _, _ = key, value @@ -8765,6 +8973,7 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } } + case "Interval": if value != nil { jtv, ok := value.(json.Number) @@ -8777,6 +8986,7 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.Interval = ptr.Int32(int32(i64)) } + case "ReservoirQuota": if value != nil { jtv, ok := value.(json.Number) @@ -8789,6 +8999,7 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.ReservoirQuota = ptr.Int32(int32(i64)) } + case "ReservoirQuotaTTL": if value != nil { switch jtv := value.(type) { @@ -8804,6 +9015,7 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -8812,6 +9024,7 @@ func awsRestjson1_deserializeDocumentSamplingTargetDocument(v **types.SamplingTa } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -8885,6 +9098,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Document = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -8893,6 +9107,7 @@ func awsRestjson1_deserializeDocumentSegment(v **types.Segment, value interface{ } sv.Id = ptr.String(jtv) } + default: _, _ = key, value @@ -8966,14 +9181,17 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.AccountId = ptr.String(jtv) } + case "DurationHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.DurationHistogram, value); err != nil { return err } + case "Edges": if err := awsRestjson1_deserializeDocumentEdgeList(&sv.Edges, value); err != nil { return err } + case "EndTime": if value != nil { switch jtv := value.(type) { @@ -8989,6 +9207,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } } + case "Name": if value != nil { jtv, ok := value.(string) @@ -8997,10 +9216,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "ReferenceId": if value != nil { jtv, ok := value.(json.Number) @@ -9013,10 +9234,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.ReferenceId = ptr.Int32(int32(i64)) } + case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } + case "Root": if value != nil { jtv, ok := value.(bool) @@ -9025,6 +9248,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Root = ptr.Bool(jtv) } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -9040,6 +9264,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } } + case "State": if value != nil { jtv, ok := value.(string) @@ -9048,10 +9273,12 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.State = ptr.String(jtv) } + case "SummaryStatistics": if err := awsRestjson1_deserializeDocumentServiceStatistics(&sv.SummaryStatistics, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9060,6 +9287,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -9099,6 +9327,7 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.AccountId = ptr.String(jtv) } + case "Name": if value != nil { jtv, ok := value.(string) @@ -9107,10 +9336,12 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.Name = ptr.String(jtv) } + case "Names": if err := awsRestjson1_deserializeDocumentServiceNames(&sv.Names, value); err != nil { return err } + case "Type": if value != nil { jtv, ok := value.(string) @@ -9119,6 +9350,7 @@ func awsRestjson1_deserializeDocumentServiceId(v **types.ServiceId, value interf } sv.Type = ptr.String(jtv) } + default: _, _ = key, value @@ -9258,10 +9490,12 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti if err := awsRestjson1_deserializeDocumentErrorStatistics(&sv.ErrorStatistics, value); err != nil { return err } + case "FaultStatistics": if err := awsRestjson1_deserializeDocumentFaultStatistics(&sv.FaultStatistics, value); err != nil { return err } + case "OkCount": if value != nil { jtv, ok := value.(json.Number) @@ -9274,6 +9508,7 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } sv.OkCount = ptr.Int64(i64) } + case "TotalCount": if value != nil { jtv, ok := value.(json.Number) @@ -9286,6 +9521,7 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } sv.TotalCount = ptr.Int64(i64) } + case "TotalResponseTime": if value != nil { switch jtv := value.(type) { @@ -9319,6 +9555,7 @@ func awsRestjson1_deserializeDocumentServiceStatistics(v **types.ServiceStatisti } } + default: _, _ = key, value @@ -9358,6 +9595,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Key = ptr.String(jtv) } + case "Value": if value != nil { jtv, ok := value.(string) @@ -9366,6 +9604,7 @@ func awsRestjson1_deserializeDocumentTag(v **types.Tag, value interface{}) error } sv.Value = ptr.String(jtv) } + default: _, _ = key, value @@ -9439,6 +9678,7 @@ func awsRestjson1_deserializeDocumentThrottledException(v **types.ThrottledExcep } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -9474,18 +9714,22 @@ func awsRestjson1_deserializeDocumentTimeSeriesServiceStatistics(v **types.TimeS if err := awsRestjson1_deserializeDocumentEdgeStatistics(&sv.EdgeSummaryStatistics, value); err != nil { return err } + case "ResponseTimeHistogram": if err := awsRestjson1_deserializeDocumentHistogram(&sv.ResponseTimeHistogram, value); err != nil { return err } + case "ServiceForecastStatistics": if err := awsRestjson1_deserializeDocumentForecastStatistics(&sv.ServiceForecastStatistics, value); err != nil { return err } + case "ServiceSummaryStatistics": if err := awsRestjson1_deserializeDocumentServiceStatistics(&sv.ServiceSummaryStatistics, value); err != nil { return err } + case "Timestamp": if value != nil { switch jtv := value.(type) { @@ -9501,6 +9745,7 @@ func awsRestjson1_deserializeDocumentTimeSeriesServiceStatistics(v **types.TimeS } } + default: _, _ = key, value @@ -9574,6 +9819,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.Message = ptr.String(jtv) } + case "ResourceName": if value != nil { jtv, ok := value.(string) @@ -9582,6 +9828,7 @@ func awsRestjson1_deserializeDocumentTooManyTagsException(v **types.TooManyTagsE } sv.ResourceName = ptr.String(jtv) } + default: _, _ = key, value @@ -9646,6 +9893,7 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9654,6 +9902,7 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } sv.Id = ptr.String(jtv) } + case "LimitExceeded": if value != nil { jtv, ok := value.(bool) @@ -9662,10 +9911,12 @@ func awsRestjson1_deserializeDocumentTrace(v **types.Trace, value interface{}) e } sv.LimitExceeded = ptr.Bool(jtv) } + case "Segments": if err := awsRestjson1_deserializeDocumentSegmentList(&sv.Segments, value); err != nil { return err } + default: _, _ = key, value @@ -9837,10 +10088,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value if err := awsRestjson1_deserializeDocumentAnnotations(&sv.Annotations, value); err != nil { return err } + case "AvailabilityZones": if err := awsRestjson1_deserializeDocumentTraceAvailabilityZones(&sv.AvailabilityZones, value); err != nil { return err } + case "Duration": if value != nil { switch jtv := value.(type) { @@ -9874,18 +10127,22 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } + case "EntryPoint": if err := awsRestjson1_deserializeDocumentServiceId(&sv.EntryPoint, value); err != nil { return err } + case "ErrorRootCauses": if err := awsRestjson1_deserializeDocumentErrorRootCauses(&sv.ErrorRootCauses, value); err != nil { return err } + case "FaultRootCauses": if err := awsRestjson1_deserializeDocumentFaultRootCauses(&sv.FaultRootCauses, value); err != nil { return err } + case "HasError": if value != nil { jtv, ok := value.(bool) @@ -9894,6 +10151,7 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasError = ptr.Bool(jtv) } + case "HasFault": if value != nil { jtv, ok := value.(bool) @@ -9902,6 +10160,7 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasFault = ptr.Bool(jtv) } + case "HasThrottle": if value != nil { jtv, ok := value.(bool) @@ -9910,10 +10169,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.HasThrottle = ptr.Bool(jtv) } + case "Http": if err := awsRestjson1_deserializeDocumentHttp(&sv.Http, value); err != nil { return err } + case "Id": if value != nil { jtv, ok := value.(string) @@ -9922,10 +10183,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.Id = ptr.String(jtv) } + case "InstanceIds": if err := awsRestjson1_deserializeDocumentTraceInstanceIds(&sv.InstanceIds, value); err != nil { return err } + case "IsPartial": if value != nil { jtv, ok := value.(bool) @@ -9934,6 +10197,7 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.IsPartial = ptr.Bool(jtv) } + case "MatchedEventTime": if value != nil { switch jtv := value.(type) { @@ -9949,10 +10213,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } + case "ResourceARNs": if err := awsRestjson1_deserializeDocumentTraceResourceARNs(&sv.ResourceARNs, value); err != nil { return err } + case "ResponseTime": if value != nil { switch jtv := value.(type) { @@ -9986,10 +10252,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } + case "ResponseTimeRootCauses": if err := awsRestjson1_deserializeDocumentResponseTimeRootCauses(&sv.ResponseTimeRootCauses, value); err != nil { return err } + case "Revision": if value != nil { jtv, ok := value.(json.Number) @@ -10002,10 +10270,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } sv.Revision = int32(i64) } + case "ServiceIds": if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } + case "StartTime": if value != nil { switch jtv := value.(type) { @@ -10021,10 +10291,12 @@ func awsRestjson1_deserializeDocumentTraceSummary(v **types.TraceSummary, value } } + case "Users": if err := awsRestjson1_deserializeDocumentTraceUsers(&sv.Users, value); err != nil { return err } + default: _, _ = key, value @@ -10094,6 +10366,7 @@ func awsRestjson1_deserializeDocumentTraceUser(v **types.TraceUser, value interf if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } + case "UserName": if value != nil { jtv, ok := value.(string) @@ -10102,6 +10375,7 @@ func awsRestjson1_deserializeDocumentTraceUser(v **types.TraceUser, value interf } sv.UserName = ptr.String(jtv) } + default: _, _ = key, value @@ -10175,6 +10449,7 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.ErrorCode = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10183,6 +10458,7 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.Message = ptr.String(jtv) } + case "RuleName": if value != nil { jtv, ok := value.(string) @@ -10191,6 +10467,7 @@ func awsRestjson1_deserializeDocumentUnprocessedStatistics(v **types.Unprocessed } sv.RuleName = ptr.String(jtv) } + default: _, _ = key, value @@ -10300,6 +10577,7 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.ErrorCode = ptr.String(jtv) } + case "Id": if value != nil { jtv, ok := value.(string) @@ -10308,6 +10586,7 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.Id = ptr.String(jtv) } + case "Message": if value != nil { jtv, ok := value.(string) @@ -10316,6 +10595,7 @@ func awsRestjson1_deserializeDocumentUnprocessedTraceSegment(v **types.Unprocess } sv.Message = ptr.String(jtv) } + default: _, _ = key, value @@ -10419,10 +10699,12 @@ func awsRestjson1_deserializeDocumentValueWithServiceIds(v **types.ValueWithServ if err := awsRestjson1_deserializeDocumentAnnotationValue(&sv.AnnotationValue, value); err != nil { return err } + case "ServiceIds": if err := awsRestjson1_deserializeDocumentServiceIds(&sv.ServiceIds, value); err != nil { return err } + default: _, _ = key, value